@opentiny/vue-dropdown-item
Advanced tools
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; |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
24045
715
2
+ Added@opentiny/vue-button@2.11.0(transitive)
+ Added@opentiny/vue-common@2.11.0(transitive)
+ Added@opentiny/vue-icon@2.11.0(transitive)
+ Added@opentiny/vue-locale@2.11.0(transitive)
+ Added@opentiny/vue-popup@2.11.0(transitive)
+ Added@opentiny/vue-renderless@3.11.8(transitive)
+ Added@opentiny/vue-theme@3.11.6(transitive)
+ Added@opentiny/vue-theme-mobile@3.11.1(transitive)
+ Added@opentiny/vue-tooltip@2.11.0(transitive)
+ Addedcolor@4.2.3(transitive)
+ Addedcolor-convert@2.0.1(transitive)
+ Addedcolor-name@1.1.4(transitive)
+ Addedcolor-string@1.9.1(transitive)
+ Addedis-arrayish@0.3.2(transitive)
+ Addedsimple-swizzle@0.2.2(transitive)
- Removed@opentiny/vue-button@2.10.0(transitive)
- Removed@opentiny/vue-common@2.10.0(transitive)
- Removed@opentiny/vue-icon@2.10.1(transitive)
- Removed@opentiny/vue-locale@2.10.0(transitive)
- Removed@opentiny/vue-popup@2.10.0(transitive)
- Removed@opentiny/vue-renderless@3.10.7(transitive)
- Removed@opentiny/vue-theme@3.10.4(transitive)
- Removed@opentiny/vue-theme-mobile@3.10.1(transitive)
- Removed@opentiny/vue-tooltip@2.10.1(transitive)
Updated@opentiny/vue-button@~2.11.0
Updated@opentiny/vue-common@~2.11.0
Updated@opentiny/vue-icon@~2.11.0
Updated@opentiny/vue-popup@~2.11.0