@opentiny/vue-dropdown-item 2.18.0 → 2.18.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 +5 -1
- package/lib/pc.js +6 -5
- package/package.json +1 -1
- package/src/index.d.ts +6 -2
package/lib/index.js
CHANGED
|
@@ -101,6 +101,10 @@ var dropdownItemProps = _extends({}, $props, {
|
|
|
101
101
|
tipPosition: {
|
|
102
102
|
type: String,
|
|
103
103
|
default: "right"
|
|
104
|
+
},
|
|
105
|
+
effect: {
|
|
106
|
+
type: String,
|
|
107
|
+
default: "light"
|
|
104
108
|
}
|
|
105
109
|
});
|
|
106
110
|
var DropdownItem = defineComponent({
|
|
@@ -115,7 +119,7 @@ var DropdownItem = defineComponent({
|
|
|
115
119
|
});
|
|
116
120
|
}
|
|
117
121
|
});
|
|
118
|
-
var version = "2.
|
|
122
|
+
var version = "2.undefined";
|
|
119
123
|
DropdownItem.model = {
|
|
120
124
|
prop: "modelValue",
|
|
121
125
|
event: "update:modelValue"
|
package/lib/pc.js
CHANGED
|
@@ -83,7 +83,8 @@ var __vue2_script = defineComponent({
|
|
|
83
83
|
"appendToBody",
|
|
84
84
|
"textField",
|
|
85
85
|
"tip",
|
|
86
|
-
"tipPosition"
|
|
86
|
+
"tipPosition",
|
|
87
|
+
"effect"
|
|
87
88
|
]),
|
|
88
89
|
components: {
|
|
89
90
|
IconDeltaLeft: iconDeltaLeft()
|
|
@@ -105,13 +106,13 @@ var render = function render2() {
|
|
|
105
106
|
directives: [{
|
|
106
107
|
name: "auto-tip",
|
|
107
108
|
rawName: "v-auto-tip",
|
|
108
|
-
value: {
|
|
109
|
+
value: _vm.getTip ? {
|
|
109
110
|
always: true,
|
|
110
111
|
content: _vm.getTip,
|
|
111
|
-
effect:
|
|
112
|
+
effect: _vm.effect,
|
|
112
113
|
placement: _vm.tipPosition
|
|
113
|
-
},
|
|
114
|
-
expression: "{ always: true, content: getTip, effect
|
|
114
|
+
} : false,
|
|
115
|
+
expression: "getTip ? { always: true, content: getTip, effect, placement: tipPosition } : false"
|
|
115
116
|
}],
|
|
116
117
|
ref: "dropdownItem",
|
|
117
118
|
staticClass: "tiny-dropdown-item tiny-dropdown-menu__item",
|
package/package.json
CHANGED
package/src/index.d.ts
CHANGED
|
@@ -23,11 +23,11 @@ export declare const dropdownItemProps: {
|
|
|
23
23
|
};
|
|
24
24
|
};
|
|
25
25
|
};
|
|
26
|
-
icon: (
|
|
26
|
+
icon: (ObjectConstructor | StringConstructor)[];
|
|
27
27
|
disabled: BooleanConstructor;
|
|
28
28
|
divided: BooleanConstructor;
|
|
29
29
|
itemData: {
|
|
30
|
-
type: (
|
|
30
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
31
31
|
default: string;
|
|
32
32
|
};
|
|
33
33
|
title: StringConstructor;
|
|
@@ -78,6 +78,10 @@ export declare const dropdownItemProps: {
|
|
|
78
78
|
type: StringConstructor;
|
|
79
79
|
default: string;
|
|
80
80
|
};
|
|
81
|
+
effect: {
|
|
82
|
+
type: StringConstructor;
|
|
83
|
+
default: string;
|
|
84
|
+
};
|
|
81
85
|
tiny_mode: StringConstructor;
|
|
82
86
|
tiny_mode_root: BooleanConstructor;
|
|
83
87
|
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|