tabexseriescomponents 0.2.839 → 0.2.840

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.
package/dist/index.cjs.js CHANGED
@@ -11669,7 +11669,7 @@ styleInject(css_248z$G);
11669
11669
  function ownKeys$2s(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
11670
11670
  function _objectSpread$2s(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2s(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2s(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
11671
11671
  var Checkout = function Checkout(props) {
11672
- var _css, _authdetailsContext$i5, _fetchcustomercartQue63, _authdetailsContext$i6, _fetchcustomercartQue64, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _fetchcustomercartQue65, _fetchcustomercartQue70, _fetchcustomercartQue71, _fetchcustomercartQue72, _fetchcustomercartQue73, _fetchcustomercartQue74, _fetchcustomercartQue76, _fetchcustomercartQue78, _fetchcustomercartQue80, _fetchcustomercartQue82, _authdetailsContext$i0, _fetchcustomercartQue84, _authdetailsContext$i1, _fetchcustomercartQue86, _authdetailsContext$i10, _fetchcustomercartQue88, _authdetailsContext$i11, _fetchcustomercartQue90, _authdetailsContext$i12, _fetchcustomercartQue92, _fetchcustomercartQue94;
11672
+ var _css, _authdetailsContext$i5, _fetchcustomercartQue63, _authdetailsContext$i6, _fetchcustomercartQue64, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _fetchcustomercartQue65, _fetchcustomercartQue70, _fetchcustomercartQue71, _fetchcustomercartQue72, _fetchcustomercartQue73, _fetchcustomercartQue74, _fetchcustomercartQue76, _fetchcustomercartQue78, _fetchcustomercartQue80, _fetchcustomercartQue82, _fetchcustomercartQue84, _authdetailsContext$i0, _fetchcustomercartQue86, _authdetailsContext$i1, _fetchcustomercartQue88, _authdetailsContext$i10, _fetchcustomercartQue90, _authdetailsContext$i11, _fetchcustomercartQue92, _authdetailsContext$i12, _fetchcustomercartQue94, _fetchcustomercartQue96;
11673
11673
  var _useState = React.useState(null),
11674
11674
  _useState2 = _slicedToArray__default["default"](_useState, 2);
11675
11675
  _useState2[0];
@@ -11725,9 +11725,9 @@ var Checkout = function Checkout(props) {
11725
11725
  orderextrafeilds = _useState14[0],
11726
11726
  setorderextrafeilds = _useState14[1];
11727
11727
  var _useState15 = React.useState(false),
11728
- _useState16 = _slicedToArray__default["default"](_useState15, 2);
11729
- _useState16[0];
11730
- _useState16[1];
11728
+ _useState16 = _slicedToArray__default["default"](_useState15, 2),
11729
+ instapaychosen = _useState16[0],
11730
+ setinstapaychosen = _useState16[1];
11731
11731
  React.useEffect(function () {
11732
11732
  var _templatepropcontext$;
11733
11733
  var cartindex = templatepropcontext === null || templatepropcontext === void 0 || (_templatepropcontext$ = templatepropcontext.pagesnprop) === null || _templatepropcontext$ === void 0 ? void 0 : _templatepropcontext$.findIndex(function (x) {
@@ -13094,6 +13094,7 @@ var Checkout = function Checkout(props) {
13094
13094
  var _fetchcustomercartQue75;
13095
13095
  if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue75 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue75 === void 0 || (_fetchcustomercartQue75 = _fetchcustomercartQue75.data) === null || _fetchcustomercartQue75 === void 0 ? void 0 : _fetchcustomercartQue75.customercart.paymentmethod) != 'cod') {
13096
13096
  cartinfoupdater('paymentmethod', 'cod');
13097
+ setinstapaychosen(false);
13097
13098
  }
13098
13099
  }
13099
13100
  }), /*#__PURE__*/React__default["default"].createElement("svg", {
@@ -13106,18 +13107,47 @@ var Checkout = function Checkout(props) {
13106
13107
  style: {
13107
13108
  color: sectionproperties.checkbox_color
13108
13109
  }
13109
- }, langdetect == 'en' ? sectionproperties.cod_text_en : sectionproperties.cod_text_ar))), authdetailsContext.instinfo.acceptCardOnDelivery == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
13110
+ }, langdetect == 'en' ? sectionproperties.cod_text_en : sectionproperties.cod_text_ar))), authdetailsContext.instinfo.acceptInstapay == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
13110
13111
  className: "col-xl-4 col-lg-4 col-md-12 mb-3"
13111
13112
  }, /*#__PURE__*/React__default["default"].createElement("label", {
13112
- className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
13113
+ className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated) + ' d-flex mb-0 ',
13114
+ "for": "codcheckbox"
13113
13115
  }, /*#__PURE__*/React__default["default"].createElement("input", {
13116
+ id: 'codcheckbox',
13114
13117
  type: "checkbox",
13115
13118
  className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
13116
- checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue76 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue76 === void 0 || (_fetchcustomercartQue76 = _fetchcustomercartQue76.data) === null || _fetchcustomercartQue76 === void 0 ? void 0 : _fetchcustomercartQue76.customercart.paymentmethod) == 'cardondelivery' ? true : false,
13119
+ checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue76 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue76 === void 0 || (_fetchcustomercartQue76 = _fetchcustomercartQue76.data) === null || _fetchcustomercartQue76 === void 0 ? void 0 : _fetchcustomercartQue76.customercart.paymentmethod) == 'instapay' ? true : false,
13117
13120
  onChange: function onChange() {
13118
13121
  var _fetchcustomercartQue77;
13119
- if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue77 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue77 === void 0 || (_fetchcustomercartQue77 = _fetchcustomercartQue77.data) === null || _fetchcustomercartQue77 === void 0 ? void 0 : _fetchcustomercartQue77.customercart.paymentmethod) != 'cardondelivery') {
13122
+ if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue77 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue77 === void 0 || (_fetchcustomercartQue77 = _fetchcustomercartQue77.data) === null || _fetchcustomercartQue77 === void 0 ? void 0 : _fetchcustomercartQue77.customercart.paymentmethod) != 'instapay') {
13123
+ cartinfoupdater('paymentmethod', 'instapay');
13124
+ setinstapaychosen(true);
13125
+ // alert('1');
13126
+ }
13127
+ }
13128
+ }), /*#__PURE__*/React__default["default"].createElement("svg", {
13129
+ viewBox: "0 0 21 21",
13130
+ className: checkoutstyles.svgstyles + ' h-100 '
13131
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
13132
+ d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
13133
+ })), /*#__PURE__*/React__default["default"].createElement("p", {
13134
+ className: ' ml-2 mb-0 cursor-pointer wordbreak mr-2',
13135
+ style: {
13136
+ color: sectionproperties.checkbox_color
13137
+ }
13138
+ }, "Instapay"))), authdetailsContext.instinfo.acceptCardOnDelivery == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
13139
+ className: "col-xl-4 col-lg-4 col-md-12 mb-3"
13140
+ }, /*#__PURE__*/React__default["default"].createElement("label", {
13141
+ className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
13142
+ }, /*#__PURE__*/React__default["default"].createElement("input", {
13143
+ type: "checkbox",
13144
+ className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
13145
+ checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue78 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue78 === void 0 || (_fetchcustomercartQue78 = _fetchcustomercartQue78.data) === null || _fetchcustomercartQue78 === void 0 ? void 0 : _fetchcustomercartQue78.customercart.paymentmethod) == 'cardondelivery' ? true : false,
13146
+ onChange: function onChange() {
13147
+ var _fetchcustomercartQue79;
13148
+ if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue79 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue79 === void 0 || (_fetchcustomercartQue79 = _fetchcustomercartQue79.data) === null || _fetchcustomercartQue79 === void 0 ? void 0 : _fetchcustomercartQue79.customercart.paymentmethod) != 'cardondelivery') {
13120
13149
  cartinfoupdater('paymentmethod', 'cardondelivery');
13150
+ setinstapaychosen(false);
13121
13151
  }
13122
13152
  }
13123
13153
  }), /*#__PURE__*/React__default["default"].createElement("svg", {
@@ -13134,11 +13164,12 @@ var Checkout = function Checkout(props) {
13134
13164
  }, /*#__PURE__*/React__default["default"].createElement("input", {
13135
13165
  type: "checkbox",
13136
13166
  className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
13137
- checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue78 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue78 === void 0 || (_fetchcustomercartQue78 = _fetchcustomercartQue78.data) === null || _fetchcustomercartQue78 === void 0 ? void 0 : _fetchcustomercartQue78.customercart.paymentmethod) == 'onlinepayment' ? true : false,
13167
+ checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue80 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue80 === void 0 || (_fetchcustomercartQue80 = _fetchcustomercartQue80.data) === null || _fetchcustomercartQue80 === void 0 ? void 0 : _fetchcustomercartQue80.customercart.paymentmethod) == 'onlinepayment' ? true : false,
13138
13168
  onChange: function onChange() {
13139
- var _fetchcustomercartQue79;
13140
- if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue79 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue79 === void 0 || (_fetchcustomercartQue79 = _fetchcustomercartQue79.data) === null || _fetchcustomercartQue79 === void 0 ? void 0 : _fetchcustomercartQue79.customercart.paymentmethod) != 'onlinepayment') {
13169
+ var _fetchcustomercartQue81;
13170
+ if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue81 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue81 === void 0 || (_fetchcustomercartQue81 = _fetchcustomercartQue81.data) === null || _fetchcustomercartQue81 === void 0 ? void 0 : _fetchcustomercartQue81.customercart.paymentmethod) != 'onlinepayment') {
13141
13171
  cartinfoupdater('paymentmethod', 'onlinepayment');
13172
+ setinstapaychosen(false);
13142
13173
  }
13143
13174
  }
13144
13175
  }), /*#__PURE__*/React__default["default"].createElement("svg", {
@@ -13155,11 +13186,12 @@ var Checkout = function Checkout(props) {
13155
13186
  }, /*#__PURE__*/React__default["default"].createElement("input", {
13156
13187
  type: "checkbox",
13157
13188
  className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
13158
- checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue80 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue80 === void 0 || (_fetchcustomercartQue80 = _fetchcustomercartQue80.data) === null || _fetchcustomercartQue80 === void 0 ? void 0 : _fetchcustomercartQue80.customercart.paymentmethod) == 'valU' ? true : false,
13189
+ checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue82 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue82 === void 0 || (_fetchcustomercartQue82 = _fetchcustomercartQue82.data) === null || _fetchcustomercartQue82 === void 0 ? void 0 : _fetchcustomercartQue82.customercart.paymentmethod) == 'valU' ? true : false,
13159
13190
  onChange: function onChange() {
13160
- var _fetchcustomercartQue81;
13161
- if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue81 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue81 === void 0 || (_fetchcustomercartQue81 = _fetchcustomercartQue81.data) === null || _fetchcustomercartQue81 === void 0 ? void 0 : _fetchcustomercartQue81.customercart.paymentmethod) != 'valU') {
13191
+ var _fetchcustomercartQue83;
13192
+ if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue83 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue83 === void 0 || (_fetchcustomercartQue83 = _fetchcustomercartQue83.data) === null || _fetchcustomercartQue83 === void 0 ? void 0 : _fetchcustomercartQue83.customercart.paymentmethod) != 'valU') {
13162
13193
  cartinfoupdater('paymentmethod', 'valU');
13194
+ setinstapaychosen(false);
13163
13195
  }
13164
13196
  }
13165
13197
  }), /*#__PURE__*/React__default["default"].createElement("svg", {
@@ -13176,11 +13208,12 @@ var Checkout = function Checkout(props) {
13176
13208
  }, /*#__PURE__*/React__default["default"].createElement("input", {
13177
13209
  type: "checkbox",
13178
13210
  className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
13179
- checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue82 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue82 === void 0 || (_fetchcustomercartQue82 = _fetchcustomercartQue82.data) === null || _fetchcustomercartQue82 === void 0 ? void 0 : _fetchcustomercartQue82.customercart.paymentmethod) == 'mobilewallet' ? true : false,
13211
+ checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue84 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue84 === void 0 || (_fetchcustomercartQue84 = _fetchcustomercartQue84.data) === null || _fetchcustomercartQue84 === void 0 ? void 0 : _fetchcustomercartQue84.customercart.paymentmethod) == 'mobilewallet' ? true : false,
13180
13212
  onChange: function onChange() {
13181
- var _fetchcustomercartQue83;
13182
- if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue83 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue83 === void 0 || (_fetchcustomercartQue83 = _fetchcustomercartQue83.data) === null || _fetchcustomercartQue83 === void 0 ? void 0 : _fetchcustomercartQue83.customercart.paymentmethod) != 'mobilewallet') {
13213
+ var _fetchcustomercartQue85;
13214
+ if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue85 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue85 === void 0 || (_fetchcustomercartQue85 = _fetchcustomercartQue85.data) === null || _fetchcustomercartQue85 === void 0 ? void 0 : _fetchcustomercartQue85.customercart.paymentmethod) != 'mobilewallet') {
13183
13215
  cartinfoupdater('paymentmethod', 'mobilewallet');
13216
+ setinstapaychosen(false);
13184
13217
  }
13185
13218
  }
13186
13219
  }), /*#__PURE__*/React__default["default"].createElement("svg", {
@@ -13197,11 +13230,12 @@ var Checkout = function Checkout(props) {
13197
13230
  }, /*#__PURE__*/React__default["default"].createElement("input", {
13198
13231
  type: "checkbox",
13199
13232
  className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
13200
- checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue84 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue84 === void 0 || (_fetchcustomercartQue84 = _fetchcustomercartQue84.data) === null || _fetchcustomercartQue84 === void 0 || (_fetchcustomercartQue84 = _fetchcustomercartQue84.customercart) === null || _fetchcustomercartQue84 === void 0 ? void 0 : _fetchcustomercartQue84.paymentmethod) == 'forsa' ? true : false,
13233
+ checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue86 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue86 === void 0 || (_fetchcustomercartQue86 = _fetchcustomercartQue86.data) === null || _fetchcustomercartQue86 === void 0 || (_fetchcustomercartQue86 = _fetchcustomercartQue86.customercart) === null || _fetchcustomercartQue86 === void 0 ? void 0 : _fetchcustomercartQue86.paymentmethod) == 'forsa' ? true : false,
13201
13234
  onChange: function onChange() {
13202
- var _fetchcustomercartQue85;
13203
- if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue85 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue85 === void 0 || (_fetchcustomercartQue85 = _fetchcustomercartQue85.data) === null || _fetchcustomercartQue85 === void 0 || (_fetchcustomercartQue85 = _fetchcustomercartQue85.customercart) === null || _fetchcustomercartQue85 === void 0 ? void 0 : _fetchcustomercartQue85.paymentmethod) != 'forsa') {
13235
+ var _fetchcustomercartQue87;
13236
+ if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue87 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue87 === void 0 || (_fetchcustomercartQue87 = _fetchcustomercartQue87.data) === null || _fetchcustomercartQue87 === void 0 || (_fetchcustomercartQue87 = _fetchcustomercartQue87.customercart) === null || _fetchcustomercartQue87 === void 0 ? void 0 : _fetchcustomercartQue87.paymentmethod) != 'forsa') {
13204
13237
  cartinfoupdater('paymentmethod', 'forsa');
13238
+ setinstapaychosen(false);
13205
13239
  }
13206
13240
  }
13207
13241
  }), /*#__PURE__*/React__default["default"].createElement("svg", {
@@ -13218,11 +13252,12 @@ var Checkout = function Checkout(props) {
13218
13252
  }, /*#__PURE__*/React__default["default"].createElement("input", {
13219
13253
  type: "checkbox",
13220
13254
  className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
13221
- checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue86 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue86 === void 0 || (_fetchcustomercartQue86 = _fetchcustomercartQue86.data) === null || _fetchcustomercartQue86 === void 0 || (_fetchcustomercartQue86 = _fetchcustomercartQue86.customercart) === null || _fetchcustomercartQue86 === void 0 ? void 0 : _fetchcustomercartQue86.paymentmethod) == 'Souhoola' ? true : false,
13255
+ checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue88 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue88 === void 0 || (_fetchcustomercartQue88 = _fetchcustomercartQue88.data) === null || _fetchcustomercartQue88 === void 0 || (_fetchcustomercartQue88 = _fetchcustomercartQue88.customercart) === null || _fetchcustomercartQue88 === void 0 ? void 0 : _fetchcustomercartQue88.paymentmethod) == 'Souhoola' ? true : false,
13222
13256
  onChange: function onChange() {
13223
- var _fetchcustomercartQue87;
13224
- if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue87 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue87 === void 0 || (_fetchcustomercartQue87 = _fetchcustomercartQue87.data) === null || _fetchcustomercartQue87 === void 0 || (_fetchcustomercartQue87 = _fetchcustomercartQue87.customercart) === null || _fetchcustomercartQue87 === void 0 ? void 0 : _fetchcustomercartQue87.paymentmethod) != 'Souhoola') {
13257
+ var _fetchcustomercartQue89;
13258
+ if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue89 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue89 === void 0 || (_fetchcustomercartQue89 = _fetchcustomercartQue89.data) === null || _fetchcustomercartQue89 === void 0 || (_fetchcustomercartQue89 = _fetchcustomercartQue89.customercart) === null || _fetchcustomercartQue89 === void 0 ? void 0 : _fetchcustomercartQue89.paymentmethod) != 'Souhoola') {
13225
13259
  cartinfoupdater('paymentmethod', 'Souhoola');
13260
+ setinstapaychosen(false);
13226
13261
  }
13227
13262
  }
13228
13263
  }), /*#__PURE__*/React__default["default"].createElement("svg", {
@@ -13239,11 +13274,12 @@ var Checkout = function Checkout(props) {
13239
13274
  }, /*#__PURE__*/React__default["default"].createElement("input", {
13240
13275
  type: "checkbox",
13241
13276
  className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
13242
- checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue88 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue88 === void 0 || (_fetchcustomercartQue88 = _fetchcustomercartQue88.data) === null || _fetchcustomercartQue88 === void 0 || (_fetchcustomercartQue88 = _fetchcustomercartQue88.customercart) === null || _fetchcustomercartQue88 === void 0 ? void 0 : _fetchcustomercartQue88.paymentmethod) == 'paypal' ? true : false,
13277
+ checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue90 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue90 === void 0 || (_fetchcustomercartQue90 = _fetchcustomercartQue90.data) === null || _fetchcustomercartQue90 === void 0 || (_fetchcustomercartQue90 = _fetchcustomercartQue90.customercart) === null || _fetchcustomercartQue90 === void 0 ? void 0 : _fetchcustomercartQue90.paymentmethod) == 'paypal' ? true : false,
13243
13278
  onChange: function onChange() {
13244
- var _fetchcustomercartQue89;
13245
- if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue89 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue89 === void 0 || (_fetchcustomercartQue89 = _fetchcustomercartQue89.data) === null || _fetchcustomercartQue89 === void 0 || (_fetchcustomercartQue89 = _fetchcustomercartQue89.customercart) === null || _fetchcustomercartQue89 === void 0 ? void 0 : _fetchcustomercartQue89.paymentmethod) != 'paypal') {
13279
+ var _fetchcustomercartQue91;
13280
+ if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue91 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue91 === void 0 || (_fetchcustomercartQue91 = _fetchcustomercartQue91.data) === null || _fetchcustomercartQue91 === void 0 || (_fetchcustomercartQue91 = _fetchcustomercartQue91.customercart) === null || _fetchcustomercartQue91 === void 0 ? void 0 : _fetchcustomercartQue91.paymentmethod) != 'paypal') {
13246
13281
  cartinfoupdater('paymentmethod', 'paypal');
13282
+ setinstapaychosen(false);
13247
13283
  }
13248
13284
  }
13249
13285
  }), /*#__PURE__*/React__default["default"].createElement("svg", {
@@ -13260,11 +13296,12 @@ var Checkout = function Checkout(props) {
13260
13296
  }, /*#__PURE__*/React__default["default"].createElement("input", {
13261
13297
  type: "checkbox",
13262
13298
  className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
13263
- checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue90 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue90 === void 0 || (_fetchcustomercartQue90 = _fetchcustomercartQue90.data) === null || _fetchcustomercartQue90 === void 0 || (_fetchcustomercartQue90 = _fetchcustomercartQue90.customercart) === null || _fetchcustomercartQue90 === void 0 ? void 0 : _fetchcustomercartQue90.paymentmethod) == 'bankinstallments' ? true : false,
13299
+ checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue92 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue92 === void 0 || (_fetchcustomercartQue92 = _fetchcustomercartQue92.data) === null || _fetchcustomercartQue92 === void 0 || (_fetchcustomercartQue92 = _fetchcustomercartQue92.customercart) === null || _fetchcustomercartQue92 === void 0 ? void 0 : _fetchcustomercartQue92.paymentmethod) == 'bankinstallments' ? true : false,
13264
13300
  onChange: function onChange() {
13265
- var _fetchcustomercartQue91;
13266
- if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue91 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue91 === void 0 || (_fetchcustomercartQue91 = _fetchcustomercartQue91.data) === null || _fetchcustomercartQue91 === void 0 || (_fetchcustomercartQue91 = _fetchcustomercartQue91.customercart) === null || _fetchcustomercartQue91 === void 0 ? void 0 : _fetchcustomercartQue91.paymentmethod) != 'bankinstallments') {
13301
+ var _fetchcustomercartQue93;
13302
+ if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue93 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue93 === void 0 || (_fetchcustomercartQue93 = _fetchcustomercartQue93.data) === null || _fetchcustomercartQue93 === void 0 || (_fetchcustomercartQue93 = _fetchcustomercartQue93.customercart) === null || _fetchcustomercartQue93 === void 0 ? void 0 : _fetchcustomercartQue93.paymentmethod) != 'bankinstallments') {
13267
13303
  cartinfoupdater('paymentmethod', 'bankinstallments');
13304
+ setinstapaychosen(false);
13268
13305
  }
13269
13306
  }
13270
13307
  }), /*#__PURE__*/React__default["default"].createElement("svg", {
@@ -13281,11 +13318,12 @@ var Checkout = function Checkout(props) {
13281
13318
  }, /*#__PURE__*/React__default["default"].createElement("input", {
13282
13319
  type: "checkbox",
13283
13320
  className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
13284
- checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue92 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue92 === void 0 || (_fetchcustomercartQue92 = _fetchcustomercartQue92.data) === null || _fetchcustomercartQue92 === void 0 || (_fetchcustomercartQue92 = _fetchcustomercartQue92.customercart) === null || _fetchcustomercartQue92 === void 0 ? void 0 : _fetchcustomercartQue92.paymentmethod) == 'Aman' ? true : false,
13321
+ checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue94 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue94 === void 0 || (_fetchcustomercartQue94 = _fetchcustomercartQue94.data) === null || _fetchcustomercartQue94 === void 0 || (_fetchcustomercartQue94 = _fetchcustomercartQue94.customercart) === null || _fetchcustomercartQue94 === void 0 ? void 0 : _fetchcustomercartQue94.paymentmethod) == 'Aman' ? true : false,
13285
13322
  onChange: function onChange() {
13286
- var _fetchcustomercartQue93;
13287
- if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue93 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue93 === void 0 || (_fetchcustomercartQue93 = _fetchcustomercartQue93.data) === null || _fetchcustomercartQue93 === void 0 || (_fetchcustomercartQue93 = _fetchcustomercartQue93.customercart) === null || _fetchcustomercartQue93 === void 0 ? void 0 : _fetchcustomercartQue93.paymentmethod) != 'Aman') {
13323
+ var _fetchcustomercartQue95;
13324
+ if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue95 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue95 === void 0 || (_fetchcustomercartQue95 = _fetchcustomercartQue95.data) === null || _fetchcustomercartQue95 === void 0 || (_fetchcustomercartQue95 = _fetchcustomercartQue95.customercart) === null || _fetchcustomercartQue95 === void 0 ? void 0 : _fetchcustomercartQue95.paymentmethod) != 'Aman') {
13288
13325
  cartinfoupdater('paymentmethod', 'Aman');
13326
+ setinstapaychosen(false);
13289
13327
  }
13290
13328
  }
13291
13329
  }), /*#__PURE__*/React__default["default"].createElement("svg", {
@@ -13295,7 +13333,17 @@ var Checkout = function Checkout(props) {
13295
13333
  d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
13296
13334
  })), /*#__PURE__*/React__default["default"].createElement("p", {
13297
13335
  className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
13298
- }, langdetect == 'en' ? 'Aman' : 'Aman')))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue94 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue94 === void 0 || (_fetchcustomercartQue94 = _fetchcustomercartQue94.data) === null || _fetchcustomercartQue94 === void 0 ? void 0 : _fetchcustomercartQue94.customercart.paymentmethod) == 'onlinepayment1' && /*#__PURE__*/React__default["default"].createElement("div", {
13336
+ }, langdetect == 'en' ? 'Aman' : 'Aman'))), instapaychosen && /*#__PURE__*/React__default["default"].createElement("div", {
13337
+ "class": "col-12 px-3 px-md-2 my-3"
13338
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
13339
+ "class": ' pb-0 pl-md-2 pr-md-2 ',
13340
+ style: {
13341
+ color: '#000'
13342
+ },
13343
+ dangerouslySetInnerHTML: {
13344
+ __html: langdetect == 'en' ? sectionproperties.instapayoptioncontenten : sectionproperties.instapayoptioncontentar
13345
+ }
13346
+ }))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue96 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue96 === void 0 || (_fetchcustomercartQue96 = _fetchcustomercartQue96.data) === null || _fetchcustomercartQue96 === void 0 ? void 0 : _fetchcustomercartQue96.customercart.paymentmethod) == 'onlinepayment1' && /*#__PURE__*/React__default["default"].createElement("div", {
13299
13347
  className: "col-lg-12 p-0 w-100 mb-3"
13300
13348
  }, /*#__PURE__*/React__default["default"].createElement("div", {
13301
13349
  style: {
@@ -17005,6 +17053,14 @@ var OrderSuccess = function OrderSuccess(props) {
17005
17053
  '@media (max-width: 800px)': {
17006
17054
  paddingTop: sectionproperties.cardstyletype != 'Style 2' ? sectionproperties.marginTopResp + 'px' : 0
17007
17055
  }
17056
+ }),
17057
+ containerstyle2: glamor.css({
17058
+ paddingTop: sectionproperties.marginTop + 'px',
17059
+ paddingBottom: sectionproperties.marginBottom + 'px',
17060
+ background: sectionproperties.outerbgcolor,
17061
+ '@media (max-width: 800px)': {
17062
+ paddingTop: sectionproperties.marginTopResp + 'px'
17063
+ }
17008
17064
  })
17009
17065
  };
17010
17066
  var whatsappUrl = "https://wa.me/".concat(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.whatsappnumber, "?text=").concat('My order number is ' + (lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat === void 0 || (_lastOrderinfoObj$dat = _lastOrderinfoObj$dat.orderinfo) === null || _lastOrderinfoObj$dat === void 0 ? void 0 : _lastOrderinfoObj$dat.orderid));
@@ -17021,7 +17077,9 @@ var OrderSuccess = function OrderSuccess(props) {
17021
17077
  color: '#000'
17022
17078
  }
17023
17079
  }, lastOrderinfoObj != null && lastOrderinfoObj.status && sectionproperties.cardstyletype == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
17024
- "class": "row m-0 w-100 px-5 py-5 px-1025-1 px-md-0",
17080
+ "class": ordersuccessstyle.containerstyle2 + ' row m-0 w-100 px-5 px-1025-1 px-md-0 '
17081
+ // py-5
17082
+ ,
17025
17083
  style: {
17026
17084
  paddingLeft: 200,
17027
17085
  paddingRight: 200
@@ -19426,7 +19484,7 @@ var Filter$1 = function Filter(props) {
19426
19484
  className: "mt-2 mb-3"
19427
19485
  })), /*#__PURE__*/React__default["default"].createElement("div", {
19428
19486
  className: filter_cssstyles.filteraccordion + ' col-lg-12 filter-accordion p-md-0 '
19429
- }, sectionproperties.showpricerangefilter == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
19487
+ }, sectionproperties.showpricefilterfromto == 'Show' && PriceFromToFilter(), sectionproperties.showpricerangefilter == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
19430
19488
  "class": "row m-0 w-100 px-3"
19431
19489
  }, PriceInputRangeFilter()), sectionproperties.showcountriesfilter == 'Show' && Countriesfilter(), sectionproperties.filterType == 'All' && sectionproperties.showcategoriesfilter == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
19432
19490
  "class": "row m-0 w-100"
@@ -71343,7 +71401,7 @@ var Slideshowslide = function Slideshowslide(props) {
71343
71401
  }
71344
71402
  }, /*#__PURE__*/React__default["default"].createElement(reactSlideshowImage.Slide, _extends__default["default"]({}, Slideshowsettings, {
71345
71403
  transitionDuration: 1500,
71346
- duration: 1500,
71404
+ duration: sectionproperties.slideshowdurationinms,
71347
71405
  arrow: true,
71348
71406
  easing: "ease"
71349
71407
  }), Object.keys(bgimagearrayofobjs).length != 0 && bgimagearrayofobjs.map(function (item, index) {
package/dist/index.esm.js CHANGED
@@ -11621,7 +11621,7 @@ styleInject(css_248z$G);
11621
11621
  function ownKeys$2s(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
11622
11622
  function _objectSpread$2s(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2s(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2s(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
11623
11623
  var Checkout = function Checkout(props) {
11624
- var _css, _authdetailsContext$i5, _fetchcustomercartQue63, _authdetailsContext$i6, _fetchcustomercartQue64, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _fetchcustomercartQue65, _fetchcustomercartQue70, _fetchcustomercartQue71, _fetchcustomercartQue72, _fetchcustomercartQue73, _fetchcustomercartQue74, _fetchcustomercartQue76, _fetchcustomercartQue78, _fetchcustomercartQue80, _fetchcustomercartQue82, _authdetailsContext$i0, _fetchcustomercartQue84, _authdetailsContext$i1, _fetchcustomercartQue86, _authdetailsContext$i10, _fetchcustomercartQue88, _authdetailsContext$i11, _fetchcustomercartQue90, _authdetailsContext$i12, _fetchcustomercartQue92, _fetchcustomercartQue94;
11624
+ var _css, _authdetailsContext$i5, _fetchcustomercartQue63, _authdetailsContext$i6, _fetchcustomercartQue64, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _fetchcustomercartQue65, _fetchcustomercartQue70, _fetchcustomercartQue71, _fetchcustomercartQue72, _fetchcustomercartQue73, _fetchcustomercartQue74, _fetchcustomercartQue76, _fetchcustomercartQue78, _fetchcustomercartQue80, _fetchcustomercartQue82, _fetchcustomercartQue84, _authdetailsContext$i0, _fetchcustomercartQue86, _authdetailsContext$i1, _fetchcustomercartQue88, _authdetailsContext$i10, _fetchcustomercartQue90, _authdetailsContext$i11, _fetchcustomercartQue92, _authdetailsContext$i12, _fetchcustomercartQue94, _fetchcustomercartQue96;
11625
11625
  var _useState = useState(null),
11626
11626
  _useState2 = _slicedToArray(_useState, 2);
11627
11627
  _useState2[0];
@@ -11677,9 +11677,9 @@ var Checkout = function Checkout(props) {
11677
11677
  orderextrafeilds = _useState14[0],
11678
11678
  setorderextrafeilds = _useState14[1];
11679
11679
  var _useState15 = useState(false),
11680
- _useState16 = _slicedToArray(_useState15, 2);
11681
- _useState16[0];
11682
- _useState16[1];
11680
+ _useState16 = _slicedToArray(_useState15, 2),
11681
+ instapaychosen = _useState16[0],
11682
+ setinstapaychosen = _useState16[1];
11683
11683
  useEffect(function () {
11684
11684
  var _templatepropcontext$;
11685
11685
  var cartindex = templatepropcontext === null || templatepropcontext === void 0 || (_templatepropcontext$ = templatepropcontext.pagesnprop) === null || _templatepropcontext$ === void 0 ? void 0 : _templatepropcontext$.findIndex(function (x) {
@@ -13046,6 +13046,7 @@ var Checkout = function Checkout(props) {
13046
13046
  var _fetchcustomercartQue75;
13047
13047
  if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue75 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue75 === void 0 || (_fetchcustomercartQue75 = _fetchcustomercartQue75.data) === null || _fetchcustomercartQue75 === void 0 ? void 0 : _fetchcustomercartQue75.customercart.paymentmethod) != 'cod') {
13048
13048
  cartinfoupdater('paymentmethod', 'cod');
13049
+ setinstapaychosen(false);
13049
13050
  }
13050
13051
  }
13051
13052
  }), /*#__PURE__*/React.createElement("svg", {
@@ -13058,18 +13059,47 @@ var Checkout = function Checkout(props) {
13058
13059
  style: {
13059
13060
  color: sectionproperties.checkbox_color
13060
13061
  }
13061
- }, langdetect == 'en' ? sectionproperties.cod_text_en : sectionproperties.cod_text_ar))), authdetailsContext.instinfo.acceptCardOnDelivery == 1 && /*#__PURE__*/React.createElement("div", {
13062
+ }, langdetect == 'en' ? sectionproperties.cod_text_en : sectionproperties.cod_text_ar))), authdetailsContext.instinfo.acceptInstapay == 1 && /*#__PURE__*/React.createElement("div", {
13062
13063
  className: "col-xl-4 col-lg-4 col-md-12 mb-3"
13063
13064
  }, /*#__PURE__*/React.createElement("label", {
13064
- className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
13065
+ className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated) + ' d-flex mb-0 ',
13066
+ "for": "codcheckbox"
13065
13067
  }, /*#__PURE__*/React.createElement("input", {
13068
+ id: 'codcheckbox',
13066
13069
  type: "checkbox",
13067
13070
  className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
13068
- checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue76 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue76 === void 0 || (_fetchcustomercartQue76 = _fetchcustomercartQue76.data) === null || _fetchcustomercartQue76 === void 0 ? void 0 : _fetchcustomercartQue76.customercart.paymentmethod) == 'cardondelivery' ? true : false,
13071
+ checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue76 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue76 === void 0 || (_fetchcustomercartQue76 = _fetchcustomercartQue76.data) === null || _fetchcustomercartQue76 === void 0 ? void 0 : _fetchcustomercartQue76.customercart.paymentmethod) == 'instapay' ? true : false,
13069
13072
  onChange: function onChange() {
13070
13073
  var _fetchcustomercartQue77;
13071
- if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue77 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue77 === void 0 || (_fetchcustomercartQue77 = _fetchcustomercartQue77.data) === null || _fetchcustomercartQue77 === void 0 ? void 0 : _fetchcustomercartQue77.customercart.paymentmethod) != 'cardondelivery') {
13074
+ if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue77 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue77 === void 0 || (_fetchcustomercartQue77 = _fetchcustomercartQue77.data) === null || _fetchcustomercartQue77 === void 0 ? void 0 : _fetchcustomercartQue77.customercart.paymentmethod) != 'instapay') {
13075
+ cartinfoupdater('paymentmethod', 'instapay');
13076
+ setinstapaychosen(true);
13077
+ // alert('1');
13078
+ }
13079
+ }
13080
+ }), /*#__PURE__*/React.createElement("svg", {
13081
+ viewBox: "0 0 21 21",
13082
+ className: checkoutstyles.svgstyles + ' h-100 '
13083
+ }, /*#__PURE__*/React.createElement("path", {
13084
+ d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
13085
+ })), /*#__PURE__*/React.createElement("p", {
13086
+ className: ' ml-2 mb-0 cursor-pointer wordbreak mr-2',
13087
+ style: {
13088
+ color: sectionproperties.checkbox_color
13089
+ }
13090
+ }, "Instapay"))), authdetailsContext.instinfo.acceptCardOnDelivery == 1 && /*#__PURE__*/React.createElement("div", {
13091
+ className: "col-xl-4 col-lg-4 col-md-12 mb-3"
13092
+ }, /*#__PURE__*/React.createElement("label", {
13093
+ className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
13094
+ }, /*#__PURE__*/React.createElement("input", {
13095
+ type: "checkbox",
13096
+ className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
13097
+ checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue78 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue78 === void 0 || (_fetchcustomercartQue78 = _fetchcustomercartQue78.data) === null || _fetchcustomercartQue78 === void 0 ? void 0 : _fetchcustomercartQue78.customercart.paymentmethod) == 'cardondelivery' ? true : false,
13098
+ onChange: function onChange() {
13099
+ var _fetchcustomercartQue79;
13100
+ if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue79 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue79 === void 0 || (_fetchcustomercartQue79 = _fetchcustomercartQue79.data) === null || _fetchcustomercartQue79 === void 0 ? void 0 : _fetchcustomercartQue79.customercart.paymentmethod) != 'cardondelivery') {
13072
13101
  cartinfoupdater('paymentmethod', 'cardondelivery');
13102
+ setinstapaychosen(false);
13073
13103
  }
13074
13104
  }
13075
13105
  }), /*#__PURE__*/React.createElement("svg", {
@@ -13086,11 +13116,12 @@ var Checkout = function Checkout(props) {
13086
13116
  }, /*#__PURE__*/React.createElement("input", {
13087
13117
  type: "checkbox",
13088
13118
  className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
13089
- checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue78 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue78 === void 0 || (_fetchcustomercartQue78 = _fetchcustomercartQue78.data) === null || _fetchcustomercartQue78 === void 0 ? void 0 : _fetchcustomercartQue78.customercart.paymentmethod) == 'onlinepayment' ? true : false,
13119
+ checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue80 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue80 === void 0 || (_fetchcustomercartQue80 = _fetchcustomercartQue80.data) === null || _fetchcustomercartQue80 === void 0 ? void 0 : _fetchcustomercartQue80.customercart.paymentmethod) == 'onlinepayment' ? true : false,
13090
13120
  onChange: function onChange() {
13091
- var _fetchcustomercartQue79;
13092
- if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue79 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue79 === void 0 || (_fetchcustomercartQue79 = _fetchcustomercartQue79.data) === null || _fetchcustomercartQue79 === void 0 ? void 0 : _fetchcustomercartQue79.customercart.paymentmethod) != 'onlinepayment') {
13121
+ var _fetchcustomercartQue81;
13122
+ if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue81 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue81 === void 0 || (_fetchcustomercartQue81 = _fetchcustomercartQue81.data) === null || _fetchcustomercartQue81 === void 0 ? void 0 : _fetchcustomercartQue81.customercart.paymentmethod) != 'onlinepayment') {
13093
13123
  cartinfoupdater('paymentmethod', 'onlinepayment');
13124
+ setinstapaychosen(false);
13094
13125
  }
13095
13126
  }
13096
13127
  }), /*#__PURE__*/React.createElement("svg", {
@@ -13107,11 +13138,12 @@ var Checkout = function Checkout(props) {
13107
13138
  }, /*#__PURE__*/React.createElement("input", {
13108
13139
  type: "checkbox",
13109
13140
  className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
13110
- checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue80 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue80 === void 0 || (_fetchcustomercartQue80 = _fetchcustomercartQue80.data) === null || _fetchcustomercartQue80 === void 0 ? void 0 : _fetchcustomercartQue80.customercart.paymentmethod) == 'valU' ? true : false,
13141
+ checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue82 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue82 === void 0 || (_fetchcustomercartQue82 = _fetchcustomercartQue82.data) === null || _fetchcustomercartQue82 === void 0 ? void 0 : _fetchcustomercartQue82.customercart.paymentmethod) == 'valU' ? true : false,
13111
13142
  onChange: function onChange() {
13112
- var _fetchcustomercartQue81;
13113
- if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue81 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue81 === void 0 || (_fetchcustomercartQue81 = _fetchcustomercartQue81.data) === null || _fetchcustomercartQue81 === void 0 ? void 0 : _fetchcustomercartQue81.customercart.paymentmethod) != 'valU') {
13143
+ var _fetchcustomercartQue83;
13144
+ if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue83 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue83 === void 0 || (_fetchcustomercartQue83 = _fetchcustomercartQue83.data) === null || _fetchcustomercartQue83 === void 0 ? void 0 : _fetchcustomercartQue83.customercart.paymentmethod) != 'valU') {
13114
13145
  cartinfoupdater('paymentmethod', 'valU');
13146
+ setinstapaychosen(false);
13115
13147
  }
13116
13148
  }
13117
13149
  }), /*#__PURE__*/React.createElement("svg", {
@@ -13128,11 +13160,12 @@ var Checkout = function Checkout(props) {
13128
13160
  }, /*#__PURE__*/React.createElement("input", {
13129
13161
  type: "checkbox",
13130
13162
  className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
13131
- checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue82 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue82 === void 0 || (_fetchcustomercartQue82 = _fetchcustomercartQue82.data) === null || _fetchcustomercartQue82 === void 0 ? void 0 : _fetchcustomercartQue82.customercart.paymentmethod) == 'mobilewallet' ? true : false,
13163
+ checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue84 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue84 === void 0 || (_fetchcustomercartQue84 = _fetchcustomercartQue84.data) === null || _fetchcustomercartQue84 === void 0 ? void 0 : _fetchcustomercartQue84.customercart.paymentmethod) == 'mobilewallet' ? true : false,
13132
13164
  onChange: function onChange() {
13133
- var _fetchcustomercartQue83;
13134
- if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue83 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue83 === void 0 || (_fetchcustomercartQue83 = _fetchcustomercartQue83.data) === null || _fetchcustomercartQue83 === void 0 ? void 0 : _fetchcustomercartQue83.customercart.paymentmethod) != 'mobilewallet') {
13165
+ var _fetchcustomercartQue85;
13166
+ if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue85 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue85 === void 0 || (_fetchcustomercartQue85 = _fetchcustomercartQue85.data) === null || _fetchcustomercartQue85 === void 0 ? void 0 : _fetchcustomercartQue85.customercart.paymentmethod) != 'mobilewallet') {
13135
13167
  cartinfoupdater('paymentmethod', 'mobilewallet');
13168
+ setinstapaychosen(false);
13136
13169
  }
13137
13170
  }
13138
13171
  }), /*#__PURE__*/React.createElement("svg", {
@@ -13149,11 +13182,12 @@ var Checkout = function Checkout(props) {
13149
13182
  }, /*#__PURE__*/React.createElement("input", {
13150
13183
  type: "checkbox",
13151
13184
  className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
13152
- checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue84 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue84 === void 0 || (_fetchcustomercartQue84 = _fetchcustomercartQue84.data) === null || _fetchcustomercartQue84 === void 0 || (_fetchcustomercartQue84 = _fetchcustomercartQue84.customercart) === null || _fetchcustomercartQue84 === void 0 ? void 0 : _fetchcustomercartQue84.paymentmethod) == 'forsa' ? true : false,
13185
+ checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue86 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue86 === void 0 || (_fetchcustomercartQue86 = _fetchcustomercartQue86.data) === null || _fetchcustomercartQue86 === void 0 || (_fetchcustomercartQue86 = _fetchcustomercartQue86.customercart) === null || _fetchcustomercartQue86 === void 0 ? void 0 : _fetchcustomercartQue86.paymentmethod) == 'forsa' ? true : false,
13153
13186
  onChange: function onChange() {
13154
- var _fetchcustomercartQue85;
13155
- if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue85 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue85 === void 0 || (_fetchcustomercartQue85 = _fetchcustomercartQue85.data) === null || _fetchcustomercartQue85 === void 0 || (_fetchcustomercartQue85 = _fetchcustomercartQue85.customercart) === null || _fetchcustomercartQue85 === void 0 ? void 0 : _fetchcustomercartQue85.paymentmethod) != 'forsa') {
13187
+ var _fetchcustomercartQue87;
13188
+ if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue87 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue87 === void 0 || (_fetchcustomercartQue87 = _fetchcustomercartQue87.data) === null || _fetchcustomercartQue87 === void 0 || (_fetchcustomercartQue87 = _fetchcustomercartQue87.customercart) === null || _fetchcustomercartQue87 === void 0 ? void 0 : _fetchcustomercartQue87.paymentmethod) != 'forsa') {
13156
13189
  cartinfoupdater('paymentmethod', 'forsa');
13190
+ setinstapaychosen(false);
13157
13191
  }
13158
13192
  }
13159
13193
  }), /*#__PURE__*/React.createElement("svg", {
@@ -13170,11 +13204,12 @@ var Checkout = function Checkout(props) {
13170
13204
  }, /*#__PURE__*/React.createElement("input", {
13171
13205
  type: "checkbox",
13172
13206
  className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
13173
- checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue86 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue86 === void 0 || (_fetchcustomercartQue86 = _fetchcustomercartQue86.data) === null || _fetchcustomercartQue86 === void 0 || (_fetchcustomercartQue86 = _fetchcustomercartQue86.customercart) === null || _fetchcustomercartQue86 === void 0 ? void 0 : _fetchcustomercartQue86.paymentmethod) == 'Souhoola' ? true : false,
13207
+ checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue88 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue88 === void 0 || (_fetchcustomercartQue88 = _fetchcustomercartQue88.data) === null || _fetchcustomercartQue88 === void 0 || (_fetchcustomercartQue88 = _fetchcustomercartQue88.customercart) === null || _fetchcustomercartQue88 === void 0 ? void 0 : _fetchcustomercartQue88.paymentmethod) == 'Souhoola' ? true : false,
13174
13208
  onChange: function onChange() {
13175
- var _fetchcustomercartQue87;
13176
- if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue87 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue87 === void 0 || (_fetchcustomercartQue87 = _fetchcustomercartQue87.data) === null || _fetchcustomercartQue87 === void 0 || (_fetchcustomercartQue87 = _fetchcustomercartQue87.customercart) === null || _fetchcustomercartQue87 === void 0 ? void 0 : _fetchcustomercartQue87.paymentmethod) != 'Souhoola') {
13209
+ var _fetchcustomercartQue89;
13210
+ if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue89 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue89 === void 0 || (_fetchcustomercartQue89 = _fetchcustomercartQue89.data) === null || _fetchcustomercartQue89 === void 0 || (_fetchcustomercartQue89 = _fetchcustomercartQue89.customercart) === null || _fetchcustomercartQue89 === void 0 ? void 0 : _fetchcustomercartQue89.paymentmethod) != 'Souhoola') {
13177
13211
  cartinfoupdater('paymentmethod', 'Souhoola');
13212
+ setinstapaychosen(false);
13178
13213
  }
13179
13214
  }
13180
13215
  }), /*#__PURE__*/React.createElement("svg", {
@@ -13191,11 +13226,12 @@ var Checkout = function Checkout(props) {
13191
13226
  }, /*#__PURE__*/React.createElement("input", {
13192
13227
  type: "checkbox",
13193
13228
  className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
13194
- checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue88 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue88 === void 0 || (_fetchcustomercartQue88 = _fetchcustomercartQue88.data) === null || _fetchcustomercartQue88 === void 0 || (_fetchcustomercartQue88 = _fetchcustomercartQue88.customercart) === null || _fetchcustomercartQue88 === void 0 ? void 0 : _fetchcustomercartQue88.paymentmethod) == 'paypal' ? true : false,
13229
+ checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue90 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue90 === void 0 || (_fetchcustomercartQue90 = _fetchcustomercartQue90.data) === null || _fetchcustomercartQue90 === void 0 || (_fetchcustomercartQue90 = _fetchcustomercartQue90.customercart) === null || _fetchcustomercartQue90 === void 0 ? void 0 : _fetchcustomercartQue90.paymentmethod) == 'paypal' ? true : false,
13195
13230
  onChange: function onChange() {
13196
- var _fetchcustomercartQue89;
13197
- if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue89 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue89 === void 0 || (_fetchcustomercartQue89 = _fetchcustomercartQue89.data) === null || _fetchcustomercartQue89 === void 0 || (_fetchcustomercartQue89 = _fetchcustomercartQue89.customercart) === null || _fetchcustomercartQue89 === void 0 ? void 0 : _fetchcustomercartQue89.paymentmethod) != 'paypal') {
13231
+ var _fetchcustomercartQue91;
13232
+ if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue91 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue91 === void 0 || (_fetchcustomercartQue91 = _fetchcustomercartQue91.data) === null || _fetchcustomercartQue91 === void 0 || (_fetchcustomercartQue91 = _fetchcustomercartQue91.customercart) === null || _fetchcustomercartQue91 === void 0 ? void 0 : _fetchcustomercartQue91.paymentmethod) != 'paypal') {
13198
13233
  cartinfoupdater('paymentmethod', 'paypal');
13234
+ setinstapaychosen(false);
13199
13235
  }
13200
13236
  }
13201
13237
  }), /*#__PURE__*/React.createElement("svg", {
@@ -13212,11 +13248,12 @@ var Checkout = function Checkout(props) {
13212
13248
  }, /*#__PURE__*/React.createElement("input", {
13213
13249
  type: "checkbox",
13214
13250
  className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
13215
- checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue90 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue90 === void 0 || (_fetchcustomercartQue90 = _fetchcustomercartQue90.data) === null || _fetchcustomercartQue90 === void 0 || (_fetchcustomercartQue90 = _fetchcustomercartQue90.customercart) === null || _fetchcustomercartQue90 === void 0 ? void 0 : _fetchcustomercartQue90.paymentmethod) == 'bankinstallments' ? true : false,
13251
+ checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue92 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue92 === void 0 || (_fetchcustomercartQue92 = _fetchcustomercartQue92.data) === null || _fetchcustomercartQue92 === void 0 || (_fetchcustomercartQue92 = _fetchcustomercartQue92.customercart) === null || _fetchcustomercartQue92 === void 0 ? void 0 : _fetchcustomercartQue92.paymentmethod) == 'bankinstallments' ? true : false,
13216
13252
  onChange: function onChange() {
13217
- var _fetchcustomercartQue91;
13218
- if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue91 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue91 === void 0 || (_fetchcustomercartQue91 = _fetchcustomercartQue91.data) === null || _fetchcustomercartQue91 === void 0 || (_fetchcustomercartQue91 = _fetchcustomercartQue91.customercart) === null || _fetchcustomercartQue91 === void 0 ? void 0 : _fetchcustomercartQue91.paymentmethod) != 'bankinstallments') {
13253
+ var _fetchcustomercartQue93;
13254
+ if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue93 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue93 === void 0 || (_fetchcustomercartQue93 = _fetchcustomercartQue93.data) === null || _fetchcustomercartQue93 === void 0 || (_fetchcustomercartQue93 = _fetchcustomercartQue93.customercart) === null || _fetchcustomercartQue93 === void 0 ? void 0 : _fetchcustomercartQue93.paymentmethod) != 'bankinstallments') {
13219
13255
  cartinfoupdater('paymentmethod', 'bankinstallments');
13256
+ setinstapaychosen(false);
13220
13257
  }
13221
13258
  }
13222
13259
  }), /*#__PURE__*/React.createElement("svg", {
@@ -13233,11 +13270,12 @@ var Checkout = function Checkout(props) {
13233
13270
  }, /*#__PURE__*/React.createElement("input", {
13234
13271
  type: "checkbox",
13235
13272
  className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
13236
- checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue92 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue92 === void 0 || (_fetchcustomercartQue92 = _fetchcustomercartQue92.data) === null || _fetchcustomercartQue92 === void 0 || (_fetchcustomercartQue92 = _fetchcustomercartQue92.customercart) === null || _fetchcustomercartQue92 === void 0 ? void 0 : _fetchcustomercartQue92.paymentmethod) == 'Aman' ? true : false,
13273
+ checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue94 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue94 === void 0 || (_fetchcustomercartQue94 = _fetchcustomercartQue94.data) === null || _fetchcustomercartQue94 === void 0 || (_fetchcustomercartQue94 = _fetchcustomercartQue94.customercart) === null || _fetchcustomercartQue94 === void 0 ? void 0 : _fetchcustomercartQue94.paymentmethod) == 'Aman' ? true : false,
13237
13274
  onChange: function onChange() {
13238
- var _fetchcustomercartQue93;
13239
- if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue93 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue93 === void 0 || (_fetchcustomercartQue93 = _fetchcustomercartQue93.data) === null || _fetchcustomercartQue93 === void 0 || (_fetchcustomercartQue93 = _fetchcustomercartQue93.customercart) === null || _fetchcustomercartQue93 === void 0 ? void 0 : _fetchcustomercartQue93.paymentmethod) != 'Aman') {
13275
+ var _fetchcustomercartQue95;
13276
+ if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue95 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue95 === void 0 || (_fetchcustomercartQue95 = _fetchcustomercartQue95.data) === null || _fetchcustomercartQue95 === void 0 || (_fetchcustomercartQue95 = _fetchcustomercartQue95.customercart) === null || _fetchcustomercartQue95 === void 0 ? void 0 : _fetchcustomercartQue95.paymentmethod) != 'Aman') {
13240
13277
  cartinfoupdater('paymentmethod', 'Aman');
13278
+ setinstapaychosen(false);
13241
13279
  }
13242
13280
  }
13243
13281
  }), /*#__PURE__*/React.createElement("svg", {
@@ -13247,7 +13285,17 @@ var Checkout = function Checkout(props) {
13247
13285
  d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
13248
13286
  })), /*#__PURE__*/React.createElement("p", {
13249
13287
  className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
13250
- }, langdetect == 'en' ? 'Aman' : 'Aman')))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue94 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue94 === void 0 || (_fetchcustomercartQue94 = _fetchcustomercartQue94.data) === null || _fetchcustomercartQue94 === void 0 ? void 0 : _fetchcustomercartQue94.customercart.paymentmethod) == 'onlinepayment1' && /*#__PURE__*/React.createElement("div", {
13288
+ }, langdetect == 'en' ? 'Aman' : 'Aman'))), instapaychosen && /*#__PURE__*/React.createElement("div", {
13289
+ "class": "col-12 px-3 px-md-2 my-3"
13290
+ }, /*#__PURE__*/React.createElement("p", {
13291
+ "class": ' pb-0 pl-md-2 pr-md-2 ',
13292
+ style: {
13293
+ color: '#000'
13294
+ },
13295
+ dangerouslySetInnerHTML: {
13296
+ __html: langdetect == 'en' ? sectionproperties.instapayoptioncontenten : sectionproperties.instapayoptioncontentar
13297
+ }
13298
+ }))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue96 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue96 === void 0 || (_fetchcustomercartQue96 = _fetchcustomercartQue96.data) === null || _fetchcustomercartQue96 === void 0 ? void 0 : _fetchcustomercartQue96.customercart.paymentmethod) == 'onlinepayment1' && /*#__PURE__*/React.createElement("div", {
13251
13299
  className: "col-lg-12 p-0 w-100 mb-3"
13252
13300
  }, /*#__PURE__*/React.createElement("div", {
13253
13301
  style: {
@@ -16957,6 +17005,14 @@ var OrderSuccess = function OrderSuccess(props) {
16957
17005
  '@media (max-width: 800px)': {
16958
17006
  paddingTop: sectionproperties.cardstyletype != 'Style 2' ? sectionproperties.marginTopResp + 'px' : 0
16959
17007
  }
17008
+ }),
17009
+ containerstyle2: css({
17010
+ paddingTop: sectionproperties.marginTop + 'px',
17011
+ paddingBottom: sectionproperties.marginBottom + 'px',
17012
+ background: sectionproperties.outerbgcolor,
17013
+ '@media (max-width: 800px)': {
17014
+ paddingTop: sectionproperties.marginTopResp + 'px'
17015
+ }
16960
17016
  })
16961
17017
  };
16962
17018
  var whatsappUrl = "https://wa.me/".concat(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.whatsappnumber, "?text=").concat('My order number is ' + (lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat === void 0 || (_lastOrderinfoObj$dat = _lastOrderinfoObj$dat.orderinfo) === null || _lastOrderinfoObj$dat === void 0 ? void 0 : _lastOrderinfoObj$dat.orderid));
@@ -16973,7 +17029,9 @@ var OrderSuccess = function OrderSuccess(props) {
16973
17029
  color: '#000'
16974
17030
  }
16975
17031
  }, lastOrderinfoObj != null && lastOrderinfoObj.status && sectionproperties.cardstyletype == 'Style 2' && /*#__PURE__*/React.createElement("div", {
16976
- "class": "row m-0 w-100 px-5 py-5 px-1025-1 px-md-0",
17032
+ "class": ordersuccessstyle.containerstyle2 + ' row m-0 w-100 px-5 px-1025-1 px-md-0 '
17033
+ // py-5
17034
+ ,
16977
17035
  style: {
16978
17036
  paddingLeft: 200,
16979
17037
  paddingRight: 200
@@ -19378,7 +19436,7 @@ var Filter$1 = function Filter(props) {
19378
19436
  className: "mt-2 mb-3"
19379
19437
  })), /*#__PURE__*/React.createElement("div", {
19380
19438
  className: filter_cssstyles.filteraccordion + ' col-lg-12 filter-accordion p-md-0 '
19381
- }, sectionproperties.showpricerangefilter == 'Show' && /*#__PURE__*/React.createElement("div", {
19439
+ }, sectionproperties.showpricefilterfromto == 'Show' && PriceFromToFilter(), sectionproperties.showpricerangefilter == 'Show' && /*#__PURE__*/React.createElement("div", {
19382
19440
  "class": "row m-0 w-100 px-3"
19383
19441
  }, PriceInputRangeFilter()), sectionproperties.showcountriesfilter == 'Show' && Countriesfilter(), sectionproperties.filterType == 'All' && sectionproperties.showcategoriesfilter == 'Show' && /*#__PURE__*/React.createElement("div", {
19384
19442
  "class": "row m-0 w-100"
@@ -71295,7 +71353,7 @@ var Slideshowslide = function Slideshowslide(props) {
71295
71353
  }
71296
71354
  }, /*#__PURE__*/React.createElement(Slide, _extends({}, Slideshowsettings, {
71297
71355
  transitionDuration: 1500,
71298
- duration: 1500,
71356
+ duration: sectionproperties.slideshowdurationinms,
71299
71357
  arrow: true,
71300
71358
  easing: "ease"
71301
71359
  }), Object.keys(bgimagearrayofobjs).length != 0 && bgimagearrayofobjs.map(function (item, index) {
package/dist/index.umd.js CHANGED
@@ -11482,7 +11482,7 @@
11482
11482
  function ownKeys$2s(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
11483
11483
  function _objectSpread$2s(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2s(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2s(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
11484
11484
  var Checkout = function Checkout(props) {
11485
- var _css, _authdetailsContext$i5, _fetchcustomercartQue63, _authdetailsContext$i6, _fetchcustomercartQue64, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _fetchcustomercartQue65, _fetchcustomercartQue70, _fetchcustomercartQue71, _fetchcustomercartQue72, _fetchcustomercartQue73, _fetchcustomercartQue74, _fetchcustomercartQue76, _fetchcustomercartQue78, _fetchcustomercartQue80, _fetchcustomercartQue82, _authdetailsContext$i0, _fetchcustomercartQue84, _authdetailsContext$i1, _fetchcustomercartQue86, _authdetailsContext$i10, _fetchcustomercartQue88, _authdetailsContext$i11, _fetchcustomercartQue90, _authdetailsContext$i12, _fetchcustomercartQue92, _fetchcustomercartQue94;
11485
+ var _css, _authdetailsContext$i5, _fetchcustomercartQue63, _authdetailsContext$i6, _fetchcustomercartQue64, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _fetchcustomercartQue65, _fetchcustomercartQue70, _fetchcustomercartQue71, _fetchcustomercartQue72, _fetchcustomercartQue73, _fetchcustomercartQue74, _fetchcustomercartQue76, _fetchcustomercartQue78, _fetchcustomercartQue80, _fetchcustomercartQue82, _fetchcustomercartQue84, _authdetailsContext$i0, _fetchcustomercartQue86, _authdetailsContext$i1, _fetchcustomercartQue88, _authdetailsContext$i10, _fetchcustomercartQue90, _authdetailsContext$i11, _fetchcustomercartQue92, _authdetailsContext$i12, _fetchcustomercartQue94, _fetchcustomercartQue96;
11486
11486
  var _useState = React.useState(null),
11487
11487
  _useState2 = _slicedToArray__default["default"](_useState, 2);
11488
11488
  _useState2[0];
@@ -11538,9 +11538,9 @@
11538
11538
  orderextrafeilds = _useState14[0],
11539
11539
  setorderextrafeilds = _useState14[1];
11540
11540
  var _useState15 = React.useState(false),
11541
- _useState16 = _slicedToArray__default["default"](_useState15, 2);
11542
- _useState16[0];
11543
- _useState16[1];
11541
+ _useState16 = _slicedToArray__default["default"](_useState15, 2),
11542
+ instapaychosen = _useState16[0],
11543
+ setinstapaychosen = _useState16[1];
11544
11544
  React.useEffect(function () {
11545
11545
  var _templatepropcontext$;
11546
11546
  var cartindex = templatepropcontext === null || templatepropcontext === void 0 || (_templatepropcontext$ = templatepropcontext.pagesnprop) === null || _templatepropcontext$ === void 0 ? void 0 : _templatepropcontext$.findIndex(function (x) {
@@ -12907,6 +12907,7 @@
12907
12907
  var _fetchcustomercartQue75;
12908
12908
  if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue75 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue75 === void 0 || (_fetchcustomercartQue75 = _fetchcustomercartQue75.data) === null || _fetchcustomercartQue75 === void 0 ? void 0 : _fetchcustomercartQue75.customercart.paymentmethod) != 'cod') {
12909
12909
  cartinfoupdater('paymentmethod', 'cod');
12910
+ setinstapaychosen(false);
12910
12911
  }
12911
12912
  }
12912
12913
  }), /*#__PURE__*/React__default["default"].createElement("svg", {
@@ -12919,18 +12920,47 @@
12919
12920
  style: {
12920
12921
  color: sectionproperties.checkbox_color
12921
12922
  }
12922
- }, langdetect == 'en' ? sectionproperties.cod_text_en : sectionproperties.cod_text_ar))), authdetailsContext.instinfo.acceptCardOnDelivery == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
12923
+ }, langdetect == 'en' ? sectionproperties.cod_text_en : sectionproperties.cod_text_ar))), authdetailsContext.instinfo.acceptInstapay == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
12923
12924
  className: "col-xl-4 col-lg-4 col-md-12 mb-3"
12924
12925
  }, /*#__PURE__*/React__default["default"].createElement("label", {
12925
- className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
12926
+ className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated) + ' d-flex mb-0 ',
12927
+ "for": "codcheckbox"
12926
12928
  }, /*#__PURE__*/React__default["default"].createElement("input", {
12929
+ id: 'codcheckbox',
12927
12930
  type: "checkbox",
12928
12931
  className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
12929
- checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue76 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue76 === void 0 || (_fetchcustomercartQue76 = _fetchcustomercartQue76.data) === null || _fetchcustomercartQue76 === void 0 ? void 0 : _fetchcustomercartQue76.customercart.paymentmethod) == 'cardondelivery' ? true : false,
12932
+ checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue76 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue76 === void 0 || (_fetchcustomercartQue76 = _fetchcustomercartQue76.data) === null || _fetchcustomercartQue76 === void 0 ? void 0 : _fetchcustomercartQue76.customercart.paymentmethod) == 'instapay' ? true : false,
12930
12933
  onChange: function onChange() {
12931
12934
  var _fetchcustomercartQue77;
12932
- if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue77 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue77 === void 0 || (_fetchcustomercartQue77 = _fetchcustomercartQue77.data) === null || _fetchcustomercartQue77 === void 0 ? void 0 : _fetchcustomercartQue77.customercart.paymentmethod) != 'cardondelivery') {
12935
+ if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue77 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue77 === void 0 || (_fetchcustomercartQue77 = _fetchcustomercartQue77.data) === null || _fetchcustomercartQue77 === void 0 ? void 0 : _fetchcustomercartQue77.customercart.paymentmethod) != 'instapay') {
12936
+ cartinfoupdater('paymentmethod', 'instapay');
12937
+ setinstapaychosen(true);
12938
+ // alert('1');
12939
+ }
12940
+ }
12941
+ }), /*#__PURE__*/React__default["default"].createElement("svg", {
12942
+ viewBox: "0 0 21 21",
12943
+ className: checkoutstyles.svgstyles + ' h-100 '
12944
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
12945
+ d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
12946
+ })), /*#__PURE__*/React__default["default"].createElement("p", {
12947
+ className: ' ml-2 mb-0 cursor-pointer wordbreak mr-2',
12948
+ style: {
12949
+ color: sectionproperties.checkbox_color
12950
+ }
12951
+ }, "Instapay"))), authdetailsContext.instinfo.acceptCardOnDelivery == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
12952
+ className: "col-xl-4 col-lg-4 col-md-12 mb-3"
12953
+ }, /*#__PURE__*/React__default["default"].createElement("label", {
12954
+ className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
12955
+ }, /*#__PURE__*/React__default["default"].createElement("input", {
12956
+ type: "checkbox",
12957
+ className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
12958
+ checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue78 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue78 === void 0 || (_fetchcustomercartQue78 = _fetchcustomercartQue78.data) === null || _fetchcustomercartQue78 === void 0 ? void 0 : _fetchcustomercartQue78.customercart.paymentmethod) == 'cardondelivery' ? true : false,
12959
+ onChange: function onChange() {
12960
+ var _fetchcustomercartQue79;
12961
+ if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue79 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue79 === void 0 || (_fetchcustomercartQue79 = _fetchcustomercartQue79.data) === null || _fetchcustomercartQue79 === void 0 ? void 0 : _fetchcustomercartQue79.customercart.paymentmethod) != 'cardondelivery') {
12933
12962
  cartinfoupdater('paymentmethod', 'cardondelivery');
12963
+ setinstapaychosen(false);
12934
12964
  }
12935
12965
  }
12936
12966
  }), /*#__PURE__*/React__default["default"].createElement("svg", {
@@ -12947,11 +12977,12 @@
12947
12977
  }, /*#__PURE__*/React__default["default"].createElement("input", {
12948
12978
  type: "checkbox",
12949
12979
  className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
12950
- checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue78 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue78 === void 0 || (_fetchcustomercartQue78 = _fetchcustomercartQue78.data) === null || _fetchcustomercartQue78 === void 0 ? void 0 : _fetchcustomercartQue78.customercart.paymentmethod) == 'onlinepayment' ? true : false,
12980
+ checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue80 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue80 === void 0 || (_fetchcustomercartQue80 = _fetchcustomercartQue80.data) === null || _fetchcustomercartQue80 === void 0 ? void 0 : _fetchcustomercartQue80.customercart.paymentmethod) == 'onlinepayment' ? true : false,
12951
12981
  onChange: function onChange() {
12952
- var _fetchcustomercartQue79;
12953
- if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue79 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue79 === void 0 || (_fetchcustomercartQue79 = _fetchcustomercartQue79.data) === null || _fetchcustomercartQue79 === void 0 ? void 0 : _fetchcustomercartQue79.customercart.paymentmethod) != 'onlinepayment') {
12982
+ var _fetchcustomercartQue81;
12983
+ if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue81 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue81 === void 0 || (_fetchcustomercartQue81 = _fetchcustomercartQue81.data) === null || _fetchcustomercartQue81 === void 0 ? void 0 : _fetchcustomercartQue81.customercart.paymentmethod) != 'onlinepayment') {
12954
12984
  cartinfoupdater('paymentmethod', 'onlinepayment');
12985
+ setinstapaychosen(false);
12955
12986
  }
12956
12987
  }
12957
12988
  }), /*#__PURE__*/React__default["default"].createElement("svg", {
@@ -12968,11 +12999,12 @@
12968
12999
  }, /*#__PURE__*/React__default["default"].createElement("input", {
12969
13000
  type: "checkbox",
12970
13001
  className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
12971
- checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue80 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue80 === void 0 || (_fetchcustomercartQue80 = _fetchcustomercartQue80.data) === null || _fetchcustomercartQue80 === void 0 ? void 0 : _fetchcustomercartQue80.customercart.paymentmethod) == 'valU' ? true : false,
13002
+ checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue82 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue82 === void 0 || (_fetchcustomercartQue82 = _fetchcustomercartQue82.data) === null || _fetchcustomercartQue82 === void 0 ? void 0 : _fetchcustomercartQue82.customercart.paymentmethod) == 'valU' ? true : false,
12972
13003
  onChange: function onChange() {
12973
- var _fetchcustomercartQue81;
12974
- if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue81 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue81 === void 0 || (_fetchcustomercartQue81 = _fetchcustomercartQue81.data) === null || _fetchcustomercartQue81 === void 0 ? void 0 : _fetchcustomercartQue81.customercart.paymentmethod) != 'valU') {
13004
+ var _fetchcustomercartQue83;
13005
+ if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue83 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue83 === void 0 || (_fetchcustomercartQue83 = _fetchcustomercartQue83.data) === null || _fetchcustomercartQue83 === void 0 ? void 0 : _fetchcustomercartQue83.customercart.paymentmethod) != 'valU') {
12975
13006
  cartinfoupdater('paymentmethod', 'valU');
13007
+ setinstapaychosen(false);
12976
13008
  }
12977
13009
  }
12978
13010
  }), /*#__PURE__*/React__default["default"].createElement("svg", {
@@ -12989,11 +13021,12 @@
12989
13021
  }, /*#__PURE__*/React__default["default"].createElement("input", {
12990
13022
  type: "checkbox",
12991
13023
  className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
12992
- checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue82 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue82 === void 0 || (_fetchcustomercartQue82 = _fetchcustomercartQue82.data) === null || _fetchcustomercartQue82 === void 0 ? void 0 : _fetchcustomercartQue82.customercart.paymentmethod) == 'mobilewallet' ? true : false,
13024
+ checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue84 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue84 === void 0 || (_fetchcustomercartQue84 = _fetchcustomercartQue84.data) === null || _fetchcustomercartQue84 === void 0 ? void 0 : _fetchcustomercartQue84.customercart.paymentmethod) == 'mobilewallet' ? true : false,
12993
13025
  onChange: function onChange() {
12994
- var _fetchcustomercartQue83;
12995
- if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue83 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue83 === void 0 || (_fetchcustomercartQue83 = _fetchcustomercartQue83.data) === null || _fetchcustomercartQue83 === void 0 ? void 0 : _fetchcustomercartQue83.customercart.paymentmethod) != 'mobilewallet') {
13026
+ var _fetchcustomercartQue85;
13027
+ if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue85 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue85 === void 0 || (_fetchcustomercartQue85 = _fetchcustomercartQue85.data) === null || _fetchcustomercartQue85 === void 0 ? void 0 : _fetchcustomercartQue85.customercart.paymentmethod) != 'mobilewallet') {
12996
13028
  cartinfoupdater('paymentmethod', 'mobilewallet');
13029
+ setinstapaychosen(false);
12997
13030
  }
12998
13031
  }
12999
13032
  }), /*#__PURE__*/React__default["default"].createElement("svg", {
@@ -13010,11 +13043,12 @@
13010
13043
  }, /*#__PURE__*/React__default["default"].createElement("input", {
13011
13044
  type: "checkbox",
13012
13045
  className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
13013
- checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue84 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue84 === void 0 || (_fetchcustomercartQue84 = _fetchcustomercartQue84.data) === null || _fetchcustomercartQue84 === void 0 || (_fetchcustomercartQue84 = _fetchcustomercartQue84.customercart) === null || _fetchcustomercartQue84 === void 0 ? void 0 : _fetchcustomercartQue84.paymentmethod) == 'forsa' ? true : false,
13046
+ checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue86 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue86 === void 0 || (_fetchcustomercartQue86 = _fetchcustomercartQue86.data) === null || _fetchcustomercartQue86 === void 0 || (_fetchcustomercartQue86 = _fetchcustomercartQue86.customercart) === null || _fetchcustomercartQue86 === void 0 ? void 0 : _fetchcustomercartQue86.paymentmethod) == 'forsa' ? true : false,
13014
13047
  onChange: function onChange() {
13015
- var _fetchcustomercartQue85;
13016
- if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue85 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue85 === void 0 || (_fetchcustomercartQue85 = _fetchcustomercartQue85.data) === null || _fetchcustomercartQue85 === void 0 || (_fetchcustomercartQue85 = _fetchcustomercartQue85.customercart) === null || _fetchcustomercartQue85 === void 0 ? void 0 : _fetchcustomercartQue85.paymentmethod) != 'forsa') {
13048
+ var _fetchcustomercartQue87;
13049
+ if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue87 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue87 === void 0 || (_fetchcustomercartQue87 = _fetchcustomercartQue87.data) === null || _fetchcustomercartQue87 === void 0 || (_fetchcustomercartQue87 = _fetchcustomercartQue87.customercart) === null || _fetchcustomercartQue87 === void 0 ? void 0 : _fetchcustomercartQue87.paymentmethod) != 'forsa') {
13017
13050
  cartinfoupdater('paymentmethod', 'forsa');
13051
+ setinstapaychosen(false);
13018
13052
  }
13019
13053
  }
13020
13054
  }), /*#__PURE__*/React__default["default"].createElement("svg", {
@@ -13031,11 +13065,12 @@
13031
13065
  }, /*#__PURE__*/React__default["default"].createElement("input", {
13032
13066
  type: "checkbox",
13033
13067
  className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
13034
- checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue86 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue86 === void 0 || (_fetchcustomercartQue86 = _fetchcustomercartQue86.data) === null || _fetchcustomercartQue86 === void 0 || (_fetchcustomercartQue86 = _fetchcustomercartQue86.customercart) === null || _fetchcustomercartQue86 === void 0 ? void 0 : _fetchcustomercartQue86.paymentmethod) == 'Souhoola' ? true : false,
13068
+ checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue88 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue88 === void 0 || (_fetchcustomercartQue88 = _fetchcustomercartQue88.data) === null || _fetchcustomercartQue88 === void 0 || (_fetchcustomercartQue88 = _fetchcustomercartQue88.customercart) === null || _fetchcustomercartQue88 === void 0 ? void 0 : _fetchcustomercartQue88.paymentmethod) == 'Souhoola' ? true : false,
13035
13069
  onChange: function onChange() {
13036
- var _fetchcustomercartQue87;
13037
- if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue87 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue87 === void 0 || (_fetchcustomercartQue87 = _fetchcustomercartQue87.data) === null || _fetchcustomercartQue87 === void 0 || (_fetchcustomercartQue87 = _fetchcustomercartQue87.customercart) === null || _fetchcustomercartQue87 === void 0 ? void 0 : _fetchcustomercartQue87.paymentmethod) != 'Souhoola') {
13070
+ var _fetchcustomercartQue89;
13071
+ if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue89 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue89 === void 0 || (_fetchcustomercartQue89 = _fetchcustomercartQue89.data) === null || _fetchcustomercartQue89 === void 0 || (_fetchcustomercartQue89 = _fetchcustomercartQue89.customercart) === null || _fetchcustomercartQue89 === void 0 ? void 0 : _fetchcustomercartQue89.paymentmethod) != 'Souhoola') {
13038
13072
  cartinfoupdater('paymentmethod', 'Souhoola');
13073
+ setinstapaychosen(false);
13039
13074
  }
13040
13075
  }
13041
13076
  }), /*#__PURE__*/React__default["default"].createElement("svg", {
@@ -13052,11 +13087,12 @@
13052
13087
  }, /*#__PURE__*/React__default["default"].createElement("input", {
13053
13088
  type: "checkbox",
13054
13089
  className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
13055
- checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue88 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue88 === void 0 || (_fetchcustomercartQue88 = _fetchcustomercartQue88.data) === null || _fetchcustomercartQue88 === void 0 || (_fetchcustomercartQue88 = _fetchcustomercartQue88.customercart) === null || _fetchcustomercartQue88 === void 0 ? void 0 : _fetchcustomercartQue88.paymentmethod) == 'paypal' ? true : false,
13090
+ checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue90 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue90 === void 0 || (_fetchcustomercartQue90 = _fetchcustomercartQue90.data) === null || _fetchcustomercartQue90 === void 0 || (_fetchcustomercartQue90 = _fetchcustomercartQue90.customercart) === null || _fetchcustomercartQue90 === void 0 ? void 0 : _fetchcustomercartQue90.paymentmethod) == 'paypal' ? true : false,
13056
13091
  onChange: function onChange() {
13057
- var _fetchcustomercartQue89;
13058
- if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue89 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue89 === void 0 || (_fetchcustomercartQue89 = _fetchcustomercartQue89.data) === null || _fetchcustomercartQue89 === void 0 || (_fetchcustomercartQue89 = _fetchcustomercartQue89.customercart) === null || _fetchcustomercartQue89 === void 0 ? void 0 : _fetchcustomercartQue89.paymentmethod) != 'paypal') {
13092
+ var _fetchcustomercartQue91;
13093
+ if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue91 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue91 === void 0 || (_fetchcustomercartQue91 = _fetchcustomercartQue91.data) === null || _fetchcustomercartQue91 === void 0 || (_fetchcustomercartQue91 = _fetchcustomercartQue91.customercart) === null || _fetchcustomercartQue91 === void 0 ? void 0 : _fetchcustomercartQue91.paymentmethod) != 'paypal') {
13059
13094
  cartinfoupdater('paymentmethod', 'paypal');
13095
+ setinstapaychosen(false);
13060
13096
  }
13061
13097
  }
13062
13098
  }), /*#__PURE__*/React__default["default"].createElement("svg", {
@@ -13073,11 +13109,12 @@
13073
13109
  }, /*#__PURE__*/React__default["default"].createElement("input", {
13074
13110
  type: "checkbox",
13075
13111
  className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
13076
- checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue90 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue90 === void 0 || (_fetchcustomercartQue90 = _fetchcustomercartQue90.data) === null || _fetchcustomercartQue90 === void 0 || (_fetchcustomercartQue90 = _fetchcustomercartQue90.customercart) === null || _fetchcustomercartQue90 === void 0 ? void 0 : _fetchcustomercartQue90.paymentmethod) == 'bankinstallments' ? true : false,
13112
+ checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue92 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue92 === void 0 || (_fetchcustomercartQue92 = _fetchcustomercartQue92.data) === null || _fetchcustomercartQue92 === void 0 || (_fetchcustomercartQue92 = _fetchcustomercartQue92.customercart) === null || _fetchcustomercartQue92 === void 0 ? void 0 : _fetchcustomercartQue92.paymentmethod) == 'bankinstallments' ? true : false,
13077
13113
  onChange: function onChange() {
13078
- var _fetchcustomercartQue91;
13079
- if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue91 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue91 === void 0 || (_fetchcustomercartQue91 = _fetchcustomercartQue91.data) === null || _fetchcustomercartQue91 === void 0 || (_fetchcustomercartQue91 = _fetchcustomercartQue91.customercart) === null || _fetchcustomercartQue91 === void 0 ? void 0 : _fetchcustomercartQue91.paymentmethod) != 'bankinstallments') {
13114
+ var _fetchcustomercartQue93;
13115
+ if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue93 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue93 === void 0 || (_fetchcustomercartQue93 = _fetchcustomercartQue93.data) === null || _fetchcustomercartQue93 === void 0 || (_fetchcustomercartQue93 = _fetchcustomercartQue93.customercart) === null || _fetchcustomercartQue93 === void 0 ? void 0 : _fetchcustomercartQue93.paymentmethod) != 'bankinstallments') {
13080
13116
  cartinfoupdater('paymentmethod', 'bankinstallments');
13117
+ setinstapaychosen(false);
13081
13118
  }
13082
13119
  }
13083
13120
  }), /*#__PURE__*/React__default["default"].createElement("svg", {
@@ -13094,11 +13131,12 @@
13094
13131
  }, /*#__PURE__*/React__default["default"].createElement("input", {
13095
13132
  type: "checkbox",
13096
13133
  className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
13097
- checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue92 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue92 === void 0 || (_fetchcustomercartQue92 = _fetchcustomercartQue92.data) === null || _fetchcustomercartQue92 === void 0 || (_fetchcustomercartQue92 = _fetchcustomercartQue92.customercart) === null || _fetchcustomercartQue92 === void 0 ? void 0 : _fetchcustomercartQue92.paymentmethod) == 'Aman' ? true : false,
13134
+ checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue94 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue94 === void 0 || (_fetchcustomercartQue94 = _fetchcustomercartQue94.data) === null || _fetchcustomercartQue94 === void 0 || (_fetchcustomercartQue94 = _fetchcustomercartQue94.customercart) === null || _fetchcustomercartQue94 === void 0 ? void 0 : _fetchcustomercartQue94.paymentmethod) == 'Aman' ? true : false,
13098
13135
  onChange: function onChange() {
13099
- var _fetchcustomercartQue93;
13100
- if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue93 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue93 === void 0 || (_fetchcustomercartQue93 = _fetchcustomercartQue93.data) === null || _fetchcustomercartQue93 === void 0 || (_fetchcustomercartQue93 = _fetchcustomercartQue93.customercart) === null || _fetchcustomercartQue93 === void 0 ? void 0 : _fetchcustomercartQue93.paymentmethod) != 'Aman') {
13136
+ var _fetchcustomercartQue95;
13137
+ if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue95 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue95 === void 0 || (_fetchcustomercartQue95 = _fetchcustomercartQue95.data) === null || _fetchcustomercartQue95 === void 0 || (_fetchcustomercartQue95 = _fetchcustomercartQue95.customercart) === null || _fetchcustomercartQue95 === void 0 ? void 0 : _fetchcustomercartQue95.paymentmethod) != 'Aman') {
13101
13138
  cartinfoupdater('paymentmethod', 'Aman');
13139
+ setinstapaychosen(false);
13102
13140
  }
13103
13141
  }
13104
13142
  }), /*#__PURE__*/React__default["default"].createElement("svg", {
@@ -13108,7 +13146,17 @@
13108
13146
  d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
13109
13147
  })), /*#__PURE__*/React__default["default"].createElement("p", {
13110
13148
  className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
13111
- }, langdetect == 'en' ? 'Aman' : 'Aman')))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue94 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue94 === void 0 || (_fetchcustomercartQue94 = _fetchcustomercartQue94.data) === null || _fetchcustomercartQue94 === void 0 ? void 0 : _fetchcustomercartQue94.customercart.paymentmethod) == 'onlinepayment1' && /*#__PURE__*/React__default["default"].createElement("div", {
13149
+ }, langdetect == 'en' ? 'Aman' : 'Aman'))), instapaychosen && /*#__PURE__*/React__default["default"].createElement("div", {
13150
+ "class": "col-12 px-3 px-md-2 my-3"
13151
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
13152
+ "class": ' pb-0 pl-md-2 pr-md-2 ',
13153
+ style: {
13154
+ color: '#000'
13155
+ },
13156
+ dangerouslySetInnerHTML: {
13157
+ __html: langdetect == 'en' ? sectionproperties.instapayoptioncontenten : sectionproperties.instapayoptioncontentar
13158
+ }
13159
+ }))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue96 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue96 === void 0 || (_fetchcustomercartQue96 = _fetchcustomercartQue96.data) === null || _fetchcustomercartQue96 === void 0 ? void 0 : _fetchcustomercartQue96.customercart.paymentmethod) == 'onlinepayment1' && /*#__PURE__*/React__default["default"].createElement("div", {
13112
13160
  className: "col-lg-12 p-0 w-100 mb-3"
13113
13161
  }, /*#__PURE__*/React__default["default"].createElement("div", {
13114
13162
  style: {
@@ -16818,6 +16866,14 @@
16818
16866
  '@media (max-width: 800px)': {
16819
16867
  paddingTop: sectionproperties.cardstyletype != 'Style 2' ? sectionproperties.marginTopResp + 'px' : 0
16820
16868
  }
16869
+ }),
16870
+ containerstyle2: glamor.css({
16871
+ paddingTop: sectionproperties.marginTop + 'px',
16872
+ paddingBottom: sectionproperties.marginBottom + 'px',
16873
+ background: sectionproperties.outerbgcolor,
16874
+ '@media (max-width: 800px)': {
16875
+ paddingTop: sectionproperties.marginTopResp + 'px'
16876
+ }
16821
16877
  })
16822
16878
  };
16823
16879
  var whatsappUrl = "https://wa.me/".concat(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.whatsappnumber, "?text=").concat('My order number is ' + (lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat === void 0 || (_lastOrderinfoObj$dat = _lastOrderinfoObj$dat.orderinfo) === null || _lastOrderinfoObj$dat === void 0 ? void 0 : _lastOrderinfoObj$dat.orderid));
@@ -16834,7 +16890,9 @@
16834
16890
  color: '#000'
16835
16891
  }
16836
16892
  }, lastOrderinfoObj != null && lastOrderinfoObj.status && sectionproperties.cardstyletype == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
16837
- "class": "row m-0 w-100 px-5 py-5 px-1025-1 px-md-0",
16893
+ "class": ordersuccessstyle.containerstyle2 + ' row m-0 w-100 px-5 px-1025-1 px-md-0 '
16894
+ // py-5
16895
+ ,
16838
16896
  style: {
16839
16897
  paddingLeft: 200,
16840
16898
  paddingRight: 200
@@ -19239,7 +19297,7 @@
19239
19297
  className: "mt-2 mb-3"
19240
19298
  })), /*#__PURE__*/React__default["default"].createElement("div", {
19241
19299
  className: filter_cssstyles.filteraccordion + ' col-lg-12 filter-accordion p-md-0 '
19242
- }, sectionproperties.showpricerangefilter == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
19300
+ }, sectionproperties.showpricefilterfromto == 'Show' && PriceFromToFilter(), sectionproperties.showpricerangefilter == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
19243
19301
  "class": "row m-0 w-100 px-3"
19244
19302
  }, PriceInputRangeFilter()), sectionproperties.showcountriesfilter == 'Show' && Countriesfilter(), sectionproperties.filterType == 'All' && sectionproperties.showcategoriesfilter == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
19245
19303
  "class": "row m-0 w-100"
@@ -71156,7 +71214,7 @@
71156
71214
  }
71157
71215
  }, /*#__PURE__*/React__default["default"].createElement(reactSlideshowImage.Slide, _extends__default["default"]({}, Slideshowsettings, {
71158
71216
  transitionDuration: 1500,
71159
- duration: 1500,
71217
+ duration: sectionproperties.slideshowdurationinms,
71160
71218
  arrow: true,
71161
71219
  easing: "ease"
71162
71220
  }), Object.keys(bgimagearrayofobjs).length != 0 && bgimagearrayofobjs.map(function (item, index) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tabexseriescomponents",
3
- "version": "0.2.839",
3
+ "version": "0.2.840",
4
4
  "type": "module",
5
5
  "description": "your description",
6
6
  "main": "dist/index.cjs.js",