Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@opentiny/vue-user-contact

Package Overview
Dependencies
Maintainers
0
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentiny/vue-user-contact - npm Package Compare versions

Comparing version 2.18.0 to 2.19.0

88

lib/index.js

@@ -11,3 +11,3 @@ function _extends() {

}
import { defineComponent, $prefix, $props, $setup } from "@opentiny/vue-common";
import { defineComponent, $prefix, $setup, $props } from "@opentiny/vue-common";
import PcTemplate from "./pc.js";

@@ -20,46 +20,46 @@ import "@opentiny/vue-theme/user-contact/index.css";

};
var userContactProps = _extends({}, $props, {
showName: {
type: Boolean,
default: true
},
showArrow: {
type: Boolean,
default: false
},
/**
* 是否显示 roleNumber, colType 为 false 时生效
*/
showNumber: {
type: Boolean,
default: true
},
/**
* 是否显示 头像
*/
showImg: {
type: Boolean,
default: true
},
placement: String,
/**
* 数据
*/
data: {
type: Object
},
espace: Array,
popperClass: String,
popperAppendToBody: {
type: Boolean,
default: true
},
isNewImMode: {
type: Boolean,
default: true
}
});
var UserContact = defineComponent({
name: $prefix + "UserContact",
props: _extends({}, $props, {
showName: {
type: Boolean,
default: true
},
showArrow: {
type: Boolean,
default: false
},
/**
* 是否显示 roleNumber, colType 为 false 时生效
*/
showNumber: {
type: Boolean,
default: true
},
/**
* 是否显示 头像
*/
showImg: {
type: Boolean,
default: true
},
/**
* 数据
*/
data: {
type: Object,
validator: function validator(value) {
return typeof value.userName === "string" && value.imgUrl ? typeof value.imgUrl === "string" : typeof value.userDescription === "string" && (!value.values || Array.isArray(value.values));
}
},
popperClass: String,
popperAppendToBody: {
type: Boolean,
default: true
},
isNewImMode: {
type: Boolean,
default: true
}
}),
props: userContactProps,
setup: function setup(props, context) {

@@ -73,3 +73,3 @@ return $setup({

});
var version = "2.18.0";
var version = "2.19.0";
UserContact.install = function(Vue) {

@@ -76,0 +76,0 @@ Vue.component(UserContact.name, UserContact);

{
"name": "@opentiny/vue-user-contact",
"version": "2.18.0",
"version": "2.19.0",
"description": "",

@@ -10,10 +10,10 @@ "main": "./lib/index.js",

"dependencies": {
"@opentiny/vue-renderless": "~3.18.0",
"@opentiny/vue-common": "~2.18.0",
"@opentiny/vue-user-head": "~2.18.0",
"@opentiny/vue-card-template": "~2.18.0",
"@opentiny/vue-popover": "~2.18.0",
"@opentiny/vue-icon": "~2.18.0",
"@opentiny/vue-theme": "~3.18.0",
"@opentiny/vue-espace": "~2.18.0"
"@opentiny/vue-renderless": "~3.19.0",
"@opentiny/vue-common": "~2.19.0",
"@opentiny/vue-user-head": "~2.19.0",
"@opentiny/vue-card-template": "~2.19.0",
"@opentiny/vue-popover": "~2.19.0",
"@opentiny/vue-icon": "~2.19.0",
"@opentiny/vue-theme": "~3.19.0",
"@opentiny/vue-espace": "~2.19.0"
},

@@ -20,0 +20,0 @@ "license": "MIT",

@@ -12,3 +12,59 @@ /**

*/
export declare const userContactProps: {
showName: {
type: BooleanConstructor;
default: boolean;
};
showArrow: {
type: BooleanConstructor;
default: boolean;
};
/**
* 是否显示 roleNumber, colType 为 false 时生效
*/
showNumber: {
type: BooleanConstructor;
default: boolean;
};
/**
* 是否显示 头像
*/
showImg: {
type: BooleanConstructor;
default: boolean;
};
placement: StringConstructor;
/**
* 数据
*/
data: {
type: PropType<{
userName: string;
imgUrl: string;
roleNumber: string;
tools?: any;
values: undefined | {
text: string;
value: string;
}[];
}>;
};
espace: ArrayConstructor;
popperClass: StringConstructor;
popperAppendToBody: {
type: BooleanConstructor;
default: boolean;
};
isNewImMode: {
type: BooleanConstructor;
default: boolean;
};
tiny_mode: StringConstructor;
tiny_mode_root: BooleanConstructor;
tiny_template: (ObjectConstructor | FunctionConstructor)[];
tiny_renderless: FunctionConstructor;
tiny_theme: StringConstructor;
tiny_chart_theme: ObjectConstructor;
};
declare const _default: any;
export default _default;
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc