@opentiny/vue-dropdown-item 2.8.2 → 2.8.3
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/package.json +7 -6
- package/src/index.d.ts +149 -1
- package/src/mobile-first.vue.d.ts +11 -1
- package/src/mobile.vue.d.ts +29 -1
- package/src/pc.vue.d.ts +29 -1
package/package.json
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentiny/vue-dropdown-item",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.3",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"module": "./lib/index.js",
|
|
7
|
+
"sideEffects": false,
|
|
7
8
|
"dependencies": {
|
|
8
|
-
"@opentiny/vue-common": "~2.8.
|
|
9
|
-
"@opentiny/vue-icon": "~2.8.
|
|
10
|
-
"@opentiny/vue-renderless": "~3.8.
|
|
11
|
-
"@opentiny/vue-popup": "~2.8.
|
|
12
|
-
"@opentiny/vue-button": "~2.8.
|
|
9
|
+
"@opentiny/vue-common": "~2.8.3",
|
|
10
|
+
"@opentiny/vue-icon": "~2.8.3",
|
|
11
|
+
"@opentiny/vue-renderless": "~3.8.3",
|
|
12
|
+
"@opentiny/vue-popup": "~2.8.3",
|
|
13
|
+
"@opentiny/vue-button": "~2.8.3"
|
|
13
14
|
},
|
|
14
15
|
"license": "MIT",
|
|
15
16
|
"types": "index.d.ts",
|
package/src/index.d.ts
CHANGED
|
@@ -1,2 +1,150 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api/dist/vue-composition-api.js").ShallowUnwrapRef<() => import("vue").VNode> & import("@vue/composition-api/dist/vue-composition-api.js").Data, {}, {}, {
|
|
2
|
+
_constants: {
|
|
3
|
+
type: ObjectConstructor;
|
|
4
|
+
default: () => {
|
|
5
|
+
ICON_MAP: {
|
|
6
|
+
leftWardArrow: string;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
icon: (ObjectConstructor | StringConstructor)[];
|
|
11
|
+
disabled: BooleanConstructor;
|
|
12
|
+
divided: BooleanConstructor;
|
|
13
|
+
command: {};
|
|
14
|
+
title: StringConstructor;
|
|
15
|
+
titleClass: StringConstructor;
|
|
16
|
+
options: {
|
|
17
|
+
type: ArrayConstructor;
|
|
18
|
+
default: () => never[];
|
|
19
|
+
};
|
|
20
|
+
type: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
|
+
label: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
itemData: {
|
|
29
|
+
type: ObjectConstructor;
|
|
30
|
+
default: () => {};
|
|
31
|
+
};
|
|
32
|
+
appendToBody: {
|
|
33
|
+
type: BooleanConstructor;
|
|
34
|
+
default: boolean;
|
|
35
|
+
};
|
|
36
|
+
textField: {
|
|
37
|
+
type: StringConstructor;
|
|
38
|
+
default: string;
|
|
39
|
+
};
|
|
40
|
+
selected: {
|
|
41
|
+
type: BooleanConstructor;
|
|
42
|
+
default: boolean;
|
|
43
|
+
};
|
|
44
|
+
selectedField: {
|
|
45
|
+
type: StringConstructor;
|
|
46
|
+
default: string;
|
|
47
|
+
};
|
|
48
|
+
multiStage: {
|
|
49
|
+
type: BooleanConstructor;
|
|
50
|
+
default: boolean;
|
|
51
|
+
};
|
|
52
|
+
currentIndex: {
|
|
53
|
+
type: NumberConstructor;
|
|
54
|
+
default: () => number;
|
|
55
|
+
};
|
|
56
|
+
tiny_mode: StringConstructor;
|
|
57
|
+
tiny_mode_root: BooleanConstructor;
|
|
58
|
+
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
59
|
+
tiny_renderless: FunctionConstructor;
|
|
60
|
+
tiny_theme: StringConstructor;
|
|
61
|
+
tiny_chart_theme: ObjectConstructor;
|
|
62
|
+
}, {
|
|
63
|
+
label: string;
|
|
64
|
+
options: unknown[];
|
|
65
|
+
textField: string;
|
|
66
|
+
type: string;
|
|
67
|
+
tiny_mode_root: boolean;
|
|
68
|
+
_constants: Record<string, any>;
|
|
69
|
+
disabled: boolean;
|
|
70
|
+
appendToBody: boolean;
|
|
71
|
+
selected: boolean;
|
|
72
|
+
divided: boolean;
|
|
73
|
+
itemData: Record<string, any>;
|
|
74
|
+
selectedField: string;
|
|
75
|
+
multiStage: boolean;
|
|
76
|
+
currentIndex: number;
|
|
77
|
+
} & {
|
|
78
|
+
tiny_mode?: string | undefined;
|
|
79
|
+
title?: string | undefined;
|
|
80
|
+
tiny_template?: unknown;
|
|
81
|
+
tiny_renderless?: Function | undefined;
|
|
82
|
+
tiny_theme?: string | undefined;
|
|
83
|
+
tiny_chart_theme?: Record<string, any> | undefined;
|
|
84
|
+
icon?: unknown;
|
|
85
|
+
titleClass?: string | undefined;
|
|
86
|
+
command?: unknown;
|
|
87
|
+
}> & import("vue").VueConstructor<import("vue").default> & (new (...args: any[]) => import("@vue/composition-api/dist/vue-composition-api.js").ComponentRenderProxy<{
|
|
88
|
+
label: string;
|
|
89
|
+
options: unknown[];
|
|
90
|
+
textField: string;
|
|
91
|
+
type: string;
|
|
92
|
+
tiny_mode_root: boolean;
|
|
93
|
+
_constants: Record<string, any>;
|
|
94
|
+
disabled: boolean;
|
|
95
|
+
appendToBody: boolean;
|
|
96
|
+
selected: boolean;
|
|
97
|
+
divided: boolean;
|
|
98
|
+
itemData: Record<string, any>;
|
|
99
|
+
selectedField: string;
|
|
100
|
+
multiStage: boolean;
|
|
101
|
+
currentIndex: number;
|
|
102
|
+
} & {
|
|
103
|
+
tiny_mode?: string | undefined;
|
|
104
|
+
title?: string | undefined;
|
|
105
|
+
tiny_template?: unknown;
|
|
106
|
+
tiny_renderless?: Function | undefined;
|
|
107
|
+
tiny_theme?: string | undefined;
|
|
108
|
+
tiny_chart_theme?: Record<string, any> | undefined;
|
|
109
|
+
icon?: unknown;
|
|
110
|
+
titleClass?: string | undefined;
|
|
111
|
+
command?: unknown;
|
|
112
|
+
}, import("@vue/composition-api/dist/vue-composition-api.js").ShallowUnwrapRef<() => import("vue").VNode>, import("@vue/composition-api/dist/vue-composition-api.js").Data, {}, {}, {
|
|
113
|
+
label: string;
|
|
114
|
+
options: unknown[];
|
|
115
|
+
textField: string;
|
|
116
|
+
type: string;
|
|
117
|
+
tiny_mode_root: boolean;
|
|
118
|
+
_constants: Record<string, any>;
|
|
119
|
+
disabled: boolean;
|
|
120
|
+
appendToBody: boolean;
|
|
121
|
+
selected: boolean;
|
|
122
|
+
divided: boolean;
|
|
123
|
+
itemData: Record<string, any>;
|
|
124
|
+
selectedField: string;
|
|
125
|
+
multiStage: boolean;
|
|
126
|
+
currentIndex: number;
|
|
127
|
+
} & {
|
|
128
|
+
tiny_mode?: string | undefined;
|
|
129
|
+
title?: string | undefined;
|
|
130
|
+
tiny_template?: unknown;
|
|
131
|
+
tiny_renderless?: Function | undefined;
|
|
132
|
+
tiny_theme?: string | undefined;
|
|
133
|
+
tiny_chart_theme?: Record<string, any> | undefined;
|
|
134
|
+
icon?: unknown;
|
|
135
|
+
titleClass?: string | undefined;
|
|
136
|
+
command?: unknown;
|
|
137
|
+
}, {
|
|
138
|
+
label: string;
|
|
139
|
+
options: unknown[];
|
|
140
|
+
textField: string;
|
|
141
|
+
type: string;
|
|
142
|
+
_constants: Record<string, any>;
|
|
143
|
+
appendToBody: boolean;
|
|
144
|
+
selected: boolean;
|
|
145
|
+
itemData: Record<string, any>;
|
|
146
|
+
selectedField: string;
|
|
147
|
+
multiStage: boolean;
|
|
148
|
+
currentIndex: number;
|
|
149
|
+
}, true>);
|
|
2
150
|
export default _default;
|
|
@@ -1,2 +1,12 @@
|
|
|
1
|
-
declare const _sfc_main: any
|
|
1
|
+
declare const _sfc_main: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api/dist/vue-composition-api.js").ShallowUnwrapRef<any> & import("@vue/composition-api/dist/vue-composition-api.js").Data, {}, {}, Readonly<{
|
|
2
|
+
[x: string]: any;
|
|
3
|
+
}>, {
|
|
4
|
+
[x: string]: any;
|
|
5
|
+
} & {}> & import("vue").VueConstructor<import("vue").default> & (new (...args: any[]) => import("@vue/composition-api/dist/vue-composition-api.js").ComponentRenderProxy<{
|
|
6
|
+
[x: string]: any;
|
|
7
|
+
} & {}, import("@vue/composition-api/dist/vue-composition-api.js").ShallowUnwrapRef<any>, import("@vue/composition-api/dist/vue-composition-api.js").Data, {}, {}, {
|
|
8
|
+
[x: string]: any;
|
|
9
|
+
} & {}, {
|
|
10
|
+
[x: string]: any;
|
|
11
|
+
}, true>);
|
|
2
12
|
export default _sfc_main;
|
package/src/mobile.vue.d.ts
CHANGED
|
@@ -1,2 +1,30 @@
|
|
|
1
|
-
declare const _sfc_main:
|
|
1
|
+
declare const _sfc_main: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api/dist/vue-composition-api.js").ShallowUnwrapRef<{
|
|
2
|
+
t: (this: any, path: any, options?: any) => any;
|
|
3
|
+
vm: any;
|
|
4
|
+
f: (props: any, attrs?: {}) => {};
|
|
5
|
+
a: (attrs: any, filters: any, include: any) => {};
|
|
6
|
+
d: (props: any) => void;
|
|
7
|
+
dp: (props: any) => void;
|
|
8
|
+
gcls: (key: any) => any;
|
|
9
|
+
m: (...cssClasses: any[]) => string;
|
|
10
|
+
}> & import("@vue/composition-api/dist/vue-composition-api.js").Data, {}, {}, Readonly<{
|
|
11
|
+
[x: string]: any;
|
|
12
|
+
}>, {
|
|
13
|
+
[x: string]: any;
|
|
14
|
+
} & {}> & import("vue").VueConstructor<import("vue").default> & (new (...args: any[]) => import("@vue/composition-api/dist/vue-composition-api.js").ComponentRenderProxy<{
|
|
15
|
+
[x: string]: any;
|
|
16
|
+
} & {}, import("@vue/composition-api/dist/vue-composition-api.js").ShallowUnwrapRef<{
|
|
17
|
+
t: (this: any, path: any, options?: any) => any;
|
|
18
|
+
vm: any;
|
|
19
|
+
f: (props: any, attrs?: {}) => {};
|
|
20
|
+
a: (attrs: any, filters: any, include: any) => {};
|
|
21
|
+
d: (props: any) => void;
|
|
22
|
+
dp: (props: any) => void;
|
|
23
|
+
gcls: (key: any) => any;
|
|
24
|
+
m: (...cssClasses: any[]) => string;
|
|
25
|
+
}>, import("@vue/composition-api/dist/vue-composition-api.js").Data, {}, {}, {
|
|
26
|
+
[x: string]: any;
|
|
27
|
+
} & {}, {
|
|
28
|
+
[x: string]: any;
|
|
29
|
+
}, true>);
|
|
2
30
|
export default _sfc_main;
|
package/src/pc.vue.d.ts
CHANGED
|
@@ -1,2 +1,30 @@
|
|
|
1
|
-
declare const _sfc_main:
|
|
1
|
+
declare const _sfc_main: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api/dist/vue-composition-api.js").ShallowUnwrapRef<{
|
|
2
|
+
t: (this: any, path: any, options?: any) => any;
|
|
3
|
+
vm: any;
|
|
4
|
+
f: (props: any, attrs?: {}) => {};
|
|
5
|
+
a: (attrs: any, filters: any, include: any) => {};
|
|
6
|
+
d: (props: any) => void;
|
|
7
|
+
dp: (props: any) => void;
|
|
8
|
+
gcls: (key: any) => any;
|
|
9
|
+
m: (...cssClasses: any[]) => string;
|
|
10
|
+
}> & import("@vue/composition-api/dist/vue-composition-api.js").Data, {}, {}, Readonly<{
|
|
11
|
+
[x: string]: any;
|
|
12
|
+
}>, {
|
|
13
|
+
[x: string]: any;
|
|
14
|
+
} & {}> & import("vue").VueConstructor<import("vue").default> & (new (...args: any[]) => import("@vue/composition-api/dist/vue-composition-api.js").ComponentRenderProxy<{
|
|
15
|
+
[x: string]: any;
|
|
16
|
+
} & {}, import("@vue/composition-api/dist/vue-composition-api.js").ShallowUnwrapRef<{
|
|
17
|
+
t: (this: any, path: any, options?: any) => any;
|
|
18
|
+
vm: any;
|
|
19
|
+
f: (props: any, attrs?: {}) => {};
|
|
20
|
+
a: (attrs: any, filters: any, include: any) => {};
|
|
21
|
+
d: (props: any) => void;
|
|
22
|
+
dp: (props: any) => void;
|
|
23
|
+
gcls: (key: any) => any;
|
|
24
|
+
m: (...cssClasses: any[]) => string;
|
|
25
|
+
}>, import("@vue/composition-api/dist/vue-composition-api.js").Data, {}, {}, {
|
|
26
|
+
[x: string]: any;
|
|
27
|
+
} & {}, {
|
|
28
|
+
[x: string]: any;
|
|
29
|
+
}, true>);
|
|
2
30
|
export default _sfc_main;
|