@opentiny/vue-dropdown-item 3.18.1 → 3.20.0
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 +2 -2
- package/lib/mobile-first.js +1 -1
- package/lib/mobile.js +1 -1
- package/lib/pc.js +14 -15
- package/package.json +9 -9
- package/src/index.d.ts +13 -13
- package/src/mobile-first.vue.d.ts +9 -9
- package/src/mobile.vue.d.ts +15 -14
- package/src/pc.vue.d.ts +34 -31
package/lib/index.js
CHANGED
|
@@ -28,7 +28,7 @@ var template = function template2(mode) {
|
|
|
28
28
|
};
|
|
29
29
|
var $constants = {
|
|
30
30
|
ICON_MAP: {
|
|
31
|
-
leftWardArrow: "icon-
|
|
31
|
+
leftWardArrow: "icon-left-ward-arrow"
|
|
32
32
|
}
|
|
33
33
|
};
|
|
34
34
|
var dropdownItemProps = _extends({}, $props, {
|
|
@@ -119,7 +119,7 @@ var DropdownItem = defineComponent({
|
|
|
119
119
|
});
|
|
120
120
|
}
|
|
121
121
|
});
|
|
122
|
-
var version = "3.
|
|
122
|
+
var version = "3.20.0";
|
|
123
123
|
DropdownItem.model = {
|
|
124
124
|
prop: "modelValue",
|
|
125
125
|
event: "update:modelValue"
|
package/lib/mobile-first.js
CHANGED
|
@@ -32,7 +32,7 @@ function _arrayLikeToArray(r, a) {
|
|
|
32
32
|
var _export_sfc = function _export_sfc2(sfc, props) {
|
|
33
33
|
var target = sfc.__vccOpts || sfc;
|
|
34
34
|
for (var _iterator = _createForOfIteratorHelperLoose(props), _step; !(_step = _iterator()).done; ) {
|
|
35
|
-
var _step$
|
|
35
|
+
var _step$value = _step.value, key = _step$value[0], val = _step$value[1];
|
|
36
36
|
target[key] = val;
|
|
37
37
|
}
|
|
38
38
|
return target;
|
package/lib/mobile.js
CHANGED
|
@@ -37,7 +37,7 @@ function _arrayLikeToArray(r, a) {
|
|
|
37
37
|
var _export_sfc = function _export_sfc2(sfc, props) {
|
|
38
38
|
var target = sfc.__vccOpts || sfc;
|
|
39
39
|
for (var _iterator = _createForOfIteratorHelperLoose(props), _step; !(_step = _iterator()).done; ) {
|
|
40
|
-
var _step$
|
|
40
|
+
var _step$value = _step.value, key = _step$value[0], val = _step$value[1];
|
|
41
41
|
target[key] = val;
|
|
42
42
|
}
|
|
43
43
|
return target;
|
package/lib/pc.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, $prefix, props, setup } from '@opentiny/vue-common';
|
|
2
2
|
import { renderless, api } from '@opentiny/vue-renderless/dropdown-item/vue';
|
|
3
|
-
import {
|
|
3
|
+
import { iconLeftWardArrow } from '@opentiny/vue-icon';
|
|
4
4
|
import '@opentiny/vue-theme/dropdown-item/index.css';
|
|
5
5
|
import { AutoTip } from '@opentiny/vue-directive';
|
|
6
6
|
import { resolveComponent, resolveDirective, withDirectives, openBlock, createElementBlock, normalizeClass, withModifiers, createElementVNode, createBlock, resolveDynamicComponent, createCommentVNode, renderSlot, toDisplayString, Fragment, renderList, withCtx } from 'vue';
|
|
@@ -35,7 +35,7 @@ function _arrayLikeToArray(r, a) {
|
|
|
35
35
|
var _export_sfc = function _export_sfc2(sfc, props) {
|
|
36
36
|
var target = sfc.__vccOpts || sfc;
|
|
37
37
|
for (var _iterator = _createForOfIteratorHelperLoose(props), _step; !(_step = _iterator()).done; ) {
|
|
38
|
-
var _step$
|
|
38
|
+
var _step$value = _step.value, key = _step$value[0], val = _step$value[1];
|
|
39
39
|
target[key] = val;
|
|
40
40
|
}
|
|
41
41
|
return target;
|
|
@@ -67,17 +67,19 @@ var _sfc_main = defineComponent({
|
|
|
67
67
|
"textField",
|
|
68
68
|
"tip",
|
|
69
69
|
"tipPosition",
|
|
70
|
-
"effect"
|
|
70
|
+
"effect",
|
|
71
|
+
"isMono"
|
|
71
72
|
]),
|
|
72
73
|
components: {
|
|
73
|
-
|
|
74
|
+
IconLeftWardArrow: iconLeftWardArrow()
|
|
74
75
|
},
|
|
75
76
|
setup: function setup$1(props2, context) {
|
|
76
77
|
return setup({
|
|
77
78
|
props: props2,
|
|
78
79
|
context,
|
|
79
80
|
renderless,
|
|
80
|
-
api
|
|
81
|
+
api,
|
|
82
|
+
mono: props2.isMono
|
|
81
83
|
});
|
|
82
84
|
}
|
|
83
85
|
});
|
|
@@ -99,12 +101,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
99
101
|
var _component_tiny_dropdown_item = resolveComponent("tiny-dropdown-item");
|
|
100
102
|
var _directive_auto_tip = resolveDirective("auto-tip");
|
|
101
103
|
return withDirectives((openBlock(), createElementBlock("li", {
|
|
102
|
-
class: normalizeClass(["tiny-dropdown-item tiny-dropdown-menu__item",
|
|
103
|
-
"is-disabled": _ctx.disabled,
|
|
104
|
-
"tiny-dropdown-item--divided tiny-dropdown-menu__item--divided": _ctx.divided,
|
|
105
|
-
"tiny-dropdown-item--check-status": _ctx.state.checkedStatus && _ctx.selected,
|
|
106
|
-
"has-children": _ctx.itemData.children && _ctx.itemData.children.length
|
|
107
|
-
}]),
|
|
104
|
+
class: normalizeClass(["tiny-dropdown-item", "tiny-dropdown-menu__item", _ctx.state.sizeClass, _ctx.disabled ? "is-disabled" : "", _ctx.divided ? "tiny-dropdown-item--divided tiny-dropdown-menu__item--divided" : "", _ctx.state.checkedStatus && _ctx.selected ? "tiny-dropdown-item--check-status" : "", _ctx.itemData.children && _ctx.itemData.children.length ? "has-children" : ""]),
|
|
108
105
|
ref: "dropdownItem",
|
|
109
106
|
onClick: _cache[0] || (_cache[0] = withModifiers(function() {
|
|
110
107
|
return _ctx.handleClick && _ctx.handleClick.apply(_ctx, arguments);
|
|
@@ -115,7 +112,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
115
112
|
tabindex: _ctx.disabled ? null : -1
|
|
116
113
|
}, [createElementVNode("div", _hoisted_2, [_ctx.itemData.children && _ctx.itemData.children.length ? (openBlock(), createElementBlock("span", _hoisted_3, [(openBlock(), createBlock(resolveDynamicComponent(_ctx.state.getIcon)))])) : createCommentVNode("v-if", true), createElementVNode("div", _hoisted_4, [_ctx.icon ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.icon), {
|
|
117
114
|
key: 0,
|
|
118
|
-
class: "tiny-svg-size"
|
|
115
|
+
class: "tiny-svg-size tiny-dropdown-item__pre-icon"
|
|
119
116
|
})) : createCommentVNode("v-if", true), createElementVNode("span", _hoisted_5, [renderSlot(_ctx.$slots, "default", {
|
|
120
117
|
itemData: _ctx.itemData
|
|
121
118
|
}, function() {
|
|
@@ -140,7 +137,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
140
137
|
key: index,
|
|
141
138
|
label: item[_ctx.state.textField],
|
|
142
139
|
"item-data": item,
|
|
140
|
+
_constants: _ctx._constants,
|
|
143
141
|
icon: item.icon,
|
|
142
|
+
"is-mono": true,
|
|
144
143
|
disabled: item.disabled,
|
|
145
144
|
divided: item.divided,
|
|
146
145
|
tip: item.tip,
|
|
@@ -153,16 +152,16 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
153
152
|
}),
|
|
154
153
|
_: 2
|
|
155
154
|
/* DYNAMIC */
|
|
156
|
-
}, 1032, ["label", "item-data", "icon", "disabled", "divided", "tip", "tip-position"]);
|
|
155
|
+
}, 1032, ["label", "item-data", "_constants", "icon", "disabled", "divided", "tip", "tip-position"]);
|
|
157
156
|
}),
|
|
158
157
|
128
|
|
159
158
|
/* KEYED_FRAGMENT */
|
|
160
159
|
))],
|
|
161
160
|
2
|
|
162
161
|
/* CLASS */
|
|
163
|
-
)) : createCommentVNode("v-if", true)])], 42, _hoisted_1)), [[_directive_auto_tip, _ctx.
|
|
162
|
+
)) : createCommentVNode("v-if", true)])], 42, _hoisted_1)), [[_directive_auto_tip, _ctx.state.computedTip ? {
|
|
164
163
|
always: true,
|
|
165
|
-
content: _ctx.
|
|
164
|
+
content: _ctx.state.computedTip,
|
|
166
165
|
effect: _ctx.effect,
|
|
167
166
|
placement: _ctx.tipPosition
|
|
168
167
|
} : false]]);
|
package/package.json
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentiny/vue-dropdown-item",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.20.0",
|
|
5
5
|
"description": "",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"sideEffects": false,
|
|
8
8
|
"main": "./lib/index.js",
|
|
9
9
|
"module": "./lib/index.js",
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@opentiny/vue-button": "~3.
|
|
12
|
-
"@opentiny/vue-common": "~3.
|
|
13
|
-
"@opentiny/vue-directive": "~3.
|
|
14
|
-
"@opentiny/vue-icon": "~3.
|
|
15
|
-
"@opentiny/vue-popup": "~3.
|
|
16
|
-
"@opentiny/vue-renderless": "~3.
|
|
17
|
-
"@opentiny/vue-theme": "~3.
|
|
18
|
-
"@opentiny/vue-theme-mobile": "~3.
|
|
11
|
+
"@opentiny/vue-button": "~3.20.0",
|
|
12
|
+
"@opentiny/vue-common": "~3.20.0",
|
|
13
|
+
"@opentiny/vue-directive": "~3.20.0",
|
|
14
|
+
"@opentiny/vue-icon": "~3.20.0",
|
|
15
|
+
"@opentiny/vue-popup": "~3.20.0",
|
|
16
|
+
"@opentiny/vue-renderless": "~3.20.0",
|
|
17
|
+
"@opentiny/vue-theme": "~3.20.0",
|
|
18
|
+
"@opentiny/vue-theme-mobile": "~3.20.0"
|
|
19
19
|
},
|
|
20
20
|
"types": "index.d.ts",
|
|
21
21
|
"scripts": {
|
package/src/index.d.ts
CHANGED
|
@@ -23,11 +23,11 @@ export declare const dropdownItemProps: {
|
|
|
23
23
|
};
|
|
24
24
|
};
|
|
25
25
|
};
|
|
26
|
-
icon: (
|
|
26
|
+
icon: (StringConstructor | ObjectConstructor)[];
|
|
27
27
|
disabled: BooleanConstructor;
|
|
28
28
|
divided: BooleanConstructor;
|
|
29
29
|
itemData: {
|
|
30
|
-
type: (
|
|
30
|
+
type: (StringConstructor | ObjectConstructor)[];
|
|
31
31
|
default: string;
|
|
32
32
|
};
|
|
33
33
|
title: StringConstructor;
|
|
@@ -98,11 +98,11 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
|
98
98
|
};
|
|
99
99
|
};
|
|
100
100
|
};
|
|
101
|
-
icon: (
|
|
101
|
+
icon: (StringConstructor | ObjectConstructor)[];
|
|
102
102
|
disabled: BooleanConstructor;
|
|
103
103
|
divided: BooleanConstructor;
|
|
104
104
|
itemData: {
|
|
105
|
-
type: (
|
|
105
|
+
type: (StringConstructor | ObjectConstructor)[];
|
|
106
106
|
default: string;
|
|
107
107
|
};
|
|
108
108
|
title: StringConstructor;
|
|
@@ -174,11 +174,11 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
|
174
174
|
};
|
|
175
175
|
};
|
|
176
176
|
};
|
|
177
|
-
icon: (
|
|
177
|
+
icon: (StringConstructor | ObjectConstructor)[];
|
|
178
178
|
disabled: BooleanConstructor;
|
|
179
179
|
divided: BooleanConstructor;
|
|
180
180
|
itemData: {
|
|
181
|
-
type: (
|
|
181
|
+
type: (StringConstructor | ObjectConstructor)[];
|
|
182
182
|
default: string;
|
|
183
183
|
};
|
|
184
184
|
title: StringConstructor;
|
|
@@ -240,21 +240,21 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
|
240
240
|
tiny_theme: StringConstructor;
|
|
241
241
|
tiny_chart_theme: ObjectConstructor;
|
|
242
242
|
}>>, {
|
|
243
|
+
disabled: boolean;
|
|
244
|
+
divided: boolean;
|
|
243
245
|
type: string;
|
|
244
246
|
selected: boolean;
|
|
245
|
-
disabled: boolean;
|
|
246
247
|
tiny_mode_root: boolean;
|
|
247
248
|
_constants: Record<string, any>;
|
|
248
249
|
effect: string;
|
|
249
|
-
appendToBody: boolean;
|
|
250
|
-
itemData: string | Record<string, any>;
|
|
251
|
-
options: unknown[];
|
|
252
250
|
multiStage: boolean;
|
|
251
|
+
options: unknown[];
|
|
252
|
+
textField: string;
|
|
253
|
+
itemData: string | Record<string, any>;
|
|
254
|
+
selectedField: string;
|
|
253
255
|
currentIndex: number;
|
|
254
256
|
tooltipContent: string;
|
|
255
|
-
|
|
256
|
-
selectedField: string;
|
|
257
|
-
textField: string;
|
|
257
|
+
appendToBody: boolean;
|
|
258
258
|
tip: string | Function;
|
|
259
259
|
tipPosition: string;
|
|
260
260
|
}, {}>;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
2
2
|
label?: any;
|
|
3
|
-
selected?: any;
|
|
4
3
|
disabled?: any;
|
|
4
|
+
icon?: any;
|
|
5
|
+
selected?: any;
|
|
5
6
|
tiny_mode?: any;
|
|
6
7
|
tiny_mode_root?: any;
|
|
7
8
|
tiny_template?: any;
|
|
@@ -10,14 +11,14 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
10
11
|
tiny_theme?: any;
|
|
11
12
|
tiny_chart_theme?: any;
|
|
12
13
|
itemData?: any;
|
|
13
|
-
icon?: any;
|
|
14
14
|
level?: any;
|
|
15
15
|
currentIndex?: any;
|
|
16
16
|
tooltipContent?: any;
|
|
17
|
-
}>, any, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("
|
|
17
|
+
}>, any, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("change" | "close" | "reset" | "update:modelValue" | "confirm" | "open" | "closed" | "opened")[], "change" | "close" | "reset" | "update:modelValue" | "confirm" | "open" | "closed" | "opened", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
|
|
18
18
|
label?: any;
|
|
19
|
-
selected?: any;
|
|
20
19
|
disabled?: any;
|
|
20
|
+
icon?: any;
|
|
21
|
+
selected?: any;
|
|
21
22
|
tiny_mode?: any;
|
|
22
23
|
tiny_mode_root?: any;
|
|
23
24
|
tiny_template?: any;
|
|
@@ -26,7 +27,6 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
26
27
|
tiny_theme?: any;
|
|
27
28
|
tiny_chart_theme?: any;
|
|
28
29
|
itemData?: any;
|
|
29
|
-
icon?: any;
|
|
30
30
|
level?: any;
|
|
31
31
|
currentIndex?: any;
|
|
32
32
|
tooltipContent?: any;
|
|
@@ -35,14 +35,15 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
35
35
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
36
36
|
onReset?: ((...args: any[]) => any) | undefined;
|
|
37
37
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
38
|
-
|
|
38
|
+
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
39
39
|
onOpen?: ((...args: any[]) => any) | undefined;
|
|
40
|
+
onClosed?: ((...args: any[]) => any) | undefined;
|
|
40
41
|
onOpened?: ((...args: any[]) => any) | undefined;
|
|
41
|
-
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
42
42
|
}, {
|
|
43
43
|
readonly label?: any;
|
|
44
|
-
readonly selected?: any;
|
|
45
44
|
readonly disabled?: any;
|
|
45
|
+
readonly icon?: any;
|
|
46
|
+
readonly selected?: any;
|
|
46
47
|
readonly tiny_mode?: any;
|
|
47
48
|
readonly tiny_mode_root?: any;
|
|
48
49
|
readonly tiny_template?: any;
|
|
@@ -51,7 +52,6 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
51
52
|
readonly tiny_theme?: any;
|
|
52
53
|
readonly tiny_chart_theme?: any;
|
|
53
54
|
readonly itemData?: any;
|
|
54
|
-
readonly icon?: any;
|
|
55
55
|
readonly level?: any;
|
|
56
56
|
readonly currentIndex?: any;
|
|
57
57
|
readonly tooltipContent?: any;
|
package/src/mobile.vue.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
2
|
+
disabled?: any;
|
|
3
|
+
icon?: any;
|
|
2
4
|
type?: any;
|
|
3
5
|
title?: any;
|
|
4
|
-
disabled?: any;
|
|
5
6
|
tiny_mode?: any;
|
|
6
7
|
tiny_mode_root?: any;
|
|
7
8
|
tiny_template?: any;
|
|
@@ -10,9 +11,8 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
10
11
|
tiny_theme?: any;
|
|
11
12
|
tiny_chart_theme?: any;
|
|
12
13
|
modelValue?: any;
|
|
13
|
-
icon?: any;
|
|
14
|
-
titleClass?: any;
|
|
15
14
|
options?: any;
|
|
15
|
+
titleClass?: any;
|
|
16
16
|
}>, {
|
|
17
17
|
t: (this: any, path: any, options?: any) => any;
|
|
18
18
|
vm: any;
|
|
@@ -21,10 +21,12 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
21
21
|
d: (props: any) => void;
|
|
22
22
|
dp: (props: any) => void;
|
|
23
23
|
gcls: (key: any) => any;
|
|
24
|
-
|
|
24
|
+
m: (...cssClasses: any[]) => string;
|
|
25
|
+
}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("item-click" | "change" | "click" | "close" | "reset" | "update:modelValue" | "confirm" | "open" | "closed" | "opened")[], "item-click" | "change" | "click" | "close" | "reset" | "update:modelValue" | "confirm" | "open" | "closed" | "opened", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
|
|
26
|
+
disabled?: any;
|
|
27
|
+
icon?: any;
|
|
25
28
|
type?: any;
|
|
26
29
|
title?: any;
|
|
27
|
-
disabled?: any;
|
|
28
30
|
tiny_mode?: any;
|
|
29
31
|
tiny_mode_root?: any;
|
|
30
32
|
tiny_template?: any;
|
|
@@ -33,24 +35,24 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
33
35
|
tiny_theme?: any;
|
|
34
36
|
tiny_chart_theme?: any;
|
|
35
37
|
modelValue?: any;
|
|
36
|
-
icon?: any;
|
|
37
|
-
titleClass?: any;
|
|
38
38
|
options?: any;
|
|
39
|
+
titleClass?: any;
|
|
39
40
|
}>>> & {
|
|
40
41
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
42
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
41
43
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
42
44
|
onReset?: ((...args: any[]) => any) | undefined;
|
|
43
|
-
|
|
45
|
+
"onItem-click"?: ((...args: any[]) => any) | undefined;
|
|
44
46
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
45
|
-
|
|
47
|
+
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
46
48
|
onOpen?: ((...args: any[]) => any) | undefined;
|
|
49
|
+
onClosed?: ((...args: any[]) => any) | undefined;
|
|
47
50
|
onOpened?: ((...args: any[]) => any) | undefined;
|
|
48
|
-
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
49
|
-
"onItem-click"?: ((...args: any[]) => any) | undefined;
|
|
50
51
|
}, {
|
|
52
|
+
readonly disabled?: any;
|
|
53
|
+
readonly icon?: any;
|
|
51
54
|
readonly type?: any;
|
|
52
55
|
readonly title?: any;
|
|
53
|
-
readonly disabled?: any;
|
|
54
56
|
readonly tiny_mode?: any;
|
|
55
57
|
readonly tiny_mode_root?: any;
|
|
56
58
|
readonly tiny_template?: any;
|
|
@@ -59,8 +61,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
59
61
|
readonly tiny_theme?: any;
|
|
60
62
|
readonly tiny_chart_theme?: any;
|
|
61
63
|
readonly modelValue?: any;
|
|
62
|
-
readonly icon?: any;
|
|
63
|
-
readonly titleClass?: any;
|
|
64
64
|
readonly options?: any;
|
|
65
|
+
readonly titleClass?: any;
|
|
65
66
|
}, {}>;
|
|
66
67
|
export default _default;
|
package/src/pc.vue.d.ts
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import type { IDropdownItemApi } from '@opentiny/vue-renderless/types/dropdown-item.type';
|
|
2
2
|
declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
3
|
-
type?: any;
|
|
4
3
|
label?: any;
|
|
4
|
+
disabled?: any;
|
|
5
|
+
divided?: any;
|
|
6
|
+
icon?: any;
|
|
7
|
+
type?: any;
|
|
5
8
|
title?: any;
|
|
6
9
|
selected?: any;
|
|
7
|
-
disabled?: any;
|
|
8
10
|
tiny_mode?: any;
|
|
9
11
|
tiny_mode_root?: any;
|
|
10
12
|
tiny_template?: any;
|
|
@@ -13,24 +15,25 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
13
15
|
tiny_theme?: any;
|
|
14
16
|
tiny_chart_theme?: any;
|
|
15
17
|
effect?: any;
|
|
16
|
-
|
|
18
|
+
multiStage?: any;
|
|
19
|
+
options?: any;
|
|
20
|
+
textField?: any;
|
|
17
21
|
itemData?: any;
|
|
18
|
-
icon?: any;
|
|
19
22
|
titleClass?: any;
|
|
20
|
-
options?: any;
|
|
21
|
-
multiStage?: any;
|
|
22
|
-
currentIndex?: any;
|
|
23
|
-
divided?: any;
|
|
24
23
|
selectedField?: any;
|
|
25
|
-
|
|
24
|
+
currentIndex?: any;
|
|
25
|
+
appendToBody?: any;
|
|
26
26
|
tip?: any;
|
|
27
27
|
tipPosition?: any;
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
isMono?: any;
|
|
29
|
+
}>, IDropdownItemApi, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("item-click" | "change" | "close" | "reset" | "update:modelValue" | "confirm" | "open" | "closed" | "opened")[], "item-click" | "change" | "close" | "reset" | "update:modelValue" | "confirm" | "open" | "closed" | "opened", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
|
|
30
30
|
label?: any;
|
|
31
|
+
disabled?: any;
|
|
32
|
+
divided?: any;
|
|
33
|
+
icon?: any;
|
|
34
|
+
type?: any;
|
|
31
35
|
title?: any;
|
|
32
36
|
selected?: any;
|
|
33
|
-
disabled?: any;
|
|
34
37
|
tiny_mode?: any;
|
|
35
38
|
tiny_mode_root?: any;
|
|
36
39
|
tiny_template?: any;
|
|
@@ -39,34 +42,35 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
39
42
|
tiny_theme?: any;
|
|
40
43
|
tiny_chart_theme?: any;
|
|
41
44
|
effect?: any;
|
|
42
|
-
|
|
45
|
+
multiStage?: any;
|
|
46
|
+
options?: any;
|
|
47
|
+
textField?: any;
|
|
43
48
|
itemData?: any;
|
|
44
|
-
icon?: any;
|
|
45
49
|
titleClass?: any;
|
|
46
|
-
options?: any;
|
|
47
|
-
multiStage?: any;
|
|
48
|
-
currentIndex?: any;
|
|
49
|
-
divided?: any;
|
|
50
50
|
selectedField?: any;
|
|
51
|
-
|
|
51
|
+
currentIndex?: any;
|
|
52
|
+
appendToBody?: any;
|
|
52
53
|
tip?: any;
|
|
53
54
|
tipPosition?: any;
|
|
55
|
+
isMono?: any;
|
|
54
56
|
}>>> & {
|
|
55
57
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
56
58
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
57
59
|
onReset?: ((...args: any[]) => any) | undefined;
|
|
60
|
+
"onItem-click"?: ((...args: any[]) => any) | undefined;
|
|
58
61
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
59
|
-
|
|
62
|
+
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
60
63
|
onOpen?: ((...args: any[]) => any) | undefined;
|
|
64
|
+
onClosed?: ((...args: any[]) => any) | undefined;
|
|
61
65
|
onOpened?: ((...args: any[]) => any) | undefined;
|
|
62
|
-
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
63
|
-
"onItem-click"?: ((...args: any[]) => any) | undefined;
|
|
64
66
|
}, {
|
|
65
|
-
readonly type?: any;
|
|
66
67
|
readonly label?: any;
|
|
68
|
+
readonly disabled?: any;
|
|
69
|
+
readonly divided?: any;
|
|
70
|
+
readonly icon?: any;
|
|
71
|
+
readonly type?: any;
|
|
67
72
|
readonly title?: any;
|
|
68
73
|
readonly selected?: any;
|
|
69
|
-
readonly disabled?: any;
|
|
70
74
|
readonly tiny_mode?: any;
|
|
71
75
|
readonly tiny_mode_root?: any;
|
|
72
76
|
readonly tiny_template?: any;
|
|
@@ -75,17 +79,16 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
75
79
|
readonly tiny_theme?: any;
|
|
76
80
|
readonly tiny_chart_theme?: any;
|
|
77
81
|
readonly effect?: any;
|
|
78
|
-
readonly
|
|
82
|
+
readonly multiStage?: any;
|
|
83
|
+
readonly options?: any;
|
|
84
|
+
readonly textField?: any;
|
|
79
85
|
readonly itemData?: any;
|
|
80
|
-
readonly icon?: any;
|
|
81
86
|
readonly titleClass?: any;
|
|
82
|
-
readonly options?: any;
|
|
83
|
-
readonly multiStage?: any;
|
|
84
|
-
readonly currentIndex?: any;
|
|
85
|
-
readonly divided?: any;
|
|
86
87
|
readonly selectedField?: any;
|
|
87
|
-
readonly
|
|
88
|
+
readonly currentIndex?: any;
|
|
89
|
+
readonly appendToBody?: any;
|
|
88
90
|
readonly tip?: any;
|
|
89
91
|
readonly tipPosition?: any;
|
|
92
|
+
readonly isMono?: any;
|
|
90
93
|
}, {}>;
|
|
91
94
|
export default _default;
|