@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
|
@@ -1,30 +1,41 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div :class="['unnnic-form', size]">
|
|
3
|
-
<p
|
|
3
|
+
<p
|
|
4
|
+
v-if="hasLabelSlot"
|
|
5
|
+
class="unnnic-form__label"
|
|
6
|
+
>
|
|
4
7
|
<slot name="label" />
|
|
5
8
|
</p>
|
|
6
9
|
|
|
7
|
-
<p
|
|
10
|
+
<p
|
|
11
|
+
v-else-if="label"
|
|
12
|
+
class="unnnic-form__label"
|
|
13
|
+
>
|
|
14
|
+
{{ label }}
|
|
15
|
+
</p>
|
|
8
16
|
|
|
9
|
-
<
|
|
17
|
+
<TextInput
|
|
18
|
+
v-bind="$attrs"
|
|
10
19
|
v-model="val"
|
|
11
|
-
v-on="inputListeners"
|
|
12
20
|
class="unnnic-form-input"
|
|
13
|
-
:v-bind="$attrs"
|
|
14
21
|
:placeholder="placeholder"
|
|
15
|
-
:
|
|
16
|
-
:
|
|
17
|
-
:allow-toggle-password="allowTogglePassword"
|
|
22
|
+
:iconLeft="iconLeft"
|
|
23
|
+
:iconRight="iconRight"
|
|
18
24
|
:type="type"
|
|
19
|
-
:
|
|
20
|
-
:
|
|
21
|
-
:
|
|
25
|
+
:iconLeftClickable="iconLeftClickable"
|
|
26
|
+
:iconRightClickable="iconRightClickable"
|
|
27
|
+
:hasCloudyColor="hasCloudyColor"
|
|
22
28
|
:size="size"
|
|
23
29
|
:mask="mask"
|
|
24
|
-
:
|
|
30
|
+
:nativeType="nativeType"
|
|
25
31
|
/>
|
|
26
32
|
|
|
27
|
-
<p
|
|
33
|
+
<p
|
|
34
|
+
v-if="message"
|
|
35
|
+
class="unnnic-form__message"
|
|
36
|
+
>
|
|
37
|
+
{{ message }}
|
|
38
|
+
</p>
|
|
28
39
|
</div>
|
|
29
40
|
</template>
|
|
30
41
|
|
|
@@ -46,7 +57,7 @@ export default {
|
|
|
46
57
|
return ['normal', 'error'].indexOf(value) !== -1;
|
|
47
58
|
},
|
|
48
59
|
},
|
|
49
|
-
|
|
60
|
+
modelValue: {
|
|
50
61
|
type: String,
|
|
51
62
|
default: '',
|
|
52
63
|
},
|
|
@@ -97,28 +108,21 @@ export default {
|
|
|
97
108
|
},
|
|
98
109
|
data() {
|
|
99
110
|
return {
|
|
100
|
-
val: this.
|
|
111
|
+
val: this.modelValue,
|
|
101
112
|
};
|
|
102
113
|
},
|
|
103
114
|
watch: {
|
|
104
115
|
val() {
|
|
105
|
-
this.$emit('
|
|
116
|
+
this.$emit('update:modelValue', this.val);
|
|
106
117
|
},
|
|
107
|
-
|
|
108
|
-
this.val = this.
|
|
118
|
+
modelValue() {
|
|
119
|
+
this.val = this.modelValue;
|
|
109
120
|
},
|
|
110
121
|
},
|
|
111
122
|
mounted() {
|
|
112
|
-
this.val = this.
|
|
123
|
+
this.val = this.modelValue;
|
|
113
124
|
},
|
|
114
125
|
computed: {
|
|
115
|
-
inputListeners() {
|
|
116
|
-
return {
|
|
117
|
-
...this.$listeners,
|
|
118
|
-
input: () => {},
|
|
119
|
-
};
|
|
120
|
-
},
|
|
121
|
-
|
|
122
126
|
hasLabelSlot() {
|
|
123
127
|
return !!this.$slots.label;
|
|
124
128
|
},
|
|
@@ -1,34 +1,39 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div
|
|
3
|
-
:class="[
|
|
4
|
-
'
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
:class="[
|
|
4
|
+
'text-input',
|
|
5
|
+
`size--${size}`,
|
|
6
|
+
{
|
|
7
|
+
'has-icon-left': !!iconLeft,
|
|
8
|
+
'has-icon-right': !!iconRight || allowTogglePassword,
|
|
9
|
+
},
|
|
10
|
+
]"
|
|
7
11
|
>
|
|
8
|
-
<
|
|
9
|
-
|
|
10
|
-
:value="value"
|
|
12
|
+
<BaseInput
|
|
13
|
+
:modelValue="modelValue"
|
|
11
14
|
v-bind="attributes"
|
|
12
|
-
:native-type="nativeType === 'password' && showPassword ? 'text' : nativeType"
|
|
13
|
-
:type="type"
|
|
14
15
|
:size="size"
|
|
15
|
-
|
|
16
|
+
ref="base-input"
|
|
17
|
+
:nativeType="
|
|
18
|
+
nativeType === 'password' && showPassword ? 'text' : nativeType
|
|
19
|
+
"
|
|
20
|
+
:type="type"
|
|
16
21
|
@focus="onFocus"
|
|
17
22
|
@blur="onBlur"
|
|
18
23
|
class="input-itself"
|
|
19
24
|
/>
|
|
20
25
|
|
|
21
|
-
<
|
|
26
|
+
<UnnnicIcon
|
|
22
27
|
v-if="iconLeft"
|
|
23
28
|
:scheme="iconScheme"
|
|
24
29
|
:icon="iconLeft"
|
|
25
30
|
size="sm"
|
|
26
31
|
:clickable="iconLeftClickable"
|
|
27
32
|
@click="onIconLeftClick"
|
|
28
|
-
:class="['icon-left', {
|
|
33
|
+
:class="['icon-left', { clickable: iconLeftClickable }]"
|
|
29
34
|
/>
|
|
30
35
|
|
|
31
|
-
<
|
|
36
|
+
<UnnnicIcon
|
|
32
37
|
v-if="iconRightSvg"
|
|
33
38
|
:scheme="iconScheme"
|
|
34
39
|
:icon="iconRightSvg"
|
|
@@ -37,7 +42,7 @@
|
|
|
37
42
|
@click="onIconRightClick"
|
|
38
43
|
:class="[
|
|
39
44
|
'icon-right',
|
|
40
|
-
{
|
|
45
|
+
{ clickable: iconRightClickable || allowTogglePassword },
|
|
41
46
|
]"
|
|
42
47
|
/>
|
|
43
48
|
</div>
|
|
@@ -71,7 +76,7 @@ export default {
|
|
|
71
76
|
return ['normal', 'error'].indexOf(value) !== -1;
|
|
72
77
|
},
|
|
73
78
|
},
|
|
74
|
-
|
|
79
|
+
modelValue: {
|
|
75
80
|
type: String,
|
|
76
81
|
default: '',
|
|
77
82
|
},
|
|
@@ -96,11 +101,11 @@ export default {
|
|
|
96
101
|
},
|
|
97
102
|
allowTogglePassword: {
|
|
98
103
|
type: Boolean,
|
|
99
|
-
default:
|
|
104
|
+
default: null,
|
|
100
105
|
},
|
|
101
106
|
hasCloudyColor: {
|
|
102
107
|
type: Boolean,
|
|
103
|
-
default:
|
|
108
|
+
default: null,
|
|
104
109
|
},
|
|
105
110
|
size: {
|
|
106
111
|
type: String,
|
|
@@ -125,7 +130,7 @@ export default {
|
|
|
125
130
|
return 'neutral-cleanest';
|
|
126
131
|
}
|
|
127
132
|
|
|
128
|
-
if (this.
|
|
133
|
+
if (this.modelValue || this.isFocused) {
|
|
129
134
|
return 'neutral-dark';
|
|
130
135
|
}
|
|
131
136
|
|
|
@@ -136,14 +141,6 @@ export default {
|
|
|
136
141
|
return 'neutral-cloudy';
|
|
137
142
|
},
|
|
138
143
|
|
|
139
|
-
inputListeners() {
|
|
140
|
-
return {
|
|
141
|
-
...this.$listeners,
|
|
142
|
-
input: (event) => {
|
|
143
|
-
this.$emit('input', event);
|
|
144
|
-
},
|
|
145
|
-
};
|
|
146
|
-
},
|
|
147
144
|
attributes() {
|
|
148
145
|
return { ...this.$attrs, ...this.$attrs['v-bind'], ...this.$props };
|
|
149
146
|
},
|
|
@@ -181,7 +178,8 @@ export default {
|
|
|
181
178
|
@import '../../assets/scss/unnnic.scss';
|
|
182
179
|
|
|
183
180
|
.icon {
|
|
184
|
-
&-left,
|
|
181
|
+
&-left,
|
|
182
|
+
&-right {
|
|
185
183
|
&:not(.clickable) {
|
|
186
184
|
pointer-events: none;
|
|
187
185
|
}
|
|
@@ -202,18 +200,22 @@ export default {
|
|
|
202
200
|
.text-input {
|
|
203
201
|
position: relative;
|
|
204
202
|
|
|
205
|
-
&.size--md,
|
|
203
|
+
&.size--md,
|
|
204
|
+
&.size--sm {
|
|
206
205
|
&.has-icon-left .input-itself {
|
|
207
|
-
padding-left: $unnnic-spacing-sm + $unnnic-icon-size-sm +
|
|
206
|
+
padding-left: $unnnic-spacing-sm + $unnnic-icon-size-sm +
|
|
207
|
+
$unnnic-spacing-xs;
|
|
208
208
|
}
|
|
209
209
|
|
|
210
210
|
&.has-icon-right .input-itself {
|
|
211
|
-
padding-right: $unnnic-spacing-sm + $unnnic-icon-size-sm +
|
|
211
|
+
padding-right: $unnnic-spacing-sm + $unnnic-icon-size-sm +
|
|
212
|
+
$unnnic-spacing-xs;
|
|
212
213
|
}
|
|
213
214
|
}
|
|
214
215
|
|
|
215
216
|
&.size--sm {
|
|
216
|
-
.icon-left,
|
|
217
|
+
.icon-left,
|
|
218
|
+
.icon-right {
|
|
217
219
|
top: $unnnic-spacing-xs + 0.125 * $unnnic-font-size;
|
|
218
220
|
}
|
|
219
221
|
}
|
|
@@ -1,16 +1,22 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div
|
|
3
|
-
|
|
2
|
+
<div
|
|
3
|
+
ref="dropdown"
|
|
4
|
+
:class="['dropdown', { active: showCalendarFilter }]"
|
|
5
|
+
>
|
|
6
|
+
<UnnnicInput
|
|
4
7
|
class="input"
|
|
5
8
|
:size="size"
|
|
6
|
-
|
|
9
|
+
iconLeft="notes-1"
|
|
7
10
|
@focus="showCalendarFilter = true"
|
|
8
11
|
readonly
|
|
9
|
-
:
|
|
10
|
-
></
|
|
11
|
-
|
|
12
|
-
<div
|
|
13
|
-
|
|
12
|
+
:modelValue="filterText"
|
|
13
|
+
></UnnnicInput>
|
|
14
|
+
|
|
15
|
+
<div
|
|
16
|
+
class="dropdown-data"
|
|
17
|
+
:style="{ [position]: '0' }"
|
|
18
|
+
>
|
|
19
|
+
<UnnnicDatePicker
|
|
14
20
|
v-if="showCalendarFilter"
|
|
15
21
|
:type="type"
|
|
16
22
|
:clearLabel="clearText"
|
|
@@ -19,8 +25,8 @@
|
|
|
19
25
|
:days="days"
|
|
20
26
|
:options="options"
|
|
21
27
|
@submit="changeDate"
|
|
22
|
-
:
|
|
23
|
-
:
|
|
28
|
+
:initialStartDate="initialStartDate"
|
|
29
|
+
:initialEndDate="initialEndDate"
|
|
24
30
|
/>
|
|
25
31
|
</div>
|
|
26
32
|
</div>
|
|
@@ -42,7 +48,7 @@ export default {
|
|
|
42
48
|
},
|
|
43
49
|
|
|
44
50
|
props: {
|
|
45
|
-
|
|
51
|
+
modelValue: {
|
|
46
52
|
type: Object,
|
|
47
53
|
},
|
|
48
54
|
|
|
@@ -104,12 +110,16 @@ export default {
|
|
|
104
110
|
filterText() {
|
|
105
111
|
const dates = [];
|
|
106
112
|
|
|
107
|
-
if (this.
|
|
108
|
-
dates.push(
|
|
113
|
+
if (this.modelValue?.start) {
|
|
114
|
+
dates.push(
|
|
115
|
+
moment(this.modelValue?.start, this.format).format(this.inputFormat),
|
|
116
|
+
);
|
|
109
117
|
}
|
|
110
118
|
|
|
111
|
-
if (this.
|
|
112
|
-
dates.push(
|
|
119
|
+
if (this.modelValue?.end) {
|
|
120
|
+
dates.push(
|
|
121
|
+
moment(this.modelValue?.end, this.format).format(this.inputFormat),
|
|
122
|
+
);
|
|
113
123
|
}
|
|
114
124
|
|
|
115
125
|
if (!dates.length) {
|
|
@@ -120,11 +130,15 @@ export default {
|
|
|
120
130
|
},
|
|
121
131
|
|
|
122
132
|
initialStartDate() {
|
|
123
|
-
return this.
|
|
133
|
+
return this.modelValue.start
|
|
134
|
+
? moment(this.modelValue.start, this.format).format('MM DD YYYY')
|
|
135
|
+
: null;
|
|
124
136
|
},
|
|
125
137
|
|
|
126
138
|
initialEndDate() {
|
|
127
|
-
return this.
|
|
139
|
+
return this.modelValue.end
|
|
140
|
+
? moment(this.modelValue.end, this.format).format('MM DD YYYY')
|
|
141
|
+
: null;
|
|
128
142
|
},
|
|
129
143
|
},
|
|
130
144
|
|
|
@@ -132,13 +146,13 @@ export default {
|
|
|
132
146
|
window.document.body.addEventListener('click', this.mouseout);
|
|
133
147
|
},
|
|
134
148
|
|
|
135
|
-
|
|
149
|
+
beforeUnmount() {
|
|
136
150
|
window.document.body.removeEventListener('click', this.mouseout);
|
|
137
151
|
},
|
|
138
152
|
|
|
139
153
|
methods: {
|
|
140
154
|
mouseout(event) {
|
|
141
|
-
if (this.$refs.dropdown
|
|
155
|
+
if (this.$refs.dropdown?.contains(event.target)) {
|
|
142
156
|
return;
|
|
143
157
|
}
|
|
144
158
|
|
|
@@ -155,8 +169,10 @@ export default {
|
|
|
155
169
|
|
|
156
170
|
this.showCalendarFilter = false;
|
|
157
171
|
|
|
158
|
-
this.$emit('
|
|
159
|
-
start: startDate
|
|
172
|
+
this.$emit('update:model-value', {
|
|
173
|
+
start: startDate
|
|
174
|
+
? moment(startDate, 'YYYY-MM-DD').format(this.format)
|
|
175
|
+
: null,
|
|
160
176
|
end: endDate ? moment(endDate, 'YYYY-MM-DD').format(this.format) : null,
|
|
161
177
|
});
|
|
162
178
|
},
|
|
@@ -165,7 +181,7 @@ export default {
|
|
|
165
181
|
</script>
|
|
166
182
|
|
|
167
183
|
<style lang="scss" scoped>
|
|
168
|
-
@import
|
|
184
|
+
@import '../../assets/scss/unnnic.scss';
|
|
169
185
|
|
|
170
186
|
.dropdown {
|
|
171
187
|
position: relative;
|
|
@@ -1,11 +1,25 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<
|
|
3
|
-
<div
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
<Transition name="modal">
|
|
3
|
+
<div
|
|
4
|
+
v-if="showModal"
|
|
5
|
+
v-bind="$attrs"
|
|
6
|
+
ref="modalContainer"
|
|
7
|
+
:class="['unnnic-modal']"
|
|
8
|
+
>
|
|
9
|
+
<div
|
|
10
|
+
class="unnnic-modal-container"
|
|
11
|
+
@click.self="onOutsideCloseClick"
|
|
12
|
+
>
|
|
13
|
+
<div
|
|
14
|
+
ref="modal"
|
|
15
|
+
class="unnnic-modal-container-background"
|
|
16
|
+
>
|
|
6
17
|
<div class="unnnic-modal-container-background-body">
|
|
7
|
-
<div
|
|
8
|
-
|
|
18
|
+
<div
|
|
19
|
+
v-if="closeIcon"
|
|
20
|
+
class="unnnic-modal-container-background-body-close_icon"
|
|
21
|
+
>
|
|
22
|
+
<UnnnicIconSvg
|
|
9
23
|
icon="close-1"
|
|
10
24
|
scheme="neutral-dark"
|
|
11
25
|
size="sm"
|
|
@@ -13,36 +27,56 @@
|
|
|
13
27
|
@click="onCloseClick"
|
|
14
28
|
/>
|
|
15
29
|
</div>
|
|
30
|
+
<div
|
|
31
|
+
v-if="$slots.icon"
|
|
32
|
+
class="unnnic-modal-container-background-body__icon-slot"
|
|
33
|
+
>
|
|
34
|
+
<slot name="icon"></slot>
|
|
35
|
+
</div>
|
|
16
36
|
<div
|
|
17
37
|
v-if="modalIcon"
|
|
18
38
|
:class="[
|
|
19
39
|
'unnnic-modal-container-background-body-alert_icon',
|
|
20
40
|
`unnnic-card-scheme--${scheme}--icon`,
|
|
21
|
-
closeIcon
|
|
41
|
+
closeIcon
|
|
42
|
+
? ''
|
|
43
|
+
: 'unnnic-modal-container-background-body-spacing_header',
|
|
22
44
|
]"
|
|
23
45
|
>
|
|
24
|
-
<
|
|
46
|
+
<UnnnicIconSvg
|
|
47
|
+
:scheme="scheme"
|
|
48
|
+
:icon="modalIcon"
|
|
49
|
+
size="xl"
|
|
50
|
+
/>
|
|
25
51
|
</div>
|
|
26
52
|
<div class="unnnic-modal-container-background-body-title">
|
|
27
53
|
{{ text }}
|
|
28
54
|
</div>
|
|
29
55
|
</div>
|
|
30
|
-
<div
|
|
56
|
+
<div
|
|
57
|
+
class="unnnic-modal-container-background-body-description-container"
|
|
58
|
+
>
|
|
31
59
|
<div class="unnnic-modal-container-background-body-description">
|
|
32
60
|
{{ description }} <slot name="message" />
|
|
33
61
|
<slot name="default" />
|
|
34
62
|
</div>
|
|
35
63
|
</div>
|
|
36
|
-
<div
|
|
64
|
+
<div
|
|
65
|
+
class="unnnic-modal-container-background-report"
|
|
66
|
+
v-if="hasAlertMessage"
|
|
67
|
+
>
|
|
37
68
|
{{ alertMessage }}
|
|
38
69
|
</div>
|
|
39
|
-
<div
|
|
70
|
+
<div
|
|
71
|
+
v-if="hasButton"
|
|
72
|
+
class="unnnic-modal-container-background-button"
|
|
73
|
+
>
|
|
40
74
|
<slot name="options" />
|
|
41
75
|
</div>
|
|
42
76
|
</div>
|
|
43
77
|
</div>
|
|
44
78
|
</div>
|
|
45
|
-
</
|
|
79
|
+
</Transition>
|
|
46
80
|
</template>
|
|
47
81
|
|
|
48
82
|
<script>
|
|
@@ -103,7 +137,8 @@ export default {
|
|
|
103
137
|
this.$refs.modalContainer.style.transition = 'none';
|
|
104
138
|
this.$refs.modalContainer.style.backgroundColor = 'transparent';
|
|
105
139
|
this.$refs.modal.style.transition = 'none';
|
|
106
|
-
this.$refs.modal.style.marginBottom = `${-this.$refs.modal
|
|
140
|
+
this.$refs.modal.style.marginBottom = `${-this.$refs.modal
|
|
141
|
+
.offsetHeight}px`;
|
|
107
142
|
|
|
108
143
|
setTimeout(() => {
|
|
109
144
|
this.$refs.modalContainer.style.transition = 'background-color 0.2s';
|
|
@@ -123,7 +158,8 @@ export default {
|
|
|
123
158
|
this.$refs.modalContainer.style.transition = 'background-color 0.2s';
|
|
124
159
|
this.$refs.modalContainer.style.backgroundColor = 'transparent';
|
|
125
160
|
this.$refs.modal.style.transition = 'margin-bottom 0.2s';
|
|
126
|
-
this.$refs.modal.style.marginBottom = `${-this.$refs.modal
|
|
161
|
+
this.$refs.modal.style.marginBottom = `${-this.$refs.modal
|
|
162
|
+
.offsetHeight}px`;
|
|
127
163
|
|
|
128
164
|
setTimeout(() => {
|
|
129
165
|
this.mobileAnimateReset();
|
|
@@ -162,7 +198,7 @@ export default {
|
|
|
162
198
|
</script>
|
|
163
199
|
|
|
164
200
|
<style lang="scss" scoped>
|
|
165
|
-
@import '../../assets/scss/unnnic
|
|
201
|
+
@import '../../assets/scss/unnnic';
|
|
166
202
|
|
|
167
203
|
.unnnic-modal {
|
|
168
204
|
position: fixed;
|
|
@@ -192,6 +228,7 @@ export default {
|
|
|
192
228
|
background-color: $unnnic-color-background-carpet;
|
|
193
229
|
padding: 0 $unnnic-inline-md;
|
|
194
230
|
text-align: center;
|
|
231
|
+
padding-top: $unnnic-spacing-sm;
|
|
195
232
|
|
|
196
233
|
&-title {
|
|
197
234
|
text-align: center;
|
|
@@ -199,7 +236,9 @@ export default {
|
|
|
199
236
|
color: $unnnic-color-neutral-darkest;
|
|
200
237
|
font-weight: $unnnic-font-weight-black;
|
|
201
238
|
font-size: $unnnic-font-size-title-sm;
|
|
202
|
-
line-height: (
|
|
239
|
+
line-height: (
|
|
240
|
+
$unnnic-font-size-title-sm + $unnnic-line-height-medium
|
|
241
|
+
);
|
|
203
242
|
padding-bottom: $unnnic-spacing-stack-md;
|
|
204
243
|
}
|
|
205
244
|
|
|
@@ -207,9 +246,13 @@ export default {
|
|
|
207
246
|
width: 100%;
|
|
208
247
|
display: flex;
|
|
209
248
|
justify-content: flex-end;
|
|
210
|
-
padding-top: $unnnic-spacing-stack-sm;
|
|
211
249
|
padding-bottom: $unnnic-spacing-stack-xs;
|
|
212
250
|
}
|
|
251
|
+
|
|
252
|
+
&__icon-slot {
|
|
253
|
+
margin-bottom: $unnnic-spacing-md;
|
|
254
|
+
}
|
|
255
|
+
|
|
213
256
|
&-alert_icon {
|
|
214
257
|
width: 100%;
|
|
215
258
|
display: flex;
|
|
@@ -218,7 +261,7 @@ export default {
|
|
|
218
261
|
}
|
|
219
262
|
|
|
220
263
|
&-spacing_header {
|
|
221
|
-
padding-top: $unnnic-spacing-stack-giant;
|
|
264
|
+
padding-top: $unnnic-spacing-stack-giant - $unnnic-spacing-sm;
|
|
222
265
|
}
|
|
223
266
|
|
|
224
267
|
&-description {
|
|
@@ -259,7 +302,7 @@ export default {
|
|
|
259
302
|
line-height: ($unnnic-font-size-body-md + $unnnic-line-height-medium);
|
|
260
303
|
}
|
|
261
304
|
|
|
262
|
-
&-button
|
|
305
|
+
&-button {
|
|
263
306
|
display: flex;
|
|
264
307
|
width: 100%;
|
|
265
308
|
padding: $unnnic-inset-md;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="modal-upload">
|
|
3
3
|
<div class="close-button-container">
|
|
4
|
-
<
|
|
4
|
+
<UnnnicIcon
|
|
5
5
|
class="close-button"
|
|
6
6
|
icon="close-1"
|
|
7
7
|
scheme="neutral-dark"
|
|
@@ -14,29 +14,29 @@
|
|
|
14
14
|
{{ textTitle }}
|
|
15
15
|
</div>
|
|
16
16
|
|
|
17
|
-
<
|
|
18
|
-
:
|
|
19
|
-
:
|
|
20
|
-
:
|
|
21
|
-
:
|
|
22
|
-
:
|
|
23
|
-
:
|
|
24
|
-
:
|
|
25
|
-
:
|
|
17
|
+
<UnnnicUploadArea
|
|
18
|
+
:acceptMultiple="acceptMultiple"
|
|
19
|
+
:supportedFormats="supportedFormats"
|
|
20
|
+
:maximumUploads="maximumUploads"
|
|
21
|
+
:filesProgress="filesProgress"
|
|
22
|
+
:isUploading="isUploading"
|
|
23
|
+
:canImport="canImport"
|
|
24
|
+
:canDelete="canDelete"
|
|
25
|
+
:maxFileSize="maxFileSize"
|
|
26
26
|
:files="files"
|
|
27
27
|
:subtitle="subtitle"
|
|
28
28
|
@fileChange="$emit('file-change', $event)"
|
|
29
29
|
/>
|
|
30
30
|
|
|
31
31
|
<div class="footer">
|
|
32
|
-
<
|
|
32
|
+
<UnnnicButton
|
|
33
33
|
size="large"
|
|
34
|
-
type="
|
|
34
|
+
type="tertiary"
|
|
35
35
|
:text="textCancel"
|
|
36
36
|
@click="$emit('cancel')"
|
|
37
37
|
/>
|
|
38
38
|
|
|
39
|
-
<
|
|
39
|
+
<UnnnicButton
|
|
40
40
|
size="large"
|
|
41
41
|
type="primary"
|
|
42
42
|
:text="textAction"
|
|
@@ -86,7 +86,7 @@ export default {
|
|
|
86
86
|
|
|
87
87
|
supportedFormats: {
|
|
88
88
|
type: String,
|
|
89
|
-
default: 'png',
|
|
89
|
+
default: '.png',
|
|
90
90
|
},
|
|
91
91
|
|
|
92
92
|
maximumUploads: {
|
|
@@ -137,7 +137,7 @@ export default {
|
|
|
137
137
|
</script>
|
|
138
138
|
|
|
139
139
|
<style lang="scss" scoped>
|
|
140
|
-
@import
|
|
140
|
+
@import '../../assets/scss/unnnic.scss';
|
|
141
141
|
|
|
142
142
|
.modal-upload {
|
|
143
143
|
background-color: $unnnic-color-background-carpet;
|
|
@@ -171,7 +171,10 @@ export default {
|
|
|
171
171
|
margin-bottom: -$unnnic-spacing-stack-sm;
|
|
172
172
|
display: grid;
|
|
173
173
|
grid-gap: $unnnic-spacing-inline-lg;
|
|
174
|
-
grid-template-columns: repeat(
|
|
174
|
+
grid-template-columns: repeat(
|
|
175
|
+
auto-fit,
|
|
176
|
+
minmax(10 * $unnnic-font-size, 1fr)
|
|
177
|
+
);
|
|
175
178
|
}
|
|
176
179
|
}
|
|
177
180
|
</style>
|