@opentinyvue/vue-card 3.22.0 → 3.22.1
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 +5 -2
- package/package.json +1 -1
- package/src/index.d.ts +4 -1
- package/src/mobile-first.vue.d.ts +3 -3
- package/src/pc.vue.d.ts +3 -3
package/lib/index.js
CHANGED
|
@@ -68,7 +68,10 @@ var cardProps = _extends({}, $props, {
|
|
|
68
68
|
},
|
|
69
69
|
type: {
|
|
70
70
|
type: String,
|
|
71
|
-
default: "text"
|
|
71
|
+
default: "text",
|
|
72
|
+
validator: function validator(value) {
|
|
73
|
+
return ["text", "image", "video", "logo"].includes(value);
|
|
74
|
+
}
|
|
72
75
|
},
|
|
73
76
|
disabled: {
|
|
74
77
|
type: Boolean,
|
|
@@ -90,7 +93,7 @@ var Card = defineComponent({
|
|
|
90
93
|
});
|
|
91
94
|
}
|
|
92
95
|
});
|
|
93
|
-
var version = "3.
|
|
96
|
+
var version = "3.undefined";
|
|
94
97
|
Card.model = {
|
|
95
98
|
prop: "modelValue",
|
|
96
99
|
event: "update:modelValue"
|
package/package.json
CHANGED
package/src/index.d.ts
CHANGED
|
@@ -40,6 +40,7 @@ export declare const cardProps: {
|
|
|
40
40
|
type: {
|
|
41
41
|
type: StringConstructor;
|
|
42
42
|
default: string;
|
|
43
|
+
validator: (value: string) => boolean;
|
|
43
44
|
};
|
|
44
45
|
disabled: {
|
|
45
46
|
type: BooleanConstructor;
|
|
@@ -98,6 +99,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
|
98
99
|
type: {
|
|
99
100
|
type: StringConstructor;
|
|
100
101
|
default: string;
|
|
102
|
+
validator: (value: string) => boolean;
|
|
101
103
|
};
|
|
102
104
|
disabled: {
|
|
103
105
|
type: BooleanConstructor;
|
|
@@ -157,6 +159,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
|
157
159
|
type: {
|
|
158
160
|
type: StringConstructor;
|
|
159
161
|
default: string;
|
|
162
|
+
validator: (value: string) => boolean;
|
|
160
163
|
};
|
|
161
164
|
disabled: {
|
|
162
165
|
type: BooleanConstructor;
|
|
@@ -177,10 +180,10 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
|
177
180
|
size: string;
|
|
178
181
|
type: string;
|
|
179
182
|
options: unknown[];
|
|
180
|
-
status: string;
|
|
181
183
|
tiny_mode_root: boolean;
|
|
182
184
|
_constants: Record<string, any>;
|
|
183
185
|
autoWidth: boolean;
|
|
186
|
+
status: string;
|
|
184
187
|
checkType: string;
|
|
185
188
|
iconMore: string | Record<string, any>;
|
|
186
189
|
checkMode: string;
|
|
@@ -7,7 +7,6 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
7
7
|
type?: any;
|
|
8
8
|
title?: any;
|
|
9
9
|
options?: any;
|
|
10
|
-
status?: any;
|
|
11
10
|
customClass?: any;
|
|
12
11
|
tiny_mode?: any;
|
|
13
12
|
tiny_mode_root?: any;
|
|
@@ -18,6 +17,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
18
17
|
tiny_chart_theme?: any;
|
|
19
18
|
modelValue?: any;
|
|
20
19
|
autoWidth?: any;
|
|
20
|
+
status?: any;
|
|
21
21
|
checkType?: any;
|
|
22
22
|
iconMore?: any;
|
|
23
23
|
}>, {
|
|
@@ -38,7 +38,6 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
38
38
|
type?: any;
|
|
39
39
|
title?: any;
|
|
40
40
|
options?: any;
|
|
41
|
-
status?: any;
|
|
42
41
|
customClass?: any;
|
|
43
42
|
tiny_mode?: any;
|
|
44
43
|
tiny_mode_root?: any;
|
|
@@ -49,6 +48,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
49
48
|
tiny_chart_theme?: any;
|
|
50
49
|
modelValue?: any;
|
|
51
50
|
autoWidth?: any;
|
|
51
|
+
status?: any;
|
|
52
52
|
checkType?: any;
|
|
53
53
|
iconMore?: any;
|
|
54
54
|
}>>> & {
|
|
@@ -65,7 +65,6 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
65
65
|
readonly type?: any;
|
|
66
66
|
readonly title?: any;
|
|
67
67
|
readonly options?: any;
|
|
68
|
-
readonly status?: any;
|
|
69
68
|
readonly customClass?: any;
|
|
70
69
|
readonly tiny_mode?: any;
|
|
71
70
|
readonly tiny_mode_root?: any;
|
|
@@ -76,6 +75,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
76
75
|
readonly tiny_chart_theme?: any;
|
|
77
76
|
readonly modelValue?: any;
|
|
78
77
|
readonly autoWidth?: any;
|
|
78
|
+
readonly status?: any;
|
|
79
79
|
readonly checkType?: any;
|
|
80
80
|
readonly iconMore?: any;
|
|
81
81
|
}, {}>;
|
package/src/pc.vue.d.ts
CHANGED
|
@@ -7,7 +7,6 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
7
7
|
type?: any;
|
|
8
8
|
title?: any;
|
|
9
9
|
options?: any;
|
|
10
|
-
status?: any;
|
|
11
10
|
customClass?: any;
|
|
12
11
|
tiny_mode?: any;
|
|
13
12
|
tiny_mode_root?: any;
|
|
@@ -18,6 +17,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
18
17
|
tiny_chart_theme?: any;
|
|
19
18
|
modelValue?: any;
|
|
20
19
|
autoWidth?: any;
|
|
20
|
+
status?: any;
|
|
21
21
|
checkType?: any;
|
|
22
22
|
iconMore?: any;
|
|
23
23
|
checkMode?: any;
|
|
@@ -39,7 +39,6 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
39
39
|
type?: any;
|
|
40
40
|
title?: any;
|
|
41
41
|
options?: any;
|
|
42
|
-
status?: any;
|
|
43
42
|
customClass?: any;
|
|
44
43
|
tiny_mode?: any;
|
|
45
44
|
tiny_mode_root?: any;
|
|
@@ -50,6 +49,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
50
49
|
tiny_chart_theme?: any;
|
|
51
50
|
modelValue?: any;
|
|
52
51
|
autoWidth?: any;
|
|
52
|
+
status?: any;
|
|
53
53
|
checkType?: any;
|
|
54
54
|
iconMore?: any;
|
|
55
55
|
checkMode?: any;
|
|
@@ -67,7 +67,6 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
67
67
|
readonly type?: any;
|
|
68
68
|
readonly title?: any;
|
|
69
69
|
readonly options?: any;
|
|
70
|
-
readonly status?: any;
|
|
71
70
|
readonly customClass?: any;
|
|
72
71
|
readonly tiny_mode?: any;
|
|
73
72
|
readonly tiny_mode_root?: any;
|
|
@@ -78,6 +77,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
78
77
|
readonly tiny_chart_theme?: any;
|
|
79
78
|
readonly modelValue?: any;
|
|
80
79
|
readonly autoWidth?: any;
|
|
80
|
+
readonly status?: any;
|
|
81
81
|
readonly checkType?: any;
|
|
82
82
|
readonly iconMore?: any;
|
|
83
83
|
readonly checkMode?: any;
|