@opentiny/vue-dropdown-item 3.11.0 → 3.12.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 -2
- package/package.json +7 -7
package/lib/index.js
CHANGED
package/lib/pc.js
CHANGED
|
@@ -78,6 +78,9 @@ var _hoisted_3 = {
|
|
|
78
78
|
var _hoisted_4 = {
|
|
79
79
|
class: "tiny-dropdown-item__content tiny-dropdown-menu__item-content"
|
|
80
80
|
};
|
|
81
|
+
var _hoisted_5 = {
|
|
82
|
+
class: "tiny-dropdown-item__label"
|
|
83
|
+
};
|
|
81
84
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
82
85
|
var _component_tiny_dropdown_item = resolveComponent("tiny-dropdown-item");
|
|
83
86
|
var _component_tiny_tooltip = resolveComponent("tiny-tooltip");
|
|
@@ -103,7 +106,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
103
106
|
}, [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), {
|
|
104
107
|
key: 0,
|
|
105
108
|
class: "tiny-svg-size"
|
|
106
|
-
})) : createCommentVNode("v-if", true), renderSlot(_ctx.$slots, "default", {
|
|
109
|
+
})) : createCommentVNode("v-if", true), createElementVNode("span", _hoisted_5, [renderSlot(_ctx.$slots, "default", {
|
|
107
110
|
itemData: _ctx.itemData
|
|
108
111
|
}, function() {
|
|
109
112
|
return [createElementVNode(
|
|
@@ -113,7 +116,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
113
116
|
1
|
|
114
117
|
/* TEXT */
|
|
115
118
|
)];
|
|
116
|
-
})]), _ctx.itemData.children && _ctx.itemData.children.length ? (openBlock(), createElementBlock(
|
|
119
|
+
})])]), _ctx.itemData.children && _ctx.itemData.children.length ? (openBlock(), createElementBlock(
|
|
117
120
|
"ul",
|
|
118
121
|
{
|
|
119
122
|
key: 1,
|
package/package.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentiny/vue-dropdown-item",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.12.0",
|
|
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": "~3.
|
|
11
|
-
"@opentiny/vue-icon": "~3.
|
|
12
|
-
"@opentiny/vue-renderless": "~3.
|
|
13
|
-
"@opentiny/vue-popup": "~3.
|
|
14
|
-
"@opentiny/vue-button": "~3.
|
|
15
|
-
"@opentiny/vue-tooltip": "~3.
|
|
10
|
+
"@opentiny/vue-common": "~3.12.0",
|
|
11
|
+
"@opentiny/vue-icon": "~3.12.0",
|
|
12
|
+
"@opentiny/vue-renderless": "~3.12.0",
|
|
13
|
+
"@opentiny/vue-popup": "~3.12.0",
|
|
14
|
+
"@opentiny/vue-button": "~3.12.0",
|
|
15
|
+
"@opentiny/vue-tooltip": "~3.12.0"
|
|
16
16
|
},
|
|
17
17
|
"license": "MIT",
|
|
18
18
|
"types": "index.d.ts",
|