@opensumi/ide-components 2.25.4 → 2.26.0
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/README.md +12 -13
- package/dist/index.css +1 -1
- package/dist/index.js +130 -117
- package/lib/input/ValidateInput.d.ts +0 -4
- package/lib/input/ValidateInput.d.ts.map +1 -1
- package/lib/input/ValidateInput.js +1 -7
- package/lib/input/ValidateInput.js.map +1 -1
- package/lib/input/input.less +5 -2
- package/lib/recycle-list/RecycleList.js +1 -1
- package/lib/recycle-list/RecycleList.js.map +1 -1
- package/lib/recycle-tree/RecycleTree.d.ts.map +1 -1
- package/lib/recycle-tree/RecycleTree.js +3 -4
- package/lib/recycle-tree/RecycleTree.js.map +1 -1
- package/lib/recycle-tree/TreeNodeRendererWrap.d.ts +0 -1
- package/lib/recycle-tree/TreeNodeRendererWrap.d.ts.map +1 -1
- package/lib/recycle-tree/TreeNodeRendererWrap.js.map +1 -1
- package/lib/scrollbars/index.d.ts +6 -1
- package/lib/scrollbars/index.d.ts.map +1 -1
- package/lib/scrollbars/index.js +2 -2
- package/lib/scrollbars/index.js.map +1 -1
- package/lib/select/index.js +1 -1
- package/lib/select/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -2021,47 +2021,6 @@ module.exports = !__webpack_require__(43)(function () {
|
|
|
2021
2021
|
|
|
2022
2022
|
"use strict";
|
|
2023
2023
|
|
|
2024
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2025
|
-
exports.noteOnce = exports.warningOnce = exports.call = exports.resetWarned = exports.note = exports.warning = void 0;
|
|
2026
|
-
let warned = {};
|
|
2027
|
-
function warning(valid, message) {
|
|
2028
|
-
// Support uglify
|
|
2029
|
-
if (false) {}
|
|
2030
|
-
}
|
|
2031
|
-
exports.warning = warning;
|
|
2032
|
-
function note(valid, message) {
|
|
2033
|
-
// Support uglify
|
|
2034
|
-
if (false) {}
|
|
2035
|
-
}
|
|
2036
|
-
exports.note = note;
|
|
2037
|
-
function resetWarned() {
|
|
2038
|
-
warned = {};
|
|
2039
|
-
}
|
|
2040
|
-
exports.resetWarned = resetWarned;
|
|
2041
|
-
function call(method, valid, message) {
|
|
2042
|
-
if (!valid && !warned[message]) {
|
|
2043
|
-
method(false, message);
|
|
2044
|
-
warned[message] = true;
|
|
2045
|
-
}
|
|
2046
|
-
}
|
|
2047
|
-
exports.call = call;
|
|
2048
|
-
function warningOnce(valid, message) {
|
|
2049
|
-
call(warning, valid, message);
|
|
2050
|
-
}
|
|
2051
|
-
exports.warningOnce = warningOnce;
|
|
2052
|
-
function noteOnce(valid, message) {
|
|
2053
|
-
call(note, valid, message);
|
|
2054
|
-
}
|
|
2055
|
-
exports.noteOnce = noteOnce;
|
|
2056
|
-
exports.default = warningOnce;
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
/***/ }),
|
|
2060
|
-
/* 21 */
|
|
2061
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2062
|
-
|
|
2063
|
-
"use strict";
|
|
2064
|
-
|
|
2065
2024
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2066
2025
|
exports.createFromIconfontCN = void 0;
|
|
2067
2026
|
const tslib_1 = __webpack_require__(2);
|
|
@@ -2072,7 +2031,7 @@ Object.defineProperty(exports, "createFromIconfontCN", { enumerable: true, get:
|
|
|
2072
2031
|
|
|
2073
2032
|
|
|
2074
2033
|
/***/ }),
|
|
2075
|
-
/*
|
|
2034
|
+
/* 21 */
|
|
2076
2035
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2077
2036
|
|
|
2078
2037
|
"use strict";
|
|
@@ -2157,7 +2116,7 @@ module.exports = safer
|
|
|
2157
2116
|
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(28)))
|
|
2158
2117
|
|
|
2159
2118
|
/***/ }),
|
|
2160
|
-
/*
|
|
2119
|
+
/* 22 */
|
|
2161
2120
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2162
2121
|
|
|
2163
2122
|
"use strict";
|
|
@@ -2170,7 +2129,7 @@ tslib_1.__exportStar(__webpack_require__(372), exports);
|
|
|
2170
2129
|
|
|
2171
2130
|
|
|
2172
2131
|
/***/ }),
|
|
2173
|
-
/*
|
|
2132
|
+
/* 23 */
|
|
2174
2133
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2175
2134
|
|
|
2176
2135
|
"use strict";
|
|
@@ -2191,7 +2150,7 @@ function _extends() {
|
|
|
2191
2150
|
}
|
|
2192
2151
|
|
|
2193
2152
|
/***/ }),
|
|
2194
|
-
/*
|
|
2153
|
+
/* 24 */
|
|
2195
2154
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2196
2155
|
|
|
2197
2156
|
"use strict";
|
|
@@ -2202,7 +2161,7 @@ const tslib_1 = __webpack_require__(2);
|
|
|
2202
2161
|
const classnames_1 = tslib_1.__importDefault(__webpack_require__(3));
|
|
2203
2162
|
const react_1 = tslib_1.__importDefault(__webpack_require__(1));
|
|
2204
2163
|
const dropdown_1 = __webpack_require__(92);
|
|
2205
|
-
const icon_1 = __webpack_require__(
|
|
2164
|
+
const icon_1 = __webpack_require__(20);
|
|
2206
2165
|
__webpack_require__(223);
|
|
2207
2166
|
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' },
|
|
2208
2167
|
react_1.default.createElement("path", { d: 'M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 0 0-94.3-139.9 437.71 437.71 0 0 0-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z' })));
|
|
@@ -2264,7 +2223,7 @@ exports.Button = react_1.default.memo((_a) => {
|
|
|
2264
2223
|
|
|
2265
2224
|
|
|
2266
2225
|
/***/ }),
|
|
2267
|
-
/*
|
|
2226
|
+
/* 25 */
|
|
2268
2227
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2269
2228
|
|
|
2270
2229
|
var anObject = __webpack_require__(42);
|
|
@@ -2286,7 +2245,7 @@ exports.f = __webpack_require__(19) ? Object.defineProperty : function definePro
|
|
|
2286
2245
|
|
|
2287
2246
|
|
|
2288
2247
|
/***/ }),
|
|
2289
|
-
/*
|
|
2248
|
+
/* 26 */
|
|
2290
2249
|
/***/ (function(module, exports) {
|
|
2291
2250
|
|
|
2292
2251
|
var hasOwnProperty = {}.hasOwnProperty;
|
|
@@ -2295,6 +2254,47 @@ module.exports = function (it, key) {
|
|
|
2295
2254
|
};
|
|
2296
2255
|
|
|
2297
2256
|
|
|
2257
|
+
/***/ }),
|
|
2258
|
+
/* 27 */
|
|
2259
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2260
|
+
|
|
2261
|
+
"use strict";
|
|
2262
|
+
|
|
2263
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2264
|
+
exports.noteOnce = exports.warningOnce = exports.call = exports.resetWarned = exports.note = exports.warning = void 0;
|
|
2265
|
+
let warned = {};
|
|
2266
|
+
function warning(valid, message) {
|
|
2267
|
+
// Support uglify
|
|
2268
|
+
if (false) {}
|
|
2269
|
+
}
|
|
2270
|
+
exports.warning = warning;
|
|
2271
|
+
function note(valid, message) {
|
|
2272
|
+
// Support uglify
|
|
2273
|
+
if (false) {}
|
|
2274
|
+
}
|
|
2275
|
+
exports.note = note;
|
|
2276
|
+
function resetWarned() {
|
|
2277
|
+
warned = {};
|
|
2278
|
+
}
|
|
2279
|
+
exports.resetWarned = resetWarned;
|
|
2280
|
+
function call(method, valid, message) {
|
|
2281
|
+
if (!valid && !warned[message]) {
|
|
2282
|
+
method(false, message);
|
|
2283
|
+
warned[message] = true;
|
|
2284
|
+
}
|
|
2285
|
+
}
|
|
2286
|
+
exports.call = call;
|
|
2287
|
+
function warningOnce(valid, message) {
|
|
2288
|
+
call(warning, valid, message);
|
|
2289
|
+
}
|
|
2290
|
+
exports.warningOnce = warningOnce;
|
|
2291
|
+
function noteOnce(valid, message) {
|
|
2292
|
+
call(note, valid, message);
|
|
2293
|
+
}
|
|
2294
|
+
exports.noteOnce = noteOnce;
|
|
2295
|
+
exports.default = warningOnce;
|
|
2296
|
+
|
|
2297
|
+
|
|
2298
2298
|
/***/ }),
|
|
2299
2299
|
/* 28 */
|
|
2300
2300
|
/***/ (function(module, exports, __webpack_require__) {
|
|
@@ -3313,7 +3313,7 @@ var global = __webpack_require__(17);
|
|
|
3313
3313
|
var core = __webpack_require__(18);
|
|
3314
3314
|
var ctx = __webpack_require__(98);
|
|
3315
3315
|
var hide = __webpack_require__(33);
|
|
3316
|
-
var has = __webpack_require__(
|
|
3316
|
+
var has = __webpack_require__(26);
|
|
3317
3317
|
var PROTOTYPE = 'prototype';
|
|
3318
3318
|
|
|
3319
3319
|
var $export = function (type, name, source) {
|
|
@@ -3377,7 +3377,7 @@ module.exports = $export;
|
|
|
3377
3377
|
/* 33 */
|
|
3378
3378
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3379
3379
|
|
|
3380
|
-
var dP = __webpack_require__(
|
|
3380
|
+
var dP = __webpack_require__(25);
|
|
3381
3381
|
var createDesc = __webpack_require__(48);
|
|
3382
3382
|
module.exports = __webpack_require__(19) ? function (object, key, value) {
|
|
3383
3383
|
return dP.f(object, key, createDesc(1, value));
|
|
@@ -5398,7 +5398,7 @@ module.exports = function (exec) {
|
|
|
5398
5398
|
*--------------------------------------------------------------------------------------------*/
|
|
5399
5399
|
// Some code copied and modified from https://github.com/microsoft/vscode/blob/1.44.0/src/vs/base/common/event.ts
|
|
5400
5400
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5401
|
-
exports.ReadyEvent = exports.Relay = exports.EventBufferer = exports.EventMultiplexer = exports.AsyncEmitter = exports.WaitUntilEvent = exports.PauseableEmitter = exports.Emitter = exports.setGlobalLeakWarningThreshold = exports.Event = void 0;
|
|
5401
|
+
exports.Dispatcher = exports.ReadyEvent = exports.Relay = exports.EventBufferer = exports.EventMultiplexer = exports.AsyncEmitter = exports.WaitUntilEvent = exports.PauseableEmitter = exports.Emitter = exports.setGlobalLeakWarningThreshold = exports.Event = void 0;
|
|
5402
5402
|
const disposable_1 = __webpack_require__(77);
|
|
5403
5403
|
const errors_1 = __webpack_require__(78);
|
|
5404
5404
|
const functional_1 = __webpack_require__(79);
|
|
@@ -6205,6 +6205,26 @@ class ReadyEvent {
|
|
|
6205
6205
|
}
|
|
6206
6206
|
}
|
|
6207
6207
|
exports.ReadyEvent = ReadyEvent;
|
|
6208
|
+
class Dispatcher {
|
|
6209
|
+
constructor() {
|
|
6210
|
+
this._emitter = new Emitter();
|
|
6211
|
+
}
|
|
6212
|
+
on(type) {
|
|
6213
|
+
return Event.map(Event.filter(this._emitter.event, (e) => e.type === type), (v) => v.data);
|
|
6214
|
+
}
|
|
6215
|
+
dispatch(type, data) {
|
|
6216
|
+
this._emitter.fire({
|
|
6217
|
+
type,
|
|
6218
|
+
data,
|
|
6219
|
+
});
|
|
6220
|
+
}
|
|
6221
|
+
dispose() {
|
|
6222
|
+
if (this._emitter) {
|
|
6223
|
+
this._emitter.dispose();
|
|
6224
|
+
}
|
|
6225
|
+
}
|
|
6226
|
+
}
|
|
6227
|
+
exports.Dispatcher = Dispatcher;
|
|
6208
6228
|
//# sourceMappingURL=event.js.map
|
|
6209
6229
|
|
|
6210
6230
|
/***/ }),
|
|
@@ -6232,7 +6252,7 @@ exports.CompositeTreeNode = exports.TreeNode = exports.BranchOperatorStatus = ex
|
|
|
6232
6252
|
const tslib_1 = __webpack_require__(2);
|
|
6233
6253
|
/* eslint-disable @typescript-eslint/prefer-for-of */
|
|
6234
6254
|
const ide_utils_1 = __webpack_require__(12);
|
|
6235
|
-
const types_1 = __webpack_require__(
|
|
6255
|
+
const types_1 = __webpack_require__(22);
|
|
6236
6256
|
const { Path } = ide_utils_1.path;
|
|
6237
6257
|
/**
|
|
6238
6258
|
* 裁剪数组
|
|
@@ -10070,7 +10090,7 @@ const classnames_1 = tslib_1.__importDefault(__webpack_require__(3));
|
|
|
10070
10090
|
const rc_dropdown_1 = tslib_1.__importDefault(__webpack_require__(396));
|
|
10071
10091
|
const react_1 = tslib_1.__importDefault(__webpack_require__(1));
|
|
10072
10092
|
const type_1 = __webpack_require__(110);
|
|
10073
|
-
const warning_1 = __webpack_require__(
|
|
10093
|
+
const warning_1 = __webpack_require__(27);
|
|
10074
10094
|
const Placements = (0, type_1.tuple)('topLeft', 'topCenter', 'topRight', 'bottomLeft', 'bottomCenter', 'bottomRight');
|
|
10075
10095
|
class Dropdown extends react_1.default.Component {
|
|
10076
10096
|
constructor() {
|
|
@@ -10398,8 +10418,8 @@ module.exports = Object.create || function create(O, Properties) {
|
|
|
10398
10418
|
/* 70 */
|
|
10399
10419
|
/***/ (function(module, exports, __webpack_require__) {
|
|
10400
10420
|
|
|
10401
|
-
var def = __webpack_require__(
|
|
10402
|
-
var has = __webpack_require__(
|
|
10421
|
+
var def = __webpack_require__(25).f;
|
|
10422
|
+
var has = __webpack_require__(26);
|
|
10403
10423
|
var TAG = __webpack_require__(36)('toStringTag');
|
|
10404
10424
|
|
|
10405
10425
|
module.exports = function (it, tag, stat) {
|
|
@@ -10422,7 +10442,7 @@ var global = __webpack_require__(17);
|
|
|
10422
10442
|
var core = __webpack_require__(18);
|
|
10423
10443
|
var LIBRARY = __webpack_require__(50);
|
|
10424
10444
|
var wksExt = __webpack_require__(71);
|
|
10425
|
-
var defineProperty = __webpack_require__(
|
|
10445
|
+
var defineProperty = __webpack_require__(25).f;
|
|
10426
10446
|
module.exports = function (name) {
|
|
10427
10447
|
var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {});
|
|
10428
10448
|
if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty($Symbol, name, { value: wksExt.f(name) });
|
|
@@ -10522,8 +10542,8 @@ exports.Input = void 0;
|
|
|
10522
10542
|
const tslib_1 = __webpack_require__(2);
|
|
10523
10543
|
const classnames_1 = tslib_1.__importDefault(__webpack_require__(3));
|
|
10524
10544
|
const react_1 = tslib_1.__importDefault(__webpack_require__(1));
|
|
10525
|
-
const icon_1 = __webpack_require__(
|
|
10526
|
-
const warning_1 = tslib_1.__importDefault(__webpack_require__(
|
|
10545
|
+
const icon_1 = __webpack_require__(20);
|
|
10546
|
+
const warning_1 = tslib_1.__importDefault(__webpack_require__(27));
|
|
10527
10547
|
__webpack_require__(113);
|
|
10528
10548
|
function isUndefined(obj) {
|
|
10529
10549
|
return typeof obj === 'undefined';
|
|
@@ -14108,7 +14128,7 @@ const react_1 = tslib_1.__importStar(__webpack_require__(1));
|
|
|
14108
14128
|
const react_custom_scrollbars_1 = __webpack_require__(346);
|
|
14109
14129
|
const ide_utils_1 = __webpack_require__(12);
|
|
14110
14130
|
__webpack_require__(361);
|
|
14111
|
-
const Scrollbars = ({ onScroll, onUpdate, forwardedRef, style, children, className, onReachBottom, tabBarMode, thumbSize = 5, hiddenVertical, hiddenHorizontal, }) => {
|
|
14131
|
+
const Scrollbars = ({ onScroll, onUpdate, forwardedRef, style, children, className, onReachBottom, tabBarMode, thumbSize = 5, hiddenVertical, hiddenHorizontal, universal = false, }) => {
|
|
14112
14132
|
const disposableCollection = (0, react_1.useRef)(new ide_utils_1.DisposableCollection());
|
|
14113
14133
|
const scrollerRef = (0, react_1.useRef)();
|
|
14114
14134
|
const refSetter = (0, react_1.useCallback)((scrollbarsRef) => {
|
|
@@ -14187,7 +14207,7 @@ const Scrollbars = ({ onScroll, onUpdate, forwardedRef, style, children, classNa
|
|
|
14187
14207
|
}, [scrollerRef.current, tabBarMode]);
|
|
14188
14208
|
// clear listeners
|
|
14189
14209
|
(0, react_1.useEffect)(() => () => disposableCollection.current.dispose(), []);
|
|
14190
|
-
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, renderTrackHorizontal: (_a) => {
|
|
14210
|
+
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, universal: universal, renderTrackHorizontal: (_a) => {
|
|
14191
14211
|
var { style } = _a, props = tslib_1.__rest(_a, ["style"]);
|
|
14192
14212
|
const newStyle = Object.assign(Object.assign({}, style), { height: thumbSize, left: 0, right: 0, bottom: 1 });
|
|
14193
14213
|
if (hiddenHorizontal) {
|
|
@@ -14927,7 +14947,7 @@ module.exports = function (it) {
|
|
|
14927
14947
|
/* 101 */
|
|
14928
14948
|
/***/ (function(module, exports, __webpack_require__) {
|
|
14929
14949
|
|
|
14930
|
-
var has = __webpack_require__(
|
|
14950
|
+
var has = __webpack_require__(26);
|
|
14931
14951
|
var toIObject = __webpack_require__(35);
|
|
14932
14952
|
var arrayIndexOf = __webpack_require__(177)(false);
|
|
14933
14953
|
var IE_PROTO = __webpack_require__(63)('IE_PROTO');
|
|
@@ -15073,7 +15093,7 @@ var pIE = __webpack_require__(52);
|
|
|
15073
15093
|
var createDesc = __webpack_require__(48);
|
|
15074
15094
|
var toIObject = __webpack_require__(35);
|
|
15075
15095
|
var toPrimitive = __webpack_require__(60);
|
|
15076
|
-
var has = __webpack_require__(
|
|
15096
|
+
var has = __webpack_require__(26);
|
|
15077
15097
|
var IE8_DOM_DEFINE = __webpack_require__(99);
|
|
15078
15098
|
var gOPD = Object.getOwnPropertyDescriptor;
|
|
15079
15099
|
|
|
@@ -15208,7 +15228,7 @@ exports.Icon = react_1.default.memo(react_1.default.forwardRef(IconBase));
|
|
|
15208
15228
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15209
15229
|
exports.iconManager = exports.defaultIconMap = exports.defaultIconfont = void 0;
|
|
15210
15230
|
const tslib_1 = __webpack_require__(2);
|
|
15211
|
-
const warning_1 = tslib_1.__importDefault(__webpack_require__(
|
|
15231
|
+
const warning_1 = tslib_1.__importDefault(__webpack_require__(27));
|
|
15212
15232
|
const iconMap_1 = __webpack_require__(220);
|
|
15213
15233
|
Object.defineProperty(exports, "defaultIconfont", { enumerable: true, get: function () { return iconMap_1.defaultIconfont; } });
|
|
15214
15234
|
/**
|
|
@@ -15315,7 +15335,7 @@ const prop_types_1 = tslib_1.__importDefault(__webpack_require__(0));
|
|
|
15315
15335
|
const rc_dialog_1 = tslib_1.__importDefault(__webpack_require__(397));
|
|
15316
15336
|
const addEventListener_1 = tslib_1.__importDefault(__webpack_require__(242));
|
|
15317
15337
|
const react_1 = tslib_1.__importDefault(__webpack_require__(1));
|
|
15318
|
-
const button_1 = __webpack_require__(
|
|
15338
|
+
const button_1 = __webpack_require__(24);
|
|
15319
15339
|
const locale_1 = __webpack_require__(243);
|
|
15320
15340
|
let mousePosition;
|
|
15321
15341
|
exports.destroyFns = [];
|
|
@@ -17767,7 +17787,7 @@ const prompt_1 = __webpack_require__(136);
|
|
|
17767
17787
|
const NewPromptHandle_1 = __webpack_require__(137);
|
|
17768
17788
|
const tree_1 = __webpack_require__(45);
|
|
17769
17789
|
const TreeNodeRendererWrap_1 = __webpack_require__(141);
|
|
17770
|
-
const types_1 = __webpack_require__(
|
|
17790
|
+
const types_1 = __webpack_require__(22);
|
|
17771
17791
|
var RenderErrorType;
|
|
17772
17792
|
(function (RenderErrorType) {
|
|
17773
17793
|
RenderErrorType[RenderErrorType["RENDER_ITEM"] = 0] = "RENDER_ITEM";
|
|
@@ -18178,7 +18198,7 @@ class RecycleTree extends react_1.default.Component {
|
|
|
18178
18198
|
setSize();
|
|
18179
18199
|
}
|
|
18180
18200
|
}, []);
|
|
18181
|
-
const setSize = supportDynamicHeights
|
|
18201
|
+
const setSize = (0, react_1.useMemo)(() => supportDynamicHeights
|
|
18182
18202
|
? () => {
|
|
18183
18203
|
let size = 0;
|
|
18184
18204
|
if (wrapRef.current) {
|
|
@@ -18191,17 +18211,16 @@ class RecycleTree extends react_1.default.Component {
|
|
|
18191
18211
|
}
|
|
18192
18212
|
return Math.max(size, RecycleTree.DEFAULT_ITEM_HEIGHT);
|
|
18193
18213
|
}
|
|
18194
|
-
: () => { };
|
|
18214
|
+
: () => { }, [supportDynamicHeights]);
|
|
18195
18215
|
const itemStyle = overflow === 'ellipsis' ? style : Object.assign(Object.assign({}, style), { width: 'auto', minWidth: '100%' });
|
|
18196
18216
|
return (react_1.default.createElement("div", Object.assign({ ref: wrapRef, style: itemStyle, role: ((_g = item.accessibilityInformation) === null || _g === void 0 ? void 0 : _g.role) || 'treeiem' }, ariaInfo),
|
|
18197
|
-
react_1.default.createElement(TreeNodeRendererWrap_1.NodeRendererWrap, { item: item, depth: item.depth, itemType: type, template: template, hasPrompt: !!this.promptHandle && !this.promptHandle.destroyed, expanded: tree_1.CompositeTreeNode.is(item) ? item.expanded : void 0
|
|
18217
|
+
react_1.default.createElement(TreeNodeRendererWrap_1.NodeRendererWrap, { item: item, depth: item.depth, itemType: type, template: template, hasPrompt: !!this.promptHandle && !this.promptHandle.destroyed, expanded: tree_1.CompositeTreeNode.is(item) ? item.expanded : void 0 }, children)));
|
|
18198
18218
|
};
|
|
18199
18219
|
this.layoutItem = () => {
|
|
18200
18220
|
var _a, _b, _c, _d;
|
|
18201
18221
|
if (!this.props.supportDynamicHeights) {
|
|
18202
18222
|
return;
|
|
18203
18223
|
}
|
|
18204
|
-
// (this.listRef?.current as VariableSizeList<any>).resetAfterIndex(0);
|
|
18205
18224
|
// eslint-disable-next-line no-unsafe-optional-chaining
|
|
18206
18225
|
if (this.listRef && ((_a = this.listRef) === null || _a === void 0 ? void 0 : _a.current) && '_getRangeToRender' in ((_b = this.listRef) === null || _b === void 0 ? void 0 : _b.current)) {
|
|
18207
18226
|
// _getRangeToRender 是 react-window 的内部方法,用于获取可视区域的下标范围
|
|
@@ -19318,8 +19337,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
19318
19337
|
exports.ComponentContextProvider = exports.LocalizeContextProvider = exports.LocalizeContext = void 0;
|
|
19319
19338
|
const tslib_1 = __webpack_require__(2);
|
|
19320
19339
|
const react_1 = tslib_1.__importDefault(__webpack_require__(1));
|
|
19321
|
-
const icon_1 = __webpack_require__(
|
|
19322
|
-
const warning_1 = __webpack_require__(
|
|
19340
|
+
const icon_1 = __webpack_require__(20);
|
|
19341
|
+
const warning_1 = __webpack_require__(27);
|
|
19323
19342
|
const emptyLocalize = (v) => {
|
|
19324
19343
|
(0, warning_1.warning)(false, 'Using the default localize fn');
|
|
19325
19344
|
return '';
|
|
@@ -19407,7 +19426,7 @@ __webpack_require__.d(__webpack_exports__, "areEqual", function() { return /* bi
|
|
|
19407
19426
|
__webpack_require__.d(__webpack_exports__, "shouldComponentUpdate", function() { return /* binding */ shouldComponentUpdate; });
|
|
19408
19427
|
|
|
19409
19428
|
// EXTERNAL MODULE: /home/runner/work/core/core/node_modules/@babel/runtime/helpers/esm/extends.js
|
|
19410
|
-
var esm_extends = __webpack_require__(
|
|
19429
|
+
var esm_extends = __webpack_require__(23);
|
|
19411
19430
|
|
|
19412
19431
|
// CONCATENATED MODULE: /home/runner/work/core/core/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
|
|
19413
19432
|
function _assertThisInitialized(self) {
|
|
@@ -22042,7 +22061,7 @@ if (true) {
|
|
|
22042
22061
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22043
22062
|
const tslib_1 = __webpack_require__(2);
|
|
22044
22063
|
__webpack_require__(151);
|
|
22045
|
-
tslib_1.__exportStar(__webpack_require__(
|
|
22064
|
+
tslib_1.__exportStar(__webpack_require__(24), exports);
|
|
22046
22065
|
tslib_1.__exportStar(__webpack_require__(224), exports);
|
|
22047
22066
|
tslib_1.__exportStar(__webpack_require__(74), exports);
|
|
22048
22067
|
tslib_1.__exportStar(__webpack_require__(233), exports);
|
|
@@ -22050,7 +22069,7 @@ tslib_1.__exportStar(__webpack_require__(235), exports);
|
|
|
22050
22069
|
tslib_1.__exportStar(__webpack_require__(237), exports);
|
|
22051
22070
|
tslib_1.__exportStar(__webpack_require__(114), exports);
|
|
22052
22071
|
tslib_1.__exportStar(__webpack_require__(246), exports);
|
|
22053
|
-
tslib_1.__exportStar(__webpack_require__(
|
|
22072
|
+
tslib_1.__exportStar(__webpack_require__(20), exports);
|
|
22054
22073
|
tslib_1.__exportStar(__webpack_require__(248), exports);
|
|
22055
22074
|
tslib_1.__exportStar(__webpack_require__(311), exports);
|
|
22056
22075
|
tslib_1.__exportStar(__webpack_require__(313), exports);
|
|
@@ -23119,7 +23138,7 @@ module.exports = function (Constructor, NAME, next) {
|
|
|
23119
23138
|
/* 185 */
|
|
23120
23139
|
/***/ (function(module, exports, __webpack_require__) {
|
|
23121
23140
|
|
|
23122
|
-
var dP = __webpack_require__(
|
|
23141
|
+
var dP = __webpack_require__(25);
|
|
23123
23142
|
var anObject = __webpack_require__(42);
|
|
23124
23143
|
var getKeys = __webpack_require__(49);
|
|
23125
23144
|
|
|
@@ -23147,7 +23166,7 @@ module.exports = document && document.documentElement;
|
|
|
23147
23166
|
/***/ (function(module, exports, __webpack_require__) {
|
|
23148
23167
|
|
|
23149
23168
|
// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)
|
|
23150
|
-
var has = __webpack_require__(
|
|
23169
|
+
var has = __webpack_require__(26);
|
|
23151
23170
|
var toObject = __webpack_require__(67);
|
|
23152
23171
|
var IE_PROTO = __webpack_require__(63)('IE_PROTO');
|
|
23153
23172
|
var ObjectProto = Object.prototype;
|
|
@@ -23268,7 +23287,7 @@ module.exports = __webpack_require__(18).Symbol;
|
|
|
23268
23287
|
|
|
23269
23288
|
// ECMAScript 6 symbols shim
|
|
23270
23289
|
var global = __webpack_require__(17);
|
|
23271
|
-
var has = __webpack_require__(
|
|
23290
|
+
var has = __webpack_require__(26);
|
|
23272
23291
|
var DESCRIPTORS = __webpack_require__(19);
|
|
23273
23292
|
var $export = __webpack_require__(32);
|
|
23274
23293
|
var redefine = __webpack_require__(105);
|
|
@@ -23292,7 +23311,7 @@ var _create = __webpack_require__(69);
|
|
|
23292
23311
|
var gOPNExt = __webpack_require__(198);
|
|
23293
23312
|
var $GOPD = __webpack_require__(107);
|
|
23294
23313
|
var $GOPS = __webpack_require__(66);
|
|
23295
|
-
var $DP = __webpack_require__(
|
|
23314
|
+
var $DP = __webpack_require__(25);
|
|
23296
23315
|
var $keys = __webpack_require__(49);
|
|
23297
23316
|
var gOPD = $GOPD.f;
|
|
23298
23317
|
var dP = $DP.f;
|
|
@@ -23519,8 +23538,8 @@ setToStringTag(global.JSON, 'JSON', true);
|
|
|
23519
23538
|
|
|
23520
23539
|
var META = __webpack_require__(51)('meta');
|
|
23521
23540
|
var isObject = __webpack_require__(34);
|
|
23522
|
-
var has = __webpack_require__(
|
|
23523
|
-
var setDesc = __webpack_require__(
|
|
23541
|
+
var has = __webpack_require__(26);
|
|
23542
|
+
var setDesc = __webpack_require__(25).f;
|
|
23524
23543
|
var id = 0;
|
|
23525
23544
|
var isExtensible = Object.isExtensible || function () {
|
|
23526
23545
|
return true;
|
|
@@ -24190,7 +24209,7 @@ module.exports = function defineProperty(it, key, desc) {
|
|
|
24190
24209
|
|
|
24191
24210
|
var $export = __webpack_require__(32);
|
|
24192
24211
|
// 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes)
|
|
24193
|
-
$export($export.S + $export.F * !__webpack_require__(19), 'Object', { defineProperty: __webpack_require__(
|
|
24212
|
+
$export($export.S + $export.F * !__webpack_require__(19), 'Object', { defineProperty: __webpack_require__(25).f });
|
|
24194
24213
|
|
|
24195
24214
|
|
|
24196
24215
|
/***/ }),
|
|
@@ -24204,7 +24223,7 @@ const tslib_1 = __webpack_require__(2);
|
|
|
24204
24223
|
const EllipsisOutlined_1 = tslib_1.__importDefault(__webpack_require__(216));
|
|
24205
24224
|
const classnames_1 = tslib_1.__importDefault(__webpack_require__(3));
|
|
24206
24225
|
const React = tslib_1.__importStar(__webpack_require__(1));
|
|
24207
|
-
const button_1 = __webpack_require__(
|
|
24226
|
+
const button_1 = __webpack_require__(24);
|
|
24208
24227
|
const dropdown_1 = tslib_1.__importDefault(__webpack_require__(58));
|
|
24209
24228
|
const DropdownButton = (props) => {
|
|
24210
24229
|
var _a;
|
|
@@ -24619,16 +24638,11 @@ exports.ValidateInput = exports.VALIDATE_TYPE = void 0;
|
|
|
24619
24638
|
const tslib_1 = __webpack_require__(2);
|
|
24620
24639
|
const classnames_1 = tslib_1.__importDefault(__webpack_require__(3));
|
|
24621
24640
|
const react_1 = tslib_1.__importDefault(__webpack_require__(1));
|
|
24622
|
-
const warning_1 = tslib_1.__importDefault(__webpack_require__(20));
|
|
24623
24641
|
const Input_1 = __webpack_require__(75);
|
|
24624
24642
|
__webpack_require__(228);
|
|
24625
24643
|
var VALIDATE_TYPE;
|
|
24626
24644
|
(function (VALIDATE_TYPE) {
|
|
24627
24645
|
VALIDATE_TYPE[VALIDATE_TYPE["INFO"] = 1] = "INFO";
|
|
24628
|
-
/**
|
|
24629
|
-
* @deprecated
|
|
24630
|
-
*/
|
|
24631
|
-
VALIDATE_TYPE[VALIDATE_TYPE["WRANING"] = 0] = "WRANING";
|
|
24632
24646
|
VALIDATE_TYPE[VALIDATE_TYPE["ERROR"] = 2] = "ERROR";
|
|
24633
24647
|
VALIDATE_TYPE[VALIDATE_TYPE["WARNING"] = 3] = "WARNING";
|
|
24634
24648
|
VALIDATE_TYPE[VALIDATE_TYPE["IGNORE"] = 4] = "IGNORE";
|
|
@@ -24639,10 +24653,9 @@ exports.ValidateInput = react_1.default.forwardRef((_a, ref) => {
|
|
|
24639
24653
|
react_1.default.useEffect(() => {
|
|
24640
24654
|
setValidateMessage(validateInfo);
|
|
24641
24655
|
}, [validateInfo]);
|
|
24642
|
-
(0, warning_1.default)(!validateMessage || validateMessage.type !== VALIDATE_TYPE.WRANING, '`VALIDATE_TYPE.WRANING` was a wrong typo, please use `VALIDATE_TYPE.WARNING` instead');
|
|
24643
24656
|
const validateClx = (0, classnames_1.default)({
|
|
24644
24657
|
'validate-error': validateMessage && validateMessage.type === VALIDATE_TYPE.ERROR,
|
|
24645
|
-
'validate-warning': validateMessage &&
|
|
24658
|
+
'validate-warning': validateMessage && validateMessage.type === VALIDATE_TYPE.WARNING,
|
|
24646
24659
|
'validate-info': validateMessage && validateMessage.type === VALIDATE_TYPE.INFO,
|
|
24647
24660
|
});
|
|
24648
24661
|
const renderValidateMessage = () => {
|
|
@@ -24840,7 +24853,7 @@ exports.CheckBox = void 0;
|
|
|
24840
24853
|
const tslib_1 = __webpack_require__(2);
|
|
24841
24854
|
const classnames_1 = tslib_1.__importDefault(__webpack_require__(3));
|
|
24842
24855
|
const react_1 = tslib_1.__importDefault(__webpack_require__(1));
|
|
24843
|
-
const warning_1 = __webpack_require__(
|
|
24856
|
+
const warning_1 = __webpack_require__(27);
|
|
24844
24857
|
__webpack_require__(234);
|
|
24845
24858
|
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' },
|
|
24846
24859
|
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' })));
|
|
@@ -24882,7 +24895,7 @@ const tslib_1 = __webpack_require__(2);
|
|
|
24882
24895
|
const classnames_1 = tslib_1.__importDefault(__webpack_require__(3));
|
|
24883
24896
|
const react_1 = tslib_1.__importStar(__webpack_require__(1));
|
|
24884
24897
|
__webpack_require__(236);
|
|
24885
|
-
const icon_1 = __webpack_require__(
|
|
24898
|
+
const icon_1 = __webpack_require__(20);
|
|
24886
24899
|
const Option = (_a) => {
|
|
24887
24900
|
var { value, children, disabled, onClick, className } = _a, otherProps = tslib_1.__rest(_a, ["value", "children", "disabled", "onClick", "className"]);
|
|
24888
24901
|
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));
|
|
@@ -25038,7 +25051,7 @@ function Select({ disabled, options, size = 'default', children, value, onChange
|
|
|
25038
25051
|
value: value,
|
|
25039
25052
|
notMatch: true,
|
|
25040
25053
|
};
|
|
25041
|
-
}, [options, value]);
|
|
25054
|
+
}, [options, value, children]);
|
|
25042
25055
|
const selected = getSelectedValue();
|
|
25043
25056
|
const optionsContainerClasses = (0, classnames_1.default)('kt-select-options', {
|
|
25044
25057
|
['kt-select-options-visible']: open,
|
|
@@ -25390,9 +25403,9 @@ exports.Dialog = void 0;
|
|
|
25390
25403
|
const tslib_1 = __webpack_require__(2);
|
|
25391
25404
|
const classnames_1 = tslib_1.__importDefault(__webpack_require__(3));
|
|
25392
25405
|
const react_1 = tslib_1.__importDefault(__webpack_require__(1));
|
|
25393
|
-
const button_1 = __webpack_require__(
|
|
25406
|
+
const button_1 = __webpack_require__(24);
|
|
25394
25407
|
const common_1 = __webpack_require__(76);
|
|
25395
|
-
const icon_1 = __webpack_require__(
|
|
25408
|
+
const icon_1 = __webpack_require__(20);
|
|
25396
25409
|
const overlay_1 = __webpack_require__(114);
|
|
25397
25410
|
__webpack_require__(247);
|
|
25398
25411
|
const DefaultButtons = ({ onCancel, onOk, cancelText, okText }) => (react_1.default.createElement(react_1.default.Fragment, null,
|
|
@@ -25434,7 +25447,7 @@ const tslib_1 = __webpack_require__(2);
|
|
|
25434
25447
|
const classnames_1 = tslib_1.__importDefault(__webpack_require__(3));
|
|
25435
25448
|
const react_1 = tslib_1.__importDefault(__webpack_require__(1));
|
|
25436
25449
|
const ide_utils_1 = __webpack_require__(12);
|
|
25437
|
-
const button_1 = __webpack_require__(
|
|
25450
|
+
const button_1 = __webpack_require__(24);
|
|
25438
25451
|
const common_1 = __webpack_require__(76);
|
|
25439
25452
|
const notification_1 = tslib_1.__importDefault(__webpack_require__(297));
|
|
25440
25453
|
__webpack_require__(310);
|
|
@@ -26550,7 +26563,7 @@ module.exports = Array.isArray || function (arr) {
|
|
|
26550
26563
|
"use strict";
|
|
26551
26564
|
|
|
26552
26565
|
|
|
26553
|
-
var Buffer = __webpack_require__(
|
|
26566
|
+
var Buffer = __webpack_require__(21).Buffer;
|
|
26554
26567
|
|
|
26555
26568
|
var bomHandling = __webpack_require__(257),
|
|
26556
26569
|
iconv = module.exports;
|
|
@@ -26829,7 +26842,7 @@ for (var i = 0; i < modules.length; i++) {
|
|
|
26829
26842
|
|
|
26830
26843
|
"use strict";
|
|
26831
26844
|
|
|
26832
|
-
var Buffer = __webpack_require__(
|
|
26845
|
+
var Buffer = __webpack_require__(21).Buffer;
|
|
26833
26846
|
|
|
26834
26847
|
// Export Node.js internal encodings.
|
|
26835
26848
|
|
|
@@ -27408,7 +27421,7 @@ SafeBuffer.allocUnsafeSlow = function (size) {
|
|
|
27408
27421
|
"use strict";
|
|
27409
27422
|
|
|
27410
27423
|
|
|
27411
|
-
var Buffer = __webpack_require__(
|
|
27424
|
+
var Buffer = __webpack_require__(21).Buffer;
|
|
27412
27425
|
|
|
27413
27426
|
// == UTF32-LE/BE codec. ==========================================================
|
|
27414
27427
|
|
|
@@ -27733,7 +27746,7 @@ function detectEncoding(bufs, defaultEncoding) {
|
|
|
27733
27746
|
|
|
27734
27747
|
"use strict";
|
|
27735
27748
|
|
|
27736
|
-
var Buffer = __webpack_require__(
|
|
27749
|
+
var Buffer = __webpack_require__(21).Buffer;
|
|
27737
27750
|
|
|
27738
27751
|
// Note: UTF16-LE (or UCS2) codec is Node.js native. See encodings/internal.js
|
|
27739
27752
|
|
|
@@ -27937,7 +27950,7 @@ function detectEncoding(bufs, defaultEncoding) {
|
|
|
27937
27950
|
|
|
27938
27951
|
"use strict";
|
|
27939
27952
|
|
|
27940
|
-
var Buffer = __webpack_require__(
|
|
27953
|
+
var Buffer = __webpack_require__(21).Buffer;
|
|
27941
27954
|
|
|
27942
27955
|
// UTF-7 codec, according to https://tools.ietf.org/html/rfc2152
|
|
27943
27956
|
// See also below a UTF-7-IMAP codec, according to http://tools.ietf.org/html/rfc3501#section-5.1.3
|
|
@@ -28234,7 +28247,7 @@ Utf7IMAPDecoder.prototype.end = function() {
|
|
|
28234
28247
|
|
|
28235
28248
|
"use strict";
|
|
28236
28249
|
|
|
28237
|
-
var Buffer = __webpack_require__(
|
|
28250
|
+
var Buffer = __webpack_require__(21).Buffer;
|
|
28238
28251
|
|
|
28239
28252
|
// Single-byte codec. Needs a 'chars' string parameter that contains 256 or 128 chars that
|
|
28240
28253
|
// correspond to encoded bytes (if 128 - then lower half is ASCII).
|
|
@@ -28956,7 +28969,7 @@ module.exports = {
|
|
|
28956
28969
|
|
|
28957
28970
|
"use strict";
|
|
28958
28971
|
|
|
28959
|
-
var Buffer = __webpack_require__(
|
|
28972
|
+
var Buffer = __webpack_require__(21).Buffer;
|
|
28960
28973
|
|
|
28961
28974
|
// Multibyte codec. In this scheme, a character is represented by 1 or more bytes.
|
|
28962
28975
|
// Our codec supports UTF-16 surrogates, extensions for GB18030 and unicode sequences.
|
|
@@ -29786,7 +29799,7 @@ module.exports = JSON.parse("[[\"8740\",\"䏰䰲䘃䖦䕸𧉧䵷䖳𧲱䳢𧳅
|
|
|
29786
29799
|
"use strict";
|
|
29787
29800
|
|
|
29788
29801
|
|
|
29789
|
-
var Buffer = __webpack_require__(
|
|
29802
|
+
var Buffer = __webpack_require__(21).Buffer;
|
|
29790
29803
|
|
|
29791
29804
|
// NOTE: Due to 'stream' module being pretty large (~100Kb, significant in browser environments),
|
|
29792
29805
|
// we opt to dependency-inject it instead of creating a hard dependency.
|
|
@@ -32689,7 +32702,7 @@ const tslib_1 = __webpack_require__(2);
|
|
|
32689
32702
|
const classnames_1 = tslib_1.__importDefault(__webpack_require__(3));
|
|
32690
32703
|
const react_1 = tslib_1.__importDefault(__webpack_require__(1));
|
|
32691
32704
|
__webpack_require__(312);
|
|
32692
|
-
const button_1 = __webpack_require__(
|
|
32705
|
+
const button_1 = __webpack_require__(24);
|
|
32693
32706
|
// 目前支持支持 hover,后面按需拓展
|
|
32694
32707
|
var PopoverTriggerType;
|
|
32695
32708
|
(function (PopoverTriggerType) {
|
|
@@ -33405,7 +33418,7 @@ tslib_1.__exportStar(__webpack_require__(130), exports);
|
|
|
33405
33418
|
tslib_1.__exportStar(__webpack_require__(141), exports);
|
|
33406
33419
|
tslib_1.__exportStar(__webpack_require__(136), exports);
|
|
33407
33420
|
tslib_1.__exportStar(__webpack_require__(45), exports);
|
|
33408
|
-
tslib_1.__exportStar(__webpack_require__(
|
|
33421
|
+
tslib_1.__exportStar(__webpack_require__(22), exports);
|
|
33409
33422
|
tslib_1.__exportStar(__webpack_require__(380), exports);
|
|
33410
33423
|
tslib_1.__exportStar(__webpack_require__(384), exports);
|
|
33411
33424
|
|
|
@@ -35460,7 +35473,7 @@ function renderThumbVerticalDefault(_ref4) {
|
|
|
35460
35473
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
35461
35474
|
const tslib_1 = __webpack_require__(2);
|
|
35462
35475
|
tslib_1.__exportStar(__webpack_require__(363), exports);
|
|
35463
|
-
tslib_1.__exportStar(__webpack_require__(
|
|
35476
|
+
tslib_1.__exportStar(__webpack_require__(27), exports);
|
|
35464
35477
|
tslib_1.__exportStar(__webpack_require__(110), exports);
|
|
35465
35478
|
tslib_1.__exportStar(__webpack_require__(364), exports);
|
|
35466
35479
|
tslib_1.__exportStar(__webpack_require__(365), exports);
|
|
@@ -35477,7 +35490,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
35477
35490
|
exports.Deprecated = void 0;
|
|
35478
35491
|
const tslib_1 = __webpack_require__(2);
|
|
35479
35492
|
const react_1 = tslib_1.__importDefault(__webpack_require__(1));
|
|
35480
|
-
const warning_1 = tslib_1.__importDefault(__webpack_require__(
|
|
35493
|
+
const warning_1 = tslib_1.__importDefault(__webpack_require__(27));
|
|
35481
35494
|
// @deprecated wrapper
|
|
35482
35495
|
function Deprecated(fc, msg) {
|
|
35483
35496
|
return (props) => {
|
|
@@ -38684,7 +38697,7 @@ tslib_1.__exportStar(__webpack_require__(374), exports);
|
|
|
38684
38697
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38685
38698
|
exports.TreeModel = void 0;
|
|
38686
38699
|
const ide_utils_1 = __webpack_require__(12);
|
|
38687
|
-
const types_1 = __webpack_require__(
|
|
38700
|
+
const types_1 = __webpack_require__(22);
|
|
38688
38701
|
const treeState_1 = __webpack_require__(375);
|
|
38689
38702
|
class TreeModel {
|
|
38690
38703
|
constructor() {
|
|
@@ -38794,7 +38807,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
38794
38807
|
exports.TreeStateManager = exports.Operation = void 0;
|
|
38795
38808
|
const tslib_1 = __webpack_require__(2);
|
|
38796
38809
|
const ide_utils_1 = __webpack_require__(12);
|
|
38797
|
-
const types_1 = __webpack_require__(
|
|
38810
|
+
const types_1 = __webpack_require__(22);
|
|
38798
38811
|
const TreeNode_1 = __webpack_require__(46);
|
|
38799
38812
|
const { Path } = ide_utils_1.path;
|
|
38800
38813
|
var Operation;
|
|
@@ -39121,7 +39134,7 @@ tslib_1.__exportStar(__webpack_require__(140), exports);
|
|
|
39121
39134
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39122
39135
|
exports.DecorationsManager = void 0;
|
|
39123
39136
|
const ide_utils_1 = __webpack_require__(12);
|
|
39124
|
-
const types_1 = __webpack_require__(
|
|
39137
|
+
const types_1 = __webpack_require__(22);
|
|
39125
39138
|
const TreeNode_1 = __webpack_require__(46);
|
|
39126
39139
|
const CompositeDecoration_1 = __webpack_require__(140);
|
|
39127
39140
|
class DecorationsManager {
|
|
@@ -39322,7 +39335,7 @@ exports.RecycleTreeFilterDecorator = void 0;
|
|
|
39322
39335
|
const tslib_1 = __webpack_require__(2);
|
|
39323
39336
|
const throttle_1 = tslib_1.__importDefault(__webpack_require__(131));
|
|
39324
39337
|
const react_1 = tslib_1.__importStar(__webpack_require__(1));
|
|
39325
|
-
const icon_1 = __webpack_require__(
|
|
39338
|
+
const icon_1 = __webpack_require__(20);
|
|
39326
39339
|
const input_1 = __webpack_require__(74);
|
|
39327
39340
|
const locale_context_provider_1 = __webpack_require__(142);
|
|
39328
39341
|
__webpack_require__(382);
|
|
@@ -39387,7 +39400,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39387
39400
|
exports.RecycleTreeAdaptiveDecorator = void 0;
|
|
39388
39401
|
const tslib_1 = __webpack_require__(2);
|
|
39389
39402
|
const react_1 = tslib_1.__importDefault(__webpack_require__(1));
|
|
39390
|
-
const types_1 = __webpack_require__(
|
|
39403
|
+
const types_1 = __webpack_require__(22);
|
|
39391
39404
|
/**
|
|
39392
39405
|
* 将 RecycleTree 组件装饰到能够自适应高度
|
|
39393
39406
|
* @param recycleTreeComp RecycleTree 组件
|
|
@@ -39740,8 +39753,8 @@ exports.BasicTreeNodeRenderer = void 0;
|
|
|
39740
39753
|
const tslib_1 = __webpack_require__(2);
|
|
39741
39754
|
const classnames_1 = tslib_1.__importDefault(__webpack_require__(3));
|
|
39742
39755
|
const react_1 = tslib_1.__importStar(__webpack_require__(1));
|
|
39743
|
-
const button_1 = __webpack_require__(
|
|
39744
|
-
const icon_1 = __webpack_require__(
|
|
39756
|
+
const button_1 = __webpack_require__(24);
|
|
39757
|
+
const icon_1 = __webpack_require__(20);
|
|
39745
39758
|
const loading_1 = __webpack_require__(144);
|
|
39746
39759
|
const tree_node_define_1 = __webpack_require__(89);
|
|
39747
39760
|
const types_1 = __webpack_require__(90);
|
|
@@ -39894,7 +39907,7 @@ exports.BasicTreeModel = exports.BasicTreeService = void 0;
|
|
|
39894
39907
|
const tslib_1 = __webpack_require__(2);
|
|
39895
39908
|
const ide_utils_1 = __webpack_require__(12);
|
|
39896
39909
|
const tree_1 = __webpack_require__(45);
|
|
39897
|
-
const types_1 = __webpack_require__(
|
|
39910
|
+
const types_1 = __webpack_require__(22);
|
|
39898
39911
|
const tree_node_define_1 = __webpack_require__(89);
|
|
39899
39912
|
const types_2 = __webpack_require__(90);
|
|
39900
39913
|
class BasicTreeService extends tree_1.Tree {
|
|
@@ -40236,7 +40249,7 @@ const RecycleList = ({ width, height, maxHeight, minHeight, className, style, da
|
|
|
40236
40249
|
};
|
|
40237
40250
|
(0, react_1.useEffect)(() => {
|
|
40238
40251
|
if (rowRoot.current && listRef.current) {
|
|
40239
|
-
observer.current = new MutationObserver((
|
|
40252
|
+
observer.current = new MutationObserver(() => {
|
|
40240
40253
|
setItemSize();
|
|
40241
40254
|
});
|
|
40242
40255
|
const observerOption = {
|
|
@@ -40847,7 +40860,7 @@ AutoSizer.defaultProps = {
|
|
|
40847
40860
|
__webpack_require__.r(__webpack_exports__);
|
|
40848
40861
|
|
|
40849
40862
|
// EXTERNAL MODULE: /home/runner/work/core/core/node_modules/@babel/runtime/helpers/esm/extends.js
|
|
40850
|
-
var esm_extends = __webpack_require__(
|
|
40863
|
+
var esm_extends = __webpack_require__(23);
|
|
40851
40864
|
|
|
40852
40865
|
// CONCATENATED MODULE: /home/runner/work/core/core/node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
40853
40866
|
function _typeof(obj) {
|