@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,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 9C18.4 10.2 18.4 11.5 18 12.7L12 12L12 5Z",
|
|
18
|
+
fill: r
|
|
19
|
+
}
|
|
20
|
+
)
|
|
21
|
+
]
|
|
22
|
+
}
|
|
23
|
+
);
|
|
24
|
+
export {
|
|
25
|
+
i as StatusProgress30
|
|
26
|
+
};
|
|
@@ -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 9C18.4 10.2 18.4 11.5 18 12.7C17.6 13.9 16.8 14.9 15.7 15.6L12 12L12 5Z",
|
|
18
|
+
fill: r
|
|
19
|
+
}
|
|
20
|
+
)
|
|
21
|
+
]
|
|
22
|
+
}
|
|
23
|
+
);
|
|
24
|
+
export {
|
|
25
|
+
i as StatusProgress40
|
|
26
|
+
};
|
|
@@ -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 9C18.4 10.2 18.4 11.5 18 12.7C17.6 13.9 16.8 14.9 15.7 15.6C14.6 16.3 13.3 16.7 12 16.7L12 12L12 5Z",
|
|
18
|
+
fill: r
|
|
19
|
+
}
|
|
20
|
+
)
|
|
21
|
+
]
|
|
22
|
+
}
|
|
23
|
+
);
|
|
24
|
+
export {
|
|
25
|
+
i as StatusProgress50
|
|
26
|
+
};
|
|
@@ -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 9C18.4 10.2 18.4 11.5 18 12.7C17.6 13.9 16.8 14.9 15.7 15.6C14.6 16.3 13.3 16.7 12 16.7C10.7 16.7 9.4 16.3 8.3 15.6L12 12L12 5Z",
|
|
18
|
+
fill: r
|
|
19
|
+
}
|
|
20
|
+
)
|
|
21
|
+
]
|
|
22
|
+
}
|
|
23
|
+
);
|
|
24
|
+
export {
|
|
25
|
+
i as StatusProgress60
|
|
26
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { jsxs as o, jsx as s } from "react/jsx-runtime";
|
|
2
|
+
const C = ({
|
|
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 9C18.4 10.2 18.4 11.5 18 12.7C17.6 13.9 16.8 14.9 15.7 15.6C14.6 16.3 13.3 16.7 12 16.7C10.7 16.7 9.4 16.3 8.3 15.6C7.2 14.9 6.4 13.9 6 12.7L12 12L12 5Z",
|
|
18
|
+
fill: r
|
|
19
|
+
}
|
|
20
|
+
)
|
|
21
|
+
]
|
|
22
|
+
}
|
|
23
|
+
);
|
|
24
|
+
export {
|
|
25
|
+
C as StatusProgress70
|
|
26
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { jsxs as o, jsx as s } from "react/jsx-runtime";
|
|
2
|
+
const C = ({
|
|
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 9C18.4 10.2 18.4 11.5 18 12.7C17.6 13.9 16.8 14.9 15.7 15.6C14.6 16.3 13.3 16.7 12 16.7C10.7 16.7 9.4 16.3 8.3 15.6C7.2 14.9 6.4 13.9 6 12.7C5.6 11.5 5.6 10.2 6 9L12 12L12 5Z",
|
|
18
|
+
fill: r
|
|
19
|
+
}
|
|
20
|
+
)
|
|
21
|
+
]
|
|
22
|
+
}
|
|
23
|
+
);
|
|
24
|
+
export {
|
|
25
|
+
C as StatusProgress80
|
|
26
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { jsxs as o, jsx as s } from "react/jsx-runtime";
|
|
2
|
+
const e = ({
|
|
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 9C18.4 10.2 18.4 11.5 18 12.7C17.6 13.9 16.8 14.9 15.7 15.6C14.6 16.3 13.3 16.7 12 16.7C10.7 16.7 9.4 16.3 8.3 15.6C7.2 14.9 6.4 13.9 6 12.7C5.6 11.5 5.6 10.2 6 9C6.4 7.8 7.2 6.8 8.3 6.1L12 12L12 5Z",
|
|
18
|
+
fill: r
|
|
19
|
+
}
|
|
20
|
+
)
|
|
21
|
+
]
|
|
22
|
+
}
|
|
23
|
+
);
|
|
24
|
+
export {
|
|
25
|
+
e as StatusProgress90
|
|
26
|
+
};
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { StatusCancel as o } from "./StatusCancel.js";
|
|
2
|
+
import { StatusDone as r } from "./StatusDone.js";
|
|
3
|
+
import { StatusProgress00 as a } from "./StatusProgress00.js";
|
|
4
|
+
import { StatusProgress10 as e } from "./StatusProgress10.js";
|
|
5
|
+
import { StatusProgress20 as n } from "./StatusProgress20.js";
|
|
6
|
+
import { StatusProgress30 as g } from "./StatusProgress30.js";
|
|
7
|
+
import { StatusProgress40 as m } from "./StatusProgress40.js";
|
|
8
|
+
import { StatusProgress50 as p } from "./StatusProgress50.js";
|
|
9
|
+
import { StatusProgress60 as c } from "./StatusProgress60.js";
|
|
10
|
+
import { StatusProgress70 as i } from "./StatusProgress70.js";
|
|
11
|
+
import { StatusProgress80 as u } from "./StatusProgress80.js";
|
|
12
|
+
import { StatusProgress90 as d } from "./StatusProgress90.js";
|
|
13
|
+
import { StatusProgress100 as l } from "./StatusProgress100.js";
|
|
14
|
+
const f = [
|
|
15
|
+
{
|
|
16
|
+
name: "status-done",
|
|
17
|
+
component: r,
|
|
18
|
+
category: "Additional",
|
|
19
|
+
tags: ["status", "done", "complete", "finished", "ok", "check"]
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
name: "status-cancel",
|
|
23
|
+
component: o,
|
|
24
|
+
category: "Additional",
|
|
25
|
+
tags: ["status", "cancel", "x", "uncheck"]
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
name: "status-progress-00",
|
|
29
|
+
component: a,
|
|
30
|
+
category: "Additional",
|
|
31
|
+
tags: ["status", "todo", "progress", "00"]
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
name: "status-progress-10",
|
|
35
|
+
component: e,
|
|
36
|
+
category: "Additional",
|
|
37
|
+
tags: ["status", "progress", "10"]
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
name: "status-progress-20",
|
|
41
|
+
component: n,
|
|
42
|
+
category: "Additional",
|
|
43
|
+
tags: ["status", "progress", "20"]
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
name: "status-progress-30",
|
|
47
|
+
component: g,
|
|
48
|
+
category: "Additional",
|
|
49
|
+
tags: ["status", "progress", "30"]
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
name: "status-progress-40",
|
|
53
|
+
component: m,
|
|
54
|
+
category: "Additional",
|
|
55
|
+
tags: ["status", "progress", "40"]
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
name: "status-progress-50",
|
|
59
|
+
component: p,
|
|
60
|
+
category: "Additional",
|
|
61
|
+
tags: ["status", "progress", "50"]
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
name: "status-progress-60",
|
|
65
|
+
component: c,
|
|
66
|
+
category: "Additional",
|
|
67
|
+
tags: ["status", "progress", "60"]
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
name: "status-progress-70",
|
|
71
|
+
component: i,
|
|
72
|
+
category: "Additional",
|
|
73
|
+
tags: ["status", "progress", "70"]
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
name: "status-progress-80",
|
|
77
|
+
component: u,
|
|
78
|
+
category: "Additional",
|
|
79
|
+
tags: ["status", "progress", "80"]
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
name: "status-progress-90",
|
|
83
|
+
component: d,
|
|
84
|
+
category: "Additional",
|
|
85
|
+
tags: ["status", "progress", "90"]
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
name: "status-progress-100",
|
|
89
|
+
component: l,
|
|
90
|
+
category: "Additional",
|
|
91
|
+
tags: ["status", "progress", "100", "done", "complete"]
|
|
92
|
+
}
|
|
93
|
+
], O = Object.fromEntries(
|
|
94
|
+
f.map(({ name: t, component: s }) => [t, s])
|
|
95
|
+
);
|
|
96
|
+
export {
|
|
97
|
+
O as customIcons,
|
|
98
|
+
f as customIconsData
|
|
99
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export type IconMinified = {
|
|
2
|
+
n: string;
|
|
3
|
+
c: string;
|
|
4
|
+
t: string;
|
|
5
|
+
s: 'outline' | 'filled' | 'unknown';
|
|
6
|
+
}[];
|
|
7
|
+
/**
|
|
8
|
+
* Load and prepare icons list.
|
|
9
|
+
* If project === 'PROJECT' applies special grouping rules and includes custom icons.
|
|
10
|
+
*/
|
|
11
|
+
export declare const getIconsList: (project?: string) => Promise<IconMinified>;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { excludeCategories as d } from "./constants.js";
|
|
2
|
+
let c = null;
|
|
3
|
+
const I = async (a) => {
|
|
4
|
+
if (c) return c;
|
|
5
|
+
const e = (await import("../../assets/jsons/icons.min.json.js")).default.filter(
|
|
6
|
+
(t) => t.s === "filled" && !d.includes(t.c)
|
|
7
|
+
), o = e.find((t) => t.n === "tool"), l = e.find((t) => t.n === "check");
|
|
8
|
+
let i;
|
|
9
|
+
if (a === "PROJECT") {
|
|
10
|
+
const t = [
|
|
11
|
+
"check",
|
|
12
|
+
"bug",
|
|
13
|
+
"heart-handshake",
|
|
14
|
+
"square-rotated",
|
|
15
|
+
"circle-dashed"
|
|
16
|
+
], s = e.filter(
|
|
17
|
+
(n) => n.n.startsWith("antenna-bars-") || t.includes(n.n)
|
|
18
|
+
);
|
|
19
|
+
s.forEach((n) => {
|
|
20
|
+
n.c = "Additional";
|
|
21
|
+
});
|
|
22
|
+
const r = e.filter(
|
|
23
|
+
(n) => !n.n.startsWith("antenna-bars-") && !t.includes(n.n)
|
|
24
|
+
);
|
|
25
|
+
o && (o.c = "Additional", s.some((n) => n.n === "tool") || s.push(o)), l && (l.c = "Additional", s.some((n) => n.n === "check") || s.push(l)), i = [...s, ...r];
|
|
26
|
+
} else
|
|
27
|
+
i = e;
|
|
28
|
+
return c = i, c;
|
|
29
|
+
};
|
|
30
|
+
export {
|
|
31
|
+
I as getIconsList
|
|
32
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function getRandomIcon(project?: string): Promise<string | undefined>;
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { Folder01Icon as c } from "@hugeicons/core-free-icons";
|
|
3
|
+
import { HugeiconsIcon as a } from "@hugeicons/react";
|
|
4
|
+
import f from "../assets/enitityIcons/flow.svg.js";
|
|
5
|
+
import p from "../assets/enitityIcons/form.svg.js";
|
|
6
|
+
import s from "../assets/enitityIcons/page.svg.js";
|
|
7
|
+
import u from "../assets/enitityIcons/sprint.svg.js";
|
|
8
|
+
import { ProjectIcon as l, IconEntity as e, renderIcon as d } from "./ProjectIcon/ProjectIcon.js";
|
|
9
|
+
import { Text as i, Avatar as h } from "@mantine/core";
|
|
10
|
+
const z = ({
|
|
11
|
+
item: o
|
|
12
|
+
}) => {
|
|
13
|
+
const n = o?.size || 16;
|
|
14
|
+
if (!o) return null;
|
|
15
|
+
if (o.type === "FOLDER")
|
|
16
|
+
return /* @__PURE__ */ r(a, { icon: c, size: n });
|
|
17
|
+
if (o.type === "PAGE")
|
|
18
|
+
return /* @__PURE__ */ r(
|
|
19
|
+
l,
|
|
20
|
+
{
|
|
21
|
+
fallbackColor: "var(--default-page-icon-color)",
|
|
22
|
+
name: o.title,
|
|
23
|
+
icon: o.icon,
|
|
24
|
+
fallback: /* @__PURE__ */ r(s, { width: n, height: n })
|
|
25
|
+
}
|
|
26
|
+
);
|
|
27
|
+
if (o.type === "FORM")
|
|
28
|
+
return /* @__PURE__ */ r(
|
|
29
|
+
l,
|
|
30
|
+
{
|
|
31
|
+
fallbackColor: "var(--default-form-icon-color)",
|
|
32
|
+
icon: o.icon,
|
|
33
|
+
fallback: /* @__PURE__ */ r(p, { width: n, height: n })
|
|
34
|
+
}
|
|
35
|
+
);
|
|
36
|
+
if (o.type === "FLOW")
|
|
37
|
+
return /* @__PURE__ */ r(
|
|
38
|
+
l,
|
|
39
|
+
{
|
|
40
|
+
icon: o.icon,
|
|
41
|
+
fallbackColor: "var(--default-flow-icon-color)",
|
|
42
|
+
fallback: /* @__PURE__ */ r(f, { width: n, height: n })
|
|
43
|
+
}
|
|
44
|
+
);
|
|
45
|
+
if (o.type === "SPRINT") {
|
|
46
|
+
const t = e.parse(o.icon);
|
|
47
|
+
return /* @__PURE__ */ r(
|
|
48
|
+
i,
|
|
49
|
+
{
|
|
50
|
+
fz: 16,
|
|
51
|
+
c: t?.color || "yellow.6",
|
|
52
|
+
style: {
|
|
53
|
+
display: "flex",
|
|
54
|
+
alignItems: "center",
|
|
55
|
+
justifyContent: "center",
|
|
56
|
+
lineHeight: "normal"
|
|
57
|
+
},
|
|
58
|
+
children: /* @__PURE__ */ r(u, {})
|
|
59
|
+
}
|
|
60
|
+
);
|
|
61
|
+
}
|
|
62
|
+
if (o.type === "PROJECT") {
|
|
63
|
+
const t = e.parse(o.icon);
|
|
64
|
+
return /* @__PURE__ */ r(
|
|
65
|
+
h,
|
|
66
|
+
{
|
|
67
|
+
variant: "filled",
|
|
68
|
+
radius: 4,
|
|
69
|
+
name: o.title || "",
|
|
70
|
+
size: 16,
|
|
71
|
+
color: t?.color || "initials",
|
|
72
|
+
children: /* @__PURE__ */ r(
|
|
73
|
+
i,
|
|
74
|
+
{
|
|
75
|
+
fz: 12,
|
|
76
|
+
fw: 500,
|
|
77
|
+
tt: "uppercase",
|
|
78
|
+
lh: 0.9,
|
|
79
|
+
style: {
|
|
80
|
+
display: "flex",
|
|
81
|
+
alignItems: "center",
|
|
82
|
+
justifyContent: "center",
|
|
83
|
+
lineHeight: "normal"
|
|
84
|
+
},
|
|
85
|
+
children: d(t, void 0, !0, o.title)
|
|
86
|
+
}
|
|
87
|
+
)
|
|
88
|
+
}
|
|
89
|
+
);
|
|
90
|
+
}
|
|
91
|
+
return null;
|
|
92
|
+
};
|
|
93
|
+
export {
|
|
94
|
+
z as EntityIcon
|
|
95
|
+
};
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { jsx as a, Fragment as x } from "react/jsx-runtime";
|
|
2
|
+
import { useRef as F, useLayoutEffect as T } from "react";
|
|
3
|
+
import { useTranslation as D } from "react-i18next";
|
|
4
|
+
import { useLocation as E } from "react-router-dom";
|
|
5
|
+
import { Textarea as N } from "@mantine/core";
|
|
6
|
+
import s from "./EntityTitle.module.css.js";
|
|
7
|
+
const z = ({
|
|
8
|
+
lock: c,
|
|
9
|
+
title: t,
|
|
10
|
+
handleTitle: u,
|
|
11
|
+
placeholder: i,
|
|
12
|
+
error: f,
|
|
13
|
+
isReadOnly: d = !1,
|
|
14
|
+
accessEdit: h = !0,
|
|
15
|
+
nowrap: m = !1,
|
|
16
|
+
maxLength: p = 255,
|
|
17
|
+
fw: w,
|
|
18
|
+
onPressEnter: y
|
|
19
|
+
}) => {
|
|
20
|
+
const { t: g } = D(), v = E(), { isNewPage: r } = v.state || {}, n = F(null), l = !h || c || d;
|
|
21
|
+
return T(() => {
|
|
22
|
+
if ((r || t === "") && n.current) {
|
|
23
|
+
const e = n.current;
|
|
24
|
+
requestAnimationFrame(() => {
|
|
25
|
+
r && (e.focus(), e.setSelectionRange(
|
|
26
|
+
e.value.length,
|
|
27
|
+
e.value.length
|
|
28
|
+
));
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
}, [r, n.current, l]), /* @__PURE__ */ a(x, { children: l ? /* @__PURE__ */ a(
|
|
32
|
+
"h1",
|
|
33
|
+
{
|
|
34
|
+
style: {
|
|
35
|
+
overflowWrap: "anywhere"
|
|
36
|
+
},
|
|
37
|
+
"data-empty": String(!t),
|
|
38
|
+
className: s.EntityTitle,
|
|
39
|
+
children: t
|
|
40
|
+
}
|
|
41
|
+
) : /* @__PURE__ */ a(
|
|
42
|
+
N,
|
|
43
|
+
{
|
|
44
|
+
ref: n,
|
|
45
|
+
onKeyDown: (e) => {
|
|
46
|
+
e.key === "Enter" && (y?.(), e.preventDefault());
|
|
47
|
+
},
|
|
48
|
+
onBlur: (e) => {
|
|
49
|
+
window.isTitleFocused = !1;
|
|
50
|
+
const o = e.currentTarget.value.trim();
|
|
51
|
+
o !== t && u?.(o);
|
|
52
|
+
},
|
|
53
|
+
onChange: (e) => {
|
|
54
|
+
const o = e.currentTarget.value;
|
|
55
|
+
u?.(o);
|
|
56
|
+
},
|
|
57
|
+
onFocus: () => {
|
|
58
|
+
window.isTitleFocused = !0;
|
|
59
|
+
},
|
|
60
|
+
value: t,
|
|
61
|
+
placeholder: i || g("noName"),
|
|
62
|
+
maxLength: p,
|
|
63
|
+
unstyled: !0,
|
|
64
|
+
autosize: !0,
|
|
65
|
+
"data-autofocus": !0,
|
|
66
|
+
"data-error": !!f,
|
|
67
|
+
classNames: {
|
|
68
|
+
input: s.textareaInput,
|
|
69
|
+
root: s.textareaRoot
|
|
70
|
+
},
|
|
71
|
+
styles: {
|
|
72
|
+
input: {
|
|
73
|
+
fontWeight: w || 400,
|
|
74
|
+
...m && {
|
|
75
|
+
whiteSpace: "nowrap",
|
|
76
|
+
overflowX: "auto",
|
|
77
|
+
overflowY: "hidden"
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
) });
|
|
83
|
+
};
|
|
84
|
+
export {
|
|
85
|
+
z as EntityTitle
|
|
86
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { useTranslation as e } from "react-i18next";
|
|
3
|
+
import { Alert as n } from "@mantine/core";
|
|
4
|
+
import { IconInfoCircle as l } from "@tabler/icons-react";
|
|
5
|
+
const p = ({ message: o, ...t }) => {
|
|
6
|
+
const { t: i } = e();
|
|
7
|
+
return /* @__PURE__ */ r(
|
|
8
|
+
n,
|
|
9
|
+
{
|
|
10
|
+
variant: "light",
|
|
11
|
+
color: "red",
|
|
12
|
+
icon: /* @__PURE__ */ r(l, { size: 50 }),
|
|
13
|
+
...t,
|
|
14
|
+
children: o || i("500.title")
|
|
15
|
+
}
|
|
16
|
+
);
|
|
17
|
+
};
|
|
18
|
+
export {
|
|
19
|
+
p as ErrorAlert
|
|
20
|
+
};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { jsxs as i, Fragment as s, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { Helmet as m } from "react-helmet";
|
|
3
|
+
import { useTranslation as l } from "react-i18next";
|
|
4
|
+
import { useNavigate as c } from "react-router-dom";
|
|
5
|
+
import { Stack as a, CloseButton as p } from "@mantine/core";
|
|
6
|
+
import { IconHome2 as f } from "@tabler/icons-react";
|
|
7
|
+
import { useMenu as d } from "../../../hooks/useMenu.js";
|
|
8
|
+
import { NoData as u } from "../../NoData/NoData.js";
|
|
9
|
+
const w = ({ closeAction: e }) => {
|
|
10
|
+
const { t: o } = l(), r = c(), { isMobile: n } = d();
|
|
11
|
+
return /* @__PURE__ */ i(s, { children: [
|
|
12
|
+
/* @__PURE__ */ t(m, { children: /* @__PURE__ */ t("title", { children: "403" }) }),
|
|
13
|
+
/* @__PURE__ */ i(a, { p: 80, gap: "sm", justify: "center", flex: 1, align: "center", children: [
|
|
14
|
+
/* @__PURE__ */ t(
|
|
15
|
+
u,
|
|
16
|
+
{
|
|
17
|
+
title: o("403.title"),
|
|
18
|
+
description: o("403.description"),
|
|
19
|
+
illustration: "noAccess",
|
|
20
|
+
flex: "0,0,0",
|
|
21
|
+
size: 210,
|
|
22
|
+
h: "60dvh",
|
|
23
|
+
w: n ? 500 : "70%",
|
|
24
|
+
titleProps: { maw: 600, fz: 32 },
|
|
25
|
+
descriptionProps: { maw: 500, fz: 14 },
|
|
26
|
+
buttons: [
|
|
27
|
+
{
|
|
28
|
+
size: "sm",
|
|
29
|
+
variant: "filled",
|
|
30
|
+
leftSection: /* @__PURE__ */ t(f, { size: 18 }),
|
|
31
|
+
onClick: () => r("/"),
|
|
32
|
+
children: o("404.goHome")
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
}
|
|
36
|
+
),
|
|
37
|
+
e && /* @__PURE__ */ t(
|
|
38
|
+
p,
|
|
39
|
+
{
|
|
40
|
+
pos: "absolute",
|
|
41
|
+
top: 16,
|
|
42
|
+
right: 16,
|
|
43
|
+
onClick: e
|
|
44
|
+
}
|
|
45
|
+
)
|
|
46
|
+
] })
|
|
47
|
+
] });
|
|
48
|
+
};
|
|
49
|
+
export {
|
|
50
|
+
w as Error403
|
|
51
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { jsxs as i, Fragment as l, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { Helmet as c } from "react-helmet";
|
|
3
|
+
import { useTranslation as m } from "react-i18next";
|
|
4
|
+
import { useNavigate as a } from "react-router-dom";
|
|
5
|
+
import { Stack as p, CloseButton as f } from "@mantine/core";
|
|
6
|
+
import { useMenu as u } from "../../../hooks/useMenu.js";
|
|
7
|
+
import { NoData as d } from "../../NoData/NoData.js";
|
|
8
|
+
const C = ({ closeAction: r }) => {
|
|
9
|
+
const { t: o } = m(), n = a(), { isMobile: s } = u(), e = () => {
|
|
10
|
+
n("/");
|
|
11
|
+
};
|
|
12
|
+
return /* @__PURE__ */ i(l, { children: [
|
|
13
|
+
/* @__PURE__ */ t(c, { children: /* @__PURE__ */ t("title", { children: "406" }) }),
|
|
14
|
+
/* @__PURE__ */ i(p, { p: 80, gap: "sm", justify: "center", flex: 1, align: "center", children: [
|
|
15
|
+
/* @__PURE__ */ t(
|
|
16
|
+
d,
|
|
17
|
+
{
|
|
18
|
+
title: o("406.title"),
|
|
19
|
+
description: o("406.description"),
|
|
20
|
+
illustration: "noAccess",
|
|
21
|
+
flex: "0,0,0",
|
|
22
|
+
size: 210,
|
|
23
|
+
h: "60dvh",
|
|
24
|
+
w: s ? 500 : "70%",
|
|
25
|
+
buttons: [
|
|
26
|
+
{
|
|
27
|
+
children: o("406.goHome"),
|
|
28
|
+
onClick: e
|
|
29
|
+
}
|
|
30
|
+
]
|
|
31
|
+
}
|
|
32
|
+
),
|
|
33
|
+
r && /* @__PURE__ */ t(
|
|
34
|
+
f,
|
|
35
|
+
{
|
|
36
|
+
pos: "absolute",
|
|
37
|
+
top: 16,
|
|
38
|
+
right: 16,
|
|
39
|
+
onClick: e
|
|
40
|
+
}
|
|
41
|
+
)
|
|
42
|
+
] })
|
|
43
|
+
] });
|
|
44
|
+
};
|
|
45
|
+
export {
|
|
46
|
+
C as Error406
|
|
47
|
+
};
|