obeyaka-ui 0.1.32 → 0.1.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/index.es.js +202 -200
- package/dist/index.js +1 -1
- package/dist/style.css +1 -1
- package/dist/types/components/molecules/NavLink/NavLink.d.ts.map +1 -1
- package/dist/types/components/organisms/Matrix/index.d.ts +21 -20
- package/dist/types/components/organisms/Matrix/index.d.ts.map +1 -1
- package/dist/types/components/organisms/WorkspaceSelector/WorkspaceSelector.d.ts.map +1 -1
- package/dist/types/theme/ThemeProvider.d.ts +1 -0
- package/dist/types/theme/ThemeProvider.d.ts.map +1 -1
- package/dist/types/theme/index.d.ts.map +1 -1
- package/package.json +2 -1
package/dist/index.es.js
CHANGED
|
@@ -1740,7 +1740,7 @@ const Po = (n) => {
|
|
|
1740
1740
|
filterTagDropdownPosition: a
|
|
1741
1741
|
}
|
|
1742
1742
|
)
|
|
1743
|
-
] }),
|
|
1743
|
+
] }), Qi = Object.assign(nr, {
|
|
1744
1744
|
Button: jn,
|
|
1745
1745
|
Filters: Fn
|
|
1746
1746
|
}), tr = ({
|
|
@@ -1967,7 +1967,7 @@ const Po = (n) => {
|
|
|
1967
1967
|
}) => /* @__PURE__ */ e(gt, { ...t, children: /* @__PURE__ */ x(W, { gap: "sm", className: n, style: r, children: [
|
|
1968
1968
|
/* @__PURE__ */ e(It, {}),
|
|
1969
1969
|
/* @__PURE__ */ e(yt, {})
|
|
1970
|
-
] }) }),
|
|
1970
|
+
] }) }), Yi = Nn, Zi = Object.assign(lr, {
|
|
1971
1971
|
Provider: gt,
|
|
1972
1972
|
Triggers: It,
|
|
1973
1973
|
Content: yt
|
|
@@ -2056,6 +2056,8 @@ const Po = (n) => {
|
|
|
2056
2056
|
] })
|
|
2057
2057
|
}
|
|
2058
2058
|
);
|
|
2059
|
+
}, dr = "navlink-module__navlink___nc4pR", ur = {
|
|
2060
|
+
navlink: dr
|
|
2059
2061
|
}, Gn = ({
|
|
2060
2062
|
label: n,
|
|
2061
2063
|
rightLabel: r,
|
|
@@ -2063,7 +2065,7 @@ const Po = (n) => {
|
|
|
2063
2065
|
onAddChild: o,
|
|
2064
2066
|
onMenuAction: i,
|
|
2065
2067
|
menuItems: a,
|
|
2066
|
-
color: c = "gray",
|
|
2068
|
+
color: c = "var(--mantine-color-gray-7)",
|
|
2067
2069
|
defaultText: s = "No items",
|
|
2068
2070
|
level: l = 0,
|
|
2069
2071
|
disabled: d = !1,
|
|
@@ -2117,10 +2119,9 @@ const Po = (n) => {
|
|
|
2117
2119
|
/* @__PURE__ */ e(
|
|
2118
2120
|
b,
|
|
2119
2121
|
{
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
},
|
|
2122
|
+
className: ur.navlink,
|
|
2123
|
+
"data-disabled": d,
|
|
2124
|
+
"data-active": p,
|
|
2124
2125
|
variant: "transparent",
|
|
2125
2126
|
justify: "space-between",
|
|
2126
2127
|
display: "flex",
|
|
@@ -2174,7 +2175,7 @@ const Po = (n) => {
|
|
|
2174
2175
|
{
|
|
2175
2176
|
size: "sm",
|
|
2176
2177
|
fw: 600,
|
|
2177
|
-
c
|
|
2178
|
+
c,
|
|
2178
2179
|
truncate: !0,
|
|
2179
2180
|
w: "100%",
|
|
2180
2181
|
style: { opacity: d ? 0.5 : 1 },
|
|
@@ -2224,8 +2225,8 @@ const Po = (n) => {
|
|
|
2224
2225
|
),
|
|
2225
2226
|
v && !u && /* @__PURE__ */ e(W, { gap: 0, style: { width: "100%" }, children: T ? U() : /* @__PURE__ */ e(b, { style: { marginLeft: l > 0 ? `${l * 16}px` : "0px" }, children: /* @__PURE__ */ e(E, { size: "sm", c: "dimmed", ta: "left", p: "sm", fw: 500, children: s }) }) })
|
|
2226
2227
|
] });
|
|
2227
|
-
},
|
|
2228
|
-
pill:
|
|
2228
|
+
}, fr = "userChip-module__pill___DgFME", hr = {
|
|
2229
|
+
pill: fr
|
|
2229
2230
|
}, yn = ({
|
|
2230
2231
|
avatar: n,
|
|
2231
2232
|
name: r,
|
|
@@ -2239,7 +2240,7 @@ const Po = (n) => {
|
|
|
2239
2240
|
radius: "md",
|
|
2240
2241
|
p: "0px",
|
|
2241
2242
|
size: "md",
|
|
2242
|
-
className:
|
|
2243
|
+
className: hr.pill,
|
|
2243
2244
|
bg: "transparent",
|
|
2244
2245
|
children: /* @__PURE__ */ x(L, { gap: 4, wrap: "nowrap", style: { alignItems: "center" }, children: [
|
|
2245
2246
|
/* @__PURE__ */ e(
|
|
@@ -2254,7 +2255,7 @@ const Po = (n) => {
|
|
|
2254
2255
|
/* @__PURE__ */ e(E, { size: "sm", fw: 450, c: "var(--mantine-color-gray-9)", children: r })
|
|
2255
2256
|
] })
|
|
2256
2257
|
}
|
|
2257
|
-
),
|
|
2258
|
+
), pr = "200px", mr = "4px 8px", gr = 40, Ir = "var(--mantine-radius-md)", yr = 16, vr = ({
|
|
2258
2259
|
item: n,
|
|
2259
2260
|
withAvatars: r,
|
|
2260
2261
|
disabled: t = !1,
|
|
@@ -2274,11 +2275,11 @@ const Po = (n) => {
|
|
|
2274
2275
|
s.stopPropagation();
|
|
2275
2276
|
},
|
|
2276
2277
|
style: {
|
|
2277
|
-
minWidth:
|
|
2278
|
+
minWidth: pr,
|
|
2278
2279
|
backgroundColor: t ? "transparent" : a ? "var(--mantine-color-gray-1)" : "transparent",
|
|
2279
2280
|
cursor: t ? "default" : "pointer",
|
|
2280
|
-
borderRadius:
|
|
2281
|
-
padding:
|
|
2281
|
+
borderRadius: Ir,
|
|
2282
|
+
padding: mr,
|
|
2282
2283
|
transition: "background-color 0.2s ease",
|
|
2283
2284
|
opacity: t ? 0.5 : 1
|
|
2284
2285
|
},
|
|
@@ -2289,7 +2290,7 @@ const Po = (n) => {
|
|
|
2289
2290
|
wrap: "nowrap",
|
|
2290
2291
|
align: "flex-start",
|
|
2291
2292
|
style: { alignItems: "center" },
|
|
2292
|
-
h:
|
|
2293
|
+
h: gr,
|
|
2293
2294
|
children: [
|
|
2294
2295
|
r && n.avatar && /* @__PURE__ */ e(
|
|
2295
2296
|
"img",
|
|
@@ -2327,7 +2328,7 @@ const Po = (n) => {
|
|
|
2327
2328
|
i && /* @__PURE__ */ e(
|
|
2328
2329
|
an,
|
|
2329
2330
|
{
|
|
2330
|
-
size:
|
|
2331
|
+
size: yr,
|
|
2331
2332
|
color: "var(--mantine-color-gray-9)"
|
|
2332
2333
|
}
|
|
2333
2334
|
)
|
|
@@ -2336,7 +2337,7 @@ const Po = (n) => {
|
|
|
2336
2337
|
)
|
|
2337
2338
|
}
|
|
2338
2339
|
);
|
|
2339
|
-
},
|
|
2340
|
+
}, xr = "bottom-end", wr = 1e4, br = "24px", Mr = "0 8px", kr = "6px", Qn = "var(--mantine-radius-md)", Sr = "46px", Un = ({
|
|
2340
2341
|
value: n,
|
|
2341
2342
|
onChange: r,
|
|
2342
2343
|
data: t,
|
|
@@ -2360,7 +2361,7 @@ const Po = (n) => {
|
|
|
2360
2361
|
},
|
|
2361
2362
|
style: {
|
|
2362
2363
|
cursor: "pointer",
|
|
2363
|
-
height:
|
|
2364
|
+
height: Sr,
|
|
2364
2365
|
display: "flex",
|
|
2365
2366
|
alignItems: "center",
|
|
2366
2367
|
borderRadius: Qn,
|
|
@@ -2380,15 +2381,15 @@ const Po = (n) => {
|
|
|
2380
2381
|
s || (h(!0), z(!0));
|
|
2381
2382
|
},
|
|
2382
2383
|
style: {
|
|
2383
|
-
height:
|
|
2384
|
+
height: br,
|
|
2384
2385
|
cursor: s ? "not-allowed" : "pointer",
|
|
2385
2386
|
display: "inline-flex",
|
|
2386
2387
|
alignItems: "center",
|
|
2387
2388
|
borderRadius: Qn,
|
|
2388
2389
|
backgroundColor: s ? "transparent" : m || M ? "var(--mantine-color-gray-1)" : "transparent",
|
|
2389
2390
|
transition: "background-color 0.2s ease",
|
|
2390
|
-
padding:
|
|
2391
|
-
gap:
|
|
2391
|
+
padding: Mr,
|
|
2392
|
+
gap: kr,
|
|
2392
2393
|
width: "auto",
|
|
2393
2394
|
opacity: s ? 0.6 : 1,
|
|
2394
2395
|
...p
|
|
@@ -2428,10 +2429,10 @@ const Po = (n) => {
|
|
|
2428
2429
|
onChange: (y) => {
|
|
2429
2430
|
h(y), y || z(!1);
|
|
2430
2431
|
},
|
|
2431
|
-
position:
|
|
2432
|
+
position: xr,
|
|
2432
2433
|
shadow: "md",
|
|
2433
2434
|
withinPortal: !0,
|
|
2434
|
-
zIndex:
|
|
2435
|
+
zIndex: wr,
|
|
2435
2436
|
styles: d,
|
|
2436
2437
|
children: [
|
|
2437
2438
|
/* @__PURE__ */ e(Fe.Target, { children: S }),
|
|
@@ -2457,7 +2458,7 @@ const Po = (n) => {
|
|
|
2457
2458
|
(t || []).map((y) => {
|
|
2458
2459
|
const T = c.includes(y.value), B = y.value === n;
|
|
2459
2460
|
return /* @__PURE__ */ e(
|
|
2460
|
-
|
|
2461
|
+
vr,
|
|
2461
2462
|
{
|
|
2462
2463
|
item: y,
|
|
2463
2464
|
withAvatars: i,
|
|
@@ -2479,7 +2480,7 @@ const Po = (n) => {
|
|
|
2479
2480
|
]
|
|
2480
2481
|
}
|
|
2481
2482
|
);
|
|
2482
|
-
},
|
|
2483
|
+
}, Cr = (n, r, t, o) => {
|
|
2483
2484
|
const i = Z(null), a = Z(null), c = j(
|
|
2484
2485
|
(l) => {
|
|
2485
2486
|
l[0].isIntersecting && t && !o && r && r();
|
|
@@ -2506,7 +2507,7 @@ const Po = (n) => {
|
|
|
2506
2507
|
}, []), {
|
|
2507
2508
|
loadMoreRef: i
|
|
2508
2509
|
};
|
|
2509
|
-
},
|
|
2510
|
+
}, Or = ({
|
|
2510
2511
|
tableName: n,
|
|
2511
2512
|
data: r,
|
|
2512
2513
|
columns: t,
|
|
@@ -2532,7 +2533,7 @@ const Po = (n) => {
|
|
|
2532
2533
|
hasMore: O = !1,
|
|
2533
2534
|
onLoadMore: S
|
|
2534
2535
|
}) => {
|
|
2535
|
-
const [y, T] = C(""), [B, R] = C([]), { loadMoreRef: F } =
|
|
2536
|
+
const [y, T] = C(""), [B, R] = C([]), { loadMoreRef: F } = Cr(
|
|
2536
2537
|
M,
|
|
2537
2538
|
S || (() => {
|
|
2538
2539
|
}),
|
|
@@ -2835,10 +2836,10 @@ const Po = (n) => {
|
|
|
2835
2836
|
)
|
|
2836
2837
|
] });
|
|
2837
2838
|
};
|
|
2838
|
-
Object.assign(
|
|
2839
|
+
Object.assign(Or, {
|
|
2839
2840
|
// Future static methods or sub-components can be added here
|
|
2840
2841
|
});
|
|
2841
|
-
const
|
|
2842
|
+
const zr = ({
|
|
2842
2843
|
onAvatarSelect: n,
|
|
2843
2844
|
onEmojiSelect: r,
|
|
2844
2845
|
onImageSelect: t,
|
|
@@ -2900,7 +2901,7 @@ const Cr = ({
|
|
|
2900
2901
|
clearImagePreview: O,
|
|
2901
2902
|
resetState: S
|
|
2902
2903
|
};
|
|
2903
|
-
},
|
|
2904
|
+
}, Rr = ({
|
|
2904
2905
|
opened: n,
|
|
2905
2906
|
onClose: r,
|
|
2906
2907
|
popoverRef: t
|
|
@@ -2925,7 +2926,7 @@ const Cr = ({
|
|
|
2925
2926
|
handleClickOutside: o,
|
|
2926
2927
|
handleEscape: i
|
|
2927
2928
|
};
|
|
2928
|
-
},
|
|
2929
|
+
}, Dr = ({
|
|
2929
2930
|
selectedTab: n,
|
|
2930
2931
|
tabHovered: r,
|
|
2931
2932
|
onTabChange: t,
|
|
@@ -3083,7 +3084,7 @@ const Cr = ({
|
|
|
3083
3084
|
};
|
|
3084
3085
|
let Yn = !1;
|
|
3085
3086
|
Yn || (To({ data: nn }), Yn = !0);
|
|
3086
|
-
const
|
|
3087
|
+
const Tr = () => {
|
|
3087
3088
|
const n = [
|
|
3088
3089
|
{
|
|
3089
3090
|
id: "frequent",
|
|
@@ -3135,7 +3136,7 @@ const Rr = () => {
|
|
|
3135
3136
|
});
|
|
3136
3137
|
}
|
|
3137
3138
|
}), n;
|
|
3138
|
-
},
|
|
3139
|
+
}, Br = ({
|
|
3139
3140
|
onEmojiSelect: n,
|
|
3140
3141
|
height: r = 200
|
|
3141
3142
|
}) => {
|
|
@@ -3145,7 +3146,7 @@ const Rr = () => {
|
|
|
3145
3146
|
return m ? JSON.parse(m) : [];
|
|
3146
3147
|
}
|
|
3147
3148
|
return [];
|
|
3148
|
-
}), [l, d] = C([]), [u, p] = C(!1), f =
|
|
3149
|
+
}), [l, d] = C([]), [u, p] = C(!1), f = Tr();
|
|
3149
3150
|
G(() => {
|
|
3150
3151
|
t.trim() ? (p(!0), Bo.search(t).then((m) => {
|
|
3151
3152
|
d(
|
|
@@ -4334,7 +4335,7 @@ const He = [
|
|
|
4334
4335
|
name: "Communication",
|
|
4335
4336
|
icons: Ot
|
|
4336
4337
|
}
|
|
4337
|
-
],
|
|
4338
|
+
], Er = {
|
|
4338
4339
|
recent: /* @__PURE__ */ e(ct, { size: 20, strokeWidth: 2.5 }),
|
|
4339
4340
|
user: /* @__PURE__ */ e(Bn, { size: 20, strokeWidth: 2.5 }),
|
|
4340
4341
|
business: /* @__PURE__ */ e(wo, { size: 20, strokeWidth: 2.5 }),
|
|
@@ -4344,11 +4345,11 @@ const He = [
|
|
|
4344
4345
|
shapes: /* @__PURE__ */ e(Mo, { size: 20, strokeWidth: 2.5 }),
|
|
4345
4346
|
actions: /* @__PURE__ */ e(ko, { size: 20, strokeWidth: 2.5 }),
|
|
4346
4347
|
communication: /* @__PURE__ */ e(So, { size: 20, strokeWidth: 2.5 })
|
|
4347
|
-
},
|
|
4348
|
+
}, Ar = ({
|
|
4348
4349
|
selectedCategory: n,
|
|
4349
4350
|
onCategoryChange: r
|
|
4350
4351
|
}) => /* @__PURE__ */ e(nt, { gap: "0px", justify: "center", wrap: "wrap", children: He.map((t) => {
|
|
4351
|
-
const o =
|
|
4352
|
+
const o = Er[t.id];
|
|
4352
4353
|
return /* @__PURE__ */ e(
|
|
4353
4354
|
Ue,
|
|
4354
4355
|
{
|
|
@@ -4509,7 +4510,7 @@ const He = [
|
|
|
4509
4510
|
py: "xs",
|
|
4510
4511
|
style: { borderTop: "1px solid var(--mantine-color-gray-3)" },
|
|
4511
4512
|
children: /* @__PURE__ */ e(
|
|
4512
|
-
|
|
4513
|
+
Ar,
|
|
4513
4514
|
{
|
|
4514
4515
|
selectedCategory: i,
|
|
4515
4516
|
onCategoryChange: g
|
|
@@ -4521,7 +4522,7 @@ const He = [
|
|
|
4521
4522
|
}
|
|
4522
4523
|
);
|
|
4523
4524
|
zt.displayName = "IconGrid";
|
|
4524
|
-
const
|
|
4525
|
+
const Lr = ({
|
|
4525
4526
|
previewImage: n,
|
|
4526
4527
|
fileInputRef: r,
|
|
4527
4528
|
selectedEmoji: t,
|
|
@@ -4621,7 +4622,7 @@ const Er = ({
|
|
|
4621
4622
|
)
|
|
4622
4623
|
] }),
|
|
4623
4624
|
/* @__PURE__ */ e(E, { size: "xs", c: "var(--mantine-color-gray-6)", ta: "center", children: "Supported formats: JPG, PNG, GIF, WebP" })
|
|
4624
|
-
] }) }),
|
|
4625
|
+
] }) }), jr = ({ onEmojiSelect: n }) => /* @__PURE__ */ e(Br, { onEmojiSelect: n, height: 358 }), Fr = ({ onIconSelect: n }) => /* @__PURE__ */ e(zt, { onIconSelect: n, height: 358 }), Nr = ({
|
|
4625
4626
|
previewImage: n,
|
|
4626
4627
|
selectedEmoji: r,
|
|
4627
4628
|
size: t,
|
|
@@ -4632,7 +4633,7 @@ const Er = ({
|
|
|
4632
4633
|
onClearImagePreview: s,
|
|
4633
4634
|
fileInputRef: l
|
|
4634
4635
|
}) => /* @__PURE__ */ e(
|
|
4635
|
-
|
|
4636
|
+
Lr,
|
|
4636
4637
|
{
|
|
4637
4638
|
previewImage: n,
|
|
4638
4639
|
fileInputRef: l,
|
|
@@ -4644,7 +4645,7 @@ const Er = ({
|
|
|
4644
4645
|
onImageAccept: c,
|
|
4645
4646
|
onClearImagePreview: s
|
|
4646
4647
|
}
|
|
4647
|
-
),
|
|
4648
|
+
), Ur = () => /* @__PURE__ */ e(
|
|
4648
4649
|
b,
|
|
4649
4650
|
{
|
|
4650
4651
|
style: {
|
|
@@ -4693,10 +4694,10 @@ const Er = ({
|
|
|
4693
4694
|
handleIconSelect: F,
|
|
4694
4695
|
clearImagePreview: _,
|
|
4695
4696
|
resetState: Y
|
|
4696
|
-
} =
|
|
4697
|
+
} = zr({
|
|
4697
4698
|
onAvatarSelect: a
|
|
4698
4699
|
});
|
|
4699
|
-
|
|
4700
|
+
Rr({
|
|
4700
4701
|
opened: r,
|
|
4701
4702
|
onClose: o,
|
|
4702
4703
|
popoverRef: g
|
|
@@ -4729,8 +4730,8 @@ const Er = ({
|
|
|
4729
4730
|
!l && !r && t();
|
|
4730
4731
|
}
|
|
4731
4732
|
}
|
|
4732
|
-
), N = /* @__PURE__ */ e(
|
|
4733
|
-
|
|
4733
|
+
), N = /* @__PURE__ */ e(jr, { onEmojiSelect: V }), P = /* @__PURE__ */ e(Fr, { onIconSelect: U }), J = /* @__PURE__ */ e(
|
|
4734
|
+
Nr,
|
|
4734
4735
|
{
|
|
4735
4736
|
previewImage: k,
|
|
4736
4737
|
selectedEmoji: M,
|
|
@@ -4743,7 +4744,7 @@ const Er = ({
|
|
|
4743
4744
|
fileInputRef: h
|
|
4744
4745
|
}
|
|
4745
4746
|
), de = /* @__PURE__ */ e(b, { children: /* @__PURE__ */ e(
|
|
4746
|
-
|
|
4747
|
+
Dr,
|
|
4747
4748
|
{
|
|
4748
4749
|
selectedTab: w,
|
|
4749
4750
|
tabHovered: v,
|
|
@@ -4776,7 +4777,7 @@ const Er = ({
|
|
|
4776
4777
|
ref: g,
|
|
4777
4778
|
p: 0,
|
|
4778
4779
|
style: { width: "auto", overflow: "hidden", zIndex: I },
|
|
4779
|
-
children: /* @__PURE__ */ e(no, { fallback: /* @__PURE__ */ e(
|
|
4780
|
+
children: /* @__PURE__ */ e(no, { fallback: /* @__PURE__ */ e(Ur, {}), children: de })
|
|
4780
4781
|
}
|
|
4781
4782
|
)
|
|
4782
4783
|
]
|
|
@@ -4791,15 +4792,15 @@ const Er = ({
|
|
|
4791
4792
|
showPlaceholder: u
|
|
4792
4793
|
}
|
|
4793
4794
|
) });
|
|
4794
|
-
},
|
|
4795
|
+
}, Wr = (n) => {
|
|
4795
4796
|
if (!n || typeof n != "string")
|
|
4796
4797
|
return !1;
|
|
4797
4798
|
const r = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
|
|
4798
4799
|
return n.length < 5 || n.length > 254 ? !1 : r.test(n.trim());
|
|
4799
|
-
},
|
|
4800
|
+
}, $r = (n) => {
|
|
4800
4801
|
const r = [];
|
|
4801
4802
|
return n.forEach((t) => {
|
|
4802
|
-
|
|
4803
|
+
Wr(t) || r.push({
|
|
4803
4804
|
email: t,
|
|
4804
4805
|
error: "Please enter a valid email address"
|
|
4805
4806
|
});
|
|
@@ -4807,7 +4808,7 @@ const Er = ({
|
|
|
4807
4808
|
isValid: r.length === 0,
|
|
4808
4809
|
errors: r
|
|
4809
4810
|
};
|
|
4810
|
-
},
|
|
4811
|
+
}, Hr = (n) => {
|
|
4811
4812
|
const r = [], t = /* @__PURE__ */ new Set();
|
|
4812
4813
|
return n.forEach((o) => {
|
|
4813
4814
|
const i = o.toLowerCase().trim();
|
|
@@ -4816,13 +4817,13 @@ const Er = ({
|
|
|
4816
4817
|
error: "This email has already been added"
|
|
4817
4818
|
}) : t.add(i);
|
|
4818
4819
|
}), r;
|
|
4819
|
-
},
|
|
4820
|
-
const r =
|
|
4820
|
+
}, Pr = (n) => {
|
|
4821
|
+
const r = $r(n), t = Hr(n), o = [...r.errors, ...t];
|
|
4821
4822
|
return {
|
|
4822
4823
|
isValid: o.length === 0,
|
|
4823
4824
|
errors: o
|
|
4824
4825
|
};
|
|
4825
|
-
},
|
|
4826
|
+
}, _r = ({
|
|
4826
4827
|
value: n,
|
|
4827
4828
|
onChange: r,
|
|
4828
4829
|
onInputChange: t,
|
|
@@ -4841,7 +4842,7 @@ const Er = ({
|
|
|
4841
4842
|
t && t(a);
|
|
4842
4843
|
}, [a, t]), G(() => {
|
|
4843
4844
|
if (n.length > 0) {
|
|
4844
|
-
const g =
|
|
4845
|
+
const g = Pr(n);
|
|
4845
4846
|
l(g.errors);
|
|
4846
4847
|
} else
|
|
4847
4848
|
l([]);
|
|
@@ -4985,7 +4986,7 @@ const Er = ({
|
|
|
4985
4986
|
handleEmailChange: w,
|
|
4986
4987
|
clearInput: v,
|
|
4987
4988
|
handleInvite: k
|
|
4988
|
-
} =
|
|
4989
|
+
} = _r({
|
|
4989
4990
|
value: n,
|
|
4990
4991
|
onChange: r,
|
|
4991
4992
|
onInputChange: s,
|
|
@@ -5116,7 +5117,7 @@ const Er = ({
|
|
|
5116
5117
|
] })
|
|
5117
5118
|
] });
|
|
5118
5119
|
}
|
|
5119
|
-
),
|
|
5120
|
+
), Vr = (n) => {
|
|
5120
5121
|
switch (n) {
|
|
5121
5122
|
case "member":
|
|
5122
5123
|
return "green";
|
|
@@ -5131,7 +5132,7 @@ const Er = ({
|
|
|
5131
5132
|
default:
|
|
5132
5133
|
return "gray";
|
|
5133
5134
|
}
|
|
5134
|
-
},
|
|
5135
|
+
}, Gr = (n) => {
|
|
5135
5136
|
switch (n) {
|
|
5136
5137
|
case "member":
|
|
5137
5138
|
return "Member";
|
|
@@ -5146,7 +5147,7 @@ const Er = ({
|
|
|
5146
5147
|
default:
|
|
5147
5148
|
return "Unknown";
|
|
5148
5149
|
}
|
|
5149
|
-
},
|
|
5150
|
+
}, Qr = (n) => {
|
|
5150
5151
|
if (n) {
|
|
5151
5152
|
if (typeof n == "object" && "type" in n)
|
|
5152
5153
|
return n;
|
|
@@ -5195,7 +5196,7 @@ const Er = ({
|
|
|
5195
5196
|
/* @__PURE__ */ e(
|
|
5196
5197
|
Oe,
|
|
5197
5198
|
{
|
|
5198
|
-
avatar:
|
|
5199
|
+
avatar: Qr(n.avatar),
|
|
5199
5200
|
size: "md",
|
|
5200
5201
|
placeholder: l,
|
|
5201
5202
|
showPlaceholder: !0
|
|
@@ -5212,9 +5213,9 @@ const Er = ({
|
|
|
5212
5213
|
{
|
|
5213
5214
|
size: "xs",
|
|
5214
5215
|
variant: "light",
|
|
5215
|
-
color:
|
|
5216
|
+
color: Vr(n.status),
|
|
5216
5217
|
radius: "sm",
|
|
5217
|
-
children:
|
|
5218
|
+
children: Gr(n.status)
|
|
5218
5219
|
}
|
|
5219
5220
|
)
|
|
5220
5221
|
] }),
|
|
@@ -5248,7 +5249,7 @@ const Er = ({
|
|
|
5248
5249
|
]
|
|
5249
5250
|
}
|
|
5250
5251
|
);
|
|
5251
|
-
},
|
|
5252
|
+
}, Yr = ({
|
|
5252
5253
|
opened: n,
|
|
5253
5254
|
onClose: r,
|
|
5254
5255
|
onInvite: t,
|
|
@@ -5483,7 +5484,7 @@ const Er = ({
|
|
|
5483
5484
|
children: V
|
|
5484
5485
|
}
|
|
5485
5486
|
);
|
|
5486
|
-
},
|
|
5487
|
+
}, qi = ({
|
|
5487
5488
|
onInvite: n,
|
|
5488
5489
|
onUpdateRole: r,
|
|
5489
5490
|
onRemoveUser: t,
|
|
@@ -5495,7 +5496,7 @@ const Er = ({
|
|
|
5495
5496
|
}) => {
|
|
5496
5497
|
const [l, d] = C(!1);
|
|
5497
5498
|
return /* @__PURE__ */ e(
|
|
5498
|
-
|
|
5499
|
+
Yr,
|
|
5499
5500
|
{
|
|
5500
5501
|
opened: l,
|
|
5501
5502
|
onClose: () => d(!1),
|
|
@@ -5516,7 +5517,7 @@ const Er = ({
|
|
|
5516
5517
|
)
|
|
5517
5518
|
}
|
|
5518
5519
|
);
|
|
5519
|
-
},
|
|
5520
|
+
}, Xi = ({
|
|
5520
5521
|
opened: n,
|
|
5521
5522
|
onClose: r,
|
|
5522
5523
|
onInvite: t,
|
|
@@ -5659,7 +5660,7 @@ const Er = ({
|
|
|
5659
5660
|
] })
|
|
5660
5661
|
}
|
|
5661
5662
|
);
|
|
5662
|
-
},
|
|
5663
|
+
}, Ki = ({
|
|
5663
5664
|
opened: n,
|
|
5664
5665
|
onClose: r,
|
|
5665
5666
|
options: t = [],
|
|
@@ -5753,7 +5754,7 @@ const Er = ({
|
|
|
5753
5754
|
]
|
|
5754
5755
|
}
|
|
5755
5756
|
);
|
|
5756
|
-
},
|
|
5757
|
+
}, Zr = (n, r = "es") => {
|
|
5757
5758
|
const t = /* @__PURE__ */ new Date(), o = typeof n == "string" ? new Date(n) : n, i = Math.floor((t.getTime() - o.getTime()) / 1e3), a = {
|
|
5758
5759
|
es: {
|
|
5759
5760
|
now: "ahora",
|
|
@@ -5813,19 +5814,19 @@ const Er = ({
|
|
|
5813
5814
|
return r === "es" ? `${c.ago} ${p} ${p === 1 ? c.month : c.months}` : `${p} ${p === 1 ? c.month : c.months} ${c.ago}`;
|
|
5814
5815
|
const f = Math.floor(d / 365);
|
|
5815
5816
|
return r === "es" ? `${c.ago} ${f} ${f === 1 ? c.year : c.years}` : `${f} ${f === 1 ? c.year : c.years} ${c.ago}`;
|
|
5816
|
-
},
|
|
5817
|
+
}, qr = (n, r = "es") => {
|
|
5817
5818
|
const t = typeof n == "string" ? new Date(n) : n, o = {
|
|
5818
5819
|
es: ["Ene", "Feb", "Mar", "Abr", "May", "Jun", "Jul", "Ago", "Sep", "Oct", "Nov", "Dic"],
|
|
5819
5820
|
en: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]
|
|
5820
5821
|
}, a = (o[r] || o.en)[t.getMonth()], c = t.getDate();
|
|
5821
5822
|
return r === "es" ? `${c} ${a}` : `${a} ${c}`;
|
|
5822
|
-
},
|
|
5823
|
+
}, Xr = (n) => {
|
|
5823
5824
|
const r = typeof n == "string" ? new Date(n) : n, t = /* @__PURE__ */ new Date();
|
|
5824
5825
|
return r.toDateString() === t.toDateString();
|
|
5825
|
-
},
|
|
5826
|
+
}, Kr = (n) => {
|
|
5826
5827
|
const r = typeof n == "string" ? new Date(n) : n, t = /* @__PURE__ */ new Date();
|
|
5827
5828
|
return t.setDate(t.getDate() - 1), r.toDateString() === t.toDateString();
|
|
5828
|
-
},
|
|
5829
|
+
}, Jr = (n, r = "es") => Xr(n) ? r === "es" ? "Hoy" : "Today" : Kr(n) ? r === "es" ? "Ayer" : "Yesterday" : Zr(n, r), ei = ({
|
|
5829
5830
|
notification: n,
|
|
5830
5831
|
message: r,
|
|
5831
5832
|
markAsRead: t,
|
|
@@ -5834,7 +5835,7 @@ const Er = ({
|
|
|
5834
5835
|
actions: a
|
|
5835
5836
|
}) => {
|
|
5836
5837
|
var u, p, f, I, h;
|
|
5837
|
-
const c = (/* @__PURE__ */ new Date()).getTime() - new Date(n.timestamp).getTime() < 6048e5 ?
|
|
5838
|
+
const c = (/* @__PURE__ */ new Date()).getTime() - new Date(n.timestamp).getTime() < 6048e5 ? Jr(n.timestamp, "en") : qr(n.timestamp, "en"), [s, l] = C(!1), d = /* @__PURE__ */ x(
|
|
5838
5839
|
L,
|
|
5839
5840
|
{
|
|
5840
5841
|
bg: "var(--mantine-color-gray-1)",
|
|
@@ -5948,7 +5949,7 @@ const Er = ({
|
|
|
5948
5949
|
]
|
|
5949
5950
|
}
|
|
5950
5951
|
);
|
|
5951
|
-
},
|
|
5952
|
+
}, ni = (n, r, t, o, i) => {
|
|
5952
5953
|
const [a, c] = C(!1), s = Z(null), l = Z(null), d = Z(null);
|
|
5953
5954
|
G(() => {
|
|
5954
5955
|
c(n);
|
|
@@ -5993,7 +5994,7 @@ const Er = ({
|
|
|
5993
5994
|
isActive: a,
|
|
5994
5995
|
loadMoreRef: s
|
|
5995
5996
|
};
|
|
5996
|
-
},
|
|
5997
|
+
}, Ji = ({
|
|
5997
5998
|
notifications: n,
|
|
5998
5999
|
isLoading: r = !1,
|
|
5999
6000
|
isLoadingMore: t = !1,
|
|
@@ -6045,7 +6046,7 @@ const Er = ({
|
|
|
6045
6046
|
active: p === "archived"
|
|
6046
6047
|
}
|
|
6047
6048
|
], k = (O) => f && O.category && ["welcome", "upgrade"].includes(O.category) ? f(O, s, l) : /* @__PURE__ */ e(
|
|
6048
|
-
|
|
6049
|
+
ei,
|
|
6049
6050
|
{
|
|
6050
6051
|
notification: O,
|
|
6051
6052
|
markAsRead: s,
|
|
@@ -6054,7 +6055,7 @@ const Er = ({
|
|
|
6054
6055
|
actions: O.actions
|
|
6055
6056
|
},
|
|
6056
6057
|
O.id
|
|
6057
|
-
), { isActive: M, loadMoreRef: z } =
|
|
6058
|
+
), { isActive: M, loadMoreRef: z } = ni(
|
|
6058
6059
|
I,
|
|
6059
6060
|
m,
|
|
6060
6061
|
d || (() => {
|
|
@@ -6283,7 +6284,7 @@ const Er = ({
|
|
|
6283
6284
|
]
|
|
6284
6285
|
}
|
|
6285
6286
|
);
|
|
6286
|
-
}, Tt = Sn(void 0),
|
|
6287
|
+
}, Tt = Sn(void 0), ea = ({
|
|
6287
6288
|
children: n
|
|
6288
6289
|
}) => {
|
|
6289
6290
|
const [
|
|
@@ -6295,12 +6296,12 @@ const Er = ({
|
|
|
6295
6296
|
closeNotificationSidebar: o
|
|
6296
6297
|
};
|
|
6297
6298
|
return /* @__PURE__ */ e(Tt.Provider, { value: i, children: n });
|
|
6298
|
-
},
|
|
6299
|
+
}, na = () => {
|
|
6299
6300
|
const n = Cn(Tt);
|
|
6300
6301
|
if (n === void 0)
|
|
6301
6302
|
throw new Error("useNavbar must be used within an NavbarProvider");
|
|
6302
6303
|
return n;
|
|
6303
|
-
},
|
|
6304
|
+
}, ti = ({
|
|
6304
6305
|
workspace: n,
|
|
6305
6306
|
currentUserId: r,
|
|
6306
6307
|
currentWorkspaceId: t,
|
|
@@ -6371,12 +6372,12 @@ const Er = ({
|
|
|
6371
6372
|
]
|
|
6372
6373
|
}
|
|
6373
6374
|
);
|
|
6374
|
-
},
|
|
6375
|
-
menuItem:
|
|
6376
|
-
workspaceButton:
|
|
6377
|
-
workspaceText:
|
|
6378
|
-
scrollWrapper:
|
|
6379
|
-
},
|
|
6375
|
+
}, oi = "workspace-selector-module__menuItem___FSB6P", ri = "workspace-selector-module__workspaceButton___-P6kp", ii = "workspace-selector-module__workspaceText___YDAlj", ai = "workspace-selector-module__scrollWrapper___MzrJY", vn = {
|
|
6376
|
+
menuItem: oi,
|
|
6377
|
+
workspaceButton: ri,
|
|
6378
|
+
workspaceText: ii,
|
|
6379
|
+
scrollWrapper: ai
|
|
6380
|
+
}, ta = ({
|
|
6380
6381
|
workspaces: n = [],
|
|
6381
6382
|
currentWorkspace: r,
|
|
6382
6383
|
currentUserId: t,
|
|
@@ -6461,8 +6462,8 @@ const Er = ({
|
|
|
6461
6462
|
E,
|
|
6462
6463
|
{
|
|
6463
6464
|
size: "sm",
|
|
6464
|
-
fw:
|
|
6465
|
-
c: "gray
|
|
6465
|
+
fw: 550,
|
|
6466
|
+
c: "var(--mantine-color-gray-9)",
|
|
6466
6467
|
truncate: !0,
|
|
6467
6468
|
style: { flex: 1, minWidth: 0 },
|
|
6468
6469
|
children: r.name
|
|
@@ -6499,7 +6500,8 @@ const Er = ({
|
|
|
6499
6500
|
pe.Dropdown,
|
|
6500
6501
|
{
|
|
6501
6502
|
style: {
|
|
6502
|
-
borderRadius: "var(--mantine-radius-md)"
|
|
6503
|
+
borderRadius: "var(--mantine-radius-md)",
|
|
6504
|
+
boxShadow: "var(--mantine-shadow-md)"
|
|
6503
6505
|
},
|
|
6504
6506
|
p: 0,
|
|
6505
6507
|
children: /* @__PURE__ */ x(W, { gap: 0, children: [
|
|
@@ -6546,7 +6548,7 @@ const Er = ({
|
|
|
6546
6548
|
y.currentTarget.style.backgroundColor = "transparent";
|
|
6547
6549
|
},
|
|
6548
6550
|
children: /* @__PURE__ */ e(
|
|
6549
|
-
|
|
6551
|
+
ti,
|
|
6550
6552
|
{
|
|
6551
6553
|
workspace: S,
|
|
6552
6554
|
currentUserId: t,
|
|
@@ -7407,7 +7409,7 @@ const qe = ({
|
|
|
7407
7409
|
]
|
|
7408
7410
|
}
|
|
7409
7411
|
);
|
|
7410
|
-
},
|
|
7412
|
+
}, ci = (n) => {
|
|
7411
7413
|
const {
|
|
7412
7414
|
totalBlocksLeft: r = 0,
|
|
7413
7415
|
totalBlocksRight: t = 0,
|
|
@@ -7625,7 +7627,7 @@ const qe = ({
|
|
|
7625
7627
|
}, [])
|
|
7626
7628
|
};
|
|
7627
7629
|
return [u, I, f];
|
|
7628
|
-
},
|
|
7630
|
+
}, si = (n, r = 0, t = 0, o = 0, i = 0) => {
|
|
7629
7631
|
const [a, c] = C({
|
|
7630
7632
|
width: typeof window < "u" ? window.innerWidth : 1920,
|
|
7631
7633
|
height: typeof window < "u" ? window.innerHeight : 1080
|
|
@@ -7739,7 +7741,7 @@ const qe = ({
|
|
|
7739
7741
|
blocksDown: D
|
|
7740
7742
|
};
|
|
7741
7743
|
}, [a, n, r, t, o, i]);
|
|
7742
|
-
},
|
|
7744
|
+
}, li = ({
|
|
7743
7745
|
gap: n,
|
|
7744
7746
|
cellSize: r,
|
|
7745
7747
|
blocksLeft: t,
|
|
@@ -7768,7 +7770,7 @@ const qe = ({
|
|
|
7768
7770
|
const y = X(
|
|
7769
7771
|
() => c !== void 0 || s !== void 0 || l !== void 0 || d !== void 0,
|
|
7770
7772
|
[c, s, l, d]
|
|
7771
|
-
), T =
|
|
7773
|
+
), T = si(
|
|
7772
7774
|
{
|
|
7773
7775
|
gap: n,
|
|
7774
7776
|
cellSize: r,
|
|
@@ -7836,7 +7838,7 @@ const qe = ({
|
|
|
7836
7838
|
finalCellSize: F,
|
|
7837
7839
|
gridDimensions: _
|
|
7838
7840
|
};
|
|
7839
|
-
},
|
|
7841
|
+
}, di = ({
|
|
7840
7842
|
blockItems: n
|
|
7841
7843
|
}) => {
|
|
7842
7844
|
const r = X(() => n.reduce((i, a) => (i[a.id] = a, i), {}), [n]);
|
|
@@ -7882,7 +7884,7 @@ const qe = ({
|
|
|
7882
7884
|
return l.join(", ");
|
|
7883
7885
|
}
|
|
7884
7886
|
};
|
|
7885
|
-
},
|
|
7887
|
+
}, ui = ({ blockConnections: n }) => {
|
|
7886
7888
|
const r = X(() => {
|
|
7887
7889
|
const o = /* @__PURE__ */ new Map();
|
|
7888
7890
|
return n.forEach((i) => {
|
|
@@ -7902,7 +7904,7 @@ const qe = ({
|
|
|
7902
7904
|
return "empty";
|
|
7903
7905
|
}
|
|
7904
7906
|
};
|
|
7905
|
-
},
|
|
7907
|
+
}, fi = ({
|
|
7906
7908
|
usePagination: n,
|
|
7907
7909
|
totalBlocksLeft: r,
|
|
7908
7910
|
totalBlocksRight: t,
|
|
@@ -7957,7 +7959,7 @@ const qe = ({
|
|
|
7957
7959
|
};
|
|
7958
7960
|
}
|
|
7959
7961
|
};
|
|
7960
|
-
},
|
|
7962
|
+
}, hi = ({
|
|
7961
7963
|
blockItems: n,
|
|
7962
7964
|
blockConnections: r
|
|
7963
7965
|
}) => {
|
|
@@ -8052,7 +8054,7 @@ const qe = ({
|
|
|
8052
8054
|
clearFiltering: h,
|
|
8053
8055
|
getFilteredBlockIds: l
|
|
8054
8056
|
};
|
|
8055
|
-
}, qn = (n) => parseInt(n.replace(/[^\d]/g, ""), 10) || 0,
|
|
8057
|
+
}, qn = (n) => parseInt(n.replace(/[^\d]/g, ""), 10) || 0, pi = (n, r) => {
|
|
8056
8058
|
const [t, o] = C({ width: 0, height: 0 }), i = j(() => {
|
|
8057
8059
|
const { width: a, height: c } = t;
|
|
8058
8060
|
if (a === 0 || c === 0)
|
|
@@ -8101,7 +8103,7 @@ const qe = ({
|
|
|
8101
8103
|
c.disconnect();
|
|
8102
8104
|
};
|
|
8103
8105
|
}, [n]), i();
|
|
8104
|
-
},
|
|
8106
|
+
}, mi = {
|
|
8105
8107
|
verticalMinPercent: 20,
|
|
8106
8108
|
// Minimum 20% of height for vertical blocks
|
|
8107
8109
|
verticalMaxPercent: 50,
|
|
@@ -8116,7 +8118,7 @@ const qe = ({
|
|
|
8116
8118
|
// Minimum 4 total horizontal blocks (2 left + 2 right)
|
|
8117
8119
|
cellSize: "50px",
|
|
8118
8120
|
gap: "8px"
|
|
8119
|
-
},
|
|
8121
|
+
}, gi = ({
|
|
8120
8122
|
children: n,
|
|
8121
8123
|
style: r,
|
|
8122
8124
|
gap: t = "8px",
|
|
@@ -8167,8 +8169,8 @@ const qe = ({
|
|
|
8167
8169
|
directionTexts: A,
|
|
8168
8170
|
...N
|
|
8169
8171
|
}) => {
|
|
8170
|
-
const P = Z(null), J =
|
|
8171
|
-
...
|
|
8172
|
+
const P = Z(null), J = pi(P, {
|
|
8173
|
+
...mi,
|
|
8172
8174
|
cellSize: o,
|
|
8173
8175
|
gap: t,
|
|
8174
8176
|
...c
|
|
@@ -8180,7 +8182,7 @@ const qe = ({
|
|
|
8180
8182
|
finalBlocks: ee,
|
|
8181
8183
|
finalCellSize: ye,
|
|
8182
8184
|
gridDimensions: Qe
|
|
8183
|
-
} =
|
|
8185
|
+
} = li({
|
|
8184
8186
|
gap: t,
|
|
8185
8187
|
cellSize: o,
|
|
8186
8188
|
blocksLeft: de,
|
|
@@ -8205,11 +8207,11 @@ const qe = ({
|
|
|
8205
8207
|
responsiveCellSize: $,
|
|
8206
8208
|
minCellSize: q,
|
|
8207
8209
|
maxCellSize: D
|
|
8208
|
-
}), { getBlockContent: Ye, getIntersectionText: Qt } =
|
|
8210
|
+
}), { getBlockContent: Ye, getIntersectionText: Qt } = di({
|
|
8209
8211
|
blockItems: f
|
|
8210
|
-
}), { getConnectionStateFromText: Yt } =
|
|
8212
|
+
}), { getConnectionStateFromText: Yt } = ui({
|
|
8211
8213
|
blockConnections: I
|
|
8212
|
-
}), ne =
|
|
8214
|
+
}), ne = hi({
|
|
8213
8215
|
blockItems: f,
|
|
8214
8216
|
blockConnections: I
|
|
8215
8217
|
});
|
|
@@ -8221,7 +8223,7 @@ const qe = ({
|
|
|
8221
8223
|
};
|
|
8222
8224
|
return window.addEventListener("keydown", dn), () => window.removeEventListener("keydown", dn);
|
|
8223
8225
|
}, [h, ne]);
|
|
8224
|
-
const [ve, Zt, qt] =
|
|
8226
|
+
const [ve, Zt, qt] = ci({
|
|
8225
8227
|
totalBlocksLeft: m ?? 0,
|
|
8226
8228
|
totalBlocksRight: w ?? 0,
|
|
8227
8229
|
totalBlocksUp: v ?? 0,
|
|
@@ -8230,7 +8232,7 @@ const qe = ({
|
|
|
8230
8232
|
visibleBlocksRight: ee.right,
|
|
8231
8233
|
visibleBlocksUp: ee.up,
|
|
8232
8234
|
visibleBlocksDown: ee.down
|
|
8233
|
-
}), { getNavigationControlProps: Re } =
|
|
8235
|
+
}), { getNavigationControlProps: Re } = fi({
|
|
8234
8236
|
usePagination: Gt,
|
|
8235
8237
|
totalBlocksLeft: m,
|
|
8236
8238
|
totalBlocksRight: w,
|
|
@@ -8262,7 +8264,7 @@ const qe = ({
|
|
|
8262
8264
|
children: [
|
|
8263
8265
|
Array.from({ length: Qe.totalRows }, (dn, ae) => Array.from(
|
|
8264
8266
|
{ length: Qe.totalColumns },
|
|
8265
|
-
(
|
|
8267
|
+
(Ai, ue) => {
|
|
8266
8268
|
const un = ee.up > 0 ? ae === ee.up : ae === 0, fn = ue === ee.left;
|
|
8267
8269
|
if (un && fn)
|
|
8268
8270
|
return /* @__PURE__ */ x(
|
|
@@ -8450,7 +8452,7 @@ const qe = ({
|
|
|
8450
8452
|
}
|
|
8451
8453
|
);
|
|
8452
8454
|
};
|
|
8453
|
-
|
|
8455
|
+
gi.displayName = "Matrix";
|
|
8454
8456
|
const Ae = ({
|
|
8455
8457
|
editable: n = !1,
|
|
8456
8458
|
children: r,
|
|
@@ -8512,7 +8514,7 @@ const Ae = ({
|
|
|
8512
8514
|
}
|
|
8513
8515
|
)
|
|
8514
8516
|
] });
|
|
8515
|
-
},
|
|
8517
|
+
}, oa = ({
|
|
8516
8518
|
label: n,
|
|
8517
8519
|
icon: r,
|
|
8518
8520
|
value: t,
|
|
@@ -8543,7 +8545,7 @@ const Ae = ({
|
|
|
8543
8545
|
icon: r,
|
|
8544
8546
|
value: /* @__PURE__ */ e(E, { size: "sm", c: t ? void 0 : "dimmed", fw: 500, truncate: !0, children: t || a || "—" })
|
|
8545
8547
|
}
|
|
8546
|
-
),
|
|
8548
|
+
), ra = ({
|
|
8547
8549
|
label: n,
|
|
8548
8550
|
icon: r,
|
|
8549
8551
|
href: t,
|
|
@@ -8556,7 +8558,7 @@ const Ae = ({
|
|
|
8556
8558
|
icon: r,
|
|
8557
8559
|
value: /* @__PURE__ */ e(rt, { href: t, target: i, size: "sm", underline: "hover", children: o || t })
|
|
8558
8560
|
}
|
|
8559
|
-
),
|
|
8561
|
+
), ia = ({
|
|
8560
8562
|
label: n,
|
|
8561
8563
|
icon: r,
|
|
8562
8564
|
value: t,
|
|
@@ -8599,11 +8601,11 @@ const Ae = ({
|
|
|
8599
8601
|
value: /* @__PURE__ */ e(E, { size: "sm", c: s !== null ? void 0 : "dimmed", children: l || c || "—" })
|
|
8600
8602
|
}
|
|
8601
8603
|
);
|
|
8602
|
-
},
|
|
8604
|
+
}, Ii = 300, yi = ({
|
|
8603
8605
|
users: n,
|
|
8604
8606
|
onSearch: r,
|
|
8605
8607
|
debounceSearch: t = !0,
|
|
8606
|
-
debounceDelay: o =
|
|
8608
|
+
debounceDelay: o = Ii
|
|
8607
8609
|
}) => {
|
|
8608
8610
|
const [i, a] = C(""), [c, s] = C(n), [l, d] = C(!1), u = Z(null);
|
|
8609
8611
|
return G(() => {
|
|
@@ -8638,7 +8640,7 @@ const Ae = ({
|
|
|
8638
8640
|
setDisplayedUsers: s,
|
|
8639
8641
|
isSearching: l
|
|
8640
8642
|
};
|
|
8641
|
-
},
|
|
8643
|
+
}, vi = ({
|
|
8642
8644
|
value: n,
|
|
8643
8645
|
multiple: r,
|
|
8644
8646
|
users: t,
|
|
@@ -8666,7 +8668,7 @@ const Ae = ({
|
|
|
8666
8668
|
selectedUsers: s,
|
|
8667
8669
|
sortedUsers: d
|
|
8668
8670
|
};
|
|
8669
|
-
},
|
|
8671
|
+
}, xi = ({
|
|
8670
8672
|
isFocused: n,
|
|
8671
8673
|
dropdownRef: r
|
|
8672
8674
|
}) => {
|
|
@@ -8707,7 +8709,7 @@ const Ae = ({
|
|
|
8707
8709
|
placement: t,
|
|
8708
8710
|
dropdownRefCallback: i
|
|
8709
8711
|
};
|
|
8710
|
-
},
|
|
8712
|
+
}, wi = ({
|
|
8711
8713
|
onLoadMore: n,
|
|
8712
8714
|
hasMore: r,
|
|
8713
8715
|
loading: t,
|
|
@@ -8731,7 +8733,7 @@ const Ae = ({
|
|
|
8731
8733
|
}, [n, r, t, o]), {
|
|
8732
8734
|
loadMoreRef: i
|
|
8733
8735
|
};
|
|
8734
|
-
},
|
|
8736
|
+
}, bi = ({
|
|
8735
8737
|
combobox: n,
|
|
8736
8738
|
dropdownRef: r
|
|
8737
8739
|
}) => {
|
|
@@ -8759,7 +8761,7 @@ const Ae = ({
|
|
|
8759
8761
|
handleMouseEnter: l,
|
|
8760
8762
|
handleMouseLeave: d
|
|
8761
8763
|
};
|
|
8762
|
-
},
|
|
8764
|
+
}, Mi = ({
|
|
8763
8765
|
multiple: n,
|
|
8764
8766
|
value: r,
|
|
8765
8767
|
onChange: t,
|
|
@@ -8788,7 +8790,7 @@ const Ae = ({
|
|
|
8788
8790
|
handleSelect: i,
|
|
8789
8791
|
handleRemove: a
|
|
8790
8792
|
};
|
|
8791
|
-
},
|
|
8793
|
+
}, ki = "40px", Si = 300, Ne = ({
|
|
8792
8794
|
editable: n = !1,
|
|
8793
8795
|
label: r,
|
|
8794
8796
|
icon: t,
|
|
@@ -8800,7 +8802,7 @@ const Ae = ({
|
|
|
8800
8802
|
disabled: l = !1,
|
|
8801
8803
|
onSearch: d,
|
|
8802
8804
|
debounceSearch: u = !0,
|
|
8803
|
-
debounceDelay: p =
|
|
8805
|
+
debounceDelay: p = Si,
|
|
8804
8806
|
onLoadMore: f,
|
|
8805
8807
|
hasMore: I = !1,
|
|
8806
8808
|
loading: h = !1
|
|
@@ -8811,7 +8813,7 @@ const Ae = ({
|
|
|
8811
8813
|
displayedUsers: M,
|
|
8812
8814
|
setDisplayedUsers: z,
|
|
8813
8815
|
isSearching: O
|
|
8814
|
-
} =
|
|
8816
|
+
} = yi({
|
|
8815
8817
|
users: i,
|
|
8816
8818
|
onSearch: d,
|
|
8817
8819
|
debounceSearch: u,
|
|
@@ -8831,25 +8833,25 @@ const Ae = ({
|
|
|
8831
8833
|
handleBlur: F,
|
|
8832
8834
|
handleMouseEnter: _,
|
|
8833
8835
|
handleMouseLeave: Y
|
|
8834
|
-
} =
|
|
8836
|
+
} = bi({
|
|
8835
8837
|
combobox: S,
|
|
8836
8838
|
dropdownRef: w
|
|
8837
|
-
}), { placement: V, dropdownRefCallback: U } =
|
|
8839
|
+
}), { placement: V, dropdownRefCallback: U } = xi({
|
|
8838
8840
|
isFocused: y,
|
|
8839
8841
|
dropdownRef: w
|
|
8840
|
-
}), { selectedIds: K, selectedUsers: H, sortedUsers: re } =
|
|
8842
|
+
}), { selectedIds: K, selectedUsers: H, sortedUsers: re } = vi({
|
|
8841
8843
|
value: o,
|
|
8842
8844
|
multiple: s,
|
|
8843
8845
|
users: i,
|
|
8844
8846
|
displayedUsers: M,
|
|
8845
8847
|
searchQuery: v,
|
|
8846
8848
|
onSearch: d
|
|
8847
|
-
}), { loadMoreRef: $ } =
|
|
8849
|
+
}), { loadMoreRef: $ } = wi({
|
|
8848
8850
|
onLoadMore: f,
|
|
8849
8851
|
hasMore: I,
|
|
8850
8852
|
loading: h,
|
|
8851
8853
|
setDisplayedUsers: z
|
|
8852
|
-
}), { handleSelect: q, handleRemove: D } =
|
|
8854
|
+
}), { handleSelect: q, handleRemove: D } = Mi({
|
|
8853
8855
|
multiple: s,
|
|
8854
8856
|
value: o,
|
|
8855
8857
|
onChange: a,
|
|
@@ -9051,7 +9053,7 @@ const Ae = ({
|
|
|
9051
9053
|
Se,
|
|
9052
9054
|
{
|
|
9053
9055
|
ref: m,
|
|
9054
|
-
h: Math.min(re.length * parseFloat(
|
|
9056
|
+
h: Math.min(re.length * parseFloat(ki), 300),
|
|
9055
9057
|
scrollbarSize: 6,
|
|
9056
9058
|
children: /* @__PURE__ */ x(W, { gap: 2, children: [
|
|
9057
9059
|
re.map((Q) => {
|
|
@@ -9243,7 +9245,7 @@ const Ae = ({
|
|
|
9243
9245
|
)
|
|
9244
9246
|
}
|
|
9245
9247
|
);
|
|
9246
|
-
},
|
|
9248
|
+
}, aa = ({
|
|
9247
9249
|
opened: n,
|
|
9248
9250
|
onClose: r,
|
|
9249
9251
|
children: t,
|
|
@@ -9280,7 +9282,7 @@ const Ae = ({
|
|
|
9280
9282
|
t
|
|
9281
9283
|
]
|
|
9282
9284
|
}
|
|
9283
|
-
),
|
|
9285
|
+
), Ci = ({
|
|
9284
9286
|
opened: n,
|
|
9285
9287
|
onClose: r,
|
|
9286
9288
|
editable: t,
|
|
@@ -9483,7 +9485,7 @@ const Ae = ({
|
|
|
9483
9485
|
]
|
|
9484
9486
|
}
|
|
9485
9487
|
);
|
|
9486
|
-
},
|
|
9488
|
+
}, ca = ({
|
|
9487
9489
|
children: n
|
|
9488
9490
|
}) => /* @__PURE__ */ e(
|
|
9489
9491
|
b,
|
|
@@ -9499,7 +9501,7 @@ const Ae = ({
|
|
|
9499
9501
|
}
|
|
9500
9502
|
), $t = Sn(
|
|
9501
9503
|
void 0
|
|
9502
|
-
),
|
|
9504
|
+
), Oi = ({
|
|
9503
9505
|
children: n
|
|
9504
9506
|
}) => {
|
|
9505
9507
|
const [r, { toggle: t, open: o, close: i }] = Ke(!0), [
|
|
@@ -9531,7 +9533,7 @@ const Ae = ({
|
|
|
9531
9533
|
if (n === void 0)
|
|
9532
9534
|
throw new Error("useAppLayout must be used within an AppLayoutProvider");
|
|
9533
9535
|
return n;
|
|
9534
|
-
},
|
|
9536
|
+
}, zi = ({
|
|
9535
9537
|
header: n,
|
|
9536
9538
|
navbar: r,
|
|
9537
9539
|
aside: t,
|
|
@@ -9589,7 +9591,7 @@ const Ae = ({
|
|
|
9589
9591
|
]
|
|
9590
9592
|
}
|
|
9591
9593
|
);
|
|
9592
|
-
},
|
|
9594
|
+
}, Ri = ({ items: n, selectedId: r, onSelect: t }) => /* @__PURE__ */ e(W, { gap: 0, children: n.map((o) => {
|
|
9593
9595
|
var i;
|
|
9594
9596
|
return /* @__PURE__ */ e(
|
|
9595
9597
|
Gn,
|
|
@@ -9612,7 +9614,7 @@ const Ae = ({
|
|
|
9612
9614
|
},
|
|
9613
9615
|
o.id
|
|
9614
9616
|
);
|
|
9615
|
-
}) }),
|
|
9617
|
+
}) }), Di = ({
|
|
9616
9618
|
items: n,
|
|
9617
9619
|
selectedId: r,
|
|
9618
9620
|
onSelect: t,
|
|
@@ -9627,7 +9629,7 @@ const Ae = ({
|
|
|
9627
9629
|
}) => {
|
|
9628
9630
|
const { opened: p, toggle: f } = Ht(), [I, h] = C(r), g = r ?? I;
|
|
9629
9631
|
return /* @__PURE__ */ e(
|
|
9630
|
-
|
|
9632
|
+
zi,
|
|
9631
9633
|
{
|
|
9632
9634
|
header: l ? /* @__PURE__ */ e(
|
|
9633
9635
|
Zn,
|
|
@@ -9675,7 +9677,7 @@ const Ae = ({
|
|
|
9675
9677
|
}
|
|
9676
9678
|
},
|
|
9677
9679
|
children: /* @__PURE__ */ e(
|
|
9678
|
-
|
|
9680
|
+
Ri,
|
|
9679
9681
|
{
|
|
9680
9682
|
items: n,
|
|
9681
9683
|
selectedId: g,
|
|
@@ -9748,7 +9750,7 @@ const Ae = ({
|
|
|
9748
9750
|
)
|
|
9749
9751
|
}
|
|
9750
9752
|
);
|
|
9751
|
-
},
|
|
9753
|
+
}, sa = (n) => /* @__PURE__ */ e(Oi, { children: /* @__PURE__ */ e(Di, { ...n }) }), Pt = (n, r) => {
|
|
9752
9754
|
const t = j(
|
|
9753
9755
|
(a) => {
|
|
9754
9756
|
const c = Array.isArray(a) ? a : [a];
|
|
@@ -9781,7 +9783,7 @@ const Ae = ({
|
|
|
9781
9783
|
handleResponsibleChange: t,
|
|
9782
9784
|
handleMembersChange: o
|
|
9783
9785
|
};
|
|
9784
|
-
},
|
|
9786
|
+
}, la = ({
|
|
9785
9787
|
opened: n,
|
|
9786
9788
|
onClose: r,
|
|
9787
9789
|
onMaximize: t,
|
|
@@ -9876,7 +9878,7 @@ const Ae = ({
|
|
|
9876
9878
|
]
|
|
9877
9879
|
);
|
|
9878
9880
|
return /* @__PURE__ */ e(
|
|
9879
|
-
|
|
9881
|
+
Ci,
|
|
9880
9882
|
{
|
|
9881
9883
|
opened: n,
|
|
9882
9884
|
onClose: r,
|
|
@@ -9894,7 +9896,7 @@ const Ae = ({
|
|
|
9894
9896
|
}
|
|
9895
9897
|
}
|
|
9896
9898
|
);
|
|
9897
|
-
},
|
|
9899
|
+
}, Ti = ({
|
|
9898
9900
|
isSidebarOpen: n,
|
|
9899
9901
|
fullWidth: r = !1,
|
|
9900
9902
|
editable: t,
|
|
@@ -10028,7 +10030,7 @@ const Ae = ({
|
|
|
10028
10030
|
s
|
|
10029
10031
|
] }) })
|
|
10030
10032
|
] });
|
|
10031
|
-
},
|
|
10033
|
+
}, Bi = ({
|
|
10032
10034
|
editable: n,
|
|
10033
10035
|
owner: r,
|
|
10034
10036
|
descriptionProps: t,
|
|
@@ -10096,7 +10098,7 @@ const Ae = ({
|
|
|
10096
10098
|
"members"
|
|
10097
10099
|
)
|
|
10098
10100
|
] });
|
|
10099
|
-
},
|
|
10101
|
+
}, da = ({
|
|
10100
10102
|
editable: n,
|
|
10101
10103
|
headerProps: r,
|
|
10102
10104
|
rightNavigation: t,
|
|
@@ -10104,17 +10106,17 @@ const Ae = ({
|
|
|
10104
10106
|
children: i,
|
|
10105
10107
|
footer: a
|
|
10106
10108
|
}) => /* @__PURE__ */ e(
|
|
10107
|
-
|
|
10109
|
+
Ti,
|
|
10108
10110
|
{
|
|
10109
10111
|
isSidebarOpen: !0,
|
|
10110
10112
|
editable: n,
|
|
10111
10113
|
rightNavigation: t,
|
|
10112
10114
|
headerProps: r,
|
|
10113
|
-
properties: /* @__PURE__ */ e(
|
|
10115
|
+
properties: /* @__PURE__ */ e(Bi, { ...o }),
|
|
10114
10116
|
children: i,
|
|
10115
10117
|
footer: a
|
|
10116
10118
|
}
|
|
10117
|
-
),
|
|
10119
|
+
), ua = ({
|
|
10118
10120
|
title: n,
|
|
10119
10121
|
properties: r,
|
|
10120
10122
|
children: t
|
|
@@ -10124,7 +10126,7 @@ const Ae = ({
|
|
|
10124
10126
|
/* @__PURE__ */ e(W, { gap: "xs", children: r }),
|
|
10125
10127
|
/* @__PURE__ */ e(Be, { h: "md" }),
|
|
10126
10128
|
/* @__PURE__ */ e(b, { children: t })
|
|
10127
|
-
] }),
|
|
10129
|
+
] }), fa = ({
|
|
10128
10130
|
opened: n,
|
|
10129
10131
|
onClose: r,
|
|
10130
10132
|
position: t,
|
|
@@ -10262,27 +10264,27 @@ const Ae = ({
|
|
|
10262
10264
|
] })
|
|
10263
10265
|
}
|
|
10264
10266
|
);
|
|
10265
|
-
},
|
|
10267
|
+
}, Ei = ho({
|
|
10266
10268
|
/** Put your mantine theme override here */
|
|
10267
10269
|
primaryColor: "blue",
|
|
10268
|
-
fontFamily: "Inter, system-ui, Avenir, Helvetica, Arial, sans-serif
|
|
10270
|
+
fontFamily: '"Inter Variable", Inter, system-ui, Avenir, Helvetica, Arial, sans-serif',
|
|
10269
10271
|
fontFamilyMonospace: "Monaco, Courier, monospace",
|
|
10270
10272
|
headings: {
|
|
10271
|
-
fontFamily: "Inter, system-ui, Avenir, Helvetica, Arial, sans-serif
|
|
10273
|
+
fontFamily: '"Inter Variable", Inter, system-ui, Avenir, Helvetica, Arial, sans-serif'
|
|
10272
10274
|
},
|
|
10273
10275
|
colors: {
|
|
10274
|
-
|
|
10275
|
-
|
|
10276
|
-
|
|
10277
|
-
|
|
10278
|
-
|
|
10279
|
-
|
|
10280
|
-
|
|
10281
|
-
|
|
10282
|
-
|
|
10283
|
-
|
|
10284
|
-
|
|
10285
|
-
|
|
10276
|
+
gray: [
|
|
10277
|
+
"#f6f5f4",
|
|
10278
|
+
"#e8e8e8",
|
|
10279
|
+
"#cfcfcf",
|
|
10280
|
+
"#b5b5b5",
|
|
10281
|
+
"#9f9e9d",
|
|
10282
|
+
"#91908c",
|
|
10283
|
+
"#8b8983",
|
|
10284
|
+
"#787670",
|
|
10285
|
+
"#6b6962",
|
|
10286
|
+
"#37352f"
|
|
10287
|
+
]
|
|
10286
10288
|
// gray: [
|
|
10287
10289
|
// '#f1f1ef',
|
|
10288
10290
|
// '#e9e9e9',
|
|
@@ -10301,11 +10303,11 @@ const Ae = ({
|
|
|
10301
10303
|
// Override component styles here
|
|
10302
10304
|
}
|
|
10303
10305
|
});
|
|
10304
|
-
function
|
|
10306
|
+
function ha({
|
|
10305
10307
|
children: n,
|
|
10306
10308
|
theme: r
|
|
10307
10309
|
}) {
|
|
10308
|
-
return /* @__PURE__ */ x(po, { theme: r ||
|
|
10310
|
+
return /* @__PURE__ */ x(po, { theme: r || Ei, children: [
|
|
10309
10311
|
/* @__PURE__ */ e(Ao, {}),
|
|
10310
10312
|
/* @__PURE__ */ e(Lo, { children: /* @__PURE__ */ e(jo, { settings: { firstDayOfWeek: 0 }, children: n }) })
|
|
10311
10313
|
] });
|
|
@@ -10313,65 +10315,65 @@ function ua({
|
|
|
10313
10315
|
export {
|
|
10314
10316
|
he as ActionButton,
|
|
10315
10317
|
Ee as ActionIcon,
|
|
10316
|
-
|
|
10317
|
-
|
|
10318
|
+
zi as AppLayout,
|
|
10319
|
+
Oi as AppLayoutProvider,
|
|
10318
10320
|
Wn as AvatarSelector,
|
|
10319
|
-
|
|
10321
|
+
ua as BaseLayout,
|
|
10320
10322
|
Oe as BoxAvatar,
|
|
10321
|
-
|
|
10322
|
-
|
|
10323
|
+
aa as CenterPeek,
|
|
10324
|
+
sa as DocsTemplate,
|
|
10323
10325
|
cn as EditableText,
|
|
10324
10326
|
Xo as EditableTextarea,
|
|
10325
10327
|
No as EmojiAvatar,
|
|
10326
10328
|
Ko as ExpandableSearch,
|
|
10327
|
-
|
|
10329
|
+
Qi as FilterDropdown,
|
|
10328
10330
|
jn as FilterDropdownButton,
|
|
10329
10331
|
Fn as FilterDropdownFilters,
|
|
10330
|
-
|
|
10332
|
+
Zi as FloatingIndicator,
|
|
10331
10333
|
yt as FloatingIndicatorContent,
|
|
10332
10334
|
gt as FloatingIndicatorProvider,
|
|
10333
10335
|
It as FloatingIndicatorTriggers,
|
|
10334
|
-
|
|
10335
|
-
|
|
10336
|
+
ca as FullPage,
|
|
10337
|
+
Or as GenericTable,
|
|
10336
10338
|
_o as IconAvatar,
|
|
10337
10339
|
Go as ImageAvatar,
|
|
10338
10340
|
on as InvitedUserCard,
|
|
10339
|
-
|
|
10341
|
+
ra as LinkProperty,
|
|
10340
10342
|
qo as Logo,
|
|
10341
|
-
|
|
10343
|
+
gi as Matrix,
|
|
10342
10344
|
tn as Menu,
|
|
10343
|
-
|
|
10345
|
+
Ki as ModalSettings,
|
|
10344
10346
|
vt as NavButton,
|
|
10345
10347
|
Gn as NavLink,
|
|
10346
10348
|
Zn as Navbar,
|
|
10347
|
-
|
|
10348
|
-
|
|
10349
|
-
|
|
10350
|
-
|
|
10349
|
+
ea as NavbarProvider,
|
|
10350
|
+
Ji as NotificationSidebar,
|
|
10351
|
+
ia as NumberProperty,
|
|
10352
|
+
Ti as PageLayout,
|
|
10351
10353
|
Ae as PageProperty,
|
|
10352
10354
|
Mn as PlaceholderAvatar,
|
|
10353
|
-
|
|
10355
|
+
vr as PopoverItem,
|
|
10354
10356
|
Un as PopoverSelector,
|
|
10355
10357
|
Ne as SelectUserProperty,
|
|
10356
|
-
|
|
10357
|
-
|
|
10358
|
-
|
|
10359
|
-
|
|
10360
|
-
|
|
10361
|
-
|
|
10362
|
-
|
|
10363
|
-
|
|
10358
|
+
qi as ShareButton,
|
|
10359
|
+
Yr as ShareMenu,
|
|
10360
|
+
Xi as ShareModal,
|
|
10361
|
+
Ci as SidePeek,
|
|
10362
|
+
fa as SidePeekLayout,
|
|
10363
|
+
da as TeamPage,
|
|
10364
|
+
Bi as TeamProperties,
|
|
10365
|
+
la as TeamSidePeek,
|
|
10364
10366
|
Ln as TextButton,
|
|
10365
|
-
|
|
10367
|
+
oa as TextProperty,
|
|
10366
10368
|
Wt as TextareaProperty,
|
|
10367
|
-
|
|
10369
|
+
ha as ThemeProvider,
|
|
10368
10370
|
yn as UserChip,
|
|
10369
|
-
|
|
10370
|
-
|
|
10371
|
+
ta as WorkspaceSelector,
|
|
10372
|
+
ti as WorkspaceSelectorItem,
|
|
10371
10373
|
Yo as getInitialsFromName,
|
|
10372
|
-
|
|
10374
|
+
Ei as theme,
|
|
10373
10375
|
Ht as useAppLayout,
|
|
10374
|
-
|
|
10375
|
-
|
|
10376
|
+
Yi as useFloatingIndicator,
|
|
10377
|
+
na as useNavbar,
|
|
10376
10378
|
Pt as useTeamProperties
|
|
10377
10379
|
};
|