@opentiny/vue-dropdown-item
Advanced tools
Comparing version 3.17.0 to 3.17.1-prod.0
function _extends() { | ||
return _extends = Object.assign ? Object.assign.bind() : function(n) { | ||
for (var e = 1; e < arguments.length; e++) { | ||
var t = arguments[e]; | ||
for (var r in t) | ||
({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); | ||
_extends = Object.assign ? Object.assign.bind() : function(target) { | ||
for (var i = 1; i < arguments.length; i++) { | ||
var source = arguments[i]; | ||
for (var key in source) { | ||
if (Object.prototype.hasOwnProperty.call(source, key)) { | ||
target[key] = source[key]; | ||
} | ||
} | ||
} | ||
return n; | ||
}, _extends.apply(null, arguments); | ||
return target; | ||
}; | ||
return _extends.apply(this, arguments); | ||
} | ||
@@ -118,3 +122,3 @@ import { defineComponent, $prefix, $setup, $props } from "@opentiny/vue-common"; | ||
}); | ||
var version = "3.17.0"; | ||
var version = "3.16.1-prod.0"; | ||
DropdownItem.model = { | ||
@@ -121,0 +125,0 @@ prop: "modelValue", |
@@ -5,11 +5,14 @@ import { defineComponent, props, setup } from '@opentiny/vue-common'; | ||
function _createForOfIteratorHelperLoose(r, e) { | ||
var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; | ||
if (t) | ||
return (t = t.call(r)).next.bind(t); | ||
if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { | ||
t && (r = t); | ||
var o = 0; | ||
function _createForOfIteratorHelperLoose(o, allowArrayLike) { | ||
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; | ||
if (it) | ||
return (it = it.call(o)).next.bind(it); | ||
if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { | ||
if (it) | ||
o = it; | ||
var i = 0; | ||
return function() { | ||
return o >= r.length ? { done: true } : { done: false, value: r[o++] }; | ||
if (i >= o.length) | ||
return { done: true }; | ||
return { done: false, value: o[i++] }; | ||
}; | ||
@@ -19,15 +22,21 @@ } | ||
} | ||
function _unsupportedIterableToArray(r, a) { | ||
if (r) { | ||
if ("string" == typeof r) | ||
return _arrayLikeToArray(r, a); | ||
var t = {}.toString.call(r).slice(8, -1); | ||
return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; | ||
} | ||
function _unsupportedIterableToArray(o, minLen) { | ||
if (!o) | ||
return; | ||
if (typeof o === "string") | ||
return _arrayLikeToArray(o, minLen); | ||
var n = Object.prototype.toString.call(o).slice(8, -1); | ||
if (n === "Object" && o.constructor) | ||
n = o.constructor.name; | ||
if (n === "Map" || n === "Set") | ||
return Array.from(o); | ||
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) | ||
return _arrayLikeToArray(o, minLen); | ||
} | ||
function _arrayLikeToArray(r, a) { | ||
(null == a || a > r.length) && (a = r.length); | ||
for (var e = 0, n = Array(a); e < a; e++) | ||
n[e] = r[e]; | ||
return n; | ||
function _arrayLikeToArray(arr, len) { | ||
if (len == null || len > arr.length) | ||
len = arr.length; | ||
for (var i = 0, arr2 = new Array(len); i < len; i++) | ||
arr2[i] = arr[i]; | ||
return arr2; | ||
} | ||
@@ -34,0 +43,0 @@ var _export_sfc = function _export_sfc2(sfc, props) { |
@@ -10,11 +10,14 @@ import { renderless, api } from '@opentiny/vue-renderless/dropdown-item/vue'; | ||
function _createForOfIteratorHelperLoose(r, e) { | ||
var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; | ||
if (t) | ||
return (t = t.call(r)).next.bind(t); | ||
if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { | ||
t && (r = t); | ||
var o = 0; | ||
function _createForOfIteratorHelperLoose(o, allowArrayLike) { | ||
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; | ||
if (it) | ||
return (it = it.call(o)).next.bind(it); | ||
if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { | ||
if (it) | ||
o = it; | ||
var i = 0; | ||
return function() { | ||
return o >= r.length ? { done: true } : { done: false, value: r[o++] }; | ||
if (i >= o.length) | ||
return { done: true }; | ||
return { done: false, value: o[i++] }; | ||
}; | ||
@@ -24,15 +27,21 @@ } | ||
} | ||
function _unsupportedIterableToArray(r, a) { | ||
if (r) { | ||
if ("string" == typeof r) | ||
return _arrayLikeToArray(r, a); | ||
var t = {}.toString.call(r).slice(8, -1); | ||
return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; | ||
} | ||
function _unsupportedIterableToArray(o, minLen) { | ||
if (!o) | ||
return; | ||
if (typeof o === "string") | ||
return _arrayLikeToArray(o, minLen); | ||
var n = Object.prototype.toString.call(o).slice(8, -1); | ||
if (n === "Object" && o.constructor) | ||
n = o.constructor.name; | ||
if (n === "Map" || n === "Set") | ||
return Array.from(o); | ||
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) | ||
return _arrayLikeToArray(o, minLen); | ||
} | ||
function _arrayLikeToArray(r, a) { | ||
(null == a || a > r.length) && (a = r.length); | ||
for (var e = 0, n = Array(a); e < a; e++) | ||
n[e] = r[e]; | ||
return n; | ||
function _arrayLikeToArray(arr, len) { | ||
if (len == null || len > arr.length) | ||
len = arr.length; | ||
for (var i = 0, arr2 = new Array(len); i < len; i++) | ||
arr2[i] = arr[i]; | ||
return arr2; | ||
} | ||
@@ -39,0 +48,0 @@ var _export_sfc = function _export_sfc2(sfc, props) { |
189
lib/pc.js
import { defineComponent, $prefix, props, 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 '@opentiny/vue-theme/dropdown-item/index.css'; | ||
import { resolveComponent, openBlock, createBlock, withCtx, createElementVNode, normalizeClass, withModifiers, createElementBlock, resolveDynamicComponent, createCommentVNode, renderSlot, toDisplayString, Fragment, renderList } from 'vue'; | ||
import { resolveComponent, openBlock, createElementBlock, normalizeClass, withModifiers, createElementVNode, createBlock, resolveDynamicComponent, createCommentVNode, renderSlot, toDisplayString, Fragment, renderList, withCtx } from 'vue'; | ||
function _createForOfIteratorHelperLoose(r, e) { | ||
var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; | ||
if (t) | ||
return (t = t.call(r)).next.bind(t); | ||
if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { | ||
t && (r = t); | ||
var o = 0; | ||
function _createForOfIteratorHelperLoose(o, allowArrayLike) { | ||
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; | ||
if (it) | ||
return (it = it.call(o)).next.bind(it); | ||
if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { | ||
if (it) | ||
o = it; | ||
var i = 0; | ||
return function() { | ||
return o >= r.length ? { done: true } : { done: false, value: r[o++] }; | ||
if (i >= o.length) | ||
return { done: true }; | ||
return { done: false, value: o[i++] }; | ||
}; | ||
@@ -21,15 +23,21 @@ } | ||
} | ||
function _unsupportedIterableToArray(r, a) { | ||
if (r) { | ||
if ("string" == typeof r) | ||
return _arrayLikeToArray(r, a); | ||
var t = {}.toString.call(r).slice(8, -1); | ||
return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; | ||
} | ||
function _unsupportedIterableToArray(o, minLen) { | ||
if (!o) | ||
return; | ||
if (typeof o === "string") | ||
return _arrayLikeToArray(o, minLen); | ||
var n = Object.prototype.toString.call(o).slice(8, -1); | ||
if (n === "Object" && o.constructor) | ||
n = o.constructor.name; | ||
if (n === "Map" || n === "Set") | ||
return Array.from(o); | ||
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) | ||
return _arrayLikeToArray(o, minLen); | ||
} | ||
function _arrayLikeToArray(r, a) { | ||
(null == a || a > r.length) && (a = r.length); | ||
for (var e = 0, n = Array(a); e < a; e++) | ||
n[e] = r[e]; | ||
return n; | ||
function _arrayLikeToArray(arr, len) { | ||
if (len == null || len > arr.length) | ||
len = arr.length; | ||
for (var i = 0, arr2 = new Array(len); i < len; i++) | ||
arr2[i] = arr[i]; | ||
return arr2; | ||
} | ||
@@ -70,4 +78,3 @@ var _export_sfc = function _export_sfc2(sfc, props) { | ||
components: { | ||
IconDeltaLeft: iconDeltaLeft(), | ||
TinyTooltip: Tooltip | ||
IconDeltaLeft: iconDeltaLeft() | ||
}, | ||
@@ -99,75 +106,65 @@ setup: function setup$1(props2, context) { | ||
var _component_tiny_dropdown_item = resolveComponent("tiny-dropdown-item"); | ||
var _component_tiny_tooltip = resolveComponent("tiny-tooltip"); | ||
return openBlock(), createBlock(_component_tiny_tooltip, { | ||
content: _ctx.getTip, | ||
placement: _ctx.tipPosition | ||
}, { | ||
default: withCtx(function() { | ||
return [createElementVNode("li", { | ||
class: normalizeClass(["tiny-dropdown-item tiny-dropdown-menu__item", { | ||
"is-disabled": _ctx.disabled, | ||
"tiny-dropdown-item--divided tiny-dropdown-menu__item--divided": _ctx.divided, | ||
"tiny-dropdown-item--check-status": _ctx.state.checkedStatus && _ctx.selected, | ||
"has-children": _ctx.itemData.children && _ctx.itemData.children.length | ||
}]), | ||
ref: "dropdownItem", | ||
onClick: _cache[0] || (_cache[0] = withModifiers(function() { | ||
return _ctx.handleClick && _ctx.handleClick.apply(_ctx, arguments); | ||
}, ["stop"])), | ||
onMousedown: _cache[1] || (_cache[1] = withModifiers(function() { | ||
}, ["stop"])), | ||
"aria-disabled": _ctx.disabled, | ||
tabindex: _ctx.disabled ? null : -1 | ||
}, [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), { | ||
key: 0, | ||
class: "tiny-svg-size" | ||
})) : createCommentVNode("v-if", true), createElementVNode("span", _hoisted_5, [renderSlot(_ctx.$slots, "default", { | ||
itemData: _ctx.itemData | ||
}, function() { | ||
return [createElementVNode( | ||
"span", | ||
null, | ||
toDisplayString(_ctx.label), | ||
1 | ||
/* TEXT */ | ||
)]; | ||
})])]), _ctx.itemData.children && _ctx.itemData.children.length ? (openBlock(), createElementBlock( | ||
"ul", | ||
{ | ||
key: 1, | ||
class: normalizeClass(["tiny-dropdown-menu", "tiny-dropdown-item--child tiny-dropdown-menu__item--child", _ctx.state.popperClass]) | ||
}, | ||
[(openBlock(true), createElementBlock( | ||
Fragment, | ||
null, | ||
renderList(_ctx.itemData.children, function(item, index) { | ||
return openBlock(), createBlock(_component_tiny_dropdown_item, { | ||
key: index, | ||
label: item[_ctx.state.textField], | ||
"item-data": item, | ||
icon: item.icon, | ||
disabled: item.disabled, | ||
divided: item.divided, | ||
tip: item.tip, | ||
"tip-position": item.tipPosition | ||
}, { | ||
default: withCtx(function() { | ||
return [renderSlot(_ctx.$slots, "default", { | ||
itemData: item | ||
})]; | ||
}), | ||
_: 2 | ||
/* DYNAMIC */ | ||
}, 1032, ["label", "item-data", "icon", "disabled", "divided", "tip", "tip-position"]); | ||
return openBlock(), createElementBlock("li", { | ||
class: normalizeClass(["tiny-dropdown-item tiny-dropdown-menu__item", { | ||
"is-disabled": _ctx.disabled, | ||
"tiny-dropdown-item--divided tiny-dropdown-menu__item--divided": _ctx.divided, | ||
"tiny-dropdown-item--check-status": _ctx.state.checkedStatus && _ctx.selected, | ||
"has-children": _ctx.itemData.children && _ctx.itemData.children.length | ||
}]), | ||
ref: "dropdownItem", | ||
onClick: _cache[0] || (_cache[0] = withModifiers(function() { | ||
return _ctx.handleClick && _ctx.handleClick.apply(_ctx, arguments); | ||
}, ["stop"])), | ||
onMousedown: _cache[1] || (_cache[1] = withModifiers(function() { | ||
}, ["stop"])), | ||
"aria-disabled": _ctx.disabled, | ||
tabindex: _ctx.disabled ? null : -1 | ||
}, [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), { | ||
key: 0, | ||
class: "tiny-svg-size" | ||
})) : createCommentVNode("v-if", true), createElementVNode("span", _hoisted_5, [renderSlot(_ctx.$slots, "default", { | ||
itemData: _ctx.itemData | ||
}, function() { | ||
return [createElementVNode( | ||
"span", | ||
null, | ||
toDisplayString(_ctx.label), | ||
1 | ||
/* TEXT */ | ||
)]; | ||
})])]), _ctx.itemData.children && _ctx.itemData.children.length ? (openBlock(), createElementBlock( | ||
"ul", | ||
{ | ||
key: 1, | ||
class: normalizeClass(["tiny-dropdown-menu", "tiny-dropdown-item--child tiny-dropdown-menu__item--child", _ctx.state.popperClass]) | ||
}, | ||
[(openBlock(true), createElementBlock( | ||
Fragment, | ||
null, | ||
renderList(_ctx.itemData.children, function(item, index) { | ||
return openBlock(), createBlock(_component_tiny_dropdown_item, { | ||
key: index, | ||
label: item[_ctx.state.textField], | ||
"item-data": item, | ||
icon: item.icon, | ||
disabled: item.disabled, | ||
divided: item.divided, | ||
tip: item.tip, | ||
"tip-position": item.tipPosition | ||
}, { | ||
default: withCtx(function() { | ||
return [renderSlot(_ctx.$slots, "default", { | ||
itemData: item | ||
})]; | ||
}), | ||
128 | ||
/* KEYED_FRAGMENT */ | ||
))], | ||
2 | ||
/* CLASS */ | ||
)) : createCommentVNode("v-if", true)])], 42, _hoisted_1)]; | ||
}), | ||
_: 3 | ||
/* FORWARDED */ | ||
}, 8, ["content", "placement"]); | ||
_: 2 | ||
/* DYNAMIC */ | ||
}, 1032, ["label", "item-data", "icon", "disabled", "divided", "tip", "tip-position"]); | ||
}), | ||
128 | ||
/* KEYED_FRAGMENT */ | ||
))], | ||
2 | ||
/* CLASS */ | ||
)) : createCommentVNode("v-if", true)])], 42, _hoisted_1); | ||
} | ||
@@ -174,0 +171,0 @@ var pc = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]); |
{ | ||
"name": "@opentiny/vue-dropdown-item", | ||
"version": "3.17.0", | ||
"type": "module", | ||
"version": "3.17.1-prod.0", | ||
"description": "", | ||
"license": "MIT", | ||
"sideEffects": false, | ||
"main": "./lib/index.js", | ||
"module": "./lib/index.js", | ||
"sideEffects": false, | ||
"type": "module", | ||
"scripts": { | ||
"build": "pnpm -w build:ui $npm_package_name", | ||
"//postversion": "pnpm build" | ||
}, | ||
"dependencies": { | ||
"@opentiny/vue-button": "~3.17.0", | ||
"@opentiny/vue-common": "~3.17.0", | ||
"@opentiny/vue-icon": "~3.17.0", | ||
"@opentiny/vue-popup": "~3.17.0", | ||
"@opentiny/vue-renderless": "~3.17.0", | ||
"@opentiny/vue-popup": "~3.17.0", | ||
"@opentiny/vue-button": "~3.17.0", | ||
"@opentiny/vue-tooltip": "~3.17.0", | ||
"@opentiny/vue-theme-mobile": "~3.17.0", | ||
"@opentiny/vue-theme": "~3.17.0" | ||
"@opentiny/vue-theme": "~3.17.0", | ||
"@opentiny/vue-theme-mobile": "~3.17.0" | ||
}, | ||
"license": "MIT", | ||
"types": "index.d.ts", | ||
"scripts": { | ||
"build": "pnpm -w build:ui $npm_package_name", | ||
"//postversion": "pnpm build" | ||
} | ||
"types": "index.d.ts" | ||
} |
@@ -26,7 +26,7 @@ /** | ||
}; | ||
icon: (StringConstructor | ObjectConstructor)[]; | ||
icon: (ObjectConstructor | StringConstructor)[]; | ||
disabled: BooleanConstructor; | ||
divided: BooleanConstructor; | ||
itemData: { | ||
type: (StringConstructor | ObjectConstructor)[]; | ||
type: (ObjectConstructor | StringConstructor)[]; | ||
default: string; | ||
@@ -98,7 +98,7 @@ }; | ||
}; | ||
icon: (StringConstructor | ObjectConstructor)[]; | ||
icon: (ObjectConstructor | StringConstructor)[]; | ||
disabled: BooleanConstructor; | ||
divided: BooleanConstructor; | ||
itemData: { | ||
type: (StringConstructor | ObjectConstructor)[]; | ||
type: (ObjectConstructor | StringConstructor)[]; | ||
default: string; | ||
@@ -171,7 +171,7 @@ }; | ||
}; | ||
icon: (StringConstructor | ObjectConstructor)[]; | ||
icon: (ObjectConstructor | StringConstructor)[]; | ||
disabled: BooleanConstructor; | ||
divided: BooleanConstructor; | ||
itemData: { | ||
type: (StringConstructor | ObjectConstructor)[]; | ||
type: (ObjectConstructor | StringConstructor)[]; | ||
default: string; | ||
@@ -234,16 +234,16 @@ }; | ||
}>>, { | ||
disabled: boolean; | ||
divided: boolean; | ||
type: string; | ||
selected: boolean; | ||
disabled: boolean; | ||
tiny_mode_root: boolean; | ||
_constants: Record<string, any>; | ||
appendToBody: boolean; | ||
itemData: string | Record<string, any>; | ||
options: unknown[]; | ||
multiStage: boolean; | ||
options: unknown[]; | ||
textField: string; | ||
itemData: string | Record<string, any>; | ||
selectedField: string; | ||
currentIndex: number; | ||
tooltipContent: string; | ||
appendToBody: boolean; | ||
divided: boolean; | ||
selectedField: string; | ||
textField: string; | ||
tip: string | Function; | ||
@@ -250,0 +250,0 @@ tipPosition: string; |
declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{ | ||
label?: any; | ||
selected?: any; | ||
disabled?: any; | ||
icon?: any; | ||
selected?: any; | ||
tiny_mode?: any; | ||
@@ -14,10 +13,10 @@ tiny_mode_root?: any; | ||
itemData?: any; | ||
icon?: any; | ||
level?: any; | ||
currentIndex?: any; | ||
tooltipContent?: any; | ||
}>, any, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("change" | "close" | "reset" | "confirm" | "update:modelValue" | "open" | "closed" | "opened")[], "change" | "close" | "reset" | "confirm" | "update:modelValue" | "open" | "closed" | "opened", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{ | ||
}>, any, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("update:modelValue" | "change" | "closed" | "open" | "opened" | "close" | "confirm" | "reset")[], "update:modelValue" | "change" | "closed" | "open" | "opened" | "close" | "confirm" | "reset", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{ | ||
label?: any; | ||
selected?: any; | ||
disabled?: any; | ||
icon?: any; | ||
selected?: any; | ||
tiny_mode?: any; | ||
@@ -31,2 +30,3 @@ tiny_mode_root?: any; | ||
itemData?: any; | ||
icon?: any; | ||
level?: any; | ||
@@ -40,11 +40,10 @@ currentIndex?: any; | ||
"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; | ||
onConfirm?: ((...args: any[]) => any) | undefined; | ||
}, { | ||
readonly label?: any; | ||
readonly selected?: any; | ||
readonly disabled?: any; | ||
readonly icon?: any; | ||
readonly selected?: any; | ||
readonly tiny_mode?: any; | ||
@@ -58,2 +57,3 @@ readonly tiny_mode_root?: any; | ||
readonly itemData?: any; | ||
readonly icon?: any; | ||
readonly level?: any; | ||
@@ -60,0 +60,0 @@ readonly currentIndex?: any; |
declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{ | ||
disabled?: any; | ||
icon?: any; | ||
type?: any; | ||
title?: any; | ||
disabled?: any; | ||
tiny_mode?: any; | ||
@@ -14,4 +13,5 @@ tiny_mode_root?: any; | ||
modelValue?: any; | ||
icon?: any; | ||
titleClass?: any; | ||
options?: any; | ||
titleClass?: any; | ||
}>, { | ||
@@ -25,7 +25,6 @@ t: (this: any, path: any, options?: any) => any; | ||
gcls: (key: any) => any; | ||
}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("item-click" | "change" | "click" | "close" | "reset" | "confirm" | "update:modelValue" | "open" | "closed" | "opened")[], "item-click" | "change" | "click" | "close" | "reset" | "confirm" | "update:modelValue" | "open" | "closed" | "opened", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{ | ||
disabled?: any; | ||
icon?: any; | ||
}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("update:modelValue" | "change" | "closed" | "open" | "opened" | "close" | "confirm" | "reset" | "item-click" | "click")[], "update:modelValue" | "change" | "closed" | "open" | "opened" | "close" | "confirm" | "reset" | "item-click" | "click", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{ | ||
type?: any; | ||
title?: any; | ||
disabled?: any; | ||
tiny_mode?: any; | ||
@@ -39,20 +38,20 @@ tiny_mode_root?: any; | ||
modelValue?: any; | ||
icon?: any; | ||
titleClass?: any; | ||
options?: any; | ||
titleClass?: any; | ||
}>>> & { | ||
onChange?: ((...args: any[]) => any) | undefined; | ||
onClick?: ((...args: any[]) => any) | undefined; | ||
onClose?: ((...args: any[]) => any) | undefined; | ||
onReset?: ((...args: any[]) => any) | undefined; | ||
"onItem-click"?: ((...args: any[]) => any) | undefined; | ||
onClick?: ((...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; | ||
onConfirm?: ((...args: any[]) => any) | undefined; | ||
"onItem-click"?: ((...args: any[]) => any) | undefined; | ||
}, { | ||
readonly disabled?: any; | ||
readonly icon?: any; | ||
readonly type?: any; | ||
readonly title?: any; | ||
readonly disabled?: any; | ||
readonly tiny_mode?: any; | ||
@@ -66,5 +65,6 @@ readonly tiny_mode_root?: any; | ||
readonly modelValue?: any; | ||
readonly icon?: any; | ||
readonly titleClass?: any; | ||
readonly options?: any; | ||
readonly titleClass?: any; | ||
}, {}>; | ||
export default _default; |
import type { IDropdownItemApi } from '@opentiny/vue-renderless/types/dropdown-item.type'; | ||
declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{ | ||
type?: any; | ||
label?: any; | ||
disabled?: any; | ||
divided?: any; | ||
icon?: any; | ||
type?: any; | ||
title?: any; | ||
selected?: any; | ||
disabled?: any; | ||
tiny_mode?: any; | ||
@@ -17,20 +15,20 @@ tiny_mode_root?: any; | ||
tiny_chart_theme?: any; | ||
multiStage?: any; | ||
options?: any; | ||
textField?: any; | ||
appendToBody?: any; | ||
itemData?: any; | ||
icon?: any; | ||
titleClass?: any; | ||
options?: any; | ||
multiStage?: any; | ||
currentIndex?: any; | ||
divided?: any; | ||
selectedField?: any; | ||
currentIndex?: any; | ||
appendToBody?: any; | ||
textField?: any; | ||
tip?: any; | ||
tipPosition?: any; | ||
}>, IDropdownItemApi, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("item-click" | "change" | "close" | "reset" | "confirm" | "update:modelValue" | "open" | "closed" | "opened")[], "item-click" | "change" | "close" | "reset" | "confirm" | "update:modelValue" | "open" | "closed" | "opened", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{ | ||
}>, IDropdownItemApi, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("update:modelValue" | "change" | "closed" | "open" | "opened" | "close" | "confirm" | "reset" | "item-click")[], "update:modelValue" | "change" | "closed" | "open" | "opened" | "close" | "confirm" | "reset" | "item-click", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{ | ||
type?: any; | ||
label?: any; | ||
disabled?: any; | ||
divided?: any; | ||
icon?: any; | ||
type?: any; | ||
title?: any; | ||
selected?: any; | ||
disabled?: any; | ||
tiny_mode?: any; | ||
@@ -43,10 +41,12 @@ tiny_mode_root?: any; | ||
tiny_chart_theme?: any; | ||
multiStage?: any; | ||
options?: any; | ||
textField?: any; | ||
appendToBody?: any; | ||
itemData?: any; | ||
icon?: any; | ||
titleClass?: any; | ||
options?: any; | ||
multiStage?: any; | ||
currentIndex?: any; | ||
divided?: any; | ||
selectedField?: any; | ||
currentIndex?: any; | ||
appendToBody?: any; | ||
textField?: any; | ||
tip?: any; | ||
@@ -58,16 +58,14 @@ tipPosition?: any; | ||
onReset?: ((...args: any[]) => any) | undefined; | ||
"onItem-click"?: ((...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; | ||
onConfirm?: ((...args: any[]) => any) | undefined; | ||
"onItem-click"?: ((...args: any[]) => any) | undefined; | ||
}, { | ||
readonly type?: any; | ||
readonly label?: any; | ||
readonly disabled?: any; | ||
readonly divided?: any; | ||
readonly icon?: any; | ||
readonly type?: any; | ||
readonly title?: any; | ||
readonly selected?: any; | ||
readonly disabled?: any; | ||
readonly tiny_mode?: any; | ||
@@ -80,10 +78,12 @@ readonly tiny_mode_root?: any; | ||
readonly tiny_chart_theme?: any; | ||
readonly multiStage?: any; | ||
readonly options?: any; | ||
readonly textField?: any; | ||
readonly appendToBody?: any; | ||
readonly itemData?: any; | ||
readonly icon?: any; | ||
readonly titleClass?: any; | ||
readonly options?: any; | ||
readonly multiStage?: any; | ||
readonly currentIndex?: any; | ||
readonly divided?: any; | ||
readonly selectedField?: any; | ||
readonly currentIndex?: any; | ||
readonly appendToBody?: any; | ||
readonly textField?: any; | ||
readonly tip?: any; | ||
@@ -90,0 +90,0 @@ readonly tipPosition?: any; |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
7
1102
38485
10
2
- Removed@opentiny/vue-tooltip@~3.17.0
- Removed@opentiny/vue-tooltip@3.17.0(transitive)