@opentiny/vue-dropdown-item 3.12.0 → 3.13.0-alpha.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 +12 -9
- package/lib/pc.js +22 -2
- package/package.json +7 -7
- package/index.d.ts +0 -13
- package/src/index.d.ts +0 -245
- package/src/mobile-first.vue.d.ts +0 -56
- package/src/mobile.vue.d.ts +0 -67
- package/src/pc.vue.d.ts +0 -80
package/lib/index.js
CHANGED
|
@@ -17,13 +17,15 @@ import PcTemplate from "./pc.js";
|
|
|
17
17
|
import MobileTemplate from "./mobile.js";
|
|
18
18
|
import MobileFirstTemplate from "./mobile-first.js";
|
|
19
19
|
var template = function template2(mode) {
|
|
20
|
-
|
|
20
|
+
var _process$env;
|
|
21
|
+
var tinyMode = typeof process === "object" ? (_process$env = process.env) == null ? void 0 : _process$env.TINY_MODE : null;
|
|
22
|
+
if ("pc" === (tinyMode || mode)) {
|
|
21
23
|
return PcTemplate;
|
|
22
24
|
}
|
|
23
|
-
if ("mobile" === (
|
|
25
|
+
if ("mobile" === (tinyMode || mode)) {
|
|
24
26
|
return MobileTemplate;
|
|
25
27
|
}
|
|
26
|
-
if ("mobile-first" === (
|
|
28
|
+
if ("mobile-first" === (tinyMode || mode)) {
|
|
27
29
|
return MobileFirstTemplate;
|
|
28
30
|
}
|
|
29
31
|
return PcTemplate;
|
|
@@ -48,10 +50,7 @@ var dropdownItemProps = _extends({}, $props, {
|
|
|
48
50
|
default: ""
|
|
49
51
|
},
|
|
50
52
|
title: String,
|
|
51
|
-
label:
|
|
52
|
-
type: String,
|
|
53
|
-
default: ""
|
|
54
|
-
},
|
|
53
|
+
label: String,
|
|
55
54
|
level: String,
|
|
56
55
|
titleClass: String,
|
|
57
56
|
options: {
|
|
@@ -60,18 +59,22 @@ var dropdownItemProps = _extends({}, $props, {
|
|
|
60
59
|
return [];
|
|
61
60
|
}
|
|
62
61
|
},
|
|
62
|
+
// mobile 属性,可选值 selection | filter | sort
|
|
63
63
|
type: {
|
|
64
64
|
type: String,
|
|
65
65
|
default: "selection"
|
|
66
66
|
},
|
|
67
|
+
// 是否选中,勾选状态功能
|
|
67
68
|
selected: {
|
|
68
69
|
type: Boolean,
|
|
69
70
|
default: false
|
|
70
71
|
},
|
|
72
|
+
// 暂没找到使用的地方
|
|
71
73
|
selectedField: {
|
|
72
74
|
type: String,
|
|
73
75
|
default: "selected"
|
|
74
76
|
},
|
|
77
|
+
// 暂没找到使用的地方
|
|
75
78
|
multiStage: {
|
|
76
79
|
type: Boolean,
|
|
77
80
|
default: false
|
|
@@ -82,7 +85,7 @@ var dropdownItemProps = _extends({}, $props, {
|
|
|
82
85
|
return -1;
|
|
83
86
|
}
|
|
84
87
|
},
|
|
85
|
-
// tiny新增
|
|
88
|
+
// 以下为 tiny 新增
|
|
86
89
|
appendToBody: {
|
|
87
90
|
type: Boolean,
|
|
88
91
|
default: true
|
|
@@ -112,7 +115,7 @@ var DropdownItem = defineComponent({
|
|
|
112
115
|
});
|
|
113
116
|
}
|
|
114
117
|
});
|
|
115
|
-
var version = "3.
|
|
118
|
+
var version = "3.13.0-alpha.1";
|
|
116
119
|
DropdownItem.model = {
|
|
117
120
|
prop: "modelValue",
|
|
118
121
|
event: "update:modelValue"
|
package/lib/pc.js
CHANGED
|
@@ -52,8 +52,27 @@ var _export_sfc = function _export_sfc2(sfc, props) {
|
|
|
52
52
|
var _sfc_main = defineComponent({
|
|
53
53
|
name: $prefix + "DropdownItem",
|
|
54
54
|
componentName: $prefix + "DropdownItem",
|
|
55
|
-
emits: ["item-click"],
|
|
56
|
-
props: [].concat(props, [
|
|
55
|
+
emits: ["item-click", "update:modelValue", "change", "closed", "open", "opened", "close", "confirm", "reset"],
|
|
56
|
+
props: [].concat(props, [
|
|
57
|
+
"disabled",
|
|
58
|
+
"divided",
|
|
59
|
+
"icon",
|
|
60
|
+
"itemData",
|
|
61
|
+
"selected",
|
|
62
|
+
"currentIndex",
|
|
63
|
+
"title",
|
|
64
|
+
"titleClass",
|
|
65
|
+
"options",
|
|
66
|
+
"type",
|
|
67
|
+
"label",
|
|
68
|
+
"selectedField",
|
|
69
|
+
"multiStage",
|
|
70
|
+
// tiny新增
|
|
71
|
+
"appendToBody",
|
|
72
|
+
"textField",
|
|
73
|
+
"tip",
|
|
74
|
+
"tipPosition"
|
|
75
|
+
]),
|
|
57
76
|
components: {
|
|
58
77
|
IconDeltaLeft: iconDeltaLeft(),
|
|
59
78
|
TinyTooltip: Tooltip
|
|
@@ -93,6 +112,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
93
112
|
class: normalizeClass(["tiny-dropdown-item tiny-dropdown-menu__item", {
|
|
94
113
|
"is-disabled": _ctx.disabled,
|
|
95
114
|
"tiny-dropdown-item--divided tiny-dropdown-menu__item--divided": _ctx.divided,
|
|
115
|
+
"tiny-dropdown-item--check-status": _ctx.state.checkedStatus && _ctx.selected,
|
|
96
116
|
"has-children": _ctx.itemData.children && _ctx.itemData.children.length
|
|
97
117
|
}]),
|
|
98
118
|
ref: "dropdownItem",
|
package/package.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentiny/vue-dropdown-item",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.13.0-alpha.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
|
-
"@opentiny/vue-common": "
|
|
11
|
-
"@opentiny/vue-icon": "
|
|
12
|
-
"@opentiny/vue-renderless": "
|
|
13
|
-
"@opentiny/vue-popup": "
|
|
14
|
-
"@opentiny/vue-button": "
|
|
15
|
-
"@opentiny/vue-tooltip": "
|
|
10
|
+
"@opentiny/vue-common": "3.13.0-alpha.1",
|
|
11
|
+
"@opentiny/vue-icon": "3.13.0-alpha.1",
|
|
12
|
+
"@opentiny/vue-renderless": "3.13.0-alpha.1",
|
|
13
|
+
"@opentiny/vue-popup": "3.13.0-alpha.1",
|
|
14
|
+
"@opentiny/vue-button": "3.13.0-alpha.1",
|
|
15
|
+
"@opentiny/vue-tooltip": "3.13.0-alpha.1"
|
|
16
16
|
},
|
|
17
17
|
"license": "MIT",
|
|
18
18
|
"types": "index.d.ts",
|
package/index.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2022 - present TinyVue Authors.
|
|
3
|
-
* Copyright (c) 2022 - present Huawei Cloud Computing Technologies Co., Ltd.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license.
|
|
6
|
-
*
|
|
7
|
-
* THE OPEN SOURCE SOFTWARE IN THIS PRODUCT IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL,
|
|
8
|
-
* BUT WITHOUT ANY WARRANTY, WITHOUT EVEN THE IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS FOR
|
|
9
|
-
* A PARTICULAR PURPOSE. SEE THE APPLICABLE LICENSES FOR MORE DETAILS.
|
|
10
|
-
*
|
|
11
|
-
*/
|
|
12
|
-
import DropdownItem from './src/index';
|
|
13
|
-
export default DropdownItem;
|
package/src/index.d.ts
DELETED
|
@@ -1,245 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2022 - present TinyVue Authors.
|
|
3
|
-
* Copyright (c) 2022 - present Huawei Cloud Computing Technologies Co., Ltd.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license.
|
|
6
|
-
*
|
|
7
|
-
* THE OPEN SOURCE SOFTWARE IN THIS PRODUCT IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL,
|
|
8
|
-
* BUT WITHOUT ANY WARRANTY, WITHOUT EVEN THE IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS FOR
|
|
9
|
-
* A PARTICULAR PURPOSE. SEE THE APPLICABLE LICENSES FOR MORE DETAILS.
|
|
10
|
-
*
|
|
11
|
-
*/
|
|
12
|
-
export declare const $constants: {
|
|
13
|
-
ICON_MAP: {
|
|
14
|
-
leftWardArrow: string;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
export declare const dropdownItemProps: {
|
|
18
|
-
_constants: {
|
|
19
|
-
type: ObjectConstructor;
|
|
20
|
-
default: () => {
|
|
21
|
-
ICON_MAP: {
|
|
22
|
-
leftWardArrow: string;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
icon: (ObjectConstructor | StringConstructor)[];
|
|
27
|
-
disabled: BooleanConstructor;
|
|
28
|
-
divided: BooleanConstructor;
|
|
29
|
-
itemData: {
|
|
30
|
-
type: (ObjectConstructor | StringConstructor)[];
|
|
31
|
-
default: string;
|
|
32
|
-
};
|
|
33
|
-
title: StringConstructor;
|
|
34
|
-
label: {
|
|
35
|
-
type: StringConstructor;
|
|
36
|
-
default: string;
|
|
37
|
-
};
|
|
38
|
-
level: StringConstructor;
|
|
39
|
-
titleClass: StringConstructor;
|
|
40
|
-
options: {
|
|
41
|
-
type: ArrayConstructor;
|
|
42
|
-
default: () => never[];
|
|
43
|
-
};
|
|
44
|
-
type: {
|
|
45
|
-
type: StringConstructor;
|
|
46
|
-
default: string;
|
|
47
|
-
};
|
|
48
|
-
selected: {
|
|
49
|
-
type: BooleanConstructor;
|
|
50
|
-
default: boolean;
|
|
51
|
-
};
|
|
52
|
-
selectedField: {
|
|
53
|
-
type: StringConstructor;
|
|
54
|
-
default: string;
|
|
55
|
-
};
|
|
56
|
-
multiStage: {
|
|
57
|
-
type: BooleanConstructor;
|
|
58
|
-
default: boolean;
|
|
59
|
-
};
|
|
60
|
-
currentIndex: {
|
|
61
|
-
type: NumberConstructor;
|
|
62
|
-
default: () => number;
|
|
63
|
-
};
|
|
64
|
-
appendToBody: {
|
|
65
|
-
type: BooleanConstructor;
|
|
66
|
-
default: boolean;
|
|
67
|
-
};
|
|
68
|
-
textField: {
|
|
69
|
-
type: StringConstructor;
|
|
70
|
-
default: string;
|
|
71
|
-
};
|
|
72
|
-
tip: {
|
|
73
|
-
type: (StringConstructor | FunctionConstructor)[];
|
|
74
|
-
default: string;
|
|
75
|
-
};
|
|
76
|
-
tipPosition: {
|
|
77
|
-
type: StringConstructor;
|
|
78
|
-
default: string;
|
|
79
|
-
};
|
|
80
|
-
tiny_mode: StringConstructor;
|
|
81
|
-
tiny_mode_root: BooleanConstructor;
|
|
82
|
-
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
83
|
-
tiny_renderless: FunctionConstructor;
|
|
84
|
-
tiny_theme: StringConstructor;
|
|
85
|
-
tiny_chart_theme: ObjectConstructor;
|
|
86
|
-
};
|
|
87
|
-
declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
88
|
-
_constants: {
|
|
89
|
-
type: ObjectConstructor;
|
|
90
|
-
default: () => {
|
|
91
|
-
ICON_MAP: {
|
|
92
|
-
leftWardArrow: string;
|
|
93
|
-
};
|
|
94
|
-
};
|
|
95
|
-
};
|
|
96
|
-
icon: (ObjectConstructor | StringConstructor)[];
|
|
97
|
-
disabled: BooleanConstructor;
|
|
98
|
-
divided: BooleanConstructor;
|
|
99
|
-
itemData: {
|
|
100
|
-
type: (ObjectConstructor | StringConstructor)[];
|
|
101
|
-
default: string;
|
|
102
|
-
};
|
|
103
|
-
title: StringConstructor;
|
|
104
|
-
label: {
|
|
105
|
-
type: StringConstructor;
|
|
106
|
-
default: string;
|
|
107
|
-
};
|
|
108
|
-
level: StringConstructor;
|
|
109
|
-
titleClass: StringConstructor;
|
|
110
|
-
options: {
|
|
111
|
-
type: ArrayConstructor;
|
|
112
|
-
default: () => never[];
|
|
113
|
-
};
|
|
114
|
-
type: {
|
|
115
|
-
type: StringConstructor;
|
|
116
|
-
default: string;
|
|
117
|
-
};
|
|
118
|
-
selected: {
|
|
119
|
-
type: BooleanConstructor;
|
|
120
|
-
default: boolean;
|
|
121
|
-
};
|
|
122
|
-
selectedField: {
|
|
123
|
-
type: StringConstructor;
|
|
124
|
-
default: string;
|
|
125
|
-
};
|
|
126
|
-
multiStage: {
|
|
127
|
-
type: BooleanConstructor;
|
|
128
|
-
default: boolean;
|
|
129
|
-
};
|
|
130
|
-
currentIndex: {
|
|
131
|
-
type: NumberConstructor;
|
|
132
|
-
default: () => number;
|
|
133
|
-
};
|
|
134
|
-
appendToBody: {
|
|
135
|
-
type: BooleanConstructor;
|
|
136
|
-
default: boolean;
|
|
137
|
-
};
|
|
138
|
-
textField: {
|
|
139
|
-
type: StringConstructor;
|
|
140
|
-
default: string;
|
|
141
|
-
};
|
|
142
|
-
tip: {
|
|
143
|
-
type: (StringConstructor | FunctionConstructor)[];
|
|
144
|
-
default: string;
|
|
145
|
-
};
|
|
146
|
-
tipPosition: {
|
|
147
|
-
type: StringConstructor;
|
|
148
|
-
default: string;
|
|
149
|
-
};
|
|
150
|
-
tiny_mode: StringConstructor;
|
|
151
|
-
tiny_mode_root: BooleanConstructor;
|
|
152
|
-
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
153
|
-
tiny_renderless: FunctionConstructor;
|
|
154
|
-
tiny_theme: StringConstructor;
|
|
155
|
-
tiny_chart_theme: ObjectConstructor;
|
|
156
|
-
}, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
|
|
157
|
-
[key: string]: any;
|
|
158
|
-
}>, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
|
|
159
|
-
_constants: {
|
|
160
|
-
type: ObjectConstructor;
|
|
161
|
-
default: () => {
|
|
162
|
-
ICON_MAP: {
|
|
163
|
-
leftWardArrow: string;
|
|
164
|
-
};
|
|
165
|
-
};
|
|
166
|
-
};
|
|
167
|
-
icon: (ObjectConstructor | StringConstructor)[];
|
|
168
|
-
disabled: BooleanConstructor;
|
|
169
|
-
divided: BooleanConstructor;
|
|
170
|
-
itemData: {
|
|
171
|
-
type: (ObjectConstructor | StringConstructor)[];
|
|
172
|
-
default: string;
|
|
173
|
-
};
|
|
174
|
-
title: StringConstructor;
|
|
175
|
-
label: {
|
|
176
|
-
type: StringConstructor;
|
|
177
|
-
default: string;
|
|
178
|
-
};
|
|
179
|
-
level: StringConstructor;
|
|
180
|
-
titleClass: StringConstructor;
|
|
181
|
-
options: {
|
|
182
|
-
type: ArrayConstructor;
|
|
183
|
-
default: () => never[];
|
|
184
|
-
};
|
|
185
|
-
type: {
|
|
186
|
-
type: StringConstructor;
|
|
187
|
-
default: string;
|
|
188
|
-
};
|
|
189
|
-
selected: {
|
|
190
|
-
type: BooleanConstructor;
|
|
191
|
-
default: boolean;
|
|
192
|
-
};
|
|
193
|
-
selectedField: {
|
|
194
|
-
type: StringConstructor;
|
|
195
|
-
default: string;
|
|
196
|
-
};
|
|
197
|
-
multiStage: {
|
|
198
|
-
type: BooleanConstructor;
|
|
199
|
-
default: boolean;
|
|
200
|
-
};
|
|
201
|
-
currentIndex: {
|
|
202
|
-
type: NumberConstructor;
|
|
203
|
-
default: () => number;
|
|
204
|
-
};
|
|
205
|
-
appendToBody: {
|
|
206
|
-
type: BooleanConstructor;
|
|
207
|
-
default: boolean;
|
|
208
|
-
};
|
|
209
|
-
textField: {
|
|
210
|
-
type: StringConstructor;
|
|
211
|
-
default: string;
|
|
212
|
-
};
|
|
213
|
-
tip: {
|
|
214
|
-
type: (StringConstructor | FunctionConstructor)[];
|
|
215
|
-
default: string;
|
|
216
|
-
};
|
|
217
|
-
tipPosition: {
|
|
218
|
-
type: StringConstructor;
|
|
219
|
-
default: string;
|
|
220
|
-
};
|
|
221
|
-
tiny_mode: StringConstructor;
|
|
222
|
-
tiny_mode_root: BooleanConstructor;
|
|
223
|
-
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
224
|
-
tiny_renderless: FunctionConstructor;
|
|
225
|
-
tiny_theme: StringConstructor;
|
|
226
|
-
tiny_chart_theme: ObjectConstructor;
|
|
227
|
-
}>>, {
|
|
228
|
-
type: string;
|
|
229
|
-
label: string;
|
|
230
|
-
selected: boolean;
|
|
231
|
-
disabled: boolean;
|
|
232
|
-
tiny_mode_root: boolean;
|
|
233
|
-
_constants: Record<string, any>;
|
|
234
|
-
multiStage: boolean;
|
|
235
|
-
options: unknown[];
|
|
236
|
-
textField: string;
|
|
237
|
-
divided: boolean;
|
|
238
|
-
itemData: string | Record<string, any>;
|
|
239
|
-
selectedField: string;
|
|
240
|
-
currentIndex: number;
|
|
241
|
-
appendToBody: boolean;
|
|
242
|
-
tip: string | Function;
|
|
243
|
-
tipPosition: string;
|
|
244
|
-
}, {}>;
|
|
245
|
-
export default _default;
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
2
|
-
label?: any;
|
|
3
|
-
selected?: any;
|
|
4
|
-
disabled?: any;
|
|
5
|
-
tiny_mode?: any;
|
|
6
|
-
tiny_mode_root?: any;
|
|
7
|
-
tiny_template?: any;
|
|
8
|
-
tiny_renderless?: any;
|
|
9
|
-
_constants?: any;
|
|
10
|
-
tiny_theme?: any;
|
|
11
|
-
tiny_chart_theme?: any;
|
|
12
|
-
icon?: any;
|
|
13
|
-
itemData?: any;
|
|
14
|
-
level?: any;
|
|
15
|
-
currentIndex?: any;
|
|
16
|
-
}>, any, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("confirm" | "update:modelValue" | "close" | "change" | "reset" | "open" | "closed" | "opened")[], "confirm" | "update:modelValue" | "close" | "change" | "reset" | "open" | "closed" | "opened", import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
|
|
17
|
-
label?: any;
|
|
18
|
-
selected?: any;
|
|
19
|
-
disabled?: any;
|
|
20
|
-
tiny_mode?: any;
|
|
21
|
-
tiny_mode_root?: any;
|
|
22
|
-
tiny_template?: any;
|
|
23
|
-
tiny_renderless?: any;
|
|
24
|
-
_constants?: any;
|
|
25
|
-
tiny_theme?: any;
|
|
26
|
-
tiny_chart_theme?: any;
|
|
27
|
-
icon?: any;
|
|
28
|
-
itemData?: any;
|
|
29
|
-
level?: any;
|
|
30
|
-
currentIndex?: any;
|
|
31
|
-
}>>> & {
|
|
32
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
33
|
-
onReset?: ((...args: any[]) => any) | undefined;
|
|
34
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
35
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
36
|
-
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
37
|
-
onOpen?: ((...args: any[]) => any) | undefined;
|
|
38
|
-
onClosed?: ((...args: any[]) => any) | undefined;
|
|
39
|
-
onOpened?: ((...args: any[]) => any) | undefined;
|
|
40
|
-
}, {
|
|
41
|
-
readonly label?: any;
|
|
42
|
-
readonly selected?: any;
|
|
43
|
-
readonly disabled?: any;
|
|
44
|
-
readonly tiny_mode?: any;
|
|
45
|
-
readonly tiny_mode_root?: any;
|
|
46
|
-
readonly tiny_template?: any;
|
|
47
|
-
readonly tiny_renderless?: any;
|
|
48
|
-
readonly _constants?: any;
|
|
49
|
-
readonly tiny_theme?: any;
|
|
50
|
-
readonly tiny_chart_theme?: any;
|
|
51
|
-
readonly icon?: any;
|
|
52
|
-
readonly itemData?: any;
|
|
53
|
-
readonly level?: any;
|
|
54
|
-
readonly currentIndex?: any;
|
|
55
|
-
}, {}>;
|
|
56
|
-
export default _default;
|
package/src/mobile.vue.d.ts
DELETED
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
2
|
-
type?: any;
|
|
3
|
-
title?: any;
|
|
4
|
-
disabled?: any;
|
|
5
|
-
tiny_mode?: any;
|
|
6
|
-
tiny_mode_root?: any;
|
|
7
|
-
tiny_template?: any;
|
|
8
|
-
tiny_renderless?: any;
|
|
9
|
-
_constants?: any;
|
|
10
|
-
tiny_theme?: any;
|
|
11
|
-
tiny_chart_theme?: any;
|
|
12
|
-
modelValue?: any;
|
|
13
|
-
options?: any;
|
|
14
|
-
icon?: any;
|
|
15
|
-
titleClass?: any;
|
|
16
|
-
}>, {
|
|
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
|
-
}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("confirm" | "item-click" | "update:modelValue" | "close" | "click" | "change" | "reset" | "open" | "closed" | "opened")[], "confirm" | "item-click" | "update:modelValue" | "close" | "click" | "change" | "reset" | "open" | "closed" | "opened", import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
|
|
26
|
-
type?: any;
|
|
27
|
-
title?: any;
|
|
28
|
-
disabled?: any;
|
|
29
|
-
tiny_mode?: any;
|
|
30
|
-
tiny_mode_root?: any;
|
|
31
|
-
tiny_template?: any;
|
|
32
|
-
tiny_renderless?: any;
|
|
33
|
-
_constants?: any;
|
|
34
|
-
tiny_theme?: any;
|
|
35
|
-
tiny_chart_theme?: any;
|
|
36
|
-
modelValue?: any;
|
|
37
|
-
options?: any;
|
|
38
|
-
icon?: any;
|
|
39
|
-
titleClass?: any;
|
|
40
|
-
}>>> & {
|
|
41
|
-
"onItem-click"?: ((...args: any[]) => any) | undefined;
|
|
42
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
43
|
-
onReset?: ((...args: any[]) => any) | undefined;
|
|
44
|
-
onClick?: ((...args: any[]) => any) | undefined;
|
|
45
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
46
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
47
|
-
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
48
|
-
onOpen?: ((...args: any[]) => any) | undefined;
|
|
49
|
-
onClosed?: ((...args: any[]) => any) | undefined;
|
|
50
|
-
onOpened?: ((...args: any[]) => any) | undefined;
|
|
51
|
-
}, {
|
|
52
|
-
readonly type?: any;
|
|
53
|
-
readonly title?: any;
|
|
54
|
-
readonly disabled?: any;
|
|
55
|
-
readonly tiny_mode?: any;
|
|
56
|
-
readonly tiny_mode_root?: any;
|
|
57
|
-
readonly tiny_template?: any;
|
|
58
|
-
readonly tiny_renderless?: any;
|
|
59
|
-
readonly _constants?: any;
|
|
60
|
-
readonly tiny_theme?: any;
|
|
61
|
-
readonly tiny_chart_theme?: any;
|
|
62
|
-
readonly modelValue?: any;
|
|
63
|
-
readonly options?: any;
|
|
64
|
-
readonly icon?: any;
|
|
65
|
-
readonly titleClass?: any;
|
|
66
|
-
}, {}>;
|
|
67
|
-
export default _default;
|
package/src/pc.vue.d.ts
DELETED
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
import type { IDropdownItemApi } from '@opentiny/vue-renderless/types/dropdown-item.type';
|
|
2
|
-
declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
3
|
-
type?: any;
|
|
4
|
-
label?: any;
|
|
5
|
-
title?: any;
|
|
6
|
-
selected?: any;
|
|
7
|
-
disabled?: any;
|
|
8
|
-
tiny_mode?: any;
|
|
9
|
-
tiny_mode_root?: any;
|
|
10
|
-
tiny_template?: any;
|
|
11
|
-
tiny_renderless?: any;
|
|
12
|
-
_constants?: any;
|
|
13
|
-
tiny_theme?: any;
|
|
14
|
-
tiny_chart_theme?: any;
|
|
15
|
-
multiStage?: any;
|
|
16
|
-
options?: any;
|
|
17
|
-
textField?: any;
|
|
18
|
-
icon?: any;
|
|
19
|
-
divided?: any;
|
|
20
|
-
itemData?: any;
|
|
21
|
-
titleClass?: any;
|
|
22
|
-
selectedField?: any;
|
|
23
|
-
currentIndex?: any;
|
|
24
|
-
appendToBody?: any;
|
|
25
|
-
tip?: any;
|
|
26
|
-
tipPosition?: any;
|
|
27
|
-
}>, IDropdownItemApi, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, "item-click"[], "item-click", import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
|
|
28
|
-
type?: any;
|
|
29
|
-
label?: any;
|
|
30
|
-
title?: any;
|
|
31
|
-
selected?: any;
|
|
32
|
-
disabled?: any;
|
|
33
|
-
tiny_mode?: any;
|
|
34
|
-
tiny_mode_root?: any;
|
|
35
|
-
tiny_template?: any;
|
|
36
|
-
tiny_renderless?: any;
|
|
37
|
-
_constants?: any;
|
|
38
|
-
tiny_theme?: any;
|
|
39
|
-
tiny_chart_theme?: any;
|
|
40
|
-
multiStage?: any;
|
|
41
|
-
options?: any;
|
|
42
|
-
textField?: any;
|
|
43
|
-
icon?: any;
|
|
44
|
-
divided?: any;
|
|
45
|
-
itemData?: any;
|
|
46
|
-
titleClass?: any;
|
|
47
|
-
selectedField?: any;
|
|
48
|
-
currentIndex?: any;
|
|
49
|
-
appendToBody?: any;
|
|
50
|
-
tip?: any;
|
|
51
|
-
tipPosition?: any;
|
|
52
|
-
}>>> & {
|
|
53
|
-
"onItem-click"?: ((...args: any[]) => any) | undefined;
|
|
54
|
-
}, {
|
|
55
|
-
readonly type?: any;
|
|
56
|
-
readonly label?: any;
|
|
57
|
-
readonly title?: any;
|
|
58
|
-
readonly selected?: any;
|
|
59
|
-
readonly disabled?: any;
|
|
60
|
-
readonly tiny_mode?: any;
|
|
61
|
-
readonly tiny_mode_root?: any;
|
|
62
|
-
readonly tiny_template?: any;
|
|
63
|
-
readonly tiny_renderless?: any;
|
|
64
|
-
readonly _constants?: any;
|
|
65
|
-
readonly tiny_theme?: any;
|
|
66
|
-
readonly tiny_chart_theme?: any;
|
|
67
|
-
readonly multiStage?: any;
|
|
68
|
-
readonly options?: any;
|
|
69
|
-
readonly textField?: any;
|
|
70
|
-
readonly icon?: any;
|
|
71
|
-
readonly divided?: any;
|
|
72
|
-
readonly itemData?: any;
|
|
73
|
-
readonly titleClass?: any;
|
|
74
|
-
readonly selectedField?: any;
|
|
75
|
-
readonly currentIndex?: any;
|
|
76
|
-
readonly appendToBody?: any;
|
|
77
|
-
readonly tip?: any;
|
|
78
|
-
readonly tipPosition?: any;
|
|
79
|
-
}, {}>;
|
|
80
|
-
export default _default;
|