@opentiny/vue-exception
Advanced tools
Comparing version 3.8.0 to 3.8.2
@@ -20,8 +20,9 @@ function _extends() { | ||
var template = function template2(mode) { | ||
if ("mobile" === (process.env.TINY_MODE || mode)) | ||
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 MobileTemplate; | ||
}; | ||
@@ -28,0 +29,0 @@ var Exception = { |
{ | ||
"name": "@opentiny/vue-exception", | ||
"version": "3.8.0", | ||
"version": "3.8.2", | ||
"description": "", | ||
@@ -8,5 +8,5 @@ "main": "./lib/index.js", | ||
"dependencies": { | ||
"@opentiny/vue-renderless": "~3.8.0", | ||
"@opentiny/vue-common": "~3.8.0", | ||
"@opentiny/vue-button": "~3.8.0" | ||
"@opentiny/vue-renderless": "~3.8.2", | ||
"@opentiny/vue-common": "~3.8.2", | ||
"@opentiny/vue-button": "~3.8.2" | ||
}, | ||
@@ -13,0 +13,0 @@ "license": "MIT", |
declare const _default: { | ||
name: string; | ||
props: { | ||
type: { | ||
type: StringConstructor; | ||
default: string; | ||
}; | ||
message: StringConstructor; | ||
subMessage: StringConstructor; | ||
exceptionClass: StringConstructor; | ||
buttonText: StringConstructor; | ||
imageUrl: StringConstructor; | ||
pageEmpty: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
componentPage: { | ||
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; | ||
}; | ||
setup(props: any, context: any): () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
[key: string]: any; | ||
}>; | ||
props: any; | ||
setup(props: any, context: any): any; | ||
}; | ||
export default _default; |
@@ -1,80 +0,2 @@ | ||
declare const _sfc_main: import("@vue/runtime-core").DefineComponent<{ | ||
_constants: { | ||
type: ObjectConstructor; | ||
default: () => { | ||
nodata: string; | ||
noperm: string; | ||
weaknet: string; | ||
noresult: string; | ||
nonews: string; | ||
pagenoperm: string; | ||
pageweaknet: string; | ||
pagenothing: string; | ||
pageservererror: string; | ||
}; | ||
}; | ||
type: { | ||
type: StringConstructor; | ||
default: string; | ||
}; | ||
message: StringConstructor; | ||
subMessage: StringConstructor; | ||
exceptionClass: StringConstructor; | ||
pageEmpty: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
componentPage: { | ||
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; | ||
}, 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: () => { | ||
nodata: string; | ||
noperm: string; | ||
weaknet: string; | ||
noresult: string; | ||
nonews: string; | ||
pagenoperm: string; | ||
pageweaknet: string; | ||
pagenothing: string; | ||
pageservererror: string; | ||
}; | ||
}; | ||
type: { | ||
type: StringConstructor; | ||
default: string; | ||
}; | ||
message: StringConstructor; | ||
subMessage: StringConstructor; | ||
exceptionClass: StringConstructor; | ||
pageEmpty: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
componentPage: { | ||
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; | ||
}>>, { | ||
type: string; | ||
tiny_mode_root: boolean; | ||
_constants: Record<string, any>; | ||
pageEmpty: boolean; | ||
componentPage: boolean; | ||
}>; | ||
declare const _sfc_main: any; | ||
export default _sfc_main; |
@@ -1,33 +0,2 @@ | ||
declare const _sfc_main: import("@vue/runtime-core").DefineComponent<{ | ||
type: { | ||
type: StringConstructor; | ||
default: string; | ||
}; | ||
message: StringConstructor; | ||
subMessage: StringConstructor; | ||
exceptionClass: StringConstructor; | ||
buttonText: StringConstructor; | ||
imageUrl: StringConstructor; | ||
}, { | ||
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<{ | ||
type: { | ||
type: StringConstructor; | ||
default: string; | ||
}; | ||
message: StringConstructor; | ||
subMessage: StringConstructor; | ||
exceptionClass: StringConstructor; | ||
buttonText: StringConstructor; | ||
imageUrl: StringConstructor; | ||
}>>, { | ||
type: string; | ||
}>; | ||
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
14845
419