Socket
Socket
Sign inDemoInstall

@opentiny/vue-dropdown-item

Package Overview
Dependencies
31
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.10.0 to 2.11.0-alpha.0

137

lib/index.js

@@ -15,3 +15,3 @@ function _extends() {

}
import { defineComponent, $prefix, $props, $setup } from "@opentiny/vue-common";
import { defineComponent, $prefix, $setup, $props } from "@opentiny/vue-common";
import PcTemplate from "./pc.js";

@@ -37,71 +37,72 @@ import MobileTemplate from "./mobile.js";

};
var dropdownItemProps = _extends({}, $props, {
_constants: {
type: Object,
default: function _default() {
return $constants;
}
},
icon: [String, Object],
disabled: Boolean,
divided: Boolean,
itemData: {
type: [String, Object],
default: ""
},
title: String,
label: {
type: String,
default: ""
},
level: String,
titleClass: String,
options: {
type: Array,
default: function _default2() {
return [];
}
},
type: {
type: String,
default: "selection"
},
selected: {
type: Boolean,
default: false
},
selectedField: {
type: String,
default: "selected"
},
multiStage: {
type: Boolean,
default: false
},
currentIndex: {
type: Number,
default: function _default3() {
return -1;
}
},
appendToBody: {
type: Boolean,
default: true
},
textField: {
type: String,
default: "label"
},
tip: {
type: [String, Function],
default: ""
},
tipPosition: {
type: String,
default: "right"
}
});
var DropdownItem = defineComponent({
name: $prefix + "DropdownItem",
componentName: "TinyDropdownItem",
props: _extends({}, $props, {
_constants: {
type: Object,
default: function _default() {
return $constants;
}
},
icon: [String, Object],
disabled: Boolean,
divided: Boolean,
itemData: {
type: [String, Object],
default: ""
},
title: String,
label: {
type: String,
default: ""
},
level: String,
titleClass: String,
options: {
type: Array,
default: function _default2() {
return [];
}
},
type: {
type: String,
default: "selection"
},
selected: {
type: Boolean,
default: false
},
selectedField: {
type: String,
default: "selected"
},
multiStage: {
type: Boolean,
default: false
},
currentIndex: {
type: Number,
default: function _default3() {
return -1;
}
},
appendToBody: {
type: Boolean,
default: true
},
textField: {
type: String,
default: "label"
},
tip: {
type: [String, Function],
default: ""
},
tipPosition: {
type: String,
default: "right"
}
}),
props: dropdownItemProps,
setup: function setup(props, context) {

@@ -115,3 +116,3 @@ return $setup({

});
var version = "2.10.0";
var version = "2.11.0-alpha.0";
DropdownItem.model = {

@@ -118,0 +119,0 @@ prop: "modelValue",

import { renderless, api } from "@opentiny/vue-renderless/dropdown-item/vue";
import { defineComponent, props, setup as _setup } from "@opentiny/vue-common";
import { defineComponent, directive, props, setup as _setup } from "@opentiny/vue-common";
import { iconYes } from "@opentiny/vue-icon";

@@ -63,5 +63,5 @@ import Popup from "@opentiny/vue-popup";

var __vue2_script = defineComponent({
directives: {
directives: directive({
Clickoutside
},
}),
props: [].concat(props, ["modelValue", "title", "disabled", "titleClass", "options", "icon", "type"]),

@@ -68,0 +68,0 @@ components: {

{
"name": "@opentiny/vue-dropdown-item",
"version": "2.10.0",
"version": "2.11.0-alpha.0",
"description": "",

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

"dependencies": {
"@opentiny/vue-common": "~2.10.0",
"@opentiny/vue-icon": "~2.10.0",
"@opentiny/vue-renderless": "~3.10.0",
"@opentiny/vue-popup": "~2.10.0",
"@opentiny/vue-button": "~2.10.0",
"@opentiny/vue-tooltip": "~2.10.0"
"@opentiny/vue-common": "~2.11.0",
"@opentiny/vue-icon": "~2.11.0",
"@opentiny/vue-renderless": "~3.11.0",
"@opentiny/vue-popup": "~2.11.0",
"@opentiny/vue-button": "~2.11.0",
"@opentiny/vue-tooltip": "~2.11.0"
},

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

@@ -12,3 +12,8 @@ /**

*/
declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api/dist/vue-composition-api.js").ShallowUnwrapRef<() => import("vue").VNode> & import("@vue/composition-api/dist/vue-composition-api.js").Data, {}, {}, {
export declare const $constants: {
ICON_MAP: {
leftWardArrow: string;
};
};
export declare const dropdownItemProps: {
_constants: {

@@ -82,98 +87,4 @@ type: ObjectConstructor;

tiny_chart_theme: ObjectConstructor;
}, {
label: string;
type: string;
selected: boolean;
disabled: boolean;
tiny_mode_root: boolean;
_constants: Record<string, any>;
options: unknown[];
textField: string;
appendToBody: boolean;
tip: string;
multiStage: boolean;
divided: boolean;
itemData: string;
selectedField: string;
currentIndex: number;
tipPosition: string;
} & {
title?: string | undefined;
tiny_mode?: string | undefined;
tiny_template?: unknown;
tiny_renderless?: Function | undefined;
tiny_theme?: string | undefined;
tiny_chart_theme?: Record<string, any> | undefined;
icon?: unknown;
level?: string | undefined;
titleClass?: string | undefined;
}> & import("vue").VueConstructor<import("vue").default> & (new (...args: any[]) => import("@vue/composition-api/dist/vue-composition-api.js").ComponentRenderProxy<{
label: string;
type: string;
selected: boolean;
disabled: boolean;
tiny_mode_root: boolean;
_constants: Record<string, any>;
options: unknown[];
textField: string;
appendToBody: boolean;
tip: string;
multiStage: boolean;
divided: boolean;
itemData: string;
selectedField: string;
currentIndex: number;
tipPosition: string;
} & {
title?: string | undefined;
tiny_mode?: string | undefined;
tiny_template?: unknown;
tiny_renderless?: Function | undefined;
tiny_theme?: string | undefined;
tiny_chart_theme?: Record<string, any> | undefined;
icon?: unknown;
level?: string | undefined;
titleClass?: string | undefined;
}, import("@vue/composition-api/dist/vue-composition-api.js").ShallowUnwrapRef<() => import("vue").VNode>, import("@vue/composition-api/dist/vue-composition-api.js").Data, {}, {}, {
label: string;
type: string;
selected: boolean;
disabled: boolean;
tiny_mode_root: boolean;
_constants: Record<string, any>;
options: unknown[];
textField: string;
appendToBody: boolean;
tip: string;
multiStage: boolean;
divided: boolean;
itemData: string;
selectedField: string;
currentIndex: number;
tipPosition: string;
} & {
title?: string | undefined;
tiny_mode?: string | undefined;
tiny_template?: unknown;
tiny_renderless?: Function | undefined;
tiny_theme?: string | undefined;
tiny_chart_theme?: Record<string, any> | undefined;
icon?: unknown;
level?: string | undefined;
titleClass?: string | undefined;
}, {
label: string;
type: string;
selected: boolean;
_constants: Record<string, any>;
options: unknown[];
textField: string;
appendToBody: boolean;
tip: string;
multiStage: boolean;
itemData: string;
selectedField: string;
currentIndex: number;
tipPosition: string;
}, true>);
};
declare const _default: any;
export default _default;

@@ -1,12 +0,2 @@

declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api/dist/vue-composition-api.js").ShallowUnwrapRef<any> & import("@vue/composition-api/dist/vue-composition-api.js").Data, {}, {}, Readonly<{
[x: string]: any;
}>, {
[x: string]: any;
} & {}> & import("vue").VueConstructor<import("vue").default> & (new (...args: any[]) => import("@vue/composition-api/dist/vue-composition-api.js").ComponentRenderProxy<{
[x: string]: any;
} & {}, import("@vue/composition-api/dist/vue-composition-api.js").ShallowUnwrapRef<any>, import("@vue/composition-api/dist/vue-composition-api.js").Data, {}, {}, {
[x: string]: any;
} & {}, {
[x: string]: any;
}, true>);
declare const _default: any;
export default _default;

@@ -1,30 +0,2 @@

declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api/dist/vue-composition-api.js").ShallowUnwrapRef<{
t: (this: any, path: any, options?: any) => any;
vm: any;
f: (props: any, attrs?: {}) => {};
a: (attrs: any, filters: any, include: any) => {};
d: (props: any) => void;
dp: (props: any) => void;
gcls: (key: any) => any;
m: (...cssClasses: any[]) => string;
}> & import("@vue/composition-api/dist/vue-composition-api.js").Data, {}, {}, Readonly<{
[x: string]: any;
}>, {
[x: string]: any;
} & {}> & import("vue").VueConstructor<import("vue").default> & (new (...args: any[]) => import("@vue/composition-api/dist/vue-composition-api.js").ComponentRenderProxy<{
[x: string]: any;
} & {}, import("@vue/composition-api/dist/vue-composition-api.js").ShallowUnwrapRef<{
t: (this: any, path: any, options?: any) => any;
vm: any;
f: (props: any, attrs?: {}) => {};
a: (attrs: any, filters: any, include: any) => {};
d: (props: any) => void;
dp: (props: any) => void;
gcls: (key: any) => any;
m: (...cssClasses: any[]) => string;
}>, import("@vue/composition-api/dist/vue-composition-api.js").Data, {}, {}, {
[x: string]: any;
} & {}, {
[x: string]: any;
}, true>);
declare const _default: any;
export default _default;

@@ -1,30 +0,2 @@

declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api/dist/vue-composition-api.js").ShallowUnwrapRef<{
t: (this: any, path: any, options?: any) => any;
vm: any;
f: (props: any, attrs?: {}) => {};
a: (attrs: any, filters: any, include: any) => {};
d: (props: any) => void;
dp: (props: any) => void;
gcls: (key: any) => any;
m: (...cssClasses: any[]) => string;
}> & import("@vue/composition-api/dist/vue-composition-api.js").Data, {}, {}, Readonly<{
[x: string]: any;
}>, {
[x: string]: any;
} & {}> & import("vue").VueConstructor<import("vue").default> & (new (...args: any[]) => import("@vue/composition-api/dist/vue-composition-api.js").ComponentRenderProxy<{
[x: string]: any;
} & {}, import("@vue/composition-api/dist/vue-composition-api.js").ShallowUnwrapRef<{
t: (this: any, path: any, options?: any) => any;
vm: any;
f: (props: any, attrs?: {}) => {};
a: (attrs: any, filters: any, include: any) => {};
d: (props: any) => void;
dp: (props: any) => void;
gcls: (key: any) => any;
m: (...cssClasses: any[]) => string;
}>, import("@vue/composition-api/dist/vue-composition-api.js").Data, {}, {}, {
[x: string]: any;
} & {}, {
[x: string]: any;
}, true>);
declare const _default: any;
export default _default;
SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc