@volverjs/ui-vue 0.0.13-beta.8 → 0.0.13
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/README.md +79 -0
- package/bin/icons.cjs +2 -2
- package/bin/icons.js +44 -43
- package/dist/components/VvAccordion/VvAccordion.es.js +158 -158
- package/dist/components/VvAccordion/VvAccordion.umd.js +1 -1
- package/dist/components/VvAccordionGroup/VvAccordionGroup.es.js +243 -243
- package/dist/components/VvAccordionGroup/VvAccordionGroup.umd.js +1 -1
- package/dist/components/VvAction/VvAction.es.js +82 -87
- package/dist/components/VvAction/VvAction.umd.js +1 -1
- package/dist/components/VvAlert/VvAlert.es.js +136 -137
- package/dist/components/VvAlert/VvAlert.umd.js +1 -1
- package/dist/components/VvAlertGroup/VvAlertGroup.es.js +133 -134
- package/dist/components/VvAlertGroup/VvAlertGroup.umd.js +1 -1
- package/dist/components/VvAvatar/VvAvatar.es.js +68 -71
- package/dist/components/VvAvatar/VvAvatar.umd.js +1 -1
- package/dist/components/VvAvatarGroup/VvAvatarGroup.es.js +85 -88
- package/dist/components/VvAvatarGroup/VvAvatarGroup.umd.js +1 -1
- package/dist/components/VvBadge/VvBadge.es.js +67 -70
- package/dist/components/VvBadge/VvBadge.umd.js +1 -1
- package/dist/components/VvBreadcrumb/VvBreadcrumb.es.js +113 -118
- package/dist/components/VvBreadcrumb/VvBreadcrumb.umd.js +1 -1
- package/dist/components/VvButton/VvButton.es.js +125 -130
- package/dist/components/VvButton/VvButton.umd.js +1 -1
- package/dist/components/VvButtonGroup/VvButtonGroup.es.js +79 -83
- package/dist/components/VvButtonGroup/VvButtonGroup.umd.js +1 -1
- package/dist/components/VvCard/VvCard.es.js +78 -81
- package/dist/components/VvCard/VvCard.umd.js +1 -1
- package/dist/components/VvCheckbox/VvCheckbox.es.js +200 -204
- package/dist/components/VvCheckbox/VvCheckbox.umd.js +1 -1
- package/dist/components/VvCheckboxGroup/VvCheckboxGroup.es.js +183 -187
- package/dist/components/VvCheckboxGroup/VvCheckboxGroup.umd.js +1 -1
- package/dist/components/VvCombobox/VvCombobox.es.js +834 -825
- package/dist/components/VvCombobox/VvCombobox.umd.js +1 -1
- package/dist/components/VvDialog/VvDialog.es.js +99 -102
- package/dist/components/VvDialog/VvDialog.umd.js +1 -1
- package/dist/components/VvDropdown/VvDropdown.es.js +224 -225
- package/dist/components/VvDropdown/VvDropdown.umd.js +1 -1
- package/dist/components/VvDropdownAction/VvDropdownAction.es.js +126 -130
- package/dist/components/VvDropdownAction/VvDropdownAction.umd.js +1 -1
- package/dist/components/VvDropdownItem/VvDropdownItem.es.js +77 -81
- package/dist/components/VvDropdownItem/VvDropdownItem.umd.js +1 -1
- package/dist/components/VvDropdownOptgroup/VvDropdownOptgroup.es.js +55 -58
- package/dist/components/VvDropdownOptgroup/VvDropdownOptgroup.umd.js +1 -1
- package/dist/components/VvDropdownOption/VvDropdownOption.es.js +99 -103
- package/dist/components/VvDropdownOption/VvDropdownOption.umd.js +1 -1
- package/dist/components/VvIcon/VvIcon.es.js +33 -35
- package/dist/components/VvIcon/VvIcon.umd.js +1 -1
- package/dist/components/VvInputFile/VvInputFile.es.js +320 -325
- package/dist/components/VvInputFile/VvInputFile.umd.js +1 -1
- package/dist/components/VvInputText/VvInputText.es.js +485 -486
- package/dist/components/VvInputText/VvInputText.umd.js +1 -1
- package/dist/components/VvNav/VvNav.es.js +131 -136
- package/dist/components/VvNav/VvNav.umd.js +1 -1
- package/dist/components/VvNavItem/VvNavItem.es.js +113 -118
- package/dist/components/VvNavItem/VvNavItem.umd.js +1 -1
- package/dist/components/VvProgress/VvProgress.es.js +74 -77
- package/dist/components/VvProgress/VvProgress.umd.js +1 -1
- package/dist/components/VvRadio/VvRadio.es.js +167 -171
- package/dist/components/VvRadio/VvRadio.umd.js +1 -1
- package/dist/components/VvRadioGroup/VvRadioGroup.es.js +188 -192
- package/dist/components/VvRadioGroup/VvRadioGroup.umd.js +1 -1
- package/dist/components/VvSelect/VvSelect.es.js +203 -206
- package/dist/components/VvSelect/VvSelect.umd.js +1 -1
- package/dist/components/VvTab/VvTab.es.js +160 -165
- package/dist/components/VvTab/VvTab.umd.js +1 -1
- package/dist/components/VvTextarea/VvTextarea.es.js +386 -387
- package/dist/components/VvTextarea/VvTextarea.umd.js +1 -1
- package/dist/components/VvTooltip/VvTooltip.es.js +69 -72
- package/dist/components/VvTooltip/VvTooltip.umd.js +1 -1
- package/dist/components/index.es.js +1852 -1835
- package/dist/components/index.umd.js +1 -1
- package/dist/composables/index.es.js +121 -116
- package/dist/composables/index.umd.js +2 -2
- package/dist/directives/index.es.js +172 -597
- package/dist/directives/index.umd.js +1 -420
- package/dist/directives/v-contextmenu.es.js +45 -468
- package/dist/directives/v-contextmenu.umd.js +1 -420
- package/dist/directives/v-tooltip.es.js +62 -65
- package/dist/directives/v-tooltip.umd.js +1 -1
- package/dist/icons.es.js +18 -21
- package/dist/icons.umd.js +1 -1
- package/dist/index.es.js +90 -90
- package/dist/index.umd.js +1 -1
- package/dist/json-render/index.es.js +5346 -0
- package/dist/json-render/index.umd.js +1 -0
- package/package.json +79 -49
- 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
- package/dist/Volver.d.ts +0 -121
- package/dist/components/VvAccordion/VvAccordion.vue.d.ts +0 -68
- package/dist/components/VvAccordion/index.d.ts +0 -47
- package/dist/components/VvAccordionGroup/VvAccordionGroup.vue.d.ts +0 -98
- package/dist/components/VvAccordionGroup/index.d.ts +0 -54
- package/dist/components/VvAction/VvAction.vue.d.ts +0 -110
- package/dist/components/VvAction/index.d.ts +0 -45
- package/dist/components/VvAlert/VvAlert.vue.d.ts +0 -124
- package/dist/components/VvAlert/index.d.ts +0 -104
- package/dist/components/VvAlertGroup/VvAlertGroup.vue.d.ts +0 -97
- package/dist/components/VvAlertGroup/index.d.ts +0 -47
- package/dist/components/VvAvatar/VvAvatar.vue.d.ts +0 -24
- package/dist/components/VvAvatar/index.d.ts +0 -10
- package/dist/components/VvAvatarGroup/VvAvatarGroup.vue.d.ts +0 -50
- package/dist/components/VvAvatarGroup/index.d.ts +0 -28
- package/dist/components/VvBadge/VvBadge.vue.d.ts +0 -24
- package/dist/components/VvBadge/index.d.ts +0 -7
- package/dist/components/VvBreadcrumb/VvBreadcrumb.vue.d.ts +0 -39
- package/dist/components/VvBreadcrumb/index.d.ts +0 -8
- package/dist/components/VvButton/VvButton.vue.d.ts +0 -221
- package/dist/components/VvButton/index.d.ts +0 -131
- package/dist/components/VvButtonGroup/VvButtonGroup.vue.d.ts +0 -84
- package/dist/components/VvButtonGroup/index.d.ts +0 -37
- package/dist/components/VvCard/VvCard.vue.d.ts +0 -30
- package/dist/components/VvCard/index.d.ts +0 -7
- package/dist/components/VvCheckbox/VvCheckbox.vue.d.ts +0 -187
- package/dist/components/VvCheckbox/index.d.ts +0 -94
- package/dist/components/VvCheckboxGroup/VvCheckboxGroup.vue.d.ts +0 -212
- package/dist/components/VvCheckboxGroup/index.d.ts +0 -79
- package/dist/components/VvCombobox/VvCombobox.vue.d.ts +0 -346
- package/dist/components/VvCombobox/index.d.ts +0 -694
- package/dist/components/VvDialog/VvDialog.vue.d.ts +0 -73
- package/dist/components/VvDialog/index.d.ts +0 -45
- package/dist/components/VvDropdown/VvDropdown.vue.d.ts +0 -346
- package/dist/components/VvDropdown/VvDropdownAction.vue.d.ts +0 -118
- package/dist/components/VvDropdown/VvDropdownItem.vue.d.ts +0 -22
- package/dist/components/VvDropdown/VvDropdownOptgroup.vue.d.ts +0 -22
- package/dist/components/VvDropdown/VvDropdownOption.vue.d.ts +0 -82
- package/dist/components/VvDropdown/index.d.ts +0 -120
- package/dist/components/VvIcon/VvIcon.vue.d.ts +0 -6
- package/dist/components/VvIcon/index.d.ts +0 -86
- package/dist/components/VvInputFile/VvInputFile.vue.d.ts +0 -361
- package/dist/components/VvInputFile/index.d.ts +0 -204
- package/dist/components/VvInputText/VvInputText.vue.d.ts +0 -524
- package/dist/components/VvInputText/VvInputTextActions.d.ts +0 -4
- package/dist/components/VvInputText/index.d.ts +0 -313
- package/dist/components/VvNav/VvNav.vue.d.ts +0 -48
- package/dist/components/VvNav/VvNavItem.vue.d.ts +0 -14
- package/dist/components/VvNav/VvNavSeparator.vue.d.ts +0 -3
- package/dist/components/VvNav/index.d.ts +0 -11
- package/dist/components/VvProgress/VvProgress.vue.d.ts +0 -38
- package/dist/components/VvProgress/index.d.ts +0 -33
- package/dist/components/VvRadio/VvRadio.vue.d.ts +0 -179
- package/dist/components/VvRadio/index.d.ts +0 -80
- package/dist/components/VvRadioGroup/VvRadioGroup.vue.d.ts +0 -212
- package/dist/components/VvRadioGroup/index.d.ts +0 -79
- package/dist/components/VvSelect/VvSelect.vue.d.ts +0 -183
- package/dist/components/VvSelect/index.d.ts +0 -298
- package/dist/components/VvTab/VvTab.vue.d.ts +0 -64
- package/dist/components/VvTab/index.d.ts +0 -19
- package/dist/components/VvTextarea/VvTextarea.vue.d.ts +0 -384
- package/dist/components/VvTextarea/index.d.ts +0 -190
- package/dist/components/VvTooltip/VvTooltip.vue.d.ts +0 -37
- package/dist/components/VvTooltip/index.d.ts +0 -19
- package/dist/components/VvVirtualScroll/VvVirtualScroll.vue.d.ts +0 -51
- package/dist/components/common/HintSlot.d.ts +0 -57
- package/dist/components/common/VvInputClearAction.d.ts +0 -52
- package/dist/components/common/VvInputPasswordAction.d.ts +0 -71
- package/dist/components/common/VvInputStepAction.d.ts +0 -50
- package/dist/components/index.d.ts +0 -34
- package/dist/composables/alert/useAlerInject.d.ts +0 -4
- package/dist/composables/alert/useAlert.d.ts +0 -92
- package/dist/composables/alert/useAlertProvide.d.ts +0 -10
- package/dist/composables/dropdown/useDropdownContextmenu.d.ts +0 -18
- package/dist/composables/dropdown/useDropdownInject.d.ts +0 -12
- package/dist/composables/dropdown/useDropdownProvide.d.ts +0 -40
- package/dist/composables/dropdown/useDropdownVirtualElement.d.ts +0 -17
- package/dist/composables/group/useGroupStateInject.d.ts +0 -9
- package/dist/composables/group/useGroupStateProvide.d.ts +0 -6
- package/dist/composables/index.d.ts +0 -5
- package/dist/composables/useBlurhash.d.ts +0 -7
- package/dist/composables/useComponentFocus.d.ts +0 -4
- package/dist/composables/useComponentIcon.d.ts +0 -11
- package/dist/composables/useDebouncedInput.d.ts +0 -5
- package/dist/composables/useDefaults.d.ts +0 -2
- package/dist/composables/useModifiers.d.ts +0 -2
- package/dist/composables/useOptions.d.ts +0 -8
- package/dist/composables/usePersistence.d.ts +0 -3
- package/dist/composables/useTextCount.d.ts +0 -10
- package/dist/composables/useUniqueId.d.ts +0 -2
- package/dist/composables/useVirtualScroll.d.ts +0 -35
- package/dist/composables/useVolver.d.ts +0 -4
- package/dist/constants.d.ts +0 -104
- package/dist/directives/index.d.ts +0 -3
- package/dist/directives/v-contextmenu.d.ts +0 -3
- package/dist/directives/v-tooltip.d.ts +0 -3
- package/dist/icons.d.ts +0 -1892
- package/dist/index.d.ts +0 -10
- package/dist/props/index.d.ts +0 -959
- package/dist/resolvers/unplugin.d.ts +0 -38
- package/dist/stories/Accordion/Accordion.settings.d.ts +0 -9
- package/dist/stories/Accordion/Accordion.stories.d.ts +0 -7
- package/dist/stories/Accordion/Accordion.test.d.ts +0 -2
- package/dist/stories/Accordion/AccordionSlots.stories.d.ts +0 -7
- package/dist/stories/AccordionGroup/AccordionGroup.settings.d.ts +0 -13
- package/dist/stories/AccordionGroup/AccordionGroup.stories.d.ts +0 -9
- package/dist/stories/AccordionGroup/AccordionGroup.test.d.ts +0 -2
- package/dist/stories/AccordionGroup/AccordionGroupSlots.stories.d.ts +0 -1788
- package/dist/stories/Alert/Alert.settings.d.ts +0 -4
- package/dist/stories/Alert/Alert.stories.d.ts +0 -9
- package/dist/stories/Alert/Alert.test.d.ts +0 -2
- package/dist/stories/Alert/AlertModifiers.stories.d.ts +0 -13
- package/dist/stories/Alert/AlertSlots.stories.d.ts +0 -10
- package/dist/stories/AlertGroup/AlertGroup.settings.d.ts +0 -14
- package/dist/stories/AlertGroup/AlertGroup.stories.d.ts +0 -8
- package/dist/stories/AlertGroup/AlertGroup.test.d.ts +0 -2
- package/dist/stories/AlertGroup/AlertGroupPosition.stories.d.ts +0 -14
- package/dist/stories/AlertGroup/AlertGroupSlots.stories.d.ts +0 -8
- package/dist/stories/AlertGroup/AlertGroupWithComposable.stories.d.ts +0 -4
- package/dist/stories/Avatar/Avatar.settings.d.ts +0 -5
- package/dist/stories/Avatar/Avatar.stories.d.ts +0 -7
- package/dist/stories/Avatar/Avatar.test.d.ts +0 -2
- package/dist/stories/Avatar/AvatarBadge.stories.d.ts +0 -6
- package/dist/stories/Avatar/AvatarModifiers.stories.d.ts +0 -13
- package/dist/stories/Avatar/AvatarSlots.stories.d.ts +0 -6
- package/dist/stories/AvatarGroup/AvatarGroup.settings.d.ts +0 -14
- package/dist/stories/AvatarGroup/AvatarGroup.stories.d.ts +0 -6
- package/dist/stories/AvatarGroup/AvatarGroup.test.d.ts +0 -2
- package/dist/stories/AvatarGroup/AvatarGroupModifiers.stories.d.ts +0 -7
- package/dist/stories/AvatarGroup/AvatarGroupSlotDefault.stories.d.ts +0 -6
- package/dist/stories/Badge/Badge.settings.d.ts +0 -5
- package/dist/stories/Badge/Badge.stories.d.ts +0 -7
- package/dist/stories/Badge/Badge.test.d.ts +0 -2
- package/dist/stories/Badge/BadgeSlots.stories.d.ts +0 -6
- package/dist/stories/Blurhash/BlurhashComposable.stories.d.ts +0 -4
- package/dist/stories/Breadcrumb/Breadcrumb.settings.d.ts +0 -13
- package/dist/stories/Breadcrumb/Breadcrumb.stories.d.ts +0 -7
- package/dist/stories/Breadcrumb/Breadcrumb.test.d.ts +0 -2
- package/dist/stories/Breadcrumb/BreadcrumbSlots.stories.d.ts +0 -6
- package/dist/stories/Button/Button.settings.d.ts +0 -4
- package/dist/stories/Button/Button.stories.d.ts +0 -6
- package/dist/stories/Button/Button.test.d.ts +0 -2
- package/dist/stories/Button/ButtonIcon.stories.d.ts +0 -10
- package/dist/stories/Button/ButtonLink.stories.d.ts +0 -7
- package/dist/stories/Button/ButtonLoading.stories.d.ts +0 -8
- package/dist/stories/Button/ButtonModifiers.stories.d.ts +0 -17
- package/dist/stories/Button/ButtonSlots.stories.d.ts +0 -9
- package/dist/stories/Button/ButtonState.stories.d.ts +0 -8
- package/dist/stories/Button/ButtonToggle.stories.d.ts +0 -9
- package/dist/stories/ButtonGroup/ButtonGroup.settings.d.ts +0 -5
- package/dist/stories/ButtonGroup/ButtonGroup.stories.d.ts +0 -6
- package/dist/stories/ButtonGroup/ButtonGroup.test.d.ts +0 -2
- package/dist/stories/ButtonGroup/ButtonGroupModifiers.stories.d.ts +0 -8
- package/dist/stories/ButtonGroup/ButtonGroupSlots.stories.d.ts +0 -6
- package/dist/stories/ButtonGroup/ButtonGroupToggle.stories.d.ts +0 -8
- package/dist/stories/Card/Card.settings.d.ts +0 -6
- package/dist/stories/Card/Card.stories.d.ts +0 -6
- package/dist/stories/Card/Card.test.d.ts +0 -2
- package/dist/stories/Card/CardSlots.stories.d.ts +0 -9
- package/dist/stories/Checkbox/Checkbox.settings.d.ts +0 -15
- package/dist/stories/Checkbox/Checkbox.stories.d.ts +0 -13
- package/dist/stories/Checkbox/Checkbox.test.d.ts +0 -2
- package/dist/stories/Checkbox/CheckboxBinary.stories.d.ts +0 -7
- package/dist/stories/Checkbox/CheckboxSlots.stories.d.ts +0 -7
- package/dist/stories/CheckboxGroup/CheckboxGroup.settings.d.ts +0 -12
- package/dist/stories/CheckboxGroup/CheckboxGroup.stories.d.ts +0 -12
- package/dist/stories/CheckboxGroup/CheckboxGroup.test.d.ts +0 -2
- package/dist/stories/CheckboxGroup/CheckboxGroupOptions.stories.d.ts +0 -8
- package/dist/stories/CheckboxGroup/CheckboxGroupSlots.stories.d.ts +0 -7
- package/dist/stories/Combobox/Combobox.settings.d.ts +0 -4
- package/dist/stories/Combobox/Combobox.stories.d.ts +0 -24
- package/dist/stories/Combobox/Combobox.test.d.ts +0 -2
- package/dist/stories/Combobox/ComboboxIconPosition.stories.d.ts +0 -8
- package/dist/stories/Combobox/ComboboxMultiple.stories.d.ts +0 -9
- package/dist/stories/Combobox/ComboboxOptions.stories.d.ts +0 -11
- package/dist/stories/Combobox/ComboboxSlots.stories.d.ts +0 -10
- package/dist/stories/Dialog/Dialog.settings.d.ts +0 -10
- package/dist/stories/Dialog/Dialog.stories.d.ts +0 -7
- package/dist/stories/Dialog/Dialog.test.d.ts +0 -2
- package/dist/stories/Dialog/DialogModifiers.stories.d.ts +0 -8
- package/dist/stories/Dialog/DialogSlots.stories.d.ts +0 -8
- package/dist/stories/Dropdown/Dropdown.settings.d.ts +0 -5
- package/dist/stories/Dropdown/Dropdown.stories.d.ts +0 -9
- package/dist/stories/Dropdown/Dropdown.test.d.ts +0 -2
- package/dist/stories/Dropdown/DropdownContextmenuDirective.stories.d.ts +0 -6
- package/dist/stories/Dropdown/DropdownMultilevel.stories.d.ts +0 -6
- package/dist/stories/Dropdown/DropdownSlots.stories.d.ts +0 -8
- package/dist/stories/Icon/Icon.settings.d.ts +0 -7
- package/dist/stories/Icon/Icon.stories.d.ts +0 -8
- package/dist/stories/Icon/IconsCollection.stories.d.ts +0 -6
- package/dist/stories/InputFile/InputFile.settings.d.ts +0 -6
- package/dist/stories/InputFile/InputFile.stories.d.ts +0 -13
- package/dist/stories/InputFile/InputFileDropArea.stories.d.ts +0 -9
- package/dist/stories/InputFile/InputFileIconPosition.stories.d.ts +0 -8
- package/dist/stories/InputFile/InputFileSlots.stories.d.ts +0 -7
- package/dist/stories/InputText/InputText.settings.d.ts +0 -11
- package/dist/stories/InputText/InputText.stories.d.ts +0 -16
- package/dist/stories/InputText/InputText.test.d.ts +0 -5
- package/dist/stories/InputText/InputTextIconPosition.stories.d.ts +0 -8
- package/dist/stories/InputText/InputTextIso.stories.d.ts +0 -10
- package/dist/stories/InputText/InputTextLength.stories.d.ts +0 -10
- package/dist/stories/InputText/InputTextMask.stories.d.ts +0 -12
- package/dist/stories/InputText/InputTextMinMax.stories.d.ts +0 -9
- package/dist/stories/InputText/InputTextSlots.stories.d.ts +0 -8
- package/dist/stories/InputText/InputTextSuggestions.stories.d.ts +0 -8
- package/dist/stories/InputText/InputTextType.stories.d.ts +0 -18
- package/dist/stories/Nav/Nav.settings.d.ts +0 -4
- package/dist/stories/Nav/Nav.stories.d.ts +0 -6
- package/dist/stories/Nav/Nav.test.d.ts +0 -2
- package/dist/stories/Nav/NavModifiers.stories.d.ts +0 -9
- package/dist/stories/Progress/Progress.settings.d.ts +0 -7
- package/dist/stories/Progress/Progress.stories.d.ts +0 -7
- package/dist/stories/Progress/Progress.test.d.ts +0 -2
- package/dist/stories/Radio/Radio.settings.d.ts +0 -12
- package/dist/stories/Radio/Radio.stories.d.ts +0 -11
- package/dist/stories/Radio/Radio.test.d.ts +0 -2
- package/dist/stories/Radio/RadioSlots.stories.d.ts +0 -7
- package/dist/stories/RadioGroup/RadioGroup.settings.d.ts +0 -12
- package/dist/stories/RadioGroup/RadioGroup.stories.d.ts +0 -12
- package/dist/stories/RadioGroup/RadioGroup.test.d.ts +0 -2
- package/dist/stories/RadioGroup/RadioGroupOptions.stories.d.ts +0 -8
- package/dist/stories/RadioGroup/RadioGroupSlots.stories.d.ts +0 -7
- package/dist/stories/Select/Select.settings.d.ts +0 -8
- package/dist/stories/Select/Select.stories.d.ts +0 -16
- package/dist/stories/Select/Select.test.d.ts +0 -2
- package/dist/stories/Select/SelectIconPosition.stories.d.ts +0 -8
- package/dist/stories/Select/SelectOptions.stories.d.ts +0 -9
- package/dist/stories/Select/SelectSlots.stories.d.ts +0 -8
- package/dist/stories/Tab/Tab.settings.d.ts +0 -4
- package/dist/stories/Tab/Tab.stories.d.ts +0 -6
- package/dist/stories/Tab/Tab.test.d.ts +0 -2
- package/dist/stories/Textarea/Textarea.settings.d.ts +0 -9
- package/dist/stories/Textarea/Textarea.stories.d.ts +0 -14
- package/dist/stories/Textarea/Textarea.test.d.ts +0 -2
- package/dist/stories/Textarea/TextareaLength.stories.d.ts +0 -10
- package/dist/stories/Textarea/TextareaSlots.stories.d.ts +0 -8
- package/dist/stories/Textarea/TextareatIconPosition.stories.d.ts +0 -8
- package/dist/stories/Tooltip/Tooltip.settings.d.ts +0 -5
- package/dist/stories/Tooltip/Tooltip.stories.d.ts +0 -6
- package/dist/stories/Tooltip/Tooltip.test.d.ts +0 -2
- package/dist/stories/Tooltip/TooltipDirective.stories.d.ts +0 -10
- package/dist/stories/VirtualScroll/VirtualScroll.settings.d.ts +0 -5
- package/dist/stories/VirtualScroll/VirtualScroll.stories.d.ts +0 -7
- package/dist/stories/VirtualScroll/VirtualScroll.test.d.ts +0 -2
- package/dist/stories/VirtualScroll/VirtualScrollWithComposable.stories.d.ts +0 -4
- package/dist/stories/argTypes.d.ts +0 -56
- package/dist/test/expect.d.ts +0 -18
- package/dist/test/options.d.ts +0 -1
- package/dist/test/sleep.d.ts +0 -1
- package/dist/types/alert.d.ts +0 -15
- package/dist/types/blurhash.d.ts +0 -12
- package/dist/types/floating-ui.d.ts +0 -6
- package/dist/types/generic.d.ts +0 -4
- package/dist/types/group.d.ts +0 -59
- package/dist/types/index.d.ts +0 -7
- package/dist/types/input-file.d.ts +0 -9
- package/dist/types/nav.d.ts +0 -17
- package/dist/utils/DateUtilities.d.ts +0 -14
- package/dist/utils/DomUtilities.d.ts +0 -1
- package/dist/utils/FileUtilities.d.ts +0 -14
- package/dist/utils/ObjectUtilities.d.ts +0 -82
- package/dist/workers/blurhash.d.ts +0 -1
|
@@ -1,23 +1,20 @@
|
|
|
1
|
-
import { Fragment as pe, computed as i, createBlock as
|
|
2
|
-
import { Icon as
|
|
1
|
+
import { Fragment as pe, computed as i, createBlock as O, createCommentVNode as w, createElementBlock as D, createTextVNode as ee, defineComponent as M, getCurrentInstance as ge, inject as L, mergeDefaults as ye, mergeProps as _, openBlock as B, ref as G, renderSlot as I, resolveComponent as be, resolveDynamicComponent as me, toDisplayString as F, toRef as he, toRefs as te, unref as v, useAttrs as Se, useId as Be, useSlots as Ie, watch as Pe, withCtx as re } from "vue";
|
|
2
|
+
import { Icon as ke, addIcon as we, iconLoaded as T } from "@iconify/vue";
|
|
3
3
|
var W = /* @__PURE__ */ (function(e) {
|
|
4
4
|
return e.local = "local", e.session = "session", e;
|
|
5
|
-
})({}),
|
|
5
|
+
})({}), Oe = /* @__PURE__ */ (function(e) {
|
|
6
6
|
return e.absolute = "absolute", e.fixed = "fixed", e;
|
|
7
7
|
})({}), m = /* @__PURE__ */ (function(e) {
|
|
8
8
|
return e.left = "left", e.right = "right", e.top = "top", e.bottom = "bottom", e;
|
|
9
|
-
})({}),
|
|
9
|
+
})({}), Ae = /* @__PURE__ */ (function(e) {
|
|
10
10
|
return e.topStart = "top-start", e.topEnd = "top-end", e.bottomStart = "bottom-start", e.bottomEnd = "bottom-end", e.leftStart = "left-start", e.leftEnd = "left-end", e.rightStart = "right-start", e.rightEnd = "right-end", e;
|
|
11
|
-
})({}),
|
|
11
|
+
})({}), E = /* @__PURE__ */ (function(e) {
|
|
12
12
|
return e.before = "before", e.after = "after", e;
|
|
13
13
|
})({}), H = /* @__PURE__ */ (function(e) {
|
|
14
14
|
return e.button = "button", e.submit = "submit", e.reset = "reset", e;
|
|
15
15
|
})({}), h = /* @__PURE__ */ (function(e) {
|
|
16
16
|
return e.nuxtLink = "nuxt-link", e.routerLink = "router-link", e.a = "a", e.button = "button", e;
|
|
17
|
-
})({}),
|
|
18
|
-
var we = /* @__PURE__ */ Symbol.for("dropdownTrigger");
|
|
19
|
-
var Ae = /* @__PURE__ */ Symbol.for("dropdownAction");
|
|
20
|
-
var Le = {
|
|
17
|
+
})({}), Ce = /* @__PURE__ */ Symbol.for("volver"), Ne = /* @__PURE__ */ Symbol.for("buttonGroup"), _e = /* @__PURE__ */ Symbol.for("dropdownTrigger"), Ee = /* @__PURE__ */ Symbol.for("dropdownAction"), Le = {
|
|
21
18
|
showPassword: "eye-on",
|
|
22
19
|
hidePassword: "eye-off",
|
|
23
20
|
showDatePicker: "calendar",
|
|
@@ -28,9 +25,7 @@ var Le = {
|
|
|
28
25
|
remove: "trash",
|
|
29
26
|
edit: "edit",
|
|
30
27
|
download: "download"
|
|
31
|
-
}, Ve =
|
|
32
|
-
return e.simple = "simple", e.normal = "normal", e.detailed = "detailed", e;
|
|
33
|
-
})({}), $e = { prefix: Ve.normal }, Re = {
|
|
28
|
+
}, Ve = { prefix: "normal" }, $e = {
|
|
34
29
|
to: { type: [String, Object] },
|
|
35
30
|
href: String,
|
|
36
31
|
target: String,
|
|
@@ -38,7 +33,7 @@ var Le = {
|
|
|
38
33
|
type: String,
|
|
39
34
|
default: "noopener noreferrer"
|
|
40
35
|
}
|
|
41
|
-
},
|
|
36
|
+
}, q = {
|
|
42
37
|
valid: {
|
|
43
38
|
type: Boolean,
|
|
44
39
|
default: !1
|
|
@@ -47,7 +42,7 @@ var Le = {
|
|
|
47
42
|
type: [String, Array],
|
|
48
43
|
default: void 0
|
|
49
44
|
}
|
|
50
|
-
},
|
|
45
|
+
}, K = {
|
|
51
46
|
invalid: {
|
|
52
47
|
type: Boolean,
|
|
53
48
|
default: !1
|
|
@@ -74,10 +69,10 @@ var Le = {
|
|
|
74
69
|
} }, je = { active: {
|
|
75
70
|
type: Boolean,
|
|
76
71
|
default: !1
|
|
77
|
-
} },
|
|
72
|
+
} }, Re = { current: {
|
|
78
73
|
type: Boolean,
|
|
79
74
|
default: !1
|
|
80
|
-
} },
|
|
75
|
+
} }, ct = {
|
|
81
76
|
showClearAction: {
|
|
82
77
|
type: Boolean,
|
|
83
78
|
default: !1
|
|
@@ -93,19 +88,19 @@ var Le = {
|
|
|
93
88
|
}, De = { pressed: {
|
|
94
89
|
type: Boolean,
|
|
95
90
|
default: !1
|
|
96
|
-
} },
|
|
91
|
+
} }, j = { label: {
|
|
97
92
|
type: [String, Number],
|
|
98
93
|
default: void 0
|
|
99
|
-
} },
|
|
94
|
+
} }, z = { readonly: {
|
|
100
95
|
type: Boolean,
|
|
101
96
|
default: !1
|
|
102
|
-
} },
|
|
97
|
+
} }, R = { modifiers: {
|
|
103
98
|
type: [String, Array],
|
|
104
99
|
default: void 0
|
|
105
|
-
} },
|
|
100
|
+
} }, J = { hintLabel: {
|
|
106
101
|
type: String,
|
|
107
102
|
default: ""
|
|
108
|
-
} },
|
|
103
|
+
} }, Te = {
|
|
109
104
|
options: {
|
|
110
105
|
type: Array,
|
|
111
106
|
default: () => []
|
|
@@ -131,7 +126,7 @@ var Le = {
|
|
|
131
126
|
"limit",
|
|
132
127
|
"countdown"
|
|
133
128
|
].includes(e)
|
|
134
|
-
} },
|
|
129
|
+
} }, xe = { debounce: {
|
|
135
130
|
type: [Number, String],
|
|
136
131
|
default: void 0
|
|
137
132
|
} }, ae = {
|
|
@@ -141,8 +136,8 @@ var Le = {
|
|
|
141
136
|
},
|
|
142
137
|
iconPosition: {
|
|
143
138
|
type: String,
|
|
144
|
-
default:
|
|
145
|
-
validation: (e) => Object.values(
|
|
139
|
+
default: E.before,
|
|
140
|
+
validation: (e) => Object.values(E).includes(e)
|
|
146
141
|
}
|
|
147
142
|
}, ne = { tabindex: {
|
|
148
143
|
type: [String, Number],
|
|
@@ -150,19 +145,19 @@ var Le = {
|
|
|
150
145
|
} }, Me = { floating: {
|
|
151
146
|
type: Boolean,
|
|
152
147
|
default: !1
|
|
153
|
-
} },
|
|
148
|
+
} }, Ge = { unselectable: {
|
|
154
149
|
type: Boolean,
|
|
155
150
|
default: !0
|
|
156
|
-
} }, le = { id: [String, Number] },
|
|
151
|
+
} }, le = { id: [String, Number] }, pt = {
|
|
157
152
|
placement: {
|
|
158
153
|
type: String,
|
|
159
154
|
default: m.bottom,
|
|
160
|
-
validator: (e) => Object.values(m).includes(e) || Object.values(
|
|
155
|
+
validator: (e) => Object.values(m).includes(e) || Object.values(Ae).includes(e)
|
|
161
156
|
},
|
|
162
157
|
strategy: {
|
|
163
158
|
type: String,
|
|
164
159
|
default: void 0,
|
|
165
|
-
validator: (e) => Object.values(
|
|
160
|
+
validator: (e) => Object.values(Oe).includes(e)
|
|
166
161
|
},
|
|
167
162
|
transitionName: {
|
|
168
163
|
type: String,
|
|
@@ -214,29 +209,29 @@ var Le = {
|
|
|
214
209
|
type: String,
|
|
215
210
|
required: !0
|
|
216
211
|
}
|
|
217
|
-
},
|
|
212
|
+
}, qe = { autofocus: {
|
|
218
213
|
type: Boolean,
|
|
219
214
|
default: !1
|
|
220
|
-
} },
|
|
215
|
+
} }, Ke = { autocomplete: {
|
|
221
216
|
type: String,
|
|
222
217
|
default: "off"
|
|
223
|
-
} },
|
|
218
|
+
} }, gt = {
|
|
224
219
|
...ue,
|
|
225
|
-
...
|
|
226
|
-
...
|
|
220
|
+
...qe,
|
|
221
|
+
...Ke,
|
|
227
222
|
...ne,
|
|
228
223
|
...$,
|
|
229
|
-
...
|
|
230
|
-
...x,
|
|
231
|
-
...J,
|
|
224
|
+
...z,
|
|
232
225
|
...q,
|
|
226
|
+
...K,
|
|
227
|
+
...J,
|
|
233
228
|
...V,
|
|
234
|
-
...
|
|
229
|
+
...R,
|
|
235
230
|
...Fe,
|
|
236
|
-
...
|
|
231
|
+
...xe,
|
|
237
232
|
...ae,
|
|
238
233
|
...Me,
|
|
239
|
-
...
|
|
234
|
+
...j,
|
|
240
235
|
minlength: {
|
|
241
236
|
type: [String, Number],
|
|
242
237
|
default: void 0
|
|
@@ -250,16 +245,16 @@ var Le = {
|
|
|
250
245
|
default: void 0
|
|
251
246
|
},
|
|
252
247
|
...oe
|
|
253
|
-
},
|
|
248
|
+
}, yt = {
|
|
254
249
|
...ue,
|
|
255
250
|
...ne,
|
|
256
|
-
...x,
|
|
257
|
-
...J,
|
|
258
251
|
...q,
|
|
252
|
+
...K,
|
|
253
|
+
...J,
|
|
259
254
|
...$,
|
|
260
|
-
...
|
|
261
|
-
...j,
|
|
255
|
+
...z,
|
|
262
256
|
...R,
|
|
257
|
+
...j,
|
|
263
258
|
...V,
|
|
264
259
|
value: {
|
|
265
260
|
type: [
|
|
@@ -278,15 +273,15 @@ var Le = {
|
|
|
278
273
|
],
|
|
279
274
|
default: void 0
|
|
280
275
|
}
|
|
281
|
-
},
|
|
282
|
-
...x,
|
|
283
|
-
...J,
|
|
284
|
-
...Ge,
|
|
276
|
+
}, bt = {
|
|
285
277
|
...q,
|
|
278
|
+
...K,
|
|
279
|
+
...Te,
|
|
280
|
+
...J,
|
|
286
281
|
...$,
|
|
287
|
-
...
|
|
288
|
-
...j,
|
|
282
|
+
...z,
|
|
289
283
|
...R,
|
|
284
|
+
...j,
|
|
290
285
|
...V,
|
|
291
286
|
...oe,
|
|
292
287
|
modelValue: {
|
|
@@ -309,11 +304,11 @@ var Le = {
|
|
|
309
304
|
}
|
|
310
305
|
}, ie = {
|
|
311
306
|
...$,
|
|
312
|
-
...
|
|
307
|
+
...j,
|
|
313
308
|
...De,
|
|
314
309
|
...je,
|
|
315
|
-
...Te,
|
|
316
310
|
...Re,
|
|
311
|
+
...$e,
|
|
317
312
|
type: {
|
|
318
313
|
type: String,
|
|
319
314
|
default: H.button,
|
|
@@ -327,7 +322,7 @@ var Le = {
|
|
|
327
322
|
type: String,
|
|
328
323
|
default: h.button
|
|
329
324
|
}
|
|
330
|
-
},
|
|
325
|
+
}, mt = {
|
|
331
326
|
storageType: {
|
|
332
327
|
type: String,
|
|
333
328
|
default: W.local,
|
|
@@ -335,7 +330,7 @@ var Le = {
|
|
|
335
330
|
},
|
|
336
331
|
storageKey: String
|
|
337
332
|
};
|
|
338
|
-
function
|
|
333
|
+
function ze(e) {
|
|
339
334
|
const t = L(e, void 0), a = i(() => t !== void 0);
|
|
340
335
|
function r(o, u, g) {
|
|
341
336
|
const d = t?.[o];
|
|
@@ -363,11 +358,11 @@ function qe(e) {
|
|
|
363
358
|
getGroupOrLocalRef: r
|
|
364
359
|
};
|
|
365
360
|
}
|
|
366
|
-
var
|
|
361
|
+
var Je = ["update:modelValue"], Ue = {
|
|
367
362
|
...ie,
|
|
368
363
|
...le,
|
|
369
|
-
...
|
|
370
|
-
...
|
|
364
|
+
...R,
|
|
365
|
+
...Ge,
|
|
371
366
|
...V,
|
|
372
367
|
...ae,
|
|
373
368
|
iconPosition: {
|
|
@@ -408,8 +403,8 @@ var Ue = ["update:modelValue"], ze = {
|
|
|
408
403
|
default: void 0
|
|
409
404
|
}
|
|
410
405
|
};
|
|
411
|
-
function
|
|
412
|
-
const { group: a, isInGroup: r, getGroupOrLocalRef: o } =
|
|
406
|
+
function Ye(e, t) {
|
|
407
|
+
const { group: a, isInGroup: r, getGroupOrLocalRef: o } = ze(Ne), { id: u, iconPosition: g, icon: d, label: y, pressed: c } = te(e);
|
|
413
408
|
return {
|
|
414
409
|
group: a,
|
|
415
410
|
isInGroup: r,
|
|
@@ -430,32 +425,32 @@ function We(e, t) {
|
|
|
430
425
|
label: y
|
|
431
426
|
};
|
|
432
427
|
}
|
|
433
|
-
var
|
|
428
|
+
var We = [
|
|
434
429
|
"click",
|
|
435
430
|
"mouseover",
|
|
436
431
|
"mouseleave"
|
|
437
|
-
],
|
|
432
|
+
], He = ie;
|
|
438
433
|
function se() {
|
|
439
|
-
return L(
|
|
434
|
+
return L(Ce, void 0);
|
|
440
435
|
}
|
|
441
|
-
function
|
|
442
|
-
return L(
|
|
436
|
+
function Qe() {
|
|
437
|
+
return L(_e, {});
|
|
443
438
|
}
|
|
444
|
-
function
|
|
445
|
-
return L(
|
|
439
|
+
function Xe() {
|
|
440
|
+
return L(Ee, {});
|
|
446
441
|
}
|
|
447
|
-
var
|
|
448
|
-
...
|
|
449
|
-
props:
|
|
450
|
-
emits:
|
|
442
|
+
var Ze = { name: "VvAction" }, et = /* @__PURE__ */ M({
|
|
443
|
+
...Ze,
|
|
444
|
+
props: He,
|
|
445
|
+
emits: We,
|
|
451
446
|
setup(e, { expose: t, emit: a }) {
|
|
452
|
-
const r = e, o = a, u = ge(), g = se(), d =
|
|
447
|
+
const r = e, o = a, u = ge(), g = se(), d = G(null);
|
|
453
448
|
t({ $el: d });
|
|
454
|
-
const { reference: y, bus: c, aria: p, expanded: n } =
|
|
455
|
-
|
|
449
|
+
const { reference: y, bus: c, aria: p, expanded: n } = Qe();
|
|
450
|
+
Pe(() => d.value, (s) => {
|
|
456
451
|
y && (y.value = s);
|
|
457
452
|
});
|
|
458
|
-
const l = i(() => r.pressed || n?.value), { role: b } =
|
|
453
|
+
const l = i(() => r.pressed || n?.value), { role: b } = Xe(), S = i(() => {
|
|
459
454
|
switch (!0) {
|
|
460
455
|
case r.disabled:
|
|
461
456
|
return h.button;
|
|
@@ -466,7 +461,7 @@ var et = { name: "VvAction" }, tt = /* @__PURE__ */ K({
|
|
|
466
461
|
default:
|
|
467
462
|
return r.defaultTag;
|
|
468
463
|
}
|
|
469
|
-
}),
|
|
464
|
+
}), A = i(() => {
|
|
470
465
|
const s = {
|
|
471
466
|
...p?.value,
|
|
472
467
|
ariaPressed: l.value ? !0 : void 0,
|
|
@@ -498,7 +493,7 @@ var et = { name: "VvAction" }, tt = /* @__PURE__ */ K({
|
|
|
498
493
|
return s;
|
|
499
494
|
}
|
|
500
495
|
});
|
|
501
|
-
function
|
|
496
|
+
function C(s) {
|
|
502
497
|
if (r.disabled) {
|
|
503
498
|
s.preventDefault();
|
|
504
499
|
return;
|
|
@@ -509,21 +504,21 @@ var et = { name: "VvAction" }, tt = /* @__PURE__ */ K({
|
|
|
509
504
|
}
|
|
510
505
|
c?.emit("click", s);
|
|
511
506
|
}
|
|
512
|
-
function
|
|
507
|
+
function P(s) {
|
|
513
508
|
if (u?.vnode.props?.onMouseover) {
|
|
514
509
|
o("mouseover", s);
|
|
515
510
|
return;
|
|
516
511
|
}
|
|
517
512
|
c?.emit("mouseover", s);
|
|
518
513
|
}
|
|
519
|
-
function
|
|
514
|
+
function N(s) {
|
|
520
515
|
if (u?.vnode.props?.onMouseleave) {
|
|
521
516
|
o("mouseleave", s);
|
|
522
517
|
return;
|
|
523
518
|
}
|
|
524
519
|
c?.emit("mouseleave", s);
|
|
525
520
|
}
|
|
526
|
-
return (s, U) => (
|
|
521
|
+
return (s, U) => (B(), O(me(v(S)), _(v(A), {
|
|
527
522
|
ref_key: "rootEl",
|
|
528
523
|
ref: d,
|
|
529
524
|
class: {
|
|
@@ -532,15 +527,15 @@ var et = { name: "VvAction" }, tt = /* @__PURE__ */ K({
|
|
|
532
527
|
disabled: s.disabled,
|
|
533
528
|
current: s.current
|
|
534
529
|
},
|
|
535
|
-
onClickPassive:
|
|
536
|
-
onMouseoverPassive:
|
|
537
|
-
onMouseleavePassive:
|
|
530
|
+
onClickPassive: C,
|
|
531
|
+
onMouseoverPassive: P,
|
|
532
|
+
onMouseleavePassive: N
|
|
538
533
|
}), {
|
|
539
|
-
default: re(() => [
|
|
534
|
+
default: re(() => [I(s.$slots, "default", {}, () => [ee(F(s.label), 1)])]),
|
|
540
535
|
_: 3
|
|
541
536
|
}, 16, ["class"]));
|
|
542
537
|
}
|
|
543
|
-
}),
|
|
538
|
+
}), tt = et;
|
|
544
539
|
function de(e, t, a) {
|
|
545
540
|
return i(() => {
|
|
546
541
|
const r = { [e]: !0 }, o = typeof t?.value == "string" ? t.value.split(" ") : t?.value;
|
|
@@ -551,8 +546,8 @@ function de(e, t, a) {
|
|
|
551
546
|
}), r;
|
|
552
547
|
});
|
|
553
548
|
}
|
|
554
|
-
var
|
|
555
|
-
...
|
|
549
|
+
var rt = { name: "VvIcon" }, ot = /* @__PURE__ */ M({
|
|
550
|
+
...rt,
|
|
556
551
|
props: /* @__PURE__ */ ye({
|
|
557
552
|
name: {},
|
|
558
553
|
color: {},
|
|
@@ -570,12 +565,12 @@ var ot = { name: "VvIcon" }, at = /* @__PURE__ */ K({
|
|
|
570
565
|
onLoad: { type: Function },
|
|
571
566
|
svg: {},
|
|
572
567
|
modifiers: {}
|
|
573
|
-
},
|
|
568
|
+
}, Ve),
|
|
574
569
|
setup(e) {
|
|
575
|
-
const t = e, a = i(() => typeof t.rotate == "string" ? Number.parseFloat(t.rotate) : t.rotate), r =
|
|
570
|
+
const t = e, a = i(() => typeof t.rotate == "string" ? Number.parseFloat(t.rotate) : t.rotate), r = G(!0), o = se(), { modifiers: u } = te(t), g = de("vv-icon", u), d = i(() => t.provider || o?.iconsProvider), y = i(() => {
|
|
576
571
|
const n = t.name ?? "", l = `@${d.value}:${t.prefix}:${n}`;
|
|
577
|
-
if (
|
|
578
|
-
const b = o?.iconsCollections.find((S) =>
|
|
572
|
+
if (T(l)) return l;
|
|
573
|
+
const b = o?.iconsCollections.find((S) => T(`@${d.value}:${S.prefix}:${n}`));
|
|
579
574
|
return b ? `@${d.value}:${b.prefix}:${n}` : n;
|
|
580
575
|
});
|
|
581
576
|
function c(n) {
|
|
@@ -584,17 +579,17 @@ var ot = { name: "VvIcon" }, at = /* @__PURE__ */ K({
|
|
|
584
579
|
}
|
|
585
580
|
function p(n) {
|
|
586
581
|
const l = c(n), b = l?.innerHTML.trim() || "";
|
|
587
|
-
l && b &&
|
|
582
|
+
l && b && we(`@${d.value}:${t.prefix}:${t.name}`, {
|
|
588
583
|
body: b,
|
|
589
584
|
height: l.viewBox.baseVal.height,
|
|
590
585
|
width: l.viewBox.baseVal.width
|
|
591
586
|
});
|
|
592
587
|
}
|
|
593
|
-
return o && t.src && !
|
|
588
|
+
return o && t.src && !T(`@${d.value}:${t.prefix}:${t.name}`) && (r.value = !1, o.fetchIcon(t.src).then((n) => {
|
|
594
589
|
n && p(n), r.value = !0;
|
|
595
590
|
}).catch((n) => {
|
|
596
591
|
throw r.value = !0, new Error(`Error during fetch icon: ${n?.message}`);
|
|
597
|
-
})), t.svg && p(t.svg), (n, l) => v(r) ? (
|
|
592
|
+
})), t.svg && p(t.svg), (n, l) => v(r) ? (B(), O(v(ke), _({
|
|
598
593
|
key: 0,
|
|
599
594
|
class: v(g)
|
|
600
595
|
}, {
|
|
@@ -607,23 +602,23 @@ var ot = { name: "VvIcon" }, at = /* @__PURE__ */ K({
|
|
|
607
602
|
rotate: v(a),
|
|
608
603
|
color: e.color,
|
|
609
604
|
icon: v(y)
|
|
610
|
-
}, { onLoad: e.onLoad }), null, 16, ["class", "onLoad"])) :
|
|
605
|
+
}, { onLoad: e.onLoad }), null, 16, ["class", "onLoad"])) : w("v-if", !0);
|
|
611
606
|
}
|
|
612
|
-
}), Q =
|
|
613
|
-
function
|
|
614
|
-
return i(() => String(e?.value ||
|
|
607
|
+
}), Q = ot;
|
|
608
|
+
function at(e) {
|
|
609
|
+
return i(() => String(e?.value || Be()));
|
|
615
610
|
}
|
|
616
611
|
function fe(e, t, a) {
|
|
617
|
-
return a ? X(e, a) === X(t, a) :
|
|
612
|
+
return a ? X(e, a) === X(t, a) : x(e, t);
|
|
618
613
|
}
|
|
619
|
-
function
|
|
614
|
+
function x(e, t) {
|
|
620
615
|
if (e === t) return !0;
|
|
621
616
|
if (e && t && typeof e == "object" && typeof t == "object") {
|
|
622
617
|
const a = Array.isArray(e), r = Array.isArray(t);
|
|
623
618
|
let o, u, g;
|
|
624
619
|
if (a && r) {
|
|
625
620
|
if (u = e.length, u !== t.length) return !1;
|
|
626
|
-
for (o = u; o-- !== 0; ) if (!
|
|
621
|
+
for (o = u; o-- !== 0; ) if (!x(e[o], t[o])) return !1;
|
|
627
622
|
return !0;
|
|
628
623
|
}
|
|
629
624
|
if (a !== r) return !1;
|
|
@@ -637,7 +632,7 @@ function F(e, t) {
|
|
|
637
632
|
if (u = n.length, u !== Object.keys(t).length) return !1;
|
|
638
633
|
for (o = u; o-- !== 0; ) if (!Object.hasOwn(t, n[o])) return !1;
|
|
639
634
|
for (o = u; o-- !== 0; )
|
|
640
|
-
if (g = n[o], !
|
|
635
|
+
if (g = n[o], !x(e[g], t[g])) return !1;
|
|
641
636
|
return !0;
|
|
642
637
|
}
|
|
643
638
|
return Number.isNaN(e) && Number.isNaN(t);
|
|
@@ -661,8 +656,8 @@ function Z(e, t) {
|
|
|
661
656
|
}
|
|
662
657
|
return !1;
|
|
663
658
|
}
|
|
664
|
-
function
|
|
665
|
-
const a = i(() => typeof e?.value == "string" ? { name: e?.value } : e?.value), r = i(() => t?.value ===
|
|
659
|
+
function nt(e, t) {
|
|
660
|
+
const a = i(() => typeof e?.value == "string" ? { name: e?.value } : e?.value), r = i(() => t?.value === E.before ? a.value : void 0), o = i(() => t?.value === E.after ? a.value : void 0);
|
|
666
661
|
return {
|
|
667
662
|
hasIcon: a,
|
|
668
663
|
hasIconLeft: i(() => t?.value === m.left ? a.value : void 0),
|
|
@@ -673,48 +668,48 @@ function lt(e, t) {
|
|
|
673
668
|
hasIconAfter: o
|
|
674
669
|
};
|
|
675
670
|
}
|
|
676
|
-
var
|
|
671
|
+
var lt = {
|
|
677
672
|
key: 1,
|
|
678
673
|
class: "vv-button__label"
|
|
679
|
-
},
|
|
674
|
+
}, ut = {
|
|
680
675
|
key: 1,
|
|
681
676
|
class: "vv-button__label"
|
|
682
|
-
},
|
|
677
|
+
}, it = {
|
|
683
678
|
name: "VvButton",
|
|
684
679
|
inheritAttrs: !1
|
|
685
|
-
},
|
|
686
|
-
...
|
|
687
|
-
props:
|
|
688
|
-
emits:
|
|
680
|
+
}, st = /* @__PURE__ */ M({
|
|
681
|
+
...it,
|
|
682
|
+
props: Ue,
|
|
683
|
+
emits: Je,
|
|
689
684
|
setup(e, { expose: t, emit: a }) {
|
|
690
|
-
const r = e, o = a, u = Se(), g =
|
|
691
|
-
t({ $el: i(() =>
|
|
692
|
-
const s = i(() => S.value ? Array.isArray(l.value) ? Z(
|
|
685
|
+
const r = e, o = a, u = Se(), g = Ie(), { id: d, modifiers: y, iconPosition: c, icon: p, label: n, modelValue: l, disabled: b, toggle: S, unselectable: A } = Ye(r, o), C = at(d), P = i(() => u?.name || C.value), N = G(null);
|
|
686
|
+
t({ $el: i(() => N.value?.$el) });
|
|
687
|
+
const s = i(() => S.value ? Array.isArray(l.value) ? Z(P.value, l.value) : fe(P.value, l.value) : r.pressed), U = de("vv-button", y, i(() => ({
|
|
693
688
|
reverse: [m.right, m.bottom].includes(c.value),
|
|
694
689
|
column: [m.top, m.bottom].includes(c.value),
|
|
695
690
|
"icon-only": !!(p?.value && !n?.value && !g.default)
|
|
696
|
-
}))), { hasIcon:
|
|
691
|
+
}))), { hasIcon: Y } = nt(p), k = i(() => r.value !== void 0 ? r.value : P.value), ve = i(() => {
|
|
697
692
|
if (S.value)
|
|
698
693
|
return { onClick: ce };
|
|
699
694
|
});
|
|
700
695
|
function ce() {
|
|
701
696
|
if (S.value) {
|
|
702
697
|
if (Array.isArray(l.value)) {
|
|
703
|
-
if (Z(
|
|
704
|
-
|
|
698
|
+
if (Z(k.value, l.value)) {
|
|
699
|
+
A.value && (l.value = l.value.filter((f) => f !== k.value));
|
|
705
700
|
return;
|
|
706
701
|
}
|
|
707
|
-
l.value.push(
|
|
702
|
+
l.value.push(k.value);
|
|
708
703
|
return;
|
|
709
704
|
}
|
|
710
|
-
if (
|
|
705
|
+
if (k.value === l.value && A.value) {
|
|
711
706
|
l.value = r.uncheckedValue;
|
|
712
707
|
return;
|
|
713
708
|
}
|
|
714
|
-
l.value =
|
|
709
|
+
l.value = k.value;
|
|
715
710
|
}
|
|
716
711
|
}
|
|
717
|
-
return (f,
|
|
712
|
+
return (f, dt) => (B(), O(tt, _({
|
|
718
713
|
...v(u),
|
|
719
714
|
...v(ve),
|
|
720
715
|
disabled: v(b),
|
|
@@ -727,25 +722,25 @@ var ut = {
|
|
|
727
722
|
rel: f.rel,
|
|
728
723
|
ariaLabel: f.ariaLabel
|
|
729
724
|
}, {
|
|
730
|
-
id: v(
|
|
725
|
+
id: v(C),
|
|
731
726
|
ref_key: "rootEl",
|
|
732
|
-
ref:
|
|
727
|
+
ref: N,
|
|
733
728
|
class: v(U)
|
|
734
729
|
}), {
|
|
735
|
-
default: re(() => [
|
|
730
|
+
default: re(() => [I(f.$slots, "default", {}, () => [f.loading ? I(f.$slots, "loading", { key: 0 }, () => [f.loadingIcon ? (B(), O(Q, {
|
|
736
731
|
key: 0,
|
|
737
732
|
class: "vv-button__loading-icon",
|
|
738
733
|
name: f.loadingIcon
|
|
739
|
-
}, null, 8, ["name"])) :
|
|
740
|
-
|
|
741
|
-
v(
|
|
742
|
-
v(n) ? (
|
|
743
|
-
|
|
734
|
+
}, null, 8, ["name"])) : w("v-if", !0), f.loadingLabel ? (B(), D("span", lt, F(f.loadingLabel), 1)) : w("v-if", !0)]) : (B(), D(pe, { key: 1 }, [
|
|
735
|
+
I(f.$slots, "before"),
|
|
736
|
+
v(Y) ? (B(), O(Q, _({ key: 0 }, v(Y), { class: "vv-button__icon" }), null, 16)) : w("v-if", !0),
|
|
737
|
+
v(n) ? (B(), D("span", ut, [I(f.$slots, "label", {}, () => [ee(F(v(n)), 1)])])) : w("v-if", !0),
|
|
738
|
+
I(f.$slots, "after")
|
|
744
739
|
], 64))])]),
|
|
745
740
|
_: 3
|
|
746
741
|
}, 16, ["id", "class"]));
|
|
747
742
|
}
|
|
748
|
-
}),
|
|
743
|
+
}), ht = st;
|
|
749
744
|
export {
|
|
750
|
-
|
|
745
|
+
ht as default
|
|
751
746
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(t,b){typeof exports=="object"&&typeof module<"u"?module.exports=b(require("vue"),require("@iconify/vue")):typeof define=="function"&&define.amd?define(["vue","@iconify/vue"],b):(t=typeof globalThis<"u"?globalThis:t||self,t.VvButton=b(t.Vue,t.IconifyVue))})(this,function(t,b){var j=(function(e){return e.local="local",e.session="session",e})({}),X=(function(e){return e.absolute="absolute",e.fixed="fixed",e})({}),y=(function(e){return e.left="left",e.right="right",e.top="top",e.bottom="bottom",e})({}),Z=(function(e){return e.topStart="top-start",e.topEnd="top-end",e.bottomStart="bottom-start",e.bottomEnd="bottom-end",e.leftStart="left-start",e.leftEnd="left-end",e.rightStart="right-start",e.rightEnd="right-end",e})({}),k=(function(e){return e.before="before",e.after="after",e})({}),T=(function(e){return e.button="button",e.submit="submit",e.reset="reset",e})({}),h=(function(e){return e.nuxtLink="nuxt-link",e.routerLink="router-link",e.a="a",e.button="button",e})({}),ee=Symbol.for("volver"),te=Symbol.for("buttonGroup"),Fe=Symbol.for("radioGroup"),xe=Symbol.for("checkGroup"),Ke=Symbol.for("accordionGroup"),re=Symbol.for("dropdownTrigger"),Me=Symbol.for("dropdownItem"),oe=Symbol.for("dropdownAction"),qe=Symbol.for("alertGroup"),ne={showPassword:"eye-on",hidePassword:"eye-off",showDatePicker:"calendar",showTimePicker:"time",showColorPicker:"color",clear:"close",add:"add",remove:"trash",edit:"edit",download:"download"},ae=(function(e){return e.simple="simple",e.normal="normal",e.detailed="detailed",e})({}),le={prefix:ae.normal},ie={to:{type:[String,Object]},href:String,target:String,rel:{type:String,default:"noopener noreferrer"}},A={valid:{type:Boolean,default:!1},validLabel:{type:[String,Array],default:void 0}},V={invalid:{type:Boolean,default:!1},invalidLabel:{type:[String,Array],default:void 0}},O={loading:{type:Boolean,default:!1},loadingLabel:{type:String,default:"Loading..."}},N={disabled:{type:Boolean,default:!1}},D={required:{type:Boolean,default:!1}},ue={active:{type:Boolean,default:!1}},se={current:{type:Boolean,default:!1}},Je={showClearAction:{type:Boolean,default:!1},iconClear:{type:[String,Object],default:ne.clear},labelClear:{type:String,default:"Clear"}},de={pressed:{type:Boolean,default:!1}},C={label:{type:[String,Number],default:void 0}},L={readonly:{type:Boolean,default:!1}},P={modifiers:{type:[String,Array],default:void 0}},R={hintLabel:{type:String,default:""}},fe={options:{type:Array,default:()=>[]},labelKey:{type:[String,Function],default:"label"},valueKey:{type:[String,Function],default:"value"},disabledKey:{type:[String,Function],default:"disabled"}},ce={count:{type:[Boolean,String],default:!1,validator:e=>[!0,!1,"limit","countdown"].includes(e)}},pe={debounce:{type:[Number,String],default:void 0}},G={icon:{type:[String,Object],default:void 0},iconPosition:{type:String,default:k.before,validation:e=>Object.values(k).includes(e)}},F={tabindex:{type:[String,Number],default:0}},ve={floating:{type:Boolean,default:!1}},me={unselectable:{type:Boolean,default:!0}},x={id:[String,Number]},Ye={placement:{type:String,default:y.bottom,validator:e=>Object.values(y).includes(e)||Object.values(Z).includes(e)},strategy:{type:String,default:void 0,validator:e=>Object.values(X).includes(e)},transitionName:{type:String,default:void 0},offset:{type:[Number,String,Object],default:0},shift:{type:[Boolean,Object],default:!1},flip:{type:[Boolean,Object],default:!0},size:{type:[Boolean,Object],default:()=>({padding:10})},autoPlacement:{type:[Boolean,Object],default:!1},arrow:{type:Boolean,default:!1},keepOpen:{type:Boolean,default:!1},autofocusFirst:{type:Boolean,default:!0},triggerWidth:{type:Boolean,default:!1}},K={...x,name:{type:String,required:!0}},ge={autofocus:{type:Boolean,default:!1}},ye={autocomplete:{type:String,default:"off"}},Ue={...K,...ge,...ye,...F,...N,...L,...A,...V,...R,...O,...P,...ce,...pe,...G,...ve,...C,minlength:{type:[String,Number],default:void 0},maxlength:{type:[String,Number],default:void 0},placeholder:{type:String,default:void 0},...D},ze={...K,...F,...A,...V,...R,...N,...L,...P,...C,...O,value:{type:[String,Number,Boolean],default:void 0},modelValue:{type:[Object,Number,Boolean,String],default:void 0}},We={...A,...V,...fe,...R,...N,...L,...P,...C,...O,...D,modelValue:{type:[String,Array,Boolean,Number,Symbol],default:void 0},name:{type:String,required:!0},vertical:{type:Boolean,default:!1}},M={...N,...C,...de,...ue,...se,...ie,type:{type:String,default:T.button,validator:e=>Object.values(T).includes(e)},ariaLabel:{type:String,default:void 0},defaultTag:{type:String,default:h.button}},He={storageType:{type:String,default:j.local,validator:e=>Object.values(j).includes(e)},storageKey:String};function be(e){const r=(0,t.inject)(e,void 0),a=(0,t.computed)(()=>r!==void 0);function o(n,u,v){const d=r?.[n];if(d)return(0,t.computed)({get(){return d.value},set(c){d.value=c}});const m=(0,t.toRef)(u,n);return(0,t.computed)({get(){return m.value},set(c){v&&v(`update:${n}`,c)}})}return{group:r,isInGroup:a,getGroupOrLocalRef:o}}var he=["update:modelValue"],Se={...M,...x,...P,...me,...O,...G,iconPosition:{type:String,default:y.left,validator:e=>Object.values(y).includes(e)},loadingIcon:{type:String,default:"eos-icons:bubble-loading"},toggle:{type:Boolean,default:!1},value:{type:[String,Number,Boolean],default:void 0},uncheckedValue:{type:[String,Number,Boolean],default:void 0},modelValue:{type:[String,Number,Boolean],default:void 0}};function Be(e,r){const{group:a,isInGroup:o,getGroupOrLocalRef:n}=be(te),{id:u,iconPosition:v,icon:d,label:m,pressed:c}=(0,t.toRefs)(e);return{group:a,isInGroup:o,modelValue:n("modelValue",e,r),toggle:n("toggle",e),unselectable:n("unselectable",e),multiple:(0,t.computed)(()=>a?.multiple.value??!1),modifiers:(0,t.computed)(()=>{let p=e.modifiers,l=a?.modifiers.value;const i=new Set;return p&&(Array.isArray(p)||(p=p.split(" ")),p.forEach(g=>i.add(g))),l&&(Array.isArray(l)||(l=l.split(" ")),l.forEach(g=>i.add(g))),[...i]}),disabled:(0,t.computed)(()=>!!(e.disabled||a?.disabled.value)),id:u,pressed:c,iconPosition:v,icon:d,label:m}}var Ie=["click","mouseover","mouseleave"],ke=M;function q(){return(0,t.inject)(ee,void 0)}function Oe(){return(0,t.inject)(re,{})}function Ne(){return(0,t.inject)(oe,{})}var Ce={name:"VvAction"},Pe=(0,t.defineComponent)({...Ce,props:ke,emits:Ie,setup(e,{expose:r,emit:a}){const o=e,n=a,u=(0,t.getCurrentInstance)(),v=q(),d=(0,t.ref)(null);r({$el:d});const{reference:m,bus:c,aria:p,expanded:l}=Oe();(0,t.watch)(()=>d.value,s=>{m&&(m.value=s)});const i=(0,t.computed)(()=>o.pressed||l?.value),{role:g}=Ne(),S=(0,t.computed)(()=>{switch(!0){case o.disabled:return h.button;case o.to!==void 0:return v?.nuxt?(0,t.resolveComponent)(h.nuxtLink):h.routerLink;case o.href!==void 0:return h.a;default:return o.defaultTag}}),E=(0,t.computed)(()=>{const s={...p?.value,ariaPressed:i.value?!0:void 0,ariaLabel:o.ariaLabel,role:g?.value};switch(S.value){case h.a:return{...s,href:o.href,target:o.target,rel:o.rel};case h.routerLink:case h.nuxtLink:return{...s,to:o.to,target:o.target};case h.button:return{...s,type:o.type,disabled:o.disabled};default:return s}});function w(s){if(o.disabled){s.preventDefault();return}if(u?.vnode.props?.onClick){n("click",s);return}c?.emit("click",s)}function B(s){if(u?.vnode.props?.onMouseover){n("mouseover",s);return}c?.emit("mouseover",s)}function _(s){if(u?.vnode.props?.onMouseleave){n("mouseleave",s);return}c?.emit("mouseleave",s)}return(s,H)=>((0,t.openBlock)(),(0,t.createBlock)((0,t.resolveDynamicComponent)((0,t.unref)(S)),(0,t.mergeProps)((0,t.unref)(E),{ref_key:"rootEl",ref:d,class:{active:s.active,pressed:(0,t.unref)(i),disabled:s.disabled,current:s.current},onClickPassive:w,onMouseoverPassive:B,onMouseleavePassive:_}),{default:(0,t.withCtx)(()=>[(0,t.renderSlot)(s.$slots,"default",{},()=>[(0,t.createTextVNode)((0,t.toDisplayString)(s.label),1)])]),_:3},16,["class"]))}}),Ee=Pe;function J(e,r,a){return(0,t.computed)(()=>{const o={[e]:!0},n=typeof r?.value=="string"?r.value.split(" "):r?.value;return n&&Array.isArray(n)&&n.forEach(u=>{u&&(o[`${e}--${u}`]=!0)}),a&&Object.keys(a.value).forEach(u=>{o[`${e}--${u}`]=(0,t.unref)(a.value[u])}),o})}var we={name:"VvIcon"},_e=(0,t.defineComponent)({...we,props:(0,t.mergeDefaults)({name:{},color:{},width:{},height:{},provider:{},prefix:{},src:{},horizontalFlip:{type:Boolean},verticalFlip:{type:Boolean},flip:{},mode:{},inline:{type:Boolean},rotate:{},onLoad:{type:Function},svg:{},modifiers:{}},le),setup(e){const r=e,a=(0,t.computed)(()=>typeof r.rotate=="string"?Number.parseFloat(r.rotate):r.rotate),o=(0,t.ref)(!0),n=q(),{modifiers:u}=(0,t.toRefs)(r),v=J("vv-icon",u),d=(0,t.computed)(()=>r.provider||n?.iconsProvider),m=(0,t.computed)(()=>{const l=r.name??"",i=`@${d.value}:${r.prefix}:${l}`;if((0,b.iconLoaded)(i))return i;const g=n?.iconsCollections.find(S=>(0,b.iconLoaded)(`@${d.value}:${S.prefix}:${l}`));return g?`@${d.value}:${g.prefix}:${l}`:l});function c(l){const i=typeof window<"u"?new window.DOMParser:null;return i?i.parseFromString(l,"text/html").querySelector("svg"):null}function p(l){const i=c(l),g=i?.innerHTML.trim()||"";i&&g&&(0,b.addIcon)(`@${d.value}:${r.prefix}:${r.name}`,{body:g,height:i.viewBox.baseVal.height,width:i.viewBox.baseVal.width})}return n&&r.src&&!(0,b.iconLoaded)(`@${d.value}:${r.prefix}:${r.name}`)&&(o.value=!1,n.fetchIcon(r.src).then(l=>{l&&p(l),o.value=!0}).catch(l=>{throw o.value=!0,new Error(`Error during fetch icon: ${l?.message}`)})),r.svg&&p(r.svg),(l,i)=>(0,t.unref)(o)?((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(b.Icon),(0,t.mergeProps)({key:0,class:(0,t.unref)(v)},{inline:e.inline,width:e.width,height:e.height,horizontalFlip:e.horizontalFlip,verticalFlip:e.verticalFlip,flip:e.flip,rotate:(0,t.unref)(a),color:e.color,icon:(0,t.unref)(m)},{onLoad:e.onLoad}),null,16,["class","onLoad"])):(0,t.createCommentVNode)("v-if",!0)}}),Y=_e;function Ae(e){return(0,t.computed)(()=>String(e?.value||(0,t.useId)()))}function U(e,r,a){return a?z(e,a)===z(r,a):$(e,r)}function $(e,r){if(e===r)return!0;if(e&&r&&typeof e=="object"&&typeof r=="object"){const a=Array.isArray(e),o=Array.isArray(r);let n,u,v;if(a&&o){if(u=e.length,u!==r.length)return!1;for(n=u;n--!==0;)if(!$(e[n],r[n]))return!1;return!0}if(a!==o)return!1;const d=e instanceof Date,m=r instanceof Date;if(d!==m)return!1;if(d&&m)return e.getTime()===r.getTime();const c=e instanceof RegExp,p=r instanceof RegExp;if(c!==p)return!1;if(c&&p)return e.toString()===r.toString();const l=Object.keys(e);if(u=l.length,u!==Object.keys(r).length)return!1;for(n=u;n--!==0;)if(!Object.hasOwn(r,l[n]))return!1;for(n=u;n--!==0;)if(v=l[n],!$(e[v],r[v]))return!1;return!0}return Number.isNaN(e)&&Number.isNaN(r)}function z(e,r){if(e&&Object.keys(e).length&&r)if(r.includes(".")){const a=r.split(".");let o=e;for(let n=0,u=a.length;n<u;++n){if(e==null)return null;o=o[a[n]]}return o}else return e[r];else return null}function W(e,r){if(e!=null&&r&&r.length){for(const a of r)if(U(e,a))return!0}return!1}function Ve(e,r){const a=(0,t.computed)(()=>typeof e?.value=="string"?{name:e?.value}:e?.value),o=(0,t.computed)(()=>r?.value===k.before?a.value:void 0),n=(0,t.computed)(()=>r?.value===k.after?a.value:void 0);return{hasIcon:a,hasIconLeft:(0,t.computed)(()=>r?.value===y.left?a.value:void 0),hasIconRight:(0,t.computed)(()=>r?.value===y.right?a.value:void 0),hasIconTop:(0,t.computed)(()=>r?.value===y.top?a.value:void 0),hasIconBottom:(0,t.computed)(()=>r?.value===y.bottom?a.value:void 0),hasIconBefore:o,hasIconAfter:n}}var Le={key:1,class:"vv-button__label"},Re={key:1,class:"vv-button__label"},$e={name:"VvButton",inheritAttrs:!1},je=(0,t.defineComponent)({...$e,props:Se,emits:he,setup(e,{expose:r,emit:a}){const o=e,n=a,u=(0,t.useAttrs)(),v=(0,t.useSlots)(),{id:d,modifiers:m,iconPosition:c,icon:p,label:l,modelValue:i,disabled:g,toggle:S,unselectable:E}=Be(o,n),w=Ae(d),B=(0,t.computed)(()=>u?.name||w.value),_=(0,t.ref)(null);r({$el:(0,t.computed)(()=>_.value?.$el)});const s=(0,t.computed)(()=>S.value?Array.isArray(i.value)?W(B.value,i.value):U(B.value,i.value):o.pressed),H=J("vv-button",m,(0,t.computed)(()=>({reverse:[y.right,y.bottom].includes(c.value),column:[y.top,y.bottom].includes(c.value),"icon-only":!!(p?.value&&!l?.value&&!v.default)}))),{hasIcon:Q}=Ve(p),I=(0,t.computed)(()=>o.value!==void 0?o.value:B.value),De=(0,t.computed)(()=>{if(S.value)return{onClick:Ge}});function Ge(){if(S.value){if(Array.isArray(i.value)){if(W(I.value,i.value)){E.value&&(i.value=i.value.filter(f=>f!==I.value));return}i.value.push(I.value);return}if(I.value===i.value&&E.value){i.value=o.uncheckedValue;return}i.value=I.value}}return(f,Qe)=>((0,t.openBlock)(),(0,t.createBlock)(Ee,(0,t.mergeProps)({...(0,t.unref)(u),...(0,t.unref)(De),disabled:(0,t.unref)(g),pressed:(0,t.unref)(s),active:f.active,type:f.type,to:f.to,href:f.href,target:f.target,rel:f.rel,ariaLabel:f.ariaLabel},{id:(0,t.unref)(w),ref_key:"rootEl",ref:_,class:(0,t.unref)(H)}),{default:(0,t.withCtx)(()=>[(0,t.renderSlot)(f.$slots,"default",{},()=>[f.loading?(0,t.renderSlot)(f.$slots,"loading",{key:0},()=>[f.loadingIcon?((0,t.openBlock)(),(0,t.createBlock)(Y,{key:0,class:"vv-button__loading-icon",name:f.loadingIcon},null,8,["name"])):(0,t.createCommentVNode)("v-if",!0),f.loadingLabel?((0,t.openBlock)(),(0,t.createElementBlock)("span",Le,(0,t.toDisplayString)(f.loadingLabel),1)):(0,t.createCommentVNode)("v-if",!0)]):((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:1},[(0,t.renderSlot)(f.$slots,"before"),(0,t.unref)(Q)?((0,t.openBlock)(),(0,t.createBlock)(Y,(0,t.mergeProps)({key:0},(0,t.unref)(Q),{class:"vv-button__icon"}),null,16)):(0,t.createCommentVNode)("v-if",!0),(0,t.unref)(l)?((0,t.openBlock)(),(0,t.createElementBlock)("span",Re,[(0,t.renderSlot)(f.$slots,"label",{},()=>[(0,t.createTextVNode)((0,t.toDisplayString)((0,t.unref)(l)),1)])])):(0,t.createCommentVNode)("v-if",!0),(0,t.renderSlot)(f.$slots,"after")],64))])]),_:3},16,["id","class"]))}}),Te=je;return Te});
|
|
1
|
+
(function(e,b){typeof exports=="object"&&typeof module<"u"?module.exports=b(require("vue"),require("@iconify/vue")):typeof define=="function"&&define.amd?define(["vue","@iconify/vue"],b):(e=typeof globalThis<"u"?globalThis:e||self,e.VvButton=b(e.Vue,e.IconifyVue))})(this,function(e,b){var R=(function(t){return t.local="local",t.session="session",t})({}),X=(function(t){return t.absolute="absolute",t.fixed="fixed",t})({}),y=(function(t){return t.left="left",t.right="right",t.top="top",t.bottom="bottom",t})({}),Z=(function(t){return t.topStart="top-start",t.topEnd="top-end",t.bottomStart="bottom-start",t.bottomEnd="bottom-end",t.leftStart="left-start",t.leftEnd="left-end",t.rightStart="right-start",t.rightEnd="right-end",t})({}),P=(function(t){return t.before="before",t.after="after",t})({}),D=(function(t){return t.button="button",t.submit="submit",t.reset="reset",t})({}),h=(function(t){return t.nuxtLink="nuxt-link",t.routerLink="router-link",t.a="a",t.button="button",t})({}),ee=Symbol.for("volver"),te=Symbol.for("buttonGroup"),re=Symbol.for("dropdownTrigger"),oe=Symbol.for("dropdownAction"),ne={showPassword:"eye-on",hidePassword:"eye-off",showDatePicker:"calendar",showTimePicker:"time",showColorPicker:"color",clear:"close",add:"add",remove:"trash",edit:"edit",download:"download"},ae={prefix:"normal"},le={to:{type:[String,Object]},href:String,target:String,rel:{type:String,default:"noopener noreferrer"}},E={valid:{type:Boolean,default:!1},validLabel:{type:[String,Array],default:void 0}},L={invalid:{type:Boolean,default:!1},invalidLabel:{type:[String,Array],default:void 0}},I={loading:{type:Boolean,default:!1},loadingLabel:{type:String,default:"Loading..."}},C={disabled:{type:Boolean,default:!1}},T={required:{type:Boolean,default:!1}},ie={active:{type:Boolean,default:!1}},se={current:{type:Boolean,default:!1}},Fe={showClearAction:{type:Boolean,default:!1},iconClear:{type:[String,Object],default:ne.clear},labelClear:{type:String,default:"Clear"}},ue={pressed:{type:Boolean,default:!1}},w={label:{type:[String,Number],default:void 0}},$={readonly:{type:Boolean,default:!1}},N={modifiers:{type:[String,Array],default:void 0}},j={hintLabel:{type:String,default:""}},de={options:{type:Array,default:()=>[]},labelKey:{type:[String,Function],default:"label"},valueKey:{type:[String,Function],default:"value"},disabledKey:{type:[String,Function],default:"disabled"}},fe={count:{type:[Boolean,String],default:!1,validator:t=>[!0,!1,"limit","countdown"].includes(t)}},ce={debounce:{type:[Number,String],default:void 0}},F={icon:{type:[String,Object],default:void 0},iconPosition:{type:String,default:P.before,validation:t=>Object.values(P).includes(t)}},x={tabindex:{type:[String,Number],default:0}},pe={floating:{type:Boolean,default:!1}},ve={unselectable:{type:Boolean,default:!0}},M={id:[String,Number]},xe={placement:{type:String,default:y.bottom,validator:t=>Object.values(y).includes(t)||Object.values(Z).includes(t)},strategy:{type:String,default:void 0,validator:t=>Object.values(X).includes(t)},transitionName:{type:String,default:void 0},offset:{type:[Number,String,Object],default:0},shift:{type:[Boolean,Object],default:!1},flip:{type:[Boolean,Object],default:!0},size:{type:[Boolean,Object],default:()=>({padding:10})},autoPlacement:{type:[Boolean,Object],default:!1},arrow:{type:Boolean,default:!1},keepOpen:{type:Boolean,default:!1},autofocusFirst:{type:Boolean,default:!0},triggerWidth:{type:Boolean,default:!1}},G={...M,name:{type:String,required:!0}},ge={autofocus:{type:Boolean,default:!1}},me={autocomplete:{type:String,default:"off"}},Me={...G,...ge,...me,...x,...C,...$,...E,...L,...j,...I,...N,...fe,...ce,...F,...pe,...w,minlength:{type:[String,Number],default:void 0},maxlength:{type:[String,Number],default:void 0},placeholder:{type:String,default:void 0},...T},Ge={...G,...x,...E,...L,...j,...C,...$,...N,...w,...I,value:{type:[String,Number,Boolean],default:void 0},modelValue:{type:[Object,Number,Boolean,String],default:void 0}},qe={...E,...L,...de,...j,...C,...$,...N,...w,...I,...T,modelValue:{type:[String,Array,Boolean,Number,Symbol],default:void 0},name:{type:String,required:!0},vertical:{type:Boolean,default:!1}},q={...C,...w,...ue,...ie,...se,...le,type:{type:String,default:D.button,validator:t=>Object.values(D).includes(t)},ariaLabel:{type:String,default:void 0},defaultTag:{type:String,default:h.button}},Ke={storageType:{type:String,default:R.local,validator:t=>Object.values(R).includes(t)},storageKey:String};function ye(t){const r=(0,e.inject)(t,void 0),a=(0,e.computed)(()=>r!==void 0);function o(n,s,v){const d=r?.[n];if(d)return(0,e.computed)({get(){return d.value},set(c){d.value=c}});const g=(0,e.toRef)(s,n);return(0,e.computed)({get(){return g.value},set(c){v&&v(`update:${n}`,c)}})}return{group:r,isInGroup:a,getGroupOrLocalRef:o}}var be=["update:modelValue"],he={...q,...M,...N,...ve,...I,...F,iconPosition:{type:String,default:y.left,validator:t=>Object.values(y).includes(t)},loadingIcon:{type:String,default:"eos-icons:bubble-loading"},toggle:{type:Boolean,default:!1},value:{type:[String,Number,Boolean],default:void 0},uncheckedValue:{type:[String,Number,Boolean],default:void 0},modelValue:{type:[String,Number,Boolean],default:void 0}};function Se(t,r){const{group:a,isInGroup:o,getGroupOrLocalRef:n}=ye(te),{id:s,iconPosition:v,icon:d,label:g,pressed:c}=(0,e.toRefs)(t);return{group:a,isInGroup:o,modelValue:n("modelValue",t,r),toggle:n("toggle",t),unselectable:n("unselectable",t),multiple:(0,e.computed)(()=>a?.multiple.value??!1),modifiers:(0,e.computed)(()=>{let p=t.modifiers,l=a?.modifiers.value;const i=new Set;return p&&(Array.isArray(p)||(p=p.split(" ")),p.forEach(m=>i.add(m))),l&&(Array.isArray(l)||(l=l.split(" ")),l.forEach(m=>i.add(m))),[...i]}),disabled:(0,e.computed)(()=>!!(t.disabled||a?.disabled.value)),id:s,pressed:c,iconPosition:v,icon:d,label:g}}var Be=["click","mouseover","mouseleave"],ke=q;function K(){return(0,e.inject)(ee,void 0)}function Pe(){return(0,e.inject)(re,{})}function Ie(){return(0,e.inject)(oe,{})}var Ce={name:"VvAction"},we=(0,e.defineComponent)({...Ce,props:ke,emits:Be,setup(t,{expose:r,emit:a}){const o=t,n=a,s=(0,e.getCurrentInstance)(),v=K(),d=(0,e.ref)(null);r({$el:d});const{reference:g,bus:c,aria:p,expanded:l}=Pe();(0,e.watch)(()=>d.value,u=>{g&&(g.value=u)});const i=(0,e.computed)(()=>o.pressed||l?.value),{role:m}=Ie(),S=(0,e.computed)(()=>{switch(!0){case o.disabled:return h.button;case o.to!==void 0:return v?.nuxt?(0,e.resolveComponent)(h.nuxtLink):h.routerLink;case o.href!==void 0:return h.a;default:return o.defaultTag}}),O=(0,e.computed)(()=>{const u={...p?.value,ariaPressed:i.value?!0:void 0,ariaLabel:o.ariaLabel,role:m?.value};switch(S.value){case h.a:return{...u,href:o.href,target:o.target,rel:o.rel};case h.routerLink:case h.nuxtLink:return{...u,to:o.to,target:o.target};case h.button:return{...u,type:o.type,disabled:o.disabled};default:return u}});function V(u){if(o.disabled){u.preventDefault();return}if(s?.vnode.props?.onClick){n("click",u);return}c?.emit("click",u)}function B(u){if(s?.vnode.props?.onMouseover){n("mouseover",u);return}c?.emit("mouseover",u)}function A(u){if(s?.vnode.props?.onMouseleave){n("mouseleave",u);return}c?.emit("mouseleave",u)}return(u,H)=>((0,e.openBlock)(),(0,e.createBlock)((0,e.resolveDynamicComponent)((0,e.unref)(S)),(0,e.mergeProps)((0,e.unref)(O),{ref_key:"rootEl",ref:d,class:{active:u.active,pressed:(0,e.unref)(i),disabled:u.disabled,current:u.current},onClickPassive:V,onMouseoverPassive:B,onMouseleavePassive:A}),{default:(0,e.withCtx)(()=>[(0,e.renderSlot)(u.$slots,"default",{},()=>[(0,e.createTextVNode)((0,e.toDisplayString)(u.label),1)])]),_:3},16,["class"]))}}),Ne=we;function z(t,r,a){return(0,e.computed)(()=>{const o={[t]:!0},n=typeof r?.value=="string"?r.value.split(" "):r?.value;return n&&Array.isArray(n)&&n.forEach(s=>{s&&(o[`${t}--${s}`]=!0)}),a&&Object.keys(a.value).forEach(s=>{o[`${t}--${s}`]=(0,e.unref)(a.value[s])}),o})}var Oe={name:"VvIcon"},Ve=(0,e.defineComponent)({...Oe,props:(0,e.mergeDefaults)({name:{},color:{},width:{},height:{},provider:{},prefix:{},src:{},horizontalFlip:{type:Boolean},verticalFlip:{type:Boolean},flip:{},mode:{},inline:{type:Boolean},rotate:{},onLoad:{type:Function},svg:{},modifiers:{}},ae),setup(t){const r=t,a=(0,e.computed)(()=>typeof r.rotate=="string"?Number.parseFloat(r.rotate):r.rotate),o=(0,e.ref)(!0),n=K(),{modifiers:s}=(0,e.toRefs)(r),v=z("vv-icon",s),d=(0,e.computed)(()=>r.provider||n?.iconsProvider),g=(0,e.computed)(()=>{const l=r.name??"",i=`@${d.value}:${r.prefix}:${l}`;if((0,b.iconLoaded)(i))return i;const m=n?.iconsCollections.find(S=>(0,b.iconLoaded)(`@${d.value}:${S.prefix}:${l}`));return m?`@${d.value}:${m.prefix}:${l}`:l});function c(l){const i=typeof window<"u"?new window.DOMParser:null;return i?i.parseFromString(l,"text/html").querySelector("svg"):null}function p(l){const i=c(l),m=i?.innerHTML.trim()||"";i&&m&&(0,b.addIcon)(`@${d.value}:${r.prefix}:${r.name}`,{body:m,height:i.viewBox.baseVal.height,width:i.viewBox.baseVal.width})}return n&&r.src&&!(0,b.iconLoaded)(`@${d.value}:${r.prefix}:${r.name}`)&&(o.value=!1,n.fetchIcon(r.src).then(l=>{l&&p(l),o.value=!0}).catch(l=>{throw o.value=!0,new Error(`Error during fetch icon: ${l?.message}`)})),r.svg&&p(r.svg),(l,i)=>(0,e.unref)(o)?((0,e.openBlock)(),(0,e.createBlock)((0,e.unref)(b.Icon),(0,e.mergeProps)({key:0,class:(0,e.unref)(v)},{inline:t.inline,width:t.width,height:t.height,horizontalFlip:t.horizontalFlip,verticalFlip:t.verticalFlip,flip:t.flip,rotate:(0,e.unref)(a),color:t.color,icon:(0,e.unref)(g)},{onLoad:t.onLoad}),null,16,["class","onLoad"])):(0,e.createCommentVNode)("v-if",!0)}}),J=Ve;function Ae(t){return(0,e.computed)(()=>String(t?.value||(0,e.useId)()))}function U(t,r,a){return a?Y(t,a)===Y(r,a):_(t,r)}function _(t,r){if(t===r)return!0;if(t&&r&&typeof t=="object"&&typeof r=="object"){const a=Array.isArray(t),o=Array.isArray(r);let n,s,v;if(a&&o){if(s=t.length,s!==r.length)return!1;for(n=s;n--!==0;)if(!_(t[n],r[n]))return!1;return!0}if(a!==o)return!1;const d=t instanceof Date,g=r instanceof Date;if(d!==g)return!1;if(d&&g)return t.getTime()===r.getTime();const c=t instanceof RegExp,p=r instanceof RegExp;if(c!==p)return!1;if(c&&p)return t.toString()===r.toString();const l=Object.keys(t);if(s=l.length,s!==Object.keys(r).length)return!1;for(n=s;n--!==0;)if(!Object.hasOwn(r,l[n]))return!1;for(n=s;n--!==0;)if(v=l[n],!_(t[v],r[v]))return!1;return!0}return Number.isNaN(t)&&Number.isNaN(r)}function Y(t,r){if(t&&Object.keys(t).length&&r)if(r.includes(".")){const a=r.split(".");let o=t;for(let n=0,s=a.length;n<s;++n){if(t==null)return null;o=o[a[n]]}return o}else return t[r];else return null}function W(t,r){if(t!=null&&r&&r.length){for(const a of r)if(U(t,a))return!0}return!1}function Ee(t,r){const a=(0,e.computed)(()=>typeof t?.value=="string"?{name:t?.value}:t?.value),o=(0,e.computed)(()=>r?.value===P.before?a.value:void 0),n=(0,e.computed)(()=>r?.value===P.after?a.value:void 0);return{hasIcon:a,hasIconLeft:(0,e.computed)(()=>r?.value===y.left?a.value:void 0),hasIconRight:(0,e.computed)(()=>r?.value===y.right?a.value:void 0),hasIconTop:(0,e.computed)(()=>r?.value===y.top?a.value:void 0),hasIconBottom:(0,e.computed)(()=>r?.value===y.bottom?a.value:void 0),hasIconBefore:o,hasIconAfter:n}}var Le={key:1,class:"vv-button__label"},$e={key:1,class:"vv-button__label"},je={name:"VvButton",inheritAttrs:!1},_e=(0,e.defineComponent)({...je,props:he,emits:be,setup(t,{expose:r,emit:a}){const o=t,n=a,s=(0,e.useAttrs)(),v=(0,e.useSlots)(),{id:d,modifiers:g,iconPosition:c,icon:p,label:l,modelValue:i,disabled:m,toggle:S,unselectable:O}=Se(o,n),V=Ae(d),B=(0,e.computed)(()=>s?.name||V.value),A=(0,e.ref)(null);r({$el:(0,e.computed)(()=>A.value?.$el)});const u=(0,e.computed)(()=>S.value?Array.isArray(i.value)?W(B.value,i.value):U(B.value,i.value):o.pressed),H=z("vv-button",g,(0,e.computed)(()=>({reverse:[y.right,y.bottom].includes(c.value),column:[y.top,y.bottom].includes(c.value),"icon-only":!!(p?.value&&!l?.value&&!v.default)}))),{hasIcon:Q}=Ee(p),k=(0,e.computed)(()=>o.value!==void 0?o.value:B.value),De=(0,e.computed)(()=>{if(S.value)return{onClick:Te}});function Te(){if(S.value){if(Array.isArray(i.value)){if(W(k.value,i.value)){O.value&&(i.value=i.value.filter(f=>f!==k.value));return}i.value.push(k.value);return}if(k.value===i.value&&O.value){i.value=o.uncheckedValue;return}i.value=k.value}}return(f,ze)=>((0,e.openBlock)(),(0,e.createBlock)(Ne,(0,e.mergeProps)({...(0,e.unref)(s),...(0,e.unref)(De),disabled:(0,e.unref)(m),pressed:(0,e.unref)(u),active:f.active,type:f.type,to:f.to,href:f.href,target:f.target,rel:f.rel,ariaLabel:f.ariaLabel},{id:(0,e.unref)(V),ref_key:"rootEl",ref:A,class:(0,e.unref)(H)}),{default:(0,e.withCtx)(()=>[(0,e.renderSlot)(f.$slots,"default",{},()=>[f.loading?(0,e.renderSlot)(f.$slots,"loading",{key:0},()=>[f.loadingIcon?((0,e.openBlock)(),(0,e.createBlock)(J,{key:0,class:"vv-button__loading-icon",name:f.loadingIcon},null,8,["name"])):(0,e.createCommentVNode)("v-if",!0),f.loadingLabel?((0,e.openBlock)(),(0,e.createElementBlock)("span",Le,(0,e.toDisplayString)(f.loadingLabel),1)):(0,e.createCommentVNode)("v-if",!0)]):((0,e.openBlock)(),(0,e.createElementBlock)(e.Fragment,{key:1},[(0,e.renderSlot)(f.$slots,"before"),(0,e.unref)(Q)?((0,e.openBlock)(),(0,e.createBlock)(J,(0,e.mergeProps)({key:0},(0,e.unref)(Q),{class:"vv-button__icon"}),null,16)):(0,e.createCommentVNode)("v-if",!0),(0,e.unref)(l)?((0,e.openBlock)(),(0,e.createElementBlock)("span",$e,[(0,e.renderSlot)(f.$slots,"label",{},()=>[(0,e.createTextVNode)((0,e.toDisplayString)((0,e.unref)(l)),1)])])):(0,e.createCommentVNode)("v-if",!0),(0,e.renderSlot)(f.$slots,"after")],64))])]),_:3},16,["id","class"]))}}),Re=_e;return Re});
|