@opensumi/ide-components 2.15.1 → 2.15.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (114) hide show
  1. package/dist/index.js +197 -197
  2. package/lib/badge/index.js +3 -3
  3. package/lib/badge/index.js.map +1 -1
  4. package/lib/button/index.js +3 -3
  5. package/lib/button/index.js.map +1 -1
  6. package/lib/checkbox/index.d.ts +1 -0
  7. package/lib/checkbox/index.d.ts.map +1 -1
  8. package/lib/checkbox/index.js +4 -4
  9. package/lib/checkbox/index.js.map +1 -1
  10. package/lib/click-outside/index.js +2 -2
  11. package/lib/click-outside/index.js.map +1 -1
  12. package/lib/dialog/index.js +2 -2
  13. package/lib/dialog/index.js.map +1 -1
  14. package/lib/dropdown/dropdown.js +4 -4
  15. package/lib/dropdown/dropdown.js.map +1 -1
  16. package/lib/dropdown/index.js +1 -1
  17. package/lib/dropdown/index.js.map +1 -1
  18. package/lib/icon/icon.js +3 -3
  19. package/lib/icon/icon.js.map +1 -1
  20. package/lib/icon/iconfont/iconManager.js +1 -1
  21. package/lib/icon/iconfont/iconManager.js.map +1 -1
  22. package/lib/icon/iconfont-cn.js +3 -3
  23. package/lib/icon/iconfont-cn.js.map +1 -1
  24. package/lib/icon/index.js +2 -2
  25. package/lib/icon/index.js.map +1 -1
  26. package/lib/index.js +20 -20
  27. package/lib/index.js.map +1 -1
  28. package/lib/input/HistoryInputBox.js +1 -1
  29. package/lib/input/HistoryInputBox.js.map +1 -1
  30. package/lib/input/Input.js +4 -4
  31. package/lib/input/Input.js.map +1 -1
  32. package/lib/input/ProxiedInput.js +1 -1
  33. package/lib/input/ProxiedInput.js.map +1 -1
  34. package/lib/input/TextArea.js +1 -1
  35. package/lib/input/TextArea.js.map +1 -1
  36. package/lib/input/ValidateInput.js +4 -4
  37. package/lib/input/ValidateInput.js.map +1 -1
  38. package/lib/input/index.js +4 -4
  39. package/lib/input/index.js.map +1 -1
  40. package/lib/loading/index.js +1 -1
  41. package/lib/loading/index.js.map +1 -1
  42. package/lib/loading/loading.view.js +1 -1
  43. package/lib/loading/loading.view.js.map +1 -1
  44. package/lib/locale-context-provider.js +1 -1
  45. package/lib/locale-context-provider.js.map +1 -1
  46. package/lib/menu/MenuItem.js +3 -3
  47. package/lib/menu/MenuItem.js.map +1 -1
  48. package/lib/menu/SubMenu.js +2 -2
  49. package/lib/menu/SubMenu.js.map +1 -1
  50. package/lib/menu/index.js +8 -8
  51. package/lib/menu/index.js.map +1 -1
  52. package/lib/message/index.js +1 -1
  53. package/lib/message/index.js.map +1 -1
  54. package/lib/message/message.js +7 -7
  55. package/lib/message/message.js.map +1 -1
  56. package/lib/modal/Modal.js +7 -7
  57. package/lib/modal/Modal.js.map +1 -1
  58. package/lib/modal/index.js +1 -1
  59. package/lib/modal/index.js.map +1 -1
  60. package/lib/notification/index.js +3 -3
  61. package/lib/notification/index.js.map +1 -1
  62. package/lib/notification/notification.js +7 -7
  63. package/lib/notification/notification.js.map +1 -1
  64. package/lib/overlay/index.js +3 -3
  65. package/lib/overlay/index.js.map +1 -1
  66. package/lib/popover/index.js +3 -3
  67. package/lib/popover/index.js.map +1 -1
  68. package/lib/recycle-list/RecycleList.js +4 -4
  69. package/lib/recycle-list/RecycleList.js.map +1 -1
  70. package/lib/recycle-list/index.js +1 -1
  71. package/lib/recycle-list/index.js.map +1 -1
  72. package/lib/recycle-tree/RecycleTree.js +3 -3
  73. package/lib/recycle-tree/RecycleTree.js.map +1 -1
  74. package/lib/recycle-tree/TreeNodeRendererWrap.js +1 -1
  75. package/lib/recycle-tree/TreeNodeRendererWrap.js.map +1 -1
  76. package/lib/recycle-tree/basic/index.js +4 -4
  77. package/lib/recycle-tree/basic/index.js.map +1 -1
  78. package/lib/recycle-tree/basic/menubar-item.js +2 -2
  79. package/lib/recycle-tree/basic/menubar-item.js.map +1 -1
  80. package/lib/recycle-tree/basic/tree-node.js +2 -2
  81. package/lib/recycle-tree/basic/tree-node.js.map +1 -1
  82. package/lib/recycle-tree/decorators/Adaptive/index.js +1 -1
  83. package/lib/recycle-tree/decorators/Adaptive/index.js.map +1 -1
  84. package/lib/recycle-tree/decorators/Filter/index.js +3 -3
  85. package/lib/recycle-tree/decorators/Filter/index.js.map +1 -1
  86. package/lib/recycle-tree/decorators/index.js +2 -2
  87. package/lib/recycle-tree/decorators/index.js.map +1 -1
  88. package/lib/recycle-tree/index.js +7 -7
  89. package/lib/recycle-tree/index.js.map +1 -1
  90. package/lib/recycle-tree/prompt/index.js +3 -3
  91. package/lib/recycle-tree/prompt/index.js.map +1 -1
  92. package/lib/recycle-tree/tree/decoration/index.js +3 -3
  93. package/lib/recycle-tree/tree/decoration/index.js.map +1 -1
  94. package/lib/recycle-tree/tree/index.js +4 -4
  95. package/lib/recycle-tree/tree/index.js.map +1 -1
  96. package/lib/recycle-tree/tree/model/index.js +1 -1
  97. package/lib/recycle-tree/tree/model/index.js.map +1 -1
  98. package/lib/recycle-tree/types/index.js +3 -3
  99. package/lib/recycle-tree/types/index.js.map +1 -1
  100. package/lib/scrollbars/index.js +5 -5
  101. package/lib/scrollbars/index.js.map +1 -1
  102. package/lib/select/index.js +3 -3
  103. package/lib/select/index.js.map +1 -1
  104. package/lib/tabs/index.js +3 -3
  105. package/lib/tabs/index.js.map +1 -1
  106. package/lib/tooltip/index.js +2 -2
  107. package/lib/tooltip/index.js.map +1 -1
  108. package/lib/utils/deprecated.js +2 -2
  109. package/lib/utils/deprecated.js.map +1 -1
  110. package/lib/utils/index.js +9 -9
  111. package/lib/utils/index.js.map +1 -1
  112. package/lib/utils/raf.js +1 -1
  113. package/lib/utils/raf.js.map +1 -1
  114. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -1766,15 +1766,15 @@ exports.default = _default;
1766
1766
 
1767
1767
  Object.defineProperty(exports, "__esModule", { value: true });
1768
1768
  const tslib_1 = __webpack_require__(2);
1769
- (0, tslib_1.__exportStar)(__webpack_require__(255), exports);
1770
- (0, tslib_1.__exportStar)(__webpack_require__(256), exports);
1771
- (0, tslib_1.__exportStar)(__webpack_require__(101), exports);
1772
- (0, tslib_1.__exportStar)(__webpack_require__(103), exports);
1773
- (0, tslib_1.__exportStar)(__webpack_require__(102), exports);
1774
- (0, tslib_1.__exportStar)(__webpack_require__(20), exports);
1775
- (0, tslib_1.__exportStar)(__webpack_require__(68), exports);
1776
- (0, tslib_1.__exportStar)(__webpack_require__(104), exports);
1777
- (0, tslib_1.__exportStar)(__webpack_require__(258), exports);
1769
+ tslib_1.__exportStar(__webpack_require__(255), exports);
1770
+ tslib_1.__exportStar(__webpack_require__(256), exports);
1771
+ tslib_1.__exportStar(__webpack_require__(101), exports);
1772
+ tslib_1.__exportStar(__webpack_require__(103), exports);
1773
+ tslib_1.__exportStar(__webpack_require__(102), exports);
1774
+ tslib_1.__exportStar(__webpack_require__(20), exports);
1775
+ tslib_1.__exportStar(__webpack_require__(68), exports);
1776
+ tslib_1.__exportStar(__webpack_require__(104), exports);
1777
+ tslib_1.__exportStar(__webpack_require__(258), exports);
1778
1778
 
1779
1779
 
1780
1780
  /***/ }),
@@ -1920,8 +1920,8 @@ exports.default = warningOnce;
1920
1920
  Object.defineProperty(exports, "__esModule", { value: true });
1921
1921
  exports.createFromIconfontCN = void 0;
1922
1922
  const tslib_1 = __webpack_require__(2);
1923
- (0, tslib_1.__exportStar)(__webpack_require__(95), exports);
1924
- (0, tslib_1.__exportStar)(__webpack_require__(64), exports);
1923
+ tslib_1.__exportStar(__webpack_require__(95), exports);
1924
+ tslib_1.__exportStar(__webpack_require__(64), exports);
1925
1925
  var iconfont_cn_1 = __webpack_require__(190);
1926
1926
  Object.defineProperty(exports, "createFromIconfontCN", { enumerable: true, get: function () { return iconfont_cn_1.createFromIconfontCN; } });
1927
1927
 
@@ -1934,9 +1934,9 @@ Object.defineProperty(exports, "createFromIconfontCN", { enumerable: true, get:
1934
1934
 
1935
1935
  Object.defineProperty(exports, "__esModule", { value: true });
1936
1936
  const tslib_1 = __webpack_require__(2);
1937
- (0, tslib_1.__exportStar)(__webpack_require__(252), exports);
1938
- (0, tslib_1.__exportStar)(__webpack_require__(253), exports);
1939
- (0, tslib_1.__exportStar)(__webpack_require__(254), exports);
1937
+ tslib_1.__exportStar(__webpack_require__(252), exports);
1938
+ tslib_1.__exportStar(__webpack_require__(253), exports);
1939
+ tslib_1.__exportStar(__webpack_require__(254), exports);
1940
1940
 
1941
1941
 
1942
1942
  /***/ }),
@@ -2020,9 +2020,9 @@ function addEventListenerWrap(target, eventType, cb, option) {
2020
2020
  Object.defineProperty(exports, "__esModule", { value: true });
2021
2021
  exports.Button = void 0;
2022
2022
  const tslib_1 = __webpack_require__(2);
2023
- const react_1 = (0, tslib_1.__importDefault)(__webpack_require__(1));
2023
+ const react_1 = tslib_1.__importDefault(__webpack_require__(1));
2024
2024
  const dropdown_1 = __webpack_require__(125);
2025
- const classnames_1 = (0, tslib_1.__importDefault)(__webpack_require__(4));
2025
+ const classnames_1 = tslib_1.__importDefault(__webpack_require__(4));
2026
2026
  __webpack_require__(187);
2027
2027
  const icon_1 = __webpack_require__(21);
2028
2028
  const LoadingCircle = () => (react_1.default.createElement("svg", { viewBox: '0 0 1024 1024', focusable: 'false', className: 'kt-button-anticon-spin', "data-icon": 'loading', width: '1em', height: '1em', fill: 'currentColor', "aria-hidden": 'true' },
@@ -2053,7 +2053,7 @@ function noop() { }
2053
2053
  * ```
2054
2054
  */
2055
2055
  exports.Button = react_1.default.memo((_a) => {
2056
- var { children, loading, className, type = 'primary', htmlType, size, ghost = false, onClick, disabled, block, iconClass, icon, more, moreIconClass, menu, title, onVisibleChange } = _a, otherProps = (0, tslib_1.__rest)(_a, ["children", "loading", "className", "type", "htmlType", "size", "ghost", "onClick", "disabled", "block", "iconClass", "icon", "more", "moreIconClass", "menu", "title", "onVisibleChange"]);
2056
+ var { children, loading, className, type = 'primary', htmlType, size, ghost = false, onClick, disabled, block, iconClass, icon, more, moreIconClass, menu, title, onVisibleChange } = _a, otherProps = tslib_1.__rest(_a, ["children", "loading", "className", "type", "htmlType", "size", "ghost", "onClick", "disabled", "block", "iconClass", "icon", "more", "moreIconClass", "menu", "title", "onVisibleChange"]);
2057
2057
  const classes = (0, classnames_1.default)('kt-button', className, {
2058
2058
  [`kt-${type}-button-loading`]: loading,
2059
2059
  [`ghost-${type}-button`]: ghost && !loading && type !== 'link',
@@ -4150,10 +4150,10 @@ module.exports = function (exec) {
4150
4150
 
4151
4151
  Object.defineProperty(exports, "__esModule", { value: true });
4152
4152
  const tslib_1 = __webpack_require__(2);
4153
- (0, tslib_1.__exportStar)(__webpack_require__(251), exports);
4154
- (0, tslib_1.__exportStar)(__webpack_require__(39), exports);
4155
- (0, tslib_1.__exportStar)(__webpack_require__(259), exports);
4156
- (0, tslib_1.__exportStar)(__webpack_require__(264), exports);
4153
+ tslib_1.__exportStar(__webpack_require__(251), exports);
4154
+ tslib_1.__exportStar(__webpack_require__(39), exports);
4155
+ tslib_1.__exportStar(__webpack_require__(259), exports);
4156
+ tslib_1.__exportStar(__webpack_require__(264), exports);
4157
4157
 
4158
4158
 
4159
4159
  /***/ }),
@@ -4234,7 +4234,7 @@ class TreeNode {
4234
4234
  }
4235
4235
  get whenReady() {
4236
4236
  // 保障节点是否完成的标识位
4237
- return (() => (0, tslib_1.__awaiter)(this, void 0, void 0, function* () { }))();
4237
+ return (() => tslib_1.__awaiter(this, void 0, void 0, function* () { }))();
4238
4238
  }
4239
4239
  get type() {
4240
4240
  return types_1.TreeNodeType.TreeNode;
@@ -4369,7 +4369,7 @@ class CompositeTreeNode extends TreeNode {
4369
4369
  * @private
4370
4370
  * @memberof CompositeTreeNode
4371
4371
  */
4372
- this.handleWatchEvent = (event) => (0, tslib_1.__awaiter)(this, void 0, void 0, function* () {
4372
+ this.handleWatchEvent = (event) => tslib_1.__awaiter(this, void 0, void 0, function* () {
4373
4373
  this.watcher.notifyWillProcessWatchEvent(this, event);
4374
4374
  if (event.type === types_1.WatchEvent.Moved) {
4375
4375
  const { oldPath, newPath } = event;
@@ -4579,7 +4579,7 @@ class CompositeTreeNode extends TreeNode {
4579
4579
  * 一旦返回的Promise.resolve,“CompositeTreeNode#children” 便可以访问到对于节点
4580
4580
  */
4581
4581
  ensureLoaded() {
4582
- return (0, tslib_1.__awaiter)(this, void 0, void 0, function* () {
4582
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
4583
4583
  if (this._children) {
4584
4584
  return;
4585
4585
  }
@@ -4588,7 +4588,7 @@ class CompositeTreeNode extends TreeNode {
4588
4588
  }
4589
4589
  // 展开节点
4590
4590
  setExpanded(ensureVisible = true, quiet = false) {
4591
- return (0, tslib_1.__awaiter)(this, void 0, void 0, function* () {
4591
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
4592
4592
  // 根节点不可折叠
4593
4593
  if (CompositeTreeNode.isRoot(this)) {
4594
4594
  return;
@@ -4656,7 +4656,7 @@ class CompositeTreeNode extends TreeNode {
4656
4656
  }
4657
4657
  // 静默刷新子节点, 即不触发分支更新事件
4658
4658
  forceReloadChildrenQuiet(expandedPaths = this.getAllExpandedNodePath(), needReload = true) {
4659
- return (0, tslib_1.__awaiter)(this, void 0, void 0, function* () {
4659
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
4660
4660
  let forceLoadPath;
4661
4661
  if (this.isExpanded) {
4662
4662
  if (needReload) {
@@ -4740,7 +4740,7 @@ class CompositeTreeNode extends TreeNode {
4740
4740
  });
4741
4741
  }
4742
4742
  expandedAll(collapsedPaths = this.getAllCollapsedNodePath()) {
4743
- return (0, tslib_1.__awaiter)(this, void 0, void 0, function* () {
4743
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
4744
4744
  // 仅根节点使用
4745
4745
  if (!CompositeTreeNode.isRoot(this)) {
4746
4746
  return;
@@ -4759,7 +4759,7 @@ class CompositeTreeNode extends TreeNode {
4759
4759
  });
4760
4760
  }
4761
4761
  collapsedAll(expandedPaths = this.getAllExpandedNodePath()) {
4762
- return (0, tslib_1.__awaiter)(this, void 0, void 0, function* () {
4762
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
4763
4763
  // 仅根节点使用
4764
4764
  if (!CompositeTreeNode.isRoot(this)) {
4765
4765
  return;
@@ -5025,7 +5025,7 @@ class CompositeTreeNode extends TreeNode {
5025
5025
  * @memberof CompositeTreeNode
5026
5026
  */
5027
5027
  hardReloadChildren(quiet) {
5028
- return (0, tslib_1.__awaiter)(this, void 0, void 0, function* () {
5028
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
5029
5029
  if (this.hardReloadPromise) {
5030
5030
  return this.hardReloadPromise;
5031
5031
  }
@@ -5062,13 +5062,13 @@ class CompositeTreeNode extends TreeNode {
5062
5062
  });
5063
5063
  }
5064
5064
  refresh(paths = this.getAllExpandedNodePath()) {
5065
- return (0, tslib_1.__awaiter)(this, void 0, void 0, function* () {
5065
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
5066
5066
  this.refreshTasks.push(paths);
5067
5067
  return yield this.queue(this.doRefresh.bind(this));
5068
5068
  });
5069
5069
  }
5070
5070
  queue(promiseFactory) {
5071
- return (0, tslib_1.__awaiter)(this, void 0, void 0, function* () {
5071
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
5072
5072
  if (this.activeRefreshPromise) {
5073
5073
  this.queuedRefreshPromiseFactory = promiseFactory;
5074
5074
  if (!this.queuedRefreshPromise) {
@@ -5099,7 +5099,7 @@ class CompositeTreeNode extends TreeNode {
5099
5099
  });
5100
5100
  }
5101
5101
  doRefresh() {
5102
- return (0, tslib_1.__awaiter)(this, void 0, void 0, function* () {
5102
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
5103
5103
  const tasks = this.refreshTasks.slice(0);
5104
5104
  const paths = this.mergeExpandedPaths(tasks);
5105
5105
  return yield this.forceReloadChildrenQuiet(paths);
@@ -5152,7 +5152,7 @@ class CompositeTreeNode extends TreeNode {
5152
5152
  * @memberof CompositeTreeNode
5153
5153
  */
5154
5154
  forceLoadTreeNodeAtPath(path) {
5155
- return (0, tslib_1.__awaiter)(this, void 0, void 0, function* () {
5155
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
5156
5156
  const { splitPath, isRelative } = utils_1.Path;
5157
5157
  const pathFlag = isRelative(path) ? splitPath(path) : this.transformToRelativePath(path);
5158
5158
  if (pathFlag.length === 0) {
@@ -6023,10 +6023,10 @@ exports.getKaitianIcon = getKaitianIcon;
6023
6023
 
6024
6024
  Object.defineProperty(exports, "__esModule", { value: true });
6025
6025
  const tslib_1 = __webpack_require__(2);
6026
- (0, tslib_1.__exportStar)(__webpack_require__(193), exports);
6027
- (0, tslib_1.__exportStar)(__webpack_require__(66), exports);
6028
- (0, tslib_1.__exportStar)(__webpack_require__(195), exports);
6029
- (0, tslib_1.__exportStar)(__webpack_require__(197), exports);
6026
+ tslib_1.__exportStar(__webpack_require__(193), exports);
6027
+ tslib_1.__exportStar(__webpack_require__(66), exports);
6028
+ tslib_1.__exportStar(__webpack_require__(195), exports);
6029
+ tslib_1.__exportStar(__webpack_require__(197), exports);
6030
6030
 
6031
6031
 
6032
6032
  /***/ }),
@@ -6038,9 +6038,9 @@ const tslib_1 = __webpack_require__(2);
6038
6038
  Object.defineProperty(exports, "__esModule", { value: true });
6039
6039
  exports.Input = void 0;
6040
6040
  const tslib_1 = __webpack_require__(2);
6041
- const react_1 = (0, tslib_1.__importDefault)(__webpack_require__(1));
6042
- const classnames_1 = (0, tslib_1.__importDefault)(__webpack_require__(4));
6043
- const warning_1 = (0, tslib_1.__importDefault)(__webpack_require__(20));
6041
+ const react_1 = tslib_1.__importDefault(__webpack_require__(1));
6042
+ const classnames_1 = tslib_1.__importDefault(__webpack_require__(4));
6043
+ const warning_1 = tslib_1.__importDefault(__webpack_require__(20));
6044
6044
  const icon_1 = __webpack_require__(21);
6045
6045
  __webpack_require__(194);
6046
6046
  function isUndefined(obj) {
@@ -6068,7 +6068,7 @@ function resolveOnChange(target, e, onChange) {
6068
6068
  }
6069
6069
  }
6070
6070
  exports.Input = react_1.default.forwardRef((props, ref) => {
6071
- const { defaultValue, className, wrapperStyle, size = 'default', controls, onChange, selection, addonBefore, addonAfter, persistFocus = true, hasClear, afterClear, value = '', onValueChange, onPressEnter, onKeyDown } = props, restProps = (0, tslib_1.__rest)(props, ["defaultValue", "className", "wrapperStyle", "size", "controls", "onChange", "selection", "addonBefore", "addonAfter", "persistFocus", "hasClear", "afterClear", "value", "onValueChange", "onPressEnter", "onKeyDown"]);
6071
+ const { defaultValue, className, wrapperStyle, size = 'default', controls, onChange, selection, addonBefore, addonAfter, persistFocus = true, hasClear, afterClear, value = '', onValueChange, onPressEnter, onKeyDown } = props, restProps = tslib_1.__rest(props, ["defaultValue", "className", "wrapperStyle", "size", "controls", "onChange", "selection", "addonBefore", "addonAfter", "persistFocus", "hasClear", "afterClear", "value", "onValueChange", "onPressEnter", "onKeyDown"]);
6072
6072
  (0, warning_1.default)(!controls, '[@opensumi/ide-components Input]: `controls` was deprecated, please use `addonAfter` instead');
6073
6073
  const inputRef = react_1.default.useRef(null);
6074
6074
  const [isDirty, setIsDirty] = react_1.default.useState(false);
@@ -6285,7 +6285,7 @@ class PromptHandle {
6285
6285
  this.handleKeyup = (ev) => {
6286
6286
  this.onChangeEmitter.fire(this.$.value);
6287
6287
  };
6288
- this.handleKeydown = (ev) => (0, tslib_1.__awaiter)(this, void 0, void 0, function* () {
6288
+ this.handleKeydown = (ev) => tslib_1.__awaiter(this, void 0, void 0, function* () {
6289
6289
  if (ev.key === 'Escape') {
6290
6290
  const res = yield this.onCancelEmitter.fireAndAwait(this.$.value);
6291
6291
  // 当有回调函数报错或返回结果为false时,终止后续操作
@@ -6313,7 +6313,7 @@ class PromptHandle {
6313
6313
  this.handleFocus = () => {
6314
6314
  this.onFocusEmitter.fire(this.$.value);
6315
6315
  };
6316
- this.handleBlur = (ev) => (0, tslib_1.__awaiter)(this, void 0, void 0, function* () {
6316
+ this.handleBlur = (ev) => tslib_1.__awaiter(this, void 0, void 0, function* () {
6317
6317
  // 如果Input由于`react-virtualized`被从视图中卸载,在下一帧前Input的isConnected属性不会被更新
6318
6318
  yield delay(0);
6319
6319
  // 如果Input组件不在DOM中,但也没有被手动销毁,则表示由于其不在视窗内被`react-virtualized`卸载
@@ -6459,11 +6459,11 @@ exports.PromptHandle = PromptHandle;
6459
6459
  Object.defineProperty(exports, "__esModule", { value: true });
6460
6460
  exports.ScrollbarsVirtualList = exports.Scrollbars = void 0;
6461
6461
  const tslib_1 = __webpack_require__(2);
6462
- const react_1 = (0, tslib_1.__importDefault)(__webpack_require__(1));
6462
+ const react_1 = tslib_1.__importDefault(__webpack_require__(1));
6463
6463
  const react_custom_scrollbars_1 = __webpack_require__(267);
6464
- const classnames_1 = (0, tslib_1.__importDefault)(__webpack_require__(4));
6464
+ const classnames_1 = tslib_1.__importDefault(__webpack_require__(4));
6465
6465
  __webpack_require__(283);
6466
- const throttle_1 = (0, tslib_1.__importDefault)(__webpack_require__(112));
6466
+ const throttle_1 = tslib_1.__importDefault(__webpack_require__(112));
6467
6467
  const Scrollbars = ({ onScroll, onUpdate, forwardedRef, style, children, className, onReachBottom, }) => {
6468
6468
  const refSetter = react_1.default.useCallback((scrollbarsRef) => {
6469
6469
  if (scrollbarsRef) {
@@ -6495,10 +6495,10 @@ const Scrollbars = ({ onScroll, onUpdate, forwardedRef, style, children, classNa
6495
6495
  onUpdate && onUpdate(values);
6496
6496
  };
6497
6497
  return (react_1.default.createElement(react_custom_scrollbars_1.Scrollbars, { ref: refSetter, style: Object.assign(Object.assign({}, style), { overflow: 'hidden' }), className: (0, classnames_1.default)(className, 'kt-scrollbar'), onUpdate: handleUpdate, onScroll: onScroll, renderThumbVertical: (_a) => {
6498
- var { style } = _a, props = (0, tslib_1.__rest)(_a, ["style"]);
6498
+ var { style } = _a, props = tslib_1.__rest(_a, ["style"]);
6499
6499
  return react_1.default.createElement("div", Object.assign({}, props, { className: 'scrollbar-thumb-vertical' }));
6500
6500
  }, renderThumbHorizontal: (_a) => {
6501
- var { style } = _a, props = (0, tslib_1.__rest)(_a, ["style"]);
6501
+ var { style } = _a, props = tslib_1.__rest(_a, ["style"]);
6502
6502
  return react_1.default.createElement("div", Object.assign({}, props, { className: 'scrollbar-thumb-horizontal' }));
6503
6503
  } },
6504
6504
  react_1.default.createElement("div", { ref: (ref) => {
@@ -6723,10 +6723,10 @@ module.exports = exports['default'];
6723
6723
 
6724
6724
  Object.defineProperty(exports, "__esModule", { value: true });
6725
6725
  const tslib_1 = __webpack_require__(2);
6726
- const react_1 = (0, tslib_1.__importDefault)(__webpack_require__(1));
6727
- const rc_dropdown_1 = (0, tslib_1.__importDefault)(__webpack_require__(311));
6728
- const classnames_1 = (0, tslib_1.__importDefault)(__webpack_require__(4));
6729
- const RightOutlined_1 = (0, tslib_1.__importDefault)(__webpack_require__(172));
6726
+ const react_1 = tslib_1.__importDefault(__webpack_require__(1));
6727
+ const rc_dropdown_1 = tslib_1.__importDefault(__webpack_require__(311));
6728
+ const classnames_1 = tslib_1.__importDefault(__webpack_require__(4));
6729
+ const RightOutlined_1 = tslib_1.__importDefault(__webpack_require__(172));
6730
6730
  const type_1 = __webpack_require__(185);
6731
6731
  const warning_1 = __webpack_require__(20);
6732
6732
  const Placements = (0, type_1.tuple)('topLeft', 'topCenter', 'topRight', 'bottomLeft', 'bottomCenter', 'bottomRight');
@@ -7229,8 +7229,8 @@ exports.default = _default;
7229
7229
  Object.defineProperty(exports, "__esModule", { value: true });
7230
7230
  exports.Icon = exports._InternalIcon = exports.IconContextProvider = exports.IconContext = void 0;
7231
7231
  const tslib_1 = __webpack_require__(2);
7232
- const react_1 = (0, tslib_1.__importDefault)(__webpack_require__(1));
7233
- const classnames_1 = (0, tslib_1.__importDefault)(__webpack_require__(4));
7232
+ const react_1 = tslib_1.__importDefault(__webpack_require__(1));
7233
+ const classnames_1 = tslib_1.__importDefault(__webpack_require__(4));
7234
7234
  const iconManager_1 = __webpack_require__(96);
7235
7235
  const util_1 = __webpack_require__(64);
7236
7236
  __webpack_require__(189);
@@ -7256,7 +7256,7 @@ exports.IconContextProvider = IconContextProvider;
7256
7256
  * ```
7257
7257
  */
7258
7258
  const IconBase = function (props, ref) {
7259
- const { size = 'small', loading, icon, iconClass, className, tooltip, rotate, anim, fill, disabled, onClick, children, resourceOptions } = props, restProps = (0, tslib_1.__rest)(props, ["size", "loading", "icon", "iconClass", "className", "tooltip", "rotate", "anim", "fill", "disabled", "onClick", "children", "resourceOptions"]);
7259
+ const { size = 'small', loading, icon, iconClass, className, tooltip, rotate, anim, fill, disabled, onClick, children, resourceOptions } = props, restProps = tslib_1.__rest(props, ["size", "loading", "icon", "iconClass", "className", "tooltip", "rotate", "anim", "fill", "disabled", "onClick", "children", "resourceOptions"]);
7260
7260
  const iconShapeOptions = { rotate, anim, fill };
7261
7261
  let iconClx;
7262
7262
  if (icon) {
@@ -7305,7 +7305,7 @@ exports.Icon = react_1.default.memo(react_1.default.forwardRef(IconBase));
7305
7305
  Object.defineProperty(exports, "__esModule", { value: true });
7306
7306
  exports.iconManager = exports.defaultIconMap = exports.defaultIconfont = void 0;
7307
7307
  const tslib_1 = __webpack_require__(2);
7308
- const warning_1 = (0, tslib_1.__importDefault)(__webpack_require__(20));
7308
+ const warning_1 = tslib_1.__importDefault(__webpack_require__(20));
7309
7309
  const iconMap_1 = __webpack_require__(188);
7310
7310
  Object.defineProperty(exports, "defaultIconfont", { enumerable: true, get: function () { return iconMap_1.defaultIconfont; } });
7311
7311
  /**
@@ -7378,12 +7378,12 @@ exports.iconManager.update(defaultKtIconPrefix, exports.defaultIconMap);
7378
7378
  Object.defineProperty(exports, "__esModule", { value: true });
7379
7379
  exports.Overlay = void 0;
7380
7380
  const tslib_1 = __webpack_require__(2);
7381
- const react_1 = (0, tslib_1.__importDefault)(__webpack_require__(1));
7382
- const classnames_1 = (0, tslib_1.__importDefault)(__webpack_require__(4));
7381
+ const react_1 = tslib_1.__importDefault(__webpack_require__(1));
7382
+ const classnames_1 = tslib_1.__importDefault(__webpack_require__(4));
7383
7383
  const modal_1 = __webpack_require__(204);
7384
7384
  __webpack_require__(210);
7385
7385
  const Overlay = (_a) => {
7386
- var { maskClosable = false, closable = true, className, onClose, children, footer, title, getContainer } = _a, restProps = (0, tslib_1.__rest)(_a, ["maskClosable", "closable", "className", "onClose", "children", "footer", "title", "getContainer"]);
7386
+ var { maskClosable = false, closable = true, className, onClose, children, footer, title, getContainer } = _a, restProps = tslib_1.__rest(_a, ["maskClosable", "closable", "className", "onClose", "children", "footer", "title", "getContainer"]);
7387
7387
  return (react_1.default.createElement(modal_1.Modal, Object.assign({ footer: footer ? footer : null, maskClosable: maskClosable, closable: closable, onCancel: onClose, title: title, getContainer: getContainer, className: (0, classnames_1.default)('kt-overlay', className) }, restProps), children));
7388
7388
  };
7389
7389
  exports.Overlay = Overlay;
@@ -7398,12 +7398,12 @@ exports.Overlay = Overlay;
7398
7398
  Object.defineProperty(exports, "__esModule", { value: true });
7399
7399
  exports.destroyFns = void 0;
7400
7400
  const tslib_1 = __webpack_require__(2);
7401
- const react_1 = (0, tslib_1.__importDefault)(__webpack_require__(1));
7402
- const rc_dialog_1 = (0, tslib_1.__importDefault)(__webpack_require__(312));
7403
- const prop_types_1 = (0, tslib_1.__importDefault)(__webpack_require__(0));
7404
- const classnames_1 = (0, tslib_1.__importDefault)(__webpack_require__(4));
7405
- const addEventListener_1 = (0, tslib_1.__importDefault)(__webpack_require__(205));
7406
- const CloseOutlined_1 = (0, tslib_1.__importDefault)(__webpack_require__(99));
7401
+ const react_1 = tslib_1.__importDefault(__webpack_require__(1));
7402
+ const rc_dialog_1 = tslib_1.__importDefault(__webpack_require__(312));
7403
+ const prop_types_1 = tslib_1.__importDefault(__webpack_require__(0));
7404
+ const classnames_1 = tslib_1.__importDefault(__webpack_require__(4));
7405
+ const addEventListener_1 = tslib_1.__importDefault(__webpack_require__(205));
7406
+ const CloseOutlined_1 = tslib_1.__importDefault(__webpack_require__(99));
7407
7407
  const locale_1 = __webpack_require__(208);
7408
7408
  const button_1 = __webpack_require__(27);
7409
7409
  let mousePosition;
@@ -7445,7 +7445,7 @@ class Modal extends react_1.default.Component {
7445
7445
  react_1.default.createElement(button_1.Button, Object.assign({ type: okType, loading: confirmLoading, onClick: this.handleOk }, this.props.okButtonProps), okText || locale.okText)));
7446
7446
  };
7447
7447
  this.renderModal = () => {
7448
- const _a = this.props, { prefixCls: customizePrefixCls, footer, visible, wrapClassName, centered, getContainer, closeIcon } = _a, restProps = (0, tslib_1.__rest)(_a, ["prefixCls", "footer", "visible", "wrapClassName", "centered", "getContainer", "closeIcon"]);
7448
+ const _a = this.props, { prefixCls: customizePrefixCls, footer, visible, wrapClassName, centered, getContainer, closeIcon } = _a, restProps = tslib_1.__rest(_a, ["prefixCls", "footer", "visible", "wrapClassName", "centered", "getContainer", "closeIcon"]);
7449
7449
  const prefixCls = customizePrefixCls || 'kt-modal';
7450
7450
  const defaultFooter = this.renderFooter((0, locale_1.getConfirmLocale)());
7451
7451
  const closeIconToRender = (react_1.default.createElement("span", { className: `${prefixCls}-close-x` }, closeIcon || react_1.default.createElement(CloseOutlined_1.default, { className: `${prefixCls}-close-icon` })));
@@ -7510,7 +7510,7 @@ Modal.propTypes = {
7510
7510
  Object.defineProperty(exports, "__esModule", { value: true });
7511
7511
  exports.RecycleTree = exports.RenderErrorType = void 0;
7512
7512
  const tslib_1 = __webpack_require__(2);
7513
- const react_1 = (0, tslib_1.__importDefault)(__webpack_require__(1));
7513
+ const react_1 = tslib_1.__importDefault(__webpack_require__(1));
7514
7514
  const react_window_1 = __webpack_require__(119);
7515
7515
  const tree_1 = __webpack_require__(38);
7516
7516
  const prompt_1 = __webpack_require__(108);
@@ -7519,7 +7519,7 @@ const utils_1 = __webpack_require__(14);
7519
7519
  const TreeNodeRendererWrap_1 = __webpack_require__(110);
7520
7520
  const types_1 = __webpack_require__(22);
7521
7521
  const scrollbars_1 = __webpack_require__(71);
7522
- const fuzzy_1 = (0, tslib_1.__importDefault)(__webpack_require__(295));
7522
+ const fuzzy_1 = tslib_1.__importDefault(__webpack_require__(295));
7523
7523
  var RenderErrorType;
7524
7524
  (function (RenderErrorType) {
7525
7525
  RenderErrorType[RenderErrorType["RENDER_ITEM"] = 0] = "RENDER_ITEM";
@@ -7527,7 +7527,7 @@ var RenderErrorType;
7527
7527
  RenderErrorType[RenderErrorType["RENDER_ERROR"] = 2] = "RENDER_ERROR";
7528
7528
  })(RenderErrorType = exports.RenderErrorType || (exports.RenderErrorType = {}));
7529
7529
  const InnerElementType = react_1.default.forwardRef((props, ref) => {
7530
- const _a = props, { style } = _a, rest = (0, tslib_1.__rest)(_a, ["style"]);
7530
+ const _a = props, { style } = _a, rest = tslib_1.__rest(_a, ["style"]);
7531
7531
  return (react_1.default.createElement("div", Object.assign({ ref: ref, style: Object.assign(Object.assign({}, style), { height: `${parseFloat(style.height) + RecycleTree.PADDING_BOTTOM_SIZE}px` }) }, rest)));
7532
7532
  });
7533
7533
  class RecycleTree extends react_1.default.Component {
@@ -7621,7 +7621,7 @@ class RecycleTree extends react_1.default.Component {
7621
7621
  // 使用箭头函数绑定当前this
7622
7622
  this.promptNewTreeNode = (pathOrTreeNode) => this.promptNew(pathOrTreeNode);
7623
7623
  this.promptNewCompositeTreeNode = (pathOrTreeNode) => this.promptNew(pathOrTreeNode, types_1.TreeNodeType.CompositeTreeNode);
7624
- this.promptRename = (pathOrTreeNode, defaultName) => (0, tslib_1.__awaiter)(this, void 0, void 0, function* () {
7624
+ this.promptRename = (pathOrTreeNode, defaultName) => tslib_1.__awaiter(this, void 0, void 0, function* () {
7625
7625
  var _a;
7626
7626
  const { root } = this.props.model;
7627
7627
  const node = (typeof pathOrTreeNode === 'string' ? yield root.getTreeNodeByPath(pathOrTreeNode) : pathOrTreeNode);
@@ -7640,7 +7640,7 @@ class RecycleTree extends react_1.default.Component {
7640
7640
  (_a = this.listRef.current) === null || _a === void 0 ? void 0 : _a.scrollToItem(root.getIndexAtTreeNodeId(this.promptTargetID));
7641
7641
  return this.promptHandle;
7642
7642
  });
7643
- this.expandNode = (pathOrCompositeTreeNode) => (0, tslib_1.__awaiter)(this, void 0, void 0, function* () {
7643
+ this.expandNode = (pathOrCompositeTreeNode) => tslib_1.__awaiter(this, void 0, void 0, function* () {
7644
7644
  const { root } = this.props.model;
7645
7645
  const directory = typeof pathOrCompositeTreeNode === 'string'
7646
7646
  ? (yield root.getTreeNodeByPath(pathOrCompositeTreeNode))
@@ -7649,7 +7649,7 @@ class RecycleTree extends react_1.default.Component {
7649
7649
  return directory.setExpanded(true);
7650
7650
  }
7651
7651
  });
7652
- this.collapseNode = (pathOrCompositeTreeNode) => (0, tslib_1.__awaiter)(this, void 0, void 0, function* () {
7652
+ this.collapseNode = (pathOrCompositeTreeNode) => tslib_1.__awaiter(this, void 0, void 0, function* () {
7653
7653
  const { root } = this.props.model;
7654
7654
  const directory = typeof pathOrCompositeTreeNode === 'string'
7655
7655
  ? (yield root.getTreeNodeByPath(pathOrCompositeTreeNode))
@@ -7659,7 +7659,7 @@ class RecycleTree extends react_1.default.Component {
7659
7659
  }
7660
7660
  });
7661
7661
  this._isEnsuring = false;
7662
- this.ensureVisible = (pathOrTreeNode, align = 'smart', untilStable = false) => (0, tslib_1.__awaiter)(this, void 0, void 0, function* () {
7662
+ this.ensureVisible = (pathOrTreeNode, align = 'smart', untilStable = false) => tslib_1.__awaiter(this, void 0, void 0, function* () {
7663
7663
  if (this._isEnsuring) {
7664
7664
  // 同一时间段只能让一次定位节点的操作生效
7665
7665
  return;
@@ -7975,7 +7975,7 @@ class RecycleTree extends react_1.default.Component {
7975
7975
  }
7976
7976
  promptNew(pathOrTreeNode, type = types_1.TreeNodeType.TreeNode) {
7977
7977
  var _a;
7978
- return (0, tslib_1.__awaiter)(this, void 0, void 0, function* () {
7978
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
7979
7979
  const { root } = this.props.model;
7980
7980
  let node = typeof pathOrTreeNode === 'string' ? yield root.getTreeNodeByPath(pathOrTreeNode) : pathOrTreeNode;
7981
7981
  if (type !== types_1.TreeNodeType.TreeNode && type !== types_1.TreeNodeType.CompositeTreeNode) {
@@ -8028,7 +8028,7 @@ class RecycleTree extends react_1.default.Component {
8028
8028
  this.tryEnsureVisibleTimes = 0;
8029
8029
  return;
8030
8030
  }
8031
- utils_1.Event.once(this.props.model.onChange)(() => (0, tslib_1.__awaiter)(this, void 0, void 0, function* () {
8031
+ utils_1.Event.once(this.props.model.onChange)(() => tslib_1.__awaiter(this, void 0, void 0, function* () {
8032
8032
  var _a, _b;
8033
8033
  yield this.batchUpdatePromise;
8034
8034
  if (node.constructor === NewPromptHandle_1.NewPromptHandle && !node.destroyed) {
@@ -8580,7 +8580,7 @@ class Emitter {
8580
8580
  * @param timeout
8581
8581
  */
8582
8582
  fireAndAwait(event, timeout = 2000) {
8583
- return (0, tslib_1.__awaiter)(this, void 0, void 0, function* () {
8583
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
8584
8584
  if (this._listeners) {
8585
8585
  if (!this._deliveryQueue) {
8586
8586
  this._deliveryQueue = new linkedList_1.LinkedList();
@@ -8598,7 +8598,7 @@ class Emitter {
8598
8598
  });
8599
8599
  while (this._deliveryQueue.size > 0) {
8600
8600
  const [listener, event] = this._deliveryQueue.shift();
8601
- const promise = (() => (0, tslib_1.__awaiter)(this, void 0, void 0, function* () {
8601
+ const promise = (() => tslib_1.__awaiter(this, void 0, void 0, function* () {
8602
8602
  try {
8603
8603
  if (typeof listener === 'function') {
8604
8604
  return {
@@ -8687,7 +8687,7 @@ exports.PauseableEmitter = PauseableEmitter;
8687
8687
  var WaitUntilEvent;
8688
8688
  (function (WaitUntilEvent) {
8689
8689
  function fire(emitter, event, timeout) {
8690
- return (0, tslib_1.__awaiter)(this, void 0, void 0, function* () {
8690
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
8691
8691
  const waitables = [];
8692
8692
  const asyncEvent = Object.assign(event, {
8693
8693
  waitUntil: (thenable) => {
@@ -9474,9 +9474,9 @@ exports.CompositeDecoration = CompositeDecoration;
9474
9474
 
9475
9475
  Object.defineProperty(exports, "__esModule", { value: true });
9476
9476
  const tslib_1 = __webpack_require__(2);
9477
- (0, tslib_1.__exportStar)(__webpack_require__(70), exports);
9478
- (0, tslib_1.__exportStar)(__webpack_require__(266), exports);
9479
- (0, tslib_1.__exportStar)(__webpack_require__(109), exports);
9477
+ tslib_1.__exportStar(__webpack_require__(70), exports);
9478
+ tslib_1.__exportStar(__webpack_require__(266), exports);
9479
+ tslib_1.__exportStar(__webpack_require__(109), exports);
9480
9480
 
9481
9481
 
9482
9482
  /***/ }),
@@ -9515,7 +9515,7 @@ exports.NewPromptHandle = NewPromptHandle;
9515
9515
  Object.defineProperty(exports, "__esModule", { value: true });
9516
9516
  exports.NodeRendererWrap = void 0;
9517
9517
  const tslib_1 = __webpack_require__(2);
9518
- const react_1 = (0, tslib_1.__importDefault)(__webpack_require__(1));
9518
+ const react_1 = tslib_1.__importDefault(__webpack_require__(1));
9519
9519
  class NodeRendererWrap extends react_1.default.Component {
9520
9520
  render() {
9521
9521
  const { item, itemType, children, template, hasPrompt } = this.props;
@@ -9708,7 +9708,7 @@ module.exports = Symbol;
9708
9708
  Object.defineProperty(exports, "__esModule", { value: true });
9709
9709
  exports.ComponentContextProvider = exports.LocalizeContextProvider = exports.LocalizeContext = void 0;
9710
9710
  const tslib_1 = __webpack_require__(2);
9711
- const react_1 = (0, tslib_1.__importDefault)(__webpack_require__(1));
9711
+ const react_1 = tslib_1.__importDefault(__webpack_require__(1));
9712
9712
  const warning_1 = __webpack_require__(20);
9713
9713
  const icon_1 = __webpack_require__(21);
9714
9714
  const emptyLocalize = (v) => {
@@ -9739,7 +9739,7 @@ exports.ComponentContextProvider = ComponentContextProvider;
9739
9739
 
9740
9740
  Object.defineProperty(exports, "__esModule", { value: true });
9741
9741
  const tslib_1 = __webpack_require__(2);
9742
- (0, tslib_1.__exportStar)(__webpack_require__(303), exports);
9742
+ tslib_1.__exportStar(__webpack_require__(303), exports);
9743
9743
 
9744
9744
 
9745
9745
  /***/ }),
@@ -9757,9 +9757,9 @@ const tslib_1 = __webpack_require__(2);
9757
9757
  Object.defineProperty(exports, "__esModule", { value: true });
9758
9758
  exports.ClickOutside = void 0;
9759
9759
  const tslib_1 = __webpack_require__(2);
9760
- const react_1 = (0, tslib_1.__importDefault)(__webpack_require__(1));
9760
+ const react_1 = tslib_1.__importDefault(__webpack_require__(1));
9761
9761
  const ClickOutside = (_a) => {
9762
- var { mouseEvents = ['click'], onOutsideClick, children } = _a, restProps = (0, tslib_1.__rest)(_a, ["mouseEvents", "onOutsideClick", "children"]);
9762
+ var { mouseEvents = ['click'], onOutsideClick, children } = _a, restProps = tslib_1.__rest(_a, ["mouseEvents", "onOutsideClick", "children"]);
9763
9763
  const $containerEl = react_1.default.useRef(null);
9764
9764
  const globalClickSpy = react_1.default.useCallback((e) => {
9765
9765
  if ($containerEl.current && e.target && !$containerEl.current.contains(e.target)) {
@@ -12439,26 +12439,26 @@ ClassList.prototype.contains = function(name){
12439
12439
  Object.defineProperty(exports, "__esModule", { value: true });
12440
12440
  const tslib_1 = __webpack_require__(2);
12441
12441
  __webpack_require__(123);
12442
- (0, tslib_1.__exportStar)(__webpack_require__(27), exports);
12443
- (0, tslib_1.__exportStar)(__webpack_require__(191), exports);
12444
- (0, tslib_1.__exportStar)(__webpack_require__(65), exports);
12445
- (0, tslib_1.__exportStar)(__webpack_require__(198), exports);
12446
- (0, tslib_1.__exportStar)(__webpack_require__(200), exports);
12447
- (0, tslib_1.__exportStar)(__webpack_require__(202), exports);
12448
- (0, tslib_1.__exportStar)(__webpack_require__(97), exports);
12449
- (0, tslib_1.__exportStar)(__webpack_require__(211), exports);
12450
- (0, tslib_1.__exportStar)(__webpack_require__(21), exports);
12451
- (0, tslib_1.__exportStar)(__webpack_require__(213), exports);
12452
- (0, tslib_1.__exportStar)(__webpack_require__(228), exports);
12453
- (0, tslib_1.__exportStar)(__webpack_require__(230), exports);
12454
- (0, tslib_1.__exportStar)(__webpack_require__(248), exports);
12455
- (0, tslib_1.__exportStar)(__webpack_require__(250), exports);
12456
- (0, tslib_1.__exportStar)(__webpack_require__(308), exports);
12457
- (0, tslib_1.__exportStar)(__webpack_require__(67), exports);
12458
- (0, tslib_1.__exportStar)(__webpack_require__(71), exports);
12459
- (0, tslib_1.__exportStar)(__webpack_require__(116), exports);
12460
- (0, tslib_1.__exportStar)(__webpack_require__(118), exports);
12461
- (0, tslib_1.__exportStar)(__webpack_require__(115), exports);
12442
+ tslib_1.__exportStar(__webpack_require__(27), exports);
12443
+ tslib_1.__exportStar(__webpack_require__(191), exports);
12444
+ tslib_1.__exportStar(__webpack_require__(65), exports);
12445
+ tslib_1.__exportStar(__webpack_require__(198), exports);
12446
+ tslib_1.__exportStar(__webpack_require__(200), exports);
12447
+ tslib_1.__exportStar(__webpack_require__(202), exports);
12448
+ tslib_1.__exportStar(__webpack_require__(97), exports);
12449
+ tslib_1.__exportStar(__webpack_require__(211), exports);
12450
+ tslib_1.__exportStar(__webpack_require__(21), exports);
12451
+ tslib_1.__exportStar(__webpack_require__(213), exports);
12452
+ tslib_1.__exportStar(__webpack_require__(228), exports);
12453
+ tslib_1.__exportStar(__webpack_require__(230), exports);
12454
+ tslib_1.__exportStar(__webpack_require__(248), exports);
12455
+ tslib_1.__exportStar(__webpack_require__(250), exports);
12456
+ tslib_1.__exportStar(__webpack_require__(308), exports);
12457
+ tslib_1.__exportStar(__webpack_require__(67), exports);
12458
+ tslib_1.__exportStar(__webpack_require__(71), exports);
12459
+ tslib_1.__exportStar(__webpack_require__(116), exports);
12460
+ tslib_1.__exportStar(__webpack_require__(118), exports);
12461
+ tslib_1.__exportStar(__webpack_require__(115), exports);
12462
12462
 
12463
12463
 
12464
12464
  /***/ }),
@@ -12508,7 +12508,7 @@ exports.useLayoutEffect=function(a,b){return Z().useLayoutEffect(a,b)};exports.u
12508
12508
  Object.defineProperty(exports, "__esModule", { value: true });
12509
12509
  exports.Dropdown = exports.DropDownProps = void 0;
12510
12510
  const tslib_1 = __webpack_require__(2);
12511
- const dropdown_1 = (0, tslib_1.__importDefault)(__webpack_require__(76));
12511
+ const dropdown_1 = tslib_1.__importDefault(__webpack_require__(76));
12512
12512
  exports.Dropdown = dropdown_1.default;
12513
12513
  __webpack_require__(186);
12514
12514
  var dropdown_2 = __webpack_require__(76);
@@ -14783,8 +14783,8 @@ exports.defaultIconfont = {
14783
14783
  Object.defineProperty(exports, "__esModule", { value: true });
14784
14784
  exports.createFromIconfontCN = void 0;
14785
14785
  const tslib_1 = __webpack_require__(2);
14786
- const react_1 = (0, tslib_1.__importDefault)(__webpack_require__(1));
14787
- const classnames_1 = (0, tslib_1.__importDefault)(__webpack_require__(4));
14786
+ const react_1 = tslib_1.__importDefault(__webpack_require__(1));
14787
+ const classnames_1 = tslib_1.__importDefault(__webpack_require__(4));
14788
14788
  const icon_1 = __webpack_require__(95);
14789
14789
  const util_1 = __webpack_require__(64);
14790
14790
  // source code from '@ant-design/icons'
@@ -14836,7 +14836,7 @@ function createFromIconfontCN(options = {}) {
14836
14836
  }
14837
14837
  }
14838
14838
  const IconFont = react_1.default.forwardRef((props, ref) => {
14839
- const { icon, children, rotate, anim, fill, className = '' } = props, restProps = (0, tslib_1.__rest)(props, ["icon", "children", "rotate", "anim", "fill", "className"]);
14839
+ const { icon, children, rotate, anim, fill, className = '' } = props, restProps = tslib_1.__rest(props, ["icon", "children", "rotate", "anim", "fill", "className"]);
14840
14840
  const iconShapeOptions = { rotate, anim, fill };
14841
14841
  // children > icon
14842
14842
  let content = null;
@@ -14865,11 +14865,11 @@ exports.createFromIconfontCN = createFromIconfontCN;
14865
14865
  Object.defineProperty(exports, "__esModule", { value: true });
14866
14866
  exports.Badge = void 0;
14867
14867
  const tslib_1 = __webpack_require__(2);
14868
- const react_1 = (0, tslib_1.__importDefault)(__webpack_require__(1));
14869
- const classnames_1 = (0, tslib_1.__importDefault)(__webpack_require__(4));
14868
+ const react_1 = tslib_1.__importDefault(__webpack_require__(1));
14869
+ const classnames_1 = tslib_1.__importDefault(__webpack_require__(4));
14870
14870
  __webpack_require__(192);
14871
14871
  const Badge = (_a) => {
14872
- var { className, children } = _a, restProps = (0, tslib_1.__rest)(_a, ["className", "children"]);
14872
+ var { className, children } = _a, restProps = tslib_1.__rest(_a, ["className", "children"]);
14873
14873
  return (react_1.default.createElement("span", Object.assign({ className: (0, classnames_1.default)('kt-badge', className) }, restProps), children));
14874
14874
  };
14875
14875
  exports.Badge = Badge;
@@ -14890,7 +14890,7 @@ exports.Badge = Badge;
14890
14890
  Object.defineProperty(exports, "__esModule", { value: true });
14891
14891
  exports.TextArea = void 0;
14892
14892
  const tslib_1 = __webpack_require__(2);
14893
- const react_1 = (0, tslib_1.__importDefault)(__webpack_require__(1));
14893
+ const react_1 = tslib_1.__importDefault(__webpack_require__(1));
14894
14894
  const TextArea = () => react_1.default.createElement("textarea", { name: '', id: '', cols: 30, rows: 10 });
14895
14895
  exports.TextArea = TextArea;
14896
14896
  exports.TextArea.displayName = 'KTTextArea';
@@ -14911,9 +14911,9 @@ exports.TextArea.displayName = 'KTTextArea';
14911
14911
  Object.defineProperty(exports, "__esModule", { value: true });
14912
14912
  exports.ValidateInput = exports.VALIDATE_TYPE = void 0;
14913
14913
  const tslib_1 = __webpack_require__(2);
14914
- const react_1 = (0, tslib_1.__importDefault)(__webpack_require__(1));
14915
- const classnames_1 = (0, tslib_1.__importDefault)(__webpack_require__(4));
14916
- const warning_1 = (0, tslib_1.__importDefault)(__webpack_require__(20));
14914
+ const react_1 = tslib_1.__importDefault(__webpack_require__(1));
14915
+ const classnames_1 = tslib_1.__importDefault(__webpack_require__(4));
14916
+ const warning_1 = tslib_1.__importDefault(__webpack_require__(20));
14917
14917
  const Input_1 = __webpack_require__(66);
14918
14918
  __webpack_require__(196);
14919
14919
  var VALIDATE_TYPE;
@@ -14924,7 +14924,7 @@ var VALIDATE_TYPE;
14924
14924
  VALIDATE_TYPE[VALIDATE_TYPE["WARNING"] = 3] = "WARNING";
14925
14925
  })(VALIDATE_TYPE = exports.VALIDATE_TYPE || (exports.VALIDATE_TYPE = {}));
14926
14926
  exports.ValidateInput = react_1.default.forwardRef((_a, ref) => {
14927
- var { type, className, validate, onChange, onValueChange, validateMessage: validateInfo, popup = true } = _a, restProps = (0, tslib_1.__rest)(_a, ["type", "className", "validate", "onChange", "onValueChange", "validateMessage", "popup"]);
14927
+ var { type, className, validate, onChange, onValueChange, validateMessage: validateInfo, popup = true } = _a, restProps = tslib_1.__rest(_a, ["type", "className", "validate", "onChange", "onValueChange", "validateMessage", "popup"]);
14928
14928
  const [validateMessage, setValidateMessage] = react_1.default.useState();
14929
14929
  react_1.default.useEffect(() => {
14930
14930
  setValidateMessage(validateInfo);
@@ -14993,7 +14993,7 @@ exports.ValidateInput.displayName = 'ValidateInput';
14993
14993
  Object.defineProperty(exports, "__esModule", { value: true });
14994
14994
  exports.bindInputElement = void 0;
14995
14995
  const tslib_1 = __webpack_require__(2);
14996
- const react_1 = (0, tslib_1.__importDefault)(__webpack_require__(1));
14996
+ const react_1 = tslib_1.__importDefault(__webpack_require__(1));
14997
14997
  const Input_1 = __webpack_require__(66);
14998
14998
  class ProxiedInput extends react_1.default.Component {
14999
14999
  constructor() {
@@ -15066,20 +15066,20 @@ exports.bindInputElement = bindInputElement;
15066
15066
  Object.defineProperty(exports, "__esModule", { value: true });
15067
15067
  exports.CheckBox = void 0;
15068
15068
  const tslib_1 = __webpack_require__(2);
15069
- const react_1 = (0, tslib_1.__importDefault)(__webpack_require__(1));
15070
- const classnames_1 = (0, tslib_1.__importDefault)(__webpack_require__(4));
15069
+ const react_1 = tslib_1.__importDefault(__webpack_require__(1));
15070
+ const classnames_1 = tslib_1.__importDefault(__webpack_require__(4));
15071
15071
  const warning_1 = __webpack_require__(20);
15072
15072
  __webpack_require__(199);
15073
15073
  const CheckIconSvg = () => (react_1.default.createElement("svg", { fill: 'currentColor', width: '1em', height: '1em', viewBox: '0 0 1024 1024', xmlns: 'http://www.w3.org/2000/svg' },
15074
15074
  react_1.default.createElement("path", { d: 'M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474c-6.1-7.7-15.3-12.2-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z' })));
15075
15075
  const CheckBox = (_a) => {
15076
- var { insertClass, className, label, size = 'default', disabled, checked = false } = _a, restProps = (0, tslib_1.__rest)(_a, ["insertClass", "className", "label", "size", "disabled", "checked"]);
15076
+ var { insertClass, className, label, size = 'default', disabled, checked = false, wrapTabIndex } = _a, restProps = tslib_1.__rest(_a, ["insertClass", "className", "label", "size", "disabled", "checked", "wrapTabIndex"]);
15077
15077
  (0, warning_1.warning)(!insertClass, '`insertClass` was deprecated, please use `className` instead');
15078
15078
  const cls = (0, classnames_1.default)('kt-checkbox', insertClass, className, {
15079
15079
  'kt-checkbox-large': size === 'large',
15080
15080
  'kt-checkbox-disabled': disabled,
15081
15081
  });
15082
- return (react_1.default.createElement("label", { className: cls },
15082
+ return (react_1.default.createElement("label", { className: cls, tabIndex: wrapTabIndex },
15083
15083
  react_1.default.createElement("span", { className: 'kt-checkbox-lump' },
15084
15084
  react_1.default.createElement("input", Object.assign({ type: 'checkbox', disabled: disabled, checked: checked }, restProps)),
15085
15085
  react_1.default.createElement("span", { className: 'kt-checkbox-icon' },
@@ -15105,13 +15105,13 @@ exports.CheckBox.displayName = 'KTCheckBox';
15105
15105
  Object.defineProperty(exports, "__esModule", { value: true });
15106
15106
  exports.SelectOptionsList = exports.Select = exports.isDataOptionGroups = exports.isDataOptions = exports.Option = void 0;
15107
15107
  const tslib_1 = __webpack_require__(2);
15108
- const react_1 = (0, tslib_1.__importStar)(__webpack_require__(1));
15108
+ const react_1 = tslib_1.__importStar(__webpack_require__(1));
15109
15109
  const react_2 = __webpack_require__(1);
15110
- const classnames_1 = (0, tslib_1.__importDefault)(__webpack_require__(4));
15110
+ const classnames_1 = tslib_1.__importDefault(__webpack_require__(4));
15111
15111
  __webpack_require__(201);
15112
15112
  const icon_1 = __webpack_require__(21);
15113
15113
  const Option = (_a) => {
15114
- var { value, children, disabled, onClick, className } = _a, otherProps = (0, tslib_1.__rest)(_a, ["value", "children", "disabled", "onClick", "className"]);
15114
+ var { value, children, disabled, onClick, className } = _a, otherProps = tslib_1.__rest(_a, ["value", "children", "disabled", "onClick", "className"]);
15115
15115
  return (react_1.default.createElement("span", Object.assign({}, otherProps, { className: (0, classnames_1.default)(className, { 'kt-option-disabled': disabled }), onClick: () => onClick && !disabled && onClick(value) }), children));
15116
15116
  };
15117
15117
  exports.Option = Option;
@@ -15449,11 +15449,11 @@ exports.SelectOptionsList = react_1.default.forwardRef((props, ref) => {
15449
15449
  Object.defineProperty(exports, "__esModule", { value: true });
15450
15450
  exports.Tabs = void 0;
15451
15451
  const tslib_1 = __webpack_require__(2);
15452
- const react_1 = (0, tslib_1.__importDefault)(__webpack_require__(1));
15453
- const classnames_1 = (0, tslib_1.__importDefault)(__webpack_require__(4));
15452
+ const react_1 = tslib_1.__importDefault(__webpack_require__(1));
15453
+ const classnames_1 = tslib_1.__importDefault(__webpack_require__(4));
15454
15454
  __webpack_require__(203);
15455
15455
  const Tabs = (props) => {
15456
- const { tabs, className, value, onChange, mini, style } = props, restProps = (0, tslib_1.__rest)(props, ["tabs", "className", "value", "onChange", "mini", "style"]);
15456
+ const { tabs, className, value, onChange, mini, style } = props, restProps = tslib_1.__rest(props, ["tabs", "className", "value", "onChange", "mini", "style"]);
15457
15457
  const onClick = react_1.default.useCallback((index) => {
15458
15458
  if (typeof onChange === 'function') {
15459
15459
  onChange(index);
@@ -15485,7 +15485,7 @@ exports.Tabs = Tabs;
15485
15485
  Object.defineProperty(exports, "__esModule", { value: true });
15486
15486
  exports.Modal = exports.ModalFuncProps = exports.ModalProps = void 0;
15487
15487
  const tslib_1 = __webpack_require__(2);
15488
- const Modal_1 = (0, tslib_1.__importDefault)(__webpack_require__(98));
15488
+ const Modal_1 = tslib_1.__importDefault(__webpack_require__(98));
15489
15489
  exports.Modal = Modal_1.default;
15490
15490
  __webpack_require__(209);
15491
15491
  var Modal_2 = __webpack_require__(98);
@@ -15620,8 +15620,8 @@ exports.getConfirmLocale = getConfirmLocale;
15620
15620
  Object.defineProperty(exports, "__esModule", { value: true });
15621
15621
  exports.Dialog = void 0;
15622
15622
  const tslib_1 = __webpack_require__(2);
15623
- const react_1 = (0, tslib_1.__importDefault)(__webpack_require__(1));
15624
- const classnames_1 = (0, tslib_1.__importDefault)(__webpack_require__(4));
15623
+ const react_1 = tslib_1.__importDefault(__webpack_require__(1));
15624
+ const classnames_1 = tslib_1.__importDefault(__webpack_require__(4));
15625
15625
  const overlay_1 = __webpack_require__(97);
15626
15626
  const icon_1 = __webpack_require__(21);
15627
15627
  const button_1 = __webpack_require__(27);
@@ -15662,9 +15662,9 @@ exports.Dialog = Dialog;
15662
15662
  Object.defineProperty(exports, "__esModule", { value: true });
15663
15663
  exports.update = exports.close = exports.open = exports.notification = void 0;
15664
15664
  const tslib_1 = __webpack_require__(2);
15665
- const classnames_1 = (0, tslib_1.__importDefault)(__webpack_require__(4));
15666
- const react_1 = (0, tslib_1.__importDefault)(__webpack_require__(1));
15667
- const notification_1 = (0, tslib_1.__importDefault)(__webpack_require__(214));
15665
+ const classnames_1 = tslib_1.__importDefault(__webpack_require__(4));
15666
+ const react_1 = tslib_1.__importDefault(__webpack_require__(1));
15667
+ const notification_1 = tslib_1.__importDefault(__webpack_require__(214));
15668
15668
  const button_1 = __webpack_require__(27);
15669
15669
  __webpack_require__(227);
15670
15670
  const common_1 = __webpack_require__(67);
@@ -15747,13 +15747,13 @@ function doOpenNotification(type, args) {
15747
15747
 
15748
15748
  Object.defineProperty(exports, "__esModule", { value: true });
15749
15749
  const tslib_1 = __webpack_require__(2);
15750
- const react_1 = (0, tslib_1.__importDefault)(__webpack_require__(1));
15751
- const rc_notification_1 = (0, tslib_1.__importDefault)(__webpack_require__(120));
15752
- const CloseOutlined_1 = (0, tslib_1.__importDefault)(__webpack_require__(99));
15753
- const CheckCircleOutlined_1 = (0, tslib_1.__importDefault)(__webpack_require__(215));
15754
- const CloseCircleOutlined_1 = (0, tslib_1.__importDefault)(__webpack_require__(218));
15755
- const ExclamationCircleOutlined_1 = (0, tslib_1.__importDefault)(__webpack_require__(221));
15756
- const InfoCircleOutlined_1 = (0, tslib_1.__importDefault)(__webpack_require__(224));
15750
+ const react_1 = tslib_1.__importDefault(__webpack_require__(1));
15751
+ const rc_notification_1 = tslib_1.__importDefault(__webpack_require__(120));
15752
+ const CloseOutlined_1 = tslib_1.__importDefault(__webpack_require__(99));
15753
+ const CheckCircleOutlined_1 = tslib_1.__importDefault(__webpack_require__(215));
15754
+ const CloseCircleOutlined_1 = tslib_1.__importDefault(__webpack_require__(218));
15755
+ const ExclamationCircleOutlined_1 = tslib_1.__importDefault(__webpack_require__(221));
15756
+ const InfoCircleOutlined_1 = tslib_1.__importDefault(__webpack_require__(224));
15757
15757
  const notificationInstance = {};
15758
15758
  let defaultDuration = 4.5;
15759
15759
  let defaultTop = 24;
@@ -16196,8 +16196,8 @@ exports.default = InfoCircleOutlined;
16196
16196
  Object.defineProperty(exports, "__esModule", { value: true });
16197
16197
  exports.Popover = exports.PopoverPosition = exports.PopoverTriggerType = void 0;
16198
16198
  const tslib_1 = __webpack_require__(2);
16199
- const react_1 = (0, tslib_1.__importDefault)(__webpack_require__(1));
16200
- const classnames_1 = (0, tslib_1.__importDefault)(__webpack_require__(4));
16199
+ const react_1 = tslib_1.__importDefault(__webpack_require__(1));
16200
+ const classnames_1 = tslib_1.__importDefault(__webpack_require__(4));
16201
16201
  __webpack_require__(229);
16202
16202
  const button_1 = __webpack_require__(27);
16203
16203
  // 目前支持支持 hover,后面按需拓展
@@ -16215,7 +16215,7 @@ var PopoverPosition;
16215
16215
  })(PopoverPosition = exports.PopoverPosition || (exports.PopoverPosition = {}));
16216
16216
  function noop() { }
16217
16217
  const Popover = (_a) => {
16218
- var { delay, children, trigger, display, id, insertClass, popoverClass, content, position = PopoverPosition.top, title, titleClassName, action, onClickAction, disable } = _a, restProps = (0, tslib_1.__rest)(_a, ["delay", "children", "trigger", "display", "id", "insertClass", "popoverClass", "content", "position", "title", "titleClassName", "action", "onClickAction", "disable"]);
16218
+ var { delay, children, trigger, display, id, insertClass, popoverClass, content, position = PopoverPosition.top, title, titleClassName, action, onClickAction, disable } = _a, restProps = tslib_1.__rest(_a, ["delay", "children", "trigger", "display", "id", "insertClass", "popoverClass", "content", "position", "title", "titleClassName", "action", "onClickAction", "disable"]);
16219
16219
  const childEl = react_1.default.useRef(null);
16220
16220
  const contentEl = react_1.default.useRef(null);
16221
16221
  const triggerType = trigger || PopoverTriggerType.hover;
@@ -16351,7 +16351,7 @@ exports.Popover = Popover;
16351
16351
  Object.defineProperty(exports, "__esModule", { value: true });
16352
16352
  exports.message = void 0;
16353
16353
  const tslib_1 = __webpack_require__(2);
16354
- const message_1 = (0, tslib_1.__importDefault)(__webpack_require__(231));
16354
+ const message_1 = tslib_1.__importDefault(__webpack_require__(231));
16355
16355
  __webpack_require__(247);
16356
16356
  function generateSnackbar(funName) {
16357
16357
  return (content, duration) => new Promise((resolve) => {
@@ -16375,13 +16375,13 @@ exports.message = {
16375
16375
 
16376
16376
  Object.defineProperty(exports, "__esModule", { value: true });
16377
16377
  const tslib_1 = __webpack_require__(2);
16378
- const react_1 = (0, tslib_1.__importDefault)(__webpack_require__(1));
16379
- const rc_notification_1 = (0, tslib_1.__importDefault)(__webpack_require__(120));
16380
- const LoadingOutlined_1 = (0, tslib_1.__importDefault)(__webpack_require__(232));
16381
- const ExclamationCircleFilled_1 = (0, tslib_1.__importDefault)(__webpack_require__(235));
16382
- const CloseCircleFilled_1 = (0, tslib_1.__importDefault)(__webpack_require__(238));
16383
- const CheckCircleFilled_1 = (0, tslib_1.__importDefault)(__webpack_require__(241));
16384
- const InfoCircleFilled_1 = (0, tslib_1.__importDefault)(__webpack_require__(244));
16378
+ const react_1 = tslib_1.__importDefault(__webpack_require__(1));
16379
+ const rc_notification_1 = tslib_1.__importDefault(__webpack_require__(120));
16380
+ const LoadingOutlined_1 = tslib_1.__importDefault(__webpack_require__(232));
16381
+ const ExclamationCircleFilled_1 = tslib_1.__importDefault(__webpack_require__(235));
16382
+ const CloseCircleFilled_1 = tslib_1.__importDefault(__webpack_require__(238));
16383
+ const CheckCircleFilled_1 = tslib_1.__importDefault(__webpack_require__(241));
16384
+ const InfoCircleFilled_1 = tslib_1.__importDefault(__webpack_require__(244));
16385
16385
  let defaultDuration = 3;
16386
16386
  let defaultTop;
16387
16387
  let messageInstance;
@@ -16865,9 +16865,9 @@ exports.default = InfoCircleFilled;
16865
16865
  Object.defineProperty(exports, "__esModule", { value: true });
16866
16866
  exports.Tooltip = void 0;
16867
16867
  const tslib_1 = __webpack_require__(2);
16868
- const react_1 = (0, tslib_1.__importDefault)(__webpack_require__(1));
16868
+ const react_1 = tslib_1.__importDefault(__webpack_require__(1));
16869
16869
  const react_2 = __webpack_require__(1);
16870
- const classnames_1 = (0, tslib_1.__importDefault)(__webpack_require__(4));
16870
+ const classnames_1 = tslib_1.__importDefault(__webpack_require__(4));
16871
16871
  __webpack_require__(249);
16872
16872
  const Tooltip = ({ title, children, delay }) => {
16873
16873
  const [visible, setVisible] = (0, react_2.useState)(false);
@@ -16934,13 +16934,13 @@ exports.Tooltip = Tooltip;
16934
16934
 
16935
16935
  Object.defineProperty(exports, "__esModule", { value: true });
16936
16936
  const tslib_1 = __webpack_require__(2);
16937
- (0, tslib_1.__exportStar)(__webpack_require__(100), exports);
16938
- (0, tslib_1.__exportStar)(__webpack_require__(110), exports);
16939
- (0, tslib_1.__exportStar)(__webpack_require__(108), exports);
16940
- (0, tslib_1.__exportStar)(__webpack_require__(38), exports);
16941
- (0, tslib_1.__exportStar)(__webpack_require__(22), exports);
16942
- (0, tslib_1.__exportStar)(__webpack_require__(296), exports);
16943
- (0, tslib_1.__exportStar)(__webpack_require__(300), exports);
16937
+ tslib_1.__exportStar(__webpack_require__(100), exports);
16938
+ tslib_1.__exportStar(__webpack_require__(110), exports);
16939
+ tslib_1.__exportStar(__webpack_require__(108), exports);
16940
+ tslib_1.__exportStar(__webpack_require__(38), exports);
16941
+ tslib_1.__exportStar(__webpack_require__(22), exports);
16942
+ tslib_1.__exportStar(__webpack_require__(296), exports);
16943
+ tslib_1.__exportStar(__webpack_require__(300), exports);
16944
16944
 
16945
16945
 
16946
16946
  /***/ }),
@@ -17075,8 +17075,8 @@ var MetadataChangeType;
17075
17075
  Object.defineProperty(exports, "__esModule", { value: true });
17076
17076
  exports.Deprecated = void 0;
17077
17077
  const tslib_1 = __webpack_require__(2);
17078
- const react_1 = (0, tslib_1.__importDefault)(__webpack_require__(1));
17079
- const warning_1 = (0, tslib_1.__importDefault)(__webpack_require__(20));
17078
+ const react_1 = tslib_1.__importDefault(__webpack_require__(1));
17079
+ const warning_1 = tslib_1.__importDefault(__webpack_require__(20));
17080
17080
  // @deprecated wrapper
17081
17081
  function Deprecated(fc, msg) {
17082
17082
  return (props) => {
@@ -18952,7 +18952,7 @@ exports.delimiter = process_1.Process.platform === 'win32' ? exports.win32.delim
18952
18952
 
18953
18953
  Object.defineProperty(exports, "__esModule", { value: true });
18954
18954
  const tslib_1 = __webpack_require__(2);
18955
- (0, tslib_1.__exportStar)(__webpack_require__(260), exports);
18955
+ tslib_1.__exportStar(__webpack_require__(260), exports);
18956
18956
 
18957
18957
 
18958
18958
  /***/ }),
@@ -19011,7 +19011,7 @@ class TreeModel {
19011
19011
  *
19012
19012
  */
19013
19013
  loadTreeState(state) {
19014
- return (0, tslib_1.__awaiter)(this, void 0, void 0, function* () {
19014
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
19015
19015
  if (typeof state === 'string') {
19016
19016
  state = JSON.parse(state);
19017
19017
  }
@@ -19177,7 +19177,7 @@ class TreeStateManager {
19177
19177
  return this.onDidChangeRelativePathEmitter.event;
19178
19178
  }
19179
19179
  loadTreeState(state) {
19180
- return (0, tslib_1.__awaiter)(this, void 0, void 0, function* () {
19180
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
19181
19181
  if (state) {
19182
19182
  for (const relPath of state.expandedDirectories.buried) {
19183
19183
  try {
@@ -19234,7 +19234,7 @@ class TreeStateManager {
19234
19234
  * 调用beginStashing ==> 展开/折叠某个目录 ==> 调用endStashing ==> 处理完毕后调用reverseStash,回到原来的状态
19235
19235
  */
19236
19236
  reverseStash() {
19237
- return (0, tslib_1.__awaiter)(this, void 0, void 0, function* () {
19237
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
19238
19238
  if (!this.stashKeyframes) {
19239
19239
  return;
19240
19240
  }
@@ -19379,9 +19379,9 @@ exports.TreeStateWatcher = TreeStateWatcher;
19379
19379
 
19380
19380
  Object.defineProperty(exports, "__esModule", { value: true });
19381
19381
  const tslib_1 = __webpack_require__(2);
19382
- (0, tslib_1.__exportStar)(__webpack_require__(106), exports);
19383
- (0, tslib_1.__exportStar)(__webpack_require__(265), exports);
19384
- (0, tslib_1.__exportStar)(__webpack_require__(107), exports);
19382
+ tslib_1.__exportStar(__webpack_require__(106), exports);
19383
+ tslib_1.__exportStar(__webpack_require__(265), exports);
19384
+ tslib_1.__exportStar(__webpack_require__(107), exports);
19385
19385
 
19386
19386
 
19387
19387
  /***/ }),
@@ -21716,8 +21716,8 @@ fuzzy.filter = function(pattern, arr, opts) {
21716
21716
 
21717
21717
  Object.defineProperty(exports, "__esModule", { value: true });
21718
21718
  const tslib_1 = __webpack_require__(2);
21719
- (0, tslib_1.__exportStar)(__webpack_require__(297), exports);
21720
- (0, tslib_1.__exportStar)(__webpack_require__(299), exports);
21719
+ tslib_1.__exportStar(__webpack_require__(297), exports);
21720
+ tslib_1.__exportStar(__webpack_require__(299), exports);
21721
21721
 
21722
21722
 
21723
21723
  /***/ }),
@@ -21729,8 +21729,8 @@ const tslib_1 = __webpack_require__(2);
21729
21729
  Object.defineProperty(exports, "__esModule", { value: true });
21730
21730
  exports.RecycleTreeFilterDecorator = void 0;
21731
21731
  const tslib_1 = __webpack_require__(2);
21732
- const react_1 = (0, tslib_1.__importDefault)(__webpack_require__(1));
21733
- const throttle_1 = (0, tslib_1.__importDefault)(__webpack_require__(112));
21732
+ const react_1 = tslib_1.__importDefault(__webpack_require__(1));
21733
+ const throttle_1 = tslib_1.__importDefault(__webpack_require__(112));
21734
21734
  const icon_1 = __webpack_require__(21);
21735
21735
  const input_1 = __webpack_require__(65);
21736
21736
  const locale_context_provider_1 = __webpack_require__(115);
@@ -21755,8 +21755,8 @@ const RecycleTreeFilterDecorator = (recycleTreeComp) => (props) => {
21755
21755
  const [value, setValue] = react_1.default.useState('');
21756
21756
  // 引入多一个filter状态是为了在实际filter生效前不阻塞输入框值变化的过程
21757
21757
  const [filter, setFilter] = react_1.default.useState('');
21758
- const { beforeFilterValueChange, filterEnabled, height, filterPlaceholder, filterAfterClear, onReady, filterAutoFocus } = props, recycleTreeProps = (0, tslib_1.__rest)(props, ["beforeFilterValueChange", "filterEnabled", "height", "filterPlaceholder", "filterAfterClear", "onReady", "filterAutoFocus"]);
21759
- const handleFilterChange = (0, throttle_1.default)((value) => (0, tslib_1.__awaiter)(void 0, void 0, void 0, function* () {
21758
+ const { beforeFilterValueChange, filterEnabled, height, filterPlaceholder, filterAfterClear, onReady, filterAutoFocus } = props, recycleTreeProps = tslib_1.__rest(props, ["beforeFilterValueChange", "filterEnabled", "height", "filterPlaceholder", "filterAfterClear", "onReady", "filterAutoFocus"]);
21759
+ const handleFilterChange = (0, throttle_1.default)((value) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
21760
21760
  if (beforeFilterValueChange) {
21761
21761
  yield beforeFilterValueChange(value);
21762
21762
  }
@@ -21795,7 +21795,7 @@ exports.RecycleTreeFilterDecorator = RecycleTreeFilterDecorator;
21795
21795
  Object.defineProperty(exports, "__esModule", { value: true });
21796
21796
  exports.RecycleTreeAdaptiveDecorator = void 0;
21797
21797
  const tslib_1 = __webpack_require__(2);
21798
- const react_1 = (0, tslib_1.__importDefault)(__webpack_require__(1));
21798
+ const react_1 = tslib_1.__importDefault(__webpack_require__(1));
21799
21799
  const types_1 = __webpack_require__(22);
21800
21800
  /**
21801
21801
  * 将 RecycleTree 组件装饰到能够自适应高度
@@ -21813,7 +21813,7 @@ const RecycleTreeAdaptiveDecorator = (recycleTreeComp) => (props) => {
21813
21813
  if (!onReady) {
21814
21814
  return;
21815
21815
  }
21816
- onReady(Object.assign(Object.assign({}, handle), { promptNewTreeNode: (at) => (0, tslib_1.__awaiter)(void 0, void 0, void 0, function* () {
21816
+ onReady(Object.assign(Object.assign({}, handle), { promptNewTreeNode: (at) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
21817
21817
  var _a;
21818
21818
  const promptHandle = yield handle.promptNewTreeNode(at);
21819
21819
  if ((_a = ref.current) === null || _a === void 0 ? void 0 : _a.root.branchSize) {
@@ -21838,7 +21838,7 @@ const RecycleTreeAdaptiveDecorator = (recycleTreeComp) => (props) => {
21838
21838
  });
21839
21839
  promptHandle.onBlur(() => destroyWhileBlur.current);
21840
21840
  return promptHandle;
21841
- }), promptNewCompositeTreeNode: (at) => (0, tslib_1.__awaiter)(void 0, void 0, void 0, function* () {
21841
+ }), promptNewCompositeTreeNode: (at) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
21842
21842
  var _b;
21843
21843
  const promptHandle = yield handle.promptNewCompositeTreeNode(at);
21844
21844
  if ((_b = ref.current) === null || _b === void 0 ? void 0 : _b.root.branchSize) {
@@ -21894,7 +21894,7 @@ exports.RecycleTreeAdaptiveDecorator = RecycleTreeAdaptiveDecorator;
21894
21894
  Object.defineProperty(exports, "__esModule", { value: true });
21895
21895
  exports.BasicRecycleTree = void 0;
21896
21896
  const tslib_1 = __webpack_require__(2);
21897
- const react_1 = (0, tslib_1.__importStar)(__webpack_require__(1));
21897
+ const react_1 = tslib_1.__importStar(__webpack_require__(1));
21898
21898
  const RecycleTree_1 = __webpack_require__(100);
21899
21899
  const tree_service_1 = __webpack_require__(301);
21900
21900
  const tree_node_1 = __webpack_require__(302);
@@ -21902,11 +21902,11 @@ const tree_node_define_1 = __webpack_require__(74);
21902
21902
  const click_outside_1 = __webpack_require__(118);
21903
21903
  const menubar_item_1 = __webpack_require__(305);
21904
21904
  const placements_1 = __webpack_require__(306);
21905
- const react_ctxmenu_trigger_1 = (0, tslib_1.__importDefault)(__webpack_require__(313));
21906
- const classnames_1 = (0, tslib_1.__importDefault)(__webpack_require__(4));
21905
+ const react_ctxmenu_trigger_1 = tslib_1.__importDefault(__webpack_require__(313));
21906
+ const classnames_1 = tslib_1.__importDefault(__webpack_require__(4));
21907
21907
  __webpack_require__(117);
21908
21908
  __webpack_require__(307);
21909
- (0, tslib_1.__exportStar)(__webpack_require__(73), exports);
21909
+ tslib_1.__exportStar(__webpack_require__(73), exports);
21910
21910
  const BasicRecycleTree = ({ width, height, itemHeight = 22, itemClassname, indent, containerClassname, onClick, onContextMenu, onTwistierClick, onDbClick, resolveChildren, sortComparator, treeData, inlineMenus, inlineMenuActuator, onReady, contextMenus, contextMenuActuator, }) => {
21911
21911
  const [showMenus, setShowMenus] = (0, react_1.useState)({ show: false });
21912
21912
  const [menubarItems, setMenubarItems] = (0, react_1.useState)([]);
@@ -21918,7 +21918,7 @@ const BasicRecycleTree = ({ width, height, itemHeight = 22, itemClassname, inden
21918
21918
  (0, react_1.useEffect)(() => {
21919
21919
  var _a;
21920
21920
  ensureLoaded();
21921
- const disposable = treeService.current.onDidUpdateTreeModel((model) => (0, tslib_1.__awaiter)(void 0, void 0, void 0, function* () {
21921
+ const disposable = treeService.current.onDidUpdateTreeModel((model) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
21922
21922
  yield (model === null || model === void 0 ? void 0 : model.root.ensureLoaded());
21923
21923
  setModel(model);
21924
21924
  }));
@@ -21934,7 +21934,7 @@ const BasicRecycleTree = ({ width, height, itemHeight = 22, itemClassname, inden
21934
21934
  (_b = treeService.current) === null || _b === void 0 ? void 0 : _b.dispose();
21935
21935
  };
21936
21936
  }, []);
21937
- const ensureLoaded = () => (0, tslib_1.__awaiter)(void 0, void 0, void 0, function* () {
21937
+ const ensureLoaded = () => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
21938
21938
  const model = treeService.current.model;
21939
21939
  if (model) {
21940
21940
  yield model.root.ensureLoaded();
@@ -22177,7 +22177,7 @@ class BasicTreeService extends tree_1.Tree {
22177
22177
  this.disposableCollection.push(this._decorations);
22178
22178
  }
22179
22179
  resolveChildren(parent) {
22180
- return (0, tslib_1.__awaiter)(this, void 0, void 0, function* () {
22180
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
22181
22181
  if (this._resolveChildren) {
22182
22182
  return this.transformTreeNode(parent, this._resolveChildren(parent === null || parent === void 0 ? void 0 : parent.raw) || []);
22183
22183
  }
@@ -22229,13 +22229,13 @@ exports.BasicTreeModel = BasicTreeModel;
22229
22229
  Object.defineProperty(exports, "__esModule", { value: true });
22230
22230
  exports.BasicTreeNodeRenderer = void 0;
22231
22231
  const tslib_1 = __webpack_require__(2);
22232
- const react_1 = (0, tslib_1.__importStar)(__webpack_require__(1));
22232
+ const react_1 = tslib_1.__importStar(__webpack_require__(1));
22233
22233
  const types_1 = __webpack_require__(73);
22234
22234
  const icon_1 = __webpack_require__(21);
22235
22235
  const button_1 = __webpack_require__(27);
22236
22236
  const loading_1 = __webpack_require__(116);
22237
22237
  const tree_node_define_1 = __webpack_require__(74);
22238
- const classnames_1 = (0, tslib_1.__importDefault)(__webpack_require__(4));
22238
+ const classnames_1 = tslib_1.__importDefault(__webpack_require__(4));
22239
22239
  __webpack_require__(117);
22240
22240
  const BasicTreeNodeRenderer = ({ item, className, itemHeight = 22, indent = 8, onClick, onDbClick, onTwistierClick, onContextMenu, decorations, inlineMenus = [], inlineMenuActuator = () => { }, }) => {
22241
22241
  const handleClick = (0, react_1.useCallback)((event) => {
@@ -22341,7 +22341,7 @@ exports.BasicTreeNodeRenderer = BasicTreeNodeRenderer;
22341
22341
  Object.defineProperty(exports, "__esModule", { value: true });
22342
22342
  exports.Loading = void 0;
22343
22343
  const tslib_1 = __webpack_require__(2);
22344
- const react_1 = (0, tslib_1.__importDefault)(__webpack_require__(1));
22344
+ const react_1 = tslib_1.__importDefault(__webpack_require__(1));
22345
22345
  __webpack_require__(304);
22346
22346
  exports.Loading = react_1.default.memo(() => react_1.default.createElement("div", { className: 'loading_indicator' }));
22347
22347
  exports.Loading.displayName = 'Loading';
@@ -22362,8 +22362,8 @@ exports.Loading.displayName = 'Loading';
22362
22362
  Object.defineProperty(exports, "__esModule", { value: true });
22363
22363
  exports.BasicMenuItem = void 0;
22364
22364
  const tslib_1 = __webpack_require__(2);
22365
- const react_1 = (0, tslib_1.__importDefault)(__webpack_require__(1));
22366
- const classnames_1 = (0, tslib_1.__importDefault)(__webpack_require__(4));
22365
+ const react_1 = tslib_1.__importDefault(__webpack_require__(1));
22366
+ const classnames_1 = tslib_1.__importDefault(__webpack_require__(4));
22367
22367
  const BasicMenuItem = ({ id, label, type, focusMode, onClick }) => {
22368
22368
  const [menuOpen, setMenuOpen] = react_1.default.useState(false);
22369
22369
  const handleMenuItemClick = react_1.default.useCallback(() => {
@@ -22421,7 +22421,7 @@ exports.placements = {
22421
22421
 
22422
22422
  Object.defineProperty(exports, "__esModule", { value: true });
22423
22423
  const tslib_1 = __webpack_require__(2);
22424
- (0, tslib_1.__exportStar)(__webpack_require__(309), exports);
22424
+ tslib_1.__exportStar(__webpack_require__(309), exports);
22425
22425
 
22426
22426
 
22427
22427
  /***/ }),
@@ -22433,11 +22433,11 @@ const tslib_1 = __webpack_require__(2);
22433
22433
  Object.defineProperty(exports, "__esModule", { value: true });
22434
22434
  exports.RecycleList = exports.RECYCLE_LIST_OVER_SCAN_COUNT = exports.RECYCLE_LIST_STABILIZATION_TIME = void 0;
22435
22435
  const tslib_1 = __webpack_require__(2);
22436
- const react_1 = (0, tslib_1.__importDefault)(__webpack_require__(1));
22436
+ const react_1 = tslib_1.__importDefault(__webpack_require__(1));
22437
22437
  const react_window_1 = __webpack_require__(119);
22438
22438
  const scrollbars_1 = __webpack_require__(71);
22439
- const react_virtualized_auto_sizer_1 = (0, tslib_1.__importDefault)(__webpack_require__(310));
22440
- const classnames_1 = (0, tslib_1.__importDefault)(__webpack_require__(4));
22439
+ const react_virtualized_auto_sizer_1 = tslib_1.__importDefault(__webpack_require__(310));
22440
+ const classnames_1 = tslib_1.__importDefault(__webpack_require__(4));
22441
22441
  exports.RECYCLE_LIST_STABILIZATION_TIME = 500;
22442
22442
  exports.RECYCLE_LIST_OVER_SCAN_COUNT = 50;
22443
22443
  const RecycleList = ({ width, height, maxHeight, minHeight, className, style, data, onReady, itemHeight, header: Header, footer: Footer, template: Template, paddingBottomSize, getSize: customGetSize, }) => {
@@ -22634,7 +22634,7 @@ const RecycleList = ({ width, height, maxHeight, minHeight, className, style, da
22634
22634
  }, [data]);
22635
22635
  // 为 List 添加下边距
22636
22636
  const InnerElementType = react_1.default.forwardRef((props, ref) => {
22637
- const _a = props, { style } = _a, rest = (0, tslib_1.__rest)(_a, ["style"]);
22637
+ const _a = props, { style } = _a, rest = tslib_1.__rest(_a, ["style"]);
22638
22638
  return (react_1.default.createElement("div", Object.assign({ ref: ref, style: Object.assign(Object.assign({}, style), { height: `${parseFloat(style.height) + (paddingBottomSize ? paddingBottomSize : 0)}px` }) }, rest)));
22639
22639
  });
22640
22640
  const render = () => {