@opentinyvue/vue-grid-toolbar 2.22.1 → 2.24.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/lib/index.js +119 -119
- package/package.json +33 -33
package/lib/index.js
CHANGED
|
@@ -1066,12 +1066,12 @@ var __vue2_script$2 = defineComponent({
|
|
|
1066
1066
|
return [].concat(fixedLeft, normal, fixedRight);
|
|
1067
1067
|
},
|
|
1068
1068
|
initNumberSorting: function initNumberSorting(columns) {
|
|
1069
|
-
var
|
|
1069
|
+
var _this0 = this;
|
|
1070
1070
|
if (this.isGroup) return;
|
|
1071
1071
|
this.sortingOptions = [];
|
|
1072
1072
|
columns.forEach(function(column, index) {
|
|
1073
1073
|
column.sortingIndex = index + 1;
|
|
1074
|
-
|
|
1074
|
+
_this0.sortingOptions.push(column.sortingIndex);
|
|
1075
1075
|
});
|
|
1076
1076
|
},
|
|
1077
1077
|
handelNumberSorting: function handelNumberSorting(sort, row) {
|
|
@@ -1226,12 +1226,12 @@ var __vue2_script$2 = defineComponent({
|
|
|
1226
1226
|
this.handleClose();
|
|
1227
1227
|
},
|
|
1228
1228
|
resetSettings: function resetSettings(event) {
|
|
1229
|
-
var
|
|
1229
|
+
var _this1 = this;
|
|
1230
1230
|
if (this.activeName === "base") {
|
|
1231
1231
|
this.columns = this.getColumnConfigs(this.data);
|
|
1232
1232
|
if (this.settings.columns && this.settings.columns.length) {
|
|
1233
1233
|
this.settings.columns.forEach(function(setting) {
|
|
1234
|
-
var column = find(
|
|
1234
|
+
var column = find(_this1.columns, function(item) {
|
|
1235
1235
|
return item.property === setting.property;
|
|
1236
1236
|
});
|
|
1237
1237
|
if (column) {
|
|
@@ -1255,7 +1255,7 @@ var __vue2_script$2 = defineComponent({
|
|
|
1255
1255
|
this.$emit("showModal", false);
|
|
1256
1256
|
},
|
|
1257
1257
|
handleReset: function handleReset(event) {
|
|
1258
|
-
var
|
|
1258
|
+
var _this10 = this;
|
|
1259
1259
|
var equal = function equal2(cols1, cols2) {
|
|
1260
1260
|
var props1 = [];
|
|
1261
1261
|
var props2 = [];
|
|
@@ -1269,14 +1269,14 @@ var __vue2_script$2 = defineComponent({
|
|
|
1269
1269
|
};
|
|
1270
1270
|
if (typeof this.resetMethod === "function") {
|
|
1271
1271
|
this.resetMethod().then(function(sourceSettings) {
|
|
1272
|
-
|
|
1272
|
+
_this10.buildSettings();
|
|
1273
1273
|
var _ref7 = sourceSettings || {}, columns = _ref7.columns, sortType = _ref7.sortType, pageSize = _ref7.pageSize;
|
|
1274
|
-
if (columns && columns.length &&
|
|
1275
|
-
|
|
1274
|
+
if (columns && columns.length && _this10.settings.columns && _this10.settings.columns.length) {
|
|
1275
|
+
_this10.settings.columns.forEach(function(setting) {
|
|
1276
1276
|
var source = find(columns, function(item) {
|
|
1277
1277
|
return item.property === setting.property;
|
|
1278
1278
|
});
|
|
1279
|
-
var target = find(
|
|
1279
|
+
var target = find(_this10.columns, function(item) {
|
|
1280
1280
|
return item.property === setting.property;
|
|
1281
1281
|
});
|
|
1282
1282
|
if (source) {
|
|
@@ -1284,25 +1284,25 @@ var __vue2_script$2 = defineComponent({
|
|
|
1284
1284
|
Object.assign(target, source);
|
|
1285
1285
|
}
|
|
1286
1286
|
});
|
|
1287
|
-
if (equal(columns,
|
|
1287
|
+
if (equal(columns, _this10.settings.columns)) {
|
|
1288
1288
|
var settingColumns = [];
|
|
1289
1289
|
var gridColumns = [];
|
|
1290
1290
|
columns.forEach(function(source) {
|
|
1291
|
-
var settingCol = find(
|
|
1291
|
+
var settingCol = find(_this10.settings.columns, function(item) {
|
|
1292
1292
|
return source.property === item.property;
|
|
1293
1293
|
});
|
|
1294
|
-
var targetCol = find(
|
|
1294
|
+
var targetCol = find(_this10.columns, function(item) {
|
|
1295
1295
|
return source.property === item.property;
|
|
1296
1296
|
});
|
|
1297
1297
|
settingColumns.push(settingCol);
|
|
1298
1298
|
gridColumns.push(targetCol);
|
|
1299
1299
|
});
|
|
1300
|
-
|
|
1301
|
-
|
|
1300
|
+
_this10.settings.columns = settingColumns;
|
|
1301
|
+
_this10.columns = gridColumns;
|
|
1302
1302
|
}
|
|
1303
1303
|
}
|
|
1304
|
-
sortType && (
|
|
1305
|
-
pageSize && (
|
|
1304
|
+
sortType && (_this10.settings.sortType = sortType);
|
|
1305
|
+
pageSize && (_this10.settings.pageSize = pageSize);
|
|
1306
1306
|
});
|
|
1307
1307
|
} else {
|
|
1308
1308
|
this.resetSettings(event);
|
|
@@ -1703,12 +1703,12 @@ var __vue2_script$1 = {
|
|
|
1703
1703
|
});
|
|
1704
1704
|
},
|
|
1705
1705
|
getColumnConfigs: function getColumnConfigs2(configs) {
|
|
1706
|
-
var
|
|
1706
|
+
var _this11 = this;
|
|
1707
1707
|
var _getColNodes2 = function getColNodes(columns2) {
|
|
1708
1708
|
return columns2.map(function(_ref8) {
|
|
1709
1709
|
var id = _ref8.id, title = _ref8.title, property = _ref8.property, fixed = _ref8.fixed, visible = _ref8.visible, order = _ref8.order, sortable = _ref8.sortable, level = _ref8.level, children = _ref8.children;
|
|
1710
1710
|
if (property) {
|
|
1711
|
-
var
|
|
1711
|
+
var _this11$setting;
|
|
1712
1712
|
var column = {
|
|
1713
1713
|
id,
|
|
1714
1714
|
title,
|
|
@@ -1720,7 +1720,7 @@ var __vue2_script$1 = {
|
|
|
1720
1720
|
level,
|
|
1721
1721
|
children
|
|
1722
1722
|
};
|
|
1723
|
-
column.disabled = Boolean((
|
|
1723
|
+
column.disabled = Boolean((_this11$setting = _this11.setting) == null ? void 0 : _this11$setting.customDisable == null ? void 0 : _this11$setting.customDisable(column));
|
|
1724
1724
|
children && (column.children = _getColNodes2(children));
|
|
1725
1725
|
return column;
|
|
1726
1726
|
}
|
|
@@ -1946,7 +1946,7 @@ var __vue2_script = defineComponent({
|
|
|
1946
1946
|
},
|
|
1947
1947
|
watch: {
|
|
1948
1948
|
value: function value2(val) {
|
|
1949
|
-
var
|
|
1949
|
+
var _this12 = this;
|
|
1950
1950
|
if (val) {
|
|
1951
1951
|
this.initOpt();
|
|
1952
1952
|
this.columns = this.getColumnConfigs(this.data);
|
|
@@ -1958,10 +1958,10 @@ var __vue2_script = defineComponent({
|
|
|
1958
1958
|
});
|
|
1959
1959
|
this.defaultcheckedkeys = this.getDefaultcheckedkeys();
|
|
1960
1960
|
setTimeout(function() {
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
if (
|
|
1964
|
-
|
|
1961
|
+
_this12.initDragEvent();
|
|
1962
|
+
_this12.initDrag = true;
|
|
1963
|
+
if (_this12.$refs.tree) {
|
|
1964
|
+
_this12.allCheckedKeys = [].concat(_this12.$refs.tree.getCheckedKeys(), _this12.$refs.tree.getHalfCheckedKeys());
|
|
1965
1965
|
}
|
|
1966
1966
|
}, 100);
|
|
1967
1967
|
this.reset();
|
|
@@ -1985,9 +1985,9 @@ var __vue2_script = defineComponent({
|
|
|
1985
1985
|
},
|
|
1986
1986
|
activeName: {
|
|
1987
1987
|
handler: function handler7(val) {
|
|
1988
|
-
var
|
|
1988
|
+
var _this13 = this;
|
|
1989
1989
|
setTimeout(function() {
|
|
1990
|
-
|
|
1990
|
+
_this13.animateShow = val;
|
|
1991
1991
|
}, 0);
|
|
1992
1992
|
}
|
|
1993
1993
|
}
|
|
@@ -2017,10 +2017,10 @@ var __vue2_script = defineComponent({
|
|
|
2017
2017
|
return this.tinyTable.tinyTheme || GridConfig.themes.AURORA;
|
|
2018
2018
|
},
|
|
2019
2019
|
visibleColumns: function visibleColumns() {
|
|
2020
|
-
var
|
|
2020
|
+
var _this14 = this;
|
|
2021
2021
|
if (this.isGroup) {
|
|
2022
2022
|
return this.columns.filter(function(column) {
|
|
2023
|
-
return
|
|
2023
|
+
return _this14.allCheckedKeys.includes(column.id);
|
|
2024
2024
|
});
|
|
2025
2025
|
} else {
|
|
2026
2026
|
return this.columns.filter(function(column) {
|
|
@@ -2029,9 +2029,9 @@ var __vue2_script = defineComponent({
|
|
|
2029
2029
|
}
|
|
2030
2030
|
},
|
|
2031
2031
|
selectedTemplateVal: function selectedTemplateVal() {
|
|
2032
|
-
var
|
|
2032
|
+
var _this15 = this;
|
|
2033
2033
|
return this.templateOptions.find(function(item) {
|
|
2034
|
-
return item.id ===
|
|
2034
|
+
return item.id === _this15.selectedTemplate;
|
|
2035
2035
|
}) || {};
|
|
2036
2036
|
},
|
|
2037
2037
|
isIndeterminate: {
|
|
@@ -2166,7 +2166,7 @@ var __vue2_script = defineComponent({
|
|
|
2166
2166
|
}
|
|
2167
2167
|
},
|
|
2168
2168
|
getColumnConfigs: function getColumnConfigs3(configs) {
|
|
2169
|
-
var
|
|
2169
|
+
var _this16 = this;
|
|
2170
2170
|
var alwaysShowColumns = this.alwaysShowColumns;
|
|
2171
2171
|
this.colIds = [];
|
|
2172
2172
|
var _getColNodes3 = function getColNodes(columns2) {
|
|
@@ -2188,7 +2188,7 @@ var __vue2_script = defineComponent({
|
|
|
2188
2188
|
expand: true
|
|
2189
2189
|
};
|
|
2190
2190
|
children && (column.children = _getColNodes3(children));
|
|
2191
|
-
|
|
2191
|
+
_this16.colIds.push(id);
|
|
2192
2192
|
return column;
|
|
2193
2193
|
}
|
|
2194
2194
|
return null;
|
|
@@ -2208,10 +2208,10 @@ var __vue2_script = defineComponent({
|
|
|
2208
2208
|
}
|
|
2209
2209
|
},
|
|
2210
2210
|
initSortAndFixedOption: function initSortAndFixedOption(columns) {
|
|
2211
|
-
var
|
|
2211
|
+
var _this17 = this;
|
|
2212
2212
|
columns.forEach(function(column) {
|
|
2213
|
-
column.sortOption = column.order === "asc" ? [
|
|
2214
|
-
column.fixedOption = column.fixed === "left" ? [
|
|
2213
|
+
column.sortOption = column.order === "asc" ? [_this17.opt.desc, _this17.opt.cancelSort] : column.order === "desc" ? [_this17.opt.asc, _this17.opt.cancelSort] : [_this17.opt.asc, _this17.opt.desc];
|
|
2214
|
+
column.fixedOption = column.fixed === "left" ? [_this17.opt.right, _this17.opt.cancelFixed] : column.fixed === "right" ? [_this17.opt.left, _this17.opt.cancelFixed] : [_this17.opt.left, _this17.opt.right];
|
|
2215
2215
|
});
|
|
2216
2216
|
},
|
|
2217
2217
|
initSortingColumns: function initSortingColumns(columns) {
|
|
@@ -2232,13 +2232,13 @@ var __vue2_script = defineComponent({
|
|
|
2232
2232
|
return result;
|
|
2233
2233
|
},
|
|
2234
2234
|
getGroupedColumns: function getGroupedColumns() {
|
|
2235
|
-
var
|
|
2235
|
+
var _this18 = this;
|
|
2236
2236
|
var result = [];
|
|
2237
2237
|
if (this.columnsGroup.length) {
|
|
2238
2238
|
this.columnsGroup.forEach(function(item) {
|
|
2239
2239
|
var data6 = [];
|
|
2240
2240
|
item.data.forEach(function(col) {
|
|
2241
|
-
var column =
|
|
2241
|
+
var column = _this18.originColumns.find(function(c) {
|
|
2242
2242
|
return c.property === col;
|
|
2243
2243
|
});
|
|
2244
2244
|
if (column) {
|
|
@@ -2273,25 +2273,25 @@ var __vue2_script = defineComponent({
|
|
|
2273
2273
|
return checkedkeys;
|
|
2274
2274
|
},
|
|
2275
2275
|
deleteTemplate: function deleteTemplate(item, $event) {
|
|
2276
|
-
var
|
|
2276
|
+
var _this19 = this;
|
|
2277
2277
|
$event.stopPropagation();
|
|
2278
2278
|
Modal.confirm(t("ui.grid.individuation.switchdelcon"), t("ui.grid.individuation.switchdelconfirm")).then(function(res) {
|
|
2279
2279
|
if (res === "confirm") {
|
|
2280
|
-
if (!
|
|
2281
|
-
|
|
2280
|
+
if (!_this19.setting.remote && item.id === _this19.selectedTemplate) {
|
|
2281
|
+
_this19.selectedTemplate = "";
|
|
2282
2282
|
setTimeout(function() {
|
|
2283
|
-
|
|
2283
|
+
_this19.templateOptions = _this19.$refs.switch.options;
|
|
2284
2284
|
});
|
|
2285
2285
|
}
|
|
2286
|
-
|
|
2287
|
-
|
|
2286
|
+
_this19.$refs.switch.handleDelConfirm("yes", item);
|
|
2287
|
+
_this19.$emit("delete-template", item);
|
|
2288
2288
|
}
|
|
2289
2289
|
});
|
|
2290
2290
|
},
|
|
2291
2291
|
selectedTemplateChange: function selectedTemplateChange() {
|
|
2292
|
-
var
|
|
2292
|
+
var _this20 = this;
|
|
2293
2293
|
var selected = this.templateOptions.find(function(opt) {
|
|
2294
|
-
return opt.id ===
|
|
2294
|
+
return opt.id === _this20.selectedTemplate;
|
|
2295
2295
|
});
|
|
2296
2296
|
if (selected) {
|
|
2297
2297
|
this.columns = mergeArray(this.columns, selected.setting.custom.columns);
|
|
@@ -2309,7 +2309,7 @@ var __vue2_script = defineComponent({
|
|
|
2309
2309
|
this.updatedSorting = true;
|
|
2310
2310
|
if (this.$refs.tree) {
|
|
2311
2311
|
setTimeout(function() {
|
|
2312
|
-
|
|
2312
|
+
_this20.allCheckedKeys = [].concat(_this20.$refs.tree.getCheckedKeys(), _this20.$refs.tree.getHalfCheckedKeys());
|
|
2313
2313
|
}, 100);
|
|
2314
2314
|
}
|
|
2315
2315
|
}
|
|
@@ -2328,11 +2328,11 @@ var __vue2_script = defineComponent({
|
|
|
2328
2328
|
},
|
|
2329
2329
|
// 勿同步,search组件input事件第一个参数就是val
|
|
2330
2330
|
searchChange: function searchChange(val) {
|
|
2331
|
-
var
|
|
2331
|
+
var _this21 = this;
|
|
2332
2332
|
var getRenderedTitle = function getRenderedTitle2(col) {
|
|
2333
2333
|
var result = "";
|
|
2334
2334
|
if (typeof col.title === "function") {
|
|
2335
|
-
var titleElm =
|
|
2335
|
+
var titleElm = _this21.$el.querySelector(".custom-saas-title-render." + col.id);
|
|
2336
2336
|
result = titleElm && titleElm.textContent || "";
|
|
2337
2337
|
result = result.toUpperCase();
|
|
2338
2338
|
} else if (col.title) {
|
|
@@ -2432,13 +2432,13 @@ var __vue2_script = defineComponent({
|
|
|
2432
2432
|
}).length >= this.maxFixedNum;
|
|
2433
2433
|
},
|
|
2434
2434
|
updateSortingIndex: function updateSortingIndex() {
|
|
2435
|
-
var
|
|
2435
|
+
var _this22 = this;
|
|
2436
2436
|
this.sortingOptions = [];
|
|
2437
2437
|
var index = 1;
|
|
2438
2438
|
this.columns.forEach(function(column) {
|
|
2439
2439
|
if (column.visible) {
|
|
2440
2440
|
column.sortingIndex = index;
|
|
2441
|
-
|
|
2441
|
+
_this22.sortingOptions.push(column.sortingIndex);
|
|
2442
2442
|
index++;
|
|
2443
2443
|
} else {
|
|
2444
2444
|
column.sortingIndex = null;
|
|
@@ -2475,8 +2475,8 @@ var __vue2_script = defineComponent({
|
|
|
2475
2475
|
buildSettings: function buildSettings2() {
|
|
2476
2476
|
var props = ["order", "fixed", "visible", "sortable"].concat(this.keys);
|
|
2477
2477
|
!this.updatedSorting && !this.columnsGroup.length && (this.columns = [].concat(this.groupedColumns[0].data));
|
|
2478
|
-
this.settings.columns = mapTree(this.columns, function(
|
|
2479
|
-
var property =
|
|
2478
|
+
this.settings.columns = mapTree(this.columns, function(_ref0) {
|
|
2479
|
+
var property = _ref0.property, rest = _objectWithoutPropertiesLoose2(_ref0, _excluded3);
|
|
2480
2480
|
var node = {
|
|
2481
2481
|
property
|
|
2482
2482
|
};
|
|
@@ -2488,13 +2488,13 @@ var __vue2_script = defineComponent({
|
|
|
2488
2488
|
return this.settings;
|
|
2489
2489
|
},
|
|
2490
2490
|
saveSettings: function saveSettings2(val) {
|
|
2491
|
-
var
|
|
2491
|
+
var _this23 = this;
|
|
2492
2492
|
var visible = typeof val === "boolean" ? val : false;
|
|
2493
2493
|
this.buildSettings();
|
|
2494
2494
|
this.$emit("saveSettings", this.settings, visible, this.updatedSorting);
|
|
2495
2495
|
if (this.multipleHistory && this.selectedTemplate) {
|
|
2496
2496
|
var selected = this.templateOptions.find(function(opt) {
|
|
2497
|
-
return opt.id ===
|
|
2497
|
+
return opt.id === _this23.selectedTemplate;
|
|
2498
2498
|
});
|
|
2499
2499
|
if (selected && JSON.stringify(selected.setting.custom.columns) !== JSON.stringify(this.settings.columns)) {
|
|
2500
2500
|
this.$refs.switch.handleSaveConfirm("overwrite", true);
|
|
@@ -2503,7 +2503,7 @@ var __vue2_script = defineComponent({
|
|
|
2503
2503
|
!visible && this.handleClose();
|
|
2504
2504
|
},
|
|
2505
2505
|
resetSettings: function resetSettings2(event) {
|
|
2506
|
-
var
|
|
2506
|
+
var _this24 = this;
|
|
2507
2507
|
if (this.activeName === "base") {
|
|
2508
2508
|
this.columns = this.getColumnConfigs(this.data);
|
|
2509
2509
|
this.checkedColumns = this.columns.filter(function(col) {
|
|
@@ -2513,7 +2513,7 @@ var __vue2_script = defineComponent({
|
|
|
2513
2513
|
});
|
|
2514
2514
|
if (this.settings.columns && this.settings.columns.length) {
|
|
2515
2515
|
this.settings.columns.forEach(function(setting) {
|
|
2516
|
-
var column = find(
|
|
2516
|
+
var column = find(_this24.columns, function(item) {
|
|
2517
2517
|
return item.property === setting.property;
|
|
2518
2518
|
});
|
|
2519
2519
|
if (column) {
|
|
@@ -2537,7 +2537,7 @@ var __vue2_script = defineComponent({
|
|
|
2537
2537
|
this.$emit("showModal", false);
|
|
2538
2538
|
},
|
|
2539
2539
|
handleReset: function handleReset2(event) {
|
|
2540
|
-
var
|
|
2540
|
+
var _this25 = this;
|
|
2541
2541
|
var equal = function equal2(cols1, cols2) {
|
|
2542
2542
|
var props1 = [];
|
|
2543
2543
|
var props2 = [];
|
|
@@ -2551,15 +2551,15 @@ var __vue2_script = defineComponent({
|
|
|
2551
2551
|
};
|
|
2552
2552
|
if (typeof this.resetMethod === "function") {
|
|
2553
2553
|
this.resetMethod().then(function(sourceSettings) {
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
var
|
|
2557
|
-
if (columns && columns.length &&
|
|
2558
|
-
|
|
2554
|
+
_this25.updatedSorting = true;
|
|
2555
|
+
_this25.buildSettings();
|
|
2556
|
+
var _ref1 = sourceSettings || {}, columns = _ref1.columns, sortType = _ref1.sortType, pageSize = _ref1.pageSize;
|
|
2557
|
+
if (columns && columns.length && _this25.settings.columns && _this25.settings.columns.length) {
|
|
2558
|
+
_this25.settings.columns.forEach(function(setting) {
|
|
2559
2559
|
var source = find(columns, function(item) {
|
|
2560
2560
|
return item.property === setting.property;
|
|
2561
2561
|
});
|
|
2562
|
-
var target = find(
|
|
2562
|
+
var target = find(_this25.columns, function(item) {
|
|
2563
2563
|
return item.property === setting.property;
|
|
2564
2564
|
});
|
|
2565
2565
|
if (source) {
|
|
@@ -2567,26 +2567,26 @@ var __vue2_script = defineComponent({
|
|
|
2567
2567
|
Object.assign(target, source);
|
|
2568
2568
|
}
|
|
2569
2569
|
});
|
|
2570
|
-
if (equal(columns,
|
|
2570
|
+
if (equal(columns, _this25.settings.columns)) {
|
|
2571
2571
|
var settingColumns = [];
|
|
2572
2572
|
var gridColumns = [];
|
|
2573
2573
|
columns.forEach(function(source) {
|
|
2574
|
-
var settingCol = find(
|
|
2574
|
+
var settingCol = find(_this25.settings.columns, function(item) {
|
|
2575
2575
|
return source.property === item.property;
|
|
2576
2576
|
});
|
|
2577
|
-
var targetCol = find(
|
|
2577
|
+
var targetCol = find(_this25.columns, function(item) {
|
|
2578
2578
|
return source.property === item.property;
|
|
2579
2579
|
});
|
|
2580
2580
|
settingColumns.push(settingCol);
|
|
2581
2581
|
gridColumns.push(targetCol);
|
|
2582
2582
|
});
|
|
2583
|
-
|
|
2584
|
-
|
|
2583
|
+
_this25.settings.columns = settingColumns;
|
|
2584
|
+
_this25.columns = gridColumns;
|
|
2585
2585
|
}
|
|
2586
2586
|
}
|
|
2587
|
-
sortType && (
|
|
2588
|
-
pageSize && (
|
|
2589
|
-
|
|
2587
|
+
sortType && (_this25.settings.sortType = sortType);
|
|
2588
|
+
pageSize && (_this25.settings.pageSize = pageSize);
|
|
2589
|
+
_this25.checkedColumns = _this25.columns.filter(function(col) {
|
|
2590
2590
|
return col.visible;
|
|
2591
2591
|
}).map(function(col) {
|
|
2592
2592
|
return col.property;
|
|
@@ -2643,10 +2643,10 @@ var __vue2_script = defineComponent({
|
|
|
2643
2643
|
this.columnsSorted = true;
|
|
2644
2644
|
},
|
|
2645
2645
|
initDragEvent: function initDragEvent() {
|
|
2646
|
-
var
|
|
2646
|
+
var _this26 = this;
|
|
2647
2647
|
var handleUpdate = function handleUpdate2(e) {
|
|
2648
2648
|
var from = e.from, to = e.to, oldIndex = e.oldIndex, newIndex = e.newIndex;
|
|
2649
|
-
|
|
2649
|
+
_this26.handleFixed("drag", from, to, oldIndex, newIndex);
|
|
2650
2650
|
};
|
|
2651
2651
|
if (!this.dropConfig.plugin) return;
|
|
2652
2652
|
this.dropConfig.plugin.create(this.$refs.list, {
|
|
@@ -2655,7 +2655,7 @@ var __vue2_script = defineComponent({
|
|
|
2655
2655
|
handle: ".toolbar-drag-item",
|
|
2656
2656
|
onUpdate: handleUpdate,
|
|
2657
2657
|
onMove: function onMove(e) {
|
|
2658
|
-
if (e.related && (e.related.classList.contains("left") || e.related.classList.contains("right")) && !(e.dragged.classList.contains("left") || e.dragged.classList.contains("right")) &&
|
|
2658
|
+
if (e.related && (e.related.classList.contains("left") || e.related.classList.contains("right")) && !(e.dragged.classList.contains("left") || e.dragged.classList.contains("right")) && _this26.fixedNumberIsMax()) {
|
|
2659
2659
|
Modal.message({
|
|
2660
2660
|
message: t("ui.grid.individuation.maxFreezeNumMsg"),
|
|
2661
2661
|
status: "warning",
|
|
@@ -2664,22 +2664,22 @@ var __vue2_script = defineComponent({
|
|
|
2664
2664
|
return false;
|
|
2665
2665
|
}
|
|
2666
2666
|
var rowName = e.dragged && e.dragged.getAttribute("data-row");
|
|
2667
|
-
var row =
|
|
2667
|
+
var row = _this26.columns.find(function(row2) {
|
|
2668
2668
|
return row2.property === rowName;
|
|
2669
2669
|
}) || {};
|
|
2670
|
-
var cancel = typeof
|
|
2670
|
+
var cancel = typeof _this26.onBeforeMove === "function" ? _this26.onBeforeMove("row", row, e) : true;
|
|
2671
2671
|
return cancel === void 0 || cancel;
|
|
2672
2672
|
}
|
|
2673
2673
|
});
|
|
2674
2674
|
},
|
|
2675
2675
|
clickSortDisplay: function clickSortDisplay(column, index) {
|
|
2676
|
-
var
|
|
2676
|
+
var _this27 = this;
|
|
2677
2677
|
column.numberSortVisible = true;
|
|
2678
2678
|
this.columns.forEach(function(col) {
|
|
2679
2679
|
return col !== column && (col.numberSortVisible = false);
|
|
2680
2680
|
});
|
|
2681
2681
|
this.$nextTick(function() {
|
|
2682
|
-
var selectVm =
|
|
2682
|
+
var selectVm = _this27.$refs["select" + index];
|
|
2683
2683
|
selectVm = isArray(selectVm) && selectVm[0] ? selectVm[0] : null;
|
|
2684
2684
|
if (selectVm) {
|
|
2685
2685
|
selectVm.focus();
|
|
@@ -3256,15 +3256,15 @@ var GridCustomSaas = /* @__PURE__ */ function() {
|
|
|
3256
3256
|
var classMap = {
|
|
3257
3257
|
isActive: "is__active"
|
|
3258
3258
|
};
|
|
3259
|
-
function createMacroTask(
|
|
3260
|
-
var _vm =
|
|
3259
|
+
function createMacroTask(_ref10) {
|
|
3260
|
+
var _vm = _ref10._vm;
|
|
3261
3261
|
setTimeout(function() {
|
|
3262
3262
|
if (_vm.settingStore.activeBtn || _vm.settingStore.activeWrapper) return;
|
|
3263
3263
|
_vm.closeSetting();
|
|
3264
3264
|
}, 300);
|
|
3265
3265
|
}
|
|
3266
|
-
function renderToolsWrapper(
|
|
3267
|
-
var _vm =
|
|
3266
|
+
function renderToolsWrapper(_ref11) {
|
|
3267
|
+
var _vm = _ref11._vm, $tools = _ref11.$tools, $grid = _ref11.$grid, table = _ref11.table;
|
|
3268
3268
|
return h("div", {
|
|
3269
3269
|
class: "tiny-grid-tools__wrapper"
|
|
3270
3270
|
}, $tools.call(_vm, {
|
|
@@ -3272,8 +3272,8 @@ function renderToolsWrapper(_ref13) {
|
|
|
3272
3272
|
$table: table
|
|
3273
3273
|
}, h));
|
|
3274
3274
|
}
|
|
3275
|
-
function renderFullScreenWrapper(
|
|
3276
|
-
var _vm =
|
|
3275
|
+
function renderFullScreenWrapper(_ref12) {
|
|
3276
|
+
var _vm = _ref12._vm;
|
|
3277
3277
|
return h("div", {
|
|
3278
3278
|
class: "tiny-grid-fullscreen__wrapper"
|
|
3279
3279
|
}, [h("div", {
|
|
@@ -3285,8 +3285,8 @@ function renderFullScreenWrapper(_ref14) {
|
|
|
3285
3285
|
class: "tiny-svg-size"
|
|
3286
3286
|
})])]);
|
|
3287
3287
|
}
|
|
3288
|
-
function renderRefreshWrapper(
|
|
3289
|
-
var _vm =
|
|
3288
|
+
function renderRefreshWrapper(_ref13) {
|
|
3289
|
+
var _vm = _ref13._vm;
|
|
3290
3290
|
return h("div", {
|
|
3291
3291
|
class: "tiny-grid-refresh__wrapper"
|
|
3292
3292
|
}, [h("div", {
|
|
@@ -3300,11 +3300,11 @@ function renderRefreshWrapper(_ref15) {
|
|
|
3300
3300
|
}]
|
|
3301
3301
|
})])]);
|
|
3302
3302
|
}
|
|
3303
|
-
function renderCustomWrapper(
|
|
3304
|
-
var
|
|
3305
|
-
var _vm =
|
|
3303
|
+
function renderCustomWrapper(_ref14) {
|
|
3304
|
+
var _ref15;
|
|
3305
|
+
var _vm = _ref14._vm, settingStore = _ref14.settingStore, settingsBtnOns = _ref14.settingsBtnOns, tableFullColumn = _ref14.tableFullColumn, setting = _ref14.setting, initSettings = _ref14.initSettings;
|
|
3306
3306
|
return h("div", {
|
|
3307
|
-
class: ["tiny-grid-custom__wrapper", (
|
|
3307
|
+
class: ["tiny-grid-custom__wrapper", (_ref15 = {}, _ref15[classMap.isActive] = settingStore.customVisible, _ref15)],
|
|
3308
3308
|
ref: "customWrapper"
|
|
3309
3309
|
}, [
|
|
3310
3310
|
// TODO: 此处应使用图标按钮,但saas主题图标按钮样式有问题。
|
|
@@ -3367,8 +3367,8 @@ function renderCustomWrapper(_ref16) {
|
|
|
3367
3367
|
})])
|
|
3368
3368
|
]);
|
|
3369
3369
|
}
|
|
3370
|
-
function getScopedSlots(
|
|
3371
|
-
var item =
|
|
3370
|
+
function getScopedSlots(_ref16) {
|
|
3371
|
+
var item = _ref16.item, _vm = _ref16._vm, vSize2 = _ref16.vSize;
|
|
3372
3372
|
var scopedSlots = null;
|
|
3373
3373
|
var childHandler = function childHandler2(child) {
|
|
3374
3374
|
var res = [null];
|
|
@@ -3401,9 +3401,9 @@ function getScopedSlots(_ref18) {
|
|
|
3401
3401
|
}
|
|
3402
3402
|
return scopedSlots;
|
|
3403
3403
|
}
|
|
3404
|
-
function renderButtonWrapper(
|
|
3404
|
+
function renderButtonWrapper(_ref17) {
|
|
3405
3405
|
var _childrenArg;
|
|
3406
|
-
var _vm =
|
|
3406
|
+
var _vm = _ref17._vm, $buttons = _ref17.$buttons, $grid = _ref17.$grid, table = _ref17.table, buttons = _ref17.buttons, vSize2 = _ref17.vSize;
|
|
3407
3407
|
var childrenArg;
|
|
3408
3408
|
if ($buttons) {
|
|
3409
3409
|
childrenArg = $buttons.call(_vm, {
|
|
@@ -3568,7 +3568,7 @@ var GridToolbar = defineComponent({
|
|
|
3568
3568
|
}
|
|
3569
3569
|
},
|
|
3570
3570
|
created: function created5() {
|
|
3571
|
-
var
|
|
3571
|
+
var _this28 = this;
|
|
3572
3572
|
var settingOpts2 = this.settingOpts, id = this.id, customs = this.customs, $grid = this.$grid;
|
|
3573
3573
|
this.initSettings.pageSizes = $grid.pagerConfig && $grid.pagerConfig.pageSizes || [10, 15, 20, 30, 50, 100];
|
|
3574
3574
|
this.initSettings.pageSize = $grid.pagerConfig && $grid.pagerConfig.pageSize || 10;
|
|
@@ -3587,16 +3587,16 @@ var GridToolbar = defineComponent({
|
|
|
3587
3587
|
GlobalEvent.on(this, "mousedown", this.handleGlobalMousedownEvent);
|
|
3588
3588
|
GlobalEvent.on(this, "blur", this.handleGlobalBlurEvent);
|
|
3589
3589
|
this.removeHandler = function() {
|
|
3590
|
-
GlobalEvent.off(
|
|
3591
|
-
GlobalEvent.off(
|
|
3590
|
+
GlobalEvent.off(_this28, "mousedown");
|
|
3591
|
+
GlobalEvent.off(_this28, "blur");
|
|
3592
3592
|
};
|
|
3593
3593
|
this.$grid.connect({
|
|
3594
3594
|
name: "toolbar",
|
|
3595
3595
|
vm: this
|
|
3596
3596
|
});
|
|
3597
3597
|
},
|
|
3598
|
-
setup: function setup2(props,
|
|
3599
|
-
var slots =
|
|
3598
|
+
setup: function setup2(props, _ref18) {
|
|
3599
|
+
var slots = _ref18.slots, attrs = _ref18.attrs, listeners = _ref18.listeners;
|
|
3600
3600
|
var instance = hooks.getCurrentInstance().proxy;
|
|
3601
3601
|
var tableListeners = getListeners(attrs, listeners);
|
|
3602
3602
|
hooks.onBeforeUnmount(function() {
|
|
@@ -3608,7 +3608,7 @@ var GridToolbar = defineComponent({
|
|
|
3608
3608
|
};
|
|
3609
3609
|
},
|
|
3610
3610
|
render: function render4() {
|
|
3611
|
-
var
|
|
3611
|
+
var _ref19;
|
|
3612
3612
|
var $grid = this.$grid, $slots = this.slots, table = this.table, loading = this.loading, settingStore = this.settingStore, refresh = this.refresh, fullScreen = this.fullScreen;
|
|
3613
3613
|
var setting = this.setting, initSettings = this.initSettings, _this$buttons = this.buttons, buttons = _this$buttons === void 0 ? [] : _this$buttons, vSize2 = this.vSize, tableFullColumn = this.tableFullColumn;
|
|
3614
3614
|
var $buttons = $slots.buttons, $tools = $slots.tools;
|
|
@@ -3618,7 +3618,7 @@ var GridToolbar = defineComponent({
|
|
|
3618
3618
|
isLoading: "is__loading"
|
|
3619
3619
|
};
|
|
3620
3620
|
var propsArg = {
|
|
3621
|
-
class: ["tiny-grid-toolbar", (
|
|
3621
|
+
class: ["tiny-grid-toolbar", (_ref19 = {}, _ref19["size__" + vSize2] = vSize2, _ref19[map.isLoading] = loading, _ref19)]
|
|
3622
3622
|
};
|
|
3623
3623
|
var args = {
|
|
3624
3624
|
_vm: this,
|
|
@@ -3669,11 +3669,11 @@ var GridToolbar = defineComponent({
|
|
|
3669
3669
|
return this.setting && this.setting.customSetting ? this.setting.settingBtnClickFn() : this.handleClickCustomEvent();
|
|
3670
3670
|
},
|
|
3671
3671
|
updateConf: function updateConf() {
|
|
3672
|
-
var
|
|
3672
|
+
var _this29 = this;
|
|
3673
3673
|
var data6 = this.data;
|
|
3674
3674
|
var $children = this.$parent.$children;
|
|
3675
3675
|
var findHandler = function findHandler2(childComp, childIndex) {
|
|
3676
|
-
return childComp && childComp.refreshColumn && childIndex > $children.indexOf(
|
|
3676
|
+
return childComp && childComp.refreshColumn && childIndex > $children.indexOf(_this29) && (data6 ? childComp.data === data6 : childComp.$vnode.componentOptions.tag === "tiny-grid-table");
|
|
3677
3677
|
};
|
|
3678
3678
|
this.table = find$1($children, findHandler);
|
|
3679
3679
|
},
|
|
@@ -3734,7 +3734,7 @@ var GridToolbar = defineComponent({
|
|
|
3734
3734
|
}
|
|
3735
3735
|
},
|
|
3736
3736
|
loadStorage: function loadStorage() {
|
|
3737
|
-
var
|
|
3737
|
+
var _this30 = this;
|
|
3738
3738
|
var $grid = this.$grid, id = this.id, resizable = this.resizable, setting = this.setting, settingOpts2 = this.settingOpts;
|
|
3739
3739
|
if (!$grid) {
|
|
3740
3740
|
return;
|
|
@@ -3755,13 +3755,13 @@ var GridToolbar = defineComponent({
|
|
|
3755
3755
|
var pageSize = settingsStorage.pageSize;
|
|
3756
3756
|
if (this.$grid.pagerConfig && this.$grid.pagerConfig.pageSize !== pageSize) {
|
|
3757
3757
|
this.$grid.createJob("pageSizeChangeCallback", function() {
|
|
3758
|
-
|
|
3758
|
+
_this30.$grid.pageSizeChange(pageSize, $grid.autoLoad === false);
|
|
3759
3759
|
});
|
|
3760
3760
|
}
|
|
3761
3761
|
}
|
|
3762
3762
|
}
|
|
3763
3763
|
this.$grid.createJob("updateCustomsCallback", function() {
|
|
3764
|
-
|
|
3764
|
+
_this30.updateCustoms(customSettings.length ? customSettings : _this30.tableFullColumn);
|
|
3765
3765
|
});
|
|
3766
3766
|
}
|
|
3767
3767
|
},
|
|
@@ -3769,14 +3769,14 @@ var GridToolbar = defineComponent({
|
|
|
3769
3769
|
this.tableFullColumn = fullColumn;
|
|
3770
3770
|
},
|
|
3771
3771
|
updateCustoms: function updateCustoms(customs) {
|
|
3772
|
-
var
|
|
3772
|
+
var _this31 = this;
|
|
3773
3773
|
var $grid = this.$grid, table = this.table, setting = this.setting;
|
|
3774
3774
|
var comp = $grid || table;
|
|
3775
3775
|
var sort = setting && !!setting.sortable;
|
|
3776
3776
|
if (comp) {
|
|
3777
3777
|
var colWidth = this.loadColWidth();
|
|
3778
3778
|
comp.reloadCustoms(customs, sort, colWidth).then(function(fullColumn) {
|
|
3779
|
-
|
|
3779
|
+
_this31.tableFullColumn = fullColumn;
|
|
3780
3780
|
});
|
|
3781
3781
|
}
|
|
3782
3782
|
},
|
|
@@ -3841,8 +3841,8 @@ var GridToolbar = defineComponent({
|
|
|
3841
3841
|
if (storage && !isReset) {
|
|
3842
3842
|
columnWidthStorage = columnWidthStorageMap[id];
|
|
3843
3843
|
columnWidthStorage = isPlainObject(columnWidthStorage) ? columnWidthStorage : {};
|
|
3844
|
-
tableFullColumn.forEach(function(
|
|
3845
|
-
var property =
|
|
3844
|
+
tableFullColumn.forEach(function(_ref20) {
|
|
3845
|
+
var property = _ref20.property, resizeWidth = _ref20.resizeWidth, renderWidth = _ref20.renderWidth;
|
|
3846
3846
|
if (property && resizeWidth) {
|
|
3847
3847
|
columnWidthStorage[property] = renderWidth;
|
|
3848
3848
|
}
|
|
@@ -3864,24 +3864,24 @@ var GridToolbar = defineComponent({
|
|
|
3864
3864
|
return tableComp.recalculate();
|
|
3865
3865
|
},
|
|
3866
3866
|
updateSetting: function updateSetting() {
|
|
3867
|
-
var
|
|
3867
|
+
var _this32 = this;
|
|
3868
3868
|
var tableComp = this.$grid || this.table;
|
|
3869
3869
|
tableComp.refreshColumn();
|
|
3870
3870
|
this.tableFullColumn = this.tableFullColumn.slice(0);
|
|
3871
3871
|
return this.$nextTick(function() {
|
|
3872
|
-
return
|
|
3872
|
+
return _this32.$refs.custom && _this32.$refs.custom.saveSettings();
|
|
3873
3873
|
});
|
|
3874
3874
|
},
|
|
3875
|
-
applySettings: function applySettings(
|
|
3876
|
-
var
|
|
3877
|
-
var columns =
|
|
3875
|
+
applySettings: function applySettings(_ref21) {
|
|
3876
|
+
var _this33 = this;
|
|
3877
|
+
var columns = _ref21.columns, pageSize = _ref21.pageSize, updatedSorting = _ref21.updatedSorting;
|
|
3878
3878
|
var sort = this.setting && !!this.setting.sortable || updatedSorting;
|
|
3879
3879
|
if (this.$grid) {
|
|
3880
3880
|
if (columns && columns.length) {
|
|
3881
3881
|
var colWidth = this.loadColWidth();
|
|
3882
3882
|
this.$grid.reloadCustoms(columns, sort, colWidth).then(function() {
|
|
3883
|
-
|
|
3884
|
-
|
|
3883
|
+
_this33.$grid.handleTableData(true).then(function() {
|
|
3884
|
+
_this33.$grid.recalculate();
|
|
3885
3885
|
});
|
|
3886
3886
|
});
|
|
3887
3887
|
}
|
|
@@ -3969,13 +3969,13 @@ var GridToolbar = defineComponent({
|
|
|
3969
3969
|
});
|
|
3970
3970
|
},
|
|
3971
3971
|
refreshEvent: function refreshEvent() {
|
|
3972
|
-
var
|
|
3972
|
+
var _this34 = this;
|
|
3973
3973
|
var $grid = this.$grid, isRefresh = this.isRefresh, refreshOpts2 = this.refreshOpts;
|
|
3974
3974
|
var catchHandler = function catchHandler2(e) {
|
|
3975
3975
|
return e;
|
|
3976
3976
|
};
|
|
3977
3977
|
var nextHandler = function nextHandler2() {
|
|
3978
|
-
return
|
|
3978
|
+
return _this34.isRefresh = false;
|
|
3979
3979
|
};
|
|
3980
3980
|
if (isRefresh) return;
|
|
3981
3981
|
this.isRefresh = true;
|
package/package.json
CHANGED
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentinyvue/vue-grid-toolbar",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.24.0",
|
|
5
5
|
"description": "",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"sideEffects": false,
|
|
8
8
|
"main": "./lib/index.js",
|
|
9
9
|
"module": "./lib/index.js",
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@opentinyvue/utils": "~3.
|
|
12
|
-
"@opentinyvue/vue-alert": "~2.
|
|
13
|
-
"@opentinyvue/vue-button": "~2.
|
|
14
|
-
"@opentinyvue/vue-checkbox": "~2.
|
|
15
|
-
"@opentinyvue/vue-checkbox-group": "~2.
|
|
16
|
-
"@opentinyvue/vue-col": "~2.
|
|
17
|
-
"@opentinyvue/vue-common": "~2.
|
|
18
|
-
"@opentinyvue/vue-dialog-box": "~2.
|
|
19
|
-
"@opentinyvue/vue-directive": "~2.
|
|
20
|
-
"@opentinyvue/vue-dropdown": "~2.
|
|
21
|
-
"@opentinyvue/vue-dropdown-item": "~2.
|
|
22
|
-
"@opentinyvue/vue-dropdown-menu": "~2.
|
|
23
|
-
"@opentinyvue/vue-grid": "~2.
|
|
24
|
-
"@opentinyvue/vue-icon": "~2.
|
|
25
|
-
"@opentinyvue/vue-input": "~2.
|
|
26
|
-
"@opentinyvue/vue-layout": "~2.
|
|
27
|
-
"@opentinyvue/vue-locale": "~2.
|
|
28
|
-
"@opentinyvue/vue-modal": "~2.
|
|
29
|
-
"@opentinyvue/vue-option": "~2.
|
|
30
|
-
"@opentinyvue/vue-popover": "~2.
|
|
31
|
-
"@opentinyvue/vue-radio": "~2.
|
|
32
|
-
"@opentinyvue/vue-radio-group": "~2.
|
|
33
|
-
"@opentinyvue/vue-renderless": "~3.
|
|
34
|
-
"@opentinyvue/vue-row": "~2.
|
|
35
|
-
"@opentinyvue/vue-search": "~2.
|
|
36
|
-
"@opentinyvue/vue-select": "~2.
|
|
37
|
-
"@opentinyvue/vue-split": "~2.
|
|
38
|
-
"@opentinyvue/vue-tab-item": "~2.
|
|
39
|
-
"@opentinyvue/vue-tabs": "~2.
|
|
40
|
-
"@opentinyvue/vue-theme": "~3.
|
|
41
|
-
"@opentinyvue/vue-tooltip": "~2.
|
|
42
|
-
"@opentinyvue/vue-tree": "~2.
|
|
11
|
+
"@opentinyvue/utils": "~3.24.0",
|
|
12
|
+
"@opentinyvue/vue-alert": "~2.24.0",
|
|
13
|
+
"@opentinyvue/vue-button": "~2.24.0",
|
|
14
|
+
"@opentinyvue/vue-checkbox": "~2.24.0",
|
|
15
|
+
"@opentinyvue/vue-checkbox-group": "~2.24.0",
|
|
16
|
+
"@opentinyvue/vue-col": "~2.24.0",
|
|
17
|
+
"@opentinyvue/vue-common": "~2.24.0",
|
|
18
|
+
"@opentinyvue/vue-dialog-box": "~2.24.0",
|
|
19
|
+
"@opentinyvue/vue-directive": "~2.24.0",
|
|
20
|
+
"@opentinyvue/vue-dropdown": "~2.24.0",
|
|
21
|
+
"@opentinyvue/vue-dropdown-item": "~2.24.0",
|
|
22
|
+
"@opentinyvue/vue-dropdown-menu": "~2.24.0",
|
|
23
|
+
"@opentinyvue/vue-grid": "~2.24.0",
|
|
24
|
+
"@opentinyvue/vue-icon": "~2.24.0",
|
|
25
|
+
"@opentinyvue/vue-input": "~2.24.0",
|
|
26
|
+
"@opentinyvue/vue-layout": "~2.24.0",
|
|
27
|
+
"@opentinyvue/vue-locale": "~2.24.0",
|
|
28
|
+
"@opentinyvue/vue-modal": "~2.24.0",
|
|
29
|
+
"@opentinyvue/vue-option": "~2.24.0",
|
|
30
|
+
"@opentinyvue/vue-popover": "~2.24.0",
|
|
31
|
+
"@opentinyvue/vue-radio": "~2.24.0",
|
|
32
|
+
"@opentinyvue/vue-radio-group": "~2.24.0",
|
|
33
|
+
"@opentinyvue/vue-renderless": "~3.24.0",
|
|
34
|
+
"@opentinyvue/vue-row": "~2.24.0",
|
|
35
|
+
"@opentinyvue/vue-search": "~2.24.0",
|
|
36
|
+
"@opentinyvue/vue-select": "~2.24.0",
|
|
37
|
+
"@opentinyvue/vue-split": "~2.24.0",
|
|
38
|
+
"@opentinyvue/vue-tab-item": "~2.24.0",
|
|
39
|
+
"@opentinyvue/vue-tabs": "~2.24.0",
|
|
40
|
+
"@opentinyvue/vue-theme": "~3.24.0",
|
|
41
|
+
"@opentinyvue/vue-tooltip": "~2.24.0",
|
|
42
|
+
"@opentinyvue/vue-tree": "~2.24.0"
|
|
43
43
|
},
|
|
44
44
|
"types": "index.d.ts",
|
|
45
45
|
"scripts": {
|