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

@opentiny/vue-popconfirm

Package Overview
Dependencies
Maintainers
0
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentiny/vue-popconfirm - npm Package Compare versions

Comparing version 3.17.0 to 3.18.0

2

lib/index.js

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

});
var version = "3.17.0";
var version = "3.18.0";
Popconfirm.install = function(Vue) {

@@ -92,0 +92,0 @@ Vue.component(Popconfirm.name, Popconfirm);

@@ -38,3 +38,3 @@ import { defineComponent, $prefix, setup } from '@opentiny/vue-common';

for (var _iterator = _createForOfIteratorHelperLoose(props), _step; !(_step = _iterator()).done; ) {
var _step$value = _step.value, key = _step$value[0], val = _step$value[1];
var _step$value2 = _step.value, key = _step$value2[0], val = _step$value2[1];
target[key] = val;

@@ -148,142 +148,178 @@ }

var _component_tiny_popover = resolveComponent("tiny-popover");
return openBlock(), createElementBlock("div", _hoisted_1, [createVNode(_component_tiny_popover, {
ref: "popover",
tiny_mode: "mobile-first",
modelValue: _ctx.state.showPopover,
"onUpdate:modelValue": _cache[2] || (_cache[2] = function($event) {
return _ctx.state.showPopover = $event;
}),
placement: _ctx.placement,
trigger: "manual",
width: _ctx.width,
title: _ctx.title,
"popper-class": _ctx.m("min-w-[theme(spacing.44)] max-w-[theme(spacing.96)]", _ctx.customClass),
"append-to-body": _ctx.popperAppendToBody,
reference: _ctx.reference,
onShow: _cache[3] || (_cache[3] = function($event) {
return _ctx.handleEmit("show");
}),
onHide: _cache[4] || (_cache[4] = function($event) {
return _ctx.handleEmit("hide");
})
}, {
header: withCtx(function() {
return [createElementVNode("div", _hoisted_2, [_ctx.type ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.state.getIcon), {
key: 0,
class: normalizeClass(_ctx.m("h-6 w-6 mr-2", {
"fill-color-info-secondary": _ctx.type === "info"
}, {
"fill-color-error": _ctx.type === "error"
}, {
"fill-color-warning": _ctx.type === "warning"
}, {
"fill-color-success": _ctx.type === "success"
}))
}, null, 8, ["class"])) : createCommentVNode("v-if", true), createElementVNode(
"div",
_hoisted_3,
toDisplayString(_ctx.title),
1
/* TEXT */
)])];
}),
default: withCtx(function() {
return [createElementVNode("div", _hoisted_4, [createElementVNode(
"div",
_hoisted_5,
toDisplayString(_ctx.message),
1
/* TEXT */
)])];
}),
footer: withCtx(function() {
return [createElementVNode("div", _hoisted_6, [createElementVNode("div", _hoisted_7, [renderSlot(_ctx.$slots, "footer", {}, function() {
return [_ctx.cancelButton ? (openBlock(), createBlock(_component_tiny_button, {
key: 0,
class: "mr-2 w-16",
size: "mini",
tiny_mode: "mobile-first",
onClick: _ctx.hide
}, {
default: withCtx(function() {
return [createTextVNode(
toDisplayString(_ctx.t("ui.buttonMessage.cancel")),
1
/* TEXT */
)];
}),
_: 1
/* STABLE */
}, 8, ["onClick"])) : createCommentVNode("v-if", true), createVNode(_component_tiny_button, {
class: "w-16",
size: "mini",
tiny_mode: "mobile-first",
type: "primary",
onClick: _ctx.confirm
}, {
default: withCtx(function() {
return [createTextVNode(
toDisplayString(_ctx.t("ui.buttonMessage.confirm")),
1
/* TEXT */
)];
}),
_: 1
/* STABLE */
}, 8, ["onClick"])];
})]), createElementVNode("div", _hoisted_8, [renderSlot(_ctx.$slots, "footer", {}, function() {
return [_ctx.cancelButton ? (openBlock(), createBlock(_component_tiny_button, {
key: 0,
"custom-class": "flex-1 text-color-text-secondary",
tiny_mode: "mobile-first",
type: "text",
onClick: _ctx.hide
}, {
default: withCtx(function() {
return [createTextVNode(
toDisplayString(_ctx.t("ui.buttonMessage.cancel")),
1
/* TEXT */
)];
}),
_: 1
/* STABLE */
}, 8, ["onClick"])) : createCommentVNode("v-if", true), _ctx.cancelButton ? (openBlock(), createElementBlock("span", _hoisted_9)) : createCommentVNode("v-if", true), createVNode(_component_tiny_button, {
"custom-class": "flex-1 text-color-brand tiny-modal-mf-button",
tiny_mode: "mobile-first",
type: "text",
onClick: _ctx.confirm
}, {
default: withCtx(function() {
return [createTextVNode(
toDisplayString(_ctx.t("ui.buttonMessage.confirm")),
1
/* TEXT */
)];
}),
_: 1
/* STABLE */
}, 8, ["onClick"])];
})])])];
}),
reference: withCtx(function() {
return [createElementVNode(
"div",
{
class: "inline-block",
onClick: _cache[0] || (_cache[0] = function($event) {
return _ctx.show("click");
}),
onMouseover: _cache[1] || (_cache[1] = function($event) {
return _ctx.show("hover");
})
},
[renderSlot(_ctx.$slots, "reference")],
32
/* NEED_HYDRATION */
)];
}),
_: 3
/* FORWARDED */
}, 8, ["modelValue", "placement", "width", "title", "popper-class", "append-to-body", "reference"])]);
return openBlock(), createElementBlock("div", _hoisted_1, [createVNode(
_component_tiny_popover,
{
ref: "popover",
tiny_mode: "mobile-first",
modelValue: _ctx.state.showPopover,
"onUpdate:modelValue": _cache[2] || (_cache[2] = function($event) {
return _ctx.state.showPopover = $event;
}),
placement: _ctx.placement,
trigger: "manual",
width: _ctx.width,
title: _ctx.title,
"popper-class": _ctx.m("min-w-[theme(spacing.44)] max-w-[theme(spacing.96)]", _ctx.customClass),
"append-to-body": _ctx.popperAppendToBody,
reference: _ctx.reference,
onShow: _cache[3] || (_cache[3] = function($event) {
return _ctx.handleEmit("show");
}),
onHide: _cache[4] || (_cache[4] = function($event) {
return _ctx.handleEmit("hide");
})
},
{
header: withCtx(function() {
return [createElementVNode("div", _hoisted_2, [_ctx.type ? (openBlock(), createBlock(
resolveDynamicComponent(_ctx.state.getIcon),
{
key: 0,
class: normalizeClass(_ctx.m("h-6 w-6 mr-2", {
"fill-color-info-secondary": _ctx.type === "info"
}, {
"fill-color-error": _ctx.type === "error"
}, {
"fill-color-warning": _ctx.type === "warning"
}, {
"fill-color-success": _ctx.type === "success"
}))
},
null,
8,
["class"]
)) : createCommentVNode("v-if", true), createElementVNode(
"div",
_hoisted_3,
toDisplayString(_ctx.title),
1
/* TEXT */
)])];
}),
default: withCtx(function() {
return [createElementVNode("div", _hoisted_4, [createElementVNode(
"div",
_hoisted_5,
toDisplayString(_ctx.message),
1
/* TEXT */
)])];
}),
footer: withCtx(function() {
return [createElementVNode("div", _hoisted_6, [createElementVNode("div", _hoisted_7, [renderSlot(_ctx.$slots, "footer", {}, function() {
return [_ctx.cancelButton ? (openBlock(), createBlock(
_component_tiny_button,
{
key: 0,
class: "mr-2 w-16",
size: "mini",
tiny_mode: "mobile-first",
onClick: _ctx.hide
},
{
default: withCtx(function() {
return [createTextVNode(
toDisplayString(_ctx.t("ui.buttonMessage.cancel")),
1
/* TEXT */
)];
}),
_: 1
/* STABLE */
},
8,
["onClick"]
)) : createCommentVNode("v-if", true), createVNode(
_component_tiny_button,
{
class: "w-16",
size: "mini",
tiny_mode: "mobile-first",
type: "primary",
onClick: _ctx.confirm
},
{
default: withCtx(function() {
return [createTextVNode(
toDisplayString(_ctx.t("ui.buttonMessage.confirm")),
1
/* TEXT */
)];
}),
_: 1
/* STABLE */
},
8,
["onClick"]
)];
})]), createElementVNode("div", _hoisted_8, [renderSlot(_ctx.$slots, "footer", {}, function() {
return [_ctx.cancelButton ? (openBlock(), createBlock(
_component_tiny_button,
{
key: 0,
"custom-class": "flex-1 text-color-text-secondary",
tiny_mode: "mobile-first",
type: "text",
onClick: _ctx.hide
},
{
default: withCtx(function() {
return [createTextVNode(
toDisplayString(_ctx.t("ui.buttonMessage.cancel")),
1
/* TEXT */
)];
}),
_: 1
/* STABLE */
},
8,
["onClick"]
)) : createCommentVNode("v-if", true), _ctx.cancelButton ? (openBlock(), createElementBlock("span", _hoisted_9)) : createCommentVNode("v-if", true), createVNode(
_component_tiny_button,
{
"custom-class": "flex-1 text-color-brand tiny-modal-mf-button",
tiny_mode: "mobile-first",
type: "text",
onClick: _ctx.confirm
},
{
default: withCtx(function() {
return [createTextVNode(
toDisplayString(_ctx.t("ui.buttonMessage.confirm")),
1
/* TEXT */
)];
}),
_: 1
/* STABLE */
},
8,
["onClick"]
)];
})])])];
}),
reference: withCtx(function() {
return [createElementVNode(
"div",
{
class: "inline-block",
onClick: _cache[0] || (_cache[0] = function($event) {
return _ctx.show("click");
}),
onMouseover: _cache[1] || (_cache[1] = function($event) {
return _ctx.show("hover");
})
},
[renderSlot(_ctx.$slots, "reference")],
32
/* NEED_HYDRATION */
)];
}),
_: 3
/* FORWARDED */
},
8,
["modelValue", "placement", "width", "title", "popper-class", "append-to-body", "reference"]
)]);
}

@@ -290,0 +326,0 @@ var mobileFirst = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);

@@ -39,3 +39,3 @@ import { defineComponent, $prefix, setup } from '@opentiny/vue-common';

for (var _iterator = _createForOfIteratorHelperLoose(props), _step; !(_step = _iterator()).done; ) {
var _step$value = _step.value, key = _step$value[0], val = _step$value[1];
var _step$value2 = _step.value, key = _step$value2[0], val = _step$value2[1];
target[key] = val;

@@ -139,3 +139,3 @@ }

title: _ctx.title,
"popper-class": _ctx.m("tiny-popconfirm-popover", _ctx.customClass),
"popper-class": "tiny-popconfirm-popover " + (_ctx.customClass || ""),
"popper-options": _ctx.popperOptions,

@@ -142,0 +142,0 @@ "append-to-body": _ctx.popperAppendToBody,

{
"name": "@opentiny/vue-popconfirm",
"version": "3.17.0",
"version": "3.18.0",
"description": "",

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

"dependencies": {
"@opentiny/vue-button": "~3.17.0",
"@opentiny/vue-common": "~3.17.0",
"@opentiny/vue-icon": "~3.17.0",
"@opentiny/vue-popover": "~3.17.0",
"@opentiny/vue-renderless": "~3.17.0",
"@opentiny/vue-theme": "~3.17.0"
"@opentiny/vue-button": "~3.18.0",
"@opentiny/vue-common": "~3.18.0",
"@opentiny/vue-icon": "~3.18.0",
"@opentiny/vue-popover": "~3.18.0",
"@opentiny/vue-renderless": "~3.18.0",
"@opentiny/vue-theme": "~3.18.0"
},

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

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