@playmoweb/vue-payline-wrapper
Advanced tools
Comparing version 1.0.9 to 1.1.0
/*! | ||
* @playmoweb/vue-payline-wrapper v1.0.9 | ||
* @playmoweb/vue-payline-wrapper v1.1.0 | ||
* (c) Playmoweb SAS | ||
@@ -116,2 +116,6 @@ * Released under the MIT License. | ||
}, | ||
autoCloseOnSuccess: { | ||
type: Boolean, | ||
"default": true | ||
}, | ||
actionButtonText: { | ||
@@ -232,6 +236,9 @@ type: String, | ||
this.$emit("handleFinalStateReached", param); | ||
this.$nextTick().then(function () { | ||
_this.payline.Api.hide(); | ||
}); | ||
if (this.autoCloseOnSuccess) { | ||
this.$nextTick().then(function () { | ||
_this.payline.Api.hide(); | ||
}); | ||
} | ||
switch (param.state) { | ||
@@ -409,3 +416,3 @@ case "PAYMENT_SUCCESS": | ||
if (!inject) return; | ||
inject("data-v-8d34703c_0", { | ||
inject("data-v-0235b24f_0", { | ||
source: ".noClose /deep/ #pl-container-lightbox-header-bar{display:none!important}", | ||
@@ -412,0 +419,0 @@ map: undefined, |
/*! | ||
* @playmoweb/vue-payline-wrapper v1.0.9 | ||
* @playmoweb/vue-payline-wrapper v1.1.0 | ||
* (c) Playmoweb SAS | ||
@@ -118,2 +118,6 @@ * Released under the MIT License. | ||
}, | ||
autoCloseOnSuccess: { | ||
type: Boolean, | ||
"default": true | ||
}, | ||
actionButtonText: { | ||
@@ -234,6 +238,9 @@ type: String, | ||
this.$emit("handleFinalStateReached", param); | ||
this.$nextTick().then(function () { | ||
_this.payline.Api.hide(); | ||
}); | ||
if (this.autoCloseOnSuccess) { | ||
this.$nextTick().then(function () { | ||
_this.payline.Api.hide(); | ||
}); | ||
} | ||
switch (param.state) { | ||
@@ -411,3 +418,3 @@ case "PAYMENT_SUCCESS": | ||
if (!inject) return; | ||
inject("data-v-8d34703c_0", { | ||
inject("data-v-0235b24f_0", { | ||
source: ".noClose /deep/ #pl-container-lightbox-header-bar{display:none!important}", | ||
@@ -414,0 +421,0 @@ map: undefined, |
{ | ||
"name": "@playmoweb/vue-payline-wrapper", | ||
"version": "1.0.9", | ||
"version": "1.1.0", | ||
"description": "VueJS Payline Widget Wrapper.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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
30049
801