@opentiny/vue-user-head
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 UserHead = defineComponent({ |
{ | ||
"name": "@opentiny/vue-user-head", | ||
"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-icon": "~3.8.0" | ||
"@opentiny/vue-renderless": "~3.8.2", | ||
"@opentiny/vue-common": "~3.8.2", | ||
"@opentiny/vue-icon": "~3.8.2" | ||
}, | ||
@@ -13,0 +13,0 @@ "license": "MIT", |
@@ -1,152 +0,2 @@ | ||
declare const _default: import("@vue/runtime-core").DefineComponent<{ | ||
/** | ||
* @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; | ||
}, () => 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<{ | ||
/** | ||
* @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: string | Record<string, any>; | ||
min: boolean; | ||
color: string; | ||
messageType: string; | ||
messageUpperLimit: number; | ||
}>; | ||
declare const _default: any; | ||
export default _default; |
@@ -1,8 +0,2 @@ | ||
declare const _sfc_main: import("@vue/runtime-core").DefineComponent<Readonly<{ | ||
[x: string]: any; | ||
}>, any, 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,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,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; |
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
19379
506
4
Updated@opentiny/vue-common@~3.8.2
Updated@opentiny/vue-icon@~3.8.2