@namba_one/ui-kit-2 1.0.102 → 1.0.103

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -19295,527 +19295,98 @@ const os = /* @__PURE__ */ sp(F1), O1 = /* @__PURE__ */ de({
19295
19295
  grow: Rk
19296
19296
  }, zk = {
19297
19297
  $style: Lk
19298
- }, nT = /* @__PURE__ */ $e(Ek, [["__cssModules", zk]]), Nu = /* @__PURE__ */ new Set(), jt = /* @__PURE__ */ new WeakMap(), Un = /* @__PURE__ */ new WeakMap(), $n = /* @__PURE__ */ new WeakMap(), Mi = /* @__PURE__ */ new WeakMap(), Vk = /* @__PURE__ */ new WeakMap(), jn = /* @__PURE__ */ new WeakMap(), ls = /* @__PURE__ */ new WeakMap(), rr = /* @__PURE__ */ new WeakSet();
19299
- let sn, ao = 0, no = 0;
19300
- const Ia = "__aa_tgt", mr = "__aa_del", us = "__aa_new", Nk = (t) => {
19301
- const e = Gk(t);
19302
- e && e.forEach((a) => qk(a));
19303
- }, Yk = (t) => {
19304
- t.forEach((e) => {
19305
- e.target === sn && Wk(), jt.has(e.target) && Tn(e.target);
19306
- });
19307
- };
19308
- function Hk(t) {
19309
- const e = Mi.get(t);
19310
- e == null || e.disconnect();
19311
- let a = jt.get(t), n = 0;
19312
- const r = 5;
19313
- a || (a = Gn(t), jt.set(t, a));
19314
- const { offsetWidth: s, offsetHeight: i } = sn, l = [
19315
- a.top - r,
19316
- s - (a.left + r + a.width),
19317
- i - (a.top + r + a.height),
19318
- a.left - r
19319
- ].map((d) => `${-1 * Math.floor(d)}px`).join(" "), u = new IntersectionObserver(() => {
19320
- ++n > 1 && Tn(t);
19321
- }, {
19322
- root: sn,
19323
- threshold: 1,
19324
- rootMargin: l
19325
- });
19326
- u.observe(t), Mi.set(t, u);
19327
- }
19328
- function Tn(t) {
19329
- clearTimeout(ls.get(t));
19330
- const e = Fs(t), a = gr(e) ? 500 : e.duration;
19331
- ls.set(t, setTimeout(async () => {
19332
- const n = $n.get(t);
19333
- try {
19334
- await (n == null ? void 0 : n.finished), jt.set(t, Gn(t)), Hk(t);
19335
- } catch {
19336
- }
19337
- }, a));
19338
- }
19339
- function Wk() {
19340
- clearTimeout(ls.get(sn)), ls.set(sn, setTimeout(() => {
19341
- Nu.forEach((t) => Wu(t, (e) => Yu(() => Tn(e))));
19342
- }, 100));
19343
- }
19344
- function Uk(t) {
19345
- setTimeout(() => {
19346
- Vk.set(t, setInterval(() => Yu(Tn.bind(null, t)), 2e3));
19347
- }, Math.round(2e3 * Math.random()));
19348
- }
19349
- function Yu(t) {
19350
- typeof requestIdleCallback == "function" ? requestIdleCallback(() => t()) : requestAnimationFrame(() => t());
19351
- }
19352
- let Di, In;
19353
- const jk = typeof window < "u" && "ResizeObserver" in window;
19354
- jk && (sn = document.documentElement, Di = new MutationObserver(Nk), In = new ResizeObserver(Yk), window.addEventListener("scroll", () => {
19355
- no = window.scrollY, ao = window.scrollX;
19356
- }), In.observe(sn));
19357
- function Gk(t) {
19358
- return t.reduce((n, r) => [
19359
- ...n,
19360
- ...Array.from(r.addedNodes),
19361
- ...Array.from(r.removedNodes)
19362
- ], []).every((n) => n.nodeName === "#comment") ? !1 : t.reduce((n, r) => {
19363
- if (n === !1)
19364
- return !1;
19365
- if (r.target instanceof Element) {
19366
- if (ci(r.target), !n.has(r.target)) {
19367
- n.add(r.target);
19368
- for (let s = 0; s < r.target.children.length; s++) {
19369
- const i = r.target.children.item(s);
19370
- if (i) {
19371
- if (mr in i)
19372
- return !1;
19373
- ci(r.target, i), n.add(i);
19374
- }
19298
+ }, nT = /* @__PURE__ */ $e(Ek, [["__cssModules", zk]]), Vk = /* @__PURE__ */ de({
19299
+ __name: "ToastItem",
19300
+ props: {
19301
+ title: {},
19302
+ view: { default: "base" },
19303
+ fontWeight: { default: "regular" }
19304
+ },
19305
+ setup(t) {
19306
+ const e = B(() => {
19307
+ if (t.fontWeight === "regular")
19308
+ switch (t.view) {
19309
+ case "danger":
19310
+ return "outline-warning";
19311
+ default:
19312
+ return "outline-check";
19375
19313
  }
19314
+ switch (t.view) {
19315
+ case "danger":
19316
+ return "filled-warning";
19317
+ default:
19318
+ return "filled-success";
19376
19319
  }
19377
- if (r.removedNodes.length)
19378
- for (let s = 0; s < r.removedNodes.length; s++) {
19379
- const i = r.removedNodes[s];
19380
- if (mr in i)
19381
- return !1;
19382
- i instanceof Element && (n.add(i), ci(r.target, i), Un.set(i, [
19383
- r.previousSibling,
19384
- r.nextSibling
19385
- ]));
19386
- }
19387
- }
19388
- return n;
19389
- }, /* @__PURE__ */ new Set());
19390
- }
19391
- function ci(t, e) {
19392
- !e && !(Ia in t) ? Object.defineProperty(t, Ia, { value: t }) : e && !(Ia in e) && Object.defineProperty(e, Ia, { value: t });
19393
- }
19394
- function qk(t) {
19395
- var e;
19396
- const a = t.isConnected, n = jt.has(t);
19397
- a && Un.has(t) && Un.delete(t), $n.has(t) && ((e = $n.get(t)) === null || e === void 0 || e.cancel()), us in t ? Jo(t) : n && a ? Kk(t) : n && !a ? Qk(t) : Jo(t);
19398
- }
19399
- function ya(t) {
19400
- return Number(t.replace(/[^0-9.\-]/g, ""));
19401
- }
19402
- function Xk(t) {
19403
- let e = t.parentElement;
19404
- for (; e; ) {
19405
- if (e.scrollLeft || e.scrollTop)
19406
- return { x: e.scrollLeft, y: e.scrollTop };
19407
- e = e.parentElement;
19408
- }
19409
- return { x: 0, y: 0 };
19410
- }
19411
- function Gn(t) {
19412
- const e = t.getBoundingClientRect(), { x: a, y: n } = Xk(t);
19413
- return {
19414
- top: e.top + n,
19415
- left: e.left + a,
19416
- width: e.width,
19417
- height: e.height
19418
- };
19419
- }
19420
- function ro(t, e, a) {
19421
- let n = e.width, r = e.height, s = a.width, i = a.height;
19422
- const o = getComputedStyle(t);
19423
- if (o.getPropertyValue("box-sizing") === "content-box") {
19424
- const u = ya(o.paddingTop) + ya(o.paddingBottom) + ya(o.borderTopWidth) + ya(o.borderBottomWidth), d = ya(o.paddingLeft) + ya(o.paddingRight) + ya(o.borderRightWidth) + ya(o.borderLeftWidth);
19425
- n -= d, s -= d, r -= u, i -= u;
19320
+ }), a = B(() => {
19321
+ switch (t.view) {
19322
+ case "primary":
19323
+ return "foreground-element-tooltip-primary";
19324
+ default:
19325
+ return "text-common-base-inverse-default";
19326
+ }
19327
+ }), n = B(() => {
19328
+ switch (t.view) {
19329
+ case "primary":
19330
+ return "foreground-element-tooltip-primary";
19331
+ default:
19332
+ return "icon-common-base-tertiary-default";
19333
+ }
19334
+ });
19335
+ return (r, s) => (v(), S("div", {
19336
+ class: b([r.$style.root, r.$style[`view_${r.view}`]]),
19337
+ onClick: s[0] || (s[0] = (i) => r.$emit("click"))
19338
+ }, [
19339
+ K(f(Qe), {
19340
+ size: 18,
19341
+ name: e.value,
19342
+ color: n.value
19343
+ }, null, 8, ["name", "color"]),
19344
+ K(f(Fe), {
19345
+ class: b(r.$style.title),
19346
+ size: "subhead",
19347
+ weight: r.fontWeight,
19348
+ color: a.value,
19349
+ align: "left"
19350
+ }, {
19351
+ default: H(() => [
19352
+ Ce(be(r.title), 1)
19353
+ ]),
19354
+ _: 1
19355
+ }, 8, ["class", "weight", "color"]),
19356
+ K(f(Qe), {
19357
+ size: 18,
19358
+ name: "outline-cross",
19359
+ color: n.value
19360
+ }, null, 8, ["color"])
19361
+ ], 2));
19426
19362
  }
19427
- return [n, s, r, i].map(Math.round);
19428
- }
19429
- function Fs(t) {
19430
- return Ia in t && jn.has(t[Ia]) ? jn.get(t[Ia]) : { duration: 250, easing: "ease-in-out" };
19431
- }
19432
- function Hu(t) {
19433
- if (Ia in t)
19434
- return t[Ia];
19435
- }
19436
- function so(t) {
19437
- const e = Hu(t);
19438
- return e ? rr.has(e) : !1;
19439
- }
19440
- function Wu(t, ...e) {
19441
- e.forEach((a) => a(t, jn.has(t)));
19442
- for (let a = 0; a < t.children.length; a++) {
19443
- const n = t.children.item(a);
19444
- n && e.forEach((r) => r(n, jn.has(n)));
19363
+ }), Nk = "ToastItem__root_8d069", Yk = "ToastItem__view_base_44eac", Hk = "ToastItem__view_danger_833b2", Wk = "ToastItem__view_primary_d308a", Uk = "ToastItem__title_00905", jk = {
19364
+ root: Nk,
19365
+ view_base: Yk,
19366
+ view_danger: Hk,
19367
+ view_primary: Wk,
19368
+ title: Uk
19369
+ }, Gk = {
19370
+ $style: jk
19371
+ }, qk = /* @__PURE__ */ $e(Vk, [["__cssModules", Gk]]);
19372
+ class Xk {
19373
+ constructor() {
19374
+ Me(this, "list", W([]));
19375
+ Me(this, "timeouts", W({}));
19445
19376
  }
19446
- }
19447
- function io(t) {
19448
- return Array.isArray(t) ? t : [t];
19449
- }
19450
- function gr(t) {
19451
- return typeof t == "function";
19452
- }
19453
- function Kk(t) {
19454
- const e = jt.get(t), a = Gn(t);
19455
- if (!so(t))
19456
- return jt.set(t, a);
19457
- let n;
19458
- if (!e)
19459
- return;
19460
- const r = Fs(t);
19461
- if (typeof r != "function") {
19462
- const s = e.left - a.left, i = e.top - a.top, [o, l, u, d] = ro(t, e, a), c = {
19463
- transform: `translate(${s}px, ${i}px)`
19464
- }, h = {
19465
- transform: "translate(0, 0)"
19466
- };
19467
- o !== l && (c.width = `${o}px`, h.width = `${l}px`), u !== d && (c.height = `${u}px`, h.height = `${d}px`), n = t.animate([c, h], {
19468
- duration: r.duration,
19469
- easing: r.easing
19377
+ restartTimeouts() {
19378
+ Object.keys(this.timeouts.value).forEach((e, a) => {
19379
+ this.timeouts.value[e] = setTimeout(
19380
+ () => {
19381
+ this.remove(+e), clearTimeout(this.timeouts.value[e]);
19382
+ },
19383
+ 4e3 + a * 300
19384
+ );
19470
19385
  });
19471
- } else {
19472
- const [s] = io(r(t, "remain", e, a));
19473
- n = new Animation(s), n.play();
19474
19386
  }
19475
- $n.set(t, n), jt.set(t, a), n.addEventListener("finish", Tn.bind(null, t));
19476
- }
19477
- function Jo(t) {
19478
- us in t && delete t[us];
19479
- const e = Gn(t);
19480
- jt.set(t, e);
19481
- const a = Fs(t);
19482
- if (!so(t))
19483
- return;
19484
- let n;
19485
- if (typeof a != "function")
19486
- n = t.animate([
19487
- { transform: "scale(.98)", opacity: 0 },
19488
- { transform: "scale(0.98)", opacity: 0, offset: 0.5 },
19489
- { transform: "scale(1)", opacity: 1 }
19490
- ], {
19491
- duration: a.duration * 1.5,
19492
- easing: "ease-in"
19493
- });
19494
- else {
19495
- const [r] = io(a(t, "add", e));
19496
- n = new Animation(r), n.play();
19497
- }
19498
- $n.set(t, n), n.addEventListener("finish", Tn.bind(null, t));
19499
- }
19500
- function el(t, e) {
19501
- var a;
19502
- t.remove(), jt.delete(t), Un.delete(t), $n.delete(t), (a = Mi.get(t)) === null || a === void 0 || a.disconnect(), setTimeout(() => {
19503
- if (mr in t && delete t[mr], Object.defineProperty(t, us, { value: !0, configurable: !0 }), e && t instanceof HTMLElement)
19504
- for (const n in e)
19505
- t.style[n] = "";
19506
- }, 0);
19507
- }
19508
- function Qk(t) {
19509
- var e;
19510
- if (!Un.has(t) || !jt.has(t))
19511
- return;
19512
- const [a, n] = Un.get(t);
19513
- Object.defineProperty(t, mr, { value: !0, configurable: !0 });
19514
- const r = window.scrollX, s = window.scrollY;
19515
- if (n && n.parentNode && n.parentNode instanceof Element ? n.parentNode.insertBefore(t, n) : a && a.parentNode ? a.parentNode.appendChild(t) : (e = Hu(t)) === null || e === void 0 || e.appendChild(t), !so(t))
19516
- return el(t);
19517
- const [i, o, l, u] = Jk(t), d = Fs(t), c = jt.get(t);
19518
- (r !== ao || s !== no) && Zk(t, r, s, d);
19519
- let h, g = {
19520
- position: "absolute",
19521
- top: `${i}px`,
19522
- left: `${o}px`,
19523
- width: `${l}px`,
19524
- height: `${u}px`,
19525
- margin: "0",
19526
- pointerEvents: "none",
19527
- transformOrigin: "center",
19528
- zIndex: "100"
19529
- };
19530
- if (!gr(d))
19531
- Object.assign(t.style, g), h = t.animate([
19532
- {
19533
- transform: "scale(1)",
19534
- opacity: 1
19535
- },
19536
- {
19537
- transform: "scale(.98)",
19538
- opacity: 0
19539
- }
19540
- ], { duration: d.duration, easing: "ease-out" });
19541
- else {
19542
- const [m, y] = io(d(t, "remove", c));
19543
- (y == null ? void 0 : y.styleReset) !== !1 && (g = (y == null ? void 0 : y.styleReset) || g, Object.assign(t.style, g)), h = new Animation(m), h.play();
19544
- }
19545
- $n.set(t, h), h.addEventListener("finish", el.bind(null, t, g));
19546
- }
19547
- function Zk(t, e, a, n) {
19548
- const r = ao - e, s = no - a, i = document.documentElement.style.scrollBehavior;
19549
- if (getComputedStyle(sn).scrollBehavior === "smooth" && (document.documentElement.style.scrollBehavior = "auto"), window.scrollTo(window.scrollX + r, window.scrollY + s), !t.parentElement)
19550
- return;
19551
- const l = t.parentElement;
19552
- let u = l.clientHeight, d = l.clientWidth;
19553
- const c = performance.now();
19554
- function h() {
19555
- requestAnimationFrame(() => {
19556
- if (!gr(n)) {
19557
- const g = u - l.clientHeight, m = d - l.clientWidth;
19558
- c + n.duration > performance.now() ? (window.scrollTo({
19559
- left: window.scrollX - m,
19560
- top: window.scrollY - g
19561
- }), u = l.clientHeight, d = l.clientWidth, h()) : document.documentElement.style.scrollBehavior = i;
19562
- }
19563
- });
19564
- }
19565
- h();
19566
- }
19567
- function Jk(t) {
19568
- const e = jt.get(t), [a, , n] = ro(t, e, Gn(t));
19569
- let r = t.parentElement;
19570
- for (; r && (getComputedStyle(r).position === "static" || r instanceof HTMLBodyElement); )
19571
- r = r.parentElement;
19572
- r || (r = document.body);
19573
- const s = getComputedStyle(r), i = jt.get(r) || Gn(r), o = Math.round(e.top - i.top) - ya(s.borderTopWidth), l = Math.round(e.left - i.left) - ya(s.borderLeftWidth);
19574
- return [o, l, a, n];
19575
- }
19576
- function e2(t, e = {}) {
19577
- return Di && In && (window.matchMedia("(prefers-reduced-motion: reduce)").matches && !gr(e) && !e.disrespectUserMotionPreference || (rr.add(t), getComputedStyle(t).position === "static" && Object.assign(t.style, { position: "relative" }), Wu(t, Tn, Uk, (r) => In == null ? void 0 : In.observe(r)), gr(e) ? jn.set(t, e) : jn.set(t, { duration: 250, easing: "ease-in-out", ...e }), Di.observe(t, { childList: !0 }), Nu.add(t))), Object.freeze({
19578
- parent: t,
19579
- enable: () => {
19580
- rr.add(t);
19581
- },
19582
- disable: () => {
19583
- rr.delete(t);
19584
- },
19585
- isEnabled: () => rr.has(t)
19586
- });
19587
- }
19588
- const t2 = /* @__PURE__ */ de({
19589
- __name: "AnimationFadeBlur",
19590
- props: {
19591
- isHeight: { type: Boolean, default: !1 },
19592
- duration: { default: 300 }
19593
- },
19594
- setup(t) {
19595
- const e = W(null);
19596
- return ot(
19597
- () => e2(e.value, (a, n, r, s) => {
19598
- let i;
19599
- if (n === "add" && (i = [
19600
- { opacity: 0, filter: "blur(5px)" },
19601
- { opacity: 1, filter: "blur(0px)" }
19602
- ]), n === "remove" && (i = [
19603
- { opacity: 1, filter: "blur(0px)" },
19604
- { opacity: 0, filter: "blur(5px)" }
19605
- ]), n === "remain") {
19606
- const o = r.left - s.left, l = r.top - s.top, [, , u, d] = ro(
19607
- a,
19608
- r,
19609
- s
19610
- ), c = {
19611
- ...t.isHeight && {
19612
- transform: `translate(${o}px, ${l}px)`
19613
- },
19614
- filter: "blur(5px)"
19615
- }, h = {
19616
- ...t.isHeight && {
19617
- transform: "translate(0, 0)"
19618
- },
19619
- filter: "blur(0px)"
19620
- };
19621
- t.isHeight && u !== d && (c.height = `${u}px`, h.height = `${d}px`), i = [c, h];
19622
- }
19623
- return new KeyframeEffect(a, i, {
19624
- duration: Number(t.duration),
19625
- easing: "ease-out",
19626
- fill: "both"
19627
- });
19628
- })
19629
- ), (a, n) => (v(), S("div", {
19630
- ref_key: "containerRef",
19631
- ref: e,
19632
- class: b(a.$style.root)
19633
- }, [
19634
- ue(a.$slots, "default")
19635
- ], 2));
19636
- }
19637
- }), a2 = {}, n2 = {
19638
- $style: a2
19639
- }, r2 = /* @__PURE__ */ $e(t2, [["__cssModules", n2]]), s2 = /* @__PURE__ */ de({
19640
- __name: "Table",
19641
- props: {
19642
- headers: {},
19643
- gridTemplateColumns: { default: "repeat(3, 1fr)" },
19644
- list: {},
19645
- isLoading: { type: Boolean, default: !1 },
19646
- extractKey: { type: Function },
19647
- reRenderKey: {}
19648
- },
19649
- setup(t) {
19650
- const e = B(() => JSON.stringify(t.list));
19651
- return (a, n) => (v(), S("div", {
19652
- class: b(a.$style.root),
19653
- style: He({ "--grid-template-columns": a.gridTemplateColumns })
19654
- }, [
19655
- X("div", {
19656
- class: b(a.$style.header)
19657
- }, [
19658
- (v(!0), S(De, null, Ve(a.headers, (r) => (v(), S("div", { key: r }, [
19659
- K(f(Fe), {
19660
- class: b(a.$style.headerText),
19661
- size: "caption",
19662
- weight: "regular",
19663
- color: "foreground-layout-layout-1-secondary"
19664
- }, {
19665
- default: H(() => [
19666
- Ce(be(r), 1)
19667
- ]),
19668
- _: 2
19669
- }, 1032, ["class"])
19670
- ]))), 128)),
19671
- K(f(Bi), {
19672
- size: "s",
19673
- class: b(a.$style.divider)
19674
- }, null, 8, ["class"])
19675
- ], 2),
19676
- K(f(r2), null, {
19677
- default: H(() => [
19678
- a.isLoading ? (v(), S("div", {
19679
- key: "skeleton",
19680
- class: b([a.$style.body, a.$style.skeleton])
19681
- }, [
19682
- K(f(rg), null, {
19683
- default: H(() => [
19684
- (v(), S(De, null, Ve(6, (r) => ue(a.$slots, "renderSkeletonRow", { key: r })), 64))
19685
- ]),
19686
- _: 3
19687
- })
19688
- ], 2)) : a.list.length ? (v(), S("div", {
19689
- key: `content-${e.value}-${a.reRenderKey}`,
19690
- class: b(a.$style.body)
19691
- }, [
19692
- (v(!0), S(De, null, Ve(a.list, (r, s) => ue(a.$slots, "renderTableRow", {
19693
- item: r,
19694
- index: s
19695
- })), 256))
19696
- ], 2)) : (v(), S("div", {
19697
- key: 2,
19698
- class: b(a.$style.empty)
19699
- }, [
19700
- ue(a.$slots, "renderEmpty")
19701
- ], 2))
19702
- ]),
19703
- _: 3
19704
- })
19705
- ], 6));
19706
- }
19707
- }), i2 = "Table__root_597c1", o2 = "Table__header_9967a", l2 = "Table__row_1749f", u2 = "Table__divider_fe573", c2 = "Table__skeleton_bdbfb", d2 = "Table__empty_24f80", Uu = {
19708
- root: i2,
19709
- header: o2,
19710
- row: l2,
19711
- divider: u2,
19712
- skeleton: c2,
19713
- empty: d2
19714
- }, f2 = {
19715
- $style: Uu
19716
- }, rT = /* @__PURE__ */ $e(s2, [["__cssModules", f2]]), h2 = /* @__PURE__ */ de({
19717
- __name: "TableRow",
19718
- setup(t) {
19719
- return (e, a) => (v(), S("div", {
19720
- class: b(e.$style.row)
19721
- }, [
19722
- ue(e.$slots, "default")
19723
- ], 2));
19724
- }
19725
- }), p2 = {
19726
- $style: Uu
19727
- }, sT = /* @__PURE__ */ $e(h2, [["__cssModules", p2]]), v2 = /* @__PURE__ */ de({
19728
- __name: "ToastItem",
19729
- props: {
19730
- title: {},
19731
- view: { default: "base" },
19732
- fontWeight: { default: "regular" }
19733
- },
19734
- setup(t) {
19735
- const e = B(() => {
19736
- if (t.fontWeight === "regular")
19737
- switch (t.view) {
19738
- case "danger":
19739
- return "outline-warning";
19740
- default:
19741
- return "outline-check";
19742
- }
19743
- switch (t.view) {
19744
- case "danger":
19745
- return "filled-warning";
19746
- default:
19747
- return "filled-success";
19748
- }
19749
- }), a = B(() => {
19750
- switch (t.view) {
19751
- case "primary":
19752
- return "foreground-element-tooltip-primary";
19753
- default:
19754
- return "text-common-base-inverse-default";
19755
- }
19756
- }), n = B(() => {
19757
- switch (t.view) {
19758
- case "primary":
19759
- return "foreground-element-tooltip-primary";
19760
- default:
19761
- return "icon-common-base-tertiary-default";
19762
- }
19763
- });
19764
- return (r, s) => (v(), S("div", {
19765
- class: b([r.$style.root, r.$style[`view_${r.view}`]]),
19766
- onClick: s[0] || (s[0] = (i) => r.$emit("click"))
19767
- }, [
19768
- K(f(Qe), {
19769
- size: 18,
19770
- name: e.value,
19771
- color: n.value
19772
- }, null, 8, ["name", "color"]),
19773
- K(f(Fe), {
19774
- class: b(r.$style.title),
19775
- size: "subhead",
19776
- weight: r.fontWeight,
19777
- color: a.value,
19778
- align: "left"
19779
- }, {
19780
- default: H(() => [
19781
- Ce(be(r.title), 1)
19782
- ]),
19783
- _: 1
19784
- }, 8, ["class", "weight", "color"]),
19785
- K(f(Qe), {
19786
- size: 18,
19787
- name: "outline-cross",
19788
- color: n.value
19789
- }, null, 8, ["color"])
19790
- ], 2));
19791
- }
19792
- }), m2 = "ToastItem__root_8d069", g2 = "ToastItem__view_base_44eac", y2 = "ToastItem__view_danger_833b2", b2 = "ToastItem__view_primary_d308a", _2 = "ToastItem__title_00905", w2 = {
19793
- root: m2,
19794
- view_base: g2,
19795
- view_danger: y2,
19796
- view_primary: b2,
19797
- title: _2
19798
- }, k2 = {
19799
- $style: w2
19800
- }, $2 = /* @__PURE__ */ $e(v2, [["__cssModules", k2]]);
19801
- class C2 {
19802
- constructor() {
19803
- Me(this, "list", W([]));
19804
- Me(this, "timeouts", W({}));
19805
- }
19806
- restartTimeouts() {
19807
- Object.keys(this.timeouts.value).forEach((e, a) => {
19808
- this.timeouts.value[e] = setTimeout(
19809
- () => {
19810
- this.remove(+e), clearTimeout(this.timeouts.value[e]);
19811
- },
19812
- 4e3 + a * 300
19813
- );
19814
- });
19815
- }
19816
- pauseTimeouts() {
19817
- Object.keys(this.timeouts.value).forEach((e) => {
19818
- clearTimeout(this.timeouts.value[e]);
19387
+ pauseTimeouts() {
19388
+ Object.keys(this.timeouts.value).forEach((e) => {
19389
+ clearTimeout(this.timeouts.value[e]);
19819
19390
  });
19820
19391
  }
19821
19392
  remove(e) {
@@ -19843,14 +19414,14 @@ class C2 {
19843
19414
  });
19844
19415
  }
19845
19416
  install(e) {
19846
- e.provide(ju, this);
19417
+ e.provide(Nu, this);
19847
19418
  }
19848
19419
  }
19849
- const ju = Symbol("ToastService"), iT = new C2(), T2 = ["id"], S2 = /* @__PURE__ */ de({
19420
+ const Nu = Symbol("ToastService"), rT = new Xk(), Kk = ["id"], Qk = /* @__PURE__ */ de({
19850
19421
  __name: "Toaster",
19851
19422
  setup(t) {
19852
19423
  let e;
19853
- const a = br(ju), n = W(), r = W([]), s = W(!1), i = W(D()), o = W(D()), l = W(D()), u = W(D());
19424
+ const a = br(Nu), n = W(), r = W([]), s = W(!1), i = W(D()), o = W(D()), l = W(D()), u = W(D());
19854
19425
  function d(x) {
19855
19426
  const A = F(x);
19856
19427
  return {
@@ -20032,7 +19603,7 @@ const ju = Symbol("ToastService"), iT = new C2(), T2 = ["id"], S2 = /* @__PURE__
20032
19603
  class: b(x.$style.body),
20033
19604
  style: He(d(C).body)
20034
19605
  }, [
20035
- K($2, tt({ ref_for: !0 }, U, {
19606
+ K(qk, tt({ ref_for: !0 }, U, {
20036
19607
  onClick: () => m(U.id)
20037
19608
  }), null, 16, ["onClick"])
20038
19609
  ], 6),
@@ -20052,14 +19623,14 @@ const ju = Symbol("ToastService"), iT = new C2(), T2 = ["id"], S2 = /* @__PURE__
20052
19623
  class: b([x.$style.right, x.$style.shadow]),
20053
19624
  style: He(d(C).right)
20054
19625
  }, null, 6)
20055
- ], 14, T2))), 128))
19626
+ ], 14, Kk))), 128))
20056
19627
  ];
20057
19628
  }),
20058
19629
  _: 1
20059
19630
  }, 8, ["enterFromClass", "enterToClass", "enterActiveClass", "leaveFromClass", "leaveToClass", "leaveActiveClass"])
20060
19631
  ], 2));
20061
19632
  }
20062
- }), M2 = "Toaster__root_6a9fa", D2 = "Toaster__toaster_e01d3", x2 = "Toaster__body_aebdf", E2 = "Toaster__view_base_bb27b", A2 = "Toaster__left_1299a", F2 = "Toaster__right_9f93f", O2 = "Toaster__view_danger_184da", I2 = "Toaster__view_primary_439f6", B2 = "Toaster__shadow_b92b5", P2 = {
19633
+ }), Zk = "Toaster__root_6a9fa", Jk = "Toaster__toaster_e01d3", e2 = "Toaster__body_aebdf", t2 = "Toaster__view_base_bb27b", a2 = "Toaster__left_1299a", n2 = "Toaster__right_9f93f", r2 = "Toaster__view_danger_184da", s2 = "Toaster__view_primary_439f6", i2 = "Toaster__shadow_b92b5", o2 = {
20063
19634
  "toaster-enter-from": "Toaster__toaster-enter-from_8a179",
20064
19635
  "toaster-enter": "Toaster__toaster-enter_2cb2e",
20065
19636
  "toaster-enter-to": "Toaster__toaster-enter-to_22319",
@@ -20068,20 +19639,20 @@ const ju = Symbol("ToastService"), iT = new C2(), T2 = ["id"], S2 = /* @__PURE__
20068
19639
  "toaster-leave-from": "Toaster__toaster-leave-from_3ccc0",
20069
19640
  "toaster-leave": "Toaster__toaster-leave_ab1a5",
20070
19641
  "toaster-leave-to": "Toaster__toaster-leave-to_7f821",
20071
- root: M2,
19642
+ root: Zk,
20072
19643
  "is-expand": "Toaster__is-expand_e6c4c",
20073
- toaster: D2,
20074
- body: x2,
20075
- view_base: E2,
20076
- left: A2,
20077
- right: F2,
20078
- view_danger: O2,
20079
- view_primary: I2,
20080
- shadow: B2
20081
- }, R2 = {
20082
- $style: P2
20083
- }, oT = /* @__PURE__ */ $e(S2, [["__cssModules", R2]]);
20084
- class L2 {
19644
+ toaster: Jk,
19645
+ body: e2,
19646
+ view_base: t2,
19647
+ left: a2,
19648
+ right: n2,
19649
+ view_danger: r2,
19650
+ view_primary: s2,
19651
+ shadow: i2
19652
+ }, l2 = {
19653
+ $style: o2
19654
+ }, sT = /* @__PURE__ */ $e(Qk, [["__cssModules", l2]]);
19655
+ class u2 {
20085
19656
  async install() {
20086
19657
  if (!document.getElementById("svg-sprite"))
20087
19658
  try {
@@ -20092,13 +19663,13 @@ class L2 {
20092
19663
  }
20093
19664
  }
20094
19665
  }
20095
- const lT = new L2(), cs = (t) => {
19666
+ const iT = new u2(), ls = (t) => {
20096
19667
  const e = Object.entries(t).map(([a, n]) => [
20097
19668
  a.toString(),
20098
19669
  n
20099
19670
  ]);
20100
19671
  return new Map(e);
20101
- }, z2 = ["disabled"], V2 = ["onClick"], N2 = /* @__PURE__ */ de({
19672
+ }, c2 = ["disabled"], d2 = ["onClick"], f2 = /* @__PURE__ */ de({
20102
19673
  __name: "StatusSelect",
20103
19674
  props: /* @__PURE__ */ Lt({
20104
19675
  value: {},
@@ -20123,12 +19694,12 @@ const lT = new L2(), cs = (t) => {
20123
19694
  function o(m) {
20124
19695
  i.value = m, a(!1);
20125
19696
  }
20126
- const l = cs({
19697
+ const l = ls({
20127
19698
  secondary: "text-button-base-secondary",
20128
19699
  success: "text-button-success-primary",
20129
19700
  brand: "text-button-brand-primary",
20130
19701
  critical: "text-button-critical-primary"
20131
- }), u = cs({
19702
+ }), u = ls({
20132
19703
  secondary: "icon-button-base-secondary",
20133
19704
  success: "icon-button-success-primary",
20134
19705
  brand: "icon-button-brand-primary",
@@ -20250,35 +19821,35 @@ const lT = new L2(), cs = (t) => {
20250
19821
  ]),
20251
19822
  _: 2
20252
19823
  }, 1024)
20253
- ], 10, V2))), 128))
19824
+ ], 10, d2))), 128))
20254
19825
  ], 2)
20255
19826
  ]),
20256
19827
  _: 1
20257
19828
  }, 8, ["isShowDropdown"])
20258
- ], 10, z2);
19829
+ ], 10, c2);
20259
19830
  };
20260
19831
  }
20261
- }), Y2 = "StatusSelect__root_9bfa0", H2 = "StatusSelect__wrapper_8cabc", W2 = "StatusSelect__text_b4d1c", U2 = "StatusSelect__icon_c49fe", j2 = "StatusSelect__item_37c1b", G2 = "StatusSelect__loader_aa2c1", q2 = "StatusSelect__view_secondary_e4022", X2 = "StatusSelect__view_success_aa0c9", K2 = "StatusSelect__view_critical_54f77", Q2 = "StatusSelect__view_brand_1759a", Z2 = "StatusSelect__scroller_c12db", J2 = "StatusSelect__checkbox_0c502", Gu = {
20262
- root: Y2,
19832
+ }), h2 = "StatusSelect__root_9bfa0", p2 = "StatusSelect__wrapper_8cabc", v2 = "StatusSelect__text_b4d1c", m2 = "StatusSelect__icon_c49fe", g2 = "StatusSelect__item_37c1b", y2 = "StatusSelect__loader_aa2c1", b2 = "StatusSelect__view_secondary_e4022", _2 = "StatusSelect__view_success_aa0c9", w2 = "StatusSelect__view_critical_54f77", k2 = "StatusSelect__view_brand_1759a", $2 = "StatusSelect__scroller_c12db", C2 = "StatusSelect__checkbox_0c502", Yu = {
19833
+ root: h2,
20263
19834
  "is-disabled": "StatusSelect__is-disabled_9b1d9",
20264
- wrapper: H2,
19835
+ wrapper: p2,
20265
19836
  "wrapper-skeleton": "StatusSelect__wrapper-skeleton_9c265",
20266
- text: W2,
19837
+ text: v2,
20267
19838
  "icon-wrapper": "StatusSelect__icon-wrapper_97b83",
20268
- icon: U2,
20269
- item: j2,
19839
+ icon: m2,
19840
+ item: g2,
20270
19841
  "is-active": "StatusSelect__is-active_299a0",
20271
- loader: G2,
19842
+ loader: y2,
20272
19843
  "is-loading": "StatusSelect__is-loading_7ec4e",
20273
- view_secondary: q2,
20274
- view_success: X2,
20275
- view_critical: K2,
20276
- view_brand: Q2,
20277
- scroller: Z2,
20278
- checkbox: J2
20279
- }, e$ = {
20280
- $style: Gu
20281
- }, uT = /* @__PURE__ */ $e(N2, [["__cssModules", e$]]), t$ = /* @__PURE__ */ de({
19844
+ view_secondary: b2,
19845
+ view_success: _2,
19846
+ view_critical: w2,
19847
+ view_brand: k2,
19848
+ scroller: $2,
19849
+ checkbox: C2
19850
+ }, T2 = {
19851
+ $style: Yu
19852
+ }, oT = /* @__PURE__ */ $e(f2, [["__cssModules", T2]]), S2 = /* @__PURE__ */ de({
20282
19853
  __name: "StatusSelectSkeleton",
20283
19854
  props: {
20284
19855
  widthRange: {}
@@ -20308,16 +19879,16 @@ const lT = new L2(), cs = (t) => {
20308
19879
  }, null, 2)
20309
19880
  ], 6));
20310
19881
  }
20311
- }), a$ = {
20312
- $style: Gu
20313
- }, cT = /* @__PURE__ */ $e(t$, [["__cssModules", a$]]), qu = {
19882
+ }), M2 = {
19883
+ $style: Yu
19884
+ }, lT = /* @__PURE__ */ $e(S2, [["__cssModules", M2]]), Hu = {
20314
19885
  interactionType: "web"
20315
- }, Xu = Symbol("GlobalConfig"), dT = (t) => {
20316
- ds(Xu, {
20317
- ...qu,
19886
+ }, Wu = Symbol("GlobalConfig"), uT = (t) => {
19887
+ ds(Wu, {
19888
+ ...Hu,
20318
19889
  ...t
20319
19890
  });
20320
- }, fT = () => br(Xu, qu), n$ = ["onClick"], r$ = /* @__PURE__ */ de({
19891
+ }, cT = () => br(Wu, Hu), D2 = ["onClick"], x2 = /* @__PURE__ */ de({
20321
19892
  __name: "ThemePicker",
20322
19893
  props: /* @__PURE__ */ Lt({
20323
19894
  value: {},
@@ -20346,18 +19917,18 @@ const lT = new L2(), cs = (t) => {
20346
19917
  X("div", {
20347
19918
  class: b(a.$style.theme)
20348
19919
  }, null, 2)
20349
- ], 10, n$))), 128))
19920
+ ], 10, D2))), 128))
20350
19921
  ], 2));
20351
19922
  }
20352
- }), s$ = "ThemePicker__root_42aa5", i$ = "ThemePicker__item_a750e", o$ = "ThemePicker__theme_6765b", Ku = {
20353
- root: s$,
20354
- item: i$,
19923
+ }), E2 = "ThemePicker__root_42aa5", A2 = "ThemePicker__item_a750e", F2 = "ThemePicker__theme_6765b", Uu = {
19924
+ root: E2,
19925
+ item: A2,
20355
19926
  "item-skeleton": "ThemePicker__item-skeleton_17dde",
20356
- theme: o$,
19927
+ theme: F2,
20357
19928
  "is-active": "ThemePicker__is-active_54a2a"
20358
- }, l$ = {
20359
- $style: Ku
20360
- }, hT = /* @__PURE__ */ $e(r$, [["__cssModules", l$]]), u$ = /* @__PURE__ */ de({
19929
+ }, O2 = {
19930
+ $style: Uu
19931
+ }, dT = /* @__PURE__ */ $e(x2, [["__cssModules", O2]]), I2 = /* @__PURE__ */ de({
20361
19932
  __name: "ThemePickerSkeleton",
20362
19933
  setup(t) {
20363
19934
  return (e, a) => (v(), S("article", {
@@ -20373,9 +19944,9 @@ const lT = new L2(), cs = (t) => {
20373
19944
  ], 2)), 64))
20374
19945
  ], 2));
20375
19946
  }
20376
- }), c$ = {
20377
- $style: Ku
20378
- }, pT = /* @__PURE__ */ $e(u$, [["__cssModules", c$]]), d$ = /* @__PURE__ */ de({
19947
+ }), B2 = {
19948
+ $style: Uu
19949
+ }, fT = /* @__PURE__ */ $e(I2, [["__cssModules", B2]]), P2 = /* @__PURE__ */ de({
20379
19950
  __name: "Breadcrumbs",
20380
19951
  props: {
20381
19952
  list: {},
@@ -20423,14 +19994,14 @@ const lT = new L2(), cs = (t) => {
20423
19994
  }, 1040, ["class"]))), 128))
20424
19995
  ], 2));
20425
19996
  }
20426
- }), f$ = "Breadcrumbs__root_d903b", h$ = "Breadcrumbs__breadcrumb_75c26", p$ = "Breadcrumbs__text_92d91", v$ = "Breadcrumbs__icon_42802", m$ = {
20427
- root: f$,
20428
- breadcrumb: h$,
20429
- text: p$,
20430
- icon: v$
20431
- }, g$ = {
20432
- $style: m$
20433
- }, vT = /* @__PURE__ */ $e(d$, [["__cssModules", g$]]), y$ = /* @__PURE__ */ de({
19997
+ }), R2 = "Breadcrumbs__root_d903b", L2 = "Breadcrumbs__breadcrumb_75c26", z2 = "Breadcrumbs__text_92d91", V2 = "Breadcrumbs__icon_42802", N2 = {
19998
+ root: R2,
19999
+ breadcrumb: L2,
20000
+ text: z2,
20001
+ icon: V2
20002
+ }, Y2 = {
20003
+ $style: N2
20004
+ }, hT = /* @__PURE__ */ $e(P2, [["__cssModules", Y2]]), H2 = /* @__PURE__ */ de({
20434
20005
  __name: "VerificationInfoCell",
20435
20006
  props: {
20436
20007
  icon: {},
@@ -20480,13 +20051,13 @@ const lT = new L2(), cs = (t) => {
20480
20051
  ], 2)
20481
20052
  ], 2));
20482
20053
  }
20483
- }), b$ = "VerificationInfoCell__root_526a7", _$ = "VerificationInfoCell__content_f9a78", w$ = "VerificationInfoCell__actions_a1daf", k$ = {
20484
- root: b$,
20485
- content: _$,
20486
- actions: w$
20487
- }, $$ = {
20488
- $style: k$
20489
- }, mT = /* @__PURE__ */ $e(y$, [["__cssModules", $$]]), C$ = /* @__PURE__ */ de({
20054
+ }), W2 = "VerificationInfoCell__root_526a7", U2 = "VerificationInfoCell__content_f9a78", j2 = "VerificationInfoCell__actions_a1daf", G2 = {
20055
+ root: W2,
20056
+ content: U2,
20057
+ actions: j2
20058
+ }, q2 = {
20059
+ $style: G2
20060
+ }, pT = /* @__PURE__ */ $e(H2, [["__cssModules", q2]]), X2 = /* @__PURE__ */ de({
20490
20061
  __name: "Avatar",
20491
20062
  props: {
20492
20063
  image: {},
@@ -20494,13 +20065,13 @@ const lT = new L2(), cs = (t) => {
20494
20065
  size: { default: 40 }
20495
20066
  },
20496
20067
  setup(t) {
20497
- const e = W("idle"), a = W(""), n = cs({
20068
+ const e = W("idle"), a = W(""), n = ls({
20498
20069
  28: "body",
20499
20070
  36: "title3",
20500
20071
  40: "title3",
20501
20072
  56: "title1",
20502
20073
  120: "title120"
20503
- }), r = cs({
20074
+ }), r = ls({
20504
20075
  28: 14,
20505
20076
  36: 18,
20506
20077
  40: 18,
@@ -20556,18 +20127,18 @@ const lT = new L2(), cs = (t) => {
20556
20127
  })
20557
20128
  ], 2));
20558
20129
  }
20559
- }), T$ = "Avatar__root_5ff11", S$ = "Avatar__initials_311ca", M$ = "Avatar__image_0b5c9", D$ = "Avatar__size_28_38212", x$ = "Avatar__size_36_cfcf4", E$ = "Avatar__size_40_fa607", A$ = "Avatar__size_56_1f15d", F$ = "Avatar__size_120_fece6", O$ = {
20560
- root: T$,
20561
- initials: S$,
20562
- image: M$,
20563
- size_28: D$,
20564
- size_36: x$,
20565
- size_40: E$,
20566
- size_56: A$,
20567
- size_120: F$
20568
- }, I$ = {
20569
- $style: O$
20570
- }, gT = /* @__PURE__ */ $e(C$, [["__cssModules", I$]]), B$ = /* @__PURE__ */ de({
20130
+ }), K2 = "Avatar__root_5ff11", Q2 = "Avatar__initials_311ca", Z2 = "Avatar__image_0b5c9", J2 = "Avatar__size_28_38212", e$ = "Avatar__size_36_cfcf4", t$ = "Avatar__size_40_fa607", a$ = "Avatar__size_56_1f15d", n$ = "Avatar__size_120_fece6", r$ = {
20131
+ root: K2,
20132
+ initials: Q2,
20133
+ image: Z2,
20134
+ size_28: J2,
20135
+ size_36: e$,
20136
+ size_40: t$,
20137
+ size_56: a$,
20138
+ size_120: n$
20139
+ }, s$ = {
20140
+ $style: r$
20141
+ }, vT = /* @__PURE__ */ $e(X2, [["__cssModules", s$]]), i$ = /* @__PURE__ */ de({
20571
20142
  __name: "MenuBarItem",
20572
20143
  props: {
20573
20144
  onClick: { type: Function },
@@ -20615,14 +20186,14 @@ const lT = new L2(), cs = (t) => {
20615
20186
  }, 8, ["color"])
20616
20187
  ], 2));
20617
20188
  }
20618
- }), P$ = "MenuBarItem__root_f3c96", R$ = "MenuBarItem__icon_8930b", L$ = "MenuBarItem__view_base_16bad", z$ = "MenuBarItem__view_critical_02c76", V$ = {
20619
- root: P$,
20620
- icon: R$,
20621
- view_base: L$,
20622
- view_critical: z$
20623
- }, N$ = {
20624
- $style: V$
20625
- }, Y$ = /* @__PURE__ */ $e(B$, [["__cssModules", N$]]), H$ = /* @__PURE__ */ de({
20189
+ }), o$ = "MenuBarItem__root_f3c96", l$ = "MenuBarItem__icon_8930b", u$ = "MenuBarItem__view_base_16bad", c$ = "MenuBarItem__view_critical_02c76", d$ = {
20190
+ root: o$,
20191
+ icon: l$,
20192
+ view_base: u$,
20193
+ view_critical: c$
20194
+ }, f$ = {
20195
+ $style: d$
20196
+ }, h$ = /* @__PURE__ */ $e(i$, [["__cssModules", f$]]), p$ = /* @__PURE__ */ de({
20626
20197
  __name: "MenuBar",
20627
20198
  props: {
20628
20199
  list: {}
@@ -20640,7 +20211,7 @@ const lT = new L2(), cs = (t) => {
20640
20211
  X("div", {
20641
20212
  class: b(e.$style.group)
20642
20213
  }, [
20643
- (v(!0), S(De, null, Ve(n, (s) => (v(), se(f(Y$), tt({
20214
+ (v(!0), S(De, null, Ve(n, (s) => (v(), se(f(h$), tt({
20644
20215
  key: s.text,
20645
20216
  class: e.$style.item,
20646
20217
  ref_for: !0
@@ -20649,13 +20220,13 @@ const lT = new L2(), cs = (t) => {
20649
20220
  ], 64))), 128))
20650
20221
  ], 2));
20651
20222
  }
20652
- }), W$ = "MenuBar__root_33172", U$ = "MenuBar__divider_5912e", j$ = "MenuBar__group_62cf2", G$ = {
20653
- root: W$,
20654
- divider: U$,
20655
- group: j$
20656
- }, q$ = {
20657
- $style: G$
20658
- }, yT = /* @__PURE__ */ $e(H$, [["__cssModules", q$]]), X$ = /* @__PURE__ */ de({
20223
+ }), v$ = "MenuBar__root_33172", m$ = "MenuBar__divider_5912e", g$ = "MenuBar__group_62cf2", y$ = {
20224
+ root: v$,
20225
+ divider: m$,
20226
+ group: g$
20227
+ }, b$ = {
20228
+ $style: y$
20229
+ }, mT = /* @__PURE__ */ $e(p$, [["__cssModules", b$]]), _$ = /* @__PURE__ */ de({
20659
20230
  __name: "StepItem",
20660
20231
  props: {
20661
20232
  count: {},
@@ -20683,202 +20254,631 @@ const lT = new L2(), cs = (t) => {
20683
20254
  color: "foreground-layout-layout-1-primary"
20684
20255
  }, {
20685
20256
  default: H(() => [
20686
- Ce(be(e.text), 1)
20257
+ Ce(be(e.text), 1)
20258
+ ]),
20259
+ _: 1
20260
+ })
20261
+ ], 2));
20262
+ }
20263
+ }), w$ = "StepItem__root_66261", k$ = "StepItem__count_47dec", $$ = {
20264
+ root: w$,
20265
+ count: k$
20266
+ }, C$ = {
20267
+ $style: $$
20268
+ }, T$ = /* @__PURE__ */ $e(_$, [["__cssModules", C$]]), S$ = /* @__PURE__ */ de({
20269
+ __name: "Steps",
20270
+ props: {
20271
+ list: {}
20272
+ },
20273
+ setup(t) {
20274
+ return (e, a) => (v(), S("div", {
20275
+ class: b(e.$style.root)
20276
+ }, [
20277
+ (v(!0), S(De, null, Ve(e.list, (n, r) => (v(), se(f(T$), {
20278
+ count: r + 1,
20279
+ text: n
20280
+ }, null, 8, ["count", "text"]))), 256))
20281
+ ], 2));
20282
+ }
20283
+ }), M$ = "Steps__root_705db", D$ = {
20284
+ root: M$
20285
+ }, x$ = {
20286
+ $style: D$
20287
+ }, gT = /* @__PURE__ */ $e(S$, [["__cssModules", x$]]);
20288
+ function E$(t) {
20289
+ const e = document.createElement("textarea");
20290
+ e.value = t, e.setAttribute("readonly", ""), e.style.position = "absolute", e.style.left = "-9999px", document.body.appendChild(e);
20291
+ let a = !1;
20292
+ const n = document.getSelection();
20293
+ n && (a = n.rangeCount > 0 ? n.getRangeAt(0) : !1), e.select(), document.execCommand("copy"), document.body.removeChild(e), a && n && (n.removeAllRanges(), n.addRange(a));
20294
+ }
20295
+ function A$(t) {
20296
+ const e = ey();
20297
+ function a(n) {
20298
+ E$(n), e.show({
20299
+ title: (t == null ? void 0 : t.toasterText) ?? "Скопировано",
20300
+ view: "primary"
20301
+ });
20302
+ }
20303
+ return {
20304
+ copy: a
20305
+ };
20306
+ }
20307
+ const F$ = /* @__PURE__ */ de({
20308
+ __name: "Tooltip",
20309
+ props: {
20310
+ text: {},
20311
+ verticalAlign: { default: "top" },
20312
+ verticalOffset: { default: 4 }
20313
+ },
20314
+ setup(t) {
20315
+ const { isShowDropdown: e, setIsShowDropdown: a, triggerElementRef: n } = Ss();
20316
+ function r() {
20317
+ a(!0);
20318
+ }
20319
+ function s() {
20320
+ a(!1);
20321
+ }
20322
+ return (i, o) => (v(), S("div", {
20323
+ ref_key: "triggerElementRef",
20324
+ ref: n,
20325
+ class: b(i.$style.root),
20326
+ onMouseenter: r,
20327
+ onMouseleave: s
20328
+ }, [
20329
+ ue(i.$slots, "default"),
20330
+ K(f(Ms), {
20331
+ isShowDropdown: f(e),
20332
+ "onUpdate:isShowDropdown": o[0] || (o[0] = (l) => wn(e) ? e.value = l : null),
20333
+ "vertical-offset": i.verticalOffset,
20334
+ "horizontal-align": "center",
20335
+ "vertical-align": i.verticalAlign
20336
+ }, {
20337
+ default: H(({ align: l }) => [
20338
+ X("div", {
20339
+ class: b([i.$style.wrapper, i.$style[`position_${l.vertical}`]])
20340
+ }, [
20341
+ X("div", {
20342
+ class: b(i.$style.balloon)
20343
+ }, [
20344
+ K(f(Fe), {
20345
+ class: b(i.$style.text),
20346
+ name: "caption",
20347
+ color: "foreground-element-tooltip-primary"
20348
+ }, {
20349
+ default: H(() => [
20350
+ Ce(be(i.text), 1)
20351
+ ]),
20352
+ _: 1
20353
+ }, 8, ["class"])
20354
+ ], 2),
20355
+ (v(), S("svg", {
20356
+ class: b(i.$style.shape),
20357
+ width: "12",
20358
+ height: "4",
20359
+ viewBox: "0 0 12 4",
20360
+ fill: "none",
20361
+ xmlns: "http://www.w3.org/2000/svg"
20362
+ }, o[1] || (o[1] = [
20363
+ X("path", {
20364
+ d: "M4.58579 2.58579C5.36684 3.36684 6.63317 3.36683 7.41421 2.58579L8.82843 1.17157C9.57857 0.421426 10.596 0 11.6569 0H12H0H0.343146C1.40401 0 2.42143 0.421427 3.17157 1.17157L4.58579 2.58579Z",
20365
+ "fill-opacity": "0.9"
20366
+ }, null, -1)
20367
+ ]), 2))
20368
+ ], 2)
20369
+ ]),
20370
+ _: 1
20371
+ }, 8, ["isShowDropdown", "vertical-offset", "vertical-align"])
20372
+ ], 34));
20373
+ }
20374
+ }), O$ = "Tooltip__root_32cc0", I$ = "Tooltip__balloon_3d49f", B$ = "Tooltip__wrapper_81d05", P$ = "Tooltip__shape_d4585", R$ = "Tooltip__position_top_54246", L$ = "Tooltip__position_bottom_7e186", z$ = {
20375
+ root: O$,
20376
+ balloon: I$,
20377
+ wrapper: B$,
20378
+ shape: P$,
20379
+ position_top: R$,
20380
+ position_bottom: L$
20381
+ }, V$ = {
20382
+ $style: z$
20383
+ }, N$ = /* @__PURE__ */ $e(F$, [["__cssModules", V$]]), Y$ = /* @__PURE__ */ de({
20384
+ __name: "CellInfo",
20385
+ props: {
20386
+ label: {},
20387
+ value: {}
20388
+ },
20389
+ setup(t) {
20390
+ const { copy: e } = A$();
20391
+ return (a, n) => (v(), S("div", {
20392
+ class: b(a.$style.root),
20393
+ onClick: n[0] || (n[0] = (r) => f(e)(a.value))
20394
+ }, [
20395
+ K(f(N$), {
20396
+ class: b(a.$style.tooltip),
20397
+ text: "Нажмите, чтобы скопировать",
20398
+ "vertical-align": "bottom",
20399
+ "vertical-offset": "12"
20400
+ }, {
20401
+ default: H(() => [
20402
+ X("div", {
20403
+ class: b(a.$style.text)
20404
+ }, [
20405
+ K(f(Fe), {
20406
+ size: "subhead",
20407
+ color: "foreground-layout-layout-1-secondary"
20408
+ }, {
20409
+ default: H(() => [
20410
+ Ce(be(a.label), 1)
20411
+ ]),
20412
+ _: 1
20413
+ }),
20414
+ K(f(Fe), {
20415
+ size: "body",
20416
+ color: "foreground-layout-layout-1-primary"
20417
+ }, {
20418
+ default: H(() => [
20419
+ Ce(be(a.value), 1)
20420
+ ]),
20421
+ _: 1
20422
+ })
20423
+ ], 2),
20424
+ K(f(Qe), {
20425
+ class: b(a.$style.icon),
20426
+ size: "18",
20427
+ name: "outline-copy",
20428
+ color: "foreground-layout-layout-1-secondary"
20429
+ }, null, 8, ["class"])
20687
20430
  ]),
20688
20431
  _: 1
20689
- })
20432
+ }, 8, ["class"])
20690
20433
  ], 2));
20691
20434
  }
20692
- }), K$ = "StepItem__root_66261", Q$ = "StepItem__count_47dec", Z$ = {
20693
- root: K$,
20694
- count: Q$
20695
- }, J$ = {
20696
- $style: Z$
20697
- }, eC = /* @__PURE__ */ $e(X$, [["__cssModules", J$]]), tC = /* @__PURE__ */ de({
20698
- __name: "Steps",
20699
- props: {
20700
- list: {}
20701
- },
20702
- setup(t) {
20703
- return (e, a) => (v(), S("div", {
20704
- class: b(e.$style.root)
20705
- }, [
20706
- (v(!0), S(De, null, Ve(e.list, (n, r) => (v(), se(f(eC), {
20707
- count: r + 1,
20708
- text: n
20709
- }, null, 8, ["count", "text"]))), 256))
20710
- ], 2));
20435
+ }), H$ = "CellInfo__root_834a5", W$ = "CellInfo__tooltip_24d8f", U$ = "CellInfo__text_2f5c6", j$ = "CellInfo__icon_70c88", G$ = {
20436
+ root: H$,
20437
+ tooltip: W$,
20438
+ text: U$,
20439
+ icon: j$
20440
+ }, q$ = {
20441
+ $style: G$
20442
+ }, yT = /* @__PURE__ */ $e(Y$, [["__cssModules", q$]]), ju = /* @__PURE__ */ new Set(), jt = /* @__PURE__ */ new WeakMap(), Un = /* @__PURE__ */ new WeakMap(), $n = /* @__PURE__ */ new WeakMap(), Mi = /* @__PURE__ */ new WeakMap(), X$ = /* @__PURE__ */ new WeakMap(), jn = /* @__PURE__ */ new WeakMap(), us = /* @__PURE__ */ new WeakMap(), rr = /* @__PURE__ */ new WeakSet();
20443
+ let sn, ao = 0, no = 0;
20444
+ const Ia = "__aa_tgt", mr = "__aa_del", cs = "__aa_new", K$ = (t) => {
20445
+ const e = aC(t);
20446
+ e && e.forEach((a) => nC(a));
20447
+ }, Q$ = (t) => {
20448
+ t.forEach((e) => {
20449
+ e.target === sn && J$(), jt.has(e.target) && Tn(e.target);
20450
+ });
20451
+ };
20452
+ function Z$(t) {
20453
+ const e = Mi.get(t);
20454
+ e == null || e.disconnect();
20455
+ let a = jt.get(t), n = 0;
20456
+ const r = 5;
20457
+ a || (a = Gn(t), jt.set(t, a));
20458
+ const { offsetWidth: s, offsetHeight: i } = sn, l = [
20459
+ a.top - r,
20460
+ s - (a.left + r + a.width),
20461
+ i - (a.top + r + a.height),
20462
+ a.left - r
20463
+ ].map((d) => `${-1 * Math.floor(d)}px`).join(" "), u = new IntersectionObserver(() => {
20464
+ ++n > 1 && Tn(t);
20465
+ }, {
20466
+ root: sn,
20467
+ threshold: 1,
20468
+ rootMargin: l
20469
+ });
20470
+ u.observe(t), Mi.set(t, u);
20471
+ }
20472
+ function Tn(t) {
20473
+ clearTimeout(us.get(t));
20474
+ const e = Fs(t), a = gr(e) ? 500 : e.duration;
20475
+ us.set(t, setTimeout(async () => {
20476
+ const n = $n.get(t);
20477
+ try {
20478
+ await (n == null ? void 0 : n.finished), jt.set(t, Gn(t)), Z$(t);
20479
+ } catch {
20480
+ }
20481
+ }, a));
20482
+ }
20483
+ function J$() {
20484
+ clearTimeout(us.get(sn)), us.set(sn, setTimeout(() => {
20485
+ ju.forEach((t) => Xu(t, (e) => Gu(() => Tn(e))));
20486
+ }, 100));
20487
+ }
20488
+ function eC(t) {
20489
+ setTimeout(() => {
20490
+ X$.set(t, setInterval(() => Gu(Tn.bind(null, t)), 2e3));
20491
+ }, Math.round(2e3 * Math.random()));
20492
+ }
20493
+ function Gu(t) {
20494
+ typeof requestIdleCallback == "function" ? requestIdleCallback(() => t()) : requestAnimationFrame(() => t());
20495
+ }
20496
+ let Di, In;
20497
+ const tC = typeof window < "u" && "ResizeObserver" in window;
20498
+ tC && (sn = document.documentElement, Di = new MutationObserver(K$), In = new ResizeObserver(Q$), window.addEventListener("scroll", () => {
20499
+ no = window.scrollY, ao = window.scrollX;
20500
+ }), In.observe(sn));
20501
+ function aC(t) {
20502
+ return t.reduce((n, r) => [
20503
+ ...n,
20504
+ ...Array.from(r.addedNodes),
20505
+ ...Array.from(r.removedNodes)
20506
+ ], []).every((n) => n.nodeName === "#comment") ? !1 : t.reduce((n, r) => {
20507
+ if (n === !1)
20508
+ return !1;
20509
+ if (r.target instanceof Element) {
20510
+ if (ci(r.target), !n.has(r.target)) {
20511
+ n.add(r.target);
20512
+ for (let s = 0; s < r.target.children.length; s++) {
20513
+ const i = r.target.children.item(s);
20514
+ if (i) {
20515
+ if (mr in i)
20516
+ return !1;
20517
+ ci(r.target, i), n.add(i);
20518
+ }
20519
+ }
20520
+ }
20521
+ if (r.removedNodes.length)
20522
+ for (let s = 0; s < r.removedNodes.length; s++) {
20523
+ const i = r.removedNodes[s];
20524
+ if (mr in i)
20525
+ return !1;
20526
+ i instanceof Element && (n.add(i), ci(r.target, i), Un.set(i, [
20527
+ r.previousSibling,
20528
+ r.nextSibling
20529
+ ]));
20530
+ }
20531
+ }
20532
+ return n;
20533
+ }, /* @__PURE__ */ new Set());
20534
+ }
20535
+ function ci(t, e) {
20536
+ !e && !(Ia in t) ? Object.defineProperty(t, Ia, { value: t }) : e && !(Ia in e) && Object.defineProperty(e, Ia, { value: t });
20537
+ }
20538
+ function nC(t) {
20539
+ var e;
20540
+ const a = t.isConnected, n = jt.has(t);
20541
+ a && Un.has(t) && Un.delete(t), $n.has(t) && ((e = $n.get(t)) === null || e === void 0 || e.cancel()), cs in t ? Jo(t) : n && a ? sC(t) : n && !a ? iC(t) : Jo(t);
20542
+ }
20543
+ function ya(t) {
20544
+ return Number(t.replace(/[^0-9.\-]/g, ""));
20545
+ }
20546
+ function rC(t) {
20547
+ let e = t.parentElement;
20548
+ for (; e; ) {
20549
+ if (e.scrollLeft || e.scrollTop)
20550
+ return { x: e.scrollLeft, y: e.scrollTop };
20551
+ e = e.parentElement;
20552
+ }
20553
+ return { x: 0, y: 0 };
20554
+ }
20555
+ function Gn(t) {
20556
+ const e = t.getBoundingClientRect(), { x: a, y: n } = rC(t);
20557
+ return {
20558
+ top: e.top + n,
20559
+ left: e.left + a,
20560
+ width: e.width,
20561
+ height: e.height
20562
+ };
20563
+ }
20564
+ function ro(t, e, a) {
20565
+ let n = e.width, r = e.height, s = a.width, i = a.height;
20566
+ const o = getComputedStyle(t);
20567
+ if (o.getPropertyValue("box-sizing") === "content-box") {
20568
+ const u = ya(o.paddingTop) + ya(o.paddingBottom) + ya(o.borderTopWidth) + ya(o.borderBottomWidth), d = ya(o.paddingLeft) + ya(o.paddingRight) + ya(o.borderRightWidth) + ya(o.borderLeftWidth);
20569
+ n -= d, s -= d, r -= u, i -= u;
20570
+ }
20571
+ return [n, s, r, i].map(Math.round);
20572
+ }
20573
+ function Fs(t) {
20574
+ return Ia in t && jn.has(t[Ia]) ? jn.get(t[Ia]) : { duration: 250, easing: "ease-in-out" };
20575
+ }
20576
+ function qu(t) {
20577
+ if (Ia in t)
20578
+ return t[Ia];
20579
+ }
20580
+ function so(t) {
20581
+ const e = qu(t);
20582
+ return e ? rr.has(e) : !1;
20583
+ }
20584
+ function Xu(t, ...e) {
20585
+ e.forEach((a) => a(t, jn.has(t)));
20586
+ for (let a = 0; a < t.children.length; a++) {
20587
+ const n = t.children.item(a);
20588
+ n && e.forEach((r) => r(n, jn.has(n)));
20589
+ }
20590
+ }
20591
+ function io(t) {
20592
+ return Array.isArray(t) ? t : [t];
20593
+ }
20594
+ function gr(t) {
20595
+ return typeof t == "function";
20596
+ }
20597
+ function sC(t) {
20598
+ const e = jt.get(t), a = Gn(t);
20599
+ if (!so(t))
20600
+ return jt.set(t, a);
20601
+ let n;
20602
+ if (!e)
20603
+ return;
20604
+ const r = Fs(t);
20605
+ if (typeof r != "function") {
20606
+ const s = e.left - a.left, i = e.top - a.top, [o, l, u, d] = ro(t, e, a), c = {
20607
+ transform: `translate(${s}px, ${i}px)`
20608
+ }, h = {
20609
+ transform: "translate(0, 0)"
20610
+ };
20611
+ o !== l && (c.width = `${o}px`, h.width = `${l}px`), u !== d && (c.height = `${u}px`, h.height = `${d}px`), n = t.animate([c, h], {
20612
+ duration: r.duration,
20613
+ easing: r.easing
20614
+ });
20615
+ } else {
20616
+ const [s] = io(r(t, "remain", e, a));
20617
+ n = new Animation(s), n.play();
20618
+ }
20619
+ $n.set(t, n), jt.set(t, a), n.addEventListener("finish", Tn.bind(null, t));
20620
+ }
20621
+ function Jo(t) {
20622
+ cs in t && delete t[cs];
20623
+ const e = Gn(t);
20624
+ jt.set(t, e);
20625
+ const a = Fs(t);
20626
+ if (!so(t))
20627
+ return;
20628
+ let n;
20629
+ if (typeof a != "function")
20630
+ n = t.animate([
20631
+ { transform: "scale(.98)", opacity: 0 },
20632
+ { transform: "scale(0.98)", opacity: 0, offset: 0.5 },
20633
+ { transform: "scale(1)", opacity: 1 }
20634
+ ], {
20635
+ duration: a.duration * 1.5,
20636
+ easing: "ease-in"
20637
+ });
20638
+ else {
20639
+ const [r] = io(a(t, "add", e));
20640
+ n = new Animation(r), n.play();
20641
+ }
20642
+ $n.set(t, n), n.addEventListener("finish", Tn.bind(null, t));
20643
+ }
20644
+ function el(t, e) {
20645
+ var a;
20646
+ t.remove(), jt.delete(t), Un.delete(t), $n.delete(t), (a = Mi.get(t)) === null || a === void 0 || a.disconnect(), setTimeout(() => {
20647
+ if (mr in t && delete t[mr], Object.defineProperty(t, cs, { value: !0, configurable: !0 }), e && t instanceof HTMLElement)
20648
+ for (const n in e)
20649
+ t.style[n] = "";
20650
+ }, 0);
20651
+ }
20652
+ function iC(t) {
20653
+ var e;
20654
+ if (!Un.has(t) || !jt.has(t))
20655
+ return;
20656
+ const [a, n] = Un.get(t);
20657
+ Object.defineProperty(t, mr, { value: !0, configurable: !0 });
20658
+ const r = window.scrollX, s = window.scrollY;
20659
+ if (n && n.parentNode && n.parentNode instanceof Element ? n.parentNode.insertBefore(t, n) : a && a.parentNode ? a.parentNode.appendChild(t) : (e = qu(t)) === null || e === void 0 || e.appendChild(t), !so(t))
20660
+ return el(t);
20661
+ const [i, o, l, u] = lC(t), d = Fs(t), c = jt.get(t);
20662
+ (r !== ao || s !== no) && oC(t, r, s, d);
20663
+ let h, g = {
20664
+ position: "absolute",
20665
+ top: `${i}px`,
20666
+ left: `${o}px`,
20667
+ width: `${l}px`,
20668
+ height: `${u}px`,
20669
+ margin: "0",
20670
+ pointerEvents: "none",
20671
+ transformOrigin: "center",
20672
+ zIndex: "100"
20673
+ };
20674
+ if (!gr(d))
20675
+ Object.assign(t.style, g), h = t.animate([
20676
+ {
20677
+ transform: "scale(1)",
20678
+ opacity: 1
20679
+ },
20680
+ {
20681
+ transform: "scale(.98)",
20682
+ opacity: 0
20683
+ }
20684
+ ], { duration: d.duration, easing: "ease-out" });
20685
+ else {
20686
+ const [m, y] = io(d(t, "remove", c));
20687
+ (y == null ? void 0 : y.styleReset) !== !1 && (g = (y == null ? void 0 : y.styleReset) || g, Object.assign(t.style, g)), h = new Animation(m), h.play();
20711
20688
  }
20712
- }), aC = "Steps__root_705db", nC = {
20713
- root: aC
20714
- }, rC = {
20715
- $style: nC
20716
- }, bT = /* @__PURE__ */ $e(tC, [["__cssModules", rC]]);
20717
- function sC(t) {
20718
- const e = document.createElement("textarea");
20719
- e.value = t, e.setAttribute("readonly", ""), e.style.position = "absolute", e.style.left = "-9999px", document.body.appendChild(e);
20720
- let a = !1;
20721
- const n = document.getSelection();
20722
- n && (a = n.rangeCount > 0 ? n.getRangeAt(0) : !1), e.select(), document.execCommand("copy"), document.body.removeChild(e), a && n && (n.removeAllRanges(), n.addRange(a));
20689
+ $n.set(t, h), h.addEventListener("finish", el.bind(null, t, g));
20723
20690
  }
20724
- function iC(t) {
20725
- const e = ey();
20726
- function a(n) {
20727
- sC(n), e.show({
20728
- title: (t == null ? void 0 : t.toasterText) ?? "Скопировано",
20729
- view: "primary"
20691
+ function oC(t, e, a, n) {
20692
+ const r = ao - e, s = no - a, i = document.documentElement.style.scrollBehavior;
20693
+ if (getComputedStyle(sn).scrollBehavior === "smooth" && (document.documentElement.style.scrollBehavior = "auto"), window.scrollTo(window.scrollX + r, window.scrollY + s), !t.parentElement)
20694
+ return;
20695
+ const l = t.parentElement;
20696
+ let u = l.clientHeight, d = l.clientWidth;
20697
+ const c = performance.now();
20698
+ function h() {
20699
+ requestAnimationFrame(() => {
20700
+ if (!gr(n)) {
20701
+ const g = u - l.clientHeight, m = d - l.clientWidth;
20702
+ c + n.duration > performance.now() ? (window.scrollTo({
20703
+ left: window.scrollX - m,
20704
+ top: window.scrollY - g
20705
+ }), u = l.clientHeight, d = l.clientWidth, h()) : document.documentElement.style.scrollBehavior = i;
20706
+ }
20730
20707
  });
20731
20708
  }
20732
- return {
20733
- copy: a
20734
- };
20709
+ h();
20735
20710
  }
20736
- const oC = /* @__PURE__ */ de({
20737
- __name: "Tooltip",
20711
+ function lC(t) {
20712
+ const e = jt.get(t), [a, , n] = ro(t, e, Gn(t));
20713
+ let r = t.parentElement;
20714
+ for (; r && (getComputedStyle(r).position === "static" || r instanceof HTMLBodyElement); )
20715
+ r = r.parentElement;
20716
+ r || (r = document.body);
20717
+ const s = getComputedStyle(r), i = jt.get(r) || Gn(r), o = Math.round(e.top - i.top) - ya(s.borderTopWidth), l = Math.round(e.left - i.left) - ya(s.borderLeftWidth);
20718
+ return [o, l, a, n];
20719
+ }
20720
+ function uC(t, e = {}) {
20721
+ return Di && In && (window.matchMedia("(prefers-reduced-motion: reduce)").matches && !gr(e) && !e.disrespectUserMotionPreference || (rr.add(t), getComputedStyle(t).position === "static" && Object.assign(t.style, { position: "relative" }), Xu(t, Tn, eC, (r) => In == null ? void 0 : In.observe(r)), gr(e) ? jn.set(t, e) : jn.set(t, { duration: 250, easing: "ease-in-out", ...e }), Di.observe(t, { childList: !0 }), ju.add(t))), Object.freeze({
20722
+ parent: t,
20723
+ enable: () => {
20724
+ rr.add(t);
20725
+ },
20726
+ disable: () => {
20727
+ rr.delete(t);
20728
+ },
20729
+ isEnabled: () => rr.has(t)
20730
+ });
20731
+ }
20732
+ const cC = /* @__PURE__ */ de({
20733
+ __name: "AnimationFadeBlur",
20738
20734
  props: {
20739
- text: {},
20740
- verticalAlign: { default: "top" },
20741
- verticalOffset: { default: 4 }
20735
+ isHeight: { type: Boolean, default: !1 },
20736
+ duration: { default: 300 }
20742
20737
  },
20743
20738
  setup(t) {
20744
- const { isShowDropdown: e, setIsShowDropdown: a, triggerElementRef: n } = Ss();
20745
- function r() {
20746
- a(!0);
20747
- }
20748
- function s() {
20749
- a(!1);
20750
- }
20751
- return (i, o) => (v(), S("div", {
20752
- ref_key: "triggerElementRef",
20753
- ref: n,
20754
- class: b(i.$style.root),
20755
- onMouseenter: r,
20756
- onMouseleave: s
20739
+ const e = W(null);
20740
+ return ot(
20741
+ () => uC(e.value, (a, n, r, s) => {
20742
+ let i;
20743
+ if (n === "add" && (i = [
20744
+ { opacity: 0, filter: "blur(5px)" },
20745
+ { opacity: 1, filter: "blur(0px)" }
20746
+ ]), n === "remove" && (i = [
20747
+ { opacity: 1, filter: "blur(0px)" },
20748
+ { opacity: 0, filter: "blur(5px)" }
20749
+ ]), n === "remain") {
20750
+ const o = r.left - s.left, l = r.top - s.top, [, , u, d] = ro(
20751
+ a,
20752
+ r,
20753
+ s
20754
+ ), c = {
20755
+ ...t.isHeight && {
20756
+ transform: `translate(${o}px, ${l}px)`
20757
+ },
20758
+ filter: "blur(5px)"
20759
+ }, h = {
20760
+ ...t.isHeight && {
20761
+ transform: "translate(0, 0)"
20762
+ },
20763
+ filter: "blur(0px)"
20764
+ };
20765
+ t.isHeight && u !== d && (c.height = `${u}px`, h.height = `${d}px`), i = [c, h];
20766
+ }
20767
+ return new KeyframeEffect(a, i, {
20768
+ duration: Number(t.duration),
20769
+ easing: "ease-out",
20770
+ fill: "both"
20771
+ });
20772
+ })
20773
+ ), (a, n) => (v(), S("div", {
20774
+ ref_key: "containerRef",
20775
+ ref: e,
20776
+ class: b(a.$style.root)
20757
20777
  }, [
20758
- ue(i.$slots, "default"),
20759
- K(f(Ms), {
20760
- isShowDropdown: f(e),
20761
- "onUpdate:isShowDropdown": o[0] || (o[0] = (l) => wn(e) ? e.value = l : null),
20762
- "vertical-offset": i.verticalOffset,
20763
- "horizontal-align": "center",
20764
- "vertical-align": i.verticalAlign
20765
- }, {
20766
- default: H(({ align: l }) => [
20767
- X("div", {
20768
- class: b([i.$style.wrapper, i.$style[`position_${l.vertical}`]])
20769
- }, [
20770
- X("div", {
20771
- class: b(i.$style.balloon)
20772
- }, [
20773
- K(f(Fe), {
20774
- class: b(i.$style.text),
20775
- name: "caption",
20776
- color: "foreground-element-tooltip-primary"
20777
- }, {
20778
- default: H(() => [
20779
- Ce(be(i.text), 1)
20780
- ]),
20781
- _: 1
20782
- }, 8, ["class"])
20783
- ], 2),
20784
- (v(), S("svg", {
20785
- class: b(i.$style.shape),
20786
- width: "12",
20787
- height: "4",
20788
- viewBox: "0 0 12 4",
20789
- fill: "none",
20790
- xmlns: "http://www.w3.org/2000/svg"
20791
- }, o[1] || (o[1] = [
20792
- X("path", {
20793
- d: "M4.58579 2.58579C5.36684 3.36684 6.63317 3.36683 7.41421 2.58579L8.82843 1.17157C9.57857 0.421426 10.596 0 11.6569 0H12H0H0.343146C1.40401 0 2.42143 0.421427 3.17157 1.17157L4.58579 2.58579Z",
20794
- "fill-opacity": "0.9"
20795
- }, null, -1)
20796
- ]), 2))
20797
- ], 2)
20798
- ]),
20799
- _: 1
20800
- }, 8, ["isShowDropdown", "vertical-offset", "vertical-align"])
20801
- ], 34));
20778
+ ue(a.$slots, "default")
20779
+ ], 2));
20802
20780
  }
20803
- }), lC = "Tooltip__root_32cc0", uC = "Tooltip__balloon_3d49f", cC = "Tooltip__wrapper_81d05", dC = "Tooltip__shape_d4585", fC = "Tooltip__position_top_54246", hC = "Tooltip__position_bottom_7e186", pC = {
20804
- root: lC,
20805
- balloon: uC,
20806
- wrapper: cC,
20807
- shape: dC,
20808
- position_top: fC,
20809
- position_bottom: hC
20810
- }, vC = {
20811
- $style: pC
20812
- }, mC = /* @__PURE__ */ $e(oC, [["__cssModules", vC]]), gC = /* @__PURE__ */ de({
20813
- __name: "CellInfo",
20781
+ }), dC = {}, fC = {
20782
+ $style: dC
20783
+ }, hC = /* @__PURE__ */ $e(cC, [["__cssModules", fC]]), pC = /* @__PURE__ */ de({
20784
+ __name: "Table",
20814
20785
  props: {
20815
- label: {},
20816
- value: {}
20786
+ headers: {},
20787
+ gridTemplateColumns: { default: "repeat(3, 1fr)" },
20788
+ list: {},
20789
+ isLoading: { type: Boolean, default: !1 },
20790
+ extractKey: { type: Function },
20791
+ reRenderKey: {}
20817
20792
  },
20818
20793
  setup(t) {
20819
- const { copy: e } = iC();
20794
+ const e = B(() => JSON.stringify(t.list));
20820
20795
  return (a, n) => (v(), S("div", {
20821
20796
  class: b(a.$style.root),
20822
- onClick: n[0] || (n[0] = (r) => f(e)(a.value))
20797
+ style: He({ "--grid-template-columns": a.gridTemplateColumns })
20823
20798
  }, [
20824
- K(f(mC), {
20825
- class: b(a.$style.tooltip),
20826
- text: "Нажмите, чтобы скопировать",
20827
- "vertical-align": "bottom",
20828
- "vertical-offset": "12"
20829
- }, {
20799
+ X("div", {
20800
+ class: b(a.$style.header)
20801
+ }, [
20802
+ (v(!0), S(De, null, Ve(a.headers, (r) => (v(), S("div", { key: r }, [
20803
+ K(f(Fe), {
20804
+ class: b(a.$style.headerText),
20805
+ size: "caption",
20806
+ weight: "regular",
20807
+ color: "foreground-layout-layout-1-secondary"
20808
+ }, {
20809
+ default: H(() => [
20810
+ Ce(be(r), 1)
20811
+ ]),
20812
+ _: 2
20813
+ }, 1032, ["class"])
20814
+ ]))), 128)),
20815
+ K(f(Bi), {
20816
+ size: "s",
20817
+ class: b(a.$style.divider)
20818
+ }, null, 8, ["class"])
20819
+ ], 2),
20820
+ K(f(hC), null, {
20830
20821
  default: H(() => [
20831
- X("div", {
20832
- class: b(a.$style.text)
20822
+ a.isLoading ? (v(), S("div", {
20823
+ key: "skeleton",
20824
+ class: b([a.$style.body, a.$style.skeleton])
20833
20825
  }, [
20834
- K(f(Fe), {
20835
- size: "subhead",
20836
- color: "foreground-layout-layout-1-secondary"
20837
- }, {
20838
- default: H(() => [
20839
- Ce(be(a.label), 1)
20840
- ]),
20841
- _: 1
20842
- }),
20843
- K(f(Fe), {
20844
- size: "body",
20845
- color: "foreground-layout-layout-1-primary"
20846
- }, {
20826
+ K(f(rg), null, {
20847
20827
  default: H(() => [
20848
- Ce(be(a.value), 1)
20828
+ (v(), S(De, null, Ve(6, (r) => ue(a.$slots, "renderSkeletonRow", { key: r })), 64))
20849
20829
  ]),
20850
- _: 1
20830
+ _: 3
20851
20831
  })
20852
- ], 2),
20853
- K(f(Qe), {
20854
- class: b(a.$style.icon),
20855
- size: "18",
20856
- name: "outline-copy",
20857
- color: "foreground-layout-layout-1-secondary"
20858
- }, null, 8, ["class"])
20832
+ ], 2)) : a.list.length ? (v(), S("div", {
20833
+ key: `content-${e.value}-${a.reRenderKey}`,
20834
+ class: b(a.$style.body)
20835
+ }, [
20836
+ (v(!0), S(De, null, Ve(a.list, (r, s) => ue(a.$slots, "renderTableRow", {
20837
+ item: r,
20838
+ index: s
20839
+ })), 256))
20840
+ ], 2)) : (v(), S("div", {
20841
+ key: 2,
20842
+ class: b(a.$style.empty)
20843
+ }, [
20844
+ ue(a.$slots, "renderEmpty")
20845
+ ], 2))
20859
20846
  ]),
20860
- _: 1
20861
- }, 8, ["class"])
20847
+ _: 3
20848
+ })
20849
+ ], 6));
20850
+ }
20851
+ }), vC = "Table__root_597c1", mC = "Table__header_9967a", gC = "Table__row_1749f", yC = "Table__divider_fe573", bC = "Table__skeleton_bdbfb", _C = "Table__empty_24f80", Ku = {
20852
+ root: vC,
20853
+ header: mC,
20854
+ row: gC,
20855
+ divider: yC,
20856
+ skeleton: bC,
20857
+ empty: _C
20858
+ }, wC = {
20859
+ $style: Ku
20860
+ }, bT = /* @__PURE__ */ $e(pC, [["__cssModules", wC]]), kC = /* @__PURE__ */ de({
20861
+ __name: "TableRow",
20862
+ setup(t) {
20863
+ return (e, a) => (v(), S("div", {
20864
+ class: b(e.$style.row)
20865
+ }, [
20866
+ ue(e.$slots, "default")
20862
20867
  ], 2));
20863
20868
  }
20864
- }), yC = "CellInfo__root_834a5", bC = "CellInfo__tooltip_24d8f", _C = "CellInfo__text_2f5c6", wC = "CellInfo__icon_70c88", kC = {
20865
- root: yC,
20866
- tooltip: bC,
20867
- text: _C,
20868
- icon: wC
20869
- }, $C = {
20870
- $style: kC
20871
- }, _T = /* @__PURE__ */ $e(gC, [["__cssModules", $C]]), wT = {
20869
+ }), $C = {
20870
+ $style: Ku
20871
+ }, _T = /* @__PURE__ */ $e(kC, [["__cssModules", $C]]), wT = {
20872
20872
  KGS: "KGS"
20873
20873
  };
20874
20874
  export {
20875
- r2 as AnimationFadeBlur,
20876
- gT as Avatar,
20875
+ hC as AnimationFadeBlur,
20876
+ vT as Avatar,
20877
20877
  Ic as Badge,
20878
20878
  SC as BadgeSkeleton,
20879
20879
  MC as BannerOffer,
20880
20880
  DC as BannerOfferSkeleton,
20881
- vT as Breadcrumbs,
20881
+ hT as Breadcrumbs,
20882
20882
  Ra as Button,
20883
20883
  zr as ButtonIcon,
20884
20884
  AC as ButtonIconSkeleton,
@@ -20887,7 +20887,7 @@ export {
20887
20887
  FC as CardContentList,
20888
20888
  OC as CardContentListSkeleton,
20889
20889
  Of as CardContentSkeleton,
20890
- _T as CellInfo,
20890
+ yT as CellInfo,
20891
20891
  Z1 as Checkbox,
20892
20892
  $k as CheckboxGroupFilterChip,
20893
20893
  zu as CheckboxGroupFilterView,
@@ -20916,8 +20916,8 @@ export {
20916
20916
  VC as Link,
20917
20917
  NC as ListHeader,
20918
20918
  ps as Loader,
20919
- yT as MenuBar,
20920
- Y$ as MenuBarItem,
20919
+ mT as MenuBar,
20920
+ h$ as MenuBarItem,
20921
20921
  YC as ModalConfirmation,
20922
20922
  HC as Price,
20923
20923
  Mm as ResponseBase,
@@ -20925,20 +20925,20 @@ export {
20925
20925
  jC as Select,
20926
20926
  Vl as SelectBase,
20927
20927
  rg as SkeletonWrapper,
20928
- uT as StatusSelect,
20929
- cT as StatusSelectSkeleton,
20930
- eC as StepItem,
20931
- bT as Steps,
20932
- rT as Table,
20933
- sT as TableRow,
20928
+ oT as StatusSelect,
20929
+ lT as StatusSelectSkeleton,
20930
+ T$ as StepItem,
20931
+ gT as Steps,
20932
+ bT as Table,
20933
+ _T as TableRow,
20934
20934
  qC as Tabs,
20935
20935
  wr as TheImage,
20936
20936
  Fe as TheText,
20937
20937
  Kr as TheTextSkeleton,
20938
- hT as ThemePicker,
20939
- pT as ThemePickerSkeleton,
20940
- ju as ToastServiceKey,
20941
- oT as Toaster,
20938
+ dT as ThemePicker,
20939
+ fT as ThemePickerSkeleton,
20940
+ Nu as ToastServiceKey,
20941
+ sT as Toaster,
20942
20942
  aT as ToasterProvider,
20943
20943
  cl as Toggle,
20944
20944
  Pa as TransitionFade,
@@ -20948,19 +20948,19 @@ export {
20948
20948
  JC as TransitionSlideRight,
20949
20949
  KC as UserRow,
20950
20950
  QC as UserRowSkeleton,
20951
- mT as VerificationInfoCell,
20951
+ pT as VerificationInfoCell,
20952
20952
  xC as iconNames,
20953
20953
  Y1 as isCheckboxGroupFilterValue,
20954
20954
  H1 as isDatepickerFilterValue,
20955
- lT as spriteService,
20956
- iT as toastService,
20957
- iC as useCopyToBuffer,
20955
+ iT as spriteService,
20956
+ rT as toastService,
20957
+ A$ as useCopyToBuffer,
20958
20958
  Ss as useDropdown,
20959
20959
  Rh as useDropdownAnimation,
20960
20960
  tT as useDropdownElementInject,
20961
20961
  pp as useDynamicVisibleArea,
20962
20962
  PC as useDynamicVisibleAreaInject,
20963
- fT as useGlobalConfig,
20964
- dT as useGlobalConfigProvide,
20963
+ cT as useGlobalConfig,
20964
+ uT as useGlobalConfigProvide,
20965
20965
  ey as useToaster
20966
20966
  };