@candy.thieves/ui-kit-lumos 0.0.45 → 0.0.46
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.js
CHANGED
|
@@ -34,27 +34,27 @@ var w = n(t(({ icon: t, autoSize: n, backgroundColor: r = "transparent", color:
|
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
36
|
w.displayName = "IconBase";
|
|
37
|
-
var
|
|
37
|
+
var ee = n(t(({ icon: t, autoSize: n, size: r = 24, svgProps: i }, a) => e(t, {
|
|
38
38
|
ref: a,
|
|
39
39
|
width: n ? "1em" : `${r}px`,
|
|
40
40
|
height: n ? "1em" : `${r / 1.5}px`,
|
|
41
41
|
...i,
|
|
42
42
|
style: { ...i?.style }
|
|
43
43
|
})));
|
|
44
|
-
|
|
44
|
+
ee.displayName = "ColorIconBaseSmall";
|
|
45
45
|
//#endregion
|
|
46
46
|
//#region src/utils/truncateText.ts
|
|
47
|
-
var
|
|
47
|
+
var te = (e, t) => {
|
|
48
48
|
if (e.length <= t) return e;
|
|
49
49
|
let n = e.slice(0, t), r = n.lastIndexOf(" ");
|
|
50
50
|
return r === -1 ? `${n}...` : `${n.slice(0, r)}...`;
|
|
51
|
-
},
|
|
51
|
+
}, T = {
|
|
52
52
|
error: "var(--color-danger-500)",
|
|
53
53
|
inherit: "currentColor",
|
|
54
54
|
primary: "var(--color-accent-500)",
|
|
55
55
|
success: "var(--color-success-500)",
|
|
56
56
|
warning: "var(--color-warning-500)"
|
|
57
|
-
},
|
|
57
|
+
}, ne = [
|
|
58
58
|
8,
|
|
59
59
|
11,
|
|
60
60
|
15,
|
|
@@ -136,10 +136,10 @@ var ee = (e, t) => {
|
|
|
136
136
|
17,
|
|
137
137
|
13,
|
|
138
138
|
10
|
|
139
|
-
],
|
|
139
|
+
], re = {
|
|
140
140
|
ENABLED: 0,
|
|
141
141
|
DISABLED: -1
|
|
142
|
-
},
|
|
142
|
+
}, ie = (e) => e in T, ae = (e) => e ? e.charAt(0).toUpperCase() : "?", oe = (e) => e.type === "audio" && "component" in e, se = (e) => `${Math.floor(e / 60)}:${Math.floor(e % 60).toString().padStart(2, "0")}`, ce = (e) => {
|
|
143
143
|
let { fill: t } = e;
|
|
144
144
|
return /* @__PURE__ */ l("svg", {
|
|
145
145
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -154,15 +154,15 @@ var ee = (e, t) => {
|
|
|
154
154
|
})
|
|
155
155
|
})
|
|
156
156
|
});
|
|
157
|
-
},
|
|
157
|
+
}, E = t((e, t) => /* @__PURE__ */ l(w, {
|
|
158
158
|
ref: t,
|
|
159
|
-
icon: /* @__PURE__ */ l(
|
|
159
|
+
icon: /* @__PURE__ */ l(ce, {}),
|
|
160
160
|
...e
|
|
161
161
|
}));
|
|
162
|
-
|
|
162
|
+
E.displayName = "CheckmarkOutline";
|
|
163
163
|
//#endregion
|
|
164
164
|
//#region src/assets/icons/FillBell.tsx
|
|
165
|
-
var
|
|
165
|
+
var le = (e) => {
|
|
166
166
|
let { fill: t } = e;
|
|
167
167
|
return /* @__PURE__ */ u("svg", {
|
|
168
168
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -200,15 +200,15 @@ var ce = (e) => {
|
|
|
200
200
|
})
|
|
201
201
|
]
|
|
202
202
|
});
|
|
203
|
-
},
|
|
203
|
+
}, ue = t((e, t) => /* @__PURE__ */ l(w, {
|
|
204
204
|
ref: t,
|
|
205
|
-
icon: /* @__PURE__ */ l(
|
|
205
|
+
icon: /* @__PURE__ */ l(le, {}),
|
|
206
206
|
...e
|
|
207
207
|
}));
|
|
208
|
-
|
|
208
|
+
ue.displayName = "FillBell";
|
|
209
209
|
//#endregion
|
|
210
210
|
//#region src/assets/icons/Close.tsx
|
|
211
|
-
var
|
|
211
|
+
var de = (e) => {
|
|
212
212
|
let { fill: t } = e;
|
|
213
213
|
return /* @__PURE__ */ l("svg", {
|
|
214
214
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -223,15 +223,15 @@ var ue = (e) => {
|
|
|
223
223
|
})
|
|
224
224
|
})
|
|
225
225
|
});
|
|
226
|
-
},
|
|
226
|
+
}, D = t((e, t) => /* @__PURE__ */ l(w, {
|
|
227
227
|
ref: t,
|
|
228
|
-
icon: /* @__PURE__ */ l(
|
|
228
|
+
icon: /* @__PURE__ */ l(de, {}),
|
|
229
229
|
...e
|
|
230
230
|
}));
|
|
231
|
-
|
|
231
|
+
D.displayName = "Close";
|
|
232
232
|
//#endregion
|
|
233
233
|
//#region src/assets/icons/CloseOutline.tsx
|
|
234
|
-
var
|
|
234
|
+
var fe = (e) => {
|
|
235
235
|
let { fill: t } = e;
|
|
236
236
|
return /* @__PURE__ */ l("svg", {
|
|
237
237
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -246,15 +246,15 @@ var de = (e) => {
|
|
|
246
246
|
})
|
|
247
247
|
})
|
|
248
248
|
});
|
|
249
|
-
},
|
|
249
|
+
}, O = t((e, t) => /* @__PURE__ */ l(w, {
|
|
250
250
|
ref: t,
|
|
251
|
-
icon: /* @__PURE__ */ l(
|
|
251
|
+
icon: /* @__PURE__ */ l(fe, {}),
|
|
252
252
|
...e
|
|
253
253
|
}));
|
|
254
|
-
|
|
254
|
+
O.displayName = "CloseOutline";
|
|
255
255
|
//#endregion
|
|
256
256
|
//#region src/assets/icons/Home.tsx
|
|
257
|
-
var
|
|
257
|
+
var pe = (e) => {
|
|
258
258
|
let { fill: t } = e;
|
|
259
259
|
return /* @__PURE__ */ l("svg", {
|
|
260
260
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -267,15 +267,15 @@ var fe = (e) => {
|
|
|
267
267
|
children: [/* @__PURE__ */ l("path", { d: "M14 14h-4v7h4z" }), /* @__PURE__ */ l("path", { d: "m20.4 10.2-7.7-7.9a1 1 0 0 0-1.4 0l-7.7 7.9a2 2 0 0 0-.6 1.4V20a2 2 0 0 0 1.9 2H8v-9a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v9h3.1a2 2 0 0 0 1.9-2v-8.4q0-.8-.6-1.4" })]
|
|
268
268
|
})
|
|
269
269
|
});
|
|
270
|
-
},
|
|
270
|
+
}, me = t((e, t) => /* @__PURE__ */ l(w, {
|
|
271
271
|
ref: t,
|
|
272
|
-
icon: /* @__PURE__ */ l(
|
|
272
|
+
icon: /* @__PURE__ */ l(pe, {}),
|
|
273
273
|
...e
|
|
274
274
|
}));
|
|
275
|
-
|
|
275
|
+
me.displayName = "Home";
|
|
276
276
|
//#endregion
|
|
277
277
|
//#region src/assets/icons/HomeOutline.tsx
|
|
278
|
-
var
|
|
278
|
+
var he = (e) => {
|
|
279
279
|
let { fill: t } = e;
|
|
280
280
|
return /* @__PURE__ */ l("svg", {
|
|
281
281
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -290,13 +290,13 @@ var me = (e) => {
|
|
|
290
290
|
})
|
|
291
291
|
})
|
|
292
292
|
});
|
|
293
|
-
},
|
|
293
|
+
}, ge = t((e, t) => /* @__PURE__ */ l(w, {
|
|
294
294
|
ref: t,
|
|
295
|
-
icon: /* @__PURE__ */ l(
|
|
295
|
+
icon: /* @__PURE__ */ l(he, {}),
|
|
296
296
|
...e
|
|
297
297
|
}));
|
|
298
|
-
|
|
299
|
-
var
|
|
298
|
+
ge.displayName = "HomeOutline";
|
|
299
|
+
var k = n(t(({ autoSize: e, backgroundColor: t = "transparent", color: n = "currentColor", size: r = 24, msgCounter: i = 0, svgProps: a }, o) => {
|
|
300
300
|
let s = e ? "1em" : `${r}px`, d = {
|
|
301
301
|
backgroundColor: t,
|
|
302
302
|
...a?.style || {}
|
|
@@ -333,10 +333,10 @@ var A = n(t(({ autoSize: e, backgroundColor: t = "transparent", color: n = "curr
|
|
|
333
333
|
})] })]
|
|
334
334
|
});
|
|
335
335
|
}));
|
|
336
|
-
|
|
336
|
+
k.displayName = "OutlineBell";
|
|
337
337
|
//#endregion
|
|
338
338
|
//#region src/assets/icons/FlagEng.tsx
|
|
339
|
-
var
|
|
339
|
+
var _e = (e) => /* @__PURE__ */ u("svg", {
|
|
340
340
|
xmlns: "http://www.w3.org/2000/svg",
|
|
341
341
|
viewBox: "0 0 24 24",
|
|
342
342
|
fill: "none",
|
|
@@ -360,15 +360,15 @@ var ge = (e) => /* @__PURE__ */ u("svg", {
|
|
|
360
360
|
height: 72,
|
|
361
361
|
preserveAspectRatio: "none"
|
|
362
362
|
})] })]
|
|
363
|
-
}),
|
|
363
|
+
}), ve = t((e, t) => /* @__PURE__ */ l(C, {
|
|
364
364
|
ref: t,
|
|
365
|
-
icon: /* @__PURE__ */ l(
|
|
365
|
+
icon: /* @__PURE__ */ l(_e, {}),
|
|
366
366
|
...e
|
|
367
367
|
}));
|
|
368
|
-
|
|
368
|
+
ve.displayName = "FlagEng";
|
|
369
369
|
//#endregion
|
|
370
370
|
//#region src/assets/icons/FlagRus.tsx
|
|
371
|
-
var
|
|
371
|
+
var ye = (e) => /* @__PURE__ */ u("svg", {
|
|
372
372
|
xmlns: "http://www.w3.org/2000/svg",
|
|
373
373
|
viewBox: "0 0 24 24",
|
|
374
374
|
fill: "none",
|
|
@@ -392,15 +392,15 @@ var ve = (e) => /* @__PURE__ */ u("svg", {
|
|
|
392
392
|
height: 72,
|
|
393
393
|
preserveAspectRatio: "none"
|
|
394
394
|
})] })]
|
|
395
|
-
}),
|
|
395
|
+
}), be = t((e, t) => /* @__PURE__ */ l(C, {
|
|
396
396
|
ref: t,
|
|
397
|
-
icon: /* @__PURE__ */ l(
|
|
397
|
+
icon: /* @__PURE__ */ l(ye, {}),
|
|
398
398
|
...e
|
|
399
399
|
}));
|
|
400
|
-
|
|
400
|
+
be.displayName = "FlagRus";
|
|
401
401
|
//#endregion
|
|
402
402
|
//#region src/assets/icons/PlusSquareOutline.tsx
|
|
403
|
-
var
|
|
403
|
+
var xe = (e) => {
|
|
404
404
|
let { fill: t } = e;
|
|
405
405
|
return /* @__PURE__ */ u("svg", {
|
|
406
406
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -419,15 +419,15 @@ var be = (e) => {
|
|
|
419
419
|
})
|
|
420
420
|
}) })]
|
|
421
421
|
});
|
|
422
|
-
},
|
|
422
|
+
}, Se = t((e, t) => /* @__PURE__ */ l(w, {
|
|
423
423
|
ref: t,
|
|
424
|
-
icon: /* @__PURE__ */ l(
|
|
424
|
+
icon: /* @__PURE__ */ l(xe, {}),
|
|
425
425
|
...e
|
|
426
426
|
}));
|
|
427
|
-
|
|
427
|
+
Se.displayName = "PlusSquareOutline";
|
|
428
428
|
//#endregion
|
|
429
429
|
//#region src/assets/icons/PlusSquare.tsx
|
|
430
|
-
var
|
|
430
|
+
var Ce = (e) => {
|
|
431
431
|
let { fill: t } = e;
|
|
432
432
|
return /* @__PURE__ */ u("svg", {
|
|
433
433
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -448,15 +448,15 @@ var Se = (e) => {
|
|
|
448
448
|
})
|
|
449
449
|
}) })]
|
|
450
450
|
});
|
|
451
|
-
},
|
|
451
|
+
}, we = t((e, t) => /* @__PURE__ */ l(w, {
|
|
452
452
|
ref: t,
|
|
453
|
-
icon: /* @__PURE__ */ l(
|
|
453
|
+
icon: /* @__PURE__ */ l(Ce, {}),
|
|
454
454
|
...e
|
|
455
455
|
}));
|
|
456
|
-
|
|
456
|
+
we.displayName = "PlusSquare";
|
|
457
457
|
//#endregion
|
|
458
458
|
//#region src/assets/icons/Person.tsx
|
|
459
|
-
var
|
|
459
|
+
var Te = (e) => {
|
|
460
460
|
let { fill: t } = e;
|
|
461
461
|
return /* @__PURE__ */ u("svg", {
|
|
462
462
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -475,15 +475,15 @@ var we = (e) => {
|
|
|
475
475
|
})
|
|
476
476
|
}) })]
|
|
477
477
|
});
|
|
478
|
-
},
|
|
478
|
+
}, Ee = t((e, t) => /* @__PURE__ */ l(w, {
|
|
479
479
|
ref: t,
|
|
480
|
-
icon: /* @__PURE__ */ l(
|
|
480
|
+
icon: /* @__PURE__ */ l(Te, {}),
|
|
481
481
|
...e
|
|
482
482
|
}));
|
|
483
|
-
|
|
483
|
+
Ee.displayName = "Person";
|
|
484
484
|
//#endregion
|
|
485
485
|
//#region src/assets/icons/PersonOutline.tsx
|
|
486
|
-
var
|
|
486
|
+
var De = (e) => {
|
|
487
487
|
let { fill: t } = e;
|
|
488
488
|
return /* @__PURE__ */ u("svg", {
|
|
489
489
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -502,15 +502,15 @@ var Ee = (e) => {
|
|
|
502
502
|
})
|
|
503
503
|
}) })]
|
|
504
504
|
});
|
|
505
|
-
},
|
|
505
|
+
}, Oe = t((e, t) => /* @__PURE__ */ l(w, {
|
|
506
506
|
ref: t,
|
|
507
|
-
icon: /* @__PURE__ */ l(
|
|
507
|
+
icon: /* @__PURE__ */ l(De, {}),
|
|
508
508
|
...e
|
|
509
509
|
}));
|
|
510
|
-
|
|
510
|
+
Oe.displayName = "PersonOutline";
|
|
511
511
|
//#endregion
|
|
512
512
|
//#region src/assets/icons/TrendingUp.tsx
|
|
513
|
-
var
|
|
513
|
+
var ke = (e) => {
|
|
514
514
|
let { fill: t } = e;
|
|
515
515
|
return /* @__PURE__ */ u("svg", {
|
|
516
516
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -531,15 +531,15 @@ var Oe = (e) => {
|
|
|
531
531
|
})
|
|
532
532
|
}) })]
|
|
533
533
|
});
|
|
534
|
-
},
|
|
534
|
+
}, Ae = t((e, t) => /* @__PURE__ */ l(w, {
|
|
535
535
|
ref: t,
|
|
536
|
-
icon: /* @__PURE__ */ l(
|
|
536
|
+
icon: /* @__PURE__ */ l(ke, {}),
|
|
537
537
|
...e
|
|
538
538
|
}));
|
|
539
|
-
|
|
539
|
+
Ae.displayName = "TrendingUp";
|
|
540
540
|
//#endregion
|
|
541
541
|
//#region src/assets/icons/TrendingUpOutline.tsx
|
|
542
|
-
var
|
|
542
|
+
var je = (e) => {
|
|
543
543
|
let { fill: t } = e;
|
|
544
544
|
return /* @__PURE__ */ u("svg", {
|
|
545
545
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -560,15 +560,15 @@ var Ae = (e) => {
|
|
|
560
560
|
})
|
|
561
561
|
}) })]
|
|
562
562
|
});
|
|
563
|
-
},
|
|
563
|
+
}, Me = t((e, t) => /* @__PURE__ */ l(w, {
|
|
564
564
|
ref: t,
|
|
565
|
-
icon: /* @__PURE__ */ l(
|
|
565
|
+
icon: /* @__PURE__ */ l(je, {}),
|
|
566
566
|
...e
|
|
567
567
|
}));
|
|
568
|
-
|
|
568
|
+
Me.displayName = "TrendingUpOutline";
|
|
569
569
|
//#endregion
|
|
570
570
|
//#region src/assets/icons/Bookmark.tsx
|
|
571
|
-
var
|
|
571
|
+
var Ne = (e) => {
|
|
572
572
|
let { fill: t } = e;
|
|
573
573
|
return /* @__PURE__ */ u("svg", {
|
|
574
574
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -589,15 +589,15 @@ var Me = (e) => {
|
|
|
589
589
|
})
|
|
590
590
|
}) })]
|
|
591
591
|
});
|
|
592
|
-
},
|
|
592
|
+
}, Pe = t((e, t) => /* @__PURE__ */ l(w, {
|
|
593
593
|
ref: t,
|
|
594
|
-
icon: /* @__PURE__ */ l(
|
|
594
|
+
icon: /* @__PURE__ */ l(Ne, {}),
|
|
595
595
|
...e
|
|
596
596
|
}));
|
|
597
|
-
|
|
597
|
+
Pe.displayName = "Bookmark";
|
|
598
598
|
//#endregion
|
|
599
599
|
//#region src/assets/icons/BookmarkOutline.tsx
|
|
600
|
-
var
|
|
600
|
+
var Fe = (e) => {
|
|
601
601
|
let { fill: t } = e;
|
|
602
602
|
return /* @__PURE__ */ u("svg", {
|
|
603
603
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -618,15 +618,15 @@ var Pe = (e) => {
|
|
|
618
618
|
})
|
|
619
619
|
}) })]
|
|
620
620
|
});
|
|
621
|
-
},
|
|
621
|
+
}, Ie = t((e, t) => /* @__PURE__ */ l(w, {
|
|
622
622
|
ref: t,
|
|
623
|
-
icon: /* @__PURE__ */ l(
|
|
623
|
+
icon: /* @__PURE__ */ l(Fe, {}),
|
|
624
624
|
...e
|
|
625
625
|
}));
|
|
626
|
-
|
|
626
|
+
Ie.displayName = "BookmarkOutline";
|
|
627
627
|
//#endregion
|
|
628
628
|
//#region src/assets/icons/ArrowForwardOutline.tsx
|
|
629
|
-
var
|
|
629
|
+
var Le = (e) => {
|
|
630
630
|
let { fill: t } = e;
|
|
631
631
|
return /* @__PURE__ */ u("svg", {
|
|
632
632
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -647,15 +647,15 @@ var Ie = (e) => {
|
|
|
647
647
|
})
|
|
648
648
|
}) })]
|
|
649
649
|
});
|
|
650
|
-
},
|
|
650
|
+
}, Re = t((e, t) => /* @__PURE__ */ l(w, {
|
|
651
651
|
ref: t,
|
|
652
|
-
icon: /* @__PURE__ */ l(
|
|
652
|
+
icon: /* @__PURE__ */ l(Le, {}),
|
|
653
653
|
...e
|
|
654
654
|
}));
|
|
655
|
-
|
|
655
|
+
Re.displayName = "ArrowForwardOutline";
|
|
656
656
|
//#endregion
|
|
657
657
|
//#region src/assets/icons/ArrowBackOutline.tsx
|
|
658
|
-
var
|
|
658
|
+
var ze = (e) => {
|
|
659
659
|
let { fill: t } = e;
|
|
660
660
|
return /* @__PURE__ */ u("svg", {
|
|
661
661
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -676,15 +676,15 @@ var Re = (e) => {
|
|
|
676
676
|
})
|
|
677
677
|
}) })]
|
|
678
678
|
});
|
|
679
|
-
},
|
|
679
|
+
}, Be = t((e, t) => /* @__PURE__ */ l(w, {
|
|
680
680
|
ref: t,
|
|
681
|
-
icon: /* @__PURE__ */ l(
|
|
681
|
+
icon: /* @__PURE__ */ l(ze, {}),
|
|
682
682
|
...e
|
|
683
683
|
}));
|
|
684
|
-
|
|
684
|
+
Be.displayName = "ArrowBackOutline";
|
|
685
685
|
//#endregion
|
|
686
686
|
//#region src/assets/icons/DoneAllOutline.tsx
|
|
687
|
-
var
|
|
687
|
+
var Ve = (e) => {
|
|
688
688
|
let { fill: t } = e;
|
|
689
689
|
return /* @__PURE__ */ u("svg", {
|
|
690
690
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -703,12 +703,12 @@ var Be = (e) => {
|
|
|
703
703
|
})
|
|
704
704
|
}) })]
|
|
705
705
|
});
|
|
706
|
-
},
|
|
706
|
+
}, A = t((e, t) => /* @__PURE__ */ l(w, {
|
|
707
707
|
ref: t,
|
|
708
|
-
icon: /* @__PURE__ */ l(
|
|
708
|
+
icon: /* @__PURE__ */ l(Ve, {}),
|
|
709
709
|
...e
|
|
710
710
|
}));
|
|
711
|
-
|
|
711
|
+
A.displayName = "DoneAllOutline";
|
|
712
712
|
//#endregion
|
|
713
713
|
//#region src/assets/icons/LogOut.tsx
|
|
714
714
|
var He = (e) => {
|
|
@@ -2574,7 +2574,7 @@ var dr = (e) => /* @__PURE__ */ u("svg", {
|
|
|
2574
2574
|
d: "M0 0h24v16H0z"
|
|
2575
2575
|
})
|
|
2576
2576
|
}) })]
|
|
2577
|
-
}), fr = t((e, t) => /* @__PURE__ */ l(
|
|
2577
|
+
}), fr = t((e, t) => /* @__PURE__ */ l(ee, {
|
|
2578
2578
|
ref: t,
|
|
2579
2579
|
icon: /* @__PURE__ */ l(dr, {}),
|
|
2580
2580
|
...e
|
|
@@ -2664,7 +2664,7 @@ var hr = (e) => /* @__PURE__ */ u("svg", {
|
|
|
2664
2664
|
d: "M0 0h24v16H0z"
|
|
2665
2665
|
})
|
|
2666
2666
|
}) })]
|
|
2667
|
-
}), gr = t((e, t) => /* @__PURE__ */ l(
|
|
2667
|
+
}), gr = t((e, t) => /* @__PURE__ */ l(ee, {
|
|
2668
2668
|
ref: t,
|
|
2669
2669
|
icon: /* @__PURE__ */ l(hr, {}),
|
|
2670
2670
|
...e
|
|
@@ -3232,15 +3232,77 @@ var Ur = (e) => {
|
|
|
3232
3232
|
}));
|
|
3233
3233
|
Wr.displayName = "FileIcon";
|
|
3234
3234
|
//#endregion
|
|
3235
|
+
//#region src/assets/icons/List.tsx
|
|
3236
|
+
var Gr = (e) => {
|
|
3237
|
+
let { fill: t } = e;
|
|
3238
|
+
return /* @__PURE__ */ l("svg", {
|
|
3239
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
3240
|
+
viewBox: "0 0 24 24",
|
|
3241
|
+
fill: "none",
|
|
3242
|
+
...e,
|
|
3243
|
+
children: /* @__PURE__ */ l("path", {
|
|
3244
|
+
stroke: t,
|
|
3245
|
+
strokeLinecap: "round",
|
|
3246
|
+
strokeLinejoin: "round",
|
|
3247
|
+
strokeWidth: 2,
|
|
3248
|
+
d: "M8 6h13M8 12h13M8 18h13M4 6a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0m0 6a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0m0 6a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0"
|
|
3249
|
+
})
|
|
3250
|
+
});
|
|
3251
|
+
}, Kr = t((e, t) => /* @__PURE__ */ l(w, {
|
|
3252
|
+
ref: t,
|
|
3253
|
+
icon: /* @__PURE__ */ l(Gr, {}),
|
|
3254
|
+
...e
|
|
3255
|
+
}));
|
|
3256
|
+
Kr.displayName = "List";
|
|
3257
|
+
//#endregion
|
|
3258
|
+
//#region src/assets/icons/RecycleBin.tsx
|
|
3259
|
+
var qr = (e) => /* @__PURE__ */ l("svg", {
|
|
3260
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
3261
|
+
viewBox: "-3 0 32 32",
|
|
3262
|
+
fill: "none",
|
|
3263
|
+
...e,
|
|
3264
|
+
children: /* @__PURE__ */ l("path", {
|
|
3265
|
+
fillRule: "evenodd",
|
|
3266
|
+
d: "M7 15a1 1 0 0 1 2 0v12a1 1 0 1 1-2 0zm5 0a1 1 0 0 1 2 0v12a1 1 0 1 1-2 0zm5 0a1 1 0 0 1 2 0v12a1 1 0 1 1-2 0zM2 28a4 4 0 0 0 4 4h14a4 4 0 0 0 4-4V12H2zM16 4h-6V3q0-1 1-1h4q1 0 1 1zm8 0h-6V2a2 2 0 0 0-2-2h-6a2 2 0 0 0-2 2v2H2a2 2 0 0 0-2 2v2q.2 1.8 2 2h22a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2"
|
|
3267
|
+
})
|
|
3268
|
+
}), Jr = t((e, t) => /* @__PURE__ */ l(w, {
|
|
3269
|
+
ref: t,
|
|
3270
|
+
icon: /* @__PURE__ */ l(qr, {}),
|
|
3271
|
+
...e
|
|
3272
|
+
}));
|
|
3273
|
+
Jr.displayName = "RecycleBin";
|
|
3274
|
+
//#endregion
|
|
3275
|
+
//#region src/assets/icons/Clock.tsx
|
|
3276
|
+
var Yr = (e) => {
|
|
3277
|
+
let { fill: t } = e;
|
|
3278
|
+
return /* @__PURE__ */ l("svg", {
|
|
3279
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
3280
|
+
viewBox: "0 0 16 16",
|
|
3281
|
+
fill: "none",
|
|
3282
|
+
...e,
|
|
3283
|
+
children: /* @__PURE__ */ l("path", {
|
|
3284
|
+
fill: t,
|
|
3285
|
+
fillRule: "evenodd",
|
|
3286
|
+
d: "M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16M7 3v5.4l3.3 3.3 1.4-1.4L9 7.6V3z",
|
|
3287
|
+
clipRule: "evenodd"
|
|
3288
|
+
})
|
|
3289
|
+
});
|
|
3290
|
+
}, Xr = t((e, t) => /* @__PURE__ */ l(w, {
|
|
3291
|
+
ref: t,
|
|
3292
|
+
icon: /* @__PURE__ */ l(Yr, {}),
|
|
3293
|
+
...e
|
|
3294
|
+
}));
|
|
3295
|
+
Xr.displayName = "Clock";
|
|
3296
|
+
//#endregion
|
|
3235
3297
|
//#region src/assets/logo/Logo.tsx
|
|
3236
|
-
var
|
|
3298
|
+
var Zr = {
|
|
3237
3299
|
xs: 16,
|
|
3238
3300
|
s: 24,
|
|
3239
3301
|
m: 48,
|
|
3240
3302
|
l: 72,
|
|
3241
3303
|
xl: 108
|
|
3242
|
-
},
|
|
3243
|
-
let i =
|
|
3304
|
+
}, Qr = n(t(({ size: e = "s", theme: t = "day", svgProps: n }, r) => {
|
|
3305
|
+
let i = Zr[e], a = t === "day" ? "var(--color-dark-300)" : "var(--color-light-100)", o = t === "day" ? "var(--color-light-100)" : "var(--color-dark-300)";
|
|
3244
3306
|
return /* @__PURE__ */ u("svg", {
|
|
3245
3307
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3246
3308
|
width: i,
|
|
@@ -3264,7 +3326,7 @@ var Gr = {
|
|
|
3264
3326
|
})]
|
|
3265
3327
|
});
|
|
3266
3328
|
}));
|
|
3267
|
-
|
|
3329
|
+
Qr.displayName = "Logo";
|
|
3268
3330
|
var j = {
|
|
3269
3331
|
root: "_root_1qg9j_55",
|
|
3270
3332
|
error: "_error_1qg9j_66",
|
|
@@ -3277,7 +3339,7 @@ var j = {
|
|
|
3277
3339
|
errorMessage: "_errorMessage_1qg9j_93",
|
|
3278
3340
|
errorList: "_errorList_1qg9j_99",
|
|
3279
3341
|
closeBtn: "_closeBtn_1qg9j_103"
|
|
3280
|
-
},
|
|
3342
|
+
}, $r = ({ className: e, onClose: t, title: n, children: r, errors: i, variant: a = "success", ...o }) => {
|
|
3281
3343
|
let s = Array.isArray(i) && i.length > 0, c = typeof r == "string" && r.trim().length > 0;
|
|
3282
3344
|
return !n && !c && !s ? null : /* @__PURE__ */ u("div", {
|
|
3283
3345
|
className: d(j.root, j[a], e),
|
|
@@ -3320,7 +3382,7 @@ var j = {
|
|
|
3320
3382
|
"aria-label": "Close",
|
|
3321
3383
|
className: j.closeBtn,
|
|
3322
3384
|
onClick: t,
|
|
3323
|
-
children: /* @__PURE__ */ l(
|
|
3385
|
+
children: /* @__PURE__ */ l(O, {})
|
|
3324
3386
|
})]
|
|
3325
3387
|
});
|
|
3326
3388
|
}, M = {
|
|
@@ -3338,7 +3400,7 @@ var j = {
|
|
|
3338
3400
|
...s ? { "aria-disabled": i } : { disabled: i },
|
|
3339
3401
|
...o
|
|
3340
3402
|
});
|
|
3341
|
-
},
|
|
3403
|
+
}, ei = t((e, t) => {
|
|
3342
3404
|
let { variant: n = "primary", fullWidth: r, as: i = "button", disabled: a = !1, ...o } = e, s = i === "a";
|
|
3343
3405
|
return /* @__PURE__ */ l(i, {
|
|
3344
3406
|
className: d(M.button, "typography-h3", M[n], r && M.fullWidth),
|
|
@@ -3347,14 +3409,14 @@ var j = {
|
|
|
3347
3409
|
...o
|
|
3348
3410
|
});
|
|
3349
3411
|
});
|
|
3350
|
-
|
|
3412
|
+
ei.displayName = "ButtonLegacy";
|
|
3351
3413
|
var P = {
|
|
3352
3414
|
trigger: "_trigger_bqvgk_55",
|
|
3353
3415
|
content: "_content_bqvgk_75",
|
|
3354
3416
|
item: "_item_bqvgk_86",
|
|
3355
3417
|
itemIcon: "_itemIcon_bqvgk_107",
|
|
3356
3418
|
itemLabel: "_itemLabel_bqvgk_115"
|
|
3357
|
-
},
|
|
3419
|
+
}, ti = ({ ariaLabel: e, className: t, contentClassName: n, contentProps: r, itemClassName: i, items: a, modal: o = !0, portalProps: s, trigger: c, triggerClassName: f, ...p }) => {
|
|
3358
3420
|
let { align: m = "end", className: g, side: _ = "bottom", sideOffset: v = 6, ...y } = r ?? {};
|
|
3359
3421
|
return /* @__PURE__ */ u(h.Root, {
|
|
3360
3422
|
modal: o,
|
|
@@ -3407,7 +3469,7 @@ var P = {
|
|
|
3407
3469
|
footer: "_footer_m53un_110",
|
|
3408
3470
|
currentTime: "_currentTime_m53un_117",
|
|
3409
3471
|
divider: "_divider_m53un_121"
|
|
3410
|
-
},
|
|
3472
|
+
}, ni = ({ src: e, waveform: t = ne, className: n }) => {
|
|
3411
3473
|
let r = o(null), [i, a] = s(!1), [f, p] = s(0), [m, h] = s(0), [g, _] = s(0), v = Math.floor(f * t.length);
|
|
3412
3474
|
return /* @__PURE__ */ u("div", {
|
|
3413
3475
|
className: d(F.audio, n),
|
|
@@ -3455,14 +3517,14 @@ var P = {
|
|
|
3455
3517
|
color: "var(--color-accent-100)",
|
|
3456
3518
|
variant: "caption1",
|
|
3457
3519
|
className: F.currentTime,
|
|
3458
|
-
children:
|
|
3520
|
+
children: se(m)
|
|
3459
3521
|
}), /* @__PURE__ */ l("span", {
|
|
3460
3522
|
className: F.divider,
|
|
3461
3523
|
children: "/"
|
|
3462
3524
|
})] }), /* @__PURE__ */ l(B, {
|
|
3463
3525
|
color: "var(--color-accent-100)",
|
|
3464
3526
|
variant: "caption1",
|
|
3465
|
-
children:
|
|
3527
|
+
children: se(g)
|
|
3466
3528
|
})]
|
|
3467
3529
|
})]
|
|
3468
3530
|
})
|
|
@@ -3487,7 +3549,7 @@ var P = {
|
|
|
3487
3549
|
closeButtonIcon: "_closeButtonIcon_14ln7_148",
|
|
3488
3550
|
avatarGroup: "_avatarGroup_14ln7_152"
|
|
3489
3551
|
}, L = t(({ src: e, alt: t, userName: n, delayMs: r = 600, size: i = "s", className: a, ...o }, s) => {
|
|
3490
|
-
let c =
|
|
3552
|
+
let c = ae(n);
|
|
3491
3553
|
return /* @__PURE__ */ u(m.Root, {
|
|
3492
3554
|
ref: s,
|
|
3493
3555
|
className: d(I.root, I[i], a),
|
|
@@ -3510,7 +3572,7 @@ var P = {
|
|
|
3510
3572
|
L.displayName = "Avatar";
|
|
3511
3573
|
//#endregion
|
|
3512
3574
|
//#region src/components/Avatar/MainAvatar.tsx
|
|
3513
|
-
var
|
|
3575
|
+
var ri = t(({ src: e, alt: t, userName: n, delayMs: r = 600, size: i = "xl", className: a, showCloseButton: o = !1, onClose: s, ...c }, f) => /* @__PURE__ */ l("div", {
|
|
3514
3576
|
ref: f,
|
|
3515
3577
|
className: I.wrapper,
|
|
3516
3578
|
children: /* @__PURE__ */ u(m.Root, {
|
|
@@ -3531,7 +3593,7 @@ var Zr = t(({ src: e, alt: t, userName: n, delayMs: r = 600, size: i = "xl", cla
|
|
|
3531
3593
|
as: "span",
|
|
3532
3594
|
onClick: s,
|
|
3533
3595
|
className: d(I.closeButton, I[`closeButton-${i}`]),
|
|
3534
|
-
children: /* @__PURE__ */ l(
|
|
3596
|
+
children: /* @__PURE__ */ l(O, {
|
|
3535
3597
|
color: "var(--color-light-100)",
|
|
3536
3598
|
backgroundColor: "var(--color-danger-500)",
|
|
3537
3599
|
svgProps: { className: I.closeButtonIcon }
|
|
@@ -3540,10 +3602,10 @@ var Zr = t(({ src: e, alt: t, userName: n, delayMs: r = 600, size: i = "xl", cla
|
|
|
3540
3602
|
]
|
|
3541
3603
|
})
|
|
3542
3604
|
}));
|
|
3543
|
-
|
|
3605
|
+
ri.displayName = "MainAvatar";
|
|
3544
3606
|
//#endregion
|
|
3545
3607
|
//#region src/components/Avatar/AvatarBlock.tsx
|
|
3546
|
-
var
|
|
3608
|
+
var ii = t(({ users: e, className: t, ...n }, r) => {
|
|
3547
3609
|
let i = e.slice(-3);
|
|
3548
3610
|
return /* @__PURE__ */ l("div", {
|
|
3549
3611
|
ref: r,
|
|
@@ -3562,14 +3624,14 @@ var Qr = t(({ users: e, className: t, ...n }, r) => {
|
|
|
3562
3624
|
}, t))
|
|
3563
3625
|
});
|
|
3564
3626
|
});
|
|
3565
|
-
|
|
3566
|
-
var
|
|
3627
|
+
ii.displayName = "AvatarBlock";
|
|
3628
|
+
var ai = { card: "_card_zzkvp_1" }, oi = t(({ children: e, className: t, ...n }, r) => /* @__PURE__ */ l("div", {
|
|
3567
3629
|
ref: r,
|
|
3568
|
-
className: d(
|
|
3630
|
+
className: d(ai.card, t),
|
|
3569
3631
|
...n,
|
|
3570
3632
|
children: e
|
|
3571
3633
|
}));
|
|
3572
|
-
|
|
3634
|
+
oi.displayName = "Cards";
|
|
3573
3635
|
var R = {
|
|
3574
3636
|
root: "_root_1abcz_55",
|
|
3575
3637
|
slideWrapper: "_slideWrapper_1abcz_62",
|
|
@@ -3582,7 +3644,7 @@ var R = {
|
|
|
3582
3644
|
dots: "_dots_1abcz_112",
|
|
3583
3645
|
dotActive: "_dotActive_1abcz_138",
|
|
3584
3646
|
s: "_s_1abcz_62"
|
|
3585
|
-
},
|
|
3647
|
+
}, si = 100, ci = ({ slides: e, controlsSize: t = "l" }) => {
|
|
3586
3648
|
let [n, r] = s(0), i = () => {
|
|
3587
3649
|
r((t) => (t - 1 + e.length) % e.length);
|
|
3588
3650
|
}, a = () => {
|
|
@@ -3603,7 +3665,7 @@ var R = {
|
|
|
3603
3665
|
className: R.slideWrapper,
|
|
3604
3666
|
children: /* @__PURE__ */ l("div", {
|
|
3605
3667
|
className: R.track,
|
|
3606
|
-
style: { transform: `translateX(-${n *
|
|
3668
|
+
style: { transform: `translateX(-${n * si}%)` },
|
|
3607
3669
|
children: e.map((e, t) => /* @__PURE__ */ l("div", {
|
|
3608
3670
|
className: R.slide,
|
|
3609
3671
|
children: /* @__PURE__ */ l("img", {
|
|
@@ -3642,7 +3704,7 @@ var R = {
|
|
|
3642
3704
|
buttonWrapper: "_buttonWrapper_2cqcq_68",
|
|
3643
3705
|
root: "_root_2cqcq_86",
|
|
3644
3706
|
indicator: "_indicator_2cqcq_113"
|
|
3645
|
-
},
|
|
3707
|
+
}, li = t(({ label: e, id: t, className: n, onCheckedChange: r, ...i }, o) => {
|
|
3646
3708
|
let s = a(), c = t ?? s;
|
|
3647
3709
|
return /* @__PURE__ */ l("div", {
|
|
3648
3710
|
className: z.container,
|
|
@@ -3659,28 +3721,28 @@ var R = {
|
|
|
3659
3721
|
...i,
|
|
3660
3722
|
children: /* @__PURE__ */ l(_.Indicator, {
|
|
3661
3723
|
className: z.indicator,
|
|
3662
|
-
children: /* @__PURE__ */ l(
|
|
3724
|
+
children: /* @__PURE__ */ l(E, { color: "var(--color-dark-900)" })
|
|
3663
3725
|
})
|
|
3664
3726
|
})
|
|
3665
3727
|
}), e && /* @__PURE__ */ l("span", { children: e })]
|
|
3666
3728
|
})
|
|
3667
3729
|
});
|
|
3668
3730
|
});
|
|
3669
|
-
|
|
3670
|
-
var
|
|
3731
|
+
li.displayName = "Checkbox";
|
|
3732
|
+
var ui = {
|
|
3671
3733
|
spinner: "_spinner_8arkn_55",
|
|
3672
3734
|
spin: "_spin_8arkn_55",
|
|
3673
3735
|
sm: "_sm_8arkn_63",
|
|
3674
3736
|
md: "_md_8arkn_68",
|
|
3675
3737
|
lg: "_lg_8arkn_74"
|
|
3676
|
-
},
|
|
3677
|
-
let o =
|
|
3738
|
+
}, di = t(({ className: e, size: t = "md", color: n = "primary", style: r, ...i }, a) => {
|
|
3739
|
+
let o = ie(n) ? T[n] : n;
|
|
3678
3740
|
return /* @__PURE__ */ l("span", {
|
|
3679
3741
|
ref: a,
|
|
3680
3742
|
"aria-label": "Loading",
|
|
3681
3743
|
"aria-live": "polite",
|
|
3682
3744
|
role: "status",
|
|
3683
|
-
className: d(
|
|
3745
|
+
className: d(ui.spinner, ui[t], e),
|
|
3684
3746
|
style: {
|
|
3685
3747
|
...r,
|
|
3686
3748
|
borderTopColor: o
|
|
@@ -3688,8 +3750,8 @@ var ii = {
|
|
|
3688
3750
|
...i
|
|
3689
3751
|
});
|
|
3690
3752
|
});
|
|
3691
|
-
|
|
3692
|
-
var
|
|
3753
|
+
di.displayName = "CircularProgress";
|
|
3754
|
+
var fi = {
|
|
3693
3755
|
typography: "_typography_1hhu5_1",
|
|
3694
3756
|
"align-left": "_align-left_1hhu5_5",
|
|
3695
3757
|
"align-center": "_align-center_1hhu5_9",
|
|
@@ -3697,7 +3759,7 @@ var oi = {
|
|
|
3697
3759
|
"align-justify": "_align-justify_1hhu5_17",
|
|
3698
3760
|
noWrap: "_noWrap_1hhu5_21",
|
|
3699
3761
|
gutterBottom: "_gutterBottom_1hhu5_27"
|
|
3700
|
-
},
|
|
3762
|
+
}, pi = {
|
|
3701
3763
|
large: "h1",
|
|
3702
3764
|
h1: "h1",
|
|
3703
3765
|
h2: "h2",
|
|
@@ -3717,7 +3779,7 @@ var oi = {
|
|
|
3717
3779
|
signature: "span",
|
|
3718
3780
|
"signature-legal": "span"
|
|
3719
3781
|
}, B = (e) => {
|
|
3720
|
-
let { ref: t, children: n, variant: r = "body1", color: i, className: a, style: o, noWrap: s, mb: c, ml: u, mr: f, mt: p, mx: m, my: h, gutterBottom: g, align: _, href: v, target: y, rel: b, ...x } = e, S =
|
|
3782
|
+
let { ref: t, children: n, variant: r = "body1", color: i, className: a, style: o, noWrap: s, mb: c, ml: u, mr: f, mt: p, mx: m, my: h, gutterBottom: g, align: _, href: v, target: y, rel: b, ...x } = e, S = pi[r] || "div", C = d(fi.typography, `typography-${r}`, _ && fi[`align-${_}`], s && fi.noWrap, g && fi.gutterBottom, a), w = r === "link" || r === "subtitle-link" || S === "a" ? {
|
|
3721
3783
|
href: v,
|
|
3722
3784
|
target: y,
|
|
3723
3785
|
rel: b
|
|
@@ -3748,7 +3810,7 @@ var oi = {
|
|
|
3748
3810
|
mobileMenu: "_mobileMenu_1abkx_126",
|
|
3749
3811
|
mobileMenuItem: "_mobileMenuItem_1abkx_151",
|
|
3750
3812
|
authActions: "_authActions_1abkx_158"
|
|
3751
|
-
},
|
|
3813
|
+
}, mi = ({ brandName: e = "Lumos", className: t, isAuthenticated: n = !0, logoHref: r = "/", logInLabel: i = "Log in", mobileAuthenticatedMenuItems: a, mobileMenuLabel: o = "Open menu", notificationCount: s = 0, notificationLabel: c = "Notifications", onLogInClick: f, onNotificationClick: p, onSignUpClick: m, signUpLabel: h = "Sign up", linkTag: g = "a", ..._ }) => {
|
|
3752
3814
|
let v = s > 0 ? `${c}, ${s} unread` : c, y = [{
|
|
3753
3815
|
id: "log-in",
|
|
3754
3816
|
label: i,
|
|
@@ -3784,7 +3846,7 @@ var oi = {
|
|
|
3784
3846
|
className: V.notificationButton,
|
|
3785
3847
|
"aria-label": v,
|
|
3786
3848
|
onClick: p,
|
|
3787
|
-
children: /* @__PURE__ */ l(
|
|
3849
|
+
children: /* @__PURE__ */ l(k, {
|
|
3788
3850
|
size: 24,
|
|
3789
3851
|
msgCounter: s
|
|
3790
3852
|
})
|
|
@@ -3805,7 +3867,7 @@ var oi = {
|
|
|
3805
3867
|
children: h
|
|
3806
3868
|
})]
|
|
3807
3869
|
}),
|
|
3808
|
-
/* @__PURE__ */ l(
|
|
3870
|
+
/* @__PURE__ */ l(ti, {
|
|
3809
3871
|
ariaLabel: o,
|
|
3810
3872
|
items: x,
|
|
3811
3873
|
triggerClassName: V.mobileMenuButton,
|
|
@@ -3826,7 +3888,7 @@ var oi = {
|
|
|
3826
3888
|
errorMessage: "_errorMessage_thxc3_111",
|
|
3827
3889
|
error: "_error_thxc3_111",
|
|
3828
3890
|
disabled: "_disabled_thxc3_129"
|
|
3829
|
-
},
|
|
3891
|
+
}, hi = t(({ id: e, label: t, error: n, startAdornment: r, endAdornment: i, className: o, disabled: s, type: c = "text", ...f }, p) => {
|
|
3830
3892
|
let m = a(), h = e ?? m;
|
|
3831
3893
|
return /* @__PURE__ */ u("div", {
|
|
3832
3894
|
className: H.wrapper,
|
|
@@ -3869,7 +3931,7 @@ var oi = {
|
|
|
3869
3931
|
]
|
|
3870
3932
|
});
|
|
3871
3933
|
});
|
|
3872
|
-
|
|
3934
|
+
hi.displayName = "Input";
|
|
3873
3935
|
var U = {
|
|
3874
3936
|
root: "_root_10gqv_55",
|
|
3875
3937
|
sm: "_sm_10gqv_63",
|
|
@@ -3878,8 +3940,8 @@ var U = {
|
|
|
3878
3940
|
bar: "_bar_10gqv_75",
|
|
3879
3941
|
determinate: "_determinate_10gqv_84",
|
|
3880
3942
|
indeterminate: "_indeterminate_10gqv_95"
|
|
3881
|
-
},
|
|
3882
|
-
let s =
|
|
3943
|
+
}, gi = t(({ className: e, size: t = "md", color: n = "primary", value: r = 0, determinate: i = !1, ...a }, o) => {
|
|
3944
|
+
let s = ie(n) ? T[n] : n, c = Math.min(100, Math.max(0, r));
|
|
3883
3945
|
return /* @__PURE__ */ l("div", {
|
|
3884
3946
|
ref: o,
|
|
3885
3947
|
role: "progressbar",
|
|
@@ -3899,16 +3961,16 @@ var U = {
|
|
|
3899
3961
|
})
|
|
3900
3962
|
});
|
|
3901
3963
|
});
|
|
3902
|
-
|
|
3964
|
+
gi.displayName = "LinearProgress";
|
|
3903
3965
|
//#endregion
|
|
3904
3966
|
//#region src/utils/getNavItemClickHandler.ts
|
|
3905
|
-
var
|
|
3906
|
-
let n = !!e && e !==
|
|
3967
|
+
var _i = "#", vi = (e, t) => {
|
|
3968
|
+
let n = !!e && e !== _i;
|
|
3907
3969
|
return {
|
|
3908
3970
|
handleClick: (e) => {
|
|
3909
3971
|
n || e.preventDefault(), t();
|
|
3910
3972
|
},
|
|
3911
|
-
resolvedHref: e ??
|
|
3973
|
+
resolvedHref: e ?? _i
|
|
3912
3974
|
};
|
|
3913
3975
|
}, W = {
|
|
3914
3976
|
navBar: "_navBar_1411h_55",
|
|
@@ -3916,12 +3978,12 @@ var di = "#", fi = (e, t) => {
|
|
|
3916
3978
|
navItem: "_navItem_1411h_70",
|
|
3917
3979
|
activeItem: "_activeItem_1411h_88",
|
|
3918
3980
|
line: "_line_1411h_92"
|
|
3919
|
-
},
|
|
3981
|
+
}, yi = ({ items: e, activeId: t, onValueChange: n }) => /* @__PURE__ */ l("div", { children: /* @__PURE__ */ u("nav", {
|
|
3920
3982
|
className: W.navBar,
|
|
3921
3983
|
children: [/* @__PURE__ */ l("ul", {
|
|
3922
3984
|
className: W.list,
|
|
3923
3985
|
children: e.map((e) => {
|
|
3924
|
-
let r = t === e.id, { handleClick: i, resolvedHref: a } =
|
|
3986
|
+
let r = t === e.id, { handleClick: i, resolvedHref: a } = vi(e.href, () => n?.(e.id));
|
|
3925
3987
|
return /* @__PURE__ */ l("li", { children: /* @__PURE__ */ l(N, {
|
|
3926
3988
|
as: "a",
|
|
3927
3989
|
href: a,
|
|
@@ -3946,8 +4008,8 @@ var di = "#", fi = (e, t) => {
|
|
|
3946
4008
|
replyText: "_replyText_1o2cp_143",
|
|
3947
4009
|
status: "_status_1o2cp_150",
|
|
3948
4010
|
attachment: "_attachment_1o2cp_157"
|
|
3949
|
-
},
|
|
3950
|
-
if (
|
|
4011
|
+
}, bi = ({ attachment: e }) => {
|
|
4012
|
+
if (oe(e)) return /* @__PURE__ */ l(c, { children: e.component });
|
|
3951
4013
|
if (e.type === "image") return /* @__PURE__ */ l("div", {
|
|
3952
4014
|
className: G.attachment,
|
|
3953
4015
|
children: /* @__PURE__ */ l("img", {
|
|
@@ -3956,20 +4018,20 @@ var di = "#", fi = (e, t) => {
|
|
|
3956
4018
|
alt: e.name
|
|
3957
4019
|
})
|
|
3958
4020
|
});
|
|
3959
|
-
},
|
|
4021
|
+
}, xi = {
|
|
3960
4022
|
sending: /* @__PURE__ */ l(Br, {
|
|
3961
4023
|
color: "var(--color-accent-100)",
|
|
3962
4024
|
size: 16
|
|
3963
4025
|
}),
|
|
3964
|
-
sent: /* @__PURE__ */ l(
|
|
4026
|
+
sent: /* @__PURE__ */ l(E, {
|
|
3965
4027
|
color: "var(--color-accent-100)",
|
|
3966
4028
|
size: 16
|
|
3967
4029
|
}),
|
|
3968
|
-
delivered: /* @__PURE__ */ l(
|
|
4030
|
+
delivered: /* @__PURE__ */ l(A, {
|
|
3969
4031
|
color: "var(--color-accent-100)",
|
|
3970
4032
|
size: 16
|
|
3971
4033
|
}),
|
|
3972
|
-
read: /* @__PURE__ */ l(
|
|
4034
|
+
read: /* @__PURE__ */ l(A, {
|
|
3973
4035
|
color: "var(--color-success-500)",
|
|
3974
4036
|
size: 16
|
|
3975
4037
|
}),
|
|
@@ -3977,10 +4039,10 @@ var di = "#", fi = (e, t) => {
|
|
|
3977
4039
|
color: "var(--color-danger-500)",
|
|
3978
4040
|
size: 16
|
|
3979
4041
|
})
|
|
3980
|
-
},
|
|
4042
|
+
}, Si = ({ status: e }) => /* @__PURE__ */ l("span", {
|
|
3981
4043
|
className: G.status,
|
|
3982
|
-
children:
|
|
3983
|
-
}),
|
|
4044
|
+
children: xi[e]
|
|
4045
|
+
}), Ci = ({ reply: e }) => /* @__PURE__ */ u("div", {
|
|
3984
4046
|
className: G.reply,
|
|
3985
4047
|
children: [/* @__PURE__ */ l(B, {
|
|
3986
4048
|
color: "var(--color-success-500)",
|
|
@@ -3992,7 +4054,7 @@ var di = "#", fi = (e, t) => {
|
|
|
3992
4054
|
className: G.replyText,
|
|
3993
4055
|
children: e.text
|
|
3994
4056
|
})]
|
|
3995
|
-
}),
|
|
4057
|
+
}), wi = ({ author: e, avatar: t, text: n, timestamp: r, type: i = "incoming", status: a = "sent", replyTo: o, attachments: s, className: c }) => {
|
|
3996
4058
|
let f = i === "outgoing", p = f ? "var(--color-accent-100)" : "var(--color-light-900)";
|
|
3997
4059
|
return /* @__PURE__ */ u("article", {
|
|
3998
4060
|
className: d(G.message, f && G.outgoing, c),
|
|
@@ -4007,8 +4069,8 @@ var di = "#", fi = (e, t) => {
|
|
|
4007
4069
|
children: /* @__PURE__ */ u("div", {
|
|
4008
4070
|
className: d(G.bubble, s?.type === "image" && G.card),
|
|
4009
4071
|
children: [
|
|
4010
|
-
s && /* @__PURE__ */ l(
|
|
4011
|
-
o && /* @__PURE__ */ l(
|
|
4072
|
+
s && /* @__PURE__ */ l(bi, { attachment: s }),
|
|
4073
|
+
o && /* @__PURE__ */ l(Ci, { reply: o }),
|
|
4012
4074
|
n && /* @__PURE__ */ l(B, {
|
|
4013
4075
|
variant: "body1",
|
|
4014
4076
|
color: "var(--color-light-100)",
|
|
@@ -4024,7 +4086,7 @@ var di = "#", fi = (e, t) => {
|
|
|
4024
4086
|
color: p,
|
|
4025
4087
|
children: r
|
|
4026
4088
|
})
|
|
4027
|
-
}), a && f && /* @__PURE__ */ l(
|
|
4089
|
+
}), a && f && /* @__PURE__ */ l(Si, { status: a })]
|
|
4028
4090
|
})
|
|
4029
4091
|
]
|
|
4030
4092
|
})
|
|
@@ -4043,7 +4105,7 @@ var di = "#", fi = (e, t) => {
|
|
|
4043
4105
|
fullSize: "_fullSize_c66hw_117",
|
|
4044
4106
|
iconButton: "_iconButton_c66hw_121",
|
|
4045
4107
|
closeButtonOutside: "_closeButtonOutside_c66hw_136"
|
|
4046
|
-
},
|
|
4108
|
+
}, Ti = t(({ open: e, onClose: t, modalTitle: n = "", children: r, size: i = "m", className: a, showHeader: o, showCloseButton: s = !0, fullSize: c = !1, closeButtonOutside: f = !1, ...p }, m) => /* @__PURE__ */ l(v.Root, {
|
|
4047
4109
|
open: e,
|
|
4048
4110
|
onOpenChange: t,
|
|
4049
4111
|
children: /* @__PURE__ */ u(v.Portal, { children: [/* @__PURE__ */ l(v.Overlay, { className: K.overlay }), /* @__PURE__ */ u(v.Content, {
|
|
@@ -4074,21 +4136,21 @@ var di = "#", fi = (e, t) => {
|
|
|
4074
4136
|
type: "button",
|
|
4075
4137
|
className: d(K.iconButton, f && K.closeButtonOutside),
|
|
4076
4138
|
"aria-label": "Close",
|
|
4077
|
-
children: /* @__PURE__ */ l(
|
|
4139
|
+
children: /* @__PURE__ */ l(D, {})
|
|
4078
4140
|
})
|
|
4079
4141
|
})
|
|
4080
4142
|
]
|
|
4081
4143
|
})] })
|
|
4082
4144
|
}));
|
|
4083
|
-
|
|
4084
|
-
var
|
|
4145
|
+
Ti.displayName = "Modal";
|
|
4146
|
+
var Ei = { iconButton: "_iconButton_iqf7o_55" }, Di = ({ ...e }) => {
|
|
4085
4147
|
let [t, n] = s(!1);
|
|
4086
|
-
return /* @__PURE__ */ l(
|
|
4148
|
+
return /* @__PURE__ */ l(hi, {
|
|
4087
4149
|
...e,
|
|
4088
4150
|
type: t ? "text" : "password",
|
|
4089
4151
|
endAdornment: /* @__PURE__ */ l("button", {
|
|
4090
4152
|
type: "button",
|
|
4091
|
-
className:
|
|
4153
|
+
className: Ei.iconButton,
|
|
4092
4154
|
onClick: () => n((e) => !e),
|
|
4093
4155
|
"aria-label": t ? "Hide password" : "Show password",
|
|
4094
4156
|
children: l(t ? cn : rn, {
|
|
@@ -4106,7 +4168,7 @@ var bi = { iconButton: "_iconButton_iqf7o_55" }, xi = ({ ...e }) => {
|
|
|
4106
4168
|
indicator: "_indicator_1rwph_112",
|
|
4107
4169
|
label: "_label_1rwph_130",
|
|
4108
4170
|
disabled: "_disabled_1rwph_135"
|
|
4109
|
-
},
|
|
4171
|
+
}, Oi = t(({ className: e, options: t, disabled: n, ...r }, i) => {
|
|
4110
4172
|
let o = a();
|
|
4111
4173
|
return /* @__PURE__ */ l(y.Root, {
|
|
4112
4174
|
ref: i,
|
|
@@ -4135,18 +4197,18 @@ var bi = { iconButton: "_iconButton_iqf7o_55" }, xi = ({ ...e }) => {
|
|
|
4135
4197
|
})
|
|
4136
4198
|
});
|
|
4137
4199
|
});
|
|
4138
|
-
|
|
4139
|
-
var
|
|
4200
|
+
Oi.displayName = "RadioGroup";
|
|
4201
|
+
var ki = { button: "_button_1sk9f_1" }, Ai = ({ text: e, maxLength: t, expandLabel: n = "Show more", collapseLabel: r = "Hide", className: i, onExpandedChange: a }) => {
|
|
4140
4202
|
let [o, c] = s(!1);
|
|
4141
4203
|
return e.length > t ? /* @__PURE__ */ u(B, {
|
|
4142
4204
|
className: i,
|
|
4143
4205
|
variant: "body1",
|
|
4144
4206
|
children: [
|
|
4145
|
-
o ? e :
|
|
4207
|
+
o ? e : te(e, t),
|
|
4146
4208
|
" ",
|
|
4147
4209
|
/* @__PURE__ */ l(N, {
|
|
4148
4210
|
as: "a",
|
|
4149
|
-
className: d("typography-link",
|
|
4211
|
+
className: d("typography-link", ki.button),
|
|
4150
4212
|
onClick: () => {
|
|
4151
4213
|
let e = !o;
|
|
4152
4214
|
c(e), a?.(e);
|
|
@@ -4159,7 +4221,7 @@ var Ci = { button: "_button_1sk9f_1" }, wi = ({ text: e, maxLength: t, expandLab
|
|
|
4159
4221
|
variant: "body1",
|
|
4160
4222
|
children: e
|
|
4161
4223
|
});
|
|
4162
|
-
},
|
|
4224
|
+
}, ji = (e) => {
|
|
4163
4225
|
let { clientWidth: t, scrollWidth: n } = e;
|
|
4164
4226
|
if (n <= t) return null;
|
|
4165
4227
|
let r = t / n * t;
|
|
@@ -4168,7 +4230,7 @@ var Ci = { button: "_button_1sk9f_1" }, wi = ({ text: e, maxLength: t, expandLab
|
|
|
4168
4230
|
maxThumbOffsetX: t - r,
|
|
4169
4231
|
maxScrollOffsetX: n - t
|
|
4170
4232
|
};
|
|
4171
|
-
},
|
|
4233
|
+
}, Mi = (e) => {
|
|
4172
4234
|
let { clientHeight: t, scrollHeight: n } = e;
|
|
4173
4235
|
if (n <= t) return null;
|
|
4174
4236
|
let r = t / n * t;
|
|
@@ -4177,16 +4239,16 @@ var Ci = { button: "_button_1sk9f_1" }, wi = ({ text: e, maxLength: t, expandLab
|
|
|
4177
4239
|
maxThumbOffsetY: t - r,
|
|
4178
4240
|
maxScrollOffsetY: n - t
|
|
4179
4241
|
};
|
|
4180
|
-
},
|
|
4242
|
+
}, Ni = ({ viewportRef: e, contentRef: t, verticalThumbRef: n, horizontalThumbRef: a }) => {
|
|
4181
4243
|
let o = r(() => {
|
|
4182
4244
|
let t = e.current;
|
|
4183
4245
|
if (!t) return;
|
|
4184
|
-
let r =
|
|
4246
|
+
let r = Mi(t);
|
|
4185
4247
|
if (r && n.current) {
|
|
4186
4248
|
let { thumbHeight: e, maxThumbOffsetY: i, maxScrollOffsetY: a } = r, o = t.scrollTop / a * i;
|
|
4187
4249
|
n.current.style.display = "", n.current.style.height = `${e}px`, n.current.style.transform = `translateY(${o}px)`;
|
|
4188
4250
|
} else n.current && (n.current.style.display = "none");
|
|
4189
|
-
let i =
|
|
4251
|
+
let i = ji(t);
|
|
4190
4252
|
if (i && a.current) {
|
|
4191
4253
|
let { thumbWidth: e, maxThumbOffsetX: n, maxScrollOffsetX: r } = i, o = t.scrollLeft / r * n;
|
|
4192
4254
|
a.current.style.display = "", a.current.style.width = `${e}px`, a.current.style.transform = `translateX(${o}px)`;
|
|
@@ -4208,7 +4270,7 @@ var Ci = { button: "_button_1sk9f_1" }, wi = ({ text: e, maxLength: t, expandLab
|
|
|
4208
4270
|
e,
|
|
4209
4271
|
t
|
|
4210
4272
|
]);
|
|
4211
|
-
},
|
|
4273
|
+
}, Pi = ({ viewportRef: e }) => {
|
|
4212
4274
|
let t = o(null), n = o(null);
|
|
4213
4275
|
return {
|
|
4214
4276
|
handleVerticalMouseDown: (n) => {
|
|
@@ -4220,7 +4282,7 @@ var Ci = { button: "_button_1sk9f_1" }, wi = ({ text: e, maxLength: t, expandLab
|
|
|
4220
4282
|
startScrollTop: r.scrollTop
|
|
4221
4283
|
};
|
|
4222
4284
|
let i = (e) => {
|
|
4223
|
-
let n = t.current, i =
|
|
4285
|
+
let n = t.current, i = Mi(r);
|
|
4224
4286
|
if (!n || !i) return;
|
|
4225
4287
|
let { maxThumbOffsetY: a, maxScrollOffsetY: o } = i, s = e.clientY - n.startY, c = o / a, l = n.startScrollTop + s * c;
|
|
4226
4288
|
r.scrollTop = Math.max(0, Math.min(l, o));
|
|
@@ -4238,7 +4300,7 @@ var Ci = { button: "_button_1sk9f_1" }, wi = ({ text: e, maxLength: t, expandLab
|
|
|
4238
4300
|
startScrollLeft: r.scrollLeft
|
|
4239
4301
|
};
|
|
4240
4302
|
let i = (e) => {
|
|
4241
|
-
let t = n.current, i =
|
|
4303
|
+
let t = n.current, i = ji(r);
|
|
4242
4304
|
if (!t || !i) return;
|
|
4243
4305
|
let { maxThumbOffsetX: a, maxScrollOffsetX: o } = i, s = e.clientX - t.startX, c = o / a, l = t.startScrollLeft + s * c;
|
|
4244
4306
|
r.scrollLeft = Math.max(0, Math.min(l, o));
|
|
@@ -4256,15 +4318,15 @@ var Ci = { button: "_button_1sk9f_1" }, wi = ({ text: e, maxLength: t, expandLab
|
|
|
4256
4318
|
scrollThumb: "_scrollThumb_1ohk9_88",
|
|
4257
4319
|
verticalThumb: "_verticalThumb_1ohk9_98",
|
|
4258
4320
|
horizontalThumb: "_horizontalThumb_1ohk9_103"
|
|
4259
|
-
},
|
|
4321
|
+
}, Fi = ({ orientation: e = "both", children: t }) => {
|
|
4260
4322
|
let n = o(null), r = o(null), i = o(null), a = o(null);
|
|
4261
|
-
|
|
4323
|
+
Ni({
|
|
4262
4324
|
viewportRef: n,
|
|
4263
4325
|
contentRef: r,
|
|
4264
4326
|
verticalThumbRef: i,
|
|
4265
4327
|
horizontalThumbRef: a
|
|
4266
4328
|
});
|
|
4267
|
-
let { handleVerticalMouseDown: s, handleHorizontalMouseDown: c } =
|
|
4329
|
+
let { handleVerticalMouseDown: s, handleHorizontalMouseDown: c } = Pi({ viewportRef: n });
|
|
4268
4330
|
return /* @__PURE__ */ u("div", {
|
|
4269
4331
|
className: J.scrollContainer,
|
|
4270
4332
|
children: [
|
|
@@ -4294,7 +4356,7 @@ var Ci = { button: "_button_1sk9f_1" }, wi = ({ text: e, maxLength: t, expandLab
|
|
|
4294
4356
|
})
|
|
4295
4357
|
]
|
|
4296
4358
|
});
|
|
4297
|
-
},
|
|
4359
|
+
}, Ii = (e) => /* @__PURE__ */ l(hi, {
|
|
4298
4360
|
...e,
|
|
4299
4361
|
startAdornment: /* @__PURE__ */ l(zt, {
|
|
4300
4362
|
autoSize: !1,
|
|
@@ -4317,10 +4379,10 @@ var Ci = { button: "_button_1sk9f_1" }, wi = ({ text: e, maxLength: t, expandLab
|
|
|
4317
4379
|
groupLabel: "_groupLabel_uj5q7_165",
|
|
4318
4380
|
separator: "_separator_uj5q7_170",
|
|
4319
4381
|
item: "_item_uj5q7_113"
|
|
4320
|
-
},
|
|
4321
|
-
let
|
|
4322
|
-
|
|
4323
|
-
}, { className:
|
|
4382
|
+
}, Li = (e) => e.flatMap((e) => e.type === "group" ? e.options : e.type === "separator" ? [] : e), Ri = t(({ className: e, contentClassName: t, contentProps: n, defaultValue: r, groupLabelClassName: i, iconProps: o, itemClassName: c, label: f, labelProps: p, onValueChange: m, options: h, placeholder: _ = "Select-box", portalProps: v, separatorClassName: y, triggerIcon: b, triggerProps: x, valueProps: S, value: C, viewportProps: w, ...ee }, te) => {
|
|
4383
|
+
let T = a(), [ne, re] = s(r), ie = C ?? ne, ae = Li(h).find((e) => e.value === ie), oe = x?.id ?? `select-${T}`, se = (e) => {
|
|
4384
|
+
re(e), m?.(e);
|
|
4385
|
+
}, { className: ce, ...E } = x ?? {}, { className: le, ...ue } = p ?? {}, { children: de, className: D, ...fe } = o ?? {}, { className: O, position: pe = "popper", sideOffset: me = -1, ...he } = n ?? {}, { className: ge, ...k } = w ?? {}, _e = (e) => {
|
|
4324
4386
|
let { className: t, ...n } = e.itemProps ?? {};
|
|
4325
4387
|
return /* @__PURE__ */ u(g.Item, {
|
|
4326
4388
|
value: e.value,
|
|
@@ -4347,52 +4409,52 @@ var Ci = { button: "_button_1sk9f_1" }, wi = ({ text: e, maxLength: t, expandLab
|
|
|
4347
4409
|
}, e.value);
|
|
4348
4410
|
};
|
|
4349
4411
|
return /* @__PURE__ */ u(g.Root, {
|
|
4350
|
-
...
|
|
4412
|
+
...ee,
|
|
4351
4413
|
defaultValue: r,
|
|
4352
4414
|
value: C,
|
|
4353
|
-
onValueChange:
|
|
4415
|
+
onValueChange: se,
|
|
4354
4416
|
children: [
|
|
4355
4417
|
f && /* @__PURE__ */ l("label", {
|
|
4356
|
-
htmlFor:
|
|
4357
|
-
className: d(Y.label, "typography-body1",
|
|
4358
|
-
...
|
|
4418
|
+
htmlFor: oe,
|
|
4419
|
+
className: d(Y.label, "typography-body1", le),
|
|
4420
|
+
...ue,
|
|
4359
4421
|
children: f
|
|
4360
4422
|
}),
|
|
4361
4423
|
/* @__PURE__ */ u(g.Trigger, {
|
|
4362
|
-
ref:
|
|
4363
|
-
id:
|
|
4364
|
-
className: d(Y.trigger, "typography-subtitle1", f && Y.hasLabel, e,
|
|
4365
|
-
...
|
|
4424
|
+
ref: te,
|
|
4425
|
+
id: oe,
|
|
4426
|
+
className: d(Y.trigger, "typography-subtitle1", f && Y.hasLabel, e, ce),
|
|
4427
|
+
...E,
|
|
4366
4428
|
children: [/* @__PURE__ */ l("span", {
|
|
4367
4429
|
className: Y.textBlock,
|
|
4368
4430
|
children: /* @__PURE__ */ u("span", {
|
|
4369
4431
|
className: Y.valueRow,
|
|
4370
|
-
children: [
|
|
4432
|
+
children: [ae?.icon && /* @__PURE__ */ l("span", {
|
|
4371
4433
|
className: Y.startIcon,
|
|
4372
4434
|
"aria-hidden": !0,
|
|
4373
|
-
children:
|
|
4435
|
+
children: ae.icon
|
|
4374
4436
|
}), /* @__PURE__ */ l(g.Value, {
|
|
4375
4437
|
placeholder: _,
|
|
4376
4438
|
...S
|
|
4377
4439
|
})]
|
|
4378
4440
|
})
|
|
4379
4441
|
}), /* @__PURE__ */ l(g.Icon, {
|
|
4380
|
-
className: d(Y.icon,
|
|
4442
|
+
className: d(Y.icon, D),
|
|
4381
4443
|
"aria-hidden": !0,
|
|
4382
|
-
...
|
|
4383
|
-
children: b ??
|
|
4444
|
+
...fe,
|
|
4445
|
+
children: b ?? de ?? /* @__PURE__ */ l("span", {})
|
|
4384
4446
|
})]
|
|
4385
4447
|
}),
|
|
4386
4448
|
/* @__PURE__ */ l(g.Portal, {
|
|
4387
4449
|
...v,
|
|
4388
4450
|
children: /* @__PURE__ */ l(g.Content, {
|
|
4389
|
-
className: d(Y.content, t,
|
|
4390
|
-
position:
|
|
4391
|
-
sideOffset:
|
|
4392
|
-
...
|
|
4451
|
+
className: d(Y.content, t, O),
|
|
4452
|
+
position: pe,
|
|
4453
|
+
sideOffset: me,
|
|
4454
|
+
...he,
|
|
4393
4455
|
children: /* @__PURE__ */ l(g.Viewport, {
|
|
4394
|
-
className: d(Y.viewport,
|
|
4395
|
-
...
|
|
4456
|
+
className: d(Y.viewport, ge),
|
|
4457
|
+
...k,
|
|
4396
4458
|
children: h.map((e, t) => {
|
|
4397
4459
|
if (e.type === "separator") {
|
|
4398
4460
|
let { className: n, ...r } = e.separatorProps ?? {};
|
|
@@ -4409,10 +4471,10 @@ var Ci = { button: "_button_1sk9f_1" }, wi = ({ text: e, maxLength: t, expandLab
|
|
|
4409
4471
|
className: d(Y.groupLabel, "typography-body1", i, n),
|
|
4410
4472
|
...r,
|
|
4411
4473
|
children: e.label
|
|
4412
|
-
}), e.options.map(
|
|
4474
|
+
}), e.options.map(_e)]
|
|
4413
4475
|
}, `group-${t}`);
|
|
4414
4476
|
}
|
|
4415
|
-
return
|
|
4477
|
+
return _e(e);
|
|
4416
4478
|
})
|
|
4417
4479
|
})
|
|
4418
4480
|
})
|
|
@@ -4420,7 +4482,7 @@ var Ci = { button: "_button_1sk9f_1" }, wi = ({ text: e, maxLength: t, expandLab
|
|
|
4420
4482
|
]
|
|
4421
4483
|
});
|
|
4422
4484
|
});
|
|
4423
|
-
|
|
4485
|
+
Ri.displayName = "Select";
|
|
4424
4486
|
var X = {
|
|
4425
4487
|
navBar: "_navBar_watj5_55",
|
|
4426
4488
|
logOutBtn: "_logOutBtn_watj5_89",
|
|
@@ -4428,11 +4490,11 @@ var X = {
|
|
|
4428
4490
|
activeItem: "_activeItem_watj5_118",
|
|
4429
4491
|
disabled: "_disabled_watj5_131",
|
|
4430
4492
|
line: "_line_watj5_137"
|
|
4431
|
-
},
|
|
4493
|
+
}, zi = ({ items: e, userId: t, activeId: n, onValueChange: r, onLogout: i, logOutIcon: a, linkTag: o = "a" }) => /* @__PURE__ */ u("nav", {
|
|
4432
4494
|
className: X.navBar,
|
|
4433
4495
|
children: [
|
|
4434
4496
|
/* @__PURE__ */ l("ul", { children: e.map((e) => {
|
|
4435
|
-
let i = n === e.id, a = !!e.disabled, { handleClick: s, resolvedHref: c } =
|
|
4497
|
+
let i = n === e.id, a = !!e.disabled, { handleClick: s, resolvedHref: c } = vi(typeof e.href == "function" ? t ? e.href(t) : void 0 : e.href, () => r?.(e.id));
|
|
4436
4498
|
return /* @__PURE__ */ l("li", { children: /* @__PURE__ */ u(N, {
|
|
4437
4499
|
as: o,
|
|
4438
4500
|
href: a ? void 0 : c,
|
|
@@ -4444,7 +4506,7 @@ var X = {
|
|
|
4444
4506
|
}
|
|
4445
4507
|
s(e);
|
|
4446
4508
|
},
|
|
4447
|
-
tabIndex: a ?
|
|
4509
|
+
tabIndex: a ? re.DISABLED : re.ENABLED,
|
|
4448
4510
|
"aria-disabled": a,
|
|
4449
4511
|
children: [i && e.activeIcon ? e.activeIcon : e.icon, /* @__PURE__ */ l(B, {
|
|
4450
4512
|
variant: "body2",
|
|
@@ -4463,52 +4525,52 @@ var X = {
|
|
|
4463
4525
|
}),
|
|
4464
4526
|
/* @__PURE__ */ l("div", { className: X.line })
|
|
4465
4527
|
]
|
|
4466
|
-
}),
|
|
4528
|
+
}), Bi = {
|
|
4467
4529
|
root: "_root_1p3v5_55",
|
|
4468
4530
|
track: "_track_1p3v5_73",
|
|
4469
4531
|
range: "_range_1p3v5_81",
|
|
4470
4532
|
thumb: "_thumb_1p3v5_88"
|
|
4471
|
-
},
|
|
4533
|
+
}, Vi = t(({ className: e, ...t }, n) => /* @__PURE__ */ u(b.Root, {
|
|
4472
4534
|
ref: n,
|
|
4473
|
-
className: d(
|
|
4535
|
+
className: d(Bi.root, e),
|
|
4474
4536
|
...t,
|
|
4475
4537
|
children: [/* @__PURE__ */ l(b.Track, {
|
|
4476
|
-
className:
|
|
4477
|
-
children: /* @__PURE__ */ l(b.Range, { className:
|
|
4478
|
-
}), /* @__PURE__ */ l(b.Thumb, { className:
|
|
4538
|
+
className: Bi.track,
|
|
4539
|
+
children: /* @__PURE__ */ l(b.Range, { className: Bi.range })
|
|
4540
|
+
}), /* @__PURE__ */ l(b.Thumb, { className: Bi.thumb })]
|
|
4479
4541
|
}));
|
|
4480
|
-
|
|
4542
|
+
Vi.displayName = "Slider";
|
|
4481
4543
|
var Z = {
|
|
4482
4544
|
table: "_table_3bxp1_1",
|
|
4483
4545
|
head: "_head_3bxp1_6",
|
|
4484
4546
|
row: "_row_3bxp1_10",
|
|
4485
4547
|
headerCell: "_headerCell_3bxp1_17",
|
|
4486
4548
|
cell: "_cell_3bxp1_18"
|
|
4487
|
-
},
|
|
4549
|
+
}, Hi = t(({ className: e, ...t }, n) => /* @__PURE__ */ l("table", {
|
|
4488
4550
|
ref: n,
|
|
4489
4551
|
className: d(Z.table, e),
|
|
4490
4552
|
...t
|
|
4491
4553
|
}));
|
|
4492
|
-
|
|
4493
|
-
var
|
|
4554
|
+
Hi.displayName = "Table";
|
|
4555
|
+
var Ui = t(({ className: e, ...t }, n) => /* @__PURE__ */ l("thead", {
|
|
4494
4556
|
ref: n,
|
|
4495
4557
|
className: d(Z.head, e),
|
|
4496
4558
|
...t
|
|
4497
4559
|
}));
|
|
4498
|
-
|
|
4499
|
-
var
|
|
4560
|
+
Ui.displayName = "TableHead";
|
|
4561
|
+
var Wi = t(({ className: e, ...t }, n) => /* @__PURE__ */ l("tbody", {
|
|
4500
4562
|
ref: n,
|
|
4501
4563
|
className: d(Z.body, e),
|
|
4502
4564
|
...t
|
|
4503
4565
|
}));
|
|
4504
|
-
|
|
4505
|
-
var
|
|
4566
|
+
Wi.displayName = "TableBody";
|
|
4567
|
+
var Gi = t(({ className: e, ...t }, n) => /* @__PURE__ */ l("tr", {
|
|
4506
4568
|
ref: n,
|
|
4507
4569
|
className: d(Z.row, e),
|
|
4508
4570
|
...t
|
|
4509
4571
|
}));
|
|
4510
|
-
|
|
4511
|
-
var
|
|
4572
|
+
Gi.displayName = "TableRow";
|
|
4573
|
+
var Ki = t(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ l("th", {
|
|
4512
4574
|
ref: r,
|
|
4513
4575
|
className: d(Z.headerCell, e),
|
|
4514
4576
|
...n,
|
|
@@ -4517,8 +4579,8 @@ var Bi = t(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ l("th", {
|
|
|
4517
4579
|
children: t
|
|
4518
4580
|
})
|
|
4519
4581
|
}));
|
|
4520
|
-
|
|
4521
|
-
var
|
|
4582
|
+
Ki.displayName = "TableHeaderCell";
|
|
4583
|
+
var qi = t(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ l("td", {
|
|
4522
4584
|
ref: r,
|
|
4523
4585
|
className: d(Z.cell, e),
|
|
4524
4586
|
...n,
|
|
@@ -4527,23 +4589,23 @@ var Vi = t(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ l("td", {
|
|
|
4527
4589
|
children: t
|
|
4528
4590
|
})
|
|
4529
4591
|
}));
|
|
4530
|
-
|
|
4531
|
-
var
|
|
4592
|
+
qi.displayName = "TableCell";
|
|
4593
|
+
var Ji = {
|
|
4532
4594
|
list: "_list_1jtfg_55",
|
|
4533
4595
|
trigger: "_trigger_1jtfg_63"
|
|
4534
|
-
},
|
|
4596
|
+
}, Yi = t(({ tabs: e, defaultValue: t, onValueChange: n, className: r, ...i }, a) => /* @__PURE__ */ u(x.Root, {
|
|
4535
4597
|
ref: a,
|
|
4536
4598
|
defaultValue: t ?? e[0]?.value,
|
|
4537
4599
|
onValueChange: n,
|
|
4538
4600
|
className: d(r),
|
|
4539
4601
|
...i,
|
|
4540
4602
|
children: [/* @__PURE__ */ l(x.List, {
|
|
4541
|
-
className:
|
|
4603
|
+
className: Ji.list,
|
|
4542
4604
|
loop: !0,
|
|
4543
4605
|
children: e.map((e) => /* @__PURE__ */ l(x.Trigger, {
|
|
4544
4606
|
value: e.value,
|
|
4545
4607
|
disabled: e.disabled,
|
|
4546
|
-
className: d(
|
|
4608
|
+
className: d(Ji.trigger, "typography-h3"),
|
|
4547
4609
|
children: e.label
|
|
4548
4610
|
}, e.value))
|
|
4549
4611
|
}), e.map((e) => /* @__PURE__ */ l(x.Content, {
|
|
@@ -4551,7 +4613,7 @@ var Hi = {
|
|
|
4551
4613
|
children: e.content
|
|
4552
4614
|
}, e.value))]
|
|
4553
4615
|
}));
|
|
4554
|
-
|
|
4616
|
+
Yi.displayName = "Tabs";
|
|
4555
4617
|
var Q = {
|
|
4556
4618
|
container: "_container_yy9sk_23",
|
|
4557
4619
|
label: "_label_yy9sk_62",
|
|
@@ -4559,7 +4621,7 @@ var Q = {
|
|
|
4559
4621
|
activeState: "_activeState_yy9sk_128",
|
|
4560
4622
|
errorState: "_errorState_yy9sk_132",
|
|
4561
4623
|
errorMessage: "_errorMessage_yy9sk_139"
|
|
4562
|
-
},
|
|
4624
|
+
}, Xi = t(({ label: e, error: t, className: n, disabled: r, id: i, ...o }, s) => {
|
|
4563
4625
|
let c = a(), d = i ?? c, f = `${d}-error`;
|
|
4564
4626
|
return /* @__PURE__ */ u("div", {
|
|
4565
4627
|
className: p(Q.container, { [Q.errorState]: !!t }),
|
|
@@ -4588,8 +4650,8 @@ var Q = {
|
|
|
4588
4650
|
]
|
|
4589
4651
|
});
|
|
4590
4652
|
});
|
|
4591
|
-
|
|
4592
|
-
var
|
|
4653
|
+
Xi.displayName = "TextArea";
|
|
4654
|
+
var Zi = { content: "_content_17aqj_1" }, Qi = t(({ children: e, content: t, delayDuration: n = 200, className: r, sideOffset: i = 8, ...a }, o) => t ? /* @__PURE__ */ l(S.Provider, {
|
|
4593
4655
|
delayDuration: n,
|
|
4594
4656
|
children: /* @__PURE__ */ u(S.Root, { children: [/* @__PURE__ */ l(S.Trigger, {
|
|
4595
4657
|
asChild: !0,
|
|
@@ -4597,12 +4659,12 @@ var Gi = { content: "_content_17aqj_1" }, Ki = t(({ children: e, content: t, del
|
|
|
4597
4659
|
}), /* @__PURE__ */ l(S.Portal, { children: /* @__PURE__ */ l(S.Content, {
|
|
4598
4660
|
ref: o,
|
|
4599
4661
|
sideOffset: i,
|
|
4600
|
-
className: d(
|
|
4662
|
+
className: d(Zi.content, r),
|
|
4601
4663
|
...a,
|
|
4602
4664
|
children: t
|
|
4603
4665
|
}) })] })
|
|
4604
4666
|
}) : /* @__PURE__ */ l(c, { children: e }));
|
|
4605
|
-
|
|
4667
|
+
Qi.displayName = "Tooltip";
|
|
4606
4668
|
var $ = {
|
|
4607
4669
|
"typography-large": "_typography-large_1qgg8_82",
|
|
4608
4670
|
"typography-h1": "_typography-h1_1qgg8_90",
|
|
@@ -4654,7 +4716,7 @@ var $ = {
|
|
|
4654
4716
|
typographyExample: "_typographyExample_1qgg8_606",
|
|
4655
4717
|
transitionBox: "_transitionBox_1qgg8_614",
|
|
4656
4718
|
prefixBox: "_prefixBox_1qgg8_624"
|
|
4657
|
-
},
|
|
4719
|
+
}, $i = () => {
|
|
4658
4720
|
let [e, t] = s(!1);
|
|
4659
4721
|
return /* @__PURE__ */ u("div", {
|
|
4660
4722
|
className: $.testContainer,
|
|
@@ -4820,6 +4882,6 @@ var $ = {
|
|
|
4820
4882
|
});
|
|
4821
4883
|
};
|
|
4822
4884
|
//#endregion
|
|
4823
|
-
export {
|
|
4885
|
+
export { ti as ActionMenu, $r as Alert, Be as ArrowBackOutline, Re as ArrowForwardOutline, ht as ArrowIosBack, _t as ArrowIosBackOutline, $e as ArrowIosDownOutline, yt as ArrowIosForward, xt as ArrowIosForwardOutline, Ze as ArrowIosUp, ni as AudioPlayer, L as Avatar, ii as AvatarBlock, Vt as Block, Ut as BlockOutline, Pe as Bookmark, Ie as BookmarkOutline, wr as Brave, N as Button, ei as ButtonLegacy, qe as Calendar, Ye as CalendarOutline, oi as Cards, ci as Carousel, li as Checkbox, E as CheckmarkOutline, di as CircularProgress, Xr as Clock, D as Close, O as CloseOutline, pt as ColorPaletteOutline, Pn as Copy, In as CopyOutline, Rn as CreditCard, Bn as CreditCardOutline, A as DoneAllOutline, Hn as Edit, Wn as EditOutline, Kn as Email, Jn as EmailOutline, Hr as ErrorIcon, Ct as Expand, Tt as ExpandOutline, Er as Explorer, on as Eye, tn as EyeOff, rn as EyeOffOutline, cn as EyeOutline, Sr as Facebook, Wr as FileIcon, ue as FillBell, Or as Firefox, ve as FlagEng, be as FlagRus, $t as GithubRepo, br as Google, mi as Header, Xn as Heart, Qn as HeartOutline, me as Home, ge as HomeOutline, Nt as ImageIcon, Ft as ImageOutline, hi as Input, Yt as Layers, Zt as LayersOutline, gi as LinearProgress, Kr as List, Ue as LogOut, Ge as LogOutOutline, Qr as Logo, ri as MainAvatar, er as Maximize, nr as MaximizeOutline, yi as Menu, Dt as MenuOutline, wi as Message, vn as MessageCircle, bn as MessageCircleOutline, An as Mic, Mn as MicOutline, Ar as MicrosoftEdge, Ti as Modal, mn as MoreHorizontal, gn as MoreHorizontalOutline, Mr as Opera, k as OutlineBell, vr as Paid, un as PaperPlane, fn as PaperPlaneOutline, Di as PasswordInput, at as PauseCircle, st as PauseCircleOutline, gr as Paypal, Ee as Person, En as PersonAdd, On as PersonAddOutline, Oe as PersonOutline, Sn as PersonRemove, wn as PersonRemoveOutline, ir as Pin, or as PinOutline, lt as PlayCircle, dt as PlayCircleOutline, kt as PlusCircle, jt as PlusCircleOutline, we as PlusSquare, Se as PlusSquareOutline, tt as RadioButtonChecked, rt as RadioButtonUnchecked, Oi as RadioGroup, Ai as ReadMore, mr as RecaptchaLogo, Jr as RecycleBin, Pr as Safari, Fi as Scroll, Lt as Search, Ii as SearchInput, zt as SearchOutline, Ri as Select, Br as Sending, Gt as Settings, qt as SettingsOutline, zi as Sidebar, Vi as Slider, fr as Stripe, Hi as Table, Wi as TableBody, qi as TableCell, Ui as TableHead, Ki as TableHeaderCell, Gi as TableRow, Yi as Tabs, $i as TestMixins, Xi as TextArea, Qi as Tooltip, cr as Trash, ur as TrashOutline, Ae as TrendingUp, Me as TrendingUpOutline, B as Typography, Ir as UcBrowser, Rr as Yandex, f as clsx };
|
|
4824
4886
|
|
|
4825
4887
|
//# sourceMappingURL=index.js.map
|