@opentiny/vue-switch
Advanced tools
Comparing version 2.9.0 to 2.10.0
@@ -93,3 +93,3 @@ function _extends() { | ||
}); | ||
var version = "2.9.0"; | ||
var version = "2.10.0"; | ||
Switch.model = { | ||
@@ -96,0 +96,0 @@ prop: "modelValue", |
@@ -60,3 +60,3 @@ import { renderless, api } from "@opentiny/vue-renderless/switch/vue"; | ||
emits: ["change", "update:modelValue"], | ||
props: [].concat(props, ["modelValue", "trueValue", "falseValue", "disabled", "mini", "tabindex", "showText", "beforeChange"]), | ||
props: [].concat(props, ["modelValue", "trueValue", "falseValue", "disabled", "mini", "tabindex", "showText", "beforeChange", "displayOnly"]), | ||
setup: function setup(props2, context) { | ||
@@ -63,0 +63,0 @@ return _setup({ |
{ | ||
"name": "@opentiny/vue-switch", | ||
"version": "2.9.0", | ||
"version": "2.10.0", | ||
"description": "", | ||
@@ -8,5 +8,6 @@ "main": "./lib/index.js", | ||
"sideEffects": false, | ||
"type": "module", | ||
"dependencies": { | ||
"@opentiny/vue-renderless": "~3.9.0", | ||
"@opentiny/vue-common": "~2.9.0" | ||
"@opentiny/vue-renderless": "~3.10.0", | ||
"@opentiny/vue-common": "~2.10.0" | ||
}, | ||
@@ -13,0 +14,0 @@ "license": "MIT", |
@@ -21,3 +21,3 @@ 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, {}, {}, { | ||
falseValue: { | ||
type: (NumberConstructor | StringConstructor | BooleanConstructor)[]; | ||
type: (StringConstructor | BooleanConstructor | NumberConstructor)[]; | ||
default: boolean; | ||
@@ -30,6 +30,6 @@ }; | ||
modelValue: { | ||
type: (NumberConstructor | StringConstructor | BooleanConstructor)[]; | ||
type: (StringConstructor | BooleanConstructor | NumberConstructor)[]; | ||
default: boolean; | ||
}; | ||
size: (NumberConstructor | StringConstructor)[]; | ||
size: (StringConstructor | NumberConstructor)[]; | ||
tabindex: { | ||
@@ -41,3 +41,3 @@ type: StringConstructor; | ||
trueValue: { | ||
type: (NumberConstructor | StringConstructor | BooleanConstructor)[]; | ||
type: (StringConstructor | BooleanConstructor | NumberConstructor)[]; | ||
default: boolean; | ||
@@ -57,12 +57,12 @@ }; | ||
}, { | ||
modelValue: string | number | boolean; | ||
disabled: boolean; | ||
tiny_mode_root: boolean; | ||
_constants: Record<string, any>; | ||
modelValue: string | number | boolean; | ||
tabindex: string; | ||
disabled: boolean; | ||
mini: boolean; | ||
displayOnly: boolean; | ||
mini: boolean; | ||
trueValue: string | number | boolean; | ||
falseValue: string | number | boolean; | ||
showText: boolean; | ||
falseValue: string | number | boolean; | ||
trueValue: string | number | boolean; | ||
} & { | ||
@@ -79,12 +79,12 @@ tiny_mode?: string | undefined; | ||
}> & import("vue").VueConstructor<import("vue").default> & (new (...args: any[]) => import("@vue/composition-api/dist/vue-composition-api.js").ComponentRenderProxy<{ | ||
modelValue: string | number | boolean; | ||
disabled: boolean; | ||
tiny_mode_root: boolean; | ||
_constants: Record<string, any>; | ||
modelValue: string | number | boolean; | ||
tabindex: string; | ||
disabled: boolean; | ||
mini: boolean; | ||
displayOnly: boolean; | ||
mini: boolean; | ||
trueValue: string | number | boolean; | ||
falseValue: string | number | boolean; | ||
showText: boolean; | ||
falseValue: string | number | boolean; | ||
trueValue: string | number | boolean; | ||
} & { | ||
@@ -101,12 +101,12 @@ tiny_mode?: 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, {}, {}, { | ||
modelValue: string | number | boolean; | ||
disabled: boolean; | ||
tiny_mode_root: boolean; | ||
_constants: Record<string, any>; | ||
modelValue: string | number | boolean; | ||
tabindex: string; | ||
disabled: boolean; | ||
mini: boolean; | ||
displayOnly: boolean; | ||
mini: boolean; | ||
trueValue: string | number | boolean; | ||
falseValue: string | number | boolean; | ||
showText: boolean; | ||
falseValue: string | number | boolean; | ||
trueValue: string | number | boolean; | ||
} & { | ||
@@ -123,12 +123,12 @@ tiny_mode?: string | undefined; | ||
}, { | ||
disabled: boolean; | ||
_constants: Record<string, any>; | ||
modelValue: string | number | boolean; | ||
_constants: Record<string, any>; | ||
tabindex: string; | ||
disabled: boolean; | ||
mini: boolean; | ||
displayOnly: boolean; | ||
mini: boolean; | ||
trueValue: string | number | boolean; | ||
falseValue: string | number | boolean; | ||
showText: boolean; | ||
falseValue: string | number | boolean; | ||
trueValue: string | number | boolean; | ||
}, true>); | ||
export default _default; |
@@ -1,2 +0,2 @@ | ||
declare const _sfc_main: 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<{ | ||
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; | ||
@@ -12,2 +12,2 @@ }>, { | ||
}, true>); | ||
export default _sfc_main; | ||
export default _default; |
@@ -1,2 +0,2 @@ | ||
declare const _sfc_main: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api/dist/vue-composition-api.js").ShallowUnwrapRef<{ | ||
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; | ||
@@ -30,2 +30,2 @@ vm: any; | ||
}, true>); | ||
export default _sfc_main; | ||
export default _default; |
@@ -1,2 +0,2 @@ | ||
declare const _sfc_main: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api/dist/vue-composition-api.js").ShallowUnwrapRef<{ | ||
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; | ||
@@ -30,2 +30,2 @@ vm: any; | ||
}, true>); | ||
export default _sfc_main; | ||
export default _default; |
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
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
30818
13
765
Yes
+ Added@opentiny/vue-common@2.10.0(transitive)
+ Added@opentiny/vue-locale@2.10.0(transitive)
+ Added@opentiny/vue-renderless@3.10.7(transitive)
+ Added@opentiny/vue-theme@3.10.4(transitive)
+ Added@opentiny/vue-theme-mobile@3.10.1(transitive)
- Removed@opentiny/vue-common@2.9.0(transitive)
- Removed@opentiny/vue-locale@2.9.0(transitive)
- Removed@opentiny/vue-renderless@3.9.3(transitive)
- Removed@opentiny/vue-theme@3.9.4(transitive)
- Removed@opentiny/vue-theme-mobile@3.9.0(transitive)
Updated@opentiny/vue-common@~2.10.0