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AAwBtC,mBAAe,aAxBuB;AAyBtC,kBAAc,aAzBwB;AA0BtC,kBAAc;AA1BwB,CAAxC;AA6BA,OAAM,SAAU,8BAAV,CACJ,SADI,EAEJ,OAFI,EAEiB;AAErB,QAAM,SAAwC,EAA9C;AAEA,SAAK,IAAM,GAAX,IAAkB,OAAlB,EAA2B;AACzB,eAAO,GAAP,IAAc;AACZ,gCADY;AAEZ,mBAAO;AACL,sBAAO,QAAQ,GAAR,EAAwB,KAAxB,CAA8B,MAA9B;AADF;AAFK,SAAd;AAMD;AAED,WAAO,MAAP;AACD;AAED,IAAM,WAAyC;AAC7C,QAAI,cADyC;AAE7C,SAAK,SAFwC;AAG7C,QAAI,iBAHyC;AAI7C,SAAK,kBAJwC;AAK7C,WAAO,+BAA+B,mBAA/B,EAAoD,iBAApD;AALsC,CAA/C;AAQA,eAAc,SAAU,KAAV,GAAmE;AAAA,QAAlD,QAAkD,uEAAvC,IAAuC;AAAA,QAAjC,KAAiC,uEAAF,EAAE;;AAC/E,WAAO,OAAO,MAAP,CAAc,EAAd,EAAkB,SAAS,QAAT,KAAsB,SAAS,EAAjD,EAAqD,KAArD,CAAP;AACD","sourcesContent":["import { VuetifyIcon, VuetifyIcons } from 'vuetify'\nimport { Component } from 'vue'\n\n// Maps internal Vuetify icon names to actual Material Design icon names.\nconst ICONS_MATERIAL: VuetifyIcons = {\n 'complete': 'check',\n 'cancel': 'cancel',\n 'close': 'close',\n 'delete': 'cancel', // delete (e.g. v-chip close)\n 'clear': 'clear',\n 'success': 'check_circle',\n 'info': 'info',\n 'warning': 'priority_high',\n 'error': 'warning',\n 'prev': 'chevron_left',\n 'next': 'chevron_right',\n 'checkboxOn': 'check_box',\n 'checkboxOff': 'check_box_outline_blank',\n 'checkboxIndeterminate': 'indeterminate_check_box',\n 'delimiter': 'fiber_manual_record', // for carousel\n 'sort': 'arrow_upward',\n 'expand': 'keyboard_arrow_down',\n 'menu': 'menu',\n 'subgroup': 'arrow_drop_down',\n 'dropdown': 'arrow_drop_down',\n 'radioOn': 'radio_button_checked',\n 'radioOff': 'radio_button_unchecked',\n 'edit': 'edit',\n 'ratingEmpty': 'star_border',\n 'ratingFull': 'star',\n 'ratingHalf': 'star_half',\n 'loading': 'cached'\n}\n\n// Maps internal Vuetify icon names to actual icons from materialdesignicons.com\nconst ICONS_MDI: VuetifyIcons = {\n 'complete': 'mdi-check',\n 'cancel': 'mdi-close-circle',\n 'close': 'mdi-close',\n 'delete': 'mdi-close-circle', // delete (e.g. v-chip close)\n 'clear': 'mdi-close',\n 'success': 'mdi-check-circle',\n 'info': 'mdi-information',\n 'warning': 'mdi-exclamation',\n 'error': 'mdi-alert',\n 'prev': 'mdi-chevron-left',\n 'next': 'mdi-chevron-right',\n 'checkboxOn': 'mdi-checkbox-marked',\n 'checkboxOff': 'mdi-checkbox-blank-outline',\n 'checkboxIndeterminate': 'mdi-minus-box',\n 'delimiter': 'mdi-circle', // for carousel\n 'sort': 'mdi-arrow-up',\n 'expand': 'mdi-chevron-down',\n 'menu': 'mdi-menu',\n 'subgroup': 'mdi-menu-down',\n 'dropdown': 'mdi-menu-down',\n 'radioOn': 'mdi-radiobox-marked',\n 'radioOff': 'mdi-radiobox-blank',\n 'edit': 'mdi-pencil',\n 'ratingEmpty': 'mdi-star-outline',\n 'ratingFull': 'mdi-star',\n 'ratingHalf': 'mdi-star-half'\n}\n\n// Maps internal Vuetify icon names to actual Font-Awesome 4 icon names.\nconst ICONS_FONTAWESOME4: VuetifyIcons = {\n 'complete': 'fa fa-check',\n 'cancel': 'fa fa-times-circle',\n 'close': 'fa fa-times',\n 'delete': 'fa fa-times-circle', // delete (e.g. v-chip close)\n 'clear': 'fa fa-times-circle', // delete (e.g. v-chip close)\n 'success': 'fa fa-check-circle',\n 'info': 'fa fa-info-circle',\n 'warning': 'fa fa-exclamation',\n 'error': 'fa fa-exclamation-triangle',\n 'prev': 'fa fa-chevron-left',\n 'next': 'fa fa-chevron-right',\n 'checkboxOn': 'fa fa-check-square',\n 'checkboxOff': 'fa fa-square-o', // note 'far'\n 'checkboxIndeterminate': 'fa fa-minus-square',\n 'delimiter': 'fa fa-circle', // for carousel\n 'sort': 'fa fa-sort-up',\n 'expand': 'fa fa-chevron-down',\n 'menu': 'fa fa-bars',\n 'subgroup': 'fa fa-caret-down',\n 'dropdown': 'fa fa-caret-down',\n 'radioOn': 'fa fa-dot-circle',\n 'radioOff': 'fa fa-circle-o',\n 'edit': 'fa fa-pencil',\n 'ratingEmpty': 'fa fa-star-o',\n 'ratingFull': 'fa fa-star',\n 'ratingHalf': 'fa fa-star-half-o'\n}\n\n// Maps internal Vuetify icon names to actual Font-Awesome 5+ icon names.\nconst ICONS_FONTAWESOME: VuetifyIcons = {\n 'complete': 'fas fa-check',\n 'cancel': 'fas fa-times-circle',\n 'close': 'fas fa-times',\n 'delete': 'fas fa-times-circle', // delete (e.g. v-chip close)\n 'clear': 'fas fa-times-circle', // delete (e.g. v-chip close)\n 'success': 'fas fa-check-circle',\n 'info': 'fas fa-info-circle',\n 'warning': 'fas fa-exclamation',\n 'error': 'fas fa-exclamation-triangle',\n 'prev': 'fas fa-chevron-left',\n 'next': 'fas fa-chevron-right',\n 'checkboxOn': 'fas fa-check-square',\n 'checkboxOff': 'far fa-square', // note 'far'\n 'checkboxIndeterminate': 'fas fa-minus-square',\n 'delimiter': 'fas fa-circle', // for carousel\n 'sort': 'fas fa-sort-up',\n 'expand': 'fas fa-chevron-down',\n 'menu': 'fas fa-bars',\n 'subgroup': 'fas fa-caret-down',\n 'dropdown': 'fas fa-caret-down',\n 'radioOn': 'far fa-dot-circle',\n 'radioOff': 'far fa-circle',\n 'edit': 'fas fa-edit',\n 'ratingEmpty': 'far fa-star',\n 'ratingFull': 'fas fa-star',\n 'ratingHalf': 'fas fa-star-half'\n}\n\nexport function convertToComponentDeclarations (\n component: Component | string,\n iconSet: VuetifyIcons\n) {\n const result: {[name: string]: VuetifyIcon} = {}\n\n for (const key in iconSet) {\n result[key] = {\n component,\n props: {\n icon: (iconSet[key] as string).split(' fa-')\n }\n }\n }\n\n return result as VuetifyIcons\n}\n\nconst iconSets: Record = {\n md: ICONS_MATERIAL,\n mdi: ICONS_MDI,\n fa: ICONS_FONTAWESOME,\n fa4: ICONS_FONTAWESOME4,\n faSvg: convertToComponentDeclarations('font-awesome-icon', ICONS_FONTAWESOME)\n}\n\nexport default function icons (iconfont = 'md', icons: Partial = {}) {\n return Object.assign({}, iconSets[iconfont] || iconSets.md, icons)\n}\n"],"sourceRoot":""}