@opentinyvue/vue-grid-toolbar 3.27.0 → 3.28.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 +6 -6
- package/package.json +33 -33
- package/src/custom-switch.vue.d.ts +114 -6
package/lib/index.js
CHANGED
|
@@ -1215,11 +1215,11 @@ var _sfc_main$2 = defineComponent({
|
|
|
1215
1215
|
getColumnConfigs: function getColumnConfigs(configs) {
|
|
1216
1216
|
var _getColNodes = function getColNodes(columns2) {
|
|
1217
1217
|
return columns2.map(function(_ref2) {
|
|
1218
|
-
var id = _ref2.id,
|
|
1218
|
+
var id = _ref2.id, own = _ref2.own, property = _ref2.property, fixed = _ref2.fixed, visible = _ref2.visible, order = _ref2.order, sortable = _ref2.sortable, level = _ref2.level, children = _ref2.children;
|
|
1219
1219
|
if (property) {
|
|
1220
1220
|
var column = {
|
|
1221
1221
|
id,
|
|
1222
|
-
title,
|
|
1222
|
+
title: own.title,
|
|
1223
1223
|
property,
|
|
1224
1224
|
fixed,
|
|
1225
1225
|
visible,
|
|
@@ -1947,12 +1947,12 @@ var _sfc_main$1 = {
|
|
|
1947
1947
|
var _this11 = this;
|
|
1948
1948
|
var _getColNodes2 = function getColNodes(columns2) {
|
|
1949
1949
|
return columns2.map(function(_ref8) {
|
|
1950
|
-
var id = _ref8.id,
|
|
1950
|
+
var id = _ref8.id, own = _ref8.own, property = _ref8.property, fixed = _ref8.fixed, visible = _ref8.visible, order = _ref8.order, sortable = _ref8.sortable, level = _ref8.level, children = _ref8.children;
|
|
1951
1951
|
if (property) {
|
|
1952
1952
|
var _this11$setting;
|
|
1953
1953
|
var column = {
|
|
1954
1954
|
id,
|
|
1955
|
-
title,
|
|
1955
|
+
title: own.title,
|
|
1956
1956
|
property,
|
|
1957
1957
|
fixed,
|
|
1958
1958
|
visible,
|
|
@@ -2405,11 +2405,11 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
2405
2405
|
this.colIds = [];
|
|
2406
2406
|
var _getColNodes3 = function getColNodes(columns2) {
|
|
2407
2407
|
return columns2.map(function(_ref9) {
|
|
2408
|
-
var id = _ref9.id,
|
|
2408
|
+
var id = _ref9.id, own = _ref9.own, property = _ref9.property, fixed = _ref9.fixed, visible = _ref9.visible, order = _ref9.order, sortable = _ref9.sortable, level = _ref9.level, children = _ref9.children;
|
|
2409
2409
|
if (property) {
|
|
2410
2410
|
var column = {
|
|
2411
2411
|
id,
|
|
2412
|
-
title,
|
|
2412
|
+
title: own.title,
|
|
2413
2413
|
property,
|
|
2414
2414
|
alwaysShow: alwaysShowColumns.includes(property),
|
|
2415
2415
|
fixed,
|
package/package.json
CHANGED
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentinyvue/vue-grid-toolbar",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.28.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": "~3.
|
|
13
|
-
"@opentinyvue/vue-button": "~3.
|
|
14
|
-
"@opentinyvue/vue-checkbox": "~3.
|
|
15
|
-
"@opentinyvue/vue-checkbox-group": "~3.
|
|
16
|
-
"@opentinyvue/vue-col": "~3.
|
|
17
|
-
"@opentinyvue/vue-common": "~3.
|
|
18
|
-
"@opentinyvue/vue-dialog-box": "~3.
|
|
19
|
-
"@opentinyvue/vue-directive": "~3.
|
|
20
|
-
"@opentinyvue/vue-dropdown": "~3.
|
|
21
|
-
"@opentinyvue/vue-dropdown-item": "~3.
|
|
22
|
-
"@opentinyvue/vue-dropdown-menu": "~3.
|
|
23
|
-
"@opentinyvue/vue-grid": "~3.
|
|
24
|
-
"@opentinyvue/vue-icon": "~3.
|
|
25
|
-
"@opentinyvue/vue-input": "~3.
|
|
26
|
-
"@opentinyvue/vue-layout": "~3.
|
|
27
|
-
"@opentinyvue/vue-locale": "~3.
|
|
28
|
-
"@opentinyvue/vue-modal": "~3.
|
|
29
|
-
"@opentinyvue/vue-option": "~3.
|
|
30
|
-
"@opentinyvue/vue-popover": "~3.
|
|
31
|
-
"@opentinyvue/vue-radio": "~3.
|
|
32
|
-
"@opentinyvue/vue-radio-group": "~3.
|
|
33
|
-
"@opentinyvue/vue-renderless": "~3.
|
|
34
|
-
"@opentinyvue/vue-row": "~3.
|
|
35
|
-
"@opentinyvue/vue-search": "~3.
|
|
36
|
-
"@opentinyvue/vue-select": "~3.
|
|
37
|
-
"@opentinyvue/vue-split": "~3.
|
|
38
|
-
"@opentinyvue/vue-tab-item": "~3.
|
|
39
|
-
"@opentinyvue/vue-tabs": "~3.
|
|
40
|
-
"@opentinyvue/vue-theme": "~3.
|
|
41
|
-
"@opentinyvue/vue-tooltip": "~3.
|
|
42
|
-
"@opentinyvue/vue-tree": "~3.
|
|
11
|
+
"@opentinyvue/utils": "~3.28.0",
|
|
12
|
+
"@opentinyvue/vue-alert": "~3.28.0",
|
|
13
|
+
"@opentinyvue/vue-button": "~3.28.0",
|
|
14
|
+
"@opentinyvue/vue-checkbox": "~3.28.0",
|
|
15
|
+
"@opentinyvue/vue-checkbox-group": "~3.28.0",
|
|
16
|
+
"@opentinyvue/vue-col": "~3.28.0",
|
|
17
|
+
"@opentinyvue/vue-common": "~3.28.0",
|
|
18
|
+
"@opentinyvue/vue-dialog-box": "~3.28.0",
|
|
19
|
+
"@opentinyvue/vue-directive": "~3.28.0",
|
|
20
|
+
"@opentinyvue/vue-dropdown": "~3.28.0",
|
|
21
|
+
"@opentinyvue/vue-dropdown-item": "~3.28.0",
|
|
22
|
+
"@opentinyvue/vue-dropdown-menu": "~3.28.0",
|
|
23
|
+
"@opentinyvue/vue-grid": "~3.28.0",
|
|
24
|
+
"@opentinyvue/vue-icon": "~3.28.0",
|
|
25
|
+
"@opentinyvue/vue-input": "~3.28.0",
|
|
26
|
+
"@opentinyvue/vue-layout": "~3.28.0",
|
|
27
|
+
"@opentinyvue/vue-locale": "~3.28.0",
|
|
28
|
+
"@opentinyvue/vue-modal": "~3.28.0",
|
|
29
|
+
"@opentinyvue/vue-option": "~3.28.0",
|
|
30
|
+
"@opentinyvue/vue-popover": "~3.28.0",
|
|
31
|
+
"@opentinyvue/vue-radio": "~3.28.0",
|
|
32
|
+
"@opentinyvue/vue-radio-group": "~3.28.0",
|
|
33
|
+
"@opentinyvue/vue-renderless": "~3.28.0",
|
|
34
|
+
"@opentinyvue/vue-row": "~3.28.0",
|
|
35
|
+
"@opentinyvue/vue-search": "~3.28.0",
|
|
36
|
+
"@opentinyvue/vue-select": "~3.28.0",
|
|
37
|
+
"@opentinyvue/vue-split": "~3.28.0",
|
|
38
|
+
"@opentinyvue/vue-tab-item": "~3.28.0",
|
|
39
|
+
"@opentinyvue/vue-tabs": "~3.28.0",
|
|
40
|
+
"@opentinyvue/vue-theme": "~3.28.0",
|
|
41
|
+
"@opentinyvue/vue-tooltip": "~3.28.0",
|
|
42
|
+
"@opentinyvue/vue-tree": "~3.28.0"
|
|
43
43
|
},
|
|
44
44
|
"types": "index.d.ts",
|
|
45
45
|
"scripts": {
|
|
@@ -20,15 +20,123 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
|
20
20
|
tiny_mcp_config: ObjectConstructor;
|
|
21
21
|
tiny_chart_theme: ObjectConstructor;
|
|
22
22
|
}, unknown, {
|
|
23
|
-
IconSave: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{
|
|
23
|
+
IconSave: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{
|
|
24
|
+
shape: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
firstColor: {
|
|
29
|
+
type: StringConstructor;
|
|
30
|
+
default: string;
|
|
31
|
+
};
|
|
32
|
+
secondColor: {
|
|
33
|
+
type: StringConstructor;
|
|
34
|
+
default: string;
|
|
35
|
+
};
|
|
36
|
+
underlay: {
|
|
37
|
+
type: ObjectConstructor;
|
|
38
|
+
};
|
|
39
|
+
}, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
|
|
24
40
|
[key: string]: any;
|
|
25
|
-
}>,
|
|
26
|
-
|
|
41
|
+
}>, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
|
|
42
|
+
shape: {
|
|
43
|
+
type: StringConstructor;
|
|
44
|
+
default: string;
|
|
45
|
+
};
|
|
46
|
+
firstColor: {
|
|
47
|
+
type: StringConstructor;
|
|
48
|
+
default: string;
|
|
49
|
+
};
|
|
50
|
+
secondColor: {
|
|
51
|
+
type: StringConstructor;
|
|
52
|
+
default: string;
|
|
53
|
+
};
|
|
54
|
+
underlay: {
|
|
55
|
+
type: ObjectConstructor;
|
|
56
|
+
};
|
|
57
|
+
}>>, {
|
|
58
|
+
shape: string;
|
|
59
|
+
firstColor: string;
|
|
60
|
+
secondColor: string;
|
|
61
|
+
}, {}>>;
|
|
62
|
+
IconEdit: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{
|
|
63
|
+
shape: {
|
|
64
|
+
type: StringConstructor;
|
|
65
|
+
default: string;
|
|
66
|
+
};
|
|
67
|
+
firstColor: {
|
|
68
|
+
type: StringConstructor;
|
|
69
|
+
default: string;
|
|
70
|
+
};
|
|
71
|
+
secondColor: {
|
|
72
|
+
type: StringConstructor;
|
|
73
|
+
default: string;
|
|
74
|
+
};
|
|
75
|
+
underlay: {
|
|
76
|
+
type: ObjectConstructor;
|
|
77
|
+
};
|
|
78
|
+
}, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
|
|
27
79
|
[key: string]: any;
|
|
28
|
-
}>,
|
|
29
|
-
|
|
80
|
+
}>, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
|
|
81
|
+
shape: {
|
|
82
|
+
type: StringConstructor;
|
|
83
|
+
default: string;
|
|
84
|
+
};
|
|
85
|
+
firstColor: {
|
|
86
|
+
type: StringConstructor;
|
|
87
|
+
default: string;
|
|
88
|
+
};
|
|
89
|
+
secondColor: {
|
|
90
|
+
type: StringConstructor;
|
|
91
|
+
default: string;
|
|
92
|
+
};
|
|
93
|
+
underlay: {
|
|
94
|
+
type: ObjectConstructor;
|
|
95
|
+
};
|
|
96
|
+
}>>, {
|
|
97
|
+
shape: string;
|
|
98
|
+
firstColor: string;
|
|
99
|
+
secondColor: string;
|
|
100
|
+
}, {}>>;
|
|
101
|
+
IconDel: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{
|
|
102
|
+
shape: {
|
|
103
|
+
type: StringConstructor;
|
|
104
|
+
default: string;
|
|
105
|
+
};
|
|
106
|
+
firstColor: {
|
|
107
|
+
type: StringConstructor;
|
|
108
|
+
default: string;
|
|
109
|
+
};
|
|
110
|
+
secondColor: {
|
|
111
|
+
type: StringConstructor;
|
|
112
|
+
default: string;
|
|
113
|
+
};
|
|
114
|
+
underlay: {
|
|
115
|
+
type: ObjectConstructor;
|
|
116
|
+
};
|
|
117
|
+
}, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
|
|
30
118
|
[key: string]: any;
|
|
31
|
-
}>,
|
|
119
|
+
}>, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
|
|
120
|
+
shape: {
|
|
121
|
+
type: StringConstructor;
|
|
122
|
+
default: string;
|
|
123
|
+
};
|
|
124
|
+
firstColor: {
|
|
125
|
+
type: StringConstructor;
|
|
126
|
+
default: string;
|
|
127
|
+
};
|
|
128
|
+
secondColor: {
|
|
129
|
+
type: StringConstructor;
|
|
130
|
+
default: string;
|
|
131
|
+
};
|
|
132
|
+
underlay: {
|
|
133
|
+
type: ObjectConstructor;
|
|
134
|
+
};
|
|
135
|
+
}>>, {
|
|
136
|
+
shape: string;
|
|
137
|
+
firstColor: string;
|
|
138
|
+
secondColor: string;
|
|
139
|
+
}, {}>>;
|
|
32
140
|
saveDisabled: boolean;
|
|
33
141
|
selectDisabled: boolean;
|
|
34
142
|
applyDisabled: boolean;
|