@layers-app/shared 0.4.0 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/AnimatedFigurePage/AnimatedFigurePage.module.css.js +13 -13
- package/dist/components/AnimatedFigurePage/useParallax.d.ts +2 -2
- package/dist/components/AppContainer/AppContainer.d.ts +6 -1
- package/dist/components/AppContainer/AppContainer.d.ts.map +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/ToolbarNewButton.d.ts +7 -2
- package/dist/components/AppContainer/components/ToolbarNewButton.d.ts.map +1 -1
- package/dist/components/AppContainer/components/ToolbarNewButton.js +14 -14
- 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 +96 -64
- package/dist/components/AttachmentsGalleryModal/components/ModalHeader.d.ts.map +1 -1
- package/dist/components/AttachmentsGalleryModal/components/ModalHeader.js +76 -67
- 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/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 +7 -0
- package/dist/components/AttachmentsGalleryModal/components/UnsupportedSection.d.ts.map +1 -0
- package/dist/components/AttachmentsGalleryModal/components/UnsupportedSection.js +17 -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 +34 -22
- package/dist/components/AttachmentsPreview/AttachmentsPreview.d.ts.map +1 -1
- package/dist/components/AttachmentsPreview/AttachmentsPreview.js +22 -18
- package/dist/components/ColorPicker/ColorPicker.d.ts +12 -11
- package/dist/components/ColorPicker/ColorPicker.d.ts.map +1 -1
- package/dist/components/ColorPicker/ColorPicker.js +109 -83
- package/dist/components/ColorPicker/ColorPickerList.d.ts.map +1 -1
- package/dist/components/ColorPicker/ColorPickerList.js +62 -63
- package/dist/components/ColorPicker/ColorPickerToolbar.d.ts.map +1 -1
- package/dist/components/ColorPicker/ColorPickerToolbar.js +128 -120
- package/dist/components/ColorPicker/icons.js +3 -3
- package/dist/components/ColorPicker/types.d.ts +3 -1
- package/dist/components/ColorPicker/types.d.ts.map +1 -1
- package/dist/components/ColorPicker/types.js +11 -5
- package/dist/components/CommentComposer/CommentEditorHotkeys.d.ts.map +1 -1
- package/dist/components/CommentComposer/CommentEditorHotkeys.js +55 -45
- package/dist/components/CommentComposer/useVirtualAnchor.d.ts +1 -1
- package/dist/components/CommentComposer/useVirtualAnchor.d.ts.map +1 -1
- package/dist/components/EmojiPicker/EmojiPicker.d.ts +1 -1
- package/dist/components/EmojiPicker/EmojiPicker.d.ts.map +1 -1
- package/dist/components/EntityIcon.d.ts.map +1 -1
- package/dist/components/EntityIcon.js +43 -33
- package/dist/components/FilePicker/FilePicker.d.ts +3 -1
- package/dist/components/FilePicker/FilePicker.d.ts.map +1 -1
- package/dist/components/FilePicker/FilePicker.js +44 -42
- package/dist/components/FilePicker/FilePickerUpload.d.ts +3 -1
- package/dist/components/FilePicker/FilePickerUpload.d.ts.map +1 -1
- package/dist/components/FilePicker/FilePickerUpload.js +28 -28
- 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/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/LanguagePicker/LanguagePicker.d.ts +13 -3
- package/dist/components/LanguagePicker/LanguagePicker.d.ts.map +1 -1
- package/dist/components/LanguagePicker/LanguagePicker.js +65 -43
- 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/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/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/Notification/Notification.js +3 -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/OnboardingTour/OnboardingTourFooter.d.ts +6 -1
- package/dist/components/OnboardingTour/OnboardingTourFooter.d.ts.map +1 -1
- package/dist/components/OnboardingTour/OnboardingTourFooter.js +39 -21
- package/dist/components/OnboardingTour/OnboardingTourWrapper.d.ts +4 -5
- package/dist/components/OnboardingTour/OnboardingTourWrapper.d.ts.map +1 -1
- package/dist/components/OnboardingTour/OnboardingTourWrapper.js +83 -119
- 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 +4 -0
- package/dist/components/OnboardingTour/useOnboardingTour.d.ts.map +1 -1
- package/dist/components/OnboardingTour/useOnboardingTour.js +65 -36
- 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/UserAvatar/index.d.ts +2 -1
- package/dist/components/UserAvatar/index.d.ts.map +1 -1
- package/dist/components/UserAvatar/index.js +42 -32
- 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/config/brand.d.ts +2 -0
- package/dist/config/brand.d.ts.map +1 -1
- package/dist/config/brand.js +28 -22
- package/dist/config/envConfig.d.ts +12 -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/showNotifications.d.ts.map +1 -1
- package/dist/helpers/showNotifications.js +30 -29
- 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 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +462 -451
- 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/node_modules/countries-and-timezones/esm/index.js +281 -4011
- package/dist/store/featureProgress.d.ts +3 -6
- package/dist/store/featureProgress.d.ts.map +1 -1
- package/dist/store/featureProgress.js +56 -22
- package/dist/store/plansModal.d.ts.map +1 -1
- package/dist/store/plansModal.js +10 -10
- package/package.json +13 -13
|
@@ -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,8 +1,18 @@
|
|
|
1
|
-
|
|
1
|
+
import { ComboboxItem, SelectProps } from '@mantine/core';
|
|
2
|
+
export interface LanguagePickerProps {
|
|
2
3
|
value: string;
|
|
3
4
|
onChange: (value: string) => void;
|
|
4
5
|
label?: string;
|
|
6
|
+
/** Override the default 3-language list. */
|
|
7
|
+
data?: ComboboxItem[];
|
|
8
|
+
/** Map of language code → flag SVG src. Items without an entry render no leading flag. */
|
|
9
|
+
flagMap?: Record<string, string>;
|
|
10
|
+
size?: SelectProps['size'];
|
|
11
|
+
radius?: SelectProps['radius'];
|
|
12
|
+
variant?: SelectProps['variant'];
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
searchable?: boolean;
|
|
15
|
+
withinPortal?: boolean;
|
|
5
16
|
}
|
|
6
|
-
export declare const LanguagePicker: ({ value, onChange, label, }: LanguagePickerProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export {};
|
|
17
|
+
export declare const LanguagePicker: ({ value, onChange, label, data, flagMap, size, radius, variant, disabled, searchable, withinPortal, }: LanguagePickerProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
18
|
//# sourceMappingURL=LanguagePicker.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LanguagePicker.d.ts","sourceRoot":"","sources":["../../../src/components/LanguagePicker/LanguagePicker.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"LanguagePicker.d.ts","sourceRoot":"","sources":["../../../src/components/LanguagePicker/LanguagePicker.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAwB,WAAW,EAAE,MAAM,eAAe,CAAC;AAoBhF,MAAM,WAAW,mBAAmB;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,4CAA4C;IAC5C,IAAI,CAAC,EAAE,YAAY,EAAE,CAAC;IACtB,0FAA0F;IAC1F,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACjC,IAAI,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC3B,MAAM,CAAC,EAAE,WAAW,CAAC,QAAQ,CAAC,CAAC;IAC/B,OAAO,CAAC,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IACjC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAED,eAAO,MAAM,cAAc,GAAI,uGAY5B,mBAAmB,4CA+DrB,CAAC"}
|
|
@@ -1,55 +1,77 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { useMemo as
|
|
3
|
-
import {
|
|
4
|
-
import { HugeiconsIcon as
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
const
|
|
11
|
-
ru:
|
|
12
|
-
en:
|
|
13
|
-
es:
|
|
14
|
-
},
|
|
1
|
+
import { jsxs as w, jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { useCallback as m, useMemo as N } from "react";
|
|
3
|
+
import { Tick02Icon as P, ArrowDown01Icon as j } from "@hugeicons/core-free-icons";
|
|
4
|
+
import { HugeiconsIcon as f } from "@hugeicons/react";
|
|
5
|
+
import { Group as y, Image as u, Select as z } from "@mantine/core";
|
|
6
|
+
import C from "../../assets/svg/flags/es.svg.js";
|
|
7
|
+
import D from "../../assets/svg/flags/ru.svg.js";
|
|
8
|
+
import M from "../../assets/svg/flags/us.svg.js";
|
|
9
|
+
import s from "./LanguagePicker.module.css.js";
|
|
10
|
+
const O = {
|
|
11
|
+
ru: D,
|
|
12
|
+
en: M,
|
|
13
|
+
es: C
|
|
14
|
+
}, A = [
|
|
15
15
|
{ value: "en", label: "English" },
|
|
16
16
|
{ value: "ru", label: "Русский" },
|
|
17
17
|
{ value: "es", label: "Español (España)" }
|
|
18
|
-
],
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
className: l.tickIcon
|
|
31
|
-
}
|
|
32
|
-
)
|
|
33
|
-
] }), A = ({
|
|
34
|
-
value: e,
|
|
35
|
-
onChange: a,
|
|
36
|
-
label: c
|
|
18
|
+
], B = ({
|
|
19
|
+
value: a,
|
|
20
|
+
onChange: t,
|
|
21
|
+
label: g,
|
|
22
|
+
data: p,
|
|
23
|
+
flagMap: d,
|
|
24
|
+
size: b,
|
|
25
|
+
radius: v,
|
|
26
|
+
variant: x,
|
|
27
|
+
disabled: h,
|
|
28
|
+
searchable: k,
|
|
29
|
+
withinPortal: F
|
|
37
30
|
}) => {
|
|
38
|
-
const
|
|
31
|
+
const l = p ?? A, r = d ?? O, I = m(
|
|
32
|
+
({ option: e, checked: S }) => /* @__PURE__ */ w(y, { flex: "1", gap: "xs", children: [
|
|
33
|
+
r[e.value] && /* @__PURE__ */ o(u, { src: r[e.value], className: s.image }),
|
|
34
|
+
e.label,
|
|
35
|
+
S && /* @__PURE__ */ o(
|
|
36
|
+
f,
|
|
37
|
+
{
|
|
38
|
+
color: "var(--mantine-primary-color-filled)",
|
|
39
|
+
size: 16,
|
|
40
|
+
icon: P,
|
|
41
|
+
className: s.tickIcon
|
|
42
|
+
}
|
|
43
|
+
)
|
|
44
|
+
] }),
|
|
45
|
+
[r]
|
|
46
|
+
), c = l[0]?.value ?? a, n = N(
|
|
47
|
+
() => l.find((e) => e.value === a) ? a : c,
|
|
48
|
+
[a, l, c]
|
|
49
|
+
), E = m(
|
|
50
|
+
(e) => {
|
|
51
|
+
e && t(e);
|
|
52
|
+
},
|
|
53
|
+
[t]
|
|
54
|
+
), i = r[n];
|
|
39
55
|
return /* @__PURE__ */ o(
|
|
40
|
-
|
|
56
|
+
z,
|
|
41
57
|
{
|
|
42
|
-
label:
|
|
58
|
+
label: g,
|
|
43
59
|
flex: 1,
|
|
44
|
-
onChange:
|
|
45
|
-
leftSection: /* @__PURE__ */ o(
|
|
46
|
-
value:
|
|
47
|
-
data:
|
|
48
|
-
rightSection: /* @__PURE__ */ o(
|
|
49
|
-
renderOption:
|
|
60
|
+
onChange: E,
|
|
61
|
+
leftSection: i ? /* @__PURE__ */ o(u, { src: i, className: s.image }) : void 0,
|
|
62
|
+
value: n,
|
|
63
|
+
data: l,
|
|
64
|
+
rightSection: /* @__PURE__ */ o(f, { size: 16, icon: j }),
|
|
65
|
+
renderOption: I,
|
|
66
|
+
size: b,
|
|
67
|
+
radius: v,
|
|
68
|
+
variant: x,
|
|
69
|
+
disabled: h,
|
|
70
|
+
searchable: k,
|
|
71
|
+
comboboxProps: F ? { withinPortal: !0 } : void 0
|
|
50
72
|
}
|
|
51
73
|
);
|
|
52
74
|
};
|
|
53
75
|
export {
|
|
54
|
-
|
|
76
|
+
B as LanguagePicker
|
|
55
77
|
};
|
|
@@ -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"}
|
|
@@ -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,8 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { UserNotifications } from '../AppContainer/components/menus/UserMenu/MenuUserDropdown';
|
|
2
3
|
interface NotificationCardProps {
|
|
4
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
3
5
|
isFocused: boolean;
|
|
4
6
|
notification: UserNotifications;
|
|
5
7
|
}
|
|
6
|
-
declare const NotificationCard:
|
|
8
|
+
declare const NotificationCard: ({ isFocused, notification, ref, }: NotificationCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
9
|
export default NotificationCard;
|
|
8
10
|
//# sourceMappingURL=NotificationCard.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NotificationCard.d.ts","sourceRoot":"","sources":["../../../src/components/Notification/NotificationCard.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"NotificationCard.d.ts","sourceRoot":"","sources":["../../../src/components/Notification/NotificationCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,EAAE,iBAAiB,EAAE,MAAM,4DAA4D,CAAC;AAE/F,UAAU,qBAAqB;IAC7B,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;IAChC,SAAS,EAAE,OAAO,CAAC;IACnB,YAAY,EAAE,iBAAiB,CAAC;CACjC;AAED,QAAA,MAAM,gBAAgB,GAAI,mCAIvB,qBAAqB,4CAgFvB,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|