83 lines
2.2 KiB
JavaScript
83 lines
2.2 KiB
JavaScript
// Composables
|
|
import { VClassIcon } from "../composables/icons.js"; // Utilities
|
|
import { h } from 'vue';
|
|
|
|
// Types
|
|
|
|
const aliases = {
|
|
collapse: 'fa-chevron-up',
|
|
complete: 'fa-check',
|
|
cancel: 'fa-times-circle',
|
|
close: 'fa-times',
|
|
delete: 'fa-times-circle',
|
|
// delete (e.g. v-chip close)
|
|
clear: 'fa-check-circle',
|
|
// delete (e.g. v-chip close)
|
|
success: 'fa-check-circle',
|
|
info: 'fa-info-circle',
|
|
warning: 'fa-exclamation',
|
|
error: 'fa-exclamation-triangle',
|
|
prev: 'fa-chevron-left',
|
|
next: 'fa-chevron-right',
|
|
checkboxOn: 'fa-check-square',
|
|
checkboxOff: 'fa-square-o',
|
|
checkboxIndeterminate: 'fa-minus-square',
|
|
delimiter: 'fa-circle',
|
|
// for carousel
|
|
sortAsc: 'fa-arrow-up',
|
|
sortDesc: 'fa-arrow-down',
|
|
expand: 'fa-chevron-down',
|
|
menu: 'fa-bars',
|
|
subgroup: 'fa-caret-down',
|
|
dropdown: 'fa-caret-down',
|
|
radioOn: 'fa-dot-circle-o',
|
|
radioOff: 'fa-circle-o',
|
|
edit: 'fa-pencil',
|
|
ratingEmpty: 'fa-star-o',
|
|
ratingFull: 'fa-star',
|
|
ratingHalf: 'fa-star-half-o',
|
|
loading: 'fa-refresh',
|
|
first: 'fa-step-backward',
|
|
last: 'fa-step-forward',
|
|
unfold: 'fa-angle-double-down',
|
|
file: 'fa-paperclip',
|
|
plus: 'fa-plus',
|
|
minus: 'fa-minus',
|
|
calendar: 'fa-calendar',
|
|
treeviewCollapse: 'fa-caret-down',
|
|
treeviewExpand: 'fa-caret-right',
|
|
tableGroupExpand: 'fa-chevron-right',
|
|
tableGroupCollapse: 'fa-chevron-down',
|
|
eyeDropper: 'fa-eye-dropper',
|
|
upload: 'fa-cloud-upload',
|
|
color: 'fa-paint-brush',
|
|
command: 'fa-keyboard-o',
|
|
ctrl: 'fa-keyboard-o',
|
|
shift: 'fa-arrow-up',
|
|
alt: 'fa-keyboard-o',
|
|
space: 'fa-square-o',
|
|
enter: 'fa-reply',
|
|
arrowup: 'fa-arrow-up',
|
|
arrowdown: 'fa-arrow-down',
|
|
arrowleft: 'fa-arrow-left',
|
|
arrowright: 'fa-arrow-right',
|
|
backspace: 'fa-undo',
|
|
play: 'fa-play',
|
|
pause: 'fa-pause',
|
|
fullscreen: 'fa-fullscreen',
|
|
fullscreenExit: 'fa-compress',
|
|
volumeHigh: 'fa-volume-high',
|
|
volumeMedium: 'fa-volume-low',
|
|
volumeLow: 'fa-volume-off',
|
|
volumeOff: 'fa-volume-off',
|
|
search: 'fa-magnifying-glass'
|
|
};
|
|
const fa = {
|
|
// Not using mergeProps here, functional components merge props by default (?)
|
|
component: props => h(VClassIcon, {
|
|
...props,
|
|
class: 'fa'
|
|
})
|
|
};
|
|
export { aliases, fa };
|
|
//# sourceMappingURL=fa4.js.map
|