@opentiny/vue-dropdown-item
Advanced tools
Comparing version 3.15.0 to 3.16.0-prod.0
function _extends() { | ||
_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 _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]); | ||
} | ||
return target; | ||
}; | ||
return _extends.apply(this, arguments); | ||
return n; | ||
}, _extends.apply(null, arguments); | ||
} | ||
@@ -122,3 +118,3 @@ import { defineComponent, $prefix, $setup, $props } from "@opentiny/vue-common"; | ||
}); | ||
var version = "3.15.0"; | ||
var version = "3.16.0-prod.0"; | ||
DropdownItem.model = { | ||
@@ -125,0 +121,0 @@ prop: "modelValue", |
@@ -5,14 +5,11 @@ import { defineComponent, props, setup } from '@opentiny/vue-common'; | ||
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; | ||
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; | ||
return function() { | ||
if (i >= o.length) | ||
return { done: true }; | ||
return { done: false, value: o[i++] }; | ||
return o >= r.length ? { done: true } : { done: false, value: r[o++] }; | ||
}; | ||
@@ -22,21 +19,15 @@ } | ||
} | ||
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 _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 _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; | ||
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; | ||
} | ||
@@ -43,0 +34,0 @@ var _export_sfc = function _export_sfc2(sfc, props) { |
@@ -10,14 +10,11 @@ import { renderless, api } from '@opentiny/vue-renderless/dropdown-item/vue'; | ||
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; | ||
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; | ||
return function() { | ||
if (i >= o.length) | ||
return { done: true }; | ||
return { done: false, value: o[i++] }; | ||
return o >= r.length ? { done: true } : { done: false, value: r[o++] }; | ||
}; | ||
@@ -27,21 +24,15 @@ } | ||
} | ||
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 _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 _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; | ||
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; | ||
} | ||
@@ -48,0 +39,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(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; | ||
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; | ||
return function() { | ||
if (i >= o.length) | ||
return { done: true }; | ||
return { done: false, value: o[i++] }; | ||
return o >= r.length ? { done: true } : { done: false, value: r[o++] }; | ||
}; | ||
@@ -24,21 +20,15 @@ } | ||
} | ||
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 _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 _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; | ||
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; | ||
} | ||
@@ -79,4 +69,3 @@ var _export_sfc = function _export_sfc2(sfc, props) { | ||
components: { | ||
IconDeltaLeft: iconDeltaLeft(), | ||
TinyTooltip: Tooltip | ||
IconDeltaLeft: iconDeltaLeft() | ||
}, | ||
@@ -108,75 +97,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); | ||
} | ||
@@ -183,0 +162,0 @@ var pc = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]); |
{ | ||
"name": "@opentiny/vue-dropdown-item", | ||
"version": "3.15.0", | ||
"type": "module", | ||
"version": "3.16.0-prod.0", | ||
"description": "", | ||
"license": "MIT", | ||
"sideEffects": false, | ||
"main": "./lib/index.js", | ||
"module": "./lib/index.js", | ||
"sideEffects": false, | ||
"type": "module", | ||
"dependencies": { | ||
"@opentiny/vue-common": "~3.15.0", | ||
"@opentiny/vue-icon": "~3.15.0", | ||
"@opentiny/vue-renderless": "~3.15.0", | ||
"@opentiny/vue-popup": "~3.15.0", | ||
"@opentiny/vue-button": "~3.15.0", | ||
"@opentiny/vue-tooltip": "~3.15.0", | ||
"@opentiny/vue-theme-mobile": "~3.15.0", | ||
"@opentiny/vue-theme": "~3.15.0" | ||
"@opentiny/vue-button": "~3.16.0-prod.0", | ||
"@opentiny/vue-common": "~3.16.0-prod.0", | ||
"@opentiny/vue-icon": "~3.16.0-prod.0", | ||
"@opentiny/vue-popup": "~3.16.0-prod.0", | ||
"@opentiny/vue-renderless": "~3.16.0-prod.0", | ||
"@opentiny/vue-theme": "~3.16.0-prod.0", | ||
"@opentiny/vue-theme-mobile": "~3.16.0-prod.0" | ||
}, | ||
"license": "MIT", | ||
"types": "index.d.ts", | ||
@@ -21,0 +20,0 @@ "scripts": { |
@@ -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; | ||
@@ -162,3 +162,3 @@ }; | ||
[key: string]: any; | ||
}>, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, 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, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{ | ||
_constants: { | ||
@@ -172,7 +172,7 @@ type: ObjectConstructor; | ||
}; | ||
icon: (StringConstructor | ObjectConstructor)[]; | ||
icon: (ObjectConstructor | StringConstructor)[]; | ||
disabled: BooleanConstructor; | ||
divided: BooleanConstructor; | ||
itemData: { | ||
type: (StringConstructor | ObjectConstructor)[]; | ||
type: (ObjectConstructor | StringConstructor)[]; | ||
default: string; | ||
@@ -240,11 +240,11 @@ }; | ||
_constants: Record<string, any>; | ||
options: unknown[]; | ||
multiStage: boolean; | ||
options: unknown[]; | ||
textField: string; | ||
divided: boolean; | ||
itemData: string | Record<string, any>; | ||
selectedField: string; | ||
currentIndex: number; | ||
tooltipContent: string; | ||
divided: boolean; | ||
selectedField: string; | ||
appendToBody: boolean; | ||
textField: string; | ||
tip: string | Function; | ||
@@ -251,0 +251,0 @@ tipPosition: string; |
@@ -17,3 +17,3 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{ | ||
tooltipContent?: any; | ||
}>, any, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("confirm" | "change" | "update:modelValue" | "close" | "reset" | "open" | "closed" | "opened")[], "confirm" | "change" | "update:modelValue" | "close" | "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, ("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; | ||
@@ -36,8 +36,8 @@ selected?: any; | ||
onChange?: ((...args: any[]) => any) | undefined; | ||
onClose?: ((...args: any[]) => any) | undefined; | ||
onReset?: ((...args: any[]) => any) | undefined; | ||
onConfirm?: ((...args: any[]) => any) | undefined; | ||
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined; | ||
onClose?: ((...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; | ||
@@ -44,0 +44,0 @@ }, { |
@@ -13,5 +13,5 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{ | ||
modelValue?: any; | ||
options?: any; | ||
icon?: any; | ||
titleClass?: any; | ||
options?: any; | ||
}>, { | ||
@@ -25,3 +25,3 @@ 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" | "confirm" | "change" | "update:modelValue" | "close" | "click" | "reset" | "open" | "closed" | "opened")[], "item-click" | "confirm" | "change" | "update:modelValue" | "close" | "click" | "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, ("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; | ||
@@ -38,16 +38,16 @@ title?: any; | ||
modelValue?: any; | ||
options?: any; | ||
icon?: any; | ||
titleClass?: any; | ||
options?: any; | ||
}>>> & { | ||
"onItem-click"?: ((...args: any[]) => any) | undefined; | ||
onChange?: ((...args: any[]) => any) | undefined; | ||
onClose?: ((...args: any[]) => any) | undefined; | ||
onReset?: ((...args: any[]) => any) | undefined; | ||
onClick?: ((...args: any[]) => any) | undefined; | ||
onConfirm?: ((...args: any[]) => any) | undefined; | ||
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined; | ||
onClose?: ((...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; | ||
"onItem-click"?: ((...args: any[]) => any) | undefined; | ||
}, { | ||
@@ -65,6 +65,6 @@ readonly type?: any; | ||
readonly modelValue?: any; | ||
readonly options?: any; | ||
readonly icon?: any; | ||
readonly titleClass?: any; | ||
readonly options?: any; | ||
}, {}>; | ||
export default _default; |
@@ -15,15 +15,15 @@ import type { IDropdownItemApi } from '@opentiny/vue-renderless/types/dropdown-item.type'; | ||
tiny_chart_theme?: any; | ||
icon?: any; | ||
titleClass?: any; | ||
options?: any; | ||
multiStage?: any; | ||
options?: any; | ||
textField?: any; | ||
icon?: any; | ||
itemData?: any; | ||
currentIndex?: any; | ||
divided?: any; | ||
itemData?: any; | ||
titleClass?: 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" | "confirm" | "change" | "update:modelValue" | "close" | "reset" | "open" | "closed" | "opened")[], "item-click" | "confirm" | "change" | "update:modelValue" | "close" | "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<{ | ||
}>, 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; | ||
@@ -41,24 +41,24 @@ label?: any; | ||
tiny_chart_theme?: any; | ||
icon?: any; | ||
titleClass?: any; | ||
options?: any; | ||
multiStage?: any; | ||
options?: any; | ||
textField?: any; | ||
icon?: any; | ||
itemData?: any; | ||
currentIndex?: any; | ||
divided?: any; | ||
itemData?: any; | ||
titleClass?: any; | ||
selectedField?: any; | ||
currentIndex?: any; | ||
appendToBody?: any; | ||
textField?: any; | ||
tip?: any; | ||
tipPosition?: any; | ||
}>>> & { | ||
"onItem-click"?: ((...args: any[]) => any) | undefined; | ||
onChange?: ((...args: any[]) => any) | undefined; | ||
onClose?: ((...args: any[]) => any) | undefined; | ||
onReset?: ((...args: any[]) => any) | undefined; | ||
onConfirm?: ((...args: any[]) => any) | undefined; | ||
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined; | ||
onClose?: ((...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; | ||
"onItem-click"?: ((...args: any[]) => any) | undefined; | ||
}, { | ||
@@ -77,12 +77,12 @@ readonly type?: any; | ||
readonly tiny_chart_theme?: any; | ||
readonly icon?: any; | ||
readonly titleClass?: any; | ||
readonly options?: any; | ||
readonly multiStage?: any; | ||
readonly options?: any; | ||
readonly textField?: any; | ||
readonly icon?: any; | ||
readonly itemData?: any; | ||
readonly currentIndex?: any; | ||
readonly divided?: any; | ||
readonly itemData?: any; | ||
readonly titleClass?: any; | ||
readonly selectedField?: any; | ||
readonly currentIndex?: any; | ||
readonly appendToBody?: any; | ||
readonly textField?: any; | ||
readonly tip?: any; | ||
@@ -89,0 +89,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
39158
1071
2
+ Added@opentiny/vue-button@3.16.0(transitive)
+ Added@opentiny/vue-common@3.16.0(transitive)
+ Added@opentiny/vue-icon@3.16.0(transitive)
+ Added@opentiny/vue-locale@3.16.0(transitive)
+ Added@opentiny/vue-popup@3.16.0(transitive)
+ Added@opentiny/vue-renderless@3.16.2(transitive)
+ Added@opentiny/vue-theme@3.16.4(transitive)
+ Added@opentiny/vue-theme-mobile@3.16.0(transitive)
- Removed@opentiny/vue-tooltip@~3.15.0
- Removed@opentiny/vue-button@3.15.0(transitive)
- Removed@opentiny/vue-common@3.15.0(transitive)
- Removed@opentiny/vue-icon@3.15.0(transitive)
- Removed@opentiny/vue-locale@3.15.0(transitive)
- Removed@opentiny/vue-popup@3.15.0(transitive)
- Removed@opentiny/vue-renderless@3.15.1(transitive)
- Removed@opentiny/vue-theme@3.15.1(transitive)
- Removed@opentiny/vue-theme-mobile@3.15.0(transitive)
- Removed@opentiny/vue-tooltip@3.15.0(transitive)