@layers-app/shared 0.1.5 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/enitityIcons/flow.svg.js +5 -0
- package/dist/assets/enitityIcons/form.svg.js +5 -0
- package/dist/assets/enitityIcons/index.d.ts +5 -0
- package/dist/assets/enitityIcons/page.svg.js +5 -0
- package/dist/assets/enitityIcons/sprint.svg.js +5 -0
- package/dist/assets/fileTypes/archieve.svg.js +4 -0
- package/dist/assets/fileTypes/archives.svg.js +5 -0
- package/dist/assets/fileTypes/audio.svg.js +5 -0
- package/dist/assets/fileTypes/code.svg.js +5 -0
- package/dist/assets/fileTypes/diagram.svg.js +4 -0
- package/dist/assets/fileTypes/documents.svg.js +4 -0
- package/dist/assets/fileTypes/documentsStorage.svg.js +5 -0
- package/dist/assets/fileTypes/docx.svg.js +4 -0
- package/dist/assets/fileTypes/folder.svg.js +4 -0
- package/dist/assets/fileTypes/images.svg.js +5 -0
- package/dist/assets/fileTypes/media.svg.js +4 -0
- package/dist/assets/fileTypes/other.svg.js +4 -0
- package/dist/assets/fileTypes/other.svg2.js +5 -0
- package/dist/assets/fileTypes/pptx.svg.js +4 -0
- package/dist/assets/fileTypes/presentation.svg.js +4 -0
- package/dist/assets/fileTypes/sheet.svg.js +4 -0
- package/dist/assets/fileTypes/videos.svg.js +5 -0
- package/dist/assets/fileTypes/xlsx.svg.js +4 -0
- package/dist/assets/images/flags/es.svg.js +4 -0
- package/dist/assets/images/flags/ru.svg.js +4 -0
- package/dist/assets/images/flags/us.svg.js +4 -0
- package/dist/assets/images/person.png.js +4 -0
- package/dist/assets/images/person2.png.js +4 -0
- package/dist/assets/images/person3.png.js +4 -0
- package/dist/assets/images/person4.png.js +4 -0
- package/dist/assets/jsons/emoji-categorized.json.js +4 -0
- package/dist/assets/jsons/icons.min.json.d.ts +1 -1
- package/dist/assets/jsons/icons.min.json.js +4 -0
- package/dist/assets/layers-logo-full.svg.js +5 -0
- package/dist/assets/layers-logo-icon.svg.js +5 -0
- package/dist/assets/logo-copyright.svg.js +5 -0
- package/dist/assets/svg/alertMan.svg.js +7 -0
- package/dist/assets/svg/default_icon.svg.js +4 -0
- package/dist/assets/svg/discord-icon.svg.js +5 -0
- package/dist/assets/svg/discord.svg.js +5 -0
- package/dist/assets/svg/dog.svg.js +5 -0
- package/dist/assets/svg/layers-logo-full.svg.js +4 -0
- package/dist/assets/svg/noData/404.svg.js +9 -0
- package/dist/assets/svg/noData/500.svg.js +5 -0
- package/dist/assets/svg/noData/empty.svg.js +5 -0
- package/dist/assets/svg/noData/folder.svg.js +5 -0
- package/dist/assets/svg/noData/noAccess.svg.js +7 -0
- package/dist/assets/svg/noData/noAnswers.svg.js +5 -0
- package/dist/assets/svg/noData/noCloud.svg.js +5 -0
- package/dist/assets/svg/noData/noComments.svg.js +5 -0
- package/dist/assets/svg/noData/noData.svg.js +5 -0
- package/dist/assets/svg/noData/noFlows.svg.js +5 -0
- package/dist/assets/svg/noData/noForms.svg.js +5 -0
- package/dist/assets/svg/noData/noGroups.svg.js +17 -0
- package/dist/assets/svg/noData/noImage.svg.js +5 -0
- package/dist/assets/svg/noData/noMembers.svg.js +7 -0
- package/dist/assets/svg/noData/noNotifications.svg.js +5 -0
- package/dist/assets/svg/noData/noResults.svg.js +5 -0
- package/dist/assets/svg/noData/noSearchResults.svg.js +5 -0
- package/dist/assets/svg/noData/noTaskResults.svg.js +5 -0
- package/dist/assets/svg/noData/noTasks.svg.js +5 -0
- package/dist/assets/svg/noData/noWorkspaces.svg.js +7 -0
- package/dist/assets/svg/noData/trash.svg.js +7 -0
- package/dist/assets/svg/notSuccessMan.svg.js +7 -0
- package/dist/assets/svg/successMan.svg.js +5 -0
- package/dist/assets/svg/telegram-icon.svg.js +5 -0
- package/dist/assets/svg/telegram.svg.js +5 -0
- package/dist/components/AlertsBlock/index.js +53 -0
- package/dist/components/AnimationWrapper/index.js +15 -0
- package/dist/components/AppContainer/AppContainer.d.ts +1 -1
- package/dist/components/AppContainer/AppContainer.js +56 -0
- package/dist/components/AppContainer/AppContainer.module.css.js +15 -0
- package/dist/components/AppContainer/components/AppSidebarButton.d.ts +1 -1
- package/dist/components/AppContainer/components/AppSidebarButton.js +44 -0
- package/dist/components/AppContainer/components/AppsSidebar/AppsSection.js +52 -0
- package/dist/components/AppContainer/components/AppsSidebar/AppsSidebar.d.ts +1 -1
- package/dist/components/AppContainer/components/AppsSidebar/AppsSidebar.js +16 -0
- package/dist/components/AppContainer/components/AppsSidebar/TopSection.js +67 -0
- package/dist/components/AppContainer/components/AppsSidebar/UserSection.js +80 -0
- package/dist/components/AppContainer/{Header.d.ts → components/Header.d.ts} +1 -1
- package/dist/components/AppContainer/components/Header.js +9 -0
- package/dist/components/AppContainer/components/Main.js +18 -0
- package/dist/components/AppContainer/components/NavbarContent.js +6 -0
- package/dist/components/AppContainer/components/RightSidebar.js +30 -0
- package/dist/components/AppContainer/components/SidebarToggleButton.js +27 -0
- package/dist/components/AppContainer/components/SlideAnimation.js +43 -0
- package/dist/components/AppContainer/components/ToolSidebar.d.ts +6 -2
- package/dist/components/AppContainer/components/ToolSidebar.js +84 -0
- package/dist/components/AppContainer/components/ToolbarNewButton.js +28 -0
- package/dist/components/AppContainer/components/menus/HelpMenu/HelpMenu.js +122 -0
- package/dist/components/AppContainer/components/menus/HelpMenu/HelpMenu.module.css.js +9 -0
- package/dist/components/AppContainer/components/menus/HelpMenu/WhatsNew.js +58 -0
- package/dist/components/AppContainer/components/menus/MoreMenu.js +42 -0
- package/dist/components/AppContainer/components/menus/UserMenu/MenuUserDropdown.d.ts +1 -1
- package/dist/components/AppContainer/components/menus/UserMenu/MenuUserDropdown.js +44 -0
- package/dist/components/AppContainer/hooks/useAppContainer.d.ts +1 -1
- package/dist/components/AppContainer/hooks/useAppContainer.js +60 -0
- package/dist/components/AppContainer/hooks/useAppContainerActionsStore.js +10 -0
- package/dist/components/AppContainer/hooks/useAppContainerDataStore.js +37 -0
- package/dist/components/AppContainer/hooks/useAppContainerStore.d.ts +2 -3
- package/dist/components/AppContainer/hooks/useAppContainerStore.js +62 -0
- package/dist/components/AppContainer/hooks/useSetAppContainerLayout.d.ts +2 -0
- package/dist/components/AppContainer/hooks/useSetAppContainerLayout.js +10 -0
- package/dist/components/AppContainer/types.d.ts +8 -4
- package/dist/components/AppShell/AppShell.js +18 -0
- package/dist/components/AppShell/AppShell.module.css.js +19 -0
- package/dist/components/AttachmentsGalleryModal/AttachmentsGalleryContext.d.ts +4 -2
- package/dist/components/AttachmentsGalleryModal/AttachmentsGalleryContext.js +39 -0
- package/dist/components/AttachmentsGalleryModal/AttachmentsGalleryModal.js +127 -0
- package/dist/components/AttachmentsGalleryModal/components/ErrorSection.js +14 -0
- package/dist/components/AttachmentsGalleryModal/components/GallerySlide.js +69 -0
- package/dist/components/AttachmentsGalleryModal/components/ModalFooter.js +13 -0
- package/dist/components/AttachmentsGalleryModal/components/ModalHeader.js +123 -0
- package/dist/components/AttachmentsGalleryModal/components/ShakePlayer/ShakaPlayer.d.ts +4 -1
- package/dist/components/AttachmentsGalleryModal/components/ShakePlayer/ShakaPlayer.js +41 -0
- package/dist/components/AttachmentsGalleryModal/components/ShakePlayer/ShakaPlayer.module.css.js +7 -0
- package/dist/components/AttachmentsGalleryModal/components/ShakePlayer/useShakePlayer.js +54 -0
- package/dist/components/AttachmentsGalleryModal/constants.d.ts +2 -1
- package/dist/components/AttachmentsGalleryModal/constants.js +21 -0
- package/dist/components/AttachmentsGalleryModal/helpers.d.ts +22 -0
- package/dist/components/AttachmentsGalleryModal/helpers.js +40 -0
- package/dist/components/AttachmentsGalleryModal/hooks/useDownloadFile.js +35 -0
- package/dist/components/AttachmentsGalleryModal/hooks/useEmblaCarousel.js +49 -0
- package/dist/components/AttachmentsGalleryModal/hooks/useGetPreviewUrl.js +28 -0
- package/dist/components/AttachmentsGalleryModal/hooks/usePanning.d.ts +10 -0
- package/dist/components/AttachmentsGalleryModal/hooks/usePanning.js +61 -0
- package/dist/components/AttachmentsGalleryModal/hooks/useZoomReset.js +16 -0
- package/dist/components/AttachmentsGalleryModal/styles.module.css.js +29 -0
- package/dist/components/BottomDrawerWithoutHeader/index.js +75 -0
- package/dist/components/BouncingLogo/BouncingLogo.js +22 -0
- package/dist/components/BouncingLogo/BouncingLogo.module.css.js +9 -0
- package/dist/components/CircleColorPicker/CircleColorPicker.js +72 -0
- package/dist/components/ColorPicker/ColorPicker.d.ts +1 -0
- package/dist/components/ColorPicker/ColorPicker.js +131 -0
- package/dist/components/ColorPicker/ColorPickerPopover.js +42 -0
- package/dist/components/CommentComposer/CommentEditorHotkeys.d.ts +1 -1
- package/dist/components/CommentComposer/CommentEditorHotkeys.js +61 -0
- package/dist/components/CommentComposer/index.d.ts +2 -1
- package/dist/components/CommentComposer/index.js +288 -0
- package/dist/components/CommentFilterMenu/index.js +92 -0
- package/dist/components/CommentsPanel/CommentsPanel.module.css.js +109 -0
- package/dist/components/CommentsPanel/components/CommentActionMenu.js +49 -0
- package/dist/components/CommentsPanel/components/CommentActions.js +151 -0
- package/dist/components/CommentsPanel/components/CommentPanelListItem.d.ts +2 -1
- package/dist/components/CommentsPanel/components/CommentPanelListItem.js +366 -0
- package/dist/components/CommentsPanel/components/CommentTabFilter.js +53 -0
- package/dist/components/CommentsPanel/components/CommentsEmptyPlaceholder.js +17 -0
- package/dist/components/CommentsPanel/components/CommentsFilterHeader.js +83 -0
- package/dist/components/CommentsPanel/components/CommentsListItemMenu.js +63 -0
- package/dist/components/CommentsPanel/components/CommentsPanelList.d.ts +2 -1
- package/dist/components/CommentsPanel/components/CommentsPanelList.js +74 -0
- package/dist/components/CommentsPanel/components/CommentsThreadReplyControls.js +108 -0
- package/dist/components/CommentsPanel/components/CommentsUploadFilesPreview.js +142 -0
- package/dist/components/CommentsPanel/components/Icon.js +29 -0
- package/dist/components/CommentsPanel/index.d.ts +2 -1
- package/dist/components/CommentsPanel/index.js +137 -0
- package/dist/components/CommentsPanel/store.js +32 -0
- package/dist/components/CommentsPanel/types.d.ts +5 -5
- package/dist/components/CommentsPanel/utils.js +189 -0
- package/dist/components/CommunitiesDialog/index.js +149 -0
- package/dist/components/CommunitiesDialog/styles.module.css.js +7 -0
- package/dist/components/Copyright/Copyright.module.css.js +7 -0
- package/dist/components/Copyright/index.d.ts +1 -2
- package/dist/components/Copyright/index.js +32 -0
- package/dist/components/CustomKBD/CustomKBD.module.css.js +7 -0
- package/dist/components/CustomKBD/index.js +40 -0
- package/dist/components/EmojiPicker/EmojiPanel.d.ts +1 -1
- package/dist/components/EmojiPicker/EmojiPanel.js +273 -0
- package/dist/components/EmojiPicker/EmojiPicker.d.ts +1 -0
- package/dist/components/EmojiPicker/EmojiPicker.js +222 -0
- package/dist/components/EmojiPicker/EmojiPicker.module.css.js +13 -0
- package/dist/components/EmojiPicker/IconsPanel.js +267 -0
- package/dist/components/EmojiPicker/constants.js +36 -0
- package/dist/components/EmojiPicker/custom-icons/StatusCancel.js +37 -0
- package/dist/components/EmojiPicker/custom-icons/StatusDone.js +29 -0
- package/dist/components/EmojiPicker/custom-icons/StatusProgress00.js +17 -0
- package/dist/components/EmojiPicker/custom-icons/StatusProgress10.js +20 -0
- package/dist/components/EmojiPicker/custom-icons/StatusProgress100.js +20 -0
- package/dist/components/EmojiPicker/custom-icons/StatusProgress20.js +26 -0
- package/dist/components/EmojiPicker/custom-icons/StatusProgress30.js +26 -0
- package/dist/components/EmojiPicker/custom-icons/StatusProgress40.js +26 -0
- package/dist/components/EmojiPicker/custom-icons/StatusProgress50.js +26 -0
- package/dist/components/EmojiPicker/custom-icons/StatusProgress60.js +26 -0
- package/dist/components/EmojiPicker/custom-icons/StatusProgress70.js +26 -0
- package/dist/components/EmojiPicker/custom-icons/StatusProgress80.js +26 -0
- package/dist/components/EmojiPicker/custom-icons/StatusProgress90.js +26 -0
- package/dist/components/EmojiPicker/custom-icons/customIcons.js +99 -0
- package/dist/components/EmojiPicker/getIconsList.d.ts +11 -0
- package/dist/components/EmojiPicker/getIconsList.js +32 -0
- package/dist/components/EmojiPicker/getRandomIcon.d.ts +1 -0
- package/dist/components/EmojiPicker/getRandomIcon.js +10 -0
- package/dist/components/EntityIcon.d.ts +2 -0
- package/dist/components/EntityIcon.js +95 -0
- package/dist/components/EntityTitle/EntityTitle.js +86 -0
- package/dist/components/EntityTitle/EntityTitle.module.css.js +9 -0
- package/dist/components/ErrorAlert/index.js +20 -0
- package/dist/components/ErrorPage/components/Error403.js +51 -0
- package/dist/components/ErrorPage/components/Error404.js +5 -0
- package/dist/components/ErrorPage/components/Error406.js +47 -0
- package/dist/components/ErrorPage/components/Error500.js +58 -0
- package/dist/components/ErrorPage/components/ErrorUndefined.js +44 -0
- package/dist/components/ErrorPage/index.js +25 -0
- package/dist/components/FilePicker/FilePicker.js +242 -0
- package/dist/components/FilePicker/FilePicker.module.css.js +13 -0
- package/dist/components/FilePicker/FilePickerGallery.js +38 -0
- package/dist/components/FilePicker/FilePickerGiphy.js +91 -0
- package/dist/components/FilePicker/FilePickerLink.js +48 -0
- package/dist/components/FilePicker/FilePickerSkeletonLoader.js +9 -0
- package/dist/components/FilePicker/FilePickerUnsplash.js +95 -0
- package/dist/components/FilePicker/FilePickerUpload.js +86 -0
- package/dist/components/FilePicker/api/giphyApi.js +26 -0
- package/dist/components/FilePicker/api/unsplashApi.js +29 -0
- package/dist/components/FilePicker/types.d.ts +1 -0
- package/dist/components/FormViewer/FormViewer.js +42 -0
- package/dist/components/FormViewer/FormViewer.module.css.js +37 -0
- package/dist/components/FormViewer/components/AllSlidesLayout.js +24 -0
- package/dist/components/FormViewer/components/Container.js +27 -0
- package/dist/components/FormViewer/components/ListFocusBox.js +22 -0
- package/dist/components/FormViewer/components/NavControls.js +58 -0
- package/dist/components/FormViewer/components/Navigation/Navigation.js +37 -0
- package/dist/components/FormViewer/components/OneSlideLayput.js +133 -0
- package/dist/components/FormViewer/components/Step.js +225 -0
- package/dist/components/FormViewer/components/StepDescription.js +73 -0
- package/dist/components/FormViewer/components/StepTitle.js +118 -0
- package/dist/components/FormViewer/components/fields/AddOptionButton.js +24 -0
- package/dist/components/FormViewer/components/fields/ButtonField/ButtonField.js +63 -0
- package/dist/components/FormViewer/components/fields/ButtonField/InnerButton.js +70 -0
- package/dist/components/FormViewer/components/fields/ChoiceField/ChoiceCard.js +35 -0
- package/dist/components/FormViewer/components/fields/ChoiceField/ChoiceField.js +135 -0
- package/dist/components/FormViewer/components/fields/ChoiceField/PictureChoiceCard.js +37 -0
- package/dist/components/FormViewer/components/fields/ChoiceField/PictureChoiceField.js +93 -0
- package/dist/components/FormViewer/components/fields/ConfirmButton.js +49 -0
- package/dist/components/FormViewer/components/fields/ConfirmField.js +21 -0
- package/dist/components/FormViewer/components/fields/DateField.js +31 -0
- package/dist/components/FormViewer/components/fields/DragOptions/DragOptions.js +81 -0
- package/dist/components/FormViewer/components/fields/DragOptions/DragOptions.module.css.js +7 -0
- package/dist/components/FormViewer/components/fields/DropdownField/DropdownField.js +117 -0
- package/dist/components/FormViewer/components/fields/DropdownField/DropdownField.module.css.js +7 -0
- package/dist/components/FormViewer/components/fields/EditableContent/EditableContent.js +70 -0
- package/dist/components/FormViewer/components/fields/EditableContent/EditableContent.module.css.js +7 -0
- package/dist/components/FormViewer/components/fields/EmailField.js +26 -0
- package/dist/components/FormViewer/components/fields/LocationField.js +27 -0
- package/dist/components/FormViewer/components/fields/LongTextField.js +48 -0
- package/dist/components/FormViewer/components/fields/MultipleChoice/MultipleChoiceCard.js +38 -0
- package/dist/components/FormViewer/components/fields/MultipleChoice/MultipleChoiceField.js +152 -0
- package/dist/components/FormViewer/components/fields/NumberField.js +28 -0
- package/dist/components/FormViewer/components/fields/PhoneField.js +24 -0
- package/dist/components/FormViewer/components/fields/ProgressLine.js +30 -0
- package/dist/components/FormViewer/components/fields/RatingField.js +33 -0
- package/dist/components/FormViewer/components/fields/SelectableCard/PictureSelectableCard.js +154 -0
- package/dist/components/FormViewer/components/fields/SelectableCard/SelectableCard.js +110 -0
- package/dist/components/FormViewer/components/fields/SelectableCard/SelectableCard.module.css.js +15 -0
- package/dist/components/FormViewer/components/fields/SliderField.js +31 -0
- package/dist/components/FormViewer/components/fields/StartButton.js +34 -0
- package/dist/components/FormViewer/components/fields/StartField.js +21 -0
- package/dist/components/FormViewer/components/fields/TextField.js +31 -0
- package/dist/components/FormViewer/components/fields/UploadField/UploadField.js +155 -0
- package/dist/components/FormViewer/components/fields/UploadField/UploadFile/UploadFile.js +62 -0
- package/dist/components/FormViewer/components/fields/UploadField/UploadFile/UploadFile.module.css.js +7 -0
- package/dist/components/FormViewer/components/fields/YesNoField.js +37 -0
- package/dist/components/FormViewer/constants/defaultTheme.js +41 -0
- package/dist/components/FormViewer/helpers/conditions.d.ts +1 -1
- package/dist/components/FormViewer/helpers/conditions.js +43 -0
- package/dist/components/FormViewer/helpers/controls.js +79 -0
- package/dist/components/FormViewer/helpers/cssScoping.js +10 -0
- package/dist/components/FormViewer/helpers/helpers.d.ts +1 -1
- package/dist/components/FormViewer/helpers/helpers.js +9 -0
- package/dist/components/FormViewer/helpers/slides.js +35 -0
- package/dist/components/FormViewer/helpers/staticClasses.js +48 -0
- package/dist/components/FormViewer/helpers/steps.d.ts +1 -1
- package/dist/components/FormViewer/helpers/steps.js +55 -0
- package/dist/components/FormViewer/helpers/themeUtils.js +8 -0
- package/dist/components/FormViewer/helpers/validation.js +87 -0
- package/dist/components/FormViewer/hooks/useActiveControl.js +9 -0
- package/dist/components/FormViewer/hooks/useActiveStep.d.ts +1 -1
- package/dist/components/FormViewer/hooks/useActiveStep.js +9 -0
- package/dist/components/FormViewer/hooks/useCreateFormContext.js +78 -0
- package/dist/components/FormViewer/hooks/useFormGlobalTheme.js +132 -0
- package/dist/components/FormViewer/hooks/useFormMobile.js +15 -0
- package/dist/components/FormViewer/hooks/useInterpolateText.js +57 -0
- package/dist/components/FormViewer/store/formStore.d.ts +6 -6
- package/dist/components/FormViewer/store/formStore.js +84 -0
- package/dist/components/FormViewer/store/formStoreApi.d.ts +3 -3
- package/dist/components/FormViewer/store/formStoreApi.js +383 -0
- package/dist/components/FormViewer/store/selectors.d.ts +342 -342
- package/dist/components/FormViewer/store/selectors.js +98 -0
- package/dist/components/FormViewer/types/form.js +40 -0
- package/dist/components/FormViewer/types/schemes.d.ts +22 -22
- package/dist/components/FormViewer/types/schemes.js +314 -0
- package/dist/components/ImageModal/ImageModal.js +165 -0
- package/dist/components/LanguagePicker/LanguagePicker.js +41 -0
- package/dist/components/LanguagePicker/LanguagePicker.module.css.js +7 -0
- package/dist/components/Loaders/BaseLoader.js +8 -0
- package/dist/components/Loaders/styles.module.css.js +9 -0
- package/dist/components/Logotype.js +40 -0
- package/dist/components/NavMenu/NavMenu.d.ts +4 -2
- package/dist/components/NavMenu/NavMenu.js +98 -0
- package/dist/components/NavMenu/NavMenu.module.css.js +23 -0
- package/dist/components/NavMenu/components/DnDItem.js +44 -0
- package/dist/components/NavMenu/components/DnDProvider.js +64 -0
- package/dist/components/NavMenu/components/DraggableOverlay.js +18 -0
- package/dist/components/NavMenu/components/NavMenuActionIcon.js +27 -0
- package/dist/components/NavMenu/components/NavMenuItem.d.ts +5 -0
- package/dist/components/NavMenu/components/NavMenuItem.js +179 -0
- package/dist/components/NavMenu/components/NavMenuLabel.js +18 -0
- package/dist/components/NavMenu/store.d.ts +12 -2
- package/dist/components/NavMenu/store.js +61 -0
- package/dist/components/NavMenu/types.d.ts +10 -3
- package/dist/components/NavbarResizer/NavbarResizer.js +42 -0
- package/dist/components/NavbarResizer/NavbarResizer.module.css.js +7 -0
- package/dist/components/NewColorPicker/components/Pallete.js +46 -0
- package/dist/components/NewColorPicker/components/Target.js +47 -0
- package/dist/components/NewColorPicker/index.js +92 -0
- package/dist/components/NoData/NoData.js +103 -0
- package/dist/components/NoData/NoData.module.css.js +7 -0
- package/dist/components/NotFound/NoFound.js +65 -0
- package/dist/components/NotPublicPanel/NotPublicPanel.js +53 -0
- package/dist/components/NotPublicPanel/NotPublicPanel.module.css.js +19 -0
- package/dist/components/Notification/Notification.js +117 -0
- package/dist/components/Notification/Notification.module.css.js +7 -0
- package/dist/components/Notification/NotificationCard.js +92 -0
- package/dist/components/OnBoarding/OnBoardingPage.js +80 -0
- package/dist/components/OnBoarding/ProjectBoard.js +141 -0
- package/dist/components/OnBoarding/StepsNavBar.js +21 -0
- package/dist/components/OnBoarding/steps/AddTasks/AddTasksNav.js +42 -0
- package/dist/components/OnBoarding/steps/AddTasks/TasksListBoard.js +51 -0
- package/dist/components/OnBoarding/steps/CreateFirstProject.js +45 -0
- package/dist/components/OnBoarding/steps/DefineStatuses/DefineStatusesNav.js +42 -0
- package/dist/components/OnBoarding/steps/DefineStatuses/StatusBadge.js +22 -0
- package/dist/components/OnBoarding/steps/DefineStatuses/StatusesListBoard.js +217 -0
- package/dist/components/OnBoarding/steps/DifferentLayouts/DifferentLayoutsBoard.js +16 -0
- package/dist/components/OnBoarding/steps/DifferentLayouts/DifferentLayoutsNav.js +56 -0
- package/dist/components/OnBoarding/steps/DifferentLayouts/KanbanLayout.js +272 -0
- package/dist/components/OnBoarding/steps/DifferentLayouts/styles.module.css.js +9 -0
- package/dist/components/OnBoarding/steps/InviteUsers/BoardModal.js +86 -0
- package/dist/components/OnBoarding/steps/InviteUsers/InviteUsers.js +26 -0
- package/dist/components/OnBoarding/steps/SelectCategory/CategorySelect.js +61 -0
- package/dist/components/OnBoarding/steps/SelectCategory/SelectCategoryNav.js +42 -0
- package/dist/components/OnBoarding/steps/StartedStep.js +71 -0
- package/dist/components/OnBoarding/steps/Wrapper.js +49 -0
- package/dist/components/OnBoarding/steps/styles.module.css.js +17 -0
- package/dist/components/OnBoarding/styles.module.css.js +15 -0
- package/dist/components/PaymentCancel/PaymentCancel.js +41 -0
- package/dist/components/PaymentError/PaymentError.js +41 -0
- package/dist/components/PaymentSuccess/PaymentSuccess.js +41 -0
- package/dist/components/PinModal/PinModal.js +90 -0
- package/dist/components/PinModal/slice.js +28 -0
- package/dist/components/ProjectIcon/ProjectIcon.d.ts +1 -0
- package/dist/components/ProjectIcon/ProjectIcon.js +88 -0
- package/dist/components/SearchFilters/SearchFilters.js +37 -0
- package/dist/components/SearchFilters/SearchFilters.module.css.js +9 -0
- package/dist/components/SearchFilters/components/DateFilter.js +199 -0
- package/dist/components/SearchFilters/components/SearchHelp.js +121 -0
- package/dist/components/SearchFilters/components/Sort.js +99 -0
- package/dist/components/SearchFilters/components/Type.js +124 -0
- package/dist/components/SortableList/SortableList.js +44 -0
- package/dist/components/SortableList/components/SortableItem/SortableItem.js +82 -0
- package/dist/components/StorageUsageEntityList/StorageEntityItem.js +62 -0
- package/dist/components/StorageUsageEntityList/StorageUsageEntityList.js +27 -0
- package/dist/components/StorageUsageProgress/index.js +52 -0
- package/dist/components/SubmitModal/index.js +12 -0
- package/dist/components/ThemeIndicator/index.js +21 -0
- package/dist/components/UserAvatar/index.d.ts +3 -2
- package/dist/components/UserAvatar/index.js +22 -0
- package/dist/components/WorkspaceAvatar/WorkspaceAvatar.js +22 -0
- package/dist/components/WorkspaceMenu/WorkspaceItem.js +41 -0
- package/dist/components/WorkspaceMenu/WorkspaceMenu.js +211 -0
- package/dist/components/modals/RemoveConfirmModal.d.ts +8 -1
- package/dist/components/modals/RemoveConfirmModal.js +68 -0
- package/dist/components/table/FrontTable.js +21 -0
- package/dist/components/table/api.js +248 -0
- package/dist/components/table/components/Table.js +139 -0
- package/dist/components/table/components/TableAggregation.js +31 -0
- package/dist/components/table/components/TableCell.js +55 -0
- package/dist/components/table/components/TableHeaderCell.js +159 -0
- package/dist/components/table/components/TableHeaders.js +99 -0
- package/dist/components/table/components/TableMenu.js +59 -0
- package/dist/components/table/components/TablePagination.js +52 -0
- package/dist/components/table/components/TablePanel.js +26 -0
- package/dist/components/table/components/TableRow.js +85 -0
- package/dist/components/table/components/TableRows.js +66 -0
- package/dist/components/table/components/TableSearch.js +32 -0
- package/dist/components/table/components/TableSkeleton.js +60 -0
- package/dist/components/table/components/TableTitle.js +26 -0
- package/dist/components/table/constants.js +28 -0
- package/dist/components/table/export.js +58 -0
- package/dist/components/table/helpers/columns.js +198 -0
- package/dist/components/table/helpers/formatters.js +65 -0
- package/dist/components/table/hooks/TableProvider.js +62 -0
- package/dist/components/table/hooks/useColumnsResizing.js +51 -0
- package/dist/components/table/hooks/useCreateTable.js +9 -0
- package/dist/components/table/hooks/useSaveRowCount.js +9 -0
- package/dist/components/table/hooks/useSorting.js +36 -0
- package/dist/components/table/hooks/useTableStore.js +6 -0
- package/dist/components/table/selectors.js +203 -0
- package/dist/components/table/store.js +65 -0
- package/dist/components/table/types.js +17 -0
- package/dist/constants.js +19 -0
- package/dist/helpers/combineStatuses.js +5 -0
- package/dist/helpers/dates.js +15 -0
- package/dist/helpers/download.js +17 -0
- package/dist/helpers/feature.js +7 -0
- package/dist/helpers/fileUtils.js +33 -0
- package/dist/helpers/filterHierarchyByTypes.js +13 -0
- package/dist/helpers/formatBytes.js +8 -0
- package/dist/helpers/generateLink.js +9 -0
- package/dist/helpers/getFileIcons.js +42 -0
- package/dist/helpers/getFileType.d.ts +1 -1
- package/dist/helpers/getFileType.js +40 -0
- package/dist/helpers/getPartOfTheDay.js +12 -0
- package/dist/helpers/getRandomIconColor.js +17 -0
- package/dist/helpers/hotjar.d.ts +9 -0
- package/dist/helpers/hotjar.js +19 -0
- package/dist/helpers/isAppMode.js +4 -0
- package/dist/helpers/pickRandomEmoji.d.ts +1 -0
- package/dist/helpers/pickRandomEmoji.js +12 -0
- package/dist/helpers/showNotifications.js +72 -0
- package/dist/helpers/themeUtils.js +5 -0
- package/dist/helpers/validation.js +38 -0
- package/dist/hooks/useAsyncStatus.d.ts +8 -0
- package/dist/hooks/useAsyncStatus.js +26 -0
- package/dist/hooks/useDateFnsLocale.js +13 -0
- package/dist/hooks/useDateUtils.js +33 -0
- package/dist/hooks/useDisableWindowScroll.js +24 -0
- package/dist/hooks/useEvent.js +12 -0
- package/dist/hooks/useFormatDistance.js +17 -0
- package/dist/hooks/useMenu.js +9 -0
- package/dist/hooks/useNumberQueryParam.js +14 -0
- package/dist/hooks/useOAuthErrorParams.js +16 -0
- package/dist/hooks/useOutsideClick.js +21 -0
- package/dist/hooks/useSwipeDetect.js +21 -0
- package/dist/index.css +1 -0
- package/dist/index.d.ts +70 -76
- package/dist/index.js +397 -259
- package/dist/lang/locales/ui_en.json.d.ts +6 -5
- package/dist/lang/locales/ui_en.json.js +19 -0
- package/dist/lang/locales/ui_es.json.d.ts +2 -1
- package/dist/lang/locales/ui_es.json.js +19 -0
- package/dist/lang/locales/ui_ru.json.d.ts +2 -1
- package/dist/lang/locales/ui_ru.json.js +19 -0
- package/dist/store/accessOptionsControl.js +10 -0
- package/dist/store/discordDialogStore.js +14 -0
- package/dist/store/onboarding.js +53 -0
- package/dist/store/plansModal.js +13 -0
- package/dist/store/searchModal.js +13 -0
- package/dist/store/timezoneStore.js +19 -0
- package/dist/store/workspacesOrder.js +17 -0
- package/dist/utils/formatStorage.js +8 -0
- package/dist/utils/getPlanBadgeColor.js +17 -0
- package/dist/utils/queryParams.js +15 -0
- package/docs/README.md +486 -0
- package/package.json +32 -11
- package/dist/KanbanLayout-BnHAvyHl.js +0 -297
- package/dist/components/AppContainer/hooks/useHideHeader.d.ts +0 -1
- package/dist/components/AppContainer/hooks/useHideSidebar.d.ts +0 -1
- package/dist/components/AppTour/AppTour.d.ts +0 -7
- package/dist/components/AppTour/FinishModal.d.ts +0 -1
- package/dist/components/AppTour/HelloModal.d.ts +0 -1
- package/dist/components/AppTour/hooks/useAppTour.d.ts +0 -2
- package/dist/components/AppTour/index.d.ts +0 -4
- package/dist/components/AppTour/types.d.ts +0 -17
- package/dist/emoji-categorized-CRsMUQyD.js +0 -4
- package/dist/helpers/pickRandomIcon.d.ts +0 -1
- package/dist/helpers/token.d.ts +0 -3
- package/dist/icons.min-wo13YUY4.js +0 -4
- package/dist/index-BawytWAK.js +0 -96715
- package/dist/index.umd.cjs +0 -356
- /package/dist/components/AppContainer/{Main.d.ts → components/Main.d.ts} +0 -0
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
import { jsxs as x, jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { useState as a, useMemo as E, useEffect as N } from "react";
|
|
3
|
+
import { flushSync as G } from "react-dom";
|
|
4
|
+
import { useTranslation as J } from "react-i18next";
|
|
5
|
+
import { Popover as k, Center as K, Tabs as t, Flex as M, Button as S } from "@mantine/core";
|
|
6
|
+
import { IconEntity as U } from "../ProjectIcon/ProjectIcon.js";
|
|
7
|
+
import { EmojiPanel as V } from "./EmojiPanel.js";
|
|
8
|
+
import { IconsPanel as X } from "./IconsPanel.js";
|
|
9
|
+
import f from "./EmojiPicker.module.css.js";
|
|
10
|
+
const re = ({
|
|
11
|
+
project: R,
|
|
12
|
+
value: s,
|
|
13
|
+
querySearch: l,
|
|
14
|
+
children: $,
|
|
15
|
+
onChange: d,
|
|
16
|
+
position: D = "bottom-start",
|
|
17
|
+
popoverProps: I,
|
|
18
|
+
showIcons: u,
|
|
19
|
+
showColors: O,
|
|
20
|
+
defaultActiveTab: w = null,
|
|
21
|
+
showEmojis: r = !0,
|
|
22
|
+
withinPortal: z = !1,
|
|
23
|
+
locales: h,
|
|
24
|
+
openWhen: g = "click",
|
|
25
|
+
triggerRegex: P = /(^|\s):([^\s:]{1,})$/,
|
|
26
|
+
typingSeq: m,
|
|
27
|
+
showRemoveButton: F = !0
|
|
28
|
+
}) => {
|
|
29
|
+
const { t: e } = J("ui"), [p, n] = a(!1), [H, y] = a(w), [b, L] = a(500), [A, B] = a(s || null), [v, Q] = a(null), c = E(() => ({
|
|
30
|
+
emojis: e("emojis"),
|
|
31
|
+
remove: e("remove"),
|
|
32
|
+
search: e("search"),
|
|
33
|
+
searchResults: e("emojiPicker.searchResults"),
|
|
34
|
+
icons: e("emojiPicker.icons"),
|
|
35
|
+
searchNoResults: e("emojiPicker.searchNoResults"),
|
|
36
|
+
chooseColor: e("emojiPicker.chooseColor"),
|
|
37
|
+
emojiCategory: {
|
|
38
|
+
frequent: e("emojiPicker.categories.frequent"),
|
|
39
|
+
people: e("emojiPicker.categories.people"),
|
|
40
|
+
nature: e("emojiPicker.categories.nature"),
|
|
41
|
+
foods: e("emojiPicker.categories.foods"),
|
|
42
|
+
activity: e("emojiPicker.categories.activity"),
|
|
43
|
+
places: e("emojiPicker.categories.places"),
|
|
44
|
+
objects: e("emojiPicker.categories.objects"),
|
|
45
|
+
symbols: e("emojiPicker.categories.symbols"),
|
|
46
|
+
flags: e("emojiPicker.categories.flags"),
|
|
47
|
+
...h?.emojiCategory
|
|
48
|
+
},
|
|
49
|
+
...h
|
|
50
|
+
}), [e, h]);
|
|
51
|
+
N(() => {
|
|
52
|
+
const i = u && U.parse(s)?.icon ? "icons" : r ? "emojis" : null;
|
|
53
|
+
!p && i && y(i);
|
|
54
|
+
}, [p, r, u, s]), N(() => {
|
|
55
|
+
if (g !== "realtime" || typeof m != "number" || v === m) return;
|
|
56
|
+
Q(m);
|
|
57
|
+
const i = l ?? "", j = !!r && P.test(i);
|
|
58
|
+
n(j);
|
|
59
|
+
}, [
|
|
60
|
+
g,
|
|
61
|
+
m,
|
|
62
|
+
v,
|
|
63
|
+
l,
|
|
64
|
+
P,
|
|
65
|
+
r
|
|
66
|
+
]);
|
|
67
|
+
const T = typeof l == "string";
|
|
68
|
+
return /* @__PURE__ */ x(
|
|
69
|
+
k,
|
|
70
|
+
{
|
|
71
|
+
withinPortal: z,
|
|
72
|
+
opened: p,
|
|
73
|
+
onChange: n,
|
|
74
|
+
position: D,
|
|
75
|
+
radius: "var(--mantine-spacing-sm)",
|
|
76
|
+
styles: {
|
|
77
|
+
dropdown: {
|
|
78
|
+
padding: 0,
|
|
79
|
+
width: "380px",
|
|
80
|
+
height: "404px",
|
|
81
|
+
display: "flex",
|
|
82
|
+
flexDirection: "column",
|
|
83
|
+
minHeight: 50
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
middlewares: {
|
|
87
|
+
size: {
|
|
88
|
+
apply({ availableHeight: i, placement: j, y: C, elements: q }) {
|
|
89
|
+
G(() => L(i - 20)), T && requestAnimationFrame(() => {
|
|
90
|
+
Object.assign(q.floating.style, {
|
|
91
|
+
maxHeight: `${i >= 425 ? 425 : i}px`,
|
|
92
|
+
top: j === "top-start" ? `${C - 20}px` : `${C}px`
|
|
93
|
+
});
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
...I || {},
|
|
99
|
+
children: [
|
|
100
|
+
/* @__PURE__ */ o(k.Target, { children: /* @__PURE__ */ o(
|
|
101
|
+
K,
|
|
102
|
+
{
|
|
103
|
+
onClick: g === "click" ? () => n(!p) : void 0,
|
|
104
|
+
children: $ ?? A
|
|
105
|
+
}
|
|
106
|
+
) }),
|
|
107
|
+
/* @__PURE__ */ o(k.Dropdown, { w: "380px", h: "404px", children: /* @__PURE__ */ x(
|
|
108
|
+
t,
|
|
109
|
+
{
|
|
110
|
+
value: H,
|
|
111
|
+
onChange: y,
|
|
112
|
+
keepMounted: !1,
|
|
113
|
+
h: "100%",
|
|
114
|
+
styles: {
|
|
115
|
+
root: {
|
|
116
|
+
display: "flex",
|
|
117
|
+
flexDirection: "column"
|
|
118
|
+
},
|
|
119
|
+
panel: {
|
|
120
|
+
display: "block"
|
|
121
|
+
},
|
|
122
|
+
list: {
|
|
123
|
+
alignItems: "center",
|
|
124
|
+
paddingRight: "var(--mantine-spacing-xs)"
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
children: [
|
|
128
|
+
!T && /* @__PURE__ */ x(
|
|
129
|
+
t.List,
|
|
130
|
+
{
|
|
131
|
+
style: {
|
|
132
|
+
gap: "4px"
|
|
133
|
+
},
|
|
134
|
+
h: 54,
|
|
135
|
+
px: 8,
|
|
136
|
+
children: [
|
|
137
|
+
r && /* @__PURE__ */ o(
|
|
138
|
+
t.Tab,
|
|
139
|
+
{
|
|
140
|
+
className: f.originalTab,
|
|
141
|
+
h: "100%",
|
|
142
|
+
p: 0,
|
|
143
|
+
value: "emojis",
|
|
144
|
+
children: /* @__PURE__ */ o(M, { className: f.customTab, px: "sm", h: 36, children: c.emojis })
|
|
145
|
+
}
|
|
146
|
+
),
|
|
147
|
+
u && /* @__PURE__ */ o(
|
|
148
|
+
t.Tab,
|
|
149
|
+
{
|
|
150
|
+
className: f.originalTab,
|
|
151
|
+
h: "100%",
|
|
152
|
+
p: 0,
|
|
153
|
+
value: "icons",
|
|
154
|
+
children: /* @__PURE__ */ o(M, { className: f.customTab, px: "sm", h: 36, children: c.icons })
|
|
155
|
+
}
|
|
156
|
+
),
|
|
157
|
+
!!String(s) && F && /* @__PURE__ */ o(
|
|
158
|
+
S,
|
|
159
|
+
{
|
|
160
|
+
variant: "subtle",
|
|
161
|
+
fz: "sm",
|
|
162
|
+
lh: "sm",
|
|
163
|
+
fw: 500,
|
|
164
|
+
px: 7,
|
|
165
|
+
h: 30,
|
|
166
|
+
color: "var(--mantine-color-gray-light-color)",
|
|
167
|
+
onClick: () => d?.(""),
|
|
168
|
+
style: { marginLeft: "auto" },
|
|
169
|
+
children: c.remove
|
|
170
|
+
}
|
|
171
|
+
)
|
|
172
|
+
]
|
|
173
|
+
}
|
|
174
|
+
),
|
|
175
|
+
/* @__PURE__ */ o(
|
|
176
|
+
t.Panel,
|
|
177
|
+
{
|
|
178
|
+
mah: Math.min(b, 470),
|
|
179
|
+
style: { overflow: "auto" },
|
|
180
|
+
value: "emojis",
|
|
181
|
+
children: /* @__PURE__ */ o(
|
|
182
|
+
V,
|
|
183
|
+
{
|
|
184
|
+
onChange: d,
|
|
185
|
+
value: s,
|
|
186
|
+
querySearch: l,
|
|
187
|
+
locales: c,
|
|
188
|
+
setRandomIcon: B,
|
|
189
|
+
onClose: () => n(!1)
|
|
190
|
+
}
|
|
191
|
+
)
|
|
192
|
+
}
|
|
193
|
+
),
|
|
194
|
+
/* @__PURE__ */ o(
|
|
195
|
+
t.Panel,
|
|
196
|
+
{
|
|
197
|
+
mah: Math.min(b, 470),
|
|
198
|
+
style: { overflow: "auto" },
|
|
199
|
+
value: "icons",
|
|
200
|
+
children: /* @__PURE__ */ o(
|
|
201
|
+
X,
|
|
202
|
+
{
|
|
203
|
+
project: R,
|
|
204
|
+
onChange: d,
|
|
205
|
+
value: s,
|
|
206
|
+
locales: c,
|
|
207
|
+
showColors: O,
|
|
208
|
+
onClose: () => n(!1)
|
|
209
|
+
}
|
|
210
|
+
)
|
|
211
|
+
}
|
|
212
|
+
)
|
|
213
|
+
]
|
|
214
|
+
}
|
|
215
|
+
) })
|
|
216
|
+
]
|
|
217
|
+
}
|
|
218
|
+
);
|
|
219
|
+
};
|
|
220
|
+
export {
|
|
221
|
+
re as EmojiPicker
|
|
222
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
const o = "_item_o1hlf_1", a = "_randomIcon_o1hlf_26", n = "_originalTab_o1hlf_30", t = "_customTab_o1hlf_36", _ = {
|
|
2
|
+
item: o,
|
|
3
|
+
randomIcon: a,
|
|
4
|
+
originalTab: n,
|
|
5
|
+
customTab: t
|
|
6
|
+
};
|
|
7
|
+
export {
|
|
8
|
+
t as customTab,
|
|
9
|
+
_ as default,
|
|
10
|
+
o as item,
|
|
11
|
+
n as originalTab,
|
|
12
|
+
a as randomIcon
|
|
13
|
+
};
|
|
@@ -0,0 +1,267 @@
|
|
|
1
|
+
import { jsxs as m, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { memo as B, useState as k, useEffect as M, useCallback as U, useMemo as V } from "react";
|
|
3
|
+
import { useTranslation as G } from "react-i18next";
|
|
4
|
+
import { Search01Icon as Q, ShuffleIcon as Y } from "@hugeicons/core-free-icons";
|
|
5
|
+
import { HugeiconsIcon as L } from "@hugeicons/react";
|
|
6
|
+
import { ColorPicker as _ } from "../ColorPicker/ColorPicker.js";
|
|
7
|
+
import { IconEntity as y, IconType as z } from "../ProjectIcon/ProjectIcon.js";
|
|
8
|
+
import { useMantineTheme as j, parseThemeColor as J, darken as K, Stack as x, Text as b, Flex as W, FocusTrap as X, TextInput as Z, Tooltip as ee, ActionIcon as oe, Box as E, Paper as N, SimpleGrid as A } from "@mantine/core";
|
|
9
|
+
import { useEvent as re } from "draggable-ui";
|
|
10
|
+
import { groupBy as te } from "lodash-es";
|
|
11
|
+
import { DEFAULT_VALUES as ie } from "../../constants.js";
|
|
12
|
+
import { NoData as ne } from "../NoData/NoData.js";
|
|
13
|
+
import { customIcons as D } from "./custom-icons/customIcons.js";
|
|
14
|
+
import { getIconsList as F } from "./getIconsList.js";
|
|
15
|
+
import { getRandomIcon as ce } from "./getRandomIcon.js";
|
|
16
|
+
import h from "./EmojiPicker.module.css.js";
|
|
17
|
+
async function ae(c, a, l = 500) {
|
|
18
|
+
const u = [], p = c.length;
|
|
19
|
+
for (let t = 0; t < p; t += l) {
|
|
20
|
+
const f = c.slice(t, t + l).filter(a);
|
|
21
|
+
u.push(...f), await new Promise((I) => setTimeout(I, 0));
|
|
22
|
+
}
|
|
23
|
+
return u;
|
|
24
|
+
}
|
|
25
|
+
const Ce = B(
|
|
26
|
+
({
|
|
27
|
+
showColors: c,
|
|
28
|
+
locales: a,
|
|
29
|
+
onChange: l,
|
|
30
|
+
value: u,
|
|
31
|
+
onClose: p,
|
|
32
|
+
project: t
|
|
33
|
+
}) => {
|
|
34
|
+
const C = j(), [f, I] = k(""), { t: w } = G("ui"), [R, P] = k(
|
|
35
|
+
[]
|
|
36
|
+
);
|
|
37
|
+
M(() => {
|
|
38
|
+
(async () => {
|
|
39
|
+
const r = await F(t), s = te(r, "c");
|
|
40
|
+
P(
|
|
41
|
+
Object.entries(s).map((g) => ({
|
|
42
|
+
id: g[0],
|
|
43
|
+
icons: g[1].map((d) => d.n)
|
|
44
|
+
}))
|
|
45
|
+
);
|
|
46
|
+
})();
|
|
47
|
+
}, [t]);
|
|
48
|
+
const [T, S] = k([]), $ = U(
|
|
49
|
+
async (o) => {
|
|
50
|
+
const r = o.currentTarget.value;
|
|
51
|
+
I(r);
|
|
52
|
+
const s = await F(t), g = await ae(
|
|
53
|
+
s,
|
|
54
|
+
(d) => d.t.split(",").some((q) => r.includes(String(q))) || d.n.includes(r),
|
|
55
|
+
500
|
|
56
|
+
);
|
|
57
|
+
S(g.map((d) => d.n));
|
|
58
|
+
},
|
|
59
|
+
[t]
|
|
60
|
+
), i = y.parse(u), v = re((o) => {
|
|
61
|
+
const r = o.currentTarget.getAttribute("data-icon");
|
|
62
|
+
r && (l?.(
|
|
63
|
+
y.stringify({
|
|
64
|
+
icon: r.replace("i:", ""),
|
|
65
|
+
color: i?.color,
|
|
66
|
+
type: z.FILLED
|
|
67
|
+
})
|
|
68
|
+
), c || p());
|
|
69
|
+
}), n = J({
|
|
70
|
+
color: i?.color || ie.COLORS[0],
|
|
71
|
+
theme: C
|
|
72
|
+
}), H = V(() => n.isThemeColor ? {
|
|
73
|
+
"--icon-color": `var(--mantine-color-${n.color}-filled)`,
|
|
74
|
+
"--icon-color-hover": `var(--mantine-color-${n.color}-filled-hover)`
|
|
75
|
+
} : {
|
|
76
|
+
"--icon-color": n.value,
|
|
77
|
+
"--icon-color-hover": K(n.value, 0.2)
|
|
78
|
+
}, [n]), O = async () => {
|
|
79
|
+
const o = await ce(t);
|
|
80
|
+
S([]), l?.(y.stringify({ icon: o, color: i?.color })), c || p();
|
|
81
|
+
};
|
|
82
|
+
return /* @__PURE__ */ m(x, { w: "100%", gap: "sm", pt: 12, pb: 8, h: "100%", children: [
|
|
83
|
+
c && /* @__PURE__ */ m(x, { gap: 4, px: 8, w: "100%", children: [
|
|
84
|
+
/* @__PURE__ */ e(b, { lh: "140%", fw: 500, c: "dimmed", fz: "xs", children: a?.chooseColor || w("chooseColor") }),
|
|
85
|
+
/* @__PURE__ */ e(
|
|
86
|
+
_,
|
|
87
|
+
{
|
|
88
|
+
swatchSize: 24,
|
|
89
|
+
gap: 4,
|
|
90
|
+
value: n.color,
|
|
91
|
+
onChange: (o) => l?.(
|
|
92
|
+
y.stringify({
|
|
93
|
+
color: o,
|
|
94
|
+
icon: i?.icon,
|
|
95
|
+
type: z.FILLED
|
|
96
|
+
})
|
|
97
|
+
),
|
|
98
|
+
colors: [
|
|
99
|
+
"violet",
|
|
100
|
+
"indigo",
|
|
101
|
+
"blue",
|
|
102
|
+
"teal",
|
|
103
|
+
"green",
|
|
104
|
+
"yellow",
|
|
105
|
+
"orange",
|
|
106
|
+
"red",
|
|
107
|
+
"grey",
|
|
108
|
+
"dark"
|
|
109
|
+
]
|
|
110
|
+
},
|
|
111
|
+
n.color
|
|
112
|
+
)
|
|
113
|
+
] }),
|
|
114
|
+
/* @__PURE__ */ m(W, { w: "100%", justify: "space-between", gap: 4, px: 8, h: 38, children: [
|
|
115
|
+
/* @__PURE__ */ e(X, { active: !0, children: /* @__PURE__ */ e(
|
|
116
|
+
Z,
|
|
117
|
+
{
|
|
118
|
+
leftSection: /* @__PURE__ */ e(L, { size: 16, icon: Q }),
|
|
119
|
+
value: f,
|
|
120
|
+
placeholder: `${a?.search}...`,
|
|
121
|
+
"data-autofocus": !0,
|
|
122
|
+
styles: {
|
|
123
|
+
input: {
|
|
124
|
+
border: "1px solid var(--mantine-color-default-border)",
|
|
125
|
+
borderRadius: "var(--mantine-radius-default)"
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
w: 320,
|
|
129
|
+
onChange: $,
|
|
130
|
+
radius: "var(--mantine-radius-default)"
|
|
131
|
+
}
|
|
132
|
+
) }),
|
|
133
|
+
/* @__PURE__ */ e(ee, { withArrow: !0, label: w("random"), children: /* @__PURE__ */ e(
|
|
134
|
+
oe,
|
|
135
|
+
{
|
|
136
|
+
h: 36,
|
|
137
|
+
w: 36,
|
|
138
|
+
variant: "outline",
|
|
139
|
+
color: "var(--mantine-color-default-border)",
|
|
140
|
+
onClick: O,
|
|
141
|
+
className: h.randomIcon,
|
|
142
|
+
children: /* @__PURE__ */ e(
|
|
143
|
+
L,
|
|
144
|
+
{
|
|
145
|
+
color: "var(--mantine-color-default-color)",
|
|
146
|
+
size: 20,
|
|
147
|
+
icon: Y
|
|
148
|
+
}
|
|
149
|
+
)
|
|
150
|
+
}
|
|
151
|
+
) })
|
|
152
|
+
] }),
|
|
153
|
+
/* @__PURE__ */ e(E, { pl: 8, style: H, children: /* @__PURE__ */ e(
|
|
154
|
+
x,
|
|
155
|
+
{
|
|
156
|
+
h: "210px",
|
|
157
|
+
style: {
|
|
158
|
+
overflowY: "auto"
|
|
159
|
+
},
|
|
160
|
+
gap: 16,
|
|
161
|
+
children: f ? /* @__PURE__ */ m("div", { children: [
|
|
162
|
+
/* @__PURE__ */ e(
|
|
163
|
+
N,
|
|
164
|
+
{
|
|
165
|
+
py: 6,
|
|
166
|
+
pos: "sticky",
|
|
167
|
+
top: -1,
|
|
168
|
+
style: { zIndex: 1 },
|
|
169
|
+
bg: "light-dark(var(--mantine-color-white), var(--mantine-color-dark-6))",
|
|
170
|
+
children: /* @__PURE__ */ e(b, { fz: "xs", fw: 500, lh: "140%", c: "dimmed", children: a?.searchResults })
|
|
171
|
+
}
|
|
172
|
+
),
|
|
173
|
+
T.length ? /* @__PURE__ */ e(A, { cols: 8, spacing: 0, children: T.map((o) => {
|
|
174
|
+
const r = D[o];
|
|
175
|
+
return r ? /* @__PURE__ */ e(
|
|
176
|
+
"div",
|
|
177
|
+
{
|
|
178
|
+
className: h.item,
|
|
179
|
+
"data-icon": o,
|
|
180
|
+
"data-active": o === i?.icon,
|
|
181
|
+
onClick: v,
|
|
182
|
+
children: /* @__PURE__ */ e(r, {})
|
|
183
|
+
},
|
|
184
|
+
o
|
|
185
|
+
) : /* @__PURE__ */ e(
|
|
186
|
+
"div",
|
|
187
|
+
{
|
|
188
|
+
className: h.item,
|
|
189
|
+
"data-icon": o,
|
|
190
|
+
"data-active": o === i?.icon,
|
|
191
|
+
onClick: v,
|
|
192
|
+
children: /* @__PURE__ */ e("svg", { width: "1em", height: "1em", children: /* @__PURE__ */ e(
|
|
193
|
+
"use",
|
|
194
|
+
{
|
|
195
|
+
xlinkHref: `/tabler-sprite-filled.svg#tabler-filled-${o}`
|
|
196
|
+
}
|
|
197
|
+
) })
|
|
198
|
+
},
|
|
199
|
+
o
|
|
200
|
+
);
|
|
201
|
+
}) }) : /* @__PURE__ */ e(E, { pt: 16, children: /* @__PURE__ */ e(
|
|
202
|
+
ne,
|
|
203
|
+
{
|
|
204
|
+
size: 100,
|
|
205
|
+
description: a?.searchNoResults,
|
|
206
|
+
descriptionProps: {
|
|
207
|
+
fz: "sm"
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
) })
|
|
211
|
+
] }) : R.map((o) => /* @__PURE__ */ m("div", { children: [
|
|
212
|
+
/* @__PURE__ */ e(
|
|
213
|
+
N,
|
|
214
|
+
{
|
|
215
|
+
bg: "light-dark(var(--mantine-color-white), var(--mantine-color-dark-6))",
|
|
216
|
+
py: 6,
|
|
217
|
+
pos: "sticky",
|
|
218
|
+
top: -1,
|
|
219
|
+
style: { zIndex: 1 },
|
|
220
|
+
children: /* @__PURE__ */ e(b, { fz: "xs", fw: 500, lh: "140%", c: "dimmed", children: o.id || w("noCat") })
|
|
221
|
+
}
|
|
222
|
+
),
|
|
223
|
+
/* @__PURE__ */ e(A, { cols: 10, spacing: 0, children: o.icons.map((r) => {
|
|
224
|
+
const s = D[r];
|
|
225
|
+
return s ? /* @__PURE__ */ e(
|
|
226
|
+
"div",
|
|
227
|
+
{
|
|
228
|
+
className: h.item,
|
|
229
|
+
"data-icon": r,
|
|
230
|
+
"data-active": r === i?.icon,
|
|
231
|
+
onClick: v,
|
|
232
|
+
children: /* @__PURE__ */ e(
|
|
233
|
+
s,
|
|
234
|
+
{
|
|
235
|
+
width: "1em",
|
|
236
|
+
height: "1em",
|
|
237
|
+
color: "currentColor"
|
|
238
|
+
}
|
|
239
|
+
)
|
|
240
|
+
},
|
|
241
|
+
r
|
|
242
|
+
) : /* @__PURE__ */ e(
|
|
243
|
+
"div",
|
|
244
|
+
{
|
|
245
|
+
className: h.item,
|
|
246
|
+
"data-icon": r,
|
|
247
|
+
"data-active": r === i?.icon,
|
|
248
|
+
onClick: v,
|
|
249
|
+
children: /* @__PURE__ */ e("svg", { width: "1em", height: "1em", children: /* @__PURE__ */ e(
|
|
250
|
+
"use",
|
|
251
|
+
{
|
|
252
|
+
xlinkHref: `/tabler-sprite-filled.svg#tabler-filled-${r}`
|
|
253
|
+
}
|
|
254
|
+
) })
|
|
255
|
+
},
|
|
256
|
+
r
|
|
257
|
+
);
|
|
258
|
+
}) })
|
|
259
|
+
] }, o.id))
|
|
260
|
+
}
|
|
261
|
+
) })
|
|
262
|
+
] });
|
|
263
|
+
}
|
|
264
|
+
);
|
|
265
|
+
export {
|
|
266
|
+
Ce as IconsPanel
|
|
267
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
const e = [
|
|
2
|
+
"Logic",
|
|
3
|
+
"Gestures",
|
|
4
|
+
"Version control",
|
|
5
|
+
"Gender",
|
|
6
|
+
"Currencies",
|
|
7
|
+
"Electrical",
|
|
8
|
+
"Communication",
|
|
9
|
+
"Brand",
|
|
10
|
+
"Numbers",
|
|
11
|
+
"Extensions",
|
|
12
|
+
"Laundry",
|
|
13
|
+
"Computers",
|
|
14
|
+
"Animals",
|
|
15
|
+
"Badges",
|
|
16
|
+
"Arrows",
|
|
17
|
+
"Letters",
|
|
18
|
+
"Text",
|
|
19
|
+
"System",
|
|
20
|
+
"Design",
|
|
21
|
+
"Math"
|
|
22
|
+
], r = [
|
|
23
|
+
"👍",
|
|
24
|
+
"😀",
|
|
25
|
+
"😘",
|
|
26
|
+
"😍",
|
|
27
|
+
"😆",
|
|
28
|
+
"😜",
|
|
29
|
+
"😅",
|
|
30
|
+
"😂",
|
|
31
|
+
"😱"
|
|
32
|
+
];
|
|
33
|
+
export {
|
|
34
|
+
e as excludeCategories,
|
|
35
|
+
r as frequentEmoji
|
|
36
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { jsxs as s, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
const n = ({
|
|
3
|
+
color: t = "currentColor",
|
|
4
|
+
...e
|
|
5
|
+
}) => /* @__PURE__ */ s(
|
|
6
|
+
"svg",
|
|
7
|
+
{
|
|
8
|
+
viewBox: "0 0 24 24",
|
|
9
|
+
fill: "none",
|
|
10
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11
|
+
...e,
|
|
12
|
+
children: [
|
|
13
|
+
/* @__PURE__ */ r("circle", { cx: "12", cy: "12", r: "9", stroke: t, strokeWidth: "1.5" }),
|
|
14
|
+
/* @__PURE__ */ r(
|
|
15
|
+
"path",
|
|
16
|
+
{
|
|
17
|
+
d: "M15 9L9 15",
|
|
18
|
+
stroke: t,
|
|
19
|
+
strokeWidth: "1.5",
|
|
20
|
+
strokeLinecap: "round"
|
|
21
|
+
}
|
|
22
|
+
),
|
|
23
|
+
/* @__PURE__ */ r(
|
|
24
|
+
"path",
|
|
25
|
+
{
|
|
26
|
+
d: "M9 9L15 15",
|
|
27
|
+
stroke: t,
|
|
28
|
+
strokeWidth: "1.5",
|
|
29
|
+
strokeLinecap: "round"
|
|
30
|
+
}
|
|
31
|
+
)
|
|
32
|
+
]
|
|
33
|
+
}
|
|
34
|
+
);
|
|
35
|
+
export {
|
|
36
|
+
n as StatusCancel
|
|
37
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { jsxs as e, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
const n = ({
|
|
3
|
+
color: o = "currentColor",
|
|
4
|
+
...t
|
|
5
|
+
}) => /* @__PURE__ */ e(
|
|
6
|
+
"svg",
|
|
7
|
+
{
|
|
8
|
+
viewBox: "0 0 24 24",
|
|
9
|
+
fill: "none",
|
|
10
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11
|
+
...t,
|
|
12
|
+
children: [
|
|
13
|
+
/* @__PURE__ */ r("circle", { cx: "12", cy: "12", r: "9", stroke: o, strokeWidth: "1.5" }),
|
|
14
|
+
/* @__PURE__ */ r(
|
|
15
|
+
"path",
|
|
16
|
+
{
|
|
17
|
+
d: "M8 12L11 15L16 10",
|
|
18
|
+
stroke: o,
|
|
19
|
+
strokeWidth: "1.5",
|
|
20
|
+
strokeLinecap: "round",
|
|
21
|
+
strokeLinejoin: "round"
|
|
22
|
+
}
|
|
23
|
+
)
|
|
24
|
+
]
|
|
25
|
+
}
|
|
26
|
+
);
|
|
27
|
+
export {
|
|
28
|
+
n as StatusDone
|
|
29
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
const e = ({
|
|
3
|
+
color: o = "currentColor",
|
|
4
|
+
...t
|
|
5
|
+
}) => /* @__PURE__ */ r(
|
|
6
|
+
"svg",
|
|
7
|
+
{
|
|
8
|
+
viewBox: "0 0 24 24",
|
|
9
|
+
fill: "none",
|
|
10
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11
|
+
...t,
|
|
12
|
+
children: /* @__PURE__ */ r("circle", { cx: "12", cy: "12", r: "9", stroke: o, strokeWidth: "1.5" })
|
|
13
|
+
}
|
|
14
|
+
);
|
|
15
|
+
export {
|
|
16
|
+
e as StatusProgress00
|
|
17
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { jsxs as o, jsx as s } from "react/jsx-runtime";
|
|
2
|
+
const i = ({
|
|
3
|
+
color: r = "currentColor",
|
|
4
|
+
...t
|
|
5
|
+
}) => /* @__PURE__ */ o(
|
|
6
|
+
"svg",
|
|
7
|
+
{
|
|
8
|
+
viewBox: "0 0 24 24",
|
|
9
|
+
fill: "none",
|
|
10
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11
|
+
...t,
|
|
12
|
+
children: [
|
|
13
|
+
/* @__PURE__ */ s("circle", { cx: "12", cy: "12", r: "9", stroke: r, strokeWidth: "1.5" }),
|
|
14
|
+
/* @__PURE__ */ s("path", { d: "M12 5C13.3 5 14.6 5.4 15.7 6.1L12 12L12 5Z", fill: r })
|
|
15
|
+
]
|
|
16
|
+
}
|
|
17
|
+
);
|
|
18
|
+
export {
|
|
19
|
+
i as StatusProgress10
|
|
20
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { jsxs as c, jsx as s } from "react/jsx-runtime";
|
|
2
|
+
const o = ({
|
|
3
|
+
color: r = "currentColor",
|
|
4
|
+
...t
|
|
5
|
+
}) => /* @__PURE__ */ c(
|
|
6
|
+
"svg",
|
|
7
|
+
{
|
|
8
|
+
viewBox: "0 0 24 24",
|
|
9
|
+
fill: "none",
|
|
10
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11
|
+
...t,
|
|
12
|
+
children: [
|
|
13
|
+
/* @__PURE__ */ s("circle", { cx: "12", cy: "12", r: "8", stroke: r, strokeWidth: "1.5" }),
|
|
14
|
+
/* @__PURE__ */ s("circle", { cx: "12", cy: "12", r: "6", fill: r })
|
|
15
|
+
]
|
|
16
|
+
}
|
|
17
|
+
);
|
|
18
|
+
export {
|
|
19
|
+
o as StatusProgress100
|
|
20
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { jsxs as o, jsx as s } from "react/jsx-runtime";
|
|
2
|
+
const i = ({
|
|
3
|
+
color: r = "currentColor",
|
|
4
|
+
...t
|
|
5
|
+
}) => /* @__PURE__ */ o(
|
|
6
|
+
"svg",
|
|
7
|
+
{
|
|
8
|
+
viewBox: "0 0 24 24",
|
|
9
|
+
fill: "none",
|
|
10
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11
|
+
...t,
|
|
12
|
+
children: [
|
|
13
|
+
/* @__PURE__ */ s("circle", { cx: "12", cy: "12", r: "9", stroke: r, strokeWidth: "1.5" }),
|
|
14
|
+
/* @__PURE__ */ s(
|
|
15
|
+
"path",
|
|
16
|
+
{
|
|
17
|
+
d: "M12 5C13.3 5 14.6 5.4 15.7 6.1C16.8 6.8 17.6 7.8 18 9L12 12L12 5Z",
|
|
18
|
+
fill: r
|
|
19
|
+
}
|
|
20
|
+
)
|
|
21
|
+
]
|
|
22
|
+
}
|
|
23
|
+
);
|
|
24
|
+
export {
|
|
25
|
+
i as StatusProgress20
|
|
26
|
+
};
|