@weni/unnnic-system 2.0.0 → 2.0.2
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 +68338 -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,6 +1,10 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="unnnic-chart-rainbow">
|
|
3
|
-
<svg
|
|
3
|
+
<svg
|
|
4
|
+
width="332"
|
|
5
|
+
height="166"
|
|
6
|
+
class="semicircle"
|
|
7
|
+
>
|
|
4
8
|
<defs xmlns="http://www.w3.org/2000/svg">
|
|
5
9
|
<linearGradient
|
|
6
10
|
id="paint0_linear_10224_36584"
|
|
@@ -10,8 +14,12 @@
|
|
|
10
14
|
y2="198"
|
|
11
15
|
gradientUnits="userSpaceOnUse"
|
|
12
16
|
>
|
|
13
|
-
<stop stop-color="#00DED2"/>
|
|
14
|
-
<stop
|
|
17
|
+
<stop stop-color="#00DED2" />
|
|
18
|
+
<stop
|
|
19
|
+
offset="1"
|
|
20
|
+
stop-color="#00DED2"
|
|
21
|
+
stop-opacity="0"
|
|
22
|
+
/>
|
|
15
23
|
</linearGradient>
|
|
16
24
|
</defs>
|
|
17
25
|
|
|
@@ -22,8 +30,7 @@
|
|
|
22
30
|
ref="background"
|
|
23
31
|
class="background"
|
|
24
32
|
stroke-width="26.56px"
|
|
25
|
-
>
|
|
26
|
-
</path>
|
|
33
|
+
></path>
|
|
27
34
|
|
|
28
35
|
<path
|
|
29
36
|
id="path"
|
|
@@ -32,16 +39,21 @@
|
|
|
32
39
|
ref="front"
|
|
33
40
|
class="front"
|
|
34
41
|
stroke-width="26.56px"
|
|
35
|
-
>
|
|
36
|
-
</path>
|
|
42
|
+
></path>
|
|
37
43
|
</svg>
|
|
38
44
|
|
|
39
45
|
<div class="content">
|
|
40
46
|
<div class="percentage">
|
|
41
|
-
<span class="number">{{ value }}</span
|
|
47
|
+
<span class="number">{{ value }} </span>
|
|
48
|
+
<span class="symbol">%</span>
|
|
42
49
|
</div>
|
|
43
50
|
|
|
44
|
-
<div
|
|
51
|
+
<div
|
|
52
|
+
v-if="description"
|
|
53
|
+
class="description"
|
|
54
|
+
>
|
|
55
|
+
{{ description }}
|
|
56
|
+
</div>
|
|
45
57
|
</div>
|
|
46
58
|
</div>
|
|
47
59
|
</template>
|
|
@@ -61,52 +73,81 @@ export default {
|
|
|
61
73
|
},
|
|
62
74
|
},
|
|
63
75
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
76
|
+
watch: {
|
|
77
|
+
value() {
|
|
78
|
+
this.updateChartSvg();
|
|
79
|
+
},
|
|
80
|
+
},
|
|
67
81
|
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
};
|
|
72
|
-
}
|
|
82
|
+
mounted() {
|
|
83
|
+
this.updateChartSvg();
|
|
84
|
+
},
|
|
73
85
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
const outerEnd = polarToCartesian(x, y, radius + spread, startAngle);
|
|
79
|
-
|
|
80
|
-
const largeArcFlag = endAngle - startAngle <= 180 ? '0' : '1';
|
|
81
|
-
|
|
82
|
-
const d = [
|
|
83
|
-
'M',
|
|
84
|
-
outerStart.x,
|
|
85
|
-
outerStart.y,
|
|
86
|
-
'A',
|
|
87
|
-
radius + spread,
|
|
88
|
-
radius + spread,
|
|
89
|
-
0,
|
|
90
|
-
largeArcFlag,
|
|
91
|
-
0,
|
|
92
|
-
outerEnd.x,
|
|
93
|
-
outerEnd.y,
|
|
94
|
-
].join(' ');
|
|
95
|
-
|
|
96
|
-
return d;
|
|
97
|
-
}
|
|
86
|
+
methods: {
|
|
87
|
+
updateChartSvg() {
|
|
88
|
+
function polarToCartesian(centerX, centerY, radius, angleInDegrees) {
|
|
89
|
+
const angleInRadians = ((angleInDegrees - 90) * Math.PI) / 180.0;
|
|
98
90
|
|
|
99
|
-
|
|
91
|
+
return {
|
|
92
|
+
x: centerX + radius * Math.cos(angleInRadians),
|
|
93
|
+
y: centerY + radius * Math.sin(angleInRadians),
|
|
94
|
+
};
|
|
95
|
+
}
|
|
100
96
|
|
|
101
|
-
|
|
97
|
+
function describeArc(
|
|
98
|
+
x,
|
|
99
|
+
y,
|
|
100
|
+
innerRadius,
|
|
101
|
+
outerRadius,
|
|
102
|
+
startAngle,
|
|
103
|
+
endAngle,
|
|
104
|
+
) {
|
|
105
|
+
const radius = innerRadius;
|
|
106
|
+
const spread = outerRadius - innerRadius;
|
|
107
|
+
const outerStart = polarToCartesian(x, y, radius + spread, endAngle);
|
|
108
|
+
const outerEnd = polarToCartesian(x, y, radius + spread, startAngle);
|
|
109
|
+
|
|
110
|
+
const largeArcFlag = endAngle - startAngle <= 180 ? '0' : '1';
|
|
111
|
+
|
|
112
|
+
const d = [
|
|
113
|
+
'M',
|
|
114
|
+
outerStart.x,
|
|
115
|
+
outerStart.y,
|
|
116
|
+
'A',
|
|
117
|
+
radius + spread,
|
|
118
|
+
radius + spread,
|
|
119
|
+
0,
|
|
120
|
+
largeArcFlag,
|
|
121
|
+
0,
|
|
122
|
+
outerEnd.x,
|
|
123
|
+
outerEnd.y,
|
|
124
|
+
].join(' ');
|
|
125
|
+
|
|
126
|
+
return d;
|
|
127
|
+
}
|
|
102
128
|
|
|
103
|
-
|
|
129
|
+
const path = describeArc(166, 166, 139.44, 152.72, -85, 85);
|
|
130
|
+
|
|
131
|
+
this.$refs.background.setAttribute('d', path);
|
|
132
|
+
|
|
133
|
+
this.$refs.front.setAttribute(
|
|
134
|
+
'd',
|
|
135
|
+
describeArc(
|
|
136
|
+
166,
|
|
137
|
+
166,
|
|
138
|
+
139.44,
|
|
139
|
+
152.72,
|
|
140
|
+
-85,
|
|
141
|
+
-85 + (this.value / 100) * 170,
|
|
142
|
+
),
|
|
143
|
+
);
|
|
144
|
+
},
|
|
104
145
|
},
|
|
105
146
|
};
|
|
106
147
|
</script>
|
|
107
148
|
|
|
108
149
|
<style lang="scss" scoped>
|
|
109
|
-
@import
|
|
150
|
+
@import '../../assets/scss/unnnic.scss';
|
|
110
151
|
|
|
111
152
|
.unnnic-chart-rainbow {
|
|
112
153
|
position: relative;
|
|
@@ -148,7 +189,7 @@ export default {
|
|
|
148
189
|
}
|
|
149
190
|
|
|
150
191
|
.description {
|
|
151
|
-
color: $unnnic-color-neutral-
|
|
192
|
+
color: $unnnic-color-neutral-cleanest;
|
|
152
193
|
font-family: $unnnic-font-family-secondary;
|
|
153
194
|
font-size: $unnnic-font-size-body-lg;
|
|
154
195
|
line-height: $unnnic-font-size-body-lg + $unnnic-line-height-md;
|
|
@@ -4,23 +4,35 @@
|
|
|
4
4
|
<div :class="['title', titleColor]">
|
|
5
5
|
{{ title }}
|
|
6
6
|
|
|
7
|
-
<
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
<UnnnicToolTip
|
|
8
|
+
v-if="info"
|
|
9
|
+
side="top"
|
|
10
|
+
class="info"
|
|
11
|
+
:text="info"
|
|
12
|
+
enabled
|
|
13
|
+
>
|
|
14
|
+
<UnnnicIcon
|
|
15
|
+
class="info__icon"
|
|
16
|
+
icon="info"
|
|
11
17
|
size="sm"
|
|
12
18
|
scheme="neutral-clean"
|
|
13
|
-
></
|
|
14
|
-
</
|
|
19
|
+
></UnnnicIcon>
|
|
20
|
+
</UnnnicToolTip>
|
|
15
21
|
</div>
|
|
16
22
|
|
|
17
23
|
<slot name="actions" />
|
|
18
24
|
</div>
|
|
19
25
|
|
|
20
|
-
<div
|
|
26
|
+
<div
|
|
27
|
+
class="description"
|
|
28
|
+
ref="description"
|
|
29
|
+
>
|
|
21
30
|
<slot name="description" />
|
|
22
31
|
|
|
23
|
-
<div
|
|
32
|
+
<div
|
|
33
|
+
v-if="isScrollable"
|
|
34
|
+
class="scrollable-gradient"
|
|
35
|
+
></div>
|
|
24
36
|
</div>
|
|
25
37
|
</div>
|
|
26
38
|
</template>
|
|
@@ -62,8 +74,8 @@ export default {
|
|
|
62
74
|
},
|
|
63
75
|
|
|
64
76
|
mounted() {
|
|
65
|
-
const
|
|
66
|
-
|
|
77
|
+
const areaScrollable =
|
|
78
|
+
this.$refs.description.scrollHeight - this.$refs.description.offsetHeight;
|
|
67
79
|
|
|
68
80
|
this.isScrollable = areaScrollable;
|
|
69
81
|
},
|
|
@@ -71,7 +83,7 @@ export default {
|
|
|
71
83
|
</script>
|
|
72
84
|
|
|
73
85
|
<style lang="scss" scoped>
|
|
74
|
-
@import
|
|
86
|
+
@import '../../assets/scss/unnnic.scss';
|
|
75
87
|
|
|
76
88
|
.unnnic-chat-text {
|
|
77
89
|
border-radius: $unnnic-border-radius-lg;
|
|
@@ -91,6 +103,8 @@ export default {
|
|
|
91
103
|
justify-content: space-between;
|
|
92
104
|
|
|
93
105
|
.title {
|
|
106
|
+
display: flex;
|
|
107
|
+
|
|
94
108
|
font-family: $unnnic-font-family-secondary;
|
|
95
109
|
font-weight: $unnnic-font-weight-black;
|
|
96
110
|
font-size: $unnnic-font-size-body-gt;
|
|
@@ -98,7 +112,13 @@ export default {
|
|
|
98
112
|
flex: 1;
|
|
99
113
|
|
|
100
114
|
.info {
|
|
101
|
-
|
|
115
|
+
display: flex;
|
|
116
|
+
align-items: center;
|
|
117
|
+
|
|
118
|
+
&__icon {
|
|
119
|
+
margin-left: $unnnic-spacing-inline-nano;
|
|
120
|
+
cursor: default;
|
|
121
|
+
}
|
|
102
122
|
}
|
|
103
123
|
|
|
104
124
|
@each $name, $color in $scheme-colors {
|
|
@@ -119,13 +139,19 @@ export default {
|
|
|
119
139
|
position: relative;
|
|
120
140
|
|
|
121
141
|
.intent {
|
|
122
|
-
background-color: rgba(
|
|
123
|
-
|
|
142
|
+
background-color: rgba(
|
|
143
|
+
$unnnic-color-aux-purple,
|
|
144
|
+
$unnnic-opacity-level-light
|
|
145
|
+
);
|
|
146
|
+
padding: calc($unnnic-line-height-md / 2) 0;
|
|
124
147
|
}
|
|
125
148
|
|
|
126
149
|
.scrollable-gradient {
|
|
127
150
|
position: absolute;
|
|
128
|
-
background-image: linear-gradient(
|
|
151
|
+
background-image: linear-gradient(
|
|
152
|
+
transparent,
|
|
153
|
+
$unnnic-color-background-snow
|
|
154
|
+
);
|
|
129
155
|
width: 100%;
|
|
130
156
|
height: 5 * $unnnic-font-size;
|
|
131
157
|
bottom: 0;
|
|
@@ -0,0 +1,332 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div
|
|
3
|
+
class="chats-contact"
|
|
4
|
+
ref="transitionContainer"
|
|
5
|
+
:class="{
|
|
6
|
+
selected,
|
|
7
|
+
disabled,
|
|
8
|
+
'unread-messages': unreadMessages,
|
|
9
|
+
waiting: waitingTime && !discussionGoal,
|
|
10
|
+
}"
|
|
11
|
+
@click="$emit('click')"
|
|
12
|
+
@keypress.enter="$emit('click')"
|
|
13
|
+
@mouseenter="isHovered = true"
|
|
14
|
+
@mouseleave="isHovered = false"
|
|
15
|
+
@mousedown="
|
|
16
|
+
(event) => {
|
|
17
|
+
this.$refs.transitionRipple.addRipple(event);
|
|
18
|
+
}
|
|
19
|
+
"
|
|
20
|
+
:tabindex="0"
|
|
21
|
+
>
|
|
22
|
+
<div
|
|
23
|
+
v-if="discussionGoal"
|
|
24
|
+
class="chats-contact__discussion-icon"
|
|
25
|
+
>
|
|
26
|
+
<UnnnicIcon
|
|
27
|
+
icon="forum"
|
|
28
|
+
scheme="weni-50"
|
|
29
|
+
/>
|
|
30
|
+
</div>
|
|
31
|
+
<UserAvatar
|
|
32
|
+
v-else
|
|
33
|
+
:username="title"
|
|
34
|
+
:photoUrl="userPhoto"
|
|
35
|
+
:active="isHovered || selected"
|
|
36
|
+
/>
|
|
37
|
+
|
|
38
|
+
<div class="chats-contact__infos">
|
|
39
|
+
<h1
|
|
40
|
+
class="chats-contact__infos__title ellipsis"
|
|
41
|
+
:title="title"
|
|
42
|
+
:class="{ bold: unreadMessages }"
|
|
43
|
+
>
|
|
44
|
+
{{ title }}
|
|
45
|
+
</h1>
|
|
46
|
+
<div
|
|
47
|
+
class="chats-contact__infos__additional-information"
|
|
48
|
+
:class="{ bold: unreadMessages || (checkboxWhenSelect && selected) }"
|
|
49
|
+
>
|
|
50
|
+
<p
|
|
51
|
+
v-if="waitingTime !== 0 && !discussionGoal"
|
|
52
|
+
class="ellipsis"
|
|
53
|
+
>
|
|
54
|
+
{{ i18n('waiting_for', waitingTime, { waitingTime }) }}
|
|
55
|
+
</p>
|
|
56
|
+
<p
|
|
57
|
+
v-else-if="subtitle"
|
|
58
|
+
class="ellipsis"
|
|
59
|
+
:title="subtitle"
|
|
60
|
+
>
|
|
61
|
+
{{ subtitle }}
|
|
62
|
+
</p>
|
|
63
|
+
</div>
|
|
64
|
+
</div>
|
|
65
|
+
|
|
66
|
+
<span
|
|
67
|
+
v-if="!selected && unreadMessages"
|
|
68
|
+
class="chats-contact__infos__unread-messages"
|
|
69
|
+
:title="i18n('unread_messages', unreadMessages, { unreadMessages })"
|
|
70
|
+
>
|
|
71
|
+
{{ unreadMessages }}
|
|
72
|
+
</span>
|
|
73
|
+
<Checkbox
|
|
74
|
+
v-else-if="selected && checkboxWhenSelect"
|
|
75
|
+
class="chats-contact__infos__checkbox"
|
|
76
|
+
:modelValue="true"
|
|
77
|
+
/>
|
|
78
|
+
<TransitionRipple
|
|
79
|
+
ref="transitionRipple"
|
|
80
|
+
color="weni-500"
|
|
81
|
+
/>
|
|
82
|
+
</div>
|
|
83
|
+
</template>
|
|
84
|
+
|
|
85
|
+
<script>
|
|
86
|
+
import UserAvatar from '../ChatsUserAvatar/ChatsUserAvatar.vue';
|
|
87
|
+
import UnnnicIcon from '../Icon.vue';
|
|
88
|
+
import TransitionRipple from '../TransitionRipple/TransitionRipple.vue';
|
|
89
|
+
import UnnnicI18n from '../../mixins/i18n';
|
|
90
|
+
import Checkbox from '../Checkbox/Checkbox.vue';
|
|
91
|
+
|
|
92
|
+
export default {
|
|
93
|
+
name: 'ChatsContact',
|
|
94
|
+
|
|
95
|
+
mixins: [UnnnicI18n],
|
|
96
|
+
|
|
97
|
+
components: {
|
|
98
|
+
UserAvatar,
|
|
99
|
+
UnnnicIcon,
|
|
100
|
+
TransitionRipple,
|
|
101
|
+
Checkbox,
|
|
102
|
+
},
|
|
103
|
+
|
|
104
|
+
props: {
|
|
105
|
+
title: {
|
|
106
|
+
type: String,
|
|
107
|
+
default: '',
|
|
108
|
+
required: true,
|
|
109
|
+
},
|
|
110
|
+
lastMessage: {
|
|
111
|
+
type: String,
|
|
112
|
+
default: '',
|
|
113
|
+
},
|
|
114
|
+
userPhoto: {
|
|
115
|
+
type: String,
|
|
116
|
+
default: '',
|
|
117
|
+
},
|
|
118
|
+
waitingTime: {
|
|
119
|
+
type: Number,
|
|
120
|
+
default: 0,
|
|
121
|
+
},
|
|
122
|
+
unreadMessages: {
|
|
123
|
+
type: Number,
|
|
124
|
+
default: 0,
|
|
125
|
+
},
|
|
126
|
+
selected: {
|
|
127
|
+
type: Boolean,
|
|
128
|
+
default: false,
|
|
129
|
+
},
|
|
130
|
+
disabled: {
|
|
131
|
+
type: Boolean,
|
|
132
|
+
default: false,
|
|
133
|
+
},
|
|
134
|
+
checkboxWhenSelect: {
|
|
135
|
+
type: Boolean,
|
|
136
|
+
default: false,
|
|
137
|
+
},
|
|
138
|
+
discussionGoal: {
|
|
139
|
+
type: String,
|
|
140
|
+
default: '',
|
|
141
|
+
},
|
|
142
|
+
},
|
|
143
|
+
|
|
144
|
+
data() {
|
|
145
|
+
return {
|
|
146
|
+
isHovered: false,
|
|
147
|
+
|
|
148
|
+
defaultTranslations: {
|
|
149
|
+
waiting_for: {
|
|
150
|
+
'pt-br':
|
|
151
|
+
'Aguardando há 1 minuto | Aguardando há {waitingTime} minutos',
|
|
152
|
+
en: '1 minute waiting | {waitingTime} minutes waiting',
|
|
153
|
+
es: 'Esperando por un minuto | Esperando por {waitingTime} minutos',
|
|
154
|
+
},
|
|
155
|
+
unread_messages: {
|
|
156
|
+
'pt-br': '{unreadMessages} mensagens não lidas',
|
|
157
|
+
en: '{unreadMessages} unread messages',
|
|
158
|
+
es: '{unreadMessages} mensajes no leídos',
|
|
159
|
+
},
|
|
160
|
+
discussion_about: {
|
|
161
|
+
'pt-br': 'Discussão sobre {discussionGoal}',
|
|
162
|
+
en: 'Discussion about {discussionGoal}',
|
|
163
|
+
es: 'Discusión sobre {discussionGoal}',
|
|
164
|
+
},
|
|
165
|
+
},
|
|
166
|
+
};
|
|
167
|
+
},
|
|
168
|
+
|
|
169
|
+
computed: {
|
|
170
|
+
subtitle() {
|
|
171
|
+
const { discussionGoal, lastMessage } = this;
|
|
172
|
+
return discussionGoal
|
|
173
|
+
? this.i18n('discussion_about', discussionGoal, { discussionGoal })
|
|
174
|
+
: lastMessage;
|
|
175
|
+
},
|
|
176
|
+
},
|
|
177
|
+
};
|
|
178
|
+
</script>
|
|
179
|
+
|
|
180
|
+
<style lang="scss" scoped>
|
|
181
|
+
@import '../../assets/scss/unnnic.scss';
|
|
182
|
+
|
|
183
|
+
.chats-contact {
|
|
184
|
+
display: grid;
|
|
185
|
+
grid-template-columns: max-content 1fr min-content;
|
|
186
|
+
align-items: center;
|
|
187
|
+
gap: $unnnic-spacing-xs;
|
|
188
|
+
|
|
189
|
+
background-color: $unnnic-color-background-white;
|
|
190
|
+
border-radius: $unnnic-border-radius-sm;
|
|
191
|
+
font-family: $unnnic-font-family-secondary;
|
|
192
|
+
|
|
193
|
+
padding: $unnnic-spacing-xs;
|
|
194
|
+
|
|
195
|
+
cursor: pointer;
|
|
196
|
+
|
|
197
|
+
&:focus-visible {
|
|
198
|
+
outline-color: $unnnic-color-weni-600;
|
|
199
|
+
outline-style: solid;
|
|
200
|
+
outline-width: 1px;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
* {
|
|
204
|
+
margin: 0;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
&.selected {
|
|
208
|
+
background-color: $unnnic-color-weni-50;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
&.waiting {
|
|
212
|
+
background-color: $unnnic-color-neutral-lightest;
|
|
213
|
+
|
|
214
|
+
&:hover {
|
|
215
|
+
background-color: $unnnic-color-neutral-light;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
.chats-contact__infos__unread-messages {
|
|
219
|
+
background: $unnnic-color-background-white;
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
&.unread-messages {
|
|
224
|
+
.title {
|
|
225
|
+
color: $unnnic-color-neutral-darkest;
|
|
226
|
+
font-weight: $unnnic-font-weight-bold;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
.additional-information {
|
|
230
|
+
color: $unnnic-color-neutral-cloudy;
|
|
231
|
+
font-weight: $unnnic-font-weight-bold;
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
&.disabled {
|
|
236
|
+
.content {
|
|
237
|
+
.title {
|
|
238
|
+
color: $unnnic-color-neutral-cleanest;
|
|
239
|
+
font-weight: $unnnic-font-weight-bold;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
.additional-information {
|
|
243
|
+
color: $unnnic-color-neutral-lightest;
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
.unread-messages {
|
|
248
|
+
color: $unnnic-color-neutral-cleanest;
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
&:hover,
|
|
253
|
+
&.selected:hover {
|
|
254
|
+
background-color: $unnnic-color-neutral-lightest;
|
|
255
|
+
|
|
256
|
+
.chats-contact__infos {
|
|
257
|
+
&__unread-messages {
|
|
258
|
+
background: $unnnic-color-background-white;
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
&__discussion-icon {
|
|
264
|
+
width: $unnnic-icon-size-xl;
|
|
265
|
+
height: $unnnic-icon-size-xl;
|
|
266
|
+
|
|
267
|
+
display: flex;
|
|
268
|
+
align-items: center;
|
|
269
|
+
justify-content: center;
|
|
270
|
+
border-radius: $unnnic-border-radius-sm;
|
|
271
|
+
|
|
272
|
+
background-color: $unnnic-color-aux-purple-500;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
&__infos {
|
|
276
|
+
margin-right: auto;
|
|
277
|
+
|
|
278
|
+
display: flex;
|
|
279
|
+
flex-flow: column wrap;
|
|
280
|
+
|
|
281
|
+
width: 100%;
|
|
282
|
+
overflow: hidden;
|
|
283
|
+
|
|
284
|
+
&__title,
|
|
285
|
+
&__additional-information {
|
|
286
|
+
font-size: $unnnic-font-size-body-gt;
|
|
287
|
+
line-height: $unnnic-font-size-body-md + $unnnic-line-height-medium;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
&__title {
|
|
291
|
+
font-weight: $unnnic-font-weight-bold;
|
|
292
|
+
color: $unnnic-color-neutral-darkest;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
&__additional-information {
|
|
296
|
+
width: 100%; // important to ellipsis work
|
|
297
|
+
|
|
298
|
+
color: $unnnic-color-neutral-cloudy;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
&__unread-messages {
|
|
302
|
+
display: flex;
|
|
303
|
+
justify-content: center;
|
|
304
|
+
align-items: center;
|
|
305
|
+
|
|
306
|
+
border-radius: 50%;
|
|
307
|
+
background: $unnnic-color-background-grass;
|
|
308
|
+
|
|
309
|
+
width: 1.25rem;
|
|
310
|
+
min-width: 1.25rem;
|
|
311
|
+
height: 1.25rem;
|
|
312
|
+
|
|
313
|
+
font-size: $unnnic-font-size-body-md;
|
|
314
|
+
font-weight: $unnnic-font-weight-bold;
|
|
315
|
+
line-height: $unnnic-line-height-small;
|
|
316
|
+
color: $unnnic-color-weni-800;
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
.ellipsis {
|
|
320
|
+
width: 100%;
|
|
321
|
+
|
|
322
|
+
overflow: hidden;
|
|
323
|
+
text-overflow: ellipsis;
|
|
324
|
+
white-space: nowrap;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
.bold {
|
|
328
|
+
font-weight: $unnnic-font-weight-bold;
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
</style>
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="unnnic-chats-dashboard-tag-live">
|
|
3
|
+
<UnnnicIcon
|
|
4
|
+
class="unnnic-chats-dashboard-tag-live__indicator"
|
|
5
|
+
icon="indicator"
|
|
6
|
+
scheme="aux-green-300"
|
|
7
|
+
/>
|
|
8
|
+
<p class="unnnic-chats-dashboard-tag-live__text">{{ i18n('live') }}</p>
|
|
9
|
+
</div>
|
|
10
|
+
</template>
|
|
11
|
+
|
|
12
|
+
<script>
|
|
13
|
+
import UnnnicI18n from '../../mixins/i18n';
|
|
14
|
+
|
|
15
|
+
import UnnnicIcon from '../Icon.vue';
|
|
16
|
+
|
|
17
|
+
export default {
|
|
18
|
+
name: 'UnnnicChatsDashboardTagLive',
|
|
19
|
+
|
|
20
|
+
mixins: [UnnnicI18n],
|
|
21
|
+
|
|
22
|
+
components: {
|
|
23
|
+
UnnnicIcon,
|
|
24
|
+
},
|
|
25
|
+
|
|
26
|
+
data() {
|
|
27
|
+
return {
|
|
28
|
+
defaultTranslations: {
|
|
29
|
+
live: {
|
|
30
|
+
'pt-br': 'Ao vivo',
|
|
31
|
+
en: 'Live',
|
|
32
|
+
es: 'En vivo',
|
|
33
|
+
},
|
|
34
|
+
},
|
|
35
|
+
};
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
</script>
|
|
39
|
+
|
|
40
|
+
<style lang="scss">
|
|
41
|
+
@import '../../assets/scss/unnnic.scss';
|
|
42
|
+
|
|
43
|
+
.unnnic-chats-dashboard-tag-live {
|
|
44
|
+
padding: $unnnic-spacing-ant;
|
|
45
|
+
|
|
46
|
+
display: inline-flex;
|
|
47
|
+
align-items: center;
|
|
48
|
+
gap: $unnnic-spacing-ant;
|
|
49
|
+
|
|
50
|
+
border-radius: $unnnic-border-radius-sm;
|
|
51
|
+
background-color: $unnnic-color-neutral-lightest;
|
|
52
|
+
|
|
53
|
+
color: $unnnic-color-neutral-dark;
|
|
54
|
+
font-family: $unnnic-font-family-secondary;
|
|
55
|
+
|
|
56
|
+
&__indicator {
|
|
57
|
+
.primary {
|
|
58
|
+
animation: ease-in-out pulse 2s infinite;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
@keyframes pulse {
|
|
62
|
+
0% {
|
|
63
|
+
fill: $unnnic-color-neutral-soft;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
50% {
|
|
67
|
+
fill: $unnnic-color-aux-green-300;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
100% {
|
|
71
|
+
fill: $unnnic-color-neutral-soft;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
&__text {
|
|
77
|
+
margin: 0;
|
|
78
|
+
|
|
79
|
+
font-size: $unnnic-font-size-body-gt;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
</style>
|