@opentinyvue/vue-button-group 2.21.0 → 3.21.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
@@ -60,7 +60,7 @@ var ButtonGroup = defineComponent({
60
60
  });
61
61
  }
62
62
  });
63
- var version = "2.21.0";
63
+ var version = "3.21.0";
64
64
  ButtonGroup.model = {
65
65
  prop: "modelValue",
66
66
  event: "update:modelValue"
package/lib/pc.js CHANGED
@@ -4,38 +4,42 @@ import Popover from '@opentinyvue/vue-popover';
4
4
  import Button from '@opentinyvue/vue-button';
5
5
  import { iconPopup, iconEditor } from '@opentinyvue/vue-icon';
6
6
  import { AutoTip } from '@opentinyvue/vue-directive';
7
+ import { resolveComponent, resolveDirective, openBlock, createElementBlock, normalizeClass, renderSlot, Fragment, renderList, withDirectives, createTextVNode, toDisplayString, createBlock, resolveDynamicComponent, createCommentVNode, createElementVNode, createVNode, withCtx } from 'vue';
7
8
 
8
- function normalizeComponent(scriptExports, render, staticRenderFns, functionalTemplate, injectStyles, scopeId, moduleIdentifier, shadowMode) {
9
- var options = typeof scriptExports === "function" ? scriptExports.options : scriptExports;
10
- if (render) {
11
- options.render = render;
12
- options.staticRenderFns = staticRenderFns;
13
- options._compiled = true;
9
+ function _createForOfIteratorHelperLoose(r, e) {
10
+ var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
11
+ if (t) return (t = t.call(r)).next.bind(t);
12
+ if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) {
13
+ t && (r = t);
14
+ var o = 0;
15
+ return function() {
16
+ return o >= r.length ? { done: true } : { done: false, value: r[o++] };
17
+ };
14
18
  }
15
- var hook;
16
- if (injectStyles) {
17
- hook = injectStyles;
18
- }
19
- if (hook) {
20
- if (options.functional) {
21
- options._injectStyles = hook;
22
- var originalRender = options.render;
23
- options.render = function renderWithStyleInjection(h, context) {
24
- hook.call(context);
25
- return originalRender(h, context);
26
- };
27
- } else {
28
- var existing = options.beforeCreate;
29
- options.beforeCreate = existing ? [].concat(existing, hook) : [hook];
30
- }
19
+ throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
20
+ }
21
+ function _unsupportedIterableToArray(r, a) {
22
+ if (r) {
23
+ if ("string" == typeof r) return _arrayLikeToArray(r, a);
24
+ var t = {}.toString.call(r).slice(8, -1);
25
+ return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
31
26
  }
32
- return {
33
- exports: scriptExports,
34
- options
35
- };
36
27
  }
28
+ function _arrayLikeToArray(r, a) {
29
+ (null == a || a > r.length) && (a = r.length);
30
+ for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
31
+ return n;
32
+ }
33
+ var _export_sfc = function _export_sfc2(sfc, props) {
34
+ var target = sfc.__vccOpts || sfc;
35
+ for (var _iterator = _createForOfIteratorHelperLoose(props), _step; !(_step = _iterator()).done; ) {
36
+ var _step$value = _step.value, key = _step$value[0], val = _step$value[1];
37
+ target[key] = val;
38
+ }
39
+ return target;
40
+ };
37
41
 
38
- var __vue2_script = defineComponent({
42
+ var _sfc_main = defineComponent({
39
43
  emits: ["change", "edit", "update:modelValue"],
40
44
  directives: {
41
45
  AutoTip
@@ -57,139 +61,224 @@ var __vue2_script = defineComponent({
57
61
  });
58
62
  }
59
63
  });
60
- var render = function render2() {
61
- var _vm = this;
62
- var _h = _vm.$createElement;
63
- var _c = _vm._self._c || _h;
64
- return _c("div", {
65
- staticClass: "tiny-button-group",
66
- class: [_vm.size ? "tiny-button-group--" + _vm.size : "", _vm.border ? "" : "tiny-button-group--borderless"]
67
- }, [_vm._t("default", function() {
68
- return [_vm.data.length > 0 ? [!(_vm.showMore && _vm.showMore > 0) ? _c("ul", {
69
- staticClass: "tiny-group-item"
70
- }, _vm._l(_vm.data, function(node, index) {
71
- return _c("li", {
72
- key: index,
73
- class: {
74
- active: _vm.state.value === node[_vm.valueField]
75
- }
76
- }, [_c("button", {
77
- directives: [{
78
- name: "auto-tip",
79
- rawName: "v-auto-tip",
80
- value: Boolean(node.tip) ? {
81
- always: true,
82
- content: node.tip
83
- } : false,
84
- expression: "Boolean(node.tip) ? { always: true, content: node.tip } : false"
85
- }],
86
- class: _vm.getItemClass(node),
87
- attrs: {
88
- "type": "button",
89
- "tabindex": _vm.getItemClass(node).disabled ? "-1" : "0"
90
- },
91
- on: {
92
- "click": function click($event) {
93
- return _vm.handleClick(node);
94
- }
95
- }
96
- }, [_vm._v(" " + _vm._s(node[_vm.textField]) + " ")]), node.sup ? _c("span", {
97
- class: ["tiny-group-item__sup", {
98
- "tiny-group-item__sup-text": !node.sup.slot && !node.sup.icon && node.sup.text && !node.sup.tag,
99
- "tiny-group-item__sup-icon": !node.sup.slot && node.sup.icon && !node.sup.tag,
100
- "tiny-group-item__sup-tag": node.sup.tag
101
- }, typeof node.sup.class === "string" ? node.sup.class : ""].concat(Array.isArray(node.sup.class) ? node.sup.class : [])
102
- }, [node.sup.slot ? _vm._t(node.sup.slot, null, {
103
- "sup": node.sup
104
- }) : node.sup.icon ? _c(node.sup.icon, {
105
- tag: "component"
106
- }) : node.sup.text ? _c("span", [_vm._v(_vm._s(node.sup.text))]) : _vm._e()], 2) : _vm._e()]);
107
- }), 0) : _c("ul", {
108
- staticClass: "tiny-group-item show-more"
109
- }, [_vm._l(_vm.state.buttonData, function(node, index) {
110
- return _c("li", {
111
- key: index,
112
- class: {
113
- active: _vm.state.value === node[_vm.valueField]
114
- }
115
- }, [_c("button", {
116
- class: _vm.getItemClass(node),
117
- on: {
118
- "click": function click($event) {
119
- return _vm.handleClick(node);
120
- }
121
- }
122
- }, [_vm._v(" " + _vm._s(node[_vm.textField]) + " ")]), node.sup ? _c("span", {
123
- class: ["tiny-group-item__sup", {
124
- "tiny-group-item__sup-text": !node.sup.slot && !node.sup.icon && node.sup.text && node.sup.tag,
125
- "tiny-group-item__sup-icon": !node.sup.slot && node.sup.icon && node.sup.tag,
126
- "tiny-group-item__sup-tag": node.sup.tag
127
- }, typeof node.sup.class === "string" ? node.sup.class : ""].concat(Array.isArray(node.sup.class) ? node.sup.class : [])
128
- }, [node.sup.slot ? _vm._t(node.sup.slot, null, {
129
- "sup": node.sup
130
- }) : node.sup.icon ? _c(node.sup.icon, {
131
- tag: "component"
132
- }) : node.sup.text ? _c("span", [_vm._v(_vm._s(node.sup.text))]) : _vm._e()], 2) : _vm._e()]);
133
- }), _vm.data.length > _vm.showMore ? _c("li", {
134
- staticClass: "tiny-group-item__more"
135
- }, [_c("tiny-popover", {
136
- attrs: {
137
- "visible-arrow": false,
138
- "popper-class": "tiny-group-item__more-popover"
139
- },
140
- scopedSlots: _vm._u([{
141
- key: "reference",
142
- fn: function fn() {
143
- return [_c("tiny-button", {
144
- staticClass: "more-button",
145
- attrs: {
146
- "reset-time": 0
147
- }
148
- }, [_c("icon-popup")], 1)];
149
- },
150
- proxy: true
151
- }], null, false, 3560931275)
152
- }, [_c("ul", {
153
- staticClass: "more-list"
154
- }, _vm._l(_vm.state.moreData, function(moreNode, index) {
155
- return _c("li", {
156
- key: index,
157
- class: {
158
- active: _vm.state.value === moreNode[_vm.valueField],
159
- "more-item": true
160
- },
161
- on: {
162
- "click": function click($event) {
163
- return _vm.moreNodeClick(moreNode);
164
- }
165
- }
166
- }, [_vm._v(" " + _vm._s(moreNode[_vm.textField]) + " ")]);
167
- }), 0)])], 1) : _vm._e(), _vm.showEdit ? _c("li", {
168
- staticClass: "tiny-group-item__edit"
169
- }, [_c("tiny-button", {
170
- staticClass: "edit-button",
171
- on: {
172
- "click": function click($event) {
173
- return _vm.$emit("edit");
174
- }
175
- }
176
- }, [_c("Icon-editor")], 1)], 1) : _vm._e()], 2)] : _c("span", {
177
- staticClass: "tiny-button-group--empty"
178
- }, [_vm._t("empty", function() {
179
- return [_vm._v(_vm._s(_vm.t("ui.buttonGroup.noData")))];
180
- })], 2)];
181
- })], 2);
64
+ var _hoisted_1 = {
65
+ key: 0,
66
+ class: "tiny-group-item"
182
67
  };
183
- var staticRenderFns = [];
184
- var __cssModules = {};
185
- var __component__ = /* @__PURE__ */ normalizeComponent(__vue2_script, render, staticRenderFns, false, __vue2_injectStyles);
186
- function __vue2_injectStyles(context) {
187
- for (var o in __cssModules) {
188
- this[o] = __cssModules[o];
189
- }
68
+ var _hoisted_2 = ["tabindex", "onClick"];
69
+ var _hoisted_3 = {
70
+ key: 2
71
+ };
72
+ var _hoisted_4 = {
73
+ key: 1,
74
+ class: "tiny-group-item show-more"
75
+ };
76
+ var _hoisted_5 = ["onClick"];
77
+ var _hoisted_6 = {
78
+ key: 2
79
+ };
80
+ var _hoisted_7 = {
81
+ key: 0,
82
+ class: "tiny-group-item__more"
83
+ };
84
+ var _hoisted_8 = {
85
+ class: "more-list"
86
+ };
87
+ var _hoisted_9 = ["onClick"];
88
+ var _hoisted_10 = {
89
+ key: 1,
90
+ class: "tiny-group-item__edit"
91
+ };
92
+ var _hoisted_11 = {
93
+ key: 1,
94
+ class: "tiny-button-group--empty"
95
+ };
96
+ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
97
+ var _component_icon_popup = resolveComponent("icon-popup");
98
+ var _component_tiny_button = resolveComponent("tiny-button");
99
+ var _component_tiny_popover = resolveComponent("tiny-popover");
100
+ var _component_Icon_editor = resolveComponent("Icon-editor");
101
+ var _directive_auto_tip = resolveDirective("auto-tip");
102
+ return openBlock(), createElementBlock(
103
+ "div",
104
+ {
105
+ class: normalizeClass(["tiny-button-group", [_ctx.size ? "tiny-button-group--" + _ctx.size : "", _ctx.border ? "" : "tiny-button-group--borderless"]])
106
+ },
107
+ [renderSlot(_ctx.$slots, "default", {}, function() {
108
+ return [_ctx.data.length > 0 ? (openBlock(), createElementBlock(
109
+ Fragment,
110
+ {
111
+ key: 0
112
+ },
113
+ [!(_ctx.showMore && _ctx.showMore > 0) ? (openBlock(), createElementBlock("ul", _hoisted_1, [(openBlock(true), createElementBlock(
114
+ Fragment,
115
+ null,
116
+ renderList(_ctx.data, function(node, index) {
117
+ return openBlock(), createElementBlock(
118
+ "li",
119
+ {
120
+ key: index,
121
+ class: normalizeClass({
122
+ active: _ctx.state.value === node[_ctx.valueField]
123
+ })
124
+ },
125
+ [withDirectives((openBlock(), createElementBlock("button", {
126
+ class: normalizeClass(_ctx.getItemClass(node)),
127
+ type: "button",
128
+ tabindex: _ctx.getItemClass(node).disabled ? "-1" : "0",
129
+ onClick: function onClick($event) {
130
+ return _ctx.handleClick(node);
131
+ }
132
+ }, [createTextVNode(
133
+ toDisplayString(node[_ctx.textField]),
134
+ 1
135
+ /* TEXT */
136
+ )], 10, _hoisted_2)), [[_directive_auto_tip, Boolean(node.tip) ? {
137
+ always: true,
138
+ content: node.tip
139
+ } : false]]), node.sup ? (openBlock(), createElementBlock(
140
+ "span",
141
+ {
142
+ key: 0,
143
+ class: normalizeClass(["tiny-group-item__sup", {
144
+ "tiny-group-item__sup-text": !node.sup.slot && !node.sup.icon && node.sup.text && !node.sup.tag,
145
+ "tiny-group-item__sup-icon": !node.sup.slot && node.sup.icon && !node.sup.tag,
146
+ "tiny-group-item__sup-tag": node.sup.tag
147
+ }, typeof node.sup.class === "string" ? node.sup.class : ""].concat(Array.isArray(node.sup.class) ? node.sup.class : []))
148
+ },
149
+ [node.sup.slot ? renderSlot(_ctx.$slots, node.sup.slot, {
150
+ key: 0,
151
+ sup: node.sup
152
+ }) : node.sup.icon ? (openBlock(), createBlock(resolveDynamicComponent(node.sup.icon), {
153
+ key: 1
154
+ })) : node.sup.text ? (openBlock(), createElementBlock(
155
+ "span",
156
+ _hoisted_3,
157
+ toDisplayString(node.sup.text),
158
+ 1
159
+ /* TEXT */
160
+ )) : createCommentVNode("v-if", true)],
161
+ 2
162
+ /* CLASS */
163
+ )) : createCommentVNode("v-if", true)],
164
+ 2
165
+ /* CLASS */
166
+ );
167
+ }),
168
+ 128
169
+ /* KEYED_FRAGMENT */
170
+ ))])) : (openBlock(), createElementBlock("ul", _hoisted_4, [(openBlock(true), createElementBlock(
171
+ Fragment,
172
+ null,
173
+ renderList(_ctx.state.buttonData, function(node, index) {
174
+ return openBlock(), createElementBlock(
175
+ "li",
176
+ {
177
+ key: index,
178
+ class: normalizeClass({
179
+ active: _ctx.state.value === node[_ctx.valueField]
180
+ })
181
+ },
182
+ [createElementVNode("button", {
183
+ class: normalizeClass(_ctx.getItemClass(node)),
184
+ onClick: function onClick($event) {
185
+ return _ctx.handleClick(node);
186
+ }
187
+ }, toDisplayString(node[_ctx.textField]), 11, _hoisted_5), node.sup ? (openBlock(), createElementBlock(
188
+ "span",
189
+ {
190
+ key: 0,
191
+ class: normalizeClass(["tiny-group-item__sup", {
192
+ "tiny-group-item__sup-text": !node.sup.slot && !node.sup.icon && node.sup.text && node.sup.tag,
193
+ "tiny-group-item__sup-icon": !node.sup.slot && node.sup.icon && node.sup.tag,
194
+ "tiny-group-item__sup-tag": node.sup.tag
195
+ }, typeof node.sup.class === "string" ? node.sup.class : ""].concat(Array.isArray(node.sup.class) ? node.sup.class : []))
196
+ },
197
+ [node.sup.slot ? renderSlot(_ctx.$slots, node.sup.slot, {
198
+ key: 0,
199
+ sup: node.sup
200
+ }) : node.sup.icon ? (openBlock(), createBlock(resolveDynamicComponent(node.sup.icon), {
201
+ key: 1
202
+ })) : node.sup.text ? (openBlock(), createElementBlock(
203
+ "span",
204
+ _hoisted_6,
205
+ toDisplayString(node.sup.text),
206
+ 1
207
+ /* TEXT */
208
+ )) : createCommentVNode("v-if", true)],
209
+ 2
210
+ /* CLASS */
211
+ )) : createCommentVNode("v-if", true)],
212
+ 2
213
+ /* CLASS */
214
+ );
215
+ }),
216
+ 128
217
+ /* KEYED_FRAGMENT */
218
+ )), _ctx.data.length > _ctx.showMore ? (openBlock(), createElementBlock("li", _hoisted_7, [createVNode(_component_tiny_popover, {
219
+ "visible-arrow": false,
220
+ "popper-class": "tiny-group-item__more-popover"
221
+ }, {
222
+ reference: withCtx(function() {
223
+ return [createVNode(_component_tiny_button, {
224
+ "reset-time": 0,
225
+ class: "more-button"
226
+ }, {
227
+ default: withCtx(function() {
228
+ return [createVNode(_component_icon_popup)];
229
+ }),
230
+ _: 1
231
+ /* STABLE */
232
+ })];
233
+ }),
234
+ default: withCtx(function() {
235
+ return [createElementVNode("ul", _hoisted_8, [(openBlock(true), createElementBlock(
236
+ Fragment,
237
+ null,
238
+ renderList(_ctx.state.moreData, function(moreNode, index) {
239
+ return openBlock(), createElementBlock("li", {
240
+ key: index,
241
+ class: normalizeClass({
242
+ active: _ctx.state.value === moreNode[_ctx.valueField],
243
+ "more-item": true
244
+ }),
245
+ onClick: function onClick($event) {
246
+ return _ctx.moreNodeClick(moreNode);
247
+ }
248
+ }, toDisplayString(moreNode[_ctx.textField]), 11, _hoisted_9);
249
+ }),
250
+ 128
251
+ /* KEYED_FRAGMENT */
252
+ ))])];
253
+ }),
254
+ _: 1
255
+ /* STABLE */
256
+ })])) : createCommentVNode("v-if", true), _ctx.showEdit ? (openBlock(), createElementBlock("li", _hoisted_10, [createVNode(_component_tiny_button, {
257
+ onClick: _cache[0] || (_cache[0] = function($event) {
258
+ return _ctx.$emit("edit");
259
+ }),
260
+ class: "edit-button"
261
+ }, {
262
+ default: withCtx(function() {
263
+ return [createVNode(_component_Icon_editor)];
264
+ }),
265
+ _: 1
266
+ /* STABLE */
267
+ })])) : createCommentVNode("v-if", true)]))],
268
+ 64
269
+ /* STABLE_FRAGMENT */
270
+ )) : (openBlock(), createElementBlock("span", _hoisted_11, [renderSlot(_ctx.$slots, "empty", {}, function() {
271
+ return [createTextVNode(
272
+ toDisplayString(_ctx.t("ui.buttonGroup.noData")),
273
+ 1
274
+ /* TEXT */
275
+ )];
276
+ })]))];
277
+ })],
278
+ 2
279
+ /* CLASS */
280
+ );
190
281
  }
191
- var pc = /* @__PURE__ */ function() {
192
- return __component__.exports;
193
- }();
282
+ var pc = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
194
283
 
195
284
  export { pc as default };
package/package.json CHANGED
@@ -1,19 +1,19 @@
1
1
  {
2
2
  "name": "@opentinyvue/vue-button-group",
3
- "version": "2.21.0",
3
+ "version": "3.21.0",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib/index.js",
7
7
  "sideEffects": false,
8
8
  "type": "module",
9
9
  "dependencies": {
10
- "@opentinyvue/vue-common": "~2.21.0",
10
+ "@opentinyvue/vue-common": "~3.21.0",
11
11
  "@opentinyvue/vue-renderless": "~3.21.0",
12
12
  "@opentinyvue/vue-theme": "~3.21.0",
13
- "@opentinyvue/vue-directive": "~2.21.0",
14
- "@opentinyvue/vue-popover": "~2.21.0",
15
- "@opentinyvue/vue-button": "~2.21.0",
16
- "@opentinyvue/vue-icon": "~2.21.0"
13
+ "@opentinyvue/vue-directive": "~3.21.0",
14
+ "@opentinyvue/vue-popover": "~3.21.0",
15
+ "@opentinyvue/vue-button": "~3.21.0",
16
+ "@opentinyvue/vue-icon": "~3.21.0"
17
17
  },
18
18
  "license": "MIT",
19
19
  "types": "index.d.ts",
package/src/index.d.ts CHANGED
@@ -33,5 +33,80 @@ export declare const buttonGroupProps: {
33
33
  tiny_theme: StringConstructor;
34
34
  tiny_chart_theme: ObjectConstructor;
35
35
  };
36
- declare const _default: any;
36
+ declare const _default: import("@vue/runtime-core").DefineComponent<{
37
+ size: StringConstructor;
38
+ data: {
39
+ type: PropType<IButtonGroupNode[]>;
40
+ default: () => never[];
41
+ };
42
+ plain: BooleanConstructor;
43
+ modelValue: (StringConstructor | NumberConstructor)[];
44
+ disabled: BooleanConstructor;
45
+ valueField: {
46
+ type: StringConstructor;
47
+ default: string;
48
+ };
49
+ textField: {
50
+ type: StringConstructor;
51
+ default: string;
52
+ };
53
+ showMore: NumberConstructor;
54
+ showEdit: {
55
+ type: BooleanConstructor;
56
+ default: boolean;
57
+ };
58
+ border: {
59
+ type: BooleanConstructor;
60
+ default: boolean;
61
+ };
62
+ tiny_mode: StringConstructor;
63
+ tiny_mode_root: BooleanConstructor;
64
+ tiny_template: (ObjectConstructor | FunctionConstructor)[];
65
+ tiny_renderless: FunctionConstructor;
66
+ tiny_theme: StringConstructor;
67
+ tiny_chart_theme: ObjectConstructor;
68
+ }, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
69
+ [key: string]: any;
70
+ }>, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
71
+ size: StringConstructor;
72
+ data: {
73
+ type: PropType<IButtonGroupNode[]>;
74
+ default: () => never[];
75
+ };
76
+ plain: BooleanConstructor;
77
+ modelValue: (StringConstructor | NumberConstructor)[];
78
+ disabled: BooleanConstructor;
79
+ valueField: {
80
+ type: StringConstructor;
81
+ default: string;
82
+ };
83
+ textField: {
84
+ type: StringConstructor;
85
+ default: string;
86
+ };
87
+ showMore: NumberConstructor;
88
+ showEdit: {
89
+ type: BooleanConstructor;
90
+ default: boolean;
91
+ };
92
+ border: {
93
+ type: BooleanConstructor;
94
+ default: boolean;
95
+ };
96
+ tiny_mode: StringConstructor;
97
+ tiny_mode_root: BooleanConstructor;
98
+ tiny_template: (ObjectConstructor | FunctionConstructor)[];
99
+ tiny_renderless: FunctionConstructor;
100
+ tiny_theme: StringConstructor;
101
+ tiny_chart_theme: ObjectConstructor;
102
+ }>>, {
103
+ disabled: boolean;
104
+ data: IButtonGroupNode[];
105
+ tiny_mode_root: boolean;
106
+ border: boolean;
107
+ textField: string;
108
+ valueField: string;
109
+ plain: boolean;
110
+ showEdit: boolean;
111
+ }, {}>;
37
112
  export default _default;
package/src/pc.vue.d.ts CHANGED
@@ -1,2 +1,61 @@
1
- declare const _default: any;
1
+ import type { IButtonGroupApi } from '@opentinyvue/vue-renderless/types/button-group.type';
2
+ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
3
+ disabled?: any;
4
+ data?: any;
5
+ size?: any;
6
+ tiny_mode?: any;
7
+ tiny_mode_root?: any;
8
+ tiny_template?: any;
9
+ tiny_renderless?: any;
10
+ _constants?: any;
11
+ tiny_theme?: any;
12
+ tiny_chart_theme?: any;
13
+ modelValue?: any;
14
+ border?: any;
15
+ textField?: any;
16
+ valueField?: any;
17
+ plain?: any;
18
+ showMore?: any;
19
+ showEdit?: any;
20
+ }>, IButtonGroupApi, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("change" | "update:modelValue" | "edit")[], "change" | "update:modelValue" | "edit", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
21
+ disabled?: any;
22
+ data?: any;
23
+ size?: any;
24
+ tiny_mode?: any;
25
+ tiny_mode_root?: any;
26
+ tiny_template?: any;
27
+ tiny_renderless?: any;
28
+ _constants?: any;
29
+ tiny_theme?: any;
30
+ tiny_chart_theme?: any;
31
+ modelValue?: any;
32
+ border?: any;
33
+ textField?: any;
34
+ valueField?: any;
35
+ plain?: any;
36
+ showMore?: any;
37
+ showEdit?: any;
38
+ }>>> & {
39
+ onChange?: ((...args: any[]) => any) | undefined;
40
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
41
+ onEdit?: ((...args: any[]) => any) | undefined;
42
+ }, {
43
+ readonly disabled?: any;
44
+ readonly data?: any;
45
+ readonly size?: any;
46
+ readonly tiny_mode?: any;
47
+ readonly tiny_mode_root?: any;
48
+ readonly tiny_template?: any;
49
+ readonly tiny_renderless?: any;
50
+ readonly _constants?: any;
51
+ readonly tiny_theme?: any;
52
+ readonly tiny_chart_theme?: any;
53
+ readonly modelValue?: any;
54
+ readonly border?: any;
55
+ readonly textField?: any;
56
+ readonly valueField?: any;
57
+ readonly plain?: any;
58
+ readonly showMore?: any;
59
+ readonly showEdit?: any;
60
+ }, {}>;
2
61
  export default _default;