@layers-app/shared 0.3.6 → 0.3.8
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 +10 -10
- package/dist/components/AnimatedFigurePage/useParallax.d.ts +2 -2
- package/dist/components/AppContainer/AppContainer.module.css.js +1 -1
- package/dist/components/AppContainer/components/AppSidebarButton.d.ts +4 -1
- package/dist/components/AppContainer/components/AppSidebarButton.d.ts.map +1 -1
- package/dist/components/AppContainer/components/AppSidebarButton.js +22 -15
- package/dist/components/AppContainer/components/AppsSidebar/AppsSection.d.ts.map +1 -1
- package/dist/components/AppContainer/components/AppsSidebar/AppsSection.js +22 -21
- package/dist/components/AppContainer/components/AppsSidebar/UserSection.d.ts.map +1 -1
- package/dist/components/AppContainer/components/AppsSidebar/UserSection.js +48 -91
- package/dist/components/AppContainer/components/menus/HelpMenu/HelpMenu.module.css.js +1 -1
- package/dist/components/AppShell/AppShell.module.css.js +5 -5
- package/dist/components/AttachmentsGalleryModal/components/GallerySlide.d.ts +3 -1
- package/dist/components/AttachmentsGalleryModal/components/GallerySlide.d.ts.map +1 -1
- package/dist/components/AttachmentsGalleryModal/components/GallerySlide.js +89 -63
- package/dist/components/AttachmentsGalleryModal/components/ShakePlayer/ShakaPlayer.d.ts +1 -1
- package/dist/components/AttachmentsGalleryModal/components/ShakePlayer/ShakaPlayer.d.ts.map +1 -1
- package/dist/components/AttachmentsGalleryModal/components/ShakePlayer/ShakaPlayer.js +35 -26
- package/dist/components/AttachmentsGalleryModal/components/ShakePlayer/ShakaPlayer.module.css.js +4 -4
- package/dist/components/AttachmentsGalleryModal/components/ShakePlayer/useShakePlayer.d.ts +1 -1
- package/dist/components/AttachmentsGalleryModal/components/ShakePlayer/useShakePlayer.d.ts.map +1 -1
- package/dist/components/AttachmentsGalleryModal/components/ShakePlayer/useShakePlayer.js +43 -36
- package/dist/components/AttachmentsGalleryModal/components/UnsupportedSection.d.ts +6 -0
- package/dist/components/AttachmentsGalleryModal/components/UnsupportedSection.d.ts.map +1 -0
- package/dist/components/AttachmentsGalleryModal/components/UnsupportedSection.js +16 -0
- package/dist/components/AttachmentsGalleryModal/hooks/useGetPreviewUrl.d.ts +4 -0
- package/dist/components/AttachmentsGalleryModal/hooks/useGetPreviewUrl.d.ts.map +1 -1
- package/dist/components/AttachmentsGalleryModal/hooks/useGetPreviewUrl.js +59 -20
- package/dist/components/AttachmentsGalleryModal/styles.module.css.js +28 -18
- package/dist/components/AttachmentsPreview/AttachmentsPreview.d.ts.map +1 -1
- package/dist/components/AttachmentsPreview/AttachmentsPreview.js +22 -18
- package/dist/components/AttachmentsPreview/AttachmentsPreview.module.css.js +1 -1
- package/dist/components/BouncingLogo/BouncingLogo.module.css.js +8 -8
- package/dist/components/CollapsibleContainer/CollapsibleContainer.module.css.js +1 -1
- package/dist/components/ColorPicker/ColorPicker.d.ts +19 -21
- package/dist/components/ColorPicker/ColorPicker.d.ts.map +1 -1
- package/dist/components/ColorPicker/ColorPicker.js +136 -144
- package/dist/components/CommentComposer/CommentComposer.module.css.js +4 -4
- package/dist/components/CommentComposer/CommentEditorHotkeys.d.ts.map +1 -1
- package/dist/components/CommentComposer/CommentEditorHotkeys.js +3 -4
- package/dist/components/CommentComposer/index.js +1 -1
- package/dist/components/CommentComposer/useVirtualAnchor.d.ts +1 -1
- package/dist/components/CommentComposer/useVirtualAnchor.d.ts.map +1 -1
- 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.map +1 -1
- package/dist/components/EmojiPicker/EmojiPanel.js +13 -12
- package/dist/components/EmojiPicker/EmojiPicker.d.ts +0 -1
- package/dist/components/EmojiPicker/EmojiPicker.d.ts.map +1 -1
- package/dist/components/EmojiPicker/EmojiPicker.js +0 -1
- package/dist/components/EmojiPicker/EmojiPicker.module.css.js +8 -8
- package/dist/components/EmojiPicker/IconsPanel.js +13 -13
- package/dist/components/EntityIcon.d.ts.map +1 -1
- package/dist/components/EntityIcon.js +43 -33
- package/dist/components/EntityTitle/EntityTitle.module.css.js +1 -1
- package/dist/components/ErrorPage/components/Error404.d.ts.map +1 -1
- package/dist/components/FeatureProgress/FeatureProgress.module.css.js +49 -49
- package/dist/components/FilePicker/FilePicker.d.ts +2 -4
- package/dist/components/FilePicker/FilePicker.d.ts.map +1 -1
- package/dist/components/FilePicker/FilePicker.js +226 -241
- package/dist/components/FilePicker/FilePicker.module.css.js +12 -14
- package/dist/components/FilePicker/FilePickerGallery.d.ts.map +1 -1
- package/dist/components/FilePicker/FilePickerGallery.js +34 -60
- package/dist/components/FilePicker/FilePickerGiphy.d.ts.map +1 -1
- package/dist/components/FilePicker/FilePickerGiphy.js +39 -38
- package/dist/components/FilePicker/FilePickerLink.d.ts.map +1 -1
- package/dist/components/FilePicker/FilePickerLink.js +26 -29
- package/dist/components/FilePicker/FilePickerUnsplash.d.ts.map +1 -1
- package/dist/components/FilePicker/FilePickerUnsplash.js +43 -42
- package/dist/components/FilePicker/FilePickerUpload.d.ts.map +1 -1
- package/dist/components/FilePicker/FilePickerUpload.js +35 -51
- package/dist/components/FilePicker/index.d.ts +0 -1
- package/dist/components/FilePicker/index.d.ts.map +1 -1
- 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/helpers/conditions.d.ts +38 -38
- package/dist/components/FormViewer/helpers/helpers.d.ts +38 -38
- package/dist/components/FormViewer/helpers/steps.d.ts +38 -38
- package/dist/components/FormViewer/hooks/useActiveControl.d.ts +19 -19
- package/dist/components/FormViewer/hooks/useActiveStep.d.ts +38 -38
- package/dist/components/FormViewer/hooks/useFormGlobalTheme.d.ts +6 -0
- package/dist/components/FormViewer/hooks/useFormGlobalTheme.d.ts.map +1 -1
- package/dist/components/FormViewer/hooks/useFormGlobalTheme.js +4 -3
- package/dist/components/FormViewer/hooks/useFormMobile.d.ts +1 -1
- package/dist/components/FormViewer/hooks/useFormMobile.d.ts.map +1 -1
- package/dist/components/FormViewer/store/formStore.d.ts +248 -248
- package/dist/components/FormViewer/store/formStore.d.ts.map +1 -1
- package/dist/components/FormViewer/store/formStoreApi.d.ts +124 -124
- package/dist/components/FormViewer/store/selectors.d.ts +11655 -11655
- package/dist/components/FormViewer/types/form.d.ts +1 -1
- package/dist/components/FormViewer/types/form.d.ts.map +1 -1
- package/dist/components/FormViewer/types/schemes.d.ts +381 -6358
- package/dist/components/FormViewer/types/schemes.d.ts.map +1 -1
- package/dist/components/FormViewer/types/schemes.js +1 -1
- package/dist/components/GroupAvatar/index.d.ts +3 -1
- package/dist/components/GroupAvatar/index.d.ts.map +1 -1
- package/dist/components/GroupAvatar/index.js +24 -21
- package/dist/components/ImageCropper/ImageCropper.module.css.js +38 -38
- 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/MediaLibrary/MediaLibraryRow.js +7 -7
- package/dist/components/NavMenu/NavMenu.d.ts +3 -1
- package/dist/components/NavMenu/NavMenu.d.ts.map +1 -1
- package/dist/components/NavMenu/NavMenu.module.css.js +12 -12
- package/dist/components/NavMenu/components/DnDProvider.d.ts +1 -1
- package/dist/components/NavMenu/components/DnDProvider.d.ts.map +1 -1
- package/dist/components/NavMenu/components/NavMenuActionIcon.d.ts +7 -1
- package/dist/components/NavMenu/components/NavMenuActionIcon.d.ts.map +1 -1
- package/dist/components/NavMenu/components/NavMenuActionIcon.js +21 -23
- package/dist/components/NavbarResizer/NavbarResizer.module.css.js +2 -2
- package/dist/components/NewColorPicker/components/Target.d.ts +3 -1
- package/dist/components/NewColorPicker/components/Target.d.ts.map +1 -1
- package/dist/components/NewColorPicker/components/Target.js +48 -43
- package/dist/components/NotPublicPanel/NotPublicPanel.module.css.js +11 -11
- package/dist/components/Notification/Notification.js +3 -1
- package/dist/components/Notification/Notification.module.css.js +1 -1
- package/dist/components/Notification/NotificationCard.d.ts +3 -1
- package/dist/components/Notification/NotificationCard.d.ts.map +1 -1
- package/dist/components/Notification/NotificationCard.js +87 -86
- package/dist/components/OnBoarding/steps/DifferentLayouts/styles.module.css.js +3 -3
- package/dist/components/OnBoarding/steps/styles.module.css.js +9 -9
- package/dist/components/OnBoarding/styles.module.css.js +7 -7
- package/dist/components/OnboardingTour/OnboardingTourWrapper.d.ts +1 -1
- package/dist/components/OnboardingTour/OnboardingTourWrapper.d.ts.map +1 -1
- package/dist/components/OnboardingTour/OnboardingTourWrapper.js +70 -74
- package/dist/components/ProjectIcon/ProjectIcon.d.ts +7 -12
- package/dist/components/ProjectIcon/ProjectIcon.d.ts.map +1 -1
- package/dist/components/ProjectIcon/ProjectIcon.js +58 -60
- 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/UserAvatar/index.d.ts +2 -1
- package/dist/components/UserAvatar/index.d.ts.map +1 -1
- package/dist/components/UserAvatar/index.js +38 -35
- package/dist/components/WorkspaceAvatar/WorkspaceAvatar.d.ts +3 -3
- package/dist/components/WorkspaceAvatar/WorkspaceAvatar.d.ts.map +1 -1
- package/dist/components/WorkspaceAvatar/WorkspaceAvatar.js +19 -18
- package/dist/components/WorkspaceMenu/WorkspaceItem.js +17 -17
- package/dist/components/WorkspaceMenu/WorkspaceMenu.js +7 -7
- 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.js +8 -8
- package/dist/config/envConfig.d.ts +8 -0
- package/dist/config/envConfig.d.ts.map +1 -1
- package/dist/config/envConfig.js +21 -13
- package/dist/helpers/getFileIcons.d.ts.map +1 -1
- package/dist/helpers/getFileIcons.js +63 -45
- package/dist/helpers/getFileType.d.ts +1 -1
- package/dist/helpers/getFileType.d.ts.map +1 -1
- package/dist/helpers/getFileType.js +29 -8
- package/dist/helpers/getPartOfTheDay.d.ts +1 -1
- package/dist/helpers/offlineSuppression.d.ts +3 -0
- package/dist/helpers/offlineSuppression.d.ts.map +1 -0
- package/dist/helpers/offlineSuppression.js +8 -0
- package/dist/helpers/platform.d.ts +1 -1
- package/dist/helpers/platform.d.ts.map +1 -1
- package/dist/helpers/platform.js +5 -4
- package/dist/helpers/showFeatureFeedback.module.css.js +4 -4
- package/dist/helpers/showNotifications.d.ts.map +1 -1
- package/dist/helpers/showNotifications.js +30 -29
- package/dist/helpers/showNotifications.module.css.js +1 -1
- package/dist/hooks/useOutsideClick.d.ts +1 -1
- package/dist/hooks/useOutsideClick.d.ts.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +1 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +498 -509
- package/dist/lang/locales/ui_en.json.js +18 -20
- package/dist/lang/locales/ui_es.json.js +12 -14
- package/dist/lang/locales/ui_ru.json.js +13 -15
- package/dist/node_modules/countries-and-timezones/esm/index.js +281 -4011
- package/docs/README.md +499 -499
- package/package.json +75 -75
- package/dist/components/ColorPicker/ColorPicker.module.css.js +0 -31
- package/dist/components/ColorPicker/ColorPickerList.d.ts +0 -6
- package/dist/components/ColorPicker/ColorPickerList.d.ts.map +0 -1
- package/dist/components/ColorPicker/ColorPickerList.js +0 -134
- package/dist/components/ColorPicker/ColorPickerToolbar.d.ts +0 -13
- package/dist/components/ColorPicker/ColorPickerToolbar.d.ts.map +0 -1
- package/dist/components/ColorPicker/ColorPickerToolbar.js +0 -149
- package/dist/components/ColorPicker/icons.d.ts +0 -11
- package/dist/components/ColorPicker/icons.d.ts.map +0 -1
- package/dist/components/ColorPicker/icons.js +0 -71
- package/dist/components/ColorPicker/types.d.ts +0 -49
- package/dist/components/ColorPicker/types.d.ts.map +0 -1
- package/dist/components/ColorPicker/types.js +0 -10
- package/dist/components/ColorPicker/useRecentColors.d.ts +0 -13
- package/dist/components/ColorPicker/useRecentColors.d.ts.map +0 -1
- package/dist/components/ColorPicker/useRecentColors.js +0 -39
- package/dist/components/FilePicker/coverCollections.d.ts +0 -4
- package/dist/components/FilePicker/coverCollections.d.ts.map +0 -1
- package/dist/components/FilePicker/coverCollections.js +0 -164
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemes.d.ts","sourceRoot":"","sources":["../../../../src/components/FormViewer/types/schemes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"schemes.d.ts","sourceRoot":"","sources":["../../../../src/components/FormViewer/types/schemes.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { AvatarProps } from '@mantine/core';
|
|
2
3
|
export interface GroupAvatarProps extends Omit<AvatarProps, 'src'>, Omit<React.ComponentPropsWithoutRef<'div'>, keyof AvatarProps> {
|
|
4
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
3
5
|
groupIcon?: string | null;
|
|
4
6
|
groupId?: string;
|
|
5
7
|
groupName?: string;
|
|
6
8
|
size?: number | string;
|
|
7
9
|
textSize?: number | string;
|
|
8
10
|
}
|
|
9
|
-
export declare const GroupAvatar:
|
|
11
|
+
export declare const GroupAvatar: ({ groupIcon, groupId, groupName, size, ref, ...props }: GroupAvatarProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
12
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/GroupAvatar/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/GroupAvatar/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAK5C,MAAM,WAAW,gBACf,SAAQ,IAAI,CAAC,WAAW,EAAE,KAAK,CAAC,EAC9B,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC,EAAE,MAAM,WAAW,CAAC;IAChE,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;IAChC,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CAC5B;AAED,eAAO,MAAM,WAAW,GAAI,wDAOzB,gBAAgB,4CAelB,CAAC"}
|
|
@@ -1,25 +1,28 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
2
|
+
import p from "../../assets/svg/group_default_icon.svg.js";
|
|
3
|
+
import { UserAvatar as n } from "../UserAvatar/index.js";
|
|
4
|
+
const v = ({
|
|
5
|
+
groupIcon: r,
|
|
6
|
+
groupId: a,
|
|
7
|
+
groupName: t,
|
|
8
|
+
size: o = 24,
|
|
9
|
+
ref: m,
|
|
10
|
+
...e
|
|
11
|
+
}) => /* @__PURE__ */ i(
|
|
12
|
+
n,
|
|
13
|
+
{
|
|
14
|
+
ref: m,
|
|
15
|
+
variant: "light",
|
|
16
|
+
user: {
|
|
17
|
+
avatar: r || p,
|
|
18
|
+
id: a || "",
|
|
19
|
+
name: t,
|
|
20
|
+
email: ""
|
|
21
|
+
},
|
|
22
|
+
size: o,
|
|
23
|
+
...e
|
|
24
|
+
}
|
|
21
25
|
);
|
|
22
|
-
n.displayName = "GroupAvatar";
|
|
23
26
|
export {
|
|
24
|
-
|
|
27
|
+
v as GroupAvatar
|
|
25
28
|
};
|
|
@@ -1,51 +1,51 @@
|
|
|
1
|
-
const e = "
|
|
1
|
+
const e = "_container_z996o_1", n = "_image_z996o_12", o = "_overlay_z996o_19", _ = "_circularOverlay_z996o_25", d = "_cropArea_z996o_33", a = "_dashedBorder_z996o_39", l = "_edgeLine_z996o_46", r = "_edgeLineTop_z996o_52", c = "_edgeLineBottom_z996o_60", t = "_edgeLineLeft_z996o_68", s = "_edgeLineRight_z996o_76", h = "_cornerHandle_z996o_84", g = "_cornerHandleArm_z996o_92", i = "_handleNW_z996o_107", z = "_handleNE_z996o_123", L = "_handleSW_z996o_139", H = "_handleSE_z996o_156", m = "_edgeHandle_z996o_172", B = "_edgeHandleBar_z996o_181", E = "_handleN_z996o_107", N = "_handleS_z996o_139", S = "_handleE_z996o_213", W = "_handleW_z996o_227", p = {
|
|
2
2
|
container: e,
|
|
3
|
-
image:
|
|
4
|
-
overlay:
|
|
3
|
+
image: n,
|
|
4
|
+
overlay: o,
|
|
5
5
|
circularOverlay: _,
|
|
6
6
|
cropArea: d,
|
|
7
|
-
dashedBorder:
|
|
8
|
-
edgeLine:
|
|
9
|
-
edgeLineTop:
|
|
10
|
-
edgeLineBottom:
|
|
11
|
-
edgeLineLeft:
|
|
12
|
-
edgeLineRight:
|
|
13
|
-
cornerHandle:
|
|
7
|
+
dashedBorder: a,
|
|
8
|
+
edgeLine: l,
|
|
9
|
+
edgeLineTop: r,
|
|
10
|
+
edgeLineBottom: c,
|
|
11
|
+
edgeLineLeft: t,
|
|
12
|
+
edgeLineRight: s,
|
|
13
|
+
cornerHandle: h,
|
|
14
14
|
cornerHandleArm: g,
|
|
15
15
|
handleNW: i,
|
|
16
|
-
handleNE:
|
|
17
|
-
handleSW:
|
|
18
|
-
handleSE:
|
|
19
|
-
edgeHandle:
|
|
20
|
-
edgeHandleBar:
|
|
21
|
-
handleN:
|
|
22
|
-
handleS:
|
|
23
|
-
handleE:
|
|
24
|
-
handleW:
|
|
16
|
+
handleNE: z,
|
|
17
|
+
handleSW: L,
|
|
18
|
+
handleSE: H,
|
|
19
|
+
edgeHandle: m,
|
|
20
|
+
edgeHandleBar: B,
|
|
21
|
+
handleN: E,
|
|
22
|
+
handleS: N,
|
|
23
|
+
handleE: S,
|
|
24
|
+
handleW: W
|
|
25
25
|
};
|
|
26
26
|
export {
|
|
27
27
|
_ as circularOverlay,
|
|
28
28
|
e as container,
|
|
29
|
-
|
|
29
|
+
h as cornerHandle,
|
|
30
30
|
g as cornerHandleArm,
|
|
31
31
|
d as cropArea,
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
32
|
+
a as dashedBorder,
|
|
33
|
+
p as default,
|
|
34
|
+
m as edgeHandle,
|
|
35
|
+
B as edgeHandleBar,
|
|
36
|
+
l as edgeLine,
|
|
37
|
+
c as edgeLineBottom,
|
|
38
|
+
t as edgeLineLeft,
|
|
39
|
+
s as edgeLineRight,
|
|
40
|
+
r as edgeLineTop,
|
|
41
|
+
S as handleE,
|
|
42
|
+
E as handleN,
|
|
43
|
+
z as handleNE,
|
|
44
44
|
i as handleNW,
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
45
|
+
N as handleS,
|
|
46
|
+
H as handleSE,
|
|
47
|
+
L as handleSW,
|
|
48
|
+
W as handleW,
|
|
49
|
+
n as image,
|
|
50
|
+
o as overlay
|
|
51
51
|
};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
const n = "
|
|
1
|
+
const n = "_particle_12tge_47", t = "_iconContainer_12tge_58", o = "_iconInner_12tge_70", a = "_particleContainer_12tge_82", i = "_animationRoot_12tge_122", e = "_animationContainer_12tge_126", c = "_backgroundImage_12tge_136", r = {
|
|
2
2
|
particle: n,
|
|
3
|
-
iconContainer:
|
|
4
|
-
iconInner:
|
|
5
|
-
particleContainer:
|
|
3
|
+
iconContainer: t,
|
|
4
|
+
iconInner: o,
|
|
5
|
+
particleContainer: a,
|
|
6
6
|
animationRoot: i,
|
|
7
|
-
animationContainer:
|
|
8
|
-
backgroundImage:
|
|
7
|
+
animationContainer: e,
|
|
8
|
+
backgroundImage: c
|
|
9
9
|
};
|
|
10
10
|
export {
|
|
11
|
-
|
|
11
|
+
e as animationContainer,
|
|
12
12
|
i as animationRoot,
|
|
13
|
-
|
|
13
|
+
c as backgroundImage,
|
|
14
14
|
r as default,
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
t as iconContainer,
|
|
16
|
+
o as iconInner,
|
|
17
17
|
n as particle,
|
|
18
|
-
|
|
18
|
+
a as particleContainer
|
|
19
19
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
const
|
|
2
|
-
loader:
|
|
3
|
-
wrapper:
|
|
1
|
+
const r = "_loader_b8num_1", e = "_wrapper_b8num_10", a = {
|
|
2
|
+
loader: r,
|
|
3
|
+
wrapper: e
|
|
4
4
|
};
|
|
5
5
|
export {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
a as default,
|
|
7
|
+
r as loader,
|
|
8
|
+
e as wrapper
|
|
9
9
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const r = "
|
|
1
|
+
const r = "_originalTab_p74jz_1", e = "_customTab_p74jz_7", t = "_headerRow_p74jz_17", a = "_rowGrid_p74jz_42", o = "_breadcrumbItem_p74jz_79", c = "_breadcrumbItemActive_p74jz_91", b = {
|
|
2
2
|
originalTab: r,
|
|
3
3
|
customTab: e,
|
|
4
4
|
headerRow: t,
|
|
@@ -10,7 +10,7 @@ export {
|
|
|
10
10
|
o as breadcrumbItem,
|
|
11
11
|
c as breadcrumbItemActive,
|
|
12
12
|
e as customTab,
|
|
13
|
-
|
|
13
|
+
b as default,
|
|
14
14
|
t as headerRow,
|
|
15
15
|
r as originalTab,
|
|
16
16
|
a as rowGrid
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as i, jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { memo as
|
|
2
|
+
import { memo as d } from "react";
|
|
3
3
|
import { Box as n, Group as a, Text as t } from "@mantine/core";
|
|
4
4
|
import { formatBytes as c } from "../../helpers/formatBytes.js";
|
|
5
5
|
import { getFileIcons as f } from "../../helpers/getFileIcons.js";
|
|
@@ -9,12 +9,12 @@ const y = (e) => new Intl.DateTimeFormat("en-GB", {
|
|
|
9
9
|
day: "2-digit",
|
|
10
10
|
month: "short",
|
|
11
11
|
year: "numeric"
|
|
12
|
-
}).format(new Date(e)), T =
|
|
13
|
-
({ item: e, onFolderClick:
|
|
14
|
-
const r = e.type === "FOLDER",
|
|
15
|
-
r ?
|
|
12
|
+
}).format(new Date(e)), T = d(
|
|
13
|
+
({ item: e, onFolderClick: l, onSelect: m }) => {
|
|
14
|
+
const r = e.type === "FOLDER", s = () => {
|
|
15
|
+
r ? l?.(e) : m?.(e);
|
|
16
16
|
};
|
|
17
|
-
return /* @__PURE__ */ i(n, { className: h.rowGrid, onClick:
|
|
17
|
+
return /* @__PURE__ */ i(n, { className: h.rowGrid, onClick: s, children: [
|
|
18
18
|
/* @__PURE__ */ i(
|
|
19
19
|
a,
|
|
20
20
|
{
|
|
@@ -23,7 +23,7 @@ const y = (e) => new Intl.DateTimeFormat("en-GB", {
|
|
|
23
23
|
style: { overflow: "hidden", minWidth: 0 },
|
|
24
24
|
children: [
|
|
25
25
|
/* @__PURE__ */ o(n, { style: { flexShrink: 0, height: 18 }, children: f(
|
|
26
|
-
p(e.contentType || "", !
|
|
26
|
+
p(e.contentType || "", !1, e.title),
|
|
27
27
|
r,
|
|
28
28
|
18
|
|
29
29
|
) }),
|
|
@@ -21,7 +21,9 @@ export declare const NavMenu: (({ items, loading, onLoadMore, noItemsPlaceholder
|
|
|
21
21
|
ignoreDepth?: boolean;
|
|
22
22
|
disableToggleOnClick?: boolean;
|
|
23
23
|
}) => import("react/jsx-runtime").JSX.Element>;
|
|
24
|
-
ActionIcon:
|
|
24
|
+
ActionIcon: ({ children, size, radius, color, variant, ref, ...props }: import("@mantine/core").ActionIconProps & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
25
|
+
ref?: React.Ref<HTMLButtonElement>;
|
|
26
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
25
27
|
Label: ({ children, ...props }: PropsWithChildren<import("@mantine/core").TextProps>) => import("react/jsx-runtime").JSX.Element;
|
|
26
28
|
Placeholder: ({ children, ...props }: PropsWithChildren<BoxProps>) => import("react/jsx-runtime").JSX.Element;
|
|
27
29
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavMenu.d.ts","sourceRoot":"","sources":["../../../src/components/NavMenu/NavMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,SAAS,EAIV,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,QAAQ,EAAyB,MAAM,eAAe,CAAC;AAOhE,OAAO,EAAmB,YAAY,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAC5E,OAAO,EACL,oBAAoB,EACpB,cAAc,EACd,iBAAiB,EACjB,kBAAkB,EACnB,MAAM,SAAS,CAAC;AAIjB,MAAM,MAAM,YAAY,GAAG;IACzB,KAAK,EAAE,cAAc,EAAE,CAAC;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,UAAU,CAAC,EAAE,iBAAiB,CAAC;IAC/B,aAAa,CAAC,EAAE,kBAAkB,CAAC;IACnC,kBAAkB,CAAC,EAAE,SAAS,CAAC;IAC/B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,eAAe,CAAC,EAAE,CAAC,IAAI,EAAE,oBAAoB,KAAK,OAAO,CAAC;CAC3D,GAAG,OAAO,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC,GAAG;IACjC,KAAK,CAAC,EAAE,UAAU,CAAC,OAAO,kBAAkB,CAAC,CAAC;CAC/C,CAAC;AAmLJ,eAAO,MAAM,OAAO,iLAnKjB,YAAY
|
|
1
|
+
{"version":3,"file":"NavMenu.d.ts","sourceRoot":"","sources":["../../../src/components/NavMenu/NavMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,SAAS,EAIV,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,QAAQ,EAAyB,MAAM,eAAe,CAAC;AAOhE,OAAO,EAAmB,YAAY,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAC5E,OAAO,EACL,oBAAoB,EACpB,cAAc,EACd,iBAAiB,EACjB,kBAAkB,EACnB,MAAM,SAAS,CAAC;AAIjB,MAAM,MAAM,YAAY,GAAG;IACzB,KAAK,EAAE,cAAc,EAAE,CAAC;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,UAAU,CAAC,EAAE,iBAAiB,CAAC;IAC/B,aAAa,CAAC,EAAE,kBAAkB,CAAC;IACnC,kBAAkB,CAAC,EAAE,SAAS,CAAC;IAC/B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,eAAe,CAAC,EAAE,CAAC,IAAI,EAAE,oBAAoB,KAAK,OAAO,CAAC;CAC3D,GAAG,OAAO,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC,GAAG;IACjC,KAAK,CAAC,EAAE,UAAU,CAAC,OAAO,kBAAkB,CAAC,CAAC;CAC/C,CAAC;AAmLJ,eAAO,MAAM,OAAO,iLAnKjB,YAAY;;;;;;;;;;0CAsJ8B,iBAAiB,CAAC,QAAQ,CAAC;CAkBtE,CAAC"}
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
const t = "
|
|
1
|
+
const t = "_container_1xsiz_1", e = "_depthBox_1xsiz_13", n = "_itemContainer_1xsiz_38", o = "_item_1xsiz_38", i = "_icon_1xsiz_91", _ = "_chevron_1xsiz_95", s = "_droppable_1xsiz_120", a = "_draggableOverlay_1xsiz_177", c = "_editInput_1xsiz_186", 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: s,
|
|
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
|
+
s as droppable,
|
|
19
|
+
c as editInput,
|
|
20
|
+
i as icon,
|
|
21
21
|
o as item,
|
|
22
22
|
n as itemContainer
|
|
23
23
|
};
|
|
@@ -2,7 +2,7 @@ import { PropsWithChildren } from 'react';
|
|
|
2
2
|
import { NavMenuOrderChange } from '../types';
|
|
3
3
|
type DnDProviderProps = {
|
|
4
4
|
onOrderChange: NavMenuOrderChange;
|
|
5
|
-
containerRef: React.RefObject<HTMLDivElement>;
|
|
5
|
+
containerRef: React.RefObject<HTMLDivElement | null>;
|
|
6
6
|
};
|
|
7
7
|
export declare const DnDProvider: ({ containerRef, children, onOrderChange, }: PropsWithChildren<DnDProviderProps>) => import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DnDProvider.d.ts","sourceRoot":"","sources":["../../../../src/components/NavMenu/components/DnDProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAuB,MAAM,OAAO,CAAC;AAa/D,OAAO,EAEL,kBAAkB,EAEnB,MAAM,UAAU,CAAC;AAGlB,KAAK,gBAAgB,GAAG;IACtB,aAAa,EAAE,kBAAkB,CAAC;IAClC,YAAY,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"DnDProvider.d.ts","sourceRoot":"","sources":["../../../../src/components/NavMenu/components/DnDProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAuB,MAAM,OAAO,CAAC;AAa/D,OAAO,EAEL,kBAAkB,EAEnB,MAAM,UAAU,CAAC;AAGlB,KAAK,gBAAgB,GAAG;IACtB,aAAa,EAAE,kBAAkB,CAAC;IAClC,YAAY,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;CACtD,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,4CAIzB,iBAAiB,CAAC,gBAAgB,CAAC,4CA0FrC,CAAC"}
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
import { ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
import React from 'react';
|
|
1
3
|
import { ActionIconProps } from '@mantine/core';
|
|
2
|
-
|
|
4
|
+
type NavMenuActionIconProps = ActionIconProps & ComponentPropsWithoutRef<'button'> & {
|
|
5
|
+
ref?: React.Ref<HTMLButtonElement>;
|
|
6
|
+
};
|
|
7
|
+
export declare const NavMenuActionIcon: ({ children, size, radius, color, variant, ref, ...props }: NavMenuActionIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export {};
|
|
3
9
|
//# sourceMappingURL=NavMenuActionIcon.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavMenuActionIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/NavMenu/components/NavMenuActionIcon.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"NavMenuActionIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/NavMenu/components/NavMenuActionIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAc,eAAe,EAAE,MAAM,eAAe,CAAC;AAE5D,KAAK,sBAAsB,GAAG,eAAe,GAC3C,wBAAwB,CAAC,QAAQ,CAAC,GAAG;IACnC,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;CACpC,CAAC;AAEJ,eAAO,MAAM,iBAAiB,GAAI,2DAQ/B,sBAAsB,4CAaxB,CAAC"}
|
|
@@ -1,27 +1,25 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { forwardRef as i } from "react";
|
|
1
|
+
import { jsx as m } from "react/jsx-runtime";
|
|
3
2
|
import { ActionIcon as p } from "@mantine/core";
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
)
|
|
3
|
+
const a = ({
|
|
4
|
+
children: o,
|
|
5
|
+
size: r = 20,
|
|
6
|
+
radius: t = 4,
|
|
7
|
+
color: n = "gray",
|
|
8
|
+
variant: c = "subtle",
|
|
9
|
+
ref: e,
|
|
10
|
+
...i
|
|
11
|
+
}) => /* @__PURE__ */ m(
|
|
12
|
+
p,
|
|
13
|
+
{
|
|
14
|
+
ref: e,
|
|
15
|
+
size: r,
|
|
16
|
+
radius: t,
|
|
17
|
+
color: n,
|
|
18
|
+
variant: c,
|
|
19
|
+
...i,
|
|
20
|
+
children: o
|
|
21
|
+
}
|
|
24
22
|
);
|
|
25
23
|
export {
|
|
26
|
-
|
|
24
|
+
a as NavMenuActionIcon
|
|
27
25
|
};
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { MantineRadius } from '@mantine/core';
|
|
2
3
|
interface IProps {
|
|
4
|
+
ref?: React.Ref<HTMLButtonElement>;
|
|
3
5
|
value: Record<string, string>;
|
|
4
6
|
disabled?: boolean;
|
|
5
7
|
radius?: MantineRadius;
|
|
6
8
|
hint?: 'tooltip' | 'title';
|
|
7
9
|
withoutIcon?: boolean;
|
|
8
10
|
}
|
|
9
|
-
export declare const Target:
|
|
11
|
+
export declare const Target: ({ value, disabled, radius, hint, withoutIcon, ref, ...rest }: IProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
12
|
export {};
|
|
11
13
|
//# sourceMappingURL=Target.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Target.d.ts","sourceRoot":"","sources":["../../../../src/components/NewColorPicker/components/Target.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Target.d.ts","sourceRoot":"","sources":["../../../../src/components/NewColorPicker/components/Target.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAuB,aAAa,EAAW,MAAM,eAAe,CAAC;AAG5E,UAAU,MAAM;IACd,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;IACnC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC9B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB,IAAI,CAAC,EAAE,SAAS,GAAG,OAAO,CAAC;IAC3B,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,eAAO,MAAM,MAAM,GAAI,8DAQpB,MAAM,4CAwCR,CAAC"}
|
|
@@ -1,47 +1,52 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { Tooltip as d, Button as p, ColorSwatch as f } from "@mantine/core";
|
|
2
|
+
import { useTranslation as s } from "react-i18next";
|
|
3
|
+
import { Tooltip as d, Button as m, ColorSwatch as p } from "@mantine/core";
|
|
5
4
|
import { IconLetterA as h, IconChevronDown as b } from "@tabler/icons-react";
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
5
|
+
const u = ({
|
|
6
|
+
value: r,
|
|
7
|
+
disabled: i,
|
|
8
|
+
radius: l,
|
|
9
|
+
hint: t,
|
|
10
|
+
withoutIcon: c,
|
|
11
|
+
ref: n,
|
|
12
|
+
...a
|
|
13
|
+
}) => {
|
|
14
|
+
const { t: e } = s("ui");
|
|
15
|
+
return /* @__PURE__ */ o(d, { label: e("colorPicker.color"), disabled: t !== "tooltip", children: /* @__PURE__ */ o(
|
|
16
|
+
m,
|
|
17
|
+
{
|
|
18
|
+
ref: n,
|
|
19
|
+
disabled: i,
|
|
20
|
+
variant: "subtle",
|
|
21
|
+
color: "gray",
|
|
22
|
+
"aria-label": "Formatting text color",
|
|
23
|
+
title: t === "title" ? e("colorPicker.color") : void 0,
|
|
24
|
+
rightSection: /* @__PURE__ */ o(b, { size: 18 }),
|
|
25
|
+
px: 8,
|
|
26
|
+
styles: { section: { marginLeft: 2 } },
|
|
27
|
+
...a,
|
|
28
|
+
children: /* @__PURE__ */ o(
|
|
29
|
+
p,
|
|
30
|
+
{
|
|
31
|
+
styles: {
|
|
32
|
+
childrenOverlay: { border: "1px solid #ccc" },
|
|
33
|
+
alphaOverlay: { display: "none" }
|
|
34
|
+
},
|
|
35
|
+
radius: l,
|
|
36
|
+
size: 22,
|
|
37
|
+
color: r.background,
|
|
38
|
+
children: !c && /* @__PURE__ */ o(
|
|
39
|
+
h,
|
|
40
|
+
{
|
|
41
|
+
size: 14,
|
|
42
|
+
color: r.color === "inherit" ? "var(--mantine-color-text)" : r.color
|
|
43
|
+
}
|
|
44
|
+
)
|
|
45
|
+
}
|
|
46
|
+
)
|
|
47
|
+
}
|
|
48
|
+
) });
|
|
49
|
+
};
|
|
45
50
|
export {
|
|
46
|
-
|
|
51
|
+
u as Target
|
|
47
52
|
};
|
|
@@ -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
|
};
|