@opentinyvue/vue-checkbox-group 2.22.0 → 3.22.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 +87 -60
- package/lib/pc.js +85 -59
- package/package.json +4 -4
- package/src/index.d.ts +95 -1
- package/src/mobile-first.vue.d.ts +67 -1
- package/src/pc.vue.d.ts +70 -1
package/lib/index.js
CHANGED
package/lib/mobile-first.js
CHANGED
|
@@ -2,38 +2,42 @@ import { renderless, api } from '@opentinyvue/vue-renderless/checkbox-group/vue'
|
|
|
2
2
|
import { defineComponent, props, setup } from '@opentinyvue/vue-common';
|
|
3
3
|
import Checkbox from '@opentinyvue/vue-checkbox';
|
|
4
4
|
import CheckboxButton from '@opentinyvue/vue-checkbox-button';
|
|
5
|
+
import { resolveComponent, openBlock, createElementBlock, normalizeClass, renderSlot, Fragment, renderList, createBlock, mergeProps, createCommentVNode } 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
|
components: {
|
|
38
42
|
Checkbox,
|
|
39
43
|
CheckboxButton
|
|
@@ -49,41 +53,64 @@ var __vue2_script = defineComponent({
|
|
|
49
53
|
});
|
|
50
54
|
}
|
|
51
55
|
});
|
|
52
|
-
|
|
53
|
-
var
|
|
54
|
-
var
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
"sm:flex-row": !_vm.vertical
|
|
59
|
-
}],
|
|
60
|
-
attrs: {
|
|
56
|
+
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
57
|
+
var _component_checkbox = resolveComponent("checkbox");
|
|
58
|
+
var _component_checkbox_button = resolveComponent("checkbox-button");
|
|
59
|
+
return openBlock(), createElementBlock(
|
|
60
|
+
"div",
|
|
61
|
+
{
|
|
61
62
|
"data-tag": "tiny-checkbox-group",
|
|
62
|
-
|
|
63
|
+
class: normalizeClass(["inline-flex flex-col", {
|
|
64
|
+
"sm:flex-row": !_ctx.vertical
|
|
65
|
+
}]),
|
|
66
|
+
role: "group",
|
|
63
67
|
"aria-label": "checkbox-group"
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
68
|
+
},
|
|
69
|
+
[renderSlot(_ctx.$slots, "default", {}, function() {
|
|
70
|
+
return [_ctx.type === "checkbox" ? (openBlock(true), createElementBlock(
|
|
71
|
+
Fragment,
|
|
72
|
+
{
|
|
73
|
+
key: 0
|
|
74
|
+
},
|
|
75
|
+
renderList(_ctx.options, function(item, index) {
|
|
76
|
+
return openBlock(), createBlock(
|
|
77
|
+
_component_checkbox,
|
|
78
|
+
mergeProps({
|
|
79
|
+
key: index,
|
|
80
|
+
ref_for: true
|
|
81
|
+
}, item),
|
|
82
|
+
null,
|
|
83
|
+
16
|
|
84
|
+
/* FULL_PROPS */
|
|
85
|
+
);
|
|
86
|
+
}),
|
|
87
|
+
128
|
|
88
|
+
/* KEYED_FRAGMENT */
|
|
89
|
+
)) : createCommentVNode("v-if", true), _ctx.type === "button" ? (openBlock(true), createElementBlock(
|
|
90
|
+
Fragment,
|
|
91
|
+
{
|
|
92
|
+
key: 1
|
|
93
|
+
},
|
|
94
|
+
renderList(_ctx.options, function(item, index) {
|
|
95
|
+
return openBlock(), createBlock(
|
|
96
|
+
_component_checkbox_button,
|
|
97
|
+
mergeProps({
|
|
98
|
+
key: index,
|
|
99
|
+
ref_for: true
|
|
100
|
+
}, item),
|
|
101
|
+
null,
|
|
102
|
+
16
|
|
103
|
+
/* FULL_PROPS */
|
|
104
|
+
);
|
|
105
|
+
}),
|
|
106
|
+
128
|
|
107
|
+
/* KEYED_FRAGMENT */
|
|
108
|
+
)) : createCommentVNode("v-if", true)];
|
|
109
|
+
})],
|
|
110
|
+
2
|
|
111
|
+
/* CLASS */
|
|
112
|
+
);
|
|
84
113
|
}
|
|
85
|
-
var mobileFirst = /* @__PURE__ */
|
|
86
|
-
return __component__.exports;
|
|
87
|
-
}();
|
|
114
|
+
var mobileFirst = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
88
115
|
|
|
89
116
|
export { mobileFirst as default };
|
package/lib/pc.js
CHANGED
|
@@ -3,38 +3,42 @@ import { defineComponent, props, setup } from '@opentinyvue/vue-common';
|
|
|
3
3
|
import Checkbox from '@opentinyvue/vue-checkbox';
|
|
4
4
|
import CheckboxButton from '@opentinyvue/vue-checkbox-button';
|
|
5
5
|
import '@opentinyvue/vue-theme/checkbox-group/index.css';
|
|
6
|
+
import { resolveComponent, openBlock, createElementBlock, normalizeClass, renderSlot, Fragment, renderList, createBlock, mergeProps, createCommentVNode } from 'vue';
|
|
6
7
|
|
|
7
|
-
function
|
|
8
|
-
var
|
|
9
|
-
if (
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
8
|
+
function _createForOfIteratorHelperLoose(r, e) {
|
|
9
|
+
var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
10
|
+
if (t) return (t = t.call(r)).next.bind(t);
|
|
11
|
+
if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) {
|
|
12
|
+
t && (r = t);
|
|
13
|
+
var o = 0;
|
|
14
|
+
return function() {
|
|
15
|
+
return o >= r.length ? { done: true } : { done: false, value: r[o++] };
|
|
16
|
+
};
|
|
13
17
|
}
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
var originalRender = options.render;
|
|
22
|
-
options.render = function renderWithStyleInjection(h, context) {
|
|
23
|
-
hook.call(context);
|
|
24
|
-
return originalRender(h, context);
|
|
25
|
-
};
|
|
26
|
-
} else {
|
|
27
|
-
var existing = options.beforeCreate;
|
|
28
|
-
options.beforeCreate = existing ? [].concat(existing, hook) : [hook];
|
|
29
|
-
}
|
|
18
|
+
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
19
|
+
}
|
|
20
|
+
function _unsupportedIterableToArray(r, a) {
|
|
21
|
+
if (r) {
|
|
22
|
+
if ("string" == typeof r) return _arrayLikeToArray(r, a);
|
|
23
|
+
var t = {}.toString.call(r).slice(8, -1);
|
|
24
|
+
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;
|
|
30
25
|
}
|
|
31
|
-
return {
|
|
32
|
-
exports: scriptExports,
|
|
33
|
-
options
|
|
34
|
-
};
|
|
35
26
|
}
|
|
27
|
+
function _arrayLikeToArray(r, a) {
|
|
28
|
+
(null == a || a > r.length) && (a = r.length);
|
|
29
|
+
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
|
30
|
+
return n;
|
|
31
|
+
}
|
|
32
|
+
var _export_sfc = function _export_sfc2(sfc, props) {
|
|
33
|
+
var target = sfc.__vccOpts || sfc;
|
|
34
|
+
for (var _iterator = _createForOfIteratorHelperLoose(props), _step; !(_step = _iterator()).done; ) {
|
|
35
|
+
var _step$value = _step.value, key = _step$value[0], val = _step$value[1];
|
|
36
|
+
target[key] = val;
|
|
37
|
+
}
|
|
38
|
+
return target;
|
|
39
|
+
};
|
|
36
40
|
|
|
37
|
-
var
|
|
41
|
+
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
38
42
|
components: {
|
|
39
43
|
Checkbox,
|
|
40
44
|
CheckboxButton
|
|
@@ -49,39 +53,61 @@ var __vue2_script = defineComponent({
|
|
|
49
53
|
});
|
|
50
54
|
}
|
|
51
55
|
});
|
|
52
|
-
|
|
53
|
-
var
|
|
54
|
-
var
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
"role": "group",
|
|
56
|
+
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
57
|
+
var _component_checkbox = resolveComponent("checkbox");
|
|
58
|
+
var _component_checkbox_button = resolveComponent("checkbox-button");
|
|
59
|
+
return openBlock(), createElementBlock(
|
|
60
|
+
"div",
|
|
61
|
+
{
|
|
62
|
+
class: normalizeClass(["tiny-checkbox-group", _ctx.vertical ? "is-vertical" : ""]),
|
|
63
|
+
role: "group",
|
|
61
64
|
"aria-label": "checkbox-group"
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
65
|
+
},
|
|
66
|
+
[renderSlot(_ctx.$slots, "default", {}, function() {
|
|
67
|
+
return [_ctx.type === "checkbox" ? (openBlock(true), createElementBlock(
|
|
68
|
+
Fragment,
|
|
69
|
+
{
|
|
70
|
+
key: 0
|
|
71
|
+
},
|
|
72
|
+
renderList(_ctx.options, function(item, index) {
|
|
73
|
+
return openBlock(), createBlock(
|
|
74
|
+
_component_checkbox,
|
|
75
|
+
mergeProps({
|
|
76
|
+
key: index,
|
|
77
|
+
ref_for: true
|
|
78
|
+
}, item),
|
|
79
|
+
null,
|
|
80
|
+
16
|
|
81
|
+
/* FULL_PROPS */
|
|
82
|
+
);
|
|
83
|
+
}),
|
|
84
|
+
128
|
|
85
|
+
/* KEYED_FRAGMENT */
|
|
86
|
+
)) : createCommentVNode("v-if", true), _ctx.type === "button" ? (openBlock(true), createElementBlock(
|
|
87
|
+
Fragment,
|
|
88
|
+
{
|
|
89
|
+
key: 1
|
|
90
|
+
},
|
|
91
|
+
renderList(_ctx.options, function(item, index) {
|
|
92
|
+
return openBlock(), createBlock(
|
|
93
|
+
_component_checkbox_button,
|
|
94
|
+
mergeProps({
|
|
95
|
+
key: index,
|
|
96
|
+
ref_for: true
|
|
97
|
+
}, item),
|
|
98
|
+
null,
|
|
99
|
+
16
|
|
100
|
+
/* FULL_PROPS */
|
|
101
|
+
);
|
|
102
|
+
}),
|
|
103
|
+
128
|
|
104
|
+
/* KEYED_FRAGMENT */
|
|
105
|
+
)) : createCommentVNode("v-if", true)];
|
|
106
|
+
})],
|
|
107
|
+
2
|
|
108
|
+
/* CLASS */
|
|
109
|
+
);
|
|
82
110
|
}
|
|
83
|
-
var pc = /* @__PURE__ */
|
|
84
|
-
return __component__.exports;
|
|
85
|
-
}();
|
|
111
|
+
var pc = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
86
112
|
|
|
87
113
|
export { pc as default };
|
package/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentinyvue/vue-checkbox-group",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.22.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": "~
|
|
10
|
+
"@opentinyvue/vue-common": "~3.22.0",
|
|
11
11
|
"@opentinyvue/vue-renderless": "~3.22.0",
|
|
12
|
-
"@opentinyvue/vue-checkbox": "~
|
|
13
|
-
"@opentinyvue/vue-checkbox-button": "~
|
|
12
|
+
"@opentinyvue/vue-checkbox": "~3.22.0",
|
|
13
|
+
"@opentinyvue/vue-checkbox-button": "~3.22.0",
|
|
14
14
|
"@opentinyvue/vue-theme": "~3.22.0"
|
|
15
15
|
},
|
|
16
16
|
"license": "MIT",
|
package/src/index.d.ts
CHANGED
|
@@ -1,2 +1,96 @@
|
|
|
1
|
-
|
|
1
|
+
import type { PropType } from '@opentinyvue/vue-common';
|
|
2
|
+
import type { IconPosition } from '@opentinyvue/vue-checkbox/src';
|
|
3
|
+
declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
4
|
+
_constants: {
|
|
5
|
+
type: ObjectConstructor;
|
|
6
|
+
default: () => {
|
|
7
|
+
FORM_ITEM: string;
|
|
8
|
+
FORM_CHANGE: string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
modelValue: {};
|
|
12
|
+
disabled: BooleanConstructor;
|
|
13
|
+
min: NumberConstructor;
|
|
14
|
+
max: NumberConstructor;
|
|
15
|
+
size: StringConstructor;
|
|
16
|
+
fill: StringConstructor;
|
|
17
|
+
textColor: StringConstructor;
|
|
18
|
+
vertical: BooleanConstructor;
|
|
19
|
+
options: {
|
|
20
|
+
type: ArrayConstructor;
|
|
21
|
+
default: () => never[];
|
|
22
|
+
};
|
|
23
|
+
type: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
displayOnly: {
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
31
|
+
iconPosition: PropType<IconPosition>;
|
|
32
|
+
shape: {
|
|
33
|
+
type: StringConstructor;
|
|
34
|
+
default: string;
|
|
35
|
+
};
|
|
36
|
+
tiny_mode: StringConstructor;
|
|
37
|
+
tiny_mode_root: BooleanConstructor;
|
|
38
|
+
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
39
|
+
tiny_renderless: FunctionConstructor;
|
|
40
|
+
tiny_theme: StringConstructor;
|
|
41
|
+
tiny_chart_theme: ObjectConstructor;
|
|
42
|
+
}, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
|
|
43
|
+
[key: string]: any;
|
|
44
|
+
}>, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
|
|
45
|
+
_constants: {
|
|
46
|
+
type: ObjectConstructor;
|
|
47
|
+
default: () => {
|
|
48
|
+
FORM_ITEM: string;
|
|
49
|
+
FORM_CHANGE: string;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
modelValue: {};
|
|
53
|
+
disabled: BooleanConstructor;
|
|
54
|
+
min: NumberConstructor;
|
|
55
|
+
max: NumberConstructor;
|
|
56
|
+
size: StringConstructor;
|
|
57
|
+
fill: StringConstructor;
|
|
58
|
+
textColor: StringConstructor;
|
|
59
|
+
vertical: BooleanConstructor;
|
|
60
|
+
options: {
|
|
61
|
+
type: ArrayConstructor;
|
|
62
|
+
default: () => never[];
|
|
63
|
+
};
|
|
64
|
+
type: {
|
|
65
|
+
type: StringConstructor;
|
|
66
|
+
default: string;
|
|
67
|
+
};
|
|
68
|
+
displayOnly: {
|
|
69
|
+
type: BooleanConstructor;
|
|
70
|
+
default: boolean;
|
|
71
|
+
};
|
|
72
|
+
iconPosition: PropType<IconPosition>;
|
|
73
|
+
shape: {
|
|
74
|
+
type: StringConstructor;
|
|
75
|
+
default: string;
|
|
76
|
+
};
|
|
77
|
+
tiny_mode: StringConstructor;
|
|
78
|
+
tiny_mode_root: BooleanConstructor;
|
|
79
|
+
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
80
|
+
tiny_renderless: FunctionConstructor;
|
|
81
|
+
tiny_theme: StringConstructor;
|
|
82
|
+
tiny_chart_theme: ObjectConstructor;
|
|
83
|
+
}>> & {
|
|
84
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
85
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
86
|
+
}, {
|
|
87
|
+
disabled: boolean;
|
|
88
|
+
type: string;
|
|
89
|
+
options: unknown[];
|
|
90
|
+
vertical: boolean;
|
|
91
|
+
tiny_mode_root: boolean;
|
|
92
|
+
_constants: Record<string, any>;
|
|
93
|
+
displayOnly: boolean;
|
|
94
|
+
shape: string;
|
|
95
|
+
}, {}>;
|
|
2
96
|
export default _default;
|
|
@@ -1,2 +1,68 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
2
|
+
disabled?: any;
|
|
3
|
+
size?: any;
|
|
4
|
+
type?: any;
|
|
5
|
+
fill?: any;
|
|
6
|
+
options?: any;
|
|
7
|
+
min?: any;
|
|
8
|
+
max?: any;
|
|
9
|
+
vertical?: any;
|
|
10
|
+
tiny_mode?: any;
|
|
11
|
+
tiny_mode_root?: any;
|
|
12
|
+
tiny_template?: any;
|
|
13
|
+
tiny_renderless?: any;
|
|
14
|
+
_constants?: any;
|
|
15
|
+
tiny_theme?: any;
|
|
16
|
+
tiny_chart_theme?: any;
|
|
17
|
+
modelValue?: any;
|
|
18
|
+
displayOnly?: any;
|
|
19
|
+
textColor?: any;
|
|
20
|
+
}>, {
|
|
21
|
+
t: (this: any, path: any, options?: any) => any;
|
|
22
|
+
vm: any;
|
|
23
|
+
f: (props: any, attrs?: {}) => {};
|
|
24
|
+
a: (attrs: any, filters: any, include: any) => {};
|
|
25
|
+
d: (props: any) => void;
|
|
26
|
+
dp: (props: any) => void;
|
|
27
|
+
gcls: (key: any) => any;
|
|
28
|
+
m: (...cssClasses: any[]) => string;
|
|
29
|
+
}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
|
|
30
|
+
disabled?: any;
|
|
31
|
+
size?: any;
|
|
32
|
+
type?: any;
|
|
33
|
+
fill?: any;
|
|
34
|
+
options?: any;
|
|
35
|
+
min?: any;
|
|
36
|
+
max?: any;
|
|
37
|
+
vertical?: any;
|
|
38
|
+
tiny_mode?: any;
|
|
39
|
+
tiny_mode_root?: any;
|
|
40
|
+
tiny_template?: any;
|
|
41
|
+
tiny_renderless?: any;
|
|
42
|
+
_constants?: any;
|
|
43
|
+
tiny_theme?: any;
|
|
44
|
+
tiny_chart_theme?: any;
|
|
45
|
+
modelValue?: any;
|
|
46
|
+
displayOnly?: any;
|
|
47
|
+
textColor?: any;
|
|
48
|
+
}>>>, {
|
|
49
|
+
readonly disabled?: any;
|
|
50
|
+
readonly size?: any;
|
|
51
|
+
readonly type?: any;
|
|
52
|
+
readonly fill?: any;
|
|
53
|
+
readonly options?: any;
|
|
54
|
+
readonly min?: any;
|
|
55
|
+
readonly max?: any;
|
|
56
|
+
readonly vertical?: 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 modelValue?: any;
|
|
65
|
+
readonly displayOnly?: any;
|
|
66
|
+
readonly textColor?: any;
|
|
67
|
+
}, {}>;
|
|
2
68
|
export default _default;
|
package/src/pc.vue.d.ts
CHANGED
|
@@ -1,2 +1,71 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
2
|
+
disabled?: any;
|
|
3
|
+
size?: any;
|
|
4
|
+
type?: any;
|
|
5
|
+
fill?: any;
|
|
6
|
+
options?: any;
|
|
7
|
+
min?: any;
|
|
8
|
+
max?: any;
|
|
9
|
+
vertical?: any;
|
|
10
|
+
tiny_mode?: any;
|
|
11
|
+
tiny_mode_root?: any;
|
|
12
|
+
tiny_template?: any;
|
|
13
|
+
tiny_renderless?: any;
|
|
14
|
+
_constants?: any;
|
|
15
|
+
tiny_theme?: any;
|
|
16
|
+
tiny_chart_theme?: any;
|
|
17
|
+
modelValue?: any;
|
|
18
|
+
displayOnly?: any;
|
|
19
|
+
shape?: any;
|
|
20
|
+
textColor?: any;
|
|
21
|
+
}>, {
|
|
22
|
+
t: (this: any, path: any, options?: any) => any;
|
|
23
|
+
vm: any;
|
|
24
|
+
f: (props: any, attrs?: {}) => {};
|
|
25
|
+
a: (attrs: any, filters: any, include: any) => {};
|
|
26
|
+
d: (props: any) => void;
|
|
27
|
+
dp: (props: any) => void;
|
|
28
|
+
gcls: (key: any) => any;
|
|
29
|
+
m: (...cssClasses: any[]) => string;
|
|
30
|
+
}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
|
|
31
|
+
disabled?: any;
|
|
32
|
+
size?: any;
|
|
33
|
+
type?: any;
|
|
34
|
+
fill?: any;
|
|
35
|
+
options?: any;
|
|
36
|
+
min?: any;
|
|
37
|
+
max?: any;
|
|
38
|
+
vertical?: any;
|
|
39
|
+
tiny_mode?: any;
|
|
40
|
+
tiny_mode_root?: any;
|
|
41
|
+
tiny_template?: any;
|
|
42
|
+
tiny_renderless?: any;
|
|
43
|
+
_constants?: any;
|
|
44
|
+
tiny_theme?: any;
|
|
45
|
+
tiny_chart_theme?: any;
|
|
46
|
+
modelValue?: any;
|
|
47
|
+
displayOnly?: any;
|
|
48
|
+
shape?: any;
|
|
49
|
+
textColor?: any;
|
|
50
|
+
}>>>, {
|
|
51
|
+
readonly disabled?: any;
|
|
52
|
+
readonly size?: any;
|
|
53
|
+
readonly type?: any;
|
|
54
|
+
readonly fill?: any;
|
|
55
|
+
readonly options?: any;
|
|
56
|
+
readonly min?: any;
|
|
57
|
+
readonly max?: any;
|
|
58
|
+
readonly vertical?: any;
|
|
59
|
+
readonly tiny_mode?: any;
|
|
60
|
+
readonly tiny_mode_root?: any;
|
|
61
|
+
readonly tiny_template?: any;
|
|
62
|
+
readonly tiny_renderless?: any;
|
|
63
|
+
readonly _constants?: any;
|
|
64
|
+
readonly tiny_theme?: any;
|
|
65
|
+
readonly tiny_chart_theme?: any;
|
|
66
|
+
readonly modelValue?: any;
|
|
67
|
+
readonly displayOnly?: any;
|
|
68
|
+
readonly shape?: any;
|
|
69
|
+
readonly textColor?: any;
|
|
70
|
+
}, {}>;
|
|
2
71
|
export default _default;
|