aquasis-fe-components 1.3.2-a → 1.3.2-ab
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.
|
@@ -2,7 +2,7 @@ import './index.css';var FI = Object.defineProperty;
|
|
|
2
2
|
var jI = (e, t, n) => t in e ? FI(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
3
|
var x3 = (e, t, n) => jI(e, typeof t != "symbol" ? t + "" : t, n);
|
|
4
4
|
import * as u from "react";
|
|
5
|
-
import ee, { version as BI, isValidElement as to, useContext as
|
|
5
|
+
import ee, { version as BI, isValidElement as to, useContext as Ht, createContext as Tr, useRef as Be, useLayoutEffect as HI, useEffect as zt, useState as Lt, forwardRef as y1, useMemo as Xt, Children as Vl, createRef as VI, useCallback as h1, useImperativeHandle as ir, cloneElement as Eu, Component as Tv, createElement as qr, Fragment as WI } from "react";
|
|
6
6
|
import * as KI from "react-dom";
|
|
7
7
|
import Si, { createPortal as kv, unstable_batchedUpdates as Dv, flushSync as xi } from "react-dom";
|
|
8
8
|
var ha = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
@@ -4305,7 +4305,7 @@ var Rh = function(t, n, r, a) {
|
|
|
4305
4305
|
return a && (i = a(i)), i;
|
|
4306
4306
|
}, Ih = "token";
|
|
4307
4307
|
function ID(e, t) {
|
|
4308
|
-
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, r =
|
|
4308
|
+
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, r = Ht(B0), a = r.cache.instanceId, o = r.container, i = n.salt, c = i === void 0 ? "" : i, l = n.override, s = l === void 0 ? ED : l, d = n.formatToken, f = n.getComputedToken, m = n.cssVar, p = mD(function() {
|
|
4309
4309
|
return Object.assign.apply(Object, [{}].concat(we(t)));
|
|
4310
4310
|
}, t), v = ui(p), h = ui(s), g = m ? ui(m) : "", C = Bu(Ih, [c, e.id, v, h, g], function() {
|
|
4311
4311
|
var b, y = f ? f(p, s, e) : Rh(p, s, e, d), x = B({}, y), S = "";
|
|
@@ -4874,7 +4874,7 @@ var i_ = function(t, n, r) {
|
|
|
4874
4874
|
}
|
|
4875
4875
|
}), [d, c, p];
|
|
4876
4876
|
}, qh = "cssVar", c_ = function(t, n) {
|
|
4877
|
-
var r = t.key, a = t.prefix, o = t.unitless, i = t.ignore, c = t.token, l = t.scope, s = l === void 0 ? "" : l, d =
|
|
4877
|
+
var r = t.key, a = t.prefix, o = t.unitless, i = t.ignore, c = t.token, l = t.scope, s = l === void 0 ? "" : l, d = Ht(B0), f = d.cache.instanceId, m = d.container, p = c._tokenKey, v = [].concat(we(t.path), [r, s, p]), h = Bu(qh, v, function() {
|
|
4878
4878
|
var g = n(), C = Ph(g, r, {
|
|
4879
4879
|
prefix: a,
|
|
4880
4880
|
unitless: o,
|
|
@@ -4911,7 +4911,7 @@ var i_ = function(t, n, r) {
|
|
|
4911
4911
|
return [d, i, m];
|
|
4912
4912
|
};
|
|
4913
4913
|
j(j(j({}, Uh, i_), Ih, TD), qh, l_);
|
|
4914
|
-
var
|
|
4914
|
+
var Wt = /* @__PURE__ */ function() {
|
|
4915
4915
|
function e(t, n) {
|
|
4916
4916
|
an(this, e), j(this, "name", void 0), j(this, "style", void 0), j(this, "_keyframe", !0), this.name = t, this.style = n;
|
|
4917
4917
|
}
|
|
@@ -6254,7 +6254,7 @@ const C1 = /* @__PURE__ */ u.createContext(!1), Yu = (e) => {
|
|
|
6254
6254
|
}, t);
|
|
6255
6255
|
};
|
|
6256
6256
|
function H_() {
|
|
6257
|
-
const e =
|
|
6257
|
+
const e = Ht(C1), t = Ht(la);
|
|
6258
6258
|
return {
|
|
6259
6259
|
componentDisabled: e,
|
|
6260
6260
|
componentSize: t
|
|
@@ -7103,7 +7103,7 @@ const r2 = {
|
|
|
7103
7103
|
const {
|
|
7104
7104
|
getPrefixCls: e,
|
|
7105
7105
|
iconPrefixCls: t
|
|
7106
|
-
} =
|
|
7106
|
+
} = Ht(lt);
|
|
7107
7107
|
return {
|
|
7108
7108
|
rootPrefixCls: e(),
|
|
7109
7109
|
iconPrefixCls: t
|
|
@@ -7123,7 +7123,7 @@ const r2 = {
|
|
|
7123
7123
|
const {
|
|
7124
7124
|
csp: e,
|
|
7125
7125
|
iconPrefixCls: t
|
|
7126
|
-
} =
|
|
7126
|
+
} = Ht(lt);
|
|
7127
7127
|
return vb(t, e), e ?? {};
|
|
7128
7128
|
},
|
|
7129
7129
|
getResetStyles: (e) => [{
|
|
@@ -7983,7 +7983,7 @@ var UA = `
|
|
|
7983
7983
|
}
|
|
7984
7984
|
}
|
|
7985
7985
|
`, qA = function(t) {
|
|
7986
|
-
var n =
|
|
7986
|
+
var n = Ht(Wu), r = n.csp, a = n.prefixCls, o = UA;
|
|
7987
7987
|
a && (o = o.replace(/anticon/g, a)), zt(function() {
|
|
7988
7988
|
var i = t.current, c = o0(i);
|
|
7989
7989
|
X2(o, "@ant-design-icons", {
|
|
@@ -8847,7 +8847,7 @@ var Ne = {
|
|
|
8847
8847
|
}
|
|
8848
8848
|
return [!!t, n];
|
|
8849
8849
|
}, SF = ["className", "style", "classNames", "styles"], Ab = function(t) {
|
|
8850
|
-
var n = t.configList, r = t.placement, a = t.prefixCls, o = t.className, i = t.style, c = t.motion, l = t.onAllNoticeRemoved, s = t.onNoticeClose, d = t.stack, f =
|
|
8850
|
+
var n = t.configList, r = t.placement, a = t.prefixCls, o = t.className, i = t.style, c = t.motion, l = t.onAllNoticeRemoved, s = t.onNoticeClose, d = t.stack, f = Ht(Db), m = f.classNames, p = Be({}), v = Lt(null), h = ne(v, 2), g = h[0], C = h[1], b = Lt([]), y = ne(b, 2), x = y[0], S = y[1], w = n.map(function(I) {
|
|
8851
8851
|
return {
|
|
8852
8852
|
config: I,
|
|
8853
8853
|
key: String(I.key)
|
|
@@ -9143,7 +9143,7 @@ const lr = (e, t) => {
|
|
|
9143
9143
|
// Custom token
|
|
9144
9144
|
contentPadding: g,
|
|
9145
9145
|
contentBg: C
|
|
9146
|
-
} = e, b = `${t}-notice`, y = new
|
|
9146
|
+
} = e, b = `${t}-notice`, y = new Wt("MessageMoveIn", {
|
|
9147
9147
|
"0%": {
|
|
9148
9148
|
padding: 0,
|
|
9149
9149
|
transform: "translateY(-100%)",
|
|
@@ -9154,7 +9154,7 @@ const lr = (e, t) => {
|
|
|
9154
9154
|
transform: "translateY(0)",
|
|
9155
9155
|
opacity: 1
|
|
9156
9156
|
}
|
|
9157
|
-
}), x = new
|
|
9157
|
+
}), x = new Wt("MessageMoveOut", {
|
|
9158
9158
|
"0%": {
|
|
9159
9159
|
maxHeight: e.height,
|
|
9160
9160
|
padding: p,
|
|
@@ -10059,7 +10059,7 @@ const rj = (e) => {
|
|
|
10059
10059
|
component: r
|
|
10060
10060
|
} = e, {
|
|
10061
10061
|
getPrefixCls: a
|
|
10062
|
-
} =
|
|
10062
|
+
} = Ht(lt), o = Be(null), i = a("wave"), [, c] = tj(i), l = oj(o, Z(i, c), r);
|
|
10063
10063
|
if (ee.useEffect(() => {
|
|
10064
10064
|
const d = o.current;
|
|
10065
10065
|
if (!d || d.nodeType !== 1 || n)
|
|
@@ -11286,14 +11286,14 @@ const J0 = (e) => ({
|
|
|
11286
11286
|
pointerEvents: "none"
|
|
11287
11287
|
}
|
|
11288
11288
|
};
|
|
11289
|
-
}, Fj = new
|
|
11289
|
+
}, Fj = new Wt("antFadeIn", {
|
|
11290
11290
|
"0%": {
|
|
11291
11291
|
opacity: 0
|
|
11292
11292
|
},
|
|
11293
11293
|
"100%": {
|
|
11294
11294
|
opacity: 1
|
|
11295
11295
|
}
|
|
11296
|
-
}), jj = new
|
|
11296
|
+
}), jj = new Wt("antFadeOut", {
|
|
11297
11297
|
"0%": {
|
|
11298
11298
|
opacity: 1
|
|
11299
11299
|
},
|
|
@@ -11317,7 +11317,7 @@ const J0 = (e) => ({
|
|
|
11317
11317
|
animationTimingFunction: "linear"
|
|
11318
11318
|
}
|
|
11319
11319
|
}];
|
|
11320
|
-
}, Bj = new
|
|
11320
|
+
}, Bj = new Wt("antMoveDownIn", {
|
|
11321
11321
|
"0%": {
|
|
11322
11322
|
transform: "translate3d(0, 100%, 0)",
|
|
11323
11323
|
transformOrigin: "0 0",
|
|
@@ -11328,7 +11328,7 @@ const J0 = (e) => ({
|
|
|
11328
11328
|
transformOrigin: "0 0",
|
|
11329
11329
|
opacity: 1
|
|
11330
11330
|
}
|
|
11331
|
-
}), Hj = new
|
|
11331
|
+
}), Hj = new Wt("antMoveDownOut", {
|
|
11332
11332
|
"0%": {
|
|
11333
11333
|
transform: "translate3d(0, 0, 0)",
|
|
11334
11334
|
transformOrigin: "0 0",
|
|
@@ -11339,7 +11339,7 @@ const J0 = (e) => ({
|
|
|
11339
11339
|
transformOrigin: "0 0",
|
|
11340
11340
|
opacity: 0
|
|
11341
11341
|
}
|
|
11342
|
-
}), Vj = new
|
|
11342
|
+
}), Vj = new Wt("antMoveLeftIn", {
|
|
11343
11343
|
"0%": {
|
|
11344
11344
|
transform: "translate3d(-100%, 0, 0)",
|
|
11345
11345
|
transformOrigin: "0 0",
|
|
@@ -11350,7 +11350,7 @@ const J0 = (e) => ({
|
|
|
11350
11350
|
transformOrigin: "0 0",
|
|
11351
11351
|
opacity: 1
|
|
11352
11352
|
}
|
|
11353
|
-
}), Wj = new
|
|
11353
|
+
}), Wj = new Wt("antMoveLeftOut", {
|
|
11354
11354
|
"0%": {
|
|
11355
11355
|
transform: "translate3d(0, 0, 0)",
|
|
11356
11356
|
transformOrigin: "0 0",
|
|
@@ -11361,7 +11361,7 @@ const J0 = (e) => ({
|
|
|
11361
11361
|
transformOrigin: "0 0",
|
|
11362
11362
|
opacity: 0
|
|
11363
11363
|
}
|
|
11364
|
-
}), Kj = new
|
|
11364
|
+
}), Kj = new Wt("antMoveRightIn", {
|
|
11365
11365
|
"0%": {
|
|
11366
11366
|
transform: "translate3d(100%, 0, 0)",
|
|
11367
11367
|
transformOrigin: "0 0",
|
|
@@ -11372,7 +11372,7 @@ const J0 = (e) => ({
|
|
|
11372
11372
|
transformOrigin: "0 0",
|
|
11373
11373
|
opacity: 1
|
|
11374
11374
|
}
|
|
11375
|
-
}), Uj = new
|
|
11375
|
+
}), Uj = new Wt("antMoveRightOut", {
|
|
11376
11376
|
"0%": {
|
|
11377
11377
|
transform: "translate3d(0, 0, 0)",
|
|
11378
11378
|
transformOrigin: "0 0",
|
|
@@ -11383,7 +11383,7 @@ const J0 = (e) => ({
|
|
|
11383
11383
|
transformOrigin: "0 0",
|
|
11384
11384
|
opacity: 0
|
|
11385
11385
|
}
|
|
11386
|
-
}), qj = new
|
|
11386
|
+
}), qj = new Wt("antMoveUpIn", {
|
|
11387
11387
|
"0%": {
|
|
11388
11388
|
transform: "translate3d(0, -100%, 0)",
|
|
11389
11389
|
transformOrigin: "0 0",
|
|
@@ -11394,7 +11394,7 @@ const J0 = (e) => ({
|
|
|
11394
11394
|
transformOrigin: "0 0",
|
|
11395
11395
|
opacity: 1
|
|
11396
11396
|
}
|
|
11397
|
-
}), Gj = new
|
|
11397
|
+
}), Gj = new Wt("antMoveUpOut", {
|
|
11398
11398
|
"0%": {
|
|
11399
11399
|
transform: "translate3d(0, 0, 0)",
|
|
11400
11400
|
transformOrigin: "0 0",
|
|
@@ -11441,7 +11441,7 @@ const J0 = (e) => ({
|
|
|
11441
11441
|
animationTimingFunction: e.motionEaseInOutCirc
|
|
11442
11442
|
}
|
|
11443
11443
|
}];
|
|
11444
|
-
}, es = new
|
|
11444
|
+
}, es = new Wt("antSlideUpIn", {
|
|
11445
11445
|
"0%": {
|
|
11446
11446
|
transform: "scaleY(0.8)",
|
|
11447
11447
|
transformOrigin: "0% 0%",
|
|
@@ -11452,7 +11452,7 @@ const J0 = (e) => ({
|
|
|
11452
11452
|
transformOrigin: "0% 0%",
|
|
11453
11453
|
opacity: 1
|
|
11454
11454
|
}
|
|
11455
|
-
}), ts = new
|
|
11455
|
+
}), ts = new Wt("antSlideUpOut", {
|
|
11456
11456
|
"0%": {
|
|
11457
11457
|
transform: "scaleY(1)",
|
|
11458
11458
|
transformOrigin: "0% 0%",
|
|
@@ -11463,7 +11463,7 @@ const J0 = (e) => ({
|
|
|
11463
11463
|
transformOrigin: "0% 0%",
|
|
11464
11464
|
opacity: 0
|
|
11465
11465
|
}
|
|
11466
|
-
}), ns = new
|
|
11466
|
+
}), ns = new Wt("antSlideDownIn", {
|
|
11467
11467
|
"0%": {
|
|
11468
11468
|
transform: "scaleY(0.8)",
|
|
11469
11469
|
transformOrigin: "100% 100%",
|
|
@@ -11474,7 +11474,7 @@ const J0 = (e) => ({
|
|
|
11474
11474
|
transformOrigin: "100% 100%",
|
|
11475
11475
|
opacity: 1
|
|
11476
11476
|
}
|
|
11477
|
-
}), rs = new
|
|
11477
|
+
}), rs = new Wt("antSlideDownOut", {
|
|
11478
11478
|
"0%": {
|
|
11479
11479
|
transform: "scaleY(1)",
|
|
11480
11480
|
transformOrigin: "100% 100%",
|
|
@@ -11485,7 +11485,7 @@ const J0 = (e) => ({
|
|
|
11485
11485
|
transformOrigin: "100% 100%",
|
|
11486
11486
|
opacity: 0
|
|
11487
11487
|
}
|
|
11488
|
-
}), Xj = new
|
|
11488
|
+
}), Xj = new Wt("antSlideLeftIn", {
|
|
11489
11489
|
"0%": {
|
|
11490
11490
|
transform: "scaleX(0.8)",
|
|
11491
11491
|
transformOrigin: "0% 0%",
|
|
@@ -11496,7 +11496,7 @@ const J0 = (e) => ({
|
|
|
11496
11496
|
transformOrigin: "0% 0%",
|
|
11497
11497
|
opacity: 1
|
|
11498
11498
|
}
|
|
11499
|
-
}), Qj = new
|
|
11499
|
+
}), Qj = new Wt("antSlideLeftOut", {
|
|
11500
11500
|
"0%": {
|
|
11501
11501
|
transform: "scaleX(1)",
|
|
11502
11502
|
transformOrigin: "0% 0%",
|
|
@@ -11507,7 +11507,7 @@ const J0 = (e) => ({
|
|
|
11507
11507
|
transformOrigin: "0% 0%",
|
|
11508
11508
|
opacity: 0
|
|
11509
11509
|
}
|
|
11510
|
-
}), Jj = new
|
|
11510
|
+
}), Jj = new Wt("antSlideRightIn", {
|
|
11511
11511
|
"0%": {
|
|
11512
11512
|
transform: "scaleX(0.8)",
|
|
11513
11513
|
transformOrigin: "100% 0%",
|
|
@@ -11518,7 +11518,7 @@ const J0 = (e) => ({
|
|
|
11518
11518
|
transformOrigin: "100% 0%",
|
|
11519
11519
|
opacity: 1
|
|
11520
11520
|
}
|
|
11521
|
-
}), Zj = new
|
|
11521
|
+
}), Zj = new Wt("antSlideRightOut", {
|
|
11522
11522
|
"0%": {
|
|
11523
11523
|
transform: "scaleX(1)",
|
|
11524
11524
|
transformOrigin: "100% 0%",
|
|
@@ -11570,7 +11570,7 @@ const J0 = (e) => ({
|
|
|
11570
11570
|
animationTimingFunction: e.motionEaseInQuint
|
|
11571
11571
|
}
|
|
11572
11572
|
}];
|
|
11573
|
-
}, a5 = new
|
|
11573
|
+
}, a5 = new Wt("antZoomIn", {
|
|
11574
11574
|
"0%": {
|
|
11575
11575
|
transform: "scale(0.2)",
|
|
11576
11576
|
opacity: 0
|
|
@@ -11579,7 +11579,7 @@ const J0 = (e) => ({
|
|
|
11579
11579
|
transform: "scale(1)",
|
|
11580
11580
|
opacity: 1
|
|
11581
11581
|
}
|
|
11582
|
-
}), tB = new
|
|
11582
|
+
}), tB = new Wt("antZoomOut", {
|
|
11583
11583
|
"0%": {
|
|
11584
11584
|
transform: "scale(1)"
|
|
11585
11585
|
},
|
|
@@ -11587,7 +11587,7 @@ const J0 = (e) => ({
|
|
|
11587
11587
|
transform: "scale(0.2)",
|
|
11588
11588
|
opacity: 0
|
|
11589
11589
|
}
|
|
11590
|
-
}), b9 = new
|
|
11590
|
+
}), b9 = new Wt("antZoomBigIn", {
|
|
11591
11591
|
"0%": {
|
|
11592
11592
|
transform: "scale(0.8)",
|
|
11593
11593
|
opacity: 0
|
|
@@ -11596,7 +11596,7 @@ const J0 = (e) => ({
|
|
|
11596
11596
|
transform: "scale(1)",
|
|
11597
11597
|
opacity: 1
|
|
11598
11598
|
}
|
|
11599
|
-
}), C9 = new
|
|
11599
|
+
}), C9 = new Wt("antZoomBigOut", {
|
|
11600
11600
|
"0%": {
|
|
11601
11601
|
transform: "scale(1)"
|
|
11602
11602
|
},
|
|
@@ -11604,7 +11604,7 @@ const J0 = (e) => ({
|
|
|
11604
11604
|
transform: "scale(0.8)",
|
|
11605
11605
|
opacity: 0
|
|
11606
11606
|
}
|
|
11607
|
-
}), nB = new
|
|
11607
|
+
}), nB = new Wt("antZoomUpIn", {
|
|
11608
11608
|
"0%": {
|
|
11609
11609
|
transform: "scale(0.8)",
|
|
11610
11610
|
transformOrigin: "50% 0%",
|
|
@@ -11614,7 +11614,7 @@ const J0 = (e) => ({
|
|
|
11614
11614
|
transform: "scale(1)",
|
|
11615
11615
|
transformOrigin: "50% 0%"
|
|
11616
11616
|
}
|
|
11617
|
-
}), rB = new
|
|
11617
|
+
}), rB = new Wt("antZoomUpOut", {
|
|
11618
11618
|
"0%": {
|
|
11619
11619
|
transform: "scale(1)",
|
|
11620
11620
|
transformOrigin: "50% 0%"
|
|
@@ -11624,7 +11624,7 @@ const J0 = (e) => ({
|
|
|
11624
11624
|
transformOrigin: "50% 0%",
|
|
11625
11625
|
opacity: 0
|
|
11626
11626
|
}
|
|
11627
|
-
}), aB = new
|
|
11627
|
+
}), aB = new Wt("antZoomLeftIn", {
|
|
11628
11628
|
"0%": {
|
|
11629
11629
|
transform: "scale(0.8)",
|
|
11630
11630
|
transformOrigin: "0% 50%",
|
|
@@ -11634,7 +11634,7 @@ const J0 = (e) => ({
|
|
|
11634
11634
|
transform: "scale(1)",
|
|
11635
11635
|
transformOrigin: "0% 50%"
|
|
11636
11636
|
}
|
|
11637
|
-
}), oB = new
|
|
11637
|
+
}), oB = new Wt("antZoomLeftOut", {
|
|
11638
11638
|
"0%": {
|
|
11639
11639
|
transform: "scale(1)",
|
|
11640
11640
|
transformOrigin: "0% 50%"
|
|
@@ -11644,7 +11644,7 @@ const J0 = (e) => ({
|
|
|
11644
11644
|
transformOrigin: "0% 50%",
|
|
11645
11645
|
opacity: 0
|
|
11646
11646
|
}
|
|
11647
|
-
}), iB = new
|
|
11647
|
+
}), iB = new Wt("antZoomRightIn", {
|
|
11648
11648
|
"0%": {
|
|
11649
11649
|
transform: "scale(0.8)",
|
|
11650
11650
|
transformOrigin: "100% 50%",
|
|
@@ -11654,7 +11654,7 @@ const J0 = (e) => ({
|
|
|
11654
11654
|
transform: "scale(1)",
|
|
11655
11655
|
transformOrigin: "100% 50%"
|
|
11656
11656
|
}
|
|
11657
|
-
}), cB = new
|
|
11657
|
+
}), cB = new Wt("antZoomRightOut", {
|
|
11658
11658
|
"0%": {
|
|
11659
11659
|
transform: "scale(1)",
|
|
11660
11660
|
transformOrigin: "100% 50%"
|
|
@@ -11664,7 +11664,7 @@ const J0 = (e) => ({
|
|
|
11664
11664
|
transformOrigin: "100% 50%",
|
|
11665
11665
|
opacity: 0
|
|
11666
11666
|
}
|
|
11667
|
-
}), lB = new
|
|
11667
|
+
}), lB = new Wt("antZoomDownIn", {
|
|
11668
11668
|
"0%": {
|
|
11669
11669
|
transform: "scale(0.8)",
|
|
11670
11670
|
transformOrigin: "50% 100%",
|
|
@@ -11674,7 +11674,7 @@ const J0 = (e) => ({
|
|
|
11674
11674
|
transform: "scale(1)",
|
|
11675
11675
|
transformOrigin: "50% 100%"
|
|
11676
11676
|
}
|
|
11677
|
-
}), sB = new
|
|
11677
|
+
}), sB = new Wt("antZoomDownOut", {
|
|
11678
11678
|
"0%": {
|
|
11679
11679
|
transform: "scale(1)",
|
|
11680
11680
|
transformOrigin: "50% 100%"
|
|
@@ -12363,7 +12363,7 @@ const _B = {
|
|
|
12363
12363
|
getPrefixCls: I,
|
|
12364
12364
|
direction: $,
|
|
12365
12365
|
button: k
|
|
12366
|
-
} =
|
|
12366
|
+
} = Ht(lt), _ = (n = z ?? (k == null ? void 0 : k.autoInsertSpace)) !== null && n !== void 0 ? n : !0, D = I("btn", i), [A, H, F] = EB(D), V = Ht(C1), W = v ?? V, J = Ht(Gb), Y = Xt(() => DB(o), [o]), [q, re] = Lt(Y.loading), [G, Q] = Lt(!1), te = c1(t, /* @__PURE__ */ VI()), K = Vl.count(C) === 1 && !b && !qc(T);
|
|
12367
12367
|
zt(() => {
|
|
12368
12368
|
let Ee = null;
|
|
12369
12369
|
Y.delay > 0 ? Ee = setTimeout(() => {
|
|
@@ -12532,7 +12532,7 @@ const iC = (e) => {
|
|
|
12532
12532
|
close: i,
|
|
12533
12533
|
onCancel: c,
|
|
12534
12534
|
onConfirm: l
|
|
12535
|
-
} =
|
|
12535
|
+
} = Ht(cc);
|
|
12536
12536
|
return a ? /* @__PURE__ */ ee.createElement(iC, {
|
|
12537
12537
|
isSilent: r,
|
|
12538
12538
|
actionFn: c,
|
|
@@ -12554,7 +12554,7 @@ const iC = (e) => {
|
|
|
12554
12554
|
okType: i,
|
|
12555
12555
|
onConfirm: c,
|
|
12556
12556
|
onOk: l
|
|
12557
|
-
} =
|
|
12557
|
+
} = Ht(cc);
|
|
12558
12558
|
return /* @__PURE__ */ ee.createElement(iC, {
|
|
12559
12559
|
isSilent: n,
|
|
12560
12560
|
type: i || "primary",
|
|
@@ -14998,7 +14998,7 @@ function yC() {
|
|
|
14998
14998
|
return F9(d);
|
|
14999
14999
|
}, [d]), p = Be(m);
|
|
15000
15000
|
p.current = m;
|
|
15001
|
-
var v =
|
|
15001
|
+
var v = Ht(da), h = c || v, g = h && h._init;
|
|
15002
15002
|
process.env.NODE_ENV !== "production" && dt(t.length === 2 ? c ? g : !0 : g, "useWatch requires a form instance since it can not auto detect from context.");
|
|
15003
15003
|
var C = An(r), b = Be(C);
|
|
15004
15004
|
return b.current = C, BH(C), zt(
|
|
@@ -15043,7 +15043,7 @@ const VH = (e) => {
|
|
|
15043
15043
|
status: n,
|
|
15044
15044
|
override: r
|
|
15045
15045
|
} = e;
|
|
15046
|
-
const a =
|
|
15046
|
+
const a = Ht(Yn), o = Xt(() => {
|
|
15047
15047
|
const i = Object.assign({}, a);
|
|
15048
15048
|
return r && delete i.isFormItemInput, n && (delete i.status, delete i.hasFeedback, delete i.feedbackIcon), i;
|
|
15049
15049
|
}, [n, r, a]);
|
|
@@ -15163,7 +15163,7 @@ const qH = () => Kn() && window.document.documentElement, os = (e) => {
|
|
|
15163
15163
|
className: Z(t, i, c, n),
|
|
15164
15164
|
style: Object.assign(Object.assign({}, l), r)
|
|
15165
15165
|
});
|
|
15166
|
-
}, GH = new
|
|
15166
|
+
}, GH = new Wt("ant-skeleton-loading", {
|
|
15167
15167
|
"0%": {
|
|
15168
15168
|
backgroundPosition: "100% 50%"
|
|
15169
15169
|
},
|
|
@@ -15712,7 +15712,7 @@ const K9 = () => {
|
|
|
15712
15712
|
cancelButtonProps: e,
|
|
15713
15713
|
cancelTextLocale: t,
|
|
15714
15714
|
onCancel: n
|
|
15715
|
-
} =
|
|
15715
|
+
} = Ht(cc);
|
|
15716
15716
|
return /* @__PURE__ */ ee.createElement(vn, Object.assign({
|
|
15717
15717
|
onClick: n
|
|
15718
15718
|
}, e), t);
|
|
@@ -15723,7 +15723,7 @@ const K9 = () => {
|
|
|
15723
15723
|
okType: n,
|
|
15724
15724
|
okTextLocale: r,
|
|
15725
15725
|
onOk: a
|
|
15726
|
-
} =
|
|
15726
|
+
} = Ht(cc);
|
|
15727
15727
|
return /* @__PURE__ */ ee.createElement(vn, Object.assign({}, Yb(n), {
|
|
15728
15728
|
loading: e,
|
|
15729
15729
|
onClick: a
|
|
@@ -16398,7 +16398,7 @@ const wV = (e) => {
|
|
|
16398
16398
|
prefixCls: r,
|
|
16399
16399
|
getContainer: a,
|
|
16400
16400
|
direction: o
|
|
16401
|
-
} = e, i = tb(), c =
|
|
16401
|
+
} = e, i = tb(), c = Ht(lt), l = kC() || c.getPrefixCls(), s = r || `${l}-modal`;
|
|
16402
16402
|
let d = a;
|
|
16403
16403
|
return d === !1 && (d = void 0, process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "production" && cr(!1, "Modal", "Static method not support `getContainer` to be `false` since it do not have context env.")), /* @__PURE__ */ ee.createElement(h5, Object.assign({}, e, {
|
|
16404
16404
|
rootPrefixCls: l,
|
|
@@ -16609,7 +16609,7 @@ const OV = (e) => {
|
|
|
16609
16609
|
componentCls: t,
|
|
16610
16610
|
notificationMarginEdge: n,
|
|
16611
16611
|
animationMaxHeight: r
|
|
16612
|
-
} = e, a = `${t}-notice`, o = new
|
|
16612
|
+
} = e, a = `${t}-notice`, o = new Wt("antNotificationFadeIn", {
|
|
16613
16613
|
"0%": {
|
|
16614
16614
|
transform: "translate3d(100%, 0, 0)",
|
|
16615
16615
|
opacity: 0
|
|
@@ -16618,7 +16618,7 @@ const OV = (e) => {
|
|
|
16618
16618
|
transform: "translate3d(0, 0, 0)",
|
|
16619
16619
|
opacity: 1
|
|
16620
16620
|
}
|
|
16621
|
-
}), i = new
|
|
16621
|
+
}), i = new Wt("antNotificationTopFadeIn", {
|
|
16622
16622
|
"0%": {
|
|
16623
16623
|
top: -r,
|
|
16624
16624
|
opacity: 0
|
|
@@ -16627,7 +16627,7 @@ const OV = (e) => {
|
|
|
16627
16627
|
top: 0,
|
|
16628
16628
|
opacity: 1
|
|
16629
16629
|
}
|
|
16630
|
-
}), c = new
|
|
16630
|
+
}), c = new Wt("antNotificationBottomFadeIn", {
|
|
16631
16631
|
"0%": {
|
|
16632
16632
|
bottom: e.calc(r).mul(-1).equal(),
|
|
16633
16633
|
opacity: 0
|
|
@@ -16636,7 +16636,7 @@ const OV = (e) => {
|
|
|
16636
16636
|
bottom: 0,
|
|
16637
16637
|
opacity: 1
|
|
16638
16638
|
}
|
|
16639
|
-
}), l = new
|
|
16639
|
+
}), l = new Wt("antNotificationLeftFadeIn", {
|
|
16640
16640
|
"0%": {
|
|
16641
16641
|
transform: "translate3d(-100%, 0, 0)",
|
|
16642
16642
|
opacity: 0
|
|
@@ -16921,7 +16921,7 @@ const OV = (e) => {
|
|
|
16921
16921
|
notificationMarginEdge: r,
|
|
16922
16922
|
motionDurationMid: a,
|
|
16923
16923
|
motionEaseInOut: o
|
|
16924
|
-
} = e, i = `${t}-notice`, c = new
|
|
16924
|
+
} = e, i = `${t}-notice`, c = new Wt("antNotificationFadeOut", {
|
|
16925
16925
|
"0%": {
|
|
16926
16926
|
maxHeight: e.animationMaxHeight,
|
|
16927
16927
|
marginBottom: n
|
|
@@ -17203,7 +17203,7 @@ const Y9 = 24, KV = 4.5, UV = "topRight", qV = (e) => {
|
|
|
17203
17203
|
getPopupContainer: v,
|
|
17204
17204
|
notification: h,
|
|
17205
17205
|
direction: g
|
|
17206
|
-
} =
|
|
17206
|
+
} = Ht(lt), [, C] = Qn(), b = a || p("notification"), y = (M) => HV(M, n ?? Y9, r ?? Y9), x = () => Z({
|
|
17207
17207
|
[`${b}-rtl`]: c ?? g === "rtl"
|
|
17208
17208
|
}), S = () => VV(b), [w, L] = jb({
|
|
17209
17209
|
prefixCls: b,
|
|
@@ -18290,9 +18290,9 @@ function $W(e, t, n, r, a, o, i) {
|
|
|
18290
18290
|
if (mn && Qe[1] === "r" && (Ze < Me.left || p.current.lr)) {
|
|
18291
18291
|
var Et = _e;
|
|
18292
18292
|
pn ? Et += te - oe : Et = Ue.x - De.x - ze;
|
|
18293
|
-
var
|
|
18293
|
+
var Ut = Bt(Et, Ke), zn = Bt(Et, Ke, ve);
|
|
18294
18294
|
// Of course use larger one
|
|
18295
|
-
|
|
18295
|
+
Ut > vt || Ut === vt && (!ge || // Choose recommend one
|
|
18296
18296
|
zn >= yt) ? (p.current.lr = !0, _e = Et, ze = -ze, Je.points = [fr(Qe, 1), fr(Ie, 1)]) : p.current.lr = !1;
|
|
18297
18297
|
}
|
|
18298
18298
|
tn();
|
|
@@ -18428,7 +18428,7 @@ function RW() {
|
|
|
18428
18428
|
}, [at]);
|
|
18429
18429
|
var ce = u.useState(null), me = ne(ce, 2), ye = me[0], Re = me[1], je = u.useState(null), ot = ne(je, 2), Ze = ot[0], pt = ot[1], We = function(kt) {
|
|
18430
18430
|
pt([kt.clientX, kt.clientY]);
|
|
18431
|
-
}, Ge = $W(at, $e, H && Ze !== null ? Ze : Ae, N, I, $, V), et = ne(Ge, 11), bt = et[0], Ot = et[1], Yt = et[2], Tt = et[3], xn = et[4], mn = et[5], pn = et[6], Cn = et[7], Tn = et[8], ht = et[9], Et = et[10],
|
|
18431
|
+
}, Ge = $W(at, $e, H && Ze !== null ? Ze : Ae, N, I, $, V), et = ne(Ge, 11), bt = et[0], Ot = et[1], Yt = et[2], Tt = et[3], xn = et[4], mn = et[5], pn = et[6], Cn = et[7], Tn = et[8], ht = et[9], Et = et[10], Ut = MW(ie, l, s, d), zn = ne(Ut, 2), wn = zn[0], kn = zn[1], r1 = wn.has("click"), Jn = kn.has("click") || kn.has("contextMenu"), Ln = Rt(function() {
|
|
18432
18432
|
gt || Et();
|
|
18433
18433
|
}), Ft = function() {
|
|
18434
18434
|
_e.current && H && Jn && De(!1);
|
|
@@ -18909,7 +18909,7 @@ var FW = ["id", "prefixCls", "className", "showSearch", "tagRender", "direction"
|
|
|
18909
18909
|
type: "clear",
|
|
18910
18910
|
values: d
|
|
18911
18911
|
}), gt("", !1, !1);
|
|
18912
|
-
},
|
|
18912
|
+
}, Ut = QV(a, Et, d, I, k, C, he, g), zn = Ut.allowClear, wn = Ut.clearIcon, kn = /* @__PURE__ */ u.createElement(_, {
|
|
18913
18913
|
ref: ke
|
|
18914
18914
|
}), r1 = Z(a, o, j(j(j(j(j(j(j(j(j(j({}, "".concat(a, "-focused"), ze), "".concat(a, "-multiple"), ie), "".concat(a, "-single"), !ie), "".concat(a, "-allow-clear"), I), "".concat(a, "-show-arrow"), Tn), "".concat(a, "-disabled"), C), "".concat(a, "-loading"), b), "".concat(a, "-open"), _e), "".concat(a, "-customize-input"), de), "".concat(a, "-show-search"), fe)), Jn = /* @__PURE__ */ u.createElement(oy, {
|
|
18915
18915
|
ref: Pe,
|
|
@@ -20453,7 +20453,7 @@ const z5 = (e) => {
|
|
|
20453
20453
|
componentName: t
|
|
20454
20454
|
} = e, {
|
|
20455
20455
|
getPrefixCls: n
|
|
20456
|
-
} =
|
|
20456
|
+
} = Ht(lt), r = n("empty");
|
|
20457
20457
|
switch (t) {
|
|
20458
20458
|
case "Table":
|
|
20459
20459
|
case "List":
|
|
@@ -20480,7 +20480,7 @@ const z5 = (e) => {
|
|
|
20480
20480
|
const {
|
|
20481
20481
|
variant: o,
|
|
20482
20482
|
[e]: i
|
|
20483
|
-
} =
|
|
20483
|
+
} = Ht(lt), c = Ht(wC), l = i == null ? void 0 : i.variant;
|
|
20484
20484
|
let s;
|
|
20485
20485
|
typeof t < "u" ? s = t : n === !1 ? s = "borderless" : s = (a = (r = c ?? l) !== null && r !== void 0 ? r : o) !== null && a !== void 0 ? a : "outlined";
|
|
20486
20486
|
const d = D_.includes(s);
|
|
@@ -23979,12 +23979,12 @@ var uq = ["prefixCls", "rootClassName", "style", "className", "tabIndex", "items
|
|
|
23979
23979
|
postState: function(wt) {
|
|
23980
23980
|
return Array.isArray(wt) ? wt : wt == null ? Br : [wt];
|
|
23981
23981
|
}
|
|
23982
|
-
}), Et = ne(ht, 2),
|
|
23982
|
+
}), Et = ne(ht, 2), Ut = Et[0], zn = Et[1], wn = function(wt) {
|
|
23983
23983
|
if (N) {
|
|
23984
|
-
var it = wt.key, ft =
|
|
23985
|
-
I ? ft ? jt =
|
|
23984
|
+
var it = wt.key, ft = Ut.includes(it), jt;
|
|
23985
|
+
I ? ft ? jt = Ut.filter(function(Pn) {
|
|
23986
23986
|
return Pn !== it;
|
|
23987
|
-
}) : jt = [].concat(we(
|
|
23987
|
+
}) : jt = [].concat(we(Ut), [it]) : jt = [it], zn(jt);
|
|
23988
23988
|
var ln = B(B({}, wt), {}, {
|
|
23989
23989
|
selectedKeys: jt
|
|
23990
23990
|
});
|
|
@@ -24078,7 +24078,7 @@ var uq = ["prefixCls", "rootClassName", "style", "className", "tabIndex", "items
|
|
|
24078
24078
|
activeKey: mn,
|
|
24079
24079
|
onActive: Cn,
|
|
24080
24080
|
onInactive: Tn,
|
|
24081
|
-
selectedKeys:
|
|
24081
|
+
selectedKeys: Ut,
|
|
24082
24082
|
inlineIndent: H,
|
|
24083
24083
|
subMenuOpenDelay: S,
|
|
24084
24084
|
subMenuCloseDelay: L,
|
|
@@ -24387,7 +24387,7 @@ const Mm = {
|
|
|
24387
24387
|
onBreakpoint: g
|
|
24388
24388
|
} = e, C = Sq(e, ["prefixCls", "className", "trigger", "children", "defaultCollapsed", "theme", "style", "collapsible", "reverseArrow", "width", "collapsedWidth", "zeroWidthTriggerStyle", "breakpoint", "onCollapse", "onBreakpoint"]), {
|
|
24389
24389
|
siderHook: b
|
|
24390
|
-
} =
|
|
24390
|
+
} = Ht(hq), [y, x] = Lt("collapsed" in e ? e.collapsed : i), [S, w] = Lt(!1);
|
|
24391
24391
|
zt(() => {
|
|
24392
24392
|
"collapsed" in e && x(e.collapsed);
|
|
24393
24393
|
}, [e.collapsed]);
|
|
@@ -24395,7 +24395,7 @@ const Mm = {
|
|
|
24395
24395
|
"collapsed" in e || x($), h == null || h($, k);
|
|
24396
24396
|
}, {
|
|
24397
24397
|
getPrefixCls: M
|
|
24398
|
-
} =
|
|
24398
|
+
} = Ht(lt), z = M("layout-sider", n), [E, O, P] = yq(z), T = Be();
|
|
24399
24399
|
T.current = ($) => {
|
|
24400
24400
|
w($.matches), g == null || g($.matches), y !== $.matches && L($.matches, "responsive");
|
|
24401
24401
|
}, zt(() => {
|
|
@@ -29306,7 +29306,7 @@ function UG(e, t) {
|
|
|
29306
29306
|
u.useEffect(function() {
|
|
29307
29307
|
ue || xn(null);
|
|
29308
29308
|
}, [ue]);
|
|
29309
|
-
var pn = u.useState(0), Cn = ne(pn, 2), Tn = Cn[0], ht = Cn[1], Et = xS(Y, q),
|
|
29309
|
+
var pn = u.useState(0), Cn = ne(pn, 2), Tn = Cn[0], ht = Cn[1], Et = xS(Y, q), Ut = function(qe) {
|
|
29310
29310
|
xn(qe), bt("preset");
|
|
29311
29311
|
}, zn = function(qe) {
|
|
29312
29312
|
var xt = yt(qe);
|
|
@@ -29362,7 +29362,7 @@ function UG(e, t) {
|
|
|
29362
29362
|
onSubmit: ot,
|
|
29363
29363
|
onOk: $e,
|
|
29364
29364
|
presets: Et,
|
|
29365
|
-
onPresetHover:
|
|
29365
|
+
onPresetHover: Ut,
|
|
29366
29366
|
onPresetSubmit: zn,
|
|
29367
29367
|
onNow: wn,
|
|
29368
29368
|
cellRender: Mt
|
|
@@ -29683,7 +29683,7 @@ function XG(e, t) {
|
|
|
29683
29683
|
Tn(ft);
|
|
29684
29684
|
}, Et = function(ft) {
|
|
29685
29685
|
Tt(ft), et("cell");
|
|
29686
|
-
},
|
|
29686
|
+
}, Ut = function(ft) {
|
|
29687
29687
|
Se(!0), Ve(ft);
|
|
29688
29688
|
}, zn = function(ft) {
|
|
29689
29689
|
de("panel");
|
|
@@ -29700,7 +29700,7 @@ function XG(e, t) {
|
|
|
29700
29700
|
showNow: at,
|
|
29701
29701
|
showTime: I,
|
|
29702
29702
|
disabledDate: S,
|
|
29703
|
-
onFocus:
|
|
29703
|
+
onFocus: Ut,
|
|
29704
29704
|
onBlur: st,
|
|
29705
29705
|
picker: T,
|
|
29706
29706
|
mode: Ie,
|
|
@@ -38763,7 +38763,7 @@ const uJ = (e) => {
|
|
|
38763
38763
|
const {
|
|
38764
38764
|
getPrefixCls: t,
|
|
38765
38765
|
direction: n
|
|
38766
|
-
} =
|
|
38766
|
+
} = Ht(lt), {
|
|
38767
38767
|
prefixCls: r,
|
|
38768
38768
|
className: a
|
|
38769
38769
|
} = e, o = t("input-group", r), i = t("input"), [c, l] = X5(i), s = Z(o, {
|
|
@@ -38771,7 +38771,7 @@ const uJ = (e) => {
|
|
|
38771
38771
|
[`${o}-sm`]: e.size === "small",
|
|
38772
38772
|
[`${o}-compact`]: e.compact,
|
|
38773
38773
|
[`${o}-rtl`]: n === "rtl"
|
|
38774
|
-
}, l, a), d =
|
|
38774
|
+
}, l, a), d = Ht(Yn), f = Xt(() => Object.assign(Object.assign({}, d), {
|
|
38775
38775
|
isFormItemInput: !1
|
|
38776
38776
|
}), [d]);
|
|
38777
38777
|
return process.env.NODE_ENV !== "production" && _t("Input.Group").deprecated(!1, "Input.Group", "Space.Compact"), c(/* @__PURE__ */ u.createElement("span", {
|
|
@@ -38874,7 +38874,7 @@ const xc = /* @__PURE__ */ y1((e, t) => {
|
|
|
38874
38874
|
status: D,
|
|
38875
38875
|
hasFeedback: A,
|
|
38876
38876
|
feedbackIcon: H
|
|
38877
|
-
} =
|
|
38877
|
+
} = Ht(Yn), F = Ca(D, o), V = dJ(e) || !!A, W = Be(V);
|
|
38878
38878
|
if (process.env.NODE_ENV !== "production") {
|
|
38879
38879
|
const K = _t("Input");
|
|
38880
38880
|
zt(() => {
|
|
@@ -39713,7 +39713,7 @@ const tZ = (e) => {
|
|
|
39713
39713
|
direction: M,
|
|
39714
39714
|
getPopupContainer: z,
|
|
39715
39715
|
rangePicker: E
|
|
39716
|
-
} =
|
|
39716
|
+
} = Ht(lt), O = L("picker", o), {
|
|
39717
39717
|
compactSize: P,
|
|
39718
39718
|
compactItemClassnames: T
|
|
39719
39719
|
} = Ar(O, M), N = L(), [R, I] = Mo("rangePicker", y, p), $ = bn(O), [k, _, D] = YS(O, $);
|
|
@@ -39724,7 +39724,7 @@ const tZ = (e) => {
|
|
|
39724
39724
|
const [A] = Nx(n, O), H = Px(c), F = n1((K) => {
|
|
39725
39725
|
var oe;
|
|
39726
39726
|
return (oe = f ?? P) !== null && oe !== void 0 ? oe : K;
|
|
39727
|
-
}), V = u.useContext(C1), W = m ?? V, J =
|
|
39727
|
+
}), V = u.useContext(C1), W = m ?? V, J = Ht(Yn), {
|
|
39728
39728
|
hasFeedback: Y,
|
|
39729
39729
|
status: q,
|
|
39730
39730
|
feedbackIcon: re
|
|
@@ -39817,7 +39817,7 @@ const rZ = (e) => {
|
|
|
39817
39817
|
getPopupContainer: k,
|
|
39818
39818
|
// Consume different styles according to different names
|
|
39819
39819
|
[d]: _
|
|
39820
|
-
} =
|
|
39820
|
+
} = Ht(lt), D = I("picker", h), {
|
|
39821
39821
|
compactSize: A,
|
|
39822
39822
|
compactItemClassnames: H
|
|
39823
39823
|
} = Ar(D, $), F = u.useRef(null), [V, W] = Mo("datePicker", T, w), J = bn(D), [Y, q, re] = YS(D, J);
|
|
@@ -39837,7 +39837,7 @@ const rZ = (e) => {
|
|
|
39837
39837
|
const [ue, ie] = Nx(m, D), fe = Px(C), pe = n1((Fe) => {
|
|
39838
39838
|
var Ae;
|
|
39839
39839
|
return (Ae = S ?? A) !== null && Ae !== void 0 ? Ae : Fe;
|
|
39840
|
-
}), ge = u.useContext(C1), Se = O ?? ge, ve =
|
|
39840
|
+
}), ge = u.useContext(C1), Se = O ?? ge, ve = Ht(Yn), {
|
|
39841
39841
|
hasFeedback: Ce,
|
|
39842
39842
|
status: Me,
|
|
39843
39843
|
feedbackIcon: $e
|
|
@@ -40982,7 +40982,7 @@ const Ux = () => {
|
|
|
40982
40982
|
status: e,
|
|
40983
40983
|
errors: t = [],
|
|
40984
40984
|
warnings: n = []
|
|
40985
|
-
} =
|
|
40985
|
+
} = Ht(Yn);
|
|
40986
40986
|
if (process.env.NODE_ENV !== "production") {
|
|
40987
40987
|
const r = _t("Form.Item");
|
|
40988
40988
|
process.env.NODE_ENV !== "production" && r(e !== void 0, "usage", "Form.Item.useStatus should be used under Form.Item component. For more information: https://u.ant.design/form-item-usestatus");
|
|
@@ -41535,7 +41535,7 @@ const nee = (e) => {
|
|
|
41535
41535
|
function ree() {
|
|
41536
41536
|
const {
|
|
41537
41537
|
form: e
|
|
41538
|
-
} =
|
|
41538
|
+
} = Ht(tr);
|
|
41539
41539
|
return e;
|
|
41540
41540
|
}
|
|
41541
41541
|
const rn = Kx;
|
|
@@ -41574,7 +41574,7 @@ function R2(e, t, n, r) {
|
|
|
41574
41574
|
};
|
|
41575
41575
|
}
|
|
41576
41576
|
var wc = /* @__PURE__ */ u.createContext(null), aee = function(t) {
|
|
41577
|
-
var n = t.visible, r = t.maskTransitionName, a = t.getContainer, o = t.prefixCls, i = t.rootClassName, c = t.icons, l = t.countRender, s = t.showSwitch, d = t.showProgress, f = t.current, m = t.transform, p = t.count, v = t.scale, h = t.minScale, g = t.maxScale, C = t.closeIcon, b = t.onActive, y = t.onClose, x = t.onZoomIn, S = t.onZoomOut, w = t.onRotateRight, L = t.onRotateLeft, M = t.onFlipX, z = t.onFlipY, E = t.onReset, O = t.toolbarRender, P = t.zIndex, T = t.image, N =
|
|
41577
|
+
var n = t.visible, r = t.maskTransitionName, a = t.getContainer, o = t.prefixCls, i = t.rootClassName, c = t.icons, l = t.countRender, s = t.showSwitch, d = t.showProgress, f = t.current, m = t.transform, p = t.count, v = t.scale, h = t.minScale, g = t.maxScale, C = t.closeIcon, b = t.onActive, y = t.onClose, x = t.onZoomIn, S = t.onZoomOut, w = t.onRotateRight, L = t.onRotateLeft, M = t.onFlipX, z = t.onFlipY, E = t.onReset, O = t.toolbarRender, P = t.zIndex, T = t.image, N = Ht(wc), R = c.rotateLeft, I = c.rotateRight, $ = c.zoomIn, k = c.zoomOut, _ = c.close, D = c.left, A = c.right, H = c.flipX, F = c.flipY, V = "".concat(o, "-operations-operation");
|
|
41578
41578
|
u.useEffect(function() {
|
|
41579
41579
|
var ae = function(ie) {
|
|
41580
41580
|
ie.keyCode === Ne.ESC && y();
|
|
@@ -41958,7 +41958,7 @@ var dee = ["fallback", "src", "imgRef"], fee = ["prefixCls", "src", "alt", "imag
|
|
|
41958
41958
|
}
|
|
41959
41959
|
}, o, s));
|
|
41960
41960
|
}, Zx = function(t) {
|
|
41961
|
-
var n = t.prefixCls, r = t.src, a = t.alt, o = t.imageInfo, i = t.fallback, c = t.movable, l = c === void 0 ? !0 : c, s = t.onClose, d = t.visible, f = t.icons, m = f === void 0 ? {} : f, p = t.rootClassName, v = t.closeIcon, h = t.getContainer, g = t.current, C = g === void 0 ? 0 : g, b = t.count, y = b === void 0 ? 1 : b, x = t.countRender, S = t.scaleStep, w = S === void 0 ? 0.5 : S, L = t.minScale, M = L === void 0 ? 1 : L, z = t.maxScale, E = z === void 0 ? 50 : z, O = t.transitionName, P = O === void 0 ? "zoom" : O, T = t.maskTransitionName, N = T === void 0 ? "fade" : T, R = t.imageRender, I = t.imgCommonProps, $ = t.toolbarRender, k = t.onTransform, _ = t.onChange, D = mt(t, fee), A = Be(), H =
|
|
41961
|
+
var n = t.prefixCls, r = t.src, a = t.alt, o = t.imageInfo, i = t.fallback, c = t.movable, l = c === void 0 ? !0 : c, s = t.onClose, d = t.visible, f = t.icons, m = f === void 0 ? {} : f, p = t.rootClassName, v = t.closeIcon, h = t.getContainer, g = t.current, C = g === void 0 ? 0 : g, b = t.count, y = b === void 0 ? 1 : b, x = t.countRender, S = t.scaleStep, w = S === void 0 ? 0.5 : S, L = t.minScale, M = L === void 0 ? 1 : L, z = t.maxScale, E = z === void 0 ? 50 : z, O = t.transitionName, P = O === void 0 ? "zoom" : O, T = t.maskTransitionName, N = T === void 0 ? "fade" : T, R = t.imageRender, I = t.imgCommonProps, $ = t.toolbarRender, k = t.onTransform, _ = t.onChange, D = mt(t, fee), A = Be(), H = Ht(wc), F = H && y > 1, V = H && y >= 1, W = Lt(!0), J = ne(W, 2), Y = J[0], q = J[1], re = oee(A, M, E, k), G = re.transform, Q = re.resetTransform, U = re.updateTransform, te = re.dispatchZoomChange, K = cee(A, l, d, w, G, U, te), oe = K.isMoving, ae = K.onMouseDown, ue = K.onWheel, ie = uee(A, l, d, M, G, U, te), fe = ie.isTouching, pe = ie.onTouchStart, ge = ie.onTouchMove, Se = ie.onTouchEnd, ve = G.rotate, Ce = G.scale, Me = Z(j({}, "".concat(n, "-moving"), oe));
|
|
41962
41962
|
zt(function() {
|
|
41963
41963
|
Y || q(!0);
|
|
41964
41964
|
}, [Y]);
|
|
@@ -42194,7 +42194,7 @@ var Cee = ["src", "alt", "onPreviewClose", "prefixCls", "previewPrefixCls", "pla
|
|
|
42194
42194
|
src: n,
|
|
42195
42195
|
isCustomPlaceholder: L,
|
|
42196
42196
|
fallback: d
|
|
42197
|
-
}), U = ne(Q, 3), te = U[0], K = U[1], oe = U[2], ae = Lt(null), ue = ne(ae, 2), ie = ue[0], fe = ue[1], pe =
|
|
42197
|
+
}), U = ne(Q, 3), te = U[0], K = U[1], oe = U[2], ae = Lt(null), ue = ne(ae, 2), ie = ue[0], fe = ue[1], pe = Ht(wc), ge = !!h, Se = function() {
|
|
42198
42198
|
G(!1), fe(null);
|
|
42199
42199
|
}, ve = Z(i, y, S, j({}, "".concat(i, "-error"), oe === "error")), Ce = Xt(function() {
|
|
42200
42200
|
var He = {};
|
|
@@ -42852,16 +42852,16 @@ var lw = function(t) {
|
|
|
42852
42852
|
process.env.NODE_ENV !== "production" && dt(ve ? Se : !0, "You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");
|
|
42853
42853
|
var Ce = Math.max(1, ae - (L ? 3 : 5)), Me = Math.min(Vr(void 0, U, m), ae + (L ? 3 : 5));
|
|
42854
42854
|
function $e(ht, Et) {
|
|
42855
|
-
var
|
|
42855
|
+
var Ut = ht || /* @__PURE__ */ ee.createElement("button", {
|
|
42856
42856
|
type: "button",
|
|
42857
42857
|
"aria-label": Et,
|
|
42858
42858
|
className: "".concat(r, "-item-link")
|
|
42859
42859
|
});
|
|
42860
|
-
return typeof ht == "function" && (
|
|
42860
|
+
return typeof ht == "function" && (Ut = /* @__PURE__ */ ee.createElement(ht, B({}, t))), Ut;
|
|
42861
42861
|
}
|
|
42862
42862
|
function Pe(ht) {
|
|
42863
|
-
var Et = ht.target.value,
|
|
42864
|
-
return Et === "" ? zn = Et : Number.isNaN(Number(Et)) ? zn = pe : Et >=
|
|
42863
|
+
var Et = ht.target.value, Ut = Vr(void 0, U, m), zn;
|
|
42864
|
+
return Et === "" ? zn = Et : Number.isNaN(Number(Et)) ? zn = pe : Et >= Ut ? zn = Ut : zn = Number(Et), zn;
|
|
42865
42865
|
}
|
|
42866
42866
|
function He(ht) {
|
|
42867
42867
|
return bp(ht) && ht !== ae && bp(m) && m > 0;
|
|
@@ -42888,13 +42888,13 @@ var lw = function(t) {
|
|
|
42888
42888
|
se(Pe(ht));
|
|
42889
42889
|
}
|
|
42890
42890
|
function ze(ht) {
|
|
42891
|
-
var Et = Vr(ht, U, m),
|
|
42892
|
-
te(ht), ge(
|
|
42891
|
+
var Et = Vr(ht, U, m), Ut = ae > Et && Et !== 0 ? Et : ae;
|
|
42892
|
+
te(ht), ge(Ut), O == null || O(ae, ht), ue(Ut), C == null || C(Ut, ht);
|
|
42893
42893
|
}
|
|
42894
42894
|
function se(ht) {
|
|
42895
42895
|
if (He(ht) && !$) {
|
|
42896
|
-
var Et = Vr(void 0, U, m),
|
|
42897
|
-
return ht > Et ?
|
|
42896
|
+
var Et = Vr(void 0, U, m), Ut = ht;
|
|
42897
|
+
return ht > Et ? Ut = Et : ht < 1 && (Ut = 1), Ut !== pe && ge(Ut), ue(Ut), C == null || C(Ut, U), Ut;
|
|
42898
42898
|
}
|
|
42899
42899
|
return ae;
|
|
42900
42900
|
}
|
|
@@ -42913,7 +42913,7 @@ var lw = function(t) {
|
|
|
42913
42913
|
}
|
|
42914
42914
|
function ut(ht, Et) {
|
|
42915
42915
|
if (ht.key === "Enter" || ht.charCode === Ne.ENTER || ht.keyCode === Ne.ENTER) {
|
|
42916
|
-
for (var
|
|
42916
|
+
for (var Ut = arguments.length, zn = new Array(Ut > 2 ? Ut - 2 : 0), wn = 2; wn < Ut; wn++)
|
|
42917
42917
|
zn[wn - 2] = arguments[wn];
|
|
42918
42918
|
Et.apply(void 0, zn);
|
|
42919
42919
|
}
|
|
@@ -43851,11 +43851,11 @@ function ite(e) {
|
|
|
43851
43851
|
percent: r
|
|
43852
43852
|
});
|
|
43853
43853
|
}
|
|
43854
|
-
const cte = new
|
|
43854
|
+
const cte = new Wt("antSpinMove", {
|
|
43855
43855
|
to: {
|
|
43856
43856
|
opacity: 1
|
|
43857
43857
|
}
|
|
43858
|
-
}), lte = new
|
|
43858
|
+
}), lte = new Wt("antRotate", {
|
|
43859
43859
|
to: {
|
|
43860
43860
|
transform: "rotate(405deg)"
|
|
43861
43861
|
}
|
|
@@ -44247,7 +44247,7 @@ const vte = (e) => {
|
|
|
44247
44247
|
} = e, i = vw(e, ["prefixCls", "className", "avatar", "title", "description"]);
|
|
44248
44248
|
const {
|
|
44249
44249
|
getPrefixCls: c
|
|
44250
|
-
} =
|
|
44250
|
+
} = Ht(lt), l = c("list", t), s = Z(`${l}-item-meta`, n), d = /* @__PURE__ */ ee.createElement("div", {
|
|
44251
44251
|
className: `${l}-item-meta-content`
|
|
44252
44252
|
}, a && /* @__PURE__ */ ee.createElement("h4", {
|
|
44253
44253
|
className: `${l}-item-meta-title`
|
|
@@ -44272,10 +44272,10 @@ const vte = (e) => {
|
|
|
44272
44272
|
} = e, d = vw(e, ["prefixCls", "children", "actions", "extra", "styles", "className", "classNames", "colStyle"]), {
|
|
44273
44273
|
grid: f,
|
|
44274
44274
|
itemLayout: m
|
|
44275
|
-
} =
|
|
44275
|
+
} = Ht(gd), {
|
|
44276
44276
|
getPrefixCls: p,
|
|
44277
44277
|
list: v
|
|
44278
|
-
} =
|
|
44278
|
+
} = Ht(lt), h = (L) => {
|
|
44279
44279
|
var M, z;
|
|
44280
44280
|
return Z((z = (M = v == null ? void 0 : v.item) === null || M === void 0 ? void 0 : M.classNames) === null || z === void 0 ? void 0 : z[L], l == null ? void 0 : l[L]);
|
|
44281
44281
|
}, g = (L) => {
|
|
@@ -44800,7 +44800,7 @@ const zte = /* @__PURE__ */ ee.forwardRef((e, t) => {
|
|
|
44800
44800
|
sync: r
|
|
44801
44801
|
} = e, {
|
|
44802
44802
|
getPrefixCls: a
|
|
44803
|
-
} =
|
|
44803
|
+
} = Ht(lt), o = Bi.prefixCls || a("message"), i = Ht(qC), [c, l] = Wb(Object.assign(Object.assign(Object.assign({}, n), {
|
|
44804
44804
|
prefixCls: o
|
|
44805
44805
|
}), i.message));
|
|
44806
44806
|
return ee.useImperativeHandle(t, () => {
|
|
@@ -45044,7 +45044,7 @@ const _te = /* @__PURE__ */ ee.forwardRef((e, t) => {
|
|
|
45044
45044
|
sync: r
|
|
45045
45045
|
} = e, {
|
|
45046
45046
|
getPrefixCls: a
|
|
45047
|
-
} =
|
|
45047
|
+
} = Ht(lt), o = Vi.prefixCls || a("notification"), i = Ht(qC), [c, l] = UC(Object.assign(Object.assign(Object.assign({}, n), {
|
|
45048
45048
|
prefixCls: o
|
|
45049
45049
|
}), i.notification));
|
|
45050
45050
|
return ee.useEffect(r, []), ee.useImperativeHandle(t, () => {
|
|
@@ -45404,7 +45404,7 @@ const Yte = (e) => {
|
|
|
45404
45404
|
}, M) : M;
|
|
45405
45405
|
}, w0 = "--progress-line-stroke-color", ww = "--progress-percent", $p = (e) => {
|
|
45406
45406
|
const t = e ? "100%" : "-100%";
|
|
45407
|
-
return new
|
|
45407
|
+
return new Wt(`antProgress${e ? "RTL" : "LTR"}Active`, {
|
|
45408
45408
|
"0%": {
|
|
45409
45409
|
transform: `translateX(${t}) scaleX(0)`,
|
|
45410
45410
|
opacity: 0.1
|
|
@@ -47288,7 +47288,7 @@ function G1e(e, t) {
|
|
|
47288
47288
|
}, [Ke, c, ge.length]), u.useEffect(function() {
|
|
47289
47289
|
mn.current = !0;
|
|
47290
47290
|
}, []);
|
|
47291
|
-
var pn = u.useState(0), Cn = ne(pn, 2), Tn = Cn[0], ht = Cn[1], Et = u.useState(!0),
|
|
47291
|
+
var pn = u.useState(0), Cn = ne(pn, 2), Tn = Cn[0], ht = Cn[1], Et = u.useState(!0), Ut = ne(Et, 2), zn = Ut[0], wn = Ut[1];
|
|
47292
47292
|
u.useEffect(function() {
|
|
47293
47293
|
(!E || !$) && (ke.current instanceof Element ? ht(e8(ke.current).width) : ht(e8(Ee.current).width)), wn(d8("position", "sticky"));
|
|
47294
47294
|
}, []), u.useEffect(function() {
|
|
@@ -49471,7 +49471,7 @@ j(Ed, "defaultProps", {
|
|
|
49471
49471
|
expandAction: !1
|
|
49472
49472
|
});
|
|
49473
49473
|
j(Ed, "TreeNode", po);
|
|
49474
|
-
const N2e = new
|
|
49474
|
+
const N2e = new Wt("ant-tree-node-fx-do-not-use", {
|
|
49475
49475
|
"0%": {
|
|
49476
49476
|
opacity: 0
|
|
49477
49477
|
},
|
|
@@ -54310,7 +54310,7 @@ const Sae = (e) => {
|
|
|
54310
54310
|
}, wae = (e) => {
|
|
54311
54311
|
const {
|
|
54312
54312
|
componentCls: t
|
|
54313
|
-
} = e, n = new
|
|
54313
|
+
} = e, n = new Wt("uploadAnimateInlineIn", {
|
|
54314
54314
|
from: {
|
|
54315
54315
|
width: 0,
|
|
54316
54316
|
height: 0,
|
|
@@ -54318,7 +54318,7 @@ const Sae = (e) => {
|
|
|
54318
54318
|
opacity: 0,
|
|
54319
54319
|
margin: e.calc(e.marginXS).div(-2).equal()
|
|
54320
54320
|
}
|
|
54321
|
-
}), r = new
|
|
54321
|
+
}), r = new Wt("uploadAnimateInlineOut", {
|
|
54322
54322
|
to: {
|
|
54323
54323
|
width: 0,
|
|
54324
54324
|
height: 0,
|
|
@@ -67867,7 +67867,7 @@ function lI({
|
|
|
67867
67867
|
const {
|
|
67868
67868
|
i18n: v,
|
|
67869
67869
|
defaultNS: h
|
|
67870
|
-
} =
|
|
67870
|
+
} = Ht(cI) || {}, g = d || v || jf(), C = f || (g == null ? void 0 : g.t.bind(g));
|
|
67871
67871
|
return oEe({
|
|
67872
67872
|
children: e,
|
|
67873
67873
|
count: t,
|
|
@@ -67897,7 +67897,7 @@ const lEe = (e, t) => {
|
|
|
67897
67897
|
} = t, {
|
|
67898
67898
|
i18n: r,
|
|
67899
67899
|
defaultNS: a
|
|
67900
|
-
} =
|
|
67900
|
+
} = Ht(cI) || {}, o = n || r || jf();
|
|
67901
67901
|
if (o && !o.reportNamespaces && (o.reportNamespaces = new cEe()), !o) {
|
|
67902
67902
|
$0("You will need to pass in an i18next instance by using initReactI18next");
|
|
67903
67903
|
const M = (E, O) => t2(O) ? O : Ka(O) && t2(O.defaultValue) ? O.defaultValue : Array.isArray(E) ? E[E.length - 1] : E, z = [M, {}, !1];
|
|
@@ -68349,10 +68349,10 @@ const r$e = (e) => {
|
|
|
68349
68349
|
setImmediate: hI,
|
|
68350
68350
|
asap: i$e
|
|
68351
68351
|
};
|
|
68352
|
-
function
|
|
68352
|
+
function Kt(e, t, n, r, a) {
|
|
68353
68353
|
Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = e, this.name = "AxiosError", t && (this.code = t), n && (this.config = n), r && (this.request = r), a && (this.response = a, this.status = a.status ? a.status : null);
|
|
68354
68354
|
}
|
|
68355
|
-
Oe.inherits(
|
|
68355
|
+
Oe.inherits(Kt, Error, {
|
|
68356
68356
|
toJSON: function() {
|
|
68357
68357
|
return {
|
|
68358
68358
|
// Standard
|
|
@@ -68373,7 +68373,7 @@ Oe.inherits(Ut, Error, {
|
|
|
68373
68373
|
};
|
|
68374
68374
|
}
|
|
68375
68375
|
});
|
|
68376
|
-
const bI =
|
|
68376
|
+
const bI = Kt.prototype, CI = {};
|
|
68377
68377
|
[
|
|
68378
68378
|
"ERR_BAD_OPTION_VALUE",
|
|
68379
68379
|
"ERR_BAD_OPTION",
|
|
@@ -68391,13 +68391,13 @@ const bI = Ut.prototype, CI = {};
|
|
|
68391
68391
|
].forEach((e) => {
|
|
68392
68392
|
CI[e] = { value: e };
|
|
68393
68393
|
});
|
|
68394
|
-
Object.defineProperties(
|
|
68394
|
+
Object.defineProperties(Kt, CI);
|
|
68395
68395
|
Object.defineProperty(bI, "isAxiosError", { value: !0 });
|
|
68396
|
-
|
|
68396
|
+
Kt.from = (e, t, n, r, a, o) => {
|
|
68397
68397
|
const i = Object.create(bI);
|
|
68398
68398
|
return Oe.toFlatObject(e, i, function(l) {
|
|
68399
68399
|
return l !== Error.prototype;
|
|
68400
|
-
}, (c) => c !== "isAxiosError"),
|
|
68400
|
+
}, (c) => c !== "isAxiosError"), Kt.call(i, e.message, t, n, r, a), i.cause = e, i.name = e.name, o && Object.assign(i, o), i;
|
|
68401
68401
|
};
|
|
68402
68402
|
const c$e = null;
|
|
68403
68403
|
function yu(e) {
|
|
@@ -68435,7 +68435,7 @@ function v3(e, t, n) {
|
|
|
68435
68435
|
if (Oe.isDate(v))
|
|
68436
68436
|
return v.toISOString();
|
|
68437
68437
|
if (!l && Oe.isBlob(v))
|
|
68438
|
-
throw new
|
|
68438
|
+
throw new Kt("Blob is not supported. Use a Buffer instead.");
|
|
68439
68439
|
return Oe.isArrayBuffer(v) || Oe.isTypedArray(v) ? l && typeof Blob == "function" ? new Blob([v]) : Buffer.from(v) : v;
|
|
68440
68440
|
}
|
|
68441
68441
|
function d(v, h, g) {
|
|
@@ -68681,7 +68681,7 @@ const Ic = {
|
|
|
68681
68681
|
return JSON.parse(t);
|
|
68682
68682
|
} catch (c) {
|
|
68683
68683
|
if (i)
|
|
68684
|
-
throw c.name === "SyntaxError" ?
|
|
68684
|
+
throw c.name === "SyntaxError" ? Kt.from(c, Kt.ERR_BAD_RESPONSE, this, null, this.response) : c;
|
|
68685
68685
|
}
|
|
68686
68686
|
}
|
|
68687
68687
|
return t;
|
|
@@ -68916,16 +68916,16 @@ function MI(e) {
|
|
|
68916
68916
|
return !!(e && e.__CANCEL__);
|
|
68917
68917
|
}
|
|
68918
68918
|
function Ao(e, t, n) {
|
|
68919
|
-
|
|
68919
|
+
Kt.call(this, e ?? "canceled", Kt.ERR_CANCELED, t, n), this.name = "CanceledError";
|
|
68920
68920
|
}
|
|
68921
|
-
Oe.inherits(Ao,
|
|
68921
|
+
Oe.inherits(Ao, Kt, {
|
|
68922
68922
|
__CANCEL__: !0
|
|
68923
68923
|
});
|
|
68924
68924
|
function zI(e, t, n) {
|
|
68925
68925
|
const r = n.config.validateStatus;
|
|
68926
|
-
!n.status || !r || r(n.status) ? e(n) : t(new
|
|
68926
|
+
!n.status || !r || r(n.status) ? e(n) : t(new Kt(
|
|
68927
68927
|
"Request failed with status code " + n.status,
|
|
68928
|
-
[
|
|
68928
|
+
[Kt.ERR_BAD_REQUEST, Kt.ERR_BAD_RESPONSE][Math.floor(n.status / 100) - 4],
|
|
68929
68929
|
n.config,
|
|
68930
68930
|
n.request,
|
|
68931
68931
|
n
|
|
@@ -69175,15 +69175,15 @@ const $I = (e) => {
|
|
|
69175
69175
|
"onloadend" in g ? g.onloadend = C : g.onreadystatechange = function() {
|
|
69176
69176
|
!g || g.readyState !== 4 || g.status === 0 && !(g.responseURL && g.responseURL.indexOf("file:") === 0) || setTimeout(C);
|
|
69177
69177
|
}, g.onabort = function() {
|
|
69178
|
-
g && (r(new
|
|
69178
|
+
g && (r(new Kt("Request aborted", Kt.ECONNABORTED, e, g)), g = null);
|
|
69179
69179
|
}, g.onerror = function() {
|
|
69180
|
-
r(new
|
|
69180
|
+
r(new Kt("Network Error", Kt.ERR_NETWORK, e, g)), g = null;
|
|
69181
69181
|
}, g.ontimeout = function() {
|
|
69182
69182
|
let x = a.timeout ? "timeout of " + a.timeout + "ms exceeded" : "timeout exceeded";
|
|
69183
69183
|
const S = a.transitional || wI;
|
|
69184
|
-
a.timeoutErrorMessage && (x = a.timeoutErrorMessage), r(new
|
|
69184
|
+
a.timeoutErrorMessage && (x = a.timeoutErrorMessage), r(new Kt(
|
|
69185
69185
|
x,
|
|
69186
|
-
S.clarifyTimeoutError ?
|
|
69186
|
+
S.clarifyTimeoutError ? Kt.ETIMEDOUT : Kt.ECONNABORTED,
|
|
69187
69187
|
e,
|
|
69188
69188
|
g
|
|
69189
69189
|
)), g = null;
|
|
@@ -69194,7 +69194,7 @@ const $I = (e) => {
|
|
|
69194
69194
|
}, a.cancelToken && a.cancelToken.subscribe(d), a.signal && (a.signal.aborted ? d() : a.signal.addEventListener("abort", d)));
|
|
69195
69195
|
const b = N$e(a.url);
|
|
69196
69196
|
if (b && M1.protocols.indexOf(b) === -1) {
|
|
69197
|
-
r(new
|
|
69197
|
+
r(new Kt("Unsupported protocol " + b + ":", Kt.ERR_BAD_REQUEST, e));
|
|
69198
69198
|
return;
|
|
69199
69199
|
}
|
|
69200
69200
|
g.send(o || null);
|
|
@@ -69207,11 +69207,11 @@ const $I = (e) => {
|
|
|
69207
69207
|
if (!a) {
|
|
69208
69208
|
a = !0, c();
|
|
69209
69209
|
const d = s instanceof Error ? s : this.reason;
|
|
69210
|
-
r.abort(d instanceof
|
|
69210
|
+
r.abort(d instanceof Kt ? d : new Ao(d instanceof Error ? d.message : d));
|
|
69211
69211
|
}
|
|
69212
69212
|
};
|
|
69213
69213
|
let i = t && setTimeout(() => {
|
|
69214
|
-
i = null, o(new
|
|
69214
|
+
i = null, o(new Kt(`timeout ${t} of ms exceeded`, Kt.ETIMEDOUT));
|
|
69215
69215
|
}, t);
|
|
69216
69216
|
const c = () => {
|
|
69217
69217
|
e && (i && clearTimeout(i), i = null, e.forEach((s) => {
|
|
@@ -69301,7 +69301,7 @@ const $I = (e) => {
|
|
|
69301
69301
|
h3 && ((e) => {
|
|
69302
69302
|
["text", "arrayBuffer", "blob", "formData", "stream"].forEach((t) => {
|
|
69303
69303
|
!P0[t] && (P0[t] = Oe.isFunction(e[t]) ? (n) => n[t]() : (n, r) => {
|
|
69304
|
-
throw new
|
|
69304
|
+
throw new Kt(`Response type '${t}' is not supported`, Kt.ERR_NOT_SUPPORT, r);
|
|
69305
69305
|
});
|
|
69306
69306
|
});
|
|
69307
69307
|
})(new Response());
|
|
@@ -69401,11 +69401,11 @@ const W$e = async (e) => {
|
|
|
69401
69401
|
});
|
|
69402
69402
|
} catch (C) {
|
|
69403
69403
|
throw h && h(), C && C.name === "TypeError" && /fetch/i.test(C.message) ? Object.assign(
|
|
69404
|
-
new
|
|
69404
|
+
new Kt("Network Error", Kt.ERR_NETWORK, e, v),
|
|
69405
69405
|
{
|
|
69406
69406
|
cause: C.cause || C
|
|
69407
69407
|
}
|
|
69408
|
-
) :
|
|
69408
|
+
) : Kt.from(C, C && C.code, e, v);
|
|
69409
69409
|
}
|
|
69410
69410
|
}), wu = {
|
|
69411
69411
|
http: c$e,
|
|
@@ -69431,7 +69431,7 @@ const uv = (e) => `- ${e}`, q$e = (e) => Oe.isFunction(e) || e === null || e ===
|
|
|
69431
69431
|
n = e[o];
|
|
69432
69432
|
let i;
|
|
69433
69433
|
if (r = n, !q$e(n) && (r = wu[(i = String(n)).toLowerCase()], r === void 0))
|
|
69434
|
-
throw new
|
|
69434
|
+
throw new Kt(`Unknown adapter '${i}'`);
|
|
69435
69435
|
if (r)
|
|
69436
69436
|
break;
|
|
69437
69437
|
a[i || "#" + o] = r;
|
|
@@ -69443,7 +69443,7 @@ const uv = (e) => `- ${e}`, q$e = (e) => Oe.isFunction(e) || e === null || e ===
|
|
|
69443
69443
|
let i = t ? o.length > 1 ? `since :
|
|
69444
69444
|
` + o.map(uv).join(`
|
|
69445
69445
|
`) : " " + uv(o[0]) : "as no adapter specified";
|
|
69446
|
-
throw new
|
|
69446
|
+
throw new Kt(
|
|
69447
69447
|
"There is no suitable adapter to dispatch the request " + i,
|
|
69448
69448
|
"ERR_NOT_SUPPORT"
|
|
69449
69449
|
);
|
|
@@ -69487,9 +69487,9 @@ Wf.transitional = function(t, n, r) {
|
|
|
69487
69487
|
}
|
|
69488
69488
|
return (o, i, c) => {
|
|
69489
69489
|
if (t === !1)
|
|
69490
|
-
throw new
|
|
69490
|
+
throw new Kt(
|
|
69491
69491
|
a(i, " has been removed" + (n ? " in " + n : "")),
|
|
69492
|
-
|
|
69492
|
+
Kt.ERR_DEPRECATED
|
|
69493
69493
|
);
|
|
69494
69494
|
return n && !fv[i] && (fv[i] = !0, console.warn(
|
|
69495
69495
|
a(
|
|
@@ -69501,7 +69501,7 @@ Wf.transitional = function(t, n, r) {
|
|
|
69501
69501
|
};
|
|
69502
69502
|
function G$e(e, t, n) {
|
|
69503
69503
|
if (typeof e != "object")
|
|
69504
|
-
throw new
|
|
69504
|
+
throw new Kt("options must be an object", Kt.ERR_BAD_OPTION_VALUE);
|
|
69505
69505
|
const r = Object.keys(e);
|
|
69506
69506
|
let a = r.length;
|
|
69507
69507
|
for (; a-- > 0; ) {
|
|
@@ -69509,11 +69509,11 @@ function G$e(e, t, n) {
|
|
|
69509
69509
|
if (i) {
|
|
69510
69510
|
const c = e[o], l = c === void 0 || i(c, o, e);
|
|
69511
69511
|
if (l !== !0)
|
|
69512
|
-
throw new
|
|
69512
|
+
throw new Kt("option " + o + " must be " + l, Kt.ERR_BAD_OPTION_VALUE);
|
|
69513
69513
|
continue;
|
|
69514
69514
|
}
|
|
69515
69515
|
if (n !== !0)
|
|
69516
|
-
throw new
|
|
69516
|
+
throw new Kt("Unknown option " + o, Kt.ERR_BAD_OPTION);
|
|
69517
69517
|
}
|
|
69518
69518
|
}
|
|
69519
69519
|
const Lu = {
|
|
@@ -69803,7 +69803,7 @@ Hn.CancelToken = Kf;
|
|
|
69803
69803
|
Hn.isCancel = MI;
|
|
69804
69804
|
Hn.VERSION = RI;
|
|
69805
69805
|
Hn.toFormData = v3;
|
|
69806
|
-
Hn.AxiosError =
|
|
69806
|
+
Hn.AxiosError = Kt;
|
|
69807
69807
|
Hn.Cancel = Hn.CanceledError;
|
|
69808
69808
|
Hn.all = function(t) {
|
|
69809
69809
|
return Promise.all(t);
|
|
@@ -70011,7 +70011,7 @@ const nNe = ({ size: e }) => {
|
|
|
70011
70011
|
}
|
|
70012
70012
|
) }) });
|
|
70013
70013
|
}, rNe = Ru(), rOe = rNe(nNe);
|
|
70014
|
-
var
|
|
70014
|
+
var qt = /* @__PURE__ */ ((e) => (e.App = "idApp", e.Version = "version", e.DeployDate = "releaseDate", e.ReleasePages = "gaReleasePages", e.Fields = "gaReleasePagesContent", e.Title = "title", e.Description = "description", e.Image = "idFile", e.Order = "order", e.NoImage = "noImage", e))(qt || {}), Uf = /* @__PURE__ */ ((e) => (e.GetApps = "GetApps", e.GetReleases = "GetReleases", e.GetUser = "GetUser", e))(Uf || {});
|
|
70015
70015
|
const aNe = async () => {
|
|
70016
70016
|
const e = window.globalAuthUrl, { data: t } = await Ir.get(`${e}/getApps`);
|
|
70017
70017
|
return t;
|
|
@@ -70033,90 +70033,103 @@ const aNe = async () => {
|
|
|
70033
70033
|
);
|
|
70034
70034
|
}, sNe = ({ index: e }) => {
|
|
70035
70035
|
const { t } = ur(), { requiredField: n } = f3();
|
|
70036
|
-
return /* @__PURE__ */ be.jsx(rn.List, { name: [e,
|
|
70036
|
+
return /* @__PURE__ */ be.jsx(rn.List, { name: [e, qt.Fields], children: (r, { add: a, remove: o }) => /* @__PURE__ */ be.jsxs(be.Fragment, { children: [
|
|
70037
70037
|
/* @__PURE__ */ be.jsx(N0, { fieldName: "idReleasePage", hidden: !0 }),
|
|
70038
|
-
/* @__PURE__ */ be.
|
|
70039
|
-
/* @__PURE__ */ be.jsxs(m2, {
|
|
70040
|
-
/* @__PURE__ */ be.
|
|
70041
|
-
|
|
70042
|
-
|
|
70038
|
+
/* @__PURE__ */ be.jsxs(m2, { gap: 16, vertical: !0, children: [
|
|
70039
|
+
r.map(({ key: i, name: c, ...l }) => /* @__PURE__ */ be.jsxs(m2, { gap: 6, align: "center", children: [
|
|
70040
|
+
/* @__PURE__ */ be.jsxs(m2, { vertical: !0, gap: 2, style: { width: "100%" }, children: [
|
|
70041
|
+
/* @__PURE__ */ be.jsx(rn.Item, { ...l, name: [c, qt.Title], rules: n, noStyle: !0, children: /* @__PURE__ */ be.jsx(A2, { placeholder: t("RELEASE-NOTES.FORM.FIELDS.TITLE"), maxLength: 500 }) }),
|
|
70042
|
+
/* @__PURE__ */ be.jsx(
|
|
70043
|
+
rn.Item,
|
|
70044
|
+
{
|
|
70045
|
+
...l,
|
|
70046
|
+
name: [c, qt.Description],
|
|
70047
|
+
rules: n,
|
|
70048
|
+
noStyle: !0,
|
|
70049
|
+
children: /* @__PURE__ */ be.jsx(ld, { autoSize: { minRows: 2 }, placeholder: t("RELEASE-NOTES.FORM.FIELDS.DESCRIPTION") })
|
|
70050
|
+
}
|
|
70051
|
+
)
|
|
70052
|
+
] }),
|
|
70053
|
+
/* @__PURE__ */ be.jsx(rn.Item, { noStyle: !0, children: /* @__PURE__ */ be.jsx(m1, { title: t("GENERAL.REMOVE"), children: /* @__PURE__ */ be.jsx(
|
|
70054
|
+
vn,
|
|
70043
70055
|
{
|
|
70044
|
-
|
|
70045
|
-
|
|
70046
|
-
|
|
70047
|
-
|
|
70048
|
-
children: /* @__PURE__ */ be.jsx(ld, { autoSize: { minRows: 2 }, placeholder: t("RELEASE-NOTES.FORM.FIELDS.DESCRIPTION") })
|
|
70056
|
+
type: "text",
|
|
70057
|
+
icon: /* @__PURE__ */ be.jsx(Aw, {}),
|
|
70058
|
+
onClick: () => o(c),
|
|
70059
|
+
disabled: r.length === 1
|
|
70049
70060
|
}
|
|
70050
|
-
)
|
|
70051
|
-
] }),
|
|
70052
|
-
/* @__PURE__ */ be.jsx(rn.Item, {
|
|
70053
|
-
|
|
70054
|
-
{
|
|
70055
|
-
type: "text",
|
|
70056
|
-
icon: /* @__PURE__ */ be.jsx(Aw, {}),
|
|
70057
|
-
onClick: () => a(i),
|
|
70058
|
-
disabled: r.length === 1
|
|
70059
|
-
}
|
|
70060
|
-
) }) })
|
|
70061
|
-
] }, o)) })
|
|
70061
|
+
) }) })
|
|
70062
|
+
] }, i)),
|
|
70063
|
+
/* @__PURE__ */ be.jsx(rn.Item, { children: /* @__PURE__ */ be.jsx(vn, { type: "dashed", onClick: () => a(), icon: /* @__PURE__ */ be.jsx($s, {}), block: !0, children: t("RELEASE-NOTES.FORM.ADD_NEW_FIELD") }) })
|
|
70064
|
+
] })
|
|
70062
70065
|
] }) });
|
|
70063
70066
|
}, uNe = y1(({ changeSlide: e }, t) => {
|
|
70064
|
-
const [n, r] = Lt([]), { t: a } = ur(), o = rn.useFormInstance(), i = rn.useWatch(
|
|
70065
|
-
const
|
|
70066
|
-
r(
|
|
70067
|
-
o.setFieldValue(
|
|
70067
|
+
const [n, r] = Lt([]), { t: a } = ur(), o = rn.useFormInstance(), i = rn.useWatch(qt.ReleasePages, o), c = (s) => ({ file: d, fileList: f }) => {
|
|
70068
|
+
const m = s[0], p = s[1], v = i[m];
|
|
70069
|
+
r(f), PL(d.originFileObj, (h) => {
|
|
70070
|
+
o.setFieldValue(qt.ReleasePages, i.toSpliced(m, 1, { ...v, [p]: h }));
|
|
70068
70071
|
});
|
|
70069
|
-
}, l = (
|
|
70070
|
-
var h;
|
|
70071
|
-
const f = i == null ? void 0 : i[d], p = [...((h = i == null ? void 0 : i[d]) == null ? void 0 : h[Ht.Fields]) ?? [], {}], v = i.toSpliced(d, 1, { ...f, [Ht.Fields]: p });
|
|
70072
|
-
o.setFieldValue(Ht.ReleasePages, v);
|
|
70073
|
-
}, s = /* @__PURE__ */ be.jsx(L1, { justify: "center", align: "middle", children: /* @__PURE__ */ be.jsxs(Ts, { direction: "vertical", children: [
|
|
70072
|
+
}, l = /* @__PURE__ */ be.jsx(L1, { justify: "center", align: "middle", children: /* @__PURE__ */ be.jsxs(Ts, { direction: "vertical", children: [
|
|
70074
70073
|
/* @__PURE__ */ be.jsx("p", { className: "ant-upload-drag-icon", children: /* @__PURE__ */ be.jsx(Cd, {}) }),
|
|
70075
70074
|
/* @__PURE__ */ be.jsx("p", { className: "ant-upload-text", children: a("GENERAL.UPLOAD_LABEL") }),
|
|
70076
70075
|
/* @__PURE__ */ be.jsx("p", { className: "ant-upload-hint", children: a("GENERAL.JPG_PNG_WARNING") })
|
|
70077
70076
|
] }) });
|
|
70078
|
-
return /* @__PURE__ */ be.jsx(rn.List, { name:
|
|
70077
|
+
return /* @__PURE__ */ be.jsx(rn.List, { name: qt.ReleasePages, children: (s) => /* @__PURE__ */ be.jsxs(be.Fragment, { children: [
|
|
70079
70078
|
/* @__PURE__ */ be.jsx(N0, { fieldName: "idRelease", hidden: !0 }),
|
|
70080
70079
|
/* @__PURE__ */ be.jsx(N0, { fieldName: "idReleasePage", hidden: !0 }),
|
|
70081
|
-
/* @__PURE__ */ be.jsx(
|
|
70082
|
-
|
|
70083
|
-
|
|
70084
|
-
|
|
70085
|
-
|
|
70086
|
-
|
|
70087
|
-
|
|
70088
|
-
|
|
70089
|
-
|
|
70090
|
-
|
|
70091
|
-
|
|
70092
|
-
|
|
70093
|
-
|
|
70094
|
-
|
|
70095
|
-
|
|
70096
|
-
|
|
70097
|
-
|
|
70098
|
-
|
|
70099
|
-
|
|
70100
|
-
|
|
70101
|
-
|
|
70102
|
-
|
|
70103
|
-
|
|
70104
|
-
|
|
70105
|
-
|
|
70106
|
-
|
|
70107
|
-
|
|
70108
|
-
|
|
70109
|
-
|
|
70110
|
-
|
|
70111
|
-
|
|
70112
|
-
}
|
|
70113
|
-
|
|
70080
|
+
/* @__PURE__ */ be.jsx(
|
|
70081
|
+
ed,
|
|
70082
|
+
{
|
|
70083
|
+
infinite: !1,
|
|
70084
|
+
ref: t,
|
|
70085
|
+
afterChange: e,
|
|
70086
|
+
onInit: () => {
|
|
70087
|
+
var d;
|
|
70088
|
+
return (d = t.current) == null ? void 0 : d.goTo(0);
|
|
70089
|
+
},
|
|
70090
|
+
onReInit: () => {
|
|
70091
|
+
var d;
|
|
70092
|
+
return (d = t.current) == null ? void 0 : d.goTo(i == null ? void 0 : i.length);
|
|
70093
|
+
},
|
|
70094
|
+
adaptiveHeight: !0,
|
|
70095
|
+
children: s.map(({ key: d, name: f, ...m }) => {
|
|
70096
|
+
var h, g;
|
|
70097
|
+
const p = (h = i == null ? void 0 : i[f]) == null ? void 0 : h[qt.Image], v = (g = i == null ? void 0 : i[f]) == null ? void 0 : g[qt.NoImage];
|
|
70098
|
+
return /* @__PURE__ */ be.jsx("div", { children: /* @__PURE__ */ be.jsxs(L1, { gutter: [8, 16], style: { marginBottom: 35 }, justify: "end", children: [
|
|
70099
|
+
/* @__PURE__ */ be.jsx(On, { span: 24, children: /* @__PURE__ */ be.jsxs(L1, { gutter: 8, children: [
|
|
70100
|
+
/* @__PURE__ */ be.jsx(On, { span: v ? 24 : 12, children: /* @__PURE__ */ be.jsx(sNe, { index: f }) }),
|
|
70101
|
+
!v && /* @__PURE__ */ be.jsx(On, { span: 12, children: /* @__PURE__ */ be.jsx(wa, { bordered: !0, styles: { body: { display: "flex", justifyContent: "center", padding: 2 } }, children: /* @__PURE__ */ be.jsx(rn.Item, { ...m, name: [f, qt.Image], noStyle: !0, children: /* @__PURE__ */ be.jsx(
|
|
70102
|
+
Ws,
|
|
70103
|
+
{
|
|
70104
|
+
listType: "picture",
|
|
70105
|
+
className: "release-notes-image",
|
|
70106
|
+
showUploadList: !1,
|
|
70107
|
+
fileList: n,
|
|
70108
|
+
beforeUpload: qae,
|
|
70109
|
+
onChange: c([f, qt.Image]),
|
|
70110
|
+
children: p ? /* @__PURE__ */ be.jsx(Ds, { src: p, preview: !1, style: { maxHeight: 600 } }) : l
|
|
70111
|
+
}
|
|
70112
|
+
) }) }) })
|
|
70113
|
+
] }) }),
|
|
70114
|
+
/* @__PURE__ */ be.jsx(On, { span: 12, children: /* @__PURE__ */ be.jsx(m2, { justify: "center", children: /* @__PURE__ */ be.jsx(
|
|
70115
|
+
yEe,
|
|
70116
|
+
{
|
|
70117
|
+
fieldName: [f, qt.NoImage],
|
|
70118
|
+
label: a("GENERAL.DO_NOT_USE_IMAGE"),
|
|
70119
|
+
onChange: (C) => {
|
|
70120
|
+
const b = C.target.checked, y = i.map((x, S) => ({
|
|
70121
|
+
...x,
|
|
70122
|
+
[qt.NoImage]: S === f ? b : x[qt.NoImage],
|
|
70123
|
+
[qt.Image]: S === f && b ? void 0 : x[qt.Image]
|
|
70124
|
+
}));
|
|
70125
|
+
o.setFieldValue(qt.ReleasePages, y);
|
|
70126
|
+
}
|
|
70114
70127
|
}
|
|
70115
|
-
}
|
|
70116
|
-
)
|
|
70117
|
-
|
|
70118
|
-
|
|
70119
|
-
|
|
70128
|
+
) }) })
|
|
70129
|
+
] }) }, d);
|
|
70130
|
+
})
|
|
70131
|
+
}
|
|
70132
|
+
)
|
|
70120
70133
|
] }) });
|
|
70121
70134
|
}), W2 = "RELEASE-NOTES", dNe = ({
|
|
70122
70135
|
addBtnLabel: e,
|
|
@@ -70126,15 +70139,15 @@ const aNe = async () => {
|
|
|
70126
70139
|
beforeCloseModal: a,
|
|
70127
70140
|
afterSubmit: o
|
|
70128
70141
|
}) => {
|
|
70129
|
-
const [i, c] = Lt(!1), [l, s] = Lt(!1), [d, f] = Lt(0), [m] = rn.useForm(), { t: p } = ur(), v = d3(), { getColor: h } = hEe(), g = Be(null), { requiredField: C } = f3(), { data: b } = TI(), y = rn.useWatch(
|
|
70142
|
+
const [i, c] = Lt(!1), [l, s] = Lt(!1), [d, f] = Lt(0), [m] = rn.useForm(), { t: p } = ur(), v = d3(), { getColor: h } = hEe(), g = Be(null), { requiredField: C } = f3(), { data: b } = TI(), y = rn.useWatch(qt.ReleasePages, m), x = (_) => f(_), S = () => m.resetFields();
|
|
70130
70143
|
zt(() => {
|
|
70131
70144
|
n && (c(!0), m.setFieldsValue({
|
|
70132
70145
|
...n,
|
|
70133
|
-
[
|
|
70146
|
+
[qt.ReleasePages]: n[qt.ReleasePages].map((_) => ({
|
|
70134
70147
|
..._,
|
|
70135
|
-
[
|
|
70148
|
+
[qt.Image]: kd(_[qt.Image])
|
|
70136
70149
|
})),
|
|
70137
|
-
[
|
|
70150
|
+
[qt.DeployDate]: e1(n[qt.DeployDate])
|
|
70138
70151
|
}));
|
|
70139
70152
|
}, [n]);
|
|
70140
70153
|
const w = () => {
|
|
@@ -70142,30 +70155,24 @@ const aNe = async () => {
|
|
|
70142
70155
|
}, L = () => {
|
|
70143
70156
|
a ? new Promise((_) => _(a())).then(() => c(!1)) : c(!1);
|
|
70144
70157
|
}, M = () => {
|
|
70145
|
-
|
|
70158
|
+
m.setFieldValue(qt.ReleasePages, [
|
|
70146
70159
|
...y,
|
|
70147
|
-
{ [
|
|
70148
|
-
])
|
|
70149
|
-
const _ = m.getFieldValue(Ht.ReleasePages);
|
|
70150
|
-
g.current.goTo(_.length - 1);
|
|
70151
|
-
}
|
|
70160
|
+
{ [qt.Fields]: [{}] }
|
|
70161
|
+
]);
|
|
70152
70162
|
}, z = () => {
|
|
70153
|
-
|
|
70154
|
-
|
|
70163
|
+
m.setFieldValue(
|
|
70164
|
+
qt.ReleasePages,
|
|
70155
70165
|
y.filter((_, D) => D !== d)
|
|
70156
|
-
)
|
|
70157
|
-
const _ = m.getFieldValue(Ht.ReleasePages);
|
|
70158
|
-
g.current.goTo(_.length - 1);
|
|
70159
|
-
}
|
|
70166
|
+
);
|
|
70160
70167
|
}, E = (_) => {
|
|
70161
70168
|
const D = {
|
|
70162
70169
|
..._,
|
|
70163
|
-
[
|
|
70164
|
-
[
|
|
70170
|
+
[qt.DeployDate]: e1(_[qt.DeployDate]).format(Ck),
|
|
70171
|
+
[qt.ReleasePages]: _[qt.ReleasePages].map((A, H) => ({
|
|
70165
70172
|
...A,
|
|
70166
|
-
[
|
|
70173
|
+
[qt.Image]: RL(A[qt.Image]),
|
|
70167
70174
|
order: H,
|
|
70168
|
-
[
|
|
70175
|
+
[qt.Fields]: A[qt.Fields].map((F, V) => ({ ...F, order: V }))
|
|
70169
70176
|
}))
|
|
70170
70177
|
};
|
|
70171
70178
|
iNe(D).then(() => {
|
|
@@ -70228,8 +70235,8 @@ const aNe = async () => {
|
|
|
70228
70235
|
] }), R = (_) => {
|
|
70229
70236
|
s(t ? _ : !1);
|
|
70230
70237
|
}, I = {
|
|
70231
|
-
[
|
|
70232
|
-
[
|
|
70238
|
+
[qt.ReleasePages]: [{ [qt.Fields]: [{}] }],
|
|
70239
|
+
[qt.DeployDate]: e1()
|
|
70233
70240
|
}, $ = Gae(b ?? [], "appName", "id"), k = Xt(() => p(`${W2}.${n ? "UPD_RELEASE_NOTE" : "ADD_RELEASE_NOTE"}`), [v]);
|
|
70234
70241
|
return /* @__PURE__ */ be.jsxs(be.Fragment, { children: [
|
|
70235
70242
|
/* @__PURE__ */ be.jsx(m1, { title: t, open: l, onOpenChange: R, children: /* @__PURE__ */ be.jsx(
|
|
@@ -70248,7 +70255,7 @@ const aNe = async () => {
|
|
|
70248
70255
|
/* @__PURE__ */ be.jsx(On, { span: 8, children: /* @__PURE__ */ be.jsx(
|
|
70249
70256
|
bEe,
|
|
70250
70257
|
{
|
|
70251
|
-
fieldName:
|
|
70258
|
+
fieldName: qt.App,
|
|
70252
70259
|
label: p(`${W2}.FORM.FIELDS.APP`),
|
|
70253
70260
|
placeholder: p(`${W2}.FORM.FIELDS.APP`, { context: "PLACEHOLDER" }),
|
|
70254
70261
|
options: $,
|
|
@@ -70258,7 +70265,7 @@ const aNe = async () => {
|
|
|
70258
70265
|
/* @__PURE__ */ be.jsx(On, { span: 8, children: /* @__PURE__ */ be.jsx(
|
|
70259
70266
|
f2,
|
|
70260
70267
|
{
|
|
70261
|
-
fieldName:
|
|
70268
|
+
fieldName: qt.Version,
|
|
70262
70269
|
label: p(`${W2}.FORM.FIELDS.VERSION`),
|
|
70263
70270
|
placeholder: "0.0.0",
|
|
70264
70271
|
tooltip: p(`${W2}.FORM.FIELDS.VERSION`, { context: "TOOLTIP" }),
|
|
@@ -70278,7 +70285,7 @@ const aNe = async () => {
|
|
|
70278
70285
|
/* @__PURE__ */ be.jsx(On, { span: 8, children: /* @__PURE__ */ be.jsx(
|
|
70279
70286
|
CEe,
|
|
70280
70287
|
{
|
|
70281
|
-
fieldName:
|
|
70288
|
+
fieldName: qt.DeployDate,
|
|
70282
70289
|
label: p(`${W2}.FORM.FIELDS.DEPLOY_DATE`),
|
|
70283
70290
|
format: bk,
|
|
70284
70291
|
rules: C
|
|
@@ -70332,7 +70339,7 @@ const aNe = async () => {
|
|
|
70332
70339
|
}
|
|
70333
70340
|
}), gNe = ({ showAddBtn: e, ...t }) => e ? /* @__PURE__ */ be.jsx(J8, { children: /* @__PURE__ */ be.jsx(p6, { client: vv, children: /* @__PURE__ */ be.jsx(dNe, { ...t }) }) }) : /* @__PURE__ */ be.jsx(J8, { children: /* @__PURE__ */ be.jsx(p6, { client: vv, children: /* @__PURE__ */ be.jsx(pNe, {}) }) }), vNe = Ru(), aOe = vNe(gNe);
|
|
70334
70341
|
var d1 = /* @__PURE__ */ ((e) => (e.FirstName = "firstName", e.LastName = "lastName", e.Username = "username", e.Email = "email", e.ProfilePicture = "profilePicture", e.Password = "password", e.ConfirmPassword = "confirmPassword", e.Apps = "userRolesApp", e.AppId = "idApp", e.RoleId = "roleId", e.Tenants = "tenantId", e.Active = "isActive", e.Private = "isPrivate", e.User = "userId", e.Hierarchy = "hierarchy", e))(d1 || {}), Hl = /* @__PURE__ */ ((e) => (e.Tab1 = "PROFILE", e.Tab2 = "MANAGEMENT", e))(Hl || {}), kI = /* @__PURE__ */ ((e) => (e[e.GA_USER_EMPTY = 0] = "GA_USER_EMPTY", e[e.GA_EMAIL_EMPTY = 1] = "GA_EMAIL_EMPTY", e[e.GA_USER_ID_EMPTY = 2] = "GA_USER_ID_EMPTY", e[e.GA_PASS_EMPTY = 3] = "GA_PASS_EMPTY", e[e.GA_PASS_NOT_MATCH = 4] = "GA_PASS_NOT_MATCH", e[e.GA_USERNAME_EXISTS = 5] = "GA_USERNAME_EXISTS", e[e.GA_EMAIL_EXISTS = 6] = "GA_EMAIL_EXISTS", e[e.GA_NO_ROLES_APP_DEFINED = 7] = "GA_NO_ROLES_APP_DEFINED", e[e.GA_DUPLICATED_RECORDS_SAME_TENANT_ROLE_APP = 8] = "GA_DUPLICATED_RECORDS_SAME_TENANT_ROLE_APP", e[e.GA_CANNOT_GET_USER_INFO = 9] = "GA_CANNOT_GET_USER_INFO", e[e.GA_ERROR_CHAGING_PASS = 10] = "GA_ERROR_CHAGING_PASS", e[e.GA_NO_TENANTS_ROLES_DEFINDED = 11] = "GA_NO_TENANTS_ROLES_DEFINDED", e[e.GA_PASS_DOES_NOT_MEET_REQUIREMENTS = 12] = "GA_PASS_DOES_NOT_MEET_REQUIREMENTS", e))(kI || {});
|
|
70335
|
-
const
|
|
70342
|
+
const Vt = (e) => typeof e == "string", Xo = () => {
|
|
70336
70343
|
let e, t;
|
|
70337
70344
|
const n = new Promise((r, a) => {
|
|
70338
70345
|
e = r, t = a;
|
|
@@ -70342,8 +70349,8 @@ const Wt = (e) => typeof e == "string", Xo = () => {
|
|
|
70342
70349
|
e.forEach((r) => {
|
|
70343
70350
|
t[r] && (n[r] = t[r]);
|
|
70344
70351
|
});
|
|
70345
|
-
}, bNe = /###/g, bv = (e) => e && e.indexOf("###") > -1 ? e.replace(bNe, ".") : e, Cv = (e) => !e ||
|
|
70346
|
-
const r =
|
|
70352
|
+
}, bNe = /###/g, bv = (e) => e && e.indexOf("###") > -1 ? e.replace(bNe, ".") : e, Cv = (e) => !e || Vt(e), yi = (e, t, n) => {
|
|
70353
|
+
const r = Vt(t) ? t.split(".") : t;
|
|
70347
70354
|
let a = 0;
|
|
70348
70355
|
for (; a < r.length - 1; ) {
|
|
70349
70356
|
if (Cv(e)) return {};
|
|
@@ -70385,7 +70392,7 @@ const Wt = (e) => typeof e == "string", Xo = () => {
|
|
|
70385
70392
|
return r !== void 0 ? r : R0(t, n);
|
|
70386
70393
|
}, DI = (e, t, n) => {
|
|
70387
70394
|
for (const r in t)
|
|
70388
|
-
r !== "__proto__" && r !== "constructor" && (r in e ?
|
|
70395
|
+
r !== "__proto__" && r !== "constructor" && (r in e ? Vt(e[r]) || e[r] instanceof String || Vt(t[r]) || t[r] instanceof String ? n && (e[r] = t[r]) : DI(e[r], t[r], n) : e[r] = t[r]);
|
|
70389
70396
|
return e;
|
|
70390
70397
|
}, ka = (e) => e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
|
|
70391
70398
|
var SNe = {
|
|
@@ -70396,7 +70403,7 @@ var SNe = {
|
|
|
70396
70403
|
"'": "'",
|
|
70397
70404
|
"/": "/"
|
|
70398
70405
|
};
|
|
70399
|
-
const xNe = (e) =>
|
|
70406
|
+
const xNe = (e) => Vt(e) ? e.replace(/[&<>"'\/]/g, (t) => SNe[t]) : e;
|
|
70400
70407
|
class wNe {
|
|
70401
70408
|
constructor(t) {
|
|
70402
70409
|
this.capacity = t, this.regExpMap = /* @__PURE__ */ new Map(), this.regExpQueue = [];
|
|
@@ -70486,7 +70493,7 @@ class T0 {
|
|
|
70486
70493
|
return this.forward(n, "warn", "WARNING DEPRECATED: ", !0);
|
|
70487
70494
|
}
|
|
70488
70495
|
forward(t, n, r, a) {
|
|
70489
|
-
return a && !this.debug ? null : (
|
|
70496
|
+
return a && !this.debug ? null : (Vt(t[0]) && (t[0] = `${r}${this.prefix} ${t[0]}`), this.logger[n](t));
|
|
70490
70497
|
}
|
|
70491
70498
|
create(t) {
|
|
70492
70499
|
return new T0(this.logger, {
|
|
@@ -70553,9 +70560,9 @@ class Sv extends b3 {
|
|
|
70553
70560
|
let a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
|
|
70554
70561
|
const o = a.keySeparator !== void 0 ? a.keySeparator : this.options.keySeparator, i = a.ignoreJSONStructure !== void 0 ? a.ignoreJSONStructure : this.options.ignoreJSONStructure;
|
|
70555
70562
|
let c;
|
|
70556
|
-
t.indexOf(".") > -1 ? c = t.split(".") : (c = [t, n], r && (Array.isArray(r) ? c.push(...r) :
|
|
70563
|
+
t.indexOf(".") > -1 ? c = t.split(".") : (c = [t, n], r && (Array.isArray(r) ? c.push(...r) : Vt(r) && o ? c.push(...r.split(o)) : c.push(r)));
|
|
70557
70564
|
const l = R0(this.data, c);
|
|
70558
|
-
return !l && !n && !r && t.indexOf(".") > -1 && (t = c[0], n = c[1], r = c.slice(2).join(".")), l || !i || !
|
|
70565
|
+
return !l && !n && !r && t.indexOf(".") > -1 && (t = c[0], n = c[1], r = c.slice(2).join(".")), l || !i || !Vt(r) ? l : zu((d = (s = this.data) == null ? void 0 : s[t]) == null ? void 0 : d[n], r, o);
|
|
70559
70566
|
}
|
|
70560
70567
|
addResource(t, n, r, a) {
|
|
70561
70568
|
let o = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : {
|
|
@@ -70570,7 +70577,7 @@ class Sv extends b3 {
|
|
|
70570
70577
|
silent: !1
|
|
70571
70578
|
};
|
|
70572
70579
|
for (const o in r)
|
|
70573
|
-
(
|
|
70580
|
+
(Vt(r[o]) || Array.isArray(r[o])) && this.addResource(t, n, o, r[o], {
|
|
70574
70581
|
silent: !0
|
|
70575
70582
|
});
|
|
70576
70583
|
a.silent || this.emit("added", t, n, r);
|
|
@@ -70648,14 +70655,14 @@ class k0 extends b3 {
|
|
|
70648
70655
|
if (l && l.length > 0)
|
|
70649
70656
|
return {
|
|
70650
70657
|
key: t,
|
|
70651
|
-
namespaces:
|
|
70658
|
+
namespaces: Vt(o) ? [o] : o
|
|
70652
70659
|
};
|
|
70653
70660
|
const s = t.split(r);
|
|
70654
70661
|
(r !== a || r === a && this.options.ns.indexOf(s[0]) > -1) && (o = s.shift()), t = s.join(a);
|
|
70655
70662
|
}
|
|
70656
70663
|
return {
|
|
70657
70664
|
key: t,
|
|
70658
|
-
namespaces:
|
|
70665
|
+
namespaces: Vt(o) ? [o] : o
|
|
70659
70666
|
};
|
|
70660
70667
|
}
|
|
70661
70668
|
translate(t, n, r) {
|
|
@@ -70690,8 +70697,8 @@ class k0 extends b3 {
|
|
|
70690
70697
|
}
|
|
70691
70698
|
const f = this.resolve(t, n);
|
|
70692
70699
|
let m = f == null ? void 0 : f.res;
|
|
70693
|
-
const p = (f == null ? void 0 : f.usedKey) || i, v = (f == null ? void 0 : f.exactUsedKey) || i, h = Object.prototype.toString.apply(m), g = ["[object Number]", "[object Function]", "[object RegExp]"], C = n.joinArrays !== void 0 ? n.joinArrays : this.options.joinArrays, b = !this.i18nFormat || this.i18nFormat.handleAsObject, y = !
|
|
70694
|
-
if (b && m && y && g.indexOf(h) < 0 && !(
|
|
70700
|
+
const p = (f == null ? void 0 : f.usedKey) || i, v = (f == null ? void 0 : f.exactUsedKey) || i, h = Object.prototype.toString.apply(m), g = ["[object Number]", "[object Function]", "[object RegExp]"], C = n.joinArrays !== void 0 ? n.joinArrays : this.options.joinArrays, b = !this.i18nFormat || this.i18nFormat.handleAsObject, y = !Vt(m) && typeof m != "boolean" && typeof m != "number";
|
|
70701
|
+
if (b && m && y && g.indexOf(h) < 0 && !(Vt(C) && Array.isArray(m))) {
|
|
70695
70702
|
if (!n.returnObjects && !this.options.returnObjects) {
|
|
70696
70703
|
this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
|
|
70697
70704
|
const x = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(p, m, {
|
|
@@ -70713,11 +70720,11 @@ class k0 extends b3 {
|
|
|
70713
70720
|
}
|
|
70714
70721
|
m = S;
|
|
70715
70722
|
}
|
|
70716
|
-
} else if (b &&
|
|
70723
|
+
} else if (b && Vt(C) && Array.isArray(m))
|
|
70717
70724
|
m = m.join(C), m && (m = this.extendTranslation(m, t, n, r));
|
|
70718
70725
|
else {
|
|
70719
70726
|
let x = !1, S = !1;
|
|
70720
|
-
const w = n.count !== void 0 && !
|
|
70727
|
+
const w = n.count !== void 0 && !Vt(n.count), L = k0.hasDefaultValue(n), M = w ? this.pluralResolver.getSuffix(s, n.count, n) : "", z = n.ordinal && w ? this.pluralResolver.getSuffix(s, n.count, {
|
|
70721
70728
|
ordinal: !1
|
|
70722
70729
|
}) : "", E = w && !n.ordinal && n.count === 0, O = E && n[`defaultValue${this.options.pluralSeparator}zero`] || n[`defaultValue${M}`] || n[`defaultValue${z}`] || n.defaultValue;
|
|
70723
70730
|
!this.isValidLookup(m) && L && (x = !0, m = O), this.isValidLookup(m) || (S = !0, m = i);
|
|
@@ -70770,13 +70777,13 @@ class k0 extends b3 {
|
|
|
70770
70777
|
...r.interpolation
|
|
70771
70778
|
}
|
|
70772
70779
|
});
|
|
70773
|
-
const f =
|
|
70780
|
+
const f = Vt(t) && (((d = r == null ? void 0 : r.interpolation) == null ? void 0 : d.skipOnVariables) !== void 0 ? r.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables);
|
|
70774
70781
|
let m;
|
|
70775
70782
|
if (f) {
|
|
70776
70783
|
const v = t.match(this.interpolator.nestingRegexp);
|
|
70777
70784
|
m = v && v.length;
|
|
70778
70785
|
}
|
|
70779
|
-
let p = r.replace && !
|
|
70786
|
+
let p = r.replace && !Vt(r.replace) ? r.replace : r;
|
|
70780
70787
|
if (this.options.interpolation.defaultVariables && (p = {
|
|
70781
70788
|
...this.options.interpolation.defaultVariables,
|
|
70782
70789
|
...p
|
|
@@ -70790,7 +70797,7 @@ class k0 extends b3 {
|
|
|
70790
70797
|
return (o == null ? void 0 : o[0]) === h[0] && !r.context ? (i.logger.warn(`It seems you are nesting recursively key: ${h[0]} in key: ${n[0]}`), null) : i.translate(...h, n);
|
|
70791
70798
|
}, r)), r.interpolation && this.interpolator.reset();
|
|
70792
70799
|
}
|
|
70793
|
-
const c = r.postProcess || this.options.postProcess, l =
|
|
70800
|
+
const c = r.postProcess || this.options.postProcess, l = Vt(c) ? [c] : c;
|
|
70794
70801
|
return t != null && (l != null && l.length) && r.applyPostProcessor !== !1 && (t = _I.handle(l, t, n, this.options && this.options.postProcessPassResolved ? {
|
|
70795
70802
|
i18nResolved: {
|
|
70796
70803
|
...a,
|
|
@@ -70801,13 +70808,13 @@ class k0 extends b3 {
|
|
|
70801
70808
|
}
|
|
70802
70809
|
resolve(t) {
|
|
70803
70810
|
let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r, a, o, i, c;
|
|
70804
|
-
return
|
|
70811
|
+
return Vt(t) && (t = [t]), t.forEach((l) => {
|
|
70805
70812
|
if (this.isValidLookup(r)) return;
|
|
70806
70813
|
const s = this.extractFromKey(l, n), d = s.key;
|
|
70807
70814
|
a = d;
|
|
70808
70815
|
let f = s.namespaces;
|
|
70809
70816
|
this.options.fallbackNS && (f = f.concat(this.options.fallbackNS));
|
|
70810
|
-
const m = n.count !== void 0 && !
|
|
70817
|
+
const m = n.count !== void 0 && !Vt(n.count), p = m && !n.ordinal && n.count === 0, v = n.context !== void 0 && (Vt(n.context) || typeof n.context == "number") && n.context !== "", h = n.lngs ? n.lngs : this.languageUtils.toResolveHierarchy(n.lng || this.language, n.fallbackLng);
|
|
70811
70818
|
f.forEach((g) => {
|
|
70812
70819
|
var C, b;
|
|
70813
70820
|
this.isValidLookup(r) || (c = g, !xv[`${h[0]}-${g}`] && ((C = this.utils) != null && C.hasLoadedNamespace) && !((b = this.utils) != null && b.hasLoadedNamespace(c)) && (xv[`${h[0]}-${g}`] = !0, this.logger.warn(`key "${a}" for languages "${h.join(", ")}" won't get resolved as namespace "${c}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), h.forEach((y) => {
|
|
@@ -70849,7 +70856,7 @@ class k0 extends b3 {
|
|
|
70849
70856
|
}
|
|
70850
70857
|
getUsedParamsDetails() {
|
|
70851
70858
|
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
70852
|
-
const n = ["defaultValue", "ordinal", "context", "replace", "lng", "lngs", "fallbackLng", "ns", "keySeparator", "nsSeparator", "returnObjects", "returnDetails", "joinArrays", "postProcess", "interpolation"], r = t.replace && !
|
|
70859
|
+
const n = ["defaultValue", "ordinal", "context", "replace", "lng", "lngs", "fallbackLng", "ns", "keySeparator", "nsSeparator", "returnObjects", "returnDetails", "joinArrays", "postProcess", "interpolation"], r = t.replace && !Vt(t.replace);
|
|
70853
70860
|
let a = r ? t.replace : t;
|
|
70854
70861
|
if (r && typeof t.count < "u" && (a.count = t.count), this.options.interpolation.defaultVariables && (a = {
|
|
70855
70862
|
...this.options.interpolation.defaultVariables,
|
|
@@ -70886,7 +70893,7 @@ class wv {
|
|
|
70886
70893
|
return this.formatLanguageCode(n[0]);
|
|
70887
70894
|
}
|
|
70888
70895
|
formatLanguageCode(t) {
|
|
70889
|
-
if (
|
|
70896
|
+
if (Vt(t) && t.indexOf("-") > -1) {
|
|
70890
70897
|
let n = Intl.getCanonicalLocales(t)[0];
|
|
70891
70898
|
return n && this.options.lowerCaseLng && (n = n.toLowerCase()), n || (this.options.lowerCaseLng ? t.toLowerCase() : t);
|
|
70892
70899
|
}
|
|
@@ -70915,7 +70922,7 @@ class wv {
|
|
|
70915
70922
|
}
|
|
70916
70923
|
getFallbackCodes(t, n) {
|
|
70917
70924
|
if (!t) return [];
|
|
70918
|
-
if (typeof t == "function" && (t = t(n)),
|
|
70925
|
+
if (typeof t == "function" && (t = t(n)), Vt(t) && (t = [t]), Array.isArray(t)) return t;
|
|
70919
70926
|
if (!n) return t.default || [];
|
|
70920
70927
|
let r = t[n];
|
|
70921
70928
|
return r || (r = t[this.getScriptPartFromCode(n)]), r || (r = t[this.formatLanguageCode(n)]), r || (r = t[this.getLanguagePartFromCode(n)]), r || (r = t.default), r || [];
|
|
@@ -70924,7 +70931,7 @@ class wv {
|
|
|
70924
70931
|
const r = this.getFallbackCodes(n || this.options.fallbackLng || [], t), a = [], o = (i) => {
|
|
70925
70932
|
i && (this.isSupportedCode(i) ? a.push(i) : this.logger.warn(`rejecting language code not found in supportedLngs: ${i}`));
|
|
70926
70933
|
};
|
|
70927
|
-
return
|
|
70934
|
+
return Vt(t) && (t.indexOf("-") > -1 || t.indexOf("_") > -1) ? (this.options.load !== "languageOnly" && o(this.formatLanguageCode(t)), this.options.load !== "languageOnly" && this.options.load !== "currentOnly" && o(this.getScriptPartFromCode(t)), this.options.load !== "currentOnly" && o(this.getLanguagePartFromCode(t))) : Vt(t) && o(this.formatLanguageCode(t)), r.forEach((i) => {
|
|
70928
70935
|
a.indexOf(i) < 0 && o(this.formatLanguageCode(i));
|
|
70929
70936
|
}), a;
|
|
70930
70937
|
}
|
|
@@ -70995,7 +71002,7 @@ class $Ne {
|
|
|
70995
71002
|
}
|
|
70996
71003
|
const zv = function(e, t, n) {
|
|
70997
71004
|
let r = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", a = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, o = yNe(e, t, n);
|
|
70998
|
-
return !o && a &&
|
|
71005
|
+
return !o && a && Vt(n) && (o = zu(e, n, r), o === void 0 && (o = zu(t, n, r))), o;
|
|
70999
71006
|
}, o6 = (e) => e.replace(/\$/g, "$$$$");
|
|
71000
71007
|
class NNe {
|
|
71001
71008
|
constructor() {
|
|
@@ -71069,7 +71076,7 @@ class NNe {
|
|
|
71069
71076
|
if (i = s(h), i === void 0)
|
|
71070
71077
|
if (typeof d == "function") {
|
|
71071
71078
|
const C = d(t, o, a);
|
|
71072
|
-
i =
|
|
71079
|
+
i = Vt(C) ? C : "";
|
|
71073
71080
|
} else if (a && Object.prototype.hasOwnProperty.call(a, h))
|
|
71074
71081
|
i = "";
|
|
71075
71082
|
else if (f) {
|
|
@@ -71077,7 +71084,7 @@ class NNe {
|
|
|
71077
71084
|
continue;
|
|
71078
71085
|
} else
|
|
71079
71086
|
this.logger.warn(`missed to pass in variable ${h} for interpolating ${t}`), i = "";
|
|
71080
|
-
else !
|
|
71087
|
+
else !Vt(i) && !this.useRawValueToEscape && (i = hv(i));
|
|
71081
71088
|
const g = v.safeValue(i);
|
|
71082
71089
|
if (t = t.replace(o[0], g), f ? (v.regex.lastIndex += i.length, v.regex.lastIndex -= o[0].length) : v.regex.lastIndex = 0, c++, c >= this.maxReplaces)
|
|
71083
71090
|
break;
|
|
@@ -71108,14 +71115,14 @@ class NNe {
|
|
|
71108
71115
|
let l = [];
|
|
71109
71116
|
i = {
|
|
71110
71117
|
...r
|
|
71111
|
-
}, i = i.replace && !
|
|
71118
|
+
}, i = i.replace && !Vt(i.replace) ? i.replace : i, i.applyPostProcessor = !1, delete i.defaultValue;
|
|
71112
71119
|
let s = !1;
|
|
71113
71120
|
if (a[0].indexOf(this.formatSeparator) !== -1 && !/{.*}/.test(a[1])) {
|
|
71114
71121
|
const d = a[1].split(this.formatSeparator).map((f) => f.trim());
|
|
71115
71122
|
a[1] = d.shift(), l = d, s = !0;
|
|
71116
71123
|
}
|
|
71117
|
-
if (o = n(c.call(this, a[1].trim(), i), i), o && a[0] === t && !
|
|
71118
|
-
|
|
71124
|
+
if (o = n(c.call(this, a[1].trim(), i), i), o && a[0] === t && !Vt(o)) return o;
|
|
71125
|
+
Vt(o) || (o = hv(o)), o || (this.logger.warn(`missed to resolve ${a[1]} for nesting ${t}`), o = ""), s && (o = l.reduce((d, f) => this.format(d, f, r.lng, {
|
|
71119
71126
|
...r,
|
|
71120
71127
|
interpolationkey: a[1].trim()
|
|
71121
71128
|
}), o.trim())), t = t.replace(a[0], o), this.regexp.lastIndex = 0;
|
|
@@ -71324,7 +71331,7 @@ class INe extends b3 {
|
|
|
71324
71331
|
let r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, a = arguments.length > 3 ? arguments[3] : void 0;
|
|
71325
71332
|
if (!this.backend)
|
|
71326
71333
|
return this.logger.warn("No backend was added via i18next.use. Will not load resources."), a && a();
|
|
71327
|
-
|
|
71334
|
+
Vt(t) && (t = this.languageUtils.toResolveHierarchy(t)), Vt(n) && (n = [n]);
|
|
71328
71335
|
const o = this.queueLoad(t, n, r, a);
|
|
71329
71336
|
if (!o.toLoad.length)
|
|
71330
71337
|
return o.pending.length || a(), null;
|
|
@@ -71410,7 +71417,7 @@ const Ev = () => ({
|
|
|
71410
71417
|
appendNamespaceToCIMode: !1,
|
|
71411
71418
|
overloadTranslationOptionHandler: (e) => {
|
|
71412
71419
|
let t = {};
|
|
71413
|
-
if (typeof e[1] == "object" && (t = e[1]),
|
|
71420
|
+
if (typeof e[1] == "object" && (t = e[1]), Vt(e[1]) && (t.defaultValue = e[1]), Vt(e[2]) && (t.tDescription = e[2]), typeof e[2] == "object" || typeof e[3] == "object") {
|
|
71414
71421
|
const n = e[3] || e[2];
|
|
71415
71422
|
Object.keys(n).forEach((r) => {
|
|
71416
71423
|
t[r] = n[r];
|
|
@@ -71433,7 +71440,7 @@ const Ev = () => ({
|
|
|
71433
71440
|
}
|
|
71434
71441
|
}), $v = (e) => {
|
|
71435
71442
|
var t, n;
|
|
71436
|
-
return
|
|
71443
|
+
return Vt(e.ns) && (e.ns = [e.ns]), Vt(e.fallbackLng) && (e.fallbackLng = [e.fallbackLng]), Vt(e.fallbackNS) && (e.fallbackNS = [e.fallbackNS]), ((n = (t = e.supportedLngs) == null ? void 0 : t.indexOf) == null ? void 0 : n.call(t, "cimode")) < 0 && (e.supportedLngs = e.supportedLngs.concat(["cimode"])), typeof e.initImmediate == "boolean" && (e.initAsync = e.initImmediate), e;
|
|
71437
71444
|
}, pl = () => {
|
|
71438
71445
|
}, TNe = (e) => {
|
|
71439
71446
|
Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach((n) => {
|
|
@@ -71456,7 +71463,7 @@ class Yi extends b3 {
|
|
|
71456
71463
|
init() {
|
|
71457
71464
|
var t = this;
|
|
71458
71465
|
let n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = arguments.length > 1 ? arguments[1] : void 0;
|
|
71459
|
-
this.isInitializing = !0, typeof n == "function" && (r = n, n = {}), !n.defaultNS && n.defaultNS !== !1 && n.ns && (
|
|
71466
|
+
this.isInitializing = !0, typeof n == "function" && (r = n, n = {}), !n.defaultNS && n.defaultNS !== !1 && n.ns && (Vt(n.ns) ? n.defaultNS = n.ns : n.ns.indexOf("translation") < 0 && (n.defaultNS = n.ns[0]));
|
|
71460
71467
|
const a = Ev();
|
|
71461
71468
|
this.options = {
|
|
71462
71469
|
...a,
|
|
@@ -71516,7 +71523,7 @@ class Yi extends b3 {
|
|
|
71516
71523
|
loadResources(t) {
|
|
71517
71524
|
var o, i;
|
|
71518
71525
|
let r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : pl;
|
|
71519
|
-
const a =
|
|
71526
|
+
const a = Vt(t) ? t : this.language;
|
|
71520
71527
|
if (typeof t == "function" && (r = t), !this.options.resources || this.options.partialBundledLanguages) {
|
|
71521
71528
|
if ((a == null ? void 0 : a.toLowerCase()) === "cimode" && (!this.options.preload || this.options.preload.length === 0)) return r();
|
|
71522
71529
|
const c = [], l = (s) => {
|
|
@@ -71568,7 +71575,7 @@ class Yi extends b3 {
|
|
|
71568
71575
|
}, c = (l) => {
|
|
71569
71576
|
var d, f;
|
|
71570
71577
|
!t && !l && this.services.languageDetector && (l = []);
|
|
71571
|
-
const s =
|
|
71578
|
+
const s = Vt(l) ? l : this.services.languageUtils.getBestMatchFromCodes(l);
|
|
71572
71579
|
s && (this.language || o(s), this.translator.language || this.translator.changeLanguage(s), (f = (d = this.services.languageDetector) == null ? void 0 : d.cacheUserLanguage) == null || f.call(d, s)), this.loadResources(s, (m) => {
|
|
71573
71580
|
i(m, s);
|
|
71574
71581
|
});
|
|
@@ -71592,7 +71599,7 @@ class Yi extends b3 {
|
|
|
71592
71599
|
let p;
|
|
71593
71600
|
return l.keyPrefix && Array.isArray(i) ? p = i.map((v) => `${l.keyPrefix}${m}${v}`) : p = l.keyPrefix ? `${l.keyPrefix}${m}${i}` : i, a.t(p, l);
|
|
71594
71601
|
};
|
|
71595
|
-
return
|
|
71602
|
+
return Vt(t) ? o.lng = t : o.lngs = t, o.ns = n, o.keyPrefix = r, o;
|
|
71596
71603
|
}
|
|
71597
71604
|
t() {
|
|
71598
71605
|
var a;
|
|
@@ -71629,7 +71636,7 @@ class Yi extends b3 {
|
|
|
71629
71636
|
}
|
|
71630
71637
|
loadNamespaces(t, n) {
|
|
71631
71638
|
const r = Xo();
|
|
71632
|
-
return this.options.ns ? (
|
|
71639
|
+
return this.options.ns ? (Vt(t) && (t = [t]), t.forEach((a) => {
|
|
71633
71640
|
this.options.ns.indexOf(a) < 0 && this.options.ns.push(a);
|
|
71634
71641
|
}), this.loadResources((a) => {
|
|
71635
71642
|
r.resolve(), n && n(a);
|
|
@@ -71637,7 +71644,7 @@ class Yi extends b3 {
|
|
|
71637
71644
|
}
|
|
71638
71645
|
loadLanguages(t, n) {
|
|
71639
71646
|
const r = Xo();
|
|
71640
|
-
|
|
71647
|
+
Vt(t) && (t = [t]);
|
|
71641
71648
|
const a = this.options.preload || [], o = t.filter((i) => a.indexOf(i) < 0 && this.services.languageUtils.isSupportedCode(i));
|
|
71642
71649
|
return o.length ? (this.options.preload = a.concat(o), this.loadResources((i) => {
|
|
71643
71650
|
r.resolve(), n && n(i);
|