@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,71 +1,72 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
1
|
+
import { jsxs as l, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import u from "react";
|
|
3
|
+
import { Stack as N, Flex as d, Title as h, Text as j, Group as x, Button as y } from "@mantine/core";
|
|
4
|
+
import F from "../../assets/svg/alertMan.svg.js";
|
|
5
|
+
import R from "../../assets/svg/noData/404.svg.js";
|
|
6
|
+
import M from "../../assets/svg/noData/500.svg.js";
|
|
7
|
+
import k from "../../assets/svg/noData/empty.svg.js";
|
|
8
|
+
import w from "../../assets/svg/noData/folder.svg.js";
|
|
9
|
+
import E from "../../assets/svg/noData/noAccess.svg.js";
|
|
10
|
+
import T from "../../assets/svg/noData/noAnswers.svg.js";
|
|
11
|
+
import I from "../../assets/svg/noData/noCloud.svg.js";
|
|
12
|
+
import A from "../../assets/svg/noData/noComments.svg.js";
|
|
13
|
+
import C from "../../assets/svg/noData/noData.svg.js";
|
|
13
14
|
import D from "../../assets/svg/noData/noFlows.svg.js";
|
|
14
|
-
import
|
|
15
|
-
import
|
|
15
|
+
import G from "../../assets/svg/noData/noForms.svg.js";
|
|
16
|
+
import _ from "../../assets/svg/noData/noGroups.svg.js";
|
|
16
17
|
import W from "../../assets/svg/noData/noImage.svg.js";
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import
|
|
21
|
-
import
|
|
22
|
-
import
|
|
23
|
-
import
|
|
24
|
-
import
|
|
25
|
-
import
|
|
26
|
-
import
|
|
27
|
-
import
|
|
28
|
-
const
|
|
29
|
-
empty:
|
|
30
|
-
noAccess:
|
|
31
|
-
trash:
|
|
18
|
+
import b from "../../assets/svg/noData/noMembers.svg.js";
|
|
19
|
+
import B from "../../assets/svg/noData/noNotifications.svg.js";
|
|
20
|
+
import P from "../../assets/svg/noData/noResults.svg.js";
|
|
21
|
+
import U from "../../assets/svg/noData/noSearchResults.svg.js";
|
|
22
|
+
import V from "../../assets/svg/noData/noTaskResults.svg.js";
|
|
23
|
+
import q from "../../assets/svg/noData/noTasks.svg.js";
|
|
24
|
+
import z from "../../assets/svg/noData/noWorkspaces.svg.js";
|
|
25
|
+
import H from "../../assets/svg/noData/trash.svg.js";
|
|
26
|
+
import J from "../../assets/svg/notSuccessMan.svg.js";
|
|
27
|
+
import K from "../../assets/svg/successMan.svg.js";
|
|
28
|
+
import L from "../../assets/svg/users.svg.js";
|
|
29
|
+
const O = (m) => new RegExp("(\\p{Emoji_Presentation}|\\p{Emoji}\\uFE0F)", "u").test(m), Q = {
|
|
30
|
+
empty: k,
|
|
31
|
+
noAccess: E,
|
|
32
|
+
trash: H,
|
|
32
33
|
noImage: W,
|
|
33
|
-
noResults:
|
|
34
|
-
noComments:
|
|
35
|
-
noData:
|
|
36
|
-
emptyFolder:
|
|
37
|
-
noTaskResults:
|
|
38
|
-
noSearchResults:
|
|
39
|
-
noMembers:
|
|
40
|
-
noGroups:
|
|
41
|
-
noNotifications:
|
|
42
|
-
noWorkspaces:
|
|
43
|
-
paymentSuccess:
|
|
44
|
-
notSuccessMan:
|
|
45
|
-
noAnswers:
|
|
46
|
-
alertMan:
|
|
34
|
+
noResults: P,
|
|
35
|
+
noComments: A,
|
|
36
|
+
noData: C,
|
|
37
|
+
emptyFolder: w,
|
|
38
|
+
noTaskResults: V,
|
|
39
|
+
noSearchResults: U,
|
|
40
|
+
noMembers: b,
|
|
41
|
+
noGroups: _,
|
|
42
|
+
noNotifications: B,
|
|
43
|
+
noWorkspaces: z,
|
|
44
|
+
paymentSuccess: K,
|
|
45
|
+
notSuccessMan: J,
|
|
46
|
+
noAnswers: T,
|
|
47
|
+
alertMan: F,
|
|
47
48
|
noFlows: D,
|
|
48
|
-
noTasks:
|
|
49
|
-
noCloud:
|
|
50
|
-
noForms:
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
49
|
+
noTasks: q,
|
|
50
|
+
noCloud: I,
|
|
51
|
+
noForms: G,
|
|
52
|
+
users: L,
|
|
53
|
+
404: R,
|
|
54
|
+
500: M
|
|
55
|
+
}, Mo = ({
|
|
54
56
|
title: m,
|
|
55
|
-
titleProps:
|
|
57
|
+
titleProps: t,
|
|
56
58
|
description: s,
|
|
57
|
-
descriptionProps:
|
|
59
|
+
descriptionProps: a,
|
|
58
60
|
buttons: n,
|
|
59
|
-
illustration:
|
|
60
|
-
size:
|
|
61
|
-
width:
|
|
62
|
-
height:
|
|
63
|
-
|
|
64
|
-
...v
|
|
61
|
+
illustration: o,
|
|
62
|
+
size: e = 145,
|
|
63
|
+
width: c,
|
|
64
|
+
height: f,
|
|
65
|
+
...g
|
|
65
66
|
}) => {
|
|
66
|
-
const i =
|
|
67
|
-
return /* @__PURE__ */
|
|
68
|
-
|
|
67
|
+
const i = o && typeof o == "string" && O(o) || o && u.isValidElement(o), p = o && !i ? Q[o] : null;
|
|
68
|
+
return /* @__PURE__ */ l(
|
|
69
|
+
N,
|
|
69
70
|
{
|
|
70
71
|
gap: "sm",
|
|
71
72
|
justify: "center",
|
|
@@ -75,29 +76,28 @@ const V = (m) => new RegExp("(\\p{Emoji_Presentation}|\\p{Emoji}\\uFE0F)", "u").
|
|
|
75
76
|
style: {
|
|
76
77
|
zIndex: 3
|
|
77
78
|
},
|
|
78
|
-
...
|
|
79
|
+
...g,
|
|
79
80
|
children: [
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
j,
|
|
81
|
+
o && /* @__PURE__ */ r(
|
|
82
|
+
d,
|
|
83
83
|
{
|
|
84
84
|
justify: "center",
|
|
85
85
|
style: {
|
|
86
|
-
height:
|
|
87
|
-
width:
|
|
88
|
-
fontSize:
|
|
86
|
+
height: f || e,
|
|
87
|
+
width: c || e,
|
|
88
|
+
fontSize: e
|
|
89
89
|
},
|
|
90
|
-
children: i ? /* @__PURE__ */
|
|
90
|
+
children: i ? /* @__PURE__ */ r("span", { children: o }) : p && /* @__PURE__ */ r(p, {})
|
|
91
91
|
}
|
|
92
92
|
),
|
|
93
|
-
m && /* @__PURE__ */
|
|
94
|
-
s && /* @__PURE__ */
|
|
95
|
-
n?.length ? /* @__PURE__ */
|
|
93
|
+
m && /* @__PURE__ */ r(h, { order: 2, ta: "center", mt: 0, maw: 450, ...t, children: m }),
|
|
94
|
+
s && /* @__PURE__ */ r(j, { ta: "center", c: "dimmed", maw: 400, ...a, children: s }),
|
|
95
|
+
n?.length ? /* @__PURE__ */ r(x, { gap: "xs", justify: "center", children: n.map((S, v) => /* @__PURE__ */ r(y, { variant: "filled", ...S }, v)) }) : null
|
|
96
96
|
]
|
|
97
97
|
}
|
|
98
98
|
);
|
|
99
99
|
};
|
|
100
100
|
export {
|
|
101
|
-
|
|
102
|
-
|
|
101
|
+
Mo as NoData,
|
|
102
|
+
Q as illustrationMap
|
|
103
103
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as r, jsxs as o } from "react/jsx-runtime";
|
|
2
2
|
import { Fragment as v } from "react";
|
|
3
3
|
import { useTranslation as x } from "react-i18next";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
4
|
+
import { Flex as e, Avatar as i, Text as a, Divider as c, Box as b, Group as L, Button as k, Input as A, ActionIcon as B } from "@mantine/core";
|
|
5
|
+
import { IconList as S, IconLayoutCards as y, IconLayoutSidebarLeftCollapse as j, IconBell as C, IconListSearch as F, IconFileText as D, IconCheckbox as N, IconGitMerge as V, IconDotsCircleHorizontal as E, IconSettings2 as G, IconHelp as T, IconListDetails as H, IconSearch as P, IconPlus as J } from "@tabler/icons-react";
|
|
6
|
+
import { useOnboardingState as K } from "../../store/onboarding.js";
|
|
7
7
|
import M from "../../assets/images/person2.png.js";
|
|
8
8
|
import O from "../../assets/images/person3.png.js";
|
|
9
9
|
import $ from "../../assets/images/person4.png.js";
|
|
@@ -12,16 +12,16 @@ import l from "./styles.module.css.js";
|
|
|
12
12
|
const q = [
|
|
13
13
|
{
|
|
14
14
|
value: "list",
|
|
15
|
-
Icon:
|
|
15
|
+
Icon: S,
|
|
16
16
|
link: "sprintList"
|
|
17
17
|
},
|
|
18
18
|
{
|
|
19
19
|
value: "kanban",
|
|
20
|
-
Icon:
|
|
20
|
+
Icon: y,
|
|
21
21
|
link: "sprintKanban"
|
|
22
22
|
}
|
|
23
23
|
], ir = ({ children: m }) => {
|
|
24
|
-
const { projectName: p, step: d, layoutView: h, setLayoutView: f } =
|
|
24
|
+
const { projectName: p, step: d, layoutView: h, setLayoutView: f } = K(), { t: u } = x("onboarding"), z = q.map((t) => ({
|
|
25
25
|
...t,
|
|
26
26
|
title: u(`sprintView.${t.value}`)
|
|
27
27
|
}));
|
|
@@ -57,33 +57,33 @@ const q = [
|
|
|
57
57
|
children: /* @__PURE__ */ r(a, { fz: 12, fw: 700, children: "AV" })
|
|
58
58
|
}
|
|
59
59
|
),
|
|
60
|
+
/* @__PURE__ */ r(j, { color: "#495057", size: 20 }),
|
|
60
61
|
/* @__PURE__ */ r(C, { color: "#495057", size: 20 }),
|
|
61
|
-
/* @__PURE__ */ r(F, { color: "#495057", size: 20 }),
|
|
62
62
|
/* @__PURE__ */ r(c, { w: "100%" }),
|
|
63
|
+
/* @__PURE__ */ r(F, { color: "#495057", size: 20 }),
|
|
63
64
|
/* @__PURE__ */ r(D, { color: "#495057", size: 20 }),
|
|
64
65
|
/* @__PURE__ */ r(N, { color: "#495057", size: 20 }),
|
|
65
66
|
/* @__PURE__ */ r(V, { color: "#495057", size: 20 }),
|
|
66
|
-
/* @__PURE__ */ r(E, { color: "#495057", size: 20 })
|
|
67
|
-
/* @__PURE__ */ r(G, { color: "#495057", size: 20 })
|
|
67
|
+
/* @__PURE__ */ r(E, { color: "#495057", size: 20 })
|
|
68
68
|
] }),
|
|
69
69
|
/* @__PURE__ */ o(e, { gap: 16, flex: 1, h: "100%", w: "100%", direction: "column", children: [
|
|
70
70
|
/* @__PURE__ */ r(c, { w: "100%" }),
|
|
71
|
+
/* @__PURE__ */ r(G, { color: "#495057", size: 20 }),
|
|
71
72
|
/* @__PURE__ */ r(T, { color: "#495057", size: 20 }),
|
|
72
|
-
/* @__PURE__ */ r(H, { color: "#495057", size: 20 }),
|
|
73
73
|
/* @__PURE__ */ r(i, { src: s, size: 24, alt: "John Doe" })
|
|
74
74
|
] })
|
|
75
75
|
]
|
|
76
76
|
}
|
|
77
77
|
),
|
|
78
|
-
/* @__PURE__ */ o(
|
|
78
|
+
/* @__PURE__ */ o(b, { w: "100%", h: "100%", children: [
|
|
79
79
|
/* @__PURE__ */ o(e, { mb: 24, gap: 36, h: 32, align: "center", children: [
|
|
80
80
|
/* @__PURE__ */ o(e, { h: "100%", pl: 12, children: [
|
|
81
|
-
/* @__PURE__ */ r(
|
|
81
|
+
/* @__PURE__ */ r(H, { size: 16, color: "#228BE6" }),
|
|
82
82
|
/* @__PURE__ */ r(a, { fz: 14, fw: 400, children: p })
|
|
83
83
|
] }),
|
|
84
|
-
/* @__PURE__ */ r(
|
|
84
|
+
/* @__PURE__ */ r(L, { gap: 4, align: "center", wrap: "nowrap", children: z.map(({ title: t, Icon: w, value: n }, I, g) => /* @__PURE__ */ o(v, { children: [
|
|
85
85
|
/* @__PURE__ */ r(
|
|
86
|
-
|
|
86
|
+
k,
|
|
87
87
|
{
|
|
88
88
|
className: l.button,
|
|
89
89
|
variant: "subtle",
|
|
@@ -102,11 +102,11 @@ const q = [
|
|
|
102
102
|
/* @__PURE__ */ o(e, { direction: "column", w: "100%", gap: 14, children: [
|
|
103
103
|
/* @__PURE__ */ o(e, { gap: 0, w: "100%", align: "center", justify: "flex-start", children: [
|
|
104
104
|
/* @__PURE__ */ r(
|
|
105
|
-
|
|
105
|
+
A,
|
|
106
106
|
{
|
|
107
107
|
w: 391,
|
|
108
108
|
height: 32,
|
|
109
|
-
leftSection: /* @__PURE__ */ r(
|
|
109
|
+
leftSection: /* @__PURE__ */ r(P, { color: "#495057", size: 16 }),
|
|
110
110
|
placeholder: "Search tasks...",
|
|
111
111
|
mr: 24
|
|
112
112
|
}
|
|
@@ -127,7 +127,7 @@ const q = [
|
|
|
127
127
|
/* @__PURE__ */ r(i, { size: 36, src: $ }),
|
|
128
128
|
/* @__PURE__ */ r(i, { size: 36, children: "+1" })
|
|
129
129
|
] }),
|
|
130
|
-
/* @__PURE__ */ r(
|
|
130
|
+
/* @__PURE__ */ r(B, { size: 36, radius: "xl", color: "#F8F9FA", children: /* @__PURE__ */ r(J, { color: "#495057" }) })
|
|
131
131
|
] }),
|
|
132
132
|
m
|
|
133
133
|
] })
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useTranslation as d } from "react-i18next";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
3
|
+
import { Flex as m, TextInput as u } from "@mantine/core";
|
|
4
|
+
import { IconCheckbox as x } from "@tabler/icons-react";
|
|
5
|
+
import { useOnboardingState as T } from "../../../../store/onboarding.js";
|
|
6
6
|
import f from "../Wrapper.js";
|
|
7
7
|
const b = () => {
|
|
8
|
-
const { nextStep: n, prevStep: i, tasksList: a, setTasksList: s } =
|
|
8
|
+
const { nextStep: n, prevStep: i, tasksList: a, setTasksList: s } = T(), { t } = d("onboarding");
|
|
9
9
|
return /* @__PURE__ */ e(
|
|
10
10
|
f,
|
|
11
11
|
{
|
|
@@ -19,10 +19,10 @@ const b = () => {
|
|
|
19
19
|
prevButtonProps: {
|
|
20
20
|
onClick: () => i()
|
|
21
21
|
},
|
|
22
|
-
children: /* @__PURE__ */ e(
|
|
23
|
-
|
|
22
|
+
children: /* @__PURE__ */ e(m, { align: "start", direction: "column", w: "100%", gap: 8, children: a.map((o, p, l) => /* @__PURE__ */ e(
|
|
23
|
+
u,
|
|
24
24
|
{
|
|
25
|
-
leftSection: /* @__PURE__ */ e(
|
|
25
|
+
leftSection: /* @__PURE__ */ e(x, { size: 16, color: "#000000" }),
|
|
26
26
|
w: "100%",
|
|
27
27
|
variant: "default",
|
|
28
28
|
placeholder: "Task name",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TasksListBoard.d.ts","sourceRoot":"","sources":["../../../../../src/components/OnBoarding/steps/AddTasks/TasksListBoard.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TasksListBoard.d.ts","sourceRoot":"","sources":["../../../../../src/components/OnBoarding/steps/AddTasks/TasksListBoard.tsx"],"names":[],"mappings":"AAQA,QAAA,MAAM,cAAc,+CA0DnB,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
2
2
|
import { useTranslation as p } from "react-i18next";
|
|
3
|
-
import {
|
|
4
|
-
import { Flex as i, Text as s, Divider as f, ActionIcon as g } from "@mantine/core";
|
|
3
|
+
import { Flex as i, Text as s, Divider as u, ActionIcon as f } from "@mantine/core";
|
|
5
4
|
import { randomId as c } from "@mantine/hooks";
|
|
6
|
-
import { IconCheck as
|
|
5
|
+
import { IconCheck as g, IconBug as y, IconSquareRotated as h } from "@tabler/icons-react";
|
|
6
|
+
import { useOnboardingState as w } from "../../../../store/onboarding.js";
|
|
7
7
|
const j = () => {
|
|
8
|
-
const { tasksList: l } =
|
|
8
|
+
const { tasksList: l } = w(), { t: r } = p("onboarding"), a = [
|
|
9
9
|
{
|
|
10
10
|
id: c(),
|
|
11
11
|
color: "blue",
|
|
12
|
-
icon:
|
|
12
|
+
icon: g,
|
|
13
13
|
name: r("selectCategory.options.task"),
|
|
14
14
|
type: "task",
|
|
15
15
|
order: 1
|
|
@@ -17,7 +17,7 @@ const j = () => {
|
|
|
17
17
|
{
|
|
18
18
|
id: c(),
|
|
19
19
|
color: "orange",
|
|
20
|
-
icon:
|
|
20
|
+
icon: y,
|
|
21
21
|
name: r("selectCategory.options.bug"),
|
|
22
22
|
type: "bug",
|
|
23
23
|
order: 2
|
|
@@ -25,14 +25,14 @@ const j = () => {
|
|
|
25
25
|
{
|
|
26
26
|
id: c(),
|
|
27
27
|
color: "grape",
|
|
28
|
-
icon:
|
|
28
|
+
icon: h,
|
|
29
29
|
name: r("selectCategory.options.milestone"),
|
|
30
30
|
type: "milestone",
|
|
31
31
|
order: 3
|
|
32
32
|
}
|
|
33
33
|
], d = (o) => {
|
|
34
34
|
const e = a.find((m) => m.type === o);
|
|
35
|
-
return e ? /* @__PURE__ */ t(
|
|
35
|
+
return e ? /* @__PURE__ */ t(f, { size: 16, variant: "filled", color: e.color, children: /* @__PURE__ */ t(e.icon, {}) }) : null;
|
|
36
36
|
};
|
|
37
37
|
return /* @__PURE__ */ t(i, { pl: 38, direction: "column", align: "start", w: "100%", children: l.map((o, e) => /* @__PURE__ */ n(i, { w: "100%", direction: "column", children: [
|
|
38
38
|
/* @__PURE__ */ n(i, { w: "100%", align: "center", justify: "start", children: [
|
|
@@ -43,7 +43,7 @@ const j = () => {
|
|
|
43
43
|
] }),
|
|
44
44
|
/* @__PURE__ */ t(s, { fz: 14, fw: 400, children: o.title })
|
|
45
45
|
] }),
|
|
46
|
-
/* @__PURE__ */ t(
|
|
46
|
+
/* @__PURE__ */ t(u, { c: "#DEE2E6", w: "100%" })
|
|
47
47
|
] }, o.id)) });
|
|
48
48
|
};
|
|
49
49
|
export {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsxs as a, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useTranslation as c } from "react-i18next";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { TextInput as l, Text as f } from "@mantine/core";
|
|
4
|
+
import { useOnboardingState as m } from "../../../store/onboarding.js";
|
|
5
5
|
import u from "./Wrapper.js";
|
|
6
6
|
const h = () => {
|
|
7
|
-
const { nextStep: r, prevStep: o, communityType: n, projectName: i, setProjectName: p } =
|
|
7
|
+
const { nextStep: r, prevStep: o, communityType: n, projectName: i, setProjectName: p } = m(), { t } = c("onboarding");
|
|
8
8
|
return /* @__PURE__ */ a(
|
|
9
9
|
u,
|
|
10
10
|
{
|
|
@@ -20,7 +20,7 @@ const h = () => {
|
|
|
20
20
|
},
|
|
21
21
|
children: [
|
|
22
22
|
/* @__PURE__ */ e(
|
|
23
|
-
|
|
23
|
+
l,
|
|
24
24
|
{
|
|
25
25
|
label: t("firstProject.inputLabel", {
|
|
26
26
|
option: n
|
|
@@ -35,7 +35,7 @@ const h = () => {
|
|
|
35
35
|
variant: "default"
|
|
36
36
|
}
|
|
37
37
|
),
|
|
38
|
-
/* @__PURE__ */ e(
|
|
38
|
+
/* @__PURE__ */ e(f, { fz: 14, children: t("firstProject.secondDescription") })
|
|
39
39
|
]
|
|
40
40
|
}
|
|
41
41
|
);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useTranslation as c } from "react-i18next";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
3
|
+
import { Flex as m, TextInput as f } from "@mantine/core";
|
|
4
|
+
import { IconLayoutKanban as d } from "@tabler/icons-react";
|
|
5
|
+
import { useOnboardingState as S } from "../../../../store/onboarding.js";
|
|
6
6
|
import x from "../Wrapper.js";
|
|
7
7
|
const C = () => {
|
|
8
|
-
const { nextStep: r, prevStep: a, statusesList: s, setStatusesList: i } =
|
|
8
|
+
const { nextStep: r, prevStep: a, statusesList: s, setStatusesList: i } = S(), { t } = c("onboarding");
|
|
9
9
|
return /* @__PURE__ */ e(
|
|
10
10
|
x,
|
|
11
11
|
{
|
|
@@ -19,10 +19,10 @@ const C = () => {
|
|
|
19
19
|
prevButtonProps: {
|
|
20
20
|
onClick: () => a()
|
|
21
21
|
},
|
|
22
|
-
children: /* @__PURE__ */ e(
|
|
23
|
-
|
|
22
|
+
children: /* @__PURE__ */ e(m, { align: "start", direction: "column", w: "100%", gap: 8, children: s.map((p, n, u) => /* @__PURE__ */ e(
|
|
23
|
+
f,
|
|
24
24
|
{
|
|
25
|
-
leftSection: /* @__PURE__ */ e(
|
|
25
|
+
leftSection: /* @__PURE__ */ e(d, { color: "#000000", size: 16 }),
|
|
26
26
|
w: "100%",
|
|
27
27
|
variant: "default",
|
|
28
28
|
placeholder: "Status name",
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as e, jsxs as r } from "react/jsx-runtime";
|
|
2
2
|
import { useTranslation as B } from "react-i18next";
|
|
3
|
-
import { useOnboardingState as F } from "../../../../store/onboarding.js";
|
|
4
3
|
import { Flex as n, Accordion as i, Text as o, Avatar as h, Divider as m, ActionIcon as f, Skeleton as w } from "@mantine/core";
|
|
5
4
|
import { randomId as u } from "@mantine/hooks";
|
|
6
|
-
import { IconCheck as p, IconBug as
|
|
5
|
+
import { IconCheck as p, IconBug as F, IconSquareRotated as A, IconEqual as g, IconChevronUp as C } from "@tabler/icons-react";
|
|
6
|
+
import { useOnboardingState as D } from "../../../../store/onboarding.js";
|
|
7
7
|
import s from "./StatusBadge.js";
|
|
8
8
|
import d from "../styles.module.css.js";
|
|
9
9
|
const T = () => {
|
|
10
|
-
const { tasksList: E, statusesList: c } =
|
|
10
|
+
const { tasksList: E, statusesList: c } = D(), { t: a } = B("onboarding"), v = [
|
|
11
11
|
{
|
|
12
12
|
id: u(),
|
|
13
13
|
color: "blue",
|
|
@@ -19,7 +19,7 @@ const T = () => {
|
|
|
19
19
|
{
|
|
20
20
|
id: u(),
|
|
21
21
|
color: "orange",
|
|
22
|
-
icon:
|
|
22
|
+
icon: F,
|
|
23
23
|
name: a("selectCategory.options.bug"),
|
|
24
24
|
type: "bug",
|
|
25
25
|
order: 2
|
|
@@ -27,7 +27,7 @@ const T = () => {
|
|
|
27
27
|
{
|
|
28
28
|
id: u(),
|
|
29
29
|
color: "grape",
|
|
30
|
-
icon:
|
|
30
|
+
icon: A,
|
|
31
31
|
name: a("selectCategory.options.milestone"),
|
|
32
32
|
type: "milestone",
|
|
33
33
|
order: 3
|
|
@@ -51,7 +51,7 @@ const T = () => {
|
|
|
51
51
|
variant: "separated",
|
|
52
52
|
multiple: !0,
|
|
53
53
|
chevronPosition: "left",
|
|
54
|
-
chevron: /* @__PURE__ */ e(
|
|
54
|
+
chevron: /* @__PURE__ */ e(C, { color: "#495057", size: 20 }),
|
|
55
55
|
value: ["item-1"],
|
|
56
56
|
children: [
|
|
57
57
|
/* @__PURE__ */ r(i.Item, { value: "item-1", children: [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DifferentLayoutsBoard.d.ts","sourceRoot":"","sources":["../../../../../src/components/OnBoarding/steps/DifferentLayouts/DifferentLayoutsBoard.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DifferentLayoutsBoard.d.ts","sourceRoot":"","sources":["../../../../../src/components/OnBoarding/steps/DifferentLayouts/DifferentLayoutsBoard.tsx"],"names":[],"mappings":"AAOA,QAAA,MAAM,qBAAqB,+CAa1B,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { useTranslation as s } from "react-i18next";
|
|
3
3
|
import { useNavigate as c } from "react-router-dom";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
4
|
+
import { Flex as l, Button as p, Text as u } from "@mantine/core";
|
|
5
|
+
import { IconList as f, IconLayoutCards as m, IconSquareCheck as v } from "@tabler/icons-react";
|
|
6
|
+
import { useOnboardingState as d } from "../../../../store/onboarding.js";
|
|
7
7
|
import k from "../Wrapper.js";
|
|
8
8
|
const x = [
|
|
9
9
|
{
|
|
10
10
|
value: "list",
|
|
11
|
-
Icon:
|
|
11
|
+
Icon: f,
|
|
12
12
|
link: "sprintList"
|
|
13
13
|
},
|
|
14
14
|
{
|
|
15
15
|
value: "kanban",
|
|
16
|
-
Icon:
|
|
16
|
+
Icon: m,
|
|
17
17
|
link: "sprintKanban"
|
|
18
18
|
}
|
|
19
19
|
], C = () => {
|
|
20
|
-
const { prevStep: e, setLayoutView: i } =
|
|
20
|
+
const { prevStep: e, setLayoutView: i } = d(), { t: n } = s("onboarding"), r = c(), a = x.map((t) => ({
|
|
21
21
|
...t,
|
|
22
22
|
title: n(`sprintView.${t.value}`)
|
|
23
23
|
}));
|
|
@@ -27,7 +27,7 @@ const x = [
|
|
|
27
27
|
title: n("differentLayouts.title"),
|
|
28
28
|
description: n("differentLayouts.description"),
|
|
29
29
|
nextText: n("finishProjects"),
|
|
30
|
-
nextIcon: /* @__PURE__ */ o(
|
|
30
|
+
nextIcon: /* @__PURE__ */ o(v, { size: 16 }),
|
|
31
31
|
prevText: n("prev"),
|
|
32
32
|
nextButtonProps: {
|
|
33
33
|
onClick: () => r("/")
|
|
@@ -35,8 +35,8 @@ const x = [
|
|
|
35
35
|
prevButtonProps: {
|
|
36
36
|
onClick: () => e()
|
|
37
37
|
},
|
|
38
|
-
children: /* @__PURE__ */ o(
|
|
39
|
-
|
|
38
|
+
children: /* @__PURE__ */ o(l, { align: "start", direction: "column", w: "100%", gap: 8, children: a.map((t) => /* @__PURE__ */ o(
|
|
39
|
+
p,
|
|
40
40
|
{
|
|
41
41
|
justify: "start",
|
|
42
42
|
w: "100%",
|
|
@@ -44,7 +44,7 @@ const x = [
|
|
|
44
44
|
onClick: () => i(t.value),
|
|
45
45
|
leftSection: /* @__PURE__ */ o(t.Icon, { color: "black", size: 16 }),
|
|
46
46
|
color: "#DEE2E6",
|
|
47
|
-
children: /* @__PURE__ */ o(
|
|
47
|
+
children: /* @__PURE__ */ o(u, { c: "black", children: t.title })
|
|
48
48
|
},
|
|
49
49
|
t.value
|
|
50
50
|
)) })
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsxs as e, jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import { useTranslation as A } from "react-i18next";
|
|
3
|
-
import { useOnboardingState as F } from "../../../../store/onboarding.js";
|
|
4
3
|
import { Flex as r, Text as l, ActionIcon as a, Divider as h, Box as p, Avatar as u, Skeleton as s } from "@mantine/core";
|
|
5
4
|
import { randomId as m } from "@mantine/hooks";
|
|
6
|
-
import { IconCheck as f, IconBug as
|
|
5
|
+
import { IconCheck as f, IconBug as F, IconSquareRotated as I, IconPlus as g, IconCalendarEvent as w, IconEqual as y } from "@tabler/icons-react";
|
|
6
|
+
import { useOnboardingState as S } from "../../../../store/onboarding.js";
|
|
7
7
|
import z from "../DefineStatuses/StatusBadge.js";
|
|
8
8
|
import o from "./styles.module.css.js";
|
|
9
9
|
const q = () => {
|
|
10
|
-
const { tasksList: b, statusesList: d } =
|
|
10
|
+
const { tasksList: b, statusesList: d } = S(), D = /* @__PURE__ */ new Date(), B = (i) => {
|
|
11
11
|
const t = new Date(D);
|
|
12
12
|
return t.setDate(t.getDate() + (3 + i)), t.toDateString();
|
|
13
13
|
}, { t: c } = A("onboarding"), v = [
|
|
@@ -22,7 +22,7 @@ const q = () => {
|
|
|
22
22
|
{
|
|
23
23
|
id: m(),
|
|
24
24
|
color: "orange",
|
|
25
|
-
icon:
|
|
25
|
+
icon: F,
|
|
26
26
|
name: c("selectCategory.options.bug"),
|
|
27
27
|
type: "bug",
|
|
28
28
|
order: 2
|
|
@@ -30,7 +30,7 @@ const q = () => {
|
|
|
30
30
|
{
|
|
31
31
|
id: m(),
|
|
32
32
|
color: "grape",
|
|
33
|
-
icon:
|
|
33
|
+
icon: I,
|
|
34
34
|
name: c("selectCategory.options.milestone"),
|
|
35
35
|
type: "milestone",
|
|
36
36
|
order: 3
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { jsx as e, jsxs as
|
|
1
|
+
import { jsx as e, jsxs as l } from "react/jsx-runtime";
|
|
2
2
|
import { useTranslation as s } from "react-i18next";
|
|
3
|
-
import { Modal as d, Flex as
|
|
3
|
+
import { Modal as d, Flex as o, TextInput as c, Select as p, Button as u, Group as m, Text as i } from "@mantine/core";
|
|
4
4
|
const x = () => {
|
|
5
5
|
const { t: n } = s("onboarding"), r = (a) => {
|
|
6
6
|
const t = a.option;
|
|
7
|
-
return /* @__PURE__ */ e(m, { children: /* @__PURE__ */
|
|
8
|
-
/* @__PURE__ */ e(
|
|
9
|
-
/* @__PURE__ */ e(
|
|
7
|
+
return /* @__PURE__ */ e(m, { children: /* @__PURE__ */ l("div", { children: [
|
|
8
|
+
/* @__PURE__ */ e(i, { children: t.label }),
|
|
9
|
+
/* @__PURE__ */ e(i, { size: "xs", c: "dimmed", children: t.description })
|
|
10
10
|
] }) });
|
|
11
11
|
};
|
|
12
12
|
return /* @__PURE__ */ e(
|
|
@@ -36,7 +36,7 @@ const x = () => {
|
|
|
36
36
|
height: "100%"
|
|
37
37
|
}
|
|
38
38
|
},
|
|
39
|
-
children: /* @__PURE__ */
|
|
39
|
+
children: /* @__PURE__ */ l(o, { align: "start", direction: "column", gap: 24, w: "100%", children: [
|
|
40
40
|
/* @__PURE__ */ e(
|
|
41
41
|
c,
|
|
42
42
|
{
|
|
@@ -57,10 +57,10 @@ const x = () => {
|
|
|
57
57
|
data: h,
|
|
58
58
|
renderOption: r,
|
|
59
59
|
radius: "sm",
|
|
60
|
-
value: "
|
|
60
|
+
value: "member"
|
|
61
61
|
}
|
|
62
62
|
),
|
|
63
|
-
/* @__PURE__ */ e(
|
|
63
|
+
/* @__PURE__ */ e(o, { w: "100%", justify: "flex-end", children: /* @__PURE__ */ e(u, { children: "Invite" }) })
|
|
64
64
|
] })
|
|
65
65
|
}
|
|
66
66
|
);
|
|
@@ -71,8 +71,8 @@ const x = () => {
|
|
|
71
71
|
description: "Manages the workspace"
|
|
72
72
|
},
|
|
73
73
|
{
|
|
74
|
-
value: "
|
|
75
|
-
label: "
|
|
74
|
+
value: "member",
|
|
75
|
+
label: "Member",
|
|
76
76
|
description: "Can edit documents"
|
|
77
77
|
},
|
|
78
78
|
{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InviteUsers.d.ts","sourceRoot":"","sources":["../../../../../src/components/OnBoarding/steps/InviteUsers/InviteUsers.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"InviteUsers.d.ts","sourceRoot":"","sources":["../../../../../src/components/OnBoarding/steps/InviteUsers/InviteUsers.tsx"],"names":[],"mappings":"AAKA,QAAA,MAAM,WAAW,+CAmBhB,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CategorySelect.d.ts","sourceRoot":"","sources":["../../../../../src/components/OnBoarding/steps/SelectCategory/CategorySelect.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CategorySelect.d.ts","sourceRoot":"","sources":["../../../../../src/components/OnBoarding/steps/SelectCategory/CategorySelect.tsx"],"names":[],"mappings":"AAQA,QAAA,MAAM,cAAc,GAAI,WAErB;IACD,IAAI,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,EAAE,EAAE,MAAM,CAAA;KAAE,CAAC;CACnD,4CAkEA,CAAC;AAEF,eAAe,cAAc,CAAC"}
|