@opentinyvue/vue-divider 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 +65 -57
- package/lib/pc.js +78 -58
- package/package.json +2 -2
- package/src/index.d.ts +108 -1
- package/src/mobile-first.vue.d.ts +52 -1
- package/src/pc.vue.d.ts +67 -1
package/lib/index.js
CHANGED
package/lib/mobile-first.js
CHANGED
|
@@ -1,35 +1,39 @@
|
|
|
1
1
|
import { renderless, api } from '@opentinyvue/vue-renderless/divider/vue';
|
|
2
2
|
import { defineComponent, props, setup } from '@opentinyvue/vue-common';
|
|
3
|
+
import { openBlock, createElementBlock, normalizeStyle, normalizeClass, createCommentVNode, renderSlot } from 'vue';
|
|
3
4
|
|
|
4
|
-
function
|
|
5
|
-
var
|
|
6
|
-
if (
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
function _createForOfIteratorHelperLoose(r, e) {
|
|
6
|
+
var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
7
|
+
if (t) return (t = t.call(r)).next.bind(t);
|
|
8
|
+
if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) {
|
|
9
|
+
t && (r = t);
|
|
10
|
+
var o = 0;
|
|
11
|
+
return function() {
|
|
12
|
+
return o >= r.length ? { done: true } : { done: false, value: r[o++] };
|
|
13
|
+
};
|
|
10
14
|
}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
var originalRender = options.render;
|
|
19
|
-
options.render = function renderWithStyleInjection(h, context) {
|
|
20
|
-
hook.call(context);
|
|
21
|
-
return originalRender(h, context);
|
|
22
|
-
};
|
|
23
|
-
} else {
|
|
24
|
-
var existing = options.beforeCreate;
|
|
25
|
-
options.beforeCreate = existing ? [].concat(existing, hook) : [hook];
|
|
26
|
-
}
|
|
15
|
+
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
16
|
+
}
|
|
17
|
+
function _unsupportedIterableToArray(r, a) {
|
|
18
|
+
if (r) {
|
|
19
|
+
if ("string" == typeof r) return _arrayLikeToArray(r, a);
|
|
20
|
+
var t = {}.toString.call(r).slice(8, -1);
|
|
21
|
+
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;
|
|
27
22
|
}
|
|
28
|
-
return {
|
|
29
|
-
exports: scriptExports,
|
|
30
|
-
options
|
|
31
|
-
};
|
|
32
23
|
}
|
|
24
|
+
function _arrayLikeToArray(r, a) {
|
|
25
|
+
(null == a || a > r.length) && (a = r.length);
|
|
26
|
+
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
|
27
|
+
return n;
|
|
28
|
+
}
|
|
29
|
+
var _export_sfc = function _export_sfc2(sfc, props) {
|
|
30
|
+
var target = sfc.__vccOpts || sfc;
|
|
31
|
+
for (var _iterator = _createForOfIteratorHelperLoose(props), _step; !(_step = _iterator()).done; ) {
|
|
32
|
+
var _step$value = _step.value, key = _step$value[0], val = _step$value[1];
|
|
33
|
+
target[key] = val;
|
|
34
|
+
}
|
|
35
|
+
return target;
|
|
36
|
+
};
|
|
33
37
|
|
|
34
38
|
var classes = {
|
|
35
39
|
"status-default": "border-color-border",
|
|
@@ -38,7 +42,7 @@ var classes = {
|
|
|
38
42
|
"status-success": "border-color-success",
|
|
39
43
|
"status-error": "border-color-error"
|
|
40
44
|
};
|
|
41
|
-
var
|
|
45
|
+
var _sfc_main = defineComponent({
|
|
42
46
|
props: [].concat(props, ["type", "vertical", "lineColor", "textPosition", "status", "margin", "offset", "fontSize", "height"]),
|
|
43
47
|
setup: function setup$1(props2, context) {
|
|
44
48
|
return setup({
|
|
@@ -50,36 +54,40 @@ var __vue2_script = defineComponent({
|
|
|
50
54
|
});
|
|
51
55
|
}
|
|
52
56
|
});
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
57
|
+
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
58
|
+
return openBlock(), createElementBlock(
|
|
59
|
+
"div",
|
|
60
|
+
{
|
|
61
|
+
"data-tag": "aui-divider",
|
|
62
|
+
style: normalizeStyle(_ctx.state.rootStyle),
|
|
63
|
+
class: normalizeClass(_ctx.m("overflow-hidden relative", _ctx.vertical ? "inline-block w-px border-l" : "h-auto flex items-center justify-center w-full", _ctx.gcls("status-" + _ctx.status)))
|
|
64
|
+
},
|
|
65
|
+
[!_ctx.vertical ? (openBlock(), createElementBlock(
|
|
66
|
+
"div",
|
|
67
|
+
{
|
|
68
|
+
key: 0,
|
|
69
|
+
class: normalizeClass(["h-px w-full border-t", [_ctx.gcls("status-" + _ctx.status)]]),
|
|
70
|
+
style: normalizeStyle(_ctx.state.lineStyle)
|
|
71
|
+
},
|
|
72
|
+
null,
|
|
73
|
+
6
|
|
74
|
+
/* CLASS, STYLE */
|
|
75
|
+
)) : createCommentVNode("v-if", true), !_ctx.vertical ? (openBlock(), createElementBlock(
|
|
76
|
+
"span",
|
|
77
|
+
{
|
|
78
|
+
key: 1,
|
|
79
|
+
ref: "text",
|
|
80
|
+
class: "absolute py-0 px-3.5 bg-white",
|
|
81
|
+
style: normalizeStyle(_ctx.state.textStyle)
|
|
82
|
+
},
|
|
83
|
+
[renderSlot(_ctx.$slots, "default")],
|
|
84
|
+
4
|
|
85
|
+
/* STYLE */
|
|
86
|
+
)) : createCommentVNode("v-if", true)],
|
|
87
|
+
6
|
|
88
|
+
/* CLASS, STYLE */
|
|
89
|
+
);
|
|
80
90
|
}
|
|
81
|
-
var mobileFirst = /* @__PURE__ */
|
|
82
|
-
return __component__.exports;
|
|
83
|
-
}();
|
|
91
|
+
var mobileFirst = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
84
92
|
|
|
85
93
|
export { mobileFirst as default };
|
package/lib/pc.js
CHANGED
|
@@ -1,59 +1,50 @@
|
|
|
1
1
|
import { renderless, api } from '@opentinyvue/vue-renderless/divider/vue';
|
|
2
2
|
import { defineComponent, props, setup } from '@opentinyvue/vue-common';
|
|
3
|
+
import { openBlock, createElementBlock, normalizeClass, normalizeStyle, createCommentVNode, renderSlot } from 'vue';
|
|
3
4
|
|
|
4
|
-
function
|
|
5
|
-
var
|
|
6
|
-
if (
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
function _createForOfIteratorHelperLoose(r, e) {
|
|
6
|
+
var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
7
|
+
if (t) return (t = t.call(r)).next.bind(t);
|
|
8
|
+
if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) {
|
|
9
|
+
t && (r = t);
|
|
10
|
+
var o = 0;
|
|
11
|
+
return function() {
|
|
12
|
+
return o >= r.length ? { done: true } : { done: false, value: r[o++] };
|
|
13
|
+
};
|
|
10
14
|
}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
var originalRender = options.render;
|
|
19
|
-
options.render = function renderWithStyleInjection(h, context) {
|
|
20
|
-
hook.call(context);
|
|
21
|
-
return originalRender(h, context);
|
|
22
|
-
};
|
|
23
|
-
} else {
|
|
24
|
-
var existing = options.beforeCreate;
|
|
25
|
-
options.beforeCreate = existing ? [].concat(existing, hook) : [hook];
|
|
26
|
-
}
|
|
15
|
+
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
16
|
+
}
|
|
17
|
+
function _unsupportedIterableToArray(r, a) {
|
|
18
|
+
if (r) {
|
|
19
|
+
if ("string" == typeof r) return _arrayLikeToArray(r, a);
|
|
20
|
+
var t = {}.toString.call(r).slice(8, -1);
|
|
21
|
+
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;
|
|
27
22
|
}
|
|
28
|
-
return {
|
|
29
|
-
exports: scriptExports,
|
|
30
|
-
options
|
|
31
|
-
};
|
|
32
23
|
}
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
var
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
}, _vm.state.lineStyle)
|
|
46
|
-
}) : _vm._e(), _vm.slots.default ? _c("div", {
|
|
47
|
-
ref: "text",
|
|
48
|
-
class: ["tiny-divider__text"],
|
|
49
|
-
style: Object.assign({
|
|
50
|
-
color: _vm.contentColor,
|
|
51
|
-
"background-color": _vm.contentBackgroundColor
|
|
52
|
-
}, _vm.state.textStyle)
|
|
53
|
-
}, [_vm._t("default")], 2) : _vm._e()]);
|
|
24
|
+
function _arrayLikeToArray(r, a) {
|
|
25
|
+
(null == a || a > r.length) && (a = r.length);
|
|
26
|
+
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
|
27
|
+
return n;
|
|
28
|
+
}
|
|
29
|
+
var _export_sfc = function _export_sfc2(sfc, props) {
|
|
30
|
+
var target = sfc.__vccOpts || sfc;
|
|
31
|
+
for (var _iterator = _createForOfIteratorHelperLoose(props), _step; !(_step = _iterator()).done; ) {
|
|
32
|
+
var _step$value = _step.value, key = _step$value[0], val = _step$value[1];
|
|
33
|
+
target[key] = val;
|
|
34
|
+
}
|
|
35
|
+
return target;
|
|
54
36
|
};
|
|
55
|
-
|
|
56
|
-
|
|
37
|
+
|
|
38
|
+
function _extends() {
|
|
39
|
+
return _extends = Object.assign ? Object.assign.bind() : function(n) {
|
|
40
|
+
for (var e = 1; e < arguments.length; e++) {
|
|
41
|
+
var t = arguments[e];
|
|
42
|
+
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
43
|
+
}
|
|
44
|
+
return n;
|
|
45
|
+
}, _extends.apply(null, arguments);
|
|
46
|
+
}
|
|
47
|
+
var _sfc_main = defineComponent({
|
|
57
48
|
props: [].concat(props, ["direction", "color", "borderStyle", "contentPosition", "contentColor", "contentBackgroundColor", "status", "margin", "offset", "fontSize", "height"]),
|
|
58
49
|
setup: function setup$1(props2, context) {
|
|
59
50
|
return setup({
|
|
@@ -64,15 +55,44 @@ var __vue2_script = defineComponent({
|
|
|
64
55
|
});
|
|
65
56
|
}
|
|
66
57
|
});
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
58
|
+
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
59
|
+
return openBlock(), createElementBlock(
|
|
60
|
+
"div",
|
|
61
|
+
{
|
|
62
|
+
class: normalizeClass(["tiny-divider", "tiny-divider--" + _ctx.direction, _ctx.direction === "vertical" ? "tiny-divider--" + _ctx.status : ""]),
|
|
63
|
+
style: normalizeStyle(_ctx.state.rootStyle)
|
|
64
|
+
},
|
|
65
|
+
[_ctx.direction !== "vertical" ? (openBlock(), createElementBlock(
|
|
66
|
+
"div",
|
|
67
|
+
{
|
|
68
|
+
key: 0,
|
|
69
|
+
style: normalizeStyle(_extends({
|
|
70
|
+
"border-color": _ctx.color
|
|
71
|
+
}, _ctx.state.lineStyle)),
|
|
72
|
+
class: normalizeClass(["tiny-divider-line", "tiny-divider--" + _ctx.status])
|
|
73
|
+
},
|
|
74
|
+
null,
|
|
75
|
+
6
|
|
76
|
+
/* CLASS, STYLE */
|
|
77
|
+
)) : createCommentVNode("v-if", true), _ctx.slots.default ? (openBlock(), createElementBlock(
|
|
78
|
+
"div",
|
|
79
|
+
{
|
|
80
|
+
key: 1,
|
|
81
|
+
ref: "text",
|
|
82
|
+
class: normalizeClass(["tiny-divider__text"]),
|
|
83
|
+
style: normalizeStyle(_extends({
|
|
84
|
+
color: _ctx.contentColor,
|
|
85
|
+
"background-color": _ctx.contentBackgroundColor
|
|
86
|
+
}, _ctx.state.textStyle))
|
|
87
|
+
},
|
|
88
|
+
[renderSlot(_ctx.$slots, "default")],
|
|
89
|
+
4
|
|
90
|
+
/* STYLE */
|
|
91
|
+
)) : createCommentVNode("v-if", true)],
|
|
92
|
+
6
|
|
93
|
+
/* CLASS, STYLE */
|
|
94
|
+
);
|
|
73
95
|
}
|
|
74
|
-
var pc = /* @__PURE__ */
|
|
75
|
-
return __component__.exports;
|
|
76
|
-
}();
|
|
96
|
+
var pc = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
77
97
|
|
|
78
98
|
export { pc as default };
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentinyvue/vue-divider",
|
|
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
12
|
"@opentinyvue/vue-theme": "~3.22.0"
|
|
13
13
|
},
|
package/src/index.d.ts
CHANGED
|
@@ -51,5 +51,112 @@ export declare const dividerProps: {
|
|
|
51
51
|
tiny_theme: StringConstructor;
|
|
52
52
|
tiny_chart_theme: ObjectConstructor;
|
|
53
53
|
};
|
|
54
|
-
declare const _default:
|
|
54
|
+
declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
55
|
+
_constants: {
|
|
56
|
+
type: ObjectConstructor;
|
|
57
|
+
default: () => {};
|
|
58
|
+
};
|
|
59
|
+
direction: {
|
|
60
|
+
type: PropType<DirectionType>;
|
|
61
|
+
default: string;
|
|
62
|
+
};
|
|
63
|
+
color: {
|
|
64
|
+
type: StringConstructor;
|
|
65
|
+
default: string;
|
|
66
|
+
};
|
|
67
|
+
borderStyle: {
|
|
68
|
+
type: PropType<BorderStyleType>;
|
|
69
|
+
default: string;
|
|
70
|
+
};
|
|
71
|
+
contentPosition: {
|
|
72
|
+
type: PropType<ContentPositionType>;
|
|
73
|
+
default: string;
|
|
74
|
+
};
|
|
75
|
+
contentColor: {
|
|
76
|
+
type: StringConstructor;
|
|
77
|
+
default: string;
|
|
78
|
+
};
|
|
79
|
+
contentBackgroundColor: {
|
|
80
|
+
type: StringConstructor;
|
|
81
|
+
default: string;
|
|
82
|
+
};
|
|
83
|
+
fontSize: {
|
|
84
|
+
type: StringConstructor;
|
|
85
|
+
default: () => string;
|
|
86
|
+
};
|
|
87
|
+
margin: StringConstructor;
|
|
88
|
+
offset: StringConstructor;
|
|
89
|
+
height: StringConstructor;
|
|
90
|
+
status: {
|
|
91
|
+
type: StringConstructor;
|
|
92
|
+
values: string[];
|
|
93
|
+
default: () => string;
|
|
94
|
+
};
|
|
95
|
+
tiny_mode: StringConstructor;
|
|
96
|
+
tiny_mode_root: BooleanConstructor;
|
|
97
|
+
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
98
|
+
tiny_renderless: FunctionConstructor;
|
|
99
|
+
tiny_theme: StringConstructor;
|
|
100
|
+
tiny_chart_theme: ObjectConstructor;
|
|
101
|
+
}, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
|
|
102
|
+
[key: string]: any;
|
|
103
|
+
}>, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
|
|
104
|
+
_constants: {
|
|
105
|
+
type: ObjectConstructor;
|
|
106
|
+
default: () => {};
|
|
107
|
+
};
|
|
108
|
+
direction: {
|
|
109
|
+
type: PropType<DirectionType>;
|
|
110
|
+
default: string;
|
|
111
|
+
};
|
|
112
|
+
color: {
|
|
113
|
+
type: StringConstructor;
|
|
114
|
+
default: string;
|
|
115
|
+
};
|
|
116
|
+
borderStyle: {
|
|
117
|
+
type: PropType<BorderStyleType>;
|
|
118
|
+
default: string;
|
|
119
|
+
};
|
|
120
|
+
contentPosition: {
|
|
121
|
+
type: PropType<ContentPositionType>;
|
|
122
|
+
default: string;
|
|
123
|
+
};
|
|
124
|
+
contentColor: {
|
|
125
|
+
type: StringConstructor;
|
|
126
|
+
default: string;
|
|
127
|
+
};
|
|
128
|
+
contentBackgroundColor: {
|
|
129
|
+
type: StringConstructor;
|
|
130
|
+
default: string;
|
|
131
|
+
};
|
|
132
|
+
fontSize: {
|
|
133
|
+
type: StringConstructor;
|
|
134
|
+
default: () => string;
|
|
135
|
+
};
|
|
136
|
+
margin: StringConstructor;
|
|
137
|
+
offset: StringConstructor;
|
|
138
|
+
height: StringConstructor;
|
|
139
|
+
status: {
|
|
140
|
+
type: StringConstructor;
|
|
141
|
+
values: string[];
|
|
142
|
+
default: () => string;
|
|
143
|
+
};
|
|
144
|
+
tiny_mode: StringConstructor;
|
|
145
|
+
tiny_mode_root: BooleanConstructor;
|
|
146
|
+
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
147
|
+
tiny_renderless: FunctionConstructor;
|
|
148
|
+
tiny_theme: StringConstructor;
|
|
149
|
+
tiny_chart_theme: ObjectConstructor;
|
|
150
|
+
}>>, {
|
|
151
|
+
color: string;
|
|
152
|
+
status: string;
|
|
153
|
+
tiny_mode_root: boolean;
|
|
154
|
+
_constants: Record<string, any>;
|
|
155
|
+
direction: DirectionType;
|
|
156
|
+
contentPosition: ContentPositionType;
|
|
157
|
+
fontSize: string;
|
|
158
|
+
borderStyle: BorderStyleType;
|
|
159
|
+
contentColor: string;
|
|
160
|
+
contentBackgroundColor: string;
|
|
161
|
+
}, {}>;
|
|
55
162
|
export default _default;
|
|
@@ -1,2 +1,53 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
2
|
+
height?: any;
|
|
3
|
+
type?: any;
|
|
4
|
+
offset?: any;
|
|
5
|
+
vertical?: any;
|
|
6
|
+
status?: 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
|
+
margin?: any;
|
|
15
|
+
fontSize?: any;
|
|
16
|
+
lineColor?: any;
|
|
17
|
+
textPosition?: any;
|
|
18
|
+
}>, any, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
|
|
19
|
+
height?: any;
|
|
20
|
+
type?: any;
|
|
21
|
+
offset?: any;
|
|
22
|
+
vertical?: any;
|
|
23
|
+
status?: 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
|
+
margin?: any;
|
|
32
|
+
fontSize?: any;
|
|
33
|
+
lineColor?: any;
|
|
34
|
+
textPosition?: any;
|
|
35
|
+
}>>>, {
|
|
36
|
+
readonly height?: any;
|
|
37
|
+
readonly type?: any;
|
|
38
|
+
readonly offset?: any;
|
|
39
|
+
readonly vertical?: any;
|
|
40
|
+
readonly status?: any;
|
|
41
|
+
readonly tiny_mode?: any;
|
|
42
|
+
readonly tiny_mode_root?: any;
|
|
43
|
+
readonly tiny_template?: any;
|
|
44
|
+
readonly tiny_renderless?: any;
|
|
45
|
+
readonly _constants?: any;
|
|
46
|
+
readonly tiny_theme?: any;
|
|
47
|
+
readonly tiny_chart_theme?: any;
|
|
48
|
+
readonly margin?: any;
|
|
49
|
+
readonly fontSize?: any;
|
|
50
|
+
readonly lineColor?: any;
|
|
51
|
+
readonly textPosition?: any;
|
|
52
|
+
}, {}>;
|
|
2
53
|
export default _default;
|
package/src/pc.vue.d.ts
CHANGED
|
@@ -1,2 +1,68 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
2
|
+
color?: any;
|
|
3
|
+
height?: any;
|
|
4
|
+
offset?: any;
|
|
5
|
+
status?: 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
|
+
direction?: any;
|
|
14
|
+
margin?: any;
|
|
15
|
+
contentPosition?: any;
|
|
16
|
+
fontSize?: any;
|
|
17
|
+
borderStyle?: any;
|
|
18
|
+
contentColor?: any;
|
|
19
|
+
contentBackgroundColor?: 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
|
+
}, any, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
|
|
30
|
+
color?: any;
|
|
31
|
+
height?: any;
|
|
32
|
+
offset?: any;
|
|
33
|
+
status?: any;
|
|
34
|
+
tiny_mode?: any;
|
|
35
|
+
tiny_mode_root?: any;
|
|
36
|
+
tiny_template?: any;
|
|
37
|
+
tiny_renderless?: any;
|
|
38
|
+
_constants?: any;
|
|
39
|
+
tiny_theme?: any;
|
|
40
|
+
tiny_chart_theme?: any;
|
|
41
|
+
direction?: any;
|
|
42
|
+
margin?: any;
|
|
43
|
+
contentPosition?: any;
|
|
44
|
+
fontSize?: any;
|
|
45
|
+
borderStyle?: any;
|
|
46
|
+
contentColor?: any;
|
|
47
|
+
contentBackgroundColor?: any;
|
|
48
|
+
}>>>, {
|
|
49
|
+
readonly color?: any;
|
|
50
|
+
readonly height?: any;
|
|
51
|
+
readonly offset?: any;
|
|
52
|
+
readonly status?: any;
|
|
53
|
+
readonly tiny_mode?: any;
|
|
54
|
+
readonly tiny_mode_root?: any;
|
|
55
|
+
readonly tiny_template?: any;
|
|
56
|
+
readonly tiny_renderless?: any;
|
|
57
|
+
readonly _constants?: any;
|
|
58
|
+
readonly tiny_theme?: any;
|
|
59
|
+
readonly tiny_chart_theme?: any;
|
|
60
|
+
readonly direction?: any;
|
|
61
|
+
readonly margin?: any;
|
|
62
|
+
readonly contentPosition?: any;
|
|
63
|
+
readonly fontSize?: any;
|
|
64
|
+
readonly borderStyle?: any;
|
|
65
|
+
readonly contentColor?: any;
|
|
66
|
+
readonly contentBackgroundColor?: any;
|
|
67
|
+
}, {}>;
|
|
2
68
|
export default _default;
|