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
1
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 3.6.7 to 3.8.0

2

lib/index.js

@@ -21,2 +21,4 @@ function _extends() {

return MobileTemplate;
else if ("mobile-first" === (process.env.TINY_MODE || mode))
return MobileFirstTemplate;
else

@@ -23,0 +25,0 @@ return PcTemplate;

37

lib/pc.js

@@ -5,5 +5,6 @@ import { renderless, api } from "@opentiny/vue-renderless/user-contact/vue";

import CardTemplate from "@opentiny/vue-card-template";
import Espace from "@opentiny/vue-espace";
import Popover from "@opentiny/vue-popover";
import { iconChevronUp, iconChevronDown } from "@opentiny/vue-icon";
import { resolveComponent, openBlock, createElementBlock, createVNode, withCtx, createElementVNode, withDirectives, vShow, toDisplayString, createBlock, resolveDynamicComponent, renderSlot, Fragment, renderList } from "vue";
import { IconChevronUp, IconChevronDown } from "@opentiny/vue-icon";
import { resolveComponent, openBlock, createElementBlock, createVNode, withCtx, createElementVNode, withDirectives, vShow, toDisplayString, createBlock, resolveDynamicComponent, renderSlot, Fragment, renderList, createCommentVNode } from "vue";
function _createForOfIteratorHelperLoose(o, allowArrayLike) {

@@ -54,10 +55,11 @@ var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];

var _sfc_main = /* @__PURE__ */ defineComponent({
props: [].concat(props, ["data", "showArrow", "showName", "showDescription", "showImg", "placement", "popperClass", "popperAppendToBody", "isNewImMode"]),
var _sfc_main = defineComponent({
props: [].concat(props, ["data", "showArrow", "espace", "showName", "showNumber", "showImg", "placement", "popperClass", "popperAppendToBody", "isNewImMode"]),
components: {
UserHead,
CardTemplate,
Espace,
Popover,
IconChevronUp: iconChevronUp(),
IconChevronDown: iconChevronDown()
IconChevronUp: IconChevronUp(),
IconChevronDown: IconChevronDown()
},

@@ -101,9 +103,10 @@ setup: function setup(props2, context) {

var _component_card_template = resolveComponent("card-template");
var _component_espace = resolveComponent("espace");
var _component_Popover = resolveComponent("Popover");
return openBlock(), createElementBlock("div", _hoisted_1, [createVNode(_component_Popover, {
placement: "bottom-start",
onShow: _cache[2] || (_cache[2] = function($event) {
onShow: _cache[3] || (_cache[3] = function($event) {
return _ctx.show = true;
}),
onHide: _cache[3] || (_cache[3] = function($event) {
onHide: _cache[4] || (_cache[4] = function($event) {
return _ctx.show = false;

@@ -119,2 +122,5 @@ }),

href: _ctx.getUserHref(),
onClick: _cache[1] || (_cache[1] = function() {
return _ctx.doUserAction && _ctx.doUserAction.apply(_ctx, arguments);
}),
class: "dropdown-part"

@@ -142,6 +148,6 @@ }, [withDirectives(createVNode(_component_user_head, {

},
toDisplayString(_ctx.data.userDescription),
toDisplayString(_ctx.data.roleNumber),
513
/* TEXT, NEED_PATCH */
), [[vShow, _ctx.showDescription]])])], 8, _hoisted_2), (openBlock(), createBlock(resolveDynamicComponent(_ctx.show ? "icon-chevron-up" : "icon-chevron-down"), {
), [[vShow, _ctx.showNumber]])])], 8, _hoisted_2), (openBlock(), createBlock(resolveDynamicComponent(_ctx.show ? "icon-chevron-up" : "icon-chevron-down"), {
class: "tiny-svg-size tiny-user-contact__arrow"

@@ -170,3 +176,3 @@ }))];

modelValue: _ctx.data.imgUrl,
"onUpdate:modelValue": _cache[1] || (_cache[1] = function($event) {
"onUpdate:modelValue": _cache[2] || (_cache[2] = function($event) {
return _ctx.data.imgUrl = $event;

@@ -188,6 +194,6 @@ }),

},
toDisplayString(_ctx.data.userDescription),
toDisplayString(_ctx.t("ui.usercard.empno")) + ":" + toDisplayString(_ctx.data.roleNumber),
513
/* TEXT, NEED_PATCH */
), [[vShow, _ctx.showDescription]])])])])];
), [[vShow, _ctx.showNumber]])])])])];
}),

@@ -218,3 +224,6 @@ default: withCtx(function() {

/* KEYED_FRAGMENT */
))])])];
))]), _ctx.espace && _ctx.espace.length ? (openBlock(), createBlock(_component_espace, {
key: 0,
data: _ctx.espace
}, null, 8, ["data"])) : createCommentVNode("v-if", true)])];
}),

@@ -221,0 +230,0 @@ _: 1

{
"name": "@opentiny/vue-user-contact",
"version": "3.6.7",
"version": "3.8.0",
"description": "",
"main": "./lib/index.js",
"module": "./lib/index.js",
"dependencies": {
"@opentiny/vue-renderless": "~3.6.6",
"@opentiny/vue-common": "~3.6.7",
"@opentiny/vue-user-head": "~3.6.7",
"@opentiny/vue-card-template": "~3.6.7",
"@opentiny/vue-popover": "~3.6.7",
"@opentiny/vue-icon": "~3.6.7"
"@opentiny/vue-renderless": "~3.8.0",
"@opentiny/vue-common": "~3.8.0",
"@opentiny/vue-user-head": "~3.8.0",
"@opentiny/vue-card-template": "~3.8.0",
"@opentiny/vue-popover": "~3.8.0",
"@opentiny/vue-icon": "~3.8.0"
},

@@ -14,0 +15,0 @@ "license": "MIT",

@@ -40,2 +40,8 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{

};
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, {

@@ -82,7 +88,14 @@ [key: string]: any;

};
tiny_mode: StringConstructor;
tiny_mode_root: BooleanConstructor;
tiny_template: (FunctionConstructor | ObjectConstructor)[];
tiny_renderless: FunctionConstructor;
tiny_theme: StringConstructor;
tiny_chart_theme: ObjectConstructor;
}>>, {
tiny_mode_root: boolean;
popperAppendToBody: boolean;
isNewImMode: boolean;
showName: boolean;
showArrow: boolean;
showName: boolean;
showDescription: boolean;

@@ -89,0 +102,0 @@ showImg: boolean;

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;
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
}>, 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;

@@ -12,0 +5,0 @@ }>>>, {

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