@ansible/ansible-ui-framework 2.4.9 → 2.4.10
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/framework/components/pfcolors.d.ts +1 -6
- package/index.js +403 -413
- package/index.umd.cjs +47 -47
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -750,7 +750,7 @@ function lr(t) {
|
|
|
750
750
|
}
|
|
751
751
|
}
|
|
752
752
|
}
|
|
753
|
-
function
|
|
753
|
+
function Qb() {
|
|
754
754
|
const [t, e] = ye(
|
|
755
755
|
() => window.innerWidth > window.innerHeight ? "landscape" : "portrait"
|
|
756
756
|
), r = ge(() => {
|
|
@@ -3485,7 +3485,7 @@ const Dc = Ir({
|
|
|
3485
3485
|
replaceAlert: () => null,
|
|
3486
3486
|
removeAlerts: () => null
|
|
3487
3487
|
});
|
|
3488
|
-
function
|
|
3488
|
+
function ew() {
|
|
3489
3489
|
return Wt(Dc);
|
|
3490
3490
|
}
|
|
3491
3491
|
function cp(t) {
|
|
@@ -3531,7 +3531,7 @@ function cp(t) {
|
|
|
3531
3531
|
t.children
|
|
3532
3532
|
] });
|
|
3533
3533
|
}
|
|
3534
|
-
function
|
|
3534
|
+
function tw(t) {
|
|
3535
3535
|
return t instanceof Error ? {
|
|
3536
3536
|
title: t.message,
|
|
3537
3537
|
variant: "danger",
|
|
@@ -3591,14 +3591,14 @@ function Rc(t) {
|
|
|
3591
3591
|
}
|
|
3592
3592
|
) });
|
|
3593
3593
|
}
|
|
3594
|
-
function
|
|
3594
|
+
function rw(t) {
|
|
3595
3595
|
const { bytes: e } = t;
|
|
3596
3596
|
if (!+e)
|
|
3597
3597
|
return /* @__PURE__ */ f.jsx(f.Fragment, {});
|
|
3598
3598
|
const r = 1024, n = t.decimals ? t.decimals : 0, s = n < 0 ? 0 : n, i = ["Bytes", "KB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"], a = Math.floor(Math.log(e) / Math.log(r));
|
|
3599
3599
|
return /* @__PURE__ */ f.jsx(f.Fragment, { children: `${parseFloat((e / Math.pow(r, a)).toFixed(s))} ${i[a]}` });
|
|
3600
3600
|
}
|
|
3601
|
-
const
|
|
3601
|
+
const nw = Ir(void 0), sw = Ir(() => null), Ac = Ir([void 0, () => alert("Use PageDialogProvider")]);
|
|
3602
3602
|
function up(t) {
|
|
3603
3603
|
const e = ye();
|
|
3604
3604
|
return /* @__PURE__ */ f.jsxs(Ac.Provider, { value: e, children: [
|
|
@@ -3716,7 +3716,7 @@ function dp(t) {
|
|
|
3716
3716
|
}, []);
|
|
3717
3717
|
return /* @__PURE__ */ f.jsx(Hn.Provider, { value: [e, n], children: t.children });
|
|
3718
3718
|
}
|
|
3719
|
-
function
|
|
3719
|
+
function iw(t) {
|
|
3720
3720
|
const [e, r] = ye(!1), n = ge(() => r(!0), []), [s, i] = Xr();
|
|
3721
3721
|
return Pe(() => {
|
|
3722
3722
|
i(e ? /* @__PURE__ */ f.jsx(fp, { open: e, setOpen: r }) : void 0);
|
|
@@ -3807,7 +3807,7 @@ function fp(t) {
|
|
|
3807
3807
|
}
|
|
3808
3808
|
);
|
|
3809
3809
|
}
|
|
3810
|
-
function
|
|
3810
|
+
function aw(t) {
|
|
3811
3811
|
const [e] = bt(), r = qn(), n = t.used / t.capacity;
|
|
3812
3812
|
if (t.capacity === 0)
|
|
3813
3813
|
return /* @__PURE__ */ f.jsx(f.Fragment, {});
|
|
@@ -3848,7 +3848,7 @@ function dw(t) {
|
|
|
3848
3848
|
] })
|
|
3849
3849
|
] });
|
|
3850
3850
|
}
|
|
3851
|
-
function
|
|
3851
|
+
function ow(t) {
|
|
3852
3852
|
return t.text ? /* @__PURE__ */ f.jsx(
|
|
3853
3853
|
Ad,
|
|
3854
3854
|
{
|
|
@@ -8752,7 +8752,7 @@ function kn(t) {
|
|
|
8752
8752
|
function fy(t) {
|
|
8753
8753
|
return typeof t == "string" && (t = new Date(t)), t.toLocaleString();
|
|
8754
8754
|
}
|
|
8755
|
-
function
|
|
8755
|
+
function lw(t) {
|
|
8756
8756
|
const e = new Date(t.value);
|
|
8757
8757
|
return /* @__PURE__ */ f.jsxs(Bn, { hasGutter: !0, children: [
|
|
8758
8758
|
/* @__PURE__ */ f.jsx(sr, { children: e.toLocaleDateString() }),
|
|
@@ -8785,7 +8785,7 @@ function my(t) {
|
|
|
8785
8785
|
n ? /* @__PURE__ */ f.jsx(Je, { variant: "link", isInline: !0, onClick: n, children: r }) : /* @__PURE__ */ f.jsx("span", { children: r })
|
|
8786
8786
|
] });
|
|
8787
8787
|
}
|
|
8788
|
-
function
|
|
8788
|
+
function cw(t) {
|
|
8789
8789
|
const e = ke(() => new Date(t.start ?? 0).valueOf(), [t.start]), r = ke(() => new Date(t.finish ?? 0).valueOf(), [t.finish]), [n, s] = ye(Math.max(0, r - e.valueOf()));
|
|
8790
8790
|
Pe(() => {
|
|
8791
8791
|
const d = setInterval(() => {
|
|
@@ -8825,29 +8825,24 @@ function ua(t) {
|
|
|
8825
8825
|
case "default":
|
|
8826
8826
|
return;
|
|
8827
8827
|
case "green":
|
|
8828
|
-
return yy;
|
|
8829
8828
|
case "success":
|
|
8830
8829
|
return Fu;
|
|
8831
8830
|
case "red":
|
|
8832
|
-
return vy;
|
|
8833
8831
|
case "danger":
|
|
8834
8832
|
return Mu;
|
|
8835
8833
|
case "yellow":
|
|
8836
|
-
return wy;
|
|
8837
8834
|
case "warning":
|
|
8838
|
-
return
|
|
8835
|
+
return yy;
|
|
8839
8836
|
case "blue":
|
|
8840
|
-
return xy;
|
|
8841
8837
|
case "info":
|
|
8842
8838
|
return Vu;
|
|
8843
8839
|
case "grey":
|
|
8844
|
-
return Ey;
|
|
8845
8840
|
case "disabled":
|
|
8846
|
-
return
|
|
8841
|
+
return vy;
|
|
8847
8842
|
}
|
|
8848
8843
|
}
|
|
8849
|
-
const Fu = "var(--pf-global--success-color--100)",
|
|
8850
|
-
var
|
|
8844
|
+
const Fu = "var(--pf-global--success-color--100)", Mu = "var(--pf-global--danger-color--100)", yy = "var(--pf-global--warning-color--100)", Vu = "var(--pf-global--info-color--100)", vy = "var(--pf-global--disabled-color--100)", uw = "var(--pf-global--link--Color)";
|
|
8845
|
+
var by = /* @__PURE__ */ ((t) => (t.blue = "blue", t.cyan = "cyan", t.green = "green", t.orange = "orange", t.purple = "purple", t.red = "red", t.grey = "grey", t))(by || {});
|
|
8851
8846
|
function Ma(t) {
|
|
8852
8847
|
const e = {};
|
|
8853
8848
|
t.color && (e.color = ua(t.color)), t.size && (e.size = t.size);
|
|
@@ -8871,14 +8866,14 @@ function Ma(t) {
|
|
|
8871
8866
|
return /* @__PURE__ */ f.jsx("div", { style: { paddingRight: r }, children: n });
|
|
8872
8867
|
}
|
|
8873
8868
|
const Lu = Ir(void 0);
|
|
8874
|
-
function
|
|
8869
|
+
function wy() {
|
|
8875
8870
|
return Wt(Lu);
|
|
8876
8871
|
}
|
|
8877
|
-
function
|
|
8872
|
+
function xy(t) {
|
|
8878
8873
|
return /* @__PURE__ */ f.jsx(Lu.Provider, { value: t.callback, children: t.children });
|
|
8879
8874
|
}
|
|
8880
8875
|
function zu() {
|
|
8881
|
-
const t =
|
|
8876
|
+
const t = wy();
|
|
8882
8877
|
return ge(
|
|
8883
8878
|
(r) => {
|
|
8884
8879
|
r != null && r.startsWith("http") ? open(r, "_blank") : t ? t(r ?? "") : open(r, "_self");
|
|
@@ -8925,14 +8920,14 @@ function Xo(t) {
|
|
|
8925
8920
|
) })
|
|
8926
8921
|
] });
|
|
8927
8922
|
}
|
|
8928
|
-
const
|
|
8923
|
+
const Sy = ct.button`
|
|
8929
8924
|
padding: var(--pf-global--spacer--xs);
|
|
8930
8925
|
margin: -(var(--pf-global--spacer--xs));
|
|
8931
8926
|
font-size: var(--pf-global--FontSize--sm);
|
|
8932
8927
|
--pf-c-form__group-label-help--Color: var(--pf-global--Color--200);
|
|
8933
8928
|
--pf-c-form__group-label-help--hover--Color: var(--pf-global--Color--100);
|
|
8934
8929
|
`;
|
|
8935
|
-
function
|
|
8930
|
+
function Ey(t) {
|
|
8936
8931
|
const { ariaLabel: e = "", content: r, header: n, id: s = "", maxWidth: i = "", ...a } = t, [o] = bt();
|
|
8937
8932
|
return r ? /* @__PURE__ */ f.jsx(
|
|
8938
8933
|
Ys,
|
|
@@ -8945,7 +8940,7 @@ function ky(t) {
|
|
|
8945
8940
|
maxWidth: i,
|
|
8946
8941
|
...a,
|
|
8947
8942
|
children: /* @__PURE__ */ f.jsx(
|
|
8948
|
-
|
|
8943
|
+
Sy,
|
|
8949
8944
|
{
|
|
8950
8945
|
"aria-label": e ?? o.moreInformation,
|
|
8951
8946
|
"aria-haspopup": "true",
|
|
@@ -8963,12 +8958,12 @@ function Ss(t) {
|
|
|
8963
8958
|
return r === null || typeof r > "u" || r === "" ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : s ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsxs(sn, { children: [
|
|
8964
8959
|
e && /* @__PURE__ */ f.jsxs(zi, { children: [
|
|
8965
8960
|
e,
|
|
8966
|
-
n ? /* @__PURE__ */ f.jsx(
|
|
8961
|
+
n ? /* @__PURE__ */ f.jsx(Ey, { header: e, content: n }) : null
|
|
8967
8962
|
] }),
|
|
8968
8963
|
/* @__PURE__ */ f.jsx(an, { id: e == null ? void 0 : e.toLowerCase().split(" ").join("-"), children: r })
|
|
8969
8964
|
] });
|
|
8970
8965
|
}
|
|
8971
|
-
function
|
|
8966
|
+
function $y(t) {
|
|
8972
8967
|
const { disablePadding: e } = t, r = qn(), n = r.formLayout, s = t.numberOfColumns ? t.numberOfColumns : r.formColumns, i = !1;
|
|
8973
8968
|
return /* @__PURE__ */ f.jsx(Ut, { variant: "light", padding: { default: "noPadding" }, className: "dark-1", children: /* @__PURE__ */ f.jsx(
|
|
8974
8969
|
Os,
|
|
@@ -8994,7 +8989,7 @@ function jy(t) {
|
|
|
8994
8989
|
}
|
|
8995
8990
|
) });
|
|
8996
8991
|
}
|
|
8997
|
-
var ot = /* @__PURE__ */ ((t) => (t.Table = "table", t.List = "list", t.Cards = "cards", t))(ot || {}),
|
|
8992
|
+
var ot = /* @__PURE__ */ ((t) => (t.Table = "table", t.List = "list", t.Cards = "cards", t))(ot || {}), Cy = /* @__PURE__ */ ((t) => (t.Key = "key", t.Description = "description", t.Expanded = "expanded", t.Hidden = "hidden", t.Id = "id", t))(Cy || {}), _y = /* @__PURE__ */ ((t) => (t.Name = "name", t.Subtitle = "subtitle", t.Description = "description", t.Hidden = "hidden", t.Primary = "primary", t.Secondary = "secondary", t))(_y || {}), Ty = /* @__PURE__ */ ((t) => (t.Name = "name", t.Subtitle = "subtitle", t.Description = "description", t.Hidden = "hidden", t))(Ty || {}), ky = /* @__PURE__ */ ((t) => (t.Hidden = "hidden", t))(ky || {});
|
|
8998
8993
|
function Tt(t) {
|
|
8999
8994
|
const { item: e, column: r } = t;
|
|
9000
8995
|
if (!r)
|
|
@@ -9020,7 +9015,7 @@ function Bu(t) {
|
|
|
9020
9015
|
[t]
|
|
9021
9016
|
);
|
|
9022
9017
|
}
|
|
9023
|
-
function
|
|
9018
|
+
function jy(t) {
|
|
9024
9019
|
return ke(
|
|
9025
9020
|
() => t.filter(
|
|
9026
9021
|
(e) => e.list !== "hidden"
|
|
@@ -9029,7 +9024,7 @@ function Iy(t) {
|
|
|
9029
9024
|
[t]
|
|
9030
9025
|
);
|
|
9031
9026
|
}
|
|
9032
|
-
function
|
|
9027
|
+
function Oy(t) {
|
|
9033
9028
|
return ke(
|
|
9034
9029
|
() => t.filter(
|
|
9035
9030
|
(e) => e.card !== "hidden"
|
|
@@ -9038,7 +9033,7 @@ function Ry(t) {
|
|
|
9038
9033
|
[t]
|
|
9039
9034
|
);
|
|
9040
9035
|
}
|
|
9041
|
-
function
|
|
9036
|
+
function dw(t) {
|
|
9042
9037
|
return ke(
|
|
9043
9038
|
() => t.filter(
|
|
9044
9039
|
(e) => e.modal !== "hidden"
|
|
@@ -9047,8 +9042,8 @@ function gw(t) {
|
|
|
9047
9042
|
[t]
|
|
9048
9043
|
);
|
|
9049
9044
|
}
|
|
9050
|
-
function
|
|
9051
|
-
const r = Bu(t), n =
|
|
9045
|
+
function fw(t, e) {
|
|
9046
|
+
const r = Bu(t), n = jy(t), s = Oy(t);
|
|
9052
9047
|
switch (e) {
|
|
9053
9048
|
case ot.Table:
|
|
9054
9049
|
return r;
|
|
@@ -9058,23 +9053,23 @@ function yw(t, e) {
|
|
|
9058
9053
|
return s;
|
|
9059
9054
|
}
|
|
9060
9055
|
}
|
|
9061
|
-
function
|
|
9056
|
+
function Py(t) {
|
|
9062
9057
|
return ke(
|
|
9063
9058
|
() => t.filter((e) => e.table === "hidden" ? !1 : e.table === "description"),
|
|
9064
9059
|
[t]
|
|
9065
9060
|
);
|
|
9066
9061
|
}
|
|
9067
|
-
function
|
|
9062
|
+
function Ny(t) {
|
|
9068
9063
|
return ke(
|
|
9069
9064
|
() => t.filter((e) => e.table === "hidden" ? !1 : e.table === "expanded"),
|
|
9070
9065
|
[t]
|
|
9071
9066
|
);
|
|
9072
9067
|
}
|
|
9073
|
-
function
|
|
9068
|
+
function Dy(t) {
|
|
9074
9069
|
const { item: e, columns: r, disablePadding: n, numberOfColumns: s } = t;
|
|
9075
|
-
return e ? /* @__PURE__ */ f.jsx(
|
|
9070
|
+
return e ? /* @__PURE__ */ f.jsx($y, { disablePadding: n, numberOfColumns: s, children: r.map((i) => "value" in i && i.value && i.value(e) === void 0 ? /* @__PURE__ */ f.jsx(xr, {}, i.id ?? i.header) : /* @__PURE__ */ f.jsx(Ss, { label: i.header, children: /* @__PURE__ */ f.jsx(Tt, { column: i, item: e }) }, i.id ?? i.header)) }) : /* @__PURE__ */ f.jsx(f.Fragment, {});
|
|
9076
9071
|
}
|
|
9077
|
-
class
|
|
9072
|
+
class Iy {
|
|
9078
9073
|
constructor(e) {
|
|
9079
9074
|
fi(this, "value");
|
|
9080
9075
|
fi(this, "next");
|
|
@@ -9082,7 +9077,7 @@ class Vy {
|
|
|
9082
9077
|
}
|
|
9083
9078
|
}
|
|
9084
9079
|
var nr, zr, Br;
|
|
9085
|
-
class
|
|
9080
|
+
class Ry {
|
|
9086
9081
|
constructor() {
|
|
9087
9082
|
ns(this, nr, void 0);
|
|
9088
9083
|
ns(this, zr, void 0);
|
|
@@ -9090,7 +9085,7 @@ class Ly {
|
|
|
9090
9085
|
this.clear();
|
|
9091
9086
|
}
|
|
9092
9087
|
enqueue(e) {
|
|
9093
|
-
const r = new
|
|
9088
|
+
const r = new Iy(e);
|
|
9094
9089
|
$r(this, nr) ? ($r(this, zr).next = r, hr(this, zr, r)) : (hr(this, nr, r), hr(this, zr, r)), hi(this, Br)._++;
|
|
9095
9090
|
}
|
|
9096
9091
|
dequeue() {
|
|
@@ -9111,10 +9106,10 @@ class Ly {
|
|
|
9111
9106
|
}
|
|
9112
9107
|
}
|
|
9113
9108
|
nr = new WeakMap(), zr = new WeakMap(), Br = new WeakMap();
|
|
9114
|
-
function
|
|
9109
|
+
function Ay(t) {
|
|
9115
9110
|
if (!((Number.isInteger(t) || t === Number.POSITIVE_INFINITY) && t > 0))
|
|
9116
9111
|
throw new TypeError("Expected `concurrency` to be a number from 1 and up");
|
|
9117
|
-
const e = new
|
|
9112
|
+
const e = new Ry();
|
|
9118
9113
|
let r = 0;
|
|
9119
9114
|
const n = () => {
|
|
9120
9115
|
r--, e.size > 0 && e.dequeue()();
|
|
@@ -9146,15 +9141,15 @@ function zy(t) {
|
|
|
9146
9141
|
}
|
|
9147
9142
|
}), a;
|
|
9148
9143
|
}
|
|
9149
|
-
var qr = [],
|
|
9144
|
+
var qr = [], Fy = function() {
|
|
9150
9145
|
return qr.some(function(t) {
|
|
9151
9146
|
return t.activeTargets.length > 0;
|
|
9152
9147
|
});
|
|
9153
|
-
},
|
|
9148
|
+
}, My = function() {
|
|
9154
9149
|
return qr.some(function(t) {
|
|
9155
9150
|
return t.skippedTargets.length > 0;
|
|
9156
9151
|
});
|
|
9157
|
-
}, Qo = "ResizeObserver loop completed with undelivered notifications.",
|
|
9152
|
+
}, Qo = "ResizeObserver loop completed with undelivered notifications.", Vy = function() {
|
|
9158
9153
|
var t;
|
|
9159
9154
|
typeof ErrorEvent == "function" ? t = new ErrorEvent("error", {
|
|
9160
9155
|
message: Qo
|
|
@@ -9165,7 +9160,7 @@ var qr = [], By = function() {
|
|
|
9165
9160
|
})(Ln || (Ln = {}));
|
|
9166
9161
|
var Gr = function(t) {
|
|
9167
9162
|
return Object.freeze(t);
|
|
9168
|
-
},
|
|
9163
|
+
}, Ly = function() {
|
|
9169
9164
|
function t(e, r) {
|
|
9170
9165
|
this.inlineSize = e, this.blockSize = r, Gr(this);
|
|
9171
9166
|
}
|
|
@@ -9195,7 +9190,7 @@ var Gr = function(t) {
|
|
|
9195
9190
|
return !0;
|
|
9196
9191
|
var r = (e = t == null ? void 0 : t.ownerDocument) === null || e === void 0 ? void 0 : e.defaultView;
|
|
9197
9192
|
return !!(r && t instanceof r.Element);
|
|
9198
|
-
},
|
|
9193
|
+
}, zy = function(t) {
|
|
9199
9194
|
switch (t.tagName) {
|
|
9200
9195
|
case "INPUT":
|
|
9201
9196
|
if (t.type !== "image")
|
|
@@ -9210,10 +9205,10 @@ var Gr = function(t) {
|
|
|
9210
9205
|
return !0;
|
|
9211
9206
|
}
|
|
9212
9207
|
return !1;
|
|
9213
|
-
}, Fn = typeof window < "u" ? window : {}, ms = /* @__PURE__ */ new WeakMap(), tl = /auto|scroll/,
|
|
9208
|
+
}, Fn = typeof window < "u" ? window : {}, ms = /* @__PURE__ */ new WeakMap(), tl = /auto|scroll/, By = /^tb|vertical/, Uy = /msie|trident/i.test(Fn.navigator && Fn.navigator.userAgent), rr = function(t) {
|
|
9214
9209
|
return parseFloat(t || "0");
|
|
9215
9210
|
}, dn = function(t, e, r) {
|
|
9216
|
-
return t === void 0 && (t = 0), e === void 0 && (e = 0), r === void 0 && (r = !1), new
|
|
9211
|
+
return t === void 0 && (t = 0), e === void 0 && (e = 0), r === void 0 && (r = !1), new Ly((r ? e : t) || 0, (r ? t : e) || 0);
|
|
9217
9212
|
}, rl = Gr({
|
|
9218
9213
|
devicePixelContentBoxSize: dn(),
|
|
9219
9214
|
borderBoxSize: dn(),
|
|
@@ -9224,7 +9219,7 @@ var Gr = function(t) {
|
|
|
9224
9219
|
return ms.get(t);
|
|
9225
9220
|
if (Wu(t))
|
|
9226
9221
|
return ms.set(t, rl), rl;
|
|
9227
|
-
var r = getComputedStyle(t), n = Va(t) && t.ownerSVGElement && t.getBBox(), s = !
|
|
9222
|
+
var r = getComputedStyle(t), n = Va(t) && t.ownerSVGElement && t.getBBox(), s = !Uy && r.boxSizing === "border-box", i = By.test(r.writingMode || ""), a = !n && tl.test(r.overflowY || ""), o = !n && tl.test(r.overflowX || ""), l = n ? 0 : rr(r.paddingTop), c = n ? 0 : rr(r.paddingRight), d = n ? 0 : rr(r.paddingBottom), h = n ? 0 : rr(r.paddingLeft), u = n ? 0 : rr(r.borderTopWidth), m = n ? 0 : rr(r.borderRightWidth), p = n ? 0 : rr(r.borderBottomWidth), y = n ? 0 : rr(r.borderLeftWidth), v = h + c, E = l + d, C = y + m, S = u + p, w = o ? t.offsetHeight - S - t.clientHeight : 0, b = a ? t.offsetWidth - C - t.clientWidth : 0, A = s ? v + C : 0, V = s ? E + S : 0, _ = n ? n.width : rr(r.width) - A - b, x = n ? n.height : rr(r.height) - V - w, k = _ + v + b + C, O = x + E + w + S, R = Gr({
|
|
9228
9223
|
devicePixelContentBoxSize: dn(Math.round(_ * devicePixelRatio), Math.round(x * devicePixelRatio), i),
|
|
9229
9224
|
borderBoxSize: dn(k, O, i),
|
|
9230
9225
|
contentBoxSize: dn(_, x, i),
|
|
@@ -9241,7 +9236,7 @@ var Gr = function(t) {
|
|
|
9241
9236
|
default:
|
|
9242
9237
|
return i;
|
|
9243
9238
|
}
|
|
9244
|
-
},
|
|
9239
|
+
}, Wy = function() {
|
|
9245
9240
|
function t(e) {
|
|
9246
9241
|
var r = Hu(e);
|
|
9247
9242
|
this.target = e, this.contentRect = r.contentRect, this.borderBoxSize = Gr([r.borderBoxSize]), this.contentBoxSize = Gr([r.contentBoxSize]), this.devicePixelContentBoxSize = Gr([r.devicePixelContentBoxSize]);
|
|
@@ -9253,13 +9248,13 @@ var Gr = function(t) {
|
|
|
9253
9248
|
for (var e = 0, r = t.parentNode; r; )
|
|
9254
9249
|
e += 1, r = r.parentNode;
|
|
9255
9250
|
return e;
|
|
9256
|
-
},
|
|
9251
|
+
}, Hy = function() {
|
|
9257
9252
|
var t = 1 / 0, e = [];
|
|
9258
9253
|
qr.forEach(function(a) {
|
|
9259
9254
|
if (a.activeTargets.length !== 0) {
|
|
9260
9255
|
var o = [];
|
|
9261
9256
|
a.activeTargets.forEach(function(c) {
|
|
9262
|
-
var d = new
|
|
9257
|
+
var d = new Wy(c.target), h = Gu(c.target);
|
|
9263
9258
|
o.push(d), c.lastReportedSize = qu(c.target, c.observedBox), h < t && (t = h);
|
|
9264
9259
|
}), e.push(function() {
|
|
9265
9260
|
a.callback.call(a.observer, o, a.observer);
|
|
@@ -9277,32 +9272,32 @@ var Gr = function(t) {
|
|
|
9277
9272
|
s.isActive() && (Gu(s.target) > t ? r.activeTargets.push(s) : r.skippedTargets.push(s));
|
|
9278
9273
|
});
|
|
9279
9274
|
});
|
|
9280
|
-
},
|
|
9275
|
+
}, qy = function() {
|
|
9281
9276
|
var t = 0;
|
|
9282
|
-
for (nl(t);
|
|
9283
|
-
t =
|
|
9284
|
-
return
|
|
9285
|
-
}, ki, Yu = [],
|
|
9277
|
+
for (nl(t); Fy(); )
|
|
9278
|
+
t = Hy(), nl(t);
|
|
9279
|
+
return My() && Vy(), t > 0;
|
|
9280
|
+
}, ki, Yu = [], Gy = function() {
|
|
9286
9281
|
return Yu.splice(0).forEach(function(t) {
|
|
9287
9282
|
return t();
|
|
9288
9283
|
});
|
|
9289
|
-
},
|
|
9284
|
+
}, Yy = function(t) {
|
|
9290
9285
|
if (!ki) {
|
|
9291
9286
|
var e = 0, r = document.createTextNode(""), n = { characterData: !0 };
|
|
9292
9287
|
new MutationObserver(function() {
|
|
9293
|
-
return
|
|
9288
|
+
return Gy();
|
|
9294
9289
|
}).observe(r, n), ki = function() {
|
|
9295
9290
|
r.textContent = "".concat(e ? e-- : e++);
|
|
9296
9291
|
};
|
|
9297
9292
|
}
|
|
9298
9293
|
Yu.push(t), ki();
|
|
9299
|
-
},
|
|
9300
|
-
|
|
9294
|
+
}, Zy = function(t) {
|
|
9295
|
+
Yy(function() {
|
|
9301
9296
|
requestAnimationFrame(t);
|
|
9302
9297
|
});
|
|
9303
|
-
}, Es = 0,
|
|
9298
|
+
}, Es = 0, Ky = function() {
|
|
9304
9299
|
return !!Es;
|
|
9305
|
-
},
|
|
9300
|
+
}, Jy = 250, Xy = { attributes: !0, characterData: !0, childList: !0, subtree: !0 }, sl = [
|
|
9306
9301
|
"resize",
|
|
9307
9302
|
"load",
|
|
9308
9303
|
"transitionend",
|
|
@@ -9319,7 +9314,7 @@ var Gr = function(t) {
|
|
|
9319
9314
|
"focus"
|
|
9320
9315
|
], il = function(t) {
|
|
9321
9316
|
return t === void 0 && (t = 0), Date.now() + t;
|
|
9322
|
-
}, ji = !1,
|
|
9317
|
+
}, ji = !1, Qy = function() {
|
|
9323
9318
|
function t() {
|
|
9324
9319
|
var e = this;
|
|
9325
9320
|
this.stopped = !0, this.listener = function() {
|
|
@@ -9328,15 +9323,15 @@ var Gr = function(t) {
|
|
|
9328
9323
|
}
|
|
9329
9324
|
return t.prototype.run = function(e) {
|
|
9330
9325
|
var r = this;
|
|
9331
|
-
if (e === void 0 && (e =
|
|
9326
|
+
if (e === void 0 && (e = Jy), !ji) {
|
|
9332
9327
|
ji = !0;
|
|
9333
9328
|
var n = il(e);
|
|
9334
|
-
|
|
9329
|
+
Zy(function() {
|
|
9335
9330
|
var s = !1;
|
|
9336
9331
|
try {
|
|
9337
|
-
s =
|
|
9332
|
+
s = qy();
|
|
9338
9333
|
} finally {
|
|
9339
|
-
if (ji = !1, e = n - il(), !
|
|
9334
|
+
if (ji = !1, e = n - il(), !Ky())
|
|
9340
9335
|
return;
|
|
9341
9336
|
s ? r.run(1e3) : e > 0 ? r.run(e) : r.start();
|
|
9342
9337
|
}
|
|
@@ -9346,7 +9341,7 @@ var Gr = function(t) {
|
|
|
9346
9341
|
this.stop(), this.run();
|
|
9347
9342
|
}, t.prototype.observe = function() {
|
|
9348
9343
|
var e = this, r = function() {
|
|
9349
|
-
return e.observer && e.observer.observe(document.body,
|
|
9344
|
+
return e.observer && e.observer.observe(document.body, Xy);
|
|
9350
9345
|
};
|
|
9351
9346
|
document.body ? r() : Fn.addEventListener("DOMContentLoaded", r);
|
|
9352
9347
|
}, t.prototype.start = function() {
|
|
@@ -9360,11 +9355,11 @@ var Gr = function(t) {
|
|
|
9360
9355
|
return Fn.removeEventListener(r, e.listener, !0);
|
|
9361
9356
|
}), this.stopped = !0);
|
|
9362
9357
|
}, t;
|
|
9363
|
-
}(), da = new
|
|
9358
|
+
}(), da = new Qy(), al = function(t) {
|
|
9364
9359
|
!Es && t > 0 && da.start(), Es += t, !Es && da.stop();
|
|
9365
|
-
},
|
|
9366
|
-
return !Va(t) && !
|
|
9367
|
-
},
|
|
9360
|
+
}, ev = function(t) {
|
|
9361
|
+
return !Va(t) && !zy(t) && getComputedStyle(t).display === "inline";
|
|
9362
|
+
}, tv = function() {
|
|
9368
9363
|
function t(e, r) {
|
|
9369
9364
|
this.target = e, this.observedBox = r || Ln.CONTENT_BOX, this.lastReportedSize = {
|
|
9370
9365
|
inlineSize: 0,
|
|
@@ -9373,9 +9368,9 @@ var Gr = function(t) {
|
|
|
9373
9368
|
}
|
|
9374
9369
|
return t.prototype.isActive = function() {
|
|
9375
9370
|
var e = qu(this.target, this.observedBox, !0);
|
|
9376
|
-
return
|
|
9371
|
+
return ev(this.target) && (this.lastReportedSize = e), this.lastReportedSize.inlineSize !== e.inlineSize || this.lastReportedSize.blockSize !== e.blockSize;
|
|
9377
9372
|
}, t;
|
|
9378
|
-
}(),
|
|
9373
|
+
}(), rv = function() {
|
|
9379
9374
|
function t(e, r) {
|
|
9380
9375
|
this.activeTargets = [], this.skippedTargets = [], this.observationTargets = [], this.observer = e, this.callback = r;
|
|
9381
9376
|
}
|
|
@@ -9389,11 +9384,11 @@ var Gr = function(t) {
|
|
|
9389
9384
|
function t() {
|
|
9390
9385
|
}
|
|
9391
9386
|
return t.connect = function(e, r) {
|
|
9392
|
-
var n = new
|
|
9387
|
+
var n = new rv(e, r);
|
|
9393
9388
|
ps.set(e, n);
|
|
9394
9389
|
}, t.observe = function(e, r, n) {
|
|
9395
9390
|
var s = ps.get(e), i = s.observationTargets.length === 0;
|
|
9396
|
-
ol(s.observationTargets, r) < 0 && (i && qr.push(s), s.observationTargets.push(new
|
|
9391
|
+
ol(s.observationTargets, r) < 0 && (i && qr.push(s), s.observationTargets.push(new tv(r, n && n.box)), al(1), da.schedule());
|
|
9397
9392
|
}, t.unobserve = function(e, r) {
|
|
9398
9393
|
var n = ps.get(e), s = ol(n.observationTargets, r), i = n.observationTargets.length === 1;
|
|
9399
9394
|
s >= 0 && (i && qr.splice(qr.indexOf(n), 1), n.observationTargets.splice(s, 1), al(-1));
|
|
@@ -9403,7 +9398,7 @@ var Gr = function(t) {
|
|
|
9403
9398
|
return r.unobserve(e, s.target);
|
|
9404
9399
|
}), n.activeTargets.splice(0, n.activeTargets.length);
|
|
9405
9400
|
}, t;
|
|
9406
|
-
}(),
|
|
9401
|
+
}(), nv = function() {
|
|
9407
9402
|
function t(e) {
|
|
9408
9403
|
if (arguments.length === 0)
|
|
9409
9404
|
throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");
|
|
@@ -9429,24 +9424,24 @@ var Gr = function(t) {
|
|
|
9429
9424
|
return "function ResizeObserver () { [polyfill code] }";
|
|
9430
9425
|
}, t;
|
|
9431
9426
|
}();
|
|
9432
|
-
const
|
|
9427
|
+
const sv = Ke[typeof document < "u" && document.createElement !== void 0 ? "useLayoutEffect" : "useEffect"], iv = sv, av = (t) => {
|
|
9433
9428
|
const e = de.useRef(t);
|
|
9434
9429
|
return de.useEffect(() => {
|
|
9435
9430
|
e.current = t;
|
|
9436
9431
|
}), e;
|
|
9437
|
-
},
|
|
9432
|
+
}, ov = av, lv = typeof window < "u" && "ResizeObserver" in window ? (
|
|
9438
9433
|
// @ts-ignore
|
|
9439
9434
|
window.ResizeObserver
|
|
9440
|
-
) :
|
|
9441
|
-
function
|
|
9435
|
+
) : nv;
|
|
9436
|
+
function cv() {
|
|
9442
9437
|
}
|
|
9443
9438
|
function ci(t, e) {
|
|
9444
|
-
const r =
|
|
9445
|
-
return
|
|
9439
|
+
const r = dv(), n = ov(e);
|
|
9440
|
+
return iv(() => {
|
|
9446
9441
|
let s = !1;
|
|
9447
9442
|
const i = t && "current" in t ? t.current : t;
|
|
9448
9443
|
if (!i)
|
|
9449
|
-
return
|
|
9444
|
+
return cv;
|
|
9450
9445
|
function a(o, l) {
|
|
9451
9446
|
s || n.current(o, l);
|
|
9452
9447
|
}
|
|
@@ -9455,9 +9450,9 @@ function ci(t, e) {
|
|
|
9455
9450
|
};
|
|
9456
9451
|
}, [t, r, n]), r.observer;
|
|
9457
9452
|
}
|
|
9458
|
-
function
|
|
9453
|
+
function uv() {
|
|
9459
9454
|
let t = !1, e = [];
|
|
9460
|
-
const r = /* @__PURE__ */ new Map(), n = new
|
|
9455
|
+
const r = /* @__PURE__ */ new Map(), n = new lv((s, i) => {
|
|
9461
9456
|
e = e.concat(s);
|
|
9462
9457
|
function a() {
|
|
9463
9458
|
const o = /* @__PURE__ */ new Set();
|
|
@@ -9493,8 +9488,8 @@ function pv() {
|
|
|
9493
9488
|
};
|
|
9494
9489
|
}
|
|
9495
9490
|
let Oi;
|
|
9496
|
-
const
|
|
9497
|
-
function
|
|
9491
|
+
const dv = () => Oi || (Oi = uv());
|
|
9492
|
+
function fv(t) {
|
|
9498
9493
|
const [e, r] = ye(!1), n = ge(() => {
|
|
9499
9494
|
r(!0);
|
|
9500
9495
|
}, []), [s, i] = ye(() => t), [a] = bt();
|
|
@@ -9658,7 +9653,7 @@ function ll(t) {
|
|
|
9658
9653
|
}
|
|
9659
9654
|
);
|
|
9660
9655
|
}
|
|
9661
|
-
function
|
|
9656
|
+
function hv(t) {
|
|
9662
9657
|
const { setPage: e, setPerPage: r } = t, n = ge((a, o) => e(o), [e]), s = ge(
|
|
9663
9658
|
(a, o) => r(o),
|
|
9664
9659
|
[r]
|
|
@@ -9686,7 +9681,7 @@ function vv(t) {
|
|
|
9686
9681
|
}
|
|
9687
9682
|
);
|
|
9688
9683
|
}
|
|
9689
|
-
function
|
|
9684
|
+
function mv(t) {
|
|
9690
9685
|
const e = t.size ?? 350, r = Xt(null), [n, s] = ye("1fr"), i = ge(
|
|
9691
9686
|
(o) => {
|
|
9692
9687
|
let l = Math.min(t.maxColumns ?? 12, Math.max(Math.floor(o / e), 1));
|
|
@@ -9701,36 +9696,36 @@ function bv(t) {
|
|
|
9701
9696
|
const a = 16;
|
|
9702
9697
|
return /* @__PURE__ */ f.jsx("div", { ref: r, style: { display: "grid", gridAutoRows: "1fr", gridTemplateColumns: n, gap: a }, children: t.children });
|
|
9703
9698
|
}
|
|
9704
|
-
const
|
|
9699
|
+
const pv = ct.div`
|
|
9705
9700
|
display: flex;
|
|
9706
9701
|
flex-wrap: nowrap;
|
|
9707
9702
|
max-width: 100%;
|
|
9708
|
-
`,
|
|
9703
|
+
`, gv = ct.div`
|
|
9709
9704
|
display: flex;
|
|
9710
9705
|
flex-wrap: wrap;
|
|
9711
9706
|
align-items: center;
|
|
9712
9707
|
gap: 16px;
|
|
9713
9708
|
max-width: 100%;
|
|
9714
|
-
`,
|
|
9709
|
+
`, yv = ct.div`
|
|
9715
9710
|
max-width: 100%;
|
|
9716
|
-
`,
|
|
9711
|
+
`, vv = ct.div`
|
|
9717
9712
|
display: flex;
|
|
9718
9713
|
flex-direction: row;
|
|
9719
9714
|
align-items: end;
|
|
9720
9715
|
gap: 16;
|
|
9721
|
-
`,
|
|
9716
|
+
`, bv = ct.div`
|
|
9722
9717
|
flex-grow: 1;
|
|
9723
|
-
`,
|
|
9718
|
+
`, wv = ct.div`
|
|
9724
9719
|
display: flex;
|
|
9725
9720
|
gap: 16;
|
|
9726
9721
|
margin-top: 8;
|
|
9727
9722
|
flex-wrap: wrap;
|
|
9728
|
-
`,
|
|
9723
|
+
`, xv = ct.div`
|
|
9729
9724
|
display: flex;
|
|
9730
9725
|
gap: 6;
|
|
9731
9726
|
align-items: baseline;
|
|
9732
9727
|
`;
|
|
9733
|
-
function
|
|
9728
|
+
function Sv(t) {
|
|
9734
9729
|
const {
|
|
9735
9730
|
item: e,
|
|
9736
9731
|
itemToCardFn: r,
|
|
@@ -9759,10 +9754,10 @@ function Tv(t) {
|
|
|
9759
9754
|
},
|
|
9760
9755
|
children: [
|
|
9761
9756
|
/* @__PURE__ */ f.jsxs(Ld, { style: { display: "flex", flexWrap: "nowrap", maxWidth: "100%" }, children: [
|
|
9762
|
-
/* @__PURE__ */ f.jsxs(
|
|
9763
|
-
/* @__PURE__ */ f.jsxs(
|
|
9757
|
+
/* @__PURE__ */ f.jsxs(pv, { children: [
|
|
9758
|
+
/* @__PURE__ */ f.jsxs(gv, { children: [
|
|
9764
9759
|
c.icon && /* @__PURE__ */ f.jsx(Ma, { size: "xl", children: c.icon }),
|
|
9765
|
-
/* @__PURE__ */ f.jsxs(
|
|
9760
|
+
/* @__PURE__ */ f.jsxs(yv, { children: [
|
|
9766
9761
|
/* @__PURE__ */ f.jsx(zd, { children: /* @__PURE__ */ f.jsx(js, { content: c.title }) }),
|
|
9767
9762
|
c.subtitle ? /* @__PURE__ */ f.jsx(Mn, { component: "small", style: { opacity: 0.7 }, children: c.subtitle }) : l && /* @__PURE__ */ f.jsx(Mn, { component: "small", style: { opacity: 0.7 }, children: l })
|
|
9768
9763
|
] })
|
|
@@ -9800,14 +9795,14 @@ function Tv(t) {
|
|
|
9800
9795
|
] })
|
|
9801
9796
|
] }),
|
|
9802
9797
|
c.cardBody,
|
|
9803
|
-
c.labels && /* @__PURE__ */ f.jsx(Ud, { children: /* @__PURE__ */ f.jsx(
|
|
9798
|
+
c.labels && /* @__PURE__ */ f.jsx(Ud, { children: /* @__PURE__ */ f.jsx(vv, { children: /* @__PURE__ */ f.jsx(bv, { children: c.labels && /* @__PURE__ */ f.jsx(Ul, { numLabels: 999, children: c.labels.map((p) => /* @__PURE__ */ f.jsx(ys, { color: p.color, children: /* @__PURE__ */ f.jsx(js, { content: p.label, style: { minWidth: 0 } }) }, p.label)) }) }) }) }),
|
|
9804
9799
|
c.alertTitle && /* @__PURE__ */ f.jsx(Gs, { title: c.alertTitle, isInline: !0, variant: c.alertVariant, children: c.alertContent })
|
|
9805
9800
|
]
|
|
9806
9801
|
},
|
|
9807
9802
|
c.id ?? c.title
|
|
9808
9803
|
);
|
|
9809
9804
|
}
|
|
9810
|
-
function
|
|
9805
|
+
function Ev(t, e) {
|
|
9811
9806
|
const r = ke(() => {
|
|
9812
9807
|
let c, d, h;
|
|
9813
9808
|
const u = [];
|
|
@@ -9862,7 +9857,7 @@ function kv(t, e) {
|
|
|
9862
9857
|
cardBody: /* @__PURE__ */ f.jsx(Wd, { children: /* @__PURE__ */ f.jsxs(Os, { isCompact: !0, children: [
|
|
9863
9858
|
d && /* @__PURE__ */ f.jsx(Ss, { children: i.type === "description" ? /* @__PURE__ */ f.jsx("div", { children: i.value(c) }) : /* @__PURE__ */ f.jsx(Tt, { column: i, item: c }) }, i.id),
|
|
9864
9859
|
o.filter((p) => !p.value || p.value(c)).map((p) => /* @__PURE__ */ f.jsx(Ss, { label: p.header, children: /* @__PURE__ */ f.jsx(Tt, { column: p, item: c }) }, p.id)),
|
|
9865
|
-
a.length > 0 && /* @__PURE__ */ f.jsx(Ss, { children: /* @__PURE__ */ f.jsx(
|
|
9860
|
+
a.length > 0 && /* @__PURE__ */ f.jsx(Ss, { children: /* @__PURE__ */ f.jsx(wv, { children: a.map((p, y) => /* @__PURE__ */ f.jsxs(xv, { children: [
|
|
9866
9861
|
/* @__PURE__ */ f.jsx(Tt, { column: p, item: c }),
|
|
9867
9862
|
/* @__PURE__ */ f.jsx("small", { style: { opacity: 0.7 }, children: p.header })
|
|
9868
9863
|
] }, y)) }) })
|
|
@@ -9880,7 +9875,7 @@ function kv(t, e) {
|
|
|
9880
9875
|
e
|
|
9881
9876
|
]);
|
|
9882
9877
|
}
|
|
9883
|
-
function
|
|
9878
|
+
function $v(t) {
|
|
9884
9879
|
const {
|
|
9885
9880
|
keyFn: e,
|
|
9886
9881
|
pageItems: r,
|
|
@@ -9891,8 +9886,8 @@ function jv(t) {
|
|
|
9891
9886
|
rowActions: o,
|
|
9892
9887
|
showSelect: l,
|
|
9893
9888
|
defaultSubtitle: c
|
|
9894
|
-
} = t, d =
|
|
9895
|
-
|
|
9889
|
+
} = t, d = Ev(n, e), h = ke(() => /* @__PURE__ */ f.jsx(mv, { size: 400, children: r == null ? void 0 : r.map((u) => /* @__PURE__ */ f.jsx(
|
|
9890
|
+
Sv,
|
|
9896
9891
|
{
|
|
9897
9892
|
item: u,
|
|
9898
9893
|
itemToCardFn: d,
|
|
@@ -9917,7 +9912,7 @@ function jv(t) {
|
|
|
9917
9912
|
]);
|
|
9918
9913
|
return /* @__PURE__ */ f.jsx(Ut, { style: { flexGrow: 1 }, children: h });
|
|
9919
9914
|
}
|
|
9920
|
-
function
|
|
9915
|
+
function Cv(t) {
|
|
9921
9916
|
const {
|
|
9922
9917
|
keyFn: e,
|
|
9923
9918
|
pageItems: r,
|
|
@@ -9928,7 +9923,7 @@ function Ov(t) {
|
|
|
9928
9923
|
rowActions: o,
|
|
9929
9924
|
defaultSubtitle: l,
|
|
9930
9925
|
showSelect: c
|
|
9931
|
-
} = t, d =
|
|
9926
|
+
} = t, d = _v(
|
|
9932
9927
|
n,
|
|
9933
9928
|
e,
|
|
9934
9929
|
s,
|
|
@@ -9940,7 +9935,7 @@ function Ov(t) {
|
|
|
9940
9935
|
);
|
|
9941
9936
|
return /* @__PURE__ */ f.jsx(Wl, { "aria-label": "TODO", style: { marginTop: -1, maxWidth: "100%", overflow: "hidden" }, children: r == null ? void 0 : r.map(d) });
|
|
9942
9937
|
}
|
|
9943
|
-
function
|
|
9938
|
+
function _v(t, e, r, n, s, i, a, o) {
|
|
9944
9939
|
const l = ke(() => {
|
|
9945
9940
|
let E, C, S;
|
|
9946
9941
|
const w = [];
|
|
@@ -10103,7 +10098,7 @@ function Pv(t, e, r, n, s, i, a, o) {
|
|
|
10103
10098
|
]
|
|
10104
10099
|
);
|
|
10105
10100
|
}
|
|
10106
|
-
function
|
|
10101
|
+
function Tv(t) {
|
|
10107
10102
|
const [e, r] = ye(!1), n = lr("sm"), [s] = bt(), { pageItems: i, selectedItems: a, selectItems: o, unselectAll: l } = t, c = t.itemCount !== void 0 && t.itemCount > 0 && i && i.length > 0 && (i ?? []).every((v) => a == null ? void 0 : a.includes(v)), d = ge(() => {
|
|
10108
10103
|
c ? l == null || l() : o == null || o(i ?? []);
|
|
10109
10104
|
}, [c, l, o, i]), h = ke(() => n ? a && a.length > 0 ? `${a.length} selected` : "" : a && a.length > 0 ? `${a.length}` : "", [n, a]), u = ke(() => {
|
|
@@ -10161,12 +10156,12 @@ function Nv(t) {
|
|
|
10161
10156
|
}
|
|
10162
10157
|
);
|
|
10163
10158
|
}
|
|
10164
|
-
const
|
|
10159
|
+
const kv = ct.div`
|
|
10165
10160
|
flex-grow: 1;
|
|
10166
|
-
`,
|
|
10161
|
+
`, jv = ct.span`
|
|
10167
10162
|
opacity: 0.7;
|
|
10168
10163
|
`;
|
|
10169
|
-
function
|
|
10164
|
+
function hw(t) {
|
|
10170
10165
|
if (!t)
|
|
10171
10166
|
return !1;
|
|
10172
10167
|
for (const e of t)
|
|
@@ -10174,7 +10169,7 @@ function vw(t) {
|
|
|
10174
10169
|
return !0;
|
|
10175
10170
|
return !1;
|
|
10176
10171
|
}
|
|
10177
|
-
function
|
|
10172
|
+
function Ov(t) {
|
|
10178
10173
|
const {
|
|
10179
10174
|
itemCount: e,
|
|
10180
10175
|
page: r,
|
|
@@ -10218,7 +10213,7 @@ function Rv(t) {
|
|
|
10218
10213
|
borderBottom: u ? "thin solid var(--pf-global--BorderColor--100)" : void 0
|
|
10219
10214
|
},
|
|
10220
10215
|
children: /* @__PURE__ */ f.jsxs(Ka, { children: [
|
|
10221
|
-
b && /* @__PURE__ */ f.jsx(ss, { children: /* @__PURE__ */ f.jsx(Cr, { variant: "bulk-select", children: /* @__PURE__ */ f.jsx(
|
|
10216
|
+
b && /* @__PURE__ */ f.jsx(ss, { children: /* @__PURE__ */ f.jsx(Cr, { variant: "bulk-select", children: /* @__PURE__ */ f.jsx(Tv, { ...t }) }) }),
|
|
10222
10217
|
a && a.length > 0 && /* @__PURE__ */ f.jsx(Gd, { toggleIcon: /* @__PURE__ */ f.jsx(eo, {}), breakpoint: "md", children: /* @__PURE__ */ f.jsxs(ss, { variant: "filter-group", children: [
|
|
10223
10218
|
/* @__PURE__ */ f.jsx(Cr, { children: /* @__PURE__ */ f.jsx(
|
|
10224
10219
|
Vr,
|
|
@@ -10242,7 +10237,7 @@ function Rv(t) {
|
|
|
10242
10237
|
}
|
|
10243
10238
|
) }),
|
|
10244
10239
|
/* @__PURE__ */ f.jsx(Cr, { children: /* @__PURE__ */ f.jsx(
|
|
10245
|
-
|
|
10240
|
+
Pv,
|
|
10246
10241
|
{
|
|
10247
10242
|
id: "filter-input",
|
|
10248
10243
|
filter: a.find((k) => k.key === V),
|
|
@@ -10296,7 +10291,7 @@ function Rv(t) {
|
|
|
10296
10291
|
wrapper: Cr
|
|
10297
10292
|
}
|
|
10298
10293
|
) }),
|
|
10299
|
-
/* @__PURE__ */ f.jsx(
|
|
10294
|
+
/* @__PURE__ */ f.jsx(kv, {}),
|
|
10300
10295
|
/* @__PURE__ */ f.jsxs(ss, { variant: "button-group", children: [
|
|
10301
10296
|
!t.disableColumnManagement && h && p === "table" && /* @__PURE__ */ f.jsx(Cr, { children: /* @__PURE__ */ f.jsx(zt, { content: "Manage columns", children: /* @__PURE__ */ f.jsx(Je, { variant: "plain", icon: /* @__PURE__ */ f.jsx(vf, {}), onClick: h }) }) }),
|
|
10302
10297
|
x > 1 && /* @__PURE__ */ f.jsx(Cr, { children: /* @__PURE__ */ f.jsx(Zd, { "aria-label": "table view toggle", children: [
|
|
@@ -10382,17 +10377,17 @@ function Rv(t) {
|
|
|
10382
10377
|
}
|
|
10383
10378
|
) : /* @__PURE__ */ f.jsx(xr, {});
|
|
10384
10379
|
}
|
|
10385
|
-
function
|
|
10380
|
+
function Pv(t) {
|
|
10386
10381
|
const { filter: e } = t;
|
|
10387
10382
|
switch (e == null ? void 0 : e.type) {
|
|
10388
10383
|
case "string":
|
|
10389
|
-
return /* @__PURE__ */ f.jsx(
|
|
10384
|
+
return /* @__PURE__ */ f.jsx(Nv, { ...t, placeholder: e.placeholder });
|
|
10390
10385
|
case "select":
|
|
10391
|
-
return /* @__PURE__ */ f.jsx(
|
|
10386
|
+
return /* @__PURE__ */ f.jsx(Dv, { ...t, options: e.options, placeholder: e.placeholder });
|
|
10392
10387
|
}
|
|
10393
10388
|
return /* @__PURE__ */ f.jsx(f.Fragment, {});
|
|
10394
10389
|
}
|
|
10395
|
-
function
|
|
10390
|
+
function Nv(t) {
|
|
10396
10391
|
const [e, r] = ye("");
|
|
10397
10392
|
return /* @__PURE__ */ f.jsxs(Zs, { children: [
|
|
10398
10393
|
/* @__PURE__ */ f.jsxs(Kd, { style: { minWidth: 220 }, children: [
|
|
@@ -10437,7 +10432,7 @@ function Fv(t) {
|
|
|
10437
10432
|
)
|
|
10438
10433
|
] });
|
|
10439
10434
|
}
|
|
10440
|
-
function
|
|
10435
|
+
function Dv(t) {
|
|
10441
10436
|
const [e] = bt(), { addFilter: r, removeFilter: n, options: s, values: i } = t, [a, o] = ye(!1), l = ge(
|
|
10442
10437
|
(d, h) => {
|
|
10443
10438
|
i.includes(h.toString()) ? n(h.toString()) : r(h.toString());
|
|
@@ -10452,26 +10447,26 @@ function Mv(t) {
|
|
|
10452
10447
|
onToggle: o,
|
|
10453
10448
|
selections: c,
|
|
10454
10449
|
onSelect: l,
|
|
10455
|
-
placeholderText: i.length ? e.selectedText : /* @__PURE__ */ f.jsx(
|
|
10450
|
+
placeholderText: i.length ? e.selectedText : /* @__PURE__ */ f.jsx(jv, { children: t.placeholder }),
|
|
10456
10451
|
style: { zIndex: a ? 400 : 0 },
|
|
10457
10452
|
children: s.map((d) => /* @__PURE__ */ f.jsx(Pt, { id: d.value, value: d.value, children: d.label }, d.value))
|
|
10458
10453
|
}
|
|
10459
10454
|
) });
|
|
10460
10455
|
}
|
|
10461
|
-
const
|
|
10456
|
+
const Iv = ct.div`
|
|
10462
10457
|
height: 100%;
|
|
10463
10458
|
margin-bottom: -1px;
|
|
10464
|
-
`,
|
|
10459
|
+
`, Rv = ct.div`
|
|
10465
10460
|
height: 100%;
|
|
10466
|
-
`,
|
|
10461
|
+
`, Av = ct.div`
|
|
10467
10462
|
padding-top: 5px;
|
|
10468
10463
|
padding-bottom: 5px;
|
|
10469
|
-
`,
|
|
10464
|
+
`, Fv = ct.div`
|
|
10470
10465
|
padding-top: 5px;
|
|
10471
10466
|
padding-bottom: 5px;
|
|
10472
10467
|
`;
|
|
10473
10468
|
function ui(t) {
|
|
10474
|
-
const { toolbarActions: e, filters: r, error: n, itemCount: s, disableBodyPadding: i } = t, { openColumnModal: a, columnModal: o, managedColumns: l } =
|
|
10469
|
+
const { toolbarActions: e, filters: r, error: n, itemCount: s, disableBodyPadding: i } = t, { openColumnModal: a, columnModal: o, managedColumns: l } = fv(t.tableColumns), c = Bu(l), d = Py(l), h = Ny(l), u = ke(() => {
|
|
10475
10470
|
const S = [];
|
|
10476
10471
|
if (d.length)
|
|
10477
10472
|
for (const b of d)
|
|
@@ -10482,7 +10477,7 @@ function ui(t) {
|
|
|
10482
10477
|
return /* @__PURE__ */ f.jsx("div", { children: V });
|
|
10483
10478
|
}) : S.push((A) => b.cell(A));
|
|
10484
10479
|
return h.length && S.push((b) => /* @__PURE__ */ f.jsx(
|
|
10485
|
-
|
|
10480
|
+
Dy,
|
|
10486
10481
|
{
|
|
10487
10482
|
item: b,
|
|
10488
10483
|
columns: h,
|
|
@@ -10495,7 +10490,7 @@ function ui(t) {
|
|
|
10495
10490
|
)) !== void 0, p = !t.disableTableView, y = !t.disableListView, [v, E] = ye(
|
|
10496
10491
|
() => t.defaultTableView ?? (p ? ot.Table : y ? ot.List : ot.Cards)
|
|
10497
10492
|
), C = lr("md") && i !== !0;
|
|
10498
|
-
return n ? /* @__PURE__ */ f.jsx(
|
|
10493
|
+
return n ? /* @__PURE__ */ f.jsx(Rv, { className: "dark-2", children: /* @__PURE__ */ f.jsxs(Ui, { variant: Ja.small, style: { paddingTop: 48 }, children: [
|
|
10499
10494
|
/* @__PURE__ */ f.jsx(
|
|
10500
10495
|
Wi,
|
|
10501
10496
|
{
|
|
@@ -10521,7 +10516,7 @@ function ui(t) {
|
|
|
10521
10516
|
)
|
|
10522
10517
|
] }) }) : s === void 0 ? /* @__PURE__ */ f.jsx(Ut, { isFilled: !0, variant: "light", children: /* @__PURE__ */ f.jsx(Qd, { children: /* @__PURE__ */ f.jsx(ef, {}) }) }) : /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
|
|
10523
10518
|
/* @__PURE__ */ f.jsx(
|
|
10524
|
-
|
|
10519
|
+
Ov,
|
|
10525
10520
|
{
|
|
10526
10521
|
...t,
|
|
10527
10522
|
openColumnModal: a,
|
|
@@ -10531,7 +10526,7 @@ function ui(t) {
|
|
|
10531
10526
|
bottomBorder: !0
|
|
10532
10527
|
}
|
|
10533
10528
|
),
|
|
10534
|
-
v === ot.Table && /* @__PURE__ */ f.jsx(Rc, { disablePadding: i, children: /* @__PURE__ */ f.jsx(
|
|
10529
|
+
v === ot.Table && /* @__PURE__ */ f.jsx(Rc, { disablePadding: i, children: /* @__PURE__ */ f.jsx(Mv, { ...t, tableColumns: c, expandedRow: u }) }),
|
|
10535
10530
|
v === ot.List && /* @__PURE__ */ f.jsx(ll, { children: /* @__PURE__ */ f.jsx(Ut, { padding: { default: "noPadding", md: "padding" }, children: /* @__PURE__ */ f.jsx(
|
|
10536
10531
|
"div",
|
|
10537
10532
|
{
|
|
@@ -10539,15 +10534,15 @@ function ui(t) {
|
|
|
10539
10534
|
borderLeft: C ? "thin solid var(--pf-global--BorderColor--100)" : void 0,
|
|
10540
10535
|
borderRight: C ? "thin solid var(--pf-global--BorderColor--100)" : void 0
|
|
10541
10536
|
},
|
|
10542
|
-
children: /* @__PURE__ */ f.jsx(
|
|
10537
|
+
children: /* @__PURE__ */ f.jsx(Cv, { ...t, showSelect: m })
|
|
10543
10538
|
}
|
|
10544
10539
|
) }) }),
|
|
10545
|
-
v === ot.Cards && /* @__PURE__ */ f.jsx(ll, { children: /* @__PURE__ */ f.jsx(
|
|
10546
|
-
(!t.autoHidePagination || (t.itemCount ?? 0) > t.perPage) && /* @__PURE__ */ f.jsx(
|
|
10540
|
+
v === ot.Cards && /* @__PURE__ */ f.jsx(ll, { children: /* @__PURE__ */ f.jsx($v, { ...t, showSelect: m }) }),
|
|
10541
|
+
(!t.autoHidePagination || (t.itemCount ?? 0) > t.perPage) && /* @__PURE__ */ f.jsx(hv, { ...t, topBorder: !0 }),
|
|
10547
10542
|
o
|
|
10548
10543
|
] });
|
|
10549
10544
|
}
|
|
10550
|
-
function
|
|
10545
|
+
function Mv(t) {
|
|
10551
10546
|
const {
|
|
10552
10547
|
tableColumns: e,
|
|
10553
10548
|
pageItems: r,
|
|
@@ -10584,7 +10579,7 @@ function Uv(t) {
|
|
|
10584
10579
|
);
|
|
10585
10580
|
ci(C, () => b(C.current)), Pe(() => b(C.current), [b]);
|
|
10586
10581
|
const V = qn();
|
|
10587
|
-
return /* @__PURE__ */ f.jsxs(
|
|
10582
|
+
return /* @__PURE__ */ f.jsxs(Iv, { className: "pf-c-scroll-inner-wrapper", ref: C, onScroll: A, children: [
|
|
10588
10583
|
/* @__PURE__ */ f.jsxs(
|
|
10589
10584
|
jf,
|
|
10590
10585
|
{
|
|
@@ -10594,7 +10589,7 @@ function Uv(t) {
|
|
|
10594
10589
|
isStickyHeader: !0,
|
|
10595
10590
|
children: [
|
|
10596
10591
|
d === void 0 ? /* @__PURE__ */ f.jsx(sc, { children: /* @__PURE__ */ f.jsx(ln, { children: /* @__PURE__ */ f.jsx(cn, { children: /* @__PURE__ */ f.jsx(or, {}) }) }) }) : /* @__PURE__ */ f.jsx(
|
|
10597
|
-
|
|
10592
|
+
Vv,
|
|
10598
10593
|
{
|
|
10599
10594
|
...t,
|
|
10600
10595
|
showSelect: E,
|
|
@@ -10604,11 +10599,11 @@ function Uv(t) {
|
|
|
10604
10599
|
onSelect: m
|
|
10605
10600
|
}
|
|
10606
10601
|
),
|
|
10607
|
-
/* @__PURE__ */ f.jsx(Of, { children: d === void 0 ? new Array(h).fill(0).map((_, x) => /* @__PURE__ */ f.jsx(ln, { children: /* @__PURE__ */ f.jsx(Vt, { children: /* @__PURE__ */ f.jsx(
|
|
10602
|
+
/* @__PURE__ */ f.jsx(Of, { children: d === void 0 ? new Array(h).fill(0).map((_, x) => /* @__PURE__ */ f.jsx(ln, { children: /* @__PURE__ */ f.jsx(Vt, { children: /* @__PURE__ */ f.jsx(Av, { children: /* @__PURE__ */ f.jsx(or, { height: "27px" }) }) }) }, x)) : r === void 0 ? new Array(Math.min(h, d)).fill(0).map((_, x) => /* @__PURE__ */ f.jsxs(ln, { children: [
|
|
10608
10603
|
E && /* @__PURE__ */ f.jsx(Vt, {}),
|
|
10609
|
-
/* @__PURE__ */ f.jsx(Vt, { colSpan: e.length, children: /* @__PURE__ */ f.jsx(
|
|
10604
|
+
/* @__PURE__ */ f.jsx(Vt, { colSpan: e.length, children: /* @__PURE__ */ f.jsx(Fv, { children: /* @__PURE__ */ f.jsx(or, { height: "27px" }) }) })
|
|
10610
10605
|
] }, x)) : r == null ? void 0 : r.map((_, x) => /* @__PURE__ */ f.jsx(
|
|
10611
|
-
|
|
10606
|
+
Lv,
|
|
10612
10607
|
{
|
|
10613
10608
|
columns: e,
|
|
10614
10609
|
item: _,
|
|
@@ -10638,7 +10633,7 @@ function Uv(t) {
|
|
|
10638
10633
|
] })
|
|
10639
10634
|
] });
|
|
10640
10635
|
}
|
|
10641
|
-
function
|
|
10636
|
+
function Vv(t) {
|
|
10642
10637
|
const {
|
|
10643
10638
|
tableColumns: e,
|
|
10644
10639
|
rowActions: r,
|
|
@@ -10711,7 +10706,7 @@ function Wv(t) {
|
|
|
10711
10706
|
)
|
|
10712
10707
|
] }) });
|
|
10713
10708
|
}
|
|
10714
|
-
function
|
|
10709
|
+
function Lv(t) {
|
|
10715
10710
|
const {
|
|
10716
10711
|
columns: e,
|
|
10717
10712
|
unselectAll: r,
|
|
@@ -10779,7 +10774,7 @@ function Hv(t) {
|
|
|
10779
10774
|
}
|
|
10780
10775
|
),
|
|
10781
10776
|
/* @__PURE__ */ f.jsx(
|
|
10782
|
-
|
|
10777
|
+
zv,
|
|
10783
10778
|
{
|
|
10784
10779
|
columns: e,
|
|
10785
10780
|
item: o,
|
|
@@ -10829,7 +10824,7 @@ function Hv(t) {
|
|
|
10829
10824
|
)
|
|
10830
10825
|
] });
|
|
10831
10826
|
}
|
|
10832
|
-
function
|
|
10827
|
+
function zv(t) {
|
|
10833
10828
|
const { columns: e, item: r, rowActions: n } = t, [s, i] = ye(!1);
|
|
10834
10829
|
return /* @__PURE__ */ f.jsxs(xr, { children: [
|
|
10835
10830
|
e.filter((a) => a.enabled !== !1).map((a) => /* @__PURE__ */ f.jsx(
|
|
@@ -10889,8 +10884,8 @@ function fa(t, e, r) {
|
|
|
10889
10884
|
}, c;
|
|
10890
10885
|
}
|
|
10891
10886
|
fa.debounce = fa;
|
|
10892
|
-
var
|
|
10893
|
-
function
|
|
10887
|
+
var Bv = fa;
|
|
10888
|
+
function mw(t, e, r) {
|
|
10894
10889
|
const {
|
|
10895
10890
|
selectedItems: n,
|
|
10896
10891
|
selectItem: s,
|
|
@@ -10899,7 +10894,7 @@ function bw(t, e, r) {
|
|
|
10899
10894
|
selectItems: o,
|
|
10900
10895
|
unselectAll: l,
|
|
10901
10896
|
allSelected: c
|
|
10902
|
-
} =
|
|
10897
|
+
} = Uv(t, e), { sorted: d, sort: h, setSort: u } = Zu(t), { filtered: m, setFilterFn: p } = Ku(d, e), { searched: y, search: v, setSearch: E, setSearchFn: C } = Hv(
|
|
10903
10898
|
m,
|
|
10904
10899
|
e,
|
|
10905
10900
|
r == null ? void 0 : r.search
|
|
@@ -10955,7 +10950,7 @@ function bw(t, e, r) {
|
|
|
10955
10950
|
]
|
|
10956
10951
|
);
|
|
10957
10952
|
}
|
|
10958
|
-
function
|
|
10953
|
+
function Uv(t, e, r) {
|
|
10959
10954
|
const [n, s] = ye(() => r ? r.reduce((p, y) => (p[e(y)] = y, p), {}) : {});
|
|
10960
10955
|
Pe(() => {
|
|
10961
10956
|
s((p) => {
|
|
@@ -11039,7 +11034,7 @@ function Yv(t, e, r) {
|
|
|
11039
11034
|
]
|
|
11040
11035
|
);
|
|
11041
11036
|
}
|
|
11042
|
-
function
|
|
11037
|
+
function Wv(t, e) {
|
|
11043
11038
|
const [r, n] = ye({});
|
|
11044
11039
|
Pe(() => {
|
|
11045
11040
|
n((m) => {
|
|
@@ -11165,14 +11160,14 @@ function Ku(t, e) {
|
|
|
11165
11160
|
[a, i]
|
|
11166
11161
|
);
|
|
11167
11162
|
}
|
|
11168
|
-
function
|
|
11163
|
+
function Hv(t, e, r) {
|
|
11169
11164
|
const n = Xt({
|
|
11170
11165
|
map: {}
|
|
11171
11166
|
}), [s, i] = ye(), a = ge(
|
|
11172
11167
|
(m) => i(() => m),
|
|
11173
11168
|
[]
|
|
11174
11169
|
), [o, l] = ye([]), [c, d] = ye(r ?? ""), h = ge(
|
|
11175
|
-
|
|
11170
|
+
Bv((m) => d(m), 200),
|
|
11176
11171
|
[]
|
|
11177
11172
|
);
|
|
11178
11173
|
Pe(() => {
|
|
@@ -11214,7 +11209,7 @@ function di(t) {
|
|
|
11214
11209
|
n > Math.ceil(t.length / i) && s(1);
|
|
11215
11210
|
}, [n, i, t.length]), ke(() => ({ paged: e, page: n, setPage: s, perPage: i, setPerPage: a }), [n, e, i]);
|
|
11216
11211
|
}
|
|
11217
|
-
function
|
|
11212
|
+
function qv(t) {
|
|
11218
11213
|
const {
|
|
11219
11214
|
title: e,
|
|
11220
11215
|
items: r,
|
|
@@ -11239,7 +11234,7 @@ function Jv(t) {
|
|
|
11239
11234
|
}, [o, V]);
|
|
11240
11235
|
Pe(() => {
|
|
11241
11236
|
async function G() {
|
|
11242
|
-
const Y =
|
|
11237
|
+
const Y = Ay(5);
|
|
11243
11238
|
let X = 0;
|
|
11244
11239
|
const ee = [];
|
|
11245
11240
|
await Promise.all(
|
|
@@ -11357,7 +11352,7 @@ function Jv(t) {
|
|
|
11357
11352
|
}
|
|
11358
11353
|
);
|
|
11359
11354
|
}
|
|
11360
|
-
function
|
|
11355
|
+
function Gv() {
|
|
11361
11356
|
const [t, e] = Xr(), [r, n] = ye();
|
|
11362
11357
|
return Pe(() => {
|
|
11363
11358
|
if (r) {
|
|
@@ -11365,12 +11360,12 @@ function Xv() {
|
|
|
11365
11360
|
var i;
|
|
11366
11361
|
n(void 0), (i = r.onClose) == null || i.call(r);
|
|
11367
11362
|
};
|
|
11368
|
-
e(/* @__PURE__ */ f.jsx(
|
|
11363
|
+
e(/* @__PURE__ */ f.jsx(qv, { ...r, onClose: s }));
|
|
11369
11364
|
} else
|
|
11370
11365
|
e(void 0);
|
|
11371
11366
|
}, [r, e]), n;
|
|
11372
11367
|
}
|
|
11373
|
-
function
|
|
11368
|
+
function Yv(t, e) {
|
|
11374
11369
|
if (t == null && e == null)
|
|
11375
11370
|
return 0;
|
|
11376
11371
|
if (t == null)
|
|
@@ -11384,7 +11379,7 @@ function Qv(t, e) {
|
|
|
11384
11379
|
return $s(t, e.toString());
|
|
11385
11380
|
} else if (typeof t == "number") {
|
|
11386
11381
|
if (typeof e == "number")
|
|
11387
|
-
return
|
|
11382
|
+
return Zv(t, e);
|
|
11388
11383
|
if (typeof e == "string")
|
|
11389
11384
|
return $s(t.toString(), e);
|
|
11390
11385
|
}
|
|
@@ -11393,22 +11388,22 @@ function Qv(t, e) {
|
|
|
11393
11388
|
function $s(t, e) {
|
|
11394
11389
|
return t == null && e == null ? 0 : t == null ? 1 : e == null || t < e ? -1 : t > e ? 1 : 0;
|
|
11395
11390
|
}
|
|
11396
|
-
function
|
|
11391
|
+
function Zv(t, e) {
|
|
11397
11392
|
return t == null && e == null ? 0 : t == null ? 1 : e == null || t < e ? -1 : t > e ? 1 : 0;
|
|
11398
11393
|
}
|
|
11399
|
-
const
|
|
11394
|
+
const Kv = ct.div`
|
|
11400
11395
|
display: flex;
|
|
11401
11396
|
flex-direction: column;
|
|
11402
11397
|
max-height: 560px;
|
|
11403
11398
|
overflow: hidden;
|
|
11404
11399
|
border-top: thin solid var(--pf-global--BorderColor--100);
|
|
11405
|
-
`,
|
|
11400
|
+
`, Jv = ct.div`
|
|
11406
11401
|
margin-left: 32px;
|
|
11407
11402
|
height: 64px;
|
|
11408
11403
|
display: flex;
|
|
11409
11404
|
align-items: center;
|
|
11410
11405
|
`;
|
|
11411
|
-
function
|
|
11406
|
+
function Xv(t) {
|
|
11412
11407
|
const {
|
|
11413
11408
|
title: e,
|
|
11414
11409
|
items: r,
|
|
@@ -11465,7 +11460,7 @@ function n0(t) {
|
|
|
11465
11460
|
],
|
|
11466
11461
|
hasNoBodyWrapper: !0,
|
|
11467
11462
|
children: r.length > 0 && /* @__PURE__ */ f.jsxs(Ps, { style: { paddingLeft: 0, paddingRight: 0 }, children: [
|
|
11468
|
-
/* @__PURE__ */ f.jsxs(
|
|
11463
|
+
/* @__PURE__ */ f.jsxs(Kv, { children: [
|
|
11469
11464
|
i && i.length > 0 && i.map((O, R) => /* @__PURE__ */ f.jsx(Gs, { isInline: !0, title: O, variant: "warning" }, R)),
|
|
11470
11465
|
/* @__PURE__ */ f.jsx(
|
|
11471
11466
|
ui,
|
|
@@ -11487,7 +11482,7 @@ function n0(t) {
|
|
|
11487
11482
|
"items"
|
|
11488
11483
|
)
|
|
11489
11484
|
] }),
|
|
11490
|
-
d && k.length > 0 && /* @__PURE__ */ f.jsx(
|
|
11485
|
+
d && k.length > 0 && /* @__PURE__ */ f.jsx(Jv, { children: /* @__PURE__ */ f.jsx(
|
|
11491
11486
|
wa,
|
|
11492
11487
|
{
|
|
11493
11488
|
id: "confirm",
|
|
@@ -11500,7 +11495,7 @@ function n0(t) {
|
|
|
11500
11495
|
}
|
|
11501
11496
|
);
|
|
11502
11497
|
}
|
|
11503
|
-
function
|
|
11498
|
+
function Qv() {
|
|
11504
11499
|
const [t, e] = Xr(), [r, n] = ye();
|
|
11505
11500
|
return Pe(() => {
|
|
11506
11501
|
if (r) {
|
|
@@ -11508,13 +11503,13 @@ function s0() {
|
|
|
11508
11503
|
var i;
|
|
11509
11504
|
n(void 0), (i = r.onClose) == null || i.call(r);
|
|
11510
11505
|
};
|
|
11511
|
-
e(/* @__PURE__ */ f.jsx(
|
|
11506
|
+
e(/* @__PURE__ */ f.jsx(Xv, { ...r, onClose: s }));
|
|
11512
11507
|
} else
|
|
11513
11508
|
e(void 0);
|
|
11514
11509
|
}, [r, e]), n;
|
|
11515
11510
|
}
|
|
11516
|
-
function
|
|
11517
|
-
const t =
|
|
11511
|
+
function pw() {
|
|
11512
|
+
const t = Qv(), e = Gv();
|
|
11518
11513
|
return ge(
|
|
11519
11514
|
(r) => {
|
|
11520
11515
|
const n = Object.assign({}, r);
|
|
@@ -11528,7 +11523,7 @@ function ww() {
|
|
|
11528
11523
|
[e, t]
|
|
11529
11524
|
);
|
|
11530
11525
|
}
|
|
11531
|
-
function
|
|
11526
|
+
function gw(t) {
|
|
11532
11527
|
const { title: e, view: r, tableColumns: n, toolbarFilters: s, confirmText: i, cancelText: a, onSelect: o } = t, [l, c] = Xr(), d = ge(() => c(void 0), [c]), [h] = bt();
|
|
11533
11528
|
return /* @__PURE__ */ f.jsx(
|
|
11534
11529
|
yn,
|
|
@@ -11592,7 +11587,7 @@ function zn(t) {
|
|
|
11592
11587
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
11593
11588
|
}, zn(t);
|
|
11594
11589
|
}
|
|
11595
|
-
function
|
|
11590
|
+
function e0(t, e) {
|
|
11596
11591
|
if (zn(t) !== "object" || t === null)
|
|
11597
11592
|
return t;
|
|
11598
11593
|
var r = t[Symbol.toPrimitive];
|
|
@@ -11605,10 +11600,10 @@ function i0(t, e) {
|
|
|
11605
11600
|
return (e === "string" ? String : Number)(t);
|
|
11606
11601
|
}
|
|
11607
11602
|
function Ju(t) {
|
|
11608
|
-
var e =
|
|
11603
|
+
var e = e0(t, "string");
|
|
11609
11604
|
return zn(e) === "symbol" ? e : String(e);
|
|
11610
11605
|
}
|
|
11611
|
-
function
|
|
11606
|
+
function t0(t, e, r) {
|
|
11612
11607
|
return e = Ju(e), e in t ? Object.defineProperty(t, e, {
|
|
11613
11608
|
value: r,
|
|
11614
11609
|
enumerable: !0,
|
|
@@ -11616,7 +11611,7 @@ function a0(t, e, r) {
|
|
|
11616
11611
|
writable: !0
|
|
11617
11612
|
}) : t[e] = r, t;
|
|
11618
11613
|
}
|
|
11619
|
-
function
|
|
11614
|
+
function r0(t, e) {
|
|
11620
11615
|
if (!(t instanceof e))
|
|
11621
11616
|
throw new TypeError("Cannot call a class as a function");
|
|
11622
11617
|
}
|
|
@@ -11626,12 +11621,12 @@ function cl(t, e) {
|
|
|
11626
11621
|
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(t, Ju(n.key), n);
|
|
11627
11622
|
}
|
|
11628
11623
|
}
|
|
11629
|
-
function
|
|
11624
|
+
function n0(t, e, r) {
|
|
11630
11625
|
return e && cl(t.prototype, e), r && cl(t, r), Object.defineProperty(t, "prototype", {
|
|
11631
11626
|
writable: !1
|
|
11632
11627
|
}), t;
|
|
11633
11628
|
}
|
|
11634
|
-
var
|
|
11629
|
+
var s0 = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, i0 = {
|
|
11635
11630
|
"&": "&",
|
|
11636
11631
|
"&": "&",
|
|
11637
11632
|
"<": "<",
|
|
@@ -11652,11 +11647,11 @@ var c0 = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#1
|
|
|
11652
11647
|
"…": "…",
|
|
11653
11648
|
"/": "/",
|
|
11654
11649
|
"/": "/"
|
|
11655
|
-
},
|
|
11656
|
-
return
|
|
11657
|
-
},
|
|
11658
|
-
return e.replace(
|
|
11659
|
-
},
|
|
11650
|
+
}, a0 = function(e) {
|
|
11651
|
+
return i0[e];
|
|
11652
|
+
}, o0 = function(e) {
|
|
11653
|
+
return e.replace(s0, a0);
|
|
11654
|
+
}, l0 = {
|
|
11660
11655
|
bindI18n: "languageChanged",
|
|
11661
11656
|
bindI18nStore: "",
|
|
11662
11657
|
transEmptyNodeValue: "",
|
|
@@ -11664,16 +11659,16 @@ var c0 = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#1
|
|
|
11664
11659
|
transWrapTextNodes: "",
|
|
11665
11660
|
transKeepBasicHtmlNodesFor: ["br", "strong", "i", "p"],
|
|
11666
11661
|
useSuspense: !0,
|
|
11667
|
-
unescape:
|
|
11668
|
-
},
|
|
11669
|
-
function
|
|
11670
|
-
return
|
|
11662
|
+
unescape: o0
|
|
11663
|
+
}, c0, u0 = Ir();
|
|
11664
|
+
function d0() {
|
|
11665
|
+
return l0;
|
|
11671
11666
|
}
|
|
11672
|
-
var
|
|
11667
|
+
var f0 = function() {
|
|
11673
11668
|
function t() {
|
|
11674
|
-
|
|
11669
|
+
r0(this, t), this.usedNamespaces = {};
|
|
11675
11670
|
}
|
|
11676
|
-
return
|
|
11671
|
+
return n0(t, [{
|
|
11677
11672
|
key: "addUsedNamespaces",
|
|
11678
11673
|
value: function(r) {
|
|
11679
11674
|
var n = this;
|
|
@@ -11688,10 +11683,10 @@ var y0 = function() {
|
|
|
11688
11683
|
}
|
|
11689
11684
|
}]), t;
|
|
11690
11685
|
}();
|
|
11691
|
-
function
|
|
11692
|
-
return
|
|
11686
|
+
function h0() {
|
|
11687
|
+
return c0;
|
|
11693
11688
|
}
|
|
11694
|
-
function
|
|
11689
|
+
function m0() {
|
|
11695
11690
|
if (console && console.warn) {
|
|
11696
11691
|
for (var t, e = arguments.length, r = new Array(e), n = 0; n < e; n++)
|
|
11697
11692
|
r[n] = arguments[n];
|
|
@@ -11702,7 +11697,7 @@ var ul = {};
|
|
|
11702
11697
|
function ha() {
|
|
11703
11698
|
for (var t = arguments.length, e = new Array(t), r = 0; r < t; r++)
|
|
11704
11699
|
e[r] = arguments[r];
|
|
11705
|
-
typeof e[0] == "string" && ul[e[0]] || (typeof e[0] == "string" && (ul[e[0]] = /* @__PURE__ */ new Date()),
|
|
11700
|
+
typeof e[0] == "string" && ul[e[0]] || (typeof e[0] == "string" && (ul[e[0]] = /* @__PURE__ */ new Date()), m0.apply(void 0, e));
|
|
11706
11701
|
}
|
|
11707
11702
|
function dl(t, e, r) {
|
|
11708
11703
|
t.loadNamespaces(e, function() {
|
|
@@ -11718,7 +11713,7 @@ function dl(t, e, r) {
|
|
|
11718
11713
|
}
|
|
11719
11714
|
});
|
|
11720
11715
|
}
|
|
11721
|
-
function
|
|
11716
|
+
function p0(t, e) {
|
|
11722
11717
|
var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, n = e.languages[0], s = e.options ? e.options.fallbackLng : !1, i = e.languages[e.languages.length - 1];
|
|
11723
11718
|
if (n.toLowerCase() === "cimode")
|
|
11724
11719
|
return !0;
|
|
@@ -11728,7 +11723,7 @@ function w0(t, e) {
|
|
|
11728
11723
|
};
|
|
11729
11724
|
return r.bindI18n && r.bindI18n.indexOf("languageChanging") > -1 && e.services.backendConnector.backend && e.isLanguageChangingTo && !a(e.isLanguageChangingTo, t) ? !1 : !!(e.hasResourceBundle(n, t) || !e.services.backendConnector.backend || e.options.resources && !e.options.partialBundledLanguages || a(n, t) && (!s || a(i, t)));
|
|
11730
11725
|
}
|
|
11731
|
-
function
|
|
11726
|
+
function g0(t, e) {
|
|
11732
11727
|
var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
11733
11728
|
if (!e.languages || !e.languages.length)
|
|
11734
11729
|
return ha("i18n.languages were undefined or empty", e.languages), !0;
|
|
@@ -11738,13 +11733,13 @@ function x0(t, e) {
|
|
|
11738
11733
|
if (r.bindI18n && r.bindI18n.indexOf("languageChanging") > -1 && i.services.backendConnector.backend && i.isLanguageChangingTo && !a(i.isLanguageChangingTo, t))
|
|
11739
11734
|
return !1;
|
|
11740
11735
|
}
|
|
11741
|
-
}) :
|
|
11736
|
+
}) : p0(t, e, r);
|
|
11742
11737
|
}
|
|
11743
|
-
function
|
|
11738
|
+
function y0(t) {
|
|
11744
11739
|
if (Array.isArray(t))
|
|
11745
11740
|
return t;
|
|
11746
11741
|
}
|
|
11747
|
-
function
|
|
11742
|
+
function v0(t, e) {
|
|
11748
11743
|
var r = t == null ? null : typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
|
|
11749
11744
|
if (r != null) {
|
|
11750
11745
|
var n, s, i, a, o = [], l = !0, c = !1;
|
|
@@ -11776,7 +11771,7 @@ function fl(t, e) {
|
|
|
11776
11771
|
n[r] = t[r];
|
|
11777
11772
|
return n;
|
|
11778
11773
|
}
|
|
11779
|
-
function
|
|
11774
|
+
function b0(t, e) {
|
|
11780
11775
|
if (t) {
|
|
11781
11776
|
if (typeof t == "string")
|
|
11782
11777
|
return fl(t, e);
|
|
@@ -11787,12 +11782,12 @@ function $0(t, e) {
|
|
|
11787
11782
|
return fl(t, e);
|
|
11788
11783
|
}
|
|
11789
11784
|
}
|
|
11790
|
-
function
|
|
11785
|
+
function w0() {
|
|
11791
11786
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
11792
11787
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
11793
11788
|
}
|
|
11794
|
-
function
|
|
11795
|
-
return
|
|
11789
|
+
function x0(t, e) {
|
|
11790
|
+
return y0(t) || v0(t, e) || b0(t, e) || w0();
|
|
11796
11791
|
}
|
|
11797
11792
|
function hl(t, e) {
|
|
11798
11793
|
var r = Object.keys(t);
|
|
@@ -11808,22 +11803,22 @@ function Pi(t) {
|
|
|
11808
11803
|
for (var e = 1; e < arguments.length; e++) {
|
|
11809
11804
|
var r = arguments[e] != null ? arguments[e] : {};
|
|
11810
11805
|
e % 2 ? hl(Object(r), !0).forEach(function(n) {
|
|
11811
|
-
|
|
11806
|
+
t0(t, n, r[n]);
|
|
11812
11807
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(r)) : hl(Object(r)).forEach(function(n) {
|
|
11813
11808
|
Object.defineProperty(t, n, Object.getOwnPropertyDescriptor(r, n));
|
|
11814
11809
|
});
|
|
11815
11810
|
}
|
|
11816
11811
|
return t;
|
|
11817
11812
|
}
|
|
11818
|
-
var
|
|
11813
|
+
var S0 = function(e, r) {
|
|
11819
11814
|
var n = Xt();
|
|
11820
11815
|
return Pe(function() {
|
|
11821
11816
|
n.current = r ? n.current : e;
|
|
11822
11817
|
}, [e, r]), n.current;
|
|
11823
11818
|
};
|
|
11824
|
-
function
|
|
11825
|
-
var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = e.i18n, n = Wt(
|
|
11826
|
-
if (a && !a.reportNamespaces && (a.reportNamespaces = new
|
|
11819
|
+
function E0(t) {
|
|
11820
|
+
var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = e.i18n, n = Wt(u0) || {}, s = n.i18n, i = n.defaultNS, a = r || s || h0();
|
|
11821
|
+
if (a && !a.reportNamespaces && (a.reportNamespaces = new f0()), !a) {
|
|
11827
11822
|
ha("You will need to pass in an i18next instance by using initReactI18next");
|
|
11828
11823
|
var o = function(x) {
|
|
11829
11824
|
return Array.isArray(x) ? x[x.length - 1] : x;
|
|
@@ -11831,15 +11826,15 @@ function k0(t) {
|
|
|
11831
11826
|
return l.t = o, l.i18n = {}, l.ready = !1, l;
|
|
11832
11827
|
}
|
|
11833
11828
|
a.options.react && a.options.react.wait !== void 0 && ha("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
|
|
11834
|
-
var c = Pi(Pi(Pi({},
|
|
11829
|
+
var c = Pi(Pi(Pi({}, d0()), a.options.react), e), d = c.useSuspense, h = c.keyPrefix, u = t || i || a.options && a.options.defaultNS;
|
|
11835
11830
|
u = typeof u == "string" ? [u] : u || ["translation"], a.reportNamespaces.addUsedNamespaces && a.reportNamespaces.addUsedNamespaces(u);
|
|
11836
11831
|
var m = (a.isInitialized || a.initializedStoreOnce) && u.every(function(_) {
|
|
11837
|
-
return
|
|
11832
|
+
return g0(_, a, c);
|
|
11838
11833
|
});
|
|
11839
11834
|
function p() {
|
|
11840
11835
|
return a.getFixedT(null, c.nsMode === "fallback" ? u : u[0], h);
|
|
11841
11836
|
}
|
|
11842
|
-
var y = ye(p), v =
|
|
11837
|
+
var y = ye(p), v = x0(y, 2), E = v[0], C = v[1], S = u.join(), w = S0(S), b = Xt(!0);
|
|
11843
11838
|
Pe(function() {
|
|
11844
11839
|
var _ = c.bindI18n, x = c.bindI18nStore;
|
|
11845
11840
|
b.current = !0, !m && !d && dl(a, u, function() {
|
|
@@ -11873,14 +11868,14 @@ function ml(t) {
|
|
|
11873
11868
|
let e = "collapsed";
|
|
11874
11869
|
return t.open && (e += " expanded"), /* @__PURE__ */ f.jsx("div", { className: e, children: t.children });
|
|
11875
11870
|
}
|
|
11876
|
-
function
|
|
11871
|
+
function yw(t) {
|
|
11877
11872
|
const { view: e, tableColumns: r, toolbarFilters: n, confirm: s, cancel: i, selected: a, isMultiple: o } = t, [l, c] = ye(""), [d, h] = ye(), u = ge((y, v) => {
|
|
11878
11873
|
c(v ?? ""), h(() => y);
|
|
11879
11874
|
}, []), [m, p] = Xr();
|
|
11880
11875
|
return Pe(() => {
|
|
11881
11876
|
d !== void 0 ? p(
|
|
11882
11877
|
/* @__PURE__ */ f.jsx(
|
|
11883
|
-
|
|
11878
|
+
$0,
|
|
11884
11879
|
{
|
|
11885
11880
|
title: l,
|
|
11886
11881
|
open: !0,
|
|
@@ -11910,7 +11905,7 @@ function Sw(t) {
|
|
|
11910
11905
|
o
|
|
11911
11906
|
]), u;
|
|
11912
11907
|
}
|
|
11913
|
-
function
|
|
11908
|
+
function $0(t) {
|
|
11914
11909
|
const {
|
|
11915
11910
|
title: e,
|
|
11916
11911
|
open: r,
|
|
@@ -11923,7 +11918,7 @@ function j0(t) {
|
|
|
11923
11918
|
confirm: c,
|
|
11924
11919
|
cancel: d,
|
|
11925
11920
|
selected: h
|
|
11926
|
-
} = t, u = () => s(!1), { t: m } =
|
|
11921
|
+
} = t, u = () => s(!1), { t: m } = E0();
|
|
11927
11922
|
return /* @__PURE__ */ f.jsxs(
|
|
11928
11923
|
yn,
|
|
11929
11924
|
{
|
|
@@ -12001,7 +11996,7 @@ function j0(t) {
|
|
|
12001
11996
|
}
|
|
12002
11997
|
);
|
|
12003
11998
|
}
|
|
12004
|
-
function
|
|
11999
|
+
function C0(t) {
|
|
12005
12000
|
const { onSelect: e, value: r } = t, n = ge(
|
|
12006
12001
|
(l, c) => {
|
|
12007
12002
|
var d;
|
|
@@ -12044,7 +12039,7 @@ function O0(t) {
|
|
|
12044
12039
|
}
|
|
12045
12040
|
);
|
|
12046
12041
|
}
|
|
12047
|
-
function
|
|
12042
|
+
function _0(t) {
|
|
12048
12043
|
const [e, r] = ye(!1), { helperTextInvalid: n, ...s } = t;
|
|
12049
12044
|
return /* @__PURE__ */ f.jsx(si, { ...t, children: /* @__PURE__ */ f.jsxs(Zs, { children: [
|
|
12050
12045
|
/* @__PURE__ */ f.jsx(
|
|
@@ -12068,7 +12063,7 @@ function P0(t) {
|
|
|
12068
12063
|
)
|
|
12069
12064
|
] }) });
|
|
12070
12065
|
}
|
|
12071
|
-
function
|
|
12066
|
+
function T0(t) {
|
|
12072
12067
|
const [e, r] = ye(!1), { children: n, isReadOnly: s, placeholder: i, ...a } = t, o = t.id ? t.id : typeof t.label == "string" ? t.label.toLowerCase().split(" ").join("-") : void 0;
|
|
12073
12068
|
return /* @__PURE__ */ f.jsx(si, { ...a, id: o, children: /* @__PURE__ */ f.jsxs(Zs, { children: [
|
|
12074
12069
|
/* @__PURE__ */ f.jsx(
|
|
@@ -12100,7 +12095,7 @@ function N0(t) {
|
|
|
12100
12095
|
}
|
|
12101
12096
|
var Jn = (t) => t.type === "checkbox", on = (t) => t instanceof Date, _t = (t) => t == null;
|
|
12102
12097
|
const Xu = (t) => typeof t == "object";
|
|
12103
|
-
var gt = (t) => !_t(t) && !Array.isArray(t) && Xu(t) && !on(t), Qu = (t) => gt(t) && t.target ? Jn(t.target) ? t.target.checked : t.target.value : t,
|
|
12098
|
+
var gt = (t) => !_t(t) && !Array.isArray(t) && Xu(t) && !on(t), Qu = (t) => gt(t) && t.target ? Jn(t.target) ? t.target.checked : t.target.value : t, k0 = (t) => t.substring(0, t.search(/\.\d+(\.|$)/)) || t, ed = (t, e) => t.has(k0(e)), j0 = (t) => {
|
|
12104
12099
|
const e = t.constructor && t.constructor.prototype;
|
|
12105
12100
|
return gt(e) && e.hasOwnProperty("isPrototypeOf");
|
|
12106
12101
|
}, La = typeof window < "u" && typeof window.HTMLElement < "u" && typeof document < "u";
|
|
@@ -12112,7 +12107,7 @@ function gr(t) {
|
|
|
12112
12107
|
else if (t instanceof Set)
|
|
12113
12108
|
e = new Set(t);
|
|
12114
12109
|
else if (!(La && (t instanceof Blob || t instanceof FileList)) && (r || gt(t)))
|
|
12115
|
-
if (e = r ? [] : {}, !Array.isArray(t) && !
|
|
12110
|
+
if (e = r ? [] : {}, !Array.isArray(t) && !j0(t))
|
|
12116
12111
|
e = t;
|
|
12117
12112
|
else
|
|
12118
12113
|
for (const n in t)
|
|
@@ -12145,7 +12140,7 @@ const Ls = {
|
|
|
12145
12140
|
pattern: "pattern",
|
|
12146
12141
|
required: "required",
|
|
12147
12142
|
validate: "validate"
|
|
12148
|
-
}, td = Ke.createContext(null), er = () => Ke.useContext(td),
|
|
12143
|
+
}, td = Ke.createContext(null), er = () => Ke.useContext(td), O0 = (t) => {
|
|
12149
12144
|
const { children: e, ...r } = t;
|
|
12150
12145
|
return Ke.createElement(td.Provider, { value: r }, e);
|
|
12151
12146
|
};
|
|
@@ -12199,7 +12194,7 @@ function id(t) {
|
|
|
12199
12194
|
}), [r]), rd(a, r, c.current, !1);
|
|
12200
12195
|
}
|
|
12201
12196
|
var ir = (t) => typeof t == "string", ad = (t, e, r, n, s) => ir(t) ? (n && e.watch.add(t), ue(r, t, s)) : Array.isArray(t) ? t.map((i) => (n && e.watch.add(i), ue(r, i))) : (n && (e.watchAll = !0), r);
|
|
12202
|
-
function
|
|
12197
|
+
function P0(t) {
|
|
12203
12198
|
const e = er(), { control: r = e.control, name: n, defaultValue: s, disabled: i, exact: a } = t || {}, o = Ke.useRef(n);
|
|
12204
12199
|
o.current = n, za({
|
|
12205
12200
|
disabled: i,
|
|
@@ -12227,7 +12222,7 @@ function Qe(t, e, r) {
|
|
|
12227
12222
|
return t;
|
|
12228
12223
|
}
|
|
12229
12224
|
function ld(t) {
|
|
12230
|
-
const e = er(), { name: r, control: n = e.control, shouldUnregister: s } = t, i = ed(n._names.array, r), a =
|
|
12225
|
+
const e = er(), { name: r, control: n = e.control, shouldUnregister: s } = t, i = ed(n._names.array, r), a = P0({
|
|
12231
12226
|
control: n,
|
|
12232
12227
|
name: r,
|
|
12233
12228
|
defaultValue: ue(n._formValues, r, ue(n._defaultValues, r, t.defaultValue)),
|
|
@@ -12332,7 +12327,7 @@ var pl = (t) => ({
|
|
|
12332
12327
|
isOnChange: t === Zt.onChange,
|
|
12333
12328
|
isOnAll: t === Zt.all,
|
|
12334
12329
|
isOnTouch: t === Zt.onTouched
|
|
12335
|
-
}), gl = (t, e, r) => !r && (e.watchAll || e.watch.has(t) || [...e.watch].some((n) => t.startsWith(n) && /^\.\w+/.test(t.slice(n.length)))),
|
|
12330
|
+
}), gl = (t, e, r) => !r && (e.watchAll || e.watch.has(t) || [...e.watch].some((n) => t.startsWith(n) && /^\.\w+/.test(t.slice(n.length)))), N0 = (t, e, r) => {
|
|
12336
12331
|
const n = Xn(ue(t, r));
|
|
12337
12332
|
return Qe(n, "root", e[r]), Qe(t, r, n), t;
|
|
12338
12333
|
}, fn = (t) => typeof t == "boolean", Ua = (t) => t.type === "file", Pr = (t) => typeof t == "function", zs = (t) => {
|
|
@@ -12458,22 +12453,22 @@ var nn = (t) => gt(t) && !Bs(t) ? t : {
|
|
|
12458
12453
|
}
|
|
12459
12454
|
return w(!0), b;
|
|
12460
12455
|
};
|
|
12461
|
-
function
|
|
12456
|
+
function D0(t, e) {
|
|
12462
12457
|
const r = e.slice(0, -1).length;
|
|
12463
12458
|
let n = 0;
|
|
12464
12459
|
for (; n < r; )
|
|
12465
12460
|
t = lt(t) ? n++ : t[e[n++]];
|
|
12466
12461
|
return t;
|
|
12467
12462
|
}
|
|
12468
|
-
function
|
|
12463
|
+
function I0(t) {
|
|
12469
12464
|
for (const e in t)
|
|
12470
12465
|
if (!lt(t[e]))
|
|
12471
12466
|
return !1;
|
|
12472
12467
|
return !0;
|
|
12473
12468
|
}
|
|
12474
12469
|
function St(t, e) {
|
|
12475
|
-
const r = Array.isArray(e) ? e : Ba(e) ? [e] : od(e), n = r.length === 1 ? t :
|
|
12476
|
-
return n && delete n[i], s !== 0 && (gt(n) && Mt(n) || Array.isArray(n) &&
|
|
12470
|
+
const r = Array.isArray(e) ? e : Ba(e) ? [e] : od(e), n = r.length === 1 ? t : D0(t, r), s = r.length - 1, i = r[s];
|
|
12471
|
+
return n && delete n[i], s !== 0 && (gt(n) && Mt(n) || Array.isArray(n) && I0(n)) && St(t, r.slice(0, -1)), t;
|
|
12477
12472
|
}
|
|
12478
12473
|
function Ni() {
|
|
12479
12474
|
let t = [];
|
|
@@ -12516,7 +12511,7 @@ function Lr(t, e) {
|
|
|
12516
12511
|
}
|
|
12517
12512
|
return !0;
|
|
12518
12513
|
}
|
|
12519
|
-
var fd = (t) => t.type === "select-multiple",
|
|
12514
|
+
var fd = (t) => t.type === "select-multiple", R0 = (t) => Wa(t) || Jn(t), Di = (t) => zs(t) && t.isConnected, hd = (t) => {
|
|
12520
12515
|
for (const e in t)
|
|
12521
12516
|
if (Pr(t[e]))
|
|
12522
12517
|
return !0;
|
|
@@ -12542,7 +12537,7 @@ function Ri(t) {
|
|
|
12542
12537
|
if (!(t.refs ? t.refs.every((r) => r.disabled) : e.disabled))
|
|
12543
12538
|
return Ua(e) ? e.files : Wa(e) ? dd(t.refs).value : fd(e) ? [...e.selectedOptions].map(({ value: r }) => r) : Jn(e) ? ud(t.refs).value : pd(lt(e.value) ? t.ref.value : e.value, t);
|
|
12544
12539
|
}
|
|
12545
|
-
var
|
|
12540
|
+
var A0 = (t, e, r, n) => {
|
|
12546
12541
|
const s = {};
|
|
12547
12542
|
for (const i of t) {
|
|
12548
12543
|
const a = ue(e, i);
|
|
@@ -12554,7 +12549,7 @@ var z0 = (t, e, r, n) => {
|
|
|
12554
12549
|
fields: s,
|
|
12555
12550
|
shouldUseNativeValidation: n
|
|
12556
12551
|
};
|
|
12557
|
-
}, jn = (t) => lt(t) ? t : Bs(t) ? t.source : gt(t) ? Bs(t.value) ? t.value.source : t.value : t,
|
|
12552
|
+
}, jn = (t) => lt(t) ? t : Bs(t) ? t.source : gt(t) ? Bs(t.value) ? t.value.source : t.value : t, F0 = (t) => t.mount && (t.required || t.min || t.max || t.maxLength || t.minLength || t.pattern || t.validate);
|
|
12558
12553
|
function Sl(t, e, r) {
|
|
12559
12554
|
const n = ue(t, r);
|
|
12560
12555
|
if (n || Ba(r))
|
|
@@ -12578,15 +12573,15 @@ function Sl(t, e, r) {
|
|
|
12578
12573
|
name: r
|
|
12579
12574
|
};
|
|
12580
12575
|
}
|
|
12581
|
-
var
|
|
12582
|
-
const
|
|
12576
|
+
var M0 = (t, e, r, n, s) => s.isOnAll ? !1 : !r && s.isOnTouch ? !(e || t) : (r ? n.isOnBlur : s.isOnBlur) ? !t : (r ? n.isOnChange : s.isOnChange) ? t : !0, V0 = (t, e) => !Xn(ue(t, e)).length && St(t, e);
|
|
12577
|
+
const L0 = {
|
|
12583
12578
|
mode: Zt.onSubmit,
|
|
12584
12579
|
reValidateMode: Zt.onChange,
|
|
12585
12580
|
shouldFocusError: !0
|
|
12586
12581
|
};
|
|
12587
|
-
function
|
|
12582
|
+
function z0(t = {}, e) {
|
|
12588
12583
|
let r = {
|
|
12589
|
-
...
|
|
12584
|
+
...L0,
|
|
12590
12585
|
...t
|
|
12591
12586
|
}, n = {
|
|
12592
12587
|
submitCount: 0,
|
|
@@ -12640,7 +12635,7 @@ function q0(t = {}, e) {
|
|
|
12640
12635
|
}
|
|
12641
12636
|
if (re && Array.isArray(ue(n.errors, P))) {
|
|
12642
12637
|
const pe = W(ue(n.errors, P), oe.argA, oe.argB);
|
|
12643
|
-
ne && Qe(n.errors, P, pe),
|
|
12638
|
+
ne && Qe(n.errors, P, pe), V0(n.errors, P);
|
|
12644
12639
|
}
|
|
12645
12640
|
if (h.touchedFields && re && Array.isArray(ue(n.touchedFields, P))) {
|
|
12646
12641
|
const pe = W(ue(n.touchedFields, P), oe.argA, oe.argB);
|
|
@@ -12695,7 +12690,7 @@ function q0(t = {}, e) {
|
|
|
12695
12690
|
}, u.state.next(pe);
|
|
12696
12691
|
}
|
|
12697
12692
|
S(!1);
|
|
12698
|
-
}, x = async (P) => r.resolver(a, r.context,
|
|
12693
|
+
}, x = async (P) => r.resolver(a, r.context, A0(P || l.mount, s, r.criteriaMode, r.shouldUseNativeValidation)), k = async (P) => {
|
|
12699
12694
|
const { errors: L } = await x();
|
|
12700
12695
|
if (P)
|
|
12701
12696
|
for (const W of P) {
|
|
@@ -12716,7 +12711,7 @@ function q0(t = {}, e) {
|
|
|
12716
12711
|
const Oe = l.array.has(re.name), fe = await xl(ne, a, v, r.shouldUseNativeValidation && !L, Oe);
|
|
12717
12712
|
if (fe[re.name] && (W.valid = !1, L))
|
|
12718
12713
|
break;
|
|
12719
|
-
!L && (ue(fe, re.name) ? Oe ?
|
|
12714
|
+
!L && (ue(fe, re.name) ? Oe ? N0(n.errors, fe, re.name) : Qe(n.errors, re.name, fe[re.name]) : St(n.errors, re.name));
|
|
12720
12715
|
}
|
|
12721
12716
|
pe && await O(pe, L, W);
|
|
12722
12717
|
}
|
|
@@ -12765,7 +12760,7 @@ function q0(t = {}, e) {
|
|
|
12765
12760
|
const ne = ue(s, W), re = () => L.type ? Ri(ne._f) : Qu(P);
|
|
12766
12761
|
if (ne) {
|
|
12767
12762
|
let pe, Oe;
|
|
12768
|
-
const fe = re(), Me = P.type === Ls.BLUR || P.type === Ls.FOCUS_OUT, Ht = !
|
|
12763
|
+
const fe = re(), Me = P.type === Ls.BLUR || P.type === Ls.FOCUS_OUT, Ht = !F0(ne._f) && !r.resolver && !ue(n.errors, W) && !ne._f.deps || M0(Me, ue(n.touchedFields, W), n.isSubmitted, y, p), Ct = gl(W, l, Me);
|
|
12769
12764
|
Qe(a, W, fe), Me ? (ne._f.onBlur && ne._f.onBlur(P), c && c(0)) : ne._f.onChange && ne._f.onChange(P);
|
|
12770
12765
|
const wt = V(W, fe, Me, !1), T = !Mt(wt) || Ct;
|
|
12771
12766
|
if (!Me && u.values.next({
|
|
@@ -12861,7 +12856,7 @@ function q0(t = {}, e) {
|
|
|
12861
12856
|
ref: (ne) => {
|
|
12862
12857
|
if (ne) {
|
|
12863
12858
|
ve(P, L), W = ue(s, P);
|
|
12864
|
-
const re = lt(ne.value) && ne.querySelectorAll && ne.querySelectorAll("input,select,textarea")[0] || ne, pe =
|
|
12859
|
+
const re = lt(ne.value) && ne.querySelectorAll && ne.querySelectorAll("input,select,textarea")[0] || ne, pe = R0(re), Oe = W._f.refs || [];
|
|
12865
12860
|
if (pe ? Oe.find((fe) => fe === re) : re === W._f.ref)
|
|
12866
12861
|
return;
|
|
12867
12862
|
Qe(s, P, {
|
|
@@ -13033,7 +13028,7 @@ function q0(t = {}, e) {
|
|
|
13033
13028
|
getFieldState: U
|
|
13034
13029
|
};
|
|
13035
13030
|
}
|
|
13036
|
-
function
|
|
13031
|
+
function B0(t = {}) {
|
|
13037
13032
|
const e = Ke.useRef(), [r, n] = Ke.useState({
|
|
13038
13033
|
isDirty: !1,
|
|
13039
13034
|
isValidating: !1,
|
|
@@ -13049,7 +13044,7 @@ function G0(t = {}) {
|
|
|
13049
13044
|
defaultValues: Pr(t.defaultValues) ? void 0 : t.defaultValues
|
|
13050
13045
|
});
|
|
13051
13046
|
e.current || (e.current = {
|
|
13052
|
-
...
|
|
13047
|
+
...z0(t, () => n((i) => ({ ...i }))),
|
|
13053
13048
|
formState: r
|
|
13054
13049
|
});
|
|
13055
13050
|
const s = e.current.control;
|
|
@@ -13064,7 +13059,7 @@ function G0(t = {}) {
|
|
|
13064
13059
|
s._state.mount || (s._updateValid(), s._state.mount = !0), s._state.watch && (s._state.watch = !1, s._subjects.state.next({ ...s._formState })), s._removeUnmounted();
|
|
13065
13060
|
}), e.current.formState = rd(r, s), e.current;
|
|
13066
13061
|
}
|
|
13067
|
-
function
|
|
13062
|
+
function vw(t) {
|
|
13068
13063
|
const { name: e, readOnly: r, validate: n, ...s } = t, {
|
|
13069
13064
|
control: i,
|
|
13070
13065
|
formState: { isSubmitting: a }
|
|
@@ -13095,7 +13090,7 @@ function Ew(t) {
|
|
|
13095
13090
|
function Dr(t) {
|
|
13096
13091
|
return t.charAt(0).toUpperCase() + t.slice(1);
|
|
13097
13092
|
}
|
|
13098
|
-
function
|
|
13093
|
+
function bw(t) {
|
|
13099
13094
|
const { isReadOnly: e, validate: r, ...n } = t, { label: s, name: i, isRequired: a } = t, {
|
|
13100
13095
|
control: o,
|
|
13101
13096
|
formState: { isSubmitting: l, isValidating: c }
|
|
@@ -13113,7 +13108,7 @@ function $w(t) {
|
|
|
13113
13108
|
id: d,
|
|
13114
13109
|
helperTextInvalid: !(r && c) && (m == null ? void 0 : m.message),
|
|
13115
13110
|
children: /* @__PURE__ */ f.jsx(
|
|
13116
|
-
|
|
13111
|
+
U0,
|
|
13117
13112
|
{
|
|
13118
13113
|
id: d,
|
|
13119
13114
|
value: u,
|
|
@@ -13134,7 +13129,7 @@ function $w(t) {
|
|
|
13134
13129
|
}
|
|
13135
13130
|
);
|
|
13136
13131
|
}
|
|
13137
|
-
function
|
|
13132
|
+
function U0(t) {
|
|
13138
13133
|
const { onChange: e } = t, r = Xt(null), n = Xt({}), s = qn();
|
|
13139
13134
|
return Pe(() => {
|
|
13140
13135
|
var a;
|
|
@@ -13200,7 +13195,7 @@ function Y0(t) {
|
|
|
13200
13195
|
}
|
|
13201
13196
|
);
|
|
13202
13197
|
}
|
|
13203
|
-
function
|
|
13198
|
+
function ww(t) {
|
|
13204
13199
|
const {
|
|
13205
13200
|
control: e,
|
|
13206
13201
|
formState: { isSubmitting: r }
|
|
@@ -13224,7 +13219,7 @@ function Cw(t) {
|
|
|
13224
13219
|
}
|
|
13225
13220
|
);
|
|
13226
13221
|
}
|
|
13227
|
-
function
|
|
13222
|
+
function xw(t) {
|
|
13228
13223
|
const { label: e, isRequired: r, validate: n } = t, {
|
|
13229
13224
|
control: s,
|
|
13230
13225
|
formState: { isSubmitting: i }
|
|
@@ -13236,7 +13231,7 @@ function _w(t) {
|
|
|
13236
13231
|
control: s,
|
|
13237
13232
|
shouldUnregister: !0,
|
|
13238
13233
|
render: ({ field: { onChange: a, value: o }, fieldState: { error: l } }) => (o === "" && t.options.length === 1 && r && a(t.options[0].value), /* @__PURE__ */ f.jsx(
|
|
13239
|
-
|
|
13234
|
+
C0,
|
|
13240
13235
|
{
|
|
13241
13236
|
...t,
|
|
13242
13237
|
id: t.id ?? t.name,
|
|
@@ -13256,7 +13251,7 @@ function _w(t) {
|
|
|
13256
13251
|
}
|
|
13257
13252
|
);
|
|
13258
13253
|
}
|
|
13259
|
-
function
|
|
13254
|
+
function Sw(t) {
|
|
13260
13255
|
const {
|
|
13261
13256
|
name: e,
|
|
13262
13257
|
id: r,
|
|
@@ -13301,7 +13296,7 @@ function Tw(t) {
|
|
|
13301
13296
|
}
|
|
13302
13297
|
);
|
|
13303
13298
|
}
|
|
13304
|
-
function
|
|
13299
|
+
function Ew(t) {
|
|
13305
13300
|
const { name: e, label: r, isReadOnly: n, isRequired: s, minLength: i, maxLength: a, pattern: o, validate: l } = t, {
|
|
13306
13301
|
control: c,
|
|
13307
13302
|
formState: { isSubmitting: d }
|
|
@@ -13313,7 +13308,7 @@ function kw(t) {
|
|
|
13313
13308
|
control: c,
|
|
13314
13309
|
shouldUnregister: !0,
|
|
13315
13310
|
render: ({ field: { onChange: h, value: u }, fieldState: { error: m } }) => /* @__PURE__ */ f.jsx(
|
|
13316
|
-
|
|
13311
|
+
_0,
|
|
13317
13312
|
{
|
|
13318
13313
|
...t,
|
|
13319
13314
|
id: t.id ?? e,
|
|
@@ -13348,7 +13343,7 @@ function kw(t) {
|
|
|
13348
13343
|
}
|
|
13349
13344
|
);
|
|
13350
13345
|
}
|
|
13351
|
-
function
|
|
13346
|
+
function $w(t) {
|
|
13352
13347
|
const {
|
|
13353
13348
|
name: e,
|
|
13354
13349
|
isReadOnly: r,
|
|
@@ -13380,7 +13375,7 @@ function jw(t) {
|
|
|
13380
13375
|
b(k.trimStart());
|
|
13381
13376
|
}
|
|
13382
13377
|
return /* @__PURE__ */ f.jsx(
|
|
13383
|
-
|
|
13378
|
+
T0,
|
|
13384
13379
|
{
|
|
13385
13380
|
...m,
|
|
13386
13381
|
onBlur: () => E(V),
|
|
@@ -13436,7 +13431,7 @@ function jw(t) {
|
|
|
13436
13431
|
}
|
|
13437
13432
|
);
|
|
13438
13433
|
}
|
|
13439
|
-
function
|
|
13434
|
+
function Cw(t) {
|
|
13440
13435
|
const {
|
|
13441
13436
|
register: e,
|
|
13442
13437
|
setValue: r,
|
|
@@ -13505,7 +13500,7 @@ var El = function(t, e, r) {
|
|
|
13505
13500
|
};
|
|
13506
13501
|
for (var n in e.fields)
|
|
13507
13502
|
r(n);
|
|
13508
|
-
},
|
|
13503
|
+
}, W0 = function(t, e) {
|
|
13509
13504
|
e.shouldUseNativeValidation && gd(t, e);
|
|
13510
13505
|
var r = {};
|
|
13511
13506
|
for (var n in t) {
|
|
@@ -14334,8 +14329,8 @@ var we = et(function(t, e) {
|
|
|
14334
14329
|
return p ? (0, g.getProperty)(u).toString() : "/" + s(u);
|
|
14335
14330
|
}, e.checkStrictMode = h;
|
|
14336
14331
|
});
|
|
14337
|
-
const
|
|
14338
|
-
var J = /* @__PURE__ */ Object.defineProperty({ default:
|
|
14332
|
+
const H0 = { data: new g.Name("data"), valCxt: new g.Name("valCxt"), instancePath: new g.Name("instancePath"), parentData: new g.Name("parentData"), parentDataProperty: new g.Name("parentDataProperty"), rootData: new g.Name("rootData"), dynamicAnchors: new g.Name("dynamicAnchors"), vErrors: new g.Name("vErrors"), errors: new g.Name("errors"), this: new g.Name("this"), self: new g.Name("self"), scope: new g.Name("scope"), json: new g.Name("json"), jsonPos: new g.Name("jsonPos"), jsonLen: new g.Name("jsonLen"), jsonPart: new g.Name("jsonPart") };
|
|
14333
|
+
var J = /* @__PURE__ */ Object.defineProperty({ default: H0 }, "__esModule", { value: !0 }), Nt = et(function(t, e) {
|
|
14339
14334
|
function r(l, c) {
|
|
14340
14335
|
const d = l.const("err", c);
|
|
14341
14336
|
l.if(g._`${J.default.vErrors} === null`, () => l.assign(J.default.vErrors, g._`[${d}]`), g._`${J.default.vErrors}.push(${d})`), l.code(g._`${J.default.errors}++`);
|
|
@@ -14528,7 +14523,7 @@ var J = /* @__PURE__ */ Object.defineProperty({ default: K0 }, "__esModule", { v
|
|
|
14528
14523
|
(0, Nt.reportError)(d, o);
|
|
14529
14524
|
}
|
|
14530
14525
|
e.reportTypeError = l;
|
|
14531
|
-
}),
|
|
14526
|
+
}), q0 = et(function(t, e) {
|
|
14532
14527
|
function r(n, s, i) {
|
|
14533
14528
|
const { gen: a, compositeRule: o, data: l, opts: c } = n;
|
|
14534
14529
|
if (i === void 0)
|
|
@@ -14739,7 +14734,7 @@ var J = /* @__PURE__ */ Object.defineProperty({ default: K0 }, "__esModule", { v
|
|
|
14739
14734
|
return !0;
|
|
14740
14735
|
}
|
|
14741
14736
|
return e != e && r != r;
|
|
14742
|
-
},
|
|
14737
|
+
}, G0 = et(function(t) {
|
|
14743
14738
|
var e = t.exports = function(n, s, i) {
|
|
14744
14739
|
typeof s == "function" && (i = s, s = {}), r(s, typeof (i = s.cb || i) == "function" ? i : i.pre || function() {
|
|
14745
14740
|
}, i.post || function() {
|
|
@@ -14809,7 +14804,7 @@ var J = /* @__PURE__ */ Object.defineProperty({ default: K0 }, "__esModule", { v
|
|
|
14809
14804
|
if (typeof h == "boolean")
|
|
14810
14805
|
return {};
|
|
14811
14806
|
const { schemaId: m, uriResolver: p } = this.opts, y = c(h[m] || u), v = { "": y }, E = a(p, y, !1), C = {}, S = /* @__PURE__ */ new Set();
|
|
14812
|
-
return
|
|
14807
|
+
return G0(h, { allKeys: !0 }, (A, V, _, x) => {
|
|
14813
14808
|
if (x === void 0)
|
|
14814
14809
|
return;
|
|
14815
14810
|
const k = E + V;
|
|
@@ -14923,7 +14918,7 @@ var J = /* @__PURE__ */ Object.defineProperty({ default: K0 }, "__esModule", { v
|
|
|
14923
14918
|
}
|
|
14924
14919
|
function h(S, w) {
|
|
14925
14920
|
const { gen: b, schema: A, opts: { useDefaults: V } } = S;
|
|
14926
|
-
V && (0,
|
|
14921
|
+
V && (0, q0.assignDefaults)(S, w.type), b.block(() => {
|
|
14927
14922
|
for (const _ of w.rules)
|
|
14928
14923
|
(0, Ts.shouldUseRule)(A, _) && y(S, _.keyword, _.definition, w.type);
|
|
14929
14924
|
});
|
|
@@ -15101,18 +15096,18 @@ var J = /* @__PURE__ */ Object.defineProperty({ default: K0 }, "__esModule", { v
|
|
|
15101
15096
|
}
|
|
15102
15097
|
e.getData = C;
|
|
15103
15098
|
});
|
|
15104
|
-
class
|
|
15099
|
+
class Y0 extends Error {
|
|
15105
15100
|
constructor(e) {
|
|
15106
15101
|
super("validation failed"), this.errors = e, this.ajv = this.validation = !0;
|
|
15107
15102
|
}
|
|
15108
15103
|
}
|
|
15109
|
-
var wd = /* @__PURE__ */ Object.defineProperty({ default:
|
|
15110
|
-
class
|
|
15104
|
+
var wd = /* @__PURE__ */ Object.defineProperty({ default: Y0 }, "__esModule", { value: !0 });
|
|
15105
|
+
class Z0 extends Error {
|
|
15111
15106
|
constructor(e, r, n, s) {
|
|
15112
15107
|
super(s || `can't resolve reference ${n} from id ${r}`), this.missingRef = (0, ht.resolveUrl)(e, r, n), this.missingSchema = (0, ht.normalizeId)((0, ht.getFullPath)(e, this.missingRef));
|
|
15113
15108
|
}
|
|
15114
15109
|
}
|
|
15115
|
-
var pa = /* @__PURE__ */ Object.defineProperty({ default:
|
|
15110
|
+
var pa = /* @__PURE__ */ Object.defineProperty({ default: Z0 }, "__esModule", { value: !0 }), yr = et(function(t, e) {
|
|
15116
15111
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.resolveSchema = e.getCompilingSchema = e.resolveRef = e.compileSchema = e.SchemaEnv = void 0;
|
|
15117
15112
|
class r {
|
|
15118
15113
|
constructor(h) {
|
|
@@ -15650,7 +15645,7 @@ var pa = /* @__PURE__ */ Object.defineProperty({ default: eb }, "__esModule", {
|
|
|
15650
15645
|
})(e);
|
|
15651
15646
|
});
|
|
15652
15647
|
xd.code = 'require("ajv/dist/runtime/uri").default';
|
|
15653
|
-
var
|
|
15648
|
+
var K0 = /* @__PURE__ */ Object.defineProperty({ default: xd }, "__esModule", { value: !0 }), J0 = et(function(t, e) {
|
|
15654
15649
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.CodeGen = e.Name = e.nil = e.stringify = e.str = e._ = e.KeywordCxt = void 0, Object.defineProperty(e, "KeywordCxt", { enumerable: !0, get: function() {
|
|
15655
15650
|
return Qn.KeywordCxt;
|
|
15656
15651
|
} }), Object.defineProperty(e, "_", { enumerable: !0, get: function() {
|
|
@@ -15671,7 +15666,7 @@ var tb = /* @__PURE__ */ Object.defineProperty({ default: xd }, "__esModule", {
|
|
|
15671
15666
|
const s = ["removeAdditional", "useDefaults", "coerceTypes"], i = /* @__PURE__ */ new Set(["validate", "serialize", "parse", "wrapper", "root", "schema", "keyword", "pattern", "formats", "validate$data", "func", "obj", "Error"]), a = { errorDataPath: "", format: "`validateFormats: false` can be used instead.", nullable: '"nullable" keyword is supported by default.', jsonPointers: "Deprecated jsPropertySyntax can be used instead.", extendRefs: "Deprecated ignoreKeywordsWithRef can be used instead.", missingRefs: "Pass empty schema with $id that should be ignored to ajv.addSchema.", processCode: "Use option `code: {process: (code, schemaEnv: object) => string}`", sourceCode: "Use option `code: {source: true}`", strictDefaults: "It is default now, see option `strict`.", strictKeywords: "It is default now, see option `strict`.", uniqueItems: '"uniqueItems" keyword is always validated.', unknownFormats: "Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).", cache: "Map is used as cache, schema object as key.", serialize: "Map is used as cache, schema object as key.", ajvErrors: "It is default now." }, o = { ignoreKeywordsWithRef: "", jsPropertySyntax: "", unicode: '"minLength"/"maxLength" account for unicode characters by default.' };
|
|
15672
15667
|
function l(_) {
|
|
15673
15668
|
var x, k, O, R, F, H, G, Y, X, ee, N, $, M, U, q, K, ie, z, ve, te, Ne, Ce, Ee, Z, Ue;
|
|
15674
|
-
const Le = _.strict, be = (x = _.code) === null || x === void 0 ? void 0 : x.optimize, P = be === !0 || be === void 0 ? 1 : be || 0, L = (O = (k = _.code) === null || k === void 0 ? void 0 : k.regExp) !== null && O !== void 0 ? O : n, W = (R = _.uriResolver) !== null && R !== void 0 ? R :
|
|
15669
|
+
const Le = _.strict, be = (x = _.code) === null || x === void 0 ? void 0 : x.optimize, P = be === !0 || be === void 0 ? 1 : be || 0, L = (O = (k = _.code) === null || k === void 0 ? void 0 : k.regExp) !== null && O !== void 0 ? O : n, W = (R = _.uriResolver) !== null && R !== void 0 ? R : K0.default;
|
|
15675
15670
|
return { strictSchema: (H = (F = _.strictSchema) !== null && F !== void 0 ? F : Le) === null || H === void 0 || H, strictNumbers: (Y = (G = _.strictNumbers) !== null && G !== void 0 ? G : Le) === null || Y === void 0 || Y, strictTypes: (ee = (X = _.strictTypes) !== null && X !== void 0 ? X : Le) !== null && ee !== void 0 ? ee : "log", strictTuples: ($ = (N = _.strictTuples) !== null && N !== void 0 ? N : Le) !== null && $ !== void 0 ? $ : "log", strictRequired: (U = (M = _.strictRequired) !== null && M !== void 0 ? M : Le) !== null && U !== void 0 && U, code: _.code ? { ..._.code, optimize: P, regExp: L } : { optimize: P, regExp: L }, loopRequired: (q = _.loopRequired) !== null && q !== void 0 ? q : 200, loopEnum: (K = _.loopEnum) !== null && K !== void 0 ? K : 200, meta: (ie = _.meta) === null || ie === void 0 || ie, messages: (z = _.messages) === null || z === void 0 || z, inlineRefs: (ve = _.inlineRefs) === null || ve === void 0 || ve, schemaId: (te = _.schemaId) !== null && te !== void 0 ? te : "$id", addUsedSchema: (Ne = _.addUsedSchema) === null || Ne === void 0 || Ne, validateSchema: (Ce = _.validateSchema) === null || Ce === void 0 || Ce, validateFormats: (Ee = _.validateFormats) === null || Ee === void 0 || Ee, unicodeRegExp: (Z = _.unicodeRegExp) === null || Z === void 0 || Z, int32range: (Ue = _.int32range) === null || Ue === void 0 || Ue, uriResolver: W };
|
|
15676
15671
|
}
|
|
15677
15672
|
class c {
|
|
@@ -16003,9 +15998,9 @@ var tb = /* @__PURE__ */ Object.defineProperty({ default: xd }, "__esModule", {
|
|
|
16003
15998
|
function V(_) {
|
|
16004
15999
|
return { anyOf: [_, A] };
|
|
16005
16000
|
}
|
|
16006
|
-
}),
|
|
16001
|
+
}), X0 = /* @__PURE__ */ Object.defineProperty({ default: { keyword: "id", code() {
|
|
16007
16002
|
throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID');
|
|
16008
|
-
} } }, "__esModule", { value: !0 }),
|
|
16003
|
+
} } }, "__esModule", { value: !0 }), Q0 = et(function(t, e) {
|
|
16009
16004
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.callRef = e.getValidate = void 0;
|
|
16010
16005
|
const r = { keyword: "$ref", schemaType: "string", code(i) {
|
|
16011
16006
|
const { gen: a, schema: o, it: l } = i, { baseId: c, schemaEnv: d, validateName: h, opts: u, self: m } = l, { root: p } = d;
|
|
@@ -16069,12 +16064,12 @@ var tb = /* @__PURE__ */ Object.defineProperty({ default: xd }, "__esModule", {
|
|
|
16069
16064
|
}() : i.result((0, nt.callValidateCode)(i, a, p), () => v(a), () => y(a));
|
|
16070
16065
|
}
|
|
16071
16066
|
e.getValidate = n, e.callRef = s, e.default = r;
|
|
16072
|
-
}),
|
|
16073
|
-
const kr = g.operators, Hs = { maximum: { okStr: "<=", ok: kr.LTE, fail: kr.GT }, minimum: { okStr: ">=", ok: kr.GTE, fail: kr.LT }, exclusiveMaximum: { okStr: "<", ok: kr.LT, fail: kr.GTE }, exclusiveMinimum: { okStr: ">", ok: kr.GT, fail: kr.LTE } },
|
|
16067
|
+
}), eb = /* @__PURE__ */ Object.defineProperty({ default: ["$schema", "$id", "$defs", "$vocabulary", { keyword: "$comment" }, "definitions", X0.default, Q0.default] }, "__esModule", { value: !0 });
|
|
16068
|
+
const kr = g.operators, Hs = { maximum: { okStr: "<=", ok: kr.LTE, fail: kr.GT }, minimum: { okStr: ">=", ok: kr.GTE, fail: kr.LT }, exclusiveMaximum: { okStr: "<", ok: kr.LT, fail: kr.GTE }, exclusiveMinimum: { okStr: ">", ok: kr.GT, fail: kr.LTE } }, tb = { message: ({ keyword: t, schemaCode: e }) => g.str`must be ${Hs[t].okStr} ${e}`, params: ({ keyword: t, schemaCode: e }) => g._`{comparison: ${Hs[t].okStr}, limit: ${e}}` }, rb = { keyword: Object.keys(Hs), type: "number", schemaType: "number", $data: !0, error: tb, code(t) {
|
|
16074
16069
|
const { keyword: e, data: r, schemaCode: n } = t;
|
|
16075
16070
|
t.fail$data(g._`${r} ${Hs[e].fail} ${n} || isNaN(${r})`);
|
|
16076
16071
|
} };
|
|
16077
|
-
var
|
|
16072
|
+
var nb = /* @__PURE__ */ Object.defineProperty({ default: rb }, "__esModule", { value: !0 }), sb = /* @__PURE__ */ Object.defineProperty({ default: { keyword: "multipleOf", type: "number", schemaType: "number", $data: !0, error: { message: ({ schemaCode: t }) => g.str`must be multiple of ${t}`, params: ({ schemaCode: t }) => g._`{multipleOf: ${t}}` }, code(t) {
|
|
16078
16073
|
const { gen: e, data: r, schemaCode: n, it: s } = t, i = s.opts.multipleOfPrecision, a = e.let("res"), o = i ? g._`Math.abs(Math.round(${a}) - ${a}) > 1e-${i}` : g._`${a} !== parseInt(${a})`;
|
|
16079
16074
|
t.fail$data(g._`(${n} === 0 || (${a} = ${r}/${n}, ${o}))`);
|
|
16080
16075
|
} } }, "__esModule", { value: !0 });
|
|
@@ -16085,18 +16080,18 @@ function Sd(t) {
|
|
|
16085
16080
|
n++, r = t.charCodeAt(s++), r >= 55296 && r <= 56319 && s < e && (r = t.charCodeAt(s), (64512 & r) == 56320 && s++);
|
|
16086
16081
|
return n;
|
|
16087
16082
|
}
|
|
16088
|
-
var
|
|
16083
|
+
var ib = Sd;
|
|
16089
16084
|
Sd.code = 'require("ajv/dist/runtime/ucs2length").default';
|
|
16090
|
-
var
|
|
16091
|
-
const { keyword: e, data: r, schemaCode: n, it: s } = t, i = e === "maxLength" ? g.operators.GT : g.operators.LT, a = s.opts.unicode === !1 ? g._`${r}.length` : g._`${(0, me.useFunc)(t.gen,
|
|
16085
|
+
var ab = /* @__PURE__ */ Object.defineProperty({ default: ib }, "__esModule", { value: !0 }), ob = /* @__PURE__ */ Object.defineProperty({ default: { keyword: ["maxLength", "minLength"], type: "string", schemaType: "number", $data: !0, error: { message: ({ keyword: t, schemaCode: e }) => g.str`must NOT have ${t === "maxLength" ? "more" : "fewer"} than ${e} characters`, params: ({ schemaCode: t }) => g._`{limit: ${t}}` }, code(t) {
|
|
16086
|
+
const { keyword: e, data: r, schemaCode: n, it: s } = t, i = e === "maxLength" ? g.operators.GT : g.operators.LT, a = s.opts.unicode === !1 ? g._`${r}.length` : g._`${(0, me.useFunc)(t.gen, ab.default)}(${r})`;
|
|
16092
16087
|
t.fail$data(g._`${a} ${i} ${n}`);
|
|
16093
|
-
} } }, "__esModule", { value: !0 }),
|
|
16088
|
+
} } }, "__esModule", { value: !0 }), lb = /* @__PURE__ */ Object.defineProperty({ default: { keyword: "pattern", type: "string", schemaType: "string", $data: !0, error: { message: ({ schemaCode: t }) => g.str`must match pattern "${t}"`, params: ({ schemaCode: t }) => g._`{pattern: ${t}}` }, code(t) {
|
|
16094
16089
|
const { data: e, $data: r, schema: n, schemaCode: s, it: i } = t, a = r ? g._`(new RegExp(${s}, ${i.opts.unicodeRegExp ? "u" : ""}))` : (0, nt.usePattern)(t, n);
|
|
16095
16090
|
t.fail$data(g._`!${a}.test(${e})`);
|
|
16096
|
-
} } }, "__esModule", { value: !0 }),
|
|
16091
|
+
} } }, "__esModule", { value: !0 }), cb = /* @__PURE__ */ Object.defineProperty({ default: { keyword: ["maxProperties", "minProperties"], type: "object", schemaType: "number", $data: !0, error: { message: ({ keyword: t, schemaCode: e }) => g.str`must NOT have ${t === "maxProperties" ? "more" : "fewer"} than ${e} properties`, params: ({ schemaCode: t }) => g._`{limit: ${t}}` }, code(t) {
|
|
16097
16092
|
const { keyword: e, data: r, schemaCode: n } = t;
|
|
16098
16093
|
t.fail$data(g._`Object.keys(${r}).length ${e === "maxProperties" ? g.operators.GT : g.operators.LT} ${n}`);
|
|
16099
|
-
} } }, "__esModule", { value: !0 }),
|
|
16094
|
+
} } }, "__esModule", { value: !0 }), ub = /* @__PURE__ */ Object.defineProperty({ default: { keyword: "required", type: "object", schemaType: "array", $data: !0, error: { message: ({ params: { missingProperty: t } }) => g.str`must have required property '${t}'`, params: ({ params: { missingProperty: t } }) => g._`{missingProperty: ${t}}` }, code(t) {
|
|
16100
16095
|
const { gen: e, schema: r, schemaCode: n, data: s, $data: i, it: a } = t, { opts: o } = a;
|
|
16101
16096
|
if (!i && r.length === 0)
|
|
16102
16097
|
return;
|
|
@@ -16130,12 +16125,12 @@ var db = /* @__PURE__ */ Object.defineProperty({ default: ub }, "__esModule", {
|
|
|
16130
16125
|
t.setParams({ missingProperty: d }), e.if((0, nt.noPropertyInData)(e, s, d, o.ownProperties), () => t.error());
|
|
16131
16126
|
});
|
|
16132
16127
|
}
|
|
16133
|
-
} } }, "__esModule", { value: !0 }),
|
|
16128
|
+
} } }, "__esModule", { value: !0 }), db = /* @__PURE__ */ Object.defineProperty({ default: { keyword: ["maxItems", "minItems"], type: "array", schemaType: "number", $data: !0, error: { message: ({ keyword: t, schemaCode: e }) => g.str`must NOT have ${t === "maxItems" ? "more" : "fewer"} than ${e} items`, params: ({ schemaCode: t }) => g._`{limit: ${t}}` }, code(t) {
|
|
16134
16129
|
const { keyword: e, data: r, schemaCode: n } = t;
|
|
16135
16130
|
t.fail$data(g._`${r}.length ${e === "maxItems" ? g.operators.GT : g.operators.LT} ${n}`);
|
|
16136
16131
|
} } }, "__esModule", { value: !0 });
|
|
16137
16132
|
Ha.code = 'require("ajv/dist/runtime/equal").default';
|
|
16138
|
-
var Fi = /* @__PURE__ */ Object.defineProperty({ default: Ha }, "__esModule", { value: !0 }),
|
|
16133
|
+
var Fi = /* @__PURE__ */ Object.defineProperty({ default: Ha }, "__esModule", { value: !0 }), fb = /* @__PURE__ */ Object.defineProperty({ default: [nb.default, sb.default, ob.default, lb.default, cb.default, ub.default, db.default, Object.defineProperty({ default: { keyword: "uniqueItems", type: "array", schemaType: "boolean", $data: !0, error: { message: ({ params: { i: t, j: e } }) => g.str`must NOT have duplicate items (items ## ${e} and ${t} are identical)`, params: ({ params: { i: t, j: e } }) => g._`{i: ${t}, j: ${e}}` }, code(t) {
|
|
16139
16134
|
const { gen: e, data: r, $data: n, schema: s, parentSchema: i, schemaCode: a, it: o } = t;
|
|
16140
16135
|
if (!n && !s)
|
|
16141
16136
|
return;
|
|
@@ -16224,10 +16219,10 @@ var Fi = /* @__PURE__ */ Object.defineProperty({ default: Ha }, "__esModule", {
|
|
|
16224
16219
|
});
|
|
16225
16220
|
}
|
|
16226
16221
|
e.validateTuple = n, e.default = r;
|
|
16227
|
-
}),
|
|
16222
|
+
}), hb = /* @__PURE__ */ Object.defineProperty({ default: { keyword: "prefixItems", type: "array", schemaType: ["array"], before: "uniqueItems", code: (t) => (0, $d.validateTuple)(t, "items") } }, "__esModule", { value: !0 }), mb = /* @__PURE__ */ Object.defineProperty({ default: { keyword: "items", type: "array", schemaType: ["object", "boolean"], before: "uniqueItems", error: { message: ({ params: { len: t } }) => g.str`must NOT have more than ${t} items`, params: ({ params: { len: t } }) => g._`{limit: ${t}}` }, code(t) {
|
|
16228
16223
|
const { schema: e, parentSchema: r, it: n } = t, { prefixItems: s } = r;
|
|
16229
16224
|
n.items = !0, (0, me.alwaysValidSchema)(n, e) || (s ? (0, Ed.validateAdditionalItems)(t, s) : t.ok((0, nt.validateArray)(t)));
|
|
16230
|
-
} } }, "__esModule", { value: !0 }),
|
|
16225
|
+
} } }, "__esModule", { value: !0 }), pb = /* @__PURE__ */ Object.defineProperty({ default: { keyword: "contains", type: "array", schemaType: ["object", "boolean"], before: "uniqueItems", trackErrors: !0, error: { message: ({ params: { min: t, max: e } }) => e === void 0 ? g.str`must contain at least ${t} valid item(s)` : g.str`must contain at least ${t} and no more than ${e} valid item(s)`, params: ({ params: { min: t, max: e } }) => e === void 0 ? g._`{minContains: ${t}}` : g._`{minContains: ${t}, maxContains: ${e}}` }, code(t) {
|
|
16231
16226
|
const { gen: e, schema: r, parentSchema: n, data: s, it: i } = t;
|
|
16232
16227
|
let a, o;
|
|
16233
16228
|
const { minContains: l, maxContains: c } = n;
|
|
@@ -16255,7 +16250,7 @@ var Fi = /* @__PURE__ */ Object.defineProperty({ default: Ha }, "__esModule", {
|
|
|
16255
16250
|
});
|
|
16256
16251
|
}
|
|
16257
16252
|
o === void 0 && a === 1 ? m(h, () => e.if(h, () => e.break())) : a === 0 ? (e.let(h, !0), o !== void 0 && e.if(g._`${s}.length > 0`, u)) : (e.let(h, !1), u()), t.result(h, () => t.reset());
|
|
16258
|
-
} } }, "__esModule", { value: !0 }),
|
|
16253
|
+
} } }, "__esModule", { value: !0 }), gb = et(function(t, e) {
|
|
16259
16254
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.validateSchemaDeps = e.validatePropertyDeps = e.error = void 0, e.error = { message: ({ params: { property: i, depsCount: a, deps: o } }) => g.str`must have ${a === 1 ? "property" : "properties"} ${o} when property ${i} is present`, params: ({ params: { property: i, depsCount: a, deps: o, missingProperty: l } }) => g._`{property: ${i},
|
|
16260
16255
|
missingProperty: ${l},
|
|
16261
16256
|
depsCount: ${a},
|
|
@@ -16294,7 +16289,7 @@ var Fi = /* @__PURE__ */ Object.defineProperty({ default: Ha }, "__esModule", {
|
|
|
16294
16289
|
}, () => o.var(h, !0)), i.ok(h));
|
|
16295
16290
|
}
|
|
16296
16291
|
e.validatePropertyDeps = n, e.validateSchemaDeps = s, e.default = r;
|
|
16297
|
-
}),
|
|
16292
|
+
}), yb = /* @__PURE__ */ Object.defineProperty({ default: { keyword: "propertyNames", type: "object", schemaType: ["object", "boolean"], error: { message: "property name must be valid", params: ({ params: t }) => g._`{propertyName: ${t.propertyName}}` }, code(t) {
|
|
16298
16293
|
const { gen: e, schema: r, data: n, it: s } = t;
|
|
16299
16294
|
if ((0, me.alwaysValidSchema)(s, r))
|
|
16300
16295
|
return;
|
|
@@ -16305,7 +16300,7 @@ var Fi = /* @__PURE__ */ Object.defineProperty({ default: Ha }, "__esModule", {
|
|
|
16305
16300
|
});
|
|
16306
16301
|
}), t.ok(i);
|
|
16307
16302
|
} } }, "__esModule", { value: !0 });
|
|
16308
|
-
const
|
|
16303
|
+
const vb = { keyword: "additionalProperties", type: ["object"], schemaType: ["boolean", "object"], allowUndefined: !0, trackErrors: !0, error: { message: "must NOT have additional properties", params: ({ params: t }) => g._`{additionalProperty: ${t.additionalProperty}}` }, code(t) {
|
|
16309
16304
|
const { gen: e, schema: r, parentSchema: n, data: s, errsCount: i, it: a } = t;
|
|
16310
16305
|
if (!i)
|
|
16311
16306
|
throw new Error("ajv implementation error");
|
|
@@ -16346,7 +16341,7 @@ const Eb = { keyword: "additionalProperties", type: ["object"], schemaType: ["bo
|
|
|
16346
16341
|
}(p), () => u(p)) : u(p);
|
|
16347
16342
|
}), t.ok(g._`${i} === ${J.default.errors}`);
|
|
16348
16343
|
} };
|
|
16349
|
-
var ga = /* @__PURE__ */ Object.defineProperty({ default:
|
|
16344
|
+
var ga = /* @__PURE__ */ Object.defineProperty({ default: vb }, "__esModule", { value: !0 }), bb = /* @__PURE__ */ Object.defineProperty({ default: { keyword: "properties", type: "object", schemaType: "object", code(t) {
|
|
16350
16345
|
const { gen: e, schema: r, parentSchema: n, data: s, it: i } = t;
|
|
16351
16346
|
i.opts.removeAdditional === "all" && n.additionalProperties === void 0 && ga.default.code(new Qn.KeywordCxt(i, ga.default, "additionalProperties"));
|
|
16352
16347
|
const a = (0, nt.allSchemaProperties)(r);
|
|
@@ -16367,7 +16362,7 @@ var ga = /* @__PURE__ */ Object.defineProperty({ default: Eb }, "__esModule", {
|
|
|
16367
16362
|
}
|
|
16368
16363
|
} } }, "__esModule", { value: !0 });
|
|
16369
16364
|
const _l = me;
|
|
16370
|
-
var
|
|
16365
|
+
var wb = /* @__PURE__ */ Object.defineProperty({ default: { keyword: "patternProperties", type: "object", schemaType: "object", code(t) {
|
|
16371
16366
|
const { gen: e, schema: r, data: n, parentSchema: s, it: i } = t, { opts: a } = i, o = (0, nt.allSchemaProperties)(r), l = o.filter((p) => (0, me.alwaysValidSchema)(i, r[p]));
|
|
16372
16367
|
if (o.length === 0 || l.length === o.length && (!i.opts.unevaluated || i.props === !0))
|
|
16373
16368
|
return;
|
|
@@ -16390,13 +16385,13 @@ var Cb = /* @__PURE__ */ Object.defineProperty({ default: { keyword: "patternPro
|
|
|
16390
16385
|
for (const p of o)
|
|
16391
16386
|
c && u(p), i.allErrors ? m(p) : (e.var(d, !0), m(p), e.if(d));
|
|
16392
16387
|
})();
|
|
16393
|
-
} } }, "__esModule", { value: !0 }),
|
|
16388
|
+
} } }, "__esModule", { value: !0 }), xb = /* @__PURE__ */ Object.defineProperty({ default: { keyword: "not", schemaType: ["object", "boolean"], trackErrors: !0, code(t) {
|
|
16394
16389
|
const { gen: e, schema: r, it: n } = t;
|
|
16395
16390
|
if ((0, me.alwaysValidSchema)(n, r))
|
|
16396
16391
|
return void t.fail();
|
|
16397
16392
|
const s = e.name("valid");
|
|
16398
16393
|
t.subschema({ keyword: "not", compositeRule: !0, createErrors: !1, allErrors: !1 }, s), t.failResult(s, () => t.reset(), () => t.error());
|
|
16399
|
-
}, error: { message: "must NOT be valid" } } }, "__esModule", { value: !0 }),
|
|
16394
|
+
}, error: { message: "must NOT be valid" } } }, "__esModule", { value: !0 }), Sb = /* @__PURE__ */ Object.defineProperty({ default: { keyword: "anyOf", schemaType: "array", trackErrors: !0, code: nt.validateUnion, error: { message: "must match a schema in anyOf" } } }, "__esModule", { value: !0 }), Eb = /* @__PURE__ */ Object.defineProperty({ default: { keyword: "oneOf", schemaType: "array", trackErrors: !0, error: { message: "must match exactly one schema in oneOf", params: ({ params: t }) => g._`{passingSchemas: ${t.passing}}` }, code(t) {
|
|
16400
16395
|
const { gen: e, schema: r, parentSchema: n, it: s } = t;
|
|
16401
16396
|
if (!Array.isArray(r))
|
|
16402
16397
|
throw new Error("ajv implementation error");
|
|
@@ -16411,7 +16406,7 @@ var Cb = /* @__PURE__ */ Object.defineProperty({ default: { keyword: "patternPro
|
|
|
16411
16406
|
});
|
|
16412
16407
|
});
|
|
16413
16408
|
}), t.result(a, () => t.reset(), () => t.error(!0));
|
|
16414
|
-
} } }, "__esModule", { value: !0 }),
|
|
16409
|
+
} } }, "__esModule", { value: !0 }), $b = /* @__PURE__ */ Object.defineProperty({ default: { keyword: "allOf", schemaType: "array", code(t) {
|
|
16415
16410
|
const { gen: e, schema: r, it: n } = t;
|
|
16416
16411
|
if (!Array.isArray(r))
|
|
16417
16412
|
throw new Error("ajv implementation error");
|
|
@@ -16427,7 +16422,7 @@ function Tl(t, e) {
|
|
|
16427
16422
|
const r = t.schema[e];
|
|
16428
16423
|
return r !== void 0 && !(0, me.alwaysValidSchema)(t, r);
|
|
16429
16424
|
}
|
|
16430
|
-
var
|
|
16425
|
+
var Cb = /* @__PURE__ */ Object.defineProperty({ default: { keyword: "if", schemaType: ["object", "boolean"], trackErrors: !0, error: { message: ({ params: t }) => g.str`must match "${t.ifClause}" schema`, params: ({ params: t }) => g._`{failingKeyword: ${t.ifClause}}` }, code(t) {
|
|
16431
16426
|
const { gen: e, parentSchema: r, it: n } = t;
|
|
16432
16427
|
r.then === void 0 && r.else === void 0 && (0, me.checkStrictMode)(n, '"if" without "then" and "else" is ignored');
|
|
16433
16428
|
const s = Tl(n, "then"), i = Tl(n, "else");
|
|
@@ -16449,12 +16444,12 @@ var Ob = /* @__PURE__ */ Object.defineProperty({ default: { keyword: "if", schem
|
|
|
16449
16444
|
};
|
|
16450
16445
|
}
|
|
16451
16446
|
t.pass(a, () => t.error(!0));
|
|
16452
|
-
} } }, "__esModule", { value: !0 }),
|
|
16447
|
+
} } }, "__esModule", { value: !0 }), _b = /* @__PURE__ */ Object.defineProperty({ default: { keyword: ["then", "else"], schemaType: ["object", "boolean"], code({ keyword: t, parentSchema: e, it: r }) {
|
|
16453
16448
|
e.if === void 0 && (0, me.checkStrictMode)(r, `"${t}" without "if" is ignored`);
|
|
16454
|
-
} } }, "__esModule", { value: !0 }),
|
|
16455
|
-
const e = [
|
|
16456
|
-
return t ? e.push(
|
|
16457
|
-
} }, "__esModule", { value: !0 }),
|
|
16449
|
+
} } }, "__esModule", { value: !0 }), Tb = /* @__PURE__ */ Object.defineProperty({ default: function(t = !1) {
|
|
16450
|
+
const e = [xb.default, Sb.default, Eb.default, $b.default, Cb.default, _b.default, yb.default, ga.default, gb.default, bb.default, wb.default];
|
|
16451
|
+
return t ? e.push(hb.default, mb.default) : e.push(Ed.default, $d.default), e.push(pb.default), e;
|
|
16452
|
+
} }, "__esModule", { value: !0 }), kb = /* @__PURE__ */ Object.defineProperty({ default: [Object.defineProperty({ default: { keyword: "format", type: ["number", "string"], schemaType: "string", $data: !0, error: { message: ({ schemaCode: t }) => g.str`must match format "${t}"`, params: ({ schemaCode: t }) => g._`{format: ${t}}` }, code(t, e) {
|
|
16458
16453
|
const { gen: r, data: n, $data: s, schema: i, schemaCode: a, it: o } = t, { opts: l, errSchemaPath: c, schemaEnv: d, self: h } = o;
|
|
16459
16454
|
l.validateFormats && (s ? function() {
|
|
16460
16455
|
const u = r.scopeValue("formats", { ref: h.formats, code: l.code.formats }), m = r.const("fDef", g._`${u}[${a}]`), p = r.let("fType"), y = r.let("format");
|
|
@@ -16491,11 +16486,11 @@ var Ob = /* @__PURE__ */ Object.defineProperty({ default: { keyword: "if", schem
|
|
|
16491
16486
|
} } }, "__esModule", { value: !0 }).default] }, "__esModule", { value: !0 }), kl = et(function(t, e) {
|
|
16492
16487
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.contentVocabulary = e.metadataVocabulary = void 0, e.metadataVocabulary = ["title", "description", "default", "deprecated", "readOnly", "writeOnly", "examples"], e.contentVocabulary = ["contentMediaType", "contentEncoding", "contentSchema"];
|
|
16493
16488
|
});
|
|
16494
|
-
const
|
|
16495
|
-
var
|
|
16489
|
+
const jb = [eb.default, fb.default, (0, Tb.default)(), kb.default, kl.metadataVocabulary, kl.contentVocabulary];
|
|
16490
|
+
var Ob = /* @__PURE__ */ Object.defineProperty({ default: jb }, "__esModule", { value: !0 }), Mi = et(function(t, e) {
|
|
16496
16491
|
var r;
|
|
16497
16492
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.DiscrError = void 0, (r = e.DiscrError || (e.DiscrError = {})).Tag = "tag", r.Mapping = "mapping";
|
|
16498
|
-
}),
|
|
16493
|
+
}), Pb = /* @__PURE__ */ Object.defineProperty({ default: { keyword: "discriminator", type: "object", schemaType: "object", error: { message: ({ params: { discrError: t, tagName: e } }) => t === Mi.DiscrError.Tag ? `tag "${e}" must be string` : `value of tag "${e}" must be in oneOf`, params: ({ params: { discrError: t, tag: e, tagName: r } }) => g._`{error: ${t}, tag: ${r}, tagValue: ${e}}` }, code(t) {
|
|
16499
16494
|
const { gen: e, data: r, schema: n, parentSchema: s, it: i } = t, { oneOf: a } = s;
|
|
16500
16495
|
if (!i.opts.discriminator)
|
|
16501
16496
|
throw new Error("discriminator: requires discriminator option");
|
|
@@ -16554,9 +16549,9 @@ var Rb = /* @__PURE__ */ Object.defineProperty({ default: Ib }, "__esModule", {
|
|
|
16554
16549
|
} } }, "__esModule", { value: !0 }), jl = { $schema: "http://json-schema.org/draft-07/schema#", $id: "http://json-schema.org/draft-07/schema#", title: "Core schema meta-schema", definitions: { schemaArray: { type: "array", minItems: 1, items: { $ref: "#" } }, nonNegativeInteger: { type: "integer", minimum: 0 }, nonNegativeIntegerDefault0: { allOf: [{ $ref: "#/definitions/nonNegativeInteger" }, { default: 0 }] }, simpleTypes: { enum: ["array", "boolean", "integer", "null", "number", "object", "string"] }, stringArray: { type: "array", items: { type: "string" }, uniqueItems: !0, default: [] } }, type: ["object", "boolean"], properties: { $id: { type: "string", format: "uri-reference" }, $schema: { type: "string", format: "uri" }, $ref: { type: "string", format: "uri-reference" }, $comment: { type: "string" }, title: { type: "string" }, description: { type: "string" }, default: !0, readOnly: { type: "boolean", default: !1 }, examples: { type: "array", items: !0 }, multipleOf: { type: "number", exclusiveMinimum: 0 }, maximum: { type: "number" }, exclusiveMaximum: { type: "number" }, minimum: { type: "number" }, exclusiveMinimum: { type: "number" }, maxLength: { $ref: "#/definitions/nonNegativeInteger" }, minLength: { $ref: "#/definitions/nonNegativeIntegerDefault0" }, pattern: { type: "string", format: "regex" }, additionalItems: { $ref: "#" }, items: { anyOf: [{ $ref: "#" }, { $ref: "#/definitions/schemaArray" }], default: !0 }, maxItems: { $ref: "#/definitions/nonNegativeInteger" }, minItems: { $ref: "#/definitions/nonNegativeIntegerDefault0" }, uniqueItems: { type: "boolean", default: !1 }, contains: { $ref: "#" }, maxProperties: { $ref: "#/definitions/nonNegativeInteger" }, minProperties: { $ref: "#/definitions/nonNegativeIntegerDefault0" }, required: { $ref: "#/definitions/stringArray" }, additionalProperties: { $ref: "#" }, definitions: { type: "object", additionalProperties: { $ref: "#" }, default: {} }, properties: { type: "object", additionalProperties: { $ref: "#" }, default: {} }, patternProperties: { type: "object", additionalProperties: { $ref: "#" }, propertyNames: { format: "regex" }, default: {} }, dependencies: { type: "object", additionalProperties: { anyOf: [{ $ref: "#" }, { $ref: "#/definitions/stringArray" }] } }, propertyNames: { $ref: "#" }, const: !0, enum: { type: "array", items: !0, minItems: 1, uniqueItems: !0 }, type: { anyOf: [{ $ref: "#/definitions/simpleTypes" }, { type: "array", items: { $ref: "#/definitions/simpleTypes" }, minItems: 1, uniqueItems: !0 }] }, format: { type: "string" }, contentMediaType: { type: "string" }, contentEncoding: { type: "string" }, if: { $ref: "#" }, then: { $ref: "#" }, else: { $ref: "#" }, allOf: { $ref: "#/definitions/schemaArray" }, anyOf: { $ref: "#/definitions/schemaArray" }, oneOf: { $ref: "#/definitions/schemaArray" }, not: { $ref: "#" } }, default: !0 }, ce = et(function(t, e) {
|
|
16555
16550
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.CodeGen = e.Name = e.nil = e.stringify = e.str = e._ = e.KeywordCxt = void 0;
|
|
16556
16551
|
const r = ["/properties"], n = "http://json-schema.org/draft-07/schema";
|
|
16557
|
-
class s extends
|
|
16552
|
+
class s extends J0.default {
|
|
16558
16553
|
_addVocabularies() {
|
|
16559
|
-
super._addVocabularies(),
|
|
16554
|
+
super._addVocabularies(), Ob.default.forEach((a) => this.addVocabulary(a)), this.opts.discriminator && this.addKeyword(Pb.default);
|
|
16560
16555
|
}
|
|
16561
16556
|
_addDefaultMetaSchema() {
|
|
16562
16557
|
if (super._addDefaultMetaSchema(), !this.opts.meta)
|
|
@@ -16583,7 +16578,7 @@ var Rb = /* @__PURE__ */ Object.defineProperty({ default: Ib }, "__esModule", {
|
|
|
16583
16578
|
} }), Object.defineProperty(e, "CodeGen", { enumerable: !0, get: function() {
|
|
16584
16579
|
return g.CodeGen;
|
|
16585
16580
|
} });
|
|
16586
|
-
}),
|
|
16581
|
+
}), Nb = /* @__PURE__ */ vd(ce), Db = /* @__PURE__ */ vd(et(function(t, e) {
|
|
16587
16582
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
16588
16583
|
const r = "errorMessage", n = new ce.Name("emUsed"), s = { required: "missingProperty", dependencies: "property", dependentRequired: "property" }, i = /\$\{[^}]+\}/, a = /\$\{([^}]+)\}/g, o = /^""\s*\+\s*|\s*\+\s*""$/g;
|
|
16589
16584
|
function l(d) {
|
|
@@ -16715,7 +16710,7 @@ var Rb = /* @__PURE__ */ Object.defineProperty({ default: Ib }, "__esModule", {
|
|
|
16715
16710
|
return d.addKeyword(l(h));
|
|
16716
16711
|
};
|
|
16717
16712
|
e.default = c, t.exports = c, t.exports.default = c;
|
|
16718
|
-
})),
|
|
16713
|
+
})), Ib = function(t, e) {
|
|
16719
16714
|
return t.forEach(function(r) {
|
|
16720
16715
|
r.keyword === "required" && (r.instancePath += "/" + r.params.missingProperty);
|
|
16721
16716
|
}), t.reduce(function(r, n) {
|
|
@@ -16726,27 +16721,27 @@ var Rb = /* @__PURE__ */ Object.defineProperty({ default: Ib }, "__esModule", {
|
|
|
16726
16721
|
}
|
|
16727
16722
|
return r;
|
|
16728
16723
|
}, {});
|
|
16729
|
-
},
|
|
16724
|
+
}, Rb = function(t, e, r) {
|
|
16730
16725
|
return r === void 0 && (r = {}), function(n, s, i) {
|
|
16731
16726
|
try {
|
|
16732
|
-
var a, o = new
|
|
16733
|
-
|
|
16727
|
+
var a, o = new Nb(yd({ allErrors: !0, validateSchema: !0 }, e));
|
|
16728
|
+
Db(o);
|
|
16734
16729
|
var l = o.compile(Object.assign({ $async: ((a = r) == null ? void 0 : a.mode) === "async" }, t));
|
|
16735
|
-
return l(n) ? (i.shouldUseNativeValidation && gd({}, i), Promise.resolve({ values: n, errors: {} })) : Promise.resolve({ values: {}, errors:
|
|
16730
|
+
return l(n) ? (i.shouldUseNativeValidation && gd({}, i), Promise.resolve({ values: n, errors: {} })) : Promise.resolve({ values: {}, errors: W0(Ib(l.errors, !i.shouldUseNativeValidation && i.criteriaMode === "all"), i) });
|
|
16736
16731
|
} catch (c) {
|
|
16737
16732
|
return Promise.reject(c);
|
|
16738
16733
|
}
|
|
16739
16734
|
};
|
|
16740
16735
|
};
|
|
16741
|
-
function
|
|
16742
|
-
const { schema: e, defaultValue: r, disableBody: n, disablePadding: s } = t, i =
|
|
16736
|
+
function _w(t) {
|
|
16737
|
+
const { schema: e, defaultValue: r, disableBody: n, disablePadding: s } = t, i = B0({
|
|
16743
16738
|
defaultValues: r ?? {},
|
|
16744
|
-
resolver: e ?
|
|
16739
|
+
resolver: e ? Rb(
|
|
16745
16740
|
e,
|
|
16746
16741
|
{ strict: !1, addFormats: !0 }
|
|
16747
16742
|
) : void 0
|
|
16748
16743
|
}), [a] = bt(), { handleSubmit: o, setError: l } = i, [c, d] = ye(null), h = lr("md"), [u] = Wt(Hn), m = t.isVertical ? !1 : u.formLayout === "horizontal", y = (t.singleColumn ? !1 : u.formColumns === "multiple") ? 1600 : m ? 960 : 800;
|
|
16749
|
-
let v = /* @__PURE__ */ f.jsx(
|
|
16744
|
+
let v = /* @__PURE__ */ f.jsx(O0, { ...i, children: /* @__PURE__ */ f.jsxs(
|
|
16750
16745
|
Bl,
|
|
16751
16746
|
{
|
|
16752
16747
|
onSubmit: o(async (E) => {
|
|
@@ -16794,7 +16789,7 @@ function Pw(t) {
|
|
|
16794
16789
|
),
|
|
16795
16790
|
t.onCancel ? /* @__PURE__ */ f.jsx("div", { className: "dark-2 border-top", style: { padding: s ? void 0 : 24 }, children: /* @__PURE__ */ f.jsxs(uf, { style: { marginTop: 0 }, children: [
|
|
16796
16791
|
/* @__PURE__ */ f.jsx(Pl, { children: t.submitText }),
|
|
16797
|
-
t.onCancel && /* @__PURE__ */ f.jsx(
|
|
16792
|
+
t.onCancel && /* @__PURE__ */ f.jsx(Ab, { onCancel: t.onCancel, children: t.cancelText ?? a.cancelText })
|
|
16798
16793
|
] }) }) : /* @__PURE__ */ f.jsx(Pl, { style: { marginTop: 48 }, children: t.submitText })
|
|
16799
16794
|
]
|
|
16800
16795
|
}
|
|
@@ -16820,13 +16815,13 @@ function Pl(t) {
|
|
|
16820
16815
|
}
|
|
16821
16816
|
) });
|
|
16822
16817
|
}
|
|
16823
|
-
function
|
|
16818
|
+
function Ab(t) {
|
|
16824
16819
|
return /* @__PURE__ */ f.jsx(Je, { type: "button", variant: "link", onClick: t.onCancel, children: t.children });
|
|
16825
16820
|
}
|
|
16826
|
-
function
|
|
16827
|
-
return /* @__PURE__ */ f.jsx(rm, { children: /* @__PURE__ */ f.jsx(dp, { children: /* @__PURE__ */ f.jsx(up, { children: /* @__PURE__ */ f.jsx(cp, { children: /* @__PURE__ */ f.jsx(
|
|
16821
|
+
function Tw(t) {
|
|
16822
|
+
return /* @__PURE__ */ f.jsx(rm, { children: /* @__PURE__ */ f.jsx(dp, { children: /* @__PURE__ */ f.jsx(up, { children: /* @__PURE__ */ f.jsx(cp, { children: /* @__PURE__ */ f.jsx(xy, { callback: t.navigate, children: t.children }) }) }) }) });
|
|
16828
16823
|
}
|
|
16829
|
-
function
|
|
16824
|
+
function Fb(t) {
|
|
16830
16825
|
const e = zu();
|
|
16831
16826
|
return t.breadcrumbs ? /* @__PURE__ */ f.jsx(hf, { style: t.style, children: t.breadcrumbs.map((r, n) => r.label ? /* @__PURE__ */ f.jsx(
|
|
16832
16827
|
mf,
|
|
@@ -16848,7 +16843,7 @@ function Bb(t) {
|
|
|
16848
16843
|
r.id ?? r.label ?? n
|
|
16849
16844
|
) : /* @__PURE__ */ f.jsx(xr, {}, n)) }) : /* @__PURE__ */ f.jsx(xr, {});
|
|
16850
16845
|
}
|
|
16851
|
-
function
|
|
16846
|
+
function kw(t) {
|
|
16852
16847
|
const { navigation: e, breadcrumbs: r, title: n, description: s, controls: i, headerActions: a, footer: o } = t, l = lr("lg"), c = lr("xl"), d = lr("md"), [h] = bt();
|
|
16853
16848
|
return /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
|
|
16854
16849
|
e && /* @__PURE__ */ f.jsx(
|
|
@@ -16880,7 +16875,7 @@ function Dw(t) {
|
|
|
16880
16875
|
children: /* @__PURE__ */ f.jsxs(Ur, { hasGutter: !0, children: [
|
|
16881
16876
|
/* @__PURE__ */ f.jsxs(Jt, { flexWrap: { default: "nowrap" }, alignItems: { default: "alignItemsStretch" }, children: [
|
|
16882
16877
|
/* @__PURE__ */ f.jsxs(vt, { grow: { default: "grow" }, children: [
|
|
16883
|
-
r && /* @__PURE__ */ f.jsx(
|
|
16878
|
+
r && /* @__PURE__ */ f.jsx(Fb, { breadcrumbs: r, style: { paddingBottom: l ? 6 : 4 } }),
|
|
16884
16879
|
n ? t.titleHelp ? /* @__PURE__ */ f.jsx(
|
|
16885
16880
|
Ys,
|
|
16886
16881
|
{
|
|
@@ -16939,7 +16934,7 @@ function Dw(t) {
|
|
|
16939
16934
|
)
|
|
16940
16935
|
] });
|
|
16941
16936
|
}
|
|
16942
|
-
function
|
|
16937
|
+
function jw(t) {
|
|
16943
16938
|
const [e] = bt();
|
|
16944
16939
|
return /* @__PURE__ */ f.jsx(Ic, { message: e.errorText, children: /* @__PURE__ */ f.jsx(
|
|
16945
16940
|
"div",
|
|
@@ -16954,7 +16949,7 @@ function Iw(t) {
|
|
|
16954
16949
|
}
|
|
16955
16950
|
) });
|
|
16956
16951
|
}
|
|
16957
|
-
function
|
|
16952
|
+
function Mb(t) {
|
|
16958
16953
|
const { loading: e } = t, [r, n] = ye((t == null ? void 0 : t.initialTabIndex) ?? 0), s = ge(
|
|
16959
16954
|
(l, c) => n(c),
|
|
16960
16955
|
[n]
|
|
@@ -16972,7 +16967,7 @@ function Ub(t) {
|
|
|
16972
16967
|
}
|
|
16973
16968
|
return l;
|
|
16974
16969
|
}), o = i[r];
|
|
16975
|
-
return e ? /* @__PURE__ */ f.jsx(
|
|
16970
|
+
return e ? /* @__PURE__ */ f.jsx(Mb, { children: /* @__PURE__ */ f.jsx(Nl, { children: /* @__PURE__ */ f.jsx(Ut, { variant: "light", children: /* @__PURE__ */ f.jsx(or, {}) }) }) }) : /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
|
|
16976
16971
|
/* @__PURE__ */ f.jsx(Ut, { type: xa.tabs, className: "border-bottom", children: /* @__PURE__ */ f.jsxs(Jt, { spaceItems: { default: "spaceItemsNone" }, children: [
|
|
16977
16972
|
t.preComponents && /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
|
|
16978
16973
|
/* @__PURE__ */ f.jsx(
|
|
@@ -17011,7 +17006,7 @@ function Ub(t) {
|
|
|
17011
17006
|
function Nl(t) {
|
|
17012
17007
|
return /* @__PURE__ */ f.jsx(f.Fragment, { children: t.children });
|
|
17013
17008
|
}
|
|
17014
|
-
function
|
|
17009
|
+
function Ow(t) {
|
|
17015
17010
|
const { activeKey: e, setActiveKey: r } = t, n = ge(
|
|
17016
17011
|
(s, i) => r(i),
|
|
17017
17012
|
[r]
|
|
@@ -17033,7 +17028,7 @@ function Rw(t) {
|
|
|
17033
17028
|
}
|
|
17034
17029
|
) });
|
|
17035
17030
|
}
|
|
17036
|
-
function
|
|
17031
|
+
function Vb(t) {
|
|
17037
17032
|
const { isLoading: e } = t, r = dc(), n = Jr(), s = Th(), i = Pn(t.baseUrl, s), a = ke(
|
|
17038
17033
|
() => ya.toArray(t.children).filter(
|
|
17039
17034
|
(c) => va(c) && c.type === Dl
|
|
@@ -17060,7 +17055,7 @@ function Wb(t) {
|
|
|
17060
17055
|
},
|
|
17061
17056
|
[r, a, s]
|
|
17062
17057
|
);
|
|
17063
|
-
return e ? /* @__PURE__ */ f.jsx(
|
|
17058
|
+
return e ? /* @__PURE__ */ f.jsx(Vb, { baseUrl: i, children: /* @__PURE__ */ f.jsx(Dl, { url: "#", children: /* @__PURE__ */ f.jsx(Ut, { variant: "light", children: /* @__PURE__ */ f.jsx(or, {}) }) }) }) : /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
|
|
17064
17059
|
/* @__PURE__ */ f.jsx(Ut, { type: xa.tabs, className: "border-bottom", children: /* @__PURE__ */ f.jsxs(Jt, { spaceItems: { default: "spaceItemsNone" }, children: [
|
|
17065
17060
|
t.preComponents && /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
|
|
17066
17061
|
/* @__PURE__ */ f.jsx(vt, { children: t.preComponents }),
|
|
@@ -17122,24 +17117,24 @@ function Pn(t, e) {
|
|
|
17122
17117
|
r = r.replace(`:${n}`, e[n] ?? `:${n}`);
|
|
17123
17118
|
}), r;
|
|
17124
17119
|
}
|
|
17125
|
-
const
|
|
17120
|
+
const Lb = Qm`
|
|
17126
17121
|
from {
|
|
17127
17122
|
transform: rotate(0);
|
|
17128
17123
|
}
|
|
17129
17124
|
to {
|
|
17130
17125
|
transform: rotate(1turn);
|
|
17131
17126
|
}
|
|
17132
|
-
`,
|
|
17133
|
-
animation: ${
|
|
17127
|
+
`, zb = ct(kf)`
|
|
17128
|
+
animation: ${Lb} 1.75s linear infinite;
|
|
17134
17129
|
`;
|
|
17135
|
-
|
|
17130
|
+
zb.displayName = "RunningIcon";
|
|
17136
17131
|
/*!
|
|
17137
17132
|
* isobject <https://github.com/jonschlinkert/isobject>
|
|
17138
17133
|
*
|
|
17139
17134
|
* Copyright (c) 2014-2017, Jon Schlinkert.
|
|
17140
17135
|
* Released under the MIT License.
|
|
17141
17136
|
*/
|
|
17142
|
-
var
|
|
17137
|
+
var Bb = function(e) {
|
|
17143
17138
|
return e != null && typeof e == "object" && Array.isArray(e) === !1;
|
|
17144
17139
|
};
|
|
17145
17140
|
/*!
|
|
@@ -17148,7 +17143,7 @@ var Gb = function(e) {
|
|
|
17148
17143
|
* Copyright (c) 2014-2018, Jon Schlinkert.
|
|
17149
17144
|
* Released under the MIT License.
|
|
17150
17145
|
*/
|
|
17151
|
-
const Cd =
|
|
17146
|
+
const Cd = Bb;
|
|
17152
17147
|
var Vi = function(t, e, r) {
|
|
17153
17148
|
if (Cd(r) || (r = { default: r }), !Rl(t))
|
|
17154
17149
|
return typeof r.default < "u" ? r.default : t;
|
|
@@ -17158,7 +17153,7 @@ var Vi = function(t, e, r) {
|
|
|
17158
17153
|
return t;
|
|
17159
17154
|
if (s && e in t)
|
|
17160
17155
|
return Li(e, t, r) ? t[e] : r.default;
|
|
17161
|
-
let o = n ? e :
|
|
17156
|
+
let o = n ? e : Ub(e, i, r), l = o.length, c = 0;
|
|
17162
17157
|
do {
|
|
17163
17158
|
let d = o[c];
|
|
17164
17159
|
for (typeof d == "number" && (d = String(d)); d && d.slice(-1) === "\\"; )
|
|
@@ -17185,7 +17180,7 @@ var Vi = function(t, e, r) {
|
|
|
17185
17180
|
function Il(t, e, r) {
|
|
17186
17181
|
return typeof r.join == "function" ? r.join(t) : t[0] + e + t[1];
|
|
17187
17182
|
}
|
|
17188
|
-
function
|
|
17183
|
+
function Ub(t, e, r) {
|
|
17189
17184
|
return typeof r.split == "function" ? r.split(t) : t.split(e);
|
|
17190
17185
|
}
|
|
17191
17186
|
function Li(t, e, r) {
|
|
@@ -17194,7 +17189,7 @@ function Li(t, e, r) {
|
|
|
17194
17189
|
function Rl(t) {
|
|
17195
17190
|
return Cd(t) || Array.isArray(t) || typeof t == "function";
|
|
17196
17191
|
}
|
|
17197
|
-
function
|
|
17192
|
+
function Wb() {
|
|
17198
17193
|
const [t, e] = ye(!0);
|
|
17199
17194
|
return Pe(
|
|
17200
17195
|
() => () => {
|
|
@@ -17203,8 +17198,8 @@ function Zb() {
|
|
|
17203
17198
|
[]
|
|
17204
17199
|
), t;
|
|
17205
17200
|
}
|
|
17206
|
-
function
|
|
17207
|
-
const t =
|
|
17201
|
+
function Hb() {
|
|
17202
|
+
const t = Wb(), [e, r] = ye(
|
|
17208
17203
|
t ? window.location : void 0
|
|
17209
17204
|
), n = ge(() => {
|
|
17210
17205
|
r(window.location);
|
|
@@ -17228,9 +17223,9 @@ function Kb() {
|
|
|
17228
17223
|
);
|
|
17229
17224
|
return { location: e, push: s, update: i };
|
|
17230
17225
|
}
|
|
17231
|
-
function
|
|
17226
|
+
function qb() {
|
|
17232
17227
|
var s, i;
|
|
17233
|
-
const t =
|
|
17228
|
+
const t = Hb(), e = ((s = t.location) == null ? void 0 : s.pathname) || "/", r = ke(
|
|
17234
17229
|
() => {
|
|
17235
17230
|
var a;
|
|
17236
17231
|
return new URLSearchParams(((a = t.location) == null ? void 0 : a.search) ?? "/");
|
|
@@ -17245,8 +17240,8 @@ function Jb() {
|
|
|
17245
17240
|
);
|
|
17246
17241
|
return [r, n];
|
|
17247
17242
|
}
|
|
17248
|
-
function
|
|
17249
|
-
const [r, n] =
|
|
17243
|
+
function Gb(t, e) {
|
|
17244
|
+
const [r, n] = qb(), [s, i] = ye(() => {
|
|
17250
17245
|
if (!e) {
|
|
17251
17246
|
const y = r.get("page");
|
|
17252
17247
|
if (y) {
|
|
@@ -17329,8 +17324,8 @@ function Xb(t, e) {
|
|
|
17329
17324
|
[p, u, s, a, l, d]
|
|
17330
17325
|
);
|
|
17331
17326
|
}
|
|
17332
|
-
function
|
|
17333
|
-
const { items: e, keyFn: r, tableColumns: n, toolbarFilters: s, disableQueryString: i } = t, a =
|
|
17327
|
+
function Pw(t) {
|
|
17328
|
+
const { items: e, keyFn: r, tableColumns: n, toolbarFilters: s, disableQueryString: i } = t, a = Gb(
|
|
17334
17329
|
{
|
|
17335
17330
|
sort: n && n.length ? n[0].sort : void 0
|
|
17336
17331
|
},
|
|
@@ -17341,7 +17336,7 @@ function Aw(t) {
|
|
|
17341
17336
|
id: c,
|
|
17342
17337
|
sortFn: (w, b) => {
|
|
17343
17338
|
const A = Vi(w, c), V = Vi(b, c);
|
|
17344
|
-
return
|
|
17339
|
+
return Yv(A, V);
|
|
17345
17340
|
},
|
|
17346
17341
|
direction: d
|
|
17347
17342
|
}),
|
|
@@ -17366,7 +17361,7 @@ function Aw(t) {
|
|
|
17366
17361
|
}, [h, y, s]);
|
|
17367
17362
|
const v = di(p.filtered), { setPage: E, setPerPage: C } = v;
|
|
17368
17363
|
Pe(() => E(o), [o, v, E]), Pe(() => C(l), [l, v, C]);
|
|
17369
|
-
const S =
|
|
17364
|
+
const S = Wv(e, r);
|
|
17370
17365
|
return ke(() => ({
|
|
17371
17366
|
itemCount: e ? p.filtered.length : void 0,
|
|
17372
17367
|
pageItems: e ? v.paged : void 0,
|
|
@@ -17376,30 +17371,30 @@ function Aw(t) {
|
|
|
17376
17371
|
}), [p.filtered.length, e, t.error, v.paged, S, a]);
|
|
17377
17372
|
}
|
|
17378
17373
|
export {
|
|
17379
|
-
|
|
17380
|
-
|
|
17381
|
-
|
|
17374
|
+
Tv as BulkSelector,
|
|
17375
|
+
rw as BytesCell,
|
|
17376
|
+
aw as CapacityCell,
|
|
17382
17377
|
ml as Collapse,
|
|
17383
|
-
|
|
17384
|
-
|
|
17385
|
-
|
|
17386
|
-
|
|
17387
|
-
|
|
17388
|
-
|
|
17378
|
+
Ty as ColumnCardOption,
|
|
17379
|
+
_y as ColumnListOption,
|
|
17380
|
+
ky as ColumnModalOption,
|
|
17381
|
+
Cy as ColumnTableOption,
|
|
17382
|
+
ow as CopyCell,
|
|
17383
|
+
lw as DateCell,
|
|
17389
17384
|
my as DateTimeCell,
|
|
17390
|
-
|
|
17391
|
-
|
|
17385
|
+
nw as DialogContext,
|
|
17386
|
+
cw as ElapsedTimeCell,
|
|
17392
17387
|
Vr as FormGroupSelect,
|
|
17393
|
-
|
|
17394
|
-
|
|
17395
|
-
|
|
17396
|
-
|
|
17388
|
+
C0 as FormGroupSelectOption,
|
|
17389
|
+
_0 as FormGroupTextArea,
|
|
17390
|
+
T0 as FormGroupTextInput,
|
|
17391
|
+
Cw as FormTextSelect,
|
|
17397
17392
|
rm as FrameworkTranslationsProvider,
|
|
17398
17393
|
Fc as Help,
|
|
17399
|
-
|
|
17394
|
+
by as LabelColorE,
|
|
17400
17395
|
py as LabelsCell,
|
|
17401
|
-
|
|
17402
|
-
|
|
17396
|
+
U0 as MonacoEditor,
|
|
17397
|
+
gw as MultiSelectDialog,
|
|
17403
17398
|
gy as PFColorE,
|
|
17404
17399
|
st as PageActionSelection,
|
|
17405
17400
|
Ot as PageActionType,
|
|
@@ -17408,81 +17403,76 @@ export {
|
|
|
17408
17403
|
cp as PageAlertToasterProvider,
|
|
17409
17404
|
Rc as PageBody,
|
|
17410
17405
|
Ss as PageDetail,
|
|
17411
|
-
|
|
17412
|
-
|
|
17406
|
+
$y as PageDetails,
|
|
17407
|
+
Dy as PageDetailsFromColumns,
|
|
17413
17408
|
up as PageDialogProvider,
|
|
17414
|
-
|
|
17415
|
-
|
|
17416
|
-
|
|
17417
|
-
|
|
17409
|
+
_w as PageForm,
|
|
17410
|
+
Ab as PageFormCancelButton,
|
|
17411
|
+
vw as PageFormCheckbox,
|
|
17412
|
+
bw as PageFormCodeEditor,
|
|
17418
17413
|
Ol as PageFormGrid,
|
|
17419
|
-
|
|
17420
|
-
|
|
17414
|
+
ww as PageFormSelect,
|
|
17415
|
+
xw as PageFormSelectOption,
|
|
17421
17416
|
Pl as PageFormSubmitButton,
|
|
17422
|
-
|
|
17423
|
-
|
|
17424
|
-
|
|
17425
|
-
|
|
17426
|
-
|
|
17427
|
-
|
|
17417
|
+
Sw as PageFormSwitch,
|
|
17418
|
+
Ew as PageFormTextArea,
|
|
17419
|
+
$w as PageFormTextInput,
|
|
17420
|
+
Tw as PageFramework,
|
|
17421
|
+
kw as PageHeader,
|
|
17422
|
+
jw as PageLayout,
|
|
17428
17423
|
Nl as PageTab,
|
|
17429
17424
|
ui as PageTable,
|
|
17430
|
-
|
|
17431
|
-
|
|
17432
|
-
|
|
17433
|
-
|
|
17425
|
+
$v as PageTableCards,
|
|
17426
|
+
Ov as PageTableToolbar,
|
|
17427
|
+
Mb as PageTabs,
|
|
17428
|
+
Ow as PageTabsOld,
|
|
17434
17429
|
Dl as RoutedTab,
|
|
17435
|
-
|
|
17436
|
-
|
|
17430
|
+
Vb as RoutedTabs,
|
|
17431
|
+
zb as RunningIcon,
|
|
17437
17432
|
ll as Scrollable,
|
|
17438
|
-
|
|
17439
|
-
|
|
17433
|
+
$0 as SelectDialog,
|
|
17434
|
+
sw as SetDialogContext,
|
|
17440
17435
|
Hn as SettingsContext,
|
|
17441
17436
|
fp as SettingsDialog,
|
|
17442
17437
|
dp as SettingsProvider,
|
|
17443
17438
|
Tt as TableColumnCell,
|
|
17444
17439
|
Xo as TextCell,
|
|
17445
|
-
|
|
17440
|
+
Zv as compareNumbers,
|
|
17446
17441
|
$s as compareStrings,
|
|
17447
|
-
|
|
17448
|
-
|
|
17442
|
+
Yv as compareUnknowns,
|
|
17443
|
+
tw as errorToAlertProps,
|
|
17449
17444
|
ua as getPatternflyColor,
|
|
17450
17445
|
Mu as pfDanger,
|
|
17451
|
-
vy as
|
|
17452
|
-
Sy as pfDisabled,
|
|
17453
|
-
Ey as pfDisabled200,
|
|
17446
|
+
vy as pfDisabled,
|
|
17454
17447
|
Vu as pfInfo,
|
|
17455
|
-
|
|
17456
|
-
pw as pfLink,
|
|
17448
|
+
uw as pfLink,
|
|
17457
17449
|
Fu as pfSuccess,
|
|
17458
|
-
yy as
|
|
17459
|
-
|
|
17460
|
-
wy as pfWarning200,
|
|
17461
|
-
vw as toolbarActionsHaveBulkActions,
|
|
17450
|
+
yy as pfWarning,
|
|
17451
|
+
hw as toolbarActionsHaveBulkActions,
|
|
17462
17452
|
lr as useBreakpoint,
|
|
17463
|
-
|
|
17464
|
-
|
|
17465
|
-
|
|
17466
|
-
|
|
17453
|
+
Gv as useBulkActionDialog,
|
|
17454
|
+
pw as useBulkConfirmation,
|
|
17455
|
+
Py as useDescriptionColumns,
|
|
17456
|
+
Ny as useExpandedColumns,
|
|
17467
17457
|
Ku as useFiltered,
|
|
17468
17458
|
bt as useFrameworkTranslations,
|
|
17469
|
-
|
|
17470
|
-
|
|
17471
|
-
|
|
17459
|
+
Pw as useInMemoryView,
|
|
17460
|
+
Qb as useOrientation,
|
|
17461
|
+
ew as usePageAlertToaster,
|
|
17472
17462
|
Xr as usePageDialog,
|
|
17473
17463
|
di as usePaged,
|
|
17474
|
-
|
|
17475
|
-
|
|
17476
|
-
|
|
17464
|
+
yw as useSelectDialog,
|
|
17465
|
+
Uv as useSelected,
|
|
17466
|
+
Wv as useSelectedInMemory,
|
|
17477
17467
|
qn as useSettings,
|
|
17478
|
-
|
|
17468
|
+
iw as useSettingsDialog,
|
|
17479
17469
|
Zu as useSorted,
|
|
17480
|
-
|
|
17481
|
-
|
|
17482
|
-
|
|
17483
|
-
|
|
17484
|
-
|
|
17485
|
-
|
|
17470
|
+
mw as useTableItems,
|
|
17471
|
+
Gb as useView,
|
|
17472
|
+
Oy as useVisibleCardColumns,
|
|
17473
|
+
fw as useVisibleColumns,
|
|
17474
|
+
jy as useVisibleListColumns,
|
|
17475
|
+
dw as useVisibleModalColumns,
|
|
17486
17476
|
Bu as useVisibleTableColumns,
|
|
17487
17477
|
Gf as useWindowSize
|
|
17488
17478
|
};
|