@opentinyvue/vue-dropdown-item 3.28.0 → 3.29.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 +1 -1
- package/lib/pc.js +5 -4
- package/package.json +6 -6
- package/src/index.d.ts +4 -4
- package/src/pc.vue.d.ts +3 -3
package/lib/index.js
CHANGED
package/lib/pc.js
CHANGED
|
@@ -64,7 +64,7 @@ var _sfc_main = defineComponent({
|
|
|
64
64
|
"textField",
|
|
65
65
|
"tip",
|
|
66
66
|
"tipPosition",
|
|
67
|
-
"
|
|
67
|
+
"tipEffect",
|
|
68
68
|
"isMono"
|
|
69
69
|
]),
|
|
70
70
|
components: {
|
|
@@ -141,7 +141,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
141
141
|
disabled: item.disabled,
|
|
142
142
|
divided: item.divided,
|
|
143
143
|
tip: item.tip,
|
|
144
|
-
"tip-position": item.tipPosition
|
|
144
|
+
"tip-position": item.tipPosition,
|
|
145
|
+
"tip-effect": item.tipEffect
|
|
145
146
|
}, {
|
|
146
147
|
default: withCtx(function() {
|
|
147
148
|
return [renderSlot(_ctx.$slots, "default", {
|
|
@@ -150,7 +151,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
150
151
|
}),
|
|
151
152
|
_: 2
|
|
152
153
|
/* DYNAMIC */
|
|
153
|
-
}, 1032, ["label", "item-data", "_constants", "icon", "disabled", "divided", "tip", "tip-position"]);
|
|
154
|
+
}, 1032, ["label", "item-data", "_constants", "icon", "disabled", "divided", "tip", "tip-position", "tip-effect"]);
|
|
154
155
|
}),
|
|
155
156
|
128
|
|
156
157
|
/* KEYED_FRAGMENT */
|
|
@@ -160,7 +161,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
160
161
|
)) : createCommentVNode("v-if", true)])], 42, _hoisted_1)), [[_directive_auto_tip, _ctx.state.computedTip ? {
|
|
161
162
|
always: true,
|
|
162
163
|
content: _ctx.state.computedTip,
|
|
163
|
-
effect: _ctx.
|
|
164
|
+
effect: _ctx.tipEffect,
|
|
164
165
|
placement: _ctx.tipPosition
|
|
165
166
|
} : false]]);
|
|
166
167
|
}
|
package/package.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentinyvue/vue-dropdown-item",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.29.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
|
-
"@opentinyvue/vue-common": "~3.
|
|
12
|
-
"@opentinyvue/vue-directive": "~3.
|
|
13
|
-
"@opentinyvue/vue-icon": "~3.
|
|
14
|
-
"@opentinyvue/vue-renderless": "~3.
|
|
15
|
-
"@opentinyvue/vue-theme": "~3.
|
|
11
|
+
"@opentinyvue/vue-common": "~3.29.0",
|
|
12
|
+
"@opentinyvue/vue-directive": "~3.29.0",
|
|
13
|
+
"@opentinyvue/vue-icon": "~3.29.0",
|
|
14
|
+
"@opentinyvue/vue-renderless": "~3.29.0",
|
|
15
|
+
"@opentinyvue/vue-theme": "~3.29.0"
|
|
16
16
|
},
|
|
17
17
|
"types": "index.d.ts",
|
|
18
18
|
"scripts": {
|
package/src/index.d.ts
CHANGED
|
@@ -78,7 +78,7 @@ export declare const dropdownItemProps: {
|
|
|
78
78
|
type: StringConstructor;
|
|
79
79
|
default: string;
|
|
80
80
|
};
|
|
81
|
-
|
|
81
|
+
tipEffect: {
|
|
82
82
|
type: StringConstructor;
|
|
83
83
|
default: string;
|
|
84
84
|
};
|
|
@@ -154,7 +154,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
|
154
154
|
type: StringConstructor;
|
|
155
155
|
default: string;
|
|
156
156
|
};
|
|
157
|
-
|
|
157
|
+
tipEffect: {
|
|
158
158
|
type: StringConstructor;
|
|
159
159
|
default: string;
|
|
160
160
|
};
|
|
@@ -231,7 +231,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
|
231
231
|
type: StringConstructor;
|
|
232
232
|
default: string;
|
|
233
233
|
};
|
|
234
|
-
|
|
234
|
+
tipEffect: {
|
|
235
235
|
type: StringConstructor;
|
|
236
236
|
default: string;
|
|
237
237
|
};
|
|
@@ -251,7 +251,6 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
|
251
251
|
appendToBody: boolean;
|
|
252
252
|
tiny_mode_root: boolean;
|
|
253
253
|
_constants: Record<string, any>;
|
|
254
|
-
effect: string;
|
|
255
254
|
multiStage: boolean;
|
|
256
255
|
textField: string;
|
|
257
256
|
itemData: string | Record<string, any>;
|
|
@@ -260,5 +259,6 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
|
260
259
|
tooltipContent: string;
|
|
261
260
|
tip: string | Function;
|
|
262
261
|
tipPosition: string;
|
|
262
|
+
tipEffect: string;
|
|
263
263
|
}, {}>;
|
|
264
264
|
export default _default;
|
package/src/pc.vue.d.ts
CHANGED
|
@@ -17,7 +17,6 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
17
17
|
tiny_theme?: any;
|
|
18
18
|
tiny_chart_theme?: any;
|
|
19
19
|
tiny_mcp_config?: any;
|
|
20
|
-
effect?: any;
|
|
21
20
|
multiStage?: any;
|
|
22
21
|
textField?: any;
|
|
23
22
|
itemData?: any;
|
|
@@ -26,6 +25,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
26
25
|
currentIndex?: any;
|
|
27
26
|
tip?: any;
|
|
28
27
|
tipPosition?: any;
|
|
28
|
+
tipEffect?: any;
|
|
29
29
|
isMono?: any;
|
|
30
30
|
}>, 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<{
|
|
31
31
|
label?: any;
|
|
@@ -45,7 +45,6 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
45
45
|
tiny_theme?: any;
|
|
46
46
|
tiny_chart_theme?: any;
|
|
47
47
|
tiny_mcp_config?: any;
|
|
48
|
-
effect?: any;
|
|
49
48
|
multiStage?: any;
|
|
50
49
|
textField?: any;
|
|
51
50
|
itemData?: any;
|
|
@@ -54,6 +53,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
54
53
|
currentIndex?: any;
|
|
55
54
|
tip?: any;
|
|
56
55
|
tipPosition?: any;
|
|
56
|
+
tipEffect?: any;
|
|
57
57
|
isMono?: any;
|
|
58
58
|
}>>> & {
|
|
59
59
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
@@ -83,7 +83,6 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
83
83
|
readonly tiny_theme?: any;
|
|
84
84
|
readonly tiny_chart_theme?: any;
|
|
85
85
|
readonly tiny_mcp_config?: any;
|
|
86
|
-
readonly effect?: any;
|
|
87
86
|
readonly multiStage?: any;
|
|
88
87
|
readonly textField?: any;
|
|
89
88
|
readonly itemData?: any;
|
|
@@ -92,6 +91,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
92
91
|
readonly currentIndex?: any;
|
|
93
92
|
readonly tip?: any;
|
|
94
93
|
readonly tipPosition?: any;
|
|
94
|
+
readonly tipEffect?: any;
|
|
95
95
|
readonly isMono?: any;
|
|
96
96
|
}, {}>;
|
|
97
97
|
export default _default;
|