@kdcloudjs/table 1.2.2-canary.18 → 1.2.2-canary.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/@kdcloudjs/table.css +1 -1
- package/dist/@kdcloudjs/table.js +3533 -3108
- package/dist/@kdcloudjs/table.js.map +1 -1
- package/dist/@kdcloudjs/table.min.css +1 -1
- package/dist/@kdcloudjs/table.min.js +11 -19
- package/dist/@kdcloudjs/table.min.js.map +1 -1
- package/es/_utils/formatUtil.js +1 -5
- package/es/_utils/hooks.js +3 -3
- package/es/_utils/usePopper.js +26 -26
- package/es/locale/locale.js +6 -7
- package/es/table/base/calculations.js +3 -3
- package/es/table/base/empty.js +2 -2
- package/es/table/base/globalStyleComponent.js +6 -8
- package/es/table/base/header.js +5 -7
- package/es/table/base/helpers/FastScrollManager.js +1 -2
- package/es/table/base/helpers/SpanManager.js +1 -2
- package/es/table/base/helpers/TableDOMUtils.js +5 -6
- package/es/table/base/helpers/__test__/TableDOMUtils.test.js +2 -2
- package/es/table/base/html-table.js +16 -8
- package/es/table/base/loading.js +2 -2
- package/es/table/base/renderTemplates.js +16 -16
- package/es/table/base/table.js +17 -21
- package/es/table/base/utils.js +3 -3
- package/es/table/internals.d.ts +2 -1
- package/es/table/pipeline/features/columnDrag.js +21 -2
- package/es/table/pipeline/features/columnFilter.js +1 -3
- package/es/table/pipeline/features/columnHover.js +16 -11
- package/es/table/pipeline/features/columnRangeHover.js +18 -17
- package/es/table/pipeline/features/columnResizeWidth.js +2 -2
- package/es/table/pipeline/features/contextMenu.js +4 -6
- package/es/table/pipeline/features/featureApi/RowDragApi.js +1 -2
- package/es/table/pipeline/features/filter/DefaultFilterContent.js +4 -5
- package/es/table/pipeline/features/filter/Filter.js +2 -3
- package/es/table/pipeline/features/mergeCellHover.js +21 -15
- package/es/table/pipeline/features/rangeSelection.js +12 -10
- package/es/table/pipeline/features/rowDetail.js +5 -3
- package/es/table/pipeline/features/rowDrag.js +2 -3
- package/es/table/pipeline/features/rowGrouping.js +9 -8
- package/es/table/pipeline/features/sort.js +6 -7
- package/es/table/pipeline/features/tips.js +4 -4
- package/es/table/pipeline/features/treeMode.js +5 -5
- package/es/table/pipeline/features/treeSelect.js +2 -2
- package/es/table/pipeline/pipeline.js +1 -2
- package/es/table/pivot/cross-table/buildCrossTable.js +6 -8
- package/es/table/pivot/cross-table/cross-table.js +1 -3
- package/es/table/pivot/cross-tree-table/buildCrossTreeTable.js +8 -10
- package/es/table/pivot/cross-tree-table/cross-tree-table.js +8 -11
- package/es/table/pivot/pivot-utils/builders.js +3 -3
- package/es/table/pivot/pivot-utils/convert-utils.js +3 -3
- package/es/table/transforms/autoWidth.js +3 -3
- package/es/table/transforms/columnResize.js +3 -5
- package/es/table/transforms/sort.js +6 -8
- package/es/table/transforms/tips.js +4 -4
- package/es/table/transforms/treeMode.js +10 -12
- package/es/table/utils/buildTree.js +3 -3
- package/es/table/utils/collectNodes.js +3 -3
- package/es/table/utils/exportTableAsExcel.js +3 -3
- package/es/table/utils/getTreeDepth.js +3 -3
- package/es/table/utils/groupBy.js +3 -3
- package/es/table/utils/makeRecursiveMapper.js +3 -3
- package/es/table/utils/mergeCellProps.js +0 -1
- package/es/table/utils/others.js +3 -3
- package/es/table/utils/traverseColumn.js +3 -3
- package/es/table/utils/tree-data-helpers/StrictTreeDataHelper.js +7 -8
- package/es/table/utils/tree-data-helpers/TreeDataHelper.js +4 -5
- package/lib/_utils/arrayUtil.js +2 -3
- package/lib/_utils/formatUtil.js +1 -5
- package/lib/_utils/hooks.js +3 -3
- package/lib/_utils/index.js +2 -3
- package/lib/_utils/type.js +3 -5
- package/lib/_utils/usePopper.js +30 -34
- package/lib/config-provider/ConfigContext.js +1 -2
- package/lib/config-provider/compDefaultProps.js +1 -2
- package/lib/config-provider/configProvider.js +2 -4
- package/lib/config-provider/defaultConfig.js +1 -2
- package/lib/config-provider/index.js +1 -2
- package/lib/locale/index.js +2 -4
- package/lib/locale/locale.js +10 -14
- package/lib/locale/zh-CN.js +1 -2
- package/lib/table/base/BlankComponent.js +4 -7
- package/lib/table/base/calculations.js +3 -3
- package/lib/table/base/empty.js +3 -4
- package/lib/table/base/globalStyleComponent.js +9 -13
- package/lib/table/base/header.js +5 -7
- package/lib/table/base/helpers/FastScrollManager.js +3 -5
- package/lib/table/base/helpers/SpanManager.js +3 -5
- package/lib/table/base/helpers/TableDOMUtils.js +7 -9
- package/lib/table/base/helpers/__test__/TableDOMUtils.test.js +2 -2
- package/lib/table/base/helpers/getRichVisibleRectsStream.js +1 -2
- package/lib/table/base/html-table.js +16 -8
- package/lib/table/base/loading.js +2 -2
- package/lib/table/base/renderTemplates.js +17 -18
- package/lib/table/base/styles.js +9 -18
- package/lib/table/base/table.js +28 -32
- package/lib/table/base/utils.js +13 -22
- package/lib/table/common-views.js +4 -8
- package/lib/table/internals.d.ts +2 -1
- package/lib/table/internals.js +2 -3
- package/lib/table/pipeline/const.js +2 -3
- package/lib/table/pipeline/features/autoFill.js +3 -6
- package/lib/table/pipeline/features/colGroupExtendable.js +2 -3
- package/lib/table/pipeline/features/columnDrag.js +21 -2
- package/lib/table/pipeline/features/columnFilter.js +1 -3
- package/lib/table/pipeline/features/columnHover.js +16 -11
- package/lib/table/pipeline/features/columnRangeHover.js +18 -17
- package/lib/table/pipeline/features/columnResizeWidth.js +6 -10
- package/lib/table/pipeline/features/contextMenu.js +5 -8
- package/lib/table/pipeline/features/featureApi/RowDragApi.js +3 -5
- package/lib/table/pipeline/features/filter/DefaultFilterContent.js +6 -9
- package/lib/table/pipeline/features/filter/Filter.js +4 -7
- package/lib/table/pipeline/features/filter/FilterPanel.js +2 -4
- package/lib/table/pipeline/features/filter/util.js +2 -3
- package/lib/table/pipeline/features/footerDataSource.js +1 -2
- package/lib/table/pipeline/features/mergeCellHover.js +21 -15
- package/lib/table/pipeline/features/rangeSelection.js +14 -14
- package/lib/table/pipeline/features/rowDetail.js +5 -3
- package/lib/table/pipeline/features/rowDrag.js +5 -9
- package/lib/table/pipeline/features/rowGrouping.js +9 -8
- package/lib/table/pipeline/features/sort.js +6 -7
- package/lib/table/pipeline/features/tips.js +4 -4
- package/lib/table/pipeline/features/treeMode.js +7 -9
- package/lib/table/pipeline/features/treeSelect.js +2 -2
- package/lib/table/pipeline/index.js +1 -2
- package/lib/table/pipeline/pipeline.js +2 -4
- package/lib/table/pivot/cross-table/buildCrossTable.js +6 -8
- package/lib/table/pivot/cross-table/constants.js +1 -2
- package/lib/table/pivot/cross-table/cross-table.js +3 -6
- package/lib/table/pivot/cross-tree-table/buildCrossTreeTable.js +8 -10
- package/lib/table/pivot/cross-tree-table/cross-tree-table.js +9 -13
- package/lib/table/pivot/pivot-utils/builders.js +3 -3
- package/lib/table/pivot/pivot-utils/convert-utils.js +3 -3
- package/lib/table/transforms/autoWidth.js +4 -5
- package/lib/table/transforms/columnResize.js +4 -7
- package/lib/table/transforms/sort.js +7 -10
- package/lib/table/transforms/tips.js +4 -4
- package/lib/table/transforms/treeMode.js +11 -14
- package/lib/table/use/useResizeObserver.js +1 -2
- package/lib/table/utils/browserType.js +2 -4
- package/lib/table/utils/buildTree.js +3 -3
- package/lib/table/utils/collectNodes.js +3 -3
- package/lib/table/utils/console.js +2 -3
- package/lib/table/utils/copyToClipboard.js +1 -2
- package/lib/table/utils/exportTableAsExcel.js +3 -3
- package/lib/table/utils/getTreeDepth.js +3 -3
- package/lib/table/utils/groupBy.js +3 -3
- package/lib/table/utils/keyCode.js +1 -2
- package/lib/table/utils/makeRecursiveMapper.js +3 -3
- package/lib/table/utils/mergeCellProps.js +0 -1
- package/lib/table/utils/others.js +4 -5
- package/lib/table/utils/proto.js +1 -2
- package/lib/table/utils/selectColumn.js +2 -4
- package/lib/table/utils/traverseColumn.js +3 -3
- package/lib/table/utils/tree-data-helpers/StrictTreeDataHelper.js +9 -11
- package/lib/table/utils/tree-data-helpers/TreeDataHelper.js +6 -8
- package/package.json +1 -1
|
@@ -19,9 +19,9 @@ var _concat = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-sta
|
|
|
19
19
|
var _splice = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/instance/splice"));
|
|
20
20
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/slicedToArray"));
|
|
21
21
|
var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/toConsumableArray"));
|
|
22
|
-
function _createForOfIteratorHelper(
|
|
23
|
-
function _unsupportedIterableToArray(
|
|
24
|
-
function _arrayLikeToArray(
|
|
22
|
+
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof _Symbol && _getIteratorMethod(r) || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t.return || t.return(); } finally { if (u) throw o; } } }; }
|
|
23
|
+
function _unsupportedIterableToArray(r, a) { if (r) { var _context2; if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = _sliceInstanceProperty(_context2 = {}.toString.call(r)).call(_context2, 8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? _Array$from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
24
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
25
25
|
function flatMap(array, callback) {
|
|
26
26
|
var result = [];
|
|
27
27
|
array.forEach(function (value, index) {
|
|
@@ -47,7 +47,7 @@ function fromEntries(entries) {
|
|
|
47
47
|
}
|
|
48
48
|
return result;
|
|
49
49
|
}
|
|
50
|
-
var arrayUtils = {
|
|
50
|
+
var arrayUtils = exports.arrayUtils = {
|
|
51
51
|
diff: function diff(arr1, arr2) {
|
|
52
52
|
var set = new _set.default(arr2);
|
|
53
53
|
return (0, _filter.default)(arr1).call(arr1, function (x) {
|
|
@@ -61,7 +61,6 @@ var arrayUtils = {
|
|
|
61
61
|
}));
|
|
62
62
|
}
|
|
63
63
|
};
|
|
64
|
-
exports.arrayUtils = arrayUtils;
|
|
65
64
|
function always(value) {
|
|
66
65
|
return function () {
|
|
67
66
|
return value;
|
package/lib/table/utils/proto.js
CHANGED
|
@@ -5,10 +5,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.SINGLE_SELECT_MARK_PROPNAME = exports.MULTI_SELECT_MARK_PROPNAME = void 0;
|
|
7
7
|
exports.isSelectColumn = isSelectColumn;
|
|
8
|
-
var MULTI_SELECT_MARK_PROPNAME = 'checkboxSelection';
|
|
9
|
-
exports.
|
|
10
|
-
var SINGLE_SELECT_MARK_PROPNAME = 'radioSelection';
|
|
11
|
-
exports.SINGLE_SELECT_MARK_PROPNAME = SINGLE_SELECT_MARK_PROPNAME;
|
|
8
|
+
var MULTI_SELECT_MARK_PROPNAME = exports.MULTI_SELECT_MARK_PROPNAME = 'checkboxSelection';
|
|
9
|
+
var SINGLE_SELECT_MARK_PROPNAME = exports.SINGLE_SELECT_MARK_PROPNAME = 'radioSelection';
|
|
12
10
|
function isSelectColumn(column) {
|
|
13
11
|
var features = column.features || {};
|
|
14
12
|
return features[MULTI_SELECT_MARK_PROPNAME] === true || features[SINGLE_SELECT_MARK_PROPNAME] === true;
|
|
@@ -12,9 +12,9 @@ exports.default = traverseColumn;
|
|
|
12
12
|
var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/toConsumableArray"));
|
|
13
13
|
var _extends2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/extends"));
|
|
14
14
|
var _isLeafNode = _interopRequireDefault(require("./isLeafNode"));
|
|
15
|
-
function _createForOfIteratorHelper(
|
|
16
|
-
function _unsupportedIterableToArray(
|
|
17
|
-
function _arrayLikeToArray(
|
|
15
|
+
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof _Symbol && _getIteratorMethod(r) || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t.return || t.return(); } finally { if (u) throw o; } } }; }
|
|
16
|
+
function _unsupportedIterableToArray(r, a) { if (r) { var _context; if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = _sliceInstanceProperty(_context = {}.toString.call(r)).call(_context, 8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? _Array$from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
17
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
18
18
|
function normalizeAsArray(input) {
|
|
19
19
|
if (input == null) {
|
|
20
20
|
return [];
|
|
@@ -16,21 +16,21 @@ var _createClass2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpe
|
|
|
16
16
|
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/classCallCheck"));
|
|
17
17
|
var _isLeafNode = _interopRequireDefault(require("../isLeafNode"));
|
|
18
18
|
var _others = require("../others");
|
|
19
|
-
function _createForOfIteratorHelper(
|
|
20
|
-
function _unsupportedIterableToArray(
|
|
21
|
-
function _arrayLikeToArray(
|
|
19
|
+
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof _Symbol && _getIteratorMethod(r) || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t.return || t.return(); } finally { if (u) throw o; } } }; }
|
|
20
|
+
function _unsupportedIterableToArray(r, a) { if (r) { var _context; if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = _sliceInstanceProperty(_context = {}.toString.call(r)).call(_context, 8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? _Array$from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
21
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
22
22
|
var Wrapper = /*#__PURE__*/(0, _createClass2.default)(function Wrapper(input) {
|
|
23
23
|
(0, _classCallCheck2.default)(this, Wrapper);
|
|
24
24
|
(0, _extends2.default)(this, input);
|
|
25
25
|
});
|
|
26
|
-
var StrictTreeDataHelper = /*#__PURE__*/function () {
|
|
26
|
+
var StrictTreeDataHelper = exports.default = /*#__PURE__*/function () {
|
|
27
27
|
function StrictTreeDataHelper(opts) {
|
|
28
28
|
(0, _classCallCheck2.default)(this, StrictTreeDataHelper);
|
|
29
29
|
this.opts = opts;
|
|
30
30
|
this.valueSet = new _set.default(opts.value);
|
|
31
31
|
this.initWrapperTree();
|
|
32
32
|
}
|
|
33
|
-
(0, _createClass2.default)(StrictTreeDataHelper, [{
|
|
33
|
+
return (0, _createClass2.default)(StrictTreeDataHelper, [{
|
|
34
34
|
key: "initWrapperTree",
|
|
35
35
|
value: function initWrapperTree() {
|
|
36
36
|
var _this = this;
|
|
@@ -40,7 +40,7 @@ var StrictTreeDataHelper = /*#__PURE__*/function () {
|
|
|
40
40
|
children: []
|
|
41
41
|
});
|
|
42
42
|
this.wrapperMap = new _map.default();
|
|
43
|
-
var
|
|
43
|
+
var _dfs = function dfs(parentWrapper, nodes) {
|
|
44
44
|
var _iterator = _createForOfIteratorHelper(nodes),
|
|
45
45
|
_step;
|
|
46
46
|
try {
|
|
@@ -55,7 +55,7 @@ var StrictTreeDataHelper = /*#__PURE__*/function () {
|
|
|
55
55
|
parentWrapper.children.push(wrapper);
|
|
56
56
|
if (!(0, _isLeafNode.default)(node)) {
|
|
57
57
|
wrapper.children = [];
|
|
58
|
-
|
|
58
|
+
_dfs(wrapper, node.children);
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
} catch (err) {
|
|
@@ -64,7 +64,7 @@ var StrictTreeDataHelper = /*#__PURE__*/function () {
|
|
|
64
64
|
_iterator.f();
|
|
65
65
|
}
|
|
66
66
|
};
|
|
67
|
-
|
|
67
|
+
_dfs(this.rootWrapper, this.opts.tree);
|
|
68
68
|
}
|
|
69
69
|
}, {
|
|
70
70
|
key: "value",
|
|
@@ -118,6 +118,4 @@ var StrictTreeDataHelper = /*#__PURE__*/function () {
|
|
|
118
118
|
return this.value;
|
|
119
119
|
}
|
|
120
120
|
}]);
|
|
121
|
-
|
|
122
|
-
}();
|
|
123
|
-
exports.default = StrictTreeDataHelper;
|
|
121
|
+
}();
|
|
@@ -19,14 +19,14 @@ var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime-corejs3/he
|
|
|
19
19
|
var _isLeafNode = _interopRequireDefault(require("../isLeafNode"));
|
|
20
20
|
var _others = require("../others");
|
|
21
21
|
var _console = _interopRequireDefault(require("../console"));
|
|
22
|
-
function _createForOfIteratorHelper(
|
|
23
|
-
function _unsupportedIterableToArray(
|
|
24
|
-
function _arrayLikeToArray(
|
|
22
|
+
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof _Symbol && _getIteratorMethod(r) || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t.return || t.return(); } finally { if (u) throw o; } } }; }
|
|
23
|
+
function _unsupportedIterableToArray(r, a) { if (r) { var _context3; if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = _sliceInstanceProperty(_context3 = {}.toString.call(r)).call(_context3, 8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? _Array$from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
24
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
25
25
|
var Wrapper = /*#__PURE__*/(0, _createClass2.default)(function Wrapper(input) {
|
|
26
26
|
(0, _classCallCheck2.default)(this, Wrapper);
|
|
27
27
|
(0, _extends2.default)(this, input);
|
|
28
28
|
});
|
|
29
|
-
var TreeDataHelper = /*#__PURE__*/function () {
|
|
29
|
+
var TreeDataHelper = exports.default = /*#__PURE__*/function () {
|
|
30
30
|
function TreeDataHelper(opts) {
|
|
31
31
|
var _this = this;
|
|
32
32
|
(0, _classCallCheck2.default)(this, TreeDataHelper);
|
|
@@ -38,7 +38,7 @@ var TreeDataHelper = /*#__PURE__*/function () {
|
|
|
38
38
|
this.valueSet = new _set.default(opts.value);
|
|
39
39
|
this.initWrapperTree();
|
|
40
40
|
}
|
|
41
|
-
(0, _createClass2.default)(TreeDataHelper, [{
|
|
41
|
+
return (0, _createClass2.default)(TreeDataHelper, [{
|
|
42
42
|
key: "value",
|
|
43
43
|
get: function get() {
|
|
44
44
|
return this.opts.value;
|
|
@@ -284,6 +284,4 @@ var TreeDataHelper = /*#__PURE__*/function () {
|
|
|
284
284
|
}
|
|
285
285
|
}
|
|
286
286
|
}]);
|
|
287
|
-
|
|
288
|
-
}();
|
|
289
|
-
exports.default = TreeDataHelper;
|
|
287
|
+
}();
|