@opentiny/vue-switch
Advanced tools
Comparing version 2.6.7 to 2.8.0
@@ -18,5 +18,8 @@ function _extends() { | ||
import MobileTemplate from "./mobile.js"; | ||
import MobileFirstTemplate from "./mobile-first.js"; | ||
var template = function template2(mode) { | ||
if ("mobile" === (process.env.TINY_MODE || mode)) | ||
return MobileTemplate; | ||
else if ("mobile-first" === (process.env.TINY_MODE || mode)) | ||
return MobileFirstTemplate; | ||
else | ||
@@ -73,3 +76,7 @@ return PcTemplate; | ||
}, | ||
beforeChange: Function | ||
beforeChange: Function, | ||
displayOnly: { | ||
type: Boolean, | ||
default: false | ||
} | ||
}), | ||
@@ -76,0 +83,0 @@ setup: function setup(props, context) { |
{ | ||
"name": "@opentiny/vue-switch", | ||
"version": "2.6.7", | ||
"version": "2.8.0", | ||
"description": "", | ||
"main": "./lib/index.js", | ||
"module": "./lib/index.js", | ||
"dependencies": { | ||
"@opentiny/vue-renderless": "~3.6.6", | ||
"@opentiny/vue-common": "~2.6.7" | ||
"@opentiny/vue-renderless": "~3.8.0", | ||
"@opentiny/vue-common": "~2.8.0" | ||
}, | ||
@@ -10,0 +11,0 @@ "license": "MIT", |
@@ -43,7 +43,19 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<() => import("vue").VNode> & import("@vue/composition-api").Data, {}, {}, { | ||
beforeChange: FunctionConstructor; | ||
displayOnly: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
tiny_mode: StringConstructor; | ||
tiny_mode_root: BooleanConstructor; | ||
tiny_template: (FunctionConstructor | ObjectConstructor)[]; | ||
tiny_renderless: FunctionConstructor; | ||
tiny_theme: StringConstructor; | ||
tiny_chart_theme: ObjectConstructor; | ||
}, { | ||
modelValue: string | number | boolean; | ||
disabled: boolean; | ||
tabindex: string; | ||
modelValue: string | number | boolean; | ||
tiny_mode_root: boolean; | ||
_constants: Record<string, any>; | ||
displayOnly: boolean; | ||
mini: boolean; | ||
@@ -55,2 +67,7 @@ showText: boolean; | ||
size?: string | number | undefined; | ||
tiny_mode?: string | undefined; | ||
tiny_template?: unknown; | ||
tiny_renderless?: Function | undefined; | ||
tiny_theme?: string | undefined; | ||
tiny_chart_theme?: Record<string, any> | undefined; | ||
beforeChange?: Function | undefined; | ||
@@ -60,6 +77,8 @@ falseColor?: string | undefined; | ||
}> & import("vue").VueConstructor<import("vue").default> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{ | ||
modelValue: string | number | boolean; | ||
disabled: boolean; | ||
tabindex: string; | ||
modelValue: string | number | boolean; | ||
tiny_mode_root: boolean; | ||
_constants: Record<string, any>; | ||
displayOnly: boolean; | ||
mini: boolean; | ||
@@ -71,2 +90,7 @@ showText: boolean; | ||
size?: string | number | undefined; | ||
tiny_mode?: string | undefined; | ||
tiny_template?: unknown; | ||
tiny_renderless?: Function | undefined; | ||
tiny_theme?: string | undefined; | ||
tiny_chart_theme?: Record<string, any> | undefined; | ||
beforeChange?: Function | undefined; | ||
@@ -76,6 +100,8 @@ falseColor?: string | undefined; | ||
}, import("@vue/composition-api").ShallowUnwrapRef<() => import("vue").VNode>, import("@vue/composition-api").Data, {}, {}, { | ||
modelValue: string | number | boolean; | ||
disabled: boolean; | ||
tabindex: string; | ||
modelValue: string | number | boolean; | ||
tiny_mode_root: boolean; | ||
_constants: Record<string, any>; | ||
displayOnly: boolean; | ||
mini: boolean; | ||
@@ -87,2 +113,7 @@ showText: boolean; | ||
size?: string | number | undefined; | ||
tiny_mode?: string | undefined; | ||
tiny_template?: unknown; | ||
tiny_renderless?: Function | undefined; | ||
tiny_theme?: string | undefined; | ||
tiny_chart_theme?: Record<string, any> | undefined; | ||
beforeChange?: Function | undefined; | ||
@@ -92,6 +123,7 @@ falseColor?: string | undefined; | ||
}, { | ||
modelValue: string | number | boolean; | ||
disabled: boolean; | ||
tabindex: string; | ||
modelValue: string | number | boolean; | ||
_constants: Record<string, any>; | ||
displayOnly: boolean; | ||
mini: boolean; | ||
@@ -98,0 +130,0 @@ showText: boolean; |
@@ -8,2 +8,4 @@ declare const _sfc_main: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{ | ||
dp: (props: any) => void; | ||
gcls: (key: any) => any; | ||
m: (...cssClasses: any[]) => string; | ||
}> & import("@vue/composition-api").Data, {}, {}, Readonly<{ | ||
@@ -22,2 +24,4 @@ [x: string]: any; | ||
dp: (props: any) => void; | ||
gcls: (key: any) => any; | ||
m: (...cssClasses: any[]) => string; | ||
}>, import("@vue/composition-api").Data, {}, {}, { | ||
@@ -24,0 +28,0 @@ [x: string]: any; |
@@ -8,2 +8,4 @@ declare const _sfc_main: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{ | ||
dp: (props: any) => void; | ||
gcls: (key: any) => any; | ||
m: (...cssClasses: any[]) => string; | ||
}> & import("@vue/composition-api").Data, {}, {}, Readonly<{ | ||
@@ -22,2 +24,4 @@ [x: string]: any; | ||
dp: (props: any) => void; | ||
gcls: (key: any) => any; | ||
m: (...cssClasses: any[]) => string; | ||
}>, import("@vue/composition-api").Data, {}, {}, { | ||
@@ -24,0 +28,0 @@ [x: string]: any; |
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
30090
12
760
3
+ Added@opentiny/vue-common@2.8.3(transitive)
+ Added@opentiny/vue-locale@2.8.3(transitive)
+ Added@opentiny/vue-renderless@3.8.4(transitive)
+ Added@opentiny/vue-theme@3.8.5(transitive)
+ Added@opentiny/vue-theme-mobile@3.8.3(transitive)
+ Addedtailwind-merge@1.14.0(transitive)
- Removed@opentiny/vue-common@2.6.7(transitive)
- Removed@opentiny/vue-locale@2.6.7(transitive)
- Removed@opentiny/vue-renderless@3.6.8(transitive)
- Removed@opentiny/vue-theme@3.6.7(transitive)
- Removed@opentiny/vue-theme-mobile@3.6.6(transitive)
Updated@opentiny/vue-common@~2.8.0