@candy.thieves/ui-kit-lumos 0.0.44 → 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.css +1 -1
- package/dist/index.js +308 -243
- package/dist/index.js.map +1 -1
- package/dist/types/assets/icons/Clock.d.ts +3 -0
- package/dist/types/assets/icons/List.d.ts +3 -0
- package/dist/types/assets/icons/RecycleBin.d.ts +3 -0
- package/dist/types/assets/index.d.ts +3 -0
- package/package.json +1 -1
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,28 +3624,27 @@ 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
|
-
root: "
|
|
3575
|
-
slideWrapper: "
|
|
3576
|
-
track: "
|
|
3577
|
-
slide: "
|
|
3578
|
-
|
|
3579
|
-
|
|
3580
|
-
|
|
3581
|
-
|
|
3582
|
-
|
|
3583
|
-
|
|
3584
|
-
|
|
3585
|
-
|
|
3586
|
-
}, ti = 100, ni = ({ slides: e, controlsSize: t = "l" }) => {
|
|
3636
|
+
root: "_root_1abcz_55",
|
|
3637
|
+
slideWrapper: "_slideWrapper_1abcz_62",
|
|
3638
|
+
track: "_track_1abcz_68",
|
|
3639
|
+
slide: "_slide_1abcz_62",
|
|
3640
|
+
dot: "_dot_1abcz_81",
|
|
3641
|
+
arrowButton: "_arrowButton_1abcz_81",
|
|
3642
|
+
prev: "_prev_1abcz_104",
|
|
3643
|
+
next: "_next_1abcz_108",
|
|
3644
|
+
dots: "_dots_1abcz_112",
|
|
3645
|
+
dotActive: "_dotActive_1abcz_138",
|
|
3646
|
+
s: "_s_1abcz_62"
|
|
3647
|
+
}, si = 100, ci = ({ slides: e, controlsSize: t = "l" }) => {
|
|
3587
3648
|
let [n, r] = s(0), i = () => {
|
|
3588
3649
|
r((t) => (t - 1 + e.length) % e.length);
|
|
3589
3650
|
}, a = () => {
|
|
@@ -3604,13 +3665,17 @@ var R = {
|
|
|
3604
3665
|
className: R.slideWrapper,
|
|
3605
3666
|
children: /* @__PURE__ */ l("div", {
|
|
3606
3667
|
className: R.track,
|
|
3607
|
-
style: { transform: `translateX(-${n *
|
|
3668
|
+
style: { transform: `translateX(-${n * si}%)` },
|
|
3608
3669
|
children: e.map((e, t) => /* @__PURE__ */ l("div", {
|
|
3609
3670
|
className: R.slide,
|
|
3610
3671
|
children: /* @__PURE__ */ l("img", {
|
|
3611
3672
|
src: e,
|
|
3612
3673
|
alt: `Slide-${t + 1}`,
|
|
3613
|
-
|
|
3674
|
+
style: {
|
|
3675
|
+
width: "100%",
|
|
3676
|
+
height: "100%",
|
|
3677
|
+
objectFit: "cover"
|
|
3678
|
+
}
|
|
3614
3679
|
}, t)
|
|
3615
3680
|
}, t))
|
|
3616
3681
|
})
|
|
@@ -3639,7 +3704,7 @@ var R = {
|
|
|
3639
3704
|
buttonWrapper: "_buttonWrapper_2cqcq_68",
|
|
3640
3705
|
root: "_root_2cqcq_86",
|
|
3641
3706
|
indicator: "_indicator_2cqcq_113"
|
|
3642
|
-
},
|
|
3707
|
+
}, li = t(({ label: e, id: t, className: n, onCheckedChange: r, ...i }, o) => {
|
|
3643
3708
|
let s = a(), c = t ?? s;
|
|
3644
3709
|
return /* @__PURE__ */ l("div", {
|
|
3645
3710
|
className: z.container,
|
|
@@ -3656,28 +3721,28 @@ var R = {
|
|
|
3656
3721
|
...i,
|
|
3657
3722
|
children: /* @__PURE__ */ l(_.Indicator, {
|
|
3658
3723
|
className: z.indicator,
|
|
3659
|
-
children: /* @__PURE__ */ l(
|
|
3724
|
+
children: /* @__PURE__ */ l(E, { color: "var(--color-dark-900)" })
|
|
3660
3725
|
})
|
|
3661
3726
|
})
|
|
3662
3727
|
}), e && /* @__PURE__ */ l("span", { children: e })]
|
|
3663
3728
|
})
|
|
3664
3729
|
});
|
|
3665
3730
|
});
|
|
3666
|
-
|
|
3667
|
-
var
|
|
3731
|
+
li.displayName = "Checkbox";
|
|
3732
|
+
var ui = {
|
|
3668
3733
|
spinner: "_spinner_8arkn_55",
|
|
3669
3734
|
spin: "_spin_8arkn_55",
|
|
3670
3735
|
sm: "_sm_8arkn_63",
|
|
3671
3736
|
md: "_md_8arkn_68",
|
|
3672
3737
|
lg: "_lg_8arkn_74"
|
|
3673
|
-
},
|
|
3674
|
-
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;
|
|
3675
3740
|
return /* @__PURE__ */ l("span", {
|
|
3676
3741
|
ref: a,
|
|
3677
3742
|
"aria-label": "Loading",
|
|
3678
3743
|
"aria-live": "polite",
|
|
3679
3744
|
role: "status",
|
|
3680
|
-
className: d(
|
|
3745
|
+
className: d(ui.spinner, ui[t], e),
|
|
3681
3746
|
style: {
|
|
3682
3747
|
...r,
|
|
3683
3748
|
borderTopColor: o
|
|
@@ -3685,8 +3750,8 @@ var ii = {
|
|
|
3685
3750
|
...i
|
|
3686
3751
|
});
|
|
3687
3752
|
});
|
|
3688
|
-
|
|
3689
|
-
var
|
|
3753
|
+
di.displayName = "CircularProgress";
|
|
3754
|
+
var fi = {
|
|
3690
3755
|
typography: "_typography_1hhu5_1",
|
|
3691
3756
|
"align-left": "_align-left_1hhu5_5",
|
|
3692
3757
|
"align-center": "_align-center_1hhu5_9",
|
|
@@ -3694,7 +3759,7 @@ var oi = {
|
|
|
3694
3759
|
"align-justify": "_align-justify_1hhu5_17",
|
|
3695
3760
|
noWrap: "_noWrap_1hhu5_21",
|
|
3696
3761
|
gutterBottom: "_gutterBottom_1hhu5_27"
|
|
3697
|
-
},
|
|
3762
|
+
}, pi = {
|
|
3698
3763
|
large: "h1",
|
|
3699
3764
|
h1: "h1",
|
|
3700
3765
|
h2: "h2",
|
|
@@ -3714,7 +3779,7 @@ var oi = {
|
|
|
3714
3779
|
signature: "span",
|
|
3715
3780
|
"signature-legal": "span"
|
|
3716
3781
|
}, B = (e) => {
|
|
3717
|
-
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" ? {
|
|
3718
3783
|
href: v,
|
|
3719
3784
|
target: y,
|
|
3720
3785
|
rel: b
|
|
@@ -3745,7 +3810,7 @@ var oi = {
|
|
|
3745
3810
|
mobileMenu: "_mobileMenu_1abkx_126",
|
|
3746
3811
|
mobileMenuItem: "_mobileMenuItem_1abkx_151",
|
|
3747
3812
|
authActions: "_authActions_1abkx_158"
|
|
3748
|
-
},
|
|
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", ..._ }) => {
|
|
3749
3814
|
let v = s > 0 ? `${c}, ${s} unread` : c, y = [{
|
|
3750
3815
|
id: "log-in",
|
|
3751
3816
|
label: i,
|
|
@@ -3781,7 +3846,7 @@ var oi = {
|
|
|
3781
3846
|
className: V.notificationButton,
|
|
3782
3847
|
"aria-label": v,
|
|
3783
3848
|
onClick: p,
|
|
3784
|
-
children: /* @__PURE__ */ l(
|
|
3849
|
+
children: /* @__PURE__ */ l(k, {
|
|
3785
3850
|
size: 24,
|
|
3786
3851
|
msgCounter: s
|
|
3787
3852
|
})
|
|
@@ -3802,7 +3867,7 @@ var oi = {
|
|
|
3802
3867
|
children: h
|
|
3803
3868
|
})]
|
|
3804
3869
|
}),
|
|
3805
|
-
/* @__PURE__ */ l(
|
|
3870
|
+
/* @__PURE__ */ l(ti, {
|
|
3806
3871
|
ariaLabel: o,
|
|
3807
3872
|
items: x,
|
|
3808
3873
|
triggerClassName: V.mobileMenuButton,
|
|
@@ -3823,7 +3888,7 @@ var oi = {
|
|
|
3823
3888
|
errorMessage: "_errorMessage_thxc3_111",
|
|
3824
3889
|
error: "_error_thxc3_111",
|
|
3825
3890
|
disabled: "_disabled_thxc3_129"
|
|
3826
|
-
},
|
|
3891
|
+
}, hi = t(({ id: e, label: t, error: n, startAdornment: r, endAdornment: i, className: o, disabled: s, type: c = "text", ...f }, p) => {
|
|
3827
3892
|
let m = a(), h = e ?? m;
|
|
3828
3893
|
return /* @__PURE__ */ u("div", {
|
|
3829
3894
|
className: H.wrapper,
|
|
@@ -3866,7 +3931,7 @@ var oi = {
|
|
|
3866
3931
|
]
|
|
3867
3932
|
});
|
|
3868
3933
|
});
|
|
3869
|
-
|
|
3934
|
+
hi.displayName = "Input";
|
|
3870
3935
|
var U = {
|
|
3871
3936
|
root: "_root_10gqv_55",
|
|
3872
3937
|
sm: "_sm_10gqv_63",
|
|
@@ -3875,8 +3940,8 @@ var U = {
|
|
|
3875
3940
|
bar: "_bar_10gqv_75",
|
|
3876
3941
|
determinate: "_determinate_10gqv_84",
|
|
3877
3942
|
indeterminate: "_indeterminate_10gqv_95"
|
|
3878
|
-
},
|
|
3879
|
-
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));
|
|
3880
3945
|
return /* @__PURE__ */ l("div", {
|
|
3881
3946
|
ref: o,
|
|
3882
3947
|
role: "progressbar",
|
|
@@ -3896,16 +3961,16 @@ var U = {
|
|
|
3896
3961
|
})
|
|
3897
3962
|
});
|
|
3898
3963
|
});
|
|
3899
|
-
|
|
3964
|
+
gi.displayName = "LinearProgress";
|
|
3900
3965
|
//#endregion
|
|
3901
3966
|
//#region src/utils/getNavItemClickHandler.ts
|
|
3902
|
-
var
|
|
3903
|
-
let n = !!e && e !==
|
|
3967
|
+
var _i = "#", vi = (e, t) => {
|
|
3968
|
+
let n = !!e && e !== _i;
|
|
3904
3969
|
return {
|
|
3905
3970
|
handleClick: (e) => {
|
|
3906
3971
|
n || e.preventDefault(), t();
|
|
3907
3972
|
},
|
|
3908
|
-
resolvedHref: e ??
|
|
3973
|
+
resolvedHref: e ?? _i
|
|
3909
3974
|
};
|
|
3910
3975
|
}, W = {
|
|
3911
3976
|
navBar: "_navBar_1411h_55",
|
|
@@ -3913,12 +3978,12 @@ var di = "#", fi = (e, t) => {
|
|
|
3913
3978
|
navItem: "_navItem_1411h_70",
|
|
3914
3979
|
activeItem: "_activeItem_1411h_88",
|
|
3915
3980
|
line: "_line_1411h_92"
|
|
3916
|
-
},
|
|
3981
|
+
}, yi = ({ items: e, activeId: t, onValueChange: n }) => /* @__PURE__ */ l("div", { children: /* @__PURE__ */ u("nav", {
|
|
3917
3982
|
className: W.navBar,
|
|
3918
3983
|
children: [/* @__PURE__ */ l("ul", {
|
|
3919
3984
|
className: W.list,
|
|
3920
3985
|
children: e.map((e) => {
|
|
3921
|
-
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));
|
|
3922
3987
|
return /* @__PURE__ */ l("li", { children: /* @__PURE__ */ l(N, {
|
|
3923
3988
|
as: "a",
|
|
3924
3989
|
href: a,
|
|
@@ -3943,8 +4008,8 @@ var di = "#", fi = (e, t) => {
|
|
|
3943
4008
|
replyText: "_replyText_1o2cp_143",
|
|
3944
4009
|
status: "_status_1o2cp_150",
|
|
3945
4010
|
attachment: "_attachment_1o2cp_157"
|
|
3946
|
-
},
|
|
3947
|
-
if (
|
|
4011
|
+
}, bi = ({ attachment: e }) => {
|
|
4012
|
+
if (oe(e)) return /* @__PURE__ */ l(c, { children: e.component });
|
|
3948
4013
|
if (e.type === "image") return /* @__PURE__ */ l("div", {
|
|
3949
4014
|
className: G.attachment,
|
|
3950
4015
|
children: /* @__PURE__ */ l("img", {
|
|
@@ -3953,20 +4018,20 @@ var di = "#", fi = (e, t) => {
|
|
|
3953
4018
|
alt: e.name
|
|
3954
4019
|
})
|
|
3955
4020
|
});
|
|
3956
|
-
},
|
|
4021
|
+
}, xi = {
|
|
3957
4022
|
sending: /* @__PURE__ */ l(Br, {
|
|
3958
4023
|
color: "var(--color-accent-100)",
|
|
3959
4024
|
size: 16
|
|
3960
4025
|
}),
|
|
3961
|
-
sent: /* @__PURE__ */ l(
|
|
4026
|
+
sent: /* @__PURE__ */ l(E, {
|
|
3962
4027
|
color: "var(--color-accent-100)",
|
|
3963
4028
|
size: 16
|
|
3964
4029
|
}),
|
|
3965
|
-
delivered: /* @__PURE__ */ l(
|
|
4030
|
+
delivered: /* @__PURE__ */ l(A, {
|
|
3966
4031
|
color: "var(--color-accent-100)",
|
|
3967
4032
|
size: 16
|
|
3968
4033
|
}),
|
|
3969
|
-
read: /* @__PURE__ */ l(
|
|
4034
|
+
read: /* @__PURE__ */ l(A, {
|
|
3970
4035
|
color: "var(--color-success-500)",
|
|
3971
4036
|
size: 16
|
|
3972
4037
|
}),
|
|
@@ -3974,10 +4039,10 @@ var di = "#", fi = (e, t) => {
|
|
|
3974
4039
|
color: "var(--color-danger-500)",
|
|
3975
4040
|
size: 16
|
|
3976
4041
|
})
|
|
3977
|
-
},
|
|
4042
|
+
}, Si = ({ status: e }) => /* @__PURE__ */ l("span", {
|
|
3978
4043
|
className: G.status,
|
|
3979
|
-
children:
|
|
3980
|
-
}),
|
|
4044
|
+
children: xi[e]
|
|
4045
|
+
}), Ci = ({ reply: e }) => /* @__PURE__ */ u("div", {
|
|
3981
4046
|
className: G.reply,
|
|
3982
4047
|
children: [/* @__PURE__ */ l(B, {
|
|
3983
4048
|
color: "var(--color-success-500)",
|
|
@@ -3989,7 +4054,7 @@ var di = "#", fi = (e, t) => {
|
|
|
3989
4054
|
className: G.replyText,
|
|
3990
4055
|
children: e.text
|
|
3991
4056
|
})]
|
|
3992
|
-
}),
|
|
4057
|
+
}), wi = ({ author: e, avatar: t, text: n, timestamp: r, type: i = "incoming", status: a = "sent", replyTo: o, attachments: s, className: c }) => {
|
|
3993
4058
|
let f = i === "outgoing", p = f ? "var(--color-accent-100)" : "var(--color-light-900)";
|
|
3994
4059
|
return /* @__PURE__ */ u("article", {
|
|
3995
4060
|
className: d(G.message, f && G.outgoing, c),
|
|
@@ -4004,8 +4069,8 @@ var di = "#", fi = (e, t) => {
|
|
|
4004
4069
|
children: /* @__PURE__ */ u("div", {
|
|
4005
4070
|
className: d(G.bubble, s?.type === "image" && G.card),
|
|
4006
4071
|
children: [
|
|
4007
|
-
s && /* @__PURE__ */ l(
|
|
4008
|
-
o && /* @__PURE__ */ l(
|
|
4072
|
+
s && /* @__PURE__ */ l(bi, { attachment: s }),
|
|
4073
|
+
o && /* @__PURE__ */ l(Ci, { reply: o }),
|
|
4009
4074
|
n && /* @__PURE__ */ l(B, {
|
|
4010
4075
|
variant: "body1",
|
|
4011
4076
|
color: "var(--color-light-100)",
|
|
@@ -4021,7 +4086,7 @@ var di = "#", fi = (e, t) => {
|
|
|
4021
4086
|
color: p,
|
|
4022
4087
|
children: r
|
|
4023
4088
|
})
|
|
4024
|
-
}), a && f && /* @__PURE__ */ l(
|
|
4089
|
+
}), a && f && /* @__PURE__ */ l(Si, { status: a })]
|
|
4025
4090
|
})
|
|
4026
4091
|
]
|
|
4027
4092
|
})
|
|
@@ -4040,7 +4105,7 @@ var di = "#", fi = (e, t) => {
|
|
|
4040
4105
|
fullSize: "_fullSize_c66hw_117",
|
|
4041
4106
|
iconButton: "_iconButton_c66hw_121",
|
|
4042
4107
|
closeButtonOutside: "_closeButtonOutside_c66hw_136"
|
|
4043
|
-
},
|
|
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, {
|
|
4044
4109
|
open: e,
|
|
4045
4110
|
onOpenChange: t,
|
|
4046
4111
|
children: /* @__PURE__ */ u(v.Portal, { children: [/* @__PURE__ */ l(v.Overlay, { className: K.overlay }), /* @__PURE__ */ u(v.Content, {
|
|
@@ -4071,21 +4136,21 @@ var di = "#", fi = (e, t) => {
|
|
|
4071
4136
|
type: "button",
|
|
4072
4137
|
className: d(K.iconButton, f && K.closeButtonOutside),
|
|
4073
4138
|
"aria-label": "Close",
|
|
4074
|
-
children: /* @__PURE__ */ l(
|
|
4139
|
+
children: /* @__PURE__ */ l(D, {})
|
|
4075
4140
|
})
|
|
4076
4141
|
})
|
|
4077
4142
|
]
|
|
4078
4143
|
})] })
|
|
4079
4144
|
}));
|
|
4080
|
-
|
|
4081
|
-
var
|
|
4145
|
+
Ti.displayName = "Modal";
|
|
4146
|
+
var Ei = { iconButton: "_iconButton_iqf7o_55" }, Di = ({ ...e }) => {
|
|
4082
4147
|
let [t, n] = s(!1);
|
|
4083
|
-
return /* @__PURE__ */ l(
|
|
4148
|
+
return /* @__PURE__ */ l(hi, {
|
|
4084
4149
|
...e,
|
|
4085
4150
|
type: t ? "text" : "password",
|
|
4086
4151
|
endAdornment: /* @__PURE__ */ l("button", {
|
|
4087
4152
|
type: "button",
|
|
4088
|
-
className:
|
|
4153
|
+
className: Ei.iconButton,
|
|
4089
4154
|
onClick: () => n((e) => !e),
|
|
4090
4155
|
"aria-label": t ? "Hide password" : "Show password",
|
|
4091
4156
|
children: l(t ? cn : rn, {
|
|
@@ -4103,7 +4168,7 @@ var bi = { iconButton: "_iconButton_iqf7o_55" }, xi = ({ ...e }) => {
|
|
|
4103
4168
|
indicator: "_indicator_1rwph_112",
|
|
4104
4169
|
label: "_label_1rwph_130",
|
|
4105
4170
|
disabled: "_disabled_1rwph_135"
|
|
4106
|
-
},
|
|
4171
|
+
}, Oi = t(({ className: e, options: t, disabled: n, ...r }, i) => {
|
|
4107
4172
|
let o = a();
|
|
4108
4173
|
return /* @__PURE__ */ l(y.Root, {
|
|
4109
4174
|
ref: i,
|
|
@@ -4132,18 +4197,18 @@ var bi = { iconButton: "_iconButton_iqf7o_55" }, xi = ({ ...e }) => {
|
|
|
4132
4197
|
})
|
|
4133
4198
|
});
|
|
4134
4199
|
});
|
|
4135
|
-
|
|
4136
|
-
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 }) => {
|
|
4137
4202
|
let [o, c] = s(!1);
|
|
4138
4203
|
return e.length > t ? /* @__PURE__ */ u(B, {
|
|
4139
4204
|
className: i,
|
|
4140
4205
|
variant: "body1",
|
|
4141
4206
|
children: [
|
|
4142
|
-
o ? e :
|
|
4207
|
+
o ? e : te(e, t),
|
|
4143
4208
|
" ",
|
|
4144
4209
|
/* @__PURE__ */ l(N, {
|
|
4145
4210
|
as: "a",
|
|
4146
|
-
className: d("typography-link",
|
|
4211
|
+
className: d("typography-link", ki.button),
|
|
4147
4212
|
onClick: () => {
|
|
4148
4213
|
let e = !o;
|
|
4149
4214
|
c(e), a?.(e);
|
|
@@ -4156,7 +4221,7 @@ var Ci = { button: "_button_1sk9f_1" }, wi = ({ text: e, maxLength: t, expandLab
|
|
|
4156
4221
|
variant: "body1",
|
|
4157
4222
|
children: e
|
|
4158
4223
|
});
|
|
4159
|
-
},
|
|
4224
|
+
}, ji = (e) => {
|
|
4160
4225
|
let { clientWidth: t, scrollWidth: n } = e;
|
|
4161
4226
|
if (n <= t) return null;
|
|
4162
4227
|
let r = t / n * t;
|
|
@@ -4165,7 +4230,7 @@ var Ci = { button: "_button_1sk9f_1" }, wi = ({ text: e, maxLength: t, expandLab
|
|
|
4165
4230
|
maxThumbOffsetX: t - r,
|
|
4166
4231
|
maxScrollOffsetX: n - t
|
|
4167
4232
|
};
|
|
4168
|
-
},
|
|
4233
|
+
}, Mi = (e) => {
|
|
4169
4234
|
let { clientHeight: t, scrollHeight: n } = e;
|
|
4170
4235
|
if (n <= t) return null;
|
|
4171
4236
|
let r = t / n * t;
|
|
@@ -4174,16 +4239,16 @@ var Ci = { button: "_button_1sk9f_1" }, wi = ({ text: e, maxLength: t, expandLab
|
|
|
4174
4239
|
maxThumbOffsetY: t - r,
|
|
4175
4240
|
maxScrollOffsetY: n - t
|
|
4176
4241
|
};
|
|
4177
|
-
},
|
|
4242
|
+
}, Ni = ({ viewportRef: e, contentRef: t, verticalThumbRef: n, horizontalThumbRef: a }) => {
|
|
4178
4243
|
let o = r(() => {
|
|
4179
4244
|
let t = e.current;
|
|
4180
4245
|
if (!t) return;
|
|
4181
|
-
let r =
|
|
4246
|
+
let r = Mi(t);
|
|
4182
4247
|
if (r && n.current) {
|
|
4183
4248
|
let { thumbHeight: e, maxThumbOffsetY: i, maxScrollOffsetY: a } = r, o = t.scrollTop / a * i;
|
|
4184
4249
|
n.current.style.display = "", n.current.style.height = `${e}px`, n.current.style.transform = `translateY(${o}px)`;
|
|
4185
4250
|
} else n.current && (n.current.style.display = "none");
|
|
4186
|
-
let i =
|
|
4251
|
+
let i = ji(t);
|
|
4187
4252
|
if (i && a.current) {
|
|
4188
4253
|
let { thumbWidth: e, maxThumbOffsetX: n, maxScrollOffsetX: r } = i, o = t.scrollLeft / r * n;
|
|
4189
4254
|
a.current.style.display = "", a.current.style.width = `${e}px`, a.current.style.transform = `translateX(${o}px)`;
|
|
@@ -4205,7 +4270,7 @@ var Ci = { button: "_button_1sk9f_1" }, wi = ({ text: e, maxLength: t, expandLab
|
|
|
4205
4270
|
e,
|
|
4206
4271
|
t
|
|
4207
4272
|
]);
|
|
4208
|
-
},
|
|
4273
|
+
}, Pi = ({ viewportRef: e }) => {
|
|
4209
4274
|
let t = o(null), n = o(null);
|
|
4210
4275
|
return {
|
|
4211
4276
|
handleVerticalMouseDown: (n) => {
|
|
@@ -4217,7 +4282,7 @@ var Ci = { button: "_button_1sk9f_1" }, wi = ({ text: e, maxLength: t, expandLab
|
|
|
4217
4282
|
startScrollTop: r.scrollTop
|
|
4218
4283
|
};
|
|
4219
4284
|
let i = (e) => {
|
|
4220
|
-
let n = t.current, i =
|
|
4285
|
+
let n = t.current, i = Mi(r);
|
|
4221
4286
|
if (!n || !i) return;
|
|
4222
4287
|
let { maxThumbOffsetY: a, maxScrollOffsetY: o } = i, s = e.clientY - n.startY, c = o / a, l = n.startScrollTop + s * c;
|
|
4223
4288
|
r.scrollTop = Math.max(0, Math.min(l, o));
|
|
@@ -4235,7 +4300,7 @@ var Ci = { button: "_button_1sk9f_1" }, wi = ({ text: e, maxLength: t, expandLab
|
|
|
4235
4300
|
startScrollLeft: r.scrollLeft
|
|
4236
4301
|
};
|
|
4237
4302
|
let i = (e) => {
|
|
4238
|
-
let t = n.current, i =
|
|
4303
|
+
let t = n.current, i = ji(r);
|
|
4239
4304
|
if (!t || !i) return;
|
|
4240
4305
|
let { maxThumbOffsetX: a, maxScrollOffsetX: o } = i, s = e.clientX - t.startX, c = o / a, l = t.startScrollLeft + s * c;
|
|
4241
4306
|
r.scrollLeft = Math.max(0, Math.min(l, o));
|
|
@@ -4253,15 +4318,15 @@ var Ci = { button: "_button_1sk9f_1" }, wi = ({ text: e, maxLength: t, expandLab
|
|
|
4253
4318
|
scrollThumb: "_scrollThumb_1ohk9_88",
|
|
4254
4319
|
verticalThumb: "_verticalThumb_1ohk9_98",
|
|
4255
4320
|
horizontalThumb: "_horizontalThumb_1ohk9_103"
|
|
4256
|
-
},
|
|
4321
|
+
}, Fi = ({ orientation: e = "both", children: t }) => {
|
|
4257
4322
|
let n = o(null), r = o(null), i = o(null), a = o(null);
|
|
4258
|
-
|
|
4323
|
+
Ni({
|
|
4259
4324
|
viewportRef: n,
|
|
4260
4325
|
contentRef: r,
|
|
4261
4326
|
verticalThumbRef: i,
|
|
4262
4327
|
horizontalThumbRef: a
|
|
4263
4328
|
});
|
|
4264
|
-
let { handleVerticalMouseDown: s, handleHorizontalMouseDown: c } =
|
|
4329
|
+
let { handleVerticalMouseDown: s, handleHorizontalMouseDown: c } = Pi({ viewportRef: n });
|
|
4265
4330
|
return /* @__PURE__ */ u("div", {
|
|
4266
4331
|
className: J.scrollContainer,
|
|
4267
4332
|
children: [
|
|
@@ -4291,7 +4356,7 @@ var Ci = { button: "_button_1sk9f_1" }, wi = ({ text: e, maxLength: t, expandLab
|
|
|
4291
4356
|
})
|
|
4292
4357
|
]
|
|
4293
4358
|
});
|
|
4294
|
-
},
|
|
4359
|
+
}, Ii = (e) => /* @__PURE__ */ l(hi, {
|
|
4295
4360
|
...e,
|
|
4296
4361
|
startAdornment: /* @__PURE__ */ l(zt, {
|
|
4297
4362
|
autoSize: !1,
|
|
@@ -4314,10 +4379,10 @@ var Ci = { button: "_button_1sk9f_1" }, wi = ({ text: e, maxLength: t, expandLab
|
|
|
4314
4379
|
groupLabel: "_groupLabel_uj5q7_165",
|
|
4315
4380
|
separator: "_separator_uj5q7_170",
|
|
4316
4381
|
item: "_item_uj5q7_113"
|
|
4317
|
-
},
|
|
4318
|
-
let
|
|
4319
|
-
|
|
4320
|
-
}, { 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) => {
|
|
4321
4386
|
let { className: t, ...n } = e.itemProps ?? {};
|
|
4322
4387
|
return /* @__PURE__ */ u(g.Item, {
|
|
4323
4388
|
value: e.value,
|
|
@@ -4344,52 +4409,52 @@ var Ci = { button: "_button_1sk9f_1" }, wi = ({ text: e, maxLength: t, expandLab
|
|
|
4344
4409
|
}, e.value);
|
|
4345
4410
|
};
|
|
4346
4411
|
return /* @__PURE__ */ u(g.Root, {
|
|
4347
|
-
...
|
|
4412
|
+
...ee,
|
|
4348
4413
|
defaultValue: r,
|
|
4349
4414
|
value: C,
|
|
4350
|
-
onValueChange:
|
|
4415
|
+
onValueChange: se,
|
|
4351
4416
|
children: [
|
|
4352
4417
|
f && /* @__PURE__ */ l("label", {
|
|
4353
|
-
htmlFor:
|
|
4354
|
-
className: d(Y.label, "typography-body1",
|
|
4355
|
-
...
|
|
4418
|
+
htmlFor: oe,
|
|
4419
|
+
className: d(Y.label, "typography-body1", le),
|
|
4420
|
+
...ue,
|
|
4356
4421
|
children: f
|
|
4357
4422
|
}),
|
|
4358
4423
|
/* @__PURE__ */ u(g.Trigger, {
|
|
4359
|
-
ref:
|
|
4360
|
-
id:
|
|
4361
|
-
className: d(Y.trigger, "typography-subtitle1", f && Y.hasLabel, e,
|
|
4362
|
-
...
|
|
4424
|
+
ref: te,
|
|
4425
|
+
id: oe,
|
|
4426
|
+
className: d(Y.trigger, "typography-subtitle1", f && Y.hasLabel, e, ce),
|
|
4427
|
+
...E,
|
|
4363
4428
|
children: [/* @__PURE__ */ l("span", {
|
|
4364
4429
|
className: Y.textBlock,
|
|
4365
4430
|
children: /* @__PURE__ */ u("span", {
|
|
4366
4431
|
className: Y.valueRow,
|
|
4367
|
-
children: [
|
|
4432
|
+
children: [ae?.icon && /* @__PURE__ */ l("span", {
|
|
4368
4433
|
className: Y.startIcon,
|
|
4369
4434
|
"aria-hidden": !0,
|
|
4370
|
-
children:
|
|
4435
|
+
children: ae.icon
|
|
4371
4436
|
}), /* @__PURE__ */ l(g.Value, {
|
|
4372
4437
|
placeholder: _,
|
|
4373
4438
|
...S
|
|
4374
4439
|
})]
|
|
4375
4440
|
})
|
|
4376
4441
|
}), /* @__PURE__ */ l(g.Icon, {
|
|
4377
|
-
className: d(Y.icon,
|
|
4442
|
+
className: d(Y.icon, D),
|
|
4378
4443
|
"aria-hidden": !0,
|
|
4379
|
-
...
|
|
4380
|
-
children: b ??
|
|
4444
|
+
...fe,
|
|
4445
|
+
children: b ?? de ?? /* @__PURE__ */ l("span", {})
|
|
4381
4446
|
})]
|
|
4382
4447
|
}),
|
|
4383
4448
|
/* @__PURE__ */ l(g.Portal, {
|
|
4384
4449
|
...v,
|
|
4385
4450
|
children: /* @__PURE__ */ l(g.Content, {
|
|
4386
|
-
className: d(Y.content, t,
|
|
4387
|
-
position:
|
|
4388
|
-
sideOffset:
|
|
4389
|
-
...
|
|
4451
|
+
className: d(Y.content, t, O),
|
|
4452
|
+
position: pe,
|
|
4453
|
+
sideOffset: me,
|
|
4454
|
+
...he,
|
|
4390
4455
|
children: /* @__PURE__ */ l(g.Viewport, {
|
|
4391
|
-
className: d(Y.viewport,
|
|
4392
|
-
...
|
|
4456
|
+
className: d(Y.viewport, ge),
|
|
4457
|
+
...k,
|
|
4393
4458
|
children: h.map((e, t) => {
|
|
4394
4459
|
if (e.type === "separator") {
|
|
4395
4460
|
let { className: n, ...r } = e.separatorProps ?? {};
|
|
@@ -4406,10 +4471,10 @@ var Ci = { button: "_button_1sk9f_1" }, wi = ({ text: e, maxLength: t, expandLab
|
|
|
4406
4471
|
className: d(Y.groupLabel, "typography-body1", i, n),
|
|
4407
4472
|
...r,
|
|
4408
4473
|
children: e.label
|
|
4409
|
-
}), e.options.map(
|
|
4474
|
+
}), e.options.map(_e)]
|
|
4410
4475
|
}, `group-${t}`);
|
|
4411
4476
|
}
|
|
4412
|
-
return
|
|
4477
|
+
return _e(e);
|
|
4413
4478
|
})
|
|
4414
4479
|
})
|
|
4415
4480
|
})
|
|
@@ -4417,7 +4482,7 @@ var Ci = { button: "_button_1sk9f_1" }, wi = ({ text: e, maxLength: t, expandLab
|
|
|
4417
4482
|
]
|
|
4418
4483
|
});
|
|
4419
4484
|
});
|
|
4420
|
-
|
|
4485
|
+
Ri.displayName = "Select";
|
|
4421
4486
|
var X = {
|
|
4422
4487
|
navBar: "_navBar_watj5_55",
|
|
4423
4488
|
logOutBtn: "_logOutBtn_watj5_89",
|
|
@@ -4425,11 +4490,11 @@ var X = {
|
|
|
4425
4490
|
activeItem: "_activeItem_watj5_118",
|
|
4426
4491
|
disabled: "_disabled_watj5_131",
|
|
4427
4492
|
line: "_line_watj5_137"
|
|
4428
|
-
},
|
|
4493
|
+
}, zi = ({ items: e, userId: t, activeId: n, onValueChange: r, onLogout: i, logOutIcon: a, linkTag: o = "a" }) => /* @__PURE__ */ u("nav", {
|
|
4429
4494
|
className: X.navBar,
|
|
4430
4495
|
children: [
|
|
4431
4496
|
/* @__PURE__ */ l("ul", { children: e.map((e) => {
|
|
4432
|
-
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));
|
|
4433
4498
|
return /* @__PURE__ */ l("li", { children: /* @__PURE__ */ u(N, {
|
|
4434
4499
|
as: o,
|
|
4435
4500
|
href: a ? void 0 : c,
|
|
@@ -4441,7 +4506,7 @@ var X = {
|
|
|
4441
4506
|
}
|
|
4442
4507
|
s(e);
|
|
4443
4508
|
},
|
|
4444
|
-
tabIndex: a ?
|
|
4509
|
+
tabIndex: a ? re.DISABLED : re.ENABLED,
|
|
4445
4510
|
"aria-disabled": a,
|
|
4446
4511
|
children: [i && e.activeIcon ? e.activeIcon : e.icon, /* @__PURE__ */ l(B, {
|
|
4447
4512
|
variant: "body2",
|
|
@@ -4460,52 +4525,52 @@ var X = {
|
|
|
4460
4525
|
}),
|
|
4461
4526
|
/* @__PURE__ */ l("div", { className: X.line })
|
|
4462
4527
|
]
|
|
4463
|
-
}),
|
|
4528
|
+
}), Bi = {
|
|
4464
4529
|
root: "_root_1p3v5_55",
|
|
4465
4530
|
track: "_track_1p3v5_73",
|
|
4466
4531
|
range: "_range_1p3v5_81",
|
|
4467
4532
|
thumb: "_thumb_1p3v5_88"
|
|
4468
|
-
},
|
|
4533
|
+
}, Vi = t(({ className: e, ...t }, n) => /* @__PURE__ */ u(b.Root, {
|
|
4469
4534
|
ref: n,
|
|
4470
|
-
className: d(
|
|
4535
|
+
className: d(Bi.root, e),
|
|
4471
4536
|
...t,
|
|
4472
4537
|
children: [/* @__PURE__ */ l(b.Track, {
|
|
4473
|
-
className:
|
|
4474
|
-
children: /* @__PURE__ */ l(b.Range, { className:
|
|
4475
|
-
}), /* @__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 })]
|
|
4476
4541
|
}));
|
|
4477
|
-
|
|
4542
|
+
Vi.displayName = "Slider";
|
|
4478
4543
|
var Z = {
|
|
4479
4544
|
table: "_table_3bxp1_1",
|
|
4480
4545
|
head: "_head_3bxp1_6",
|
|
4481
4546
|
row: "_row_3bxp1_10",
|
|
4482
4547
|
headerCell: "_headerCell_3bxp1_17",
|
|
4483
4548
|
cell: "_cell_3bxp1_18"
|
|
4484
|
-
},
|
|
4549
|
+
}, Hi = t(({ className: e, ...t }, n) => /* @__PURE__ */ l("table", {
|
|
4485
4550
|
ref: n,
|
|
4486
4551
|
className: d(Z.table, e),
|
|
4487
4552
|
...t
|
|
4488
4553
|
}));
|
|
4489
|
-
|
|
4490
|
-
var
|
|
4554
|
+
Hi.displayName = "Table";
|
|
4555
|
+
var Ui = t(({ className: e, ...t }, n) => /* @__PURE__ */ l("thead", {
|
|
4491
4556
|
ref: n,
|
|
4492
4557
|
className: d(Z.head, e),
|
|
4493
4558
|
...t
|
|
4494
4559
|
}));
|
|
4495
|
-
|
|
4496
|
-
var
|
|
4560
|
+
Ui.displayName = "TableHead";
|
|
4561
|
+
var Wi = t(({ className: e, ...t }, n) => /* @__PURE__ */ l("tbody", {
|
|
4497
4562
|
ref: n,
|
|
4498
4563
|
className: d(Z.body, e),
|
|
4499
4564
|
...t
|
|
4500
4565
|
}));
|
|
4501
|
-
|
|
4502
|
-
var
|
|
4566
|
+
Wi.displayName = "TableBody";
|
|
4567
|
+
var Gi = t(({ className: e, ...t }, n) => /* @__PURE__ */ l("tr", {
|
|
4503
4568
|
ref: n,
|
|
4504
4569
|
className: d(Z.row, e),
|
|
4505
4570
|
...t
|
|
4506
4571
|
}));
|
|
4507
|
-
|
|
4508
|
-
var
|
|
4572
|
+
Gi.displayName = "TableRow";
|
|
4573
|
+
var Ki = t(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ l("th", {
|
|
4509
4574
|
ref: r,
|
|
4510
4575
|
className: d(Z.headerCell, e),
|
|
4511
4576
|
...n,
|
|
@@ -4514,8 +4579,8 @@ var Bi = t(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ l("th", {
|
|
|
4514
4579
|
children: t
|
|
4515
4580
|
})
|
|
4516
4581
|
}));
|
|
4517
|
-
|
|
4518
|
-
var
|
|
4582
|
+
Ki.displayName = "TableHeaderCell";
|
|
4583
|
+
var qi = t(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ l("td", {
|
|
4519
4584
|
ref: r,
|
|
4520
4585
|
className: d(Z.cell, e),
|
|
4521
4586
|
...n,
|
|
@@ -4524,23 +4589,23 @@ var Vi = t(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ l("td", {
|
|
|
4524
4589
|
children: t
|
|
4525
4590
|
})
|
|
4526
4591
|
}));
|
|
4527
|
-
|
|
4528
|
-
var
|
|
4592
|
+
qi.displayName = "TableCell";
|
|
4593
|
+
var Ji = {
|
|
4529
4594
|
list: "_list_1jtfg_55",
|
|
4530
4595
|
trigger: "_trigger_1jtfg_63"
|
|
4531
|
-
},
|
|
4596
|
+
}, Yi = t(({ tabs: e, defaultValue: t, onValueChange: n, className: r, ...i }, a) => /* @__PURE__ */ u(x.Root, {
|
|
4532
4597
|
ref: a,
|
|
4533
4598
|
defaultValue: t ?? e[0]?.value,
|
|
4534
4599
|
onValueChange: n,
|
|
4535
4600
|
className: d(r),
|
|
4536
4601
|
...i,
|
|
4537
4602
|
children: [/* @__PURE__ */ l(x.List, {
|
|
4538
|
-
className:
|
|
4603
|
+
className: Ji.list,
|
|
4539
4604
|
loop: !0,
|
|
4540
4605
|
children: e.map((e) => /* @__PURE__ */ l(x.Trigger, {
|
|
4541
4606
|
value: e.value,
|
|
4542
4607
|
disabled: e.disabled,
|
|
4543
|
-
className: d(
|
|
4608
|
+
className: d(Ji.trigger, "typography-h3"),
|
|
4544
4609
|
children: e.label
|
|
4545
4610
|
}, e.value))
|
|
4546
4611
|
}), e.map((e) => /* @__PURE__ */ l(x.Content, {
|
|
@@ -4548,7 +4613,7 @@ var Hi = {
|
|
|
4548
4613
|
children: e.content
|
|
4549
4614
|
}, e.value))]
|
|
4550
4615
|
}));
|
|
4551
|
-
|
|
4616
|
+
Yi.displayName = "Tabs";
|
|
4552
4617
|
var Q = {
|
|
4553
4618
|
container: "_container_yy9sk_23",
|
|
4554
4619
|
label: "_label_yy9sk_62",
|
|
@@ -4556,7 +4621,7 @@ var Q = {
|
|
|
4556
4621
|
activeState: "_activeState_yy9sk_128",
|
|
4557
4622
|
errorState: "_errorState_yy9sk_132",
|
|
4558
4623
|
errorMessage: "_errorMessage_yy9sk_139"
|
|
4559
|
-
},
|
|
4624
|
+
}, Xi = t(({ label: e, error: t, className: n, disabled: r, id: i, ...o }, s) => {
|
|
4560
4625
|
let c = a(), d = i ?? c, f = `${d}-error`;
|
|
4561
4626
|
return /* @__PURE__ */ u("div", {
|
|
4562
4627
|
className: p(Q.container, { [Q.errorState]: !!t }),
|
|
@@ -4585,8 +4650,8 @@ var Q = {
|
|
|
4585
4650
|
]
|
|
4586
4651
|
});
|
|
4587
4652
|
});
|
|
4588
|
-
|
|
4589
|
-
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, {
|
|
4590
4655
|
delayDuration: n,
|
|
4591
4656
|
children: /* @__PURE__ */ u(S.Root, { children: [/* @__PURE__ */ l(S.Trigger, {
|
|
4592
4657
|
asChild: !0,
|
|
@@ -4594,12 +4659,12 @@ var Gi = { content: "_content_17aqj_1" }, Ki = t(({ children: e, content: t, del
|
|
|
4594
4659
|
}), /* @__PURE__ */ l(S.Portal, { children: /* @__PURE__ */ l(S.Content, {
|
|
4595
4660
|
ref: o,
|
|
4596
4661
|
sideOffset: i,
|
|
4597
|
-
className: d(
|
|
4662
|
+
className: d(Zi.content, r),
|
|
4598
4663
|
...a,
|
|
4599
4664
|
children: t
|
|
4600
4665
|
}) })] })
|
|
4601
4666
|
}) : /* @__PURE__ */ l(c, { children: e }));
|
|
4602
|
-
|
|
4667
|
+
Qi.displayName = "Tooltip";
|
|
4603
4668
|
var $ = {
|
|
4604
4669
|
"typography-large": "_typography-large_1qgg8_82",
|
|
4605
4670
|
"typography-h1": "_typography-h1_1qgg8_90",
|
|
@@ -4651,7 +4716,7 @@ var $ = {
|
|
|
4651
4716
|
typographyExample: "_typographyExample_1qgg8_606",
|
|
4652
4717
|
transitionBox: "_transitionBox_1qgg8_614",
|
|
4653
4718
|
prefixBox: "_prefixBox_1qgg8_624"
|
|
4654
|
-
},
|
|
4719
|
+
}, $i = () => {
|
|
4655
4720
|
let [e, t] = s(!1);
|
|
4656
4721
|
return /* @__PURE__ */ u("div", {
|
|
4657
4722
|
className: $.testContainer,
|
|
@@ -4817,6 +4882,6 @@ var $ = {
|
|
|
4817
4882
|
});
|
|
4818
4883
|
};
|
|
4819
4884
|
//#endregion
|
|
4820
|
-
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 };
|
|
4821
4886
|
|
|
4822
4887
|
//# sourceMappingURL=index.js.map
|