@teamix/pro 1.5.36 → 1.5.38

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__(10649);
69944
+ /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(97582);
69945
69945
  /* harmony import */ var no_case__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(62901);
69946
69946
 
69947
69947
 
@@ -73371,427 +73371,6 @@ 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
-
73795
73374
  /***/ 69219:
73796
73375
  /***/ ((module) => {
73797
73376
 
@@ -82001,10 +81580,10 @@ var MenuCascaderSelect = function MenuCascaderSelect(props) {
82001
81580
  setDataSource(dataSourceProp);
82002
81581
  return;
82003
81582
  }
82004
- setSearchValue(value);
81583
+ setSearchValue(value === null || value === void 0 ? void 0 : value.trimStart());
82005
81584
  var _filterTreeData = (0,_utils__WEBPACK_IMPORTED_MODULE_6__/* .filterTreeData */ .lH)(dataSourceProp, function (node) {
82006
- var _node$label;
82007
- return ((_node$label = node === null || node === void 0 ? void 0 : node.label) !== null && _node$label !== void 0 ? _node$label : '').includes(value);
81585
+ var _node$label$toLowerCa, _node$label, _value$trim;
81586
+ 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());
82008
81587
  }),
82009
81588
  filterTreeValue = _filterTreeData.filterTreeValue;
82010
81589
  setDataSource(filterTreeValue);
@@ -82114,8 +81693,7 @@ var MenuCascaderSelect = function MenuCascaderSelect(props) {
82114
81693
  placeholder: (0,_teamix_utils__WEBPACK_IMPORTED_MODULE_2__.getMessage)('searchCloudProduct'),
82115
81694
  value: searchValue,
82116
81695
  onChange: onSearch,
82117
- hasClear: true,
82118
- trim: true
81696
+ hasClear: true
82119
81697
  }, searchProps))), !!renderSearch && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement("div", {
82120
81698
  className: cls('search')
82121
81699
  }, renderSearch), !renderExtra && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_alicloudfe_components__WEBPACK_IMPORTED_MODULE_0__.Checkbox, {
@@ -82313,7 +81891,7 @@ var MenuCascaderSelect = function MenuCascaderSelect(props) {
82313
81891
  /* harmony import */ var _teamix_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(66126);
82314
81892
  /* harmony import */ var ___WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(35511);
82315
81893
  /* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(72326);
82316
- var _excluded = ["dataSource", "col", "width", "value", "onChange", "showAll", "size", "hideTitle", "placeholder", "className", "multiple", "label"];
81894
+ var _excluded = ["dataSource", "col", "width", "value", "onChange", "showAll", "size", "hideTitle", "placeholder", "className", "multiple", "label", "hideMore"];
82317
81895
  function ownKeys(object, enumerableOnly) {
82318
81896
  var keys = Object.keys(object);
82319
81897
  if (Object.getOwnPropertySymbols) {
@@ -82477,6 +82055,8 @@ var MenuSelect = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forwa
82477
82055
  _props$multiple = props.multiple,
82478
82056
  multiple = _props$multiple === void 0 ? false : _props$multiple,
82479
82057
  label = props.label,
82058
+ _props$hideMore = props.hideMore,
82059
+ hideMore = _props$hideMore === void 0 ? false : _props$hideMore,
82480
82060
  others = _objectWithoutProperties(props, _excluded);
82481
82061
  var ref = (0,react__WEBPACK_IMPORTED_MODULE_1__.useRef)();
82482
82062
  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)([]),
@@ -82797,7 +82377,12 @@ var MenuSelect = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forwa
82797
82377
  className: cls('search-label')
82798
82378
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_teamix_icon__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z, {
82799
82379
  type: "search-line"
82800
- }), searchTags.map(function (item) {
82380
+ }), hideMore ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(___WEBPACK_IMPORTED_MODULE_4__/* .ProTagGroup */ .VM, {
82381
+ moreTooltip: true,
82382
+ tag: searchTags.map(function (item) {
82383
+ return item;
82384
+ })
82385
+ }) : searchTags.map(function (item) {
82801
82386
  return (0,___WEBPACK_IMPORTED_MODULE_4__/* .renderTags */ .as)(item);
82802
82387
  }));
82803
82388
  };
@@ -84391,6 +83976,10 @@ function mappingOptions(fieldVal, render, options, beforeFormatter, customOption
84391
83976
  if (render && (render === null || render === void 0 ? void 0 : render.type) === 'tag') {
84392
83977
  return getNodeForRender(value, targetOptions, render, renderTag);
84393
83978
  }
83979
+ // 输出TagGroup
83980
+ if (render && (render === null || render === void 0 ? void 0 : render.type) === 'groupTag') {
83981
+ return getNodeForRender(value, targetOptions, render, renderGroupTag);
83982
+ }
84394
83983
  // 输出status tag
84395
83984
  if (render && (render === null || render === void 0 ? void 0 : render.type) === 'statusTag') {
84396
83985
  return getNodeForRender(value, targetOptions, render, renderStatusTag);
@@ -84490,6 +84079,33 @@ var renderTag = function renderTag(item, render) {
84490
84079
  size: render.size
84491
84080
  });
84492
84081
  };
84082
+ var renderGroupTag = function renderGroupTag(item, render) {
84083
+ var renderClone = _objectSpread({}, render);
84084
+ if ((0,_utils__WEBPACK_IMPORTED_MODULE_3__/* .isNull */ .Ft)(item)) {
84085
+ var _renderClone$emptyTex;
84086
+ 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 : '');
84087
+ }
84088
+ if (Array.isArray(item)) {
84089
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_commonComponents__WEBPACK_IMPORTED_MODULE_8__/* .ProTagGroup */ .VM, _objectSpread(_objectSpread({
84090
+ moreTooltip: true
84091
+ }, renderClone === null || renderClone === void 0 ? void 0 : renderClone.groupTagProps), {}, {
84092
+ tag: item === null || item === void 0 ? void 0 : item.map(function (v) {
84093
+ return {
84094
+ children: v,
84095
+ color: renderClone === null || renderClone === void 0 ? void 0 : renderClone.color
84096
+ };
84097
+ })
84098
+ }));
84099
+ }
84100
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_commonComponents__WEBPACK_IMPORTED_MODULE_8__/* .ProTagGroup */ .VM, _objectSpread(_objectSpread({
84101
+ moreTooltip: true
84102
+ }, renderClone === null || renderClone === void 0 ? void 0 : renderClone.groupTagProps), {}, {
84103
+ tag: [{
84104
+ children: item,
84105
+ color: renderClone === null || renderClone === void 0 ? void 0 : renderClone.color
84106
+ }]
84107
+ }));
84108
+ };
84493
84109
  /**
84494
84110
  * 渲渲染告警等级tag
84495
84111
  * @param item 输出的文本
@@ -84693,6 +84309,9 @@ var getNodeForRender = function getNodeForRender(value, options, render, compone
84693
84309
  }
84694
84310
  // 输出多项
84695
84311
  if (Array.isArray(value)) {
84312
+ if ((render === null || render === void 0 ? void 0 : render.type) === 'groupTag') {
84313
+ return component === null || component === void 0 ? void 0 : component(value, renderClone);
84314
+ }
84696
84315
  // 有折叠的情况
84697
84316
  if (render.maxShowNumber) {
84698
84317
  return processHidden(value, renderClone, component);
@@ -109200,13 +108819,13 @@ var SimpleFilter = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.memo)(func
109200
108819
  /* harmony import */ var _useSpecialProps__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(50667);
109201
108820
  /* harmony import */ var _useBindUrl__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(38740);
109202
108821
  var _excluded = ["addonAfter", "addonBefore", "mode", "purePanel", "expand", "formRef", "defaultFilterValue", "filterValues", "filterDebounce", "bindUrl", "onFilter", "onInit", "onReset", "onExpand", "onChange", "form"];
109203
- 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); }
109204
108822
  function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
109205
108823
  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."); }
109206
108824
  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); }
109207
108825
  function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
109208
108826
  function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
109209
108827
  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; }
108828
+ 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); }
109210
108829
  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; }
109211
108830
  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); } }
109212
108831
  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); }); }; }
@@ -109515,7 +109134,17 @@ var QueryFilter = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.memo)(funct
109515
109134
 
109516
109135
  // 设置筛选数据
109517
109136
  var configFilterItem = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function (form) {
109518
- filterItem.current = getFilterDisplayValues(form);
109137
+ var _getFilterDisplayValu;
109138
+ filterItem.current = (_getFilterDisplayValu = getFilterDisplayValues(form)) == null ? void 0 : _getFilterDisplayValu.map(function (item) {
109139
+ var _props$schema;
109140
+ // 需要找到 props 作为 proField 标签内渲染用
109141
+ var schemaFieldProps = (_props$schema = props.schema) == null ? void 0 : _props$schema.find == null ? void 0 : _props$schema.find(function (schemaItem) {
109142
+ return (item == null ? void 0 : item.key) === (schemaItem == null ? void 0 : schemaItem.name);
109143
+ });
109144
+ return _extends({}, item, {
109145
+ props: schemaFieldProps == null ? void 0 : schemaFieldProps.props
109146
+ });
109147
+ });
109519
109148
  }, []);
109520
109149
 
109521
109150
  // 设置标签数据
@@ -109694,7 +109323,8 @@ var QueryFilter = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.memo)(funct
109694
109323
  label = _ref7.label,
109695
109324
  value = _ref7.value,
109696
109325
  type = _ref7.type,
109697
- index = _ref7.index;
109326
+ index = _ref7.index,
109327
+ props = _ref7.props;
109698
109328
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_alicloudfe_components__WEBPACK_IMPORTED_MODULE_2__.Tag.Closeable, {
109699
109329
  key: (0,_teamix_utils__WEBPACK_IMPORTED_MODULE_5__.isNum)(index) ? key + label : key,
109700
109330
  afterClose: function afterClose() {
@@ -109704,10 +109334,10 @@ var QueryFilter = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.memo)(funct
109704
109334
  className: prefixCls('tag-title')
109705
109335
  }, label), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("span", {
109706
109336
  className: prefixCls('tag-content')
109707
- }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_field_index__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .ZP, {
109337
+ }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_field_index__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .ZP, _extends({
109708
109338
  type: type,
109709
109339
  value: value
109710
- })));
109340
+ }, props != null ? props : {}))));
109711
109341
  })) : null);
109712
109342
  });
109713
109343
  QueryFilter.defaultProps = {
@@ -112911,7 +112541,7 @@ if (!((_window = window) != null && _window.TEAMIXPRO_WITHOUT_ICON)) {
112911
112541
 
112912
112542
 
112913
112543
 
112914
- var version = '1.5.36';
112544
+ var version = '1.5.38';
112915
112545
 
112916
112546
  // By TeamixTest
112917
112547
  window.postMessage({
@@ -117868,7 +117498,7 @@ var Cell = function Cell(props) {
117868
117498
  }
117869
117499
  }, itemProps);
117870
117500
  }
117871
- if ((render == null ? void 0 : render.type) === 'step') {
117501
+ if ((render == null ? void 0 : render.type) === 'step' || (render == null ? void 0 : render.type) === 'groupTag') {
117872
117502
  newRender = _extends({}, newRender, {
117873
117503
  ellipsis: false
117874
117504
  });
@@ -117993,6 +117623,11 @@ var equalColumns = function equalColumns(prevProps, nextProps) {
117993
117623
  if (preValue === false && nextValue === false || nextValue === undefined) {
117994
117624
  return false;
117995
117625
  }
117626
+
117627
+ // 如果不是 string 类型,全部刷新
117628
+ if (!_teamix_utils__WEBPACK_IMPORTED_MODULE_1__._.isString(nextValue)) {
117629
+ return false;
117630
+ }
117996
117631
  if (preValue === nextValue) {
117997
117632
  return true;
117998
117633
  }
@@ -118322,7 +117957,6 @@ var Layout = function Layout(props) {
118322
117957
  bindUrl = props.bindUrl,
118323
117958
  bindUrlProps = props.bindUrlProps,
118324
117959
  otherProps = _objectWithoutPropertiesLoose(props, _excluded);
118325
-
118326
117960
  // 渲染主操作区
118327
117961
  var renderMainAction = function renderMainAction() {
118328
117962
  var _actions;
@@ -118431,7 +118065,7 @@ var Layout = function Layout(props) {
118431
118065
  // todo: 有问题
118432
118066
  mainAction,
118433
118067
  // todo: 有问题
118434
- dataFilterFormRef, afterDataFilter]);
118068
+ dataFilterFormRef, afterDataFilter, rowSelection, actionRef.current]);
118435
118069
 
118436
118070
  // 区域组合渲染
118437
118071
  var renderLayout = function renderLayout() {
@@ -118476,6 +118110,8 @@ var Layout = function Layout(props) {
118476
118110
  }
118477
118111
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null);
118478
118112
  };
118113
+
118114
+ // export default Layout
118479
118115
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().memo(Layout));
118480
118116
 
118481
118117
  /***/ }),
@@ -120509,7 +120145,7 @@ var ProTable = function ProTable(props) {
120509
120145
  }
120510
120146
  return _extends({
120511
120147
  _primaryKey: props.primaryKey
120512
- }, record, result);
120148
+ }, result);
120513
120149
  },
120514
120150
  titleProps: function titleProps() {
120515
120151
  var result = {};
@@ -120522,7 +120158,7 @@ var ProTable = function ProTable(props) {
120522
120158
  return result;
120523
120159
  },
120524
120160
  onChange: onChangeRowSelection
120525
- }), primaryKey);
120161
+ }), data != null ? data : propsDataSource, primaryKey);
120526
120162
  var rowSelection = useRowSelection ? rowSelectionHook.rowSelection : propsRowSelection;
120527
120163
  var selectedCount = (rowSelection == null ? void 0 : (_rowSelection$selecte = rowSelection.selectedRowKeys) == null ? void 0 : _rowSelection$selecte.length) || 0;
120528
120164
  (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {
@@ -120633,7 +120269,7 @@ var ProTable = function ProTable(props) {
120633
120269
  });
120634
120270
 
120635
120271
  // 绑定 Actions
120636
- (0,_utils__WEBPACK_IMPORTED_MODULE_7__/* .useActionType */ .tx)(actionRef, {
120272
+ actionRef.current = (0,_utils__WEBPACK_IMPORTED_MODULE_7__/* .useActionType */ .tx)(actionRef, {
120637
120273
  fullScreen: function fullScreen() {
120638
120274
  var _actionRef$current2;
120639
120275
  var state = !fullscreenState;
@@ -121112,7 +120748,9 @@ var ProTable = function ProTable(props) {
121112
120748
  mainAction: mainAction,
121113
120749
  extra: extra,
121114
120750
  toolBar: toolBar,
121115
- actionRef: actionRef,
120751
+ actionRef: {
120752
+ current: actionRef.current
120753
+ },
121116
120754
  columns: propsColumns,
121117
120755
  dataFilter: dataFilter,
121118
120756
  afterDataFilter: afterDataFilter,
@@ -121711,7 +121349,6 @@ function genAutoWidthColumns(columns, ref, data, size, useRowSelection, actionCo
121711
121349
  finalColumns.push(column);
121712
121350
  return;
121713
121351
  }
121714
- ;
121715
121352
  if ((column == null ? void 0 : column.columnFilters) === false) {
121716
121353
  finalColumns.push(column);
121717
121354
  return;
@@ -121751,7 +121388,8 @@ function genAutoWidthColumns(columns, ref, data, size, useRowSelection, actionCo
121751
121388
  return;
121752
121389
  }
121753
121390
  // @ts-ignore
121754
- var titleWidth = _teamix_utils__WEBPACK_IMPORTED_MODULE_1__._.get(childNodes, '[index]?.children[0].scrollWidth', 0);
121391
+ var titleWidth = _teamix_utils__WEBPACK_IMPORTED_MODULE_1__._.get(childNodes[index], "children[0].scrollWidth", 0);
121392
+ // const titleWidth = childNodes[index]?.children[0].scrollWidth
121755
121393
  // @ts-ignore
121756
121394
  if (fixedWidthTypeList[finalType]) {
121757
121395
  // console.log(
@@ -122299,6 +121937,7 @@ function initActionRef(ref, action) {
122299
121937
  }
122300
121938
  function useActionType(ref, action) {
122301
121939
  ref.current = _extends({}, ref.current, action);
121940
+ return _extends({}, ref.current, action);
122302
121941
  }
122303
121942
  function cloneDeep(obj) {
122304
121943
  return cloneDeepLodash(obj);
@@ -122612,7 +122251,7 @@ function genProColumnToColumn(columns) {
122612
122251
  /* harmony import */ var _teamix_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(90612);
122613
122252
  /* harmony import */ var _alicloudfe_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(33049);
122614
122253
  /* harmony import */ var _alicloudfe_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_alicloudfe_components__WEBPACK_IMPORTED_MODULE_2__);
122615
- var _excluded = ["primaryKey"];
122254
+ var _excluded = ["primaryKey", "_primaryKey"];
122616
122255
  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); }
122617
122256
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
122618
122257
  function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
@@ -122629,7 +122268,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
122629
122268
 
122630
122269
 
122631
122270
  var Tooltip = _alicloudfe_components__WEBPACK_IMPORTED_MODULE_2__.Balloon.Tooltip;
122632
- function useTableSelection(config, primaryKey) {
122271
+ function useTableSelection(config, records, primaryKey) {
122633
122272
  if (config === void 0) {
122634
122273
  config = {};
122635
122274
  }
@@ -122638,12 +122277,16 @@ function useTableSelection(config, primaryKey) {
122638
122277
  defaultSelectedRecords = _config$defaultSelect === void 0 ? [] : _config$defaultSelect,
122639
122278
  _config$defaultSelect2 = _config.defaultSelectedRowKeys,
122640
122279
  defaultSelectedRowKeys = _config$defaultSelect2 === void 0 ? [] : _config$defaultSelect2;
122641
- var _useState = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(defaultSelectedRowKeys),
122280
+ var _useState = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(config.selectedRowKeys || defaultSelectedRowKeys),
122642
122281
  selectedRowKeys = _useState[0],
122643
122282
  setSelectedRowKeys = _useState[1];
122644
122283
  var _useState2 = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(defaultSelectedRecords),
122645
122284
  selectedRecords = _useState2[0],
122646
122285
  setSelectedRecords = _useState2[1];
122286
+ (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {
122287
+ var _config$selectedRowKe, _config2;
122288
+ setSelectedRowKeys((_config$selectedRowKe = (_config2 = config) == null ? void 0 : _config2.selectedRowKeys) != null ? _config$selectedRowKe : []);
122289
+ }, [config.selectedRowKeys]);
122647
122290
  function _onChange(value, records) {
122648
122291
  if (primaryKey) {
122649
122292
  var newValue = value.filter(function (v) {
@@ -122679,29 +122322,32 @@ function useTableSelection(config, primaryKey) {
122679
122322
  config.onChange(value, records);
122680
122323
  }
122681
122324
  }
122682
- var renderCheckBox = function renderCheckBox(props) {
122325
+ var renderCheckBox = function renderCheckBox(props, record) {
122683
122326
  var primaryKey = props.primaryKey,
122327
+ _primaryKey = props._primaryKey,
122684
122328
  others = _objectWithoutPropertiesLoose(props, _excluded);
122685
122329
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_alicloudfe_components__WEBPACK_IMPORTED_MODULE_2__.Checkbox, _extends({
122686
122330
  checked: selectedRowKeys.includes(primaryKey),
122687
122331
  onChange: function onChange(checked) {
122332
+ var _config3;
122333
+ (_config3 = config) == null ? void 0 : _config3.onSelect == null ? void 0 : _config3.onSelect(checked, record, records);
122688
122334
  if (checked) {
122689
- _onChange == null ? void 0 : _onChange([].concat(_toConsumableArray(selectedRowKeys), [primaryKey]), [props]);
122335
+ _onChange == null ? void 0 : _onChange([].concat(_toConsumableArray(selectedRowKeys), [primaryKey]), [record]);
122690
122336
  } else {
122691
122337
  _onChange == null ? void 0 : _onChange(selectedRowKeys.filter(function (item) {
122692
122338
  return item !== primaryKey;
122693
- }), [props]);
122339
+ }), [record]);
122694
122340
  }
122695
122341
  }
122696
122342
  }, others));
122697
122343
  };
122698
122344
  var getProps = function getProps(record, index) {
122699
- var _config2, _config3;
122700
- var propResult = (_config2 = config) == null ? void 0 : _config2.getProps == null ? void 0 : _config2.getProps(record, index);
122345
+ var _config4, _config5;
122346
+ var propResult = (_config4 = config) == null ? void 0 : _config4.getProps == null ? void 0 : _config4.getProps(record, index);
122701
122347
  // console.log('propResult', propResult, selectedRowKeys);
122702
122348
  var resultProps = _extends({}, record, propResult);
122703
122349
  var primaryKey = record == null ? void 0 : record[resultProps == null ? void 0 : resultProps['_primaryKey']];
122704
- if (((_config3 = config) == null ? void 0 : _config3.mode) === 'single') {
122350
+ if (((_config5 = config) == null ? void 0 : _config5.mode) === 'single') {
122705
122351
  return resultProps;
122706
122352
  }
122707
122353
  return _extends({}, resultProps, {
@@ -122711,13 +122357,13 @@ function useTableSelection(config, primaryKey) {
122711
122357
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(Tooltip, {
122712
122358
  trigger: renderCheckBox(_extends({}, propResult, {
122713
122359
  primaryKey: primaryKey
122714
- })),
122360
+ }), record),
122715
122361
  align: "t"
122716
122362
  }, propResult.disabledTooltip);
122717
122363
  }
122718
122364
  return renderCheckBox(_extends({}, propResult, {
122719
122365
  primaryKey: primaryKey
122720
- }));
122366
+ }), record);
122721
122367
  }
122722
122368
  });
122723
122369
  };
@@ -124182,6 +123828,388 @@ function dequal(foo, bar) {
124182
123828
  }
124183
123829
 
124184
123830
 
123831
+ /***/ }),
123832
+
123833
+ /***/ 97582:
123834
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
123835
+
123836
+ "use strict";
123837
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
123838
+ /* harmony export */ "pi": () => (/* binding */ __assign)
123839
+ /* harmony export */ });
123840
+ /* 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 */
123841
+ /******************************************************************************
123842
+ Copyright (c) Microsoft Corporation.
123843
+
123844
+ Permission to use, copy, modify, and/or distribute this software for any
123845
+ purpose with or without fee is hereby granted.
123846
+
123847
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
123848
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
123849
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
123850
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
123851
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
123852
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
123853
+ PERFORMANCE OF THIS SOFTWARE.
123854
+ ***************************************************************************** */
123855
+ /* global Reflect, Promise, SuppressedError, Symbol */
123856
+
123857
+ var extendStatics = function(d, b) {
123858
+ extendStatics = Object.setPrototypeOf ||
123859
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
123860
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
123861
+ return extendStatics(d, b);
123862
+ };
123863
+
123864
+ function __extends(d, b) {
123865
+ if (typeof b !== "function" && b !== null)
123866
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
123867
+ extendStatics(d, b);
123868
+ function __() { this.constructor = d; }
123869
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
123870
+ }
123871
+
123872
+ var __assign = function() {
123873
+ __assign = Object.assign || function __assign(t) {
123874
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
123875
+ s = arguments[i];
123876
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
123877
+ }
123878
+ return t;
123879
+ }
123880
+ return __assign.apply(this, arguments);
123881
+ }
123882
+
123883
+ function __rest(s, e) {
123884
+ var t = {};
123885
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
123886
+ t[p] = s[p];
123887
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
123888
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
123889
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
123890
+ t[p[i]] = s[p[i]];
123891
+ }
123892
+ return t;
123893
+ }
123894
+
123895
+ function __decorate(decorators, target, key, desc) {
123896
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
123897
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
123898
+ 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;
123899
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
123900
+ }
123901
+
123902
+ function __param(paramIndex, decorator) {
123903
+ return function (target, key) { decorator(target, key, paramIndex); }
123904
+ }
123905
+
123906
+ function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
123907
+ function accept(f) { if (f !== void 0 && typeof f !== "function") throw new TypeError("Function expected"); return f; }
123908
+ var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
123909
+ var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
123910
+ var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
123911
+ var _, done = false;
123912
+ for (var i = decorators.length - 1; i >= 0; i--) {
123913
+ var context = {};
123914
+ for (var p in contextIn) context[p] = p === "access" ? {} : contextIn[p];
123915
+ for (var p in contextIn.access) context.access[p] = contextIn.access[p];
123916
+ context.addInitializer = function (f) { if (done) throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); };
123917
+ var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);
123918
+ if (kind === "accessor") {
123919
+ if (result === void 0) continue;
123920
+ if (result === null || typeof result !== "object") throw new TypeError("Object expected");
123921
+ if (_ = accept(result.get)) descriptor.get = _;
123922
+ if (_ = accept(result.set)) descriptor.set = _;
123923
+ if (_ = accept(result.init)) initializers.unshift(_);
123924
+ }
123925
+ else if (_ = accept(result)) {
123926
+ if (kind === "field") initializers.unshift(_);
123927
+ else descriptor[key] = _;
123928
+ }
123929
+ }
123930
+ if (target) Object.defineProperty(target, contextIn.name, descriptor);
123931
+ done = true;
123932
+ };
123933
+
123934
+ function __runInitializers(thisArg, initializers, value) {
123935
+ var useValue = arguments.length > 2;
123936
+ for (var i = 0; i < initializers.length; i++) {
123937
+ value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
123938
+ }
123939
+ return useValue ? value : void 0;
123940
+ };
123941
+
123942
+ function __propKey(x) {
123943
+ return typeof x === "symbol" ? x : "".concat(x);
123944
+ };
123945
+
123946
+ function __setFunctionName(f, name, prefix) {
123947
+ if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : "";
123948
+ return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
123949
+ };
123950
+
123951
+ function __metadata(metadataKey, metadataValue) {
123952
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
123953
+ }
123954
+
123955
+ function __awaiter(thisArg, _arguments, P, generator) {
123956
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
123957
+ return new (P || (P = Promise))(function (resolve, reject) {
123958
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
123959
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
123960
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
123961
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
123962
+ });
123963
+ }
123964
+
123965
+ function __generator(thisArg, body) {
123966
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
123967
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
123968
+ function verb(n) { return function (v) { return step([n, v]); }; }
123969
+ function step(op) {
123970
+ if (f) throw new TypeError("Generator is already executing.");
123971
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
123972
+ 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;
123973
+ if (y = 0, t) op = [op[0] & 2, t.value];
123974
+ switch (op[0]) {
123975
+ case 0: case 1: t = op; break;
123976
+ case 4: _.label++; return { value: op[1], done: false };
123977
+ case 5: _.label++; y = op[1]; op = [0]; continue;
123978
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
123979
+ default:
123980
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
123981
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
123982
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
123983
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
123984
+ if (t[2]) _.ops.pop();
123985
+ _.trys.pop(); continue;
123986
+ }
123987
+ op = body.call(thisArg, _);
123988
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
123989
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
123990
+ }
123991
+ }
123992
+
123993
+ var __createBinding = Object.create ? (function(o, m, k, k2) {
123994
+ if (k2 === undefined) k2 = k;
123995
+ var desc = Object.getOwnPropertyDescriptor(m, k);
123996
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
123997
+ desc = { enumerable: true, get: function() { return m[k]; } };
123998
+ }
123999
+ Object.defineProperty(o, k2, desc);
124000
+ }) : (function(o, m, k, k2) {
124001
+ if (k2 === undefined) k2 = k;
124002
+ o[k2] = m[k];
124003
+ });
124004
+
124005
+ function __exportStar(m, o) {
124006
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);
124007
+ }
124008
+
124009
+ function __values(o) {
124010
+ var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
124011
+ if (m) return m.call(o);
124012
+ if (o && typeof o.length === "number") return {
124013
+ next: function () {
124014
+ if (o && i >= o.length) o = void 0;
124015
+ return { value: o && o[i++], done: !o };
124016
+ }
124017
+ };
124018
+ throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
124019
+ }
124020
+
124021
+ function __read(o, n) {
124022
+ var m = typeof Symbol === "function" && o[Symbol.iterator];
124023
+ if (!m) return o;
124024
+ var i = m.call(o), r, ar = [], e;
124025
+ try {
124026
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
124027
+ }
124028
+ catch (error) { e = { error: error }; }
124029
+ finally {
124030
+ try {
124031
+ if (r && !r.done && (m = i["return"])) m.call(i);
124032
+ }
124033
+ finally { if (e) throw e.error; }
124034
+ }
124035
+ return ar;
124036
+ }
124037
+
124038
+ /** @deprecated */
124039
+ function __spread() {
124040
+ for (var ar = [], i = 0; i < arguments.length; i++)
124041
+ ar = ar.concat(__read(arguments[i]));
124042
+ return ar;
124043
+ }
124044
+
124045
+ /** @deprecated */
124046
+ function __spreadArrays() {
124047
+ for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
124048
+ for (var r = Array(s), k = 0, i = 0; i < il; i++)
124049
+ for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
124050
+ r[k] = a[j];
124051
+ return r;
124052
+ }
124053
+
124054
+ function __spreadArray(to, from, pack) {
124055
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
124056
+ if (ar || !(i in from)) {
124057
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
124058
+ ar[i] = from[i];
124059
+ }
124060
+ }
124061
+ return to.concat(ar || Array.prototype.slice.call(from));
124062
+ }
124063
+
124064
+ function __await(v) {
124065
+ return this instanceof __await ? (this.v = v, this) : new __await(v);
124066
+ }
124067
+
124068
+ function __asyncGenerator(thisArg, _arguments, generator) {
124069
+ if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
124070
+ var g = generator.apply(thisArg, _arguments || []), i, q = [];
124071
+ return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
124072
+ 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); }); }; }
124073
+ function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
124074
+ function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
124075
+ function fulfill(value) { resume("next", value); }
124076
+ function reject(value) { resume("throw", value); }
124077
+ function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
124078
+ }
124079
+
124080
+ function __asyncDelegator(o) {
124081
+ var i, p;
124082
+ return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
124083
+ 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; }
124084
+ }
124085
+
124086
+ function __asyncValues(o) {
124087
+ if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
124088
+ var m = o[Symbol.asyncIterator], i;
124089
+ 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);
124090
+ 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); }); }; }
124091
+ function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
124092
+ }
124093
+
124094
+ function __makeTemplateObject(cooked, raw) {
124095
+ if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
124096
+ return cooked;
124097
+ };
124098
+
124099
+ var __setModuleDefault = Object.create ? (function(o, v) {
124100
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
124101
+ }) : function(o, v) {
124102
+ o["default"] = v;
124103
+ };
124104
+
124105
+ function __importStar(mod) {
124106
+ if (mod && mod.__esModule) return mod;
124107
+ var result = {};
124108
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
124109
+ __setModuleDefault(result, mod);
124110
+ return result;
124111
+ }
124112
+
124113
+ function __importDefault(mod) {
124114
+ return (mod && mod.__esModule) ? mod : { default: mod };
124115
+ }
124116
+
124117
+ function __classPrivateFieldGet(receiver, state, kind, f) {
124118
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
124119
+ 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");
124120
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
124121
+ }
124122
+
124123
+ function __classPrivateFieldSet(receiver, state, value, kind, f) {
124124
+ if (kind === "m") throw new TypeError("Private method is not writable");
124125
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
124126
+ 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");
124127
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
124128
+ }
124129
+
124130
+ function __classPrivateFieldIn(state, receiver) {
124131
+ if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function")) throw new TypeError("Cannot use 'in' operator on non-object");
124132
+ return typeof state === "function" ? receiver === state : state.has(receiver);
124133
+ }
124134
+
124135
+ function __addDisposableResource(env, value, async) {
124136
+ if (value !== null && value !== void 0) {
124137
+ if (typeof value !== "object") throw new TypeError("Object expected.");
124138
+ var dispose;
124139
+ if (async) {
124140
+ if (!Symbol.asyncDispose) throw new TypeError("Symbol.asyncDispose is not defined.");
124141
+ dispose = value[Symbol.asyncDispose];
124142
+ }
124143
+ if (dispose === void 0) {
124144
+ if (!Symbol.dispose) throw new TypeError("Symbol.dispose is not defined.");
124145
+ dispose = value[Symbol.dispose];
124146
+ }
124147
+ if (typeof dispose !== "function") throw new TypeError("Object not disposable.");
124148
+ env.stack.push({ value: value, dispose: dispose, async: async });
124149
+ }
124150
+ else if (async) {
124151
+ env.stack.push({ async: true });
124152
+ }
124153
+ return value;
124154
+ }
124155
+
124156
+ var _SuppressedError = typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
124157
+ var e = new Error(message);
124158
+ return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
124159
+ };
124160
+
124161
+ function __disposeResources(env) {
124162
+ function fail(e) {
124163
+ env.error = env.hasError ? new _SuppressedError(e, env.error, "An error was suppressed during disposal.") : e;
124164
+ env.hasError = true;
124165
+ }
124166
+ function next() {
124167
+ while (env.stack.length) {
124168
+ var rec = env.stack.pop();
124169
+ try {
124170
+ var result = rec.dispose && rec.dispose.call(rec.value);
124171
+ if (rec.async) return Promise.resolve(result).then(next, function(e) { fail(e); return next(); });
124172
+ }
124173
+ catch (e) {
124174
+ fail(e);
124175
+ }
124176
+ }
124177
+ if (env.hasError) throw env.error;
124178
+ }
124179
+ return next();
124180
+ }
124181
+
124182
+ /* unused harmony default export */ var __WEBPACK_DEFAULT_EXPORT__ = ({
124183
+ __extends,
124184
+ __assign,
124185
+ __rest,
124186
+ __decorate,
124187
+ __param,
124188
+ __metadata,
124189
+ __awaiter,
124190
+ __generator,
124191
+ __createBinding,
124192
+ __exportStar,
124193
+ __values,
124194
+ __read,
124195
+ __spread,
124196
+ __spreadArrays,
124197
+ __spreadArray,
124198
+ __await,
124199
+ __asyncGenerator,
124200
+ __asyncDelegator,
124201
+ __asyncValues,
124202
+ __makeTemplateObject,
124203
+ __importStar,
124204
+ __importDefault,
124205
+ __classPrivateFieldGet,
124206
+ __classPrivateFieldSet,
124207
+ __classPrivateFieldIn,
124208
+ __addDisposableResource,
124209
+ __disposeResources,
124210
+ });
124211
+
124212
+
124185
124213
  /***/ }),
124186
124214
 
124187
124215
  /***/ 44400: