@candy.thieves/ui-kit-lumos 0.0.71 → 0.0.73
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +345 -168
- package/dist/index.js.map +1 -1
- package/dist/types/assets/icons/AssignUser.d.ts +3 -0
- package/dist/types/assets/icons/BillPay.d.ts +3 -0
- package/dist/types/assets/icons/Devices.d.ts +3 -0
- package/dist/types/assets/icons/MoneyCheck.d.ts +3 -0
- package/dist/types/assets/icons/Payment.d.ts +3 -0
- package/dist/types/assets/icons/PaymentSettings.d.ts +3 -0
- package/dist/types/assets/icons/Tablet.d.ts +3 -0
- package/dist/types/assets/icons/YooKassa.d.ts +3 -0
- package/dist/types/assets/index.d.ts +8 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3317,15 +3317,192 @@ var si = (e) => {
|
|
|
3317
3317
|
}));
|
|
3318
3318
|
ci.displayName = "Clock";
|
|
3319
3319
|
//#endregion
|
|
3320
|
+
//#region src/assets/icons/AssignUser.tsx
|
|
3321
|
+
var li = (e) => /* @__PURE__ */ d("svg", {
|
|
3322
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
3323
|
+
viewBox: "0 0 36 36",
|
|
3324
|
+
fill: "none",
|
|
3325
|
+
...e,
|
|
3326
|
+
children: [
|
|
3327
|
+
/* @__PURE__ */ u("circle", {
|
|
3328
|
+
cx: 18,
|
|
3329
|
+
cy: 10.4,
|
|
3330
|
+
r: 6.8,
|
|
3331
|
+
className: "clr-i-solid clr-i-solid-path-1"
|
|
3332
|
+
}),
|
|
3333
|
+
/* @__PURE__ */ u("path", {
|
|
3334
|
+
d: "M12 26.7a2.8 2.8 0 0 1 4.9-1.9l3.8 4.2 6.9-7.6a17 17 0 0 0-9.6-2.8A16 16 0 0 0 5.5 24l-.2.6V30a2 2 0 0 0 2 2h8.5l-3-3.3a3 3 0 0 1-.8-2",
|
|
3335
|
+
className: "clr-i-solid clr-i-solid-path-2"
|
|
3336
|
+
}),
|
|
3337
|
+
/* @__PURE__ */ u("path", {
|
|
3338
|
+
d: "M28.8 32a2 2 0 0 0 1.9-2v-3.8L25.6 32Z",
|
|
3339
|
+
className: "clr-i-solid clr-i-solid-path-3"
|
|
3340
|
+
}),
|
|
3341
|
+
/* @__PURE__ */ u("path", {
|
|
3342
|
+
d: "M33.8 18.6a1 1 0 0 0-1.4.1l-11.7 13-5.2-5.6a1 1 0 0 0-1.4-.1 1 1 0 0 0 0 1.4l6.7 7.2 13-14.6a1 1 0 0 0 0-1.4",
|
|
3343
|
+
className: "clr-i-solid clr-i-solid-path-4"
|
|
3344
|
+
}),
|
|
3345
|
+
/* @__PURE__ */ u("path", {
|
|
3346
|
+
fill: "none",
|
|
3347
|
+
d: "M0 0h36v36H0z"
|
|
3348
|
+
})
|
|
3349
|
+
]
|
|
3350
|
+
}), ui = t((e, t) => /* @__PURE__ */ u(T, {
|
|
3351
|
+
ref: t,
|
|
3352
|
+
icon: /* @__PURE__ */ u(li, {}),
|
|
3353
|
+
...e
|
|
3354
|
+
}));
|
|
3355
|
+
ui.displayName = "AssignUser";
|
|
3356
|
+
//#endregion
|
|
3357
|
+
//#region src/assets/icons/BillPay.tsx
|
|
3358
|
+
var di = (e) => /* @__PURE__ */ d("svg", {
|
|
3359
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
3360
|
+
viewBox: "0 0 24 24",
|
|
3361
|
+
fill: "none",
|
|
3362
|
+
...e,
|
|
3363
|
+
children: [
|
|
3364
|
+
/* @__PURE__ */ u("path", { d: "M10.5 4.3 12 3.1l1.5 1.2h1.3L12 2 9.2 4.3m1.9 3-.4.2-.2.3-.1.4.1.4.2.3.3.2.5.1h.1V7.1zm1.5 2.9-.3-.1v2.3l.4-.1.5-.2.3-.4.1-.5q0-.5-.3-.6 0-.2-.7-.4" }),
|
|
3365
|
+
/* @__PURE__ */ u("path", { d: "m10.3 15.5 1.7-1.1 1.7 1.1 4.2-3V5.1H6.2v7.4zm1.3-5.5h-.2l-.6-.2-.5-.3-.5-.5-.1-.7v-.4l.3-.6.6-.5.9-.3v-.4h.7v.4q.8 0 1.3.5t.7 1.6v.2h-.7v-.2q0-.7-.4-1-.3-.3-.8-.3v2.2l.5.1.8.3.5.4.3.5.1.6-.2.9-.5.6-.7.3-.6.1v.8h-.7v-.8l-.7-.2-.7-.4-.5-.7-.2-1v-.2h.7v.2q0 .8.4 1.1.3.3 1 .4z" }),
|
|
3366
|
+
/* @__PURE__ */ u("path", { d: "M18.7 7.3v1.1l2.5 2v.1l-6.8 5.4 6.5 4.3.2.6H21l-9-5.3-9.1 5.4.2-.6L9.6 16l-6.8-5.4v-.1l2.5-2V7.3L2 10v10.4q.1 1.5 1.6 1.6h16.9q1.5-.1 1.6-1.6V10z" })
|
|
3367
|
+
]
|
|
3368
|
+
}), fi = t((e, t) => /* @__PURE__ */ u(T, {
|
|
3369
|
+
ref: t,
|
|
3370
|
+
icon: /* @__PURE__ */ u(di, {}),
|
|
3371
|
+
...e
|
|
3372
|
+
}));
|
|
3373
|
+
fi.displayName = "BillPay";
|
|
3374
|
+
//#endregion
|
|
3375
|
+
//#region src/assets/icons/Devices.tsx
|
|
3376
|
+
var pi = (e) => /* @__PURE__ */ d("svg", {
|
|
3377
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
3378
|
+
viewBox: "0 0 36 36",
|
|
3379
|
+
fill: "none",
|
|
3380
|
+
...e,
|
|
3381
|
+
children: [
|
|
3382
|
+
/* @__PURE__ */ u("path", {
|
|
3383
|
+
d: "M32 13h-8a2 2 0 0 0-2 2v15a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V15a2 2 0 0 0-2-2m0 2v13h-8V15Z",
|
|
3384
|
+
className: "clr-i-solid clr-i-solid-path-1"
|
|
3385
|
+
}),
|
|
3386
|
+
/* @__PURE__ */ u("path", {
|
|
3387
|
+
d: "M28 4H4a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h8v2H9.3A1.2 1.2 0 0 0 8 27a1.2 1.2 0 0 0 1.3 1H20v-.4h.1V22H4V6h24v5h2V6a2 2 0 0 0-2-2",
|
|
3388
|
+
className: "clr-i-solid clr-i-solid-path-2"
|
|
3389
|
+
}),
|
|
3390
|
+
/* @__PURE__ */ u("path", {
|
|
3391
|
+
fill: "none",
|
|
3392
|
+
d: "M0 0h36v36H0z"
|
|
3393
|
+
})
|
|
3394
|
+
]
|
|
3395
|
+
}), mi = t((e, t) => /* @__PURE__ */ u(T, {
|
|
3396
|
+
ref: t,
|
|
3397
|
+
icon: /* @__PURE__ */ u(pi, {}),
|
|
3398
|
+
...e
|
|
3399
|
+
}));
|
|
3400
|
+
mi.displayName = "Devices";
|
|
3401
|
+
//#endregion
|
|
3402
|
+
//#region src/assets/icons/Tablet.tsx
|
|
3403
|
+
var hi = (e) => /* @__PURE__ */ u("svg", {
|
|
3404
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
3405
|
+
viewBox: "0 0 489.4 489.4",
|
|
3406
|
+
fill: "none",
|
|
3407
|
+
...e,
|
|
3408
|
+
children: /* @__PURE__ */ u("path", { d: "M488.9 444.2V170.9a38 38 0 0 0-37.1-38.4H325a38 38 0 0 0-37.1 38.4V451a38 38 0 0 0 37.1 38.4h126.8a38 38 0 0 0 37.1-38.4zm-84.5 29.1h-35.8c-5.3 0-9.6-4.5-9.6-10s4.3-10 9.6-10h35.8c5.3 0 9.6 4.5 9.6 10s-4.3 10-9.6 10m50.8-36-.7.1H322.3l-.7-.1V184.9l.7-.1h132.2l.6.1zm-349.5 52.1h159.7a77 77 0 0 1-10.3-38.4v-22.9H42.3v-375h271.8V99q5.4-.8 10.9-.9h30.4V39.4c0-16.3-9.6-30.3-23.3-36.3q-7-3-14.9-3.1H38.7q-8 0-14.9 3.1C10.1 9.1.5 23.1.5 39.4V450a39 39 0 0 0 38.1 39.4zm54.3-39.8h35.8c5.3 0 9.6 4.5 9.6 10s-4.3 10-9.6 10H160c-5.3 0-9.6-4.5-9.6-10s4.3-10 9.6-10" })
|
|
3409
|
+
}), gi = t((e, t) => /* @__PURE__ */ u(T, {
|
|
3410
|
+
ref: t,
|
|
3411
|
+
icon: /* @__PURE__ */ u(hi, {}),
|
|
3412
|
+
...e
|
|
3413
|
+
}));
|
|
3414
|
+
gi.displayName = "Tablet";
|
|
3415
|
+
//#endregion
|
|
3416
|
+
//#region src/assets/icons/MoneyCheck.tsx
|
|
3417
|
+
var _i = (e) => /* @__PURE__ */ u("svg", {
|
|
3418
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
3419
|
+
viewBox: "0 0 24 24",
|
|
3420
|
+
fill: "nones",
|
|
3421
|
+
...e,
|
|
3422
|
+
children: /* @__PURE__ */ u("path", {
|
|
3423
|
+
stroke: "#000",
|
|
3424
|
+
strokeLinecap: "round",
|
|
3425
|
+
strokeLinejoin: "round",
|
|
3426
|
+
strokeWidth: 2,
|
|
3427
|
+
d: "M14 14h3m-3-4h3m-8-.5v-1m0 1h2m-2 0c-1.8 0-2 .4-2 1.3S7 12 9 12s2 .2 2 1.2c0 .7 0 1.3-2 1.3m0 0v1m0-1H7M6.2 19h11.6q1.6 0 2.1-.2t.9-.9q.3-.5.2-2.1V8.2q0-1.6-.2-2.1a2 2 0 0 0-.9-.9q-.5-.3-2.1-.2H6.2q-1.6 0-2.1.2a2 2 0 0 0-.9.9Q3 6.6 3 8.2v7.6q0 1.6.2 2.1t.9.9q.5.3 2.1.2"
|
|
3428
|
+
})
|
|
3429
|
+
}), vi = t((e, t) => /* @__PURE__ */ u(T, {
|
|
3430
|
+
ref: t,
|
|
3431
|
+
icon: /* @__PURE__ */ u(_i, {}),
|
|
3432
|
+
...e
|
|
3433
|
+
}));
|
|
3434
|
+
vi.displayName = "MoneyCheck";
|
|
3435
|
+
//#endregion
|
|
3436
|
+
//#region src/assets/icons/Payment.tsx
|
|
3437
|
+
var yi = (e) => /* @__PURE__ */ u("svg", {
|
|
3438
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
3439
|
+
viewBox: "0 0 24 24",
|
|
3440
|
+
fill: "nones",
|
|
3441
|
+
...e,
|
|
3442
|
+
children: /* @__PURE__ */ u("path", { d: "M20 4H4a2 2 0 0 0-2 2v12q.2 1.8 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2m0 14H4v-6h16zm0-10H4V6h16z" })
|
|
3443
|
+
}), bi = t((e, t) => /* @__PURE__ */ u(T, {
|
|
3444
|
+
ref: t,
|
|
3445
|
+
icon: /* @__PURE__ */ u(yi, {}),
|
|
3446
|
+
...e
|
|
3447
|
+
}));
|
|
3448
|
+
bi.displayName = "Payment";
|
|
3449
|
+
//#endregion
|
|
3450
|
+
//#region src/assets/icons/PaymentSettings.tsx
|
|
3451
|
+
var xi = (e) => /* @__PURE__ */ u("svg", {
|
|
3452
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
3453
|
+
viewBox: "0 0 475.7 475.7",
|
|
3454
|
+
fill: "nones",
|
|
3455
|
+
...e,
|
|
3456
|
+
children: /* @__PURE__ */ u("path", { d: "M112.7 193.2q8.3 0 16.3-1.7l14 33.6 27.7-11.5-14-33.6q14.1-9.2 23.3-23.3l33.7 14 11.5-27.7-33.7-14q3.5-16.5 0-32.9l33.6-14-11.4-27.6L180 68.4A80 80 0 0 0 156.8 45l13.9-33.6L143 0l-14 33.6a82 82 0 0 0-32.9 0L82.2 0 54.5 11.5l14 33.6a80 80 0 0 0-23.3 23.3l-33.7-14L0 82.3l33.7 14a80 80 0 0 0 0 32.8L0 143l11.5 27.7 33.6-14Q54.5 171 68.4 180l-14 33.6 27.8 11.5 14-33.6a81 81 0 0 0 16.5 1.7m-46.9-100a50 50 0 0 1 46.7-31.3 50.5 50.5 0 1 1-46.7 31.3M465.2 170l-9-19.4-70 70-26.6-26.5 70-70-19.4-9A112.7 112.7 0 0 0 282 137.8 114 114 0 0 0 255.3 256L118.8 392.5a48.4 48.4 0 0 0 0 69 48.4 48.4 0 0 0 69 0l136.5-136.6q18.3 6.5 38 6.6a113.9 113.9 0 0 0 103-161.4m-43.9 107a83 83 0 0 1-94.3 16.7l-9.5-4.4-151 151a18.6 18.6 0 0 1-26.5 0 18.6 18.6 0 0 1 0-26.6l151-151-4.4-9.5a83.8 83.8 0 0 1 75.7-118.7q6.8 0 13.4 1l-58.5 58.6 69 69 58.5-58.6c4.2 26-4.2 53.3-23.4 72.5" })
|
|
3457
|
+
}), Si = t((e, t) => /* @__PURE__ */ u(T, {
|
|
3458
|
+
ref: t,
|
|
3459
|
+
icon: /* @__PURE__ */ u(xi, {}),
|
|
3460
|
+
...e
|
|
3461
|
+
}));
|
|
3462
|
+
Si.displayName = "PaymentSettings";
|
|
3463
|
+
//#endregion
|
|
3464
|
+
//#region src/assets/icons/YooKassa.tsx
|
|
3465
|
+
var Ci = (e) => {
|
|
3466
|
+
let { fill: t } = e;
|
|
3467
|
+
return /* @__PURE__ */ d("svg", {
|
|
3468
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
3469
|
+
viewBox: "0 0 266 64",
|
|
3470
|
+
fill: "none",
|
|
3471
|
+
...e,
|
|
3472
|
+
children: [
|
|
3473
|
+
/* @__PURE__ */ d("g", {
|
|
3474
|
+
fill: t,
|
|
3475
|
+
children: [/* @__PURE__ */ u("path", { d: "M136.578 19.367h-8.748l-6.191 10.784h-3.187l-.101-23.338h-8.282v42.149h8.282l.101-11.568h3.167l8.22 11.568h9.175l-10.717-15.33zM199.259 33.25a22.077 22.077 0 0 0-5.42-2.515l-1.827-.684-.494-.184c-1.135-.422-2.327-.865-2.368-2.01a2.007 2.007 0 0 1 .894-1.73 3.958 3.958 0 0 1 2.029-.684 6.618 6.618 0 0 1 4.425 1.308l.224.14 4.425-5.049-.224-.18a11.137 11.137 0 0 0-1.786-1.289 11.981 11.981 0 0 0-3.674-1.348 13.68 13.68 0 0 0-5.643 0 10.571 10.571 0 0 0-4.953 2.012 8.892 8.892 0 0 0-2.278 2.626 8.817 8.817 0 0 0-1.091 3.29A8.451 8.451 0 0 0 183 32.866a12.202 12.202 0 0 0 6.089 3.621l.366.121.832.282c3.004 1.006 3.857 1.408 4.344 2.012.226.303.354.668.365 1.046 0 1.428-1.766 2.012-2.963 2.374a6.284 6.284 0 0 1-4.831-1.087 9.977 9.977 0 0 1-2.801-2.796c-.123.127-.53.53-1.062 1.057-1.493 1.479-3.971 3.933-3.911 3.993l.142.2a15.423 15.423 0 0 0 8.768 5.393c.791.151 1.592.252 2.396.302h.832c2.734.056 5.413-.77 7.632-2.354a9.212 9.212 0 0 0 3.309-4.225 8.206 8.206 0 0 0-.731-6.961 8.506 8.506 0 0 0-2.517-2.596zM220.614 30.734a21.93 21.93 0 0 1 5.399 2.515 8.566 8.566 0 0 1 2.476 2.575 8.215 8.215 0 0 1 .731 6.961 9.206 9.206 0 0 1-3.309 4.225 12.684 12.684 0 0 1-7.632 2.354h-.832a18.43 18.43 0 0 1-2.395-.302 15.426 15.426 0 0 1-8.769-5.391l-.162-.202c-.04-.052 1.917-1.999 3.397-3.47.777-.772 1.422-1.413 1.576-1.58a10.525 10.525 0 0 0 2.801 2.797 6.328 6.328 0 0 0 4.851 1.086c1.198-.362 2.943-.945 2.943-2.373a1.62 1.62 0 0 0-.345-1.047c-.487-.603-1.339-1.006-4.364-2.011l-.832-.282-.345-.12a12.2 12.2 0 0 1-6.09-3.622 8.34 8.34 0 0 1-1.502-5.915c.149-1.157.527-2.273 1.112-3.285s1.366-1.898 2.298-2.61a10.732 10.732 0 0 1 4.953-2.012 13.758 13.758 0 0 1 5.663 0c1.285.246 2.52.702 3.654 1.348.647.365 1.252.796 1.807 1.288l.203.18-4.425 5.05-.203-.14a6.66 6.66 0 0 0-4.425-1.308 3.958 3.958 0 0 0-2.03.684 2.16 2.16 0 0 0-.914 1.73c.061 1.147 1.239 1.59 2.396 2.012l.466.181z" }), /* @__PURE__ */ u("path", {
|
|
3476
|
+
fillRule: "evenodd",
|
|
3477
|
+
d: "M163.777 19.367v2.897h-.365a12.235 12.235 0 0 0-8.546-3.54 14.11 14.11 0 0 0-5.73 1.093 14.002 14.002 0 0 0-4.784 3.313 15.77 15.77 0 0 0-4.06 10.944 16.27 16.27 0 0 0 4.06 11.166c1.31 1.426 2.914 2.555 4.704 3.312s3.723 1.123 5.668 1.074a13.79 13.79 0 0 0 8.728-3.32h.325v2.595h8.607V19.367zm.426 14.868a9.616 9.616 0 0 1-2.253 6.538c-.737.818-1.646 1.466-2.663 1.897s-2.117.635-3.223.598a7.183 7.183 0 0 1-3.109-.65 7.12 7.12 0 0 1-2.514-1.925 9.804 9.804 0 0 1-2.192-6.619 9.445 9.445 0 0 1 2.233-6.378 7.265 7.265 0 0 1 2.535-1.893 7.325 7.325 0 0 1 3.108-.642 7.49 7.49 0 0 1 3.198.61 7.427 7.427 0 0 1 2.627 1.905 9.68 9.68 0 0 1 2.253 6.559zM257.394 22.265v-2.897H266v29.534h-8.606v-2.596h-.325a13.794 13.794 0 0 1-8.728 3.32 13.661 13.661 0 0 1-5.668-1.073 13.557 13.557 0 0 1-4.705-3.313 16.269 16.269 0 0 1-4.059-11.166 15.769 15.769 0 0 1 4.059-10.944 14.098 14.098 0 0 1 4.796-3.31 14.2 14.2 0 0 1 5.739-1.096 12.233 12.233 0 0 1 8.525 3.54zm-1.827 18.509a9.522 9.522 0 0 0 2.253-6.539 9.586 9.586 0 0 0-2.253-6.559 7.43 7.43 0 0 0-2.628-1.905 7.487 7.487 0 0 0-3.198-.61 7.317 7.317 0 0 0-3.107.642 7.26 7.26 0 0 0-2.536 1.894 9.444 9.444 0 0 0-2.232 6.377 9.798 9.798 0 0 0 2.192 6.62 7.11 7.11 0 0 0 2.514 1.924 7.177 7.177 0 0 0 3.108.65 7.608 7.608 0 0 0 3.223-.598 7.546 7.546 0 0 0 2.664-1.896z",
|
|
3478
|
+
clipRule: "evenodd"
|
|
3479
|
+
})]
|
|
3480
|
+
}),
|
|
3481
|
+
/* @__PURE__ */ u("path", {
|
|
3482
|
+
fill: "var(--color-accent-500",
|
|
3483
|
+
fillRule: "evenodd",
|
|
3484
|
+
d: "M26.442 31.71C26.49 14.24 40.933 0 59.082 0c17.973 0 32.847 14.288 32.64 31.796 0 17.508-14.667 31.796-32.64 31.796-17.943 0-32.592-14.04-32.64-31.709v23.66H14.874L0 9.256h26.442zm20.452.086c0 6.44 5.578 11.873 12.188 11.873 6.817 0 12.188-5.433 12.188-11.873s-5.577-11.873-12.188-11.873c-6.61 0-12.188 5.433-12.188 11.873z",
|
|
3485
|
+
clipRule: "evenodd"
|
|
3486
|
+
}),
|
|
3487
|
+
/* @__PURE__ */ u("script", {})
|
|
3488
|
+
]
|
|
3489
|
+
});
|
|
3490
|
+
}, wi = t((e, t) => /* @__PURE__ */ u(T, {
|
|
3491
|
+
ref: t,
|
|
3492
|
+
icon: /* @__PURE__ */ u(Ci, {}),
|
|
3493
|
+
...e
|
|
3494
|
+
}));
|
|
3495
|
+
wi.displayName = "YooKassa";
|
|
3496
|
+
//#endregion
|
|
3320
3497
|
//#region src/assets/logo/Logo.tsx
|
|
3321
|
-
var
|
|
3498
|
+
var Ti = {
|
|
3322
3499
|
xs: 16,
|
|
3323
3500
|
s: 24,
|
|
3324
3501
|
m: 48,
|
|
3325
3502
|
l: 72,
|
|
3326
3503
|
xl: 108
|
|
3327
|
-
},
|
|
3328
|
-
let i =
|
|
3504
|
+
}, Ei = n(t(({ size: e = "s", theme: t = "day", svgProps: n }, r) => {
|
|
3505
|
+
let i = Ti[e], a = t === "day" ? "var(--color-dark-300)" : "var(--color-light-100)", o = t === "day" ? "var(--color-light-100)" : "var(--color-dark-300)";
|
|
3329
3506
|
return /* @__PURE__ */ d("svg", {
|
|
3330
3507
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3331
3508
|
width: i,
|
|
@@ -3349,7 +3526,7 @@ var li = {
|
|
|
3349
3526
|
})]
|
|
3350
3527
|
});
|
|
3351
3528
|
}));
|
|
3352
|
-
|
|
3529
|
+
Ei.displayName = "Logo";
|
|
3353
3530
|
var R = {
|
|
3354
3531
|
root: "_root_1qg9j_55",
|
|
3355
3532
|
error: "_error_1qg9j_66",
|
|
@@ -3362,7 +3539,7 @@ var R = {
|
|
|
3362
3539
|
errorMessage: "_errorMessage_1qg9j_93",
|
|
3363
3540
|
errorList: "_errorList_1qg9j_99",
|
|
3364
3541
|
closeBtn: "_closeBtn_1qg9j_103"
|
|
3365
|
-
},
|
|
3542
|
+
}, Di = ({ className: e, onClose: t, title: n, children: r, errors: i, variant: a = "success", ...o }) => {
|
|
3366
3543
|
let s = Array.isArray(i) && i.length > 0, c = typeof r == "string" && r.trim().length > 0;
|
|
3367
3544
|
return !n && !c && !s ? null : /* @__PURE__ */ d("div", {
|
|
3368
3545
|
className: f(R.root, R[a], e),
|
|
@@ -3408,7 +3585,7 @@ var R = {
|
|
|
3408
3585
|
children: /* @__PURE__ */ u(Se, {})
|
|
3409
3586
|
})]
|
|
3410
3587
|
});
|
|
3411
|
-
},
|
|
3588
|
+
}, Oi = {
|
|
3412
3589
|
button: "_button_298k9_55",
|
|
3413
3590
|
fullWidth: "_fullWidth_298k9_77",
|
|
3414
3591
|
primary: "_primary_298k9_85",
|
|
@@ -3419,27 +3596,27 @@ var R = {
|
|
|
3419
3596
|
let { ref: t, as: n = "button", variant: r = "primary", disabled: i = !1, fullWidth: a, ...o } = e, s = typeof n == "string" && n.toLowerCase() === "a";
|
|
3420
3597
|
return /* @__PURE__ */ u(n, {
|
|
3421
3598
|
ref: t,
|
|
3422
|
-
className: f(
|
|
3599
|
+
className: f(Oi.button, "typography-h3", Oi[r], a && Oi.fullWidth),
|
|
3423
3600
|
...s ? { "aria-disabled": i } : { disabled: i },
|
|
3424
3601
|
...o
|
|
3425
3602
|
});
|
|
3426
|
-
},
|
|
3603
|
+
}, ki = t((e, t) => {
|
|
3427
3604
|
let { variant: n = "primary", fullWidth: r, as: i = "button", disabled: a = !1, ...o } = e, s = i === "a";
|
|
3428
3605
|
return /* @__PURE__ */ u(i, {
|
|
3429
|
-
className: f(
|
|
3606
|
+
className: f(Oi.button, "typography-h3", Oi[n], r && Oi.fullWidth),
|
|
3430
3607
|
ref: t,
|
|
3431
3608
|
...s ? { "aria-disabled": a } : { disabled: a },
|
|
3432
3609
|
...o
|
|
3433
3610
|
});
|
|
3434
3611
|
});
|
|
3435
|
-
|
|
3436
|
-
var
|
|
3612
|
+
ki.displayName = "ButtonLegacy";
|
|
3613
|
+
var Ai = {
|
|
3437
3614
|
trigger: "_trigger_1vq4m_55",
|
|
3438
3615
|
content: "_content_1vq4m_75",
|
|
3439
3616
|
item: "_item_1vq4m_86",
|
|
3440
3617
|
itemIcon: "_itemIcon_1vq4m_108",
|
|
3441
3618
|
itemLabel: "_itemLabel_1vq4m_116"
|
|
3442
|
-
},
|
|
3619
|
+
}, ji = ({ ariaLabel: e, className: t, contentClassName: n, contentProps: r, itemClassName: i, items: a, linkTag: o = "a", modal: s = !0, portalProps: c, trigger: p, triggerClassName: m, ...h }) => {
|
|
3443
3620
|
let { align: _ = "end", className: v, side: y = "bottom", sideOffset: b = 6, ...x } = r ?? {};
|
|
3444
3621
|
return /* @__PURE__ */ d(g.Root, {
|
|
3445
3622
|
modal: s,
|
|
@@ -3449,32 +3626,32 @@ var mi = {
|
|
|
3449
3626
|
children: p ?? /* @__PURE__ */ u(z, {
|
|
3450
3627
|
type: "button",
|
|
3451
3628
|
variant: "text",
|
|
3452
|
-
className: f(
|
|
3629
|
+
className: f(Ai.trigger, m),
|
|
3453
3630
|
"aria-label": e,
|
|
3454
3631
|
children: /* @__PURE__ */ u(On, { size: 24 })
|
|
3455
3632
|
})
|
|
3456
3633
|
}), /* @__PURE__ */ u(g.Portal, {
|
|
3457
3634
|
...c,
|
|
3458
3635
|
children: /* @__PURE__ */ u(g.Content, {
|
|
3459
|
-
className: f(
|
|
3636
|
+
className: f(Ai.content, t, n, v),
|
|
3460
3637
|
side: y,
|
|
3461
3638
|
align: _,
|
|
3462
3639
|
sideOffset: b,
|
|
3463
3640
|
...x,
|
|
3464
3641
|
children: a.map((e) => {
|
|
3465
3642
|
let { className: t, ...n } = e.itemProps ?? {}, r = e.disabled ? void 0 : e.href, a = /* @__PURE__ */ d(l, { children: [e.icon && /* @__PURE__ */ u("span", {
|
|
3466
|
-
className:
|
|
3643
|
+
className: Ai.itemIcon,
|
|
3467
3644
|
"aria-hidden": !0,
|
|
3468
3645
|
children: e.icon
|
|
3469
3646
|
}), /* @__PURE__ */ u("span", {
|
|
3470
|
-
className:
|
|
3647
|
+
className: Ai.itemLabel,
|
|
3471
3648
|
children: e.label
|
|
3472
3649
|
})] });
|
|
3473
3650
|
return /* @__PURE__ */ u(g.Item, {
|
|
3474
3651
|
asChild: !!r,
|
|
3475
3652
|
disabled: e.disabled,
|
|
3476
3653
|
textValue: e.textValue,
|
|
3477
|
-
className: f(
|
|
3654
|
+
className: f(Ai.item, "typography-body1", i, t),
|
|
3478
3655
|
onSelect: e.onSelect,
|
|
3479
3656
|
...n,
|
|
3480
3657
|
children: r ? /* @__PURE__ */ u(o, {
|
|
@@ -3496,7 +3673,7 @@ var mi = {
|
|
|
3496
3673
|
footer: "_footer_m53un_110",
|
|
3497
3674
|
currentTime: "_currentTime_m53un_117",
|
|
3498
3675
|
divider: "_divider_m53un_121"
|
|
3499
|
-
},
|
|
3676
|
+
}, Mi = ({ src: e, waveform: t = te, className: n }) => {
|
|
3500
3677
|
let r = s(null), [i, a] = c(!1), [o, p] = c(0), [m, h] = c(0), [g, _] = c(0), v = Math.floor(o * t.length);
|
|
3501
3678
|
return /* @__PURE__ */ d("div", {
|
|
3502
3679
|
className: f(B.audio, n),
|
|
@@ -3581,7 +3758,7 @@ var mi = {
|
|
|
3581
3758
|
imageItem: "_imageItem_1hp8k_203",
|
|
3582
3759
|
"modal-m": "_modal-m_1hp8k_209",
|
|
3583
3760
|
"modal-xl": "_modal-xl_1hp8k_213"
|
|
3584
|
-
},
|
|
3761
|
+
}, Ni = t(({ src: e, alt: t, userName: n, delayMs: r = 600, size: i = "s", className: a, ...o }, s) => {
|
|
3585
3762
|
let c = k(n);
|
|
3586
3763
|
return /* @__PURE__ */ d(h.Root, {
|
|
3587
3764
|
ref: s,
|
|
@@ -3602,10 +3779,10 @@ var mi = {
|
|
|
3602
3779
|
})]
|
|
3603
3780
|
});
|
|
3604
3781
|
});
|
|
3605
|
-
|
|
3782
|
+
Ni.displayName = "Avatar";
|
|
3606
3783
|
//#endregion
|
|
3607
3784
|
//#region src/components/Avatar/MainAvatar.tsx
|
|
3608
|
-
var
|
|
3785
|
+
var Pi = t(({ src: e = null, alt: t, userName: n, delayMs: r = 600, size: i = "xl", className: a, showCloseButton: o = !1, isScalable: s = !1, onClose: l, ...p }, m) => {
|
|
3609
3786
|
let [g, _] = c(!1), v = () => _(!0), y = () => _(!1), b = () => {
|
|
3610
3787
|
s && v();
|
|
3611
3788
|
}, x = (e) => {
|
|
@@ -3646,7 +3823,7 @@ var vi = t(({ src: e = null, alt: t, userName: n, delayMs: r = 600, size: i = "x
|
|
|
3646
3823
|
})
|
|
3647
3824
|
})
|
|
3648
3825
|
]
|
|
3649
|
-
}), s && /* @__PURE__ */ u(
|
|
3826
|
+
}), s && /* @__PURE__ */ u(fa, {
|
|
3650
3827
|
open: g,
|
|
3651
3828
|
onClose: y,
|
|
3652
3829
|
size: "m",
|
|
@@ -3664,10 +3841,10 @@ var vi = t(({ src: e = null, alt: t, userName: n, delayMs: r = 600, size: i = "x
|
|
|
3664
3841
|
})]
|
|
3665
3842
|
});
|
|
3666
3843
|
});
|
|
3667
|
-
|
|
3844
|
+
Pi.displayName = "MainAvatar";
|
|
3668
3845
|
//#endregion
|
|
3669
3846
|
//#region src/components/Avatar/AvatarBlock.tsx
|
|
3670
|
-
var
|
|
3847
|
+
var Fi = t(({ users: e, className: t, ...n }, r) => {
|
|
3671
3848
|
let i = e.slice(-3);
|
|
3672
3849
|
return /* @__PURE__ */ u("div", {
|
|
3673
3850
|
ref: r,
|
|
@@ -3675,7 +3852,7 @@ var yi = t(({ users: e, className: t, ...n }, r) => {
|
|
|
3675
3852
|
...n,
|
|
3676
3853
|
children: i.map((e, t) => /* @__PURE__ */ u("div", {
|
|
3677
3854
|
className: V.rootBlock,
|
|
3678
|
-
children: /* @__PURE__ */ u(
|
|
3855
|
+
children: /* @__PURE__ */ u(Ni, {
|
|
3679
3856
|
src: e.src,
|
|
3680
3857
|
className: V.blockImage,
|
|
3681
3858
|
alt: e.alt || e.userName,
|
|
@@ -3686,14 +3863,14 @@ var yi = t(({ users: e, className: t, ...n }, r) => {
|
|
|
3686
3863
|
}, t))
|
|
3687
3864
|
});
|
|
3688
3865
|
});
|
|
3689
|
-
|
|
3690
|
-
var
|
|
3866
|
+
Fi.displayName = "AvatarBlock";
|
|
3867
|
+
var Ii = { card: "_card_zzkvp_1" }, Li = t(({ children: e, className: t, ...n }, r) => /* @__PURE__ */ u("div", {
|
|
3691
3868
|
ref: r,
|
|
3692
|
-
className: f(
|
|
3869
|
+
className: f(Ii.card, t),
|
|
3693
3870
|
...n,
|
|
3694
3871
|
children: e
|
|
3695
3872
|
}));
|
|
3696
|
-
|
|
3873
|
+
Li.displayName = "Cards";
|
|
3697
3874
|
var H = {
|
|
3698
3875
|
root: "_root_1abcz_55",
|
|
3699
3876
|
slideWrapper: "_slideWrapper_1abcz_62",
|
|
@@ -3706,7 +3883,7 @@ var H = {
|
|
|
3706
3883
|
dots: "_dots_1abcz_112",
|
|
3707
3884
|
dotActive: "_dotActive_1abcz_138",
|
|
3708
3885
|
s: "_s_1abcz_62"
|
|
3709
|
-
},
|
|
3886
|
+
}, Ri = 100, zi = ({ slides: e, controlsSize: t = "l" }) => {
|
|
3710
3887
|
let [n, r] = c(0), i = () => {
|
|
3711
3888
|
r((t) => (t - 1 + e.length) % e.length);
|
|
3712
3889
|
}, a = () => {
|
|
@@ -3727,7 +3904,7 @@ var H = {
|
|
|
3727
3904
|
className: H.slideWrapper,
|
|
3728
3905
|
children: /* @__PURE__ */ u("div", {
|
|
3729
3906
|
className: H.track,
|
|
3730
|
-
style: { transform: `translateX(-${n *
|
|
3907
|
+
style: { transform: `translateX(-${n * Ri}%)` },
|
|
3731
3908
|
children: e.map((e, t) => /* @__PURE__ */ u("div", {
|
|
3732
3909
|
className: H.slide,
|
|
3733
3910
|
children: /* @__PURE__ */ u("img", {
|
|
@@ -3760,29 +3937,29 @@ var H = {
|
|
|
3760
3937
|
})
|
|
3761
3938
|
]
|
|
3762
3939
|
});
|
|
3763
|
-
},
|
|
3940
|
+
}, Bi = {
|
|
3764
3941
|
container: "_container_2cqcq_23",
|
|
3765
3942
|
label: "_label_2cqcq_59",
|
|
3766
3943
|
buttonWrapper: "_buttonWrapper_2cqcq_68",
|
|
3767
3944
|
root: "_root_2cqcq_86",
|
|
3768
3945
|
indicator: "_indicator_2cqcq_113"
|
|
3769
|
-
},
|
|
3946
|
+
}, Vi = t(({ label: e, id: t, className: n, onCheckedChange: r, ...i }, o) => {
|
|
3770
3947
|
let s = a(), c = t ?? s;
|
|
3771
3948
|
return /* @__PURE__ */ u("div", {
|
|
3772
|
-
className:
|
|
3949
|
+
className: Bi.container,
|
|
3773
3950
|
children: /* @__PURE__ */ d("label", {
|
|
3774
3951
|
htmlFor: c,
|
|
3775
|
-
className:
|
|
3952
|
+
className: Bi.label,
|
|
3776
3953
|
children: [/* @__PURE__ */ u("span", {
|
|
3777
|
-
className:
|
|
3954
|
+
className: Bi.buttonWrapper,
|
|
3778
3955
|
children: /* @__PURE__ */ u(v.Root, {
|
|
3779
3956
|
ref: o,
|
|
3780
3957
|
id: c,
|
|
3781
|
-
className: f(
|
|
3958
|
+
className: f(Bi.root, n),
|
|
3782
3959
|
onCheckedChange: (e) => r?.(e === !0),
|
|
3783
3960
|
...i,
|
|
3784
3961
|
children: /* @__PURE__ */ u(v.Indicator, {
|
|
3785
|
-
className:
|
|
3962
|
+
className: Bi.indicator,
|
|
3786
3963
|
children: /* @__PURE__ */ u(ge, { color: "var(--color-dark-900)" })
|
|
3787
3964
|
})
|
|
3788
3965
|
})
|
|
@@ -3790,21 +3967,21 @@ var H = {
|
|
|
3790
3967
|
})
|
|
3791
3968
|
});
|
|
3792
3969
|
});
|
|
3793
|
-
|
|
3794
|
-
var
|
|
3970
|
+
Vi.displayName = "Checkbox";
|
|
3971
|
+
var Hi = {
|
|
3795
3972
|
spinner: "_spinner_8arkn_55",
|
|
3796
3973
|
spin: "_spin_8arkn_55",
|
|
3797
3974
|
sm: "_sm_8arkn_63",
|
|
3798
3975
|
md: "_md_8arkn_68",
|
|
3799
3976
|
lg: "_lg_8arkn_74"
|
|
3800
|
-
},
|
|
3977
|
+
}, Ui = t(({ className: e, size: t = "md", color: n = "primary", style: r, ...i }, a) => {
|
|
3801
3978
|
let o = O(n) ? D[n] : n;
|
|
3802
3979
|
return /* @__PURE__ */ u("span", {
|
|
3803
3980
|
ref: a,
|
|
3804
3981
|
"aria-label": "Loading",
|
|
3805
3982
|
"aria-live": "polite",
|
|
3806
3983
|
role: "status",
|
|
3807
|
-
className: f(
|
|
3984
|
+
className: f(Hi.spinner, Hi[t], e),
|
|
3808
3985
|
style: {
|
|
3809
3986
|
...r,
|
|
3810
3987
|
borderTopColor: o
|
|
@@ -3812,7 +3989,7 @@ var Ei = {
|
|
|
3812
3989
|
...i
|
|
3813
3990
|
});
|
|
3814
3991
|
});
|
|
3815
|
-
|
|
3992
|
+
Ui.displayName = "CircularProgress";
|
|
3816
3993
|
var U = {
|
|
3817
3994
|
trigger: "_trigger_uj5q7_55",
|
|
3818
3995
|
hasLabel: "_hasLabel_uj5q7_87",
|
|
@@ -3828,7 +4005,7 @@ var U = {
|
|
|
3828
4005
|
groupLabel: "_groupLabel_uj5q7_165",
|
|
3829
4006
|
separator: "_separator_uj5q7_170",
|
|
3830
4007
|
item: "_item_uj5q7_113"
|
|
3831
|
-
},
|
|
4008
|
+
}, Wi = t(({ className: e, contentClassName: t, contentProps: n, defaultValue: r, groupLabelClassName: i, iconProps: o, itemClassName: s, label: l, labelProps: p, onValueChange: m, options: h, placeholder: g = "Select-box", portalProps: v, separatorClassName: y, triggerIcon: b, triggerProps: x, valueProps: S, value: C, viewportProps: w, ...T }, ee) => {
|
|
3832
4009
|
let E = a(), [D, te] = c(r), ne = C ?? D, O = j(h).find((e) => e.value === ne), k = x?.id ?? `select-${E}`, re = (e) => {
|
|
3833
4010
|
te(e), m?.(e);
|
|
3834
4011
|
}, { className: A, ...M } = x ?? {}, { className: N, ...ie } = p ?? {}, { children: P, className: F, ...I } = o ?? {}, { className: L, position: ae = "popper", sideOffset: oe = -1, ...se } = n ?? {}, { className: ce, ...le } = w ?? {}, ue = (e) => {
|
|
@@ -3931,7 +4108,7 @@ var U = {
|
|
|
3931
4108
|
]
|
|
3932
4109
|
});
|
|
3933
4110
|
});
|
|
3934
|
-
|
|
4111
|
+
Wi.displayName = "Select";
|
|
3935
4112
|
var W = {
|
|
3936
4113
|
wrapper: "_wrapper_u20vw_55",
|
|
3937
4114
|
label: "_label_u20vw_63",
|
|
@@ -3965,11 +4142,11 @@ var W = {
|
|
|
3965
4142
|
selected: "_selected_u20vw_343",
|
|
3966
4143
|
rangeStart: "_rangeStart_u20vw_348",
|
|
3967
4144
|
rangeEnd: "_rangeEnd_u20vw_353"
|
|
3968
|
-
},
|
|
4145
|
+
}, Gi = new Intl.DateTimeFormat("en", {
|
|
3969
4146
|
day: "numeric",
|
|
3970
4147
|
month: "long",
|
|
3971
4148
|
year: "numeric"
|
|
3972
|
-
}),
|
|
4149
|
+
}), Ki = ({ date: e, disabled: t, displayedMonth: n, focusedDate: r, mode: i, onFocus: a, onSelect: o, selectedRange: s, selectedValue: c }) => {
|
|
3973
4150
|
let l = e.getMonth() === n.getMonth(), d = e.getDay() === 0 || e.getDay() === 6, p = i === "single" && c instanceof Date && se(e, c), m = i === "range" && !!s.start && se(e, s.start), h = i === "range" && !!s.end && se(e, s.end), g = i === "range" && !!s.start && !!s.end && ce(e, s.start, s.end);
|
|
3974
4151
|
return /* @__PURE__ */ u("div", {
|
|
3975
4152
|
role: "gridcell",
|
|
@@ -3979,7 +4156,7 @@ var W = {
|
|
|
3979
4156
|
"data-date": L(e).getTime(),
|
|
3980
4157
|
disabled: t,
|
|
3981
4158
|
tabIndex: se(e, r) ? 0 : -1,
|
|
3982
|
-
"aria-label":
|
|
4159
|
+
"aria-label": Gi.format(e),
|
|
3983
4160
|
variant: "text",
|
|
3984
4161
|
className: f(W.day, "typography-subtitle1", !l && W.otherMonth, d && W.weekend, (p || m || h) && W.selected, g && W.inRange, m && W.rangeStart, h && W.rangeEnd),
|
|
3985
4162
|
onClick: () => o(e),
|
|
@@ -3987,7 +4164,7 @@ var W = {
|
|
|
3987
4164
|
children: /* @__PURE__ */ u("span", { children: e.getDate() })
|
|
3988
4165
|
})
|
|
3989
4166
|
});
|
|
3990
|
-
},
|
|
4167
|
+
}, qi = 6, Ji = [
|
|
3991
4168
|
"Mo",
|
|
3992
4169
|
"Tu",
|
|
3993
4170
|
"We",
|
|
@@ -3995,10 +4172,10 @@ var W = {
|
|
|
3995
4172
|
"Fr",
|
|
3996
4173
|
"Sa",
|
|
3997
4174
|
"Su"
|
|
3998
|
-
],
|
|
4175
|
+
], Yi = new Intl.DateTimeFormat("en", {
|
|
3999
4176
|
month: "long",
|
|
4000
4177
|
year: "numeric"
|
|
4001
|
-
}),
|
|
4178
|
+
}), Xi = ({ className: e, clearable: t = !1, defaultValue: n, disabled: o, error: l, label: p, maxDate: m, minDate: h, mode: g = "single", onChange: _, onClick: v, value: y, ...b }) => {
|
|
4002
4179
|
let x = `date-picker-${a()}`, S = `${x}-error`, C = s(null), w = s(null), [T, ee] = c(null), [E, D] = c(!1), [te, ne] = c(n), O = y ?? te, k = ue(O), re = g === "range" ? k.start : O instanceof Date ? O : k.start, [A, j] = c(() => ae(re ?? /* @__PURE__ */ new Date())), [M, N] = c(() => oe(re ?? /* @__PURE__ */ new Date(), h, m)), ie = r((e) => {
|
|
4003
4180
|
C.current = e, ee(e);
|
|
4004
4181
|
}, []), P = (e = !1) => {
|
|
@@ -4140,7 +4317,7 @@ var W = {
|
|
|
4140
4317
|
className: W.header,
|
|
4141
4318
|
children: [/* @__PURE__ */ d("div", {
|
|
4142
4319
|
className: W.monthYearControls,
|
|
4143
|
-
children: [/* @__PURE__ */ u(
|
|
4320
|
+
children: [/* @__PURE__ */ u(Wi, {
|
|
4144
4321
|
className: f(W.monthYearSelect, W.monthSelect),
|
|
4145
4322
|
contentClassName: W.monthYearContent,
|
|
4146
4323
|
options: pe,
|
|
@@ -4149,7 +4326,7 @@ var W = {
|
|
|
4149
4326
|
viewportProps: { className: W.monthViewport },
|
|
4150
4327
|
onValueChange: (e) => j((t) => new Date(t.getFullYear(), Number(e), 1)),
|
|
4151
4328
|
triggerProps: { "aria-label": "Month" }
|
|
4152
|
-
}), /* @__PURE__ */ u(
|
|
4329
|
+
}), /* @__PURE__ */ u(Wi, {
|
|
4153
4330
|
className: f(W.monthYearSelect, W.yearSelect),
|
|
4154
4331
|
contentClassName: W.monthYearContent,
|
|
4155
4332
|
options: me,
|
|
@@ -4188,20 +4365,20 @@ var W = {
|
|
|
4188
4365
|
}), /* @__PURE__ */ d("div", {
|
|
4189
4366
|
className: W.days,
|
|
4190
4367
|
role: "grid",
|
|
4191
|
-
"aria-label":
|
|
4368
|
+
"aria-label": Yi.format(A),
|
|
4192
4369
|
onKeyDown: ge,
|
|
4193
4370
|
children: [/* @__PURE__ */ u("div", {
|
|
4194
4371
|
className: W.weekdays,
|
|
4195
4372
|
role: "row",
|
|
4196
|
-
children:
|
|
4373
|
+
children: Ji.map((e) => /* @__PURE__ */ u("span", {
|
|
4197
4374
|
role: "columnheader",
|
|
4198
4375
|
className: "typography-subtitle1",
|
|
4199
4376
|
children: e
|
|
4200
4377
|
}, e))
|
|
4201
|
-
}), Array.from({ length:
|
|
4378
|
+
}), Array.from({ length: qi }, (e, t) => /* @__PURE__ */ u("div", {
|
|
4202
4379
|
role: "row",
|
|
4203
4380
|
className: W.week,
|
|
4204
|
-
children: _e.slice(t * 7, (t + 1) * 7).map((e) => /* @__PURE__ */ u(
|
|
4381
|
+
children: _e.slice(t * 7, (t + 1) * 7).map((e) => /* @__PURE__ */ u(Ki, {
|
|
4205
4382
|
date: e,
|
|
4206
4383
|
disabled: I(e),
|
|
4207
4384
|
displayedMonth: A,
|
|
@@ -4217,7 +4394,7 @@ var W = {
|
|
|
4217
4394
|
})
|
|
4218
4395
|
]
|
|
4219
4396
|
});
|
|
4220
|
-
},
|
|
4397
|
+
}, Zi = {
|
|
4221
4398
|
typography: "_typography_1hhu5_1",
|
|
4222
4399
|
"align-left": "_align-left_1hhu5_5",
|
|
4223
4400
|
"align-center": "_align-center_1hhu5_9",
|
|
@@ -4225,7 +4402,7 @@ var W = {
|
|
|
4225
4402
|
"align-justify": "_align-justify_1hhu5_17",
|
|
4226
4403
|
noWrap: "_noWrap_1hhu5_21",
|
|
4227
4404
|
gutterBottom: "_gutterBottom_1hhu5_27"
|
|
4228
|
-
},
|
|
4405
|
+
}, Qi = {
|
|
4229
4406
|
large: "h1",
|
|
4230
4407
|
h1: "h1",
|
|
4231
4408
|
h2: "h2",
|
|
@@ -4245,7 +4422,7 @@ var W = {
|
|
|
4245
4422
|
signature: "span",
|
|
4246
4423
|
"signature-legal": "span"
|
|
4247
4424
|
}, G = (e) => {
|
|
4248
|
-
let { ref: t, children: n, variant: r = "body1", color: i, className: a, style: o, noWrap: s, mb: c, ml: l, mr: d, mt: p, mx: m, my: h, gutterBottom: g, align: _, href: v, target: y, rel: b, ...x } = e, S =
|
|
4425
|
+
let { ref: t, children: n, variant: r = "body1", color: i, className: a, style: o, noWrap: s, mb: c, ml: l, mr: d, mt: p, mx: m, my: h, gutterBottom: g, align: _, href: v, target: y, rel: b, ...x } = e, S = Qi[r] || "div", C = f(Zi.typography, `typography-${r}`, _ && Zi[`align-${_}`], s && Zi.noWrap, g && Zi.gutterBottom, a), w = r === "link" || r === "subtitle-link" || S === "a" ? {
|
|
4249
4426
|
href: v,
|
|
4250
4427
|
target: y,
|
|
4251
4428
|
rel: b
|
|
@@ -4276,7 +4453,7 @@ var W = {
|
|
|
4276
4453
|
mobileMenu: "_mobileMenu_10hvk_126",
|
|
4277
4454
|
mobileMenuItem: "_mobileMenuItem_10hvk_151",
|
|
4278
4455
|
authActions: "_authActions_10hvk_158"
|
|
4279
|
-
},
|
|
4456
|
+
}, $i = ({ 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: l, onNotificationClick: p, onSignUpClick: m, signUpLabel: h = "Sign up", linkTag: g = "a", ..._ }) => {
|
|
4280
4457
|
let v = s > 0 ? `${c}, ${s} unread` : c, y = [{
|
|
4281
4458
|
id: "log-in",
|
|
4282
4459
|
label: i,
|
|
@@ -4333,7 +4510,7 @@ var W = {
|
|
|
4333
4510
|
children: h
|
|
4334
4511
|
})]
|
|
4335
4512
|
}),
|
|
4336
|
-
/* @__PURE__ */ u(
|
|
4513
|
+
/* @__PURE__ */ u(ji, {
|
|
4337
4514
|
ariaLabel: o,
|
|
4338
4515
|
items: x,
|
|
4339
4516
|
linkTag: g,
|
|
@@ -4355,7 +4532,7 @@ var W = {
|
|
|
4355
4532
|
errorMessage: "_errorMessage_1s1qb_117",
|
|
4356
4533
|
error: "_error_1s1qb_117",
|
|
4357
4534
|
disabled: "_disabled_1s1qb_135"
|
|
4358
|
-
},
|
|
4535
|
+
}, ea = t(({ id: e, label: t, error: n, startAdornment: r, endAdornment: i, className: o, containerClassName: s, disabled: c, type: l = "text", ...p }, m) => {
|
|
4359
4536
|
let h = a(), g = e ?? h;
|
|
4360
4537
|
return /* @__PURE__ */ d("div", {
|
|
4361
4538
|
className: q.wrapper,
|
|
@@ -4398,8 +4575,8 @@ var W = {
|
|
|
4398
4575
|
]
|
|
4399
4576
|
});
|
|
4400
4577
|
});
|
|
4401
|
-
|
|
4402
|
-
var
|
|
4578
|
+
ea.displayName = "Input";
|
|
4579
|
+
var ta = {
|
|
4403
4580
|
root: "_root_10gqv_55",
|
|
4404
4581
|
sm: "_sm_10gqv_63",
|
|
4405
4582
|
md: "_md_10gqv_67",
|
|
@@ -4407,7 +4584,7 @@ var zi = {
|
|
|
4407
4584
|
bar: "_bar_10gqv_75",
|
|
4408
4585
|
determinate: "_determinate_10gqv_84",
|
|
4409
4586
|
indeterminate: "_indeterminate_10gqv_95"
|
|
4410
|
-
},
|
|
4587
|
+
}, na = t(({ className: e, size: t = "md", color: n = "primary", value: r = 0, determinate: i = !1, ...a }, o) => {
|
|
4411
4588
|
let s = O(n) ? D[n] : n, c = Math.min(100, Math.max(0, r));
|
|
4412
4589
|
return /* @__PURE__ */ u("div", {
|
|
4413
4590
|
ref: o,
|
|
@@ -4417,10 +4594,10 @@ var zi = {
|
|
|
4417
4594
|
"aria-valuenow": i ? c : void 0,
|
|
4418
4595
|
"aria-valuemin": i ? 0 : void 0,
|
|
4419
4596
|
"aria-valuemax": i ? 100 : void 0,
|
|
4420
|
-
className: f(
|
|
4597
|
+
className: f(ta.root, ta[t], e),
|
|
4421
4598
|
...a,
|
|
4422
4599
|
children: /* @__PURE__ */ u("div", {
|
|
4423
|
-
className: f(
|
|
4600
|
+
className: f(ta.bar, i ? ta.determinate : ta.indeterminate),
|
|
4424
4601
|
style: {
|
|
4425
4602
|
backgroundColor: s,
|
|
4426
4603
|
width: i ? `${c}%` : void 0
|
|
@@ -4428,38 +4605,38 @@ var zi = {
|
|
|
4428
4605
|
})
|
|
4429
4606
|
});
|
|
4430
4607
|
});
|
|
4431
|
-
|
|
4608
|
+
na.displayName = "LinearProgress";
|
|
4432
4609
|
//#endregion
|
|
4433
4610
|
//#region src/utils/getNavItemClickHandler.ts
|
|
4434
|
-
var
|
|
4435
|
-
let n = !!e && e !==
|
|
4611
|
+
var ra = "#", ia = (e, t) => {
|
|
4612
|
+
let n = !!e && e !== ra;
|
|
4436
4613
|
return {
|
|
4437
4614
|
handleClick: (e) => {
|
|
4438
4615
|
n || e.preventDefault(), t();
|
|
4439
4616
|
},
|
|
4440
|
-
resolvedHref: e ??
|
|
4617
|
+
resolvedHref: e ?? ra
|
|
4441
4618
|
};
|
|
4442
|
-
},
|
|
4619
|
+
}, aa = {
|
|
4443
4620
|
navBar: "_navBar_1411h_55",
|
|
4444
4621
|
list: "_list_1411h_61",
|
|
4445
4622
|
navItem: "_navItem_1411h_70",
|
|
4446
4623
|
activeItem: "_activeItem_1411h_88",
|
|
4447
4624
|
line: "_line_1411h_92"
|
|
4448
|
-
},
|
|
4449
|
-
className:
|
|
4625
|
+
}, oa = ({ userId: e, items: t, activeId: n, onValueChange: r, linkTag: i = "a" }) => /* @__PURE__ */ u("div", { children: /* @__PURE__ */ d("nav", {
|
|
4626
|
+
className: aa.navBar,
|
|
4450
4627
|
children: [/* @__PURE__ */ u("ul", {
|
|
4451
|
-
className:
|
|
4628
|
+
className: aa.list,
|
|
4452
4629
|
children: t.map((t) => {
|
|
4453
|
-
let a = n === t.id, { handleClick: o, resolvedHref: s } =
|
|
4630
|
+
let a = n === t.id, { handleClick: o, resolvedHref: s } = ia(typeof t.href == "function" ? e ? t.href(e) : void 0 : t.href, () => r?.(t.id));
|
|
4454
4631
|
return /* @__PURE__ */ u("li", { children: /* @__PURE__ */ u(z, {
|
|
4455
4632
|
as: i,
|
|
4456
4633
|
href: s,
|
|
4457
|
-
className: f(
|
|
4634
|
+
className: f(aa.navItem, a && aa.activeItem),
|
|
4458
4635
|
onClick: o,
|
|
4459
4636
|
children: a && t.activeIcon ? t.activeIcon : t.icon
|
|
4460
4637
|
}) }, t.id);
|
|
4461
4638
|
})
|
|
4462
|
-
}), /* @__PURE__ */ u("div", { className:
|
|
4639
|
+
}), /* @__PURE__ */ u("div", { className: aa.line })]
|
|
4463
4640
|
}) }), J = {
|
|
4464
4641
|
image: "_image_1o2cp_55",
|
|
4465
4642
|
content: "_content_1o2cp_55",
|
|
@@ -4475,7 +4652,7 @@ var Vi = "#", Hi = (e, t) => {
|
|
|
4475
4652
|
replyText: "_replyText_1o2cp_143",
|
|
4476
4653
|
status: "_status_1o2cp_150",
|
|
4477
4654
|
attachment: "_attachment_1o2cp_157"
|
|
4478
|
-
},
|
|
4655
|
+
}, sa = ({ attachment: e }) => {
|
|
4479
4656
|
if (re(e)) return /* @__PURE__ */ u(l, { children: e.component });
|
|
4480
4657
|
if (e.type === "image") return /* @__PURE__ */ u("div", {
|
|
4481
4658
|
className: J.attachment,
|
|
@@ -4485,7 +4662,7 @@ var Vi = "#", Hi = (e, t) => {
|
|
|
4485
4662
|
alt: e.name
|
|
4486
4663
|
})
|
|
4487
4664
|
});
|
|
4488
|
-
},
|
|
4665
|
+
}, ca = {
|
|
4489
4666
|
sending: /* @__PURE__ */ u(Qr, {
|
|
4490
4667
|
color: "var(--color-accent-100)",
|
|
4491
4668
|
size: 16
|
|
@@ -4506,10 +4683,10 @@ var Vi = "#", Hi = (e, t) => {
|
|
|
4506
4683
|
color: "var(--color-danger-500)",
|
|
4507
4684
|
size: 16
|
|
4508
4685
|
})
|
|
4509
|
-
},
|
|
4686
|
+
}, la = ({ status: e }) => /* @__PURE__ */ u("span", {
|
|
4510
4687
|
className: J.status,
|
|
4511
|
-
children:
|
|
4512
|
-
}),
|
|
4688
|
+
children: ca[e]
|
|
4689
|
+
}), ua = ({ reply: e }) => /* @__PURE__ */ d("div", {
|
|
4513
4690
|
className: J.reply,
|
|
4514
4691
|
children: [/* @__PURE__ */ u(G, {
|
|
4515
4692
|
color: "var(--color-success-500)",
|
|
@@ -4521,11 +4698,11 @@ var Vi = "#", Hi = (e, t) => {
|
|
|
4521
4698
|
className: J.replyText,
|
|
4522
4699
|
children: e.text
|
|
4523
4700
|
})]
|
|
4524
|
-
}),
|
|
4701
|
+
}), da = ({ author: e, avatar: t, text: n, timestamp: r, type: i = "incoming", status: a = "sent", replyTo: o, attachments: s, className: c }) => {
|
|
4525
4702
|
let l = i === "outgoing", p = l ? "var(--color-accent-100)" : "var(--color-light-900)";
|
|
4526
4703
|
return /* @__PURE__ */ d("article", {
|
|
4527
4704
|
className: f(J.message, l && J.outgoing, c),
|
|
4528
|
-
children: [!l && /* @__PURE__ */ u(
|
|
4705
|
+
children: [!l && /* @__PURE__ */ u(Ni, {
|
|
4529
4706
|
src: t,
|
|
4530
4707
|
userName: e,
|
|
4531
4708
|
alt: e,
|
|
@@ -4536,8 +4713,8 @@ var Vi = "#", Hi = (e, t) => {
|
|
|
4536
4713
|
children: /* @__PURE__ */ d("div", {
|
|
4537
4714
|
className: f(J.bubble, s?.type === "image" && J.card),
|
|
4538
4715
|
children: [
|
|
4539
|
-
s && /* @__PURE__ */ u(
|
|
4540
|
-
o && /* @__PURE__ */ u(
|
|
4716
|
+
s && /* @__PURE__ */ u(sa, { attachment: s }),
|
|
4717
|
+
o && /* @__PURE__ */ u(ua, { reply: o }),
|
|
4541
4718
|
n && /* @__PURE__ */ u(G, {
|
|
4542
4719
|
variant: "body1",
|
|
4543
4720
|
color: "var(--color-light-100)",
|
|
@@ -4553,7 +4730,7 @@ var Vi = "#", Hi = (e, t) => {
|
|
|
4553
4730
|
color: p,
|
|
4554
4731
|
children: r
|
|
4555
4732
|
})
|
|
4556
|
-
}), a && l && /* @__PURE__ */ u(
|
|
4733
|
+
}), a && l && /* @__PURE__ */ u(la, { status: a })]
|
|
4557
4734
|
})
|
|
4558
4735
|
]
|
|
4559
4736
|
})
|
|
@@ -4572,7 +4749,7 @@ var Vi = "#", Hi = (e, t) => {
|
|
|
4572
4749
|
fullSize: "_fullSize_c66hw_117",
|
|
4573
4750
|
iconButton: "_iconButton_c66hw_121",
|
|
4574
4751
|
closeButtonOutside: "_closeButtonOutside_c66hw_136"
|
|
4575
|
-
},
|
|
4752
|
+
}, fa = t(({ open: e, onClose: t, modalTitle: n = "", children: r, size: i = "m", className: a, showHeader: o, showCloseButton: s = !0, fullSize: c = !1, closeButtonOutside: l = !1, ...p }, m) => /* @__PURE__ */ u(y.Root, {
|
|
4576
4753
|
open: e,
|
|
4577
4754
|
onOpenChange: t,
|
|
4578
4755
|
children: /* @__PURE__ */ d(y.Portal, { children: [/* @__PURE__ */ u(y.Overlay, { className: Y.overlay }), /* @__PURE__ */ d(y.Content, {
|
|
@@ -4609,15 +4786,15 @@ var Vi = "#", Hi = (e, t) => {
|
|
|
4609
4786
|
]
|
|
4610
4787
|
})] })
|
|
4611
4788
|
}));
|
|
4612
|
-
|
|
4613
|
-
var
|
|
4789
|
+
fa.displayName = "Modal";
|
|
4790
|
+
var pa = { iconButton: "_iconButton_iqf7o_55" }, ma = ({ ...e }) => {
|
|
4614
4791
|
let [t, n] = c(!1);
|
|
4615
|
-
return /* @__PURE__ */ u(
|
|
4792
|
+
return /* @__PURE__ */ u(ea, {
|
|
4616
4793
|
...e,
|
|
4617
4794
|
type: t ? "text" : "password",
|
|
4618
4795
|
endAdornment: /* @__PURE__ */ u("button", {
|
|
4619
4796
|
type: "button",
|
|
4620
|
-
className:
|
|
4797
|
+
className: pa.iconButton,
|
|
4621
4798
|
onClick: () => n((e) => !e),
|
|
4622
4799
|
"aria-label": t ? "Hide password" : "Show password",
|
|
4623
4800
|
children: u(t ? bn : gn, {
|
|
@@ -4635,7 +4812,7 @@ var Zi = { iconButton: "_iconButton_iqf7o_55" }, Qi = ({ ...e }) => {
|
|
|
4635
4812
|
indicator: "_indicator_1rwph_112",
|
|
4636
4813
|
label: "_label_1rwph_130",
|
|
4637
4814
|
disabled: "_disabled_1rwph_135"
|
|
4638
|
-
},
|
|
4815
|
+
}, ha = t(({ className: e, options: t, disabled: n, ...r }, i) => {
|
|
4639
4816
|
let o = a();
|
|
4640
4817
|
return /* @__PURE__ */ u(b.Root, {
|
|
4641
4818
|
ref: i,
|
|
@@ -4664,8 +4841,8 @@ var Zi = { iconButton: "_iconButton_iqf7o_55" }, Qi = ({ ...e }) => {
|
|
|
4664
4841
|
})
|
|
4665
4842
|
});
|
|
4666
4843
|
});
|
|
4667
|
-
|
|
4668
|
-
var
|
|
4844
|
+
ha.displayName = "RadioGroup";
|
|
4845
|
+
var ga = { button: "_button_11i5l_1" }, _a = ({ text: e, maxLength: t, expandLabel: n = "Show more", collapseLabel: r = "Hide", className: i, onExpandedChange: a }) => {
|
|
4669
4846
|
let [o, s] = c(!1);
|
|
4670
4847
|
return e.length > t ? /* @__PURE__ */ d(G, {
|
|
4671
4848
|
className: i,
|
|
@@ -4674,7 +4851,7 @@ var ea = { button: "_button_11i5l_1" }, ta = ({ text: e, maxLength: t, expandLab
|
|
|
4674
4851
|
o ? e : E(e, t),
|
|
4675
4852
|
" ",
|
|
4676
4853
|
/* @__PURE__ */ u(z, {
|
|
4677
|
-
className: f("typography-link",
|
|
4854
|
+
className: f("typography-link", ga.button),
|
|
4678
4855
|
onClick: () => {
|
|
4679
4856
|
let e = !o;
|
|
4680
4857
|
s(e), a?.(e);
|
|
@@ -4687,7 +4864,7 @@ var ea = { button: "_button_11i5l_1" }, ta = ({ text: e, maxLength: t, expandLab
|
|
|
4687
4864
|
variant: "body1",
|
|
4688
4865
|
children: e
|
|
4689
4866
|
});
|
|
4690
|
-
},
|
|
4867
|
+
}, va = (e) => {
|
|
4691
4868
|
let { clientWidth: t, scrollWidth: n } = e;
|
|
4692
4869
|
if (n <= t) return null;
|
|
4693
4870
|
let r = t / n * t;
|
|
@@ -4696,7 +4873,7 @@ var ea = { button: "_button_11i5l_1" }, ta = ({ text: e, maxLength: t, expandLab
|
|
|
4696
4873
|
maxThumbOffsetX: t - r,
|
|
4697
4874
|
maxScrollOffsetX: n - t
|
|
4698
4875
|
};
|
|
4699
|
-
},
|
|
4876
|
+
}, ya = (e) => {
|
|
4700
4877
|
let { clientHeight: t, scrollHeight: n } = e;
|
|
4701
4878
|
if (n <= t) return null;
|
|
4702
4879
|
let r = t / n * t;
|
|
@@ -4705,16 +4882,16 @@ var ea = { button: "_button_11i5l_1" }, ta = ({ text: e, maxLength: t, expandLab
|
|
|
4705
4882
|
maxThumbOffsetY: t - r,
|
|
4706
4883
|
maxScrollOffsetY: n - t
|
|
4707
4884
|
};
|
|
4708
|
-
},
|
|
4885
|
+
}, ba = ({ viewportRef: e, contentRef: t, verticalThumbRef: n, horizontalThumbRef: a }) => {
|
|
4709
4886
|
let o = r(() => {
|
|
4710
4887
|
let t = e.current;
|
|
4711
4888
|
if (!t) return;
|
|
4712
|
-
let r =
|
|
4889
|
+
let r = ya(t);
|
|
4713
4890
|
if (r && n.current) {
|
|
4714
4891
|
let { thumbHeight: e, maxThumbOffsetY: i, maxScrollOffsetY: a } = r, o = t.scrollTop / a * i;
|
|
4715
4892
|
n.current.style.display = "", n.current.style.height = `${e}px`, n.current.style.transform = `translateY(${o}px)`;
|
|
4716
4893
|
} else n.current && (n.current.style.display = "none");
|
|
4717
|
-
let i =
|
|
4894
|
+
let i = va(t);
|
|
4718
4895
|
if (i && a.current) {
|
|
4719
4896
|
let { thumbWidth: e, maxThumbOffsetX: n, maxScrollOffsetX: r } = i, o = t.scrollLeft / r * n;
|
|
4720
4897
|
a.current.style.display = "", a.current.style.width = `${e}px`, a.current.style.transform = `translateX(${o}px)`;
|
|
@@ -4736,7 +4913,7 @@ var ea = { button: "_button_11i5l_1" }, ta = ({ text: e, maxLength: t, expandLab
|
|
|
4736
4913
|
e,
|
|
4737
4914
|
t
|
|
4738
4915
|
]);
|
|
4739
|
-
},
|
|
4916
|
+
}, xa = ({ viewportRef: e }) => {
|
|
4740
4917
|
let t = s(null), n = s(null);
|
|
4741
4918
|
return {
|
|
4742
4919
|
handleVerticalMouseDown: (n) => {
|
|
@@ -4748,7 +4925,7 @@ var ea = { button: "_button_11i5l_1" }, ta = ({ text: e, maxLength: t, expandLab
|
|
|
4748
4925
|
startScrollTop: r.scrollTop
|
|
4749
4926
|
};
|
|
4750
4927
|
let i = (e) => {
|
|
4751
|
-
let n = t.current, i =
|
|
4928
|
+
let n = t.current, i = ya(r);
|
|
4752
4929
|
if (!n || !i) return;
|
|
4753
4930
|
let { maxThumbOffsetY: a, maxScrollOffsetY: o } = i, s = e.clientY - n.startY, c = o / a, l = n.startScrollTop + s * c;
|
|
4754
4931
|
r.scrollTop = Math.max(0, Math.min(l, o));
|
|
@@ -4766,7 +4943,7 @@ var ea = { button: "_button_11i5l_1" }, ta = ({ text: e, maxLength: t, expandLab
|
|
|
4766
4943
|
startScrollLeft: r.scrollLeft
|
|
4767
4944
|
};
|
|
4768
4945
|
let i = (e) => {
|
|
4769
|
-
let t = n.current, i =
|
|
4946
|
+
let t = n.current, i = va(r);
|
|
4770
4947
|
if (!t || !i) return;
|
|
4771
4948
|
let { maxThumbOffsetX: a, maxScrollOffsetX: o } = i, s = e.clientX - t.startX, c = o / a, l = t.startScrollLeft + s * c;
|
|
4772
4949
|
r.scrollLeft = Math.max(0, Math.min(l, o));
|
|
@@ -4776,7 +4953,7 @@ var ea = { button: "_button_11i5l_1" }, ta = ({ text: e, maxLength: t, expandLab
|
|
|
4776
4953
|
document.addEventListener("mousemove", i), document.addEventListener("mouseup", a);
|
|
4777
4954
|
}
|
|
4778
4955
|
};
|
|
4779
|
-
},
|
|
4956
|
+
}, Sa = (e, t) => {
|
|
4780
4957
|
let [n, r] = c(e);
|
|
4781
4958
|
return i(() => {
|
|
4782
4959
|
let n = setTimeout(() => {
|
|
@@ -4792,15 +4969,15 @@ var ea = { button: "_button_11i5l_1" }, ta = ({ text: e, maxLength: t, expandLab
|
|
|
4792
4969
|
scrollThumb: "_scrollThumb_1ohk9_88",
|
|
4793
4970
|
verticalThumb: "_verticalThumb_1ohk9_98",
|
|
4794
4971
|
horizontalThumb: "_horizontalThumb_1ohk9_103"
|
|
4795
|
-
},
|
|
4972
|
+
}, Ca = ({ orientation: e = "both", children: t }) => {
|
|
4796
4973
|
let n = s(null), r = s(null), i = s(null), a = s(null);
|
|
4797
|
-
|
|
4974
|
+
ba({
|
|
4798
4975
|
viewportRef: n,
|
|
4799
4976
|
contentRef: r,
|
|
4800
4977
|
verticalThumbRef: i,
|
|
4801
4978
|
horizontalThumbRef: a
|
|
4802
4979
|
});
|
|
4803
|
-
let { handleVerticalMouseDown: o, handleHorizontalMouseDown: c } =
|
|
4980
|
+
let { handleVerticalMouseDown: o, handleHorizontalMouseDown: c } = xa({ viewportRef: n });
|
|
4804
4981
|
return /* @__PURE__ */ d("div", {
|
|
4805
4982
|
className: Z.scrollContainer,
|
|
4806
4983
|
children: [
|
|
@@ -4830,7 +5007,7 @@ var ea = { button: "_button_11i5l_1" }, ta = ({ text: e, maxLength: t, expandLab
|
|
|
4830
5007
|
})
|
|
4831
5008
|
]
|
|
4832
5009
|
});
|
|
4833
|
-
},
|
|
5010
|
+
}, wa = (e) => /* @__PURE__ */ u(ea, {
|
|
4834
5011
|
...e,
|
|
4835
5012
|
startAdornment: /* @__PURE__ */ u(Zt, {
|
|
4836
5013
|
autoSize: !1,
|
|
@@ -4857,7 +5034,7 @@ var ea = { button: "_button_11i5l_1" }, ta = ({ text: e, maxLength: t, expandLab
|
|
|
4857
5034
|
separator: "_separator_1fix4_205",
|
|
4858
5035
|
item: "_item_1fix4_118",
|
|
4859
5036
|
noResults: "_noResults_1fix4_232"
|
|
4860
|
-
},
|
|
5037
|
+
}, Ta = (e, t) => {
|
|
4861
5038
|
if (!t.trim()) return e;
|
|
4862
5039
|
let n = t.toLowerCase().trim();
|
|
4863
5040
|
return e.flatMap((e) => {
|
|
@@ -4871,8 +5048,8 @@ var ea = { button: "_button_11i5l_1" }, ta = ({ text: e, maxLength: t, expandLab
|
|
|
4871
5048
|
}
|
|
4872
5049
|
return String(e.label).toLowerCase().includes(n) ? [e] : [];
|
|
4873
5050
|
});
|
|
4874
|
-
},
|
|
4875
|
-
let re = a(), [A, M] = c(r), [N, ie] = c(""), P =
|
|
5051
|
+
}, Ea = t(({ className: e, contentClassName: t, contentProps: n, defaultValue: r, debounceDelay: l = 500, groupLabelClassName: p, iconProps: m, itemClassName: h, label: g, labelProps: v, onSearchChange: y, onValueChange: b, options: x, placeholder: S = "Select-box", portalProps: C, searchPlaceholder: w = "Search...", separatorClassName: T, triggerIcon: ee, triggerProps: E, valueProps: D, value: te, viewportProps: ne, ...O }, k) => {
|
|
5052
|
+
let re = a(), [A, M] = c(r), [N, ie] = c(""), P = Sa(N, l), F = te ?? A, I = j(x).find((e) => e.value === F), L = o(() => Ta(x, P), [x, P]), ae = E?.id ?? `searchable-select-${re}`, oe = s(y);
|
|
4876
5053
|
i(() => {
|
|
4877
5054
|
oe.current = y;
|
|
4878
5055
|
}, [y]), i(() => {
|
|
@@ -4957,7 +5134,7 @@ var ea = { button: "_button_11i5l_1" }, ta = ({ text: e, maxLength: t, expandLab
|
|
|
4957
5134
|
...be,
|
|
4958
5135
|
children: [/* @__PURE__ */ u("div", {
|
|
4959
5136
|
className: Q.searchField,
|
|
4960
|
-
children: /* @__PURE__ */ u(
|
|
5137
|
+
children: /* @__PURE__ */ u(ea, {
|
|
4961
5138
|
type: "text",
|
|
4962
5139
|
value: N,
|
|
4963
5140
|
placeholder: w,
|
|
@@ -4999,23 +5176,23 @@ var ea = { button: "_button_11i5l_1" }, ta = ({ text: e, maxLength: t, expandLab
|
|
|
4999
5176
|
]
|
|
5000
5177
|
});
|
|
5001
5178
|
});
|
|
5002
|
-
|
|
5003
|
-
var
|
|
5179
|
+
Ea.displayName = "SearchableSelect";
|
|
5180
|
+
var Da = {
|
|
5004
5181
|
navBar: "_navBar_watj5_55",
|
|
5005
5182
|
logOutBtn: "_logOutBtn_watj5_89",
|
|
5006
5183
|
navItem: "_navItem_watj5_89",
|
|
5007
5184
|
activeItem: "_activeItem_watj5_118",
|
|
5008
5185
|
disabled: "_disabled_watj5_131",
|
|
5009
5186
|
line: "_line_watj5_137"
|
|
5010
|
-
},
|
|
5011
|
-
className:
|
|
5187
|
+
}, Oa = ({ items: e, userId: t, activeId: n, onValueChange: r, onLogout: i, logOutIcon: a, linkTag: o = "a" }) => /* @__PURE__ */ d("nav", {
|
|
5188
|
+
className: Da.navBar,
|
|
5012
5189
|
children: [
|
|
5013
5190
|
/* @__PURE__ */ u("ul", { children: e.map((e) => {
|
|
5014
|
-
let i = n === e.id, a = !!e.disabled, { handleClick: s, resolvedHref: c } =
|
|
5191
|
+
let i = n === e.id, a = !!e.disabled, { handleClick: s, resolvedHref: c } = ia(typeof e.href == "function" ? t ? e.href(t) : void 0 : e.href, () => r?.(e.id));
|
|
5015
5192
|
return /* @__PURE__ */ u("li", { children: /* @__PURE__ */ d(z, {
|
|
5016
5193
|
as: o,
|
|
5017
5194
|
href: a ? void 0 : c,
|
|
5018
|
-
className: f(
|
|
5195
|
+
className: f(Da.navItem, i && Da.activeItem, a && Da.disabled),
|
|
5019
5196
|
onClick: (e) => {
|
|
5020
5197
|
if (a) {
|
|
5021
5198
|
e.preventDefault();
|
|
@@ -5033,104 +5210,104 @@ var da = {
|
|
|
5033
5210
|
}) }),
|
|
5034
5211
|
/* @__PURE__ */ d(z, {
|
|
5035
5212
|
type: "button",
|
|
5036
|
-
className:
|
|
5213
|
+
className: Da.logOutBtn,
|
|
5037
5214
|
onClick: i,
|
|
5038
5215
|
children: [a, /* @__PURE__ */ u(G, {
|
|
5039
5216
|
variant: "body2",
|
|
5040
5217
|
children: "Log Out"
|
|
5041
5218
|
})]
|
|
5042
5219
|
}),
|
|
5043
|
-
/* @__PURE__ */ u("div", { className:
|
|
5220
|
+
/* @__PURE__ */ u("div", { className: Da.line })
|
|
5044
5221
|
]
|
|
5045
|
-
}),
|
|
5222
|
+
}), ka = {
|
|
5046
5223
|
root: "_root_1p3v5_55",
|
|
5047
5224
|
track: "_track_1p3v5_73",
|
|
5048
5225
|
range: "_range_1p3v5_81",
|
|
5049
5226
|
thumb: "_thumb_1p3v5_88"
|
|
5050
|
-
},
|
|
5227
|
+
}, Aa = t(({ className: e, ...t }, n) => /* @__PURE__ */ d(x.Root, {
|
|
5051
5228
|
ref: n,
|
|
5052
|
-
className: f(
|
|
5229
|
+
className: f(ka.root, e),
|
|
5053
5230
|
...t,
|
|
5054
5231
|
children: [/* @__PURE__ */ u(x.Track, {
|
|
5055
|
-
className:
|
|
5056
|
-
children: /* @__PURE__ */ u(x.Range, { className:
|
|
5057
|
-
}), /* @__PURE__ */ u(x.Thumb, { className:
|
|
5232
|
+
className: ka.track,
|
|
5233
|
+
children: /* @__PURE__ */ u(x.Range, { className: ka.range })
|
|
5234
|
+
}), /* @__PURE__ */ u(x.Thumb, { className: ka.thumb })]
|
|
5058
5235
|
}));
|
|
5059
|
-
|
|
5060
|
-
var
|
|
5236
|
+
Aa.displayName = "Slider";
|
|
5237
|
+
var ja = {
|
|
5061
5238
|
table: "_table_3bxp1_1",
|
|
5062
5239
|
head: "_head_3bxp1_6",
|
|
5063
5240
|
row: "_row_3bxp1_10",
|
|
5064
5241
|
headerCell: "_headerCell_3bxp1_17",
|
|
5065
5242
|
cell: "_cell_3bxp1_18"
|
|
5066
|
-
},
|
|
5243
|
+
}, Ma = t(({ className: e, ...t }, n) => /* @__PURE__ */ u("table", {
|
|
5067
5244
|
ref: n,
|
|
5068
|
-
className: f(
|
|
5245
|
+
className: f(ja.table, e),
|
|
5069
5246
|
...t
|
|
5070
5247
|
}));
|
|
5071
|
-
|
|
5072
|
-
var
|
|
5248
|
+
Ma.displayName = "Table";
|
|
5249
|
+
var Na = t(({ className: e, ...t }, n) => /* @__PURE__ */ u("thead", {
|
|
5073
5250
|
ref: n,
|
|
5074
|
-
className: f(
|
|
5251
|
+
className: f(ja.head, e),
|
|
5075
5252
|
...t
|
|
5076
5253
|
}));
|
|
5077
|
-
|
|
5078
|
-
var
|
|
5254
|
+
Na.displayName = "TableHead";
|
|
5255
|
+
var Pa = t(({ className: e, ...t }, n) => /* @__PURE__ */ u("tbody", {
|
|
5079
5256
|
ref: n,
|
|
5080
|
-
className: f(
|
|
5257
|
+
className: f(ja.body, e),
|
|
5081
5258
|
...t
|
|
5082
5259
|
}));
|
|
5083
|
-
|
|
5084
|
-
var
|
|
5260
|
+
Pa.displayName = "TableBody";
|
|
5261
|
+
var Fa = t(({ className: e, ...t }, n) => /* @__PURE__ */ u("tr", {
|
|
5085
5262
|
ref: n,
|
|
5086
|
-
className: f(
|
|
5263
|
+
className: f(ja.row, e),
|
|
5087
5264
|
...t
|
|
5088
5265
|
}));
|
|
5089
|
-
|
|
5090
|
-
var
|
|
5266
|
+
Fa.displayName = "TableRow";
|
|
5267
|
+
var Ia = t(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ u("th", {
|
|
5091
5268
|
ref: r,
|
|
5092
|
-
className: f(
|
|
5269
|
+
className: f(ja.headerCell, e),
|
|
5093
5270
|
...n,
|
|
5094
5271
|
children: /* @__PURE__ */ u(G, {
|
|
5095
5272
|
variant: "body3",
|
|
5096
5273
|
children: t
|
|
5097
5274
|
})
|
|
5098
5275
|
}));
|
|
5099
|
-
|
|
5100
|
-
var
|
|
5276
|
+
Ia.displayName = "TableHeaderCell";
|
|
5277
|
+
var La = t(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ u("td", {
|
|
5101
5278
|
ref: r,
|
|
5102
|
-
className: f(
|
|
5279
|
+
className: f(ja.cell, e),
|
|
5103
5280
|
...n,
|
|
5104
5281
|
children: /* @__PURE__ */ u(G, {
|
|
5105
5282
|
variant: "body1",
|
|
5106
5283
|
children: t
|
|
5107
5284
|
})
|
|
5108
5285
|
}));
|
|
5109
|
-
|
|
5110
|
-
var
|
|
5286
|
+
La.displayName = "TableCell";
|
|
5287
|
+
var Ra = {
|
|
5111
5288
|
list: "_list_ns6i2_55",
|
|
5112
5289
|
trigger: "_trigger_ns6i2_63",
|
|
5113
5290
|
labelText: "_labelText_ns6i2_88",
|
|
5114
5291
|
withIcon: "_withIcon_ns6i2_142",
|
|
5115
5292
|
icon: "_icon_ns6i2_147"
|
|
5116
|
-
},
|
|
5293
|
+
}, za = t(({ tabs: e, defaultValue: t, onValueChange: n, className: r, ...i }, a) => /* @__PURE__ */ d(S.Root, {
|
|
5117
5294
|
ref: a,
|
|
5118
5295
|
defaultValue: t ?? e[0]?.value,
|
|
5119
5296
|
onValueChange: n,
|
|
5120
5297
|
className: f(r),
|
|
5121
5298
|
...i,
|
|
5122
5299
|
children: [/* @__PURE__ */ u(S.List, {
|
|
5123
|
-
className:
|
|
5300
|
+
className: Ra.list,
|
|
5124
5301
|
loop: !0,
|
|
5125
5302
|
children: e.map((e) => /* @__PURE__ */ d(S.Trigger, {
|
|
5126
5303
|
value: e.value,
|
|
5127
5304
|
disabled: e.disabled,
|
|
5128
|
-
className: f(
|
|
5305
|
+
className: f(Ra.trigger, "typography-h3"),
|
|
5129
5306
|
children: [e.icon && /* @__PURE__ */ u("span", {
|
|
5130
|
-
className:
|
|
5307
|
+
className: Ra.icon,
|
|
5131
5308
|
children: e.icon
|
|
5132
5309
|
}), /* @__PURE__ */ u("span", {
|
|
5133
|
-
className: f(
|
|
5310
|
+
className: f(Ra.labelText, e.icon && Ra.withIcon),
|
|
5134
5311
|
children: e.label
|
|
5135
5312
|
})]
|
|
5136
5313
|
}, e.value))
|
|
@@ -5139,22 +5316,22 @@ var Sa = {
|
|
|
5139
5316
|
children: e.content
|
|
5140
5317
|
}, e.value))]
|
|
5141
5318
|
}));
|
|
5142
|
-
|
|
5143
|
-
var
|
|
5319
|
+
za.displayName = "Tabs";
|
|
5320
|
+
var Ba = {
|
|
5144
5321
|
container: "_container_yy9sk_23",
|
|
5145
5322
|
label: "_label_yy9sk_62",
|
|
5146
5323
|
textarea: "_textarea_yy9sk_66",
|
|
5147
5324
|
activeState: "_activeState_yy9sk_128",
|
|
5148
5325
|
errorState: "_errorState_yy9sk_132",
|
|
5149
5326
|
errorMessage: "_errorMessage_yy9sk_139"
|
|
5150
|
-
},
|
|
5327
|
+
}, Va = t(({ label: e, error: t, className: n, disabled: r, id: i, ...o }, s) => {
|
|
5151
5328
|
let c = a(), l = i ?? c, f = `${l}-error`;
|
|
5152
5329
|
return /* @__PURE__ */ d("div", {
|
|
5153
|
-
className: m(
|
|
5330
|
+
className: m(Ba.container, { [Ba.errorState]: !!t }),
|
|
5154
5331
|
children: [
|
|
5155
5332
|
e && /* @__PURE__ */ u("label", {
|
|
5156
5333
|
htmlFor: l,
|
|
5157
|
-
className: m("typography-body1",
|
|
5334
|
+
className: m("typography-body1", Ba.label),
|
|
5158
5335
|
children: e
|
|
5159
5336
|
}),
|
|
5160
5337
|
/* @__PURE__ */ u("textarea", {
|
|
@@ -5163,21 +5340,21 @@ var wa = {
|
|
|
5163
5340
|
disabled: r,
|
|
5164
5341
|
"aria-invalid": !!t,
|
|
5165
5342
|
"aria-describedby": t ? f : void 0,
|
|
5166
|
-
className: m(
|
|
5343
|
+
className: m(Ba.textarea, "typography-subtitle1", n),
|
|
5167
5344
|
...o
|
|
5168
5345
|
}),
|
|
5169
5346
|
t && /* @__PURE__ */ u(G, {
|
|
5170
5347
|
variant: "body1",
|
|
5171
5348
|
color: "var(--color-danger-500)",
|
|
5172
5349
|
id: f,
|
|
5173
|
-
className:
|
|
5350
|
+
className: Ba.errorMessage,
|
|
5174
5351
|
children: t
|
|
5175
5352
|
})
|
|
5176
5353
|
]
|
|
5177
5354
|
});
|
|
5178
5355
|
});
|
|
5179
|
-
|
|
5180
|
-
var
|
|
5356
|
+
Va.displayName = "TextArea";
|
|
5357
|
+
var Ha = { content: "_content_17aqj_1" }, Ua = t(({ children: e, content: t, delayDuration: n = 200, className: r, sideOffset: i = 8, ...a }, o) => t ? /* @__PURE__ */ u(C.Provider, {
|
|
5181
5358
|
delayDuration: n,
|
|
5182
5359
|
children: /* @__PURE__ */ d(C.Root, { children: [/* @__PURE__ */ u(C.Trigger, {
|
|
5183
5360
|
asChild: !0,
|
|
@@ -5185,12 +5362,12 @@ var Ea = { content: "_content_17aqj_1" }, Da = t(({ children: e, content: t, del
|
|
|
5185
5362
|
}), /* @__PURE__ */ u(C.Portal, { children: /* @__PURE__ */ u(C.Content, {
|
|
5186
5363
|
ref: o,
|
|
5187
5364
|
sideOffset: i,
|
|
5188
|
-
className: f(
|
|
5365
|
+
className: f(Ha.content, r),
|
|
5189
5366
|
...a,
|
|
5190
5367
|
children: t
|
|
5191
5368
|
}) })] })
|
|
5192
5369
|
}) : /* @__PURE__ */ u(l, { children: e }));
|
|
5193
|
-
|
|
5370
|
+
Ua.displayName = "Tooltip";
|
|
5194
5371
|
var $ = {
|
|
5195
5372
|
"typography-large": "_typography-large_1qgg8_82",
|
|
5196
5373
|
"typography-h1": "_typography-h1_1qgg8_90",
|
|
@@ -5242,7 +5419,7 @@ var $ = {
|
|
|
5242
5419
|
typographyExample: "_typographyExample_1qgg8_606",
|
|
5243
5420
|
transitionBox: "_transitionBox_1qgg8_614",
|
|
5244
5421
|
prefixBox: "_prefixBox_1qgg8_624"
|
|
5245
|
-
},
|
|
5422
|
+
}, Wa = () => {
|
|
5246
5423
|
let [e, t] = c(!1);
|
|
5247
5424
|
return /* @__PURE__ */ d("div", {
|
|
5248
5425
|
className: $.testContainer,
|
|
@@ -5408,6 +5585,6 @@ var $ = {
|
|
|
5408
5585
|
});
|
|
5409
5586
|
};
|
|
5410
5587
|
//#endregion
|
|
5411
|
-
export {
|
|
5588
|
+
export { ji as ActionMenu, Di as Alert, Ze as ArrowBackOutline, Ye as ArrowForwardOutline, Dt as ArrowIosBack, kt as ArrowIosBackOutline, dt as ArrowIosDownOutline, jt as ArrowIosForward, Nt as ArrowIosForwardOutline, lt as ArrowIosUp, ui as AssignUser, Mi as AudioPlayer, Ni as Avatar, Fi as AvatarBlock, fi as BillPay, $t as Block, tn as BlockOutline, Ge as Bookmark, qe as BookmarkOutline, Ir as Brave, z as Button, ki as ButtonLegacy, at as Calendar, st as CalendarOutline, Li as Cards, zi as Carousel, Vi as Checkbox, ge as CheckmarkOutline, Ui as CircularProgress, ci as Clock, be as Close, Se as CloseOutline, Tt as ColorPaletteOutline, Kn as Copy, Jn as CopyOutline, Xn as CreditCard, Qn as CreditCardOutline, Xi as DatePicker, mi as Devices, $e as DoneAllOutline, er as Edit, nr as EditOutline, ir as Email, or as EmailOutline, ei as ErrorIcon, Ft as Expand, Lt as ExpandOutline, Rr as Explorer, vn as Eye, mn as EyeOff, gn as EyeOffOutline, bn as EyeOutline, Pr as Facebook, ni as FileIcon, ve as FillBell, Br as Firefox, ke as FlagEng, je as FlagRus, fn as GithubRepo, Mr as Google, $i as Header, cr as Heart, ur as HeartOutline, we as Home, Ee as HomeOutline, Gt as ImageIcon, qt as ImageOutline, ea as Input, cn as Layers, un as LayersOutline, na as LinearProgress, ii as List, tt as LogOut, rt as LogOutOutline, Ei as Logo, Pi as MainAvatar, fr as Maximize, mr as MaximizeOutline, oa as Menu, zt as MenuOutline, da as Message, An as MessageCircle, Mn as MessageCircleOutline, Hn as Mic, Wn as MicOutline, Hr as MicrosoftEdge, fa as Modal, vi as MoneyCheck, En as MoreHorizontal, On as MoreHorizontalOutline, Wr as Opera, De as OutlineBell, Ar as Paid, Sn as PaperPlane, wn as PaperPlaneOutline, ma as PasswordInput, _t as PauseCircle, yt as PauseCircleOutline, bi as Payment, Si as PaymentSettings, Or as Paypal, Le as Person, Rn as PersonAdd, Bn as PersonAddOutline, ze as PersonOutline, Pn as PersonRemove, In as PersonRemoveOutline, gr as Pin, vr as PinOutline, xt as PlayCircle, Ct as PlayCircleOutline, Vt as PlusCircle, Ut as PlusCircleOutline, Fe as PlusSquare, Ne as PlusSquareOutline, pt as RadioButtonChecked, ht as RadioButtonUnchecked, ha as RadioGroup, _a as ReadMore, Er as RecaptchaLogo, oi as RecycleBin, Kr as Safari, Ca as Scroll, Yt as Search, wa as SearchInput, Zt as SearchOutline, Ea as SearchableSelect, Wi as Select, Qr as Sending, rn as Settings, on as SettingsOutline, Oa as Sidebar, Aa as Slider, wr as Stripe, Ma as Table, Pa as TableBody, La as TableCell, Na as TableHead, Ia as TableHeaderCell, Fa as TableRow, gi as Tablet, za as Tabs, Wa as TestMixins, Va as TextArea, Ua as Tooltip, br as Trash, Sr as TrashOutline, Ve as TrendingUp, Ue as TrendingUpOutline, G as Typography, Jr as UcBrowser, Xr as Yandex, wi as YooKassa, p as clsx };
|
|
5412
5589
|
|
|
5413
5590
|
//# sourceMappingURL=index.js.map
|