@opentiny/vue-dropdown
Advanced tools
Comparing version 3.11.0 to 3.11.1
@@ -114,3 +114,3 @@ function _extends() { | ||
}); | ||
var version = "3.11.0"; | ||
var version = "3.11.1"; | ||
Dropdown.install = function(Vue) { | ||
@@ -117,0 +117,0 @@ Vue.component(Dropdown.name, Dropdown); |
@@ -1,2 +0,2 @@ | ||
import { createVNode, resolveComponent, withDirectives, resolveDirective, isVNode } from "vue"; | ||
import { createVNode, resolveComponent, withDirectives, resolveDirective } from "vue"; | ||
import { renderless, api } from "@opentiny/vue-renderless/dropdown/vue"; | ||
@@ -9,5 +9,2 @@ import { defineComponent, $prefix, directive, setup as _setup, h } from "@opentiny/vue-common"; | ||
import { iconDownWard, iconDeltaDown } from "@opentiny/vue-icon"; | ||
function _isSlot(s) { | ||
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s); | ||
} | ||
var _sfc_main = /* @__PURE__ */ defineComponent({ | ||
@@ -120,5 +117,5 @@ name: $prefix + "Dropdown", | ||
"class": "tiny-dropdown__title-button" | ||
}, _isSlot(defaultSlot) ? defaultSlot : { | ||
}, { | ||
default: function _default3() { | ||
return [defaultSlot]; | ||
return [defaultSlot || createVNode("span", null, [title])]; | ||
} | ||
@@ -125,0 +122,0 @@ }), createVNode(resolveComponent("tiny-button"), { |
{ | ||
"name": "@opentiny/vue-dropdown", | ||
"version": "3.11.0", | ||
"version": "3.11.1", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
@@ -232,6 +232,8 @@ export declare const dropdownProps: { | ||
disabled: boolean; | ||
tabindex: number; | ||
tiny_mode_root: boolean; | ||
size: string; | ||
round: boolean; | ||
border: boolean; | ||
trigger: string; | ||
size: string; | ||
splitButton: boolean; | ||
singleButton: boolean; | ||
@@ -241,7 +243,5 @@ showTimeout: number; | ||
hideOnClick: boolean; | ||
tabindex: number; | ||
border: boolean; | ||
round: boolean; | ||
showIcon: boolean; | ||
showSelfIcon: boolean; | ||
splitButton: boolean; | ||
menuOptions: Record<string, any>; | ||
@@ -248,0 +248,0 @@ inheritWidth: boolean; |
@@ -67,3 +67,3 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{ | ||
m: (...cssClasses: any[]) => string; | ||
}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("item-click" | "visible-change" | "current-item-click" | "selectedIndex" | "button-click")[], "item-click" | "visible-change" | "current-item-click" | "selectedIndex" | "button-click", import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{ | ||
}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("item-click" | "button-click" | "current-item-click" | "selectedIndex" | "visible-change")[], "item-click" | "button-click" | "current-item-click" | "selectedIndex" | "visible-change", import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{ | ||
type: StringConstructor; | ||
@@ -127,11 +127,14 @@ trigger: { | ||
"onItem-click"?: ((...args: any[]) => any) | undefined; | ||
"onVisible-change"?: ((...args: any[]) => any) | undefined; | ||
"onButton-click"?: ((...args: any[]) => any) | undefined; | ||
"onCurrent-item-click"?: ((...args: any[]) => any) | undefined; | ||
onSelectedIndex?: ((...args: any[]) => any) | undefined; | ||
"onButton-click"?: ((...args: any[]) => any) | undefined; | ||
"onVisible-change"?: ((...args: any[]) => any) | undefined; | ||
}, { | ||
disabled: boolean; | ||
tabindex: number; | ||
tiny_mode_root: boolean; | ||
size: string; | ||
round: boolean; | ||
border: boolean; | ||
trigger: string; | ||
size: string; | ||
singleButton: boolean; | ||
@@ -141,5 +144,2 @@ showTimeout: number; | ||
hideOnClick: boolean; | ||
tabindex: number; | ||
border: boolean; | ||
round: boolean; | ||
showIcon: boolean; | ||
@@ -146,0 +146,0 @@ showSelfIcon: boolean; |
@@ -70,3 +70,3 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{ | ||
m: (...cssClasses: any[]) => string; | ||
}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("item-click" | "visible-change" | "handle-click" | "menu-item-click" | "button-click")[], "item-click" | "visible-change" | "handle-click" | "menu-item-click" | "button-click", import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{ | ||
}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("handle-click" | "item-click" | "button-click" | "menu-item-click" | "visible-change")[], "handle-click" | "item-click" | "button-click" | "menu-item-click" | "visible-change", import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{ | ||
type: StringConstructor; | ||
@@ -133,19 +133,19 @@ trigger: { | ||
"onItem-click"?: ((...args: any[]) => any) | undefined; | ||
"onButton-click"?: ((...args: any[]) => any) | undefined; | ||
"onVisible-change"?: ((...args: any[]) => any) | undefined; | ||
"onHandle-click"?: ((...args: any[]) => any) | undefined; | ||
"onMenu-item-click"?: ((...args: any[]) => any) | undefined; | ||
"onButton-click"?: ((...args: any[]) => any) | undefined; | ||
"onHandle-click"?: ((...args: any[]) => any) | undefined; | ||
}, { | ||
title: string; | ||
disabled: boolean; | ||
tabindex: number; | ||
size: string; | ||
round: boolean; | ||
border: boolean; | ||
trigger: string; | ||
size: string; | ||
splitButton: boolean; | ||
showTimeout: number; | ||
hideTimeout: number; | ||
hideOnClick: boolean; | ||
tabindex: number; | ||
border: boolean; | ||
round: boolean; | ||
showIcon: boolean; | ||
splitButton: boolean; | ||
menuOptions: Record<string, any>; | ||
@@ -152,0 +152,0 @@ inheritWidth: boolean; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
32844
1039