@layers-app/shared 0.2.4 → 0.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/jsons/emoji-categorized-windows.json.js +4 -0
- package/dist/assets/jsons/emoji-categorized-windows10.json.js +4 -0
- package/dist/assets/svg/users.svg.js +5 -0
- package/dist/assets/svg/whatsapp-icon.svg.js +5 -0
- package/dist/components/AliasTextInput/AliasTextInput.d.ts +3 -1
- package/dist/components/AliasTextInput/AliasTextInput.d.ts.map +1 -1
- package/dist/components/AliasTextInput/AliasTextInput.js +63 -54
- 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 +48 -45
- package/dist/components/AppContainer/AppContainer.module.css.js +1 -1
- package/dist/components/AppContainer/components/AppSidebarButton.js +1 -1
- package/dist/components/AppContainer/components/AppsSidebar/AppsSection.js +5 -5
- package/dist/components/AppContainer/components/AppsSidebar/UserSection.d.ts.map +1 -1
- package/dist/components/AppContainer/components/AppsSidebar/UserSection.js +56 -43
- package/dist/components/AppContainer/components/Main.d.ts +5 -1
- package/dist/components/AppContainer/components/Main.d.ts.map +1 -1
- package/dist/components/AppContainer/components/Main.js +11 -8
- package/dist/components/AppContainer/components/menus/HelpMenu/HelpMenu.d.ts.map +1 -1
- package/dist/components/AppContainer/components/menus/HelpMenu/HelpMenu.js +34 -19
- package/dist/components/AppContainer/components/menus/HelpMenu/HelpMenu.module.css.js +1 -1
- package/dist/components/AppContainer/components/menus/MoreMenu.js +8 -8
- package/dist/components/AppContainer/components/menus/UserMenu/MenuUserDropdown.d.ts +1 -0
- package/dist/components/AppContainer/components/menus/UserMenu/MenuUserDropdown.d.ts.map +1 -1
- package/dist/components/AppContainer/types.d.ts +1 -0
- package/dist/components/AppContainer/types.d.ts.map +1 -1
- package/dist/components/AttachmentsGalleryModal/AttachmentsGalleryModal.d.ts +1 -1
- package/dist/components/AttachmentsGalleryModal/AttachmentsGalleryModal.d.ts.map +1 -1
- package/dist/components/AttachmentsGalleryModal/components/GallerySlide.d.ts +1 -1
- package/dist/components/AttachmentsGalleryModal/components/GallerySlide.d.ts.map +1 -1
- package/dist/components/AttachmentsGalleryModal/components/GallerySlide.js +5 -5
- package/dist/components/AttachmentsGalleryModal/components/ModalFooter.d.ts +1 -1
- package/dist/components/AttachmentsGalleryModal/components/ModalFooter.d.ts.map +1 -1
- package/dist/components/AttachmentsGalleryModal/components/ModalFooter.js +4 -4
- package/dist/components/AttachmentsGalleryModal/components/ModalHeader.d.ts +1 -1
- package/dist/components/AttachmentsGalleryModal/components/ModalHeader.d.ts.map +1 -1
- package/dist/components/AttachmentsGalleryModal/hooks/useDownloadFile.d.ts +1 -1
- package/dist/components/AttachmentsGalleryModal/hooks/useDownloadFile.d.ts.map +1 -1
- package/dist/components/AttachmentsGalleryModal/hooks/useGetPreviewUrl.d.ts +1 -1
- package/dist/components/AttachmentsGalleryModal/hooks/useGetPreviewUrl.d.ts.map +1 -1
- package/dist/components/AttachmentsGalleryModal/styles.module.css.js +9 -9
- package/dist/components/AttachmentsPreview/AttachmentsPreview.d.ts.map +1 -1
- package/dist/components/AttachmentsPreview/AttachmentsPreview.js +114 -88
- package/dist/components/AttachmentsPreview/AttachmentsPreview.module.css.js +9 -9
- package/dist/components/BouncingLogo/BouncingLogo.d.ts +6 -2
- package/dist/components/BouncingLogo/BouncingLogo.d.ts.map +1 -1
- package/dist/components/BouncingLogo/BouncingLogo.js +13 -14
- package/dist/components/BouncingLogo/BouncingLogo.module.css.js +12 -10
- package/dist/components/ColorPicker/ColorPicker.d.ts +2 -0
- package/dist/components/ColorPicker/ColorPicker.d.ts.map +1 -1
- package/dist/components/ColorPicker/ColorPicker.js +66 -59
- package/dist/components/CommentComposer/CommentEditorHotkeys.js +1 -1
- package/dist/components/CommunitiesDialog/styles.module.css.js +1 -1
- package/dist/components/Copyright/index.d.ts.map +1 -1
- package/dist/components/Copyright/index.js +6 -6
- package/dist/components/EmojiPicker/EmojiPanel.d.ts.map +1 -1
- package/dist/components/EmojiPicker/EmojiPanel.js +14 -14
- package/dist/components/EmojiPicker/EmojiPicker.d.ts.map +1 -1
- package/dist/components/EmojiPicker/EmojiPicker.js +87 -95
- package/dist/components/EmojiPicker/IconsPanel.d.ts.map +1 -1
- package/dist/components/EmojiPicker/IconsPanel.js +37 -38
- package/dist/components/EmojiPicker/utils.d.ts +11 -0
- package/dist/components/EmojiPicker/utils.d.ts.map +1 -0
- package/dist/components/EmojiPicker/utils.js +46 -0
- package/dist/components/EntityIcon.d.ts +5 -2
- package/dist/components/EntityIcon.d.ts.map +1 -1
- package/dist/components/EntityIcon.js +44 -46
- package/dist/components/FilePicker/FilePicker.d.ts.map +1 -1
- package/dist/components/FilePicker/FilePicker.js +58 -59
- package/dist/components/FilePicker/types.d.ts +1 -1
- package/dist/components/FilePicker/types.d.ts.map +1 -1
- package/dist/components/FormViewer/FormViewer.module.css.js +18 -18
- package/dist/components/FormViewer/components/fields/ChoiceField/PictureChoiceCard.d.ts +4 -2
- package/dist/components/FormViewer/components/fields/ChoiceField/PictureChoiceCard.d.ts.map +1 -1
- package/dist/components/FormViewer/components/fields/ChoiceField/PictureChoiceCard.js +51 -26
- package/dist/components/FormViewer/components/fields/ChoiceField/PictureChoiceField.d.ts.map +1 -1
- package/dist/components/FormViewer/components/fields/ChoiceField/PictureChoiceField.js +25 -23
- package/dist/components/FormViewer/components/fields/DragOptions/DragOptions.module.css.js +1 -1
- package/dist/components/FormViewer/components/fields/SelectableCard/PictureSelectableCard.d.ts +5 -2
- package/dist/components/FormViewer/components/fields/SelectableCard/PictureSelectableCard.d.ts.map +1 -1
- package/dist/components/FormViewer/components/fields/SelectableCard/PictureSelectableCard.js +105 -96
- package/dist/components/FormViewer/components/fields/SliderField.d.ts.map +1 -1
- package/dist/components/FormViewer/components/fields/SliderField.js +19 -18
- package/dist/components/FormViewer/components/fields/UploadField/UploadField.d.ts.map +1 -1
- package/dist/components/FormViewer/components/fields/UploadField/UploadFile/UploadFile.module.css.js +1 -1
- package/dist/components/FormViewer/helpers/cssScoping.d.ts.map +1 -1
- package/dist/components/FormViewer/helpers/staticClasses.d.ts.map +1 -1
- package/dist/components/FormViewer/store/formStore.d.ts +10 -3
- package/dist/components/FormViewer/store/formStore.d.ts.map +1 -1
- package/dist/components/LanguagePicker/LanguagePicker.js +13 -13
- package/dist/components/Loaders/styles.module.css.js +1 -1
- package/dist/components/NavMenu/NavMenu.d.ts +4 -1
- package/dist/components/NavMenu/NavMenu.d.ts.map +1 -1
- package/dist/components/NavMenu/NavMenu.js +96 -77
- package/dist/components/NavMenu/NavMenu.module.css.js +10 -10
- package/dist/components/NavMenu/components/DnDItem.d.ts +2 -1
- package/dist/components/NavMenu/components/DnDItem.d.ts.map +1 -1
- package/dist/components/NavMenu/components/DnDItem.js +32 -30
- package/dist/components/NavMenu/components/DnDProvider.d.ts.map +1 -1
- package/dist/components/NavMenu/components/DnDProvider.js +28 -26
- package/dist/components/NavMenu/components/DraggableOverlay.d.ts.map +1 -1
- package/dist/components/NavMenu/components/NavMenuItem.d.ts +1 -1
- package/dist/components/NavMenu/components/NavMenuItem.d.ts.map +1 -1
- package/dist/components/NavMenu/components/NavMenuItem.js +108 -94
- package/dist/components/NavMenu/store.d.ts +1 -0
- package/dist/components/NavMenu/store.d.ts.map +1 -1
- package/dist/components/NavMenu/types.d.ts +1 -0
- package/dist/components/NavMenu/types.d.ts.map +1 -1
- package/dist/components/NavbarResizer/NavbarResizer.module.css.js +2 -2
- package/dist/components/NoData/NoData.d.ts +32 -26
- package/dist/components/NoData/NoData.d.ts.map +1 -1
- package/dist/components/NoData/NoData.js +73 -73
- package/dist/components/OnBoarding/ProjectBoard.js +17 -17
- package/dist/components/OnBoarding/steps/AddTasks/AddTasksNav.js +7 -7
- package/dist/components/OnBoarding/steps/AddTasks/TasksListBoard.d.ts.map +1 -1
- package/dist/components/OnBoarding/steps/AddTasks/TasksListBoard.js +9 -9
- package/dist/components/OnBoarding/steps/CreateFirstProject.js +5 -5
- package/dist/components/OnBoarding/steps/DefineStatuses/DefineStatusesNav.js +7 -7
- package/dist/components/OnBoarding/steps/DefineStatuses/StatusesListBoard.js +6 -6
- package/dist/components/OnBoarding/steps/DifferentLayouts/DifferentLayoutsBoard.d.ts.map +1 -1
- package/dist/components/OnBoarding/steps/DifferentLayouts/DifferentLayoutsNav.js +10 -10
- package/dist/components/OnBoarding/steps/DifferentLayouts/KanbanLayout.js +5 -5
- package/dist/components/OnBoarding/steps/InviteUsers/BoardModal.js +10 -10
- package/dist/components/OnBoarding/steps/InviteUsers/InviteUsers.d.ts.map +1 -1
- package/dist/components/OnBoarding/steps/SelectCategory/CategorySelect.d.ts.map +1 -1
- package/dist/components/OnBoarding/steps/SelectCategory/CategorySelect.js +8 -8
- package/dist/components/OnBoarding/steps/SelectCategory/SelectCategoryNav.js +5 -5
- package/dist/components/OnBoarding/steps/StartedStep.js +5 -5
- package/dist/components/PaymentSuccess/PaymentSuccess.d.ts.map +1 -1
- package/dist/components/PaymentSuccess/PaymentSuccess.js +9 -9
- package/dist/components/SearchFilters/components/DateFilter.js +19 -19
- package/dist/components/SearchFilters/components/SearchHelp.d.ts.map +1 -1
- package/dist/components/SearchFilters/components/SearchHelp.js +7 -7
- package/dist/components/SortableList/SortableList.d.ts.map +1 -1
- package/dist/components/SortableList/components/SortableItem/SortableItem.d.ts.map +1 -1
- package/dist/components/SortableList/components/SortableItem/SortableItem.js +1 -9
- package/dist/components/SortableList/components/SortableItem/index.d.ts +1 -1
- package/dist/components/SortableList/components/SortableItem/index.d.ts.map +1 -1
- package/dist/components/StorageUsageEntityList/StorageEntityItem.d.ts +2 -6
- package/dist/components/StorageUsageEntityList/StorageEntityItem.d.ts.map +1 -1
- package/dist/components/StorageUsageEntityList/StorageEntityItem.js +19 -59
- package/dist/components/StorageUsageEntityList/StorageUsageEntityList.d.ts +1 -1
- package/dist/components/StorageUsageEntityList/StorageUsageEntityList.d.ts.map +1 -1
- package/dist/components/StorageUsageEntityList/StorageUsageEntityList.js +6 -24
- package/dist/components/StorageUsageProgress/StorageUsageProgress.module.css.js +7 -0
- package/dist/components/StorageUsageProgress/index.d.ts +2 -2
- package/dist/components/StorageUsageProgress/index.d.ts.map +1 -1
- package/dist/components/StorageUsageProgress/index.js +73 -40
- package/dist/components/ThemeIndicator/index.d.ts.map +1 -1
- package/dist/components/ThemeIndicator/index.js +4 -4
- package/dist/components/UserAvatar/index.js +14 -14
- package/dist/components/WorkspaceMenu/WorkspaceMenu.d.ts.map +1 -1
- package/dist/components/WorkspaceMenu/WorkspaceMenu.js +40 -37
- package/dist/components/modals/RemoveConfirmModal.d.ts.map +1 -1
- package/dist/components/modals/RemoveConfirmModal.js +31 -24
- package/dist/components/table/export.d.ts.map +1 -1
- package/dist/components/table/hooks/useSaveRowCount.d.ts.map +1 -1
- package/dist/components/table/hooks/useSaveRowCount.js +4 -4
- package/dist/components/table/hooks/useSorting.d.ts.map +1 -1
- package/dist/components/table/hooks/useSorting.js +3 -1
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +8 -1
- package/dist/helpers/getFileIcons.js +12 -12
- package/dist/helpers/isAppMode.d.ts +1 -1
- package/dist/helpers/isAppMode.d.ts.map +1 -1
- package/dist/helpers/validateAliasFormat.d.ts +2 -0
- package/dist/helpers/validateAliasFormat.d.ts.map +1 -0
- package/dist/helpers/validateAliasFormat.js +4 -0
- package/dist/hooks/useOutsideClick.d.ts.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +3 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +328 -329
- package/dist/lang/locales/ui_en.json.js +1 -1
- package/dist/lang/locales/ui_es.json.js +9 -9
- package/dist/lang/locales/ui_ru.json.js +9 -9
- package/dist/store/trashModal.d.ts +8 -0
- package/dist/store/trashModal.d.ts.map +1 -0
- package/dist/store/trashModal.js +13 -0
- package/dist/types/storageCategories.d.ts +4 -0
- package/dist/types/storageCategories.d.ts.map +1 -0
- package/dist/types/storageCategories.js +21 -0
- package/dist/utils/formatStorage.d.ts +1 -1
- package/dist/utils/formatStorage.d.ts.map +1 -1
- package/dist/utils/formatStorage.js +3 -3
- package/docs/README.md +17 -4
- package/package.json +1 -1
- package/dist/assets/fileTypes/archives.svg.js +0 -5
- package/dist/assets/fileTypes/audio.svg.js +0 -5
- package/dist/assets/fileTypes/code.svg.js +0 -5
- package/dist/assets/fileTypes/documentsStorage.svg.js +0 -5
- package/dist/assets/fileTypes/images.svg.js +0 -5
- package/dist/assets/fileTypes/other.svg.js +0 -5
- package/dist/assets/fileTypes/videos.svg.js +0 -5
- package/dist/components/AppContainer/hooks/useSetAppContainerLayout.d.ts +0 -3
- package/dist/components/AppContainer/hooks/useSetAppContainerLayout.d.ts.map +0 -1
- package/dist/components/AppContainer/hooks/useSetAppContainerLayout.js +0 -10
- package/dist/components/EmojiPicker/getIconsList.d.ts +0 -8
- package/dist/components/EmojiPicker/getIconsList.d.ts.map +0 -1
- package/dist/components/EmojiPicker/getIconsList.js +0 -32
- package/dist/components/EmojiPicker/getRandomIcon.d.ts +0 -2
- package/dist/components/EmojiPicker/getRandomIcon.d.ts.map +0 -1
- package/dist/components/EmojiPicker/getRandomIcon.js +0 -10
- package/dist/components/NoData/NoData.module.css.js +0 -7
- package/dist/components/PaymentCancel/PaymentCancel.d.ts +0 -2
- package/dist/components/PaymentCancel/PaymentCancel.d.ts.map +0 -1
- package/dist/components/PaymentCancel/PaymentCancel.js +0 -41
- package/dist/components/PaymentError/PaymentError.d.ts +0 -2
- package/dist/components/PaymentError/PaymentError.d.ts.map +0 -1
- package/dist/components/PaymentError/PaymentError.js +0 -41
- package/dist/node_modules/@layers-app/layers/src/api/common.js +0 -41
- package/dist/store/accessOptionsControl.d.ts +0 -17
- package/dist/store/accessOptionsControl.d.ts.map +0 -1
- package/dist/store/accessOptionsControl.js +0 -18
|
@@ -1,70 +1,79 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { jsxs as i, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { HelpCircleIcon as v } from "@hugeicons/core-free-icons";
|
|
3
|
+
import { HugeiconsIcon as g } from "@hugeicons/react";
|
|
4
|
+
import { Stack as x, Flex as l, Text as c, TextInput as y, Loader as w, Box as z, Tooltip as L } from "@mantine/core";
|
|
5
|
+
const H = ({
|
|
6
|
+
form: p,
|
|
5
7
|
label: e,
|
|
6
|
-
disabled:
|
|
7
|
-
localization: { aliasPlaceholder:
|
|
8
|
-
stackProps:
|
|
9
|
-
flexProps:
|
|
10
|
-
textInputProps:
|
|
11
|
-
isCheckingAlias:
|
|
8
|
+
disabled: o,
|
|
9
|
+
localization: { aliasPlaceholder: a },
|
|
10
|
+
stackProps: m,
|
|
11
|
+
flexProps: d,
|
|
12
|
+
textInputProps: s,
|
|
13
|
+
isCheckingAlias: u,
|
|
14
|
+
previewMode: n = !1,
|
|
15
|
+
tooltipLabel: h
|
|
12
16
|
}) => {
|
|
13
|
-
const { error: t, ...
|
|
14
|
-
return /* @__PURE__ */
|
|
15
|
-
e ? typeof e == "string" ? /* @__PURE__ */
|
|
16
|
-
/* @__PURE__ */
|
|
17
|
-
|
|
17
|
+
const { error: t, ...f } = p;
|
|
18
|
+
return /* @__PURE__ */ i(x, { gap: 5, ...m, children: [
|
|
19
|
+
e ? typeof e == "string" ? /* @__PURE__ */ r(c, { fw: 500, fz: "xs", lh: "sm", children: e }) : e : null,
|
|
20
|
+
/* @__PURE__ */ i(
|
|
21
|
+
l,
|
|
18
22
|
{
|
|
19
|
-
|
|
20
|
-
gap:
|
|
21
|
-
...
|
|
23
|
+
px: 12,
|
|
24
|
+
gap: "sm",
|
|
25
|
+
...d,
|
|
22
26
|
style: {
|
|
23
27
|
border: `1px solid ${t ? "var(--mantine-color-error)" : "var(--mantine-color-default-border)"}`,
|
|
24
28
|
borderRadius: "var(--mantine-radius-default)",
|
|
25
|
-
color:
|
|
26
|
-
background:
|
|
27
|
-
opacity:
|
|
28
|
-
|
|
29
|
-
|
|
29
|
+
color: o ? "var(--input-disabled-color)" : void 0,
|
|
30
|
+
background: o ? "var(--mantine-color-disabled)" : void 0,
|
|
31
|
+
opacity: o ? 0.6 : 1,
|
|
32
|
+
overflow: "hidden",
|
|
33
|
+
cursor: o ? "not-allowed" : n ? "pointer" : void 0,
|
|
34
|
+
...d?.style
|
|
30
35
|
},
|
|
31
36
|
children: [
|
|
32
|
-
/* @__PURE__ */
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
) }),
|
|
42
|
-
/* @__PURE__ */ o(
|
|
43
|
-
h,
|
|
44
|
-
{
|
|
45
|
-
w: "100%",
|
|
46
|
-
placeholder: s,
|
|
47
|
-
variant: "unstyled",
|
|
48
|
-
leftSectionWidth: "auto",
|
|
49
|
-
maxLength: 50,
|
|
50
|
-
disabled: r,
|
|
51
|
-
rightSection: m ? /* @__PURE__ */ o(f, { size: 14 }) : void 0,
|
|
52
|
-
...p,
|
|
53
|
-
...a,
|
|
54
|
-
styles: {
|
|
55
|
-
input: {
|
|
56
|
-
cursor: r ? "not-allowed" : void 0
|
|
57
|
-
},
|
|
58
|
-
...a?.styles
|
|
37
|
+
/* @__PURE__ */ i(l, { gap: 0, flex: 1, align: "center", children: [
|
|
38
|
+
/* @__PURE__ */ r(l, { align: "center", children: /* @__PURE__ */ r(
|
|
39
|
+
c,
|
|
40
|
+
{
|
|
41
|
+
fw: 400,
|
|
42
|
+
c: o ? "dimmed" : "gray",
|
|
43
|
+
lh: "sm",
|
|
44
|
+
style: { whiteSpace: "nowrap" },
|
|
45
|
+
children: "app.layers.md/"
|
|
59
46
|
}
|
|
60
|
-
}
|
|
61
|
-
|
|
47
|
+
) }),
|
|
48
|
+
/* @__PURE__ */ r(
|
|
49
|
+
y,
|
|
50
|
+
{
|
|
51
|
+
w: "100%",
|
|
52
|
+
placeholder: a,
|
|
53
|
+
variant: "unstyled",
|
|
54
|
+
leftSectionWidth: "auto",
|
|
55
|
+
maxLength: 50,
|
|
56
|
+
disabled: o,
|
|
57
|
+
rightSection: u ? /* @__PURE__ */ r(w, { size: 14 }) : void 0,
|
|
58
|
+
...f,
|
|
59
|
+
...s,
|
|
60
|
+
styles: {
|
|
61
|
+
input: {
|
|
62
|
+
pointerEvents: n ? "none" : void 0,
|
|
63
|
+
cursor: o ? "not-allowed" : void 0
|
|
64
|
+
},
|
|
65
|
+
...s?.styles
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
)
|
|
69
|
+
] }),
|
|
70
|
+
n && /* @__PURE__ */ r(z, { w: 20, h: 20, children: /* @__PURE__ */ r(L, { label: h || a, children: /* @__PURE__ */ r(g, { size: 20, color: "gray", icon: v }) }) })
|
|
62
71
|
]
|
|
63
72
|
}
|
|
64
73
|
),
|
|
65
|
-
t && /* @__PURE__ */
|
|
74
|
+
t && /* @__PURE__ */ r(c, { fz: "xs", c: "var(--mantine-color-error)", children: t })
|
|
66
75
|
] });
|
|
67
76
|
};
|
|
68
77
|
export {
|
|
69
|
-
|
|
78
|
+
H as AliasTextInput
|
|
70
79
|
};
|
|
@@ -5,7 +5,7 @@ declare global {
|
|
|
5
5
|
preSignMode?: boolean;
|
|
6
6
|
}
|
|
7
7
|
}
|
|
8
|
-
export declare const AppContainer: (({ header, content, toolbar, navbarTitle, footer, onTitleChange, trashMenu, rightbar, onInviteClick, showAppsSidebar, headerBorderless, }: AppContainerProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
8
|
+
export declare const AppContainer: (({ header, content, toolbar, navbarTitle, footer, onTitleChange, trashMenu, rightbar, onInviteClick, showAppsSidebar, headerBorderless, withBg, }: AppContainerProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
9
9
|
NavbarContent: ({ children }: import("react").PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
|
|
10
10
|
NewButton: ({ children, ...props }: import("@mantine/core").PolymorphicComponentProps<"button", import("@mantine/core").ButtonProps>) => import("react/jsx-runtime").JSX.Element;
|
|
11
11
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppContainer.d.ts","sourceRoot":"","sources":["../../../src/components/AppContainer/AppContainer.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AppContainer.d.ts","sourceRoot":"","sources":["../../../src/components/AppContainer/AppContainer.tsx"],"names":[],"mappings":"AAqBA,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAE5C,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,MAAM;QACd,UAAU,CAAC,EAAE,OAAO,CAAC;QACrB,WAAW,CAAC,EAAE,OAAO,CAAC;KACvB;CACF;AA0ED,eAAO,MAAM,YAAY,sJA3DtB,iBAAiB;;;CA8DlB,CAAC"}
|
|
@@ -1,64 +1,67 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { useEffect as
|
|
3
|
-
import { useMantineColorScheme as
|
|
4
|
-
import {
|
|
1
|
+
import { jsxs as r, jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { useEffect as T } from "react";
|
|
3
|
+
import { useMantineColorScheme as j, Stack as B, Flex as D } from "@mantine/core";
|
|
4
|
+
import { isAppMode as H } from "../../helpers/isAppMode.js";
|
|
5
|
+
import { useQueryParam as M } from "../../hooks/useNumberQueryParam.js";
|
|
5
6
|
import { AppShell as e } from "../AppShell/AppShell.js";
|
|
6
|
-
import { AppsSidebar as
|
|
7
|
-
import { Header as
|
|
8
|
-
import { Main as
|
|
9
|
-
import
|
|
10
|
-
import { RightSidebar as
|
|
11
|
-
import { ToolSidebar as
|
|
12
|
-
import { ToolbarNewButton as
|
|
13
|
-
import { appContainerStore as
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
7
|
+
import { AppsSidebar as N } from "./components/AppsSidebar/AppsSidebar.js";
|
|
8
|
+
import { Header as P } from "./components/Header.js";
|
|
9
|
+
import { Main as W } from "./components/Main.js";
|
|
10
|
+
import E from "./components/NavbarContent.js";
|
|
11
|
+
import { RightSidebar as O } from "./components/RightSidebar.js";
|
|
12
|
+
import { ToolSidebar as $ } from "./components/ToolSidebar.js";
|
|
13
|
+
import { ToolbarNewButton as F } from "./components/ToolbarNewButton.js";
|
|
14
|
+
import { appContainerStore as K } from "./hooks/useAppContainerStore.js";
|
|
15
|
+
import { useAppContainerDataStore as Q } from "./hooks/useAppContainerDataStore.js";
|
|
16
|
+
const R = ({
|
|
17
|
+
header: l,
|
|
18
|
+
content: h,
|
|
17
19
|
toolbar: i,
|
|
18
20
|
navbarTitle: d,
|
|
19
21
|
footer: n,
|
|
20
|
-
onTitleChange:
|
|
21
|
-
trashMenu:
|
|
22
|
+
onTitleChange: c,
|
|
23
|
+
trashMenu: f,
|
|
22
24
|
rightbar: m,
|
|
23
|
-
onInviteClick:
|
|
24
|
-
showAppsSidebar:
|
|
25
|
-
headerBorderless:
|
|
25
|
+
onInviteClick: u,
|
|
26
|
+
showAppsSidebar: S = !0,
|
|
27
|
+
headerBorderless: b = !1,
|
|
28
|
+
withBg: x = !1
|
|
26
29
|
}) => {
|
|
27
|
-
const { toolbarWidth:
|
|
28
|
-
|
|
29
|
-
(t === "dark" || t === "light") &&
|
|
30
|
-
}, [t,
|
|
31
|
-
const
|
|
32
|
-
"--toolbar-width": `${
|
|
33
|
-
"--rightbar-width": `${
|
|
34
|
-
},
|
|
35
|
-
return /* @__PURE__ */
|
|
36
|
-
|
|
37
|
-
/* @__PURE__ */
|
|
38
|
-
|
|
39
|
-
/* @__PURE__ */
|
|
40
|
-
|
|
30
|
+
const { toolbarWidth: w, rightbarWidth: C, layout: p } = K.useStore(), g = Q((v) => v.user), a = H(g.mode, "DESKTOP"), { setColorScheme: s } = j(), t = M("theme");
|
|
31
|
+
T(() => {
|
|
32
|
+
!a && (t === "dark" || t === "light") && s(t);
|
|
33
|
+
}, [t, s, a]);
|
|
34
|
+
const A = {
|
|
35
|
+
"--toolbar-width": `${w}px`,
|
|
36
|
+
"--rightbar-width": `${C}px`
|
|
37
|
+
}, y = p !== "nothing", k = p === "default" && i;
|
|
38
|
+
return /* @__PURE__ */ r(e, { style: A, children: [
|
|
39
|
+
S && /* @__PURE__ */ o(e.Section, { w: "var(--apps-sidebar-width)", children: /* @__PURE__ */ o(N, { onInviteClick: u, trashMenu: f }) }),
|
|
40
|
+
/* @__PURE__ */ r(e.Section, { flex: 1, display: "flex", pos: "relative", children: [
|
|
41
|
+
k && /* @__PURE__ */ o($, { onTitleChange: c, navbarTitle: d, children: i }),
|
|
42
|
+
/* @__PURE__ */ r(B, { mih: 0, gap: 0, h: "100%", flex: 2, miw: 0, children: [
|
|
43
|
+
y && /* @__PURE__ */ o(
|
|
41
44
|
e.Header,
|
|
42
45
|
{
|
|
43
46
|
px: "sm",
|
|
44
|
-
style:
|
|
45
|
-
children: /* @__PURE__ */
|
|
47
|
+
style: b ? { borderBottom: "none" } : void 0,
|
|
48
|
+
children: /* @__PURE__ */ o(P, { children: l })
|
|
46
49
|
}
|
|
47
50
|
),
|
|
48
|
-
/* @__PURE__ */
|
|
49
|
-
/* @__PURE__ */
|
|
50
|
-
|
|
51
|
-
n && /* @__PURE__ */
|
|
51
|
+
/* @__PURE__ */ r(D, { mih: 0, gap: 0, h: "100%", children: [
|
|
52
|
+
/* @__PURE__ */ o(e.WorkContent, { children: /* @__PURE__ */ r(W, { withBg: x, children: [
|
|
53
|
+
h,
|
|
54
|
+
n && /* @__PURE__ */ o("footer", { children: n })
|
|
52
55
|
] }) }),
|
|
53
|
-
m && /* @__PURE__ */
|
|
56
|
+
m && /* @__PURE__ */ o(O, { children: m })
|
|
54
57
|
] })
|
|
55
58
|
] })
|
|
56
59
|
] })
|
|
57
60
|
] });
|
|
58
|
-
},
|
|
59
|
-
NavbarContent:
|
|
60
|
-
NewButton:
|
|
61
|
+
}, to = Object.assign(R, {
|
|
62
|
+
NavbarContent: E,
|
|
63
|
+
NewButton: F
|
|
61
64
|
});
|
|
62
65
|
export {
|
|
63
|
-
|
|
66
|
+
to as AppContainer
|
|
64
67
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const t = "
|
|
1
|
+
const t = "_toolTitleInput_14hbr_19", n = "_appSidebarButton_14hbr_34", o = "_slideContainer_14hbr_55", e = "_slideContent_14hbr_61", i = "_main_14hbr_76", s = {
|
|
2
2
|
toolTitleInput: t,
|
|
3
3
|
appSidebarButton: n,
|
|
4
4
|
slideContainer: o,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as r, jsxs as t } from "react/jsx-runtime";
|
|
2
|
-
import { useTranslation as
|
|
2
|
+
import { useTranslation as s } from "react-i18next";
|
|
3
3
|
import { matchPath as m } from "react-router-dom";
|
|
4
4
|
import { More01Icon as d } from "@hugeicons/core-free-icons";
|
|
5
5
|
import { HugeiconsIcon as h } from "@hugeicons/react";
|
|
@@ -9,16 +9,16 @@ import { appContainerStore as g } from "../../hooks/useAppContainerStore.js";
|
|
|
9
9
|
import { AppSidebarButton as n } from "../AppSidebarButton.js";
|
|
10
10
|
import { MoreMenu as w } from "../menus/MoreMenu.js";
|
|
11
11
|
const y = () => {
|
|
12
|
-
const { t: p } =
|
|
12
|
+
const { t: p } = s("appContainer"), { hiddenTools: a } = g.useStore(), { tools: i, publicMode: c } = S();
|
|
13
13
|
return /* @__PURE__ */ r(
|
|
14
14
|
f,
|
|
15
15
|
{
|
|
16
16
|
w: "var(--apps-sidebar-width)",
|
|
17
17
|
style: { borderTop: "1px solid var(--app-shell-border)" },
|
|
18
18
|
py: 8,
|
|
19
|
-
children: /* @__PURE__ */ t(u, { gap:
|
|
19
|
+
children: /* @__PURE__ */ t(u, { gap: 8, align: "center", children: [
|
|
20
20
|
i?.filter((o) => !a.includes(o.id))?.map((o) => {
|
|
21
|
-
const
|
|
21
|
+
const l = !!m(
|
|
22
22
|
{ path: o.path, end: !1 },
|
|
23
23
|
window.location.pathname
|
|
24
24
|
);
|
|
@@ -27,7 +27,7 @@ const y = () => {
|
|
|
27
27
|
{
|
|
28
28
|
title: o.name,
|
|
29
29
|
icon: o.icon(),
|
|
30
|
-
active:
|
|
30
|
+
active: l,
|
|
31
31
|
onClick: o.onClick
|
|
32
32
|
},
|
|
33
33
|
o.id
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserSection.d.ts","sourceRoot":"","sources":["../../../../../src/components/AppContainer/components/AppsSidebar/UserSection.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"UserSection.d.ts","sourceRoot":"","sources":["../../../../../src/components/AppContainer/components/AppsSidebar/UserSection.tsx"],"names":[],"mappings":"AAsBA,eAAO,MAAM,WAAW,GAAI,+BAGzB;IACD,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;CAC5B,4CAyFA,CAAC"}
|
|
@@ -1,21 +1,22 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { useTranslation as
|
|
3
|
-
import { Link as
|
|
1
|
+
import { jsxs as r, jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { useTranslation as M } from "react-i18next";
|
|
3
|
+
import { Link as T } from "react-router-dom";
|
|
4
4
|
import { Delete03Icon as w, UserAdd02Icon as I, HelpCircleIcon as b } from "@hugeicons/core-free-icons";
|
|
5
|
-
import { HugeiconsIcon as
|
|
6
|
-
import { Stack as
|
|
7
|
-
import { IconUserCircle as
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
|
|
13
|
-
|
|
5
|
+
import { HugeiconsIcon as s } from "@hugeicons/react";
|
|
6
|
+
import { Stack as p, Menu as e, Tooltip as x, ActionIcon as z } from "@mantine/core";
|
|
7
|
+
import { IconUserCircle as A } from "@tabler/icons-react";
|
|
8
|
+
import { useTrashModalStore as C, openTrashModal as D, closeTrashModal as S } from "../../../../store/trashModal.js";
|
|
9
|
+
import { useAppContainerDataStore as U } from "../../hooks/useAppContainerDataStore.js";
|
|
10
|
+
import { AppSidebarButton as l } from "../AppSidebarButton.js";
|
|
11
|
+
import { HelpMenu as j } from "../menus/HelpMenu/HelpMenu.js";
|
|
12
|
+
import { MenuUserDropdown as v } from "../menus/UserMenu/MenuUserDropdown.js";
|
|
13
|
+
const N = ({
|
|
14
|
+
trashMenu: m,
|
|
14
15
|
onInviteClick: c
|
|
15
16
|
}) => {
|
|
16
|
-
const { t:
|
|
17
|
-
return /* @__PURE__ */
|
|
18
|
-
|
|
17
|
+
const { t: i } = M("appContainer"), { user: d, isAnonym: n, userMenuItems: f, publicMode: g } = U(), u = C((t) => t.opened), a = !n && !g && d.role !== "mG", h = !n && c;
|
|
18
|
+
return /* @__PURE__ */ r(
|
|
19
|
+
p,
|
|
19
20
|
{
|
|
20
21
|
style: { borderTop: "1px solid var(--app-shell-border)" },
|
|
21
22
|
flex: 1,
|
|
@@ -23,51 +24,63 @@ const q = ({
|
|
|
23
24
|
gap: 16,
|
|
24
25
|
align: "center",
|
|
25
26
|
children: [
|
|
26
|
-
/* @__PURE__ */
|
|
27
|
-
|
|
27
|
+
/* @__PURE__ */ r(
|
|
28
|
+
p,
|
|
28
29
|
{
|
|
29
|
-
justify: !
|
|
30
|
+
justify: !a && !h ? "end" : "space-between",
|
|
30
31
|
gap: 8,
|
|
31
32
|
flex: 1,
|
|
32
33
|
children: [
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
a && /* @__PURE__ */ r(
|
|
35
|
+
e,
|
|
36
|
+
{
|
|
37
|
+
position: "right",
|
|
38
|
+
offset: 6,
|
|
39
|
+
width: 360,
|
|
40
|
+
opened: u,
|
|
41
|
+
onChange: (t) => {
|
|
42
|
+
t ? D() : S();
|
|
43
|
+
},
|
|
44
|
+
children: [
|
|
45
|
+
/* @__PURE__ */ o(e.Target, { children: /* @__PURE__ */ o(
|
|
46
|
+
l,
|
|
47
|
+
{
|
|
48
|
+
title: i("trash"),
|
|
49
|
+
icon: /* @__PURE__ */ o(s, { icon: w, size: 20 })
|
|
50
|
+
}
|
|
51
|
+
) }),
|
|
52
|
+
/* @__PURE__ */ o(e.Dropdown, { children: m })
|
|
53
|
+
]
|
|
54
|
+
}
|
|
55
|
+
),
|
|
56
|
+
/* @__PURE__ */ r(p, { gap: 8, children: [
|
|
57
|
+
h && /* @__PURE__ */ o(
|
|
58
|
+
l,
|
|
36
59
|
{
|
|
37
|
-
title:
|
|
38
|
-
icon: /* @__PURE__ */ o(
|
|
39
|
-
}
|
|
40
|
-
) }),
|
|
41
|
-
/* @__PURE__ */ o(e.Dropdown, { children: h })
|
|
42
|
-
] }),
|
|
43
|
-
/* @__PURE__ */ i(s, { gap: 8, children: [
|
|
44
|
-
m && /* @__PURE__ */ o(
|
|
45
|
-
p,
|
|
46
|
-
{
|
|
47
|
-
title: r("invite"),
|
|
48
|
-
icon: /* @__PURE__ */ o(t, { icon: I, size: 20 }),
|
|
60
|
+
title: i("invite"),
|
|
61
|
+
icon: /* @__PURE__ */ o(s, { icon: I, size: 20 }),
|
|
49
62
|
onClick: c
|
|
50
63
|
}
|
|
51
64
|
),
|
|
52
|
-
/* @__PURE__ */
|
|
65
|
+
/* @__PURE__ */ r(e, { position: "right-end", offset: 6, width: 260, children: [
|
|
53
66
|
/* @__PURE__ */ o(e.Target, { children: /* @__PURE__ */ o(
|
|
54
|
-
|
|
67
|
+
l,
|
|
55
68
|
{
|
|
56
|
-
title:
|
|
57
|
-
icon: /* @__PURE__ */ o(
|
|
69
|
+
title: i("help"),
|
|
70
|
+
icon: /* @__PURE__ */ o(s, { icon: b, size: 20 })
|
|
58
71
|
}
|
|
59
72
|
) }),
|
|
60
|
-
/* @__PURE__ */ o(e.Dropdown, { children: /* @__PURE__ */ o(
|
|
73
|
+
/* @__PURE__ */ o(e.Dropdown, { children: /* @__PURE__ */ o(j, {}) })
|
|
61
74
|
] })
|
|
62
75
|
] })
|
|
63
76
|
]
|
|
64
77
|
}
|
|
65
78
|
),
|
|
66
|
-
n ? /* @__PURE__ */ o(
|
|
67
|
-
|
|
79
|
+
n ? /* @__PURE__ */ o(T, { to: "/login", children: /* @__PURE__ */ o(x, { label: "Log in", position: "right", children: /* @__PURE__ */ o(z, { size: "lg", variant: "light", children: /* @__PURE__ */ o(A, { size: 20 }) }) }) }) : /* @__PURE__ */ o(
|
|
80
|
+
v,
|
|
68
81
|
{
|
|
69
|
-
user:
|
|
70
|
-
menuItems:
|
|
82
|
+
user: d,
|
|
83
|
+
menuItems: f,
|
|
71
84
|
position: "right-end"
|
|
72
85
|
}
|
|
73
86
|
)
|
|
@@ -76,5 +89,5 @@ const q = ({
|
|
|
76
89
|
);
|
|
77
90
|
};
|
|
78
91
|
export {
|
|
79
|
-
|
|
92
|
+
N as UserSection
|
|
80
93
|
};
|
|
@@ -1,3 +1,7 @@
|
|
|
1
1
|
import { PropsWithChildren } from 'react';
|
|
2
|
-
|
|
2
|
+
type MainProps = PropsWithChildren<{
|
|
3
|
+
withBg?: boolean;
|
|
4
|
+
}>;
|
|
5
|
+
export declare const Main: ({ children, withBg }: MainProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export {};
|
|
3
7
|
//# sourceMappingURL=Main.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Main.d.ts","sourceRoot":"","sources":["../../../../src/components/AppContainer/components/Main.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAM1C,eAAO,MAAM,IAAI,GAAI,
|
|
1
|
+
{"version":3,"file":"Main.d.ts","sourceRoot":"","sources":["../../../../src/components/AppContainer/components/Main.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAM1C,KAAK,SAAS,GAAG,iBAAiB,CAAC;IACjC,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC,CAAC;AAEH,eAAO,MAAM,IAAI,GAAI,sBAA8B,SAAS,4CAiB3D,CAAC"}
|
|
@@ -1,14 +1,17 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { appContainerStore as
|
|
3
|
-
import
|
|
4
|
-
const p = ({ children: o }) => {
|
|
5
|
-
const
|
|
6
|
-
return /* @__PURE__ */
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { appContainerStore as n } from "../hooks/useAppContainerStore.js";
|
|
3
|
+
import s from "../AppContainer.module.css.js";
|
|
4
|
+
const p = ({ children: o, withBg: r = !1 }) => {
|
|
5
|
+
const a = n.useStore((t) => t.showToolbar);
|
|
6
|
+
return /* @__PURE__ */ e(
|
|
7
7
|
"main",
|
|
8
8
|
{
|
|
9
|
-
className:
|
|
10
|
-
"data-tool-sidebar-opened":
|
|
9
|
+
className: s.main,
|
|
10
|
+
"data-tool-sidebar-opened": a,
|
|
11
11
|
"data-app-container": !0,
|
|
12
|
+
style: {
|
|
13
|
+
backgroundColor: r ? "light-dark(var(--mantine-color-gray-1), var(--mantine-color-dark-5))" : "unset"
|
|
14
|
+
},
|
|
12
15
|
children: o
|
|
13
16
|
}
|
|
14
17
|
);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HelpMenu.d.ts","sourceRoot":"","sources":["../../../../../../src/components/AppContainer/components/menus/HelpMenu/HelpMenu.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"HelpMenu.d.ts","sourceRoot":"","sources":["../../../../../../src/components/AppContainer/components/menus/HelpMenu/HelpMenu.tsx"],"names":[],"mappings":"AAkBA,eAAO,MAAM,QAAQ,+CAuHpB,CAAC"}
|
|
@@ -1,25 +1,40 @@
|
|
|
1
1
|
import { jsxs as o, jsx as e, Fragment as d } from "react/jsx-runtime";
|
|
2
2
|
import { useTranslation as g } from "react-i18next";
|
|
3
|
-
import { DiscountTag02Icon as f, CustomerSupportIcon as u, Layers01Icon as S, BookOpen01Icon as
|
|
3
|
+
import { DiscountTag02Icon as f, CustomerSupportIcon as u, Layers01Icon as S, BookOpen01Icon as b, LicenseIcon as I } from "@hugeicons/core-free-icons";
|
|
4
4
|
import { HugeiconsIcon as n } from "@hugeicons/react";
|
|
5
|
-
import { Stack as
|
|
6
|
-
import
|
|
5
|
+
import { Stack as w, Button as r, Menu as i, Text as v } from "@mantine/core";
|
|
6
|
+
import k from "../../../../../assets/svg/discord-icon.svg.js";
|
|
7
7
|
import y from "../../../../../assets/svg/telegram-icon.svg.js";
|
|
8
|
-
import
|
|
9
|
-
import {
|
|
10
|
-
|
|
8
|
+
import D from "../../../../../assets/svg/whatsapp-icon.svg.js";
|
|
9
|
+
import { useAppContainerDataStore as z } from "../../../hooks/useAppContainerDataStore.js";
|
|
10
|
+
import { WhatsNew as j } from "./WhatsNew.js";
|
|
11
|
+
const B = () => {
|
|
11
12
|
const { t } = g("helpMenu"), {
|
|
12
|
-
showMessenger:
|
|
13
|
+
showMessenger: s,
|
|
13
14
|
showNewMessage: a,
|
|
14
15
|
version: m,
|
|
15
16
|
updatedAt: l,
|
|
16
17
|
privacyPolicyLink: p,
|
|
17
18
|
userAgreementLink: h,
|
|
18
19
|
whatsNewItems: c
|
|
19
|
-
} =
|
|
20
|
-
return /* @__PURE__ */ o(
|
|
20
|
+
} = z();
|
|
21
|
+
return /* @__PURE__ */ o(w, { gap: 6, p: 4, children: [
|
|
21
22
|
/* @__PURE__ */ e(
|
|
22
|
-
|
|
23
|
+
r,
|
|
24
|
+
{
|
|
25
|
+
component: "a",
|
|
26
|
+
href: "https://wa.me/37378291264",
|
|
27
|
+
target: "_blank",
|
|
28
|
+
bg: "#00C000",
|
|
29
|
+
leftSection: /* @__PURE__ */ e(D, { width: 16, height: 16 }),
|
|
30
|
+
c: "white",
|
|
31
|
+
size: "sm",
|
|
32
|
+
justify: "flex-start",
|
|
33
|
+
children: t("joinWhatsApp")
|
|
34
|
+
}
|
|
35
|
+
),
|
|
36
|
+
/* @__PURE__ */ e(
|
|
37
|
+
r,
|
|
23
38
|
{
|
|
24
39
|
component: "a",
|
|
25
40
|
href: "https://t.me/layers_app",
|
|
@@ -33,13 +48,13 @@ const P = () => {
|
|
|
33
48
|
}
|
|
34
49
|
),
|
|
35
50
|
/* @__PURE__ */ e(
|
|
36
|
-
|
|
51
|
+
r,
|
|
37
52
|
{
|
|
38
53
|
component: "a",
|
|
39
54
|
href: "https://discord.gg/mEd2PbchRD",
|
|
40
55
|
target: "_blank",
|
|
41
56
|
bg: "indigo.5",
|
|
42
|
-
leftSection: /* @__PURE__ */ e(
|
|
57
|
+
leftSection: /* @__PURE__ */ e(k, { width: 16, height: 16 }),
|
|
43
58
|
c: "white",
|
|
44
59
|
size: "sm",
|
|
45
60
|
justify: "flex-start",
|
|
@@ -51,7 +66,7 @@ const P = () => {
|
|
|
51
66
|
i.Item,
|
|
52
67
|
{
|
|
53
68
|
onClick: () => {
|
|
54
|
-
|
|
69
|
+
s(), a(t("contactSalesMessage"));
|
|
55
70
|
},
|
|
56
71
|
leftSection: /* @__PURE__ */ e(n, { icon: f, size: 16 }),
|
|
57
72
|
children: t("contactSales")
|
|
@@ -60,7 +75,7 @@ const P = () => {
|
|
|
60
75
|
/* @__PURE__ */ e(
|
|
61
76
|
i.Item,
|
|
62
77
|
{
|
|
63
|
-
onClick:
|
|
78
|
+
onClick: s,
|
|
64
79
|
leftSection: /* @__PURE__ */ e(n, { icon: u, size: 16 }),
|
|
65
80
|
children: t("getSupport")
|
|
66
81
|
}
|
|
@@ -83,7 +98,7 @@ const P = () => {
|
|
|
83
98
|
component: "a",
|
|
84
99
|
target: "_blank",
|
|
85
100
|
href: h,
|
|
86
|
-
leftSection: /* @__PURE__ */ e(n, { icon:
|
|
101
|
+
leftSection: /* @__PURE__ */ e(n, { icon: b, size: 16 }),
|
|
87
102
|
children: t("userAgreement")
|
|
88
103
|
}
|
|
89
104
|
),
|
|
@@ -94,16 +109,16 @@ const P = () => {
|
|
|
94
109
|
component: "a",
|
|
95
110
|
target: "_blank",
|
|
96
111
|
href: p,
|
|
97
|
-
leftSection: /* @__PURE__ */ e(n, { icon:
|
|
112
|
+
leftSection: /* @__PURE__ */ e(n, { icon: I, size: 16 }),
|
|
98
113
|
children: t("termsAndPrivacy")
|
|
99
114
|
}
|
|
100
115
|
),
|
|
101
116
|
/* @__PURE__ */ e(i.Divider, {}),
|
|
102
117
|
!!c?.length && /* @__PURE__ */ o(d, { children: [
|
|
103
|
-
/* @__PURE__ */ e(
|
|
118
|
+
/* @__PURE__ */ e(j, { items: c }),
|
|
104
119
|
/* @__PURE__ */ e(i.Divider, {})
|
|
105
120
|
] }),
|
|
106
|
-
/* @__PURE__ */ o(
|
|
121
|
+
/* @__PURE__ */ o(v, { size: "xs", c: "dimmed", children: [
|
|
107
122
|
t("updated"),
|
|
108
123
|
" ",
|
|
109
124
|
l,
|
|
@@ -118,5 +133,5 @@ const P = () => {
|
|
|
118
133
|
] });
|
|
119
134
|
};
|
|
120
135
|
export {
|
|
121
|
-
|
|
136
|
+
B as HelpMenu
|
|
122
137
|
};
|