@teamix/pro 1.5.37 → 1.5.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/pro.js CHANGED
@@ -69941,7 +69941,7 @@ module.exports = shouldUseNative() ? Object.assign : function (target, source) {
69941
69941
  /* harmony export */ "Ho": () => (/* binding */ pascalCase)
69942
69942
  /* harmony export */ });
69943
69943
  /* unused harmony exports pascalCaseTransform, pascalCaseTransformMerge */
69944
- /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(97582);
69944
+ /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(10649);
69945
69945
  /* harmony import */ var no_case__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(62901);
69946
69946
 
69947
69947
 
@@ -73371,6 +73371,427 @@ module.exports = function () {
73371
73371
 
73372
73372
  /***/ }),
73373
73373
 
73374
+ /***/ 10649:
73375
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
73376
+
73377
+ "use strict";
73378
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
73379
+ /* harmony export */ "pi": () => (/* binding */ _assign)
73380
+ /* harmony export */ });
73381
+ /* unused harmony exports __extends, __rest, __decorate, __param, __metadata, __awaiter, __generator, __createBinding, __exportStar, __values, __read, __spread, __spreadArrays, __spreadArray, __await, __asyncGenerator, __asyncDelegator, __asyncValues, __makeTemplateObject, __importStar, __importDefault, __classPrivateFieldGet, __classPrivateFieldSet, __classPrivateFieldIn */
73382
+ 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); }
73383
+ /******************************************************************************
73384
+ Copyright (c) Microsoft Corporation.
73385
+
73386
+ Permission to use, copy, modify, and/or distribute this software for any
73387
+ purpose with or without fee is hereby granted.
73388
+
73389
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
73390
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
73391
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
73392
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
73393
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
73394
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
73395
+ PERFORMANCE OF THIS SOFTWARE.
73396
+ ***************************************************************************** */
73397
+ /* global Reflect, Promise */
73398
+
73399
+ var _extendStatics = function extendStatics(d, b) {
73400
+ _extendStatics = Object.setPrototypeOf || {
73401
+ __proto__: []
73402
+ } instanceof Array && function (d, b) {
73403
+ d.__proto__ = b;
73404
+ } || function (d, b) {
73405
+ for (var p in b) {
73406
+ if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
73407
+ }
73408
+ };
73409
+ return _extendStatics(d, b);
73410
+ };
73411
+ function __extends(d, b) {
73412
+ if (typeof b !== "function" && b !== null) throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
73413
+ _extendStatics(d, b);
73414
+ function __() {
73415
+ this.constructor = d;
73416
+ }
73417
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
73418
+ }
73419
+ var _assign = function __assign() {
73420
+ _assign = Object.assign || function __assign(t) {
73421
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
73422
+ s = arguments[i];
73423
+ for (var p in s) {
73424
+ if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
73425
+ }
73426
+ }
73427
+ return t;
73428
+ };
73429
+ return _assign.apply(this, arguments);
73430
+ };
73431
+
73432
+ function __rest(s, e) {
73433
+ var t = {};
73434
+ for (var p in s) {
73435
+ if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
73436
+ }
73437
+ if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
73438
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
73439
+ }
73440
+ return t;
73441
+ }
73442
+ function __decorate(decorators, target, key, desc) {
73443
+ var c = arguments.length,
73444
+ r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
73445
+ d;
73446
+ if ((typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) {
73447
+ if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
73448
+ }
73449
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
73450
+ }
73451
+ function __param(paramIndex, decorator) {
73452
+ return function (target, key) {
73453
+ decorator(target, key, paramIndex);
73454
+ };
73455
+ }
73456
+ function __metadata(metadataKey, metadataValue) {
73457
+ if ((typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
73458
+ }
73459
+ function __awaiter(thisArg, _arguments, P, generator) {
73460
+ function adopt(value) {
73461
+ return value instanceof P ? value : new P(function (resolve) {
73462
+ resolve(value);
73463
+ });
73464
+ }
73465
+ return new (P || (P = Promise))(function (resolve, reject) {
73466
+ function fulfilled(value) {
73467
+ try {
73468
+ step(generator.next(value));
73469
+ } catch (e) {
73470
+ reject(e);
73471
+ }
73472
+ }
73473
+ function rejected(value) {
73474
+ try {
73475
+ step(generator["throw"](value));
73476
+ } catch (e) {
73477
+ reject(e);
73478
+ }
73479
+ }
73480
+ function step(result) {
73481
+ result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
73482
+ }
73483
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
73484
+ });
73485
+ }
73486
+ function __generator(thisArg, body) {
73487
+ var _ = {
73488
+ label: 0,
73489
+ sent: function sent() {
73490
+ if (t[0] & 1) throw t[1];
73491
+ return t[1];
73492
+ },
73493
+ trys: [],
73494
+ ops: []
73495
+ },
73496
+ f,
73497
+ y,
73498
+ t,
73499
+ g;
73500
+ return g = {
73501
+ next: verb(0),
73502
+ "throw": verb(1),
73503
+ "return": verb(2)
73504
+ }, typeof Symbol === "function" && (g[Symbol.iterator] = function () {
73505
+ return this;
73506
+ }), g;
73507
+ function verb(n) {
73508
+ return function (v) {
73509
+ return step([n, v]);
73510
+ };
73511
+ }
73512
+ function step(op) {
73513
+ if (f) throw new TypeError("Generator is already executing.");
73514
+ while (g && (g = 0, op[0] && (_ = 0)), _) {
73515
+ try {
73516
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
73517
+ if (y = 0, t) op = [op[0] & 2, t.value];
73518
+ switch (op[0]) {
73519
+ case 0:
73520
+ case 1:
73521
+ t = op;
73522
+ break;
73523
+ case 4:
73524
+ _.label++;
73525
+ return {
73526
+ value: op[1],
73527
+ done: false
73528
+ };
73529
+ case 5:
73530
+ _.label++;
73531
+ y = op[1];
73532
+ op = [0];
73533
+ continue;
73534
+ case 7:
73535
+ op = _.ops.pop();
73536
+ _.trys.pop();
73537
+ continue;
73538
+ default:
73539
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
73540
+ _ = 0;
73541
+ continue;
73542
+ }
73543
+ if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
73544
+ _.label = op[1];
73545
+ break;
73546
+ }
73547
+ if (op[0] === 6 && _.label < t[1]) {
73548
+ _.label = t[1];
73549
+ t = op;
73550
+ break;
73551
+ }
73552
+ if (t && _.label < t[2]) {
73553
+ _.label = t[2];
73554
+ _.ops.push(op);
73555
+ break;
73556
+ }
73557
+ if (t[2]) _.ops.pop();
73558
+ _.trys.pop();
73559
+ continue;
73560
+ }
73561
+ op = body.call(thisArg, _);
73562
+ } catch (e) {
73563
+ op = [6, e];
73564
+ y = 0;
73565
+ } finally {
73566
+ f = t = 0;
73567
+ }
73568
+ }
73569
+ if (op[0] & 5) throw op[1];
73570
+ return {
73571
+ value: op[0] ? op[1] : void 0,
73572
+ done: true
73573
+ };
73574
+ }
73575
+ }
73576
+ var __createBinding = Object.create ? function (o, m, k, k2) {
73577
+ if (k2 === undefined) k2 = k;
73578
+ var desc = Object.getOwnPropertyDescriptor(m, k);
73579
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
73580
+ desc = {
73581
+ enumerable: true,
73582
+ get: function get() {
73583
+ return m[k];
73584
+ }
73585
+ };
73586
+ }
73587
+ Object.defineProperty(o, k2, desc);
73588
+ } : function (o, m, k, k2) {
73589
+ if (k2 === undefined) k2 = k;
73590
+ o[k2] = m[k];
73591
+ };
73592
+ function __exportStar(m, o) {
73593
+ for (var p in m) {
73594
+ if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);
73595
+ }
73596
+ }
73597
+ function __values(o) {
73598
+ var s = typeof Symbol === "function" && Symbol.iterator,
73599
+ m = s && o[s],
73600
+ i = 0;
73601
+ if (m) return m.call(o);
73602
+ if (o && typeof o.length === "number") return {
73603
+ next: function next() {
73604
+ if (o && i >= o.length) o = void 0;
73605
+ return {
73606
+ value: o && o[i++],
73607
+ done: !o
73608
+ };
73609
+ }
73610
+ };
73611
+ throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
73612
+ }
73613
+ function __read(o, n) {
73614
+ var m = typeof Symbol === "function" && o[Symbol.iterator];
73615
+ if (!m) return o;
73616
+ var i = m.call(o),
73617
+ r,
73618
+ ar = [],
73619
+ e;
73620
+ try {
73621
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done) {
73622
+ ar.push(r.value);
73623
+ }
73624
+ } catch (error) {
73625
+ e = {
73626
+ error: error
73627
+ };
73628
+ } finally {
73629
+ try {
73630
+ if (r && !r.done && (m = i["return"])) m.call(i);
73631
+ } finally {
73632
+ if (e) throw e.error;
73633
+ }
73634
+ }
73635
+ return ar;
73636
+ }
73637
+
73638
+ /** @deprecated */
73639
+ function __spread() {
73640
+ for (var ar = [], i = 0; i < arguments.length; i++) {
73641
+ ar = ar.concat(__read(arguments[i]));
73642
+ }
73643
+ return ar;
73644
+ }
73645
+
73646
+ /** @deprecated */
73647
+ function __spreadArrays() {
73648
+ for (var s = 0, i = 0, il = arguments.length; i < il; i++) {
73649
+ s += arguments[i].length;
73650
+ }
73651
+ for (var r = Array(s), k = 0, i = 0; i < il; i++) {
73652
+ for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) {
73653
+ r[k] = a[j];
73654
+ }
73655
+ }
73656
+ return r;
73657
+ }
73658
+ function __spreadArray(to, from, pack) {
73659
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
73660
+ if (ar || !(i in from)) {
73661
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
73662
+ ar[i] = from[i];
73663
+ }
73664
+ }
73665
+ return to.concat(ar || Array.prototype.slice.call(from));
73666
+ }
73667
+ function __await(v) {
73668
+ return this instanceof __await ? (this.v = v, this) : new __await(v);
73669
+ }
73670
+ function __asyncGenerator(thisArg, _arguments, generator) {
73671
+ if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
73672
+ var g = generator.apply(thisArg, _arguments || []),
73673
+ i,
73674
+ q = [];
73675
+ return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () {
73676
+ return this;
73677
+ }, i;
73678
+ function verb(n) {
73679
+ if (g[n]) i[n] = function (v) {
73680
+ return new Promise(function (a, b) {
73681
+ q.push([n, v, a, b]) > 1 || resume(n, v);
73682
+ });
73683
+ };
73684
+ }
73685
+ function resume(n, v) {
73686
+ try {
73687
+ step(g[n](v));
73688
+ } catch (e) {
73689
+ settle(q[0][3], e);
73690
+ }
73691
+ }
73692
+ function step(r) {
73693
+ r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r);
73694
+ }
73695
+ function fulfill(value) {
73696
+ resume("next", value);
73697
+ }
73698
+ function reject(value) {
73699
+ resume("throw", value);
73700
+ }
73701
+ function settle(f, v) {
73702
+ if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]);
73703
+ }
73704
+ }
73705
+ function __asyncDelegator(o) {
73706
+ var i, p;
73707
+ return i = {}, verb("next"), verb("throw", function (e) {
73708
+ throw e;
73709
+ }), verb("return"), i[Symbol.iterator] = function () {
73710
+ return this;
73711
+ }, i;
73712
+ function verb(n, f) {
73713
+ i[n] = o[n] ? function (v) {
73714
+ return (p = !p) ? {
73715
+ value: __await(o[n](v)),
73716
+ done: n === "return"
73717
+ } : f ? f(v) : v;
73718
+ } : f;
73719
+ }
73720
+ }
73721
+ function __asyncValues(o) {
73722
+ if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
73723
+ var m = o[Symbol.asyncIterator],
73724
+ i;
73725
+ return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () {
73726
+ return this;
73727
+ }, i);
73728
+ function verb(n) {
73729
+ i[n] = o[n] && function (v) {
73730
+ return new Promise(function (resolve, reject) {
73731
+ v = o[n](v), settle(resolve, reject, v.done, v.value);
73732
+ });
73733
+ };
73734
+ }
73735
+ function settle(resolve, reject, d, v) {
73736
+ Promise.resolve(v).then(function (v) {
73737
+ resolve({
73738
+ value: v,
73739
+ done: d
73740
+ });
73741
+ }, reject);
73742
+ }
73743
+ }
73744
+ function __makeTemplateObject(cooked, raw) {
73745
+ if (Object.defineProperty) {
73746
+ Object.defineProperty(cooked, "raw", {
73747
+ value: raw
73748
+ });
73749
+ } else {
73750
+ cooked.raw = raw;
73751
+ }
73752
+ return cooked;
73753
+ }
73754
+ ;
73755
+ var __setModuleDefault = Object.create ? function (o, v) {
73756
+ Object.defineProperty(o, "default", {
73757
+ enumerable: true,
73758
+ value: v
73759
+ });
73760
+ } : function (o, v) {
73761
+ o["default"] = v;
73762
+ };
73763
+ function __importStar(mod) {
73764
+ if (mod && mod.__esModule) return mod;
73765
+ var result = {};
73766
+ if (mod != null) for (var k in mod) {
73767
+ if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
73768
+ }
73769
+ __setModuleDefault(result, mod);
73770
+ return result;
73771
+ }
73772
+ function __importDefault(mod) {
73773
+ return mod && mod.__esModule ? mod : {
73774
+ "default": mod
73775
+ };
73776
+ }
73777
+ function __classPrivateFieldGet(receiver, state, kind, f) {
73778
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
73779
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
73780
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
73781
+ }
73782
+ function __classPrivateFieldSet(receiver, state, value, kind, f) {
73783
+ if (kind === "m") throw new TypeError("Private method is not writable");
73784
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
73785
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
73786
+ return kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value), value;
73787
+ }
73788
+ function __classPrivateFieldIn(state, receiver) {
73789
+ if (receiver === null || _typeof(receiver) !== "object" && typeof receiver !== "function") throw new TypeError("Cannot use 'in' operator on non-object");
73790
+ return typeof state === "function" ? receiver === state : state.has(receiver);
73791
+ }
73792
+
73793
+ /***/ }),
73794
+
73374
73795
  /***/ 69219:
73375
73796
  /***/ ((module) => {
73376
73797
 
@@ -81580,10 +82001,10 @@ var MenuCascaderSelect = function MenuCascaderSelect(props) {
81580
82001
  setDataSource(dataSourceProp);
81581
82002
  return;
81582
82003
  }
81583
- setSearchValue(value);
82004
+ setSearchValue(value === null || value === void 0 ? void 0 : value.trimStart());
81584
82005
  var _filterTreeData = (0,_utils__WEBPACK_IMPORTED_MODULE_6__/* .filterTreeData */ .lH)(dataSourceProp, function (node) {
81585
- var _node$label;
81586
- return ((_node$label = node === null || node === void 0 ? void 0 : node.label) !== null && _node$label !== void 0 ? _node$label : '').includes(value);
82006
+ var _node$label$toLowerCa, _node$label, _value$trim;
82007
+ return ((_node$label$toLowerCa = node === null || node === void 0 ? void 0 : (_node$label = node.label) === null || _node$label === void 0 ? void 0 : _node$label.toLowerCase()) !== null && _node$label$toLowerCa !== void 0 ? _node$label$toLowerCa : '').includes(value === null || value === void 0 ? void 0 : (_value$trim = value.trim()) === null || _value$trim === void 0 ? void 0 : _value$trim.toLowerCase());
81587
82008
  }),
81588
82009
  filterTreeValue = _filterTreeData.filterTreeValue;
81589
82010
  setDataSource(filterTreeValue);
@@ -81693,8 +82114,7 @@ var MenuCascaderSelect = function MenuCascaderSelect(props) {
81693
82114
  placeholder: (0,_teamix_utils__WEBPACK_IMPORTED_MODULE_2__.getMessage)('searchCloudProduct'),
81694
82115
  value: searchValue,
81695
82116
  onChange: onSearch,
81696
- hasClear: true,
81697
- trim: true
82117
+ hasClear: true
81698
82118
  }, searchProps))), !!renderSearch && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement("div", {
81699
82119
  className: cls('search')
81700
82120
  }, renderSearch), !renderExtra && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_alicloudfe_components__WEBPACK_IMPORTED_MODULE_0__.Checkbox, {
@@ -81892,7 +82312,7 @@ var MenuCascaderSelect = function MenuCascaderSelect(props) {
81892
82312
  /* harmony import */ var _teamix_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(66126);
81893
82313
  /* harmony import */ var ___WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(35511);
81894
82314
  /* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(72326);
81895
- var _excluded = ["dataSource", "col", "width", "value", "onChange", "showAll", "size", "hideTitle", "placeholder", "className", "multiple", "label"];
82315
+ var _excluded = ["dataSource", "col", "width", "value", "onChange", "showAll", "size", "hideTitle", "placeholder", "className", "multiple", "label", "hideMore"];
81896
82316
  function ownKeys(object, enumerableOnly) {
81897
82317
  var keys = Object.keys(object);
81898
82318
  if (Object.getOwnPropertySymbols) {
@@ -82056,6 +82476,8 @@ var MenuSelect = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forwa
82056
82476
  _props$multiple = props.multiple,
82057
82477
  multiple = _props$multiple === void 0 ? false : _props$multiple,
82058
82478
  label = props.label,
82479
+ _props$hideMore = props.hideMore,
82480
+ hideMore = _props$hideMore === void 0 ? false : _props$hideMore,
82059
82481
  others = _objectWithoutProperties(props, _excluded);
82060
82482
  var ref = (0,react__WEBPACK_IMPORTED_MODULE_1__.useRef)();
82061
82483
  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)([]),
@@ -82376,7 +82798,12 @@ var MenuSelect = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forwa
82376
82798
  className: cls('search-label')
82377
82799
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_teamix_icon__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z, {
82378
82800
  type: "search-line"
82379
- }), searchTags.map(function (item) {
82801
+ }), hideMore ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(___WEBPACK_IMPORTED_MODULE_4__/* .ProTagGroup */ .VM, {
82802
+ moreTooltip: true,
82803
+ tag: searchTags.map(function (item) {
82804
+ return item;
82805
+ })
82806
+ }) : searchTags.map(function (item) {
82380
82807
  return (0,___WEBPACK_IMPORTED_MODULE_4__/* .renderTags */ .as)(item);
82381
82808
  }));
82382
82809
  };
@@ -83970,6 +84397,10 @@ function mappingOptions(fieldVal, render, options, beforeFormatter, customOption
83970
84397
  if (render && (render === null || render === void 0 ? void 0 : render.type) === 'tag') {
83971
84398
  return getNodeForRender(value, targetOptions, render, renderTag);
83972
84399
  }
84400
+ // 输出TagGroup
84401
+ if (render && (render === null || render === void 0 ? void 0 : render.type) === 'groupTag') {
84402
+ return getNodeForRender(value, targetOptions, render, renderGroupTag);
84403
+ }
83973
84404
  // 输出status tag
83974
84405
  if (render && (render === null || render === void 0 ? void 0 : render.type) === 'statusTag') {
83975
84406
  return getNodeForRender(value, targetOptions, render, renderStatusTag);
@@ -84069,6 +84500,33 @@ var renderTag = function renderTag(item, render) {
84069
84500
  size: render.size
84070
84501
  });
84071
84502
  };
84503
+ var renderGroupTag = function renderGroupTag(item, render) {
84504
+ var renderClone = _objectSpread({}, render);
84505
+ if ((0,_utils__WEBPACK_IMPORTED_MODULE_3__/* .isNull */ .Ft)(item)) {
84506
+ var _renderClone$emptyTex;
84507
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null, (_renderClone$emptyTex = renderClone === null || renderClone === void 0 ? void 0 : renderClone.emptyText) !== null && _renderClone$emptyTex !== void 0 ? _renderClone$emptyTex : '');
84508
+ }
84509
+ if (Array.isArray(item)) {
84510
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_commonComponents__WEBPACK_IMPORTED_MODULE_8__/* .ProTagGroup */ .VM, _objectSpread(_objectSpread({
84511
+ moreTooltip: true
84512
+ }, renderClone === null || renderClone === void 0 ? void 0 : renderClone.groupTagProps), {}, {
84513
+ tag: item === null || item === void 0 ? void 0 : item.map(function (v) {
84514
+ return {
84515
+ children: v,
84516
+ color: renderClone === null || renderClone === void 0 ? void 0 : renderClone.color
84517
+ };
84518
+ })
84519
+ }));
84520
+ }
84521
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_commonComponents__WEBPACK_IMPORTED_MODULE_8__/* .ProTagGroup */ .VM, _objectSpread(_objectSpread({
84522
+ moreTooltip: true
84523
+ }, renderClone === null || renderClone === void 0 ? void 0 : renderClone.groupTagProps), {}, {
84524
+ tag: [{
84525
+ children: item,
84526
+ color: renderClone === null || renderClone === void 0 ? void 0 : renderClone.color
84527
+ }]
84528
+ }));
84529
+ };
84072
84530
  /**
84073
84531
  * 渲渲染告警等级tag
84074
84532
  * @param item 输出的文本
@@ -84272,6 +84730,9 @@ var getNodeForRender = function getNodeForRender(value, options, render, compone
84272
84730
  }
84273
84731
  // 输出多项
84274
84732
  if (Array.isArray(value)) {
84733
+ if ((render === null || render === void 0 ? void 0 : render.type) === 'groupTag') {
84734
+ return component === null || component === void 0 ? void 0 : component(value, renderClone);
84735
+ }
84275
84736
  // 有折叠的情况
84276
84737
  if (render.maxShowNumber) {
84277
84738
  return processHidden(value, renderClone, component);
@@ -108779,13 +109240,13 @@ var SimpleFilter = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.memo)(func
108779
109240
  /* harmony import */ var _useSpecialProps__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(50667);
108780
109241
  /* harmony import */ var _useBindUrl__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(38740);
108781
109242
  var _excluded = ["addonAfter", "addonBefore", "mode", "purePanel", "expand", "formRef", "defaultFilterValue", "filterValues", "filterDebounce", "bindUrl", "onFilter", "onInit", "onReset", "onExpand", "onChange", "form"];
108782
- 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); }
108783
109243
  function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
108784
109244
  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."); }
108785
109245
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
108786
109246
  function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
108787
109247
  function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
108788
109248
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
109249
+ 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); }
108789
109250
  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; }
108790
109251
  function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
108791
109252
  function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
@@ -109094,7 +109555,17 @@ var QueryFilter = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.memo)(funct
109094
109555
 
109095
109556
  // 设置筛选数据
109096
109557
  var configFilterItem = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function (form) {
109097
- filterItem.current = getFilterDisplayValues(form);
109558
+ var _getFilterDisplayValu;
109559
+ filterItem.current = (_getFilterDisplayValu = getFilterDisplayValues(form)) == null ? void 0 : _getFilterDisplayValu.map(function (item) {
109560
+ var _props$schema;
109561
+ // 需要找到 props 作为 proField 标签内渲染用
109562
+ var schemaFieldProps = (_props$schema = props.schema) == null ? void 0 : _props$schema.find == null ? void 0 : _props$schema.find(function (schemaItem) {
109563
+ return (item == null ? void 0 : item.key) === (schemaItem == null ? void 0 : schemaItem.name);
109564
+ });
109565
+ return _extends({}, item, {
109566
+ props: schemaFieldProps == null ? void 0 : schemaFieldProps.props
109567
+ });
109568
+ });
109098
109569
  }, []);
109099
109570
 
109100
109571
  // 设置标签数据
@@ -109273,7 +109744,8 @@ var QueryFilter = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.memo)(funct
109273
109744
  label = _ref7.label,
109274
109745
  value = _ref7.value,
109275
109746
  type = _ref7.type,
109276
- index = _ref7.index;
109747
+ index = _ref7.index,
109748
+ props = _ref7.props;
109277
109749
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_alicloudfe_components__WEBPACK_IMPORTED_MODULE_2__.Tag.Closeable, {
109278
109750
  key: (0,_teamix_utils__WEBPACK_IMPORTED_MODULE_5__.isNum)(index) ? key + label : key,
109279
109751
  afterClose: function afterClose() {
@@ -109283,10 +109755,10 @@ var QueryFilter = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.memo)(funct
109283
109755
  className: prefixCls('tag-title')
109284
109756
  }, label), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("span", {
109285
109757
  className: prefixCls('tag-content')
109286
- }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_field_index__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .ZP, {
109758
+ }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_field_index__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .ZP, _extends({
109287
109759
  type: type,
109288
109760
  value: value
109289
- })));
109761
+ }, props != null ? props : {}))));
109290
109762
  })) : null);
109291
109763
  });
109292
109764
  QueryFilter.defaultProps = {
@@ -112490,7 +112962,7 @@ if (!((_window = window) != null && _window.TEAMIXPRO_WITHOUT_ICON)) {
112490
112962
 
112491
112963
 
112492
112964
 
112493
- var version = '1.5.37';
112965
+ var version = '1.5.39';
112494
112966
 
112495
112967
  // By TeamixTest
112496
112968
  window.postMessage({
@@ -117447,7 +117919,7 @@ var Cell = function Cell(props) {
117447
117919
  }
117448
117920
  }, itemProps);
117449
117921
  }
117450
- if ((render == null ? void 0 : render.type) === 'step') {
117922
+ if ((render == null ? void 0 : render.type) === 'step' || (render == null ? void 0 : render.type) === 'groupTag') {
117451
117923
  newRender = _extends({}, newRender, {
117452
117924
  ellipsis: false
117453
117925
  });
@@ -120217,7 +120689,7 @@ var ProTable = function ProTable(props) {
120217
120689
  });
120218
120690
 
120219
120691
  // 绑定 Actions
120220
- (0,_utils__WEBPACK_IMPORTED_MODULE_7__/* .useActionType */ .tx)(actionRef, {
120692
+ actionRef.current = (0,_utils__WEBPACK_IMPORTED_MODULE_7__/* .useActionType */ .tx)(actionRef, {
120221
120693
  fullScreen: function fullScreen() {
120222
120694
  var _actionRef$current2;
120223
120695
  var state = !fullscreenState;
@@ -120497,7 +120969,7 @@ var ProTable = function ProTable(props) {
120497
120969
 
120498
120970
  // 请求函数
120499
120971
  var _request = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function (params, noLoading, filterParams, isReset) {
120500
- var _dataFilterFormRef$cu2, _actionRef$current$ge, _actionRef$current6, _extends3;
120972
+ var _dataFilterFormRef$cu2, _actionRef$current$ge, _actionRef$current6, _actionRef$current7, _actionRef$current7$p, _actionRef$current8, _actionRef$current8$p, _extends3;
120501
120973
  // 首次渲染表格,获取 urlState 上的 表头 filter 数据
120502
120974
  if (bindUrl && (bindUrlProps == null ? void 0 : bindUrlProps.headerFilters) !== false && dataRef.current.flag) {
120503
120975
  (0,_utils_util__WEBPACK_IMPORTED_MODULE_18__/* .getUrlStateFilter */ .a)(urlState != null ? urlState : {}, actionRef);
@@ -120520,7 +120992,7 @@ var ProTable = function ProTable(props) {
120520
120992
 
120521
120993
  // 格式化后的请求参数
120522
120994
  var requestData = {};
120523
- var preParams = _extends({}, !showPagination ? _extends({}, dataFilterParams, propsParams, sortParams, columnsFilterParams) : _extends({}, dataFilterParams, propsParams, sortParams, columnsFilterParams, (_extends3 = {}, _extends3[targetPageKey] = currentPage, _extends3[targetPageSizeKey] = pageSize, _extends3)), params);
120995
+ var preParams = _extends({}, !showPagination ? _extends({}, dataFilterParams, propsParams, sortParams, columnsFilterParams) : _extends({}, dataFilterParams, propsParams, sortParams, columnsFilterParams, (_extends3 = {}, _extends3[targetPageKey] = (actionRef == null ? void 0 : (_actionRef$current7 = actionRef.current) == null ? void 0 : (_actionRef$current7$p = _actionRef$current7.pageInfo) == null ? void 0 : _actionRef$current7$p.current) || currentPage, _extends3[targetPageSizeKey] = (actionRef == null ? void 0 : (_actionRef$current8 = actionRef.current) == null ? void 0 : (_actionRef$current8$p = _actionRef$current8.pageInfo) == null ? void 0 : _actionRef$current8$p.pageSize) || pageSize, _extends3)), params);
120524
120996
  if (typeof formatParams === 'string') {
120525
120997
  requestData = (0,_teamix_utils__WEBPACK_IMPORTED_MODULE_5__.getTargetValue)(formatParams, {
120526
120998
  params: preParams
@@ -120617,7 +121089,7 @@ var ProTable = function ProTable(props) {
120617
121089
  getData.run(requestData);
120618
121090
  }
120619
121091
  }
120620
- }, [bindUrl, bindUrlProps, dataRef, url, customRequest, currentPage, pageSize, propsParams]);
121092
+ }, [bindUrl, bindUrlProps, dataRef, url, customRequest, currentPage, pageSize, propsParams, actionRef.current]);
120621
121093
  var onSort = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function (dataIndex, order) {
120622
121094
  var _nextSort;
120623
121095
  var nextSort = (_nextSort = {}, _nextSort[dataIndex] = order, _nextSort);
@@ -120638,7 +121110,7 @@ var ProTable = function ProTable(props) {
120638
121110
  return true;
120639
121111
  } : undefined,
120640
121112
  onFilter: function onFilter(values) {
120641
- var _actionRef$current7, _request8;
121113
+ var _actionRef$current9, _request8;
120642
121114
  // 全屏状态,判断全屏表单onFilter是否禁用
120643
121115
  if (fullscreenState && !filterEnableRef.current.fullscreen) {
120644
121116
  filterEnableRef.current.fullscreen = true;
@@ -120657,7 +121129,7 @@ var ProTable = function ProTable(props) {
120657
121129
  }
120658
121130
  }
120659
121131
  // 搜索变化时,暂时先清空选择
120660
- (_actionRef$current7 = actionRef.current) == null ? void 0 : _actionRef$current7.clearRowSelection == null ? void 0 : _actionRef$current7.clearRowSelection();
121132
+ (_actionRef$current9 = actionRef.current) == null ? void 0 : _actionRef$current9.clearRowSelection == null ? void 0 : _actionRef$current9.clearRowSelection();
120661
121133
  setCurrentPage(1);
120662
121134
  _request((_request8 = {}, _request8[targetPageKey] = 1, _request8[targetPageSizeKey] = pageSize, _request8), false, values);
120663
121135
  },
@@ -120696,7 +121168,9 @@ var ProTable = function ProTable(props) {
120696
121168
  mainAction: mainAction,
120697
121169
  extra: extra,
120698
121170
  toolBar: toolBar,
120699
- actionRef: actionRef,
121171
+ actionRef: {
121172
+ current: actionRef.current
121173
+ },
120700
121174
  columns: propsColumns,
120701
121175
  dataFilter: dataFilter,
120702
121176
  afterDataFilter: afterDataFilter,
@@ -120786,8 +121260,8 @@ var ProTable = function ProTable(props) {
120786
121260
  }
120787
121261
  // 翻页默认清空选择
120788
121262
  if (!reserveSelectedRecords) {
120789
- var _actionRef$current8;
120790
- (_actionRef$current8 = actionRef.current) == null ? void 0 : _actionRef$current8.clearRowSelection == null ? void 0 : _actionRef$current8.clearRowSelection();
121263
+ var _actionRef$current10;
121264
+ (_actionRef$current10 = actionRef.current) == null ? void 0 : _actionRef$current10.clearRowSelection == null ? void 0 : _actionRef$current10.clearRowSelection();
120791
121265
  }
120792
121266
  setCurrentPage(currentPage);
120793
121267
  _request(_extends((_extends4 = {}, _extends4[targetPageKey] = currentPage, _extends4.pageSize = pageSize, _extends4), params));
@@ -120796,13 +121270,13 @@ var ProTable = function ProTable(props) {
120796
121270
  var _request10;
120797
121271
  // 翻页默认清空选择
120798
121272
  if (!reserveSelectedRecords) {
120799
- var _actionRef$current9;
120800
- (_actionRef$current9 = actionRef.current) == null ? void 0 : _actionRef$current9.clearRowSelection == null ? void 0 : _actionRef$current9.clearRowSelection();
121273
+ var _actionRef$current11;
121274
+ (_actionRef$current11 = actionRef.current) == null ? void 0 : _actionRef$current11.clearRowSelection == null ? void 0 : _actionRef$current11.clearRowSelection();
120801
121275
  }
120802
121276
  setPageSize(currentPageSize);
120803
121277
  setCurrentPage(1);
120804
121278
  _request((_request10 = {}, _request10[targetPageSizeKey] = currentPageSize, _request10[targetPageKey] = 1, _request10));
120805
- }, [reserveSelectedRecords, actionRef, targetPageSizeKey, targetPageKey, currentPage]);
121279
+ }, [reserveSelectedRecords, actionRef.current, targetPageSizeKey, targetPageKey, currentPage]);
120806
121280
  var renderFooter = function renderFooter() {
120807
121281
  function renderRowSelection() {
120808
121282
  if (rowSelection) {
@@ -121883,6 +122357,7 @@ function initActionRef(ref, action) {
121883
122357
  }
121884
122358
  function useActionType(ref, action) {
121885
122359
  ref.current = _extends({}, ref.current, action);
122360
+ return _extends({}, ref.current, action);
121886
122361
  }
121887
122362
  function cloneDeep(obj) {
121888
122363
  return cloneDeepLodash(obj);
@@ -122222,12 +122697,16 @@ function useTableSelection(config, records, primaryKey) {
122222
122697
  defaultSelectedRecords = _config$defaultSelect === void 0 ? [] : _config$defaultSelect,
122223
122698
  _config$defaultSelect2 = _config.defaultSelectedRowKeys,
122224
122699
  defaultSelectedRowKeys = _config$defaultSelect2 === void 0 ? [] : _config$defaultSelect2;
122225
- var _useState = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(defaultSelectedRowKeys),
122700
+ var _useState = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(config.selectedRowKeys || defaultSelectedRowKeys),
122226
122701
  selectedRowKeys = _useState[0],
122227
122702
  setSelectedRowKeys = _useState[1];
122228
122703
  var _useState2 = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(defaultSelectedRecords),
122229
122704
  selectedRecords = _useState2[0],
122230
122705
  setSelectedRecords = _useState2[1];
122706
+ (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {
122707
+ var _config$selectedRowKe, _config2;
122708
+ setSelectedRowKeys((_config$selectedRowKe = (_config2 = config) == null ? void 0 : _config2.selectedRowKeys) != null ? _config$selectedRowKe : []);
122709
+ }, [config.selectedRowKeys]);
122231
122710
  function _onChange(value, records) {
122232
122711
  if (primaryKey) {
122233
122712
  var newValue = value.filter(function (v) {
@@ -122270,8 +122749,8 @@ function useTableSelection(config, records, primaryKey) {
122270
122749
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_alicloudfe_components__WEBPACK_IMPORTED_MODULE_2__.Checkbox, _extends({
122271
122750
  checked: selectedRowKeys.includes(primaryKey),
122272
122751
  onChange: function onChange(checked) {
122273
- var _config2;
122274
- (_config2 = config) == null ? void 0 : _config2.onSelect == null ? void 0 : _config2.onSelect(checked, record, records);
122752
+ var _config3;
122753
+ (_config3 = config) == null ? void 0 : _config3.onSelect == null ? void 0 : _config3.onSelect(checked, record, records);
122275
122754
  if (checked) {
122276
122755
  _onChange == null ? void 0 : _onChange([].concat(_toConsumableArray(selectedRowKeys), [primaryKey]), [record]);
122277
122756
  } else {
@@ -122283,12 +122762,12 @@ function useTableSelection(config, records, primaryKey) {
122283
122762
  }, others));
122284
122763
  };
122285
122764
  var getProps = function getProps(record, index) {
122286
- var _config3, _config4;
122287
- var propResult = (_config3 = config) == null ? void 0 : _config3.getProps == null ? void 0 : _config3.getProps(record, index);
122765
+ var _config4, _config5;
122766
+ var propResult = (_config4 = config) == null ? void 0 : _config4.getProps == null ? void 0 : _config4.getProps(record, index);
122288
122767
  // console.log('propResult', propResult, selectedRowKeys);
122289
122768
  var resultProps = _extends({}, record, propResult);
122290
122769
  var primaryKey = record == null ? void 0 : record[resultProps == null ? void 0 : resultProps['_primaryKey']];
122291
- if (((_config4 = config) == null ? void 0 : _config4.mode) === 'single') {
122770
+ if (((_config5 = config) == null ? void 0 : _config5.mode) === 'single') {
122292
122771
  return resultProps;
122293
122772
  }
122294
122773
  return _extends({}, resultProps, {
@@ -123769,388 +124248,6 @@ function dequal(foo, bar) {
123769
124248
  }
123770
124249
 
123771
124250
 
123772
- /***/ }),
123773
-
123774
- /***/ 97582:
123775
- /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
123776
-
123777
- "use strict";
123778
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
123779
- /* harmony export */ "pi": () => (/* binding */ __assign)
123780
- /* harmony export */ });
123781
- /* unused harmony exports __extends, __rest, __decorate, __param, __esDecorate, __runInitializers, __propKey, __setFunctionName, __metadata, __awaiter, __generator, __createBinding, __exportStar, __values, __read, __spread, __spreadArrays, __spreadArray, __await, __asyncGenerator, __asyncDelegator, __asyncValues, __makeTemplateObject, __importStar, __importDefault, __classPrivateFieldGet, __classPrivateFieldSet, __classPrivateFieldIn, __addDisposableResource, __disposeResources */
123782
- /******************************************************************************
123783
- Copyright (c) Microsoft Corporation.
123784
-
123785
- Permission to use, copy, modify, and/or distribute this software for any
123786
- purpose with or without fee is hereby granted.
123787
-
123788
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
123789
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
123790
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
123791
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
123792
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
123793
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
123794
- PERFORMANCE OF THIS SOFTWARE.
123795
- ***************************************************************************** */
123796
- /* global Reflect, Promise, SuppressedError, Symbol */
123797
-
123798
- var extendStatics = function(d, b) {
123799
- extendStatics = Object.setPrototypeOf ||
123800
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
123801
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
123802
- return extendStatics(d, b);
123803
- };
123804
-
123805
- function __extends(d, b) {
123806
- if (typeof b !== "function" && b !== null)
123807
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
123808
- extendStatics(d, b);
123809
- function __() { this.constructor = d; }
123810
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
123811
- }
123812
-
123813
- var __assign = function() {
123814
- __assign = Object.assign || function __assign(t) {
123815
- for (var s, i = 1, n = arguments.length; i < n; i++) {
123816
- s = arguments[i];
123817
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
123818
- }
123819
- return t;
123820
- }
123821
- return __assign.apply(this, arguments);
123822
- }
123823
-
123824
- function __rest(s, e) {
123825
- var t = {};
123826
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
123827
- t[p] = s[p];
123828
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
123829
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
123830
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
123831
- t[p[i]] = s[p[i]];
123832
- }
123833
- return t;
123834
- }
123835
-
123836
- function __decorate(decorators, target, key, desc) {
123837
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
123838
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
123839
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
123840
- return c > 3 && r && Object.defineProperty(target, key, r), r;
123841
- }
123842
-
123843
- function __param(paramIndex, decorator) {
123844
- return function (target, key) { decorator(target, key, paramIndex); }
123845
- }
123846
-
123847
- function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
123848
- function accept(f) { if (f !== void 0 && typeof f !== "function") throw new TypeError("Function expected"); return f; }
123849
- var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
123850
- var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
123851
- var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
123852
- var _, done = false;
123853
- for (var i = decorators.length - 1; i >= 0; i--) {
123854
- var context = {};
123855
- for (var p in contextIn) context[p] = p === "access" ? {} : contextIn[p];
123856
- for (var p in contextIn.access) context.access[p] = contextIn.access[p];
123857
- context.addInitializer = function (f) { if (done) throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); };
123858
- var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);
123859
- if (kind === "accessor") {
123860
- if (result === void 0) continue;
123861
- if (result === null || typeof result !== "object") throw new TypeError("Object expected");
123862
- if (_ = accept(result.get)) descriptor.get = _;
123863
- if (_ = accept(result.set)) descriptor.set = _;
123864
- if (_ = accept(result.init)) initializers.unshift(_);
123865
- }
123866
- else if (_ = accept(result)) {
123867
- if (kind === "field") initializers.unshift(_);
123868
- else descriptor[key] = _;
123869
- }
123870
- }
123871
- if (target) Object.defineProperty(target, contextIn.name, descriptor);
123872
- done = true;
123873
- };
123874
-
123875
- function __runInitializers(thisArg, initializers, value) {
123876
- var useValue = arguments.length > 2;
123877
- for (var i = 0; i < initializers.length; i++) {
123878
- value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
123879
- }
123880
- return useValue ? value : void 0;
123881
- };
123882
-
123883
- function __propKey(x) {
123884
- return typeof x === "symbol" ? x : "".concat(x);
123885
- };
123886
-
123887
- function __setFunctionName(f, name, prefix) {
123888
- if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : "";
123889
- return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
123890
- };
123891
-
123892
- function __metadata(metadataKey, metadataValue) {
123893
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
123894
- }
123895
-
123896
- function __awaiter(thisArg, _arguments, P, generator) {
123897
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
123898
- return new (P || (P = Promise))(function (resolve, reject) {
123899
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
123900
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
123901
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
123902
- step((generator = generator.apply(thisArg, _arguments || [])).next());
123903
- });
123904
- }
123905
-
123906
- function __generator(thisArg, body) {
123907
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
123908
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
123909
- function verb(n) { return function (v) { return step([n, v]); }; }
123910
- function step(op) {
123911
- if (f) throw new TypeError("Generator is already executing.");
123912
- while (g && (g = 0, op[0] && (_ = 0)), _) try {
123913
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
123914
- if (y = 0, t) op = [op[0] & 2, t.value];
123915
- switch (op[0]) {
123916
- case 0: case 1: t = op; break;
123917
- case 4: _.label++; return { value: op[1], done: false };
123918
- case 5: _.label++; y = op[1]; op = [0]; continue;
123919
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
123920
- default:
123921
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
123922
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
123923
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
123924
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
123925
- if (t[2]) _.ops.pop();
123926
- _.trys.pop(); continue;
123927
- }
123928
- op = body.call(thisArg, _);
123929
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
123930
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
123931
- }
123932
- }
123933
-
123934
- var __createBinding = Object.create ? (function(o, m, k, k2) {
123935
- if (k2 === undefined) k2 = k;
123936
- var desc = Object.getOwnPropertyDescriptor(m, k);
123937
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
123938
- desc = { enumerable: true, get: function() { return m[k]; } };
123939
- }
123940
- Object.defineProperty(o, k2, desc);
123941
- }) : (function(o, m, k, k2) {
123942
- if (k2 === undefined) k2 = k;
123943
- o[k2] = m[k];
123944
- });
123945
-
123946
- function __exportStar(m, o) {
123947
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);
123948
- }
123949
-
123950
- function __values(o) {
123951
- var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
123952
- if (m) return m.call(o);
123953
- if (o && typeof o.length === "number") return {
123954
- next: function () {
123955
- if (o && i >= o.length) o = void 0;
123956
- return { value: o && o[i++], done: !o };
123957
- }
123958
- };
123959
- throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
123960
- }
123961
-
123962
- function __read(o, n) {
123963
- var m = typeof Symbol === "function" && o[Symbol.iterator];
123964
- if (!m) return o;
123965
- var i = m.call(o), r, ar = [], e;
123966
- try {
123967
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
123968
- }
123969
- catch (error) { e = { error: error }; }
123970
- finally {
123971
- try {
123972
- if (r && !r.done && (m = i["return"])) m.call(i);
123973
- }
123974
- finally { if (e) throw e.error; }
123975
- }
123976
- return ar;
123977
- }
123978
-
123979
- /** @deprecated */
123980
- function __spread() {
123981
- for (var ar = [], i = 0; i < arguments.length; i++)
123982
- ar = ar.concat(__read(arguments[i]));
123983
- return ar;
123984
- }
123985
-
123986
- /** @deprecated */
123987
- function __spreadArrays() {
123988
- for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
123989
- for (var r = Array(s), k = 0, i = 0; i < il; i++)
123990
- for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
123991
- r[k] = a[j];
123992
- return r;
123993
- }
123994
-
123995
- function __spreadArray(to, from, pack) {
123996
- if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
123997
- if (ar || !(i in from)) {
123998
- if (!ar) ar = Array.prototype.slice.call(from, 0, i);
123999
- ar[i] = from[i];
124000
- }
124001
- }
124002
- return to.concat(ar || Array.prototype.slice.call(from));
124003
- }
124004
-
124005
- function __await(v) {
124006
- return this instanceof __await ? (this.v = v, this) : new __await(v);
124007
- }
124008
-
124009
- function __asyncGenerator(thisArg, _arguments, generator) {
124010
- if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
124011
- var g = generator.apply(thisArg, _arguments || []), i, q = [];
124012
- return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
124013
- function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
124014
- function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
124015
- function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
124016
- function fulfill(value) { resume("next", value); }
124017
- function reject(value) { resume("throw", value); }
124018
- function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
124019
- }
124020
-
124021
- function __asyncDelegator(o) {
124022
- var i, p;
124023
- return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
124024
- function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }
124025
- }
124026
-
124027
- function __asyncValues(o) {
124028
- if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
124029
- var m = o[Symbol.asyncIterator], i;
124030
- return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
124031
- function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
124032
- function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
124033
- }
124034
-
124035
- function __makeTemplateObject(cooked, raw) {
124036
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
124037
- return cooked;
124038
- };
124039
-
124040
- var __setModuleDefault = Object.create ? (function(o, v) {
124041
- Object.defineProperty(o, "default", { enumerable: true, value: v });
124042
- }) : function(o, v) {
124043
- o["default"] = v;
124044
- };
124045
-
124046
- function __importStar(mod) {
124047
- if (mod && mod.__esModule) return mod;
124048
- var result = {};
124049
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
124050
- __setModuleDefault(result, mod);
124051
- return result;
124052
- }
124053
-
124054
- function __importDefault(mod) {
124055
- return (mod && mod.__esModule) ? mod : { default: mod };
124056
- }
124057
-
124058
- function __classPrivateFieldGet(receiver, state, kind, f) {
124059
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
124060
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
124061
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
124062
- }
124063
-
124064
- function __classPrivateFieldSet(receiver, state, value, kind, f) {
124065
- if (kind === "m") throw new TypeError("Private method is not writable");
124066
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
124067
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
124068
- return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
124069
- }
124070
-
124071
- function __classPrivateFieldIn(state, receiver) {
124072
- if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function")) throw new TypeError("Cannot use 'in' operator on non-object");
124073
- return typeof state === "function" ? receiver === state : state.has(receiver);
124074
- }
124075
-
124076
- function __addDisposableResource(env, value, async) {
124077
- if (value !== null && value !== void 0) {
124078
- if (typeof value !== "object") throw new TypeError("Object expected.");
124079
- var dispose;
124080
- if (async) {
124081
- if (!Symbol.asyncDispose) throw new TypeError("Symbol.asyncDispose is not defined.");
124082
- dispose = value[Symbol.asyncDispose];
124083
- }
124084
- if (dispose === void 0) {
124085
- if (!Symbol.dispose) throw new TypeError("Symbol.dispose is not defined.");
124086
- dispose = value[Symbol.dispose];
124087
- }
124088
- if (typeof dispose !== "function") throw new TypeError("Object not disposable.");
124089
- env.stack.push({ value: value, dispose: dispose, async: async });
124090
- }
124091
- else if (async) {
124092
- env.stack.push({ async: true });
124093
- }
124094
- return value;
124095
- }
124096
-
124097
- var _SuppressedError = typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
124098
- var e = new Error(message);
124099
- return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
124100
- };
124101
-
124102
- function __disposeResources(env) {
124103
- function fail(e) {
124104
- env.error = env.hasError ? new _SuppressedError(e, env.error, "An error was suppressed during disposal.") : e;
124105
- env.hasError = true;
124106
- }
124107
- function next() {
124108
- while (env.stack.length) {
124109
- var rec = env.stack.pop();
124110
- try {
124111
- var result = rec.dispose && rec.dispose.call(rec.value);
124112
- if (rec.async) return Promise.resolve(result).then(next, function(e) { fail(e); return next(); });
124113
- }
124114
- catch (e) {
124115
- fail(e);
124116
- }
124117
- }
124118
- if (env.hasError) throw env.error;
124119
- }
124120
- return next();
124121
- }
124122
-
124123
- /* unused harmony default export */ var __WEBPACK_DEFAULT_EXPORT__ = ({
124124
- __extends,
124125
- __assign,
124126
- __rest,
124127
- __decorate,
124128
- __param,
124129
- __metadata,
124130
- __awaiter,
124131
- __generator,
124132
- __createBinding,
124133
- __exportStar,
124134
- __values,
124135
- __read,
124136
- __spread,
124137
- __spreadArrays,
124138
- __spreadArray,
124139
- __await,
124140
- __asyncGenerator,
124141
- __asyncDelegator,
124142
- __asyncValues,
124143
- __makeTemplateObject,
124144
- __importStar,
124145
- __importDefault,
124146
- __classPrivateFieldGet,
124147
- __classPrivateFieldSet,
124148
- __classPrivateFieldIn,
124149
- __addDisposableResource,
124150
- __disposeResources,
124151
- });
124152
-
124153
-
124154
124251
  /***/ }),
124155
124252
 
124156
124253
  /***/ 44400: