@teamix/pro 1.5.9 → 1.5.11-beta.1

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.
Files changed (51) hide show
  1. package/dist/pro.css +1 -1
  2. package/dist/pro.js +348 -907
  3. package/dist/pro.min.css +1 -1
  4. package/dist/pro.min.js +1 -1
  5. package/es/actions/dialog-form.js +1 -1
  6. package/es/actions/dialog.js +1 -1
  7. package/es/actions/index.d.ts +2 -2
  8. package/es/actions/index.js +1 -1
  9. package/es/actions/link.js +1 -1
  10. package/es/actions/request.js +1 -1
  11. package/es/form/Filter/index.js +11 -0
  12. package/es/form/ProForm/useAutoSubmit.js +1 -1
  13. package/es/index.d.ts +1 -1
  14. package/es/index.js +11 -1
  15. package/es/page-header/index.d.ts +2 -2
  16. package/es/page-header/index.js +3 -3
  17. package/es/sidebar/index.d.ts +2 -2
  18. package/es/sidebar/index.js +1 -1
  19. package/es/sidebar/utils/index.d.ts +2 -2
  20. package/es/skeleton/index.d.ts +3 -2
  21. package/es/skeleton/index.js +2 -1
  22. package/es/table/index.d.ts +3 -2
  23. package/es/table/index.js +5 -4
  24. package/es/table/index.scss +8 -0
  25. package/es/table/typing.d.ts +3 -1
  26. package/lib/actions/dialog-form.js +2 -3
  27. package/lib/actions/dialog.js +2 -3
  28. package/lib/actions/index.d.ts +2 -2
  29. package/lib/actions/index.js +1 -1
  30. package/lib/actions/link.js +1 -3
  31. package/lib/actions/request.js +1 -3
  32. package/lib/form/Filter/index.js +11 -0
  33. package/lib/form/ProForm/useAutoSubmit.js +1 -3
  34. package/lib/index.d.ts +1 -1
  35. package/lib/index.js +12 -2
  36. package/lib/page-header/index.d.ts +2 -2
  37. package/lib/page-header/index.js +4 -5
  38. package/lib/sidebar/index.d.ts +2 -2
  39. package/lib/sidebar/index.js +1 -1
  40. package/lib/sidebar/utils/index.d.ts +2 -2
  41. package/lib/skeleton/index.d.ts +3 -2
  42. package/lib/skeleton/index.js +3 -1
  43. package/lib/table/index.d.ts +3 -2
  44. package/lib/table/index.js +5 -4
  45. package/lib/table/index.scss +8 -0
  46. package/lib/table/typing.d.ts +3 -1
  47. package/package.json +1 -2
  48. package/es/utils/useRealHistory.d.ts +0 -8
  49. package/es/utils/useRealHistory.js +0 -40
  50. package/lib/utils/useRealHistory.d.ts +0 -8
  51. package/lib/utils/useRealHistory.js +0 -45
package/dist/pro.js CHANGED
@@ -61976,477 +61976,6 @@ function pascalCase(input, options) {
61976
61976
 
61977
61977
  /***/ }),
61978
61978
 
61979
- /***/ 18041:
61980
- /***/ ((module) => {
61981
-
61982
- "use strict";
61983
- // 'path' module extracted from Node.js v8.11.1 (only the posix part)
61984
- // transplited with Babel
61985
-
61986
- // Copyright Joyent, Inc. and other Node contributors.
61987
- //
61988
- // Permission is hereby granted, free of charge, to any person obtaining a
61989
- // copy of this software and associated documentation files (the
61990
- // "Software"), to deal in the Software without restriction, including
61991
- // without limitation the rights to use, copy, modify, merge, publish,
61992
- // distribute, sublicense, and/or sell copies of the Software, and to permit
61993
- // persons to whom the Software is furnished to do so, subject to the
61994
- // following conditions:
61995
- //
61996
- // The above copyright notice and this permission notice shall be included
61997
- // in all copies or substantial portions of the Software.
61998
- //
61999
- // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
62000
- // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
62001
- // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
62002
- // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
62003
- // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
62004
- // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
62005
- // USE OR OTHER DEALINGS IN THE SOFTWARE.
62006
-
62007
-
62008
-
62009
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
62010
- function assertPath(path) {
62011
- if (typeof path !== 'string') {
62012
- throw new TypeError('Path must be a string. Received ' + JSON.stringify(path));
62013
- }
62014
- }
62015
-
62016
- // Resolves . and .. elements in a path with directory names
62017
- function normalizeStringPosix(path, allowAboveRoot) {
62018
- var res = '';
62019
- var lastSegmentLength = 0;
62020
- var lastSlash = -1;
62021
- var dots = 0;
62022
- var code;
62023
- for (var i = 0; i <= path.length; ++i) {
62024
- if (i < path.length) code = path.charCodeAt(i);else if (code === 47 /*/*/) break;else code = 47 /*/*/;
62025
- if (code === 47 /*/*/) {
62026
- if (lastSlash === i - 1 || dots === 1) {
62027
- // NOOP
62028
- } else if (lastSlash !== i - 1 && dots === 2) {
62029
- if (res.length < 2 || lastSegmentLength !== 2 || res.charCodeAt(res.length - 1) !== 46 /*.*/ || res.charCodeAt(res.length - 2) !== 46 /*.*/) {
62030
- if (res.length > 2) {
62031
- var lastSlashIndex = res.lastIndexOf('/');
62032
- if (lastSlashIndex !== res.length - 1) {
62033
- if (lastSlashIndex === -1) {
62034
- res = '';
62035
- lastSegmentLength = 0;
62036
- } else {
62037
- res = res.slice(0, lastSlashIndex);
62038
- lastSegmentLength = res.length - 1 - res.lastIndexOf('/');
62039
- }
62040
- lastSlash = i;
62041
- dots = 0;
62042
- continue;
62043
- }
62044
- } else if (res.length === 2 || res.length === 1) {
62045
- res = '';
62046
- lastSegmentLength = 0;
62047
- lastSlash = i;
62048
- dots = 0;
62049
- continue;
62050
- }
62051
- }
62052
- if (allowAboveRoot) {
62053
- if (res.length > 0) res += '/..';else res = '..';
62054
- lastSegmentLength = 2;
62055
- }
62056
- } else {
62057
- if (res.length > 0) res += '/' + path.slice(lastSlash + 1, i);else res = path.slice(lastSlash + 1, i);
62058
- lastSegmentLength = i - lastSlash - 1;
62059
- }
62060
- lastSlash = i;
62061
- dots = 0;
62062
- } else if (code === 46 /*.*/ && dots !== -1) {
62063
- ++dots;
62064
- } else {
62065
- dots = -1;
62066
- }
62067
- }
62068
- return res;
62069
- }
62070
- function _format(sep, pathObject) {
62071
- var dir = pathObject.dir || pathObject.root;
62072
- var base = pathObject.base || (pathObject.name || '') + (pathObject.ext || '');
62073
- if (!dir) {
62074
- return base;
62075
- }
62076
- if (dir === pathObject.root) {
62077
- return dir + base;
62078
- }
62079
- return dir + sep + base;
62080
- }
62081
- var posix = {
62082
- // path.resolve([from ...], to)
62083
- resolve: function resolve() {
62084
- var resolvedPath = '';
62085
- var resolvedAbsolute = false;
62086
- var cwd;
62087
- for (var i = arguments.length - 1; i >= -1 && !resolvedAbsolute; i--) {
62088
- var path;
62089
- if (i >= 0) path = arguments[i];else {
62090
- if (cwd === undefined) cwd = process.cwd();
62091
- path = cwd;
62092
- }
62093
- assertPath(path);
62094
-
62095
- // Skip empty entries
62096
- if (path.length === 0) {
62097
- continue;
62098
- }
62099
- resolvedPath = path + '/' + resolvedPath;
62100
- resolvedAbsolute = path.charCodeAt(0) === 47 /*/*/;
62101
- }
62102
-
62103
- // At this point the path should be resolved to a full absolute path, but
62104
- // handle relative paths to be safe (might happen when process.cwd() fails)
62105
-
62106
- // Normalize the path
62107
- resolvedPath = normalizeStringPosix(resolvedPath, !resolvedAbsolute);
62108
- if (resolvedAbsolute) {
62109
- if (resolvedPath.length > 0) return '/' + resolvedPath;else return '/';
62110
- } else if (resolvedPath.length > 0) {
62111
- return resolvedPath;
62112
- } else {
62113
- return '.';
62114
- }
62115
- },
62116
- normalize: function normalize(path) {
62117
- assertPath(path);
62118
- if (path.length === 0) return '.';
62119
- var isAbsolute = path.charCodeAt(0) === 47 /*/*/;
62120
- var trailingSeparator = path.charCodeAt(path.length - 1) === 47 /*/*/;
62121
-
62122
- // Normalize the path
62123
- path = normalizeStringPosix(path, !isAbsolute);
62124
- if (path.length === 0 && !isAbsolute) path = '.';
62125
- if (path.length > 0 && trailingSeparator) path += '/';
62126
- if (isAbsolute) return '/' + path;
62127
- return path;
62128
- },
62129
- isAbsolute: function isAbsolute(path) {
62130
- assertPath(path);
62131
- return path.length > 0 && path.charCodeAt(0) === 47 /*/*/;
62132
- },
62133
-
62134
- join: function join() {
62135
- if (arguments.length === 0) return '.';
62136
- var joined;
62137
- for (var i = 0; i < arguments.length; ++i) {
62138
- var arg = arguments[i];
62139
- assertPath(arg);
62140
- if (arg.length > 0) {
62141
- if (joined === undefined) joined = arg;else joined += '/' + arg;
62142
- }
62143
- }
62144
- if (joined === undefined) return '.';
62145
- return posix.normalize(joined);
62146
- },
62147
- relative: function relative(from, to) {
62148
- assertPath(from);
62149
- assertPath(to);
62150
- if (from === to) return '';
62151
- from = posix.resolve(from);
62152
- to = posix.resolve(to);
62153
- if (from === to) return '';
62154
-
62155
- // Trim any leading backslashes
62156
- var fromStart = 1;
62157
- for (; fromStart < from.length; ++fromStart) {
62158
- if (from.charCodeAt(fromStart) !== 47 /*/*/) break;
62159
- }
62160
- var fromEnd = from.length;
62161
- var fromLen = fromEnd - fromStart;
62162
-
62163
- // Trim any leading backslashes
62164
- var toStart = 1;
62165
- for (; toStart < to.length; ++toStart) {
62166
- if (to.charCodeAt(toStart) !== 47 /*/*/) break;
62167
- }
62168
- var toEnd = to.length;
62169
- var toLen = toEnd - toStart;
62170
-
62171
- // Compare paths to find the longest common path from root
62172
- var length = fromLen < toLen ? fromLen : toLen;
62173
- var lastCommonSep = -1;
62174
- var i = 0;
62175
- for (; i <= length; ++i) {
62176
- if (i === length) {
62177
- if (toLen > length) {
62178
- if (to.charCodeAt(toStart + i) === 47 /*/*/) {
62179
- // We get here if `from` is the exact base path for `to`.
62180
- // For example: from='/foo/bar'; to='/foo/bar/baz'
62181
- return to.slice(toStart + i + 1);
62182
- } else if (i === 0) {
62183
- // We get here if `from` is the root
62184
- // For example: from='/'; to='/foo'
62185
- return to.slice(toStart + i);
62186
- }
62187
- } else if (fromLen > length) {
62188
- if (from.charCodeAt(fromStart + i) === 47 /*/*/) {
62189
- // We get here if `to` is the exact base path for `from`.
62190
- // For example: from='/foo/bar/baz'; to='/foo/bar'
62191
- lastCommonSep = i;
62192
- } else if (i === 0) {
62193
- // We get here if `to` is the root.
62194
- // For example: from='/foo'; to='/'
62195
- lastCommonSep = 0;
62196
- }
62197
- }
62198
- break;
62199
- }
62200
- var fromCode = from.charCodeAt(fromStart + i);
62201
- var toCode = to.charCodeAt(toStart + i);
62202
- if (fromCode !== toCode) break;else if (fromCode === 47 /*/*/) lastCommonSep = i;
62203
- }
62204
- var out = '';
62205
- // Generate the relative path based on the path difference between `to`
62206
- // and `from`
62207
- for (i = fromStart + lastCommonSep + 1; i <= fromEnd; ++i) {
62208
- if (i === fromEnd || from.charCodeAt(i) === 47 /*/*/) {
62209
- if (out.length === 0) out += '..';else out += '/..';
62210
- }
62211
- }
62212
-
62213
- // Lastly, append the rest of the destination (`to`) path that comes after
62214
- // the common path parts
62215
- if (out.length > 0) return out + to.slice(toStart + lastCommonSep);else {
62216
- toStart += lastCommonSep;
62217
- if (to.charCodeAt(toStart) === 47 /*/*/) ++toStart;
62218
- return to.slice(toStart);
62219
- }
62220
- },
62221
- _makeLong: function _makeLong(path) {
62222
- return path;
62223
- },
62224
- dirname: function dirname(path) {
62225
- assertPath(path);
62226
- if (path.length === 0) return '.';
62227
- var code = path.charCodeAt(0);
62228
- var hasRoot = code === 47 /*/*/;
62229
- var end = -1;
62230
- var matchedSlash = true;
62231
- for (var i = path.length - 1; i >= 1; --i) {
62232
- code = path.charCodeAt(i);
62233
- if (code === 47 /*/*/) {
62234
- if (!matchedSlash) {
62235
- end = i;
62236
- break;
62237
- }
62238
- } else {
62239
- // We saw the first non-path separator
62240
- matchedSlash = false;
62241
- }
62242
- }
62243
- if (end === -1) return hasRoot ? '/' : '.';
62244
- if (hasRoot && end === 1) return '//';
62245
- return path.slice(0, end);
62246
- },
62247
- basename: function basename(path, ext) {
62248
- if (ext !== undefined && typeof ext !== 'string') throw new TypeError('"ext" argument must be a string');
62249
- assertPath(path);
62250
- var start = 0;
62251
- var end = -1;
62252
- var matchedSlash = true;
62253
- var i;
62254
- if (ext !== undefined && ext.length > 0 && ext.length <= path.length) {
62255
- if (ext.length === path.length && ext === path) return '';
62256
- var extIdx = ext.length - 1;
62257
- var firstNonSlashEnd = -1;
62258
- for (i = path.length - 1; i >= 0; --i) {
62259
- var code = path.charCodeAt(i);
62260
- if (code === 47 /*/*/) {
62261
- // If we reached a path separator that was not part of a set of path
62262
- // separators at the end of the string, stop now
62263
- if (!matchedSlash) {
62264
- start = i + 1;
62265
- break;
62266
- }
62267
- } else {
62268
- if (firstNonSlashEnd === -1) {
62269
- // We saw the first non-path separator, remember this index in case
62270
- // we need it if the extension ends up not matching
62271
- matchedSlash = false;
62272
- firstNonSlashEnd = i + 1;
62273
- }
62274
- if (extIdx >= 0) {
62275
- // Try to match the explicit extension
62276
- if (code === ext.charCodeAt(extIdx)) {
62277
- if (--extIdx === -1) {
62278
- // We matched the extension, so mark this as the end of our path
62279
- // component
62280
- end = i;
62281
- }
62282
- } else {
62283
- // Extension does not match, so our result is the entire path
62284
- // component
62285
- extIdx = -1;
62286
- end = firstNonSlashEnd;
62287
- }
62288
- }
62289
- }
62290
- }
62291
- if (start === end) end = firstNonSlashEnd;else if (end === -1) end = path.length;
62292
- return path.slice(start, end);
62293
- } else {
62294
- for (i = path.length - 1; i >= 0; --i) {
62295
- if (path.charCodeAt(i) === 47 /*/*/) {
62296
- // If we reached a path separator that was not part of a set of path
62297
- // separators at the end of the string, stop now
62298
- if (!matchedSlash) {
62299
- start = i + 1;
62300
- break;
62301
- }
62302
- } else if (end === -1) {
62303
- // We saw the first non-path separator, mark this as the end of our
62304
- // path component
62305
- matchedSlash = false;
62306
- end = i + 1;
62307
- }
62308
- }
62309
- if (end === -1) return '';
62310
- return path.slice(start, end);
62311
- }
62312
- },
62313
- extname: function extname(path) {
62314
- assertPath(path);
62315
- var startDot = -1;
62316
- var startPart = 0;
62317
- var end = -1;
62318
- var matchedSlash = true;
62319
- // Track the state of characters (if any) we see before our first dot and
62320
- // after any path separator we find
62321
- var preDotState = 0;
62322
- for (var i = path.length - 1; i >= 0; --i) {
62323
- var code = path.charCodeAt(i);
62324
- if (code === 47 /*/*/) {
62325
- // If we reached a path separator that was not part of a set of path
62326
- // separators at the end of the string, stop now
62327
- if (!matchedSlash) {
62328
- startPart = i + 1;
62329
- break;
62330
- }
62331
- continue;
62332
- }
62333
- if (end === -1) {
62334
- // We saw the first non-path separator, mark this as the end of our
62335
- // extension
62336
- matchedSlash = false;
62337
- end = i + 1;
62338
- }
62339
- if (code === 46 /*.*/) {
62340
- // If this is our first dot, mark it as the start of our extension
62341
- if (startDot === -1) startDot = i;else if (preDotState !== 1) preDotState = 1;
62342
- } else if (startDot !== -1) {
62343
- // We saw a non-dot and non-path separator before our dot, so we should
62344
- // have a good chance at having a non-empty extension
62345
- preDotState = -1;
62346
- }
62347
- }
62348
- if (startDot === -1 || end === -1 ||
62349
- // We saw a non-dot character immediately before the dot
62350
- preDotState === 0 ||
62351
- // The (right-most) trimmed path component is exactly '..'
62352
- preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) {
62353
- return '';
62354
- }
62355
- return path.slice(startDot, end);
62356
- },
62357
- format: function format(pathObject) {
62358
- if (pathObject === null || _typeof(pathObject) !== 'object') {
62359
- throw new TypeError('The "pathObject" argument must be of type Object. Received type ' + _typeof(pathObject));
62360
- }
62361
- return _format('/', pathObject);
62362
- },
62363
- parse: function parse(path) {
62364
- assertPath(path);
62365
- var ret = {
62366
- root: '',
62367
- dir: '',
62368
- base: '',
62369
- ext: '',
62370
- name: ''
62371
- };
62372
- if (path.length === 0) return ret;
62373
- var code = path.charCodeAt(0);
62374
- var isAbsolute = code === 47 /*/*/;
62375
- var start;
62376
- if (isAbsolute) {
62377
- ret.root = '/';
62378
- start = 1;
62379
- } else {
62380
- start = 0;
62381
- }
62382
- var startDot = -1;
62383
- var startPart = 0;
62384
- var end = -1;
62385
- var matchedSlash = true;
62386
- var i = path.length - 1;
62387
-
62388
- // Track the state of characters (if any) we see before our first dot and
62389
- // after any path separator we find
62390
- var preDotState = 0;
62391
-
62392
- // Get non-dir info
62393
- for (; i >= start; --i) {
62394
- code = path.charCodeAt(i);
62395
- if (code === 47 /*/*/) {
62396
- // If we reached a path separator that was not part of a set of path
62397
- // separators at the end of the string, stop now
62398
- if (!matchedSlash) {
62399
- startPart = i + 1;
62400
- break;
62401
- }
62402
- continue;
62403
- }
62404
- if (end === -1) {
62405
- // We saw the first non-path separator, mark this as the end of our
62406
- // extension
62407
- matchedSlash = false;
62408
- end = i + 1;
62409
- }
62410
- if (code === 46 /*.*/) {
62411
- // If this is our first dot, mark it as the start of our extension
62412
- if (startDot === -1) startDot = i;else if (preDotState !== 1) preDotState = 1;
62413
- } else if (startDot !== -1) {
62414
- // We saw a non-dot and non-path separator before our dot, so we should
62415
- // have a good chance at having a non-empty extension
62416
- preDotState = -1;
62417
- }
62418
- }
62419
- if (startDot === -1 || end === -1 ||
62420
- // We saw a non-dot character immediately before the dot
62421
- preDotState === 0 ||
62422
- // The (right-most) trimmed path component is exactly '..'
62423
- preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) {
62424
- if (end !== -1) {
62425
- if (startPart === 0 && isAbsolute) ret.base = ret.name = path.slice(1, end);else ret.base = ret.name = path.slice(startPart, end);
62426
- }
62427
- } else {
62428
- if (startPart === 0 && isAbsolute) {
62429
- ret.name = path.slice(1, startDot);
62430
- ret.base = path.slice(1, end);
62431
- } else {
62432
- ret.name = path.slice(startPart, startDot);
62433
- ret.base = path.slice(startPart, end);
62434
- }
62435
- ret.ext = path.slice(startDot, end);
62436
- }
62437
- if (startPart > 0) ret.dir = path.slice(0, startPart - 1);else if (isAbsolute) ret.dir = '/';
62438
- return ret;
62439
- },
62440
- sep: '/',
62441
- delimiter: ':',
62442
- win32: null,
62443
- posix: null
62444
- };
62445
- posix.posix = posix;
62446
- module.exports = posix;
62447
-
62448
- /***/ }),
62449
-
62450
61979
  /***/ 89112:
62451
61980
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
62452
61981
 
@@ -66642,6 +66171,118 @@ var Ellipsis = function Ellipsis(props) {
66642
66171
 
66643
66172
  /***/ }),
66644
66173
 
66174
+ /***/ 85642:
66175
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
66176
+
66177
+ "use strict";
66178
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
66179
+ /* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
66180
+ /* harmony export */ });
66181
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(59787);
66182
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
66183
+ /* harmony import */ var _teamix_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(80653);
66184
+ /* harmony import */ var _teamix_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(89227);
66185
+ var _excluded = ["icon", "title", "description", "extra", "className"];
66186
+ function ownKeys(object, enumerableOnly) {
66187
+ var keys = Object.keys(object);
66188
+ if (Object.getOwnPropertySymbols) {
66189
+ var symbols = Object.getOwnPropertySymbols(object);
66190
+ enumerableOnly && (symbols = symbols.filter(function (sym) {
66191
+ return Object.getOwnPropertyDescriptor(object, sym).enumerable;
66192
+ })), keys.push.apply(keys, symbols);
66193
+ }
66194
+ return keys;
66195
+ }
66196
+ function _objectSpread(target) {
66197
+ for (var i = 1; i < arguments.length; i++) {
66198
+ var source = null != arguments[i] ? arguments[i] : {};
66199
+ i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {
66200
+ _defineProperty(target, key, source[key]);
66201
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {
66202
+ Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
66203
+ });
66204
+ }
66205
+ return target;
66206
+ }
66207
+ function _defineProperty(obj, key, value) {
66208
+ if (key in obj) {
66209
+ Object.defineProperty(obj, key, {
66210
+ value: value,
66211
+ enumerable: true,
66212
+ configurable: true,
66213
+ writable: true
66214
+ });
66215
+ } else {
66216
+ obj[key] = value;
66217
+ }
66218
+ return obj;
66219
+ }
66220
+ function _objectWithoutProperties(source, excluded) {
66221
+ if (source == null) return {};
66222
+ var target = _objectWithoutPropertiesLoose(source, excluded);
66223
+ var key, i;
66224
+ if (Object.getOwnPropertySymbols) {
66225
+ var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
66226
+ for (i = 0; i < sourceSymbolKeys.length; i++) {
66227
+ key = sourceSymbolKeys[i];
66228
+ if (excluded.indexOf(key) >= 0) continue;
66229
+ if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
66230
+ target[key] = source[key];
66231
+ }
66232
+ }
66233
+ return target;
66234
+ }
66235
+ function _objectWithoutPropertiesLoose(source, excluded) {
66236
+ if (source == null) return {};
66237
+ var target = {};
66238
+ var sourceKeys = Object.keys(source);
66239
+ var key, i;
66240
+ for (i = 0; i < sourceKeys.length; i++) {
66241
+ key = sourceKeys[i];
66242
+ if (excluded.indexOf(key) >= 0) continue;
66243
+ target[key] = source[key];
66244
+ }
66245
+ return target;
66246
+ }
66247
+
66248
+
66249
+
66250
+
66251
+ var cls = (0,_teamix_utils__WEBPACK_IMPORTED_MODULE_1__.usePrefixCls)('teamix-pro-empty-content');
66252
+ var EmptyContent = function EmptyContent(props) {
66253
+ var _props$icon = props.icon,
66254
+ icon = _props$icon === void 0 ? 'tips-fill' : _props$icon,
66255
+ _props$title = props.title,
66256
+ title = _props$title === void 0 ? (0,_teamix_utils__WEBPACK_IMPORTED_MODULE_1__.getMessage)('noData') : _props$title,
66257
+ description = props.description,
66258
+ extra = props.extra,
66259
+ className = props.className,
66260
+ others = _objectWithoutProperties(props, _excluded);
66261
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", _objectSpread({
66262
+ className: cls({
66263
+ className: true,
66264
+ '': true
66265
+ })
66266
+ }, others), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", {
66267
+ className: cls('content')
66268
+ }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", {
66269
+ className: cls('title')
66270
+ }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_teamix_icon__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z, {
66271
+ type: icon,
66272
+ size: "small",
66273
+ className: cls('title-icon')
66274
+ }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("span", {
66275
+ className: cls('title-text')
66276
+ }, title)), description && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", {
66277
+ className: cls('description')
66278
+ }, description), extra && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", {
66279
+ className: cls('extra')
66280
+ }, extra)));
66281
+ };
66282
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (EmptyContent);
66283
+
66284
+ /***/ }),
66285
+
66645
66286
  /***/ 55810:
66646
66287
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
66647
66288
 
@@ -67308,7 +66949,8 @@ extra) {
67308
66949
  /* harmony export */ "VM": () => (/* reexport safe */ _Tags_TagGroup__WEBPACK_IMPORTED_MODULE_5__.Z),
67309
66950
  /* harmony export */ "as": () => (/* reexport safe */ _Tags__WEBPACK_IMPORTED_MODULE_0__.a),
67310
66951
  /* harmony export */ "h4": () => (/* reexport safe */ _Header__WEBPACK_IMPORTED_MODULE_2__.Z),
67311
- /* harmony export */ "mH": () => (/* reexport safe */ _Ellipsis__WEBPACK_IMPORTED_MODULE_4__.Z)
66952
+ /* harmony export */ "mH": () => (/* reexport safe */ _Ellipsis__WEBPACK_IMPORTED_MODULE_4__.Z),
66953
+ /* harmony export */ "z1": () => (/* reexport safe */ _EmptyContent__WEBPACK_IMPORTED_MODULE_7__.Z)
67312
66954
  /* harmony export */ });
67313
66955
  /* harmony import */ var _Tags__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(22077);
67314
66956
  /* harmony import */ var _LabelIconTip__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(28751);
@@ -67317,6 +66959,7 @@ extra) {
67317
66959
  /* harmony import */ var _Ellipsis__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(9137);
67318
66960
  /* harmony import */ var _Tags_TagGroup__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(16094);
67319
66961
  /* harmony import */ var _BrandColorSwitcher__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(50870);
66962
+ /* harmony import */ var _EmptyContent__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(85642);
67320
66963
  /**
67321
66964
  * Pro 通用组件
67322
66965
  */
@@ -67329,6 +66972,7 @@ extra) {
67329
66972
 
67330
66973
 
67331
66974
 
66975
+
67332
66976
  /***/ }),
67333
66977
 
67334
66978
  /***/ 66321:
@@ -75130,10 +74774,10 @@ var renderWarningLevelTag = function renderWarningLevelTag(item, render) {
75130
74774
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null, (_render$emptyText5 = render.emptyText) !== null && _render$emptyText5 !== void 0 ? _render$emptyText5 : '');
75131
74775
  }
75132
74776
  var formatLabel = function formatLabel(item) {
75133
- if (item === 'P2') return 'P2 重要';
75134
- if (item === 'P3') return 'P3 次要';
75135
- if (item === 'P4') return 'P4 提醒';
75136
- return 'P1 紧急';
74777
+ if (item === 'P2') return (0,_teamix_utils__WEBPACK_IMPORTED_MODULE_7__.getMessage)('p2Important');
74778
+ if (item === 'P3') return (0,_teamix_utils__WEBPACK_IMPORTED_MODULE_7__.getMessage)('p3Secondary');
74779
+ if (item === 'P4') return (0,_teamix_utils__WEBPACK_IMPORTED_MODULE_7__.getMessage)('p4Reminder');
74780
+ return (0,_teamix_utils__WEBPACK_IMPORTED_MODULE_7__.getMessage)('p1Emergency');
75137
74781
  };
75138
74782
  return (0,_commonComponents__WEBPACK_IMPORTED_MODULE_8__/* .renderTags */ .as)({
75139
74783
  type: 'normal',
@@ -77049,45 +76693,45 @@ var TagSelect = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(f
77049
76693
 
77050
76694
  "use strict";
77051
76695
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
77052
- /* harmony export */ "FC": () => (/* reexport safe */ _commonComponents__WEBPACK_IMPORTED_MODULE_27__.FC),
77053
- /* harmony export */ "Gx": () => (/* reexport safe */ _commonComponents__WEBPACK_IMPORTED_MODULE_27__.Gx),
77054
- /* harmony export */ "IG": () => (/* reexport safe */ _commonComponents__WEBPACK_IMPORTED_MODULE_27__.IG),
77055
- /* harmony export */ "VM": () => (/* reexport safe */ _commonComponents__WEBPACK_IMPORTED_MODULE_27__.VM),
76696
+ /* harmony export */ "FC": () => (/* reexport safe */ _commonComponents__WEBPACK_IMPORTED_MODULE_26__.FC),
76697
+ /* harmony export */ "Gx": () => (/* reexport safe */ _commonComponents__WEBPACK_IMPORTED_MODULE_26__.Gx),
76698
+ /* harmony export */ "IG": () => (/* reexport safe */ _commonComponents__WEBPACK_IMPORTED_MODULE_26__.IG),
76699
+ /* harmony export */ "VM": () => (/* reexport safe */ _commonComponents__WEBPACK_IMPORTED_MODULE_26__.VM),
77056
76700
  /* harmony export */ "ZP": () => (__WEBPACK_DEFAULT_EXPORT__),
77057
- /* harmony export */ "as": () => (/* reexport safe */ _commonComponents__WEBPACK_IMPORTED_MODULE_27__.as),
77058
- /* harmony export */ "h4": () => (/* reexport safe */ _commonComponents__WEBPACK_IMPORTED_MODULE_27__.h4),
77059
- /* harmony export */ "mH": () => (/* reexport safe */ _commonComponents__WEBPACK_IMPORTED_MODULE_27__.mH)
76701
+ /* harmony export */ "as": () => (/* reexport safe */ _commonComponents__WEBPACK_IMPORTED_MODULE_26__.as),
76702
+ /* harmony export */ "h4": () => (/* reexport safe */ _commonComponents__WEBPACK_IMPORTED_MODULE_26__.h4),
76703
+ /* harmony export */ "mH": () => (/* reexport safe */ _commonComponents__WEBPACK_IMPORTED_MODULE_26__.mH),
76704
+ /* harmony export */ "z1": () => (/* reexport safe */ _commonComponents__WEBPACK_IMPORTED_MODULE_26__.z1)
77060
76705
  /* harmony export */ });
77061
76706
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(59787);
77062
76707
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
77063
76708
  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(28266);
77064
76709
  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
77065
- /* harmony import */ var _useRealHistory__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(84668);
77066
- /* harmony import */ var _teamix_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(80653);
77067
- /* harmony import */ var _components_FieldText__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(41451);
77068
- /* harmony import */ var _components_FieldTextArea__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(51273);
77069
- /* harmony import */ var _components_FieldMoney__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(62847);
77070
- /* harmony import */ var _components_FieldCheckBox__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(94485);
77071
- /* harmony import */ var _components_FieldRadio__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(13891);
77072
- /* harmony import */ var _components_FieldSelect__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(64913);
77073
- /* harmony import */ var _components_FieldMultipleSelect__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(51782);
77074
- /* harmony import */ var _components_FieldDate__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(33439);
77075
- /* harmony import */ var _components_FieldNumber__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(67435);
77076
- /* harmony import */ var _components_FieldPercent__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(86709);
77077
- /* harmony import */ var _components_FieldCascader__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(66321);
77078
- /* harmony import */ var _components_FieldSwitch__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(33685);
77079
- /* harmony import */ var _components_FieldColor__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(83247);
77080
- /* harmony import */ var _components_FieldIcon__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(43434);
77081
- /* harmony import */ var _components_FieldTreeSelect__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(86648);
77082
- /* harmony import */ var _components_FieldTransfer__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(69360);
77083
- /* harmony import */ var _components_FieldRange__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(86130);
77084
- /* harmony import */ var _components_FieldPassword__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(30774);
77085
- /* harmony import */ var _components_FieldSearch__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(53987);
77086
- /* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(72326);
77087
- /* harmony import */ var _components_FieldTagPicker__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(82836);
77088
- /* harmony import */ var _components_FieldMenuSelect__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(26229);
77089
- /* harmony import */ var _components_FieldSelectGroup__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(98203);
77090
- /* harmony import */ var _commonComponents__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(76457);
76710
+ /* harmony import */ var _teamix_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(80653);
76711
+ /* harmony import */ var _components_FieldText__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(41451);
76712
+ /* harmony import */ var _components_FieldTextArea__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(51273);
76713
+ /* harmony import */ var _components_FieldMoney__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(62847);
76714
+ /* harmony import */ var _components_FieldCheckBox__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(94485);
76715
+ /* harmony import */ var _components_FieldRadio__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(13891);
76716
+ /* harmony import */ var _components_FieldSelect__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(64913);
76717
+ /* harmony import */ var _components_FieldMultipleSelect__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(51782);
76718
+ /* harmony import */ var _components_FieldDate__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(33439);
76719
+ /* harmony import */ var _components_FieldNumber__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(67435);
76720
+ /* harmony import */ var _components_FieldPercent__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(86709);
76721
+ /* harmony import */ var _components_FieldCascader__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(66321);
76722
+ /* harmony import */ var _components_FieldSwitch__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(33685);
76723
+ /* harmony import */ var _components_FieldColor__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(83247);
76724
+ /* harmony import */ var _components_FieldIcon__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(43434);
76725
+ /* harmony import */ var _components_FieldTreeSelect__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(86648);
76726
+ /* harmony import */ var _components_FieldTransfer__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(69360);
76727
+ /* harmony import */ var _components_FieldRange__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(86130);
76728
+ /* harmony import */ var _components_FieldPassword__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(30774);
76729
+ /* harmony import */ var _components_FieldSearch__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(53987);
76730
+ /* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(72326);
76731
+ /* harmony import */ var _components_FieldTagPicker__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(82836);
76732
+ /* harmony import */ var _components_FieldMenuSelect__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(26229);
76733
+ /* harmony import */ var _components_FieldSelectGroup__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(98203);
76734
+ /* harmony import */ var _commonComponents__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(76457);
77091
76735
  var _excluded = ["dataSource", "state", "tooltip", "tooltipLabel", "tooltipIcon", "tooltipIconSize", "className", "style"];
77092
76736
  function ownKeys(object, enumerableOnly) {
77093
76737
  var keys = Object.keys(object);
@@ -77233,49 +76877,49 @@ function _objectWithoutPropertiesLoose(source, excluded) {
77233
76877
 
77234
76878
  var externalComponents = {};
77235
76879
  var innerComponents = {
77236
- text: _components_FieldText__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z,
77237
- textarea: _components_FieldTextArea__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z,
77238
- money: _components_FieldMoney__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z,
77239
- checkbox: _components_FieldCheckBox__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z,
77240
- radio: _components_FieldRadio__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z,
77241
- select: _components_FieldSelect__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z,
77242
- multipleselect: _components_FieldMultipleSelect__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z,
77243
- date: _components_FieldDate__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z,
77244
- dateweek: _components_FieldDate__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z,
77245
- datemonth: _components_FieldDate__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z,
77246
- dateyear: _components_FieldDate__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z,
77247
- datequarter: _components_FieldDate__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z,
77248
- daterange: _components_FieldDate__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z,
77249
- dateweekrange: _components_FieldDate__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z,
77250
- datemonthrange: _components_FieldDate__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z,
77251
- dateyearrange: _components_FieldDate__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z,
77252
- datequarterrange: _components_FieldDate__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z,
77253
- datetime: _components_FieldDate__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z,
77254
- datetimerange: _components_FieldDate__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z,
77255
- time: _components_FieldDate__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z,
77256
- timerange: _components_FieldDate__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z,
77257
- number: _components_FieldNumber__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z,
77258
- percent: _components_FieldPercent__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z,
77259
- cascader: _components_FieldCascader__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .Z,
77260
- multiplecascader: _components_FieldCascader__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .Z,
77261
- arbitrarycascader: _components_FieldCascader__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .Z,
77262
- "switch": _components_FieldSwitch__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z,
77263
- color: _components_FieldColor__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z,
77264
- colorswatches: _components_FieldColor__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z,
77265
- colorradio: _components_FieldColor__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z,
77266
- colortwitter: _components_FieldColor__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z,
77267
- icon: _components_FieldIcon__WEBPACK_IMPORTED_MODULE_17__/* ["default"] */ .Z,
77268
- treeselect: _components_FieldTreeSelect__WEBPACK_IMPORTED_MODULE_18__/* ["default"] */ .Z,
77269
- json: _components_FieldTextArea__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z,
76880
+ text: _components_FieldText__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z,
76881
+ textarea: _components_FieldTextArea__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z,
76882
+ money: _components_FieldMoney__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z,
76883
+ checkbox: _components_FieldCheckBox__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z,
76884
+ radio: _components_FieldRadio__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z,
76885
+ select: _components_FieldSelect__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z,
76886
+ multipleselect: _components_FieldMultipleSelect__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z,
76887
+ date: _components_FieldDate__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z,
76888
+ dateweek: _components_FieldDate__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z,
76889
+ datemonth: _components_FieldDate__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z,
76890
+ dateyear: _components_FieldDate__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z,
76891
+ datequarter: _components_FieldDate__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z,
76892
+ daterange: _components_FieldDate__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z,
76893
+ dateweekrange: _components_FieldDate__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z,
76894
+ datemonthrange: _components_FieldDate__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z,
76895
+ dateyearrange: _components_FieldDate__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z,
76896
+ datequarterrange: _components_FieldDate__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z,
76897
+ datetime: _components_FieldDate__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z,
76898
+ datetimerange: _components_FieldDate__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z,
76899
+ time: _components_FieldDate__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z,
76900
+ timerange: _components_FieldDate__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z,
76901
+ number: _components_FieldNumber__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z,
76902
+ percent: _components_FieldPercent__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z,
76903
+ cascader: _components_FieldCascader__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z,
76904
+ multiplecascader: _components_FieldCascader__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z,
76905
+ arbitrarycascader: _components_FieldCascader__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z,
76906
+ "switch": _components_FieldSwitch__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .Z,
76907
+ color: _components_FieldColor__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z,
76908
+ colorswatches: _components_FieldColor__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z,
76909
+ colorradio: _components_FieldColor__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z,
76910
+ colortwitter: _components_FieldColor__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z,
76911
+ icon: _components_FieldIcon__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z,
76912
+ treeselect: _components_FieldTreeSelect__WEBPACK_IMPORTED_MODULE_17__/* ["default"] */ .Z,
76913
+ json: _components_FieldTextArea__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z,
77270
76914
  // json: FieldJson,
77271
- transfer: _components_FieldTransfer__WEBPACK_IMPORTED_MODULE_19__/* ["default"] */ .Z,
77272
- range: _components_FieldRange__WEBPACK_IMPORTED_MODULE_20__/* ["default"] */ .Z,
77273
- password: _components_FieldPassword__WEBPACK_IMPORTED_MODULE_21__/* ["default"] */ .Z,
77274
- search: _components_FieldSearch__WEBPACK_IMPORTED_MODULE_22__/* ["default"] */ .Z,
77275
- tagpicker: _components_FieldTagPicker__WEBPACK_IMPORTED_MODULE_24__/* ["default"] */ .Z,
77276
- multipletagpicker: _components_FieldTagPicker__WEBPACK_IMPORTED_MODULE_24__/* ["default"] */ .Z,
77277
- menuselect: _components_FieldMenuSelect__WEBPACK_IMPORTED_MODULE_25__/* ["default"] */ .Z,
77278
- selectgroup: _components_FieldSelectGroup__WEBPACK_IMPORTED_MODULE_26__/* ["default"] */ .Z
76915
+ transfer: _components_FieldTransfer__WEBPACK_IMPORTED_MODULE_18__/* ["default"] */ .Z,
76916
+ range: _components_FieldRange__WEBPACK_IMPORTED_MODULE_19__/* ["default"] */ .Z,
76917
+ password: _components_FieldPassword__WEBPACK_IMPORTED_MODULE_20__/* ["default"] */ .Z,
76918
+ search: _components_FieldSearch__WEBPACK_IMPORTED_MODULE_21__/* ["default"] */ .Z,
76919
+ tagpicker: _components_FieldTagPicker__WEBPACK_IMPORTED_MODULE_23__/* ["default"] */ .Z,
76920
+ multipletagpicker: _components_FieldTagPicker__WEBPACK_IMPORTED_MODULE_23__/* ["default"] */ .Z,
76921
+ menuselect: _components_FieldMenuSelect__WEBPACK_IMPORTED_MODULE_24__/* ["default"] */ .Z,
76922
+ selectgroup: _components_FieldSelectGroup__WEBPACK_IMPORTED_MODULE_25__/* ["default"] */ .Z
77279
76923
  };
77280
76924
  // export interface IProField extends React.FC<ProFieldProps> {
77281
76925
  // registerComponent: (components: IComponent) => void;
@@ -77305,7 +76949,7 @@ var ProField = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().forward
77305
76949
  others = _objectWithoutProperties(props, _excluded);
77306
76950
  var proFieldRef = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)();
77307
76951
  // 注册全局自定义组件
77308
- var globalProField = (_getGlobalConfig = (0,_teamix_utils__WEBPACK_IMPORTED_MODULE_3__.getGlobalConfig)('ProField')) !== null && _getGlobalConfig !== void 0 ? _getGlobalConfig : {};
76952
+ var globalProField = (_getGlobalConfig = (0,_teamix_utils__WEBPACK_IMPORTED_MODULE_2__.getGlobalConfig)('ProField')) !== null && _getGlobalConfig !== void 0 ? _getGlobalConfig : {};
77309
76953
  registerComponent(globalProField);
77310
76954
  var _React$useState = react__WEBPACK_IMPORTED_MODULE_0___default().useState(isDataSourceRemote(dataSource)),
77311
76955
  _React$useState2 = _slicedToArray(_React$useState, 2),
@@ -77315,10 +76959,10 @@ var ProField = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().forward
77315
76959
  _React$useState4 = _slicedToArray(_React$useState3, 2),
77316
76960
  remoteDataSource = _React$useState4[0],
77317
76961
  setRemoteDataSource = _React$useState4[1];
77318
- var history = (0,_useRealHistory__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)();
76962
+ var history = (0,_teamix_utils__WEBPACK_IMPORTED_MODULE_2__.useRealHistory)();
77319
76963
  react__WEBPACK_IMPORTED_MODULE_0___default().useEffect(function () {
77320
76964
  if (isDataSourceRemote(dataSource)) {
77321
- (0,_teamix_utils__WEBPACK_IMPORTED_MODULE_3__.doCommonRequest)(dataSource, {}, history).then(function (res) {
76965
+ (0,_teamix_utils__WEBPACK_IMPORTED_MODULE_2__.doCommonRequest)(dataSource, {}, history).then(function (res) {
77322
76966
  setRemoteDataSource(Array.isArray(res) ? res : []);
77323
76967
  setLoadingRemote(false);
77324
76968
  })["catch"](function (e) {
@@ -77348,13 +76992,13 @@ var ProField = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().forward
77348
76992
  'teamix-pro-field': true
77349
76993
  }, _defineProperty(_cls, "teamix-pro-field-".concat(type === null || type === void 0 ? void 0 : type.toLowerCase()), true), _defineProperty(_cls, 'teamix-pro-field-compact', layout === 'compact'), _defineProperty(_cls, 'teamix-pro-field-tooltip', tooltip), _defineProperty(_cls, 'teamix-test-request', isDataSourceRemote(dataSource)), _defineProperty(_cls, className, className), _cls)),
77350
76994
  ref: proFieldRef
77351
- }, (0,_utils__WEBPACK_IMPORTED_MODULE_23__/* .hasProps */ .s_)({
76995
+ }, (0,_utils__WEBPACK_IMPORTED_MODULE_22__/* .hasProps */ .s_)({
77352
76996
  style: style
77353
76997
  })), dataProps), isDataSourceRemote(dataSource) ? {
77354
76998
  'data-teamix-test-request': "url=".concat(dataSource === null || dataSource === void 0 ? void 0 : dataSource.url, "&formatResult=").concat(!!(dataSource === null || dataSource === void 0 ? void 0 : dataSource.formatResult)),
77355
- 'data-teamix-test-params': (0,_teamix_utils__WEBPACK_IMPORTED_MODULE_3__.getTestRequestParams)(dataSource === null || dataSource === void 0 ? void 0 : dataSource.params),
77356
- 'data-teamix-test-data': (0,_teamix_utils__WEBPACK_IMPORTED_MODULE_3__.getTestRequestData)('dataSource')
77357
- } : {}), renderField(type, newProps, ref, proFieldRef), !!tooltip && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_commonComponents__WEBPACK_IMPORTED_MODULE_27__/* .LabelIconTip */ .Gx, {
76999
+ 'data-teamix-test-params': (0,_teamix_utils__WEBPACK_IMPORTED_MODULE_2__.getTestRequestParams)(dataSource === null || dataSource === void 0 ? void 0 : dataSource.params),
77000
+ 'data-teamix-test-data': (0,_teamix_utils__WEBPACK_IMPORTED_MODULE_2__.getTestRequestData)('dataSource')
77001
+ } : {}), renderField(type, newProps, ref, proFieldRef), !!tooltip && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_commonComponents__WEBPACK_IMPORTED_MODULE_26__/* .LabelIconTip */ .Gx, {
77358
77002
  label: tooltipLabel,
77359
77003
  tooltip: tooltip,
77360
77004
  icon: tooltipIcon,
@@ -77363,7 +77007,7 @@ var ProField = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().forward
77363
77007
  });
77364
77008
  var renderField = function renderField(type, props, ref, fieldRef) {
77365
77009
  var allComponents = _objectSpread(_objectSpread({}, innerComponents), externalComponents);
77366
- var Component = allComponents[type === null || type === void 0 ? void 0 : type.toLowerCase()] || _components_FieldText__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z;
77010
+ var Component = allComponents[type === null || type === void 0 ? void 0 : type.toLowerCase()] || _components_FieldText__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z;
77367
77011
  if ((type === null || type === void 0 ? void 0 : type.toLowerCase()) === 'selectgroup') {
77368
77012
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(Component, _objectSpread(_objectSpread({}, props), {}, {
77369
77013
  ref: ref,
@@ -77387,7 +77031,7 @@ var registerComponent = function registerComponent(components) {
77387
77031
  });
77388
77032
  };
77389
77033
  ProField.registerComponent = registerComponent;
77390
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ProField);
77034
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().memo(ProField));
77391
77035
 
77392
77036
  /***/ }),
77393
77037
 
@@ -77452,102 +77096,6 @@ function renderPreviewProps(val, mode, render, options, beforeFormatter, customO
77452
77096
 
77453
77097
  /***/ }),
77454
77098
 
77455
- /***/ 84668:
77456
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
77457
-
77458
- "use strict";
77459
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
77460
- /* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
77461
- /* harmony export */ });
77462
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(59787);
77463
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
77464
- /* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(18944);
77465
- /* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_router_dom__WEBPACK_IMPORTED_MODULE_1__);
77466
- function _slicedToArray(arr, i) {
77467
- return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
77468
- }
77469
- function _nonIterableRest() {
77470
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
77471
- }
77472
- function _unsupportedIterableToArray(o, minLen) {
77473
- if (!o) return;
77474
- if (typeof o === "string") return _arrayLikeToArray(o, minLen);
77475
- var n = Object.prototype.toString.call(o).slice(8, -1);
77476
- if (n === "Object" && o.constructor) n = o.constructor.name;
77477
- if (n === "Map" || n === "Set") return Array.from(o);
77478
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
77479
- }
77480
- function _arrayLikeToArray(arr, len) {
77481
- if (len == null || len > arr.length) len = arr.length;
77482
- for (var i = 0, arr2 = new Array(len); i < len; i++) {
77483
- arr2[i] = arr[i];
77484
- }
77485
- return arr2;
77486
- }
77487
- function _iterableToArrayLimit(arr, i) {
77488
- var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
77489
- if (_i == null) return;
77490
- var _arr = [];
77491
- var _n = true;
77492
- var _d = false;
77493
- var _s, _e;
77494
- try {
77495
- for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
77496
- _arr.push(_s.value);
77497
- if (i && _arr.length === i) break;
77498
- }
77499
- } catch (err) {
77500
- _d = true;
77501
- _e = err;
77502
- } finally {
77503
- try {
77504
- if (!_n && _i["return"] != null) _i["return"]();
77505
- } finally {
77506
- if (_d) throw _e;
77507
- }
77508
- }
77509
- return _arr;
77510
- }
77511
- function _arrayWithHoles(arr) {
77512
- if (Array.isArray(arr)) return arr;
77513
- }
77514
- // 兼容 react-router-dom v5&v6,拿到真正的 history
77515
-
77516
- // import path from 'path';
77517
-
77518
- var path = __webpack_require__(18041);
77519
- var useRealHistory = function useRealHistory() {
77520
- var history;
77521
- if (react_router_dom__WEBPACK_IMPORTED_MODULE_1__.useHistory) {
77522
- history = (0,react_router_dom__WEBPACK_IMPORTED_MODULE_1__.useHistory)();
77523
- }
77524
- var _useState = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(history),
77525
- _useState2 = _slicedToArray(_useState, 2),
77526
- realHistory = _useState2[0],
77527
- setRealHistory = _useState2[1];
77528
- (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {
77529
- if (window.HistoryLibrary) {
77530
- history = window.HistoryLibrary.createBrowserHistory();
77531
- var oldPush = history.push;
77532
- history.push = function (p) {
77533
- if (typeof p === 'string') {
77534
- var _window$ICESTARK;
77535
- oldPush(path.join(((_window$ICESTARK = window.ICESTARK) === null || _window$ICESTARK === void 0 ? void 0 : _window$ICESTARK.basename) || '/', p));
77536
- } else {
77537
- var _window$ICESTARK2;
77538
- p.pathname = path.join(((_window$ICESTARK2 = window.ICESTARK) === null || _window$ICESTARK2 === void 0 ? void 0 : _window$ICESTARK2.basename) || '/', p.pathname);
77539
- oldPush(p);
77540
- }
77541
- };
77542
- setRealHistory(history);
77543
- }
77544
- }, []);
77545
- return realHistory;
77546
- };
77547
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useRealHistory);
77548
-
77549
- /***/ }),
77550
-
77551
77099
  /***/ 36463:
77552
77100
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
77553
77101
 
@@ -86749,7 +86297,7 @@ ProPageContainer.Tab = _tab__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z;
86749
86297
  /* harmony export */ });
86750
86298
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(59787);
86751
86299
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
86752
- /* harmony import */ var _useRealHistory__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(67626);
86300
+ /* harmony import */ var _teamix_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(80653);
86753
86301
  /* harmony import */ var _alicloudfe_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(33049);
86754
86302
  /* harmony import */ var _alicloudfe_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_alicloudfe_components__WEBPACK_IMPORTED_MODULE_2__);
86755
86303
  /* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(20701);
@@ -86828,7 +86376,7 @@ var ProPageContainerConfigTab = function ProPageContainerConfigTab(props) {
86828
86376
  activeTab = props.activeTab,
86829
86377
  activeKey = props.activeKey,
86830
86378
  _onChange = props.onChange;
86831
- var history = (0,_useRealHistory__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)();
86379
+ var history = (0,_teamix_utils__WEBPACK_IMPORTED_MODULE_1__.useRealHistory)();
86832
86380
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_alicloudfe_components__WEBPACK_IMPORTED_MODULE_2__.Tab, {
86833
86381
  activeKey: activeKey || activeTab,
86834
86382
  onChange: function onChange(key) {
@@ -86836,7 +86384,7 @@ var ProPageContainerConfigTab = function ProPageContainerConfigTab(props) {
86836
86384
  return t.key === key;
86837
86385
  });
86838
86386
  if (tab === null || tab === void 0 ? void 0 : tab.path) {
86839
- history.push && history.push(tab.path);
86387
+ history && history.push && history.push(tab.path);
86840
86388
  return;
86841
86389
  }
86842
86390
  _onChange && _onChange(key);
@@ -86906,102 +86454,6 @@ ProPageContainerTab.Item = _alicloudfe_components__WEBPACK_IMPORTED_MODULE_2__.T
86906
86454
 
86907
86455
  /***/ }),
86908
86456
 
86909
- /***/ 67626:
86910
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
86911
-
86912
- "use strict";
86913
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
86914
- /* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
86915
- /* harmony export */ });
86916
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(59787);
86917
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
86918
- /* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(18944);
86919
- /* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_router_dom__WEBPACK_IMPORTED_MODULE_1__);
86920
- function _slicedToArray(arr, i) {
86921
- return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
86922
- }
86923
- function _nonIterableRest() {
86924
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
86925
- }
86926
- function _unsupportedIterableToArray(o, minLen) {
86927
- if (!o) return;
86928
- if (typeof o === "string") return _arrayLikeToArray(o, minLen);
86929
- var n = Object.prototype.toString.call(o).slice(8, -1);
86930
- if (n === "Object" && o.constructor) n = o.constructor.name;
86931
- if (n === "Map" || n === "Set") return Array.from(o);
86932
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
86933
- }
86934
- function _arrayLikeToArray(arr, len) {
86935
- if (len == null || len > arr.length) len = arr.length;
86936
- for (var i = 0, arr2 = new Array(len); i < len; i++) {
86937
- arr2[i] = arr[i];
86938
- }
86939
- return arr2;
86940
- }
86941
- function _iterableToArrayLimit(arr, i) {
86942
- var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
86943
- if (_i == null) return;
86944
- var _arr = [];
86945
- var _n = true;
86946
- var _d = false;
86947
- var _s, _e;
86948
- try {
86949
- for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
86950
- _arr.push(_s.value);
86951
- if (i && _arr.length === i) break;
86952
- }
86953
- } catch (err) {
86954
- _d = true;
86955
- _e = err;
86956
- } finally {
86957
- try {
86958
- if (!_n && _i["return"] != null) _i["return"]();
86959
- } finally {
86960
- if (_d) throw _e;
86961
- }
86962
- }
86963
- return _arr;
86964
- }
86965
- function _arrayWithHoles(arr) {
86966
- if (Array.isArray(arr)) return arr;
86967
- }
86968
- // 兼容 react-router-dom v5&v6,拿到真正的 history
86969
-
86970
- // import path from 'path';
86971
-
86972
- var path = __webpack_require__(18041);
86973
- var useRealHistory = function useRealHistory() {
86974
- var history;
86975
- if (react_router_dom__WEBPACK_IMPORTED_MODULE_1__.useHistory) {
86976
- history = (0,react_router_dom__WEBPACK_IMPORTED_MODULE_1__.useHistory)();
86977
- }
86978
- var _useState = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(history),
86979
- _useState2 = _slicedToArray(_useState, 2),
86980
- realHistory = _useState2[0],
86981
- setRealHistory = _useState2[1];
86982
- (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {
86983
- if (window.HistoryLibrary) {
86984
- history = window.HistoryLibrary.createBrowserHistory();
86985
- var oldPush = history.push;
86986
- history.push = function (p) {
86987
- if (typeof p === 'string') {
86988
- var _window$ICESTARK;
86989
- oldPush(path.join(((_window$ICESTARK = window.ICESTARK) === null || _window$ICESTARK === void 0 ? void 0 : _window$ICESTARK.basename) || '/', p));
86990
- } else {
86991
- var _window$ICESTARK2;
86992
- p.pathname = path.join(((_window$ICESTARK2 = window.ICESTARK) === null || _window$ICESTARK2 === void 0 ? void 0 : _window$ICESTARK2.basename) || '/', p.pathname);
86993
- oldPush(p);
86994
- }
86995
- };
86996
- setRealHistory(history);
86997
- }
86998
- }, []);
86999
- return realHistory;
87000
- };
87001
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useRealHistory);
87002
-
87003
- /***/ }),
87004
-
87005
86457
  /***/ 7758:
87006
86458
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
87007
86459
 
@@ -88965,14 +88417,13 @@ function useDangerPopConfirmAction(action, context) {
88965
88417
  /* harmony export */ });
88966
88418
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(59787);
88967
88419
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
88968
- /* harmony import */ var _utils_useRealHistory__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(93316);
88420
+ /* harmony import */ var _teamix_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(80653);
88969
88421
  /* harmony import */ var _alicloudfe_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(33049);
88970
88422
  /* harmony import */ var _alicloudfe_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_alicloudfe_components__WEBPACK_IMPORTED_MODULE_2__);
88971
88423
  /* harmony import */ var _form__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(89417);
88972
- /* harmony import */ var _teamix_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(80653);
88973
- /* harmony import */ var _request__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(67096);
88974
- /* harmony import */ var _dialog__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(28653);
88975
- /* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(95983);
88424
+ /* harmony import */ var _request__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(67096);
88425
+ /* harmony import */ var _dialog__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(28653);
88426
+ /* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(95983);
88976
88427
  var _excluded = ["schema"],
88977
88428
  _excluded2 = ["schema", "useFieldValuesForRequest", "initialValues", "initialRequest", "formProps", "size", "onFinish", "beforeRequest", "formRef", "extendParams"];
88978
88429
  function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == typeof value && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var method = delegate.iterator[context.method]; if (undefined === method) { if (context.delegate = null, "throw" === context.method) { if (delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) return ContinueSentinel; context.method = "throw", context.arg = new TypeError("The iterator does not provide a 'throw' method"); } return ContinueSentinel; } var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; }
@@ -89041,7 +88492,7 @@ var DialogForm = function DialogForm(props) {
89041
88492
  validateFirst = _props$validateFirst === void 0 ? true : _props$validateFirst;
89042
88493
  var form = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(function () {
89043
88494
  return (0,_form__WEBPACK_IMPORTED_MODULE_3__/* .createForm */ .Np)({
89044
- initialValues: (0,_teamix_utils__WEBPACK_IMPORTED_MODULE_4__.getTargetValue)(initialValues, context),
88495
+ initialValues: (0,_teamix_utils__WEBPACK_IMPORTED_MODULE_1__.getTargetValue)(initialValues, context),
89045
88496
  validateFirst: validateFirst
89046
88497
  });
89047
88498
  }, [validateFirst, initialValues, context]);
@@ -89051,12 +88502,12 @@ var DialogForm = function DialogForm(props) {
89051
88502
  formSchema = _useMemo.schema,
89052
88503
  others = _objectWithoutPropertiesLoose(_useMemo, _excluded);
89053
88504
  var otherFormProps = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(function () {
89054
- return (0,_utils__WEBPACK_IMPORTED_MODULE_7__/* .addContext */ .F)((0,_teamix_utils__WEBPACK_IMPORTED_MODULE_4__.getTargetValue)(others, context), context);
88505
+ return (0,_utils__WEBPACK_IMPORTED_MODULE_6__/* .addContext */ .F)((0,_teamix_utils__WEBPACK_IMPORTED_MODULE_1__.getTargetValue)(others, context), context);
89055
88506
  }, [context, JSON.stringify(others)]);
89056
88507
  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(false),
89057
88508
  loading = _useState[0],
89058
88509
  setLoading = _useState[1];
89059
- var history = (0,_utils_useRealHistory__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)();
88510
+ var history = (0,_teamix_utils__WEBPACK_IMPORTED_MODULE_1__.useRealHistory)();
89060
88511
  (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {
89061
88512
  if (formRef) {
89062
88513
  formRef.current = form;
@@ -89064,7 +88515,7 @@ var DialogForm = function DialogForm(props) {
89064
88515
  innerFormRef.current = form;
89065
88516
  if (initialRequest) {
89066
88517
  setLoading(true);
89067
- (0,_request__WEBPACK_IMPORTED_MODULE_5__/* .doRequest */ .NE)(initialRequest, context, history).then(function (res) {
88518
+ (0,_request__WEBPACK_IMPORTED_MODULE_4__/* .doRequest */ .NE)(initialRequest, context, history).then(function (res) {
89068
88519
  form.setValues(res);
89069
88520
  setLoading(false);
89070
88521
  })["catch"](function () {
@@ -89098,7 +88549,7 @@ function useDialogFormAction(action, context) {
89098
88549
  propsExtendParams = action.extendParams,
89099
88550
  others = _objectWithoutPropertiesLoose(action, _excluded2);
89100
88551
  var innerFormRef = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.createRef)();
89101
- return (0,_dialog__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(Object.assign({
88552
+ return (0,_dialog__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(Object.assign({
89102
88553
  size: size,
89103
88554
  closeable: true,
89104
88555
  content: function content(contentContext) {
@@ -89132,7 +88583,7 @@ function useDialogFormAction(action, context) {
89132
88583
  }
89133
88584
  _context.prev = 2;
89134
88585
  _context.next = 5;
89135
- return (0,_teamix_utils__WEBPACK_IMPORTED_MODULE_4__.resolveMaybePromiseMethod)(propsBeforeRequest, _extends({}, context, {
88586
+ return (0,_teamix_utils__WEBPACK_IMPORTED_MODULE_1__.resolveMaybePromiseMethod)(propsBeforeRequest, _extends({}, context, {
89136
88587
  fields: fields
89137
88588
  }));
89138
88589
  case 5:
@@ -89240,16 +88691,15 @@ function useDialogTableAction(action, context) {
89240
88691
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
89241
88692
  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(28266);
89242
88693
  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
89243
- /* harmony import */ var _utils_useRealHistory__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(93316);
88694
+ /* harmony import */ var _teamix_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(80653);
89244
88695
  /* harmony import */ var _alicloudfe_components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(33049);
89245
88696
  /* harmony import */ var _alicloudfe_components__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_alicloudfe_components__WEBPACK_IMPORTED_MODULE_3__);
89246
88697
  /* harmony import */ var _teamix_pop_confirm__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(82599);
89247
- /* harmony import */ var _teamix_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(80653);
89248
- /* harmony import */ var _form__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(89417);
89249
- /* harmony import */ var _utils_message__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(94891);
89250
- /* harmony import */ var _base__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(54842);
89251
- /* harmony import */ var _request__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(67096);
89252
- /* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(95983);
88698
+ /* harmony import */ var _form__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(89417);
88699
+ /* harmony import */ var _utils_message__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(94891);
88700
+ /* harmony import */ var _base__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(54842);
88701
+ /* harmony import */ var _request__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(67096);
88702
+ /* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(95983);
89253
88703
  var _excluded = ["trigger", "url", "customRequest", "method", "params", "data", "extendParams", "successMsg", "errorMsg", "formatParams", "formatResult", "onSuccess", "onError", "onOk", "onCancel", "hideFooter"],
89254
88704
  _excluded2 = ["title", "content", "component", "schema", "onFinish", "dialogType", "dialogQuickShowType", "messageType", "popType", "beforeRequest", "onTrigger", "link", "beforeContent", "afterContent", "message", "footerDescription", "footerAlign", "footer", "className"];
89255
88705
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
@@ -89281,12 +88731,12 @@ var FooterForm = function FooterForm(props) {
89281
88731
  context = props.context,
89282
88732
  formRef = props.formRef;
89283
88733
  var form = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(function () {
89284
- return (0,_form__WEBPACK_IMPORTED_MODULE_6__/* .createForm */ .Np)();
88734
+ return (0,_form__WEBPACK_IMPORTED_MODULE_5__/* .createForm */ .Np)();
89285
88735
  }, []);
89286
88736
  (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {
89287
88737
  formRef.current = form;
89288
88738
  }, []);
89289
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_form__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .ZP, {
88739
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_form__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .ZP, {
89290
88740
  layout: "inline",
89291
88741
  feedbackLayout: "none",
89292
88742
  form: form,
@@ -89305,7 +88755,7 @@ function useDialogAction(action, actionContext, hasForm) {
89305
88755
  loading = _useState[0],
89306
88756
  setLoading = _useState[1];
89307
88757
  var footerDescriptionRef = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)();
89308
- var history = (0,_utils_useRealHistory__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)();
88758
+ var history = (0,_teamix_utils__WEBPACK_IMPORTED_MODULE_2__.useRealHistory)();
89309
88759
  var onActionStart = function onActionStart(context, e) {
89310
88760
  var _extends2;
89311
88761
  var trigger = action.trigger,
@@ -89325,7 +88775,7 @@ function useDialogAction(action, actionContext, hasForm) {
89325
88775
  propsOnCancel = action.onCancel,
89326
88776
  hideFooter = action.hideFooter,
89327
88777
  others = _objectWithoutPropertiesLoose(action, _excluded);
89328
- var _getTargetValue = (0,_teamix_utils__WEBPACK_IMPORTED_MODULE_5__.getTargetValue)(others, context),
88778
+ var _getTargetValue = (0,_teamix_utils__WEBPACK_IMPORTED_MODULE_2__.getTargetValue)(others, context),
89329
88779
  title = _getTargetValue.title,
89330
88780
  content = _getTargetValue.content,
89331
88781
  Component = _getTargetValue.component,
@@ -89351,8 +88801,8 @@ function useDialogAction(action, actionContext, hasForm) {
89351
88801
  var isPop = dialogType === 'pop';
89352
88802
  var container = isDrawer ? _alicloudfe_components__WEBPACK_IMPORTED_MODULE_3__.Drawer : isPop ? _teamix_pop_confirm__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z : _alicloudfe_components__WEBPACK_IMPORTED_MODULE_3__.Dialog;
89353
88803
  var containerProps = isDrawer ? {
89354
- okText: (0,_teamix_utils__WEBPACK_IMPORTED_MODULE_5__.getMessage)('ok'),
89355
- cancelText: (0,_teamix_utils__WEBPACK_IMPORTED_MODULE_5__.getMessage)('cancel'),
88804
+ okText: (0,_teamix_utils__WEBPACK_IMPORTED_MODULE_2__.getMessage)('ok'),
88805
+ cancelText: (0,_teamix_utils__WEBPACK_IMPORTED_MODULE_2__.getMessage)('cancel'),
89356
88806
  closeable: !loading
89357
88807
  } : isPop ? {
89358
88808
  type: popType,
@@ -89394,7 +88844,7 @@ function useDialogAction(action, actionContext, hasForm) {
89394
88844
  footer: footerDescriptionValues
89395
88845
  }, context);
89396
88846
  _context.next = 6;
89397
- return (0,_request__WEBPACK_IMPORTED_MODULE_9__/* .doRequest */ .NE)(action, requestContext, history, footerDescriptionValues);
88847
+ return (0,_request__WEBPACK_IMPORTED_MODULE_8__/* .doRequest */ .NE)(action, requestContext, history, footerDescriptionValues);
89398
88848
  case 6:
89399
88849
  onFinish && onFinish();
89400
88850
  propsOnOk && propsOnOk(context);
@@ -89437,14 +88887,14 @@ function useDialogAction(action, actionContext, hasForm) {
89437
88887
  var dialogContext = Object.assign({}, context, {
89438
88888
  hide: hide
89439
88889
  });
89440
- var dialogContent = Component ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(Component, (0,_utils__WEBPACK_IMPORTED_MODULE_10__/* .addContext */ .F)(componentProps, dialogContext)) : addContextForReactNode(content, dialogContext);
88890
+ var dialogContent = Component ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(Component, (0,_utils__WEBPACK_IMPORTED_MODULE_9__/* .addContext */ .F)(componentProps, dialogContext)) : addContextForReactNode(content, dialogContext);
89441
88891
  var quickShowProps = _extends((_extends2 = {}, _extends2["" + (isPop ? 'onConfirm' : 'onOk')] = hideFooter && !isPop && isDrawer ? false : onOk, _extends2.onCancel = hideFooter && !isPop && isDrawer ? false : function () {
89442
88892
  propsOnCancel && propsOnCancel(context);
89443
88893
  }, _extends2.title = addContextForReactNode(title, dialogContext), _extends2.content = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null, beforeContent && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", {
89444
88894
  className: "teamix-pro-dialog-before-content"
89445
88895
  }, addContextForReactNode(beforeContent, dialogContext)), message && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", {
89446
88896
  className: "teamix-pro-dialog-message"
89447
- }, (0,_utils_message__WEBPACK_IMPORTED_MODULE_7__/* .renderProMessage */ .B)(message, {
88897
+ }, (0,_utils_message__WEBPACK_IMPORTED_MODULE_6__/* .renderProMessage */ .B)(message, {
89448
88898
  type: 'notice'
89449
88899
  })), dialogContent, afterContent && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", {
89450
88900
  className: "teamix-pro-dialog-after-content"
@@ -89460,7 +88910,7 @@ function useDialogAction(action, actionContext, hasForm) {
89460
88910
  var ret = container.show(quickShowProps);
89461
88911
  store.hide = ret ? ret.hide || ret.close : function () {};
89462
88912
  };
89463
- return _extends({}, (0,_base__WEBPACK_IMPORTED_MODULE_8__/* .eventHandler */ .$)(action, actionContext, onActionStart));
88913
+ return _extends({}, (0,_base__WEBPACK_IMPORTED_MODULE_7__/* .eventHandler */ .$)(action, actionContext, onActionStart));
89464
88914
  }
89465
88915
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useDialogAction);
89466
88916
 
@@ -90027,7 +89477,7 @@ function ProActionGroup(props) {
90027
89477
  var ProAction = function ProAction(props) {
90028
89478
  return renderCommonActionButton(props);
90029
89479
  };
90030
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ProAction);
89480
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().memo(ProAction));
90031
89481
 
90032
89482
 
90033
89483
  /**
@@ -90059,16 +89509,15 @@ var ActionMenuButton = ProActionMenuButton;
90059
89509
  /* harmony export */ "R": () => (/* binding */ useLinkAction)
90060
89510
  /* harmony export */ });
90061
89511
  /* harmony import */ var _teamix_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80653);
90062
- /* harmony import */ var _utils_useRealHistory__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(93316);
90063
- /* harmony import */ var _base__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(54842);
89512
+ /* harmony import */ var _base__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(54842);
90064
89513
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
90065
89514
 
90066
89515
  // import { useHistory } from 'react-router-dom';
90067
89516
 
90068
89517
 
90069
89518
  function useLinkAction(action, actionContext) {
90070
- var history = (0,_utils_useRealHistory__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)();
90071
- return _extends({}, (0,_base__WEBPACK_IMPORTED_MODULE_2__/* .eventHandler */ .$)(action, actionContext, function (context) {
89519
+ var history = (0,_teamix_utils__WEBPACK_IMPORTED_MODULE_0__.useRealHistory)();
89520
+ return _extends({}, (0,_base__WEBPACK_IMPORTED_MODULE_1__/* .eventHandler */ .$)(action, actionContext, function (context) {
90072
89521
  var linkAction = (0,_teamix_utils__WEBPACK_IMPORTED_MODULE_0__.getTargetValue)(action, context);
90073
89522
  (0,_teamix_utils__WEBPACK_IMPORTED_MODULE_0__.goToLink)(linkAction, history);
90074
89523
  }));
@@ -90169,9 +89618,8 @@ function createAction(props) {
90169
89618
  /* harmony export */ });
90170
89619
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(59787);
90171
89620
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
90172
- /* harmony import */ var _utils_useRealHistory__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(93316);
90173
- /* harmony import */ var _teamix_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(80653);
90174
- /* harmony import */ var _base__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(54842);
89621
+ /* harmony import */ var _teamix_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(80653);
89622
+ /* harmony import */ var _base__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(54842);
90175
89623
  var _excluded = ["method"],
90176
89624
  _excluded2 = ["onFinish"];
90177
89625
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
@@ -90186,7 +89634,7 @@ function doRequest(action, context, history, extraParams) {
90186
89634
  var _action$method = action.method,
90187
89635
  method = _action$method === void 0 ? 'post' : _action$method,
90188
89636
  others = _objectWithoutPropertiesLoose(action, _excluded);
90189
- return (0,_teamix_utils__WEBPACK_IMPORTED_MODULE_2__.doCommonRequest)(_extends({
89637
+ return (0,_teamix_utils__WEBPACK_IMPORTED_MODULE_1__.doCommonRequest)(_extends({
90190
89638
  method: method
90191
89639
  }, others), context, history, extraParams);
90192
89640
  }
@@ -90194,10 +89642,10 @@ function useRequestAction(action, actionContext) {
90194
89642
  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(false),
90195
89643
  loading = _useState[0],
90196
89644
  setLoading = _useState[1];
90197
- var history = (0,_utils_useRealHistory__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)();
89645
+ var history = (0,_teamix_utils__WEBPACK_IMPORTED_MODULE_1__.useRealHistory)();
90198
89646
  var onFinish = action.onFinish,
90199
89647
  others = _objectWithoutPropertiesLoose(action, _excluded2);
90200
- return _extends({}, (0,_base__WEBPACK_IMPORTED_MODULE_3__/* .eventHandler */ .$)(action, actionContext, function (context) {
89648
+ return _extends({}, (0,_base__WEBPACK_IMPORTED_MODULE_2__/* .eventHandler */ .$)(action, actionContext, function (context) {
90201
89649
  setLoading(true);
90202
89650
  doRequest(_extends({}, others), context, history).then(function () {
90203
89651
  setLoading(false);
@@ -90750,7 +90198,8 @@ function getColClassAndStyle(col) {
90750
90198
  /* harmony export */ "ZP": () => (__WEBPACK_DEFAULT_EXPORT__),
90751
90199
  /* harmony export */ "as": () => (/* reexport safe */ _teamix_pro_field__WEBPACK_IMPORTED_MODULE_0__.as),
90752
90200
  /* harmony export */ "h4": () => (/* reexport safe */ _teamix_pro_field__WEBPACK_IMPORTED_MODULE_0__.h4),
90753
- /* harmony export */ "mH": () => (/* reexport safe */ _teamix_pro_field__WEBPACK_IMPORTED_MODULE_0__.mH)
90201
+ /* harmony export */ "mH": () => (/* reexport safe */ _teamix_pro_field__WEBPACK_IMPORTED_MODULE_0__.mH),
90202
+ /* harmony export */ "z1": () => (/* reexport safe */ _teamix_pro_field__WEBPACK_IMPORTED_MODULE_0__.z1)
90754
90203
  /* harmony export */ });
90755
90204
  /* harmony import */ var _teamix_pro_field__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(35511);
90756
90205
 
@@ -91932,6 +91381,17 @@ var QueryFilter = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.memo)(funct
91932
91381
  };
91933
91382
  }();
91934
91383
  }
91384
+ // 自定义updateDataSource
91385
+ if (!formRef.current.updateDataSource) {
91386
+ formRef.current.updateDataSource = function (query, params) {
91387
+ [simpleForm, lightForm, advancedForm].forEach(function (f) {
91388
+ var $query = f.query(query).take();
91389
+ if ($query) {
91390
+ $query.data.refresh = params;
91391
+ }
91392
+ });
91393
+ };
91394
+ }
91935
91395
  }
91936
91396
  };
91937
91397
 
@@ -93069,18 +92529,17 @@ var useAutoLayout = function useAutoLayout(_ref, formRef) {
93069
92529
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
93070
92530
  /* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
93071
92531
  /* harmony export */ });
93072
- /* harmony import */ var _utils_useRealHistory__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(93316);
93073
- /* harmony import */ var _teamix_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(80653);
92532
+ /* harmony import */ var _teamix_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80653);
93074
92533
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
93075
92534
  // import { useHistory } from 'react-router-dom';
93076
92535
 
93077
92536
 
93078
92537
  var useAutoSubmit = function useAutoSubmit(onSubmit, context) {
93079
- if ((0,_teamix_utils__WEBPACK_IMPORTED_MODULE_1__.isObj)(onSubmit)) {
93080
- var history = (0,_utils_useRealHistory__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)();
92538
+ if ((0,_teamix_utils__WEBPACK_IMPORTED_MODULE_0__.isObj)(onSubmit)) {
92539
+ var history = (0,_teamix_utils__WEBPACK_IMPORTED_MODULE_0__.useRealHistory)();
93081
92540
  var submitConfig = onSubmit;
93082
92541
  return function (values) {
93083
- return (0,_teamix_utils__WEBPACK_IMPORTED_MODULE_1__.doCommonRequest)(_extends({
92542
+ return (0,_teamix_utils__WEBPACK_IMPORTED_MODULE_0__.doCommonRequest)(_extends({
93084
92543
  method: 'POST'
93085
92544
  }, submitConfig, {
93086
92545
  params: _extends({}, values, submitConfig.params || {})
@@ -95061,6 +94520,7 @@ __webpack_require__.r(__webpack_exports__);
95061
94520
  /* harmony export */ "DEFAULT_LANG": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_10__.Hj),
95062
94521
  /* harmony export */ "EditableContainer": () => (/* reexport safe */ _page_container__WEBPACK_IMPORTED_MODULE_6__.OP),
95063
94522
  /* harmony export */ "Ellipsis": () => (/* reexport safe */ _field__WEBPACK_IMPORTED_MODULE_2__.mH),
94523
+ /* harmony export */ "EmptyContent": () => (/* reexport safe */ _field__WEBPACK_IMPORTED_MODULE_2__.z1),
95064
94524
  /* harmony export */ "FormCollapse": () => (/* reexport safe */ _form__WEBPACK_IMPORTED_MODULE_3__.ox),
95065
94525
  /* harmony export */ "FormConsumer": () => (/* reexport safe */ _form__WEBPACK_IMPORTED_MODULE_3__.Yy),
95066
94526
  /* harmony export */ "FormDialog": () => (/* reexport safe */ _form__WEBPACK_IMPORTED_MODULE_3__.D_),
@@ -95252,6 +94712,7 @@ __webpack_require__.r(__webpack_exports__);
95252
94712
  /* harmony export */ "useForm": () => (/* reexport safe */ _form__WEBPACK_IMPORTED_MODULE_3__.cI),
95253
94713
  /* harmony export */ "usePageContainer": () => (/* reexport safe */ _page_container__WEBPACK_IMPORTED_MODULE_6__.Oy),
95254
94714
  /* harmony export */ "usePrefixCls": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_10__.F8),
94715
+ /* harmony export */ "useRealHistory": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_10__.iw),
95255
94716
  /* harmony export */ "useRequest": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_10__.QT),
95256
94717
  /* harmony export */ "utils": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_10__.ZP),
95257
94718
  /* harmony export */ "version": () => (/* binding */ version)
@@ -95310,7 +94771,18 @@ if (!((_window = window) != null && _window.TEAMIXPRO_WITHOUT_ICON)) {
95310
94771
 
95311
94772
 
95312
94773
 
95313
- var version = '1.5.9';
94774
+ var version = '1.5.10';
94775
+
94776
+ // By TeamixTest
94777
+ window.postMessage({
94778
+ source: 'teamix-test-devtools',
94779
+ url: window.location.href,
94780
+ event: 'getModuleInfo',
94781
+ moduleName: '@teamix/pro',
94782
+ moduleVersion: version,
94783
+ moduleType: 'TeamixPro',
94784
+ componentName: 'TeamixPro'
94785
+ }, '*');
95314
94786
 
95315
94787
 
95316
94788
  /***/ }),
@@ -98123,17 +97595,16 @@ var PlayGround = function PlayGround(props) {
98123
97595
  /* harmony export */ });
98124
97596
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(59787);
98125
97597
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
98126
- /* harmony import */ var _utils_useRealHistory__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(93316);
97598
+ /* harmony import */ var _teamix_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(80653);
98127
97599
  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(28266);
98128
97600
  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_2__);
98129
97601
  /* harmony import */ var _teamix_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(89227);
98130
97602
  /* harmony import */ var _alicloudfe_components__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(33049);
98131
97603
  /* harmony import */ var _alicloudfe_components__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_alicloudfe_components__WEBPACK_IMPORTED_MODULE_4__);
98132
- /* harmony import */ var _teamix_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(80653);
98133
- /* harmony import */ var _field__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(75241);
98134
- /* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(28758);
98135
- /* harmony import */ var _skeleton__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(53277);
98136
- /* harmony import */ var _info__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(27872);
97604
+ /* harmony import */ var _field__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(75241);
97605
+ /* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(28758);
97606
+ /* harmony import */ var _skeleton__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(53277);
97607
+ /* harmony import */ var _info__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(27872);
98137
97608
  var _excluded = ["text", "children"],
98138
97609
  _excluded2 = ["color", "title", "num", "className"],
98139
97610
  _excluded3 = ["title", "titleTooltip", "description", "icon", "iconColor", "iconBackgroundType", "iconBackgroundColor", "goback", "operation", "extra", "image", "loading", "breadcrumb", "tags", "data", "info", "children", "className", "style", "tabs"];
@@ -98151,7 +97622,7 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
98151
97622
 
98152
97623
 
98153
97624
 
98154
- var cls = (0,_teamix_utils__WEBPACK_IMPORTED_MODULE_5__.usePrefixCls)('teamix-pro-page-header');
97625
+ var cls = (0,_teamix_utils__WEBPACK_IMPORTED_MODULE_1__.usePrefixCls)('teamix-pro-page-header');
98155
97626
  var Tooltip = _alicloudfe_components__WEBPACK_IMPORTED_MODULE_4__.Balloon.Tooltip;
98156
97627
  var renderNav = function renderNav(breadcrumbs) {
98157
97628
  if (breadcrumbs && breadcrumbs.length) {
@@ -98180,7 +97651,7 @@ var renderActionGroup = function renderActionGroup(group, defaultProps, buttonTy
98180
97651
  type: buttonType
98181
97652
  }, item);
98182
97653
  });
98183
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_actions__WEBPACK_IMPORTED_MODULE_7__/* .ProActionGroup */ .d5, _extends({}, defaultProps, actionGroup, {
97654
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_actions__WEBPACK_IMPORTED_MODULE_6__/* .ProActionGroup */ .d5, _extends({}, defaultProps, actionGroup, {
98184
97655
  actions: actions
98185
97656
  }));
98186
97657
  }
@@ -98188,11 +97659,11 @@ var renderActionGroup = function renderActionGroup(group, defaultProps, buttonTy
98188
97659
  };
98189
97660
  var getColorAndStyle = function getColorAndStyle(color, backgroundColor, backgroundType) {
98190
97661
  var _classnames;
98191
- var isColorPresetColor = (0,_teamix_utils__WEBPACK_IMPORTED_MODULE_5__.isPresetColor)(color);
98192
- var isBgColorPresetColor = (0,_teamix_utils__WEBPACK_IMPORTED_MODULE_5__.isPresetColor)(backgroundColor);
98193
- var className = classnames__WEBPACK_IMPORTED_MODULE_2___default()((_classnames = {}, _classnames["" + (0,_teamix_utils__WEBPACK_IMPORTED_MODULE_5__.getColorClassName)(color)] = isColorPresetColor, _classnames["" + (0,_teamix_utils__WEBPACK_IMPORTED_MODULE_5__.getBackgroundColorClassName)(backgroundColor)] = isBgColorPresetColor, _classnames["" + cls("bg-type-" + backgroundType)] = !!backgroundType, _classnames));
98194
- var styleColor = isColorPresetColor ? (0,_teamix_utils__WEBPACK_IMPORTED_MODULE_5__.getColor)(color) : color;
98195
- var styleBgColor = isBgColorPresetColor ? (0,_teamix_utils__WEBPACK_IMPORTED_MODULE_5__.getColor)(backgroundColor) : backgroundColor;
97662
+ var isColorPresetColor = (0,_teamix_utils__WEBPACK_IMPORTED_MODULE_1__.isPresetColor)(color);
97663
+ var isBgColorPresetColor = (0,_teamix_utils__WEBPACK_IMPORTED_MODULE_1__.isPresetColor)(backgroundColor);
97664
+ var className = classnames__WEBPACK_IMPORTED_MODULE_2___default()((_classnames = {}, _classnames["" + (0,_teamix_utils__WEBPACK_IMPORTED_MODULE_1__.getColorClassName)(color)] = isColorPresetColor, _classnames["" + (0,_teamix_utils__WEBPACK_IMPORTED_MODULE_1__.getBackgroundColorClassName)(backgroundColor)] = isBgColorPresetColor, _classnames["" + cls("bg-type-" + backgroundType)] = !!backgroundType, _classnames));
97665
+ var styleColor = isColorPresetColor ? (0,_teamix_utils__WEBPACK_IMPORTED_MODULE_1__.getColor)(color) : color;
97666
+ var styleBgColor = isBgColorPresetColor ? (0,_teamix_utils__WEBPACK_IMPORTED_MODULE_1__.getColor)(backgroundColor) : backgroundColor;
98196
97667
  // debugger;
98197
97668
  // console.log('color', color);
98198
97669
  // console.log('backgroundColor', backgroundColor);
@@ -98232,7 +97703,7 @@ var renderData = function renderData(data) {
98232
97703
  };
98233
97704
  var renderInfo = function renderInfo(info) {
98234
97705
  if (info != null && info.columns) {
98235
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_info__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z, _extends({
97706
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_info__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z, _extends({
98236
97707
  type: "header"
98237
97708
  }, info));
98238
97709
  }
@@ -98240,7 +97711,7 @@ var renderInfo = function renderInfo(info) {
98240
97711
  };
98241
97712
  var renderTabs = function renderTabs(tabs) {
98242
97713
  if (tabs) {
98243
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_field__WEBPACK_IMPORTED_MODULE_6__/* .CapsuleTab */ .FC, tabs);
97714
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_field__WEBPACK_IMPORTED_MODULE_5__/* .CapsuleTab */ .FC, tabs);
98244
97715
  }
98245
97716
  return null;
98246
97717
  };
@@ -98267,7 +97738,7 @@ var ProPageHeader = function ProPageHeader(props) {
98267
97738
  style = props.style,
98268
97739
  tabs = props.tabs,
98269
97740
  others = _objectWithoutPropertiesLoose(props, _excluded3);
98270
- var history = (0,_utils_useRealHistory__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)();
97741
+ var history = (0,_teamix_utils__WEBPACK_IMPORTED_MODULE_1__.useRealHistory)();
98271
97742
  var backgroundImage = image ? "url('" + image + "')" : undefined;
98272
97743
  var showList = function showList(list) {
98273
97744
  var _list$actions;
@@ -98289,10 +97760,10 @@ var ProPageHeader = function ProPageHeader(props) {
98289
97760
  return;
98290
97761
  }
98291
97762
  if (goback === true) {
98292
- history.go(-1);
97763
+ history && history.go && history.go(-1);
98293
97764
  return;
98294
97765
  }
98295
- (0,_teamix_utils__WEBPACK_IMPORTED_MODULE_5__.goToLink)(goback, history);
97766
+ (0,_teamix_utils__WEBPACK_IMPORTED_MODULE_1__.goToLink)(goback, history);
98296
97767
  };
98297
97768
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null, goback && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_teamix_icon__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z, {
98298
97769
  className: cls('goback'),
@@ -98314,7 +97785,7 @@ var ProPageHeader = function ProPageHeader(props) {
98314
97785
  size: "xs"
98315
97786
  })),
98316
97787
  align: "t"
98317
- }, titleTooltip)), (0,_field__WEBPACK_IMPORTED_MODULE_6__/* .renderTags */ .as)(tags, 'large'), renderTabs(tabs != null ? tabs : {}));
97788
+ }, titleTooltip)), (0,_field__WEBPACK_IMPORTED_MODULE_5__/* .renderTags */ .as)(tags, 'large'), renderTabs(tabs != null ? tabs : {}));
98318
97789
  };
98319
97790
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("header", _extends({
98320
97791
  className: classnames__WEBPACK_IMPORTED_MODULE_2___default()(cls(), className),
@@ -98325,7 +97796,7 @@ var ProPageHeader = function ProPageHeader(props) {
98325
97796
  className: cls('section')
98326
97797
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("nav", {
98327
97798
  className: cls('nav')
98328
- }, loading && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_skeleton__WEBPACK_IMPORTED_MODULE_8__/* .ProSkeletonRaw.Header.Nav */ .vR.Header.Nav, null), !loading && renderNav(breadcrumb)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("section", {
97799
+ }, loading && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_skeleton__WEBPACK_IMPORTED_MODULE_7__/* .ProSkeletonRaw.Header.Nav */ .vR.Header.Nav, null), !loading && renderNav(breadcrumb)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("section", {
98329
97800
  className: cls('extra')
98330
97801
  }, !loading && renderActionGroup(extra, {
98331
97802
  type: 'text',
@@ -98338,9 +97809,9 @@ var ProPageHeader = function ProPageHeader(props) {
98338
97809
  className: cls('left')
98339
97810
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("section", {
98340
97811
  className: cls('title')
98341
- }, loading && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_skeleton__WEBPACK_IMPORTED_MODULE_8__/* .ProSkeletonRaw.Header.Title */ .vR.Header.Title, null), !loading && renderTitle()), description !== undefined && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("section", {
97812
+ }, loading && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_skeleton__WEBPACK_IMPORTED_MODULE_7__/* .ProSkeletonRaw.Header.Title */ .vR.Header.Title, null), !loading && renderTitle()), description !== undefined && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("section", {
98342
97813
  className: cls('description')
98343
- }, loading && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_skeleton__WEBPACK_IMPORTED_MODULE_8__/* .ProSkeletonRaw.Header.Description */ .vR.Header.Description, null), !loading && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null, description))), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("section", {
97814
+ }, loading && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_skeleton__WEBPACK_IMPORTED_MODULE_7__/* .ProSkeletonRaw.Header.Description */ .vR.Header.Description, null), !loading && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null, description))), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("section", {
98344
97815
  className: cls('right')
98345
97816
  }, data && !loading && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("section", {
98346
97817
  className: cls('data')
@@ -98348,9 +97819,9 @@ var ProPageHeader = function ProPageHeader(props) {
98348
97819
  className: cls('operation')
98349
97820
  }, !loading && renderActionGroup(operation)))), info && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("section", {
98350
97821
  className: classnames__WEBPACK_IMPORTED_MODULE_2___default()(cls('section'), cls('info'))
98351
- }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null, !loading && renderInfo(info), loading && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_skeleton__WEBPACK_IMPORTED_MODULE_8__/* .ProSkeletonRaw.Info.Header */ .vR.Info.Header, null))), children);
97822
+ }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null, !loading && renderInfo(info), loading && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_skeleton__WEBPACK_IMPORTED_MODULE_7__/* .ProSkeletonRaw.Info.Header */ .vR.Info.Header, null))), children);
98352
97823
  };
98353
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ProPageHeader);
97824
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().memo(ProPageHeader));
98354
97825
 
98355
97826
  /**
98356
97827
  * @deprecated 建议使用 ProPageHeaderBreadcrumbItem 代替
@@ -99470,7 +98941,7 @@ var ProSidebar = function ProSidebar(props) {
99470
98941
  onDataSourceChange: onDataSourceChange
99471
98942
  }, treeProps))));
99472
98943
  };
99473
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ProSidebar);
98944
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().memo(ProSidebar));
99474
98945
 
99475
98946
 
99476
98947
  /***/ }),
@@ -99784,9 +99255,12 @@ function getTreeNodeProps(item) {
99784
99255
  /* harmony export */ "vR": () => (/* reexport safe */ _teamix_pro_skeleton__WEBPACK_IMPORTED_MODULE_0__.vR)
99785
99256
  /* harmony export */ });
99786
99257
  /* harmony import */ var _teamix_pro_skeleton__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(59918);
99258
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(59787);
99259
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
99787
99260
 
99788
99261
 
99789
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_teamix_pro_skeleton__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP);
99262
+
99263
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().memo(_teamix_pro_skeleton__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP));
99790
99264
 
99791
99265
  /***/ }),
99792
99266
 
@@ -100207,31 +99681,6 @@ var CardView = function CardView(props) {
100207
99681
 
100208
99682
  /***/ }),
100209
99683
 
100210
- /***/ 98300:
100211
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
100212
-
100213
- "use strict";
100214
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
100215
- /* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
100216
- /* harmony export */ });
100217
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(59787);
100218
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
100219
- /* harmony import */ var _teamix_result__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(77226);
100220
- /* harmony import */ var _teamix_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(80653);
100221
- /** ProTable 空状态 */
100222
-
100223
-
100224
-
100225
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (function () {
100226
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_teamix_result__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z, {
100227
- theme: "hybridcloud-container",
100228
- img: "noData",
100229
- title: (0,_teamix_utils__WEBPACK_IMPORTED_MODULE_2__.getMessage)('noData')
100230
- });
100231
- });
100232
-
100233
- /***/ }),
100234
-
100235
99684
  /***/ 34166:
100236
99685
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
100237
99686
 
@@ -102031,7 +101480,7 @@ var ToolBar = function ToolBar(props) {
102031
101480
  /* harmony import */ var _utils_getTableSortIcons__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(98806);
102032
101481
  /* harmony import */ var _utils_useTableSelection__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(23779);
102033
101482
  /* harmony import */ var _components_ToolBar_Fullscreen__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(21630);
102034
- /* harmony import */ var _components_EmptyContent__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(98300);
101483
+ /* harmony import */ var _teamix_pro_field__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(35511);
102035
101484
  /* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(28758);
102036
101485
  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(28266);
102037
101486
  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_13__);
@@ -102041,7 +101490,7 @@ var ToolBar = function ToolBar(props) {
102041
101490
  /* harmony import */ var _components_CardView__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(9285);
102042
101491
  /* harmony import */ var lodash_clonedeep__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(52308);
102043
101492
  /* harmony import */ var lodash_clonedeep__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(lodash_clonedeep__WEBPACK_IMPORTED_MODULE_17__);
102044
- var _excluded = ["header", "className", "tableClassName", "mainAction", "extra", "dataFilter", "afterDataFilter", "toolBar", "columns", "useRowSelection", "rowSelection", "onChangeRowSelection", "getRowSelection", "primaryKey", "footerAction", "footer", "url", "pageKey", "pageSizeKey", "method", "params", "formatSort", "formatParams", "formatResult", "requestConfig", "requestWhenMount", "showPagination", "pageSizeList", "responsivePaginationType", "showSkeleton", "skeletonSize", "actionRef", "dataSource", "filterDebounce", "footerSuction", "autoRefresh", "customRequest", "filterColumnType", "defaultFilterParams", "reserveSelectedRecords", "size", "disableSelectAll", "context", "fixedTableBody", "isTree", "toolBarAutoWidth", "data-teamix-spm", "switchCardView", "cardViewProps", "defaultView"],
101493
+ var _excluded = ["header", "className", "tableClassName", "mainAction", "extra", "dataFilter", "afterDataFilter", "toolBar", "columns", "useRowSelection", "rowSelection", "onChangeRowSelection", "getRowSelection", "primaryKey", "footerAction", "footer", "url", "pageKey", "pageSizeKey", "method", "params", "formatSort", "formatParams", "formatResult", "requestConfig", "requestWhenMount", "showPagination", "pageSizeList", "responsivePaginationType", "showSkeleton", "skeletonSize", "actionRef", "dataSource", "filterDebounce", "footerSuction", "autoRefresh", "customRequest", "filterColumnType", "defaultFilterParams", "reserveSelectedRecords", "size", "disableSelectAll", "context", "fixedTableBody", "isTree", "toolBarAutoWidth", "data-teamix-spm", "switchCardView", "cardViewProps", "defaultView", "emptyProps"],
102045
101494
  _excluded2 = ["onChange"];
102046
101495
  function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
102047
101496
  function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
@@ -102194,6 +101643,7 @@ var ProTable = function ProTable(props) {
102194
101643
  cardViewProps = props.cardViewProps,
102195
101644
  _props$defaultView = props.defaultView,
102196
101645
  defaultView = _props$defaultView === void 0 ? 'table' : _props$defaultView,
101646
+ emptyProps = props.emptyProps,
102197
101647
  otherProps = _objectWithoutPropertiesLoose(props, _excluded);
102198
101648
  var targetPageKey = pageKey || globalPageKey;
102199
101649
  var targetPageSizeKey = pageSizeKey || globalPageSizeKey;
@@ -102930,7 +102380,7 @@ var ProTable = function ProTable(props) {
102930
102380
  sort: sort,
102931
102381
  primaryKey: primaryKey,
102932
102382
  rowSelection: rowSelection,
102933
- emptyContent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_components_EmptyContent__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z, null),
102383
+ emptyContent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_teamix_pro_field__WEBPACK_IMPORTED_MODULE_11__/* .EmptyContent */ .z1, emptyProps),
102934
102384
  sortIcons: (0,_utils_getTableSortIcons__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(),
102935
102385
  fixedHeader: fullscreenState || fixedTableBody,
102936
102386
  maxBodyHeight: "calc(100vh - " + headerHeight + "px)"
@@ -103108,7 +102558,7 @@ var ProTable = function ProTable(props) {
103108
102558
  }, renderTable(isFullScreen), fixFooterState && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_page_container__WEBPACK_IMPORTED_MODULE_14__/* ["default"].FixedFooter */ .ZP.FixedFooter, null, renderFooter()), !fixFooterState && renderFooter());
103109
102559
  });
103110
102560
  };
103111
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ProTable);
102561
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().memo(ProTable));
103112
102562
 
103113
102563
  /***/ }),
103114
102564
 
@@ -104464,6 +103914,7 @@ ProTimeline.Item = _ProTimeLineItem__WEBPACK_IMPORTED_MODULE_2__/* ["default"] *
104464
103914
  /* harmony export */ "hn": () => (/* reexport safe */ _teamix_utils__WEBPACK_IMPORTED_MODULE_0__.setGlobalColor),
104465
103915
  /* harmony export */ "iF": () => (/* reexport safe */ _teamix_utils__WEBPACK_IMPORTED_MODULE_0__.goToLink),
104466
103916
  /* harmony export */ "i_": () => (/* reexport safe */ _teamix_utils__WEBPACK_IMPORTED_MODULE_0__.setLocale),
103917
+ /* harmony export */ "iw": () => (/* reexport safe */ _teamix_utils__WEBPACK_IMPORTED_MODULE_0__.useRealHistory),
104467
103918
  /* harmony export */ "jM": () => (/* reexport safe */ _teamix_utils__WEBPACK_IMPORTED_MODULE_0__.getBackgroundColorClassName),
104468
103919
  /* harmony export */ "jQ": () => (/* reexport safe */ _teamix_utils__WEBPACK_IMPORTED_MODULE_0__.TERRITORY),
104469
103920
  /* harmony export */ "jq": () => (/* reexport safe */ _teamix_utils__WEBPACK_IMPORTED_MODULE_0__.REGION_ID),
@@ -104536,53 +103987,6 @@ var renderProMessage = function renderProMessage(message, defaultProps) {
104536
103987
 
104537
103988
  /***/ }),
104538
103989
 
104539
- /***/ 93316:
104540
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
104541
-
104542
- "use strict";
104543
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
104544
- /* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
104545
- /* harmony export */ });
104546
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(59787);
104547
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
104548
- /* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(18944);
104549
- /* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_router_dom__WEBPACK_IMPORTED_MODULE_1__);
104550
- // 兼容 react-router-dom v5&v6,拿到真正的 history
104551
-
104552
- // import path from 'path';
104553
-
104554
- var path = __webpack_require__(18041);
104555
- var useRealHistory = function useRealHistory() {
104556
- var history;
104557
- if (react_router_dom__WEBPACK_IMPORTED_MODULE_1__.useHistory) {
104558
- history = (0,react_router_dom__WEBPACK_IMPORTED_MODULE_1__.useHistory)();
104559
- }
104560
- var _useState = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(history),
104561
- realHistory = _useState[0],
104562
- setRealHistory = _useState[1];
104563
- (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {
104564
- if (window.HistoryLibrary) {
104565
- history = window.HistoryLibrary.createBrowserHistory();
104566
- var oldPush = history.push;
104567
- history.push = function (p) {
104568
- if (typeof p === 'string') {
104569
- var _window$ICESTARK;
104570
- oldPush(path.join(((_window$ICESTARK = window.ICESTARK) == null ? void 0 : _window$ICESTARK.basename) || '/', p));
104571
- } else {
104572
- var _window$ICESTARK2;
104573
- p.pathname = path.join(((_window$ICESTARK2 = window.ICESTARK) == null ? void 0 : _window$ICESTARK2.basename) || '/', p.pathname);
104574
- oldPush(p);
104575
- }
104576
- };
104577
- setRealHistory(history);
104578
- }
104579
- }, []);
104580
- return realHistory;
104581
- };
104582
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useRealHistory);
104583
-
104584
- /***/ }),
104585
-
104586
103990
  /***/ 7666:
104587
103991
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
104588
103992
 
@@ -104932,6 +104336,7 @@ function getFoldDateFormat(date, type) {
104932
104336
  /* harmony export */ "hF": () => (/* reexport safe */ _intelligent__WEBPACK_IMPORTED_MODULE_1__.h),
104933
104337
  /* harmony export */ "hS": () => (/* reexport safe */ _lib__WEBPACK_IMPORTED_MODULE_2__.hS),
104934
104338
  /* harmony export */ "iF": () => (/* reexport safe */ _path__WEBPACK_IMPORTED_MODULE_4__.iF),
104339
+ /* harmony export */ "iw": () => (/* reexport safe */ _useRealHistory__WEBPACK_IMPORTED_MODULE_9__.i),
104935
104340
  /* harmony export */ "mh": () => (/* reexport safe */ _date__WEBPACK_IMPORTED_MODULE_0__.mh),
104936
104341
  /* harmony export */ "oL": () => (/* reexport safe */ _type__WEBPACK_IMPORTED_MODULE_7__.oL),
104937
104342
  /* harmony export */ "pd": () => (/* reexport safe */ _date__WEBPACK_IMPORTED_MODULE_0__.pd),
@@ -104957,6 +104362,8 @@ function getFoldDateFormat(date, type) {
104957
104362
  /* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(2944);
104958
104363
  /* harmony import */ var _type__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(64015);
104959
104364
  /* harmony import */ var _validator__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(58726);
104365
+ /* harmony import */ var _useRealHistory__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(20109);
104366
+
104960
104367
 
104961
104368
 
104962
104369
 
@@ -105779,7 +105186,7 @@ function goToLink(link, history) {
105779
105186
  }
105780
105187
  var globalHistory = getHistory();
105781
105188
  var historyPushMethod = (globalHistory == null ? void 0 : globalHistory.push) || (history == null ? void 0 : history.push);
105782
- if (typeof historyPushMethod !== 'function' || /^https?:\/\//.test(href)) {
105189
+ if (typeof historyPushMethod !== 'function' || /^(https?:)?\/\//.test(href)) {
105783
105190
  location.href = href;
105784
105191
  return;
105785
105192
  }
@@ -106187,6 +105594,27 @@ var isUsable = function isUsable(val) {
106187
105594
 
106188
105595
 
106189
105596
 
105597
+ /***/ }),
105598
+
105599
+ /***/ 20109:
105600
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
105601
+
105602
+ "use strict";
105603
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
105604
+ /* harmony export */ "i": () => (/* binding */ useRealHistory)
105605
+ /* harmony export */ });
105606
+ /* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(18944);
105607
+ /* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_router_dom__WEBPACK_IMPORTED_MODULE_0__);
105608
+ // 兼容 react-router-dom v5&v6,拿到真正的 history
105609
+
105610
+ var useRealHistory = function useRealHistory() {
105611
+ var history;
105612
+ if (react_router_dom__WEBPACK_IMPORTED_MODULE_0__.useHistory) {
105613
+ history = (0,react_router_dom__WEBPACK_IMPORTED_MODULE_0__.useHistory)();
105614
+ }
105615
+ return history;
105616
+ };
105617
+
106190
105618
  /***/ }),
106191
105619
 
106192
105620
  /***/ 58726:
@@ -106616,7 +106044,11 @@ function getGlobalConfig(key) {
106616
106044
  cloudProductSelected: '{count} cloud products have been selected',
106617
106045
  "public": 'Public',
106618
106046
  "private": 'Private',
106619
- elastic: 'Elastic'
106047
+ elastic: 'Elastic',
106048
+ p1Emergency: 'P1 Emergency',
106049
+ p2Important: 'P2 Important',
106050
+ p3Secondary: 'P3 Secondary',
106051
+ p4Reminder: 'P4 Reminder'
106620
106052
  });
106621
106053
 
106622
106054
  /***/ }),
@@ -106742,7 +106174,11 @@ var getMessage = function getMessage(id, data) {
106742
106174
  cloudProductSelected: '已选择{count}个云产品',
106743
106175
  "public": '公',
106744
106176
  "private": '私',
106745
- elastic: '弹'
106177
+ elastic: '弹',
106178
+ p1Emergency: 'P1 紧急',
106179
+ p2Important: 'P2 重要',
106180
+ p3Secondary: 'P3 次要',
106181
+ p4Reminder: 'P4 提醒'
106746
106182
  });
106747
106183
 
106748
106184
  /***/ }),
@@ -106824,7 +106260,11 @@ var getMessage = function getMessage(id, data) {
106824
106260
  cloudProductSelected: '已選擇{count}個雲產品',
106825
106261
  "public": '公',
106826
106262
  "private": '私',
106827
- elastic: '弹'
106263
+ elastic: '弹',
106264
+ p1Emergency: 'P1 緊急',
106265
+ p2Important: 'P2 重要',
106266
+ p3Secondary: 'P3 次要',
106267
+ p4Reminder: 'P4 提醒'
106828
106268
  });
106829
106269
 
106830
106270
  /***/ }),
@@ -108604,6 +108044,7 @@ __webpack_require__.r(__webpack_exports__);
108604
108044
  /* harmony export */ "transformLocal": () => (/* reexport safe */ _console__WEBPACK_IMPORTED_MODULE_2__._t),
108605
108045
  /* harmony export */ "updateGlobalConfig": () => (/* reexport safe */ _biz__WEBPACK_IMPORTED_MODULE_1__.Hl),
108606
108046
  /* harmony export */ "usePrefixCls": () => (/* reexport safe */ _console__WEBPACK_IMPORTED_MODULE_2__.F8),
108047
+ /* harmony export */ "useRealHistory": () => (/* reexport safe */ _base__WEBPACK_IMPORTED_MODULE_0__.iw),
108607
108048
  /* harmony export */ "useRequest": () => (/* reexport safe */ _base__WEBPACK_IMPORTED_MODULE_0__.QT)
108608
108049
  /* harmony export */ });
108609
108050
  /* harmony import */ var _base__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(68029);