@opentinyvue/vue-grid-toolbar 3.22.0 → 3.22.1
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 +6 -3
- package/package.json +1 -1
- package/src/custom.vue.d.ts +1 -1
package/lib/index.js
CHANGED
|
@@ -2361,8 +2361,11 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
2361
2361
|
this.hideOrShowColumns(false);
|
|
2362
2362
|
}
|
|
2363
2363
|
},
|
|
2364
|
-
|
|
2365
|
-
|
|
2364
|
+
// 勿同步,tree组件check事件参数不一致
|
|
2365
|
+
checkNode: function checkNode(node, data6) {
|
|
2366
|
+
var _data$checkedNodes;
|
|
2367
|
+
var isCheck = data6 == null ? void 0 : (_data$checkedNodes = data6.checkedNodes) == null ? void 0 : _data$checkedNodes.includes(node);
|
|
2368
|
+
node.visible = isCheck;
|
|
2366
2369
|
if (node.children && Array.isArray(node.children)) {
|
|
2367
2370
|
node.children.forEach(function(item) {
|
|
2368
2371
|
item.visible = node.visible;
|
|
@@ -4562,7 +4565,7 @@ var GridToolbar = defineComponent({
|
|
|
4562
4565
|
}
|
|
4563
4566
|
}
|
|
4564
4567
|
});
|
|
4565
|
-
var version = "3.
|
|
4568
|
+
var version = "3.undefined";
|
|
4566
4569
|
GridToolbar.install = function(Vue) {
|
|
4567
4570
|
Vue.component(GridToolbar.name, GridToolbar);
|
|
4568
4571
|
};
|
package/package.json
CHANGED
package/src/custom.vue.d.ts
CHANGED
|
@@ -156,8 +156,8 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
|
156
156
|
onCancelSettings?: ((...args: any[]) => any) | undefined;
|
|
157
157
|
}, {
|
|
158
158
|
value: boolean;
|
|
159
|
-
data: unknown[];
|
|
160
159
|
keys: unknown[];
|
|
160
|
+
data: unknown[];
|
|
161
161
|
tiny_mode_root: boolean;
|
|
162
162
|
refresh: boolean;
|
|
163
163
|
other: boolean;
|