@opentiny/vue-dropdown-item
Advanced tools
Comparing version 3.11.0 to 3.11.1
@@ -115,3 +115,3 @@ function _extends() { | ||
}); | ||
var version = "3.11.0"; | ||
var version = "3.11.1"; | ||
DropdownItem.model = { | ||
@@ -118,0 +118,0 @@ prop: "modelValue", |
import { defineComponent, $prefix, props, setup as _setup } from "@opentiny/vue-common"; | ||
import { renderless, api } from "@opentiny/vue-renderless/dropdown-item/vue"; | ||
import { iconDeltaLeft } from "@opentiny/vue-icon"; | ||
import Tooltip from "@opentiny/vue-tooltip"; | ||
import TinyTooltip from "@opentiny/vue-tooltip"; | ||
import "@opentiny/vue-theme/dropdown-item/index.css"; | ||
@@ -59,3 +59,3 @@ import { resolveComponent, openBlock, createBlock, withCtx, createElementVNode, normalizeClass, withModifiers, createElementBlock, resolveDynamicComponent, createCommentVNode, renderSlot, toDisplayString, Fragment, renderList } from "vue"; | ||
IconDeltaLeft: iconDeltaLeft(), | ||
TinyTooltip: Tooltip | ||
TinyTooltip | ||
}, | ||
@@ -82,2 +82,5 @@ setup: function setup(props2, context) { | ||
}; | ||
var _hoisted_5 = { | ||
class: "tiny-dropdown-item__label" | ||
}; | ||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { | ||
@@ -108,3 +111,3 @@ var _component_tiny_dropdown_item = resolveComponent("tiny-dropdown-item"); | ||
class: "tiny-svg-size" | ||
})) : createCommentVNode("v-if", true), renderSlot(_ctx.$slots, "default", { | ||
})) : createCommentVNode("v-if", true), createElementVNode("span", _hoisted_5, [renderSlot(_ctx.$slots, "default", { | ||
itemData: _ctx.itemData | ||
@@ -119,3 +122,3 @@ }, function() { | ||
)]; | ||
})]), _ctx.itemData.children && _ctx.itemData.children.length ? (openBlock(), createElementBlock( | ||
})])]), _ctx.itemData.children && _ctx.itemData.children.length ? (openBlock(), createElementBlock( | ||
"ul", | ||
@@ -122,0 +125,0 @@ { |
{ | ||
"name": "@opentiny/vue-dropdown-item", | ||
"version": "3.11.0", | ||
"version": "3.11.1", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
@@ -232,12 +232,12 @@ /** | ||
disabled: boolean; | ||
itemData: string | Record<string, any>; | ||
tiny_mode_root: boolean; | ||
_constants: Record<string, any>; | ||
textField: string; | ||
multiStage: boolean; | ||
options: unknown[]; | ||
textField: string; | ||
currentIndex: number; | ||
appendToBody: boolean; | ||
divided: boolean; | ||
itemData: string | Record<string, any>; | ||
selectedField: string; | ||
currentIndex: number; | ||
appendToBody: boolean; | ||
tip: string | Function; | ||
@@ -244,0 +244,0 @@ tipPosition: string; |
@@ -5,2 +5,3 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{ | ||
disabled?: any; | ||
itemData?: any; | ||
tiny_mode?: any; | ||
@@ -14,9 +15,9 @@ tiny_mode_root?: any; | ||
icon?: any; | ||
itemData?: any; | ||
level?: any; | ||
currentIndex?: any; | ||
}>, any, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("confirm" | "update:modelValue" | "close" | "change" | "reset" | "open" | "closed" | "opened")[], "confirm" | "update:modelValue" | "close" | "change" | "reset" | "open" | "closed" | "opened", import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{ | ||
}>, any, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("confirm" | "change" | "update:modelValue" | "closed" | "open" | "opened" | "close" | "reset")[], "confirm" | "change" | "update:modelValue" | "closed" | "open" | "opened" | "close" | "reset", import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{ | ||
label?: any; | ||
selected?: any; | ||
disabled?: any; | ||
itemData?: any; | ||
tiny_mode?: any; | ||
@@ -30,3 +31,2 @@ tiny_mode_root?: any; | ||
icon?: any; | ||
itemData?: any; | ||
level?: any; | ||
@@ -37,8 +37,8 @@ currentIndex?: any; | ||
onReset?: ((...args: any[]) => any) | undefined; | ||
onClose?: ((...args: any[]) => any) | undefined; | ||
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined; | ||
onConfirm?: ((...args: any[]) => any) | undefined; | ||
onClosed?: ((...args: any[]) => any) | undefined; | ||
onOpen?: ((...args: any[]) => any) | undefined; | ||
onClosed?: ((...args: any[]) => any) | undefined; | ||
onOpened?: ((...args: any[]) => any) | undefined; | ||
onClose?: ((...args: any[]) => any) | undefined; | ||
onConfirm?: ((...args: any[]) => any) | undefined; | ||
}, { | ||
@@ -48,2 +48,3 @@ readonly label?: any; | ||
readonly disabled?: any; | ||
readonly itemData?: any; | ||
readonly tiny_mode?: any; | ||
@@ -57,3 +58,2 @@ readonly tiny_mode_root?: any; | ||
readonly icon?: any; | ||
readonly itemData?: any; | ||
readonly level?: any; | ||
@@ -60,0 +60,0 @@ readonly currentIndex?: any; |
@@ -12,5 +12,5 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{ | ||
tiny_chart_theme?: any; | ||
icon?: any; | ||
modelValue?: any; | ||
options?: any; | ||
icon?: any; | ||
titleClass?: any; | ||
@@ -26,3 +26,3 @@ }>, { | ||
m: (...cssClasses: any[]) => string; | ||
}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("confirm" | "item-click" | "update:modelValue" | "close" | "click" | "change" | "reset" | "open" | "closed" | "opened")[], "confirm" | "item-click" | "update:modelValue" | "close" | "click" | "change" | "reset" | "open" | "closed" | "opened", import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{ | ||
}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("click" | "item-click" | "confirm" | "change" | "update:modelValue" | "closed" | "open" | "opened" | "close" | "reset")[], "click" | "item-click" | "confirm" | "change" | "update:modelValue" | "closed" | "open" | "opened" | "close" | "reset", import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{ | ||
type?: any; | ||
@@ -38,5 +38,5 @@ title?: any; | ||
tiny_chart_theme?: any; | ||
icon?: any; | ||
modelValue?: any; | ||
options?: any; | ||
icon?: any; | ||
titleClass?: any; | ||
@@ -48,8 +48,8 @@ }>>> & { | ||
onClick?: ((...args: any[]) => any) | undefined; | ||
onClose?: ((...args: any[]) => any) | undefined; | ||
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined; | ||
onConfirm?: ((...args: any[]) => any) | undefined; | ||
onClosed?: ((...args: any[]) => any) | undefined; | ||
onOpen?: ((...args: any[]) => any) | undefined; | ||
onClosed?: ((...args: any[]) => any) | undefined; | ||
onOpened?: ((...args: any[]) => any) | undefined; | ||
onClose?: ((...args: any[]) => any) | undefined; | ||
onConfirm?: ((...args: any[]) => any) | undefined; | ||
}, { | ||
@@ -66,7 +66,7 @@ readonly type?: any; | ||
readonly tiny_chart_theme?: any; | ||
readonly icon?: any; | ||
readonly modelValue?: any; | ||
readonly options?: any; | ||
readonly icon?: any; | ||
readonly titleClass?: any; | ||
}, {}>; | ||
export default _default; |
@@ -8,2 +8,3 @@ import type { IDropdownItemApi } from '@opentiny/vue-renderless/types/dropdown-item.type'; | ||
disabled?: any; | ||
itemData?: any; | ||
tiny_mode?: any; | ||
@@ -16,12 +17,11 @@ tiny_mode_root?: any; | ||
tiny_chart_theme?: any; | ||
icon?: any; | ||
textField?: any; | ||
multiStage?: any; | ||
options?: any; | ||
textField?: any; | ||
icon?: any; | ||
divided?: any; | ||
itemData?: any; | ||
titleClass?: any; | ||
selectedField?: any; | ||
currentIndex?: any; | ||
appendToBody?: any; | ||
divided?: any; | ||
selectedField?: any; | ||
tip?: any; | ||
@@ -35,2 +35,3 @@ tipPosition?: any; | ||
disabled?: any; | ||
itemData?: any; | ||
tiny_mode?: any; | ||
@@ -43,12 +44,11 @@ tiny_mode_root?: any; | ||
tiny_chart_theme?: any; | ||
icon?: any; | ||
textField?: any; | ||
multiStage?: any; | ||
options?: any; | ||
textField?: any; | ||
icon?: any; | ||
divided?: any; | ||
itemData?: any; | ||
titleClass?: any; | ||
selectedField?: any; | ||
currentIndex?: any; | ||
appendToBody?: any; | ||
divided?: any; | ||
selectedField?: any; | ||
tip?: any; | ||
@@ -64,2 +64,3 @@ tipPosition?: any; | ||
readonly disabled?: any; | ||
readonly itemData?: any; | ||
readonly tiny_mode?: any; | ||
@@ -72,12 +73,11 @@ readonly tiny_mode_root?: any; | ||
readonly tiny_chart_theme?: any; | ||
readonly icon?: any; | ||
readonly textField?: any; | ||
readonly multiStage?: any; | ||
readonly options?: any; | ||
readonly textField?: any; | ||
readonly icon?: any; | ||
readonly divided?: any; | ||
readonly itemData?: any; | ||
readonly titleClass?: any; | ||
readonly selectedField?: any; | ||
readonly currentIndex?: any; | ||
readonly appendToBody?: any; | ||
readonly divided?: any; | ||
readonly selectedField?: any; | ||
readonly tip?: any; | ||
@@ -84,0 +84,0 @@ readonly tipPosition?: any; |
39331
1082