@opentinyvue/vue-breadcrumb 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 +13 -2
- package/package.json +1 -1
- package/src/index.d.ts +16 -3
package/lib/index.js
CHANGED
|
@@ -38,7 +38,18 @@ var breadcrumbProps = _extends({}, $props, {
|
|
|
38
38
|
type: String,
|
|
39
39
|
default: "label"
|
|
40
40
|
},
|
|
41
|
-
size:
|
|
41
|
+
size: {
|
|
42
|
+
type: String,
|
|
43
|
+
default: "",
|
|
44
|
+
validator: function validator(val) {
|
|
45
|
+
return [
|
|
46
|
+
/* 'large', */
|
|
47
|
+
"medium",
|
|
48
|
+
/* 'small', 'mini', */
|
|
49
|
+
""
|
|
50
|
+
].includes(val);
|
|
51
|
+
}
|
|
52
|
+
},
|
|
42
53
|
options: {
|
|
43
54
|
type: Array,
|
|
44
55
|
default: function _default2() {
|
|
@@ -57,7 +68,7 @@ var Breadcrumb = defineComponent({
|
|
|
57
68
|
});
|
|
58
69
|
}
|
|
59
70
|
});
|
|
60
|
-
var version = "3.
|
|
71
|
+
var version = "3.undefined";
|
|
61
72
|
Breadcrumb.install = function(Vue) {
|
|
62
73
|
Vue.component(Breadcrumb.name, Breadcrumb);
|
|
63
74
|
};
|
package/package.json
CHANGED
package/src/index.d.ts
CHANGED
|
@@ -23,7 +23,11 @@ export declare const breadcrumbProps: {
|
|
|
23
23
|
type: StringConstructor;
|
|
24
24
|
default: string;
|
|
25
25
|
};
|
|
26
|
-
size:
|
|
26
|
+
size: {
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
default: string;
|
|
29
|
+
validator: (val: string) => boolean;
|
|
30
|
+
};
|
|
27
31
|
options: {
|
|
28
32
|
type: ArrayConstructor;
|
|
29
33
|
default: () => never[];
|
|
@@ -55,7 +59,11 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
|
55
59
|
type: StringConstructor;
|
|
56
60
|
default: string;
|
|
57
61
|
};
|
|
58
|
-
size:
|
|
62
|
+
size: {
|
|
63
|
+
type: StringConstructor;
|
|
64
|
+
default: string;
|
|
65
|
+
validator: (val: string) => boolean;
|
|
66
|
+
};
|
|
59
67
|
options: {
|
|
60
68
|
type: ArrayConstructor;
|
|
61
69
|
default: () => never[];
|
|
@@ -88,7 +96,11 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
|
88
96
|
type: StringConstructor;
|
|
89
97
|
default: string;
|
|
90
98
|
};
|
|
91
|
-
size:
|
|
99
|
+
size: {
|
|
100
|
+
type: StringConstructor;
|
|
101
|
+
default: string;
|
|
102
|
+
validator: (val: string) => boolean;
|
|
103
|
+
};
|
|
92
104
|
options: {
|
|
93
105
|
type: ArrayConstructor;
|
|
94
106
|
default: () => never[];
|
|
@@ -100,6 +112,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
|
100
112
|
tiny_theme: StringConstructor;
|
|
101
113
|
tiny_chart_theme: ObjectConstructor;
|
|
102
114
|
}>>, {
|
|
115
|
+
size: string;
|
|
103
116
|
options: unknown[];
|
|
104
117
|
tiny_mode_root: boolean;
|
|
105
118
|
_constants: Record<string, any>;
|