@volverjs/ui-vue 0.0.13-beta.9 → 0.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/icons.cjs +2 -2
- package/bin/icons.js +44 -43
- package/dist/components/VvAccordion/VvAccordion.es.js +121 -119
- package/dist/components/VvAccordion/VvAccordion.umd.js +1 -1
- package/dist/components/VvAccordionGroup/VvAccordionGroup.es.js +218 -216
- package/dist/components/VvAccordionGroup/VvAccordionGroup.umd.js +1 -1
- package/dist/components/VvAction/VvAction.es.js +46 -48
- package/dist/components/VvAction/VvAction.umd.js +1 -1
- package/dist/components/VvAlert/VvAlert.es.js +46 -46
- package/dist/components/VvAlert/VvAlert.umd.js +1 -1
- package/dist/components/VvAlertGroup/VvAlertGroup.es.js +66 -66
- package/dist/components/VvAlertGroup/VvAlertGroup.umd.js +1 -1
- package/dist/components/VvAvatar/VvAvatar.es.js +47 -49
- package/dist/components/VvAvatar/VvAvatar.umd.js +1 -1
- package/dist/components/VvAvatarGroup/VvAvatarGroup.es.js +66 -68
- package/dist/components/VvAvatarGroup/VvAvatarGroup.umd.js +1 -1
- package/dist/components/VvBadge/VvBadge.es.js +43 -45
- package/dist/components/VvBadge/VvBadge.umd.js +1 -1
- package/dist/components/VvBreadcrumb/VvBreadcrumb.es.js +77 -79
- package/dist/components/VvBreadcrumb/VvBreadcrumb.umd.js +1 -1
- package/dist/components/VvButton/VvButton.es.js +63 -65
- package/dist/components/VvButton/VvButton.umd.js +1 -1
- package/dist/components/VvButtonGroup/VvButtonGroup.es.js +56 -58
- package/dist/components/VvButtonGroup/VvButtonGroup.umd.js +1 -1
- package/dist/components/VvCard/VvCard.es.js +53 -55
- package/dist/components/VvCard/VvCard.umd.js +1 -1
- package/dist/components/VvCheckbox/VvCheckbox.es.js +67 -69
- package/dist/components/VvCheckbox/VvCheckbox.umd.js +1 -1
- package/dist/components/VvCheckboxGroup/VvCheckboxGroup.es.js +88 -90
- package/dist/components/VvCheckboxGroup/VvCheckboxGroup.umd.js +1 -1
- package/dist/components/VvCombobox/VvCombobox.es.js +836 -825
- package/dist/components/VvCombobox/VvCombobox.umd.js +1 -1
- package/dist/components/VvDialog/VvDialog.es.js +58 -60
- package/dist/components/VvDialog/VvDialog.umd.js +1 -1
- package/dist/components/VvDropdown/VvDropdown.es.js +228 -227
- package/dist/components/VvDropdown/VvDropdown.umd.js +1 -1
- package/dist/components/VvDropdown/VvDropdown.vue.d.ts +5 -93
- package/dist/components/VvDropdownAction/VvDropdownAction.es.js +87 -89
- package/dist/components/VvDropdownAction/VvDropdownAction.umd.js +1 -1
- package/dist/components/VvDropdownItem/VvDropdownItem.es.js +54 -56
- package/dist/components/VvDropdownItem/VvDropdownItem.umd.js +1 -1
- package/dist/components/VvDropdownOptgroup/VvDropdownOptgroup.es.js +34 -36
- package/dist/components/VvDropdownOptgroup/VvDropdownOptgroup.umd.js +1 -1
- package/dist/components/VvDropdownOption/VvDropdownOption.es.js +63 -65
- package/dist/components/VvDropdownOption/VvDropdownOption.umd.js +1 -1
- package/dist/components/VvIcon/VvIcon.es.js +40 -42
- package/dist/components/VvIcon/VvIcon.umd.js +1 -1
- package/dist/components/VvInputFile/VvInputFile.es.js +129 -131
- package/dist/components/VvInputFile/VvInputFile.umd.js +1 -1
- package/dist/components/VvInputText/VvInputText.es.js +445 -444
- package/dist/components/VvInputText/VvInputText.umd.js +1 -1
- package/dist/components/VvNav/VvNav.es.js +84 -86
- package/dist/components/VvNav/VvNav.umd.js +1 -1
- package/dist/components/VvNavItem/VvNavItem.es.js +51 -53
- package/dist/components/VvNavItem/VvNavItem.umd.js +1 -1
- package/dist/components/VvProgress/VvProgress.es.js +40 -42
- package/dist/components/VvProgress/VvProgress.umd.js +1 -1
- package/dist/components/VvRadio/VvRadio.es.js +58 -60
- package/dist/components/VvRadio/VvRadio.umd.js +1 -1
- package/dist/components/VvRadioGroup/VvRadioGroup.es.js +63 -65
- package/dist/components/VvRadioGroup/VvRadioGroup.umd.js +1 -1
- package/dist/components/VvSelect/VvSelect.es.js +89 -91
- package/dist/components/VvSelect/VvSelect.umd.js +1 -1
- package/dist/components/VvTab/VvTab.es.js +85 -87
- package/dist/components/VvTab/VvTab.umd.js +1 -1
- package/dist/components/VvTextarea/VvTextarea.es.js +393 -392
- package/dist/components/VvTextarea/VvTextarea.umd.js +1 -1
- package/dist/components/VvTooltip/VvTooltip.es.js +35 -37
- package/dist/components/VvTooltip/VvTooltip.umd.js +1 -1
- package/dist/components/VvVirtualScroll/VvVirtualScroll.vue.d.ts +2 -2
- package/dist/components/index.es.js +1852 -1835
- package/dist/components/index.umd.js +1 -1
- package/dist/composables/index.es.js +90 -85
- package/dist/composables/index.umd.js +2 -2
- package/dist/composables/useTextCount.d.ts +1 -1
- package/dist/composables/useVirtualScroll.d.ts +4 -4
- package/dist/directives/index.es.js +177 -601
- package/dist/directives/index.umd.js +1 -420
- package/dist/directives/v-contextmenu.es.js +48 -471
- package/dist/directives/v-contextmenu.umd.js +1 -420
- package/dist/directives/v-tooltip.es.js +40 -42
- package/dist/directives/v-tooltip.umd.js +1 -1
- package/dist/icons.d.ts +0 -3
- package/dist/icons.es.js +18 -21
- package/dist/icons.umd.js +1 -1
- package/dist/index.es.js +48 -48
- package/dist/index.umd.js +1 -1
- package/dist/json-render/index.es.js +1961 -1944
- package/dist/json-render/index.umd.js +1 -1
- package/dist/stories/AccordionGroup/AccordionGroupSlots.stories.d.ts +14 -14
- package/dist/stories/CheckboxGroup/CheckboxGroup.settings.d.ts +1 -1
- package/dist/stories/Radio/Radio.settings.d.ts +1 -1
- package/dist/stories/RadioGroup/RadioGroup.settings.d.ts +1 -1
- package/dist/types/floating-ui.d.ts +14 -5
- package/package.json +58 -52
- package/src/Volver.ts +326 -0
- package/src/assets/icons/detailed/add-circle.svg +12 -0
- package/src/assets/icons/detailed/add.svg +8 -0
- package/src/assets/icons/detailed/align-center.svg +12 -0
- package/src/assets/icons/detailed/align-justify.svg +12 -0
- package/src/assets/icons/detailed/align-left.svg +12 -0
- package/src/assets/icons/detailed/align-right.svg +12 -0
- package/src/assets/icons/detailed/analysis-2.svg +20 -0
- package/src/assets/icons/detailed/analysis-3.svg +8 -0
- package/src/assets/icons/detailed/analysis.svg +16 -0
- package/src/assets/icons/detailed/apple.svg +16 -0
- package/src/assets/icons/detailed/arrow-down.svg +8 -0
- package/src/assets/icons/detailed/arrow-left.svg +8 -0
- package/src/assets/icons/detailed/arrow-right.svg +8 -0
- package/src/assets/icons/detailed/arrow-up.svg +8 -0
- package/src/assets/icons/detailed/attachment.svg +8 -0
- package/src/assets/icons/detailed/back-to-front.svg +17 -0
- package/src/assets/icons/detailed/bell-active.svg +14 -0
- package/src/assets/icons/detailed/bell.svg +14 -0
- package/src/assets/icons/detailed/bold.svg +8 -0
- package/src/assets/icons/detailed/bookmark-active.svg +12 -0
- package/src/assets/icons/detailed/bookmark.svg +12 -0
- package/src/assets/icons/detailed/building.svg +26 -0
- package/src/assets/icons/detailed/bullet-list.svg +22 -0
- package/src/assets/icons/detailed/calendar.svg +26 -0
- package/src/assets/icons/detailed/camera-off.svg +12 -0
- package/src/assets/icons/detailed/camera-on.svg +17 -0
- package/src/assets/icons/detailed/catalog.svg +15 -0
- package/src/assets/icons/detailed/certificate.svg +10 -0
- package/src/assets/icons/detailed/chat.svg +6 -0
- package/src/assets/icons/detailed/check-badge.svg +9 -0
- package/src/assets/icons/detailed/check-circle.svg +10 -0
- package/src/assets/icons/detailed/check.svg +6 -0
- package/src/assets/icons/detailed/checkbox.svg +8 -0
- package/src/assets/icons/detailed/chevron-down-circle.svg +10 -0
- package/src/assets/icons/detailed/chevron-down.svg +6 -0
- package/src/assets/icons/detailed/chevron-left-circle.svg +10 -0
- package/src/assets/icons/detailed/chevron-left.svg +6 -0
- package/src/assets/icons/detailed/chevron-right-circle.svg +7 -0
- package/src/assets/icons/detailed/chevron-up-circle.svg +10 -0
- package/src/assets/icons/detailed/chevron-up.svg +6 -0
- package/src/assets/icons/detailed/circle.svg +8 -0
- package/src/assets/icons/detailed/classroom.svg +38 -0
- package/src/assets/icons/detailed/clear-field.svg +14 -0
- package/src/assets/icons/detailed/clear-style.svg +9 -0
- package/src/assets/icons/detailed/close-circle.svg +14 -0
- package/src/assets/icons/detailed/close-loader.svg +6 -0
- package/src/assets/icons/detailed/close.svg +8 -0
- package/src/assets/icons/detailed/coffee.svg +21 -0
- package/src/assets/icons/detailed/color.svg +20 -0
- package/src/assets/icons/detailed/contact-us.svg +27 -0
- package/src/assets/icons/detailed/copy.svg +10 -0
- package/src/assets/icons/detailed/courses.svg +22 -0
- package/src/assets/icons/detailed/dashboard.svg +20 -0
- package/src/assets/icons/detailed/download.svg +10 -0
- package/src/assets/icons/detailed/drag.svg +10 -0
- package/src/assets/icons/detailed/duplicate.svg +23 -0
- package/src/assets/icons/detailed/edit.svg +16 -0
- package/src/assets/icons/detailed/elearning.svg +13 -0
- package/src/assets/icons/detailed/email.svg +11 -0
- package/src/assets/icons/detailed/error-2.svg +8 -0
- package/src/assets/icons/detailed/error.svg +12 -0
- package/src/assets/icons/detailed/exercise.svg +26 -0
- package/src/assets/icons/detailed/external-link.svg +11 -0
- package/src/assets/icons/detailed/extract.svg +20 -0
- package/src/assets/icons/detailed/eye-off.svg +15 -0
- package/src/assets/icons/detailed/eye-on.svg +8 -0
- package/src/assets/icons/detailed/fail.svg +11 -0
- package/src/assets/icons/detailed/fast-back.svg +20 -0
- package/src/assets/icons/detailed/fast-forward.svg +20 -0
- package/src/assets/icons/detailed/file-add.svg +19 -0
- package/src/assets/icons/detailed/file-duplicate.svg +16 -0
- package/src/assets/icons/detailed/file-remove.svg +17 -0
- package/src/assets/icons/detailed/file-required.svg +23 -0
- package/src/assets/icons/detailed/file.svg +13 -0
- package/src/assets/icons/detailed/filter-2.svg +22 -0
- package/src/assets/icons/detailed/filter-active.svg +12 -0
- package/src/assets/icons/detailed/filter.svg +12 -0
- package/src/assets/icons/detailed/flag.svg +11 -0
- package/src/assets/icons/detailed/folder.svg +14 -0
- package/src/assets/icons/detailed/full-width.svg +11 -0
- package/src/assets/icons/detailed/go-to-back.svg +19 -0
- package/src/assets/icons/detailed/grid.svg +20 -0
- package/src/assets/icons/detailed/group-add.svg +24 -0
- package/src/assets/icons/detailed/group.svg +16 -0
- package/src/assets/icons/detailed/heart-active.svg +12 -0
- package/src/assets/icons/detailed/heart.svg +12 -0
- package/src/assets/icons/detailed/highlighter.svg +10 -0
- package/src/assets/icons/detailed/home.svg +12 -0
- package/src/assets/icons/detailed/hourglass.svg +12 -0
- package/src/assets/icons/detailed/image.svg +15 -0
- package/src/assets/icons/detailed/info-badge.svg +9 -0
- package/src/assets/icons/detailed/information.svg +12 -0
- package/src/assets/icons/detailed/italic.svg +10 -0
- package/src/assets/icons/detailed/key.svg +5 -0
- package/src/assets/icons/detailed/language.svg +14 -0
- package/src/assets/icons/detailed/learning-path.svg +7 -0
- package/src/assets/icons/detailed/light-off.svg +10 -0
- package/src/assets/icons/detailed/light-on.svg +18 -0
- package/src/assets/icons/detailed/link.svg +12 -0
- package/src/assets/icons/detailed/lock.svg +13 -0
- package/src/assets/icons/detailed/login.svg +11 -0
- package/src/assets/icons/detailed/logout.svg +11 -0
- package/src/assets/icons/detailed/maximaze.svg +12 -0
- package/src/assets/icons/detailed/menu.svg +9 -0
- package/src/assets/icons/detailed/merge.svg +20 -0
- package/src/assets/icons/detailed/minimize.svg +14 -0
- package/src/assets/icons/detailed/mixed-class.svg +40 -0
- package/src/assets/icons/detailed/more-horizontal.svg +7 -0
- package/src/assets/icons/detailed/more-vertical.svg +7 -0
- package/src/assets/icons/detailed/news.svg +12 -0
- package/src/assets/icons/detailed/no-prerequisites.svg +13 -0
- package/src/assets/icons/detailed/notes.svg +14 -0
- package/src/assets/icons/detailed/number-code.svg +34 -0
- package/src/assets/icons/detailed/numbered-list.svg +18 -0
- package/src/assets/icons/detailed/on-site.svg +22 -0
- package/src/assets/icons/detailed/order-down.svg +12 -0
- package/src/assets/icons/detailed/order-up.svg +12 -0
- package/src/assets/icons/detailed/paste.svg +14 -0
- package/src/assets/icons/detailed/pausa.svg +8 -0
- package/src/assets/icons/detailed/pdf.svg +12 -0
- package/src/assets/icons/detailed/phone.svg +10 -0
- package/src/assets/icons/detailed/pin-map.svg +12 -0
- package/src/assets/icons/detailed/pin.svg +15 -0
- package/src/assets/icons/detailed/pizza.svg +17 -0
- package/src/assets/icons/detailed/play.svg +11 -0
- package/src/assets/icons/detailed/plug-in.svg +10 -0
- package/src/assets/icons/detailed/pointer.svg +12 -0
- package/src/assets/icons/detailed/printer.svg +26 -0
- package/src/assets/icons/detailed/profile-add.svg +20 -0
- package/src/assets/icons/detailed/profile.svg +10 -0
- package/src/assets/icons/detailed/push-pin-off.svg +11 -0
- package/src/assets/icons/detailed/push-pin-on.svg +9 -0
- package/src/assets/icons/detailed/qrcode.svg +28 -0
- package/src/assets/icons/detailed/question-badge.svg +10 -0
- package/src/assets/icons/detailed/radio.svg +8 -0
- package/src/assets/icons/detailed/redo.svg +9 -0
- package/src/assets/icons/detailed/relations.svg +32 -0
- package/src/assets/icons/detailed/reload.svg +13 -0
- package/src/assets/icons/detailed/remove-circle.svg +10 -0
- package/src/assets/icons/detailed/remove.svg +5 -0
- package/src/assets/icons/detailed/reorder.svg +12 -0
- package/src/assets/icons/detailed/repeat.svg +12 -0
- package/src/assets/icons/detailed/repository.svg +18 -0
- package/src/assets/icons/detailed/request-form.svg +18 -0
- package/src/assets/icons/detailed/resize-100%.svg +15 -0
- package/src/assets/icons/detailed/resize-height.svg +12 -0
- package/src/assets/icons/detailed/resize-width.svg +12 -0
- package/src/assets/icons/detailed/search.svg +12 -0
- package/src/assets/icons/detailed/sequential-prerequisites.svg +20 -0
- package/src/assets/icons/detailed/settings.svg +14 -0
- package/src/assets/icons/detailed/share.svg +20 -0
- package/src/assets/icons/detailed/sketch.svg +12 -0
- package/src/assets/icons/detailed/skills.svg +20 -0
- package/src/assets/icons/detailed/skip-back.svg +12 -0
- package/src/assets/icons/detailed/skip-forward.svg +13 -0
- package/src/assets/icons/detailed/sms.svg +18 -0
- package/src/assets/icons/detailed/sso-access.svg +18 -0
- package/src/assets/icons/detailed/star-active.svg +6 -0
- package/src/assets/icons/detailed/star.svg +6 -0
- package/src/assets/icons/detailed/success.svg +10 -0
- package/src/assets/icons/detailed/sun.svg +24 -0
- package/src/assets/icons/detailed/sunrise.svg +18 -0
- package/src/assets/icons/detailed/support.svg +18 -0
- package/src/assets/icons/detailed/survey.svg +24 -0
- package/src/assets/icons/detailed/table.svg +11 -0
- package/src/assets/icons/detailed/tematic-channels.svg +12 -0
- package/src/assets/icons/detailed/test.svg +14 -0
- package/src/assets/icons/detailed/text-body.svg +8 -0
- package/src/assets/icons/detailed/text-edit.svg +11 -0
- package/src/assets/icons/detailed/text-style.svg +10 -0
- package/src/assets/icons/detailed/time.svg +10 -0
- package/src/assets/icons/detailed/toilet-piper.svg +15 -0
- package/src/assets/icons/detailed/training-points.svg +16 -0
- package/src/assets/icons/detailed/trash.svg +19 -0
- package/src/assets/icons/detailed/underline.svg +8 -0
- package/src/assets/icons/detailed/undo.svg +9 -0
- package/src/assets/icons/detailed/unlock.svg +13 -0
- package/src/assets/icons/detailed/upload.svg +10 -0
- package/src/assets/icons/detailed/user-add.svg +16 -0
- package/src/assets/icons/detailed/user-badge.svg +11 -0
- package/src/assets/icons/detailed/user.svg +8 -0
- package/src/assets/icons/detailed/video-off.svg +17 -0
- package/src/assets/icons/detailed/video-on.svg +16 -0
- package/src/assets/icons/detailed/video-rec.svg +19 -0
- package/src/assets/icons/detailed/view-card.svg +12 -0
- package/src/assets/icons/detailed/view-list.svg +20 -0
- package/src/assets/icons/detailed/view.svg +7 -0
- package/src/assets/icons/detailed/voice-off.svg +14 -0
- package/src/assets/icons/detailed/voice-on.svg +16 -0
- package/src/assets/icons/detailed/volume-down.svg +14 -0
- package/src/assets/icons/detailed/volume-off.svg +19 -0
- package/src/assets/icons/detailed/volume-up.svg +16 -0
- package/src/assets/icons/detailed/warning.svg +16 -0
- package/src/assets/icons/detailed/webinar.svg +57 -0
- package/src/assets/icons/detailed/whiteboard.svg +16 -0
- package/src/assets/icons/detailed/wine.svg +22 -0
- package/src/assets/icons/detailed/zip.svg +17 -0
- package/src/assets/icons/detailed/zoom-in.svg +18 -0
- package/src/assets/icons/detailed/zoom-out.svg +16 -0
- package/src/assets/icons/detailed.json +1 -0
- package/src/assets/icons/normal/add-circle.svg +12 -0
- package/src/assets/icons/normal/add.svg +4 -0
- package/src/assets/icons/normal/align-center.svg +11 -0
- package/src/assets/icons/normal/align-justify.svg +11 -0
- package/src/assets/icons/normal/align-left.svg +11 -0
- package/src/assets/icons/normal/align-right.svg +11 -0
- package/src/assets/icons/normal/analysis-2.svg +18 -0
- package/src/assets/icons/normal/analysis-3.svg +8 -0
- package/src/assets/icons/normal/analysis.svg +14 -0
- package/src/assets/icons/normal/apple.svg +16 -0
- package/src/assets/icons/normal/arrow-down.svg +8 -0
- package/src/assets/icons/normal/arrow-left.svg +8 -0
- package/src/assets/icons/normal/arrow-right.svg +8 -0
- package/src/assets/icons/normal/arrow-up.svg +8 -0
- package/src/assets/icons/normal/attachment.svg +6 -0
- package/src/assets/icons/normal/back-to-front.svg +15 -0
- package/src/assets/icons/normal/bell-active.svg +14 -0
- package/src/assets/icons/normal/bell.svg +14 -0
- package/src/assets/icons/normal/bold.svg +8 -0
- package/src/assets/icons/normal/bookmark active.svg +12 -0
- package/src/assets/icons/normal/bookmark.svg +10 -0
- package/src/assets/icons/normal/building.svg +21 -0
- package/src/assets/icons/normal/bulleted-list.svg +23 -0
- package/src/assets/icons/normal/calendar.svg +20 -0
- package/src/assets/icons/normal/camera-off.svg +17 -0
- package/src/assets/icons/normal/camera-on.svg +16 -0
- package/src/assets/icons/normal/catalog.svg +13 -0
- package/src/assets/icons/normal/certificate.svg +12 -0
- package/src/assets/icons/normal/chat.svg +6 -0
- package/src/assets/icons/normal/check-badge.svg +9 -0
- package/src/assets/icons/normal/check-circle.svg +10 -0
- package/src/assets/icons/normal/check.svg +4 -0
- package/src/assets/icons/normal/checkbox.svg +8 -0
- package/src/assets/icons/normal/chevron-down-circle.svg +10 -0
- package/src/assets/icons/normal/chevron-down.svg +6 -0
- package/src/assets/icons/normal/chevron-left-circle.svg +10 -0
- package/src/assets/icons/normal/chevron-left.svg +6 -0
- package/src/assets/icons/normal/chevron-right-circle.svg +10 -0
- package/src/assets/icons/normal/chevron-right.svg +7 -0
- package/src/assets/icons/normal/chevron-up-circle.svg +10 -0
- package/src/assets/icons/normal/chevron-up.svg +6 -0
- package/src/assets/icons/normal/circle.svg +8 -0
- package/src/assets/icons/normal/classroom.svg +36 -0
- package/src/assets/icons/normal/clear-field.svg +14 -0
- package/src/assets/icons/normal/clear-style.svg +18 -0
- package/src/assets/icons/normal/close-circle.svg +14 -0
- package/src/assets/icons/normal/close-loader.svg +6 -0
- package/src/assets/icons/normal/close.svg +8 -0
- package/src/assets/icons/normal/coffee.svg +26 -0
- package/src/assets/icons/normal/color.svg +18 -0
- package/src/assets/icons/normal/contact-us.svg +29 -0
- package/src/assets/icons/normal/copy.svg +10 -0
- package/src/assets/icons/normal/courses.svg +22 -0
- package/src/assets/icons/normal/dashboard.svg +18 -0
- package/src/assets/icons/normal/download.svg +10 -0
- package/src/assets/icons/normal/drag.svg +5 -0
- package/src/assets/icons/normal/duplicate.svg +22 -0
- package/src/assets/icons/normal/edit.svg +16 -0
- package/src/assets/icons/normal/elearning.svg +16 -0
- package/src/assets/icons/normal/email.svg +11 -0
- package/src/assets/icons/normal/error-2.svg +8 -0
- package/src/assets/icons/normal/error.svg +12 -0
- package/src/assets/icons/normal/exercise.svg +26 -0
- package/src/assets/icons/normal/external-link.svg +11 -0
- package/src/assets/icons/normal/extract.svg +14 -0
- package/src/assets/icons/normal/eye-off.svg +14 -0
- package/src/assets/icons/normal/eye-on.svg +16 -0
- package/src/assets/icons/normal/fail.svg +11 -0
- package/src/assets/icons/normal/fast-back.svg +19 -0
- package/src/assets/icons/normal/fast-forward.svg +17 -0
- package/src/assets/icons/normal/file-add.svg +16 -0
- package/src/assets/icons/normal/file-duplicate.svg +22 -0
- package/src/assets/icons/normal/file-remove.svg +14 -0
- package/src/assets/icons/normal/file-required.svg +24 -0
- package/src/assets/icons/normal/file.svg +13 -0
- package/src/assets/icons/normal/filter-2.svg +20 -0
- package/src/assets/icons/normal/filter-active.svg +12 -0
- package/src/assets/icons/normal/filter.svg +12 -0
- package/src/assets/icons/normal/flag.svg +10 -0
- package/src/assets/icons/normal/folder.svg +12 -0
- package/src/assets/icons/normal/full-width.svg +9 -0
- package/src/assets/icons/normal/go-to-back.svg +19 -0
- package/src/assets/icons/normal/grid.svg +20 -0
- package/src/assets/icons/normal/group-add.svg +18 -0
- package/src/assets/icons/normal/group.svg +14 -0
- package/src/assets/icons/normal/heart-active.svg +10 -0
- package/src/assets/icons/normal/heart.svg +10 -0
- package/src/assets/icons/normal/highlighter.svg +11 -0
- package/src/assets/icons/normal/home.svg +12 -0
- package/src/assets/icons/normal/hourglass.svg +8 -0
- package/src/assets/icons/normal/image.svg +15 -0
- package/src/assets/icons/normal/info-badge.svg +9 -0
- package/src/assets/icons/normal/information.svg +12 -0
- package/src/assets/icons/normal/italic.svg +10 -0
- package/src/assets/icons/normal/key.svg +8 -0
- package/src/assets/icons/normal/language.svg +14 -0
- package/src/assets/icons/normal/learning-path.svg +7 -0
- package/src/assets/icons/normal/light-off.svg +10 -0
- package/src/assets/icons/normal/light-on.svg +17 -0
- package/src/assets/icons/normal/link.svg +12 -0
- package/src/assets/icons/normal/lock.svg +12 -0
- package/src/assets/icons/normal/login.svg +10 -0
- package/src/assets/icons/normal/logout.svg +10 -0
- package/src/assets/icons/normal/maximize.svg +10 -0
- package/src/assets/icons/normal/menu.svg +8 -0
- package/src/assets/icons/normal/merge.svg +20 -0
- package/src/assets/icons/normal/minimize.svg +12 -0
- package/src/assets/icons/normal/mixed-class.svg +36 -0
- package/src/assets/icons/normal/more-horizontal.svg +7 -0
- package/src/assets/icons/normal/more-vertical.svg +7 -0
- package/src/assets/icons/normal/news.svg +9 -0
- package/src/assets/icons/normal/no-prerequisites.svg +12 -0
- package/src/assets/icons/normal/notes.svg +15 -0
- package/src/assets/icons/normal/number-code.svg +34 -0
- package/src/assets/icons/normal/numbered-list.svg +19 -0
- package/src/assets/icons/normal/on-site.svg +18 -0
- package/src/assets/icons/normal/order-down.svg +12 -0
- package/src/assets/icons/normal/order-up.svg +11 -0
- package/src/assets/icons/normal/paste.svg +14 -0
- package/src/assets/icons/normal/pausa.svg +7 -0
- package/src/assets/icons/normal/pdf.svg +12 -0
- package/src/assets/icons/normal/phone.svg +10 -0
- package/src/assets/icons/normal/pin-map.svg +10 -0
- package/src/assets/icons/normal/pin.svg +12 -0
- package/src/assets/icons/normal/pizza.svg +17 -0
- package/src/assets/icons/normal/play.svg +9 -0
- package/src/assets/icons/normal/plug-in.svg +10 -0
- package/src/assets/icons/normal/pointer.svg +12 -0
- package/src/assets/icons/normal/printer.svg +28 -0
- package/src/assets/icons/normal/profile-add.svg +28 -0
- package/src/assets/icons/normal/profile.svg +15 -0
- package/src/assets/icons/normal/push pin on.svg +9 -0
- package/src/assets/icons/normal/push-pin-off.svg +23 -0
- package/src/assets/icons/normal/qrcode.svg +26 -0
- package/src/assets/icons/normal/question-badge.svg +10 -0
- package/src/assets/icons/normal/radio.svg +8 -0
- package/src/assets/icons/normal/redo.svg +9 -0
- package/src/assets/icons/normal/relations.svg +28 -0
- package/src/assets/icons/normal/reload.svg +12 -0
- package/src/assets/icons/normal/remove-circle.svg +10 -0
- package/src/assets/icons/normal/remove.svg +4 -0
- package/src/assets/icons/normal/reorder.svg +12 -0
- package/src/assets/icons/normal/repeat.svg +12 -0
- package/src/assets/icons/normal/repository.svg +18 -0
- package/src/assets/icons/normal/request-form.svg +18 -0
- package/src/assets/icons/normal/resize-100%.svg +17 -0
- package/src/assets/icons/normal/resize-height.svg +12 -0
- package/src/assets/icons/normal/resize-width.svg +12 -0
- package/src/assets/icons/normal/search.svg +10 -0
- package/src/assets/icons/normal/sequential-prerequisites.svg +20 -0
- package/src/assets/icons/normal/settings.svg +14 -0
- package/src/assets/icons/normal/share.svg +20 -0
- package/src/assets/icons/normal/sketch.svg +11 -0
- package/src/assets/icons/normal/skills.svg +16 -0
- package/src/assets/icons/normal/skip-back.svg +12 -0
- package/src/assets/icons/normal/skip-forward.svg +13 -0
- package/src/assets/icons/normal/sms.svg +20 -0
- package/src/assets/icons/normal/sso-access.svg +20 -0
- package/src/assets/icons/normal/star-active.svg +4 -0
- package/src/assets/icons/normal/star.svg +4 -0
- package/src/assets/icons/normal/success.svg +10 -0
- package/src/assets/icons/normal/sun.svg +24 -0
- package/src/assets/icons/normal/sunrise.svg +18 -0
- package/src/assets/icons/normal/support.svg +18 -0
- package/src/assets/icons/normal/survey.svg +24 -0
- package/src/assets/icons/normal/table.svg +11 -0
- package/src/assets/icons/normal/tematic-channels.svg +10 -0
- package/src/assets/icons/normal/test.svg +15 -0
- package/src/assets/icons/normal/text-body.svg +8 -0
- package/src/assets/icons/normal/text-edit.svg +11 -0
- package/src/assets/icons/normal/text-style.svg +10 -0
- package/src/assets/icons/normal/time.svg +10 -0
- package/src/assets/icons/normal/toilet-paper.svg +15 -0
- package/src/assets/icons/normal/training-points.svg +16 -0
- package/src/assets/icons/normal/trash.svg +19 -0
- package/src/assets/icons/normal/underline.svg +8 -0
- package/src/assets/icons/normal/undo.svg +9 -0
- package/src/assets/icons/normal/unlock.svg +13 -0
- package/src/assets/icons/normal/upload.svg +10 -0
- package/src/assets/icons/normal/user-add.svg +14 -0
- package/src/assets/icons/normal/user-badge.svg +11 -0
- package/src/assets/icons/normal/user.svg +5 -0
- package/src/assets/icons/normal/video-off.svg +11 -0
- package/src/assets/icons/normal/video-on.svg +20 -0
- package/src/assets/icons/normal/video-rec.svg +23 -0
- package/src/assets/icons/normal/view-card.svg +10 -0
- package/src/assets/icons/normal/view-list.svg +18 -0
- package/src/assets/icons/normal/view.svg +8 -0
- package/src/assets/icons/normal/voice-off.svg +18 -0
- package/src/assets/icons/normal/voice-on.svg +15 -0
- package/src/assets/icons/normal/volume-down.svg +14 -0
- package/src/assets/icons/normal/volume-off.svg +18 -0
- package/src/assets/icons/normal/volume-up.svg +16 -0
- package/src/assets/icons/normal/warning.svg +16 -0
- package/src/assets/icons/normal/webinar.svg +36 -0
- package/src/assets/icons/normal/whiteboard.svg +17 -0
- package/src/assets/icons/normal/wine.svg +22 -0
- package/src/assets/icons/normal/zip.svg +19 -0
- package/src/assets/icons/normal/zoom-in.svg +16 -0
- package/src/assets/icons/normal/zoom-out.svg +14 -0
- package/src/assets/icons/normal.json +1 -0
- package/src/assets/icons/simple/add-circle.svg +12 -0
- package/src/assets/icons/simple/add.svg +8 -0
- package/src/assets/icons/simple/align-center.svg +12 -0
- package/src/assets/icons/simple/align-justify.svg +12 -0
- package/src/assets/icons/simple/align-left.svg +12 -0
- package/src/assets/icons/simple/align-right.svg +12 -0
- package/src/assets/icons/simple/analysis-2.svg +21 -0
- package/src/assets/icons/simple/analysis-3.svg +8 -0
- package/src/assets/icons/simple/analysis.svg +16 -0
- package/src/assets/icons/simple/apple.svg +18 -0
- package/src/assets/icons/simple/arrow-down.svg +8 -0
- package/src/assets/icons/simple/arrow-left.svg +8 -0
- package/src/assets/icons/simple/arrow-right.svg +8 -0
- package/src/assets/icons/simple/arrow-up.svg +8 -0
- package/src/assets/icons/simple/attachment.svg +10 -0
- package/src/assets/icons/simple/bck-to-front.svg +19 -0
- package/src/assets/icons/simple/bell-active.svg +14 -0
- package/src/assets/icons/simple/bell.svg +14 -0
- package/src/assets/icons/simple/bold.svg +8 -0
- package/src/assets/icons/simple/bookmark-active.svg +12 -0
- package/src/assets/icons/simple/bookmark.svg +12 -0
- package/src/assets/icons/simple/building.svg +25 -0
- package/src/assets/icons/simple/bulleted-list.svg +22 -0
- package/src/assets/icons/simple/calendar.svg +22 -0
- package/src/assets/icons/simple/camera-off.svg +12 -0
- package/src/assets/icons/simple/camera-on.svg +16 -0
- package/src/assets/icons/simple/catalog.svg +14 -0
- package/src/assets/icons/simple/certificate.svg +15 -0
- package/src/assets/icons/simple/chat.svg +9 -0
- package/src/assets/icons/simple/check-badge.svg +9 -0
- package/src/assets/icons/simple/check-circle.svg +10 -0
- package/src/assets/icons/simple/check.svg +6 -0
- package/src/assets/icons/simple/checkbox.svg +6 -0
- package/src/assets/icons/simple/chevron-down-circle.svg +10 -0
- package/src/assets/icons/simple/chevron-down.svg +6 -0
- package/src/assets/icons/simple/chevron-left-circle.svg +10 -0
- package/src/assets/icons/simple/chevron-left.svg +6 -0
- package/src/assets/icons/simple/chevron-right-circle.svg +10 -0
- package/src/assets/icons/simple/chevron-right.svg +7 -0
- package/src/assets/icons/simple/chevron-up-circle.svg +10 -0
- package/src/assets/icons/simple/chevron-up.svg +6 -0
- package/src/assets/icons/simple/circle.svg +8 -0
- package/src/assets/icons/simple/classroom.svg +38 -0
- package/src/assets/icons/simple/clear-field.svg +11 -0
- package/src/assets/icons/simple/clear-style.svg +15 -0
- package/src/assets/icons/simple/close-circle.svg +14 -0
- package/src/assets/icons/simple/close-loader.svg +6 -0
- package/src/assets/icons/simple/close.svg +10 -0
- package/src/assets/icons/simple/coffee.svg +28 -0
- package/src/assets/icons/simple/color.svg +20 -0
- package/src/assets/icons/simple/contact-us.svg +26 -0
- package/src/assets/icons/simple/copy.svg +10 -0
- package/src/assets/icons/simple/courses.svg +21 -0
- package/src/assets/icons/simple/dashboard.svg +20 -0
- package/src/assets/icons/simple/download.svg +10 -0
- package/src/assets/icons/simple/drag.svg +10 -0
- package/src/assets/icons/simple/duplicate.svg +24 -0
- package/src/assets/icons/simple/edit.svg +17 -0
- package/src/assets/icons/simple/elearning.svg +17 -0
- package/src/assets/icons/simple/email.svg +11 -0
- package/src/assets/icons/simple/error-2.svg +8 -0
- package/src/assets/icons/simple/error.svg +12 -0
- package/src/assets/icons/simple/exercise.svg +30 -0
- package/src/assets/icons/simple/external-link.svg +13 -0
- package/src/assets/icons/simple/extract.svg +17 -0
- package/src/assets/icons/simple/eye-off.svg +13 -0
- package/src/assets/icons/simple/eye-on.svg +11 -0
- package/src/assets/icons/simple/fail.svg +11 -0
- package/src/assets/icons/simple/fast-back.svg +20 -0
- package/src/assets/icons/simple/fast-forward.svg +19 -0
- package/src/assets/icons/simple/file-add.svg +20 -0
- package/src/assets/icons/simple/file-duplicate.svg +22 -0
- package/src/assets/icons/simple/file-remove.svg +18 -0
- package/src/assets/icons/simple/file-required.svg +24 -0
- package/src/assets/icons/simple/file.svg +14 -0
- package/src/assets/icons/simple/filter-2.svg +24 -0
- package/src/assets/icons/simple/filter-active.svg +13 -0
- package/src/assets/icons/simple/filter.svg +12 -0
- package/src/assets/icons/simple/flag.svg +12 -0
- package/src/assets/icons/simple/folder.svg +14 -0
- package/src/assets/icons/simple/full-width.svg +11 -0
- package/src/assets/icons/simple/go-to-back.svg +18 -0
- package/src/assets/icons/simple/grid.svg +20 -0
- package/src/assets/icons/simple/group-add.svg +24 -0
- package/src/assets/icons/simple/group.svg +18 -0
- package/src/assets/icons/simple/heart-active.svg +12 -0
- package/src/assets/icons/simple/heart.svg +12 -0
- package/src/assets/icons/simple/highlighter.svg +12 -0
- package/src/assets/icons/simple/home.svg +13 -0
- package/src/assets/icons/simple/hourglass.svg +11 -0
- package/src/assets/icons/simple/image.svg +15 -0
- package/src/assets/icons/simple/info-badge.svg +9 -0
- package/src/assets/icons/simple/information.svg +12 -0
- package/src/assets/icons/simple/italic.svg +12 -0
- package/src/assets/icons/simple/key.svg +11 -0
- package/src/assets/icons/simple/language.svg +12 -0
- package/src/assets/icons/simple/learning-path.svg +9 -0
- package/src/assets/icons/simple/light-off.svg +7 -0
- package/src/assets/icons/simple/light-on.svg +18 -0
- package/src/assets/icons/simple/link.svg +14 -0
- package/src/assets/icons/simple/lock.svg +13 -0
- package/src/assets/icons/simple/login.svg +11 -0
- package/src/assets/icons/simple/logout.svg +11 -0
- package/src/assets/icons/simple/maximaze.svg +12 -0
- package/src/assets/icons/simple/menu.svg +10 -0
- package/src/assets/icons/simple/merge.svg +20 -0
- package/src/assets/icons/simple/minimaze.svg +12 -0
- package/src/assets/icons/simple/mixed-class.svg +40 -0
- package/src/assets/icons/simple/more-horizontal.svg +8 -0
- package/src/assets/icons/simple/more-vertical.svg +8 -0
- package/src/assets/icons/simple/news.svg +12 -0
- package/src/assets/icons/simple/no-prerequisites.svg +17 -0
- package/src/assets/icons/simple/notes.svg +14 -0
- package/src/assets/icons/simple/number-code.svg +29 -0
- package/src/assets/icons/simple/numbered-list.svg +18 -0
- package/src/assets/icons/simple/on-site.svg +18 -0
- package/src/assets/icons/simple/order-down.svg +12 -0
- package/src/assets/icons/simple/order-up.svg +12 -0
- package/src/assets/icons/simple/paste.svg +14 -0
- package/src/assets/icons/simple/pausa.svg +8 -0
- package/src/assets/icons/simple/pdf.svg +12 -0
- package/src/assets/icons/simple/phone.svg +10 -0
- package/src/assets/icons/simple/pin-map.svg +13 -0
- package/src/assets/icons/simple/pin.svg +14 -0
- package/src/assets/icons/simple/pizza.svg +17 -0
- package/src/assets/icons/simple/play.svg +10 -0
- package/src/assets/icons/simple/plug-in.svg +10 -0
- package/src/assets/icons/simple/pointer.svg +6 -0
- package/src/assets/icons/simple/printer.svg +28 -0
- package/src/assets/icons/simple/profile-add.svg +28 -0
- package/src/assets/icons/simple/profile.svg +13 -0
- package/src/assets/icons/simple/push-pin-off.svg +11 -0
- package/src/assets/icons/simple/push-pin-on.svg +12 -0
- package/src/assets/icons/simple/qrcode.svg +26 -0
- package/src/assets/icons/simple/question-badge.svg +10 -0
- package/src/assets/icons/simple/radio.svg +8 -0
- package/src/assets/icons/simple/redo.svg +9 -0
- package/src/assets/icons/simple/relations.svg +28 -0
- package/src/assets/icons/simple/reload.svg +12 -0
- package/src/assets/icons/simple/remove-circle.svg +10 -0
- package/src/assets/icons/simple/remove.svg +6 -0
- package/src/assets/icons/simple/repeart.svg +14 -0
- package/src/assets/icons/simple/repository.svg +18 -0
- package/src/assets/icons/simple/request-form.svg +20 -0
- package/src/assets/icons/simple/resize-100%.svg +15 -0
- package/src/assets/icons/simple/resize-height.svg +12 -0
- package/src/assets/icons/simple/resize-width.svg +14 -0
- package/src/assets/icons/simple/search.svg +10 -0
- package/src/assets/icons/simple/sequential-prerequisites.svg +22 -0
- package/src/assets/icons/simple/settings.svg +17 -0
- package/src/assets/icons/simple/share.svg +21 -0
- package/src/assets/icons/simple/sketch.svg +13 -0
- package/src/assets/icons/simple/skills.svg +17 -0
- package/src/assets/icons/simple/skip-back.svg +14 -0
- package/src/assets/icons/simple/skip-forward.svg +14 -0
- package/src/assets/icons/simple/sms.svg +22 -0
- package/src/assets/icons/simple/sso-access.svg +20 -0
- package/src/assets/icons/simple/star-active.svg +6 -0
- package/src/assets/icons/simple/star.svg +6 -0
- package/src/assets/icons/simple/success.svg +12 -0
- package/src/assets/icons/simple/sun.svg +22 -0
- package/src/assets/icons/simple/sunrise.svg +18 -0
- package/src/assets/icons/simple/support.svg +18 -0
- package/src/assets/icons/simple/survey.svg +32 -0
- package/src/assets/icons/simple/table.svg +11 -0
- package/src/assets/icons/simple/tematic-channels.svg +15 -0
- package/src/assets/icons/simple/test.svg +23 -0
- package/src/assets/icons/simple/text-body.svg +7 -0
- package/src/assets/icons/simple/text-edit.svg +11 -0
- package/src/assets/icons/simple/text-style.svg +10 -0
- package/src/assets/icons/simple/time.svg +10 -0
- package/src/assets/icons/simple/toilet-paper.svg +17 -0
- package/src/assets/icons/simple/training-points.svg +18 -0
- package/src/assets/icons/simple/trash.svg +20 -0
- package/src/assets/icons/simple/underline.svg +9 -0
- package/src/assets/icons/simple/undo.svg +9 -0
- package/src/assets/icons/simple/unlock.svg +15 -0
- package/src/assets/icons/simple/upload.svg +10 -0
- package/src/assets/icons/simple/user-add.svg +18 -0
- package/src/assets/icons/simple/user-badge.svg +12 -0
- package/src/assets/icons/simple/user.svg +8 -0
- package/src/assets/icons/simple/video-off.svg +17 -0
- package/src/assets/icons/simple/video-on.svg +17 -0
- package/src/assets/icons/simple/video-rec.svg +20 -0
- package/src/assets/icons/simple/view-card.svg +12 -0
- package/src/assets/icons/simple/view-list.svg +20 -0
- package/src/assets/icons/simple/view.svg +17 -0
- package/src/assets/icons/simple/voice-off.svg +16 -0
- package/src/assets/icons/simple/voice-on.svg +16 -0
- package/src/assets/icons/simple/volume-down.svg +15 -0
- package/src/assets/icons/simple/volume-off.svg +16 -0
- package/src/assets/icons/simple/volume-up.svg +16 -0
- package/src/assets/icons/simple/warning.svg +14 -0
- package/src/assets/icons/simple/webinar.svg +19 -0
- package/src/assets/icons/simple/whiteboard.svg +16 -0
- package/src/assets/icons/simple/wine.svg +24 -0
- package/src/assets/icons/simple/zip.svg +22 -0
- package/src/assets/icons/simple/zoom-in.svg +18 -0
- package/src/assets/icons/simple/zoom-out.svg +17 -0
- package/src/assets/icons/simple.json +1 -0
- package/src/components/VvAccordion/VvAccordion.vue +181 -0
- package/src/components/VvAccordion/index.ts +81 -0
- package/src/components/VvAccordionGroup/VvAccordionGroup.vue +237 -0
- package/src/components/VvAccordionGroup/index.ts +50 -0
- package/src/components/VvAction/VvAction.vue +163 -0
- package/src/components/VvAction/index.ts +5 -0
- package/src/components/VvAlert/VvAlert.vue +82 -0
- package/src/components/VvAlert/index.ts +170 -0
- package/src/components/VvAlertGroup/VvAlertGroup.vue +65 -0
- package/src/components/VvAlertGroup/index.ts +116 -0
- package/src/components/VvAvatar/VvAvatar.vue +27 -0
- package/src/components/VvAvatar/index.ts +9 -0
- package/src/components/VvAvatarGroup/VvAvatarGroup.vue +70 -0
- package/src/components/VvAvatarGroup/index.ts +28 -0
- package/src/components/VvBadge/VvBadge.vue +21 -0
- package/src/components/VvBadge/index.ts +6 -0
- package/src/components/VvBreadcrumb/VvBreadcrumb.vue +56 -0
- package/src/components/VvBreadcrumb/index.ts +7 -0
- package/src/components/VvButton/VvButton.vue +178 -0
- package/src/components/VvButton/index.ts +125 -0
- package/src/components/VvButtonGroup/VvButtonGroup.vue +82 -0
- package/src/components/VvButtonGroup/index.ts +29 -0
- package/src/components/VvCard/VvCard.vue +37 -0
- package/src/components/VvCard/index.ts +6 -0
- package/src/components/VvCheckbox/VvCheckbox.vue +196 -0
- package/src/components/VvCheckbox/index.ts +65 -0
- package/src/components/VvCheckboxGroup/VvCheckboxGroup.vue +103 -0
- package/src/components/VvCheckboxGroup/index.ts +5 -0
- package/src/components/VvCombobox/VvCombobox.vue +754 -0
- package/src/components/VvCombobox/index.ts +249 -0
- package/src/components/VvDialog/VvDialog.vue +159 -0
- package/src/components/VvDialog/index.ts +48 -0
- package/src/components/VvDropdown/VvDropdown.vue +532 -0
- package/src/components/VvDropdown/VvDropdownAction.vue +44 -0
- package/src/components/VvDropdown/VvDropdownItem.vue +36 -0
- package/src/components/VvDropdown/VvDropdownOptgroup.vue +21 -0
- package/src/components/VvDropdown/VvDropdownOption.vue +55 -0
- package/src/components/VvDropdown/index.ts +66 -0
- package/src/components/VvIcon/README.md +76 -0
- package/src/components/VvIcon/VvIcon.vue +140 -0
- package/src/components/VvIcon/index.ts +90 -0
- package/src/components/VvInputFile/VvInputFile.vue +428 -0
- package/src/components/VvInputFile/index.ts +150 -0
- package/src/components/VvInputText/VvInputText.vue +809 -0
- package/src/components/VvInputText/VvInputTextActions.ts +100 -0
- package/src/components/VvInputText/index.ts +234 -0
- package/src/components/VvNav/VvNav.vue +48 -0
- package/src/components/VvNav/VvNavItem.vue +20 -0
- package/src/components/VvNav/VvNavSeparator.vue +11 -0
- package/src/components/VvNav/index.ts +8 -0
- package/src/components/VvProgress/VvProgress.vue +34 -0
- package/src/components/VvProgress/index.ts +32 -0
- package/src/components/VvRadio/VvRadio.vue +126 -0
- package/src/components/VvRadio/index.ts +46 -0
- package/src/components/VvRadioGroup/VvRadioGroup.vue +107 -0
- package/src/components/VvRadioGroup/index.ts +5 -0
- package/src/components/VvSelect/VvSelect.vue +273 -0
- package/src/components/VvSelect/index.ts +97 -0
- package/src/components/VvTab/VvTab.vue +87 -0
- package/src/components/VvTab/index.ts +19 -0
- package/src/components/VvTextarea/VvTextarea.vue +333 -0
- package/src/components/VvTextarea/index.ts +82 -0
- package/src/components/VvTooltip/VvTooltip.vue +29 -0
- package/src/components/VvTooltip/index.ts +18 -0
- package/src/components/VvVirtualScroll/VvVirtualScroll.vue +123 -0
- package/src/components/common/HintSlot.ts +174 -0
- package/src/components/common/VvInputClearAction.ts +61 -0
- package/src/components/common/VvInputPasswordAction.ts +77 -0
- package/src/components/common/VvInputStepAction.ts +54 -0
- package/src/components/index.ts +34 -0
- package/src/composables/alert/useAlerInject.ts +8 -0
- package/src/composables/alert/useAlert.ts +106 -0
- package/src/composables/alert/useAlertProvide.ts +23 -0
- package/src/composables/dropdown/useDropdownContextmenu.ts +23 -0
- package/src/composables/dropdown/useDropdownInject.ts +26 -0
- package/src/composables/dropdown/useDropdownProvide.ts +96 -0
- package/src/composables/dropdown/useDropdownVirtualElement.ts +54 -0
- package/src/composables/group/useGroupStateInject.ts +55 -0
- package/src/composables/group/useGroupStateProvide.ts +14 -0
- package/src/composables/index.ts +5 -0
- package/src/composables/useBlurhash.ts +79 -0
- package/src/composables/useComponentFocus.ts +16 -0
- package/src/composables/useComponentIcon.ts +42 -0
- package/src/composables/useDebouncedInput.ts +32 -0
- package/src/composables/useDefaults.ts +89 -0
- package/src/composables/useModifiers.ts +36 -0
- package/src/composables/useOptions.ts +56 -0
- package/src/composables/usePersistence.ts +77 -0
- package/src/composables/useTextCount.ts +54 -0
- package/src/composables/useUniqueId.ts +6 -0
- package/src/composables/useVirtualScroll.ts +89 -0
- package/src/composables/useVolver.ts +8 -0
- package/src/constants.ts +153 -0
- package/src/directives/index.ts +4 -0
- package/src/directives/v-contextmenu.ts +32 -0
- package/src/directives/v-tooltip.ts +25 -0
- package/src/icons.ts +7 -0
- package/src/index.ts +14 -0
- package/src/json-render/catalog.ts +31 -0
- package/src/json-render/components.ts +308 -0
- package/src/json-render/definitions.ts +440 -0
- package/src/json-render/index.ts +127 -0
- package/src/json-render/registry.ts +40 -0
- package/src/props/index.ts +597 -0
- package/src/resolvers/unplugin.ts +179 -0
- package/src/shims.d.ts +12 -0
- package/src/stories/Accordion/Accordion.settings.ts +58 -0
- package/src/stories/Accordion/Accordion.stories.ts +45 -0
- package/src/stories/Accordion/Accordion.test.ts +67 -0
- package/src/stories/Accordion/AccordionSlots.stories.ts +29 -0
- package/src/stories/AccordionGroup/AccordionGroup.settings.ts +89 -0
- package/src/stories/AccordionGroup/AccordionGroup.stories.ts +64 -0
- package/src/stories/AccordionGroup/AccordionGroup.test.ts +56 -0
- package/src/stories/AccordionGroup/AccordionGroupSlots.stories.ts +54 -0
- package/src/stories/Alert/Alert.settings.ts +123 -0
- package/src/stories/Alert/Alert.stories.ts +60 -0
- package/src/stories/Alert/Alert.test.ts +97 -0
- package/src/stories/Alert/AlertModifiers.stories.ts +78 -0
- package/src/stories/Alert/AlertSlots.stories.ts +75 -0
- package/src/stories/AlertGroup/AlertGroup.settings.ts +112 -0
- package/src/stories/AlertGroup/AlertGroup.stories.ts +50 -0
- package/src/stories/AlertGroup/AlertGroup.test.ts +87 -0
- package/src/stories/AlertGroup/AlertGroupPosition.stories.ts +104 -0
- package/src/stories/AlertGroup/AlertGroupSlots.stories.ts +68 -0
- package/src/stories/AlertGroup/AlertGroupWithComposable.stories.ts +116 -0
- package/src/stories/Avatar/Avatar.settings.ts +36 -0
- package/src/stories/Avatar/Avatar.stories.ts +43 -0
- package/src/stories/Avatar/Avatar.test.ts +32 -0
- package/src/stories/Avatar/AvatarBadge.stories.ts +36 -0
- package/src/stories/Avatar/AvatarModifiers.stories.ts +100 -0
- package/src/stories/Avatar/AvatarSlots.stories.ts +34 -0
- package/src/stories/AvatarGroup/AvatarGroup.settings.ts +61 -0
- package/src/stories/AvatarGroup/AvatarGroup.stories.ts +35 -0
- package/src/stories/AvatarGroup/AvatarGroup.test.ts +34 -0
- package/src/stories/AvatarGroup/AvatarGroupModifiers.stories.ts +31 -0
- package/src/stories/AvatarGroup/AvatarGroupSlotDefault.stories.ts +39 -0
- package/src/stories/Badge/Badge.settings.ts +27 -0
- package/src/stories/Badge/Badge.stories.ts +43 -0
- package/src/stories/Badge/Badge.test.ts +12 -0
- package/src/stories/Badge/BadgeSlots.stories.ts +23 -0
- package/src/stories/Blurhash/BlurhashComposable.stories.ts +215 -0
- package/src/stories/Breadcrumb/Breadcrumb.settings.ts +41 -0
- package/src/stories/Breadcrumb/Breadcrumb.stories.ts +41 -0
- package/src/stories/Breadcrumb/Breadcrumb.test.ts +52 -0
- package/src/stories/Breadcrumb/BreadcrumbSlots.stories.ts +37 -0
- package/src/stories/Button/Button.settings.ts +155 -0
- package/src/stories/Button/Button.stories.ts +38 -0
- package/src/stories/Button/Button.test.ts +46 -0
- package/src/stories/Button/ButtonIcon.stories.ts +67 -0
- package/src/stories/Button/ButtonLink.stories.ts +40 -0
- package/src/stories/Button/ButtonLoading.stories.ts +41 -0
- package/src/stories/Button/ButtonModifiers.stories.ts +148 -0
- package/src/stories/Button/ButtonSlots.stories.ts +87 -0
- package/src/stories/Button/ButtonState.stories.ts +42 -0
- package/src/stories/Button/ButtonToggle.stories.ts +52 -0
- package/src/stories/ButtonGroup/ButtonGroup.settings.ts +41 -0
- package/src/stories/ButtonGroup/ButtonGroup.stories.ts +39 -0
- package/src/stories/ButtonGroup/ButtonGroup.test.ts +31 -0
- package/src/stories/ButtonGroup/ButtonGroupModifiers.stories.ts +39 -0
- package/src/stories/ButtonGroup/ButtonGroupSlots.stories.ts +38 -0
- package/src/stories/ButtonGroup/ButtonGroupToggle.stories.ts +41 -0
- package/src/stories/Card/Card.settings.ts +56 -0
- package/src/stories/Card/Card.stories.ts +46 -0
- package/src/stories/Card/Card.test.ts +21 -0
- package/src/stories/Card/CardSlots.stories.ts +81 -0
- package/src/stories/Checkbox/Checkbox.settings.ts +42 -0
- package/src/stories/Checkbox/Checkbox.stories.ts +97 -0
- package/src/stories/Checkbox/Checkbox.test.ts +77 -0
- package/src/stories/Checkbox/CheckboxBinary.stories.ts +33 -0
- package/src/stories/Checkbox/CheckboxSlots.stories.ts +31 -0
- package/src/stories/CheckboxGroup/CheckboxGroup.settings.ts +15 -0
- package/src/stories/CheckboxGroup/CheckboxGroup.stories.ts +87 -0
- package/src/stories/CheckboxGroup/CheckboxGroup.test.ts +79 -0
- package/src/stories/CheckboxGroup/CheckboxGroupOptions.stories.ts +53 -0
- package/src/stories/CheckboxGroup/CheckboxGroupSlots.stories.ts +47 -0
- package/src/stories/Combobox/Combobox.settings.ts +446 -0
- package/src/stories/Combobox/Combobox.stories.ts +249 -0
- package/src/stories/Combobox/Combobox.test.ts +108 -0
- package/src/stories/Combobox/ComboboxIconPosition.stories.ts +44 -0
- package/src/stories/Combobox/ComboboxMultiple.stories.ts +51 -0
- package/src/stories/Combobox/ComboboxOptions.stories.ts +111 -0
- package/src/stories/Combobox/ComboboxSlots.stories.ts +105 -0
- package/src/stories/Dialog/Dialog.settings.ts +54 -0
- package/src/stories/Dialog/Dialog.stories.ts +51 -0
- package/src/stories/Dialog/Dialog.test.ts +64 -0
- package/src/stories/Dialog/DialogModifiers.stories.ts +42 -0
- package/src/stories/Dialog/DialogSlots.stories.ts +39 -0
- package/src/stories/Dropdown/Dropdown.settings.ts +70 -0
- package/src/stories/Dropdown/Dropdown.stories.ts +107 -0
- package/src/stories/Dropdown/Dropdown.test.ts +17 -0
- package/src/stories/Dropdown/DropdownContextmenuDirective.stories.ts +48 -0
- package/src/stories/Dropdown/DropdownMultilevel.stories.ts +61 -0
- package/src/stories/Dropdown/DropdownSlots.stories.ts +95 -0
- package/src/stories/Icon/Icon.settings.ts +73 -0
- package/src/stories/Icon/Icon.stories.ts +47 -0
- package/src/stories/Icon/IconsCollection.stories.ts +53 -0
- package/src/stories/InputFile/InputFile.settings.ts +37 -0
- package/src/stories/InputFile/InputFile.stories.ts +97 -0
- package/src/stories/InputFile/InputFileDropArea.stories.ts +56 -0
- package/src/stories/InputFile/InputFileIconPosition.stories.ts +43 -0
- package/src/stories/InputFile/InputFileSlots.stories.ts +34 -0
- package/src/stories/InputText/InputText.settings.ts +262 -0
- package/src/stories/InputText/InputText.stories.ts +149 -0
- package/src/stories/InputText/InputText.test.ts +184 -0
- package/src/stories/InputText/InputTextIconPosition.stories.ts +43 -0
- package/src/stories/InputText/InputTextIso.stories.ts +69 -0
- package/src/stories/InputText/InputTextLength.stories.ts +58 -0
- package/src/stories/InputText/InputTextMask.stories.ts +122 -0
- package/src/stories/InputText/InputTextMinMax.stories.ts +51 -0
- package/src/stories/InputText/InputTextSlots.stories.ts +39 -0
- package/src/stories/InputText/InputTextSuggestions.stories.ts +118 -0
- package/src/stories/InputText/InputTextType.stories.ts +119 -0
- package/src/stories/Nav/Nav.settings.ts +35 -0
- package/src/stories/Nav/Nav.stories.ts +33 -0
- package/src/stories/Nav/Nav.test.ts +19 -0
- package/src/stories/Nav/NavModifiers.stories.ts +47 -0
- package/src/stories/Progress/Progress.settings.ts +31 -0
- package/src/stories/Progress/Progress.stories.ts +41 -0
- package/src/stories/Progress/Progress.test.ts +9 -0
- package/src/stories/Radio/Radio.settings.ts +15 -0
- package/src/stories/Radio/Radio.stories.ts +81 -0
- package/src/stories/Radio/Radio.test.ts +66 -0
- package/src/stories/Radio/RadioSlots.stories.ts +31 -0
- package/src/stories/RadioGroup/RadioGroup.settings.ts +15 -0
- package/src/stories/RadioGroup/RadioGroup.stories.ts +87 -0
- package/src/stories/RadioGroup/RadioGroup.test.ts +79 -0
- package/src/stories/RadioGroup/RadioGroupOptions.stories.ts +53 -0
- package/src/stories/RadioGroup/RadioGroupSlots.stories.ts +47 -0
- package/src/stories/Select/Select.settings.ts +81 -0
- package/src/stories/Select/Select.stories.ts +126 -0
- package/src/stories/Select/Select.test.ts +81 -0
- package/src/stories/Select/SelectIconPosition.stories.ts +44 -0
- package/src/stories/Select/SelectOptions.stories.ts +77 -0
- package/src/stories/Select/SelectSlots.stories.ts +40 -0
- package/src/stories/Tab/Tab.settings.ts +41 -0
- package/src/stories/Tab/Tab.stories.ts +70 -0
- package/src/stories/Tab/Tab.test.ts +27 -0
- package/src/stories/Textarea/Textarea.settings.ts +90 -0
- package/src/stories/Textarea/Textarea.stories.ts +107 -0
- package/src/stories/Textarea/Textarea.test.ts +86 -0
- package/src/stories/Textarea/TextareaLength.stories.ts +58 -0
- package/src/stories/Textarea/TextareaSlots.stories.ts +39 -0
- package/src/stories/Textarea/TextareatIconPosition.stories.ts +43 -0
- package/src/stories/Tooltip/Tooltip.settings.ts +24 -0
- package/src/stories/Tooltip/Tooltip.stories.ts +40 -0
- package/src/stories/Tooltip/Tooltip.test.ts +58 -0
- package/src/stories/Tooltip/TooltipDirective.stories.ts +68 -0
- package/src/stories/VirtualScroll/VirtualScroll.settings.ts +7 -0
- package/src/stories/VirtualScroll/VirtualScroll.stories.ts +72 -0
- package/src/stories/VirtualScroll/VirtualScroll.test.ts +53 -0
- package/src/stories/VirtualScroll/VirtualScrollWithComposable.stories.ts +92 -0
- package/src/stories/argTypes.ts +563 -0
- package/src/test/expect.ts +83 -0
- package/src/test/options.ts +16 -0
- package/src/test/sleep.ts +3 -0
- package/src/test/types.d.ts +17 -0
- package/src/types/alert.ts +24 -0
- package/src/types/blurhash.ts +21 -0
- package/src/types/floating-ui.ts +18 -0
- package/src/types/generic.ts +5 -0
- package/src/types/group.ts +52 -0
- package/src/types/index.ts +7 -0
- package/src/types/input-file.ts +10 -0
- package/src/types/nav.ts +18 -0
- package/src/utils/DateUtilities.ts +120 -0
- package/src/utils/DomUtilities.ts +15 -0
- package/src/utils/FileUtilities.ts +104 -0
- package/src/utils/ObjectUtilities.ts +289 -0
- package/src/workers/blurhash.ts +9 -0
|
@@ -31,7 +31,7 @@ declare const _default: {
|
|
|
31
31
|
}) => any) | import("vue").VNodeChild;
|
|
32
32
|
}>, "props"> | undefined;
|
|
33
33
|
subcomponents?: Record<string, Omit<import("vue").ConcreteComponent<any>, "props">> | undefined;
|
|
34
|
-
play?: import("storybook/internal/csf").PlayFunction<import("@storybook/vue3").VueRenderer, import("@storybook/vue3").ComponentPropsAndSlots<{
|
|
34
|
+
play?: import("storybook/internal/csf").PlayFunction<import("@storybook/vue3-vite").VueRenderer, import("@storybook/vue3-vite").ComponentPropsAndSlots<{
|
|
35
35
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
|
|
36
36
|
modelValue: {
|
|
37
37
|
type: PropType<string | string[] | undefined>;
|
|
@@ -186,7 +186,7 @@ declare const _default: {
|
|
|
186
186
|
};
|
|
187
187
|
})>> | undefined;
|
|
188
188
|
globals?: import("storybook/internal/csf").Globals | undefined;
|
|
189
|
-
decorators?: import("storybook/internal/csf").DecoratorFunction<import("@storybook/vue3").VueRenderer, {
|
|
189
|
+
decorators?: import("storybook/internal/csf").DecoratorFunction<import("@storybook/vue3-vite").VueRenderer, {
|
|
190
190
|
modelValue?: string | string[] | undefined;
|
|
191
191
|
collapse?: boolean | undefined;
|
|
192
192
|
modifiers?: string | string[] | undefined;
|
|
@@ -213,7 +213,7 @@ declare const _default: {
|
|
|
213
213
|
expand: (name?: string | string[]) => void;
|
|
214
214
|
collapse: (name?: string | string[]) => void;
|
|
215
215
|
}) => any) | import("vue").VNodeChild;
|
|
216
|
-
}> | import("storybook/internal/csf").DecoratorFunction<import("@storybook/vue3").VueRenderer, {
|
|
216
|
+
}> | import("storybook/internal/csf").DecoratorFunction<import("@storybook/vue3-vite").VueRenderer, {
|
|
217
217
|
modelValue?: string | string[] | undefined;
|
|
218
218
|
collapse?: boolean | undefined;
|
|
219
219
|
modifiers?: string | string[] | undefined;
|
|
@@ -241,8 +241,8 @@ declare const _default: {
|
|
|
241
241
|
collapse: (name?: string | string[]) => void;
|
|
242
242
|
}) => any) | import("vue").VNodeChild;
|
|
243
243
|
}>[] | undefined;
|
|
244
|
-
parameters?: import("@storybook/vue3").Parameters | undefined;
|
|
245
|
-
args?: Partial<import("@storybook/vue3").ComponentPropsAndSlots<{
|
|
244
|
+
parameters?: import("@storybook/vue3-vite").Parameters | undefined;
|
|
245
|
+
args?: Partial<import("@storybook/vue3-vite").ComponentPropsAndSlots<{
|
|
246
246
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
|
|
247
247
|
modelValue: {
|
|
248
248
|
type: PropType<string | string[] | undefined>;
|
|
@@ -396,7 +396,7 @@ declare const _default: {
|
|
|
396
396
|
}) => any;
|
|
397
397
|
};
|
|
398
398
|
})>> | undefined;
|
|
399
|
-
argTypes?: Partial<import("@storybook/vue3").ArgTypes<import("@storybook/vue3").ComponentPropsAndSlots<{
|
|
399
|
+
argTypes?: Partial<import("@storybook/vue3-vite").ArgTypes<import("@storybook/vue3-vite").ComponentPropsAndSlots<{
|
|
400
400
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
|
|
401
401
|
modelValue: {
|
|
402
402
|
type: PropType<string | string[] | undefined>;
|
|
@@ -550,7 +550,7 @@ declare const _default: {
|
|
|
550
550
|
}) => any;
|
|
551
551
|
};
|
|
552
552
|
})>>> | undefined;
|
|
553
|
-
loaders?: import("storybook/internal/csf").LoaderFunction<import("@storybook/vue3").VueRenderer, import("@storybook/vue3").ComponentPropsAndSlots<{
|
|
553
|
+
loaders?: import("storybook/internal/csf").LoaderFunction<import("@storybook/vue3-vite").VueRenderer, import("@storybook/vue3-vite").ComponentPropsAndSlots<{
|
|
554
554
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
|
|
555
555
|
modelValue: {
|
|
556
556
|
type: PropType<string | string[] | undefined>;
|
|
@@ -703,7 +703,7 @@ declare const _default: {
|
|
|
703
703
|
collapse: (name?: string | string[]) => void;
|
|
704
704
|
}) => any;
|
|
705
705
|
};
|
|
706
|
-
})>> | import("storybook/internal/csf").LoaderFunction<import("@storybook/vue3").VueRenderer, import("@storybook/vue3").ComponentPropsAndSlots<{
|
|
706
|
+
})>> | import("storybook/internal/csf").LoaderFunction<import("@storybook/vue3-vite").VueRenderer, import("@storybook/vue3-vite").ComponentPropsAndSlots<{
|
|
707
707
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
|
|
708
708
|
modelValue: {
|
|
709
709
|
type: PropType<string | string[] | undefined>;
|
|
@@ -857,7 +857,7 @@ declare const _default: {
|
|
|
857
857
|
}) => any;
|
|
858
858
|
};
|
|
859
859
|
})>>[] | undefined;
|
|
860
|
-
beforeEach?: import("storybook/internal/csf").BeforeEach<import("@storybook/vue3").VueRenderer, import("@storybook/vue3").ComponentPropsAndSlots<{
|
|
860
|
+
beforeEach?: import("storybook/internal/csf").BeforeEach<import("@storybook/vue3-vite").VueRenderer, import("@storybook/vue3-vite").ComponentPropsAndSlots<{
|
|
861
861
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
|
|
862
862
|
modelValue: {
|
|
863
863
|
type: PropType<string | string[] | undefined>;
|
|
@@ -1010,7 +1010,7 @@ declare const _default: {
|
|
|
1010
1010
|
collapse: (name?: string | string[]) => void;
|
|
1011
1011
|
}) => any;
|
|
1012
1012
|
};
|
|
1013
|
-
})>> | import("storybook/internal/csf").BeforeEach<import("@storybook/vue3").VueRenderer, import("@storybook/vue3").ComponentPropsAndSlots<{
|
|
1013
|
+
})>> | import("storybook/internal/csf").BeforeEach<import("@storybook/vue3-vite").VueRenderer, import("@storybook/vue3-vite").ComponentPropsAndSlots<{
|
|
1014
1014
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
|
|
1015
1015
|
modelValue: {
|
|
1016
1016
|
type: PropType<string | string[] | undefined>;
|
|
@@ -1164,7 +1164,7 @@ declare const _default: {
|
|
|
1164
1164
|
}) => any;
|
|
1165
1165
|
};
|
|
1166
1166
|
})>>[] | undefined;
|
|
1167
|
-
afterEach?: import("storybook/internal/csf").AfterEach<import("@storybook/vue3").VueRenderer, import("@storybook/vue3").ComponentPropsAndSlots<{
|
|
1167
|
+
afterEach?: import("storybook/internal/csf").AfterEach<import("@storybook/vue3-vite").VueRenderer, import("@storybook/vue3-vite").ComponentPropsAndSlots<{
|
|
1168
1168
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
|
|
1169
1169
|
modelValue: {
|
|
1170
1170
|
type: PropType<string | string[] | undefined>;
|
|
@@ -1317,7 +1317,7 @@ declare const _default: {
|
|
|
1317
1317
|
collapse: (name?: string | string[]) => void;
|
|
1318
1318
|
}) => any;
|
|
1319
1319
|
};
|
|
1320
|
-
})>> | import("storybook/internal/csf").AfterEach<import("@storybook/vue3").VueRenderer, import("@storybook/vue3").ComponentPropsAndSlots<{
|
|
1320
|
+
})>> | import("storybook/internal/csf").AfterEach<import("@storybook/vue3-vite").VueRenderer, import("@storybook/vue3-vite").ComponentPropsAndSlots<{
|
|
1321
1321
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
|
|
1322
1322
|
modelValue: {
|
|
1323
1323
|
type: PropType<string | string[] | undefined>;
|
|
@@ -1471,7 +1471,7 @@ declare const _default: {
|
|
|
1471
1471
|
}) => any;
|
|
1472
1472
|
};
|
|
1473
1473
|
})>>[] | undefined;
|
|
1474
|
-
render?: import("storybook/internal/csf").ArgsStoryFn<import("@storybook/vue3").VueRenderer, import("@storybook/vue3").ComponentPropsAndSlots<{
|
|
1474
|
+
render?: import("storybook/internal/csf").ArgsStoryFn<import("@storybook/vue3-vite").VueRenderer, import("@storybook/vue3-vite").ComponentPropsAndSlots<{
|
|
1475
1475
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
|
|
1476
1476
|
modelValue: {
|
|
1477
1477
|
type: PropType<string | string[] | undefined>;
|
|
@@ -1626,7 +1626,7 @@ declare const _default: {
|
|
|
1626
1626
|
};
|
|
1627
1627
|
})>> | undefined;
|
|
1628
1628
|
tags?: import("storybook/internal/csf").Tag[];
|
|
1629
|
-
mount?: ((context: import("storybook/internal/csf").StoryContext<import("@storybook/vue3").VueRenderer, import("@storybook/vue3").ComponentPropsAndSlots<{
|
|
1629
|
+
mount?: ((context: import("storybook/internal/csf").StoryContext<import("@storybook/vue3-vite").VueRenderer, import("@storybook/vue3-vite").ComponentPropsAndSlots<{
|
|
1630
1630
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
|
|
1631
1631
|
modelValue: {
|
|
1632
1632
|
type: PropType<string | string[] | undefined>;
|
|
@@ -9,4 +9,4 @@ export declare const defaultArgs: {
|
|
|
9
9
|
valid: boolean;
|
|
10
10
|
tabindex: number;
|
|
11
11
|
};
|
|
12
|
-
export declare const argTypes: import("@storybook/vue3").ArgTypes<import("@storybook/vue3").Args>;
|
|
12
|
+
export declare const argTypes: import("@storybook/vue3-vite").ArgTypes<import("@storybook/vue3-vite").Args>;
|
|
@@ -9,4 +9,4 @@ export declare const defaultArgs: {
|
|
|
9
9
|
valid: boolean;
|
|
10
10
|
indeterminate: boolean;
|
|
11
11
|
};
|
|
12
|
-
export declare const argTypes: import("@storybook/vue3").ArgTypes<import("@storybook/vue3").Args>;
|
|
12
|
+
export declare const argTypes: import("@storybook/vue3-vite").ArgTypes<import("@storybook/vue3-vite").Args>;
|
|
@@ -9,4 +9,4 @@ export declare const defaultArgs: {
|
|
|
9
9
|
valid: boolean;
|
|
10
10
|
tabindex: number;
|
|
11
11
|
};
|
|
12
|
-
export declare const argTypes: import("@storybook/vue3").ArgTypes<import("@storybook/vue3").Args>;
|
|
12
|
+
export declare const argTypes: import("@storybook/vue3-vite").ArgTypes<import("@storybook/vue3-vite").Args>;
|
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
import type { autoPlacement, flip, offset, shift, size } from '@floating-ui/vue';
|
|
2
|
-
export type
|
|
3
|
-
export type
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
export type { MiddlewareState } from '@floating-ui/core';
|
|
3
|
+
export type { Middleware } from '@floating-ui/vue';
|
|
4
|
+
/**
|
|
5
|
+
* Drop the `Derivable` (callback) variant from a floating-ui option type.
|
|
6
|
+
* The components only ever pass plain option objects, and keeping the
|
|
7
|
+
* callback variant leaks non-portable floating-ui internals
|
|
8
|
+
* (`Derivable`, `MiddlewareState`) into the emitted declaration files.
|
|
9
|
+
*/
|
|
10
|
+
type NonDerivable<T> = Exclude<T, (...args: never[]) => unknown>;
|
|
11
|
+
export type AutoPlacementOptions = NonDerivable<Parameters<typeof autoPlacement>[0]>;
|
|
12
|
+
export type FlipOptions = NonDerivable<Parameters<typeof flip>[0]>;
|
|
13
|
+
export type ShiftOptions = NonDerivable<Parameters<typeof shift>[0]>;
|
|
14
|
+
export type OffsetOptions = NonDerivable<Parameters<typeof offset>[0]>;
|
|
15
|
+
export type SizeOptions = NonDerivable<Parameters<typeof size>[0]>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@volverjs/ui-vue",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.14",
|
|
5
5
|
"description": "@volverjs/ui-vue is a lightweight Vue 3 component library to accompany @volverjs/style.",
|
|
6
6
|
"author": "8 wave S.r.l.",
|
|
7
7
|
"license": "MIT",
|
|
@@ -248,9 +248,10 @@
|
|
|
248
248
|
"default": "./dist/components/VvAccordion/VvAccordion.umd.js"
|
|
249
249
|
}
|
|
250
250
|
},
|
|
251
|
-
"main": "./dist/
|
|
252
|
-
"module": "./dist/
|
|
251
|
+
"main": "./dist/index.umd.js",
|
|
252
|
+
"module": "./dist/index.es.js",
|
|
253
253
|
"types": "./dist/index.d.ts",
|
|
254
|
+
"sideEffects": false,
|
|
254
255
|
"typesVersions": {
|
|
255
256
|
"*": {
|
|
256
257
|
"*": [
|
|
@@ -392,11 +393,12 @@
|
|
|
392
393
|
},
|
|
393
394
|
"files": [
|
|
394
395
|
"bin",
|
|
395
|
-
"dist"
|
|
396
|
+
"dist",
|
|
397
|
+
"src"
|
|
396
398
|
],
|
|
397
399
|
"peerDependencies": {
|
|
398
|
-
"@json-render/core": ">=0.
|
|
399
|
-
"@json-render/vue": ">=0.
|
|
400
|
+
"@json-render/core": ">=0.19.0",
|
|
401
|
+
"@json-render/vue": ">=0.19.0",
|
|
400
402
|
"@volverjs/style": ">=0",
|
|
401
403
|
"@vueuse/core": ">=14",
|
|
402
404
|
"vue": ">=3",
|
|
@@ -414,84 +416,88 @@
|
|
|
414
416
|
}
|
|
415
417
|
},
|
|
416
418
|
"dependencies": {
|
|
417
|
-
"@floating-ui/
|
|
418
|
-
"@
|
|
419
|
-
"@
|
|
419
|
+
"@floating-ui/core": "^1.7.5",
|
|
420
|
+
"@floating-ui/dom": "^1.7.6",
|
|
421
|
+
"@floating-ui/vue": "^2.0.0",
|
|
422
|
+
"@iconify/vue": "^5.0.1",
|
|
423
|
+
"@tanstack/vue-virtual": "^3.13.28",
|
|
420
424
|
"blurhash": "^2.0.5",
|
|
421
425
|
"comlink": "^4.4.2",
|
|
422
426
|
"dot-prop": "^10.1.0",
|
|
427
|
+
"imask": "^7.6.1",
|
|
423
428
|
"mitt": "^3.0.1",
|
|
424
|
-
"pica": "^
|
|
429
|
+
"pica": "^10.0.1",
|
|
425
430
|
"vue-imask": "^7.6.1",
|
|
426
431
|
"vuedraggable": "^4.1.0"
|
|
427
432
|
},
|
|
428
433
|
"optionalDependencies": {
|
|
429
|
-
"@iconify/tools": "^5.0.
|
|
430
|
-
"@iconify/utils": "^3.1.
|
|
434
|
+
"@iconify/tools": "^5.0.12",
|
|
435
|
+
"@iconify/utils": "^3.1.3",
|
|
431
436
|
"chokidar": "^5.0.0",
|
|
432
437
|
"yargs": "^18.0.0"
|
|
433
438
|
},
|
|
434
439
|
"devDependencies": {
|
|
435
|
-
"@antfu/eslint-config": "
|
|
436
|
-
"@babel/core": "^7.29.
|
|
437
|
-
"@babel/preset-env": "^7.29.
|
|
438
|
-
"@babel/preset-typescript": "^7.
|
|
440
|
+
"@antfu/eslint-config": "9.0.0",
|
|
441
|
+
"@babel/core": "^7.29.7",
|
|
442
|
+
"@babel/preset-env": "^7.29.7",
|
|
443
|
+
"@babel/preset-typescript": "^7.29.7",
|
|
439
444
|
"@iconify/types": "^2.0.0",
|
|
440
|
-
"@json-render/core": "^0.
|
|
441
|
-
"@json-render/vue": "^0.
|
|
445
|
+
"@json-render/core": "^0.19.0",
|
|
446
|
+
"@json-render/vue": "^0.19.0",
|
|
442
447
|
"@nabla/vite-plugin-eslint": "^3.0.1",
|
|
443
|
-
"@storybook/addon-a11y": "^10.
|
|
444
|
-
"@storybook/addon-docs": "^10.
|
|
445
|
-
"@storybook/addon-links": "^10.
|
|
446
|
-
"@storybook/addon-themes": "^10.
|
|
447
|
-
"@storybook/addon-vitest": "^10.
|
|
448
|
-
"@storybook/cli": "^10.
|
|
449
|
-
"@storybook/vue3-vite": "^10.
|
|
448
|
+
"@storybook/addon-a11y": "^10.4.5",
|
|
449
|
+
"@storybook/addon-docs": "^10.4.5",
|
|
450
|
+
"@storybook/addon-links": "^10.4.5",
|
|
451
|
+
"@storybook/addon-themes": "^10.4.5",
|
|
452
|
+
"@storybook/addon-vitest": "^10.4.5",
|
|
453
|
+
"@storybook/cli": "^10.4.5",
|
|
454
|
+
"@storybook/vue3-vite": "^10.4.5",
|
|
450
455
|
"@tsconfig/node18": "^18.2.6",
|
|
451
456
|
"@types/jest-axe": "^3.5.9",
|
|
452
|
-
"@types/node": "^25.
|
|
457
|
+
"@types/node": "^25.9.3",
|
|
453
458
|
"@types/pica": "^9.0.5",
|
|
454
459
|
"@types/yargs": "^17.0.35",
|
|
455
|
-
"@vitejs/plugin-vue": "^6.0.
|
|
456
|
-
"@vitest/browser": "^4.1.
|
|
457
|
-
"@vitest/browser-playwright": "^4.1.
|
|
458
|
-
"@volverjs/style": "0.1.24
|
|
459
|
-
"@vue/compiler-sfc": "^3.5.
|
|
460
|
-
"@vue/eslint-config-typescript": "^14.
|
|
461
|
-
"@vue/test-utils": "^2.4.
|
|
460
|
+
"@vitejs/plugin-vue": "^6.0.7",
|
|
461
|
+
"@vitest/browser": "^4.1.9",
|
|
462
|
+
"@vitest/browser-playwright": "^4.1.9",
|
|
463
|
+
"@volverjs/style": "0.1.24",
|
|
464
|
+
"@vue/compiler-sfc": "^3.5.38",
|
|
465
|
+
"@vue/eslint-config-typescript": "^14.8.0",
|
|
466
|
+
"@vue/test-utils": "^2.4.11",
|
|
462
467
|
"@vue/tsconfig": "^0.9.1",
|
|
463
|
-
"@vueless/storybook-dark-mode": "^10.0.
|
|
464
|
-
"@vueuse/core": "^14.
|
|
465
|
-
"baseline-browser-mapping": "^2.10.
|
|
468
|
+
"@vueless/storybook-dark-mode": "^10.0.8",
|
|
469
|
+
"@vueuse/core": "^14.3.0",
|
|
470
|
+
"baseline-browser-mapping": "^2.10.37",
|
|
466
471
|
"change-case": "^5.4.4",
|
|
467
|
-
"eslint": "^10.
|
|
472
|
+
"eslint": "^10.5.0",
|
|
468
473
|
"glob": "^13.0.6",
|
|
469
474
|
"jest-axe": "^10.0.0",
|
|
470
475
|
"npm-run-all": "^4.1.5",
|
|
471
|
-
"playwright": "^1.
|
|
472
|
-
"prettier": "^3.8.
|
|
473
|
-
"react": "^19.2.
|
|
474
|
-
"react-dom": "^19.2.
|
|
476
|
+
"playwright": "^1.61.0",
|
|
477
|
+
"prettier": "^3.8.4",
|
|
478
|
+
"react": "^19.2.7",
|
|
479
|
+
"react-dom": "^19.2.7",
|
|
475
480
|
"remark": "^15.0.1",
|
|
476
|
-
"sass-embedded": "1.
|
|
477
|
-
"storybook": "^10.
|
|
481
|
+
"sass-embedded": "1.100.0",
|
|
482
|
+
"storybook": "^10.4.5",
|
|
478
483
|
"storybook-addon-markdown-docs": "^2.0.0",
|
|
479
|
-
"terser": "^5.
|
|
484
|
+
"terser": "^5.48.0",
|
|
480
485
|
"ts-node": "^10.9.2",
|
|
481
|
-
"typescript": "~6.0.
|
|
486
|
+
"typescript": "~6.0.3",
|
|
482
487
|
"unplugin-auto-import": "^21.0.0",
|
|
483
|
-
"unplugin-vue-components": "^32.
|
|
484
|
-
"vite": "^8.0.
|
|
488
|
+
"unplugin-vue-components": "^32.1.0",
|
|
489
|
+
"vite": "^8.0.16",
|
|
485
490
|
"vite-plugin-externalize-deps": "^0.10.0",
|
|
486
|
-
"vitest": "^4.1.
|
|
487
|
-
"vue": "^3.5.
|
|
488
|
-
"vue-tsc": "^3.
|
|
489
|
-
"zod": "^4.3
|
|
491
|
+
"vitest": "^4.1.9",
|
|
492
|
+
"vue": "^3.5.38",
|
|
493
|
+
"vue-tsc": "^3.3.5",
|
|
494
|
+
"zod": "^4.4.3"
|
|
490
495
|
},
|
|
491
496
|
"scripts": {
|
|
492
497
|
"dev": "storybook dev -p 6006",
|
|
493
498
|
"styleguide": "storybook build",
|
|
494
|
-
"build": "npm run generate-icons && npm run generate-tsd && node ./scripts/build.js",
|
|
499
|
+
"build": "npm run clean && npm run generate-icons && npm run generate-tsd && node ./scripts/build.js",
|
|
500
|
+
"clean": "node ./scripts/clean.js",
|
|
495
501
|
"hot": "node ./scripts/build.js --hot",
|
|
496
502
|
"type-check": "vue-tsc --noEmit",
|
|
497
503
|
"lint": "eslint .",
|
package/src/Volver.ts
ADDED
|
@@ -0,0 +1,326 @@
|
|
|
1
|
+
import type { IconifyIcon, IconifyJSON, PartialIconifyAPIConfig } from '@iconify/vue'
|
|
2
|
+
import type { App, Component, Directive, Plugin, Ref } from 'vue'
|
|
3
|
+
import {
|
|
4
|
+
addAPIProvider,
|
|
5
|
+
addCollection,
|
|
6
|
+
addIcon,
|
|
7
|
+
|
|
8
|
+
} from '@iconify/vue'
|
|
9
|
+
import { kebabCase } from 'change-case'
|
|
10
|
+
import { DEFAULT_ICONIFY_PROVIDER, INJECTION_KEY_VOLVER } from './constants'
|
|
11
|
+
|
|
12
|
+
export function useDefaultProps(
|
|
13
|
+
component: Component,
|
|
14
|
+
defaults?: Record<string, unknown>,
|
|
15
|
+
name?: string,
|
|
16
|
+
) {
|
|
17
|
+
const componentName = name || component.name
|
|
18
|
+
|
|
19
|
+
if (!componentName) {
|
|
20
|
+
return component
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
const componentDefaults = defaults?.[componentName] as Record<
|
|
24
|
+
string,
|
|
25
|
+
unknown
|
|
26
|
+
>
|
|
27
|
+
const props = (component as Record<string, unknown>).props as Record<
|
|
28
|
+
string,
|
|
29
|
+
unknown
|
|
30
|
+
>
|
|
31
|
+
|
|
32
|
+
if (!componentDefaults || !props) {
|
|
33
|
+
return { ...component, name: componentName }
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
return {
|
|
37
|
+
...component,
|
|
38
|
+
name: componentName,
|
|
39
|
+
props: Object.keys(props).reduce(
|
|
40
|
+
(acc, key) => {
|
|
41
|
+
if (!(key in componentDefaults)) {
|
|
42
|
+
acc[key] = props[key]
|
|
43
|
+
return acc
|
|
44
|
+
}
|
|
45
|
+
const customDefault = componentDefaults[key]
|
|
46
|
+
if (
|
|
47
|
+
typeof props[key] === 'function'
|
|
48
|
+
|| Array.isArray(props[key])
|
|
49
|
+
) {
|
|
50
|
+
acc[key] = {
|
|
51
|
+
type: props[key],
|
|
52
|
+
default: customDefault,
|
|
53
|
+
}
|
|
54
|
+
return acc
|
|
55
|
+
}
|
|
56
|
+
acc[key] = {
|
|
57
|
+
...(props[key] as Record<string, unknown>),
|
|
58
|
+
default: customDefault,
|
|
59
|
+
}
|
|
60
|
+
return acc
|
|
61
|
+
},
|
|
62
|
+
{} as Record<string, unknown>,
|
|
63
|
+
),
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export type DefaultOptions = Record<string, Record<string, unknown>>
|
|
68
|
+
|
|
69
|
+
export type VolverExperimentalFeatures = {
|
|
70
|
+
/**
|
|
71
|
+
* Force suggestions in `VvInputText` and `VvTextarea` component
|
|
72
|
+
*/
|
|
73
|
+
forceInputSuggestions?: boolean
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export type VolverOptions = {
|
|
77
|
+
/**
|
|
78
|
+
* If true set "fetchOptions" with credentials: 'include'
|
|
79
|
+
*/
|
|
80
|
+
fetchWithCredentials?: boolean
|
|
81
|
+
/**
|
|
82
|
+
* Optional fetch params
|
|
83
|
+
*/
|
|
84
|
+
fetchOptions?: RequestInit
|
|
85
|
+
/**
|
|
86
|
+
* Array of iconify collections that will be added during plugin install
|
|
87
|
+
* @see https://docs.iconify.design/types/iconify-json.html
|
|
88
|
+
*/
|
|
89
|
+
iconsCollections?: IconifyJSON[]
|
|
90
|
+
/**
|
|
91
|
+
* Set true inside nuxt
|
|
92
|
+
*/
|
|
93
|
+
nuxt?: boolean
|
|
94
|
+
/**
|
|
95
|
+
* Default iconify provider
|
|
96
|
+
* @see https://docs.iconify.design/icon-components/vue/add-collection.html
|
|
97
|
+
* @default 'vv'
|
|
98
|
+
*/
|
|
99
|
+
iconsProvider?: string
|
|
100
|
+
/**
|
|
101
|
+
* Components to install
|
|
102
|
+
*/
|
|
103
|
+
components?: Record<string, Component>
|
|
104
|
+
/**
|
|
105
|
+
* Alias to install
|
|
106
|
+
*/
|
|
107
|
+
aliases?: Record<string, Component>
|
|
108
|
+
/**
|
|
109
|
+
* Directives to install
|
|
110
|
+
*/
|
|
111
|
+
directives?: Record<string, Directive>
|
|
112
|
+
/**
|
|
113
|
+
* Default props for components
|
|
114
|
+
*/
|
|
115
|
+
defaults?: DefaultOptions
|
|
116
|
+
/**
|
|
117
|
+
* Experimental features
|
|
118
|
+
*/
|
|
119
|
+
experimentalFeatures?: VolverExperimentalFeatures
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
export interface VolverInterface {
|
|
123
|
+
/**
|
|
124
|
+
* @param {string} src Icon source path (url)
|
|
125
|
+
* @param {RequestInit} options
|
|
126
|
+
* @returns {Promise<string | undefined>} String SVG if exist
|
|
127
|
+
*/
|
|
128
|
+
fetchIcon: (src: string, options?: RequestInit) => Promise<string | undefined>
|
|
129
|
+
/**
|
|
130
|
+
* Add iconify collection to library
|
|
131
|
+
* @see https://docs.iconify.design/icon-components/vue/add-collection.html
|
|
132
|
+
* @param {IconifyJSON} collection
|
|
133
|
+
* @param {string} providerName Optional provider name
|
|
134
|
+
*/
|
|
135
|
+
addCollection: (collection: IconifyJSON, providerName?: string) => boolean
|
|
136
|
+
/**
|
|
137
|
+
* Add icon to collection
|
|
138
|
+
* @see https://docs.iconify.design/icon-components/vue/add-icon.html
|
|
139
|
+
* @param {string} name
|
|
140
|
+
* @param {IconifyIcon} data
|
|
141
|
+
* @returns {boolean} true on success, false if something is wrong with data
|
|
142
|
+
*/
|
|
143
|
+
addIcon: (name: string, data: IconifyIcon) => boolean
|
|
144
|
+
/**
|
|
145
|
+
* Add custom config for icons provider
|
|
146
|
+
* @param {string} provider
|
|
147
|
+
* @param {PartialIconifyAPIConfig} customConfig
|
|
148
|
+
* @returns {boolean} true on success, false if something is wrong with data
|
|
149
|
+
*/
|
|
150
|
+
addIconsAPIProvider: (
|
|
151
|
+
provider: string,
|
|
152
|
+
customConfig: PartialIconifyAPIConfig,
|
|
153
|
+
) => boolean
|
|
154
|
+
/**
|
|
155
|
+
* Current provider
|
|
156
|
+
*/
|
|
157
|
+
iconsProvider: string
|
|
158
|
+
/**
|
|
159
|
+
* Array of installed iconify collections
|
|
160
|
+
* @see https://docs.iconify.design/types/iconify-json.html
|
|
161
|
+
*/
|
|
162
|
+
iconsCollections: IconifyJSON[]
|
|
163
|
+
/**
|
|
164
|
+
* Set true inside nuxt
|
|
165
|
+
*/
|
|
166
|
+
nuxt: boolean
|
|
167
|
+
/**
|
|
168
|
+
* Components defaults options
|
|
169
|
+
*/
|
|
170
|
+
defaults: Ref<DefaultOptions>
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
export class Volver implements VolverInterface {
|
|
174
|
+
private _fetchOptions: RequestInit = {}
|
|
175
|
+
private _iconsCollections: IconifyJSON[] = []
|
|
176
|
+
private _iconsProvider = DEFAULT_ICONIFY_PROVIDER
|
|
177
|
+
private _nuxt = false
|
|
178
|
+
private _experimentalFeatures: VolverExperimentalFeatures = {}
|
|
179
|
+
|
|
180
|
+
defaults: Ref<DefaultOptions> = ref({})
|
|
181
|
+
|
|
182
|
+
constructor({
|
|
183
|
+
fetchWithCredentials,
|
|
184
|
+
fetchOptions,
|
|
185
|
+
iconsProvider,
|
|
186
|
+
nuxt,
|
|
187
|
+
iconsCollections,
|
|
188
|
+
defaults,
|
|
189
|
+
experimentalFeatures,
|
|
190
|
+
}: VolverOptions = {}) {
|
|
191
|
+
// fetch options
|
|
192
|
+
if (fetchOptions) {
|
|
193
|
+
this._fetchOptions = fetchOptions
|
|
194
|
+
}
|
|
195
|
+
// fetch with credentials sugar syntax
|
|
196
|
+
if (fetchWithCredentials) {
|
|
197
|
+
this._fetchOptions = {
|
|
198
|
+
...this._fetchOptions,
|
|
199
|
+
credentials: 'include',
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
// default iconify provider
|
|
203
|
+
if (iconsProvider) {
|
|
204
|
+
this._iconsProvider = iconsProvider
|
|
205
|
+
}
|
|
206
|
+
// enable nuxt mode
|
|
207
|
+
if (nuxt) {
|
|
208
|
+
this._nuxt = nuxt
|
|
209
|
+
}
|
|
210
|
+
// add iconify collections
|
|
211
|
+
if (iconsCollections && Array.isArray(iconsCollections)) {
|
|
212
|
+
iconsCollections.forEach((iconsCollection) => {
|
|
213
|
+
this.addCollection(iconsCollection, this._iconsProvider)
|
|
214
|
+
})
|
|
215
|
+
}
|
|
216
|
+
// set defaults
|
|
217
|
+
if (defaults) {
|
|
218
|
+
this.defaults.value = defaults
|
|
219
|
+
}
|
|
220
|
+
// experimental features
|
|
221
|
+
if (experimentalFeatures) {
|
|
222
|
+
this._experimentalFeatures = experimentalFeatures
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
get nuxt() {
|
|
227
|
+
return this._nuxt
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
get iconsProvider() {
|
|
231
|
+
return this._iconsProvider
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
get iconsCollections() {
|
|
235
|
+
return this._iconsCollections
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
get experimentalFeatures() {
|
|
239
|
+
return this._experimentalFeatures
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
addCollection(
|
|
243
|
+
collection: IconifyJSON,
|
|
244
|
+
providerName: string = this._iconsProvider,
|
|
245
|
+
): boolean {
|
|
246
|
+
this._iconsCollections.push(collection)
|
|
247
|
+
return addCollection(collection, providerName)
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
addIcon(name: string, data: IconifyIcon): boolean {
|
|
251
|
+
return addIcon(name, data)
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
addIconsAPIProvider(
|
|
255
|
+
provider: string,
|
|
256
|
+
customConfig: PartialIconifyAPIConfig,
|
|
257
|
+
): boolean {
|
|
258
|
+
return addAPIProvider(provider, customConfig)
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
async fetchIcon(
|
|
262
|
+
src: string,
|
|
263
|
+
options: RequestInit = { cache: 'force-cache' },
|
|
264
|
+
): Promise<string | undefined> {
|
|
265
|
+
const response = await fetch(src, {
|
|
266
|
+
...this._fetchOptions,
|
|
267
|
+
...options,
|
|
268
|
+
})
|
|
269
|
+
if (!response.ok) {
|
|
270
|
+
throw new Error(
|
|
271
|
+
`Cannot fetch icon "${src}": ${response.status} ${response.statusText}`,
|
|
272
|
+
)
|
|
273
|
+
}
|
|
274
|
+
return response.text()
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
const VolverPlugin: Plugin = {
|
|
279
|
+
/**
|
|
280
|
+
* Vue.use() hook
|
|
281
|
+
* @param {App} app
|
|
282
|
+
* @param {object} options
|
|
283
|
+
*/
|
|
284
|
+
install(app: App, options: VolverOptions = {}) {
|
|
285
|
+
const volver = new Volver(options)
|
|
286
|
+
|
|
287
|
+
// register global methods
|
|
288
|
+
app.config.globalProperties.$vv = volver
|
|
289
|
+
|
|
290
|
+
// register components
|
|
291
|
+
if (options.components) {
|
|
292
|
+
Object.entries(options.components).forEach(([name, component]) => {
|
|
293
|
+
app.component(
|
|
294
|
+
name,
|
|
295
|
+
useDefaultProps(component, options.defaults),
|
|
296
|
+
)
|
|
297
|
+
})
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
// register aliases
|
|
301
|
+
if (options.aliases) {
|
|
302
|
+
Object.entries(options.aliases).forEach(([name, component]) => {
|
|
303
|
+
app.component(
|
|
304
|
+
name,
|
|
305
|
+
useDefaultProps(component, options.defaults, name),
|
|
306
|
+
)
|
|
307
|
+
})
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
// register directives
|
|
311
|
+
if (options.directives) {
|
|
312
|
+
Object.entries(options.directives).forEach(([name, directive]) => {
|
|
313
|
+
const kebabName = kebabCase(name)
|
|
314
|
+
if (kebabName.startsWith('v-')) {
|
|
315
|
+
name = kebabName.substring(2).toLocaleLowerCase()
|
|
316
|
+
}
|
|
317
|
+
app.directive(name, directive)
|
|
318
|
+
})
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
// provide volver to components
|
|
322
|
+
app.provide(INJECTION_KEY_VOLVER, volver)
|
|
323
|
+
},
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
export default VolverPlugin
|