@monei-js/components 1.7.3 → 1.7.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -15606,18 +15606,18 @@ var options$4 = {
15606
15606
  required: false,
15607
15607
  value: function value(_ref2) {
15608
15608
  var props = _ref2.props;
15609
- var shouldOpen = true;
15610
-
15611
- if (props.onBeforeOpen) {
15612
- shouldOpen = props.onBeforeOpen();
15613
- }
15614
-
15615
- if (!shouldOpen) return function () {};
15616
15609
  var rootNode = document.createElement('div');
15617
15610
  document.body.appendChild(rootNode);
15618
15611
  return function (_ref3) {
15619
15612
  var amount = _ref3.amount,
15620
15613
  currency = _ref3.currency;
15614
+ var shouldOpen = true;
15615
+
15616
+ if (props.onBeforeOpen) {
15617
+ shouldOpen = props.onBeforeOpen();
15618
+ }
15619
+
15620
+ if (!shouldOpen) return;
15621
15621
  var bizumModal = new BizumModal(_extends({
15622
15622
  amount: amount,
15623
15623
  currency: currency
@@ -15918,19 +15918,19 @@ var options$7 = {
15918
15918
  required: false,
15919
15919
  value: function value(_ref2) {
15920
15920
  var props = _ref2.props;
15921
- var shouldOpen = true;
15922
-
15923
- if (props.onBeforeOpen) {
15924
- shouldOpen = props.onBeforeOpen();
15925
- }
15926
-
15927
- if (!shouldOpen) return;
15928
15921
  var rootNode = document.createElement('div');
15929
15922
  document.body.appendChild(rootNode);
15930
15923
  return function (_ref3) {
15931
15924
  var amount = _ref3.amount,
15932
15925
  currency = _ref3.currency,
15933
15926
  accountId = _ref3.accountId;
15927
+ var shouldOpen = true;
15928
+
15929
+ if (props.onBeforeOpen) {
15930
+ shouldOpen = props.onBeforeOpen();
15931
+ }
15932
+
15933
+ if (!shouldOpen) return;
15934
15934
  var cofidisModal = new CofidisModal(_extends({}, props, {
15935
15935
  amount: amount,
15936
15936
  currency: currency,
@@ -16233,19 +16233,19 @@ var options$a = {
16233
16233
  required: false,
16234
16234
  value: function value(_ref2) {
16235
16235
  var props = _ref2.props;
16236
- var shouldOpen = true;
16237
-
16238
- if (props.onBeforeOpen) {
16239
- shouldOpen = props.onBeforeOpen();
16240
- }
16241
-
16242
- if (!shouldOpen) return;
16243
16236
  var rootNode = document.createElement('div');
16244
16237
  document.body.appendChild(rootNode);
16245
16238
  return function (_ref3) {
16246
16239
  var amount = _ref3.amount,
16247
16240
  currency = _ref3.currency,
16248
16241
  accountId = _ref3.accountId;
16242
+ var shouldOpen = true;
16243
+
16244
+ if (props.onBeforeOpen) {
16245
+ shouldOpen = props.onBeforeOpen();
16246
+ }
16247
+
16248
+ if (!shouldOpen) return;
16249
16249
  var cofidisModal = new CofidisLoanModal(_extends({}, props, {
16250
16250
  amount: amount,
16251
16251
  currency: currency,