@opentiny/vue-dropdown-item 2.11.0 → 2.11.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 +1 -1
- package/lib/pc.js +6 -4
- package/package.json +1 -1
package/lib/index.js
CHANGED
package/lib/pc.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, $prefix, props, setup as _setup } from "@opentiny/vue-common";
|
|
2
2
|
import { renderless, api } from "@opentiny/vue-renderless/dropdown-item/vue";
|
|
3
3
|
import { iconDeltaLeft } from "@opentiny/vue-icon";
|
|
4
|
-
import
|
|
4
|
+
import TinyTooltip from "@opentiny/vue-tooltip";
|
|
5
5
|
import "@opentiny/vue-theme/dropdown-item/index.css";
|
|
6
6
|
function normalizeComponent(scriptExports, render, staticRenderFns, functionalTemplate, injectStyles, scopeId, moduleIdentifier, shadowMode) {
|
|
7
7
|
var options = typeof scriptExports === "function" ? scriptExports.options : scriptExports;
|
|
@@ -64,7 +64,7 @@ var __vue2_script = defineComponent({
|
|
|
64
64
|
props: [].concat(props, ["disabled", "divided", "icon", "itemData", "title", "titleClass", "options", "type", "label", "appendToBody", "textField", "selected", "selectedField", "multiStage", "currentIndex", "tip", "tipPosition"]),
|
|
65
65
|
components: {
|
|
66
66
|
IconDeltaLeft: iconDeltaLeft(),
|
|
67
|
-
TinyTooltip
|
|
67
|
+
TinyTooltip
|
|
68
68
|
},
|
|
69
69
|
setup: function setup(props2, context) {
|
|
70
70
|
return _setup({
|
|
@@ -116,11 +116,13 @@ var render = function render2() {
|
|
|
116
116
|
}, [_vm.icon ? _c(_vm.icon, {
|
|
117
117
|
tag: "component",
|
|
118
118
|
staticClass: "tiny-svg-size"
|
|
119
|
-
}) : _vm._e(),
|
|
119
|
+
}) : _vm._e(), _c("span", {
|
|
120
|
+
staticClass: "tiny-dropdown-item__label"
|
|
121
|
+
}, [_vm._t("default", function() {
|
|
120
122
|
return [_c("span", [_vm._v(_vm._s(_vm.label))])];
|
|
121
123
|
}, {
|
|
122
124
|
"itemData": _vm.itemData
|
|
123
|
-
})], 2), _vm.itemData.children && _vm.itemData.children.length ? _c("ul", {
|
|
125
|
+
})], 2)], 1), _vm.itemData.children && _vm.itemData.children.length ? _c("ul", {
|
|
124
126
|
class: ["tiny-dropdown-menu", "tiny-dropdown-item--child tiny-dropdown-menu__item--child", _vm.state.popperClass]
|
|
125
127
|
}, _vm._l(_vm.itemData.children, function(item, index) {
|
|
126
128
|
return _c("tiny-dropdown-item", {
|