@candy.thieves/ui-kit-lumos 0.0.46 → 0.0.48
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.css +1 -1
- package/dist/index.js +231 -302
- package/dist/index.js.map +1 -1
- package/dist/types/assets/index.d.ts +0 -3
- package/dist/types/components/Carousel/Carousel.d.ts +2 -1
- package/package.json +1 -1
- package/dist/types/assets/icons/Clock.d.ts +0 -3
- package/dist/types/assets/icons/List.d.ts +0 -3
- package/dist/types/assets/icons/RecycleBin.d.ts +0 -3
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 T = 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
|
+
T.displayName = "ColorIconBaseSmall";
|
|
45
45
|
//#endregion
|
|
46
46
|
//#region src/utils/truncateText.ts
|
|
47
|
-
var
|
|
47
|
+
var ee = (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
|
+
}, E = {
|
|
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
|
+
}, te = [
|
|
58
58
|
8,
|
|
59
59
|
11,
|
|
60
60
|
15,
|
|
@@ -136,10 +136,10 @@ var te = (e, t) => {
|
|
|
136
136
|
17,
|
|
137
137
|
13,
|
|
138
138
|
10
|
|
139
|
-
],
|
|
139
|
+
], ne = {
|
|
140
140
|
ENABLED: 0,
|
|
141
141
|
DISABLED: -1
|
|
142
|
-
},
|
|
142
|
+
}, re = (e) => e in E, ie = (e) => e ? e.charAt(0).toUpperCase() : "?", ae = (e) => e.type === "audio" && "component" in e, oe = (e) => `${Math.floor(e / 60)}:${Math.floor(e % 60).toString().padStart(2, "0")}`, se = (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 te = (e, t) => {
|
|
|
154
154
|
})
|
|
155
155
|
})
|
|
156
156
|
});
|
|
157
|
-
},
|
|
157
|
+
}, D = t((e, t) => /* @__PURE__ */ l(w, {
|
|
158
158
|
ref: t,
|
|
159
|
-
icon: /* @__PURE__ */ l(
|
|
159
|
+
icon: /* @__PURE__ */ l(se, {}),
|
|
160
160
|
...e
|
|
161
161
|
}));
|
|
162
|
-
|
|
162
|
+
D.displayName = "CheckmarkOutline";
|
|
163
163
|
//#endregion
|
|
164
164
|
//#region src/assets/icons/FillBell.tsx
|
|
165
|
-
var
|
|
165
|
+
var ce = (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 le = (e) => {
|
|
|
200
200
|
})
|
|
201
201
|
]
|
|
202
202
|
});
|
|
203
|
-
},
|
|
203
|
+
}, le = t((e, t) => /* @__PURE__ */ l(w, {
|
|
204
204
|
ref: t,
|
|
205
|
-
icon: /* @__PURE__ */ l(
|
|
205
|
+
icon: /* @__PURE__ */ l(ce, {}),
|
|
206
206
|
...e
|
|
207
207
|
}));
|
|
208
|
-
|
|
208
|
+
le.displayName = "FillBell";
|
|
209
209
|
//#endregion
|
|
210
210
|
//#region src/assets/icons/Close.tsx
|
|
211
|
-
var
|
|
211
|
+
var ue = (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 de = (e) => {
|
|
|
223
223
|
})
|
|
224
224
|
})
|
|
225
225
|
});
|
|
226
|
-
},
|
|
226
|
+
}, O = t((e, t) => /* @__PURE__ */ l(w, {
|
|
227
227
|
ref: t,
|
|
228
|
-
icon: /* @__PURE__ */ l(
|
|
228
|
+
icon: /* @__PURE__ */ l(ue, {}),
|
|
229
229
|
...e
|
|
230
230
|
}));
|
|
231
|
-
|
|
231
|
+
O.displayName = "Close";
|
|
232
232
|
//#endregion
|
|
233
233
|
//#region src/assets/icons/CloseOutline.tsx
|
|
234
|
-
var
|
|
234
|
+
var de = (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 fe = (e) => {
|
|
|
246
246
|
})
|
|
247
247
|
})
|
|
248
248
|
});
|
|
249
|
-
},
|
|
249
|
+
}, k = t((e, t) => /* @__PURE__ */ l(w, {
|
|
250
250
|
ref: t,
|
|
251
|
-
icon: /* @__PURE__ */ l(
|
|
251
|
+
icon: /* @__PURE__ */ l(de, {}),
|
|
252
252
|
...e
|
|
253
253
|
}));
|
|
254
|
-
|
|
254
|
+
k.displayName = "CloseOutline";
|
|
255
255
|
//#endregion
|
|
256
256
|
//#region src/assets/icons/Home.tsx
|
|
257
|
-
var
|
|
257
|
+
var fe = (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 pe = (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
|
+
}, pe = t((e, t) => /* @__PURE__ */ l(w, {
|
|
271
271
|
ref: t,
|
|
272
|
-
icon: /* @__PURE__ */ l(
|
|
272
|
+
icon: /* @__PURE__ */ l(fe, {}),
|
|
273
273
|
...e
|
|
274
274
|
}));
|
|
275
|
-
|
|
275
|
+
pe.displayName = "Home";
|
|
276
276
|
//#endregion
|
|
277
277
|
//#region src/assets/icons/HomeOutline.tsx
|
|
278
|
-
var
|
|
278
|
+
var me = (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 he = (e) => {
|
|
|
290
290
|
})
|
|
291
291
|
})
|
|
292
292
|
});
|
|
293
|
-
},
|
|
293
|
+
}, he = t((e, t) => /* @__PURE__ */ l(w, {
|
|
294
294
|
ref: t,
|
|
295
|
-
icon: /* @__PURE__ */ l(
|
|
295
|
+
icon: /* @__PURE__ */ l(me, {}),
|
|
296
296
|
...e
|
|
297
297
|
}));
|
|
298
|
-
|
|
299
|
-
var
|
|
298
|
+
he.displayName = "HomeOutline";
|
|
299
|
+
var A = 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 k = n(t(({ autoSize: e, backgroundColor: t = "transparent", color: n = "curr
|
|
|
333
333
|
})] })]
|
|
334
334
|
});
|
|
335
335
|
}));
|
|
336
|
-
|
|
336
|
+
A.displayName = "OutlineBell";
|
|
337
337
|
//#endregion
|
|
338
338
|
//#region src/assets/icons/FlagEng.tsx
|
|
339
|
-
var
|
|
339
|
+
var ge = (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 _e = (e) => /* @__PURE__ */ u("svg", {
|
|
|
360
360
|
height: 72,
|
|
361
361
|
preserveAspectRatio: "none"
|
|
362
362
|
})] })]
|
|
363
|
-
}),
|
|
363
|
+
}), _e = t((e, t) => /* @__PURE__ */ l(C, {
|
|
364
364
|
ref: t,
|
|
365
|
-
icon: /* @__PURE__ */ l(
|
|
365
|
+
icon: /* @__PURE__ */ l(ge, {}),
|
|
366
366
|
...e
|
|
367
367
|
}));
|
|
368
|
-
|
|
368
|
+
_e.displayName = "FlagEng";
|
|
369
369
|
//#endregion
|
|
370
370
|
//#region src/assets/icons/FlagRus.tsx
|
|
371
|
-
var
|
|
371
|
+
var ve = (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 ye = (e) => /* @__PURE__ */ u("svg", {
|
|
|
392
392
|
height: 72,
|
|
393
393
|
preserveAspectRatio: "none"
|
|
394
394
|
})] })]
|
|
395
|
-
}),
|
|
395
|
+
}), ye = t((e, t) => /* @__PURE__ */ l(C, {
|
|
396
396
|
ref: t,
|
|
397
|
-
icon: /* @__PURE__ */ l(
|
|
397
|
+
icon: /* @__PURE__ */ l(ve, {}),
|
|
398
398
|
...e
|
|
399
399
|
}));
|
|
400
|
-
|
|
400
|
+
ye.displayName = "FlagRus";
|
|
401
401
|
//#endregion
|
|
402
402
|
//#region src/assets/icons/PlusSquareOutline.tsx
|
|
403
|
-
var
|
|
403
|
+
var be = (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 xe = (e) => {
|
|
|
419
419
|
})
|
|
420
420
|
}) })]
|
|
421
421
|
});
|
|
422
|
-
},
|
|
422
|
+
}, xe = t((e, t) => /* @__PURE__ */ l(w, {
|
|
423
423
|
ref: t,
|
|
424
|
-
icon: /* @__PURE__ */ l(
|
|
424
|
+
icon: /* @__PURE__ */ l(be, {}),
|
|
425
425
|
...e
|
|
426
426
|
}));
|
|
427
|
-
|
|
427
|
+
xe.displayName = "PlusSquareOutline";
|
|
428
428
|
//#endregion
|
|
429
429
|
//#region src/assets/icons/PlusSquare.tsx
|
|
430
|
-
var
|
|
430
|
+
var Se = (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 Ce = (e) => {
|
|
|
448
448
|
})
|
|
449
449
|
}) })]
|
|
450
450
|
});
|
|
451
|
-
},
|
|
451
|
+
}, Ce = t((e, t) => /* @__PURE__ */ l(w, {
|
|
452
452
|
ref: t,
|
|
453
|
-
icon: /* @__PURE__ */ l(
|
|
453
|
+
icon: /* @__PURE__ */ l(Se, {}),
|
|
454
454
|
...e
|
|
455
455
|
}));
|
|
456
|
-
|
|
456
|
+
Ce.displayName = "PlusSquare";
|
|
457
457
|
//#endregion
|
|
458
458
|
//#region src/assets/icons/Person.tsx
|
|
459
|
-
var
|
|
459
|
+
var we = (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 Te = (e) => {
|
|
|
475
475
|
})
|
|
476
476
|
}) })]
|
|
477
477
|
});
|
|
478
|
-
},
|
|
478
|
+
}, Te = t((e, t) => /* @__PURE__ */ l(w, {
|
|
479
479
|
ref: t,
|
|
480
|
-
icon: /* @__PURE__ */ l(
|
|
480
|
+
icon: /* @__PURE__ */ l(we, {}),
|
|
481
481
|
...e
|
|
482
482
|
}));
|
|
483
|
-
|
|
483
|
+
Te.displayName = "Person";
|
|
484
484
|
//#endregion
|
|
485
485
|
//#region src/assets/icons/PersonOutline.tsx
|
|
486
|
-
var
|
|
486
|
+
var Ee = (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 De = (e) => {
|
|
|
502
502
|
})
|
|
503
503
|
}) })]
|
|
504
504
|
});
|
|
505
|
-
},
|
|
505
|
+
}, De = t((e, t) => /* @__PURE__ */ l(w, {
|
|
506
506
|
ref: t,
|
|
507
|
-
icon: /* @__PURE__ */ l(
|
|
507
|
+
icon: /* @__PURE__ */ l(Ee, {}),
|
|
508
508
|
...e
|
|
509
509
|
}));
|
|
510
|
-
|
|
510
|
+
De.displayName = "PersonOutline";
|
|
511
511
|
//#endregion
|
|
512
512
|
//#region src/assets/icons/TrendingUp.tsx
|
|
513
|
-
var
|
|
513
|
+
var Oe = (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 ke = (e) => {
|
|
|
531
531
|
})
|
|
532
532
|
}) })]
|
|
533
533
|
});
|
|
534
|
-
},
|
|
534
|
+
}, ke = t((e, t) => /* @__PURE__ */ l(w, {
|
|
535
535
|
ref: t,
|
|
536
|
-
icon: /* @__PURE__ */ l(
|
|
536
|
+
icon: /* @__PURE__ */ l(Oe, {}),
|
|
537
537
|
...e
|
|
538
538
|
}));
|
|
539
|
-
|
|
539
|
+
ke.displayName = "TrendingUp";
|
|
540
540
|
//#endregion
|
|
541
541
|
//#region src/assets/icons/TrendingUpOutline.tsx
|
|
542
|
-
var
|
|
542
|
+
var Ae = (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 je = (e) => {
|
|
|
560
560
|
})
|
|
561
561
|
}) })]
|
|
562
562
|
});
|
|
563
|
-
},
|
|
563
|
+
}, je = t((e, t) => /* @__PURE__ */ l(w, {
|
|
564
564
|
ref: t,
|
|
565
|
-
icon: /* @__PURE__ */ l(
|
|
565
|
+
icon: /* @__PURE__ */ l(Ae, {}),
|
|
566
566
|
...e
|
|
567
567
|
}));
|
|
568
|
-
|
|
568
|
+
je.displayName = "TrendingUpOutline";
|
|
569
569
|
//#endregion
|
|
570
570
|
//#region src/assets/icons/Bookmark.tsx
|
|
571
|
-
var
|
|
571
|
+
var Me = (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 Ne = (e) => {
|
|
|
589
589
|
})
|
|
590
590
|
}) })]
|
|
591
591
|
});
|
|
592
|
-
},
|
|
592
|
+
}, Ne = t((e, t) => /* @__PURE__ */ l(w, {
|
|
593
593
|
ref: t,
|
|
594
|
-
icon: /* @__PURE__ */ l(
|
|
594
|
+
icon: /* @__PURE__ */ l(Me, {}),
|
|
595
595
|
...e
|
|
596
596
|
}));
|
|
597
|
-
|
|
597
|
+
Ne.displayName = "Bookmark";
|
|
598
598
|
//#endregion
|
|
599
599
|
//#region src/assets/icons/BookmarkOutline.tsx
|
|
600
|
-
var
|
|
600
|
+
var Pe = (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 Fe = (e) => {
|
|
|
618
618
|
})
|
|
619
619
|
}) })]
|
|
620
620
|
});
|
|
621
|
-
},
|
|
621
|
+
}, Fe = t((e, t) => /* @__PURE__ */ l(w, {
|
|
622
622
|
ref: t,
|
|
623
|
-
icon: /* @__PURE__ */ l(
|
|
623
|
+
icon: /* @__PURE__ */ l(Pe, {}),
|
|
624
624
|
...e
|
|
625
625
|
}));
|
|
626
|
-
|
|
626
|
+
Fe.displayName = "BookmarkOutline";
|
|
627
627
|
//#endregion
|
|
628
628
|
//#region src/assets/icons/ArrowForwardOutline.tsx
|
|
629
|
-
var
|
|
629
|
+
var Ie = (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 Le = (e) => {
|
|
|
647
647
|
})
|
|
648
648
|
}) })]
|
|
649
649
|
});
|
|
650
|
-
},
|
|
650
|
+
}, Le = t((e, t) => /* @__PURE__ */ l(w, {
|
|
651
651
|
ref: t,
|
|
652
|
-
icon: /* @__PURE__ */ l(
|
|
652
|
+
icon: /* @__PURE__ */ l(Ie, {}),
|
|
653
653
|
...e
|
|
654
654
|
}));
|
|
655
|
-
|
|
655
|
+
Le.displayName = "ArrowForwardOutline";
|
|
656
656
|
//#endregion
|
|
657
657
|
//#region src/assets/icons/ArrowBackOutline.tsx
|
|
658
|
-
var
|
|
658
|
+
var Re = (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 ze = (e) => {
|
|
|
676
676
|
})
|
|
677
677
|
}) })]
|
|
678
678
|
});
|
|
679
|
-
},
|
|
679
|
+
}, ze = t((e, t) => /* @__PURE__ */ l(w, {
|
|
680
680
|
ref: t,
|
|
681
|
-
icon: /* @__PURE__ */ l(
|
|
681
|
+
icon: /* @__PURE__ */ l(Re, {}),
|
|
682
682
|
...e
|
|
683
683
|
}));
|
|
684
|
-
|
|
684
|
+
ze.displayName = "ArrowBackOutline";
|
|
685
685
|
//#endregion
|
|
686
686
|
//#region src/assets/icons/DoneAllOutline.tsx
|
|
687
|
-
var
|
|
687
|
+
var Be = (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 Ve = (e) => {
|
|
|
703
703
|
})
|
|
704
704
|
}) })]
|
|
705
705
|
});
|
|
706
|
-
},
|
|
706
|
+
}, Ve = t((e, t) => /* @__PURE__ */ l(w, {
|
|
707
707
|
ref: t,
|
|
708
|
-
icon: /* @__PURE__ */ l(
|
|
708
|
+
icon: /* @__PURE__ */ l(Be, {}),
|
|
709
709
|
...e
|
|
710
710
|
}));
|
|
711
|
-
|
|
711
|
+
Ve.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(T, {
|
|
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(T, {
|
|
2668
2668
|
ref: t,
|
|
2669
2669
|
icon: /* @__PURE__ */ l(hr, {}),
|
|
2670
2670
|
...e
|
|
@@ -3232,77 +3232,15 @@ 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
|
|
3297
3235
|
//#region src/assets/logo/Logo.tsx
|
|
3298
|
-
var
|
|
3236
|
+
var Gr = {
|
|
3299
3237
|
xs: 16,
|
|
3300
3238
|
s: 24,
|
|
3301
3239
|
m: 48,
|
|
3302
3240
|
l: 72,
|
|
3303
3241
|
xl: 108
|
|
3304
|
-
},
|
|
3305
|
-
let i =
|
|
3242
|
+
}, Kr = n(t(({ size: e = "s", theme: t = "day", svgProps: n }, r) => {
|
|
3243
|
+
let i = Gr[e], a = t === "day" ? "var(--color-dark-300)" : "var(--color-light-100)", o = t === "day" ? "var(--color-light-100)" : "var(--color-dark-300)";
|
|
3306
3244
|
return /* @__PURE__ */ u("svg", {
|
|
3307
3245
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3308
3246
|
width: i,
|
|
@@ -3326,7 +3264,7 @@ var Zr = {
|
|
|
3326
3264
|
})]
|
|
3327
3265
|
});
|
|
3328
3266
|
}));
|
|
3329
|
-
|
|
3267
|
+
Kr.displayName = "Logo";
|
|
3330
3268
|
var j = {
|
|
3331
3269
|
root: "_root_1qg9j_55",
|
|
3332
3270
|
error: "_error_1qg9j_66",
|
|
@@ -3339,7 +3277,7 @@ var j = {
|
|
|
3339
3277
|
errorMessage: "_errorMessage_1qg9j_93",
|
|
3340
3278
|
errorList: "_errorList_1qg9j_99",
|
|
3341
3279
|
closeBtn: "_closeBtn_1qg9j_103"
|
|
3342
|
-
},
|
|
3280
|
+
}, qr = ({ className: e, onClose: t, title: n, children: r, errors: i, variant: a = "success", ...o }) => {
|
|
3343
3281
|
let s = Array.isArray(i) && i.length > 0, c = typeof r == "string" && r.trim().length > 0;
|
|
3344
3282
|
return !n && !c && !s ? null : /* @__PURE__ */ u("div", {
|
|
3345
3283
|
className: d(j.root, j[a], e),
|
|
@@ -3382,7 +3320,7 @@ var j = {
|
|
|
3382
3320
|
"aria-label": "Close",
|
|
3383
3321
|
className: j.closeBtn,
|
|
3384
3322
|
onClick: t,
|
|
3385
|
-
children: /* @__PURE__ */ l(
|
|
3323
|
+
children: /* @__PURE__ */ l(k, {})
|
|
3386
3324
|
})]
|
|
3387
3325
|
});
|
|
3388
3326
|
}, M = {
|
|
@@ -3400,7 +3338,7 @@ var j = {
|
|
|
3400
3338
|
...s ? { "aria-disabled": i } : { disabled: i },
|
|
3401
3339
|
...o
|
|
3402
3340
|
});
|
|
3403
|
-
},
|
|
3341
|
+
}, Jr = t((e, t) => {
|
|
3404
3342
|
let { variant: n = "primary", fullWidth: r, as: i = "button", disabled: a = !1, ...o } = e, s = i === "a";
|
|
3405
3343
|
return /* @__PURE__ */ l(i, {
|
|
3406
3344
|
className: d(M.button, "typography-h3", M[n], r && M.fullWidth),
|
|
@@ -3409,14 +3347,14 @@ var j = {
|
|
|
3409
3347
|
...o
|
|
3410
3348
|
});
|
|
3411
3349
|
});
|
|
3412
|
-
|
|
3350
|
+
Jr.displayName = "ButtonLegacy";
|
|
3413
3351
|
var P = {
|
|
3414
3352
|
trigger: "_trigger_bqvgk_55",
|
|
3415
3353
|
content: "_content_bqvgk_75",
|
|
3416
3354
|
item: "_item_bqvgk_86",
|
|
3417
3355
|
itemIcon: "_itemIcon_bqvgk_107",
|
|
3418
3356
|
itemLabel: "_itemLabel_bqvgk_115"
|
|
3419
|
-
},
|
|
3357
|
+
}, Yr = ({ ariaLabel: e, className: t, contentClassName: n, contentProps: r, itemClassName: i, items: a, modal: o = !0, portalProps: s, trigger: c, triggerClassName: f, ...p }) => {
|
|
3420
3358
|
let { align: m = "end", className: g, side: _ = "bottom", sideOffset: v = 6, ...y } = r ?? {};
|
|
3421
3359
|
return /* @__PURE__ */ u(h.Root, {
|
|
3422
3360
|
modal: o,
|
|
@@ -3469,7 +3407,7 @@ var P = {
|
|
|
3469
3407
|
footer: "_footer_m53un_110",
|
|
3470
3408
|
currentTime: "_currentTime_m53un_117",
|
|
3471
3409
|
divider: "_divider_m53un_121"
|
|
3472
|
-
},
|
|
3410
|
+
}, Xr = ({ src: e, waveform: t = te, className: n }) => {
|
|
3473
3411
|
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);
|
|
3474
3412
|
return /* @__PURE__ */ u("div", {
|
|
3475
3413
|
className: d(F.audio, n),
|
|
@@ -3517,14 +3455,14 @@ var P = {
|
|
|
3517
3455
|
color: "var(--color-accent-100)",
|
|
3518
3456
|
variant: "caption1",
|
|
3519
3457
|
className: F.currentTime,
|
|
3520
|
-
children:
|
|
3458
|
+
children: oe(m)
|
|
3521
3459
|
}), /* @__PURE__ */ l("span", {
|
|
3522
3460
|
className: F.divider,
|
|
3523
3461
|
children: "/"
|
|
3524
3462
|
})] }), /* @__PURE__ */ l(B, {
|
|
3525
3463
|
color: "var(--color-accent-100)",
|
|
3526
3464
|
variant: "caption1",
|
|
3527
|
-
children:
|
|
3465
|
+
children: oe(g)
|
|
3528
3466
|
})]
|
|
3529
3467
|
})]
|
|
3530
3468
|
})
|
|
@@ -3549,7 +3487,7 @@ var P = {
|
|
|
3549
3487
|
closeButtonIcon: "_closeButtonIcon_14ln7_148",
|
|
3550
3488
|
avatarGroup: "_avatarGroup_14ln7_152"
|
|
3551
3489
|
}, L = t(({ src: e, alt: t, userName: n, delayMs: r = 600, size: i = "s", className: a, ...o }, s) => {
|
|
3552
|
-
let c =
|
|
3490
|
+
let c = ie(n);
|
|
3553
3491
|
return /* @__PURE__ */ u(m.Root, {
|
|
3554
3492
|
ref: s,
|
|
3555
3493
|
className: d(I.root, I[i], a),
|
|
@@ -3572,7 +3510,7 @@ var P = {
|
|
|
3572
3510
|
L.displayName = "Avatar";
|
|
3573
3511
|
//#endregion
|
|
3574
3512
|
//#region src/components/Avatar/MainAvatar.tsx
|
|
3575
|
-
var
|
|
3513
|
+
var Zr = 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", {
|
|
3576
3514
|
ref: f,
|
|
3577
3515
|
className: I.wrapper,
|
|
3578
3516
|
children: /* @__PURE__ */ u(m.Root, {
|
|
@@ -3593,7 +3531,7 @@ var ri = t(({ src: e, alt: t, userName: n, delayMs: r = 600, size: i = "xl", cla
|
|
|
3593
3531
|
as: "span",
|
|
3594
3532
|
onClick: s,
|
|
3595
3533
|
className: d(I.closeButton, I[`closeButton-${i}`]),
|
|
3596
|
-
children: /* @__PURE__ */ l(
|
|
3534
|
+
children: /* @__PURE__ */ l(k, {
|
|
3597
3535
|
color: "var(--color-light-100)",
|
|
3598
3536
|
backgroundColor: "var(--color-danger-500)",
|
|
3599
3537
|
svgProps: { className: I.closeButtonIcon }
|
|
@@ -3602,10 +3540,10 @@ var ri = t(({ src: e, alt: t, userName: n, delayMs: r = 600, size: i = "xl", cla
|
|
|
3602
3540
|
]
|
|
3603
3541
|
})
|
|
3604
3542
|
}));
|
|
3605
|
-
|
|
3543
|
+
Zr.displayName = "MainAvatar";
|
|
3606
3544
|
//#endregion
|
|
3607
3545
|
//#region src/components/Avatar/AvatarBlock.tsx
|
|
3608
|
-
var
|
|
3546
|
+
var Qr = t(({ users: e, className: t, ...n }, r) => {
|
|
3609
3547
|
let i = e.slice(-3);
|
|
3610
3548
|
return /* @__PURE__ */ l("div", {
|
|
3611
3549
|
ref: r,
|
|
@@ -3624,14 +3562,14 @@ var ii = t(({ users: e, className: t, ...n }, r) => {
|
|
|
3624
3562
|
}, t))
|
|
3625
3563
|
});
|
|
3626
3564
|
});
|
|
3627
|
-
|
|
3628
|
-
var
|
|
3565
|
+
Qr.displayName = "AvatarBlock";
|
|
3566
|
+
var $r = { card: "_card_zzkvp_1" }, ei = t(({ children: e, className: t, ...n }, r) => /* @__PURE__ */ l("div", {
|
|
3629
3567
|
ref: r,
|
|
3630
|
-
className: d(
|
|
3568
|
+
className: d($r.card, t),
|
|
3631
3569
|
...n,
|
|
3632
3570
|
children: e
|
|
3633
3571
|
}));
|
|
3634
|
-
|
|
3572
|
+
ei.displayName = "Cards";
|
|
3635
3573
|
var R = {
|
|
3636
3574
|
root: "_root_1abcz_55",
|
|
3637
3575
|
slideWrapper: "_slideWrapper_1abcz_62",
|
|
@@ -3644,7 +3582,7 @@ var R = {
|
|
|
3644
3582
|
dots: "_dots_1abcz_112",
|
|
3645
3583
|
dotActive: "_dotActive_1abcz_138",
|
|
3646
3584
|
s: "_s_1abcz_62"
|
|
3647
|
-
},
|
|
3585
|
+
}, ti = 100, ni = ({ slides: e, controlsSize: t = "l" }) => {
|
|
3648
3586
|
let [n, r] = s(0), i = () => {
|
|
3649
3587
|
r((t) => (t - 1 + e.length) % e.length);
|
|
3650
3588
|
}, a = () => {
|
|
@@ -3665,18 +3603,10 @@ var R = {
|
|
|
3665
3603
|
className: R.slideWrapper,
|
|
3666
3604
|
children: /* @__PURE__ */ l("div", {
|
|
3667
3605
|
className: R.track,
|
|
3668
|
-
style: { transform: `translateX(-${n *
|
|
3606
|
+
style: { transform: `translateX(-${n * ti}%)` },
|
|
3669
3607
|
children: e.map((e, t) => /* @__PURE__ */ l("div", {
|
|
3670
3608
|
className: R.slide,
|
|
3671
|
-
children:
|
|
3672
|
-
src: e,
|
|
3673
|
-
alt: `Slide-${t + 1}`,
|
|
3674
|
-
style: {
|
|
3675
|
-
width: "100%",
|
|
3676
|
-
height: "100%",
|
|
3677
|
-
objectFit: "cover"
|
|
3678
|
-
}
|
|
3679
|
-
}, t)
|
|
3609
|
+
children: e
|
|
3680
3610
|
}, t))
|
|
3681
3611
|
})
|
|
3682
3612
|
}),
|
|
@@ -3704,7 +3634,7 @@ var R = {
|
|
|
3704
3634
|
buttonWrapper: "_buttonWrapper_2cqcq_68",
|
|
3705
3635
|
root: "_root_2cqcq_86",
|
|
3706
3636
|
indicator: "_indicator_2cqcq_113"
|
|
3707
|
-
},
|
|
3637
|
+
}, ri = t(({ label: e, id: t, className: n, onCheckedChange: r, ...i }, o) => {
|
|
3708
3638
|
let s = a(), c = t ?? s;
|
|
3709
3639
|
return /* @__PURE__ */ l("div", {
|
|
3710
3640
|
className: z.container,
|
|
@@ -3721,28 +3651,28 @@ var R = {
|
|
|
3721
3651
|
...i,
|
|
3722
3652
|
children: /* @__PURE__ */ l(_.Indicator, {
|
|
3723
3653
|
className: z.indicator,
|
|
3724
|
-
children: /* @__PURE__ */ l(
|
|
3654
|
+
children: /* @__PURE__ */ l(D, { color: "var(--color-dark-900)" })
|
|
3725
3655
|
})
|
|
3726
3656
|
})
|
|
3727
3657
|
}), e && /* @__PURE__ */ l("span", { children: e })]
|
|
3728
3658
|
})
|
|
3729
3659
|
});
|
|
3730
3660
|
});
|
|
3731
|
-
|
|
3732
|
-
var
|
|
3661
|
+
ri.displayName = "Checkbox";
|
|
3662
|
+
var ii = {
|
|
3733
3663
|
spinner: "_spinner_8arkn_55",
|
|
3734
3664
|
spin: "_spin_8arkn_55",
|
|
3735
3665
|
sm: "_sm_8arkn_63",
|
|
3736
3666
|
md: "_md_8arkn_68",
|
|
3737
3667
|
lg: "_lg_8arkn_74"
|
|
3738
|
-
},
|
|
3739
|
-
let o =
|
|
3668
|
+
}, ai = t(({ className: e, size: t = "md", color: n = "primary", style: r, ...i }, a) => {
|
|
3669
|
+
let o = re(n) ? E[n] : n;
|
|
3740
3670
|
return /* @__PURE__ */ l("span", {
|
|
3741
3671
|
ref: a,
|
|
3742
3672
|
"aria-label": "Loading",
|
|
3743
3673
|
"aria-live": "polite",
|
|
3744
3674
|
role: "status",
|
|
3745
|
-
className: d(
|
|
3675
|
+
className: d(ii.spinner, ii[t], e),
|
|
3746
3676
|
style: {
|
|
3747
3677
|
...r,
|
|
3748
3678
|
borderTopColor: o
|
|
@@ -3750,8 +3680,8 @@ var ui = {
|
|
|
3750
3680
|
...i
|
|
3751
3681
|
});
|
|
3752
3682
|
});
|
|
3753
|
-
|
|
3754
|
-
var
|
|
3683
|
+
ai.displayName = "CircularProgress";
|
|
3684
|
+
var oi = {
|
|
3755
3685
|
typography: "_typography_1hhu5_1",
|
|
3756
3686
|
"align-left": "_align-left_1hhu5_5",
|
|
3757
3687
|
"align-center": "_align-center_1hhu5_9",
|
|
@@ -3759,7 +3689,7 @@ var fi = {
|
|
|
3759
3689
|
"align-justify": "_align-justify_1hhu5_17",
|
|
3760
3690
|
noWrap: "_noWrap_1hhu5_21",
|
|
3761
3691
|
gutterBottom: "_gutterBottom_1hhu5_27"
|
|
3762
|
-
},
|
|
3692
|
+
}, si = {
|
|
3763
3693
|
large: "h1",
|
|
3764
3694
|
h1: "h1",
|
|
3765
3695
|
h2: "h2",
|
|
@@ -3779,7 +3709,7 @@ var fi = {
|
|
|
3779
3709
|
signature: "span",
|
|
3780
3710
|
"signature-legal": "span"
|
|
3781
3711
|
}, B = (e) => {
|
|
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 =
|
|
3712
|
+
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 = si[r] || "div", C = d(oi.typography, `typography-${r}`, _ && oi[`align-${_}`], s && oi.noWrap, g && oi.gutterBottom, a), w = r === "link" || r === "subtitle-link" || S === "a" ? {
|
|
3783
3713
|
href: v,
|
|
3784
3714
|
target: y,
|
|
3785
3715
|
rel: b
|
|
@@ -3810,7 +3740,7 @@ var fi = {
|
|
|
3810
3740
|
mobileMenu: "_mobileMenu_1abkx_126",
|
|
3811
3741
|
mobileMenuItem: "_mobileMenuItem_1abkx_151",
|
|
3812
3742
|
authActions: "_authActions_1abkx_158"
|
|
3813
|
-
},
|
|
3743
|
+
}, ci = ({ 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", ..._ }) => {
|
|
3814
3744
|
let v = s > 0 ? `${c}, ${s} unread` : c, y = [{
|
|
3815
3745
|
id: "log-in",
|
|
3816
3746
|
label: i,
|
|
@@ -3846,7 +3776,7 @@ var fi = {
|
|
|
3846
3776
|
className: V.notificationButton,
|
|
3847
3777
|
"aria-label": v,
|
|
3848
3778
|
onClick: p,
|
|
3849
|
-
children: /* @__PURE__ */ l(
|
|
3779
|
+
children: /* @__PURE__ */ l(A, {
|
|
3850
3780
|
size: 24,
|
|
3851
3781
|
msgCounter: s
|
|
3852
3782
|
})
|
|
@@ -3867,7 +3797,7 @@ var fi = {
|
|
|
3867
3797
|
children: h
|
|
3868
3798
|
})]
|
|
3869
3799
|
}),
|
|
3870
|
-
/* @__PURE__ */ l(
|
|
3800
|
+
/* @__PURE__ */ l(Yr, {
|
|
3871
3801
|
ariaLabel: o,
|
|
3872
3802
|
items: x,
|
|
3873
3803
|
triggerClassName: V.mobileMenuButton,
|
|
@@ -3888,7 +3818,7 @@ var fi = {
|
|
|
3888
3818
|
errorMessage: "_errorMessage_thxc3_111",
|
|
3889
3819
|
error: "_error_thxc3_111",
|
|
3890
3820
|
disabled: "_disabled_thxc3_129"
|
|
3891
|
-
},
|
|
3821
|
+
}, li = t(({ id: e, label: t, error: n, startAdornment: r, endAdornment: i, className: o, disabled: s, type: c = "text", ...f }, p) => {
|
|
3892
3822
|
let m = a(), h = e ?? m;
|
|
3893
3823
|
return /* @__PURE__ */ u("div", {
|
|
3894
3824
|
className: H.wrapper,
|
|
@@ -3931,7 +3861,7 @@ var fi = {
|
|
|
3931
3861
|
]
|
|
3932
3862
|
});
|
|
3933
3863
|
});
|
|
3934
|
-
|
|
3864
|
+
li.displayName = "Input";
|
|
3935
3865
|
var U = {
|
|
3936
3866
|
root: "_root_10gqv_55",
|
|
3937
3867
|
sm: "_sm_10gqv_63",
|
|
@@ -3940,8 +3870,8 @@ var U = {
|
|
|
3940
3870
|
bar: "_bar_10gqv_75",
|
|
3941
3871
|
determinate: "_determinate_10gqv_84",
|
|
3942
3872
|
indeterminate: "_indeterminate_10gqv_95"
|
|
3943
|
-
},
|
|
3944
|
-
let s =
|
|
3873
|
+
}, ui = t(({ className: e, size: t = "md", color: n = "primary", value: r = 0, determinate: i = !1, ...a }, o) => {
|
|
3874
|
+
let s = re(n) ? E[n] : n, c = Math.min(100, Math.max(0, r));
|
|
3945
3875
|
return /* @__PURE__ */ l("div", {
|
|
3946
3876
|
ref: o,
|
|
3947
3877
|
role: "progressbar",
|
|
@@ -3961,16 +3891,16 @@ var U = {
|
|
|
3961
3891
|
})
|
|
3962
3892
|
});
|
|
3963
3893
|
});
|
|
3964
|
-
|
|
3894
|
+
ui.displayName = "LinearProgress";
|
|
3965
3895
|
//#endregion
|
|
3966
3896
|
//#region src/utils/getNavItemClickHandler.ts
|
|
3967
|
-
var
|
|
3968
|
-
let n = !!e && e !==
|
|
3897
|
+
var di = "#", fi = (e, t) => {
|
|
3898
|
+
let n = !!e && e !== di;
|
|
3969
3899
|
return {
|
|
3970
3900
|
handleClick: (e) => {
|
|
3971
3901
|
n || e.preventDefault(), t();
|
|
3972
3902
|
},
|
|
3973
|
-
resolvedHref: e ??
|
|
3903
|
+
resolvedHref: e ?? di
|
|
3974
3904
|
};
|
|
3975
3905
|
}, W = {
|
|
3976
3906
|
navBar: "_navBar_1411h_55",
|
|
@@ -3978,12 +3908,12 @@ var _i = "#", vi = (e, t) => {
|
|
|
3978
3908
|
navItem: "_navItem_1411h_70",
|
|
3979
3909
|
activeItem: "_activeItem_1411h_88",
|
|
3980
3910
|
line: "_line_1411h_92"
|
|
3981
|
-
},
|
|
3911
|
+
}, pi = ({ items: e, activeId: t, onValueChange: n }) => /* @__PURE__ */ l("div", { children: /* @__PURE__ */ u("nav", {
|
|
3982
3912
|
className: W.navBar,
|
|
3983
3913
|
children: [/* @__PURE__ */ l("ul", {
|
|
3984
3914
|
className: W.list,
|
|
3985
3915
|
children: e.map((e) => {
|
|
3986
|
-
let r = t === e.id, { handleClick: i, resolvedHref: a } =
|
|
3916
|
+
let r = t === e.id, { handleClick: i, resolvedHref: a } = fi(e.href, () => n?.(e.id));
|
|
3987
3917
|
return /* @__PURE__ */ l("li", { children: /* @__PURE__ */ l(N, {
|
|
3988
3918
|
as: "a",
|
|
3989
3919
|
href: a,
|
|
@@ -4008,8 +3938,8 @@ var _i = "#", vi = (e, t) => {
|
|
|
4008
3938
|
replyText: "_replyText_1o2cp_143",
|
|
4009
3939
|
status: "_status_1o2cp_150",
|
|
4010
3940
|
attachment: "_attachment_1o2cp_157"
|
|
4011
|
-
},
|
|
4012
|
-
if (
|
|
3941
|
+
}, mi = ({ attachment: e }) => {
|
|
3942
|
+
if (ae(e)) return /* @__PURE__ */ l(c, { children: e.component });
|
|
4013
3943
|
if (e.type === "image") return /* @__PURE__ */ l("div", {
|
|
4014
3944
|
className: G.attachment,
|
|
4015
3945
|
children: /* @__PURE__ */ l("img", {
|
|
@@ -4018,20 +3948,20 @@ var _i = "#", vi = (e, t) => {
|
|
|
4018
3948
|
alt: e.name
|
|
4019
3949
|
})
|
|
4020
3950
|
});
|
|
4021
|
-
},
|
|
3951
|
+
}, hi = {
|
|
4022
3952
|
sending: /* @__PURE__ */ l(Br, {
|
|
4023
3953
|
color: "var(--color-accent-100)",
|
|
4024
3954
|
size: 16
|
|
4025
3955
|
}),
|
|
4026
|
-
sent: /* @__PURE__ */ l(
|
|
3956
|
+
sent: /* @__PURE__ */ l(D, {
|
|
4027
3957
|
color: "var(--color-accent-100)",
|
|
4028
3958
|
size: 16
|
|
4029
3959
|
}),
|
|
4030
|
-
delivered: /* @__PURE__ */ l(
|
|
3960
|
+
delivered: /* @__PURE__ */ l(Ve, {
|
|
4031
3961
|
color: "var(--color-accent-100)",
|
|
4032
3962
|
size: 16
|
|
4033
3963
|
}),
|
|
4034
|
-
read: /* @__PURE__ */ l(
|
|
3964
|
+
read: /* @__PURE__ */ l(Ve, {
|
|
4035
3965
|
color: "var(--color-success-500)",
|
|
4036
3966
|
size: 16
|
|
4037
3967
|
}),
|
|
@@ -4039,10 +3969,10 @@ var _i = "#", vi = (e, t) => {
|
|
|
4039
3969
|
color: "var(--color-danger-500)",
|
|
4040
3970
|
size: 16
|
|
4041
3971
|
})
|
|
4042
|
-
},
|
|
3972
|
+
}, gi = ({ status: e }) => /* @__PURE__ */ l("span", {
|
|
4043
3973
|
className: G.status,
|
|
4044
|
-
children:
|
|
4045
|
-
}),
|
|
3974
|
+
children: hi[e]
|
|
3975
|
+
}), _i = ({ reply: e }) => /* @__PURE__ */ u("div", {
|
|
4046
3976
|
className: G.reply,
|
|
4047
3977
|
children: [/* @__PURE__ */ l(B, {
|
|
4048
3978
|
color: "var(--color-success-500)",
|
|
@@ -4054,7 +3984,7 @@ var _i = "#", vi = (e, t) => {
|
|
|
4054
3984
|
className: G.replyText,
|
|
4055
3985
|
children: e.text
|
|
4056
3986
|
})]
|
|
4057
|
-
}),
|
|
3987
|
+
}), vi = ({ author: e, avatar: t, text: n, timestamp: r, type: i = "incoming", status: a = "sent", replyTo: o, attachments: s, className: c }) => {
|
|
4058
3988
|
let f = i === "outgoing", p = f ? "var(--color-accent-100)" : "var(--color-light-900)";
|
|
4059
3989
|
return /* @__PURE__ */ u("article", {
|
|
4060
3990
|
className: d(G.message, f && G.outgoing, c),
|
|
@@ -4069,8 +3999,8 @@ var _i = "#", vi = (e, t) => {
|
|
|
4069
3999
|
children: /* @__PURE__ */ u("div", {
|
|
4070
4000
|
className: d(G.bubble, s?.type === "image" && G.card),
|
|
4071
4001
|
children: [
|
|
4072
|
-
s && /* @__PURE__ */ l(
|
|
4073
|
-
o && /* @__PURE__ */ l(
|
|
4002
|
+
s && /* @__PURE__ */ l(mi, { attachment: s }),
|
|
4003
|
+
o && /* @__PURE__ */ l(_i, { reply: o }),
|
|
4074
4004
|
n && /* @__PURE__ */ l(B, {
|
|
4075
4005
|
variant: "body1",
|
|
4076
4006
|
color: "var(--color-light-100)",
|
|
@@ -4086,7 +4016,7 @@ var _i = "#", vi = (e, t) => {
|
|
|
4086
4016
|
color: p,
|
|
4087
4017
|
children: r
|
|
4088
4018
|
})
|
|
4089
|
-
}), a && f && /* @__PURE__ */ l(
|
|
4019
|
+
}), a && f && /* @__PURE__ */ l(gi, { status: a })]
|
|
4090
4020
|
})
|
|
4091
4021
|
]
|
|
4092
4022
|
})
|
|
@@ -4105,7 +4035,7 @@ var _i = "#", vi = (e, t) => {
|
|
|
4105
4035
|
fullSize: "_fullSize_c66hw_117",
|
|
4106
4036
|
iconButton: "_iconButton_c66hw_121",
|
|
4107
4037
|
closeButtonOutside: "_closeButtonOutside_c66hw_136"
|
|
4108
|
-
},
|
|
4038
|
+
}, yi = 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, {
|
|
4109
4039
|
open: e,
|
|
4110
4040
|
onOpenChange: t,
|
|
4111
4041
|
children: /* @__PURE__ */ u(v.Portal, { children: [/* @__PURE__ */ l(v.Overlay, { className: K.overlay }), /* @__PURE__ */ u(v.Content, {
|
|
@@ -4136,21 +4066,21 @@ var _i = "#", vi = (e, t) => {
|
|
|
4136
4066
|
type: "button",
|
|
4137
4067
|
className: d(K.iconButton, f && K.closeButtonOutside),
|
|
4138
4068
|
"aria-label": "Close",
|
|
4139
|
-
children: /* @__PURE__ */ l(
|
|
4069
|
+
children: /* @__PURE__ */ l(O, {})
|
|
4140
4070
|
})
|
|
4141
4071
|
})
|
|
4142
4072
|
]
|
|
4143
4073
|
})] })
|
|
4144
4074
|
}));
|
|
4145
|
-
|
|
4146
|
-
var
|
|
4075
|
+
yi.displayName = "Modal";
|
|
4076
|
+
var bi = { iconButton: "_iconButton_iqf7o_55" }, xi = ({ ...e }) => {
|
|
4147
4077
|
let [t, n] = s(!1);
|
|
4148
|
-
return /* @__PURE__ */ l(
|
|
4078
|
+
return /* @__PURE__ */ l(li, {
|
|
4149
4079
|
...e,
|
|
4150
4080
|
type: t ? "text" : "password",
|
|
4151
4081
|
endAdornment: /* @__PURE__ */ l("button", {
|
|
4152
4082
|
type: "button",
|
|
4153
|
-
className:
|
|
4083
|
+
className: bi.iconButton,
|
|
4154
4084
|
onClick: () => n((e) => !e),
|
|
4155
4085
|
"aria-label": t ? "Hide password" : "Show password",
|
|
4156
4086
|
children: l(t ? cn : rn, {
|
|
@@ -4168,7 +4098,7 @@ var Ei = { iconButton: "_iconButton_iqf7o_55" }, Di = ({ ...e }) => {
|
|
|
4168
4098
|
indicator: "_indicator_1rwph_112",
|
|
4169
4099
|
label: "_label_1rwph_130",
|
|
4170
4100
|
disabled: "_disabled_1rwph_135"
|
|
4171
|
-
},
|
|
4101
|
+
}, Si = t(({ className: e, options: t, disabled: n, ...r }, i) => {
|
|
4172
4102
|
let o = a();
|
|
4173
4103
|
return /* @__PURE__ */ l(y.Root, {
|
|
4174
4104
|
ref: i,
|
|
@@ -4197,18 +4127,17 @@ var Ei = { iconButton: "_iconButton_iqf7o_55" }, Di = ({ ...e }) => {
|
|
|
4197
4127
|
})
|
|
4198
4128
|
});
|
|
4199
4129
|
});
|
|
4200
|
-
|
|
4201
|
-
var
|
|
4130
|
+
Si.displayName = "RadioGroup";
|
|
4131
|
+
var Ci = { button: "_button_11i5l_1" }, wi = ({ text: e, maxLength: t, expandLabel: n = "Show more", collapseLabel: r = "Hide", className: i, onExpandedChange: a }) => {
|
|
4202
4132
|
let [o, c] = s(!1);
|
|
4203
4133
|
return e.length > t ? /* @__PURE__ */ u(B, {
|
|
4204
4134
|
className: i,
|
|
4205
4135
|
variant: "body1",
|
|
4206
4136
|
children: [
|
|
4207
|
-
o ? e :
|
|
4137
|
+
o ? e : ee(e, t),
|
|
4208
4138
|
" ",
|
|
4209
4139
|
/* @__PURE__ */ l(N, {
|
|
4210
|
-
|
|
4211
|
-
className: d("typography-link", ki.button),
|
|
4140
|
+
className: d("typography-link", Ci.button),
|
|
4212
4141
|
onClick: () => {
|
|
4213
4142
|
let e = !o;
|
|
4214
4143
|
c(e), a?.(e);
|
|
@@ -4221,7 +4150,7 @@ var ki = { button: "_button_1sk9f_1" }, Ai = ({ text: e, maxLength: t, expandLab
|
|
|
4221
4150
|
variant: "body1",
|
|
4222
4151
|
children: e
|
|
4223
4152
|
});
|
|
4224
|
-
},
|
|
4153
|
+
}, Ti = (e) => {
|
|
4225
4154
|
let { clientWidth: t, scrollWidth: n } = e;
|
|
4226
4155
|
if (n <= t) return null;
|
|
4227
4156
|
let r = t / n * t;
|
|
@@ -4230,7 +4159,7 @@ var ki = { button: "_button_1sk9f_1" }, Ai = ({ text: e, maxLength: t, expandLab
|
|
|
4230
4159
|
maxThumbOffsetX: t - r,
|
|
4231
4160
|
maxScrollOffsetX: n - t
|
|
4232
4161
|
};
|
|
4233
|
-
},
|
|
4162
|
+
}, Ei = (e) => {
|
|
4234
4163
|
let { clientHeight: t, scrollHeight: n } = e;
|
|
4235
4164
|
if (n <= t) return null;
|
|
4236
4165
|
let r = t / n * t;
|
|
@@ -4239,16 +4168,16 @@ var ki = { button: "_button_1sk9f_1" }, Ai = ({ text: e, maxLength: t, expandLab
|
|
|
4239
4168
|
maxThumbOffsetY: t - r,
|
|
4240
4169
|
maxScrollOffsetY: n - t
|
|
4241
4170
|
};
|
|
4242
|
-
},
|
|
4171
|
+
}, Di = ({ viewportRef: e, contentRef: t, verticalThumbRef: n, horizontalThumbRef: a }) => {
|
|
4243
4172
|
let o = r(() => {
|
|
4244
4173
|
let t = e.current;
|
|
4245
4174
|
if (!t) return;
|
|
4246
|
-
let r =
|
|
4175
|
+
let r = Ei(t);
|
|
4247
4176
|
if (r && n.current) {
|
|
4248
4177
|
let { thumbHeight: e, maxThumbOffsetY: i, maxScrollOffsetY: a } = r, o = t.scrollTop / a * i;
|
|
4249
4178
|
n.current.style.display = "", n.current.style.height = `${e}px`, n.current.style.transform = `translateY(${o}px)`;
|
|
4250
4179
|
} else n.current && (n.current.style.display = "none");
|
|
4251
|
-
let i =
|
|
4180
|
+
let i = Ti(t);
|
|
4252
4181
|
if (i && a.current) {
|
|
4253
4182
|
let { thumbWidth: e, maxThumbOffsetX: n, maxScrollOffsetX: r } = i, o = t.scrollLeft / r * n;
|
|
4254
4183
|
a.current.style.display = "", a.current.style.width = `${e}px`, a.current.style.transform = `translateX(${o}px)`;
|
|
@@ -4270,7 +4199,7 @@ var ki = { button: "_button_1sk9f_1" }, Ai = ({ text: e, maxLength: t, expandLab
|
|
|
4270
4199
|
e,
|
|
4271
4200
|
t
|
|
4272
4201
|
]);
|
|
4273
|
-
},
|
|
4202
|
+
}, Oi = ({ viewportRef: e }) => {
|
|
4274
4203
|
let t = o(null), n = o(null);
|
|
4275
4204
|
return {
|
|
4276
4205
|
handleVerticalMouseDown: (n) => {
|
|
@@ -4282,7 +4211,7 @@ var ki = { button: "_button_1sk9f_1" }, Ai = ({ text: e, maxLength: t, expandLab
|
|
|
4282
4211
|
startScrollTop: r.scrollTop
|
|
4283
4212
|
};
|
|
4284
4213
|
let i = (e) => {
|
|
4285
|
-
let n = t.current, i =
|
|
4214
|
+
let n = t.current, i = Ei(r);
|
|
4286
4215
|
if (!n || !i) return;
|
|
4287
4216
|
let { maxThumbOffsetY: a, maxScrollOffsetY: o } = i, s = e.clientY - n.startY, c = o / a, l = n.startScrollTop + s * c;
|
|
4288
4217
|
r.scrollTop = Math.max(0, Math.min(l, o));
|
|
@@ -4300,7 +4229,7 @@ var ki = { button: "_button_1sk9f_1" }, Ai = ({ text: e, maxLength: t, expandLab
|
|
|
4300
4229
|
startScrollLeft: r.scrollLeft
|
|
4301
4230
|
};
|
|
4302
4231
|
let i = (e) => {
|
|
4303
|
-
let t = n.current, i =
|
|
4232
|
+
let t = n.current, i = Ti(r);
|
|
4304
4233
|
if (!t || !i) return;
|
|
4305
4234
|
let { maxThumbOffsetX: a, maxScrollOffsetX: o } = i, s = e.clientX - t.startX, c = o / a, l = t.startScrollLeft + s * c;
|
|
4306
4235
|
r.scrollLeft = Math.max(0, Math.min(l, o));
|
|
@@ -4318,15 +4247,15 @@ var ki = { button: "_button_1sk9f_1" }, Ai = ({ text: e, maxLength: t, expandLab
|
|
|
4318
4247
|
scrollThumb: "_scrollThumb_1ohk9_88",
|
|
4319
4248
|
verticalThumb: "_verticalThumb_1ohk9_98",
|
|
4320
4249
|
horizontalThumb: "_horizontalThumb_1ohk9_103"
|
|
4321
|
-
},
|
|
4250
|
+
}, ki = ({ orientation: e = "both", children: t }) => {
|
|
4322
4251
|
let n = o(null), r = o(null), i = o(null), a = o(null);
|
|
4323
|
-
|
|
4252
|
+
Di({
|
|
4324
4253
|
viewportRef: n,
|
|
4325
4254
|
contentRef: r,
|
|
4326
4255
|
verticalThumbRef: i,
|
|
4327
4256
|
horizontalThumbRef: a
|
|
4328
4257
|
});
|
|
4329
|
-
let { handleVerticalMouseDown: s, handleHorizontalMouseDown: c } =
|
|
4258
|
+
let { handleVerticalMouseDown: s, handleHorizontalMouseDown: c } = Oi({ viewportRef: n });
|
|
4330
4259
|
return /* @__PURE__ */ u("div", {
|
|
4331
4260
|
className: J.scrollContainer,
|
|
4332
4261
|
children: [
|
|
@@ -4356,7 +4285,7 @@ var ki = { button: "_button_1sk9f_1" }, Ai = ({ text: e, maxLength: t, expandLab
|
|
|
4356
4285
|
})
|
|
4357
4286
|
]
|
|
4358
4287
|
});
|
|
4359
|
-
},
|
|
4288
|
+
}, Ai = (e) => /* @__PURE__ */ l(li, {
|
|
4360
4289
|
...e,
|
|
4361
4290
|
startAdornment: /* @__PURE__ */ l(zt, {
|
|
4362
4291
|
autoSize: !1,
|
|
@@ -4379,10 +4308,10 @@ var ki = { button: "_button_1sk9f_1" }, Ai = ({ text: e, maxLength: t, expandLab
|
|
|
4379
4308
|
groupLabel: "_groupLabel_uj5q7_165",
|
|
4380
4309
|
separator: "_separator_uj5q7_170",
|
|
4381
4310
|
item: "_item_uj5q7_113"
|
|
4382
|
-
},
|
|
4383
|
-
let
|
|
4384
|
-
|
|
4385
|
-
}, { className:
|
|
4311
|
+
}, ji = (e) => e.flatMap((e) => e.type === "group" ? e.options : e.type === "separator" ? [] : e), Mi = 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, ...T }, ee) => {
|
|
4312
|
+
let E = a(), [te, ne] = s(r), re = C ?? te, ie = ji(h).find((e) => e.value === re), ae = x?.id ?? `select-${E}`, oe = (e) => {
|
|
4313
|
+
ne(e), m?.(e);
|
|
4314
|
+
}, { className: se, ...D } = x ?? {}, { className: ce, ...le } = p ?? {}, { children: ue, className: O, ...de } = o ?? {}, { className: k, position: fe = "popper", sideOffset: pe = -1, ...me } = n ?? {}, { className: he, ...A } = w ?? {}, ge = (e) => {
|
|
4386
4315
|
let { className: t, ...n } = e.itemProps ?? {};
|
|
4387
4316
|
return /* @__PURE__ */ u(g.Item, {
|
|
4388
4317
|
value: e.value,
|
|
@@ -4409,52 +4338,52 @@ var ki = { button: "_button_1sk9f_1" }, Ai = ({ text: e, maxLength: t, expandLab
|
|
|
4409
4338
|
}, e.value);
|
|
4410
4339
|
};
|
|
4411
4340
|
return /* @__PURE__ */ u(g.Root, {
|
|
4412
|
-
...
|
|
4341
|
+
...T,
|
|
4413
4342
|
defaultValue: r,
|
|
4414
4343
|
value: C,
|
|
4415
|
-
onValueChange:
|
|
4344
|
+
onValueChange: oe,
|
|
4416
4345
|
children: [
|
|
4417
4346
|
f && /* @__PURE__ */ l("label", {
|
|
4418
|
-
htmlFor:
|
|
4419
|
-
className: d(Y.label, "typography-body1",
|
|
4420
|
-
...
|
|
4347
|
+
htmlFor: ae,
|
|
4348
|
+
className: d(Y.label, "typography-body1", ce),
|
|
4349
|
+
...le,
|
|
4421
4350
|
children: f
|
|
4422
4351
|
}),
|
|
4423
4352
|
/* @__PURE__ */ u(g.Trigger, {
|
|
4424
|
-
ref:
|
|
4425
|
-
id:
|
|
4426
|
-
className: d(Y.trigger, "typography-subtitle1", f && Y.hasLabel, e,
|
|
4427
|
-
...
|
|
4353
|
+
ref: ee,
|
|
4354
|
+
id: ae,
|
|
4355
|
+
className: d(Y.trigger, "typography-subtitle1", f && Y.hasLabel, e, se),
|
|
4356
|
+
...D,
|
|
4428
4357
|
children: [/* @__PURE__ */ l("span", {
|
|
4429
4358
|
className: Y.textBlock,
|
|
4430
4359
|
children: /* @__PURE__ */ u("span", {
|
|
4431
4360
|
className: Y.valueRow,
|
|
4432
|
-
children: [
|
|
4361
|
+
children: [ie?.icon && /* @__PURE__ */ l("span", {
|
|
4433
4362
|
className: Y.startIcon,
|
|
4434
4363
|
"aria-hidden": !0,
|
|
4435
|
-
children:
|
|
4364
|
+
children: ie.icon
|
|
4436
4365
|
}), /* @__PURE__ */ l(g.Value, {
|
|
4437
4366
|
placeholder: _,
|
|
4438
4367
|
...S
|
|
4439
4368
|
})]
|
|
4440
4369
|
})
|
|
4441
4370
|
}), /* @__PURE__ */ l(g.Icon, {
|
|
4442
|
-
className: d(Y.icon,
|
|
4371
|
+
className: d(Y.icon, O),
|
|
4443
4372
|
"aria-hidden": !0,
|
|
4444
|
-
...
|
|
4445
|
-
children: b ??
|
|
4373
|
+
...de,
|
|
4374
|
+
children: b ?? ue ?? /* @__PURE__ */ l("span", {})
|
|
4446
4375
|
})]
|
|
4447
4376
|
}),
|
|
4448
4377
|
/* @__PURE__ */ l(g.Portal, {
|
|
4449
4378
|
...v,
|
|
4450
4379
|
children: /* @__PURE__ */ l(g.Content, {
|
|
4451
|
-
className: d(Y.content, t,
|
|
4452
|
-
position:
|
|
4453
|
-
sideOffset:
|
|
4454
|
-
...
|
|
4380
|
+
className: d(Y.content, t, k),
|
|
4381
|
+
position: fe,
|
|
4382
|
+
sideOffset: pe,
|
|
4383
|
+
...me,
|
|
4455
4384
|
children: /* @__PURE__ */ l(g.Viewport, {
|
|
4456
|
-
className: d(Y.viewport,
|
|
4457
|
-
...
|
|
4385
|
+
className: d(Y.viewport, he),
|
|
4386
|
+
...A,
|
|
4458
4387
|
children: h.map((e, t) => {
|
|
4459
4388
|
if (e.type === "separator") {
|
|
4460
4389
|
let { className: n, ...r } = e.separatorProps ?? {};
|
|
@@ -4471,10 +4400,10 @@ var ki = { button: "_button_1sk9f_1" }, Ai = ({ text: e, maxLength: t, expandLab
|
|
|
4471
4400
|
className: d(Y.groupLabel, "typography-body1", i, n),
|
|
4472
4401
|
...r,
|
|
4473
4402
|
children: e.label
|
|
4474
|
-
}), e.options.map(
|
|
4403
|
+
}), e.options.map(ge)]
|
|
4475
4404
|
}, `group-${t}`);
|
|
4476
4405
|
}
|
|
4477
|
-
return
|
|
4406
|
+
return ge(e);
|
|
4478
4407
|
})
|
|
4479
4408
|
})
|
|
4480
4409
|
})
|
|
@@ -4482,7 +4411,7 @@ var ki = { button: "_button_1sk9f_1" }, Ai = ({ text: e, maxLength: t, expandLab
|
|
|
4482
4411
|
]
|
|
4483
4412
|
});
|
|
4484
4413
|
});
|
|
4485
|
-
|
|
4414
|
+
Mi.displayName = "Select";
|
|
4486
4415
|
var X = {
|
|
4487
4416
|
navBar: "_navBar_watj5_55",
|
|
4488
4417
|
logOutBtn: "_logOutBtn_watj5_89",
|
|
@@ -4490,11 +4419,11 @@ var X = {
|
|
|
4490
4419
|
activeItem: "_activeItem_watj5_118",
|
|
4491
4420
|
disabled: "_disabled_watj5_131",
|
|
4492
4421
|
line: "_line_watj5_137"
|
|
4493
|
-
},
|
|
4422
|
+
}, Ni = ({ items: e, userId: t, activeId: n, onValueChange: r, onLogout: i, logOutIcon: a, linkTag: o = "a" }) => /* @__PURE__ */ u("nav", {
|
|
4494
4423
|
className: X.navBar,
|
|
4495
4424
|
children: [
|
|
4496
4425
|
/* @__PURE__ */ l("ul", { children: e.map((e) => {
|
|
4497
|
-
let i = n === e.id, a = !!e.disabled, { handleClick: s, resolvedHref: c } =
|
|
4426
|
+
let i = n === e.id, a = !!e.disabled, { handleClick: s, resolvedHref: c } = fi(typeof e.href == "function" ? t ? e.href(t) : void 0 : e.href, () => r?.(e.id));
|
|
4498
4427
|
return /* @__PURE__ */ l("li", { children: /* @__PURE__ */ u(N, {
|
|
4499
4428
|
as: o,
|
|
4500
4429
|
href: a ? void 0 : c,
|
|
@@ -4506,7 +4435,7 @@ var X = {
|
|
|
4506
4435
|
}
|
|
4507
4436
|
s(e);
|
|
4508
4437
|
},
|
|
4509
|
-
tabIndex: a ?
|
|
4438
|
+
tabIndex: a ? ne.DISABLED : ne.ENABLED,
|
|
4510
4439
|
"aria-disabled": a,
|
|
4511
4440
|
children: [i && e.activeIcon ? e.activeIcon : e.icon, /* @__PURE__ */ l(B, {
|
|
4512
4441
|
variant: "body2",
|
|
@@ -4525,52 +4454,52 @@ var X = {
|
|
|
4525
4454
|
}),
|
|
4526
4455
|
/* @__PURE__ */ l("div", { className: X.line })
|
|
4527
4456
|
]
|
|
4528
|
-
}),
|
|
4457
|
+
}), Pi = {
|
|
4529
4458
|
root: "_root_1p3v5_55",
|
|
4530
4459
|
track: "_track_1p3v5_73",
|
|
4531
4460
|
range: "_range_1p3v5_81",
|
|
4532
4461
|
thumb: "_thumb_1p3v5_88"
|
|
4533
|
-
},
|
|
4462
|
+
}, Fi = t(({ className: e, ...t }, n) => /* @__PURE__ */ u(b.Root, {
|
|
4534
4463
|
ref: n,
|
|
4535
|
-
className: d(
|
|
4464
|
+
className: d(Pi.root, e),
|
|
4536
4465
|
...t,
|
|
4537
4466
|
children: [/* @__PURE__ */ l(b.Track, {
|
|
4538
|
-
className:
|
|
4539
|
-
children: /* @__PURE__ */ l(b.Range, { className:
|
|
4540
|
-
}), /* @__PURE__ */ l(b.Thumb, { className:
|
|
4467
|
+
className: Pi.track,
|
|
4468
|
+
children: /* @__PURE__ */ l(b.Range, { className: Pi.range })
|
|
4469
|
+
}), /* @__PURE__ */ l(b.Thumb, { className: Pi.thumb })]
|
|
4541
4470
|
}));
|
|
4542
|
-
|
|
4471
|
+
Fi.displayName = "Slider";
|
|
4543
4472
|
var Z = {
|
|
4544
4473
|
table: "_table_3bxp1_1",
|
|
4545
4474
|
head: "_head_3bxp1_6",
|
|
4546
4475
|
row: "_row_3bxp1_10",
|
|
4547
4476
|
headerCell: "_headerCell_3bxp1_17",
|
|
4548
4477
|
cell: "_cell_3bxp1_18"
|
|
4549
|
-
},
|
|
4478
|
+
}, Ii = t(({ className: e, ...t }, n) => /* @__PURE__ */ l("table", {
|
|
4550
4479
|
ref: n,
|
|
4551
4480
|
className: d(Z.table, e),
|
|
4552
4481
|
...t
|
|
4553
4482
|
}));
|
|
4554
|
-
|
|
4555
|
-
var
|
|
4483
|
+
Ii.displayName = "Table";
|
|
4484
|
+
var Li = t(({ className: e, ...t }, n) => /* @__PURE__ */ l("thead", {
|
|
4556
4485
|
ref: n,
|
|
4557
4486
|
className: d(Z.head, e),
|
|
4558
4487
|
...t
|
|
4559
4488
|
}));
|
|
4560
|
-
|
|
4561
|
-
var
|
|
4489
|
+
Li.displayName = "TableHead";
|
|
4490
|
+
var Ri = t(({ className: e, ...t }, n) => /* @__PURE__ */ l("tbody", {
|
|
4562
4491
|
ref: n,
|
|
4563
4492
|
className: d(Z.body, e),
|
|
4564
4493
|
...t
|
|
4565
4494
|
}));
|
|
4566
|
-
|
|
4567
|
-
var
|
|
4495
|
+
Ri.displayName = "TableBody";
|
|
4496
|
+
var zi = t(({ className: e, ...t }, n) => /* @__PURE__ */ l("tr", {
|
|
4568
4497
|
ref: n,
|
|
4569
4498
|
className: d(Z.row, e),
|
|
4570
4499
|
...t
|
|
4571
4500
|
}));
|
|
4572
|
-
|
|
4573
|
-
var
|
|
4501
|
+
zi.displayName = "TableRow";
|
|
4502
|
+
var Bi = t(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ l("th", {
|
|
4574
4503
|
ref: r,
|
|
4575
4504
|
className: d(Z.headerCell, e),
|
|
4576
4505
|
...n,
|
|
@@ -4579,8 +4508,8 @@ var Ki = t(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ l("th", {
|
|
|
4579
4508
|
children: t
|
|
4580
4509
|
})
|
|
4581
4510
|
}));
|
|
4582
|
-
|
|
4583
|
-
var
|
|
4511
|
+
Bi.displayName = "TableHeaderCell";
|
|
4512
|
+
var Vi = t(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ l("td", {
|
|
4584
4513
|
ref: r,
|
|
4585
4514
|
className: d(Z.cell, e),
|
|
4586
4515
|
...n,
|
|
@@ -4589,23 +4518,23 @@ var qi = t(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ l("td", {
|
|
|
4589
4518
|
children: t
|
|
4590
4519
|
})
|
|
4591
4520
|
}));
|
|
4592
|
-
|
|
4593
|
-
var
|
|
4521
|
+
Vi.displayName = "TableCell";
|
|
4522
|
+
var Hi = {
|
|
4594
4523
|
list: "_list_1jtfg_55",
|
|
4595
4524
|
trigger: "_trigger_1jtfg_63"
|
|
4596
|
-
},
|
|
4525
|
+
}, Ui = t(({ tabs: e, defaultValue: t, onValueChange: n, className: r, ...i }, a) => /* @__PURE__ */ u(x.Root, {
|
|
4597
4526
|
ref: a,
|
|
4598
4527
|
defaultValue: t ?? e[0]?.value,
|
|
4599
4528
|
onValueChange: n,
|
|
4600
4529
|
className: d(r),
|
|
4601
4530
|
...i,
|
|
4602
4531
|
children: [/* @__PURE__ */ l(x.List, {
|
|
4603
|
-
className:
|
|
4532
|
+
className: Hi.list,
|
|
4604
4533
|
loop: !0,
|
|
4605
4534
|
children: e.map((e) => /* @__PURE__ */ l(x.Trigger, {
|
|
4606
4535
|
value: e.value,
|
|
4607
4536
|
disabled: e.disabled,
|
|
4608
|
-
className: d(
|
|
4537
|
+
className: d(Hi.trigger, "typography-h3"),
|
|
4609
4538
|
children: e.label
|
|
4610
4539
|
}, e.value))
|
|
4611
4540
|
}), e.map((e) => /* @__PURE__ */ l(x.Content, {
|
|
@@ -4613,7 +4542,7 @@ var Ji = {
|
|
|
4613
4542
|
children: e.content
|
|
4614
4543
|
}, e.value))]
|
|
4615
4544
|
}));
|
|
4616
|
-
|
|
4545
|
+
Ui.displayName = "Tabs";
|
|
4617
4546
|
var Q = {
|
|
4618
4547
|
container: "_container_yy9sk_23",
|
|
4619
4548
|
label: "_label_yy9sk_62",
|
|
@@ -4621,7 +4550,7 @@ var Q = {
|
|
|
4621
4550
|
activeState: "_activeState_yy9sk_128",
|
|
4622
4551
|
errorState: "_errorState_yy9sk_132",
|
|
4623
4552
|
errorMessage: "_errorMessage_yy9sk_139"
|
|
4624
|
-
},
|
|
4553
|
+
}, Wi = t(({ label: e, error: t, className: n, disabled: r, id: i, ...o }, s) => {
|
|
4625
4554
|
let c = a(), d = i ?? c, f = `${d}-error`;
|
|
4626
4555
|
return /* @__PURE__ */ u("div", {
|
|
4627
4556
|
className: p(Q.container, { [Q.errorState]: !!t }),
|
|
@@ -4650,8 +4579,8 @@ var Q = {
|
|
|
4650
4579
|
]
|
|
4651
4580
|
});
|
|
4652
4581
|
});
|
|
4653
|
-
|
|
4654
|
-
var
|
|
4582
|
+
Wi.displayName = "TextArea";
|
|
4583
|
+
var Gi = { content: "_content_17aqj_1" }, Ki = t(({ children: e, content: t, delayDuration: n = 200, className: r, sideOffset: i = 8, ...a }, o) => t ? /* @__PURE__ */ l(S.Provider, {
|
|
4655
4584
|
delayDuration: n,
|
|
4656
4585
|
children: /* @__PURE__ */ u(S.Root, { children: [/* @__PURE__ */ l(S.Trigger, {
|
|
4657
4586
|
asChild: !0,
|
|
@@ -4659,12 +4588,12 @@ var Zi = { content: "_content_17aqj_1" }, Qi = t(({ children: e, content: t, del
|
|
|
4659
4588
|
}), /* @__PURE__ */ l(S.Portal, { children: /* @__PURE__ */ l(S.Content, {
|
|
4660
4589
|
ref: o,
|
|
4661
4590
|
sideOffset: i,
|
|
4662
|
-
className: d(
|
|
4591
|
+
className: d(Gi.content, r),
|
|
4663
4592
|
...a,
|
|
4664
4593
|
children: t
|
|
4665
4594
|
}) })] })
|
|
4666
4595
|
}) : /* @__PURE__ */ l(c, { children: e }));
|
|
4667
|
-
|
|
4596
|
+
Ki.displayName = "Tooltip";
|
|
4668
4597
|
var $ = {
|
|
4669
4598
|
"typography-large": "_typography-large_1qgg8_82",
|
|
4670
4599
|
"typography-h1": "_typography-h1_1qgg8_90",
|
|
@@ -4716,7 +4645,7 @@ var $ = {
|
|
|
4716
4645
|
typographyExample: "_typographyExample_1qgg8_606",
|
|
4717
4646
|
transitionBox: "_transitionBox_1qgg8_614",
|
|
4718
4647
|
prefixBox: "_prefixBox_1qgg8_624"
|
|
4719
|
-
},
|
|
4648
|
+
}, qi = () => {
|
|
4720
4649
|
let [e, t] = s(!1);
|
|
4721
4650
|
return /* @__PURE__ */ u("div", {
|
|
4722
4651
|
className: $.testContainer,
|
|
@@ -4882,6 +4811,6 @@ var $ = {
|
|
|
4882
4811
|
});
|
|
4883
4812
|
};
|
|
4884
4813
|
//#endregion
|
|
4885
|
-
export {
|
|
4814
|
+
export { Yr as ActionMenu, qr as Alert, ze as ArrowBackOutline, Le as ArrowForwardOutline, ht as ArrowIosBack, _t as ArrowIosBackOutline, $e as ArrowIosDownOutline, yt as ArrowIosForward, xt as ArrowIosForwardOutline, Ze as ArrowIosUp, Xr as AudioPlayer, L as Avatar, Qr as AvatarBlock, Vt as Block, Ut as BlockOutline, Ne as Bookmark, Fe as BookmarkOutline, wr as Brave, N as Button, Jr as ButtonLegacy, qe as Calendar, Ye as CalendarOutline, ei as Cards, ni as Carousel, ri as Checkbox, D as CheckmarkOutline, ai as CircularProgress, O as Close, k as CloseOutline, pt as ColorPaletteOutline, Pn as Copy, In as CopyOutline, Rn as CreditCard, Bn as CreditCardOutline, Ve 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, le as FillBell, Or as Firefox, _e as FlagEng, ye as FlagRus, $t as GithubRepo, br as Google, ci as Header, Xn as Heart, Qn as HeartOutline, pe as Home, he as HomeOutline, Nt as ImageIcon, Ft as ImageOutline, li as Input, Yt as Layers, Zt as LayersOutline, ui as LinearProgress, Ue as LogOut, Ge as LogOutOutline, Kr as Logo, Zr as MainAvatar, er as Maximize, nr as MaximizeOutline, pi as Menu, Dt as MenuOutline, vi as Message, vn as MessageCircle, bn as MessageCircleOutline, An as Mic, Mn as MicOutline, Ar as MicrosoftEdge, yi as Modal, mn as MoreHorizontal, gn as MoreHorizontalOutline, Mr as Opera, A as OutlineBell, vr as Paid, un as PaperPlane, fn as PaperPlaneOutline, xi as PasswordInput, at as PauseCircle, st as PauseCircleOutline, gr as Paypal, Te as Person, En as PersonAdd, On as PersonAddOutline, De 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, Ce as PlusSquare, xe as PlusSquareOutline, tt as RadioButtonChecked, rt as RadioButtonUnchecked, Si as RadioGroup, wi as ReadMore, mr as RecaptchaLogo, Pr as Safari, ki as Scroll, Lt as Search, Ai as SearchInput, zt as SearchOutline, Mi as Select, Br as Sending, Gt as Settings, qt as SettingsOutline, Ni as Sidebar, Fi as Slider, fr as Stripe, Ii as Table, Ri as TableBody, Vi as TableCell, Li as TableHead, Bi as TableHeaderCell, zi as TableRow, Ui as Tabs, qi as TestMixins, Wi as TextArea, Ki as Tooltip, cr as Trash, ur as TrashOutline, ke as TrendingUp, je as TrendingUpOutline, B as Typography, Ir as UcBrowser, Rr as Yandex, f as clsx };
|
|
4886
4815
|
|
|
4887
4816
|
//# sourceMappingURL=index.js.map
|