@opentiny/vue-modal
Advanced tools
Comparing version 2.16.1 to 2.17.0
@@ -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 @@ }; |
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
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
45291
1314
+ Added@opentiny/vue-button@2.17.0(transitive)
+ Added@opentiny/vue-checkbox@2.17.0(transitive)
+ Added@opentiny/vue-checkbox-button@2.17.0(transitive)
+ Added@opentiny/vue-checkbox-group@2.17.0(transitive)
+ Added@opentiny/vue-common@2.17.0(transitive)
+ Added@opentiny/vue-directive@2.17.0(transitive)
+ Added@opentiny/vue-icon@2.17.0(transitive)
+ Added@opentiny/vue-locale@2.17.0(transitive)
+ Added@opentiny/vue-popconfirm@2.17.0(transitive)
+ Added@opentiny/vue-popover@2.17.0(transitive)
+ Added@opentiny/vue-renderless@3.17.6(transitive)
+ Added@opentiny/vue-theme@3.17.5(transitive)
+ Added@opentiny/vue-theme-mobile@3.17.0(transitive)
+ Added@opentiny/vue-tooltip@2.17.0(transitive)
- Removed@opentiny/vue-button@2.16.0(transitive)
- Removed@opentiny/vue-checkbox@2.16.0(transitive)
- Removed@opentiny/vue-checkbox-button@2.16.0(transitive)
- Removed@opentiny/vue-checkbox-group@2.16.0(transitive)
- Removed@opentiny/vue-common@2.16.0(transitive)
- Removed@opentiny/vue-icon@2.16.0(transitive)
- Removed@opentiny/vue-locale@2.16.0(transitive)
- Removed@opentiny/vue-popconfirm@2.16.0(transitive)
- Removed@opentiny/vue-popover@2.16.0(transitive)
- Removed@opentiny/vue-renderless@3.16.2(transitive)
- Removed@opentiny/vue-theme@3.16.4(transitive)
- Removed@opentiny/vue-theme-mobile@3.16.0(transitive)
- Removed@opentiny/vue-tooltip@2.16.0(transitive)
Updated@opentiny/vue-button@~2.17.0
Updated@opentiny/vue-common@~2.17.0
Updated@opentiny/vue-icon@~2.17.0
Updated@opentiny/vue-theme@~3.17.0