ysyt-react-agent-lib 1.2.25 → 1.2.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ConsultModel-D-3Nw7CB.mjs → ConsultModel-B0g4sapV.mjs} +2 -2
- package/dist/{ConsultModel-CjZqy7Nx.js → ConsultModel-CwPWnbDX.js} +1 -1
- package/dist/{TransferModel-DCHK-ZHz.js → TransferModel-BQN0vfjr.js} +1 -1
- package/dist/{TransferModel-CTMKRBxp.mjs → TransferModel-D30vJSOe.mjs} +2 -2
- package/dist/{index-CcZM4uL3.js → index-CA6GtpIf.js} +1 -1
- package/dist/{index-DrZUzgV0.mjs → index-CDzJ3Vhz.mjs} +375 -377
- package/dist/{index-Crsm49TO.js → index-CEYQQfvr.js} +19 -19
- package/dist/{index-C8Y_xNl5.mjs → index-DRLrhuTR.mjs} +1 -1
- package/dist/ysyt-react-agent-lib.cjs.js +1 -1
- package/dist/ysyt-react-agent-lib.es.js +1 -1
- package/package.json +2 -2
|
@@ -782,14 +782,14 @@ var kE = function(e, n, r) {
|
|
|
782
782
|
}, p = aA(a, s, u, f, l);
|
|
783
783
|
return [d, u, p];
|
|
784
784
|
};
|
|
785
|
-
function
|
|
786
|
-
return
|
|
785
|
+
function Le() {
|
|
786
|
+
return Le = Object.assign ? Object.assign.bind() : function(t) {
|
|
787
787
|
for (var e = 1; e < arguments.length; e++) {
|
|
788
788
|
var n = arguments[e];
|
|
789
789
|
for (var r in n) ({}).hasOwnProperty.call(n, r) && (t[r] = n[r]);
|
|
790
790
|
}
|
|
791
791
|
return t;
|
|
792
|
-
},
|
|
792
|
+
}, Le.apply(null, arguments);
|
|
793
793
|
}
|
|
794
794
|
var PE = {
|
|
795
795
|
animationIterationCount: 1,
|
|
@@ -1327,7 +1327,7 @@ function Tc(t, e) {
|
|
|
1327
1327
|
), b = $(E, 3), h = b[0], S = b[1], T = b[2];
|
|
1328
1328
|
return function(R) {
|
|
1329
1329
|
var N;
|
|
1330
|
-
return !m || M || !p ? N = /* @__PURE__ */ c.createElement(sb, null) : N = /* @__PURE__ */ c.createElement("style",
|
|
1330
|
+
return !m || M || !p ? N = /* @__PURE__ */ c.createElement(sb, null) : N = /* @__PURE__ */ c.createElement("style", Le({}, P(P({}, Uo, S), Lr, T), {
|
|
1331
1331
|
dangerouslySetInnerHTML: {
|
|
1332
1332
|
__html: h
|
|
1333
1333
|
}
|
|
@@ -3927,17 +3927,17 @@ function jS(t, e, n, r) {
|
|
|
3927
3927
|
function Y() {
|
|
3928
3928
|
F(Ii), K(null, !0);
|
|
3929
3929
|
}
|
|
3930
|
-
var ee = sn(function(
|
|
3931
|
-
var
|
|
3932
|
-
if (
|
|
3930
|
+
var ee = sn(function(je) {
|
|
3931
|
+
var Ue = D();
|
|
3932
|
+
if (Ue !== Ii) {
|
|
3933
3933
|
var Ie = V();
|
|
3934
|
-
if (!(
|
|
3934
|
+
if (!(je && !je.deadline && je.target !== Ie)) {
|
|
3935
3935
|
var pe = W.current, Oe;
|
|
3936
|
-
|
|
3936
|
+
Ue === Ss && pe ? Oe = x == null ? void 0 : x(Ie, je) : Ue === ws && pe ? Oe = g == null ? void 0 : g(Ie, je) : Ue === Is && pe && (Oe = M == null ? void 0 : M(Ie, je)), pe && Oe !== !1 && Y();
|
|
3937
3937
|
}
|
|
3938
3938
|
}
|
|
3939
|
-
}), J = DS(ee), se = $(J, 1), le = se[0], ue = function(
|
|
3940
|
-
switch (
|
|
3939
|
+
}), J = DS(ee), se = $(J, 1), le = se[0], ue = function(Ue) {
|
|
3940
|
+
switch (Ue) {
|
|
3941
3941
|
case Ss:
|
|
3942
3942
|
return P(P(P({}, Qr, f), Do, C), Bo, w);
|
|
3943
3943
|
case ws:
|
|
@@ -3949,10 +3949,10 @@ function jS(t, e, n, r) {
|
|
|
3949
3949
|
}
|
|
3950
3950
|
}, te = c.useMemo(function() {
|
|
3951
3951
|
return ue(G);
|
|
3952
|
-
}, [G]), me = QS(G, !t, function(
|
|
3953
|
-
if (
|
|
3954
|
-
var
|
|
3955
|
-
return
|
|
3952
|
+
}, [G]), me = QS(G, !t, function(je) {
|
|
3953
|
+
if (je === Qr) {
|
|
3954
|
+
var Ue = te[Qr];
|
|
3955
|
+
return Ue ? Ue(V()) : A0;
|
|
3956
3956
|
}
|
|
3957
3957
|
if (ce in te) {
|
|
3958
3958
|
var Ie;
|
|
@@ -3969,12 +3969,12 @@ function jS(t, e, n, r) {
|
|
|
3969
3969
|
i0(function() {
|
|
3970
3970
|
if (!(L.current && xe.current === e)) {
|
|
3971
3971
|
T(e);
|
|
3972
|
-
var
|
|
3972
|
+
var je = L.current;
|
|
3973
3973
|
L.current = !0;
|
|
3974
|
-
var
|
|
3975
|
-
!
|
|
3976
|
-
var Ie = ue(
|
|
3977
|
-
|
|
3974
|
+
var Ue;
|
|
3975
|
+
!je && e && s && (Ue = Ss), je && e && o && (Ue = ws), (je && !e && l || !je && d && !e && l) && (Ue = Is);
|
|
3976
|
+
var Ie = ue(Ue);
|
|
3977
|
+
Ue && (t || Ie[Qr]) ? (F(Ue), de()) : F(Ii), xe.current = e;
|
|
3978
3978
|
}
|
|
3979
3979
|
}, [e]), Kt(function() {
|
|
3980
3980
|
// Cancel appear
|
|
@@ -4144,7 +4144,7 @@ function KS(t) {
|
|
|
4144
4144
|
C[m] = p[m], delete p[m];
|
|
4145
4145
|
}), delete p.keys, /* @__PURE__ */ c.createElement(v, p, A.map(function(m, y) {
|
|
4146
4146
|
var w = m.status, I = St(m, qS), O = w === zc || w === Yc;
|
|
4147
|
-
return /* @__PURE__ */ c.createElement(e,
|
|
4147
|
+
return /* @__PURE__ */ c.createElement(e, Le({}, C, {
|
|
4148
4148
|
key: I.key,
|
|
4149
4149
|
visible: O,
|
|
4150
4150
|
eventProps: I,
|
|
@@ -4295,8 +4295,8 @@ const ew = (t) => {
|
|
|
4295
4295
|
avatar: xe,
|
|
4296
4296
|
message: ve,
|
|
4297
4297
|
tag: Be,
|
|
4298
|
-
table:
|
|
4299
|
-
card:
|
|
4298
|
+
table: je,
|
|
4299
|
+
card: Ue,
|
|
4300
4300
|
tabs: Ie,
|
|
4301
4301
|
timeline: pe,
|
|
4302
4302
|
timePicker: Oe,
|
|
@@ -4307,7 +4307,7 @@ const ew = (t) => {
|
|
|
4307
4307
|
datePicker: be,
|
|
4308
4308
|
rangePicker: _e,
|
|
4309
4309
|
flex: ut,
|
|
4310
|
-
wave:
|
|
4310
|
+
wave: $e,
|
|
4311
4311
|
dropdown: Fe,
|
|
4312
4312
|
warning: Me,
|
|
4313
4313
|
tour: At,
|
|
@@ -4383,8 +4383,8 @@ const ew = (t) => {
|
|
|
4383
4383
|
avatar: xe,
|
|
4384
4384
|
message: ve,
|
|
4385
4385
|
tag: Be,
|
|
4386
|
-
table:
|
|
4387
|
-
card:
|
|
4386
|
+
table: je,
|
|
4387
|
+
card: Ue,
|
|
4388
4388
|
tabs: Ie,
|
|
4389
4389
|
timeline: pe,
|
|
4390
4390
|
timePicker: Oe,
|
|
@@ -4395,7 +4395,7 @@ const ew = (t) => {
|
|
|
4395
4395
|
datePicker: be,
|
|
4396
4396
|
rangePicker: _e,
|
|
4397
4397
|
flex: ut,
|
|
4398
|
-
wave:
|
|
4398
|
+
wave: $e,
|
|
4399
4399
|
dropdown: Fe,
|
|
4400
4400
|
warning: Me,
|
|
4401
4401
|
tour: At,
|
|
@@ -4450,20 +4450,20 @@ const ew = (t) => {
|
|
|
4450
4450
|
token: ge,
|
|
4451
4451
|
components: Q,
|
|
4452
4452
|
cssVar: re
|
|
4453
|
-
} = He, X = WS(He, ["algorithm", "token", "components", "cssVar"]), Ce = B && (!Array.isArray(B) || B.length > 0) ? Ic(B) : Uv,
|
|
4453
|
+
} = He, X = WS(He, ["algorithm", "token", "components", "cssVar"]), Ce = B && (!Array.isArray(B) || B.length > 0) ? Ic(B) : Uv, Pe = {};
|
|
4454
4454
|
Object.entries(Q || {}).forEach((Pt) => {
|
|
4455
4455
|
let [gt, It] = Pt;
|
|
4456
4456
|
const Ee = Object.assign({}, It);
|
|
4457
|
-
"algorithm" in Ee && (Ee.algorithm === !0 ? Ee.theme = Ce : (Array.isArray(Ee.algorithm) || typeof Ee.algorithm == "function") && (Ee.theme = Ic(Ee.algorithm)), delete Ee.algorithm),
|
|
4457
|
+
"algorithm" in Ee && (Ee.algorithm === !0 ? Ee.theme = Ce : (Array.isArray(Ee.algorithm) || typeof Ee.algorithm == "function") && (Ee.theme = Ic(Ee.algorithm)), delete Ee.algorithm), Pe[gt] = Ee;
|
|
4458
4458
|
});
|
|
4459
|
-
const
|
|
4459
|
+
const et = Object.assign(Object.assign({}, Ua), ge);
|
|
4460
4460
|
return Object.assign(Object.assign({}, X), {
|
|
4461
4461
|
theme: Ce,
|
|
4462
|
-
token:
|
|
4463
|
-
components:
|
|
4462
|
+
token: et,
|
|
4463
|
+
components: Pe,
|
|
4464
4464
|
override: Object.assign({
|
|
4465
|
-
override:
|
|
4466
|
-
},
|
|
4465
|
+
override: et
|
|
4466
|
+
}, Pe),
|
|
4467
4467
|
cssVar: re
|
|
4468
4468
|
});
|
|
4469
4469
|
}, [ze]);
|
|
@@ -4547,8 +4547,8 @@ function rw() {
|
|
|
4547
4547
|
{
|
|
4548
4548
|
var re = y.ReactDebugCurrentFrame, X = re.getStackAddendum();
|
|
4549
4549
|
X !== "" && (ge += "%s", Q = Q.concat([X]));
|
|
4550
|
-
var Ce = Q.map(function(
|
|
4551
|
-
return String(
|
|
4550
|
+
var Ce = Q.map(function(Pe) {
|
|
4551
|
+
return String(Pe);
|
|
4552
4552
|
});
|
|
4553
4553
|
Ce.unshift("Warning: " + ge), Function.prototype.apply.call(console[B], console, Ce);
|
|
4554
4554
|
}
|
|
@@ -4607,9 +4607,9 @@ function rw() {
|
|
|
4607
4607
|
var re = B.displayName || null;
|
|
4608
4608
|
return re !== null ? re : R(B.type) || "Memo";
|
|
4609
4609
|
case f: {
|
|
4610
|
-
var X = B, Ce = X._payload,
|
|
4610
|
+
var X = B, Ce = X._payload, Pe = X._init;
|
|
4611
4611
|
try {
|
|
4612
|
-
return R(
|
|
4612
|
+
return R(Pe(Ce));
|
|
4613
4613
|
} catch {
|
|
4614
4614
|
return null;
|
|
4615
4615
|
}
|
|
@@ -4714,27 +4714,27 @@ function rw() {
|
|
|
4714
4714
|
Ce = Y.current, Y.current = null, V();
|
|
4715
4715
|
try {
|
|
4716
4716
|
if (ge) {
|
|
4717
|
-
var
|
|
4717
|
+
var Pe = function() {
|
|
4718
4718
|
throw Error();
|
|
4719
4719
|
};
|
|
4720
|
-
if (Object.defineProperty(
|
|
4720
|
+
if (Object.defineProperty(Pe.prototype, "props", {
|
|
4721
4721
|
set: function() {
|
|
4722
4722
|
throw Error();
|
|
4723
4723
|
}
|
|
4724
4724
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
4725
4725
|
try {
|
|
4726
|
-
Reflect.construct(
|
|
4726
|
+
Reflect.construct(Pe, []);
|
|
4727
4727
|
} catch (dt) {
|
|
4728
4728
|
re = dt;
|
|
4729
4729
|
}
|
|
4730
|
-
Reflect.construct(B, [],
|
|
4730
|
+
Reflect.construct(B, [], Pe);
|
|
4731
4731
|
} else {
|
|
4732
4732
|
try {
|
|
4733
|
-
|
|
4733
|
+
Pe.call();
|
|
4734
4734
|
} catch (dt) {
|
|
4735
4735
|
re = dt;
|
|
4736
4736
|
}
|
|
4737
|
-
B.call(
|
|
4737
|
+
B.call(Pe.prototype);
|
|
4738
4738
|
}
|
|
4739
4739
|
} else {
|
|
4740
4740
|
try {
|
|
@@ -4746,17 +4746,17 @@ function rw() {
|
|
|
4746
4746
|
}
|
|
4747
4747
|
} catch (dt) {
|
|
4748
4748
|
if (dt && re && typeof dt.stack == "string") {
|
|
4749
|
-
for (var
|
|
4749
|
+
for (var et = dt.stack.split(`
|
|
4750
4750
|
`), Pt = re.stack.split(`
|
|
4751
|
-
`), gt =
|
|
4751
|
+
`), gt = et.length - 1, It = Pt.length - 1; gt >= 1 && It >= 0 && et[gt] !== Pt[It]; )
|
|
4752
4752
|
It--;
|
|
4753
4753
|
for (; gt >= 1 && It >= 0; gt--, It--)
|
|
4754
|
-
if (
|
|
4754
|
+
if (et[gt] !== Pt[It]) {
|
|
4755
4755
|
if (gt !== 1 || It !== 1)
|
|
4756
4756
|
do
|
|
4757
|
-
if (gt--, It--, It < 0 ||
|
|
4757
|
+
if (gt--, It--, It < 0 || et[gt] !== Pt[It]) {
|
|
4758
4758
|
var Ee = `
|
|
4759
|
-
` +
|
|
4759
|
+
` + et[gt].replace(" at new ", " at ");
|
|
4760
4760
|
return B.displayName && Ee.includes("<anonymous>") && (Ee = Ee.replace("<anonymous>", B.displayName)), typeof B == "function" && le.set(B, Ee), Ee;
|
|
4761
4761
|
}
|
|
4762
4762
|
while (gt >= 1 && It >= 0);
|
|
@@ -4816,25 +4816,25 @@ function rw() {
|
|
|
4816
4816
|
function Be(B, ge, Q, re, X) {
|
|
4817
4817
|
{
|
|
4818
4818
|
var Ce = Function.call.bind(ce);
|
|
4819
|
-
for (var
|
|
4820
|
-
if (Ce(B,
|
|
4821
|
-
var
|
|
4819
|
+
for (var Pe in B)
|
|
4820
|
+
if (Ce(B, Pe)) {
|
|
4821
|
+
var et = void 0;
|
|
4822
4822
|
try {
|
|
4823
|
-
if (typeof B[
|
|
4824
|
-
var Pt = Error((re || "React class") + ": " + Q + " type `" +
|
|
4823
|
+
if (typeof B[Pe] != "function") {
|
|
4824
|
+
var Pt = Error((re || "React class") + ": " + Q + " type `" + Pe + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof B[Pe] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
4825
4825
|
throw Pt.name = "Invariant Violation", Pt;
|
|
4826
4826
|
}
|
|
4827
|
-
|
|
4827
|
+
et = B[Pe](ge, Pe, re, Q, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
4828
4828
|
} catch (gt) {
|
|
4829
|
-
|
|
4829
|
+
et = gt;
|
|
4830
4830
|
}
|
|
4831
|
-
|
|
4831
|
+
et && !(et instanceof Error) && (ve(X), w("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", re || "React class", Q, Pe, typeof et), ve(null)), et instanceof Error && !(et.message in Se) && (Se[et.message] = !0, ve(X), w("Failed %s type: %s", Q, et.message), ve(null));
|
|
4832
4832
|
}
|
|
4833
4833
|
}
|
|
4834
4834
|
}
|
|
4835
|
-
var
|
|
4836
|
-
function
|
|
4837
|
-
return
|
|
4835
|
+
var je = Array.isArray;
|
|
4836
|
+
function Ue(B) {
|
|
4837
|
+
return je(B);
|
|
4838
4838
|
}
|
|
4839
4839
|
function Ie(B) {
|
|
4840
4840
|
{
|
|
@@ -4878,7 +4878,7 @@ function rw() {
|
|
|
4878
4878
|
}
|
|
4879
4879
|
return B.key !== void 0;
|
|
4880
4880
|
}
|
|
4881
|
-
function
|
|
4881
|
+
function $e(B, ge) {
|
|
4882
4882
|
typeof B.ref == "string" && tt.current;
|
|
4883
4883
|
}
|
|
4884
4884
|
function Fe(B, ge) {
|
|
@@ -4903,51 +4903,51 @@ function rw() {
|
|
|
4903
4903
|
});
|
|
4904
4904
|
}
|
|
4905
4905
|
}
|
|
4906
|
-
var At = function(B, ge, Q, re, X, Ce,
|
|
4907
|
-
var
|
|
4906
|
+
var At = function(B, ge, Q, re, X, Ce, Pe) {
|
|
4907
|
+
var et = {
|
|
4908
4908
|
// This tag allows us to uniquely identify this as a React Element
|
|
4909
4909
|
$$typeof: e,
|
|
4910
4910
|
// Built-in properties that belong on the element
|
|
4911
4911
|
type: B,
|
|
4912
4912
|
key: ge,
|
|
4913
4913
|
ref: Q,
|
|
4914
|
-
props:
|
|
4914
|
+
props: Pe,
|
|
4915
4915
|
// Record the component responsible for creating this element.
|
|
4916
4916
|
_owner: Ce
|
|
4917
4917
|
};
|
|
4918
|
-
return
|
|
4918
|
+
return et._store = {}, Object.defineProperty(et._store, "validated", {
|
|
4919
4919
|
configurable: !1,
|
|
4920
4920
|
enumerable: !1,
|
|
4921
4921
|
writable: !0,
|
|
4922
4922
|
value: !1
|
|
4923
|
-
}), Object.defineProperty(
|
|
4923
|
+
}), Object.defineProperty(et, "_self", {
|
|
4924
4924
|
configurable: !1,
|
|
4925
4925
|
enumerable: !1,
|
|
4926
4926
|
writable: !1,
|
|
4927
4927
|
value: re
|
|
4928
|
-
}), Object.defineProperty(
|
|
4928
|
+
}), Object.defineProperty(et, "_source", {
|
|
4929
4929
|
configurable: !1,
|
|
4930
4930
|
enumerable: !1,
|
|
4931
4931
|
writable: !1,
|
|
4932
4932
|
value: X
|
|
4933
|
-
}), Object.freeze && (Object.freeze(
|
|
4933
|
+
}), Object.freeze && (Object.freeze(et.props), Object.freeze(et)), et;
|
|
4934
4934
|
};
|
|
4935
4935
|
function lt(B, ge, Q, re, X) {
|
|
4936
4936
|
{
|
|
4937
|
-
var Ce,
|
|
4938
|
-
Q !== void 0 && (Ke(Q),
|
|
4937
|
+
var Ce, Pe = {}, et = null, Pt = null;
|
|
4938
|
+
Q !== void 0 && (Ke(Q), et = "" + Q), ut(ge) && (Ke(ge.key), et = "" + ge.key), _e(ge) && (Pt = ge.ref, $e(ge, X));
|
|
4939
4939
|
for (Ce in ge)
|
|
4940
|
-
ce.call(ge, Ce) && !it.hasOwnProperty(Ce) && (
|
|
4940
|
+
ce.call(ge, Ce) && !it.hasOwnProperty(Ce) && (Pe[Ce] = ge[Ce]);
|
|
4941
4941
|
if (B && B.defaultProps) {
|
|
4942
4942
|
var gt = B.defaultProps;
|
|
4943
4943
|
for (Ce in gt)
|
|
4944
|
-
|
|
4944
|
+
Pe[Ce] === void 0 && (Pe[Ce] = gt[Ce]);
|
|
4945
4945
|
}
|
|
4946
|
-
if (
|
|
4946
|
+
if (et || Pt) {
|
|
4947
4947
|
var It = typeof B == "function" ? B.displayName || B.name || "Unknown" : B;
|
|
4948
|
-
|
|
4948
|
+
et && Fe(Pe, It), Pt && Me(Pe, It);
|
|
4949
4949
|
}
|
|
4950
|
-
return At(B,
|
|
4950
|
+
return At(B, et, Pt, X, re, tt.current, Pe);
|
|
4951
4951
|
}
|
|
4952
4952
|
}
|
|
4953
4953
|
var Ct = y.ReactCurrentOwner, Bt = y.ReactDebugCurrentFrame;
|
|
@@ -5008,7 +5008,7 @@ Check the top-level render call using <` + Q + ">.");
|
|
|
5008
5008
|
{
|
|
5009
5009
|
if (typeof B != "object")
|
|
5010
5010
|
return;
|
|
5011
|
-
if (
|
|
5011
|
+
if (Ue(B))
|
|
5012
5012
|
for (var Q = 0; Q < B.length; Q++) {
|
|
5013
5013
|
var re = B[Q];
|
|
5014
5014
|
rn(re) && ze(re, ge);
|
|
@@ -5018,8 +5018,8 @@ Check the top-level render call using <` + Q + ">.");
|
|
|
5018
5018
|
else if (B) {
|
|
5019
5019
|
var X = m(B);
|
|
5020
5020
|
if (typeof X == "function" && X !== B.entries)
|
|
5021
|
-
for (var Ce = X.call(B),
|
|
5022
|
-
rn(
|
|
5021
|
+
for (var Ce = X.call(B), Pe; !(Pe = Ce.next()).done; )
|
|
5022
|
+
rn(Pe.value) && ze(Pe.value, ge);
|
|
5023
5023
|
}
|
|
5024
5024
|
}
|
|
5025
5025
|
}
|
|
@@ -5063,23 +5063,23 @@ Check the top-level render call using <` + Q + ">.");
|
|
|
5063
5063
|
var vt = {};
|
|
5064
5064
|
function ke(B, ge, Q, re, X, Ce) {
|
|
5065
5065
|
{
|
|
5066
|
-
var
|
|
5067
|
-
if (!
|
|
5068
|
-
var
|
|
5069
|
-
(B === void 0 || typeof B == "object" && B !== null && Object.keys(B).length === 0) && (
|
|
5066
|
+
var Pe = h(B);
|
|
5067
|
+
if (!Pe) {
|
|
5068
|
+
var et = "";
|
|
5069
|
+
(B === void 0 || typeof B == "object" && B !== null && Object.keys(B).length === 0) && (et += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
5070
5070
|
var Pt = Vt();
|
|
5071
|
-
Pt ?
|
|
5071
|
+
Pt ? et += Pt : et += en();
|
|
5072
5072
|
var gt;
|
|
5073
|
-
B === null ? gt = "null" :
|
|
5073
|
+
B === null ? gt = "null" : Ue(B) ? gt = "array" : B !== void 0 && B.$$typeof === e ? (gt = "<" + (R(B.type) || "Unknown") + " />", et = " Did you accidentally export a JSX literal instead of a component?") : gt = typeof B, w("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", gt, et);
|
|
5074
5074
|
}
|
|
5075
5075
|
var It = lt(B, ge, Q, X, Ce);
|
|
5076
5076
|
if (It == null)
|
|
5077
5077
|
return It;
|
|
5078
|
-
if (
|
|
5078
|
+
if (Pe) {
|
|
5079
5079
|
var Ee = ge.children;
|
|
5080
5080
|
if (Ee !== void 0)
|
|
5081
5081
|
if (re)
|
|
5082
|
-
if (
|
|
5082
|
+
if (Ue(Ee)) {
|
|
5083
5083
|
for (var De = 0; De < Ee.length; De++)
|
|
5084
5084
|
Xe(Ee[De], B);
|
|
5085
5085
|
Object.freeze && Object.freeze(Ee);
|
|
@@ -6018,12 +6018,12 @@ function Oa(t) {
|
|
|
6018
6018
|
return { contentDisposition: e, contentType: n, content: r };
|
|
6019
6019
|
}
|
|
6020
6020
|
}
|
|
6021
|
-
var Rr,
|
|
6021
|
+
var Rr, Qe;
|
|
6022
6022
|
(function(t) {
|
|
6023
6023
|
t.Initial = "Initial", t.Early = "Early", t.AckWait = "AckWait", t.Confirmed = "Confirmed", t.Terminated = "Terminated";
|
|
6024
6024
|
})(Rr = Rr || (Rr = {})), function(t) {
|
|
6025
6025
|
t.Initial = "Initial", t.HaveLocalOffer = "HaveLocalOffer", t.HaveRemoteOffer = "HaveRemoteOffer", t.Stable = "Stable", t.Closed = "Closed";
|
|
6026
|
-
}(
|
|
6026
|
+
}(Qe = Qe || (Qe = {}));
|
|
6027
6027
|
const dw = 500, Bn = { T1: dw, T2: 4e3, TIMER_B: 32e3, TIMER_D: 0, TIMER_F: 32e3, TIMER_H: 32e3, TIMER_I: 0, TIMER_J: 0, TIMER_K: 0, TIMER_L: 32e3, TIMER_M: 32e3, TIMER_N: 32e3, PROVISIONAL_RESPONSE_INTERVAL: 6e4 };
|
|
6028
6028
|
let Mi = class extends po {
|
|
6029
6029
|
constructor(e) {
|
|
@@ -6319,12 +6319,12 @@ let tu = class E0 {
|
|
|
6319
6319
|
this.delegate.onAck(i);
|
|
6320
6320
|
}
|
|
6321
6321
|
switch (this.pendingReinviteAck = !1, n.signalingState) {
|
|
6322
|
-
case
|
|
6322
|
+
case Qe.Initial: {
|
|
6323
6323
|
this.logger.error(`Invalid signaling state ${n.signalingState}.`);
|
|
6324
6324
|
const i = ["Reason: " + this.getReasonHeaderValue(488, "Bad Media Description")];
|
|
6325
6325
|
return n.bye(void 0, { extraHeaders: i }), this.stateTransition(he.Terminated), Promise.resolve();
|
|
6326
6326
|
}
|
|
6327
|
-
case
|
|
6327
|
+
case Qe.Stable: {
|
|
6328
6328
|
const i = Oa(e.message);
|
|
6329
6329
|
return i ? i.contentDisposition === "render" ? (this._renderbody = i.content, this._rendertype = i.contentType, Promise.resolve()) : i.contentDisposition !== "session" ? Promise.resolve() : this.setAnswer(i, r).catch((o) => {
|
|
6330
6330
|
this.logger.error(o.message);
|
|
@@ -6332,17 +6332,17 @@ let tu = class E0 {
|
|
|
6332
6332
|
n.bye(void 0, { extraHeaders: a }), this.stateTransition(he.Terminated);
|
|
6333
6333
|
}) : Promise.resolve();
|
|
6334
6334
|
}
|
|
6335
|
-
case
|
|
6335
|
+
case Qe.HaveLocalOffer: {
|
|
6336
6336
|
this.logger.error(`Invalid signaling state ${n.signalingState}.`);
|
|
6337
6337
|
const i = ["Reason: " + this.getReasonHeaderValue(488, "Bad Media Description")];
|
|
6338
6338
|
return n.bye(void 0, { extraHeaders: i }), this.stateTransition(he.Terminated), Promise.resolve();
|
|
6339
6339
|
}
|
|
6340
|
-
case
|
|
6340
|
+
case Qe.HaveRemoteOffer: {
|
|
6341
6341
|
this.logger.error(`Invalid signaling state ${n.signalingState}.`);
|
|
6342
6342
|
const i = ["Reason: " + this.getReasonHeaderValue(488, "Bad Media Description")];
|
|
6343
6343
|
return n.bye(void 0, { extraHeaders: i }), this.stateTransition(he.Terminated), Promise.resolve();
|
|
6344
6344
|
}
|
|
6345
|
-
case
|
|
6345
|
+
case Qe.Closed:
|
|
6346
6346
|
default:
|
|
6347
6347
|
throw new Error(`Invalid signaling state ${n.signalingState}.`);
|
|
6348
6348
|
}
|
|
@@ -6378,7 +6378,7 @@ let tu = class E0 {
|
|
|
6378
6378
|
this.delegate && this.delegate.onInvite && this.delegate.onInvite(e.message, o.message, 200);
|
|
6379
6379
|
}).catch((i) => {
|
|
6380
6380
|
if (this.logger.error(i.message), this.logger.error("Failed to handle to re-INVITE request"), !this.dialog) throw new Error("Dialog undefined.");
|
|
6381
|
-
if (this.logger.error(this.dialog.signalingState), this.dialog.signalingState ===
|
|
6381
|
+
if (this.logger.error(this.dialog.signalingState), this.dialog.signalingState === Qe.Stable) {
|
|
6382
6382
|
const o = e.reject({ statusCode: 488 });
|
|
6383
6383
|
return void (this.delegate && this.delegate.onInvite && this.delegate.onInvite(e.message, o.message, 488));
|
|
6384
6384
|
}
|
|
@@ -6436,16 +6436,16 @@ let tu = class E0 {
|
|
|
6436
6436
|
generateResponseOfferAnswerInDialog(e) {
|
|
6437
6437
|
if (!this.dialog) throw new Error("Dialog undefined.");
|
|
6438
6438
|
switch (this.dialog.signalingState) {
|
|
6439
|
-
case
|
|
6439
|
+
case Qe.Initial:
|
|
6440
6440
|
return this.getOffer(e);
|
|
6441
|
-
case
|
|
6441
|
+
case Qe.HaveLocalOffer:
|
|
6442
6442
|
return Promise.resolve(void 0);
|
|
6443
|
-
case
|
|
6443
|
+
case Qe.HaveRemoteOffer:
|
|
6444
6444
|
if (!this.dialog.offer) throw new Error(`Session offer undefined in signaling state ${this.dialog.signalingState}.`);
|
|
6445
6445
|
return this.setOfferAndGetAnswer(this.dialog.offer, e);
|
|
6446
|
-
case
|
|
6446
|
+
case Qe.Stable:
|
|
6447
6447
|
return this.state !== he.Established ? Promise.resolve(void 0) : this.getOffer(e);
|
|
6448
|
-
case
|
|
6448
|
+
case Qe.Closed:
|
|
6449
6449
|
default:
|
|
6450
6450
|
throw new Error(`Invalid signaling state ${this.dialog.signalingState}.`);
|
|
6451
6451
|
}
|
|
@@ -6676,16 +6676,16 @@ let nu = class extends tu {
|
|
|
6676
6676
|
if (!n || n.contentDisposition !== "session") return Promise.resolve(void 0);
|
|
6677
6677
|
const r = { sessionDescriptionHandlerOptions: this.sessionDescriptionHandlerOptions, sessionDescriptionHandlerModifiers: this.sessionDescriptionHandlerModifiers };
|
|
6678
6678
|
switch (this.dialog.signalingState) {
|
|
6679
|
-
case
|
|
6679
|
+
case Qe.Initial:
|
|
6680
6680
|
throw new Error(`Invalid signaling state ${this.dialog.signalingState}.`);
|
|
6681
|
-
case
|
|
6681
|
+
case Qe.Stable:
|
|
6682
6682
|
return this.setAnswer(n, r).then(() => {
|
|
6683
6683
|
});
|
|
6684
|
-
case
|
|
6684
|
+
case Qe.HaveLocalOffer:
|
|
6685
6685
|
throw new Error(`Invalid signaling state ${this.dialog.signalingState}.`);
|
|
6686
|
-
case
|
|
6686
|
+
case Qe.HaveRemoteOffer:
|
|
6687
6687
|
return this.setOfferAndGetAnswer(n, r);
|
|
6688
|
-
case
|
|
6688
|
+
case Qe.Closed:
|
|
6689
6689
|
default:
|
|
6690
6690
|
throw new Error(`Invalid signaling state ${this.dialog.signalingState}.`);
|
|
6691
6691
|
}
|
|
@@ -6881,10 +6881,10 @@ let nu = class extends tu {
|
|
|
6881
6881
|
if (this.logger.log("Inviter.onAccept"), this.state !== he.Establishing) return this.logger.error(`Accept received while in state ${this.state}, dropping response`), Promise.reject(new Error(`Invalid session state ${this.state}`));
|
|
6882
6882
|
const n = e.message, r = e.session;
|
|
6883
6883
|
switch (n.hasHeader("P-Asserted-Identity") && (this._assertedIdentity = In.nameAddrHeaderParse(n.getHeader("P-Asserted-Identity"))), r.delegate = { onAck: (i) => this.onAckRequest(i), onBye: (i) => this.onByeRequest(i), onInfo: (i) => this.onInfoRequest(i), onInvite: (i) => this.onInviteRequest(i), onMessage: (i) => this.onMessageRequest(i), onNotify: (i) => this.onNotifyRequest(i), onPrack: (i) => this.onPrackRequest(i), onRefer: (i) => this.onReferRequest(i) }, this._dialog = r, r.signalingState) {
|
|
6884
|
-
case
|
|
6885
|
-
case
|
|
6884
|
+
case Qe.Initial:
|
|
6885
|
+
case Qe.HaveLocalOffer:
|
|
6886
6886
|
return this.logger.error("Received 2xx response to INVITE without a session description"), this.ackAndBye(e, 400, "Missing session description"), this.stateTransition(he.Terminated), Promise.reject(new Error("Bad Media Description"));
|
|
6887
|
-
case
|
|
6887
|
+
case Qe.HaveRemoteOffer: {
|
|
6888
6888
|
if (!this._dialog.offer) throw new Error(`Session offer undefined in signaling state ${this._dialog.signalingState}.`);
|
|
6889
6889
|
const i = { sessionDescriptionHandlerModifiers: this.sessionDescriptionHandlerModifiers, sessionDescriptionHandlerOptions: this.sessionDescriptionHandlerOptions };
|
|
6890
6890
|
return this.setOfferAndGetAnswer(this._dialog.offer, i).then((o) => {
|
|
@@ -6893,7 +6893,7 @@ let nu = class extends tu {
|
|
|
6893
6893
|
throw this.ackAndBye(e, 488, "Invalid session description"), this.stateTransition(he.Terminated), o;
|
|
6894
6894
|
});
|
|
6895
6895
|
}
|
|
6896
|
-
case
|
|
6896
|
+
case Qe.Stable: {
|
|
6897
6897
|
if (this.earlyMediaSessionDescriptionHandlers.size > 0) {
|
|
6898
6898
|
const a = this.earlyMediaSessionDescriptionHandlers.get(r.id);
|
|
6899
6899
|
if (!a) throw new Error("Session description handler undefined.");
|
|
@@ -6917,7 +6917,7 @@ let nu = class extends tu {
|
|
|
6917
6917
|
throw this.logger.error(a.message), this.ackAndBye(e, 488, "Not Acceptable Here"), this.stateTransition(he.Terminated), a;
|
|
6918
6918
|
});
|
|
6919
6919
|
}
|
|
6920
|
-
case
|
|
6920
|
+
case Qe.Closed:
|
|
6921
6921
|
return Promise.reject(new Error("Terminated."));
|
|
6922
6922
|
default:
|
|
6923
6923
|
throw new Error("Unknown session signaling state.");
|
|
@@ -6931,11 +6931,11 @@ let nu = class extends tu {
|
|
|
6931
6931
|
r.hasHeader("P-Asserted-Identity") && (this._assertedIdentity = In.nameAddrHeaderParse(r.getHeader("P-Asserted-Identity")));
|
|
6932
6932
|
const o = r.getHeader("require"), a = r.getHeader("rseq"), s = !!(o && o.includes("100rel") && a && Number(a)), A = [];
|
|
6933
6933
|
switch (s && A.push("RAck: " + r.getHeader("rseq") + " " + r.getHeader("cseq")), i.signalingState) {
|
|
6934
|
-
case
|
|
6934
|
+
case Qe.Initial:
|
|
6935
6935
|
return s && (this.logger.warn("First reliable provisional response received MUST contain an offer when INVITE does not contain an offer."), e.prack({ extraHeaders: A })), Promise.resolve();
|
|
6936
|
-
case
|
|
6936
|
+
case Qe.HaveLocalOffer:
|
|
6937
6937
|
return s && e.prack({ extraHeaders: A }), Promise.resolve();
|
|
6938
|
-
case
|
|
6938
|
+
case Qe.HaveRemoteOffer:
|
|
6939
6939
|
if (!s) return this.logger.warn("Non-reliable provisional response MUST NOT contain an initial offer, discarding response."), Promise.resolve();
|
|
6940
6940
|
{
|
|
6941
6941
|
const l = this.sessionDescriptionHandlerFactory(this, this.userAgent.configuration.sessionDescriptionHandlerFactoryOptions || {});
|
|
@@ -6946,7 +6946,7 @@ let nu = class extends tu {
|
|
|
6946
6946
|
throw this.stateTransition(he.Terminated), u;
|
|
6947
6947
|
});
|
|
6948
6948
|
}
|
|
6949
|
-
case
|
|
6949
|
+
case Qe.Stable:
|
|
6950
6950
|
if (s && e.prack({ extraHeaders: A }), this.earlyMedia && !this.earlyMediaDialog) {
|
|
6951
6951
|
this.earlyMediaDialog = i;
|
|
6952
6952
|
const l = i.answer;
|
|
@@ -6957,7 +6957,7 @@ let nu = class extends tu {
|
|
|
6957
6957
|
});
|
|
6958
6958
|
}
|
|
6959
6959
|
return Promise.resolve();
|
|
6960
|
-
case
|
|
6960
|
+
case Qe.Closed:
|
|
6961
6961
|
return Promise.reject(new Error("Terminated."));
|
|
6962
6962
|
default:
|
|
6963
6963
|
throw new Error("Unknown session signaling state.");
|
|
@@ -8353,13 +8353,13 @@ let Iw = class extends ti {
|
|
|
8353
8353
|
}
|
|
8354
8354
|
}, dA = class extends Ko {
|
|
8355
8355
|
constructor(e, n, r, i) {
|
|
8356
|
-
super(n, r), this.initialTransaction = e, this._signalingState =
|
|
8356
|
+
super(n, r), this.initialTransaction = e, this._signalingState = Qe.Initial, this.ackWait = !1, this.ackProcessing = !1, this.delegate = i, e instanceof nr && (this.ackWait = !0), this.early || this.start2xxRetransmissionTimer(), this.signalingStateTransition(e.request), this.logger = n.loggerFactory.getLogger("sip.invite-dialog"), this.logger.log(`INVITE dialog ${this.id} constructed`);
|
|
8357
8357
|
}
|
|
8358
8358
|
dispose() {
|
|
8359
|
-
super.dispose(), this._signalingState =
|
|
8359
|
+
super.dispose(), this._signalingState = Qe.Closed, this._offer = void 0, this._answer = void 0, this.invite2xxTimer && (clearTimeout(this.invite2xxTimer), this.invite2xxTimer = void 0), this.logger.log(`INVITE dialog ${this.id} destroyed`);
|
|
8360
8360
|
}
|
|
8361
8361
|
get sessionState() {
|
|
8362
|
-
return this.early ? Rr.Early : this.ackWait ? Rr.AckWait : this._signalingState ===
|
|
8362
|
+
return this.early ? Rr.Early : this.ackWait ? Rr.AckWait : this._signalingState === Qe.Closed ? Rr.Terminated : Rr.Confirmed;
|
|
8363
8363
|
}
|
|
8364
8364
|
get signalingState() {
|
|
8365
8365
|
return this._signalingState;
|
|
@@ -8429,7 +8429,7 @@ let Iw = class extends ti {
|
|
|
8429
8429
|
this.logger.warn(`INVITE dialog ${this.id} received re-INVITE while ${i}`), this.logger.warn("RFC 5407 suggests the following to avoid this race condition... Note: Implementation issues are outside the scope of this document, but the following tip is provided for avoiding race conditions of this type. The caller can delay sending re-INVITE F6 for some period of time (2 seconds, perhaps), after which the caller can reasonably assume that its ACK has been received. Implementors can decouple the actions of the user (e.g., pressing the hold button) from the actions of the protocol (the sending of re-INVITE F6), so that the UA can behave like this. In this case, it is the implementor's choice as to how long to wait. In most cases, such an implementation may be useful to prevent the type of race condition shown in this section. This document expresses no preference about whether or not they should wait for an ACK to be delivered. After considering the impact on user experience, implementors should decide whether or not to wait for a while, because the user experience depends on the implementation and has no direct bearing on protocol behavior.");
|
|
8430
8430
|
}, r = [`Retry-After: ${Math.floor(10 * Math.random()) + 1}`];
|
|
8431
8431
|
if (this.ackProcessing) return this.core.replyStateless(e, { statusCode: 500, extraHeaders: r }), void n();
|
|
8432
|
-
if (this.ackWait && this.signalingState !==
|
|
8432
|
+
if (this.ackWait && this.signalingState !== Qe.Stable) return this.core.replyStateless(e, { statusCode: 500, extraHeaders: r }), void n();
|
|
8433
8433
|
if (this.reinviteUserAgentServer) return void this.core.replyStateless(e, { statusCode: 500, extraHeaders: r });
|
|
8434
8434
|
if (this.reinviteUserAgentClient) return void this.core.replyStateless(e, { statusCode: 491 });
|
|
8435
8435
|
}
|
|
@@ -8515,65 +8515,65 @@ let Iw = class extends ti {
|
|
|
8515
8515
|
return !0;
|
|
8516
8516
|
}
|
|
8517
8517
|
signalingStateRollback() {
|
|
8518
|
-
this._signalingState !==
|
|
8518
|
+
this._signalingState !== Qe.HaveLocalOffer && this.signalingState !== Qe.HaveRemoteOffer || this._rollbackOffer && this._rollbackAnswer && (this._signalingState = Qe.Stable, this._offer = this._rollbackOffer, this._answer = this._rollbackAnswer);
|
|
8519
8519
|
}
|
|
8520
8520
|
signalingStateTransition(e) {
|
|
8521
8521
|
const n = Oa(e);
|
|
8522
8522
|
if (n && n.contentDisposition === "session") {
|
|
8523
|
-
if (this._signalingState ===
|
|
8524
|
-
case
|
|
8525
|
-
case
|
|
8526
|
-
this._signalingState =
|
|
8523
|
+
if (this._signalingState === Qe.Stable && (this._rollbackOffer = this._offer, this._rollbackAnswer = this._answer), e instanceof Qo) switch (this._signalingState) {
|
|
8524
|
+
case Qe.Initial:
|
|
8525
|
+
case Qe.Stable:
|
|
8526
|
+
this._signalingState = Qe.HaveRemoteOffer, this._offer = n, this._answer = void 0;
|
|
8527
8527
|
break;
|
|
8528
|
-
case
|
|
8529
|
-
this._signalingState =
|
|
8528
|
+
case Qe.HaveLocalOffer:
|
|
8529
|
+
this._signalingState = Qe.Stable, this._answer = n;
|
|
8530
8530
|
break;
|
|
8531
|
-
case
|
|
8532
|
-
case
|
|
8531
|
+
case Qe.HaveRemoteOffer:
|
|
8532
|
+
case Qe.Closed:
|
|
8533
8533
|
break;
|
|
8534
8534
|
default:
|
|
8535
8535
|
throw new Error("Unexpected signaling state.");
|
|
8536
8536
|
}
|
|
8537
8537
|
if (e instanceof ji) switch (this._signalingState) {
|
|
8538
|
-
case
|
|
8539
|
-
case
|
|
8540
|
-
this._signalingState =
|
|
8538
|
+
case Qe.Initial:
|
|
8539
|
+
case Qe.Stable:
|
|
8540
|
+
this._signalingState = Qe.HaveRemoteOffer, this._offer = n, this._answer = void 0;
|
|
8541
8541
|
break;
|
|
8542
|
-
case
|
|
8543
|
-
this._signalingState =
|
|
8542
|
+
case Qe.HaveLocalOffer:
|
|
8543
|
+
this._signalingState = Qe.Stable, this._answer = n;
|
|
8544
8544
|
break;
|
|
8545
|
-
case
|
|
8546
|
-
case
|
|
8545
|
+
case Qe.HaveRemoteOffer:
|
|
8546
|
+
case Qe.Closed:
|
|
8547
8547
|
break;
|
|
8548
8548
|
default:
|
|
8549
8549
|
throw new Error("Unexpected signaling state.");
|
|
8550
8550
|
}
|
|
8551
8551
|
if (e instanceof Kd) switch (this._signalingState) {
|
|
8552
|
-
case
|
|
8553
|
-
case
|
|
8554
|
-
this._signalingState =
|
|
8552
|
+
case Qe.Initial:
|
|
8553
|
+
case Qe.Stable:
|
|
8554
|
+
this._signalingState = Qe.HaveLocalOffer, this._offer = n, this._answer = void 0;
|
|
8555
8555
|
break;
|
|
8556
|
-
case
|
|
8556
|
+
case Qe.HaveLocalOffer:
|
|
8557
8557
|
break;
|
|
8558
|
-
case
|
|
8559
|
-
this._signalingState =
|
|
8558
|
+
case Qe.HaveRemoteOffer:
|
|
8559
|
+
this._signalingState = Qe.Stable, this._answer = n;
|
|
8560
8560
|
break;
|
|
8561
|
-
case
|
|
8561
|
+
case Qe.Closed:
|
|
8562
8562
|
break;
|
|
8563
8563
|
default:
|
|
8564
8564
|
throw new Error("Unexpected signaling state.");
|
|
8565
8565
|
}
|
|
8566
8566
|
if (C0(e)) switch (this._signalingState) {
|
|
8567
|
-
case
|
|
8568
|
-
case
|
|
8569
|
-
this._signalingState =
|
|
8567
|
+
case Qe.Initial:
|
|
8568
|
+
case Qe.Stable:
|
|
8569
|
+
this._signalingState = Qe.HaveLocalOffer, this._offer = n, this._answer = void 0;
|
|
8570
8570
|
break;
|
|
8571
|
-
case
|
|
8571
|
+
case Qe.HaveLocalOffer:
|
|
8572
8572
|
break;
|
|
8573
|
-
case
|
|
8574
|
-
this._signalingState =
|
|
8573
|
+
case Qe.HaveRemoteOffer:
|
|
8574
|
+
this._signalingState = Qe.Stable, this._answer = n;
|
|
8575
8575
|
break;
|
|
8576
|
-
case
|
|
8576
|
+
case Qe.Closed:
|
|
8577
8577
|
break;
|
|
8578
8578
|
default:
|
|
8579
8579
|
throw new Error("Unexpected signaling state.");
|
|
@@ -8638,7 +8638,7 @@ let Iw = class extends ti {
|
|
|
8638
8638
|
i = new dA(a, this.core, r), this.earlyDialogs.set(i.id, i);
|
|
8639
8639
|
}
|
|
8640
8640
|
if (!i.reliableSequenceGuard(e)) return void this.logger.warn("1xx INVITE reliable response received out of order or is a retransmission, dropping.");
|
|
8641
|
-
i.signalingState !==
|
|
8641
|
+
i.signalingState !== Qe.Initial && i.signalingState !== Qe.HaveLocalOffer || i.signalingStateTransition(e);
|
|
8642
8642
|
const o = i;
|
|
8643
8643
|
this.delegate && this.delegate.onProgress && this.delegate.onProgress({ message: e, session: o, prack: (a) => o.prack(void 0, a) });
|
|
8644
8644
|
}
|
|
@@ -8664,7 +8664,7 @@ let Iw = class extends ti {
|
|
|
8664
8664
|
if (!(a instanceof ki)) throw new Error("Transaction not instance of InviteClientTransaction.");
|
|
8665
8665
|
i = new dA(a, this.core, r), this.confirmedDialogs.set(i.id, i);
|
|
8666
8666
|
}
|
|
8667
|
-
i.signalingState !==
|
|
8667
|
+
i.signalingState !== Qe.Initial && i.signalingState !== Qe.HaveLocalOffer || i.signalingStateTransition(e);
|
|
8668
8668
|
const o = i;
|
|
8669
8669
|
if (this.delegate && this.delegate.onAccept) this.delegate.onAccept({ message: e, session: o, ack: (a) => {
|
|
8670
8670
|
const s = o.ack(a);
|
|
@@ -8702,12 +8702,12 @@ let Iw = class extends ti {
|
|
|
8702
8702
|
}
|
|
8703
8703
|
const n = this.message.getHeaders("record-route").map((A) => `Record-Route: ${A}`), r = `Contact: ${this.core.configuration.contact.toString()}`, i = "Allow: " + Fi.toString();
|
|
8704
8704
|
if (!e.body) {
|
|
8705
|
-
if (this.confirmedDialog.signalingState ===
|
|
8706
|
-
else if (this.confirmedDialog.signalingState ===
|
|
8705
|
+
if (this.confirmedDialog.signalingState === Qe.Stable) e.body = this.confirmedDialog.answer;
|
|
8706
|
+
else if (this.confirmedDialog.signalingState === Qe.Initial || this.confirmedDialog.signalingState === Qe.HaveRemoteOffer) throw new Error("Response must have a body.");
|
|
8707
8707
|
}
|
|
8708
8708
|
e.statusCode = e.statusCode || 200, e.extraHeaders = e.extraHeaders || [], e.extraHeaders = e.extraHeaders.concat(n), e.extraHeaders.push(i), e.extraHeaders.push(r);
|
|
8709
8709
|
const o = super.accept(e), a = this.confirmedDialog, s = Object.assign(Object.assign({}, o), { session: a });
|
|
8710
|
-
return e.body && this.confirmedDialog.signalingState !==
|
|
8710
|
+
return e.body && this.confirmedDialog.signalingState !== Qe.Stable && this.confirmedDialog.signalingStateTransition(e.body), s;
|
|
8711
8711
|
}
|
|
8712
8712
|
progress(e = { statusCode: 180 }) {
|
|
8713
8713
|
if (!this.progressable) throw new Mi(`${this.message.method} not progressable in state ${this.transaction.state}.`);
|
|
@@ -8720,7 +8720,7 @@ let Iw = class extends ti {
|
|
|
8720
8720
|
const n = this.message.getHeaders("record-route").map((s) => `Record-Route: ${s}`), r = `Contact: ${this.core.configuration.contact}`;
|
|
8721
8721
|
e.extraHeaders = e.extraHeaders || [], e.extraHeaders = e.extraHeaders.concat(n), e.extraHeaders.push(r);
|
|
8722
8722
|
const i = super.progress(e), o = this.earlyDialog, a = Object.assign(Object.assign({}, i), { session: o });
|
|
8723
|
-
return e.body && this.earlyDialog.signalingState !==
|
|
8723
|
+
return e.body && this.earlyDialog.signalingState !== Qe.Stable && this.earlyDialog.signalingStateTransition(e.body), a;
|
|
8724
8724
|
}
|
|
8725
8725
|
redirect(e, n = { statusCode: 302 }) {
|
|
8726
8726
|
return super.redirect(e, n);
|
|
@@ -10055,7 +10055,7 @@ const fe = { on: (t, e) => (ma.on(t, e), fe), off(t, e) {
|
|
|
10055
10055
|
this.setState({ displayText: t }), fe.emit(ie.CALL_PROGRESS, t);
|
|
10056
10056
|
}
|
|
10057
10057
|
updateActionConfigs(t, e = !0) {
|
|
10058
|
-
const { show_satisfaction: n } = Z.agentInfo || {}, r = this.get("answerDevice"), i = t.filter((o) => (n !== 0 || o !== "satisfaction" || !e) && (r !== 2 || o !== "answer"));
|
|
10058
|
+
const { show_satisfaction: n } = Z.agentInfo || {}, r = this.get("answerDevice"), i = t.filter((o) => (n !== 0 || o !== "satisfaction" || !e) && (r !== 2 && r !== 3 || o !== "answer"));
|
|
10059
10059
|
this.setState({ actionConfigs: i }), fe.emit(Ge.PHONE_BAR_OPERATION, i);
|
|
10060
10060
|
}
|
|
10061
10061
|
updateConsultIsAnswer(t) {
|
|
@@ -18205,7 +18205,7 @@ var ox = ["prefixCls", "className", "style", "checked", "disabled", "defaultChec
|
|
|
18205
18205
|
title: f,
|
|
18206
18206
|
style: o,
|
|
18207
18207
|
ref: m
|
|
18208
|
-
}, /* @__PURE__ */ c.createElement("input",
|
|
18208
|
+
}, /* @__PURE__ */ c.createElement("input", Le({}, v, {
|
|
18209
18209
|
className: "".concat(r, "-input"),
|
|
18210
18210
|
ref: C,
|
|
18211
18211
|
onChange: g,
|
|
@@ -20006,7 +20006,7 @@ P(gf, "defaultProps", {
|
|
|
20006
20006
|
});
|
|
20007
20007
|
function z1(t) {
|
|
20008
20008
|
var e, n = t.name, r = St(t, u3), i = c.useContext(Xo), o = c.useContext(EA), a = n !== void 0 ? gn(n) : void 0, s = (e = r.isListField) !== null && e !== void 0 ? e : !!o, A = "keep";
|
|
20009
|
-
return s || (A = "_".concat((a || []).join("_"))), process.env.NODE_ENV !== "production" && r.preserve === !1 && s && a.length <= 1 && bt(!1, "`preserve` should not apply on Form.List fields."), /* @__PURE__ */ c.createElement(gf,
|
|
20009
|
+
return s || (A = "_".concat((a || []).join("_"))), process.env.NODE_ENV !== "production" && r.preserve === !1 && s && a.length <= 1 && bt(!1, "`preserve` should not apply on Form.List fields."), /* @__PURE__ */ c.createElement(gf, Le({
|
|
20010
20010
|
key: A,
|
|
20011
20011
|
name: a,
|
|
20012
20012
|
isListField: s
|
|
@@ -20767,7 +20767,7 @@ var fd = /* @__PURE__ */ c.createContext({
|
|
|
20767
20767
|
}, /* @__PURE__ */ c.createElement(Xo.Provider, {
|
|
20768
20768
|
value: G
|
|
20769
20769
|
}, k));
|
|
20770
|
-
return u === !1 ? L : /* @__PURE__ */ c.createElement(u,
|
|
20770
|
+
return u === !1 ? L : /* @__PURE__ */ c.createElement(u, Le({}, I, {
|
|
20771
20771
|
ref: O,
|
|
20772
20772
|
onSubmit: function(V) {
|
|
20773
20773
|
V.preventDefault(), V.stopPropagation(), E.submit();
|
|
@@ -21142,7 +21142,7 @@ var _1 = /* @__PURE__ */ ne.forwardRef(function(t, e) {
|
|
|
21142
21142
|
className: Ae("".concat(s, "-suffix"), M == null ? void 0 : M.suffix),
|
|
21143
21143
|
style: b == null ? void 0 : b.suffix
|
|
21144
21144
|
}, L, l);
|
|
21145
|
-
K = /* @__PURE__ */ ne.createElement(R,
|
|
21145
|
+
K = /* @__PURE__ */ ne.createElement(R, Le({
|
|
21146
21146
|
className: ee,
|
|
21147
21147
|
style: b == null ? void 0 : b.affixWrapper,
|
|
21148
21148
|
onClick: U
|
|
@@ -21253,7 +21253,7 @@ var P3 = ["autoComplete", "onChange", "onFocus", "onBlur", "onPressEnter", "onKe
|
|
|
21253
21253
|
D.current && (D.current = !1), R(!1), o == null || o(pe);
|
|
21254
21254
|
}, ve = function(pe) {
|
|
21255
21255
|
L(""), U(), F.current && bA(F.current, pe, r);
|
|
21256
|
-
}, Be = ue && "".concat(u, "-out-of-range"),
|
|
21256
|
+
}, Be = ue && "".concat(u, "-out-of-range"), je = function() {
|
|
21257
21257
|
var pe = mr(t, [
|
|
21258
21258
|
"prefixCls",
|
|
21259
21259
|
"onPressEnter",
|
|
@@ -21273,7 +21273,7 @@ var P3 = ["autoComplete", "onChange", "onFocus", "onBlur", "onPressEnter", "onKe
|
|
|
21273
21273
|
"classNames",
|
|
21274
21274
|
"onClear"
|
|
21275
21275
|
]);
|
|
21276
|
-
return /* @__PURE__ */ ne.createElement("input",
|
|
21276
|
+
return /* @__PURE__ */ ne.createElement("input", Le({
|
|
21277
21277
|
autoComplete: n
|
|
21278
21278
|
}, pe, {
|
|
21279
21279
|
onChange: me,
|
|
@@ -21291,7 +21291,7 @@ var P3 = ["autoComplete", "onChange", "onFocus", "onBlur", "onPressEnter", "onKe
|
|
|
21291
21291
|
},
|
|
21292
21292
|
onCompositionEnd: z
|
|
21293
21293
|
}));
|
|
21294
|
-
},
|
|
21294
|
+
}, Ue = function() {
|
|
21295
21295
|
var pe = Number(se) > 0;
|
|
21296
21296
|
if (C || J.show) {
|
|
21297
21297
|
var Oe = J.showFormatter ? J.showFormatter({
|
|
@@ -21306,19 +21306,19 @@ var P3 = ["autoComplete", "onChange", "onFocus", "onBlur", "onPressEnter", "onKe
|
|
|
21306
21306
|
}
|
|
21307
21307
|
return null;
|
|
21308
21308
|
};
|
|
21309
|
-
return /* @__PURE__ */ ne.createElement(_1,
|
|
21309
|
+
return /* @__PURE__ */ ne.createElement(_1, Le({}, b, {
|
|
21310
21310
|
prefixCls: u,
|
|
21311
21311
|
className: Ae(p, Be),
|
|
21312
21312
|
handleReset: ve,
|
|
21313
21313
|
value: _,
|
|
21314
21314
|
focused: T,
|
|
21315
21315
|
triggerFocus: U,
|
|
21316
|
-
suffix:
|
|
21316
|
+
suffix: Ue(),
|
|
21317
21317
|
disabled: d,
|
|
21318
21318
|
classes: O,
|
|
21319
21319
|
classNames: x,
|
|
21320
21320
|
styles: g
|
|
21321
|
-
}),
|
|
21321
|
+
}), je());
|
|
21322
21322
|
}), $1 = function(t, e) {
|
|
21323
21323
|
var n = {};
|
|
21324
21324
|
for (var r in t) Object.prototype.hasOwnProperty.call(t, r) && e.indexOf(r) < 0 && (n[r] = t[r]);
|
|
@@ -21581,7 +21581,7 @@ var Fn = /* @__PURE__ */ c.forwardRef(function(t, e) {
|
|
|
21581
21581
|
msTransform: "rotate(".concat(o, "deg)"),
|
|
21582
21582
|
transform: "rotate(".concat(o, "deg)")
|
|
21583
21583
|
} : void 0, y = nC(A), w = $(y, 2), I = w[0], O = w[1];
|
|
21584
|
-
return /* @__PURE__ */ c.createElement("span",
|
|
21584
|
+
return /* @__PURE__ */ c.createElement("span", Le({
|
|
21585
21585
|
role: "img",
|
|
21586
21586
|
"aria-label": r.name
|
|
21587
21587
|
}, l, {
|
|
@@ -21600,7 +21600,7 @@ Fn.displayName = "AntdIcon";
|
|
|
21600
21600
|
Fn.getTwoToneColor = J3;
|
|
21601
21601
|
Fn.setTwoToneColor = rC;
|
|
21602
21602
|
var X3 = function(e, n) {
|
|
21603
|
-
return /* @__PURE__ */ c.createElement(Fn,
|
|
21603
|
+
return /* @__PURE__ */ c.createElement(Fn, Le({}, e, {
|
|
21604
21604
|
ref: n,
|
|
21605
21605
|
icon: H3
|
|
21606
21606
|
}));
|
|
@@ -21965,14 +21965,14 @@ const a5 = /* @__PURE__ */ c.forwardRef((t, e) => {
|
|
|
21965
21965
|
}))));
|
|
21966
21966
|
});
|
|
21967
21967
|
var s5 = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z" } }, { tag: "path", attrs: { d: "M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z" } }] }, name: "eye-invisible", theme: "outlined" }, A5 = function(e, n) {
|
|
21968
|
-
return /* @__PURE__ */ c.createElement(Fn,
|
|
21968
|
+
return /* @__PURE__ */ c.createElement(Fn, Le({}, e, {
|
|
21969
21969
|
ref: n,
|
|
21970
21970
|
icon: s5
|
|
21971
21971
|
}));
|
|
21972
21972
|
}, aC = /* @__PURE__ */ c.forwardRef(A5);
|
|
21973
21973
|
process.env.NODE_ENV !== "production" && (aC.displayName = "EyeInvisibleOutlined");
|
|
21974
21974
|
var l5 = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z" } }] }, name: "eye", theme: "outlined" }, c5 = function(e, n) {
|
|
21975
|
-
return /* @__PURE__ */ c.createElement(Fn,
|
|
21975
|
+
return /* @__PURE__ */ c.createElement(Fn, Le({}, e, {
|
|
21976
21976
|
ref: n,
|
|
21977
21977
|
icon: l5
|
|
21978
21978
|
}));
|
|
@@ -22039,7 +22039,7 @@ const d5 = (t) => t ? /* @__PURE__ */ c.createElement(sC, null) : /* @__PURE__ *
|
|
|
22039
22039
|
});
|
|
22040
22040
|
process.env.NODE_ENV !== "production" && (AC.displayName = "Input.Password");
|
|
22041
22041
|
var g5 = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z" } }] }, name: "search", theme: "outlined" }, h5 = function(e, n) {
|
|
22042
|
-
return /* @__PURE__ */ c.createElement(Fn,
|
|
22042
|
+
return /* @__PURE__ */ c.createElement(Fn, Le({}, e, {
|
|
22043
22043
|
ref: n,
|
|
22044
22044
|
icon: g5
|
|
22045
22045
|
}));
|
|
@@ -22120,7 +22120,7 @@ function C5(t, e) {
|
|
|
22120
22120
|
}
|
|
22121
22121
|
["default", "primary", "danger"].concat(Re(Qi));
|
|
22122
22122
|
var y5 = { icon: { tag: "svg", attrs: { viewBox: "0 0 1024 1024", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z" } }] }, name: "loading", theme: "outlined" }, E5 = function(e, n) {
|
|
22123
|
-
return /* @__PURE__ */ c.createElement(Fn,
|
|
22123
|
+
return /* @__PURE__ */ c.createElement(Fn, Le({}, e, {
|
|
22124
22124
|
ref: n,
|
|
22125
22125
|
icon: y5
|
|
22126
22126
|
}));
|
|
@@ -22598,7 +22598,7 @@ var P5 = [{
|
|
|
22598
22598
|
prefixCls: o,
|
|
22599
22599
|
disabled: v,
|
|
22600
22600
|
color: x
|
|
22601
|
-
}, k = /* @__PURE__ */ ne.createElement(ne.Fragment, null, /* @__PURE__ */ ne.createElement(N5,
|
|
22601
|
+
}, k = /* @__PURE__ */ ne.createElement(ne.Fragment, null, /* @__PURE__ */ ne.createElement(N5, Le({
|
|
22602
22602
|
onChange: E
|
|
22603
22603
|
}, F, {
|
|
22604
22604
|
onChangeComplete: s
|
|
@@ -22606,7 +22606,7 @@ var P5 = [{
|
|
|
22606
22606
|
className: "".concat(o, "-slider-container")
|
|
22607
22607
|
}, /* @__PURE__ */ ne.createElement("div", {
|
|
22608
22608
|
className: Ae("".concat(o, "-slider-group"), P({}, "".concat(o, "-slider-group-disabled-alpha"), f))
|
|
22609
|
-
}, /* @__PURE__ */ ne.createElement(w,
|
|
22609
|
+
}, /* @__PURE__ */ ne.createElement(w, Le({}, F, {
|
|
22610
22610
|
type: "hue",
|
|
22611
22611
|
colors: P5,
|
|
22612
22612
|
min: 0,
|
|
@@ -22614,7 +22614,7 @@ var P5 = [{
|
|
|
22614
22614
|
value: x.getHue(),
|
|
22615
22615
|
onChange: S,
|
|
22616
22616
|
onChangeComplete: R
|
|
22617
|
-
})), !f && /* @__PURE__ */ ne.createElement(w,
|
|
22617
|
+
})), !f && /* @__PURE__ */ ne.createElement(w, Le({}, F, {
|
|
22618
22618
|
type: "alpha",
|
|
22619
22619
|
colors: [{
|
|
22620
22620
|
percent: 0,
|
|
@@ -22725,7 +22725,7 @@ let U5 = /* @__PURE__ */ function() {
|
|
|
22725
22725
|
}]);
|
|
22726
22726
|
}();
|
|
22727
22727
|
var H5 = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z" } }] }, name: "right", theme: "outlined" }, G5 = function(e, n) {
|
|
22728
|
-
return /* @__PURE__ */ c.createElement(Fn,
|
|
22728
|
+
return /* @__PURE__ */ c.createElement(Fn, Le({}, e, {
|
|
22729
22729
|
ref: n,
|
|
22730
22730
|
icon: H5
|
|
22731
22731
|
}));
|
|
@@ -23562,15 +23562,15 @@ const pR = {
|
|
|
23562
23562
|
process.env.NODE_ENV !== "production" && Me(!(typeof y == "string" && y.length > 2), "breaking", `\`icon\` is using ReactNode instead of string naming in v4. Please check \`${y}\` at https://ant.design/components/icon`), process.env.NODE_ENV !== "production" && Me(!(I && js(R)), "usage", "`link` or `text` button can't be a `ghost` button.");
|
|
23563
23563
|
}
|
|
23564
23564
|
const {
|
|
23565
|
-
compactSize:
|
|
23566
|
-
compactItemClassnames:
|
|
23565
|
+
compactSize: je,
|
|
23566
|
+
compactItemClassnames: Ue
|
|
23567
23567
|
} = aa(V, k), Ie = {
|
|
23568
23568
|
large: "lg",
|
|
23569
23569
|
small: "sm",
|
|
23570
23570
|
middle: void 0
|
|
23571
23571
|
}, pe = qi((Me) => {
|
|
23572
23572
|
var At, lt;
|
|
23573
|
-
return (lt = (At = d ??
|
|
23573
|
+
return (lt = (At = d ?? je) !== null && At !== void 0 ? At : le) !== null && lt !== void 0 ? lt : Me;
|
|
23574
23574
|
}), Oe = pe && (r = Ie[pe]) !== null && r !== void 0 ? r : "", Ke = te ? "loading" : y, tt = mr(h, ["navigate"]), it = Ae(V, Y, ee, {
|
|
23575
23575
|
[`${V}-${u}`]: u !== "default" && u,
|
|
23576
23576
|
// line(253 - 254): Compatible with versions earlier than 5.21.0
|
|
@@ -23586,7 +23586,7 @@ const pR = {
|
|
|
23586
23586
|
[`${V}-block`]: O,
|
|
23587
23587
|
[`${V}-rtl`]: k === "rtl",
|
|
23588
23588
|
[`${V}-icon-end`]: w === "end"
|
|
23589
|
-
},
|
|
23589
|
+
}, Ue, v, C, q), qe = Object.assign(Object.assign({}, K), M), be = Ae(g == null ? void 0 : g.icon, G.icon), _e = Object.assign(Object.assign({}, (f == null ? void 0 : f.icon) || {}), L.icon || {}), ut = y && !te ? /* @__PURE__ */ ne.createElement(pd, {
|
|
23590
23590
|
prefixCls: V,
|
|
23591
23591
|
className: be,
|
|
23592
23592
|
style: _e
|
|
@@ -23599,7 +23599,7 @@ const pR = {
|
|
|
23599
23599
|
prefixCls: V,
|
|
23600
23600
|
loading: te,
|
|
23601
23601
|
mount: ve.current
|
|
23602
|
-
}),
|
|
23602
|
+
}), $e = m || m === 0 ? C5(m, xe && _) : null;
|
|
23603
23603
|
if (tt.href !== void 0)
|
|
23604
23604
|
return W(/* @__PURE__ */ ne.createElement("a", Object.assign({}, tt, {
|
|
23605
23605
|
className: Ae(it, {
|
|
@@ -23610,7 +23610,7 @@ const pR = {
|
|
|
23610
23610
|
onClick: Be,
|
|
23611
23611
|
ref: Se,
|
|
23612
23612
|
tabIndex: se ? -1 : 0
|
|
23613
|
-
}), ut,
|
|
23613
|
+
}), ut, $e));
|
|
23614
23614
|
let Fe = /* @__PURE__ */ ne.createElement("button", Object.assign({}, h, {
|
|
23615
23615
|
type: x,
|
|
23616
23616
|
className: it,
|
|
@@ -23618,7 +23618,7 @@ const pR = {
|
|
|
23618
23618
|
onClick: Be,
|
|
23619
23619
|
disabled: se,
|
|
23620
23620
|
ref: Se
|
|
23621
|
-
}), ut,
|
|
23621
|
+
}), ut, $e, Ue && /* @__PURE__ */ ne.createElement(fR, {
|
|
23622
23622
|
prefixCls: V
|
|
23623
23623
|
}));
|
|
23624
23624
|
return js(R) || (Fe = /* @__PURE__ */ ne.createElement(ff, {
|
|
@@ -24113,7 +24113,7 @@ function qR(t, e) {
|
|
|
24113
24113
|
var n = t.children, r = typeof n == "function" ? [n] : qr(n);
|
|
24114
24114
|
return process.env.NODE_ENV !== "production" && (r.length > 1 ? Ao(!1, "Find more than one child node with `children` in ResizeObserver. Please use ResizeObserver.Collection instead.") : r.length === 0 && Ao(!1, "`children` of ResizeObserver is empty. Nothing is in observe.")), r.map(function(i, o) {
|
|
24115
24115
|
var a = (i == null ? void 0 : i.key) || "".concat(GR, "-").concat(o);
|
|
24116
|
-
return /* @__PURE__ */ c.createElement(RC,
|
|
24116
|
+
return /* @__PURE__ */ c.createElement(RC, Le({}, t, {
|
|
24117
24117
|
key: a,
|
|
24118
24118
|
ref: o === 0 ? e : void 0
|
|
24119
24119
|
}), i);
|
|
@@ -24218,7 +24218,7 @@ var YR = ["prefixCls", "defaultValue", "value", "autoSize", "onResize", "classNa
|
|
|
24218
24218
|
return (T === uc || T === dc) && (_.overflowY = "hidden", _.overflowX = "hidden"), /* @__PURE__ */ c.createElement(Ci, {
|
|
24219
24219
|
onResize: G,
|
|
24220
24220
|
disabled: !(a || s)
|
|
24221
|
-
}, /* @__PURE__ */ c.createElement("textarea",
|
|
24221
|
+
}, /* @__PURE__ */ c.createElement("textarea", Le({}, p, {
|
|
24222
24222
|
ref: I,
|
|
24223
24223
|
style: _,
|
|
24224
24224
|
className: Ae(r, A, P({}, "".concat(r, "-disabled"), u)),
|
|
@@ -24237,38 +24237,38 @@ var YR = ["prefixCls", "defaultValue", "value", "autoSize", "onResize", "classNa
|
|
|
24237
24237
|
le().focus();
|
|
24238
24238
|
};
|
|
24239
24239
|
ta(e, function() {
|
|
24240
|
-
var
|
|
24240
|
+
var $e;
|
|
24241
24241
|
return {
|
|
24242
24242
|
resizableTextArea: se.current,
|
|
24243
24243
|
focus: ue,
|
|
24244
24244
|
blur: function() {
|
|
24245
24245
|
le().blur();
|
|
24246
24246
|
},
|
|
24247
|
-
nativeElement: ((
|
|
24247
|
+
nativeElement: (($e = J.current) === null || $e === void 0 ? void 0 : $e.nativeElement) || le()
|
|
24248
24248
|
};
|
|
24249
24249
|
}), Kt(function() {
|
|
24250
|
-
L(function(
|
|
24251
|
-
return !I &&
|
|
24250
|
+
L(function($e) {
|
|
24251
|
+
return !I && $e;
|
|
24252
24252
|
});
|
|
24253
24253
|
}, [I]);
|
|
24254
24254
|
var te = ne.useState(null), me = $(te, 2), z = me[0], de = me[1];
|
|
24255
24255
|
ne.useEffect(function() {
|
|
24256
24256
|
if (z) {
|
|
24257
|
-
var
|
|
24258
|
-
(
|
|
24257
|
+
var $e;
|
|
24258
|
+
($e = le()).setSelectionRange.apply($e, Re(z));
|
|
24259
24259
|
}
|
|
24260
24260
|
}, [z]);
|
|
24261
|
-
var ce = X1(m, C), Se = (n = ce.max) !== null && n !== void 0 ? n : l, xe = Number(Se) > 0, ve = ce.strategy(U), Be = !!Se && ve > Se,
|
|
24261
|
+
var ce = X1(m, C), Se = (n = ce.max) !== null && n !== void 0 ? n : l, xe = Number(Se) > 0, ve = ce.strategy(U), Be = !!Se && ve > Se, je = function(Fe, Me) {
|
|
24262
24262
|
var At = Me;
|
|
24263
24263
|
!_.current && ce.exceedFormatter && ce.max && ce.strategy(Me) > ce.max && (At = ce.exceedFormatter(Me, {
|
|
24264
24264
|
max: ce.max
|
|
24265
24265
|
}), Me !== At && de([le().selectionStart || 0, le().selectionEnd || 0])), k(At), bA(Fe.currentTarget, Fe, s, At);
|
|
24266
|
-
},
|
|
24266
|
+
}, Ue = function(Fe) {
|
|
24267
24267
|
_.current = !0, u == null || u(Fe);
|
|
24268
24268
|
}, Ie = function(Fe) {
|
|
24269
|
-
_.current = !1,
|
|
24269
|
+
_.current = !1, je(Fe, Fe.currentTarget.value), d == null || d(Fe);
|
|
24270
24270
|
}, pe = function(Fe) {
|
|
24271
|
-
|
|
24271
|
+
je(Fe, Fe.target.value);
|
|
24272
24272
|
}, Oe = function(Fe) {
|
|
24273
24273
|
Fe.key === "Enter" && b && b(Fe), T == null || T(Fe);
|
|
24274
24274
|
}, Ke = function(Fe) {
|
|
@@ -24314,14 +24314,14 @@ var YR = ["prefixCls", "defaultValue", "value", "autoSize", "onResize", "classNa
|
|
|
24314
24314
|
hidden: O,
|
|
24315
24315
|
readOnly: h,
|
|
24316
24316
|
onClear: E
|
|
24317
|
-
}, /* @__PURE__ */ ne.createElement(WR,
|
|
24317
|
+
}, /* @__PURE__ */ ne.createElement(WR, Le({}, R, {
|
|
24318
24318
|
autoSize: S,
|
|
24319
24319
|
maxLength: l,
|
|
24320
24320
|
onKeyDown: Oe,
|
|
24321
24321
|
onChange: pe,
|
|
24322
24322
|
onFocus: Ke,
|
|
24323
24323
|
onBlur: tt,
|
|
24324
|
-
onCompositionStart:
|
|
24324
|
+
onCompositionStart: Ue,
|
|
24325
24325
|
onCompositionEnd: Ie,
|
|
24326
24326
|
className: Ae(x == null ? void 0 : x.textarea),
|
|
24327
24327
|
style: j(j({}, g == null ? void 0 : g.textarea), {}, {
|
|
@@ -24659,7 +24659,7 @@ function cO(t) {
|
|
|
24659
24659
|
}
|
|
24660
24660
|
function uO(t) {
|
|
24661
24661
|
var e = t.prefixCls, n = t.open, r = t.zIndex, i = t.mask, o = t.motion;
|
|
24662
|
-
return i ? /* @__PURE__ */ c.createElement(ra,
|
|
24662
|
+
return i ? /* @__PURE__ */ c.createElement(ra, Le({}, o, {
|
|
24663
24663
|
motionAppear: !0,
|
|
24664
24664
|
visible: n,
|
|
24665
24665
|
removeOnLeave: !0
|
|
@@ -24713,7 +24713,7 @@ var NC = /* @__PURE__ */ c.forwardRef(function(t, e) {
|
|
|
24713
24713
|
onResize: F,
|
|
24714
24714
|
disabled: !A
|
|
24715
24715
|
}, function(ce) {
|
|
24716
|
-
return /* @__PURE__ */ c.createElement(ra,
|
|
24716
|
+
return /* @__PURE__ */ c.createElement(ra, Le({
|
|
24717
24717
|
motionAppear: !0,
|
|
24718
24718
|
motionEnter: !0,
|
|
24719
24719
|
motionLeave: !0,
|
|
@@ -24729,10 +24729,10 @@ var NC = /* @__PURE__ */ c.forwardRef(function(t, e) {
|
|
|
24729
24729
|
m == null || (ve = m.onVisibleChanged) === null || ve === void 0 || ve.call(m, xe), s(xe);
|
|
24730
24730
|
}
|
|
24731
24731
|
}), function(Se, xe) {
|
|
24732
|
-
var ve = Se.className, Be = Se.style,
|
|
24732
|
+
var ve = Se.className, Be = Se.style, je = Ae(i, ve, r);
|
|
24733
24733
|
return /* @__PURE__ */ c.createElement("div", {
|
|
24734
24734
|
ref: Vr(ce, e, xe),
|
|
24735
|
-
className:
|
|
24735
|
+
className: je,
|
|
24736
24736
|
style: j(j(j(j({
|
|
24737
24737
|
"--arrow-x": "".concat(v.x || 0, "px"),
|
|
24738
24738
|
"--arrow-y": "".concat(v.y || 0, "px")
|
|
@@ -24882,7 +24882,7 @@ function hO(t, e, n, r, i, o, a) {
|
|
|
24882
24882
|
var yi = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Oe, ua = L.x + ca, hs = L.y + oi, Sl = ua + z, wl = hs + me, Il = Math.max(ua, yi.left), Je = Math.max(hs, yi.top), pt = Math.min(Sl, yi.right), on = Math.min(wl, yi.bottom);
|
|
24883
24883
|
return Math.max(0, (pt - Il) * (on - Je));
|
|
24884
24884
|
}, Co = function() {
|
|
24885
|
-
|
|
24885
|
+
Pe = L.y + at, et = Pe + me, Pt = L.x + Ne, gt = Pt + z;
|
|
24886
24886
|
};
|
|
24887
24887
|
var w, I, O, x, g = e, M = g.ownerDocument, E = cs(g), b = E.getComputedStyle(g), h = b.position, S = g.style.left, T = g.style.top, R = g.style.right, N = g.style.bottom, D = g.style.overflow, F = j(j({}, i[r]), o), k = M.createElement("div");
|
|
24888
24888
|
(w = g.parentElement) === null || w === void 0 || w.appendChild(k), k.style.left = "".concat(g.offsetLeft, "px"), k.style.top = "".concat(g.offsetTop, "px"), k.style.position = h, k.style.height = "".concat(g.offsetHeight, "px"), k.style.width = "".concat(g.offsetWidth, "px"), g.style.left = "0", g.style.top = "0", g.style.right = "auto", g.style.bottom = "auto", g.style.overflow = "hidden";
|
|
@@ -24915,36 +24915,36 @@ function hO(t, e, n, r, i, o, a) {
|
|
|
24915
24915
|
top: -ue,
|
|
24916
24916
|
right: se - te,
|
|
24917
24917
|
bottom: le - ue
|
|
24918
|
-
}, ve = F.htmlRegion, Be = "visible",
|
|
24919
|
-
ve !== "scroll" && ve !==
|
|
24920
|
-
var
|
|
24918
|
+
}, ve = F.htmlRegion, Be = "visible", je = "visibleFirst";
|
|
24919
|
+
ve !== "scroll" && ve !== je && (ve = Be);
|
|
24920
|
+
var Ue = ve === je, Ie = gm(xe, f), pe = gm(Se, f), Oe = ve === Be ? pe : Ie, Ke = Ue ? pe : Oe;
|
|
24921
24921
|
g.style.left = "auto", g.style.top = "auto", g.style.right = "0", g.style.bottom = "0";
|
|
24922
24922
|
var tt = g.getBoundingClientRect();
|
|
24923
24923
|
g.style.left = S, g.style.top = T, g.style.right = R, g.style.bottom = N, g.style.overflow = D, (x = g.parentElement) === null || x === void 0 || x.removeChild(k);
|
|
24924
24924
|
var it = Ya(Math.round(z / parseFloat(W) * 1e3) / 1e3), qe = Ya(Math.round(me / parseFloat(V) * 1e3) / 1e3);
|
|
24925
24925
|
if (it === 0 || qe === 0 || qa(n) && !cf(n))
|
|
24926
24926
|
return;
|
|
24927
|
-
var be = F.offset, _e = F.targetOffset, ut = pm(L, be),
|
|
24927
|
+
var be = F.offset, _e = F.targetOffset, ut = pm(L, be), $e = $(ut, 2), Fe = $e[0], Me = $e[1], At = pm(U, _e), lt = $(At, 2), Ct = lt[0], Bt = lt[1];
|
|
24928
24928
|
U.x -= Ct, U.y -= Bt;
|
|
24929
24929
|
var $t = F.points || [], Xt = $($t, 2), rn = Xt[0], en = Xt[1], Vt = mm(en), Tt = mm(rn), mt = wo(U, Vt), ze = wo(L, Tt), Xe = j({}, F), Ne = mt.x - ze.x + Fe, at = mt.y - ze.y + Me, vt = yr(Ne, at), ke = yr(Ne, at, pe), we = wo(U, ["t", "l"]), Ve = wo(L, ["t", "l"]), Ye = wo(U, ["b", "r"]), He = wo(L, ["b", "r"]), B = F.overflow || {}, ge = B.adjustX, Q = B.adjustY, re = B.shiftX, X = B.shiftY, Ce = function(oi) {
|
|
24930
24930
|
return typeof oi == "boolean" ? oi : oi >= 0;
|
|
24931
|
-
},
|
|
24931
|
+
}, Pe, et, Pt, gt;
|
|
24932
24932
|
Co();
|
|
24933
24933
|
var It = Ce(Q), Ee = Tt[0] === Vt[0];
|
|
24934
|
-
if (It && Tt[0] === "t" && (
|
|
24934
|
+
if (It && Tt[0] === "t" && (et > Ke.bottom || p.current.bt)) {
|
|
24935
24935
|
var De = at;
|
|
24936
24936
|
Ee ? De -= me - de : De = we.y - He.y - Me;
|
|
24937
24937
|
var ct = yr(Ne, De), dt = yr(Ne, De, pe);
|
|
24938
24938
|
// Of course use larger one
|
|
24939
|
-
ct > vt || ct === vt && (!
|
|
24939
|
+
ct > vt || ct === vt && (!Ue || // Choose recommend one
|
|
24940
24940
|
dt >= ke) ? (p.current.bt = !0, at = De, Me = -Me, Xe.points = [wi(Tt, 0), wi(Vt, 0)]) : p.current.bt = !1;
|
|
24941
24941
|
}
|
|
24942
|
-
if (It && Tt[0] === "b" && (
|
|
24942
|
+
if (It && Tt[0] === "b" && (Pe < Ke.top || p.current.tb)) {
|
|
24943
24943
|
var Qt = at;
|
|
24944
24944
|
Ee ? Qt += me - de : Qt = Ye.y - Ve.y - Me;
|
|
24945
24945
|
var Un = yr(Ne, Qt), dn = yr(Ne, Qt, pe);
|
|
24946
24946
|
// Of course use larger one
|
|
24947
|
-
Un > vt || Un === vt && (!
|
|
24947
|
+
Un > vt || Un === vt && (!Ue || // Choose recommend one
|
|
24948
24948
|
dn >= ke) ? (p.current.tb = !0, at = Qt, Me = -Me, Xe.points = [wi(Tt, 0), wi(Vt, 0)]) : p.current.tb = !1;
|
|
24949
24949
|
}
|
|
24950
24950
|
var _n = Ce(ge), zr = Tt[1] === Vt[1];
|
|
@@ -24953,7 +24953,7 @@ function hO(t, e, n, r, i, o, a) {
|
|
|
24953
24953
|
zr ? Zn -= z - ce : Zn = we.x - He.x - Fe;
|
|
24954
24954
|
var Kn = yr(Zn, at), Br = yr(Zn, at, pe);
|
|
24955
24955
|
// Of course use larger one
|
|
24956
|
-
Kn > vt || Kn === vt && (!
|
|
24956
|
+
Kn > vt || Kn === vt && (!Ue || // Choose recommend one
|
|
24957
24957
|
Br >= ke) ? (p.current.rl = !0, Ne = Zn, Fe = -Fe, Xe.points = [wi(Tt, 1), wi(Vt, 1)]) : p.current.rl = !1;
|
|
24958
24958
|
}
|
|
24959
24959
|
if (_n && Tt[1] === "r" && (Pt < Ke.left || p.current.lr)) {
|
|
@@ -24961,14 +24961,14 @@ function hO(t, e, n, r, i, o, a) {
|
|
|
24961
24961
|
zr ? Vn += z - ce : Vn = Ye.x - Ve.x - Fe;
|
|
24962
24962
|
var ri = yr(Vn, at), Fr = yr(Vn, at, pe);
|
|
24963
24963
|
// Of course use larger one
|
|
24964
|
-
ri > vt || ri === vt && (!
|
|
24964
|
+
ri > vt || ri === vt && (!Ue || // Choose recommend one
|
|
24965
24965
|
Fr >= ke) ? (p.current.lr = !0, Ne = Vn, Fe = -Fe, Xe.points = [wi(Tt, 1), wi(Vt, 1)]) : p.current.lr = !1;
|
|
24966
24966
|
}
|
|
24967
24967
|
Co();
|
|
24968
24968
|
var zn = re === !0 ? 0 : re;
|
|
24969
24969
|
typeof zn == "number" && (Pt < pe.left && (Ne -= Pt - pe.left - Fe, U.x + ce < pe.left + zn && (Ne += U.x - pe.left + ce - zn)), gt > pe.right && (Ne -= gt - pe.right - Fe, U.x > pe.right - zn && (Ne += U.x - pe.right + zn)));
|
|
24970
24970
|
var or = X === !0 ? 0 : X;
|
|
24971
|
-
typeof or == "number" && (
|
|
24971
|
+
typeof or == "number" && (Pe < pe.top && (at -= Pe - pe.top - Me, U.y + de < pe.top + or && (at += U.y - pe.top + de - or)), et > pe.bottom && (at -= et - pe.bottom - Me, U.y > pe.bottom - or && (at += U.y - pe.bottom + or)));
|
|
24972
24972
|
var vr = L.x + Ne, Cr = vr + z, Yr = L.y + at, ii = Yr + me, xt = U.x, Ze = xt + ce, ht = U.y, wt = ht + de, Dt = Math.max(vr, xt), kt = Math.min(Cr, Ze), Rn = (Dt + kt) / 2, On = Rn - vr, Xn = Math.max(Yr, ht), ar = Math.min(ii, wt), $n = (Xn + ar) / 2, er = $n - Yr;
|
|
24973
24973
|
a == null || a(e, Xe);
|
|
24974
24974
|
var bn = tt.right - L.x - (Ne + L.width), Zi = tt.bottom - L.y - (at + L.height);
|
|
@@ -25060,16 +25060,16 @@ function CO() {
|
|
|
25060
25060
|
nn(function() {
|
|
25061
25061
|
ve(MC());
|
|
25062
25062
|
}, []);
|
|
25063
|
-
var Be = c.useRef({}),
|
|
25063
|
+
var Be = c.useRef({}), je = c.useContext(um), Ue = c.useMemo(function() {
|
|
25064
25064
|
return {
|
|
25065
25065
|
registerSubPopup: function(pt, on) {
|
|
25066
|
-
Be.current[pt] = on,
|
|
25066
|
+
Be.current[pt] = on, je == null || je.registerSubPopup(pt, on);
|
|
25067
25067
|
}
|
|
25068
25068
|
};
|
|
25069
|
-
}, [
|
|
25070
|
-
it.current = Je, qa(Je) && Ke !== Je && tt(Je),
|
|
25071
|
-
}), be = c.useState(null), _e = $(be, 2), ut = _e[0],
|
|
25072
|
-
qa(Je) && ut !== Je && (
|
|
25069
|
+
}, [je]), Ie = hf(), pe = c.useState(null), Oe = $(pe, 2), Ke = Oe[0], tt = Oe[1], it = c.useRef(null), qe = sn(function(Je) {
|
|
25070
|
+
it.current = Je, qa(Je) && Ke !== Je && tt(Je), je == null || je.registerSubPopup(Ie, Je);
|
|
25071
|
+
}), be = c.useState(null), _e = $(be, 2), ut = _e[0], $e = _e[1], Fe = c.useRef(null), Me = sn(function(Je) {
|
|
25072
|
+
qa(Je) && ut !== Je && ($e(Je), Fe.current = Je);
|
|
25073
25073
|
}), At = c.Children.only(a), lt = (At == null ? void 0 : At.props) || {}, Ct = {}, Bt = sn(function(Je) {
|
|
25074
25074
|
var pt, on, Sn = ut;
|
|
25075
25075
|
return (Sn == null ? void 0 : Sn.contains(Je)) || ((pt = wA(Sn)) === null || pt === void 0 ? void 0 : pt.host) === Je || Je === Sn || (Ke == null ? void 0 : Ke.contains(Je)) || ((on = wA(Ke)) === null || on === void 0 ? void 0 : on.host) === Je || Je === Ke || Object.values(Be.current).some(function(ln) {
|
|
@@ -25103,16 +25103,16 @@ function CO() {
|
|
|
25103
25103
|
nn(function(Je) {
|
|
25104
25104
|
(!Je || mt) && B(!0);
|
|
25105
25105
|
}, [mt]);
|
|
25106
|
-
var ge = c.useState(null), Q = $(ge, 2), re = Q[0], X = Q[1], Ce = c.useState(null),
|
|
25106
|
+
var ge = c.useState(null), Q = $(ge, 2), re = Q[0], X = Q[1], Ce = c.useState(null), Pe = $(Ce, 2), et = Pe[0], Pt = Pe[1], gt = function(pt) {
|
|
25107
25107
|
Pt([pt.clientX, pt.clientY]);
|
|
25108
|
-
}, It = hO(mt, Ke, L &&
|
|
25108
|
+
}, It = hO(mt, Ke, L && et !== null ? et : ut, N, F, k, V), Ee = $(It, 11), De = Ee[0], ct = Ee[1], dt = Ee[2], Qt = Ee[3], Un = Ee[4], dn = Ee[5], _n = Ee[6], zr = Ee[7], Zn = Ee[8], Kn = Ee[9], Br = Ee[10], Vn = dO(xe, A, l, u), ri = $(Vn, 2), Fr = ri[0], zn = ri[1], or = Fr.has("click"), vr = zn.has("click") || zn.has("contextMenu"), Cr = sn(function() {
|
|
25109
25109
|
He || Br();
|
|
25110
25110
|
}), Yr = function() {
|
|
25111
25111
|
Xe.current && L && vr && we(!1);
|
|
25112
25112
|
};
|
|
25113
25113
|
pO(mt, ut, Ke, Cr, Yr), nn(function() {
|
|
25114
25114
|
Cr();
|
|
25115
|
-
}, [
|
|
25115
|
+
}, [et, N]), nn(function() {
|
|
25116
25116
|
mt && !(F != null && F[N]) && Cr();
|
|
25117
25117
|
}, [JSON.stringify(k)]);
|
|
25118
25118
|
var ii = c.useMemo(function() {
|
|
@@ -25201,7 +25201,7 @@ function CO() {
|
|
|
25201
25201
|
}, /* @__PURE__ */ c.createElement(DC, {
|
|
25202
25202
|
getTriggerDOMNode: me
|
|
25203
25203
|
}, Sl)), oi.current && /* @__PURE__ */ c.createElement(um.Provider, {
|
|
25204
|
-
value:
|
|
25204
|
+
value: Ue
|
|
25205
25205
|
}, /* @__PURE__ */ c.createElement(NC, {
|
|
25206
25206
|
portal: t,
|
|
25207
25207
|
ref: qe,
|
|
@@ -25362,7 +25362,7 @@ function xO(t, e) {
|
|
|
25362
25362
|
className: Ae((n = E.props) === null || n === void 0 ? void 0 : n.className, D && V()),
|
|
25363
25363
|
ref: Gi(E) ? Vr(U, go(E)) : void 0
|
|
25364
25364
|
}), Y = m;
|
|
25365
|
-
return !Y && x.indexOf("contextMenu") !== -1 && (Y = ["click"]), /* @__PURE__ */ ne.createElement(pl,
|
|
25365
|
+
return !Y && x.indexOf("contextMenu") !== -1 && (Y = ["click"]), /* @__PURE__ */ ne.createElement(pl, Le({
|
|
25366
25366
|
builtinPlacements: p
|
|
25367
25367
|
}, h, {
|
|
25368
25368
|
prefixCls: a,
|
|
@@ -25614,7 +25614,7 @@ function FO(t, e) {
|
|
|
25614
25614
|
});
|
|
25615
25615
|
var g = {};
|
|
25616
25616
|
w && (g["aria-hidden"] = !0);
|
|
25617
|
-
var M = /* @__PURE__ */ c.createElement(m,
|
|
25617
|
+
var M = /* @__PURE__ */ c.createElement(m, Le({
|
|
25618
25618
|
className: Ae(!r && n, u),
|
|
25619
25619
|
style: j(j({}, x), d)
|
|
25620
25620
|
}, g, y, {
|
|
@@ -25664,14 +25664,14 @@ var MA = /* @__PURE__ */ ne.createContext(null), QO = ["component"], jO = ["clas
|
|
|
25664
25664
|
var r = c.useContext(MA);
|
|
25665
25665
|
if (!r) {
|
|
25666
25666
|
var i = e.component, o = i === void 0 ? "div" : i, a = St(e, QO);
|
|
25667
|
-
return /* @__PURE__ */ c.createElement(o,
|
|
25667
|
+
return /* @__PURE__ */ c.createElement(o, Le({}, a, {
|
|
25668
25668
|
ref: n
|
|
25669
25669
|
}));
|
|
25670
25670
|
}
|
|
25671
25671
|
var s = r.className, A = St(r, jO), l = e.className, u = St(e, LO);
|
|
25672
25672
|
return /* @__PURE__ */ c.createElement(MA.Provider, {
|
|
25673
25673
|
value: null
|
|
25674
|
-
}, /* @__PURE__ */ c.createElement(Da,
|
|
25674
|
+
}, /* @__PURE__ */ c.createElement(Da, Le({
|
|
25675
25675
|
ref: n,
|
|
25676
25676
|
className: Ae(s, l)
|
|
25677
25677
|
}, A, u)));
|
|
@@ -25684,7 +25684,7 @@ function GO(t) {
|
|
|
25684
25684
|
function qO(t, e) {
|
|
25685
25685
|
var n = t.prefixCls, r = n === void 0 ? "rc-overflow" : n, i = t.data, o = i === void 0 ? [] : i, a = t.renderItem, s = t.renderRawItem, A = t.itemKey, l = t.itemWidth, u = l === void 0 ? 10 : l, d = t.ssr, f = t.style, p = t.className, v = t.maxCount, C = t.renderRest, m = t.renderRawRest, y = t.suffix, w = t.component, I = w === void 0 ? "div" : w, O = t.itemComponent, x = t.onVisibleChange, g = St(t, HO), M = d === "full", E = PO(), b = Ca(E, null), h = $(b, 2), S = h[0], T = h[1], R = S || 0, N = Ca(E, /* @__PURE__ */ new Map()), D = $(N, 2), F = D[0], k = D[1], U = Ca(E, 0), q = $(U, 2), K = q[0], G = q[1], L = Ca(E, 0), _ = $(L, 2), V = _[0], W = _[1], Y = Ca(E, 0), ee = $(Y, 2), J = ee[0], se = ee[1], le = Et(null), ue = $(le, 2), te = ue[0], me = ue[1], z = Et(null), de = $(z, 2), ce = de[0], Se = de[1], xe = c.useMemo(function() {
|
|
25686
25686
|
return ce === null && M ? Number.MAX_SAFE_INTEGER : ce || 0;
|
|
25687
|
-
}, [ce, S]), ve = Et(!1), Be = $(ve, 2),
|
|
25687
|
+
}, [ce, S]), ve = Et(!1), Be = $(ve, 2), je = Be[0], Ue = Be[1], Ie = "".concat(r, "-item"), pe = Math.max(K, V), Oe = v === PC, Ke = o.length && Oe, tt = v === QC, it = Ke || typeof v == "number" && o.length > v, qe = Or(function() {
|
|
25688
25688
|
var ze = o;
|
|
25689
25689
|
return Ke ? S === null && M ? ze = o : ze = o.slice(0, Math.min(o.length, R / u)) : typeof v == "number" && (ze = o.slice(0, v)), ze;
|
|
25690
25690
|
}, [o, u, S, v, Ke]), be = Or(function() {
|
|
@@ -25695,8 +25695,8 @@ function qO(t, e) {
|
|
|
25695
25695
|
}, [A]), ut = dr(a || function(ze) {
|
|
25696
25696
|
return ze;
|
|
25697
25697
|
}, [a]);
|
|
25698
|
-
function
|
|
25699
|
-
ce === ze && (Xe === void 0 || Xe === te) || (Se(ze), Ne || (
|
|
25698
|
+
function $e(ze, Xe, Ne) {
|
|
25699
|
+
ce === ze && (Xe === void 0 || Xe === te) || (Se(ze), Ne || (Ue(ze < o.length - 1), x == null || x(ze)), Xe !== void 0 && me(Xe));
|
|
25700
25700
|
}
|
|
25701
25701
|
function Fe(ze, Xe) {
|
|
25702
25702
|
T(Xe.clientWidth);
|
|
@@ -25720,29 +25720,29 @@ function qO(t, e) {
|
|
|
25720
25720
|
if (R && typeof pe == "number" && qe) {
|
|
25721
25721
|
var ze = J, Xe = qe.length, Ne = Xe - 1;
|
|
25722
25722
|
if (!Xe) {
|
|
25723
|
-
|
|
25723
|
+
$e(0, null);
|
|
25724
25724
|
return;
|
|
25725
25725
|
}
|
|
25726
25726
|
for (var at = 0; at < Xe; at += 1) {
|
|
25727
25727
|
var vt = Ct(at);
|
|
25728
25728
|
if (M && (vt = vt || 0), vt === void 0) {
|
|
25729
|
-
|
|
25729
|
+
$e(at - 1, void 0, !0);
|
|
25730
25730
|
break;
|
|
25731
25731
|
}
|
|
25732
25732
|
if (ze += vt, // Only one means `totalWidth` is the final width
|
|
25733
25733
|
Ne === 0 && ze <= R || // Last two width will be the final width
|
|
25734
25734
|
at === Ne - 1 && ze + Ct(Ne) <= R) {
|
|
25735
|
-
|
|
25735
|
+
$e(Ne, null);
|
|
25736
25736
|
break;
|
|
25737
25737
|
} else if (ze + pe > R) {
|
|
25738
|
-
|
|
25738
|
+
$e(at - 1, ze - vt - J + V);
|
|
25739
25739
|
break;
|
|
25740
25740
|
}
|
|
25741
25741
|
}
|
|
25742
25742
|
y && Ct(0) + J > R && me(null);
|
|
25743
25743
|
}
|
|
25744
25744
|
}, [R, F, V, J, _e, qe]);
|
|
25745
|
-
var Bt =
|
|
25745
|
+
var Bt = je && !!be.length, $t = {};
|
|
25746
25746
|
te !== null && Ke && ($t = {
|
|
25747
25747
|
position: "absolute",
|
|
25748
25748
|
left: te,
|
|
@@ -25767,7 +25767,7 @@ function qO(t, e) {
|
|
|
25767
25767
|
}, s(ze, Xe));
|
|
25768
25768
|
} : function(ze, Xe) {
|
|
25769
25769
|
var Ne = _e(ze, Xe);
|
|
25770
|
-
return /* @__PURE__ */ c.createElement(Da,
|
|
25770
|
+
return /* @__PURE__ */ c.createElement(Da, Le({}, Xt, {
|
|
25771
25771
|
order: Xe,
|
|
25772
25772
|
key: Ne,
|
|
25773
25773
|
item: ze,
|
|
@@ -25783,11 +25783,11 @@ function qO(t, e) {
|
|
|
25783
25783
|
display: Bt
|
|
25784
25784
|
}, Vt = C || GO, Tt = m ? /* @__PURE__ */ c.createElement(MA.Provider, {
|
|
25785
25785
|
value: j(j({}, Xt), en)
|
|
25786
|
-
}, m(be)) : /* @__PURE__ */ c.createElement(Da,
|
|
25786
|
+
}, m(be)) : /* @__PURE__ */ c.createElement(Da, Le({}, Xt, en), typeof Vt == "function" ? Vt(be) : Vt), mt = /* @__PURE__ */ c.createElement(I, Le({
|
|
25787
25787
|
className: Ae(!tt && r, p),
|
|
25788
25788
|
style: f,
|
|
25789
25789
|
ref: e
|
|
25790
|
-
}, g), qe.map(rn), it ? Tt : null, y && /* @__PURE__ */ c.createElement(Da,
|
|
25790
|
+
}, g), qe.map(rn), it ? Tt : null, y && /* @__PURE__ */ c.createElement(Da, Le({}, Xt, {
|
|
25791
25791
|
responsive: Oe,
|
|
25792
25792
|
responsiveDisabled: !Ke,
|
|
25793
25793
|
order: xe,
|
|
@@ -26123,7 +26123,7 @@ var iM = ["title", "attribute", "elementRef"], oM = ["style", "className", "even
|
|
|
26123
26123
|
key: "render",
|
|
26124
26124
|
value: function() {
|
|
26125
26125
|
var i = this.props, o = i.title, a = i.attribute, s = i.elementRef, A = St(i, iM), l = mr(A, ["eventKey", "popupClassName", "popupOffset", "onTitleClick"]);
|
|
26126
|
-
return bt(!a, "`attribute` of Menu.Item is deprecated. Please pass attribute directly."), /* @__PURE__ */ c.createElement(ei.Item,
|
|
26126
|
+
return bt(!a, "`attribute` of Menu.Item is deprecated. Please pass attribute directly."), /* @__PURE__ */ c.createElement(ei.Item, Le({}, a, {
|
|
26127
26127
|
title: typeof o == "string" ? o : void 0
|
|
26128
26128
|
}, l, {
|
|
26129
26129
|
ref: s
|
|
@@ -26155,7 +26155,7 @@ var iM = ["title", "attribute", "elementRef"], oM = ["style", "className", "even
|
|
|
26155
26155
|
E(i), v == null || v(le);
|
|
26156
26156
|
}, ee = {};
|
|
26157
26157
|
t.role === "option" && (ee["aria-selected"] = L);
|
|
26158
|
-
var J = /* @__PURE__ */ c.createElement(sM,
|
|
26158
|
+
var J = /* @__PURE__ */ c.createElement(sM, Le({
|
|
26159
26159
|
ref: T,
|
|
26160
26160
|
elementRef: D,
|
|
26161
26161
|
role: l === null ? "none" : l || "menuitem",
|
|
@@ -26186,14 +26186,14 @@ function lM(t, e) {
|
|
|
26186
26186
|
return r.registerPath(n, i), function() {
|
|
26187
26187
|
r.unregisterPath(n, i);
|
|
26188
26188
|
};
|
|
26189
|
-
}, [i]), r ? null : /* @__PURE__ */ c.createElement(AM,
|
|
26189
|
+
}, [i]), r ? null : /* @__PURE__ */ c.createElement(AM, Le({}, t, {
|
|
26190
26190
|
ref: e
|
|
26191
26191
|
}));
|
|
26192
26192
|
}
|
|
26193
26193
|
const vl = /* @__PURE__ */ c.forwardRef(lM);
|
|
26194
26194
|
var cM = ["className", "children"], uM = function(e, n) {
|
|
26195
26195
|
var r = e.className, i = e.children, o = St(e, cM), a = c.useContext(Kr), s = a.prefixCls, A = a.mode, l = a.rtl;
|
|
26196
|
-
return /* @__PURE__ */ c.createElement("ul",
|
|
26196
|
+
return /* @__PURE__ */ c.createElement("ul", Le({
|
|
26197
26197
|
className: Ae(s, l && "".concat(s, "-rtl"), "".concat(s, "-sub"), "".concat(s, "-").concat(A === "inline" ? "inline" : "vertical"), r),
|
|
26198
26198
|
role: "menu"
|
|
26199
26199
|
}, o, {
|
|
@@ -26349,7 +26349,7 @@ function pM(t) {
|
|
|
26349
26349
|
}, C ? null : /* @__PURE__ */ c.createElement(Wa, {
|
|
26350
26350
|
mode: o,
|
|
26351
26351
|
locked: !f.current
|
|
26352
|
-
}, /* @__PURE__ */ c.createElement(ra,
|
|
26352
|
+
}, /* @__PURE__ */ c.createElement(ra, Le({
|
|
26353
26353
|
visible: y
|
|
26354
26354
|
}, w, {
|
|
26355
26355
|
forceRender: A,
|
|
@@ -26367,15 +26367,15 @@ function pM(t) {
|
|
|
26367
26367
|
var mM = ["style", "className", "title", "eventKey", "warnKey", "disabled", "internalPopupClose", "children", "itemIcon", "expandIcon", "popupClassName", "popupOffset", "popupStyle", "onClick", "onMouseEnter", "onMouseLeave", "onTitleClick", "onTitleMouseEnter", "onTitleMouseLeave"], vM = ["active"], CM = /* @__PURE__ */ c.forwardRef(function(t, e) {
|
|
26368
26368
|
var n = t.style, r = t.className, i = t.title, o = t.eventKey, a = t.warnKey, s = t.disabled, A = t.internalPopupClose, l = t.children, u = t.itemIcon, d = t.expandIcon, f = t.popupClassName, p = t.popupOffset, v = t.popupStyle, C = t.onClick, m = t.onMouseEnter, y = t.onMouseLeave, w = t.onTitleClick, I = t.onTitleMouseEnter, O = t.onTitleMouseLeave, x = St(t, mM), g = UC(o), M = c.useContext(Kr), E = M.prefixCls, b = M.mode, h = M.openKeys, S = M.disabled, T = M.overflowDisabled, R = M.activeKey, N = M.selectedKeys, D = M.itemIcon, F = M.expandIcon, k = M.onItemClick, U = M.onOpenChange, q = M.onActive, K = c.useContext(bf), G = K._internalRenderSubMenuItem, L = c.useContext(qC), _ = L.isSubPathKey, V = Aa(), W = "".concat(E, "-submenu"), Y = S || s, ee = c.useRef(), J = c.useRef();
|
|
26369
26369
|
process.env.NODE_ENV !== "production" && a && bt(!1, "SubMenu should not leave undefined `key`.");
|
|
26370
|
-
var se = u ?? D, le = d ?? F, ue = h.includes(o), te = !T && ue, me = _(N, o), z = KC(o, Y, I, O), de = z.active, ce = St(z, vM), Se = c.useState(!1), xe = $(Se, 2), ve = xe[0], Be = xe[1],
|
|
26370
|
+
var se = u ?? D, le = d ?? F, ue = h.includes(o), te = !T && ue, me = _(N, o), z = KC(o, Y, I, O), de = z.active, ce = St(z, vM), Se = c.useState(!1), xe = $(Se, 2), ve = xe[0], Be = xe[1], je = function(lt) {
|
|
26371
26371
|
Y || Be(lt);
|
|
26372
|
-
},
|
|
26373
|
-
|
|
26372
|
+
}, Ue = function(lt) {
|
|
26373
|
+
je(!0), m == null || m({
|
|
26374
26374
|
key: o,
|
|
26375
26375
|
domEvent: lt
|
|
26376
26376
|
});
|
|
26377
26377
|
}, Ie = function(lt) {
|
|
26378
|
-
|
|
26378
|
+
je(!1), y == null || y({
|
|
26379
26379
|
key: o,
|
|
26380
26380
|
domEvent: lt
|
|
26381
26381
|
});
|
|
@@ -26403,7 +26403,7 @@ var mM = ["style", "className", "title", "eventKey", "warnKey", "disabled", "int
|
|
|
26403
26403
|
}, /* @__PURE__ */ c.createElement("i", {
|
|
26404
26404
|
className: "".concat(W, "-arrow")
|
|
26405
26405
|
}));
|
|
26406
|
-
}, [b, le, t, te, W]), ut = /* @__PURE__ */ c.createElement("div",
|
|
26406
|
+
}, [b, le, t, te, W]), ut = /* @__PURE__ */ c.createElement("div", Le({
|
|
26407
26407
|
role: "menuitem",
|
|
26408
26408
|
style: Oe,
|
|
26409
26409
|
className: "".concat(W, "-title"),
|
|
@@ -26417,9 +26417,9 @@ var mM = ["style", "className", "title", "eventKey", "warnKey", "disabled", "int
|
|
|
26417
26417
|
"aria-disabled": Y,
|
|
26418
26418
|
onClick: Ke,
|
|
26419
26419
|
onFocus: qe
|
|
26420
|
-
}, ce), i, _e),
|
|
26421
|
-
if (b !== "inline" && V.length > 1 ?
|
|
26422
|
-
var Fe =
|
|
26420
|
+
}, ce), i, _e), $e = c.useRef(b);
|
|
26421
|
+
if (b !== "inline" && V.length > 1 ? $e.current = "vertical" : $e.current = b, !T) {
|
|
26422
|
+
var Fe = $e.current;
|
|
26423
26423
|
ut = /* @__PURE__ */ c.createElement(hM, {
|
|
26424
26424
|
mode: Fe,
|
|
26425
26425
|
prefixCls: W,
|
|
@@ -26441,14 +26441,14 @@ var mM = ["style", "className", "title", "eventKey", "warnKey", "disabled", "int
|
|
|
26441
26441
|
onVisibleChange: it
|
|
26442
26442
|
}, ut);
|
|
26443
26443
|
}
|
|
26444
|
-
var Me = /* @__PURE__ */ c.createElement(ei.Item,
|
|
26444
|
+
var Me = /* @__PURE__ */ c.createElement(ei.Item, Le({
|
|
26445
26445
|
ref: e,
|
|
26446
26446
|
role: "none"
|
|
26447
26447
|
}, x, {
|
|
26448
26448
|
component: "li",
|
|
26449
26449
|
style: n,
|
|
26450
26450
|
className: Ae(W, "".concat(W, "-").concat(b), r, P(P(P(P({}, "".concat(W, "-open"), te), "".concat(W, "-active"), pe), "".concat(W, "-selected"), me), "".concat(W, "-disabled"), Y)),
|
|
26451
|
-
onMouseEnter:
|
|
26451
|
+
onMouseEnter: Ue,
|
|
26452
26452
|
onMouseLeave: Ie
|
|
26453
26453
|
}), ut, !T && /* @__PURE__ */ c.createElement(pM, {
|
|
26454
26454
|
id: be,
|
|
@@ -26475,7 +26475,7 @@ var mM = ["style", "className", "title", "eventKey", "warnKey", "disabled", "int
|
|
|
26475
26475
|
};
|
|
26476
26476
|
}, [i]);
|
|
26477
26477
|
var s;
|
|
26478
|
-
return a ? s = o : s = /* @__PURE__ */ c.createElement(CM,
|
|
26478
|
+
return a ? s = o : s = /* @__PURE__ */ c.createElement(CM, Le({
|
|
26479
26479
|
ref: e
|
|
26480
26480
|
}, t), o), /* @__PURE__ */ c.createElement(GC.Provider, {
|
|
26481
26481
|
value: i
|
|
@@ -26494,7 +26494,7 @@ var yM = ["className", "title", "eventKey", "children"], EM = /* @__PURE__ */ c.
|
|
|
26494
26494
|
var n = t.className, r = t.title;
|
|
26495
26495
|
t.eventKey;
|
|
26496
26496
|
var i = t.children, o = St(t, yM), a = c.useContext(Kr), s = a.prefixCls, A = "".concat(s, "-item-group");
|
|
26497
|
-
return /* @__PURE__ */ c.createElement("li",
|
|
26497
|
+
return /* @__PURE__ */ c.createElement("li", Le({
|
|
26498
26498
|
ref: e,
|
|
26499
26499
|
role: "presentation"
|
|
26500
26500
|
}, o, {
|
|
@@ -26512,7 +26512,7 @@ var yM = ["className", "title", "eventKey", "children"], EM = /* @__PURE__ */ c.
|
|
|
26512
26512
|
}, i));
|
|
26513
26513
|
}), Cl = /* @__PURE__ */ c.forwardRef(function(t, e) {
|
|
26514
26514
|
var n = t.eventKey, r = t.children, i = Aa(n), o = xf(r, i), a = ml();
|
|
26515
|
-
return a ? o : /* @__PURE__ */ c.createElement(EM,
|
|
26515
|
+
return a ? o : /* @__PURE__ */ c.createElement(EM, Le({
|
|
26516
26516
|
ref: e
|
|
26517
26517
|
}, mr(t, ["warnKey"])), o);
|
|
26518
26518
|
});
|
|
@@ -26523,17 +26523,17 @@ function Id(t, e, n) {
|
|
|
26523
26523
|
return (t || []).map(function(s, A) {
|
|
26524
26524
|
if (s && rt(s) === "object") {
|
|
26525
26525
|
var l = s, u = l.label, d = l.children, f = l.key, p = l.type, v = l.extra, C = St(l, bM), m = f ?? "tmp-".concat(A);
|
|
26526
|
-
return d || p === "group" ? p === "group" ? /* @__PURE__ */ c.createElement(i,
|
|
26526
|
+
return d || p === "group" ? p === "group" ? /* @__PURE__ */ c.createElement(i, Le({
|
|
26527
26527
|
key: m
|
|
26528
26528
|
}, C, {
|
|
26529
26529
|
title: u
|
|
26530
|
-
}), Id(d, e, n)) : /* @__PURE__ */ c.createElement(o,
|
|
26530
|
+
}), Id(d, e, n)) : /* @__PURE__ */ c.createElement(o, Le({
|
|
26531
26531
|
key: m
|
|
26532
26532
|
}, C, {
|
|
26533
26533
|
title: u
|
|
26534
|
-
}), Id(d, e, n)) : p === "divider" ? /* @__PURE__ */ c.createElement(a,
|
|
26534
|
+
}), Id(d, e, n)) : p === "divider" ? /* @__PURE__ */ c.createElement(a, Le({
|
|
26535
26535
|
key: m
|
|
26536
|
-
}, C)) : /* @__PURE__ */ c.createElement(r,
|
|
26536
|
+
}, C)) : /* @__PURE__ */ c.createElement(r, Le({
|
|
26537
26537
|
key: m
|
|
26538
26538
|
}, C, {
|
|
26539
26539
|
extra: v
|
|
@@ -26556,9 +26556,9 @@ function wm(t, e, n, r, i) {
|
|
|
26556
26556
|
return e && (o = Id(e, a, i)), xf(o, n);
|
|
26557
26557
|
}
|
|
26558
26558
|
var SM = ["prefixCls", "rootClassName", "style", "className", "tabIndex", "items", "children", "direction", "id", "mode", "inlineCollapsed", "disabled", "disabledOverflow", "subMenuOpenDelay", "subMenuCloseDelay", "forceSubMenuRender", "defaultOpenKeys", "openKeys", "activeKey", "defaultActiveFirst", "selectable", "multiple", "defaultSelectedKeys", "selectedKeys", "onSelect", "onDeselect", "inlineIndent", "motion", "defaultMotions", "triggerSubMenuAction", "builtinPlacements", "itemIcon", "expandIcon", "overflowedIndicator", "overflowedIndicatorPopupClassName", "getPopupContainer", "onClick", "onOpenChange", "onKeyDown", "openAnimation", "openTransitionName", "_internalRenderMenuItem", "_internalRenderSubMenuItem", "_internalComponents"], Vi = [], wM = /* @__PURE__ */ c.forwardRef(function(t, e) {
|
|
26559
|
-
var n, r = t, i = r.prefixCls, o = i === void 0 ? "rc-menu" : i, a = r.rootClassName, s = r.style, A = r.className, l = r.tabIndex, u = l === void 0 ? 0 : l, d = r.items, f = r.children, p = r.direction, v = r.id, C = r.mode, m = C === void 0 ? "vertical" : C, y = r.inlineCollapsed, w = r.disabled, I = r.disabledOverflow, O = r.subMenuOpenDelay, x = O === void 0 ? 0.1 : O, g = r.subMenuCloseDelay, M = g === void 0 ? 0.1 : g, E = r.forceSubMenuRender, b = r.defaultOpenKeys, h = r.openKeys, S = r.activeKey, T = r.defaultActiveFirst, R = r.selectable, N = R === void 0 ? !0 : R, D = r.multiple, F = D === void 0 ? !1 : D, k = r.defaultSelectedKeys, U = r.selectedKeys, q = r.onSelect, K = r.onDeselect, G = r.inlineIndent, L = G === void 0 ? 24 : G, _ = r.motion, V = r.defaultMotions, W = r.triggerSubMenuAction, Y = W === void 0 ? "hover" : W, ee = r.builtinPlacements, J = r.itemIcon, se = r.expandIcon, le = r.overflowedIndicator, ue = le === void 0 ? "..." : le, te = r.overflowedIndicatorPopupClassName, me = r.getPopupContainer, z = r.onClick, de = r.onOpenChange, ce = r.onKeyDown, Se = r.openAnimation, xe = r.openTransitionName, ve = r._internalRenderMenuItem, Be = r._internalRenderSubMenuItem,
|
|
26560
|
-
return [wm(f, d, Vi,
|
|
26561
|
-
}, [f, d,
|
|
26559
|
+
var n, r = t, i = r.prefixCls, o = i === void 0 ? "rc-menu" : i, a = r.rootClassName, s = r.style, A = r.className, l = r.tabIndex, u = l === void 0 ? 0 : l, d = r.items, f = r.children, p = r.direction, v = r.id, C = r.mode, m = C === void 0 ? "vertical" : C, y = r.inlineCollapsed, w = r.disabled, I = r.disabledOverflow, O = r.subMenuOpenDelay, x = O === void 0 ? 0.1 : O, g = r.subMenuCloseDelay, M = g === void 0 ? 0.1 : g, E = r.forceSubMenuRender, b = r.defaultOpenKeys, h = r.openKeys, S = r.activeKey, T = r.defaultActiveFirst, R = r.selectable, N = R === void 0 ? !0 : R, D = r.multiple, F = D === void 0 ? !1 : D, k = r.defaultSelectedKeys, U = r.selectedKeys, q = r.onSelect, K = r.onDeselect, G = r.inlineIndent, L = G === void 0 ? 24 : G, _ = r.motion, V = r.defaultMotions, W = r.triggerSubMenuAction, Y = W === void 0 ? "hover" : W, ee = r.builtinPlacements, J = r.itemIcon, se = r.expandIcon, le = r.overflowedIndicator, ue = le === void 0 ? "..." : le, te = r.overflowedIndicatorPopupClassName, me = r.getPopupContainer, z = r.onClick, de = r.onOpenChange, ce = r.onKeyDown, Se = r.openAnimation, xe = r.openTransitionName, ve = r._internalRenderMenuItem, Be = r._internalRenderSubMenuItem, je = r._internalComponents, Ue = St(r, SM), Ie = c.useMemo(function() {
|
|
26560
|
+
return [wm(f, d, Vi, je, o), wm(f, d, Vi, {}, o)];
|
|
26561
|
+
}, [f, d, je]), pe = $(Ie, 2), Oe = pe[0], Ke = pe[1], tt = c.useState(!1), it = $(tt, 2), qe = it[0], be = it[1], _e = c.useRef(), ut = nM(v), $e = p === "rtl";
|
|
26562
26562
|
process.env.NODE_ENV !== "production" && bt(!Se && !xe, "`openAnimation` and `openTransitionName` is removed. Please use `motion` or `defaultMotion` instead.");
|
|
26563
26563
|
var Fe = Qn(b, {
|
|
26564
26564
|
value: h,
|
|
@@ -26585,12 +26585,12 @@ var SM = ["prefixCls", "rootClassName", "style", "className", "tabIndex", "items
|
|
|
26585
26585
|
en.current = !1;
|
|
26586
26586
|
};
|
|
26587
26587
|
}, []);
|
|
26588
|
-
var Ce = eM(),
|
|
26588
|
+
var Ce = eM(), Pe = Ce.registerPath, et = Ce.unregisterPath, Pt = Ce.refreshOverflowKeys, gt = Ce.isSubPathKey, It = Ce.getKeyPath, Ee = Ce.getKeys, De = Ce.getSubPathKeys, ct = c.useMemo(function() {
|
|
26589
26589
|
return {
|
|
26590
|
-
registerPath:
|
|
26591
|
-
unregisterPath:
|
|
26590
|
+
registerPath: Pe,
|
|
26591
|
+
unregisterPath: et
|
|
26592
26592
|
};
|
|
26593
|
-
}, [
|
|
26593
|
+
}, [Pe, et]), dt = c.useMemo(function() {
|
|
26594
26594
|
return {
|
|
26595
26595
|
isSubPathKey: gt
|
|
26596
26596
|
};
|
|
@@ -26657,7 +26657,7 @@ var SM = ["prefixCls", "rootClassName", "style", "className", "tabIndex", "items
|
|
|
26657
26657
|
}), vr = function(ht, wt) {
|
|
26658
26658
|
var Dt = wt ?? !At.includes(ht);
|
|
26659
26659
|
or(ht, Dt);
|
|
26660
|
-
}, Cr = _O(vt, dn,
|
|
26660
|
+
}, Cr = _O(vt, dn, $e, ut, _e, Ee, It, _n, vr, ce);
|
|
26661
26661
|
c.useEffect(function() {
|
|
26662
26662
|
be(!0);
|
|
26663
26663
|
}, []);
|
|
@@ -26677,13 +26677,13 @@ var SM = ["prefixCls", "rootClassName", "style", "className", "tabIndex", "items
|
|
|
26677
26677
|
}, Ze)
|
|
26678
26678
|
);
|
|
26679
26679
|
})
|
|
26680
|
-
), xt = /* @__PURE__ */ c.createElement(ei,
|
|
26680
|
+
), xt = /* @__PURE__ */ c.createElement(ei, Le({
|
|
26681
26681
|
id: v,
|
|
26682
26682
|
ref: _e,
|
|
26683
26683
|
prefixCls: "".concat(o, "-overflow"),
|
|
26684
26684
|
component: "ul",
|
|
26685
26685
|
itemComponent: vl,
|
|
26686
|
-
className: Ae(o, "".concat(o, "-root"), "".concat(o, "-").concat(vt), A, P(P({}, "".concat(o, "-inline-collapsed"), Ye), "".concat(o, "-rtl"),
|
|
26686
|
+
className: Ae(o, "".concat(o, "-root"), "".concat(o, "-").concat(vt), A, P(P({}, "".concat(o, "-inline-collapsed"), Ye), "".concat(o, "-rtl"), $e), a),
|
|
26687
26687
|
dir: p,
|
|
26688
26688
|
style: s,
|
|
26689
26689
|
role: "menu",
|
|
@@ -26709,7 +26709,7 @@ var SM = ["prefixCls", "rootClassName", "style", "className", "tabIndex", "items
|
|
|
26709
26709
|
re(ht);
|
|
26710
26710
|
},
|
|
26711
26711
|
onKeyDown: Cr
|
|
26712
|
-
},
|
|
26712
|
+
}, Ue));
|
|
26713
26713
|
return /* @__PURE__ */ c.createElement(bf.Provider, {
|
|
26714
26714
|
value: Yr
|
|
26715
26715
|
}, /* @__PURE__ */ c.createElement(jC.Provider, {
|
|
@@ -26719,7 +26719,7 @@ var SM = ["prefixCls", "rootClassName", "style", "className", "tabIndex", "items
|
|
|
26719
26719
|
rootClassName: a,
|
|
26720
26720
|
mode: vt,
|
|
26721
26721
|
openKeys: At,
|
|
26722
|
-
rtl:
|
|
26722
|
+
rtl: $e,
|
|
26723
26723
|
disabled: w,
|
|
26724
26724
|
motion: qe ? _ : null,
|
|
26725
26725
|
defaultMotions: qe ? V : null,
|
|
@@ -26754,14 +26754,14 @@ ds.SubMenu = us;
|
|
|
26754
26754
|
ds.ItemGroup = Cl;
|
|
26755
26755
|
ds.Divider = Rf;
|
|
26756
26756
|
var IM = { icon: { tag: "svg", attrs: { viewBox: "0 0 1024 1024", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z" } }] }, name: "bars", theme: "outlined" }, xM = function(e, n) {
|
|
26757
|
-
return /* @__PURE__ */ c.createElement(Fn,
|
|
26757
|
+
return /* @__PURE__ */ c.createElement(Fn, Le({}, e, {
|
|
26758
26758
|
ref: n,
|
|
26759
26759
|
icon: IM
|
|
26760
26760
|
}));
|
|
26761
26761
|
}, WC = /* @__PURE__ */ c.forwardRef(xM);
|
|
26762
26762
|
process.env.NODE_ENV !== "production" && (WC.displayName = "BarsOutlined");
|
|
26763
26763
|
var RM = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z" } }] }, name: "left", theme: "outlined" }, OM = function(e, n) {
|
|
26764
|
-
return /* @__PURE__ */ c.createElement(Fn,
|
|
26764
|
+
return /* @__PURE__ */ c.createElement(Fn, Le({}, e, {
|
|
26765
26765
|
ref: n,
|
|
26766
26766
|
icon: RM
|
|
26767
26767
|
}));
|
|
@@ -27112,7 +27112,7 @@ const Im = {
|
|
|
27112
27112
|
});
|
|
27113
27113
|
process.env.NODE_ENV !== "production" && (PM.displayName = "Sider");
|
|
27114
27114
|
var QM = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" } }] }, name: "ellipsis", theme: "outlined" }, jM = function(e, n) {
|
|
27115
|
-
return /* @__PURE__ */ c.createElement(Fn,
|
|
27115
|
+
return /* @__PURE__ */ c.createElement(Fn, Le({}, e, {
|
|
27116
27116
|
ref: n,
|
|
27117
27117
|
icon: QM
|
|
27118
27118
|
}));
|
|
@@ -27258,7 +27258,7 @@ var Oo = {
|
|
|
27258
27258
|
});
|
|
27259
27259
|
return /* @__PURE__ */ c.cloneElement(p, ee);
|
|
27260
27260
|
};
|
|
27261
|
-
return /* @__PURE__ */ c.createElement(pl,
|
|
27261
|
+
return /* @__PURE__ */ c.createElement(pl, Le({
|
|
27262
27262
|
popupClassName: Ae(r, F == null ? void 0 : F.root),
|
|
27263
27263
|
prefixCls: f,
|
|
27264
27264
|
popup: L,
|
|
@@ -27403,9 +27403,9 @@ const WM = /* @__PURE__ */ c.forwardRef((t, e) => {
|
|
|
27403
27403
|
}, typeof ue == "function" ? ue() : ue), me = k("tooltip", i), z = k(), de = t["data-popover-inject"];
|
|
27404
27404
|
let ce = Y;
|
|
27405
27405
|
!("open" in t) && !("visible" in t) && J && (ce = !1);
|
|
27406
|
-
const Se = /* @__PURE__ */ c.isValidElement(l) && !L1(l) ? l : /* @__PURE__ */ c.createElement("span", null, l), xe = Se.props, ve = !xe.className || typeof xe.className == "string" ? Ae(xe.className, o || `${me}-open`) : xe.className, [Be,
|
|
27406
|
+
const Se = /* @__PURE__ */ c.isValidElement(l) && !L1(l) ? l : /* @__PURE__ */ c.createElement("span", null, l), xe = Se.props, ve = !xe.className || typeof xe.className == "string" ? Ae(xe.className, o || `${me}-open`) : xe.className, [Be, je, Ue] = k1(me, !de), Ie = $C(me, s), pe = Ie.arrowStyle, Oe = Ae(h, {
|
|
27407
27407
|
[`${me}-rtl`]: U === "rtl"
|
|
27408
|
-
}, Ie.className, b,
|
|
27408
|
+
}, Ie.className, b, je, Ue, q, G.root, T == null ? void 0 : T.root), Ke = Ae(G.body, T == null ? void 0 : T.body), [tt, it] = rl("Tooltip", R.zIndex), qe = /* @__PURE__ */ c.createElement(qM, Object.assign({}, R, {
|
|
27409
27409
|
zIndex: tt,
|
|
27410
27410
|
showArrow: N,
|
|
27411
27411
|
placement: x,
|
|
@@ -28945,21 +28945,21 @@ const iy = gs;
|
|
|
28945
28945
|
iy.Button = ry;
|
|
28946
28946
|
const gT = /* @__PURE__ */ ne.createContext({});
|
|
28947
28947
|
var hT = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z" } }] }, name: "check-circle", theme: "filled" }, pT = function(e, n) {
|
|
28948
|
-
return /* @__PURE__ */ c.createElement(Fn,
|
|
28948
|
+
return /* @__PURE__ */ c.createElement(Fn, Le({}, e, {
|
|
28949
28949
|
ref: n,
|
|
28950
28950
|
icon: hT
|
|
28951
28951
|
}));
|
|
28952
28952
|
}, oy = /* @__PURE__ */ c.forwardRef(pT);
|
|
28953
28953
|
process.env.NODE_ENV !== "production" && (oy.displayName = "CheckCircleFilled");
|
|
28954
28954
|
var mT = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z" } }] }, name: "exclamation-circle", theme: "filled" }, vT = function(e, n) {
|
|
28955
|
-
return /* @__PURE__ */ c.createElement(Fn,
|
|
28955
|
+
return /* @__PURE__ */ c.createElement(Fn, Le({}, e, {
|
|
28956
28956
|
ref: n,
|
|
28957
28957
|
icon: mT
|
|
28958
28958
|
}));
|
|
28959
28959
|
}, ay = /* @__PURE__ */ c.forwardRef(vT);
|
|
28960
28960
|
process.env.NODE_ENV !== "production" && (ay.displayName = "ExclamationCircleFilled");
|
|
28961
28961
|
var CT = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z" } }] }, name: "info-circle", theme: "filled" }, yT = function(e, n) {
|
|
28962
|
-
return /* @__PURE__ */ c.createElement(Fn,
|
|
28962
|
+
return /* @__PURE__ */ c.createElement(Fn, Le({}, e, {
|
|
28963
28963
|
ref: n,
|
|
28964
28964
|
icon: CT
|
|
28965
28965
|
}));
|
|
@@ -28998,7 +28998,7 @@ var Ay = /* @__PURE__ */ c.forwardRef(function(t, e) {
|
|
|
28998
28998
|
closeIcon: v
|
|
28999
28999
|
} : {};
|
|
29000
29000
|
}, [f, v]), G = uo(K, !0), L = 100 - (!h || h < 0 ? 0 : h > 100 ? 100 : h), _ = "".concat(n, "-notice");
|
|
29001
|
-
return /* @__PURE__ */ c.createElement("div",
|
|
29001
|
+
return /* @__PURE__ */ c.createElement("div", Le({}, C, {
|
|
29002
29002
|
ref: e,
|
|
29003
29003
|
className: Ae(_, i, P({}, "".concat(_, "-closable"), f)),
|
|
29004
29004
|
style: r,
|
|
@@ -29013,7 +29013,7 @@ var Ay = /* @__PURE__ */ c.forwardRef(function(t, e) {
|
|
|
29013
29013
|
onClick: m
|
|
29014
29014
|
}), /* @__PURE__ */ c.createElement("div", {
|
|
29015
29015
|
className: "".concat(_, "-content")
|
|
29016
|
-
}, d), f && /* @__PURE__ */ c.createElement("a",
|
|
29016
|
+
}, d), f && /* @__PURE__ */ c.createElement("a", Le({
|
|
29017
29017
|
tabIndex: 0,
|
|
29018
29018
|
className: "".concat(_, "-close"),
|
|
29019
29019
|
onKeyDown: q,
|
|
@@ -29067,7 +29067,7 @@ var Ay = /* @__PURE__ */ c.forwardRef(function(t, e) {
|
|
|
29067
29067
|
var k;
|
|
29068
29068
|
y(p.current[(k = g[g.length - 1]) === null || k === void 0 ? void 0 : k.key]);
|
|
29069
29069
|
}
|
|
29070
|
-
}, [g, b]), /* @__PURE__ */ ne.createElement(VS,
|
|
29070
|
+
}, [g, b]), /* @__PURE__ */ ne.createElement(VS, Le({
|
|
29071
29071
|
key: r,
|
|
29072
29072
|
className: Ae(i, "".concat(i, "-").concat(r), f == null ? void 0 : f.list, o, P(P({}, "".concat(i, "-stack"), !!b), "".concat(i, "-stack-expanded"), N)),
|
|
29073
29073
|
style: a,
|
|
@@ -29087,11 +29087,11 @@ var Ay = /* @__PURE__ */ c.forwardRef(function(t, e) {
|
|
|
29087
29087
|
var ce, Se, xe;
|
|
29088
29088
|
me.height = N ? (ce = p.current[W]) === null || ce === void 0 ? void 0 : ce.offsetHeight : m == null ? void 0 : m.offsetHeight;
|
|
29089
29089
|
for (var ve = 0, Be = 0; Be < z; Be++) {
|
|
29090
|
-
var
|
|
29091
|
-
ve += ((
|
|
29090
|
+
var je;
|
|
29091
|
+
ve += ((je = p.current[g[g.length - 1 - Be].key]) === null || je === void 0 ? void 0 : je.offsetHeight) + R;
|
|
29092
29092
|
}
|
|
29093
|
-
var
|
|
29094
|
-
me.transform = "translate3d(".concat(de, ", ").concat(
|
|
29093
|
+
var Ue = (N ? ve : z * S) * (r.startsWith("top") ? 1 : -1), Ie = !N && m !== null && m !== void 0 && m.offsetWidth && (Se = p.current[W]) !== null && Se !== void 0 && Se.offsetWidth ? ((m == null ? void 0 : m.offsetWidth) - S * 2 * (z < 3 ? z : 3)) / ((xe = p.current[W]) === null || xe === void 0 ? void 0 : xe.offsetWidth) : 1;
|
|
29094
|
+
me.transform = "translate3d(".concat(de, ", ").concat(Ue, "px, 0) scaleX(").concat(Ie, ")");
|
|
29095
29095
|
} else
|
|
29096
29096
|
me.transform = "translate3d(".concat(de, ", 0, 0)");
|
|
29097
29097
|
}
|
|
@@ -29111,7 +29111,7 @@ var Ay = /* @__PURE__ */ c.forwardRef(function(t, e) {
|
|
|
29111
29111
|
});
|
|
29112
29112
|
});
|
|
29113
29113
|
}
|
|
29114
|
-
}, /* @__PURE__ */ ne.createElement(Ay,
|
|
29114
|
+
}, /* @__PURE__ */ ne.createElement(Ay, Le({}, ue, {
|
|
29115
29115
|
ref: function(Oe) {
|
|
29116
29116
|
te > -1 ? p.current[W] = Oe : delete p.current[W];
|
|
29117
29117
|
},
|
|
@@ -29329,7 +29329,7 @@ const MT = {
|
|
|
29329
29329
|
})));
|
|
29330
29330
|
};
|
|
29331
29331
|
var NT = { icon: { tag: "svg", attrs: { "fill-rule": "evenodd", viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z" } }] }, name: "close", theme: "outlined" }, DT = function(e, n) {
|
|
29332
|
-
return /* @__PURE__ */ c.createElement(Fn,
|
|
29332
|
+
return /* @__PURE__ */ c.createElement(Fn, Le({}, e, {
|
|
29333
29333
|
ref: n,
|
|
29334
29334
|
icon: NT
|
|
29335
29335
|
}));
|
|
@@ -30012,11 +30012,11 @@ var Um = function(e) {
|
|
|
30012
30012
|
customizeIcon: y
|
|
30013
30013
|
}, "×"));
|
|
30014
30014
|
}, se = function(de, ce, Se, xe, ve, Be) {
|
|
30015
|
-
var
|
|
30015
|
+
var je = function(Ie) {
|
|
30016
30016
|
Um(Ie), M(!o);
|
|
30017
30017
|
};
|
|
30018
30018
|
return /* @__PURE__ */ c.createElement("span", {
|
|
30019
|
-
onMouseDown:
|
|
30019
|
+
onMouseDown: je
|
|
30020
30020
|
}, g({
|
|
30021
30021
|
label: ce,
|
|
30022
30022
|
value: de,
|
|
@@ -30028,13 +30028,13 @@ var Um = function(e) {
|
|
|
30028
30028
|
}, le = function(de) {
|
|
30029
30029
|
var ce = de.disabled, Se = de.label, xe = de.value, ve = !u && !ce, Be = Se;
|
|
30030
30030
|
if (typeof I == "number" && (typeof Se == "string" || typeof Se == "number")) {
|
|
30031
|
-
var
|
|
30032
|
-
|
|
30031
|
+
var je = String(Be);
|
|
30032
|
+
je.length > I && (Be = "".concat(je.slice(0, I), "..."));
|
|
30033
30033
|
}
|
|
30034
|
-
var
|
|
30034
|
+
var Ue = function(pe) {
|
|
30035
30035
|
pe && pe.stopPropagation(), E(de);
|
|
30036
30036
|
};
|
|
30037
|
-
return typeof g == "function" ? se(xe, Be, ce, ve,
|
|
30037
|
+
return typeof g == "function" ? se(xe, Be, ce, ve, Ue) : J(de, Be, ce, ve, Ue);
|
|
30038
30038
|
}, ue = function(de) {
|
|
30039
30039
|
if (!i.length)
|
|
30040
30040
|
return null;
|
|
@@ -30193,7 +30193,7 @@ var Um = function(e) {
|
|
|
30193
30193
|
onInputCompositionStart: S,
|
|
30194
30194
|
onInputCompositionEnd: T,
|
|
30195
30195
|
onInputBlur: y
|
|
30196
|
-
}, U = s === "multiple" || s === "tags" ? /* @__PURE__ */ c.createElement(g8,
|
|
30196
|
+
}, U = s === "multiple" || s === "tags" ? /* @__PURE__ */ c.createElement(g8, Le({}, e, k)) : /* @__PURE__ */ c.createElement(h8, Le({}, e, k));
|
|
30197
30197
|
return /* @__PURE__ */ c.createElement("div", {
|
|
30198
30198
|
ref: w,
|
|
30199
30199
|
className: "".concat(o, "-selector"),
|
|
@@ -30265,7 +30265,7 @@ var m8 = ["prefixCls", "disabled", "visible", "children", "popupElement", "anima
|
|
|
30265
30265
|
return (k = D.current) === null || k === void 0 ? void 0 : k.popupElement;
|
|
30266
30266
|
}
|
|
30267
30267
|
};
|
|
30268
|
-
}), /* @__PURE__ */ c.createElement(pl,
|
|
30268
|
+
}), /* @__PURE__ */ c.createElement(pl, Le({}, M, {
|
|
30269
30269
|
showAction: x ? ["click"] : [],
|
|
30270
30270
|
hideAction: x ? ["click"] : [],
|
|
30271
30271
|
popupPlacement: p || (f === "rtl" ? "bottomRight" : "bottomLeft"),
|
|
@@ -30373,17 +30373,17 @@ function b8(t) {
|
|
|
30373
30373
|
var S8 = ["id", "prefixCls", "className", "showSearch", "tagRender", "direction", "omitDomProps", "displayValues", "onDisplayValuesChange", "emptyOptions", "notFoundContent", "onClear", "mode", "disabled", "loading", "getInputElement", "getRawInputElement", "open", "defaultOpen", "onDropdownVisibleChange", "activeValue", "onActiveValueChange", "activeDescendantId", "searchValue", "autoClearSearchValue", "onSearch", "onSearchSplit", "tokenSeparators", "allowClear", "prefix", "suffixIcon", "clearIcon", "OptionList", "animation", "transitionName", "dropdownStyle", "dropdownClassName", "dropdownMatchSelectWidth", "dropdownRender", "dropdownAlign", "placement", "builtinPlacements", "getPopupContainer", "showAction", "onFocus", "onBlur", "onKeyUp", "onKeyDown", "onMouseDown"], w8 = ["value", "onChange", "removeIcon", "placeholder", "autoFocus", "maxTagCount", "maxTagTextLength", "maxTagPlaceholder", "choiceTransitionName", "onInputKeyDown", "onPopupScroll", "tabIndex"], FA = function(e) {
|
|
30374
30374
|
return e === "tags" || e === "multiple";
|
|
30375
30375
|
}, Ey = /* @__PURE__ */ c.forwardRef(function(t, e) {
|
|
30376
|
-
var n, r = t.id, i = t.prefixCls, o = t.className, a = t.showSearch, s = t.tagRender, A = t.direction, l = t.omitDomProps, u = t.displayValues, d = t.onDisplayValuesChange, f = t.emptyOptions, p = t.notFoundContent, v = p === void 0 ? "Not Found" : p, C = t.onClear, m = t.mode, y = t.disabled, w = t.loading, I = t.getInputElement, O = t.getRawInputElement, x = t.open, g = t.defaultOpen, M = t.onDropdownVisibleChange, E = t.activeValue, b = t.onActiveValueChange, h = t.activeDescendantId, S = t.searchValue, T = t.autoClearSearchValue, R = t.onSearch, N = t.onSearchSplit, D = t.tokenSeparators, F = t.allowClear, k = t.prefix, U = t.suffixIcon, q = t.clearIcon, K = t.OptionList, G = t.animation, L = t.transitionName, _ = t.dropdownStyle, V = t.dropdownClassName, W = t.dropdownMatchSelectWidth, Y = t.dropdownRender, ee = t.dropdownAlign, J = t.placement, se = t.builtinPlacements, le = t.getPopupContainer, ue = t.showAction, te = ue === void 0 ? [] : ue, me = t.onFocus, z = t.onBlur, de = t.onKeyUp, ce = t.onKeyDown, Se = t.onMouseDown, xe = St(t, S8), ve = FA(m), Be = (a !== void 0 ? a : ve) || m === "combobox",
|
|
30376
|
+
var n, r = t.id, i = t.prefixCls, o = t.className, a = t.showSearch, s = t.tagRender, A = t.direction, l = t.omitDomProps, u = t.displayValues, d = t.onDisplayValuesChange, f = t.emptyOptions, p = t.notFoundContent, v = p === void 0 ? "Not Found" : p, C = t.onClear, m = t.mode, y = t.disabled, w = t.loading, I = t.getInputElement, O = t.getRawInputElement, x = t.open, g = t.defaultOpen, M = t.onDropdownVisibleChange, E = t.activeValue, b = t.onActiveValueChange, h = t.activeDescendantId, S = t.searchValue, T = t.autoClearSearchValue, R = t.onSearch, N = t.onSearchSplit, D = t.tokenSeparators, F = t.allowClear, k = t.prefix, U = t.suffixIcon, q = t.clearIcon, K = t.OptionList, G = t.animation, L = t.transitionName, _ = t.dropdownStyle, V = t.dropdownClassName, W = t.dropdownMatchSelectWidth, Y = t.dropdownRender, ee = t.dropdownAlign, J = t.placement, se = t.builtinPlacements, le = t.getPopupContainer, ue = t.showAction, te = ue === void 0 ? [] : ue, me = t.onFocus, z = t.onBlur, de = t.onKeyUp, ce = t.onKeyDown, Se = t.onMouseDown, xe = St(t, S8), ve = FA(m), Be = (a !== void 0 ? a : ve) || m === "combobox", je = j({}, xe);
|
|
30377
30377
|
w8.forEach(function(xt) {
|
|
30378
|
-
delete
|
|
30378
|
+
delete je[xt];
|
|
30379
30379
|
}), l == null || l.forEach(function(xt) {
|
|
30380
|
-
delete
|
|
30380
|
+
delete je[xt];
|
|
30381
30381
|
});
|
|
30382
|
-
var
|
|
30382
|
+
var Ue = c.useState(!1), Ie = $(Ue, 2), pe = Ie[0], Oe = Ie[1];
|
|
30383
30383
|
c.useEffect(function() {
|
|
30384
30384
|
Oe(MC());
|
|
30385
30385
|
}, []);
|
|
30386
|
-
var Ke = c.useRef(null), tt = c.useRef(null), it = c.useRef(null), qe = c.useRef(null), be = c.useRef(null), _e = c.useRef(!1), ut = n8(),
|
|
30386
|
+
var Ke = c.useRef(null), tt = c.useRef(null), it = c.useRef(null), qe = c.useRef(null), be = c.useRef(null), _e = c.useRef(!1), ut = n8(), $e = $(ut, 3), Fe = $e[0], Me = $e[1], At = $e[2];
|
|
30387
30387
|
c.useImperativeHandle(e, function() {
|
|
30388
30388
|
var xt, Ze;
|
|
30389
30389
|
return {
|
|
@@ -30439,7 +30439,7 @@ var S8 = ["id", "prefixCls", "className", "showSearch", "tagRender", "direction"
|
|
|
30439
30439
|
}, [Ne]), c.useEffect(function() {
|
|
30440
30440
|
ze && y && Xe(!1), y && !_e.current && Me(!1);
|
|
30441
30441
|
}, [y]);
|
|
30442
|
-
var Q = py(), re = $(Q, 2), X = re[0], Ce = re[1],
|
|
30442
|
+
var Q = py(), re = $(Q, 2), X = re[0], Ce = re[1], Pe = c.useRef(!1), et = function(Ze) {
|
|
30443
30443
|
var ht = X(), wt = Ze.key, Dt = wt === "Enter";
|
|
30444
30444
|
if (Dt && (m !== "combobox" && Ze.preventDefault(), Ne || ke(!0)), Ce(!!lt), wt === "Backspace" && !ht && ve && !lt && u.length) {
|
|
30445
30445
|
for (var kt = Re(u), Rn = null, On = kt.length - 1; On >= 0; On -= 1) {
|
|
@@ -30456,9 +30456,9 @@ var S8 = ["id", "prefixCls", "className", "showSearch", "tagRender", "direction"
|
|
|
30456
30456
|
}
|
|
30457
30457
|
for (var ar = arguments.length, $n = new Array(ar > 1 ? ar - 1 : 0), er = 1; er < ar; er++)
|
|
30458
30458
|
$n[er - 1] = arguments[er];
|
|
30459
|
-
if (Ne && (!Dt || !
|
|
30459
|
+
if (Ne && (!Dt || !Pe.current)) {
|
|
30460
30460
|
var bn;
|
|
30461
|
-
Dt && (
|
|
30461
|
+
Dt && (Pe.current = !0), (bn = be.current) === null || bn === void 0 || bn.onKeyDown.apply(bn, [Ze].concat($n));
|
|
30462
30462
|
}
|
|
30463
30463
|
ce == null || ce.apply(void 0, [Ze].concat($n));
|
|
30464
30464
|
}, Pt = function(Ze) {
|
|
@@ -30468,7 +30468,7 @@ var S8 = ["id", "prefixCls", "className", "showSearch", "tagRender", "direction"
|
|
|
30468
30468
|
var kt;
|
|
30469
30469
|
(kt = be.current) === null || kt === void 0 || kt.onKeyUp.apply(kt, [Ze].concat(wt));
|
|
30470
30470
|
}
|
|
30471
|
-
Ze.key === "Enter" && (
|
|
30471
|
+
Ze.key === "Enter" && (Pe.current = !1), de == null || de.apply(void 0, [Ze].concat(wt));
|
|
30472
30472
|
}, gt = function(Ze) {
|
|
30473
30473
|
var ht = u.filter(function(wt) {
|
|
30474
30474
|
return wt !== Ze;
|
|
@@ -30478,7 +30478,7 @@ var S8 = ["id", "prefixCls", "className", "showSearch", "tagRender", "direction"
|
|
|
30478
30478
|
values: [Ze]
|
|
30479
30479
|
});
|
|
30480
30480
|
}, It = function() {
|
|
30481
|
-
|
|
30481
|
+
Pe.current = !1;
|
|
30482
30482
|
}, Ee = c.useRef(!1), De = function() {
|
|
30483
30483
|
Me(!0), y || (me && !Ee.current && me.apply(void 0, arguments), te.includes("focus") && ke(!0)), Ee.current = !0;
|
|
30484
30484
|
}, ct = function() {
|
|
@@ -30583,7 +30583,7 @@ var S8 = ["id", "prefixCls", "className", "showSearch", "tagRender", "direction"
|
|
|
30583
30583
|
onPopupMouseEnter: zr
|
|
30584
30584
|
}, Bt ? /* @__PURE__ */ c.cloneElement(Bt, {
|
|
30585
30585
|
ref: $t
|
|
30586
|
-
}) : /* @__PURE__ */ c.createElement(vy,
|
|
30586
|
+
}) : /* @__PURE__ */ c.createElement(vy, Le({}, t, {
|
|
30587
30587
|
domRef: tt,
|
|
30588
30588
|
prefixCls: i,
|
|
30589
30589
|
inputElement: Ct,
|
|
@@ -30606,12 +30606,12 @@ var S8 = ["id", "prefixCls", "className", "showSearch", "tagRender", "direction"
|
|
|
30606
30606
|
tokenWithEnter: we,
|
|
30607
30607
|
onInputBlur: It
|
|
30608
30608
|
}))), ii;
|
|
30609
|
-
return Bt ? ii = Yr : ii = /* @__PURE__ */ c.createElement("div",
|
|
30609
|
+
return Bt ? ii = Yr : ii = /* @__PURE__ */ c.createElement("div", Le({
|
|
30610
30610
|
className: Cr
|
|
30611
|
-
},
|
|
30611
|
+
}, je, {
|
|
30612
30612
|
ref: Ke,
|
|
30613
30613
|
onMouseDown: Qt,
|
|
30614
|
-
onKeyDown:
|
|
30614
|
+
onKeyDown: et,
|
|
30615
30615
|
onKeyUp: Pt,
|
|
30616
30616
|
onFocus: De,
|
|
30617
30617
|
onBlur: ct
|
|
@@ -30649,7 +30649,7 @@ var by = /* @__PURE__ */ c.forwardRef(function(t, e) {
|
|
|
30649
30649
|
var C = v.offsetHeight;
|
|
30650
30650
|
C && s && s();
|
|
30651
30651
|
}
|
|
30652
|
-
}, /* @__PURE__ */ c.createElement("div",
|
|
30652
|
+
}, /* @__PURE__ */ c.createElement("div", Le({
|
|
30653
30653
|
style: f,
|
|
30654
30654
|
className: Ae(P({}, "".concat(a, "-holder-inner"), a)),
|
|
30655
30655
|
ref: e
|
|
@@ -31055,10 +31055,10 @@ var Td = /* @__PURE__ */ c.forwardRef(function(t, e) {
|
|
|
31055
31055
|
var ue, te = function(de) {
|
|
31056
31056
|
var ce = V.current, Se = ce.dragging, xe = ce.pageY, ve = ce.startTop;
|
|
31057
31057
|
Zt.cancel(ue);
|
|
31058
|
-
var Be = T.current.getBoundingClientRect(),
|
|
31058
|
+
var Be = T.current.getBoundingClientRect(), je = d / (l ? Be.width : Be.height);
|
|
31059
31059
|
if (Se) {
|
|
31060
|
-
var
|
|
31061
|
-
!S && l ? Ie -=
|
|
31060
|
+
var Ue = (Md(de, l) - xe) * je, Ie = ve;
|
|
31061
|
+
!S && l ? Ie -= Ue : Ie += Ue;
|
|
31062
31062
|
var pe = Y.current, Oe = ee.current, Ke = Oe ? Ie / Oe : 0, tt = Math.ceil(Ke * pe);
|
|
31063
31063
|
tt = Math.max(tt, 0), tt = Math.min(tt, pe), ue = Zt(function() {
|
|
31064
31064
|
A(tt, l);
|
|
@@ -31148,10 +31148,10 @@ function U8(t, e) {
|
|
|
31148
31148
|
xe(!0);
|
|
31149
31149
|
}, Be = function() {
|
|
31150
31150
|
xe(!1);
|
|
31151
|
-
},
|
|
31151
|
+
}, je = {
|
|
31152
31152
|
getKey: S
|
|
31153
31153
|
};
|
|
31154
|
-
function
|
|
31154
|
+
function Ue(Ee) {
|
|
31155
31155
|
le(function(De) {
|
|
31156
31156
|
var ct;
|
|
31157
31157
|
typeof Ee == "function" ? ct = Ee(De) : ct = Ee;
|
|
@@ -31200,7 +31200,7 @@ function U8(t, e) {
|
|
|
31200
31200
|
var Qt = S(dt);
|
|
31201
31201
|
if (Qt === De) {
|
|
31202
31202
|
var Un = F.get(De), dn = Un - a;
|
|
31203
|
-
|
|
31203
|
+
Ue(function(_n) {
|
|
31204
31204
|
return _n + dn;
|
|
31205
31205
|
});
|
|
31206
31206
|
}
|
|
@@ -31208,10 +31208,10 @@ function U8(t, e) {
|
|
|
31208
31208
|
}
|
|
31209
31209
|
F.resetRecord();
|
|
31210
31210
|
}, [qe]);
|
|
31211
|
-
var
|
|
31211
|
+
var $e = c.useState({
|
|
31212
31212
|
width: 0,
|
|
31213
31213
|
height: o
|
|
31214
|
-
}), Fe = $(
|
|
31214
|
+
}), Fe = $($e, 2), Me = Fe[0], At = Fe[1], lt = function(De) {
|
|
31215
31215
|
At({
|
|
31216
31216
|
width: De.offsetWidth,
|
|
31217
31217
|
height: De.offsetHeight
|
|
@@ -31241,11 +31241,11 @@ function U8(t, e) {
|
|
|
31241
31241
|
var ct = Ee;
|
|
31242
31242
|
De ? (Cc(function() {
|
|
31243
31243
|
z(ct);
|
|
31244
|
-
}), ke()) :
|
|
31244
|
+
}), ke()) : Ue(ct);
|
|
31245
31245
|
}
|
|
31246
31246
|
function Ve(Ee) {
|
|
31247
31247
|
var De = Ee.currentTarget.scrollTop;
|
|
31248
|
-
De !== se &&
|
|
31248
|
+
De !== se && Ue(De), w == null || w(Ee), ke();
|
|
31249
31249
|
}
|
|
31250
31250
|
var Ye = function(De) {
|
|
31251
31251
|
var ct = De, dt = C ? C - Me.width : 0;
|
|
@@ -31256,7 +31256,7 @@ function U8(t, e) {
|
|
|
31256
31256
|
var dt = ct + (G ? -Ee : Ee);
|
|
31257
31257
|
return Ye(dt);
|
|
31258
31258
|
});
|
|
31259
|
-
}), ke()) :
|
|
31259
|
+
}), ke()) : Ue(function(ct) {
|
|
31260
31260
|
var dt = ct + Ee;
|
|
31261
31261
|
return dt;
|
|
31262
31262
|
});
|
|
@@ -31270,7 +31270,7 @@ function U8(t, e) {
|
|
|
31270
31270
|
deltaY: Ee ? 0 : De
|
|
31271
31271
|
}), !0) : !1;
|
|
31272
31272
|
}), F8(K, V, function(Ee) {
|
|
31273
|
-
|
|
31273
|
+
Ue(function(De) {
|
|
31274
31274
|
return De + Ee;
|
|
31275
31275
|
});
|
|
31276
31276
|
}), nn(function() {
|
|
@@ -31301,7 +31301,7 @@ function U8(t, e) {
|
|
|
31301
31301
|
(De = Ct.current) === null || De === void 0 || De.delayHidden(), (ct = Bt.current) === null || ct === void 0 || ct.delayHidden();
|
|
31302
31302
|
}, Ce = k8(V, _, F, a, S, function() {
|
|
31303
31303
|
return D(!0);
|
|
31304
|
-
},
|
|
31304
|
+
}, Ue, X);
|
|
31305
31305
|
c.useImperativeHandle(e, function() {
|
|
31306
31306
|
return {
|
|
31307
31307
|
nativeElement: Y.current,
|
|
@@ -31319,18 +31319,18 @@ function U8(t, e) {
|
|
|
31319
31319
|
O(Ee, _);
|
|
31320
31320
|
}
|
|
31321
31321
|
}, [be, _e, _]);
|
|
31322
|
-
var
|
|
31322
|
+
var Pe = T8(_, S, F, a), et = g == null ? void 0 : g({
|
|
31323
31323
|
start: be,
|
|
31324
31324
|
end: _e,
|
|
31325
31325
|
virtual: K,
|
|
31326
31326
|
offsetX: me,
|
|
31327
31327
|
offsetY: ut,
|
|
31328
31328
|
rtl: G,
|
|
31329
|
-
getSize:
|
|
31330
|
-
}), Pt = x8(_, be, _e, C, me, N, d,
|
|
31329
|
+
getSize: Pe
|
|
31330
|
+
}), Pt = x8(_, be, _e, C, me, N, d, je), gt = null;
|
|
31331
31331
|
o && (gt = j(P({}, A ? "height" : "maxHeight", o), L8), U && (gt.overflowY = "hidden", C && (gt.overflowX = "hidden"), Se && (gt.pointerEvents = "none")));
|
|
31332
31332
|
var It = {};
|
|
31333
|
-
return G && (It.dir = "rtl"), /* @__PURE__ */ c.createElement("div",
|
|
31333
|
+
return G && (It.dir = "rtl"), /* @__PURE__ */ c.createElement("div", Le({
|
|
31334
31334
|
ref: Y,
|
|
31335
31335
|
style: j(j({}, l), {}, {
|
|
31336
31336
|
position: "relative"
|
|
@@ -31354,7 +31354,7 @@ function U8(t, e) {
|
|
|
31354
31354
|
ref: W,
|
|
31355
31355
|
innerProps: x,
|
|
31356
31356
|
rtl: G,
|
|
31357
|
-
extra:
|
|
31357
|
+
extra: et
|
|
31358
31358
|
}, Pt))), K && qe > o && /* @__PURE__ */ c.createElement(Td, {
|
|
31359
31359
|
ref: Ct,
|
|
31360
31360
|
prefixCls: r,
|
|
@@ -31520,7 +31520,7 @@ var q8 = function(e, n) {
|
|
|
31520
31520
|
if (!me)
|
|
31521
31521
|
return null;
|
|
31522
31522
|
var z = me.data || {}, de = z.value, ce = me.group, Se = uo(z, !0), xe = ee(me);
|
|
31523
|
-
return me ? /* @__PURE__ */ c.createElement("div",
|
|
31523
|
+
return me ? /* @__PURE__ */ c.createElement("div", Le({
|
|
31524
31524
|
"aria-label": typeof xe == "string" && !ce ? xe : null
|
|
31525
31525
|
}, Se, {
|
|
31526
31526
|
key: te
|
|
@@ -31531,7 +31531,7 @@ var q8 = function(e, n) {
|
|
|
31531
31531
|
role: "listbox",
|
|
31532
31532
|
id: "".concat(o, "_list")
|
|
31533
31533
|
};
|
|
31534
|
-
return /* @__PURE__ */ c.createElement(c.Fragment, null, g && /* @__PURE__ */ c.createElement("div",
|
|
31534
|
+
return /* @__PURE__ */ c.createElement(c.Fragment, null, g && /* @__PURE__ */ c.createElement("div", Le({}, le, {
|
|
31535
31535
|
style: {
|
|
31536
31536
|
height: 0,
|
|
31537
31537
|
width: 0,
|
|
@@ -31558,10 +31558,10 @@ var q8 = function(e, n) {
|
|
|
31558
31558
|
title: Be
|
|
31559
31559
|
}, ce !== void 0 ? ce : xe);
|
|
31560
31560
|
}
|
|
31561
|
-
var
|
|
31561
|
+
var je = de.disabled, Ue = de.title;
|
|
31562
31562
|
de.children;
|
|
31563
|
-
var Ie = de.style, pe = de.className, Oe = St(de, G8), Ke = mr(Oe, Y), tt = k(Se), it =
|
|
31564
|
-
return
|
|
31563
|
+
var Ie = de.style, pe = de.className, Oe = St(de, G8), Ke = mr(Oe, Y), tt = k(Se), it = je || !tt && N, qe = "".concat(S, "-option"), be = Ae(S, qe, pe, P(P(P(P({}, "".concat(qe, "-grouped"), z), "".concat(qe, "-active"), G === te && !it), "".concat(qe, "-disabled"), it), "".concat(qe, "-selected"), tt)), _e = ee(ue), ut = !I || typeof I == "function" || tt, $e = typeof _e == "number" ? _e : _e || Se, Fe = Ym($e) ? $e.toString() : void 0;
|
|
31564
|
+
return Ue !== void 0 && (Fe = Ue), /* @__PURE__ */ c.createElement("div", Le({}, uo(Ke), g ? {} : J(ue, te), {
|
|
31565
31565
|
"aria-selected": V(Se),
|
|
31566
31566
|
className: be,
|
|
31567
31567
|
title: Fe,
|
|
@@ -31576,7 +31576,7 @@ var q8 = function(e, n) {
|
|
|
31576
31576
|
className: "".concat(qe, "-content")
|
|
31577
31577
|
}, typeof h == "function" ? h(ue, {
|
|
31578
31578
|
index: te
|
|
31579
|
-
}) :
|
|
31579
|
+
}) : $e), /* @__PURE__ */ c.isValidElement(I) || tt, ut && /* @__PURE__ */ c.createElement(El, {
|
|
31580
31580
|
className: "".concat(S, "-option-state"),
|
|
31581
31581
|
customizeIcon: I,
|
|
31582
31582
|
customizeIconProps: {
|
|
@@ -31791,8 +31791,8 @@ var xy = /* @__PURE__ */ c.forwardRef(function(t, e) {
|
|
|
31791
31791
|
if (X) {
|
|
31792
31792
|
var Ce;
|
|
31793
31793
|
if (He === void 0 && (He = X == null ? void 0 : X[O || ee.label]), B === void 0 && (B = (Ce = X == null ? void 0 : X.key) !== null && Ce !== void 0 ? Ce : Ye), ge = X == null ? void 0 : X.disabled, Q = X == null ? void 0 : X.title, process.env.NODE_ENV !== "production" && !O) {
|
|
31794
|
-
var
|
|
31795
|
-
|
|
31794
|
+
var Pe = X == null ? void 0 : X[ee.label];
|
|
31795
|
+
Pe !== void 0 && !/* @__PURE__ */ c.isValidElement(Pe) && !/* @__PURE__ */ c.isValidElement(He) && Pe !== He && bt(!1, "`label` of `value` is not same as `label` in Select options.");
|
|
31796
31796
|
}
|
|
31797
31797
|
}
|
|
31798
31798
|
return {
|
|
@@ -31805,10 +31805,10 @@ var xy = /* @__PURE__ */ c.forwardRef(function(t, e) {
|
|
|
31805
31805
|
});
|
|
31806
31806
|
}, [ee, O, me]), Se = Qn(U, {
|
|
31807
31807
|
value: k
|
|
31808
|
-
}), xe = $(Se, 2), ve = xe[0], Be = xe[1],
|
|
31808
|
+
}), xe = $(Se, 2), ve = xe[0], Be = xe[1], je = c.useMemo(function() {
|
|
31809
31809
|
var ke, we = V && ve === null ? [] : ve, Ve = ce(we);
|
|
31810
31810
|
return r === "combobox" && u8((ke = Ve[0]) === null || ke === void 0 ? void 0 : ke.value) ? [] : Ve;
|
|
31811
|
-
}, [ve, ce, r, V]),
|
|
31811
|
+
}, [ve, ce, r, V]), Ue = Z8(je, me), Ie = $(Ue, 2), pe = Ie[0], Oe = Ie[1], Ke = c.useMemo(function() {
|
|
31812
31812
|
if (!r && pe.length === 1) {
|
|
31813
31813
|
var ke = pe[0];
|
|
31814
31814
|
if (ke.value === null && (ke.label === null || ke.label === void 0))
|
|
@@ -31863,14 +31863,14 @@ var xy = /* @__PURE__ */ c.forwardRef(function(t, e) {
|
|
|
31863
31863
|
options: Ye.options.length > 0 ? ke(Ye.options) : Ye.options
|
|
31864
31864
|
}) : Ye;
|
|
31865
31865
|
});
|
|
31866
|
-
},
|
|
31866
|
+
}, $e = c.useMemo(function() {
|
|
31867
31867
|
return w ? ut(_e) : _e;
|
|
31868
31868
|
}, [_e, w, le]), Fe = c.useMemo(function() {
|
|
31869
|
-
return y8(
|
|
31869
|
+
return y8($e, {
|
|
31870
31870
|
fieldNames: ee,
|
|
31871
31871
|
childrenAsData: W
|
|
31872
31872
|
});
|
|
31873
|
-
}, [
|
|
31873
|
+
}, [$e, ee, W]), Me = function(we) {
|
|
31874
31874
|
var Ve = ce(we);
|
|
31875
31875
|
if (Be(Ve), K && // Trigger event only when value changed
|
|
31876
31876
|
(Ve.length !== pe.length || Ve.some(function(B, ge) {
|
|
@@ -31905,8 +31905,8 @@ var xy = /* @__PURE__ */ c.forwardRef(function(t, e) {
|
|
|
31905
31905
|
var B = He(), ge = $(B, 2), Q = ge[0], re = ge[1];
|
|
31906
31906
|
p(Q, re);
|
|
31907
31907
|
} else if (!Ve && v && Ye !== "clear") {
|
|
31908
|
-
var X = He(), Ce = $(X, 2),
|
|
31909
|
-
v(
|
|
31908
|
+
var X = He(), Ce = $(X, 2), Pe = Ce[0], et = Ce[1];
|
|
31909
|
+
v(Pe, et);
|
|
31910
31910
|
}
|
|
31911
31911
|
}, ze = Jm(function(ke, we) {
|
|
31912
31912
|
var Ve, Ye = V ? we.selected : !0;
|
|
@@ -31962,7 +31962,7 @@ var xy = /* @__PURE__ */ c.forwardRef(function(t, e) {
|
|
|
31962
31962
|
}, [G, te, Fe, Tt, Vt, ze, b, tt, ee, h, m, S, R, D, W, g]);
|
|
31963
31963
|
return process.env.NODE_ENV !== "production" && ($8(t), eN(de, ee)), /* @__PURE__ */ c.createElement(Pf.Provider, {
|
|
31964
31964
|
value: vt
|
|
31965
|
-
}, /* @__PURE__ */ c.createElement(Ey,
|
|
31965
|
+
}, /* @__PURE__ */ c.createElement(Ey, Le({}, L, {
|
|
31966
31966
|
// >>> MISC
|
|
31967
31967
|
id: _,
|
|
31968
31968
|
prefixCls: o,
|
|
@@ -32201,14 +32201,14 @@ function sN(t, e) {
|
|
|
32201
32201
|
return t || aN(e);
|
|
32202
32202
|
}
|
|
32203
32203
|
var AN = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z" } }] }, name: "check", theme: "outlined" }, lN = function(e, n) {
|
|
32204
|
-
return /* @__PURE__ */ c.createElement(Fn,
|
|
32204
|
+
return /* @__PURE__ */ c.createElement(Fn, Le({}, e, {
|
|
32205
32205
|
ref: n,
|
|
32206
32206
|
icon: AN
|
|
32207
32207
|
}));
|
|
32208
32208
|
}, Ny = /* @__PURE__ */ c.forwardRef(lN);
|
|
32209
32209
|
process.env.NODE_ENV !== "production" && (Ny.displayName = "CheckOutlined");
|
|
32210
32210
|
var cN = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" } }] }, name: "down", theme: "outlined" }, uN = function(e, n) {
|
|
32211
|
-
return /* @__PURE__ */ c.createElement(Fn,
|
|
32211
|
+
return /* @__PURE__ */ c.createElement(Fn, Le({}, e, {
|
|
32212
32212
|
ref: n,
|
|
32213
32213
|
icon: cN
|
|
32214
32214
|
}));
|
|
@@ -32321,8 +32321,8 @@ const By = "SECRET_COMBOBOX_MODE_DO_NOT_USE", Fy = (t, e) => {
|
|
|
32321
32321
|
}, [t.mode]), ce = de === "multiple" || de === "tags", Se = fN(t.suffixIcon, t.showArrow), xe = (n = I ?? w) !== null && n !== void 0 ? n : q, {
|
|
32322
32322
|
status: ve,
|
|
32323
32323
|
hasFeedback: Be,
|
|
32324
|
-
isFormItemInput:
|
|
32325
|
-
feedbackIcon:
|
|
32324
|
+
isFormItemInput: je,
|
|
32325
|
+
feedbackIcon: Ue
|
|
32326
32326
|
} = c.useContext(Zr), Ie = Al(ve, m);
|
|
32327
32327
|
let pe;
|
|
32328
32328
|
C !== void 0 ? pe = C : de === "combobox" ? pe = null : pe = (F == null ? void 0 : F("Select")) || /* @__PURE__ */ c.createElement(oN, {
|
|
@@ -32336,7 +32336,7 @@ const By = "SECRET_COMBOBOX_MODE_DO_NOT_USE", Fy = (t, e) => {
|
|
|
32336
32336
|
} = dN(Object.assign(Object.assign({}, R), {
|
|
32337
32337
|
multiple: ce,
|
|
32338
32338
|
hasFeedback: Be,
|
|
32339
|
-
feedbackIcon:
|
|
32339
|
+
feedbackIcon: Ue,
|
|
32340
32340
|
showSuffixIcon: Se,
|
|
32341
32341
|
prefixCls: V,
|
|
32342
32342
|
componentName: "Select"
|
|
@@ -32347,12 +32347,12 @@ const By = "SECRET_COMBOBOX_MODE_DO_NOT_USE", Fy = (t, e) => {
|
|
|
32347
32347
|
}, a, z, ue, me), ut = qi((Ct) => {
|
|
32348
32348
|
var Bt;
|
|
32349
32349
|
return (Bt = p ?? ee) !== null && Bt !== void 0 ? Bt : Ct;
|
|
32350
|
-
}),
|
|
32350
|
+
}), $e = c.useContext(fi), Fe = v ?? $e, Me = Ae({
|
|
32351
32351
|
[`${V}-lg`]: ut === "large",
|
|
32352
32352
|
[`${V}-sm`]: ut === "small",
|
|
32353
32353
|
[`${V}-rtl`]: Y === "rtl",
|
|
32354
32354
|
[`${V}-${se}`]: le,
|
|
32355
|
-
[`${V}-in-form-item`]:
|
|
32355
|
+
[`${V}-in-form-item`]: je
|
|
32356
32356
|
}, IA(V, Ie, Be), J, G.className, o, a, z, ue, me), At = c.useMemo(() => d !== void 0 ? d : Y === "rtl" ? "bottomRight" : "bottomLeft", [d, Y]);
|
|
32357
32357
|
if (process.env.NODE_ENV !== "production") {
|
|
32358
32358
|
const Ct = pn("Select");
|
|
@@ -32900,7 +32900,7 @@ const HN = {
|
|
|
32900
32900
|
空闲: 1,
|
|
32901
32901
|
离线: 0,
|
|
32902
32902
|
未注册: 4
|
|
32903
|
-
}, ZN = nv(() => import("./ConsultModel-
|
|
32903
|
+
}, ZN = nv(() => import("./ConsultModel-B0g4sapV.mjs")), KN = nv(() => import("./TransferModel-D30vJSOe.mjs")), mc = An.div`
|
|
32904
32904
|
width: 25px;
|
|
32905
32905
|
height: 25px;
|
|
32906
32906
|
background: ${({
|
|
@@ -32932,7 +32932,7 @@ const HN = {
|
|
|
32932
32932
|
idle: m,
|
|
32933
32933
|
unavailable: y,
|
|
32934
32934
|
selectOutNumberColor: w
|
|
32935
|
-
} = e || {}, I = Te(), O = Te(), [x, g] = Et(new Audio(NN)), M = Te(), E = Te(), [b, h] = Et(), [S, T] = Et(), [R, N] = Et(!1), [D, F] = Et((/* @__PURE__ */ new Date()).getTime()), [k, U] = Et(), [q, K] = Et(), [G, L] = Et([]), [_, V] = Et([]), [W, Y] = Et(""), [ee, J] = Et(!1), [se, le] = Et([]), [ue, te] = Et(""), [me, z] = Et(""), [de, ce] = Et(!1), [Se, xe] = Et(!1), [ve, Be] = Et(), [
|
|
32935
|
+
} = e || {}, I = Te(), O = Te(), [x, g] = Et(new Audio(NN)), M = Te(), E = Te(), [b, h] = Et(), [S, T] = Et(), [R, N] = Et(!1), [D, F] = Et((/* @__PURE__ */ new Date()).getTime()), [k, U] = Et(), [q, K] = Et(), [G, L] = Et([]), [_, V] = Et([]), [W, Y] = Et(""), [ee, J] = Et(!1), [se, le] = Et([]), [ue, te] = Et(""), [me, z] = Et(""), [de, ce] = Et(!1), [Se, xe] = Et(!1), [ve, Be] = Et(), [je, Ue] = Et((/* @__PURE__ */ new Date()).getTime()), [Ie, pe] = Et(!0), [Oe, Ke] = Et(""), tt = (Q) => {
|
|
32936
32936
|
switch (Q) {
|
|
32937
32937
|
case Mt.IDLE:
|
|
32938
32938
|
return m || "#1D92E9";
|
|
@@ -33021,7 +33021,7 @@ const HN = {
|
|
|
33021
33021
|
// 外呼成功\被咨询者振铃
|
|
33022
33022
|
case ie.OUT_SUCCESS:
|
|
33023
33023
|
case ie.CONSULT_RINGING: {
|
|
33024
|
-
qe(x),
|
|
33024
|
+
qe(x), Be("out"), be(E.current);
|
|
33025
33025
|
return;
|
|
33026
33026
|
}
|
|
33027
33027
|
case ie.OUT_INCOMING_CALL:
|
|
@@ -33074,9 +33074,9 @@ const HN = {
|
|
|
33074
33074
|
session_id: Ce.session_id
|
|
33075
33075
|
}));
|
|
33076
33076
|
const {
|
|
33077
|
-
soft_device_ring_switch:
|
|
33077
|
+
soft_device_ring_switch: Pe
|
|
33078
33078
|
} = I.current.getAgentData();
|
|
33079
|
-
if (!
|
|
33079
|
+
if (!Pe) return;
|
|
33080
33080
|
qe(M.current);
|
|
33081
33081
|
return;
|
|
33082
33082
|
}
|
|
@@ -33087,9 +33087,9 @@ const HN = {
|
|
|
33087
33087
|
session_id: Ce.session_id
|
|
33088
33088
|
}));
|
|
33089
33089
|
const {
|
|
33090
|
-
soft_device_ring_switch:
|
|
33090
|
+
soft_device_ring_switch: Pe
|
|
33091
33091
|
} = I.current.getAgentData();
|
|
33092
|
-
if (!
|
|
33092
|
+
if (!Pe) return;
|
|
33093
33093
|
qe(M.current);
|
|
33094
33094
|
return;
|
|
33095
33095
|
}
|
|
@@ -33100,9 +33100,9 @@ const HN = {
|
|
|
33100
33100
|
session_id: Ce.session_id
|
|
33101
33101
|
}));
|
|
33102
33102
|
const {
|
|
33103
|
-
soft_device_ring_switch:
|
|
33103
|
+
soft_device_ring_switch: Pe
|
|
33104
33104
|
} = I.current.getAgentData();
|
|
33105
|
-
if (!
|
|
33105
|
+
if (!Pe) return;
|
|
33106
33106
|
qe(M.current);
|
|
33107
33107
|
return;
|
|
33108
33108
|
}
|
|
@@ -33133,11 +33133,11 @@ const HN = {
|
|
|
33133
33133
|
session_id: Ce.session_id
|
|
33134
33134
|
}), be(M.current), be(x), Be(void 0), ce(!1), xe(!1), X === ie.OUT_HANGUP || X === ie.INCOMING_CALL_END) {
|
|
33135
33135
|
const {
|
|
33136
|
-
isAgentHangup:
|
|
33136
|
+
isAgentHangup: Pe
|
|
33137
33137
|
} = Ce, {
|
|
33138
|
-
agent_hangup_ring_switch:
|
|
33138
|
+
agent_hangup_ring_switch: et
|
|
33139
33139
|
} = I.current.getAgentData();
|
|
33140
|
-
!
|
|
33140
|
+
!Pe && et && qe(E.current, !1);
|
|
33141
33141
|
}
|
|
33142
33142
|
return;
|
|
33143
33143
|
}
|
|
@@ -33168,14 +33168,13 @@ const HN = {
|
|
|
33168
33168
|
if (X) {
|
|
33169
33169
|
const {
|
|
33170
33170
|
default_device: Ce,
|
|
33171
|
-
|
|
33172
|
-
|
|
33173
|
-
out_display_data: Pt,
|
|
33171
|
+
out_display_select_switch: Pe,
|
|
33172
|
+
out_display_data: et,
|
|
33174
33173
|
stateObject: {
|
|
33175
|
-
state_name:
|
|
33174
|
+
state_name: Pt
|
|
33176
33175
|
}
|
|
33177
33176
|
} = I.current.getAgentData();
|
|
33178
|
-
J(
|
|
33177
|
+
J(Pe === 1), Pe === 1 && le((et || "").split("#")), U(Ce), K(Pt), Fe();
|
|
33179
33178
|
}
|
|
33180
33179
|
}).on(Ge.SELECT_EXTERNAL_NUMBER, (X) => {
|
|
33181
33180
|
te(X);
|
|
@@ -33269,7 +33268,7 @@ const HN = {
|
|
|
33269
33268
|
}));
|
|
33270
33269
|
} catch {
|
|
33271
33270
|
}
|
|
33272
|
-
},
|
|
33271
|
+
}, $e = async (Q) => {
|
|
33273
33272
|
var re;
|
|
33274
33273
|
try {
|
|
33275
33274
|
await ((re = I.current) == null ? void 0 : re.agent_api.setAgentExplicit({
|
|
@@ -33485,14 +33484,14 @@ const HN = {
|
|
|
33485
33484
|
onPressEnter: (Q) => {
|
|
33486
33485
|
Q && Me(Q);
|
|
33487
33486
|
}
|
|
33488
|
-
},
|
|
33487
|
+
}, je), Ye = Or(() => [{
|
|
33489
33488
|
name: "call_number",
|
|
33490
33489
|
icon: /* @__PURE__ */ ae.jsx(ko, {
|
|
33491
33490
|
trigger: "click",
|
|
33492
33491
|
rootClassName: "call-number-popover",
|
|
33493
33492
|
destroyTooltipOnHide: !0,
|
|
33494
33493
|
onOpenChange: (re) => {
|
|
33495
|
-
|
|
33494
|
+
Ue((/* @__PURE__ */ new Date()).getTime());
|
|
33496
33495
|
},
|
|
33497
33496
|
content: Ve,
|
|
33498
33497
|
children: /* @__PURE__ */ ae.jsx(yt, {
|
|
@@ -33644,7 +33643,6 @@ const HN = {
|
|
|
33644
33643
|
size: 25
|
|
33645
33644
|
})
|
|
33646
33645
|
}, {
|
|
33647
|
-
// name: 'call_number',
|
|
33648
33646
|
name: "dtmf",
|
|
33649
33647
|
icon: /* @__PURE__ */ ae.jsx(ko, {
|
|
33650
33648
|
trigger: "click",
|
|
@@ -33830,7 +33828,7 @@ const HN = {
|
|
|
33830
33828
|
children: /* @__PURE__ */ ae.jsx(ol.Group, {
|
|
33831
33829
|
value: ue,
|
|
33832
33830
|
onChange: (Q) => {
|
|
33833
|
-
|
|
33831
|
+
$e(Q.target.value);
|
|
33834
33832
|
},
|
|
33835
33833
|
options: se.filter((Q) => Q.includes(me)).map((Q) => ({
|
|
33836
33834
|
label: /* @__PURE__ */ ae.jsx(xI, {
|
|
@@ -34149,7 +34147,7 @@ export {
|
|
|
34149
34147
|
fo as s,
|
|
34150
34148
|
rt as t,
|
|
34151
34149
|
ye as u,
|
|
34152
|
-
|
|
34150
|
+
Le as v,
|
|
34153
34151
|
$ as w,
|
|
34154
34152
|
ra as x,
|
|
34155
34153
|
Ao as y,
|