@weni/unnnic-system 2.0.0 → 2.0.1
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/.vscode/extensions.json +3 -0
- package/README.md +36 -2
- package/dist/favicon.ico +0 -0
- package/dist/style.css +1 -0
- package/dist/unnnic.mjs +68066 -0
- package/dist/unnnic.umd.js +661 -44367
- package/package.json +76 -65
- package/src/assets/fonts/Material Symbols Rounded Filled.woff2 +0 -0
- package/src/assets/fonts/Material Symbols Rounded.woff2 +0 -0
- package/src/assets/fonts/fonts/icomoon.svg +163 -163
- package/src/assets/fonts/icons.css +582 -582
- package/src/assets/icons/Add1.vue +16 -0
- package/src/assets/icons/AddCircle1.vue +20 -0
- package/src/assets/icons/AlarmBell2.vue +20 -0
- package/src/assets/icons/AlarmBell3.vue +20 -0
- package/src/assets/icons/AlarmBellRing.vue +40 -0
- package/src/assets/icons/AlertCircle1.vue +25 -0
- package/src/assets/icons/AlertCircle11.vue +15 -0
- package/src/assets/icons/AmericanExpress.vue +18 -0
- package/src/assets/icons/AppWindowEdit1.vue +20 -0
- package/src/assets/icons/AppWindowEdit2.vue +45 -0
- package/src/assets/icons/ArrowButtonDown1.vue +15 -0
- package/src/assets/icons/ArrowButtonRight1.vue +15 -0
- package/src/assets/icons/ArrowButtonUp1.vue +15 -0
- package/src/assets/icons/ArrowDown11.vue +14 -0
- package/src/assets/icons/ArrowLeft11.vue +15 -0
- package/src/assets/icons/ArrowRedo.vue +15 -0
- package/src/assets/icons/ArrowRight11.vue +15 -0
- package/src/assets/icons/ArrowUndo.vue +15 -0
- package/src/assets/icons/Attachment.vue +16 -0
- package/src/assets/icons/Bin11.vue +26 -0
- package/src/assets/icons/BookAddress12.vue +20 -0
- package/src/assets/icons/BookAddress2.vue +15 -0
- package/src/assets/icons/BookLibrary1.vue +45 -0
- package/src/assets/icons/BookLibrary2.vue +17 -0
- package/src/assets/icons/Brazil.svg +21 -21
- package/src/assets/icons/Brazil.vue +74 -0
- package/src/assets/icons/Building21.vue +66 -0
- package/src/assets/icons/ButtonPlay1.vue +20 -0
- package/src/assets/icons/ButtonRefreshArrow1.vue +15 -0
- package/src/assets/icons/ButtonRefreshArrows1.vue +20 -0
- package/src/assets/icons/Charger1.vue +21 -0
- package/src/assets/icons/ChatTranslate1.vue +30 -0
- package/src/assets/icons/Check2.vue +16 -0
- package/src/assets/icons/CheckCircle11.vue +20 -0
- package/src/assets/icons/CheckCircle111.vue +15 -0
- package/src/assets/icons/CheckDouble.vue +15 -0
- package/src/assets/icons/CheckSquare1.vue +20 -0
- package/src/assets/icons/CheckSquare2.vue +20 -0
- package/src/assets/icons/CheckboxDefault.vue +19 -0
- package/src/assets/icons/CheckboxDisable.vue +19 -0
- package/src/assets/icons/CheckboxLess.vue +23 -0
- package/src/assets/icons/CheckboxSelect.vue +25 -0
- package/src/assets/icons/Close1.vue +16 -0
- package/src/assets/icons/Cog1.vue +21 -0
- package/src/assets/icons/Cog2.vue +16 -0
- package/src/assets/icons/CommonFileEmpty1.vue +15 -0
- package/src/assets/icons/CommonFileHorizontalImage1.vue +25 -0
- package/src/assets/icons/ControlsPause1.vue +20 -0
- package/src/assets/icons/ControlsPlay1.vue +15 -0
- package/src/assets/icons/CopyPaste1.vue +35 -0
- package/src/assets/icons/CurrencyDollarCircle1.vue +20 -0
- package/src/assets/icons/DefaultAvatar.vue +28 -0
- package/src/assets/icons/Delete1.vue +16 -0
- package/src/assets/icons/Delete11.vue +21 -0
- package/src/assets/icons/Delete21.vue +16 -0
- package/src/assets/icons/DeveloperCommunityGithub11.vue +15 -0
- package/src/assets/icons/DinersClub.vue +26 -0
- package/src/assets/icons/Discover.vue +47 -0
- package/src/assets/icons/DownloadBottom1.vue +20 -0
- package/src/assets/icons/DownloadThickBottom1.vue +20 -0
- package/src/assets/icons/Drag1.vue +27 -0
- package/src/assets/icons/EmailActionUnread1.vue +27 -0
- package/src/assets/icons/EmailActionUnread11.vue +18 -0
- package/src/assets/icons/Emoji.vue +31 -0
- package/src/assets/icons/Expand81.vue +31 -0
- package/src/assets/icons/ExpandFull1.vue +35 -0
- package/src/assets/icons/Export1.vue +26 -0
- package/src/assets/icons/Filter.vue +18 -0
- package/src/assets/icons/FitnessBiceps1.vue +15 -0
- package/src/assets/icons/Flash13.vue +16 -0
- package/src/assets/icons/Flash14.vue +16 -0
- package/src/assets/icons/FloppyDisk1.vue +30 -0
- package/src/assets/icons/Folder1.vue +16 -0
- package/src/assets/icons/Folder2.vue +16 -0
- package/src/assets/icons/GaugeDashboard1.vue +20 -0
- package/src/assets/icons/GaugeDashboard2.vue +40 -0
- package/src/assets/icons/GenericCard.vue +18 -0
- package/src/assets/icons/GraphStats1.vue +15 -0
- package/src/assets/icons/GraphStatsAscend2.vue +15 -0
- package/src/assets/icons/GraphStatsCircle1.vue +20 -0
- package/src/assets/icons/GraphStatsCircle11.vue +20 -0
- package/src/assets/icons/GraphStatsDescend2.vue +17 -0
- package/src/assets/icons/HeadphonesCustomerSupport1.vue +15 -0
- package/src/assets/icons/HeadphonesCustomerSupport2.vue +15 -0
- package/src/assets/icons/HeadphonesCustomerSupportHuman11.vue +20 -0
- package/src/assets/icons/Hierarchy32.vue +16 -0
- package/src/assets/icons/Hierarchy33.vue +16 -0
- package/src/assets/icons/House11.vue +21 -0
- package/src/assets/icons/House22.vue +16 -0
- package/src/assets/icons/Indicator.vue +18 -0
- package/src/assets/icons/InformationCircle4.vue +15 -0
- package/src/assets/icons/InteractionTime.vue +31 -0
- package/src/assets/icons/Jcb.vue +75 -0
- package/src/assets/icons/KeyboardArrowDown1.vue +15 -0
- package/src/assets/icons/KeyboardArrowLeft1.vue +15 -0
- package/src/assets/icons/KeyboardArrowRight1.vue +15 -0
- package/src/assets/icons/KeyboardReturn1.vue +18 -0
- package/src/assets/icons/KeyboardReturn11.vue +14 -0
- package/src/assets/icons/LayoutDashboard1.vue +30 -0
- package/src/assets/icons/LayoutDashboard2.vue +30 -0
- package/src/assets/icons/LayoutModule12.vue +26 -0
- package/src/assets/icons/LoadingCircle1.vue +72 -0
- package/src/assets/icons/Lock21.vue +21 -0
- package/src/assets/icons/Lock22.vue +16 -0
- package/src/assets/icons/LockUnlock11.vue +20 -0
- package/src/assets/icons/Logout11.vue +21 -0
- package/src/assets/icons/Mastercard.vue +27 -0
- package/src/assets/icons/Messages.vue +18 -0
- package/src/assets/icons/MessagesBubble1.vue +15 -0
- package/src/assets/icons/MessagesBubble3.vue +15 -0
- package/src/assets/icons/MessagesBubble4.vue +15 -0
- package/src/assets/icons/MessagingWeChat2.vue +20 -0
- package/src/assets/icons/MessagingWeChat3.vue +40 -0
- package/src/assets/icons/MessagingWhatsapp1.vue +20 -0
- package/src/assets/icons/Microphone.vue +21 -0
- package/src/assets/icons/NavigationMenuVertical1.vue +25 -0
- package/src/assets/icons/Notes1.vue +36 -0
- package/src/assets/icons/OfficeFilePdf11.vue +30 -0
- package/src/assets/icons/PaginateFilterText1.vue +35 -0
- package/src/assets/icons/PencilWrite1.vue +20 -0
- package/src/assets/icons/Phone3.vue +16 -0
- package/src/assets/icons/Phone4.vue +16 -0
- package/src/assets/icons/PhoneCharger1.vue +15 -0
- package/src/assets/icons/PhotographyEquipmentBag1.vue +25 -0
- package/src/assets/icons/PieLineGraph1.vue +35 -0
- package/src/assets/icons/Preferences.vue +74 -0
- package/src/assets/icons/QuestionCircle1.vue +25 -0
- package/src/assets/icons/QuestionCircle2.vue +15 -0
- package/src/assets/icons/RadioDefault.vue +17 -0
- package/src/assets/icons/RadioDisable.vue +17 -0
- package/src/assets/icons/RadioSelected.vue +23 -0
- package/src/assets/icons/RatingStar1.vue +13 -0
- package/src/assets/icons/RatingStar11.vue +15 -0
- package/src/assets/icons/ReadEmailAt1.vue +27 -0
- package/src/assets/icons/ResponseTime.vue +48 -0
- package/src/assets/icons/ScienceFictionRobot1.vue +40 -0
- package/src/assets/icons/ScienceFictionRobot2.vue +25 -0
- package/src/assets/icons/Search1.vue +16 -0
- package/src/assets/icons/SendEmail31.vue +13 -0
- package/src/assets/icons/SingleNeutral2.vue +20 -0
- package/src/assets/icons/SingleNeutralActions1.vue +20 -0
- package/src/assets/icons/SocialInstagram1.vue +15 -0
- package/src/assets/icons/SocialMediaFacebook1.vue +15 -0
- package/src/assets/icons/SocialMediaGoogle1.vue +26 -0
- package/src/assets/icons/SortAsc.vue +19 -0
- package/src/assets/icons/SortDefault.vue +20 -0
- package/src/assets/icons/SortDesc.vue +19 -0
- package/src/assets/icons/Spain.svg +498 -498
- package/src/assets/icons/Spain.vue +1846 -0
- package/src/assets/icons/StudyLightIdea1.vue +50 -0
- package/src/assets/icons/Subtract1.vue +16 -0
- package/src/assets/icons/SubtractCircle1.vue +20 -0
- package/src/assets/icons/SwitchDefault.vue +31 -0
- package/src/assets/icons/SwitchDefaultDisabled.vue +25 -0
- package/src/assets/icons/SwitchSelected.vue +31 -0
- package/src/assets/icons/SwitchSelectedDisabled.vue +23 -0
- package/src/assets/icons/SynchronizeArrowClock4.vue +20 -0
- package/src/assets/icons/SynchronizeArrowClock5.vue +20 -0
- package/src/assets/icons/TaskChecklist1.vue +20 -0
- package/src/assets/icons/TaskListClock1.vue +45 -0
- package/src/assets/icons/TextBold.vue +15 -0
- package/src/assets/icons/TextCenter.vue +35 -0
- package/src/assets/icons/TextItalic.vue +15 -0
- package/src/assets/icons/TextJustified.vue +35 -0
- package/src/assets/icons/TextLeft.vue +35 -0
- package/src/assets/icons/TextRight.vue +35 -0
- package/src/assets/icons/TextUnderline.vue +20 -0
- package/src/assets/icons/Ticket1.vue +39 -0
- package/src/assets/icons/Ticket2.vue +21 -0
- package/src/assets/icons/TimeClockCircle1.vue +20 -0
- package/src/assets/icons/TransferMessage.vue +24 -0
- package/src/assets/icons/Translate1.vue +41 -0
- package/src/assets/icons/Translate2.vue +41 -0
- package/src/assets/icons/Typing1.vue +21 -0
- package/src/assets/icons/USA.svg +28 -28
- package/src/assets/icons/USA.vue +192 -0
- package/src/assets/icons/Unionpay.vue +31 -0
- package/src/assets/icons/UnorderedList.vue +40 -0
- package/src/assets/icons/UploadBottom1.vue +20 -0
- package/src/assets/icons/VideoFileMp41.vue +30 -0
- package/src/assets/icons/View11.vue +21 -0
- package/src/assets/icons/ViewOff1.vue +35 -0
- package/src/assets/icons/VipCrownQueen2.vue +20 -0
- package/src/assets/icons/Visa.vue +35 -0
- package/src/assets/icons/add-1.svg +3 -3
- package/src/assets/icons/add-circle-1.svg +4 -4
- package/src/assets/icons/alarm-bell-ring.svg +8 -8
- package/src/assets/icons/alert-circle-1-1.svg +3 -3
- package/src/assets/icons/alert-circle-1.svg +5 -5
- package/src/assets/icons/american-express.svg +4 -4
- package/src/assets/icons/app-window-edit-1.svg +4 -4
- package/src/assets/icons/app-window-edit-2.svg +9 -9
- package/src/assets/icons/arrow-button-down-1.svg +3 -3
- package/src/assets/icons/arrow-button-up-1.svg +3 -3
- package/src/assets/icons/arrow-down-1-1.svg +3 -3
- package/src/assets/icons/arrow-left-1-1.svg +3 -3
- package/src/assets/icons/arrow-redo.svg +3 -3
- package/src/assets/icons/arrow-right-1-1.svg +3 -3
- package/src/assets/icons/arrow-undo.svg +3 -3
- package/src/assets/icons/attachment.svg +3 -3
- package/src/assets/icons/bin-1-1.svg +5 -5
- package/src/assets/icons/book-address-1-2.svg +4 -4
- package/src/assets/icons/book-address-2.svg +3 -3
- package/src/assets/icons/book-library-1.svg +9 -9
- package/src/assets/icons/book-library-2.svg +3 -3
- package/src/assets/icons/bookmark-tag-1.svg +3 -3
- package/src/assets/icons/bookmarkTag1.vue +17 -0
- package/src/assets/icons/building-2-1.svg +13 -13
- package/src/assets/icons/button-play-1.svg +4 -4
- package/src/assets/icons/button-refresh-arrow-1.svg +3 -3
- package/src/assets/icons/button-refresh-arrows-1.svg +4 -4
- package/src/assets/icons/charger-1.svg +4 -4
- package/src/assets/icons/chat-translate-1.svg +6 -6
- package/src/assets/icons/check-2.svg +3 -3
- package/src/assets/icons/check-circle-1-1-1.svg +3 -3
- package/src/assets/icons/check-circle-1-1.svg +4 -4
- package/src/assets/icons/check-double.svg +3 -3
- package/src/assets/icons/check-square-1.svg +4 -4
- package/src/assets/icons/check-square-2.svg +4 -4
- package/src/assets/icons/checkbox-default.svg +3 -3
- package/src/assets/icons/checkbox-disable.svg +3 -3
- package/src/assets/icons/checkbox-less.svg +4 -4
- package/src/assets/icons/checkbox-select.svg +4 -4
- package/src/assets/icons/close-1.svg +3 -3
- package/src/assets/icons/cog-1.svg +4 -4
- package/src/assets/icons/cog-2.svg +3 -3
- package/src/assets/icons/common-file-empty-1.svg +3 -3
- package/src/assets/icons/common-file-horizontal-image-1.svg +5 -5
- package/src/assets/icons/controls-pause-1.svg +4 -4
- package/src/assets/icons/controls-play-1.svg +3 -3
- package/src/assets/icons/copy-paste-1.svg +7 -7
- package/src/assets/icons/currency-dollar-circle-1.svg +4 -4
- package/src/assets/icons/default-avatar.svg +5 -5
- package/src/assets/icons/delete-1-1.svg +4 -4
- package/src/assets/icons/delete-1.svg +3 -3
- package/src/assets/icons/delete-2-1.svg +3 -3
- package/src/assets/icons/developer-community-github-1-1.svg +3 -3
- package/src/assets/icons/diners-club.svg +6 -6
- package/src/assets/icons/discover.svg +11 -11
- package/src/assets/icons/download-bottom-1.svg +4 -4
- package/src/assets/icons/download-thick-bottom-1.svg +4 -4
- package/src/assets/icons/drag-1.svg +10 -10
- package/src/assets/icons/email-action-unread-1-1.svg +4 -4
- package/src/assets/icons/email-action-unread-1.svg +10 -10
- package/src/assets/icons/emoji.svg +6 -6
- package/src/assets/icons/expand-8-1.svg +6 -6
- package/src/assets/icons/expand-full-1.svg +7 -7
- package/src/assets/icons/export-1.svg +5 -5
- package/src/assets/icons/filter.svg +3 -3
- package/src/assets/icons/fitness-biceps-1.svg +3 -3
- package/src/assets/icons/flash-1-3.svg +3 -3
- package/src/assets/icons/flash-1-4.svg +3 -3
- package/src/assets/icons/floppy-disk-1.svg +6 -6
- package/src/assets/icons/folder-1.svg +3 -3
- package/src/assets/icons/folder-2.svg +3 -3
- package/src/assets/icons/gauge-dashboard-1.svg +4 -4
- package/src/assets/icons/gauge-dashboard-2.svg +8 -8
- package/src/assets/icons/generic-card.svg +4 -4
- package/src/assets/icons/graph-stats-1.svg +3 -3
- package/src/assets/icons/graph-stats-ascend-2.svg +3 -3
- package/src/assets/icons/graph-stats-circle-1-1.svg +4 -4
- package/src/assets/icons/graph-stats-circle-1.svg +4 -4
- package/src/assets/icons/graph-stats-descend-2.svg +4 -4
- package/src/assets/icons/headphones-customer-support-1.svg +3 -3
- package/src/assets/icons/headphones-customer-support-2.svg +3 -3
- package/src/assets/icons/headphones-customer-support-human-1-1.svg +4 -4
- package/src/assets/icons/hierarchy-3-2.svg +3 -3
- package/src/assets/icons/hierarchy-3-3.svg +3 -3
- package/src/assets/icons/house-1-1.svg +4 -4
- package/src/assets/icons/house-2-2.svg +3 -3
- package/src/assets/icons/icon-script.py +27 -27
- package/src/assets/icons/indicator.svg +3 -3
- package/src/assets/icons/information-circle-4.svg +3 -3
- package/src/assets/icons/interaction-time.svg +5 -5
- package/src/assets/icons/jcb.svg +21 -21
- package/src/assets/icons/keyboard-arrow-down-1.svg +3 -3
- package/src/assets/icons/keyboard-arrow-left-1.svg +3 -3
- package/src/assets/icons/keyboard-arrow-right-1.svg +3 -3
- package/src/assets/icons/keyboard-return-1-1.svg +3 -3
- package/src/assets/icons/keyboard-return-1.svg +4 -4
- package/src/assets/icons/layout-dashboard-1.svg +6 -6
- package/src/assets/icons/layout-dashboard-2.svg +6 -6
- package/src/assets/icons/layout-module-1-2.svg +6 -6
- package/src/assets/icons/loading-circle-1.svg +19 -19
- package/src/assets/icons/lock-2-1.svg +4 -4
- package/src/assets/icons/lock-2-2.svg +3 -3
- package/src/assets/icons/lock-unlock-1-1.svg +4 -4
- package/src/assets/icons/logout-1-1.svg +4 -4
- package/src/assets/icons/mastercard.svg +6 -6
- package/src/assets/icons/messages-bubble-1.svg +3 -3
- package/src/assets/icons/messages-bubble-3.svg +3 -3
- package/src/assets/icons/messages-bubble-4.svg +3 -3
- package/src/assets/icons/messages.svg +3 -3
- package/src/assets/icons/messaging-we-chat-2.svg +4 -4
- package/src/assets/icons/messaging-we-chat-3.svg +8 -8
- package/src/assets/icons/messaging-whatsapp-1.svg +4 -4
- package/src/assets/icons/microphone.svg +4 -4
- package/src/assets/icons/move-expand-vertical-1.svg +3 -3
- package/src/assets/icons/moveExpandVertical1.vue +17 -0
- package/src/assets/icons/navigation-menu-vertical-1.svg +5 -5
- package/src/assets/icons/notes-1.svg +7 -7
- package/src/assets/icons/office-file-pdf-1-1.svg +6 -6
- package/src/assets/icons/paginate-filter-text-1.svg +7 -7
- package/src/assets/icons/pencil-write-1.svg +4 -4
- package/src/assets/icons/phone-3.svg +3 -3
- package/src/assets/icons/phone-4.svg +3 -3
- package/src/assets/icons/phone-charger-1.svg +3 -3
- package/src/assets/icons/photography-equipment-bag-1.svg +5 -5
- package/src/assets/icons/pie-line-graph-1.svg +7 -7
- package/src/assets/icons/preferences.svg +11 -11
- package/src/assets/icons/question-circle-1.svg +5 -5
- package/src/assets/icons/question-circle-2.svg +3 -3
- package/src/assets/icons/radio-default.svg +3 -3
- package/src/assets/icons/radio-disable.svg +3 -3
- package/src/assets/icons/radio-selected.svg +4 -4
- package/src/assets/icons/rating-star-1-1.svg +3 -3
- package/src/assets/icons/rating-star-1.svg +3 -3
- package/src/assets/icons/read-email-at-1.svg +10 -10
- package/src/assets/icons/response-time.svg +12 -12
- package/src/assets/icons/science-fiction-robot-1.svg +8 -8
- package/src/assets/icons/science-fiction-robot-2.svg +5 -5
- package/src/assets/icons/script-to-convert-svg-to-vue.js +20 -0
- package/src/assets/icons/search-1.svg +3 -3
- package/src/assets/icons/send-email-3-1.svg +3 -3
- package/src/assets/icons/single-neutral-2.svg +4 -4
- package/src/assets/icons/single-neutral-actions-1.svg +4 -4
- package/src/assets/icons/social-instagram-1.svg +3 -3
- package/src/assets/icons/social-media-facebook-1.svg +3 -3
- package/src/assets/icons/social-media-google-1.svg +6 -6
- package/src/assets/icons/sort-asc.svg +4 -4
- package/src/assets/icons/sort-default.svg +4 -4
- package/src/assets/icons/sort-desc.svg +4 -4
- package/src/assets/icons/study-light-idea-1.svg +10 -10
- package/src/assets/icons/subtract-1.svg +3 -3
- package/src/assets/icons/subtract-circle-1.svg +4 -4
- package/src/assets/icons/switch-default-disabled.svg +4 -4
- package/src/assets/icons/switch-default.svg +11 -11
- package/src/assets/icons/switch-selected-disabled.svg +4 -4
- package/src/assets/icons/switch-selected.svg +11 -11
- package/src/assets/icons/synchronize-arrow-clock-4.svg +4 -4
- package/src/assets/icons/synchronize-arrow-clock-5.svg +4 -4
- package/src/assets/icons/task-checklist-1.svg +4 -4
- package/src/assets/icons/task-list-clock-1.svg +9 -9
- package/src/assets/icons/text-bold.svg +3 -3
- package/src/assets/icons/text-center.svg +7 -7
- package/src/assets/icons/text-italic.svg +3 -3
- package/src/assets/icons/text-justified.svg +7 -7
- package/src/assets/icons/text-left.svg +7 -7
- package/src/assets/icons/text-right.svg +7 -7
- package/src/assets/icons/text-underline.svg +4 -4
- package/src/assets/icons/ticket-1.svg +9 -9
- package/src/assets/icons/ticket-2.svg +4 -4
- package/src/assets/icons/time-clock-circle-1.svg +4 -4
- package/src/assets/icons/transfer-message.svg +4 -4
- package/src/assets/icons/translate-1.svg +8 -8
- package/src/assets/icons/translate-2.svg +8 -8
- package/src/assets/icons/typing-1.svg +4 -4
- package/src/assets/icons/unionpay.svg +7 -7
- package/src/assets/icons/unordered-list.svg +8 -8
- package/src/assets/icons/upload-bottom-1.svg +4 -4
- package/src/assets/icons/video-file-mp4-1.svg +6 -6
- package/src/assets/icons/view-1-1.svg +4 -4
- package/src/assets/icons/view-off-1.svg +7 -7
- package/src/assets/icons/vip-crown-queen-2.svg +4 -4
- package/src/assets/icons/visa.svg +8 -8
- package/src/assets/img/flag/en.svg +28 -28
- package/src/assets/img/flag/pt-br.svg +21 -21
- package/src/assets/scss/colors.scss +241 -241
- package/src/assets/scss/fonts.scss +123 -123
- package/src/assets/scss/grid.scss +51 -51
- package/src/assets/scss/spacing.scss +103 -103
- package/src/assets/scss/unnnic.scss +10 -10
- package/src/components/Accordion/Accordion.vue +17 -10
- package/src/components/Alert/Alert.vue +73 -53
- package/src/components/Alert/AlertCaller.vue +1 -1
- package/src/components/Alert/Version1dot1.vue +196 -77
- package/src/components/AudioRecorder/AudioHandler.vue +16 -18
- package/src/components/AudioRecorder/AudioPlayer.vue +47 -7
- package/src/components/AudioRecorder/AudioRecorder.vue +47 -31
- package/src/components/AvatarIcon/AvatarIcon.vue +33 -16
- package/src/components/Banner/Banner.vue +1 -2
- package/src/components/Banner/InfoBanner.vue +5 -5
- package/src/components/Breadcrumb/Breadcrumb.vue +13 -15
- package/src/components/Button/Button.vue +174 -99
- package/src/components/Button/ButtonIcon.vue +13 -7
- package/src/components/Card/AccountCard.vue +3 -3
- package/src/components/Card/BlankCard.vue +11 -9
- package/src/components/Card/Card.vue +62 -35
- package/src/components/Card/CardCompany.vue +45 -22
- package/src/components/Card/CardData.vue +11 -5
- package/src/components/Card/CardStatusesContainer.vue +45 -14
- package/src/components/Card/ContentCard.vue +15 -5
- package/src/components/Card/DashCard.vue +8 -5
- package/src/components/Card/DefaultCard.vue +11 -5
- package/src/components/Card/MarketplaceCard.vue +19 -6
- package/src/components/Card/StatusCard.vue +12 -3
- package/src/components/Card/TitleCard.vue +9 -5
- package/src/components/CardImage/CardImage.vue +48 -26
- package/src/components/CardInformation/CardInformation.vue +6 -6
- package/src/components/CardNumber/CardNumber.vue +1 -1
- package/src/components/CardProject/CardProject.vue +31 -21
- package/src/components/Carousel/Carousel.vue +13 -15
- package/src/components/Carousel/TagCarousel.vue +27 -16
- package/src/components/ChartBar/ChartBar.vue +101 -64
- package/src/components/ChartLine/ChartLine.vue +64 -40
- package/src/components/ChartMultiLine/ChartMultiLine.vue +328 -0
- package/src/components/ChartMultiLine/Line/Line.vue +170 -0
- package/src/components/ChartRainbow/ChartRainbow.vue +87 -46
- package/src/components/ChatText/ChatText.vue +41 -15
- package/src/components/ChatsContact/ChatsContact.vue +332 -0
- package/src/components/ChatsDashboardTagLive/ChatsDashboardTagLive.vue +82 -0
- package/src/components/ChatsHeader/ChatsHeader.vue +320 -0
- package/src/components/ChatsMessage/ChatsMessage.vue +318 -0
- package/src/components/ChatsMessage/ChatsMessageStatusBackdrop.vue +78 -0
- package/src/components/ChatsMessage/ChatsMessageText.vue +80 -0
- package/src/components/{NavbarChats/NavbarChats.vue → ChatsNavbar/ChatsNavbar.vue} +30 -25
- package/src/components/ChatsUserAvatar/ChatsUserAvatar.vue +140 -0
- package/src/components/Checkbox/Checkbox.vue +14 -12
- package/src/components/CircleProgressBar/CircleProgressBar.vue +7 -3
- package/src/components/Collapse/Collapse.vue +141 -0
- package/src/components/DataArea/DataArea.vue +6 -3
- package/src/components/DateFilter/DateFilter.vue +9 -5
- package/src/components/DatePicker/DatePicker.vue +133 -76
- package/src/components/Dropdown/Dropdown.vue +66 -54
- package/src/components/Dropdown/DropdownItem.vue +15 -17
- package/src/components/Dropdown/DropdownSkeleton.vue +15 -8
- package/src/components/Dropdown/LanguageSelect.vue +56 -21
- package/src/components/EmojiPicker/EmojiPicker.vue +83 -0
- package/src/components/Flag.vue +2 -2
- package/src/components/FormElement/FormElement.vue +44 -4
- package/src/components/Icon/OldIconsMap.json +97 -0
- package/src/components/Icon.vue +228 -133
- package/src/components/IconLoading/IconLoading.vue +48 -0
- package/src/components/ImportCard/ImportCard.vue +36 -15
- package/src/components/Indicator/Indicator.vue +4 -2
- package/src/components/Input/BaseInput.vue +9 -22
- package/src/components/Input/Input.vue +30 -26
- package/src/components/Input/TextInput.vue +33 -31
- package/src/components/InputDatePicker/InputDatePicker.vue +38 -22
- package/src/components/Label/Label.vue +1 -1
- package/src/components/Modal/CallModal.vue +1 -1
- package/src/components/Modal/Modal.vue +62 -19
- package/src/components/ModalUpload/ModalUpload.vue +19 -16
- package/src/components/MoodRating/MoodRating.vue +36 -21
- package/src/components/MultiSelect/MultiSelect.vue +48 -25
- package/src/components/Pagination/Pagination.vue +22 -15
- package/src/components/ProgressBar/ProgressBar.vue +30 -17
- package/src/components/Radio/Radio.vue +45 -65
- package/src/components/Select/SelectItem.vue +49 -43
- package/src/components/SelectSmart/SelectSmart.vue +133 -70
- package/src/components/SelectSmart/SelectSmartMultipleHeader.vue +18 -4
- package/src/components/SelectSmart/SelectSmartOption.vue +22 -15
- package/src/components/Sidebar/Sidebar.vue +62 -59
- package/src/components/Sidebar/SidebarItem.vue +47 -36
- package/src/components/Sidebar/SidebarMenu.vue +16 -16
- package/src/components/Sidebar/SidebarPrimary.vue +79 -45
- package/src/components/SkeletonLoading/SkeletonLoading.vue +73 -60
- package/src/components/SkeletonLoading/skeletonTheme.vue +30 -19
- package/src/components/Slider/Slider.vue +25 -12
- package/src/components/StarRating/StarRating.vue +9 -5
- package/src/components/Switch/Switch.vue +23 -16
- package/src/components/Tab/Tab.vue +6 -3
- package/src/components/Table/Table.vue +14 -5
- package/src/components/Table/TableRow.vue +5 -4
- package/src/components/TabsExpanded/TabsExpanded.vue +29 -16
- package/src/components/Tag/BrandTag.vue +7 -4
- package/src/components/Tag/DefaultTag.vue +39 -41
- package/src/components/Tag/IndicatorTag.vue +9 -6
- package/src/components/Tag/Tag.vue +16 -20
- package/src/components/TextArea/TextArea.vue +22 -8
- package/src/components/ToolTip/ToolTip.vue +82 -64
- package/src/components/TransitionRipple/TransitionRipple.vue +126 -0
- package/src/components/UploadArea/UploadArea.vue +31 -14
- package/src/components/config.js +0 -1
- package/src/components/grid/Grid.vue +16 -11
- package/src/components/icons/IconCommunity.vue +12 -0
- package/src/components/icons/IconDocumentation.vue +12 -0
- package/src/components/icons/IconEcosystem.vue +12 -0
- package/src/components/icons/IconSupport.vue +12 -0
- package/src/components/icons/IconTooling.vue +19 -0
- package/src/components/index.js +48 -32
- package/src/index.js +10 -0
- package/src/locales/en.json +15 -19
- package/src/locales/es.json +15 -19
- package/src/locales/pt_br.json +15 -19
- package/src/main.js +5 -10
- package/src/mixins/i18n.js +60 -0
- package/src/stories/Accordion.stories.js +9 -4
- package/src/stories/Alert.stories.js +79 -4
- package/src/stories/AvatarIcon.stories.js +28 -12
- package/src/stories/Banner.stories.js +28 -21
- package/src/stories/Breadcrumb.stories.js +10 -10
- package/src/stories/Button.stories.js +112 -38
- package/src/stories/ButtonIcon.stories.js +4 -13
- package/src/stories/Card.stories.js +126 -91
- package/src/stories/CardCompany.stories.js +50 -32
- package/src/stories/CardData.stories.js +2 -1
- package/src/stories/CardImage.stories.js +15 -12
- package/src/stories/CardNumber.stories.js +4 -25
- package/src/stories/CardProject.stories.js +1 -1
- package/src/stories/Carousel.stories.js +4 -3
- package/src/stories/ChartBar.stories.js +68 -51
- package/src/stories/ChartLine.stories.js +32 -23
- package/src/stories/ChartMultiLine.stories.js +59 -0
- package/src/stories/ChartRainbow.stories.js +8 -25
- package/src/stories/ChatsContact.stories.js +90 -0
- package/src/stories/ChatsDashboardTagLive.stories.js +24 -0
- package/src/stories/ChatsHeader.stories.js +93 -0
- package/src/stories/ChatsMessage.stories.js +246 -0
- package/src/stories/ChatsNavbar.stories.js +65 -0
- package/src/stories/ChatsUserAvatar.stories.js +35 -0
- package/src/stories/Checkbox.stories.js +24 -17
- package/src/stories/CircleProgressBar.stories.js +1 -7
- package/src/stories/Collapse.stories.js +97 -0
- package/src/stories/Comment.stories.js +13 -10
- package/src/stories/DataArea.stories.js +22 -18
- package/src/stories/DatePicker.stories.js +28 -21
- package/src/stories/Dropdown.stories.js +8 -2
- package/src/stories/EmojiPicker.stories.js +59 -0
- package/src/stories/Grid.stories.js +6 -1
- package/src/stories/Icon.stories.js +4 -13
- package/src/stories/IconLoading.stories.js +126 -0
- package/src/stories/ImportCard.stories.js +6 -1
- package/src/stories/Input.stories.js +13 -7
- package/src/stories/Introduction.mdx +196 -0
- package/src/stories/Label.stories.js +4 -9
- package/src/stories/LanguageSelect.stories.js +3 -1
- package/src/stories/Modal.stories.js +22 -5
- package/src/stories/ModalUpload.stories.js +17 -21
- package/src/stories/MoodRating.stories.js +5 -4
- package/src/stories/MultiSelect.stories.js +2 -1
- package/src/stories/Pagination.stories.js +19 -5
- package/src/stories/ProgressBar.stories.js +1 -1
- package/src/stories/Radio.stories.js +6 -4
- package/src/stories/SelectSmart.mdx +138 -0
- package/src/stories/SelectSmart.stories.js +144 -117
- package/src/stories/Sidebar.stories.js +3 -2
- package/src/stories/SidebarPrimary.stories.js +54 -40
- package/src/stories/SkeletonLoading.stories.js +15 -4
- package/src/stories/Slider.stories.js +6 -8
- package/src/stories/StarRating.stories.js +6 -9
- package/src/stories/Switch.stories.js +2 -1
- package/src/stories/Table.stories.js +1 -1
- package/src/stories/TabsExpanded.stories.js +30 -27
- package/src/stories/Tag.stories.js +23 -24
- package/src/stories/TextArea.stories.js +2 -0
- package/src/stories/ToolTip.stories.js +10 -13
- package/src/stories/TransitionRipple.stories.js +34 -0
- package/src/stories/UploadArea.stories.js +22 -31
- package/src/stories/assets/images/un.png +0 -0
- package/src/stories/assets/images/unnnic.png +0 -0
- package/src/stories/assets/images/unnnicPortrait.png +0 -0
- package/src/stories/assets/videos/weni.mp4 +0 -0
- package/src/utils/call.js +37 -14
- package/src/utils/colorTokens.js +2 -0
- package/src/utils/icons.js +352 -353
- package/src/utils/plugins/i18n.js +2 -7
- package/.eslintrc.js +0 -20
- package/babel.config.js +0 -16
- package/dist/demo.html +0 -10
- package/dist/img/u1F601.0f41115c.png +0 -0
- package/dist/img/u1F610.a415c879.png +0 -0
- package/dist/img/u1F625.01b659bc.png +0 -0
- package/dist/img/u1F641.f740da74.png +0 -0
- package/dist/img/u1F645.1ff7ba1e.png +0 -0
- package/dist/scss/colors.scss +0 -241
- package/dist/scss/fonts.scss +0 -123
- package/dist/scss/grid.scss +0 -52
- package/dist/scss/spacing.scss +0 -103
- package/dist/scss/unnnic.scss +0 -10
- package/dist/unnnic.common.js +0 -44493
- package/dist/unnnic.common.js.map +0 -1
- package/dist/unnnic.css +0 -1
- package/dist/unnnic.umd.js.map +0 -1
- package/dist/unnnic.umd.min.js +0 -292
- package/dist/unnnic.umd.min.js.map +0 -1
- package/jest.config.js +0 -3
- package/package-lock.json +0 -60419
- package/public/index.html +0 -17
- package/src/assets/logo.png +0 -0
- package/src/components/AutocompleteSelect/AutocompleteSelect.vue +0 -338
- package/src/components/CardFlow/CardFlow.vue +0 -175
- package/src/components/Input/Autocomplete.vue +0 -325
- package/src/components/InputNext/InputNext.vue +0 -260
- package/src/components/ModalNext/ModalNext.vue +0 -396
- package/src/components/Select/Select.vue +0 -409
- package/src/components/SelectListItem/SelectListItem.vue +0 -125
- package/src/components/TextEditor/TextEditor.vue +0 -530
- package/src/stories/Autocomplete.stories.js +0 -55
- package/src/stories/AutocompleteSelect.stories.js +0 -45
- package/src/stories/CardFlow.stories.js +0 -44
- package/src/stories/Colors.stories.mdx +0 -91
- package/src/stories/DropdownSkeleton.stories.js +0 -15
- package/src/stories/Font.stories.mdx +0 -80
- package/src/stories/InputNext.stories.js +0 -109
- package/src/stories/Introduction.stories.mdx +0 -207
- package/src/stories/ModalNext.stories.js +0 -171
- package/src/stories/NavbarChats.stories.js +0 -68
- package/src/stories/Select.stories.js +0 -62
- package/src/stories/SelectListItem.stories.js +0 -63
- package/src/stories/TextEditor.stories.js +0 -80
- package/vue.config.js +0 -26
|
@@ -2,21 +2,29 @@
|
|
|
2
2
|
<div class="unnnic-mood-rating">
|
|
3
3
|
<div class="title">{{ title }}</div>
|
|
4
4
|
|
|
5
|
-
<div :class="['moods', { selected:
|
|
6
|
-
<div
|
|
7
|
-
|
|
5
|
+
<div :class="['moods', { selected: modelValue !== null }]">
|
|
6
|
+
<div
|
|
7
|
+
v-for="(mood, index) in moods"
|
|
8
|
+
:key="index"
|
|
9
|
+
class="mood"
|
|
10
|
+
>
|
|
11
|
+
<UnnnicToolTip
|
|
8
12
|
side="bottom"
|
|
9
13
|
:text="titlesMoods[index]"
|
|
10
14
|
enabled
|
|
11
15
|
>
|
|
12
16
|
<img
|
|
13
17
|
:src="mood.image"
|
|
14
|
-
@click="
|
|
18
|
+
@click="
|
|
19
|
+
modelValue && index === modelValue - 1
|
|
20
|
+
? $emit('update:model-value', null)
|
|
21
|
+
: $emit('update:model-value', index + 1)
|
|
22
|
+
"
|
|
15
23
|
:class="{
|
|
16
|
-
active:
|
|
24
|
+
active: modelValue && index === modelValue - 1,
|
|
17
25
|
}"
|
|
18
|
-
|
|
19
|
-
</
|
|
26
|
+
/>
|
|
27
|
+
</UnnnicToolTip>
|
|
20
28
|
</div>
|
|
21
29
|
</div>
|
|
22
30
|
</div>
|
|
@@ -37,7 +45,7 @@ export default {
|
|
|
37
45
|
},
|
|
38
46
|
|
|
39
47
|
props: {
|
|
40
|
-
|
|
48
|
+
modelValue: {
|
|
41
49
|
type: Number,
|
|
42
50
|
},
|
|
43
51
|
|
|
@@ -55,24 +63,30 @@ export default {
|
|
|
55
63
|
|
|
56
64
|
data() {
|
|
57
65
|
return {
|
|
58
|
-
moods: [
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
66
|
+
moods: [
|
|
67
|
+
{
|
|
68
|
+
image: mood1,
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
image: mood2,
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
image: mood3,
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
image: mood4,
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
image: mood5,
|
|
81
|
+
},
|
|
82
|
+
],
|
|
69
83
|
};
|
|
70
84
|
},
|
|
71
85
|
};
|
|
72
86
|
</script>
|
|
73
87
|
|
|
74
88
|
<style lang="scss" scoped>
|
|
75
|
-
@import
|
|
89
|
+
@import '../../assets/scss/unnnic.scss';
|
|
76
90
|
|
|
77
91
|
.unnnic-mood-rating {
|
|
78
92
|
text-align: center;
|
|
@@ -104,7 +118,8 @@ export default {
|
|
|
104
118
|
width: $unnnic-icon-size-lg;
|
|
105
119
|
transition: all 300ms;
|
|
106
120
|
|
|
107
|
-
&:hover,
|
|
121
|
+
&:hover,
|
|
122
|
+
&.active {
|
|
108
123
|
opacity: 1;
|
|
109
124
|
width: $unnnic-icon-size-xl;
|
|
110
125
|
}
|
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div
|
|
3
|
-
|
|
2
|
+
<div
|
|
3
|
+
:class="expand ? 'expand-multiselect' : 'normal-multiselect'"
|
|
4
|
+
tabindex="-1"
|
|
5
|
+
>
|
|
6
|
+
<span
|
|
7
|
+
class="select-permission-label"
|
|
8
|
+
v-if="label"
|
|
9
|
+
>{{ label }}</span
|
|
10
|
+
>
|
|
4
11
|
<div
|
|
5
12
|
@keypress="handleIsOpenKeyboard"
|
|
6
13
|
@click="active = !active"
|
|
@@ -14,20 +21,35 @@
|
|
|
14
21
|
scheme="neutral-dark"
|
|
15
22
|
/>
|
|
16
23
|
</div>
|
|
17
|
-
<div
|
|
24
|
+
<div
|
|
25
|
+
v-if="active"
|
|
26
|
+
class="select-content"
|
|
27
|
+
v-on-click-outside="onClickOutside"
|
|
28
|
+
tabindex="0"
|
|
29
|
+
>
|
|
18
30
|
<div>
|
|
19
|
-
<template
|
|
20
|
-
|
|
31
|
+
<template
|
|
32
|
+
v-for="(group, indexGroup) in modelValue"
|
|
33
|
+
:key="`group-${indexGroup}`"
|
|
34
|
+
>
|
|
35
|
+
<h6
|
|
36
|
+
v-if="!hideGroupTitle"
|
|
37
|
+
class="title"
|
|
38
|
+
:key="`title-${indexGroup}`"
|
|
39
|
+
>
|
|
21
40
|
{{ group.title }}
|
|
22
41
|
</h6>
|
|
23
|
-
<section
|
|
24
|
-
<template
|
|
42
|
+
<section>
|
|
43
|
+
<template
|
|
44
|
+
v-for="(item, indexItem) in group.items"
|
|
45
|
+
:key="`item-${indexItem}`"
|
|
46
|
+
>
|
|
25
47
|
<div
|
|
26
48
|
@click="change(indexGroup, indexItem)"
|
|
27
49
|
:key="indexItem + 'input'"
|
|
28
50
|
v-if="hideRadio"
|
|
29
51
|
class="unnnic-radio-container unnnic-radio-container--sm"
|
|
30
|
-
style="cursor: pointer
|
|
52
|
+
style="cursor: pointer"
|
|
31
53
|
>
|
|
32
54
|
<strong>{{ item.title }}</strong>
|
|
33
55
|
<span>{{ item.description }}</span>
|
|
@@ -35,12 +57,12 @@
|
|
|
35
57
|
<UnnnicRadio
|
|
36
58
|
v-else
|
|
37
59
|
name=""
|
|
38
|
-
:
|
|
39
|
-
@
|
|
60
|
+
:modelValue="group.selected"
|
|
61
|
+
@update:model-value="change(indexGroup, $event)"
|
|
40
62
|
:value="indexItem"
|
|
41
63
|
id=""
|
|
42
64
|
size="sm"
|
|
43
|
-
:key="indexItem + 'input'"
|
|
65
|
+
:key="'else' + indexItem + 'input'"
|
|
44
66
|
class=""
|
|
45
67
|
>
|
|
46
68
|
<strong>{{ item.title }}</strong>
|
|
@@ -55,22 +77,18 @@
|
|
|
55
77
|
</template>
|
|
56
78
|
|
|
57
79
|
<script>
|
|
58
|
-
import
|
|
80
|
+
import { vOnClickOutside } from '@vueuse/components';
|
|
59
81
|
import UnnnicIcon from '../Icon.vue';
|
|
60
82
|
import UnnnicRadio from '../Radio/Radio.vue';
|
|
61
83
|
|
|
62
84
|
export default {
|
|
63
|
-
name: '
|
|
85
|
+
name: 'UnnnicMultiSelect',
|
|
64
86
|
components: {
|
|
65
87
|
UnnnicIcon,
|
|
66
88
|
UnnnicRadio,
|
|
67
89
|
},
|
|
68
|
-
model: {
|
|
69
|
-
prop: 'groups',
|
|
70
|
-
event: 'change',
|
|
71
|
-
},
|
|
72
90
|
directives: {
|
|
73
|
-
|
|
91
|
+
onClickOutside: vOnClickOutside,
|
|
74
92
|
},
|
|
75
93
|
props: {
|
|
76
94
|
isOpen: {
|
|
@@ -83,7 +101,7 @@ export default {
|
|
|
83
101
|
type: String,
|
|
84
102
|
default: '',
|
|
85
103
|
},
|
|
86
|
-
|
|
104
|
+
modelValue: {
|
|
87
105
|
type: Array,
|
|
88
106
|
default: () => [],
|
|
89
107
|
},
|
|
@@ -118,7 +136,10 @@ export default {
|
|
|
118
136
|
},
|
|
119
137
|
methods: {
|
|
120
138
|
handleIsOpenKeyboard(event) {
|
|
121
|
-
if (
|
|
139
|
+
if (
|
|
140
|
+
document.querySelector('.select-permission:focus-visible') &&
|
|
141
|
+
event.keyCode === 32
|
|
142
|
+
) {
|
|
122
143
|
this.active = !this.active;
|
|
123
144
|
}
|
|
124
145
|
},
|
|
@@ -130,8 +151,8 @@ export default {
|
|
|
130
151
|
|
|
131
152
|
change(indexGroup, indexSelected) {
|
|
132
153
|
this.$emit(
|
|
133
|
-
'
|
|
134
|
-
this.
|
|
154
|
+
'update:model-value',
|
|
155
|
+
this.modelValue.map((item, index) => {
|
|
135
156
|
if (index === indexGroup) {
|
|
136
157
|
let selected = indexSelected;
|
|
137
158
|
if (this.unselectable && item.selected === indexSelected) {
|
|
@@ -240,7 +261,8 @@ export default {
|
|
|
240
261
|
& + h6 {
|
|
241
262
|
margin-top: $unnnic-spacing-stack-sm;
|
|
242
263
|
padding-top: $unnnic-spacing-stack-sm;
|
|
243
|
-
border-top: $unnnic-border-width-thinner solid
|
|
264
|
+
border-top: $unnnic-border-width-thinner solid
|
|
265
|
+
$unnnic-color-neutral-darkest;
|
|
244
266
|
}
|
|
245
267
|
|
|
246
268
|
strong,
|
|
@@ -261,10 +283,11 @@ export default {
|
|
|
261
283
|
& + .unnnic-radio-container {
|
|
262
284
|
margin-top: $unnnic-spacing-stack-sm;
|
|
263
285
|
padding-top: $unnnic-spacing-stack-sm;
|
|
264
|
-
border-top: $unnnic-border-width-thinner solid
|
|
286
|
+
border-top: $unnnic-border-width-thinner solid
|
|
287
|
+
$unnnic-color-neutral-lightest;
|
|
265
288
|
}
|
|
266
289
|
|
|
267
|
-
|
|
290
|
+
:deep(.unnnic-icon) {
|
|
268
291
|
margin-right: $unnnic-inline-xs;
|
|
269
292
|
}
|
|
270
293
|
}
|
|
@@ -1,27 +1,30 @@
|
|
|
1
|
+
<!-- eslint-disable vue/multi-word-component-names -->
|
|
1
2
|
<template>
|
|
2
3
|
<div class="pagination">
|
|
3
|
-
<
|
|
4
|
-
type="
|
|
4
|
+
<UnnnicButton
|
|
5
|
+
type="tertiary"
|
|
5
6
|
size="small"
|
|
6
|
-
|
|
7
|
+
iconCenter="arrow-left-1-1"
|
|
7
8
|
:disabled="!canPrevious || disabled"
|
|
8
9
|
@click="previousPage"
|
|
9
10
|
/>
|
|
10
11
|
|
|
11
|
-
<
|
|
12
|
+
<UnnnicButton
|
|
12
13
|
v-for="(page, index) in pages"
|
|
13
14
|
:key="index"
|
|
14
|
-
:type="page === value ? 'secondary' : '
|
|
15
|
+
:type="page === value ? 'secondary' : 'tertiary'"
|
|
15
16
|
size="small"
|
|
16
|
-
:text="
|
|
17
|
+
:text="
|
|
18
|
+
['left-hidden', 'right-hidden'].includes(page) ? '...' : String(page)
|
|
19
|
+
"
|
|
17
20
|
@click="selectPage(page)"
|
|
18
21
|
:disabled="disabled"
|
|
19
22
|
/>
|
|
20
23
|
|
|
21
|
-
<
|
|
22
|
-
type="
|
|
24
|
+
<UnnnicButton
|
|
25
|
+
type="tertiary"
|
|
23
26
|
size="small"
|
|
24
|
-
|
|
27
|
+
iconCenter="arrow-right-1-1"
|
|
25
28
|
:disabled="!canNext || disabled"
|
|
26
29
|
@click="nextPage"
|
|
27
30
|
/>
|
|
@@ -76,13 +79,13 @@ export default {
|
|
|
76
79
|
const maxToRemove = this.max - plus - 3;
|
|
77
80
|
|
|
78
81
|
if (this.reference > 3) {
|
|
79
|
-
const toRemove =
|
|
82
|
+
const toRemove = this.reference - 2;
|
|
80
83
|
const maxRemove = toRemove > maxToRemove ? maxToRemove : toRemove;
|
|
81
84
|
pages.splice(1, maxRemove, 'left-hidden');
|
|
82
85
|
}
|
|
83
86
|
|
|
84
87
|
if (this.reference < this.max - plus - 1) {
|
|
85
|
-
const toRemove =
|
|
88
|
+
const toRemove = this.max - plus - this.reference;
|
|
86
89
|
const maxRemove = toRemove > maxToRemove ? maxToRemove : toRemove;
|
|
87
90
|
pages.splice(-(maxRemove + 1), maxRemove, 'right-hidden');
|
|
88
91
|
}
|
|
@@ -102,17 +105,21 @@ export default {
|
|
|
102
105
|
methods: {
|
|
103
106
|
selectPage(page) {
|
|
104
107
|
if (page === 'left-hidden') {
|
|
105
|
-
const pageNumber =
|
|
108
|
+
const pageNumber =
|
|
109
|
+
this.pages[this.pages.indexOf('left-hidden') + 1] - 1;
|
|
106
110
|
|
|
107
111
|
this.$emit('input', pageNumber);
|
|
108
112
|
this.setReference(pageNumber);
|
|
109
113
|
} else if (page === 'right-hidden') {
|
|
110
|
-
const pageNumber =
|
|
114
|
+
const pageNumber =
|
|
115
|
+
this.pages[this.pages.indexOf('right-hidden') - 1] + 1;
|
|
111
116
|
|
|
112
117
|
this.$emit('input', pageNumber);
|
|
113
118
|
|
|
114
119
|
if (this.pages.includes('left-hidden')) {
|
|
115
|
-
this.setReference(
|
|
120
|
+
this.setReference(
|
|
121
|
+
this.pages[this.pages.indexOf('left-hidden') + 1] + 1,
|
|
122
|
+
);
|
|
116
123
|
} else {
|
|
117
124
|
this.setReference(4);
|
|
118
125
|
}
|
|
@@ -153,7 +160,7 @@ export default {
|
|
|
153
160
|
</script>
|
|
154
161
|
|
|
155
162
|
<style lang="scss" scoped>
|
|
156
|
-
@import
|
|
163
|
+
@import '../../assets/scss/unnnic.scss';
|
|
157
164
|
|
|
158
165
|
.pagination {
|
|
159
166
|
display: flex;
|
|
@@ -5,18 +5,25 @@
|
|
|
5
5
|
type,
|
|
6
6
|
{
|
|
7
7
|
inline,
|
|
8
|
-
'has-subtitle':
|
|
9
|
-
subtitle,
|
|
8
|
+
'has-subtitle': subtitle,
|
|
10
9
|
'can-close': canClose,
|
|
11
|
-
}
|
|
10
|
+
},
|
|
12
11
|
]"
|
|
13
12
|
>
|
|
14
13
|
<div class="main">
|
|
15
|
-
<div
|
|
14
|
+
<div
|
|
15
|
+
v-if="title && !subtitle"
|
|
16
|
+
class="title"
|
|
17
|
+
>
|
|
18
|
+
{{ title }}
|
|
19
|
+
</div>
|
|
16
20
|
|
|
17
21
|
<div class="progress-bar-container">
|
|
18
22
|
<div class="progress-container">
|
|
19
|
-
<div
|
|
23
|
+
<div
|
|
24
|
+
class="bar"
|
|
25
|
+
:style="{ width: `${value}%` }"
|
|
26
|
+
>
|
|
20
27
|
<div
|
|
21
28
|
v-if="type === 'secondary' && !subtitle"
|
|
22
29
|
class="percentage"
|
|
@@ -34,25 +41,27 @@
|
|
|
34
41
|
</div>
|
|
35
42
|
</div>
|
|
36
43
|
|
|
37
|
-
<div
|
|
44
|
+
<div
|
|
45
|
+
v-if="type === 'primary' && subtitle"
|
|
46
|
+
class="footer"
|
|
47
|
+
>
|
|
38
48
|
<div class="subtitle">{{ subtitle }}</div>
|
|
39
49
|
|
|
40
|
-
<div
|
|
41
|
-
class="percentage"
|
|
42
|
-
>
|
|
43
|
-
{{ percentage }}%
|
|
44
|
-
</div>
|
|
50
|
+
<div class="percentage">{{ percentage }}%</div>
|
|
45
51
|
</div>
|
|
46
52
|
</div>
|
|
47
53
|
|
|
48
|
-
<div
|
|
49
|
-
|
|
54
|
+
<div
|
|
55
|
+
v-if="type === 'primary' && subtitle && canClose"
|
|
56
|
+
class="close"
|
|
57
|
+
>
|
|
58
|
+
<UnnnicIcon
|
|
50
59
|
icon="close-1"
|
|
51
60
|
scheme="neutral-clean"
|
|
52
61
|
size="sm"
|
|
53
62
|
clickable
|
|
54
63
|
@click="$emit('close')"
|
|
55
|
-
></
|
|
64
|
+
></UnnnicIcon>
|
|
56
65
|
</div>
|
|
57
66
|
</div>
|
|
58
67
|
</template>
|
|
@@ -101,10 +110,11 @@ export default {
|
|
|
101
110
|
</script>
|
|
102
111
|
|
|
103
112
|
<style lang="scss" scoped>
|
|
104
|
-
@import
|
|
113
|
+
@import '../../assets/scss/unnnic.scss';
|
|
105
114
|
|
|
106
115
|
.unnnic-progress-bar {
|
|
107
|
-
&.primary,
|
|
116
|
+
&.primary,
|
|
117
|
+
&.secondary {
|
|
108
118
|
background-color: $unnnic-color-background-carpet;
|
|
109
119
|
border-radius: $unnnic-border-radius-sm;
|
|
110
120
|
padding: $unnnic-squish-md;
|
|
@@ -140,7 +150,10 @@ export default {
|
|
|
140
150
|
align-items: center;
|
|
141
151
|
|
|
142
152
|
.progress-container {
|
|
143
|
-
background-color: rgba(
|
|
153
|
+
background-color: rgba(
|
|
154
|
+
$unnnic-color-aux-blue,
|
|
155
|
+
$unnnic-opacity-level-light
|
|
156
|
+
);
|
|
144
157
|
height: 1.25 * $unnnic-font-size;
|
|
145
158
|
min-width: 14 * $unnnic-font-size;
|
|
146
159
|
border-radius: $unnnic-border-radius-pill;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
<!-- eslint-disable vue/multi-word-component-names -->
|
|
1
2
|
<template>
|
|
2
3
|
<div
|
|
3
4
|
@click="click"
|
|
@@ -7,7 +8,7 @@
|
|
|
7
8
|
disabled ? 'disabled' : null,
|
|
8
9
|
]"
|
|
9
10
|
>
|
|
10
|
-
<
|
|
11
|
+
<UnnnicIconSvg
|
|
11
12
|
class="unnnic-radio"
|
|
12
13
|
:icon="icon"
|
|
13
14
|
:scheme="color"
|
|
@@ -15,84 +16,63 @@
|
|
|
15
16
|
/>
|
|
16
17
|
|
|
17
18
|
<span class="label">
|
|
18
|
-
<slot/>
|
|
19
|
+
<slot />
|
|
19
20
|
</span>
|
|
20
21
|
</div>
|
|
21
22
|
</template>
|
|
22
23
|
|
|
23
|
-
<script>
|
|
24
|
-
import
|
|
24
|
+
<script setup>
|
|
25
|
+
import { computed } from 'vue';
|
|
25
26
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
event: 'change',
|
|
27
|
+
const props = defineProps({
|
|
28
|
+
modelValue: {
|
|
29
|
+
type: [String, Number],
|
|
30
30
|
},
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
value: {
|
|
34
|
-
type: [String, Number],
|
|
35
|
-
},
|
|
36
|
-
|
|
37
|
-
globalValue: {
|
|
38
|
-
type: [String, Number],
|
|
39
|
-
},
|
|
40
|
-
|
|
41
|
-
disabled: {
|
|
42
|
-
type: Boolean,
|
|
43
|
-
default: false,
|
|
44
|
-
},
|
|
45
|
-
|
|
46
|
-
size: {
|
|
47
|
-
type: String,
|
|
48
|
-
default: 'md',
|
|
49
|
-
validator(value) {
|
|
50
|
-
return ['md', 'sm'].includes(value);
|
|
51
|
-
},
|
|
52
|
-
},
|
|
31
|
+
value: {
|
|
32
|
+
type: [String, Number],
|
|
53
33
|
},
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
34
|
+
disabled: {
|
|
35
|
+
type: Boolean,
|
|
36
|
+
default: false,
|
|
57
37
|
},
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
: 'default';
|
|
64
|
-
},
|
|
65
|
-
|
|
66
|
-
icon() {
|
|
67
|
-
return {
|
|
68
|
-
selected: 'radio-selected',
|
|
69
|
-
default: this.disabled ? 'radio-disable' : 'radio-default',
|
|
70
|
-
}[this.valueName];
|
|
71
|
-
},
|
|
72
|
-
|
|
73
|
-
color() {
|
|
74
|
-
if (this.disabled) {
|
|
75
|
-
return 'brand-sec';
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
return this.valueName === 'selected'
|
|
79
|
-
? 'brand-weni'
|
|
80
|
-
: 'neutral-soft';
|
|
38
|
+
size: {
|
|
39
|
+
type: String,
|
|
40
|
+
default: 'md',
|
|
41
|
+
validator(value) {
|
|
42
|
+
return ['md', 'sm'].includes(value);
|
|
81
43
|
},
|
|
82
44
|
},
|
|
45
|
+
});
|
|
46
|
+
|
|
47
|
+
const emit = defineEmits(['update:modelValue']);
|
|
48
|
+
|
|
49
|
+
const valueName = computed(() =>
|
|
50
|
+
props.modelValue === props.value ? 'selected' : 'default',
|
|
51
|
+
);
|
|
52
|
+
const icon = computed(
|
|
53
|
+
() =>
|
|
54
|
+
({
|
|
55
|
+
selected: 'radio-selected',
|
|
56
|
+
default: props.disabled ? 'radio-disable' : 'radio-default',
|
|
57
|
+
})[valueName.value],
|
|
58
|
+
);
|
|
59
|
+
const color = computed(() => {
|
|
60
|
+
if (props.disabled) {
|
|
61
|
+
return 'brand-sec';
|
|
62
|
+
}
|
|
83
63
|
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
}
|
|
91
|
-
}
|
|
64
|
+
return valueName.value === 'selected' ? 'brand-weni' : 'neutral-soft';
|
|
65
|
+
});
|
|
66
|
+
|
|
67
|
+
function click() {
|
|
68
|
+
if (!props.disabled) {
|
|
69
|
+
emit('update:modelValue', props.value);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
92
72
|
</script>
|
|
93
73
|
|
|
94
74
|
<style lang="scss" scoped>
|
|
95
|
-
@import
|
|
75
|
+
@import '../../assets/scss/unnnic.scss';
|
|
96
76
|
|
|
97
77
|
.unnnic-radio-container {
|
|
98
78
|
display: inline-flex;
|
|
@@ -1,17 +1,23 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
2
|
+
<div
|
|
3
|
+
@click="$emit('click')"
|
|
4
|
+
:class="{
|
|
5
|
+
'unnnic-select-item': true,
|
|
6
|
+
'unnnic-select-item__active': active,
|
|
7
|
+
'unnnic--clickable': selectable,
|
|
8
|
+
'unnnic-select-item--selectable': selectable,
|
|
9
|
+
'text-focused': textFocused,
|
|
10
|
+
}"
|
|
11
|
+
>
|
|
12
|
+
<span
|
|
13
|
+
:class="[
|
|
14
|
+
'unnnic-select-item__label',
|
|
15
|
+
`unnnic-select-item__label--${size}`,
|
|
16
|
+
]"
|
|
17
|
+
>
|
|
18
|
+
<slot />
|
|
19
|
+
</span>
|
|
20
|
+
</div>
|
|
15
21
|
</template>
|
|
16
22
|
|
|
17
23
|
<script>
|
|
@@ -40,40 +46,40 @@ export default {
|
|
|
40
46
|
|
|
41
47
|
<style lang="scss">
|
|
42
48
|
@import '../../assets/scss/unnnic.scss';
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
49
|
+
.unnnic-select-item {
|
|
50
|
+
background-color: $unnnic-color-background-snow;
|
|
51
|
+
padding: $unnnic-spacing-stack-nano $unnnic-inline-xs;
|
|
52
|
+
margin: $unnnic-inline-xs;
|
|
47
53
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
54
|
+
font-family: $unnnic-font-family-secondary;
|
|
55
|
+
color: $unnnic-color-neutral-dark;
|
|
56
|
+
font-weight: $unnnic-font-weight-regular;
|
|
57
|
+
white-space: nowrap;
|
|
58
|
+
text-overflow: ellipsis;
|
|
59
|
+
overflow: hidden;
|
|
60
|
+
max-width: 100%;
|
|
61
|
+
-webkit-line-clamp: 1;
|
|
56
62
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
63
|
+
&.text-focused {
|
|
64
|
+
color: $unnnic-color-brand-weni-soft;
|
|
65
|
+
font-weight: $unnnic-font-weight-bold;
|
|
66
|
+
}
|
|
61
67
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
68
|
+
&--selectable:hover,
|
|
69
|
+
&__active {
|
|
70
|
+
background-color: $unnnic-color-neutral-lightest;
|
|
71
|
+
border-radius: $unnnic-border-radius-sm;
|
|
72
|
+
}
|
|
66
73
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
}
|
|
74
|
+
&__label {
|
|
75
|
+
&--md {
|
|
76
|
+
font-size: $unnnic-font-size-body-gt;
|
|
77
|
+
line-height: $unnnic-font-size-body-gt + $unnnic-line-height-medium;
|
|
78
|
+
}
|
|
79
|
+
&--sm {
|
|
80
|
+
font-size: $unnnic-font-size-body-md;
|
|
81
|
+
line-height: $unnnic-font-size-body-md + $unnnic-line-height-medium;
|
|
76
82
|
}
|
|
77
|
-
|
|
78
83
|
}
|
|
84
|
+
}
|
|
79
85
|
</style>
|