@layers-app/shared 0.4.5 → 0.4.7
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/components/AnimatedFigurePage/AnimatedFigurePage.module.css.js +13 -13
- package/dist/components/AppContainer/AppContainer.module.css.js +22 -12
- package/dist/components/AppContainer/components/AppsSidebar/DesktopUpdateButton.d.ts +6 -0
- package/dist/components/AppContainer/components/AppsSidebar/DesktopUpdateButton.d.ts.map +1 -0
- package/dist/components/AppContainer/components/AppsSidebar/DesktopUpdateButton.js +161 -0
- package/dist/components/AppContainer/components/AppsSidebar/TopSection.d.ts.map +1 -1
- package/dist/components/AppContainer/components/AppsSidebar/TopSection.js +24 -22
- package/dist/components/AppContainer/components/AppsSidebar/UserSection.d.ts.map +1 -1
- package/dist/components/AppContainer/components/AppsSidebar/UserSection.js +237 -95
- package/dist/components/AppContainer/components/Header.d.ts.map +1 -1
- package/dist/components/AppContainer/components/Header.js +6 -5
- package/dist/components/AppContainer/components/ToolSidebar.d.ts.map +1 -1
- package/dist/components/AppContainer/components/ToolSidebar.js +161 -128
- package/dist/components/AppContainer/components/menus/HelpMenu/HelpMenu.d.ts +62 -1
- package/dist/components/AppContainer/components/menus/HelpMenu/HelpMenu.d.ts.map +1 -1
- package/dist/components/AppContainer/components/menus/HelpMenu/HelpMenu.js +1111 -131
- package/dist/components/AppContainer/components/menus/HelpMenu/HelpMenu.module.css.js +158 -6
- package/dist/components/AppContainer/hooks/useAppContainer.d.ts +1 -1
- package/dist/components/AppContainer/hooks/useAppContainer.d.ts.map +1 -1
- package/dist/components/AppContainer/hooks/useAppContainer.js +59 -56
- package/dist/components/AppContainer/hooks/useAppContainerDataStore.d.ts.map +1 -1
- package/dist/components/AppContainer/hooks/useAppContainerDataStore.js +4 -3
- package/dist/components/AppContainer/types.d.ts +1 -0
- package/dist/components/AppContainer/types.d.ts.map +1 -1
- package/dist/components/AppShell/AppShell.module.css.js +5 -5
- package/dist/components/AttachmentsGalleryModal/AttachmentsGalleryContext.d.ts +2 -0
- package/dist/components/AttachmentsGalleryModal/AttachmentsGalleryContext.d.ts.map +1 -1
- package/dist/components/AttachmentsGalleryModal/AttachmentsGalleryContext.js +22 -17
- package/dist/components/AttachmentsGalleryModal/components/AttachmentVideoPlayer.d.ts +15 -0
- package/dist/components/AttachmentsGalleryModal/components/AttachmentVideoPlayer.d.ts.map +1 -0
- package/dist/components/AttachmentsGalleryModal/components/AttachmentVideoPlayer.js +36 -0
- package/dist/components/AttachmentsGalleryModal/components/GallerySlide.js +22 -22
- package/dist/components/AttachmentsGalleryModal/components/LegacyAttachmentVideoPlayer.d.ts +14 -0
- package/dist/components/AttachmentsGalleryModal/components/LegacyAttachmentVideoPlayer.d.ts.map +1 -0
- package/dist/components/AttachmentsGalleryModal/components/LegacyAttachmentVideoPlayer.js +31 -0
- package/dist/components/AttachmentsGalleryModal/components/ModalHeader.d.ts.map +1 -1
- package/dist/components/AttachmentsGalleryModal/components/ModalHeader.js +172 -120
- package/dist/components/AttachmentsGalleryModal/components/ShakePlayer/ShakaPlayer.module.css.js +4 -4
- package/dist/components/AttachmentsGalleryModal/components/ShakePlayer/useShakePlayer.d.ts.map +1 -1
- package/dist/components/AttachmentsGalleryModal/components/ShakePlayer/useShakePlayer.js +68 -62
- package/dist/components/AttachmentsGalleryModal/components/StatusVideoPlayer.d.ts +18 -0
- package/dist/components/AttachmentsGalleryModal/components/StatusVideoPlayer.d.ts.map +1 -0
- package/dist/components/AttachmentsGalleryModal/components/StatusVideoPlayer.js +35 -0
- package/dist/components/AttachmentsGalleryModal/components/useAttachmentVideoStatus.d.ts +33 -0
- package/dist/components/AttachmentsGalleryModal/components/useAttachmentVideoStatus.d.ts.map +1 -0
- package/dist/components/AttachmentsGalleryModal/components/useAttachmentVideoStatus.js +70 -0
- package/dist/components/AttachmentsGalleryModal/helpers.d.ts +8 -0
- package/dist/components/AttachmentsGalleryModal/helpers.d.ts.map +1 -1
- package/dist/components/AttachmentsGalleryModal/helpers.js +22 -17
- package/dist/components/AttachmentsGalleryModal/hooks/useDownloadFile.d.ts.map +1 -1
- package/dist/components/AttachmentsGalleryModal/hooks/useDownloadFile.js +28 -25
- package/dist/components/AttachmentsGalleryModal/hooks/useGetPreviewUrl.d.ts.map +1 -1
- package/dist/components/AttachmentsGalleryModal/hooks/useGetPreviewUrl.js +36 -41
- package/dist/components/AttachmentsGalleryModal/styles.module.css.js +32 -28
- package/dist/components/AttachmentsPreview/AttachmentsPreview.d.ts.map +1 -1
- package/dist/components/AttachmentsPreview/AttachmentsPreview.js +135 -80
- package/dist/components/AttachmentsPreview/AttachmentsPreview.module.css.js +24 -14
- package/dist/components/BouncingLogo/BouncingLogo.d.ts +1 -3
- package/dist/components/BouncingLogo/BouncingLogo.d.ts.map +1 -1
- package/dist/components/BouncingLogo/BouncingLogo.js +14 -20
- package/dist/components/BouncingLogo/BouncingLogo.module.css.js +4 -8
- package/dist/components/Chat/CallMessage/CallMessage.module.css.js +8 -8
- package/dist/components/Chat/ChatBubble/ChatBubble.module.css.js +5 -5
- package/dist/components/Chat/ChatHeader/ChatHeader.module.css.js +1 -1
- package/dist/components/Chat/ChatInput/ChatInput.module.css.js +44 -32
- package/dist/components/Chat/ChatInput/index.d.ts +29 -1
- package/dist/components/Chat/ChatInput/index.d.ts.map +1 -1
- package/dist/components/Chat/ChatInput/index.js +178 -118
- package/dist/components/Chat/ChatInput/smilePlusIcon.d.ts +3 -0
- package/dist/components/Chat/ChatInput/smilePlusIcon.d.ts.map +1 -0
- package/dist/components/Chat/ChatInput/smilePlusIcon.js +49 -0
- package/dist/components/Chat/ChatLayout/ChatLayout.module.css.js +4 -4
- package/dist/components/Chat/ChatMessage/ChatMessage.module.css.js +2 -2
- package/dist/components/Chat/ChatMessage/index.d.ts +2 -0
- package/dist/components/Chat/ChatMessage/index.d.ts.map +1 -1
- package/dist/components/Chat/ChatMessage/index.js +136 -118
- package/dist/components/Chat/ChatPill/ChatPill.module.css.js +1 -1
- package/dist/components/Chat/DialogItem/DialogItem.module.css.js +4 -4
- package/dist/components/Chat/DialogList/DialogList.module.css.js +1 -1
- package/dist/components/Chat/MediaDocument/MediaDocument.module.css.js +3 -3
- package/dist/components/Chat/MessageActions/MessageActions.module.css.js +1 -1
- package/dist/components/Chat/MessageActions/index.d.ts +7 -0
- package/dist/components/Chat/MessageActions/index.d.ts.map +1 -1
- package/dist/components/Chat/MessageActions/index.js +40 -36
- package/dist/components/Chat/MessageForward/MessageForward.module.css.js +1 -1
- package/dist/components/Chat/MessageList/MessageList.module.css.js +10 -6
- package/dist/components/Chat/MessageList/index.d.ts +30 -3
- package/dist/components/Chat/MessageList/index.d.ts.map +1 -1
- package/dist/components/Chat/MessageList/index.js +154 -66
- package/dist/components/Chat/MessageMeta/MessageMeta.module.css.js +3 -3
- package/dist/components/Chat/MessageMeta/index.d.ts.map +1 -1
- package/dist/components/Chat/MessageMeta/index.js +21 -19
- package/dist/components/Chat/MessageReactions/MessageReactions.module.css.js +8 -8
- package/dist/components/Chat/MessageReactions/index.d.ts +17 -0
- package/dist/components/Chat/MessageReactions/index.d.ts.map +1 -1
- package/dist/components/Chat/MessageReactions/index.js +60 -28
- package/dist/components/Chat/MessageReply/MessageReply.module.css.js +7 -7
- package/dist/components/Chat/MessageStatus/MessageStatus.module.css.js +8 -6
- package/dist/components/Chat/MessageStatus/index.d.ts +1 -1
- package/dist/components/Chat/MessageStatus/index.d.ts.map +1 -1
- package/dist/components/Chat/MessageStatus/index.js +49 -34
- package/dist/components/Chat/ServiceMessage/ServiceMessage.module.css.js +1 -1
- package/dist/components/CircleColorPicker/CircleColorPicker.d.ts.map +1 -1
- package/dist/components/CircleColorPicker/CircleColorPicker.js +17 -15
- package/dist/components/CollapsibleContainer/CollapsibleContainer.module.css.js +1 -1
- package/dist/components/ColorPicker/ColorPicker.d.ts +3 -0
- package/dist/components/ColorPicker/ColorPicker.d.ts.map +1 -1
- package/dist/components/ColorPicker/ColorPicker.js +81 -76
- package/dist/components/ColorPicker/ColorPicker.module.css.js +24 -24
- package/dist/components/ColorPicker/ColorPickerList.d.ts.map +1 -1
- package/dist/components/ColorPicker/ColorPickerList.js +43 -41
- package/dist/components/ColorPicker/ColorPickerToolbar.d.ts.map +1 -1
- package/dist/components/ColorPicker/ColorPickerToolbar.js +52 -50
- package/dist/components/CommentComposer/CommentComposer.module.css.js +4 -4
- package/dist/components/CommunitiesDialog/styles.module.css.js +1 -1
- package/dist/components/Copyright/Copyright.module.css.js +1 -1
- package/dist/components/CustomKBD/CustomKBD.module.css.js +1 -1
- package/dist/components/EmojiPicker/EmojiPanel.d.ts +2 -1
- package/dist/components/EmojiPicker/EmojiPanel.d.ts.map +1 -1
- package/dist/components/EmojiPicker/EmojiPanel.js +73 -72
- package/dist/components/EmojiPicker/EmojiPicker.d.ts +16 -1
- package/dist/components/EmojiPicker/EmojiPicker.d.ts.map +1 -1
- package/dist/components/EmojiPicker/EmojiPicker.js +121 -86
- package/dist/components/EmojiPicker/EmojiPicker.module.css.js +8 -8
- package/dist/components/EmojiPicker/IconsPanel.d.ts.map +1 -1
- package/dist/components/EmojiPicker/IconsPanel.js +28 -25
- package/dist/components/EntityIcon.d.ts +1 -0
- package/dist/components/EntityIcon.d.ts.map +1 -1
- package/dist/components/EntityIcon.js +80 -32
- package/dist/components/EntityTitle/EntityTitle.module.css.js +1 -1
- package/dist/components/ErrorPage/components/Error403.d.ts +5 -1
- package/dist/components/ErrorPage/components/Error403.d.ts.map +1 -1
- package/dist/components/ErrorPage/components/Error403.js +25 -21
- package/dist/components/ErrorPage/components/Error404.d.ts.map +1 -1
- package/dist/components/ErrorPage/index.d.ts +5 -1
- package/dist/components/ErrorPage/index.d.ts.map +1 -1
- package/dist/components/ErrorPage/index.js +17 -10
- package/dist/components/FeatureProgress/FeatureProgress.module.css.js +49 -49
- package/dist/components/FilePicker/FilePicker.module.css.js +7 -7
- package/dist/components/FormViewer/FormViewer.module.css.js +20 -20
- package/dist/components/FormViewer/components/fields/DragOptions/DragOptions.module.css.js +1 -1
- package/dist/components/FormViewer/components/fields/DropdownField/DropdownField.module.css.js +1 -1
- package/dist/components/FormViewer/components/fields/EditableContent/EditableContent.module.css.js +1 -1
- package/dist/components/FormViewer/components/fields/SelectableCard/SelectableCard.module.css.js +8 -8
- package/dist/components/FormViewer/components/fields/UploadField/UploadFile/UploadFile.module.css.js +4 -4
- package/dist/components/FormViewer/store/formStore.d.ts.map +1 -1
- package/dist/components/ImageCropper/ImageCropper.module.css.js +38 -38
- package/dist/components/IntegrationFlowAnimation/IntegrationFlowAnimation.d.ts +3 -1
- package/dist/components/IntegrationFlowAnimation/IntegrationFlowAnimation.d.ts.map +1 -1
- package/dist/components/IntegrationFlowAnimation/IntegrationFlowAnimation.js +26 -25
- package/dist/components/IntegrationFlowAnimation/IntegrationFlowAnimation.module.css.js +11 -11
- package/dist/components/LanguagePicker/LanguagePicker.module.css.js +1 -1
- package/dist/components/Loaders/styles.module.css.js +6 -6
- package/dist/components/MediaLibrary/MediaLibrary.module.css.js +2 -2
- package/dist/components/MusicPlayerBar/MusicPlayerBar.module.css.js +23 -23
- package/dist/components/MusicPlayerBar/components/HoverActions.js +28 -28
- package/dist/components/NavMenu/NavMenu.d.ts +7 -1
- package/dist/components/NavMenu/NavMenu.d.ts.map +1 -1
- package/dist/components/NavMenu/NavMenu.js +54 -44
- package/dist/components/NavMenu/NavMenu.module.css.js +12 -12
- package/dist/components/NavMenu/components/NavMenuItem.d.ts.map +1 -1
- package/dist/components/NavMenu/components/NavMenuItem.js +84 -84
- package/dist/components/NavMenu/types.d.ts +4 -0
- package/dist/components/NavMenu/types.d.ts.map +1 -1
- package/dist/components/NavbarResizer/NavbarResizer.module.css.js +2 -2
- package/dist/components/NewToolbar/utils.d.ts +12 -0
- package/dist/components/NewToolbar/utils.d.ts.map +1 -0
- package/dist/components/NotPublicPanel/NotPublicPanel.module.css.js +11 -11
- package/dist/components/Notification/Notification.module.css.js +1 -1
- package/dist/components/OnboardingTour/index.d.ts +1 -1
- package/dist/components/OnboardingTour/index.d.ts.map +1 -1
- package/dist/components/OnboardingTour/useOnboardingTour.d.ts +2 -0
- package/dist/components/OnboardingTour/useOnboardingTour.d.ts.map +1 -1
- package/dist/components/OnboardingTour/useOnboardingTour.js +63 -51
- package/dist/components/PillTabs/PillTabs.module.css.js +1 -1
- package/dist/components/SearchFilters/SearchFilters.module.css.js +1 -1
- package/dist/components/SettingsSection/styles.module.css.js +1 -1
- package/dist/components/StorageUsageProgress/StorageUsageProgress.module.css.js +1 -1
- package/dist/components/TreeIndent/TreeIndent.module.css.js +4 -4
- package/dist/components/VideoPlayer/VideoPlayer.d.ts +24 -0
- package/dist/components/VideoPlayer/VideoPlayer.d.ts.map +1 -0
- package/dist/components/VideoPlayer/VideoPlayer.js +727 -0
- package/dist/components/VideoPlayer/components/MobileDrawer/index.d.ts +8 -0
- package/dist/components/VideoPlayer/components/MobileDrawer/index.d.ts.map +1 -0
- package/dist/components/VideoPlayer/components/MobileDrawer/index.js +67 -0
- package/dist/components/VideoPlayer/components/SelectListOptionButton.d.ts +7 -0
- package/dist/components/VideoPlayer/components/SelectListOptionButton.d.ts.map +1 -0
- package/dist/components/VideoPlayer/components/SelectListOptionButton.js +44 -0
- package/dist/components/VideoPlayer/components/StoryboardPreview.d.ts +9 -0
- package/dist/components/VideoPlayer/components/StoryboardPreview.d.ts.map +1 -0
- package/dist/components/VideoPlayer/components/StoryboardPreview.js +38 -0
- package/dist/components/VideoPlayer/components/VideoCustomControls.d.ts +33 -0
- package/dist/components/VideoPlayer/components/VideoCustomControls.d.ts.map +1 -0
- package/dist/components/VideoPlayer/components/VideoCustomControls.js +601 -0
- package/dist/components/VideoPlayer/components/VideoIcons.d.ts +25 -0
- package/dist/components/VideoPlayer/components/VideoIcons.d.ts.map +1 -0
- package/dist/components/VideoPlayer/components/VideoIcons.js +145 -0
- package/dist/components/VideoPlayer/components/VideoMenu.d.ts +27 -0
- package/dist/components/VideoPlayer/components/VideoMenu.d.ts.map +1 -0
- package/dist/components/VideoPlayer/components/VideoMenu.js +77 -0
- package/dist/components/VideoPlayer/components/VideoMobileSettingsDrawer.d.ts +17 -0
- package/dist/components/VideoPlayer/components/VideoMobileSettingsDrawer.d.ts.map +1 -0
- package/dist/components/VideoPlayer/components/VideoMobileSettingsDrawer.js +289 -0
- package/dist/components/VideoPlayer/components/VideoQualityMenu/index.d.ts +10 -0
- package/dist/components/VideoPlayer/components/VideoQualityMenu/index.d.ts.map +1 -0
- package/dist/components/VideoPlayer/components/VideoQualityMenu/index.js +55 -0
- package/dist/components/VideoPlayer/components/VideoSelect.d.ts +10 -0
- package/dist/components/VideoPlayer/components/VideoSelect.d.ts.map +1 -0
- package/dist/components/VideoPlayer/components/VideoSelect.js +168 -0
- package/dist/components/VideoPlayer/components/VideoSettingsMenu/index.d.ts +12 -0
- package/dist/components/VideoPlayer/components/VideoSettingsMenu/index.d.ts.map +1 -0
- package/dist/components/VideoPlayer/components/VideoSettingsMenu/index.js +48 -0
- package/dist/components/VideoPlayer/components/VideoSettingsModal/ChaptersSection.d.ts +25 -0
- package/dist/components/VideoPlayer/components/VideoSettingsModal/ChaptersSection.d.ts.map +1 -0
- package/dist/components/VideoPlayer/components/VideoSettingsModal/ChaptersSection.js +384 -0
- package/dist/components/VideoPlayer/components/VideoSettingsModal/CoverSection.d.ts +21 -0
- package/dist/components/VideoPlayer/components/VideoSettingsModal/CoverSection.d.ts.map +1 -0
- package/dist/components/VideoPlayer/components/VideoSettingsModal/CoverSection.js +264 -0
- package/dist/components/VideoPlayer/components/VideoSettingsModal/FooterActions.d.ts +10 -0
- package/dist/components/VideoPlayer/components/VideoSettingsModal/FooterActions.d.ts.map +1 -0
- package/dist/components/VideoPlayer/components/VideoSettingsModal/FooterActions.js +39 -0
- package/dist/components/VideoPlayer/components/VideoSettingsModal/ManualSubtitlesPanel.d.ts +14 -0
- package/dist/components/VideoPlayer/components/VideoSettingsModal/ManualSubtitlesPanel.d.ts.map +1 -0
- package/dist/components/VideoPlayer/components/VideoSettingsModal/ManualSubtitlesPanel.js +360 -0
- package/dist/components/VideoPlayer/components/VideoSettingsModal/SubtitleTrackRow.d.ts +16 -0
- package/dist/components/VideoPlayer/components/VideoSettingsModal/SubtitleTrackRow.d.ts.map +1 -0
- package/dist/components/VideoPlayer/components/VideoSettingsModal/SubtitlesSection.d.ts +14 -0
- package/dist/components/VideoPlayer/components/VideoSettingsModal/SubtitlesSection.d.ts.map +1 -0
- package/dist/components/VideoPlayer/components/VideoSettingsModal/context.d.ts +4 -0
- package/dist/components/VideoPlayer/components/VideoSettingsModal/context.d.ts.map +1 -0
- package/dist/components/VideoPlayer/components/VideoSettingsModal/context.js +14 -0
- package/dist/components/VideoPlayer/components/VideoSettingsModal/index.d.ts +22 -0
- package/dist/components/VideoPlayer/components/VideoSettingsModal/index.d.ts.map +1 -0
- package/dist/components/VideoPlayer/components/VideoSettingsModal/index.js +211 -0
- package/dist/components/VideoPlayer/components/VideoSpeedMenu/index.d.ts +11 -0
- package/dist/components/VideoPlayer/components/VideoSpeedMenu/index.d.ts.map +1 -0
- package/dist/components/VideoPlayer/components/VideoSpeedMenu/index.js +41 -0
- package/dist/components/VideoPlayer/components/VideoSubtitlesMenu/index.d.ts +10 -0
- package/dist/components/VideoPlayer/components/VideoSubtitlesMenu/index.d.ts.map +1 -0
- package/dist/components/VideoPlayer/components/VideoSubtitlesMenu/index.js +69 -0
- package/dist/components/VideoPlayer/hooks/useStoryboard.d.ts +21 -0
- package/dist/components/VideoPlayer/hooks/useStoryboard.d.ts.map +1 -0
- package/dist/components/VideoPlayer/hooks/useStoryboard.js +91 -0
- package/dist/components/VideoPlayer/index.d.ts +11 -0
- package/dist/components/VideoPlayer/index.d.ts.map +1 -0
- package/dist/components/VideoPlayer/types.d.ts +101 -0
- package/dist/components/VideoPlayer/types.d.ts.map +1 -0
- package/dist/components/VideoPlayer/utils/chapters.d.ts +8 -0
- package/dist/components/VideoPlayer/utils/chapters.d.ts.map +1 -0
- package/dist/components/VideoPlayer/utils/chapters.js +38 -0
- package/dist/components/VideoPlayer/utils/storyboard.d.ts +5 -0
- package/dist/components/VideoPlayer/utils/storyboard.d.ts.map +1 -0
- package/dist/components/VideoPlayer/utils/storyboard.js +47 -0
- package/dist/components/VideoPlayer/utils/subtitles.d.ts +18 -0
- package/dist/components/VideoPlayer/utils/subtitles.d.ts.map +1 -0
- package/dist/components/VideoPlayer/utils/subtitles.js +23 -0
- package/dist/components/VideoPlayer/utils/touch.d.ts +3 -0
- package/dist/components/VideoPlayer/utils/touch.d.ts.map +1 -0
- package/dist/components/VideoPlayer/utils/touch.js +5 -0
- package/dist/components/VideoPlayer/utils/videoPlayerUtils.d.ts +10 -0
- package/dist/components/VideoPlayer/utils/videoPlayerUtils.d.ts.map +1 -0
- package/dist/components/VideoPlayer/utils/videoPlayerUtils.js +22 -0
- package/dist/components/VideoPlayer/utils/videoSettings.d.ts +69 -0
- package/dist/components/VideoPlayer/utils/videoSettings.d.ts.map +1 -0
- package/dist/components/VideoPlayer/utils/videoSettings.js +90 -0
- package/dist/components/WorkspaceMenu/WorkspaceItem.d.ts.map +1 -1
- package/dist/components/WorkspaceMenu/WorkspaceItem.js +16 -14
- package/dist/components/table/FrontTable.d.ts.map +1 -1
- package/dist/components/table/hooks/useColumnsResizing.d.ts.map +1 -1
- package/dist/config/brand.d.ts.map +1 -1
- package/dist/config/brand.js +29 -29
- package/dist/config/envConfig.d.ts +4 -0
- package/dist/config/envConfig.d.ts.map +1 -1
- package/dist/config/envConfig.js +41 -37
- package/dist/helpers/showFeatureFeedback.module.css.js +4 -4
- package/dist/helpers/showNotifications.d.ts +9 -0
- package/dist/helpers/showNotifications.d.ts.map +1 -1
- package/dist/helpers/showNotifications.js +96 -58
- package/dist/helpers/showNotifications.module.css.js +1 -1
- package/dist/hooks/useDateUtils.d.ts.map +1 -1
- package/dist/hooks/useDateUtils.js +19 -23
- package/dist/hooks/useUiPref.d.ts +2 -0
- package/dist/hooks/useUiPref.d.ts.map +1 -0
- package/dist/hooks/useUiPref.js +80 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +582 -558
- package/dist/lang/locales/ui_en.json.js +1 -1
- package/dist/lang/locales/ui_es.json.js +1 -1
- package/dist/lang/locales/ui_ru.json.js +1 -1
- package/dist/videoSettings/createVideoSettingsDataSource.d.ts +19 -0
- package/dist/videoSettings/createVideoSettingsDataSource.d.ts.map +1 -0
- package/dist/videoSettings/createVideoSettingsDataSource.js +127 -0
- package/docs/README.md +499 -499
- package/package.json +79 -78
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { useMemo as x, useLayoutEffect as E, useRef as
|
|
3
|
-
import { Stack as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
1
|
+
import { jsxs as P, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { useMemo as x, useLayoutEffect as E, useRef as R } from "react";
|
|
3
|
+
import { Stack as w, Skeleton as l, Text as z } from "@mantine/core";
|
|
4
|
+
import { motion as $ } from "framer-motion";
|
|
5
|
+
import { DnDItem as q } from "./components/DnDItem.js";
|
|
6
|
+
import { DnDProvider as B } from "./components/DnDProvider.js";
|
|
7
|
+
import { NavMenuActionIcon as F } from "./components/NavMenuActionIcon.js";
|
|
8
|
+
import { NavMenuItem as s, NavMenuLoadMore as D } from "./components/NavMenuItem.js";
|
|
9
|
+
import { NavMenuLabel as G } from "./components/NavMenuLabel.js";
|
|
10
|
+
import { createNavMenuStore as H, NavMenuProvider as L } from "./store.js";
|
|
10
11
|
import T from "./NavMenu.module.css.js";
|
|
11
|
-
const
|
|
12
|
+
const J = ({
|
|
12
13
|
items: o,
|
|
13
|
-
loading:
|
|
14
|
+
loading: c,
|
|
14
15
|
onLoadMore: i,
|
|
15
16
|
noItemsPlaceholder: j,
|
|
16
17
|
onOrderChange: m,
|
|
@@ -20,20 +21,21 @@ const G = ({
|
|
|
20
21
|
store: I,
|
|
21
22
|
totalCount: N,
|
|
22
23
|
flatOrderChange: k,
|
|
23
|
-
canUserDragDrop:
|
|
24
|
-
canDragDropItem: M
|
|
24
|
+
canUserDragDrop: y = !0,
|
|
25
|
+
canDragDropItem: M,
|
|
26
|
+
animateReorder: A
|
|
25
27
|
}) => {
|
|
26
|
-
const n = x(() => I ??
|
|
27
|
-
const e = [], d = (
|
|
28
|
-
for (const [
|
|
28
|
+
const n = x(() => I ?? H(), [I]), h = n.useStore((e) => e.opened), u = x(() => {
|
|
29
|
+
const e = [], d = (a, C) => {
|
|
30
|
+
for (const [O, p] of a.entries()) {
|
|
29
31
|
const t = {
|
|
30
|
-
...
|
|
31
|
-
depth:
|
|
32
|
-
parentChildrenCount:
|
|
33
|
-
parentTotalChildren:
|
|
34
|
-
isLast:
|
|
32
|
+
...p,
|
|
33
|
+
depth: C.parentDepth + 1,
|
|
34
|
+
parentChildrenCount: C.parentChildrenCount,
|
|
35
|
+
parentTotalChildren: C.parentTotalChildren,
|
|
36
|
+
isLast: O === a.length - 1
|
|
35
37
|
};
|
|
36
|
-
e.push(t),
|
|
38
|
+
e.push(t), h?.includes(p.id) && p.children.length > 0 && d(p.children, {
|
|
37
39
|
parentDepth: t.depth,
|
|
38
40
|
parentChildrenCount: t.children.length,
|
|
39
41
|
parentTotalChildren: t.children.length
|
|
@@ -48,7 +50,7 @@ const G = ({
|
|
|
48
50
|
parentChildrenCount: o.length,
|
|
49
51
|
parentTotalChildren: N ?? o.length
|
|
50
52
|
}), e;
|
|
51
|
-
}, [o, i,
|
|
53
|
+
}, [o, i, h, N]);
|
|
52
54
|
E(() => {
|
|
53
55
|
n.useStore.setState({
|
|
54
56
|
props: {
|
|
@@ -59,19 +61,19 @@ const G = ({
|
|
|
59
61
|
}
|
|
60
62
|
});
|
|
61
63
|
}, [g, S, v, i, n]);
|
|
62
|
-
const
|
|
63
|
-
return
|
|
64
|
+
const f = R(null);
|
|
65
|
+
return c ? /* @__PURE__ */ P(w, { gap: 4, children: [
|
|
64
66
|
/* @__PURE__ */ r(l, { h: 32 }),
|
|
65
67
|
/* @__PURE__ */ r(l, { h: 32 }),
|
|
66
68
|
/* @__PURE__ */ r(l, { h: 32 }),
|
|
67
69
|
/* @__PURE__ */ r(l, { h: 32 })
|
|
68
|
-
] }) : o?.length ? m ? /* @__PURE__ */ r(L, { store: n, children: /* @__PURE__ */ r(
|
|
70
|
+
] }) : o?.length ? m ? /* @__PURE__ */ r(L, { store: n, children: /* @__PURE__ */ r(B, { containerRef: f, onOrderChange: m, children: /* @__PURE__ */ r(
|
|
69
71
|
"div",
|
|
70
72
|
{
|
|
71
73
|
className: T.container,
|
|
72
|
-
ref:
|
|
74
|
+
ref: f,
|
|
73
75
|
"data-flat-order-change": k,
|
|
74
|
-
children:
|
|
76
|
+
children: u.map((e, d) => {
|
|
75
77
|
if (e.id.includes("load-more"))
|
|
76
78
|
return /* @__PURE__ */ r(
|
|
77
79
|
D,
|
|
@@ -82,22 +84,22 @@ const G = ({
|
|
|
82
84
|
},
|
|
83
85
|
e.id
|
|
84
86
|
);
|
|
85
|
-
const
|
|
87
|
+
const a = M ? M(e) : y;
|
|
86
88
|
return /* @__PURE__ */ r(
|
|
87
|
-
|
|
89
|
+
q,
|
|
88
90
|
{
|
|
89
91
|
item: e,
|
|
90
92
|
index: d,
|
|
91
|
-
items:
|
|
92
|
-
opened:
|
|
93
|
-
itemAllowDragDrop:
|
|
94
|
-
children: /* @__PURE__ */ r(
|
|
93
|
+
items: u,
|
|
94
|
+
opened: h,
|
|
95
|
+
itemAllowDragDrop: a,
|
|
96
|
+
children: /* @__PURE__ */ r(s, { item: e })
|
|
95
97
|
},
|
|
96
98
|
e.id
|
|
97
99
|
);
|
|
98
100
|
})
|
|
99
101
|
}
|
|
100
|
-
) }) }) : /* @__PURE__ */ r(L, { store: n, children: /* @__PURE__ */ r("div", { className: T.container, ref:
|
|
102
|
+
) }) }) : /* @__PURE__ */ r(L, { store: n, children: /* @__PURE__ */ r("div", { className: T.container, ref: f, children: u.map((e) => e.id.includes("load-more") ? /* @__PURE__ */ r(
|
|
101
103
|
D,
|
|
102
104
|
{
|
|
103
105
|
depth: e.depth,
|
|
@@ -105,22 +107,30 @@ const G = ({
|
|
|
105
107
|
currentChildrenCount: e.parentChildrenCount ?? 0
|
|
106
108
|
},
|
|
107
109
|
e.id
|
|
108
|
-
) :
|
|
109
|
-
|
|
110
|
-
|
|
110
|
+
) : A ? /* @__PURE__ */ r(
|
|
111
|
+
$.div,
|
|
112
|
+
{
|
|
113
|
+
layout: "position",
|
|
114
|
+
transition: { duration: 0.2, ease: "easeOut" },
|
|
115
|
+
children: /* @__PURE__ */ r(s, { item: e })
|
|
116
|
+
},
|
|
117
|
+
e.id
|
|
118
|
+
) : /* @__PURE__ */ r(s, { item: e }, e.id)) }) }) : /* @__PURE__ */ r(b, { children: j });
|
|
119
|
+
}, b = ({ children: o, ...c }) => /* @__PURE__ */ r(
|
|
120
|
+
z,
|
|
111
121
|
{
|
|
112
122
|
size: "xs",
|
|
113
123
|
c: "var(--app-container-section-subtitle-color)",
|
|
114
124
|
px: 4,
|
|
115
|
-
...
|
|
125
|
+
...c,
|
|
116
126
|
children: o
|
|
117
127
|
}
|
|
118
|
-
),
|
|
119
|
-
Item:
|
|
120
|
-
ActionIcon:
|
|
121
|
-
Label:
|
|
128
|
+
), te = Object.assign(J, {
|
|
129
|
+
Item: s,
|
|
130
|
+
ActionIcon: F,
|
|
131
|
+
Label: G,
|
|
122
132
|
Placeholder: b
|
|
123
133
|
});
|
|
124
134
|
export {
|
|
125
|
-
|
|
135
|
+
te as NavMenu
|
|
126
136
|
};
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
const t = "
|
|
1
|
+
const t = "_container_x64pi_1", e = "_depthBox_x64pi_13", n = "_itemContainer_x64pi_38", o = "_item_x64pi_38", i = "_icon_x64pi_91", _ = "_chevron_x64pi_95", p = "_droppable_x64pi_120", a = "_draggableOverlay_x64pi_177", c = "_editInput_x64pi_197", r = {
|
|
2
2
|
container: t,
|
|
3
3
|
depthBox: e,
|
|
4
4
|
itemContainer: n,
|
|
5
5
|
item: o,
|
|
6
|
-
icon:
|
|
7
|
-
chevron:
|
|
8
|
-
droppable:
|
|
9
|
-
draggableOverlay:
|
|
10
|
-
editInput:
|
|
6
|
+
icon: i,
|
|
7
|
+
chevron: _,
|
|
8
|
+
droppable: p,
|
|
9
|
+
draggableOverlay: a,
|
|
10
|
+
editInput: c
|
|
11
11
|
};
|
|
12
12
|
export {
|
|
13
|
-
|
|
13
|
+
_ as chevron,
|
|
14
14
|
t as container,
|
|
15
|
-
|
|
15
|
+
r as default,
|
|
16
16
|
e as depthBox,
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
17
|
+
a as draggableOverlay,
|
|
18
|
+
p as droppable,
|
|
19
|
+
c as editInput,
|
|
20
|
+
i as icon,
|
|
21
21
|
o as item,
|
|
22
22
|
n as itemContainer
|
|
23
23
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavMenuItem.d.ts","sourceRoot":"","sources":["../../../../src/components/NavMenu/components/NavMenuItem.tsx"],"names":[],"mappings":"AAuBA,OAAO,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAKhD,KAAK,gBAAgB,GAAG;IACtB,IAAI,EAAE,oBAAoB,CAAC;IAC3B,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC,CAAC;AAEF,eAAO,MAAM,WAAW,oFACwB,gBAAgB,6CAgB/D,CAAC;
|
|
1
|
+
{"version":3,"file":"NavMenuItem.d.ts","sourceRoot":"","sources":["../../../../src/components/NavMenu/components/NavMenuItem.tsx"],"names":[],"mappings":"AAuBA,OAAO,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAKhD,KAAK,gBAAgB,GAAG;IACtB,IAAI,EAAE,oBAAoB,CAAC;IAC3B,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC,CAAC;AAEF,eAAO,MAAM,WAAW,oFACwB,gBAAgB,6CAgB/D,CAAC;AAgSF,eAAO,MAAM,eAAe,GAAI,0CAI7B;IACD,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,oBAAoB,EAAE,MAAM,CAAC;CAC9B,4CAiCA,CAAC"}
|
|
@@ -1,105 +1,105 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { memo as m, useRef as
|
|
3
|
-
import { useTranslation as
|
|
1
|
+
import { jsx as t, jsxs as h } from "react/jsx-runtime";
|
|
2
|
+
import { memo as m, useRef as S, useEffect as E, useState as M, useMemo as P } from "react";
|
|
3
|
+
import { useTranslation as v } from "react-i18next";
|
|
4
4
|
import { NavLink as A } from "react-router-dom";
|
|
5
5
|
import { MoreHorizontalIcon as D, ArrowRight01Icon as z } from "@hugeicons/core-free-icons";
|
|
6
|
-
import { HugeiconsIcon as
|
|
7
|
-
import { Flex as f, Loader as
|
|
8
|
-
import { useForm as
|
|
9
|
-
import { useClickOutside as
|
|
10
|
-
import { useAsyncStatus as
|
|
6
|
+
import { HugeiconsIcon as x } from "@hugeicons/react";
|
|
7
|
+
import { Flex as f, Loader as N, Text as b, FocusTrap as F, Tooltip as k, Center as R } from "@mantine/core";
|
|
8
|
+
import { useForm as j } from "@mantine/form";
|
|
9
|
+
import { useClickOutside as T } from "@mantine/hooks";
|
|
10
|
+
import { useAsyncStatus as L } from "../../../hooks/useAsyncStatus.js";
|
|
11
11
|
import { useMenu as V } from "../../../hooks/useMenu.js";
|
|
12
12
|
import { appContainerStore as $ } from "../../AppContainer/hooks/useAppContainerStore.js";
|
|
13
13
|
import { ColorPickerPopover as B } from "../../ColorPicker/ColorPickerPopover.js";
|
|
14
14
|
import { EmojiPicker as H } from "../../EmojiPicker/EmojiPicker.js";
|
|
15
|
-
import { EntityIcon as
|
|
15
|
+
import { EntityIcon as y } from "../../EntityIcon.js";
|
|
16
16
|
import { IconEntity as C } from "../../ProjectIcon/ProjectIcon.js";
|
|
17
17
|
import { NavMenu as I } from "../NavMenu.js";
|
|
18
18
|
import { useNavMenuStore as g } from "../store.js";
|
|
19
|
-
import { NavMenuActionIcon as
|
|
19
|
+
import { NavMenuActionIcon as G } from "./NavMenuActionIcon.js";
|
|
20
20
|
import c from "../NavMenu.module.css.js";
|
|
21
21
|
const ue = m(
|
|
22
22
|
({ item: e, ignoreDepth: i, disableToggleOnClick: r }) => {
|
|
23
|
-
const { useStore:
|
|
24
|
-
return /* @__PURE__ */
|
|
25
|
-
|
|
23
|
+
const { useStore: a } = g(), o = a((s) => s.editId === e.id);
|
|
24
|
+
return /* @__PURE__ */ t(
|
|
25
|
+
O,
|
|
26
26
|
{
|
|
27
27
|
depth: i ? void 0 : e.depth,
|
|
28
28
|
testId: e.testId,
|
|
29
|
-
children:
|
|
29
|
+
children: o ? /* @__PURE__ */ t(_, { item: e }) : /* @__PURE__ */ t(W, { item: e, disableToggleOnClick: r })
|
|
30
30
|
}
|
|
31
31
|
);
|
|
32
32
|
}
|
|
33
|
-
),
|
|
33
|
+
), W = m(
|
|
34
34
|
({
|
|
35
35
|
item: e,
|
|
36
36
|
disableToggleOnClick: i
|
|
37
37
|
}) => {
|
|
38
|
-
const { api: r, useStore:
|
|
39
|
-
i || (
|
|
40
|
-
},
|
|
38
|
+
const { api: r, useStore: a } = g(), o = a((n) => n.props.onClick), { isMobile: s } = V(), { t: p } = v("appContainer"), u = () => {
|
|
39
|
+
i || (o ? o(e) : e.hasChildren && r.toggleOpened(e));
|
|
40
|
+
}, l = e.data?.isReadOnly, d = e.href ? /* @__PURE__ */ t(
|
|
41
41
|
A,
|
|
42
42
|
{
|
|
43
43
|
to: e.href,
|
|
44
44
|
className: c.item,
|
|
45
45
|
"data-active": e.active,
|
|
46
46
|
"data-has-children": e.hasChildren,
|
|
47
|
-
"data-read-only":
|
|
48
|
-
onClick:
|
|
49
|
-
|
|
47
|
+
"data-read-only": l,
|
|
48
|
+
onClick: l ? void 0 : () => {
|
|
49
|
+
s && !e.hasChildren && $.api.closeToolbar();
|
|
50
50
|
},
|
|
51
|
-
children: /* @__PURE__ */
|
|
51
|
+
children: /* @__PURE__ */ t(w, { item: e })
|
|
52
52
|
}
|
|
53
|
-
) : /* @__PURE__ */
|
|
53
|
+
) : /* @__PURE__ */ t(
|
|
54
54
|
"div",
|
|
55
55
|
{
|
|
56
56
|
className: c.item,
|
|
57
57
|
"data-active": e.active,
|
|
58
58
|
"data-has-children": e.hasChildren,
|
|
59
|
-
"data-read-only":
|
|
60
|
-
onClick:
|
|
61
|
-
children: /* @__PURE__ */
|
|
59
|
+
"data-read-only": l,
|
|
60
|
+
onClick: l ? void 0 : u,
|
|
61
|
+
children: /* @__PURE__ */ t(w, { item: e })
|
|
62
62
|
}
|
|
63
63
|
);
|
|
64
|
-
return
|
|
64
|
+
return l ? /* @__PURE__ */ t(k, { label: p("readOnlyAccess"), position: "right", withArrow: !0, children: d }) : d;
|
|
65
65
|
}
|
|
66
66
|
), w = m(({ item: e }) => {
|
|
67
|
-
const { t: i } =
|
|
68
|
-
() => ({ ...e.data, isOpen:
|
|
69
|
-
[
|
|
70
|
-
),
|
|
67
|
+
const { t: i } = v(), r = e.data?.type === "PAGE" ? i("untitled") : i("noName"), { useStore: a, api: o } = g(), s = a((n) => n.opened.includes(e.id)), p = a((n) => n.loading[e.id]), u = P(
|
|
68
|
+
() => ({ ...e.data, isOpen: s }),
|
|
69
|
+
[s, e.data]
|
|
70
|
+
), l = e.data?.isReadOnly, d = l ? 0.3 : void 0;
|
|
71
71
|
return /* @__PURE__ */ h(f, { gap: 4, h: "100%", flex: 1, miw: 0, justify: "space-between", children: [
|
|
72
72
|
/* @__PURE__ */ h(f, { gap: 4, miw: 0, flex: 1, children: [
|
|
73
|
-
|
|
74
|
-
|
|
73
|
+
p ? /* @__PURE__ */ t(R, { w: 20, h: 20, children: /* @__PURE__ */ t(N, { size: 16 }) }) : e.hasChildren && !l && /* @__PURE__ */ t(
|
|
74
|
+
G,
|
|
75
75
|
{
|
|
76
76
|
className: c.chevron,
|
|
77
77
|
"data-cy": e.testId ? `${e.testId}-expand` : void 0,
|
|
78
|
-
onClick: (
|
|
79
|
-
|
|
78
|
+
onClick: (n) => {
|
|
79
|
+
n.preventDefault(), n.stopPropagation(), o.toggleOpened(e);
|
|
80
80
|
},
|
|
81
|
-
children: /* @__PURE__ */
|
|
82
|
-
|
|
81
|
+
children: /* @__PURE__ */ t(
|
|
82
|
+
x,
|
|
83
83
|
{
|
|
84
84
|
icon: z,
|
|
85
85
|
size: 16,
|
|
86
86
|
style: {
|
|
87
|
-
transform: `rotate(${
|
|
87
|
+
transform: `rotate(${s ? 90 : 0}deg)`,
|
|
88
88
|
transition: "transform 0.1s ease-in-out"
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
91
|
)
|
|
92
92
|
}
|
|
93
93
|
),
|
|
94
|
-
/* @__PURE__ */
|
|
95
|
-
/* @__PURE__ */
|
|
96
|
-
|
|
94
|
+
/* @__PURE__ */ t("div", { className: c.icon, style: { opacity: d }, children: /* @__PURE__ */ t(y, { item: u }) }),
|
|
95
|
+
/* @__PURE__ */ t(
|
|
96
|
+
k,
|
|
97
97
|
{
|
|
98
98
|
disabled: e.title.length < 25,
|
|
99
|
-
label: e.title ||
|
|
99
|
+
label: e.title || r,
|
|
100
100
|
openDelay: 400,
|
|
101
|
-
children: /* @__PURE__ */
|
|
102
|
-
|
|
101
|
+
children: /* @__PURE__ */ t(
|
|
102
|
+
b,
|
|
103
103
|
{
|
|
104
104
|
flex: 1,
|
|
105
105
|
truncate: !0,
|
|
@@ -109,10 +109,10 @@ const ue = m(
|
|
|
109
109
|
miw: 0,
|
|
110
110
|
c: "var(--mantine-color-text)",
|
|
111
111
|
"data-cy": e.testId ? `${e.testId}-title` : void 0,
|
|
112
|
-
onDoubleClick: (
|
|
113
|
-
|
|
112
|
+
onDoubleClick: (n) => {
|
|
113
|
+
a.getState().props.onEdit && !e?.isDisabledEditByDoubleClick && (n.preventDefault(), n.stopPropagation(), o.startEditing(e.id));
|
|
114
114
|
},
|
|
115
|
-
children: e.title ||
|
|
115
|
+
children: e.title || r
|
|
116
116
|
}
|
|
117
117
|
)
|
|
118
118
|
}
|
|
@@ -120,50 +120,50 @@ const ue = m(
|
|
|
120
120
|
] }),
|
|
121
121
|
e.rightSection
|
|
122
122
|
] });
|
|
123
|
-
}),
|
|
124
|
-
const { api: i, useStore: r } = g(),
|
|
123
|
+
}), _ = m(({ item: e }) => {
|
|
124
|
+
const { api: i, useStore: r } = g(), a = S(null), o = j({
|
|
125
125
|
initialValues: {
|
|
126
126
|
name: e.title,
|
|
127
127
|
icon: e.data?.icon || ""
|
|
128
128
|
}
|
|
129
|
-
}),
|
|
129
|
+
}), s = (n) => {
|
|
130
130
|
i.handleEdit({
|
|
131
131
|
id: e.id,
|
|
132
|
-
name:
|
|
133
|
-
icon:
|
|
132
|
+
name: n.name ?? "",
|
|
133
|
+
icon: n.icon ?? ""
|
|
134
134
|
}), i.stopEditing();
|
|
135
|
-
}, p =
|
|
136
|
-
|
|
135
|
+
}, p = T(() => {
|
|
136
|
+
o.isDirty() ? s(o.getValues()) : i.stopEditing();
|
|
137
137
|
});
|
|
138
138
|
E(() => {
|
|
139
|
-
|
|
139
|
+
a.current && a.current.select();
|
|
140
140
|
}, []);
|
|
141
|
-
const u = r((
|
|
142
|
-
return /* @__PURE__ */
|
|
141
|
+
const u = r((n) => n.opened.includes(e.id)), [l, d] = M(!1);
|
|
142
|
+
return /* @__PURE__ */ t(
|
|
143
143
|
"form",
|
|
144
144
|
{
|
|
145
|
-
onSubmit:
|
|
145
|
+
onSubmit: o.onSubmit(s),
|
|
146
146
|
className: c.item,
|
|
147
147
|
ref: p,
|
|
148
148
|
"data-editing": !0,
|
|
149
149
|
children: /* @__PURE__ */ h(f, { gap: 4, h: "100%", flex: 1, miw: 0, justify: "space-between", children: [
|
|
150
|
-
/* @__PURE__ */
|
|
150
|
+
/* @__PURE__ */ t("div", { className: c.icon, children: e.colorPickerOnly ? /* @__PURE__ */ t(
|
|
151
151
|
B,
|
|
152
152
|
{
|
|
153
|
-
value: C.parse(
|
|
154
|
-
onChange: (
|
|
153
|
+
value: C.parse(o.values.icon)?.color,
|
|
154
|
+
onChange: (n) => o.setFieldValue("icon", C.stringify({ color: n })),
|
|
155
155
|
withinPortal: !1,
|
|
156
156
|
floatingStrategy: "fixed",
|
|
157
|
-
opened:
|
|
158
|
-
setOpened:
|
|
159
|
-
children: /* @__PURE__ */
|
|
160
|
-
|
|
157
|
+
opened: l,
|
|
158
|
+
setOpened: d,
|
|
159
|
+
children: /* @__PURE__ */ t(I.ActionIcon, { onClick: () => d((n) => !n), children: /* @__PURE__ */ t(
|
|
160
|
+
y,
|
|
161
161
|
{
|
|
162
|
-
item: { ...e.data, isOpen: u, icon:
|
|
162
|
+
item: { ...e.data, isOpen: u, icon: o.values.icon }
|
|
163
163
|
}
|
|
164
164
|
) })
|
|
165
165
|
}
|
|
166
|
-
) : /* @__PURE__ */
|
|
166
|
+
) : /* @__PURE__ */ t(
|
|
167
167
|
H,
|
|
168
168
|
{
|
|
169
169
|
showIcons: !0,
|
|
@@ -172,31 +172,31 @@ const ue = m(
|
|
|
172
172
|
popoverProps: {
|
|
173
173
|
floatingStrategy: "fixed"
|
|
174
174
|
},
|
|
175
|
-
value:
|
|
176
|
-
onChange: (
|
|
177
|
-
children: /* @__PURE__ */
|
|
178
|
-
|
|
175
|
+
value: o.values.icon,
|
|
176
|
+
onChange: (n) => o.setFieldValue("icon", n),
|
|
177
|
+
children: /* @__PURE__ */ t(I.ActionIcon, { children: /* @__PURE__ */ t(
|
|
178
|
+
y,
|
|
179
179
|
{
|
|
180
|
-
item: { ...e.data, isOpen: u, icon:
|
|
180
|
+
item: { ...e.data, isOpen: u, icon: o.values.icon }
|
|
181
181
|
}
|
|
182
182
|
) })
|
|
183
183
|
}
|
|
184
184
|
) }),
|
|
185
|
-
/* @__PURE__ */
|
|
185
|
+
/* @__PURE__ */ t(F, { children: /* @__PURE__ */ t(
|
|
186
186
|
"input",
|
|
187
187
|
{
|
|
188
|
-
ref:
|
|
188
|
+
ref: a,
|
|
189
189
|
className: c.editInput,
|
|
190
190
|
"data-cy": e.testId ? `${e.testId}-rename-input` : void 0,
|
|
191
|
-
...
|
|
191
|
+
...o.getInputProps("name"),
|
|
192
192
|
maxLength: 255,
|
|
193
|
-
onFocus: (
|
|
193
|
+
onFocus: (n) => n.target.select()
|
|
194
194
|
}
|
|
195
195
|
) })
|
|
196
196
|
] })
|
|
197
197
|
}
|
|
198
198
|
);
|
|
199
|
-
}),
|
|
199
|
+
}), O = m(
|
|
200
200
|
({
|
|
201
201
|
depth: e = 0,
|
|
202
202
|
children: i,
|
|
@@ -210,7 +210,7 @@ const ue = m(
|
|
|
210
210
|
"--depth": e
|
|
211
211
|
},
|
|
212
212
|
children: [
|
|
213
|
-
Array.from({ length: e }).map((
|
|
213
|
+
Array.from({ length: e }).map((a, o) => /* @__PURE__ */ t("div", { className: c.depthBox }, o)),
|
|
214
214
|
i
|
|
215
215
|
]
|
|
216
216
|
}
|
|
@@ -220,15 +220,15 @@ const ue = m(
|
|
|
220
220
|
itemId: i,
|
|
221
221
|
currentChildrenCount: r
|
|
222
222
|
}) => {
|
|
223
|
-
const { t:
|
|
224
|
-
return /* @__PURE__ */
|
|
223
|
+
const { t: a } = v("appContainer"), { api: o } = g(), { isLoading: s, onSubmit: p } = L();
|
|
224
|
+
return /* @__PURE__ */ t(O, { depth: e, children: /* @__PURE__ */ t(
|
|
225
225
|
"div",
|
|
226
226
|
{
|
|
227
227
|
className: c.item,
|
|
228
|
-
onClick: () => p(() =>
|
|
229
|
-
children: /* @__PURE__ */
|
|
230
|
-
/* @__PURE__ */
|
|
231
|
-
/* @__PURE__ */
|
|
228
|
+
onClick: () => p(() => o.loadMore({ itemId: i, currentChildrenCount: r })),
|
|
229
|
+
children: /* @__PURE__ */ t(f, { gap: 4, h: "100%", flex: 1, miw: 0, justify: "space-between", children: /* @__PURE__ */ h(f, { gap: 4, miw: 0, flex: 1, c: "gray", children: [
|
|
230
|
+
/* @__PURE__ */ t("div", { className: c.icon, children: s ? /* @__PURE__ */ t(N, { size: 16 }) : /* @__PURE__ */ t(x, { icon: D, size: 16 }) }),
|
|
231
|
+
/* @__PURE__ */ t(b, { flex: 1, truncate: !0, size: "sm", fw: 500, miw: 0, children: a("loadMore") })
|
|
232
232
|
] }) })
|
|
233
233
|
}
|
|
234
234
|
) });
|
|
@@ -4,6 +4,10 @@ export type NavMenuItemData = {
|
|
|
4
4
|
icon?: string | null;
|
|
5
5
|
title?: string | null;
|
|
6
6
|
isReadOnly?: boolean;
|
|
7
|
+
/** Entity id — consumed by EntityIcon (e.g. USER avatar initials/color). */
|
|
8
|
+
id?: string | null;
|
|
9
|
+
/** Avatar URL for USER-type items, rendered by EntityIcon. */
|
|
10
|
+
avatarUrl?: string | null;
|
|
7
11
|
};
|
|
8
12
|
export type NavMenuItemDef<DATA = NavMenuItemData> = {
|
|
9
13
|
id: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/NavMenu/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,UAAU,CAAC,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/NavMenu/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,4EAA4E;IAC5E,EAAE,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACnB,8DAA8D;IAC9D,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC3B,CAAC;AAEF,MAAM,MAAM,cAAc,CAAC,IAAI,GAAG,eAAe,IAAI;IACnD,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,EAAE,cAAc,CAAC,IAAI,CAAC,EAAE,CAAC;IACjC,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,2BAA2B,CAAC,EAAE,OAAO,CAAC;IACtC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B,CAAC;AAEF,MAAM,MAAM,oBAAoB,CAAC,IAAI,GAAG,eAAe,IACrD,cAAc,CAAC,IAAI,CAAC,GAAG;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,OAAO,CAAC;IAChB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,mBAAmB,EAAE,MAAM,CAAC;CAC7B,CAAC;AAEJ,MAAM,MAAM,kBAAkB,CAAC,IAAI,GAAG,eAAe,IAAI,CAAC,CAAC,EAAE;IAC3D,IAAI,EAAE,oBAAoB,CAAC,IAAI,CAAC,CAAC;IACjC,IAAI,EAAE,oBAAoB,CAAC,IAAI,CAAC,CAAC;IACjC,QAAQ,EAAE,0BAA0B,CAAC;CACtC,KAAK,IAAI,CAAC;AAEX,MAAM,MAAM,iBAAiB,GAAG,CAAC,OAAO,EAAE;IACxC,MAAM,EAAE,MAAM,CAAC;IACf,oBAAoB,EAAE,MAAM,CAAC;CAC9B,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;AAEpB,MAAM,MAAM,0BAA0B,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare const iconsStyles: {
|
|
2
|
+
size: string;
|
|
3
|
+
};
|
|
4
|
+
export declare const buttonStyles: {
|
|
5
|
+
display: string;
|
|
6
|
+
justifyContent: string;
|
|
7
|
+
alignItems: string;
|
|
8
|
+
zIndex: number;
|
|
9
|
+
width: number;
|
|
10
|
+
height: number;
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/components/NewToolbar/utils.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW;;CAAmB,CAAC;AAC5C,eAAO,MAAM,YAAY;;;;;;;CAOxB,CAAC"}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
const e = "
|
|
1
|
+
const e = "_previewBoxTitle_1xmos_1", o = "_previewBox_1xmos_1", r = "_previewContainer_1xmos_45", t = "_previewHeader_1xmos_58", i = "_headerDot_1xmos_70", s = "_previewContent_1xmos_80", n = "_processing_1xmos_103", _ = {
|
|
2
2
|
previewBoxTitle: e,
|
|
3
3
|
previewBox: o,
|
|
4
|
-
previewContainer:
|
|
5
|
-
previewHeader:
|
|
6
|
-
headerDot:
|
|
7
|
-
previewContent:
|
|
8
|
-
processing:
|
|
4
|
+
previewContainer: r,
|
|
5
|
+
previewHeader: t,
|
|
6
|
+
headerDot: i,
|
|
7
|
+
previewContent: s,
|
|
8
|
+
processing: n
|
|
9
9
|
};
|
|
10
10
|
export {
|
|
11
11
|
_ as default,
|
|
12
|
-
|
|
12
|
+
i as headerDot,
|
|
13
13
|
o as previewBox,
|
|
14
14
|
e as previewBoxTitle,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
15
|
+
r as previewContainer,
|
|
16
|
+
s as previewContent,
|
|
17
|
+
t as previewHeader,
|
|
18
|
+
n as processing
|
|
19
19
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { OnboardingTourWrapper } from './OnboardingTourWrapper';
|
|
2
2
|
export type { OnboardingTourWrapperProps } from './OnboardingTourWrapper';
|
|
3
|
-
export { useOnboardingTour, isOnboardingCompleted, resetOnboarding, getSavedStepIndex, saveStepIndex, clearSavedStep, setOnboardingUserId, } from './useOnboardingTour';
|
|
3
|
+
export { useOnboardingTour, isOnboardingCompleted, resetOnboarding, getSavedStepIndex, saveStepIndex, clearSavedStep, setOnboardingUserId, suppressOnboarding, } from './useOnboardingTour';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/OnboardingTour/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,YAAY,EAAE,0BAA0B,EAAE,MAAM,yBAAyB,CAAC;AAC1E,OAAO,EACL,iBAAiB,EACjB,qBAAqB,EACrB,eAAe,EACf,iBAAiB,EACjB,aAAa,EACb,cAAc,EACd,mBAAmB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/OnboardingTour/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,YAAY,EAAE,0BAA0B,EAAE,MAAM,yBAAyB,CAAC;AAC1E,OAAO,EACL,iBAAiB,EACjB,qBAAqB,EACrB,eAAe,EACf,iBAAiB,EACjB,aAAa,EACb,cAAc,EACd,mBAAmB,EACnB,kBAAkB,GACnB,MAAM,qBAAqB,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
export declare const suppressOnboarding: (value: boolean) => void;
|
|
2
|
+
export declare const isOnboardingSuppressed: () => boolean;
|
|
1
3
|
export declare const setOnboardingUserId: (userId: string | null) => void;
|
|
2
4
|
export declare const isOnboardingCompleted: (featureKey: string) => boolean;
|
|
3
5
|
export declare const resetOnboarding: (featureKey: string) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useOnboardingTour.d.ts","sourceRoot":"","sources":["../../../src/components/OnboardingTour/useOnboardingTour.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useOnboardingTour.d.ts","sourceRoot":"","sources":["../../../src/components/OnboardingTour/useOnboardingTour.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,kBAAkB,GAAI,OAAO,OAAO,KAAG,IAKnD,CAAC;AAEF,eAAO,MAAM,sBAAsB,QAAO,OAAsB,CAAC;AAIjE,eAAO,MAAM,mBAAmB,GAAI,QAAQ,MAAM,GAAG,IAAI,KAAG,IAE3D,CAAC;AA4CF,eAAO,MAAM,qBAAqB,GAAI,YAAY,MAAM,KAAG,OAE1D,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,YAAY,MAAM,KAAG,IAUpD,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,YAAY,MAAM,KAAG,MAAM,GAAG,SAI/D,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,YAAY,MAAM,EAAE,WAAW,MAAM,KAAG,IAIrE,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,YAAY,MAAM,KAAG,IAInD,CAAC;AAEF,UAAU,wBAAwB;IAChC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,UAAU,uBAAuB;IAC/B,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,eAAO,MAAM,iBAAiB,GAC5B,YAAY,MAAM,EAClB,UAAU,wBAAwB,KACjC,uBAmEF,CAAC"}
|