mig-schema-table 4.4.28 → 4.4.29
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.
|
@@ -258,29 +258,29 @@ function W$() {
|
|
|
258
258
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
259
259
|
try {
|
|
260
260
|
Reflect.construct(Re, []);
|
|
261
|
-
} catch (
|
|
262
|
-
De =
|
|
261
|
+
} catch (ge) {
|
|
262
|
+
De = ge;
|
|
263
263
|
}
|
|
264
264
|
Reflect.construct(x, [], Re);
|
|
265
265
|
} else {
|
|
266
266
|
try {
|
|
267
267
|
Re.call();
|
|
268
|
-
} catch (
|
|
269
|
-
De =
|
|
268
|
+
} catch (ge) {
|
|
269
|
+
De = ge;
|
|
270
270
|
}
|
|
271
271
|
x.call(Re.prototype);
|
|
272
272
|
}
|
|
273
273
|
} else {
|
|
274
274
|
try {
|
|
275
275
|
throw Error();
|
|
276
|
-
} catch (
|
|
277
|
-
De =
|
|
276
|
+
} catch (ge) {
|
|
277
|
+
De = ge;
|
|
278
278
|
}
|
|
279
279
|
x();
|
|
280
280
|
}
|
|
281
|
-
} catch (
|
|
282
|
-
if (
|
|
283
|
-
for (var Oe =
|
|
281
|
+
} catch (ge) {
|
|
282
|
+
if (ge && De && typeof ge.stack == "string") {
|
|
283
|
+
for (var Oe = ge.stack.split(`
|
|
284
284
|
`), Tt = De.stack.split(`
|
|
285
285
|
`), it = Oe.length - 1, ee = Tt.length - 1; it >= 1 && ee >= 0 && Oe[it] !== Tt[ee]; )
|
|
286
286
|
ee--;
|
|
@@ -289,9 +289,9 @@ function W$() {
|
|
|
289
289
|
if (it !== 1 || ee !== 1)
|
|
290
290
|
do
|
|
291
291
|
if (it--, ee--, ee < 0 || Oe[it] !== Tt[ee]) {
|
|
292
|
-
var
|
|
292
|
+
var fe = `
|
|
293
293
|
` + Oe[it].replace(" at new ", " at ");
|
|
294
|
-
return x.displayName &&
|
|
294
|
+
return x.displayName && fe.includes("<anonymous>") && (fe = fe.replace("<anonymous>", x.displayName)), typeof x == "function" && Tn.set(x, fe), fe;
|
|
295
295
|
}
|
|
296
296
|
while (it >= 1 && ee >= 0);
|
|
297
297
|
break;
|
|
@@ -610,24 +610,24 @@ Check the top-level render call using <` + de + ">.");
|
|
|
610
610
|
if (ee == null)
|
|
611
611
|
return ee;
|
|
612
612
|
if (Re) {
|
|
613
|
-
var
|
|
614
|
-
if (
|
|
613
|
+
var fe = B.children;
|
|
614
|
+
if (fe !== void 0)
|
|
615
615
|
if (De)
|
|
616
|
-
if (Qt(
|
|
617
|
-
for (var Pe = 0; Pe <
|
|
618
|
-
ci(
|
|
619
|
-
Object.freeze && Object.freeze(
|
|
616
|
+
if (Qt(fe)) {
|
|
617
|
+
for (var Pe = 0; Pe < fe.length; Pe++)
|
|
618
|
+
ci(fe[Pe], x);
|
|
619
|
+
Object.freeze && Object.freeze(fe);
|
|
620
620
|
} else
|
|
621
621
|
j("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
622
622
|
else
|
|
623
|
-
ci(
|
|
623
|
+
ci(fe, x);
|
|
624
624
|
}
|
|
625
625
|
if (Xt.call(B, "key")) {
|
|
626
|
-
var ce = te(x),
|
|
626
|
+
var ce = te(x), ge = Object.keys(B).filter(function(zt) {
|
|
627
627
|
return zt !== "key";
|
|
628
|
-
}), Ee =
|
|
628
|
+
}), Ee = ge.length > 0 ? "{key: someKey, " + ge.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
629
629
|
if (!ya[ce + Ee]) {
|
|
630
|
-
var _e =
|
|
630
|
+
var _e = ge.length > 0 ? "{" + ge.join(": ..., ") + ": ...}" : "{}";
|
|
631
631
|
j(`A props object containing a "key" prop is being spread into JSX:
|
|
632
632
|
let props = %s;
|
|
633
633
|
<%s {...props} />
|
|
@@ -42322,7 +42322,7 @@ ku.exports;
|
|
|
42322
42322
|
["partial", W],
|
|
42323
42323
|
["partialRight", z],
|
|
42324
42324
|
["rearg", A]
|
|
42325
|
-
], at = "[object Arguments]", ht = "[object Array]", yn = "[object AsyncFunction]", Yt = "[object Boolean]", rn = "[object Date]", Tn = "[object DOMException]", Ot = "[object Error]", Vt = "[object Function]", rt = "[object GeneratorFunction]", He = "[object Map]", Wt = "[object Number]", Xt = "[object Null]", xt = "[object Object]", ma = "[object Promise]", ft = "[object Proxy]", Le = "[object RegExp]", qt = "[object Set]", Qt = "[object String]", ha = "[object Symbol]", be = "[object Undefined]", on = "[object WeakMap]", ut = "[object WeakSet]", fa = "[object ArrayBuffer]", Pn = "[object DataView]", ea = "[object Float32Array]", or = "[object Float64Array]", ta = "[object Int8Array]", na = "[object Int16Array]", Gt = "[object Int32Array]", zr = "[object Uint8Array]", ga = "[object Uint8ClampedArray]", pa = "[object Uint16Array]", St = "[object Uint32Array]", va = /\b__p \+= '';/g, aa = /\b(__p \+=) '' \+/g, Ln = /(__e\(.*?\)|\b__t\)) \+\n'';/g, wa = /&(?:amp|lt|gt|quot|#39);/g, It = /[&<>"']/g, za = RegExp(wa.source), Fa = RegExp(It.source), gt = /<%-([\s\S]+?)%>/g, li = /<%([\s\S]+?)%>/g, Ra = /<%=([\s\S]+?)%>/g, ci = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, ba = /^\w*$/, mi = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, ya = /[\\^$.*+?()[\]{}|]/g, sn = RegExp(ya.source), ra = /^\s+/, ia = /\s/, to = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, no = /\{\n\/\* \[wrapped with (.+)\] \*/, x = /,? & /, B = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, de = /[()=,{}\[\]\/\s]/, De = /\\(\\)?/g, Ye = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, Ge = /\w*$/, Re = /^[-+]0x[0-9a-f]+$/i, Oe = /^0b[01]+$/i, Tt = /^\[object .+?Constructor\]$/, it = /^0o[0-7]+$/i, ee = /^(?:0|[1-9]\d*)$/,
|
|
42325
|
+
], at = "[object Arguments]", ht = "[object Array]", yn = "[object AsyncFunction]", Yt = "[object Boolean]", rn = "[object Date]", Tn = "[object DOMException]", Ot = "[object Error]", Vt = "[object Function]", rt = "[object GeneratorFunction]", He = "[object Map]", Wt = "[object Number]", Xt = "[object Null]", xt = "[object Object]", ma = "[object Promise]", ft = "[object Proxy]", Le = "[object RegExp]", qt = "[object Set]", Qt = "[object String]", ha = "[object Symbol]", be = "[object Undefined]", on = "[object WeakMap]", ut = "[object WeakSet]", fa = "[object ArrayBuffer]", Pn = "[object DataView]", ea = "[object Float32Array]", or = "[object Float64Array]", ta = "[object Int8Array]", na = "[object Int16Array]", Gt = "[object Int32Array]", zr = "[object Uint8Array]", ga = "[object Uint8ClampedArray]", pa = "[object Uint16Array]", St = "[object Uint32Array]", va = /\b__p \+= '';/g, aa = /\b(__p \+=) '' \+/g, Ln = /(__e\(.*?\)|\b__t\)) \+\n'';/g, wa = /&(?:amp|lt|gt|quot|#39);/g, It = /[&<>"']/g, za = RegExp(wa.source), Fa = RegExp(It.source), gt = /<%-([\s\S]+?)%>/g, li = /<%([\s\S]+?)%>/g, Ra = /<%=([\s\S]+?)%>/g, ci = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, ba = /^\w*$/, mi = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, ya = /[\\^$.*+?()[\]{}|]/g, sn = RegExp(ya.source), ra = /^\s+/, ia = /\s/, to = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, no = /\{\n\/\* \[wrapped with (.+)\] \*/, x = /,? & /, B = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, de = /[()=,{}\[\]\/\s]/, De = /\\(\\)?/g, Ye = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, Ge = /\w*$/, Re = /^[-+]0x[0-9a-f]+$/i, Oe = /^0b[01]+$/i, Tt = /^\[object .+?Constructor\]$/, it = /^0o[0-7]+$/i, ee = /^(?:0|[1-9]\d*)$/, fe = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, Pe = /($^)/, ce = /['\n\r\u2028\u2029\\]/g, ge = "\\ud800-\\udfff", Ee = "\\u0300-\\u036f", _e = "\\ufe20-\\ufe2f", zt = "\\u20d0-\\u20ff", Ct = Ee + _e + zt, Et = "\\u2700-\\u27bf", Zt = "a-z\\xdf-\\xf6\\xf8-\\xff", Ft = "\\xac\\xb1\\xd7\\xf7", La = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", ts = "\\u2000-\\u206f", hi = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", Gc = "A-Z\\xc0-\\xd6\\xd8-\\xde", Bc = "\\ufe0e\\ufe0f", Kc = Ft + La + ts + hi, td = "['’]", bw = "[" + ge + "]", Uc = "[" + Kc + "]", ns = "[" + Ct + "]", Jc = "\\d+", yw = "[" + Et + "]", Zc = "[" + Zt + "]", em = "[^" + ge + Kc + Jc + Et + Zt + Gc + "]", nd = "\\ud83c[\\udffb-\\udfff]", Pw = "(?:" + ns + "|" + nd + ")", tm = "[^" + ge + "]", ad = "(?:\\ud83c[\\udde6-\\uddff]){2}", rd = "[\\ud800-\\udbff][\\udc00-\\udfff]", fi = "[" + Gc + "]", nm = "\\u200d", am = "(?:" + Zc + "|" + em + ")", Mw = "(?:" + fi + "|" + em + ")", rm = "(?:" + td + "(?:d|ll|m|re|s|t|ve))?", im = "(?:" + td + "(?:D|LL|M|RE|S|T|VE))?", om = Pw + "?", sm = "[" + Bc + "]?", kw = "(?:" + nm + "(?:" + [tm, ad, rd].join("|") + ")" + sm + om + ")*", $w = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", Dw = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", um = sm + om + kw, Ww = "(?:" + [yw, ad, rd].join("|") + ")" + um, xw = "(?:" + [tm + ns + "?", ns, ad, rd, bw].join("|") + ")", _w = RegExp(td, "g"), Sw = RegExp(ns, "g"), id = RegExp(nd + "(?=" + nd + ")|" + xw + um, "g"), Tw = RegExp([
|
|
42326
42326
|
fi + "?" + Zc + "+" + rm + "(?=" + [Uc, fi, "$"].join("|") + ")",
|
|
42327
42327
|
Mw + "+" + im + "(?=" + [Uc, fi + am, "$"].join("|") + ")",
|
|
42328
42328
|
fi + "?" + am + "+" + rm,
|
|
@@ -42331,7 +42331,7 @@ ku.exports;
|
|
|
42331
42331
|
$w,
|
|
42332
42332
|
Jc,
|
|
42333
42333
|
Ww
|
|
42334
|
-
].join("|"), "g"), Cw = RegExp("[" + nm +
|
|
42334
|
+
].join("|"), "g"), Cw = RegExp("[" + nm + ge + Ct + Bc + "]"), Ew = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/, jw = [
|
|
42335
42335
|
"Array",
|
|
42336
42336
|
"Buffer",
|
|
42337
42337
|
"DataView",
|
|
@@ -45541,7 +45541,7 @@ ku.exports;
|
|
|
45541
45541
|
return rl(Ue(i).toLowerCase());
|
|
45542
45542
|
}
|
|
45543
45543
|
function mf(i) {
|
|
45544
|
-
return i = Ue(i), i && i.replace(
|
|
45544
|
+
return i = Ue(i), i && i.replace(fe, Jw).replace(Sw, "");
|
|
45545
45545
|
}
|
|
45546
45546
|
function dk(i, o, d) {
|
|
45547
45547
|
i = Ue(i), o = jn(o);
|
|
@@ -51093,14 +51093,14 @@ const Gbe = ({
|
|
|
51093
51093
|
}, [je]), _.useEffect(() => {
|
|
51094
51094
|
if (!je)
|
|
51095
51095
|
return;
|
|
51096
|
-
const { columnFilterMap: ee, searchQuery:
|
|
51097
|
-
searchQuery:
|
|
51096
|
+
const { columnFilterMap: ee, searchQuery: fe, sortAsc: Pe, sortColumn: ce } = ut || {}, ge = {
|
|
51097
|
+
searchQuery: fe || "",
|
|
51098
51098
|
columnFilterMap: ee || c || {},
|
|
51099
51099
|
sortAsc: Pe === void 0 ? h : Pe,
|
|
51100
51100
|
sortColumn: ce === void 0 ? f : ce
|
|
51101
51101
|
};
|
|
51102
51102
|
on(
|
|
51103
|
-
(Ee) => Ur.isEqual(
|
|
51103
|
+
(Ee) => Ur.isEqual(ge, Ee) ? Ee : ge
|
|
51104
51104
|
);
|
|
51105
51105
|
}, [
|
|
51106
51106
|
ut,
|
|
@@ -51134,27 +51134,27 @@ const Gbe = ({
|
|
|
51134
51134
|
if (at)
|
|
51135
51135
|
return at;
|
|
51136
51136
|
const ee = ga ? JSON.parse(ga) : void 0;
|
|
51137
|
-
let
|
|
51138
|
-
if (Z &&
|
|
51137
|
+
let fe = Object.keys(Gt);
|
|
51138
|
+
if (Z && fe.unshift(zn), s) {
|
|
51139
51139
|
Object.keys(s).forEach((ce) => {
|
|
51140
|
-
|
|
51140
|
+
fe.includes(ce) || fe.push(ce);
|
|
51141
51141
|
});
|
|
51142
51142
|
const Pe = Object.entries(s).reduce(
|
|
51143
|
-
(ce, [
|
|
51143
|
+
(ce, [ge, Ee]) => (Ee.hidden && ce.push(ge), ce),
|
|
51144
51144
|
[]
|
|
51145
51145
|
);
|
|
51146
|
-
|
|
51146
|
+
fe = fe.filter((ce) => !Pe.includes(ce)).sort((ce, ge) => {
|
|
51147
51147
|
let Ee = s[ce] ? s[ce].order : void 0;
|
|
51148
51148
|
Ee === void 0 && (Ee = Object.keys(Gt).findIndex(
|
|
51149
51149
|
(zt) => zt === ce
|
|
51150
51150
|
));
|
|
51151
|
-
let _e = s[
|
|
51151
|
+
let _e = s[ge] ? s[ge].order : void 0;
|
|
51152
51152
|
return _e === void 0 && (_e = Object.keys(Gt).findIndex(
|
|
51153
|
-
(zt) => zt ===
|
|
51154
|
-
)),
|
|
51153
|
+
(zt) => zt === ge
|
|
51154
|
+
)), ge === zn || ce === zn ? 0 : Ee === -1 ? 1 : _e === -1 ? -1 : Ee - _e;
|
|
51155
51155
|
});
|
|
51156
51156
|
}
|
|
51157
|
-
return (ee == null ? void 0 : ee.length) ===
|
|
51157
|
+
return (ee == null ? void 0 : ee.length) === fe.length ? ee : fe;
|
|
51158
51158
|
}, [
|
|
51159
51159
|
s,
|
|
51160
51160
|
at,
|
|
@@ -51163,32 +51163,32 @@ const Gbe = ({
|
|
|
51163
51163
|
ga
|
|
51164
51164
|
]), va = _.useMemo(
|
|
51165
51165
|
() => Le && St ? Le.map(
|
|
51166
|
-
(ee,
|
|
51166
|
+
(ee, fe) => St.reduce(
|
|
51167
51167
|
(Pe, ce) => {
|
|
51168
51168
|
var zt;
|
|
51169
|
-
const
|
|
51169
|
+
const ge = Gt[ce], Ee = s ? s[ce] : void 0;
|
|
51170
51170
|
if (Ee != null && Ee.renderData)
|
|
51171
|
-
return Pe[ce] = Ee.renderData(ee,
|
|
51172
|
-
if (!
|
|
51171
|
+
return Pe[ce] = Ee.renderData(ee, fe), Pe;
|
|
51172
|
+
if (!ge || ce === zn)
|
|
51173
51173
|
return Pe[ce] = "", Pe;
|
|
51174
51174
|
const _e = ee ? ee[ce] : "";
|
|
51175
|
-
switch (
|
|
51175
|
+
switch (ge.type) {
|
|
51176
51176
|
case "array":
|
|
51177
|
-
return Pe[ce] = ((zt =
|
|
51177
|
+
return Pe[ce] = ((zt = ge.items) == null ? void 0 : zt.type) === "string" && _e ? _e.map((Ct) => pe(Ct)).join(", ") : JSON.stringify(_e), Pe;
|
|
51178
51178
|
case "boolean":
|
|
51179
51179
|
return Pe[ce] = _e === void 0 ? "?" : _e ? "✓" : "✕", Pe;
|
|
51180
51180
|
case "number":
|
|
51181
51181
|
case "integer":
|
|
51182
|
-
return _e === void 0 ? (Pe[ce] = "", Pe) : (Pe[ce] =
|
|
51182
|
+
return _e === void 0 ? (Pe[ce] = "", Pe) : (Pe[ce] = ge.format === "currency" ? qbe.format(_e) : Xbe.format(_e), Pe);
|
|
51183
51183
|
case "string":
|
|
51184
|
-
if (
|
|
51184
|
+
if (ge.format === "date" && _e)
|
|
51185
51185
|
return Pe[ce] = ["2999-12-31", "1970-01-01"].includes(
|
|
51186
51186
|
_e
|
|
51187
51187
|
) ? "-" : Vl(
|
|
51188
51188
|
new Date(_e),
|
|
51189
51189
|
(Ee == null ? void 0 : Ee.dateFormat) || Gv
|
|
51190
51190
|
), Pe;
|
|
51191
|
-
if (
|
|
51191
|
+
if (ge.format === "date-time" && _e)
|
|
51192
51192
|
return Pe[ce] = y ? vt.localeFormatInTimeZone(
|
|
51193
51193
|
new Date(_e),
|
|
51194
51194
|
y,
|
|
@@ -51197,41 +51197,41 @@ const Gbe = ({
|
|
|
51197
51197
|
new Date(_e),
|
|
51198
51198
|
(Ee == null ? void 0 : Ee.dateFormat) || $u
|
|
51199
51199
|
), Pe;
|
|
51200
|
-
if (
|
|
51200
|
+
if (ge.enum)
|
|
51201
51201
|
return Pe[ce] = _e ? pe(_e) : "", Pe;
|
|
51202
51202
|
default:
|
|
51203
51203
|
return Pe[ce] = _e ? `${_e}` : "", Pe;
|
|
51204
51204
|
}
|
|
51205
51205
|
},
|
|
51206
|
-
{ _index:
|
|
51206
|
+
{ _index: fe }
|
|
51207
51207
|
)
|
|
51208
51208
|
) : void 0,
|
|
51209
51209
|
[Le, St, Gt, s, pe, y]
|
|
51210
51210
|
), aa = St ? St.length : 0, { dynamicWidthColumnCount: Ln, fixedWidthColumnsWidth: wa } = _.useMemo(() => {
|
|
51211
|
-
let ee = 0,
|
|
51211
|
+
let ee = 0, fe = 0;
|
|
51212
51212
|
return (St || []).forEach((Pe) => {
|
|
51213
51213
|
if (Pe === zn) {
|
|
51214
51214
|
ee += $g;
|
|
51215
51215
|
return;
|
|
51216
51216
|
}
|
|
51217
51217
|
const ce = s ? s[Pe] : void 0;
|
|
51218
|
-
ce != null && ce.width ? ee += ce.width :
|
|
51219
|
-
}, 0), { dynamicWidthColumnCount:
|
|
51218
|
+
ce != null && ce.width ? ee += ce.width : fe += 1;
|
|
51219
|
+
}, 0), { dynamicWidthColumnCount: fe, fixedWidthColumnsWidth: ee };
|
|
51220
51220
|
}, [St, s]), It = _.useMemo(() => {
|
|
51221
51221
|
if (yn)
|
|
51222
51222
|
return yn;
|
|
51223
|
-
const ee = pa ? JSON.parse(pa) : void 0,
|
|
51223
|
+
const ee = pa ? JSON.parse(pa) : void 0, fe = Math.max(
|
|
51224
51224
|
Math.floor(
|
|
51225
51225
|
(ta - wa) / Ln
|
|
51226
51226
|
),
|
|
51227
51227
|
Bv
|
|
51228
51228
|
);
|
|
51229
51229
|
let Pe = (ta - wa) % Ln;
|
|
51230
|
-
const ce = St.map((
|
|
51231
|
-
if (
|
|
51230
|
+
const ce = St.map((ge) => {
|
|
51231
|
+
if (ge === zn)
|
|
51232
51232
|
return $g;
|
|
51233
|
-
const Ee = s ? s[
|
|
51234
|
-
return Ee != null && Ee.width ? Ee == null ? void 0 : Ee.width : Pe ? (Pe -= 1,
|
|
51233
|
+
const Ee = s ? s[ge] : void 0;
|
|
51234
|
+
return Ee != null && Ee.width ? Ee == null ? void 0 : Ee.width : Pe ? (Pe -= 1, fe + 1) : fe;
|
|
51235
51235
|
});
|
|
51236
51236
|
return (ee == null ? void 0 : ee.length) === ce.length ? ee : ce;
|
|
51237
51237
|
}, [
|
|
@@ -51248,19 +51248,19 @@ const Gbe = ({
|
|
|
51248
51248
|
), Fa = _.useMemo(() => {
|
|
51249
51249
|
if (!va || !O && !z || ft)
|
|
51250
51250
|
return va;
|
|
51251
|
-
const { searchQuery: ee } = be,
|
|
51252
|
-
(
|
|
51251
|
+
const { searchQuery: ee } = be, fe = ee.toLowerCase() || "", Pe = (ce) => Le && E ? E(Le[ce._index], ee) : !(St && !St.find(
|
|
51252
|
+
(ge) => `${ce[ge]}`.toLowerCase().includes(fe)
|
|
51253
51253
|
));
|
|
51254
51254
|
return va.filter((ce) => {
|
|
51255
|
-
let
|
|
51256
|
-
return !
|
|
51255
|
+
let ge = Pe(ce);
|
|
51256
|
+
return !ge || !be.columnFilterMap ? !1 : (Object.entries(be.columnFilterMap).forEach(
|
|
51257
51257
|
([Ee, _e]) => {
|
|
51258
51258
|
var Zt;
|
|
51259
|
-
if (!
|
|
51259
|
+
if (!ge || _e === void 0)
|
|
51260
51260
|
return;
|
|
51261
51261
|
const zt = s ? s[Ee] : void 0;
|
|
51262
51262
|
if (Le && (zt != null && zt.filter)) {
|
|
51263
|
-
|
|
51263
|
+
ge = zt.filter(
|
|
51264
51264
|
Le[ce._index],
|
|
51265
51265
|
_e
|
|
51266
51266
|
);
|
|
@@ -51272,50 +51272,50 @@ const Gbe = ({
|
|
|
51272
51272
|
case "number":
|
|
51273
51273
|
case "integer":
|
|
51274
51274
|
if (_e && typeof _e == "object") {
|
|
51275
|
-
_e.filterEmpty && Et === void 0 && (
|
|
51275
|
+
_e.filterEmpty && Et === void 0 && (ge = !1);
|
|
51276
51276
|
for (const Ft of Object.keys(
|
|
51277
51277
|
Ua
|
|
51278
51278
|
)) {
|
|
51279
51279
|
const La = _e[Ft];
|
|
51280
|
-
if (
|
|
51280
|
+
if (ge && Ur.isFinite(La))
|
|
51281
51281
|
switch (Ft) {
|
|
51282
51282
|
case Ua.EQ:
|
|
51283
|
-
Et !== La && (
|
|
51283
|
+
Et !== La && (ge = !1);
|
|
51284
51284
|
break;
|
|
51285
51285
|
case Ua.GT:
|
|
51286
|
-
Et <= La && (
|
|
51286
|
+
Et <= La && (ge = !1);
|
|
51287
51287
|
break;
|
|
51288
51288
|
case Ua.LT:
|
|
51289
|
-
Et >= La && (
|
|
51289
|
+
Et >= La && (ge = !1);
|
|
51290
51290
|
break;
|
|
51291
51291
|
}
|
|
51292
51292
|
}
|
|
51293
51293
|
} else {
|
|
51294
51294
|
if (Et === void 0 && _e === null)
|
|
51295
51295
|
return !0;
|
|
51296
|
-
|
|
51296
|
+
ge = Et === _e;
|
|
51297
51297
|
}
|
|
51298
51298
|
break;
|
|
51299
51299
|
case "string":
|
|
51300
51300
|
if (typeof _e == "object" && (Ct.format === "date" || Ct.format === "date-time")) {
|
|
51301
51301
|
const { from: Ft, to: La, filterEmpty: ts } = _e;
|
|
51302
51302
|
if (!Et)
|
|
51303
|
-
|
|
51303
|
+
ge = !ts;
|
|
51304
51304
|
else {
|
|
51305
51305
|
const hi = Et ? new Date(Et) : void 0;
|
|
51306
|
-
(ts === !1 || Ft && (!hi || hi < Ft) || La && (!hi || hi > La)) && (
|
|
51306
|
+
(ts === !1 || Ft && (!hi || hi < Ft) || La && (!hi || hi > La)) && (ge = !1);
|
|
51307
51307
|
}
|
|
51308
51308
|
return;
|
|
51309
51309
|
}
|
|
51310
51310
|
default:
|
|
51311
51311
|
if (Ct != null && Ct.enum) {
|
|
51312
|
-
|
|
51312
|
+
ge = Et === _e;
|
|
51313
51313
|
return;
|
|
51314
51314
|
}
|
|
51315
|
-
|
|
51315
|
+
ge = `${ce[Ee]}`.toLowerCase().includes(`${_e}`.toLowerCase());
|
|
51316
51316
|
}
|
|
51317
51317
|
}
|
|
51318
|
-
),
|
|
51318
|
+
), ge);
|
|
51319
51319
|
});
|
|
51320
51320
|
}, [
|
|
51321
51321
|
va,
|
|
@@ -51330,14 +51330,14 @@ const Gbe = ({
|
|
|
51330
51330
|
Gt
|
|
51331
51331
|
]), gt = _.useMemo(() => {
|
|
51332
51332
|
var zt;
|
|
51333
|
-
const { sortAsc: ee, sortColumn:
|
|
51334
|
-
if (!
|
|
51333
|
+
const { sortAsc: ee, sortColumn: fe } = be;
|
|
51334
|
+
if (!fe || !Fa || !Le || ft)
|
|
51335
51335
|
return Fa;
|
|
51336
|
-
const Pe = Gt[
|
|
51337
|
-
if (
|
|
51336
|
+
const Pe = Gt[fe], ce = s ? s[fe] : void 0, ge = ce == null ? void 0 : ce.sort;
|
|
51337
|
+
if (ge)
|
|
51338
51338
|
return Fa.sort((Ct, Et) => {
|
|
51339
51339
|
const Zt = Le[Ct._index], Ft = Le[Et._index];
|
|
51340
|
-
return Zt ? Ft ?
|
|
51340
|
+
return Zt ? Ft ? ge(
|
|
51341
51341
|
Zt,
|
|
51342
51342
|
Ft,
|
|
51343
51343
|
ee === void 0 ? h : ee
|
|
@@ -51345,7 +51345,7 @@ const Gbe = ({
|
|
|
51345
51345
|
});
|
|
51346
51346
|
const Ee = Pe && ((zt = Pe.format) == null ? void 0 : zt.startsWith("date")), _e = Qbe(Pe, ce);
|
|
51347
51347
|
return Fa.sort((Ct, Et) => {
|
|
51348
|
-
let Zt = _e && Le[Ct._index] ? Le[Ct._index][
|
|
51348
|
+
let Zt = _e && Le[Ct._index] ? Le[Ct._index][fe] : `${Ct[fe]}`.toLowerCase(), Ft = _e && Le[Et._index] ? Le[Et._index][fe] : `${Et[fe]}`.toLowerCase();
|
|
51349
51349
|
return _e && Ee && (Zt = new Date(Zt), isNaN(Zt.getTime()) && (Zt = tp), Ft = new Date(Ft), isNaN(Ft.getTime()) && (Ft = tp)), Zt === Ft ? 0 : Zt ? Ft ? (Zt < Ft ? 1 : -1) * (ee ? -1 : 1) : ee ? 1 : -1 : ee ? -1 : 1;
|
|
51350
51350
|
});
|
|
51351
51351
|
}, [
|
|
@@ -51358,24 +51358,24 @@ const Gbe = ({
|
|
|
51358
51358
|
be
|
|
51359
51359
|
]), li = _.useCallback(
|
|
51360
51360
|
(ee) => {
|
|
51361
|
-
const
|
|
51362
|
-
delete
|
|
51361
|
+
const fe = { ...be.columnFilterMap };
|
|
51362
|
+
delete fe[ee], on({
|
|
51363
51363
|
...be,
|
|
51364
|
-
columnFilterMap:
|
|
51364
|
+
columnFilterMap: fe
|
|
51365
51365
|
});
|
|
51366
51366
|
},
|
|
51367
51367
|
[be]
|
|
51368
51368
|
), Ra = _.useCallback(
|
|
51369
|
-
(ee,
|
|
51369
|
+
(ee, fe) => {
|
|
51370
51370
|
if (je) {
|
|
51371
51371
|
window.location.hash = vt.serializeLocationHash({
|
|
51372
51372
|
...ut,
|
|
51373
51373
|
sortColumn: ee,
|
|
51374
|
-
sortAsc:
|
|
51374
|
+
sortAsc: fe
|
|
51375
51375
|
});
|
|
51376
51376
|
return;
|
|
51377
51377
|
}
|
|
51378
|
-
on({ ...be, sortColumn: ee, sortAsc:
|
|
51378
|
+
on({ ...be, sortColumn: ee, sortAsc: fe });
|
|
51379
51379
|
},
|
|
51380
51380
|
[be, ut, je]
|
|
51381
51381
|
), ci = _.useCallback(
|
|
@@ -51393,19 +51393,19 @@ const Gbe = ({
|
|
|
51393
51393
|
if (!t || !ut || !Qt || !je)
|
|
51394
51394
|
return;
|
|
51395
51395
|
const ee = Object.keys(ut);
|
|
51396
|
-
let
|
|
51396
|
+
let fe = !1;
|
|
51397
51397
|
for (const Pe of ee) {
|
|
51398
|
-
const ce = ut[Pe],
|
|
51399
|
-
if (typeof ce == "string" && ce !==
|
|
51400
|
-
|
|
51398
|
+
const ce = ut[Pe], ge = Qt[Pe];
|
|
51399
|
+
if (typeof ce == "string" && ce !== ge) {
|
|
51400
|
+
fe = !0;
|
|
51401
51401
|
break;
|
|
51402
51402
|
}
|
|
51403
|
-
if (typeof ce == "object" && !Ur.isEqual(ce,
|
|
51404
|
-
|
|
51403
|
+
if (typeof ce == "object" && !Ur.isEqual(ce, ge)) {
|
|
51404
|
+
fe = !0;
|
|
51405
51405
|
break;
|
|
51406
51406
|
}
|
|
51407
51407
|
}
|
|
51408
|
-
|
|
51408
|
+
fe && ba();
|
|
51409
51409
|
}, [
|
|
51410
51410
|
t,
|
|
51411
51411
|
ut,
|
|
@@ -51422,18 +51422,18 @@ const Gbe = ({
|
|
|
51422
51422
|
() => gt ? gt.length : 0,
|
|
51423
51423
|
[gt]
|
|
51424
51424
|
), ia = _.useMemo(() => {
|
|
51425
|
-
const ee = re * ra,
|
|
51426
|
-
return
|
|
51425
|
+
const ee = re * ra, fe = V ? V - (z ? 50 : 0) : 0;
|
|
51426
|
+
return fe && fe < ee ? fe : ee;
|
|
51427
51427
|
}, [V, z, ra, re]), to = _.useCallback(
|
|
51428
51428
|
(ee) => {
|
|
51429
51429
|
He(void 0), ee.preventDefault(), ee.stopPropagation();
|
|
51430
51430
|
},
|
|
51431
51431
|
[]
|
|
51432
51432
|
), no = _.useCallback(
|
|
51433
|
-
(ee,
|
|
51433
|
+
(ee, fe) => {
|
|
51434
51434
|
if (!rt)
|
|
51435
51435
|
return;
|
|
51436
|
-
if (je &&
|
|
51436
|
+
if (je && fe !== !1) {
|
|
51437
51437
|
window.location.hash = vt.serializeLocationHash({
|
|
51438
51438
|
...ut,
|
|
51439
51439
|
columnFilterMap: {
|
|
@@ -51483,14 +51483,19 @@ const Gbe = ({
|
|
|
51483
51483
|
async (ee) => {
|
|
51484
51484
|
if (ee.preventDefault(), ee.stopPropagation(), !gt)
|
|
51485
51485
|
return;
|
|
51486
|
-
const { renderDataToExcel:
|
|
51487
|
-
|
|
51486
|
+
const { renderDataToExcel: fe } = await import("./index-DnFkQenh.js");
|
|
51487
|
+
fe(gt);
|
|
51488
51488
|
},
|
|
51489
51489
|
[gt]
|
|
51490
51490
|
), De = _.useCallback(() => {
|
|
51491
51491
|
le && (localStorage.removeItem(`${le}.columnNames`), localStorage.removeItem(`${le}.columnWidths`), ht(void 0), Yt(void 0));
|
|
51492
51492
|
}, [le]), Ye = _.useCallback(
|
|
51493
|
-
(ee) =>
|
|
51493
|
+
(ee) => {
|
|
51494
|
+
if (!gt || !Le || !X || !A)
|
|
51495
|
+
return !0;
|
|
51496
|
+
const fe = gt[ee];
|
|
51497
|
+
return fe ? Le[fe._index] !== void 0 : !1;
|
|
51498
|
+
},
|
|
51494
51499
|
[A, X, gt, Le]
|
|
51495
51500
|
), Ge = _.useMemo(() => !(Le && !na) && !X ? /* @__PURE__ */ K.jsx(
|
|
51496
51501
|
"div",
|
|
@@ -51514,7 +51519,7 @@ const Gbe = ({
|
|
|
51514
51519
|
isItemLoaded: Ye,
|
|
51515
51520
|
itemCount: A,
|
|
51516
51521
|
loadMoreItems: X,
|
|
51517
|
-
children: ({ onItemsRendered:
|
|
51522
|
+
children: ({ onItemsRendered: fe, ref: Pe }) => /* @__PURE__ */ K.jsx(
|
|
51518
51523
|
$f,
|
|
51519
51524
|
{
|
|
51520
51525
|
className: "mig-schema-table__tbody",
|
|
@@ -51528,12 +51533,12 @@ const Gbe = ({
|
|
|
51528
51533
|
ref: Pe,
|
|
51529
51534
|
onItemsRendered: ({
|
|
51530
51535
|
overscanRowStartIndex: ce,
|
|
51531
|
-
overscanRowStopIndex:
|
|
51536
|
+
overscanRowStopIndex: ge,
|
|
51532
51537
|
visibleRowStartIndex: Ee,
|
|
51533
51538
|
visibleRowStopIndex: _e
|
|
51534
|
-
}) =>
|
|
51539
|
+
}) => fe({
|
|
51535
51540
|
overscanStartIndex: ce,
|
|
51536
|
-
overscanStopIndex:
|
|
51541
|
+
overscanStopIndex: ge,
|
|
51537
51542
|
visibleStartIndex: Ee,
|
|
51538
51543
|
visibleStopIndex: _e
|
|
51539
51544
|
}),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as $t, l as Ve } from "./index-
|
|
1
|
+
import { c as $t, l as Ve } from "./index-D_31lGCz.js";
|
|
2
2
|
function Fe(ye) {
|
|
3
3
|
throw new Error('Could not dynamically require "' + ye + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
4
4
|
}
|