routie dev init since i didn't adhere to any proper guidance up until now
This commit is contained in:
+82
@@ -0,0 +1,82 @@
|
||||
// Composables
|
||||
import { VLigatureIcon } from "../composables/icons.js"; // Utilities
|
||||
import { h } from 'vue';
|
||||
|
||||
// Types
|
||||
|
||||
const aliases = {
|
||||
collapse: 'keyboard_arrow_up',
|
||||
complete: 'check',
|
||||
cancel: 'cancel',
|
||||
close: 'close',
|
||||
delete: 'cancel',
|
||||
// delete (e.g. v-chip close)
|
||||
clear: 'cancel',
|
||||
success: 'check_circle',
|
||||
info: 'info',
|
||||
warning: 'priority_high',
|
||||
error: 'warning',
|
||||
prev: 'chevron_left',
|
||||
next: 'chevron_right',
|
||||
checkboxOn: 'check_box',
|
||||
checkboxOff: 'check_box_outline_blank',
|
||||
checkboxIndeterminate: 'indeterminate_check_box',
|
||||
delimiter: 'fiber_manual_record',
|
||||
// for carousel
|
||||
sortAsc: 'arrow_upward',
|
||||
sortDesc: 'arrow_downward',
|
||||
expand: 'keyboard_arrow_down',
|
||||
menu: 'menu',
|
||||
subgroup: 'arrow_drop_down',
|
||||
dropdown: 'arrow_drop_down',
|
||||
radioOn: 'radio_button_checked',
|
||||
radioOff: 'radio_button_unchecked',
|
||||
edit: 'edit',
|
||||
ratingEmpty: 'star_border',
|
||||
ratingFull: 'star',
|
||||
ratingHalf: 'star_half',
|
||||
loading: 'cached',
|
||||
first: 'first_page',
|
||||
last: 'last_page',
|
||||
unfold: 'unfold_more',
|
||||
file: 'attach_file',
|
||||
plus: 'add',
|
||||
minus: 'remove',
|
||||
calendar: 'event',
|
||||
treeviewCollapse: 'arrow_drop_down',
|
||||
treeviewExpand: 'arrow_right',
|
||||
tableGroupCollapse: 'chevron_down',
|
||||
tableGroupExpand: 'chevron_right',
|
||||
eyeDropper: 'colorize',
|
||||
upload: 'cloud_upload',
|
||||
color: 'palette',
|
||||
command: 'keyboard_command_key',
|
||||
ctrl: 'keyboard_control_key',
|
||||
shift: 'shift',
|
||||
alt: 'keyboard_option_key',
|
||||
space: 'keyboard_space',
|
||||
enter: 'keyboard_return',
|
||||
arrowup: 'keyboard_arrow_up',
|
||||
arrowdown: 'keyboard_arrow_down',
|
||||
arrowleft: 'keyboard_arrow_left',
|
||||
arrowright: 'keyboard_arrow_right',
|
||||
backspace: 'backspace',
|
||||
play: 'play',
|
||||
pause: 'pause',
|
||||
fullscreen: 'fullscreen',
|
||||
fullscreenExit: 'fullscreen_exit',
|
||||
volumeHigh: 'volume_high',
|
||||
volumeMedium: 'volume_medium',
|
||||
volumeLow: 'volume_low',
|
||||
volumeOff: 'volume_variant_off',
|
||||
search: 'search'
|
||||
};
|
||||
const md = {
|
||||
// Not using mergeProps here, functional components merge props by default (?)
|
||||
component: props => h(VLigatureIcon, {
|
||||
...props,
|
||||
class: 'material-icons'
|
||||
})
|
||||
};
|
||||
export { aliases, md };
|
||||
//# sourceMappingURL=md.js.map
|
||||
Reference in New Issue
Block a user