@opentiny/vue-user-head
Advanced tools
Comparing version 2.8.0 to 2.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 UserHead = defineComponent({ |
{ | ||
"name": "@opentiny/vue-user-head", | ||
"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-icon": "~2.8.0" | ||
"@opentiny/vue-renderless": "~3.8.2", | ||
"@opentiny/vue-common": "~2.8.2", | ||
"@opentiny/vue-icon": "~2.8.2" | ||
}, | ||
@@ -13,0 +13,0 @@ "license": "MIT", |
@@ -1,132 +0,2 @@ | ||
declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<() => import("vue").VNode> & import("@vue/composition-api").Data, {}, {}, { | ||
/** | ||
* @property {Boolean} [min=false] - 小尺寸模式 | ||
*/ | ||
min: BooleanConstructor; | ||
/** | ||
* @property {Boolean} [round=true] - 圆形模式 | ||
*/ | ||
round: BooleanConstructor; | ||
/** | ||
* @property {String} [color=#ffffff] - 文字颜色 | ||
*/ | ||
color: { | ||
type: StringConstructor; | ||
default: string; | ||
}; | ||
/** | ||
* @property {String} [backgroundColor=#BBBBBB] - 背景色 | ||
*/ | ||
backgroundColor: StringConstructor; | ||
/** | ||
* @property {String} [type=label] - 头像类型,icon|image|label 可选 | ||
*/ | ||
type: { | ||
type: StringConstructor; | ||
default: string; | ||
validator: (value: string) => boolean; | ||
}; | ||
/** | ||
* @property {String} - 头像资源 | ||
* type=icon 时为图标类名,type=label时为字体串,type=image时为资源路径 | ||
*/ | ||
value: { | ||
type: (StringConstructor | ObjectConstructor)[]; | ||
default: null; | ||
}; | ||
/** | ||
* @property {Number} - 消息计数 | ||
*/ | ||
messageTotal: NumberConstructor; | ||
/** | ||
* @property {String} [messageType=details] - 消息类型 details|basic 可选 | ||
*/ | ||
messageType: { | ||
type: StringConstructor; | ||
default: string; | ||
validator: (value: string) => boolean; | ||
}; | ||
/** | ||
* @property {Number} [messageUpperLimit=0] - 消息显示上限 | ||
*/ | ||
messageUpperLimit: { | ||
type: NumberConstructor; | ||
default: number; | ||
}; | ||
/** | ||
* @property {String, Number} [size=normal] - 头像尺寸 | ||
*/ | ||
size: { | ||
type: (StringConstructor | NumberConstructor)[]; | ||
default: string; | ||
validator(val: unknown): boolean; | ||
}; | ||
tiny_mode: StringConstructor; | ||
tiny_mode_root: BooleanConstructor; | ||
tiny_template: (FunctionConstructor | ObjectConstructor)[]; | ||
tiny_renderless: FunctionConstructor; | ||
tiny_theme: StringConstructor; | ||
tiny_chart_theme: ObjectConstructor; | ||
}, { | ||
type: string; | ||
size: string | number; | ||
round: boolean; | ||
tiny_mode_root: boolean; | ||
value: null; | ||
min: boolean; | ||
color: string; | ||
messageType: string; | ||
messageUpperLimit: number; | ||
} & { | ||
tiny_mode?: string | undefined; | ||
tiny_template?: unknown; | ||
tiny_renderless?: Function | undefined; | ||
tiny_theme?: string | undefined; | ||
tiny_chart_theme?: Record<string, any> | undefined; | ||
backgroundColor?: string | undefined; | ||
messageTotal?: number | undefined; | ||
}> & import("vue").VueConstructor<import("vue").default> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{ | ||
type: string; | ||
size: string | number; | ||
round: boolean; | ||
tiny_mode_root: boolean; | ||
value: null; | ||
min: boolean; | ||
color: string; | ||
messageType: string; | ||
messageUpperLimit: number; | ||
} & { | ||
tiny_mode?: string | undefined; | ||
tiny_template?: unknown; | ||
tiny_renderless?: Function | undefined; | ||
tiny_theme?: string | undefined; | ||
tiny_chart_theme?: Record<string, any> | undefined; | ||
backgroundColor?: string | undefined; | ||
messageTotal?: number | undefined; | ||
}, import("@vue/composition-api").ShallowUnwrapRef<() => import("vue").VNode>, import("@vue/composition-api").Data, {}, {}, { | ||
type: string; | ||
size: string | number; | ||
round: boolean; | ||
tiny_mode_root: boolean; | ||
value: null; | ||
min: boolean; | ||
color: string; | ||
messageType: string; | ||
messageUpperLimit: number; | ||
} & { | ||
tiny_mode?: string | undefined; | ||
tiny_template?: unknown; | ||
tiny_renderless?: Function | undefined; | ||
tiny_theme?: string | undefined; | ||
tiny_chart_theme?: Record<string, any> | undefined; | ||
backgroundColor?: string | undefined; | ||
messageTotal?: number | undefined; | ||
}, { | ||
type: string; | ||
size: string | number; | ||
value: null; | ||
color: string; | ||
messageType: string; | ||
messageUpperLimit: number; | ||
}, true>); | ||
declare const _default: any; | ||
export default _default; |
@@ -1,12 +0,2 @@ | ||
declare const _sfc_main: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<any> & import("@vue/composition-api").Data, {}, {}, Readonly<{ | ||
[x: string]: any; | ||
}>, { | ||
[x: string]: any; | ||
} & {}> & import("vue").VueConstructor<import("vue").default> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{ | ||
[x: string]: any; | ||
} & {}, import("@vue/composition-api").ShallowUnwrapRef<any>, import("@vue/composition-api").Data, {}, {}, { | ||
[x: string]: any; | ||
} & {}, { | ||
[x: string]: any; | ||
}, true>); | ||
declare const _sfc_main: any; | ||
export default _sfc_main; |
@@ -1,30 +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, {}, {}, Readonly<{ | ||
[x: string]: any; | ||
}>, { | ||
[x: string]: any; | ||
} & {}> & import("vue").VueConstructor<import("vue").default> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{ | ||
[x: string]: any; | ||
} & {}, 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, {}, {}, { | ||
[x: string]: any; | ||
} & {}, { | ||
[x: string]: any; | ||
}, true>); | ||
declare const _sfc_main: any; | ||
export default _sfc_main; |
@@ -1,30 +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, {}, {}, Readonly<{ | ||
[x: string]: any; | ||
}>, { | ||
[x: string]: any; | ||
} & {}> & import("vue").VueConstructor<import("vue").default> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{ | ||
[x: string]: any; | ||
} & {}, 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, {}, {}, { | ||
[x: string]: any; | ||
} & {}, { | ||
[x: string]: any; | ||
}, 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
18245
513
4
Updated@opentiny/vue-common@~2.8.2
Updated@opentiny/vue-icon@~2.8.2