@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,64 +0,0 @@
|
|
|
1
|
-
# VvIcon
|
|
2
|
-
|
|
3
|
-
VvIcon use [Iconify](https://iconify.design/) library and [Iconify Vue Component](https://docs.iconify.design/icon-components/vue/) under the hood.
|
|
4
|
-
|
|
5
|
-
## Props
|
|
6
|
-
|
|
7
|
-
`VvIcon` provide `name`, `provider` and `prefix` props.
|
|
8
|
-
Only `name` is required because the default provider is `vv` and the default `prefix` is `normal`.
|
|
9
|
-
|
|
10
|
-
## Custom icons
|
|
11
|
-
|
|
12
|
-
`@volverjs/ui-vue` has the node bin script `generate-icons` to create the [IconifyJSON](https://docs.iconify.design/types/iconify-json.html) objects.
|
|
13
|
-
This function for input params has the source path to the icons folder and the destination path for output json files.
|
|
14
|
-
|
|
15
|
-
```bash
|
|
16
|
-
generate-icons --srcPath=assets/icons --destPath=src/assets/icons
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
The source path can have subfolders. In this case the folder name will be the iconify [prefix](https://docs.iconify.design/icon-components/vue/#icon) and all the children SVG icons will be the icons `name`.
|
|
20
|
-
The `api-provider` is `@vv` by default, you can change it in plugin options.
|
|
21
|
-
|
|
22
|
-

|
|
23
|
-
|
|
24
|
-
For example, if you have the following folders:
|
|
25
|
-
|
|
26
|
-
```
|
|
27
|
-
assets/icons/simple/*.svg
|
|
28
|
-
assets/icons/normal/*.svg
|
|
29
|
-
assets/icons/detailed/*.svg
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
The script `generate-icons --srcPath=assets/icons` will generate three json files: `simple.json`, `normal.json` and `detailed.json`.
|
|
33
|
-
Each file contains the icons with the `@vv` provider and the prefix `simple`, `normal` and `detailed` respectively.
|
|
34
|
-
|
|
35
|
-
```
|
|
36
|
-
@vv:simple:{fileName}
|
|
37
|
-
@vv:normal:{fileName}
|
|
38
|
-
@vv:detailed:{fileName}
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
### Example
|
|
42
|
-
|
|
43
|
-
Put the SVG files inside a folder (ex. `assets/icons/custom/*.svg`).
|
|
44
|
-
Launch the script `generate-icons --srcPath=assets/icons/custom` to generate the `custom.json` file. Import the `custom.json` file in your `main.ts` file and add it to the `iconsCollections` array.
|
|
45
|
-
|
|
46
|
-
```typescript
|
|
47
|
-
import customIcons from '@/assets/icons/custom.json'
|
|
48
|
-
|
|
49
|
-
app.use(VolverPlugin, {
|
|
50
|
-
iconsCollections: [customIcons]
|
|
51
|
-
})
|
|
52
|
-
```
|
|
53
|
-
|
|
54
|
-
Now you can use the icons in your templates with the `prefix` prop.
|
|
55
|
-
|
|
56
|
-
```html
|
|
57
|
-
<vv-icon name="iconName" prefix="custom" />
|
|
58
|
-
```
|
|
59
|
-
|
|
60
|
-
Or using the `@vv:custom:{iconName}` syntax.
|
|
61
|
-
|
|
62
|
-
```html
|
|
63
|
-
<vv-icon name="custom:{iconName}" />
|
|
64
|
-
```
|
|
@@ -1,140 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import type { VvIconProps } from '.'
|
|
3
|
-
import { addIcon, Icon, iconExists } from '@iconify/vue'
|
|
4
|
-
import { VvIconPropsDefaults } from '.'
|
|
5
|
-
|
|
6
|
-
// props
|
|
7
|
-
const props = withDefaults(defineProps<VvIconProps>(), VvIconPropsDefaults)
|
|
8
|
-
|
|
9
|
-
const hasRotate = computed(() => {
|
|
10
|
-
if (typeof props.rotate === 'string') {
|
|
11
|
-
return Number.parseFloat(props.rotate)
|
|
12
|
-
}
|
|
13
|
-
return props.rotate
|
|
14
|
-
})
|
|
15
|
-
|
|
16
|
-
// data
|
|
17
|
-
const show = ref(true)
|
|
18
|
-
|
|
19
|
-
// inject plugin
|
|
20
|
-
const volver = useVolver()
|
|
21
|
-
|
|
22
|
-
// classes
|
|
23
|
-
const { modifiers } = toRefs(props)
|
|
24
|
-
const bemCssClasses = useModifiers('vv-icon', modifiers)
|
|
25
|
-
|
|
26
|
-
// provider name
|
|
27
|
-
const provider = computed(() => {
|
|
28
|
-
return props.provider || volver?.iconsProvider
|
|
29
|
-
})
|
|
30
|
-
|
|
31
|
-
// icon name
|
|
32
|
-
const icon = computed(() => {
|
|
33
|
-
const name = props.name ?? ''
|
|
34
|
-
// compose Iconify icon name format
|
|
35
|
-
const iconName = `@${provider.value}:${props.prefix}:${name}`
|
|
36
|
-
|
|
37
|
-
// Check if icon with prefix and provider exist
|
|
38
|
-
if (iconExists(iconName)) {
|
|
39
|
-
return iconName
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
// Check if icon exist into any collection
|
|
43
|
-
const iconsCollection = volver?.iconsCollections.find(
|
|
44
|
-
(iconsCollection) => {
|
|
45
|
-
const icon = `@${provider.value}:${iconsCollection.prefix}:${name}`
|
|
46
|
-
return iconExists(icon)
|
|
47
|
-
},
|
|
48
|
-
)
|
|
49
|
-
if (iconsCollection) {
|
|
50
|
-
return `@${provider.value}:${iconsCollection.prefix}:${name}`
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
return name
|
|
54
|
-
})
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* Get SVG content from SVG string
|
|
58
|
-
* @param {string} svg
|
|
59
|
-
* @return {SVGSVGElement | undefined} https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement
|
|
60
|
-
*/
|
|
61
|
-
function getSvgContent(svg: string): SVGSVGElement | undefined {
|
|
62
|
-
let dom
|
|
63
|
-
if (typeof window === 'undefined') {
|
|
64
|
-
// SSR
|
|
65
|
-
// eslint-disable-next-line ts/no-require-imports
|
|
66
|
-
const { JSDOM } = require('jsdom')
|
|
67
|
-
dom = new JSDOM().window
|
|
68
|
-
}
|
|
69
|
-
const domParser = dom ? new dom.DOMParser() : new window.DOMParser()
|
|
70
|
-
const svgDomString = domParser.parseFromString(svg, 'text/html')
|
|
71
|
-
const svgEl = svgDomString.querySelector('svg')
|
|
72
|
-
return svgEl
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
/**
|
|
76
|
-
* Add icon to current Iconify provider
|
|
77
|
-
* @param {string} svg
|
|
78
|
-
*/
|
|
79
|
-
function addIconFromSvg(svg: string) {
|
|
80
|
-
const svgContentEl = getSvgContent(svg)
|
|
81
|
-
const svgContent = svgContentEl?.innerHTML.trim() || ''
|
|
82
|
-
if (svgContentEl && svgContent) {
|
|
83
|
-
addIcon(`@${provider.value}:${props.prefix}:${props.name}`, {
|
|
84
|
-
body: svgContent,
|
|
85
|
-
// Set height and width from svg content
|
|
86
|
-
height: svgContentEl.viewBox.baseVal.height,
|
|
87
|
-
width: svgContentEl.viewBox.baseVal.width,
|
|
88
|
-
})
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
if (volver) {
|
|
93
|
-
if (
|
|
94
|
-
props.src
|
|
95
|
-
&& !iconExists(`@${provider.value}:${props.prefix}:${props.name}`)
|
|
96
|
-
) {
|
|
97
|
-
show.value = false
|
|
98
|
-
volver
|
|
99
|
-
.fetchIcon(props.src)
|
|
100
|
-
.then((svg?: string) => {
|
|
101
|
-
if (svg) {
|
|
102
|
-
addIconFromSvg(svg)
|
|
103
|
-
show.value = true
|
|
104
|
-
}
|
|
105
|
-
})
|
|
106
|
-
.catch((e) => {
|
|
107
|
-
throw new Error(`Error during fetch icon: ${e?.message}`)
|
|
108
|
-
})
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
if (props.svg) {
|
|
113
|
-
addIconFromSvg(props.svg)
|
|
114
|
-
}
|
|
115
|
-
</script>
|
|
116
|
-
|
|
117
|
-
<script lang="ts">
|
|
118
|
-
export default {
|
|
119
|
-
name: 'VvIcon',
|
|
120
|
-
}
|
|
121
|
-
</script>
|
|
122
|
-
|
|
123
|
-
<template>
|
|
124
|
-
<Icon
|
|
125
|
-
v-if="show"
|
|
126
|
-
:class="bemCssClasses"
|
|
127
|
-
v-bind="{
|
|
128
|
-
inline,
|
|
129
|
-
width,
|
|
130
|
-
height,
|
|
131
|
-
horizontalFlip,
|
|
132
|
-
verticalFlip,
|
|
133
|
-
flip,
|
|
134
|
-
rotate: hasRotate,
|
|
135
|
-
color,
|
|
136
|
-
onLoad,
|
|
137
|
-
icon,
|
|
138
|
-
}"
|
|
139
|
-
/>
|
|
140
|
-
</template>
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
import type { IconifyIconOnLoad, IconifyRenderMode } from '@iconify/vue'
|
|
2
|
-
|
|
3
|
-
export const ACTION_ICONS = {
|
|
4
|
-
showPassword: 'eye-on',
|
|
5
|
-
hidePassword: 'eye-off',
|
|
6
|
-
showDatePicker: 'calendar',
|
|
7
|
-
showTimePicker: 'time',
|
|
8
|
-
showColorPicker: 'color',
|
|
9
|
-
clear: 'close',
|
|
10
|
-
add: 'add',
|
|
11
|
-
remove: 'trash',
|
|
12
|
-
edit: 'edit',
|
|
13
|
-
download: 'download',
|
|
14
|
-
} as const
|
|
15
|
-
|
|
16
|
-
export enum IconPrefix {
|
|
17
|
-
simple = 'simple',
|
|
18
|
-
normal = 'normal',
|
|
19
|
-
detailed = 'detailed',
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
export type VvIconProps = {
|
|
23
|
-
/**
|
|
24
|
-
* Icon name
|
|
25
|
-
* Can be the full composition of iconify name "@{provider}:{prefix}:{name}" or "{prefix}:{name}" or "{name}"
|
|
26
|
-
* https://docs.iconify.design/api/providers.html#provider-in-icon-name
|
|
27
|
-
*/
|
|
28
|
-
name: string
|
|
29
|
-
color?: string
|
|
30
|
-
width?: string | number
|
|
31
|
-
height?: string | number
|
|
32
|
-
/**
|
|
33
|
-
* If custom collection is not added with "addCollection" DS class method, this prop could not be used
|
|
34
|
-
* Icon provider: https://docs.iconify.design/api/providers.html#provider-in-icon-name
|
|
35
|
-
*/
|
|
36
|
-
provider?: string
|
|
37
|
-
/**
|
|
38
|
-
* @default 'normal'
|
|
39
|
-
* The name of icon set.
|
|
40
|
-
* Icon default options prefix: simple | normal | detailed
|
|
41
|
-
*/
|
|
42
|
-
prefix?: IconPrefix | string
|
|
43
|
-
/**
|
|
44
|
-
* Url remote SVG icon
|
|
45
|
-
*/
|
|
46
|
-
src?: string
|
|
47
|
-
horizontalFlip?: boolean
|
|
48
|
-
verticalFlip?: boolean
|
|
49
|
-
/**
|
|
50
|
-
* String alternative to "horizontalFlip" and "verticalFlip".
|
|
51
|
-
* Example: https://docs.iconify.design/icon-components/vue/transform.html
|
|
52
|
-
*/
|
|
53
|
-
flip?: string
|
|
54
|
-
/**
|
|
55
|
-
* Icon render mode
|
|
56
|
-
* 'style' = 'bg' or 'mask', depending on icon content
|
|
57
|
-
* 'bg' = span with style using `background`
|
|
58
|
-
* 'mask' = span with style using `mask`
|
|
59
|
-
* 'svg' = svg
|
|
60
|
-
* Iconify doc: https://docs.iconify.design/iconify-icon/modes.html
|
|
61
|
-
*/
|
|
62
|
-
mode?: IconifyRenderMode
|
|
63
|
-
/**
|
|
64
|
-
* Toggles inline or block mode
|
|
65
|
-
* Example https://docs.iconify.design/icon-components/vue/inline.html
|
|
66
|
-
*/
|
|
67
|
-
inline?: boolean
|
|
68
|
-
/**
|
|
69
|
-
* rotates icon
|
|
70
|
-
* Example https://docs.iconify.design/icon-components/vue/transform.html
|
|
71
|
-
*/
|
|
72
|
-
rotate?: number | string
|
|
73
|
-
/**
|
|
74
|
-
* A callback that is called when icon data has been loaded
|
|
75
|
-
*/
|
|
76
|
-
onLoad?: IconifyIconOnLoad
|
|
77
|
-
/**
|
|
78
|
-
* SVG icon string
|
|
79
|
-
*/
|
|
80
|
-
svg?: string
|
|
81
|
-
/**
|
|
82
|
-
* Icon modifiers: vv-icon css helper classes, value/s are concatened with prefix 'vv-icon--'
|
|
83
|
-
* @values string | string[]
|
|
84
|
-
*/
|
|
85
|
-
modifiers?: string | string[]
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
export const VvIconPropsDefaults = {
|
|
89
|
-
prefix: IconPrefix.normal,
|
|
90
|
-
}
|
|
@@ -1,418 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import type { VvInputFileEvents } from '.'
|
|
3
|
-
import type { UploadedFile } from '../../types'
|
|
4
|
-
import { useVModel } from '@vueuse/core'
|
|
5
|
-
import { computed, onBeforeUnmount, ref } from 'vue'
|
|
6
|
-
import Sortable from 'vuedraggable'
|
|
7
|
-
import { VvInputFileProps } from '.'
|
|
8
|
-
import HintSlotFactory from '../common/HintSlot'
|
|
9
|
-
import VvButton from '../VvButton/VvButton.vue'
|
|
10
|
-
import VvIcon from '../VvIcon/VvIcon.vue'
|
|
11
|
-
|
|
12
|
-
// props, emit, slots and attrs
|
|
13
|
-
const props = defineProps(VvInputFileProps)
|
|
14
|
-
const emit = defineEmits<VvInputFileEvents>()
|
|
15
|
-
const slots = useSlots()
|
|
16
|
-
|
|
17
|
-
// props merged with volver defaults (now only for labels)
|
|
18
|
-
const propsDefaults = useDefaults<typeof VvInputFileProps>(
|
|
19
|
-
'VvInputFile',
|
|
20
|
-
VvInputFileProps,
|
|
21
|
-
props,
|
|
22
|
-
)
|
|
23
|
-
const { modifiers, id, readonly, disabled, icon, iconPosition, iconDownload }
|
|
24
|
-
= toRefs(props)
|
|
25
|
-
const hasId = useUniqueId(id)
|
|
26
|
-
const hasHintId = computed(() => `${hasId.value}-hint`)
|
|
27
|
-
|
|
28
|
-
const hasProgress = computed(() => {
|
|
29
|
-
if (!props.progress) {
|
|
30
|
-
return false
|
|
31
|
-
}
|
|
32
|
-
const progress
|
|
33
|
-
= typeof props.progress === 'string'
|
|
34
|
-
? Number.parseInt(props.progress)
|
|
35
|
-
: props.progress
|
|
36
|
-
return progress > 0 && progress < 100
|
|
37
|
-
})
|
|
38
|
-
|
|
39
|
-
const { hasIconBefore, hasIconAfter } = useComponentIcon(icon, iconPosition)
|
|
40
|
-
const { hasIcon: hasIconDownload } = useComponentIcon(iconDownload)
|
|
41
|
-
|
|
42
|
-
// styles
|
|
43
|
-
const bemCssClasses = useModifiers(
|
|
44
|
-
'vv-input-file',
|
|
45
|
-
modifiers,
|
|
46
|
-
computed(() => ({
|
|
47
|
-
'valid': props.valid === true,
|
|
48
|
-
'invalid': props.invalid === true,
|
|
49
|
-
'loading': props.loading && !hasProgress.value,
|
|
50
|
-
'disabled': props.disabled,
|
|
51
|
-
'required': props.required,
|
|
52
|
-
'readonly': props.readonly,
|
|
53
|
-
'dragging': isDragging.value,
|
|
54
|
-
'icon-before': !!hasIconBefore.value,
|
|
55
|
-
'icon-after': !!hasIconAfter.value,
|
|
56
|
-
'drop-area': hasDropArea.value,
|
|
57
|
-
})),
|
|
58
|
-
)
|
|
59
|
-
|
|
60
|
-
const {
|
|
61
|
-
HintSlot,
|
|
62
|
-
hasHintLabelOrSlot,
|
|
63
|
-
hasInvalidLabelOrSlot,
|
|
64
|
-
hintSlotScope,
|
|
65
|
-
} = HintSlotFactory(propsDefaults, slots)
|
|
66
|
-
|
|
67
|
-
const localModelValue = useVModel(props, 'modelValue', emit)
|
|
68
|
-
const files = computed({
|
|
69
|
-
get: () => {
|
|
70
|
-
if (
|
|
71
|
-
!localModelValue.value
|
|
72
|
-
|| (!Array.isArray(localModelValue.value)
|
|
73
|
-
&& !(localModelValue.value as File)?.name)
|
|
74
|
-
) {
|
|
75
|
-
return []
|
|
76
|
-
}
|
|
77
|
-
return Array.isArray(localModelValue.value)
|
|
78
|
-
? localModelValue.value
|
|
79
|
-
: [localModelValue.value]
|
|
80
|
-
},
|
|
81
|
-
set: (value) => {
|
|
82
|
-
if (isMultiple.value) {
|
|
83
|
-
localModelValue.value = value
|
|
84
|
-
return
|
|
85
|
-
}
|
|
86
|
-
localModelValue.value = value?.[0]
|
|
87
|
-
},
|
|
88
|
-
})
|
|
89
|
-
|
|
90
|
-
const isDisabledOrReadonly = computed(() => props.disabled || props.readonly)
|
|
91
|
-
|
|
92
|
-
const hasMax = computed(() => {
|
|
93
|
-
return typeof props.max === 'string' ? Number.parseInt(props.max) : props.max
|
|
94
|
-
})
|
|
95
|
-
|
|
96
|
-
const hasDropArea = computed(() => {
|
|
97
|
-
return props.dropArea && !isDisabledOrReadonly.value
|
|
98
|
-
})
|
|
99
|
-
|
|
100
|
-
const isMultiple = computed(() => {
|
|
101
|
-
if (!props.multiple) {
|
|
102
|
-
return false
|
|
103
|
-
}
|
|
104
|
-
if (!hasMax.value) {
|
|
105
|
-
return true
|
|
106
|
-
}
|
|
107
|
-
return hasMax.value - files.value.length > 1
|
|
108
|
-
})
|
|
109
|
-
|
|
110
|
-
const isDragging = ref(false)
|
|
111
|
-
|
|
112
|
-
const inputEl = ref<HTMLInputElement>()
|
|
113
|
-
function onDragenter() {
|
|
114
|
-
isDragging.value = true
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
function onDragleave() {
|
|
118
|
-
isDragging.value = false
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
function onDrop(event: DragEvent) {
|
|
122
|
-
if (!event.dataTransfer?.files) {
|
|
123
|
-
return
|
|
124
|
-
}
|
|
125
|
-
isDragging.value = false
|
|
126
|
-
addFiles(event.dataTransfer?.files)
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
function onChange() {
|
|
130
|
-
if (!inputEl.value?.files) {
|
|
131
|
-
return
|
|
132
|
-
}
|
|
133
|
-
addFiles(inputEl.value.files)
|
|
134
|
-
inputEl.value.value = ''
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
function addFiles(uploadedFiles: FileList) {
|
|
138
|
-
if (!props.multiple) {
|
|
139
|
-
if (Array.isArray(localModelValue.value)) {
|
|
140
|
-
localModelValue.value = [...uploadedFiles]
|
|
141
|
-
return
|
|
142
|
-
}
|
|
143
|
-
localModelValue.value = uploadedFiles[0]
|
|
144
|
-
return
|
|
145
|
-
}
|
|
146
|
-
let toReturn: (File | UploadedFile)[] = []
|
|
147
|
-
if (!Array.isArray(localModelValue.value) && localModelValue.value) {
|
|
148
|
-
toReturn = [localModelValue.value]
|
|
149
|
-
}
|
|
150
|
-
else {
|
|
151
|
-
toReturn
|
|
152
|
-
= localModelValue.value && Array.isArray(localModelValue.value)
|
|
153
|
-
? [...localModelValue.value]
|
|
154
|
-
: toReturn
|
|
155
|
-
}
|
|
156
|
-
for (const file of uploadedFiles) {
|
|
157
|
-
if (hasMax.value && toReturn.length >= hasMax.value) {
|
|
158
|
-
break
|
|
159
|
-
}
|
|
160
|
-
toReturn.push(file)
|
|
161
|
-
}
|
|
162
|
-
localModelValue.value = toReturn
|
|
163
|
-
selectedFileIndex.value = toReturn.length - 1
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
function onClickDropArea() {
|
|
167
|
-
if (!inputEl.value) {
|
|
168
|
-
return
|
|
169
|
-
}
|
|
170
|
-
if (!isDisabledOrReadonly.value) {
|
|
171
|
-
inputEl.value.click()
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
function onClickRemoveFile(index: number) {
|
|
176
|
-
const toRemove = !Array.isArray(localModelValue.value) ? localModelValue.value : localModelValue.value[index]
|
|
177
|
-
if (!toRemove) {
|
|
178
|
-
return
|
|
179
|
-
}
|
|
180
|
-
emit('remove', toRemove)
|
|
181
|
-
if (!Array.isArray(localModelValue.value)) {
|
|
182
|
-
localModelValue.value = undefined
|
|
183
|
-
return
|
|
184
|
-
}
|
|
185
|
-
if (selectedFileIndex.value === index) {
|
|
186
|
-
selectedFileIndex.value = 0
|
|
187
|
-
}
|
|
188
|
-
const newModelValue = [...localModelValue.value]
|
|
189
|
-
newModelValue.splice(index, 1)
|
|
190
|
-
localModelValue.value = newModelValue
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
const selectedFileIndex = ref(0)
|
|
194
|
-
const PREVIEW_MIME_TYPES = ['image/jpeg', 'image/png']
|
|
195
|
-
const previewSrc = computed(() => {
|
|
196
|
-
if (files.value.length === 0) {
|
|
197
|
-
return
|
|
198
|
-
}
|
|
199
|
-
if (!files.value[selectedFileIndex.value]) {
|
|
200
|
-
return undefined
|
|
201
|
-
}
|
|
202
|
-
if (files.value[selectedFileIndex.value] instanceof File) {
|
|
203
|
-
const currentFile = files.value[selectedFileIndex.value] as File
|
|
204
|
-
if (!PREVIEW_MIME_TYPES.includes(currentFile.type)) {
|
|
205
|
-
return undefined
|
|
206
|
-
}
|
|
207
|
-
return URL.createObjectURL(currentFile)
|
|
208
|
-
}
|
|
209
|
-
const currentFile = files.value[selectedFileIndex.value] as UploadedFile
|
|
210
|
-
if (currentFile.thumbnailUrl) {
|
|
211
|
-
return currentFile.thumbnailUrl
|
|
212
|
-
}
|
|
213
|
-
if (!PREVIEW_MIME_TYPES.includes(currentFile.type)) {
|
|
214
|
-
return undefined
|
|
215
|
-
}
|
|
216
|
-
return currentFile.url
|
|
217
|
-
})
|
|
218
|
-
|
|
219
|
-
watch(previewSrc, (_newValue, oldValue) => {
|
|
220
|
-
if (oldValue) {
|
|
221
|
-
URL.revokeObjectURL(oldValue)
|
|
222
|
-
}
|
|
223
|
-
})
|
|
224
|
-
|
|
225
|
-
onBeforeUnmount(() => {
|
|
226
|
-
if (previewSrc.value) {
|
|
227
|
-
URL.revokeObjectURL(previewSrc.value)
|
|
228
|
-
}
|
|
229
|
-
})
|
|
230
|
-
|
|
231
|
-
function formatBytes(bytes?: number, decimals?: number) {
|
|
232
|
-
if (!bytes) {
|
|
233
|
-
return
|
|
234
|
-
}
|
|
235
|
-
if (bytes === 0)
|
|
236
|
-
return '0 Bytes'
|
|
237
|
-
const k = 1024
|
|
238
|
-
const dm = !decimals ? 2 : decimals <= 0 ? 0 : decimals
|
|
239
|
-
const sizes = ['Bytes', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB']
|
|
240
|
-
const i = Math.floor(Math.log(bytes) / Math.log(k))
|
|
241
|
-
return `${Number.parseFloat((bytes / (k ** i)).toFixed(dm))} ${sizes[i]}`
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
function onClickDownloadFile(file: File | UploadedFile) {
|
|
245
|
-
emit('download', file)
|
|
246
|
-
const href = file instanceof File ? URL.createObjectURL(file) : file.url
|
|
247
|
-
if (!href) {
|
|
248
|
-
return
|
|
249
|
-
}
|
|
250
|
-
const link = document.createElement('a')
|
|
251
|
-
link.href = href
|
|
252
|
-
link.setAttribute('download', file.name)
|
|
253
|
-
document.body.appendChild(link)
|
|
254
|
-
link.click()
|
|
255
|
-
document.body.removeChild(link)
|
|
256
|
-
URL.revokeObjectURL(link.href)
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
function onClickSelectFile(index: number) {
|
|
260
|
-
selectedFileIndex.value = index
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
const dropdAreaActionLabel = computed(() => {
|
|
264
|
-
if (files.value.length === 0 || isMultiple.value) {
|
|
265
|
-
return props.labelAdd
|
|
266
|
-
}
|
|
267
|
-
return props.labelReplace
|
|
268
|
-
})
|
|
269
|
-
|
|
270
|
-
const dropAreaActionIcon = computed(() => {
|
|
271
|
-
if (files.value.length === 0 || isMultiple.value) {
|
|
272
|
-
return props.iconAdd
|
|
273
|
-
}
|
|
274
|
-
return props.iconReplace
|
|
275
|
-
})
|
|
276
|
-
|
|
277
|
-
function onSortEnd({ newIndex }: { newIndex: number | null }) {
|
|
278
|
-
if (newIndex !== null) {
|
|
279
|
-
selectedFileIndex.value = newIndex
|
|
280
|
-
}
|
|
281
|
-
}
|
|
282
|
-
</script>
|
|
283
|
-
|
|
284
|
-
<script lang="ts">
|
|
285
|
-
export default {
|
|
286
|
-
name: 'VvInputFile',
|
|
287
|
-
}
|
|
288
|
-
</script>
|
|
289
|
-
|
|
290
|
-
<template>
|
|
291
|
-
<div :class="bemCssClasses">
|
|
292
|
-
<label v-if="label" :for="hasId">
|
|
293
|
-
{{ label }}
|
|
294
|
-
</label>
|
|
295
|
-
<div
|
|
296
|
-
v-if="hasDropArea"
|
|
297
|
-
class="vv-input-file__drop-area"
|
|
298
|
-
@dragenter.prevent.stop="onDragenter"
|
|
299
|
-
@dragleave.prevent.stop="onDragleave"
|
|
300
|
-
@drop.prevent.stop="onDrop"
|
|
301
|
-
@dragover.prevent.stop
|
|
302
|
-
@click.stop="onClickDropArea"
|
|
303
|
-
>
|
|
304
|
-
<slot name="drop-area">
|
|
305
|
-
<picture class="vv-input-file__preview">
|
|
306
|
-
<img
|
|
307
|
-
v-if="previewSrc"
|
|
308
|
-
:src="previewSrc"
|
|
309
|
-
:alt="files[selectedFileIndex].name"
|
|
310
|
-
>
|
|
311
|
-
</picture>
|
|
312
|
-
<VvButton
|
|
313
|
-
v-if="!readonly"
|
|
314
|
-
modifiers="action"
|
|
315
|
-
:label="!previewSrc ? dropdAreaActionLabel : undefined"
|
|
316
|
-
:title="previewSrc ? dropdAreaActionLabel : undefined"
|
|
317
|
-
:disabled="disabled"
|
|
318
|
-
:class="{
|
|
319
|
-
'vv-input-file__drop-area-action': previewSrc,
|
|
320
|
-
}"
|
|
321
|
-
:icon="dropAreaActionIcon"
|
|
322
|
-
@click.stop="onClickDropArea"
|
|
323
|
-
/>
|
|
324
|
-
</slot>
|
|
325
|
-
</div>
|
|
326
|
-
<div class="vv-input-file__wrapper">
|
|
327
|
-
<VvIcon v-if="hasIconBefore" v-bind="hasIconBefore" />
|
|
328
|
-
<input
|
|
329
|
-
:id="hasId"
|
|
330
|
-
ref="inputEl"
|
|
331
|
-
type="file"
|
|
332
|
-
:readonly
|
|
333
|
-
:disabled
|
|
334
|
-
:required
|
|
335
|
-
:placeholder
|
|
336
|
-
:aria-describedby="hasHintLabelOrSlot ? hasHintId : undefined"
|
|
337
|
-
:aria-invalid="invalid"
|
|
338
|
-
:aria-errormessage="
|
|
339
|
-
hasInvalidLabelOrSlot ? hasHintId : undefined
|
|
340
|
-
"
|
|
341
|
-
:multiple="isMultiple"
|
|
342
|
-
:accept
|
|
343
|
-
:capture
|
|
344
|
-
:name
|
|
345
|
-
@change="onChange"
|
|
346
|
-
>
|
|
347
|
-
<progress
|
|
348
|
-
v-if="hasProgress"
|
|
349
|
-
class="vv-input-file__progress"
|
|
350
|
-
:value="progress"
|
|
351
|
-
max="100"
|
|
352
|
-
>
|
|
353
|
-
{{ progress }}%
|
|
354
|
-
</progress>
|
|
355
|
-
<VvIcon v-if="hasIconAfter" v-bind="hasIconAfter" />
|
|
356
|
-
</div>
|
|
357
|
-
<Sortable
|
|
358
|
-
v-model="files"
|
|
359
|
-
tag="ul"
|
|
360
|
-
class="vv-input-file__list"
|
|
361
|
-
item-key="name"
|
|
362
|
-
:move="() => sortable"
|
|
363
|
-
@end="onSortEnd"
|
|
364
|
-
>
|
|
365
|
-
<template #item="{ element: file, index }">
|
|
366
|
-
<li
|
|
367
|
-
class="vv-input-file__item"
|
|
368
|
-
:class="{
|
|
369
|
-
'active':
|
|
370
|
-
index === selectedFileIndex
|
|
371
|
-
&& hasDropArea
|
|
372
|
-
&& files.length > 1,
|
|
373
|
-
'cursor-move': sortable,
|
|
374
|
-
}"
|
|
375
|
-
@click.stop="onClickSelectFile(index)"
|
|
376
|
-
>
|
|
377
|
-
<button
|
|
378
|
-
v-if="hasIconDownload"
|
|
379
|
-
type="button"
|
|
380
|
-
class="vv-input-file__item-action"
|
|
381
|
-
:title="labelDownload"
|
|
382
|
-
@click.stop="onClickDownloadFile(file)"
|
|
383
|
-
>
|
|
384
|
-
<VvIcon v-bind="hasIconDownload" />
|
|
385
|
-
</button>
|
|
386
|
-
<div class="vv-input-file__item-name">
|
|
387
|
-
{{ file.name }}
|
|
388
|
-
</div>
|
|
389
|
-
<small class="vv-input-file__item-info">
|
|
390
|
-
{{ formatBytes(file.size) }}
|
|
391
|
-
</small>
|
|
392
|
-
<button
|
|
393
|
-
v-if="!readonly"
|
|
394
|
-
type="button"
|
|
395
|
-
class="vv-input-file__item-remove"
|
|
396
|
-
:title="labelRemove"
|
|
397
|
-
:disabled="disabled"
|
|
398
|
-
@click.stop="onClickRemoveFile(index)"
|
|
399
|
-
/>
|
|
400
|
-
</li>
|
|
401
|
-
</template>
|
|
402
|
-
</Sortable>
|
|
403
|
-
<HintSlot :id="hasHintId" class="vv-input-file__hint">
|
|
404
|
-
<template v-if="$slots.hint" #hint>
|
|
405
|
-
<slot name="hint" v-bind="hintSlotScope" />
|
|
406
|
-
</template>
|
|
407
|
-
<template v-if="$slots.loading" #loading>
|
|
408
|
-
<slot name="loading" v-bind="hintSlotScope" />
|
|
409
|
-
</template>
|
|
410
|
-
<template v-if="$slots.valid" #valid>
|
|
411
|
-
<slot name="valid" v-bind="hintSlotScope" />
|
|
412
|
-
</template>
|
|
413
|
-
<template v-if="$slots.invalid" #invalid>
|
|
414
|
-
<slot name="invalid" v-bind="hintSlotScope" />
|
|
415
|
-
</template>
|
|
416
|
-
</HintSlot>
|
|
417
|
-
</div>
|
|
418
|
-
</template>
|