@opentiny/vue-exception
Advanced tools
Comparing version 2.8.0 to 2.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": "2.8.0", | ||
"version": "2.8.2", | ||
"description": "", | ||
@@ -8,5 +8,5 @@ "main": "./lib/index.js", | ||
"dependencies": { | ||
"@opentiny/vue-renderless": "~3.8.0", | ||
"@opentiny/vue-common": "~2.8.0", | ||
"@opentiny/vue-button": "~2.8.0" | ||
"@opentiny/vue-renderless": "~3.8.2", | ||
"@opentiny/vue-common": "~2.8.2", | ||
"@opentiny/vue-button": "~2.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; | ||
props: any; | ||
setup(props: any, context: any): any; | ||
}; | ||
export default _default; |
@@ -1,88 +0,2 @@ | ||
declare const _sfc_main: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<any> & import("@vue/composition-api").Data, {}, {}, { | ||
_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; | ||
} & { | ||
tiny_mode?: string | undefined; | ||
tiny_template?: unknown; | ||
tiny_renderless?: Function | undefined; | ||
tiny_theme?: string | undefined; | ||
tiny_chart_theme?: Record<string, any> | undefined; | ||
message?: string | undefined; | ||
subMessage?: string | undefined; | ||
exceptionClass?: string | undefined; | ||
}> & import("vue").VueConstructor<import("vue").default> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{ | ||
type: string; | ||
tiny_mode_root: boolean; | ||
_constants: Record<string, any>; | ||
pageEmpty: boolean; | ||
componentPage: boolean; | ||
} & { | ||
tiny_mode?: string | undefined; | ||
tiny_template?: unknown; | ||
tiny_renderless?: Function | undefined; | ||
tiny_theme?: string | undefined; | ||
tiny_chart_theme?: Record<string, any> | undefined; | ||
message?: string | undefined; | ||
subMessage?: string | undefined; | ||
exceptionClass?: string | undefined; | ||
}, import("@vue/composition-api").ShallowUnwrapRef<any>, import("@vue/composition-api").Data, {}, {}, { | ||
type: string; | ||
tiny_mode_root: boolean; | ||
_constants: Record<string, any>; | ||
pageEmpty: boolean; | ||
componentPage: boolean; | ||
} & { | ||
tiny_mode?: string | undefined; | ||
tiny_template?: unknown; | ||
tiny_renderless?: Function | undefined; | ||
tiny_theme?: string | undefined; | ||
tiny_chart_theme?: Record<string, any> | undefined; | ||
message?: string | undefined; | ||
subMessage?: string | undefined; | ||
exceptionClass?: string | undefined; | ||
}, { | ||
type: string; | ||
_constants: Record<string, any>; | ||
pageEmpty: boolean; | ||
componentPage: boolean; | ||
}, true>); | ||
declare const _sfc_main: any; | ||
export default _sfc_main; |
@@ -1,56 +0,2 @@ | ||
declare const _sfc_main: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{ | ||
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; | ||
}> & import("@vue/composition-api").Data, {}, {}, { | ||
type: { | ||
type: StringConstructor; | ||
default: string; | ||
}; | ||
message: StringConstructor; | ||
subMessage: StringConstructor; | ||
exceptionClass: StringConstructor; | ||
buttonText: StringConstructor; | ||
imageUrl: StringConstructor; | ||
}, { | ||
type: string; | ||
} & { | ||
message?: string | undefined; | ||
buttonText?: string | undefined; | ||
subMessage?: string | undefined; | ||
exceptionClass?: string | undefined; | ||
imageUrl?: string | undefined; | ||
}> & import("vue").VueConstructor<import("vue").default> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{ | ||
type: string; | ||
} & { | ||
message?: string | undefined; | ||
buttonText?: string | undefined; | ||
subMessage?: string | undefined; | ||
exceptionClass?: string | undefined; | ||
imageUrl?: string | undefined; | ||
}, import("@vue/composition-api").ShallowUnwrapRef<{ | ||
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; | ||
}>, import("@vue/composition-api").Data, {}, {}, { | ||
type: string; | ||
} & { | ||
message?: string | undefined; | ||
buttonText?: string | undefined; | ||
subMessage?: string | undefined; | ||
exceptionClass?: string | undefined; | ||
imageUrl?: string | undefined; | ||
}, { | ||
type: string; | ||
}, true>); | ||
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
13956
401