@opentiny/vue-switch
Advanced tools
Comparing version 3.8.0 to 3.8.2
@@ -20,8 +20,12 @@ function _extends() { | ||
var template = function template2(mode) { | ||
if ("mobile" === (process.env.TINY_MODE || mode)) | ||
if ("pc" === (process.env.TINY_MODE || mode)) { | ||
return PcTemplate; | ||
} | ||
if ("mobile" === (process.env.TINY_MODE || mode)) { | ||
return MobileTemplate; | ||
else if ("mobile-first" === (process.env.TINY_MODE || mode)) | ||
} | ||
if ("mobile-first" === (process.env.TINY_MODE || mode)) { | ||
return MobileFirstTemplate; | ||
else | ||
return PcTemplate; | ||
} | ||
return PcTemplate; | ||
}; | ||
@@ -28,0 +32,0 @@ var $constants = { |
{ | ||
"name": "@opentiny/vue-switch", | ||
"version": "3.8.0", | ||
"version": "3.8.2", | ||
"description": "", | ||
@@ -8,4 +8,4 @@ "main": "./lib/index.js", | ||
"dependencies": { | ||
"@opentiny/vue-renderless": "~3.8.0", | ||
"@opentiny/vue-common": "~3.8.0" | ||
"@opentiny/vue-renderless": "~3.8.2", | ||
"@opentiny/vue-common": "~3.8.2" | ||
}, | ||
@@ -12,0 +12,0 @@ "license": "MIT", |
@@ -1,119 +0,2 @@ | ||
declare const _default: import("@vue/runtime-core").DefineComponent<{ | ||
_constants: { | ||
type: ObjectConstructor; | ||
default: () => { | ||
PC_PREFIXCLS: string; | ||
MOBILE_PREFIXCLS: string; | ||
Mode: string; | ||
prefixcls(mode: any): string; | ||
}; | ||
}; | ||
disabled: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
showText: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
falseColor: StringConstructor; | ||
falseValue: { | ||
type: (StringConstructor | BooleanConstructor | NumberConstructor)[]; | ||
default: boolean; | ||
}; | ||
mini: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
modelValue: { | ||
type: (StringConstructor | BooleanConstructor | NumberConstructor)[]; | ||
default: boolean; | ||
}; | ||
size: (StringConstructor | NumberConstructor)[]; | ||
tabindex: { | ||
type: StringConstructor; | ||
default: string; | ||
}; | ||
trueColor: StringConstructor; | ||
trueValue: { | ||
type: (StringConstructor | BooleanConstructor | NumberConstructor)[]; | ||
default: boolean; | ||
}; | ||
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; | ||
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
[key: string]: any; | ||
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{ | ||
_constants: { | ||
type: ObjectConstructor; | ||
default: () => { | ||
PC_PREFIXCLS: string; | ||
MOBILE_PREFIXCLS: string; | ||
Mode: string; | ||
prefixcls(mode: any): string; | ||
}; | ||
}; | ||
disabled: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
showText: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
falseColor: StringConstructor; | ||
falseValue: { | ||
type: (StringConstructor | BooleanConstructor | NumberConstructor)[]; | ||
default: boolean; | ||
}; | ||
mini: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
modelValue: { | ||
type: (StringConstructor | BooleanConstructor | NumberConstructor)[]; | ||
default: boolean; | ||
}; | ||
size: (StringConstructor | NumberConstructor)[]; | ||
tabindex: { | ||
type: StringConstructor; | ||
default: string; | ||
}; | ||
trueColor: StringConstructor; | ||
trueValue: { | ||
type: (StringConstructor | BooleanConstructor | NumberConstructor)[]; | ||
default: boolean; | ||
}; | ||
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; | ||
tiny_mode_root: boolean; | ||
_constants: Record<string, any>; | ||
displayOnly: boolean; | ||
mini: boolean; | ||
showText: boolean; | ||
falseValue: string | number | boolean; | ||
trueValue: string | number | boolean; | ||
}>; | ||
declare const _default: any; | ||
export default _default; |
@@ -1,11 +0,2 @@ | ||
declare const _sfc_main: import("@vue/runtime-core").DefineComponent<Readonly<{ | ||
[x: string]: any; | ||
}>, any, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{ | ||
[x: string]: any; | ||
}>>> & { | ||
onChange?: ((...args: any[]) => any) | undefined; | ||
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined; | ||
}, { | ||
[x: string]: any; | ||
}>; | ||
declare const _sfc_main: any; | ||
export default _sfc_main; |
@@ -1,17 +0,2 @@ | ||
declare const _sfc_main: import("@vue/runtime-core").DefineComponent<Readonly<{ | ||
[x: string]: any; | ||
}>, { | ||
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; | ||
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{ | ||
[x: string]: any; | ||
}>>>, { | ||
[x: string]: any; | ||
}>; | ||
declare const _sfc_main: any; | ||
export default _sfc_main; |
@@ -1,20 +0,2 @@ | ||
declare const _sfc_main: import("@vue/runtime-core").DefineComponent<Readonly<{ | ||
[x: string]: any; | ||
}>, { | ||
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; | ||
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{ | ||
[x: string]: any; | ||
}>>> & { | ||
onChange?: ((...args: any[]) => any) | undefined; | ||
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined; | ||
}, { | ||
[x: string]: any; | ||
}>; | ||
declare const _sfc_main: any; | ||
export default _sfc_main; |
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
24394
591
4