@opentinyvue/vue-grid-toolbar 2.22.0 → 2.23.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 +125 -122
- 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: {
|
|
@@ -2131,8 +2131,11 @@ var __vue2_script = defineComponent({
|
|
|
2131
2131
|
this.hideOrShowColumns(false);
|
|
2132
2132
|
}
|
|
2133
2133
|
},
|
|
2134
|
-
|
|
2135
|
-
|
|
2134
|
+
// 勿同步,tree组件check事件参数不一致
|
|
2135
|
+
checkNode: function checkNode(node, data6) {
|
|
2136
|
+
var _data$checkedNodes;
|
|
2137
|
+
var isCheck = data6 == null ? void 0 : (_data$checkedNodes = data6.checkedNodes) == null ? void 0 : _data$checkedNodes.includes(node);
|
|
2138
|
+
node.visible = isCheck;
|
|
2136
2139
|
if (node.children && Array.isArray(node.children)) {
|
|
2137
2140
|
node.children.forEach(function(item) {
|
|
2138
2141
|
item.visible = node.visible;
|
|
@@ -2163,7 +2166,7 @@ var __vue2_script = defineComponent({
|
|
|
2163
2166
|
}
|
|
2164
2167
|
},
|
|
2165
2168
|
getColumnConfigs: function getColumnConfigs3(configs) {
|
|
2166
|
-
var
|
|
2169
|
+
var _this16 = this;
|
|
2167
2170
|
var alwaysShowColumns = this.alwaysShowColumns;
|
|
2168
2171
|
this.colIds = [];
|
|
2169
2172
|
var _getColNodes3 = function getColNodes(columns2) {
|
|
@@ -2185,7 +2188,7 @@ var __vue2_script = defineComponent({
|
|
|
2185
2188
|
expand: true
|
|
2186
2189
|
};
|
|
2187
2190
|
children && (column.children = _getColNodes3(children));
|
|
2188
|
-
|
|
2191
|
+
_this16.colIds.push(id);
|
|
2189
2192
|
return column;
|
|
2190
2193
|
}
|
|
2191
2194
|
return null;
|
|
@@ -2205,10 +2208,10 @@ var __vue2_script = defineComponent({
|
|
|
2205
2208
|
}
|
|
2206
2209
|
},
|
|
2207
2210
|
initSortAndFixedOption: function initSortAndFixedOption(columns) {
|
|
2208
|
-
var
|
|
2211
|
+
var _this17 = this;
|
|
2209
2212
|
columns.forEach(function(column) {
|
|
2210
|
-
column.sortOption = column.order === "asc" ? [
|
|
2211
|
-
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];
|
|
2212
2215
|
});
|
|
2213
2216
|
},
|
|
2214
2217
|
initSortingColumns: function initSortingColumns(columns) {
|
|
@@ -2229,13 +2232,13 @@ var __vue2_script = defineComponent({
|
|
|
2229
2232
|
return result;
|
|
2230
2233
|
},
|
|
2231
2234
|
getGroupedColumns: function getGroupedColumns() {
|
|
2232
|
-
var
|
|
2235
|
+
var _this18 = this;
|
|
2233
2236
|
var result = [];
|
|
2234
2237
|
if (this.columnsGroup.length) {
|
|
2235
2238
|
this.columnsGroup.forEach(function(item) {
|
|
2236
2239
|
var data6 = [];
|
|
2237
2240
|
item.data.forEach(function(col) {
|
|
2238
|
-
var column =
|
|
2241
|
+
var column = _this18.originColumns.find(function(c) {
|
|
2239
2242
|
return c.property === col;
|
|
2240
2243
|
});
|
|
2241
2244
|
if (column) {
|
|
@@ -2270,25 +2273,25 @@ var __vue2_script = defineComponent({
|
|
|
2270
2273
|
return checkedkeys;
|
|
2271
2274
|
},
|
|
2272
2275
|
deleteTemplate: function deleteTemplate(item, $event) {
|
|
2273
|
-
var
|
|
2276
|
+
var _this19 = this;
|
|
2274
2277
|
$event.stopPropagation();
|
|
2275
2278
|
Modal.confirm(t("ui.grid.individuation.switchdelcon"), t("ui.grid.individuation.switchdelconfirm")).then(function(res) {
|
|
2276
2279
|
if (res === "confirm") {
|
|
2277
|
-
if (!
|
|
2278
|
-
|
|
2280
|
+
if (!_this19.setting.remote && item.id === _this19.selectedTemplate) {
|
|
2281
|
+
_this19.selectedTemplate = "";
|
|
2279
2282
|
setTimeout(function() {
|
|
2280
|
-
|
|
2283
|
+
_this19.templateOptions = _this19.$refs.switch.options;
|
|
2281
2284
|
});
|
|
2282
2285
|
}
|
|
2283
|
-
|
|
2284
|
-
|
|
2286
|
+
_this19.$refs.switch.handleDelConfirm("yes", item);
|
|
2287
|
+
_this19.$emit("delete-template", item);
|
|
2285
2288
|
}
|
|
2286
2289
|
});
|
|
2287
2290
|
},
|
|
2288
2291
|
selectedTemplateChange: function selectedTemplateChange() {
|
|
2289
|
-
var
|
|
2292
|
+
var _this20 = this;
|
|
2290
2293
|
var selected = this.templateOptions.find(function(opt) {
|
|
2291
|
-
return opt.id ===
|
|
2294
|
+
return opt.id === _this20.selectedTemplate;
|
|
2292
2295
|
});
|
|
2293
2296
|
if (selected) {
|
|
2294
2297
|
this.columns = mergeArray(this.columns, selected.setting.custom.columns);
|
|
@@ -2306,7 +2309,7 @@ var __vue2_script = defineComponent({
|
|
|
2306
2309
|
this.updatedSorting = true;
|
|
2307
2310
|
if (this.$refs.tree) {
|
|
2308
2311
|
setTimeout(function() {
|
|
2309
|
-
|
|
2312
|
+
_this20.allCheckedKeys = [].concat(_this20.$refs.tree.getCheckedKeys(), _this20.$refs.tree.getHalfCheckedKeys());
|
|
2310
2313
|
}, 100);
|
|
2311
2314
|
}
|
|
2312
2315
|
}
|
|
@@ -2325,11 +2328,11 @@ var __vue2_script = defineComponent({
|
|
|
2325
2328
|
},
|
|
2326
2329
|
// 勿同步,search组件input事件第一个参数就是val
|
|
2327
2330
|
searchChange: function searchChange(val) {
|
|
2328
|
-
var
|
|
2331
|
+
var _this21 = this;
|
|
2329
2332
|
var getRenderedTitle = function getRenderedTitle2(col) {
|
|
2330
2333
|
var result = "";
|
|
2331
2334
|
if (typeof col.title === "function") {
|
|
2332
|
-
var titleElm =
|
|
2335
|
+
var titleElm = _this21.$el.querySelector(".custom-saas-title-render." + col.id);
|
|
2333
2336
|
result = titleElm && titleElm.textContent || "";
|
|
2334
2337
|
result = result.toUpperCase();
|
|
2335
2338
|
} else if (col.title) {
|
|
@@ -2429,13 +2432,13 @@ var __vue2_script = defineComponent({
|
|
|
2429
2432
|
}).length >= this.maxFixedNum;
|
|
2430
2433
|
},
|
|
2431
2434
|
updateSortingIndex: function updateSortingIndex() {
|
|
2432
|
-
var
|
|
2435
|
+
var _this22 = this;
|
|
2433
2436
|
this.sortingOptions = [];
|
|
2434
2437
|
var index = 1;
|
|
2435
2438
|
this.columns.forEach(function(column) {
|
|
2436
2439
|
if (column.visible) {
|
|
2437
2440
|
column.sortingIndex = index;
|
|
2438
|
-
|
|
2441
|
+
_this22.sortingOptions.push(column.sortingIndex);
|
|
2439
2442
|
index++;
|
|
2440
2443
|
} else {
|
|
2441
2444
|
column.sortingIndex = null;
|
|
@@ -2472,8 +2475,8 @@ var __vue2_script = defineComponent({
|
|
|
2472
2475
|
buildSettings: function buildSettings2() {
|
|
2473
2476
|
var props = ["order", "fixed", "visible", "sortable"].concat(this.keys);
|
|
2474
2477
|
!this.updatedSorting && !this.columnsGroup.length && (this.columns = [].concat(this.groupedColumns[0].data));
|
|
2475
|
-
this.settings.columns = mapTree(this.columns, function(
|
|
2476
|
-
var property =
|
|
2478
|
+
this.settings.columns = mapTree(this.columns, function(_ref0) {
|
|
2479
|
+
var property = _ref0.property, rest = _objectWithoutPropertiesLoose2(_ref0, _excluded3);
|
|
2477
2480
|
var node = {
|
|
2478
2481
|
property
|
|
2479
2482
|
};
|
|
@@ -2485,13 +2488,13 @@ var __vue2_script = defineComponent({
|
|
|
2485
2488
|
return this.settings;
|
|
2486
2489
|
},
|
|
2487
2490
|
saveSettings: function saveSettings2(val) {
|
|
2488
|
-
var
|
|
2491
|
+
var _this23 = this;
|
|
2489
2492
|
var visible = typeof val === "boolean" ? val : false;
|
|
2490
2493
|
this.buildSettings();
|
|
2491
2494
|
this.$emit("saveSettings", this.settings, visible, this.updatedSorting);
|
|
2492
2495
|
if (this.multipleHistory && this.selectedTemplate) {
|
|
2493
2496
|
var selected = this.templateOptions.find(function(opt) {
|
|
2494
|
-
return opt.id ===
|
|
2497
|
+
return opt.id === _this23.selectedTemplate;
|
|
2495
2498
|
});
|
|
2496
2499
|
if (selected && JSON.stringify(selected.setting.custom.columns) !== JSON.stringify(this.settings.columns)) {
|
|
2497
2500
|
this.$refs.switch.handleSaveConfirm("overwrite", true);
|
|
@@ -2500,7 +2503,7 @@ var __vue2_script = defineComponent({
|
|
|
2500
2503
|
!visible && this.handleClose();
|
|
2501
2504
|
},
|
|
2502
2505
|
resetSettings: function resetSettings2(event) {
|
|
2503
|
-
var
|
|
2506
|
+
var _this24 = this;
|
|
2504
2507
|
if (this.activeName === "base") {
|
|
2505
2508
|
this.columns = this.getColumnConfigs(this.data);
|
|
2506
2509
|
this.checkedColumns = this.columns.filter(function(col) {
|
|
@@ -2510,7 +2513,7 @@ var __vue2_script = defineComponent({
|
|
|
2510
2513
|
});
|
|
2511
2514
|
if (this.settings.columns && this.settings.columns.length) {
|
|
2512
2515
|
this.settings.columns.forEach(function(setting) {
|
|
2513
|
-
var column = find(
|
|
2516
|
+
var column = find(_this24.columns, function(item) {
|
|
2514
2517
|
return item.property === setting.property;
|
|
2515
2518
|
});
|
|
2516
2519
|
if (column) {
|
|
@@ -2534,7 +2537,7 @@ var __vue2_script = defineComponent({
|
|
|
2534
2537
|
this.$emit("showModal", false);
|
|
2535
2538
|
},
|
|
2536
2539
|
handleReset: function handleReset2(event) {
|
|
2537
|
-
var
|
|
2540
|
+
var _this25 = this;
|
|
2538
2541
|
var equal = function equal2(cols1, cols2) {
|
|
2539
2542
|
var props1 = [];
|
|
2540
2543
|
var props2 = [];
|
|
@@ -2548,15 +2551,15 @@ var __vue2_script = defineComponent({
|
|
|
2548
2551
|
};
|
|
2549
2552
|
if (typeof this.resetMethod === "function") {
|
|
2550
2553
|
this.resetMethod().then(function(sourceSettings) {
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
var
|
|
2554
|
-
if (columns && columns.length &&
|
|
2555
|
-
|
|
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) {
|
|
2556
2559
|
var source = find(columns, function(item) {
|
|
2557
2560
|
return item.property === setting.property;
|
|
2558
2561
|
});
|
|
2559
|
-
var target = find(
|
|
2562
|
+
var target = find(_this25.columns, function(item) {
|
|
2560
2563
|
return item.property === setting.property;
|
|
2561
2564
|
});
|
|
2562
2565
|
if (source) {
|
|
@@ -2564,26 +2567,26 @@ var __vue2_script = defineComponent({
|
|
|
2564
2567
|
Object.assign(target, source);
|
|
2565
2568
|
}
|
|
2566
2569
|
});
|
|
2567
|
-
if (equal(columns,
|
|
2570
|
+
if (equal(columns, _this25.settings.columns)) {
|
|
2568
2571
|
var settingColumns = [];
|
|
2569
2572
|
var gridColumns = [];
|
|
2570
2573
|
columns.forEach(function(source) {
|
|
2571
|
-
var settingCol = find(
|
|
2574
|
+
var settingCol = find(_this25.settings.columns, function(item) {
|
|
2572
2575
|
return source.property === item.property;
|
|
2573
2576
|
});
|
|
2574
|
-
var targetCol = find(
|
|
2577
|
+
var targetCol = find(_this25.columns, function(item) {
|
|
2575
2578
|
return source.property === item.property;
|
|
2576
2579
|
});
|
|
2577
2580
|
settingColumns.push(settingCol);
|
|
2578
2581
|
gridColumns.push(targetCol);
|
|
2579
2582
|
});
|
|
2580
|
-
|
|
2581
|
-
|
|
2583
|
+
_this25.settings.columns = settingColumns;
|
|
2584
|
+
_this25.columns = gridColumns;
|
|
2582
2585
|
}
|
|
2583
2586
|
}
|
|
2584
|
-
sortType && (
|
|
2585
|
-
pageSize && (
|
|
2586
|
-
|
|
2587
|
+
sortType && (_this25.settings.sortType = sortType);
|
|
2588
|
+
pageSize && (_this25.settings.pageSize = pageSize);
|
|
2589
|
+
_this25.checkedColumns = _this25.columns.filter(function(col) {
|
|
2587
2590
|
return col.visible;
|
|
2588
2591
|
}).map(function(col) {
|
|
2589
2592
|
return col.property;
|
|
@@ -2640,10 +2643,10 @@ var __vue2_script = defineComponent({
|
|
|
2640
2643
|
this.columnsSorted = true;
|
|
2641
2644
|
},
|
|
2642
2645
|
initDragEvent: function initDragEvent() {
|
|
2643
|
-
var
|
|
2646
|
+
var _this26 = this;
|
|
2644
2647
|
var handleUpdate = function handleUpdate2(e) {
|
|
2645
2648
|
var from = e.from, to = e.to, oldIndex = e.oldIndex, newIndex = e.newIndex;
|
|
2646
|
-
|
|
2649
|
+
_this26.handleFixed("drag", from, to, oldIndex, newIndex);
|
|
2647
2650
|
};
|
|
2648
2651
|
if (!this.dropConfig.plugin) return;
|
|
2649
2652
|
this.dropConfig.plugin.create(this.$refs.list, {
|
|
@@ -2652,7 +2655,7 @@ var __vue2_script = defineComponent({
|
|
|
2652
2655
|
handle: ".toolbar-drag-item",
|
|
2653
2656
|
onUpdate: handleUpdate,
|
|
2654
2657
|
onMove: function onMove(e) {
|
|
2655
|
-
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()) {
|
|
2656
2659
|
Modal.message({
|
|
2657
2660
|
message: t("ui.grid.individuation.maxFreezeNumMsg"),
|
|
2658
2661
|
status: "warning",
|
|
@@ -2661,22 +2664,22 @@ var __vue2_script = defineComponent({
|
|
|
2661
2664
|
return false;
|
|
2662
2665
|
}
|
|
2663
2666
|
var rowName = e.dragged && e.dragged.getAttribute("data-row");
|
|
2664
|
-
var row =
|
|
2667
|
+
var row = _this26.columns.find(function(row2) {
|
|
2665
2668
|
return row2.property === rowName;
|
|
2666
2669
|
}) || {};
|
|
2667
|
-
var cancel = typeof
|
|
2670
|
+
var cancel = typeof _this26.onBeforeMove === "function" ? _this26.onBeforeMove("row", row, e) : true;
|
|
2668
2671
|
return cancel === void 0 || cancel;
|
|
2669
2672
|
}
|
|
2670
2673
|
});
|
|
2671
2674
|
},
|
|
2672
2675
|
clickSortDisplay: function clickSortDisplay(column, index) {
|
|
2673
|
-
var
|
|
2676
|
+
var _this27 = this;
|
|
2674
2677
|
column.numberSortVisible = true;
|
|
2675
2678
|
this.columns.forEach(function(col) {
|
|
2676
2679
|
return col !== column && (col.numberSortVisible = false);
|
|
2677
2680
|
});
|
|
2678
2681
|
this.$nextTick(function() {
|
|
2679
|
-
var selectVm =
|
|
2682
|
+
var selectVm = _this27.$refs["select" + index];
|
|
2680
2683
|
selectVm = isArray(selectVm) && selectVm[0] ? selectVm[0] : null;
|
|
2681
2684
|
if (selectVm) {
|
|
2682
2685
|
selectVm.focus();
|
|
@@ -3253,15 +3256,15 @@ var GridCustomSaas = /* @__PURE__ */ function() {
|
|
|
3253
3256
|
var classMap = {
|
|
3254
3257
|
isActive: "is__active"
|
|
3255
3258
|
};
|
|
3256
|
-
function createMacroTask(
|
|
3257
|
-
var _vm =
|
|
3259
|
+
function createMacroTask(_ref10) {
|
|
3260
|
+
var _vm = _ref10._vm;
|
|
3258
3261
|
setTimeout(function() {
|
|
3259
3262
|
if (_vm.settingStore.activeBtn || _vm.settingStore.activeWrapper) return;
|
|
3260
3263
|
_vm.closeSetting();
|
|
3261
3264
|
}, 300);
|
|
3262
3265
|
}
|
|
3263
|
-
function renderToolsWrapper(
|
|
3264
|
-
var _vm =
|
|
3266
|
+
function renderToolsWrapper(_ref11) {
|
|
3267
|
+
var _vm = _ref11._vm, $tools = _ref11.$tools, $grid = _ref11.$grid, table = _ref11.table;
|
|
3265
3268
|
return h("div", {
|
|
3266
3269
|
class: "tiny-grid-tools__wrapper"
|
|
3267
3270
|
}, $tools.call(_vm, {
|
|
@@ -3269,8 +3272,8 @@ function renderToolsWrapper(_ref13) {
|
|
|
3269
3272
|
$table: table
|
|
3270
3273
|
}, h));
|
|
3271
3274
|
}
|
|
3272
|
-
function renderFullScreenWrapper(
|
|
3273
|
-
var _vm =
|
|
3275
|
+
function renderFullScreenWrapper(_ref12) {
|
|
3276
|
+
var _vm = _ref12._vm;
|
|
3274
3277
|
return h("div", {
|
|
3275
3278
|
class: "tiny-grid-fullscreen__wrapper"
|
|
3276
3279
|
}, [h("div", {
|
|
@@ -3282,8 +3285,8 @@ function renderFullScreenWrapper(_ref14) {
|
|
|
3282
3285
|
class: "tiny-svg-size"
|
|
3283
3286
|
})])]);
|
|
3284
3287
|
}
|
|
3285
|
-
function renderRefreshWrapper(
|
|
3286
|
-
var _vm =
|
|
3288
|
+
function renderRefreshWrapper(_ref13) {
|
|
3289
|
+
var _vm = _ref13._vm;
|
|
3287
3290
|
return h("div", {
|
|
3288
3291
|
class: "tiny-grid-refresh__wrapper"
|
|
3289
3292
|
}, [h("div", {
|
|
@@ -3297,11 +3300,11 @@ function renderRefreshWrapper(_ref15) {
|
|
|
3297
3300
|
}]
|
|
3298
3301
|
})])]);
|
|
3299
3302
|
}
|
|
3300
|
-
function renderCustomWrapper(
|
|
3301
|
-
var
|
|
3302
|
-
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;
|
|
3303
3306
|
return h("div", {
|
|
3304
|
-
class: ["tiny-grid-custom__wrapper", (
|
|
3307
|
+
class: ["tiny-grid-custom__wrapper", (_ref15 = {}, _ref15[classMap.isActive] = settingStore.customVisible, _ref15)],
|
|
3305
3308
|
ref: "customWrapper"
|
|
3306
3309
|
}, [
|
|
3307
3310
|
// TODO: 此处应使用图标按钮,但saas主题图标按钮样式有问题。
|
|
@@ -3364,8 +3367,8 @@ function renderCustomWrapper(_ref16) {
|
|
|
3364
3367
|
})])
|
|
3365
3368
|
]);
|
|
3366
3369
|
}
|
|
3367
|
-
function getScopedSlots(
|
|
3368
|
-
var item =
|
|
3370
|
+
function getScopedSlots(_ref16) {
|
|
3371
|
+
var item = _ref16.item, _vm = _ref16._vm, vSize2 = _ref16.vSize;
|
|
3369
3372
|
var scopedSlots = null;
|
|
3370
3373
|
var childHandler = function childHandler2(child) {
|
|
3371
3374
|
var res = [null];
|
|
@@ -3398,9 +3401,9 @@ function getScopedSlots(_ref18) {
|
|
|
3398
3401
|
}
|
|
3399
3402
|
return scopedSlots;
|
|
3400
3403
|
}
|
|
3401
|
-
function renderButtonWrapper(
|
|
3404
|
+
function renderButtonWrapper(_ref17) {
|
|
3402
3405
|
var _childrenArg;
|
|
3403
|
-
var _vm =
|
|
3406
|
+
var _vm = _ref17._vm, $buttons = _ref17.$buttons, $grid = _ref17.$grid, table = _ref17.table, buttons = _ref17.buttons, vSize2 = _ref17.vSize;
|
|
3404
3407
|
var childrenArg;
|
|
3405
3408
|
if ($buttons) {
|
|
3406
3409
|
childrenArg = $buttons.call(_vm, {
|
|
@@ -3565,7 +3568,7 @@ var GridToolbar = defineComponent({
|
|
|
3565
3568
|
}
|
|
3566
3569
|
},
|
|
3567
3570
|
created: function created5() {
|
|
3568
|
-
var
|
|
3571
|
+
var _this28 = this;
|
|
3569
3572
|
var settingOpts2 = this.settingOpts, id = this.id, customs = this.customs, $grid = this.$grid;
|
|
3570
3573
|
this.initSettings.pageSizes = $grid.pagerConfig && $grid.pagerConfig.pageSizes || [10, 15, 20, 30, 50, 100];
|
|
3571
3574
|
this.initSettings.pageSize = $grid.pagerConfig && $grid.pagerConfig.pageSize || 10;
|
|
@@ -3584,16 +3587,16 @@ var GridToolbar = defineComponent({
|
|
|
3584
3587
|
GlobalEvent.on(this, "mousedown", this.handleGlobalMousedownEvent);
|
|
3585
3588
|
GlobalEvent.on(this, "blur", this.handleGlobalBlurEvent);
|
|
3586
3589
|
this.removeHandler = function() {
|
|
3587
|
-
GlobalEvent.off(
|
|
3588
|
-
GlobalEvent.off(
|
|
3590
|
+
GlobalEvent.off(_this28, "mousedown");
|
|
3591
|
+
GlobalEvent.off(_this28, "blur");
|
|
3589
3592
|
};
|
|
3590
3593
|
this.$grid.connect({
|
|
3591
3594
|
name: "toolbar",
|
|
3592
3595
|
vm: this
|
|
3593
3596
|
});
|
|
3594
3597
|
},
|
|
3595
|
-
setup: function setup2(props,
|
|
3596
|
-
var slots =
|
|
3598
|
+
setup: function setup2(props, _ref18) {
|
|
3599
|
+
var slots = _ref18.slots, attrs = _ref18.attrs, listeners = _ref18.listeners;
|
|
3597
3600
|
var instance = hooks.getCurrentInstance().proxy;
|
|
3598
3601
|
var tableListeners = getListeners(attrs, listeners);
|
|
3599
3602
|
hooks.onBeforeUnmount(function() {
|
|
@@ -3605,7 +3608,7 @@ var GridToolbar = defineComponent({
|
|
|
3605
3608
|
};
|
|
3606
3609
|
},
|
|
3607
3610
|
render: function render4() {
|
|
3608
|
-
var
|
|
3611
|
+
var _ref19;
|
|
3609
3612
|
var $grid = this.$grid, $slots = this.slots, table = this.table, loading = this.loading, settingStore = this.settingStore, refresh = this.refresh, fullScreen = this.fullScreen;
|
|
3610
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;
|
|
3611
3614
|
var $buttons = $slots.buttons, $tools = $slots.tools;
|
|
@@ -3615,7 +3618,7 @@ var GridToolbar = defineComponent({
|
|
|
3615
3618
|
isLoading: "is__loading"
|
|
3616
3619
|
};
|
|
3617
3620
|
var propsArg = {
|
|
3618
|
-
class: ["tiny-grid-toolbar", (
|
|
3621
|
+
class: ["tiny-grid-toolbar", (_ref19 = {}, _ref19["size__" + vSize2] = vSize2, _ref19[map.isLoading] = loading, _ref19)]
|
|
3619
3622
|
};
|
|
3620
3623
|
var args = {
|
|
3621
3624
|
_vm: this,
|
|
@@ -3666,11 +3669,11 @@ var GridToolbar = defineComponent({
|
|
|
3666
3669
|
return this.setting && this.setting.customSetting ? this.setting.settingBtnClickFn() : this.handleClickCustomEvent();
|
|
3667
3670
|
},
|
|
3668
3671
|
updateConf: function updateConf() {
|
|
3669
|
-
var
|
|
3672
|
+
var _this29 = this;
|
|
3670
3673
|
var data6 = this.data;
|
|
3671
3674
|
var $children = this.$parent.$children;
|
|
3672
3675
|
var findHandler = function findHandler2(childComp, childIndex) {
|
|
3673
|
-
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");
|
|
3674
3677
|
};
|
|
3675
3678
|
this.table = find$1($children, findHandler);
|
|
3676
3679
|
},
|
|
@@ -3731,7 +3734,7 @@ var GridToolbar = defineComponent({
|
|
|
3731
3734
|
}
|
|
3732
3735
|
},
|
|
3733
3736
|
loadStorage: function loadStorage() {
|
|
3734
|
-
var
|
|
3737
|
+
var _this30 = this;
|
|
3735
3738
|
var $grid = this.$grid, id = this.id, resizable = this.resizable, setting = this.setting, settingOpts2 = this.settingOpts;
|
|
3736
3739
|
if (!$grid) {
|
|
3737
3740
|
return;
|
|
@@ -3752,13 +3755,13 @@ var GridToolbar = defineComponent({
|
|
|
3752
3755
|
var pageSize = settingsStorage.pageSize;
|
|
3753
3756
|
if (this.$grid.pagerConfig && this.$grid.pagerConfig.pageSize !== pageSize) {
|
|
3754
3757
|
this.$grid.createJob("pageSizeChangeCallback", function() {
|
|
3755
|
-
|
|
3758
|
+
_this30.$grid.pageSizeChange(pageSize, $grid.autoLoad === false);
|
|
3756
3759
|
});
|
|
3757
3760
|
}
|
|
3758
3761
|
}
|
|
3759
3762
|
}
|
|
3760
3763
|
this.$grid.createJob("updateCustomsCallback", function() {
|
|
3761
|
-
|
|
3764
|
+
_this30.updateCustoms(customSettings.length ? customSettings : _this30.tableFullColumn);
|
|
3762
3765
|
});
|
|
3763
3766
|
}
|
|
3764
3767
|
},
|
|
@@ -3766,14 +3769,14 @@ var GridToolbar = defineComponent({
|
|
|
3766
3769
|
this.tableFullColumn = fullColumn;
|
|
3767
3770
|
},
|
|
3768
3771
|
updateCustoms: function updateCustoms(customs) {
|
|
3769
|
-
var
|
|
3772
|
+
var _this31 = this;
|
|
3770
3773
|
var $grid = this.$grid, table = this.table, setting = this.setting;
|
|
3771
3774
|
var comp = $grid || table;
|
|
3772
3775
|
var sort = setting && !!setting.sortable;
|
|
3773
3776
|
if (comp) {
|
|
3774
3777
|
var colWidth = this.loadColWidth();
|
|
3775
3778
|
comp.reloadCustoms(customs, sort, colWidth).then(function(fullColumn) {
|
|
3776
|
-
|
|
3779
|
+
_this31.tableFullColumn = fullColumn;
|
|
3777
3780
|
});
|
|
3778
3781
|
}
|
|
3779
3782
|
},
|
|
@@ -3838,8 +3841,8 @@ var GridToolbar = defineComponent({
|
|
|
3838
3841
|
if (storage && !isReset) {
|
|
3839
3842
|
columnWidthStorage = columnWidthStorageMap[id];
|
|
3840
3843
|
columnWidthStorage = isPlainObject(columnWidthStorage) ? columnWidthStorage : {};
|
|
3841
|
-
tableFullColumn.forEach(function(
|
|
3842
|
-
var property =
|
|
3844
|
+
tableFullColumn.forEach(function(_ref20) {
|
|
3845
|
+
var property = _ref20.property, resizeWidth = _ref20.resizeWidth, renderWidth = _ref20.renderWidth;
|
|
3843
3846
|
if (property && resizeWidth) {
|
|
3844
3847
|
columnWidthStorage[property] = renderWidth;
|
|
3845
3848
|
}
|
|
@@ -3861,24 +3864,24 @@ var GridToolbar = defineComponent({
|
|
|
3861
3864
|
return tableComp.recalculate();
|
|
3862
3865
|
},
|
|
3863
3866
|
updateSetting: function updateSetting() {
|
|
3864
|
-
var
|
|
3867
|
+
var _this32 = this;
|
|
3865
3868
|
var tableComp = this.$grid || this.table;
|
|
3866
3869
|
tableComp.refreshColumn();
|
|
3867
3870
|
this.tableFullColumn = this.tableFullColumn.slice(0);
|
|
3868
3871
|
return this.$nextTick(function() {
|
|
3869
|
-
return
|
|
3872
|
+
return _this32.$refs.custom && _this32.$refs.custom.saveSettings();
|
|
3870
3873
|
});
|
|
3871
3874
|
},
|
|
3872
|
-
applySettings: function applySettings(
|
|
3873
|
-
var
|
|
3874
|
-
var columns =
|
|
3875
|
+
applySettings: function applySettings(_ref21) {
|
|
3876
|
+
var _this33 = this;
|
|
3877
|
+
var columns = _ref21.columns, pageSize = _ref21.pageSize, updatedSorting = _ref21.updatedSorting;
|
|
3875
3878
|
var sort = this.setting && !!this.setting.sortable || updatedSorting;
|
|
3876
3879
|
if (this.$grid) {
|
|
3877
3880
|
if (columns && columns.length) {
|
|
3878
3881
|
var colWidth = this.loadColWidth();
|
|
3879
3882
|
this.$grid.reloadCustoms(columns, sort, colWidth).then(function() {
|
|
3880
|
-
|
|
3881
|
-
|
|
3883
|
+
_this33.$grid.handleTableData(true).then(function() {
|
|
3884
|
+
_this33.$grid.recalculate();
|
|
3882
3885
|
});
|
|
3883
3886
|
});
|
|
3884
3887
|
}
|
|
@@ -3966,13 +3969,13 @@ var GridToolbar = defineComponent({
|
|
|
3966
3969
|
});
|
|
3967
3970
|
},
|
|
3968
3971
|
refreshEvent: function refreshEvent() {
|
|
3969
|
-
var
|
|
3972
|
+
var _this34 = this;
|
|
3970
3973
|
var $grid = this.$grid, isRefresh = this.isRefresh, refreshOpts2 = this.refreshOpts;
|
|
3971
3974
|
var catchHandler = function catchHandler2(e) {
|
|
3972
3975
|
return e;
|
|
3973
3976
|
};
|
|
3974
3977
|
var nextHandler = function nextHandler2() {
|
|
3975
|
-
return
|
|
3978
|
+
return _this34.isRefresh = false;
|
|
3976
3979
|
};
|
|
3977
3980
|
if (isRefresh) return;
|
|
3978
3981
|
this.isRefresh = true;
|
|
@@ -4027,7 +4030,7 @@ var GridToolbar = defineComponent({
|
|
|
4027
4030
|
}
|
|
4028
4031
|
}
|
|
4029
4032
|
});
|
|
4030
|
-
var version = "2.
|
|
4033
|
+
var version = "2.23.0";
|
|
4031
4034
|
GridToolbar.install = function(Vue) {
|
|
4032
4035
|
Vue.component(GridToolbar.name, GridToolbar);
|
|
4033
4036
|
};
|
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.23.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": "~
|
|
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.23.0",
|
|
12
|
+
"@opentinyvue/vue-alert": "~2.23.0",
|
|
13
|
+
"@opentinyvue/vue-button": "~2.23.0",
|
|
14
|
+
"@opentinyvue/vue-checkbox": "~2.23.0",
|
|
15
|
+
"@opentinyvue/vue-checkbox-group": "~2.23.0",
|
|
16
|
+
"@opentinyvue/vue-col": "~2.23.0",
|
|
17
|
+
"@opentinyvue/vue-common": "~2.23.0",
|
|
18
|
+
"@opentinyvue/vue-dialog-box": "~2.23.0",
|
|
19
|
+
"@opentinyvue/vue-directive": "~2.23.0",
|
|
20
|
+
"@opentinyvue/vue-dropdown": "~2.23.0",
|
|
21
|
+
"@opentinyvue/vue-dropdown-item": "~2.23.0",
|
|
22
|
+
"@opentinyvue/vue-dropdown-menu": "~2.23.0",
|
|
23
|
+
"@opentinyvue/vue-grid": "~2.23.0",
|
|
24
|
+
"@opentinyvue/vue-icon": "~2.23.0",
|
|
25
|
+
"@opentinyvue/vue-input": "~2.23.0",
|
|
26
|
+
"@opentinyvue/vue-layout": "~2.23.0",
|
|
27
|
+
"@opentinyvue/vue-locale": "~2.23.0",
|
|
28
|
+
"@opentinyvue/vue-modal": "~2.23.0",
|
|
29
|
+
"@opentinyvue/vue-option": "~2.23.0",
|
|
30
|
+
"@opentinyvue/vue-popover": "~2.23.0",
|
|
31
|
+
"@opentinyvue/vue-radio": "~2.23.0",
|
|
32
|
+
"@opentinyvue/vue-radio-group": "~2.23.0",
|
|
33
|
+
"@opentinyvue/vue-renderless": "~3.23.0",
|
|
34
|
+
"@opentinyvue/vue-row": "~2.23.0",
|
|
35
|
+
"@opentinyvue/vue-search": "~2.23.0",
|
|
36
|
+
"@opentinyvue/vue-select": "~2.23.0",
|
|
37
|
+
"@opentinyvue/vue-split": "~2.23.0",
|
|
38
|
+
"@opentinyvue/vue-tab-item": "~2.23.0",
|
|
39
|
+
"@opentinyvue/vue-tabs": "~2.23.0",
|
|
40
|
+
"@opentinyvue/vue-theme": "~3.23.0",
|
|
41
|
+
"@opentinyvue/vue-tooltip": "~2.23.0",
|
|
42
|
+
"@opentinyvue/vue-tree": "~2.23.0"
|
|
43
43
|
},
|
|
44
44
|
"types": "index.d.ts",
|
|
45
45
|
"scripts": {
|