@volverjs/ui-vue 0.0.13-beta.9 → 0.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/icons.cjs +2 -2
- package/bin/icons.js +44 -43
- package/dist/components/VvAccordion/VvAccordion.es.js +121 -119
- package/dist/components/VvAccordion/VvAccordion.umd.js +1 -1
- package/dist/components/VvAccordionGroup/VvAccordionGroup.es.js +218 -216
- package/dist/components/VvAccordionGroup/VvAccordionGroup.umd.js +1 -1
- package/dist/components/VvAction/VvAction.es.js +46 -48
- package/dist/components/VvAction/VvAction.umd.js +1 -1
- package/dist/components/VvAlert/VvAlert.es.js +46 -46
- package/dist/components/VvAlert/VvAlert.umd.js +1 -1
- package/dist/components/VvAlertGroup/VvAlertGroup.es.js +66 -66
- package/dist/components/VvAlertGroup/VvAlertGroup.umd.js +1 -1
- package/dist/components/VvAvatar/VvAvatar.es.js +47 -49
- package/dist/components/VvAvatar/VvAvatar.umd.js +1 -1
- package/dist/components/VvAvatarGroup/VvAvatarGroup.es.js +66 -68
- package/dist/components/VvAvatarGroup/VvAvatarGroup.umd.js +1 -1
- package/dist/components/VvBadge/VvBadge.es.js +43 -45
- package/dist/components/VvBadge/VvBadge.umd.js +1 -1
- package/dist/components/VvBreadcrumb/VvBreadcrumb.es.js +77 -79
- package/dist/components/VvBreadcrumb/VvBreadcrumb.umd.js +1 -1
- package/dist/components/VvButton/VvButton.es.js +63 -65
- package/dist/components/VvButton/VvButton.umd.js +1 -1
- package/dist/components/VvButtonGroup/VvButtonGroup.es.js +56 -58
- package/dist/components/VvButtonGroup/VvButtonGroup.umd.js +1 -1
- package/dist/components/VvCard/VvCard.es.js +53 -55
- package/dist/components/VvCard/VvCard.umd.js +1 -1
- package/dist/components/VvCheckbox/VvCheckbox.es.js +67 -69
- package/dist/components/VvCheckbox/VvCheckbox.umd.js +1 -1
- package/dist/components/VvCheckboxGroup/VvCheckboxGroup.es.js +88 -90
- package/dist/components/VvCheckboxGroup/VvCheckboxGroup.umd.js +1 -1
- package/dist/components/VvCombobox/VvCombobox.es.js +836 -825
- package/dist/components/VvCombobox/VvCombobox.umd.js +1 -1
- package/dist/components/VvDialog/VvDialog.es.js +58 -60
- package/dist/components/VvDialog/VvDialog.umd.js +1 -1
- package/dist/components/VvDropdown/VvDropdown.es.js +228 -227
- package/dist/components/VvDropdown/VvDropdown.umd.js +1 -1
- package/dist/components/VvDropdown/VvDropdown.vue.d.ts +5 -93
- package/dist/components/VvDropdownAction/VvDropdownAction.es.js +87 -89
- package/dist/components/VvDropdownAction/VvDropdownAction.umd.js +1 -1
- package/dist/components/VvDropdownItem/VvDropdownItem.es.js +54 -56
- package/dist/components/VvDropdownItem/VvDropdownItem.umd.js +1 -1
- package/dist/components/VvDropdownOptgroup/VvDropdownOptgroup.es.js +34 -36
- package/dist/components/VvDropdownOptgroup/VvDropdownOptgroup.umd.js +1 -1
- package/dist/components/VvDropdownOption/VvDropdownOption.es.js +63 -65
- package/dist/components/VvDropdownOption/VvDropdownOption.umd.js +1 -1
- package/dist/components/VvIcon/VvIcon.es.js +40 -42
- package/dist/components/VvIcon/VvIcon.umd.js +1 -1
- package/dist/components/VvInputFile/VvInputFile.es.js +129 -131
- package/dist/components/VvInputFile/VvInputFile.umd.js +1 -1
- package/dist/components/VvInputText/VvInputText.es.js +445 -444
- package/dist/components/VvInputText/VvInputText.umd.js +1 -1
- package/dist/components/VvNav/VvNav.es.js +84 -86
- package/dist/components/VvNav/VvNav.umd.js +1 -1
- package/dist/components/VvNavItem/VvNavItem.es.js +51 -53
- package/dist/components/VvNavItem/VvNavItem.umd.js +1 -1
- package/dist/components/VvProgress/VvProgress.es.js +40 -42
- package/dist/components/VvProgress/VvProgress.umd.js +1 -1
- package/dist/components/VvRadio/VvRadio.es.js +58 -60
- package/dist/components/VvRadio/VvRadio.umd.js +1 -1
- package/dist/components/VvRadioGroup/VvRadioGroup.es.js +63 -65
- package/dist/components/VvRadioGroup/VvRadioGroup.umd.js +1 -1
- package/dist/components/VvSelect/VvSelect.es.js +89 -91
- package/dist/components/VvSelect/VvSelect.umd.js +1 -1
- package/dist/components/VvTab/VvTab.es.js +85 -87
- package/dist/components/VvTab/VvTab.umd.js +1 -1
- package/dist/components/VvTextarea/VvTextarea.es.js +393 -392
- package/dist/components/VvTextarea/VvTextarea.umd.js +1 -1
- package/dist/components/VvTooltip/VvTooltip.es.js +35 -37
- package/dist/components/VvTooltip/VvTooltip.umd.js +1 -1
- package/dist/components/VvVirtualScroll/VvVirtualScroll.vue.d.ts +2 -2
- package/dist/components/index.es.js +1852 -1835
- package/dist/components/index.umd.js +1 -1
- package/dist/composables/index.es.js +90 -85
- package/dist/composables/index.umd.js +2 -2
- package/dist/composables/useTextCount.d.ts +1 -1
- package/dist/composables/useVirtualScroll.d.ts +4 -4
- package/dist/directives/index.es.js +177 -601
- package/dist/directives/index.umd.js +1 -420
- package/dist/directives/v-contextmenu.es.js +48 -471
- package/dist/directives/v-contextmenu.umd.js +1 -420
- package/dist/directives/v-tooltip.es.js +40 -42
- package/dist/directives/v-tooltip.umd.js +1 -1
- package/dist/icons.d.ts +0 -3
- package/dist/icons.es.js +18 -21
- package/dist/icons.umd.js +1 -1
- package/dist/index.es.js +48 -48
- package/dist/index.umd.js +1 -1
- package/dist/json-render/index.es.js +1961 -1944
- package/dist/json-render/index.umd.js +1 -1
- package/dist/stories/AccordionGroup/AccordionGroupSlots.stories.d.ts +14 -14
- package/dist/stories/CheckboxGroup/CheckboxGroup.settings.d.ts +1 -1
- package/dist/stories/Radio/Radio.settings.d.ts +1 -1
- package/dist/stories/RadioGroup/RadioGroup.settings.d.ts +1 -1
- package/dist/types/floating-ui.d.ts +14 -5
- package/package.json +58 -52
- package/src/Volver.ts +326 -0
- package/src/assets/icons/detailed/add-circle.svg +12 -0
- package/src/assets/icons/detailed/add.svg +8 -0
- package/src/assets/icons/detailed/align-center.svg +12 -0
- package/src/assets/icons/detailed/align-justify.svg +12 -0
- package/src/assets/icons/detailed/align-left.svg +12 -0
- package/src/assets/icons/detailed/align-right.svg +12 -0
- package/src/assets/icons/detailed/analysis-2.svg +20 -0
- package/src/assets/icons/detailed/analysis-3.svg +8 -0
- package/src/assets/icons/detailed/analysis.svg +16 -0
- package/src/assets/icons/detailed/apple.svg +16 -0
- package/src/assets/icons/detailed/arrow-down.svg +8 -0
- package/src/assets/icons/detailed/arrow-left.svg +8 -0
- package/src/assets/icons/detailed/arrow-right.svg +8 -0
- package/src/assets/icons/detailed/arrow-up.svg +8 -0
- package/src/assets/icons/detailed/attachment.svg +8 -0
- package/src/assets/icons/detailed/back-to-front.svg +17 -0
- package/src/assets/icons/detailed/bell-active.svg +14 -0
- package/src/assets/icons/detailed/bell.svg +14 -0
- package/src/assets/icons/detailed/bold.svg +8 -0
- package/src/assets/icons/detailed/bookmark-active.svg +12 -0
- package/src/assets/icons/detailed/bookmark.svg +12 -0
- package/src/assets/icons/detailed/building.svg +26 -0
- package/src/assets/icons/detailed/bullet-list.svg +22 -0
- package/src/assets/icons/detailed/calendar.svg +26 -0
- package/src/assets/icons/detailed/camera-off.svg +12 -0
- package/src/assets/icons/detailed/camera-on.svg +17 -0
- package/src/assets/icons/detailed/catalog.svg +15 -0
- package/src/assets/icons/detailed/certificate.svg +10 -0
- package/src/assets/icons/detailed/chat.svg +6 -0
- package/src/assets/icons/detailed/check-badge.svg +9 -0
- package/src/assets/icons/detailed/check-circle.svg +10 -0
- package/src/assets/icons/detailed/check.svg +6 -0
- package/src/assets/icons/detailed/checkbox.svg +8 -0
- package/src/assets/icons/detailed/chevron-down-circle.svg +10 -0
- package/src/assets/icons/detailed/chevron-down.svg +6 -0
- package/src/assets/icons/detailed/chevron-left-circle.svg +10 -0
- package/src/assets/icons/detailed/chevron-left.svg +6 -0
- package/src/assets/icons/detailed/chevron-right-circle.svg +7 -0
- package/src/assets/icons/detailed/chevron-up-circle.svg +10 -0
- package/src/assets/icons/detailed/chevron-up.svg +6 -0
- package/src/assets/icons/detailed/circle.svg +8 -0
- package/src/assets/icons/detailed/classroom.svg +38 -0
- package/src/assets/icons/detailed/clear-field.svg +14 -0
- package/src/assets/icons/detailed/clear-style.svg +9 -0
- package/src/assets/icons/detailed/close-circle.svg +14 -0
- package/src/assets/icons/detailed/close-loader.svg +6 -0
- package/src/assets/icons/detailed/close.svg +8 -0
- package/src/assets/icons/detailed/coffee.svg +21 -0
- package/src/assets/icons/detailed/color.svg +20 -0
- package/src/assets/icons/detailed/contact-us.svg +27 -0
- package/src/assets/icons/detailed/copy.svg +10 -0
- package/src/assets/icons/detailed/courses.svg +22 -0
- package/src/assets/icons/detailed/dashboard.svg +20 -0
- package/src/assets/icons/detailed/download.svg +10 -0
- package/src/assets/icons/detailed/drag.svg +10 -0
- package/src/assets/icons/detailed/duplicate.svg +23 -0
- package/src/assets/icons/detailed/edit.svg +16 -0
- package/src/assets/icons/detailed/elearning.svg +13 -0
- package/src/assets/icons/detailed/email.svg +11 -0
- package/src/assets/icons/detailed/error-2.svg +8 -0
- package/src/assets/icons/detailed/error.svg +12 -0
- package/src/assets/icons/detailed/exercise.svg +26 -0
- package/src/assets/icons/detailed/external-link.svg +11 -0
- package/src/assets/icons/detailed/extract.svg +20 -0
- package/src/assets/icons/detailed/eye-off.svg +15 -0
- package/src/assets/icons/detailed/eye-on.svg +8 -0
- package/src/assets/icons/detailed/fail.svg +11 -0
- package/src/assets/icons/detailed/fast-back.svg +20 -0
- package/src/assets/icons/detailed/fast-forward.svg +20 -0
- package/src/assets/icons/detailed/file-add.svg +19 -0
- package/src/assets/icons/detailed/file-duplicate.svg +16 -0
- package/src/assets/icons/detailed/file-remove.svg +17 -0
- package/src/assets/icons/detailed/file-required.svg +23 -0
- package/src/assets/icons/detailed/file.svg +13 -0
- package/src/assets/icons/detailed/filter-2.svg +22 -0
- package/src/assets/icons/detailed/filter-active.svg +12 -0
- package/src/assets/icons/detailed/filter.svg +12 -0
- package/src/assets/icons/detailed/flag.svg +11 -0
- package/src/assets/icons/detailed/folder.svg +14 -0
- package/src/assets/icons/detailed/full-width.svg +11 -0
- package/src/assets/icons/detailed/go-to-back.svg +19 -0
- package/src/assets/icons/detailed/grid.svg +20 -0
- package/src/assets/icons/detailed/group-add.svg +24 -0
- package/src/assets/icons/detailed/group.svg +16 -0
- package/src/assets/icons/detailed/heart-active.svg +12 -0
- package/src/assets/icons/detailed/heart.svg +12 -0
- package/src/assets/icons/detailed/highlighter.svg +10 -0
- package/src/assets/icons/detailed/home.svg +12 -0
- package/src/assets/icons/detailed/hourglass.svg +12 -0
- package/src/assets/icons/detailed/image.svg +15 -0
- package/src/assets/icons/detailed/info-badge.svg +9 -0
- package/src/assets/icons/detailed/information.svg +12 -0
- package/src/assets/icons/detailed/italic.svg +10 -0
- package/src/assets/icons/detailed/key.svg +5 -0
- package/src/assets/icons/detailed/language.svg +14 -0
- package/src/assets/icons/detailed/learning-path.svg +7 -0
- package/src/assets/icons/detailed/light-off.svg +10 -0
- package/src/assets/icons/detailed/light-on.svg +18 -0
- package/src/assets/icons/detailed/link.svg +12 -0
- package/src/assets/icons/detailed/lock.svg +13 -0
- package/src/assets/icons/detailed/login.svg +11 -0
- package/src/assets/icons/detailed/logout.svg +11 -0
- package/src/assets/icons/detailed/maximaze.svg +12 -0
- package/src/assets/icons/detailed/menu.svg +9 -0
- package/src/assets/icons/detailed/merge.svg +20 -0
- package/src/assets/icons/detailed/minimize.svg +14 -0
- package/src/assets/icons/detailed/mixed-class.svg +40 -0
- package/src/assets/icons/detailed/more-horizontal.svg +7 -0
- package/src/assets/icons/detailed/more-vertical.svg +7 -0
- package/src/assets/icons/detailed/news.svg +12 -0
- package/src/assets/icons/detailed/no-prerequisites.svg +13 -0
- package/src/assets/icons/detailed/notes.svg +14 -0
- package/src/assets/icons/detailed/number-code.svg +34 -0
- package/src/assets/icons/detailed/numbered-list.svg +18 -0
- package/src/assets/icons/detailed/on-site.svg +22 -0
- package/src/assets/icons/detailed/order-down.svg +12 -0
- package/src/assets/icons/detailed/order-up.svg +12 -0
- package/src/assets/icons/detailed/paste.svg +14 -0
- package/src/assets/icons/detailed/pausa.svg +8 -0
- package/src/assets/icons/detailed/pdf.svg +12 -0
- package/src/assets/icons/detailed/phone.svg +10 -0
- package/src/assets/icons/detailed/pin-map.svg +12 -0
- package/src/assets/icons/detailed/pin.svg +15 -0
- package/src/assets/icons/detailed/pizza.svg +17 -0
- package/src/assets/icons/detailed/play.svg +11 -0
- package/src/assets/icons/detailed/plug-in.svg +10 -0
- package/src/assets/icons/detailed/pointer.svg +12 -0
- package/src/assets/icons/detailed/printer.svg +26 -0
- package/src/assets/icons/detailed/profile-add.svg +20 -0
- package/src/assets/icons/detailed/profile.svg +10 -0
- package/src/assets/icons/detailed/push-pin-off.svg +11 -0
- package/src/assets/icons/detailed/push-pin-on.svg +9 -0
- package/src/assets/icons/detailed/qrcode.svg +28 -0
- package/src/assets/icons/detailed/question-badge.svg +10 -0
- package/src/assets/icons/detailed/radio.svg +8 -0
- package/src/assets/icons/detailed/redo.svg +9 -0
- package/src/assets/icons/detailed/relations.svg +32 -0
- package/src/assets/icons/detailed/reload.svg +13 -0
- package/src/assets/icons/detailed/remove-circle.svg +10 -0
- package/src/assets/icons/detailed/remove.svg +5 -0
- package/src/assets/icons/detailed/reorder.svg +12 -0
- package/src/assets/icons/detailed/repeat.svg +12 -0
- package/src/assets/icons/detailed/repository.svg +18 -0
- package/src/assets/icons/detailed/request-form.svg +18 -0
- package/src/assets/icons/detailed/resize-100%.svg +15 -0
- package/src/assets/icons/detailed/resize-height.svg +12 -0
- package/src/assets/icons/detailed/resize-width.svg +12 -0
- package/src/assets/icons/detailed/search.svg +12 -0
- package/src/assets/icons/detailed/sequential-prerequisites.svg +20 -0
- package/src/assets/icons/detailed/settings.svg +14 -0
- package/src/assets/icons/detailed/share.svg +20 -0
- package/src/assets/icons/detailed/sketch.svg +12 -0
- package/src/assets/icons/detailed/skills.svg +20 -0
- package/src/assets/icons/detailed/skip-back.svg +12 -0
- package/src/assets/icons/detailed/skip-forward.svg +13 -0
- package/src/assets/icons/detailed/sms.svg +18 -0
- package/src/assets/icons/detailed/sso-access.svg +18 -0
- package/src/assets/icons/detailed/star-active.svg +6 -0
- package/src/assets/icons/detailed/star.svg +6 -0
- package/src/assets/icons/detailed/success.svg +10 -0
- package/src/assets/icons/detailed/sun.svg +24 -0
- package/src/assets/icons/detailed/sunrise.svg +18 -0
- package/src/assets/icons/detailed/support.svg +18 -0
- package/src/assets/icons/detailed/survey.svg +24 -0
- package/src/assets/icons/detailed/table.svg +11 -0
- package/src/assets/icons/detailed/tematic-channels.svg +12 -0
- package/src/assets/icons/detailed/test.svg +14 -0
- package/src/assets/icons/detailed/text-body.svg +8 -0
- package/src/assets/icons/detailed/text-edit.svg +11 -0
- package/src/assets/icons/detailed/text-style.svg +10 -0
- package/src/assets/icons/detailed/time.svg +10 -0
- package/src/assets/icons/detailed/toilet-piper.svg +15 -0
- package/src/assets/icons/detailed/training-points.svg +16 -0
- package/src/assets/icons/detailed/trash.svg +19 -0
- package/src/assets/icons/detailed/underline.svg +8 -0
- package/src/assets/icons/detailed/undo.svg +9 -0
- package/src/assets/icons/detailed/unlock.svg +13 -0
- package/src/assets/icons/detailed/upload.svg +10 -0
- package/src/assets/icons/detailed/user-add.svg +16 -0
- package/src/assets/icons/detailed/user-badge.svg +11 -0
- package/src/assets/icons/detailed/user.svg +8 -0
- package/src/assets/icons/detailed/video-off.svg +17 -0
- package/src/assets/icons/detailed/video-on.svg +16 -0
- package/src/assets/icons/detailed/video-rec.svg +19 -0
- package/src/assets/icons/detailed/view-card.svg +12 -0
- package/src/assets/icons/detailed/view-list.svg +20 -0
- package/src/assets/icons/detailed/view.svg +7 -0
- package/src/assets/icons/detailed/voice-off.svg +14 -0
- package/src/assets/icons/detailed/voice-on.svg +16 -0
- package/src/assets/icons/detailed/volume-down.svg +14 -0
- package/src/assets/icons/detailed/volume-off.svg +19 -0
- package/src/assets/icons/detailed/volume-up.svg +16 -0
- package/src/assets/icons/detailed/warning.svg +16 -0
- package/src/assets/icons/detailed/webinar.svg +57 -0
- package/src/assets/icons/detailed/whiteboard.svg +16 -0
- package/src/assets/icons/detailed/wine.svg +22 -0
- package/src/assets/icons/detailed/zip.svg +17 -0
- package/src/assets/icons/detailed/zoom-in.svg +18 -0
- package/src/assets/icons/detailed/zoom-out.svg +16 -0
- package/src/assets/icons/detailed.json +1 -0
- package/src/assets/icons/normal/add-circle.svg +12 -0
- package/src/assets/icons/normal/add.svg +4 -0
- package/src/assets/icons/normal/align-center.svg +11 -0
- package/src/assets/icons/normal/align-justify.svg +11 -0
- package/src/assets/icons/normal/align-left.svg +11 -0
- package/src/assets/icons/normal/align-right.svg +11 -0
- package/src/assets/icons/normal/analysis-2.svg +18 -0
- package/src/assets/icons/normal/analysis-3.svg +8 -0
- package/src/assets/icons/normal/analysis.svg +14 -0
- package/src/assets/icons/normal/apple.svg +16 -0
- package/src/assets/icons/normal/arrow-down.svg +8 -0
- package/src/assets/icons/normal/arrow-left.svg +8 -0
- package/src/assets/icons/normal/arrow-right.svg +8 -0
- package/src/assets/icons/normal/arrow-up.svg +8 -0
- package/src/assets/icons/normal/attachment.svg +6 -0
- package/src/assets/icons/normal/back-to-front.svg +15 -0
- package/src/assets/icons/normal/bell-active.svg +14 -0
- package/src/assets/icons/normal/bell.svg +14 -0
- package/src/assets/icons/normal/bold.svg +8 -0
- package/src/assets/icons/normal/bookmark active.svg +12 -0
- package/src/assets/icons/normal/bookmark.svg +10 -0
- package/src/assets/icons/normal/building.svg +21 -0
- package/src/assets/icons/normal/bulleted-list.svg +23 -0
- package/src/assets/icons/normal/calendar.svg +20 -0
- package/src/assets/icons/normal/camera-off.svg +17 -0
- package/src/assets/icons/normal/camera-on.svg +16 -0
- package/src/assets/icons/normal/catalog.svg +13 -0
- package/src/assets/icons/normal/certificate.svg +12 -0
- package/src/assets/icons/normal/chat.svg +6 -0
- package/src/assets/icons/normal/check-badge.svg +9 -0
- package/src/assets/icons/normal/check-circle.svg +10 -0
- package/src/assets/icons/normal/check.svg +4 -0
- package/src/assets/icons/normal/checkbox.svg +8 -0
- package/src/assets/icons/normal/chevron-down-circle.svg +10 -0
- package/src/assets/icons/normal/chevron-down.svg +6 -0
- package/src/assets/icons/normal/chevron-left-circle.svg +10 -0
- package/src/assets/icons/normal/chevron-left.svg +6 -0
- package/src/assets/icons/normal/chevron-right-circle.svg +10 -0
- package/src/assets/icons/normal/chevron-right.svg +7 -0
- package/src/assets/icons/normal/chevron-up-circle.svg +10 -0
- package/src/assets/icons/normal/chevron-up.svg +6 -0
- package/src/assets/icons/normal/circle.svg +8 -0
- package/src/assets/icons/normal/classroom.svg +36 -0
- package/src/assets/icons/normal/clear-field.svg +14 -0
- package/src/assets/icons/normal/clear-style.svg +18 -0
- package/src/assets/icons/normal/close-circle.svg +14 -0
- package/src/assets/icons/normal/close-loader.svg +6 -0
- package/src/assets/icons/normal/close.svg +8 -0
- package/src/assets/icons/normal/coffee.svg +26 -0
- package/src/assets/icons/normal/color.svg +18 -0
- package/src/assets/icons/normal/contact-us.svg +29 -0
- package/src/assets/icons/normal/copy.svg +10 -0
- package/src/assets/icons/normal/courses.svg +22 -0
- package/src/assets/icons/normal/dashboard.svg +18 -0
- package/src/assets/icons/normal/download.svg +10 -0
- package/src/assets/icons/normal/drag.svg +5 -0
- package/src/assets/icons/normal/duplicate.svg +22 -0
- package/src/assets/icons/normal/edit.svg +16 -0
- package/src/assets/icons/normal/elearning.svg +16 -0
- package/src/assets/icons/normal/email.svg +11 -0
- package/src/assets/icons/normal/error-2.svg +8 -0
- package/src/assets/icons/normal/error.svg +12 -0
- package/src/assets/icons/normal/exercise.svg +26 -0
- package/src/assets/icons/normal/external-link.svg +11 -0
- package/src/assets/icons/normal/extract.svg +14 -0
- package/src/assets/icons/normal/eye-off.svg +14 -0
- package/src/assets/icons/normal/eye-on.svg +16 -0
- package/src/assets/icons/normal/fail.svg +11 -0
- package/src/assets/icons/normal/fast-back.svg +19 -0
- package/src/assets/icons/normal/fast-forward.svg +17 -0
- package/src/assets/icons/normal/file-add.svg +16 -0
- package/src/assets/icons/normal/file-duplicate.svg +22 -0
- package/src/assets/icons/normal/file-remove.svg +14 -0
- package/src/assets/icons/normal/file-required.svg +24 -0
- package/src/assets/icons/normal/file.svg +13 -0
- package/src/assets/icons/normal/filter-2.svg +20 -0
- package/src/assets/icons/normal/filter-active.svg +12 -0
- package/src/assets/icons/normal/filter.svg +12 -0
- package/src/assets/icons/normal/flag.svg +10 -0
- package/src/assets/icons/normal/folder.svg +12 -0
- package/src/assets/icons/normal/full-width.svg +9 -0
- package/src/assets/icons/normal/go-to-back.svg +19 -0
- package/src/assets/icons/normal/grid.svg +20 -0
- package/src/assets/icons/normal/group-add.svg +18 -0
- package/src/assets/icons/normal/group.svg +14 -0
- package/src/assets/icons/normal/heart-active.svg +10 -0
- package/src/assets/icons/normal/heart.svg +10 -0
- package/src/assets/icons/normal/highlighter.svg +11 -0
- package/src/assets/icons/normal/home.svg +12 -0
- package/src/assets/icons/normal/hourglass.svg +8 -0
- package/src/assets/icons/normal/image.svg +15 -0
- package/src/assets/icons/normal/info-badge.svg +9 -0
- package/src/assets/icons/normal/information.svg +12 -0
- package/src/assets/icons/normal/italic.svg +10 -0
- package/src/assets/icons/normal/key.svg +8 -0
- package/src/assets/icons/normal/language.svg +14 -0
- package/src/assets/icons/normal/learning-path.svg +7 -0
- package/src/assets/icons/normal/light-off.svg +10 -0
- package/src/assets/icons/normal/light-on.svg +17 -0
- package/src/assets/icons/normal/link.svg +12 -0
- package/src/assets/icons/normal/lock.svg +12 -0
- package/src/assets/icons/normal/login.svg +10 -0
- package/src/assets/icons/normal/logout.svg +10 -0
- package/src/assets/icons/normal/maximize.svg +10 -0
- package/src/assets/icons/normal/menu.svg +8 -0
- package/src/assets/icons/normal/merge.svg +20 -0
- package/src/assets/icons/normal/minimize.svg +12 -0
- package/src/assets/icons/normal/mixed-class.svg +36 -0
- package/src/assets/icons/normal/more-horizontal.svg +7 -0
- package/src/assets/icons/normal/more-vertical.svg +7 -0
- package/src/assets/icons/normal/news.svg +9 -0
- package/src/assets/icons/normal/no-prerequisites.svg +12 -0
- package/src/assets/icons/normal/notes.svg +15 -0
- package/src/assets/icons/normal/number-code.svg +34 -0
- package/src/assets/icons/normal/numbered-list.svg +19 -0
- package/src/assets/icons/normal/on-site.svg +18 -0
- package/src/assets/icons/normal/order-down.svg +12 -0
- package/src/assets/icons/normal/order-up.svg +11 -0
- package/src/assets/icons/normal/paste.svg +14 -0
- package/src/assets/icons/normal/pausa.svg +7 -0
- package/src/assets/icons/normal/pdf.svg +12 -0
- package/src/assets/icons/normal/phone.svg +10 -0
- package/src/assets/icons/normal/pin-map.svg +10 -0
- package/src/assets/icons/normal/pin.svg +12 -0
- package/src/assets/icons/normal/pizza.svg +17 -0
- package/src/assets/icons/normal/play.svg +9 -0
- package/src/assets/icons/normal/plug-in.svg +10 -0
- package/src/assets/icons/normal/pointer.svg +12 -0
- package/src/assets/icons/normal/printer.svg +28 -0
- package/src/assets/icons/normal/profile-add.svg +28 -0
- package/src/assets/icons/normal/profile.svg +15 -0
- package/src/assets/icons/normal/push pin on.svg +9 -0
- package/src/assets/icons/normal/push-pin-off.svg +23 -0
- package/src/assets/icons/normal/qrcode.svg +26 -0
- package/src/assets/icons/normal/question-badge.svg +10 -0
- package/src/assets/icons/normal/radio.svg +8 -0
- package/src/assets/icons/normal/redo.svg +9 -0
- package/src/assets/icons/normal/relations.svg +28 -0
- package/src/assets/icons/normal/reload.svg +12 -0
- package/src/assets/icons/normal/remove-circle.svg +10 -0
- package/src/assets/icons/normal/remove.svg +4 -0
- package/src/assets/icons/normal/reorder.svg +12 -0
- package/src/assets/icons/normal/repeat.svg +12 -0
- package/src/assets/icons/normal/repository.svg +18 -0
- package/src/assets/icons/normal/request-form.svg +18 -0
- package/src/assets/icons/normal/resize-100%.svg +17 -0
- package/src/assets/icons/normal/resize-height.svg +12 -0
- package/src/assets/icons/normal/resize-width.svg +12 -0
- package/src/assets/icons/normal/search.svg +10 -0
- package/src/assets/icons/normal/sequential-prerequisites.svg +20 -0
- package/src/assets/icons/normal/settings.svg +14 -0
- package/src/assets/icons/normal/share.svg +20 -0
- package/src/assets/icons/normal/sketch.svg +11 -0
- package/src/assets/icons/normal/skills.svg +16 -0
- package/src/assets/icons/normal/skip-back.svg +12 -0
- package/src/assets/icons/normal/skip-forward.svg +13 -0
- package/src/assets/icons/normal/sms.svg +20 -0
- package/src/assets/icons/normal/sso-access.svg +20 -0
- package/src/assets/icons/normal/star-active.svg +4 -0
- package/src/assets/icons/normal/star.svg +4 -0
- package/src/assets/icons/normal/success.svg +10 -0
- package/src/assets/icons/normal/sun.svg +24 -0
- package/src/assets/icons/normal/sunrise.svg +18 -0
- package/src/assets/icons/normal/support.svg +18 -0
- package/src/assets/icons/normal/survey.svg +24 -0
- package/src/assets/icons/normal/table.svg +11 -0
- package/src/assets/icons/normal/tematic-channels.svg +10 -0
- package/src/assets/icons/normal/test.svg +15 -0
- package/src/assets/icons/normal/text-body.svg +8 -0
- package/src/assets/icons/normal/text-edit.svg +11 -0
- package/src/assets/icons/normal/text-style.svg +10 -0
- package/src/assets/icons/normal/time.svg +10 -0
- package/src/assets/icons/normal/toilet-paper.svg +15 -0
- package/src/assets/icons/normal/training-points.svg +16 -0
- package/src/assets/icons/normal/trash.svg +19 -0
- package/src/assets/icons/normal/underline.svg +8 -0
- package/src/assets/icons/normal/undo.svg +9 -0
- package/src/assets/icons/normal/unlock.svg +13 -0
- package/src/assets/icons/normal/upload.svg +10 -0
- package/src/assets/icons/normal/user-add.svg +14 -0
- package/src/assets/icons/normal/user-badge.svg +11 -0
- package/src/assets/icons/normal/user.svg +5 -0
- package/src/assets/icons/normal/video-off.svg +11 -0
- package/src/assets/icons/normal/video-on.svg +20 -0
- package/src/assets/icons/normal/video-rec.svg +23 -0
- package/src/assets/icons/normal/view-card.svg +10 -0
- package/src/assets/icons/normal/view-list.svg +18 -0
- package/src/assets/icons/normal/view.svg +8 -0
- package/src/assets/icons/normal/voice-off.svg +18 -0
- package/src/assets/icons/normal/voice-on.svg +15 -0
- package/src/assets/icons/normal/volume-down.svg +14 -0
- package/src/assets/icons/normal/volume-off.svg +18 -0
- package/src/assets/icons/normal/volume-up.svg +16 -0
- package/src/assets/icons/normal/warning.svg +16 -0
- package/src/assets/icons/normal/webinar.svg +36 -0
- package/src/assets/icons/normal/whiteboard.svg +17 -0
- package/src/assets/icons/normal/wine.svg +22 -0
- package/src/assets/icons/normal/zip.svg +19 -0
- package/src/assets/icons/normal/zoom-in.svg +16 -0
- package/src/assets/icons/normal/zoom-out.svg +14 -0
- package/src/assets/icons/normal.json +1 -0
- package/src/assets/icons/simple/add-circle.svg +12 -0
- package/src/assets/icons/simple/add.svg +8 -0
- package/src/assets/icons/simple/align-center.svg +12 -0
- package/src/assets/icons/simple/align-justify.svg +12 -0
- package/src/assets/icons/simple/align-left.svg +12 -0
- package/src/assets/icons/simple/align-right.svg +12 -0
- package/src/assets/icons/simple/analysis-2.svg +21 -0
- package/src/assets/icons/simple/analysis-3.svg +8 -0
- package/src/assets/icons/simple/analysis.svg +16 -0
- package/src/assets/icons/simple/apple.svg +18 -0
- package/src/assets/icons/simple/arrow-down.svg +8 -0
- package/src/assets/icons/simple/arrow-left.svg +8 -0
- package/src/assets/icons/simple/arrow-right.svg +8 -0
- package/src/assets/icons/simple/arrow-up.svg +8 -0
- package/src/assets/icons/simple/attachment.svg +10 -0
- package/src/assets/icons/simple/bck-to-front.svg +19 -0
- package/src/assets/icons/simple/bell-active.svg +14 -0
- package/src/assets/icons/simple/bell.svg +14 -0
- package/src/assets/icons/simple/bold.svg +8 -0
- package/src/assets/icons/simple/bookmark-active.svg +12 -0
- package/src/assets/icons/simple/bookmark.svg +12 -0
- package/src/assets/icons/simple/building.svg +25 -0
- package/src/assets/icons/simple/bulleted-list.svg +22 -0
- package/src/assets/icons/simple/calendar.svg +22 -0
- package/src/assets/icons/simple/camera-off.svg +12 -0
- package/src/assets/icons/simple/camera-on.svg +16 -0
- package/src/assets/icons/simple/catalog.svg +14 -0
- package/src/assets/icons/simple/certificate.svg +15 -0
- package/src/assets/icons/simple/chat.svg +9 -0
- package/src/assets/icons/simple/check-badge.svg +9 -0
- package/src/assets/icons/simple/check-circle.svg +10 -0
- package/src/assets/icons/simple/check.svg +6 -0
- package/src/assets/icons/simple/checkbox.svg +6 -0
- package/src/assets/icons/simple/chevron-down-circle.svg +10 -0
- package/src/assets/icons/simple/chevron-down.svg +6 -0
- package/src/assets/icons/simple/chevron-left-circle.svg +10 -0
- package/src/assets/icons/simple/chevron-left.svg +6 -0
- package/src/assets/icons/simple/chevron-right-circle.svg +10 -0
- package/src/assets/icons/simple/chevron-right.svg +7 -0
- package/src/assets/icons/simple/chevron-up-circle.svg +10 -0
- package/src/assets/icons/simple/chevron-up.svg +6 -0
- package/src/assets/icons/simple/circle.svg +8 -0
- package/src/assets/icons/simple/classroom.svg +38 -0
- package/src/assets/icons/simple/clear-field.svg +11 -0
- package/src/assets/icons/simple/clear-style.svg +15 -0
- package/src/assets/icons/simple/close-circle.svg +14 -0
- package/src/assets/icons/simple/close-loader.svg +6 -0
- package/src/assets/icons/simple/close.svg +10 -0
- package/src/assets/icons/simple/coffee.svg +28 -0
- package/src/assets/icons/simple/color.svg +20 -0
- package/src/assets/icons/simple/contact-us.svg +26 -0
- package/src/assets/icons/simple/copy.svg +10 -0
- package/src/assets/icons/simple/courses.svg +21 -0
- package/src/assets/icons/simple/dashboard.svg +20 -0
- package/src/assets/icons/simple/download.svg +10 -0
- package/src/assets/icons/simple/drag.svg +10 -0
- package/src/assets/icons/simple/duplicate.svg +24 -0
- package/src/assets/icons/simple/edit.svg +17 -0
- package/src/assets/icons/simple/elearning.svg +17 -0
- package/src/assets/icons/simple/email.svg +11 -0
- package/src/assets/icons/simple/error-2.svg +8 -0
- package/src/assets/icons/simple/error.svg +12 -0
- package/src/assets/icons/simple/exercise.svg +30 -0
- package/src/assets/icons/simple/external-link.svg +13 -0
- package/src/assets/icons/simple/extract.svg +17 -0
- package/src/assets/icons/simple/eye-off.svg +13 -0
- package/src/assets/icons/simple/eye-on.svg +11 -0
- package/src/assets/icons/simple/fail.svg +11 -0
- package/src/assets/icons/simple/fast-back.svg +20 -0
- package/src/assets/icons/simple/fast-forward.svg +19 -0
- package/src/assets/icons/simple/file-add.svg +20 -0
- package/src/assets/icons/simple/file-duplicate.svg +22 -0
- package/src/assets/icons/simple/file-remove.svg +18 -0
- package/src/assets/icons/simple/file-required.svg +24 -0
- package/src/assets/icons/simple/file.svg +14 -0
- package/src/assets/icons/simple/filter-2.svg +24 -0
- package/src/assets/icons/simple/filter-active.svg +13 -0
- package/src/assets/icons/simple/filter.svg +12 -0
- package/src/assets/icons/simple/flag.svg +12 -0
- package/src/assets/icons/simple/folder.svg +14 -0
- package/src/assets/icons/simple/full-width.svg +11 -0
- package/src/assets/icons/simple/go-to-back.svg +18 -0
- package/src/assets/icons/simple/grid.svg +20 -0
- package/src/assets/icons/simple/group-add.svg +24 -0
- package/src/assets/icons/simple/group.svg +18 -0
- package/src/assets/icons/simple/heart-active.svg +12 -0
- package/src/assets/icons/simple/heart.svg +12 -0
- package/src/assets/icons/simple/highlighter.svg +12 -0
- package/src/assets/icons/simple/home.svg +13 -0
- package/src/assets/icons/simple/hourglass.svg +11 -0
- package/src/assets/icons/simple/image.svg +15 -0
- package/src/assets/icons/simple/info-badge.svg +9 -0
- package/src/assets/icons/simple/information.svg +12 -0
- package/src/assets/icons/simple/italic.svg +12 -0
- package/src/assets/icons/simple/key.svg +11 -0
- package/src/assets/icons/simple/language.svg +12 -0
- package/src/assets/icons/simple/learning-path.svg +9 -0
- package/src/assets/icons/simple/light-off.svg +7 -0
- package/src/assets/icons/simple/light-on.svg +18 -0
- package/src/assets/icons/simple/link.svg +14 -0
- package/src/assets/icons/simple/lock.svg +13 -0
- package/src/assets/icons/simple/login.svg +11 -0
- package/src/assets/icons/simple/logout.svg +11 -0
- package/src/assets/icons/simple/maximaze.svg +12 -0
- package/src/assets/icons/simple/menu.svg +10 -0
- package/src/assets/icons/simple/merge.svg +20 -0
- package/src/assets/icons/simple/minimaze.svg +12 -0
- package/src/assets/icons/simple/mixed-class.svg +40 -0
- package/src/assets/icons/simple/more-horizontal.svg +8 -0
- package/src/assets/icons/simple/more-vertical.svg +8 -0
- package/src/assets/icons/simple/news.svg +12 -0
- package/src/assets/icons/simple/no-prerequisites.svg +17 -0
- package/src/assets/icons/simple/notes.svg +14 -0
- package/src/assets/icons/simple/number-code.svg +29 -0
- package/src/assets/icons/simple/numbered-list.svg +18 -0
- package/src/assets/icons/simple/on-site.svg +18 -0
- package/src/assets/icons/simple/order-down.svg +12 -0
- package/src/assets/icons/simple/order-up.svg +12 -0
- package/src/assets/icons/simple/paste.svg +14 -0
- package/src/assets/icons/simple/pausa.svg +8 -0
- package/src/assets/icons/simple/pdf.svg +12 -0
- package/src/assets/icons/simple/phone.svg +10 -0
- package/src/assets/icons/simple/pin-map.svg +13 -0
- package/src/assets/icons/simple/pin.svg +14 -0
- package/src/assets/icons/simple/pizza.svg +17 -0
- package/src/assets/icons/simple/play.svg +10 -0
- package/src/assets/icons/simple/plug-in.svg +10 -0
- package/src/assets/icons/simple/pointer.svg +6 -0
- package/src/assets/icons/simple/printer.svg +28 -0
- package/src/assets/icons/simple/profile-add.svg +28 -0
- package/src/assets/icons/simple/profile.svg +13 -0
- package/src/assets/icons/simple/push-pin-off.svg +11 -0
- package/src/assets/icons/simple/push-pin-on.svg +12 -0
- package/src/assets/icons/simple/qrcode.svg +26 -0
- package/src/assets/icons/simple/question-badge.svg +10 -0
- package/src/assets/icons/simple/radio.svg +8 -0
- package/src/assets/icons/simple/redo.svg +9 -0
- package/src/assets/icons/simple/relations.svg +28 -0
- package/src/assets/icons/simple/reload.svg +12 -0
- package/src/assets/icons/simple/remove-circle.svg +10 -0
- package/src/assets/icons/simple/remove.svg +6 -0
- package/src/assets/icons/simple/repeart.svg +14 -0
- package/src/assets/icons/simple/repository.svg +18 -0
- package/src/assets/icons/simple/request-form.svg +20 -0
- package/src/assets/icons/simple/resize-100%.svg +15 -0
- package/src/assets/icons/simple/resize-height.svg +12 -0
- package/src/assets/icons/simple/resize-width.svg +14 -0
- package/src/assets/icons/simple/search.svg +10 -0
- package/src/assets/icons/simple/sequential-prerequisites.svg +22 -0
- package/src/assets/icons/simple/settings.svg +17 -0
- package/src/assets/icons/simple/share.svg +21 -0
- package/src/assets/icons/simple/sketch.svg +13 -0
- package/src/assets/icons/simple/skills.svg +17 -0
- package/src/assets/icons/simple/skip-back.svg +14 -0
- package/src/assets/icons/simple/skip-forward.svg +14 -0
- package/src/assets/icons/simple/sms.svg +22 -0
- package/src/assets/icons/simple/sso-access.svg +20 -0
- package/src/assets/icons/simple/star-active.svg +6 -0
- package/src/assets/icons/simple/star.svg +6 -0
- package/src/assets/icons/simple/success.svg +12 -0
- package/src/assets/icons/simple/sun.svg +22 -0
- package/src/assets/icons/simple/sunrise.svg +18 -0
- package/src/assets/icons/simple/support.svg +18 -0
- package/src/assets/icons/simple/survey.svg +32 -0
- package/src/assets/icons/simple/table.svg +11 -0
- package/src/assets/icons/simple/tematic-channels.svg +15 -0
- package/src/assets/icons/simple/test.svg +23 -0
- package/src/assets/icons/simple/text-body.svg +7 -0
- package/src/assets/icons/simple/text-edit.svg +11 -0
- package/src/assets/icons/simple/text-style.svg +10 -0
- package/src/assets/icons/simple/time.svg +10 -0
- package/src/assets/icons/simple/toilet-paper.svg +17 -0
- package/src/assets/icons/simple/training-points.svg +18 -0
- package/src/assets/icons/simple/trash.svg +20 -0
- package/src/assets/icons/simple/underline.svg +9 -0
- package/src/assets/icons/simple/undo.svg +9 -0
- package/src/assets/icons/simple/unlock.svg +15 -0
- package/src/assets/icons/simple/upload.svg +10 -0
- package/src/assets/icons/simple/user-add.svg +18 -0
- package/src/assets/icons/simple/user-badge.svg +12 -0
- package/src/assets/icons/simple/user.svg +8 -0
- package/src/assets/icons/simple/video-off.svg +17 -0
- package/src/assets/icons/simple/video-on.svg +17 -0
- package/src/assets/icons/simple/video-rec.svg +20 -0
- package/src/assets/icons/simple/view-card.svg +12 -0
- package/src/assets/icons/simple/view-list.svg +20 -0
- package/src/assets/icons/simple/view.svg +17 -0
- package/src/assets/icons/simple/voice-off.svg +16 -0
- package/src/assets/icons/simple/voice-on.svg +16 -0
- package/src/assets/icons/simple/volume-down.svg +15 -0
- package/src/assets/icons/simple/volume-off.svg +16 -0
- package/src/assets/icons/simple/volume-up.svg +16 -0
- package/src/assets/icons/simple/warning.svg +14 -0
- package/src/assets/icons/simple/webinar.svg +19 -0
- package/src/assets/icons/simple/whiteboard.svg +16 -0
- package/src/assets/icons/simple/wine.svg +24 -0
- package/src/assets/icons/simple/zip.svg +22 -0
- package/src/assets/icons/simple/zoom-in.svg +18 -0
- package/src/assets/icons/simple/zoom-out.svg +17 -0
- package/src/assets/icons/simple.json +1 -0
- package/src/components/VvAccordion/VvAccordion.vue +181 -0
- package/src/components/VvAccordion/index.ts +81 -0
- package/src/components/VvAccordionGroup/VvAccordionGroup.vue +237 -0
- package/src/components/VvAccordionGroup/index.ts +50 -0
- package/src/components/VvAction/VvAction.vue +163 -0
- package/src/components/VvAction/index.ts +5 -0
- package/src/components/VvAlert/VvAlert.vue +82 -0
- package/src/components/VvAlert/index.ts +170 -0
- package/src/components/VvAlertGroup/VvAlertGroup.vue +65 -0
- package/src/components/VvAlertGroup/index.ts +116 -0
- package/src/components/VvAvatar/VvAvatar.vue +27 -0
- package/src/components/VvAvatar/index.ts +9 -0
- package/src/components/VvAvatarGroup/VvAvatarGroup.vue +70 -0
- package/src/components/VvAvatarGroup/index.ts +28 -0
- package/src/components/VvBadge/VvBadge.vue +21 -0
- package/src/components/VvBadge/index.ts +6 -0
- package/src/components/VvBreadcrumb/VvBreadcrumb.vue +56 -0
- package/src/components/VvBreadcrumb/index.ts +7 -0
- package/src/components/VvButton/VvButton.vue +178 -0
- package/src/components/VvButton/index.ts +125 -0
- package/src/components/VvButtonGroup/VvButtonGroup.vue +82 -0
- package/src/components/VvButtonGroup/index.ts +29 -0
- package/src/components/VvCard/VvCard.vue +37 -0
- package/src/components/VvCard/index.ts +6 -0
- package/src/components/VvCheckbox/VvCheckbox.vue +196 -0
- package/src/components/VvCheckbox/index.ts +65 -0
- package/src/components/VvCheckboxGroup/VvCheckboxGroup.vue +103 -0
- package/src/components/VvCheckboxGroup/index.ts +5 -0
- package/src/components/VvCombobox/VvCombobox.vue +754 -0
- package/src/components/VvCombobox/index.ts +249 -0
- package/src/components/VvDialog/VvDialog.vue +159 -0
- package/src/components/VvDialog/index.ts +48 -0
- package/src/components/VvDropdown/VvDropdown.vue +532 -0
- package/src/components/VvDropdown/VvDropdownAction.vue +44 -0
- package/src/components/VvDropdown/VvDropdownItem.vue +36 -0
- package/src/components/VvDropdown/VvDropdownOptgroup.vue +21 -0
- package/src/components/VvDropdown/VvDropdownOption.vue +55 -0
- package/src/components/VvDropdown/index.ts +66 -0
- package/src/components/VvIcon/README.md +76 -0
- package/src/components/VvIcon/VvIcon.vue +140 -0
- package/src/components/VvIcon/index.ts +90 -0
- package/src/components/VvInputFile/VvInputFile.vue +428 -0
- package/src/components/VvInputFile/index.ts +150 -0
- package/src/components/VvInputText/VvInputText.vue +809 -0
- package/src/components/VvInputText/VvInputTextActions.ts +100 -0
- package/src/components/VvInputText/index.ts +234 -0
- package/src/components/VvNav/VvNav.vue +48 -0
- package/src/components/VvNav/VvNavItem.vue +20 -0
- package/src/components/VvNav/VvNavSeparator.vue +11 -0
- package/src/components/VvNav/index.ts +8 -0
- package/src/components/VvProgress/VvProgress.vue +34 -0
- package/src/components/VvProgress/index.ts +32 -0
- package/src/components/VvRadio/VvRadio.vue +126 -0
- package/src/components/VvRadio/index.ts +46 -0
- package/src/components/VvRadioGroup/VvRadioGroup.vue +107 -0
- package/src/components/VvRadioGroup/index.ts +5 -0
- package/src/components/VvSelect/VvSelect.vue +273 -0
- package/src/components/VvSelect/index.ts +97 -0
- package/src/components/VvTab/VvTab.vue +87 -0
- package/src/components/VvTab/index.ts +19 -0
- package/src/components/VvTextarea/VvTextarea.vue +333 -0
- package/src/components/VvTextarea/index.ts +82 -0
- package/src/components/VvTooltip/VvTooltip.vue +29 -0
- package/src/components/VvTooltip/index.ts +18 -0
- package/src/components/VvVirtualScroll/VvVirtualScroll.vue +123 -0
- package/src/components/common/HintSlot.ts +174 -0
- package/src/components/common/VvInputClearAction.ts +61 -0
- package/src/components/common/VvInputPasswordAction.ts +77 -0
- package/src/components/common/VvInputStepAction.ts +54 -0
- package/src/components/index.ts +34 -0
- package/src/composables/alert/useAlerInject.ts +8 -0
- package/src/composables/alert/useAlert.ts +106 -0
- package/src/composables/alert/useAlertProvide.ts +23 -0
- package/src/composables/dropdown/useDropdownContextmenu.ts +23 -0
- package/src/composables/dropdown/useDropdownInject.ts +26 -0
- package/src/composables/dropdown/useDropdownProvide.ts +96 -0
- package/src/composables/dropdown/useDropdownVirtualElement.ts +54 -0
- package/src/composables/group/useGroupStateInject.ts +55 -0
- package/src/composables/group/useGroupStateProvide.ts +14 -0
- package/src/composables/index.ts +5 -0
- package/src/composables/useBlurhash.ts +79 -0
- package/src/composables/useComponentFocus.ts +16 -0
- package/src/composables/useComponentIcon.ts +42 -0
- package/src/composables/useDebouncedInput.ts +32 -0
- package/src/composables/useDefaults.ts +89 -0
- package/src/composables/useModifiers.ts +36 -0
- package/src/composables/useOptions.ts +56 -0
- package/src/composables/usePersistence.ts +77 -0
- package/src/composables/useTextCount.ts +54 -0
- package/src/composables/useUniqueId.ts +6 -0
- package/src/composables/useVirtualScroll.ts +89 -0
- package/src/composables/useVolver.ts +8 -0
- package/src/constants.ts +153 -0
- package/src/directives/index.ts +4 -0
- package/src/directives/v-contextmenu.ts +32 -0
- package/src/directives/v-tooltip.ts +25 -0
- package/src/icons.ts +7 -0
- package/src/index.ts +14 -0
- package/src/json-render/catalog.ts +31 -0
- package/src/json-render/components.ts +308 -0
- package/src/json-render/definitions.ts +440 -0
- package/src/json-render/index.ts +127 -0
- package/src/json-render/registry.ts +40 -0
- package/src/props/index.ts +597 -0
- package/src/resolvers/unplugin.ts +179 -0
- package/src/shims.d.ts +12 -0
- package/src/stories/Accordion/Accordion.settings.ts +58 -0
- package/src/stories/Accordion/Accordion.stories.ts +45 -0
- package/src/stories/Accordion/Accordion.test.ts +67 -0
- package/src/stories/Accordion/AccordionSlots.stories.ts +29 -0
- package/src/stories/AccordionGroup/AccordionGroup.settings.ts +89 -0
- package/src/stories/AccordionGroup/AccordionGroup.stories.ts +64 -0
- package/src/stories/AccordionGroup/AccordionGroup.test.ts +56 -0
- package/src/stories/AccordionGroup/AccordionGroupSlots.stories.ts +54 -0
- package/src/stories/Alert/Alert.settings.ts +123 -0
- package/src/stories/Alert/Alert.stories.ts +60 -0
- package/src/stories/Alert/Alert.test.ts +97 -0
- package/src/stories/Alert/AlertModifiers.stories.ts +78 -0
- package/src/stories/Alert/AlertSlots.stories.ts +75 -0
- package/src/stories/AlertGroup/AlertGroup.settings.ts +112 -0
- package/src/stories/AlertGroup/AlertGroup.stories.ts +50 -0
- package/src/stories/AlertGroup/AlertGroup.test.ts +87 -0
- package/src/stories/AlertGroup/AlertGroupPosition.stories.ts +104 -0
- package/src/stories/AlertGroup/AlertGroupSlots.stories.ts +68 -0
- package/src/stories/AlertGroup/AlertGroupWithComposable.stories.ts +116 -0
- package/src/stories/Avatar/Avatar.settings.ts +36 -0
- package/src/stories/Avatar/Avatar.stories.ts +43 -0
- package/src/stories/Avatar/Avatar.test.ts +32 -0
- package/src/stories/Avatar/AvatarBadge.stories.ts +36 -0
- package/src/stories/Avatar/AvatarModifiers.stories.ts +100 -0
- package/src/stories/Avatar/AvatarSlots.stories.ts +34 -0
- package/src/stories/AvatarGroup/AvatarGroup.settings.ts +61 -0
- package/src/stories/AvatarGroup/AvatarGroup.stories.ts +35 -0
- package/src/stories/AvatarGroup/AvatarGroup.test.ts +34 -0
- package/src/stories/AvatarGroup/AvatarGroupModifiers.stories.ts +31 -0
- package/src/stories/AvatarGroup/AvatarGroupSlotDefault.stories.ts +39 -0
- package/src/stories/Badge/Badge.settings.ts +27 -0
- package/src/stories/Badge/Badge.stories.ts +43 -0
- package/src/stories/Badge/Badge.test.ts +12 -0
- package/src/stories/Badge/BadgeSlots.stories.ts +23 -0
- package/src/stories/Blurhash/BlurhashComposable.stories.ts +215 -0
- package/src/stories/Breadcrumb/Breadcrumb.settings.ts +41 -0
- package/src/stories/Breadcrumb/Breadcrumb.stories.ts +41 -0
- package/src/stories/Breadcrumb/Breadcrumb.test.ts +52 -0
- package/src/stories/Breadcrumb/BreadcrumbSlots.stories.ts +37 -0
- package/src/stories/Button/Button.settings.ts +155 -0
- package/src/stories/Button/Button.stories.ts +38 -0
- package/src/stories/Button/Button.test.ts +46 -0
- package/src/stories/Button/ButtonIcon.stories.ts +67 -0
- package/src/stories/Button/ButtonLink.stories.ts +40 -0
- package/src/stories/Button/ButtonLoading.stories.ts +41 -0
- package/src/stories/Button/ButtonModifiers.stories.ts +148 -0
- package/src/stories/Button/ButtonSlots.stories.ts +87 -0
- package/src/stories/Button/ButtonState.stories.ts +42 -0
- package/src/stories/Button/ButtonToggle.stories.ts +52 -0
- package/src/stories/ButtonGroup/ButtonGroup.settings.ts +41 -0
- package/src/stories/ButtonGroup/ButtonGroup.stories.ts +39 -0
- package/src/stories/ButtonGroup/ButtonGroup.test.ts +31 -0
- package/src/stories/ButtonGroup/ButtonGroupModifiers.stories.ts +39 -0
- package/src/stories/ButtonGroup/ButtonGroupSlots.stories.ts +38 -0
- package/src/stories/ButtonGroup/ButtonGroupToggle.stories.ts +41 -0
- package/src/stories/Card/Card.settings.ts +56 -0
- package/src/stories/Card/Card.stories.ts +46 -0
- package/src/stories/Card/Card.test.ts +21 -0
- package/src/stories/Card/CardSlots.stories.ts +81 -0
- package/src/stories/Checkbox/Checkbox.settings.ts +42 -0
- package/src/stories/Checkbox/Checkbox.stories.ts +97 -0
- package/src/stories/Checkbox/Checkbox.test.ts +77 -0
- package/src/stories/Checkbox/CheckboxBinary.stories.ts +33 -0
- package/src/stories/Checkbox/CheckboxSlots.stories.ts +31 -0
- package/src/stories/CheckboxGroup/CheckboxGroup.settings.ts +15 -0
- package/src/stories/CheckboxGroup/CheckboxGroup.stories.ts +87 -0
- package/src/stories/CheckboxGroup/CheckboxGroup.test.ts +79 -0
- package/src/stories/CheckboxGroup/CheckboxGroupOptions.stories.ts +53 -0
- package/src/stories/CheckboxGroup/CheckboxGroupSlots.stories.ts +47 -0
- package/src/stories/Combobox/Combobox.settings.ts +446 -0
- package/src/stories/Combobox/Combobox.stories.ts +249 -0
- package/src/stories/Combobox/Combobox.test.ts +108 -0
- package/src/stories/Combobox/ComboboxIconPosition.stories.ts +44 -0
- package/src/stories/Combobox/ComboboxMultiple.stories.ts +51 -0
- package/src/stories/Combobox/ComboboxOptions.stories.ts +111 -0
- package/src/stories/Combobox/ComboboxSlots.stories.ts +105 -0
- package/src/stories/Dialog/Dialog.settings.ts +54 -0
- package/src/stories/Dialog/Dialog.stories.ts +51 -0
- package/src/stories/Dialog/Dialog.test.ts +64 -0
- package/src/stories/Dialog/DialogModifiers.stories.ts +42 -0
- package/src/stories/Dialog/DialogSlots.stories.ts +39 -0
- package/src/stories/Dropdown/Dropdown.settings.ts +70 -0
- package/src/stories/Dropdown/Dropdown.stories.ts +107 -0
- package/src/stories/Dropdown/Dropdown.test.ts +17 -0
- package/src/stories/Dropdown/DropdownContextmenuDirective.stories.ts +48 -0
- package/src/stories/Dropdown/DropdownMultilevel.stories.ts +61 -0
- package/src/stories/Dropdown/DropdownSlots.stories.ts +95 -0
- package/src/stories/Icon/Icon.settings.ts +73 -0
- package/src/stories/Icon/Icon.stories.ts +47 -0
- package/src/stories/Icon/IconsCollection.stories.ts +53 -0
- package/src/stories/InputFile/InputFile.settings.ts +37 -0
- package/src/stories/InputFile/InputFile.stories.ts +97 -0
- package/src/stories/InputFile/InputFileDropArea.stories.ts +56 -0
- package/src/stories/InputFile/InputFileIconPosition.stories.ts +43 -0
- package/src/stories/InputFile/InputFileSlots.stories.ts +34 -0
- package/src/stories/InputText/InputText.settings.ts +262 -0
- package/src/stories/InputText/InputText.stories.ts +149 -0
- package/src/stories/InputText/InputText.test.ts +184 -0
- package/src/stories/InputText/InputTextIconPosition.stories.ts +43 -0
- package/src/stories/InputText/InputTextIso.stories.ts +69 -0
- package/src/stories/InputText/InputTextLength.stories.ts +58 -0
- package/src/stories/InputText/InputTextMask.stories.ts +122 -0
- package/src/stories/InputText/InputTextMinMax.stories.ts +51 -0
- package/src/stories/InputText/InputTextSlots.stories.ts +39 -0
- package/src/stories/InputText/InputTextSuggestions.stories.ts +118 -0
- package/src/stories/InputText/InputTextType.stories.ts +119 -0
- package/src/stories/Nav/Nav.settings.ts +35 -0
- package/src/stories/Nav/Nav.stories.ts +33 -0
- package/src/stories/Nav/Nav.test.ts +19 -0
- package/src/stories/Nav/NavModifiers.stories.ts +47 -0
- package/src/stories/Progress/Progress.settings.ts +31 -0
- package/src/stories/Progress/Progress.stories.ts +41 -0
- package/src/stories/Progress/Progress.test.ts +9 -0
- package/src/stories/Radio/Radio.settings.ts +15 -0
- package/src/stories/Radio/Radio.stories.ts +81 -0
- package/src/stories/Radio/Radio.test.ts +66 -0
- package/src/stories/Radio/RadioSlots.stories.ts +31 -0
- package/src/stories/RadioGroup/RadioGroup.settings.ts +15 -0
- package/src/stories/RadioGroup/RadioGroup.stories.ts +87 -0
- package/src/stories/RadioGroup/RadioGroup.test.ts +79 -0
- package/src/stories/RadioGroup/RadioGroupOptions.stories.ts +53 -0
- package/src/stories/RadioGroup/RadioGroupSlots.stories.ts +47 -0
- package/src/stories/Select/Select.settings.ts +81 -0
- package/src/stories/Select/Select.stories.ts +126 -0
- package/src/stories/Select/Select.test.ts +81 -0
- package/src/stories/Select/SelectIconPosition.stories.ts +44 -0
- package/src/stories/Select/SelectOptions.stories.ts +77 -0
- package/src/stories/Select/SelectSlots.stories.ts +40 -0
- package/src/stories/Tab/Tab.settings.ts +41 -0
- package/src/stories/Tab/Tab.stories.ts +70 -0
- package/src/stories/Tab/Tab.test.ts +27 -0
- package/src/stories/Textarea/Textarea.settings.ts +90 -0
- package/src/stories/Textarea/Textarea.stories.ts +107 -0
- package/src/stories/Textarea/Textarea.test.ts +86 -0
- package/src/stories/Textarea/TextareaLength.stories.ts +58 -0
- package/src/stories/Textarea/TextareaSlots.stories.ts +39 -0
- package/src/stories/Textarea/TextareatIconPosition.stories.ts +43 -0
- package/src/stories/Tooltip/Tooltip.settings.ts +24 -0
- package/src/stories/Tooltip/Tooltip.stories.ts +40 -0
- package/src/stories/Tooltip/Tooltip.test.ts +58 -0
- package/src/stories/Tooltip/TooltipDirective.stories.ts +68 -0
- package/src/stories/VirtualScroll/VirtualScroll.settings.ts +7 -0
- package/src/stories/VirtualScroll/VirtualScroll.stories.ts +72 -0
- package/src/stories/VirtualScroll/VirtualScroll.test.ts +53 -0
- package/src/stories/VirtualScroll/VirtualScrollWithComposable.stories.ts +92 -0
- package/src/stories/argTypes.ts +563 -0
- package/src/test/expect.ts +83 -0
- package/src/test/options.ts +16 -0
- package/src/test/sleep.ts +3 -0
- package/src/test/types.d.ts +17 -0
- package/src/types/alert.ts +24 -0
- package/src/types/blurhash.ts +21 -0
- package/src/types/floating-ui.ts +18 -0
- package/src/types/generic.ts +5 -0
- package/src/types/group.ts +52 -0
- package/src/types/index.ts +7 -0
- package/src/types/input-file.ts +10 -0
- package/src/types/nav.ts +18 -0
- package/src/utils/DateUtilities.ts +120 -0
- package/src/utils/DomUtilities.ts +15 -0
- package/src/utils/FileUtilities.ts +104 -0
- package/src/utils/ObjectUtilities.ts +289 -0
- package/src/workers/blurhash.ts +9 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Fragment as le, Transition as
|
|
2
|
-
import { Icon as
|
|
3
|
-
import { arrow as
|
|
4
|
-
import { computedAsync as
|
|
5
|
-
import
|
|
1
|
+
import { Fragment as le, Transition as yl, computed as i, createBlock as H, createCommentVNode as I, createElementBlock as L, createElementVNode as fe, createSlots as vt, createTextVNode as ee, createVNode as we, defineComponent as U, getCurrentInstance as hl, guardReactiveProps as K, h as $e, inject as Ke, isRef as pt, mergeDefaults as _l, mergeModels as Ct, mergeProps as A, nextTick as Qe, normalizeClass as Ge, normalizeProps as j, normalizeStyle as Et, onBeforeUnmount as Sl, onMounted as Ol, openBlock as f, provide as bt, ref as N, renderList as xe, renderSlot as O, resolveComponent as Vl, resolveDynamicComponent as Ll, toDisplayString as F, toHandlers as wl, toRef as $l, toRefs as pe, unref as t, useAttrs as Wt, useId as kl, useModel as Pl, useSlots as mt, vModelSelect as Cl, vModelText as El, vShow as Il, watch as ae, withCtx as E, withDirectives as gt, withKeys as Bl, withModifiers as Al } from "vue";
|
|
2
|
+
import { Icon as Nl, addIcon as Dl, iconLoaded as st } from "@iconify/vue";
|
|
3
|
+
import { arrow as Hl, autoPlacement as It, autoUpdate as Fl, flip as Bt, offset as At, shift as Nt, size as Dt, useFloating as jl } from "@floating-ui/vue";
|
|
4
|
+
import { computedAsync as Tl, onClickOutside as Ml, onKeyStroke as Me, refDebounced as Rl, useElementHover as qt, useElementVisibility as xl, useFocus as zt, useFocusWithin as yt, useMutationObserver as Kl, useVModel as Gl } from "@vueuse/core";
|
|
5
|
+
import Wl from "mitt";
|
|
6
6
|
import { getProperty as ut } from "dot-prop";
|
|
7
|
-
var
|
|
7
|
+
var ql = {
|
|
8
8
|
showPassword: "eye-on",
|
|
9
9
|
hidePassword: "eye-off",
|
|
10
10
|
showDatePicker: "calendar",
|
|
@@ -15,29 +15,27 @@ var Kl = {
|
|
|
15
15
|
remove: "trash",
|
|
16
16
|
edit: "edit",
|
|
17
17
|
download: "download"
|
|
18
|
-
},
|
|
19
|
-
return e.simple = "simple", e.normal = "normal", e.detailed = "detailed", e;
|
|
20
|
-
})({}), zl = { prefix: Gl.normal }, Nt = /* @__PURE__ */ (function(e) {
|
|
18
|
+
}, zl = { prefix: "normal" }, Ht = /* @__PURE__ */ (function(e) {
|
|
21
19
|
return e.local = "local", e.session = "session", e;
|
|
22
|
-
})({}),
|
|
20
|
+
})({}), Jt = /* @__PURE__ */ (function(e) {
|
|
23
21
|
return e.absolute = "absolute", e.fixed = "fixed", e;
|
|
24
22
|
})({}), D = /* @__PURE__ */ (function(e) {
|
|
25
23
|
return e.left = "left", e.right = "right", e.top = "top", e.bottom = "bottom", e;
|
|
26
|
-
})({}),
|
|
24
|
+
})({}), Jl = /* @__PURE__ */ (function(e) {
|
|
27
25
|
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;
|
|
28
|
-
})({}),
|
|
26
|
+
})({}), Xe = /* @__PURE__ */ (function(e) {
|
|
29
27
|
return e.before = "before", e.after = "after", e;
|
|
30
|
-
})({}),
|
|
28
|
+
})({}), Ft = /* @__PURE__ */ (function(e) {
|
|
31
29
|
return e.button = "button", e.submit = "submit", e.reset = "reset", e;
|
|
32
|
-
})({}),
|
|
30
|
+
})({}), ve = /* @__PURE__ */ (function(e) {
|
|
33
31
|
return e.nuxtLink = "nuxt-link", e.routerLink = "router-link", e.a = "a", e.button = "button", e;
|
|
34
|
-
})({}),
|
|
32
|
+
})({}), Ul = /* @__PURE__ */ (function(e) {
|
|
35
33
|
return e.button = "button", e.link = "link", e.menuitem = "menuitem", e;
|
|
36
|
-
})({}),
|
|
34
|
+
})({}), Ze = /* @__PURE__ */ (function(e) {
|
|
37
35
|
return e.listbox = "listbox", e.menu = "menu", e;
|
|
38
|
-
})({}),
|
|
36
|
+
})({}), jt = /* @__PURE__ */ (function(e) {
|
|
39
37
|
return e.option = "option", e.presentation = "presentation", e;
|
|
40
|
-
})({}),
|
|
38
|
+
})({}), Yl = /* @__PURE__ */ Symbol.for("volver"), Ql = /* @__PURE__ */ Symbol.for("buttonGroup"), Ut = /* @__PURE__ */ Symbol.for("dropdownTrigger"), Yt = /* @__PURE__ */ Symbol.for("dropdownItem"), Qt = /* @__PURE__ */ Symbol.for("dropdownAction"), Xl = {
|
|
41
39
|
to: { type: [String, Object] },
|
|
42
40
|
href: String,
|
|
43
41
|
target: String,
|
|
@@ -45,7 +43,7 @@ var Kl = {
|
|
|
45
43
|
type: String,
|
|
46
44
|
default: "noopener noreferrer"
|
|
47
45
|
}
|
|
48
|
-
},
|
|
46
|
+
}, We = {
|
|
49
47
|
valid: {
|
|
50
48
|
type: Boolean,
|
|
51
49
|
default: !1
|
|
@@ -54,7 +52,7 @@ var Kl = {
|
|
|
54
52
|
type: [String, Array],
|
|
55
53
|
default: void 0
|
|
56
54
|
}
|
|
57
|
-
},
|
|
55
|
+
}, qe = {
|
|
58
56
|
invalid: {
|
|
59
57
|
type: Boolean,
|
|
60
58
|
default: !1
|
|
@@ -63,7 +61,7 @@ var Kl = {
|
|
|
63
61
|
type: [String, Array],
|
|
64
62
|
default: void 0
|
|
65
63
|
}
|
|
66
|
-
},
|
|
64
|
+
}, Fe = {
|
|
67
65
|
loading: {
|
|
68
66
|
type: Boolean,
|
|
69
67
|
default: !1
|
|
@@ -78,29 +76,29 @@ var Kl = {
|
|
|
78
76
|
} }, ht = { required: {
|
|
79
77
|
type: Boolean,
|
|
80
78
|
default: !1
|
|
81
|
-
} },
|
|
79
|
+
} }, Zl = { selected: {
|
|
82
80
|
type: Boolean,
|
|
83
81
|
default: !1
|
|
84
|
-
} },
|
|
82
|
+
} }, ea = { active: {
|
|
85
83
|
type: Boolean,
|
|
86
84
|
default: !1
|
|
87
|
-
} },
|
|
85
|
+
} }, ta = { current: {
|
|
88
86
|
type: Boolean,
|
|
89
87
|
default: !1
|
|
90
|
-
} },
|
|
88
|
+
} }, Xt = {
|
|
91
89
|
showClearAction: {
|
|
92
90
|
type: Boolean,
|
|
93
91
|
default: !1
|
|
94
92
|
},
|
|
95
93
|
iconClear: {
|
|
96
94
|
type: [String, Object],
|
|
97
|
-
default:
|
|
95
|
+
default: ql.clear
|
|
98
96
|
},
|
|
99
97
|
labelClear: {
|
|
100
98
|
type: String,
|
|
101
99
|
default: "Clear"
|
|
102
100
|
}
|
|
103
|
-
},
|
|
101
|
+
}, la = { pressed: {
|
|
104
102
|
type: Boolean,
|
|
105
103
|
default: !1
|
|
106
104
|
} }, Pe = { label: {
|
|
@@ -109,10 +107,10 @@ var Kl = {
|
|
|
109
107
|
} }, ze = { readonly: {
|
|
110
108
|
type: Boolean,
|
|
111
109
|
default: !1
|
|
112
|
-
} },
|
|
110
|
+
} }, be = { modifiers: {
|
|
113
111
|
type: [String, Array],
|
|
114
112
|
default: void 0
|
|
115
|
-
} },
|
|
113
|
+
} }, Je = { hintLabel: {
|
|
116
114
|
type: String,
|
|
117
115
|
default: ""
|
|
118
116
|
} }, _t = {
|
|
@@ -132,7 +130,7 @@ var Kl = {
|
|
|
132
130
|
type: [String, Function],
|
|
133
131
|
default: "disabled"
|
|
134
132
|
}
|
|
135
|
-
},
|
|
133
|
+
}, aa = { count: {
|
|
136
134
|
type: [Boolean, String],
|
|
137
135
|
default: !1,
|
|
138
136
|
validator: (e) => [
|
|
@@ -141,20 +139,20 @@ var Kl = {
|
|
|
141
139
|
"limit",
|
|
142
140
|
"countdown"
|
|
143
141
|
].includes(e)
|
|
144
|
-
} },
|
|
142
|
+
} }, oa = { debounce: {
|
|
145
143
|
type: [Number, String],
|
|
146
144
|
default: void 0
|
|
147
|
-
} },
|
|
145
|
+
} }, et = {
|
|
148
146
|
icon: {
|
|
149
147
|
type: [String, Object],
|
|
150
148
|
default: void 0
|
|
151
149
|
},
|
|
152
150
|
iconPosition: {
|
|
153
151
|
type: String,
|
|
154
|
-
default:
|
|
155
|
-
validation: (e) => Object.values(
|
|
152
|
+
default: Xe.before,
|
|
153
|
+
validation: (e) => Object.values(Xe).includes(e)
|
|
156
154
|
}
|
|
157
|
-
},
|
|
155
|
+
}, tt = { tabindex: {
|
|
158
156
|
type: [String, Number],
|
|
159
157
|
default: 0
|
|
160
158
|
} }, St = { floating: {
|
|
@@ -167,12 +165,12 @@ var Kl = {
|
|
|
167
165
|
placement: {
|
|
168
166
|
type: String,
|
|
169
167
|
default: D.bottom,
|
|
170
|
-
validator: (e) => Object.values(D).includes(e) || Object.values(
|
|
168
|
+
validator: (e) => Object.values(D).includes(e) || Object.values(Jl).includes(e)
|
|
171
169
|
},
|
|
172
170
|
strategy: {
|
|
173
171
|
type: String,
|
|
174
172
|
default: void 0,
|
|
175
|
-
validator: (e) => Object.values(
|
|
173
|
+
validator: (e) => Object.values(Jt).includes(e)
|
|
176
174
|
},
|
|
177
175
|
transitionName: {
|
|
178
176
|
type: String,
|
|
@@ -218,33 +216,33 @@ var Kl = {
|
|
|
218
216
|
type: Boolean,
|
|
219
217
|
default: !1
|
|
220
218
|
}
|
|
221
|
-
},
|
|
219
|
+
}, lt = {
|
|
222
220
|
...Vt,
|
|
223
221
|
name: {
|
|
224
222
|
type: String,
|
|
225
223
|
required: !0
|
|
226
224
|
}
|
|
227
|
-
},
|
|
225
|
+
}, Zt = { autofocus: {
|
|
228
226
|
type: Boolean,
|
|
229
227
|
default: !1
|
|
230
|
-
} },
|
|
228
|
+
} }, el = { autocomplete: {
|
|
231
229
|
type: String,
|
|
232
230
|
default: "off"
|
|
233
|
-
} },
|
|
231
|
+
} }, Lo = {
|
|
232
|
+
...lt,
|
|
233
|
+
...Zt,
|
|
234
|
+
...el,
|
|
234
235
|
...tt,
|
|
235
|
-
...Qt,
|
|
236
|
-
...Xt,
|
|
237
|
-
...et,
|
|
238
236
|
...ke,
|
|
239
237
|
...ze,
|
|
240
|
-
...Ke,
|
|
241
|
-
...Ge,
|
|
242
238
|
...We,
|
|
243
|
-
...
|
|
244
|
-
...
|
|
245
|
-
...
|
|
246
|
-
...
|
|
247
|
-
...
|
|
239
|
+
...qe,
|
|
240
|
+
...Je,
|
|
241
|
+
...Fe,
|
|
242
|
+
...be,
|
|
243
|
+
...aa,
|
|
244
|
+
...oa,
|
|
245
|
+
...et,
|
|
248
246
|
...St,
|
|
249
247
|
...Pe,
|
|
250
248
|
minlength: {
|
|
@@ -260,17 +258,17 @@ var Kl = {
|
|
|
260
258
|
default: void 0
|
|
261
259
|
},
|
|
262
260
|
...ht
|
|
263
|
-
},
|
|
261
|
+
}, wo = {
|
|
262
|
+
...lt,
|
|
264
263
|
...tt,
|
|
265
|
-
...et,
|
|
266
|
-
...Ke,
|
|
267
|
-
...Ge,
|
|
268
264
|
...We,
|
|
265
|
+
...qe,
|
|
266
|
+
...Je,
|
|
269
267
|
...ke,
|
|
270
268
|
...ze,
|
|
271
|
-
...
|
|
269
|
+
...be,
|
|
272
270
|
...Pe,
|
|
273
|
-
...
|
|
271
|
+
...Fe,
|
|
274
272
|
value: {
|
|
275
273
|
type: [
|
|
276
274
|
String,
|
|
@@ -288,16 +286,16 @@ var Kl = {
|
|
|
288
286
|
],
|
|
289
287
|
default: void 0
|
|
290
288
|
}
|
|
291
|
-
},
|
|
292
|
-
...Ke,
|
|
293
|
-
...Ge,
|
|
294
|
-
..._t,
|
|
289
|
+
}, $o = {
|
|
295
290
|
...We,
|
|
291
|
+
...qe,
|
|
292
|
+
..._t,
|
|
293
|
+
...Je,
|
|
296
294
|
...ke,
|
|
297
295
|
...ze,
|
|
298
|
-
...
|
|
296
|
+
...be,
|
|
299
297
|
...Pe,
|
|
300
|
-
...
|
|
298
|
+
...Fe,
|
|
301
299
|
...ht,
|
|
302
300
|
modelValue: {
|
|
303
301
|
type: [
|
|
@@ -317,17 +315,17 @@ var Kl = {
|
|
|
317
315
|
type: Boolean,
|
|
318
316
|
default: !1
|
|
319
317
|
}
|
|
320
|
-
},
|
|
318
|
+
}, tl = {
|
|
321
319
|
...ke,
|
|
322
320
|
...Pe,
|
|
321
|
+
...la,
|
|
323
322
|
...ea,
|
|
323
|
+
...ta,
|
|
324
324
|
...Xl,
|
|
325
|
-
...Zl,
|
|
326
|
-
...Yl,
|
|
327
325
|
type: {
|
|
328
326
|
type: String,
|
|
329
|
-
default:
|
|
330
|
-
validator: (e) => Object.values(
|
|
327
|
+
default: Ft.button,
|
|
328
|
+
validator: (e) => Object.values(Ft).includes(e)
|
|
331
329
|
},
|
|
332
330
|
ariaLabel: {
|
|
333
331
|
type: String,
|
|
@@ -335,32 +333,32 @@ var Kl = {
|
|
|
335
333
|
},
|
|
336
334
|
defaultTag: {
|
|
337
335
|
type: String,
|
|
338
|
-
default:
|
|
336
|
+
default: ve.button
|
|
339
337
|
}
|
|
340
|
-
},
|
|
338
|
+
}, ko = {
|
|
341
339
|
storageType: {
|
|
342
340
|
type: String,
|
|
343
|
-
default:
|
|
344
|
-
validator: (e) => Object.values(
|
|
341
|
+
default: Ht.local,
|
|
342
|
+
validator: (e) => Object.values(Ht).includes(e)
|
|
345
343
|
},
|
|
346
344
|
storageKey: String
|
|
347
345
|
}, dt = {
|
|
346
|
+
...lt,
|
|
348
347
|
...tt,
|
|
349
|
-
...et,
|
|
350
|
-
...Ke,
|
|
351
|
-
...Ge,
|
|
352
348
|
...We,
|
|
353
|
-
...
|
|
349
|
+
...qe,
|
|
350
|
+
...Je,
|
|
351
|
+
...Fe,
|
|
354
352
|
...ke,
|
|
355
353
|
...ze,
|
|
356
|
-
...
|
|
354
|
+
...be,
|
|
357
355
|
..._t,
|
|
358
|
-
...
|
|
356
|
+
...et,
|
|
359
357
|
...St,
|
|
360
358
|
...ft,
|
|
361
359
|
...Pe,
|
|
362
360
|
...ht,
|
|
363
|
-
...
|
|
361
|
+
...Xt,
|
|
364
362
|
transitionName: {
|
|
365
363
|
type: String,
|
|
366
364
|
default: "vv-dropdown--mobile-fade-block"
|
|
@@ -472,7 +470,7 @@ var Kl = {
|
|
|
472
470
|
default: !0
|
|
473
471
|
}
|
|
474
472
|
};
|
|
475
|
-
function
|
|
473
|
+
function Tt() {
|
|
476
474
|
return {
|
|
477
475
|
...dt,
|
|
478
476
|
options: {
|
|
@@ -485,74 +483,74 @@ function Ft() {
|
|
|
485
483
|
}
|
|
486
484
|
};
|
|
487
485
|
}
|
|
488
|
-
function
|
|
489
|
-
return l ?
|
|
486
|
+
function ll(e, r, l) {
|
|
487
|
+
return l ? Mt(e, l) === Mt(r, l) : ct(e, r);
|
|
490
488
|
}
|
|
491
489
|
function ct(e, r) {
|
|
492
490
|
if (e === r) return !0;
|
|
493
491
|
if (e && r && typeof e == "object" && typeof r == "object") {
|
|
494
|
-
const l = Array.isArray(e),
|
|
495
|
-
let s,
|
|
496
|
-
if (l &&
|
|
497
|
-
if (
|
|
498
|
-
for (s =
|
|
492
|
+
const l = Array.isArray(e), o = Array.isArray(r);
|
|
493
|
+
let s, a, b;
|
|
494
|
+
if (l && o) {
|
|
495
|
+
if (a = e.length, a !== r.length) return !1;
|
|
496
|
+
for (s = a; s-- !== 0; ) if (!ct(e[s], r[s])) return !1;
|
|
499
497
|
return !0;
|
|
500
498
|
}
|
|
501
|
-
if (l !==
|
|
502
|
-
const
|
|
503
|
-
if (
|
|
504
|
-
if (
|
|
499
|
+
if (l !== o) return !1;
|
|
500
|
+
const g = e instanceof Date, y = r instanceof Date;
|
|
501
|
+
if (g !== y) return !1;
|
|
502
|
+
if (g && y) return e.getTime() === r.getTime();
|
|
505
503
|
const u = e instanceof RegExp, _ = r instanceof RegExp;
|
|
506
504
|
if (u !== _) return !1;
|
|
507
505
|
if (u && _) return e.toString() === r.toString();
|
|
508
506
|
const v = Object.keys(e);
|
|
509
|
-
if (
|
|
510
|
-
for (s =
|
|
511
|
-
for (s =
|
|
507
|
+
if (a = v.length, a !== Object.keys(r).length) return !1;
|
|
508
|
+
for (s = a; s-- !== 0; ) if (!Object.hasOwn(r, v[s])) return !1;
|
|
509
|
+
for (s = a; s-- !== 0; )
|
|
512
510
|
if (b = v[s], !ct(e[b], r[b])) return !1;
|
|
513
511
|
return !0;
|
|
514
512
|
}
|
|
515
513
|
return Number.isNaN(e) && Number.isNaN(r);
|
|
516
514
|
}
|
|
517
|
-
function
|
|
515
|
+
function Mt(e, r) {
|
|
518
516
|
if (e && Object.keys(e).length && r) if (r.includes(".")) {
|
|
519
517
|
const l = r.split(".");
|
|
520
|
-
let
|
|
521
|
-
for (let s = 0,
|
|
518
|
+
let o = e;
|
|
519
|
+
for (let s = 0, a = l.length; s < a; ++s) {
|
|
522
520
|
if (e == null) return null;
|
|
523
|
-
|
|
521
|
+
o = o[l[s]];
|
|
524
522
|
}
|
|
525
|
-
return
|
|
523
|
+
return o;
|
|
526
524
|
} else
|
|
527
525
|
return e[r];
|
|
528
526
|
else return null;
|
|
529
527
|
}
|
|
530
|
-
function
|
|
528
|
+
function Rt(e, r) {
|
|
531
529
|
if (e != null && r && r.length) {
|
|
532
|
-
for (const l of r) if (
|
|
530
|
+
for (const l of r) if (ll(e, l)) return !0;
|
|
533
531
|
}
|
|
534
532
|
return !1;
|
|
535
533
|
}
|
|
536
|
-
function
|
|
534
|
+
function ra(e) {
|
|
537
535
|
return typeof e == "string";
|
|
538
536
|
}
|
|
539
|
-
function
|
|
540
|
-
return Array.isArray(e) ? e.filter((r) =>
|
|
537
|
+
function xt(e) {
|
|
538
|
+
return Array.isArray(e) ? e.filter((r) => ra(r)).join(" ") : e;
|
|
541
539
|
}
|
|
542
|
-
function
|
|
543
|
-
const l = i(() => pt(e) ? e.value : e),
|
|
540
|
+
function al(e, r) {
|
|
541
|
+
const l = i(() => pt(e) ? e.value : e), o = i(() => xt(l.value.invalidLabel)), s = i(() => xt(l.value.validLabel)), a = i(() => l.value.loadingLabel), b = i(() => l.value.hintLabel), g = i(() => !!(l.value.loading && (r.loading || a.value))), y = i(() => !g.value && !!(l.value.invalid && (r.invalid || o.value))), u = i(() => !g.value && !y.value && !!(l.value.valid && (r.valid || s.value))), _ = i(() => !g.value && !y.value && !u.value && !!(r.hint || b.value)), v = i(() => y.value || u.value || g.value || _.value);
|
|
544
542
|
return {
|
|
545
543
|
hasInvalidLabelOrSlot: y,
|
|
546
544
|
hasHintLabelOrSlot: _,
|
|
547
545
|
hasValidLabelOrSlot: u,
|
|
548
|
-
hasLoadingLabelOrSlot:
|
|
546
|
+
hasLoadingLabelOrSlot: g,
|
|
549
547
|
hintSlotScope: i(() => ({
|
|
550
548
|
modelValue: l.value.modelValue,
|
|
551
549
|
valid: l.value.valid,
|
|
552
550
|
invalid: l.value.invalid,
|
|
553
551
|
loading: l.value.loading
|
|
554
552
|
})),
|
|
555
|
-
HintSlot:
|
|
553
|
+
HintSlot: U({
|
|
556
554
|
name: "HintSlot",
|
|
557
555
|
props: { tag: {
|
|
558
556
|
type: String,
|
|
@@ -561,20 +559,20 @@ function tl(e, r) {
|
|
|
561
559
|
setup() {
|
|
562
560
|
return {
|
|
563
561
|
isVisible: v,
|
|
564
|
-
invalidLabel:
|
|
562
|
+
invalidLabel: o,
|
|
565
563
|
validLabel: s,
|
|
566
|
-
loadingLabel:
|
|
564
|
+
loadingLabel: a,
|
|
567
565
|
hintLabel: b,
|
|
568
566
|
hasInvalidLabelOrSlot: y,
|
|
569
567
|
hasValidLabelOrSlot: u,
|
|
570
|
-
hasLoadingLabelOrSlot:
|
|
568
|
+
hasLoadingLabelOrSlot: g,
|
|
571
569
|
hasHintLabelOrSlot: _
|
|
572
570
|
};
|
|
573
571
|
},
|
|
574
572
|
render() {
|
|
575
573
|
if (this.isVisible) {
|
|
576
574
|
let c;
|
|
577
|
-
return this.hasInvalidLabelOrSlot && (c = "alert"), this.hasValidLabelOrSlot && (c = "status"), this.hasLoadingLabelOrSlot ?
|
|
575
|
+
return this.hasInvalidLabelOrSlot && (c = "alert"), this.hasValidLabelOrSlot && (c = "status"), this.hasLoadingLabelOrSlot ? $e(this.tag, { role: c }, this.$slots.loading?.() ?? this.loadingLabel) : this.hasInvalidLabelOrSlot ? $e(this.tag, { role: c }, this.$slots.invalid?.() ?? this.$slots.invalid ?? this.invalidLabel) : this.hasValidLabelOrSlot ? $e(this.tag, { role: c }, this.$slots.valid?.() ?? this.validLabel) : $e(this.tag, { role: c }, this.$slots.hint?.() ?? this.$slots.hint ?? this.hintLabel);
|
|
578
576
|
}
|
|
579
577
|
return null;
|
|
580
578
|
}
|
|
@@ -582,21 +580,21 @@ function tl(e, r) {
|
|
|
582
580
|
};
|
|
583
581
|
}
|
|
584
582
|
function Lt() {
|
|
585
|
-
return
|
|
583
|
+
return Ke(Yl, void 0);
|
|
586
584
|
}
|
|
587
585
|
function Ce(e, r, l) {
|
|
588
586
|
return i(() => {
|
|
589
|
-
const
|
|
590
|
-
return s && Array.isArray(s) && s.forEach((
|
|
591
|
-
|
|
592
|
-
}), l && Object.keys(l.value).forEach((
|
|
593
|
-
|
|
594
|
-
}),
|
|
587
|
+
const o = { [e]: !0 }, s = typeof r?.value == "string" ? r.value.split(" ") : r?.value;
|
|
588
|
+
return s && Array.isArray(s) && s.forEach((a) => {
|
|
589
|
+
a && (o[`${e}--${a}`] = !0);
|
|
590
|
+
}), l && Object.keys(l.value).forEach((a) => {
|
|
591
|
+
o[`${e}--${a}`] = t(l.value[a]);
|
|
592
|
+
}), o;
|
|
595
593
|
});
|
|
596
594
|
}
|
|
597
|
-
var
|
|
598
|
-
...
|
|
599
|
-
props: /* @__PURE__ */
|
|
595
|
+
var na = { name: "VvIcon" }, ia = /* @__PURE__ */ U({
|
|
596
|
+
...na,
|
|
597
|
+
props: /* @__PURE__ */ _l({
|
|
600
598
|
name: {},
|
|
601
599
|
color: {},
|
|
602
600
|
width: {},
|
|
@@ -615,29 +613,29 @@ var oa = { name: "VvIcon" }, ra = /* @__PURE__ */ Q({
|
|
|
615
613
|
modifiers: {}
|
|
616
614
|
}, zl),
|
|
617
615
|
setup(e) {
|
|
618
|
-
const r = e, l = i(() => typeof r.rotate == "string" ? Number.parseFloat(r.rotate) : r.rotate),
|
|
619
|
-
const v = r.name ?? "", c = `@${
|
|
620
|
-
if (
|
|
621
|
-
const
|
|
622
|
-
return
|
|
616
|
+
const r = e, l = i(() => typeof r.rotate == "string" ? Number.parseFloat(r.rotate) : r.rotate), o = N(!0), s = Lt(), { modifiers: a } = pe(r), b = Ce("vv-icon", a), g = i(() => r.provider || s?.iconsProvider), y = i(() => {
|
|
617
|
+
const v = r.name ?? "", c = `@${g.value}:${r.prefix}:${v}`;
|
|
618
|
+
if (st(c)) return c;
|
|
619
|
+
const C = s?.iconsCollections.find((P) => st(`@${g.value}:${P.prefix}:${v}`));
|
|
620
|
+
return C ? `@${g.value}:${C.prefix}:${v}` : v;
|
|
623
621
|
});
|
|
624
622
|
function u(v) {
|
|
625
623
|
const c = typeof window < "u" ? new window.DOMParser() : null;
|
|
626
624
|
return c ? c.parseFromString(v, "text/html").querySelector("svg") : null;
|
|
627
625
|
}
|
|
628
626
|
function _(v) {
|
|
629
|
-
const c = u(v),
|
|
630
|
-
c &&
|
|
631
|
-
body:
|
|
627
|
+
const c = u(v), C = c?.innerHTML.trim() || "";
|
|
628
|
+
c && C && Dl(`@${g.value}:${r.prefix}:${r.name}`, {
|
|
629
|
+
body: C,
|
|
632
630
|
height: c.viewBox.baseVal.height,
|
|
633
631
|
width: c.viewBox.baseVal.width
|
|
634
632
|
});
|
|
635
633
|
}
|
|
636
|
-
return s && r.src && !
|
|
637
|
-
v && _(v),
|
|
634
|
+
return s && r.src && !st(`@${g.value}:${r.prefix}:${r.name}`) && (o.value = !1, s.fetchIcon(r.src).then((v) => {
|
|
635
|
+
v && _(v), o.value = !0;
|
|
638
636
|
}).catch((v) => {
|
|
639
|
-
throw
|
|
640
|
-
})), r.svg && _(r.svg), (v, c) => t(
|
|
637
|
+
throw o.value = !0, new Error(`Error during fetch icon: ${v?.message}`);
|
|
638
|
+
})), r.svg && _(r.svg), (v, c) => t(o) ? (f(), H(t(Nl), A({
|
|
641
639
|
key: 0,
|
|
642
640
|
class: t(b)
|
|
643
641
|
}, {
|
|
@@ -650,23 +648,23 @@ var oa = { name: "VvIcon" }, ra = /* @__PURE__ */ Q({
|
|
|
650
648
|
rotate: t(l),
|
|
651
649
|
color: e.color,
|
|
652
650
|
icon: t(y)
|
|
653
|
-
}, { onLoad: e.onLoad }), null, 16, ["class", "onLoad"])) :
|
|
651
|
+
}, { onLoad: e.onLoad }), null, 16, ["class", "onLoad"])) : I("v-if", !0);
|
|
654
652
|
}
|
|
655
|
-
}),
|
|
656
|
-
function
|
|
657
|
-
const l = i(() => typeof e?.value == "string" ? { name: e?.value } : e?.value),
|
|
653
|
+
}), ce = ia;
|
|
654
|
+
function at(e, r) {
|
|
655
|
+
const l = i(() => typeof e?.value == "string" ? { name: e?.value } : e?.value), o = i(() => r?.value === Xe.before ? l.value : void 0), s = i(() => r?.value === Xe.after ? l.value : void 0);
|
|
658
656
|
return {
|
|
659
657
|
hasIcon: l,
|
|
660
658
|
hasIconLeft: i(() => r?.value === D.left ? l.value : void 0),
|
|
661
659
|
hasIconRight: i(() => r?.value === D.right ? l.value : void 0),
|
|
662
660
|
hasIconTop: i(() => r?.value === D.top ? l.value : void 0),
|
|
663
661
|
hasIconBottom: i(() => r?.value === D.bottom ? l.value : void 0),
|
|
664
|
-
hasIconBefore:
|
|
662
|
+
hasIconBefore: o,
|
|
665
663
|
hasIconAfter: s
|
|
666
664
|
};
|
|
667
665
|
}
|
|
668
|
-
var
|
|
669
|
-
components: { VvIcon:
|
|
666
|
+
var ol = U({
|
|
667
|
+
components: { VvIcon: ce },
|
|
670
668
|
props: {
|
|
671
669
|
inputType: {
|
|
672
670
|
type: String,
|
|
@@ -687,21 +685,21 @@ var ll = Q({
|
|
|
687
685
|
},
|
|
688
686
|
emits: ["clear"],
|
|
689
687
|
setup(e, { emit: r }) {
|
|
690
|
-
const { hasIcon: l } =
|
|
691
|
-
function
|
|
688
|
+
const { hasIcon: l } = at(i(() => e.icon));
|
|
689
|
+
function o(s) {
|
|
692
690
|
s?.stopPropagation(), e.disabled || r("clear");
|
|
693
691
|
}
|
|
694
692
|
return {
|
|
695
693
|
hasIcon: l,
|
|
696
|
-
onClick:
|
|
694
|
+
onClick: o
|
|
697
695
|
};
|
|
698
696
|
},
|
|
699
697
|
render() {
|
|
700
|
-
const e = this.hasIcon ?
|
|
698
|
+
const e = this.hasIcon ? $e(ce, {
|
|
701
699
|
...this.hasIcon,
|
|
702
700
|
class: `vv-${this.inputType}__icon`
|
|
703
701
|
}) : void 0;
|
|
704
|
-
return
|
|
702
|
+
return $e("button", {
|
|
705
703
|
disabled: this.disabled,
|
|
706
704
|
class: `vv-${this.inputType}__action`,
|
|
707
705
|
ariaLabel: this.label,
|
|
@@ -709,30 +707,30 @@ var ll = Q({
|
|
|
709
707
|
onClick: this.onClick
|
|
710
708
|
}, e);
|
|
711
709
|
}
|
|
712
|
-
}),
|
|
713
|
-
...
|
|
710
|
+
}), sa = {
|
|
711
|
+
...be,
|
|
714
712
|
value: [String, Number]
|
|
715
|
-
},
|
|
716
|
-
...
|
|
717
|
-
props:
|
|
713
|
+
}, ua = { name: "VvBadge" }, da = /* @__PURE__ */ U({
|
|
714
|
+
...ua,
|
|
715
|
+
props: sa,
|
|
718
716
|
setup(e) {
|
|
719
|
-
const { modifiers: r } =
|
|
720
|
-
return (
|
|
717
|
+
const { modifiers: r } = pe(e), l = Ce("vv-badge", r);
|
|
718
|
+
return (o, s) => (f(), L("span", { class: Ge(t(l)) }, [O(o.$slots, "default", {}, () => [ee(F(o.value), 1)])], 2));
|
|
721
719
|
}
|
|
722
|
-
}),
|
|
723
|
-
function
|
|
724
|
-
const r =
|
|
725
|
-
function
|
|
726
|
-
const
|
|
727
|
-
if (
|
|
720
|
+
}), va = da;
|
|
721
|
+
function fa(e) {
|
|
722
|
+
const r = Ke(e, void 0), l = i(() => r !== void 0);
|
|
723
|
+
function o(s, a, b) {
|
|
724
|
+
const g = r?.[s];
|
|
725
|
+
if (g) return i({
|
|
728
726
|
get() {
|
|
729
|
-
return
|
|
727
|
+
return g.value;
|
|
730
728
|
},
|
|
731
729
|
set(u) {
|
|
732
|
-
|
|
730
|
+
g.value = u;
|
|
733
731
|
}
|
|
734
732
|
});
|
|
735
|
-
const y =
|
|
733
|
+
const y = $l(a, s);
|
|
736
734
|
return i({
|
|
737
735
|
get() {
|
|
738
736
|
return y.value;
|
|
@@ -745,16 +743,16 @@ function da(e) {
|
|
|
745
743
|
return {
|
|
746
744
|
group: r,
|
|
747
745
|
isInGroup: l,
|
|
748
|
-
getGroupOrLocalRef:
|
|
746
|
+
getGroupOrLocalRef: o
|
|
749
747
|
};
|
|
750
748
|
}
|
|
751
|
-
var
|
|
752
|
-
...
|
|
749
|
+
var ca = ["update:modelValue"], pa = {
|
|
750
|
+
...tl,
|
|
753
751
|
...Vt,
|
|
754
|
-
...
|
|
752
|
+
...be,
|
|
755
753
|
...Ot,
|
|
756
|
-
...
|
|
757
|
-
...
|
|
754
|
+
...Fe,
|
|
755
|
+
...et,
|
|
758
756
|
iconPosition: {
|
|
759
757
|
type: String,
|
|
760
758
|
default: D.left,
|
|
@@ -793,11 +791,11 @@ var va = ["update:modelValue"], fa = {
|
|
|
793
791
|
default: void 0
|
|
794
792
|
}
|
|
795
793
|
};
|
|
796
|
-
function
|
|
797
|
-
const { group: l, isInGroup:
|
|
794
|
+
function ba(e, r) {
|
|
795
|
+
const { group: l, isInGroup: o, getGroupOrLocalRef: s } = fa(Ql), { id: a, iconPosition: b, icon: g, label: y, pressed: u } = pe(e);
|
|
798
796
|
return {
|
|
799
797
|
group: l,
|
|
800
|
-
isInGroup:
|
|
798
|
+
isInGroup: o,
|
|
801
799
|
modelValue: s("modelValue", e, r),
|
|
802
800
|
toggle: s("toggle", e),
|
|
803
801
|
unselectable: s("unselectable", e),
|
|
@@ -805,206 +803,206 @@ function ca(e, r) {
|
|
|
805
803
|
modifiers: i(() => {
|
|
806
804
|
let _ = e.modifiers, v = l?.modifiers.value;
|
|
807
805
|
const c = /* @__PURE__ */ new Set();
|
|
808
|
-
return _ && (Array.isArray(_) || (_ = _.split(" ")), _.forEach((
|
|
806
|
+
return _ && (Array.isArray(_) || (_ = _.split(" ")), _.forEach((C) => c.add(C))), v && (Array.isArray(v) || (v = v.split(" ")), v.forEach((C) => c.add(C))), [...c];
|
|
809
807
|
}),
|
|
810
808
|
disabled: i(() => !!(e.disabled || l?.disabled.value)),
|
|
811
|
-
id:
|
|
809
|
+
id: a,
|
|
812
810
|
pressed: u,
|
|
813
811
|
iconPosition: b,
|
|
814
|
-
icon:
|
|
812
|
+
icon: g,
|
|
815
813
|
label: y
|
|
816
814
|
};
|
|
817
815
|
}
|
|
818
|
-
var
|
|
816
|
+
var ma = [
|
|
819
817
|
"click",
|
|
820
818
|
"mouseover",
|
|
821
819
|
"mouseleave"
|
|
822
|
-
],
|
|
823
|
-
function
|
|
824
|
-
return
|
|
820
|
+
], ga = tl;
|
|
821
|
+
function ya() {
|
|
822
|
+
return Ke(Ut, {});
|
|
825
823
|
}
|
|
826
|
-
function
|
|
827
|
-
return
|
|
824
|
+
function ha() {
|
|
825
|
+
return Ke(Yt, {});
|
|
828
826
|
}
|
|
829
|
-
function
|
|
830
|
-
return
|
|
827
|
+
function _a() {
|
|
828
|
+
return Ke(Qt, {});
|
|
831
829
|
}
|
|
832
|
-
var
|
|
833
|
-
...
|
|
834
|
-
props:
|
|
835
|
-
emits:
|
|
830
|
+
var Sa = { name: "VvAction" }, Oa = /* @__PURE__ */ U({
|
|
831
|
+
...Sa,
|
|
832
|
+
props: ga,
|
|
833
|
+
emits: ma,
|
|
836
834
|
setup(e, { expose: r, emit: l }) {
|
|
837
|
-
const
|
|
838
|
-
r({ $el:
|
|
839
|
-
const { reference: y, bus: u, aria: _, expanded: v } =
|
|
840
|
-
ae(() =>
|
|
841
|
-
y && (y.value =
|
|
835
|
+
const o = e, s = l, a = hl(), b = Lt(), g = N(null);
|
|
836
|
+
r({ $el: g });
|
|
837
|
+
const { reference: y, bus: u, aria: _, expanded: v } = ya();
|
|
838
|
+
ae(() => g.value, (V) => {
|
|
839
|
+
y && (y.value = V);
|
|
842
840
|
});
|
|
843
|
-
const c = i(() =>
|
|
841
|
+
const c = i(() => o.pressed || v?.value), { role: C } = _a(), P = i(() => {
|
|
844
842
|
switch (!0) {
|
|
845
|
-
case
|
|
846
|
-
return
|
|
847
|
-
case
|
|
848
|
-
return b?.nuxt ?
|
|
849
|
-
case
|
|
850
|
-
return
|
|
843
|
+
case o.disabled:
|
|
844
|
+
return ve.button;
|
|
845
|
+
case o.to !== void 0:
|
|
846
|
+
return b?.nuxt ? Vl(ve.nuxtLink) : ve.routerLink;
|
|
847
|
+
case o.href !== void 0:
|
|
848
|
+
return ve.a;
|
|
851
849
|
default:
|
|
852
|
-
return
|
|
850
|
+
return o.defaultTag;
|
|
853
851
|
}
|
|
854
|
-
}),
|
|
855
|
-
const
|
|
852
|
+
}), G = i(() => {
|
|
853
|
+
const V = {
|
|
856
854
|
..._?.value,
|
|
857
855
|
ariaPressed: c.value ? !0 : void 0,
|
|
858
|
-
ariaLabel:
|
|
859
|
-
role:
|
|
856
|
+
ariaLabel: o.ariaLabel,
|
|
857
|
+
role: C?.value
|
|
860
858
|
};
|
|
861
859
|
switch (P.value) {
|
|
862
|
-
case
|
|
860
|
+
case ve.a:
|
|
863
861
|
return {
|
|
864
|
-
...
|
|
865
|
-
href:
|
|
866
|
-
target:
|
|
867
|
-
rel:
|
|
862
|
+
...V,
|
|
863
|
+
href: o.href,
|
|
864
|
+
target: o.target,
|
|
865
|
+
rel: o.rel
|
|
868
866
|
};
|
|
869
|
-
case
|
|
870
|
-
case
|
|
867
|
+
case ve.routerLink:
|
|
868
|
+
case ve.nuxtLink:
|
|
871
869
|
return {
|
|
872
|
-
...
|
|
873
|
-
to:
|
|
874
|
-
target:
|
|
870
|
+
...V,
|
|
871
|
+
to: o.to,
|
|
872
|
+
target: o.target
|
|
875
873
|
};
|
|
876
|
-
case
|
|
874
|
+
case ve.button:
|
|
877
875
|
return {
|
|
878
|
-
...
|
|
879
|
-
type:
|
|
880
|
-
disabled:
|
|
876
|
+
...V,
|
|
877
|
+
type: o.type,
|
|
878
|
+
disabled: o.disabled
|
|
881
879
|
};
|
|
882
880
|
default:
|
|
883
|
-
return
|
|
881
|
+
return V;
|
|
884
882
|
}
|
|
885
883
|
});
|
|
886
|
-
function
|
|
887
|
-
if (
|
|
888
|
-
|
|
884
|
+
function T(V) {
|
|
885
|
+
if (o.disabled) {
|
|
886
|
+
V.preventDefault();
|
|
889
887
|
return;
|
|
890
888
|
}
|
|
891
|
-
if (
|
|
892
|
-
s("click",
|
|
889
|
+
if (a?.vnode.props?.onClick) {
|
|
890
|
+
s("click", V);
|
|
893
891
|
return;
|
|
894
892
|
}
|
|
895
|
-
u?.emit("click",
|
|
893
|
+
u?.emit("click", V);
|
|
896
894
|
}
|
|
897
|
-
function
|
|
898
|
-
if (
|
|
899
|
-
s("mouseover",
|
|
895
|
+
function Y(V) {
|
|
896
|
+
if (a?.vnode.props?.onMouseover) {
|
|
897
|
+
s("mouseover", V);
|
|
900
898
|
return;
|
|
901
899
|
}
|
|
902
|
-
u?.emit("mouseover",
|
|
900
|
+
u?.emit("mouseover", V);
|
|
903
901
|
}
|
|
904
|
-
function
|
|
905
|
-
if (
|
|
906
|
-
s("mouseleave",
|
|
902
|
+
function W(V) {
|
|
903
|
+
if (a?.vnode.props?.onMouseleave) {
|
|
904
|
+
s("mouseleave", V);
|
|
907
905
|
return;
|
|
908
906
|
}
|
|
909
|
-
u?.emit("mouseleave",
|
|
907
|
+
u?.emit("mouseleave", V);
|
|
910
908
|
}
|
|
911
|
-
return (
|
|
909
|
+
return (V, k) => (f(), H(Ll(t(P)), A(t(G), {
|
|
912
910
|
ref_key: "rootEl",
|
|
913
|
-
ref:
|
|
911
|
+
ref: g,
|
|
914
912
|
class: {
|
|
915
|
-
active:
|
|
913
|
+
active: V.active,
|
|
916
914
|
pressed: t(c),
|
|
917
|
-
disabled:
|
|
918
|
-
current:
|
|
915
|
+
disabled: V.disabled,
|
|
916
|
+
current: V.current
|
|
919
917
|
},
|
|
920
|
-
onClickPassive:
|
|
921
|
-
onMouseoverPassive:
|
|
922
|
-
onMouseleavePassive:
|
|
918
|
+
onClickPassive: T,
|
|
919
|
+
onMouseoverPassive: Y,
|
|
920
|
+
onMouseleavePassive: W
|
|
923
921
|
}), {
|
|
924
|
-
default:
|
|
922
|
+
default: E(() => [O(V.$slots, "default", {}, () => [ee(F(V.label), 1)])]),
|
|
925
923
|
_: 3
|
|
926
924
|
}, 16, ["class"]));
|
|
927
925
|
}
|
|
928
|
-
}),
|
|
929
|
-
function
|
|
930
|
-
return i(() => String(e?.value ||
|
|
926
|
+
}), Va = Oa;
|
|
927
|
+
function ot(e) {
|
|
928
|
+
return i(() => String(e?.value || kl()));
|
|
931
929
|
}
|
|
932
|
-
var
|
|
930
|
+
var La = {
|
|
933
931
|
key: 1,
|
|
934
932
|
class: "vv-button__label"
|
|
935
|
-
},
|
|
933
|
+
}, wa = {
|
|
936
934
|
key: 1,
|
|
937
935
|
class: "vv-button__label"
|
|
938
|
-
},
|
|
936
|
+
}, $a = {
|
|
939
937
|
name: "VvButton",
|
|
940
938
|
inheritAttrs: !1
|
|
941
|
-
},
|
|
942
|
-
|
|
943
|
-
props:
|
|
944
|
-
emits:
|
|
939
|
+
}, ka = /* @__PURE__ */ U({
|
|
940
|
+
...$a,
|
|
941
|
+
props: pa,
|
|
942
|
+
emits: ca,
|
|
945
943
|
setup(e, { expose: r, emit: l }) {
|
|
946
|
-
const
|
|
947
|
-
r({ $el: i(() =>
|
|
948
|
-
const
|
|
944
|
+
const o = e, s = l, a = Wt(), b = mt(), { id: g, modifiers: y, iconPosition: u, icon: _, label: v, modelValue: c, disabled: C, toggle: P, unselectable: G } = ba(o, s), T = ot(g), Y = i(() => a?.name || T.value), W = N(null);
|
|
945
|
+
r({ $el: i(() => W.value?.$el) });
|
|
946
|
+
const V = i(() => P.value ? Array.isArray(c.value) ? Rt(Y.value, c.value) : ll(Y.value, c.value) : o.pressed), k = Ce("vv-button", y, i(() => ({
|
|
949
947
|
reverse: [D.right, D.bottom].includes(u.value),
|
|
950
948
|
column: [D.top, D.bottom].includes(u.value),
|
|
951
949
|
"icon-only": !!(_?.value && !v?.value && !b.default)
|
|
952
|
-
}))), { hasIcon:
|
|
950
|
+
}))), { hasIcon: ie } = at(_), Q = i(() => o.value !== void 0 ? o.value : Y.value), me = i(() => {
|
|
953
951
|
if (P.value)
|
|
954
|
-
return { onClick:
|
|
952
|
+
return { onClick: se };
|
|
955
953
|
});
|
|
956
|
-
function
|
|
954
|
+
function se() {
|
|
957
955
|
if (P.value) {
|
|
958
956
|
if (Array.isArray(c.value)) {
|
|
959
|
-
if (
|
|
960
|
-
|
|
957
|
+
if (Rt(Q.value, c.value)) {
|
|
958
|
+
G.value && (c.value = c.value.filter(($) => $ !== Q.value));
|
|
961
959
|
return;
|
|
962
960
|
}
|
|
963
|
-
c.value.push(
|
|
961
|
+
c.value.push(Q.value);
|
|
964
962
|
return;
|
|
965
963
|
}
|
|
966
|
-
if (
|
|
967
|
-
c.value =
|
|
964
|
+
if (Q.value === c.value && G.value) {
|
|
965
|
+
c.value = o.uncheckedValue;
|
|
968
966
|
return;
|
|
969
967
|
}
|
|
970
|
-
c.value =
|
|
968
|
+
c.value = Q.value;
|
|
971
969
|
}
|
|
972
970
|
}
|
|
973
|
-
return (
|
|
974
|
-
...t(
|
|
975
|
-
...t(
|
|
976
|
-
disabled: t(
|
|
977
|
-
pressed: t(
|
|
978
|
-
active:
|
|
979
|
-
type:
|
|
980
|
-
to:
|
|
981
|
-
href:
|
|
982
|
-
target:
|
|
983
|
-
rel:
|
|
984
|
-
ariaLabel:
|
|
971
|
+
return ($, M) => (f(), H(Va, A({
|
|
972
|
+
...t(a),
|
|
973
|
+
...t(me),
|
|
974
|
+
disabled: t(C),
|
|
975
|
+
pressed: t(V),
|
|
976
|
+
active: $.active,
|
|
977
|
+
type: $.type,
|
|
978
|
+
to: $.to,
|
|
979
|
+
href: $.href,
|
|
980
|
+
target: $.target,
|
|
981
|
+
rel: $.rel,
|
|
982
|
+
ariaLabel: $.ariaLabel
|
|
985
983
|
}, {
|
|
986
|
-
id: t(
|
|
984
|
+
id: t(T),
|
|
987
985
|
ref_key: "rootEl",
|
|
988
|
-
ref:
|
|
989
|
-
class: t(
|
|
986
|
+
ref: W,
|
|
987
|
+
class: t(k)
|
|
990
988
|
}), {
|
|
991
|
-
default:
|
|
989
|
+
default: E(() => [O($.$slots, "default", {}, () => [$.loading ? O($.$slots, "loading", { key: 0 }, () => [$.loadingIcon ? (f(), H(ce, {
|
|
992
990
|
key: 0,
|
|
993
991
|
class: "vv-button__loading-icon",
|
|
994
|
-
name:
|
|
995
|
-
}, null, 8, ["name"])) :
|
|
996
|
-
|
|
997
|
-
t(
|
|
998
|
-
t(v) ? (f(),
|
|
999
|
-
|
|
992
|
+
name: $.loadingIcon
|
|
993
|
+
}, null, 8, ["name"])) : I("v-if", !0), $.loadingLabel ? (f(), L("span", La, F($.loadingLabel), 1)) : I("v-if", !0)]) : (f(), L(le, { key: 1 }, [
|
|
994
|
+
O($.$slots, "before"),
|
|
995
|
+
t(ie) ? (f(), H(ce, A({ key: 0 }, t(ie), { class: "vv-button__icon" }), null, 16)) : I("v-if", !0),
|
|
996
|
+
t(v) ? (f(), L("span", wa, [O($.$slots, "label", {}, () => [ee(F(t(v)), 1)])])) : I("v-if", !0),
|
|
997
|
+
O($.$slots, "after")
|
|
1000
998
|
], 64))])]),
|
|
1001
999
|
_: 3
|
|
1002
1000
|
}, 16, ["id", "class"]));
|
|
1003
1001
|
}
|
|
1004
|
-
}),
|
|
1002
|
+
}), rl = ka, Pa = {
|
|
1005
1003
|
...Vt,
|
|
1006
1004
|
...ft,
|
|
1007
|
-
...
|
|
1005
|
+
...be,
|
|
1008
1006
|
modelValue: {
|
|
1009
1007
|
type: Boolean,
|
|
1010
1008
|
default: void 0
|
|
@@ -1015,17 +1013,17 @@ var Oa = {
|
|
|
1015
1013
|
},
|
|
1016
1014
|
role: {
|
|
1017
1015
|
type: String,
|
|
1018
|
-
default:
|
|
1019
|
-
validator: (e) => Object.values(
|
|
1016
|
+
default: Ze.menu,
|
|
1017
|
+
validator: (e) => Object.values(Ze).includes(e)
|
|
1020
1018
|
}
|
|
1021
|
-
},
|
|
1019
|
+
}, Ca = { focusOnHover: {
|
|
1022
1020
|
type: Boolean,
|
|
1023
1021
|
default: !1
|
|
1024
|
-
} },
|
|
1022
|
+
} }, Ea = {
|
|
1025
1023
|
...ke,
|
|
1026
|
-
...
|
|
1024
|
+
...Zl,
|
|
1027
1025
|
...Ot,
|
|
1028
|
-
...
|
|
1026
|
+
...be,
|
|
1029
1027
|
deselectHintLabel: { type: String },
|
|
1030
1028
|
selectHintLabel: { type: String },
|
|
1031
1029
|
selectedHintLabel: { type: String },
|
|
@@ -1034,51 +1032,51 @@ var Oa = {
|
|
|
1034
1032
|
default: !1
|
|
1035
1033
|
}
|
|
1036
1034
|
};
|
|
1037
|
-
function
|
|
1038
|
-
const s =
|
|
1035
|
+
function Ia({ reference: e, id: r, expanded: l, aria: o }) {
|
|
1036
|
+
const s = Wl();
|
|
1039
1037
|
return {
|
|
1040
1038
|
bus: s,
|
|
1041
|
-
component:
|
|
1039
|
+
component: U({
|
|
1042
1040
|
name: "VvDropdownTriggerProvider",
|
|
1043
1041
|
setup() {
|
|
1044
|
-
bt(
|
|
1042
|
+
bt(Ut, {
|
|
1045
1043
|
reference: e,
|
|
1046
1044
|
id: r,
|
|
1047
1045
|
expanded: l,
|
|
1048
|
-
aria:
|
|
1046
|
+
aria: o,
|
|
1049
1047
|
bus: s
|
|
1050
1048
|
});
|
|
1051
1049
|
},
|
|
1052
1050
|
render() {
|
|
1053
|
-
return
|
|
1051
|
+
return $e(le, {}, this.$slots.default?.());
|
|
1054
1052
|
}
|
|
1055
1053
|
})
|
|
1056
1054
|
};
|
|
1057
1055
|
}
|
|
1058
|
-
function
|
|
1059
|
-
const l = i(() => e.value ===
|
|
1060
|
-
return bt(
|
|
1056
|
+
function Ba({ role: e, ...r }) {
|
|
1057
|
+
const l = i(() => e.value === Ze.listbox ? jt.option : jt.presentation);
|
|
1058
|
+
return bt(Yt, {
|
|
1061
1059
|
role: l,
|
|
1062
1060
|
...r
|
|
1063
1061
|
}), { itemRole: l };
|
|
1064
1062
|
}
|
|
1065
|
-
function
|
|
1066
|
-
bt(
|
|
1067
|
-
role: N(
|
|
1063
|
+
function Aa({ expanded: e }) {
|
|
1064
|
+
bt(Qt, {
|
|
1065
|
+
role: N(Ul.menuitem),
|
|
1068
1066
|
expanded: e
|
|
1069
1067
|
});
|
|
1070
1068
|
}
|
|
1071
|
-
var
|
|
1069
|
+
var Na = [
|
|
1072
1070
|
"id",
|
|
1073
1071
|
"tabindex",
|
|
1074
1072
|
"role",
|
|
1075
1073
|
"aria-labelledby"
|
|
1076
|
-
],
|
|
1074
|
+
], Da = {
|
|
1077
1075
|
name: "VvDropdown",
|
|
1078
1076
|
inheritAttrs: !1
|
|
1079
|
-
},
|
|
1080
|
-
...
|
|
1081
|
-
props:
|
|
1077
|
+
}, Ha = /* @__PURE__ */ U({
|
|
1078
|
+
...Da,
|
|
1079
|
+
props: Pa,
|
|
1082
1080
|
emits: [
|
|
1083
1081
|
"update:modelValue",
|
|
1084
1082
|
"beforeEnter",
|
|
@@ -1097,172 +1095,175 @@ var Ba = [
|
|
|
1097
1095
|
"leaveCancelled"
|
|
1098
1096
|
],
|
|
1099
1097
|
setup(e, { expose: r, emit: l }) {
|
|
1100
|
-
const
|
|
1101
|
-
get: () =>
|
|
1098
|
+
const o = e, s = l, { id: a } = pe(o), b = ot(a), g = Wt(), y = N("auto"), u = N("auto"), _ = N(), v = N(), c = N(), C = N(), P = i({
|
|
1099
|
+
get: () => o.reference ?? _.value,
|
|
1102
1100
|
set: (d) => {
|
|
1103
1101
|
_.value = d;
|
|
1104
1102
|
}
|
|
1105
|
-
}),
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1103
|
+
}), G = N(!1);
|
|
1104
|
+
Ol(() => {
|
|
1105
|
+
Kl(v.value, () => {
|
|
1106
|
+
G.value = window.getComputedStyle(v.value).getPropertyValue("--dropdown-custom-position")?.trim() === "true";
|
|
1109
1107
|
}, {
|
|
1110
1108
|
attributeFilter: ["style"],
|
|
1111
1109
|
window
|
|
1112
1110
|
});
|
|
1113
1111
|
});
|
|
1114
|
-
|
|
1112
|
+
function T(d, w, Se) {
|
|
1113
|
+
return typeof d == "boolean" ? w() : Se(d);
|
|
1114
|
+
}
|
|
1115
|
+
const Y = i(() => {
|
|
1115
1116
|
const d = [];
|
|
1116
|
-
if (
|
|
1117
|
-
const
|
|
1118
|
-
y.value = `${
|
|
1117
|
+
if (o.autoPlacement ? d.push(T(o.autoPlacement, () => It(), (w) => It(w))) : o.flip && d.push(T(o.flip, () => Bt({ fallbackStrategy: "initialPlacement" }), (w) => Bt(w))), o.shift && d.push(T(o.shift, () => Nt(), (w) => Nt(w))), o.size) {
|
|
1118
|
+
const w = ({ availableWidth: Se, availableHeight: je }) => {
|
|
1119
|
+
y.value = `${Se}px`, u.value = `${je}px`;
|
|
1119
1120
|
};
|
|
1120
|
-
|
|
1121
|
-
...
|
|
1122
|
-
apply:
|
|
1123
|
-
}));
|
|
1121
|
+
d.push(T(o.size, () => Dt({ apply: w }), (Se) => Dt({
|
|
1122
|
+
...Se,
|
|
1123
|
+
apply: w
|
|
1124
|
+
})));
|
|
1124
1125
|
}
|
|
1125
|
-
return
|
|
1126
|
-
}), { x:
|
|
1127
|
-
whileElementsMounted: (...d) =>
|
|
1128
|
-
placement: i(() =>
|
|
1129
|
-
strategy: i(() =>
|
|
1130
|
-
middleware:
|
|
1131
|
-
}),
|
|
1132
|
-
if (
|
|
1133
|
-
const d =
|
|
1126
|
+
return o.offset && d.push(["string", "number"].includes(typeof o.offset) ? At(Number(o.offset)) : At(o.offset)), o.arrow && d.push(Hl({ element: c })), d;
|
|
1127
|
+
}), { x: W, y: V, middlewareData: k, placement: ie, strategy: Q } = jl(P, v, {
|
|
1128
|
+
whileElementsMounted: (...d) => Fl(...d, { animationFrame: o.strategy === Jt.fixed }),
|
|
1129
|
+
placement: i(() => o.placement),
|
|
1130
|
+
strategy: i(() => o.strategy),
|
|
1131
|
+
middleware: Y
|
|
1132
|
+
}), me = i(() => {
|
|
1133
|
+
if (G.value) return;
|
|
1134
|
+
const d = o.triggerWidth && P.value ? `${P.value?.offsetWidth}px` : void 0;
|
|
1134
1135
|
return {
|
|
1135
|
-
position:
|
|
1136
|
-
top: `${
|
|
1137
|
-
left: `${
|
|
1136
|
+
position: Q.value,
|
|
1137
|
+
top: `${V.value ?? 0}px`,
|
|
1138
|
+
left: `${W.value ?? 0}px`,
|
|
1138
1139
|
maxWidth: d ? void 0 : y.value,
|
|
1139
1140
|
maxHeight: u.value,
|
|
1140
1141
|
width: d
|
|
1141
1142
|
};
|
|
1142
|
-
}),
|
|
1143
|
-
if (
|
|
1143
|
+
}), se = i(() => ie.value.split("-")[0]), $ = i(() => {
|
|
1144
|
+
if (G.value) return;
|
|
1144
1145
|
const d = {
|
|
1145
1146
|
[D.top]: D.bottom,
|
|
1146
1147
|
[D.right]: D.left,
|
|
1147
1148
|
[D.bottom]: D.top,
|
|
1148
1149
|
[D.left]: D.right
|
|
1149
|
-
}[
|
|
1150
|
+
}[se.value];
|
|
1150
1151
|
return {
|
|
1151
|
-
left:
|
|
1152
|
-
top:
|
|
1152
|
+
left: k.value.arrow?.x !== void 0 ? `${k.value.arrow?.x}px` : void 0,
|
|
1153
|
+
top: k.value.arrow?.y !== void 0 ? `${k.value.arrow?.y}px` : void 0,
|
|
1153
1154
|
[d]: `${-(c.value?.offsetWidth ?? 0) / 2}px`
|
|
1154
1155
|
};
|
|
1155
|
-
}),
|
|
1156
|
-
get: () =>
|
|
1156
|
+
}), M = Gl(o, "modelValue", s), Ee = N(!1), S = i({
|
|
1157
|
+
get: () => M.value ?? Ee.value,
|
|
1157
1158
|
set: (d) => {
|
|
1158
|
-
if (
|
|
1159
|
-
|
|
1159
|
+
if (M.value === void 0) {
|
|
1160
|
+
Ee.value = d;
|
|
1160
1161
|
return;
|
|
1161
1162
|
}
|
|
1162
|
-
|
|
1163
|
+
M.value = d;
|
|
1163
1164
|
}
|
|
1164
1165
|
});
|
|
1165
|
-
function
|
|
1166
|
-
|
|
1167
|
-
}
|
|
1168
|
-
function q() {
|
|
1169
|
-
$.value = !1;
|
|
1166
|
+
function te() {
|
|
1167
|
+
S.value = !0;
|
|
1170
1168
|
}
|
|
1171
1169
|
function X() {
|
|
1172
|
-
|
|
1170
|
+
S.value = !1;
|
|
1173
1171
|
}
|
|
1174
|
-
function
|
|
1172
|
+
function q() {
|
|
1173
|
+
S.value = !S.value;
|
|
1174
|
+
}
|
|
1175
|
+
function ge(d) {
|
|
1175
1176
|
P.value = d;
|
|
1176
1177
|
}
|
|
1177
|
-
|
|
1178
|
-
!
|
|
1178
|
+
Ml(v, () => {
|
|
1179
|
+
!o.keepOpen && S.value && (S.value = !1);
|
|
1179
1180
|
}, { ignore: [P] });
|
|
1180
|
-
const
|
|
1181
|
+
const Ie = i(() => P.value?.getAttribute?.("id") ?? void 0), Be = i(() => ({
|
|
1181
1182
|
"aria-controls": b.value,
|
|
1182
1183
|
"aria-haspopup": !0,
|
|
1183
|
-
"aria-expanded":
|
|
1184
|
-
})), { component:
|
|
1184
|
+
"aria-expanded": S.value
|
|
1185
|
+
})), { component: ye, bus: he } = Ia({
|
|
1185
1186
|
reference: P,
|
|
1186
1187
|
id: b,
|
|
1187
|
-
expanded:
|
|
1188
|
-
aria:
|
|
1188
|
+
expanded: S,
|
|
1189
|
+
aria: Be
|
|
1189
1190
|
});
|
|
1190
|
-
|
|
1191
|
-
const { role:
|
|
1192
|
-
function
|
|
1193
|
-
return d ? [...d.querySelectorAll('a[href], button, input, textarea, select, details, [tabindex]:not([tabindex="-1"])')].filter((
|
|
1191
|
+
he.on("click", q);
|
|
1192
|
+
const { role: _e, modifiers: oe } = pe(o), Oe = Ce("vv-dropdown", oe, i(() => ({ arrow: o.arrow }))), { focused: Z } = yt(v);
|
|
1193
|
+
function re(d) {
|
|
1194
|
+
return d ? [...d.querySelectorAll('a[href], button, input, textarea, select, details, [tabindex]:not([tabindex="-1"])')].filter((w) => !w.hasAttribute("disabled") && !w.getAttribute("aria-hidden")) : [];
|
|
1194
1195
|
}
|
|
1195
|
-
function
|
|
1196
|
-
|
|
1197
|
-
const d =
|
|
1196
|
+
function h() {
|
|
1197
|
+
Qe(() => {
|
|
1198
|
+
const d = re(v.value);
|
|
1198
1199
|
d.length > 0 && d[0].focus({ preventScroll: !0 });
|
|
1199
1200
|
});
|
|
1200
1201
|
}
|
|
1201
|
-
function
|
|
1202
|
-
|
|
1203
|
-
const d =
|
|
1202
|
+
function R() {
|
|
1203
|
+
Qe(() => {
|
|
1204
|
+
const d = re(C.value);
|
|
1204
1205
|
d.length > 0 && d[0].focus({ preventScroll: !0 });
|
|
1205
1206
|
});
|
|
1206
1207
|
}
|
|
1207
|
-
function
|
|
1208
|
-
|
|
1209
|
-
if (
|
|
1210
|
-
const d =
|
|
1208
|
+
function z() {
|
|
1209
|
+
Qe(() => {
|
|
1210
|
+
if (Z.value) {
|
|
1211
|
+
const d = re(v.value);
|
|
1211
1212
|
if (d.length === 0 || !document.activeElement) return;
|
|
1212
|
-
const
|
|
1213
|
-
|
|
1213
|
+
const w = d.indexOf(document.activeElement);
|
|
1214
|
+
w < d.length - 1 ? d[w + 1].focus({ preventScroll: !0 }) : d[0].focus({ preventScroll: !0 });
|
|
1214
1215
|
}
|
|
1215
1216
|
});
|
|
1216
1217
|
}
|
|
1217
1218
|
function x() {
|
|
1218
|
-
|
|
1219
|
-
if (
|
|
1220
|
-
const d =
|
|
1219
|
+
Qe(() => {
|
|
1220
|
+
if (Z.value) {
|
|
1221
|
+
const d = re(v.value);
|
|
1221
1222
|
if (d.length === 0 || !document.activeElement) return;
|
|
1222
|
-
const
|
|
1223
|
-
if (
|
|
1224
|
-
d[
|
|
1223
|
+
const w = d.indexOf(document.activeElement);
|
|
1224
|
+
if (w > 0) {
|
|
1225
|
+
d[w - 1].focus({ preventScroll: !0 });
|
|
1225
1226
|
return;
|
|
1226
1227
|
}
|
|
1227
1228
|
d.at(-1)?.focus({ preventScroll: !0 });
|
|
1228
1229
|
}
|
|
1229
1230
|
});
|
|
1230
1231
|
}
|
|
1231
|
-
ae(
|
|
1232
|
-
d &&
|
|
1232
|
+
ae(S, (d) => {
|
|
1233
|
+
d && o.autofocusFirst && h();
|
|
1233
1234
|
}), r({
|
|
1234
|
-
toggle:
|
|
1235
|
-
show:
|
|
1236
|
-
hide:
|
|
1237
|
-
init:
|
|
1238
|
-
focusFirst:
|
|
1239
|
-
focusFirstListElement:
|
|
1240
|
-
focusNext:
|
|
1235
|
+
toggle: q,
|
|
1236
|
+
show: te,
|
|
1237
|
+
hide: X,
|
|
1238
|
+
init: ge,
|
|
1239
|
+
focusFirst: h,
|
|
1240
|
+
focusFirstListElement: R,
|
|
1241
|
+
focusNext: z,
|
|
1241
1242
|
focusPrev: x,
|
|
1242
|
-
customPosition:
|
|
1243
|
+
customPosition: G
|
|
1243
1244
|
});
|
|
1244
|
-
const { itemRole:
|
|
1245
|
-
role:
|
|
1246
|
-
expanded:
|
|
1247
|
-
focused:
|
|
1248
|
-
hovered:
|
|
1245
|
+
const { itemRole: ue } = Ba({
|
|
1246
|
+
role: _e,
|
|
1247
|
+
expanded: S,
|
|
1248
|
+
focused: Z,
|
|
1249
|
+
hovered: qt(v)
|
|
1249
1250
|
});
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
}),
|
|
1253
|
-
|
|
1254
|
-
}),
|
|
1255
|
-
|
|
1256
|
-
}),
|
|
1257
|
-
const
|
|
1258
|
-
|
|
1251
|
+
Me("Escape", (d) => {
|
|
1252
|
+
S.value && (d.preventDefault(), X());
|
|
1253
|
+
}), Me("ArrowDown", (d) => {
|
|
1254
|
+
S.value && Z.value && (d.preventDefault(), z());
|
|
1255
|
+
}), Me("ArrowUp", (d) => {
|
|
1256
|
+
S.value && Z.value && (d.preventDefault(), x());
|
|
1257
|
+
}), Me([" ", "Enter"], (d) => {
|
|
1258
|
+
const w = d.target;
|
|
1259
|
+
S.value && Z.value && w && w?.click();
|
|
1259
1260
|
});
|
|
1260
1261
|
const Ve = {
|
|
1261
1262
|
"before-enter": () => {
|
|
1262
|
-
s(
|
|
1263
|
+
s(S.value ? "beforeExpand" : "beforeCollapse"), s("beforeEnter");
|
|
1263
1264
|
},
|
|
1264
1265
|
"after-leave": () => {
|
|
1265
|
-
s(
|
|
1266
|
+
s(S.value ? "afterExpand" : "afterCollapse"), s("afterLeave");
|
|
1266
1267
|
},
|
|
1267
1268
|
enter: () => {
|
|
1268
1269
|
s("enter");
|
|
@@ -1283,111 +1284,111 @@ var Ba = [
|
|
|
1283
1284
|
s("leaveCancelled");
|
|
1284
1285
|
}
|
|
1285
1286
|
};
|
|
1286
|
-
return (d,
|
|
1287
|
-
default:
|
|
1288
|
-
init:
|
|
1289
|
-
show:
|
|
1290
|
-
hide:
|
|
1291
|
-
toggle:
|
|
1292
|
-
expanded: t(
|
|
1293
|
-
aria: t(
|
|
1287
|
+
return (d, w) => (f(), L(le, null, [we(t(ye), null, {
|
|
1288
|
+
default: E(() => [O(d.$slots, "default", j(K({
|
|
1289
|
+
init: ge,
|
|
1290
|
+
show: te,
|
|
1291
|
+
hide: X,
|
|
1292
|
+
toggle: q,
|
|
1293
|
+
expanded: t(S),
|
|
1294
|
+
aria: t(Be)
|
|
1294
1295
|
})))]),
|
|
1295
1296
|
_: 3
|
|
1296
|
-
}),
|
|
1297
|
-
default:
|
|
1297
|
+
}), we(yl, A({ name: d.transitionName }, wl(Ve), { persisted: "" }), {
|
|
1298
|
+
default: E(() => [gt(fe("div", {
|
|
1298
1299
|
ref_key: "floatingEl",
|
|
1299
1300
|
ref: v,
|
|
1300
|
-
style:
|
|
1301
|
-
class:
|
|
1301
|
+
style: Et(t(me)),
|
|
1302
|
+
class: Ge(t(Oe))
|
|
1302
1303
|
}, [
|
|
1303
|
-
|
|
1304
|
+
o.arrow ? (f(), L("div", {
|
|
1304
1305
|
key: 0,
|
|
1305
1306
|
ref_key: "arrowEl",
|
|
1306
1307
|
ref: c,
|
|
1307
|
-
style:
|
|
1308
|
+
style: Et(t($)),
|
|
1308
1309
|
class: "vv-dropdown__arrow"
|
|
1309
|
-
}, null, 4)) :
|
|
1310
|
-
|
|
1311
|
-
show:
|
|
1312
|
-
hide:
|
|
1313
|
-
toggle:
|
|
1314
|
-
expanded: t(
|
|
1310
|
+
}, null, 4)) : I("v-if", !0),
|
|
1311
|
+
O(d.$slots, "before", j(K({
|
|
1312
|
+
show: te,
|
|
1313
|
+
hide: X,
|
|
1314
|
+
toggle: q,
|
|
1315
|
+
expanded: t(S)
|
|
1315
1316
|
}))),
|
|
1316
|
-
|
|
1317
|
+
fe("div", A(t(g), {
|
|
1317
1318
|
id: t(b),
|
|
1318
1319
|
ref_key: "listEl",
|
|
1319
|
-
ref:
|
|
1320
|
-
tabindex: t(
|
|
1321
|
-
role: t(
|
|
1322
|
-
"aria-labelledby": t(
|
|
1320
|
+
ref: C,
|
|
1321
|
+
tabindex: t(S) ? void 0 : -1,
|
|
1322
|
+
role: t(_e),
|
|
1323
|
+
"aria-labelledby": t(Ie),
|
|
1323
1324
|
class: "vv-dropdown__list"
|
|
1324
|
-
}), [
|
|
1325
|
-
show:
|
|
1326
|
-
hide:
|
|
1327
|
-
toggle:
|
|
1328
|
-
expanded: t(
|
|
1329
|
-
role: t(
|
|
1330
|
-
})))], 16,
|
|
1331
|
-
|
|
1332
|
-
show:
|
|
1333
|
-
hide:
|
|
1334
|
-
toggle:
|
|
1335
|
-
expanded: t(
|
|
1325
|
+
}), [O(d.$slots, "items", j(K({
|
|
1326
|
+
show: te,
|
|
1327
|
+
hide: X,
|
|
1328
|
+
toggle: q,
|
|
1329
|
+
expanded: t(S),
|
|
1330
|
+
role: t(ue)
|
|
1331
|
+
})))], 16, Na),
|
|
1332
|
+
O(d.$slots, "after", j(K({
|
|
1333
|
+
show: te,
|
|
1334
|
+
hide: X,
|
|
1335
|
+
toggle: q,
|
|
1336
|
+
expanded: t(S)
|
|
1336
1337
|
})))
|
|
1337
|
-
], 6), [[
|
|
1338
|
+
], 6), [[Il, t(S)]])]),
|
|
1338
1339
|
_: 3
|
|
1339
1340
|
}, 16, ["name"])], 64));
|
|
1340
1341
|
}
|
|
1341
|
-
}),
|
|
1342
|
+
}), nl = Ha, Fa = {
|
|
1342
1343
|
class: "vv-dropdown-optgroup",
|
|
1343
1344
|
role: "presentation",
|
|
1344
1345
|
tabindex: "-1"
|
|
1345
|
-
},
|
|
1346
|
-
...
|
|
1346
|
+
}, ja = { name: "VvDropdownOptgroup" }, Ta = /* @__PURE__ */ U({
|
|
1347
|
+
...ja,
|
|
1347
1348
|
props: { ...Pe },
|
|
1348
1349
|
setup(e) {
|
|
1349
1350
|
const r = e;
|
|
1350
|
-
return (l,
|
|
1351
|
+
return (l, o) => (f(), L("li", Fa, [O(l.$slots, "default", {}, () => [ee(F(r.label), 1)])]));
|
|
1351
1352
|
}
|
|
1352
|
-
}),
|
|
1353
|
-
...
|
|
1354
|
-
props:
|
|
1353
|
+
}), il = Ta, Ma = { name: "VvDropdownItem" }, Ra = /* @__PURE__ */ U({
|
|
1354
|
+
...Ma,
|
|
1355
|
+
props: Ca,
|
|
1355
1356
|
setup(e) {
|
|
1356
|
-
const r = e, { role: l, expanded:
|
|
1357
|
-
|
|
1358
|
-
const
|
|
1359
|
-
return ae(
|
|
1357
|
+
const r = e, { role: l, expanded: o } = ha(), s = N(null);
|
|
1358
|
+
Aa({ expanded: o });
|
|
1359
|
+
const a = qt(s), { focused: b } = zt(s), { focused: g } = yt(s);
|
|
1360
|
+
return ae(a, (y) => {
|
|
1360
1361
|
y && r.focusOnHover && (b.value = !0);
|
|
1361
|
-
}), (y, u) => (f(),
|
|
1362
|
+
}), (y, u) => (f(), L("div", A({ role: t(l) }, {
|
|
1362
1363
|
ref_key: "element",
|
|
1363
1364
|
ref: s,
|
|
1364
|
-
class: ["vv-dropdown__item", { "focus-visible": t(b) || t(
|
|
1365
|
-
}), [
|
|
1365
|
+
class: ["vv-dropdown__item", { "focus-visible": t(b) || t(g) }]
|
|
1366
|
+
}), [O(y.$slots, "default")], 16));
|
|
1366
1367
|
}
|
|
1367
|
-
}),
|
|
1368
|
-
...
|
|
1369
|
-
props:
|
|
1368
|
+
}), xa = Ra, Ka = ["title"], Ga = { name: "VvDropdownOption" }, Wa = /* @__PURE__ */ U({
|
|
1369
|
+
...Ga,
|
|
1370
|
+
props: Ea,
|
|
1370
1371
|
setup(e) {
|
|
1371
|
-
const r = e, { modifiers: l } =
|
|
1372
|
+
const r = e, { modifiers: l } = pe(r), o = Ce("vv-dropdown-option", l, i(() => ({
|
|
1372
1373
|
disabled: r.disabled,
|
|
1373
1374
|
selected: r.selected,
|
|
1374
1375
|
unselectable: r.unselectable && r.selected
|
|
1375
1376
|
}))), s = i(() => r.selected ? r.unselectable ? r.deselectHintLabel : r.selectedHintLabel : r.disabled ? "" : r.selectHintLabel);
|
|
1376
|
-
return (
|
|
1377
|
-
class:
|
|
1378
|
-
tabindex:
|
|
1379
|
-
"aria-selected":
|
|
1380
|
-
"aria-disabled":
|
|
1381
|
-
"focus-on-hover":
|
|
1377
|
+
return (a, b) => (f(), H(xa, {
|
|
1378
|
+
class: Ge(t(o)),
|
|
1379
|
+
tabindex: a.disabled ? -1 : 0,
|
|
1380
|
+
"aria-selected": a.selected,
|
|
1381
|
+
"aria-disabled": a.disabled,
|
|
1382
|
+
"focus-on-hover": a.focusOnHover
|
|
1382
1383
|
}, {
|
|
1383
|
-
default:
|
|
1384
|
+
default: E(() => [O(a.$slots, "default"), fe("span", {
|
|
1384
1385
|
class: "vv-dropdown-option__hint",
|
|
1385
1386
|
title: t(s)
|
|
1386
|
-
}, [
|
|
1387
|
-
disabled:
|
|
1388
|
-
selected:
|
|
1389
|
-
unselectable:
|
|
1390
|
-
})), () => [
|
|
1387
|
+
}, [O(a.$slots, "hint", j(K({
|
|
1388
|
+
disabled: a.disabled,
|
|
1389
|
+
selected: a.selected,
|
|
1390
|
+
unselectable: a.unselectable
|
|
1391
|
+
})), () => [ee(F(t(s)), 1)])], 8, Ka)]),
|
|
1391
1392
|
_: 3
|
|
1392
1393
|
}, 8, [
|
|
1393
1394
|
"class",
|
|
@@ -1397,24 +1398,24 @@ var Ba = [
|
|
|
1397
1398
|
"focus-on-hover"
|
|
1398
1399
|
]));
|
|
1399
1400
|
}
|
|
1400
|
-
}),
|
|
1401
|
+
}), Re = Wa, Kt = {
|
|
1402
|
+
...lt,
|
|
1403
|
+
...Zt,
|
|
1404
|
+
...el,
|
|
1401
1405
|
...tt,
|
|
1402
|
-
...Qt,
|
|
1403
|
-
...Xt,
|
|
1404
|
-
...et,
|
|
1405
|
-
...Ke,
|
|
1406
|
-
...Ge,
|
|
1407
1406
|
...We,
|
|
1408
|
-
...
|
|
1407
|
+
...qe,
|
|
1408
|
+
...Je,
|
|
1409
|
+
...Fe,
|
|
1409
1410
|
...ke,
|
|
1410
1411
|
...ze,
|
|
1411
|
-
...
|
|
1412
|
+
...be,
|
|
1412
1413
|
..._t,
|
|
1413
|
-
...
|
|
1414
|
+
...et,
|
|
1414
1415
|
...St,
|
|
1415
1416
|
...Ot,
|
|
1416
1417
|
...Pe,
|
|
1417
|
-
...
|
|
1418
|
+
...Xt,
|
|
1418
1419
|
multiple: Boolean,
|
|
1419
1420
|
required: Boolean,
|
|
1420
1421
|
size: [String, Number],
|
|
@@ -1434,69 +1435,69 @@ var Ba = [
|
|
|
1434
1435
|
},
|
|
1435
1436
|
placeholder: String
|
|
1436
1437
|
};
|
|
1437
|
-
function
|
|
1438
|
+
function Gt() {
|
|
1438
1439
|
return {
|
|
1439
|
-
...
|
|
1440
|
+
...Kt,
|
|
1440
1441
|
options: {
|
|
1441
|
-
...
|
|
1442
|
+
...Kt.options,
|
|
1442
1443
|
type: Array,
|
|
1443
1444
|
default: () => []
|
|
1444
1445
|
}
|
|
1445
1446
|
};
|
|
1446
1447
|
}
|
|
1447
|
-
function
|
|
1448
|
-
const
|
|
1449
|
-
if (!(!
|
|
1450
|
-
return
|
|
1448
|
+
function sl(e, r, l) {
|
|
1449
|
+
const o = Lt(), s = i(() => {
|
|
1450
|
+
if (!(!o || !o.defaults.value?.[e]))
|
|
1451
|
+
return o.defaults.value[e];
|
|
1451
1452
|
});
|
|
1452
1453
|
return i(() => {
|
|
1453
1454
|
if (s.value === void 0) return l;
|
|
1454
|
-
const
|
|
1455
|
+
const a = s.value, b = r, g = l;
|
|
1455
1456
|
return Object.keys(b).reduce((y, u) => {
|
|
1456
|
-
const _ =
|
|
1457
|
-
if (y[u] = _, u in
|
|
1457
|
+
const _ = g[u];
|
|
1458
|
+
if (y[u] = _, u in a) {
|
|
1458
1459
|
if (Array.isArray(b[u])) {
|
|
1459
1460
|
const v = b[u];
|
|
1460
|
-
v.length && v[0] === _ && (y[u] =
|
|
1461
|
+
v.length && v[0] === _ && (y[u] = a[u]);
|
|
1461
1462
|
}
|
|
1462
1463
|
if (typeof b[u] == "function") {
|
|
1463
1464
|
const v = b[u];
|
|
1464
|
-
v() === _ && (y[u] =
|
|
1465
|
+
v() === _ && (y[u] = a[u]);
|
|
1465
1466
|
}
|
|
1466
1467
|
if (typeof b[u] == "object") {
|
|
1467
1468
|
let v = b[u].default;
|
|
1468
|
-
typeof v == "function" && (v = v()), typeof v == "object" ? JSON.stringify(v) === JSON.stringify(_) && (y[u] =
|
|
1469
|
+
typeof v == "function" && (v = v()), typeof v == "object" ? JSON.stringify(v) === JSON.stringify(_) && (y[u] = a[u]) : v === _ && (y[u] = a[u]);
|
|
1469
1470
|
}
|
|
1470
1471
|
}
|
|
1471
1472
|
return y;
|
|
1472
1473
|
}, {});
|
|
1473
1474
|
});
|
|
1474
1475
|
}
|
|
1475
|
-
function
|
|
1476
|
+
function ul(e, r) {
|
|
1476
1477
|
const { focused: l } = zt(e);
|
|
1477
|
-
return ae(l, (
|
|
1478
|
-
r(
|
|
1478
|
+
return ae(l, (o) => {
|
|
1479
|
+
r(o ? "focus" : "blur", t(e));
|
|
1479
1480
|
}), { focused: l };
|
|
1480
1481
|
}
|
|
1481
|
-
function
|
|
1482
|
-
const { options: r, labelKey: l, valueKey:
|
|
1482
|
+
function dl(e) {
|
|
1483
|
+
const { options: r, labelKey: l, valueKey: o, disabledKey: s } = pe(e);
|
|
1483
1484
|
return {
|
|
1484
1485
|
options: r,
|
|
1485
1486
|
getOptionLabel: (u) => typeof u == "string" ? u : typeof l.value == "function" ? l.value(u) : String(l.value ? ut(u, l.value) : u),
|
|
1486
|
-
getOptionValue: (u) => typeof u == "string" ? u : typeof
|
|
1487
|
+
getOptionValue: (u) => typeof u == "string" ? u : typeof o.value == "function" ? o.value(u) : o.value ? ut(u, o.value) : u,
|
|
1487
1488
|
isOptionDisabled: (u) => typeof u == "string" ? !1 : typeof s.value == "function" ? s.value(u) : s.value ? !!ut(u, s.value) : !1,
|
|
1488
1489
|
getOptionGrouped: (u) => typeof u == "string" ? [] : typeof u == "object" && u && "options" in u ? u.options : []
|
|
1489
1490
|
};
|
|
1490
1491
|
}
|
|
1491
|
-
var
|
|
1492
|
+
var qa = ["for"], za = { class: "vv-select__wrapper" }, Ja = {
|
|
1492
1493
|
key: 0,
|
|
1493
1494
|
class: "vv-select__input-before"
|
|
1494
|
-
},
|
|
1495
|
+
}, Ua = { class: "vv-select__inner" }, Ya = ["id"], Qa = ["disabled", "hidden"], Xa = ["disabled", "value"], Za = ["disabled", "label"], eo = ["disabled", "value"], to = {
|
|
1495
1496
|
key: 2,
|
|
1496
1497
|
class: "vv-select__input-after"
|
|
1497
|
-
},
|
|
1498
|
-
...
|
|
1499
|
-
props:
|
|
1498
|
+
}, lo = { name: "VvSelect" }, ao = /* @__PURE__ */ U({
|
|
1499
|
+
...lo,
|
|
1500
|
+
props: Gt(),
|
|
1500
1501
|
emits: [
|
|
1501
1502
|
"update:modelValue",
|
|
1502
1503
|
"focus",
|
|
@@ -1504,169 +1505,169 @@ var Ga = ["for"], za = { class: "vv-select__wrapper" }, Wa = {
|
|
|
1504
1505
|
"clear"
|
|
1505
1506
|
],
|
|
1506
1507
|
setup(e, { emit: r }) {
|
|
1507
|
-
const l = e,
|
|
1508
|
+
const l = e, o = r, s = mt(), a = sl("VvSelect", Gt(), l), b = N(), { HintSlot: g, hasHintLabelOrSlot: y, hasInvalidLabelOrSlot: u, hintSlotScope: _ } = al(a, s), { focused: v } = ul(b, o);
|
|
1508
1509
|
function c(h) {
|
|
1509
1510
|
return typeof h == "string" ? !1 : h.options?.length;
|
|
1510
1511
|
}
|
|
1511
|
-
const { id:
|
|
1512
|
+
const { id: C, modifiers: P, disabled: G, readonly: T, loading: Y, icon: W, iconPosition: V, invalid: k, valid: ie, floating: Q, multiple: me } = pe(l), se = ot(C), $ = i(() => `${se.value}-hint`), M = i(() => l.disabled || l.readonly), Ee = i(() => M.value ? -1 : l.tabindex), S = i({
|
|
1512
1513
|
get: () => l.modelValue,
|
|
1513
1514
|
set: (h) => {
|
|
1514
|
-
if (Array.isArray(h) && (h = h.filter((
|
|
1515
|
+
if (Array.isArray(h) && (h = h.filter((R) => R !== void 0), h.length === 0 && !l.unselectable && b.value)) {
|
|
1515
1516
|
b.value.value = String(l.modelValue);
|
|
1516
1517
|
return;
|
|
1517
1518
|
}
|
|
1518
|
-
|
|
1519
|
+
o("update:modelValue", h);
|
|
1519
1520
|
}
|
|
1520
|
-
}),
|
|
1521
|
-
ae(
|
|
1521
|
+
}), te = i(() => Array.isArray(S.value) ? S.value.length > 0 : S.value !== void 0 && S.value !== null), X = i(() => M.value ? !1 : l.unselectable);
|
|
1522
|
+
ae(xl(b), (h) => {
|
|
1522
1523
|
h && l.autofocus && (v.value = !0);
|
|
1523
1524
|
});
|
|
1524
|
-
const { hasIconBefore:
|
|
1525
|
+
const { hasIconBefore: q, hasIconAfter: ge } = at(W, V), Ie = i(() => {
|
|
1525
1526
|
if (l.invalid === !0) return !0;
|
|
1526
1527
|
if (l.valid === !0) return !1;
|
|
1527
|
-
}),
|
|
1528
|
-
valid:
|
|
1529
|
-
invalid:
|
|
1530
|
-
loading:
|
|
1531
|
-
disabled:
|
|
1532
|
-
readonly:
|
|
1533
|
-
"icon-before":
|
|
1534
|
-
"icon-after":
|
|
1535
|
-
dirty:
|
|
1536
|
-
focus: v.value && !
|
|
1537
|
-
floating:
|
|
1538
|
-
multiple:
|
|
1539
|
-
}))), { getOptionLabel:
|
|
1528
|
+
}), Be = Ce("vv-select", P, i(() => ({
|
|
1529
|
+
valid: ie.value,
|
|
1530
|
+
invalid: k.value,
|
|
1531
|
+
loading: Y.value,
|
|
1532
|
+
disabled: G.value,
|
|
1533
|
+
readonly: T.value,
|
|
1534
|
+
"icon-before": q.value !== void 0,
|
|
1535
|
+
"icon-after": ge.value !== void 0,
|
|
1536
|
+
dirty: te.value,
|
|
1537
|
+
focus: v.value && !M.value,
|
|
1538
|
+
floating: Q.value,
|
|
1539
|
+
multiple: me.value
|
|
1540
|
+
}))), { getOptionLabel: ye, getOptionValue: he, isOptionDisabled: _e, getOptionGrouped: oe } = dl(l);
|
|
1540
1541
|
ae(() => l.options, (h) => {
|
|
1541
|
-
if (h?.length && l.autoselectFirst && !
|
|
1542
|
-
const
|
|
1543
|
-
|
|
1542
|
+
if (h?.length && l.autoselectFirst && !te.value) {
|
|
1543
|
+
const R = he(h[0]);
|
|
1544
|
+
S.value = l.multiple ? [R] : R;
|
|
1544
1545
|
}
|
|
1545
1546
|
}, { immediate: !0 });
|
|
1546
|
-
function
|
|
1547
|
-
Array.isArray(
|
|
1547
|
+
function Oe() {
|
|
1548
|
+
Array.isArray(S.value) ? S.value = [] : S.value = void 0, o("clear");
|
|
1548
1549
|
}
|
|
1549
|
-
const
|
|
1550
|
+
const Z = i(() => ({
|
|
1550
1551
|
name: l.name,
|
|
1551
|
-
tabindex:
|
|
1552
|
-
disabled:
|
|
1552
|
+
tabindex: Ee.value,
|
|
1553
|
+
disabled: M.value,
|
|
1553
1554
|
required: l.required,
|
|
1554
1555
|
size: l.size,
|
|
1555
1556
|
autocomplete: l.autocomplete,
|
|
1556
1557
|
multiple: l.multiple,
|
|
1557
|
-
"aria-invalid":
|
|
1558
|
-
"aria-describedby": y.value ?
|
|
1559
|
-
"aria-errormessage": u.value ?
|
|
1560
|
-
})),
|
|
1558
|
+
"aria-invalid": Ie.value,
|
|
1559
|
+
"aria-describedby": y.value ? $.value : void 0,
|
|
1560
|
+
"aria-errormessage": u.value ? $.value : void 0
|
|
1561
|
+
})), re = i(() => ({
|
|
1561
1562
|
valid: l.valid,
|
|
1562
1563
|
invalid: l.invalid,
|
|
1563
1564
|
modelValue: l.modelValue
|
|
1564
1565
|
}));
|
|
1565
|
-
return (h,
|
|
1566
|
-
h.label ? (f(),
|
|
1566
|
+
return (h, R) => (f(), L("div", { class: Ge(t(Be)) }, [
|
|
1567
|
+
h.label ? (f(), L("label", {
|
|
1567
1568
|
key: 0,
|
|
1568
|
-
for: t(
|
|
1569
|
-
},
|
|
1570
|
-
|
|
1571
|
-
h.$slots.before ? (f(),
|
|
1572
|
-
|
|
1573
|
-
t(
|
|
1574
|
-
|
|
1575
|
-
id: t(
|
|
1569
|
+
for: t(se)
|
|
1570
|
+
}, F(h.label), 9, qa)) : I("v-if", !0),
|
|
1571
|
+
fe("div", za, [
|
|
1572
|
+
h.$slots.before ? (f(), L("div", Ja, [O(h.$slots, "before", j(K(t(re))))])) : I("v-if", !0),
|
|
1573
|
+
fe("div", Ua, [
|
|
1574
|
+
t(q) ? (f(), H(ce, A({ key: 0 }, t(q), { class: "vv-select__icon" }), null, 16)) : I("v-if", !0),
|
|
1575
|
+
gt(fe("select", A({
|
|
1576
|
+
id: t(se),
|
|
1576
1577
|
ref_key: "selectEl",
|
|
1577
1578
|
ref: b
|
|
1578
|
-
}, t(
|
|
1579
|
+
}, t(Z), { "onUpdate:modelValue": R[0] || (R[0] = (z) => pt(S) ? S.value = z : null) }), [h.placeholder ? (f(), L("option", {
|
|
1579
1580
|
key: 0,
|
|
1580
1581
|
value: void 0,
|
|
1581
1582
|
disabled: !t(X),
|
|
1582
1583
|
hidden: !t(X)
|
|
1583
|
-
},
|
|
1584
|
-
key: `group-${
|
|
1585
|
-
disabled: t(
|
|
1586
|
-
label: t(
|
|
1587
|
-
}, [(f(!0),
|
|
1588
|
-
key: `group-${
|
|
1589
|
-
disabled: t(
|
|
1590
|
-
value: t(
|
|
1591
|
-
},
|
|
1592
|
-
key:
|
|
1593
|
-
disabled: t(
|
|
1594
|
-
value: t(
|
|
1595
|
-
},
|
|
1596
|
-
t(
|
|
1584
|
+
}, F(h.placeholder), 9, Qa)) : I("v-if", !0), (f(!0), L(le, null, xe(h.options, (z, x) => (f(), L(le, null, [c(z) ? (f(), L("optgroup", {
|
|
1585
|
+
key: `group-${x}`,
|
|
1586
|
+
disabled: t(_e)(z),
|
|
1587
|
+
label: t(ye)(z)
|
|
1588
|
+
}, [(f(!0), L(le, null, xe(t(oe)(z), (ue, Ve) => (f(), L("option", {
|
|
1589
|
+
key: `group-${x}-item-${Ve}`,
|
|
1590
|
+
disabled: t(_e)(ue),
|
|
1591
|
+
value: t(he)(ue)
|
|
1592
|
+
}, F(t(ye)(ue)), 9, eo))), 128))], 8, Za)) : (f(), L("option", {
|
|
1593
|
+
key: x,
|
|
1594
|
+
disabled: t(_e)(z),
|
|
1595
|
+
value: t(he)(z)
|
|
1596
|
+
}, F(t(ye)(z)), 9, Xa))], 64))), 256))], 16, Ya), [[Cl, t(S)]]),
|
|
1597
|
+
t(ge) ? (f(), H(ce, A({ key: 1 }, t(ge), { class: "vv-select__icon vv-select__icon-after" }), null, 16)) : I("v-if", !0)
|
|
1597
1598
|
]),
|
|
1598
|
-
t(X) && t(
|
|
1599
|
+
t(X) && t(a).showClearAction ? (f(), H(t(ol), {
|
|
1599
1600
|
key: 1,
|
|
1600
1601
|
"input-type": "select",
|
|
1601
1602
|
label: h.labelClear,
|
|
1602
1603
|
icon: h.iconClear,
|
|
1603
|
-
disabled: !t(
|
|
1604
|
-
onClear:
|
|
1604
|
+
disabled: !t(te),
|
|
1605
|
+
onClear: Oe
|
|
1605
1606
|
}, null, 8, [
|
|
1606
1607
|
"label",
|
|
1607
1608
|
"icon",
|
|
1608
1609
|
"disabled"
|
|
1609
|
-
])) :
|
|
1610
|
-
h.$slots.after ? (f(),
|
|
1610
|
+
])) : I("v-if", !0),
|
|
1611
|
+
h.$slots.after ? (f(), L("div", to, [O(h.$slots, "after", j(K(t(re))))])) : I("v-if", !0)
|
|
1611
1612
|
]),
|
|
1612
|
-
|
|
1613
|
-
id: t(
|
|
1613
|
+
we(t(g), {
|
|
1614
|
+
id: t($),
|
|
1614
1615
|
class: "vv-select__hint"
|
|
1615
1616
|
}, vt({ _: 2 }, [
|
|
1616
1617
|
h.$slots.hint ? {
|
|
1617
1618
|
name: "hint",
|
|
1618
|
-
fn:
|
|
1619
|
+
fn: E(() => [O(h.$slots, "hint", j(K(t(_))))]),
|
|
1619
1620
|
key: "0"
|
|
1620
1621
|
} : void 0,
|
|
1621
1622
|
h.$slots.loading ? {
|
|
1622
1623
|
name: "loading",
|
|
1623
|
-
fn:
|
|
1624
|
+
fn: E(() => [O(h.$slots, "loading", j(K(t(_))))]),
|
|
1624
1625
|
key: "1"
|
|
1625
1626
|
} : void 0,
|
|
1626
1627
|
h.$slots.valid ? {
|
|
1627
1628
|
name: "valid",
|
|
1628
|
-
fn:
|
|
1629
|
+
fn: E(() => [O(h.$slots, "valid", j(K(t(_))))]),
|
|
1629
1630
|
key: "2"
|
|
1630
1631
|
} : void 0,
|
|
1631
1632
|
h.$slots.invalid ? {
|
|
1632
1633
|
name: "invalid",
|
|
1633
|
-
fn:
|
|
1634
|
+
fn: E(() => [O(h.$slots, "invalid", j(K(t(_))))]),
|
|
1634
1635
|
key: "3"
|
|
1635
1636
|
} : void 0
|
|
1636
1637
|
]), 1032, ["id"])
|
|
1637
1638
|
], 2));
|
|
1638
1639
|
}
|
|
1639
|
-
}),
|
|
1640
|
+
}), oo = ao, ro = ["id"], no = ["id", "for"], io = [
|
|
1640
1641
|
"id",
|
|
1641
1642
|
"aria-controls",
|
|
1642
1643
|
"placeholder"
|
|
1643
|
-
],
|
|
1644
|
+
], so = {
|
|
1644
1645
|
key: 0,
|
|
1645
1646
|
class: "vv-select__input-before"
|
|
1646
|
-
},
|
|
1647
|
+
}, uo = { class: "vv-select__inner" }, vo = [
|
|
1647
1648
|
"aria-controls",
|
|
1648
1649
|
"aria-expanded",
|
|
1649
1650
|
"aria-labelledby",
|
|
1650
1651
|
"aria-describedby",
|
|
1651
1652
|
"aria-errormessage",
|
|
1652
1653
|
"tabindex"
|
|
1653
|
-
],
|
|
1654
|
+
], fo = {
|
|
1654
1655
|
key: 0,
|
|
1655
1656
|
class: "vv-select__value"
|
|
1656
|
-
},
|
|
1657
|
+
}, co = ["aria-label", "onClick"], po = {
|
|
1657
1658
|
key: 2,
|
|
1658
1659
|
class: "vv-select__input-after"
|
|
1659
|
-
},
|
|
1660
|
+
}, bo = {
|
|
1660
1661
|
name: "VvCombobox",
|
|
1661
1662
|
components: {
|
|
1662
|
-
VvDropdown:
|
|
1663
|
-
VvDropdownOption:
|
|
1664
|
-
VvDropdownOptgroup:
|
|
1665
|
-
VvButton:
|
|
1663
|
+
VvDropdown: nl,
|
|
1664
|
+
VvDropdownOption: Re,
|
|
1665
|
+
VvDropdownOptgroup: il,
|
|
1666
|
+
VvButton: rl
|
|
1666
1667
|
}
|
|
1667
|
-
},
|
|
1668
|
-
...
|
|
1669
|
-
props: /* @__PURE__ */
|
|
1668
|
+
}, mo = /* @__PURE__ */ U({
|
|
1669
|
+
...bo,
|
|
1670
|
+
props: /* @__PURE__ */ Ct(Tt(), {
|
|
1670
1671
|
search: {
|
|
1671
1672
|
type: String,
|
|
1672
1673
|
default: "",
|
|
@@ -1674,7 +1675,7 @@ var Ga = ["for"], za = { class: "vv-select__wrapper" }, Wa = {
|
|
|
1674
1675
|
},
|
|
1675
1676
|
searchModifiers: {}
|
|
1676
1677
|
}),
|
|
1677
|
-
emits: /* @__PURE__ */
|
|
1678
|
+
emits: /* @__PURE__ */ Ct([
|
|
1678
1679
|
"update:modelValue",
|
|
1679
1680
|
"update:search",
|
|
1680
1681
|
"update:options",
|
|
@@ -1684,386 +1685,396 @@ var Ga = ["for"], za = { class: "vv-select__wrapper" }, Wa = {
|
|
|
1684
1685
|
"change:search"
|
|
1685
1686
|
], ["update:search"]),
|
|
1686
1687
|
setup(e, { emit: r }) {
|
|
1687
|
-
const l = e,
|
|
1688
|
-
|
|
1688
|
+
const l = e, o = r, s = mt(), a = sl("VvCombobox", Tt(), l), b = N(null), g = N(null), y = N(null), u = N(), { HintSlot: _, hasHintLabelOrSlot: v, hasInvalidLabelOrSlot: c, hintSlotScope: C } = al(a, s), { focused: P } = ul(b, o), { focused: G } = yt(y);
|
|
1689
|
+
let T;
|
|
1690
|
+
function Y() {
|
|
1691
|
+
clearTimeout(T), T = setTimeout(() => {
|
|
1692
|
+
!P.value && !G.value && k.value && me();
|
|
1693
|
+
}, 50);
|
|
1694
|
+
}
|
|
1695
|
+
Sl(() => clearTimeout(T)), ae(P, (n) => {
|
|
1689
1696
|
if (l.autoOpen) {
|
|
1690
|
-
if (n && !
|
|
1691
|
-
|
|
1697
|
+
if (n && !k.value) {
|
|
1698
|
+
clearTimeout(T), Q();
|
|
1692
1699
|
return;
|
|
1693
1700
|
}
|
|
1694
|
-
!n &&
|
|
1701
|
+
!n && k.value && !G.value && Y();
|
|
1702
|
+
}
|
|
1703
|
+
}), ae(G, (n) => {
|
|
1704
|
+
if (n) {
|
|
1705
|
+
clearTimeout(T);
|
|
1706
|
+
return;
|
|
1695
1707
|
}
|
|
1696
|
-
|
|
1697
|
-
!P.value && !n && w.value && oe();
|
|
1708
|
+
!P.value && k.value && Y();
|
|
1698
1709
|
});
|
|
1699
|
-
const
|
|
1700
|
-
ae(
|
|
1701
|
-
|
|
1710
|
+
const W = Pl(e, "search"), V = Rl(W, i(() => Number(l.debounceSearch)));
|
|
1711
|
+
ae(V, () => {
|
|
1712
|
+
o("update:search", V.value), o("change:search", V.value);
|
|
1702
1713
|
});
|
|
1703
|
-
const
|
|
1704
|
-
function O() {
|
|
1705
|
-
U.value || (w.value = !w.value);
|
|
1706
|
-
}
|
|
1714
|
+
const k = N(!1);
|
|
1707
1715
|
function ie() {
|
|
1708
|
-
|
|
1716
|
+
R.value || (k.value = !k.value);
|
|
1717
|
+
}
|
|
1718
|
+
function Q() {
|
|
1719
|
+
R.value || k.value || (k.value = !0);
|
|
1709
1720
|
}
|
|
1710
|
-
function
|
|
1711
|
-
|
|
1721
|
+
function me() {
|
|
1722
|
+
R.value || !k.value || (k.value = !1);
|
|
1712
1723
|
}
|
|
1713
|
-
function
|
|
1714
|
-
|
|
1724
|
+
function se() {
|
|
1725
|
+
a.value.searchable && g.value && g.value.focus({ preventScroll: !0 });
|
|
1715
1726
|
}
|
|
1716
|
-
function
|
|
1717
|
-
|
|
1727
|
+
function $() {
|
|
1728
|
+
a.value.keepSearch || (W.value = "");
|
|
1718
1729
|
}
|
|
1719
|
-
function
|
|
1730
|
+
function M(n) {
|
|
1720
1731
|
return typeof n == "string" ? !1 : n.options?.length;
|
|
1721
1732
|
}
|
|
1722
|
-
const { id:
|
|
1733
|
+
const { id: Ee, icon: S, iconPosition: te, modifiers: X, disabled: q, required: ge, readonly: Ie, loading: Be, valid: ye, invalid: he, floating: _e } = pe(l), oe = ot(Ee), Oe = i(() => `${oe.value}-hint`), Z = i(() => `${oe.value}-dropdown`), re = i(() => `${oe.value}-search`), h = i(() => `${oe.value}-label`), R = i(() => l.disabled || l.readonly), z = i(() => R.value ? -1 : l.tabindex), x = i({
|
|
1723
1734
|
get: () => Array.isArray(l.modelValue) ? l.modelValue : l.modelValue !== void 0 && l.modelValue !== null ? [l.modelValue] : [],
|
|
1724
1735
|
set: (n) => {
|
|
1725
|
-
|
|
1736
|
+
o("update:modelValue", l.multiple || Array.isArray(l.modelValue) ? n : n.pop());
|
|
1726
1737
|
}
|
|
1727
|
-
}),
|
|
1738
|
+
}), ue = i(() => x.value.length), Ve = i(() => ue.value > 0), d = i(() => l.multiple ? l.maxValues === void 0 ? 1 / 0 : Number(l.maxValues) : 1), w = i(() => R.value || !l.unselectable ? !1 : Number(l.minValues) === 0 || ue.value > Number(l.minValues)), Se = i(() => R.value ? !1 : l.multiple ? ue.value < d.value : !0), je = N(!1), wt = i(() => je.value || Be.value), { hasIconBefore: rt, hasIconAfter: nt } = at(S, te), vl = Ce("vv-select", X, i(() => ({
|
|
1728
1739
|
disabled: q.value,
|
|
1729
|
-
required:
|
|
1730
|
-
loading:
|
|
1731
|
-
readonly:
|
|
1732
|
-
"icon-before":
|
|
1733
|
-
"icon-after":
|
|
1734
|
-
valid:
|
|
1735
|
-
invalid:
|
|
1736
|
-
dirty:
|
|
1737
|
-
focus: (P.value ||
|
|
1738
|
-
floating:
|
|
1740
|
+
required: ge.value,
|
|
1741
|
+
loading: wt.value,
|
|
1742
|
+
readonly: Ie.value,
|
|
1743
|
+
"icon-before": rt.value !== void 0,
|
|
1744
|
+
"icon-after": nt.value !== void 0,
|
|
1745
|
+
valid: ye.value,
|
|
1746
|
+
invalid: he.value,
|
|
1747
|
+
dirty: Ve.value,
|
|
1748
|
+
focus: (P.value || G.value || k.value) && !R.value,
|
|
1749
|
+
floating: _e.value,
|
|
1739
1750
|
badges: l.badges
|
|
1740
|
-
}))),
|
|
1741
|
-
const n = [...
|
|
1742
|
-
for (const
|
|
1751
|
+
}))), Ue = N(/* @__PURE__ */ new Set()), { getOptionLabel: ne, getOptionValue: it, getOptionGrouped: Ae, isOptionDisabled: fl } = dl(l), $t = i(() => {
|
|
1752
|
+
const n = [...Ue.value];
|
|
1753
|
+
for (const m of l.options) M(m) ? n.push(...Ae(m)) : n.push(m);
|
|
1743
1754
|
return n;
|
|
1744
|
-
}),
|
|
1745
|
-
const n = [...l.options, ...
|
|
1746
|
-
for (const
|
|
1747
|
-
const B =
|
|
1748
|
-
return typeof B == "object" && typeof
|
|
1749
|
-
}) || n.push(
|
|
1755
|
+
}), Ne = i(() => {
|
|
1756
|
+
const n = [...l.options, ...Ue.value];
|
|
1757
|
+
for (const m of x.value) $t.value.some((p) => {
|
|
1758
|
+
const B = it(p);
|
|
1759
|
+
return typeof B == "object" && typeof m == "object" ? JSON.stringify(B) === JSON.stringify(m) : B === m;
|
|
1760
|
+
}) || n.push(m);
|
|
1750
1761
|
return n;
|
|
1751
1762
|
});
|
|
1752
|
-
ae(
|
|
1753
|
-
n.size > 0 &&
|
|
1763
|
+
ae(Ue, (n) => {
|
|
1764
|
+
n.size > 0 && o("update:options", Ne.value);
|
|
1754
1765
|
});
|
|
1755
|
-
function
|
|
1756
|
-
return
|
|
1766
|
+
function Ye(n) {
|
|
1767
|
+
return fl(n) || !Se.value && !Le(n);
|
|
1757
1768
|
}
|
|
1758
|
-
const
|
|
1759
|
-
if (
|
|
1760
|
-
|
|
1761
|
-
const
|
|
1762
|
-
return
|
|
1769
|
+
const Te = Tl(async () => {
|
|
1770
|
+
if (a.value.searchFunction) {
|
|
1771
|
+
je.value = !0;
|
|
1772
|
+
const m = await Promise.resolve(a.value.searchFunction(V.value, Ne.value));
|
|
1773
|
+
return je.value = !1, m;
|
|
1763
1774
|
}
|
|
1764
|
-
const n =
|
|
1765
|
-
return n ?
|
|
1766
|
-
if (
|
|
1767
|
-
const B = ne(p).toLowerCase(),
|
|
1768
|
-
if (B.includes(n))
|
|
1769
|
-
else if (
|
|
1770
|
-
const
|
|
1775
|
+
const n = V.value.toLowerCase().trim();
|
|
1776
|
+
return n ? Ne.value?.reduce((m, p) => {
|
|
1777
|
+
if (M(p)) {
|
|
1778
|
+
const B = ne(p).toLowerCase(), J = Ae(p).filter((He) => ne(He).toLowerCase().includes(n));
|
|
1779
|
+
if (B.includes(n)) m.push(p);
|
|
1780
|
+
else if (J.length > 0) {
|
|
1781
|
+
const He = typeof p == "object" ? {
|
|
1771
1782
|
...p,
|
|
1772
|
-
options:
|
|
1783
|
+
options: J
|
|
1773
1784
|
} : p;
|
|
1774
|
-
|
|
1785
|
+
m.push(He);
|
|
1775
1786
|
}
|
|
1776
|
-
return
|
|
1787
|
+
return m;
|
|
1777
1788
|
}
|
|
1778
|
-
return ne(p).toLowerCase().includes(n) &&
|
|
1779
|
-
}, []) :
|
|
1789
|
+
return ne(p).toLowerCase().includes(n) && m.push(p), m;
|
|
1790
|
+
}, []) : Ne.value;
|
|
1780
1791
|
});
|
|
1781
1792
|
function Le(n) {
|
|
1782
|
-
const
|
|
1783
|
-
return typeof
|
|
1793
|
+
const m = it(n);
|
|
1794
|
+
return typeof m == "object" ? x.value.some((p) => typeof p == "object" ? JSON.stringify(p) === JSON.stringify(m) : !1) : x.value.includes(m);
|
|
1784
1795
|
}
|
|
1785
|
-
const
|
|
1786
|
-
function
|
|
1787
|
-
l.autoOpen ?
|
|
1796
|
+
const De = i(() => Ne.value.reduce((n, m) => M(m) ? [...n, ...Ae(m)] : [...n, m], []).filter((n) => Le(n))), kt = i(() => De.value.map((n) => ne(n)).join(l.separator));
|
|
1797
|
+
function cl() {
|
|
1798
|
+
l.autoOpen ? Q() : ie();
|
|
1788
1799
|
}
|
|
1789
|
-
function
|
|
1790
|
-
const
|
|
1791
|
-
|
|
1800
|
+
function de(n) {
|
|
1801
|
+
const m = Le(n), p = it(n);
|
|
1802
|
+
m && w.value ? x.value = x.value.filter((B) => typeof p == "object" && typeof B == "object" ? JSON.stringify(B) !== JSON.stringify(p) : B !== p) : !m && Se.value && (l.multiple ? x.value = [...x.value, p] : x.value = [p]), !l.multiple && !l.keepOpen && me();
|
|
1792
1803
|
}
|
|
1793
|
-
function
|
|
1794
|
-
|
|
1804
|
+
function pl() {
|
|
1805
|
+
x.value = [], o("update:search", ""), o("clear");
|
|
1795
1806
|
}
|
|
1796
|
-
ae(
|
|
1797
|
-
if (n?.length && l.autoselectFirst && !
|
|
1798
|
-
const
|
|
1799
|
-
if (
|
|
1800
|
-
|
|
1807
|
+
ae(Ne, (n) => {
|
|
1808
|
+
if (n?.length && l.autoselectFirst && !Ve.value) {
|
|
1809
|
+
const m = n.find((B) => !M(B));
|
|
1810
|
+
if (m) {
|
|
1811
|
+
de(m);
|
|
1801
1812
|
return;
|
|
1802
1813
|
}
|
|
1803
|
-
const p = n.find((B) =>
|
|
1814
|
+
const p = n.find((B) => M(B));
|
|
1804
1815
|
if (p) {
|
|
1805
|
-
const B =
|
|
1806
|
-
B.length &&
|
|
1816
|
+
const B = Ae(p);
|
|
1817
|
+
B.length && de(B[0]);
|
|
1807
1818
|
}
|
|
1808
1819
|
}
|
|
1809
1820
|
}, { immediate: !0 });
|
|
1810
|
-
const
|
|
1811
|
-
id:
|
|
1821
|
+
const bl = i(() => ({
|
|
1822
|
+
id: oe.value,
|
|
1812
1823
|
name: l.name,
|
|
1813
|
-
tabindex:
|
|
1814
|
-
valid:
|
|
1815
|
-
validLabel:
|
|
1816
|
-
invalid:
|
|
1817
|
-
invalidLabel:
|
|
1818
|
-
hintLabel:
|
|
1819
|
-
loading:
|
|
1820
|
-
loadingLabel:
|
|
1824
|
+
tabindex: z.value,
|
|
1825
|
+
valid: ye.value,
|
|
1826
|
+
validLabel: a.value.validLabel,
|
|
1827
|
+
invalid: he.value,
|
|
1828
|
+
invalidLabel: a.value.invalidLabel,
|
|
1829
|
+
hintLabel: a.value.hintLabel,
|
|
1830
|
+
loading: wt.value,
|
|
1831
|
+
loadingLabel: a.value.loadingLabel,
|
|
1821
1832
|
disabled: q.value,
|
|
1822
|
-
readonly:
|
|
1823
|
-
modifiers:
|
|
1824
|
-
options:
|
|
1825
|
-
labelKey:
|
|
1826
|
-
valueKey:
|
|
1827
|
-
icon:
|
|
1828
|
-
iconPosition:
|
|
1829
|
-
floating:
|
|
1830
|
-
unselectable:
|
|
1831
|
-
autoselectFirst:
|
|
1832
|
-
multiple:
|
|
1833
|
-
label:
|
|
1834
|
-
placeholder:
|
|
1833
|
+
readonly: Ie.value,
|
|
1834
|
+
modifiers: a.value.modifiers,
|
|
1835
|
+
options: a.value.options,
|
|
1836
|
+
labelKey: a.value.labelKey,
|
|
1837
|
+
valueKey: a.value.valueKey,
|
|
1838
|
+
icon: a.value.icon,
|
|
1839
|
+
iconPosition: a.value.iconPosition,
|
|
1840
|
+
floating: a.value.floating,
|
|
1841
|
+
unselectable: w.value,
|
|
1842
|
+
autoselectFirst: a.value.autoselectFirst,
|
|
1843
|
+
multiple: a.value.multiple,
|
|
1844
|
+
label: a.value.label,
|
|
1845
|
+
placeholder: a.value.placeholder,
|
|
1835
1846
|
modelValue: l.modelValue
|
|
1836
|
-
})),
|
|
1837
|
-
id:
|
|
1847
|
+
})), ml = i(() => ({
|
|
1848
|
+
id: Z.value,
|
|
1838
1849
|
reference: y.value,
|
|
1839
|
-
placement:
|
|
1840
|
-
strategy:
|
|
1841
|
-
transitionName:
|
|
1842
|
-
offset:
|
|
1843
|
-
shift:
|
|
1844
|
-
flip:
|
|
1845
|
-
autoPlacement:
|
|
1846
|
-
arrow:
|
|
1847
|
-
autofocusFirst:
|
|
1848
|
-
triggerWidth:
|
|
1849
|
-
modifiers:
|
|
1850
|
-
})),
|
|
1850
|
+
placement: a.value.placement,
|
|
1851
|
+
strategy: a.value.strategy,
|
|
1852
|
+
transitionName: a.value.transitionName,
|
|
1853
|
+
offset: a.value.offset,
|
|
1854
|
+
shift: a.value.shift,
|
|
1855
|
+
flip: a.value.flip,
|
|
1856
|
+
autoPlacement: a.value.autoPlacement,
|
|
1857
|
+
arrow: a.value.arrow,
|
|
1858
|
+
autofocusFirst: a.value.searchable ? !0 : a.value.autofocusFirst,
|
|
1859
|
+
triggerWidth: a.value.triggerWidth,
|
|
1860
|
+
modifiers: a.value.dropdownModifiers
|
|
1861
|
+
})), Pt = i(() => ({
|
|
1851
1862
|
valid: l.valid,
|
|
1852
1863
|
invalid: l.invalid,
|
|
1853
1864
|
modelValue: l.modelValue
|
|
1854
1865
|
}));
|
|
1855
|
-
|
|
1856
|
-
l.autoOpen || !
|
|
1866
|
+
Me([" ", "Enter"], (n) => {
|
|
1867
|
+
l.autoOpen || !k.value && P.value && (n.preventDefault(), n.stopImmediatePropagation(), ie());
|
|
1857
1868
|
}, { target: b });
|
|
1858
|
-
function
|
|
1859
|
-
if (
|
|
1860
|
-
if (
|
|
1861
|
-
const n =
|
|
1862
|
-
if (
|
|
1863
|
-
const
|
|
1864
|
-
|
|
1869
|
+
function gl() {
|
|
1870
|
+
if (Te.value?.length) {
|
|
1871
|
+
if (Te.value.length === 1) {
|
|
1872
|
+
const n = Te.value[0];
|
|
1873
|
+
if (M(n)) {
|
|
1874
|
+
const m = Ae(n);
|
|
1875
|
+
m.length && de(m[0]);
|
|
1865
1876
|
return;
|
|
1866
1877
|
}
|
|
1867
|
-
|
|
1878
|
+
de(n);
|
|
1868
1879
|
return;
|
|
1869
1880
|
}
|
|
1870
1881
|
u.value?.focusFirstListElement();
|
|
1871
1882
|
return;
|
|
1872
1883
|
}
|
|
1873
|
-
if (
|
|
1874
|
-
const n =
|
|
1875
|
-
if (!n || $t.value.some((
|
|
1876
|
-
|
|
1884
|
+
if (a.value.addable) {
|
|
1885
|
+
const n = W.value.trim();
|
|
1886
|
+
if (!n || $t.value.some((m) => ne(m).toLowerCase() === n.toLowerCase())) return;
|
|
1887
|
+
Ue.value.add(n), de(n);
|
|
1877
1888
|
}
|
|
1878
1889
|
}
|
|
1879
|
-
return (n,
|
|
1890
|
+
return (n, m) => n.native ? (f(), H(oo, A({ key: 1 }, t(bl), { "onUpdate:modelValue": m[3] || (m[3] = (p) => o("update:modelValue", p)) }), null, 16)) : (f(), L("div", {
|
|
1880
1891
|
key: 0,
|
|
1881
|
-
id: t(
|
|
1882
|
-
class:
|
|
1892
|
+
id: t(oe),
|
|
1893
|
+
class: Ge(t(vl))
|
|
1883
1894
|
}, [
|
|
1884
|
-
n.label ? (f(),
|
|
1895
|
+
n.label ? (f(), L("label", {
|
|
1885
1896
|
key: 0,
|
|
1886
|
-
id: t(
|
|
1887
|
-
for: t(
|
|
1888
|
-
},
|
|
1889
|
-
|
|
1897
|
+
id: t(h),
|
|
1898
|
+
for: t(a).searchable ? t(re) : void 0
|
|
1899
|
+
}, F(n.label), 9, no)) : I("v-if", !0),
|
|
1900
|
+
fe("div", {
|
|
1890
1901
|
ref_key: "wrapperEl",
|
|
1891
1902
|
ref: y,
|
|
1892
1903
|
class: "vv-select__wrapper"
|
|
1893
|
-
}, [
|
|
1904
|
+
}, [we(nl, A({
|
|
1894
1905
|
ref_key: "dropdownEl",
|
|
1895
1906
|
ref: u,
|
|
1896
|
-
modelValue: t(
|
|
1897
|
-
"onUpdate:modelValue":
|
|
1898
|
-
}, t(
|
|
1899
|
-
role: t(
|
|
1900
|
-
onAfterExpand:
|
|
1901
|
-
onAfterCollapse:
|
|
1907
|
+
modelValue: t(k),
|
|
1908
|
+
"onUpdate:modelValue": m[2] || (m[2] = (p) => pt(k) ? k.value = p : null)
|
|
1909
|
+
}, t(ml), {
|
|
1910
|
+
role: t(Ze).listbox,
|
|
1911
|
+
onAfterExpand: se,
|
|
1912
|
+
onAfterCollapse: $
|
|
1902
1913
|
}), vt({
|
|
1903
|
-
default:
|
|
1904
|
-
n.$slots.before ? (f(),
|
|
1905
|
-
|
|
1906
|
-
t(
|
|
1907
|
-
|
|
1914
|
+
default: E(({ aria: p }) => [
|
|
1915
|
+
n.$slots.before ? (f(), L("div", so, [O(n.$slots, "before", j(K(t(Pt))))])) : I("v-if", !0),
|
|
1916
|
+
fe("div", uo, [
|
|
1917
|
+
t(rt) ? (f(), H(ce, A({ key: 0 }, t(rt), { class: "vv-select__icon" }), null, 16)) : I("v-if", !0),
|
|
1918
|
+
fe("div", A({
|
|
1908
1919
|
ref_key: "inputEl",
|
|
1909
1920
|
ref: b
|
|
1910
1921
|
}, p, {
|
|
1911
1922
|
class: "vv-select__input",
|
|
1912
1923
|
role: "combobox",
|
|
1913
|
-
"aria-controls": t(
|
|
1914
|
-
"aria-expanded": t(
|
|
1915
|
-
"aria-labelledby": t(
|
|
1916
|
-
"aria-describedby": t(v) ? t(
|
|
1917
|
-
"aria-errormessage": t(c) ? t(
|
|
1918
|
-
tabindex: t(
|
|
1919
|
-
onClickPassive:
|
|
1920
|
-
}), [t(
|
|
1921
|
-
selectedOptions: t(
|
|
1922
|
-
onInput:
|
|
1923
|
-
})), () => [n.badges ? (f(!0),
|
|
1924
|
-
key:
|
|
1924
|
+
"aria-controls": t(Z),
|
|
1925
|
+
"aria-expanded": t(k),
|
|
1926
|
+
"aria-labelledby": t(h),
|
|
1927
|
+
"aria-describedby": t(v) ? t(Oe) : void 0,
|
|
1928
|
+
"aria-errormessage": t(c) ? t(Oe) : void 0,
|
|
1929
|
+
tabindex: t(z),
|
|
1930
|
+
onClickPassive: cl
|
|
1931
|
+
}), [t(kt) ? O(n.$slots, "value", j(A({ key: 0 }, {
|
|
1932
|
+
selectedOptions: t(De),
|
|
1933
|
+
onInput: de
|
|
1934
|
+
})), () => [n.badges ? (f(!0), L(le, { key: 1 }, xe(t(De), (B, J) => (f(), H(va, {
|
|
1935
|
+
key: J,
|
|
1925
1936
|
modifiers: n.badgeModifiers,
|
|
1926
1937
|
class: "vv-select__badge"
|
|
1927
1938
|
}, {
|
|
1928
|
-
default:
|
|
1939
|
+
default: E(() => [ee(F(t(ne)(B)) + " ", 1), t(w) ? (f(), L("button", {
|
|
1929
1940
|
key: 0,
|
|
1930
|
-
"aria-label": t(
|
|
1941
|
+
"aria-label": t(a).deselectActionLabel,
|
|
1931
1942
|
type: "button",
|
|
1932
|
-
onClick:
|
|
1933
|
-
}, [
|
|
1943
|
+
onClick: Al((He) => de(B), ["stop"])
|
|
1944
|
+
}, [we(ce, { name: "close" })], 8, co)) : I("v-if", !0)]),
|
|
1934
1945
|
_: 2
|
|
1935
|
-
}, 1032, ["modifiers"]))), 128)) : (f(),
|
|
1936
|
-
t(
|
|
1946
|
+
}, 1032, ["modifiers"]))), 128)) : (f(), L("div", fo, F(t(kt)), 1))]) : O(n.$slots, "placeholder", { key: 1 }, () => [ee(F(n.placeholder), 1)])], 16, vo),
|
|
1947
|
+
t(nt) ? (f(), H(ce, A({ key: 1 }, t(nt), { class: "vv-select__icon vv-select__icon-after" }), null, 16)) : I("v-if", !0)
|
|
1937
1948
|
]),
|
|
1938
|
-
t(
|
|
1949
|
+
t(w) && t(a).showClearAction ? (f(), H(t(ol), {
|
|
1939
1950
|
key: 1,
|
|
1940
1951
|
"input-type": "select",
|
|
1941
1952
|
label: n.labelClear,
|
|
1942
1953
|
icon: n.iconClear,
|
|
1943
|
-
disabled: !t(
|
|
1944
|
-
onClear:
|
|
1954
|
+
disabled: !t(Ve),
|
|
1955
|
+
onClear: pl
|
|
1945
1956
|
}, null, 8, [
|
|
1946
1957
|
"label",
|
|
1947
1958
|
"icon",
|
|
1948
1959
|
"disabled"
|
|
1949
|
-
])) :
|
|
1950
|
-
n.$slots.after ? (f(),
|
|
1960
|
+
])) : I("v-if", !0),
|
|
1961
|
+
n.$slots.after ? (f(), L("div", po, [O(n.$slots, "after", j(K(t(Pt))))])) : I("v-if", !0)
|
|
1951
1962
|
]),
|
|
1952
|
-
items:
|
|
1953
|
-
default:
|
|
1963
|
+
items: E(() => [!t(q) && t(Te)?.length ? (f(!0), L(le, { key: 0 }, xe(t(Te), (p, B) => (f(), L(le, { key: B }, [M(p) ? (f(), L(le, { key: 0 }, [we(il, { label: t(ne)(p) }, {
|
|
1964
|
+
default: E(() => [O(n.$slots, "option-group", A({ ref_for: !0 }, {
|
|
1954
1965
|
option: p,
|
|
1955
|
-
selectedOptions: t(
|
|
1956
|
-
}), () => [
|
|
1966
|
+
selectedOptions: t(De)
|
|
1967
|
+
}), () => [ee(F(t(ne)(p)), 1)])]),
|
|
1957
1968
|
_: 2
|
|
1958
|
-
}, 1032, ["label"]), (f(!0),
|
|
1959
|
-
selected: Le(
|
|
1960
|
-
disabled:
|
|
1961
|
-
unselectable: t(
|
|
1962
|
-
deselectHintLabel: t(
|
|
1963
|
-
selectHintLabel: t(
|
|
1964
|
-
selectedHintLabel: t(
|
|
1969
|
+
}, 1032, ["label"]), (f(!0), L(le, null, xe(t(Ae)(p), (J, He) => (f(), H(Re, A({ ref_for: !0 }, {
|
|
1970
|
+
selected: Le(J),
|
|
1971
|
+
disabled: Ye(J),
|
|
1972
|
+
unselectable: t(w),
|
|
1973
|
+
deselectHintLabel: t(a).deselectHintLabel,
|
|
1974
|
+
selectHintLabel: t(a).selectHintLabel,
|
|
1975
|
+
selectedHintLabel: t(a).selectedHintLabel,
|
|
1965
1976
|
focusOnHover: n.focusOnHover
|
|
1966
1977
|
}, {
|
|
1967
|
-
key:
|
|
1978
|
+
key: He,
|
|
1968
1979
|
class: "vv-dropdown-option",
|
|
1969
|
-
onClickPassive: (
|
|
1980
|
+
onClickPassive: (go) => de(J)
|
|
1970
1981
|
}), {
|
|
1971
|
-
default:
|
|
1972
|
-
option:
|
|
1973
|
-
selectedOptions: t(
|
|
1974
|
-
selected: Le(
|
|
1975
|
-
disabled:
|
|
1976
|
-
}), () => [
|
|
1982
|
+
default: E(() => [O(n.$slots, "option", A({ ref_for: !0 }, {
|
|
1983
|
+
option: J,
|
|
1984
|
+
selectedOptions: t(De),
|
|
1985
|
+
selected: Le(J),
|
|
1986
|
+
disabled: Ye(J)
|
|
1987
|
+
}), () => [ee(F(t(ne)(J)), 1)])]),
|
|
1977
1988
|
_: 2
|
|
1978
|
-
}, 1040, ["onClickPassive"]))), 128))], 64)) : (f(),
|
|
1989
|
+
}, 1040, ["onClickPassive"]))), 128))], 64)) : (f(), H(Re, A({
|
|
1979
1990
|
key: 1,
|
|
1980
1991
|
ref_for: !0
|
|
1981
1992
|
}, {
|
|
1982
1993
|
selected: Le(p),
|
|
1983
|
-
disabled:
|
|
1984
|
-
unselectable: t(
|
|
1985
|
-
deselectHintLabel: t(
|
|
1986
|
-
selectHintLabel: t(
|
|
1987
|
-
selectedHintLabel: t(
|
|
1994
|
+
disabled: Ye(p),
|
|
1995
|
+
unselectable: t(w),
|
|
1996
|
+
deselectHintLabel: t(a).deselectHintLabel,
|
|
1997
|
+
selectHintLabel: t(a).selectHintLabel,
|
|
1998
|
+
selectedHintLabel: t(a).selectedHintLabel,
|
|
1988
1999
|
focusOnHover: n.focusOnHover
|
|
1989
2000
|
}, {
|
|
1990
2001
|
class: "vv-dropdown-option",
|
|
1991
|
-
onClickPassive: (
|
|
2002
|
+
onClickPassive: (J) => de(p)
|
|
1992
2003
|
}), {
|
|
1993
|
-
default:
|
|
2004
|
+
default: E(() => [O(n.$slots, "option", A({ ref_for: !0 }, {
|
|
1994
2005
|
option: p,
|
|
1995
|
-
selectedOptions: t(
|
|
2006
|
+
selectedOptions: t(De),
|
|
1996
2007
|
selected: Le(p),
|
|
1997
|
-
disabled:
|
|
1998
|
-
}), () => [
|
|
2008
|
+
disabled: Ye(p)
|
|
2009
|
+
}), () => [ee(F(t(ne)(p)), 1)])]),
|
|
1999
2010
|
_: 2
|
|
2000
|
-
}, 1040, ["onClickPassive"]))], 64))), 128)) : n.options.length ? (f(),
|
|
2011
|
+
}, 1040, ["onClickPassive"]))], 64))), 128)) : n.options.length ? (f(), H(Re, {
|
|
2001
2012
|
key: 2,
|
|
2002
2013
|
modifiers: "inert"
|
|
2003
2014
|
}, {
|
|
2004
|
-
default:
|
|
2015
|
+
default: E(() => [O(n.$slots, "no-results", {}, () => [ee(F(t(a).addable ? t(a).addOptionHintLabel : t(a).noResultsLabel), 1)])]),
|
|
2005
2016
|
_: 3
|
|
2006
|
-
})) : (f(),
|
|
2017
|
+
})) : (f(), H(Re, {
|
|
2007
2018
|
key: 1,
|
|
2008
2019
|
modifiers: "inert"
|
|
2009
2020
|
}, {
|
|
2010
|
-
default:
|
|
2021
|
+
default: E(() => [O(n.$slots, "no-options", {}, () => [ee(F(t(a).addable && W.value.length ? t(a).addOptionHintLabel : t(a).noOptionsLabel), 1)])]),
|
|
2011
2022
|
_: 3
|
|
2012
2023
|
}))]),
|
|
2013
|
-
after:
|
|
2024
|
+
after: E(() => [O(n.$slots, "dropdown::after", {}, () => [t(u)?.customPosition ? (f(), H(rl, {
|
|
2014
2025
|
key: 0,
|
|
2015
|
-
label: t(
|
|
2026
|
+
label: t(a).closeLabel,
|
|
2016
2027
|
modifiers: "secondary",
|
|
2017
|
-
onClick:
|
|
2018
|
-
}, null, 8, ["label"])) :
|
|
2028
|
+
onClick: m[1] || (m[1] = (p) => t(u).hide())
|
|
2029
|
+
}, null, 8, ["label"])) : I("v-if", !0)])]),
|
|
2019
2030
|
_: 2
|
|
2020
|
-
}, [t(
|
|
2031
|
+
}, [t(a).searchable || n.$slots["dropdown::before"] ? {
|
|
2021
2032
|
name: "before",
|
|
2022
|
-
fn:
|
|
2033
|
+
fn: E(() => [O(n.$slots, "dropdown::before"), t(a).searchable && !t(q) ? gt((f(), L("input", {
|
|
2023
2034
|
key: 0,
|
|
2024
|
-
id: t(
|
|
2035
|
+
id: t(re),
|
|
2025
2036
|
ref_key: "inputSearchEl",
|
|
2026
|
-
ref:
|
|
2027
|
-
"onUpdate:modelValue":
|
|
2037
|
+
ref: g,
|
|
2038
|
+
"onUpdate:modelValue": m[0] || (m[0] = (p) => W.value = p),
|
|
2028
2039
|
"aria-autocomplete": "list",
|
|
2029
|
-
"aria-controls": t(
|
|
2040
|
+
"aria-controls": t(Z),
|
|
2030
2041
|
autocomplete: "off",
|
|
2031
2042
|
spellcheck: "false",
|
|
2032
2043
|
type: "search",
|
|
2033
2044
|
class: "vv-dropdown__search",
|
|
2034
|
-
placeholder: t(
|
|
2035
|
-
onKeyup:
|
|
2036
|
-
}, null, 40,
|
|
2045
|
+
placeholder: t(a).searchPlaceholder,
|
|
2046
|
+
onKeyup: Bl(gl, ["enter"])
|
|
2047
|
+
}, null, 40, io)), [[El, W.value]]) : I("v-if", !0)]),
|
|
2037
2048
|
key: "0"
|
|
2038
2049
|
} : void 0]), 1040, ["modelValue", "role"])], 512),
|
|
2039
|
-
|
|
2040
|
-
id: t(
|
|
2050
|
+
we(t(_), {
|
|
2051
|
+
id: t(Oe),
|
|
2041
2052
|
class: "vv-select__hint"
|
|
2042
2053
|
}, vt({ _: 2 }, [
|
|
2043
2054
|
n.$slots.hint ? {
|
|
2044
2055
|
name: "hint",
|
|
2045
|
-
fn:
|
|
2056
|
+
fn: E(() => [O(n.$slots, "hint", j(K(t(C))))]),
|
|
2046
2057
|
key: "0"
|
|
2047
2058
|
} : void 0,
|
|
2048
2059
|
n.$slots.loading ? {
|
|
2049
2060
|
name: "loading",
|
|
2050
|
-
fn:
|
|
2061
|
+
fn: E(() => [O(n.$slots, "loading", j(K(t(C))))]),
|
|
2051
2062
|
key: "1"
|
|
2052
2063
|
} : void 0,
|
|
2053
2064
|
n.$slots.valid ? {
|
|
2054
2065
|
name: "valid",
|
|
2055
|
-
fn:
|
|
2066
|
+
fn: E(() => [O(n.$slots, "valid", j(K(t(C))))]),
|
|
2056
2067
|
key: "2"
|
|
2057
2068
|
} : void 0,
|
|
2058
2069
|
n.$slots.invalid ? {
|
|
2059
2070
|
name: "invalid",
|
|
2060
|
-
fn:
|
|
2071
|
+
fn: E(() => [O(n.$slots, "invalid", j(K(t(C))))]),
|
|
2061
2072
|
key: "3"
|
|
2062
2073
|
} : void 0
|
|
2063
2074
|
]), 1032, ["id"])
|
|
2064
|
-
], 10,
|
|
2075
|
+
], 10, ro));
|
|
2065
2076
|
}
|
|
2066
|
-
}),
|
|
2077
|
+
}), Po = mo;
|
|
2067
2078
|
export {
|
|
2068
|
-
|
|
2079
|
+
Po as default
|
|
2069
2080
|
};
|