@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,106 +0,0 @@
|
|
|
1
|
-
import type { Alert } from '@/types/alert'
|
|
2
|
-
import {
|
|
3
|
-
DEFAULT_ALERT_AUTO_CLOSE,
|
|
4
|
-
DEFAULT_ALERT_DISMISSABLE,
|
|
5
|
-
DEFAULT_ALERT_GROUP,
|
|
6
|
-
DEFAULT_ALERT_INFO_ICON,
|
|
7
|
-
DEFAULT_ALERT_MODIFIERS,
|
|
8
|
-
DefaultAlertIconMap,
|
|
9
|
-
} from '@/constants'
|
|
10
|
-
|
|
11
|
-
type AlertInGroup = Alert & { timestamp: number, group: string }
|
|
12
|
-
|
|
13
|
-
const groups = reactive(
|
|
14
|
-
new Map<string, Map<string, AlertInGroup>>([
|
|
15
|
-
[DEFAULT_ALERT_GROUP, new Map<string, AlertInGroup>()],
|
|
16
|
-
]),
|
|
17
|
-
)
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* @description Composable to access alert groups, alerts and functions to add, remove and get alerts by group.
|
|
21
|
-
* @example
|
|
22
|
-
* const { groups, alerts, addAlert, removeAlert, getAlerts } = useAlert()
|
|
23
|
-
* addAlert({
|
|
24
|
-
* title: 'Success!',
|
|
25
|
-
* modifiers: 'success',
|
|
26
|
-
* })
|
|
27
|
-
*
|
|
28
|
-
* `<vv-alert-group :items="alerts" :onClose="removeAlert" />`
|
|
29
|
-
*
|
|
30
|
-
* @returns {
|
|
31
|
-
* alerts: ComputedRef<Alert[]> reactive list of alerts default group,
|
|
32
|
-
* groups: ReactiveRef<Map<string, Map<string, Alert>>>,
|
|
33
|
-
* addAlert: Function to add alert,
|
|
34
|
-
* removeAlert: Function to remove alert,
|
|
35
|
-
* getAlerts: Function to get alerts by group
|
|
36
|
-
* } the reactive list of alerts, groups, addAlert, removeAlert and getAlerts functions
|
|
37
|
-
*/
|
|
38
|
-
export function useAlert() {
|
|
39
|
-
const addAlert = (
|
|
40
|
-
{
|
|
41
|
-
id = crypto.randomUUID(),
|
|
42
|
-
group = DEFAULT_ALERT_GROUP,
|
|
43
|
-
title,
|
|
44
|
-
icon = DEFAULT_ALERT_INFO_ICON,
|
|
45
|
-
content,
|
|
46
|
-
footer,
|
|
47
|
-
modifiers = DEFAULT_ALERT_MODIFIERS,
|
|
48
|
-
dismissable = DEFAULT_ALERT_DISMISSABLE,
|
|
49
|
-
autoClose = DEFAULT_ALERT_AUTO_CLOSE,
|
|
50
|
-
timestamp = Date.now(),
|
|
51
|
-
} = {} as Partial<AlertInGroup>,
|
|
52
|
-
) => {
|
|
53
|
-
if (!groups.has(group)) {
|
|
54
|
-
groups.set(group, new Map<string, AlertInGroup>())
|
|
55
|
-
}
|
|
56
|
-
const groupMap = groups.get(group)
|
|
57
|
-
const normalizedModifiers
|
|
58
|
-
= typeof modifiers === 'string' ? modifiers.split(' ') : modifiers
|
|
59
|
-
|
|
60
|
-
if (!icon) {
|
|
61
|
-
const alertModifier = normalizedModifiers.find(modifier =>
|
|
62
|
-
DefaultAlertIconMap.has(modifier),
|
|
63
|
-
)
|
|
64
|
-
|
|
65
|
-
if (alertModifier) {
|
|
66
|
-
icon = DefaultAlertIconMap.get(alertModifier) as string
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
groupMap?.set(id.toString(), {
|
|
70
|
-
id,
|
|
71
|
-
group,
|
|
72
|
-
title,
|
|
73
|
-
icon,
|
|
74
|
-
content,
|
|
75
|
-
footer,
|
|
76
|
-
modifiers,
|
|
77
|
-
dismissable,
|
|
78
|
-
autoClose,
|
|
79
|
-
timestamp,
|
|
80
|
-
})
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
const removeAlert = (id: string | number, group = DEFAULT_ALERT_GROUP) => {
|
|
84
|
-
const groupMap = groups.get(group)
|
|
85
|
-
groupMap?.delete(id.toString())
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
const getAlerts = (group = DEFAULT_ALERT_GROUP) => {
|
|
89
|
-
return computed(() => {
|
|
90
|
-
const groupMap = groups.get(group)
|
|
91
|
-
return groupMap && groupMap instanceof Map
|
|
92
|
-
? Array.from(groupMap?.values()).sort(
|
|
93
|
-
(a, b) => a.timestamp - b.timestamp,
|
|
94
|
-
)
|
|
95
|
-
: []
|
|
96
|
-
})
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
return {
|
|
100
|
-
groups,
|
|
101
|
-
alerts: getAlerts(),
|
|
102
|
-
addAlert,
|
|
103
|
-
removeAlert,
|
|
104
|
-
getAlerts,
|
|
105
|
-
}
|
|
106
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import type { Ref } from 'vue'
|
|
2
|
-
import { INJECTION_KEY_ALERT_GROUP } from '@/constants'
|
|
3
|
-
import mitt from 'mitt'
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Share the alert group name with all its children.
|
|
7
|
-
* @param {Ref<string | undefined>} name the alert group name
|
|
8
|
-
*/
|
|
9
|
-
export function useAlertProvideGroup({
|
|
10
|
-
name,
|
|
11
|
-
}: {
|
|
12
|
-
name: Ref<string | undefined>
|
|
13
|
-
}) {
|
|
14
|
-
const bus = mitt<{
|
|
15
|
-
close: string
|
|
16
|
-
}>()
|
|
17
|
-
provide(INJECTION_KEY_ALERT_GROUP, {
|
|
18
|
-
name,
|
|
19
|
-
bus,
|
|
20
|
-
})
|
|
21
|
-
|
|
22
|
-
return bus
|
|
23
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import type VvDropdown from '@/components/VvDropdown/VvDropdown.vue'
|
|
2
|
-
import type { Ref } from 'vue'
|
|
3
|
-
import { computed, getCurrentInstance, onMounted, onUnmounted, unref } from 'vue'
|
|
4
|
-
|
|
5
|
-
export function useDropdownContextmenu(dropdownEl: Ref<typeof VvDropdown>, targetEl?: Ref<HTMLElement> | HTMLElement) {
|
|
6
|
-
const { x, y, getBoundingClientRect, onScroll } = useDropdownVirtualElement(dropdownEl)
|
|
7
|
-
const onContextmenu = (event: MouseEvent) => {
|
|
8
|
-
x.value = event.clientX
|
|
9
|
-
y.value = event.clientY
|
|
10
|
-
event.preventDefault()
|
|
11
|
-
dropdownEl.value.show()
|
|
12
|
-
}
|
|
13
|
-
const target = computed(() => unref(targetEl))
|
|
14
|
-
if (target && getCurrentInstance()) {
|
|
15
|
-
onMounted(() => {
|
|
16
|
-
target.value?.addEventListener('contextmenu', onContextmenu, false)
|
|
17
|
-
})
|
|
18
|
-
onUnmounted(() => {
|
|
19
|
-
target.value?.removeEventListener('contextmenu', onContextmenu)
|
|
20
|
-
})
|
|
21
|
-
}
|
|
22
|
-
return { x, y, getBoundingClientRect, onContextmenu, onScroll }
|
|
23
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
INJECTION_KEY_DROPDOWN_ACTION,
|
|
3
|
-
INJECTION_KEY_DROPDOWN_ITEM,
|
|
4
|
-
INJECTION_KEY_DROPDOWN_TRIGGER,
|
|
5
|
-
} from '../../constants'
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* Injects dropdown reference and the event bus
|
|
9
|
-
*/
|
|
10
|
-
export function useInjectedDropdownTrigger() {
|
|
11
|
-
return inject(INJECTION_KEY_DROPDOWN_TRIGGER, {})
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* Injects dropdown item role
|
|
16
|
-
*/
|
|
17
|
-
export function useInjectedDropdownItem() {
|
|
18
|
-
return inject(INJECTION_KEY_DROPDOWN_ITEM, {})
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* Injects dropdown action role
|
|
23
|
-
*/
|
|
24
|
-
export function useInjectedDropdownAction() {
|
|
25
|
-
return inject(INJECTION_KEY_DROPDOWN_ACTION, {})
|
|
26
|
-
}
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import type { Ref } from 'vue'
|
|
2
|
-
import type { DropdownItemState } from '../../constants'
|
|
3
|
-
import mitt from 'mitt'
|
|
4
|
-
import { Fragment } from 'vue'
|
|
5
|
-
import {
|
|
6
|
-
ActionRoles,
|
|
7
|
-
DropdownItemRole,
|
|
8
|
-
|
|
9
|
-
DropdownRole,
|
|
10
|
-
INJECTION_KEY_DROPDOWN_ACTION,
|
|
11
|
-
INJECTION_KEY_DROPDOWN_ITEM,
|
|
12
|
-
INJECTION_KEY_DROPDOWN_TRIGGER,
|
|
13
|
-
} from '../../constants'
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* Share the dropdown reference and the event bus with all its children.
|
|
17
|
-
* @param {Ref<HTMLElement | null>} reference the dropdown reference
|
|
18
|
-
*/
|
|
19
|
-
export function useDropdownProvideTrigger({
|
|
20
|
-
reference,
|
|
21
|
-
id,
|
|
22
|
-
expanded,
|
|
23
|
-
aria,
|
|
24
|
-
}: {
|
|
25
|
-
reference: Ref<HTMLElement | null | undefined>
|
|
26
|
-
id: Ref<string | number>
|
|
27
|
-
expanded: Ref<boolean>
|
|
28
|
-
aria: Ref<{
|
|
29
|
-
'aria-controls': string
|
|
30
|
-
'aria-haspopup': boolean
|
|
31
|
-
'aria-expanded': boolean
|
|
32
|
-
}>
|
|
33
|
-
}) {
|
|
34
|
-
const bus = mitt<{
|
|
35
|
-
click: Event
|
|
36
|
-
mouseover: Event
|
|
37
|
-
mouseleave: Event
|
|
38
|
-
}>()
|
|
39
|
-
const component = defineComponent({
|
|
40
|
-
name: 'VvDropdownTriggerProvider',
|
|
41
|
-
setup() {
|
|
42
|
-
provide(INJECTION_KEY_DROPDOWN_TRIGGER, {
|
|
43
|
-
reference,
|
|
44
|
-
id,
|
|
45
|
-
expanded,
|
|
46
|
-
aria,
|
|
47
|
-
bus,
|
|
48
|
-
})
|
|
49
|
-
},
|
|
50
|
-
render() {
|
|
51
|
-
return h(Fragment, {}, this.$slots.default?.())
|
|
52
|
-
},
|
|
53
|
-
})
|
|
54
|
-
|
|
55
|
-
return {
|
|
56
|
-
bus,
|
|
57
|
-
component,
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* Share the dropdown item role with all its children.
|
|
63
|
-
* @param {Ref<string>} role the dropdown item role
|
|
64
|
-
*/
|
|
65
|
-
export function useDropdownProvideItem({
|
|
66
|
-
role,
|
|
67
|
-
...others
|
|
68
|
-
}: Omit<DropdownItemState, 'role'> & {
|
|
69
|
-
role: Ref<`${DropdownRole}`>
|
|
70
|
-
}) {
|
|
71
|
-
const itemRole = computed(() =>
|
|
72
|
-
role.value === DropdownRole.listbox
|
|
73
|
-
? DropdownItemRole.option
|
|
74
|
-
: DropdownItemRole.presentation,
|
|
75
|
-
)
|
|
76
|
-
provide(INJECTION_KEY_DROPDOWN_ITEM, {
|
|
77
|
-
role: itemRole,
|
|
78
|
-
...others,
|
|
79
|
-
})
|
|
80
|
-
return { itemRole }
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
/**
|
|
84
|
-
* Share the dropdown item role with all its children.
|
|
85
|
-
* @param {Ref<string>} role the dropdown item role
|
|
86
|
-
*/
|
|
87
|
-
export function useDropdownProvideAction({
|
|
88
|
-
expanded,
|
|
89
|
-
}: {
|
|
90
|
-
expanded?: Ref<boolean>
|
|
91
|
-
}) {
|
|
92
|
-
provide(INJECTION_KEY_DROPDOWN_ACTION, {
|
|
93
|
-
role: ref(ActionRoles.menuitem),
|
|
94
|
-
expanded,
|
|
95
|
-
})
|
|
96
|
-
}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import type VvDropdown from '@/components/VvDropdown/VvDropdown.vue'
|
|
2
|
-
import type { Ref } from 'vue'
|
|
3
|
-
import { onMounted, ref } from 'vue'
|
|
4
|
-
|
|
5
|
-
export function useDropdownVirtualElement(dropdownEl: Ref<typeof VvDropdown>) {
|
|
6
|
-
const x = ref(0)
|
|
7
|
-
const y = ref(0)
|
|
8
|
-
|
|
9
|
-
const scrollContainerEl = ref<HTMLElement>()
|
|
10
|
-
let scrollXDelta = 0
|
|
11
|
-
let scrollYDelta = 0
|
|
12
|
-
let lastScrollTop = 0
|
|
13
|
-
let lastScrollLeft = 0
|
|
14
|
-
const onScroll = (event: HTMLElementEventMap['scroll']) => {
|
|
15
|
-
const scrollEl = event.target as HTMLElement
|
|
16
|
-
scrollXDelta = scrollEl.scrollLeft - lastScrollLeft
|
|
17
|
-
scrollYDelta = scrollEl.scrollTop - lastScrollTop
|
|
18
|
-
y.value = y.value - scrollYDelta
|
|
19
|
-
x.value = x.value - scrollXDelta
|
|
20
|
-
lastScrollLeft = scrollEl.scrollLeft
|
|
21
|
-
lastScrollTop = scrollEl.scrollTop
|
|
22
|
-
}
|
|
23
|
-
const getBoundingClientRect = () => ({
|
|
24
|
-
width: 0,
|
|
25
|
-
height: 0,
|
|
26
|
-
x: x.value,
|
|
27
|
-
y: y.value,
|
|
28
|
-
top: y.value,
|
|
29
|
-
left: x.value,
|
|
30
|
-
right: x.value,
|
|
31
|
-
bottom: y.value,
|
|
32
|
-
})
|
|
33
|
-
|
|
34
|
-
if (getCurrentInstance()) {
|
|
35
|
-
onMounted(() => {
|
|
36
|
-
if (dropdownEl.value) {
|
|
37
|
-
dropdownEl.value.init({
|
|
38
|
-
getBoundingClientRect,
|
|
39
|
-
})
|
|
40
|
-
scrollContainerEl.value = findScrollContainer(dropdownEl.value.$el)
|
|
41
|
-
if (scrollContainerEl.value) {
|
|
42
|
-
scrollContainerEl.value.addEventListener('scroll', onScroll)
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
})
|
|
46
|
-
|
|
47
|
-
onUnmounted(() => {
|
|
48
|
-
if (scrollContainerEl.value) {
|
|
49
|
-
scrollContainerEl.value.removeEventListener('scroll', onScroll)
|
|
50
|
-
}
|
|
51
|
-
})
|
|
52
|
-
}
|
|
53
|
-
return { x, y, getBoundingClientRect, onScroll }
|
|
54
|
-
}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import type { InjectionKey, Ref } from 'vue'
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Injects a group state
|
|
5
|
-
*/
|
|
6
|
-
export function useGroupStateInject<GroupStateType>(
|
|
7
|
-
groupKey: InjectionKey<GroupStateType>,
|
|
8
|
-
) {
|
|
9
|
-
// Get group state
|
|
10
|
-
const group = inject<GroupStateType | undefined>(groupKey, undefined)
|
|
11
|
-
|
|
12
|
-
// Check if component is in group
|
|
13
|
-
const isInGroup = computed(() => group !== undefined)
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* Get a group or local property
|
|
17
|
-
*/
|
|
18
|
-
function getGroupOrLocalRef<
|
|
19
|
-
TProps extends object,
|
|
20
|
-
TName extends keyof GroupStateType,
|
|
21
|
-
>(
|
|
22
|
-
propName: TName,
|
|
23
|
-
props: TProps,
|
|
24
|
-
emit?: (event: string, ...args: unknown[]) => void,
|
|
25
|
-
) {
|
|
26
|
-
const groupPropValue = group?.[propName] as Ref | undefined
|
|
27
|
-
if (groupPropValue) {
|
|
28
|
-
return computed({
|
|
29
|
-
get() {
|
|
30
|
-
return groupPropValue.value
|
|
31
|
-
},
|
|
32
|
-
set(value: unknown) {
|
|
33
|
-
groupPropValue.value = value
|
|
34
|
-
},
|
|
35
|
-
}) as GroupStateType[TName]
|
|
36
|
-
}
|
|
37
|
-
const propRef = toRef(props, propName as unknown as keyof TProps)
|
|
38
|
-
return computed({
|
|
39
|
-
get() {
|
|
40
|
-
return propRef.value
|
|
41
|
-
},
|
|
42
|
-
set(value: unknown) {
|
|
43
|
-
if (emit) {
|
|
44
|
-
emit(`update:${propName as string}`, value)
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
}) as GroupStateType[TName]
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
return {
|
|
51
|
-
group,
|
|
52
|
-
isInGroup,
|
|
53
|
-
getGroupOrLocalRef,
|
|
54
|
-
}
|
|
55
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { Emitter } from 'mitt'
|
|
2
|
-
import type { InjectionKey, Ref } from 'vue'
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Share part of the state of the component with all its children.
|
|
6
|
-
*/
|
|
7
|
-
export function useGroupStateProvide<
|
|
8
|
-
TGroupState extends Record<
|
|
9
|
-
string,
|
|
10
|
-
Ref<unknown> | Emitter<any>
|
|
11
|
-
>,
|
|
12
|
-
>(key: InjectionKey<TGroupState>, groupState: TGroupState) {
|
|
13
|
-
provide(key, groupState)
|
|
14
|
-
}
|
package/src/composables/index.ts
DELETED
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import type { BlurhashWorkerType } from '@/types/blurhash'
|
|
2
|
-
import BlurhashWorker from '@/workers/blurhash?worker&inline'
|
|
3
|
-
import { wrap } from 'comlink'
|
|
4
|
-
import Pica from 'pica'
|
|
5
|
-
|
|
6
|
-
const remoteFunction = wrap<BlurhashWorkerType>(new BlurhashWorker())
|
|
7
|
-
|
|
8
|
-
function loadImage(src: string): Promise<CanvasImageSource> {
|
|
9
|
-
return new Promise((resolve, reject) => {
|
|
10
|
-
const img = new Image()
|
|
11
|
-
img.onload = () => resolve(img)
|
|
12
|
-
img.onerror = (...args) => reject(args)
|
|
13
|
-
img.src = src
|
|
14
|
-
})
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
function getWidthHeightFromMaxSize(width: number, height: number, maxSize: number) {
|
|
18
|
-
if (width > height) {
|
|
19
|
-
return {
|
|
20
|
-
width: maxSize,
|
|
21
|
-
height: Math.round(maxSize * (height / width)),
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
return {
|
|
25
|
-
width: Math.round(maxSize * (width / height)),
|
|
26
|
-
height: maxSize,
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
async function resizeImage(image: ImageBitmap | HTMLImageElement | HTMLCanvasElement, width: number, height: number) {
|
|
31
|
-
const resizer = new Pica()
|
|
32
|
-
const canvas = document.createElement('canvas')
|
|
33
|
-
canvas.width = width
|
|
34
|
-
canvas.height = height
|
|
35
|
-
const result = await resizer.resize(image, canvas)
|
|
36
|
-
return result.getContext('2d')?.getImageData(0, 0, width, height).data
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
export function useBlurhash() {
|
|
40
|
-
async function encode(file: File) {
|
|
41
|
-
const imageUrl = URL.createObjectURL(file)
|
|
42
|
-
const image = await loadImage(imageUrl)
|
|
43
|
-
if ('width' in image && 'height' in image) {
|
|
44
|
-
const { width: newWidth, height: newHeight }
|
|
45
|
-
= getWidthHeightFromMaxSize(
|
|
46
|
-
image.width as number,
|
|
47
|
-
image.height as number,
|
|
48
|
-
32,
|
|
49
|
-
)
|
|
50
|
-
const imageData = await resizeImage(
|
|
51
|
-
image as ImageBitmap,
|
|
52
|
-
newWidth,
|
|
53
|
-
newHeight,
|
|
54
|
-
)
|
|
55
|
-
if (imageData) {
|
|
56
|
-
return remoteFunction.encode(
|
|
57
|
-
imageData,
|
|
58
|
-
newWidth,
|
|
59
|
-
newHeight,
|
|
60
|
-
4,
|
|
61
|
-
4,
|
|
62
|
-
)
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
return { encode, decode: remoteFunction.decode, loadImage }
|
|
68
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { MaybeElement, MaybeElementRef } from '@vueuse/core'
|
|
2
|
-
|
|
3
|
-
export function useComponentFocus(
|
|
4
|
-
inputTemplateRef: MaybeElementRef<MaybeElement>,
|
|
5
|
-
emit: ((name: 'blur', ...args: any[]) => void) & ((name: 'focus', ...args: any[]) => void) & ((name: any, ...args: any[]) => void),
|
|
6
|
-
) {
|
|
7
|
-
const { focused } = useFocus(inputTemplateRef)
|
|
8
|
-
|
|
9
|
-
watch(focused, (newValue) => {
|
|
10
|
-
emit(newValue ? 'focus' : 'blur', unref(inputTemplateRef))
|
|
11
|
-
})
|
|
12
|
-
|
|
13
|
-
return {
|
|
14
|
-
focused,
|
|
15
|
-
}
|
|
16
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import type { Ref } from 'vue'
|
|
2
|
-
import type { VvIconProps } from '../components/VvIcon'
|
|
3
|
-
import { Position, Side } from '../constants'
|
|
4
|
-
|
|
5
|
-
export function useComponentIcon(
|
|
6
|
-
icon?: Ref<string | VvIconProps | undefined>,
|
|
7
|
-
iconPosition?: Ref<string | undefined>,
|
|
8
|
-
) {
|
|
9
|
-
const hasIcon = computed(() => {
|
|
10
|
-
if (typeof icon?.value === 'string') {
|
|
11
|
-
return { name: icon?.value }
|
|
12
|
-
}
|
|
13
|
-
return icon?.value
|
|
14
|
-
})
|
|
15
|
-
const hasIconBefore = computed(() =>
|
|
16
|
-
iconPosition?.value === Position.before ? hasIcon.value : undefined,
|
|
17
|
-
)
|
|
18
|
-
const hasIconAfter = computed(() =>
|
|
19
|
-
iconPosition?.value === Position.after ? hasIcon.value : undefined,
|
|
20
|
-
)
|
|
21
|
-
const hasIconLeft = computed(() =>
|
|
22
|
-
iconPosition?.value === Side.left ? hasIcon.value : undefined,
|
|
23
|
-
)
|
|
24
|
-
const hasIconRight = computed(() =>
|
|
25
|
-
iconPosition?.value === Side.right ? hasIcon.value : undefined,
|
|
26
|
-
)
|
|
27
|
-
const hasIconTop = computed(() =>
|
|
28
|
-
iconPosition?.value === Side.top ? hasIcon.value : undefined,
|
|
29
|
-
)
|
|
30
|
-
const hasIconBottom = computed(() =>
|
|
31
|
-
iconPosition?.value === Side.bottom ? hasIcon.value : undefined,
|
|
32
|
-
)
|
|
33
|
-
return {
|
|
34
|
-
hasIcon,
|
|
35
|
-
hasIconLeft,
|
|
36
|
-
hasIconRight,
|
|
37
|
-
hasIconTop,
|
|
38
|
-
hasIconBottom,
|
|
39
|
-
hasIconBefore,
|
|
40
|
-
hasIconAfter,
|
|
41
|
-
}
|
|
42
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import type { Ref } from 'vue'
|
|
2
|
-
|
|
3
|
-
export function useDebouncedInput(
|
|
4
|
-
modelValue: Ref | undefined,
|
|
5
|
-
emit: (event: string, value: string | number) => void,
|
|
6
|
-
ms: string | number = 0,
|
|
7
|
-
{
|
|
8
|
-
getter = value => value,
|
|
9
|
-
setter = value => value,
|
|
10
|
-
}: {
|
|
11
|
-
getter?: (value: string | number) => string | number
|
|
12
|
-
setter?: (value: string | number) => string | number
|
|
13
|
-
} = {},
|
|
14
|
-
): Ref {
|
|
15
|
-
let timeout: NodeJS.Timeout
|
|
16
|
-
|
|
17
|
-
if (typeof ms === 'string') {
|
|
18
|
-
ms = Number.parseInt(ms)
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
return computed({
|
|
22
|
-
get: () => getter(modelValue?.value),
|
|
23
|
-
set: (value) => {
|
|
24
|
-
if (timeout) {
|
|
25
|
-
clearTimeout(timeout)
|
|
26
|
-
}
|
|
27
|
-
timeout = setTimeout(() => {
|
|
28
|
-
emit('update:modelValue', setter(value))
|
|
29
|
-
}, ms as number)
|
|
30
|
-
},
|
|
31
|
-
})
|
|
32
|
-
}
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
import type { ExtractPropTypes, PropType } from 'vue'
|
|
2
|
-
|
|
3
|
-
type VueProp =
|
|
4
|
-
| StringConstructor
|
|
5
|
-
| NumberConstructor
|
|
6
|
-
| ObjectConstructor
|
|
7
|
-
| FunctionConstructor
|
|
8
|
-
| SymbolConstructor
|
|
9
|
-
| ArrayConstructor
|
|
10
|
-
| BooleanConstructor
|
|
11
|
-
| PropType<unknown>
|
|
12
|
-
|
|
13
|
-
export function useDefaults<Definition>(
|
|
14
|
-
componentName: string,
|
|
15
|
-
propsDefinition: Definition,
|
|
16
|
-
props: Readonly<ExtractPropTypes<Definition>>,
|
|
17
|
-
) {
|
|
18
|
-
const volver = useVolver()
|
|
19
|
-
|
|
20
|
-
const volverComponentDefaults = computed(() => {
|
|
21
|
-
if (!volver || !volver.defaults.value?.[componentName]) {
|
|
22
|
-
return undefined
|
|
23
|
-
}
|
|
24
|
-
return volver.defaults.value[componentName]
|
|
25
|
-
})
|
|
26
|
-
|
|
27
|
-
return computed(() => {
|
|
28
|
-
if (volverComponentDefaults.value === undefined) {
|
|
29
|
-
return props
|
|
30
|
-
}
|
|
31
|
-
const componentDefaults = volverComponentDefaults.value
|
|
32
|
-
const simplifiedPropsDefinition = propsDefinition as {
|
|
33
|
-
[key: string]:
|
|
34
|
-
| VueProp
|
|
35
|
-
| VueProp[]
|
|
36
|
-
| { type: VueProp | VueProp[], default?: unknown }
|
|
37
|
-
}
|
|
38
|
-
const simplifiedProps = props as Record<string, unknown>
|
|
39
|
-
return Object.keys(simplifiedPropsDefinition).reduce((acc, key) => {
|
|
40
|
-
const propValue = simplifiedProps[key]
|
|
41
|
-
acc[key] = propValue
|
|
42
|
-
if (key in componentDefaults) {
|
|
43
|
-
// array of types
|
|
44
|
-
if (Array.isArray(simplifiedPropsDefinition[key])) {
|
|
45
|
-
const typeArray = simplifiedPropsDefinition[
|
|
46
|
-
key
|
|
47
|
-
] as VueProp[]
|
|
48
|
-
if (typeArray.length) {
|
|
49
|
-
const typeFunction = typeArray[0] as <T>() => T
|
|
50
|
-
if (typeFunction === propValue) {
|
|
51
|
-
acc[key] = componentDefaults[key]
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
// single type
|
|
56
|
-
if (typeof simplifiedPropsDefinition[key] === 'function') {
|
|
57
|
-
const typeFunction = simplifiedPropsDefinition[key] as <
|
|
58
|
-
T,
|
|
59
|
-
>() => T
|
|
60
|
-
if (typeFunction() === propValue) {
|
|
61
|
-
acc[key] = componentDefaults[key]
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
// object with type and default
|
|
65
|
-
if (typeof simplifiedPropsDefinition[key] === 'object') {
|
|
66
|
-
let defaultValue = (
|
|
67
|
-
simplifiedPropsDefinition[key] as { default: unknown }
|
|
68
|
-
).default
|
|
69
|
-
if (typeof defaultValue === 'function') {
|
|
70
|
-
defaultValue = defaultValue()
|
|
71
|
-
}
|
|
72
|
-
if (typeof defaultValue === 'object') {
|
|
73
|
-
if (
|
|
74
|
-
JSON.stringify(defaultValue)
|
|
75
|
-
=== JSON.stringify(propValue)
|
|
76
|
-
) {
|
|
77
|
-
acc[key] = componentDefaults[key]
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
else if (defaultValue === propValue) {
|
|
81
|
-
acc[key] = componentDefaults[key]
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
return acc
|
|
86
|
-
}, {} as Record<string, unknown>) as Readonly<
|
|
87
|
-
ExtractPropTypes<Definition>
|
|
88
|
-
>
|
|
89
|
-
})
|
|
90
|
-
}
|