@ant-design/pro-components 2.3.17 → 2.3.19

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.
@@ -18810,630 +18810,6 @@ exports["default"] = _default;
18810
18810
 
18811
18811
  /***/ }),
18812
18812
 
18813
- /***/ 4408:
18814
- /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
18815
-
18816
- "use strict";
18817
- var __webpack_unused_export__;
18818
- /**
18819
- * @license React
18820
- * react-dom-test-utils.production.min.js
18821
- *
18822
- * Copyright (c) Facebook, Inc. and its affiliates.
18823
- *
18824
- * This source code is licensed under the MIT license found in the
18825
- * LICENSE file in the root directory of this source tree.
18826
- */
18827
-
18828
-
18829
- var k = __webpack_require__(1024),
18830
- l = __webpack_require__(314);
18831
- function m(a) {
18832
- var b = a,
18833
- c = a;
18834
- if (a.alternate) for (; b.return;) {
18835
- b = b.return;
18836
- } else {
18837
- a = b;
18838
- do {
18839
- b = a, 0 !== (b.flags & 4098) && (c = b.return), a = b.return;
18840
- } while (a);
18841
- }
18842
- return 3 === b.tag ? c : null;
18843
- }
18844
- function n(a) {
18845
- if (m(a) !== a) throw Error("Unable to find node on an unmounted component.");
18846
- }
18847
- function p(a) {
18848
- var b = a.alternate;
18849
- if (!b) {
18850
- b = m(a);
18851
- if (null === b) throw Error("Unable to find node on an unmounted component.");
18852
- return b !== a ? null : a;
18853
- }
18854
- for (var c = a, d = b;;) {
18855
- var f = c.return;
18856
- if (null === f) break;
18857
- var g = f.alternate;
18858
- if (null === g) {
18859
- d = f.return;
18860
- if (null !== d) {
18861
- c = d;
18862
- continue;
18863
- }
18864
- break;
18865
- }
18866
- if (f.child === g.child) {
18867
- for (g = f.child; g;) {
18868
- if (g === c) return n(f), a;
18869
- if (g === d) return n(f), b;
18870
- g = g.sibling;
18871
- }
18872
- throw Error("Unable to find node on an unmounted component.");
18873
- }
18874
- if (c.return !== d.return) c = f, d = g;else {
18875
- for (var e = !1, h = f.child; h;) {
18876
- if (h === c) {
18877
- e = !0;
18878
- c = f;
18879
- d = g;
18880
- break;
18881
- }
18882
- if (h === d) {
18883
- e = !0;
18884
- d = f;
18885
- c = g;
18886
- break;
18887
- }
18888
- h = h.sibling;
18889
- }
18890
- if (!e) {
18891
- for (h = g.child; h;) {
18892
- if (h === c) {
18893
- e = !0;
18894
- c = g;
18895
- d = f;
18896
- break;
18897
- }
18898
- if (h === d) {
18899
- e = !0;
18900
- d = g;
18901
- c = f;
18902
- break;
18903
- }
18904
- h = h.sibling;
18905
- }
18906
- if (!e) throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.");
18907
- }
18908
- }
18909
- if (c.alternate !== d) throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.");
18910
- }
18911
- if (3 !== c.tag) throw Error("Unable to find node on an unmounted component.");
18912
- return c.stateNode.current === c ? a : b;
18913
- }
18914
- var q = Object.assign;
18915
- function r(a) {
18916
- var b = a.keyCode;
18917
- "charCode" in a ? (a = a.charCode, 0 === a && 13 === b && (a = 13)) : a = b;
18918
- 10 === a && (a = 13);
18919
- return 32 <= a || 13 === a ? a : 0;
18920
- }
18921
- function t() {
18922
- return !0;
18923
- }
18924
- function u() {
18925
- return !1;
18926
- }
18927
- function v(a) {
18928
- function b(c, b, f, g, e) {
18929
- this._reactName = c;
18930
- this._targetInst = f;
18931
- this.type = b;
18932
- this.nativeEvent = g;
18933
- this.target = e;
18934
- this.currentTarget = null;
18935
- for (var d in a) {
18936
- a.hasOwnProperty(d) && (c = a[d], this[d] = c ? c(g) : g[d]);
18937
- }
18938
- this.isDefaultPrevented = (null != g.defaultPrevented ? g.defaultPrevented : !1 === g.returnValue) ? t : u;
18939
- this.isPropagationStopped = u;
18940
- return this;
18941
- }
18942
- q(b.prototype, {
18943
- preventDefault: function preventDefault() {
18944
- this.defaultPrevented = !0;
18945
- var a = this.nativeEvent;
18946
- a && (a.preventDefault ? a.preventDefault() : "unknown" !== typeof a.returnValue && (a.returnValue = !1), this.isDefaultPrevented = t);
18947
- },
18948
- stopPropagation: function stopPropagation() {
18949
- var a = this.nativeEvent;
18950
- a && (a.stopPropagation ? a.stopPropagation() : "unknown" !== typeof a.cancelBubble && (a.cancelBubble = !0), this.isPropagationStopped = t);
18951
- },
18952
- persist: function persist() {},
18953
- isPersistent: t
18954
- });
18955
- return b;
18956
- }
18957
- var w = {
18958
- eventPhase: 0,
18959
- bubbles: 0,
18960
- cancelable: 0,
18961
- timeStamp: function timeStamp(a) {
18962
- return a.timeStamp || Date.now();
18963
- },
18964
- defaultPrevented: 0,
18965
- isTrusted: 0
18966
- },
18967
- x = v(w),
18968
- y = q({}, w, {
18969
- view: 0,
18970
- detail: 0
18971
- });
18972
- v(y);
18973
- var z,
18974
- A,
18975
- B,
18976
- D = q({}, y, {
18977
- screenX: 0,
18978
- screenY: 0,
18979
- clientX: 0,
18980
- clientY: 0,
18981
- pageX: 0,
18982
- pageY: 0,
18983
- ctrlKey: 0,
18984
- shiftKey: 0,
18985
- altKey: 0,
18986
- metaKey: 0,
18987
- getModifierState: C,
18988
- button: 0,
18989
- buttons: 0,
18990
- relatedTarget: function relatedTarget(a) {
18991
- return void 0 === a.relatedTarget ? a.fromElement === a.srcElement ? a.toElement : a.fromElement : a.relatedTarget;
18992
- },
18993
- movementX: function movementX(a) {
18994
- if ("movementX" in a) return a.movementX;
18995
- a !== B && (B && "mousemove" === a.type ? (z = a.screenX - B.screenX, A = a.screenY - B.screenY) : A = z = 0, B = a);
18996
- return z;
18997
- },
18998
- movementY: function movementY(a) {
18999
- return "movementY" in a ? a.movementY : A;
19000
- }
19001
- });
19002
- v(D);
19003
- var E = q({}, D, {
19004
- dataTransfer: 0
19005
- });
19006
- v(E);
19007
- var F = q({}, y, {
19008
- relatedTarget: 0
19009
- });
19010
- v(F);
19011
- var aa = q({}, w, {
19012
- animationName: 0,
19013
- elapsedTime: 0,
19014
- pseudoElement: 0
19015
- });
19016
- v(aa);
19017
- var ba = q({}, w, {
19018
- clipboardData: function clipboardData(a) {
19019
- return "clipboardData" in a ? a.clipboardData : window.clipboardData;
19020
- }
19021
- });
19022
- v(ba);
19023
- var ca = q({}, w, {
19024
- data: 0
19025
- });
19026
- v(ca);
19027
- var da = {
19028
- Esc: "Escape",
19029
- Spacebar: " ",
19030
- Left: "ArrowLeft",
19031
- Up: "ArrowUp",
19032
- Right: "ArrowRight",
19033
- Down: "ArrowDown",
19034
- Del: "Delete",
19035
- Win: "OS",
19036
- Menu: "ContextMenu",
19037
- Apps: "ContextMenu",
19038
- Scroll: "ScrollLock",
19039
- MozPrintableKey: "Unidentified"
19040
- },
19041
- ea = {
19042
- 8: "Backspace",
19043
- 9: "Tab",
19044
- 12: "Clear",
19045
- 13: "Enter",
19046
- 16: "Shift",
19047
- 17: "Control",
19048
- 18: "Alt",
19049
- 19: "Pause",
19050
- 20: "CapsLock",
19051
- 27: "Escape",
19052
- 32: " ",
19053
- 33: "PageUp",
19054
- 34: "PageDown",
19055
- 35: "End",
19056
- 36: "Home",
19057
- 37: "ArrowLeft",
19058
- 38: "ArrowUp",
19059
- 39: "ArrowRight",
19060
- 40: "ArrowDown",
19061
- 45: "Insert",
19062
- 46: "Delete",
19063
- 112: "F1",
19064
- 113: "F2",
19065
- 114: "F3",
19066
- 115: "F4",
19067
- 116: "F5",
19068
- 117: "F6",
19069
- 118: "F7",
19070
- 119: "F8",
19071
- 120: "F9",
19072
- 121: "F10",
19073
- 122: "F11",
19074
- 123: "F12",
19075
- 144: "NumLock",
19076
- 145: "ScrollLock",
19077
- 224: "Meta"
19078
- },
19079
- fa = {
19080
- Alt: "altKey",
19081
- Control: "ctrlKey",
19082
- Meta: "metaKey",
19083
- Shift: "shiftKey"
19084
- };
19085
- function ha(a) {
19086
- var b = this.nativeEvent;
19087
- return b.getModifierState ? b.getModifierState(a) : (a = fa[a]) ? !!b[a] : !1;
19088
- }
19089
- function C() {
19090
- return ha;
19091
- }
19092
- var ia = q({}, y, {
19093
- key: function key(a) {
19094
- if (a.key) {
19095
- var b = da[a.key] || a.key;
19096
- if ("Unidentified" !== b) return b;
19097
- }
19098
- return "keypress" === a.type ? (a = r(a), 13 === a ? "Enter" : String.fromCharCode(a)) : "keydown" === a.type || "keyup" === a.type ? ea[a.keyCode] || "Unidentified" : "";
19099
- },
19100
- code: 0,
19101
- location: 0,
19102
- ctrlKey: 0,
19103
- shiftKey: 0,
19104
- altKey: 0,
19105
- metaKey: 0,
19106
- repeat: 0,
19107
- locale: 0,
19108
- getModifierState: C,
19109
- charCode: function charCode(a) {
19110
- return "keypress" === a.type ? r(a) : 0;
19111
- },
19112
- keyCode: function keyCode(a) {
19113
- return "keydown" === a.type || "keyup" === a.type ? a.keyCode : 0;
19114
- },
19115
- which: function which(a) {
19116
- return "keypress" === a.type ? r(a) : "keydown" === a.type || "keyup" === a.type ? a.keyCode : 0;
19117
- }
19118
- });
19119
- v(ia);
19120
- var ja = q({}, D, {
19121
- pointerId: 0,
19122
- width: 0,
19123
- height: 0,
19124
- pressure: 0,
19125
- tangentialPressure: 0,
19126
- tiltX: 0,
19127
- tiltY: 0,
19128
- twist: 0,
19129
- pointerType: 0,
19130
- isPrimary: 0
19131
- });
19132
- v(ja);
19133
- var ka = q({}, y, {
19134
- touches: 0,
19135
- targetTouches: 0,
19136
- changedTouches: 0,
19137
- altKey: 0,
19138
- metaKey: 0,
19139
- ctrlKey: 0,
19140
- shiftKey: 0,
19141
- getModifierState: C
19142
- });
19143
- v(ka);
19144
- var la = q({}, w, {
19145
- propertyName: 0,
19146
- elapsedTime: 0,
19147
- pseudoElement: 0
19148
- });
19149
- v(la);
19150
- var ma = q({}, D, {
19151
- deltaX: function deltaX(a) {
19152
- return "deltaX" in a ? a.deltaX : "wheelDeltaX" in a ? -a.wheelDeltaX : 0;
19153
- },
19154
- deltaY: function deltaY(a) {
19155
- return "deltaY" in a ? a.deltaY : "wheelDeltaY" in a ? -a.wheelDeltaY : "wheelDelta" in a ? -a.wheelDelta : 0;
19156
- },
19157
- deltaZ: 0,
19158
- deltaMode: 0
19159
- });
19160
- v(ma);
19161
- function na(a, b, c, d, f, g, e, h, N) {
19162
- var G = Array.prototype.slice.call(arguments, 3);
19163
- try {
19164
- b.apply(c, G);
19165
- } catch (oa) {
19166
- this.onError(oa);
19167
- }
19168
- }
19169
- var H = !1,
19170
- I = null,
19171
- J = !1,
19172
- K = null,
19173
- pa = {
19174
- onError: function onError(a) {
19175
- H = !0;
19176
- I = a;
19177
- }
19178
- };
19179
- function qa(a, b, c, d, f, g, e, h, N) {
19180
- H = !1;
19181
- I = null;
19182
- na.apply(pa, arguments);
19183
- }
19184
- function ra(a, b, c, d, f, g, e, h, N) {
19185
- qa.apply(this, arguments);
19186
- if (H) {
19187
- if (H) {
19188
- var G = I;
19189
- H = !1;
19190
- I = null;
19191
- } else throw Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.");
19192
- J || (J = !0, K = G);
19193
- }
19194
- }
19195
- var L = Array.isArray,
19196
- M = l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Events,
19197
- sa = M[0],
19198
- ta = M[1],
19199
- ua = M[2],
19200
- va = M[3],
19201
- wa = M[4],
19202
- xa = k.unstable_act;
19203
- function ya() {}
19204
- function za(a, b) {
19205
- if (!a) return [];
19206
- a = p(a);
19207
- if (!a) return [];
19208
- for (var c = a, d = [];;) {
19209
- if (5 === c.tag || 6 === c.tag || 1 === c.tag || 0 === c.tag) {
19210
- var f = c.stateNode;
19211
- b(f) && d.push(f);
19212
- }
19213
- if (c.child) c.child.return = c, c = c.child;else {
19214
- if (c === a) return d;
19215
- for (; !c.sibling;) {
19216
- if (!c.return || c.return === a) return d;
19217
- c = c.return;
19218
- }
19219
- c.sibling.return = c.return;
19220
- c = c.sibling;
19221
- }
19222
- }
19223
- }
19224
- function O(a, b) {
19225
- if (a && !a._reactInternals) {
19226
- var c = String(a);
19227
- a = L(a) ? "an array" : a && 1 === a.nodeType && a.tagName ? "a DOM node" : "[object Object]" === c ? "object with keys {" + Object.keys(a).join(", ") + "}" : c;
19228
- throw Error(b + "(...): the first argument must be a React class instance. Instead received: " + (a + "."));
19229
- }
19230
- }
19231
- function P(a) {
19232
- return !(!a || 1 !== a.nodeType || !a.tagName);
19233
- }
19234
- function Q(a) {
19235
- return P(a) ? !1 : null != a && "function" === typeof a.render && "function" === typeof a.setState;
19236
- }
19237
- function R(a, b) {
19238
- return Q(a) ? a._reactInternals.type === b : !1;
19239
- }
19240
- function S(a, b) {
19241
- O(a, "findAllInRenderedTree");
19242
- return a ? za(a._reactInternals, b) : [];
19243
- }
19244
- function T(a, b) {
19245
- O(a, "scryRenderedDOMComponentsWithClass");
19246
- return S(a, function (a) {
19247
- if (P(a)) {
19248
- var c = a.className;
19249
- "string" !== typeof c && (c = a.getAttribute("class") || "");
19250
- var f = c.split(/\s+/);
19251
- if (!L(b)) {
19252
- if (void 0 === b) throw Error("TestUtils.scryRenderedDOMComponentsWithClass expects a className as a second argument.");
19253
- b = b.split(/\s+/);
19254
- }
19255
- return b.every(function (a) {
19256
- return -1 !== f.indexOf(a);
19257
- });
19258
- }
19259
- return !1;
19260
- });
19261
- }
19262
- function U(a, b) {
19263
- O(a, "scryRenderedDOMComponentsWithTag");
19264
- return S(a, function (a) {
19265
- return P(a) && a.tagName.toUpperCase() === b.toUpperCase();
19266
- });
19267
- }
19268
- function V(a, b) {
19269
- O(a, "scryRenderedComponentsWithType");
19270
- return S(a, function (a) {
19271
- return R(a, b);
19272
- });
19273
- }
19274
- function W(a, b, c) {
19275
- var d = a.type || "unknown-event";
19276
- a.currentTarget = ta(c);
19277
- ra(d, b, void 0, a);
19278
- a.currentTarget = null;
19279
- }
19280
- function X(a, b, c) {
19281
- for (var d = []; a;) {
19282
- d.push(a);
19283
- do {
19284
- a = a.return;
19285
- } while (a && 5 !== a.tag);
19286
- a = a ? a : null;
19287
- }
19288
- for (a = d.length; 0 < a--;) {
19289
- b(d[a], "captured", c);
19290
- }
19291
- for (a = 0; a < d.length; a++) {
19292
- b(d[a], "bubbled", c);
19293
- }
19294
- }
19295
- function Y(a, b) {
19296
- var c = a.stateNode;
19297
- if (!c) return null;
19298
- var d = ua(c);
19299
- if (!d) return null;
19300
- c = d[b];
19301
- a: switch (b) {
19302
- case "onClick":
19303
- case "onClickCapture":
19304
- case "onDoubleClick":
19305
- case "onDoubleClickCapture":
19306
- case "onMouseDown":
19307
- case "onMouseDownCapture":
19308
- case "onMouseMove":
19309
- case "onMouseMoveCapture":
19310
- case "onMouseUp":
19311
- case "onMouseUpCapture":
19312
- case "onMouseEnter":
19313
- (d = !d.disabled) || (a = a.type, d = !("button" === a || "input" === a || "select" === a || "textarea" === a));
19314
- a = !d;
19315
- break a;
19316
- default:
19317
- a = !1;
19318
- }
19319
- if (a) return null;
19320
- if (c && "function" !== typeof c) throw Error("Expected `" + b + "` listener to be a function, instead got a value of `" + typeof c + "` type.");
19321
- return c;
19322
- }
19323
- function Aa(a, b, c) {
19324
- a && c && c._reactName && (b = Y(a, c._reactName)) && (null == c._dispatchListeners && (c._dispatchListeners = []), null == c._dispatchInstances && (c._dispatchInstances = []), c._dispatchListeners.push(b), c._dispatchInstances.push(a));
19325
- }
19326
- function Ba(a, b, c) {
19327
- var d = c._reactName;
19328
- "captured" === b && (d += "Capture");
19329
- if (b = Y(a, d)) null == c._dispatchListeners && (c._dispatchListeners = []), null == c._dispatchInstances && (c._dispatchInstances = []), c._dispatchListeners.push(b), c._dispatchInstances.push(a);
19330
- }
19331
- var Z = {},
19332
- Ca = new Set(["mouseEnter", "mouseLeave", "pointerEnter", "pointerLeave"]);
19333
- function Da(a) {
19334
- return function (b, c) {
19335
- if (k.isValidElement(b)) throw Error("TestUtils.Simulate expected a DOM node as the first argument but received a React element. Pass the DOM node you wish to simulate the event on instead. Note that TestUtils.Simulate will not work if you are using shallow rendering.");
19336
- if (Q(b)) throw Error("TestUtils.Simulate expected a DOM node as the first argument but received a component instance. Pass the DOM node you wish to simulate the event on instead.");
19337
- var d = "on" + a[0].toUpperCase() + a.slice(1),
19338
- f = new ya();
19339
- f.target = b;
19340
- f.type = a.toLowerCase();
19341
- var g = sa(b),
19342
- e = new x(d, f.type, g, f, b);
19343
- e.persist();
19344
- q(e, c);
19345
- Ca.has(a) ? e && e._reactName && Aa(e._targetInst, null, e) : e && e._reactName && X(e._targetInst, Ba, e);
19346
- l.unstable_batchedUpdates(function () {
19347
- va(b);
19348
- if (e) {
19349
- var a = e._dispatchListeners,
19350
- c = e._dispatchInstances;
19351
- if (L(a)) for (var d = 0; d < a.length && !e.isPropagationStopped(); d++) {
19352
- W(e, a[d], c[d]);
19353
- } else a && W(e, a, c);
19354
- e._dispatchListeners = null;
19355
- e._dispatchInstances = null;
19356
- e.isPersistent() || e.constructor.release(e);
19357
- }
19358
- if (J) throw a = K, J = !1, K = null, a;
19359
- });
19360
- wa();
19361
- };
19362
- }
19363
- "blur cancel click close contextMenu copy cut auxClick doubleClick dragEnd dragStart drop focus input invalid keyDown keyPress keyUp mouseDown mouseUp paste pause play pointerCancel pointerDown pointerUp rateChange reset resize seeked submit touchCancel touchEnd touchStart volumeChange drag dragEnter dragExit dragLeave dragOver mouseMove mouseOut mouseOver pointerMove pointerOut pointerOver scroll toggle touchMove wheel abort animationEnd animationIteration animationStart canPlay canPlayThrough durationChange emptied encrypted ended error gotPointerCapture load loadedData loadedMetadata loadStart lostPointerCapture playing progress seeking stalled suspend timeUpdate transitionEnd waiting mouseEnter mouseLeave pointerEnter pointerLeave change select beforeInput compositionEnd compositionStart compositionUpdate".split(" ").forEach(function (a) {
19364
- Z[a] = Da(a);
19365
- });
19366
- __webpack_unused_export__ = Z;
19367
- exports.act = xa;
19368
- __webpack_unused_export__ = S;
19369
- __webpack_unused_export__ = function (a, b) {
19370
- O(a, "findRenderedComponentWithType");
19371
- a = V(a, b);
19372
- if (1 !== a.length) throw Error("Did not find exactly one match (found: " + a.length + ") for componentType:" + b);
19373
- return a[0];
19374
- };
19375
- __webpack_unused_export__ = function (a, b) {
19376
- O(a, "findRenderedDOMComponentWithClass");
19377
- a = T(a, b);
19378
- if (1 !== a.length) throw Error("Did not find exactly one match (found: " + a.length + ") for class:" + b);
19379
- return a[0];
19380
- };
19381
- __webpack_unused_export__ = function (a, b) {
19382
- O(a, "findRenderedDOMComponentWithTag");
19383
- a = U(a, b);
19384
- if (1 !== a.length) throw Error("Did not find exactly one match (found: " + a.length + ") for tag:" + b);
19385
- return a[0];
19386
- };
19387
- __webpack_unused_export__ = Q;
19388
- __webpack_unused_export__ = R;
19389
- __webpack_unused_export__ = P;
19390
- __webpack_unused_export__ = function (a) {
19391
- return !!(a && k.isValidElement(a) && a.tagName);
19392
- };
19393
- __webpack_unused_export__ = function (a) {
19394
- return k.isValidElement(a);
19395
- };
19396
- __webpack_unused_export__ = function (a, b) {
19397
- return k.isValidElement(a) && a.type === b;
19398
- };
19399
- __webpack_unused_export__ = function (a, b) {
19400
- b = b || a.mockTagName || "div";
19401
- a.prototype.render.mockImplementation(function () {
19402
- return k.createElement(b, null, this.props.children);
19403
- });
19404
- return this;
19405
- };
19406
- __webpack_unused_export__ = function (a, b) {
19407
- return {
19408
- touches: [{
19409
- pageX: a,
19410
- pageY: b
19411
- }]
19412
- };
19413
- };
19414
- __webpack_unused_export__ = function (a) {
19415
- var b = document.createElement("div");
19416
- return l.render(a, b);
19417
- };
19418
- __webpack_unused_export__ = V;
19419
- __webpack_unused_export__ = T;
19420
- __webpack_unused_export__ = U;
19421
- __webpack_unused_export__ = X;
19422
-
19423
- /***/ }),
19424
-
19425
- /***/ 1886:
19426
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
19427
-
19428
- "use strict";
19429
-
19430
-
19431
- if (true) {
19432
- module.exports = __webpack_require__(4408);
19433
- } else {}
19434
-
19435
- /***/ }),
19436
-
19437
18813
  /***/ 8081:
19438
18814
  /***/ (function(__unused_webpack_module, exports) {
19439
18815
 
@@ -29920,7 +29296,9 @@ var genCopyable = function genCopyable(dom, item, text) {
29920
29296
  /** 有些 valueType 需要设置copy的为string */
29921
29297
  var needTranText = isNeedTranText(item);
29922
29298
  var ellipsis = item.ellipsis && text ? {
29923
- tooltip: needTranText ? (0,jsx_runtime.jsx)("div", {
29299
+ tooltip:
29300
+ // 支持一下 tooltip 的关闭
29301
+ (item === null || item === void 0 ? void 0 : item.tooltip) !== false && needTranText ? (0,jsx_runtime.jsx)("div", {
29924
29302
  className: "pro-table-tooltip-text",
29925
29303
  children: dom
29926
29304
  }) : text
@@ -30297,8 +29675,6 @@ function _asyncToGenerator(fn) {
30297
29675
  });
30298
29676
  };
30299
29677
  }
30300
- // EXTERNAL MODULE: ./node_modules/react-dom/test-utils.js
30301
- var test_utils = __webpack_require__(1886);
30302
29678
  ;// CONCATENATED MODULE: ./packages/utils/es/hooks/useRefFunction/index.js
30303
29679
 
30304
29680
  var useRefFunction = function useRefFunction(reFunction) {
@@ -30318,7 +29694,6 @@ var useRefFunction = function useRefFunction(reFunction) {
30318
29694
 
30319
29695
 
30320
29696
 
30321
-
30322
29697
  function useDebounceFn(fn, wait) {
30323
29698
  var callback = useRefFunction(fn);
30324
29699
  var timer = (0,external_React_.useRef)();
@@ -30328,77 +29703,63 @@ function useDebounceFn(fn, wait) {
30328
29703
  timer.current = null;
30329
29704
  }
30330
29705
  }, []);
30331
- var run = (0,external_React_.useCallback)( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
29706
+ var run = (0,external_React_.useCallback)( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
30332
29707
  var _len,
30333
29708
  args,
30334
29709
  _key,
30335
- _args3 = arguments;
30336
- return _regeneratorRuntime().wrap(function _callee3$(_context3) {
29710
+ _args2 = arguments;
29711
+ return _regeneratorRuntime().wrap(function _callee2$(_context2) {
30337
29712
  while (1) {
30338
- switch (_context3.prev = _context3.next) {
29713
+ switch (_context2.prev = _context2.next) {
30339
29714
  case 0:
30340
- for (_len = _args3.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
30341
- args[_key] = _args3[_key];
29715
+ for (_len = _args2.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
29716
+ args[_key] = _args2[_key];
30342
29717
  }
30343
29718
  if (!(wait === 0 || wait === undefined)) {
30344
- _context3.next = 3;
29719
+ _context2.next = 3;
30345
29720
  break;
30346
29721
  }
30347
- return _context3.abrupt("return", callback.apply(void 0, args));
29722
+ return _context2.abrupt("return", callback.apply(void 0, args));
30348
29723
  case 3:
30349
29724
  cancel();
30350
- return _context3.abrupt("return", new Promise(function (resolve) {
30351
- timer.current = setTimeout( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
30352
- return _regeneratorRuntime().wrap(function _callee2$(_context2) {
29725
+ return _context2.abrupt("return", new Promise(function (resolve) {
29726
+ timer.current = setTimeout( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
29727
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
30353
29728
  while (1) {
30354
- switch (_context2.prev = _context2.next) {
29729
+ switch (_context.prev = _context.next) {
30355
29730
  case 0:
30356
29731
  if (true) {
30357
- _context2.next = 4;
29732
+ _context.next = 7;
30358
29733
  break;
30359
29734
  }
30360
- _context2.next = 3;
30361
- return (0,test_utils.act)( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
30362
- return _regeneratorRuntime().wrap(function _callee$(_context) {
30363
- while (1) {
30364
- switch (_context.prev = _context.next) {
30365
- case 0:
30366
- _context.t0 = resolve;
30367
- _context.next = 3;
30368
- return callback.apply(void 0, args);
30369
- case 3:
30370
- _context.t1 = _context.sent;
30371
- (0, _context.t0)(_context.t1);
30372
- case 5:
30373
- case "end":
30374
- return _context.stop();
30375
- }
30376
- }
30377
- }, _callee);
30378
- })));
30379
- case 3:
30380
- return _context2.abrupt("return");
30381
- case 4:
30382
- _context2.t0 = resolve;
30383
- _context2.next = 7;
29735
+ _context.t0 = resolve;
29736
+ _context.next = 4;
30384
29737
  return callback.apply(void 0, args);
29738
+ case 4:
29739
+ _context.t1 = _context.sent;
29740
+ (0, _context.t0)(_context.t1);
29741
+ return _context.abrupt("return");
30385
29742
  case 7:
30386
- _context2.t1 = _context2.sent;
30387
- (0, _context2.t0)(_context2.t1);
30388
- case 9:
29743
+ _context.t2 = resolve;
29744
+ _context.next = 10;
29745
+ return callback.apply(void 0, args);
29746
+ case 10:
29747
+ _context.t3 = _context.sent;
29748
+ (0, _context.t2)(_context.t3);
29749
+ case 12:
30389
29750
  case "end":
30390
- return _context2.stop();
29751
+ return _context.stop();
30391
29752
  }
30392
29753
  }
30393
- }, _callee2);
29754
+ }, _callee);
30394
29755
  })), wait);
30395
29756
  }));
30396
29757
  case 5:
30397
29758
  case "end":
30398
- return _context3.stop();
29759
+ return _context2.stop();
30399
29760
  }
30400
29761
  }
30401
- }, _callee3);
29762
+ }, _callee2);
30402
29763
  })), [callback, cancel, wait]);
30403
29764
  (0,external_React_.useEffect)(function () {
30404
29765
  return cancel;
@@ -42020,6 +41381,7 @@ var FieldDigit = function FieldDigit(_ref, ref) {
42020
41381
  renderFormItem = _ref.renderFormItem,
42021
41382
  fieldProps = _ref.fieldProps;
42022
41383
  var proxyChange = (0,external_React_.useCallback)(function (value) {
41384
+ var _fieldProps$onChange;
42023
41385
  var val = value !== null && value !== void 0 ? value : undefined;
42024
41386
  if (typeof value === 'string') {
42025
41387
  val = Number(val);
@@ -42029,7 +41391,7 @@ var FieldDigit = function FieldDigit(_ref, ref) {
42029
41391
  val = (_val = val) === null || _val === void 0 ? void 0 : (_val$toFixed = _val.toFixed) === null || _val$toFixed === void 0 ? void 0 : _val$toFixed.call(_val, (_fieldProps$precision = fieldProps.precision) !== null && _fieldProps$precision !== void 0 ? _fieldProps$precision : 0);
42030
41392
  val = Number(val);
42031
41393
  }
42032
- return fieldProps === null || fieldProps === void 0 ? void 0 : fieldProps.onChange(val);
41394
+ return fieldProps === null || fieldProps === void 0 ? void 0 : (_fieldProps$onChange = fieldProps.onChange) === null || _fieldProps$onChange === void 0 ? void 0 : _fieldProps$onChange.call(fieldProps, val);
42033
41395
  }, [fieldProps]);
42034
41396
  if (type === 'read') {
42035
41397
  var _fieldProps$formatter;
@@ -45203,18 +44565,20 @@ var ProFormListItem = function ProFormListItem(props) {
45203
44565
  className: "".concat(prefixCls, "-action-icon action-copy ").concat(hashId),
45204
44566
  onClick: function () {
45205
44567
  var _onClick = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
44568
+ var row;
45206
44569
  return _regeneratorRuntime().wrap(function _callee$(_context) {
45207
44570
  while (1) {
45208
44571
  switch (_context.prev = _context.next) {
45209
44572
  case 0:
45210
44573
  setLoadingCopy(true);
45211
- _context.next = 3;
45212
- return action.add(formInstance === null || formInstance === void 0 ? void 0 : formInstance.getFieldValue([listContext.listName, rest.name, field.name].filter(function (item) {
44574
+ row = formInstance === null || formInstance === void 0 ? void 0 : formInstance.getFieldValue([listContext.listName, originName, field.name].filter(function (item) {
45213
44575
  return item !== undefined;
45214
- }).flat(1)));
45215
- case 3:
45216
- setLoadingCopy(false);
44576
+ }).flat(1));
44577
+ _context.next = 4;
44578
+ return action.add(row);
45217
44579
  case 4:
44580
+ setLoadingCopy(false);
44581
+ case 5:
45218
44582
  case "end":
45219
44583
  return _context.stop();
45220
44584
  }
@@ -45229,7 +44593,7 @@ var ProFormListItem = function ProFormListItem(props) {
45229
44593
  })
45230
44594
  })
45231
44595
  }, "copy");
45232
- }, [copyIconProps, max, count, loadingCopy, prefixCls, hashId, action, formInstance, listContext.listName, rest.name, field.name]);
44596
+ }, [copyIconProps, max, count, loadingCopy, prefixCls, hashId, formInstance, listContext.listName, field.name, originName, action]);
45233
44597
  var deleteIcon = (0,external_React_.useMemo)(function () {
45234
44598
  if (deleteIconProps === false || min === count) return null;
45235
44599
  var _deleteIconProps$Icon = deleteIconProps.Icon,
@@ -45284,7 +44648,7 @@ var ProFormListItem = function ProFormListItem(props) {
45284
44648
  name: rest.name,
45285
44649
  field: field,
45286
44650
  index: index,
45287
- record: formInstance === null || formInstance === void 0 ? void 0 : (_formInstance$getFiel2 = formInstance.getFieldValue) === null || _formInstance$getFiel2 === void 0 ? void 0 : _formInstance$getFiel2.call(formInstance, [listContext.listName, rest.name, field.name].filter(function (item) {
44651
+ record: formInstance === null || formInstance === void 0 ? void 0 : (_formInstance$getFiel2 = formInstance.getFieldValue) === null || _formInstance$getFiel2 === void 0 ? void 0 : _formInstance$getFiel2.call(formInstance, [listContext.listName, originName, field.name].filter(function (item) {
45288
44652
  return item !== undefined;
45289
44653
  }).flat(1)),
45290
44654
  fields: fields,
@@ -45720,7 +45084,10 @@ function ProFormList(props) {
45720
45084
  label: label,
45721
45085
  prefixCls: prefixCls,
45722
45086
  tooltip: tooltip,
45723
- style: style
45087
+ style: style,
45088
+ required: rules === null || rules === void 0 ? void 0 : rules.some(function (rule) {
45089
+ return rule.required;
45090
+ })
45724
45091
  }, rest), {}, {
45725
45092
  name: isValidateList ? name : undefined,
45726
45093
  rules: isValidateList ? [{
@@ -49765,19 +49132,16 @@ var field = function field(item, _ref) {
49765
49132
  var formList = function formList(item, _ref) {
49766
49133
  var genItems = _ref.genItems;
49767
49134
  if (item.valueType === 'formList' && item.dataIndex) {
49768
- var _item$getFieldProps, _ref2, _ref2$rules, _ref2$rules$, _item$getFormItemProp, _item$getFieldProps2, _ref3, _ref3$rules, _ref3$rules$, _item$getFormItemProp2, _item$getFieldProps3;
49135
+ var _item$getFormItemProp, _item$getFieldProps;
49769
49136
  if (!item.columns || !Array.isArray(item.columns)) return null;
49770
- return (0,jsx_runtime.jsx)(ProFormList, objectSpread2_objectSpread2(objectSpread2_objectSpread2({
49137
+ return /*#__PURE__*/(0,external_React_.createElement)(ProFormList, objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, (_item$getFormItemProp = item.getFormItemProps) === null || _item$getFormItemProp === void 0 ? void 0 : _item$getFormItemProp.call(item)), {}, {
49138
+ key: item.key,
49771
49139
  name: item.dataIndex,
49772
49140
  label: item.label,
49773
49141
  initialValue: item.initialValue,
49774
49142
  colProps: item.colProps,
49775
49143
  rowProps: item.rowProps
49776
- }, (_item$getFieldProps = item.getFieldProps) === null || _item$getFieldProps === void 0 ? void 0 : _item$getFieldProps.call(item)), {}, {
49777
- isValidateList: (_ref2 = ((_item$getFormItemProp = item.getFormItemProps) === null || _item$getFormItemProp === void 0 ? void 0 : _item$getFormItemProp.call(item)) || ((_item$getFieldProps2 = item.getFieldProps) === null || _item$getFieldProps2 === void 0 ? void 0 : _item$getFieldProps2.call(item))) === null || _ref2 === void 0 ? void 0 : (_ref2$rules = _ref2.rules) === null || _ref2$rules === void 0 ? void 0 : (_ref2$rules$ = _ref2$rules[0]) === null || _ref2$rules$ === void 0 ? void 0 : _ref2$rules$.required,
49778
- emptyListMessage: (_ref3 = ((_item$getFormItemProp2 = item.getFormItemProps) === null || _item$getFormItemProp2 === void 0 ? void 0 : _item$getFormItemProp2.call(item)) || ((_item$getFieldProps3 = item.getFieldProps) === null || _item$getFieldProps3 === void 0 ? void 0 : _item$getFieldProps3.call(item))) === null || _ref3 === void 0 ? void 0 : (_ref3$rules = _ref3.rules) === null || _ref3$rules === void 0 ? void 0 : (_ref3$rules$ = _ref3$rules[0]) === null || _ref3$rules$ === void 0 ? void 0 : _ref3$rules$.message,
49779
- children: genItems(item.columns)
49780
- }), item.key);
49144
+ }, (_item$getFieldProps = item.getFieldProps) === null || _item$getFieldProps === void 0 ? void 0 : _item$getFieldProps.call(item)), genItems(item.columns));
49781
49145
  }
49782
49146
  return true;
49783
49147
  };
@@ -54155,10 +53519,14 @@ var PageContainer = function PageContainer(props) {
54155
53519
  if (!value || !(value === null || value === void 0 ? void 0 : value.setHasPageContainer)) {
54156
53520
  return function () {};
54157
53521
  }
54158
- value === null || value === void 0 ? void 0 : (_value$setHasPageCont = value.setHasPageContainer) === null || _value$setHasPageCont === void 0 ? void 0 : _value$setHasPageCont.call(value, true);
53522
+ value === null || value === void 0 ? void 0 : (_value$setHasPageCont = value.setHasPageContainer) === null || _value$setHasPageCont === void 0 ? void 0 : _value$setHasPageCont.call(value, function (num) {
53523
+ return num + 1;
53524
+ });
54159
53525
  return function () {
54160
53526
  var _value$setHasPageCont2;
54161
- value === null || value === void 0 ? void 0 : (_value$setHasPageCont2 = value.setHasPageContainer) === null || _value$setHasPageCont2 === void 0 ? void 0 : _value$setHasPageCont2.call(value, false);
53527
+ value === null || value === void 0 ? void 0 : (_value$setHasPageCont2 = value.setHasPageContainer) === null || _value$setHasPageCont2 === void 0 ? void 0 : _value$setHasPageCont2.call(value, function (num) {
53528
+ return num - 1;
53529
+ });
54162
53530
  };
54163
53531
  // eslint-disable-next-line react-hooks/exhaustive-deps
54164
53532
  }, []);
@@ -54214,7 +53582,7 @@ var PageContainer = function PageContainer(props) {
54214
53582
  }
54215
53583
  })]
54216
53584
  }) : null;
54217
- }, [children, basePageContainer, hashId, value.hasFooterToolbar, pageContainer.paddingBlockPageContainerContent]);
53585
+ }, [children, basePageContainer, hashId, propsToken === null || propsToken === void 0 ? void 0 : propsToken.paddingBlockPageContainerContent, propsToken === null || propsToken === void 0 ? void 0 : propsToken.paddingInlinePageContainerContent, value.hasFooterToolbar, pageContainer.paddingBlockPageContainerContent]);
54218
53586
  var renderContentDom = (0,external_React_.useMemo)(function () {
54219
53587
  // 只要loadingDom非空我们就渲染loadingDom,否则渲染内容
54220
53588
  var dom = loadingDom || content;
@@ -54914,7 +54282,8 @@ function AppsLogoComponents_style_useStyle(prefixCls) {
54914
54282
  var defaultRenderLogo = function defaultRenderLogo(logo) {
54915
54283
  if (typeof logo === 'string') {
54916
54284
  return (0,jsx_runtime.jsx)("img", {
54917
- width: 22,
54285
+ width: "auto",
54286
+ height: 22,
54918
54287
  src: logo,
54919
54288
  alt: "logo"
54920
54289
  });
@@ -54971,7 +54340,11 @@ var AppsLogoComponents = function AppsLogoComponents(props) {
54971
54340
  };
54972
54341
  return wrapSSR((0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
54973
54342
  children: [(0,jsx_runtime.jsx)("div", {
54974
- ref: ref
54343
+ ref: ref,
54344
+ onClick: function onClick(e) {
54345
+ e.stopPropagation();
54346
+ e.preventDefault();
54347
+ }
54975
54348
  }), (0,jsx_runtime.jsx)(external_antd_.Popover, objectSpread2_objectSpread2(objectSpread2_objectSpread2({
54976
54349
  placement: "bottomRight",
54977
54350
  trigger: ['click'],
@@ -60380,7 +59753,8 @@ var compatibleStyle = function compatibleStyle(token) {
60380
59753
  borderRadius: token.radiusBase
60381
59754
  }), defineProperty_defineProperty(_$concat$concat, "".concat(token.antCls, "-menu-item:hover, \n ").concat(token.antCls, "-menu-item-active,\n ").concat(token.antCls, "-menu-submenu-title:hover"), defineProperty_defineProperty({
60382
59755
  color: token.sider.colorTextMenuActive,
60383
- borderRadius: token.radiusBase
59756
+ borderRadius: token.radiusBase,
59757
+ backgroundColor: token.sider.colorBgMenuItemHover
60384
59758
  }, "".concat(token.antCls, "-menu-submenu-arrow"), {
60385
59759
  color: token.sider.colorTextMenuActive
60386
59760
  })), _$concat$concat)), defineProperty_defineProperty(_$concat6, "".concat(token.antCls, "-menu-item-selected"), {
@@ -60396,7 +59770,8 @@ var compatibleStyle = function compatibleStyle(token) {
60396
59770
  color: token.sider.colorTextMenuActive
60397
59771
  }), defineProperty_defineProperty(_$concat6, "&".concat(token.antCls, "-menu-horizontal"), (_$concat5 = {}, defineProperty_defineProperty(_$concat5, "".concat(token.antCls, "-menu-item:hover,\n ").concat(token.antCls, "-menu-submenu:hover,\n ").concat(token.antCls, "-menu-item-active,\n ").concat(token.antCls, "-menu-submenu-active"), {
60398
59772
  borderRadius: 4,
60399
- color: token.header.colorTextMenuActive
59773
+ color: token.header.colorTextMenuActive,
59774
+ backgroundColor: token.header.colorBgMenuItemHover
60400
59775
  }), defineProperty_defineProperty(_$concat5, "".concat(token.antCls, "-menu-item-open,\n ").concat(token.antCls, "-menu-submenu-open,\n ").concat(token.antCls, "-menu-item-selected,\n ").concat(token.antCls, "-menu-submenu-selected"), defineProperty_defineProperty({
60401
59776
  backgroundColor: token.header.colorBgMenuItemSelected,
60402
59777
  borderRadius: token.radiusBase,
@@ -60414,13 +59789,14 @@ var compatibleStyle = function compatibleStyle(token) {
60414
59789
  color: 'inherit'
60415
59790
  })), defineProperty_defineProperty(_$concat9, "&".concat(token.antCls, "-menu-light"), (_$concat8 = {}, defineProperty_defineProperty(_$concat8, "".concat(token.antCls, "-menu-item:hover, \n ").concat(token.antCls, "-menu-item-active,\n ").concat(token.antCls, "-menu-submenu-active, \n ").concat(token.antCls, "-menu-submenu-title:hover"), defineProperty_defineProperty({
60416
59791
  color: token.header.colorTextMenuActive,
60417
- borderRadius: token.radiusBase
59792
+ borderRadius: token.radiusBase,
59793
+ backgroundColor: token.header.colorBgMenuItemSelected
60418
59794
  }, "".concat(token.antCls, "-menu-submenu-arrow"), {
60419
59795
  color: token.header.colorTextMenuActive
60420
59796
  })), defineProperty_defineProperty(_$concat8, "".concat(token.antCls, "-menu-item-selected"), {
60421
- color: token.header.colorTextMenuActive,
60422
- fontWeight: 'bold',
60423
- borderRadius: token.radiusBase
59797
+ color: token.header.colorTextMenuSelected,
59798
+ borderRadius: token.radiusBase,
59799
+ backgroundColor: token.header.colorBgMenuItemSelected
60424
59800
  }), _$concat8)), _$concat9)), _token$componentCls)), defineProperty_defineProperty(_ref, "".concat(token.antCls, "-menu-sub").concat(token.antCls, "-menu-inline"), {
60425
59801
  backgroundColor: 'transparent!important'
60426
59802
  }), defineProperty_defineProperty(_ref, "".concat(token.antCls, "-menu-submenu-popup"), (_$concat11 = {
@@ -60433,16 +59809,13 @@ var compatibleStyle = function compatibleStyle(token) {
60433
59809
  }, "".concat(token.antCls, "-menu-item:active, \n ").concat(token.antCls, "-menu-submenu-title:active"), {
60434
59810
  backgroundColor: 'transparent!important'
60435
59811
  })), defineProperty_defineProperty(_$concat11, "".concat(token.antCls, "-menu-item-selected"), {
60436
- color: token.sider.colorTextMenuSelected,
60437
- fontWeight: 'bold'
59812
+ color: token.sider.colorTextMenuSelected
60438
59813
  }), defineProperty_defineProperty(_$concat11, "".concat(token.antCls, "-menu-submenu-selected"), {
60439
- color: token.sider.colorTextMenuSelected,
60440
- fontWeight: 'bold'
59814
+ color: token.sider.colorTextMenuSelected
60441
59815
  }), defineProperty_defineProperty(_$concat11, "".concat(token.antCls, "-menu:not(").concat(token.antCls, "-menu-horizontal)"), (_$concat$concat2 = {}, defineProperty_defineProperty(_$concat$concat2, "".concat(token.antCls, "-menu-item-selected"), {
60442
59816
  backgroundColor: 'rgba(0, 0, 0, 0.04)',
60443
59817
  borderRadius: token.radiusBase,
60444
- color: token.sider.colorTextMenuSelected,
60445
- fontWeight: 'bold'
59818
+ color: token.sider.colorTextMenuSelected
60446
59819
  }), defineProperty_defineProperty(_$concat$concat2, "".concat(token.antCls, "-menu-item:hover, \n ").concat(token.antCls, "-menu-item-active,\n ").concat(token.antCls, "-menu-submenu-title:hover"), defineProperty_defineProperty({
60447
59820
  color: token.sider.colorTextMenuActive,
60448
59821
  borderRadius: token.radiusBase
@@ -60699,8 +60072,9 @@ var WrapContent = function WrapContent(props) {
60699
60072
  var style = props.style,
60700
60073
  prefixCls = props.prefixCls,
60701
60074
  children = props.children,
60702
- hasPageContainer = props.hasPageContainer;
60703
- var contentClassName = classnames_default()("".concat(prefixCls, "-content"), hashId, (_classNames = {}, defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-has-header"), props.hasHeader), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-content-has-page-container"), hasPageContainer), _classNames));
60075
+ _props$hasPageContain = props.hasPageContainer,
60076
+ hasPageContainer = _props$hasPageContain === void 0 ? 0 : _props$hasPageContain;
60077
+ var contentClassName = classnames_default()("".concat(prefixCls, "-content"), hashId, (_classNames = {}, defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-has-header"), props.hasHeader), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-content-has-page-container"), hasPageContainer > 0), _classNames));
60704
60078
  var ErrorComponent = props.ErrorBoundary || ErrorBoundary;
60705
60079
  return props.ErrorBoundary === false ? (0,jsx_runtime.jsx)(external_antd_.Layout.Content, {
60706
60080
  className: contentClassName,
@@ -61086,7 +60460,10 @@ var BaseProLayout = function BaseProLayout(props) {
61086
60460
  _useState4 = slicedToArray_slicedToArray(_useState3, 2),
61087
60461
  hasFooterToolbar = _useState4[0],
61088
60462
  setHasFooterToolbar = _useState4[1];
61089
- var _useState5 = (0,external_React_.useState)(false),
60463
+ /**
60464
+ * 使用number是因为多标签页的时候有多个 PageContainer,只有有任意一个就应该展示这个className
60465
+ */
60466
+ var _useState5 = (0,external_React_.useState)(0),
61090
60467
  _useState6 = slicedToArray_slicedToArray(_useState5, 2),
61091
60468
  hasPageContainer = _useState6[0],
61092
60469
  setHasPageContainer = _useState6[1];
@@ -61136,6 +60513,7 @@ var BaseProLayout = function BaseProLayout(props) {
61136
60513
  }), (0,jsx_runtime.jsxs)(external_antd_.Layout, {
61137
60514
  style: objectSpread2_objectSpread2({
61138
60515
  minHeight: '100%',
60516
+ // hack style
61139
60517
  flexDirection: siderMenuDom ? 'row' : undefined
61140
60518
  }, style),
61141
60519
  children: [siderMenuDom, (0,jsx_runtime.jsxs)("div", {
@@ -63197,9 +62575,7 @@ var FormRender = function FormRender(_ref) {
63197
62575
  };
63198
62576
  }, [submitButtonLoading]);
63199
62577
  return (0,jsx_runtime.jsx)("div", {
63200
- className: classnames_default()((_classNames = {
63201
- hashId: hashId
63202
- }, defineProperty_defineProperty(_classNames, getPrefixCls('pro-card'), true), defineProperty_defineProperty(_classNames, "".concat(getPrefixCls('pro-card'), "-border"), !!bordered), defineProperty_defineProperty(_classNames, "".concat(getPrefixCls('pro-card'), "-bordered"), !!bordered), defineProperty_defineProperty(_classNames, "".concat(getPrefixCls('pro-card'), "-ghost"), !!ghost), defineProperty_defineProperty(_classNames, className, true), defineProperty_defineProperty(_classNames, formClassName, isForm), defineProperty_defineProperty(_classNames, getPrefixCls("pro-table-search-".concat(toLowerLine(competentName))), true), defineProperty_defineProperty(_classNames, "".concat(className, "-ghost"), ghost), defineProperty_defineProperty(_classNames, searchConfig === null || searchConfig === void 0 ? void 0 : searchConfig.className, searchConfig !== false && (searchConfig === null || searchConfig === void 0 ? void 0 : searchConfig.className)), _classNames)),
62578
+ className: classnames_default()(hashId, (_classNames = {}, defineProperty_defineProperty(_classNames, getPrefixCls('pro-card'), true), defineProperty_defineProperty(_classNames, "".concat(getPrefixCls('pro-card'), "-border"), !!bordered), defineProperty_defineProperty(_classNames, "".concat(getPrefixCls('pro-card'), "-bordered"), !!bordered), defineProperty_defineProperty(_classNames, "".concat(getPrefixCls('pro-card'), "-ghost"), !!ghost), defineProperty_defineProperty(_classNames, className, true), defineProperty_defineProperty(_classNames, formClassName, isForm), defineProperty_defineProperty(_classNames, getPrefixCls("pro-table-search-".concat(toLowerLine(competentName))), true), defineProperty_defineProperty(_classNames, "".concat(className, "-ghost"), ghost), defineProperty_defineProperty(_classNames, searchConfig === null || searchConfig === void 0 ? void 0 : searchConfig.className, searchConfig !== false && (searchConfig === null || searchConfig === void 0 ? void 0 : searchConfig.className)), _classNames)),
63203
62579
  children: (0,jsx_runtime.jsx)(SchemaForm, objectSpread2_objectSpread2(objectSpread2_objectSpread2(objectSpread2_objectSpread2(objectSpread2_objectSpread2({
63204
62580
  layoutType: competentName,
63205
62581
  columns: columnsList,
@@ -66818,13 +66194,14 @@ var ProviderWarp = function ProviderWarp(props) {
66818
66194
  getPrefixCls = _useContext.getPrefixCls;
66819
66195
  var ErrorComponent = props.ErrorBoundary === false ? (external_React_default()).Fragment : props.ErrorBoundary || ErrorBoundary;
66820
66196
  var _useStyle = table_es_style_useStyle(getPrefixCls('pro-table')),
66821
- wrapSSR = _useStyle.wrapSSR;
66197
+ wrapSSR = _useStyle.wrapSSR,
66198
+ hashId = _useStyle.hashId;
66822
66199
  return (0,jsx_runtime.jsx)(container.Provider, {
66823
66200
  initialState: props,
66824
66201
  children: (0,jsx_runtime.jsx)(ConfigProviderWrap, {
66825
66202
  children: (0,jsx_runtime.jsx)(ErrorComponent, {
66826
66203
  children: wrapSSR((0,jsx_runtime.jsx)(ProTable, objectSpread2_objectSpread2({
66827
- defaultClassName: getPrefixCls('pro-table')
66204
+ defaultClassName: "".concat(getPrefixCls('pro-table'), " ").concat(hashId)
66828
66205
  }, props)))
66829
66206
  })
66830
66207
  })
@@ -86987,17 +86364,17 @@ function BaseProList(props) {
86987
86364
  /* harmony default export */ var list_es = ((/* unused pure expression or super */ null && (ProList)));
86988
86365
  ;// CONCATENATED MODULE: ./packages/components/src/version.ts
86989
86366
  var version_version = {
86990
- "@ant-design/pro-card": "2.0.12",
86991
- "@ant-design/pro-components": "2.3.16",
86992
- "@ant-design/pro-descriptions": "2.0.14",
86993
- "@ant-design/pro-field": "2.1.7",
86994
- "@ant-design/pro-form": "2.2.5",
86995
- "@ant-design/pro-layout": "7.1.5",
86996
- "@ant-design/pro-list": "2.0.14",
86367
+ "@ant-design/pro-card": "2.0.14",
86368
+ "@ant-design/pro-components": "2.3.18",
86369
+ "@ant-design/pro-descriptions": "2.0.16",
86370
+ "@ant-design/pro-field": "2.1.9",
86371
+ "@ant-design/pro-form": "2.2.7",
86372
+ "@ant-design/pro-layout": "7.1.7",
86373
+ "@ant-design/pro-list": "2.0.16",
86997
86374
  "@ant-design/pro-provider": "2.0.6",
86998
86375
  "@ant-design/pro-skeleton": "2.0.4",
86999
- "@ant-design/pro-table": "3.0.14",
87000
- "@ant-design/pro-utils": "2.2.4"
86376
+ "@ant-design/pro-table": "3.0.16",
86377
+ "@ant-design/pro-utils": "2.2.6"
87001
86378
  };
87002
86379
  ;// CONCATENATED MODULE: ./packages/components/src/index.tsx
87003
86380