@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
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
import type { InputType } from '@/components/VvInputText'
|
|
2
|
+
import type { PlayAttributes } from '@/test/types'
|
|
3
|
+
import { userEvent, within } from 'storybook/test'
|
|
4
|
+
import { INPUT_TYPES } from '@/components/VvInputText'
|
|
5
|
+
import { expect } from '@/test/expect'
|
|
6
|
+
import { sleep } from '@/test/sleep'
|
|
7
|
+
|
|
8
|
+
function valueByType(type: InputType, mask?: string, id?: string) {
|
|
9
|
+
if (mask) {
|
|
10
|
+
switch (id) {
|
|
11
|
+
case 'phone-number':
|
|
12
|
+
return { toType: '393923847556' }
|
|
13
|
+
case 'date-placeholder':
|
|
14
|
+
return { toType: '01011970', toCheck: '1970-01-01' }
|
|
15
|
+
case 'phone-or-email':
|
|
16
|
+
return {
|
|
17
|
+
toType:
|
|
18
|
+
Math.random() < 0.5 ? '393923847556' : 'test@test.com',
|
|
19
|
+
}
|
|
20
|
+
case 'intl-number':
|
|
21
|
+
return { toType: '1234567890.22' }
|
|
22
|
+
case 'currency':
|
|
23
|
+
return { toType: '1234567890.22' }
|
|
24
|
+
default:
|
|
25
|
+
return { toType: '1234567890' }
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
switch (type) {
|
|
29
|
+
case INPUT_TYPES.TEXT:
|
|
30
|
+
case INPUT_TYPES.PASSWORD:
|
|
31
|
+
case INPUT_TYPES.SEARCH:
|
|
32
|
+
return { toType: 'Lorem ipsum' }
|
|
33
|
+
case INPUT_TYPES.NUMBER:
|
|
34
|
+
return { toType: '1' }
|
|
35
|
+
case INPUT_TYPES.EMAIL:
|
|
36
|
+
return { toType: 'test@test.com' }
|
|
37
|
+
case INPUT_TYPES.TEL:
|
|
38
|
+
return { toType: '+1234567890' }
|
|
39
|
+
case INPUT_TYPES.URL:
|
|
40
|
+
return { toType: 'https://www.test.com' }
|
|
41
|
+
case INPUT_TYPES.DATE:
|
|
42
|
+
return { toType: new Date().toISOString().split('T')[0] }
|
|
43
|
+
case INPUT_TYPES.TIME:
|
|
44
|
+
return { toType: '12:00' }
|
|
45
|
+
case INPUT_TYPES.COLOR:
|
|
46
|
+
case INPUT_TYPES.DATETIME_LOCAL:
|
|
47
|
+
case INPUT_TYPES.MONTH:
|
|
48
|
+
case INPUT_TYPES.WEEK:
|
|
49
|
+
return { toType: undefined }
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export async function checkNullTest({ canvasElement }: PlayAttributes) {
|
|
54
|
+
const element = await within(canvasElement).findByTestId('element')
|
|
55
|
+
const value = await within(canvasElement).findByTestId('value')
|
|
56
|
+
const input = element.getElementsByTagName('input')[0]
|
|
57
|
+
|
|
58
|
+
await expect(input).toHaveProperty('value', '')
|
|
59
|
+
await expect(value.innerHTML).toEqual('null')
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export async function checkUndefinedTest({ canvasElement }: PlayAttributes) {
|
|
63
|
+
const element = await within(canvasElement).findByTestId('element')
|
|
64
|
+
const value = await within(canvasElement).findByTestId('value')
|
|
65
|
+
const input = element.getElementsByTagName('input')[0]
|
|
66
|
+
|
|
67
|
+
await expect(input).toHaveProperty('value', '')
|
|
68
|
+
await expect(value.innerHTML).toEqual('undefined')
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export async function defaultTest({ canvasElement, args }: PlayAttributes) {
|
|
72
|
+
const element = await within(canvasElement).findByTestId('element')
|
|
73
|
+
const value = await within(canvasElement).findByTestId('value')
|
|
74
|
+
const input = element.getElementsByTagName('input')[0]
|
|
75
|
+
const hint = element.getElementsByClassName('vv-input-text__hint')[0]
|
|
76
|
+
|
|
77
|
+
// value
|
|
78
|
+
if (!args.invalid && !args.disabled && !args.readonly) {
|
|
79
|
+
const { toType, toCheck } = valueByType(args.type, args.iMask, args.id)
|
|
80
|
+
if (toType) {
|
|
81
|
+
await expect(input).toBeClicked()
|
|
82
|
+
await userEvent.keyboard(toType)
|
|
83
|
+
await sleep()
|
|
84
|
+
if (args.maxlength) {
|
|
85
|
+
await expect(value.innerHTML).toEqual(
|
|
86
|
+
toType.slice(0, args.maxlength),
|
|
87
|
+
)
|
|
88
|
+
} else {
|
|
89
|
+
await expect(value.innerHTML).toEqual(toCheck ?? toType)
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
// disabled
|
|
95
|
+
if (args.disabled) {
|
|
96
|
+
await expect(element).toHaveClass('vv-input-text--disabled')
|
|
97
|
+
await expect(input).toHaveProperty('disabled')
|
|
98
|
+
await expect(input).not.toBeClicked()
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
// readonly
|
|
102
|
+
if (args.readonly) {
|
|
103
|
+
await expect(element).toHaveClass('vv-input-text--readonly')
|
|
104
|
+
await expect(input).toHaveProperty('readOnly')
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
// invalid
|
|
108
|
+
if (args.invalid) {
|
|
109
|
+
await expect(element).toHaveClass('vv-input-text--invalid')
|
|
110
|
+
await expect(input).toHaveProperty('ariaInvalid')
|
|
111
|
+
if (args.invalidLabel) {
|
|
112
|
+
await expect(hint.innerHTML).toEqual(args.invalidLabel)
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
// valid
|
|
117
|
+
if (args.valid) {
|
|
118
|
+
await expect(element).toHaveClass('vv-input-text--valid')
|
|
119
|
+
await expect(input).toHaveProperty('ariaInvalid', 'false')
|
|
120
|
+
if (args.validLabel) {
|
|
121
|
+
await expect(hint.innerHTML).toEqual(args.validLabel)
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
// min / max / minlength / maxlength
|
|
126
|
+
if (args.min) {
|
|
127
|
+
await expect(input).toHaveProperty('min', String(args.min))
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
if (args.max) {
|
|
131
|
+
await expect(input).toHaveProperty('max', String(args.max))
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
if (args.minlength) {
|
|
135
|
+
await expect(input).toHaveProperty('minLength', args.minlength)
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
if (args.maxlength) {
|
|
139
|
+
await expect(input).toHaveProperty('maxLength', args.maxlength)
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
// floating
|
|
143
|
+
if (args.floating) {
|
|
144
|
+
await expect(element).toHaveClass('vv-input-text--floating')
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
// loading
|
|
148
|
+
if (args.loading) {
|
|
149
|
+
await expect(element).toHaveClass('vv-input-text--loading')
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
// hint
|
|
153
|
+
if (args.hintLabel) {
|
|
154
|
+
await expect(hint.innerHTML).toEqual(args.hintLabel)
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
// check accessibility
|
|
158
|
+
await expect(element).toHaveNoViolations()
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
export async function isoTest({ canvasElement, args }: PlayAttributes) {
|
|
162
|
+
const element = await within(canvasElement).findByTestId('element')
|
|
163
|
+
const input = element.getElementsByTagName('input')[0] as HTMLInputElement
|
|
164
|
+
const value = await within(canvasElement).findByTestId('value')
|
|
165
|
+
|
|
166
|
+
const inputDate = getDateFromInputValue(input.value, args.type)
|
|
167
|
+
if (!inputDate) {
|
|
168
|
+
await expect(value.innerHTML).toEqual('null')
|
|
169
|
+
return
|
|
170
|
+
}
|
|
171
|
+
const valueDate = new Date(value.innerHTML)
|
|
172
|
+
|
|
173
|
+
if (args.type === INPUT_TYPES.TIME || args.type === INPUT_TYPES.DATETIME_LOCAL) {
|
|
174
|
+
expect(inputDate.getHours()).toEqual(valueDate.getHours())
|
|
175
|
+
expect(inputDate.getMinutes()).toEqual(valueDate.getMinutes())
|
|
176
|
+
}
|
|
177
|
+
if (args.type === INPUT_TYPES.MONTH || args.type === INPUT_TYPES.DATE || args.type === INPUT_TYPES.DATETIME_LOCAL) {
|
|
178
|
+
expect(inputDate.getMonth()).toEqual(valueDate.getMonth())
|
|
179
|
+
expect(inputDate.getFullYear()).toEqual(valueDate.getFullYear())
|
|
180
|
+
}
|
|
181
|
+
if (args.type === INPUT_TYPES.DATE || args.type === INPUT_TYPES.DATETIME_LOCAL) {
|
|
182
|
+
expect(inputDate.getDate()).toEqual(valueDate.getDate())
|
|
183
|
+
}
|
|
184
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/vue3-vite'
|
|
2
|
+
import VvInputText from '@/components/VvInputText/VvInputText.vue'
|
|
3
|
+
import { argTypes, defaultArgs } from './InputText.settings'
|
|
4
|
+
import { Default } from './InputText.stories'
|
|
5
|
+
|
|
6
|
+
const meta: Meta<typeof VvInputText> = {
|
|
7
|
+
title: 'Components/InputText/Icon',
|
|
8
|
+
component: VvInputText,
|
|
9
|
+
args: defaultArgs,
|
|
10
|
+
argTypes,
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export default meta
|
|
14
|
+
|
|
15
|
+
type Story = StoryObj<typeof VvInputText>
|
|
16
|
+
|
|
17
|
+
export const DefaultPosition: Story = {
|
|
18
|
+
...Default,
|
|
19
|
+
args: {
|
|
20
|
+
...Default.args,
|
|
21
|
+
icon: 'heart',
|
|
22
|
+
},
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export const After: Story = {
|
|
26
|
+
...Default,
|
|
27
|
+
args: {
|
|
28
|
+
...Default.args,
|
|
29
|
+
icon: 'heart',
|
|
30
|
+
iconPosition: 'after',
|
|
31
|
+
},
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export const Src: Story = {
|
|
35
|
+
...Default,
|
|
36
|
+
args: {
|
|
37
|
+
...Default.args,
|
|
38
|
+
icon: {
|
|
39
|
+
name: 'engineering',
|
|
40
|
+
src: 'https://raw.githubusercontent.com/google/material-design-icons/master/src/social/engineering/materialicons/24px.svg',
|
|
41
|
+
},
|
|
42
|
+
},
|
|
43
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/vue3-vite'
|
|
2
|
+
import VvInputText from '@/components/VvInputText/VvInputText.vue'
|
|
3
|
+
import { argTypes, defaultArgs } from './InputText.settings'
|
|
4
|
+
import { isoTest } from './InputText.test'
|
|
5
|
+
|
|
6
|
+
const meta: Meta<typeof VvInputText> = {
|
|
7
|
+
title: 'Components/InputText/Iso',
|
|
8
|
+
component: VvInputText,
|
|
9
|
+
args: defaultArgs,
|
|
10
|
+
argTypes,
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export default meta
|
|
14
|
+
|
|
15
|
+
type Story = StoryObj<typeof VvInputText>
|
|
16
|
+
|
|
17
|
+
export const TypeDate: Story = {
|
|
18
|
+
args: {
|
|
19
|
+
...defaultArgs,
|
|
20
|
+
type: 'date',
|
|
21
|
+
},
|
|
22
|
+
render: args => ({
|
|
23
|
+
components: { VvInputText },
|
|
24
|
+
setup() {
|
|
25
|
+
return { args }
|
|
26
|
+
},
|
|
27
|
+
data: () => ({
|
|
28
|
+
inputValue: `2024-12-31T23:00:00.000Z`,
|
|
29
|
+
}),
|
|
30
|
+
template: /* html */ `
|
|
31
|
+
<vv-input-text v-bind="args" v-model="inputValue" :data-testData="inputValue" data-testId="element" />
|
|
32
|
+
<div>Value: <span data-testId="value">{{ inputValue }}</span></div>
|
|
33
|
+
`,
|
|
34
|
+
}),
|
|
35
|
+
play: isoTest,
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export const TypeTime: Story = {
|
|
39
|
+
...TypeDate,
|
|
40
|
+
args: {
|
|
41
|
+
...defaultArgs,
|
|
42
|
+
type: 'time',
|
|
43
|
+
},
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export const TypeTimeMinute: Story = {
|
|
47
|
+
...TypeDate,
|
|
48
|
+
args: {
|
|
49
|
+
...defaultArgs,
|
|
50
|
+
type: 'time',
|
|
51
|
+
step: 60,
|
|
52
|
+
},
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export const TypeMonth: Story = {
|
|
56
|
+
...TypeDate,
|
|
57
|
+
args: {
|
|
58
|
+
...defaultArgs,
|
|
59
|
+
type: 'month',
|
|
60
|
+
},
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export const TypeDateTime: Story = {
|
|
64
|
+
...TypeDate,
|
|
65
|
+
args: {
|
|
66
|
+
...defaultArgs,
|
|
67
|
+
type: 'datetime-local',
|
|
68
|
+
},
|
|
69
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/vue3-vite'
|
|
2
|
+
import VvInputText from '@/components/VvInputText/VvInputText.vue'
|
|
3
|
+
import { argTypes, defaultArgs } from './InputText.settings'
|
|
4
|
+
import { Default } from './InputText.stories'
|
|
5
|
+
|
|
6
|
+
const meta: Meta<typeof VvInputText> = {
|
|
7
|
+
title: 'Components/InputText/Length',
|
|
8
|
+
component: VvInputText,
|
|
9
|
+
args: defaultArgs,
|
|
10
|
+
argTypes,
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export default meta
|
|
14
|
+
|
|
15
|
+
type Story = StoryObj<typeof VvInputText>
|
|
16
|
+
|
|
17
|
+
export const MaxLength: Story = {
|
|
18
|
+
...Default,
|
|
19
|
+
args: {
|
|
20
|
+
...Default.args,
|
|
21
|
+
maxlength: 5,
|
|
22
|
+
},
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export const MinLength: Story = {
|
|
26
|
+
...Default,
|
|
27
|
+
args: {
|
|
28
|
+
...Default.args,
|
|
29
|
+
minlength: 5,
|
|
30
|
+
},
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export const Count: Story = {
|
|
34
|
+
...Default,
|
|
35
|
+
args: {
|
|
36
|
+
...Default.args,
|
|
37
|
+
count: true,
|
|
38
|
+
minlength: 100,
|
|
39
|
+
},
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export const Limit: Story = {
|
|
43
|
+
...Default,
|
|
44
|
+
args: {
|
|
45
|
+
...Default.args,
|
|
46
|
+
count: 'limit',
|
|
47
|
+
maxlength: 100,
|
|
48
|
+
},
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export const Countdown: Story = {
|
|
52
|
+
...Default,
|
|
53
|
+
args: {
|
|
54
|
+
...Default.args,
|
|
55
|
+
count: 'countdown',
|
|
56
|
+
maxlength: 100,
|
|
57
|
+
},
|
|
58
|
+
}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/vue3-vite'
|
|
2
|
+
import VvInputText from '@/components/VvInputText/VvInputText.vue'
|
|
3
|
+
import { argTypes, defaultArgs } from './InputText.settings'
|
|
4
|
+
import { Default } from './InputText.stories'
|
|
5
|
+
|
|
6
|
+
const meta: Meta<typeof VvInputText> = {
|
|
7
|
+
title: 'Components/InputText/Mask',
|
|
8
|
+
component: VvInputText,
|
|
9
|
+
args: defaultArgs,
|
|
10
|
+
argTypes,
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export default meta
|
|
14
|
+
|
|
15
|
+
type Story = StoryObj<typeof VvInputText>
|
|
16
|
+
|
|
17
|
+
export const Regex: Story = {
|
|
18
|
+
...Default,
|
|
19
|
+
args: {
|
|
20
|
+
...defaultArgs,
|
|
21
|
+
id: 'regexp',
|
|
22
|
+
iMask: {
|
|
23
|
+
mask: /^\d+$/,
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export const PhoneNumber: Story = {
|
|
29
|
+
...Default,
|
|
30
|
+
args: {
|
|
31
|
+
...defaultArgs,
|
|
32
|
+
id: 'phone-number',
|
|
33
|
+
iMask: {
|
|
34
|
+
mask: '+{39}(000)000-00-00',
|
|
35
|
+
},
|
|
36
|
+
},
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export const Pattern: Story = {
|
|
40
|
+
...Default,
|
|
41
|
+
args: {
|
|
42
|
+
...defaultArgs,
|
|
43
|
+
id: 'pattern',
|
|
44
|
+
iMask: {
|
|
45
|
+
mask: 'XXX-XX-00000',
|
|
46
|
+
definitions: {
|
|
47
|
+
X: {
|
|
48
|
+
mask: '0',
|
|
49
|
+
displayChar: 'X',
|
|
50
|
+
placeholderChar: '#',
|
|
51
|
+
},
|
|
52
|
+
},
|
|
53
|
+
lazy: false,
|
|
54
|
+
overwrite: 'shift',
|
|
55
|
+
},
|
|
56
|
+
},
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export const IntlNumber: Story = {
|
|
60
|
+
...Default,
|
|
61
|
+
args: {
|
|
62
|
+
...defaultArgs,
|
|
63
|
+
id: 'intl-number',
|
|
64
|
+
type: 'number',
|
|
65
|
+
iMask: {
|
|
66
|
+
mask: Number,
|
|
67
|
+
thousandsSeparator: '.',
|
|
68
|
+
radix: ',',
|
|
69
|
+
},
|
|
70
|
+
},
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export const DatePlaceholder: Story = {
|
|
74
|
+
...Default,
|
|
75
|
+
args: {
|
|
76
|
+
...defaultArgs,
|
|
77
|
+
id: 'date-placeholder',
|
|
78
|
+
type: 'date',
|
|
79
|
+
iMask: {
|
|
80
|
+
mask: Date,
|
|
81
|
+
pattern: 'd.m.Y',
|
|
82
|
+
lazy: false,
|
|
83
|
+
},
|
|
84
|
+
},
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export const PhoneOrEmail: Story = {
|
|
88
|
+
...Default,
|
|
89
|
+
args: {
|
|
90
|
+
...defaultArgs,
|
|
91
|
+
id: 'phone-or-email',
|
|
92
|
+
iMask: {
|
|
93
|
+
mask: [
|
|
94
|
+
{
|
|
95
|
+
mask: '+{39}(000)000-00-00',
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
mask: /^\S*$/,
|
|
99
|
+
},
|
|
100
|
+
],
|
|
101
|
+
},
|
|
102
|
+
},
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
export const Currency: Story = {
|
|
106
|
+
...Default,
|
|
107
|
+
args: {
|
|
108
|
+
...defaultArgs,
|
|
109
|
+
id: 'currency',
|
|
110
|
+
type: 'number',
|
|
111
|
+
iMask: {
|
|
112
|
+
mask: '€ num',
|
|
113
|
+
blocks: {
|
|
114
|
+
num: {
|
|
115
|
+
mask: Number,
|
|
116
|
+
thousandsSeparator: '.',
|
|
117
|
+
radix: ',',
|
|
118
|
+
},
|
|
119
|
+
},
|
|
120
|
+
},
|
|
121
|
+
},
|
|
122
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/vue3-vite'
|
|
2
|
+
import VvInputText from '@/components/VvInputText/VvInputText.vue'
|
|
3
|
+
import { argTypes, defaultArgs } from './InputText.settings'
|
|
4
|
+
import { Default } from './InputText.stories'
|
|
5
|
+
|
|
6
|
+
const meta: Meta<typeof VvInputText> = {
|
|
7
|
+
title: 'Components/InputText/MinMax',
|
|
8
|
+
component: VvInputText,
|
|
9
|
+
args: defaultArgs,
|
|
10
|
+
argTypes,
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export default meta
|
|
14
|
+
|
|
15
|
+
type Story = StoryObj<typeof VvInputText>
|
|
16
|
+
|
|
17
|
+
export const MinNumber: Story = {
|
|
18
|
+
...Default,
|
|
19
|
+
args: {
|
|
20
|
+
...Default.args,
|
|
21
|
+
type: 'number',
|
|
22
|
+
min: -15,
|
|
23
|
+
},
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export const MaxNumber: Story = {
|
|
27
|
+
...Default,
|
|
28
|
+
args: {
|
|
29
|
+
...Default.args,
|
|
30
|
+
type: 'number',
|
|
31
|
+
max: 15,
|
|
32
|
+
},
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export const MinDate: Story = {
|
|
36
|
+
...Default,
|
|
37
|
+
args: {
|
|
38
|
+
...Default.args,
|
|
39
|
+
type: 'date',
|
|
40
|
+
min: new Date().toISOString().split('T')[0],
|
|
41
|
+
},
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export const MaxDate: Story = {
|
|
45
|
+
...Default,
|
|
46
|
+
args: {
|
|
47
|
+
...Default.args,
|
|
48
|
+
type: 'date',
|
|
49
|
+
max: new Date().toISOString().split('T')[0],
|
|
50
|
+
},
|
|
51
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/vue3-vite'
|
|
2
|
+
import VvInputText from '@/components/VvInputText/VvInputText.vue'
|
|
3
|
+
import { argTypes, defaultArgs } from './InputText.settings'
|
|
4
|
+
import { Default } from './InputText.stories'
|
|
5
|
+
|
|
6
|
+
const meta: Meta<typeof VvInputText> = {
|
|
7
|
+
title: 'Components/InputText/Slots',
|
|
8
|
+
component: VvInputText,
|
|
9
|
+
args: defaultArgs,
|
|
10
|
+
argTypes,
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export default meta
|
|
14
|
+
|
|
15
|
+
type Story = StoryObj<typeof VvInputText>
|
|
16
|
+
|
|
17
|
+
export const Before: Story = {
|
|
18
|
+
...Default,
|
|
19
|
+
args: {
|
|
20
|
+
...Default.args,
|
|
21
|
+
before: '<div class="vv-badge vv-badge--sm uppercase">Before</div>',
|
|
22
|
+
},
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export const After: Story = {
|
|
26
|
+
...Default,
|
|
27
|
+
args: {
|
|
28
|
+
...Default.args,
|
|
29
|
+
after: '<div class="vv-badge vv-badge--sm uppercase">After</div>',
|
|
30
|
+
},
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export const Hint: Story = {
|
|
34
|
+
...Default,
|
|
35
|
+
args: {
|
|
36
|
+
...Default.args,
|
|
37
|
+
hint: 'Hint <em class="italic">slot!</em>',
|
|
38
|
+
},
|
|
39
|
+
}
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/vue3-vite'
|
|
2
|
+
import VvInputText from '@/components/VvInputText/VvInputText.vue'
|
|
3
|
+
import { argTypes, defaultArgs } from './InputText.settings'
|
|
4
|
+
import { Default } from './InputText.stories'
|
|
5
|
+
|
|
6
|
+
const meta: Meta<typeof VvInputText> = {
|
|
7
|
+
title: 'Components/InputText/Suggestions',
|
|
8
|
+
component: VvInputText,
|
|
9
|
+
args: defaultArgs,
|
|
10
|
+
argTypes,
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export default meta
|
|
14
|
+
|
|
15
|
+
type Story = StoryObj<typeof VvInputText>
|
|
16
|
+
|
|
17
|
+
export const StorageSuggestions: Story = {
|
|
18
|
+
...Default,
|
|
19
|
+
args: {
|
|
20
|
+
...Default.args,
|
|
21
|
+
type: 'text',
|
|
22
|
+
label: 'Input with Storage Suggestions',
|
|
23
|
+
placeholder: 'Start typing to see stored suggestions',
|
|
24
|
+
storageKey: 'example-input-storage',
|
|
25
|
+
maxSuggestions: 5,
|
|
26
|
+
},
|
|
27
|
+
render: args => ({
|
|
28
|
+
components: { VvInputText },
|
|
29
|
+
setup() {
|
|
30
|
+
return { args }
|
|
31
|
+
},
|
|
32
|
+
data: () => ({ inputValue: undefined }),
|
|
33
|
+
template: /* html */ `
|
|
34
|
+
<div class="space-y-md">
|
|
35
|
+
<div>
|
|
36
|
+
<p class="text-sm text-gray-600 mb-sm">
|
|
37
|
+
Storage suggestions are saved when you blur the input and can be removed by clicking the trash button in the dropdown.
|
|
38
|
+
</p>
|
|
39
|
+
<vv-input-text
|
|
40
|
+
v-bind="args"
|
|
41
|
+
v-model="inputValue"
|
|
42
|
+
data-testId="element"
|
|
43
|
+
/>
|
|
44
|
+
<div class="mt-sm">Value: <span data-testId="value">{{ inputValue }}</span></div>
|
|
45
|
+
</div>
|
|
46
|
+
</div>
|
|
47
|
+
`,
|
|
48
|
+
}),
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export const ExternalSuggestions: Story = {
|
|
52
|
+
...Default,
|
|
53
|
+
args: {
|
|
54
|
+
...Default.args,
|
|
55
|
+
type: 'text',
|
|
56
|
+
label: 'Input with External Suggestions',
|
|
57
|
+
placeholder: 'Type to filter suggestions',
|
|
58
|
+
suggestions: ['Apple', 'Apricot', 'Avocado', 'Banana', 'Blueberry'],
|
|
59
|
+
},
|
|
60
|
+
render: args => ({
|
|
61
|
+
components: { VvInputText },
|
|
62
|
+
setup() {
|
|
63
|
+
return { args }
|
|
64
|
+
},
|
|
65
|
+
data: () => ({ inputValue: undefined }),
|
|
66
|
+
template: /* html */ `
|
|
67
|
+
<div class="space-y-md">
|
|
68
|
+
<div>
|
|
69
|
+
<p class="text-sm text-gray-600 mb-sm">
|
|
70
|
+
External suggestions cannot be removed. They're always available for selection.
|
|
71
|
+
</p>
|
|
72
|
+
<vv-input-text
|
|
73
|
+
v-bind="args"
|
|
74
|
+
v-model="inputValue"
|
|
75
|
+
data-testId="element"
|
|
76
|
+
/>
|
|
77
|
+
<div class="mt-sm">Value: <span data-testId="value">{{ inputValue }}</span></div>
|
|
78
|
+
</div>
|
|
79
|
+
</div>
|
|
80
|
+
`,
|
|
81
|
+
}),
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export const BothSuggestions: Story = {
|
|
85
|
+
...Default,
|
|
86
|
+
args: {
|
|
87
|
+
...Default.args,
|
|
88
|
+
type: 'text',
|
|
89
|
+
label: 'Input with Storage + External Suggestions',
|
|
90
|
+
placeholder: 'Type to see all suggestions',
|
|
91
|
+
storageKey: 'combined-suggestions-example',
|
|
92
|
+
suggestions: ['Apple', 'Apricot', 'Avocado'],
|
|
93
|
+
maxSuggestions: 5,
|
|
94
|
+
},
|
|
95
|
+
render: args => ({
|
|
96
|
+
components: { VvInputText },
|
|
97
|
+
setup() {
|
|
98
|
+
return { args }
|
|
99
|
+
},
|
|
100
|
+
data: () => ({ inputValue: undefined }),
|
|
101
|
+
template: /* html */ `
|
|
102
|
+
<div class="space-y-md">
|
|
103
|
+
<div>
|
|
104
|
+
<p class="text-sm text-gray-600 mb-sm">
|
|
105
|
+
<strong>External suggestions:</strong> Apple, Apricot, Avocado (cannot be removed)<br/>
|
|
106
|
+
<strong>Storage suggestions:</strong> Saved values from previous inputs (can be removed with trash button)
|
|
107
|
+
</p>
|
|
108
|
+
<vv-input-text
|
|
109
|
+
v-bind="args"
|
|
110
|
+
v-model="inputValue"
|
|
111
|
+
data-testId="element"
|
|
112
|
+
/>
|
|
113
|
+
<div class="mt-sm">Value: <span data-testId="value">{{ inputValue }}</span></div>
|
|
114
|
+
</div>
|
|
115
|
+
</div>
|
|
116
|
+
`,
|
|
117
|
+
}),
|
|
118
|
+
}
|