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

@opentiny/vue-dialog-box

Package Overview
Dependencies
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentiny/vue-dialog-box - npm Package Compare versions

Comparing version 3.12.0 to 3.13.0-alpha.0

lib/mobile-first.js

46

lib/index.js

@@ -18,9 +18,15 @@ function _extends() {

import MobileTemplate from "./mobile.js";
import MobileFirstTemplate from "./mobile-first.js";
var template = function template2(mode) {
if ("pc" === (process.env.TINY_MODE || mode)) {
var _process$env;
var tinyMode = typeof process === "object" ? (_process$env = process.env) == null ? void 0 : _process$env.TINY_MODE : null;
if ("pc" === (tinyMode || mode)) {
return PcTemplate;
}
if ("mobile" === (process.env.TINY_MODE || mode)) {
if ("mobile" === (tinyMode || mode)) {
return MobileTemplate;
}
if ("mobile-first" === (tinyMode || mode)) {
return MobileFirstTemplate;
}
return PcTemplate;

@@ -74,3 +80,3 @@ };

destroyOnClose: {
Boolean,
type: Boolean,
default: function _default6() {

@@ -92,3 +98,3 @@ return false;

},
fullscreen: {
dragOutsideWindow: {
type: Boolean,

@@ -99,5 +105,11 @@ default: function _default9() {

},
fullscreen: {
type: Boolean,
default: function _default10() {
return false;
}
},
isFormReset: {
type: Boolean,
default: function _default10() {
default: function _default11() {
return true;

@@ -108,3 +120,3 @@ }

type: Boolean,
default: function _default11() {
default: function _default12() {
return true;

@@ -115,3 +127,3 @@ }

type: Boolean,
default: function _default12() {
default: function _default13() {
return true;

@@ -122,3 +134,3 @@ }

type: Boolean,
default: function _default13() {
default: function _default14() {
return true;

@@ -129,3 +141,3 @@ }

type: Boolean,
default: function _default14() {
default: function _default15() {
return false;

@@ -136,3 +148,3 @@ }

type: Boolean,
default: function _default15() {
default: function _default16() {
return false;

@@ -143,3 +155,3 @@ }

type: Boolean,
default: function _default16() {
default: function _default17() {
return true;

@@ -150,3 +162,3 @@ }

type: Boolean,
default: function _default17() {
default: function _default18() {
return true;

@@ -157,3 +169,3 @@ }

type: String,
default: function _default18() {
default: function _default19() {
return "";

@@ -165,3 +177,3 @@ }

type: Boolean,
default: function _default19() {
default: function _default20() {
return false;

@@ -172,3 +184,3 @@ }

type: String,
default: function _default20() {
default: function _default21() {
return "500px";

@@ -179,3 +191,3 @@ }

type: String,
default: function _default21() {
default: function _default22() {
return "";

@@ -200,3 +212,3 @@ }

});
var version = "3.12.0";
var version = "3.13.0-alpha.0";
DialogBox.install = function(Vue) {

@@ -203,0 +215,0 @@ Vue.component(DialogBox.name, DialogBox);

@@ -58,3 +58,3 @@ import { renderless, api } from "@opentiny/vue-renderless/dialog-box/vue";

emits: ["update:visible", "change", "before-close", "open", "close", "opened", "confirm", "cancel", "closed", "drag-start", "drag-move", "drag-end"],
props: [].concat(props, ["resize", "isFormReset", "visible", "title", "modal", "modalAppendToBody", "appendToBody", "lockScroll", "closeOnClickModal", "closeOnPressEscape", "showClose", "width", "fullscreen", "top", "center", "draggable", "showHeader", "rightSlide", "destroyOnClose", "dialogClass", "beforeClose", "maxHeight"]),
props: [].concat(props, ["resize", "isFormReset", "visible", "title", "modal", "modalAppendToBody", "appendToBody", "lockScroll", "closeOnClickModal", "closeOnPressEscape", "showClose", "width", "fullscreen", "top", "center", "draggable", "dragOutsideWindow", "showHeader", "rightSlide", "destroyOnClose", "dialogClass", "beforeClose", "maxHeight"]),
model: {

@@ -61,0 +61,0 @@ prop: "visible",

{
"name": "@opentiny/vue-dialog-box",
"version": "3.12.0",
"version": "3.13.0-alpha.0",
"description": "",

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

"dependencies": {
"@opentiny/vue-common": "~3.12.0",
"@opentiny/vue-icon": "~3.12.0",
"@opentiny/vue-renderless": "~3.12.0"
"@opentiny/vue-common": "~3.13.0-alpha.0",
"@opentiny/vue-icon": "~3.13.0-alpha.0",
"@opentiny/vue-action-sheet": "~3.13.0-alpha.0",
"@opentiny/vue-renderless": "~3.13.0-alpha.0"
},

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