xmirror-components 1.0.27 → 1.0.28-alpha.2
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/build/dist/index.cjs +14 -14
- package/build/dist/index.mjs +150 -149
- package/build/es/components/IconButton/index.d.ts +2 -2
- package/build/es/components/IconButton/index.js +3 -7
- package/build/es/components/Table/Footer/index.d.ts +5 -0
- package/build/es/components/Table/Footer/index.js +84 -0
- package/build/es/components/Table/PopoverSetColumns/index.d.ts +14 -0
- package/build/es/components/Table/PopoverSetColumns/index.js +174 -0
- package/build/es/components/Table/index.d.ts +5 -0
- package/build/es/components/Table/index.js +189 -0
- package/build/es/components/Table/types.d.ts +63 -0
- package/build/es/components/Table/types.js +1 -0
- package/build/lib/components/IconButton/index.js +3 -7
- package/build/lib/components/Table/Footer/index.js +119 -0
- package/build/lib/components/Table/PopoverSetColumns/index.js +212 -0
- package/build/lib/components/Table/index.js +227 -0
- package/build/lib/components/Table/types.js +2 -0
- package/build/lib/index.d.ts +1 -1
- package/build/package.json +1 -1
- package/build/types/components/IconButton/index.d.ts +2 -2
- package/build/types/components/Table/Footer/index.d.ts +5 -0
- package/build/types/components/Table/PopoverSetColumns/index.d.ts +14 -0
- package/build/types/components/Table/index.d.ts +5 -0
- package/build/types/components/Table/types.d.ts +63 -0
- package/package.json +1 -1
package/build/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as te from "react";
|
|
2
|
-
import
|
|
2
|
+
import de, { forwardRef as Jt, useContext as Gr, useRef as H, useState as Zt, useEffect as Se, useMemo as Kt, useCallback as kn } from "react";
|
|
3
3
|
import { message as $n, notification as In, Modal as Mn, App as Qt, Checkbox as Dn, Switch as Ln, Button as Fn, Tooltip as qn } from "antd";
|
|
4
4
|
import Ge from "react-dom";
|
|
5
5
|
var Be = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
@@ -242,7 +242,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
242
242
|
function p(u) {
|
|
243
243
|
typeof u == "object" && u !== null && u.$$typeof === g && u._store && (u._store.validated = 1);
|
|
244
244
|
}
|
|
245
|
-
var b =
|
|
245
|
+
var b = de, g = Symbol.for("react.transitional.element"), h = Symbol.for("react.portal"), y = Symbol.for("react.fragment"), E = Symbol.for("react.strict_mode"), S = Symbol.for("react.profiler"), P = Symbol.for("react.consumer"), x = Symbol.for("react.context"), R = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), N = Symbol.for("react.suspense_list"), C = Symbol.for("react.memo"), G = Symbol.for("react.lazy"), ce = Symbol.for("react.activity"), ne = Symbol.for("react.client.reference"), Z = b.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, ue = Object.prototype.hasOwnProperty, U = Array.isArray, B = console.createTask ? console.createTask : function() {
|
|
246
246
|
return null;
|
|
247
247
|
};
|
|
248
248
|
b = {
|
|
@@ -253,7 +253,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
253
253
|
var ae, X = {}, fe = b["react-stack-bottom-frame"].bind(
|
|
254
254
|
b,
|
|
255
255
|
a
|
|
256
|
-
)(),
|
|
256
|
+
)(), pe = B(t(a)), be = {};
|
|
257
257
|
ke.Fragment = y, ke.jsx = function(u, m, T, w, _) {
|
|
258
258
|
var A = 1e4 > Z.recentlyCreatedOwnerStacks++;
|
|
259
259
|
return d(
|
|
@@ -264,7 +264,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
264
264
|
w,
|
|
265
265
|
_,
|
|
266
266
|
A ? Error("react-stack-top-frame") : fe,
|
|
267
|
-
A ? B(t(u)) :
|
|
267
|
+
A ? B(t(u)) : pe
|
|
268
268
|
);
|
|
269
269
|
}, ke.jsxs = function(u, m, T, w, _) {
|
|
270
270
|
var A = 1e4 > Z.recentlyCreatedOwnerStacks++;
|
|
@@ -276,7 +276,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
276
276
|
w,
|
|
277
277
|
_,
|
|
278
278
|
A ? Error("react-stack-top-frame") : fe,
|
|
279
|
-
A ? B(t(u)) :
|
|
279
|
+
A ? B(t(u)) : pe
|
|
280
280
|
);
|
|
281
281
|
};
|
|
282
282
|
}()), ke;
|
|
@@ -436,9 +436,9 @@ function Gn() {
|
|
|
436
436
|
}
|
|
437
437
|
}
|
|
438
438
|
}
|
|
439
|
-
var l = f, N = c, C = s, G = o, ce = r, ne = d, Z = t, ue = h, U = g, B = n, ae = a, X = i, fe = p,
|
|
439
|
+
var l = f, N = c, C = s, G = o, ce = r, ne = d, Z = t, ue = h, U = g, B = n, ae = a, X = i, fe = p, pe = !1;
|
|
440
440
|
function be(v) {
|
|
441
|
-
return
|
|
441
|
+
return pe || (pe = !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.")), u(v) || R(v) === f;
|
|
442
442
|
}
|
|
443
443
|
function u(v) {
|
|
444
444
|
return R(v) === c;
|
|
@@ -777,7 +777,7 @@ function Hn() {
|
|
|
777
777
|
var T = u[m];
|
|
778
778
|
if (typeof T != "function")
|
|
779
779
|
return a(
|
|
780
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " +
|
|
780
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + pe(T) + " at index " + m + "."
|
|
781
781
|
), o;
|
|
782
782
|
}
|
|
783
783
|
function w(_, A, k, $, O) {
|
|
@@ -895,7 +895,7 @@ Valid keys: ` + JSON.stringify(Object.keys(u), null, " ")
|
|
|
895
895
|
}
|
|
896
896
|
return m;
|
|
897
897
|
}
|
|
898
|
-
function
|
|
898
|
+
function pe(u) {
|
|
899
899
|
var m = fe(u);
|
|
900
900
|
switch (m) {
|
|
901
901
|
case "array":
|
|
@@ -1006,7 +1006,7 @@ var ra = process.env.NODE_ENV !== "production" ? j.oneOfType([j.number, j.shape(
|
|
|
1006
1006
|
exitDone: j.string,
|
|
1007
1007
|
exitActive: j.string
|
|
1008
1008
|
})]) : null;
|
|
1009
|
-
const an =
|
|
1009
|
+
const an = de.createContext(null);
|
|
1010
1010
|
var on = function(r) {
|
|
1011
1011
|
return r.scrollTop;
|
|
1012
1012
|
}, De = "unmounted", Ee = "exited", xe = "entering", _e = "entered", Fr = "exiting", ye = /* @__PURE__ */ function(e) {
|
|
@@ -1131,12 +1131,12 @@ var on = function(r) {
|
|
|
1131
1131
|
var s = en(a, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
|
|
1132
1132
|
return (
|
|
1133
1133
|
// allows for nested Transitions
|
|
1134
|
-
/* @__PURE__ */
|
|
1134
|
+
/* @__PURE__ */ de.createElement(an.Provider, {
|
|
1135
1135
|
value: null
|
|
1136
|
-
}, typeof o == "function" ? o(i, s) :
|
|
1136
|
+
}, typeof o == "function" ? o(i, s) : de.cloneElement(de.Children.only(o), s))
|
|
1137
1137
|
);
|
|
1138
1138
|
}, r;
|
|
1139
|
-
}(
|
|
1139
|
+
}(de.Component);
|
|
1140
1140
|
ye.contextType = an;
|
|
1141
1141
|
ye.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1142
1142
|
/**
|
|
@@ -1385,7 +1385,7 @@ var na = function(r, n) {
|
|
|
1385
1385
|
var i = this.props;
|
|
1386
1386
|
i.classNames;
|
|
1387
1387
|
var a = en(i, ["classNames"]);
|
|
1388
|
-
return /* @__PURE__ */
|
|
1388
|
+
return /* @__PURE__ */ de.createElement(ye, qe({}, a, {
|
|
1389
1389
|
onEnter: this.onEnter,
|
|
1390
1390
|
onEntered: this.onEntered,
|
|
1391
1391
|
onEntering: this.onEntering,
|
|
@@ -1394,7 +1394,7 @@ var na = function(r, n) {
|
|
|
1394
1394
|
onExited: this.onExited
|
|
1395
1395
|
}));
|
|
1396
1396
|
}, r;
|
|
1397
|
-
}(
|
|
1397
|
+
}(de.Component);
|
|
1398
1398
|
Vr.defaultProps = {
|
|
1399
1399
|
classNames: ""
|
|
1400
1400
|
};
|
|
@@ -1584,7 +1584,7 @@ function K(e, r) {
|
|
|
1584
1584
|
function Ye(e, r, n) {
|
|
1585
1585
|
return e.slice(r, n);
|
|
1586
1586
|
}
|
|
1587
|
-
function
|
|
1587
|
+
function ve(e) {
|
|
1588
1588
|
return e.length;
|
|
1589
1589
|
}
|
|
1590
1590
|
function Jr(e) {
|
|
@@ -1660,7 +1660,7 @@ function We(e) {
|
|
|
1660
1660
|
return 0;
|
|
1661
1661
|
}
|
|
1662
1662
|
function ln(e) {
|
|
1663
|
-
return sr = Pe = 1, fn =
|
|
1663
|
+
return sr = Pe = 1, fn = ve(Ae = e), oe = 0, [];
|
|
1664
1664
|
}
|
|
1665
1665
|
function dn(e) {
|
|
1666
1666
|
return Ae = "", e;
|
|
@@ -1753,7 +1753,7 @@ function er(e, r, n, t, i, a, o, s, f) {
|
|
|
1753
1753
|
break;
|
|
1754
1754
|
// {
|
|
1755
1755
|
case 123 * y:
|
|
1756
|
-
s[c++] =
|
|
1756
|
+
s[c++] = ve(C) * S;
|
|
1757
1757
|
// } ; \0
|
|
1758
1758
|
case 125 * y:
|
|
1759
1759
|
case 59:
|
|
@@ -1765,7 +1765,7 @@ function er(e, r, n, t, i, a, o, s, f) {
|
|
|
1765
1765
|
E = 0;
|
|
1766
1766
|
// ;
|
|
1767
1767
|
case 59 + d:
|
|
1768
|
-
S == -1 && (C = L(C, /\f/g, "")), g > 0 &&
|
|
1768
|
+
S == -1 && (C = L(C, /\f/g, "")), g > 0 && ve(C) - p && Je(g > 32 ? Et(C + ";", t, n, p - 1) : Et(L(C, " ", "") + ";", t, n, p - 2), f);
|
|
1769
1769
|
break;
|
|
1770
1770
|
// @ ;
|
|
1771
1771
|
case 59:
|
|
@@ -1792,7 +1792,7 @@ function er(e, r, n, t, i, a, o, s, f) {
|
|
|
1792
1792
|
break;
|
|
1793
1793
|
// :
|
|
1794
1794
|
case 58:
|
|
1795
|
-
p = 1 +
|
|
1795
|
+
p = 1 + ve(C), g = h;
|
|
1796
1796
|
default:
|
|
1797
1797
|
if (y < 1) {
|
|
1798
1798
|
if (P == 123)
|
|
@@ -1807,15 +1807,15 @@ function er(e, r, n, t, i, a, o, s, f) {
|
|
|
1807
1807
|
break;
|
|
1808
1808
|
// ,
|
|
1809
1809
|
case 44:
|
|
1810
|
-
s[c++] = (
|
|
1810
|
+
s[c++] = (ve(C) - 1) * S, S = 1;
|
|
1811
1811
|
break;
|
|
1812
1812
|
// @
|
|
1813
1813
|
case 64:
|
|
1814
|
-
he() === 45 && (C += Qe(se())), b = he(), d = p =
|
|
1814
|
+
he() === 45 && (C += Qe(se())), b = he(), d = p = ve(x = C += ba(Ke())), P++;
|
|
1815
1815
|
break;
|
|
1816
1816
|
// -
|
|
1817
1817
|
case 45:
|
|
1818
|
-
h === 45 &&
|
|
1818
|
+
h === 45 && ve(C) == 2 && (y = 0);
|
|
1819
1819
|
}
|
|
1820
1820
|
}
|
|
1821
1821
|
return a;
|
|
@@ -1851,7 +1851,7 @@ function Ta(e, r, n, t) {
|
|
|
1851
1851
|
case Hr:
|
|
1852
1852
|
e.value = e.props.join(",");
|
|
1853
1853
|
}
|
|
1854
|
-
return
|
|
1854
|
+
return ve(n = Oe(e.children, t)) ? e.return = e.value + "{" + n + "}" : "";
|
|
1855
1855
|
}
|
|
1856
1856
|
function Sa(e) {
|
|
1857
1857
|
var r = Jr(e);
|
|
@@ -2019,7 +2019,7 @@ function vn(e, r) {
|
|
|
2019
2019
|
case 5789:
|
|
2020
2020
|
case 5021:
|
|
2021
2021
|
case 4765:
|
|
2022
|
-
if (
|
|
2022
|
+
if (ve(e) - 1 - r > 6) switch (K(e, r + 1)) {
|
|
2023
2023
|
// (m)ax-content, (m)in-content
|
|
2024
2024
|
case 109:
|
|
2025
2025
|
if (K(e, r + 4) !== 45) break;
|
|
@@ -2036,7 +2036,7 @@ function vn(e, r) {
|
|
|
2036
2036
|
if (K(e, r + 1) !== 115) break;
|
|
2037
2037
|
// display: (flex|inline-flex)
|
|
2038
2038
|
case 6444:
|
|
2039
|
-
switch (K(e,
|
|
2039
|
+
switch (K(e, ve(e) - 3 - (~qr(e, "!important") && 10))) {
|
|
2040
2040
|
// stic(k)y
|
|
2041
2041
|
case 107:
|
|
2042
2042
|
return L(e, ":", ":" + D) + e;
|
|
@@ -2264,9 +2264,9 @@ function $a() {
|
|
|
2264
2264
|
}
|
|
2265
2265
|
}
|
|
2266
2266
|
}
|
|
2267
|
-
var l = f, N = c, C = s, G = o, ce = r, ne = d, Z = t, ue = h, U = g, B = n, ae = a, X = i, fe = p,
|
|
2267
|
+
var l = f, N = c, C = s, G = o, ce = r, ne = d, Z = t, ue = h, U = g, B = n, ae = a, X = i, fe = p, pe = !1;
|
|
2268
2268
|
function be(v) {
|
|
2269
|
-
return
|
|
2269
|
+
return pe || (pe = !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.")), u(v) || R(v) === f;
|
|
2270
2270
|
}
|
|
2271
2271
|
function u(v) {
|
|
2272
2272
|
return R(v) === c;
|
|
@@ -2487,10 +2487,10 @@ var Fa = {
|
|
|
2487
2487
|
case "animationName":
|
|
2488
2488
|
if (typeof n == "string")
|
|
2489
2489
|
return n.replace(Ya, function(t, i, a) {
|
|
2490
|
-
return
|
|
2490
|
+
return me = {
|
|
2491
2491
|
name: i,
|
|
2492
2492
|
styles: a,
|
|
2493
|
-
next:
|
|
2493
|
+
next: me
|
|
2494
2494
|
}, i;
|
|
2495
2495
|
});
|
|
2496
2496
|
}
|
|
@@ -2508,20 +2508,20 @@ function ze(e, r, n) {
|
|
|
2508
2508
|
case "object": {
|
|
2509
2509
|
var i = n;
|
|
2510
2510
|
if (i.anim === 1)
|
|
2511
|
-
return
|
|
2511
|
+
return me = {
|
|
2512
2512
|
name: i.name,
|
|
2513
2513
|
styles: i.styles,
|
|
2514
|
-
next:
|
|
2514
|
+
next: me
|
|
2515
2515
|
}, i.name;
|
|
2516
2516
|
var a = n;
|
|
2517
2517
|
if (a.styles !== void 0) {
|
|
2518
2518
|
var o = a.next;
|
|
2519
2519
|
if (o !== void 0)
|
|
2520
2520
|
for (; o !== void 0; )
|
|
2521
|
-
|
|
2521
|
+
me = {
|
|
2522
2522
|
name: o.name,
|
|
2523
2523
|
styles: o.styles,
|
|
2524
|
-
next:
|
|
2524
|
+
next: me
|
|
2525
2525
|
}, o = o.next;
|
|
2526
2526
|
var s = a.styles + ";";
|
|
2527
2527
|
return s;
|
|
@@ -2530,8 +2530,8 @@ function ze(e, r, n) {
|
|
|
2530
2530
|
}
|
|
2531
2531
|
case "function": {
|
|
2532
2532
|
if (e !== void 0) {
|
|
2533
|
-
var f =
|
|
2534
|
-
return
|
|
2533
|
+
var f = me, c = n(e);
|
|
2534
|
+
return me = f, ze(e, r, c);
|
|
2535
2535
|
}
|
|
2536
2536
|
break;
|
|
2537
2537
|
}
|
|
@@ -2571,12 +2571,12 @@ function Wa(e, r, n) {
|
|
|
2571
2571
|
}
|
|
2572
2572
|
return t;
|
|
2573
2573
|
}
|
|
2574
|
-
var Pt = /label:\s*([^\s;{]+)\s*(;|$)/g,
|
|
2574
|
+
var Pt = /label:\s*([^\s;{]+)\s*(;|$)/g, me;
|
|
2575
2575
|
function Kr(e, r, n) {
|
|
2576
2576
|
if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0)
|
|
2577
2577
|
return e[0];
|
|
2578
2578
|
var t = !0, i = "";
|
|
2579
|
-
|
|
2579
|
+
me = void 0;
|
|
2580
2580
|
var a = e[0];
|
|
2581
2581
|
if (a == null || a.raw === void 0)
|
|
2582
2582
|
t = !1, i += ze(n, r, a);
|
|
@@ -2596,7 +2596,7 @@ function Kr(e, r, n) {
|
|
|
2596
2596
|
return {
|
|
2597
2597
|
name: p,
|
|
2598
2598
|
styles: i,
|
|
2599
|
-
next:
|
|
2599
|
+
next: me
|
|
2600
2600
|
};
|
|
2601
2601
|
}
|
|
2602
2602
|
var za = function(r) {
|
|
@@ -3013,7 +3013,7 @@ const Sn = {
|
|
|
3013
3013
|
}) => e
|
|
3014
3014
|
},
|
|
3015
3015
|
iconFont: {}
|
|
3016
|
-
}, et =
|
|
3016
|
+
}, et = de.createContext(Sn);
|
|
3017
3017
|
function ui({ children: e, config: r }) {
|
|
3018
3018
|
return /* @__PURE__ */ z.jsx(
|
|
3019
3019
|
et.Provider,
|
|
@@ -3028,7 +3028,7 @@ function di({ children: e }) {
|
|
|
3028
3028
|
const r = Qt.useApp();
|
|
3029
3029
|
return Rn = r.message, li = r.modal, fi = r.notification, e || "";
|
|
3030
3030
|
}
|
|
3031
|
-
function
|
|
3031
|
+
function Po({ children: e, config: r, ...n }) {
|
|
3032
3032
|
return /* @__PURE__ */ z.jsx(
|
|
3033
3033
|
ui,
|
|
3034
3034
|
{
|
|
@@ -3125,7 +3125,7 @@ const zr = /* @__PURE__ */ ir(vi), mi = Jt(
|
|
|
3125
3125
|
}
|
|
3126
3126
|
);
|
|
3127
3127
|
}
|
|
3128
|
-
),
|
|
3128
|
+
), Co = ({
|
|
3129
3129
|
checked: e,
|
|
3130
3130
|
onChange: r,
|
|
3131
3131
|
trueValue: n = !0,
|
|
@@ -3147,7 +3147,7 @@ const zr = /* @__PURE__ */ ir(vi), mi = Jt(
|
|
|
3147
3147
|
children: o || (f ? i : a)
|
|
3148
3148
|
}
|
|
3149
3149
|
);
|
|
3150
|
-
},
|
|
3150
|
+
}, Ao = ({
|
|
3151
3151
|
checked: e,
|
|
3152
3152
|
onChange: r,
|
|
3153
3153
|
trueValue: n = !0,
|
|
@@ -3195,7 +3195,7 @@ var ji = "[object String]";
|
|
|
3195
3195
|
function Ni(e) {
|
|
3196
3196
|
return typeof e == "string" || !Ci(e) && Pi(e) && Oi(e) == ji;
|
|
3197
3197
|
}
|
|
3198
|
-
const ki =
|
|
3198
|
+
const ki = de.forwardRef((e, r) => /* @__PURE__ */ z.jsx(Fn, { ref: r, ...e })), $i = Ce(ki)`
|
|
3199
3199
|
&&.icon-button {
|
|
3200
3200
|
font-size: 18px;
|
|
3201
3201
|
color: var(--color-primary);
|
|
@@ -3228,55 +3228,56 @@ const ki = me.forwardRef((e, r) => /* @__PURE__ */ z.jsx(Fn, { ref: r, ...e })),
|
|
|
3228
3228
|
...a,
|
|
3229
3229
|
children: e
|
|
3230
3230
|
}
|
|
3231
|
-
),
|
|
3232
|
-
const { iconButton:
|
|
3233
|
-
icon:
|
|
3234
|
-
tooltipDisabled:
|
|
3235
|
-
title:
|
|
3236
|
-
hide:
|
|
3237
|
-
disabledReason:
|
|
3238
|
-
onClick:
|
|
3239
|
-
disabled:
|
|
3240
|
-
size:
|
|
3241
|
-
style:
|
|
3242
|
-
className:
|
|
3243
|
-
loading:
|
|
3244
|
-
...
|
|
3245
|
-
} = e,
|
|
3246
|
-
return
|
|
3247
|
-
|
|
3231
|
+
), Mi = (e, r) => {
|
|
3232
|
+
const { iconButton: n } = Gr(et), {
|
|
3233
|
+
icon: t,
|
|
3234
|
+
tooltipDisabled: i = !1,
|
|
3235
|
+
title: a,
|
|
3236
|
+
hide: o = !1,
|
|
3237
|
+
disabledReason: s,
|
|
3238
|
+
onClick: f = Ai,
|
|
3239
|
+
disabled: c,
|
|
3240
|
+
size: d = n.size || "small",
|
|
3241
|
+
style: p = {},
|
|
3242
|
+
className: b,
|
|
3243
|
+
loading: g = !1,
|
|
3244
|
+
...h
|
|
3245
|
+
} = e, y = () => Ni(t) ? /* @__PURE__ */ z.jsx(mi, { type: t }) : t, E = n.render;
|
|
3246
|
+
return t || console.warn("Icon props not found"), /* @__PURE__ */ z.jsx(
|
|
3247
|
+
E,
|
|
3248
3248
|
{
|
|
3249
3249
|
...e,
|
|
3250
3250
|
children: /* @__PURE__ */ z.jsx(
|
|
3251
3251
|
Ii,
|
|
3252
3252
|
{
|
|
3253
|
-
tooltipDisabled:
|
|
3254
|
-
hide:
|
|
3255
|
-
disabled:
|
|
3256
|
-
disabledReason:
|
|
3257
|
-
title:
|
|
3258
|
-
...
|
|
3253
|
+
tooltipDisabled: i,
|
|
3254
|
+
hide: o,
|
|
3255
|
+
disabled: c,
|
|
3256
|
+
disabledReason: s,
|
|
3257
|
+
title: a,
|
|
3258
|
+
...h,
|
|
3259
3259
|
children: /* @__PURE__ */ z.jsx(
|
|
3260
3260
|
$i,
|
|
3261
3261
|
{
|
|
3262
|
-
|
|
3263
|
-
|
|
3264
|
-
|
|
3265
|
-
|
|
3262
|
+
ref: r,
|
|
3263
|
+
icon: y(),
|
|
3264
|
+
size: d,
|
|
3265
|
+
className: zr(["icon-button", n.className, b]),
|
|
3266
|
+
disabled: c,
|
|
3266
3267
|
style: {
|
|
3267
|
-
...
|
|
3268
|
-
...
|
|
3268
|
+
...n.style,
|
|
3269
|
+
...p
|
|
3269
3270
|
},
|
|
3270
|
-
loading:
|
|
3271
|
-
onClick:
|
|
3271
|
+
loading: g,
|
|
3272
|
+
onClick: f
|
|
3272
3273
|
}
|
|
3273
3274
|
)
|
|
3274
3275
|
}
|
|
3275
3276
|
)
|
|
3276
3277
|
}
|
|
3277
3278
|
);
|
|
3278
|
-
};
|
|
3279
|
-
var
|
|
3279
|
+
}, jo = de.forwardRef(Mi);
|
|
3280
|
+
var Di = function(e) {
|
|
3280
3281
|
return function(r, n) {
|
|
3281
3282
|
var t = H(!1);
|
|
3282
3283
|
e(function() {
|
|
@@ -3307,7 +3308,7 @@ function _n(e, r) {
|
|
|
3307
3308
|
r.indexOf(t[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, t[i]) && (n[t[i]] = e[t[i]]);
|
|
3308
3309
|
return n;
|
|
3309
3310
|
}
|
|
3310
|
-
function
|
|
3311
|
+
function Li(e, r, n, t) {
|
|
3311
3312
|
function i(a) {
|
|
3312
3313
|
return a instanceof n ? a : new n(function(o) {
|
|
3313
3314
|
o(a);
|
|
@@ -3334,7 +3335,7 @@ function Di(e, r, n, t) {
|
|
|
3334
3335
|
c((t = t.apply(e, r || [])).next());
|
|
3335
3336
|
});
|
|
3336
3337
|
}
|
|
3337
|
-
function
|
|
3338
|
+
function Fi(e, r) {
|
|
3338
3339
|
var n = { label: 0, sent: function() {
|
|
3339
3340
|
if (a[0] & 1) throw a[1];
|
|
3340
3341
|
return a[1];
|
|
@@ -3432,7 +3433,7 @@ function we(e) {
|
|
|
3432
3433
|
return r.current.apply(this, t);
|
|
3433
3434
|
}), n.current;
|
|
3434
3435
|
}
|
|
3435
|
-
const Ur =
|
|
3436
|
+
const Ur = Di(Se);
|
|
3436
3437
|
var On = function(e, r) {
|
|
3437
3438
|
var n = r.manual, t = r.ready, i = t === void 0 ? !0 : t, a = r.defaultParams, o = a === void 0 ? [] : a, s = r.refreshDeps, f = s === void 0 ? [] : s, c = r.refreshDepsAction, d = H(!1);
|
|
3438
3439
|
return d.current = !1, Ur(function() {
|
|
@@ -3454,7 +3455,7 @@ On.onInit = function(e) {
|
|
|
3454
3455
|
loading: !t && n
|
|
3455
3456
|
};
|
|
3456
3457
|
};
|
|
3457
|
-
function
|
|
3458
|
+
function qi(e, r) {
|
|
3458
3459
|
if (e === r)
|
|
3459
3460
|
return !0;
|
|
3460
3461
|
for (var n = 0; n < e.length; n++)
|
|
@@ -3468,7 +3469,7 @@ var Pn = function(e, r) {
|
|
|
3468
3469
|
obj: void 0,
|
|
3469
3470
|
initialized: !1
|
|
3470
3471
|
}).current;
|
|
3471
|
-
return (n.initialized === !1 || !
|
|
3472
|
+
return (n.initialized === !1 || !qi(n.deps, r)) && (n.deps = r, n.obj = e(), n.initialized = !0), n.obj;
|
|
3472
3473
|
};
|
|
3473
3474
|
function Cn(e) {
|
|
3474
3475
|
var r = H(e);
|
|
@@ -3482,7 +3483,7 @@ var rt = function(e) {
|
|
|
3482
3483
|
r.current();
|
|
3483
3484
|
};
|
|
3484
3485
|
}, []);
|
|
3485
|
-
}, rr = /* @__PURE__ */ new Map(),
|
|
3486
|
+
}, rr = /* @__PURE__ */ new Map(), Yi = function(e, r, n) {
|
|
3486
3487
|
var t = rr.get(e);
|
|
3487
3488
|
t != null && t.timer && clearTimeout(t.timer);
|
|
3488
3489
|
var i = void 0;
|
|
@@ -3491,17 +3492,17 @@ var rt = function(e) {
|
|
|
3491
3492
|
}, r)), rr.set(e, le(le({}, n), {
|
|
3492
3493
|
timer: i
|
|
3493
3494
|
}));
|
|
3494
|
-
},
|
|
3495
|
+
}, Wi = function(e) {
|
|
3495
3496
|
return rr.get(e);
|
|
3496
|
-
}, tr = /* @__PURE__ */ new Map(),
|
|
3497
|
+
}, tr = /* @__PURE__ */ new Map(), zi = function(e) {
|
|
3497
3498
|
return tr.get(e);
|
|
3498
|
-
},
|
|
3499
|
+
}, Ui = function(e, r) {
|
|
3499
3500
|
tr.set(e, r), r.then(function(n) {
|
|
3500
3501
|
return tr.delete(e), n;
|
|
3501
3502
|
}).catch(function() {
|
|
3502
3503
|
tr.delete(e);
|
|
3503
3504
|
});
|
|
3504
|
-
}, Te = {},
|
|
3505
|
+
}, Te = {}, Gi = function(e, r) {
|
|
3505
3506
|
Te[e] && Te[e].forEach(function(n) {
|
|
3506
3507
|
return n(r);
|
|
3507
3508
|
});
|
|
@@ -3510,11 +3511,11 @@ var rt = function(e) {
|
|
|
3510
3511
|
var t = Te[e].indexOf(r);
|
|
3511
3512
|
Te[e].splice(t, 1);
|
|
3512
3513
|
};
|
|
3513
|
-
},
|
|
3514
|
+
}, Bi = function(e, r) {
|
|
3514
3515
|
var n = r.cacheKey, t = r.cacheTime, i = t === void 0 ? 5 * 60 * 1e3 : t, a = r.staleTime, o = a === void 0 ? 0 : a, s = r.setCache, f = r.getCache, c = H(void 0), d = H(void 0), p = function(g, h) {
|
|
3515
|
-
s ? s(h) :
|
|
3516
|
+
s ? s(h) : Yi(g, i, h), Gi(g, h.data);
|
|
3516
3517
|
}, b = function(g, h) {
|
|
3517
|
-
return h === void 0 && (h = []), f ? f(h) :
|
|
3518
|
+
return h === void 0 && (h = []), f ? f(h) : Wi(g);
|
|
3518
3519
|
};
|
|
3519
3520
|
return Pn(function() {
|
|
3520
3521
|
if (n) {
|
|
@@ -3542,10 +3543,10 @@ var rt = function(e) {
|
|
|
3542
3543
|
};
|
|
3543
3544
|
},
|
|
3544
3545
|
onRequest: function(g, h) {
|
|
3545
|
-
var y =
|
|
3546
|
+
var y = zi(n);
|
|
3546
3547
|
return y && y !== d.current ? {
|
|
3547
3548
|
servicePromise: y
|
|
3548
|
-
} : (y = g.apply(void 0, re([], ee(h), !1)), d.current = y,
|
|
3549
|
+
} : (y = g.apply(void 0, re([], ee(h), !1)), d.current = y, Ui(n, y), {
|
|
3549
3550
|
servicePromise: y
|
|
3550
3551
|
});
|
|
3551
3552
|
},
|
|
@@ -3585,7 +3586,7 @@ function tt() {
|
|
|
3585
3586
|
return Sr = e, Sr;
|
|
3586
3587
|
}
|
|
3587
3588
|
var Rr, It;
|
|
3588
|
-
function
|
|
3589
|
+
function Vi() {
|
|
3589
3590
|
if (It) return Rr;
|
|
3590
3591
|
It = 1;
|
|
3591
3592
|
var e = typeof Be == "object" && Be && Be.Object === Object && Be;
|
|
@@ -3595,11 +3596,11 @@ var wr, Mt;
|
|
|
3595
3596
|
function An() {
|
|
3596
3597
|
if (Mt) return wr;
|
|
3597
3598
|
Mt = 1;
|
|
3598
|
-
var e =
|
|
3599
|
+
var e = Vi(), r = typeof self == "object" && self && self.Object === Object && self, n = e || r || Function("return this")();
|
|
3599
3600
|
return wr = n, wr;
|
|
3600
3601
|
}
|
|
3601
3602
|
var _r, Dt;
|
|
3602
|
-
function
|
|
3603
|
+
function Hi() {
|
|
3603
3604
|
if (Dt) return _r;
|
|
3604
3605
|
Dt = 1;
|
|
3605
3606
|
var e = An(), r = function() {
|
|
@@ -3608,7 +3609,7 @@ function Vi() {
|
|
|
3608
3609
|
return _r = r, _r;
|
|
3609
3610
|
}
|
|
3610
3611
|
var Or, Lt;
|
|
3611
|
-
function
|
|
3612
|
+
function Xi() {
|
|
3612
3613
|
if (Lt) return Or;
|
|
3613
3614
|
Lt = 1;
|
|
3614
3615
|
var e = /\s/;
|
|
@@ -3620,10 +3621,10 @@ function Hi() {
|
|
|
3620
3621
|
return Or = r, Or;
|
|
3621
3622
|
}
|
|
3622
3623
|
var Pr, Ft;
|
|
3623
|
-
function
|
|
3624
|
+
function Ji() {
|
|
3624
3625
|
if (Ft) return Pr;
|
|
3625
3626
|
Ft = 1;
|
|
3626
|
-
var e =
|
|
3627
|
+
var e = Xi(), r = /^\s+/;
|
|
3627
3628
|
function n(t) {
|
|
3628
3629
|
return t && t.slice(0, e(t) + 1).replace(r, "");
|
|
3629
3630
|
}
|
|
@@ -3637,7 +3638,7 @@ function jn() {
|
|
|
3637
3638
|
return Cr = r, Cr;
|
|
3638
3639
|
}
|
|
3639
3640
|
var Ar, Yt;
|
|
3640
|
-
function
|
|
3641
|
+
function Zi() {
|
|
3641
3642
|
if (Yt) return Ar;
|
|
3642
3643
|
Yt = 1;
|
|
3643
3644
|
var e = jn(), r = Object.prototype, n = r.hasOwnProperty, t = r.toString, i = e ? e.toStringTag : void 0;
|
|
@@ -3654,7 +3655,7 @@ function Ji() {
|
|
|
3654
3655
|
return Ar = a, Ar;
|
|
3655
3656
|
}
|
|
3656
3657
|
var jr, Wt;
|
|
3657
|
-
function
|
|
3658
|
+
function Ki() {
|
|
3658
3659
|
if (Wt) return jr;
|
|
3659
3660
|
Wt = 1;
|
|
3660
3661
|
var e = Object.prototype, r = e.toString;
|
|
@@ -3664,17 +3665,17 @@ function Zi() {
|
|
|
3664
3665
|
return jr = n, jr;
|
|
3665
3666
|
}
|
|
3666
3667
|
var Nr, zt;
|
|
3667
|
-
function
|
|
3668
|
+
function Qi() {
|
|
3668
3669
|
if (zt) return Nr;
|
|
3669
3670
|
zt = 1;
|
|
3670
|
-
var e = jn(), r =
|
|
3671
|
+
var e = jn(), r = Zi(), n = Ki(), t = "[object Null]", i = "[object Undefined]", a = e ? e.toStringTag : void 0;
|
|
3671
3672
|
function o(s) {
|
|
3672
3673
|
return s == null ? s === void 0 ? i : t : a && a in Object(s) ? r(s) : n(s);
|
|
3673
3674
|
}
|
|
3674
3675
|
return Nr = o, Nr;
|
|
3675
3676
|
}
|
|
3676
3677
|
var kr, Ut;
|
|
3677
|
-
function
|
|
3678
|
+
function eo() {
|
|
3678
3679
|
if (Ut) return kr;
|
|
3679
3680
|
Ut = 1;
|
|
3680
3681
|
function e(r) {
|
|
@@ -3683,20 +3684,20 @@ function Qi() {
|
|
|
3683
3684
|
return kr = e, kr;
|
|
3684
3685
|
}
|
|
3685
3686
|
var $r, Gt;
|
|
3686
|
-
function
|
|
3687
|
+
function ro() {
|
|
3687
3688
|
if (Gt) return $r;
|
|
3688
3689
|
Gt = 1;
|
|
3689
|
-
var e =
|
|
3690
|
+
var e = Qi(), r = eo(), n = "[object Symbol]";
|
|
3690
3691
|
function t(i) {
|
|
3691
3692
|
return typeof i == "symbol" || r(i) && e(i) == n;
|
|
3692
3693
|
}
|
|
3693
3694
|
return $r = t, $r;
|
|
3694
3695
|
}
|
|
3695
3696
|
var Ir, Bt;
|
|
3696
|
-
function
|
|
3697
|
+
function to() {
|
|
3697
3698
|
if (Bt) return Ir;
|
|
3698
3699
|
Bt = 1;
|
|
3699
|
-
var e =
|
|
3700
|
+
var e = Ji(), r = tt(), n = ro(), t = NaN, i = /^[-+]0x[0-9a-f]+$/i, a = /^0b[01]+$/i, o = /^0o[0-7]+$/i, s = parseInt;
|
|
3700
3701
|
function f(c) {
|
|
3701
3702
|
if (typeof c == "number")
|
|
3702
3703
|
return c;
|
|
@@ -3718,7 +3719,7 @@ var Mr, Vt;
|
|
|
3718
3719
|
function Nn() {
|
|
3719
3720
|
if (Vt) return Mr;
|
|
3720
3721
|
Vt = 1;
|
|
3721
|
-
var e = tt(), r =
|
|
3722
|
+
var e = tt(), r = Hi(), n = to(), t = "Expected a function", i = Math.max, a = Math.min;
|
|
3722
3723
|
function o(s, f, c) {
|
|
3723
3724
|
var d, p, b, g, h, y, E = 0, S = !1, P = !1, x = !0;
|
|
3724
3725
|
if (typeof s != "function")
|
|
@@ -3768,9 +3769,9 @@ function Nn() {
|
|
|
3768
3769
|
}
|
|
3769
3770
|
return Mr = o, Mr;
|
|
3770
3771
|
}
|
|
3771
|
-
var
|
|
3772
|
-
const
|
|
3773
|
-
var
|
|
3772
|
+
var no = Nn();
|
|
3773
|
+
const ao = /* @__PURE__ */ ir(no);
|
|
3774
|
+
var io = function(e, r) {
|
|
3774
3775
|
var n = r.debounceWait, t = r.debounceLeading, i = r.debounceTrailing, a = r.debounceMaxWait, o = H(void 0), s = Kt(function() {
|
|
3775
3776
|
var f = {};
|
|
3776
3777
|
return t !== void 0 && (f.leading = t), i !== void 0 && (f.trailing = i), a !== void 0 && (f.maxWait = a), f;
|
|
@@ -3778,7 +3779,7 @@ var ao = function(e, r) {
|
|
|
3778
3779
|
return Se(function() {
|
|
3779
3780
|
if (n) {
|
|
3780
3781
|
var f = e.runAsync.bind(e);
|
|
3781
|
-
return o.current =
|
|
3782
|
+
return o.current = ao(function(c) {
|
|
3782
3783
|
c();
|
|
3783
3784
|
}, n, s), e.runAsync = function() {
|
|
3784
3785
|
for (var c = [], d = 0; d < arguments.length; d++)
|
|
@@ -3800,7 +3801,7 @@ var ao = function(e, r) {
|
|
|
3800
3801
|
(f = o.current) === null || f === void 0 || f.cancel();
|
|
3801
3802
|
}
|
|
3802
3803
|
} : {};
|
|
3803
|
-
},
|
|
3804
|
+
}, oo = function(e, r) {
|
|
3804
3805
|
var n = r.loadingDelay, t = r.ready, i = H(void 0);
|
|
3805
3806
|
if (!n)
|
|
3806
3807
|
return {};
|
|
@@ -3829,23 +3830,23 @@ function nt() {
|
|
|
3829
3830
|
return lr ? document.visibilityState !== "hidden" : !0;
|
|
3830
3831
|
}
|
|
3831
3832
|
var Le = [];
|
|
3832
|
-
function
|
|
3833
|
+
function so(e) {
|
|
3833
3834
|
return Le.push(e), function() {
|
|
3834
3835
|
var n = Le.indexOf(e);
|
|
3835
3836
|
Le.splice(n, 1);
|
|
3836
3837
|
};
|
|
3837
3838
|
}
|
|
3838
3839
|
if (lr) {
|
|
3839
|
-
var
|
|
3840
|
+
var co = function() {
|
|
3840
3841
|
if (nt())
|
|
3841
3842
|
for (var e = 0; e < Le.length; e++) {
|
|
3842
3843
|
var r = Le[e];
|
|
3843
3844
|
r();
|
|
3844
3845
|
}
|
|
3845
3846
|
};
|
|
3846
|
-
window.addEventListener("visibilitychange",
|
|
3847
|
+
window.addEventListener("visibilitychange", co, !1);
|
|
3847
3848
|
}
|
|
3848
|
-
var
|
|
3849
|
+
var uo = function(e, r) {
|
|
3849
3850
|
var n = r.pollingInterval, t = r.pollingWhenHidden, i = t === void 0 ? !0 : t, a = r.pollingErrorRetryCount, o = a === void 0 ? -1 : a, s = H(void 0), f = H(void 0), c = H(0), d = function() {
|
|
3850
3851
|
var p;
|
|
3851
3852
|
s.current && clearTimeout(s.current), (p = f.current) === null || p === void 0 || p.call(f);
|
|
@@ -3865,7 +3866,7 @@ var co = function(e, r) {
|
|
|
3865
3866
|
onFinally: function() {
|
|
3866
3867
|
o === -1 || // When an error occurs, the request is not repeated after pollingErrorRetryCount retries
|
|
3867
3868
|
o !== -1 && c.current <= o ? s.current = setTimeout(function() {
|
|
3868
|
-
!i && !nt() ? f.current =
|
|
3869
|
+
!i && !nt() ? f.current = so(function() {
|
|
3869
3870
|
e.refresh();
|
|
3870
3871
|
}) : e.refresh();
|
|
3871
3872
|
}, n) : c.current = 0;
|
|
@@ -3875,7 +3876,7 @@ var co = function(e, r) {
|
|
|
3875
3876
|
}
|
|
3876
3877
|
} : {};
|
|
3877
3878
|
};
|
|
3878
|
-
function
|
|
3879
|
+
function fo(e, r) {
|
|
3879
3880
|
var n = !1;
|
|
3880
3881
|
return function() {
|
|
3881
3882
|
for (var t = [], i = 0; i < arguments.length; i++)
|
|
@@ -3885,10 +3886,10 @@ function uo(e, r) {
|
|
|
3885
3886
|
}, r));
|
|
3886
3887
|
};
|
|
3887
3888
|
}
|
|
3888
|
-
var
|
|
3889
|
+
var lo = function() {
|
|
3889
3890
|
return lr && typeof navigator.onLine < "u" ? navigator.onLine : !0;
|
|
3890
3891
|
}, Fe = [];
|
|
3891
|
-
function
|
|
3892
|
+
function po(e) {
|
|
3892
3893
|
return Fe.push(e), function() {
|
|
3893
3894
|
var n = Fe.indexOf(e);
|
|
3894
3895
|
n > -1 && Fe.splice(n, 1);
|
|
@@ -3896,7 +3897,7 @@ function lo(e) {
|
|
|
3896
3897
|
}
|
|
3897
3898
|
if (lr) {
|
|
3898
3899
|
var Ht = function() {
|
|
3899
|
-
if (!(!nt() || !
|
|
3900
|
+
if (!(!nt() || !lo()))
|
|
3900
3901
|
for (var e = 0; e < Fe.length; e++) {
|
|
3901
3902
|
var r = Fe[e];
|
|
3902
3903
|
r();
|
|
@@ -3904,15 +3905,15 @@ if (lr) {
|
|
|
3904
3905
|
};
|
|
3905
3906
|
window.addEventListener("visibilitychange", Ht, !1), window.addEventListener("focus", Ht, !1);
|
|
3906
3907
|
}
|
|
3907
|
-
var
|
|
3908
|
+
var vo = function(e, r) {
|
|
3908
3909
|
var n = r.refreshOnWindowFocus, t = r.focusTimespan, i = t === void 0 ? 5e3 : t, a = H(void 0), o = function() {
|
|
3909
3910
|
var s;
|
|
3910
3911
|
(s = a.current) === null || s === void 0 || s.call(a);
|
|
3911
3912
|
};
|
|
3912
3913
|
return Se(function() {
|
|
3913
3914
|
if (n) {
|
|
3914
|
-
var s =
|
|
3915
|
-
a.current =
|
|
3915
|
+
var s = fo(e.refresh.bind(e), i);
|
|
3916
|
+
a.current = po(function() {
|
|
3916
3917
|
s();
|
|
3917
3918
|
});
|
|
3918
3919
|
}
|
|
@@ -3922,7 +3923,7 @@ var po = function(e, r) {
|
|
|
3922
3923
|
}, [n, i]), rt(function() {
|
|
3923
3924
|
o();
|
|
3924
3925
|
}), {};
|
|
3925
|
-
},
|
|
3926
|
+
}, mo = function(e, r) {
|
|
3926
3927
|
var n = r.retryInterval, t = r.retryCount, i = H(void 0), a = H(0), o = H(!1);
|
|
3927
3928
|
return t ? {
|
|
3928
3929
|
onBefore: function() {
|
|
@@ -3945,7 +3946,7 @@ var po = function(e, r) {
|
|
|
3945
3946
|
}
|
|
3946
3947
|
} : {};
|
|
3947
3948
|
}, Dr, Xt;
|
|
3948
|
-
function
|
|
3949
|
+
function ho() {
|
|
3949
3950
|
if (Xt) return Dr;
|
|
3950
3951
|
Xt = 1;
|
|
3951
3952
|
var e = Nn(), r = tt(), n = "Expected a function";
|
|
@@ -3961,14 +3962,14 @@ function mo() {
|
|
|
3961
3962
|
}
|
|
3962
3963
|
return Dr = t, Dr;
|
|
3963
3964
|
}
|
|
3964
|
-
var
|
|
3965
|
-
const
|
|
3966
|
-
var
|
|
3965
|
+
var yo = ho();
|
|
3966
|
+
const go = /* @__PURE__ */ ir(yo);
|
|
3967
|
+
var bo = function(e, r) {
|
|
3967
3968
|
var n = r.throttleWait, t = r.throttleLeading, i = r.throttleTrailing, a = H(void 0), o = {};
|
|
3968
3969
|
return t !== void 0 && (o.leading = t), i !== void 0 && (o.trailing = i), Se(function() {
|
|
3969
3970
|
if (n) {
|
|
3970
3971
|
var s = e.runAsync.bind(e);
|
|
3971
|
-
return a.current =
|
|
3972
|
+
return a.current = go(function(f) {
|
|
3972
3973
|
f();
|
|
3973
3974
|
}, n, o), e.runAsync = function() {
|
|
3974
3975
|
for (var f = [], c = 0; c < arguments.length; c++)
|
|
@@ -3990,16 +3991,16 @@ var go = function(e, r) {
|
|
|
3990
3991
|
(s = a.current) === null || s === void 0 || s.cancel();
|
|
3991
3992
|
}
|
|
3992
3993
|
} : {};
|
|
3993
|
-
},
|
|
3994
|
+
}, Eo = function(e) {
|
|
3994
3995
|
fr && (ur(e) || console.error('useMount: parameter `fn` expected to be a function, but got "'.concat(typeof e, '".'))), Se(function() {
|
|
3995
3996
|
e == null || e();
|
|
3996
3997
|
}, []);
|
|
3997
|
-
},
|
|
3998
|
+
}, xo = function() {
|
|
3998
3999
|
var e = ee(Zt({}), 2), r = e[1];
|
|
3999
4000
|
return kn(function() {
|
|
4000
4001
|
return r({});
|
|
4001
4002
|
}, []);
|
|
4002
|
-
},
|
|
4003
|
+
}, To = (
|
|
4003
4004
|
/** @class */
|
|
4004
4005
|
function() {
|
|
4005
4006
|
function e(r, n, t, i) {
|
|
@@ -4025,9 +4026,9 @@ var go = function(e, r) {
|
|
|
4025
4026
|
}, e.prototype.runAsync = function() {
|
|
4026
4027
|
for (var r = [], n = 0; n < arguments.length; n++)
|
|
4027
4028
|
r[n] = arguments[n];
|
|
4028
|
-
return
|
|
4029
|
+
return Li(this, void 0, void 0, function() {
|
|
4029
4030
|
var t, i, a, o, s, f, c, d, p, b, g, h, y, E, S, P, x, R, l, N, C;
|
|
4030
|
-
return
|
|
4031
|
+
return Fi(this, function(G) {
|
|
4031
4032
|
switch (G.label) {
|
|
4032
4033
|
case 0:
|
|
4033
4034
|
if (this.count += 1, t = this.count, i = this.runPluginHandler("onBefore", r), a = i.stopNow, o = a === void 0 ? !1 : a, s = i.returnNow, f = s === void 0 ? !1 : s, c = _n(i, ["stopNow", "returnNow"]), o)
|
|
@@ -4086,23 +4087,23 @@ var go = function(e, r) {
|
|
|
4086
4087
|
}, e;
|
|
4087
4088
|
}()
|
|
4088
4089
|
);
|
|
4089
|
-
function
|
|
4090
|
+
function So(e, r, n) {
|
|
4090
4091
|
r === void 0 && (r = {}), n === void 0 && (n = []);
|
|
4091
4092
|
var t = r.manual, i = t === void 0 ? !1 : t, a = r.ready, o = a === void 0 ? !0 : a, s = _n(r, ["manual", "ready"]);
|
|
4092
4093
|
fr && r.defaultParams && !Array.isArray(r.defaultParams) && console.warn("expected defaultParams is array, got ".concat(typeof r.defaultParams));
|
|
4093
4094
|
var f = le({
|
|
4094
4095
|
manual: i,
|
|
4095
4096
|
ready: o
|
|
4096
|
-
}, s), c = Cn(e), d =
|
|
4097
|
+
}, s), c = Cn(e), d = xo(), p = Pn(function() {
|
|
4097
4098
|
var b = n.map(function(g) {
|
|
4098
4099
|
var h;
|
|
4099
4100
|
return (h = g == null ? void 0 : g.onInit) === null || h === void 0 ? void 0 : h.call(g, f);
|
|
4100
4101
|
}).filter(Boolean);
|
|
4101
|
-
return new
|
|
4102
|
+
return new To(c, f, d, Object.assign.apply(Object, re([{}], ee(b), !1)));
|
|
4102
4103
|
}, []);
|
|
4103
4104
|
return p.options = f, p.pluginImpls = n.map(function(b) {
|
|
4104
4105
|
return b(p, f);
|
|
4105
|
-
}),
|
|
4106
|
+
}), Eo(function() {
|
|
4106
4107
|
if (!i && o) {
|
|
4107
4108
|
var b = p.state.params || r.defaultParams || [];
|
|
4108
4109
|
p.run.apply(p, re([], ee(b), !1));
|
|
@@ -4122,11 +4123,11 @@ function To(e, r, n) {
|
|
|
4122
4123
|
mutate: we(p.mutate.bind(p))
|
|
4123
4124
|
};
|
|
4124
4125
|
}
|
|
4125
|
-
function
|
|
4126
|
-
return
|
|
4126
|
+
function Ro(e, r, n) {
|
|
4127
|
+
return So(e, r, re(re([], ee(n || []), !1), [io, oo, uo, vo, bo, On, Bi, mo], !1));
|
|
4127
4128
|
}
|
|
4128
|
-
function
|
|
4129
|
-
const t =
|
|
4129
|
+
function No(e, r, n) {
|
|
4130
|
+
const t = Ro(e, {
|
|
4130
4131
|
...r,
|
|
4131
4132
|
onError(a, o) {
|
|
4132
4133
|
var s;
|
|
@@ -4139,17 +4140,17 @@ function jo(e, r, n) {
|
|
|
4139
4140
|
};
|
|
4140
4141
|
}
|
|
4141
4142
|
export {
|
|
4142
|
-
|
|
4143
|
-
|
|
4143
|
+
Po as App,
|
|
4144
|
+
Co as CheckboxValue,
|
|
4144
4145
|
et as ConfigContext,
|
|
4145
4146
|
ui as ConfigProvider,
|
|
4146
4147
|
ci as GlobalLoading,
|
|
4147
|
-
|
|
4148
|
+
jo as IconButton,
|
|
4148
4149
|
mi as IconFont,
|
|
4149
|
-
|
|
4150
|
+
Ao as SwitchValue,
|
|
4150
4151
|
Rn as message,
|
|
4151
4152
|
li as modal,
|
|
4152
4153
|
fi as notification,
|
|
4153
4154
|
ai as setGlobalLoading,
|
|
4154
|
-
|
|
4155
|
+
No as useRequest
|
|
4155
4156
|
};
|