@opentinyvue/vue-button 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 +1 -1
- package/lib/mobile-first.js +64 -66
- package/lib/mobile.js +78 -68
- package/lib/pc.js +70 -73
- package/package.json +3 -3
- package/src/index.d.ts +184 -1
- package/src/mobile-first.vue.d.ts +75 -1
- package/src/mobile.vue.d.ts +63 -1
- package/src/pc.vue.d.ts +73 -1
package/lib/index.js
CHANGED
package/lib/mobile-first.js
CHANGED
|
@@ -1,36 +1,40 @@
|
|
|
1
1
|
import { renderless, api } from '@opentinyvue/vue-renderless/button/vue';
|
|
2
2
|
import { defineComponent, props, setup } from '@opentinyvue/vue-common';
|
|
3
3
|
import { iconLoading } from '@opentinyvue/vue-icon';
|
|
4
|
+
import { resolveComponent, openBlock, createElementBlock, mergeProps, createBlock, normalizeClass, createCommentVNode, resolveDynamicComponent, renderSlot, createElementVNode, toDisplayString } from 'vue';
|
|
4
5
|
|
|
5
|
-
function
|
|
6
|
-
var
|
|
7
|
-
if (
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
function _createForOfIteratorHelperLoose(r, e) {
|
|
7
|
+
var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
8
|
+
if (t) return (t = t.call(r)).next.bind(t);
|
|
9
|
+
if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) {
|
|
10
|
+
t && (r = t);
|
|
11
|
+
var o = 0;
|
|
12
|
+
return function() {
|
|
13
|
+
return o >= r.length ? { done: true } : { done: false, value: r[o++] };
|
|
14
|
+
};
|
|
11
15
|
}
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
var originalRender = options.render;
|
|
20
|
-
options.render = function renderWithStyleInjection(h, context) {
|
|
21
|
-
hook.call(context);
|
|
22
|
-
return originalRender(h, context);
|
|
23
|
-
};
|
|
24
|
-
} else {
|
|
25
|
-
var existing = options.beforeCreate;
|
|
26
|
-
options.beforeCreate = existing ? [].concat(existing, hook) : [hook];
|
|
27
|
-
}
|
|
16
|
+
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
17
|
+
}
|
|
18
|
+
function _unsupportedIterableToArray(r, a) {
|
|
19
|
+
if (r) {
|
|
20
|
+
if ("string" == typeof r) return _arrayLikeToArray(r, a);
|
|
21
|
+
var t = {}.toString.call(r).slice(8, -1);
|
|
22
|
+
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;
|
|
28
23
|
}
|
|
29
|
-
return {
|
|
30
|
-
exports: scriptExports,
|
|
31
|
-
options
|
|
32
|
-
};
|
|
33
24
|
}
|
|
25
|
+
function _arrayLikeToArray(r, a) {
|
|
26
|
+
(null == a || a > r.length) && (a = r.length);
|
|
27
|
+
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
|
28
|
+
return n;
|
|
29
|
+
}
|
|
30
|
+
var _export_sfc = function _export_sfc2(sfc, props) {
|
|
31
|
+
var target = sfc.__vccOpts || sfc;
|
|
32
|
+
for (var _iterator = _createForOfIteratorHelperLoose(props), _step; !(_step = _iterator()).done; ) {
|
|
33
|
+
var _step$value = _step.value, key = _step$value[0], val = _step$value[1];
|
|
34
|
+
target[key] = val;
|
|
35
|
+
}
|
|
36
|
+
return target;
|
|
37
|
+
};
|
|
34
38
|
|
|
35
39
|
var classes = {
|
|
36
40
|
"button": "inline-block text-center overflow-hidden overflow-ellipsis whitespace-nowrap transition-button duration-300 delay-[0ms] active:transition-all active:scale-[0.95] active:ease-[cubic-bezier(0.33,0,0.67,1)]",
|
|
@@ -79,7 +83,7 @@ var classes = {
|
|
|
79
83
|
"button-link": "text-color-link hover:text-color-link-hover active:color-link-hover active:hover:text-color-link-hover sm:hover:text-color-link-hover",
|
|
80
84
|
"button-banner": " w-[calc(100%-theme(spacing.8))] mx-4"
|
|
81
85
|
};
|
|
82
|
-
var
|
|
86
|
+
var _sfc_main = defineComponent({
|
|
83
87
|
emits: ["click"],
|
|
84
88
|
props: [].concat(props, ["type", "text", "size", "icon", "resetTime", "nativeType", "loading", "disabled", "plain", "autofocus", "round", "circle", "tabindex", "href", "customClass", "banner"]),
|
|
85
89
|
components: {
|
|
@@ -95,45 +99,39 @@ var __vue2_script = defineComponent({
|
|
|
95
99
|
});
|
|
96
100
|
}
|
|
97
101
|
});
|
|
98
|
-
var
|
|
99
|
-
|
|
100
|
-
var
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
}),
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
"
|
|
111
|
-
|
|
112
|
-
"
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
},
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
function __vue2_injectStyles(context) {
|
|
131
|
-
for (var o in __cssModules) {
|
|
132
|
-
this[o] = __cssModules[o];
|
|
133
|
-
}
|
|
102
|
+
var _hoisted_1 = ["disabled", "autofocus", "type", "tabindex"];
|
|
103
|
+
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
104
|
+
var _component_icon_loading = resolveComponent("icon-loading");
|
|
105
|
+
return openBlock(), createElementBlock("button", mergeProps({
|
|
106
|
+
"data-tag": "tiny-button",
|
|
107
|
+
onClick: _cache[0] || (_cache[0] = function() {
|
|
108
|
+
return _ctx.handleClick && _ctx.handleClick.apply(_ctx, arguments);
|
|
109
|
+
}),
|
|
110
|
+
disabled: _ctx.state.buttonDisabled || _ctx.loading,
|
|
111
|
+
autofocus: _ctx.autofocus,
|
|
112
|
+
type: _ctx.nativeType,
|
|
113
|
+
class: _ctx.m(_ctx.gcls("button"), _ctx.gcls(_ctx.banner ? "button-banner" : "button-base-width"), _ctx.gcls("size-" + (_ctx.size || "default")), _ctx.gcls("type-" + (_ctx.type || "default") + (_ctx.icon ? "-icon" : _ctx.state.plain ? "-plain" : "") + (_ctx.state.buttonDisabled ? "-disabled" : "")), _ctx.gcls(_ctx.state.round ? "is-round" : "no-round"), _ctx.gcls(_ctx.circle ? "is-circle" : "no-circle"), _ctx.gcls({
|
|
114
|
+
"is-border": _ctx.circle || !(_ctx.type === "text" || _ctx.icon)
|
|
115
|
+
}), _ctx.gcls({
|
|
116
|
+
"button-link": _ctx.href
|
|
117
|
+
}), _ctx.customClass),
|
|
118
|
+
tabindex: _ctx.tabindex
|
|
119
|
+
}, _ctx.a(_ctx.$attrs, ["class", "style", "id"], true)), [_ctx.loading ? (openBlock(), createBlock(_component_icon_loading, {
|
|
120
|
+
key: 0,
|
|
121
|
+
class: normalizeClass(_ctx.gcls("loading-svg"))
|
|
122
|
+
}, null, 8, ["class"])) : createCommentVNode("v-if", true), _ctx.icon && !_ctx.loading ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.icon), {
|
|
123
|
+
key: 1,
|
|
124
|
+
class: normalizeClass([_ctx.gcls("button-icon"), _ctx.gcls("button-icon-" + (_ctx.state.buttonDisabled ? "disabled" : "default"))])
|
|
125
|
+
}, null, 8, ["class"])) : createCommentVNode("v-if", true), renderSlot(_ctx.$slots, "default", {}, function() {
|
|
126
|
+
return [createElementVNode(
|
|
127
|
+
"span",
|
|
128
|
+
null,
|
|
129
|
+
toDisplayString(_ctx.text),
|
|
130
|
+
1
|
|
131
|
+
/* TEXT */
|
|
132
|
+
)];
|
|
133
|
+
})], 16, _hoisted_1);
|
|
134
134
|
}
|
|
135
|
-
var mobileFirst = /* @__PURE__ */
|
|
136
|
-
return __component__.exports;
|
|
137
|
-
}();
|
|
135
|
+
var mobileFirst = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
138
136
|
|
|
139
137
|
export { mobileFirst as default };
|
package/lib/mobile.js
CHANGED
|
@@ -1,38 +1,42 @@
|
|
|
1
1
|
import { renderless, api } from '@opentinyvue/vue-renderless/button/vue';
|
|
2
2
|
import { defineComponent, props, setup } from '@opentinyvue/vue-common';
|
|
3
3
|
import '@opentinyvue/vue-theme-mobile/button/index.css';
|
|
4
|
+
import { openBlock, createElementBlock, mergeProps, normalizeClass, createCommentVNode, createBlock, resolveDynamicComponent, renderSlot, createElementVNode, normalizeStyle, toDisplayString } from 'vue';
|
|
4
5
|
|
|
5
|
-
function
|
|
6
|
-
var
|
|
7
|
-
if (
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
function _createForOfIteratorHelperLoose(r, e) {
|
|
7
|
+
var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
8
|
+
if (t) return (t = t.call(r)).next.bind(t);
|
|
9
|
+
if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) {
|
|
10
|
+
t && (r = t);
|
|
11
|
+
var o = 0;
|
|
12
|
+
return function() {
|
|
13
|
+
return o >= r.length ? { done: true } : { done: false, value: r[o++] };
|
|
14
|
+
};
|
|
11
15
|
}
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
var originalRender = options.render;
|
|
20
|
-
options.render = function renderWithStyleInjection(h, context) {
|
|
21
|
-
hook.call(context);
|
|
22
|
-
return originalRender(h, context);
|
|
23
|
-
};
|
|
24
|
-
} else {
|
|
25
|
-
var existing = options.beforeCreate;
|
|
26
|
-
options.beforeCreate = existing ? [].concat(existing, hook) : [hook];
|
|
27
|
-
}
|
|
16
|
+
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
17
|
+
}
|
|
18
|
+
function _unsupportedIterableToArray(r, a) {
|
|
19
|
+
if (r) {
|
|
20
|
+
if ("string" == typeof r) return _arrayLikeToArray(r, a);
|
|
21
|
+
var t = {}.toString.call(r).slice(8, -1);
|
|
22
|
+
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;
|
|
28
23
|
}
|
|
29
|
-
return {
|
|
30
|
-
exports: scriptExports,
|
|
31
|
-
options
|
|
32
|
-
};
|
|
33
24
|
}
|
|
25
|
+
function _arrayLikeToArray(r, a) {
|
|
26
|
+
(null == a || a > r.length) && (a = r.length);
|
|
27
|
+
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
|
28
|
+
return n;
|
|
29
|
+
}
|
|
30
|
+
var _export_sfc = function _export_sfc2(sfc, props) {
|
|
31
|
+
var target = sfc.__vccOpts || sfc;
|
|
32
|
+
for (var _iterator = _createForOfIteratorHelperLoose(props), _step; !(_step = _iterator()).done; ) {
|
|
33
|
+
var _step$value = _step.value, key = _step$value[0], val = _step$value[1];
|
|
34
|
+
target[key] = val;
|
|
35
|
+
}
|
|
36
|
+
return target;
|
|
37
|
+
};
|
|
34
38
|
|
|
35
|
-
var
|
|
39
|
+
var _sfc_main = defineComponent({
|
|
36
40
|
emits: ["click"],
|
|
37
41
|
props: [].concat(props, ["type", "text", "size", "icon", "resetTime", "nativeType", "loading", "disabled", "customClass"]),
|
|
38
42
|
components: {},
|
|
@@ -45,48 +49,54 @@ var __vue2_script = defineComponent({
|
|
|
45
49
|
});
|
|
46
50
|
}
|
|
47
51
|
});
|
|
48
|
-
var
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
52
|
+
var _hoisted_1 = ["disabled", "type"];
|
|
53
|
+
var _hoisted_2 = /* @__PURE__ */ createElementVNode(
|
|
54
|
+
"div",
|
|
55
|
+
{
|
|
56
|
+
class: "tiny-mobile-button-loading-inner"
|
|
57
|
+
},
|
|
58
|
+
null,
|
|
59
|
+
-1
|
|
60
|
+
/* HOISTED */
|
|
61
|
+
);
|
|
62
|
+
var _hoisted_3 = [_hoisted_2];
|
|
63
|
+
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
64
|
+
return openBlock(), createElementBlock("button", mergeProps({
|
|
65
|
+
class: ["tiny-mobile-button", [_ctx.type ? "tiny-mobile-button--" + _ctx.type : "", _ctx.size ? "tiny-mobile-button--" + _ctx.size : "", {
|
|
66
|
+
"is-disabled": _ctx.state.buttonDisabled,
|
|
67
|
+
"is-loading": _ctx.loading
|
|
68
|
+
}]],
|
|
69
|
+
onClick: _cache[0] || (_cache[0] = function() {
|
|
70
|
+
return _ctx.handleClick && _ctx.handleClick.apply(_ctx, arguments);
|
|
71
|
+
}),
|
|
72
|
+
disabled: _ctx.state.buttonDisabled || _ctx.loading,
|
|
73
|
+
type: _ctx.nativeType
|
|
74
|
+
}, _ctx.a(_ctx.$attrs, ["class", "style"], true)), [_ctx.loading ? (openBlock(), createElementBlock(
|
|
75
|
+
"div",
|
|
76
|
+
{
|
|
77
|
+
key: 0,
|
|
78
|
+
class: normalizeClass(["tiny-mobile-button-loading", "tiny-mobile-button-loading-" + (_ctx.type === "primary" ? "white" : "black")])
|
|
61
79
|
},
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
var __cssModules = {};
|
|
82
|
-
var __component__ = /* @__PURE__ */ normalizeComponent(__vue2_script, render, staticRenderFns, false, __vue2_injectStyles);
|
|
83
|
-
function __vue2_injectStyles(context) {
|
|
84
|
-
for (var o in __cssModules) {
|
|
85
|
-
this[o] = __cssModules[o];
|
|
86
|
-
}
|
|
80
|
+
_hoisted_3,
|
|
81
|
+
2
|
|
82
|
+
/* CLASS */
|
|
83
|
+
)) : createCommentVNode("v-if", true), _ctx.icon && !_ctx.loading ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.icon), {
|
|
84
|
+
key: 1,
|
|
85
|
+
class: normalizeClass(["tiny-icon", "is-icon", _ctx.text ? "small" : null])
|
|
86
|
+
}, null, 8, ["class"])) : createCommentVNode("v-if", true), renderSlot(_ctx.$slots, "default", {}, function() {
|
|
87
|
+
return [createElementVNode(
|
|
88
|
+
"span",
|
|
89
|
+
{
|
|
90
|
+
style: normalizeStyle({
|
|
91
|
+
marginLeft: _ctx.text && (_ctx.icon || _ctx.loading) ? "4px" : 0
|
|
92
|
+
})
|
|
93
|
+
},
|
|
94
|
+
toDisplayString(_ctx.text),
|
|
95
|
+
5
|
|
96
|
+
/* TEXT, STYLE */
|
|
97
|
+
)];
|
|
98
|
+
})], 16, _hoisted_1);
|
|
87
99
|
}
|
|
88
|
-
var mobile = /* @__PURE__ */
|
|
89
|
-
return __component__.exports;
|
|
90
|
-
}();
|
|
100
|
+
var mobile = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
91
101
|
|
|
92
102
|
export { mobile as default };
|
package/lib/pc.js
CHANGED
|
@@ -2,38 +2,42 @@ import { renderless, api } from '@opentinyvue/vue-renderless/button/vue';
|
|
|
2
2
|
import { defineComponent, props, setup } from '@opentinyvue/vue-common';
|
|
3
3
|
import { iconLoadingShadow } from '@opentinyvue/vue-icon';
|
|
4
4
|
import '@opentinyvue/vue-theme/button/index.css';
|
|
5
|
+
import { resolveComponent, openBlock, createElementBlock, mergeProps, createBlock, createCommentVNode, resolveDynamicComponent, normalizeClass, renderSlot, createElementVNode, toDisplayString } from 'vue';
|
|
5
6
|
|
|
6
|
-
function
|
|
7
|
-
var
|
|
8
|
-
if (
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
7
|
+
function _createForOfIteratorHelperLoose(r, e) {
|
|
8
|
+
var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
9
|
+
if (t) return (t = t.call(r)).next.bind(t);
|
|
10
|
+
if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) {
|
|
11
|
+
t && (r = t);
|
|
12
|
+
var o = 0;
|
|
13
|
+
return function() {
|
|
14
|
+
return o >= r.length ? { done: true } : { done: false, value: r[o++] };
|
|
15
|
+
};
|
|
12
16
|
}
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
var originalRender = options.render;
|
|
21
|
-
options.render = function renderWithStyleInjection(h, context) {
|
|
22
|
-
hook.call(context);
|
|
23
|
-
return originalRender(h, context);
|
|
24
|
-
};
|
|
25
|
-
} else {
|
|
26
|
-
var existing = options.beforeCreate;
|
|
27
|
-
options.beforeCreate = existing ? [].concat(existing, hook) : [hook];
|
|
28
|
-
}
|
|
17
|
+
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
18
|
+
}
|
|
19
|
+
function _unsupportedIterableToArray(r, a) {
|
|
20
|
+
if (r) {
|
|
21
|
+
if ("string" == typeof r) return _arrayLikeToArray(r, a);
|
|
22
|
+
var t = {}.toString.call(r).slice(8, -1);
|
|
23
|
+
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;
|
|
29
24
|
}
|
|
30
|
-
return {
|
|
31
|
-
exports: scriptExports,
|
|
32
|
-
options
|
|
33
|
-
};
|
|
34
25
|
}
|
|
26
|
+
function _arrayLikeToArray(r, a) {
|
|
27
|
+
(null == a || a > r.length) && (a = r.length);
|
|
28
|
+
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
|
29
|
+
return n;
|
|
30
|
+
}
|
|
31
|
+
var _export_sfc = function _export_sfc2(sfc, props) {
|
|
32
|
+
var target = sfc.__vccOpts || sfc;
|
|
33
|
+
for (var _iterator = _createForOfIteratorHelperLoose(props), _step; !(_step = _iterator()).done; ) {
|
|
34
|
+
var _step$value = _step.value, key = _step$value[0], val = _step$value[1];
|
|
35
|
+
target[key] = val;
|
|
36
|
+
}
|
|
37
|
+
return target;
|
|
38
|
+
};
|
|
35
39
|
|
|
36
|
-
var
|
|
40
|
+
var _sfc_main = defineComponent({
|
|
37
41
|
emits: ["click"],
|
|
38
42
|
props: [].concat(props, ["type", "text", "size", "icon", "resetTime", "nativeType", "loading", "disabled", "plain", "autofocus", "round", "circle", "tabindex", "customClass", "ghost"]),
|
|
39
43
|
components: {
|
|
@@ -48,52 +52,45 @@ var __vue2_script = defineComponent({
|
|
|
48
52
|
});
|
|
49
53
|
}
|
|
50
54
|
});
|
|
51
|
-
var
|
|
52
|
-
|
|
53
|
-
var
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
"is-
|
|
59
|
-
"is-
|
|
60
|
-
"is-
|
|
61
|
-
"is-
|
|
62
|
-
"is-
|
|
63
|
-
"is-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
var __component__ = /* @__PURE__ */ normalizeComponent(__vue2_script, render, staticRenderFns, false, __vue2_injectStyles);
|
|
90
|
-
function __vue2_injectStyles(context) {
|
|
91
|
-
for (var o in __cssModules) {
|
|
92
|
-
this[o] = __cssModules[o];
|
|
93
|
-
}
|
|
55
|
+
var _hoisted_1 = ["disabled", "autofocus", "type", "tabindex"];
|
|
56
|
+
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
57
|
+
var _component_icon_loading = resolveComponent("icon-loading");
|
|
58
|
+
return openBlock(), createElementBlock("button", mergeProps({
|
|
59
|
+
class: ["tiny-button", [_ctx.type ? "tiny-button--" + _ctx.type : "", _ctx.size ? "tiny-button--" + _ctx.size : "", {
|
|
60
|
+
"is-disabled": _ctx.state.buttonDisabled,
|
|
61
|
+
"is-loading": _ctx.loading,
|
|
62
|
+
"is-plain": _ctx.state.plain,
|
|
63
|
+
"is-ghost": _ctx.ghost,
|
|
64
|
+
"is-round": _ctx.state.round,
|
|
65
|
+
"is-circle": _ctx.circle,
|
|
66
|
+
"is-icon": _ctx.icon && !_ctx.loading && (_ctx.text || _ctx.slots.default),
|
|
67
|
+
"is-only-icon": _ctx.icon && !_ctx.loading && !(_ctx.text || _ctx.slots.default)
|
|
68
|
+
}]],
|
|
69
|
+
onClick: _cache[0] || (_cache[0] = function() {
|
|
70
|
+
return _ctx.handleClick && _ctx.handleClick.apply(_ctx, arguments);
|
|
71
|
+
}),
|
|
72
|
+
disabled: _ctx.state.buttonDisabled || _ctx.loading,
|
|
73
|
+
autofocus: _ctx.autofocus,
|
|
74
|
+
type: _ctx.nativeType,
|
|
75
|
+
tabindex: _ctx.tabindex
|
|
76
|
+
}, _ctx.a(_ctx.$attrs, ["class", "style", "title", "id"], true)), [_ctx.loading ? (openBlock(), createBlock(_component_icon_loading, {
|
|
77
|
+
key: 0,
|
|
78
|
+
class: "tiny-icon-loading tiny-svg-size"
|
|
79
|
+
})) : createCommentVNode("v-if", true), _ctx.icon && !_ctx.loading ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.icon), {
|
|
80
|
+
key: 1,
|
|
81
|
+
class: normalizeClass({
|
|
82
|
+
"is-text": _ctx.text || _ctx.slots.default
|
|
83
|
+
})
|
|
84
|
+
}, null, 8, ["class"])) : createCommentVNode("v-if", true), renderSlot(_ctx.$slots, "default", {}, function() {
|
|
85
|
+
return [createElementVNode(
|
|
86
|
+
"span",
|
|
87
|
+
null,
|
|
88
|
+
toDisplayString(_ctx.text),
|
|
89
|
+
1
|
|
90
|
+
/* TEXT */
|
|
91
|
+
)];
|
|
92
|
+
})], 16, _hoisted_1);
|
|
94
93
|
}
|
|
95
|
-
var pc = /* @__PURE__ */
|
|
96
|
-
return __component__.exports;
|
|
97
|
-
}();
|
|
94
|
+
var pc = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
98
95
|
|
|
99
96
|
export { pc as default };
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentinyvue/vue-button",
|
|
3
|
-
"version": "
|
|
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": "~
|
|
11
|
-
"@opentinyvue/vue-icon": "~
|
|
10
|
+
"@opentinyvue/vue-common": "~3.21.0",
|
|
11
|
+
"@opentinyvue/vue-icon": "~3.21.0",
|
|
12
12
|
"@opentinyvue/vue-renderless": "~3.21.0",
|
|
13
13
|
"@opentinyvue/vue-theme-mobile": "~3.21.0",
|
|
14
14
|
"@opentinyvue/vue-theme": "~3.21.0"
|
package/src/index.d.ts
CHANGED
|
@@ -78,5 +78,188 @@ export declare const buttonProps: {
|
|
|
78
78
|
tiny_theme: StringConstructor;
|
|
79
79
|
tiny_chart_theme: ObjectConstructor;
|
|
80
80
|
};
|
|
81
|
-
declare const _default:
|
|
81
|
+
declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
82
|
+
/** 展示按钮不同的状态,设置为text则展示为文本按钮。可取值为:'default' | 'primary' | 'success' | 'warning' | 'danger' | 'info' | 'text' */
|
|
83
|
+
type: {
|
|
84
|
+
type: StringConstructor;
|
|
85
|
+
default: string;
|
|
86
|
+
};
|
|
87
|
+
/** 设置原生的tabindex属性 */
|
|
88
|
+
tabindex: {
|
|
89
|
+
type: StringConstructor;
|
|
90
|
+
default: string;
|
|
91
|
+
};
|
|
92
|
+
/** 按钮左侧展示的图标,接收为Icon组件 */
|
|
93
|
+
icon: {
|
|
94
|
+
type: (StringConstructor | ObjectConstructor)[];
|
|
95
|
+
default: string;
|
|
96
|
+
};
|
|
97
|
+
/** 按钮显示的文本 */
|
|
98
|
+
text: {
|
|
99
|
+
type: StringConstructor;
|
|
100
|
+
default: string;
|
|
101
|
+
};
|
|
102
|
+
/** 设置按钮禁用时间,防止重复提交,单位毫秒 */
|
|
103
|
+
resetTime: {
|
|
104
|
+
type: NumberConstructor;
|
|
105
|
+
default: number;
|
|
106
|
+
};
|
|
107
|
+
/** 对应按钮原生 type 属性 */
|
|
108
|
+
nativeType: {
|
|
109
|
+
type: StringConstructor;
|
|
110
|
+
default: string;
|
|
111
|
+
};
|
|
112
|
+
/** 当配置href后,点击按钮则更新 location.href 进行页面跳转 */
|
|
113
|
+
href: {
|
|
114
|
+
type: StringConstructor;
|
|
115
|
+
default: string;
|
|
116
|
+
};
|
|
117
|
+
/** 定义按钮尺寸 */
|
|
118
|
+
size: {
|
|
119
|
+
type: StringConstructor;
|
|
120
|
+
default: string;
|
|
121
|
+
validator(val: string): boolean;
|
|
122
|
+
};
|
|
123
|
+
/** 是否圆角按钮 */
|
|
124
|
+
round: {
|
|
125
|
+
type: BooleanConstructor;
|
|
126
|
+
default: undefined;
|
|
127
|
+
};
|
|
128
|
+
/** 是否朴素按钮 */
|
|
129
|
+
plain: BooleanConstructor;
|
|
130
|
+
/** 是否圆形按钮 */
|
|
131
|
+
circle: BooleanConstructor;
|
|
132
|
+
/** 是否加载中状态 */
|
|
133
|
+
loading: BooleanConstructor;
|
|
134
|
+
/** 是否被禁用按钮 */
|
|
135
|
+
disabled: BooleanConstructor;
|
|
136
|
+
/** 是否默认聚焦 */
|
|
137
|
+
autofocus: BooleanConstructor;
|
|
138
|
+
/** 自定义类名, 仅 mobile-first 模板时有效 */
|
|
139
|
+
customClass: {
|
|
140
|
+
type: StringConstructor;
|
|
141
|
+
default: string;
|
|
142
|
+
};
|
|
143
|
+
/** 设置通栏按钮,宽度充满水平方向, 仅 mobile-first 模板时有效 */
|
|
144
|
+
banner: {
|
|
145
|
+
type: BooleanConstructor;
|
|
146
|
+
default: boolean;
|
|
147
|
+
};
|
|
148
|
+
/** 是否幽灵按钮 */
|
|
149
|
+
ghost: BooleanConstructor;
|
|
150
|
+
/** 点击事件 */
|
|
151
|
+
onClick: {
|
|
152
|
+
type: PropType<(ev: MouseEvent) => void>;
|
|
153
|
+
};
|
|
154
|
+
tiny_mode: StringConstructor;
|
|
155
|
+
tiny_mode_root: BooleanConstructor;
|
|
156
|
+
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
157
|
+
tiny_renderless: FunctionConstructor; /** 是否圆形按钮 */
|
|
158
|
+
tiny_theme: StringConstructor;
|
|
159
|
+
tiny_chart_theme: ObjectConstructor;
|
|
160
|
+
}, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
|
|
161
|
+
[key: string]: any;
|
|
162
|
+
}>, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
|
|
163
|
+
/** 展示按钮不同的状态,设置为text则展示为文本按钮。可取值为:'default' | 'primary' | 'success' | 'warning' | 'danger' | 'info' | 'text' */
|
|
164
|
+
type: {
|
|
165
|
+
type: StringConstructor;
|
|
166
|
+
default: string;
|
|
167
|
+
};
|
|
168
|
+
/** 设置原生的tabindex属性 */
|
|
169
|
+
tabindex: {
|
|
170
|
+
type: StringConstructor;
|
|
171
|
+
default: string;
|
|
172
|
+
};
|
|
173
|
+
/** 按钮左侧展示的图标,接收为Icon组件 */
|
|
174
|
+
icon: {
|
|
175
|
+
type: (StringConstructor | ObjectConstructor)[];
|
|
176
|
+
default: string;
|
|
177
|
+
};
|
|
178
|
+
/** 按钮显示的文本 */
|
|
179
|
+
text: {
|
|
180
|
+
type: StringConstructor;
|
|
181
|
+
default: string;
|
|
182
|
+
};
|
|
183
|
+
/** 设置按钮禁用时间,防止重复提交,单位毫秒 */
|
|
184
|
+
resetTime: {
|
|
185
|
+
type: NumberConstructor;
|
|
186
|
+
default: number;
|
|
187
|
+
};
|
|
188
|
+
/** 对应按钮原生 type 属性 */
|
|
189
|
+
nativeType: {
|
|
190
|
+
type: StringConstructor;
|
|
191
|
+
default: string;
|
|
192
|
+
};
|
|
193
|
+
/** 当配置href后,点击按钮则更新 location.href 进行页面跳转 */
|
|
194
|
+
href: {
|
|
195
|
+
type: StringConstructor;
|
|
196
|
+
default: string;
|
|
197
|
+
};
|
|
198
|
+
/** 定义按钮尺寸 */
|
|
199
|
+
size: {
|
|
200
|
+
type: StringConstructor;
|
|
201
|
+
default: string;
|
|
202
|
+
validator(val: string): boolean;
|
|
203
|
+
};
|
|
204
|
+
/** 是否圆角按钮 */
|
|
205
|
+
round: {
|
|
206
|
+
type: BooleanConstructor;
|
|
207
|
+
default: undefined;
|
|
208
|
+
};
|
|
209
|
+
/** 是否朴素按钮 */
|
|
210
|
+
plain: BooleanConstructor;
|
|
211
|
+
/** 是否圆形按钮 */
|
|
212
|
+
circle: BooleanConstructor;
|
|
213
|
+
/** 是否加载中状态 */
|
|
214
|
+
loading: BooleanConstructor;
|
|
215
|
+
/** 是否被禁用按钮 */
|
|
216
|
+
disabled: BooleanConstructor;
|
|
217
|
+
/** 是否默认聚焦 */
|
|
218
|
+
autofocus: BooleanConstructor;
|
|
219
|
+
/** 自定义类名, 仅 mobile-first 模板时有效 */
|
|
220
|
+
customClass: {
|
|
221
|
+
type: StringConstructor;
|
|
222
|
+
default: string;
|
|
223
|
+
};
|
|
224
|
+
/** 设置通栏按钮,宽度充满水平方向, 仅 mobile-first 模板时有效 */
|
|
225
|
+
banner: {
|
|
226
|
+
type: BooleanConstructor;
|
|
227
|
+
default: boolean;
|
|
228
|
+
};
|
|
229
|
+
/** 是否幽灵按钮 */
|
|
230
|
+
ghost: BooleanConstructor;
|
|
231
|
+
/** 点击事件 */
|
|
232
|
+
onClick: {
|
|
233
|
+
type: PropType<(ev: MouseEvent) => void>;
|
|
234
|
+
};
|
|
235
|
+
tiny_mode: StringConstructor;
|
|
236
|
+
tiny_mode_root: BooleanConstructor;
|
|
237
|
+
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
238
|
+
tiny_renderless: FunctionConstructor; /** 是否圆形按钮 */
|
|
239
|
+
tiny_theme: StringConstructor;
|
|
240
|
+
tiny_chart_theme: ObjectConstructor;
|
|
241
|
+
}>>, {
|
|
242
|
+
disabled: boolean;
|
|
243
|
+
icon: string | Record<string, any>;
|
|
244
|
+
text: string;
|
|
245
|
+
type: string;
|
|
246
|
+
onClick: any;
|
|
247
|
+
size: string;
|
|
248
|
+
tiny_mode_root: boolean;
|
|
249
|
+
tabindex: string;
|
|
250
|
+
round: boolean;
|
|
251
|
+
circle: boolean;
|
|
252
|
+
resetTime: number;
|
|
253
|
+
nativeType: string;
|
|
254
|
+
href: string;
|
|
255
|
+
plain: boolean;
|
|
256
|
+
loading: boolean;
|
|
257
|
+
autofocus: boolean;
|
|
258
|
+
customClass: string;
|
|
259
|
+
banner: boolean;
|
|
260
|
+
ghost: boolean;
|
|
261
|
+
}, SlotsType<{
|
|
262
|
+
/** 默认插槽 */
|
|
263
|
+
default: {};
|
|
264
|
+
}>>;
|
|
82
265
|
export default _default;
|
|
@@ -1,2 +1,76 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
2
|
+
disabled?: any;
|
|
3
|
+
icon?: any;
|
|
4
|
+
text?: any;
|
|
5
|
+
type?: any;
|
|
6
|
+
size?: any;
|
|
7
|
+
tiny_mode?: any;
|
|
8
|
+
tiny_mode_root?: any;
|
|
9
|
+
tiny_template?: any;
|
|
10
|
+
tiny_renderless?: any;
|
|
11
|
+
_constants?: any;
|
|
12
|
+
tiny_theme?: any;
|
|
13
|
+
tiny_chart_theme?: any;
|
|
14
|
+
tabindex?: any;
|
|
15
|
+
round?: any;
|
|
16
|
+
circle?: any;
|
|
17
|
+
resetTime?: any;
|
|
18
|
+
nativeType?: any;
|
|
19
|
+
href?: any;
|
|
20
|
+
plain?: any;
|
|
21
|
+
loading?: any;
|
|
22
|
+
autofocus?: any;
|
|
23
|
+
customClass?: any;
|
|
24
|
+
banner?: any;
|
|
25
|
+
}>, any, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, "click"[], "click", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
|
|
26
|
+
disabled?: any;
|
|
27
|
+
icon?: any;
|
|
28
|
+
text?: any;
|
|
29
|
+
type?: any;
|
|
30
|
+
size?: any;
|
|
31
|
+
tiny_mode?: any;
|
|
32
|
+
tiny_mode_root?: any;
|
|
33
|
+
tiny_template?: any;
|
|
34
|
+
tiny_renderless?: any;
|
|
35
|
+
_constants?: any;
|
|
36
|
+
tiny_theme?: any;
|
|
37
|
+
tiny_chart_theme?: any;
|
|
38
|
+
tabindex?: any;
|
|
39
|
+
round?: any;
|
|
40
|
+
circle?: any;
|
|
41
|
+
resetTime?: any;
|
|
42
|
+
nativeType?: any;
|
|
43
|
+
href?: any;
|
|
44
|
+
plain?: any;
|
|
45
|
+
loading?: any;
|
|
46
|
+
autofocus?: any;
|
|
47
|
+
customClass?: any;
|
|
48
|
+
banner?: any;
|
|
49
|
+
}>>> & {
|
|
50
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
51
|
+
}, {
|
|
52
|
+
readonly disabled?: any;
|
|
53
|
+
readonly icon?: any;
|
|
54
|
+
readonly text?: any;
|
|
55
|
+
readonly type?: any;
|
|
56
|
+
readonly size?: any;
|
|
57
|
+
readonly tiny_mode?: any;
|
|
58
|
+
readonly tiny_mode_root?: any;
|
|
59
|
+
readonly tiny_template?: any;
|
|
60
|
+
readonly tiny_renderless?: any;
|
|
61
|
+
readonly _constants?: any;
|
|
62
|
+
readonly tiny_theme?: any;
|
|
63
|
+
readonly tiny_chart_theme?: any;
|
|
64
|
+
readonly tabindex?: any;
|
|
65
|
+
readonly round?: any;
|
|
66
|
+
readonly circle?: any;
|
|
67
|
+
readonly resetTime?: any;
|
|
68
|
+
readonly nativeType?: any;
|
|
69
|
+
readonly href?: any;
|
|
70
|
+
readonly plain?: any;
|
|
71
|
+
readonly loading?: any;
|
|
72
|
+
readonly autofocus?: any;
|
|
73
|
+
readonly customClass?: any;
|
|
74
|
+
readonly banner?: any;
|
|
75
|
+
}, {}>;
|
|
2
76
|
export default _default;
|
package/src/mobile.vue.d.ts
CHANGED
|
@@ -1,2 +1,64 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
2
|
+
disabled?: any;
|
|
3
|
+
icon?: any;
|
|
4
|
+
text?: any;
|
|
5
|
+
type?: any;
|
|
6
|
+
size?: any;
|
|
7
|
+
tiny_mode?: any;
|
|
8
|
+
tiny_mode_root?: any;
|
|
9
|
+
tiny_template?: any;
|
|
10
|
+
tiny_renderless?: any;
|
|
11
|
+
_constants?: any;
|
|
12
|
+
tiny_theme?: any;
|
|
13
|
+
tiny_chart_theme?: any;
|
|
14
|
+
resetTime?: any;
|
|
15
|
+
nativeType?: any;
|
|
16
|
+
loading?: any;
|
|
17
|
+
customClass?: any;
|
|
18
|
+
}>, {
|
|
19
|
+
t: (this: any, path: any, options?: any) => any;
|
|
20
|
+
vm: any;
|
|
21
|
+
f: (props: any, attrs?: {}) => {};
|
|
22
|
+
a: (attrs: any, filters: any, include: any) => {};
|
|
23
|
+
d: (props: any) => void;
|
|
24
|
+
dp: (props: any) => void;
|
|
25
|
+
gcls: (key: any) => any;
|
|
26
|
+
m: (...cssClasses: any[]) => string;
|
|
27
|
+
}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, "click"[], "click", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
|
|
28
|
+
disabled?: any;
|
|
29
|
+
icon?: any;
|
|
30
|
+
text?: any;
|
|
31
|
+
type?: any;
|
|
32
|
+
size?: any;
|
|
33
|
+
tiny_mode?: any;
|
|
34
|
+
tiny_mode_root?: any;
|
|
35
|
+
tiny_template?: any;
|
|
36
|
+
tiny_renderless?: any;
|
|
37
|
+
_constants?: any;
|
|
38
|
+
tiny_theme?: any;
|
|
39
|
+
tiny_chart_theme?: any;
|
|
40
|
+
resetTime?: any;
|
|
41
|
+
nativeType?: any;
|
|
42
|
+
loading?: any;
|
|
43
|
+
customClass?: any;
|
|
44
|
+
}>>> & {
|
|
45
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
46
|
+
}, {
|
|
47
|
+
readonly disabled?: any;
|
|
48
|
+
readonly icon?: any;
|
|
49
|
+
readonly text?: any;
|
|
50
|
+
readonly type?: any;
|
|
51
|
+
readonly size?: any;
|
|
52
|
+
readonly tiny_mode?: any;
|
|
53
|
+
readonly tiny_mode_root?: any;
|
|
54
|
+
readonly tiny_template?: any;
|
|
55
|
+
readonly tiny_renderless?: any;
|
|
56
|
+
readonly _constants?: any;
|
|
57
|
+
readonly tiny_theme?: any;
|
|
58
|
+
readonly tiny_chart_theme?: any;
|
|
59
|
+
readonly resetTime?: any;
|
|
60
|
+
readonly nativeType?: any;
|
|
61
|
+
readonly loading?: any;
|
|
62
|
+
readonly customClass?: any;
|
|
63
|
+
}, {}>;
|
|
2
64
|
export default _default;
|
package/src/pc.vue.d.ts
CHANGED
|
@@ -1,2 +1,74 @@
|
|
|
1
|
-
|
|
1
|
+
import type { IButtonApi } from '@opentinyvue/vue-renderless/types/button.type';
|
|
2
|
+
declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
3
|
+
disabled?: any;
|
|
4
|
+
icon?: any;
|
|
5
|
+
text?: any;
|
|
6
|
+
type?: any;
|
|
7
|
+
size?: any;
|
|
8
|
+
tiny_mode?: any;
|
|
9
|
+
tiny_mode_root?: any;
|
|
10
|
+
tiny_template?: any;
|
|
11
|
+
tiny_renderless?: any;
|
|
12
|
+
_constants?: any;
|
|
13
|
+
tiny_theme?: any;
|
|
14
|
+
tiny_chart_theme?: any;
|
|
15
|
+
tabindex?: any;
|
|
16
|
+
round?: any;
|
|
17
|
+
circle?: any;
|
|
18
|
+
resetTime?: any;
|
|
19
|
+
nativeType?: any;
|
|
20
|
+
plain?: any;
|
|
21
|
+
loading?: any;
|
|
22
|
+
autofocus?: any;
|
|
23
|
+
customClass?: any;
|
|
24
|
+
ghost?: any;
|
|
25
|
+
}>, IButtonApi, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, "click"[], "click", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
|
|
26
|
+
disabled?: any;
|
|
27
|
+
icon?: any;
|
|
28
|
+
text?: any;
|
|
29
|
+
type?: any;
|
|
30
|
+
size?: any;
|
|
31
|
+
tiny_mode?: any;
|
|
32
|
+
tiny_mode_root?: any;
|
|
33
|
+
tiny_template?: any;
|
|
34
|
+
tiny_renderless?: any;
|
|
35
|
+
_constants?: any;
|
|
36
|
+
tiny_theme?: any;
|
|
37
|
+
tiny_chart_theme?: any;
|
|
38
|
+
tabindex?: any;
|
|
39
|
+
round?: any;
|
|
40
|
+
circle?: any;
|
|
41
|
+
resetTime?: any;
|
|
42
|
+
nativeType?: any;
|
|
43
|
+
plain?: any;
|
|
44
|
+
loading?: any;
|
|
45
|
+
autofocus?: any;
|
|
46
|
+
customClass?: any;
|
|
47
|
+
ghost?: any;
|
|
48
|
+
}>>> & {
|
|
49
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
50
|
+
}, {
|
|
51
|
+
readonly disabled?: any;
|
|
52
|
+
readonly icon?: any;
|
|
53
|
+
readonly text?: any;
|
|
54
|
+
readonly type?: any;
|
|
55
|
+
readonly size?: any;
|
|
56
|
+
readonly tiny_mode?: any;
|
|
57
|
+
readonly tiny_mode_root?: any;
|
|
58
|
+
readonly tiny_template?: any;
|
|
59
|
+
readonly tiny_renderless?: any;
|
|
60
|
+
readonly _constants?: any;
|
|
61
|
+
readonly tiny_theme?: any;
|
|
62
|
+
readonly tiny_chart_theme?: any;
|
|
63
|
+
readonly tabindex?: any;
|
|
64
|
+
readonly round?: any;
|
|
65
|
+
readonly circle?: any;
|
|
66
|
+
readonly resetTime?: any;
|
|
67
|
+
readonly nativeType?: any;
|
|
68
|
+
readonly plain?: any;
|
|
69
|
+
readonly loading?: any;
|
|
70
|
+
readonly autofocus?: any;
|
|
71
|
+
readonly customClass?: any;
|
|
72
|
+
readonly ghost?: any;
|
|
73
|
+
}, {}>;
|
|
2
74
|
export default _default;
|