@opentinyvue/vue-breadcrumb 3.21.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 +14 -3
- package/package.json +5 -5
- package/src/index.d.ts +17 -4
- package/src/pc.vue.d.ts +3 -3
package/lib/index.js
CHANGED
|
@@ -7,7 +7,7 @@ function _extends() {
|
|
|
7
7
|
return n;
|
|
8
8
|
}, _extends.apply(null, arguments);
|
|
9
9
|
}
|
|
10
|
-
import { defineComponent, $
|
|
10
|
+
import { defineComponent, $props, $setup, $prefix } from "@opentinyvue/vue-common";
|
|
11
11
|
import PcTemplate from "./pc.js";
|
|
12
12
|
import "@opentinyvue/vue-theme/breadcrumb/index.css";
|
|
13
13
|
var template = function template2(mode) {
|
|
@@ -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
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentinyvue/vue-breadcrumb",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.22.1",
|
|
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-renderless": "~3.
|
|
11
|
-
"@opentinyvue/vue-common": "~3.
|
|
12
|
-
"@opentinyvue/vue-theme": "~3.
|
|
13
|
-
"@opentinyvue/vue-breadcrumb-item": "~3.
|
|
10
|
+
"@opentinyvue/vue-renderless": "~3.22.0",
|
|
11
|
+
"@opentinyvue/vue-common": "~3.22.0",
|
|
12
|
+
"@opentinyvue/vue-theme": "~3.22.0",
|
|
13
|
+
"@opentinyvue/vue-breadcrumb-item": "~3.22.0"
|
|
14
14
|
},
|
|
15
15
|
"license": "MIT",
|
|
16
16
|
"types": "index.d.ts",
|
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,9 +112,10 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
|
100
112
|
tiny_theme: StringConstructor;
|
|
101
113
|
tiny_chart_theme: ObjectConstructor;
|
|
102
114
|
}>>, {
|
|
115
|
+
size: string;
|
|
116
|
+
options: unknown[];
|
|
103
117
|
tiny_mode_root: boolean;
|
|
104
118
|
_constants: Record<string, any>;
|
|
105
|
-
options: unknown[];
|
|
106
119
|
textField: string;
|
|
107
120
|
separator: string;
|
|
108
121
|
}, {}>;
|
package/src/pc.vue.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
2
2
|
size?: any;
|
|
3
|
+
options?: any;
|
|
3
4
|
tiny_mode?: any;
|
|
4
5
|
tiny_mode_root?: any;
|
|
5
6
|
tiny_template?: any;
|
|
@@ -7,7 +8,6 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
7
8
|
_constants?: any;
|
|
8
9
|
tiny_theme?: any;
|
|
9
10
|
tiny_chart_theme?: any;
|
|
10
|
-
options?: any;
|
|
11
11
|
textField?: any;
|
|
12
12
|
separator?: any;
|
|
13
13
|
separatorIcon?: any;
|
|
@@ -22,6 +22,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
22
22
|
m: (...cssClasses: any[]) => string;
|
|
23
23
|
}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, "select"[], "select", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
|
|
24
24
|
size?: any;
|
|
25
|
+
options?: any;
|
|
25
26
|
tiny_mode?: any;
|
|
26
27
|
tiny_mode_root?: any;
|
|
27
28
|
tiny_template?: any;
|
|
@@ -29,7 +30,6 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
29
30
|
_constants?: any;
|
|
30
31
|
tiny_theme?: any;
|
|
31
32
|
tiny_chart_theme?: any;
|
|
32
|
-
options?: any;
|
|
33
33
|
textField?: any;
|
|
34
34
|
separator?: any;
|
|
35
35
|
separatorIcon?: any;
|
|
@@ -37,6 +37,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
37
37
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
38
38
|
}, {
|
|
39
39
|
readonly size?: any;
|
|
40
|
+
readonly options?: any;
|
|
40
41
|
readonly tiny_mode?: any;
|
|
41
42
|
readonly tiny_mode_root?: any;
|
|
42
43
|
readonly tiny_template?: any;
|
|
@@ -44,7 +45,6 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
44
45
|
readonly _constants?: any;
|
|
45
46
|
readonly tiny_theme?: any;
|
|
46
47
|
readonly tiny_chart_theme?: any;
|
|
47
|
-
readonly options?: any;
|
|
48
48
|
readonly textField?: any;
|
|
49
49
|
readonly separator?: any;
|
|
50
50
|
readonly separatorIcon?: any;
|