fastapi-rtk 0.0.88 → 0.0.89
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/fastapi-rtk.es.js +172 -173
- package/dist/fastapi-rtk.umd.js +16 -16
- package/package.json +1 -1
package/dist/fastapi-rtk.es.js
CHANGED
|
@@ -78,10 +78,10 @@ function zf() {
|
|
|
78
78
|
de.unshift("Warning: " + j), Function.prototype.apply.call(console[g], console, de);
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
|
-
var C = !1, _ = !1, $ = !1, N = !1,
|
|
81
|
+
var C = !1, _ = !1, $ = !1, N = !1, W = !1, K;
|
|
82
82
|
K = Symbol.for("react.module.reference");
|
|
83
83
|
function m(g) {
|
|
84
|
-
return !!(typeof g == "string" || typeof g == "function" || g === n || g === s ||
|
|
84
|
+
return !!(typeof g == "string" || typeof g == "function" || g === n || g === s || W || g === o || g === u || g === d || N || g === h || C || _ || $ || typeof g == "object" && g !== null && (g.$$typeof === p || g.$$typeof === f || g.$$typeof === i || g.$$typeof === a || g.$$typeof === l || // This needs to include all possible module reference object
|
|
85
85
|
// types supported by any Flight configuration anywhere since
|
|
86
86
|
// we don't know which Flight build this will end up being used
|
|
87
87
|
// with.
|
|
@@ -97,7 +97,7 @@ function zf() {
|
|
|
97
97
|
function L(g) {
|
|
98
98
|
return g.displayName || "Context";
|
|
99
99
|
}
|
|
100
|
-
function
|
|
100
|
+
function G(g) {
|
|
101
101
|
if (g == null)
|
|
102
102
|
return null;
|
|
103
103
|
if (typeof g.tag == "number" && E("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof g == "function")
|
|
@@ -130,11 +130,11 @@ function zf() {
|
|
|
130
130
|
return P(g, g.render, "ForwardRef");
|
|
131
131
|
case f:
|
|
132
132
|
var J = g.displayName || null;
|
|
133
|
-
return J !== null ? J :
|
|
133
|
+
return J !== null ? J : G(g.type) || "Memo";
|
|
134
134
|
case p: {
|
|
135
135
|
var ce = g, de = ce._payload, ae = ce._init;
|
|
136
136
|
try {
|
|
137
|
-
return
|
|
137
|
+
return G(ae(de));
|
|
138
138
|
} catch {
|
|
139
139
|
return null;
|
|
140
140
|
}
|
|
@@ -142,14 +142,14 @@ function zf() {
|
|
|
142
142
|
}
|
|
143
143
|
return null;
|
|
144
144
|
}
|
|
145
|
-
var Z = Object.assign, le = 0, fe,
|
|
145
|
+
var Z = Object.assign, le = 0, fe, V, X, oe, w, R, H;
|
|
146
146
|
function z() {
|
|
147
147
|
}
|
|
148
148
|
z.__reactDisabledLog = !0;
|
|
149
149
|
function Y() {
|
|
150
150
|
{
|
|
151
151
|
if (le === 0) {
|
|
152
|
-
fe = console.log,
|
|
152
|
+
fe = console.log, V = console.info, X = console.warn, oe = console.error, w = console.group, R = console.groupCollapsed, H = console.groupEnd;
|
|
153
153
|
var g = {
|
|
154
154
|
configurable: !0,
|
|
155
155
|
enumerable: !0,
|
|
@@ -182,7 +182,7 @@ function zf() {
|
|
|
182
182
|
value: fe
|
|
183
183
|
}),
|
|
184
184
|
info: Z({}, g, {
|
|
185
|
-
value:
|
|
185
|
+
value: V
|
|
186
186
|
}),
|
|
187
187
|
warn: Z({}, g, {
|
|
188
188
|
value: X
|
|
@@ -197,7 +197,7 @@ function zf() {
|
|
|
197
197
|
value: R
|
|
198
198
|
}),
|
|
199
199
|
groupEnd: Z({}, g, {
|
|
200
|
-
value:
|
|
200
|
+
value: H
|
|
201
201
|
})
|
|
202
202
|
});
|
|
203
203
|
}
|
|
@@ -406,8 +406,8 @@ function zf() {
|
|
|
406
406
|
}
|
|
407
407
|
function ft(g, j) {
|
|
408
408
|
if (typeof g.ref == "string" && Rt.current && j && Rt.current.stateNode !== j) {
|
|
409
|
-
var M =
|
|
410
|
-
or[M] || (E('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',
|
|
409
|
+
var M = G(Rt.current.type);
|
|
410
|
+
or[M] || (E('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', G(Rt.current.type), g.ref), or[M] = !0);
|
|
411
411
|
}
|
|
412
412
|
}
|
|
413
413
|
function kt(g, j) {
|
|
@@ -495,7 +495,7 @@ function zf() {
|
|
|
495
495
|
function wn() {
|
|
496
496
|
{
|
|
497
497
|
if (It.current) {
|
|
498
|
-
var g =
|
|
498
|
+
var g = G(It.current.type);
|
|
499
499
|
if (g)
|
|
500
500
|
return `
|
|
501
501
|
|
|
@@ -530,7 +530,7 @@ Check the top-level render call using <` + M + ">.");
|
|
|
530
530
|
return;
|
|
531
531
|
wt[M] = !0;
|
|
532
532
|
var J = "";
|
|
533
|
-
g && g._owner && g._owner !== It.current && (J = " It was passed a child from " +
|
|
533
|
+
g && g._owner && g._owner !== It.current && (J = " It was passed a child from " + G(g._owner.type) + "."), Dt(g), E('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', M, J), Dt(null);
|
|
534
534
|
}
|
|
535
535
|
}
|
|
536
536
|
function ar(g, j) {
|
|
@@ -567,11 +567,11 @@ Check the top-level render call using <` + M + ">.");
|
|
|
567
567
|
else
|
|
568
568
|
return;
|
|
569
569
|
if (M) {
|
|
570
|
-
var J =
|
|
570
|
+
var J = G(j);
|
|
571
571
|
_n(M, g.props, "prop", J, g);
|
|
572
572
|
} else if (j.PropTypes !== void 0 && !St) {
|
|
573
573
|
St = !0;
|
|
574
|
-
var ce =
|
|
574
|
+
var ce = G(j);
|
|
575
575
|
E("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", ce || "Unknown");
|
|
576
576
|
}
|
|
577
577
|
typeof j.getDefaultProps == "function" && !j.getDefaultProps.isReactClassApproved && E("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
@@ -599,7 +599,7 @@ Check the top-level render call using <` + M + ">.");
|
|
|
599
599
|
var v = Re();
|
|
600
600
|
v ? k += v : k += wn();
|
|
601
601
|
var O;
|
|
602
|
-
g === null ? O = "null" : Dr(g) ? O = "array" : g !== void 0 && g.$$typeof === t ? (O = "<" + (
|
|
602
|
+
g === null ? O = "null" : Dr(g) ? O = "array" : g !== void 0 && g.$$typeof === t ? (O = "<" + (G(g.type) || "Unknown") + " />", k = " Did you accidentally export a JSX literal instead of a component?") : O = typeof g, E("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", O, k);
|
|
603
603
|
}
|
|
604
604
|
var I = Io(g, j, M, ce, de);
|
|
605
605
|
if (I == null)
|
|
@@ -618,7 +618,7 @@ Check the top-level render call using <` + M + ">.");
|
|
|
618
618
|
ar(se, g);
|
|
619
619
|
}
|
|
620
620
|
if (Ze.call(j, "key")) {
|
|
621
|
-
var we =
|
|
621
|
+
var we = G(g), be = Object.keys(j).filter(function(Be) {
|
|
622
622
|
return Be !== "key";
|
|
623
623
|
}), Qe = be.length > 0 ? "{key: someKey, " + be.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
624
624
|
if (!An[we + Qe]) {
|
|
@@ -1184,8 +1184,8 @@ function fr(e) {
|
|
|
1184
1184
|
disableStackTrace: P.disableStackTrace || T
|
|
1185
1185
|
}, f, P.params);
|
|
1186
1186
|
for (const Z of Object.keys(L)) L[Z] = E(L[Z]);
|
|
1187
|
-
const
|
|
1188
|
-
return
|
|
1187
|
+
const G = new We(We.formatError(P.message || p, L), r, L.path, P.type || u, L.disableStackTrace);
|
|
1188
|
+
return G.params = L, G;
|
|
1189
1189
|
}
|
|
1190
1190
|
const C = b ? a : l;
|
|
1191
1191
|
let _ = {
|
|
@@ -3070,16 +3070,15 @@ function Xd({
|
|
|
3070
3070
|
} : l,
|
|
3071
3071
|
[r, l]
|
|
3072
3072
|
), f = ve(
|
|
3073
|
-
(
|
|
3074
|
-
if (!X)
|
|
3075
|
-
return In(null,
|
|
3076
|
-
const oe = In({ ...X },
|
|
3077
|
-
if (a) {
|
|
3078
|
-
if (
|
|
3073
|
+
(V) => u((X) => {
|
|
3074
|
+
if (typeof V == "function" && (V = V(X)), !X)
|
|
3075
|
+
return In(null, V);
|
|
3076
|
+
const oe = In({ ...X }, V);
|
|
3077
|
+
if ((V.filters || V.order_column || V.order_direction) && !V.page && (oe.page = 0), a) {
|
|
3078
|
+
if (V.page && V.page !== X.page && !V.streaming)
|
|
3079
3079
|
throw new Error("You cannot change page in streaming mode, use streaming.fetch() instead");
|
|
3080
|
-
if (
|
|
3080
|
+
if (V.page_size && V.page_size !== X.page_size)
|
|
3081
3081
|
throw new Error("You cannot change page size in streaming mode, use streaming.fetch() instead");
|
|
3082
|
-
(G.filters || G.order_column || G.order_direction) && (oe.page = 0);
|
|
3083
3082
|
}
|
|
3084
3083
|
return oe;
|
|
3085
3084
|
}),
|
|
@@ -3113,27 +3112,27 @@ function Xd({
|
|
|
3113
3112
|
}
|
|
3114
3113
|
x();
|
|
3115
3114
|
}, [A, N, x]);
|
|
3116
|
-
const
|
|
3115
|
+
const W = te(() => T || _, [T, _]);
|
|
3117
3116
|
_r(() => {
|
|
3118
3117
|
if (!i)
|
|
3119
3118
|
return;
|
|
3120
|
-
const
|
|
3121
|
-
l != null && l.page_size && (
|
|
3119
|
+
const V = In(null, t);
|
|
3120
|
+
l != null && l.page_size && (V.page_size = l.page_size), f(V);
|
|
3122
3121
|
}, [e]);
|
|
3123
3122
|
const K = ve(
|
|
3124
|
-
async (
|
|
3123
|
+
async (V) => {
|
|
3125
3124
|
try {
|
|
3126
|
-
const X = await Gf(e, nt(
|
|
3125
|
+
const X = await Gf(e, nt(V));
|
|
3127
3126
|
return x(), X;
|
|
3128
3127
|
} catch (X) {
|
|
3129
|
-
h({ message: `Couldn't fetch item with id ${
|
|
3128
|
+
h({ message: `Couldn't fetch item with id ${V}`, originalError: X });
|
|
3130
3129
|
}
|
|
3131
3130
|
},
|
|
3132
3131
|
[e, x]
|
|
3133
3132
|
), m = ve(
|
|
3134
|
-
async (
|
|
3133
|
+
async (V, X) => {
|
|
3135
3134
|
try {
|
|
3136
|
-
const oe = await Wf(e,
|
|
3135
|
+
const oe = await Wf(e, V);
|
|
3137
3136
|
return X || (E(), $()), x(), oe;
|
|
3138
3137
|
} catch (oe) {
|
|
3139
3138
|
h({ message: "Couldn't add item", originalError: oe });
|
|
@@ -3141,29 +3140,29 @@ function Xd({
|
|
|
3141
3140
|
},
|
|
3142
3141
|
[$, E, e, x]
|
|
3143
3142
|
), P = ve(
|
|
3144
|
-
async (
|
|
3143
|
+
async (V, X, oe) => {
|
|
3145
3144
|
try {
|
|
3146
|
-
const w = await Yf(e, nt(
|
|
3145
|
+
const w = await Yf(e, nt(V), X);
|
|
3147
3146
|
return oe || (E(), $()), x(), w;
|
|
3148
3147
|
} catch (w) {
|
|
3149
|
-
h({ message: `Couldn't update item with id ${
|
|
3148
|
+
h({ message: `Couldn't update item with id ${V}`, originalError: w });
|
|
3150
3149
|
}
|
|
3151
3150
|
},
|
|
3152
3151
|
[$, E, e, x]
|
|
3153
3152
|
), L = ve(
|
|
3154
|
-
async (
|
|
3153
|
+
async (V, X) => {
|
|
3155
3154
|
try {
|
|
3156
|
-
const oe = await Hf(e, nt(
|
|
3155
|
+
const oe = await Hf(e, nt(V));
|
|
3157
3156
|
return X || (E(), $()), x(), oe;
|
|
3158
3157
|
} catch (oe) {
|
|
3159
|
-
h({ message: `Couldn't delete item with id ${
|
|
3158
|
+
h({ message: `Couldn't delete item with id ${V}`, originalError: oe });
|
|
3160
3159
|
}
|
|
3161
3160
|
},
|
|
3162
3161
|
[$, E, e, x]
|
|
3163
|
-
),
|
|
3164
|
-
async (
|
|
3162
|
+
), G = ve(
|
|
3163
|
+
async (V) => {
|
|
3165
3164
|
try {
|
|
3166
|
-
await Jd(
|
|
3165
|
+
await Jd(V, e, d);
|
|
3167
3166
|
} catch (X) {
|
|
3168
3167
|
h({ message: "Couldn't download", originalError: X });
|
|
3169
3168
|
}
|
|
@@ -3181,27 +3180,27 @@ function Xd({
|
|
|
3181
3180
|
fetch: () => f({ page: 0, streaming: !0 })
|
|
3182
3181
|
});
|
|
3183
3182
|
}, [f, le, a]), xe(() => {
|
|
3184
|
-
a && C && le((
|
|
3185
|
-
let X = Object.keys(
|
|
3183
|
+
a && C && le((V) => {
|
|
3184
|
+
let X = Object.keys(V.data).length;
|
|
3186
3185
|
const oe = { isEnd: !1 };
|
|
3187
|
-
return d.page < X ? (X = d.page, oe.data = { [d.page]: C.result }) : oe.data = { ...
|
|
3186
|
+
return d.page < X ? (X = d.page, oe.data = { [d.page]: C.result }) : oe.data = { ...V.data, [d.page]: C.result }, C.result.length < d.page_size ? (oe.isEnd = !0, oe.fetch = () => null) : oe.fetch = () => f({ page: X + 1, streaming: !0 }), oe;
|
|
3188
3187
|
});
|
|
3189
3188
|
}, [C, f, le, a]);
|
|
3190
3189
|
const fe = te(() => {
|
|
3191
|
-
const
|
|
3190
|
+
const V = {
|
|
3192
3191
|
all: "all",
|
|
3193
3192
|
actions: "actions"
|
|
3194
3193
|
};
|
|
3195
3194
|
return C == null || C.list_columns.forEach((X) => {
|
|
3196
|
-
|
|
3197
|
-
}),
|
|
3195
|
+
V[X] && (V[X] = `_${X}`);
|
|
3196
|
+
}), V;
|
|
3198
3197
|
}, [C == null ? void 0 : C.list_columns]);
|
|
3199
3198
|
return {
|
|
3200
3199
|
path: e,
|
|
3201
3200
|
data: C,
|
|
3202
3201
|
info: b,
|
|
3203
3202
|
queryParams: d,
|
|
3204
|
-
loading:
|
|
3203
|
+
loading: W,
|
|
3205
3204
|
error: y,
|
|
3206
3205
|
streaming: Z,
|
|
3207
3206
|
specialKey: fe,
|
|
@@ -3212,7 +3211,7 @@ function Xd({
|
|
|
3212
3211
|
addEntry: m,
|
|
3213
3212
|
updateEntry: P,
|
|
3214
3213
|
deleteEntry: L,
|
|
3215
|
-
download:
|
|
3214
|
+
download: G
|
|
3216
3215
|
};
|
|
3217
3216
|
}
|
|
3218
3217
|
const Zd = async (e, t, r) => {
|
|
@@ -4223,7 +4222,7 @@ function pc() {
|
|
|
4223
4222
|
const {
|
|
4224
4223
|
implementation: $,
|
|
4225
4224
|
createNodeIterator: N,
|
|
4226
|
-
createDocumentFragment:
|
|
4225
|
+
createDocumentFragment: W,
|
|
4227
4226
|
getElementsByTagName: K
|
|
4228
4227
|
} = r, {
|
|
4229
4228
|
importNode: m
|
|
@@ -4232,18 +4231,18 @@ function pc() {
|
|
|
4232
4231
|
t.isSupported = typeof cc == "function" && typeof A == "function" && $ && $.createHTMLDocument !== void 0;
|
|
4233
4232
|
const {
|
|
4234
4233
|
MUSTACHE_EXPR: L,
|
|
4235
|
-
ERB_EXPR:
|
|
4234
|
+
ERB_EXPR: G,
|
|
4236
4235
|
TMPLIT_EXPR: Z,
|
|
4237
4236
|
DATA_ATTR: le,
|
|
4238
4237
|
ARIA_ATTR: fe,
|
|
4239
|
-
IS_SCRIPT_OR_DATA:
|
|
4238
|
+
IS_SCRIPT_OR_DATA: V,
|
|
4240
4239
|
ATTR_WHITESPACE: X,
|
|
4241
4240
|
CUSTOM_ELEMENT: oe
|
|
4242
4241
|
} = Qi;
|
|
4243
4242
|
let {
|
|
4244
4243
|
IS_ALLOWED_URI: w
|
|
4245
4244
|
} = Qi, R = null;
|
|
4246
|
-
const
|
|
4245
|
+
const H = ie({}, [...Ki, ...zo, ...Bo, ...Uo, ...Ji]);
|
|
4247
4246
|
let z = null;
|
|
4248
4247
|
const Y = ie({}, [...Xi, ...Vo, ...Zi, ...Fn]);
|
|
4249
4248
|
let U = Object.seal(uc(null, {
|
|
@@ -4286,7 +4285,7 @@ function pc() {
|
|
|
4286
4285
|
let v = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
4287
4286
|
if (!(wt && wt === v)) {
|
|
4288
4287
|
if ((!v || typeof v != "object") && (v = {}), v = Yt(v), St = // eslint-disable-next-line unicorn/prefer-includes
|
|
4289
|
-
zr.indexOf(v.PARSER_MEDIA_TYPE) === -1 ? wn : v.PARSER_MEDIA_TYPE, Re = St === "application/xhtml+xml" ? Lo : Wn, R = dt(v, "ALLOWED_TAGS") ? ie({}, v.ALLOWED_TAGS, Re) :
|
|
4288
|
+
zr.indexOf(v.PARSER_MEDIA_TYPE) === -1 ? wn : v.PARSER_MEDIA_TYPE, Re = St === "application/xhtml+xml" ? Lo : Wn, R = dt(v, "ALLOWED_TAGS") ? ie({}, v.ALLOWED_TAGS, Re) : H, z = dt(v, "ALLOWED_ATTR") ? ie({}, v.ALLOWED_ATTR, Re) : Y, Lr = dt(v, "ALLOWED_NAMESPACES") ? ie({}, v.ALLOWED_NAMESPACES, Lo) : Io, nr = dt(v, "ADD_URI_SAFE_ATTR") ? ie(Yt(or), v.ADD_URI_SAFE_ATTR, Re) : or, Sn = dt(v, "ADD_DATA_URI_TAGS") ? ie(Yt(Fr), v.ADD_DATA_URI_TAGS, Re) : Fr, Tt = dt(v, "FORBID_CONTENTS") ? ie({}, v.FORBID_CONTENTS, Re) : Rt, q = dt(v, "FORBID_TAGS") ? ie({}, v.FORBID_TAGS, Re) : {}, F = dt(v, "FORBID_ATTR") ? ie({}, v.FORBID_ATTR, Re) : {}, _t = dt(v, "USE_PROFILES") ? v.USE_PROFILES : !1, Q = v.ALLOW_ARIA_ATTR !== !1, re = v.ALLOW_DATA_ATTR !== !1, ee = v.ALLOW_UNKNOWN_PROTOCOLS || !1, je = v.ALLOW_SELF_CLOSE_IN_ATTR !== !1, D = v.SAFE_FOR_TEMPLATES || !1, Ne = v.SAFE_FOR_XML !== !1, B = v.WHOLE_DOCUMENT || !1, it = v.RETURN_DOM || !1, Vt = v.RETURN_DOM_FRAGMENT || !1, xt = v.RETURN_TRUSTED_TYPE || !1, Ze = v.FORCE_BODY || !1, _n = v.SANITIZE_DOM !== !1, Tn = v.SANITIZE_NAMED_PROPS || !1, Mr = v.KEEP_CONTENT !== !1, Wt = v.IN_PLACE || !1, w = v.ALLOWED_URI_REGEXP || fc, kt = v.NAMESPACE || ft, It = v.MATHML_TEXT_INTEGRATION_POINTS || It, Ht = v.HTML_INTEGRATION_POINTS || Ht, U = v.CUSTOM_ELEMENT_HANDLING || {}, v.CUSTOM_ELEMENT_HANDLING && Br(v.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (U.tagNameCheck = v.CUSTOM_ELEMENT_HANDLING.tagNameCheck), v.CUSTOM_ELEMENT_HANDLING && Br(v.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (U.attributeNameCheck = v.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), v.CUSTOM_ELEMENT_HANDLING && typeof v.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (U.allowCustomizedBuiltInElements = v.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), D && (re = !1), Vt && (it = !0), _t && (R = ie({}, Ji), z = [], _t.html === !0 && (ie(R, Ki), ie(z, Xi)), _t.svg === !0 && (ie(R, zo), ie(z, Vo), ie(z, Fn)), _t.svgFilters === !0 && (ie(R, Bo), ie(z, Vo), ie(z, Fn)), _t.mathMl === !0 && (ie(R, Uo), ie(z, Zi), ie(z, Fn))), v.ADD_TAGS && (R === H && (R = Yt(R)), ie(R, v.ADD_TAGS, Re)), v.ADD_ATTR && (z === Y && (z = Yt(z)), ie(z, v.ADD_ATTR, Re)), v.ADD_URI_SAFE_ATTR && ie(nr, v.ADD_URI_SAFE_ATTR, Re), v.FORBID_CONTENTS && (Tt === Rt && (Tt = Yt(Tt)), ie(Tt, v.FORBID_CONTENTS, Re)), Mr && (R["#text"] = !0), B && ie(R, ["html", "head", "body"]), R.table && (ie(R, ["tbody"]), delete q.tbody), v.TRUSTED_TYPES_POLICY) {
|
|
4290
4289
|
if (typeof v.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
4291
4290
|
throw Gr('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
4292
4291
|
if (typeof v.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
@@ -4403,7 +4402,7 @@ function pc() {
|
|
|
4403
4402
|
}
|
|
4404
4403
|
return tt(v), !0;
|
|
4405
4404
|
}
|
|
4406
|
-
return v instanceof l && !An(v) || (I === "noscript" || I === "noembed" || I === "noframes") && qe(/<\/no(script|embed|frames)/i, v.innerHTML) ? (tt(v), !0) : (D && v.nodeType === qr.text && (O = v.textContent, Mn([L,
|
|
4405
|
+
return v instanceof l && !An(v) || (I === "noscript" || I === "noembed" || I === "noframes") && qe(/<\/no(script|embed|frames)/i, v.innerHTML) ? (tt(v), !0) : (D && v.nodeType === qr.text && (O = v.textContent, Mn([L, G, Z], (se) => {
|
|
4407
4406
|
O = Hr(O, se, " ");
|
|
4408
4407
|
}), v.textContent !== O && (Wr(t.removed, {
|
|
4409
4408
|
element: v.cloneNode()
|
|
@@ -4425,7 +4424,7 @@ function pc() {
|
|
|
4425
4424
|
} else if (!nr[O]) {
|
|
4426
4425
|
if (!qe(w, Hr(I, X, ""))) {
|
|
4427
4426
|
if (!((O === "src" || O === "xlink:href" || O === "href") && v !== "script" && Pp(I, "data:") === 0 && Sn[v])) {
|
|
4428
|
-
if (!(ee && !qe(
|
|
4427
|
+
if (!(ee && !qe(V, Hr(I, X, "")))) {
|
|
4429
4428
|
if (I)
|
|
4430
4429
|
return !1;
|
|
4431
4430
|
}
|
|
@@ -4469,7 +4468,7 @@ function pc() {
|
|
|
4469
4468
|
lr(we, v);
|
|
4470
4469
|
continue;
|
|
4471
4470
|
}
|
|
4472
|
-
D && Mn([L,
|
|
4471
|
+
D && Mn([L, G, Z], (Ti) => {
|
|
4473
4472
|
Be = Hr(Be, Ti, " ");
|
|
4474
4473
|
});
|
|
4475
4474
|
const _i = Re(v.nodeName);
|
|
@@ -4532,7 +4531,7 @@ function pc() {
|
|
|
4532
4531
|
return k;
|
|
4533
4532
|
if (it) {
|
|
4534
4533
|
if (Vt)
|
|
4535
|
-
for (Ae =
|
|
4534
|
+
for (Ae = W.call(O.ownerDocument); O.firstChild; )
|
|
4536
4535
|
Ae.appendChild(O.firstChild);
|
|
4537
4536
|
else
|
|
4538
4537
|
Ae = O;
|
|
@@ -4540,7 +4539,7 @@ function pc() {
|
|
|
4540
4539
|
}
|
|
4541
4540
|
let be = B ? O.outerHTML : O.innerHTML;
|
|
4542
4541
|
return B && R["!doctype"] && O.ownerDocument && O.ownerDocument.doctype && O.ownerDocument.doctype.name && qe(dc, O.ownerDocument.doctype.name) && (be = "<!DOCTYPE " + O.ownerDocument.doctype.name + `>
|
|
4543
|
-
` + be), D && Mn([L,
|
|
4542
|
+
` + be), D && Mn([L, G, Z], (Qe) => {
|
|
4544
4543
|
be = Hr(be, Qe, " ");
|
|
4545
4544
|
}), C && xt ? C.createHTML(be) : be;
|
|
4546
4545
|
}, t.setConfig = function() {
|
|
@@ -4803,9 +4802,9 @@ function ah({
|
|
|
4803
4802
|
horizontalSpacing: "md",
|
|
4804
4803
|
verticalSpacing: "sm"
|
|
4805
4804
|
}), h = _e("DatagridTable", p, d), { data: y, info: x } = ye(), [b, T] = ne([]), [E, A] = ne(!1), C = ($) => {
|
|
4806
|
-
T((N) => N.includes($) ? N.filter((
|
|
4805
|
+
T((N) => N.includes($) ? N.filter((W) => W !== $) : [...N, $]);
|
|
4807
4806
|
}, _ = () => {
|
|
4808
|
-
T(($) => $.length === y.ids.length ? [] : y.ids.map((N,
|
|
4807
|
+
T(($) => $.length === y.ids.length ? [] : y.ids.map((N, W) => N));
|
|
4809
4808
|
};
|
|
4810
4809
|
return xe(() => {
|
|
4811
4810
|
A(b.length === y.result.length && b.length > 0), n && n(b), e == null || e.setSelectedIds(b.map(($) => $));
|
|
@@ -5190,7 +5189,7 @@ const xc = jt((e, t) => {
|
|
|
5190
5189
|
bodyCustomizer: _ = {},
|
|
5191
5190
|
toolbarCustomizer: $ = {},
|
|
5192
5191
|
counter: N = !1,
|
|
5193
|
-
bodySeparator:
|
|
5192
|
+
bodySeparator: W
|
|
5194
5193
|
// Add more props here
|
|
5195
5194
|
} = e;
|
|
5196
5195
|
if (xe(() => {
|
|
@@ -5226,7 +5225,7 @@ const xc = jt((e, t) => {
|
|
|
5226
5225
|
hideDownload: y,
|
|
5227
5226
|
headerCustomizer: C,
|
|
5228
5227
|
bodyCustomizer: _,
|
|
5229
|
-
bodySeparator:
|
|
5228
|
+
bodySeparator: W
|
|
5230
5229
|
}
|
|
5231
5230
|
) : null,
|
|
5232
5231
|
!p && n ? /* @__PURE__ */ c.jsx(mc, { counter: N }) : null,
|
|
@@ -5494,19 +5493,19 @@ function Fy(e, t, r) {
|
|
|
5494
5493
|
throw new TypeError(Iy);
|
|
5495
5494
|
t = ba(t) || 0, ky(r) && (d = !!r.leading, f = "maxWait" in r, s = f ? Dy(ba(r.maxWait) || 0, t) : s, p = "trailing" in r ? !!r.trailing : p);
|
|
5496
5495
|
function h($) {
|
|
5497
|
-
var N = n,
|
|
5498
|
-
return n = o = void 0, u = $, i = e.apply(
|
|
5496
|
+
var N = n, W = o;
|
|
5497
|
+
return n = o = void 0, u = $, i = e.apply(W, N), i;
|
|
5499
5498
|
}
|
|
5500
5499
|
function y($) {
|
|
5501
5500
|
return u = $, a = setTimeout(T, t), d ? h($) : i;
|
|
5502
5501
|
}
|
|
5503
5502
|
function x($) {
|
|
5504
|
-
var N = $ - l,
|
|
5505
|
-
return f ? My(K, s -
|
|
5503
|
+
var N = $ - l, W = $ - u, K = t - N;
|
|
5504
|
+
return f ? My(K, s - W) : K;
|
|
5506
5505
|
}
|
|
5507
5506
|
function b($) {
|
|
5508
|
-
var N = $ - l,
|
|
5509
|
-
return l === void 0 || N >= t || N < 0 || f &&
|
|
5507
|
+
var N = $ - l, W = $ - u;
|
|
5508
|
+
return l === void 0 || N >= t || N < 0 || f && W >= s;
|
|
5510
5509
|
}
|
|
5511
5510
|
function T() {
|
|
5512
5511
|
var $ = Go();
|
|
@@ -6749,7 +6748,7 @@ function xw() {
|
|
|
6749
6748
|
}
|
|
6750
6749
|
}
|
|
6751
6750
|
}
|
|
6752
|
-
var _ = l, $ = u, N = a,
|
|
6751
|
+
var _ = l, $ = u, N = a, W = i, K = t, m = d, P = n, L = y, G = h, Z = r, le = s, fe = o, V = f, X = !1;
|
|
6753
6752
|
function oe(D) {
|
|
6754
6753
|
return X || (X = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), w(D) || C(D) === l;
|
|
6755
6754
|
}
|
|
@@ -6759,7 +6758,7 @@ function xw() {
|
|
|
6759
6758
|
function R(D) {
|
|
6760
6759
|
return C(D) === a;
|
|
6761
6760
|
}
|
|
6762
|
-
function
|
|
6761
|
+
function H(D) {
|
|
6763
6762
|
return C(D) === i;
|
|
6764
6763
|
}
|
|
6765
6764
|
function z(D) {
|
|
@@ -6789,7 +6788,7 @@ function xw() {
|
|
|
6789
6788
|
function je(D) {
|
|
6790
6789
|
return C(D) === f;
|
|
6791
6790
|
}
|
|
6792
|
-
he.AsyncMode = _, he.ConcurrentMode = $, he.ContextConsumer = N, he.ContextProvider =
|
|
6791
|
+
he.AsyncMode = _, he.ConcurrentMode = $, he.ContextConsumer = N, he.ContextProvider = W, he.Element = K, he.ForwardRef = m, he.Fragment = P, he.Lazy = L, he.Memo = G, he.Portal = Z, he.Profiler = le, he.StrictMode = fe, he.Suspense = V, he.isAsyncMode = oe, he.isConcurrentMode = w, he.isContextConsumer = R, he.isContextProvider = H, he.isElement = z, he.isForwardRef = Y, he.isFragment = U, he.isLazy = q, he.isMemo = F, he.isPortal = Q, he.isProfiler = re, he.isStrictMode = ee, he.isSuspense = je, he.isValidElementType = A, he.typeOf = C;
|
|
6793
6792
|
}()), he;
|
|
6794
6793
|
}
|
|
6795
6794
|
var Ua;
|
|
@@ -6946,11 +6945,11 @@ function Sw() {
|
|
|
6946
6945
|
elementType: _(),
|
|
6947
6946
|
instanceOf: $,
|
|
6948
6947
|
node: m(),
|
|
6949
|
-
objectOf:
|
|
6948
|
+
objectOf: W,
|
|
6950
6949
|
oneOf: N,
|
|
6951
6950
|
oneOfType: K,
|
|
6952
6951
|
shape: L,
|
|
6953
|
-
exact:
|
|
6952
|
+
exact: G
|
|
6954
6953
|
};
|
|
6955
6954
|
function y(w, R) {
|
|
6956
6955
|
return w === R ? w !== 0 || 1 / w === 1 / R : w !== w && R !== R;
|
|
@@ -6961,7 +6960,7 @@ function Sw() {
|
|
|
6961
6960
|
x.prototype = Error.prototype;
|
|
6962
6961
|
function b(w) {
|
|
6963
6962
|
if (process.env.NODE_ENV !== "production")
|
|
6964
|
-
var R = {},
|
|
6963
|
+
var R = {}, H = 0;
|
|
6965
6964
|
function z(U, q, F, Q, re, ee, je) {
|
|
6966
6965
|
if (Q = Q || p, ee = ee || F, je !== r) {
|
|
6967
6966
|
if (l) {
|
|
@@ -6972,9 +6971,9 @@ function Sw() {
|
|
|
6972
6971
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
6973
6972
|
var Ne = Q + ":" + F;
|
|
6974
6973
|
!R[Ne] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
6975
|
-
|
|
6974
|
+
H < 3 && (s(
|
|
6976
6975
|
"You are manually calling a React.PropTypes validation function for the `" + ee + "` prop on `" + Q + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
6977
|
-
), R[Ne] = !0,
|
|
6976
|
+
), R[Ne] = !0, H++);
|
|
6978
6977
|
}
|
|
6979
6978
|
}
|
|
6980
6979
|
return q[F] == null ? U ? q[F] === null ? new x("The " + re + " `" + ee + "` is marked as required " + ("in `" + Q + "`, but its value is `null`.")) : new x("The " + re + " `" + ee + "` is marked as required in " + ("`" + Q + "`, but its value is `undefined`.")) : null : w(q, F, Q, re, ee);
|
|
@@ -6983,10 +6982,10 @@ function Sw() {
|
|
|
6983
6982
|
return Y.isRequired = z.bind(null, !0), Y;
|
|
6984
6983
|
}
|
|
6985
6984
|
function T(w) {
|
|
6986
|
-
function R(
|
|
6987
|
-
var Q =
|
|
6985
|
+
function R(H, z, Y, U, q, F) {
|
|
6986
|
+
var Q = H[z], re = fe(Q);
|
|
6988
6987
|
if (re !== w) {
|
|
6989
|
-
var ee =
|
|
6988
|
+
var ee = V(Q);
|
|
6990
6989
|
return new x(
|
|
6991
6990
|
"Invalid " + U + " `" + q + "` of type " + ("`" + ee + "` supplied to `" + Y + "`, expected ") + ("`" + w + "`."),
|
|
6992
6991
|
{ expectedType: w }
|
|
@@ -7000,10 +6999,10 @@ function Sw() {
|
|
|
7000
6999
|
return b(i);
|
|
7001
7000
|
}
|
|
7002
7001
|
function A(w) {
|
|
7003
|
-
function R(
|
|
7002
|
+
function R(H, z, Y, U, q) {
|
|
7004
7003
|
if (typeof w != "function")
|
|
7005
7004
|
return new x("Property `" + q + "` of component `" + Y + "` has invalid PropType notation inside arrayOf.");
|
|
7006
|
-
var F =
|
|
7005
|
+
var F = H[z];
|
|
7007
7006
|
if (!Array.isArray(F)) {
|
|
7008
7007
|
var Q = fe(F);
|
|
7009
7008
|
return new x("Invalid " + U + " `" + q + "` of type " + ("`" + Q + "` supplied to `" + Y + "`, expected an array."));
|
|
@@ -7018,8 +7017,8 @@ function Sw() {
|
|
|
7018
7017
|
return b(R);
|
|
7019
7018
|
}
|
|
7020
7019
|
function C() {
|
|
7021
|
-
function w(R,
|
|
7022
|
-
var q = R[
|
|
7020
|
+
function w(R, H, z, Y, U) {
|
|
7021
|
+
var q = R[H];
|
|
7023
7022
|
if (!a(q)) {
|
|
7024
7023
|
var F = fe(q);
|
|
7025
7024
|
return new x("Invalid " + Y + " `" + U + "` of type " + ("`" + F + "` supplied to `" + z + "`, expected a single ReactElement."));
|
|
@@ -7029,8 +7028,8 @@ function Sw() {
|
|
|
7029
7028
|
return b(w);
|
|
7030
7029
|
}
|
|
7031
7030
|
function _() {
|
|
7032
|
-
function w(R,
|
|
7033
|
-
var q = R[
|
|
7031
|
+
function w(R, H, z, Y, U) {
|
|
7032
|
+
var q = R[H];
|
|
7034
7033
|
if (!e.isValidElementType(q)) {
|
|
7035
7034
|
var F = fe(q);
|
|
7036
7035
|
return new x("Invalid " + Y + " `" + U + "` of type " + ("`" + F + "` supplied to `" + z + "`, expected a single ReactElement type."));
|
|
@@ -7040,9 +7039,9 @@ function Sw() {
|
|
|
7040
7039
|
return b(w);
|
|
7041
7040
|
}
|
|
7042
7041
|
function $(w) {
|
|
7043
|
-
function R(
|
|
7044
|
-
if (!(
|
|
7045
|
-
var F = w.name || p, Q = oe(
|
|
7042
|
+
function R(H, z, Y, U, q) {
|
|
7043
|
+
if (!(H[z] instanceof w)) {
|
|
7044
|
+
var F = w.name || p, Q = oe(H[z]);
|
|
7046
7045
|
return new x("Invalid " + U + " `" + q + "` of type " + ("`" + Q + "` supplied to `" + Y + "`, expected ") + ("instance of `" + F + "`."));
|
|
7047
7046
|
}
|
|
7048
7047
|
return null;
|
|
@@ -7054,23 +7053,23 @@ function Sw() {
|
|
|
7054
7053
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? s(
|
|
7055
7054
|
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
7056
7055
|
) : s("Invalid argument supplied to oneOf, expected an array.")), i;
|
|
7057
|
-
function R(
|
|
7058
|
-
for (var F =
|
|
7056
|
+
function R(H, z, Y, U, q) {
|
|
7057
|
+
for (var F = H[z], Q = 0; Q < w.length; Q++)
|
|
7059
7058
|
if (y(F, w[Q]))
|
|
7060
7059
|
return null;
|
|
7061
7060
|
var re = JSON.stringify(w, function(je, D) {
|
|
7062
|
-
var Ne =
|
|
7061
|
+
var Ne = V(D);
|
|
7063
7062
|
return Ne === "symbol" ? String(D) : D;
|
|
7064
7063
|
});
|
|
7065
7064
|
return new x("Invalid " + U + " `" + q + "` of value `" + String(F) + "` " + ("supplied to `" + Y + "`, expected one of " + re + "."));
|
|
7066
7065
|
}
|
|
7067
7066
|
return b(R);
|
|
7068
7067
|
}
|
|
7069
|
-
function
|
|
7070
|
-
function R(
|
|
7068
|
+
function W(w) {
|
|
7069
|
+
function R(H, z, Y, U, q) {
|
|
7071
7070
|
if (typeof w != "function")
|
|
7072
7071
|
return new x("Property `" + q + "` of component `" + Y + "` has invalid PropType notation inside objectOf.");
|
|
7073
|
-
var F =
|
|
7072
|
+
var F = H[z], Q = fe(F);
|
|
7074
7073
|
if (Q !== "object")
|
|
7075
7074
|
return new x("Invalid " + U + " `" + q + "` of type " + ("`" + Q + "` supplied to `" + Y + "`, expected an object."));
|
|
7076
7075
|
for (var re in F)
|
|
@@ -7087,10 +7086,10 @@ function Sw() {
|
|
|
7087
7086
|
if (!Array.isArray(w))
|
|
7088
7087
|
return process.env.NODE_ENV !== "production" && s("Invalid argument supplied to oneOfType, expected an instance of array."), i;
|
|
7089
7088
|
for (var R = 0; R < w.length; R++) {
|
|
7090
|
-
var
|
|
7091
|
-
if (typeof
|
|
7089
|
+
var H = w[R];
|
|
7090
|
+
if (typeof H != "function")
|
|
7092
7091
|
return s(
|
|
7093
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + X(
|
|
7092
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + X(H) + " at index " + R + "."
|
|
7094
7093
|
), i;
|
|
7095
7094
|
}
|
|
7096
7095
|
function z(Y, U, q, F, Q) {
|
|
@@ -7106,25 +7105,25 @@ function Sw() {
|
|
|
7106
7105
|
return b(z);
|
|
7107
7106
|
}
|
|
7108
7107
|
function m() {
|
|
7109
|
-
function w(R,
|
|
7110
|
-
return Z(R[
|
|
7108
|
+
function w(R, H, z, Y, U) {
|
|
7109
|
+
return Z(R[H]) ? null : new x("Invalid " + Y + " `" + U + "` supplied to " + ("`" + z + "`, expected a ReactNode."));
|
|
7111
7110
|
}
|
|
7112
7111
|
return b(w);
|
|
7113
7112
|
}
|
|
7114
|
-
function P(w, R,
|
|
7113
|
+
function P(w, R, H, z, Y) {
|
|
7115
7114
|
return new x(
|
|
7116
|
-
(w || "React class") + ": " + R + " type `" +
|
|
7115
|
+
(w || "React class") + ": " + R + " type `" + H + "." + z + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + Y + "`."
|
|
7117
7116
|
);
|
|
7118
7117
|
}
|
|
7119
7118
|
function L(w) {
|
|
7120
|
-
function R(
|
|
7121
|
-
var F =
|
|
7119
|
+
function R(H, z, Y, U, q) {
|
|
7120
|
+
var F = H[z], Q = fe(F);
|
|
7122
7121
|
if (Q !== "object")
|
|
7123
7122
|
return new x("Invalid " + U + " `" + q + "` of type `" + Q + "` " + ("supplied to `" + Y + "`, expected `object`."));
|
|
7124
7123
|
for (var re in w) {
|
|
7125
7124
|
var ee = w[re];
|
|
7126
7125
|
if (typeof ee != "function")
|
|
7127
|
-
return P(Y, U, q, re,
|
|
7126
|
+
return P(Y, U, q, re, V(ee));
|
|
7128
7127
|
var je = ee(F, re, Y, U, q + "." + re, r);
|
|
7129
7128
|
if (je)
|
|
7130
7129
|
return je;
|
|
@@ -7133,19 +7132,19 @@ function Sw() {
|
|
|
7133
7132
|
}
|
|
7134
7133
|
return b(R);
|
|
7135
7134
|
}
|
|
7136
|
-
function
|
|
7137
|
-
function R(
|
|
7138
|
-
var F =
|
|
7135
|
+
function G(w) {
|
|
7136
|
+
function R(H, z, Y, U, q) {
|
|
7137
|
+
var F = H[z], Q = fe(F);
|
|
7139
7138
|
if (Q !== "object")
|
|
7140
7139
|
return new x("Invalid " + U + " `" + q + "` of type `" + Q + "` " + ("supplied to `" + Y + "`, expected `object`."));
|
|
7141
|
-
var re = t({},
|
|
7140
|
+
var re = t({}, H[z], w);
|
|
7142
7141
|
for (var ee in re) {
|
|
7143
7142
|
var je = w[ee];
|
|
7144
7143
|
if (n(w, ee) && typeof je != "function")
|
|
7145
|
-
return P(Y, U, q, ee,
|
|
7144
|
+
return P(Y, U, q, ee, V(je));
|
|
7146
7145
|
if (!je)
|
|
7147
7146
|
return new x(
|
|
7148
|
-
"Invalid " + U + " `" + q + "` key `" + ee + "` supplied to `" + Y + "`.\nBad object: " + JSON.stringify(
|
|
7147
|
+
"Invalid " + U + " `" + q + "` key `" + ee + "` supplied to `" + Y + "`.\nBad object: " + JSON.stringify(H[z], null, " ") + `
|
|
7149
7148
|
Valid keys: ` + JSON.stringify(Object.keys(w), null, " ")
|
|
7150
7149
|
);
|
|
7151
7150
|
var D = je(F, ee, Y, U, q + "." + ee, r);
|
|
@@ -7171,13 +7170,13 @@ Valid keys: ` + JSON.stringify(Object.keys(w), null, " ")
|
|
|
7171
7170
|
return !0;
|
|
7172
7171
|
var R = f(w);
|
|
7173
7172
|
if (R) {
|
|
7174
|
-
var
|
|
7173
|
+
var H = R.call(w), z;
|
|
7175
7174
|
if (R !== w.entries) {
|
|
7176
|
-
for (; !(z =
|
|
7175
|
+
for (; !(z = H.next()).done; )
|
|
7177
7176
|
if (!Z(z.value))
|
|
7178
7177
|
return !1;
|
|
7179
7178
|
} else
|
|
7180
|
-
for (; !(z =
|
|
7179
|
+
for (; !(z = H.next()).done; ) {
|
|
7181
7180
|
var Y = z.value;
|
|
7182
7181
|
if (Y && !Z(Y[1]))
|
|
7183
7182
|
return !1;
|
|
@@ -7196,7 +7195,7 @@ Valid keys: ` + JSON.stringify(Object.keys(w), null, " ")
|
|
|
7196
7195
|
var R = typeof w;
|
|
7197
7196
|
return Array.isArray(w) ? "array" : w instanceof RegExp ? "object" : le(R, w) ? "symbol" : R;
|
|
7198
7197
|
}
|
|
7199
|
-
function
|
|
7198
|
+
function V(w) {
|
|
7200
7199
|
if (typeof w > "u" || w === null)
|
|
7201
7200
|
return "" + w;
|
|
7202
7201
|
var R = fe(w);
|
|
@@ -7209,7 +7208,7 @@ Valid keys: ` + JSON.stringify(Object.keys(w), null, " ")
|
|
|
7209
7208
|
return R;
|
|
7210
7209
|
}
|
|
7211
7210
|
function X(w) {
|
|
7212
|
-
var R =
|
|
7211
|
+
var R = V(w);
|
|
7213
7212
|
switch (R) {
|
|
7214
7213
|
case "array":
|
|
7215
7214
|
case "object":
|
|
@@ -7419,14 +7418,14 @@ function $w() {
|
|
|
7419
7418
|
}
|
|
7420
7419
|
}
|
|
7421
7420
|
}
|
|
7422
|
-
var $ = i, N = s,
|
|
7421
|
+
var $ = i, N = s, W = e, K = l, m = r, P = p, L = f, G = t, Z = o, le = n, fe = u, V = d, X = !1, oe = !1;
|
|
7423
7422
|
function w(B) {
|
|
7424
7423
|
return X || (X = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
7425
7424
|
}
|
|
7426
7425
|
function R(B) {
|
|
7427
7426
|
return oe || (oe = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
7428
7427
|
}
|
|
7429
|
-
function
|
|
7428
|
+
function H(B) {
|
|
7430
7429
|
return _(B) === i;
|
|
7431
7430
|
}
|
|
7432
7431
|
function z(B) {
|
|
@@ -7462,7 +7461,7 @@ function $w() {
|
|
|
7462
7461
|
function Ne(B) {
|
|
7463
7462
|
return _(B) === d;
|
|
7464
7463
|
}
|
|
7465
|
-
ge.ContextConsumer = $, ge.ContextProvider = N, ge.Element =
|
|
7464
|
+
ge.ContextConsumer = $, ge.ContextProvider = N, ge.Element = W, ge.ForwardRef = K, ge.Fragment = m, ge.Lazy = P, ge.Memo = L, ge.Portal = G, ge.Profiler = Z, ge.StrictMode = le, ge.Suspense = fe, ge.SuspenseList = V, ge.isAsyncMode = w, ge.isConcurrentMode = R, ge.isContextConsumer = H, ge.isContextProvider = z, ge.isElement = Y, ge.isForwardRef = U, ge.isFragment = q, ge.isLazy = F, ge.isMemo = Q, ge.isPortal = re, ge.isProfiler = ee, ge.isStrictMode = je, ge.isSuspense = D, ge.isSuspenseList = Ne, ge.isValidElementType = C, ge.typeOf = _;
|
|
7466
7465
|
}()), ge;
|
|
7467
7466
|
}
|
|
7468
7467
|
process.env.NODE_ENV === "production" ? Os.exports = Ow() : Os.exports = $w();
|
|
@@ -8633,9 +8632,9 @@ var VE = function(t) {
|
|
|
8633
8632
|
typeof x.className == "string" ? A = IE(b.registered, C, x.className) : x.className != null && (A = x.className + " ");
|
|
8634
8633
|
var N = Au(f.concat(C), b.registered, _);
|
|
8635
8634
|
A += b.key + "-" + N.name, i !== void 0 && (A += " " + i);
|
|
8636
|
-
var
|
|
8635
|
+
var W = u && a === void 0 ? sl(E) : l, K = {};
|
|
8637
8636
|
for (var m in x)
|
|
8638
|
-
u && m === "as" ||
|
|
8637
|
+
u && m === "as" || W(m) && (K[m] = x[m]);
|
|
8639
8638
|
return K.className = A, T && (K.ref = T), /* @__PURE__ */ Ke.createElement(Ke.Fragment, null, /* @__PURE__ */ Ke.createElement(KE, {
|
|
8640
8639
|
cache: b,
|
|
8641
8640
|
serialized: N,
|
|
@@ -9038,32 +9037,32 @@ function aC(e = {}) {
|
|
|
9038
9037
|
};
|
|
9039
9038
|
if (At(_)) {
|
|
9040
9039
|
const $ = ju(_);
|
|
9041
|
-
return $.variants ? function(
|
|
9042
|
-
return Gn(
|
|
9040
|
+
return $.variants ? function(W) {
|
|
9041
|
+
return Gn(W, $);
|
|
9043
9042
|
} : $.style;
|
|
9044
9043
|
}
|
|
9045
9044
|
return _;
|
|
9046
9045
|
}, C = (..._) => {
|
|
9047
|
-
const $ = [], N = _.map(A),
|
|
9048
|
-
if ($.push(s), u && h &&
|
|
9049
|
-
var fe,
|
|
9050
|
-
const Z = (
|
|
9046
|
+
const $ = [], N = _.map(A), W = [];
|
|
9047
|
+
if ($.push(s), u && h && W.push(function(L) {
|
|
9048
|
+
var fe, V;
|
|
9049
|
+
const Z = (V = (fe = L.theme.components) == null ? void 0 : fe[u]) == null ? void 0 : V.styleOverrides;
|
|
9051
9050
|
if (!Z)
|
|
9052
9051
|
return null;
|
|
9053
9052
|
const le = {};
|
|
9054
9053
|
for (const X in Z)
|
|
9055
9054
|
le[X] = Gn(L, Z[X]);
|
|
9056
9055
|
return h(L, le);
|
|
9057
|
-
}), u && !x &&
|
|
9056
|
+
}), u && !x && W.push(function(L) {
|
|
9058
9057
|
var le, fe;
|
|
9059
|
-
const
|
|
9058
|
+
const G = L.theme, Z = (fe = (le = G == null ? void 0 : G.components) == null ? void 0 : le[u]) == null ? void 0 : fe.variants;
|
|
9060
9059
|
return Z ? Pu(L, Z) : null;
|
|
9061
|
-
}), b ||
|
|
9062
|
-
const P = N.shift(), L = new Array($.length).fill(""),
|
|
9060
|
+
}), b || W.push(wr), Array.isArray(N[0])) {
|
|
9061
|
+
const P = N.shift(), L = new Array($.length).fill(""), G = new Array(W.length).fill("");
|
|
9063
9062
|
let Z;
|
|
9064
|
-
Z = [...L, ...P, ...
|
|
9063
|
+
Z = [...L, ...P, ...G], Z.raw = [...L, ...P.raw, ...G], $.unshift(Z);
|
|
9065
9064
|
}
|
|
9066
|
-
const K = [...$, ...N, ...
|
|
9065
|
+
const K = [...$, ...N, ...W], m = E(...K);
|
|
9067
9066
|
return a.muiName && (m.muiName = a.muiName), process.env.NODE_ENV !== "production" && (m.displayName = lC(u, d, a)), m;
|
|
9068
9067
|
};
|
|
9069
9068
|
return E.withConfig && (C.withConfig = E.withConfig), C;
|
|
@@ -9365,7 +9364,7 @@ function SC(e, t = {}) {
|
|
|
9365
9364
|
}), A;
|
|
9366
9365
|
},
|
|
9367
9366
|
generateStyleSheets: () => {
|
|
9368
|
-
var
|
|
9367
|
+
var W, K;
|
|
9369
9368
|
const A = [], C = e.defaultColorScheme || "light";
|
|
9370
9369
|
function _(m, P) {
|
|
9371
9370
|
Object.keys(P).length && A.push(typeof m == "string" ? {
|
|
@@ -9384,7 +9383,7 @@ function SC(e, t = {}) {
|
|
|
9384
9383
|
if ($) {
|
|
9385
9384
|
const {
|
|
9386
9385
|
css: m
|
|
9387
|
-
} = $, P = (K = (
|
|
9386
|
+
} = $, P = (K = (W = s[C]) == null ? void 0 : W.palette) == null ? void 0 : K.mode, L = !n && P ? {
|
|
9388
9387
|
colorScheme: P,
|
|
9389
9388
|
...m
|
|
9390
9389
|
} : {
|
|
@@ -9398,15 +9397,15 @@ function SC(e, t = {}) {
|
|
|
9398
9397
|
css: P
|
|
9399
9398
|
}]) => {
|
|
9400
9399
|
var Z, le;
|
|
9401
|
-
const L = (le = (Z = s[m]) == null ? void 0 : Z.palette) == null ? void 0 : le.mode,
|
|
9400
|
+
const L = (le = (Z = s[m]) == null ? void 0 : Z.palette) == null ? void 0 : le.mode, G = !n && L ? {
|
|
9402
9401
|
colorScheme: L,
|
|
9403
9402
|
...P
|
|
9404
9403
|
} : {
|
|
9405
9404
|
...P
|
|
9406
9405
|
};
|
|
9407
9406
|
_(r(m, {
|
|
9408
|
-
...
|
|
9409
|
-
}),
|
|
9407
|
+
...G
|
|
9408
|
+
}), G);
|
|
9410
9409
|
}), A;
|
|
9411
9410
|
}
|
|
9412
9411
|
};
|
|
@@ -10211,7 +10210,7 @@ function rA(e = {}, ...t) {
|
|
|
10211
10210
|
};
|
|
10212
10211
|
Object.keys(C.colorSchemes).forEach((K) => {
|
|
10213
10212
|
const m = C.colorSchemes[K].palette, P = (L) => {
|
|
10214
|
-
const
|
|
10213
|
+
const G = L.split("-"), Z = G[1], le = G[2];
|
|
10215
10214
|
return p(L, m[Z][le]);
|
|
10216
10215
|
};
|
|
10217
10216
|
if (m.mode === "light" && (S(m.common, "background", "#fff"), S(m.common, "onBackground", "#000")), m.mode === "dark" && (S(m.common, "background", "#000"), S(m.common, "onBackground", "#fff")), QC(m, ["Alert", "AppBar", "Avatar", "Button", "Chip", "FilledInput", "LinearProgress", "Skeleton", "Slider", "SnackbarContent", "SpeedDialAction", "StepConnector", "StepContent", "Switch", "TableCell", "Tooltip"]), m.mode === "light") {
|
|
@@ -10225,8 +10224,8 @@ function rA(e = {}, ...t) {
|
|
|
10225
10224
|
S(m.SnackbarContent, "bg", L), S(m.SnackbarContent, "color", gt(() => m.getContrastText(L))), S(m.SpeedDialAction, "fabHoverBg", zn(m.background.paper, 0.15)), S(m.StepConnector, "border", P("palette-grey-600")), S(m.StepContent, "border", P("palette-grey-600")), S(m.Switch, "defaultColor", P("palette-grey-300")), S(m.Switch, "defaultDisabledColor", P("palette-grey-600")), S(m.Switch, "primaryDisabledColor", Te(m.primary.main, 0.55)), S(m.Switch, "secondaryDisabledColor", Te(m.secondary.main, 0.55)), S(m.Switch, "errorDisabledColor", Te(m.error.main, 0.55)), S(m.Switch, "infoDisabledColor", Te(m.info.main, 0.55)), S(m.Switch, "successDisabledColor", Te(m.success.main, 0.55)), S(m.Switch, "warningDisabledColor", Te(m.warning.main, 0.55)), S(m.TableCell, "border", Te(Ln(m.divider, 1), 0.68)), S(m.Tooltip, "bg", Ln(m.grey[700], 0.92));
|
|
10226
10225
|
}
|
|
10227
10226
|
Ct(m.background, "default"), Ct(m.background, "paper"), Ct(m.common, "background"), Ct(m.common, "onBackground"), Ct(m, "divider"), Object.keys(m).forEach((L) => {
|
|
10228
|
-
const
|
|
10229
|
-
|
|
10227
|
+
const G = m[L];
|
|
10228
|
+
G && typeof G == "object" && (G.main && S(m[L], "mainChannel", en(tn(G.main))), G.light && S(m[L], "lightChannel", en(tn(G.light))), G.dark && S(m[L], "darkChannel", en(tn(G.dark))), G.contrastText && S(m[L], "contrastTextChannel", en(tn(G.contrastText))), L === "text" && (Ct(m[L], "primary"), Ct(m[L], "secondary")), L === "action" && (G.active && Ct(m[L], "active"), G.selected && Ct(m[L], "selected")));
|
|
10230
10229
|
});
|
|
10231
10230
|
}), C = t.reduce((K, m) => ot(K, m), C);
|
|
10232
10231
|
const _ = {
|
|
@@ -10237,11 +10236,11 @@ function rA(e = {}, ...t) {
|
|
|
10237
10236
|
}, {
|
|
10238
10237
|
vars: $,
|
|
10239
10238
|
generateThemeVars: N,
|
|
10240
|
-
generateStyleSheets:
|
|
10239
|
+
generateStyleSheets: W
|
|
10241
10240
|
} = SC(C, _);
|
|
10242
10241
|
return C.vars = $, Object.entries(C.colorSchemes[C.defaultColorScheme]).forEach(([K, m]) => {
|
|
10243
10242
|
C[K] = m;
|
|
10244
|
-
}), C.generateThemeVars = N, C.generateStyleSheets =
|
|
10243
|
+
}), C.generateThemeVars = N, C.generateStyleSheets = W, C.generateSpacing = function() {
|
|
10245
10244
|
return Ou(u.spacing, pi(this));
|
|
10246
10245
|
}, C.getColorSchemeSelector = wC(a), C.spacing = C.generateSpacing(), C.shouldSkipGeneratingVar = i, C.unstable_sxConfig = {
|
|
10247
10246
|
...Ro,
|
|
@@ -11319,7 +11318,7 @@ const TO = (e, t) => {
|
|
|
11319
11318
|
}
|
|
11320
11319
|
};
|
|
11321
11320
|
function SO({ headerConfig: e, column: t, table: r }) {
|
|
11322
|
-
var fe,
|
|
11321
|
+
var fe, V, X, oe;
|
|
11323
11322
|
const { info: n, data: o, queryParams: s, setQueryParams: i } = ye(), {
|
|
11324
11323
|
filterComponent: a,
|
|
11325
11324
|
filterProps: l,
|
|
@@ -11330,18 +11329,18 @@ function SO({ headerConfig: e, column: t, table: r }) {
|
|
|
11330
11329
|
} = e, [h, y] = ne("Basic filters"), [x, { close: b, toggle: T }] = tf(), E = ((fe = r.getState().filterComponent) == null ? void 0 : fe[t.id]) || f, A = te(() => E, [E]), C = mn({ initialValues: { value: "" } }), _ = ve(
|
|
11331
11330
|
(w) => {
|
|
11332
11331
|
r.setState((R) => {
|
|
11333
|
-
const
|
|
11334
|
-
return w ?
|
|
11332
|
+
const H = R.columnTextFilter || {};
|
|
11333
|
+
return w ? H[t.id] = w : delete H[t.id], { ...R, columnTextFilter: H };
|
|
11335
11334
|
});
|
|
11336
11335
|
},
|
|
11337
11336
|
[t.id, r]
|
|
11338
11337
|
), $ = te(() => (n == null ? void 0 : n.filters[t.id]) || {}, [t.id, n == null ? void 0 : n.filters]), N = te(
|
|
11339
11338
|
() => {
|
|
11340
11339
|
var w;
|
|
11341
|
-
return ((w = $ == null ? void 0 : $.filters) == null ? void 0 : w.reduce((R,
|
|
11340
|
+
return ((w = $ == null ? void 0 : $.filters) == null ? void 0 : w.reduce((R, H) => ({ ...R, [H.operator]: H.name }), {})) || {};
|
|
11342
11341
|
},
|
|
11343
11342
|
[$ == null ? void 0 : $.filters]
|
|
11344
|
-
),
|
|
11343
|
+
), W = te(
|
|
11345
11344
|
() => (s == null ? void 0 : s.filters.filter((w) => w.col === t.id && Sr(w.opr)).map((w) => ({ ...w }))) || [],
|
|
11346
11345
|
[s, t.id]
|
|
11347
11346
|
), [K] = Ds(C.getInputProps("value").value, yn);
|
|
@@ -11360,13 +11359,13 @@ function SO({ headerConfig: e, column: t, table: r }) {
|
|
|
11360
11359
|
return Y;
|
|
11361
11360
|
}).filter(Boolean);
|
|
11362
11361
|
!w && K && R.push({ col: t.id, opr: A, value: K });
|
|
11363
|
-
const
|
|
11364
|
-
|
|
11362
|
+
const H = JSON.stringify(R), z = JSON.stringify(s.filters);
|
|
11363
|
+
H !== z && (_(K), i({ filters: R }));
|
|
11365
11364
|
}, [K]);
|
|
11366
11365
|
const m = te(() => {
|
|
11367
|
-
var
|
|
11366
|
+
var H;
|
|
11368
11367
|
const w = { variant: "transparent" };
|
|
11369
|
-
return !((
|
|
11368
|
+
return !((H = $ == null ? void 0 : $.filters) != null && H.length) && (w.disabled = !0, w.c = "gray"), w;
|
|
11370
11369
|
}, [$ == null ? void 0 : $.filters]), P = ve(
|
|
11371
11370
|
(w) => {
|
|
11372
11371
|
if (h === w)
|
|
@@ -11377,7 +11376,7 @@ function SO({ headerConfig: e, column: t, table: r }) {
|
|
|
11377
11376
|
);
|
|
11378
11377
|
let L = null;
|
|
11379
11378
|
h === "Basic filters" ? L = /* @__PURE__ */ c.jsx(xO, { filterNameMap: N, col: t.id, opr: A, table: r }) : h === "Advanced filters" && (L = /* @__PURE__ */ c.jsx(vO, { col: t.id, colFilter: $, filterNameMap: N }));
|
|
11380
|
-
const
|
|
11379
|
+
const G = te(() => h === "Basic filters" ? { arrowOffset: "3.25rem" } : h === "Advanced filters" ? {
|
|
11381
11380
|
width: "target"
|
|
11382
11381
|
} : {}, [h]), Z = te(
|
|
11383
11382
|
() => yO(
|
|
@@ -11398,7 +11397,7 @@ function SO({ headerConfig: e, column: t, table: r }) {
|
|
|
11398
11397
|
shadow: "md",
|
|
11399
11398
|
withArrow: !0,
|
|
11400
11399
|
position: "bottom-end",
|
|
11401
|
-
...
|
|
11400
|
+
...G,
|
|
11402
11401
|
children: [
|
|
11403
11402
|
/* @__PURE__ */ c.jsx(vr.Target, { children: /* @__PURE__ */ c.jsxs(Jt, { w: "100%", gap: "0.25rem", children: [
|
|
11404
11403
|
/* @__PURE__ */ c.jsxs(lt, { gap: "xs", justify: "space-between", wrap: "nowrap", children: [
|
|
@@ -11408,7 +11407,7 @@ function SO({ headerConfig: e, column: t, table: r }) {
|
|
|
11408
11407
|
component: Z,
|
|
11409
11408
|
selectIcon: /* @__PURE__ */ c.jsx(Is, { label: "Select basic filter", children: /* @__PURE__ */ c.jsx(Ue, { ...m, onClick: () => P("Basic filters"), children: /* @__PURE__ */ c.jsx(ys, {}) }) }),
|
|
11410
11409
|
disabled: !N[A],
|
|
11411
|
-
placeholder: `Filter by ${((
|
|
11410
|
+
placeholder: `Filter by ${((V = o == null ? void 0 : o.label_columns) == null ? void 0 : V[t.id]) || t.id}`,
|
|
11412
11411
|
...C.getInputProps("value"),
|
|
11413
11412
|
style: { fontWeight: "normal" },
|
|
11414
11413
|
w: "100%",
|
|
@@ -11418,12 +11417,12 @@ function SO({ headerConfig: e, column: t, table: r }) {
|
|
|
11418
11417
|
/* @__PURE__ */ c.jsx(
|
|
11419
11418
|
Ft,
|
|
11420
11419
|
{
|
|
11421
|
-
fallback: /* @__PURE__ */ c.jsx(Is, { label: "Advanced Filter", disabled: !((X = $ == null ? void 0 : $.filters) != null && X.length), children: /* @__PURE__ */ c.jsx(Wu, { indicator:
|
|
11420
|
+
fallback: /* @__PURE__ */ c.jsx(Is, { label: "Advanced Filter", disabled: !((X = $ == null ? void 0 : $.filters) != null && X.length), children: /* @__PURE__ */ c.jsx(Wu, { indicator: W.length, children: /* @__PURE__ */ c.jsx(Ue, { ...m, onClick: () => P("Advanced filters"), children: /* @__PURE__ */ c.jsx(ip, {}) }) }) }),
|
|
11422
11421
|
functionProps: [
|
|
11423
11422
|
{
|
|
11424
11423
|
label: "Advanced filters",
|
|
11425
11424
|
disabled: !((oe = $ == null ? void 0 : $.filters) != null && oe.length),
|
|
11426
|
-
indicator:
|
|
11425
|
+
indicator: W.length,
|
|
11427
11426
|
aiProps: m,
|
|
11428
11427
|
onClick: () => P("Advanced filters")
|
|
11429
11428
|
}
|
|
@@ -11781,50 +11780,50 @@ const FO = { enableStickyHeader: !0, enableColumnPinning: !0 }, NO = jt((e, t) =
|
|
|
11781
11780
|
withBorder: _,
|
|
11782
11781
|
columnProps: $,
|
|
11783
11782
|
header: N,
|
|
11784
|
-
body:
|
|
11783
|
+
body: W,
|
|
11785
11784
|
textFilterSeparator: K = ";",
|
|
11786
11785
|
bodySeparator: m,
|
|
11787
11786
|
bodyTruncate: P,
|
|
11788
11787
|
...L
|
|
11789
11788
|
} = e;
|
|
11790
|
-
m && (console.warn("bodySeparator is deprecated, please use body.[col].separator instead"), Object.keys(
|
|
11791
|
-
|
|
11792
|
-
})), P && (console.warn("bodyTruncate is deprecated, please use body.[col].truncate instead"), Object.keys(
|
|
11793
|
-
|
|
11789
|
+
m && (console.warn("bodySeparator is deprecated, please use body.[col].separator instead"), Object.keys(W).forEach((F) => {
|
|
11790
|
+
W[F] = W[F] || {}, W[F].separator = W[F].separator || m;
|
|
11791
|
+
})), P && (console.warn("bodyTruncate is deprecated, please use body.[col].truncate instead"), Object.keys(W).forEach((F) => {
|
|
11792
|
+
W[F] = W[F] || {}, W[F].truncate = W[F].truncate || P;
|
|
11794
11793
|
})), i && (console.warn("headerCustomizer is deprecated, please use header.[col].component instead"), Object.keys(i).forEach((F) => {
|
|
11795
11794
|
N[F] = N[F] || {}, N[F].component = i[F].component || i[F];
|
|
11796
11795
|
})), a && (console.warn("bodyCustomizer is deprecated, please use body.[col].component instead"), Object.keys(a).forEach((F) => {
|
|
11797
|
-
|
|
11796
|
+
W[F] = W[F] || {}, W[F].component = a[F].component || a[F];
|
|
11798
11797
|
}));
|
|
11799
|
-
const
|
|
11798
|
+
const G = CO(), Z = PO(), le = $O(y), fe = EO($, N, W, K), V = jO(_), X = hO(h, (q = nn(W, o.actions)) == null ? void 0 : q.component), oe = OO(), w = MO(), R = DO(C, l, u, d, f, p), H = AO(T), z = mO(b, E), Y = te(
|
|
11800
11799
|
() => xi(
|
|
11801
11800
|
FO,
|
|
11802
11801
|
{ mantinePaperProps: { ref: t } },
|
|
11803
11802
|
fe,
|
|
11804
|
-
|
|
11803
|
+
G,
|
|
11805
11804
|
Z,
|
|
11806
11805
|
le,
|
|
11807
|
-
|
|
11806
|
+
V,
|
|
11808
11807
|
X,
|
|
11809
11808
|
oe,
|
|
11810
11809
|
w,
|
|
11811
11810
|
R,
|
|
11812
|
-
|
|
11811
|
+
H,
|
|
11813
11812
|
z,
|
|
11814
11813
|
A
|
|
11815
11814
|
),
|
|
11816
11815
|
[
|
|
11817
11816
|
t,
|
|
11818
11817
|
fe,
|
|
11819
|
-
|
|
11818
|
+
G,
|
|
11820
11819
|
Z,
|
|
11821
11820
|
le,
|
|
11822
|
-
|
|
11821
|
+
V,
|
|
11823
11822
|
X,
|
|
11824
11823
|
oe,
|
|
11825
11824
|
w,
|
|
11826
11825
|
R,
|
|
11827
|
-
|
|
11826
|
+
H,
|
|
11828
11827
|
z,
|
|
11829
11828
|
A
|
|
11830
11829
|
]
|