@layers-app/shared 0.2.8 → 0.3.1
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/api/giphy/slice.d.ts +1 -1
- package/dist/api/giphy/slice.d.ts.map +1 -1
- package/dist/api/unsplash/slice.d.ts +1 -1
- package/dist/api/unsplash/slice.d.ts.map +1 -1
- package/dist/assets/default-workspace-avatar.jpg.js +4 -0
- package/dist/assets/layers-logo-full.svg.js +2 -3
- package/dist/assets/layers-logo-full.svg2.js +5 -0
- package/dist/assets/layers-logo-icon.svg.js +2 -3
- package/dist/assets/layers-logo-icon.svg2.js +5 -0
- package/dist/assets/projects/figureA.svg.js +4 -0
- package/dist/assets/projects/figureB.svg.js +4 -0
- package/dist/assets/qwebchannel.d.ts +15 -0
- package/dist/assets/qwebchannel.d.ts.map +1 -0
- package/dist/assets/taskPriorities/high.svg.js +5 -0
- package/dist/assets/taskPriorities/low.svg.js +5 -0
- package/dist/assets/taskPriorities/none.svg.js +5 -0
- package/dist/assets/taskPriorities/normal.svg.js +5 -0
- package/dist/assets/taskPriorities/urgent.svg.js +5 -0
- package/dist/components/AliasTextInput/AliasTextInput.d.ts.map +1 -1
- package/dist/components/AliasTextInput/AliasTextInput.js +8 -7
- package/dist/components/AnimatedFigurePage/AnimatedFigurePage.d.ts +3 -0
- package/dist/components/AnimatedFigurePage/AnimatedFigurePage.d.ts.map +1 -0
- package/dist/components/AnimatedFigurePage/AnimatedFigurePage.js +69 -0
- package/dist/components/AnimatedFigurePage/AnimatedFigurePage.module.css.js +27 -0
- package/dist/components/AnimatedFigurePage/types.d.ts +15 -0
- package/dist/components/AnimatedFigurePage/types.d.ts.map +1 -0
- package/dist/components/AnimatedFigurePage/useParallax.d.ts +6 -0
- package/dist/components/AnimatedFigurePage/useParallax.d.ts.map +1 -0
- package/dist/components/AnimatedFigurePage/useParallax.js +29 -0
- package/dist/components/AppContainer/AppContainer.d.ts +1 -1
- package/dist/components/AppContainer/AppContainer.d.ts.map +1 -1
- package/dist/components/AppContainer/AppContainer.js +37 -36
- package/dist/components/AppContainer/components/AppsSidebar/UserSection.d.ts.map +1 -1
- package/dist/components/AppContainer/components/AppsSidebar/UserSection.js +80 -45
- package/dist/components/AppContainer/components/menus/HelpMenu/HelpMenu.d.ts.map +1 -1
- package/dist/components/AppContainer/components/menus/HelpMenu/HelpMenu.js +120 -120
- 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 +57 -51
- package/dist/components/AppContainer/hooks/useAppContainerDataStore.d.ts.map +1 -1
- package/dist/components/AppContainer/hooks/useAppContainerDataStore.js +3 -1
- package/dist/components/AppContainer/types.d.ts +3 -0
- package/dist/components/AppContainer/types.d.ts.map +1 -1
- package/dist/components/ColorPicker/ColorPickerPopover.d.ts +6 -6
- package/dist/components/ColorPicker/ColorPickerPopover.d.ts.map +1 -1
- package/dist/components/ColorPicker/ColorPickerPopover.js +29 -31
- package/dist/components/CommentComposer/index.d.ts.map +1 -1
- package/dist/components/CommentComposer/index.js +115 -111
- package/dist/components/CommunitiesDialog/index.d.ts.map +1 -1
- package/dist/components/CommunitiesDialog/index.js +47 -46
- package/dist/components/Copyright/index.d.ts.map +1 -1
- package/dist/components/Copyright/index.js +8 -7
- package/dist/components/EmojiPicker/EmojiPanel.d.ts.map +1 -1
- package/dist/components/EmojiPicker/EmojiPanel.js +12 -10
- package/dist/components/EmojiPicker/EmojiPicker.d.ts +3 -1
- package/dist/components/EmojiPicker/EmojiPicker.d.ts.map +1 -1
- package/dist/components/EmojiPicker/EmojiPicker.js +49 -46
- package/dist/components/EmojiPicker/IconsPanel.d.ts +2 -1
- package/dist/components/EmojiPicker/IconsPanel.d.ts.map +1 -1
- package/dist/components/EmojiPicker/IconsPanel.js +47 -45
- package/dist/components/EmojiPicker/custom-icons/customIcons.d.ts.map +1 -1
- package/dist/components/EmojiPicker/custom-icons/customIcons.js +66 -31
- package/dist/components/EntityIcon.d.ts +3 -3
- package/dist/components/EntityIcon.d.ts.map +1 -1
- package/dist/components/EntityIcon.js +59 -35
- package/dist/components/EntityTitle/EntityTitle.d.ts +1 -1
- package/dist/components/EntityTitle/EntityTitle.d.ts.map +1 -1
- package/dist/components/EntityTitle/EntityTitle.js +34 -34
- package/dist/components/EntityTitle/EntityTitle.module.css.js +1 -1
- package/dist/components/FilePicker/FilePicker.d.ts +1 -1
- package/dist/components/FilePicker/FilePicker.d.ts.map +1 -1
- package/dist/components/FilePicker/FilePicker.js +144 -152
- package/dist/components/FilePicker/FilePicker.module.css.js +10 -10
- package/dist/components/FilePicker/FilePickerGallery.js +13 -13
- package/dist/components/FilePicker/FilePickerGiphy.d.ts +1 -1
- package/dist/components/FilePicker/FilePickerGiphy.d.ts.map +1 -1
- package/dist/components/FilePicker/FilePickerGiphy.js +46 -48
- package/dist/components/FilePicker/FilePickerLink.d.ts.map +1 -1
- package/dist/components/FilePicker/FilePickerLink.js +16 -16
- package/dist/components/FilePicker/FilePickerUnsplash.d.ts +1 -1
- package/dist/components/FilePicker/FilePickerUnsplash.d.ts.map +1 -1
- package/dist/components/FilePicker/FilePickerUnsplash.js +49 -51
- package/dist/components/FilePicker/FilePickerUpload.d.ts.map +1 -1
- package/dist/components/FilePicker/FilePickerUpload.js +44 -42
- package/dist/components/FilePicker/api/giphyApi.d.ts +2 -2
- package/dist/components/FilePicker/api/giphyApi.d.ts.map +1 -1
- package/dist/components/FilePicker/api/giphyApi.js +11 -14
- package/dist/components/FilePicker/api/unsplashApi.d.ts +2 -2
- package/dist/components/FilePicker/api/unsplashApi.d.ts.map +1 -1
- package/dist/components/FilePicker/api/unsplashApi.js +14 -19
- package/dist/components/FormViewer/components/fields/SelectableCard/PictureSelectableCard.d.ts.map +1 -1
- package/dist/components/FormViewer/components/fields/SelectableCard/PictureSelectableCard.js +70 -72
- package/dist/components/FormViewer/components/fields/UploadField/UploadField.d.ts.map +1 -1
- package/dist/components/FormViewer/components/fields/UploadField/UploadField.js +34 -33
- package/dist/components/FormViewer/helpers/conditions.d.ts +84 -84
- package/dist/components/FormViewer/helpers/helpers.d.ts +84 -84
- package/dist/components/FormViewer/helpers/steps.d.ts +84 -84
- package/dist/components/FormViewer/helpers/steps.d.ts.map +1 -1
- package/dist/components/FormViewer/helpers/steps.js +22 -21
- package/dist/components/FormViewer/hooks/useActiveControl.d.ts +71 -71
- package/dist/components/FormViewer/hooks/useActiveStep.d.ts +84 -84
- package/dist/components/FormViewer/hooks/useFormGlobalTheme.d.ts +3 -3
- package/dist/components/FormViewer/store/formStore.d.ts +357 -357
- package/dist/components/FormViewer/store/formStoreApi.d.ts +178 -178
- package/dist/components/FormViewer/store/selectors.d.ts +23861 -23861
- package/dist/components/FormViewer/types/schemes.d.ts +1139 -1139
- package/dist/components/Logotype.d.ts +6 -4
- package/dist/components/Logotype.d.ts.map +1 -1
- package/dist/components/Logotype.js +62 -30
- package/dist/components/NavMenu/components/NavMenuItem.d.ts.map +1 -1
- package/dist/components/NavMenu/components/NavMenuItem.js +122 -107
- package/dist/components/NavMenu/types.d.ts +1 -0
- package/dist/components/NavMenu/types.d.ts.map +1 -1
- package/dist/components/OnBoarding/OnBoardingPage.js +35 -35
- package/dist/components/ProjectIcon/ProjectIcon.js +13 -13
- package/dist/components/TreeIndent/TreeIndent.d.ts +9 -0
- package/dist/components/TreeIndent/TreeIndent.d.ts.map +1 -0
- package/dist/components/TreeIndent/TreeIndent.js +15 -0
- package/dist/components/TreeIndent/TreeIndent.module.css.js +11 -0
- package/dist/components/TreeIndent/index.d.ts +2 -0
- package/dist/components/TreeIndent/index.d.ts.map +1 -0
- package/dist/components/WorkspaceAvatar/WorkspaceAvatar.js +6 -6
- package/dist/components/WorkspaceMenu/WorkspaceMenu.d.ts.map +1 -1
- package/dist/components/WorkspaceMenu/WorkspaceMenu.js +97 -101
- package/dist/components/modals/RemoveConfirmModal.d.ts.map +1 -1
- package/dist/config/brand.d.ts +49 -0
- package/dist/config/brand.d.ts.map +1 -0
- package/dist/config/brand.js +77 -0
- package/dist/config/envConfig.d.ts +110 -0
- package/dist/config/envConfig.d.ts.map +1 -0
- package/dist/config/envConfig.js +48 -0
- package/dist/constants.d.ts +1 -1
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +19 -7
- package/dist/helpers/getFileIcons.d.ts.map +1 -1
- package/dist/helpers/getFileIcons.js +34 -29
- package/dist/helpers/getFileType.d.ts +1 -1
- package/dist/helpers/getFileType.d.ts.map +1 -1
- package/dist/helpers/getFileType.js +3 -3
- package/dist/helpers/hotjar.d.ts.map +1 -1
- package/dist/helpers/hotjar.js +11 -7
- package/dist/helpers/platform.js +4 -4
- package/dist/helpers/showNotifications.d.ts +3 -0
- package/dist/helpers/showNotifications.d.ts.map +1 -1
- package/dist/helpers/showNotifications.js +79 -44
- package/dist/hooks/useDateFnsLocale.d.ts +2 -0
- package/dist/hooks/useDateFnsLocale.d.ts.map +1 -1
- package/dist/hooks/useDateFnsLocale.js +9 -8
- package/dist/hooks/useDateUtils.d.ts.map +1 -1
- package/dist/hooks/useDateUtils.js +19 -19
- package/dist/hooks/useDisableWindowScroll.js +3 -3
- package/dist/hooks/useFormatDistance.d.ts.map +1 -1
- package/dist/hooks/useFormatDistance.js +6 -6
- package/dist/hooks/useNumberQueryParam.d.ts +1 -1
- package/dist/hooks/useNumberQueryParam.d.ts.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +505 -487
- package/dist/lang/locales/ui_en.json.js +1 -1
- package/dist/lang/locales/ui_es.json.js +5 -5
- package/dist/lang/locales/ui_ru.json.js +5 -5
- package/dist/utils/formatStorage.d.ts +9 -0
- package/dist/utils/formatStorage.d.ts.map +1 -1
- package/dist/utils/formatStorage.js +14 -10
- package/package.json +3 -6
- package/dist/assets/svg/default_icon.svg.js +0 -4
- package/dist/assets/svg/layers-logo-full.svg.js +0 -4
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { FlexProps } from '@mantine/core';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
export declare const LayersLogoIcon: ({ color: _color, fontSize: _fontSize, width, height, ...props }: React.SVGProps<SVGSVGElement> & {
|
|
3
|
+
alt?: string;
|
|
4
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export declare const LayersLogoCopyright: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export declare const Logotype: ({ minified, isLink, to, variant, isDesktop, forceDark, ...props }: FlexProps & {
|
|
5
7
|
minified?: boolean;
|
|
6
8
|
isLink?: boolean;
|
|
7
9
|
to?: string;
|
|
8
10
|
variant?: "default" | "copyright";
|
|
9
11
|
isDesktop?: boolean;
|
|
12
|
+
forceDark?: boolean;
|
|
10
13
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
export { LayersLogoIcon, LayersLogoCopyright };
|
|
12
14
|
//# sourceMappingURL=Logotype.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Logotype.d.ts","sourceRoot":"","sources":["../../src/components/Logotype.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAQ,SAAS,
|
|
1
|
+
{"version":3,"file":"Logotype.d.ts","sourceRoot":"","sources":["../../src/components/Logotype.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAQ,SAAS,EAAQ,MAAM,eAAe,CAAC;AAmCtD,eAAO,MAAM,cAAc,GAAI,iEAM5B,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC,GAAG;IAAE,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,4CAelD,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAAI,OAAO,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC,4CAavE,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,mEAQtB,SAAS,GAAG;IACb,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,CAAC;IAClC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,4CAsDA,CAAC"}
|
|
@@ -1,41 +1,73 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { Link as
|
|
3
|
-
import { Flex as g } from "@mantine/core";
|
|
4
|
-
import
|
|
5
|
-
import L from "../
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
import { jsx as t, jsxs as k } from "react/jsx-runtime";
|
|
2
|
+
import { Link as b } from "react-router-dom";
|
|
3
|
+
import { Flex as g, Text as I } from "@mantine/core";
|
|
4
|
+
import { brand as o } from "../config/brand.js";
|
|
5
|
+
import { useIsDarkTheme as L } from "../helpers/themeUtils.js";
|
|
6
|
+
const u = o.LogoIcon, w = o.LogoCopyright, h = ({
|
|
7
|
+
size: r = 24,
|
|
8
|
+
isDark: i
|
|
9
|
+
}) => {
|
|
10
|
+
const n = o.customIconDarkUrl, c = o.customIconUrl, e = i && n ? n : c;
|
|
11
|
+
return /* @__PURE__ */ t("span", { style: { display: "block", width: r, height: r, flexShrink: 0 }, children: e ? /* @__PURE__ */ t(
|
|
12
|
+
"img",
|
|
13
|
+
{
|
|
14
|
+
src: e,
|
|
15
|
+
alt: o.name,
|
|
16
|
+
style: { width: "100%", height: "100%", objectFit: "contain", display: "block" }
|
|
17
|
+
}
|
|
18
|
+
) : /* @__PURE__ */ t(u, { width: "100%", height: "100%" }) });
|
|
19
|
+
}, F = ({
|
|
20
|
+
color: r,
|
|
21
|
+
fontSize: i,
|
|
22
|
+
width: n,
|
|
23
|
+
height: c,
|
|
14
24
|
...e
|
|
15
25
|
}) => {
|
|
16
|
-
const
|
|
17
|
-
return
|
|
18
|
-
|
|
26
|
+
const l = typeof n == "number" ? n : typeof c == "number" ? c : 24;
|
|
27
|
+
return o.customIconUrl ? /* @__PURE__ */ t("span", { style: { display: "block", width: l, height: l, flexShrink: 0, ...e.style }, children: /* @__PURE__ */ t(
|
|
28
|
+
"img",
|
|
19
29
|
{
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
...e,
|
|
24
|
-
children: i()
|
|
30
|
+
src: o.customIconUrl,
|
|
31
|
+
alt: o.name,
|
|
32
|
+
style: { width: "100%", height: "100%", objectFit: "contain", display: "block" }
|
|
25
33
|
}
|
|
26
|
-
) }) : /* @__PURE__ */
|
|
34
|
+
) }) : /* @__PURE__ */ t(u, { width: n, height: c, ...e });
|
|
35
|
+
}, C = (r) => o.customIconUrl ? /* @__PURE__ */ t("span", { style: { display: "block", width: 18, height: 18, flexShrink: 0 }, children: /* @__PURE__ */ t(
|
|
36
|
+
"img",
|
|
37
|
+
{
|
|
38
|
+
src: o.customIconUrl,
|
|
39
|
+
alt: o.name,
|
|
40
|
+
style: { width: "100%", height: "100%", objectFit: "contain", display: "block" }
|
|
41
|
+
}
|
|
42
|
+
) }) : /* @__PURE__ */ t(w, { ...r }), v = ({
|
|
43
|
+
minified: r,
|
|
44
|
+
isLink: i = !0,
|
|
45
|
+
to: n = "/",
|
|
46
|
+
variant: c = "default",
|
|
47
|
+
isDesktop: e,
|
|
48
|
+
forceDark: l,
|
|
49
|
+
...m
|
|
50
|
+
}) => {
|
|
51
|
+
const y = L(), s = l ?? y, d = () => r ? /* @__PURE__ */ t(h, { size: e ? "100%" : 40, isDark: s }) : c === "copyright" ? /* @__PURE__ */ t(h, { size: 18, isDark: s }) : /* @__PURE__ */ k(g, { align: "center", gap: 4, children: [
|
|
52
|
+
/* @__PURE__ */ t(h, { size: 24, isDark: s }),
|
|
53
|
+
/* @__PURE__ */ t(I, { fw: 600, fz: 16, lh: 1, style: { whiteSpace: "nowrap" }, children: o.name })
|
|
54
|
+
] }), p = () => r ? e ? "100%" : 40 : c === "copyright" ? 18 : "auto", f = () => {
|
|
55
|
+
if (r && e) return "100%";
|
|
56
|
+
}, a = /* @__PURE__ */ t(
|
|
27
57
|
g,
|
|
28
58
|
{
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
c:
|
|
32
|
-
|
|
33
|
-
|
|
59
|
+
w: p(),
|
|
60
|
+
h: f(),
|
|
61
|
+
c: s ? "white" : "black",
|
|
62
|
+
align: "center",
|
|
63
|
+
...m,
|
|
64
|
+
children: d()
|
|
34
65
|
}
|
|
35
66
|
);
|
|
67
|
+
return i ? /* @__PURE__ */ t(b, { to: n, children: a }) : a;
|
|
36
68
|
};
|
|
37
69
|
export {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
70
|
+
C as LayersLogoCopyright,
|
|
71
|
+
F as LayersLogoIcon,
|
|
72
|
+
v as Logotype
|
|
41
73
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavMenuItem.d.ts","sourceRoot":"","sources":["../../../../src/components/NavMenu/components/NavMenuItem.tsx"],"names":[],"mappings":"
|
|
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;AA8RF,eAAO,MAAM,eAAe,GAAI,0CAI7B;IACD,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,oBAAoB,EAAE,MAAM,CAAC;CAC9B,4CAiCA,CAAC"}
|
|
@@ -1,103 +1,105 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { memo as
|
|
3
|
-
import { useTranslation as
|
|
4
|
-
import { NavLink as
|
|
5
|
-
import { MoreHorizontalIcon as
|
|
6
|
-
import { HugeiconsIcon as
|
|
7
|
-
import { Flex as
|
|
8
|
-
import { useForm as
|
|
9
|
-
import { useClickOutside as
|
|
10
|
-
import { useAsyncStatus as
|
|
11
|
-
import { useMenu as
|
|
12
|
-
import { appContainerStore as
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
1
|
+
import { jsx as o, jsxs as h } from "react/jsx-runtime";
|
|
2
|
+
import { memo as m, useRef as k, useEffect as E, useState as M, useMemo as P } from "react";
|
|
3
|
+
import { useTranslation as y } from "react-i18next";
|
|
4
|
+
import { NavLink as A } from "react-router-dom";
|
|
5
|
+
import { MoreHorizontalIcon as D, ArrowRight01Icon as z } from "@hugeicons/core-free-icons";
|
|
6
|
+
import { HugeiconsIcon as N } from "@hugeicons/react";
|
|
7
|
+
import { Flex as f, Loader as x, Text as O, FocusTrap as R, Tooltip as S, Center as j } from "@mantine/core";
|
|
8
|
+
import { useForm as F } from "@mantine/form";
|
|
9
|
+
import { useClickOutside as L } from "@mantine/hooks";
|
|
10
|
+
import { useAsyncStatus as T } from "../../../hooks/useAsyncStatus.js";
|
|
11
|
+
import { useMenu as V } from "../../../hooks/useMenu.js";
|
|
12
|
+
import { appContainerStore as $ } from "../../AppContainer/hooks/useAppContainerStore.js";
|
|
13
|
+
import { ColorPickerPopover as B } from "../../ColorPicker/ColorPickerPopover.js";
|
|
14
|
+
import { EmojiPicker as H } from "../../EmojiPicker/EmojiPicker.js";
|
|
15
|
+
import { EntityIcon as v } from "../../EntityIcon.js";
|
|
16
|
+
import { IconEntity as C } from "../../ProjectIcon/ProjectIcon.js";
|
|
17
|
+
import { NavMenu as I } from "../NavMenu.js";
|
|
18
|
+
import { useNavMenuStore as g } from "../store.js";
|
|
19
|
+
import { NavMenuActionIcon as W } from "./NavMenuActionIcon.js";
|
|
20
|
+
import c from "../NavMenu.module.css.js";
|
|
21
|
+
const ue = m(
|
|
22
|
+
({ item: e, ignoreDepth: i, disableToggleOnClick: r }) => {
|
|
23
|
+
const { useStore: s } = g(), n = s((l) => l.editId === e.id);
|
|
24
|
+
return /* @__PURE__ */ o(
|
|
25
|
+
b,
|
|
24
26
|
{
|
|
25
27
|
depth: i ? void 0 : e.depth,
|
|
26
28
|
testId: e.testId,
|
|
27
|
-
children:
|
|
29
|
+
children: n ? /* @__PURE__ */ o(q, { item: e }) : /* @__PURE__ */ o(_, { item: e, disableToggleOnClick: r })
|
|
28
30
|
}
|
|
29
31
|
);
|
|
30
32
|
}
|
|
31
|
-
),
|
|
33
|
+
), _ = m(
|
|
32
34
|
({
|
|
33
35
|
item: e,
|
|
34
36
|
disableToggleOnClick: i
|
|
35
37
|
}) => {
|
|
36
|
-
const { api:
|
|
37
|
-
i || (
|
|
38
|
-
}, d = e.data?.isReadOnly,
|
|
39
|
-
|
|
38
|
+
const { api: r, useStore: s } = g(), n = s((a) => a.props.onClick), { isMobile: l } = V(), { t: p } = y("appContainer"), u = () => {
|
|
39
|
+
i || (n ? n(e) : e.hasChildren && r.toggleOpened(e));
|
|
40
|
+
}, d = e.data?.isReadOnly, t = e.href ? /* @__PURE__ */ o(
|
|
41
|
+
A,
|
|
40
42
|
{
|
|
41
43
|
to: e.href,
|
|
42
|
-
className:
|
|
44
|
+
className: c.item,
|
|
43
45
|
"data-active": e.active,
|
|
44
46
|
"data-has-children": e.hasChildren,
|
|
45
47
|
"data-read-only": d,
|
|
46
48
|
onClick: d ? void 0 : () => {
|
|
47
|
-
|
|
49
|
+
l && !e.hasChildren && $.api.closeToolbar();
|
|
48
50
|
},
|
|
49
|
-
children: /* @__PURE__ */
|
|
51
|
+
children: /* @__PURE__ */ o(w, { item: e })
|
|
50
52
|
}
|
|
51
|
-
) : /* @__PURE__ */
|
|
53
|
+
) : /* @__PURE__ */ o(
|
|
52
54
|
"div",
|
|
53
55
|
{
|
|
54
|
-
className:
|
|
56
|
+
className: c.item,
|
|
55
57
|
"data-active": e.active,
|
|
56
58
|
"data-has-children": e.hasChildren,
|
|
57
59
|
"data-read-only": d,
|
|
58
|
-
onClick: d ? void 0 :
|
|
59
|
-
children: /* @__PURE__ */
|
|
60
|
+
onClick: d ? void 0 : u,
|
|
61
|
+
children: /* @__PURE__ */ o(w, { item: e })
|
|
60
62
|
}
|
|
61
63
|
);
|
|
62
|
-
return d ? /* @__PURE__ */
|
|
64
|
+
return d ? /* @__PURE__ */ o(S, { label: p("readOnlyAccess"), position: "right", withArrow: !0, children: t }) : t;
|
|
63
65
|
}
|
|
64
|
-
),
|
|
65
|
-
const { t: i } =
|
|
66
|
-
() => ({ ...e.data, isOpen:
|
|
67
|
-
[
|
|
68
|
-
),
|
|
69
|
-
return /* @__PURE__ */
|
|
70
|
-
/* @__PURE__ */
|
|
71
|
-
|
|
72
|
-
|
|
66
|
+
), w = m(({ item: e }) => {
|
|
67
|
+
const { t: i } = y(), { useStore: r, api: s } = g(), n = r((t) => t.opened.includes(e.id)), l = r((t) => t.loading[e.id]), p = P(
|
|
68
|
+
() => ({ ...e.data, isOpen: n }),
|
|
69
|
+
[n, e.data]
|
|
70
|
+
), u = e.data?.isReadOnly, d = u ? 0.3 : void 0;
|
|
71
|
+
return /* @__PURE__ */ h(f, { gap: 4, h: "100%", flex: 1, miw: 0, justify: "space-between", children: [
|
|
72
|
+
/* @__PURE__ */ h(f, { gap: 4, miw: 0, flex: 1, children: [
|
|
73
|
+
l ? /* @__PURE__ */ o(j, { w: 20, h: 20, children: /* @__PURE__ */ o(x, { size: 16 }) }) : e.hasChildren && !u && /* @__PURE__ */ o(
|
|
74
|
+
W,
|
|
73
75
|
{
|
|
74
|
-
className:
|
|
76
|
+
className: c.chevron,
|
|
75
77
|
"data-cy": e.testId ? `${e.testId}-expand` : void 0,
|
|
76
|
-
onClick: (
|
|
77
|
-
|
|
78
|
+
onClick: (t) => {
|
|
79
|
+
t.preventDefault(), t.stopPropagation(), s.toggleOpened(e);
|
|
78
80
|
},
|
|
79
|
-
children: /* @__PURE__ */
|
|
80
|
-
|
|
81
|
+
children: /* @__PURE__ */ o(
|
|
82
|
+
N,
|
|
81
83
|
{
|
|
82
|
-
icon:
|
|
84
|
+
icon: z,
|
|
83
85
|
size: 16,
|
|
84
86
|
style: {
|
|
85
|
-
transform: `rotate(${
|
|
87
|
+
transform: `rotate(${n ? 90 : 0}deg)`,
|
|
86
88
|
transition: "transform 0.1s ease-in-out"
|
|
87
89
|
}
|
|
88
90
|
}
|
|
89
91
|
)
|
|
90
92
|
}
|
|
91
93
|
),
|
|
92
|
-
/* @__PURE__ */
|
|
93
|
-
/* @__PURE__ */
|
|
94
|
-
|
|
94
|
+
/* @__PURE__ */ o("div", { className: c.icon, style: { opacity: d }, children: /* @__PURE__ */ o(v, { item: p }) }),
|
|
95
|
+
/* @__PURE__ */ o(
|
|
96
|
+
S,
|
|
95
97
|
{
|
|
96
98
|
disabled: e.title.length < 25,
|
|
97
99
|
label: e.title || i("noName"),
|
|
98
100
|
openDelay: 400,
|
|
99
|
-
children: /* @__PURE__ */
|
|
100
|
-
|
|
101
|
+
children: /* @__PURE__ */ o(
|
|
102
|
+
O,
|
|
101
103
|
{
|
|
102
104
|
flex: 1,
|
|
103
105
|
truncate: !0,
|
|
@@ -107,8 +109,8 @@ const se = f(
|
|
|
107
109
|
miw: 0,
|
|
108
110
|
c: "var(--mantine-color-text)",
|
|
109
111
|
"data-cy": e.testId ? `${e.testId}-title` : void 0,
|
|
110
|
-
onDoubleClick: (
|
|
111
|
-
|
|
112
|
+
onDoubleClick: (t) => {
|
|
113
|
+
r.getState().props.onEdit && !e?.isDisabledEditByDoubleClick && (t.preventDefault(), t.stopPropagation(), s.startEditing(e.id));
|
|
112
114
|
},
|
|
113
115
|
children: e.title || i("noName")
|
|
114
116
|
}
|
|
@@ -118,38 +120,51 @@ const se = f(
|
|
|
118
120
|
] }),
|
|
119
121
|
e.rightSection
|
|
120
122
|
] });
|
|
121
|
-
}),
|
|
122
|
-
const { api: i, useStore:
|
|
123
|
+
}), q = m(({ item: e }) => {
|
|
124
|
+
const { api: i, useStore: r } = g(), s = k(null), n = F({
|
|
123
125
|
initialValues: {
|
|
124
126
|
name: e.title,
|
|
125
127
|
icon: e.data?.icon || ""
|
|
126
128
|
}
|
|
127
|
-
}),
|
|
129
|
+
}), l = (a) => {
|
|
128
130
|
i.handleEdit({
|
|
129
131
|
id: e.id,
|
|
130
|
-
name:
|
|
131
|
-
icon:
|
|
132
|
+
name: a.name ?? "",
|
|
133
|
+
icon: a.icon ?? ""
|
|
132
134
|
}), i.stopEditing();
|
|
133
|
-
},
|
|
134
|
-
|
|
135
|
+
}, p = L(() => {
|
|
136
|
+
n.isDirty() ? l(n.getValues()) : i.stopEditing();
|
|
135
137
|
});
|
|
136
|
-
|
|
137
|
-
|
|
138
|
+
E(() => {
|
|
139
|
+
s.current && s.current.select();
|
|
138
140
|
}, []);
|
|
139
|
-
const
|
|
140
|
-
|
|
141
|
-
[e.data?.type]
|
|
142
|
-
), d = a((n) => n.opened.includes(e.id));
|
|
143
|
-
return /* @__PURE__ */ t(
|
|
141
|
+
const u = r((a) => a.opened.includes(e.id)), [d, t] = M(!1);
|
|
142
|
+
return /* @__PURE__ */ o(
|
|
144
143
|
"form",
|
|
145
144
|
{
|
|
146
|
-
onSubmit:
|
|
147
|
-
className:
|
|
148
|
-
ref:
|
|
145
|
+
onSubmit: n.onSubmit(l),
|
|
146
|
+
className: c.item,
|
|
147
|
+
ref: p,
|
|
149
148
|
"data-editing": !0,
|
|
150
|
-
children: /* @__PURE__ */
|
|
151
|
-
/* @__PURE__ */
|
|
152
|
-
|
|
149
|
+
children: /* @__PURE__ */ h(f, { gap: 4, h: "100%", flex: 1, miw: 0, justify: "space-between", children: [
|
|
150
|
+
/* @__PURE__ */ o("div", { className: c.icon, children: e.colorPickerOnly ? /* @__PURE__ */ o(
|
|
151
|
+
B,
|
|
152
|
+
{
|
|
153
|
+
value: C.parse(n.values.icon)?.color,
|
|
154
|
+
onChange: (a) => n.setFieldValue("icon", C.stringify({ color: a })),
|
|
155
|
+
withinPortal: !1,
|
|
156
|
+
floatingStrategy: "fixed",
|
|
157
|
+
opened: d,
|
|
158
|
+
setOpened: t,
|
|
159
|
+
children: /* @__PURE__ */ o(I.ActionIcon, { onClick: () => t((a) => !a), children: /* @__PURE__ */ o(
|
|
160
|
+
v,
|
|
161
|
+
{
|
|
162
|
+
item: { ...e.data, isOpen: u, icon: n.values.icon }
|
|
163
|
+
}
|
|
164
|
+
) })
|
|
165
|
+
}
|
|
166
|
+
) : /* @__PURE__ */ o(
|
|
167
|
+
H,
|
|
153
168
|
{
|
|
154
169
|
showIcons: !0,
|
|
155
170
|
showColors: !0,
|
|
@@ -157,68 +172,68 @@ const se = f(
|
|
|
157
172
|
popoverProps: {
|
|
158
173
|
floatingStrategy: "fixed"
|
|
159
174
|
},
|
|
160
|
-
value:
|
|
161
|
-
onChange: (
|
|
162
|
-
children: /* @__PURE__ */
|
|
163
|
-
|
|
175
|
+
value: n.values.icon,
|
|
176
|
+
onChange: (a) => n.setFieldValue("icon", a),
|
|
177
|
+
children: /* @__PURE__ */ o(I.ActionIcon, { children: /* @__PURE__ */ o(
|
|
178
|
+
v,
|
|
164
179
|
{
|
|
165
|
-
item: { ...e.data, isOpen:
|
|
180
|
+
item: { ...e.data, isOpen: u, icon: n.values.icon }
|
|
166
181
|
}
|
|
167
182
|
) })
|
|
168
183
|
}
|
|
169
184
|
) }),
|
|
170
|
-
/* @__PURE__ */
|
|
185
|
+
/* @__PURE__ */ o(R, { children: /* @__PURE__ */ o(
|
|
171
186
|
"input",
|
|
172
187
|
{
|
|
173
|
-
ref:
|
|
174
|
-
className:
|
|
188
|
+
ref: s,
|
|
189
|
+
className: c.editInput,
|
|
175
190
|
"data-cy": e.testId ? `${e.testId}-rename-input` : void 0,
|
|
176
|
-
...
|
|
191
|
+
...n.getInputProps("name"),
|
|
177
192
|
maxLength: 255,
|
|
178
|
-
onFocus: (
|
|
193
|
+
onFocus: (a) => a.target.select()
|
|
179
194
|
}
|
|
180
195
|
) })
|
|
181
196
|
] })
|
|
182
197
|
}
|
|
183
198
|
);
|
|
184
|
-
}),
|
|
199
|
+
}), b = m(
|
|
185
200
|
({
|
|
186
201
|
depth: e = 0,
|
|
187
202
|
children: i,
|
|
188
|
-
testId:
|
|
189
|
-
}) => /* @__PURE__ */
|
|
203
|
+
testId: r
|
|
204
|
+
}) => /* @__PURE__ */ h(
|
|
190
205
|
"div",
|
|
191
206
|
{
|
|
192
|
-
className:
|
|
193
|
-
"data-cy":
|
|
207
|
+
className: c.itemContainer,
|
|
208
|
+
"data-cy": r,
|
|
194
209
|
style: {
|
|
195
210
|
"--depth": e
|
|
196
211
|
},
|
|
197
212
|
children: [
|
|
198
|
-
Array.from({ length: e }).map((
|
|
213
|
+
Array.from({ length: e }).map((s, n) => /* @__PURE__ */ o("div", { className: c.depthBox }, n)),
|
|
199
214
|
i
|
|
200
215
|
]
|
|
201
216
|
}
|
|
202
217
|
)
|
|
203
|
-
),
|
|
218
|
+
), he = ({
|
|
204
219
|
depth: e,
|
|
205
220
|
itemId: i,
|
|
206
|
-
currentChildrenCount:
|
|
221
|
+
currentChildrenCount: r
|
|
207
222
|
}) => {
|
|
208
|
-
const { t:
|
|
209
|
-
return /* @__PURE__ */
|
|
223
|
+
const { t: s } = y("appContainer"), { api: n } = g(), { isLoading: l, onSubmit: p } = T();
|
|
224
|
+
return /* @__PURE__ */ o(b, { depth: e, children: /* @__PURE__ */ o(
|
|
210
225
|
"div",
|
|
211
226
|
{
|
|
212
|
-
className:
|
|
213
|
-
onClick: () =>
|
|
214
|
-
children: /* @__PURE__ */
|
|
215
|
-
/* @__PURE__ */
|
|
216
|
-
/* @__PURE__ */
|
|
227
|
+
className: c.item,
|
|
228
|
+
onClick: () => p(() => n.loadMore({ itemId: i, currentChildrenCount: r })),
|
|
229
|
+
children: /* @__PURE__ */ o(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__ */ o("div", { className: c.icon, children: l ? /* @__PURE__ */ o(x, { size: 16 }) : /* @__PURE__ */ o(N, { icon: D, size: 16 }) }),
|
|
231
|
+
/* @__PURE__ */ o(O, { flex: 1, truncate: !0, size: "sm", fw: 500, miw: 0, children: s("loadMore") })
|
|
217
232
|
] }) })
|
|
218
233
|
}
|
|
219
234
|
) });
|
|
220
235
|
};
|
|
221
236
|
export {
|
|
222
|
-
|
|
223
|
-
|
|
237
|
+
ue as NavMenuItem,
|
|
238
|
+
he as NavMenuLoadMore
|
|
224
239
|
};
|
|
@@ -20,6 +20,7 @@ export type NavMenuItemDef<DATA = NavMenuItemData> = {
|
|
|
20
20
|
data?: DATA;
|
|
21
21
|
isDisabledEditByDoubleClick?: boolean;
|
|
22
22
|
testId?: string;
|
|
23
|
+
colorPickerOnly?: boolean;
|
|
23
24
|
};
|
|
24
25
|
export type ExpandNavMenuItemDef<DATA = NavMenuItemData> = NavMenuItemDef<DATA> & {
|
|
25
26
|
depth: number;
|
|
@@ -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;CACtB,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;
|
|
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;CACtB,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"}
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { AppShell as
|
|
3
|
-
import
|
|
4
|
-
import { useOnboardingState as
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
1
|
+
import { jsxs as e, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { AppShell as t, Group as n, Flex as s } from "@mantine/core";
|
|
3
|
+
import { Logotype as m } from "../Logotype.js";
|
|
4
|
+
import { useOnboardingState as d } from "../../store/onboarding.js";
|
|
5
|
+
import c from "./ProjectBoard.js";
|
|
6
|
+
import l from "./StepsNavBar.js";
|
|
7
|
+
import f from "./steps/AddTasks/AddTasksNav.js";
|
|
8
8
|
import a from "./steps/AddTasks/TasksListBoard.js";
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
9
|
+
import h from "./steps/CreateFirstProject.js";
|
|
10
|
+
import S from "./steps/DefineStatuses/DefineStatusesNav.js";
|
|
11
|
+
import v from "./steps/DefineStatuses/StatusesListBoard.js";
|
|
12
|
+
import b from "./steps/DifferentLayouts/DifferentLayoutsBoard.js";
|
|
13
|
+
import g from "./steps/DifferentLayouts/DifferentLayoutsNav.js";
|
|
14
|
+
import u from "./steps/InviteUsers/BoardModal.js";
|
|
15
|
+
import B from "./steps/InviteUsers/InviteUsers.js";
|
|
16
|
+
import N from "./steps/SelectCategory/SelectCategoryNav.js";
|
|
17
|
+
import L from "./steps/StartedStep.js";
|
|
18
18
|
import i from "./styles.module.css.js";
|
|
19
19
|
const p = [
|
|
20
20
|
{
|
|
21
21
|
step: 0,
|
|
22
|
-
navSection: /* @__PURE__ */ r(
|
|
22
|
+
navSection: /* @__PURE__ */ r(L, {}),
|
|
23
23
|
board: null
|
|
24
24
|
},
|
|
25
25
|
{
|
|
26
26
|
step: 1,
|
|
27
|
-
navSection: /* @__PURE__ */ r(
|
|
27
|
+
navSection: /* @__PURE__ */ r(h, {}),
|
|
28
28
|
board: null
|
|
29
29
|
},
|
|
30
30
|
{
|
|
31
31
|
step: 2,
|
|
32
|
-
navSection: /* @__PURE__ */ r(
|
|
33
|
-
board: /* @__PURE__ */ r(
|
|
32
|
+
navSection: /* @__PURE__ */ r(B, {}),
|
|
33
|
+
board: /* @__PURE__ */ r(u, {})
|
|
34
34
|
},
|
|
35
35
|
// {
|
|
36
36
|
// step: 3,
|
|
@@ -39,42 +39,42 @@ const p = [
|
|
|
39
39
|
// },
|
|
40
40
|
{
|
|
41
41
|
step: 3,
|
|
42
|
-
navSection: /* @__PURE__ */ r(
|
|
42
|
+
navSection: /* @__PURE__ */ r(f, {}),
|
|
43
43
|
board: /* @__PURE__ */ r(a, {})
|
|
44
44
|
},
|
|
45
45
|
{
|
|
46
46
|
step: 4,
|
|
47
|
-
navSection: /* @__PURE__ */ r(
|
|
47
|
+
navSection: /* @__PURE__ */ r(N, {}),
|
|
48
48
|
board: /* @__PURE__ */ r(a, {})
|
|
49
49
|
},
|
|
50
50
|
{
|
|
51
51
|
step: 5,
|
|
52
|
-
navSection: /* @__PURE__ */ r(
|
|
53
|
-
board: /* @__PURE__ */ r(
|
|
52
|
+
navSection: /* @__PURE__ */ r(S, {}),
|
|
53
|
+
board: /* @__PURE__ */ r(v, {})
|
|
54
54
|
},
|
|
55
55
|
{
|
|
56
56
|
step: 6,
|
|
57
|
-
navSection: /* @__PURE__ */ r(
|
|
58
|
-
board: /* @__PURE__ */ r(
|
|
57
|
+
navSection: /* @__PURE__ */ r(g, {}),
|
|
58
|
+
board: /* @__PURE__ */ r(b, {})
|
|
59
59
|
}
|
|
60
|
-
],
|
|
61
|
-
const { step: o } =
|
|
62
|
-
return /* @__PURE__ */
|
|
63
|
-
|
|
60
|
+
], z = () => {
|
|
61
|
+
const { step: o } = d();
|
|
62
|
+
return /* @__PURE__ */ e(
|
|
63
|
+
t,
|
|
64
64
|
{
|
|
65
65
|
header: { height: 60 },
|
|
66
66
|
className: i.appShell,
|
|
67
67
|
withBorder: !1,
|
|
68
68
|
children: [
|
|
69
|
-
/* @__PURE__ */ r(
|
|
70
|
-
/* @__PURE__ */ r(
|
|
71
|
-
/* @__PURE__ */ r(
|
|
72
|
-
o !== 0 && /* @__PURE__ */ r(
|
|
69
|
+
/* @__PURE__ */ r(t.Header, { className: i.appShellHeader, children: /* @__PURE__ */ r(n, { h: "100%", p: "md", children: /* @__PURE__ */ r(m, { isLink: !1 }) }) }),
|
|
70
|
+
/* @__PURE__ */ r(t.Main, { h: "calc(100vh - 60px)", pl: 12, pt: 66, pb: 12, children: /* @__PURE__ */ e(s, { wrap: "nowrap", h: "100%", children: [
|
|
71
|
+
/* @__PURE__ */ r(l, { children: p[o].navSection }),
|
|
72
|
+
o !== 0 && /* @__PURE__ */ r(c, { children: p[o].board })
|
|
73
73
|
] }) })
|
|
74
74
|
]
|
|
75
75
|
}
|
|
76
76
|
);
|
|
77
77
|
};
|
|
78
78
|
export {
|
|
79
|
-
|
|
79
|
+
z as OnBoardingPage
|
|
80
80
|
};
|