aquasis-fe-components 1.3.2-ac → 1.3.2-b
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 Vt, 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 = Vt(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 = Vt(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 Kt = /* @__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 = Vt(C1), t = Vt(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
|
+
} = Vt(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
|
+
} = Vt(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 = Vt(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 = Vt(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 Kt("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 Kt("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
|
+
} = Vt(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 Kt("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 Kt("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 Kt("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 Kt("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 Kt("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 Kt("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 Kt("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 Kt("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 Kt("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 Kt("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 Kt("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 Kt("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 Kt("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 Kt("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 Kt("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 Kt("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 Kt("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 Kt("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 Kt("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 Kt("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 Kt("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 Kt("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 Kt("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 Kt("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 Kt("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 Kt("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 Kt("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 Kt("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 Kt("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 Kt("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
|
+
} = Vt(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 = Vt(C1), W = v ?? V, J = Vt(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
|
+
} = Vt(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
|
+
} = Vt(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 = Vt(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 = Vt(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 Kt("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
|
+
} = Vt(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
|
+
} = Vt(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 = Vt(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 Kt("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 Kt("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 Kt("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 Kt("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 Kt("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
|
+
} = Vt(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 qt = Bt(Et, Ke), zn = Bt(Et, Ke, ve);
|
|
18294
18294
|
// Of course use larger one
|
|
18295
|
-
|
|
18295
|
+
qt > vt || qt === 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], qt = MW(ie, l, s, d), zn = ne(qt, 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
|
+
}, qt = QV(a, Et, d, I, k, C, he, g), zn = qt.allowClear, wn = qt.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
|
+
} = Vt(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
|
+
} = Vt(lt), c = Vt(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), qt = 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 = qt.includes(it), jt;
|
|
23985
|
+
I ? ft ? jt = qt.filter(function(Pn) {
|
|
23986
23986
|
return Pn !== it;
|
|
23987
|
-
}) : jt = [].concat(we(
|
|
23987
|
+
}) : jt = [].concat(we(qt), [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: qt,
|
|
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
|
+
} = Vt(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
|
+
} = Vt(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), qt = 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: qt,
|
|
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
|
+
}, qt = 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: qt,
|
|
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
|
+
} = Vt(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 = Vt(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
|
+
} = Vt(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
|
+
} = Vt(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 = Vt(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
|
+
} = Vt(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 = Vt(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
|
+
} = Vt(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
|
+
} = Vt(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 = Vt(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 = Vt(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 = Vt(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 qt = 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" && (qt = /* @__PURE__ */ ee.createElement(ht, B({}, t))), qt;
|
|
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, qt = Vr(void 0, U, m), zn;
|
|
42864
|
+
return Et === "" ? zn = Et : Number.isNaN(Number(Et)) ? zn = pe : Et >= qt ? zn = qt : 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), qt = ae > Et && Et !== 0 ? Et : ae;
|
|
42892
|
+
te(ht), ge(qt), O == null || O(ae, ht), ue(qt), C == null || C(qt, 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), qt = ht;
|
|
42897
|
+
return ht > Et ? qt = Et : ht < 1 && (qt = 1), qt !== pe && ge(qt), ue(qt), C == null || C(qt, U), qt;
|
|
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 qt = arguments.length, zn = new Array(qt > 2 ? qt - 2 : 0), wn = 2; wn < qt; 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 Kt("antSpinMove", {
|
|
43855
43855
|
to: {
|
|
43856
43856
|
opacity: 1
|
|
43857
43857
|
}
|
|
43858
|
-
}), lte = new
|
|
43858
|
+
}), lte = new Kt("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
|
+
} = Vt(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
|
+
} = Vt(gd), {
|
|
44276
44276
|
getPrefixCls: p,
|
|
44277
44277
|
list: v
|
|
44278
|
-
} =
|
|
44278
|
+
} = Vt(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
|
+
} = Vt(lt), o = Bi.prefixCls || a("message"), i = Vt(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
|
+
} = Vt(lt), o = Vi.prefixCls || a("notification"), i = Vt(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 Kt(`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), qt = ne(Et, 2), zn = qt[0], wn = qt[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 Kt("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 Kt("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 Kt("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
|
+
} = Vt(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
|
+
} = Vt(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 Ut(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(Ut, Error, {
|
|
68356
68356
|
toJSON: function() {
|
|
68357
68357
|
return {
|
|
68358
68358
|
// Standard
|
|
@@ -68373,7 +68373,7 @@ Oe.inherits(Kt, Error, {
|
|
|
68373
68373
|
};
|
|
68374
68374
|
}
|
|
68375
68375
|
});
|
|
68376
|
-
const bI =
|
|
68376
|
+
const bI = Ut.prototype, CI = {};
|
|
68377
68377
|
[
|
|
68378
68378
|
"ERR_BAD_OPTION_VALUE",
|
|
68379
68379
|
"ERR_BAD_OPTION",
|
|
@@ -68391,13 +68391,13 @@ const bI = Kt.prototype, CI = {};
|
|
|
68391
68391
|
].forEach((e) => {
|
|
68392
68392
|
CI[e] = { value: e };
|
|
68393
68393
|
});
|
|
68394
|
-
Object.defineProperties(
|
|
68394
|
+
Object.defineProperties(Ut, CI);
|
|
68395
68395
|
Object.defineProperty(bI, "isAxiosError", { value: !0 });
|
|
68396
|
-
|
|
68396
|
+
Ut.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"), Ut.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 Ut("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" ? Ut.from(c, Ut.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
|
+
Ut.call(this, e ?? "canceled", Ut.ERR_CANCELED, t, n), this.name = "CanceledError";
|
|
68920
68920
|
}
|
|
68921
|
-
Oe.inherits(Ao,
|
|
68921
|
+
Oe.inherits(Ao, Ut, {
|
|
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 Ut(
|
|
68927
68927
|
"Request failed with status code " + n.status,
|
|
68928
|
-
[
|
|
68928
|
+
[Ut.ERR_BAD_REQUEST, Ut.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 Ut("Request aborted", Ut.ECONNABORTED, e, g)), g = null);
|
|
69179
69179
|
}, g.onerror = function() {
|
|
69180
|
-
r(new
|
|
69180
|
+
r(new Ut("Network Error", Ut.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 Ut(
|
|
69185
69185
|
x,
|
|
69186
|
-
S.clarifyTimeoutError ?
|
|
69186
|
+
S.clarifyTimeoutError ? Ut.ETIMEDOUT : Ut.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 Ut("Unsupported protocol " + b + ":", Ut.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 Ut ? 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 Ut(`timeout ${t} of ms exceeded`, Ut.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 Ut(`Response type '${t}' is not supported`, Ut.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 Ut("Network Error", Ut.ERR_NETWORK, e, v),
|
|
69405
69405
|
{
|
|
69406
69406
|
cause: C.cause || C
|
|
69407
69407
|
}
|
|
69408
|
-
) :
|
|
69408
|
+
) : Ut.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 Ut(`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 Ut(
|
|
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 Ut(
|
|
69491
69491
|
a(i, " has been removed" + (n ? " in " + n : "")),
|
|
69492
|
-
|
|
69492
|
+
Ut.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 Ut("options must be an object", Ut.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 Ut("option " + o + " must be " + l, Ut.ERR_BAD_OPTION_VALUE);
|
|
69513
69513
|
continue;
|
|
69514
69514
|
}
|
|
69515
69515
|
if (n !== !0)
|
|
69516
|
-
throw new
|
|
69516
|
+
throw new Ut("Unknown option " + o, Ut.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 = Ut;
|
|
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 Ht = /* @__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))(Ht || {}), 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,99 +70033,90 @@ 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, Ht.Fields], children: (r, { remove: a }) => /* @__PURE__ */ be.jsxs(be.Fragment, { children: [
|
|
70037
70037
|
/* @__PURE__ */ be.jsx(N0, { fieldName: "idReleasePage", hidden: !0 }),
|
|
70038
|
-
/* @__PURE__ */ be.
|
|
70039
|
-
|
|
70040
|
-
/* @__PURE__ */ be.
|
|
70041
|
-
|
|
70042
|
-
|
|
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,
|
|
70038
|
+
/* @__PURE__ */ be.jsx(m2, { gap: 16, vertical: !0, children: r.map(({ key: o, name: i, ...c }) => /* @__PURE__ */ be.jsxs(m2, { gap: 6, align: "center", children: [
|
|
70039
|
+
/* @__PURE__ */ be.jsxs(m2, { vertical: !0, gap: 2, style: { width: "100%" }, children: [
|
|
70040
|
+
/* @__PURE__ */ be.jsx(rn.Item, { ...c, name: [i, Ht.Title], rules: n, noStyle: !0, children: /* @__PURE__ */ be.jsx(A2, { placeholder: t("RELEASE-NOTES.FORM.FIELDS.TITLE"), maxLength: 500 }) }),
|
|
70041
|
+
/* @__PURE__ */ be.jsx(
|
|
70042
|
+
rn.Item,
|
|
70055
70043
|
{
|
|
70056
|
-
|
|
70057
|
-
|
|
70058
|
-
|
|
70059
|
-
|
|
70044
|
+
...c,
|
|
70045
|
+
name: [i, Ht.Description],
|
|
70046
|
+
rules: n,
|
|
70047
|
+
noStyle: !0,
|
|
70048
|
+
children: /* @__PURE__ */ be.jsx(ld, { autoSize: { minRows: 2 }, placeholder: t("RELEASE-NOTES.FORM.FIELDS.DESCRIPTION") })
|
|
70060
70049
|
}
|
|
70061
|
-
)
|
|
70062
|
-
] }
|
|
70063
|
-
/* @__PURE__ */ be.jsx(rn.Item, { children: /* @__PURE__ */ be.jsx(
|
|
70064
|
-
|
|
70050
|
+
)
|
|
70051
|
+
] }),
|
|
70052
|
+
/* @__PURE__ */ be.jsx(rn.Item, { noStyle: !0, children: /* @__PURE__ */ be.jsx(m1, { title: t("GENERAL.REMOVE"), children: /* @__PURE__ */ be.jsx(
|
|
70053
|
+
vn,
|
|
70054
|
+
{
|
|
70055
|
+
type: "text",
|
|
70056
|
+
icon: /* @__PURE__ */ be.jsx(Aw, {}),
|
|
70057
|
+
onClick: () => a(i),
|
|
70058
|
+
disabled: r.length === 1
|
|
70059
|
+
}
|
|
70060
|
+
) }) })
|
|
70061
|
+
] }, o)) })
|
|
70065
70062
|
] }) });
|
|
70066
70063
|
}, uNe = y1(({ changeSlide: e }, t) => {
|
|
70067
|
-
const [n, r] = Lt([]), { t: a } = ur(), o = rn.useFormInstance(), i = rn.useWatch(
|
|
70068
|
-
const
|
|
70069
|
-
r(
|
|
70070
|
-
o.setFieldValue(
|
|
70064
|
+
const [n, r] = Lt([]), { t: a } = ur(), o = rn.useFormInstance(), i = rn.useWatch(Ht.ReleasePages, o), c = (d) => ({ file: f, fileList: m }) => {
|
|
70065
|
+
const p = d[0], v = d[1], h = i[p];
|
|
70066
|
+
r(m), PL(f.originFileObj, (g) => {
|
|
70067
|
+
o.setFieldValue(Ht.ReleasePages, i.toSpliced(p, 1, { ...h, [v]: g }));
|
|
70071
70068
|
});
|
|
70072
|
-
}, l =
|
|
70069
|
+
}, l = (d) => () => {
|
|
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: [
|
|
70073
70074
|
/* @__PURE__ */ be.jsx("p", { className: "ant-upload-drag-icon", children: /* @__PURE__ */ be.jsx(Cd, {}) }),
|
|
70074
70075
|
/* @__PURE__ */ be.jsx("p", { className: "ant-upload-text", children: a("GENERAL.UPLOAD_LABEL") }),
|
|
70075
70076
|
/* @__PURE__ */ be.jsx("p", { className: "ant-upload-hint", children: a("GENERAL.JPG_PNG_WARNING") })
|
|
70076
70077
|
] }) });
|
|
70077
|
-
return /* @__PURE__ */ be.jsx(rn.List, { name:
|
|
70078
|
+
return /* @__PURE__ */ be.jsx(rn.List, { name: Ht.ReleasePages, children: (d) => /* @__PURE__ */ be.jsxs(be.Fragment, { children: [
|
|
70078
70079
|
/* @__PURE__ */ be.jsx(N0, { fieldName: "idRelease", hidden: !0 }),
|
|
70079
70080
|
/* @__PURE__ */ be.jsx(N0, { fieldName: "idReleasePage", hidden: !0 }),
|
|
70080
|
-
/* @__PURE__ */ be.jsx(
|
|
70081
|
-
|
|
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
|
-
fieldName: [f, qt.NoImage],
|
|
70114
|
-
label: a("GENERAL.DO_NOT_USE_IMAGE"),
|
|
70115
|
-
onChange: (C) => {
|
|
70116
|
-
const b = C.target.checked, y = i.map((x, S) => ({
|
|
70117
|
-
...x,
|
|
70118
|
-
[qt.NoImage]: S === f ? b : x[qt.NoImage],
|
|
70119
|
-
[qt.Image]: S === f && b ? void 0 : x[qt.Image]
|
|
70120
|
-
}));
|
|
70121
|
-
o.setFieldValue(qt.ReleasePages, y);
|
|
70122
|
-
}
|
|
70081
|
+
/* @__PURE__ */ be.jsx(ed, { infinite: !1, ref: t, beforeChange: e, adaptiveHeight: !0, children: d.map(({ key: f, name: m, ...p }) => {
|
|
70082
|
+
var g, C;
|
|
70083
|
+
const v = (g = i == null ? void 0 : i[m]) == null ? void 0 : g[Ht.Image], h = (C = i == null ? void 0 : i[m]) == null ? void 0 : C[Ht.NoImage];
|
|
70084
|
+
return /* @__PURE__ */ be.jsx("div", { children: /* @__PURE__ */ be.jsxs(L1, { gutter: [8, 16], style: { marginBottom: 35 }, children: [
|
|
70085
|
+
/* @__PURE__ */ be.jsx(On, { span: 24, children: /* @__PURE__ */ be.jsxs(L1, { gutter: 8, children: [
|
|
70086
|
+
/* @__PURE__ */ be.jsx(On, { span: h ? 24 : 12, children: /* @__PURE__ */ be.jsx(sNe, { index: m }) }),
|
|
70087
|
+
!h && /* @__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, { ...p, name: [m, Ht.Image], noStyle: !0, children: /* @__PURE__ */ be.jsx(
|
|
70088
|
+
Ws,
|
|
70089
|
+
{
|
|
70090
|
+
listType: "picture",
|
|
70091
|
+
className: "release-notes-image",
|
|
70092
|
+
showUploadList: !1,
|
|
70093
|
+
fileList: n,
|
|
70094
|
+
beforeUpload: qae,
|
|
70095
|
+
onChange: c([m, Ht.Image]),
|
|
70096
|
+
children: v ? /* @__PURE__ */ be.jsx(Ds, { src: v, preview: !1, style: { maxHeight: 600 } }) : s
|
|
70097
|
+
}
|
|
70098
|
+
) }) }) })
|
|
70099
|
+
] }) }),
|
|
70100
|
+
/* @__PURE__ */ be.jsx(On, { span: 8, children: /* @__PURE__ */ be.jsxs(m2, { vertical: !0, children: [
|
|
70101
|
+
/* @__PURE__ */ be.jsx(rn.Item, { children: /* @__PURE__ */ be.jsx(vn, { type: "dashed", onClick: l(m), icon: /* @__PURE__ */ be.jsx($s, {}), block: !0, children: a("RELEASE-NOTES.FORM.ADD_NEW_FIELD") }) }),
|
|
70102
|
+
/* @__PURE__ */ be.jsx(
|
|
70103
|
+
yEe,
|
|
70104
|
+
{
|
|
70105
|
+
fieldName: [m, Ht.NoImage],
|
|
70106
|
+
label: a("GENERAL.DO_NOT_USE_IMAGE"),
|
|
70107
|
+
onChange: (b) => {
|
|
70108
|
+
const y = b.target.checked, x = i.map((S, w) => ({
|
|
70109
|
+
...S,
|
|
70110
|
+
[Ht.NoImage]: w === m ? y : S[Ht.NoImage],
|
|
70111
|
+
[Ht.Image]: w === m && y ? void 0 : S[Ht.Image]
|
|
70112
|
+
}));
|
|
70113
|
+
o.setFieldValue(Ht.ReleasePages, x);
|
|
70123
70114
|
}
|
|
70124
|
-
|
|
70125
|
-
|
|
70126
|
-
})
|
|
70127
|
-
}
|
|
70128
|
-
)
|
|
70115
|
+
}
|
|
70116
|
+
)
|
|
70117
|
+
] }) })
|
|
70118
|
+
] }) }, f);
|
|
70119
|
+
}) })
|
|
70129
70120
|
] }) });
|
|
70130
70121
|
}), W2 = "RELEASE-NOTES", dNe = ({
|
|
70131
70122
|
addBtnLabel: e,
|
|
@@ -70135,15 +70126,15 @@ const aNe = async () => {
|
|
|
70135
70126
|
beforeCloseModal: a,
|
|
70136
70127
|
afterSubmit: o
|
|
70137
70128
|
}) => {
|
|
70138
|
-
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(
|
|
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(Ht.ReleasePages, m), x = (_, D) => f(D), S = () => m.resetFields();
|
|
70139
70130
|
zt(() => {
|
|
70140
70131
|
n && (c(!0), m.setFieldsValue({
|
|
70141
70132
|
...n,
|
|
70142
|
-
[
|
|
70133
|
+
[Ht.ReleasePages]: n[Ht.ReleasePages].map((_) => ({
|
|
70143
70134
|
..._,
|
|
70144
|
-
[
|
|
70135
|
+
[Ht.Image]: kd(_[Ht.Image])
|
|
70145
70136
|
})),
|
|
70146
|
-
[
|
|
70137
|
+
[Ht.DeployDate]: e1(n[Ht.DeployDate])
|
|
70147
70138
|
}));
|
|
70148
70139
|
}, [n]);
|
|
70149
70140
|
const w = () => {
|
|
@@ -70151,24 +70142,30 @@ const aNe = async () => {
|
|
|
70151
70142
|
}, L = () => {
|
|
70152
70143
|
a ? new Promise((_) => _(a())).then(() => c(!1)) : c(!1);
|
|
70153
70144
|
}, M = () => {
|
|
70154
|
-
m.setFieldValue(
|
|
70145
|
+
if (m.setFieldValue(Ht.ReleasePages, [
|
|
70155
70146
|
...y,
|
|
70156
|
-
{ [
|
|
70157
|
-
])
|
|
70147
|
+
{ [Ht.Fields]: [{}] }
|
|
70148
|
+
]), g.current) {
|
|
70149
|
+
const _ = m.getFieldValue(Ht.ReleasePages);
|
|
70150
|
+
g.current.goTo(_.length - 1), f(_.length - 1);
|
|
70151
|
+
}
|
|
70158
70152
|
}, z = () => {
|
|
70159
|
-
m.setFieldValue(
|
|
70160
|
-
|
|
70153
|
+
if (m.setFieldValue(
|
|
70154
|
+
Ht.ReleasePages,
|
|
70161
70155
|
y.filter((_, D) => D !== d)
|
|
70162
|
-
)
|
|
70156
|
+
), g.current) {
|
|
70157
|
+
const _ = m.getFieldValue(Ht.ReleasePages);
|
|
70158
|
+
g.current.goTo(_.length - 1), f(_.length - 1);
|
|
70159
|
+
}
|
|
70163
70160
|
}, E = (_) => {
|
|
70164
70161
|
const D = {
|
|
70165
70162
|
..._,
|
|
70166
|
-
[
|
|
70167
|
-
[
|
|
70163
|
+
[Ht.DeployDate]: e1(_[Ht.DeployDate]).format(Ck),
|
|
70164
|
+
[Ht.ReleasePages]: _[Ht.ReleasePages].map((A, H) => ({
|
|
70168
70165
|
...A,
|
|
70169
|
-
[
|
|
70166
|
+
[Ht.Image]: RL(A[Ht.Image]),
|
|
70170
70167
|
order: H,
|
|
70171
|
-
[
|
|
70168
|
+
[Ht.Fields]: A[Ht.Fields].map((F, V) => ({ ...F, order: V }))
|
|
70172
70169
|
}))
|
|
70173
70170
|
};
|
|
70174
70171
|
iNe(D).then(() => {
|
|
@@ -70231,8 +70228,8 @@ const aNe = async () => {
|
|
|
70231
70228
|
] }), R = (_) => {
|
|
70232
70229
|
s(t ? _ : !1);
|
|
70233
70230
|
}, I = {
|
|
70234
|
-
[
|
|
70235
|
-
[
|
|
70231
|
+
[Ht.ReleasePages]: [{ [Ht.Fields]: [{}] }],
|
|
70232
|
+
[Ht.DeployDate]: e1()
|
|
70236
70233
|
}, $ = Gae(b ?? [], "appName", "id"), k = Xt(() => p(`${W2}.${n ? "UPD_RELEASE_NOTE" : "ADD_RELEASE_NOTE"}`), [v]);
|
|
70237
70234
|
return /* @__PURE__ */ be.jsxs(be.Fragment, { children: [
|
|
70238
70235
|
/* @__PURE__ */ be.jsx(m1, { title: t, open: l, onOpenChange: R, children: /* @__PURE__ */ be.jsx(
|
|
@@ -70251,7 +70248,7 @@ const aNe = async () => {
|
|
|
70251
70248
|
/* @__PURE__ */ be.jsx(On, { span: 8, children: /* @__PURE__ */ be.jsx(
|
|
70252
70249
|
bEe,
|
|
70253
70250
|
{
|
|
70254
|
-
fieldName:
|
|
70251
|
+
fieldName: Ht.App,
|
|
70255
70252
|
label: p(`${W2}.FORM.FIELDS.APP`),
|
|
70256
70253
|
placeholder: p(`${W2}.FORM.FIELDS.APP`, { context: "PLACEHOLDER" }),
|
|
70257
70254
|
options: $,
|
|
@@ -70261,7 +70258,7 @@ const aNe = async () => {
|
|
|
70261
70258
|
/* @__PURE__ */ be.jsx(On, { span: 8, children: /* @__PURE__ */ be.jsx(
|
|
70262
70259
|
f2,
|
|
70263
70260
|
{
|
|
70264
|
-
fieldName:
|
|
70261
|
+
fieldName: Ht.Version,
|
|
70265
70262
|
label: p(`${W2}.FORM.FIELDS.VERSION`),
|
|
70266
70263
|
placeholder: "0.0.0",
|
|
70267
70264
|
tooltip: p(`${W2}.FORM.FIELDS.VERSION`, { context: "TOOLTIP" }),
|
|
@@ -70281,7 +70278,7 @@ const aNe = async () => {
|
|
|
70281
70278
|
/* @__PURE__ */ be.jsx(On, { span: 8, children: /* @__PURE__ */ be.jsx(
|
|
70282
70279
|
CEe,
|
|
70283
70280
|
{
|
|
70284
|
-
fieldName:
|
|
70281
|
+
fieldName: Ht.DeployDate,
|
|
70285
70282
|
label: p(`${W2}.FORM.FIELDS.DEPLOY_DATE`),
|
|
70286
70283
|
format: bk,
|
|
70287
70284
|
rules: C
|
|
@@ -70335,7 +70332,7 @@ const aNe = async () => {
|
|
|
70335
70332
|
}
|
|
70336
70333
|
}), 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);
|
|
70337
70334
|
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 || {});
|
|
70338
|
-
const
|
|
70335
|
+
const Wt = (e) => typeof e == "string", Xo = () => {
|
|
70339
70336
|
let e, t;
|
|
70340
70337
|
const n = new Promise((r, a) => {
|
|
70341
70338
|
e = r, t = a;
|
|
@@ -70345,8 +70342,8 @@ const Vt = (e) => typeof e == "string", Xo = () => {
|
|
|
70345
70342
|
e.forEach((r) => {
|
|
70346
70343
|
t[r] && (n[r] = t[r]);
|
|
70347
70344
|
});
|
|
70348
|
-
}, bNe = /###/g, bv = (e) => e && e.indexOf("###") > -1 ? e.replace(bNe, ".") : e, Cv = (e) => !e ||
|
|
70349
|
-
const r =
|
|
70345
|
+
}, bNe = /###/g, bv = (e) => e && e.indexOf("###") > -1 ? e.replace(bNe, ".") : e, Cv = (e) => !e || Wt(e), yi = (e, t, n) => {
|
|
70346
|
+
const r = Wt(t) ? t.split(".") : t;
|
|
70350
70347
|
let a = 0;
|
|
70351
70348
|
for (; a < r.length - 1; ) {
|
|
70352
70349
|
if (Cv(e)) return {};
|
|
@@ -70388,7 +70385,7 @@ const Vt = (e) => typeof e == "string", Xo = () => {
|
|
|
70388
70385
|
return r !== void 0 ? r : R0(t, n);
|
|
70389
70386
|
}, DI = (e, t, n) => {
|
|
70390
70387
|
for (const r in t)
|
|
70391
|
-
r !== "__proto__" && r !== "constructor" && (r in e ?
|
|
70388
|
+
r !== "__proto__" && r !== "constructor" && (r in e ? Wt(e[r]) || e[r] instanceof String || Wt(t[r]) || t[r] instanceof String ? n && (e[r] = t[r]) : DI(e[r], t[r], n) : e[r] = t[r]);
|
|
70392
70389
|
return e;
|
|
70393
70390
|
}, ka = (e) => e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
|
|
70394
70391
|
var SNe = {
|
|
@@ -70399,7 +70396,7 @@ var SNe = {
|
|
|
70399
70396
|
"'": "'",
|
|
70400
70397
|
"/": "/"
|
|
70401
70398
|
};
|
|
70402
|
-
const xNe = (e) =>
|
|
70399
|
+
const xNe = (e) => Wt(e) ? e.replace(/[&<>"'\/]/g, (t) => SNe[t]) : e;
|
|
70403
70400
|
class wNe {
|
|
70404
70401
|
constructor(t) {
|
|
70405
70402
|
this.capacity = t, this.regExpMap = /* @__PURE__ */ new Map(), this.regExpQueue = [];
|
|
@@ -70489,7 +70486,7 @@ class T0 {
|
|
|
70489
70486
|
return this.forward(n, "warn", "WARNING DEPRECATED: ", !0);
|
|
70490
70487
|
}
|
|
70491
70488
|
forward(t, n, r, a) {
|
|
70492
|
-
return a && !this.debug ? null : (
|
|
70489
|
+
return a && !this.debug ? null : (Wt(t[0]) && (t[0] = `${r}${this.prefix} ${t[0]}`), this.logger[n](t));
|
|
70493
70490
|
}
|
|
70494
70491
|
create(t) {
|
|
70495
70492
|
return new T0(this.logger, {
|
|
@@ -70556,9 +70553,9 @@ class Sv extends b3 {
|
|
|
70556
70553
|
let a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
|
|
70557
70554
|
const o = a.keySeparator !== void 0 ? a.keySeparator : this.options.keySeparator, i = a.ignoreJSONStructure !== void 0 ? a.ignoreJSONStructure : this.options.ignoreJSONStructure;
|
|
70558
70555
|
let c;
|
|
70559
|
-
t.indexOf(".") > -1 ? c = t.split(".") : (c = [t, n], r && (Array.isArray(r) ? c.push(...r) :
|
|
70556
|
+
t.indexOf(".") > -1 ? c = t.split(".") : (c = [t, n], r && (Array.isArray(r) ? c.push(...r) : Wt(r) && o ? c.push(...r.split(o)) : c.push(r)));
|
|
70560
70557
|
const l = R0(this.data, c);
|
|
70561
|
-
return !l && !n && !r && t.indexOf(".") > -1 && (t = c[0], n = c[1], r = c.slice(2).join(".")), l || !i || !
|
|
70558
|
+
return !l && !n && !r && t.indexOf(".") > -1 && (t = c[0], n = c[1], r = c.slice(2).join(".")), l || !i || !Wt(r) ? l : zu((d = (s = this.data) == null ? void 0 : s[t]) == null ? void 0 : d[n], r, o);
|
|
70562
70559
|
}
|
|
70563
70560
|
addResource(t, n, r, a) {
|
|
70564
70561
|
let o = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : {
|
|
@@ -70573,7 +70570,7 @@ class Sv extends b3 {
|
|
|
70573
70570
|
silent: !1
|
|
70574
70571
|
};
|
|
70575
70572
|
for (const o in r)
|
|
70576
|
-
(
|
|
70573
|
+
(Wt(r[o]) || Array.isArray(r[o])) && this.addResource(t, n, o, r[o], {
|
|
70577
70574
|
silent: !0
|
|
70578
70575
|
});
|
|
70579
70576
|
a.silent || this.emit("added", t, n, r);
|
|
@@ -70651,14 +70648,14 @@ class k0 extends b3 {
|
|
|
70651
70648
|
if (l && l.length > 0)
|
|
70652
70649
|
return {
|
|
70653
70650
|
key: t,
|
|
70654
|
-
namespaces:
|
|
70651
|
+
namespaces: Wt(o) ? [o] : o
|
|
70655
70652
|
};
|
|
70656
70653
|
const s = t.split(r);
|
|
70657
70654
|
(r !== a || r === a && this.options.ns.indexOf(s[0]) > -1) && (o = s.shift()), t = s.join(a);
|
|
70658
70655
|
}
|
|
70659
70656
|
return {
|
|
70660
70657
|
key: t,
|
|
70661
|
-
namespaces:
|
|
70658
|
+
namespaces: Wt(o) ? [o] : o
|
|
70662
70659
|
};
|
|
70663
70660
|
}
|
|
70664
70661
|
translate(t, n, r) {
|
|
@@ -70693,8 +70690,8 @@ class k0 extends b3 {
|
|
|
70693
70690
|
}
|
|
70694
70691
|
const f = this.resolve(t, n);
|
|
70695
70692
|
let m = f == null ? void 0 : f.res;
|
|
70696
|
-
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 = !
|
|
70697
|
-
if (b && m && y && g.indexOf(h) < 0 && !(
|
|
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 = !Wt(m) && typeof m != "boolean" && typeof m != "number";
|
|
70694
|
+
if (b && m && y && g.indexOf(h) < 0 && !(Wt(C) && Array.isArray(m))) {
|
|
70698
70695
|
if (!n.returnObjects && !this.options.returnObjects) {
|
|
70699
70696
|
this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
|
|
70700
70697
|
const x = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(p, m, {
|
|
@@ -70716,11 +70713,11 @@ class k0 extends b3 {
|
|
|
70716
70713
|
}
|
|
70717
70714
|
m = S;
|
|
70718
70715
|
}
|
|
70719
|
-
} else if (b &&
|
|
70716
|
+
} else if (b && Wt(C) && Array.isArray(m))
|
|
70720
70717
|
m = m.join(C), m && (m = this.extendTranslation(m, t, n, r));
|
|
70721
70718
|
else {
|
|
70722
70719
|
let x = !1, S = !1;
|
|
70723
|
-
const w = n.count !== void 0 && !
|
|
70720
|
+
const w = n.count !== void 0 && !Wt(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, {
|
|
70724
70721
|
ordinal: !1
|
|
70725
70722
|
}) : "", E = w && !n.ordinal && n.count === 0, O = E && n[`defaultValue${this.options.pluralSeparator}zero`] || n[`defaultValue${M}`] || n[`defaultValue${z}`] || n.defaultValue;
|
|
70726
70723
|
!this.isValidLookup(m) && L && (x = !0, m = O), this.isValidLookup(m) || (S = !0, m = i);
|
|
@@ -70773,13 +70770,13 @@ class k0 extends b3 {
|
|
|
70773
70770
|
...r.interpolation
|
|
70774
70771
|
}
|
|
70775
70772
|
});
|
|
70776
|
-
const f =
|
|
70773
|
+
const f = Wt(t) && (((d = r == null ? void 0 : r.interpolation) == null ? void 0 : d.skipOnVariables) !== void 0 ? r.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables);
|
|
70777
70774
|
let m;
|
|
70778
70775
|
if (f) {
|
|
70779
70776
|
const v = t.match(this.interpolator.nestingRegexp);
|
|
70780
70777
|
m = v && v.length;
|
|
70781
70778
|
}
|
|
70782
|
-
let p = r.replace && !
|
|
70779
|
+
let p = r.replace && !Wt(r.replace) ? r.replace : r;
|
|
70783
70780
|
if (this.options.interpolation.defaultVariables && (p = {
|
|
70784
70781
|
...this.options.interpolation.defaultVariables,
|
|
70785
70782
|
...p
|
|
@@ -70793,7 +70790,7 @@ class k0 extends b3 {
|
|
|
70793
70790
|
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);
|
|
70794
70791
|
}, r)), r.interpolation && this.interpolator.reset();
|
|
70795
70792
|
}
|
|
70796
|
-
const c = r.postProcess || this.options.postProcess, l =
|
|
70793
|
+
const c = r.postProcess || this.options.postProcess, l = Wt(c) ? [c] : c;
|
|
70797
70794
|
return t != null && (l != null && l.length) && r.applyPostProcessor !== !1 && (t = _I.handle(l, t, n, this.options && this.options.postProcessPassResolved ? {
|
|
70798
70795
|
i18nResolved: {
|
|
70799
70796
|
...a,
|
|
@@ -70804,13 +70801,13 @@ class k0 extends b3 {
|
|
|
70804
70801
|
}
|
|
70805
70802
|
resolve(t) {
|
|
70806
70803
|
let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r, a, o, i, c;
|
|
70807
|
-
return
|
|
70804
|
+
return Wt(t) && (t = [t]), t.forEach((l) => {
|
|
70808
70805
|
if (this.isValidLookup(r)) return;
|
|
70809
70806
|
const s = this.extractFromKey(l, n), d = s.key;
|
|
70810
70807
|
a = d;
|
|
70811
70808
|
let f = s.namespaces;
|
|
70812
70809
|
this.options.fallbackNS && (f = f.concat(this.options.fallbackNS));
|
|
70813
|
-
const m = n.count !== void 0 && !
|
|
70810
|
+
const m = n.count !== void 0 && !Wt(n.count), p = m && !n.ordinal && n.count === 0, v = n.context !== void 0 && (Wt(n.context) || typeof n.context == "number") && n.context !== "", h = n.lngs ? n.lngs : this.languageUtils.toResolveHierarchy(n.lng || this.language, n.fallbackLng);
|
|
70814
70811
|
f.forEach((g) => {
|
|
70815
70812
|
var C, b;
|
|
70816
70813
|
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) => {
|
|
@@ -70852,7 +70849,7 @@ class k0 extends b3 {
|
|
|
70852
70849
|
}
|
|
70853
70850
|
getUsedParamsDetails() {
|
|
70854
70851
|
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
70855
|
-
const n = ["defaultValue", "ordinal", "context", "replace", "lng", "lngs", "fallbackLng", "ns", "keySeparator", "nsSeparator", "returnObjects", "returnDetails", "joinArrays", "postProcess", "interpolation"], r = t.replace && !
|
|
70852
|
+
const n = ["defaultValue", "ordinal", "context", "replace", "lng", "lngs", "fallbackLng", "ns", "keySeparator", "nsSeparator", "returnObjects", "returnDetails", "joinArrays", "postProcess", "interpolation"], r = t.replace && !Wt(t.replace);
|
|
70856
70853
|
let a = r ? t.replace : t;
|
|
70857
70854
|
if (r && typeof t.count < "u" && (a.count = t.count), this.options.interpolation.defaultVariables && (a = {
|
|
70858
70855
|
...this.options.interpolation.defaultVariables,
|
|
@@ -70889,7 +70886,7 @@ class wv {
|
|
|
70889
70886
|
return this.formatLanguageCode(n[0]);
|
|
70890
70887
|
}
|
|
70891
70888
|
formatLanguageCode(t) {
|
|
70892
|
-
if (
|
|
70889
|
+
if (Wt(t) && t.indexOf("-") > -1) {
|
|
70893
70890
|
let n = Intl.getCanonicalLocales(t)[0];
|
|
70894
70891
|
return n && this.options.lowerCaseLng && (n = n.toLowerCase()), n || (this.options.lowerCaseLng ? t.toLowerCase() : t);
|
|
70895
70892
|
}
|
|
@@ -70918,7 +70915,7 @@ class wv {
|
|
|
70918
70915
|
}
|
|
70919
70916
|
getFallbackCodes(t, n) {
|
|
70920
70917
|
if (!t) return [];
|
|
70921
|
-
if (typeof t == "function" && (t = t(n)),
|
|
70918
|
+
if (typeof t == "function" && (t = t(n)), Wt(t) && (t = [t]), Array.isArray(t)) return t;
|
|
70922
70919
|
if (!n) return t.default || [];
|
|
70923
70920
|
let r = t[n];
|
|
70924
70921
|
return r || (r = t[this.getScriptPartFromCode(n)]), r || (r = t[this.formatLanguageCode(n)]), r || (r = t[this.getLanguagePartFromCode(n)]), r || (r = t.default), r || [];
|
|
@@ -70927,7 +70924,7 @@ class wv {
|
|
|
70927
70924
|
const r = this.getFallbackCodes(n || this.options.fallbackLng || [], t), a = [], o = (i) => {
|
|
70928
70925
|
i && (this.isSupportedCode(i) ? a.push(i) : this.logger.warn(`rejecting language code not found in supportedLngs: ${i}`));
|
|
70929
70926
|
};
|
|
70930
|
-
return
|
|
70927
|
+
return Wt(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))) : Wt(t) && o(this.formatLanguageCode(t)), r.forEach((i) => {
|
|
70931
70928
|
a.indexOf(i) < 0 && o(this.formatLanguageCode(i));
|
|
70932
70929
|
}), a;
|
|
70933
70930
|
}
|
|
@@ -70998,7 +70995,7 @@ class $Ne {
|
|
|
70998
70995
|
}
|
|
70999
70996
|
const zv = function(e, t, n) {
|
|
71000
70997
|
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);
|
|
71001
|
-
return !o && a &&
|
|
70998
|
+
return !o && a && Wt(n) && (o = zu(e, n, r), o === void 0 && (o = zu(t, n, r))), o;
|
|
71002
70999
|
}, o6 = (e) => e.replace(/\$/g, "$$$$");
|
|
71003
71000
|
class NNe {
|
|
71004
71001
|
constructor() {
|
|
@@ -71072,7 +71069,7 @@ class NNe {
|
|
|
71072
71069
|
if (i = s(h), i === void 0)
|
|
71073
71070
|
if (typeof d == "function") {
|
|
71074
71071
|
const C = d(t, o, a);
|
|
71075
|
-
i =
|
|
71072
|
+
i = Wt(C) ? C : "";
|
|
71076
71073
|
} else if (a && Object.prototype.hasOwnProperty.call(a, h))
|
|
71077
71074
|
i = "";
|
|
71078
71075
|
else if (f) {
|
|
@@ -71080,7 +71077,7 @@ class NNe {
|
|
|
71080
71077
|
continue;
|
|
71081
71078
|
} else
|
|
71082
71079
|
this.logger.warn(`missed to pass in variable ${h} for interpolating ${t}`), i = "";
|
|
71083
|
-
else !
|
|
71080
|
+
else !Wt(i) && !this.useRawValueToEscape && (i = hv(i));
|
|
71084
71081
|
const g = v.safeValue(i);
|
|
71085
71082
|
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)
|
|
71086
71083
|
break;
|
|
@@ -71111,14 +71108,14 @@ class NNe {
|
|
|
71111
71108
|
let l = [];
|
|
71112
71109
|
i = {
|
|
71113
71110
|
...r
|
|
71114
|
-
}, i = i.replace && !
|
|
71111
|
+
}, i = i.replace && !Wt(i.replace) ? i.replace : i, i.applyPostProcessor = !1, delete i.defaultValue;
|
|
71115
71112
|
let s = !1;
|
|
71116
71113
|
if (a[0].indexOf(this.formatSeparator) !== -1 && !/{.*}/.test(a[1])) {
|
|
71117
71114
|
const d = a[1].split(this.formatSeparator).map((f) => f.trim());
|
|
71118
71115
|
a[1] = d.shift(), l = d, s = !0;
|
|
71119
71116
|
}
|
|
71120
|
-
if (o = n(c.call(this, a[1].trim(), i), i), o && a[0] === t && !
|
|
71121
|
-
|
|
71117
|
+
if (o = n(c.call(this, a[1].trim(), i), i), o && a[0] === t && !Wt(o)) return o;
|
|
71118
|
+
Wt(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, {
|
|
71122
71119
|
...r,
|
|
71123
71120
|
interpolationkey: a[1].trim()
|
|
71124
71121
|
}), o.trim())), t = t.replace(a[0], o), this.regexp.lastIndex = 0;
|
|
@@ -71327,7 +71324,7 @@ class INe extends b3 {
|
|
|
71327
71324
|
let r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, a = arguments.length > 3 ? arguments[3] : void 0;
|
|
71328
71325
|
if (!this.backend)
|
|
71329
71326
|
return this.logger.warn("No backend was added via i18next.use. Will not load resources."), a && a();
|
|
71330
|
-
|
|
71327
|
+
Wt(t) && (t = this.languageUtils.toResolveHierarchy(t)), Wt(n) && (n = [n]);
|
|
71331
71328
|
const o = this.queueLoad(t, n, r, a);
|
|
71332
71329
|
if (!o.toLoad.length)
|
|
71333
71330
|
return o.pending.length || a(), null;
|
|
@@ -71413,7 +71410,7 @@ const Ev = () => ({
|
|
|
71413
71410
|
appendNamespaceToCIMode: !1,
|
|
71414
71411
|
overloadTranslationOptionHandler: (e) => {
|
|
71415
71412
|
let t = {};
|
|
71416
|
-
if (typeof e[1] == "object" && (t = e[1]),
|
|
71413
|
+
if (typeof e[1] == "object" && (t = e[1]), Wt(e[1]) && (t.defaultValue = e[1]), Wt(e[2]) && (t.tDescription = e[2]), typeof e[2] == "object" || typeof e[3] == "object") {
|
|
71417
71414
|
const n = e[3] || e[2];
|
|
71418
71415
|
Object.keys(n).forEach((r) => {
|
|
71419
71416
|
t[r] = n[r];
|
|
@@ -71436,7 +71433,7 @@ const Ev = () => ({
|
|
|
71436
71433
|
}
|
|
71437
71434
|
}), $v = (e) => {
|
|
71438
71435
|
var t, n;
|
|
71439
|
-
return
|
|
71436
|
+
return Wt(e.ns) && (e.ns = [e.ns]), Wt(e.fallbackLng) && (e.fallbackLng = [e.fallbackLng]), Wt(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;
|
|
71440
71437
|
}, pl = () => {
|
|
71441
71438
|
}, TNe = (e) => {
|
|
71442
71439
|
Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach((n) => {
|
|
@@ -71459,7 +71456,7 @@ class Yi extends b3 {
|
|
|
71459
71456
|
init() {
|
|
71460
71457
|
var t = this;
|
|
71461
71458
|
let n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = arguments.length > 1 ? arguments[1] : void 0;
|
|
71462
|
-
this.isInitializing = !0, typeof n == "function" && (r = n, n = {}), !n.defaultNS && n.defaultNS !== !1 && n.ns && (
|
|
71459
|
+
this.isInitializing = !0, typeof n == "function" && (r = n, n = {}), !n.defaultNS && n.defaultNS !== !1 && n.ns && (Wt(n.ns) ? n.defaultNS = n.ns : n.ns.indexOf("translation") < 0 && (n.defaultNS = n.ns[0]));
|
|
71463
71460
|
const a = Ev();
|
|
71464
71461
|
this.options = {
|
|
71465
71462
|
...a,
|
|
@@ -71519,7 +71516,7 @@ class Yi extends b3 {
|
|
|
71519
71516
|
loadResources(t) {
|
|
71520
71517
|
var o, i;
|
|
71521
71518
|
let r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : pl;
|
|
71522
|
-
const a =
|
|
71519
|
+
const a = Wt(t) ? t : this.language;
|
|
71523
71520
|
if (typeof t == "function" && (r = t), !this.options.resources || this.options.partialBundledLanguages) {
|
|
71524
71521
|
if ((a == null ? void 0 : a.toLowerCase()) === "cimode" && (!this.options.preload || this.options.preload.length === 0)) return r();
|
|
71525
71522
|
const c = [], l = (s) => {
|
|
@@ -71571,7 +71568,7 @@ class Yi extends b3 {
|
|
|
71571
71568
|
}, c = (l) => {
|
|
71572
71569
|
var d, f;
|
|
71573
71570
|
!t && !l && this.services.languageDetector && (l = []);
|
|
71574
|
-
const s =
|
|
71571
|
+
const s = Wt(l) ? l : this.services.languageUtils.getBestMatchFromCodes(l);
|
|
71575
71572
|
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) => {
|
|
71576
71573
|
i(m, s);
|
|
71577
71574
|
});
|
|
@@ -71595,7 +71592,7 @@ class Yi extends b3 {
|
|
|
71595
71592
|
let p;
|
|
71596
71593
|
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);
|
|
71597
71594
|
};
|
|
71598
|
-
return
|
|
71595
|
+
return Wt(t) ? o.lng = t : o.lngs = t, o.ns = n, o.keyPrefix = r, o;
|
|
71599
71596
|
}
|
|
71600
71597
|
t() {
|
|
71601
71598
|
var a;
|
|
@@ -71632,7 +71629,7 @@ class Yi extends b3 {
|
|
|
71632
71629
|
}
|
|
71633
71630
|
loadNamespaces(t, n) {
|
|
71634
71631
|
const r = Xo();
|
|
71635
|
-
return this.options.ns ? (
|
|
71632
|
+
return this.options.ns ? (Wt(t) && (t = [t]), t.forEach((a) => {
|
|
71636
71633
|
this.options.ns.indexOf(a) < 0 && this.options.ns.push(a);
|
|
71637
71634
|
}), this.loadResources((a) => {
|
|
71638
71635
|
r.resolve(), n && n(a);
|
|
@@ -71640,7 +71637,7 @@ class Yi extends b3 {
|
|
|
71640
71637
|
}
|
|
71641
71638
|
loadLanguages(t, n) {
|
|
71642
71639
|
const r = Xo();
|
|
71643
|
-
|
|
71640
|
+
Wt(t) && (t = [t]);
|
|
71644
71641
|
const a = this.options.preload || [], o = t.filter((i) => a.indexOf(i) < 0 && this.services.languageUtils.isSupportedCode(i));
|
|
71645
71642
|
return o.length ? (this.options.preload = a.concat(o), this.loadResources((i) => {
|
|
71646
71643
|
r.resolve(), n && n(i);
|