@opentinyvue/vue-grid-toolbar 3.26.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 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, title = _ref2.title, property = _ref2.property, fixed = _ref2.fixed, visible = _ref2.visible, order = _ref2.order, sortable = _ref2.sortable, level = _ref2.level, children = _ref2.children;
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, title = _ref8.title, property = _ref8.property, fixed = _ref8.fixed, visible = _ref8.visible, order = _ref8.order, sortable = _ref8.sortable, level = _ref8.level, children = _ref8.children;
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,
@@ -1965,6 +1965,7 @@ var _sfc_main$1 = {
1965
1965
  children && (column.children = _getColNodes2(children));
1966
1966
  return column;
1967
1967
  }
1968
+ return null;
1968
1969
  }).filter(function(i) {
1969
1970
  return i;
1970
1971
  });
@@ -1990,6 +1991,9 @@ function _sfc_render$1(_ctx, _cache, $props2, $setup, $data, $options) {
1990
1991
  placeholder: "请选择",
1991
1992
  placement: "bottom-end",
1992
1993
  searchable: true,
1994
+ "tooltip-config": {
1995
+ always: false
1996
+ },
1993
1997
  multiple: ""
1994
1998
  }, {
1995
1999
  reference: withCtx(function() {
@@ -2401,11 +2405,11 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
2401
2405
  this.colIds = [];
2402
2406
  var _getColNodes3 = function getColNodes(columns2) {
2403
2407
  return columns2.map(function(_ref9) {
2404
- var id = _ref9.id, title = _ref9.title, property = _ref9.property, fixed = _ref9.fixed, visible = _ref9.visible, order = _ref9.order, sortable = _ref9.sortable, level = _ref9.level, children = _ref9.children;
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;
2405
2409
  if (property) {
2406
2410
  var column = {
2407
2411
  id,
2408
- title,
2412
+ title: own.title,
2409
2413
  property,
2410
2414
  alwaysShow: alwaysShowColumns.includes(property),
2411
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.26.0",
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.26.0",
12
- "@opentinyvue/vue-alert": "~3.26.0",
13
- "@opentinyvue/vue-button": "~3.26.0",
14
- "@opentinyvue/vue-checkbox": "~3.26.0",
15
- "@opentinyvue/vue-checkbox-group": "~3.26.0",
16
- "@opentinyvue/vue-col": "~3.26.0",
17
- "@opentinyvue/vue-common": "~3.26.0",
18
- "@opentinyvue/vue-dialog-box": "~3.26.0",
19
- "@opentinyvue/vue-directive": "~3.26.0",
20
- "@opentinyvue/vue-dropdown": "~3.26.0",
21
- "@opentinyvue/vue-dropdown-item": "~3.26.0",
22
- "@opentinyvue/vue-dropdown-menu": "~3.26.0",
23
- "@opentinyvue/vue-grid": "~3.26.0",
24
- "@opentinyvue/vue-icon": "~3.26.0",
25
- "@opentinyvue/vue-input": "~3.26.0",
26
- "@opentinyvue/vue-layout": "~3.26.0",
27
- "@opentinyvue/vue-locale": "~3.26.0",
28
- "@opentinyvue/vue-modal": "~3.26.0",
29
- "@opentinyvue/vue-option": "~3.26.0",
30
- "@opentinyvue/vue-popover": "~3.26.0",
31
- "@opentinyvue/vue-radio": "~3.26.0",
32
- "@opentinyvue/vue-radio-group": "~3.26.0",
33
- "@opentinyvue/vue-renderless": "~3.26.0",
34
- "@opentinyvue/vue-row": "~3.26.0",
35
- "@opentinyvue/vue-search": "~3.26.0",
36
- "@opentinyvue/vue-select": "~3.26.0",
37
- "@opentinyvue/vue-split": "~3.26.0",
38
- "@opentinyvue/vue-tab-item": "~3.26.0",
39
- "@opentinyvue/vue-tabs": "~3.26.0",
40
- "@opentinyvue/vue-theme": "~3.26.0",
41
- "@opentinyvue/vue-tooltip": "~3.26.0",
42
- "@opentinyvue/vue-tree": "~3.26.0"
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<{}, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
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
- }>, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{}>>, {}, {}>>;
26
- IconEdit: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{}, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
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
- }>, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{}>>, {}, {}>>;
29
- IconDel: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{}, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
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
- }>, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{}>>, {}, {}>>;
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;