@volverjs/ui-vue 0.0.10-beta.60 → 0.0.10-beta.61
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/dist/icons.es.js +3 -3
- package/dist/icons.umd.js +1 -1
- package/package.json +2 -4
- package/auto-imports.d.ts +0 -336
- package/dist/.storybook/main.d.ts +0 -3
- package/dist/.storybook/preview.d.ts +0 -89
- package/env.d.ts +0 -1
- package/src/Volver.ts +0 -299
- package/src/assets/icons/detailed/add-circle.svg +0 -12
- package/src/assets/icons/detailed/add.svg +0 -8
- package/src/assets/icons/detailed/align-center.svg +0 -12
- package/src/assets/icons/detailed/align-justify.svg +0 -12
- package/src/assets/icons/detailed/align-left.svg +0 -12
- package/src/assets/icons/detailed/align-right.svg +0 -12
- package/src/assets/icons/detailed/analysis-2.svg +0 -20
- package/src/assets/icons/detailed/analysis-3.svg +0 -8
- package/src/assets/icons/detailed/analysis.svg +0 -16
- package/src/assets/icons/detailed/apple.svg +0 -16
- package/src/assets/icons/detailed/arrow-down.svg +0 -8
- package/src/assets/icons/detailed/arrow-left.svg +0 -8
- package/src/assets/icons/detailed/arrow-right.svg +0 -8
- package/src/assets/icons/detailed/arrow-up.svg +0 -8
- package/src/assets/icons/detailed/attachment.svg +0 -8
- package/src/assets/icons/detailed/back-to-front.svg +0 -17
- package/src/assets/icons/detailed/bell-active.svg +0 -14
- package/src/assets/icons/detailed/bell.svg +0 -14
- package/src/assets/icons/detailed/bold.svg +0 -8
- package/src/assets/icons/detailed/bookmark-active.svg +0 -12
- package/src/assets/icons/detailed/bookmark.svg +0 -12
- package/src/assets/icons/detailed/building.svg +0 -26
- package/src/assets/icons/detailed/bullet-list.svg +0 -22
- package/src/assets/icons/detailed/calendar.svg +0 -26
- package/src/assets/icons/detailed/camera-off.svg +0 -12
- package/src/assets/icons/detailed/camera-on.svg +0 -17
- package/src/assets/icons/detailed/catalog.svg +0 -15
- package/src/assets/icons/detailed/certificate.svg +0 -10
- package/src/assets/icons/detailed/chat.svg +0 -6
- package/src/assets/icons/detailed/check-badge.svg +0 -9
- package/src/assets/icons/detailed/check-circle.svg +0 -10
- package/src/assets/icons/detailed/check.svg +0 -6
- package/src/assets/icons/detailed/checkbox.svg +0 -8
- package/src/assets/icons/detailed/chevron-down-circle.svg +0 -10
- package/src/assets/icons/detailed/chevron-down.svg +0 -6
- package/src/assets/icons/detailed/chevron-left-circle.svg +0 -10
- package/src/assets/icons/detailed/chevron-left.svg +0 -6
- package/src/assets/icons/detailed/chevron-right-circle.svg +0 -7
- package/src/assets/icons/detailed/chevron-up-circle.svg +0 -10
- package/src/assets/icons/detailed/chevron-up.svg +0 -6
- package/src/assets/icons/detailed/circle.svg +0 -8
- package/src/assets/icons/detailed/classroom.svg +0 -38
- package/src/assets/icons/detailed/clear-field.svg +0 -14
- package/src/assets/icons/detailed/clear-style.svg +0 -9
- package/src/assets/icons/detailed/close-circle.svg +0 -14
- package/src/assets/icons/detailed/close-loader.svg +0 -6
- package/src/assets/icons/detailed/close.svg +0 -8
- package/src/assets/icons/detailed/coffee.svg +0 -21
- package/src/assets/icons/detailed/color.svg +0 -20
- package/src/assets/icons/detailed/contact-us.svg +0 -27
- package/src/assets/icons/detailed/copy.svg +0 -10
- package/src/assets/icons/detailed/courses.svg +0 -22
- package/src/assets/icons/detailed/dashboard.svg +0 -20
- package/src/assets/icons/detailed/download.svg +0 -10
- package/src/assets/icons/detailed/drag.svg +0 -10
- package/src/assets/icons/detailed/duplicate.svg +0 -23
- package/src/assets/icons/detailed/edit.svg +0 -16
- package/src/assets/icons/detailed/elearning.svg +0 -13
- package/src/assets/icons/detailed/email.svg +0 -11
- package/src/assets/icons/detailed/error-2.svg +0 -8
- package/src/assets/icons/detailed/error.svg +0 -12
- package/src/assets/icons/detailed/exercise.svg +0 -26
- package/src/assets/icons/detailed/external-link.svg +0 -11
- package/src/assets/icons/detailed/extract.svg +0 -20
- package/src/assets/icons/detailed/eye-off.svg +0 -15
- package/src/assets/icons/detailed/eye-on.svg +0 -8
- package/src/assets/icons/detailed/fail.svg +0 -11
- package/src/assets/icons/detailed/fast-back.svg +0 -20
- package/src/assets/icons/detailed/fast-forward.svg +0 -20
- package/src/assets/icons/detailed/file-add.svg +0 -19
- package/src/assets/icons/detailed/file-duplicate.svg +0 -16
- package/src/assets/icons/detailed/file-remove.svg +0 -17
- package/src/assets/icons/detailed/file-required.svg +0 -23
- package/src/assets/icons/detailed/file.svg +0 -13
- package/src/assets/icons/detailed/filter-2.svg +0 -22
- package/src/assets/icons/detailed/filter-active.svg +0 -12
- package/src/assets/icons/detailed/filter.svg +0 -12
- package/src/assets/icons/detailed/flag.svg +0 -11
- package/src/assets/icons/detailed/folder.svg +0 -14
- package/src/assets/icons/detailed/full-width.svg +0 -11
- package/src/assets/icons/detailed/go-to-back.svg +0 -19
- package/src/assets/icons/detailed/grid.svg +0 -20
- package/src/assets/icons/detailed/group-add.svg +0 -24
- package/src/assets/icons/detailed/group.svg +0 -16
- package/src/assets/icons/detailed/heart-active.svg +0 -12
- package/src/assets/icons/detailed/heart.svg +0 -12
- package/src/assets/icons/detailed/highlighter.svg +0 -10
- package/src/assets/icons/detailed/home.svg +0 -12
- package/src/assets/icons/detailed/hourglass.svg +0 -12
- package/src/assets/icons/detailed/image.svg +0 -15
- package/src/assets/icons/detailed/info-badge.svg +0 -9
- package/src/assets/icons/detailed/information.svg +0 -12
- package/src/assets/icons/detailed/italic.svg +0 -10
- package/src/assets/icons/detailed/key.svg +0 -5
- package/src/assets/icons/detailed/language.svg +0 -14
- package/src/assets/icons/detailed/learning-path.svg +0 -7
- package/src/assets/icons/detailed/light-off.svg +0 -10
- package/src/assets/icons/detailed/light-on.svg +0 -18
- package/src/assets/icons/detailed/link.svg +0 -12
- package/src/assets/icons/detailed/lock.svg +0 -13
- package/src/assets/icons/detailed/login.svg +0 -11
- package/src/assets/icons/detailed/logout.svg +0 -11
- package/src/assets/icons/detailed/maximaze.svg +0 -12
- package/src/assets/icons/detailed/menu.svg +0 -9
- package/src/assets/icons/detailed/merge.svg +0 -20
- package/src/assets/icons/detailed/minimize.svg +0 -14
- package/src/assets/icons/detailed/mixed-class.svg +0 -40
- package/src/assets/icons/detailed/more-horizontal.svg +0 -7
- package/src/assets/icons/detailed/more-vertical.svg +0 -7
- package/src/assets/icons/detailed/news.svg +0 -12
- package/src/assets/icons/detailed/no-prerequisites.svg +0 -13
- package/src/assets/icons/detailed/notes.svg +0 -14
- package/src/assets/icons/detailed/number-code.svg +0 -34
- package/src/assets/icons/detailed/numbered-list.svg +0 -18
- package/src/assets/icons/detailed/on-site.svg +0 -22
- package/src/assets/icons/detailed/order-down.svg +0 -12
- package/src/assets/icons/detailed/order-up.svg +0 -12
- package/src/assets/icons/detailed/paste.svg +0 -14
- package/src/assets/icons/detailed/pausa.svg +0 -8
- package/src/assets/icons/detailed/pdf.svg +0 -12
- package/src/assets/icons/detailed/phone.svg +0 -10
- package/src/assets/icons/detailed/pin-map.svg +0 -12
- package/src/assets/icons/detailed/pin.svg +0 -15
- package/src/assets/icons/detailed/pizza.svg +0 -17
- package/src/assets/icons/detailed/play.svg +0 -11
- package/src/assets/icons/detailed/plug-in.svg +0 -10
- package/src/assets/icons/detailed/pointer.svg +0 -12
- package/src/assets/icons/detailed/printer.svg +0 -26
- package/src/assets/icons/detailed/profile-add.svg +0 -20
- package/src/assets/icons/detailed/profile.svg +0 -10
- package/src/assets/icons/detailed/push-pin-off.svg +0 -11
- package/src/assets/icons/detailed/push-pin-on.svg +0 -9
- package/src/assets/icons/detailed/qrcode.svg +0 -28
- package/src/assets/icons/detailed/question-badge.svg +0 -10
- package/src/assets/icons/detailed/radio.svg +0 -8
- package/src/assets/icons/detailed/redo.svg +0 -9
- package/src/assets/icons/detailed/relations.svg +0 -32
- package/src/assets/icons/detailed/reload.svg +0 -13
- package/src/assets/icons/detailed/remove-circle.svg +0 -10
- package/src/assets/icons/detailed/remove.svg +0 -5
- package/src/assets/icons/detailed/reorder.svg +0 -12
- package/src/assets/icons/detailed/repeat.svg +0 -12
- package/src/assets/icons/detailed/repository.svg +0 -18
- package/src/assets/icons/detailed/request-form.svg +0 -18
- package/src/assets/icons/detailed/resize-100%.svg +0 -15
- package/src/assets/icons/detailed/resize-height.svg +0 -12
- package/src/assets/icons/detailed/resize-width.svg +0 -12
- package/src/assets/icons/detailed/search.svg +0 -12
- package/src/assets/icons/detailed/sequential-prerequisites.svg +0 -20
- package/src/assets/icons/detailed/settings.svg +0 -14
- package/src/assets/icons/detailed/share.svg +0 -20
- package/src/assets/icons/detailed/sketch.svg +0 -12
- package/src/assets/icons/detailed/skills.svg +0 -20
- package/src/assets/icons/detailed/skip-back.svg +0 -12
- package/src/assets/icons/detailed/skip-forward.svg +0 -13
- package/src/assets/icons/detailed/sms.svg +0 -18
- package/src/assets/icons/detailed/sso-access.svg +0 -18
- package/src/assets/icons/detailed/star-active.svg +0 -6
- package/src/assets/icons/detailed/star.svg +0 -6
- package/src/assets/icons/detailed/success.svg +0 -10
- package/src/assets/icons/detailed/sun.svg +0 -24
- package/src/assets/icons/detailed/sunrise.svg +0 -18
- package/src/assets/icons/detailed/support.svg +0 -18
- package/src/assets/icons/detailed/survey.svg +0 -24
- package/src/assets/icons/detailed/table.svg +0 -11
- package/src/assets/icons/detailed/tematic-channels.svg +0 -12
- package/src/assets/icons/detailed/test.svg +0 -14
- package/src/assets/icons/detailed/text-body.svg +0 -8
- package/src/assets/icons/detailed/text-edit.svg +0 -11
- package/src/assets/icons/detailed/text-style.svg +0 -10
- package/src/assets/icons/detailed/time.svg +0 -10
- package/src/assets/icons/detailed/toilet-piper.svg +0 -15
- package/src/assets/icons/detailed/training-points.svg +0 -16
- package/src/assets/icons/detailed/trash.svg +0 -19
- package/src/assets/icons/detailed/underline.svg +0 -8
- package/src/assets/icons/detailed/undo.svg +0 -9
- package/src/assets/icons/detailed/unlock.svg +0 -13
- package/src/assets/icons/detailed/upload.svg +0 -10
- package/src/assets/icons/detailed/user-add.svg +0 -16
- package/src/assets/icons/detailed/user-badge.svg +0 -11
- package/src/assets/icons/detailed/user.svg +0 -8
- package/src/assets/icons/detailed/video-off.svg +0 -17
- package/src/assets/icons/detailed/video-on.svg +0 -16
- package/src/assets/icons/detailed/video-rec.svg +0 -19
- package/src/assets/icons/detailed/view-card.svg +0 -12
- package/src/assets/icons/detailed/view-list.svg +0 -20
- package/src/assets/icons/detailed/view.svg +0 -7
- package/src/assets/icons/detailed/voice-off.svg +0 -14
- package/src/assets/icons/detailed/voice-on.svg +0 -16
- package/src/assets/icons/detailed/volume-down.svg +0 -14
- package/src/assets/icons/detailed/volume-off.svg +0 -19
- package/src/assets/icons/detailed/volume-up.svg +0 -16
- package/src/assets/icons/detailed/warning.svg +0 -16
- package/src/assets/icons/detailed/webinar.svg +0 -57
- package/src/assets/icons/detailed/whiteboard.svg +0 -16
- package/src/assets/icons/detailed/wine.svg +0 -22
- package/src/assets/icons/detailed/zip.svg +0 -17
- package/src/assets/icons/detailed/zoom-in.svg +0 -18
- package/src/assets/icons/detailed/zoom-out.svg +0 -16
- package/src/assets/icons/detailed.json +0 -1
- package/src/assets/icons/normal/add-circle.svg +0 -12
- package/src/assets/icons/normal/add.svg +0 -4
- package/src/assets/icons/normal/align-center.svg +0 -11
- package/src/assets/icons/normal/align-justify.svg +0 -11
- package/src/assets/icons/normal/align-left.svg +0 -11
- package/src/assets/icons/normal/align-right.svg +0 -11
- package/src/assets/icons/normal/analysis-2.svg +0 -18
- package/src/assets/icons/normal/analysis-3.svg +0 -8
- package/src/assets/icons/normal/analysis.svg +0 -14
- package/src/assets/icons/normal/apple.svg +0 -16
- package/src/assets/icons/normal/arrow-down.svg +0 -8
- package/src/assets/icons/normal/arrow-left.svg +0 -8
- package/src/assets/icons/normal/arrow-right.svg +0 -8
- package/src/assets/icons/normal/arrow-up.svg +0 -8
- package/src/assets/icons/normal/attachment.svg +0 -6
- package/src/assets/icons/normal/back-to-front.svg +0 -15
- package/src/assets/icons/normal/bell-active.svg +0 -14
- package/src/assets/icons/normal/bell.svg +0 -14
- package/src/assets/icons/normal/bold.svg +0 -8
- package/src/assets/icons/normal/bookmark active.svg +0 -12
- package/src/assets/icons/normal/bookmark.svg +0 -10
- package/src/assets/icons/normal/building.svg +0 -21
- package/src/assets/icons/normal/bulleted-list.svg +0 -23
- package/src/assets/icons/normal/calendar.svg +0 -20
- package/src/assets/icons/normal/camera-off.svg +0 -17
- package/src/assets/icons/normal/camera-on.svg +0 -16
- package/src/assets/icons/normal/catalog.svg +0 -13
- package/src/assets/icons/normal/certificate.svg +0 -12
- package/src/assets/icons/normal/chat.svg +0 -6
- package/src/assets/icons/normal/check-badge.svg +0 -9
- package/src/assets/icons/normal/check-circle.svg +0 -10
- package/src/assets/icons/normal/check.svg +0 -4
- package/src/assets/icons/normal/checkbox.svg +0 -8
- package/src/assets/icons/normal/chevron-down-circle.svg +0 -10
- package/src/assets/icons/normal/chevron-down.svg +0 -6
- package/src/assets/icons/normal/chevron-left-circle.svg +0 -10
- package/src/assets/icons/normal/chevron-left.svg +0 -6
- package/src/assets/icons/normal/chevron-right-circle.svg +0 -10
- package/src/assets/icons/normal/chevron-right.svg +0 -7
- package/src/assets/icons/normal/chevron-up-circle.svg +0 -10
- package/src/assets/icons/normal/chevron-up.svg +0 -6
- package/src/assets/icons/normal/circle.svg +0 -8
- package/src/assets/icons/normal/classroom.svg +0 -36
- package/src/assets/icons/normal/clear-field.svg +0 -14
- package/src/assets/icons/normal/clear-style.svg +0 -18
- package/src/assets/icons/normal/close-circle.svg +0 -14
- package/src/assets/icons/normal/close-loader.svg +0 -6
- package/src/assets/icons/normal/close.svg +0 -8
- package/src/assets/icons/normal/coffee.svg +0 -26
- package/src/assets/icons/normal/color.svg +0 -18
- package/src/assets/icons/normal/contact-us.svg +0 -29
- package/src/assets/icons/normal/copy.svg +0 -10
- package/src/assets/icons/normal/courses.svg +0 -22
- package/src/assets/icons/normal/dashboard.svg +0 -18
- package/src/assets/icons/normal/download.svg +0 -10
- package/src/assets/icons/normal/drag.svg +0 -5
- package/src/assets/icons/normal/duplicate.svg +0 -22
- package/src/assets/icons/normal/edit.svg +0 -16
- package/src/assets/icons/normal/elearning.svg +0 -16
- package/src/assets/icons/normal/email.svg +0 -11
- package/src/assets/icons/normal/error-2.svg +0 -8
- package/src/assets/icons/normal/error.svg +0 -12
- package/src/assets/icons/normal/exercise.svg +0 -26
- package/src/assets/icons/normal/external-link.svg +0 -11
- package/src/assets/icons/normal/extract.svg +0 -14
- package/src/assets/icons/normal/eye-off.svg +0 -14
- package/src/assets/icons/normal/eye-on.svg +0 -16
- package/src/assets/icons/normal/fail.svg +0 -11
- package/src/assets/icons/normal/fast-back.svg +0 -19
- package/src/assets/icons/normal/fast-forward.svg +0 -17
- package/src/assets/icons/normal/file-add.svg +0 -16
- package/src/assets/icons/normal/file-duplicate.svg +0 -22
- package/src/assets/icons/normal/file-remove.svg +0 -14
- package/src/assets/icons/normal/file-required.svg +0 -24
- package/src/assets/icons/normal/file.svg +0 -13
- package/src/assets/icons/normal/filter-2.svg +0 -20
- package/src/assets/icons/normal/filter-active.svg +0 -12
- package/src/assets/icons/normal/filter.svg +0 -12
- package/src/assets/icons/normal/flag.svg +0 -10
- package/src/assets/icons/normal/folder.svg +0 -12
- package/src/assets/icons/normal/full-width.svg +0 -9
- package/src/assets/icons/normal/go-to-back.svg +0 -19
- package/src/assets/icons/normal/grid.svg +0 -20
- package/src/assets/icons/normal/group-add.svg +0 -18
- package/src/assets/icons/normal/group.svg +0 -14
- package/src/assets/icons/normal/heart-active.svg +0 -10
- package/src/assets/icons/normal/heart.svg +0 -10
- package/src/assets/icons/normal/highlighter.svg +0 -11
- package/src/assets/icons/normal/home.svg +0 -12
- package/src/assets/icons/normal/hourglass.svg +0 -8
- package/src/assets/icons/normal/image.svg +0 -15
- package/src/assets/icons/normal/info-badge.svg +0 -9
- package/src/assets/icons/normal/information.svg +0 -12
- package/src/assets/icons/normal/italic.svg +0 -10
- package/src/assets/icons/normal/key.svg +0 -8
- package/src/assets/icons/normal/language.svg +0 -14
- package/src/assets/icons/normal/learning-path.svg +0 -7
- package/src/assets/icons/normal/light-off.svg +0 -10
- package/src/assets/icons/normal/light-on.svg +0 -17
- package/src/assets/icons/normal/link.svg +0 -12
- package/src/assets/icons/normal/lock.svg +0 -12
- package/src/assets/icons/normal/login.svg +0 -10
- package/src/assets/icons/normal/logout.svg +0 -10
- package/src/assets/icons/normal/maximize.svg +0 -10
- package/src/assets/icons/normal/menu.svg +0 -8
- package/src/assets/icons/normal/merge.svg +0 -20
- package/src/assets/icons/normal/minimize.svg +0 -12
- package/src/assets/icons/normal/mixed-class.svg +0 -36
- package/src/assets/icons/normal/more-horizontal.svg +0 -7
- package/src/assets/icons/normal/more-vertical.svg +0 -7
- package/src/assets/icons/normal/news.svg +0 -9
- package/src/assets/icons/normal/no-prerequisites.svg +0 -12
- package/src/assets/icons/normal/notes.svg +0 -15
- package/src/assets/icons/normal/number-code.svg +0 -34
- package/src/assets/icons/normal/numbered-list.svg +0 -19
- package/src/assets/icons/normal/on-site.svg +0 -18
- package/src/assets/icons/normal/order-down.svg +0 -12
- package/src/assets/icons/normal/order-up.svg +0 -11
- package/src/assets/icons/normal/paste.svg +0 -14
- package/src/assets/icons/normal/pausa.svg +0 -7
- package/src/assets/icons/normal/pdf.svg +0 -12
- package/src/assets/icons/normal/phone.svg +0 -10
- package/src/assets/icons/normal/pin-map.svg +0 -10
- package/src/assets/icons/normal/pin.svg +0 -12
- package/src/assets/icons/normal/pizza.svg +0 -17
- package/src/assets/icons/normal/play.svg +0 -9
- package/src/assets/icons/normal/plug-in.svg +0 -10
- package/src/assets/icons/normal/pointer.svg +0 -12
- package/src/assets/icons/normal/printer.svg +0 -28
- package/src/assets/icons/normal/profile-add.svg +0 -28
- package/src/assets/icons/normal/profile.svg +0 -15
- package/src/assets/icons/normal/push pin on.svg +0 -9
- package/src/assets/icons/normal/push-pin-off.svg +0 -23
- package/src/assets/icons/normal/qrcode.svg +0 -26
- package/src/assets/icons/normal/question-badge.svg +0 -10
- package/src/assets/icons/normal/radio.svg +0 -8
- package/src/assets/icons/normal/redo.svg +0 -9
- package/src/assets/icons/normal/relations.svg +0 -28
- package/src/assets/icons/normal/reload.svg +0 -12
- package/src/assets/icons/normal/remove-circle.svg +0 -10
- package/src/assets/icons/normal/remove.svg +0 -4
- package/src/assets/icons/normal/reorder.svg +0 -12
- package/src/assets/icons/normal/repeat.svg +0 -12
- package/src/assets/icons/normal/repository.svg +0 -18
- package/src/assets/icons/normal/request-form.svg +0 -18
- package/src/assets/icons/normal/resize-100%.svg +0 -17
- package/src/assets/icons/normal/resize-height.svg +0 -12
- package/src/assets/icons/normal/resize-width.svg +0 -12
- package/src/assets/icons/normal/search.svg +0 -10
- package/src/assets/icons/normal/sequential-prerequisites.svg +0 -20
- package/src/assets/icons/normal/settings.svg +0 -14
- package/src/assets/icons/normal/share.svg +0 -20
- package/src/assets/icons/normal/sketch.svg +0 -11
- package/src/assets/icons/normal/skills.svg +0 -16
- package/src/assets/icons/normal/skip-back.svg +0 -12
- package/src/assets/icons/normal/skip-forward.svg +0 -13
- package/src/assets/icons/normal/sms.svg +0 -20
- package/src/assets/icons/normal/sso-access.svg +0 -20
- package/src/assets/icons/normal/star-active.svg +0 -4
- package/src/assets/icons/normal/star.svg +0 -4
- package/src/assets/icons/normal/success.svg +0 -10
- package/src/assets/icons/normal/sun.svg +0 -24
- package/src/assets/icons/normal/sunrise.svg +0 -18
- package/src/assets/icons/normal/support.svg +0 -18
- package/src/assets/icons/normal/survey.svg +0 -24
- package/src/assets/icons/normal/table.svg +0 -11
- package/src/assets/icons/normal/tematic-channels.svg +0 -10
- package/src/assets/icons/normal/test.svg +0 -15
- package/src/assets/icons/normal/text-body.svg +0 -8
- package/src/assets/icons/normal/text-edit.svg +0 -11
- package/src/assets/icons/normal/text-style.svg +0 -10
- package/src/assets/icons/normal/time.svg +0 -10
- package/src/assets/icons/normal/toilet-paper.svg +0 -15
- package/src/assets/icons/normal/training-points.svg +0 -16
- package/src/assets/icons/normal/trash.svg +0 -19
- package/src/assets/icons/normal/underline.svg +0 -8
- package/src/assets/icons/normal/undo.svg +0 -9
- package/src/assets/icons/normal/unlock.svg +0 -13
- package/src/assets/icons/normal/upload.svg +0 -10
- package/src/assets/icons/normal/user-add.svg +0 -14
- package/src/assets/icons/normal/user-badge.svg +0 -11
- package/src/assets/icons/normal/user.svg +0 -5
- package/src/assets/icons/normal/video-off.svg +0 -11
- package/src/assets/icons/normal/video-on.svg +0 -20
- package/src/assets/icons/normal/video-rec.svg +0 -23
- package/src/assets/icons/normal/view-card.svg +0 -10
- package/src/assets/icons/normal/view-list.svg +0 -18
- package/src/assets/icons/normal/view.svg +0 -8
- package/src/assets/icons/normal/voice-off.svg +0 -18
- package/src/assets/icons/normal/voice-on.svg +0 -15
- package/src/assets/icons/normal/volume-down.svg +0 -14
- package/src/assets/icons/normal/volume-off.svg +0 -18
- package/src/assets/icons/normal/volume-up.svg +0 -16
- package/src/assets/icons/normal/warning.svg +0 -16
- package/src/assets/icons/normal/webinar.svg +0 -36
- package/src/assets/icons/normal/whiteboard.svg +0 -17
- package/src/assets/icons/normal/wine.svg +0 -22
- package/src/assets/icons/normal/zip.svg +0 -19
- package/src/assets/icons/normal/zoom-in.svg +0 -16
- package/src/assets/icons/normal/zoom-out.svg +0 -14
- package/src/assets/icons/normal.json +0 -1
- package/src/assets/icons/simple/add-circle.svg +0 -12
- package/src/assets/icons/simple/add.svg +0 -8
- package/src/assets/icons/simple/align-center.svg +0 -12
- package/src/assets/icons/simple/align-justify.svg +0 -12
- package/src/assets/icons/simple/align-left.svg +0 -12
- package/src/assets/icons/simple/align-right.svg +0 -12
- package/src/assets/icons/simple/analysis-2.svg +0 -21
- package/src/assets/icons/simple/analysis-3.svg +0 -8
- package/src/assets/icons/simple/analysis.svg +0 -16
- package/src/assets/icons/simple/apple.svg +0 -18
- package/src/assets/icons/simple/arrow-down.svg +0 -8
- package/src/assets/icons/simple/arrow-left.svg +0 -8
- package/src/assets/icons/simple/arrow-right.svg +0 -8
- package/src/assets/icons/simple/arrow-up.svg +0 -8
- package/src/assets/icons/simple/attachment.svg +0 -10
- package/src/assets/icons/simple/bck-to-front.svg +0 -19
- package/src/assets/icons/simple/bell-active.svg +0 -14
- package/src/assets/icons/simple/bell.svg +0 -14
- package/src/assets/icons/simple/bold.svg +0 -8
- package/src/assets/icons/simple/bookmark-active.svg +0 -12
- package/src/assets/icons/simple/bookmark.svg +0 -12
- package/src/assets/icons/simple/building.svg +0 -25
- package/src/assets/icons/simple/bulleted-list.svg +0 -22
- package/src/assets/icons/simple/calendar.svg +0 -22
- package/src/assets/icons/simple/camera-off.svg +0 -12
- package/src/assets/icons/simple/camera-on.svg +0 -16
- package/src/assets/icons/simple/catalog.svg +0 -14
- package/src/assets/icons/simple/certificate.svg +0 -15
- package/src/assets/icons/simple/chat.svg +0 -9
- package/src/assets/icons/simple/check-badge.svg +0 -9
- package/src/assets/icons/simple/check-circle.svg +0 -10
- package/src/assets/icons/simple/check.svg +0 -6
- package/src/assets/icons/simple/checkbox.svg +0 -6
- package/src/assets/icons/simple/chevron-down-circle.svg +0 -10
- package/src/assets/icons/simple/chevron-down.svg +0 -6
- package/src/assets/icons/simple/chevron-left-circle.svg +0 -10
- package/src/assets/icons/simple/chevron-left.svg +0 -6
- package/src/assets/icons/simple/chevron-right-circle.svg +0 -10
- package/src/assets/icons/simple/chevron-right.svg +0 -7
- package/src/assets/icons/simple/chevron-up-circle.svg +0 -10
- package/src/assets/icons/simple/chevron-up.svg +0 -6
- package/src/assets/icons/simple/circle.svg +0 -8
- package/src/assets/icons/simple/classroom.svg +0 -38
- package/src/assets/icons/simple/clear-field.svg +0 -11
- package/src/assets/icons/simple/clear-style.svg +0 -15
- package/src/assets/icons/simple/close-circle.svg +0 -14
- package/src/assets/icons/simple/close-loader.svg +0 -6
- package/src/assets/icons/simple/close.svg +0 -10
- package/src/assets/icons/simple/coffee.svg +0 -28
- package/src/assets/icons/simple/color.svg +0 -20
- package/src/assets/icons/simple/contact-us.svg +0 -26
- package/src/assets/icons/simple/copy.svg +0 -10
- package/src/assets/icons/simple/courses.svg +0 -21
- package/src/assets/icons/simple/dashboard.svg +0 -20
- package/src/assets/icons/simple/download.svg +0 -10
- package/src/assets/icons/simple/drag.svg +0 -10
- package/src/assets/icons/simple/duplicate.svg +0 -24
- package/src/assets/icons/simple/edit.svg +0 -17
- package/src/assets/icons/simple/elearning.svg +0 -17
- package/src/assets/icons/simple/email.svg +0 -11
- package/src/assets/icons/simple/error-2.svg +0 -8
- package/src/assets/icons/simple/error.svg +0 -12
- package/src/assets/icons/simple/exercise.svg +0 -30
- package/src/assets/icons/simple/external-link.svg +0 -13
- package/src/assets/icons/simple/extract.svg +0 -17
- package/src/assets/icons/simple/eye-off.svg +0 -13
- package/src/assets/icons/simple/eye-on.svg +0 -11
- package/src/assets/icons/simple/fail.svg +0 -11
- package/src/assets/icons/simple/fast-back.svg +0 -20
- package/src/assets/icons/simple/fast-forward.svg +0 -19
- package/src/assets/icons/simple/file-add.svg +0 -20
- package/src/assets/icons/simple/file-duplicate.svg +0 -22
- package/src/assets/icons/simple/file-remove.svg +0 -18
- package/src/assets/icons/simple/file-required.svg +0 -24
- package/src/assets/icons/simple/file.svg +0 -14
- package/src/assets/icons/simple/filter-2.svg +0 -24
- package/src/assets/icons/simple/filter-active.svg +0 -13
- package/src/assets/icons/simple/filter.svg +0 -12
- package/src/assets/icons/simple/flag.svg +0 -12
- package/src/assets/icons/simple/folder.svg +0 -14
- package/src/assets/icons/simple/full-width.svg +0 -11
- package/src/assets/icons/simple/go-to-back.svg +0 -18
- package/src/assets/icons/simple/grid.svg +0 -20
- package/src/assets/icons/simple/group-add.svg +0 -24
- package/src/assets/icons/simple/group.svg +0 -18
- package/src/assets/icons/simple/heart-active.svg +0 -12
- package/src/assets/icons/simple/heart.svg +0 -12
- package/src/assets/icons/simple/highlighter.svg +0 -12
- package/src/assets/icons/simple/home.svg +0 -13
- package/src/assets/icons/simple/hourglass.svg +0 -11
- package/src/assets/icons/simple/image.svg +0 -15
- package/src/assets/icons/simple/info-badge.svg +0 -9
- package/src/assets/icons/simple/information.svg +0 -12
- package/src/assets/icons/simple/italic.svg +0 -12
- package/src/assets/icons/simple/key.svg +0 -11
- package/src/assets/icons/simple/language.svg +0 -12
- package/src/assets/icons/simple/learning-path.svg +0 -9
- package/src/assets/icons/simple/light-off.svg +0 -7
- package/src/assets/icons/simple/light-on.svg +0 -18
- package/src/assets/icons/simple/link.svg +0 -14
- package/src/assets/icons/simple/lock.svg +0 -13
- package/src/assets/icons/simple/login.svg +0 -11
- package/src/assets/icons/simple/logout.svg +0 -11
- package/src/assets/icons/simple/maximaze.svg +0 -12
- package/src/assets/icons/simple/menu.svg +0 -10
- package/src/assets/icons/simple/merge.svg +0 -20
- package/src/assets/icons/simple/minimaze.svg +0 -12
- package/src/assets/icons/simple/mixed-class.svg +0 -40
- package/src/assets/icons/simple/more-horizontal.svg +0 -8
- package/src/assets/icons/simple/more-vertical.svg +0 -8
- package/src/assets/icons/simple/news.svg +0 -12
- package/src/assets/icons/simple/no-prerequisites.svg +0 -17
- package/src/assets/icons/simple/notes.svg +0 -14
- package/src/assets/icons/simple/number-code.svg +0 -29
- package/src/assets/icons/simple/numbered-list.svg +0 -18
- package/src/assets/icons/simple/on-site.svg +0 -18
- package/src/assets/icons/simple/order-down.svg +0 -12
- package/src/assets/icons/simple/order-up.svg +0 -12
- package/src/assets/icons/simple/paste.svg +0 -14
- package/src/assets/icons/simple/pausa.svg +0 -8
- package/src/assets/icons/simple/pdf.svg +0 -12
- package/src/assets/icons/simple/phone.svg +0 -10
- package/src/assets/icons/simple/pin-map.svg +0 -13
- package/src/assets/icons/simple/pin.svg +0 -14
- package/src/assets/icons/simple/pizza.svg +0 -17
- package/src/assets/icons/simple/play.svg +0 -10
- package/src/assets/icons/simple/plug-in.svg +0 -10
- package/src/assets/icons/simple/pointer.svg +0 -6
- package/src/assets/icons/simple/printer.svg +0 -28
- package/src/assets/icons/simple/profile-add.svg +0 -28
- package/src/assets/icons/simple/profile.svg +0 -13
- package/src/assets/icons/simple/push-pin-off.svg +0 -11
- package/src/assets/icons/simple/push-pin-on.svg +0 -12
- package/src/assets/icons/simple/qrcode.svg +0 -26
- package/src/assets/icons/simple/question-badge.svg +0 -10
- package/src/assets/icons/simple/radio.svg +0 -8
- package/src/assets/icons/simple/redo.svg +0 -9
- package/src/assets/icons/simple/relations.svg +0 -28
- package/src/assets/icons/simple/reload.svg +0 -12
- package/src/assets/icons/simple/remove-circle.svg +0 -10
- package/src/assets/icons/simple/remove.svg +0 -6
- package/src/assets/icons/simple/repeart.svg +0 -14
- package/src/assets/icons/simple/repository.svg +0 -18
- package/src/assets/icons/simple/request-form.svg +0 -20
- package/src/assets/icons/simple/resize-100%.svg +0 -15
- package/src/assets/icons/simple/resize-height.svg +0 -12
- package/src/assets/icons/simple/resize-width.svg +0 -14
- package/src/assets/icons/simple/search.svg +0 -10
- package/src/assets/icons/simple/sequential-prerequisites.svg +0 -22
- package/src/assets/icons/simple/settings.svg +0 -17
- package/src/assets/icons/simple/share.svg +0 -21
- package/src/assets/icons/simple/sketch.svg +0 -13
- package/src/assets/icons/simple/skills.svg +0 -17
- package/src/assets/icons/simple/skip-back.svg +0 -14
- package/src/assets/icons/simple/skip-forward.svg +0 -14
- package/src/assets/icons/simple/sms.svg +0 -22
- package/src/assets/icons/simple/sso-access.svg +0 -20
- package/src/assets/icons/simple/star-active.svg +0 -6
- package/src/assets/icons/simple/star.svg +0 -6
- package/src/assets/icons/simple/success.svg +0 -12
- package/src/assets/icons/simple/sun.svg +0 -22
- package/src/assets/icons/simple/sunrise.svg +0 -18
- package/src/assets/icons/simple/support.svg +0 -18
- package/src/assets/icons/simple/survey.svg +0 -32
- package/src/assets/icons/simple/table.svg +0 -11
- package/src/assets/icons/simple/tematic-channels.svg +0 -15
- package/src/assets/icons/simple/test.svg +0 -23
- package/src/assets/icons/simple/text-body.svg +0 -7
- package/src/assets/icons/simple/text-edit.svg +0 -11
- package/src/assets/icons/simple/text-style.svg +0 -10
- package/src/assets/icons/simple/time.svg +0 -10
- package/src/assets/icons/simple/toilet-paper.svg +0 -17
- package/src/assets/icons/simple/training-points.svg +0 -18
- package/src/assets/icons/simple/trash.svg +0 -20
- package/src/assets/icons/simple/underline.svg +0 -9
- package/src/assets/icons/simple/undo.svg +0 -9
- package/src/assets/icons/simple/unlock.svg +0 -15
- package/src/assets/icons/simple/upload.svg +0 -10
- package/src/assets/icons/simple/user-add.svg +0 -18
- package/src/assets/icons/simple/user-badge.svg +0 -12
- package/src/assets/icons/simple/user.svg +0 -8
- package/src/assets/icons/simple/video-off.svg +0 -17
- package/src/assets/icons/simple/video-on.svg +0 -17
- package/src/assets/icons/simple/video-rec.svg +0 -20
- package/src/assets/icons/simple/view-card.svg +0 -12
- package/src/assets/icons/simple/view-list.svg +0 -20
- package/src/assets/icons/simple/view.svg +0 -17
- package/src/assets/icons/simple/voice-off.svg +0 -16
- package/src/assets/icons/simple/voice-on.svg +0 -16
- package/src/assets/icons/simple/volume-down.svg +0 -15
- package/src/assets/icons/simple/volume-off.svg +0 -16
- package/src/assets/icons/simple/volume-up.svg +0 -16
- package/src/assets/icons/simple/warning.svg +0 -14
- package/src/assets/icons/simple/webinar.svg +0 -19
- package/src/assets/icons/simple/whiteboard.svg +0 -16
- package/src/assets/icons/simple/wine.svg +0 -24
- package/src/assets/icons/simple/zip.svg +0 -22
- package/src/assets/icons/simple/zoom-in.svg +0 -18
- package/src/assets/icons/simple/zoom-out.svg +0 -17
- package/src/assets/icons/simple.json +0 -1
- package/src/components/VvAccordion/VvAccordion.vue +0 -172
- package/src/components/VvAccordion/index.ts +0 -81
- package/src/components/VvAccordionGroup/VvAccordionGroup.vue +0 -233
- package/src/components/VvAccordionGroup/index.ts +0 -50
- package/src/components/VvAction/VvAction.vue +0 -160
- package/src/components/VvAction/index.ts +0 -5
- package/src/components/VvAlert/VvAlert.vue +0 -78
- package/src/components/VvAlert/index.ts +0 -164
- package/src/components/VvAlertGroup/VvAlertGroup.vue +0 -65
- package/src/components/VvAlertGroup/index.ts +0 -116
- package/src/components/VvAvatar/VvAvatar.vue +0 -27
- package/src/components/VvAvatar/index.ts +0 -9
- package/src/components/VvAvatarGroup/VvAvatarGroup.vue +0 -70
- package/src/components/VvAvatarGroup/index.ts +0 -28
- package/src/components/VvBadge/VvBadge.vue +0 -21
- package/src/components/VvBadge/index.ts +0 -6
- package/src/components/VvBreadcrumb/VvBreadcrumb.vue +0 -56
- package/src/components/VvBreadcrumb/index.ts +0 -7
- package/src/components/VvButton/VvButton.vue +0 -175
- package/src/components/VvButton/index.ts +0 -125
- package/src/components/VvButtonGroup/VvButtonGroup.vue +0 -82
- package/src/components/VvButtonGroup/index.ts +0 -29
- package/src/components/VvCard/VvCard.vue +0 -37
- package/src/components/VvCard/index.ts +0 -6
- package/src/components/VvCheckbox/VvCheckbox.vue +0 -200
- package/src/components/VvCheckbox/index.ts +0 -65
- package/src/components/VvCheckboxGroup/VvCheckboxGroup.vue +0 -102
- package/src/components/VvCheckboxGroup/index.ts +0 -5
- package/src/components/VvCombobox/VvCombobox.vue +0 -664
- package/src/components/VvCombobox/index.ts +0 -219
- package/src/components/VvDialog/VvDialog.vue +0 -154
- package/src/components/VvDialog/index.ts +0 -48
- package/src/components/VvDropdown/VvDropdown.vue +0 -496
- package/src/components/VvDropdown/VvDropdownAction.vue +0 -44
- package/src/components/VvDropdown/VvDropdownItem.vue +0 -36
- package/src/components/VvDropdown/VvDropdownOptgroup.vue +0 -19
- package/src/components/VvDropdown/VvDropdownOption.vue +0 -55
- package/src/components/VvDropdown/index.ts +0 -66
- package/src/components/VvIcon/README.md +0 -64
- package/src/components/VvIcon/VvIcon.vue +0 -140
- package/src/components/VvIcon/index.ts +0 -90
- package/src/components/VvInputFile/VvInputFile.vue +0 -418
- package/src/components/VvInputFile/index.ts +0 -146
- package/src/components/VvInputText/VvInputClearAction.ts +0 -56
- package/src/components/VvInputText/VvInputPasswordAction.ts +0 -73
- package/src/components/VvInputText/VvInputStepAction.ts +0 -49
- package/src/components/VvInputText/VvInputText.vue +0 -724
- package/src/components/VvInputText/VvInputTextActions.ts +0 -98
- package/src/components/VvInputText/index.ts +0 -215
- package/src/components/VvNav/VvNav.vue +0 -48
- package/src/components/VvNav/VvNavItem.vue +0 -18
- package/src/components/VvNav/VvNavSeparator.vue +0 -11
- package/src/components/VvNav/index.ts +0 -8
- package/src/components/VvProgress/VvProgress.vue +0 -34
- package/src/components/VvProgress/index.ts +0 -32
- package/src/components/VvRadio/VvRadio.vue +0 -127
- package/src/components/VvRadio/index.ts +0 -46
- package/src/components/VvRadioGroup/VvRadioGroup.vue +0 -106
- package/src/components/VvRadioGroup/index.ts +0 -5
- package/src/components/VvSelect/VvSelect.vue +0 -269
- package/src/components/VvSelect/index.ts +0 -94
- package/src/components/VvTab/VvTab.vue +0 -87
- package/src/components/VvTab/index.ts +0 -19
- package/src/components/VvTextarea/VvTextarea.vue +0 -328
- package/src/components/VvTextarea/index.ts +0 -82
- package/src/components/VvTooltip/VvTooltip.vue +0 -29
- package/src/components/VvTooltip/index.ts +0 -18
- package/src/components/common/HintSlot.ts +0 -174
- package/src/components/index.ts +0 -34
- package/src/composables/alert/useAlerInject.ts +0 -8
- package/src/composables/alert/useAlert.ts +0 -106
- package/src/composables/alert/useAlertProvide.ts +0 -23
- package/src/composables/dropdown/useDropdownContextmenu.ts +0 -23
- package/src/composables/dropdown/useDropdownInject.ts +0 -26
- package/src/composables/dropdown/useDropdownProvide.ts +0 -96
- package/src/composables/dropdown/useDropdownVirtualElement.ts +0 -54
- package/src/composables/group/useGroupStateInject.ts +0 -55
- package/src/composables/group/useGroupStateProvide.ts +0 -14
- package/src/composables/index.ts +0 -4
- package/src/composables/useBlurhash.ts +0 -68
- package/src/composables/useComponentFocus.ts +0 -16
- package/src/composables/useComponentIcon.ts +0 -42
- package/src/composables/useDebouncedInput.ts +0 -32
- package/src/composables/useDefaults.ts +0 -90
- package/src/composables/useModifiers.ts +0 -36
- package/src/composables/useOptions.ts +0 -56
- package/src/composables/usePersistence.ts +0 -77
- package/src/composables/useTextCount.ts +0 -57
- package/src/composables/useUniqueId.ts +0 -6
- package/src/composables/useVolver.ts +0 -5
- package/src/constants.ts +0 -153
- package/src/directives/index.ts +0 -4
- package/src/directives/v-contextmenu.ts +0 -32
- package/src/directives/v-tooltip.ts +0 -25
- package/src/icons.ts +0 -7
- package/src/index.ts +0 -14
- package/src/props/index.ts +0 -564
- package/src/resolvers/unplugin.ts +0 -179
- package/src/shims.d.ts +0 -12
- package/src/stories/Accordion/Accordion.settings.ts +0 -58
- package/src/stories/Accordion/Accordion.stories.ts +0 -45
- package/src/stories/Accordion/Accordion.test.ts +0 -69
- package/src/stories/Accordion/AccordionSlots.stories.ts +0 -29
- package/src/stories/AccordionGroup/AccordionGroup.settings.ts +0 -80
- package/src/stories/AccordionGroup/AccordionGroup.stories.ts +0 -64
- package/src/stories/AccordionGroup/AccordionGroup.test.ts +0 -60
- package/src/stories/AccordionGroup/AccordionGroupSlots.stories.ts +0 -54
- package/src/stories/Alert/Alert.settings.ts +0 -123
- package/src/stories/Alert/Alert.stories.ts +0 -60
- package/src/stories/Alert/Alert.test.ts +0 -97
- package/src/stories/Alert/AlertModifiers.stories.ts +0 -78
- package/src/stories/Alert/AlertSlots.stories.ts +0 -75
- package/src/stories/AlertGroup/AlertGroup.settings.ts +0 -112
- package/src/stories/AlertGroup/AlertGroup.stories.ts +0 -50
- package/src/stories/AlertGroup/AlertGroup.test.ts +0 -87
- package/src/stories/AlertGroup/AlertGroupPosition.stories.ts +0 -104
- package/src/stories/AlertGroup/AlertGroupSlots.stories.ts +0 -68
- package/src/stories/AlertGroup/AlertGroupWithComposable.stories.ts +0 -119
- package/src/stories/Avatar/Avatar.settings.ts +0 -37
- package/src/stories/Avatar/Avatar.stories.ts +0 -42
- package/src/stories/Avatar/Avatar.test.ts +0 -32
- package/src/stories/Avatar/AvatarBadge.stories.ts +0 -36
- package/src/stories/Avatar/AvatarModifiers.stories.ts +0 -100
- package/src/stories/Avatar/AvatarSlots.stories.ts +0 -34
- package/src/stories/AvatarGroup/AvatarGroup.settings.ts +0 -61
- package/src/stories/AvatarGroup/AvatarGroup.stories.ts +0 -35
- package/src/stories/AvatarGroup/AvatarGroup.test.ts +0 -34
- package/src/stories/AvatarGroup/AvatarGroupModifiers.stories.ts +0 -31
- package/src/stories/AvatarGroup/AvatarGroupSlotDefault.stories.ts +0 -39
- package/src/stories/Badge/Badge.settings.ts +0 -27
- package/src/stories/Badge/Badge.stories.ts +0 -43
- package/src/stories/Badge/Badge.test.ts +0 -12
- package/src/stories/Badge/BadgeSlots.stories.ts +0 -23
- package/src/stories/Blurhash/BlurhashComposable.stories.ts +0 -116
- package/src/stories/Breadcrumb/Breadcrumb.settings.ts +0 -41
- package/src/stories/Breadcrumb/Breadcrumb.stories.ts +0 -41
- package/src/stories/Breadcrumb/Breadcrumb.test.ts +0 -53
- package/src/stories/Breadcrumb/BreadcrumbSlots.stories.ts +0 -37
- package/src/stories/Button/Button.settings.ts +0 -155
- package/src/stories/Button/Button.stories.ts +0 -38
- package/src/stories/Button/Button.test.ts +0 -47
- package/src/stories/Button/ButtonIcon.stories.ts +0 -67
- package/src/stories/Button/ButtonLink.stories.ts +0 -40
- package/src/stories/Button/ButtonLoading.stories.ts +0 -41
- package/src/stories/Button/ButtonModifiers.stories.ts +0 -148
- package/src/stories/Button/ButtonSlots.stories.ts +0 -87
- package/src/stories/Button/ButtonState.stories.ts +0 -42
- package/src/stories/Button/ButtonToggle.stories.ts +0 -52
- package/src/stories/ButtonGroup/ButtonGroup.settings.ts +0 -41
- package/src/stories/ButtonGroup/ButtonGroup.stories.ts +0 -39
- package/src/stories/ButtonGroup/ButtonGroup.test.ts +0 -32
- package/src/stories/ButtonGroup/ButtonGroupModifiers.stories.ts +0 -39
- package/src/stories/ButtonGroup/ButtonGroupSlots.stories.ts +0 -38
- package/src/stories/ButtonGroup/ButtonGroupToggle.stories.ts +0 -41
- package/src/stories/Card/Card.settings.ts +0 -56
- package/src/stories/Card/Card.stories.ts +0 -46
- package/src/stories/Card/Card.test.ts +0 -21
- package/src/stories/Card/CardSlots.stories.ts +0 -81
- package/src/stories/Checkbox/Checkbox.settings.ts +0 -42
- package/src/stories/Checkbox/Checkbox.stories.ts +0 -97
- package/src/stories/Checkbox/Checkbox.test.ts +0 -78
- package/src/stories/Checkbox/CheckboxBinary.stories.ts +0 -33
- package/src/stories/Checkbox/CheckboxSlots.stories.ts +0 -31
- package/src/stories/CheckboxGroup/CheckboxGroup.settings.ts +0 -15
- package/src/stories/CheckboxGroup/CheckboxGroup.stories.ts +0 -87
- package/src/stories/CheckboxGroup/CheckboxGroup.test.ts +0 -79
- package/src/stories/CheckboxGroup/CheckboxGroupOptions.stories.ts +0 -53
- package/src/stories/CheckboxGroup/CheckboxGroupSlots.stories.ts +0 -47
- package/src/stories/Combobox/Combobox.settings.ts +0 -418
- package/src/stories/Combobox/Combobox.stories.ts +0 -185
- package/src/stories/Combobox/Combobox.test.ts +0 -110
- package/src/stories/Combobox/ComboboxIconPosition.stories.ts +0 -44
- package/src/stories/Combobox/ComboboxMultiple.stories.ts +0 -51
- package/src/stories/Combobox/ComboboxOptions.stories.ts +0 -111
- package/src/stories/Combobox/ComboboxSlots.stories.ts +0 -105
- package/src/stories/Dialog/Dialog.settings.ts +0 -54
- package/src/stories/Dialog/Dialog.stories.ts +0 -51
- package/src/stories/Dialog/Dialog.test.ts +0 -64
- package/src/stories/Dialog/DialogModifiers.stories.ts +0 -42
- package/src/stories/Dialog/DialogSlots.stories.ts +0 -39
- package/src/stories/Dropdown/Dropdown.settings.ts +0 -70
- package/src/stories/Dropdown/Dropdown.stories.ts +0 -107
- package/src/stories/Dropdown/Dropdown.test.ts +0 -17
- package/src/stories/Dropdown/DropdownContextmenuDirective.stories.ts +0 -48
- package/src/stories/Dropdown/DropdownMultilevel.stories.ts +0 -61
- package/src/stories/Dropdown/DropdownSlots.stories.ts +0 -95
- package/src/stories/Icon/Icon.settings.ts +0 -73
- package/src/stories/Icon/Icon.stories.ts +0 -47
- package/src/stories/Icon/IconsCollection.stories.ts +0 -53
- package/src/stories/InputFile/InputFile.settings.ts +0 -37
- package/src/stories/InputFile/InputFile.stories.ts +0 -97
- package/src/stories/InputFile/InputFileDropArea.stories.ts +0 -56
- package/src/stories/InputFile/InputFileIconPosition.stories.ts +0 -43
- package/src/stories/InputFile/InputFileSlots.stories.ts +0 -33
- package/src/stories/InputText/InputText.settings.ts +0 -261
- package/src/stories/InputText/InputText.stories.ts +0 -149
- package/src/stories/InputText/InputText.test.ts +0 -185
- package/src/stories/InputText/InputTextIconPosition.stories.ts +0 -43
- package/src/stories/InputText/InputTextIso.stories.ts +0 -69
- package/src/stories/InputText/InputTextLength.stories.ts +0 -58
- package/src/stories/InputText/InputTextMask.stories.ts +0 -122
- package/src/stories/InputText/InputTextMinMax.stories.ts +0 -51
- package/src/stories/InputText/InputTextSlots.stories.ts +0 -39
- package/src/stories/InputText/InputTextType.stories.ts +0 -119
- package/src/stories/Nav/Nav.settings.ts +0 -35
- package/src/stories/Nav/Nav.stories.ts +0 -33
- package/src/stories/Nav/Nav.test.ts +0 -19
- package/src/stories/Nav/NavModifiers.stories.ts +0 -47
- package/src/stories/Progress/Progress.settings.ts +0 -31
- package/src/stories/Progress/Progress.stories.ts +0 -41
- package/src/stories/Progress/Progress.test.ts +0 -9
- package/src/stories/Radio/Radio.settings.ts +0 -15
- package/src/stories/Radio/Radio.stories.ts +0 -81
- package/src/stories/Radio/Radio.test.ts +0 -67
- package/src/stories/Radio/RadioSlots.stories.ts +0 -31
- package/src/stories/RadioGroup/RadioGroup.settings.ts +0 -15
- package/src/stories/RadioGroup/RadioGroup.stories.ts +0 -87
- package/src/stories/RadioGroup/RadioGroup.test.ts +0 -79
- package/src/stories/RadioGroup/RadioGroupOptions.stories.ts +0 -53
- package/src/stories/RadioGroup/RadioGroupSlots.stories.ts +0 -47
- package/src/stories/Select/Select.settings.ts +0 -81
- package/src/stories/Select/Select.stories.ts +0 -122
- package/src/stories/Select/Select.test.ts +0 -82
- package/src/stories/Select/SelectIconPosition.stories.ts +0 -44
- package/src/stories/Select/SelectOptions.stories.ts +0 -77
- package/src/stories/Select/SelectSlots.stories.ts +0 -40
- package/src/stories/Tab/Tab.settings.ts +0 -41
- package/src/stories/Tab/Tab.stories.ts +0 -70
- package/src/stories/Tab/Tab.test.ts +0 -27
- package/src/stories/Textarea/Textarea.settings.ts +0 -90
- package/src/stories/Textarea/Textarea.stories.ts +0 -107
- package/src/stories/Textarea/Textarea.test.ts +0 -87
- package/src/stories/Textarea/TextareaLength.stories.ts +0 -58
- package/src/stories/Textarea/TextareaSlots.stories.ts +0 -39
- package/src/stories/Textarea/TextareatIconPosition.stories.ts +0 -43
- package/src/stories/Tooltip/Tooltip.settings.ts +0 -24
- package/src/stories/Tooltip/Tooltip.stories.ts +0 -40
- package/src/stories/Tooltip/Tooltip.test.ts +0 -59
- package/src/stories/Tooltip/TooltipDirective.stories.ts +0 -68
- package/src/stories/argTypes.ts +0 -563
- package/src/test/expect.ts +0 -83
- package/src/test/options.ts +0 -18
- package/src/test/sleep.ts +0 -3
- package/src/test/types.d.ts +0 -17
- package/src/types/alert.ts +0 -24
- package/src/types/blurhash.ts +0 -21
- package/src/types/floating-ui.ts +0 -7
- package/src/types/generic.ts +0 -5
- package/src/types/group.ts +0 -52
- package/src/types/index.ts +0 -7
- package/src/types/input-file.ts +0 -10
- package/src/types/nav.ts +0 -18
- package/src/utils/DateUtilities.ts +0 -115
- package/src/utils/DomUtilities.ts +0 -15
- package/src/utils/ObjectUtilities.ts +0 -292
- package/src/workers/blurhash.ts +0 -9
- /package/dist/{src/Volver.d.ts → Volver.d.ts} +0 -0
- /package/dist/{src/components → components}/VvAccordion/VvAccordion.vue.d.ts +0 -0
- /package/dist/{src/components → components}/VvAccordion/index.d.ts +0 -0
- /package/dist/{src/components → components}/VvAccordionGroup/VvAccordionGroup.vue.d.ts +0 -0
- /package/dist/{src/components → components}/VvAccordionGroup/index.d.ts +0 -0
- /package/dist/{src/components → components}/VvAction/VvAction.vue.d.ts +0 -0
- /package/dist/{src/components → components}/VvAction/index.d.ts +0 -0
- /package/dist/{src/components → components}/VvAlert/VvAlert.vue.d.ts +0 -0
- /package/dist/{src/components → components}/VvAlert/index.d.ts +0 -0
- /package/dist/{src/components → components}/VvAlertGroup/VvAlertGroup.vue.d.ts +0 -0
- /package/dist/{src/components → components}/VvAlertGroup/index.d.ts +0 -0
- /package/dist/{src/components → components}/VvAvatar/VvAvatar.vue.d.ts +0 -0
- /package/dist/{src/components → components}/VvAvatar/index.d.ts +0 -0
- /package/dist/{src/components → components}/VvAvatarGroup/VvAvatarGroup.vue.d.ts +0 -0
- /package/dist/{src/components → components}/VvAvatarGroup/index.d.ts +0 -0
- /package/dist/{src/components → components}/VvBadge/VvBadge.vue.d.ts +0 -0
- /package/dist/{src/components → components}/VvBadge/index.d.ts +0 -0
- /package/dist/{src/components → components}/VvBreadcrumb/VvBreadcrumb.vue.d.ts +0 -0
- /package/dist/{src/components → components}/VvBreadcrumb/index.d.ts +0 -0
- /package/dist/{src/components → components}/VvButton/VvButton.vue.d.ts +0 -0
- /package/dist/{src/components → components}/VvButton/index.d.ts +0 -0
- /package/dist/{src/components → components}/VvButtonGroup/VvButtonGroup.vue.d.ts +0 -0
- /package/dist/{src/components → components}/VvButtonGroup/index.d.ts +0 -0
- /package/dist/{src/components → components}/VvCard/VvCard.vue.d.ts +0 -0
- /package/dist/{src/components → components}/VvCard/index.d.ts +0 -0
- /package/dist/{src/components → components}/VvCheckbox/VvCheckbox.vue.d.ts +0 -0
- /package/dist/{src/components → components}/VvCheckbox/index.d.ts +0 -0
- /package/dist/{src/components → components}/VvCheckboxGroup/VvCheckboxGroup.vue.d.ts +0 -0
- /package/dist/{src/components → components}/VvCheckboxGroup/index.d.ts +0 -0
- /package/dist/{src/components → components}/VvCombobox/VvCombobox.vue.d.ts +0 -0
- /package/dist/{src/components → components}/VvCombobox/index.d.ts +0 -0
- /package/dist/{src/components → components}/VvDialog/VvDialog.vue.d.ts +0 -0
- /package/dist/{src/components → components}/VvDialog/index.d.ts +0 -0
- /package/dist/{src/components → components}/VvDropdown/VvDropdown.vue.d.ts +0 -0
- /package/dist/{src/components → components}/VvDropdown/VvDropdownAction.vue.d.ts +0 -0
- /package/dist/{src/components → components}/VvDropdown/VvDropdownItem.vue.d.ts +0 -0
- /package/dist/{src/components → components}/VvDropdown/VvDropdownOptgroup.vue.d.ts +0 -0
- /package/dist/{src/components → components}/VvDropdown/VvDropdownOption.vue.d.ts +0 -0
- /package/dist/{src/components → components}/VvDropdown/index.d.ts +0 -0
- /package/dist/{src/components → components}/VvIcon/VvIcon.vue.d.ts +0 -0
- /package/dist/{src/components → components}/VvIcon/index.d.ts +0 -0
- /package/dist/{src/components → components}/VvInputFile/VvInputFile.vue.d.ts +0 -0
- /package/dist/{src/components → components}/VvInputFile/index.d.ts +0 -0
- /package/dist/{src/components → components}/VvInputText/VvInputClearAction.d.ts +0 -0
- /package/dist/{src/components → components}/VvInputText/VvInputPasswordAction.d.ts +0 -0
- /package/dist/{src/components → components}/VvInputText/VvInputStepAction.d.ts +0 -0
- /package/dist/{src/components → components}/VvInputText/VvInputText.vue.d.ts +0 -0
- /package/dist/{src/components → components}/VvInputText/VvInputTextActions.d.ts +0 -0
- /package/dist/{src/components → components}/VvInputText/index.d.ts +0 -0
- /package/dist/{src/components → components}/VvNav/VvNav.vue.d.ts +0 -0
- /package/dist/{src/components → components}/VvNav/VvNavItem.vue.d.ts +0 -0
- /package/dist/{src/components → components}/VvNav/VvNavSeparator.vue.d.ts +0 -0
- /package/dist/{src/components → components}/VvNav/index.d.ts +0 -0
- /package/dist/{src/components → components}/VvProgress/VvProgress.vue.d.ts +0 -0
- /package/dist/{src/components → components}/VvProgress/index.d.ts +0 -0
- /package/dist/{src/components → components}/VvRadio/VvRadio.vue.d.ts +0 -0
- /package/dist/{src/components → components}/VvRadio/index.d.ts +0 -0
- /package/dist/{src/components → components}/VvRadioGroup/VvRadioGroup.vue.d.ts +0 -0
- /package/dist/{src/components → components}/VvRadioGroup/index.d.ts +0 -0
- /package/dist/{src/components → components}/VvSelect/VvSelect.vue.d.ts +0 -0
- /package/dist/{src/components → components}/VvSelect/index.d.ts +0 -0
- /package/dist/{src/components → components}/VvTab/VvTab.vue.d.ts +0 -0
- /package/dist/{src/components → components}/VvTab/index.d.ts +0 -0
- /package/dist/{src/components → components}/VvTextarea/VvTextarea.vue.d.ts +0 -0
- /package/dist/{src/components → components}/VvTextarea/index.d.ts +0 -0
- /package/dist/{src/components → components}/VvTooltip/VvTooltip.vue.d.ts +0 -0
- /package/dist/{src/components → components}/VvTooltip/index.d.ts +0 -0
- /package/dist/{src/components → components}/common/HintSlot.d.ts +0 -0
- /package/dist/{src/components → components}/index.d.ts +0 -0
- /package/dist/{src/composables → composables}/alert/useAlerInject.d.ts +0 -0
- /package/dist/{src/composables → composables}/alert/useAlert.d.ts +0 -0
- /package/dist/{src/composables → composables}/alert/useAlertProvide.d.ts +0 -0
- /package/dist/{src/composables → composables}/dropdown/useDropdownContextmenu.d.ts +0 -0
- /package/dist/{src/composables → composables}/dropdown/useDropdownInject.d.ts +0 -0
- /package/dist/{src/composables → composables}/dropdown/useDropdownProvide.d.ts +0 -0
- /package/dist/{src/composables → composables}/dropdown/useDropdownVirtualElement.d.ts +0 -0
- /package/dist/{src/composables → composables}/group/useGroupStateInject.d.ts +0 -0
- /package/dist/{src/composables → composables}/group/useGroupStateProvide.d.ts +0 -0
- /package/dist/{src/composables → composables}/index.d.ts +0 -0
- /package/dist/{src/composables → composables}/useBlurhash.d.ts +0 -0
- /package/dist/{src/composables → composables}/useComponentFocus.d.ts +0 -0
- /package/dist/{src/composables → composables}/useComponentIcon.d.ts +0 -0
- /package/dist/{src/composables → composables}/useDebouncedInput.d.ts +0 -0
- /package/dist/{src/composables → composables}/useDefaults.d.ts +0 -0
- /package/dist/{src/composables → composables}/useModifiers.d.ts +0 -0
- /package/dist/{src/composables → composables}/useOptions.d.ts +0 -0
- /package/dist/{src/composables → composables}/usePersistence.d.ts +0 -0
- /package/dist/{src/composables → composables}/useTextCount.d.ts +0 -0
- /package/dist/{src/composables → composables}/useUniqueId.d.ts +0 -0
- /package/dist/{src/composables → composables}/useVolver.d.ts +0 -0
- /package/dist/{src/constants.d.ts → constants.d.ts} +0 -0
- /package/dist/{src/directives → directives}/index.d.ts +0 -0
- /package/dist/{src/directives → directives}/v-contextmenu.d.ts +0 -0
- /package/dist/{src/directives → directives}/v-tooltip.d.ts +0 -0
- /package/dist/{src/icons.d.ts → icons.d.ts} +0 -0
- /package/dist/{src/index.d.ts → index.d.ts} +0 -0
- /package/dist/{src/props → props}/index.d.ts +0 -0
- /package/dist/{src/resolvers → resolvers}/unplugin.d.ts +0 -0
- /package/dist/{src/stories → stories}/Accordion/Accordion.settings.d.ts +0 -0
- /package/dist/{src/stories → stories}/Accordion/Accordion.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/Accordion/Accordion.test.d.ts +0 -0
- /package/dist/{src/stories → stories}/Accordion/AccordionSlots.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/AccordionGroup/AccordionGroup.settings.d.ts +0 -0
- /package/dist/{src/stories → stories}/AccordionGroup/AccordionGroup.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/AccordionGroup/AccordionGroup.test.d.ts +0 -0
- /package/dist/{src/stories → stories}/AccordionGroup/AccordionGroupSlots.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/Alert/Alert.settings.d.ts +0 -0
- /package/dist/{src/stories → stories}/Alert/Alert.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/Alert/Alert.test.d.ts +0 -0
- /package/dist/{src/stories → stories}/Alert/AlertModifiers.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/Alert/AlertSlots.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/AlertGroup/AlertGroup.settings.d.ts +0 -0
- /package/dist/{src/stories → stories}/AlertGroup/AlertGroup.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/AlertGroup/AlertGroup.test.d.ts +0 -0
- /package/dist/{src/stories → stories}/AlertGroup/AlertGroupPosition.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/AlertGroup/AlertGroupSlots.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/AlertGroup/AlertGroupWithComposable.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/Avatar/Avatar.settings.d.ts +0 -0
- /package/dist/{src/stories → stories}/Avatar/Avatar.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/Avatar/Avatar.test.d.ts +0 -0
- /package/dist/{src/stories → stories}/Avatar/AvatarBadge.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/Avatar/AvatarModifiers.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/Avatar/AvatarSlots.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/AvatarGroup/AvatarGroup.settings.d.ts +0 -0
- /package/dist/{src/stories → stories}/AvatarGroup/AvatarGroup.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/AvatarGroup/AvatarGroup.test.d.ts +0 -0
- /package/dist/{src/stories → stories}/AvatarGroup/AvatarGroupModifiers.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/AvatarGroup/AvatarGroupSlotDefault.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/Badge/Badge.settings.d.ts +0 -0
- /package/dist/{src/stories → stories}/Badge/Badge.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/Badge/Badge.test.d.ts +0 -0
- /package/dist/{src/stories → stories}/Badge/BadgeSlots.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/Blurhash/BlurhashComposable.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/Breadcrumb/Breadcrumb.settings.d.ts +0 -0
- /package/dist/{src/stories → stories}/Breadcrumb/Breadcrumb.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/Breadcrumb/Breadcrumb.test.d.ts +0 -0
- /package/dist/{src/stories → stories}/Breadcrumb/BreadcrumbSlots.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/Button/Button.settings.d.ts +0 -0
- /package/dist/{src/stories → stories}/Button/Button.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/Button/Button.test.d.ts +0 -0
- /package/dist/{src/stories → stories}/Button/ButtonIcon.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/Button/ButtonLink.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/Button/ButtonLoading.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/Button/ButtonModifiers.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/Button/ButtonSlots.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/Button/ButtonState.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/Button/ButtonToggle.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/ButtonGroup/ButtonGroup.settings.d.ts +0 -0
- /package/dist/{src/stories → stories}/ButtonGroup/ButtonGroup.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/ButtonGroup/ButtonGroup.test.d.ts +0 -0
- /package/dist/{src/stories → stories}/ButtonGroup/ButtonGroupModifiers.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/ButtonGroup/ButtonGroupSlots.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/ButtonGroup/ButtonGroupToggle.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/Card/Card.settings.d.ts +0 -0
- /package/dist/{src/stories → stories}/Card/Card.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/Card/Card.test.d.ts +0 -0
- /package/dist/{src/stories → stories}/Card/CardSlots.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/Checkbox/Checkbox.settings.d.ts +0 -0
- /package/dist/{src/stories → stories}/Checkbox/Checkbox.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/Checkbox/Checkbox.test.d.ts +0 -0
- /package/dist/{src/stories → stories}/Checkbox/CheckboxBinary.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/Checkbox/CheckboxSlots.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/CheckboxGroup/CheckboxGroup.settings.d.ts +0 -0
- /package/dist/{src/stories → stories}/CheckboxGroup/CheckboxGroup.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/CheckboxGroup/CheckboxGroup.test.d.ts +0 -0
- /package/dist/{src/stories → stories}/CheckboxGroup/CheckboxGroupOptions.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/CheckboxGroup/CheckboxGroupSlots.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/Combobox/Combobox.settings.d.ts +0 -0
- /package/dist/{src/stories → stories}/Combobox/Combobox.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/Combobox/Combobox.test.d.ts +0 -0
- /package/dist/{src/stories → stories}/Combobox/ComboboxIconPosition.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/Combobox/ComboboxMultiple.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/Combobox/ComboboxOptions.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/Combobox/ComboboxSlots.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/Dialog/Dialog.settings.d.ts +0 -0
- /package/dist/{src/stories → stories}/Dialog/Dialog.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/Dialog/Dialog.test.d.ts +0 -0
- /package/dist/{src/stories → stories}/Dialog/DialogModifiers.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/Dialog/DialogSlots.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/Dropdown/Dropdown.settings.d.ts +0 -0
- /package/dist/{src/stories → stories}/Dropdown/Dropdown.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/Dropdown/Dropdown.test.d.ts +0 -0
- /package/dist/{src/stories → stories}/Dropdown/DropdownContextmenuDirective.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/Dropdown/DropdownMultilevel.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/Dropdown/DropdownSlots.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/Icon/Icon.settings.d.ts +0 -0
- /package/dist/{src/stories → stories}/Icon/Icon.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/Icon/IconsCollection.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/InputFile/InputFile.settings.d.ts +0 -0
- /package/dist/{src/stories → stories}/InputFile/InputFile.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/InputFile/InputFileDropArea.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/InputFile/InputFileIconPosition.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/InputFile/InputFileSlots.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/InputText/InputText.settings.d.ts +0 -0
- /package/dist/{src/stories → stories}/InputText/InputText.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/InputText/InputText.test.d.ts +0 -0
- /package/dist/{src/stories → stories}/InputText/InputTextIconPosition.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/InputText/InputTextIso.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/InputText/InputTextLength.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/InputText/InputTextMask.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/InputText/InputTextMinMax.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/InputText/InputTextSlots.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/InputText/InputTextType.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/Nav/Nav.settings.d.ts +0 -0
- /package/dist/{src/stories → stories}/Nav/Nav.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/Nav/Nav.test.d.ts +0 -0
- /package/dist/{src/stories → stories}/Nav/NavModifiers.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/Progress/Progress.settings.d.ts +0 -0
- /package/dist/{src/stories → stories}/Progress/Progress.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/Progress/Progress.test.d.ts +0 -0
- /package/dist/{src/stories → stories}/Radio/Radio.settings.d.ts +0 -0
- /package/dist/{src/stories → stories}/Radio/Radio.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/Radio/Radio.test.d.ts +0 -0
- /package/dist/{src/stories → stories}/Radio/RadioSlots.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/RadioGroup/RadioGroup.settings.d.ts +0 -0
- /package/dist/{src/stories → stories}/RadioGroup/RadioGroup.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/RadioGroup/RadioGroup.test.d.ts +0 -0
- /package/dist/{src/stories → stories}/RadioGroup/RadioGroupOptions.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/RadioGroup/RadioGroupSlots.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/Select/Select.settings.d.ts +0 -0
- /package/dist/{src/stories → stories}/Select/Select.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/Select/Select.test.d.ts +0 -0
- /package/dist/{src/stories → stories}/Select/SelectIconPosition.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/Select/SelectOptions.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/Select/SelectSlots.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/Tab/Tab.settings.d.ts +0 -0
- /package/dist/{src/stories → stories}/Tab/Tab.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/Tab/Tab.test.d.ts +0 -0
- /package/dist/{src/stories → stories}/Textarea/Textarea.settings.d.ts +0 -0
- /package/dist/{src/stories → stories}/Textarea/Textarea.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/Textarea/Textarea.test.d.ts +0 -0
- /package/dist/{src/stories → stories}/Textarea/TextareaLength.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/Textarea/TextareaSlots.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/Textarea/TextareatIconPosition.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/Tooltip/Tooltip.settings.d.ts +0 -0
- /package/dist/{src/stories → stories}/Tooltip/Tooltip.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/Tooltip/Tooltip.test.d.ts +0 -0
- /package/dist/{src/stories → stories}/Tooltip/TooltipDirective.stories.d.ts +0 -0
- /package/dist/{src/stories → stories}/argTypes.d.ts +0 -0
- /package/dist/{src/test → test}/expect.d.ts +0 -0
- /package/dist/{src/test → test}/options.d.ts +0 -0
- /package/dist/{src/test → test}/sleep.d.ts +0 -0
- /package/dist/{src/types → types}/alert.d.ts +0 -0
- /package/dist/{src/types → types}/blurhash.d.ts +0 -0
- /package/dist/{src/types → types}/floating-ui.d.ts +0 -0
- /package/dist/{src/types → types}/generic.d.ts +0 -0
- /package/dist/{src/types → types}/group.d.ts +0 -0
- /package/dist/{src/types → types}/index.d.ts +0 -0
- /package/dist/{src/types → types}/input-file.d.ts +0 -0
- /package/dist/{src/types → types}/nav.d.ts +0 -0
- /package/dist/{src/utils → utils}/DateUtilities.d.ts +0 -0
- /package/dist/{src/utils → utils}/DomUtilities.d.ts +0 -0
- /package/dist/{src/utils → utils}/ObjectUtilities.d.ts +0 -0
- /package/dist/{src/workers → workers}/blurhash.d.ts +0 -0
|
@@ -1,724 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import type { MaskedNumberOptions } from 'imask'
|
|
3
|
-
import type { InputHTMLAttributes } from 'vue'
|
|
4
|
-
import { useIMask } from 'vue-imask'
|
|
5
|
-
import {
|
|
6
|
-
getDateFromInputValue,
|
|
7
|
-
getInputValueFromDate,
|
|
8
|
-
isDateIsoString,
|
|
9
|
-
} from '../../utils/DateUtilities'
|
|
10
|
-
import HintSlotFactory from '../common/HintSlot'
|
|
11
|
-
import VvDropdown from '../VvDropdown/VvDropdown.vue'
|
|
12
|
-
import VvDropdownOption from '../VvDropdown/VvDropdownOption.vue'
|
|
13
|
-
import { ACTION_ICONS } from '../VvIcon'
|
|
14
|
-
import VvIcon from '../VvIcon/VvIcon.vue'
|
|
15
|
-
import {
|
|
16
|
-
INPUT_TYPES,
|
|
17
|
-
VvInputTextEvents,
|
|
18
|
-
VvInputTextProps,
|
|
19
|
-
} from '../VvInputText'
|
|
20
|
-
import VvInputTextActionsFactory from '../VvInputText/VvInputTextActions'
|
|
21
|
-
|
|
22
|
-
// props, emit, slots and attrs
|
|
23
|
-
const props = defineProps(VvInputTextProps)
|
|
24
|
-
|
|
25
|
-
const emit = defineEmits(VvInputTextEvents)
|
|
26
|
-
|
|
27
|
-
const slots = useSlots()
|
|
28
|
-
|
|
29
|
-
// props merged with volver defaults (now only for labels)
|
|
30
|
-
const propsDefaults = useDefaults<typeof VvInputTextProps>(
|
|
31
|
-
'VvInputText',
|
|
32
|
-
VvInputTextProps,
|
|
33
|
-
props,
|
|
34
|
-
)
|
|
35
|
-
|
|
36
|
-
// data
|
|
37
|
-
const {
|
|
38
|
-
count,
|
|
39
|
-
debounce,
|
|
40
|
-
icon,
|
|
41
|
-
iconPosition,
|
|
42
|
-
iconRemoveSuggestion,
|
|
43
|
-
id,
|
|
44
|
-
invalid,
|
|
45
|
-
label,
|
|
46
|
-
loading,
|
|
47
|
-
maxlength,
|
|
48
|
-
minlength,
|
|
49
|
-
modelValue,
|
|
50
|
-
step,
|
|
51
|
-
storageKey,
|
|
52
|
-
storageType,
|
|
53
|
-
type,
|
|
54
|
-
valid,
|
|
55
|
-
} = toRefs(props)
|
|
56
|
-
const hasId = useUniqueId(id)
|
|
57
|
-
const hasHintId = computed(() => `${hasId.value}-hint`)
|
|
58
|
-
// BUG: https://www.samanthaming.com/tidbits/88-css-placeholder-shown/
|
|
59
|
-
const inputTextPlaceholder = computed(() =>
|
|
60
|
-
props.floating && isEmpty(props.placeholder) ? ' ' : props.placeholder,
|
|
61
|
-
)
|
|
62
|
-
|
|
63
|
-
// debounce
|
|
64
|
-
const localModelValue = useDebouncedInput(
|
|
65
|
-
modelValue,
|
|
66
|
-
emit,
|
|
67
|
-
debounce?.value ?? 0,
|
|
68
|
-
)
|
|
69
|
-
|
|
70
|
-
// seconds
|
|
71
|
-
const hasSeconds = computed(() => {
|
|
72
|
-
const stepValue = typeof step.value === 'number' ? step.value : Number.parseInt(step.value)
|
|
73
|
-
if (Number.isNaN(stepValue)) {
|
|
74
|
-
return false
|
|
75
|
-
}
|
|
76
|
-
return stepValue % 60 !== 0
|
|
77
|
-
})
|
|
78
|
-
|
|
79
|
-
// mask
|
|
80
|
-
const NEGATIVE_ZERO_REGEX = /^-0?[.,]?[0*]?$/
|
|
81
|
-
const maskReady = ref(false)
|
|
82
|
-
const modelValueDate = ref<Date>()
|
|
83
|
-
const modelValueDateIsoString = ref<string>()
|
|
84
|
-
const { el, mask, typed, masked, unmasked } = useIMask(
|
|
85
|
-
computed(
|
|
86
|
-
() => {
|
|
87
|
-
if (!props.iMask) {
|
|
88
|
-
return {
|
|
89
|
-
mask: /./,
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
if (props.iMask.mask === Number) {
|
|
93
|
-
const toReturn = { ...props.iMask } as MaskedNumberOptions
|
|
94
|
-
if (props.min) {
|
|
95
|
-
toReturn.min = Number(props.min)
|
|
96
|
-
}
|
|
97
|
-
if (props.max) {
|
|
98
|
-
toReturn.max = Number(props.max)
|
|
99
|
-
}
|
|
100
|
-
return toReturn
|
|
101
|
-
}
|
|
102
|
-
return props.iMask
|
|
103
|
-
},
|
|
104
|
-
),
|
|
105
|
-
{
|
|
106
|
-
emit,
|
|
107
|
-
onAccept: () => {
|
|
108
|
-
if (!maskReady.value) {
|
|
109
|
-
return
|
|
110
|
-
}
|
|
111
|
-
emit('update:masked', masked.value)
|
|
112
|
-
if (type.value === INPUT_TYPES.NUMBER) {
|
|
113
|
-
if (/^-$|^$/.test(unmasked.value)) {
|
|
114
|
-
if (
|
|
115
|
-
localModelValue.value === null
|
|
116
|
-
|| localModelValue.value === undefined
|
|
117
|
-
) {
|
|
118
|
-
return
|
|
119
|
-
}
|
|
120
|
-
localModelValue.value = undefined
|
|
121
|
-
return
|
|
122
|
-
}
|
|
123
|
-
if (NEGATIVE_ZERO_REGEX.test(unmasked.value)) {
|
|
124
|
-
localModelValue.value = 0
|
|
125
|
-
return
|
|
126
|
-
}
|
|
127
|
-
if (typeof typed.value !== 'number') {
|
|
128
|
-
localModelValue.value = Number(typed.value)
|
|
129
|
-
return
|
|
130
|
-
}
|
|
131
|
-
localModelValue.value = typed.value
|
|
132
|
-
return
|
|
133
|
-
}
|
|
134
|
-
if (type.value === INPUT_TYPES.DATETIME_LOCAL
|
|
135
|
-
|| type.value === INPUT_TYPES.DATE
|
|
136
|
-
|| type.value === INPUT_TYPES.TIME
|
|
137
|
-
|| type.value === INPUT_TYPES.MONTH
|
|
138
|
-
) {
|
|
139
|
-
if (!typed.value) {
|
|
140
|
-
if (!localModelValue.value) {
|
|
141
|
-
return
|
|
142
|
-
}
|
|
143
|
-
if (modelValueDate.value) {
|
|
144
|
-
localModelValue.value = undefined
|
|
145
|
-
return
|
|
146
|
-
}
|
|
147
|
-
localModelValue.value = ''
|
|
148
|
-
return
|
|
149
|
-
}
|
|
150
|
-
if (!(typed.value instanceof Date) && !modelValueDate.value && !modelValueDateIsoString.value) {
|
|
151
|
-
localModelValue.value = typed.value
|
|
152
|
-
return
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
let date = typed.value
|
|
156
|
-
if (!(date instanceof Date)) {
|
|
157
|
-
date = getDateFromInputValue(typed.value, type.value)
|
|
158
|
-
}
|
|
159
|
-
if (modelValueDate.value || modelValueDateIsoString.value) {
|
|
160
|
-
const toReturn = new Date(modelValueDate.value || modelValueDateIsoString.value as string)
|
|
161
|
-
if (type.value === INPUT_TYPES.DATETIME_LOCAL
|
|
162
|
-
|| type.value === INPUT_TYPES.DATE
|
|
163
|
-
|| type.value === INPUT_TYPES.MONTH
|
|
164
|
-
) {
|
|
165
|
-
toReturn.setFullYear(date.getFullYear())
|
|
166
|
-
toReturn.setMonth(date.getMonth())
|
|
167
|
-
}
|
|
168
|
-
if (type.value === INPUT_TYPES.DATETIME_LOCAL
|
|
169
|
-
|| type.value === INPUT_TYPES.DATE
|
|
170
|
-
) {
|
|
171
|
-
toReturn.setDate(date.getDate())
|
|
172
|
-
}
|
|
173
|
-
if (type.value === INPUT_TYPES.DATETIME_LOCAL
|
|
174
|
-
|| type.value === INPUT_TYPES.TIME) {
|
|
175
|
-
toReturn.setHours(date.getHours())
|
|
176
|
-
toReturn.setMinutes(date.getMinutes())
|
|
177
|
-
toReturn.setSeconds(date.getSeconds())
|
|
178
|
-
}
|
|
179
|
-
if (modelValueDate.value instanceof Date) {
|
|
180
|
-
if (localModelValue.value?.getTime() === toReturn.getTime()) {
|
|
181
|
-
return
|
|
182
|
-
}
|
|
183
|
-
localModelValue.value = toReturn
|
|
184
|
-
return
|
|
185
|
-
}
|
|
186
|
-
localModelValue.value = toReturn.toISOString()
|
|
187
|
-
return
|
|
188
|
-
}
|
|
189
|
-
localModelValue.value = getInputValueFromDate(date, type.value, hasSeconds.value)
|
|
190
|
-
return
|
|
191
|
-
}
|
|
192
|
-
if (!localModelValue.value && !unmasked.value) {
|
|
193
|
-
return
|
|
194
|
-
}
|
|
195
|
-
localModelValue.value = unmasked.value
|
|
196
|
-
},
|
|
197
|
-
},
|
|
198
|
-
)
|
|
199
|
-
function updateMaskValue(newValue: string | number | Date | undefined | null) {
|
|
200
|
-
if (newValue === undefined || newValue === null) {
|
|
201
|
-
typed.value = ''
|
|
202
|
-
unmasked.value = ''
|
|
203
|
-
return
|
|
204
|
-
}
|
|
205
|
-
if (props.iMask?.mask === Date) {
|
|
206
|
-
typed.value = newValue instanceof Date ? newValue : new Date(newValue)
|
|
207
|
-
return
|
|
208
|
-
}
|
|
209
|
-
if (
|
|
210
|
-
type.value === INPUT_TYPES.NUMBER
|
|
211
|
-
&& NEGATIVE_ZERO_REGEX.test(unmasked.value)
|
|
212
|
-
&& newValue === 0
|
|
213
|
-
) {
|
|
214
|
-
return
|
|
215
|
-
}
|
|
216
|
-
if (type.value === INPUT_TYPES.DATE
|
|
217
|
-
|| type.value === INPUT_TYPES.MONTH
|
|
218
|
-
|| type.value === INPUT_TYPES.DATETIME_LOCAL
|
|
219
|
-
|| type.value === INPUT_TYPES.TIME) {
|
|
220
|
-
if (newValue instanceof Date || isDateIsoString(newValue)) {
|
|
221
|
-
if (newValue instanceof Date) {
|
|
222
|
-
modelValueDate.value = newValue
|
|
223
|
-
modelValueDateIsoString.value = undefined
|
|
224
|
-
}
|
|
225
|
-
else {
|
|
226
|
-
modelValueDateIsoString.value = newValue as string
|
|
227
|
-
modelValueDate.value = undefined
|
|
228
|
-
}
|
|
229
|
-
const newDate = new Date(newValue)
|
|
230
|
-
typed.value = getInputValueFromDate(newDate, type.value, hasSeconds.value)
|
|
231
|
-
unmasked.value = typed.value
|
|
232
|
-
return
|
|
233
|
-
}
|
|
234
|
-
modelValueDate.value = undefined
|
|
235
|
-
modelValueDateIsoString.value = undefined
|
|
236
|
-
}
|
|
237
|
-
typed.value = newValue
|
|
238
|
-
unmasked.value = `${typed.value}`
|
|
239
|
-
}
|
|
240
|
-
onMounted(() => {
|
|
241
|
-
if (mask.value) {
|
|
242
|
-
maskReady.value = true
|
|
243
|
-
updateMaskValue(props.modelValue)
|
|
244
|
-
}
|
|
245
|
-
})
|
|
246
|
-
watch(
|
|
247
|
-
() => props.modelValue,
|
|
248
|
-
(newValue) => {
|
|
249
|
-
if (mask.value) {
|
|
250
|
-
updateMaskValue(newValue)
|
|
251
|
-
}
|
|
252
|
-
},
|
|
253
|
-
)
|
|
254
|
-
watch(
|
|
255
|
-
() => props.masked,
|
|
256
|
-
(newValue) => {
|
|
257
|
-
masked.value = newValue ?? ''
|
|
258
|
-
},
|
|
259
|
-
)
|
|
260
|
-
|
|
261
|
-
// template refs
|
|
262
|
-
const inputEl = el as Ref<HTMLInputElement>
|
|
263
|
-
const innerEl = ref<HTMLInputElement>()
|
|
264
|
-
const wrapperEl = ref<HTMLDivElement>()
|
|
265
|
-
const suggestionsDropdownEl = ref<InstanceType<typeof VvDropdown>>()
|
|
266
|
-
|
|
267
|
-
defineExpose({ $inner: innerEl })
|
|
268
|
-
|
|
269
|
-
// focus
|
|
270
|
-
const { focused } = useComponentFocus(inputEl, emit)
|
|
271
|
-
const isFocused = computed(
|
|
272
|
-
() => focused.value && !props.disabled && !props.readonly,
|
|
273
|
-
)
|
|
274
|
-
watch(isFocused, (newValue) => {
|
|
275
|
-
if (newValue && propsDefaults.value.selectOnFocus && inputEl.value) {
|
|
276
|
-
inputEl.value.select()
|
|
277
|
-
}
|
|
278
|
-
if (newValue && suggestions.value?.size) {
|
|
279
|
-
suggestionsDropdownEl.value?.show()
|
|
280
|
-
return
|
|
281
|
-
}
|
|
282
|
-
if (isDirty.value && suggestions.value) {
|
|
283
|
-
const suggestionsLimit = props.maxSuggestions
|
|
284
|
-
if (
|
|
285
|
-
suggestions.value.size >= suggestionsLimit
|
|
286
|
-
&& !suggestions.value.has(localModelValue.value)
|
|
287
|
-
) {
|
|
288
|
-
suggestions.value = new Set(
|
|
289
|
-
[...suggestions.value].slice(
|
|
290
|
-
suggestions.value.size - suggestionsLimit + 1,
|
|
291
|
-
),
|
|
292
|
-
)
|
|
293
|
-
}
|
|
294
|
-
suggestions.value.add(localModelValue.value)
|
|
295
|
-
}
|
|
296
|
-
})
|
|
297
|
-
|
|
298
|
-
// visibility
|
|
299
|
-
const isVisible = useElementVisibility(inputEl)
|
|
300
|
-
watch(isVisible, (newValue) => {
|
|
301
|
-
if (newValue && props.autofocus && !props.disabled && !props.readonly) {
|
|
302
|
-
focused.value = true
|
|
303
|
-
}
|
|
304
|
-
})
|
|
305
|
-
|
|
306
|
-
// password
|
|
307
|
-
const showPassword = ref(false)
|
|
308
|
-
const isPassword = computed(() => props.type === INPUT_TYPES.PASSWORD)
|
|
309
|
-
function onTogglePassword() {
|
|
310
|
-
showPassword.value = !showPassword.value
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
// time, datetime and date
|
|
314
|
-
const isDateTime = computed(
|
|
315
|
-
() =>
|
|
316
|
-
props.type === INPUT_TYPES.TIME
|
|
317
|
-
|| props.type === INPUT_TYPES.DATETIME_LOCAL
|
|
318
|
-
|| props.type === INPUT_TYPES.DATE
|
|
319
|
-
|| props.type === INPUT_TYPES.WEEK
|
|
320
|
-
|| props.type === INPUT_TYPES.MONTH,
|
|
321
|
-
)
|
|
322
|
-
|
|
323
|
-
// number
|
|
324
|
-
const isNumber = computed(() => props.type === INPUT_TYPES.NUMBER)
|
|
325
|
-
function onStepUp() {
|
|
326
|
-
if (isClickable.value) {
|
|
327
|
-
if (props.iMask) {
|
|
328
|
-
typed.value = Number(typed.value) + Number(step?.value ?? 1)
|
|
329
|
-
return
|
|
330
|
-
}
|
|
331
|
-
inputEl.value.stepUp()
|
|
332
|
-
localModelValue.value = Number(unref(inputEl).value)
|
|
333
|
-
}
|
|
334
|
-
}
|
|
335
|
-
function onStepDown() {
|
|
336
|
-
if (isClickable.value) {
|
|
337
|
-
if (props.iMask) {
|
|
338
|
-
typed.value = Number(typed.value) - Number(step?.value ?? 1)
|
|
339
|
-
return
|
|
340
|
-
}
|
|
341
|
-
inputEl.value.stepDown()
|
|
342
|
-
localModelValue.value = Number(unref(inputEl).value)
|
|
343
|
-
}
|
|
344
|
-
}
|
|
345
|
-
|
|
346
|
-
// search
|
|
347
|
-
const isSearch = computed(() => props.type === INPUT_TYPES.SEARCH)
|
|
348
|
-
function onClear() {
|
|
349
|
-
localModelValue.value = ''
|
|
350
|
-
}
|
|
351
|
-
|
|
352
|
-
// icons
|
|
353
|
-
const { hasIconBefore, hasIconAfter } = useComponentIcon(icon, iconPosition)
|
|
354
|
-
const iconAfter = computed(() => {
|
|
355
|
-
if (hasIconAfter.value !== undefined) {
|
|
356
|
-
return hasIconAfter.value
|
|
357
|
-
}
|
|
358
|
-
switch (props.type) {
|
|
359
|
-
case INPUT_TYPES.COLOR:
|
|
360
|
-
return { name: ACTION_ICONS.showColorPicker }
|
|
361
|
-
case INPUT_TYPES.DATE:
|
|
362
|
-
case INPUT_TYPES.DATETIME_LOCAL:
|
|
363
|
-
case INPUT_TYPES.WEEK:
|
|
364
|
-
case INPUT_TYPES.MONTH:
|
|
365
|
-
return { name: ACTION_ICONS.showDatePicker }
|
|
366
|
-
case INPUT_TYPES.TIME:
|
|
367
|
-
return { name: ACTION_ICONS.showTimePicker }
|
|
368
|
-
}
|
|
369
|
-
return undefined
|
|
370
|
-
})
|
|
371
|
-
const { hasIcon: hasIconRemoveSuggestion }
|
|
372
|
-
= useComponentIcon(iconRemoveSuggestion)
|
|
373
|
-
|
|
374
|
-
// count
|
|
375
|
-
const { formatted: countFormatted } = useTextCount(localModelValue, {
|
|
376
|
-
mode: count.value,
|
|
377
|
-
upperLimit: Number(maxlength?.value),
|
|
378
|
-
lowerLimit: Number(minlength?.value),
|
|
379
|
-
})
|
|
380
|
-
|
|
381
|
-
// tabindex
|
|
382
|
-
const isClickable = computed(() => !props.disabled && !props.readonly)
|
|
383
|
-
const hasTabindex = computed(() =>
|
|
384
|
-
isClickable.value ? props.tabindex : -1,
|
|
385
|
-
)
|
|
386
|
-
|
|
387
|
-
// dirty
|
|
388
|
-
const isDirty = computed(() => !isEmpty(modelValue))
|
|
389
|
-
|
|
390
|
-
// invalid
|
|
391
|
-
const isInvalid = computed(() => {
|
|
392
|
-
if (invalid.value === true) {
|
|
393
|
-
return true
|
|
394
|
-
}
|
|
395
|
-
if (valid.value === true) {
|
|
396
|
-
return false
|
|
397
|
-
}
|
|
398
|
-
return undefined
|
|
399
|
-
})
|
|
400
|
-
|
|
401
|
-
// suggestions
|
|
402
|
-
const suggestions = usePersistence<Set<string>>(
|
|
403
|
-
storageKey,
|
|
404
|
-
storageType,
|
|
405
|
-
new Set(),
|
|
406
|
-
)
|
|
407
|
-
const filteredSuggestions = computed(() => {
|
|
408
|
-
if (!suggestions.value) {
|
|
409
|
-
return []
|
|
410
|
-
}
|
|
411
|
-
return [...suggestions.value]
|
|
412
|
-
.filter(
|
|
413
|
-
suggestion =>
|
|
414
|
-
isEmpty(localModelValue.value)
|
|
415
|
-
|| (`${suggestion}`
|
|
416
|
-
.toLowerCase()
|
|
417
|
-
.includes(`${localModelValue.value}`.toLowerCase())
|
|
418
|
-
&& suggestion !== localModelValue.value),
|
|
419
|
-
)
|
|
420
|
-
.reverse()
|
|
421
|
-
})
|
|
422
|
-
const hasSuggestions = computed(
|
|
423
|
-
() =>
|
|
424
|
-
storageKey?.value
|
|
425
|
-
&& suggestions.value
|
|
426
|
-
&& suggestions.value.size > 0,
|
|
427
|
-
)
|
|
428
|
-
function onSuggestionSelect(suggestion: string) {
|
|
429
|
-
localModelValue.value = suggestion
|
|
430
|
-
suggestionsDropdownEl.value?.hide()
|
|
431
|
-
}
|
|
432
|
-
function onSuggestionRemove(suggestion: string) {
|
|
433
|
-
suggestions.value?.delete(suggestion)
|
|
434
|
-
}
|
|
435
|
-
|
|
436
|
-
// styles
|
|
437
|
-
const { modifiers } = toRefs(props)
|
|
438
|
-
const bemCssClasses = useModifiers(
|
|
439
|
-
'vv-input-text',
|
|
440
|
-
modifiers,
|
|
441
|
-
computed(() => ({
|
|
442
|
-
'valid': valid.value,
|
|
443
|
-
'invalid': invalid.value,
|
|
444
|
-
'loading': loading.value,
|
|
445
|
-
'disabled': props.disabled,
|
|
446
|
-
'required': props.required,
|
|
447
|
-
'readonly': props.readonly,
|
|
448
|
-
'icon-before': !!hasIconBefore.value,
|
|
449
|
-
'icon-after': !!iconAfter.value,
|
|
450
|
-
'floating': props.floating && !isEmpty(props.label),
|
|
451
|
-
'dirty': isDirty.value,
|
|
452
|
-
'focus': isFocused.value,
|
|
453
|
-
'auto-width': props.autoWidth,
|
|
454
|
-
})),
|
|
455
|
-
)
|
|
456
|
-
|
|
457
|
-
// attrs
|
|
458
|
-
const hasAttrs = computed(() => {
|
|
459
|
-
const type = (() => {
|
|
460
|
-
if (isPassword.value && showPassword.value) {
|
|
461
|
-
return INPUT_TYPES.TEXT
|
|
462
|
-
}
|
|
463
|
-
if (isDateTime.value && !isDirty.value && !focused.value) {
|
|
464
|
-
return INPUT_TYPES.TEXT
|
|
465
|
-
}
|
|
466
|
-
if (props.iMask) {
|
|
467
|
-
return INPUT_TYPES.TEXT
|
|
468
|
-
}
|
|
469
|
-
return props.type
|
|
470
|
-
})()
|
|
471
|
-
const toReturn: InputHTMLAttributes = {
|
|
472
|
-
type,
|
|
473
|
-
'name': props.name,
|
|
474
|
-
'tabindex': hasTabindex.value,
|
|
475
|
-
'disabled': props.disabled,
|
|
476
|
-
'readonly': props.readonly,
|
|
477
|
-
'required': props.required,
|
|
478
|
-
'autocomplete': props.autocomplete,
|
|
479
|
-
'aria-invalid': isInvalid.value,
|
|
480
|
-
'aria-describedby': hasHintLabelOrSlot.value
|
|
481
|
-
? hasHintId.value
|
|
482
|
-
: undefined,
|
|
483
|
-
'aria-errormessage': hasInvalidLabelOrSlot.value
|
|
484
|
-
? hasHintId.value
|
|
485
|
-
: undefined,
|
|
486
|
-
}
|
|
487
|
-
if (
|
|
488
|
-
type === INPUT_TYPES.DATE
|
|
489
|
-
|| type === INPUT_TYPES.MONTH
|
|
490
|
-
|| type === INPUT_TYPES.WEEK
|
|
491
|
-
|| type === INPUT_TYPES.TIME
|
|
492
|
-
|| type === INPUT_TYPES.DATETIME_LOCAL
|
|
493
|
-
|| type === INPUT_TYPES.NUMBER
|
|
494
|
-
) {
|
|
495
|
-
let max = props.max
|
|
496
|
-
if (type === INPUT_TYPES.DATE && !max) {
|
|
497
|
-
max = '9999-12-31'
|
|
498
|
-
}
|
|
499
|
-
toReturn.step = props.step
|
|
500
|
-
toReturn.max = max !== undefined ? String(max) : undefined
|
|
501
|
-
toReturn.min
|
|
502
|
-
= props.min !== undefined ? String(props.min) : undefined
|
|
503
|
-
}
|
|
504
|
-
if (
|
|
505
|
-
type === INPUT_TYPES.TEXT
|
|
506
|
-
|| type === INPUT_TYPES.SEARCH
|
|
507
|
-
|| type === INPUT_TYPES.URL
|
|
508
|
-
|| type === INPUT_TYPES.TEL
|
|
509
|
-
|| type === INPUT_TYPES.EMAIL
|
|
510
|
-
|| type === INPUT_TYPES.PASSWORD
|
|
511
|
-
|| type === INPUT_TYPES.NUMBER
|
|
512
|
-
) {
|
|
513
|
-
toReturn.placeholder = inputTextPlaceholder.value
|
|
514
|
-
}
|
|
515
|
-
if (
|
|
516
|
-
type === INPUT_TYPES.TEXT
|
|
517
|
-
|| type === INPUT_TYPES.SEARCH
|
|
518
|
-
|| type === INPUT_TYPES.URL
|
|
519
|
-
|| type === INPUT_TYPES.TEL
|
|
520
|
-
|| type === INPUT_TYPES.EMAIL
|
|
521
|
-
|| type === INPUT_TYPES.PASSWORD
|
|
522
|
-
) {
|
|
523
|
-
toReturn.minlength = props.minlength
|
|
524
|
-
toReturn.maxlength = props.maxlength
|
|
525
|
-
toReturn.pattern = props.pattern
|
|
526
|
-
}
|
|
527
|
-
if (type === INPUT_TYPES.EMAIL) {
|
|
528
|
-
toReturn.multiple = props.multiple
|
|
529
|
-
}
|
|
530
|
-
return toReturn
|
|
531
|
-
})
|
|
532
|
-
|
|
533
|
-
// slots
|
|
534
|
-
const slotProps = computed(() => ({
|
|
535
|
-
valid: props.valid,
|
|
536
|
-
invalid: props.invalid,
|
|
537
|
-
modelValue: props.modelValue,
|
|
538
|
-
togglePassword: onTogglePassword,
|
|
539
|
-
stepUp: onStepUp,
|
|
540
|
-
stepDown: onStepDown,
|
|
541
|
-
clear: onClear,
|
|
542
|
-
}))
|
|
543
|
-
|
|
544
|
-
// components
|
|
545
|
-
const {
|
|
546
|
-
HintSlot,
|
|
547
|
-
hasHintLabelOrSlot,
|
|
548
|
-
hasInvalidLabelOrSlot,
|
|
549
|
-
hintSlotScope,
|
|
550
|
-
} = HintSlotFactory(propsDefaults, slots)
|
|
551
|
-
const PasswordInputActions = VvInputTextActionsFactory(
|
|
552
|
-
INPUT_TYPES.PASSWORD,
|
|
553
|
-
props,
|
|
554
|
-
)
|
|
555
|
-
const NumberInputActions = VvInputTextActionsFactory(
|
|
556
|
-
INPUT_TYPES.NUMBER,
|
|
557
|
-
props,
|
|
558
|
-
)
|
|
559
|
-
const SearchInputActions = VvInputTextActionsFactory(
|
|
560
|
-
INPUT_TYPES.SEARCH,
|
|
561
|
-
props,
|
|
562
|
-
)
|
|
563
|
-
|
|
564
|
-
// auto-width
|
|
565
|
-
function onClickInner() {
|
|
566
|
-
if (isClickable.value) {
|
|
567
|
-
focused.value = true
|
|
568
|
-
}
|
|
569
|
-
}
|
|
570
|
-
const hasStyle = computed(() => {
|
|
571
|
-
if (!props.autoWidth) {
|
|
572
|
-
return undefined
|
|
573
|
-
}
|
|
574
|
-
return {
|
|
575
|
-
width: localModelValue.value !== undefined
|
|
576
|
-
? `${String(localModelValue.value).length + 1}ch`
|
|
577
|
-
: undefined,
|
|
578
|
-
}
|
|
579
|
-
})
|
|
580
|
-
|
|
581
|
-
// keydown
|
|
582
|
-
function onKeyDown(event: KeyboardEvent) {
|
|
583
|
-
switch (event.code) {
|
|
584
|
-
case 'ArrowUp':
|
|
585
|
-
if (isNumber.value) {
|
|
586
|
-
onStepUp()
|
|
587
|
-
event.preventDefault()
|
|
588
|
-
}
|
|
589
|
-
break
|
|
590
|
-
|
|
591
|
-
case 'ArrowDown':
|
|
592
|
-
if (isNumber.value) {
|
|
593
|
-
onStepDown()
|
|
594
|
-
event.preventDefault()
|
|
595
|
-
}
|
|
596
|
-
break
|
|
597
|
-
}
|
|
598
|
-
emit('keydown', event)
|
|
599
|
-
}
|
|
600
|
-
</script>
|
|
601
|
-
|
|
602
|
-
<script lang="ts">
|
|
603
|
-
export default {
|
|
604
|
-
name: 'VvInputText',
|
|
605
|
-
}
|
|
606
|
-
</script>
|
|
607
|
-
|
|
608
|
-
<template>
|
|
609
|
-
<div :class="bemCssClasses">
|
|
610
|
-
<label v-if="label" :for="hasId" class="vv-input-text__label">
|
|
611
|
-
{{ label }}
|
|
612
|
-
</label>
|
|
613
|
-
<div ref="wrapperEl" class="vv-input-text__wrapper">
|
|
614
|
-
<div v-if="$slots.before" class="vv-input-text__input-before">
|
|
615
|
-
<!-- @slot Slot before input icon -->
|
|
616
|
-
<slot name="before" v-bind="slotProps" />
|
|
617
|
-
</div>
|
|
618
|
-
<div
|
|
619
|
-
ref="innerEl"
|
|
620
|
-
class="vv-input-text__inner"
|
|
621
|
-
@click.stop="onClickInner"
|
|
622
|
-
>
|
|
623
|
-
<VvIcon
|
|
624
|
-
v-if="hasIconBefore"
|
|
625
|
-
v-bind="hasIconBefore"
|
|
626
|
-
class="vv-input-text__icon"
|
|
627
|
-
/>
|
|
628
|
-
<input
|
|
629
|
-
:id="hasId"
|
|
630
|
-
ref="inputEl"
|
|
631
|
-
v-bind="hasAttrs"
|
|
632
|
-
:style="hasStyle"
|
|
633
|
-
@keyup="emit('keyup', $event)"
|
|
634
|
-
@keydown="onKeyDown"
|
|
635
|
-
@keypress="emit('keypress', $event)"
|
|
636
|
-
>
|
|
637
|
-
<div
|
|
638
|
-
v-if="(unit || $slots.unit) && isDirty"
|
|
639
|
-
class="vv-input-text__unit"
|
|
640
|
-
>
|
|
641
|
-
<!-- @slot Slot to replace unit -->
|
|
642
|
-
<slot name="unit" v-bind="slotProps">
|
|
643
|
-
{{ unit }}
|
|
644
|
-
</slot>
|
|
645
|
-
</div>
|
|
646
|
-
</div>
|
|
647
|
-
<!-- @slot Slot to replace right icon -->
|
|
648
|
-
<VvIcon
|
|
649
|
-
v-if="iconAfter"
|
|
650
|
-
v-bind="iconAfter"
|
|
651
|
-
class="vv-input-text__icon vv-input-text__icon-after"
|
|
652
|
-
/>
|
|
653
|
-
<PasswordInputActions
|
|
654
|
-
v-else-if="isPassword && !hideActions && isClickable"
|
|
655
|
-
@toggle-password="onTogglePassword"
|
|
656
|
-
/>
|
|
657
|
-
<NumberInputActions
|
|
658
|
-
v-else-if="isNumber && !hideActions && isClickable"
|
|
659
|
-
@step-up="onStepUp"
|
|
660
|
-
@step-down="onStepDown"
|
|
661
|
-
/>
|
|
662
|
-
<SearchInputActions
|
|
663
|
-
v-else-if="isSearch && !hideActions && isClickable"
|
|
664
|
-
@clear="onClear"
|
|
665
|
-
/>
|
|
666
|
-
<!-- @slot Slot after input -->
|
|
667
|
-
<div v-if="$slots.after" class="vv-input-text__input-after">
|
|
668
|
-
<!-- @slot Slot before input icon -->
|
|
669
|
-
<slot name="after" v-bind="slotProps" />
|
|
670
|
-
</div>
|
|
671
|
-
<span v-if="count" class="vv-input-text__limit">
|
|
672
|
-
<!-- @slot Slot to replace count -->
|
|
673
|
-
<slot name="count" v-bind="slotProps">
|
|
674
|
-
{{ countFormatted }}
|
|
675
|
-
</slot>
|
|
676
|
-
</span>
|
|
677
|
-
</div>
|
|
678
|
-
<HintSlot :id="hasHintId" class="vv-input-text__hint">
|
|
679
|
-
<template v-if="$slots.hint" #hint>
|
|
680
|
-
<slot name="hint" v-bind="hintSlotScope" />
|
|
681
|
-
</template>
|
|
682
|
-
<template v-if="$slots.loading" #loading>
|
|
683
|
-
<slot name="loading" v-bind="hintSlotScope" />
|
|
684
|
-
</template>
|
|
685
|
-
<template v-if="$slots.valid" #valid>
|
|
686
|
-
<slot name="valid" v-bind="hintSlotScope" />
|
|
687
|
-
</template>
|
|
688
|
-
<template v-if="$slots.invalid" #invalid>
|
|
689
|
-
<slot name="invalid" v-bind="hintSlotScope" />
|
|
690
|
-
</template>
|
|
691
|
-
</HintSlot>
|
|
692
|
-
<VvDropdown
|
|
693
|
-
v-if="hasSuggestions"
|
|
694
|
-
ref="suggestionsDropdownEl"
|
|
695
|
-
:reference="wrapperEl"
|
|
696
|
-
:autofocus-first="false"
|
|
697
|
-
:trigger-width="true"
|
|
698
|
-
>
|
|
699
|
-
<template #items>
|
|
700
|
-
<VvDropdownOption
|
|
701
|
-
v-for="value in filteredSuggestions"
|
|
702
|
-
:key="value"
|
|
703
|
-
@click.stop="onSuggestionSelect(value)"
|
|
704
|
-
>
|
|
705
|
-
<div class="flex-1">
|
|
706
|
-
<slot name="suggestion" v-bind="{ value }">
|
|
707
|
-
{{ value }}
|
|
708
|
-
</slot>
|
|
709
|
-
</div>
|
|
710
|
-
<button
|
|
711
|
-
v-if="suggestions && hasIconRemoveSuggestion"
|
|
712
|
-
type="button"
|
|
713
|
-
tabindex="-1"
|
|
714
|
-
class="cursor-pointer"
|
|
715
|
-
:title="labelRemoveSuggestion"
|
|
716
|
-
@click.stop="onSuggestionRemove(value)"
|
|
717
|
-
>
|
|
718
|
-
<VvIcon v-bind="hasIconRemoveSuggestion" />
|
|
719
|
-
</button>
|
|
720
|
-
</VvDropdownOption>
|
|
721
|
-
</template>
|
|
722
|
-
</VvDropdown>
|
|
723
|
-
</div>
|
|
724
|
-
</template>
|