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

@opentiny/vue-modal

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-modal - npm Package Compare versions

Comparing version 2.16.1 to 2.17.0

4

lib/index.js

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

},
PC_SCROLL_LOCK_CLASS: "tiny-dialog-box__scroll-lock",
PC_SCROLL_LOCK_CLASS: "dialog-box__scroll-lock",
MOBILE_FIRST_SCROLL_LOCK_CLASS: "tiny-modal-lockscroll",

@@ -186,3 +186,3 @@ Mode: "pc",

});
var version = "2.undefined";
var version = "2.17.0";
TINYModal.version = version;

@@ -189,0 +189,0 @@ TINYModal.model = {

@@ -205,4 +205,4 @@ import { defineComponent, $props, setup, h } from '@opentiny/vue-common';

var zoomLocat = state.zoomLocat, visible = state.visible, contentVisible = state.contentVisible, modalTop = state.modalTop, isMsg = state.isMsg;
var defaultSlot = slots.default || propSlots.default;
var footerSlot = slots.footer || propSlots.footer;
var defaultSlot = (slots == null ? void 0 : slots.default) || propSlots.default;
var footerSlot = (slots == null ? void 0 : slots.footer) || propSlots.footer;
var footerSlotParams = {

@@ -209,0 +209,0 @@ $modal: this,

@@ -137,3 +137,3 @@ import Button from '@opentiny/vue-button';

}, [status ? h("div", {
class: "tiny-modal__status-wrapper"
class: ["tiny-modal__status-wrapper"]
}, [typeof status === "string" ? h(STATUS_MAPPING_COMPINENT[status.toUpperCase()], {

@@ -182,17 +182,6 @@ class: [constants.STATUS_MAPPING_CLASSS[status.toUpperCase()]]

}
}, footerSlot ? footerSlot.call(this, footerSlotParams, h) : state.theme === "saas" ? [type === "confirm" ? h(Button, {
}, footerSlot ? footerSlot.call(this, footerSlotParams, h) : [type === "confirm" ? h(Button, {
on: {
click: this.cancelEvent
}
}, cancelContent || t("ui.button.cancel")) : null, h(Button, {
props: {
type: "primary"
},
on: {
click: this.confirmEvent
}
}, confirmContent || t("ui.button.confirm"))] : [type === "confirm" ? h(Button, {
on: {
click: this.cancelEvent
},
props: _extends({}, cancelButtonProps)

@@ -199,0 +188,0 @@ }, cancelButtonText) : null, h(Button, {

{
"name": "@opentiny/vue-modal",
"version": "2.16.1",
"version": "2.17.0",
"description": "",

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

"dependencies": {
"@opentiny/vue-renderless": "~3.16.0",
"@opentiny/vue-common": "~2.16.0",
"@opentiny/vue-button": "~2.16.0",
"@opentiny/vue-checkbox": "~2.16.0",
"@opentiny/vue-checkbox-group": "~2.16.0",
"@opentiny/vue-popconfirm": "~2.16.0",
"@opentiny/vue-icon": "~2.16.0",
"@opentiny/vue-theme-mobile": "~3.16.0",
"@opentiny/vue-theme": "~3.16.0"
"@opentiny/vue-renderless": "~3.17.0",
"@opentiny/vue-common": "~2.17.0",
"@opentiny/vue-button": "~2.17.0",
"@opentiny/vue-checkbox": "~2.17.0",
"@opentiny/vue-checkbox-group": "~2.17.0",
"@opentiny/vue-popconfirm": "~2.17.0",
"@opentiny/vue-icon": "~2.17.0",
"@opentiny/vue-theme-mobile": "~3.17.0",
"@opentiny/vue-theme": "~3.17.0"
},

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

@@ -87,3 +87,3 @@ export declare const $constants: {

maskClosable: BooleanConstructor;
message: (ObjectConstructor | StringConstructor | FunctionConstructor)[];
message: (StringConstructor | ObjectConstructor | FunctionConstructor)[];
minHeight: {

@@ -105,3 +105,3 @@ type: (StringConstructor | NumberConstructor)[];

status: {
type: (ObjectConstructor | StringConstructor)[];
type: (StringConstructor | ObjectConstructor)[];
default: string;

@@ -108,0 +108,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