Socket
Socket
Sign inDemoInstall

@opentiny/vue-dropdown-item

Package Overview
Dependencies
Maintainers
1
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentiny/vue-dropdown-item - npm Package Compare versions

Comparing version 3.14.0 to 3.15.0

6

lib/index.js

@@ -88,2 +88,6 @@ function _extends() {

},
tooltipContent: {
type: String,
default: ""
},
// 以下为 tiny 新增

@@ -119,3 +123,3 @@ appendToBody: {

});
var version = "3.14.0";
var version = "3.15.0";
DropdownItem.model = {

@@ -122,0 +126,0 @@ prop: "modelValue",

32

lib/mobile-first.js

@@ -1,9 +0,10 @@

import { defineComponent, props, setup as _setup } from "@opentiny/vue-common";
import { renderless, api } from "@opentiny/vue-renderless/dropdown-item/mf";
import { openBlock, createElementBlock, normalizeClass, withModifiers, createElementVNode, createBlock, resolveDynamicComponent, createCommentVNode, renderSlot } from "vue";
function _createForOfIteratorHelperLoose_tiny(o, allowArrayLike) {
import { defineComponent, props, setup } from '@opentiny/vue-common';
import { renderless, api } from '@opentiny/vue-renderless/dropdown-item/mf';
import { openBlock, createElementBlock, normalizeClass, withModifiers, createElementVNode, createBlock, resolveDynamicComponent, createCommentVNode, renderSlot } 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_tiny(o)) || allowArrayLike && o && typeof o.length === "number") {
if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
if (it)

@@ -20,7 +21,7 @@ o = it;

}
function _unsupportedIterableToArray_tiny(o, minLen) {
function _unsupportedIterableToArray(o, minLen) {
if (!o)
return;
if (typeof o === "string")
return _arrayLikeToArray_tiny(o, minLen);
return _arrayLikeToArray(o, minLen);
var n = Object.prototype.toString.call(o).slice(8, -1);

@@ -32,5 +33,5 @@ if (n === "Object" && o.constructor)

if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
return _arrayLikeToArray_tiny(o, minLen);
return _arrayLikeToArray(o, minLen);
}
function _arrayLikeToArray_tiny(arr, len) {
function _arrayLikeToArray(arr, len) {
if (len == null || len > arr.length)

@@ -44,3 +45,3 @@ len = arr.length;

var target = sfc.__vccOpts || sfc;
for (var _iterator = _createForOfIteratorHelperLoose_tiny(props), _step; !(_step = _iterator()).done; ) {
for (var _iterator = _createForOfIteratorHelperLoose(props), _step; !(_step = _iterator()).done; ) {
var _step$value = _step.value, key = _step$value[0], val = _step$value[1];

@@ -54,5 +55,5 @@ target[key] = val;

emits: ["update:modelValue", "change", "closed", "open", "opened", "close", "confirm", "reset"],
props: [].concat(props, ["disabled", "icon", "itemData", "selected", "label", "level", "currentIndex"]),
setup: function setup(props2, context) {
return _setup({
props: [].concat(props, ["disabled", "icon", "itemData", "selected", "label", "level", "currentIndex", "tooltipContent"]),
setup: function setup$1(props2, context) {
return setup({
props: props2,

@@ -99,4 +100,3 @@ context,

var mobileFirst = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
export {
mobileFirst as default
};
export { mobileFirst as default };

@@ -1,14 +0,15 @@

import { renderless, api } from "@opentiny/vue-renderless/dropdown-item/vue";
import { defineComponent, directive, props, setup as _setup } from "@opentiny/vue-common";
import { iconYes } from "@opentiny/vue-icon";
import Popup from "@opentiny/vue-popup";
import Button from "@opentiny/vue-button";
import Clickoutside from "@opentiny/vue-renderless/common/deps/clickoutside";
import "@opentiny/vue-theme-mobile/dropdown-item/index.css";
import { resolveComponent, resolveDirective, withDirectives, openBlock, createElementBlock, normalizeClass, normalizeStyle, createVNode, withCtx, renderSlot, Fragment, renderList, createElementVNode, createBlock, resolveDynamicComponent, toDisplayString, createCommentVNode, createTextVNode, vShow } from "vue";
function _createForOfIteratorHelperLoose_tiny(o, allowArrayLike) {
import { renderless, api } from '@opentiny/vue-renderless/dropdown-item/vue';
import { defineComponent, directive, props, setup } from '@opentiny/vue-common';
import { iconYes } from '@opentiny/vue-icon';
import Popup from '@opentiny/vue-popup';
import Button from '@opentiny/vue-button';
import Clickoutside from '@opentiny/vue-renderless/common/deps/clickoutside';
import '@opentiny/vue-theme-mobile/dropdown-item/index.css';
import { resolveComponent, resolveDirective, withDirectives, openBlock, createElementBlock, normalizeClass, normalizeStyle, createVNode, withCtx, renderSlot, Fragment, renderList, createElementVNode, createBlock, resolveDynamicComponent, toDisplayString, createCommentVNode, createTextVNode, vShow } 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_tiny(o)) || allowArrayLike && o && typeof o.length === "number") {
if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
if (it)

@@ -25,7 +26,7 @@ o = it;

}
function _unsupportedIterableToArray_tiny(o, minLen) {
function _unsupportedIterableToArray(o, minLen) {
if (!o)
return;
if (typeof o === "string")
return _arrayLikeToArray_tiny(o, minLen);
return _arrayLikeToArray(o, minLen);
var n = Object.prototype.toString.call(o).slice(8, -1);

@@ -37,5 +38,5 @@ if (n === "Object" && o.constructor)

if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
return _arrayLikeToArray_tiny(o, minLen);
return _arrayLikeToArray(o, minLen);
}
function _arrayLikeToArray_tiny(arr, len) {
function _arrayLikeToArray(arr, len) {
if (len == null || len > arr.length)

@@ -49,3 +50,3 @@ len = arr.length;

var target = sfc.__vccOpts || sfc;
for (var _iterator = _createForOfIteratorHelperLoose_tiny(props), _step; !(_step = _iterator()).done; ) {
for (var _iterator = _createForOfIteratorHelperLoose(props), _step; !(_step = _iterator()).done; ) {
var _step$value = _step.value, key = _step$value[0], val = _step$value[1];

@@ -68,4 +69,4 @@ target[key] = val;

emits: ["update:modelValue", "open", "opened", "click", "change", "closed", "close", "reset", "confirm", "item-click"],
setup: function setup(props2, context) {
return _setup({
setup: function setup$1(props2, context) {
return setup({
props: props2,

@@ -233,4 +234,3 @@ context,

var mobile = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
export {
mobile as default
};
export { mobile as default };

@@ -1,12 +0,13 @@

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 "@opentiny/vue-theme/dropdown-item/index.css";
import { resolveComponent, openBlock, createBlock, withCtx, createElementVNode, normalizeClass, withModifiers, createElementBlock, resolveDynamicComponent, createCommentVNode, renderSlot, toDisplayString, Fragment, renderList } from "vue";
function _createForOfIteratorHelperLoose_tiny(o, allowArrayLike) {
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';
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_tiny(o)) || allowArrayLike && o && typeof o.length === "number") {
if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
if (it)

@@ -23,7 +24,7 @@ o = it;

}
function _unsupportedIterableToArray_tiny(o, minLen) {
function _unsupportedIterableToArray(o, minLen) {
if (!o)
return;
if (typeof o === "string")
return _arrayLikeToArray_tiny(o, minLen);
return _arrayLikeToArray(o, minLen);
var n = Object.prototype.toString.call(o).slice(8, -1);

@@ -35,5 +36,5 @@ if (n === "Object" && o.constructor)

if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
return _arrayLikeToArray_tiny(o, minLen);
return _arrayLikeToArray(o, minLen);
}
function _arrayLikeToArray_tiny(arr, len) {
function _arrayLikeToArray(arr, len) {
if (len == null || len > arr.length)

@@ -47,3 +48,3 @@ len = arr.length;

var target = sfc.__vccOpts || sfc;
for (var _iterator = _createForOfIteratorHelperLoose_tiny(props), _step; !(_step = _iterator()).done; ) {
for (var _iterator = _createForOfIteratorHelperLoose(props), _step; !(_step = _iterator()).done; ) {
var _step$value = _step.value, key = _step$value[0], val = _step$value[1];

@@ -83,4 +84,4 @@ target[key] = val;

},
setup: function setup(props2, context) {
return _setup({
setup: function setup$1(props2, context) {
return setup({
props: props2,

@@ -184,4 +185,3 @@ context,

var pc = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
export {
pc as default
};
export { pc as default };
{
"name": "@opentiny/vue-dropdown-item",
"version": "3.14.0",
"version": "3.15.0",
"description": "",

@@ -10,10 +10,10 @@ "main": "./lib/index.js",

"dependencies": {
"@opentiny/vue-common": "~3.14.0",
"@opentiny/vue-icon": "~3.14.0",
"@opentiny/vue-renderless": "~3.14.0",
"@opentiny/vue-popup": "~3.14.0",
"@opentiny/vue-button": "~3.14.0",
"@opentiny/vue-tooltip": "~3.14.0",
"@opentiny/vue-theme-mobile": "~3.14.0",
"@opentiny/vue-theme": "~3.14.0"
"@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"
},

@@ -20,0 +20,0 @@ "license": "MIT",

@@ -26,7 +26,7 @@ /**

};
icon: (ObjectConstructor | StringConstructor)[];
icon: (StringConstructor | ObjectConstructor)[];
disabled: BooleanConstructor;
divided: BooleanConstructor;
itemData: {
type: (ObjectConstructor | StringConstructor)[];
type: (StringConstructor | ObjectConstructor)[];
default: string;

@@ -62,2 +62,6 @@ };

};
tooltipContent: {
type: StringConstructor;
default: string;
};
appendToBody: {

@@ -95,7 +99,7 @@ type: BooleanConstructor;

};
icon: (ObjectConstructor | StringConstructor)[];
icon: (StringConstructor | ObjectConstructor)[];
disabled: BooleanConstructor;
divided: BooleanConstructor;
itemData: {
type: (ObjectConstructor | StringConstructor)[];
type: (StringConstructor | ObjectConstructor)[];
default: string;

@@ -131,2 +135,6 @@ };

};
tooltipContent: {
type: StringConstructor;
default: string;
};
appendToBody: {

@@ -165,7 +173,7 @@ type: BooleanConstructor;

};
icon: (ObjectConstructor | StringConstructor)[];
icon: (StringConstructor | ObjectConstructor)[];
disabled: BooleanConstructor;
divided: BooleanConstructor;
itemData: {
type: (ObjectConstructor | StringConstructor)[];
type: (StringConstructor | ObjectConstructor)[];
default: string;

@@ -201,2 +209,6 @@ };

};
tooltipContent: {
type: StringConstructor;
default: string;
};
appendToBody: {

@@ -237,2 +249,3 @@ type: BooleanConstructor;

currentIndex: number;
tooltipContent: string;
appendToBody: boolean;

@@ -239,0 +252,0 @@ tip: string | Function;

@@ -16,2 +16,3 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{

currentIndex?: any;
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<{

@@ -32,2 +33,3 @@ label?: any;

currentIndex?: any;
tooltipContent?: any;
}>>> & {

@@ -57,3 +59,4 @@ onChange?: ((...args: any[]) => any) | undefined;

readonly currentIndex?: any;
readonly tooltipContent?: any;
}, {}>;
export default _default;

@@ -24,3 +24,3 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{

gcls: (key: any) => any;
}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("confirm" | "change" | "item-click" | "update:modelValue" | "close" | "click" | "reset" | "open" | "closed" | "opened")[], "confirm" | "change" | "item-click" | "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, ("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<{
type?: any;

@@ -27,0 +27,0 @@ title?: any;

@@ -27,3 +27,3 @@ import type { IDropdownItemApi } from '@opentiny/vue-renderless/types/dropdown-item.type';

tipPosition?: any;
}>, IDropdownItemApi, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("confirm" | "change" | "item-click" | "update:modelValue" | "close" | "reset" | "open" | "closed" | "opened")[], "confirm" | "change" | "item-click" | "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, ("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<{
type?: any;

@@ -30,0 +30,0 @@ label?: any;

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc