@sesamehr/react-design-system 3.7.0 → 3.7.1
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/Forms/Inputs/RichTextEditor/commands.d.ts +11 -4
- package/dist/Forms/Inputs/RichTextEditor/extensions.d.ts +58 -15
- package/dist/Forms/Inputs/RichTextEditor/index.d.ts +1 -1
- package/dist/Forms/Inputs/RichTextEditor/useRichTextAdapter.d.ts +24 -4
- package/dist/main.d.ts +1 -1
- package/dist/react-design-system.js +792 -775
- package/dist/react-design-system.umd.cjs +12 -12
- package/package.json +18 -8
|
@@ -5512,7 +5512,7 @@ const Bn = `<svg width="1.2em" height="1.2em" stroke-color="currentColor" xmlns=
|
|
|
5512
5512
|
])
|
|
5513
5513
|
), J0 = Object.fromEntries(
|
|
5514
5514
|
Object.entries(aT).map(([e, t]) => [sT(e), t.default])
|
|
5515
|
-
),
|
|
5515
|
+
), WQ = Object.fromEntries(
|
|
5516
5516
|
Object.entries(J0).map(([e, t]) => [e, iT(t)])
|
|
5517
5517
|
), lT = J0.en ?? {}, Q0 = Te(void 0), cT = (e, t) => t ? e.replace(
|
|
5518
5518
|
/\{(\w+)\}/g,
|
|
@@ -8009,7 +8009,7 @@ var qE = Object.defineProperty, ko = (e, t) => qE(e, "name", { value: t, configu
|
|
|
8009
8009
|
}
|
|
8010
8010
|
);
|
|
8011
8011
|
}, "PopperAnchor")
|
|
8012
|
-
), Zv = "PopperContent", [JE,
|
|
8012
|
+
), Zv = "PopperContent", [JE, GQ] = Kv(Zv), QE = /* @__PURE__ */ x.forwardRef(
|
|
8013
8013
|
/* @__PURE__ */ ko(function(t, n) {
|
|
8014
8014
|
var Q, J, se, Z, ae, Se, Le;
|
|
8015
8015
|
const {
|
|
@@ -9560,7 +9560,7 @@ function oa(e) {
|
|
|
9560
9560
|
return (t) => t.pointerType === "mouse" ? e(t) : void 0;
|
|
9561
9561
|
}
|
|
9562
9562
|
Fe(oa, "whenMouse");
|
|
9563
|
-
var NR = dR, $R = kb, FR = pR, LR = mR, zR = Ob, BR = bR, HR = xp, VR = yR, WR = SR, GR = TR, jR = kR, UR = RR, qR = OR, YR = DR, KR = AR, XR = Object.defineProperty, Ot = (e, t) => XR(e, "name", { value: t, configurable: !0 }), bp = "DropdownMenu", [ZR,
|
|
9563
|
+
var NR = dR, $R = kb, FR = pR, LR = mR, zR = Ob, BR = bR, HR = xp, VR = yR, WR = SR, GR = TR, jR = kR, UR = RR, qR = OR, YR = DR, KR = AR, XR = Object.defineProperty, Ot = (e, t) => XR(e, "name", { value: t, configurable: !0 }), bp = "DropdownMenu", [ZR, jQ] = /* @__PURE__ */ an(
|
|
9564
9564
|
bp,
|
|
9565
9565
|
[Pb]
|
|
9566
9566
|
), Dt = Pb(), [JR, Vb] = ZR(bp), QR = /* @__PURE__ */ Ot((e) => {
|
|
@@ -14411,7 +14411,7 @@ const iy = {
|
|
|
14411
14411
|
* spins through 6-9 on the way round.
|
|
14412
14412
|
*/
|
|
14413
14413
|
time: { format: { minimumIntegerDigits: 2 }, digits: { 1: { max: 5 } } }
|
|
14414
|
-
}, WM = (e = "number") => typeof e == "string" ? iy[e] : e,
|
|
14414
|
+
}, WM = (e = "number") => typeof e == "string" ? iy[e] : e, YQ = Object.keys(iy), GM = "_oxPixelArt_1euxk_2", jM = "_oxPixelArtBlank_1euxk_2", UM = "_oxPixelArtPixel_1euxk_2", $u = {
|
|
14415
14415
|
oxPixelArt: GM,
|
|
14416
14416
|
oxPixelArtBlank: jM,
|
|
14417
14417
|
oxPixelArtPixel: UM
|
|
@@ -15244,7 +15244,7 @@ const D4 = { 8: 128, 16: 32768 }, M4 = "Expected either a `number[]` of magnitud
|
|
|
15244
15244
|
s.push(N4(l / t));
|
|
15245
15245
|
}
|
|
15246
15246
|
return s;
|
|
15247
|
-
},
|
|
15247
|
+
}, KQ = (e) => {
|
|
15248
15248
|
if (Array.isArray(e)) return $4(e);
|
|
15249
15249
|
if (typeof e == "object" && e !== null && Array.isArray(e.data))
|
|
15250
15250
|
return F4(e);
|
|
@@ -15468,7 +15468,7 @@ const Z4 = "[OxRichText] The HTML sanitiser could not be loaded, so nothing was
|
|
|
15468
15468
|
}
|
|
15469
15469
|
);
|
|
15470
15470
|
dy.displayName = "OxRichText";
|
|
15471
|
-
const
|
|
15471
|
+
const XQ = {
|
|
15472
15472
|
nodes: [
|
|
15473
15473
|
"doc",
|
|
15474
15474
|
"text",
|
|
@@ -16339,7 +16339,7 @@ const un = {
|
|
|
16339
16339
|
}
|
|
16340
16340
|
);
|
|
16341
16341
|
my.displayName = "OxLoader";
|
|
16342
|
-
var QA = Object.defineProperty, go = (e, t) => QA(e, "name", { value: t, configurable: !0 }), gy = "Progress", Bp = 100, [e6,
|
|
16342
|
+
var QA = Object.defineProperty, go = (e, t) => QA(e, "name", { value: t, configurable: !0 }), gy = "Progress", Bp = 100, [e6, ZQ] = /* @__PURE__ */ an(gy), [t6, n6] = e6(gy), o6 = /* @__PURE__ */ x.forwardRef(
|
|
16343
16343
|
// blank line to reduce diff noise
|
|
16344
16344
|
/* @__PURE__ */ go(function(t, n) {
|
|
16345
16345
|
const {
|
|
@@ -16857,7 +16857,7 @@ var O6 = Object.defineProperty, Kt = (e, t) => O6(e, "name", { value: t, configu
|
|
|
16857
16857
|
children: n
|
|
16858
16858
|
}
|
|
16859
16859
|
);
|
|
16860
|
-
}, "Dialog"), M6 = "DialogTrigger",
|
|
16860
|
+
}, "Dialog"), M6 = "DialogTrigger", JQ = /* @__PURE__ */ x.forwardRef(
|
|
16861
16861
|
/* @__PURE__ */ Kt(function(t, n) {
|
|
16862
16862
|
const { __scopeDialog: o, ...r } = t, a = Sn(M6, o), s = Qe(n, a.triggerRef);
|
|
16863
16863
|
return /* @__PURE__ */ p(
|
|
@@ -17631,7 +17631,7 @@ var GN = Object.defineProperty, Pn = (e, t) => GN(e, "name", { value: t, configu
|
|
|
17631
17631
|
}
|
|
17632
17632
|
);
|
|
17633
17633
|
}, "PopoverContentImpl")
|
|
17634
|
-
), r5 = "PopoverClose",
|
|
17634
|
+
), r5 = "PopoverClose", QQ = /* @__PURE__ */ x.forwardRef(
|
|
17635
17635
|
/* @__PURE__ */ Pn(function(t, n) {
|
|
17636
17636
|
const { __scopePopover: o, ...r } = t, a = Bo(r5, o);
|
|
17637
17637
|
return /* @__PURE__ */ p(
|
|
@@ -18554,7 +18554,7 @@ var M5 = Object.defineProperty, A5 = (e, t) => M5(e, "name", { value: t, configu
|
|
|
18554
18554
|
Right: "right"
|
|
18555
18555
|
}, Kg = {
|
|
18556
18556
|
Foreground: "foreground"
|
|
18557
|
-
}, [cw,
|
|
18557
|
+
}, [cw, eee] = /* @__PURE__ */ an("Toast", [F5]), [L5, Cc] = cw(iw), z5 = /* @__PURE__ */ Ye((e) => {
|
|
18558
18558
|
const {
|
|
18559
18559
|
__scopeToast: t,
|
|
18560
18560
|
label: n = "Notification",
|
|
@@ -19201,7 +19201,7 @@ const b8 = "ox-toast", y8 = N(
|
|
|
19201
19201
|
}
|
|
19202
19202
|
);
|
|
19203
19203
|
y8.displayName = "OxToaster";
|
|
19204
|
-
const
|
|
19204
|
+
const tee = [
|
|
19205
19205
|
"top-left",
|
|
19206
19206
|
"top-center",
|
|
19207
19207
|
"top-right",
|
|
@@ -27402,7 +27402,7 @@ var pG = Object.freeze({
|
|
|
27402
27402
|
clip: "rect(0, 0, 0, 0)",
|
|
27403
27403
|
whiteSpace: "nowrap",
|
|
27404
27404
|
wordWrap: "normal"
|
|
27405
|
-
}), hG = Object.defineProperty, Ne = (e, t) => hG(e, "name", { value: t, configurable: !0 }), mG = [" ", "Enter", "ArrowUp", "ArrowDown"], gG = [" ", "Enter"], sa = "Select", [Hc, Vc, xG] = /* @__PURE__ */ ql(sa), [wr,
|
|
27405
|
+
}), hG = Object.defineProperty, Ne = (e, t) => hG(e, "name", { value: t, configurable: !0 }), mG = [" ", "Enter", "ArrowUp", "ArrowDown"], gG = [" ", "Enter"], sa = "Select", [Hc, Vc, xG] = /* @__PURE__ */ ql(sa), [wr, oee] = /* @__PURE__ */ an(sa, [
|
|
27406
27406
|
xG,
|
|
27407
27407
|
tc
|
|
27408
27408
|
]), Fh = tc(), [vG, Ho] = wr(sa), [bG, yG] = wr(sa);
|
|
@@ -28588,17 +28588,24 @@ const pj = "_ProseMirror_nmtuq_2", Gx = {
|
|
|
28588
28588
|
), $s = (e) => typeof e.toggle == "function", Tj = () => Object.fromEntries(
|
|
28589
28589
|
jh.map((e) => [
|
|
28590
28590
|
e,
|
|
28591
|
-
{ active: !1, enabled: !1 }
|
|
28591
|
+
{ active: !1, enabled: !1, supported: !0 }
|
|
28592
28592
|
])
|
|
28593
28593
|
), Ej = (e) => Object.fromEntries(
|
|
28594
|
-
jh.map((t) => [
|
|
28595
|
-
t,
|
|
28596
|
-
{ active: e.isActive(t), enabled: e.can(t) }
|
|
28597
|
-
])
|
|
28598
|
-
), kj = (e) => Object.fromEntries(
|
|
28599
28594
|
jh.map((t) => {
|
|
28600
|
-
|
|
28595
|
+
var n;
|
|
28601
28596
|
return [
|
|
28597
|
+
t,
|
|
28598
|
+
{
|
|
28599
|
+
active: e.isActive(t),
|
|
28600
|
+
enabled: e.can(t),
|
|
28601
|
+
supported: ((n = e.supports) == null ? void 0 : n.call(e, t)) ?? !0
|
|
28602
|
+
}
|
|
28603
|
+
];
|
|
28604
|
+
})
|
|
28605
|
+
), kj = (e, t) => t in e.schema.nodes || t in e.schema.marks, Rj = (e) => Object.fromEntries(
|
|
28606
|
+
jh.map((t) => {
|
|
28607
|
+
const n = Wc[t];
|
|
28608
|
+
return kj(e, n.schema.name) ? [
|
|
28602
28609
|
t,
|
|
28603
28610
|
{
|
|
28604
28611
|
active: e.isActive(n.schema.name, n.schema.attrs),
|
|
@@ -28606,11 +28613,12 @@ const pj = "_ProseMirror_nmtuq_2", Gx = {
|
|
|
28606
28613
|
and reports whether it applied, which is the only honest answer:
|
|
28607
28614
|
`toggleBulletList` is unavailable inside a code block and there is
|
|
28608
28615
|
no flag that says so. */
|
|
28609
|
-
enabled: n.apply(e.can().chain().focus()).run()
|
|
28616
|
+
enabled: n.apply(e.can().chain().focus()).run(),
|
|
28617
|
+
supported: !0
|
|
28610
28618
|
}
|
|
28611
|
-
];
|
|
28619
|
+
] : [t, { active: !1, enabled: !1, supported: !1 }];
|
|
28612
28620
|
})
|
|
28613
|
-
),
|
|
28621
|
+
), Ij = (e, t) => e ? $s(e) ? Ej(e) : Rj(e) : Tj(), Oj = (e) => {
|
|
28614
28622
|
const [t, n] = te(0);
|
|
28615
28623
|
re(() => {
|
|
28616
28624
|
if (!e || $s(e)) return;
|
|
@@ -28619,11 +28627,11 @@ const pj = "_ProseMirror_nmtuq_2", Gx = {
|
|
|
28619
28627
|
e.off("transaction", r);
|
|
28620
28628
|
};
|
|
28621
28629
|
}, [e]);
|
|
28622
|
-
const o = oe(() =>
|
|
28630
|
+
const o = oe(() => Ij(e), [e, t]);
|
|
28623
28631
|
return oe(
|
|
28624
28632
|
() => ({
|
|
28625
28633
|
toggle: (r) => {
|
|
28626
|
-
if (e) {
|
|
28634
|
+
if (e && o[r].supported) {
|
|
28627
28635
|
if ($s(e)) {
|
|
28628
28636
|
e.toggle(r);
|
|
28629
28637
|
return;
|
|
@@ -28632,17 +28640,18 @@ const pj = "_ProseMirror_nmtuq_2", Gx = {
|
|
|
28632
28640
|
}
|
|
28633
28641
|
},
|
|
28634
28642
|
isActive: (r) => o[r].active,
|
|
28635
|
-
can: (r) => o[r].enabled
|
|
28643
|
+
can: (r) => o[r].enabled,
|
|
28644
|
+
supports: (r) => o[r].supported
|
|
28636
28645
|
}),
|
|
28637
28646
|
[e, o]
|
|
28638
28647
|
);
|
|
28639
|
-
}, AC = Te(void 0),
|
|
28648
|
+
}, AC = Te(void 0), Dj = "[OxRichTextToolbar] No editor found. A toolbar and its buttons read the editor from the surrounding <OxRichTextEditor>, so they have to be inside one — a toolbar rendered beside it has nothing to drive.", NC = () => {
|
|
28640
28649
|
const e = we(AC);
|
|
28641
|
-
if (!e) throw new Error(
|
|
28650
|
+
if (!e) throw new Error(Dj);
|
|
28642
28651
|
return e;
|
|
28643
|
-
},
|
|
28652
|
+
}, Mj = N(
|
|
28644
28653
|
({ className: e, editor: t, children: n, ...o }, r) => {
|
|
28645
|
-
const a = Mc(), s = t ?? void 0, i =
|
|
28654
|
+
const a = Mc(), s = t ?? void 0, i = Oj(s), l = oe(
|
|
28646
28655
|
() => !s || $s(s) ? void 0 : s,
|
|
28647
28656
|
[s]
|
|
28648
28657
|
), c = !s || !$s(s), [u, d] = te(null), [f, h] = te({});
|
|
@@ -28686,8 +28695,8 @@ const pj = "_ProseMirror_nmtuq_2", Gx = {
|
|
|
28686
28695
|
) });
|
|
28687
28696
|
}
|
|
28688
28697
|
);
|
|
28689
|
-
|
|
28690
|
-
var
|
|
28698
|
+
Mj.displayName = "OxRichTextEditor";
|
|
28699
|
+
var Aj = Object.defineProperty, Ta = (e, t) => Aj(e, "name", { value: t, configurable: !0 }), $C = !!(typeof window < "u" && window.document && window.document.createElement);
|
|
28691
28700
|
function ir(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
|
|
28692
28701
|
return /* @__PURE__ */ Ta(function(r) {
|
|
28693
28702
|
if (e == null || e(r), n === !1 || !r || !r.defaultPrevented)
|
|
@@ -28695,13 +28704,13 @@ function ir(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
|
|
|
28695
28704
|
}, "handleEvent");
|
|
28696
28705
|
}
|
|
28697
28706
|
Ta(ir, "composeEventHandlers");
|
|
28698
|
-
function
|
|
28707
|
+
function Nj(e) {
|
|
28699
28708
|
var t;
|
|
28700
28709
|
if (!$C)
|
|
28701
28710
|
throw new Error("Cannot access window outside of the DOM");
|
|
28702
28711
|
return ((t = e == null ? void 0 : e.ownerDocument) == null ? void 0 : t.defaultView) ?? window;
|
|
28703
28712
|
}
|
|
28704
|
-
Ta(
|
|
28713
|
+
Ta(Nj, "getOwnerWindow");
|
|
28705
28714
|
function Mf(e) {
|
|
28706
28715
|
if (!$C)
|
|
28707
28716
|
throw new Error("Cannot access document outside of the DOM");
|
|
@@ -28729,9 +28738,9 @@ function LC(e) {
|
|
|
28729
28738
|
return e.tagName === "IFRAME";
|
|
28730
28739
|
}
|
|
28731
28740
|
Ta(LC, "isFrame");
|
|
28732
|
-
var
|
|
28741
|
+
var $j = Object.defineProperty, rn = (e, t) => $j(e, "name", { value: t, configurable: !0 });
|
|
28733
28742
|
// @__NO_SIDE_EFFECTS__
|
|
28734
|
-
function
|
|
28743
|
+
function Fj(e, t) {
|
|
28735
28744
|
const n = x.createContext(t);
|
|
28736
28745
|
n.displayName = e + "Context";
|
|
28737
28746
|
const o = /* @__PURE__ */ rn((a) => {
|
|
@@ -28748,7 +28757,7 @@ function $j(e, t) {
|
|
|
28748
28757
|
}
|
|
28749
28758
|
return rn(r, "useContext"), [o, r];
|
|
28750
28759
|
}
|
|
28751
|
-
rn(
|
|
28760
|
+
rn(Fj, "createContext");
|
|
28752
28761
|
// @__NO_SIDE_EFFECTS__
|
|
28753
28762
|
function Ea(e, t = []) {
|
|
28754
28763
|
let n = [];
|
|
@@ -28806,7 +28815,7 @@ function zC(...e) {
|
|
|
28806
28815
|
return n.scopeName = t.scopeName, n;
|
|
28807
28816
|
}
|
|
28808
28817
|
rn(zC, "composeContextScopes");
|
|
28809
|
-
var
|
|
28818
|
+
var Lj = Object.defineProperty, Xt = (e, t) => Lj(e, "name", { value: t, configurable: !0 });
|
|
28810
28819
|
// @__NO_SIDE_EFFECTS__
|
|
28811
28820
|
function ia(e) {
|
|
28812
28821
|
const t = x.forwardRef((n, o) => {
|
|
@@ -28820,7 +28829,7 @@ function ia(e) {
|
|
|
28820
28829
|
let m = "child" in g.props ? g.props.child : g.props.children;
|
|
28821
28830
|
for (; Uh(m) && typeof zl == "function"; )
|
|
28822
28831
|
m = zl(m._payload);
|
|
28823
|
-
s =
|
|
28832
|
+
s = Bj(g, m), l.push((h = s == null ? void 0 : s.props) == null ? void 0 : h.children);
|
|
28824
28833
|
} else
|
|
28825
28834
|
l.push(f);
|
|
28826
28835
|
}), s ? s = x.cloneElement(s, void 0, l) : (
|
|
@@ -28834,7 +28843,7 @@ function ia(e) {
|
|
|
28834
28843
|
if (!s) {
|
|
28835
28844
|
if (r || r === 0)
|
|
28836
28845
|
throw new Error(
|
|
28837
|
-
i ?
|
|
28846
|
+
i ? Wj(e) : Vj(e)
|
|
28838
28847
|
);
|
|
28839
28848
|
return r;
|
|
28840
28849
|
}
|
|
@@ -28846,12 +28855,12 @@ function ia(e) {
|
|
|
28846
28855
|
Xt(ia, "createSlot");
|
|
28847
28856
|
var BC = Symbol.for("radix.slottable");
|
|
28848
28857
|
// @__NO_SIDE_EFFECTS__
|
|
28849
|
-
function
|
|
28858
|
+
function zj(e) {
|
|
28850
28859
|
const t = /* @__PURE__ */ Xt((n) => "child" in n ? n.children(n.child) : n.children, "Slottable");
|
|
28851
28860
|
return t.displayName = `${e}.Slottable`, t.__radixId = BC, t;
|
|
28852
28861
|
}
|
|
28853
|
-
Xt(
|
|
28854
|
-
var
|
|
28862
|
+
Xt(zj, "createSlottable");
|
|
28863
|
+
var Bj = /* @__PURE__ */ Xt((e, t) => "child" in e.props ? x.isValidElement(t) ? x.cloneElement(t, void 0, e.props.children(t.props.children)) : null : x.isValidElement(t) ? t : null, "getSlottableElementFromSlottable");
|
|
28855
28864
|
function HC(e, t) {
|
|
28856
28865
|
const n = { ...t };
|
|
28857
28866
|
for (const o in t) {
|
|
@@ -28874,9 +28883,9 @@ function WC(e) {
|
|
|
28874
28883
|
return x.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === BC;
|
|
28875
28884
|
}
|
|
28876
28885
|
Xt(WC, "isSlottable");
|
|
28877
|
-
var
|
|
28886
|
+
var Hj = Symbol.for("react.lazy");
|
|
28878
28887
|
function Uh(e) {
|
|
28879
|
-
return e != null && typeof e == "object" && "$$typeof" in e && e.$$typeof ===
|
|
28888
|
+
return e != null && typeof e == "object" && "$$typeof" in e && e.$$typeof === Hj && "_payload" in e && GC(e._payload);
|
|
28880
28889
|
}
|
|
28881
28890
|
Xt(Uh, "isLazyComponent");
|
|
28882
28891
|
function GC(e) {
|
|
@@ -28899,7 +28908,7 @@ function UC(...e) {
|
|
|
28899
28908
|
return t.size > 0 ? Array.from(t).join(" ") : void 0;
|
|
28900
28909
|
}
|
|
28901
28910
|
Xt(UC, "concatAriaDescribedby");
|
|
28902
|
-
var
|
|
28911
|
+
var Vj = /* @__PURE__ */ Xt((e) => `${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`, "createSlotError"), Wj = /* @__PURE__ */ Xt((e) => `${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`, "createSlottableError"), zl = x[" use ".trim().toString()], Gj = Object.defineProperty, ht = (e, t) => Gj(e, "name", { value: t, configurable: !0 });
|
|
28903
28912
|
// @__NO_SIDE_EFFECTS__
|
|
28904
28913
|
function qC(e) {
|
|
28905
28914
|
const t = e + "CollectionProvider", [n, o] = /* @__PURE__ */ Ea(t), [r, a] = n(
|
|
@@ -29189,7 +29198,7 @@ function qh(e) {
|
|
|
29189
29198
|
}
|
|
29190
29199
|
ht(qh, "toSafeInteger");
|
|
29191
29200
|
// @__NO_SIDE_EFFECTS__
|
|
29192
|
-
function
|
|
29201
|
+
function jj(e) {
|
|
29193
29202
|
const t = e + "CollectionProvider", [n, o] = /* @__PURE__ */ Ea(t), [r, a] = n(t);
|
|
29194
29203
|
r.displayName = e + "CollectionStableContextProvider";
|
|
29195
29204
|
const [s, i] = n(t);
|
|
@@ -29314,7 +29323,7 @@ function Gj(e) {
|
|
|
29314
29323
|
}
|
|
29315
29324
|
];
|
|
29316
29325
|
}
|
|
29317
|
-
ht(
|
|
29326
|
+
ht(jj, "createCollection");
|
|
29318
29327
|
function KC(e, t) {
|
|
29319
29328
|
if (e === t) return !0;
|
|
29320
29329
|
if (typeof e != "object" || typeof t != "object" || e == null || t == null) return !1;
|
|
@@ -29356,7 +29365,7 @@ function JC(e) {
|
|
|
29356
29365
|
});
|
|
29357
29366
|
}
|
|
29358
29367
|
ht(JC, "getChildListObserver");
|
|
29359
|
-
var
|
|
29368
|
+
var Uj = Object.defineProperty, qj = (e, t) => Uj(e, "name", { value: t, configurable: !0 }), Yj = [
|
|
29360
29369
|
"a",
|
|
29361
29370
|
"button",
|
|
29362
29371
|
"div",
|
|
@@ -29374,18 +29383,18 @@ var jj = Object.defineProperty, Uj = (e, t) => jj(e, "name", { value: t, configu
|
|
|
29374
29383
|
"span",
|
|
29375
29384
|
"svg",
|
|
29376
29385
|
"ul"
|
|
29377
|
-
], Gc =
|
|
29386
|
+
], Gc = Yj.reduce((e, t) => {
|
|
29378
29387
|
const n = /* @__PURE__ */ ia(`Primitive.${t}`), o = x.forwardRef((r, a) => {
|
|
29379
29388
|
const { asChild: s, ...i } = r, l = s ? n : t;
|
|
29380
29389
|
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ p(l, { ...i, ref: a });
|
|
29381
29390
|
});
|
|
29382
29391
|
return o.displayName = `Primitive.${t}`, { ...e, [t]: o };
|
|
29383
29392
|
}, {});
|
|
29384
|
-
function
|
|
29393
|
+
function Kj(e, t) {
|
|
29385
29394
|
e && bn.flushSync(() => e.dispatchEvent(t));
|
|
29386
29395
|
}
|
|
29387
|
-
|
|
29388
|
-
var
|
|
29396
|
+
qj(Kj, "dispatchDiscreteCustomEvent");
|
|
29397
|
+
var Xj = Object.defineProperty, Zj = (e, t) => Xj(e, "name", { value: t, configurable: !0 }), Ux = x[" useInsertionEffect ".trim().toString()];
|
|
29389
29398
|
function QC(e) {
|
|
29390
29399
|
const t = x.useRef(e);
|
|
29391
29400
|
return typeof Ux == "function" ? Ux(() => {
|
|
@@ -29397,8 +29406,8 @@ function QC(e) {
|
|
|
29397
29406
|
return (o = t.current) == null ? void 0 : o.call(t, ...n);
|
|
29398
29407
|
}), []);
|
|
29399
29408
|
}
|
|
29400
|
-
|
|
29401
|
-
var
|
|
29409
|
+
Zj(QC, "useCallbackRef");
|
|
29410
|
+
var Jj = Object.defineProperty, ci = (e, t) => Jj(e, "name", { value: t, configurable: !0 }), Qj = x[" useInsertionEffect ".trim().toString()] || Ke;
|
|
29402
29411
|
function e2({
|
|
29403
29412
|
prop: e,
|
|
29404
29413
|
defaultProp: t,
|
|
@@ -29428,7 +29437,7 @@ function t2({
|
|
|
29428
29437
|
onChange: t
|
|
29429
29438
|
}) {
|
|
29430
29439
|
const [n, o] = x.useState(e), r = x.useRef(n), a = x.useRef(t);
|
|
29431
|
-
return
|
|
29440
|
+
return Qj(() => {
|
|
29432
29441
|
a.current = t;
|
|
29433
29442
|
}, [t]), x.useEffect(() => {
|
|
29434
29443
|
var s;
|
|
@@ -29441,7 +29450,7 @@ function n2(e) {
|
|
|
29441
29450
|
}
|
|
29442
29451
|
ci(n2, "isFunction");
|
|
29443
29452
|
var qx = Symbol("RADIX:SYNC_STATE");
|
|
29444
|
-
function
|
|
29453
|
+
function eU(e, t, n, o) {
|
|
29445
29454
|
const { prop: r, defaultProp: a, onChange: s, caller: i } = t, l = r !== void 0, c = ep(s), u = [{ ...n, state: a }];
|
|
29446
29455
|
o && u.push(o);
|
|
29447
29456
|
const [d, f] = x.useReducer(
|
|
@@ -29461,29 +29470,29 @@ function Qj(e, t, n, o) {
|
|
|
29461
29470
|
l && !Object.is(r, d.state) && f({ type: qx, state: r });
|
|
29462
29471
|
}, [r, d.state, l]), [m, f];
|
|
29463
29472
|
}
|
|
29464
|
-
ci(
|
|
29465
|
-
var
|
|
29473
|
+
ci(eU, "useControllableStateReducer");
|
|
29474
|
+
var tU = Object.defineProperty, nU = (e, t) => tU(e, "name", { value: t, configurable: !0 }), oU = {
|
|
29466
29475
|
LTR: "ltr"
|
|
29467
|
-
},
|
|
29476
|
+
}, rU = x.createContext(void 0);
|
|
29468
29477
|
function Yh(e) {
|
|
29469
|
-
const t = x.useContext(
|
|
29470
|
-
return e || t ||
|
|
29478
|
+
const t = x.useContext(rU);
|
|
29479
|
+
return e || t || oU.LTR;
|
|
29471
29480
|
}
|
|
29472
|
-
|
|
29473
|
-
var
|
|
29481
|
+
nU(Yh, "useDirection");
|
|
29482
|
+
var aU = Object.defineProperty, Cr = (e, t) => aU(e, "name", { value: t, configurable: !0 }), cd = "rovingFocusGroup.onEntryFocus", sU = { bubbles: !1, cancelable: !0 }, jc = "RovingFocusGroup", [Af, o2, iU] = /* @__PURE__ */ qC(jc), [lU, Uc] = /* @__PURE__ */ Ea(
|
|
29474
29483
|
jc,
|
|
29475
|
-
[
|
|
29484
|
+
[iU]
|
|
29476
29485
|
), Yx = {
|
|
29477
29486
|
Vertical: "vertical",
|
|
29478
29487
|
Horizontal: "horizontal"
|
|
29479
|
-
},
|
|
29488
|
+
}, cU = {
|
|
29480
29489
|
RTL: "rtl"
|
|
29481
|
-
}, [
|
|
29490
|
+
}, [uU, dU] = lU(jc), fU = /* @__PURE__ */ x.forwardRef(
|
|
29482
29491
|
// blank line to reduce diff noise
|
|
29483
29492
|
/* @__PURE__ */ Cr(function(t, n) {
|
|
29484
|
-
return /* @__PURE__ */ p(Af.Provider, { scope: t.__scopeRovingFocusGroup, children: /* @__PURE__ */ p(Af.Slot, { scope: t.__scopeRovingFocusGroup, children: /* @__PURE__ */ p(
|
|
29493
|
+
return /* @__PURE__ */ p(Af.Provider, { scope: t.__scopeRovingFocusGroup, children: /* @__PURE__ */ p(Af.Slot, { scope: t.__scopeRovingFocusGroup, children: /* @__PURE__ */ p(pU, { ...t, ref: n }) }) });
|
|
29485
29494
|
}, "RovingFocusGroup")
|
|
29486
|
-
),
|
|
29495
|
+
), pU = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ Cr(function(t, n) {
|
|
29487
29496
|
const {
|
|
29488
29497
|
__scopeRovingFocusGroup: o,
|
|
29489
29498
|
orientation: r,
|
|
@@ -29506,7 +29515,7 @@ var rU = Object.defineProperty, Cr = (e, t) => rU(e, "name", { value: t, configu
|
|
|
29506
29515
|
if (E)
|
|
29507
29516
|
return E.addEventListener(cd, S), () => E.removeEventListener(cd, S);
|
|
29508
29517
|
}, [S]), /* @__PURE__ */ p(
|
|
29509
|
-
|
|
29518
|
+
uU,
|
|
29510
29519
|
{
|
|
29511
29520
|
scope: o,
|
|
29512
29521
|
orientation: r,
|
|
@@ -29540,7 +29549,7 @@ var rU = Object.defineProperty, Cr = (e, t) => rU(e, "name", { value: t, configu
|
|
|
29540
29549
|
onFocus: ir(t.onFocus, (E) => {
|
|
29541
29550
|
const k = !_.current;
|
|
29542
29551
|
if (E.target === E.currentTarget && k && !y) {
|
|
29543
|
-
const I = new CustomEvent(cd,
|
|
29552
|
+
const I = new CustomEvent(cd, sU);
|
|
29544
29553
|
if (E.currentTarget.dispatchEvent(I), !I.defaultPrevented) {
|
|
29545
29554
|
const O = C().filter((B) => B.focusable), L = O.find((B) => B.active), F = O.find((B) => B.id === v), H = [L, F, ...O].filter(
|
|
29546
29555
|
Boolean
|
|
@@ -29555,7 +29564,7 @@ var rU = Object.defineProperty, Cr = (e, t) => rU(e, "name", { value: t, configu
|
|
|
29555
29564
|
)
|
|
29556
29565
|
}
|
|
29557
29566
|
);
|
|
29558
|
-
}, "RovingFocusGroupImpl")),
|
|
29567
|
+
}, "RovingFocusGroupImpl")), hU = "RovingFocusGroupItem", mU = /* @__PURE__ */ x.forwardRef(
|
|
29559
29568
|
// blank line to reduce diff noise
|
|
29560
29569
|
/* @__PURE__ */ Cr(function(t, n) {
|
|
29561
29570
|
const {
|
|
@@ -29565,7 +29574,7 @@ var rU = Object.defineProperty, Cr = (e, t) => rU(e, "name", { value: t, configu
|
|
|
29565
29574
|
tabStopId: s,
|
|
29566
29575
|
children: i,
|
|
29567
29576
|
...l
|
|
29568
|
-
} = t, c = Nn(), u = s || c, d =
|
|
29577
|
+
} = t, c = Nn(), u = s || c, d = dU(hU, o), f = d.currentTabStopId === u, h = o2(o), { onFocusableItemAdd: g, onFocusableItemRemove: m, currentTabStopId: v } = d, b = ub();
|
|
29569
29578
|
return Ke(() => {
|
|
29570
29579
|
if (!(!b || !r))
|
|
29571
29580
|
return g(), () => m();
|
|
@@ -29616,7 +29625,7 @@ var rU = Object.defineProperty, Cr = (e, t) => rU(e, "name", { value: t, configu
|
|
|
29616
29625
|
}
|
|
29617
29626
|
);
|
|
29618
29627
|
}, "RovingFocusGroupItem")
|
|
29619
|
-
),
|
|
29628
|
+
), gU = {
|
|
29620
29629
|
ArrowLeft: "prev",
|
|
29621
29630
|
ArrowUp: "prev",
|
|
29622
29631
|
ArrowRight: "next",
|
|
@@ -29627,13 +29636,13 @@ var rU = Object.defineProperty, Cr = (e, t) => rU(e, "name", { value: t, configu
|
|
|
29627
29636
|
End: "last"
|
|
29628
29637
|
};
|
|
29629
29638
|
function r2(e, t) {
|
|
29630
|
-
return t !==
|
|
29639
|
+
return t !== cU.RTL ? e : e === "ArrowLeft" ? "ArrowRight" : e === "ArrowRight" ? "ArrowLeft" : e;
|
|
29631
29640
|
}
|
|
29632
29641
|
Cr(r2, "getDirectionAwareKey");
|
|
29633
29642
|
function a2(e, t, n) {
|
|
29634
29643
|
const o = r2(e.key, n);
|
|
29635
29644
|
if (!(t === Yx.Vertical && ["ArrowLeft", "ArrowRight"].includes(o)) && !(t === Yx.Horizontal && ["ArrowUp", "ArrowDown"].includes(o)))
|
|
29636
|
-
return
|
|
29645
|
+
return gU[o];
|
|
29637
29646
|
}
|
|
29638
29647
|
Cr(a2, "getFocusIntent");
|
|
29639
29648
|
function Kh(e, t = !1) {
|
|
@@ -29650,17 +29659,17 @@ var Xh = "ToggleGroup", [i2, l2] = /* @__PURE__ */ Ea(Xh, [
|
|
|
29650
29659
|
Uc
|
|
29651
29660
|
]);
|
|
29652
29661
|
Uc();
|
|
29653
|
-
var [
|
|
29662
|
+
var [ree, aee] = i2(Xh), [see, iee] = i2(Xh), xU = Object.defineProperty, c2 = (e, t) => xU(e, "name", { value: t, configurable: !0 }), u2 = "Toolbar", [vU, lee] = /* @__PURE__ */ Ea(u2, [
|
|
29654
29663
|
Uc,
|
|
29655
29664
|
l2
|
|
29656
29665
|
]), d2 = Uc();
|
|
29657
29666
|
l2();
|
|
29658
|
-
var [
|
|
29667
|
+
var [bU, cee] = vU(u2), yU = /* @__PURE__ */ x.forwardRef(
|
|
29659
29668
|
// blank line to reduce diff noise
|
|
29660
29669
|
/* @__PURE__ */ c2(function(t, n) {
|
|
29661
29670
|
const { __scopeToolbar: o, orientation: r = "horizontal", dir: a, loop: s = !0, ...i } = t, l = d2(o), c = Yh(a);
|
|
29662
|
-
return /* @__PURE__ */ p(
|
|
29663
|
-
|
|
29671
|
+
return /* @__PURE__ */ p(bU, { scope: o, orientation: r, dir: c, children: /* @__PURE__ */ p(
|
|
29672
|
+
fU,
|
|
29664
29673
|
{
|
|
29665
29674
|
asChild: !0,
|
|
29666
29675
|
...l,
|
|
@@ -29680,29 +29689,30 @@ var [vU, lee] = xU(u2), bU = /* @__PURE__ */ x.forwardRef(
|
|
|
29680
29689
|
}
|
|
29681
29690
|
) });
|
|
29682
29691
|
}, "Toolbar")
|
|
29683
|
-
),
|
|
29692
|
+
), wU = /* @__PURE__ */ x.forwardRef(
|
|
29684
29693
|
/* @__PURE__ */ c2(function(t, n) {
|
|
29685
29694
|
const { __scopeToolbar: o, ...r } = t, a = d2(o);
|
|
29686
|
-
return /* @__PURE__ */ p(
|
|
29695
|
+
return /* @__PURE__ */ p(mU, { asChild: !0, ...a, focusable: !t.disabled, children: /* @__PURE__ */ p(Gc.button, { type: "button", ...r, ref: n }) });
|
|
29687
29696
|
}, "ToolbarButton")
|
|
29688
29697
|
);
|
|
29689
|
-
const
|
|
29698
|
+
const _U = {
|
|
29690
29699
|
"ox-rich-text-toolbar": "_ox-rich-text-toolbar_3q9el_2"
|
|
29691
|
-
},
|
|
29692
|
-
|
|
29700
|
+
}, CU = N(({ className: e, children: t, ...n }, o) => (NC(), /* @__PURE__ */ p(
|
|
29701
|
+
yU,
|
|
29693
29702
|
{
|
|
29694
29703
|
ref: o,
|
|
29695
|
-
className: D(Pe(
|
|
29704
|
+
className: D(Pe(_U, "ox-rich-text-toolbar"), e),
|
|
29696
29705
|
...n,
|
|
29697
29706
|
children: t
|
|
29698
29707
|
}
|
|
29699
29708
|
)));
|
|
29700
|
-
|
|
29701
|
-
const
|
|
29709
|
+
CU.displayName = "OxRichTextToolbar";
|
|
29710
|
+
const SU = {
|
|
29702
29711
|
"ox-rich-text-toolbar-button": "_ox-rich-text-toolbar-button_nvm64_2"
|
|
29703
|
-
},
|
|
29712
|
+
}, PU = N(({ className: e, command: t, ...n }, o) => {
|
|
29713
|
+
var u;
|
|
29704
29714
|
const r = NC(), a = $e(), s = Wc[t], i = a(s.label), l = r.isActive(t), c = r.can(t);
|
|
29705
|
-
return /* @__PURE__ */ p(
|
|
29715
|
+
return ((u = r.supports) == null ? void 0 : u.call(r, t)) ?? !0 ? /* @__PURE__ */ p(wU, { asChild: !0, disabled: !c, children: /* @__PURE__ */ p(
|
|
29706
29716
|
to,
|
|
29707
29717
|
{
|
|
29708
29718
|
ref: o,
|
|
@@ -29713,17 +29723,17 @@ const CU = {
|
|
|
29713
29723
|
"aria-pressed": l,
|
|
29714
29724
|
"data-command": t,
|
|
29715
29725
|
className: D(
|
|
29716
|
-
Pe(
|
|
29726
|
+
Pe(SU, "ox-rich-text-toolbar-button"),
|
|
29717
29727
|
e
|
|
29718
29728
|
),
|
|
29719
29729
|
onClick: () => r.toggle(t),
|
|
29720
29730
|
...n,
|
|
29721
29731
|
children: /* @__PURE__ */ p(le, { icon: s.icon })
|
|
29722
29732
|
}
|
|
29723
|
-
) });
|
|
29733
|
+
) }) : null;
|
|
29724
29734
|
});
|
|
29725
|
-
|
|
29726
|
-
const
|
|
29735
|
+
PU.displayName = "OxRichTextToolbarButton";
|
|
29736
|
+
const uee = (e, t = {}) => [
|
|
29727
29737
|
e.configure({
|
|
29728
29738
|
/*
|
|
29729
29739
|
* Three levels, not six. The surface is `text-sm`, so an `<h4>` and a `<p>`
|
|
@@ -29732,20 +29742,27 @@ const cee = (e) => [
|
|
|
29732
29742
|
* renders documents written elsewhere — what is capped here is what this
|
|
29733
29743
|
* editor lets someone create.
|
|
29734
29744
|
*/
|
|
29735
|
-
heading: { levels: [1, 2, 3] }
|
|
29736
|
-
|
|
29737
|
-
|
|
29738
|
-
|
|
29739
|
-
|
|
29740
|
-
|
|
29741
|
-
|
|
29742
|
-
|
|
29743
|
-
|
|
29744
|
-
|
|
29745
|
-
|
|
29746
|
-
|
|
29747
|
-
|
|
29748
|
-
|
|
29745
|
+
heading: { levels: [1, 2, 3] }
|
|
29746
|
+
}),
|
|
29747
|
+
...t.Underline ? [t.Underline] : [],
|
|
29748
|
+
...t.Link ? [
|
|
29749
|
+
t.Link.configure({
|
|
29750
|
+
/*
|
|
29751
|
+
* `openOnClick: false`, and this is the one setting here that is a
|
|
29752
|
+
* correctness decision rather than a taste one. With it on, clicking
|
|
29753
|
+
* a link inside the editor navigates away mid-edit and the unsaved
|
|
29754
|
+
* document goes with it. Reading a link is what `OxRichText` is for.
|
|
29755
|
+
*/
|
|
29756
|
+
openOnClick: !1,
|
|
29757
|
+
/*
|
|
29758
|
+
* `autolink` stays on: typing a URL and a space should produce a
|
|
29759
|
+
* link, and it is the only way a link gets into the document without
|
|
29760
|
+
* a toolbar control — see the note in `commands.ts` about why there
|
|
29761
|
+
* is no link button.
|
|
29762
|
+
*/
|
|
29763
|
+
autolink: !0
|
|
29764
|
+
})
|
|
29765
|
+
] : []
|
|
29749
29766
|
], Ya = {
|
|
29750
29767
|
"ox-search-bar": "_ox-search-bar_1blyv_2",
|
|
29751
29768
|
"ox-search-bar--md": "_ox-search-bar--md_1blyv_2",
|
|
@@ -29756,7 +29773,7 @@ const cee = (e) => [
|
|
|
29756
29773
|
"ox-search-bar-leading": "_ox-search-bar-leading_1blyv_2",
|
|
29757
29774
|
"ox-search-bar-clear": "_ox-search-bar-clear_1blyv_2",
|
|
29758
29775
|
"ox-search-bar-clear-icon": "_ox-search-bar-clear-icon_1blyv_2"
|
|
29759
|
-
},
|
|
29776
|
+
}, TU = N(
|
|
29760
29777
|
({
|
|
29761
29778
|
className: e,
|
|
29762
29779
|
variant: t = "default",
|
|
@@ -29785,7 +29802,7 @@ const cee = (e) => [
|
|
|
29785
29802
|
{
|
|
29786
29803
|
ref: h,
|
|
29787
29804
|
className: D(
|
|
29788
|
-
Pe(Ya,
|
|
29805
|
+
Pe(Ya, EU({ variant: t, size: n })),
|
|
29789
29806
|
e
|
|
29790
29807
|
),
|
|
29791
29808
|
"data-slot": "search-bar",
|
|
@@ -29845,8 +29862,8 @@ const cee = (e) => [
|
|
|
29845
29862
|
);
|
|
29846
29863
|
}
|
|
29847
29864
|
);
|
|
29848
|
-
|
|
29849
|
-
const
|
|
29865
|
+
TU.displayName = "OxSearchBar";
|
|
29866
|
+
const EU = je("ox-search-bar", {
|
|
29850
29867
|
variants: {
|
|
29851
29868
|
variant: {
|
|
29852
29869
|
default: "ox-search-bar--default",
|
|
@@ -29861,18 +29878,18 @@ const TU = je("ox-search-bar", {
|
|
|
29861
29878
|
variant: "default",
|
|
29862
29879
|
size: "md"
|
|
29863
29880
|
}
|
|
29864
|
-
}),
|
|
29865
|
-
oxSearchPanel:
|
|
29881
|
+
}), kU = "_oxSearchPanel_1o373_2", RU = {
|
|
29882
|
+
oxSearchPanel: kU
|
|
29866
29883
|
}, f2 = Te(
|
|
29867
29884
|
null
|
|
29868
|
-
),
|
|
29885
|
+
), IU = () => {
|
|
29869
29886
|
const e = we(f2);
|
|
29870
29887
|
if (!e)
|
|
29871
29888
|
throw new Error(
|
|
29872
29889
|
"SearchPanel parts must be used within an <OxSearchPanel>."
|
|
29873
29890
|
);
|
|
29874
29891
|
return e;
|
|
29875
|
-
},
|
|
29892
|
+
}, OU = N(
|
|
29876
29893
|
({ className: e, children: t, onSelect: n, onClose: o, onKeyDown: r, dataTestid: a, ...s }, i) => {
|
|
29877
29894
|
const l = oe(
|
|
29878
29895
|
() => ({ select: (c) => n == null ? void 0 : n(c) }),
|
|
@@ -29889,13 +29906,13 @@ const TU = je("ox-search-bar", {
|
|
|
29889
29906
|
r == null || r(c), c.key === "Escape" && (o == null || o());
|
|
29890
29907
|
},
|
|
29891
29908
|
...s,
|
|
29892
|
-
children: /* @__PURE__ */ p(_c, { asChild: !0, children: /* @__PURE__ */ p(wn, { floating: !0, className: D(
|
|
29909
|
+
children: /* @__PURE__ */ p(_c, { asChild: !0, children: /* @__PURE__ */ p(wn, { floating: !0, className: D(RU.oxSearchPanel, e), children: t }) })
|
|
29893
29910
|
}
|
|
29894
29911
|
) }) });
|
|
29895
29912
|
}
|
|
29896
29913
|
);
|
|
29897
|
-
|
|
29898
|
-
const
|
|
29914
|
+
OU.displayName = "OxSearchPanel";
|
|
29915
|
+
const DU = N(({ className: e, children: t, ...n }, o) => /* @__PURE__ */ p(
|
|
29899
29916
|
yp,
|
|
29900
29917
|
{
|
|
29901
29918
|
ref: o,
|
|
@@ -29905,8 +29922,8 @@ const OU = N(({ className: e, children: t, ...n }, o) => /* @__PURE__ */ p(
|
|
|
29905
29922
|
children: t
|
|
29906
29923
|
}
|
|
29907
29924
|
));
|
|
29908
|
-
|
|
29909
|
-
const
|
|
29925
|
+
DU.displayName = "OxSearchPanelEmpty";
|
|
29926
|
+
const MU = N(({ className: e, label: t, children: n, ...o }, r) => /* @__PURE__ */ p(
|
|
29910
29927
|
gh,
|
|
29911
29928
|
{
|
|
29912
29929
|
ref: r,
|
|
@@ -29917,15 +29934,15 @@ const DU = N(({ className: e, label: t, children: n, ...o }, r) => /* @__PURE__
|
|
|
29917
29934
|
children: n
|
|
29918
29935
|
}
|
|
29919
29936
|
));
|
|
29920
|
-
|
|
29921
|
-
const
|
|
29922
|
-
oxSearchPanelInput:
|
|
29923
|
-
},
|
|
29924
|
-
|
|
29925
|
-
const
|
|
29926
|
-
oxSearchPanelItem:
|
|
29927
|
-
},
|
|
29928
|
-
const { select: s } =
|
|
29937
|
+
MU.displayName = "OxSearchPanelGroup";
|
|
29938
|
+
const AU = "_oxSearchPanelInput_gbh6x_2", NU = {
|
|
29939
|
+
oxSearchPanelInput: AU
|
|
29940
|
+
}, $U = N(({ children: e, ...t }, n) => /* @__PURE__ */ p("div", { className: NU.oxSearchPanelInput, children: /* @__PURE__ */ p(Ac, { ref: n, asChild: !0, ...t, children: e }) }));
|
|
29941
|
+
$U.displayName = "OxSearchPanelInput";
|
|
29942
|
+
const FU = "_oxSearchPanelItem_10h6p_2", LU = {
|
|
29943
|
+
oxSearchPanelItem: FU
|
|
29944
|
+
}, zU = N(({ className: e, value: t, disabled: n = !1, children: o, ...r }, a) => {
|
|
29945
|
+
const { select: s } = IU();
|
|
29929
29946
|
return /* @__PURE__ */ p(
|
|
29930
29947
|
oi,
|
|
29931
29948
|
{
|
|
@@ -29936,12 +29953,12 @@ const $U = "_oxSearchPanelItem_10h6p_2", FU = {
|
|
|
29936
29953
|
disabled: n,
|
|
29937
29954
|
onSelect: s,
|
|
29938
29955
|
...r,
|
|
29939
|
-
children: /* @__PURE__ */ p(qs, { className: D(
|
|
29956
|
+
children: /* @__PURE__ */ p(qs, { className: D(LU.oxSearchPanelItem, e), children: o })
|
|
29940
29957
|
}
|
|
29941
29958
|
);
|
|
29942
29959
|
});
|
|
29943
|
-
|
|
29944
|
-
const
|
|
29960
|
+
zU.displayName = "OxSearchPanelItem";
|
|
29961
|
+
const BU = 16, HU = N(({ className: e, children: t, ...n }, o) => {
|
|
29945
29962
|
const r = ee(null);
|
|
29946
29963
|
return /* @__PURE__ */ p(
|
|
29947
29964
|
ya,
|
|
@@ -29951,7 +29968,7 @@ const zU = 16, BU = N(({ className: e, children: t, ...n }, o) => {
|
|
|
29951
29968
|
side: "bottom",
|
|
29952
29969
|
align: "start",
|
|
29953
29970
|
sideOffset: 0,
|
|
29954
|
-
collisionPadding:
|
|
29971
|
+
collisionPadding: BU,
|
|
29955
29972
|
role: "presentation",
|
|
29956
29973
|
"aria-labelledby": void 0,
|
|
29957
29974
|
onOpenAutoFocus: (a) => a.preventDefault(),
|
|
@@ -29963,8 +29980,8 @@ const zU = 16, BU = N(({ className: e, children: t, ...n }, o) => {
|
|
|
29963
29980
|
}
|
|
29964
29981
|
);
|
|
29965
29982
|
});
|
|
29966
|
-
|
|
29967
|
-
const
|
|
29983
|
+
HU.displayName = "OxSearchPanelList";
|
|
29984
|
+
const VU = N(({ className: e, label: t, children: n, ...o }, r) => /* @__PURE__ */ q(
|
|
29968
29985
|
HG,
|
|
29969
29986
|
{
|
|
29970
29987
|
ref: r,
|
|
@@ -29977,8 +29994,8 @@ const HU = N(({ className: e, label: t, children: n, ...o }, r) => /* @__PURE__
|
|
|
29977
29994
|
]
|
|
29978
29995
|
}
|
|
29979
29996
|
));
|
|
29980
|
-
|
|
29981
|
-
const
|
|
29997
|
+
VU.displayName = "OxSelectGroup";
|
|
29998
|
+
const WU = N(({ className: e, ...t }, n) => /* @__PURE__ */ p(
|
|
29982
29999
|
ZG,
|
|
29983
30000
|
{
|
|
29984
30001
|
ref: n,
|
|
@@ -29988,33 +30005,33 @@ const VU = N(({ className: e, ...t }, n) => /* @__PURE__ */ p(
|
|
|
29988
30005
|
children: /* @__PURE__ */ p(uc, { className: e })
|
|
29989
30006
|
}
|
|
29990
30007
|
));
|
|
29991
|
-
|
|
29992
|
-
const
|
|
29993
|
-
oxTimePickerPanel:
|
|
29994
|
-
},
|
|
29995
|
-
oxTimePickerField:
|
|
29996
|
-
oxTimePickerSegments:
|
|
29997
|
-
oxTimePickerSegment:
|
|
29998
|
-
oxTimePickerSeparator:
|
|
29999
|
-
oxTimePickerToggle:
|
|
30000
|
-
oxTimePickerGlyph:
|
|
30008
|
+
WU.displayName = "OxSelectSeparator";
|
|
30009
|
+
const GU = "_oxTimePickerPanel_13hbt_2", jU = {
|
|
30010
|
+
oxTimePickerPanel: GU
|
|
30011
|
+
}, UU = "_oxTimePickerField_18jbr_2", qU = "_oxTimePickerSegments_18jbr_2", YU = "_oxTimePickerSegment_18jbr_2", KU = "_oxTimePickerSeparator_18jbr_2", XU = "_oxTimePickerToggle_18jbr_2", ZU = "_oxTimePickerGlyph_18jbr_2", Lr = {
|
|
30012
|
+
oxTimePickerField: UU,
|
|
30013
|
+
oxTimePickerSegments: qU,
|
|
30014
|
+
oxTimePickerSegment: YU,
|
|
30015
|
+
oxTimePickerSeparator: KU,
|
|
30016
|
+
oxTimePickerToggle: XU,
|
|
30017
|
+
oxTimePickerGlyph: ZU
|
|
30001
30018
|
};
|
|
30002
|
-
function
|
|
30019
|
+
function JU(e, t) {
|
|
30003
30020
|
return Kx(e) - Kx(t);
|
|
30004
30021
|
}
|
|
30005
30022
|
function Kx(e) {
|
|
30006
30023
|
return e.hour * 36e5 + e.minute * 6e4 + e.second * 1e3 + e.millisecond;
|
|
30007
30024
|
}
|
|
30008
|
-
function
|
|
30025
|
+
function QU(e) {
|
|
30009
30026
|
let t = {};
|
|
30010
30027
|
for (let n in e) typeof e[n] == "number" && (t[n] = -e[n]);
|
|
30011
30028
|
return t;
|
|
30012
30029
|
}
|
|
30013
|
-
function
|
|
30030
|
+
function eq(e, t) {
|
|
30014
30031
|
let n = e.copy();
|
|
30015
30032
|
return t.hour != null && (n.hour = t.hour), t.minute != null && (n.minute = t.minute), t.second != null && (n.second = t.second), t.millisecond != null && (n.millisecond = t.millisecond), p2(n), n;
|
|
30016
30033
|
}
|
|
30017
|
-
function
|
|
30034
|
+
function tq(e) {
|
|
30018
30035
|
e.second += Math.floor(e.millisecond / 1e3), e.millisecond = ol(e.millisecond, 1e3), e.minute += Math.floor(e.second / 60), e.second = ol(e.second, 60), e.hour += Math.floor(e.minute / 60), e.minute = ol(e.minute, 60);
|
|
30019
30036
|
let t = Math.floor(e.hour / 24);
|
|
30020
30037
|
return e.hour = ol(e.hour, 24), t;
|
|
@@ -30026,17 +30043,17 @@ function ol(e, t) {
|
|
|
30026
30043
|
let n = e % t;
|
|
30027
30044
|
return n < 0 && (n += t), n;
|
|
30028
30045
|
}
|
|
30029
|
-
function
|
|
30030
|
-
return e.hour += t.hours || 0, e.minute += t.minutes || 0, e.second += t.seconds || 0, e.millisecond += t.milliseconds || 0,
|
|
30046
|
+
function nq(e, t) {
|
|
30047
|
+
return e.hour += t.hours || 0, e.minute += t.minutes || 0, e.second += t.seconds || 0, e.millisecond += t.milliseconds || 0, tq(e);
|
|
30031
30048
|
}
|
|
30032
30049
|
function h2(e, t) {
|
|
30033
30050
|
let n = e.copy();
|
|
30034
|
-
return
|
|
30051
|
+
return nq(n, t), n;
|
|
30035
30052
|
}
|
|
30036
|
-
function
|
|
30037
|
-
return h2(e,
|
|
30053
|
+
function oq(e, t) {
|
|
30054
|
+
return h2(e, QU(t));
|
|
30038
30055
|
}
|
|
30039
|
-
function
|
|
30056
|
+
function rq(e, t, n, o) {
|
|
30040
30057
|
let r = e.copy();
|
|
30041
30058
|
switch (t) {
|
|
30042
30059
|
case "hour": {
|
|
@@ -30071,17 +30088,17 @@ function rl(e, t, n, o, r = !1) {
|
|
|
30071
30088
|
e += t, e < n ? e = o - (n - e - 1) : e > o && (e = n + (e - o - 1));
|
|
30072
30089
|
return e;
|
|
30073
30090
|
}
|
|
30074
|
-
function
|
|
30091
|
+
function aq(e) {
|
|
30075
30092
|
return `${String(e.hour).padStart(2, "0")}:${String(e.minute).padStart(2, "0")}:${String(e.second).padStart(2, "0")}${e.millisecond ? String(e.millisecond / 1e3).slice(1) : ""}`;
|
|
30076
30093
|
}
|
|
30077
|
-
function
|
|
30094
|
+
function sq(e, t) {
|
|
30078
30095
|
if (t.has(e))
|
|
30079
30096
|
throw new TypeError("Cannot initialize the same private elements twice on an object");
|
|
30080
30097
|
}
|
|
30081
|
-
function
|
|
30082
|
-
|
|
30098
|
+
function iq(e, t, n) {
|
|
30099
|
+
sq(e, t), t.set(e, n);
|
|
30083
30100
|
}
|
|
30084
|
-
var
|
|
30101
|
+
var lq = /* @__PURE__ */ new WeakMap();
|
|
30085
30102
|
class ui {
|
|
30086
30103
|
/** Returns a copy of this time. */
|
|
30087
30104
|
copy() {
|
|
@@ -30093,29 +30110,29 @@ class ui {
|
|
|
30093
30110
|
}
|
|
30094
30111
|
/** Returns a new `Time` with the given duration subtracted from it. */
|
|
30095
30112
|
subtract(t) {
|
|
30096
|
-
return
|
|
30113
|
+
return oq(this, t);
|
|
30097
30114
|
}
|
|
30098
30115
|
/** Returns a new `Time` with the given fields set to the provided values. Other fields will be constrained accordingly. */
|
|
30099
30116
|
set(t) {
|
|
30100
|
-
return
|
|
30117
|
+
return eq(this, t);
|
|
30101
30118
|
}
|
|
30102
30119
|
/**
|
|
30103
30120
|
* Returns a new `Time` with the given field adjusted by a specified amount.
|
|
30104
30121
|
* When the resulting value reaches the limits of the field, it wraps around.
|
|
30105
30122
|
*/
|
|
30106
30123
|
cycle(t, n, o) {
|
|
30107
|
-
return
|
|
30124
|
+
return rq(this, t, n, o);
|
|
30108
30125
|
}
|
|
30109
30126
|
/** Converts the time to an ISO 8601 formatted string. */
|
|
30110
30127
|
toString() {
|
|
30111
|
-
return
|
|
30128
|
+
return aq(this);
|
|
30112
30129
|
}
|
|
30113
30130
|
/** Compares this time with another. A negative result indicates that this time is before the given one, and a positive time indicates that it is after. */
|
|
30114
30131
|
compare(t) {
|
|
30115
|
-
return
|
|
30132
|
+
return JU(this, t);
|
|
30116
30133
|
}
|
|
30117
30134
|
constructor(t = 0, n = 0, o = 0, r = 0) {
|
|
30118
|
-
|
|
30135
|
+
iq(this, lq, {
|
|
30119
30136
|
writable: !0,
|
|
30120
30137
|
value: void 0
|
|
30121
30138
|
}), this.hour = t, this.minute = n, this.second = o, this.millisecond = r, p2(this);
|
|
@@ -30147,13 +30164,13 @@ function x2(e, t) {
|
|
|
30147
30164
|
const n = `${Oo(e.hour)}:${Oo(e.minute)}`;
|
|
30148
30165
|
return t === "HH:MM:SS" ? `${n}:${Oo(e.second)}` : n;
|
|
30149
30166
|
}
|
|
30150
|
-
function
|
|
30167
|
+
function cq(e, t, n) {
|
|
30151
30168
|
return (e ?? new ui(0, 0, 0)).set({ [t]: n });
|
|
30152
30169
|
}
|
|
30153
|
-
function
|
|
30170
|
+
function uq(e, t = 1) {
|
|
30154
30171
|
return Array.from({ length: Math.floor(e / t) + 1 }, (n, o) => o * t);
|
|
30155
30172
|
}
|
|
30156
|
-
const
|
|
30173
|
+
const dq = "--", fq = ":", pq = /* @__PURE__ */ new Set([
|
|
30157
30174
|
"Enter",
|
|
30158
30175
|
"ArrowUp",
|
|
30159
30176
|
"ArrowDown",
|
|
@@ -30165,16 +30182,16 @@ const uq = "--", dq = ":", fq = /* @__PURE__ */ new Set([
|
|
|
30165
30182
|
"A",
|
|
30166
30183
|
"p",
|
|
30167
30184
|
"P"
|
|
30168
|
-
]), v2 = (e) => !Number.isNaN(Number.parseInt(e, 10)),
|
|
30185
|
+
]), v2 = (e) => !Number.isNaN(Number.parseInt(e, 10)), hq = (e) => pq.has(e) || v2(e), Xx = (e) => e === "ArrowLeft" || e === "ArrowRight", mq = {
|
|
30169
30186
|
hour: 24,
|
|
30170
30187
|
minute: 59,
|
|
30171
30188
|
second: 59
|
|
30172
|
-
},
|
|
30189
|
+
}, gq = {
|
|
30173
30190
|
hour: "hour, ",
|
|
30174
30191
|
minute: "minute, ",
|
|
30175
30192
|
second: "second, "
|
|
30176
|
-
}, Zx = (e) => Object.fromEntries(e.map((t) => [t, null])), Jx = (e, t) => Object.fromEntries(t.map((n) => [n, e[n]])),
|
|
30177
|
-
function
|
|
30193
|
+
}, Zx = (e) => Object.fromEntries(e.map((t) => [t, null])), Jx = (e, t) => Object.fromEntries(t.map((n) => [n, e[n]])), xq = (e, t) => e === t || e !== void 0 && t !== void 0 && e.compare(t) === 0;
|
|
30194
|
+
function vq(e, t, n, o) {
|
|
30178
30195
|
const r = Math.floor(e / 10);
|
|
30179
30196
|
let a = n, s = !1;
|
|
30180
30197
|
if (o.hasLeftFocus && (o.hasLeftFocus = !1, a = null), a === null)
|
|
@@ -30182,7 +30199,7 @@ function xq(e, t, n, o) {
|
|
|
30182
30199
|
const i = a.toString().length, l = Number.parseInt(a.toString() + t.toString(), 10);
|
|
30183
30200
|
return i === 2 || l > e ? (t > r && (s = !0), { value: t, moveToNext: s }) : { value: l, moveToNext: !0 };
|
|
30184
30201
|
}
|
|
30185
|
-
function
|
|
30202
|
+
function bq({
|
|
30186
30203
|
format: e,
|
|
30187
30204
|
time: t,
|
|
30188
30205
|
setTime: n,
|
|
@@ -30203,7 +30220,7 @@ function vq({
|
|
|
30203
30220
|
[]
|
|
30204
30221
|
), f = oe(() => t ?? new ui(0, 0, 0), [t]), h = ee(t);
|
|
30205
30222
|
re(() => {
|
|
30206
|
-
const C = !
|
|
30223
|
+
const C = !xq(h.current, t);
|
|
30207
30224
|
if (h.current = t, t) {
|
|
30208
30225
|
s(Jx(t, r));
|
|
30209
30226
|
return;
|
|
@@ -30217,10 +30234,10 @@ function vq({
|
|
|
30217
30234
|
const P = a[C], T = {
|
|
30218
30235
|
part: C,
|
|
30219
30236
|
key: C,
|
|
30220
|
-
value: P == null ?
|
|
30237
|
+
value: P == null ? dq : Oo(P)
|
|
30221
30238
|
};
|
|
30222
30239
|
return _ === 0 ? [T] : [
|
|
30223
|
-
{ part: "literal", key: `literal-${C}`, value:
|
|
30240
|
+
{ part: "literal", key: `literal-${C}`, value: fq },
|
|
30224
30241
|
T
|
|
30225
30242
|
];
|
|
30226
30243
|
}),
|
|
@@ -30254,15 +30271,15 @@ function vq({
|
|
|
30254
30271
|
[f, a]
|
|
30255
30272
|
), y = Y(
|
|
30256
30273
|
(C, _) => {
|
|
30257
|
-
if (_.key !== "Tab" && _.preventDefault(), o || !
|
|
30274
|
+
if (_.key !== "Tab" && _.preventDefault(), o || !hq(_.key) || Xx(_.key)) return;
|
|
30258
30275
|
const P = a[C] ?? null;
|
|
30259
30276
|
if (_.key === "ArrowUp" || _.key === "ArrowDown") {
|
|
30260
30277
|
v(C, b(C, _.key === "ArrowUp"), !1);
|
|
30261
30278
|
return;
|
|
30262
30279
|
}
|
|
30263
30280
|
if (v2(_.key)) {
|
|
30264
|
-
const { value: T, moveToNext: E } =
|
|
30265
|
-
|
|
30281
|
+
const { value: T, moveToNext: E } = vq(
|
|
30282
|
+
mq[C],
|
|
30266
30283
|
Number.parseInt(_.key, 10),
|
|
30267
30284
|
P,
|
|
30268
30285
|
u(C)
|
|
@@ -30306,7 +30323,7 @@ function vq({
|
|
|
30306
30323
|
phone offers a numeric keyboard, but the text is rendered from state,
|
|
30307
30324
|
so a blinking caret would sit in content nobody can type into. */
|
|
30308
30325
|
style: { caretColor: "transparent" },
|
|
30309
|
-
"aria-label":
|
|
30326
|
+
"aria-label": gq[C],
|
|
30310
30327
|
"aria-valuemin": 0,
|
|
30311
30328
|
"aria-valuemax": Io[C],
|
|
30312
30329
|
"aria-valuenow": T,
|
|
@@ -30340,7 +30357,7 @@ function qc() {
|
|
|
30340
30357
|
}
|
|
30341
30358
|
const y2 = N(
|
|
30342
30359
|
({ className: e, onKeyDown: t, ...n }, o) => {
|
|
30343
|
-
const r = $e(), a = qc(), s = Mc(), { segments: i, segmentProps: l, onKeyDown: c } =
|
|
30360
|
+
const r = $e(), a = qc(), s = Mc(), { segments: i, segmentProps: l, onKeyDown: c } = bq({
|
|
30344
30361
|
format: a.format,
|
|
30345
30362
|
time: a.time,
|
|
30346
30363
|
setTime: a.setTime,
|
|
@@ -30406,16 +30423,16 @@ const y2 = N(
|
|
|
30406
30423
|
}
|
|
30407
30424
|
);
|
|
30408
30425
|
y2.displayName = "OxTimePickerField";
|
|
30409
|
-
const
|
|
30410
|
-
oxTimePickerWheel:
|
|
30411
|
-
oxTimePickerWheelBand:
|
|
30412
|
-
oxTimePickerWheelSeparator:
|
|
30413
|
-
},
|
|
30414
|
-
oxTimePickerWheelColumn:
|
|
30415
|
-
oxTimePickerWheelRows:
|
|
30416
|
-
oxTimePickerWheelRow:
|
|
30417
|
-
}, al = 40, Qx = 1,
|
|
30418
|
-
function
|
|
30426
|
+
const yq = "_oxTimePickerWheel_160kp_2", wq = "_oxTimePickerWheelBand_160kp_2", _q = "_oxTimePickerWheelSeparator_160kp_2", ud = {
|
|
30427
|
+
oxTimePickerWheel: yq,
|
|
30428
|
+
oxTimePickerWheelBand: wq,
|
|
30429
|
+
oxTimePickerWheelSeparator: _q
|
|
30430
|
+
}, Cq = "_oxTimePickerWheelColumn_9bc7l_2", Sq = "_oxTimePickerWheelRows_9bc7l_2", Pq = "_oxTimePickerWheelRow_9bc7l_2", dd = {
|
|
30431
|
+
oxTimePickerWheelColumn: Cq,
|
|
30432
|
+
oxTimePickerWheelRows: Sq,
|
|
30433
|
+
oxTimePickerWheelRow: Pq
|
|
30434
|
+
}, al = 40, Qx = 1, Tq = 140, Eq = 3;
|
|
30435
|
+
function kq(e) {
|
|
30419
30436
|
const t = ee(null), n = ee(0), [o, r] = te(0), a = ee(
|
|
30420
30437
|
void 0
|
|
30421
30438
|
), s = ee(!1), i = ee(!1), l = ee(e);
|
|
@@ -30458,7 +30475,7 @@ function Eq(e) {
|
|
|
30458
30475
|
const E = g(f());
|
|
30459
30476
|
m(E, !1), b(E), v();
|
|
30460
30477
|
}, [f, g, b, v, m]), w = Y((E) => {
|
|
30461
|
-
a.current && clearTimeout(a.current), a.current = setTimeout(E,
|
|
30478
|
+
a.current && clearTimeout(a.current), a.current = setTimeout(E, Tq);
|
|
30462
30479
|
}, []), S = Y(
|
|
30463
30480
|
(E) => {
|
|
30464
30481
|
l.current.disabled || i.current || (m(g(E), !1), b(E), v());
|
|
@@ -30494,7 +30511,7 @@ function Eq(e) {
|
|
|
30494
30511
|
a.current && clearTimeout(a.current), k.setAttribute("data-instant", ""), (V = k.setPointerCapture) == null || V.call(k, E.pointerId);
|
|
30495
30512
|
const L = (H) => {
|
|
30496
30513
|
const B = I - H.clientY;
|
|
30497
|
-
Math.abs(B) >
|
|
30514
|
+
Math.abs(B) > Eq && (i.current = !0), n.current = O + B, r(n.current), k.scrollTop = n.current;
|
|
30498
30515
|
}, F = () => {
|
|
30499
30516
|
k.removeEventListener("pointermove", L), k.removeEventListener("pointerup", F), k.removeEventListener("pointercancel", F), k.removeAttribute("data-instant"), s.current = !1, i.current && y(), requestAnimationFrame(() => {
|
|
30500
30517
|
i.current = !1;
|
|
@@ -30535,7 +30552,7 @@ function Eq(e) {
|
|
|
30535
30552
|
onKeyDown: T
|
|
30536
30553
|
};
|
|
30537
30554
|
}
|
|
30538
|
-
const
|
|
30555
|
+
const Rq = 2, Iq = "--", w2 = ({
|
|
30539
30556
|
className: e,
|
|
30540
30557
|
part: t,
|
|
30541
30558
|
onScroll: n,
|
|
@@ -30544,7 +30561,7 @@ const kq = 2, Rq = "--", w2 = ({
|
|
|
30544
30561
|
...a
|
|
30545
30562
|
}) => {
|
|
30546
30563
|
var w;
|
|
30547
|
-
const s = $e(), i = qc(), l = oe(() =>
|
|
30564
|
+
const s = $e(), i = qc(), l = oe(() => uq(Io[t]), [t]), c = (w = i.time) == null ? void 0 : w[t], u = c ?? 0, {
|
|
30548
30565
|
viewport: d,
|
|
30549
30566
|
rows: f,
|
|
30550
30567
|
distanceOf: h,
|
|
@@ -30553,7 +30570,7 @@ const kq = 2, Rq = "--", w2 = ({
|
|
|
30553
30570
|
onScroll: v,
|
|
30554
30571
|
onPointerDown: b,
|
|
30555
30572
|
onKeyDown: y
|
|
30556
|
-
} =
|
|
30573
|
+
} = kq({
|
|
30557
30574
|
values: l,
|
|
30558
30575
|
value: c,
|
|
30559
30576
|
onPick: (S) => i.setPart(t, S),
|
|
@@ -30574,7 +30591,7 @@ const kq = 2, Rq = "--", w2 = ({
|
|
|
30574
30591
|
"aria-valuemin": 0,
|
|
30575
30592
|
"aria-valuemax": Io[t],
|
|
30576
30593
|
"aria-valuenow": u,
|
|
30577
|
-
"aria-valuetext": c === void 0 ?
|
|
30594
|
+
"aria-valuetext": c === void 0 ? Iq : Oo(u),
|
|
30578
30595
|
"aria-disabled": i.disabled || void 0,
|
|
30579
30596
|
"data-testid": `${i.dataTestid}-wheel-${t}`,
|
|
30580
30597
|
onScroll: (S) => {
|
|
@@ -30591,7 +30608,7 @@ const kq = 2, Rq = "--", w2 = ({
|
|
|
30591
30608
|
"span",
|
|
30592
30609
|
{
|
|
30593
30610
|
className: dd.oxTimePickerWheelRow,
|
|
30594
|
-
"data-distance": Math.min(
|
|
30611
|
+
"data-distance": Math.min(Rq, Math.round(h(C))),
|
|
30595
30612
|
onClick: () => g(C),
|
|
30596
30613
|
children: Oo(S)
|
|
30597
30614
|
},
|
|
@@ -30630,7 +30647,7 @@ const _2 = N(
|
|
|
30630
30647
|
}
|
|
30631
30648
|
);
|
|
30632
30649
|
_2.displayName = "OxTimePickerWheel";
|
|
30633
|
-
const
|
|
30650
|
+
const Oq = 16, Dq = ({
|
|
30634
30651
|
format: e = "HH:MM",
|
|
30635
30652
|
disabled: t = !1,
|
|
30636
30653
|
value: n,
|
|
@@ -30665,7 +30682,7 @@ const Iq = 16, Oq = ({
|
|
|
30665
30682
|
format: e,
|
|
30666
30683
|
time: y,
|
|
30667
30684
|
setTime: w,
|
|
30668
|
-
setPart: (C, _) => w(
|
|
30685
|
+
setPart: (C, _) => w(cq(y, C, _)),
|
|
30669
30686
|
disabled: t,
|
|
30670
30687
|
dataTestid: l,
|
|
30671
30688
|
close: () => b(!1)
|
|
@@ -30680,19 +30697,19 @@ const Iq = 16, Oq = ({
|
|
|
30680
30697
|
asChild: !0,
|
|
30681
30698
|
align: "start",
|
|
30682
30699
|
sideOffset: 4,
|
|
30683
|
-
collisionPadding:
|
|
30700
|
+
collisionPadding: Oq,
|
|
30684
30701
|
"data-slot": "time-picker-panel",
|
|
30685
30702
|
"data-testid": `${l}-panel`,
|
|
30686
|
-
children: /* @__PURE__ */ p(wn, { className:
|
|
30703
|
+
children: /* @__PURE__ */ p(wn, { className: jU.oxTimePickerPanel, children: i ?? /* @__PURE__ */ p(_2, {}) })
|
|
30687
30704
|
}
|
|
30688
30705
|
) })
|
|
30689
30706
|
] }) });
|
|
30690
30707
|
};
|
|
30691
|
-
|
|
30692
|
-
const
|
|
30693
|
-
oxTimePickerList:
|
|
30694
|
-
},
|
|
30695
|
-
function
|
|
30708
|
+
Dq.displayName = "OxTimePicker";
|
|
30709
|
+
const Mq = "_oxTimePickerList_2akyt_2", Aq = {
|
|
30710
|
+
oxTimePickerList: Mq
|
|
30711
|
+
}, Nq = 1e3;
|
|
30712
|
+
function $q({
|
|
30696
30713
|
options: e,
|
|
30697
30714
|
selected: t,
|
|
30698
30715
|
onSelect: n,
|
|
@@ -30745,7 +30762,7 @@ function Nq({
|
|
|
30745
30762
|
if (v.key.length !== 1 || !/[\d:]/.test(v.key)) return;
|
|
30746
30763
|
v.preventDefault(), u.current += v.key, d.current && clearTimeout(d.current), d.current = setTimeout(() => {
|
|
30747
30764
|
u.current = "";
|
|
30748
|
-
},
|
|
30765
|
+
}, Nq);
|
|
30749
30766
|
const S = e.find(
|
|
30750
30767
|
(C) => C.startsWith(u.current)
|
|
30751
30768
|
);
|
|
@@ -30781,12 +30798,12 @@ function Nq({
|
|
|
30781
30798
|
optionProps: m
|
|
30782
30799
|
};
|
|
30783
30800
|
}
|
|
30784
|
-
const
|
|
30801
|
+
const Fq = 15, Lq = N(
|
|
30785
30802
|
({ className: e, onKeyDown: t, ...n }, o) => {
|
|
30786
30803
|
const r = qc(), a = oe(() => {
|
|
30787
30804
|
const u = [];
|
|
30788
30805
|
for (let d = 0; d <= Io.hour; d++)
|
|
30789
|
-
for (let f = 0; f < 60; f +=
|
|
30806
|
+
for (let f = 0; f < 60; f += Fq)
|
|
30790
30807
|
u.push(`${Oo(d)}:${Oo(f)}`);
|
|
30791
30808
|
return u;
|
|
30792
30809
|
}, []), s = oe(() => {
|
|
@@ -30794,7 +30811,7 @@ const $q = 15, Fq = N(
|
|
|
30794
30811
|
return u && a.includes(u) ? u : void 0;
|
|
30795
30812
|
}, [a, r.time]), i = (u) => {
|
|
30796
30813
|
r.setTime(g2(u)), r.close();
|
|
30797
|
-
}, { listProps: l, optionProps: c } =
|
|
30814
|
+
}, { listProps: l, optionProps: c } = $q({
|
|
30798
30815
|
options: a,
|
|
30799
30816
|
selected: s,
|
|
30800
30817
|
onSelect: i,
|
|
@@ -30806,7 +30823,7 @@ const $q = 15, Fq = N(
|
|
|
30806
30823
|
{
|
|
30807
30824
|
ref: o,
|
|
30808
30825
|
role: "listbox",
|
|
30809
|
-
className: D(
|
|
30826
|
+
className: D(Aq.oxTimePickerList, e),
|
|
30810
30827
|
"data-testid": `${r.dataTestid}-list`,
|
|
30811
30828
|
...l,
|
|
30812
30829
|
...n,
|
|
@@ -30830,13 +30847,13 @@ const $q = 15, Fq = N(
|
|
|
30830
30847
|
);
|
|
30831
30848
|
}
|
|
30832
30849
|
);
|
|
30833
|
-
|
|
30850
|
+
Lq.displayName = "OxTimePickerList";
|
|
30834
30851
|
const sl = {
|
|
30835
30852
|
"ox-textarea": "_ox-textarea_1l77n_2",
|
|
30836
30853
|
"ox-textarea-surface": "_ox-textarea-surface_1l77n_2",
|
|
30837
30854
|
"ox-textarea-surface-box": "_ox-textarea-surface-box_1l77n_2",
|
|
30838
30855
|
"ox-textarea-footer": "_ox-textarea-footer_1l77n_2"
|
|
30839
|
-
},
|
|
30856
|
+
}, zq = N(
|
|
30840
30857
|
({
|
|
30841
30858
|
className: e,
|
|
30842
30859
|
maxRows: t = 4,
|
|
@@ -30916,18 +30933,18 @@ const sl = {
|
|
|
30916
30933
|
);
|
|
30917
30934
|
}
|
|
30918
30935
|
);
|
|
30919
|
-
|
|
30920
|
-
const
|
|
30921
|
-
oxPsnSwitch:
|
|
30922
|
-
oxPsnHandler:
|
|
30923
|
-
oxPsnRegular:
|
|
30924
|
-
oxPsnGlyph:
|
|
30925
|
-
oxPsnSmall:
|
|
30926
|
-
oxPsnOn:
|
|
30927
|
-
oxPsnOff:
|
|
30928
|
-
oxPsnEnabled:
|
|
30929
|
-
oxPsnDisabled:
|
|
30930
|
-
},
|
|
30936
|
+
zq.displayName = "OxTextarea";
|
|
30937
|
+
const Bq = "_oxPsnSwitch_s4nop_2", Hq = "_oxPsnHandler_s4nop_2", Vq = "_oxPsnRegular_s4nop_2", Wq = "_oxPsnGlyph_s4nop_2", Gq = "_oxPsnSmall_s4nop_2", jq = "_oxPsnOn_s4nop_2", Uq = "_oxPsnOff_s4nop_2", qq = "_oxPsnEnabled_s4nop_2", Yq = "_oxPsnDisabled_s4nop_2", qn = {
|
|
30938
|
+
oxPsnSwitch: Bq,
|
|
30939
|
+
oxPsnHandler: Hq,
|
|
30940
|
+
oxPsnRegular: Vq,
|
|
30941
|
+
oxPsnGlyph: Wq,
|
|
30942
|
+
oxPsnSmall: Gq,
|
|
30943
|
+
oxPsnOn: jq,
|
|
30944
|
+
oxPsnOff: Uq,
|
|
30945
|
+
oxPsnEnabled: qq,
|
|
30946
|
+
oxPsnDisabled: Yq
|
|
30947
|
+
}, Kq = N(
|
|
30931
30948
|
({
|
|
30932
30949
|
className: e,
|
|
30933
30950
|
checked: t = !1,
|
|
@@ -30982,9 +30999,9 @@ const zq = "_oxPsnSwitch_s4nop_2", Bq = "_oxPsnHandler_s4nop_2", Hq = "_oxPsnReg
|
|
|
30982
30999
|
);
|
|
30983
31000
|
}
|
|
30984
31001
|
);
|
|
30985
|
-
|
|
30986
|
-
const
|
|
30987
|
-
var
|
|
31002
|
+
Kq.displayName = "OxSwitch";
|
|
31003
|
+
const dee = ["regular", "small"];
|
|
31004
|
+
var Xq = Object.defineProperty, po = (e, t) => Xq(e, "name", { value: t, configurable: !0 }), Zh = "Checkbox", [Zq] = sn(Zh), [Jq, Jh] = Zq(Zh);
|
|
30988
31005
|
function C2(e) {
|
|
30989
31006
|
const {
|
|
30990
31007
|
__scopeCheckbox: t,
|
|
@@ -31029,7 +31046,7 @@ function C2(e) {
|
|
|
31029
31046
|
setBubbleInput: b
|
|
31030
31047
|
};
|
|
31031
31048
|
return /* @__PURE__ */ p(
|
|
31032
|
-
|
|
31049
|
+
Jq,
|
|
31033
31050
|
{
|
|
31034
31051
|
scope: t,
|
|
31035
31052
|
..._,
|
|
@@ -31038,7 +31055,7 @@ function C2(e) {
|
|
|
31038
31055
|
);
|
|
31039
31056
|
}
|
|
31040
31057
|
po(C2, "CheckboxProvider");
|
|
31041
|
-
var
|
|
31058
|
+
var Qq = "CheckboxTrigger", eY = /* @__PURE__ */ x.forwardRef(
|
|
31042
31059
|
/* @__PURE__ */ po(function({ __scopeCheckbox: t, onKeyDown: n, onClick: o, ...r }, a) {
|
|
31043
31060
|
const {
|
|
31044
31061
|
control: s,
|
|
@@ -31052,7 +31069,7 @@ var Jq = "CheckboxTrigger", Qq = /* @__PURE__ */ x.forwardRef(
|
|
|
31052
31069
|
onUserInteraction: g,
|
|
31053
31070
|
isFormControl: m,
|
|
31054
31071
|
bubbleInput: v
|
|
31055
|
-
} = Jh(
|
|
31072
|
+
} = Jh(Qq, t), b = Qe(a, d), y = x.useRef(c);
|
|
31056
31073
|
return x.useEffect(() => {
|
|
31057
31074
|
const w = s == null ? void 0 : s.form;
|
|
31058
31075
|
if (w) {
|
|
@@ -31081,7 +31098,7 @@ var Jq = "CheckboxTrigger", Qq = /* @__PURE__ */ x.forwardRef(
|
|
|
31081
31098
|
}
|
|
31082
31099
|
);
|
|
31083
31100
|
}, "CheckboxTrigger")
|
|
31084
|
-
),
|
|
31101
|
+
), tY = /* @__PURE__ */ x.forwardRef(
|
|
31085
31102
|
// blank line to reduce diff noise
|
|
31086
31103
|
/* @__PURE__ */ po(function(t, n) {
|
|
31087
31104
|
const {
|
|
@@ -31110,7 +31127,7 @@ var Jq = "CheckboxTrigger", Qq = /* @__PURE__ */ x.forwardRef(
|
|
|
31110
31127
|
value: c,
|
|
31111
31128
|
internal_do_not_use_render: ({ isFormControl: h }) => /* @__PURE__ */ q(_t, { children: [
|
|
31112
31129
|
/* @__PURE__ */ p(
|
|
31113
|
-
|
|
31130
|
+
eY,
|
|
31114
31131
|
{
|
|
31115
31132
|
...f,
|
|
31116
31133
|
ref: n,
|
|
@@ -31118,7 +31135,7 @@ var Jq = "CheckboxTrigger", Qq = /* @__PURE__ */ x.forwardRef(
|
|
|
31118
31135
|
}
|
|
31119
31136
|
),
|
|
31120
31137
|
h && /* @__PURE__ */ p(
|
|
31121
|
-
|
|
31138
|
+
aY,
|
|
31122
31139
|
{
|
|
31123
31140
|
__scopeCheckbox: o
|
|
31124
31141
|
}
|
|
@@ -31127,10 +31144,10 @@ var Jq = "CheckboxTrigger", Qq = /* @__PURE__ */ x.forwardRef(
|
|
|
31127
31144
|
}
|
|
31128
31145
|
);
|
|
31129
31146
|
}, "Checkbox")
|
|
31130
|
-
),
|
|
31147
|
+
), nY = "CheckboxIndicator", oY = /* @__PURE__ */ x.forwardRef(
|
|
31131
31148
|
// blank line to reduce diff noise
|
|
31132
31149
|
/* @__PURE__ */ po(function(t, n) {
|
|
31133
|
-
const { __scopeCheckbox: o, forceMount: r, ...a } = t, s = Jh(
|
|
31150
|
+
const { __scopeCheckbox: o, forceMount: r, ...a } = t, s = Jh(nY, o);
|
|
31134
31151
|
return /* @__PURE__ */ p(
|
|
31135
31152
|
_n,
|
|
31136
31153
|
{
|
|
@@ -31148,7 +31165,7 @@ var Jq = "CheckboxTrigger", Qq = /* @__PURE__ */ x.forwardRef(
|
|
|
31148
31165
|
}
|
|
31149
31166
|
);
|
|
31150
31167
|
}, "CheckboxIndicator")
|
|
31151
|
-
),
|
|
31168
|
+
), rY = "CheckboxBubbleInput", aY = /* @__PURE__ */ x.forwardRef(
|
|
31152
31169
|
// blank line to reduce diff noise
|
|
31153
31170
|
/* @__PURE__ */ po(function({ __scopeCheckbox: t, onClick: n, ...o }, r) {
|
|
31154
31171
|
const {
|
|
@@ -31164,7 +31181,7 @@ var Jq = "CheckboxTrigger", Qq = /* @__PURE__ */ x.forwardRef(
|
|
|
31164
31181
|
form: g,
|
|
31165
31182
|
bubbleInput: m,
|
|
31166
31183
|
setBubbleInput: v
|
|
31167
|
-
} = Jh(
|
|
31184
|
+
} = Jh(rY, t), b = Qe(r, v), y = Rp(a), w = x.useRef(!1), S = x.useRef(l), C = x.useRef(i);
|
|
31168
31185
|
x.useEffect(() => {
|
|
31169
31186
|
const P = m;
|
|
31170
31187
|
if (!P) return;
|
|
@@ -31228,20 +31245,20 @@ function Qh(e) {
|
|
|
31228
31245
|
return io(e) ? "indeterminate" : e ? "checked" : "unchecked";
|
|
31229
31246
|
}
|
|
31230
31247
|
po(Qh, "getState");
|
|
31231
|
-
const
|
|
31248
|
+
const sY = `<svg width="1.2em" height="1.2em" stroke-color="currentColor" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">
|
|
31232
31249
|
<g class="Size=24px, Disable=false">
|
|
31233
31250
|
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M5 12h14" class="Vector"/>
|
|
31234
31251
|
</g>
|
|
31235
31252
|
</svg>
|
|
31236
|
-
`,
|
|
31237
|
-
oxCheckboxRoot:
|
|
31238
|
-
oxCheckboxIcon:
|
|
31239
|
-
oxCheckboxIndicator:
|
|
31240
|
-
oxCheckboxRounded:
|
|
31253
|
+
`, iY = "_oxCheckboxRoot_1v968_2", lY = "_oxCheckboxIcon_1v968_2", cY = "_oxCheckboxIndicator_1v968_2", uY = "_oxCheckboxRounded_1v968_2", Ka = {
|
|
31254
|
+
oxCheckboxRoot: iY,
|
|
31255
|
+
oxCheckboxIcon: lY,
|
|
31256
|
+
oxCheckboxIndicator: cY,
|
|
31257
|
+
oxCheckboxRounded: uY
|
|
31241
31258
|
}, em = N(({ className: e, variant: t = "default", checked: n, id: o, ...r }, a) => {
|
|
31242
31259
|
const s = n === "indeterminate", i = Ft(o);
|
|
31243
31260
|
return /* @__PURE__ */ p(
|
|
31244
|
-
|
|
31261
|
+
tY,
|
|
31245
31262
|
{
|
|
31246
31263
|
ref: a,
|
|
31247
31264
|
...i,
|
|
@@ -31254,22 +31271,22 @@ const aY = `<svg width="1.2em" height="1.2em" stroke-color="currentColor" xmlns=
|
|
|
31254
31271
|
),
|
|
31255
31272
|
...r,
|
|
31256
31273
|
children: /* @__PURE__ */ p(
|
|
31257
|
-
|
|
31274
|
+
oY,
|
|
31258
31275
|
{
|
|
31259
31276
|
forceMount: s ? !0 : void 0,
|
|
31260
31277
|
className: Ka.oxCheckboxIndicator,
|
|
31261
|
-
children: s ? /* @__PURE__ */ p(le, { icon:
|
|
31278
|
+
children: s ? /* @__PURE__ */ p(le, { icon: sY, className: Ka.oxCheckboxIcon }) : /* @__PURE__ */ p(le, { icon: zo, className: Ka.oxCheckboxIcon })
|
|
31262
31279
|
}
|
|
31263
31280
|
)
|
|
31264
31281
|
}
|
|
31265
31282
|
);
|
|
31266
31283
|
});
|
|
31267
31284
|
em.displayName = "OxCheckbox";
|
|
31268
|
-
const
|
|
31269
|
-
oxRadioRoot:
|
|
31270
|
-
oxRadioDot:
|
|
31271
|
-
oxRadioIndicator:
|
|
31272
|
-
},
|
|
31285
|
+
const dY = "_oxRadioRoot_o3gpb_2", fY = "_oxRadioDot_o3gpb_2", pY = "_oxRadioIndicator_o3gpb_2", fd = {
|
|
31286
|
+
oxRadioRoot: dY,
|
|
31287
|
+
oxRadioDot: fY,
|
|
31288
|
+
oxRadioIndicator: pY
|
|
31289
|
+
}, hY = N(({ className: e, ...t }, n) => /* @__PURE__ */ p(
|
|
31273
31290
|
Mh,
|
|
31274
31291
|
{
|
|
31275
31292
|
ref: n,
|
|
@@ -31279,12 +31296,12 @@ const uY = "_oxRadioRoot_o3gpb_2", dY = "_oxRadioDot_o3gpb_2", fY = "_oxRadioInd
|
|
|
31279
31296
|
children: /* @__PURE__ */ p(cW, { className: fd.oxRadioIndicator, children: /* @__PURE__ */ p("span", { className: fd.oxRadioDot }) })
|
|
31280
31297
|
}
|
|
31281
31298
|
));
|
|
31282
|
-
|
|
31283
|
-
const
|
|
31284
|
-
oxRadioGroup:
|
|
31285
|
-
oxRadioGroupVertical:
|
|
31286
|
-
oxRadioGroupHorizontal:
|
|
31287
|
-
},
|
|
31299
|
+
hY.displayName = "OxRadioButton";
|
|
31300
|
+
const mY = "_oxRadioGroup_1tk27_2", gY = "_oxRadioGroupVertical_1tk27_2", xY = "_oxRadioGroupHorizontal_1tk27_2", pd = {
|
|
31301
|
+
oxRadioGroup: mY,
|
|
31302
|
+
oxRadioGroupVertical: gY,
|
|
31303
|
+
oxRadioGroupHorizontal: xY
|
|
31304
|
+
}, vY = N(({ className: e, orientation: t = "vertical", ...n }, o) => {
|
|
31288
31305
|
const r = Mc();
|
|
31289
31306
|
return /* @__PURE__ */ p(
|
|
31290
31307
|
Dh,
|
|
@@ -31302,15 +31319,15 @@ const hY = "_oxRadioGroup_1tk27_2", mY = "_oxRadioGroupVertical_1tk27_2", gY = "
|
|
|
31302
31319
|
}
|
|
31303
31320
|
);
|
|
31304
31321
|
});
|
|
31305
|
-
|
|
31306
|
-
const
|
|
31307
|
-
oxToggleGroup:
|
|
31308
|
-
oxToggleGroupGapSm:
|
|
31309
|
-
oxToggleGroupGapMd:
|
|
31310
|
-
oxToggleGroupGapLg:
|
|
31311
|
-
oxToggleGroupAlignStart:
|
|
31312
|
-
oxToggleGroupAlignCenter:
|
|
31313
|
-
},
|
|
31322
|
+
vY.displayName = "OxRadioGroup";
|
|
31323
|
+
const bY = "_oxToggleGroup_g360l_2", yY = "_oxToggleGroupGapSm_g360l_2", wY = "_oxToggleGroupGapMd_g360l_2", _Y = "_oxToggleGroupGapLg_g360l_2", CY = "_oxToggleGroupAlignStart_g360l_2", SY = "_oxToggleGroupAlignCenter_g360l_2", hd = {
|
|
31324
|
+
oxToggleGroup: bY,
|
|
31325
|
+
oxToggleGroupGapSm: yY,
|
|
31326
|
+
oxToggleGroupGapMd: wY,
|
|
31327
|
+
oxToggleGroupGapLg: _Y,
|
|
31328
|
+
oxToggleGroupAlignStart: CY,
|
|
31329
|
+
oxToggleGroupAlignCenter: SY
|
|
31330
|
+
}, PY = N(
|
|
31314
31331
|
({ className: e, align: t = "start", gap: n = "md", ...o }, r) => /* @__PURE__ */ p(
|
|
31315
31332
|
"div",
|
|
31316
31333
|
{
|
|
@@ -31326,10 +31343,10 @@ const vY = "_oxToggleGroup_g360l_2", bY = "_oxToggleGroupGapSm_g360l_2", yY = "_
|
|
|
31326
31343
|
}
|
|
31327
31344
|
)
|
|
31328
31345
|
);
|
|
31329
|
-
|
|
31330
|
-
const
|
|
31331
|
-
oxToggleLabel:
|
|
31332
|
-
},
|
|
31346
|
+
PY.displayName = "OxToggleGroup";
|
|
31347
|
+
const TY = "_oxToggleLabel_1gxww_2", EY = {
|
|
31348
|
+
oxToggleLabel: TY
|
|
31349
|
+
}, kY = N(
|
|
31333
31350
|
({ className: e, htmlFor: t, ...n }, o) => {
|
|
31334
31351
|
const r = Dc();
|
|
31335
31352
|
return /* @__PURE__ */ p(
|
|
@@ -31338,19 +31355,19 @@ const PY = "_oxToggleLabel_1gxww_2", TY = {
|
|
|
31338
31355
|
ref: o,
|
|
31339
31356
|
htmlFor: t ?? (r == null ? void 0 : r.controlId),
|
|
31340
31357
|
"data-slot": "label",
|
|
31341
|
-
className: D(
|
|
31358
|
+
className: D(EY.oxToggleLabel, e),
|
|
31342
31359
|
...n
|
|
31343
31360
|
}
|
|
31344
31361
|
);
|
|
31345
31362
|
}
|
|
31346
31363
|
);
|
|
31347
|
-
|
|
31348
|
-
const
|
|
31349
|
-
oxToggleDescription:
|
|
31350
|
-
oxToggleDescriptionXs:
|
|
31351
|
-
oxToggleDescriptionSm:
|
|
31352
|
-
oxToggleDescriptionBase:
|
|
31353
|
-
},
|
|
31364
|
+
kY.displayName = "OxToggleLabel";
|
|
31365
|
+
const RY = "_oxToggleDescription_18dfq_2", IY = "_oxToggleDescriptionXs_18dfq_2", OY = "_oxToggleDescriptionSm_18dfq_2", DY = "_oxToggleDescriptionBase_18dfq_2", e0 = {
|
|
31366
|
+
oxToggleDescription: RY,
|
|
31367
|
+
oxToggleDescriptionXs: IY,
|
|
31368
|
+
oxToggleDescriptionSm: OY,
|
|
31369
|
+
oxToggleDescriptionBase: DY
|
|
31370
|
+
}, MY = N(({ className: e, size: t = "sm", ...n }, o) => /* @__PURE__ */ p(
|
|
31354
31371
|
"span",
|
|
31355
31372
|
{
|
|
31356
31373
|
ref: o,
|
|
@@ -31363,34 +31380,34 @@ const kY = "_oxToggleDescription_18dfq_2", RY = "_oxToggleDescriptionXs_18dfq_2"
|
|
|
31363
31380
|
...n
|
|
31364
31381
|
}
|
|
31365
31382
|
));
|
|
31366
|
-
|
|
31367
|
-
const
|
|
31368
|
-
oxTableRoot:
|
|
31369
|
-
oxTableBulkCount:
|
|
31370
|
-
oxTableBulkActions:
|
|
31371
|
-
oxTableScrollWrapper:
|
|
31372
|
-
oxTableScrollContainer:
|
|
31373
|
-
oxTableScrollContainerVirtual:
|
|
31374
|
-
oxTableScrollContainerDraggable:
|
|
31375
|
-
oxTableScrollContainerDragging:
|
|
31376
|
-
oxTableScrollWrapperShadowLeft:
|
|
31377
|
-
oxTableScrollWrapperShadowRight:
|
|
31378
|
-
oxTableFixedLayout:
|
|
31379
|
-
oxTableFixedLayoutVirtual:
|
|
31380
|
-
oxTableFixedFrame:
|
|
31381
|
-
oxTableFixedFrameShadowLeft:
|
|
31382
|
-
oxTableFixedFrameShadowRight:
|
|
31383
|
-
oxTableFixedSection:
|
|
31384
|
-
oxTableFixedLeft:
|
|
31385
|
-
oxTableFixedRight:
|
|
31386
|
-
oxTableFixedLeftShadow:
|
|
31387
|
-
oxTableFixedRightShadow:
|
|
31388
|
-
oxTableFixedScroll:
|
|
31389
|
-
oxTableFixedScrollDraggable:
|
|
31390
|
-
oxTableFixedScrollDragging:
|
|
31391
|
-
oxTable:
|
|
31383
|
+
MY.displayName = "OxToggleDescription";
|
|
31384
|
+
const AY = "_oxTableRoot_1boxg_2", NY = "_oxTableBulkCount_1boxg_2", $Y = "_oxTableBulkActions_1boxg_2", FY = "_oxTableScrollWrapper_1boxg_2", LY = "_oxTableScrollContainer_1boxg_2", zY = "_oxTableScrollContainerVirtual_1boxg_2", BY = "_oxTableScrollContainerDraggable_1boxg_2", HY = "_oxTableScrollContainerDragging_1boxg_2", VY = "_oxTableScrollWrapperShadowLeft_1boxg_2", WY = "_oxTableScrollWrapperShadowRight_1boxg_2", GY = "_oxTableFixedLayout_1boxg_2", jY = "_oxTableFixedLayoutVirtual_1boxg_2", UY = "_oxTableFixedFrame_1boxg_2", qY = "_oxTableFixedFrameShadowLeft_1boxg_2", YY = "_oxTableFixedFrameShadowRight_1boxg_2", KY = "_oxTableFixedSection_1boxg_2", XY = "_oxTableFixedLeft_1boxg_2", ZY = "_oxTableFixedRight_1boxg_2", JY = "_oxTableFixedLeftShadow_1boxg_2", QY = "_oxTableFixedRightShadow_1boxg_2", eK = "_oxTableFixedScroll_1boxg_2", tK = "_oxTableFixedScrollDraggable_1boxg_2", nK = "_oxTableFixedScrollDragging_1boxg_2", oK = "_oxTable_1boxg_2", me = {
|
|
31385
|
+
oxTableRoot: AY,
|
|
31386
|
+
oxTableBulkCount: NY,
|
|
31387
|
+
oxTableBulkActions: $Y,
|
|
31388
|
+
oxTableScrollWrapper: FY,
|
|
31389
|
+
oxTableScrollContainer: LY,
|
|
31390
|
+
oxTableScrollContainerVirtual: zY,
|
|
31391
|
+
oxTableScrollContainerDraggable: BY,
|
|
31392
|
+
oxTableScrollContainerDragging: HY,
|
|
31393
|
+
oxTableScrollWrapperShadowLeft: VY,
|
|
31394
|
+
oxTableScrollWrapperShadowRight: WY,
|
|
31395
|
+
oxTableFixedLayout: GY,
|
|
31396
|
+
oxTableFixedLayoutVirtual: jY,
|
|
31397
|
+
oxTableFixedFrame: UY,
|
|
31398
|
+
oxTableFixedFrameShadowLeft: qY,
|
|
31399
|
+
oxTableFixedFrameShadowRight: YY,
|
|
31400
|
+
oxTableFixedSection: KY,
|
|
31401
|
+
oxTableFixedLeft: XY,
|
|
31402
|
+
oxTableFixedRight: ZY,
|
|
31403
|
+
oxTableFixedLeftShadow: JY,
|
|
31404
|
+
oxTableFixedRightShadow: QY,
|
|
31405
|
+
oxTableFixedScroll: eK,
|
|
31406
|
+
oxTableFixedScrollDraggable: tK,
|
|
31407
|
+
oxTableFixedScrollDragging: nK,
|
|
31408
|
+
oxTable: oK
|
|
31392
31409
|
};
|
|
31393
|
-
function
|
|
31410
|
+
function rK() {
|
|
31394
31411
|
for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
|
|
31395
31412
|
t[n] = arguments[n];
|
|
31396
31413
|
return oe(
|
|
@@ -31440,7 +31457,7 @@ function om(e) {
|
|
|
31440
31457
|
return t.current == null ? void 0 : t.current(...o);
|
|
31441
31458
|
}, []);
|
|
31442
31459
|
}
|
|
31443
|
-
function
|
|
31460
|
+
function aK() {
|
|
31444
31461
|
const e = ee(null), t = Y((o, r) => {
|
|
31445
31462
|
e.current = setInterval(o, r);
|
|
31446
31463
|
}, []), n = Y(() => {
|
|
@@ -31508,7 +31525,7 @@ function T2(e) {
|
|
|
31508
31525
|
};
|
|
31509
31526
|
}
|
|
31510
31527
|
const Qr = /* @__PURE__ */ T2(1), Hl = /* @__PURE__ */ T2(-1);
|
|
31511
|
-
function
|
|
31528
|
+
function sK(e) {
|
|
31512
31529
|
return "clientX" in e && "clientY" in e;
|
|
31513
31530
|
}
|
|
31514
31531
|
function rm(e) {
|
|
@@ -31519,7 +31536,7 @@ function rm(e) {
|
|
|
31519
31536
|
} = Lt(e.target);
|
|
31520
31537
|
return t && e instanceof t;
|
|
31521
31538
|
}
|
|
31522
|
-
function
|
|
31539
|
+
function iK(e) {
|
|
31523
31540
|
if (!e)
|
|
31524
31541
|
return !1;
|
|
31525
31542
|
const {
|
|
@@ -31528,7 +31545,7 @@ function sK(e) {
|
|
|
31528
31545
|
return t && e instanceof t;
|
|
31529
31546
|
}
|
|
31530
31547
|
function $f(e) {
|
|
31531
|
-
if (
|
|
31548
|
+
if (iK(e)) {
|
|
31532
31549
|
if (e.touches && e.touches.length) {
|
|
31533
31550
|
const {
|
|
31534
31551
|
clientX: t,
|
|
@@ -31549,7 +31566,7 @@ function $f(e) {
|
|
|
31549
31566
|
};
|
|
31550
31567
|
}
|
|
31551
31568
|
}
|
|
31552
|
-
return
|
|
31569
|
+
return sK(e) ? {
|
|
31553
31570
|
x: e.clientX,
|
|
31554
31571
|
y: e.clientY
|
|
31555
31572
|
} : null;
|
|
@@ -31594,23 +31611,23 @@ const Ls = /* @__PURE__ */ Object.freeze({
|
|
|
31594
31611
|
}
|
|
31595
31612
|
}
|
|
31596
31613
|
}), t0 = "a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";
|
|
31597
|
-
function
|
|
31614
|
+
function lK(e) {
|
|
31598
31615
|
return e.matches(t0) ? e : e.querySelector(t0);
|
|
31599
31616
|
}
|
|
31600
|
-
const
|
|
31617
|
+
const cK = {
|
|
31601
31618
|
display: "none"
|
|
31602
31619
|
};
|
|
31603
|
-
function
|
|
31620
|
+
function uK(e) {
|
|
31604
31621
|
let {
|
|
31605
31622
|
id: t,
|
|
31606
31623
|
value: n
|
|
31607
31624
|
} = e;
|
|
31608
31625
|
return ne.createElement("div", {
|
|
31609
31626
|
id: t,
|
|
31610
|
-
style:
|
|
31627
|
+
style: cK
|
|
31611
31628
|
}, n);
|
|
31612
31629
|
}
|
|
31613
|
-
function
|
|
31630
|
+
function dK(e) {
|
|
31614
31631
|
let {
|
|
31615
31632
|
id: t,
|
|
31616
31633
|
announcement: n,
|
|
@@ -31638,7 +31655,7 @@ function uK(e) {
|
|
|
31638
31655
|
"aria-atomic": !0
|
|
31639
31656
|
}, n);
|
|
31640
31657
|
}
|
|
31641
|
-
function
|
|
31658
|
+
function fK() {
|
|
31642
31659
|
const [e, t] = te("");
|
|
31643
31660
|
return {
|
|
31644
31661
|
announce: Y((o) => {
|
|
@@ -31648,7 +31665,7 @@ function dK() {
|
|
|
31648
31665
|
};
|
|
31649
31666
|
}
|
|
31650
31667
|
const E2 = /* @__PURE__ */ Te(null);
|
|
31651
|
-
function
|
|
31668
|
+
function pK(e) {
|
|
31652
31669
|
const t = we(E2);
|
|
31653
31670
|
re(() => {
|
|
31654
31671
|
if (!t)
|
|
@@ -31656,7 +31673,7 @@ function fK(e) {
|
|
|
31656
31673
|
return t(e);
|
|
31657
31674
|
}, [e, t]);
|
|
31658
31675
|
}
|
|
31659
|
-
function
|
|
31676
|
+
function hK() {
|
|
31660
31677
|
const [e] = te(() => /* @__PURE__ */ new Set()), t = Y((o) => (e.add(o), () => e.delete(o)), [e]);
|
|
31661
31678
|
return [Y((o) => {
|
|
31662
31679
|
let {
|
|
@@ -31669,13 +31686,13 @@ function pK() {
|
|
|
31669
31686
|
});
|
|
31670
31687
|
}, [e]), t];
|
|
31671
31688
|
}
|
|
31672
|
-
const
|
|
31689
|
+
const mK = {
|
|
31673
31690
|
draggable: `
|
|
31674
31691
|
To pick up a draggable item, press the space bar.
|
|
31675
31692
|
While dragging, use the arrow keys to move the item.
|
|
31676
31693
|
Press space again to drop the item in its new position, or press escape to cancel.
|
|
31677
31694
|
`
|
|
31678
|
-
},
|
|
31695
|
+
}, gK = {
|
|
31679
31696
|
onDragStart(e) {
|
|
31680
31697
|
let {
|
|
31681
31698
|
active: t
|
|
@@ -31703,20 +31720,20 @@ const hK = {
|
|
|
31703
31720
|
return "Dragging was cancelled. Draggable item " + t.id + " was dropped.";
|
|
31704
31721
|
}
|
|
31705
31722
|
};
|
|
31706
|
-
function
|
|
31723
|
+
function xK(e) {
|
|
31707
31724
|
let {
|
|
31708
|
-
announcements: t =
|
|
31725
|
+
announcements: t = gK,
|
|
31709
31726
|
container: n,
|
|
31710
31727
|
hiddenTextDescribedById: o,
|
|
31711
|
-
screenReaderInstructions: r =
|
|
31728
|
+
screenReaderInstructions: r = mK
|
|
31712
31729
|
} = e;
|
|
31713
31730
|
const {
|
|
31714
31731
|
announce: a,
|
|
31715
31732
|
announcement: s
|
|
31716
|
-
} =
|
|
31733
|
+
} = fK(), i = pi("DndLiveRegion"), [l, c] = te(!1);
|
|
31717
31734
|
if (re(() => {
|
|
31718
31735
|
c(!0);
|
|
31719
|
-
}, []),
|
|
31736
|
+
}, []), pK(oe(() => ({
|
|
31720
31737
|
onDragStart(d) {
|
|
31721
31738
|
let {
|
|
31722
31739
|
active: f
|
|
@@ -31767,10 +31784,10 @@ function gK(e) {
|
|
|
31767
31784
|
}
|
|
31768
31785
|
}), [a, t])), !l)
|
|
31769
31786
|
return null;
|
|
31770
|
-
const u = ne.createElement(ne.Fragment, null, ne.createElement(
|
|
31787
|
+
const u = ne.createElement(ne.Fragment, null, ne.createElement(uK, {
|
|
31771
31788
|
id: o,
|
|
31772
31789
|
value: r.draggable
|
|
31773
|
-
}), ne.createElement(
|
|
31790
|
+
}), ne.createElement(dK, {
|
|
31774
31791
|
id: i,
|
|
31775
31792
|
announcement: s
|
|
31776
31793
|
}));
|
|
@@ -31782,7 +31799,7 @@ var pt;
|
|
|
31782
31799
|
})(pt || (pt = {}));
|
|
31783
31800
|
function Vl() {
|
|
31784
31801
|
}
|
|
31785
|
-
function
|
|
31802
|
+
function vK(e, t) {
|
|
31786
31803
|
return oe(
|
|
31787
31804
|
() => ({
|
|
31788
31805
|
sensor: e,
|
|
@@ -31792,7 +31809,7 @@ function xK(e, t) {
|
|
|
31792
31809
|
[e, t]
|
|
31793
31810
|
);
|
|
31794
31811
|
}
|
|
31795
|
-
function
|
|
31812
|
+
function bK() {
|
|
31796
31813
|
for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
|
|
31797
31814
|
t[n] = arguments[n];
|
|
31798
31815
|
return oe(
|
|
@@ -31805,10 +31822,10 @@ const vn = /* @__PURE__ */ Object.freeze({
|
|
|
31805
31822
|
x: 0,
|
|
31806
31823
|
y: 0
|
|
31807
31824
|
});
|
|
31808
|
-
function
|
|
31825
|
+
function yK(e, t) {
|
|
31809
31826
|
return Math.sqrt(Math.pow(e.x - t.x, 2) + Math.pow(e.y - t.y, 2));
|
|
31810
31827
|
}
|
|
31811
|
-
function
|
|
31828
|
+
function wK(e, t) {
|
|
31812
31829
|
let {
|
|
31813
31830
|
data: {
|
|
31814
31831
|
value: n
|
|
@@ -31820,7 +31837,7 @@ function yK(e, t) {
|
|
|
31820
31837
|
} = t;
|
|
31821
31838
|
return n - o;
|
|
31822
31839
|
}
|
|
31823
|
-
function
|
|
31840
|
+
function _K(e, t) {
|
|
31824
31841
|
let {
|
|
31825
31842
|
data: {
|
|
31826
31843
|
value: n
|
|
@@ -31832,7 +31849,7 @@ function wK(e, t) {
|
|
|
31832
31849
|
} = t;
|
|
31833
31850
|
return o - n;
|
|
31834
31851
|
}
|
|
31835
|
-
function
|
|
31852
|
+
function CK(e, t) {
|
|
31836
31853
|
if (!e || e.length === 0)
|
|
31837
31854
|
return null;
|
|
31838
31855
|
const [n] = e;
|
|
@@ -31844,7 +31861,7 @@ function n0(e, t, n) {
|
|
|
31844
31861
|
y: n + e.height * 0.5
|
|
31845
31862
|
};
|
|
31846
31863
|
}
|
|
31847
|
-
const
|
|
31864
|
+
const SK = (e) => {
|
|
31848
31865
|
let {
|
|
31849
31866
|
collisionRect: t,
|
|
31850
31867
|
droppableRects: n,
|
|
@@ -31856,7 +31873,7 @@ const CK = (e) => {
|
|
|
31856
31873
|
id: i
|
|
31857
31874
|
} = s, l = n.get(i);
|
|
31858
31875
|
if (l) {
|
|
31859
|
-
const c =
|
|
31876
|
+
const c = yK(n0(l), r);
|
|
31860
31877
|
a.push({
|
|
31861
31878
|
id: i,
|
|
31862
31879
|
data: {
|
|
@@ -31866,9 +31883,9 @@ const CK = (e) => {
|
|
|
31866
31883
|
});
|
|
31867
31884
|
}
|
|
31868
31885
|
}
|
|
31869
|
-
return a.sort(
|
|
31886
|
+
return a.sort(wK);
|
|
31870
31887
|
};
|
|
31871
|
-
function
|
|
31888
|
+
function PK(e, t) {
|
|
31872
31889
|
const n = Math.max(t.top, e.top), o = Math.max(t.left, e.left), r = Math.min(t.left + t.width, e.left + e.width), a = Math.min(t.top + t.height, e.top + e.height), s = r - o, i = a - n;
|
|
31873
31890
|
if (o < r && n < a) {
|
|
31874
31891
|
const l = t.width * t.height, c = e.width * e.height, u = s * i, d = u / (l + c - u);
|
|
@@ -31876,7 +31893,7 @@ function SK(e, t) {
|
|
|
31876
31893
|
}
|
|
31877
31894
|
return 0;
|
|
31878
31895
|
}
|
|
31879
|
-
const
|
|
31896
|
+
const TK = (e) => {
|
|
31880
31897
|
let {
|
|
31881
31898
|
collisionRect: t,
|
|
31882
31899
|
droppableRects: n,
|
|
@@ -31888,7 +31905,7 @@ const PK = (e) => {
|
|
|
31888
31905
|
id: s
|
|
31889
31906
|
} = a, i = n.get(s);
|
|
31890
31907
|
if (i) {
|
|
31891
|
-
const l =
|
|
31908
|
+
const l = PK(i, t);
|
|
31892
31909
|
l > 0 && r.push({
|
|
31893
31910
|
id: s,
|
|
31894
31911
|
data: {
|
|
@@ -31898,9 +31915,9 @@ const PK = (e) => {
|
|
|
31898
31915
|
});
|
|
31899
31916
|
}
|
|
31900
31917
|
}
|
|
31901
|
-
return r.sort(
|
|
31918
|
+
return r.sort(_K);
|
|
31902
31919
|
};
|
|
31903
|
-
function
|
|
31920
|
+
function EK(e, t, n) {
|
|
31904
31921
|
return {
|
|
31905
31922
|
...e,
|
|
31906
31923
|
scaleX: t && n ? t.width / n.width : 1,
|
|
@@ -31913,7 +31930,7 @@ function k2(e, t) {
|
|
|
31913
31930
|
y: e.top - t.top
|
|
31914
31931
|
} : vn;
|
|
31915
31932
|
}
|
|
31916
|
-
function
|
|
31933
|
+
function kK(e) {
|
|
31917
31934
|
return function(n) {
|
|
31918
31935
|
for (var o = arguments.length, r = new Array(o > 1 ? o - 1 : 0), a = 1; a < o; a++)
|
|
31919
31936
|
r[a - 1] = arguments[a];
|
|
@@ -31928,8 +31945,8 @@ function EK(e) {
|
|
|
31928
31945
|
});
|
|
31929
31946
|
};
|
|
31930
31947
|
}
|
|
31931
|
-
const
|
|
31932
|
-
function
|
|
31948
|
+
const RK = /* @__PURE__ */ kK(1);
|
|
31949
|
+
function IK(e) {
|
|
31933
31950
|
if (e.startsWith("matrix3d(")) {
|
|
31934
31951
|
const t = e.slice(9, -1).split(/, /);
|
|
31935
31952
|
return {
|
|
@@ -31949,8 +31966,8 @@ function RK(e) {
|
|
|
31949
31966
|
}
|
|
31950
31967
|
return null;
|
|
31951
31968
|
}
|
|
31952
|
-
function
|
|
31953
|
-
const o =
|
|
31969
|
+
function OK(e, t, n) {
|
|
31970
|
+
const o = IK(t);
|
|
31954
31971
|
if (!o)
|
|
31955
31972
|
return e;
|
|
31956
31973
|
const {
|
|
@@ -31968,18 +31985,18 @@ function IK(e, t, n) {
|
|
|
31968
31985
|
left: l
|
|
31969
31986
|
};
|
|
31970
31987
|
}
|
|
31971
|
-
const
|
|
31988
|
+
const DK = {
|
|
31972
31989
|
ignoreTransform: !1
|
|
31973
31990
|
};
|
|
31974
31991
|
function Ia(e, t) {
|
|
31975
|
-
t === void 0 && (t =
|
|
31992
|
+
t === void 0 && (t = DK);
|
|
31976
31993
|
let n = e.getBoundingClientRect();
|
|
31977
31994
|
if (t.ignoreTransform) {
|
|
31978
31995
|
const {
|
|
31979
31996
|
transform: c,
|
|
31980
31997
|
transformOrigin: u
|
|
31981
31998
|
} = Lt(e).getComputedStyle(e);
|
|
31982
|
-
c && (n =
|
|
31999
|
+
c && (n = OK(n, c, u));
|
|
31983
32000
|
}
|
|
31984
32001
|
const {
|
|
31985
32002
|
top: o,
|
|
@@ -32003,7 +32020,7 @@ function o0(e) {
|
|
|
32003
32020
|
ignoreTransform: !0
|
|
32004
32021
|
});
|
|
32005
32022
|
}
|
|
32006
|
-
function
|
|
32023
|
+
function MK(e) {
|
|
32007
32024
|
const t = e.innerWidth, n = e.innerHeight;
|
|
32008
32025
|
return {
|
|
32009
32026
|
top: 0,
|
|
@@ -32014,10 +32031,10 @@ function DK(e) {
|
|
|
32014
32031
|
height: n
|
|
32015
32032
|
};
|
|
32016
32033
|
}
|
|
32017
|
-
function
|
|
32034
|
+
function AK(e, t) {
|
|
32018
32035
|
return t === void 0 && (t = Lt(e).getComputedStyle(e)), t.position === "fixed";
|
|
32019
32036
|
}
|
|
32020
|
-
function
|
|
32037
|
+
function NK(e, t) {
|
|
32021
32038
|
t === void 0 && (t = Lt(e).getComputedStyle(e));
|
|
32022
32039
|
const n = /(auto|scroll|overlay)/;
|
|
32023
32040
|
return ["overflow", "overflowX", "overflowY"].some((r) => {
|
|
@@ -32035,7 +32052,7 @@ function am(e, t) {
|
|
|
32035
32052
|
if (!di(r) || P2(r) || n.includes(r))
|
|
32036
32053
|
return n;
|
|
32037
32054
|
const a = Lt(e).getComputedStyle(r);
|
|
32038
|
-
return r !== e &&
|
|
32055
|
+
return r !== e && NK(r, a) && n.push(r), AK(r, a) ? n : o(r.parentNode);
|
|
32039
32056
|
}
|
|
32040
32057
|
return e ? o(e) : n;
|
|
32041
32058
|
}
|
|
@@ -32088,18 +32105,18 @@ function M2(e) {
|
|
|
32088
32105
|
minScroll: t
|
|
32089
32106
|
};
|
|
32090
32107
|
}
|
|
32091
|
-
const
|
|
32108
|
+
const $K = {
|
|
32092
32109
|
x: 0.2,
|
|
32093
32110
|
y: 0.2
|
|
32094
32111
|
};
|
|
32095
|
-
function
|
|
32112
|
+
function FK(e, t, n, o, r) {
|
|
32096
32113
|
let {
|
|
32097
32114
|
top: a,
|
|
32098
32115
|
left: s,
|
|
32099
32116
|
right: i,
|
|
32100
32117
|
bottom: l
|
|
32101
32118
|
} = n;
|
|
32102
|
-
o === void 0 && (o = 10), r === void 0 && (r =
|
|
32119
|
+
o === void 0 && (o = 10), r === void 0 && (r = $K);
|
|
32103
32120
|
const {
|
|
32104
32121
|
isTop: c,
|
|
32105
32122
|
isBottom: u,
|
|
@@ -32120,7 +32137,7 @@ function $K(e, t, n, o, r) {
|
|
|
32120
32137
|
speed: g
|
|
32121
32138
|
};
|
|
32122
32139
|
}
|
|
32123
|
-
function
|
|
32140
|
+
function LK(e) {
|
|
32124
32141
|
if (e === document.scrollingElement) {
|
|
32125
32142
|
const {
|
|
32126
32143
|
innerWidth: a,
|
|
@@ -32153,13 +32170,13 @@ function FK(e) {
|
|
|
32153
32170
|
function A2(e) {
|
|
32154
32171
|
return e.reduce((t, n) => Qr(t, Ff(n)), vn);
|
|
32155
32172
|
}
|
|
32156
|
-
function
|
|
32173
|
+
function zK(e) {
|
|
32157
32174
|
return e.reduce((t, n) => t + I2(n), 0);
|
|
32158
32175
|
}
|
|
32159
|
-
function
|
|
32176
|
+
function BK(e) {
|
|
32160
32177
|
return e.reduce((t, n) => t + O2(n), 0);
|
|
32161
32178
|
}
|
|
32162
|
-
function
|
|
32179
|
+
function HK(e, t) {
|
|
32163
32180
|
if (t === void 0 && (t = Ia), !e)
|
|
32164
32181
|
return;
|
|
32165
32182
|
const {
|
|
@@ -32173,7 +32190,7 @@ function BK(e, t) {
|
|
|
32173
32190
|
inline: "center"
|
|
32174
32191
|
});
|
|
32175
32192
|
}
|
|
32176
|
-
const
|
|
32193
|
+
const VK = [["x", ["left", "right"], zK], ["y", ["top", "bottom"], BK]];
|
|
32177
32194
|
class sm {
|
|
32178
32195
|
constructor(t, n) {
|
|
32179
32196
|
this.rect = void 0, this.width = void 0, this.height = void 0, this.top = void 0, this.bottom = void 0, this.right = void 0, this.left = void 0;
|
|
@@ -32181,7 +32198,7 @@ class sm {
|
|
|
32181
32198
|
this.rect = {
|
|
32182
32199
|
...t
|
|
32183
32200
|
}, this.width = t.width, this.height = t.height;
|
|
32184
|
-
for (const [a, s, i] of
|
|
32201
|
+
for (const [a, s, i] of VK)
|
|
32185
32202
|
for (const l of s)
|
|
32186
32203
|
Object.defineProperty(this, l, {
|
|
32187
32204
|
get: () => {
|
|
@@ -32209,7 +32226,7 @@ class bs {
|
|
|
32209
32226
|
(r = this.target) == null || r.addEventListener(t, n, o), this.listeners.push([t, n, o]);
|
|
32210
32227
|
}
|
|
32211
32228
|
}
|
|
32212
|
-
function
|
|
32229
|
+
function WK(e) {
|
|
32213
32230
|
const {
|
|
32214
32231
|
EventTarget: t
|
|
32215
32232
|
} = Lt(e);
|
|
@@ -32226,7 +32243,7 @@ var nn;
|
|
|
32226
32243
|
function r0(e) {
|
|
32227
32244
|
e.preventDefault();
|
|
32228
32245
|
}
|
|
32229
|
-
function
|
|
32246
|
+
function GK(e) {
|
|
32230
32247
|
e.stopPropagation();
|
|
32231
32248
|
}
|
|
32232
32249
|
var Be;
|
|
@@ -32237,7 +32254,7 @@ const N2 = {
|
|
|
32237
32254
|
start: [Be.Space, Be.Enter],
|
|
32238
32255
|
cancel: [Be.Esc],
|
|
32239
32256
|
end: [Be.Space, Be.Enter, Be.Tab]
|
|
32240
|
-
},
|
|
32257
|
+
}, jK = (e, t) => {
|
|
32241
32258
|
let {
|
|
32242
32259
|
currentCoordinates: n
|
|
32243
32260
|
} = t;
|
|
@@ -32282,7 +32299,7 @@ class $2 {
|
|
|
32282
32299
|
activeNode: t,
|
|
32283
32300
|
onStart: n
|
|
32284
32301
|
} = this.props, o = t.node.current;
|
|
32285
|
-
o &&
|
|
32302
|
+
o && HK(o), n(vn);
|
|
32286
32303
|
}
|
|
32287
32304
|
handleKeyDown(t) {
|
|
32288
32305
|
if (rm(t)) {
|
|
@@ -32292,7 +32309,7 @@ class $2 {
|
|
|
32292
32309
|
options: r
|
|
32293
32310
|
} = this.props, {
|
|
32294
32311
|
keyboardCodes: a = N2,
|
|
32295
|
-
coordinateGetter: s =
|
|
32312
|
+
coordinateGetter: s = jK,
|
|
32296
32313
|
scrollBehavior: i = "smooth"
|
|
32297
32314
|
} = r, {
|
|
32298
32315
|
code: l
|
|
@@ -32332,7 +32349,7 @@ class $2 {
|
|
|
32332
32349
|
isBottom: S,
|
|
32333
32350
|
maxScroll: C,
|
|
32334
32351
|
minScroll: _
|
|
32335
|
-
} = M2(m), P =
|
|
32352
|
+
} = M2(m), P = LK(m), T = {
|
|
32336
32353
|
x: Math.min(v === Be.Right ? P.right - P.width / 2 : P.right, Math.max(v === Be.Right ? P.left : P.left + P.width / 2, d.x)),
|
|
32337
32354
|
y: Math.min(v === Be.Down ? P.bottom - P.height / 2 : P.bottom, Math.max(v === Be.Down ? P.top : P.top + P.height / 2, d.y))
|
|
32338
32355
|
}, E = v === Be.Right && !y || v === Be.Left && !w, k = v === Be.Down && !S || v === Be.Up && !b;
|
|
@@ -32422,7 +32439,7 @@ function s0(e) {
|
|
|
32422
32439
|
class im {
|
|
32423
32440
|
constructor(t, n, o) {
|
|
32424
32441
|
var r;
|
|
32425
|
-
o === void 0 && (o =
|
|
32442
|
+
o === void 0 && (o = WK(t.event.target)), this.props = void 0, this.events = void 0, this.autoScrollEnabled = !0, this.document = void 0, this.activated = !1, this.initialCoordinates = void 0, this.timeoutId = null, this.listeners = void 0, this.documentListeners = void 0, this.windowListeners = void 0, this.props = t, this.events = n;
|
|
32426
32443
|
const {
|
|
32427
32444
|
event: a
|
|
32428
32445
|
} = t, {
|
|
@@ -32476,7 +32493,7 @@ class im {
|
|
|
32476
32493
|
} = this, {
|
|
32477
32494
|
onStart: n
|
|
32478
32495
|
} = this.props;
|
|
32479
|
-
t && (this.activated = !0, this.documentListeners.add(nn.Click,
|
|
32496
|
+
t && (this.activated = !0, this.documentListeners.add(nn.Click, GK, {
|
|
32480
32497
|
capture: !0
|
|
32481
32498
|
}), this.removeTextSelection(), this.documentListeners.add(nn.SelectionChange, this.removeTextSelection), n(t));
|
|
32482
32499
|
}
|
|
@@ -32531,7 +32548,7 @@ class im {
|
|
|
32531
32548
|
(t = this.document.getSelection()) == null || t.removeAllRanges();
|
|
32532
32549
|
}
|
|
32533
32550
|
}
|
|
32534
|
-
const
|
|
32551
|
+
const UK = {
|
|
32535
32552
|
cancel: {
|
|
32536
32553
|
name: "pointercancel"
|
|
32537
32554
|
},
|
|
@@ -32547,7 +32564,7 @@ class lm extends im {
|
|
|
32547
32564
|
const {
|
|
32548
32565
|
event: n
|
|
32549
32566
|
} = t, o = Ra(n.target);
|
|
32550
|
-
super(t,
|
|
32567
|
+
super(t, UK, o);
|
|
32551
32568
|
}
|
|
32552
32569
|
}
|
|
32553
32570
|
lm.activators = [{
|
|
@@ -32563,7 +32580,7 @@ lm.activators = [{
|
|
|
32563
32580
|
}), !0);
|
|
32564
32581
|
}
|
|
32565
32582
|
}];
|
|
32566
|
-
const
|
|
32583
|
+
const qK = {
|
|
32567
32584
|
move: {
|
|
32568
32585
|
name: "mousemove"
|
|
32569
32586
|
},
|
|
@@ -32575,12 +32592,12 @@ var Lf;
|
|
|
32575
32592
|
(function(e) {
|
|
32576
32593
|
e[e.RightClick = 2] = "RightClick";
|
|
32577
32594
|
})(Lf || (Lf = {}));
|
|
32578
|
-
class
|
|
32595
|
+
class YK extends im {
|
|
32579
32596
|
constructor(t) {
|
|
32580
|
-
super(t,
|
|
32597
|
+
super(t, qK, Ra(t.event.target));
|
|
32581
32598
|
}
|
|
32582
32599
|
}
|
|
32583
|
-
|
|
32600
|
+
YK.activators = [{
|
|
32584
32601
|
eventName: "onMouseDown",
|
|
32585
32602
|
handler: (e, t) => {
|
|
32586
32603
|
let {
|
|
@@ -32604,7 +32621,7 @@ const vd = {
|
|
|
32604
32621
|
name: "touchend"
|
|
32605
32622
|
}
|
|
32606
32623
|
};
|
|
32607
|
-
class
|
|
32624
|
+
class KK extends im {
|
|
32608
32625
|
constructor(t) {
|
|
32609
32626
|
super(t, vd);
|
|
32610
32627
|
}
|
|
@@ -32619,7 +32636,7 @@ class YK extends im {
|
|
|
32619
32636
|
}
|
|
32620
32637
|
}
|
|
32621
32638
|
}
|
|
32622
|
-
|
|
32639
|
+
KK.activators = [{
|
|
32623
32640
|
eventName: "onTouchStart",
|
|
32624
32641
|
handler: (e, t) => {
|
|
32625
32642
|
let {
|
|
@@ -32643,7 +32660,7 @@ var Wl;
|
|
|
32643
32660
|
(function(e) {
|
|
32644
32661
|
e[e.TreeOrder = 0] = "TreeOrder", e[e.ReversedTreeOrder = 1] = "ReversedTreeOrder";
|
|
32645
32662
|
})(Wl || (Wl = {}));
|
|
32646
|
-
function
|
|
32663
|
+
function XK(e) {
|
|
32647
32664
|
let {
|
|
32648
32665
|
acceleration: t,
|
|
32649
32666
|
activator: n = ys.Pointer,
|
|
@@ -32658,10 +32675,10 @@ function KK(e) {
|
|
|
32658
32675
|
delta: d,
|
|
32659
32676
|
threshold: f
|
|
32660
32677
|
} = e;
|
|
32661
|
-
const h =
|
|
32678
|
+
const h = JK({
|
|
32662
32679
|
delta: d,
|
|
32663
32680
|
disabled: !a
|
|
32664
|
-
}), [g, m] =
|
|
32681
|
+
}), [g, m] = aK(), v = ee({
|
|
32665
32682
|
x: 0,
|
|
32666
32683
|
y: 0
|
|
32667
32684
|
}), b = ee({
|
|
@@ -32701,7 +32718,7 @@ function KK(e) {
|
|
|
32701
32718
|
const {
|
|
32702
32719
|
direction: E,
|
|
32703
32720
|
speed: k
|
|
32704
|
-
} =
|
|
32721
|
+
} = FK(_, T, y, t, f);
|
|
32705
32722
|
for (const I of ["x", "y"])
|
|
32706
32723
|
h[I][E[I]] || (k[I] = 0, E[I] = 0);
|
|
32707
32724
|
if (k.x > 0 || k.y > 0) {
|
|
@@ -32738,7 +32755,7 @@ function KK(e) {
|
|
|
32738
32755
|
]
|
|
32739
32756
|
);
|
|
32740
32757
|
}
|
|
32741
|
-
const
|
|
32758
|
+
const ZK = {
|
|
32742
32759
|
x: {
|
|
32743
32760
|
[xt.Backward]: !1,
|
|
32744
32761
|
[xt.Forward]: !1
|
|
@@ -32748,7 +32765,7 @@ const XK = {
|
|
|
32748
32765
|
[xt.Forward]: !1
|
|
32749
32766
|
}
|
|
32750
32767
|
};
|
|
32751
|
-
function
|
|
32768
|
+
function JK(e) {
|
|
32752
32769
|
let {
|
|
32753
32770
|
delta: t,
|
|
32754
32771
|
disabled: n
|
|
@@ -32756,7 +32773,7 @@ function ZK(e) {
|
|
|
32756
32773
|
const o = Nf(t);
|
|
32757
32774
|
return fi((r) => {
|
|
32758
32775
|
if (n || !o || !r)
|
|
32759
|
-
return
|
|
32776
|
+
return ZK;
|
|
32760
32777
|
const a = {
|
|
32761
32778
|
x: Math.sign(t.x - o.x),
|
|
32762
32779
|
y: Math.sign(t.y - o.y)
|
|
@@ -32773,14 +32790,14 @@ function ZK(e) {
|
|
|
32773
32790
|
};
|
|
32774
32791
|
}, [n, t, o]);
|
|
32775
32792
|
}
|
|
32776
|
-
function
|
|
32793
|
+
function QK(e, t) {
|
|
32777
32794
|
const n = t != null ? e.get(t) : void 0, o = n ? n.node.current : null;
|
|
32778
32795
|
return fi((r) => {
|
|
32779
32796
|
var a;
|
|
32780
32797
|
return t == null ? null : (a = o ?? r) != null ? a : null;
|
|
32781
32798
|
}, [o, t]);
|
|
32782
32799
|
}
|
|
32783
|
-
function
|
|
32800
|
+
function eX(e, t) {
|
|
32784
32801
|
return oe(() => e.reduce((n, o) => {
|
|
32785
32802
|
const {
|
|
32786
32803
|
sensor: r
|
|
@@ -32800,7 +32817,7 @@ var zf;
|
|
|
32800
32817
|
e.Optimized = "optimized";
|
|
32801
32818
|
})(zf || (zf = {}));
|
|
32802
32819
|
const i0 = /* @__PURE__ */ new Map();
|
|
32803
|
-
function
|
|
32820
|
+
function tX(e, t) {
|
|
32804
32821
|
let {
|
|
32805
32822
|
dragging: n,
|
|
32806
32823
|
dependencies: o,
|
|
@@ -32872,10 +32889,10 @@ function eX(e, t) {
|
|
|
32872
32889
|
function F2(e, t) {
|
|
32873
32890
|
return fi((n) => e ? n || (typeof t == "function" ? t(e) : e) : null, [t, e]);
|
|
32874
32891
|
}
|
|
32875
|
-
function
|
|
32892
|
+
function nX(e, t) {
|
|
32876
32893
|
return F2(e, t);
|
|
32877
32894
|
}
|
|
32878
|
-
function
|
|
32895
|
+
function oX(e) {
|
|
32879
32896
|
let {
|
|
32880
32897
|
callback: t,
|
|
32881
32898
|
disabled: n
|
|
@@ -32909,11 +32926,11 @@ function Kc(e) {
|
|
|
32909
32926
|
);
|
|
32910
32927
|
return re(() => () => r == null ? void 0 : r.disconnect(), [r]), r;
|
|
32911
32928
|
}
|
|
32912
|
-
function
|
|
32929
|
+
function rX(e) {
|
|
32913
32930
|
return new sm(Ia(e), e);
|
|
32914
32931
|
}
|
|
32915
32932
|
function l0(e, t, n) {
|
|
32916
|
-
t === void 0 && (t =
|
|
32933
|
+
t === void 0 && (t = rX);
|
|
32917
32934
|
const [o, r] = te(null);
|
|
32918
32935
|
function a() {
|
|
32919
32936
|
r((l) => {
|
|
@@ -32927,7 +32944,7 @@ function l0(e, t, n) {
|
|
|
32927
32944
|
return JSON.stringify(l) === JSON.stringify(u) ? l : u;
|
|
32928
32945
|
});
|
|
32929
32946
|
}
|
|
32930
|
-
const s =
|
|
32947
|
+
const s = oX({
|
|
32931
32948
|
callback(l) {
|
|
32932
32949
|
if (e)
|
|
32933
32950
|
for (const c of l) {
|
|
@@ -32951,18 +32968,18 @@ function l0(e, t, n) {
|
|
|
32951
32968
|
})) : (i == null || i.disconnect(), s == null || s.disconnect());
|
|
32952
32969
|
}, [e]), o;
|
|
32953
32970
|
}
|
|
32954
|
-
function
|
|
32971
|
+
function aX(e) {
|
|
32955
32972
|
const t = F2(e);
|
|
32956
32973
|
return k2(e, t);
|
|
32957
32974
|
}
|
|
32958
32975
|
const c0 = [];
|
|
32959
|
-
function
|
|
32976
|
+
function sX(e) {
|
|
32960
32977
|
const t = ee(e), n = fi((o) => e ? o && o !== c0 && e && t.current && e.parentNode === t.current.parentNode ? o : am(e) : c0, [e]);
|
|
32961
32978
|
return re(() => {
|
|
32962
32979
|
t.current = e;
|
|
32963
32980
|
}, [e]), n;
|
|
32964
32981
|
}
|
|
32965
|
-
function
|
|
32982
|
+
function iX(e) {
|
|
32966
32983
|
const [t, n] = te(null), o = ee(e), r = Y((a) => {
|
|
32967
32984
|
const s = gd(a.target);
|
|
32968
32985
|
s && n((i) => i ? (i.set(s, Ff(s)), new Map(i)) : null);
|
|
@@ -33004,7 +33021,7 @@ function u0(e, t) {
|
|
|
33004
33021
|
o && !n.current && (n.current = e), !o && n.current && (n.current = null);
|
|
33005
33022
|
}, [e]), n.current ? Hl(e, n.current) : vn;
|
|
33006
33023
|
}
|
|
33007
|
-
function
|
|
33024
|
+
function lX(e) {
|
|
33008
33025
|
re(
|
|
33009
33026
|
() => {
|
|
33010
33027
|
if (!Yc)
|
|
@@ -33030,7 +33047,7 @@ function iX(e) {
|
|
|
33030
33047
|
})
|
|
33031
33048
|
);
|
|
33032
33049
|
}
|
|
33033
|
-
function
|
|
33050
|
+
function cX(e, t) {
|
|
33034
33051
|
return oe(() => e.reduce((n, o) => {
|
|
33035
33052
|
let {
|
|
33036
33053
|
eventName: r,
|
|
@@ -33042,10 +33059,10 @@ function lX(e, t) {
|
|
|
33042
33059
|
}, {}), [e, t]);
|
|
33043
33060
|
}
|
|
33044
33061
|
function L2(e) {
|
|
33045
|
-
return oe(() => e ?
|
|
33062
|
+
return oe(() => e ? MK(e) : null, [e]);
|
|
33046
33063
|
}
|
|
33047
33064
|
const d0 = [];
|
|
33048
|
-
function
|
|
33065
|
+
function uX(e, t) {
|
|
33049
33066
|
t === void 0 && (t = Ia);
|
|
33050
33067
|
const [n] = e, o = L2(n ? Lt(n) : null), [r, a] = te(d0);
|
|
33051
33068
|
function s() {
|
|
@@ -33058,7 +33075,7 @@ function cX(e, t) {
|
|
|
33058
33075
|
i == null || i.disconnect(), s(), e.forEach((l) => i == null ? void 0 : i.observe(l));
|
|
33059
33076
|
}, [e]), r;
|
|
33060
33077
|
}
|
|
33061
|
-
function
|
|
33078
|
+
function dX(e) {
|
|
33062
33079
|
if (!e)
|
|
33063
33080
|
return null;
|
|
33064
33081
|
if (e.children.length > 1)
|
|
@@ -33066,7 +33083,7 @@ function uX(e) {
|
|
|
33066
33083
|
const t = e.children[0];
|
|
33067
33084
|
return di(t) ? t : e;
|
|
33068
33085
|
}
|
|
33069
|
-
function
|
|
33086
|
+
function fX(e) {
|
|
33070
33087
|
let {
|
|
33071
33088
|
measure: t
|
|
33072
33089
|
} = e;
|
|
@@ -33088,7 +33105,7 @@ function dX(e) {
|
|
|
33088
33105
|
}, [t]), a = Kc({
|
|
33089
33106
|
callback: r
|
|
33090
33107
|
}), s = Y((c) => {
|
|
33091
|
-
const u =
|
|
33108
|
+
const u = dX(c);
|
|
33092
33109
|
a == null || a.disconnect(), u && (a == null || a.observe(u)), o(u ? t(u) : null);
|
|
33093
33110
|
}, [t, a]), [i, l] = Bl(s);
|
|
33094
33111
|
return oe(() => ({
|
|
@@ -33097,13 +33114,13 @@ function dX(e) {
|
|
|
33097
33114
|
setRef: l
|
|
33098
33115
|
}), [n, i, l]);
|
|
33099
33116
|
}
|
|
33100
|
-
const
|
|
33117
|
+
const pX = [{
|
|
33101
33118
|
sensor: lm,
|
|
33102
33119
|
options: {}
|
|
33103
33120
|
}, {
|
|
33104
33121
|
sensor: $2,
|
|
33105
33122
|
options: {}
|
|
33106
|
-
}],
|
|
33123
|
+
}], hX = {
|
|
33107
33124
|
current: {}
|
|
33108
33125
|
}, Pl = {
|
|
33109
33126
|
draggable: {
|
|
@@ -33139,7 +33156,7 @@ class ws extends Map {
|
|
|
33139
33156
|
return (n = (o = this.get(t)) == null ? void 0 : o.node.current) != null ? n : void 0;
|
|
33140
33157
|
}
|
|
33141
33158
|
}
|
|
33142
|
-
const
|
|
33159
|
+
const mX = {
|
|
33143
33160
|
activatorEvent: null,
|
|
33144
33161
|
active: null,
|
|
33145
33162
|
activeNode: null,
|
|
@@ -33163,7 +33180,7 @@ const hX = {
|
|
|
33163
33180
|
measureDroppableContainers: Vl,
|
|
33164
33181
|
windowRect: null,
|
|
33165
33182
|
measuringScheduled: !1
|
|
33166
|
-
},
|
|
33183
|
+
}, gX = {
|
|
33167
33184
|
activatorEvent: null,
|
|
33168
33185
|
activators: [],
|
|
33169
33186
|
active: null,
|
|
@@ -33175,8 +33192,8 @@ const hX = {
|
|
|
33175
33192
|
draggableNodes: /* @__PURE__ */ new Map(),
|
|
33176
33193
|
over: null,
|
|
33177
33194
|
measureDroppableContainers: Vl
|
|
33178
|
-
}, Xc = /* @__PURE__ */ Te(
|
|
33179
|
-
function
|
|
33195
|
+
}, Xc = /* @__PURE__ */ Te(gX), z2 = /* @__PURE__ */ Te(mX);
|
|
33196
|
+
function xX() {
|
|
33180
33197
|
return {
|
|
33181
33198
|
draggable: {
|
|
33182
33199
|
active: null,
|
|
@@ -33195,7 +33212,7 @@ function gX() {
|
|
|
33195
33212
|
}
|
|
33196
33213
|
};
|
|
33197
33214
|
}
|
|
33198
|
-
function
|
|
33215
|
+
function vX(e, t) {
|
|
33199
33216
|
switch (t.type) {
|
|
33200
33217
|
case pt.DragStart:
|
|
33201
33218
|
return {
|
|
@@ -33288,7 +33305,7 @@ function xX(e, t) {
|
|
|
33288
33305
|
return e;
|
|
33289
33306
|
}
|
|
33290
33307
|
}
|
|
33291
|
-
function
|
|
33308
|
+
function bX(e) {
|
|
33292
33309
|
let {
|
|
33293
33310
|
disabled: t
|
|
33294
33311
|
} = e;
|
|
@@ -33314,7 +33331,7 @@ function vX(e) {
|
|
|
33314
33331
|
for (const u of [l.current, c.current]) {
|
|
33315
33332
|
if (!u)
|
|
33316
33333
|
continue;
|
|
33317
|
-
const d =
|
|
33334
|
+
const d = lK(u);
|
|
33318
33335
|
if (d) {
|
|
33319
33336
|
d.focus();
|
|
33320
33337
|
break;
|
|
@@ -33324,7 +33341,7 @@ function vX(e) {
|
|
|
33324
33341
|
}
|
|
33325
33342
|
}, [o, t, r, s, a]), null;
|
|
33326
33343
|
}
|
|
33327
|
-
function
|
|
33344
|
+
function yX(e, t) {
|
|
33328
33345
|
let {
|
|
33329
33346
|
transform: n,
|
|
33330
33347
|
...o
|
|
@@ -33334,7 +33351,7 @@ function bX(e, t) {
|
|
|
33334
33351
|
...o
|
|
33335
33352
|
}), n) : n;
|
|
33336
33353
|
}
|
|
33337
|
-
function
|
|
33354
|
+
function wX(e) {
|
|
33338
33355
|
return oe(
|
|
33339
33356
|
() => ({
|
|
33340
33357
|
draggable: {
|
|
@@ -33354,7 +33371,7 @@ function yX(e) {
|
|
|
33354
33371
|
[e == null ? void 0 : e.draggable, e == null ? void 0 : e.droppable, e == null ? void 0 : e.dragOverlay]
|
|
33355
33372
|
);
|
|
33356
33373
|
}
|
|
33357
|
-
function
|
|
33374
|
+
function _X(e) {
|
|
33358
33375
|
let {
|
|
33359
33376
|
activeNode: t,
|
|
33360
33377
|
measure: n,
|
|
@@ -33397,20 +33414,20 @@ var Po;
|
|
|
33397
33414
|
(function(e) {
|
|
33398
33415
|
e[e.Uninitialized = 0] = "Uninitialized", e[e.Initializing = 1] = "Initializing", e[e.Initialized = 2] = "Initialized";
|
|
33399
33416
|
})(Po || (Po = {}));
|
|
33400
|
-
const
|
|
33417
|
+
const CX = /* @__PURE__ */ uS(function(t) {
|
|
33401
33418
|
var n, o, r, a;
|
|
33402
33419
|
let {
|
|
33403
33420
|
id: s,
|
|
33404
33421
|
accessibility: i,
|
|
33405
33422
|
autoScroll: l = !0,
|
|
33406
33423
|
children: c,
|
|
33407
|
-
sensors: u =
|
|
33408
|
-
collisionDetection: d =
|
|
33424
|
+
sensors: u = pX,
|
|
33425
|
+
collisionDetection: d = TK,
|
|
33409
33426
|
measuring: f,
|
|
33410
33427
|
modifiers: h,
|
|
33411
33428
|
...g
|
|
33412
33429
|
} = t;
|
|
33413
|
-
const m = dS(
|
|
33430
|
+
const m = dS(vX, void 0, xX), [v, b] = m, [y, w] = hK(), [S, C] = te(Po.Uninitialized), _ = S === Po.Initialized, {
|
|
33414
33431
|
draggable: {
|
|
33415
33432
|
active: P,
|
|
33416
33433
|
nodes: T,
|
|
@@ -33427,19 +33444,19 @@ const _X = /* @__PURE__ */ uS(function(t) {
|
|
|
33427
33444
|
return P != null ? {
|
|
33428
33445
|
id: P,
|
|
33429
33446
|
// It's possible for the active node to unmount while dragging
|
|
33430
|
-
data: (he = I == null ? void 0 : I.data) != null ? he :
|
|
33447
|
+
data: (he = I == null ? void 0 : I.data) != null ? he : hX,
|
|
33431
33448
|
rect: O
|
|
33432
33449
|
} : null;
|
|
33433
|
-
}, [P, I]), F = ee(null), [V, H] = te(null), [B, A] = te(null), W = Fs(g, Object.values(g)), R = pi("DndDescribedBy", s), K = oe(() => k.getEnabled(), [k]), $ =
|
|
33450
|
+
}, [P, I]), F = ee(null), [V, H] = te(null), [B, A] = te(null), W = Fs(g, Object.values(g)), R = pi("DndDescribedBy", s), K = oe(() => k.getEnabled(), [k]), $ = wX(f), {
|
|
33434
33451
|
droppableRects: M,
|
|
33435
33452
|
measureDroppableContainers: U,
|
|
33436
33453
|
measuringScheduled: G
|
|
33437
|
-
} =
|
|
33454
|
+
} = tX(K, {
|
|
33438
33455
|
dragging: _,
|
|
33439
33456
|
dependencies: [E.x, E.y],
|
|
33440
33457
|
config: $.droppable
|
|
33441
|
-
}), z =
|
|
33442
|
-
|
|
33458
|
+
}), z = QK(T, P), j = oe(() => B ? $f(B) : null, [B]), X = Ce(), Q = nX(z, $.draggable.measure);
|
|
33459
|
+
_X({
|
|
33443
33460
|
activeNode: P != null ? T.get(P) : null,
|
|
33444
33461
|
config: X.layoutShiftCompensation,
|
|
33445
33462
|
initialRect: Q,
|
|
@@ -33459,9 +33476,9 @@ const _X = /* @__PURE__ */ uS(function(t) {
|
|
|
33459
33476
|
over: null,
|
|
33460
33477
|
scrollableAncestors: [],
|
|
33461
33478
|
scrollAdjustedTranslate: null
|
|
33462
|
-
}), ae = k.getNodeFor((n = Z.current.over) == null ? void 0 : n.id), Se =
|
|
33479
|
+
}), ae = k.getNodeFor((n = Z.current.over) == null ? void 0 : n.id), Se = fX({
|
|
33463
33480
|
measure: $.dragOverlay.measure
|
|
33464
|
-
}), Le = (o = Se.nodeRef.current) != null ? o : z, He = _ ? (r = Se.rect) != null ? r : J : null, Xe = !!(Se.nodeRef.current && Se.rect), ze =
|
|
33481
|
+
}), Le = (o = Se.nodeRef.current) != null ? o : z, He = _ ? (r = Se.rect) != null ? r : J : null, Xe = !!(Se.nodeRef.current && Se.rect), ze = aX(Xe ? null : J), Tt = L2(Le ? Lt(Le) : null), lt = sX(_ ? ae ?? z : null), ct = uX(lt), et = yX(h, {
|
|
33465
33482
|
transform: {
|
|
33466
33483
|
x: E.x - ze.x,
|
|
33467
33484
|
y: E.y - ze.y,
|
|
@@ -33478,13 +33495,13 @@ const _X = /* @__PURE__ */ uS(function(t) {
|
|
|
33478
33495
|
scrollableAncestors: lt,
|
|
33479
33496
|
scrollableAncestorRects: ct,
|
|
33480
33497
|
windowRect: Tt
|
|
33481
|
-
}), Tn = j ? Qr(j, E) : null, fe =
|
|
33498
|
+
}), Tn = j ? Qr(j, E) : null, fe = iX(lt), ke = u0(fe), Oe = u0(fe, [J]), gt = Qr(et, ke), cn = He ? RK(He, et) : null, Vo = L && cn ? d({
|
|
33482
33499
|
active: L,
|
|
33483
33500
|
collisionRect: cn,
|
|
33484
33501
|
droppableRects: M,
|
|
33485
33502
|
droppableContainers: K,
|
|
33486
33503
|
pointerCoordinates: Tn
|
|
33487
|
-
}) : null, hi =
|
|
33504
|
+
}) : null, hi = CK(Vo, "id"), [En, mi] = te(null), Qc = Xe ? et : Qr(et, Oe), eu = EK(Qc, (a = En == null ? void 0 : En.rect) != null ? a : null, J), Oa = ee(null), gi = Y(
|
|
33488
33505
|
(he, pe) => {
|
|
33489
33506
|
let {
|
|
33490
33507
|
sensor: Ae,
|
|
@@ -33624,8 +33641,8 @@ const _X = /* @__PURE__ */ uS(function(t) {
|
|
|
33624
33641
|
he(Ae, pe.options, Zt) === !0 && (Ze.dndKit = {
|
|
33625
33642
|
capturedBy: pe.sensor
|
|
33626
33643
|
}, F.current = Re, gi(Ae, pe));
|
|
33627
|
-
}, [T, gi]), Da =
|
|
33628
|
-
|
|
33644
|
+
}, [T, gi]), Da = eX(u, xi);
|
|
33645
|
+
lX(u), Ln(() => {
|
|
33629
33646
|
J && S === Po.Initializing && C(Po.Initialized);
|
|
33630
33647
|
}, [J, S]), re(
|
|
33631
33648
|
() => {
|
|
@@ -33714,7 +33731,7 @@ const _X = /* @__PURE__ */ uS(function(t) {
|
|
|
33714
33731
|
initial: He,
|
|
33715
33732
|
translated: cn
|
|
33716
33733
|
};
|
|
33717
|
-
}, [L, z, Vo, cn, T, Le, He, M, k, En, lt, gt]),
|
|
33734
|
+
}, [L, z, Vo, cn, T, Le, He, M, k, En, lt, gt]), XK({
|
|
33718
33735
|
...X,
|
|
33719
33736
|
delta: E,
|
|
33720
33737
|
draggingRect: cn,
|
|
@@ -33761,9 +33778,9 @@ const _X = /* @__PURE__ */ uS(function(t) {
|
|
|
33761
33778
|
value: tu
|
|
33762
33779
|
}, ne.createElement(B2.Provider, {
|
|
33763
33780
|
value: eu
|
|
33764
|
-
}, c)), ne.createElement(
|
|
33781
|
+
}, c)), ne.createElement(bX, {
|
|
33765
33782
|
disabled: (i == null ? void 0 : i.restoreFocus) === !1
|
|
33766
|
-
})), ne.createElement(
|
|
33783
|
+
})), ne.createElement(xK, {
|
|
33767
33784
|
...i,
|
|
33768
33785
|
hiddenTextDescribedById: R
|
|
33769
33786
|
}));
|
|
@@ -33776,15 +33793,15 @@ const _X = /* @__PURE__ */ uS(function(t) {
|
|
|
33776
33793
|
enabled: Ae
|
|
33777
33794
|
};
|
|
33778
33795
|
}
|
|
33779
|
-
}),
|
|
33780
|
-
function
|
|
33796
|
+
}), SX = /* @__PURE__ */ Te(null), f0 = "button", PX = "Draggable";
|
|
33797
|
+
function TX(e) {
|
|
33781
33798
|
let {
|
|
33782
33799
|
id: t,
|
|
33783
33800
|
data: n,
|
|
33784
33801
|
disabled: o = !1,
|
|
33785
33802
|
attributes: r
|
|
33786
33803
|
} = e;
|
|
33787
|
-
const a = pi(
|
|
33804
|
+
const a = pi(PX), {
|
|
33788
33805
|
activators: s,
|
|
33789
33806
|
activatorEvent: i,
|
|
33790
33807
|
active: l,
|
|
@@ -33796,7 +33813,7 @@ function PX(e) {
|
|
|
33796
33813
|
role: h = f0,
|
|
33797
33814
|
roleDescription: g = "draggable",
|
|
33798
33815
|
tabIndex: m = 0
|
|
33799
|
-
} = r ?? {}, v = (l == null ? void 0 : l.id) === t, b = we(v ? B2 :
|
|
33816
|
+
} = r ?? {}, v = (l == null ? void 0 : l.id) === t, b = we(v ? B2 : SX), [y, w] = Bl(), [S, C] = Bl(), _ = cX(s, t), P = Fs(n);
|
|
33800
33817
|
Ln(
|
|
33801
33818
|
() => (d.set(t, {
|
|
33802
33819
|
id: t,
|
|
@@ -33833,20 +33850,20 @@ function PX(e) {
|
|
|
33833
33850
|
transform: b
|
|
33834
33851
|
};
|
|
33835
33852
|
}
|
|
33836
|
-
function
|
|
33853
|
+
function EX() {
|
|
33837
33854
|
return we(z2);
|
|
33838
33855
|
}
|
|
33839
|
-
const
|
|
33856
|
+
const kX = "Droppable", RX = {
|
|
33840
33857
|
timeout: 25
|
|
33841
33858
|
};
|
|
33842
|
-
function
|
|
33859
|
+
function IX(e) {
|
|
33843
33860
|
let {
|
|
33844
33861
|
data: t,
|
|
33845
33862
|
disabled: n = !1,
|
|
33846
33863
|
id: o,
|
|
33847
33864
|
resizeObserverConfig: r
|
|
33848
33865
|
} = e;
|
|
33849
|
-
const a = pi(
|
|
33866
|
+
const a = pi(kX), {
|
|
33850
33867
|
active: s,
|
|
33851
33868
|
dispatch: i,
|
|
33852
33869
|
over: l,
|
|
@@ -33858,7 +33875,7 @@ function RX(e) {
|
|
|
33858
33875
|
updateMeasurementsFor: m,
|
|
33859
33876
|
timeout: v
|
|
33860
33877
|
} = {
|
|
33861
|
-
...
|
|
33878
|
+
...RX,
|
|
33862
33879
|
...r
|
|
33863
33880
|
}, b = Fs(m ?? o), y = Y(
|
|
33864
33881
|
() => {
|
|
@@ -33918,7 +33935,7 @@ function cm(e, t, n) {
|
|
|
33918
33935
|
const o = e.slice();
|
|
33919
33936
|
return o.splice(n < 0 ? o.length + n : n, 0, o.splice(t, 1)[0]), o;
|
|
33920
33937
|
}
|
|
33921
|
-
function
|
|
33938
|
+
function OX(e, t) {
|
|
33922
33939
|
return e.reduce((n, o, r) => {
|
|
33923
33940
|
const a = t.get(o);
|
|
33924
33941
|
return a && (n[r] = a), n;
|
|
@@ -33927,7 +33944,7 @@ function IX(e, t) {
|
|
|
33927
33944
|
function il(e) {
|
|
33928
33945
|
return e !== null && e >= 0;
|
|
33929
33946
|
}
|
|
33930
|
-
function
|
|
33947
|
+
function DX(e, t) {
|
|
33931
33948
|
if (e === t)
|
|
33932
33949
|
return !0;
|
|
33933
33950
|
if (e.length !== t.length)
|
|
@@ -33937,7 +33954,7 @@ function OX(e, t) {
|
|
|
33937
33954
|
return !1;
|
|
33938
33955
|
return !0;
|
|
33939
33956
|
}
|
|
33940
|
-
function
|
|
33957
|
+
function MX(e) {
|
|
33941
33958
|
return typeof e == "boolean" ? {
|
|
33942
33959
|
draggable: e,
|
|
33943
33960
|
droppable: e
|
|
@@ -33960,7 +33977,7 @@ const H2 = (e) => {
|
|
|
33960
33977
|
}, ll = {
|
|
33961
33978
|
scaleX: 1,
|
|
33962
33979
|
scaleY: 1
|
|
33963
|
-
},
|
|
33980
|
+
}, AX = (e) => {
|
|
33964
33981
|
var t;
|
|
33965
33982
|
let {
|
|
33966
33983
|
activeIndex: n,
|
|
@@ -33980,7 +33997,7 @@ const H2 = (e) => {
|
|
|
33980
33997
|
...ll
|
|
33981
33998
|
} : null;
|
|
33982
33999
|
}
|
|
33983
|
-
const l =
|
|
34000
|
+
const l = NX(a, r, n);
|
|
33984
34001
|
return r > n && r <= s ? {
|
|
33985
34002
|
x: 0,
|
|
33986
34003
|
y: -i.height - l,
|
|
@@ -33995,7 +34012,7 @@ const H2 = (e) => {
|
|
|
33995
34012
|
...ll
|
|
33996
34013
|
};
|
|
33997
34014
|
};
|
|
33998
|
-
function
|
|
34015
|
+
function NX(e, t, n) {
|
|
33999
34016
|
const o = e[t], r = e[t - 1], a = e[t + 1];
|
|
34000
34017
|
return o ? n < t ? r ? o.top - (r.top + r.height) : a ? a.top - (o.top + o.height) : 0 : a ? a.top - (o.top + o.height) : r ? o.top - (r.top + r.height) : 0 : 0;
|
|
34001
34018
|
}
|
|
@@ -34013,7 +34030,7 @@ const V2 = "Sortable", W2 = /* @__PURE__ */ ne.createContext({
|
|
|
34013
34030
|
droppable: !1
|
|
34014
34031
|
}
|
|
34015
34032
|
});
|
|
34016
|
-
function
|
|
34033
|
+
function $X(e) {
|
|
34017
34034
|
let {
|
|
34018
34035
|
children: t,
|
|
34019
34036
|
id: n,
|
|
@@ -34027,7 +34044,7 @@ function NX(e) {
|
|
|
34027
34044
|
droppableRects: l,
|
|
34028
34045
|
over: c,
|
|
34029
34046
|
measureDroppableContainers: u
|
|
34030
|
-
} =
|
|
34047
|
+
} = EX(), d = pi(V2, n), f = i.rect !== null, h = oe(() => o.map((_) => typeof _ == "object" && "id" in _ ? _.id : _), [o]), g = s != null, m = s ? h.indexOf(s.id) : -1, v = c ? h.indexOf(c.id) : -1, b = ee(h), y = !DX(h, b.current), w = v !== -1 && m === -1 || y, S = MX(a);
|
|
34031
34048
|
Ln(() => {
|
|
34032
34049
|
y && g && u(h);
|
|
34033
34050
|
}, [y, h, g, u]), re(() => {
|
|
@@ -34042,7 +34059,7 @@ function NX(e) {
|
|
|
34042
34059
|
items: h,
|
|
34043
34060
|
overIndex: v,
|
|
34044
34061
|
useDragOverlay: f,
|
|
34045
|
-
sortedRects:
|
|
34062
|
+
sortedRects: OX(h, l),
|
|
34046
34063
|
strategy: r
|
|
34047
34064
|
}),
|
|
34048
34065
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
@@ -34052,7 +34069,7 @@ function NX(e) {
|
|
|
34052
34069
|
value: C
|
|
34053
34070
|
}, t);
|
|
34054
34071
|
}
|
|
34055
|
-
const
|
|
34072
|
+
const FX = (e) => {
|
|
34056
34073
|
let {
|
|
34057
34074
|
id: t,
|
|
34058
34075
|
items: n,
|
|
@@ -34060,7 +34077,7 @@ const $X = (e) => {
|
|
|
34060
34077
|
overIndex: r
|
|
34061
34078
|
} = e;
|
|
34062
34079
|
return cm(n, o, r).indexOf(t);
|
|
34063
|
-
},
|
|
34080
|
+
}, LX = (e) => {
|
|
34064
34081
|
let {
|
|
34065
34082
|
containerId: t,
|
|
34066
34083
|
isSorting: n,
|
|
@@ -34073,17 +34090,17 @@ const $X = (e) => {
|
|
|
34073
34090
|
transition: c
|
|
34074
34091
|
} = e;
|
|
34075
34092
|
return !c || !o || i !== a && r === s ? !1 : n ? !0 : s !== r && t === l;
|
|
34076
|
-
},
|
|
34093
|
+
}, zX = {
|
|
34077
34094
|
duration: 200,
|
|
34078
34095
|
easing: "ease"
|
|
34079
|
-
}, G2 = "transform",
|
|
34096
|
+
}, G2 = "transform", BX = /* @__PURE__ */ Ls.Transition.toString({
|
|
34080
34097
|
property: G2,
|
|
34081
34098
|
duration: 0,
|
|
34082
34099
|
easing: "linear"
|
|
34083
|
-
}),
|
|
34100
|
+
}), HX = {
|
|
34084
34101
|
roleDescription: "sortable"
|
|
34085
34102
|
};
|
|
34086
|
-
function
|
|
34103
|
+
function VX(e) {
|
|
34087
34104
|
let {
|
|
34088
34105
|
disabled: t,
|
|
34089
34106
|
index: n,
|
|
@@ -34111,17 +34128,17 @@ function HX(e) {
|
|
|
34111
34128
|
a && s(null);
|
|
34112
34129
|
}, [a]), a;
|
|
34113
34130
|
}
|
|
34114
|
-
function
|
|
34131
|
+
function WX(e) {
|
|
34115
34132
|
let {
|
|
34116
|
-
animateLayoutChanges: t =
|
|
34133
|
+
animateLayoutChanges: t = LX,
|
|
34117
34134
|
attributes: n,
|
|
34118
34135
|
disabled: o,
|
|
34119
34136
|
data: r,
|
|
34120
|
-
getNewIndex: a =
|
|
34137
|
+
getNewIndex: a = FX,
|
|
34121
34138
|
id: s,
|
|
34122
34139
|
strategy: i,
|
|
34123
34140
|
resizeObserverConfig: l,
|
|
34124
|
-
transition: c =
|
|
34141
|
+
transition: c = zX
|
|
34125
34142
|
} = e;
|
|
34126
34143
|
const {
|
|
34127
34144
|
items: u,
|
|
@@ -34133,7 +34150,7 @@ function VX(e) {
|
|
|
34133
34150
|
overIndex: v,
|
|
34134
34151
|
useDragOverlay: b,
|
|
34135
34152
|
strategy: y
|
|
34136
|
-
} = we(W2), w =
|
|
34153
|
+
} = we(W2), w = GX(o, h), S = u.indexOf(s), C = oe(() => ({
|
|
34137
34154
|
sortable: {
|
|
34138
34155
|
containerId: d,
|
|
34139
34156
|
index: S,
|
|
@@ -34145,7 +34162,7 @@ function VX(e) {
|
|
|
34145
34162
|
node: T,
|
|
34146
34163
|
isOver: E,
|
|
34147
34164
|
setNodeRef: k
|
|
34148
|
-
} =
|
|
34165
|
+
} = IX({
|
|
34149
34166
|
id: s,
|
|
34150
34167
|
data: C,
|
|
34151
34168
|
disabled: w.droppable,
|
|
@@ -34164,15 +34181,15 @@ function VX(e) {
|
|
|
34164
34181
|
over: A,
|
|
34165
34182
|
setActivatorNodeRef: W,
|
|
34166
34183
|
transform: R
|
|
34167
|
-
} =
|
|
34184
|
+
} = TX({
|
|
34168
34185
|
id: s,
|
|
34169
34186
|
data: C,
|
|
34170
34187
|
attributes: {
|
|
34171
|
-
...
|
|
34188
|
+
...HX,
|
|
34172
34189
|
...n
|
|
34173
34190
|
},
|
|
34174
34191
|
disabled: w.draggable
|
|
34175
|
-
}), K =
|
|
34192
|
+
}), K = rK(k, V), $ = !!I, M = $ && !g && il(f) && il(v), U = !b && B, G = U && M ? R : null, j = M ? G ?? (i ?? y)({
|
|
34176
34193
|
rects: m,
|
|
34177
34194
|
activeNodeRect: L,
|
|
34178
34195
|
activeIndex: f,
|
|
@@ -34201,7 +34218,7 @@ function VX(e) {
|
|
|
34201
34218
|
previousContainerId: J.current.containerId,
|
|
34202
34219
|
transition: c,
|
|
34203
34220
|
wasDragging: J.current.activeId != null
|
|
34204
|
-
}), ae =
|
|
34221
|
+
}), ae = VX({
|
|
34205
34222
|
disabled: !Z,
|
|
34206
34223
|
index: S,
|
|
34207
34224
|
node: T,
|
|
@@ -34249,7 +34266,7 @@ function VX(e) {
|
|
|
34249
34266
|
ae || // Or to prevent items jumping to back to their "new" position when items change
|
|
34250
34267
|
se && J.current.newIndex === S
|
|
34251
34268
|
)
|
|
34252
|
-
return
|
|
34269
|
+
return BX;
|
|
34253
34270
|
if (!(U && !rm(O) || !c) && ($ || Z))
|
|
34254
34271
|
return Ls.Transition.toString({
|
|
34255
34272
|
...c,
|
|
@@ -34257,7 +34274,7 @@ function VX(e) {
|
|
|
34257
34274
|
});
|
|
34258
34275
|
}
|
|
34259
34276
|
}
|
|
34260
|
-
function
|
|
34277
|
+
function GX(e, t) {
|
|
34261
34278
|
var n, o;
|
|
34262
34279
|
return typeof e == "boolean" ? {
|
|
34263
34280
|
draggable: e,
|
|
@@ -34273,10 +34290,10 @@ const j2 = Te(null);
|
|
|
34273
34290
|
function Zc() {
|
|
34274
34291
|
return we(j2);
|
|
34275
34292
|
}
|
|
34276
|
-
function
|
|
34293
|
+
function jX(e) {
|
|
34277
34294
|
return typeof e == "object" ? e.key : e;
|
|
34278
34295
|
}
|
|
34279
|
-
function
|
|
34296
|
+
function UX(e, t) {
|
|
34280
34297
|
const n = e.length;
|
|
34281
34298
|
return new Proxy(e, {
|
|
34282
34299
|
get(o, r, a) {
|
|
@@ -34347,7 +34364,7 @@ function p0(e, t) {
|
|
|
34347
34364
|
throw new Error("Unexpected undefined");
|
|
34348
34365
|
return e;
|
|
34349
34366
|
}
|
|
34350
|
-
const h0 = (e, t) => Math.abs(e - t) < 1.01,
|
|
34367
|
+
const h0 = (e, t) => Math.abs(e - t) < 1.01, qX = (e, t, n) => {
|
|
34351
34368
|
let o;
|
|
34352
34369
|
return Object.assign(
|
|
34353
34370
|
function(...r) {
|
|
@@ -34373,12 +34390,12 @@ const bd = () => {
|
|
|
34373
34390
|
}, m0 = (e) => {
|
|
34374
34391
|
const { offsetWidth: t, offsetHeight: n } = e;
|
|
34375
34392
|
return { width: t, height: n };
|
|
34376
|
-
},
|
|
34393
|
+
}, YX = (e) => e, KX = (e) => {
|
|
34377
34394
|
const t = Math.max(e.startIndex - e.overscan, 0), o = Math.min(e.endIndex + e.overscan, e.count - 1) - t + 1, r = new Array(o);
|
|
34378
34395
|
for (let a = 0; a < o; a++)
|
|
34379
34396
|
r[a] = t + a;
|
|
34380
34397
|
return r;
|
|
34381
|
-
},
|
|
34398
|
+
}, XX = (e, t) => {
|
|
34382
34399
|
const n = e.scrollElement;
|
|
34383
34400
|
if (!n)
|
|
34384
34401
|
return;
|
|
@@ -34411,16 +34428,16 @@ const bd = () => {
|
|
|
34411
34428
|
};
|
|
34412
34429
|
}, Gl = {
|
|
34413
34430
|
passive: !0
|
|
34414
|
-
},
|
|
34431
|
+
}, ZX = typeof window > "u" ? !0 : "onscrollend" in window, JX = (e, t, n) => {
|
|
34415
34432
|
const o = e.scrollElement;
|
|
34416
34433
|
if (!o)
|
|
34417
34434
|
return;
|
|
34418
34435
|
const r = e.targetWindow;
|
|
34419
34436
|
if (!r)
|
|
34420
34437
|
return;
|
|
34421
|
-
const a = e.options.useScrollendEvent &&
|
|
34438
|
+
const a = e.options.useScrollendEvent && ZX;
|
|
34422
34439
|
let s = 0;
|
|
34423
|
-
const i = a ? null :
|
|
34440
|
+
const i = a ? null : qX(
|
|
34424
34441
|
r,
|
|
34425
34442
|
() => t(n(o), !1),
|
|
34426
34443
|
e.options.isScrollingResetDelay
|
|
@@ -34430,10 +34447,10 @@ const bd = () => {
|
|
|
34430
34447
|
return o.addEventListener("scroll", c, Gl), a && o.addEventListener("scrollend", u, Gl), () => {
|
|
34431
34448
|
o.removeEventListener("scroll", c), a && o.removeEventListener("scrollend", u), i == null || i.cancel();
|
|
34432
34449
|
};
|
|
34433
|
-
},
|
|
34450
|
+
}, QX = (e, t) => JX(e, t, (n) => {
|
|
34434
34451
|
const { horizontal: o, isRtl: r } = e.options;
|
|
34435
34452
|
return o ? n.scrollLeft * (r && -1 || 1) : n.scrollTop;
|
|
34436
|
-
}),
|
|
34453
|
+
}), eZ = (e, t, n) => {
|
|
34437
34454
|
if (n.options.useCachedMeasurements) {
|
|
34438
34455
|
const o = n.indexFromElement(e), r = n.options.getItemKey(o);
|
|
34439
34456
|
return n.itemSizeCache.get(r) ?? n.options.estimateSize(o);
|
|
@@ -34451,7 +34468,7 @@ const bd = () => {
|
|
|
34451
34468
|
return a;
|
|
34452
34469
|
}
|
|
34453
34470
|
return e[n.options.horizontal ? "offsetWidth" : "offsetHeight"];
|
|
34454
|
-
},
|
|
34471
|
+
}, tZ = (e, {
|
|
34455
34472
|
adjustments: t = 0,
|
|
34456
34473
|
behavior: n
|
|
34457
34474
|
}, o) => {
|
|
@@ -34460,8 +34477,8 @@ const bd = () => {
|
|
|
34460
34477
|
[o.options.horizontal ? "left" : "top"]: e + t,
|
|
34461
34478
|
behavior: n
|
|
34462
34479
|
});
|
|
34463
|
-
},
|
|
34464
|
-
function
|
|
34480
|
+
}, nZ = tZ;
|
|
34481
|
+
function oZ(e, t, n, o) {
|
|
34465
34482
|
if (t === 0) return !1;
|
|
34466
34483
|
const r = o(0), a = /* @__PURE__ */ new Set();
|
|
34467
34484
|
let s = 0;
|
|
@@ -34478,7 +34495,7 @@ function nZ(e, t, n, o) {
|
|
|
34478
34495
|
if (a.has(o(l))) return !1;
|
|
34479
34496
|
return !0;
|
|
34480
34497
|
}
|
|
34481
|
-
class
|
|
34498
|
+
class rZ {
|
|
34482
34499
|
constructor(t) {
|
|
34483
34500
|
this.unsubs = [], this.scrollElement = null, this.targetWindow = null, this.isScrolling = !1, this.scrollState = null, this.measurementsCache = [], this._singleLaneMeasurements = null, this.itemSizeCache = /* @__PURE__ */ new Map(), this.itemSizeCacheVersion = 0, this.laneAssignments = /* @__PURE__ */ new Map(), this.pendingMin = null, this.prevLanes = void 0, this.lanesChangedFlag = !1, this.lanesSettling = !1, this.pendingScrollAnchor = null, this.scrollRect = null, this.scrollOffset = null, this.scrollDirection = null, this.scrollAdjustments = 0, this._iosDeferredAdjustment = 0, this._iosTouching = !1, this._iosJustTouchEnded = !1, this._iosTouchEndTimerId = null, this._intendedScrollOffset = null, this._clampedAdjustment = null, this.elementsCache = /* @__PURE__ */ new Map(), this.now = () => {
|
|
34484
34501
|
var n, o, r;
|
|
@@ -34531,11 +34548,11 @@ class oZ {
|
|
|
34531
34548
|
scrollPaddingStart: 0,
|
|
34532
34549
|
scrollPaddingEnd: 0,
|
|
34533
34550
|
horizontal: !1,
|
|
34534
|
-
getItemKey:
|
|
34535
|
-
rangeExtractor:
|
|
34551
|
+
getItemKey: YX,
|
|
34552
|
+
rangeExtractor: KX,
|
|
34536
34553
|
onChange: () => {
|
|
34537
34554
|
},
|
|
34538
|
-
measureElement:
|
|
34555
|
+
measureElement: eZ,
|
|
34539
34556
|
initialRect: { width: 0, height: 0 },
|
|
34540
34557
|
scrollMargin: 0,
|
|
34541
34558
|
gap: 0,
|
|
@@ -34560,13 +34577,13 @@ class oZ {
|
|
|
34560
34577
|
const a = this.options;
|
|
34561
34578
|
let s = null, i = null, l = !1;
|
|
34562
34579
|
if (a !== void 0 && a.enabled && r.enabled && r.anchorTo === "end" && this.scrollElement !== null) {
|
|
34563
|
-
const d = a.count, f = r.count, h = this.getMeasurements(), g = ((o = this._singleLaneMeasurements) == null ? void 0 : o.items) ?? h, m = (S) =>
|
|
34580
|
+
const d = a.count, f = r.count, h = this.getMeasurements(), g = ((o = this._singleLaneMeasurements) == null ? void 0 : o.items) ?? h, m = (S) => jX(g[S]), v = d > 0 ? m(0) : null, b = d > 0 ? m(d - 1) : null;
|
|
34564
34581
|
if (f !== d || d > 0 && f > 0 && (r.getItemKey(0) !== v || r.getItemKey(f - 1) !== b)) {
|
|
34565
34582
|
l = !0;
|
|
34566
34583
|
const S = d > 0 ? this.getVirtualItemForOffset(this.getScrollOffset()) ?? h[0] : null;
|
|
34567
34584
|
S && (s = [S.key, this.getScrollOffset() - S.start]);
|
|
34568
34585
|
const C = r.followOnAppend === !0 ? "auto" : r.followOnAppend || null;
|
|
34569
|
-
C && f > 0 && this.isAtEnd(a.scrollEndThreshold) && (d === 0 || r.getItemKey(f - 1) !== b) && (f > d ||
|
|
34586
|
+
C && f > 0 && this.isAtEnd(a.scrollEndThreshold) && (d === 0 || r.getItemKey(f - 1) !== b) && (f > d || oZ(
|
|
34570
34587
|
d,
|
|
34571
34588
|
f,
|
|
34572
34589
|
m,
|
|
@@ -34769,7 +34786,7 @@ class oZ {
|
|
|
34769
34786
|
w[P * 2] = C, w[P * 2 + 1] = k, C += k + c;
|
|
34770
34787
|
}
|
|
34771
34788
|
this._singleLaneMeasurements = { flat: w, items: S };
|
|
34772
|
-
const _ =
|
|
34789
|
+
const _ = UX(S, w);
|
|
34773
34790
|
return this.measurementsCache = _, _;
|
|
34774
34791
|
}
|
|
34775
34792
|
const g = this.measurementsCache.slice(0, h), m = new Array(i).fill(
|
|
@@ -34820,7 +34837,7 @@ class oZ {
|
|
|
34820
34837
|
this.getScrollOffset(),
|
|
34821
34838
|
this.options.lanes
|
|
34822
34839
|
],
|
|
34823
|
-
(n, o, r, a) => n.length === 0 || o === 0 ? (this.range = null, null) : (this.range =
|
|
34840
|
+
(n, o, r, a) => n.length === 0 || o === 0 ? (this.range = null, null) : (this.range = sZ(
|
|
34824
34841
|
n,
|
|
34825
34842
|
o,
|
|
34826
34843
|
r,
|
|
@@ -35152,7 +35169,7 @@ const U2 = (e, t, n, o) => {
|
|
|
35152
35169
|
}
|
|
35153
35170
|
return e > 0 ? e - 1 : 0;
|
|
35154
35171
|
};
|
|
35155
|
-
function
|
|
35172
|
+
function aZ(e, t, n) {
|
|
35156
35173
|
let o = 0;
|
|
35157
35174
|
for (; o <= t; ) {
|
|
35158
35175
|
const r = (o + t) / 2 | 0, a = e[r * 2];
|
|
@@ -35165,12 +35182,12 @@ function rZ(e, t, n) {
|
|
|
35165
35182
|
}
|
|
35166
35183
|
return o > 0 ? o - 1 : 0;
|
|
35167
35184
|
}
|
|
35168
|
-
function
|
|
35185
|
+
function sZ(e, t, n, o, r) {
|
|
35169
35186
|
const a = e.length - 1;
|
|
35170
35187
|
if (e.length <= o)
|
|
35171
35188
|
return { startIndex: 0, endIndex: a };
|
|
35172
35189
|
if (o === 1 && r !== null) {
|
|
35173
|
-
const c =
|
|
35190
|
+
const c = aZ(
|
|
35174
35191
|
r,
|
|
35175
35192
|
a,
|
|
35176
35193
|
n
|
|
@@ -35201,7 +35218,7 @@ function aZ(e, t, n, o, r) {
|
|
|
35201
35218
|
return { startIndex: i, endIndex: l };
|
|
35202
35219
|
}
|
|
35203
35220
|
const yd = typeof document < "u" ? x.useLayoutEffect : x.useEffect;
|
|
35204
|
-
function
|
|
35221
|
+
function iZ({
|
|
35205
35222
|
useFlushSync: e = !0,
|
|
35206
35223
|
directDomUpdates: t = !1,
|
|
35207
35224
|
directDomUpdatesMode: n = "transform",
|
|
@@ -35255,7 +35272,7 @@ function sZ({
|
|
|
35255
35272
|
m && (e && f && !s.current ? fS(r) : r()), (h = o.onChange) == null || h.call(o, d, f);
|
|
35256
35273
|
}
|
|
35257
35274
|
}, [u] = x.useState(() => {
|
|
35258
|
-
const d = new
|
|
35275
|
+
const d = new rZ(c), f = d.measureElement;
|
|
35259
35276
|
return d.measureElement = (h) => {
|
|
35260
35277
|
s.current = !0;
|
|
35261
35278
|
try {
|
|
@@ -35279,24 +35296,24 @@ function sZ({
|
|
|
35279
35296
|
l(u);
|
|
35280
35297
|
}), u;
|
|
35281
35298
|
}
|
|
35282
|
-
function
|
|
35283
|
-
return
|
|
35284
|
-
observeElementRect:
|
|
35285
|
-
observeElementOffset:
|
|
35286
|
-
scrollToFn:
|
|
35299
|
+
function lZ(e) {
|
|
35300
|
+
return iZ({
|
|
35301
|
+
observeElementRect: XX,
|
|
35302
|
+
observeElementOffset: QX,
|
|
35303
|
+
scrollToFn: nZ,
|
|
35287
35304
|
...e
|
|
35288
35305
|
});
|
|
35289
35306
|
}
|
|
35290
|
-
const
|
|
35291
|
-
function
|
|
35292
|
-
const { maxHeight: n, estimateSize: o =
|
|
35307
|
+
const cZ = 52;
|
|
35308
|
+
function fee(e, t = {}) {
|
|
35309
|
+
const { maxHeight: n, estimateSize: o = cZ, overscan: r = 8 } = t, [a, s] = te(null), i = ee(null), l = Y((m) => {
|
|
35293
35310
|
const v = i.current;
|
|
35294
35311
|
if (m && v && v !== m && v.isConnected)
|
|
35295
35312
|
throw new Error(
|
|
35296
35313
|
"This useTableVirtual() is already driving another table. Two tables sharing one virtualiser would fight over the scrollport and the first would stop virtualising, silently. Give each table its own useTableVirtual() and its own TableVirtualized."
|
|
35297
35314
|
);
|
|
35298
35315
|
i.current = m, s((b) => b === m ? b : m);
|
|
35299
|
-
}, []), c =
|
|
35316
|
+
}, []), c = lZ({
|
|
35300
35317
|
count: e.length,
|
|
35301
35318
|
getScrollElement: () => a,
|
|
35302
35319
|
estimateSize: () => o,
|
|
@@ -35335,10 +35352,10 @@ function dee(e, t = {}) {
|
|
|
35335
35352
|
[u, e, h, l, n, g, d, f]
|
|
35336
35353
|
);
|
|
35337
35354
|
}
|
|
35338
|
-
const
|
|
35339
|
-
oxTableBody:
|
|
35340
|
-
oxTableSpacer:
|
|
35341
|
-
},
|
|
35355
|
+
const uZ = "_oxTableBody_8465s_2", dZ = "_oxTableSpacer_8465s_2", Bf = {
|
|
35356
|
+
oxTableBody: uZ,
|
|
35357
|
+
oxTableSpacer: dZ
|
|
35358
|
+
}, fZ = 1e3, us = N(
|
|
35342
35359
|
({
|
|
35343
35360
|
className: e,
|
|
35344
35361
|
children: t,
|
|
@@ -35348,7 +35365,7 @@ const cZ = "_oxTableBody_8465s_2", uZ = "_oxTableSpacer_8465s_2", Bf = {
|
|
|
35348
35365
|
getItemId: a,
|
|
35349
35366
|
...s
|
|
35350
35367
|
}, i) => {
|
|
35351
|
-
const l = vK(
|
|
35368
|
+
const l = bK(vK(lm)), c = Zc();
|
|
35352
35369
|
if (n && c)
|
|
35353
35370
|
throw new Error(
|
|
35354
35371
|
"A table cannot be both reorderable and virtualised. A row's position in the DOM is not its position in the list once only part of it is rendered, so dropping a row would reorder the wrong ones. Use pagination for a table whose rows can be dragged."
|
|
@@ -35372,10 +35389,10 @@ const cZ = "_oxTableBody_8465s_2", uZ = "_oxTableSpacer_8465s_2", Bf = {
|
|
|
35372
35389
|
(f, h) => a ? a(f, h) : h
|
|
35373
35390
|
);
|
|
35374
35391
|
return /* @__PURE__ */ p(
|
|
35375
|
-
|
|
35392
|
+
CX,
|
|
35376
35393
|
{
|
|
35377
35394
|
sensors: l,
|
|
35378
|
-
collisionDetection:
|
|
35395
|
+
collisionDetection: SK,
|
|
35379
35396
|
onDragEnd: (f) => {
|
|
35380
35397
|
const { active: h, over: g } = f;
|
|
35381
35398
|
if (!g || h.id === g.id) return;
|
|
@@ -35385,7 +35402,7 @@ const cZ = "_oxTableBody_8465s_2", uZ = "_oxTableSpacer_8465s_2", Bf = {
|
|
|
35385
35402
|
accessibility: {
|
|
35386
35403
|
container: typeof document < "u" ? document.body : void 0
|
|
35387
35404
|
},
|
|
35388
|
-
children: /* @__PURE__ */ p(
|
|
35405
|
+
children: /* @__PURE__ */ p($X, { items: u, strategy: AX, children: /* @__PURE__ */ p(
|
|
35389
35406
|
"tbody",
|
|
35390
35407
|
{
|
|
35391
35408
|
ref: i,
|
|
@@ -35401,12 +35418,12 @@ const cZ = "_oxTableBody_8465s_2", uZ = "_oxTableSpacer_8465s_2", Bf = {
|
|
|
35401
35418
|
);
|
|
35402
35419
|
us.displayName = "OxTableBody";
|
|
35403
35420
|
function g0({ height: e }) {
|
|
35404
|
-
return e <= 0 ? null : /* @__PURE__ */ p("tr", { "aria-hidden": "true", className: Bf.oxTableSpacer, "data-spacer": !0, children: /* @__PURE__ */ p("td", { colSpan:
|
|
35421
|
+
return e <= 0 ? null : /* @__PURE__ */ p("tr", { "aria-hidden": "true", className: Bf.oxTableSpacer, "data-spacer": !0, children: /* @__PURE__ */ p("td", { colSpan: fZ, children: /* @__PURE__ */ p("div", { style: { height: `${e}px` } }) }) });
|
|
35405
35422
|
}
|
|
35406
|
-
const
|
|
35407
|
-
oxTableBulkHeader:
|
|
35408
|
-
oxTableBulkHeaderBar:
|
|
35409
|
-
oxTableBulkHeaderText:
|
|
35423
|
+
const pZ = "_oxTableBulkHeader_1fufp_2", hZ = "_oxTableBulkHeaderBar_1fufp_2", mZ = "_oxTableBulkHeaderText_1fufp_2", wd = {
|
|
35424
|
+
oxTableBulkHeader: pZ,
|
|
35425
|
+
oxTableBulkHeaderBar: hZ,
|
|
35426
|
+
oxTableBulkHeaderText: mZ
|
|
35410
35427
|
}, q2 = N(
|
|
35411
35428
|
({ className: e, style: t, selectedCount: n = 0, total: o = 0, children: r, ...a }, s) => {
|
|
35412
35429
|
const l = $e()("orxata.table.bulkHeader.selected", {
|
|
@@ -35438,13 +35455,13 @@ const fZ = "_oxTableBulkHeader_1fufp_2", pZ = "_oxTableBulkHeaderBar_1fufp_2", h
|
|
|
35438
35455
|
}
|
|
35439
35456
|
);
|
|
35440
35457
|
q2.displayName = "OxTableBulkHeader";
|
|
35441
|
-
const
|
|
35442
|
-
oxTableCell:
|
|
35443
|
-
oxTableCellAlignLeft:
|
|
35444
|
-
oxTableCellAlignCenter:
|
|
35445
|
-
oxTableCellAlignRight:
|
|
35446
|
-
oxTableCellFixed:
|
|
35447
|
-
},
|
|
35458
|
+
const gZ = "_oxTableCell_2knzy_2", xZ = "_oxTableCellAlignLeft_2knzy_2", vZ = "_oxTableCellAlignCenter_2knzy_2", bZ = "_oxTableCellAlignRight_2knzy_2", yZ = "_oxTableCellFixed_2knzy_2", ar = {
|
|
35459
|
+
oxTableCell: gZ,
|
|
35460
|
+
oxTableCellAlignLeft: xZ,
|
|
35461
|
+
oxTableCellAlignCenter: vZ,
|
|
35462
|
+
oxTableCellAlignRight: bZ,
|
|
35463
|
+
oxTableCellFixed: yZ
|
|
35464
|
+
}, wZ = {
|
|
35448
35465
|
left: ar.oxTableCellAlignLeft,
|
|
35449
35466
|
center: ar.oxTableCellAlignCenter,
|
|
35450
35467
|
right: ar.oxTableCellAlignRight
|
|
@@ -35463,7 +35480,7 @@ const mZ = "_oxTableCell_2knzy_2", gZ = "_oxTableCellAlignLeft_2knzy_2", xZ = "_
|
|
|
35463
35480
|
ref: i,
|
|
35464
35481
|
className: D(
|
|
35465
35482
|
ar.oxTableCell,
|
|
35466
|
-
|
|
35483
|
+
wZ[t],
|
|
35467
35484
|
// Literal global class names referenced by Table's global stylesheet.
|
|
35468
35485
|
n && ["table-cell-fixed", ar.oxTableCellFixed],
|
|
35469
35486
|
n === "left" && [
|
|
@@ -35484,12 +35501,12 @@ const mZ = "_oxTableCell_2knzy_2", gZ = "_oxTableCellAlignLeft_2knzy_2", xZ = "_
|
|
|
35484
35501
|
)
|
|
35485
35502
|
);
|
|
35486
35503
|
Y2.displayName = "OxTableCell";
|
|
35487
|
-
const
|
|
35488
|
-
oxTableExpandCell:
|
|
35489
|
-
oxTableExpandCellHeader:
|
|
35490
|
-
oxTableExpandButton:
|
|
35491
|
-
oxTableExpandButtonExpanded:
|
|
35492
|
-
oxTableExpandIcon:
|
|
35504
|
+
const _Z = "_oxTableExpandCell_643ul_2", CZ = "_oxTableExpandCellHeader_643ul_2", SZ = "_oxTableExpandButton_643ul_2", PZ = "_oxTableExpandButtonExpanded_643ul_2", TZ = "_oxTableExpandIcon_643ul_2", Za = {
|
|
35505
|
+
oxTableExpandCell: _Z,
|
|
35506
|
+
oxTableExpandCellHeader: CZ,
|
|
35507
|
+
oxTableExpandButton: SZ,
|
|
35508
|
+
oxTableExpandButtonExpanded: PZ,
|
|
35509
|
+
oxTableExpandIcon: TZ
|
|
35493
35510
|
}, ds = N(
|
|
35494
35511
|
({ className: e, expanded: t = !1, header: n = !1, onToggle: o, ...r }, a) => /* @__PURE__ */ p(
|
|
35495
35512
|
n ? "th" : "td",
|
|
@@ -35528,11 +35545,11 @@ const wZ = "_oxTableExpandCell_643ul_2", _Z = "_oxTableExpandCellHeader_643ul_2"
|
|
|
35528
35545
|
)
|
|
35529
35546
|
);
|
|
35530
35547
|
ds.displayName = "OxTableExpandCell";
|
|
35531
|
-
const
|
|
35532
|
-
oxTableHead:
|
|
35533
|
-
oxTableHeadVirtual:
|
|
35534
|
-
oxTableHeadFloat:
|
|
35535
|
-
oxTableHeadFloatRow:
|
|
35548
|
+
const EZ = "_oxTableHead_1en5v_2", kZ = "_oxTableHeadVirtual_1en5v_2", RZ = "_oxTableHeadFloat_1en5v_2", IZ = "_oxTableHeadFloatRow_1en5v_2", cl = {
|
|
35549
|
+
oxTableHead: EZ,
|
|
35550
|
+
oxTableHeadVirtual: kZ,
|
|
35551
|
+
oxTableHeadFloat: RZ,
|
|
35552
|
+
oxTableHeadFloatRow: IZ
|
|
35536
35553
|
};
|
|
35537
35554
|
function x0(e) {
|
|
35538
35555
|
let t = e.parentElement;
|
|
@@ -35544,7 +35561,7 @@ function x0(e) {
|
|
|
35544
35561
|
}
|
|
35545
35562
|
return null;
|
|
35546
35563
|
}
|
|
35547
|
-
function
|
|
35564
|
+
function OZ(e) {
|
|
35548
35565
|
const t = [e, e.parentElement].find(
|
|
35549
35566
|
(n) => n && parseFloat(getComputedStyle(n).borderTopLeftRadius) > 0
|
|
35550
35567
|
);
|
|
@@ -35559,7 +35576,7 @@ const fs = N(
|
|
|
35559
35576
|
if (!h || !g) return;
|
|
35560
35577
|
const v = h.getBoundingClientRect(), b = g.getBoundingClientRect(), y = f.getBoundingClientRect(), w = m.getBoundingClientRect(), S = w.left + m.clientLeft, C = w.top + m.clientTop, _ = c.querySelector(":scope > tr"), P = c.querySelectorAll(":scope > tr > *");
|
|
35561
35578
|
u.style.left = `${b.left - S}px`, u.style.top = `${y.top + f.clientTop - C}px`, u.style.width = `${b.width}px`, u.style.height = `${(_ == null ? void 0 : _.getBoundingClientRect().height) ?? 0}px`;
|
|
35562
|
-
const T =
|
|
35579
|
+
const T = OZ(f);
|
|
35563
35580
|
u.style.borderTopLeftRadius = Math.abs(b.left - y.left) < 2 ? T : "0px", u.style.borderTopRightRadius = Math.abs(b.right - y.right) < 2 ? T : "0px", d.style.width = `${v.width}px`, d.style.transform = `translateX(${v.left - b.left}px)`, P.forEach((E, k) => {
|
|
35564
35581
|
const I = d.children[k];
|
|
35565
35582
|
I && (I.style.width = `${E.getBoundingClientRect().width}px`);
|
|
@@ -35605,25 +35622,25 @@ const fs = N(
|
|
|
35605
35622
|
}
|
|
35606
35623
|
);
|
|
35607
35624
|
fs.displayName = "OxTableHead";
|
|
35608
|
-
const
|
|
35609
|
-
oxTableHeaderCell:
|
|
35610
|
-
oxTableHeaderCellAlignLeft:
|
|
35611
|
-
oxTableHeaderCellAlignCenter:
|
|
35612
|
-
oxTableHeaderCellAlignRight:
|
|
35613
|
-
oxTableHeaderCellSortable:
|
|
35614
|
-
oxTableHeaderCellSorted:
|
|
35615
|
-
oxTableHeaderCellResizing:
|
|
35616
|
-
oxTableHeaderCellContent:
|
|
35617
|
-
oxTableHeaderCellIndicator:
|
|
35618
|
-
oxTableHeaderCellIcon:
|
|
35619
|
-
oxTableHeaderCellIconUnsorted:
|
|
35620
|
-
oxTableHeaderCellResizer:
|
|
35621
|
-
oxTableHeaderCellResizerActive:
|
|
35622
|
-
oxTableHeaderCellDraggable:
|
|
35623
|
-
oxTableHeaderCellDragging:
|
|
35624
|
-
oxTableHeaderCellDragOver:
|
|
35625
|
-
oxTableHeaderCellFixed:
|
|
35626
|
-
},
|
|
35625
|
+
const DZ = "_oxTableHeaderCell_o9ey6_2", MZ = "_oxTableHeaderCellAlignLeft_o9ey6_2", AZ = "_oxTableHeaderCellAlignCenter_o9ey6_2", NZ = "_oxTableHeaderCellAlignRight_o9ey6_2", $Z = "_oxTableHeaderCellSortable_o9ey6_2", FZ = "_oxTableHeaderCellSorted_o9ey6_2", LZ = "_oxTableHeaderCellResizing_o9ey6_2", zZ = "_oxTableHeaderCellContent_o9ey6_2", BZ = "_oxTableHeaderCellIndicator_o9ey6_2", HZ = "_oxTableHeaderCellIcon_o9ey6_2", VZ = "_oxTableHeaderCellIconUnsorted_o9ey6_2", WZ = "_oxTableHeaderCellResizer_o9ey6_2", GZ = "_oxTableHeaderCellResizerActive_o9ey6_2", jZ = "_oxTableHeaderCellDraggable_o9ey6_2", UZ = "_oxTableHeaderCellDragging_o9ey6_2", qZ = "_oxTableHeaderCellDragOver_o9ey6_2", YZ = "_oxTableHeaderCellFixed_o9ey6_2", nt = {
|
|
35626
|
+
oxTableHeaderCell: DZ,
|
|
35627
|
+
oxTableHeaderCellAlignLeft: MZ,
|
|
35628
|
+
oxTableHeaderCellAlignCenter: AZ,
|
|
35629
|
+
oxTableHeaderCellAlignRight: NZ,
|
|
35630
|
+
oxTableHeaderCellSortable: $Z,
|
|
35631
|
+
oxTableHeaderCellSorted: FZ,
|
|
35632
|
+
oxTableHeaderCellResizing: LZ,
|
|
35633
|
+
oxTableHeaderCellContent: zZ,
|
|
35634
|
+
oxTableHeaderCellIndicator: BZ,
|
|
35635
|
+
oxTableHeaderCellIcon: HZ,
|
|
35636
|
+
oxTableHeaderCellIconUnsorted: VZ,
|
|
35637
|
+
oxTableHeaderCellResizer: WZ,
|
|
35638
|
+
oxTableHeaderCellResizerActive: GZ,
|
|
35639
|
+
oxTableHeaderCellDraggable: jZ,
|
|
35640
|
+
oxTableHeaderCellDragging: UZ,
|
|
35641
|
+
oxTableHeaderCellDragOver: qZ,
|
|
35642
|
+
oxTableHeaderCellFixed: YZ
|
|
35643
|
+
}, KZ = {
|
|
35627
35644
|
left: nt.oxTableHeaderCellAlignLeft,
|
|
35628
35645
|
center: nt.oxTableHeaderCellAlignCenter,
|
|
35629
35646
|
right: nt.oxTableHeaderCellAlignRight
|
|
@@ -35676,7 +35693,7 @@ const OZ = "_oxTableHeaderCell_o9ey6_2", DZ = "_oxTableHeaderCellAlignLeft_o9ey6
|
|
|
35676
35693
|
ref: b,
|
|
35677
35694
|
className: D(
|
|
35678
35695
|
nt.oxTableHeaderCell,
|
|
35679
|
-
|
|
35696
|
+
KZ[i],
|
|
35680
35697
|
t && nt.oxTableHeaderCellSortable,
|
|
35681
35698
|
n && nt.oxTableHeaderCellSorted,
|
|
35682
35699
|
a && nt.oxTableHeaderCellResizing,
|
|
@@ -35761,14 +35778,14 @@ const OZ = "_oxTableHeaderCell_o9ey6_2", DZ = "_oxTableHeaderCellAlignLeft_o9ey6
|
|
|
35761
35778
|
}
|
|
35762
35779
|
);
|
|
35763
35780
|
K2.displayName = "OxTableHeaderCell";
|
|
35764
|
-
const
|
|
35765
|
-
oxTableRow:
|
|
35766
|
-
oxTableRowSelected:
|
|
35767
|
-
oxTableRowExpanded:
|
|
35781
|
+
const XZ = "_oxTableRow_fa9ic_2", ZZ = "_oxTableRowSelected_fa9ic_2", JZ = "_oxTableRowExpanded_fa9ic_2", ea = {
|
|
35782
|
+
oxTableRow: XZ,
|
|
35783
|
+
oxTableRowSelected: ZZ,
|
|
35784
|
+
oxTableRowExpanded: JZ
|
|
35768
35785
|
}, X2 = Te(null), ps = N(
|
|
35769
35786
|
(e, t) => {
|
|
35770
35787
|
if (e.dragId !== void 0)
|
|
35771
|
-
return /* @__PURE__ */ p(
|
|
35788
|
+
return /* @__PURE__ */ p(QZ, { ...e });
|
|
35772
35789
|
const {
|
|
35773
35790
|
className: n,
|
|
35774
35791
|
selected: o = !1,
|
|
@@ -35795,7 +35812,7 @@ const KZ = "_oxTableRow_fa9ic_2", XZ = "_oxTableRowSelected_fa9ic_2", ZZ = "_oxT
|
|
|
35795
35812
|
}
|
|
35796
35813
|
);
|
|
35797
35814
|
ps.displayName = "OxTableRow";
|
|
35798
|
-
function
|
|
35815
|
+
function QZ({
|
|
35799
35816
|
className: e,
|
|
35800
35817
|
selected: t = !1,
|
|
35801
35818
|
expanded: n = !1,
|
|
@@ -35811,7 +35828,7 @@ function JZ({
|
|
|
35811
35828
|
isDragging: u,
|
|
35812
35829
|
attributes: d,
|
|
35813
35830
|
listeners: f
|
|
35814
|
-
} =
|
|
35831
|
+
} = WX({ id: r }), h = {
|
|
35815
35832
|
transform: Ls.Transform.toString(l),
|
|
35816
35833
|
transition: c,
|
|
35817
35834
|
...u ? { position: "relative", zIndex: 2, opacity: 0.85 } : null
|
|
@@ -35844,10 +35861,10 @@ function JZ({
|
|
|
35844
35861
|
}
|
|
35845
35862
|
);
|
|
35846
35863
|
}
|
|
35847
|
-
const
|
|
35848
|
-
oxTableRowExpanded:
|
|
35849
|
-
oxTableRowExpandedCell:
|
|
35850
|
-
oxTableRowExpandedContent:
|
|
35864
|
+
const eJ = "_oxTableRowExpanded_y3m5z_2", tJ = "_oxTableRowExpandedCell_y3m5z_2", nJ = "_oxTableRowExpandedContent_y3m5z_2", _d = {
|
|
35865
|
+
oxTableRowExpanded: eJ,
|
|
35866
|
+
oxTableRowExpandedCell: tJ,
|
|
35867
|
+
oxTableRowExpandedContent: nJ
|
|
35851
35868
|
}, hs = N(({ className: e, expanded: t = !1, colspan: n = 1, children: o, ...r }, a) => t ? /* @__PURE__ */ p(
|
|
35852
35869
|
"tr",
|
|
35853
35870
|
{
|
|
@@ -35860,7 +35877,7 @@ const QZ = "_oxTableRowExpanded_y3m5z_2", eJ = "_oxTableRowExpandedCell_y3m5z_2"
|
|
|
35860
35877
|
) : null);
|
|
35861
35878
|
hs.displayName = "OxTableRowExpanded";
|
|
35862
35879
|
const v0 = 4;
|
|
35863
|
-
function
|
|
35880
|
+
function oJ(e, t) {
|
|
35864
35881
|
e(
|
|
35865
35882
|
(n) => Object.keys(t).every((o) => n[o] === t[o]) ? n : t
|
|
35866
35883
|
);
|
|
@@ -35871,7 +35888,7 @@ function Tl() {
|
|
|
35871
35888
|
const a = e == null ? void 0 : e.containerRef.current, s = t.current;
|
|
35872
35889
|
if (!a || !s) return;
|
|
35873
35890
|
const i = s.offsetParent ?? document.body, l = a.getBoundingClientRect(), c = i.getBoundingClientRect(), u = ((d = a.querySelector("thead")) == null ? void 0 : d.getBoundingClientRect().height) ?? 0;
|
|
35874
|
-
|
|
35891
|
+
oJ(o, {
|
|
35875
35892
|
top: l.top + a.clientTop + u + v0 - (c.top + i.clientTop),
|
|
35876
35893
|
left: l.left + a.clientLeft + a.clientWidth - v1 - (c.left + i.clientLeft),
|
|
35877
35894
|
height: Math.max(0, a.clientHeight - u - v0 * 2)
|
|
@@ -35901,11 +35918,11 @@ function Tl() {
|
|
|
35901
35918
|
) : null;
|
|
35902
35919
|
}
|
|
35903
35920
|
Tl.displayName = "OxTableScrollbar";
|
|
35904
|
-
const
|
|
35905
|
-
oxTableSelectCell:
|
|
35906
|
-
oxTableSelectCellHeader:
|
|
35907
|
-
oxTableSelectCellContent:
|
|
35908
|
-
oxTableSelectCellFixed:
|
|
35921
|
+
const rJ = "_oxTableSelectCell_1s1yr_2", aJ = "_oxTableSelectCellHeader_1s1yr_2", sJ = "_oxTableSelectCellContent_1s1yr_2", iJ = "_oxTableSelectCellFixed_1s1yr_2", ul = {
|
|
35922
|
+
oxTableSelectCell: rJ,
|
|
35923
|
+
oxTableSelectCellHeader: aJ,
|
|
35924
|
+
oxTableSelectCellContent: sJ,
|
|
35925
|
+
oxTableSelectCellFixed: iJ
|
|
35909
35926
|
}, ms = N(
|
|
35910
35927
|
({
|
|
35911
35928
|
className: e,
|
|
@@ -35968,10 +35985,10 @@ function Yt(e, t) {
|
|
|
35968
35985
|
function Jc(e) {
|
|
35969
35986
|
return e instanceof Function;
|
|
35970
35987
|
}
|
|
35971
|
-
function
|
|
35988
|
+
function lJ(e) {
|
|
35972
35989
|
return Array.isArray(e) && e.every((t) => typeof t == "number");
|
|
35973
35990
|
}
|
|
35974
|
-
function
|
|
35991
|
+
function cJ(e, t) {
|
|
35975
35992
|
const n = [], o = (r) => {
|
|
35976
35993
|
r.forEach((a) => {
|
|
35977
35994
|
n.push(a);
|
|
@@ -36015,7 +36032,7 @@ function ve(e, t, n, o) {
|
|
|
36015
36032
|
onChange: o
|
|
36016
36033
|
};
|
|
36017
36034
|
}
|
|
36018
|
-
function
|
|
36035
|
+
function uJ(e, t, n, o) {
|
|
36019
36036
|
const r = () => {
|
|
36020
36037
|
var s;
|
|
36021
36038
|
return (s = a.getValue()) != null ? s : e.options.renderFallbackValue;
|
|
@@ -36038,7 +36055,7 @@ function cJ(e, t, n, o) {
|
|
|
36038
36055
|
s.createCell == null || s.createCell(a, n, t, e);
|
|
36039
36056
|
}, {}), a;
|
|
36040
36057
|
}
|
|
36041
|
-
function
|
|
36058
|
+
function dJ(e, t, n, o) {
|
|
36042
36059
|
var r, a;
|
|
36043
36060
|
const i = {
|
|
36044
36061
|
...e._getDefaultColumnDef(),
|
|
@@ -36108,7 +36125,7 @@ function b0(e, t, n) {
|
|
|
36108
36125
|
s.createHeader == null || s.createHeader(a, e);
|
|
36109
36126
|
}), a;
|
|
36110
36127
|
}
|
|
36111
|
-
const
|
|
36128
|
+
const fJ = {
|
|
36112
36129
|
createTable: (e) => {
|
|
36113
36130
|
e.getHeaderGroups = xe(() => [e.getAllColumns(), e.getVisibleLeafColumns(), e.getState().columnPinning.left, e.getState().columnPinning.right], (t, n, o, r) => {
|
|
36114
36131
|
var a, s;
|
|
@@ -36193,7 +36210,7 @@ function dl(e, t, n, o) {
|
|
|
36193
36210
|
});
|
|
36194
36211
|
return d((r = (a = l[0]) == null ? void 0 : a.headers) != null ? r : []), l;
|
|
36195
36212
|
}
|
|
36196
|
-
const
|
|
36213
|
+
const pJ = (e, t, n, o, r, a, s) => {
|
|
36197
36214
|
let i = {
|
|
36198
36215
|
id: t,
|
|
36199
36216
|
index: o,
|
|
@@ -36221,7 +36238,7 @@ const fJ = (e, t, n, o, r, a, s) => {
|
|
|
36221
36238
|
return (c = i.getValue(l)) != null ? c : e.options.renderFallbackValue;
|
|
36222
36239
|
},
|
|
36223
36240
|
subRows: [],
|
|
36224
|
-
getLeafRows: () =>
|
|
36241
|
+
getLeafRows: () => cJ(i.subRows, (l) => l.subRows),
|
|
36225
36242
|
getParentRow: () => i.parentId ? e.getRow(i.parentId, !0) : void 0,
|
|
36226
36243
|
getParentRows: () => {
|
|
36227
36244
|
let l = [], c = i;
|
|
@@ -36232,7 +36249,7 @@ const fJ = (e, t, n, o, r, a, s) => {
|
|
|
36232
36249
|
}
|
|
36233
36250
|
return l.reverse();
|
|
36234
36251
|
},
|
|
36235
|
-
getAllCells: xe(() => [e.getAllLeafColumns()], (l) => l.map((c) =>
|
|
36252
|
+
getAllCells: xe(() => [e.getAllLeafColumns()], (l) => l.map((c) => uJ(e, i, c, c.id)), ve(e.options, "debugRows", "getAllCells")),
|
|
36236
36253
|
_getAllCellsByColumnId: xe(() => [i.getAllCells()], (l) => l.reduce((c, u) => (c[u.column.id] = u, c), {}), ve(e.options, "debugRows", "getAllCellsByColumnId"))
|
|
36237
36254
|
};
|
|
36238
36255
|
for (let l = 0; l < e._features.length; l++) {
|
|
@@ -36240,7 +36257,7 @@ const fJ = (e, t, n, o, r, a, s) => {
|
|
|
36240
36257
|
c == null || c.createRow == null || c.createRow(i, e);
|
|
36241
36258
|
}
|
|
36242
36259
|
return i;
|
|
36243
|
-
},
|
|
36260
|
+
}, hJ = {
|
|
36244
36261
|
createColumn: (e, t) => {
|
|
36245
36262
|
e._getFacetedRowModel = t.options.getFacetedRowModel && t.options.getFacetedRowModel(t, e.id), e.getFacetedRowModel = () => e._getFacetedRowModel ? e._getFacetedRowModel() : t.getPreFilteredRowModel(), e._getFacetedUniqueValues = t.options.getFacetedUniqueValues && t.options.getFacetedUniqueValues(t, e.id), e.getFacetedUniqueValues = () => e._getFacetedUniqueValues ? e._getFacetedUniqueValues() : /* @__PURE__ */ new Map(), e._getFacetedMinMaxValues = t.options.getFacetedMinMaxValues && t.options.getFacetedMinMaxValues(t, e.id), e.getFacetedMinMaxValues = () => {
|
|
36246
36263
|
if (e._getFacetedMinMaxValues)
|
|
@@ -36310,7 +36327,7 @@ const Xn = {
|
|
|
36310
36327
|
function xn(e) {
|
|
36311
36328
|
return e == null || e === "";
|
|
36312
36329
|
}
|
|
36313
|
-
const
|
|
36330
|
+
const mJ = {
|
|
36314
36331
|
getDefaultColumnDef: () => ({
|
|
36315
36332
|
filterFn: "auto"
|
|
36316
36333
|
}),
|
|
@@ -36388,54 +36405,54 @@ const hJ = {
|
|
|
36388
36405
|
function y0(e, t, n) {
|
|
36389
36406
|
return (e && e.autoRemove ? e.autoRemove(t, n) : !1) || typeof t > "u" || typeof t == "string" && !t;
|
|
36390
36407
|
}
|
|
36391
|
-
const
|
|
36408
|
+
const gJ = (e, t, n) => n.reduce((o, r) => {
|
|
36392
36409
|
const a = r.getValue(e);
|
|
36393
36410
|
return o + (typeof a == "number" ? a : 0);
|
|
36394
|
-
}, 0),
|
|
36411
|
+
}, 0), xJ = (e, t, n) => {
|
|
36395
36412
|
let o;
|
|
36396
36413
|
return n.forEach((r) => {
|
|
36397
36414
|
const a = r.getValue(e);
|
|
36398
36415
|
a != null && (o > a || o === void 0 && a >= a) && (o = a);
|
|
36399
36416
|
}), o;
|
|
36400
|
-
},
|
|
36417
|
+
}, vJ = (e, t, n) => {
|
|
36401
36418
|
let o;
|
|
36402
36419
|
return n.forEach((r) => {
|
|
36403
36420
|
const a = r.getValue(e);
|
|
36404
36421
|
a != null && (o < a || o === void 0 && a >= a) && (o = a);
|
|
36405
36422
|
}), o;
|
|
36406
|
-
},
|
|
36423
|
+
}, bJ = (e, t, n) => {
|
|
36407
36424
|
let o, r;
|
|
36408
36425
|
return n.forEach((a) => {
|
|
36409
36426
|
const s = a.getValue(e);
|
|
36410
36427
|
s != null && (o === void 0 ? s >= s && (o = r = s) : (o > s && (o = s), r < s && (r = s)));
|
|
36411
36428
|
}), [o, r];
|
|
36412
|
-
},
|
|
36429
|
+
}, yJ = (e, t) => {
|
|
36413
36430
|
let n = 0, o = 0;
|
|
36414
36431
|
if (t.forEach((r) => {
|
|
36415
36432
|
let a = r.getValue(e);
|
|
36416
36433
|
a != null && (a = +a) >= a && (++n, o += a);
|
|
36417
36434
|
}), n) return o / n;
|
|
36418
|
-
},
|
|
36435
|
+
}, wJ = (e, t) => {
|
|
36419
36436
|
if (!t.length)
|
|
36420
36437
|
return;
|
|
36421
36438
|
const n = t.map((a) => a.getValue(e));
|
|
36422
|
-
if (!
|
|
36439
|
+
if (!lJ(n))
|
|
36423
36440
|
return;
|
|
36424
36441
|
if (n.length === 1)
|
|
36425
36442
|
return n[0];
|
|
36426
36443
|
const o = Math.floor(n.length / 2), r = n.sort((a, s) => a - s);
|
|
36427
36444
|
return n.length % 2 !== 0 ? r[o] : (r[o - 1] + r[o]) / 2;
|
|
36428
|
-
},
|
|
36429
|
-
sum:
|
|
36430
|
-
min:
|
|
36431
|
-
max:
|
|
36432
|
-
extent:
|
|
36433
|
-
mean:
|
|
36434
|
-
median:
|
|
36435
|
-
unique:
|
|
36436
|
-
uniqueCount:
|
|
36437
|
-
count:
|
|
36438
|
-
},
|
|
36445
|
+
}, _J = (e, t) => Array.from(new Set(t.map((n) => n.getValue(e))).values()), CJ = (e, t) => new Set(t.map((n) => n.getValue(e))).size, SJ = (e, t) => t.length, Cd = {
|
|
36446
|
+
sum: gJ,
|
|
36447
|
+
min: xJ,
|
|
36448
|
+
max: vJ,
|
|
36449
|
+
extent: bJ,
|
|
36450
|
+
mean: yJ,
|
|
36451
|
+
median: wJ,
|
|
36452
|
+
unique: _J,
|
|
36453
|
+
uniqueCount: CJ,
|
|
36454
|
+
count: SJ
|
|
36455
|
+
}, PJ = {
|
|
36439
36456
|
getDefaultColumnDef: () => ({
|
|
36440
36457
|
aggregatedCell: (e) => {
|
|
36441
36458
|
var t, n;
|
|
@@ -36502,13 +36519,13 @@ const mJ = (e, t, n) => n.reduce((o, r) => {
|
|
|
36502
36519
|
};
|
|
36503
36520
|
}
|
|
36504
36521
|
};
|
|
36505
|
-
function
|
|
36522
|
+
function TJ(e, t, n) {
|
|
36506
36523
|
if (!(t != null && t.length) || !n)
|
|
36507
36524
|
return e;
|
|
36508
36525
|
const o = e.filter((a) => !t.includes(a.id));
|
|
36509
36526
|
return n === "remove" ? o : [...t.map((a) => e.find((s) => s.id === a)).filter(Boolean), ...o];
|
|
36510
36527
|
}
|
|
36511
|
-
const
|
|
36528
|
+
const EJ = {
|
|
36512
36529
|
getInitialState: (e) => ({
|
|
36513
36530
|
columnOrder: [],
|
|
36514
36531
|
...e
|
|
@@ -36542,13 +36559,13 @@ const TJ = {
|
|
|
36542
36559
|
}
|
|
36543
36560
|
a = [...a, ...i];
|
|
36544
36561
|
}
|
|
36545
|
-
return
|
|
36562
|
+
return TJ(a, n, o);
|
|
36546
36563
|
}, ve(e.options, "debugTable", "_getOrderColumnsFn"));
|
|
36547
36564
|
}
|
|
36548
36565
|
}, Sd = () => ({
|
|
36549
36566
|
left: [],
|
|
36550
36567
|
right: []
|
|
36551
|
-
}),
|
|
36568
|
+
}), kJ = {
|
|
36552
36569
|
getInitialState: (e) => ({
|
|
36553
36570
|
columnPinning: Sd(),
|
|
36554
36571
|
...e
|
|
@@ -36625,7 +36642,7 @@ const TJ = {
|
|
|
36625
36642
|
}, ve(e.options, "debugColumns", "getCenterLeafColumns"));
|
|
36626
36643
|
}
|
|
36627
36644
|
};
|
|
36628
|
-
function
|
|
36645
|
+
function RJ(e) {
|
|
36629
36646
|
return e || (typeof document < "u" ? document : null);
|
|
36630
36647
|
}
|
|
36631
36648
|
const fl = {
|
|
@@ -36639,7 +36656,7 @@ const fl = {
|
|
|
36639
36656
|
deltaPercentage: null,
|
|
36640
36657
|
isResizingColumn: !1,
|
|
36641
36658
|
columnSizingStart: []
|
|
36642
|
-
}),
|
|
36659
|
+
}), IJ = {
|
|
36643
36660
|
getDefaultColumnDef: () => fl,
|
|
36644
36661
|
getInitialState: (e) => ({
|
|
36645
36662
|
columnSizing: {},
|
|
@@ -36719,7 +36736,7 @@ const fl = {
|
|
|
36719
36736
|
deltaPercentage: null,
|
|
36720
36737
|
columnSizingStart: []
|
|
36721
36738
|
}));
|
|
36722
|
-
}, h =
|
|
36739
|
+
}, h = RJ(n), g = {
|
|
36723
36740
|
moveHandler: (b) => d(b.clientX),
|
|
36724
36741
|
upHandler: (b) => {
|
|
36725
36742
|
h == null || h.removeEventListener("mousemove", g.moveHandler), h == null || h.removeEventListener("mouseup", g.upHandler), f(b.clientX);
|
|
@@ -36730,7 +36747,7 @@ const fl = {
|
|
|
36730
36747
|
var y;
|
|
36731
36748
|
h == null || h.removeEventListener("touchmove", m.moveHandler), h == null || h.removeEventListener("touchend", m.upHandler), b.cancelable && (b.preventDefault(), b.stopPropagation()), f((y = b.touches[0]) == null ? void 0 : y.clientX);
|
|
36732
36749
|
}
|
|
36733
|
-
}, v =
|
|
36750
|
+
}, v = OJ() ? {
|
|
36734
36751
|
passive: !1
|
|
36735
36752
|
} : !1;
|
|
36736
36753
|
Td(a) ? (h == null || h.addEventListener("touchmove", m.moveHandler, v), h == null || h.addEventListener("touchend", m.upHandler, v)) : (h == null || h.addEventListener("mousemove", g.moveHandler, v), h == null || h.addEventListener("mouseup", g.upHandler, v)), t.setColumnSizingInfo((b) => ({
|
|
@@ -36768,7 +36785,7 @@ const fl = {
|
|
|
36768
36785
|
}
|
|
36769
36786
|
};
|
|
36770
36787
|
let pl = null;
|
|
36771
|
-
function
|
|
36788
|
+
function OJ() {
|
|
36772
36789
|
if (typeof pl == "boolean") return pl;
|
|
36773
36790
|
let e = !1;
|
|
36774
36791
|
try {
|
|
@@ -36787,7 +36804,7 @@ function IJ() {
|
|
|
36787
36804
|
function Td(e) {
|
|
36788
36805
|
return e.type === "touchstart";
|
|
36789
36806
|
}
|
|
36790
|
-
const
|
|
36807
|
+
const DJ = {
|
|
36791
36808
|
getInitialState: (e) => ({
|
|
36792
36809
|
columnVisibility: {},
|
|
36793
36810
|
...e
|
|
@@ -36835,14 +36852,14 @@ const OJ = {
|
|
|
36835
36852
|
function _s(e, t) {
|
|
36836
36853
|
return t ? t === "center" ? e.getCenterVisibleLeafColumns() : t === "left" ? e.getLeftVisibleLeafColumns() : e.getRightVisibleLeafColumns() : e.getVisibleLeafColumns();
|
|
36837
36854
|
}
|
|
36838
|
-
const
|
|
36855
|
+
const MJ = {
|
|
36839
36856
|
createTable: (e) => {
|
|
36840
36857
|
e._getGlobalFacetedRowModel = e.options.getFacetedRowModel && e.options.getFacetedRowModel(e, "__global__"), e.getGlobalFacetedRowModel = () => e.options.manualFiltering || !e._getGlobalFacetedRowModel ? e.getPreFilteredRowModel() : e._getGlobalFacetedRowModel(), e._getGlobalFacetedUniqueValues = e.options.getFacetedUniqueValues && e.options.getFacetedUniqueValues(e, "__global__"), e.getGlobalFacetedUniqueValues = () => e._getGlobalFacetedUniqueValues ? e._getGlobalFacetedUniqueValues() : /* @__PURE__ */ new Map(), e._getGlobalFacetedMinMaxValues = e.options.getFacetedMinMaxValues && e.options.getFacetedMinMaxValues(e, "__global__"), e.getGlobalFacetedMinMaxValues = () => {
|
|
36841
36858
|
if (e._getGlobalFacetedMinMaxValues)
|
|
36842
36859
|
return e._getGlobalFacetedMinMaxValues();
|
|
36843
36860
|
};
|
|
36844
36861
|
}
|
|
36845
|
-
},
|
|
36862
|
+
}, AJ = {
|
|
36846
36863
|
getInitialState: (e) => ({
|
|
36847
36864
|
globalFilter: void 0,
|
|
36848
36865
|
...e
|
|
@@ -36875,7 +36892,7 @@ const DJ = {
|
|
|
36875
36892
|
e.setGlobalFilter(t ? void 0 : e.initialState.globalFilter);
|
|
36876
36893
|
};
|
|
36877
36894
|
}
|
|
36878
|
-
},
|
|
36895
|
+
}, NJ = {
|
|
36879
36896
|
getInitialState: (e) => ({
|
|
36880
36897
|
expanded: {},
|
|
36881
36898
|
...e
|
|
@@ -36965,7 +36982,7 @@ const DJ = {
|
|
|
36965
36982
|
}, Hf = 0, Vf = 10, Ed = () => ({
|
|
36966
36983
|
pageIndex: Hf,
|
|
36967
36984
|
pageSize: Vf
|
|
36968
|
-
}),
|
|
36985
|
+
}), $J = {
|
|
36969
36986
|
getInitialState: (e) => ({
|
|
36970
36987
|
...e,
|
|
36971
36988
|
pagination: {
|
|
@@ -37048,7 +37065,7 @@ const DJ = {
|
|
|
37048
37065
|
}, kd = () => ({
|
|
37049
37066
|
top: [],
|
|
37050
37067
|
bottom: []
|
|
37051
|
-
}),
|
|
37068
|
+
}), FJ = {
|
|
37052
37069
|
getInitialState: (e) => ({
|
|
37053
37070
|
rowPinning: kd(),
|
|
37054
37071
|
...e
|
|
@@ -37149,7 +37166,7 @@ const DJ = {
|
|
|
37149
37166
|
return t.filter((a) => !r.has(a.id));
|
|
37150
37167
|
}, ve(e.options, "debugRows", "getCenterRows"));
|
|
37151
37168
|
}
|
|
37152
|
-
},
|
|
37169
|
+
}, LJ = {
|
|
37153
37170
|
getInitialState: (e) => ({
|
|
37154
37171
|
rowSelection: {},
|
|
37155
37172
|
...e
|
|
@@ -37305,10 +37322,10 @@ function Gf(e, t, n) {
|
|
|
37305
37322
|
}
|
|
37306
37323
|
}), r ? "all" : a ? "some" : !1;
|
|
37307
37324
|
}
|
|
37308
|
-
const jf = /([0-9]+)/gm,
|
|
37325
|
+
const jf = /([0-9]+)/gm, zJ = (e, t, n) => aS($o(e.getValue(n)).toLowerCase(), $o(t.getValue(n)).toLowerCase()), BJ = (e, t, n) => aS($o(e.getValue(n)), $o(t.getValue(n))), HJ = (e, t, n) => fm($o(e.getValue(n)).toLowerCase(), $o(t.getValue(n)).toLowerCase()), VJ = (e, t, n) => fm($o(e.getValue(n)), $o(t.getValue(n))), WJ = (e, t, n) => {
|
|
37309
37326
|
const o = e.getValue(n), r = t.getValue(n);
|
|
37310
37327
|
return o > r ? 1 : o < r ? -1 : 0;
|
|
37311
|
-
},
|
|
37328
|
+
}, GJ = (e, t, n) => fm(e.getValue(n), t.getValue(n));
|
|
37312
37329
|
function fm(e, t) {
|
|
37313
37330
|
return e === t ? 0 : e > t ? 1 : -1;
|
|
37314
37331
|
}
|
|
@@ -37336,13 +37353,13 @@ function aS(e, t) {
|
|
|
37336
37353
|
return n.length - o.length;
|
|
37337
37354
|
}
|
|
37338
37355
|
const Ja = {
|
|
37339
|
-
alphanumeric:
|
|
37340
|
-
alphanumericCaseSensitive:
|
|
37341
|
-
text:
|
|
37342
|
-
textCaseSensitive:
|
|
37343
|
-
datetime:
|
|
37344
|
-
basic:
|
|
37345
|
-
},
|
|
37356
|
+
alphanumeric: zJ,
|
|
37357
|
+
alphanumericCaseSensitive: BJ,
|
|
37358
|
+
text: HJ,
|
|
37359
|
+
textCaseSensitive: VJ,
|
|
37360
|
+
datetime: WJ,
|
|
37361
|
+
basic: GJ
|
|
37362
|
+
}, jJ = {
|
|
37346
37363
|
getInitialState: (e) => ({
|
|
37347
37364
|
sorting: [],
|
|
37348
37365
|
...e
|
|
@@ -37431,30 +37448,30 @@ const Ja = {
|
|
|
37431
37448
|
e.setSorting(t ? [] : (n = (o = e.initialState) == null ? void 0 : o.sorting) != null ? n : []);
|
|
37432
37449
|
}, e.getPreSortedRowModel = () => e.getGroupedRowModel(), e.getSortedRowModel = () => (!e._getSortedRowModel && e.options.getSortedRowModel && (e._getSortedRowModel = e.options.getSortedRowModel(e)), e.options.manualSorting || !e._getSortedRowModel ? e.getPreSortedRowModel() : e._getSortedRowModel());
|
|
37433
37450
|
}
|
|
37434
|
-
},
|
|
37435
|
-
|
|
37436
|
-
|
|
37437
|
-
TJ,
|
|
37451
|
+
}, UJ = [
|
|
37452
|
+
fJ,
|
|
37453
|
+
DJ,
|
|
37438
37454
|
EJ,
|
|
37439
|
-
|
|
37455
|
+
kJ,
|
|
37440
37456
|
hJ,
|
|
37441
|
-
|
|
37442
|
-
//depends on ColumnFaceting
|
|
37457
|
+
mJ,
|
|
37443
37458
|
MJ,
|
|
37459
|
+
//depends on ColumnFaceting
|
|
37460
|
+
AJ,
|
|
37444
37461
|
//depends on ColumnFiltering
|
|
37445
|
-
|
|
37446
|
-
|
|
37462
|
+
jJ,
|
|
37463
|
+
PJ,
|
|
37447
37464
|
//depends on RowSorting
|
|
37448
|
-
AJ,
|
|
37449
37465
|
NJ,
|
|
37450
37466
|
$J,
|
|
37451
37467
|
FJ,
|
|
37452
|
-
|
|
37468
|
+
LJ,
|
|
37469
|
+
IJ
|
|
37453
37470
|
];
|
|
37454
|
-
function
|
|
37471
|
+
function qJ(e) {
|
|
37455
37472
|
var t, n;
|
|
37456
37473
|
process.env.NODE_ENV !== "production" && (e.debugAll || e.debugTable) && console.info("Creating Table Instance...");
|
|
37457
|
-
const o = [...
|
|
37474
|
+
const o = [...UJ, ...(t = e._features) != null ? t : []];
|
|
37458
37475
|
let r = {
|
|
37459
37476
|
_features: o
|
|
37460
37477
|
};
|
|
@@ -37534,7 +37551,7 @@ function UJ(e) {
|
|
|
37534
37551
|
getAllColumns: xe(() => [r._getColumnDefs()], (f) => {
|
|
37535
37552
|
const h = function(g, m, v) {
|
|
37536
37553
|
return v === void 0 && (v = 0), g.map((b) => {
|
|
37537
|
-
const y =
|
|
37554
|
+
const y = dJ(r, b, v, m), w = b;
|
|
37538
37555
|
return y.columns = w.columns ? h(w.columns, y, v + 1) : [], y;
|
|
37539
37556
|
});
|
|
37540
37557
|
};
|
|
@@ -37558,7 +37575,7 @@ function UJ(e) {
|
|
|
37558
37575
|
}
|
|
37559
37576
|
return r;
|
|
37560
37577
|
}
|
|
37561
|
-
function
|
|
37578
|
+
function YJ() {
|
|
37562
37579
|
return (e) => xe(() => [e.options.data], (t) => {
|
|
37563
37580
|
const n = {
|
|
37564
37581
|
rows: [],
|
|
@@ -37568,7 +37585,7 @@ function qJ() {
|
|
|
37568
37585
|
a === void 0 && (a = 0);
|
|
37569
37586
|
const i = [];
|
|
37570
37587
|
for (let c = 0; c < r.length; c++) {
|
|
37571
|
-
const u =
|
|
37588
|
+
const u = pJ(e, e._getRowId(r[c], c, s), r[c], c, a, void 0, s == null ? void 0 : s.id);
|
|
37572
37589
|
if (n.flatRows.push(u), n.rowsById[u.id] = u, i.push(u), e.options.getSubRows) {
|
|
37573
37590
|
var l;
|
|
37574
37591
|
u.originalSubRows = e.options.getSubRows(r[c], c), (l = u.originalSubRows) != null && l.length && (u.subRows = o(u.originalSubRows, a + 1, u));
|
|
@@ -37579,7 +37596,7 @@ function qJ() {
|
|
|
37579
37596
|
return n.rows = o(t), n;
|
|
37580
37597
|
}, ve(e.options, "debugTable", "getRowModel", () => e._autoResetPageIndex()));
|
|
37581
37598
|
}
|
|
37582
|
-
function
|
|
37599
|
+
function KJ(e) {
|
|
37583
37600
|
const t = [], n = (o) => {
|
|
37584
37601
|
var r;
|
|
37585
37602
|
t.push(o), (r = o.subRows) != null && r.length && o.getIsExpanded() && o.subRows.forEach(n);
|
|
@@ -37590,7 +37607,7 @@ function YJ(e) {
|
|
|
37590
37607
|
rowsById: e.rowsById
|
|
37591
37608
|
};
|
|
37592
37609
|
}
|
|
37593
|
-
function
|
|
37610
|
+
function XJ(e) {
|
|
37594
37611
|
return (t) => xe(() => [t.getState().pagination, t.getPrePaginationRowModel(), t.options.paginateExpandedRows ? void 0 : t.getState().expanded], (n, o) => {
|
|
37595
37612
|
if (!o.rows.length)
|
|
37596
37613
|
return o;
|
|
@@ -37610,7 +37627,7 @@ function KJ(e) {
|
|
|
37610
37627
|
rows: s,
|
|
37611
37628
|
flatRows: i,
|
|
37612
37629
|
rowsById: l
|
|
37613
|
-
} : d =
|
|
37630
|
+
} : d = KJ({
|
|
37614
37631
|
rows: s,
|
|
37615
37632
|
flatRows: i,
|
|
37616
37633
|
rowsById: l
|
|
@@ -37631,7 +37648,7 @@ function KJ(e) {
|
|
|
37631
37648
|
*
|
|
37632
37649
|
* @license MIT
|
|
37633
37650
|
*/
|
|
37634
|
-
function
|
|
37651
|
+
function ZJ(e) {
|
|
37635
37652
|
const t = {
|
|
37636
37653
|
state: {},
|
|
37637
37654
|
// Dummy state
|
|
@@ -37641,7 +37658,7 @@ function XJ(e) {
|
|
|
37641
37658
|
renderFallbackValue: null,
|
|
37642
37659
|
...e
|
|
37643
37660
|
}, [n] = x.useState(() => ({
|
|
37644
|
-
current:
|
|
37661
|
+
current: qJ(t)
|
|
37645
37662
|
})), [o, r] = x.useState(() => n.current.initialState);
|
|
37646
37663
|
return n.current.setOptions((a) => ({
|
|
37647
37664
|
...a,
|
|
@@ -37660,7 +37677,7 @@ function XJ(e) {
|
|
|
37660
37677
|
function Id(e) {
|
|
37661
37678
|
return typeof e == "function" ? e() : e;
|
|
37662
37679
|
}
|
|
37663
|
-
function
|
|
37680
|
+
function JJ(e) {
|
|
37664
37681
|
return e.map((t) => ({
|
|
37665
37682
|
id: t.field,
|
|
37666
37683
|
accessorKey: t.field,
|
|
@@ -37673,7 +37690,7 @@ function ZJ(e) {
|
|
|
37673
37690
|
maxSize: t.maxWidth ?? 1e3
|
|
37674
37691
|
}));
|
|
37675
37692
|
}
|
|
37676
|
-
function
|
|
37693
|
+
function pee(e) {
|
|
37677
37694
|
const {
|
|
37678
37695
|
data: t,
|
|
37679
37696
|
columns: n = [],
|
|
@@ -37693,10 +37710,10 @@ function fee(e) {
|
|
|
37693
37710
|
return E != null ? String(E) : T;
|
|
37694
37711
|
},
|
|
37695
37712
|
[a]
|
|
37696
|
-
), f = Id(r), h = oe(() => Id(n), [n]), g = oe(() => Id(t), [t]), m = oe(() =>
|
|
37713
|
+
), f = Id(r), h = oe(() => Id(n), [n]), g = oe(() => Id(t), [t]), m = oe(() => JJ(h), [h]), v = ZJ({
|
|
37697
37714
|
data: g,
|
|
37698
37715
|
columns: m,
|
|
37699
|
-
getCoreRowModel:
|
|
37716
|
+
getCoreRowModel: YJ(),
|
|
37700
37717
|
getRowId: (P, T) => String(d(P, T)),
|
|
37701
37718
|
manualSorting: o === "server",
|
|
37702
37719
|
manualPagination: o === "server",
|
|
@@ -37726,7 +37743,7 @@ function fee(e) {
|
|
|
37726
37743
|
pinning: _
|
|
37727
37744
|
};
|
|
37728
37745
|
}
|
|
37729
|
-
function
|
|
37746
|
+
function hee(e = {}) {
|
|
37730
37747
|
return {
|
|
37731
37748
|
type: "selection",
|
|
37732
37749
|
options: e,
|
|
@@ -37734,11 +37751,11 @@ function pee(e = {}) {
|
|
|
37734
37751
|
// React hooks inside it is safe — call order is stable per render.
|
|
37735
37752
|
create: (t, n) => (
|
|
37736
37753
|
// oxlint-disable-next-line react/rules-of-hooks
|
|
37737
|
-
|
|
37754
|
+
QJ(t, n, e)
|
|
37738
37755
|
)
|
|
37739
37756
|
};
|
|
37740
37757
|
}
|
|
37741
|
-
function
|
|
37758
|
+
function QJ(e, t, n) {
|
|
37742
37759
|
const [o, r] = te(() => {
|
|
37743
37760
|
const g = {};
|
|
37744
37761
|
if (n.initial)
|
|
@@ -37797,15 +37814,15 @@ function JJ(e, t, n) {
|
|
|
37797
37814
|
selectedKeys: a
|
|
37798
37815
|
};
|
|
37799
37816
|
}
|
|
37800
|
-
function
|
|
37817
|
+
function mee(e = {}) {
|
|
37801
37818
|
return {
|
|
37802
37819
|
type: "sorting",
|
|
37803
37820
|
// oxlint-disable-next-line react/rules-of-hooks
|
|
37804
|
-
create: () =>
|
|
37821
|
+
create: () => eQ(e),
|
|
37805
37822
|
options: e
|
|
37806
37823
|
};
|
|
37807
37824
|
}
|
|
37808
|
-
function
|
|
37825
|
+
function eQ(e) {
|
|
37809
37826
|
const [t, n] = te(
|
|
37810
37827
|
e.initial ?? null
|
|
37811
37828
|
), o = Y((l) => {
|
|
@@ -37830,7 +37847,7 @@ function QJ(e) {
|
|
|
37830
37847
|
getDirection: i
|
|
37831
37848
|
};
|
|
37832
37849
|
}
|
|
37833
|
-
function
|
|
37850
|
+
function tQ(e) {
|
|
37834
37851
|
return typeof e == "function" ? e() : e;
|
|
37835
37852
|
}
|
|
37836
37853
|
function w0(e, t) {
|
|
@@ -37840,15 +37857,15 @@ function w0(e, t) {
|
|
|
37840
37857
|
return t;
|
|
37841
37858
|
}
|
|
37842
37859
|
}
|
|
37843
|
-
function
|
|
37860
|
+
function gee(e, t = {}) {
|
|
37844
37861
|
const { initialPageSize: n = 10, totalCount: o } = t, { instance: r } = e;
|
|
37845
37862
|
re(() => {
|
|
37846
37863
|
e.mode === "client" && r.setOptions((y) => ({
|
|
37847
37864
|
...y,
|
|
37848
|
-
getPaginationRowModel: y.getPaginationRowModel ??
|
|
37865
|
+
getPaginationRowModel: y.getPaginationRowModel ?? XJ()
|
|
37849
37866
|
})), r.setPageSize(n);
|
|
37850
37867
|
}, [r, e.mode]);
|
|
37851
|
-
const { pageIndex: a, pageSize: s } = r.getState().pagination, i = a + 1, l = o !== void 0 ?
|
|
37868
|
+
const { pageIndex: a, pageSize: s } = r.getState().pagination, i = a + 1, l = o !== void 0 ? tQ(o) : w0(
|
|
37852
37869
|
() => r.getPrePaginationRowModel().rows.length,
|
|
37853
37870
|
e.rows.length
|
|
37854
37871
|
), c = o !== void 0 ? Math.max(1, Math.ceil(l / s)) : w0(
|
|
@@ -37891,17 +37908,17 @@ function mee(e, t = {}) {
|
|
|
37891
37908
|
canPrevPage: d
|
|
37892
37909
|
};
|
|
37893
37910
|
}
|
|
37894
|
-
function
|
|
37911
|
+
function xee(e = {}) {
|
|
37895
37912
|
return {
|
|
37896
37913
|
type: "detailRow",
|
|
37897
37914
|
options: e,
|
|
37898
37915
|
create: (t, n) => (
|
|
37899
37916
|
// oxlint-disable-next-line react/rules-of-hooks
|
|
37900
|
-
|
|
37917
|
+
nQ(t, n, e)
|
|
37901
37918
|
)
|
|
37902
37919
|
};
|
|
37903
37920
|
}
|
|
37904
|
-
function
|
|
37921
|
+
function nQ(e, t, n) {
|
|
37905
37922
|
const o = n.allowMultiple ?? !0, r = ee(e);
|
|
37906
37923
|
r.current = e;
|
|
37907
37924
|
const a = ee(t);
|
|
@@ -37979,17 +37996,17 @@ function tQ(e, t, n) {
|
|
|
37979
37996
|
collapseAll: g
|
|
37980
37997
|
};
|
|
37981
37998
|
}
|
|
37982
|
-
function
|
|
37999
|
+
function vee(e) {
|
|
37983
38000
|
return {
|
|
37984
38001
|
type: "pinning",
|
|
37985
38002
|
options: e,
|
|
37986
38003
|
create: (t, n) => (
|
|
37987
38004
|
// oxlint-disable-next-line react/rules-of-hooks
|
|
37988
|
-
|
|
38005
|
+
oQ(t, n, e)
|
|
37989
38006
|
)
|
|
37990
38007
|
};
|
|
37991
38008
|
}
|
|
37992
|
-
function
|
|
38009
|
+
function oQ(e, t, n) {
|
|
37993
38010
|
const { columns: o, initial: r } = n, a = ee(o);
|
|
37994
38011
|
a.current = o;
|
|
37995
38012
|
const [s, i] = te(() => {
|
|
@@ -38136,17 +38153,17 @@ function nQ(e, t, n) {
|
|
|
38136
38153
|
rightWidth: b
|
|
38137
38154
|
};
|
|
38138
38155
|
}
|
|
38139
|
-
function
|
|
38156
|
+
function bee(e = {}) {
|
|
38140
38157
|
return {
|
|
38141
38158
|
type: "columns",
|
|
38142
38159
|
options: e,
|
|
38143
38160
|
create: (t, n) => (
|
|
38144
38161
|
// oxlint-disable-next-line react/rules-of-hooks
|
|
38145
|
-
|
|
38162
|
+
rQ(t, n, e)
|
|
38146
38163
|
)
|
|
38147
38164
|
};
|
|
38148
38165
|
}
|
|
38149
|
-
function
|
|
38166
|
+
function rQ(e, t, n) {
|
|
38150
38167
|
const o = ee(t);
|
|
38151
38168
|
o.current = t;
|
|
38152
38169
|
const [r, a] = te(
|
|
@@ -38201,7 +38218,7 @@ function oQ(e, t, n) {
|
|
|
38201
38218
|
setSize: w
|
|
38202
38219
|
};
|
|
38203
38220
|
}
|
|
38204
|
-
function
|
|
38221
|
+
function aQ(e, t = {}) {
|
|
38205
38222
|
const { threshold: n = 1 } = t, [o, r] = te(!1), [a, s] = te(!1), i = Y(() => {
|
|
38206
38223
|
const c = e.current;
|
|
38207
38224
|
if (!c) {
|
|
@@ -38231,11 +38248,11 @@ function rQ(e, t = {}) {
|
|
|
38231
38248
|
updateShadows: i
|
|
38232
38249
|
};
|
|
38233
38250
|
}
|
|
38234
|
-
function
|
|
38251
|
+
function sQ(e) {
|
|
38235
38252
|
return typeof e == "function" ? e() : e;
|
|
38236
38253
|
}
|
|
38237
|
-
const
|
|
38238
|
-
function
|
|
38254
|
+
const iQ = 4;
|
|
38255
|
+
function lQ(e, t = {}) {
|
|
38239
38256
|
const {
|
|
38240
38257
|
enabled: n = !0,
|
|
38241
38258
|
cursor: o = "grabbing",
|
|
@@ -38251,7 +38268,7 @@ function iQ(e, t = {}) {
|
|
|
38251
38268
|
let d = !1, f = !1, h = 0, g = 0, m;
|
|
38252
38269
|
function v(C) {
|
|
38253
38270
|
var T;
|
|
38254
|
-
if (!
|
|
38271
|
+
if (!sQ(i.current)) return;
|
|
38255
38272
|
const _ = e.current;
|
|
38256
38273
|
if (!_ || C.button !== 0) return;
|
|
38257
38274
|
const P = c.current;
|
|
@@ -38263,7 +38280,7 @@ function iQ(e, t = {}) {
|
|
|
38263
38280
|
if (!_) return;
|
|
38264
38281
|
const P = C.pageX - _.offsetLeft - h;
|
|
38265
38282
|
if (!f) {
|
|
38266
|
-
if (Math.abs(P) <
|
|
38283
|
+
if (Math.abs(P) < iQ) return;
|
|
38267
38284
|
f = !0, s(!0), _.style.cursor = l.current, _.style.userSelect = "none";
|
|
38268
38285
|
}
|
|
38269
38286
|
C.preventDefault(), _.scrollLeft = g - P;
|
|
@@ -38292,7 +38309,7 @@ function iQ(e, t = {}) {
|
|
|
38292
38309
|
};
|
|
38293
38310
|
}
|
|
38294
38311
|
const Qa = "tr:not([data-spacer])", _0 = "data-hovered";
|
|
38295
|
-
function
|
|
38312
|
+
function cQ(e, t, n) {
|
|
38296
38313
|
const o = ee(!1), r = Y(() => {
|
|
38297
38314
|
const s = e.current, i = t.current, l = n.current;
|
|
38298
38315
|
if (!s) return;
|
|
@@ -38363,7 +38380,7 @@ function lQ(e, t, n) {
|
|
|
38363
38380
|
syncRowHeights: r
|
|
38364
38381
|
};
|
|
38365
38382
|
}
|
|
38366
|
-
function
|
|
38383
|
+
function uQ(e) {
|
|
38367
38384
|
if (e !== void 0)
|
|
38368
38385
|
return typeof e == "number" ? `${e}px` : e;
|
|
38369
38386
|
}
|
|
@@ -38386,10 +38403,10 @@ function sS({
|
|
|
38386
38403
|
const h = (n == null ? void 0 : n.columns) ?? [], g = n == null ? void 0 : n.selection, m = n == null ? void 0 : n.detailRow, v = n == null ? void 0 : n.pinning, b = e || ((n == null ? void 0 : n.loading) ?? !1), y = !!n && h.length > 0, w = v == null ? void 0 : v.pinningState, S = (((lt = w == null ? void 0 : w.left) == null ? void 0 : lt.length) ?? 0) > 0 || (((ct = w == null ? void 0 : w.right) == null ? void 0 : ct.length) ?? 0) > 0, C = (((et = w == null ? void 0 : w.left) == null ? void 0 : et.length) ?? 0) > 0, _ = (((Tn = w == null ? void 0 : w.right) == null ? void 0 : Tn.length) ?? 0) > 0, P = v ? h.filter((fe) => v.isPinned(fe.field) === "left") : [], T = v ? h.filter((fe) => !v.isPinned(fe.field)) : h, E = v ? h.filter((fe) => v.isPinned(fe.field) === "right") : [], k = T.length;
|
|
38387
38404
|
let I = P.length;
|
|
38388
38405
|
g && (I += 1), m && (I += 1);
|
|
38389
|
-
const O = !!u, L = !!d, F = O || L, V = ee(null), H = ee(null), B = ee(null), A = ee(null), { showLeftShadow: W, showRightShadow: R } =
|
|
38406
|
+
const O = !!u, L = !!d, F = O || L, V = ee(null), H = ee(null), B = ee(null), A = ee(null), { showLeftShadow: W, showRightShadow: R } = aQ(V), { isDragging: K } = lQ(V, {
|
|
38390
38407
|
enabled: () => t
|
|
38391
38408
|
});
|
|
38392
|
-
|
|
38409
|
+
cQ(V, B, A);
|
|
38393
38410
|
const $ = W || R, U = D(
|
|
38394
38411
|
W && !(C || !!g || !!m) && !O && me.oxTableFixedFrameShadowLeft,
|
|
38395
38412
|
R && !_ && !L && me.oxTableFixedFrameShadowRight
|
|
@@ -38427,7 +38444,7 @@ function sS({
|
|
|
38427
38444
|
return /* @__PURE__ */ p(
|
|
38428
38445
|
K2,
|
|
38429
38446
|
{
|
|
38430
|
-
width:
|
|
38447
|
+
width: uQ(fe.width),
|
|
38431
38448
|
align: fe.align,
|
|
38432
38449
|
sortable: fe.sortable,
|
|
38433
38450
|
sorted: ((ke = n == null ? void 0 : n.sorting) == null ? void 0 : ke.isSorted(fe.field)) ?? !1,
|
|
@@ -38801,7 +38818,7 @@ function hl({ children: e }) {
|
|
|
38801
38818
|
return /* @__PURE__ */ p(_t, { children: e });
|
|
38802
38819
|
}
|
|
38803
38820
|
sS.displayName = "OxTable";
|
|
38804
|
-
function
|
|
38821
|
+
function dQ({
|
|
38805
38822
|
virtualizer: e,
|
|
38806
38823
|
...t
|
|
38807
38824
|
}) {
|
|
@@ -38813,14 +38830,14 @@ function uQ({
|
|
|
38813
38830
|
}
|
|
38814
38831
|
);
|
|
38815
38832
|
}
|
|
38816
|
-
|
|
38817
|
-
const
|
|
38818
|
-
oxTableDragCell:
|
|
38819
|
-
oxTableDragCellHeader:
|
|
38820
|
-
oxTableDragCellContent:
|
|
38821
|
-
oxTableDragIcon:
|
|
38822
|
-
oxTableDragCellFixed:
|
|
38823
|
-
},
|
|
38833
|
+
dQ.displayName = "OxTableVirtualized";
|
|
38834
|
+
const fQ = "_oxTableDragCell_232rp_2", pQ = "_oxTableDragCellHeader_232rp_2", hQ = "_oxTableDragCellContent_232rp_2", mQ = "_oxTableDragIcon_232rp_2", gQ = "_oxTableDragCellFixed_232rp_2", es = {
|
|
38835
|
+
oxTableDragCell: fQ,
|
|
38836
|
+
oxTableDragCellHeader: pQ,
|
|
38837
|
+
oxTableDragCellContent: hQ,
|
|
38838
|
+
oxTableDragIcon: mQ,
|
|
38839
|
+
oxTableDragCellFixed: gQ
|
|
38840
|
+
}, xQ = N(
|
|
38824
38841
|
({
|
|
38825
38842
|
className: e,
|
|
38826
38843
|
header: t = !1,
|
|
@@ -38857,20 +38874,20 @@ const dQ = "_oxTableDragCell_232rp_2", fQ = "_oxTableDragCellHeader_232rp_2", pQ
|
|
|
38857
38874
|
);
|
|
38858
38875
|
}
|
|
38859
38876
|
);
|
|
38860
|
-
|
|
38861
|
-
const
|
|
38862
|
-
oxTablePagination:
|
|
38863
|
-
oxTablePaginationInfo:
|
|
38864
|
-
oxTablePaginationPages:
|
|
38865
|
-
oxTablePaginationBtn:
|
|
38866
|
-
oxTablePaginationBtnActive:
|
|
38867
|
-
oxTablePaginationIcon:
|
|
38868
|
-
oxTablePaginationSize:
|
|
38869
|
-
oxTablePaginationSizeLabel:
|
|
38870
|
-
oxTablePaginationSelectWrapper:
|
|
38871
|
-
oxTablePaginationSelect:
|
|
38872
|
-
oxTablePaginationSelectIcon:
|
|
38873
|
-
},
|
|
38877
|
+
xQ.displayName = "OxTableDragCell";
|
|
38878
|
+
const vQ = "_oxTablePagination_1oxvk_2", bQ = "_oxTablePaginationInfo_1oxvk_2", yQ = "_oxTablePaginationPages_1oxvk_2", wQ = "_oxTablePaginationBtn_1oxvk_2", _Q = "_oxTablePaginationBtnActive_1oxvk_2", CQ = "_oxTablePaginationIcon_1oxvk_2", SQ = "_oxTablePaginationSize_1oxvk_2", PQ = "_oxTablePaginationSizeLabel_1oxvk_2", TQ = "_oxTablePaginationSelectWrapper_1oxvk_2", EQ = "_oxTablePaginationSelect_1oxvk_2", kQ = "_oxTablePaginationSelectIcon_1oxvk_2", Nt = {
|
|
38879
|
+
oxTablePagination: vQ,
|
|
38880
|
+
oxTablePaginationInfo: bQ,
|
|
38881
|
+
oxTablePaginationPages: yQ,
|
|
38882
|
+
oxTablePaginationBtn: wQ,
|
|
38883
|
+
oxTablePaginationBtnActive: _Q,
|
|
38884
|
+
oxTablePaginationIcon: CQ,
|
|
38885
|
+
oxTablePaginationSize: SQ,
|
|
38886
|
+
oxTablePaginationSizeLabel: PQ,
|
|
38887
|
+
oxTablePaginationSelectWrapper: TQ,
|
|
38888
|
+
oxTablePaginationSelect: EQ,
|
|
38889
|
+
oxTablePaginationSelectIcon: kQ
|
|
38890
|
+
}, RQ = N(
|
|
38874
38891
|
({
|
|
38875
38892
|
className: e,
|
|
38876
38893
|
page: t = 1,
|
|
@@ -38992,11 +39009,11 @@ const xQ = "_oxTablePagination_1oxvk_2", vQ = "_oxTablePaginationInfo_1oxvk_2",
|
|
|
38992
39009
|
);
|
|
38993
39010
|
}
|
|
38994
39011
|
);
|
|
38995
|
-
|
|
38996
|
-
const
|
|
38997
|
-
oxTableEmpty:
|
|
38998
|
-
oxTableEmptyText:
|
|
38999
|
-
},
|
|
39012
|
+
RQ.displayName = "OxTablePagination";
|
|
39013
|
+
const IQ = "_oxTableEmpty_1rhdb_2", OQ = "_oxTableEmptyText_1rhdb_2", C0 = {
|
|
39014
|
+
oxTableEmpty: IQ,
|
|
39015
|
+
oxTableEmptyText: OQ
|
|
39016
|
+
}, DQ = N(
|
|
39000
39017
|
({ className: e, children: t, ...n }, o) => {
|
|
39001
39018
|
const r = $e();
|
|
39002
39019
|
return /* @__PURE__ */ p(
|
|
@@ -39011,14 +39028,14 @@ const RQ = "_oxTableEmpty_1rhdb_2", IQ = "_oxTableEmptyText_1rhdb_2", C0 = {
|
|
|
39011
39028
|
);
|
|
39012
39029
|
}
|
|
39013
39030
|
);
|
|
39014
|
-
|
|
39015
|
-
const
|
|
39016
|
-
oxTableColumnVisibility:
|
|
39017
|
-
oxTableColumnVisibilityHeader:
|
|
39018
|
-
oxTableColumnVisibilityList:
|
|
39019
|
-
oxTableColumnVisibilityItem:
|
|
39020
|
-
oxTableColumnVisibilityLabel:
|
|
39021
|
-
},
|
|
39031
|
+
DQ.displayName = "OxTableEmpty";
|
|
39032
|
+
const MQ = "_oxTableColumnVisibility_39rmt_2", AQ = "_oxTableColumnVisibilityHeader_39rmt_2", NQ = "_oxTableColumnVisibilityList_39rmt_2", $Q = "_oxTableColumnVisibilityItem_39rmt_2", FQ = "_oxTableColumnVisibilityLabel_39rmt_2", ts = {
|
|
39033
|
+
oxTableColumnVisibility: MQ,
|
|
39034
|
+
oxTableColumnVisibilityHeader: AQ,
|
|
39035
|
+
oxTableColumnVisibilityList: NQ,
|
|
39036
|
+
oxTableColumnVisibilityItem: $Q,
|
|
39037
|
+
oxTableColumnVisibilityLabel: FQ
|
|
39038
|
+
}, LQ = N(
|
|
39022
39039
|
({ className: e, columns: t, visibility: n = {}, header: o, onToggle: r, ...a }, s) => {
|
|
39023
39040
|
const i = $e(), l = (c) => n[c] !== !1;
|
|
39024
39041
|
return /* @__PURE__ */ q(
|
|
@@ -39052,11 +39069,11 @@ const DQ = "_oxTableColumnVisibility_39rmt_2", MQ = "_oxTableColumnVisibilityHea
|
|
|
39052
39069
|
);
|
|
39053
39070
|
}
|
|
39054
39071
|
);
|
|
39055
|
-
|
|
39072
|
+
LQ.displayName = "OxTableColumnVisibility";
|
|
39056
39073
|
export {
|
|
39057
39074
|
Kb as CARD_STACK_DECK,
|
|
39058
39075
|
Z0 as LocaleContext,
|
|
39059
|
-
|
|
39076
|
+
YQ as NUMBER_FLOW_PRESETS,
|
|
39060
39077
|
s9 as OxAccordion,
|
|
39061
39078
|
g9 as OxAccordionContent,
|
|
39062
39079
|
c9 as OxAccordionItem,
|
|
@@ -39132,7 +39149,7 @@ export {
|
|
|
39132
39149
|
yN as OxDialogFullScreenContent,
|
|
39133
39150
|
wc as OxDialogOverlay,
|
|
39134
39151
|
Z6 as OxDialogTitle,
|
|
39135
|
-
|
|
39152
|
+
JQ as OxDialogTrigger,
|
|
39136
39153
|
iN as OxDialogTwoPanelContent,
|
|
39137
39154
|
VO as OxDivider,
|
|
39138
39155
|
_N as OxDrawer,
|
|
@@ -39142,7 +39159,7 @@ export {
|
|
|
39142
39159
|
FN as OxDrawerDescription,
|
|
39143
39160
|
WN as OxDrawerExpand,
|
|
39144
39161
|
AN as OxDrawerTitle,
|
|
39145
|
-
|
|
39162
|
+
JQ as OxDrawerTrigger,
|
|
39146
39163
|
jb as OxDropdownMenu,
|
|
39147
39164
|
rO as OxDropdownMenuCheckboxItem,
|
|
39148
39165
|
Yb as OxDropdownMenuContent,
|
|
@@ -39200,31 +39217,31 @@ export {
|
|
|
39200
39217
|
xA as OxPlayerPillTime,
|
|
39201
39218
|
yA as OxPointMarker,
|
|
39202
39219
|
Kp as OxPopover,
|
|
39203
|
-
|
|
39220
|
+
QQ as OxPopoverClose,
|
|
39204
39221
|
Xp as OxPopoverContent,
|
|
39205
39222
|
l6 as OxProgress,
|
|
39206
|
-
|
|
39207
|
-
|
|
39223
|
+
hY as OxRadioButton,
|
|
39224
|
+
vY as OxRadioGroup,
|
|
39208
39225
|
v3 as OxResizable,
|
|
39209
39226
|
P3 as OxResizableHandle,
|
|
39210
39227
|
w3 as OxResizablePanel,
|
|
39211
39228
|
dy as OxRichText,
|
|
39212
|
-
|
|
39213
|
-
|
|
39214
|
-
|
|
39229
|
+
Mj as OxRichTextEditor,
|
|
39230
|
+
CU as OxRichTextToolbar,
|
|
39231
|
+
PU as OxRichTextToolbarButton,
|
|
39215
39232
|
ma as OxScrollbar,
|
|
39216
|
-
|
|
39217
|
-
|
|
39218
|
-
|
|
39219
|
-
|
|
39220
|
-
|
|
39221
|
-
|
|
39222
|
-
|
|
39233
|
+
TU as OxSearchBar,
|
|
39234
|
+
OU as OxSearchPanel,
|
|
39235
|
+
DU as OxSearchPanelEmpty,
|
|
39236
|
+
MU as OxSearchPanelGroup,
|
|
39237
|
+
$U as OxSearchPanelInput,
|
|
39238
|
+
zU as OxSearchPanelItem,
|
|
39239
|
+
HU as OxSearchPanelList,
|
|
39223
39240
|
Hh as OxSelect,
|
|
39224
39241
|
Vh as OxSelectContent,
|
|
39225
|
-
|
|
39242
|
+
VU as OxSelectGroup,
|
|
39226
39243
|
Wh as OxSelectItem,
|
|
39227
|
-
|
|
39244
|
+
WU as OxSelectSeparator,
|
|
39228
39245
|
Gh as OxSelectTrigger,
|
|
39229
39246
|
y1 as OxSkeleton,
|
|
39230
39247
|
wO as OxSplitButton,
|
|
@@ -39232,31 +39249,31 @@ export {
|
|
|
39232
39249
|
E7 as OxStepper,
|
|
39233
39250
|
L7 as OxStepperItem,
|
|
39234
39251
|
H7 as OxStepperSubsteps,
|
|
39235
|
-
|
|
39252
|
+
Kq as OxSwitch,
|
|
39236
39253
|
sS as OxTable,
|
|
39237
39254
|
us as OxTableBody,
|
|
39238
39255
|
q2 as OxTableBulkHeader,
|
|
39239
39256
|
Y2 as OxTableCell,
|
|
39240
|
-
|
|
39241
|
-
|
|
39242
|
-
|
|
39257
|
+
LQ as OxTableColumnVisibility,
|
|
39258
|
+
xQ as OxTableDragCell,
|
|
39259
|
+
DQ as OxTableEmpty,
|
|
39243
39260
|
ds as OxTableExpandCell,
|
|
39244
39261
|
fs as OxTableHead,
|
|
39245
39262
|
K2 as OxTableHeaderCell,
|
|
39246
|
-
|
|
39263
|
+
RQ as OxTablePagination,
|
|
39247
39264
|
ps as OxTableRow,
|
|
39248
39265
|
hs as OxTableRowExpanded,
|
|
39249
39266
|
ms as OxTableSelectCell,
|
|
39250
|
-
|
|
39267
|
+
dQ as OxTableVirtualized,
|
|
39251
39268
|
G9 as OxTabs,
|
|
39252
39269
|
Q9 as OxTabsContent,
|
|
39253
39270
|
q9 as OxTabsList,
|
|
39254
39271
|
X9 as OxTabsTrigger,
|
|
39255
39272
|
CA as OxTag,
|
|
39256
|
-
|
|
39257
|
-
|
|
39273
|
+
zq as OxTextarea,
|
|
39274
|
+
Dq as OxTimePicker,
|
|
39258
39275
|
y2 as OxTimePickerField,
|
|
39259
|
-
|
|
39276
|
+
Lq as OxTimePickerList,
|
|
39260
39277
|
_2 as OxTimePickerWheel,
|
|
39261
39278
|
w2 as OxTimePickerWheelColumn,
|
|
39262
39279
|
gw as OxToast,
|
|
@@ -39266,9 +39283,9 @@ export {
|
|
|
39266
39283
|
yw as OxToastIcon,
|
|
39267
39284
|
ww as OxToastTitle,
|
|
39268
39285
|
y8 as OxToaster,
|
|
39269
|
-
|
|
39270
|
-
|
|
39271
|
-
|
|
39286
|
+
MY as OxToggleDescription,
|
|
39287
|
+
PY as OxToggleGroup,
|
|
39288
|
+
kY as OxToggleLabel,
|
|
39272
39289
|
n7 as OxToggleTabs,
|
|
39273
39290
|
h7 as OxToggleTabsContent,
|
|
39274
39291
|
l7 as OxToggleTabsList,
|
|
@@ -39287,10 +39304,10 @@ export {
|
|
|
39287
39304
|
Ar as PAGE_CONTROL_WINDOW,
|
|
39288
39305
|
Wc as RICH_TEXT_COMMANDS,
|
|
39289
39306
|
jh as RICH_TEXT_COMMAND_NAMES,
|
|
39290
|
-
|
|
39307
|
+
XQ as RICH_TEXT_SCHEMA,
|
|
39291
39308
|
v1 as SCROLLBAR_THICKNESS,
|
|
39292
|
-
|
|
39293
|
-
|
|
39309
|
+
dee as SWITCH_SIZES,
|
|
39310
|
+
tee as TOAST_POSITIONS,
|
|
39294
39311
|
Q0 as TranslateContext,
|
|
39295
39312
|
EA as aiTagVariants,
|
|
39296
39313
|
C1 as avatarRoundedVariants,
|
|
@@ -39318,46 +39335,46 @@ export {
|
|
|
39318
39335
|
C7 as isStepNavigable,
|
|
39319
39336
|
tA as mentionVariants,
|
|
39320
39337
|
$P as normalizeLocale,
|
|
39321
|
-
|
|
39322
|
-
|
|
39338
|
+
WQ as orxataMessages,
|
|
39339
|
+
uee as oxRichTextExtensions,
|
|
39323
39340
|
U7 as pageControlDots,
|
|
39324
39341
|
x4 as paymentCardVariants,
|
|
39325
39342
|
vA as playerPillVariants,
|
|
39326
39343
|
wA as pointMarkerVariants,
|
|
39327
39344
|
WM as resolveNumberFlowPreset,
|
|
39328
|
-
|
|
39345
|
+
EU as searchBarVariants,
|
|
39329
39346
|
AA as statusBadgeVariants,
|
|
39330
39347
|
_7 as stepperState,
|
|
39331
39348
|
SA as tagVariants,
|
|
39332
|
-
|
|
39349
|
+
KQ as toWaveformPeaks,
|
|
39333
39350
|
m8 as toast,
|
|
39334
39351
|
C8 as toastSwipeDirection,
|
|
39335
39352
|
_8 as toastVariants,
|
|
39336
39353
|
w8 as toastViewportVariants,
|
|
39337
39354
|
z0 as useAutoGrow,
|
|
39338
39355
|
Rh as useColorPicker,
|
|
39339
|
-
|
|
39356
|
+
lQ as useDragToScroll,
|
|
39340
39357
|
Ft as useFieldControl,
|
|
39341
39358
|
Mc as useFieldControlGroup,
|
|
39342
|
-
|
|
39359
|
+
cQ as useFixedColumns,
|
|
39343
39360
|
Ah as useIconPicker,
|
|
39344
39361
|
bh as useInputOtp,
|
|
39345
39362
|
f_ as useInputPassword,
|
|
39346
39363
|
Jf as useLocale,
|
|
39347
|
-
|
|
39364
|
+
Oj as useRichTextAdapter,
|
|
39348
39365
|
NC as useRichTextToolbar,
|
|
39349
|
-
|
|
39366
|
+
aQ as useScrollShadow,
|
|
39350
39367
|
R3 as useScrollbar,
|
|
39351
39368
|
B0 as useSearchDebounce,
|
|
39352
39369
|
w7 as useStepper,
|
|
39353
|
-
|
|
39354
|
-
|
|
39355
|
-
|
|
39356
|
-
|
|
39357
|
-
|
|
39358
|
-
|
|
39359
|
-
|
|
39360
|
-
|
|
39370
|
+
pee as useTable,
|
|
39371
|
+
bee as useTableColumns,
|
|
39372
|
+
xee as useTableDetailRow,
|
|
39373
|
+
gee as useTablePagination,
|
|
39374
|
+
vee as useTablePinning,
|
|
39375
|
+
hee as useTableSelection,
|
|
39376
|
+
mee as useTableSorting,
|
|
39377
|
+
fee as useTableVirtual,
|
|
39361
39378
|
v8 as useToast,
|
|
39362
39379
|
$e as useTranslate
|
|
39363
39380
|
};
|