xmirror-components 1.0.36 → 1.0.37
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 +1 -1
- package/build/dist/index.mjs +278 -256
- package/build/es/hooks/useSearchParams/index.d.ts +9 -0
- package/build/es/hooks/useSearchParams/index.js +26 -5
- package/build/lib/hooks/useSearchParams/index.js +26 -5
- package/build/package.json +1 -1
- package/build/types/hooks/useSearchParams/index.d.ts +9 -0
- package/package.json +1 -1
package/build/dist/index.mjs
CHANGED
|
@@ -7,7 +7,7 @@ var Ir = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
7
7
|
function cn(e) {
|
|
8
8
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
9
9
|
}
|
|
10
|
-
var
|
|
10
|
+
var kr = { exports: {} }, tr = {};
|
|
11
11
|
/**
|
|
12
12
|
* @license React
|
|
13
13
|
* react-jsx-runtime.production.js
|
|
@@ -50,7 +50,7 @@ var rr = {};
|
|
|
50
50
|
* LICENSE file in the root directory of this source tree.
|
|
51
51
|
*/
|
|
52
52
|
var ho;
|
|
53
|
-
function
|
|
53
|
+
function kl() {
|
|
54
54
|
return ho || (ho = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
55
55
|
function e(O) {
|
|
56
56
|
if (O == null) return null;
|
|
@@ -82,14 +82,14 @@ function Fl() {
|
|
|
82
82
|
case g:
|
|
83
83
|
return (O._context.displayName || "Context") + ".Consumer";
|
|
84
84
|
case p:
|
|
85
|
-
var
|
|
86
|
-
return O = O.displayName, O || (O =
|
|
85
|
+
var k = O.render;
|
|
86
|
+
return O = O.displayName, O || (O = k.displayName || k.name || "", O = O !== "" ? "ForwardRef(" + O + ")" : "ForwardRef"), O;
|
|
87
87
|
case P:
|
|
88
|
-
return
|
|
88
|
+
return k = O.displayName || null, k !== null ? k : e(O.type) || "Memo";
|
|
89
89
|
case j:
|
|
90
|
-
|
|
90
|
+
k = O._payload, O = O._init;
|
|
91
91
|
try {
|
|
92
|
-
return e(O(
|
|
92
|
+
return e(O(k));
|
|
93
93
|
} catch {
|
|
94
94
|
}
|
|
95
95
|
}
|
|
@@ -101,15 +101,15 @@ function Fl() {
|
|
|
101
101
|
function r(O) {
|
|
102
102
|
try {
|
|
103
103
|
t(O);
|
|
104
|
-
var
|
|
104
|
+
var k = !1;
|
|
105
105
|
} catch {
|
|
106
|
-
|
|
106
|
+
k = !0;
|
|
107
107
|
}
|
|
108
|
-
if (
|
|
109
|
-
|
|
110
|
-
var L =
|
|
108
|
+
if (k) {
|
|
109
|
+
k = console;
|
|
110
|
+
var L = k.error, U = typeof Symbol == "function" && Symbol.toStringTag && O[Symbol.toStringTag] || O.constructor.name || "Object";
|
|
111
111
|
return L.call(
|
|
112
|
-
|
|
112
|
+
k,
|
|
113
113
|
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
114
114
|
U
|
|
115
115
|
), t(O);
|
|
@@ -120,8 +120,8 @@ function Fl() {
|
|
|
120
120
|
if (typeof O == "object" && O !== null && O.$$typeof === j)
|
|
121
121
|
return "<...>";
|
|
122
122
|
try {
|
|
123
|
-
var
|
|
124
|
-
return
|
|
123
|
+
var k = e(O);
|
|
124
|
+
return k ? "<" + k + ">" : "<...>";
|
|
125
125
|
} catch {
|
|
126
126
|
return "<...>";
|
|
127
127
|
}
|
|
@@ -135,16 +135,16 @@ function Fl() {
|
|
|
135
135
|
}
|
|
136
136
|
function i(O) {
|
|
137
137
|
if ($.call(O, "key")) {
|
|
138
|
-
var
|
|
139
|
-
if (
|
|
138
|
+
var k = Object.getOwnPropertyDescriptor(O, "key").get;
|
|
139
|
+
if (k && k.isReactWarning) return !1;
|
|
140
140
|
}
|
|
141
141
|
return O.key !== void 0;
|
|
142
142
|
}
|
|
143
|
-
function s(O,
|
|
143
|
+
function s(O, k) {
|
|
144
144
|
function L() {
|
|
145
145
|
V || (V = !0, console.error(
|
|
146
146
|
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
|
147
|
-
|
|
147
|
+
k
|
|
148
148
|
));
|
|
149
149
|
}
|
|
150
150
|
L.isReactWarning = !0, Object.defineProperty(O, "key", {
|
|
@@ -158,12 +158,12 @@ function Fl() {
|
|
|
158
158
|
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
159
159
|
)), O = this.props.ref, O !== void 0 ? O : null;
|
|
160
160
|
}
|
|
161
|
-
function u(O,
|
|
161
|
+
function u(O, k, L, U, Q, ee) {
|
|
162
162
|
var B = L.ref;
|
|
163
163
|
return O = {
|
|
164
164
|
$$typeof: w,
|
|
165
165
|
type: O,
|
|
166
|
-
key:
|
|
166
|
+
key: k,
|
|
167
167
|
props: L,
|
|
168
168
|
_owner: U
|
|
169
169
|
}, (B !== void 0 ? B : null) !== null ? Object.defineProperty(O, "ref", {
|
|
@@ -191,11 +191,11 @@ function Fl() {
|
|
|
191
191
|
value: ee
|
|
192
192
|
}), Object.freeze && (Object.freeze(O.props), Object.freeze(O)), O;
|
|
193
193
|
}
|
|
194
|
-
function m(O,
|
|
195
|
-
var B =
|
|
194
|
+
function m(O, k, L, U, Q, ee) {
|
|
195
|
+
var B = k.children;
|
|
196
196
|
if (B !== void 0)
|
|
197
197
|
if (U)
|
|
198
|
-
if (
|
|
198
|
+
if (F(B)) {
|
|
199
199
|
for (U = 0; U < B.length; U++)
|
|
200
200
|
d(B[U]);
|
|
201
201
|
Object.freeze && Object.freeze(B);
|
|
@@ -204,9 +204,9 @@ function Fl() {
|
|
|
204
204
|
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
205
205
|
);
|
|
206
206
|
else d(B);
|
|
207
|
-
if ($.call(
|
|
207
|
+
if ($.call(k, "key")) {
|
|
208
208
|
B = e(O);
|
|
209
|
-
var re = Object.keys(
|
|
209
|
+
var re = Object.keys(k).filter(function(ie) {
|
|
210
210
|
return ie !== "key";
|
|
211
211
|
});
|
|
212
212
|
U = 0 < re.length ? "{key: someKey, " + re.join(": ..., ") + ": ...}" : "{key: someKey}", N[B + U] || (re = 0 < re.length ? "{" + re.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
@@ -222,11 +222,11 @@ React keys must be passed directly to JSX without using spread:
|
|
|
222
222
|
B
|
|
223
223
|
), N[B + U] = !0);
|
|
224
224
|
}
|
|
225
|
-
if (B = null, L !== void 0 && (r(L), B = "" + L), i(
|
|
225
|
+
if (B = null, L !== void 0 && (r(L), B = "" + L), i(k) && (r(k.key), B = "" + k.key), "key" in k) {
|
|
226
226
|
L = {};
|
|
227
|
-
for (var se in
|
|
228
|
-
se !== "key" && (L[se] =
|
|
229
|
-
} else L =
|
|
227
|
+
for (var se in k)
|
|
228
|
+
se !== "key" && (L[se] = k[se]);
|
|
229
|
+
} else L = k;
|
|
230
230
|
return B && s(
|
|
231
231
|
L,
|
|
232
232
|
typeof O == "function" ? O.displayName || O.name || "Unknown" : O
|
|
@@ -245,7 +245,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
245
245
|
function b(O) {
|
|
246
246
|
return typeof O == "object" && O !== null && O.$$typeof === w;
|
|
247
247
|
}
|
|
248
|
-
var y = Le, w = Symbol.for("react.transitional.element"), E = Symbol.for("react.portal"), S = Symbol.for("react.fragment"), h = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"), g = Symbol.for("react.consumer"), v = Symbol.for("react.context"), p = Symbol.for("react.forward_ref"), x = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), P = Symbol.for("react.memo"), j = Symbol.for("react.lazy"), A = Symbol.for("react.activity"), I = Symbol.for("react.client.reference"), q = y.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, $ = Object.prototype.hasOwnProperty,
|
|
248
|
+
var y = Le, w = Symbol.for("react.transitional.element"), E = Symbol.for("react.portal"), S = Symbol.for("react.fragment"), h = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"), g = Symbol.for("react.consumer"), v = Symbol.for("react.context"), p = Symbol.for("react.forward_ref"), x = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), P = Symbol.for("react.memo"), j = Symbol.for("react.lazy"), A = Symbol.for("react.activity"), I = Symbol.for("react.client.reference"), q = y.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, $ = Object.prototype.hasOwnProperty, F = Array.isArray, K = console.createTask ? console.createTask : function() {
|
|
249
249
|
return null;
|
|
250
250
|
};
|
|
251
251
|
y = {
|
|
@@ -257,21 +257,21 @@ React keys must be passed directly to JSX without using spread:
|
|
|
257
257
|
y,
|
|
258
258
|
o
|
|
259
259
|
)(), Se = K(n(o)), N = {};
|
|
260
|
-
rr.Fragment = S, rr.jsx = function(O,
|
|
260
|
+
rr.Fragment = S, rr.jsx = function(O, k, L) {
|
|
261
261
|
var U = 1e4 > q.recentlyCreatedOwnerStacks++;
|
|
262
262
|
return m(
|
|
263
263
|
O,
|
|
264
|
-
|
|
264
|
+
k,
|
|
265
265
|
L,
|
|
266
266
|
!1,
|
|
267
267
|
U ? Error("react-stack-top-frame") : J,
|
|
268
268
|
U ? K(n(O)) : Se
|
|
269
269
|
);
|
|
270
|
-
}, rr.jsxs = function(O,
|
|
270
|
+
}, rr.jsxs = function(O, k, L) {
|
|
271
271
|
var U = 1e4 > q.recentlyCreatedOwnerStacks++;
|
|
272
272
|
return m(
|
|
273
273
|
O,
|
|
274
|
-
|
|
274
|
+
k,
|
|
275
275
|
L,
|
|
276
276
|
!0,
|
|
277
277
|
U ? Error("react-stack-top-frame") : J,
|
|
@@ -281,10 +281,10 @@ React keys must be passed directly to JSX without using spread:
|
|
|
281
281
|
})()), rr;
|
|
282
282
|
}
|
|
283
283
|
var mo;
|
|
284
|
-
function
|
|
285
|
-
return mo || (mo = 1, process.env.NODE_ENV === "production" ?
|
|
284
|
+
function Fl() {
|
|
285
|
+
return mo || (mo = 1, process.env.NODE_ENV === "production" ? kr.exports = Il() : kr.exports = kl()), kr.exports;
|
|
286
286
|
}
|
|
287
|
-
var z =
|
|
287
|
+
var z = Fl();
|
|
288
288
|
function br() {
|
|
289
289
|
return br = Object.assign ? Object.assign.bind() : function(e) {
|
|
290
290
|
for (var t = 1; t < arguments.length; t++) {
|
|
@@ -311,7 +311,7 @@ function fa(e, t) {
|
|
|
311
311
|
function Qi(e, t) {
|
|
312
312
|
e.prototype = Object.create(t.prototype), e.prototype.constructor = e, fa(e, t);
|
|
313
313
|
}
|
|
314
|
-
var
|
|
314
|
+
var Fr = { exports: {} }, Lr = { exports: {} }, me = {};
|
|
315
315
|
/** @license React v16.13.1
|
|
316
316
|
* react-is.production.min.js
|
|
317
317
|
*
|
|
@@ -435,7 +435,7 @@ function zl() {
|
|
|
435
435
|
}
|
|
436
436
|
}
|
|
437
437
|
}
|
|
438
|
-
var p = l, x = u, f = s, P = i, j = t, A = m, I = n, q = w, $ = y,
|
|
438
|
+
var p = l, x = u, f = s, P = i, j = t, A = m, I = n, q = w, $ = y, F = r, K = o, V = a, le = d, J = !1;
|
|
439
439
|
function Se(C) {
|
|
440
440
|
return J || (J = !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.")), N(C) || v(C) === l;
|
|
441
441
|
}
|
|
@@ -445,7 +445,7 @@ function zl() {
|
|
|
445
445
|
function O(C) {
|
|
446
446
|
return v(C) === s;
|
|
447
447
|
}
|
|
448
|
-
function
|
|
448
|
+
function k(C) {
|
|
449
449
|
return v(C) === i;
|
|
450
450
|
}
|
|
451
451
|
function L(C) {
|
|
@@ -475,7 +475,7 @@ function zl() {
|
|
|
475
475
|
function Ne(C) {
|
|
476
476
|
return v(C) === d;
|
|
477
477
|
}
|
|
478
|
-
ge.AsyncMode = p, ge.ConcurrentMode = x, ge.ContextConsumer = f, ge.ContextProvider = P, ge.Element = j, ge.ForwardRef = A, ge.Fragment = I, ge.Lazy = q, ge.Memo = $, ge.Portal =
|
|
478
|
+
ge.AsyncMode = p, ge.ConcurrentMode = x, ge.ContextConsumer = f, ge.ContextProvider = P, ge.Element = j, ge.ForwardRef = A, ge.Fragment = I, ge.Lazy = q, ge.Memo = $, ge.Portal = F, ge.Profiler = K, ge.StrictMode = V, ge.Suspense = le, ge.isAsyncMode = Se, ge.isConcurrentMode = N, ge.isContextConsumer = O, ge.isContextProvider = k, ge.isElement = L, ge.isForwardRef = U, ge.isFragment = Q, ge.isLazy = ee, ge.isMemo = B, ge.isPortal = re, ge.isProfiler = se, ge.isStrictMode = ie, ge.isSuspense = Ne, ge.isValidElementType = g, ge.typeOf = v;
|
|
479
479
|
})()), ge;
|
|
480
480
|
}
|
|
481
481
|
var yo;
|
|
@@ -647,7 +647,7 @@ function Wl() {
|
|
|
647
647
|
E.prototype = Error.prototype;
|
|
648
648
|
function S(N) {
|
|
649
649
|
if (process.env.NODE_ENV !== "production")
|
|
650
|
-
var O = {},
|
|
650
|
+
var O = {}, k = 0;
|
|
651
651
|
function L(Q, ee, B, re, se, ie, Ne) {
|
|
652
652
|
if (re = re || b, ie = ie || B, Ne !== r) {
|
|
653
653
|
if (l) {
|
|
@@ -658,9 +658,9 @@ function Wl() {
|
|
|
658
658
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
659
659
|
var Oe = re + ":" + B;
|
|
660
660
|
!O[Oe] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
661
|
-
|
|
661
|
+
k < 3 && (o(
|
|
662
662
|
"You are manually calling a React.PropTypes validation function for the `" + ie + "` prop on `" + re + "`. 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."
|
|
663
|
-
), O[Oe] = !0,
|
|
663
|
+
), O[Oe] = !0, k++);
|
|
664
664
|
}
|
|
665
665
|
}
|
|
666
666
|
return ee[B] == null ? Q ? ee[B] === null ? new E("The " + se + " `" + ie + "` is marked as required " + ("in `" + re + "`, but its value is `null`.")) : new E("The " + se + " `" + ie + "` is marked as required in " + ("`" + re + "`, but its value is `undefined`.")) : null : N(ee, B, re, se, ie);
|
|
@@ -669,8 +669,8 @@ function Wl() {
|
|
|
669
669
|
return U.isRequired = L.bind(null, !0), U;
|
|
670
670
|
}
|
|
671
671
|
function h(N) {
|
|
672
|
-
function O(
|
|
673
|
-
var re =
|
|
672
|
+
function O(k, L, U, Q, ee, B) {
|
|
673
|
+
var re = k[L], se = V(re);
|
|
674
674
|
if (se !== N) {
|
|
675
675
|
var ie = le(re);
|
|
676
676
|
return new E(
|
|
@@ -686,10 +686,10 @@ function Wl() {
|
|
|
686
686
|
return S(i);
|
|
687
687
|
}
|
|
688
688
|
function g(N) {
|
|
689
|
-
function O(
|
|
689
|
+
function O(k, L, U, Q, ee) {
|
|
690
690
|
if (typeof N != "function")
|
|
691
691
|
return new E("Property `" + ee + "` of component `" + U + "` has invalid PropType notation inside arrayOf.");
|
|
692
|
-
var B =
|
|
692
|
+
var B = k[L];
|
|
693
693
|
if (!Array.isArray(B)) {
|
|
694
694
|
var re = V(B);
|
|
695
695
|
return new E("Invalid " + Q + " `" + ee + "` of type " + ("`" + re + "` supplied to `" + U + "`, expected an array."));
|
|
@@ -704,8 +704,8 @@ function Wl() {
|
|
|
704
704
|
return S(O);
|
|
705
705
|
}
|
|
706
706
|
function v() {
|
|
707
|
-
function N(O,
|
|
708
|
-
var ee = O[
|
|
707
|
+
function N(O, k, L, U, Q) {
|
|
708
|
+
var ee = O[k];
|
|
709
709
|
if (!s(ee)) {
|
|
710
710
|
var B = V(ee);
|
|
711
711
|
return new E("Invalid " + U + " `" + Q + "` of type " + ("`" + B + "` supplied to `" + L + "`, expected a single ReactElement."));
|
|
@@ -715,8 +715,8 @@ function Wl() {
|
|
|
715
715
|
return S(N);
|
|
716
716
|
}
|
|
717
717
|
function p() {
|
|
718
|
-
function N(O,
|
|
719
|
-
var ee = O[
|
|
718
|
+
function N(O, k, L, U, Q) {
|
|
719
|
+
var ee = O[k];
|
|
720
720
|
if (!e.isValidElementType(ee)) {
|
|
721
721
|
var B = V(ee);
|
|
722
722
|
return new E("Invalid " + U + " `" + Q + "` of type " + ("`" + B + "` supplied to `" + L + "`, expected a single ReactElement type."));
|
|
@@ -726,9 +726,9 @@ function Wl() {
|
|
|
726
726
|
return S(N);
|
|
727
727
|
}
|
|
728
728
|
function x(N) {
|
|
729
|
-
function O(
|
|
730
|
-
if (!(
|
|
731
|
-
var B = N.name || b, re = Se(
|
|
729
|
+
function O(k, L, U, Q, ee) {
|
|
730
|
+
if (!(k[L] instanceof N)) {
|
|
731
|
+
var B = N.name || b, re = Se(k[L]);
|
|
732
732
|
return new E("Invalid " + Q + " `" + ee + "` of type " + ("`" + re + "` supplied to `" + U + "`, expected ") + ("instance of `" + B + "`."));
|
|
733
733
|
}
|
|
734
734
|
return null;
|
|
@@ -740,8 +740,8 @@ function Wl() {
|
|
|
740
740
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? o(
|
|
741
741
|
"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])."
|
|
742
742
|
) : o("Invalid argument supplied to oneOf, expected an array.")), i;
|
|
743
|
-
function O(
|
|
744
|
-
for (var B =
|
|
743
|
+
function O(k, L, U, Q, ee) {
|
|
744
|
+
for (var B = k[L], re = 0; re < N.length; re++)
|
|
745
745
|
if (w(B, N[re]))
|
|
746
746
|
return null;
|
|
747
747
|
var se = JSON.stringify(N, function(Ne, C) {
|
|
@@ -753,10 +753,10 @@ function Wl() {
|
|
|
753
753
|
return S(O);
|
|
754
754
|
}
|
|
755
755
|
function P(N) {
|
|
756
|
-
function O(
|
|
756
|
+
function O(k, L, U, Q, ee) {
|
|
757
757
|
if (typeof N != "function")
|
|
758
758
|
return new E("Property `" + ee + "` of component `" + U + "` has invalid PropType notation inside objectOf.");
|
|
759
|
-
var B =
|
|
759
|
+
var B = k[L], re = V(B);
|
|
760
760
|
if (re !== "object")
|
|
761
761
|
return new E("Invalid " + Q + " `" + ee + "` of type " + ("`" + re + "` supplied to `" + U + "`, expected an object."));
|
|
762
762
|
for (var se in B)
|
|
@@ -773,10 +773,10 @@ function Wl() {
|
|
|
773
773
|
if (!Array.isArray(N))
|
|
774
774
|
return process.env.NODE_ENV !== "production" && o("Invalid argument supplied to oneOfType, expected an instance of array."), i;
|
|
775
775
|
for (var O = 0; O < N.length; O++) {
|
|
776
|
-
var
|
|
777
|
-
if (typeof
|
|
776
|
+
var k = N[O];
|
|
777
|
+
if (typeof k != "function")
|
|
778
778
|
return o(
|
|
779
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + J(
|
|
779
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + J(k) + " at index " + O + "."
|
|
780
780
|
), i;
|
|
781
781
|
}
|
|
782
782
|
function L(U, Q, ee, B, re) {
|
|
@@ -792,19 +792,19 @@ function Wl() {
|
|
|
792
792
|
return S(L);
|
|
793
793
|
}
|
|
794
794
|
function A() {
|
|
795
|
-
function N(O,
|
|
796
|
-
return
|
|
795
|
+
function N(O, k, L, U, Q) {
|
|
796
|
+
return F(O[k]) ? null : new E("Invalid " + U + " `" + Q + "` supplied to " + ("`" + L + "`, expected a ReactNode."));
|
|
797
797
|
}
|
|
798
798
|
return S(N);
|
|
799
799
|
}
|
|
800
|
-
function I(N, O,
|
|
800
|
+
function I(N, O, k, L, U) {
|
|
801
801
|
return new E(
|
|
802
|
-
(N || "React class") + ": " + O + " type `" +
|
|
802
|
+
(N || "React class") + ": " + O + " type `" + k + "." + L + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + U + "`."
|
|
803
803
|
);
|
|
804
804
|
}
|
|
805
805
|
function q(N) {
|
|
806
|
-
function O(
|
|
807
|
-
var B =
|
|
806
|
+
function O(k, L, U, Q, ee) {
|
|
807
|
+
var B = k[L], re = V(B);
|
|
808
808
|
if (re !== "object")
|
|
809
809
|
return new E("Invalid " + Q + " `" + ee + "` of type `" + re + "` " + ("supplied to `" + U + "`, expected `object`."));
|
|
810
810
|
for (var se in N) {
|
|
@@ -820,18 +820,18 @@ function Wl() {
|
|
|
820
820
|
return S(O);
|
|
821
821
|
}
|
|
822
822
|
function $(N) {
|
|
823
|
-
function O(
|
|
824
|
-
var B =
|
|
823
|
+
function O(k, L, U, Q, ee) {
|
|
824
|
+
var B = k[L], re = V(B);
|
|
825
825
|
if (re !== "object")
|
|
826
826
|
return new E("Invalid " + Q + " `" + ee + "` of type `" + re + "` " + ("supplied to `" + U + "`, expected `object`."));
|
|
827
|
-
var se = t({},
|
|
827
|
+
var se = t({}, k[L], N);
|
|
828
828
|
for (var ie in se) {
|
|
829
829
|
var Ne = N[ie];
|
|
830
830
|
if (n(N, ie) && typeof Ne != "function")
|
|
831
831
|
return I(U, Q, ee, ie, le(Ne));
|
|
832
832
|
if (!Ne)
|
|
833
833
|
return new E(
|
|
834
|
-
"Invalid " + Q + " `" + ee + "` key `" + ie + "` supplied to `" + U + "`.\nBad object: " + JSON.stringify(
|
|
834
|
+
"Invalid " + Q + " `" + ee + "` key `" + ie + "` supplied to `" + U + "`.\nBad object: " + JSON.stringify(k[L], null, " ") + `
|
|
835
835
|
Valid keys: ` + JSON.stringify(Object.keys(N), null, " ")
|
|
836
836
|
);
|
|
837
837
|
var C = Ne(B, ie, U, Q, ee + "." + ie, r);
|
|
@@ -842,7 +842,7 @@ Valid keys: ` + JSON.stringify(Object.keys(N), null, " ")
|
|
|
842
842
|
}
|
|
843
843
|
return S(O);
|
|
844
844
|
}
|
|
845
|
-
function
|
|
845
|
+
function F(N) {
|
|
846
846
|
switch (typeof N) {
|
|
847
847
|
case "number":
|
|
848
848
|
case "string":
|
|
@@ -852,20 +852,20 @@ Valid keys: ` + JSON.stringify(Object.keys(N), null, " ")
|
|
|
852
852
|
return !N;
|
|
853
853
|
case "object":
|
|
854
854
|
if (Array.isArray(N))
|
|
855
|
-
return N.every(
|
|
855
|
+
return N.every(F);
|
|
856
856
|
if (N === null || s(N))
|
|
857
857
|
return !0;
|
|
858
858
|
var O = d(N);
|
|
859
859
|
if (O) {
|
|
860
|
-
var
|
|
860
|
+
var k = O.call(N), L;
|
|
861
861
|
if (O !== N.entries) {
|
|
862
|
-
for (; !(L =
|
|
863
|
-
if (!
|
|
862
|
+
for (; !(L = k.next()).done; )
|
|
863
|
+
if (!F(L.value))
|
|
864
864
|
return !1;
|
|
865
865
|
} else
|
|
866
|
-
for (; !(L =
|
|
866
|
+
for (; !(L = k.next()).done; ) {
|
|
867
867
|
var U = L.value;
|
|
868
|
-
if (U && !
|
|
868
|
+
if (U && !F(U[1]))
|
|
869
869
|
return !1;
|
|
870
870
|
}
|
|
871
871
|
} else
|
|
@@ -964,13 +964,13 @@ function ql() {
|
|
|
964
964
|
}
|
|
965
965
|
var Po;
|
|
966
966
|
function Pr() {
|
|
967
|
-
if (Po) return
|
|
967
|
+
if (Po) return Fr.exports;
|
|
968
968
|
if (Po = 1, process.env.NODE_ENV !== "production") {
|
|
969
969
|
var e = es(), t = !0;
|
|
970
|
-
|
|
970
|
+
Fr.exports = /* @__PURE__ */ Wl()(e.isElement, t);
|
|
971
971
|
} else
|
|
972
|
-
|
|
973
|
-
return
|
|
972
|
+
Fr.exports = /* @__PURE__ */ ql()();
|
|
973
|
+
return Fr.exports;
|
|
974
974
|
}
|
|
975
975
|
var Bl = /* @__PURE__ */ Pr();
|
|
976
976
|
const ae = /* @__PURE__ */ cn(Bl);
|
|
@@ -1306,7 +1306,7 @@ ot.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
1306
1306
|
*/
|
|
1307
1307
|
onExited: ae.func
|
|
1308
1308
|
} : {};
|
|
1309
|
-
function
|
|
1309
|
+
function Ft() {
|
|
1310
1310
|
}
|
|
1311
1311
|
ot.defaultProps = {
|
|
1312
1312
|
in: !1,
|
|
@@ -1315,12 +1315,12 @@ ot.defaultProps = {
|
|
|
1315
1315
|
appear: !1,
|
|
1316
1316
|
enter: !0,
|
|
1317
1317
|
exit: !0,
|
|
1318
|
-
onEnter:
|
|
1319
|
-
onEntering:
|
|
1320
|
-
onEntered:
|
|
1321
|
-
onExit:
|
|
1322
|
-
onExiting:
|
|
1323
|
-
onExited:
|
|
1318
|
+
onEnter: Ft,
|
|
1319
|
+
onEntering: Ft,
|
|
1320
|
+
onEntered: Ft,
|
|
1321
|
+
onExit: Ft,
|
|
1322
|
+
onExiting: Ft,
|
|
1323
|
+
onExited: Ft
|
|
1324
1324
|
};
|
|
1325
1325
|
ot.UNMOUNTED = mr;
|
|
1326
1326
|
ot.EXITED = Pt;
|
|
@@ -1561,7 +1561,7 @@ var Ql = /* @__PURE__ */ (function() {
|
|
|
1561
1561
|
return (a = n.parentNode) == null ? void 0 : a.removeChild(n);
|
|
1562
1562
|
}), this.tags = [], this.ctr = 0;
|
|
1563
1563
|
}, e;
|
|
1564
|
-
})(),
|
|
1564
|
+
})(), ke = "-ms-", tn = "-moz-", pe = "-webkit-", as = "comm", _a = "rule", Ta = "decl", eu = "@import", os = "@keyframes", tu = "@layer", ru = Math.abs, dn = String.fromCharCode, nu = Object.assign;
|
|
1565
1565
|
function au(e, t) {
|
|
1566
1566
|
return Me(e, 0) ^ 45 ? (((t << 2 ^ Me(e, 0)) << 2 ^ Me(e, 1)) << 2 ^ Me(e, 2)) << 2 ^ Me(e, 3) : 0;
|
|
1567
1567
|
}
|
|
@@ -1960,32 +1960,32 @@ function fs(e, t) {
|
|
|
1960
1960
|
case 4810:
|
|
1961
1961
|
case 6968:
|
|
1962
1962
|
case 2756:
|
|
1963
|
-
return pe + e + tn + e +
|
|
1963
|
+
return pe + e + tn + e + ke + e + e;
|
|
1964
1964
|
// flex, flex-direction
|
|
1965
1965
|
case 6828:
|
|
1966
1966
|
case 4268:
|
|
1967
|
-
return pe + e +
|
|
1967
|
+
return pe + e + ke + e + e;
|
|
1968
1968
|
// order
|
|
1969
1969
|
case 6165:
|
|
1970
|
-
return pe + e +
|
|
1970
|
+
return pe + e + ke + "flex-" + e + e;
|
|
1971
1971
|
// align-items
|
|
1972
1972
|
case 5187:
|
|
1973
|
-
return pe + e + he(e, /(\w+).+(:[^]+)/, pe + "box-$1$2" +
|
|
1973
|
+
return pe + e + he(e, /(\w+).+(:[^]+)/, pe + "box-$1$2" + ke + "flex-$1$2") + e;
|
|
1974
1974
|
// align-self
|
|
1975
1975
|
case 5443:
|
|
1976
|
-
return pe + e +
|
|
1976
|
+
return pe + e + ke + "flex-item-" + he(e, /flex-|-self/, "") + e;
|
|
1977
1977
|
// align-content
|
|
1978
1978
|
case 4675:
|
|
1979
|
-
return pe + e +
|
|
1979
|
+
return pe + e + ke + "flex-line-pack" + he(e, /align-content|flex-|-self/, "") + e;
|
|
1980
1980
|
// flex-shrink
|
|
1981
1981
|
case 5548:
|
|
1982
|
-
return pe + e +
|
|
1982
|
+
return pe + e + ke + he(e, "shrink", "negative") + e;
|
|
1983
1983
|
// flex-basis
|
|
1984
1984
|
case 5292:
|
|
1985
|
-
return pe + e +
|
|
1985
|
+
return pe + e + ke + he(e, "basis", "preferred-size") + e;
|
|
1986
1986
|
// flex-grow
|
|
1987
1987
|
case 6060:
|
|
1988
|
-
return pe + "box-" + he(e, "-grow", "") + pe + e +
|
|
1988
|
+
return pe + "box-" + he(e, "-grow", "") + pe + e + ke + he(e, "grow", "positive") + e;
|
|
1989
1989
|
// transition
|
|
1990
1990
|
case 4554:
|
|
1991
1991
|
return pe + he(e, /([^-])(transform)/g, "$1" + pe + "$2") + e;
|
|
@@ -1998,7 +1998,7 @@ function fs(e, t) {
|
|
|
1998
1998
|
return he(e, /(image-set\([^]*)/, pe + "$1$`$1");
|
|
1999
1999
|
// justify-content
|
|
2000
2000
|
case 4968:
|
|
2001
|
-
return he(he(e, /(.+:)(flex-)?(.*)/, pe + "box-pack:$3" +
|
|
2001
|
+
return he(he(e, /(.+:)(flex-)?(.*)/, pe + "box-pack:$3" + ke + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + pe + e + e;
|
|
2002
2002
|
// (margin|padding)-inline-(start|end)
|
|
2003
2003
|
case 4095:
|
|
2004
2004
|
case 3583:
|
|
@@ -2041,7 +2041,7 @@ function fs(e, t) {
|
|
|
2041
2041
|
return he(e, ":", ":" + pe) + e;
|
|
2042
2042
|
// (inline-)?fl(e)x
|
|
2043
2043
|
case 101:
|
|
2044
|
-
return he(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + pe + (Me(e, 14) === 45 ? "inline-" : "") + "box$3$1" + pe + "$2$3$1" +
|
|
2044
|
+
return he(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + pe + (Me(e, 14) === 45 ? "inline-" : "") + "box$3$1" + pe + "$2$3$1" + ke + "$2box$3") + e;
|
|
2045
2045
|
}
|
|
2046
2046
|
break;
|
|
2047
2047
|
// writing-mode
|
|
@@ -2049,15 +2049,15 @@ function fs(e, t) {
|
|
|
2049
2049
|
switch (Me(e, t + 11)) {
|
|
2050
2050
|
// vertical-l(r)
|
|
2051
2051
|
case 114:
|
|
2052
|
-
return pe + e +
|
|
2052
|
+
return pe + e + ke + he(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
|
|
2053
2053
|
// vertical-r(l)
|
|
2054
2054
|
case 108:
|
|
2055
|
-
return pe + e +
|
|
2055
|
+
return pe + e + ke + he(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
|
|
2056
2056
|
// horizontal(-)tb
|
|
2057
2057
|
case 45:
|
|
2058
|
-
return pe + e +
|
|
2058
|
+
return pe + e + ke + he(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
|
|
2059
2059
|
}
|
|
2060
|
-
return pe + e +
|
|
2060
|
+
return pe + e + ke + e + e;
|
|
2061
2061
|
}
|
|
2062
2062
|
return e;
|
|
2063
2063
|
}
|
|
@@ -2086,7 +2086,7 @@ var wu = function(t, r, n, a) {
|
|
|
2086
2086
|
}), nr(t, {
|
|
2087
2087
|
props: [he(o, /:(plac\w+)/, ":" + tn + "$1")]
|
|
2088
2088
|
}), nr(t, {
|
|
2089
|
-
props: [he(o, /:(plac\w+)/,
|
|
2089
|
+
props: [he(o, /:(plac\w+)/, ke + "input-$1")]
|
|
2090
2090
|
})], a);
|
|
2091
2091
|
}
|
|
2092
2092
|
return "";
|
|
@@ -2263,7 +2263,7 @@ function _u() {
|
|
|
2263
2263
|
}
|
|
2264
2264
|
}
|
|
2265
2265
|
}
|
|
2266
|
-
var p = l, x = u, f = s, P = i, j = t, A = m, I = n, q = w, $ = y,
|
|
2266
|
+
var p = l, x = u, f = s, P = i, j = t, A = m, I = n, q = w, $ = y, F = r, K = o, V = a, le = d, J = !1;
|
|
2267
2267
|
function Se(C) {
|
|
2268
2268
|
return J || (J = !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.")), N(C) || v(C) === l;
|
|
2269
2269
|
}
|
|
@@ -2273,7 +2273,7 @@ function _u() {
|
|
|
2273
2273
|
function O(C) {
|
|
2274
2274
|
return v(C) === s;
|
|
2275
2275
|
}
|
|
2276
|
-
function
|
|
2276
|
+
function k(C) {
|
|
2277
2277
|
return v(C) === i;
|
|
2278
2278
|
}
|
|
2279
2279
|
function L(C) {
|
|
@@ -2303,16 +2303,16 @@ function _u() {
|
|
|
2303
2303
|
function Ne(C) {
|
|
2304
2304
|
return v(C) === d;
|
|
2305
2305
|
}
|
|
2306
|
-
ye.AsyncMode = p, ye.ConcurrentMode = x, ye.ContextConsumer = f, ye.ContextProvider = P, ye.Element = j, ye.ForwardRef = A, ye.Fragment = I, ye.Lazy = q, ye.Memo = $, ye.Portal =
|
|
2306
|
+
ye.AsyncMode = p, ye.ConcurrentMode = x, ye.ContextConsumer = f, ye.ContextProvider = P, ye.Element = j, ye.ForwardRef = A, ye.Fragment = I, ye.Lazy = q, ye.Memo = $, ye.Portal = F, ye.Profiler = K, ye.StrictMode = V, ye.Suspense = le, ye.isAsyncMode = Se, ye.isConcurrentMode = N, ye.isContextConsumer = O, ye.isContextProvider = k, ye.isElement = L, ye.isForwardRef = U, ye.isFragment = Q, ye.isLazy = ee, ye.isMemo = B, ye.isPortal = re, ye.isProfiler = se, ye.isStrictMode = ie, ye.isSuspense = Ne, ye.isValidElementType = g, ye.typeOf = v;
|
|
2307
2307
|
})()), ye;
|
|
2308
2308
|
}
|
|
2309
2309
|
var Ao;
|
|
2310
2310
|
function Tu() {
|
|
2311
2311
|
return Ao || (Ao = 1, process.env.NODE_ENV === "production" ? $r.exports = Ou() : $r.exports = _u()), $r.exports;
|
|
2312
2312
|
}
|
|
2313
|
-
var
|
|
2313
|
+
var kn, Mo;
|
|
2314
2314
|
function Cu() {
|
|
2315
|
-
if (Mo) return
|
|
2315
|
+
if (Mo) return kn;
|
|
2316
2316
|
Mo = 1;
|
|
2317
2317
|
var e = Tu(), t = {
|
|
2318
2318
|
childContextTypes: !0,
|
|
@@ -2374,7 +2374,7 @@ function Cu() {
|
|
|
2374
2374
|
}
|
|
2375
2375
|
return w;
|
|
2376
2376
|
}
|
|
2377
|
-
return
|
|
2377
|
+
return kn = y, kn;
|
|
2378
2378
|
}
|
|
2379
2379
|
Cu();
|
|
2380
2380
|
var Du = !0;
|
|
@@ -2478,9 +2478,9 @@ var Nu = {
|
|
|
2478
2478
|
return t.charCodeAt(1) === 45;
|
|
2479
2479
|
}, Io = function(t) {
|
|
2480
2480
|
return t != null && typeof t != "boolean";
|
|
2481
|
-
},
|
|
2481
|
+
}, Fn = /* @__PURE__ */ cs(function(e) {
|
|
2482
2482
|
return ps(e) ? e : e.replace(Au, "-$&").toLowerCase();
|
|
2483
|
-
}),
|
|
2483
|
+
}), ko = function(t, r) {
|
|
2484
2484
|
switch (t) {
|
|
2485
2485
|
case "animation":
|
|
2486
2486
|
case "animationName":
|
|
@@ -2551,16 +2551,16 @@ function Iu(e, t, r) {
|
|
|
2551
2551
|
var i = r[o];
|
|
2552
2552
|
if (typeof i != "object") {
|
|
2553
2553
|
var s = i;
|
|
2554
|
-
t != null && t[s] !== void 0 ? n += o + "{" + t[s] + "}" : Io(s) && (n +=
|
|
2554
|
+
t != null && t[s] !== void 0 ? n += o + "{" + t[s] + "}" : Io(s) && (n += Fn(o) + ":" + ko(o, s) + ";");
|
|
2555
2555
|
} else if (Array.isArray(i) && typeof i[0] == "string" && (t == null || t[i[0]] === void 0))
|
|
2556
2556
|
for (var l = 0; l < i.length; l++)
|
|
2557
|
-
Io(i[l]) && (n +=
|
|
2557
|
+
Io(i[l]) && (n += Fn(o) + ":" + ko(o, i[l]) + ";");
|
|
2558
2558
|
else {
|
|
2559
2559
|
var u = Sr(e, t, i);
|
|
2560
2560
|
switch (o) {
|
|
2561
2561
|
case "animation":
|
|
2562
2562
|
case "animationName": {
|
|
2563
|
-
n +=
|
|
2563
|
+
n += Fn(o) + ":" + u + ";";
|
|
2564
2564
|
break;
|
|
2565
2565
|
}
|
|
2566
2566
|
default:
|
|
@@ -2570,7 +2570,7 @@ function Iu(e, t, r) {
|
|
|
2570
2570
|
}
|
|
2571
2571
|
return n;
|
|
2572
2572
|
}
|
|
2573
|
-
var
|
|
2573
|
+
var Fo = /label:\s*([^\s;{]+)\s*(;|$)/g, rt;
|
|
2574
2574
|
function mn(e, t, r) {
|
|
2575
2575
|
if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0)
|
|
2576
2576
|
return e[0];
|
|
@@ -2588,8 +2588,8 @@ function mn(e, t, r) {
|
|
|
2588
2588
|
var l = o;
|
|
2589
2589
|
a += l[s];
|
|
2590
2590
|
}
|
|
2591
|
-
|
|
2592
|
-
for (var u = "", m; (m =
|
|
2591
|
+
Fo.lastIndex = 0;
|
|
2592
|
+
for (var u = "", m; (m = Fo.exec(a)) !== null; )
|
|
2593
2593
|
u += "-" + m[1];
|
|
2594
2594
|
var d = ju(a) + u;
|
|
2595
2595
|
return {
|
|
@@ -2598,9 +2598,9 @@ function mn(e, t, r) {
|
|
|
2598
2598
|
next: rt
|
|
2599
2599
|
};
|
|
2600
2600
|
}
|
|
2601
|
-
var
|
|
2601
|
+
var ku = function(t) {
|
|
2602
2602
|
return t();
|
|
2603
|
-
}, hs = D.useInsertionEffect ? D.useInsertionEffect : !1, ms = hs ||
|
|
2603
|
+
}, hs = D.useInsertionEffect ? D.useInsertionEffect : !1, ms = hs || ku, Lo = hs || D.useLayoutEffect, gs = /* @__PURE__ */ D.createContext(
|
|
2604
2604
|
// we're doing this to avoid preconstruct's dead code elimination in this one case
|
|
2605
2605
|
// because this module is primarily intended for the browser and node
|
|
2606
2606
|
// but it's also required in react native and similar environments sometimes
|
|
@@ -2617,7 +2617,7 @@ var Na = function(t) {
|
|
|
2617
2617
|
var a = Vt(gs);
|
|
2618
2618
|
return t(r, a, n);
|
|
2619
2619
|
});
|
|
2620
|
-
}, Aa = /* @__PURE__ */ D.createContext({}), Ma = {}.hasOwnProperty, ma = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__",
|
|
2620
|
+
}, Aa = /* @__PURE__ */ D.createContext({}), Ma = {}.hasOwnProperty, ma = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", Fu = function(t, r) {
|
|
2621
2621
|
var n = {};
|
|
2622
2622
|
for (var a in r)
|
|
2623
2623
|
Ma.call(r, a) && (n[a] = r[a]);
|
|
@@ -2647,7 +2647,7 @@ var Na = function(t) {
|
|
|
2647
2647
|
if (r == null || !Ma.call(r, "css"))
|
|
2648
2648
|
return D.createElement.apply(void 0, n);
|
|
2649
2649
|
var a = n.length, o = new Array(a);
|
|
2650
|
-
o[0] = $u, o[1] =
|
|
2650
|
+
o[0] = $u, o[1] = Fu(t, r);
|
|
2651
2651
|
for (var i = 2; i < a; i++)
|
|
2652
2652
|
o[i] = n[i];
|
|
2653
2653
|
return D.createElement.apply(null, o);
|
|
@@ -3073,7 +3073,7 @@ const tc = {
|
|
|
3073
3073
|
"message.delete": "This action cannot be undone, confirm delete?",
|
|
3074
3074
|
"message.success": "Operation successful",
|
|
3075
3075
|
"table.pagination.total": "Total {total} items"
|
|
3076
|
-
},
|
|
3076
|
+
}, ka = {
|
|
3077
3077
|
zh: tc,
|
|
3078
3078
|
en: rc
|
|
3079
3079
|
}, ga = ({ messages: e, locale: t }) => ({ id: r, defaultMessage: n, values: a }) => {
|
|
@@ -3084,27 +3084,27 @@ const tc = {
|
|
|
3084
3084
|
}), o;
|
|
3085
3085
|
};
|
|
3086
3086
|
function nc() {
|
|
3087
|
-
const { messages: e, locale: t } = Vt(
|
|
3087
|
+
const { messages: e, locale: t } = Vt(Fa);
|
|
3088
3088
|
return {
|
|
3089
3089
|
$t: ({ id: r, defaultMessage: n }, a) => ga({ messages: e, locale: t })({ id: r, defaultMessage: n, values: a }),
|
|
3090
3090
|
formatMessage: ga({ messages: e, locale: t })
|
|
3091
3091
|
};
|
|
3092
3092
|
}
|
|
3093
3093
|
function Bt({ id: e, defaultMessage: t, values: r }) {
|
|
3094
|
-
const { messages: n, locale: a } = Vt(
|
|
3094
|
+
const { messages: n, locale: a } = Vt(Fa);
|
|
3095
3095
|
return ga({ messages: n, locale: a })({ id: e, defaultMessage: t, values: r });
|
|
3096
3096
|
}
|
|
3097
3097
|
const ac = {
|
|
3098
3098
|
locale: "zh",
|
|
3099
|
-
messages:
|
|
3100
|
-
},
|
|
3099
|
+
messages: ka
|
|
3100
|
+
}, Fa = Le.createContext(ac);
|
|
3101
3101
|
function oc({ children: e, config: t }) {
|
|
3102
3102
|
return /* @__PURE__ */ z.jsx(
|
|
3103
|
-
|
|
3103
|
+
Fa.Provider,
|
|
3104
3104
|
{
|
|
3105
3105
|
value: {
|
|
3106
3106
|
locale: t.locale,
|
|
3107
|
-
messages:
|
|
3107
|
+
messages: ka
|
|
3108
3108
|
},
|
|
3109
3109
|
children: e
|
|
3110
3110
|
}
|
|
@@ -3141,7 +3141,7 @@ function ic({ children: e, config: t }) {
|
|
|
3141
3141
|
{
|
|
3142
3142
|
config: {
|
|
3143
3143
|
locale: t.locale,
|
|
3144
|
-
messages:
|
|
3144
|
+
messages: ka
|
|
3145
3145
|
},
|
|
3146
3146
|
children: e
|
|
3147
3147
|
}
|
|
@@ -3354,7 +3354,7 @@ var Ac = "[object String]";
|
|
|
3354
3354
|
function Mc(e) {
|
|
3355
3355
|
return typeof e == "string" || !gr(e) && Ss(e) && xs(e) == Ac;
|
|
3356
3356
|
}
|
|
3357
|
-
const Ic = Le.forwardRef((e, t) => /* @__PURE__ */ z.jsx(yr, { ref: t, ...e })),
|
|
3357
|
+
const Ic = Le.forwardRef((e, t) => /* @__PURE__ */ z.jsx(yr, { ref: t, ...e })), kc = je(Ic)`
|
|
3358
3358
|
&&.icon-button {
|
|
3359
3359
|
font-size: 18px;
|
|
3360
3360
|
color: var(--color-primary);
|
|
@@ -3373,7 +3373,7 @@ const Ic = Le.forwardRef((e, t) => /* @__PURE__ */ z.jsx(yr, { ref: t, ...e })),
|
|
|
3373
3373
|
background: var(--color-primary-bg);
|
|
3374
3374
|
}
|
|
3375
3375
|
}
|
|
3376
|
-
`,
|
|
3376
|
+
`, Fc = ({
|
|
3377
3377
|
children: e,
|
|
3378
3378
|
tooltipDisabled: t,
|
|
3379
3379
|
disabled: r,
|
|
@@ -3407,7 +3407,7 @@ const Ic = Le.forwardRef((e, t) => /* @__PURE__ */ z.jsx(yr, { ref: t, ...e })),
|
|
|
3407
3407
|
{
|
|
3408
3408
|
...e,
|
|
3409
3409
|
children: /* @__PURE__ */ z.jsx(
|
|
3410
|
-
|
|
3410
|
+
Fc,
|
|
3411
3411
|
{
|
|
3412
3412
|
tooltipDisabled: a,
|
|
3413
3413
|
hide: i,
|
|
@@ -3416,7 +3416,7 @@ const Ic = Le.forwardRef((e, t) => /* @__PURE__ */ z.jsx(yr, { ref: t, ...e })),
|
|
|
3416
3416
|
title: o,
|
|
3417
3417
|
...w,
|
|
3418
3418
|
children: /* @__PURE__ */ z.jsx(
|
|
3419
|
-
|
|
3419
|
+
kc,
|
|
3420
3420
|
{
|
|
3421
3421
|
ref: t,
|
|
3422
3422
|
icon: E(),
|
|
@@ -3571,7 +3571,7 @@ function Ie(e, t) {
|
|
|
3571
3571
|
}
|
|
3572
3572
|
return o;
|
|
3573
3573
|
}
|
|
3574
|
-
function
|
|
3574
|
+
function Fe(e, t, r) {
|
|
3575
3575
|
if (r || arguments.length === 2) for (var n = 0, a = t.length, o; n < a; n++)
|
|
3576
3576
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
3577
3577
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
@@ -3597,10 +3597,10 @@ const nn = Lc(Je);
|
|
|
3597
3597
|
var Rs = function(e, t) {
|
|
3598
3598
|
var r = t.manual, n = t.ready, a = n === void 0 ? !0 : n, o = t.defaultParams, i = o === void 0 ? [] : o, s = t.refreshDeps, l = s === void 0 ? [] : s, u = t.refreshDepsAction, m = ce(!1);
|
|
3599
3599
|
return m.current = !1, nn(function() {
|
|
3600
|
-
!r && a && (m.current = !0, e.run.apply(e,
|
|
3600
|
+
!r && a && (m.current = !0, e.run.apply(e, Fe([], Ie(i), !1)));
|
|
3601
3601
|
}, [a]), nn(function() {
|
|
3602
3602
|
m.current || r || (m.current = !0, u ? u() : e.refresh());
|
|
3603
|
-
},
|
|
3603
|
+
}, Fe([], Ie(l), !1)), {
|
|
3604
3604
|
onBefore: function() {
|
|
3605
3605
|
if (!a)
|
|
3606
3606
|
return {
|
|
@@ -3700,7 +3700,7 @@ var bn = function(e) {
|
|
|
3700
3700
|
},
|
|
3701
3701
|
onRequest: function(y, w) {
|
|
3702
3702
|
var E = Bc(r);
|
|
3703
|
-
return E && E !== m.current ? { servicePromise: E } : (E = y.apply(void 0,
|
|
3703
|
+
return E && E !== m.current ? { servicePromise: E } : (E = y.apply(void 0, Fe([], Ie(w), !1)), m.current = E, Hc(r, E), { servicePromise: E });
|
|
3704
3704
|
},
|
|
3705
3705
|
onSuccess: function(y, w) {
|
|
3706
3706
|
var E;
|
|
@@ -3874,19 +3874,19 @@ function Ts() {
|
|
|
3874
3874
|
throw new TypeError(n);
|
|
3875
3875
|
l = r(l) || 0, e(u) && (h = !!u.leading, c = "maxWait" in u, b = c ? a(r(u.maxWait) || 0, l) : b, g = "trailing" in u ? !!u.trailing : g);
|
|
3876
3876
|
function v($) {
|
|
3877
|
-
var
|
|
3878
|
-
return m = d = void 0, S = $, y = s.apply(K,
|
|
3877
|
+
var F = m, K = d;
|
|
3878
|
+
return m = d = void 0, S = $, y = s.apply(K, F), y;
|
|
3879
3879
|
}
|
|
3880
3880
|
function p($) {
|
|
3881
3881
|
return S = $, w = setTimeout(P, l), h ? v($) : y;
|
|
3882
3882
|
}
|
|
3883
3883
|
function x($) {
|
|
3884
|
-
var
|
|
3884
|
+
var F = $ - E, K = $ - S, V = l - F;
|
|
3885
3885
|
return c ? o(V, b - K) : V;
|
|
3886
3886
|
}
|
|
3887
3887
|
function f($) {
|
|
3888
|
-
var
|
|
3889
|
-
return E === void 0 ||
|
|
3888
|
+
var F = $ - E, K = $ - S;
|
|
3889
|
+
return E === void 0 || F >= l || F < 0 || c && K >= b;
|
|
3890
3890
|
}
|
|
3891
3891
|
function P() {
|
|
3892
3892
|
var $ = t();
|
|
@@ -3904,8 +3904,8 @@ function Ts() {
|
|
|
3904
3904
|
return w === void 0 ? y : j(t());
|
|
3905
3905
|
}
|
|
3906
3906
|
function q() {
|
|
3907
|
-
var $ = t(),
|
|
3908
|
-
if (m = arguments, d = this, E = $,
|
|
3907
|
+
var $ = t(), F = f($);
|
|
3908
|
+
if (m = arguments, d = this, E = $, F) {
|
|
3909
3909
|
if (w === void 0)
|
|
3910
3910
|
return p(E);
|
|
3911
3911
|
if (c)
|
|
@@ -3935,7 +3935,7 @@ var sf = function(e, t) {
|
|
|
3935
3935
|
return new Promise(function(d, b) {
|
|
3936
3936
|
var y;
|
|
3937
3937
|
(y = i.current) === null || y === void 0 || y.call(i, function() {
|
|
3938
|
-
l.apply(void 0,
|
|
3938
|
+
l.apply(void 0, Fe([], Ie(u), !1)).then(d).catch(b);
|
|
3939
3939
|
});
|
|
3940
3940
|
});
|
|
3941
3941
|
}, function() {
|
|
@@ -4026,7 +4026,7 @@ function df(e, t) {
|
|
|
4026
4026
|
return function() {
|
|
4027
4027
|
for (var n = [], a = 0; a < arguments.length; a++)
|
|
4028
4028
|
n[a] = arguments[a];
|
|
4029
|
-
r || (r = !0, e.apply(void 0,
|
|
4029
|
+
r || (r = !0, e.apply(void 0, Fe([], Ie(n), !1)), setTimeout(function() {
|
|
4030
4030
|
r = !1;
|
|
4031
4031
|
}, t));
|
|
4032
4032
|
};
|
|
@@ -4119,7 +4119,7 @@ var Ef = function(e, t) {
|
|
|
4119
4119
|
return new Promise(function(m, d) {
|
|
4120
4120
|
var b;
|
|
4121
4121
|
(b = o.current) === null || b === void 0 || b.call(o, function() {
|
|
4122
|
-
s.apply(void 0,
|
|
4122
|
+
s.apply(void 0, Fe([], Ie(l), !1)).then(m).catch(d);
|
|
4123
4123
|
});
|
|
4124
4124
|
});
|
|
4125
4125
|
}, function() {
|
|
@@ -4162,9 +4162,9 @@ var Ef = function(e, t) {
|
|
|
4162
4162
|
r[n - 1] = arguments[n];
|
|
4163
4163
|
var a = this.pluginImpls.map(function(o) {
|
|
4164
4164
|
var i;
|
|
4165
|
-
return (i = o[t]) === null || i === void 0 ? void 0 : i.call.apply(i,
|
|
4165
|
+
return (i = o[t]) === null || i === void 0 ? void 0 : i.call.apply(i, Fe([o], Ie(r), !1));
|
|
4166
4166
|
}).filter(Boolean);
|
|
4167
|
-
return Object.assign.apply(Object,
|
|
4167
|
+
return Object.assign.apply(Object, Fe([{}], Ie(a), !1));
|
|
4168
4168
|
}, e.prototype.runAsync = function() {
|
|
4169
4169
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
4170
4170
|
t[r] = arguments[r];
|
|
@@ -4180,7 +4180,7 @@ var Ef = function(e, t) {
|
|
|
4180
4180
|
return [2, Promise.resolve(u.data)];
|
|
4181
4181
|
(E = (w = this.options).onBefore) === null || E === void 0 || E.call(w, t), P.label = 1;
|
|
4182
4182
|
case 1:
|
|
4183
|
-
return P.trys.push([1, 3, , 4]), m = this.runPluginHandler("onRequest", this.serviceRef.current, t).servicePromise, m || (m = (y = this.serviceRef).current.apply(y,
|
|
4183
|
+
return P.trys.push([1, 3, , 4]), m = this.runPluginHandler("onRequest", this.serviceRef.current, t).servicePromise, m || (m = (y = this.serviceRef).current.apply(y, Fe([], Ie(t), !1))), [4, m];
|
|
4184
4184
|
case 2:
|
|
4185
4185
|
return d = P.sent(), n !== this.count ? [2, new Promise(function() {
|
|
4186
4186
|
})] : (this.setState({
|
|
@@ -4207,7 +4207,7 @@ var Ef = function(e, t) {
|
|
|
4207
4207
|
}, e.prototype.run = function() {
|
|
4208
4208
|
for (var t = this, r = [], n = 0; n < arguments.length; n++)
|
|
4209
4209
|
r[n] = arguments[n];
|
|
4210
|
-
this.runAsync.apply(this,
|
|
4210
|
+
this.runAsync.apply(this, Fe([], Ie(r), !1)).catch(function(a) {
|
|
4211
4211
|
t.options.onError || console.error(a);
|
|
4212
4212
|
});
|
|
4213
4213
|
}, e.prototype.cancel = function() {
|
|
@@ -4215,9 +4215,9 @@ var Ef = function(e, t) {
|
|
|
4215
4215
|
loading: !1
|
|
4216
4216
|
}), this.runPluginHandler("onCancel");
|
|
4217
4217
|
}, e.prototype.refresh = function() {
|
|
4218
|
-
this.run.apply(this,
|
|
4218
|
+
this.run.apply(this, Fe([], Ie(this.state.params || []), !1));
|
|
4219
4219
|
}, e.prototype.refreshAsync = function() {
|
|
4220
|
-
return this.runAsync.apply(this,
|
|
4220
|
+
return this.runAsync.apply(this, Fe([], Ie(this.state.params || []), !1));
|
|
4221
4221
|
}, e.prototype.mutate = function(t) {
|
|
4222
4222
|
var r = Dt(t) ? t(this.state.data) : t;
|
|
4223
4223
|
this.runPluginHandler("onMutate", r), this.setState({
|
|
@@ -4235,14 +4235,14 @@ function wf(e, t, r) {
|
|
|
4235
4235
|
var w;
|
|
4236
4236
|
return (w = y == null ? void 0 : y.onInit) === null || w === void 0 ? void 0 : w.call(y, l);
|
|
4237
4237
|
}).filter(Boolean);
|
|
4238
|
-
return new Sf(u, l, m, Object.assign.apply(Object,
|
|
4238
|
+
return new Sf(u, l, m, Object.assign.apply(Object, Fe([{}], Ie(b), !1)));
|
|
4239
4239
|
}, []);
|
|
4240
4240
|
return d.options = l, d.pluginImpls = r.map(function(b) {
|
|
4241
4241
|
return b(d, l);
|
|
4242
4242
|
}), xf(function() {
|
|
4243
4243
|
if (!a && i) {
|
|
4244
4244
|
var b = d.state.params || t.defaultParams || [];
|
|
4245
|
-
d.run.apply(d,
|
|
4245
|
+
d.run.apply(d, Fe([], Ie(b), !1));
|
|
4246
4246
|
}
|
|
4247
4247
|
}), bn(function() {
|
|
4248
4248
|
d.cancel();
|
|
@@ -4260,7 +4260,7 @@ function wf(e, t, r) {
|
|
|
4260
4260
|
};
|
|
4261
4261
|
}
|
|
4262
4262
|
function Rf(e, t, r) {
|
|
4263
|
-
return wf(e, t,
|
|
4263
|
+
return wf(e, t, Fe(Fe([], Ie(r || []), !1), [
|
|
4264
4264
|
sf,
|
|
4265
4265
|
lf,
|
|
4266
4266
|
ff,
|
|
@@ -4633,11 +4633,11 @@ const Mf = je(Ji)`
|
|
|
4633
4633
|
&:hover {
|
|
4634
4634
|
opacity: 1;
|
|
4635
4635
|
}
|
|
4636
|
-
`,
|
|
4636
|
+
`, kf = {
|
|
4637
4637
|
enter: "zoom-enter",
|
|
4638
4638
|
enterActive: "zoom-enter-active",
|
|
4639
4639
|
leaveActive: "zoom-leave-active"
|
|
4640
|
-
},
|
|
4640
|
+
}, Ff = `
|
|
4641
4641
|
.zoom-enter {
|
|
4642
4642
|
transform: scale(0);
|
|
4643
4643
|
}
|
|
@@ -4679,14 +4679,14 @@ function Lf(e) {
|
|
|
4679
4679
|
return m.length > 0 && m.length === s;
|
|
4680
4680
|
}, [n.selectedRowKeys, s]);
|
|
4681
4681
|
return /* @__PURE__ */ z.jsxs(z.Fragment, { children: [
|
|
4682
|
-
/* @__PURE__ */ z.jsx(Uu, { styles:
|
|
4682
|
+
/* @__PURE__ */ z.jsx(Uu, { styles: Ff }),
|
|
4683
4683
|
/* @__PURE__ */ z.jsxs(Nf, { children: [
|
|
4684
4684
|
/* @__PURE__ */ z.jsx(
|
|
4685
4685
|
fn,
|
|
4686
4686
|
{
|
|
4687
4687
|
in: !!(e.rowSelection && e.selectionPopover && (u || l)),
|
|
4688
4688
|
nodeRef: t,
|
|
4689
|
-
classNames:
|
|
4689
|
+
classNames: kf,
|
|
4690
4690
|
unmountOnExit: !0,
|
|
4691
4691
|
timeout: 300,
|
|
4692
4692
|
children: () => {
|
|
@@ -4823,13 +4823,13 @@ function Wa() {
|
|
|
4823
4823
|
if (typeof WeakMap == "function") var j = /* @__PURE__ */ new WeakMap(), A = /* @__PURE__ */ new WeakMap();
|
|
4824
4824
|
return (r = function(I, q) {
|
|
4825
4825
|
if (!q && I && I.__esModule) return I;
|
|
4826
|
-
var $,
|
|
4826
|
+
var $, F, K = { __proto__: null, default: I };
|
|
4827
4827
|
if (I === null || typeof I != "object" && typeof I != "function") return K;
|
|
4828
4828
|
if ($ = q ? A : j) {
|
|
4829
4829
|
if ($.has(I)) return $.get(I);
|
|
4830
4830
|
$.set(I, K);
|
|
4831
4831
|
}
|
|
4832
|
-
for (const V in I) V !== "default" && {}.hasOwnProperty.call(I, V) && ((
|
|
4832
|
+
for (const V in I) V !== "default" && {}.hasOwnProperty.call(I, V) && ((F = ($ = Object.defineProperty) && Object.getOwnPropertyDescriptor(I, V)) && (F.get || F.set) ? $(K, V, F) : K[V] = I[V]);
|
|
4833
4833
|
return K;
|
|
4834
4834
|
})(f, P);
|
|
4835
4835
|
}
|
|
@@ -4909,8 +4909,8 @@ function Wa() {
|
|
|
4909
4909
|
y: I
|
|
4910
4910
|
} = f, q = `translate(${A}${j},${I}${j})`;
|
|
4911
4911
|
if (P) {
|
|
4912
|
-
const $ = `${typeof P.x == "string" ? P.x : P.x + j}`,
|
|
4913
|
-
q = `translate(${$}, ${
|
|
4912
|
+
const $ = `${typeof P.x == "string" ? P.x : P.x + j}`, F = `${typeof P.y == "string" ? P.y : P.y + j}`;
|
|
4913
|
+
q = `translate(${$}, ${F})` + q;
|
|
4914
4914
|
}
|
|
4915
4915
|
return q;
|
|
4916
4916
|
}
|
|
@@ -5525,14 +5525,14 @@ function Wf() {
|
|
|
5525
5525
|
scale: I,
|
|
5526
5526
|
...q
|
|
5527
5527
|
} = this.props;
|
|
5528
|
-
let $ = {},
|
|
5528
|
+
let $ = {}, F = null;
|
|
5529
5529
|
const V = !!!j || this.state.dragging, le = j || p, J = {
|
|
5530
5530
|
// Set left if horizontal drag is enabled
|
|
5531
5531
|
x: (0, i.canDragX)(this) && V ? this.state.x : le.x,
|
|
5532
5532
|
// Set top if vertical drag is enabled
|
|
5533
5533
|
y: (0, i.canDragY)(this) && V ? this.state.y : le.y
|
|
5534
5534
|
};
|
|
5535
|
-
this.state.isElementSVG ?
|
|
5535
|
+
this.state.isElementSVG ? F = (0, o.createSVGTransform)(J, A) : $ = (0, o.createCSSTransform)(J, A);
|
|
5536
5536
|
const Se = (0, a.clsx)(v.props.className || "", x, {
|
|
5537
5537
|
[f]: this.state.dragging,
|
|
5538
5538
|
[P]: this.state.dragged
|
|
@@ -5547,7 +5547,7 @@ function Wf() {
|
|
|
5547
5547
|
...v.props.style,
|
|
5548
5548
|
...$
|
|
5549
5549
|
},
|
|
5550
|
-
transform:
|
|
5550
|
+
transform: F
|
|
5551
5551
|
}));
|
|
5552
5552
|
}
|
|
5553
5553
|
}
|
|
@@ -5960,15 +5960,15 @@ function Is() {
|
|
|
5960
5960
|
var I = this.props.width / this.props.height, q = p - this.props.width, $ = x - this.props.height;
|
|
5961
5961
|
Math.abs(q) > Math.abs($ * I) ? x = p / I : p = x * I;
|
|
5962
5962
|
}
|
|
5963
|
-
var
|
|
5964
|
-
return p += le, x += J, P && (p = Math.max(P[0], p), x = Math.max(P[1], x)), j && (p = Math.min(j[0], p), x = Math.min(j[1], x)), this.slack = [le + (
|
|
5963
|
+
var F = p, K = x, V = this.slack || [0, 0], le = V[0], J = V[1];
|
|
5964
|
+
return p += le, x += J, P && (p = Math.max(P[0], p), x = Math.max(P[1], x)), j && (p = Math.min(j[0], p), x = Math.min(j[1], x)), this.slack = [le + (F - p), J + (K - x)], [p, x];
|
|
5965
5965
|
}, g.resizeHandler = function(p, x) {
|
|
5966
5966
|
var f = this;
|
|
5967
5967
|
return function(P, j) {
|
|
5968
5968
|
var A = j.node, I = j.deltaX, q = j.deltaY;
|
|
5969
5969
|
p === "onResizeStart" && f.resetData();
|
|
5970
|
-
var $ = (f.props.axis === "both" || f.props.axis === "x") && x !== "n" && x !== "s",
|
|
5971
|
-
if (!(!$ && !
|
|
5970
|
+
var $ = (f.props.axis === "both" || f.props.axis === "x") && x !== "n" && x !== "s", F = (f.props.axis === "both" || f.props.axis === "y") && x !== "e" && x !== "w";
|
|
5971
|
+
if (!(!$ && !F)) {
|
|
5972
5972
|
var K = x[0], V = x[x.length - 1], le = A.getBoundingClientRect();
|
|
5973
5973
|
if (f.lastHandleRect != null) {
|
|
5974
5974
|
if (V === "w") {
|
|
@@ -5981,8 +5981,8 @@ function Is() {
|
|
|
5981
5981
|
}
|
|
5982
5982
|
}
|
|
5983
5983
|
f.lastHandleRect = le, V === "w" && (I = -I), K === "n" && (q = -q);
|
|
5984
|
-
var N = f.props.width + ($ ? I / f.props.transformScale : 0), O = f.props.height + (
|
|
5985
|
-
N =
|
|
5984
|
+
var N = f.props.width + ($ ? I / f.props.transformScale : 0), O = f.props.height + (F ? q / f.props.transformScale : 0), k = f.runConstraints(N, O);
|
|
5985
|
+
N = k[0], O = k[1];
|
|
5986
5986
|
var L = N !== f.props.width || O !== f.props.height, U = typeof f.props[p] == "function" ? f.props[p] : null, Q = p === "onResize" && !L;
|
|
5987
5987
|
U && !Q && (P.persist == null || P.persist(), U(P, {
|
|
5988
5988
|
node: A,
|
|
@@ -6018,14 +6018,14 @@ function Is() {
|
|
|
6018
6018
|
return (0, r.cloneElement)(f, m(m({}, I), {}, {
|
|
6019
6019
|
className: (P ? P + " " : "") + "react-resizable",
|
|
6020
6020
|
children: [].concat(f.props.children, A.map(function(q) {
|
|
6021
|
-
var $,
|
|
6021
|
+
var $, F = ($ = p.handleRefs[q]) != null ? $ : p.handleRefs[q] = /* @__PURE__ */ e.createRef();
|
|
6022
6022
|
return /* @__PURE__ */ e.createElement(t.DraggableCore, s({}, j, {
|
|
6023
|
-
nodeRef:
|
|
6023
|
+
nodeRef: F,
|
|
6024
6024
|
key: "resizableHandle-" + q,
|
|
6025
6025
|
onStop: p.resizeHandler("onResizeStop", q),
|
|
6026
6026
|
onStart: p.resizeHandler("onResizeStart", q),
|
|
6027
6027
|
onDrag: p.resizeHandler("onResize", q)
|
|
6028
|
-
}), p.renderResizeHandle(q,
|
|
6028
|
+
}), p.renderResizeHandle(q, F));
|
|
6029
6029
|
}))
|
|
6030
6030
|
}));
|
|
6031
6031
|
}, c;
|
|
@@ -6163,7 +6163,7 @@ function Bf() {
|
|
|
6163
6163
|
return v.render = function() {
|
|
6164
6164
|
var x = this.props, f = x.handle, P = x.handleSize;
|
|
6165
6165
|
x.onResize;
|
|
6166
|
-
var j = x.onResizeStart, A = x.onResizeStop, I = x.draggableOpts, q = x.minConstraints, $ = x.maxConstraints,
|
|
6166
|
+
var j = x.onResizeStart, A = x.onResizeStop, I = x.draggableOpts, q = x.minConstraints, $ = x.maxConstraints, F = x.lockAspectRatio, K = x.axis;
|
|
6167
6167
|
x.width, x.height;
|
|
6168
6168
|
var V = x.resizeHandles, le = x.style, J = x.transformScale, Se = w(x, a);
|
|
6169
6169
|
return /* @__PURE__ */ e.createElement(r.default, {
|
|
@@ -6172,7 +6172,7 @@ function Bf() {
|
|
|
6172
6172
|
handle: f,
|
|
6173
6173
|
handleSize: P,
|
|
6174
6174
|
height: this.state.height,
|
|
6175
|
-
lockAspectRatio:
|
|
6175
|
+
lockAspectRatio: F,
|
|
6176
6176
|
maxConstraints: $,
|
|
6177
6177
|
minConstraints: q,
|
|
6178
6178
|
onResizeStart: j,
|
|
@@ -6351,12 +6351,12 @@ function Zf(e, t) {
|
|
|
6351
6351
|
A = r;
|
|
6352
6352
|
else {
|
|
6353
6353
|
const I = [];
|
|
6354
|
-
y.filter((q) => E.includes(q)).forEach((q, $,
|
|
6354
|
+
y.filter((q) => E.includes(q)).forEach((q, $, F) => {
|
|
6355
6355
|
for (const K of r)
|
|
6356
6356
|
if ("dataIndex" in K) {
|
|
6357
6357
|
let V;
|
|
6358
6358
|
if (Array.isArray(K.dataIndex) ? V = K.dataIndex.join(",") : V = K.dataIndex, q === V) {
|
|
6359
|
-
(n || a) && $ ===
|
|
6359
|
+
(n || a) && $ === F.length - 1 ? I.push(x(K)) : I.push(K);
|
|
6360
6360
|
break;
|
|
6361
6361
|
}
|
|
6362
6362
|
}
|
|
@@ -6665,30 +6665,30 @@ function ph(e, t = {}) {
|
|
|
6665
6665
|
order: null
|
|
6666
6666
|
}), p = ce(S);
|
|
6667
6667
|
p.current = S;
|
|
6668
|
-
const x = nt(async (
|
|
6668
|
+
const x = nt(async (F = 1, K = 10, V) => {
|
|
6669
6669
|
if (V !== "auto")
|
|
6670
6670
|
y(!0), P();
|
|
6671
6671
|
else if (c.length !== 0) {
|
|
6672
|
-
f(
|
|
6672
|
+
f(F, K);
|
|
6673
6673
|
return;
|
|
6674
6674
|
}
|
|
6675
6675
|
try {
|
|
6676
6676
|
const le = {
|
|
6677
6677
|
...v,
|
|
6678
|
-
pageNum: Number(
|
|
6678
|
+
pageNum: Number(F),
|
|
6679
6679
|
pageSize: Number(K)
|
|
6680
6680
|
}, J = await (u == null ? void 0 : u(le)), N = await e(J !== void 0 ? J : le), {
|
|
6681
6681
|
records: O,
|
|
6682
|
-
total:
|
|
6682
|
+
total: k,
|
|
6683
6683
|
current: L,
|
|
6684
6684
|
size: U
|
|
6685
6685
|
} = N.data, Q = await (m == null ? void 0 : m(N)), ee = Array.isArray(Q) ? Q : O;
|
|
6686
|
-
if (E(ee), (L !== S.current || K !== S.pageSize ||
|
|
6686
|
+
if (E(ee), (L !== S.current || K !== S.pageSize || k !== S.total) && h({
|
|
6687
6687
|
current: L,
|
|
6688
6688
|
pageSize: U,
|
|
6689
|
-
total:
|
|
6690
|
-
}), ee.length === 0 && L && L > 1 &&
|
|
6691
|
-
const B = Math.ceil(
|
|
6689
|
+
total: k
|
|
6690
|
+
}), ee.length === 0 && L && L > 1 && k && k > 0) {
|
|
6691
|
+
const B = Math.ceil(k / U);
|
|
6692
6692
|
x(B, K, V);
|
|
6693
6693
|
} else
|
|
6694
6694
|
f(L, U);
|
|
@@ -6698,15 +6698,15 @@ function ph(e, t = {}) {
|
|
|
6698
6698
|
} finally {
|
|
6699
6699
|
l || g([]), y(!1);
|
|
6700
6700
|
}
|
|
6701
|
-
}), f = nt((
|
|
6701
|
+
}), f = nt((F, K) => {
|
|
6702
6702
|
a && (P(), d.current === null && (d.current = setTimeout(() => {
|
|
6703
|
-
x(
|
|
6703
|
+
x(F, K, "auto");
|
|
6704
6704
|
}, a)));
|
|
6705
6705
|
}), P = mt(() => {
|
|
6706
6706
|
d.current && (clearTimeout(d.current), d.current = null);
|
|
6707
|
-
}, []), j = mt((
|
|
6707
|
+
}, []), j = mt((F, K, V) => {
|
|
6708
6708
|
g(K);
|
|
6709
|
-
}, []), A = mt((
|
|
6709
|
+
}, []), A = mt((F = {}) => {
|
|
6710
6710
|
const K = {
|
|
6711
6711
|
pageNum: 1,
|
|
6712
6712
|
pageSize: S.pageSize,
|
|
@@ -6715,33 +6715,33 @@ function ph(e, t = {}) {
|
|
|
6715
6715
|
};
|
|
6716
6716
|
Object.keys(v).forEach((V) => {
|
|
6717
6717
|
V !== "column" && V !== "order" && V !== "pageNum" && V !== "pageSize" && Reflect.deleteProperty(v, V);
|
|
6718
|
-
}), Object.assign(v, K,
|
|
6719
|
-
}, [S.pageSize, x, v]), I = mt((
|
|
6720
|
-
if (
|
|
6718
|
+
}), Object.assign(v, K, F), x(1, S.pageSize);
|
|
6719
|
+
}, [S.pageSize, x, v]), I = mt((F) => {
|
|
6720
|
+
if (F) {
|
|
6721
6721
|
const K = {
|
|
6722
6722
|
column: v.column,
|
|
6723
6723
|
order: v.order
|
|
6724
6724
|
};
|
|
6725
|
-
|
|
6725
|
+
F != null && F.pageSize && h({
|
|
6726
6726
|
...S,
|
|
6727
|
-
pageSize:
|
|
6728
|
-
}),
|
|
6727
|
+
pageSize: F.pageSize
|
|
6728
|
+
}), F != null && F.pageNum && h({
|
|
6729
6729
|
...S,
|
|
6730
|
-
current:
|
|
6730
|
+
current: F.pageNum
|
|
6731
6731
|
});
|
|
6732
6732
|
for (const V in v)
|
|
6733
6733
|
delete v[V];
|
|
6734
|
-
Object.assign(v, K,
|
|
6734
|
+
Object.assign(v, K, F), x((F == null ? void 0 : F.pageNum) || S.current, (F == null ? void 0 : F.pageSize) || S.pageSize);
|
|
6735
6735
|
} else
|
|
6736
6736
|
x(S.current, S.pageSize);
|
|
6737
|
-
}, [x, S, v]), q = mt((
|
|
6737
|
+
}, [x, S, v]), q = mt((F, K, V, le) => {
|
|
6738
6738
|
var O;
|
|
6739
|
-
Object.entries(K).forEach(([
|
|
6740
|
-
L && Array.isArray(L) && L.length === 1 ? v[
|
|
6739
|
+
Object.entries(K).forEach(([k, L]) => {
|
|
6740
|
+
L && Array.isArray(L) && L.length === 1 ? v[k] = L[0] : v[k] = L;
|
|
6741
6741
|
});
|
|
6742
6742
|
const J = Array.isArray(V) ? V[0] : V;
|
|
6743
6743
|
J != null && J.order ? ((O = J == null ? void 0 : J.column) != null && O.sort ? v.column = J.column.sort : J.field && (v.column = Array.isArray(J.field) ? J.field[0] : J.field), v.order = ld[J.order]) : (v.column = null, v.order = null);
|
|
6744
|
-
const Se =
|
|
6744
|
+
const Se = F.current ?? p.current.current, N = F.pageSize ?? p.current.pageSize;
|
|
6745
6745
|
x(Se, N);
|
|
6746
6746
|
}, [x, v]), $ = () => {
|
|
6747
6747
|
g([]), E([]), h({
|
|
@@ -6761,7 +6761,7 @@ function ph(e, t = {}) {
|
|
|
6761
6761
|
dataSource: w,
|
|
6762
6762
|
...s ? {
|
|
6763
6763
|
rowSelection: {
|
|
6764
|
-
selectedRowKeys: c.map((
|
|
6764
|
+
selectedRowKeys: c.map((F) => F[n]),
|
|
6765
6765
|
onChange: j
|
|
6766
6766
|
}
|
|
6767
6767
|
} : {},
|
|
@@ -6769,10 +6769,10 @@ function ph(e, t = {}) {
|
|
|
6769
6769
|
pagination: {
|
|
6770
6770
|
showQuickJumper: !0,
|
|
6771
6771
|
showSizeChanger: !0,
|
|
6772
|
-
showTotal: (
|
|
6772
|
+
showTotal: (F) => r.$t({
|
|
6773
6773
|
id: "component.table.total",
|
|
6774
6774
|
defaultMessage: "共{total}条"
|
|
6775
|
-
}, { total:
|
|
6775
|
+
}, { total: F }),
|
|
6776
6776
|
...S
|
|
6777
6777
|
}
|
|
6778
6778
|
},
|
|
@@ -6785,7 +6785,7 @@ function ph(e, t = {}) {
|
|
|
6785
6785
|
},
|
|
6786
6786
|
rowSelection: {
|
|
6787
6787
|
selectedRows: c,
|
|
6788
|
-
selectedRowKeys: c.map((
|
|
6788
|
+
selectedRowKeys: c.map((F) => F[n])
|
|
6789
6789
|
}
|
|
6790
6790
|
};
|
|
6791
6791
|
}
|
|
@@ -6813,7 +6813,7 @@ var Pe;
|
|
|
6813
6813
|
(function(e) {
|
|
6814
6814
|
e.Pop = "POP", e.Push = "PUSH", e.Replace = "REPLACE";
|
|
6815
6815
|
})(Pe || (Pe = {}));
|
|
6816
|
-
function
|
|
6816
|
+
function ks(e) {
|
|
6817
6817
|
e === void 0 && (e = {});
|
|
6818
6818
|
let {
|
|
6819
6819
|
initialEntries: t = ["/"],
|
|
@@ -6981,7 +6981,7 @@ function Qr(e, t, r, n) {
|
|
|
6981
6981
|
}
|
|
6982
6982
|
return s;
|
|
6983
6983
|
}
|
|
6984
|
-
function
|
|
6984
|
+
function Fs(e, t) {
|
|
6985
6985
|
let {
|
|
6986
6986
|
route: r,
|
|
6987
6987
|
pathname: n,
|
|
@@ -7329,7 +7329,7 @@ const Md = function(t, r) {
|
|
|
7329
7329
|
}, Id = (e, t) => {
|
|
7330
7330
|
let r = Ba(e, t);
|
|
7331
7331
|
return r.headers.set("X-Remix-Reload-Document", "true"), r;
|
|
7332
|
-
},
|
|
7332
|
+
}, kd = (e, t) => {
|
|
7333
7333
|
let r = Ba(e, t);
|
|
7334
7334
|
return r.headers.set("X-Remix-Replace", "true"), r;
|
|
7335
7335
|
};
|
|
@@ -7341,7 +7341,7 @@ class Ea {
|
|
|
7341
7341
|
function Yt(e) {
|
|
7342
7342
|
return e != null && typeof e.status == "number" && typeof e.statusText == "string" && typeof e.internal == "boolean" && "data" in e;
|
|
7343
7343
|
}
|
|
7344
|
-
const qs = ["post", "put", "patch", "delete"],
|
|
7344
|
+
const qs = ["post", "put", "patch", "delete"], Fd = new Set(qs), Ld = ["get", ...qs], zd = new Set(Ld), $d = /* @__PURE__ */ new Set([301, 302, 303, 307, 308]), Ud = /* @__PURE__ */ new Set([307, 308]), na = {
|
|
7345
7345
|
state: "idle",
|
|
7346
7346
|
location: void 0,
|
|
7347
7347
|
formMethod: void 0,
|
|
@@ -7394,7 +7394,7 @@ function Bd(e) {
|
|
|
7394
7394
|
}), {
|
|
7395
7395
|
matches: _,
|
|
7396
7396
|
route: T
|
|
7397
|
-
} =
|
|
7397
|
+
} = Fi(i);
|
|
7398
7398
|
c = _, v = {
|
|
7399
7399
|
[T.id]: R
|
|
7400
7400
|
};
|
|
@@ -7434,7 +7434,7 @@ function Bd(e) {
|
|
|
7434
7434
|
errors: e.hydrationData && e.hydrationData.errors || v,
|
|
7435
7435
|
fetchers: /* @__PURE__ */ new Map(),
|
|
7436
7436
|
blockers: /* @__PURE__ */ new Map()
|
|
7437
|
-
}, P = Pe.Pop, j = !1, A, I = !1, q = /* @__PURE__ */ new Map(), $ = null,
|
|
7437
|
+
}, P = Pe.Pop, j = !1, A, I = !1, q = /* @__PURE__ */ new Map(), $ = null, F = !1, K = !1, V = [], le = /* @__PURE__ */ new Set(), J = /* @__PURE__ */ new Map(), Se = 0, N = -1, O = /* @__PURE__ */ new Map(), k = /* @__PURE__ */ new Set(), L = /* @__PURE__ */ new Map(), U = /* @__PURE__ */ new Map(), Q = /* @__PURE__ */ new Set(), ee = /* @__PURE__ */ new Map(), B = /* @__PURE__ */ new Map(), re;
|
|
7438
7438
|
function se() {
|
|
7439
7439
|
if (b = e.history.listen((R) => {
|
|
7440
7440
|
let {
|
|
@@ -7514,7 +7514,7 @@ function Bd(e) {
|
|
|
7514
7514
|
let X = _.loaderData ? Ii(f.loaderData, _.loaderData, _.matches || [], _.errors) : f.loaderData, H = f.blockers;
|
|
7515
7515
|
H.size > 0 && (H = new Map(H), H.forEach((ue, Ae) => H.set(Ae, Ut)));
|
|
7516
7516
|
let Z = j === !0 || f.navigation.formMethod != null && Ge(f.navigation.formMethod) && ((W = R.state) == null ? void 0 : W._isRedirect) !== !0;
|
|
7517
|
-
s && (i = s, s = void 0),
|
|
7517
|
+
s && (i = s, s = void 0), F || P === Pe.Pop || (P === Pe.Push ? e.history.push(R, R.state) : P === Pe.Replace && e.history.replace(R, R.state));
|
|
7518
7518
|
let oe;
|
|
7519
7519
|
if (P === Pe.Pop) {
|
|
7520
7520
|
let ue = q.get(f.location.pathname);
|
|
@@ -7546,7 +7546,7 @@ function Bd(e) {
|
|
|
7546
7546
|
}), {
|
|
7547
7547
|
viewTransitionOpts: oe,
|
|
7548
7548
|
flushSync: te === !0
|
|
7549
|
-
}), P = Pe.Pop, j = !1, I = !1,
|
|
7549
|
+
}), P = Pe.Pop, j = !1, I = !1, F = !1, K = !1, V = [];
|
|
7550
7550
|
}
|
|
7551
7551
|
async function He(R, _) {
|
|
7552
7552
|
if (typeof R == "number") {
|
|
@@ -7616,7 +7616,7 @@ function Bd(e) {
|
|
|
7616
7616
|
}
|
|
7617
7617
|
}
|
|
7618
7618
|
async function St(R, _, T) {
|
|
7619
|
-
A && A.abort(), A = null, P = R,
|
|
7619
|
+
A && A.abort(), A = null, P = R, F = (T && T.startUninterruptedRevalidation) === !0, yl(f.location, f.matches), j = (T && T.preventScrollReset) === !0, I = (T && T.enableViewTransition) === !0;
|
|
7620
7620
|
let M = s || i, W = T && T.overrideNavigation, te = T != null && T.initialHydration && f.matches && f.matches.length > 0 && !g ? (
|
|
7621
7621
|
// `matchRoutes()` has already been called if we're in here via `router.initialize()`
|
|
7622
7622
|
f.matches
|
|
@@ -7684,7 +7684,7 @@ function Bd(e) {
|
|
|
7684
7684
|
} = await cl(X, _, te, Y.active, W, T && T.submission, T && T.fetcherSubmission, T && T.replace, T && T.initialHydration === !0, ne, H);
|
|
7685
7685
|
Z || (A = null, Oe(_, xe({
|
|
7686
7686
|
matches: oe || te
|
|
7687
|
-
},
|
|
7687
|
+
}, ki(H), {
|
|
7688
7688
|
loaderData: ue,
|
|
7689
7689
|
errors: Ae
|
|
7690
7690
|
})));
|
|
@@ -7768,7 +7768,7 @@ function Bd(e) {
|
|
|
7768
7768
|
};
|
|
7769
7769
|
}
|
|
7770
7770
|
async function cl(R, _, T, M, W, te, ne, Y, X, H, Z) {
|
|
7771
|
-
let oe = W || aa(_, te), ue = te || ne || zi(oe), Ae = !
|
|
7771
|
+
let oe = W || aa(_, te), ue = te || ne || zi(oe), Ae = !F && (!d.v7_partialHydration || !X);
|
|
7772
7772
|
if (M) {
|
|
7773
7773
|
if (Ae) {
|
|
7774
7774
|
let Re = to(Z);
|
|
@@ -7811,7 +7811,7 @@ function Bd(e) {
|
|
|
7811
7811
|
};
|
|
7812
7812
|
}
|
|
7813
7813
|
}
|
|
7814
|
-
let Ee = s || i, [de, we] = Ci(e.history, f, T, ue, _, d.v7_partialHydration && X === !0, d.v7_skipActionErrorRevalidation, K, V, le, Q, L,
|
|
7814
|
+
let Ee = s || i, [de, we] = Ci(e.history, f, T, ue, _, d.v7_partialHydration && X === !0, d.v7_skipActionErrorRevalidation, K, V, le, Q, L, k, Ee, l, Z);
|
|
7815
7815
|
if (_n((fe) => !(T && T.some((Re) => Re.route.id === fe)) || de && de.some((Re) => Re.route.id === fe)), N = ++Se, de.length === 0 && we.length === 0) {
|
|
7816
7816
|
let fe = oo();
|
|
7817
7817
|
return Oe(_, xe({
|
|
@@ -7821,7 +7821,7 @@ function Bd(e) {
|
|
|
7821
7821
|
errors: Z && qe(Z[1]) ? {
|
|
7822
7822
|
[Z[0]]: Z[1].error
|
|
7823
7823
|
} : null
|
|
7824
|
-
},
|
|
7824
|
+
}, ki(Z), fe ? {
|
|
7825
7825
|
fetchers: new Map(f.fetchers)
|
|
7826
7826
|
} : {}), {
|
|
7827
7827
|
flushSync: H
|
|
@@ -7862,7 +7862,7 @@ function Bd(e) {
|
|
|
7862
7862
|
shortCircuited: !0
|
|
7863
7863
|
};
|
|
7864
7864
|
if (Qe = Br(st), Qe)
|
|
7865
|
-
return
|
|
7865
|
+
return k.add(Qe.key), await wt(R, Qe.result, !0, {
|
|
7866
7866
|
replace: Y
|
|
7867
7867
|
}), {
|
|
7868
7868
|
shortCircuited: !0
|
|
@@ -7937,12 +7937,12 @@ function Bd(e) {
|
|
|
7937
7937
|
Pn(), L.delete(R);
|
|
7938
7938
|
function H(Te) {
|
|
7939
7939
|
if (!Te.route.action && !Te.route.lazy) {
|
|
7940
|
-
let
|
|
7940
|
+
let kt = ze(405, {
|
|
7941
7941
|
method: X.formMethod,
|
|
7942
7942
|
pathname: T,
|
|
7943
7943
|
routeId: _
|
|
7944
7944
|
});
|
|
7945
|
-
return it(R, _,
|
|
7945
|
+
return it(R, _, kt, {
|
|
7946
7946
|
flushSync: ne
|
|
7947
7947
|
}), !0;
|
|
7948
7948
|
}
|
|
@@ -7993,7 +7993,7 @@ function Bd(e) {
|
|
|
7993
7993
|
ct(R, ht(void 0));
|
|
7994
7994
|
return;
|
|
7995
7995
|
} else
|
|
7996
|
-
return
|
|
7996
|
+
return k.add(R), ct(R, dr(X)), wt(ue, de, !1, {
|
|
7997
7997
|
fetcherSubmission: X,
|
|
7998
7998
|
preventScrollReset: Y
|
|
7999
7999
|
});
|
|
@@ -8012,10 +8012,10 @@ function Bd(e) {
|
|
|
8012
8012
|
O.set(R, Qe);
|
|
8013
8013
|
let Tn = dr(X, de.data);
|
|
8014
8014
|
f.fetchers.set(R, Tn);
|
|
8015
|
-
let [Qt, Rt] = Ci(e.history, f, st, X, we, !1, d.v7_skipActionErrorRevalidation, K, V, le, Q, L,
|
|
8015
|
+
let [Qt, Rt] = Ci(e.history, f, st, X, we, !1, d.v7_skipActionErrorRevalidation, K, V, le, Q, L, k, Zt, l, [M.route.id, de]);
|
|
8016
8016
|
Rt.filter((Te) => Te.key !== R).forEach((Te) => {
|
|
8017
|
-
let
|
|
8018
|
-
f.fetchers.set(
|
|
8017
|
+
let kt = Te.key, fo = f.fetchers.get(kt), xl = dr(void 0, fo ? fo.data : void 0);
|
|
8018
|
+
f.fetchers.set(kt, xl), ft(kt), Te.controller && J.set(kt, Te.controller);
|
|
8019
8019
|
}), C({
|
|
8020
8020
|
fetchers: new Map(f.fetchers)
|
|
8021
8021
|
});
|
|
@@ -8034,7 +8034,7 @@ function Bd(e) {
|
|
|
8034
8034
|
preventScrollReset: Y
|
|
8035
8035
|
});
|
|
8036
8036
|
if (Re = Br(fe), Re)
|
|
8037
|
-
return
|
|
8037
|
+
return k.add(Re.key), wt(Mt, Re.result, !1, {
|
|
8038
8038
|
preventScrollReset: Y
|
|
8039
8039
|
});
|
|
8040
8040
|
let {
|
|
@@ -8094,7 +8094,7 @@ function Bd(e) {
|
|
|
8094
8094
|
ct(R, ht(void 0));
|
|
8095
8095
|
return;
|
|
8096
8096
|
} else {
|
|
8097
|
-
|
|
8097
|
+
k.add(R), await wt(oe, Ee, !1, {
|
|
8098
8098
|
preventScrollReset: Y
|
|
8099
8099
|
});
|
|
8100
8100
|
return;
|
|
@@ -8237,7 +8237,7 @@ function Bd(e) {
|
|
|
8237
8237
|
}
|
|
8238
8238
|
function Cr(R) {
|
|
8239
8239
|
let _ = f.fetchers.get(R);
|
|
8240
|
-
J.has(R) && !(_ && _.state === "loading" && O.has(R)) && ft(R), L.delete(R), O.delete(R),
|
|
8240
|
+
J.has(R) && !(_ && _.state === "loading" && O.has(R)) && ft(R), L.delete(R), O.delete(R), k.delete(R), d.v7_fetcherPersist && Q.delete(R), le.delete(R), f.fetchers.delete(R);
|
|
8241
8241
|
}
|
|
8242
8242
|
function ml(R) {
|
|
8243
8243
|
let _ = (U.get(R) || 0) - 1;
|
|
@@ -8257,9 +8257,9 @@ function Bd(e) {
|
|
|
8257
8257
|
}
|
|
8258
8258
|
function oo() {
|
|
8259
8259
|
let R = [], _ = !1;
|
|
8260
|
-
for (let T of
|
|
8260
|
+
for (let T of k) {
|
|
8261
8261
|
let M = f.fetchers.get(T);
|
|
8262
|
-
G(M, "Expected fetcher: " + T), M.state === "loading" && (
|
|
8262
|
+
G(M, "Expected fetcher: " + T), M.state === "loading" && (k.delete(T), R.push(T), _ = !0);
|
|
8263
8263
|
}
|
|
8264
8264
|
return ao(R), _;
|
|
8265
8265
|
}
|
|
@@ -8310,7 +8310,7 @@ function Bd(e) {
|
|
|
8310
8310
|
}), T = s || i, {
|
|
8311
8311
|
matches: M,
|
|
8312
8312
|
route: W
|
|
8313
|
-
} =
|
|
8313
|
+
} = Fi(T);
|
|
8314
8314
|
return _n(), {
|
|
8315
8315
|
notFoundMatches: M,
|
|
8316
8316
|
route: W,
|
|
@@ -8336,7 +8336,7 @@ function Bd(e) {
|
|
|
8336
8336
|
};
|
|
8337
8337
|
}
|
|
8338
8338
|
function uo(R, _) {
|
|
8339
|
-
return E && E(R, _.map((M) =>
|
|
8339
|
+
return E && E(R, _.map((M) => Fs(M, f.loaderData))) || R.key;
|
|
8340
8340
|
}
|
|
8341
8341
|
function yl(R, _) {
|
|
8342
8342
|
if (w && S) {
|
|
@@ -8625,7 +8625,7 @@ function Ci(e, t, r, n, a, o, i, s, l, u, m, d, b, y, w, E) {
|
|
|
8625
8625
|
}));
|
|
8626
8626
|
}), f = [];
|
|
8627
8627
|
return d.forEach((P, j) => {
|
|
8628
|
-
if (o || !r.some((
|
|
8628
|
+
if (o || !r.some((F) => F.route.id === P.routeId) || m.has(j))
|
|
8629
8629
|
return;
|
|
8630
8630
|
let A = gt(y, P.path, w);
|
|
8631
8631
|
if (!A) {
|
|
@@ -9014,7 +9014,7 @@ function Ii(e, t, r, n) {
|
|
|
9014
9014
|
}
|
|
9015
9015
|
return a;
|
|
9016
9016
|
}
|
|
9017
|
-
function
|
|
9017
|
+
function ki(e) {
|
|
9018
9018
|
return e ? qe(e[1]) ? {
|
|
9019
9019
|
// Clear out prior actionData on errors
|
|
9020
9020
|
actionData: {}
|
|
@@ -9027,7 +9027,7 @@ function Fi(e) {
|
|
|
9027
9027
|
function Tt(e, t) {
|
|
9028
9028
|
return (t ? e.slice(0, e.findIndex((n) => n.route.id === t) + 1) : [...e]).reverse().find((n) => n.route.hasErrorBoundary === !0) || e[0];
|
|
9029
9029
|
}
|
|
9030
|
-
function
|
|
9030
|
+
function Fi(e) {
|
|
9031
9031
|
let t = e.length === 1 ? e[0] : e.find((r) => r.index || !r.path || r.path === "/") || {
|
|
9032
9032
|
id: "__shim-error-route__"
|
|
9033
9033
|
};
|
|
@@ -9097,7 +9097,7 @@ function np(e) {
|
|
|
9097
9097
|
return zd.has(e.toLowerCase());
|
|
9098
9098
|
}
|
|
9099
9099
|
function Ge(e) {
|
|
9100
|
-
return
|
|
9100
|
+
return Fd.has(e.toLowerCase());
|
|
9101
9101
|
}
|
|
9102
9102
|
async function ap(e, t, r, n, a) {
|
|
9103
9103
|
let o = Object.entries(t);
|
|
@@ -9683,7 +9683,7 @@ function Rp() {
|
|
|
9683
9683
|
matches: e,
|
|
9684
9684
|
loaderData: t
|
|
9685
9685
|
} = Et(We.UseMatches);
|
|
9686
|
-
return D.useMemo(() => e.map((r) =>
|
|
9686
|
+
return D.useMemo(() => e.map((r) => Fs(r, t)), [e, t]);
|
|
9687
9687
|
}
|
|
9688
9688
|
function Pp() {
|
|
9689
9689
|
let e = Et(We.UseLoaderData), t = Tr(We.UseLoaderData);
|
|
@@ -9836,7 +9836,7 @@ function Ip(e) {
|
|
|
9836
9836
|
initialIndex: a,
|
|
9837
9837
|
future: o
|
|
9838
9838
|
} = e, i = D.useRef();
|
|
9839
|
-
i.current == null && (i.current =
|
|
9839
|
+
i.current == null && (i.current = ks({
|
|
9840
9840
|
initialEntries: n,
|
|
9841
9841
|
initialIndex: a,
|
|
9842
9842
|
v5Compat: !0
|
|
@@ -9858,7 +9858,7 @@ function Ip(e) {
|
|
|
9858
9858
|
future: o
|
|
9859
9859
|
});
|
|
9860
9860
|
}
|
|
9861
|
-
function
|
|
9861
|
+
function kp(e) {
|
|
9862
9862
|
let {
|
|
9863
9863
|
to: t,
|
|
9864
9864
|
replace: r,
|
|
@@ -9887,7 +9887,7 @@ function Fp(e) {
|
|
|
9887
9887
|
relative: a
|
|
9888
9888
|
}), [u, d, a, r, n]), null;
|
|
9889
9889
|
}
|
|
9890
|
-
function
|
|
9890
|
+
function Fp(e) {
|
|
9891
9891
|
return Zs(e.context);
|
|
9892
9892
|
}
|
|
9893
9893
|
function il(e) {
|
|
@@ -10084,7 +10084,7 @@ function Bp(e, t) {
|
|
|
10084
10084
|
future: yt({}, t == null ? void 0 : t.future, {
|
|
10085
10085
|
v7_prependBasename: !0
|
|
10086
10086
|
}),
|
|
10087
|
-
history:
|
|
10087
|
+
history: ks({
|
|
10088
10088
|
initialEntries: t == null ? void 0 : t.initialEntries,
|
|
10089
10089
|
initialIndex: t == null ? void 0 : t.initialIndex
|
|
10090
10090
|
}),
|
|
@@ -10100,11 +10100,11 @@ const Hp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
10100
10100
|
AbortedDeferredError: sn,
|
|
10101
10101
|
Await: zp,
|
|
10102
10102
|
MemoryRouter: Ip,
|
|
10103
|
-
Navigate:
|
|
10103
|
+
Navigate: kp,
|
|
10104
10104
|
get NavigationType() {
|
|
10105
10105
|
return Pe;
|
|
10106
10106
|
},
|
|
10107
|
-
Outlet:
|
|
10107
|
+
Outlet: Fp,
|
|
10108
10108
|
Route: il,
|
|
10109
10109
|
Router: eo,
|
|
10110
10110
|
RouterProvider: Ap,
|
|
@@ -10132,7 +10132,7 @@ const Hp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
10132
10132
|
redirect: Ba,
|
|
10133
10133
|
redirectDocument: Id,
|
|
10134
10134
|
renderMatches: qp,
|
|
10135
|
-
replace:
|
|
10135
|
+
replace: kd,
|
|
10136
10136
|
resolvePath: Us,
|
|
10137
10137
|
useActionData: _p,
|
|
10138
10138
|
useAsyncError: Tp,
|
|
@@ -10466,7 +10466,9 @@ const pr = Hp, Jp = {
|
|
|
10466
10466
|
}) : void 0 : r === "N" ? gr(n) ? n.map(() => null) : null : n;
|
|
10467
10467
|
}, Vi = (e) => Object.entries({ ...e }).reduce((t, [r, n]) => (t[r] = ll(n), t), {}), Xi = (e) => Object.entries({ ...e }).reduce((t, [r, n]) => (t[r] = eh(n), t), {}), th = {
|
|
10468
10468
|
y: void 0
|
|
10469
|
-
}
|
|
10469
|
+
};
|
|
10470
|
+
window.routerHistory = window.routerHistory || /* @__PURE__ */ new Map();
|
|
10471
|
+
const hh = (e, t) => {
|
|
10470
10472
|
var h;
|
|
10471
10473
|
const { useSearchParams: r } = Vt(gn), {
|
|
10472
10474
|
storage: n = (r == null ? void 0 : r.storage) || "state",
|
|
@@ -10487,10 +10489,27 @@ const pr = Hp, Jp = {
|
|
|
10487
10489
|
y: window.scrollY
|
|
10488
10490
|
};
|
|
10489
10491
|
if (n === "url") {
|
|
10490
|
-
|
|
10492
|
+
const v = Vi(g);
|
|
10493
|
+
u(v);
|
|
10494
|
+
let p = "";
|
|
10495
|
+
for (const x in v) {
|
|
10496
|
+
const f = v[x];
|
|
10497
|
+
p += `${x}=${f}&`;
|
|
10498
|
+
}
|
|
10499
|
+
p = p.slice(0, -1), window.routerHistory.set(s.pathname, {
|
|
10500
|
+
path: `${s.pathname}?${p}`,
|
|
10501
|
+
replace: !0
|
|
10502
|
+
});
|
|
10491
10503
|
return;
|
|
10492
10504
|
}
|
|
10493
|
-
|
|
10505
|
+
window.routerHistory.set(s.pathname, {
|
|
10506
|
+
path: s.pathname,
|
|
10507
|
+
replace: !0,
|
|
10508
|
+
state: {
|
|
10509
|
+
...s.state || {},
|
|
10510
|
+
[a]: g
|
|
10511
|
+
}
|
|
10512
|
+
}), i(s.pathname, {
|
|
10494
10513
|
replace: !0,
|
|
10495
10514
|
state: {
|
|
10496
10515
|
...s.state,
|
|
@@ -10515,7 +10534,10 @@ const pr = Hp, Jp = {
|
|
|
10515
10534
|
...g,
|
|
10516
10535
|
historyAction: v
|
|
10517
10536
|
}, y(d).catch(Xr), !0) : (g.pathname === c.pathname && E.current !== null && (n === "url" && g.search !== c.search || n === "state" && !S.current) && (setTimeout(() => {
|
|
10518
|
-
const p = E.current
|
|
10537
|
+
const p = E.current;
|
|
10538
|
+
if (!p)
|
|
10539
|
+
return;
|
|
10540
|
+
const x = `${p.pathname}${p.search}`;
|
|
10519
10541
|
i(x, {
|
|
10520
10542
|
replace: p.historyAction !== "PUSH",
|
|
10521
10543
|
state: p.state
|