@opentiny/vue-dialog-box
Advanced tools
Comparing version 3.12.0 to 3.13.0-alpha.0
@@ -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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
0
100
2
30025
4
6
786
2
+ Added@better-scroll/core@2.5.0(transitive)
+ Added@better-scroll/shared-utils@2.5.1(transitive)
+ Added@opentiny/vue-action-sheet@3.13.0(transitive)
+ Added@opentiny/vue-button@3.13.0(transitive)
+ Added@opentiny/vue-common@3.13.1(transitive)
+ Added@opentiny/vue-drawer@3.13.0(transitive)
+ Added@opentiny/vue-icon@3.13.0(transitive)
+ Added@opentiny/vue-locale@3.13.0(transitive)
+ Added@opentiny/vue-renderless@3.13.2(transitive)
+ Added@opentiny/vue-theme@3.13.3(transitive)
+ Added@opentiny/vue-theme-mobile@3.13.0(transitive)
- Removed@opentiny/vue-common@3.12.0(transitive)
- Removed@opentiny/vue-icon@3.12.0(transitive)
- Removed@opentiny/vue-locale@3.12.0(transitive)
- Removed@opentiny/vue-renderless@3.12.1(transitive)
- Removed@opentiny/vue-theme@3.12.1(transitive)
- Removed@opentiny/vue-theme-mobile@3.12.0(transitive)