@layers-app/shared 0.0.29 → 0.0.33
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/KanbanLayout-3P7jU91D.js +287 -0
- package/dist/TimeLine-DNEQAsfm.js +198 -0
- package/dist/api/giphy/slice.d.ts +1 -1
- package/dist/api/unsplash/slice.d.ts +1 -1
- package/dist/assets/jsons/emoji-categorized.json.d.ts +3 -0
- package/dist/assets/jsons/icons.min.json.d.ts +3 -0
- package/dist/components/AlertsBlock/index.d.ts +0 -1
- package/dist/components/AppContainer/AppContainer.d.ts +4 -10
- package/dist/components/AppContainer/components/AllAppsMenu.d.ts +2 -1
- package/dist/components/AppContainer/components/DesktopNavbar.d.ts +1 -1
- package/dist/components/AppContainer/components/MobileNavbar.d.ts +1 -1
- package/dist/components/AppContainer/hooks/useAppContainer.d.ts +1 -1
- package/dist/components/AppContainer/hooks/useAppContainerStore.d.ts +1 -1
- package/dist/components/AppContainer/types.d.ts +4 -0
- package/dist/components/AttachmentsGalleryModal/ImageModal.d.ts +0 -1
- package/dist/components/BottomDrawerWithoutHeader/index.d.ts +16 -0
- package/dist/components/ColorPicker/ColorPicker.d.ts +3 -3
- package/dist/components/CommentComposer/index.d.ts +52 -0
- package/dist/components/CommentsPanel/components/CommentActions.d.ts +16 -0
- package/dist/components/CommentsPanel/components/CommentFilterMenu.d.ts +6 -0
- package/dist/components/CommentsPanel/components/CommentPanelListItem.d.ts +22 -0
- package/dist/components/CommentsPanel/components/CommentsEmptyPlaceholder.d.ts +3 -0
- package/dist/components/CommentsPanel/components/CommentsFilterHeader.d.ts +3 -0
- package/dist/components/CommentsPanel/components/CommentsListItemMenu.d.ts +6 -0
- package/dist/components/CommentsPanel/components/CommentsMultiSelectUsers.d.ts +6 -0
- package/dist/components/CommentsPanel/components/CommentsPanelList.d.ts +19 -0
- package/dist/components/CommentsPanel/components/CommentsThreadReplyControls.d.ts +11 -0
- package/dist/components/CommentsPanel/components/CommentsUploadFilesPreview.d.ts +5 -0
- package/dist/components/CommentsPanel/components/Icon.d.ts +8 -0
- package/dist/components/CommentsPanel/components/RemoveConfirmModal.d.ts +11 -0
- package/dist/components/CommentsPanel/index.d.ts +22 -0
- package/dist/components/CommentsPanel/store.d.ts +19 -0
- package/dist/components/CommentsPanel/types.d.ts +244 -0
- package/dist/components/CommentsPanel/utils.d.ts +8 -0
- package/dist/components/CommunitiesDialog/index.d.ts +4 -0
- package/dist/components/EmojiPicker/EmojiPanel.d.ts +2 -2
- package/dist/components/EmojiPicker/IconsPanel.d.ts +2 -2
- package/dist/components/EmojiPicker/constants.d.ts +2 -0
- package/dist/components/EmojiPicker/types.d.ts +13 -0
- package/dist/components/ErrorPage/components/Error404.d.ts +2 -18
- package/dist/components/FilePicker/FilePickerUpload.d.ts +1 -1
- package/dist/components/InfoMenu/index.d.ts +1 -0
- package/dist/components/LanguagePicker/LanguagePicker.d.ts +6 -0
- package/dist/components/Logotype.d.ts +2 -1
- package/dist/components/NavbarResizer/NavbarResizer.d.ts +0 -1
- package/dist/components/NewColorPicker/index.d.ts +1 -1
- package/dist/components/NewColorPicker/types.d.ts +0 -1
- package/dist/components/NoData/NoData.d.ts +3 -0
- package/dist/components/NotPublicPanel/NotPublicPanel.d.ts +11 -0
- package/dist/components/OnBoarding/steps/DifferentLayouts/TimeLine.d.ts +1 -1
- package/dist/components/PaymentCancel/PaymentCancel.d.ts +1 -0
- package/dist/components/PaymentError/PaymentError.d.ts +1 -0
- package/dist/components/PaymentSuccess/PaymentSuccess.d.ts +1 -0
- package/dist/components/ProjectIcon/ProjectIcon.d.ts +6 -6
- package/dist/components/RichText/index.d.ts +4 -4
- package/dist/components/SearchFilters/components/SearchHelp.d.ts +0 -1
- package/dist/components/SortableList/SortableList.d.ts +4 -4
- package/dist/components/SortableList/components/SortableItem/SortableItem.d.ts +3 -1
- package/dist/components/StorageUsageEntityList/StorageEntityItem.d.ts +8 -0
- package/dist/components/StorageUsageEntityList/StorageUsageEntityList.d.ts +7 -0
- package/dist/components/StorageUsageEntityList/index.d.ts +2 -0
- package/dist/components/StorageUsageProgress/index.d.ts +15 -0
- package/dist/components/WorkspaceAvatar/WorkspaceAvatar.d.ts +1 -0
- package/dist/components/WorkspaceMenu/WorkspaceItem.d.ts +9 -1
- package/dist/components/WorkspaceMenu/WorkspaceMenu.d.ts +12 -3
- package/dist/emoji-categorized-DAOdcF53.js +4 -0
- package/dist/helpers/generateLink.d.ts +1 -1
- package/dist/helpers/getFileIcons.d.ts +1 -0
- package/dist/helpers/getFileType.d.ts +1 -0
- package/dist/helpers/pickRandomIcon.d.ts +1 -1
- package/dist/hooks/useDisableWindowScroll.d.ts +1 -0
- package/dist/hooks/useNumberQueryParam.d.ts +1 -1
- package/dist/hooks/useSwipeDetect.d.ts +1 -1
- package/dist/icons.min-Chyr-bjL.js +4 -0
- package/dist/index-nUzOFDJF.js +39587 -0
- package/dist/index.d.ts +18 -2
- package/dist/index.esm-BKxri7AJ.js +6814 -0
- package/dist/index.js +126 -46264
- package/dist/index.umd.cjs +86 -800
- package/dist/store/discordDialogStore.d.ts +8 -0
- package/dist/store/plansModal.d.ts +7 -0
- package/dist/store/timezoneStore.d.ts +1 -1
- package/dist/store/workspacesOrder.d.ts +1 -1
- package/dist/utils/formatStorage.d.ts +6 -0
- package/package.json +2 -2
- package/dist/components/EmojiPicker/icons.json.d.ts +0 -80399
- package/dist/components/ErrorAlert/ErrorAlert.story.d.ts +0 -8
- package/dist/components/LanguagePicker/index.d.ts +0 -11
- package/dist/components/NewColorPicker/NewColorPicker.story.d.ts +0 -6
- package/dist/icons-DayTtENI.js +0 -5658
- package/dist/store/pageUpdateCount.d.ts +0 -12
|
@@ -0,0 +1,287 @@
|
|
|
1
|
+
import { jsxs as e, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { useTranslation as A } from "react-i18next";
|
|
3
|
+
import { Flex as r, Text as c, ActionIcon as a, Divider as p, Box as m, Avatar as u, Skeleton as s } from "@mantine/core";
|
|
4
|
+
import "react";
|
|
5
|
+
import { IconCheck as h, IconBug as S, IconSquareRotated as k, IconPlus as f, IconCalendarEvent as g, IconEqual as w } from "@tabler/icons-react";
|
|
6
|
+
import "react-router-dom";
|
|
7
|
+
import { randomId as y } from "@mantine/hooks";
|
|
8
|
+
import "@tanstack/react-query";
|
|
9
|
+
import "query-string";
|
|
10
|
+
import "@mantine/form";
|
|
11
|
+
import "@mantine/dropzone";
|
|
12
|
+
import "@mantine/notifications";
|
|
13
|
+
import "lodash-es";
|
|
14
|
+
import { u as F, S as z } from "./index-nUzOFDJF.js";
|
|
15
|
+
import "react-dom";
|
|
16
|
+
import "draggable-ui";
|
|
17
|
+
import "@mantine/modals";
|
|
18
|
+
import "i18next";
|
|
19
|
+
import "framer-motion";
|
|
20
|
+
import "@mantine/dates";
|
|
21
|
+
const I = "_column_1trmk_1", _ = "_card_1trmk_6", o = {
|
|
22
|
+
column: I,
|
|
23
|
+
card: _
|
|
24
|
+
}, Z = () => {
|
|
25
|
+
const { tasksList: b, statusesList: d } = F(), D = /* @__PURE__ */ new Date(), B = (i) => {
|
|
26
|
+
const n = new Date(D);
|
|
27
|
+
return n.setDate(n.getDate() + (3 + i)), n.toDateString();
|
|
28
|
+
}, { t: l } = A("onboarding"), v = [
|
|
29
|
+
{
|
|
30
|
+
id: y(),
|
|
31
|
+
color: "blue",
|
|
32
|
+
icon: h,
|
|
33
|
+
name: l("selectCategory.options.task"),
|
|
34
|
+
type: "task",
|
|
35
|
+
order: 1
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
id: y(),
|
|
39
|
+
color: "orange",
|
|
40
|
+
icon: S,
|
|
41
|
+
name: l("selectCategory.options.bug"),
|
|
42
|
+
type: "bug",
|
|
43
|
+
order: 2
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
id: y(),
|
|
47
|
+
color: "grape",
|
|
48
|
+
icon: k,
|
|
49
|
+
name: l("selectCategory.options.milestone"),
|
|
50
|
+
type: "milestone",
|
|
51
|
+
order: 3
|
|
52
|
+
}
|
|
53
|
+
], E = (i) => {
|
|
54
|
+
const n = v.find((j) => j.type === i);
|
|
55
|
+
return n ? /* @__PURE__ */ t(a, { size: 16, variant: "filled", color: n.color, children: /* @__PURE__ */ t(n.icon, {}) }) : null;
|
|
56
|
+
};
|
|
57
|
+
return /* @__PURE__ */ e(r, { gap: 13, align: "start", w: "100%", children: [
|
|
58
|
+
/* @__PURE__ */ e(
|
|
59
|
+
r,
|
|
60
|
+
{
|
|
61
|
+
gap: 11,
|
|
62
|
+
p: 7,
|
|
63
|
+
direction: "column",
|
|
64
|
+
w: 340,
|
|
65
|
+
className: o.column,
|
|
66
|
+
children: [
|
|
67
|
+
/* @__PURE__ */ e(r, { w: "100%", justify: "space-between", children: [
|
|
68
|
+
/* @__PURE__ */ e(r, { gap: 14, align: "center", children: [
|
|
69
|
+
/* @__PURE__ */ t(z, { color: "#228BE6", title: d[0] }),
|
|
70
|
+
/* @__PURE__ */ e(c, { c: "#868E96", fz: 14, children: [
|
|
71
|
+
"(",
|
|
72
|
+
l("defineStatuses.tasks"),
|
|
73
|
+
": ",
|
|
74
|
+
b.length,
|
|
75
|
+
")"
|
|
76
|
+
] })
|
|
77
|
+
] }),
|
|
78
|
+
/* @__PURE__ */ t(a, { variant: "subtle", size: 18, children: /* @__PURE__ */ t(f, {}) })
|
|
79
|
+
] }),
|
|
80
|
+
/* @__PURE__ */ t(p, { w: "100%" }),
|
|
81
|
+
b.map((i, n) => /* @__PURE__ */ e(
|
|
82
|
+
r,
|
|
83
|
+
{
|
|
84
|
+
gap: 0,
|
|
85
|
+
direction: "column",
|
|
86
|
+
align: "start",
|
|
87
|
+
justify: "space-between",
|
|
88
|
+
w: "100%",
|
|
89
|
+
h: 105,
|
|
90
|
+
className: o.card,
|
|
91
|
+
px: 14,
|
|
92
|
+
py: 9,
|
|
93
|
+
children: [
|
|
94
|
+
/* @__PURE__ */ e(m, { children: [
|
|
95
|
+
/* @__PURE__ */ t(c, { fz: 18, fw: 400, children: i.title }),
|
|
96
|
+
/* @__PURE__ */ e(r, { align: "center", children: [
|
|
97
|
+
/* @__PURE__ */ t(g, { color: "#495057", size: 13 }),
|
|
98
|
+
/* @__PURE__ */ t(c, { fz: 16, c: "#495057", children: B(n) })
|
|
99
|
+
] })
|
|
100
|
+
] }),
|
|
101
|
+
/* @__PURE__ */ e(r, { justify: "space-between", w: "100%", children: [
|
|
102
|
+
/* @__PURE__ */ e(r, { children: [
|
|
103
|
+
E(i.type),
|
|
104
|
+
/* @__PURE__ */ e(c, { fz: 13, children: [
|
|
105
|
+
"DEMO-",
|
|
106
|
+
n + 1
|
|
107
|
+
] })
|
|
108
|
+
] }),
|
|
109
|
+
/* @__PURE__ */ e(r, { children: [
|
|
110
|
+
/* @__PURE__ */ t(w, { color: "#F59F00", size: 16 }),
|
|
111
|
+
/* @__PURE__ */ t(
|
|
112
|
+
u,
|
|
113
|
+
{
|
|
114
|
+
variant: "filled",
|
|
115
|
+
color: "#228BE6",
|
|
116
|
+
radius: "xl",
|
|
117
|
+
size: 24
|
|
118
|
+
}
|
|
119
|
+
)
|
|
120
|
+
] })
|
|
121
|
+
] })
|
|
122
|
+
]
|
|
123
|
+
},
|
|
124
|
+
i.id
|
|
125
|
+
))
|
|
126
|
+
]
|
|
127
|
+
}
|
|
128
|
+
),
|
|
129
|
+
/* @__PURE__ */ e(
|
|
130
|
+
r,
|
|
131
|
+
{
|
|
132
|
+
gap: 11,
|
|
133
|
+
p: 7,
|
|
134
|
+
direction: "column",
|
|
135
|
+
w: 340,
|
|
136
|
+
className: o.column,
|
|
137
|
+
children: [
|
|
138
|
+
/* @__PURE__ */ e(r, { w: "100%", justify: "space-between", children: [
|
|
139
|
+
/* @__PURE__ */ e(r, { gap: 14, align: "center", children: [
|
|
140
|
+
/* @__PURE__ */ t(z, { color: "#12B886", title: d[1] }),
|
|
141
|
+
/* @__PURE__ */ e(c, { c: "#868E96", fz: 14, children: [
|
|
142
|
+
"(",
|
|
143
|
+
l("defineStatuses.tasks"),
|
|
144
|
+
": 2)"
|
|
145
|
+
] })
|
|
146
|
+
] }),
|
|
147
|
+
/* @__PURE__ */ t(a, { variant: "subtle", size: 18, children: /* @__PURE__ */ t(f, {}) })
|
|
148
|
+
] }),
|
|
149
|
+
/* @__PURE__ */ t(p, { w: "100%" }),
|
|
150
|
+
Array(2).fill(0).map((i, n) => /* @__PURE__ */ e(
|
|
151
|
+
r,
|
|
152
|
+
{
|
|
153
|
+
gap: 0,
|
|
154
|
+
direction: "column",
|
|
155
|
+
align: "start",
|
|
156
|
+
justify: "space-between",
|
|
157
|
+
w: "100%",
|
|
158
|
+
h: 105,
|
|
159
|
+
className: o.card,
|
|
160
|
+
px: 14,
|
|
161
|
+
py: 9,
|
|
162
|
+
children: [
|
|
163
|
+
/* @__PURE__ */ e(m, { children: [
|
|
164
|
+
/* @__PURE__ */ t(
|
|
165
|
+
s,
|
|
166
|
+
{
|
|
167
|
+
animate: !1,
|
|
168
|
+
mb: 15,
|
|
169
|
+
w: n === 0 ? 128 : 172,
|
|
170
|
+
h: 18
|
|
171
|
+
}
|
|
172
|
+
),
|
|
173
|
+
/* @__PURE__ */ e(r, { align: "center", children: [
|
|
174
|
+
/* @__PURE__ */ t(g, { color: "#495057", size: 13 }),
|
|
175
|
+
/* @__PURE__ */ t(s, { animate: !1, w: n === 0 ? 52 : 63, h: 12 })
|
|
176
|
+
] })
|
|
177
|
+
] }),
|
|
178
|
+
/* @__PURE__ */ e(r, { justify: "space-between", w: "100%", children: [
|
|
179
|
+
/* @__PURE__ */ e(r, { children: [
|
|
180
|
+
/* @__PURE__ */ t(a, { size: 16, variant: "filled", color: "#ADB5BD", children: /* @__PURE__ */ t(h, {}) }),
|
|
181
|
+
/* @__PURE__ */ e(c, { c: "#ADB5BD", fz: 13, children: [
|
|
182
|
+
"DEMO-",
|
|
183
|
+
n + 4
|
|
184
|
+
] })
|
|
185
|
+
] }),
|
|
186
|
+
/* @__PURE__ */ e(r, { children: [
|
|
187
|
+
/* @__PURE__ */ t(w, { color: "#F59F00", size: 16 }),
|
|
188
|
+
/* @__PURE__ */ t(
|
|
189
|
+
u,
|
|
190
|
+
{
|
|
191
|
+
variant: "filled",
|
|
192
|
+
color: "#228BE6",
|
|
193
|
+
radius: "xl",
|
|
194
|
+
size: 24
|
|
195
|
+
}
|
|
196
|
+
)
|
|
197
|
+
] })
|
|
198
|
+
] })
|
|
199
|
+
]
|
|
200
|
+
},
|
|
201
|
+
n
|
|
202
|
+
))
|
|
203
|
+
]
|
|
204
|
+
}
|
|
205
|
+
),
|
|
206
|
+
/* @__PURE__ */ e(
|
|
207
|
+
r,
|
|
208
|
+
{
|
|
209
|
+
gap: 11,
|
|
210
|
+
p: 7,
|
|
211
|
+
direction: "column",
|
|
212
|
+
w: 340,
|
|
213
|
+
className: o.column,
|
|
214
|
+
children: [
|
|
215
|
+
/* @__PURE__ */ e(r, { w: "100%", justify: "space-between", children: [
|
|
216
|
+
/* @__PURE__ */ e(r, { gap: 14, align: "center", children: [
|
|
217
|
+
/* @__PURE__ */ t(z, { color: "#FA5252", title: d[2] }),
|
|
218
|
+
/* @__PURE__ */ e(c, { c: "#868E96", fz: 14, children: [
|
|
219
|
+
"(",
|
|
220
|
+
l("defineStatuses.tasks"),
|
|
221
|
+
": 2)"
|
|
222
|
+
] })
|
|
223
|
+
] }),
|
|
224
|
+
/* @__PURE__ */ t(a, { variant: "subtle", size: 18, children: /* @__PURE__ */ t(f, {}) })
|
|
225
|
+
] }),
|
|
226
|
+
/* @__PURE__ */ t(p, { w: "100%" }),
|
|
227
|
+
Array(2).fill(0).map((i, n) => /* @__PURE__ */ e(
|
|
228
|
+
r,
|
|
229
|
+
{
|
|
230
|
+
gap: 0,
|
|
231
|
+
direction: "column",
|
|
232
|
+
align: "start",
|
|
233
|
+
justify: "space-between",
|
|
234
|
+
w: "100%",
|
|
235
|
+
h: 105,
|
|
236
|
+
className: o.card,
|
|
237
|
+
px: 14,
|
|
238
|
+
py: 9,
|
|
239
|
+
children: [
|
|
240
|
+
/* @__PURE__ */ e(m, { children: [
|
|
241
|
+
/* @__PURE__ */ t(
|
|
242
|
+
s,
|
|
243
|
+
{
|
|
244
|
+
animate: !1,
|
|
245
|
+
mb: 15,
|
|
246
|
+
w: n === 0 ? 266 : 150,
|
|
247
|
+
h: 18
|
|
248
|
+
}
|
|
249
|
+
),
|
|
250
|
+
/* @__PURE__ */ e(r, { align: "center", children: [
|
|
251
|
+
/* @__PURE__ */ t(g, { color: "#495057", size: 13 }),
|
|
252
|
+
/* @__PURE__ */ t(s, { animate: !1, w: n === 0 ? 72 : 46, h: 12 })
|
|
253
|
+
] })
|
|
254
|
+
] }),
|
|
255
|
+
/* @__PURE__ */ e(r, { justify: "space-between", w: "100%", children: [
|
|
256
|
+
/* @__PURE__ */ e(r, { children: [
|
|
257
|
+
/* @__PURE__ */ t(a, { size: 16, variant: "filled", color: "#ADB5BD", children: /* @__PURE__ */ t(h, {}) }),
|
|
258
|
+
/* @__PURE__ */ e(c, { c: "#ADB5BD", fz: 13, children: [
|
|
259
|
+
"DEMO-",
|
|
260
|
+
n + 6
|
|
261
|
+
] })
|
|
262
|
+
] }),
|
|
263
|
+
/* @__PURE__ */ e(r, { children: [
|
|
264
|
+
/* @__PURE__ */ t(w, { color: "#F59F00", size: 16 }),
|
|
265
|
+
/* @__PURE__ */ t(
|
|
266
|
+
u,
|
|
267
|
+
{
|
|
268
|
+
variant: "filled",
|
|
269
|
+
color: "#228BE6",
|
|
270
|
+
radius: "xl",
|
|
271
|
+
size: 24
|
|
272
|
+
}
|
|
273
|
+
)
|
|
274
|
+
] })
|
|
275
|
+
] })
|
|
276
|
+
]
|
|
277
|
+
},
|
|
278
|
+
n
|
|
279
|
+
))
|
|
280
|
+
]
|
|
281
|
+
}
|
|
282
|
+
)
|
|
283
|
+
] });
|
|
284
|
+
};
|
|
285
|
+
export {
|
|
286
|
+
Z as default
|
|
287
|
+
};
|
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
import { jsxs as a, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { useState as C, useEffect as x, Suspense as z, lazy as S } from "react";
|
|
3
|
+
import { useTranslation as T } from "react-i18next";
|
|
4
|
+
import { Flex as t, Text as f, ActionIcon as i, Skeleton as s, Avatar as g, Box as B } from "@mantine/core";
|
|
5
|
+
import { IconCheck as c, IconBug as I, IconSquareRotated as v, IconListDetails as k, IconUserCircle as F } from "@tabler/icons-react";
|
|
6
|
+
import "react-router-dom";
|
|
7
|
+
import { randomId as p } from "@mantine/hooks";
|
|
8
|
+
import "@tanstack/react-query";
|
|
9
|
+
import "query-string";
|
|
10
|
+
import "@mantine/form";
|
|
11
|
+
import "@mantine/dropzone";
|
|
12
|
+
import "@mantine/notifications";
|
|
13
|
+
import "lodash-es";
|
|
14
|
+
import { u as L } from "./index-nUzOFDJF.js";
|
|
15
|
+
import "react-dom";
|
|
16
|
+
import "draggable-ui";
|
|
17
|
+
import "@mantine/modals";
|
|
18
|
+
import "i18next";
|
|
19
|
+
import "framer-motion";
|
|
20
|
+
import "@mantine/dates";
|
|
21
|
+
const R = S(
|
|
22
|
+
() => import("./index.esm-BKxri7AJ.js").then((r) => ({ default: r.default }))
|
|
23
|
+
);
|
|
24
|
+
function d(r, l) {
|
|
25
|
+
const o = new Date(r);
|
|
26
|
+
return o.setDate(o.getDate() + l), o.toDateString();
|
|
27
|
+
}
|
|
28
|
+
const u = () => /* @__PURE__ */ a(
|
|
29
|
+
t,
|
|
30
|
+
{
|
|
31
|
+
style: {
|
|
32
|
+
backgroundColor: "#E9ECEF",
|
|
33
|
+
borderRadius: "6px",
|
|
34
|
+
width: "100%",
|
|
35
|
+
height: 40,
|
|
36
|
+
alignSelf: "center"
|
|
37
|
+
},
|
|
38
|
+
p: "sm",
|
|
39
|
+
align: "center",
|
|
40
|
+
children: [
|
|
41
|
+
/* @__PURE__ */ e(g, { variant: "filled", color: "#868E961F", size: 24, children: /* @__PURE__ */ e(F, { size: 16, color: "#FFFFFF" }) }),
|
|
42
|
+
/* @__PURE__ */ e(B, { style: { borderRadius: "6px" }, bg: "#FFFFFF", h: 18, w: 172 })
|
|
43
|
+
]
|
|
44
|
+
}
|
|
45
|
+
), U = ({ label: r }) => /* @__PURE__ */ a(
|
|
46
|
+
t,
|
|
47
|
+
{
|
|
48
|
+
style: {
|
|
49
|
+
backgroundColor: "#1C7ED6",
|
|
50
|
+
borderRadius: "6px",
|
|
51
|
+
width: "100%",
|
|
52
|
+
height: 40,
|
|
53
|
+
alignSelf: "center"
|
|
54
|
+
},
|
|
55
|
+
p: "sm",
|
|
56
|
+
align: "center",
|
|
57
|
+
children: [
|
|
58
|
+
/* @__PURE__ */ e(g, { variant: "filled", color: "#fff", size: 24, children: /* @__PURE__ */ e(F, { size: 16, color: "#1C7ED6" }) }),
|
|
59
|
+
/* @__PURE__ */ e(f, { c: "#FFFFFF", children: r })
|
|
60
|
+
]
|
|
61
|
+
}
|
|
62
|
+
), j = [
|
|
63
|
+
{
|
|
64
|
+
name: /* @__PURE__ */ a(t, { gap: 8, children: [
|
|
65
|
+
/* @__PURE__ */ e(i, { size: 16, variant: "filled", color: "#E9ECEF", children: /* @__PURE__ */ e(c, {}) }),
|
|
66
|
+
/* @__PURE__ */ e(s, { animate: !1, h: 18, width: 172 })
|
|
67
|
+
] })
|
|
68
|
+
// startDate: '2025-01-22',
|
|
69
|
+
// endDate: '2025-01-26',
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
name: /* @__PURE__ */ a(t, { gap: 8, children: [
|
|
73
|
+
/* @__PURE__ */ e(i, { size: 16, variant: "filled", color: "#E9ECEF", children: /* @__PURE__ */ e(c, {}) }),
|
|
74
|
+
/* @__PURE__ */ e(s, { animate: !1, h: 18, width: 237 })
|
|
75
|
+
] }),
|
|
76
|
+
label: /* @__PURE__ */ e(u, {}),
|
|
77
|
+
startDate: d(/* @__PURE__ */ new Date(), 5),
|
|
78
|
+
endDate: d(/* @__PURE__ */ new Date(), 15)
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
name: /* @__PURE__ */ a(t, { gap: 8, children: [
|
|
82
|
+
/* @__PURE__ */ e(i, { size: 16, variant: "filled", color: "#E9ECEF", children: /* @__PURE__ */ e(c, {}) }),
|
|
83
|
+
/* @__PURE__ */ e(s, { animate: !1, h: 18, width: 109 })
|
|
84
|
+
] })
|
|
85
|
+
// startDate: '2025-01-22',
|
|
86
|
+
// endDate: '2025-01-26',
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
name: /* @__PURE__ */ a(t, { gap: 8, children: [
|
|
90
|
+
/* @__PURE__ */ e(i, { size: 16, variant: "filled", color: "#E9ECEF", children: /* @__PURE__ */ e(c, {}) }),
|
|
91
|
+
/* @__PURE__ */ e(s, { animate: !1, h: 18, width: 217 })
|
|
92
|
+
] }),
|
|
93
|
+
label: /* @__PURE__ */ e(u, {}),
|
|
94
|
+
startDate: d(/* @__PURE__ */ new Date(), 10),
|
|
95
|
+
endDate: d(/* @__PURE__ */ new Date(), 20)
|
|
96
|
+
}
|
|
97
|
+
], A = (r, { width: l }) => /* @__PURE__ */ e(
|
|
98
|
+
t,
|
|
99
|
+
{
|
|
100
|
+
style: {
|
|
101
|
+
transform: "translateY(-15.5px)",
|
|
102
|
+
width: l,
|
|
103
|
+
height: 40,
|
|
104
|
+
alignSelf: "center",
|
|
105
|
+
zIndex: 10
|
|
106
|
+
},
|
|
107
|
+
align: "center",
|
|
108
|
+
children: r.record.label
|
|
109
|
+
}
|
|
110
|
+
), ne = () => {
|
|
111
|
+
const { projectName: r, tasksList: l } = L(), { t: o } = T("onboarding"), D = [
|
|
112
|
+
{
|
|
113
|
+
id: p(),
|
|
114
|
+
color: "blue",
|
|
115
|
+
icon: c,
|
|
116
|
+
name: o("selectCategory.options.task"),
|
|
117
|
+
type: "task",
|
|
118
|
+
order: 1
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
id: p(),
|
|
122
|
+
color: "orange",
|
|
123
|
+
icon: I,
|
|
124
|
+
name: o("selectCategory.options.bug"),
|
|
125
|
+
type: "bug",
|
|
126
|
+
order: 2
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
id: p(),
|
|
130
|
+
color: "grape",
|
|
131
|
+
icon: v,
|
|
132
|
+
name: o("selectCategory.options.milestone"),
|
|
133
|
+
type: "milestone",
|
|
134
|
+
order: 3
|
|
135
|
+
}
|
|
136
|
+
], b = (n) => {
|
|
137
|
+
const m = D.find((y) => y.type === n);
|
|
138
|
+
return m ? /* @__PURE__ */ e(i, { size: 16, variant: "filled", color: m.color, children: /* @__PURE__ */ e(m.icon, {}) }) : null;
|
|
139
|
+
}, E = [
|
|
140
|
+
{
|
|
141
|
+
name: /* @__PURE__ */ a(t, { gap: 10, children: [
|
|
142
|
+
/* @__PURE__ */ e(
|
|
143
|
+
k,
|
|
144
|
+
{
|
|
145
|
+
style: {
|
|
146
|
+
zIndex: 10
|
|
147
|
+
},
|
|
148
|
+
color: "#228BE6",
|
|
149
|
+
size: 14
|
|
150
|
+
}
|
|
151
|
+
),
|
|
152
|
+
/* @__PURE__ */ e(f, { children: r })
|
|
153
|
+
] }),
|
|
154
|
+
collapsed: !1,
|
|
155
|
+
children: [
|
|
156
|
+
...l.map((n) => ({
|
|
157
|
+
name: /* @__PURE__ */ a(t, { children: [
|
|
158
|
+
b(n.type),
|
|
159
|
+
" ",
|
|
160
|
+
n.title
|
|
161
|
+
] }),
|
|
162
|
+
startDate: n.startDate,
|
|
163
|
+
endDate: n.endDate,
|
|
164
|
+
label: /* @__PURE__ */ e(U, { label: n.title }),
|
|
165
|
+
collapsed: !1
|
|
166
|
+
})),
|
|
167
|
+
...j
|
|
168
|
+
]
|
|
169
|
+
}
|
|
170
|
+
], [h, w] = C(null);
|
|
171
|
+
return x(() => {
|
|
172
|
+
import("./index.esm-BKxri7AJ.js").then((n) => w(n.enUS));
|
|
173
|
+
}, []), h ? /* @__PURE__ */ e(t, { h: 700, w: "100%", direction: "column", children: /* @__PURE__ */ e(z, { children: /* @__PURE__ */ e(
|
|
174
|
+
R,
|
|
175
|
+
{
|
|
176
|
+
data: E,
|
|
177
|
+
locale: h,
|
|
178
|
+
columns: [
|
|
179
|
+
{
|
|
180
|
+
name: "name",
|
|
181
|
+
label: "Title",
|
|
182
|
+
width: 580
|
|
183
|
+
}
|
|
184
|
+
],
|
|
185
|
+
renderBar: A,
|
|
186
|
+
renderBarThumb: () => null,
|
|
187
|
+
renderRightText: () => null,
|
|
188
|
+
renderLeftText: () => null,
|
|
189
|
+
onUpdate: async () => !0,
|
|
190
|
+
rowHeight: 44,
|
|
191
|
+
alwaysShowTaskBar: !1,
|
|
192
|
+
showUnitSwitch: !1
|
|
193
|
+
}
|
|
194
|
+
) }) }) : null;
|
|
195
|
+
};
|
|
196
|
+
export {
|
|
197
|
+
ne as default
|
|
198
|
+
};
|
|
@@ -6,6 +6,6 @@ type Data = {
|
|
|
6
6
|
hasMore: boolean;
|
|
7
7
|
};
|
|
8
8
|
export declare const giphyApi: (token?: string) => import('@reduxjs/toolkit/query').Api<import('@reduxjs/toolkit/query').BaseQueryFn<string | import('@reduxjs/toolkit/query').FetchArgs, unknown, import('@reduxjs/toolkit/query').FetchBaseQueryError, {}, import('@reduxjs/toolkit/query').FetchBaseQueryMeta>, {
|
|
9
|
-
getPhotos: import('@reduxjs/toolkit/query').QueryDefinition<ApiGiphy.Request, import('@reduxjs/toolkit/query').BaseQueryFn<string | import('@reduxjs/toolkit/query').FetchArgs, unknown, import('@reduxjs/toolkit/query').FetchBaseQueryError, {}, import('@reduxjs/toolkit/query').FetchBaseQueryMeta>, never, Data, "giphyApi">;
|
|
9
|
+
getPhotos: import('@reduxjs/toolkit/query').QueryDefinition<ApiGiphy.Request, import('@reduxjs/toolkit/query').BaseQueryFn<string | import('@reduxjs/toolkit/query').FetchArgs, unknown, import('@reduxjs/toolkit/query').FetchBaseQueryError, {}, import('@reduxjs/toolkit/query').FetchBaseQueryMeta>, never, Data, "giphyApi", unknown>;
|
|
10
10
|
}, "giphyApi", never, typeof import('@reduxjs/toolkit/query').coreModuleName | typeof import('@reduxjs/toolkit/query/react').reactHooksModuleName>;
|
|
11
11
|
export {};
|
|
@@ -6,6 +6,6 @@ type Data = {
|
|
|
6
6
|
hasMore: boolean;
|
|
7
7
|
};
|
|
8
8
|
export declare const unsplashApi: (clientId?: string) => import('@reduxjs/toolkit/query').Api<import('@reduxjs/toolkit/query').BaseQueryFn<string | import('@reduxjs/toolkit/query').FetchArgs, unknown, import('@reduxjs/toolkit/query').FetchBaseQueryError, {}, import('@reduxjs/toolkit/query').FetchBaseQueryMeta>, {
|
|
9
|
-
getPhotos: import('@reduxjs/toolkit/query').QueryDefinition<ApiUnsplash.Request, import('@reduxjs/toolkit/query').BaseQueryFn<string | import('@reduxjs/toolkit/query').FetchArgs, unknown, import('@reduxjs/toolkit/query').FetchBaseQueryError, {}, import('@reduxjs/toolkit/query').FetchBaseQueryMeta>, never, Data, "unsplashApi">;
|
|
9
|
+
getPhotos: import('@reduxjs/toolkit/query').QueryDefinition<ApiUnsplash.Request, import('@reduxjs/toolkit/query').BaseQueryFn<string | import('@reduxjs/toolkit/query').FetchArgs, unknown, import('@reduxjs/toolkit/query').FetchBaseQueryError, {}, import('@reduxjs/toolkit/query').FetchBaseQueryMeta>, never, Data, "unsplashApi", unknown>;
|
|
10
10
|
}, "unsplashApi", never, typeof import('@reduxjs/toolkit/query').coreModuleName | typeof import('@reduxjs/toolkit/query/react').reactHooksModuleName>;
|
|
11
11
|
export {};
|