@opentiny/vue-switch
Advanced tools
Comparing version 3.12.0 to 3.13.0
@@ -20,9 +20,11 @@ function _extends() { | ||
var template = function template2(mode) { | ||
if ("pc" === (process.env.TINY_MODE || mode)) { | ||
var _process$env; | ||
var tinyMode = typeof process === "object" ? (_process$env = process.env) == null ? void 0 : _process$env.TINY_MODE : null; | ||
if ("pc" === (tinyMode || mode)) { | ||
return PcTemplate; | ||
} | ||
if ("mobile" === (process.env.TINY_MODE || mode)) { | ||
if ("mobile" === (tinyMode || mode)) { | ||
return MobileTemplate; | ||
} | ||
if ("mobile-first" === (process.env.TINY_MODE || mode)) { | ||
if ("mobile-first" === (tinyMode || mode)) { | ||
return MobileFirstTemplate; | ||
@@ -102,3 +104,3 @@ } | ||
}); | ||
var version = "3.12.0"; | ||
var version = "3.13.0"; | ||
Switch.model = { | ||
@@ -105,0 +107,0 @@ prop: "modelValue", |
{ | ||
"name": "@opentiny/vue-switch", | ||
"version": "3.12.0", | ||
"version": "3.13.0", | ||
"description": "", | ||
@@ -10,4 +10,4 @@ "main": "./lib/index.js", | ||
"dependencies": { | ||
"@opentiny/vue-renderless": "~3.12.0", | ||
"@opentiny/vue-common": "~3.12.0" | ||
"@opentiny/vue-renderless": "~3.13.0", | ||
"@opentiny/vue-common": "~3.13.0" | ||
}, | ||
@@ -14,0 +14,0 @@ "license": "MIT", |
@@ -196,6 +196,6 @@ export declare const $constants: { | ||
displayOnly: boolean; | ||
showText: boolean; | ||
falseValue: string | number | boolean; | ||
trueValue: string | number | boolean; | ||
falseValue: string | number | boolean; | ||
showText: boolean; | ||
}, {}>; | ||
export default _default; |
@@ -14,4 +14,4 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{ | ||
types?: any; | ||
falseValue?: any; | ||
trueValue?: any; | ||
falseValue?: any; | ||
}>, { | ||
@@ -25,3 +25,2 @@ t: (this: any, path: any, options?: any) => any; | ||
gcls: (key: any) => any; | ||
m: (...cssClasses: any[]) => string; | ||
}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{ | ||
@@ -40,4 +39,4 @@ disabled?: any; | ||
types?: any; | ||
falseValue?: any; | ||
trueValue?: any; | ||
falseValue?: any; | ||
}>>> & { | ||
@@ -59,5 +58,5 @@ onChange?: ((...args: any[]) => any) | undefined; | ||
readonly types?: any; | ||
readonly falseValue?: any; | ||
readonly trueValue?: any; | ||
readonly falseValue?: any; | ||
}, {}>; | ||
export default _default; |
@@ -13,4 +13,4 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{ | ||
loading?: any; | ||
falseValue?: any; | ||
trueValue?: any; | ||
falseValue?: any; | ||
}>, { | ||
@@ -24,3 +24,2 @@ t: (this: any, path: any, options?: any) => any; | ||
gcls: (key: any) => any; | ||
m: (...cssClasses: any[]) => string; | ||
}, 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<Readonly<{ | ||
@@ -38,4 +37,4 @@ disabled?: any; | ||
loading?: any; | ||
falseValue?: any; | ||
trueValue?: any; | ||
falseValue?: any; | ||
}>>>, { | ||
@@ -53,5 +52,5 @@ readonly disabled?: any; | ||
readonly loading?: any; | ||
readonly falseValue?: any; | ||
readonly trueValue?: any; | ||
readonly falseValue?: any; | ||
}, {}>; | ||
export default _default; |
@@ -15,5 +15,5 @@ import type { ISwitchApi } from '@opentiny/vue-renderless/types/switch.type'; | ||
displayOnly?: any; | ||
showText?: any; | ||
falseValue?: any; | ||
trueValue?: any; | ||
falseValue?: any; | ||
showText?: any; | ||
beforeChange?: any; | ||
@@ -33,5 +33,5 @@ }>, ISwitchApi, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{ | ||
displayOnly?: any; | ||
showText?: any; | ||
falseValue?: any; | ||
trueValue?: any; | ||
falseValue?: any; | ||
showText?: any; | ||
beforeChange?: any; | ||
@@ -54,7 +54,7 @@ }>>> & { | ||
readonly displayOnly?: any; | ||
readonly showText?: any; | ||
readonly falseValue?: any; | ||
readonly trueValue?: any; | ||
readonly falseValue?: any; | ||
readonly showText?: any; | ||
readonly beforeChange?: any; | ||
}, {}>; | ||
export default _default; |
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
36974
2
+ Added@opentiny/vue-common@3.13.1(transitive)
+ Added@opentiny/vue-locale@3.13.0(transitive)
+ Added@opentiny/vue-renderless@3.13.2(transitive)
+ Added@opentiny/vue-theme@3.13.3(transitive)
+ Added@opentiny/vue-theme-mobile@3.13.0(transitive)
- Removed@opentiny/vue-common@3.12.0(transitive)
- Removed@opentiny/vue-locale@3.12.0(transitive)
- Removed@opentiny/vue-renderless@3.12.1(transitive)
- Removed@opentiny/vue-theme@3.12.1(transitive)
- Removed@opentiny/vue-theme-mobile@3.12.0(transitive)
Updated@opentiny/vue-common@~3.13.0