tabexseriescomponents 0.2.1130 → 0.2.1133

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
@@ -12098,7 +12098,7 @@ styleInject(css_248z$G);
12098
12098
  function ownKeys$2w(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; }
12099
12099
  function _objectSpread$2w(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2w(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2w(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
12100
12100
  var Checkout = function Checkout(props) {
12101
- var _fetchTabexCountriesQ2, _css, _authdetailsContext$i0, _authdetailsContext$i1, _fetchcustomercartQue67, _authdetailsContext$i10, _fetchcustomercartQue68, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _fetchcustomercartQue69, _authdetailsContext$i16, _fetchcustomercartQue75, _fetchcustomercartQue76, _fetchcustomercartQue77, _fetchcustomercartQue78, _fetchcustomercartQue79, _fetchcustomercartQue81, _fetchcustomercartQue83, _fetchcustomercartQue85, _fetchcustomercartQue87, _fetchcustomercartQue89, _authdetailsContext$i19, _fetchcustomercartQue91, _authdetailsContext$i20, _fetchcustomercartQue93, _authdetailsContext$i21, _fetchcustomercartQue95, _authdetailsContext$i22, _fetchcustomercartQue97, _authdetailsContext$i23, _fetchcustomercartQue99, _authdetailsContext$i24, _fetchcustomercartQue101, _authdetailsContext$i25, _fetchcustomercartQue103, _fetchcustomercartQue105, _fetchcustomercartQue106;
12101
+ var _fetchTabexCountriesQ2, _css, _authdetailsContext$i0, _authdetailsContext$i1, _fetchcustomercartQue67, _authdetailsContext$i10, _fetchcustomercartQue68, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _fetchcustomercartQue69, _authdetailsContext$i16, _fetchcustomercartQue75, _fetchcustomercartQue76, _fetchcustomercartQue77, _fetchcustomercartQue78, _fetchcustomercartQue79, _fetchcustomercartQue81, _fetchcustomercartQue83, _fetchcustomercartQue85, _fetchcustomercartQue87, _fetchcustomercartQue89, _authdetailsContext$i21, _fetchcustomercartQue91, _authdetailsContext$i22, _fetchcustomercartQue93, _authdetailsContext$i23, _fetchcustomercartQue95, _authdetailsContext$i24, _fetchcustomercartQue97, _authdetailsContext$i25, _fetchcustomercartQue99, _authdetailsContext$i26, _fetchcustomercartQue101, _authdetailsContext$i27, _fetchcustomercartQue103, _fetchcustomercartQue105, _fetchcustomercartQue106;
12102
12102
  var _useState = React.useState(null),
12103
12103
  _useState2 = _slicedToArray__default["default"](_useState, 2);
12104
12104
  _useState2[0];
@@ -13556,7 +13556,7 @@ var Checkout = function Checkout(props) {
13556
13556
 
13557
13557
  var currentDate = year + '-' + month + '-' + day;
13558
13558
  if (item.type == 'date') {
13559
- var _authdetailsContext$i17, _authdetailsContext$i18;
13559
+ var _authdetailsContext$i19, _authdetailsContext$i20;
13560
13560
  return /*#__PURE__*/React__default["default"].createElement("div", {
13561
13561
  className: "col-lg-6 col-md-12 mb-3"
13562
13562
  }, /*#__PURE__*/React__default["default"].createElement("label", {
@@ -13564,17 +13564,39 @@ var Checkout = function Checkout(props) {
13564
13564
  }, langdetect == 'en' ? item.title_en : item.title_ar), /*#__PURE__*/React__default["default"].createElement("input", {
13565
13565
  type: 'date',
13566
13566
  className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
13567
- value: item.value,
13567
+ value: item.value
13568
+ // onChange={(event) => {
13569
+ // var temporderextrafeilds = [...orderextrafeilds];
13570
+ // temporderextrafeilds[index].value = event.target.value;
13571
+ // setorderextrafeilds([...temporderextrafeilds]);
13572
+ // }}
13573
+ ,
13568
13574
  onChange: function onChange(event) {
13569
- var temporderextrafeilds = _toConsumableArray__default["default"](orderextrafeilds);
13570
- temporderextrafeilds[index].value = event.target.value;
13571
- setorderextrafeilds(_toConsumableArray__default["default"](temporderextrafeilds));
13575
+ var _authdetailsContext$i17;
13576
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 || (_authdetailsContext$i17 = _authdetailsContext$i17.contactinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.instid) == '66b4a0338cb14') {
13577
+ var selectedDate = event.target.value;
13578
+ if (selectedDate != undefined && selectedDate != null && selectedDate != '' && selectedDate.length != 0) {
13579
+ var _authdetailsContext$i18;
13580
+ var minDate = (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 || (_authdetailsContext$i18 = _authdetailsContext$i18.contactinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.instid) === '66b4a0338cb14' ? new Date(Date.now() + 11 * 24 * 60 * 60 * 1000).toISOString().split('T')[0] : null;
13581
+ if (minDate && selectedDate < minDate) {
13582
+ alert("Please select a date on or after ".concat(minDate));
13583
+ return;
13584
+ }
13585
+ var temporderextrafeilds = _toConsumableArray__default["default"](orderextrafeilds);
13586
+ temporderextrafeilds[index].value = selectedDate;
13587
+ setorderextrafeilds(_toConsumableArray__default["default"](temporderextrafeilds));
13588
+ }
13589
+ } else {
13590
+ var temporderextrafeilds = _toConsumableArray__default["default"](orderextrafeilds);
13591
+ temporderextrafeilds[index].value = event.target.value;
13592
+ setorderextrafeilds(_toConsumableArray__default["default"](temporderextrafeilds));
13593
+ }
13572
13594
  },
13573
13595
  style: {
13574
13596
  boxShadow: 'none'
13575
13597
  },
13576
- min: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.contactinfo.instid) == '66b4a0338cb14' ? new Date(Date.now() + 11 * 24 * 60 * 60 * 1000) // allow starting 11 days after today
13577
- .toISOString().split('T')[0] : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.contactinfo.instid) == '6908bb20bbca3' ? currentDate : null
13598
+ min: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '66b4a0338cb14' ? new Date(Date.now() + 11 * 24 * 60 * 60 * 1000) // allow starting 11 days after today
13599
+ .toISOString().split('T')[0] : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) == '6908bb20bbca3' ? currentDate : null
13578
13600
  }));
13579
13601
  }
13580
13602
  if (item.type == 'time') {
@@ -13811,7 +13833,7 @@ var Checkout = function Checkout(props) {
13811
13833
  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"
13812
13834
  })), /*#__PURE__*/React__default["default"].createElement("p", {
13813
13835
  className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
13814
- }, langdetect == 'en' ? sectionproperties.walletnameen : sectionproperties.walletnamear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.acceptForsaCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
13836
+ }, langdetect == 'en' ? sectionproperties.walletnameen : sectionproperties.walletnamear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.acceptForsaCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
13815
13837
  className: "col-xl-4 col-lg-4 col-md-12 mb-3"
13816
13838
  }, /*#__PURE__*/React__default["default"].createElement("label", {
13817
13839
  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 '
@@ -13833,7 +13855,7 @@ var Checkout = function Checkout(props) {
13833
13855
  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"
13834
13856
  })), /*#__PURE__*/React__default["default"].createElement("p", {
13835
13857
  className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
13836
- }, langdetect == 'en' ? 'Forsa' : ' Forsa'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.acceptSouhoolaCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
13858
+ }, langdetect == 'en' ? 'Forsa' : ' Forsa'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.acceptSouhoolaCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
13837
13859
  className: "col-xl-4 col-lg-4 col-md-12 mb-3"
13838
13860
  }, /*#__PURE__*/React__default["default"].createElement("label", {
13839
13861
  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 '
@@ -13855,7 +13877,7 @@ var Checkout = function Checkout(props) {
13855
13877
  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"
13856
13878
  })), /*#__PURE__*/React__default["default"].createElement("p", {
13857
13879
  className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
13858
- }, langdetect == 'en' ? 'Souhoola' : ' Souhoola'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.acceptonlinePaypal) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
13880
+ }, langdetect == 'en' ? 'Souhoola' : ' Souhoola'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.acceptonlinePaypal) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
13859
13881
  className: "col-xl-4 col-lg-4 col-md-12 mb-3"
13860
13882
  }, /*#__PURE__*/React__default["default"].createElement("label", {
13861
13883
  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 '
@@ -13877,7 +13899,7 @@ var Checkout = function Checkout(props) {
13877
13899
  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"
13878
13900
  })), /*#__PURE__*/React__default["default"].createElement("p", {
13879
13901
  className: "".concat(formstyles.checkbox_label, " + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '")
13880
- }, langdetect == 'en' ? 'Paypal' : ' Paypal'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.acceptBankInstallementsCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
13902
+ }, langdetect == 'en' ? 'Paypal' : ' Paypal'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.acceptBankInstallementsCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
13881
13903
  className: "col-xl-4 col-lg-4 col-md-12 mb-3"
13882
13904
  }, /*#__PURE__*/React__default["default"].createElement("label", {
13883
13905
  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 '
@@ -13899,7 +13921,7 @@ var Checkout = function Checkout(props) {
13899
13921
  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"
13900
13922
  })), /*#__PURE__*/React__default["default"].createElement("p", {
13901
13923
  className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
13902
- }, langdetect == 'en' ? 'Bank Installments' : ' التقسيط عن طريق البنك'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.acceptAmanCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
13924
+ }, langdetect == 'en' ? 'Bank Installments' : ' التقسيط عن طريق البنك'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.acceptAmanCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
13903
13925
  className: "col-xl-4 col-lg-4 col-md-12 mb-3"
13904
13926
  }, /*#__PURE__*/React__default["default"].createElement("label", {
13905
13927
  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 '
@@ -13921,7 +13943,7 @@ var Checkout = function Checkout(props) {
13921
13943
  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"
13922
13944
  })), /*#__PURE__*/React__default["default"].createElement("p", {
13923
13945
  className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
13924
- }, langdetect == 'en' ? 'Aman' : 'Aman'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.acceptTamara) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
13946
+ }, langdetect == 'en' ? 'Aman' : 'Aman'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.acceptTamara) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
13925
13947
  className: "col-xl-4 col-lg-4 col-md-12 mb-3"
13926
13948
  }, /*#__PURE__*/React__default["default"].createElement("label", {
13927
13949
  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 '
@@ -13943,7 +13965,7 @@ var Checkout = function Checkout(props) {
13943
13965
  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"
13944
13966
  })), /*#__PURE__*/React__default["default"].createElement("p", {
13945
13967
  className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
13946
- }, langdetect == 'en' ? 'Tamara' : ' تمارا'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.acceptTabby) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
13968
+ }, langdetect == 'en' ? 'Tamara' : ' تمارا'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.acceptTabby) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
13947
13969
  className: "col-xl-4 col-lg-4 col-md-12 mb-3"
13948
13970
  }, /*#__PURE__*/React__default["default"].createElement("label", {
13949
13971
  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 '
@@ -17958,18 +17980,27 @@ var OrderSuccess = function OrderSuccess(props) {
17958
17980
  whatsappbtntext: glamor.css({
17959
17981
  color: sectionproperties.youtubebtnTextcolor
17960
17982
  }),
17961
- whatsappbtn: glamor.css(_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"]({
17962
- width: '200px',
17963
- height: 40,
17964
- borderRadius: 10,
17965
- color: 'white',
17966
- background: '#22cd5b'
17967
- }, "width", sectionproperties.youtubebtnWidth + 'px'), "height", sectionproperties.youtubebtnHeight + 'px'), "backgroundColor", sectionproperties.youtubebtnbgColor), "color", sectionproperties.youtubebtnTextcolor), "borderRadius", sectionproperties.youtubebtn_borderRadius + 'px'), "border", sectionproperties.youtubebtnborderwidth + 'px solid ' + sectionproperties.youtubebtnbordercolor), ':hover', {
17968
- backgroundColor: sectionproperties.floatingwhatappiconbgcoloronhover,
17969
- borderColor: sectionproperties.youtubebtnTextcoloronhover
17970
- }), ':hover .whatsappbtntext', {
17971
- color: sectionproperties.youtubebtnTextcoloronhover
17972
- }))
17983
+ whatsappbtn: glamor.css({
17984
+ // width: sectionproperties.youtubebtnWidth + 'px',
17985
+ // height: 40,
17986
+ // borderRadius: 10,
17987
+ // color: 'white',
17988
+ // background: '#22cd5b',
17989
+ width: sectionproperties.youtubebtnWidth + 'px',
17990
+ height: sectionproperties.youtubebtnHeight + 'px',
17991
+ backgroundColor: sectionproperties.youtubebtnbgColor,
17992
+ color: sectionproperties.youtubebtnTextcolor,
17993
+ borderRadius: sectionproperties.youtubebtn_borderRadius + 'px',
17994
+ border: sectionproperties.youtubebtnborderwidth + 'px solid ' + sectionproperties.youtubebtnbordercolor,
17995
+ transition: '.3s',
17996
+ ':hover': {
17997
+ backgroundColor: sectionproperties.floatingwhatappiconbgcoloronhover,
17998
+ borderColor: sectionproperties.youtubebtnTextcoloronhover
17999
+ },
18000
+ ':hover .whatsappbtntext': {
18001
+ color: sectionproperties.youtubebtnTextcoloronhover
18002
+ }
18003
+ })
17973
18004
  };
17974
18005
  "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));
17975
18006
  "https://wa.me/".concat(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.whatsappnumber, "?text=").concat('My reservation number is ' + (lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat2 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat2 === void 0 || (_lastOrderinfoObj$dat2 = _lastOrderinfoObj$dat2.orderinfo) === null || _lastOrderinfoObj$dat2 === void 0 ? void 0 : _lastOrderinfoObj$dat2.orderid));
@@ -18041,7 +18072,8 @@ var OrderSuccess = function OrderSuccess(props) {
18041
18072
  "class": ordersuccessstyle.whatsappbtntext + ' whatsappbtntext allcentered cursor-pointer '
18042
18073
  }, /*#__PURE__*/React__default["default"].createElement("span", {
18043
18074
  style: {
18044
- fontSize: sectionproperties.youtubebtniconfontsize + 'px'
18075
+ fontSize: sectionproperties.youtubebtniconfontsize + 'px',
18076
+ textAlign: 'center'
18045
18077
  }
18046
18078
  }, langdetect == 'en' ? sectionproperties.whatsappbtncontenten : sectionproperties.whatsappbtncontentar)))), /*#__PURE__*/React__default["default"].createElement("div", {
18047
18079
  "class": "col-lg-12 p-0 mt-4",
@@ -18248,7 +18280,8 @@ var OrderSuccess = function OrderSuccess(props) {
18248
18280
  "class": ordersuccessstyle.whatsappbtntext + ' whatsappbtntext allcentered cursor-pointer '
18249
18281
  }, /*#__PURE__*/React__default["default"].createElement("span", {
18250
18282
  style: {
18251
- fontSize: sectionproperties.youtubebtniconfontsize + 'px'
18283
+ fontSize: sectionproperties.youtubebtniconfontsize + 'px',
18284
+ textAlign: 'center'
18252
18285
  }
18253
18286
  }, langdetect == 'en' ? sectionproperties.whatsappbtncontenten : sectionproperties.whatsappbtncontentar))))), sectionproperties.cardstyletype != 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
18254
18287
  className: "col-lg-12 allcentered flex-column "
@@ -59189,16 +59222,7 @@ var Newsletterfooter = function Newsletterfooter(props) {
59189
59222
  "class": "col-lg-12 p-0 text-start mb-2"
59190
59223
  }, /*#__PURE__*/React__default["default"].createElement("p", {
59191
59224
  "class": "".concat(footerStyles.textStyles) + ' m-0 '
59192
- }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i70 = authdetailsContext.instinfo) === null || _authdetailsContext$i70 === void 0 ? void 0 : _authdetailsContext$i70.description_en : authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i71 = authdetailsContext.instinfo) === null || _authdetailsContext$i71 === void 0 ? void 0 : _authdetailsContext$i71.description_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
59193
- "class": "col-lg-12 p-0 text-start mt-4 mb-2"
59194
- }, /*#__PURE__*/React__default["default"].createElement("p", {
59195
- "class": "".concat(footerStyles.sectionTitle),
59196
- style: {}
59197
- }, langdetect == 'en' ? 'Customer Service & Working Hours' : 'الدعم الفني و ساعات العمل')), /*#__PURE__*/React__default["default"].createElement("div", {
59198
- "class": "col-lg-12 p-0 text-start"
59199
- }, /*#__PURE__*/React__default["default"].createElement("p", {
59200
- "class": "".concat(footerStyles.textStyles) + ' '
59201
- }, "\u0645\u0646 \u0627\u0644\u0633\u0628\u062A \u0627\u0644\u0649 \u0627\u0644\u062E\u0645\u064A\u0633 9 \u0635\u0628\u0627\u062D\u0627- 7\u0645\u0633\u0627\u0621")))), /*#__PURE__*/React__default["default"].createElement("div", {
59225
+ }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i70 = authdetailsContext.instinfo) === null || _authdetailsContext$i70 === void 0 ? void 0 : _authdetailsContext$i70.description_en : authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i71 = authdetailsContext.instinfo) === null || _authdetailsContext$i71 === void 0 ? void 0 : _authdetailsContext$i71.description_ar)))), /*#__PURE__*/React__default["default"].createElement("div", {
59202
59226
  "class": ' col-lg-3 col-md-12 text-start flex-column mb-md-3 '
59203
59227
  }, /*#__PURE__*/React__default["default"].createElement("div", {
59204
59228
  "class": "row m-0 w-100"
package/dist/index.esm.js CHANGED
@@ -12047,7 +12047,7 @@ styleInject(css_248z$G);
12047
12047
  function ownKeys$2w(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; }
12048
12048
  function _objectSpread$2w(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2w(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2w(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
12049
12049
  var Checkout = function Checkout(props) {
12050
- var _fetchTabexCountriesQ2, _css, _authdetailsContext$i0, _authdetailsContext$i1, _fetchcustomercartQue67, _authdetailsContext$i10, _fetchcustomercartQue68, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _fetchcustomercartQue69, _authdetailsContext$i16, _fetchcustomercartQue75, _fetchcustomercartQue76, _fetchcustomercartQue77, _fetchcustomercartQue78, _fetchcustomercartQue79, _fetchcustomercartQue81, _fetchcustomercartQue83, _fetchcustomercartQue85, _fetchcustomercartQue87, _fetchcustomercartQue89, _authdetailsContext$i19, _fetchcustomercartQue91, _authdetailsContext$i20, _fetchcustomercartQue93, _authdetailsContext$i21, _fetchcustomercartQue95, _authdetailsContext$i22, _fetchcustomercartQue97, _authdetailsContext$i23, _fetchcustomercartQue99, _authdetailsContext$i24, _fetchcustomercartQue101, _authdetailsContext$i25, _fetchcustomercartQue103, _fetchcustomercartQue105, _fetchcustomercartQue106;
12050
+ var _fetchTabexCountriesQ2, _css, _authdetailsContext$i0, _authdetailsContext$i1, _fetchcustomercartQue67, _authdetailsContext$i10, _fetchcustomercartQue68, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _fetchcustomercartQue69, _authdetailsContext$i16, _fetchcustomercartQue75, _fetchcustomercartQue76, _fetchcustomercartQue77, _fetchcustomercartQue78, _fetchcustomercartQue79, _fetchcustomercartQue81, _fetchcustomercartQue83, _fetchcustomercartQue85, _fetchcustomercartQue87, _fetchcustomercartQue89, _authdetailsContext$i21, _fetchcustomercartQue91, _authdetailsContext$i22, _fetchcustomercartQue93, _authdetailsContext$i23, _fetchcustomercartQue95, _authdetailsContext$i24, _fetchcustomercartQue97, _authdetailsContext$i25, _fetchcustomercartQue99, _authdetailsContext$i26, _fetchcustomercartQue101, _authdetailsContext$i27, _fetchcustomercartQue103, _fetchcustomercartQue105, _fetchcustomercartQue106;
12051
12051
  var _useState = useState(null),
12052
12052
  _useState2 = _slicedToArray(_useState, 2);
12053
12053
  _useState2[0];
@@ -13505,7 +13505,7 @@ var Checkout = function Checkout(props) {
13505
13505
 
13506
13506
  var currentDate = year + '-' + month + '-' + day;
13507
13507
  if (item.type == 'date') {
13508
- var _authdetailsContext$i17, _authdetailsContext$i18;
13508
+ var _authdetailsContext$i19, _authdetailsContext$i20;
13509
13509
  return /*#__PURE__*/React.createElement("div", {
13510
13510
  className: "col-lg-6 col-md-12 mb-3"
13511
13511
  }, /*#__PURE__*/React.createElement("label", {
@@ -13513,17 +13513,39 @@ var Checkout = function Checkout(props) {
13513
13513
  }, langdetect == 'en' ? item.title_en : item.title_ar), /*#__PURE__*/React.createElement("input", {
13514
13514
  type: 'date',
13515
13515
  className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
13516
- value: item.value,
13516
+ value: item.value
13517
+ // onChange={(event) => {
13518
+ // var temporderextrafeilds = [...orderextrafeilds];
13519
+ // temporderextrafeilds[index].value = event.target.value;
13520
+ // setorderextrafeilds([...temporderextrafeilds]);
13521
+ // }}
13522
+ ,
13517
13523
  onChange: function onChange(event) {
13518
- var temporderextrafeilds = _toConsumableArray(orderextrafeilds);
13519
- temporderextrafeilds[index].value = event.target.value;
13520
- setorderextrafeilds(_toConsumableArray(temporderextrafeilds));
13524
+ var _authdetailsContext$i17;
13525
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 || (_authdetailsContext$i17 = _authdetailsContext$i17.contactinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.instid) == '66b4a0338cb14') {
13526
+ var selectedDate = event.target.value;
13527
+ if (selectedDate != undefined && selectedDate != null && selectedDate != '' && selectedDate.length != 0) {
13528
+ var _authdetailsContext$i18;
13529
+ var minDate = (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 || (_authdetailsContext$i18 = _authdetailsContext$i18.contactinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.instid) === '66b4a0338cb14' ? new Date(Date.now() + 11 * 24 * 60 * 60 * 1000).toISOString().split('T')[0] : null;
13530
+ if (minDate && selectedDate < minDate) {
13531
+ alert("Please select a date on or after ".concat(minDate));
13532
+ return;
13533
+ }
13534
+ var temporderextrafeilds = _toConsumableArray(orderextrafeilds);
13535
+ temporderextrafeilds[index].value = selectedDate;
13536
+ setorderextrafeilds(_toConsumableArray(temporderextrafeilds));
13537
+ }
13538
+ } else {
13539
+ var temporderextrafeilds = _toConsumableArray(orderextrafeilds);
13540
+ temporderextrafeilds[index].value = event.target.value;
13541
+ setorderextrafeilds(_toConsumableArray(temporderextrafeilds));
13542
+ }
13521
13543
  },
13522
13544
  style: {
13523
13545
  boxShadow: 'none'
13524
13546
  },
13525
- min: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.contactinfo.instid) == '66b4a0338cb14' ? new Date(Date.now() + 11 * 24 * 60 * 60 * 1000) // allow starting 11 days after today
13526
- .toISOString().split('T')[0] : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.contactinfo.instid) == '6908bb20bbca3' ? currentDate : null
13547
+ min: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '66b4a0338cb14' ? new Date(Date.now() + 11 * 24 * 60 * 60 * 1000) // allow starting 11 days after today
13548
+ .toISOString().split('T')[0] : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) == '6908bb20bbca3' ? currentDate : null
13527
13549
  }));
13528
13550
  }
13529
13551
  if (item.type == 'time') {
@@ -13760,7 +13782,7 @@ var Checkout = function Checkout(props) {
13760
13782
  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"
13761
13783
  })), /*#__PURE__*/React.createElement("p", {
13762
13784
  className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
13763
- }, langdetect == 'en' ? sectionproperties.walletnameen : sectionproperties.walletnamear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.acceptForsaCard) == 1 && /*#__PURE__*/React.createElement("div", {
13785
+ }, langdetect == 'en' ? sectionproperties.walletnameen : sectionproperties.walletnamear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.acceptForsaCard) == 1 && /*#__PURE__*/React.createElement("div", {
13764
13786
  className: "col-xl-4 col-lg-4 col-md-12 mb-3"
13765
13787
  }, /*#__PURE__*/React.createElement("label", {
13766
13788
  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 '
@@ -13782,7 +13804,7 @@ var Checkout = function Checkout(props) {
13782
13804
  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"
13783
13805
  })), /*#__PURE__*/React.createElement("p", {
13784
13806
  className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
13785
- }, langdetect == 'en' ? 'Forsa' : ' Forsa'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.acceptSouhoolaCard) == 1 && /*#__PURE__*/React.createElement("div", {
13807
+ }, langdetect == 'en' ? 'Forsa' : ' Forsa'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.acceptSouhoolaCard) == 1 && /*#__PURE__*/React.createElement("div", {
13786
13808
  className: "col-xl-4 col-lg-4 col-md-12 mb-3"
13787
13809
  }, /*#__PURE__*/React.createElement("label", {
13788
13810
  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 '
@@ -13804,7 +13826,7 @@ var Checkout = function Checkout(props) {
13804
13826
  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"
13805
13827
  })), /*#__PURE__*/React.createElement("p", {
13806
13828
  className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
13807
- }, langdetect == 'en' ? 'Souhoola' : ' Souhoola'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.acceptonlinePaypal) == 1 && /*#__PURE__*/React.createElement("div", {
13829
+ }, langdetect == 'en' ? 'Souhoola' : ' Souhoola'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.acceptonlinePaypal) == 1 && /*#__PURE__*/React.createElement("div", {
13808
13830
  className: "col-xl-4 col-lg-4 col-md-12 mb-3"
13809
13831
  }, /*#__PURE__*/React.createElement("label", {
13810
13832
  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 '
@@ -13826,7 +13848,7 @@ var Checkout = function Checkout(props) {
13826
13848
  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"
13827
13849
  })), /*#__PURE__*/React.createElement("p", {
13828
13850
  className: "".concat(formstyles.checkbox_label, " + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '")
13829
- }, langdetect == 'en' ? 'Paypal' : ' Paypal'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.acceptBankInstallementsCard) == 1 && /*#__PURE__*/React.createElement("div", {
13851
+ }, langdetect == 'en' ? 'Paypal' : ' Paypal'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.acceptBankInstallementsCard) == 1 && /*#__PURE__*/React.createElement("div", {
13830
13852
  className: "col-xl-4 col-lg-4 col-md-12 mb-3"
13831
13853
  }, /*#__PURE__*/React.createElement("label", {
13832
13854
  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 '
@@ -13848,7 +13870,7 @@ var Checkout = function Checkout(props) {
13848
13870
  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"
13849
13871
  })), /*#__PURE__*/React.createElement("p", {
13850
13872
  className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
13851
- }, langdetect == 'en' ? 'Bank Installments' : ' التقسيط عن طريق البنك'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.acceptAmanCard) == 1 && /*#__PURE__*/React.createElement("div", {
13873
+ }, langdetect == 'en' ? 'Bank Installments' : ' التقسيط عن طريق البنك'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.acceptAmanCard) == 1 && /*#__PURE__*/React.createElement("div", {
13852
13874
  className: "col-xl-4 col-lg-4 col-md-12 mb-3"
13853
13875
  }, /*#__PURE__*/React.createElement("label", {
13854
13876
  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 '
@@ -13870,7 +13892,7 @@ var Checkout = function Checkout(props) {
13870
13892
  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"
13871
13893
  })), /*#__PURE__*/React.createElement("p", {
13872
13894
  className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
13873
- }, langdetect == 'en' ? 'Aman' : 'Aman'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.acceptTamara) == 1 && /*#__PURE__*/React.createElement("div", {
13895
+ }, langdetect == 'en' ? 'Aman' : 'Aman'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.acceptTamara) == 1 && /*#__PURE__*/React.createElement("div", {
13874
13896
  className: "col-xl-4 col-lg-4 col-md-12 mb-3"
13875
13897
  }, /*#__PURE__*/React.createElement("label", {
13876
13898
  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 '
@@ -13892,7 +13914,7 @@ var Checkout = function Checkout(props) {
13892
13914
  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"
13893
13915
  })), /*#__PURE__*/React.createElement("p", {
13894
13916
  className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
13895
- }, langdetect == 'en' ? 'Tamara' : ' تمارا'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.acceptTabby) == 1 && /*#__PURE__*/React.createElement("div", {
13917
+ }, langdetect == 'en' ? 'Tamara' : ' تمارا'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.acceptTabby) == 1 && /*#__PURE__*/React.createElement("div", {
13896
13918
  className: "col-xl-4 col-lg-4 col-md-12 mb-3"
13897
13919
  }, /*#__PURE__*/React.createElement("label", {
13898
13920
  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 '
@@ -17907,18 +17929,27 @@ var OrderSuccess = function OrderSuccess(props) {
17907
17929
  whatsappbtntext: css({
17908
17930
  color: sectionproperties.youtubebtnTextcolor
17909
17931
  }),
17910
- whatsappbtn: css(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({
17911
- width: '200px',
17912
- height: 40,
17913
- borderRadius: 10,
17914
- color: 'white',
17915
- background: '#22cd5b'
17916
- }, "width", sectionproperties.youtubebtnWidth + 'px'), "height", sectionproperties.youtubebtnHeight + 'px'), "backgroundColor", sectionproperties.youtubebtnbgColor), "color", sectionproperties.youtubebtnTextcolor), "borderRadius", sectionproperties.youtubebtn_borderRadius + 'px'), "border", sectionproperties.youtubebtnborderwidth + 'px solid ' + sectionproperties.youtubebtnbordercolor), ':hover', {
17917
- backgroundColor: sectionproperties.floatingwhatappiconbgcoloronhover,
17918
- borderColor: sectionproperties.youtubebtnTextcoloronhover
17919
- }), ':hover .whatsappbtntext', {
17920
- color: sectionproperties.youtubebtnTextcoloronhover
17921
- }))
17932
+ whatsappbtn: css({
17933
+ // width: sectionproperties.youtubebtnWidth + 'px',
17934
+ // height: 40,
17935
+ // borderRadius: 10,
17936
+ // color: 'white',
17937
+ // background: '#22cd5b',
17938
+ width: sectionproperties.youtubebtnWidth + 'px',
17939
+ height: sectionproperties.youtubebtnHeight + 'px',
17940
+ backgroundColor: sectionproperties.youtubebtnbgColor,
17941
+ color: sectionproperties.youtubebtnTextcolor,
17942
+ borderRadius: sectionproperties.youtubebtn_borderRadius + 'px',
17943
+ border: sectionproperties.youtubebtnborderwidth + 'px solid ' + sectionproperties.youtubebtnbordercolor,
17944
+ transition: '.3s',
17945
+ ':hover': {
17946
+ backgroundColor: sectionproperties.floatingwhatappiconbgcoloronhover,
17947
+ borderColor: sectionproperties.youtubebtnTextcoloronhover
17948
+ },
17949
+ ':hover .whatsappbtntext': {
17950
+ color: sectionproperties.youtubebtnTextcoloronhover
17951
+ }
17952
+ })
17922
17953
  };
17923
17954
  "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));
17924
17955
  "https://wa.me/".concat(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.whatsappnumber, "?text=").concat('My reservation number is ' + (lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat2 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat2 === void 0 || (_lastOrderinfoObj$dat2 = _lastOrderinfoObj$dat2.orderinfo) === null || _lastOrderinfoObj$dat2 === void 0 ? void 0 : _lastOrderinfoObj$dat2.orderid));
@@ -17990,7 +18021,8 @@ var OrderSuccess = function OrderSuccess(props) {
17990
18021
  "class": ordersuccessstyle.whatsappbtntext + ' whatsappbtntext allcentered cursor-pointer '
17991
18022
  }, /*#__PURE__*/React.createElement("span", {
17992
18023
  style: {
17993
- fontSize: sectionproperties.youtubebtniconfontsize + 'px'
18024
+ fontSize: sectionproperties.youtubebtniconfontsize + 'px',
18025
+ textAlign: 'center'
17994
18026
  }
17995
18027
  }, langdetect == 'en' ? sectionproperties.whatsappbtncontenten : sectionproperties.whatsappbtncontentar)))), /*#__PURE__*/React.createElement("div", {
17996
18028
  "class": "col-lg-12 p-0 mt-4",
@@ -18197,7 +18229,8 @@ var OrderSuccess = function OrderSuccess(props) {
18197
18229
  "class": ordersuccessstyle.whatsappbtntext + ' whatsappbtntext allcentered cursor-pointer '
18198
18230
  }, /*#__PURE__*/React.createElement("span", {
18199
18231
  style: {
18200
- fontSize: sectionproperties.youtubebtniconfontsize + 'px'
18232
+ fontSize: sectionproperties.youtubebtniconfontsize + 'px',
18233
+ textAlign: 'center'
18201
18234
  }
18202
18235
  }, langdetect == 'en' ? sectionproperties.whatsappbtncontenten : sectionproperties.whatsappbtncontentar))))), sectionproperties.cardstyletype != 'Style 2' && /*#__PURE__*/React.createElement("div", {
18203
18236
  className: "col-lg-12 allcentered flex-column "
@@ -59138,16 +59171,7 @@ var Newsletterfooter = function Newsletterfooter(props) {
59138
59171
  "class": "col-lg-12 p-0 text-start mb-2"
59139
59172
  }, /*#__PURE__*/React.createElement("p", {
59140
59173
  "class": "".concat(footerStyles.textStyles) + ' m-0 '
59141
- }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i70 = authdetailsContext.instinfo) === null || _authdetailsContext$i70 === void 0 ? void 0 : _authdetailsContext$i70.description_en : authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i71 = authdetailsContext.instinfo) === null || _authdetailsContext$i71 === void 0 ? void 0 : _authdetailsContext$i71.description_ar)), /*#__PURE__*/React.createElement("div", {
59142
- "class": "col-lg-12 p-0 text-start mt-4 mb-2"
59143
- }, /*#__PURE__*/React.createElement("p", {
59144
- "class": "".concat(footerStyles.sectionTitle),
59145
- style: {}
59146
- }, langdetect == 'en' ? 'Customer Service & Working Hours' : 'الدعم الفني و ساعات العمل')), /*#__PURE__*/React.createElement("div", {
59147
- "class": "col-lg-12 p-0 text-start"
59148
- }, /*#__PURE__*/React.createElement("p", {
59149
- "class": "".concat(footerStyles.textStyles) + ' '
59150
- }, "\u0645\u0646 \u0627\u0644\u0633\u0628\u062A \u0627\u0644\u0649 \u0627\u0644\u062E\u0645\u064A\u0633 9 \u0635\u0628\u0627\u062D\u0627- 7\u0645\u0633\u0627\u0621")))), /*#__PURE__*/React.createElement("div", {
59174
+ }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i70 = authdetailsContext.instinfo) === null || _authdetailsContext$i70 === void 0 ? void 0 : _authdetailsContext$i70.description_en : authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i71 = authdetailsContext.instinfo) === null || _authdetailsContext$i71 === void 0 ? void 0 : _authdetailsContext$i71.description_ar)))), /*#__PURE__*/React.createElement("div", {
59151
59175
  "class": ' col-lg-3 col-md-12 text-start flex-column mb-md-3 '
59152
59176
  }, /*#__PURE__*/React.createElement("div", {
59153
59177
  "class": "row m-0 w-100"
package/dist/index.umd.js CHANGED
@@ -11907,7 +11907,7 @@
11907
11907
  function ownKeys$2w(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; }
11908
11908
  function _objectSpread$2w(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2w(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2w(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
11909
11909
  var Checkout = function Checkout(props) {
11910
- var _fetchTabexCountriesQ2, _css, _authdetailsContext$i0, _authdetailsContext$i1, _fetchcustomercartQue67, _authdetailsContext$i10, _fetchcustomercartQue68, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _fetchcustomercartQue69, _authdetailsContext$i16, _fetchcustomercartQue75, _fetchcustomercartQue76, _fetchcustomercartQue77, _fetchcustomercartQue78, _fetchcustomercartQue79, _fetchcustomercartQue81, _fetchcustomercartQue83, _fetchcustomercartQue85, _fetchcustomercartQue87, _fetchcustomercartQue89, _authdetailsContext$i19, _fetchcustomercartQue91, _authdetailsContext$i20, _fetchcustomercartQue93, _authdetailsContext$i21, _fetchcustomercartQue95, _authdetailsContext$i22, _fetchcustomercartQue97, _authdetailsContext$i23, _fetchcustomercartQue99, _authdetailsContext$i24, _fetchcustomercartQue101, _authdetailsContext$i25, _fetchcustomercartQue103, _fetchcustomercartQue105, _fetchcustomercartQue106;
11910
+ var _fetchTabexCountriesQ2, _css, _authdetailsContext$i0, _authdetailsContext$i1, _fetchcustomercartQue67, _authdetailsContext$i10, _fetchcustomercartQue68, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _fetchcustomercartQue69, _authdetailsContext$i16, _fetchcustomercartQue75, _fetchcustomercartQue76, _fetchcustomercartQue77, _fetchcustomercartQue78, _fetchcustomercartQue79, _fetchcustomercartQue81, _fetchcustomercartQue83, _fetchcustomercartQue85, _fetchcustomercartQue87, _fetchcustomercartQue89, _authdetailsContext$i21, _fetchcustomercartQue91, _authdetailsContext$i22, _fetchcustomercartQue93, _authdetailsContext$i23, _fetchcustomercartQue95, _authdetailsContext$i24, _fetchcustomercartQue97, _authdetailsContext$i25, _fetchcustomercartQue99, _authdetailsContext$i26, _fetchcustomercartQue101, _authdetailsContext$i27, _fetchcustomercartQue103, _fetchcustomercartQue105, _fetchcustomercartQue106;
11911
11911
  var _useState = React.useState(null),
11912
11912
  _useState2 = _slicedToArray__default["default"](_useState, 2);
11913
11913
  _useState2[0];
@@ -13365,7 +13365,7 @@
13365
13365
 
13366
13366
  var currentDate = year + '-' + month + '-' + day;
13367
13367
  if (item.type == 'date') {
13368
- var _authdetailsContext$i17, _authdetailsContext$i18;
13368
+ var _authdetailsContext$i19, _authdetailsContext$i20;
13369
13369
  return /*#__PURE__*/React__default["default"].createElement("div", {
13370
13370
  className: "col-lg-6 col-md-12 mb-3"
13371
13371
  }, /*#__PURE__*/React__default["default"].createElement("label", {
@@ -13373,17 +13373,39 @@
13373
13373
  }, langdetect == 'en' ? item.title_en : item.title_ar), /*#__PURE__*/React__default["default"].createElement("input", {
13374
13374
  type: 'date',
13375
13375
  className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
13376
- value: item.value,
13376
+ value: item.value
13377
+ // onChange={(event) => {
13378
+ // var temporderextrafeilds = [...orderextrafeilds];
13379
+ // temporderextrafeilds[index].value = event.target.value;
13380
+ // setorderextrafeilds([...temporderextrafeilds]);
13381
+ // }}
13382
+ ,
13377
13383
  onChange: function onChange(event) {
13378
- var temporderextrafeilds = _toConsumableArray__default["default"](orderextrafeilds);
13379
- temporderextrafeilds[index].value = event.target.value;
13380
- setorderextrafeilds(_toConsumableArray__default["default"](temporderextrafeilds));
13384
+ var _authdetailsContext$i17;
13385
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 || (_authdetailsContext$i17 = _authdetailsContext$i17.contactinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.instid) == '66b4a0338cb14') {
13386
+ var selectedDate = event.target.value;
13387
+ if (selectedDate != undefined && selectedDate != null && selectedDate != '' && selectedDate.length != 0) {
13388
+ var _authdetailsContext$i18;
13389
+ var minDate = (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 || (_authdetailsContext$i18 = _authdetailsContext$i18.contactinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.instid) === '66b4a0338cb14' ? new Date(Date.now() + 11 * 24 * 60 * 60 * 1000).toISOString().split('T')[0] : null;
13390
+ if (minDate && selectedDate < minDate) {
13391
+ alert("Please select a date on or after ".concat(minDate));
13392
+ return;
13393
+ }
13394
+ var temporderextrafeilds = _toConsumableArray__default["default"](orderextrafeilds);
13395
+ temporderextrafeilds[index].value = selectedDate;
13396
+ setorderextrafeilds(_toConsumableArray__default["default"](temporderextrafeilds));
13397
+ }
13398
+ } else {
13399
+ var temporderextrafeilds = _toConsumableArray__default["default"](orderextrafeilds);
13400
+ temporderextrafeilds[index].value = event.target.value;
13401
+ setorderextrafeilds(_toConsumableArray__default["default"](temporderextrafeilds));
13402
+ }
13381
13403
  },
13382
13404
  style: {
13383
13405
  boxShadow: 'none'
13384
13406
  },
13385
- min: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.contactinfo.instid) == '66b4a0338cb14' ? new Date(Date.now() + 11 * 24 * 60 * 60 * 1000) // allow starting 11 days after today
13386
- .toISOString().split('T')[0] : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.contactinfo.instid) == '6908bb20bbca3' ? currentDate : null
13407
+ min: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '66b4a0338cb14' ? new Date(Date.now() + 11 * 24 * 60 * 60 * 1000) // allow starting 11 days after today
13408
+ .toISOString().split('T')[0] : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) == '6908bb20bbca3' ? currentDate : null
13387
13409
  }));
13388
13410
  }
13389
13411
  if (item.type == 'time') {
@@ -13620,7 +13642,7 @@
13620
13642
  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"
13621
13643
  })), /*#__PURE__*/React__default["default"].createElement("p", {
13622
13644
  className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
13623
- }, langdetect == 'en' ? sectionproperties.walletnameen : sectionproperties.walletnamear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.acceptForsaCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
13645
+ }, langdetect == 'en' ? sectionproperties.walletnameen : sectionproperties.walletnamear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.acceptForsaCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
13624
13646
  className: "col-xl-4 col-lg-4 col-md-12 mb-3"
13625
13647
  }, /*#__PURE__*/React__default["default"].createElement("label", {
13626
13648
  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 '
@@ -13642,7 +13664,7 @@
13642
13664
  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"
13643
13665
  })), /*#__PURE__*/React__default["default"].createElement("p", {
13644
13666
  className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
13645
- }, langdetect == 'en' ? 'Forsa' : ' Forsa'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.acceptSouhoolaCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
13667
+ }, langdetect == 'en' ? 'Forsa' : ' Forsa'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.acceptSouhoolaCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
13646
13668
  className: "col-xl-4 col-lg-4 col-md-12 mb-3"
13647
13669
  }, /*#__PURE__*/React__default["default"].createElement("label", {
13648
13670
  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 '
@@ -13664,7 +13686,7 @@
13664
13686
  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"
13665
13687
  })), /*#__PURE__*/React__default["default"].createElement("p", {
13666
13688
  className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
13667
- }, langdetect == 'en' ? 'Souhoola' : ' Souhoola'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.acceptonlinePaypal) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
13689
+ }, langdetect == 'en' ? 'Souhoola' : ' Souhoola'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.acceptonlinePaypal) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
13668
13690
  className: "col-xl-4 col-lg-4 col-md-12 mb-3"
13669
13691
  }, /*#__PURE__*/React__default["default"].createElement("label", {
13670
13692
  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 '
@@ -13686,7 +13708,7 @@
13686
13708
  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"
13687
13709
  })), /*#__PURE__*/React__default["default"].createElement("p", {
13688
13710
  className: "".concat(formstyles.checkbox_label, " + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '")
13689
- }, langdetect == 'en' ? 'Paypal' : ' Paypal'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.acceptBankInstallementsCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
13711
+ }, langdetect == 'en' ? 'Paypal' : ' Paypal'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.acceptBankInstallementsCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
13690
13712
  className: "col-xl-4 col-lg-4 col-md-12 mb-3"
13691
13713
  }, /*#__PURE__*/React__default["default"].createElement("label", {
13692
13714
  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 '
@@ -13708,7 +13730,7 @@
13708
13730
  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"
13709
13731
  })), /*#__PURE__*/React__default["default"].createElement("p", {
13710
13732
  className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
13711
- }, langdetect == 'en' ? 'Bank Installments' : ' التقسيط عن طريق البنك'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.acceptAmanCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
13733
+ }, langdetect == 'en' ? 'Bank Installments' : ' التقسيط عن طريق البنك'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.acceptAmanCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
13712
13734
  className: "col-xl-4 col-lg-4 col-md-12 mb-3"
13713
13735
  }, /*#__PURE__*/React__default["default"].createElement("label", {
13714
13736
  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 '
@@ -13730,7 +13752,7 @@
13730
13752
  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"
13731
13753
  })), /*#__PURE__*/React__default["default"].createElement("p", {
13732
13754
  className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
13733
- }, langdetect == 'en' ? 'Aman' : 'Aman'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.acceptTamara) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
13755
+ }, langdetect == 'en' ? 'Aman' : 'Aman'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.acceptTamara) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
13734
13756
  className: "col-xl-4 col-lg-4 col-md-12 mb-3"
13735
13757
  }, /*#__PURE__*/React__default["default"].createElement("label", {
13736
13758
  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 '
@@ -13752,7 +13774,7 @@
13752
13774
  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"
13753
13775
  })), /*#__PURE__*/React__default["default"].createElement("p", {
13754
13776
  className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
13755
- }, langdetect == 'en' ? 'Tamara' : ' تمارا'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.acceptTabby) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
13777
+ }, langdetect == 'en' ? 'Tamara' : ' تمارا'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.acceptTabby) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
13756
13778
  className: "col-xl-4 col-lg-4 col-md-12 mb-3"
13757
13779
  }, /*#__PURE__*/React__default["default"].createElement("label", {
13758
13780
  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 '
@@ -17767,18 +17789,27 @@
17767
17789
  whatsappbtntext: glamor.css({
17768
17790
  color: sectionproperties.youtubebtnTextcolor
17769
17791
  }),
17770
- whatsappbtn: glamor.css(_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"]({
17771
- width: '200px',
17772
- height: 40,
17773
- borderRadius: 10,
17774
- color: 'white',
17775
- background: '#22cd5b'
17776
- }, "width", sectionproperties.youtubebtnWidth + 'px'), "height", sectionproperties.youtubebtnHeight + 'px'), "backgroundColor", sectionproperties.youtubebtnbgColor), "color", sectionproperties.youtubebtnTextcolor), "borderRadius", sectionproperties.youtubebtn_borderRadius + 'px'), "border", sectionproperties.youtubebtnborderwidth + 'px solid ' + sectionproperties.youtubebtnbordercolor), ':hover', {
17777
- backgroundColor: sectionproperties.floatingwhatappiconbgcoloronhover,
17778
- borderColor: sectionproperties.youtubebtnTextcoloronhover
17779
- }), ':hover .whatsappbtntext', {
17780
- color: sectionproperties.youtubebtnTextcoloronhover
17781
- }))
17792
+ whatsappbtn: glamor.css({
17793
+ // width: sectionproperties.youtubebtnWidth + 'px',
17794
+ // height: 40,
17795
+ // borderRadius: 10,
17796
+ // color: 'white',
17797
+ // background: '#22cd5b',
17798
+ width: sectionproperties.youtubebtnWidth + 'px',
17799
+ height: sectionproperties.youtubebtnHeight + 'px',
17800
+ backgroundColor: sectionproperties.youtubebtnbgColor,
17801
+ color: sectionproperties.youtubebtnTextcolor,
17802
+ borderRadius: sectionproperties.youtubebtn_borderRadius + 'px',
17803
+ border: sectionproperties.youtubebtnborderwidth + 'px solid ' + sectionproperties.youtubebtnbordercolor,
17804
+ transition: '.3s',
17805
+ ':hover': {
17806
+ backgroundColor: sectionproperties.floatingwhatappiconbgcoloronhover,
17807
+ borderColor: sectionproperties.youtubebtnTextcoloronhover
17808
+ },
17809
+ ':hover .whatsappbtntext': {
17810
+ color: sectionproperties.youtubebtnTextcoloronhover
17811
+ }
17812
+ })
17782
17813
  };
17783
17814
  "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));
17784
17815
  "https://wa.me/".concat(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.whatsappnumber, "?text=").concat('My reservation number is ' + (lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat2 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat2 === void 0 || (_lastOrderinfoObj$dat2 = _lastOrderinfoObj$dat2.orderinfo) === null || _lastOrderinfoObj$dat2 === void 0 ? void 0 : _lastOrderinfoObj$dat2.orderid));
@@ -17850,7 +17881,8 @@
17850
17881
  "class": ordersuccessstyle.whatsappbtntext + ' whatsappbtntext allcentered cursor-pointer '
17851
17882
  }, /*#__PURE__*/React__default["default"].createElement("span", {
17852
17883
  style: {
17853
- fontSize: sectionproperties.youtubebtniconfontsize + 'px'
17884
+ fontSize: sectionproperties.youtubebtniconfontsize + 'px',
17885
+ textAlign: 'center'
17854
17886
  }
17855
17887
  }, langdetect == 'en' ? sectionproperties.whatsappbtncontenten : sectionproperties.whatsappbtncontentar)))), /*#__PURE__*/React__default["default"].createElement("div", {
17856
17888
  "class": "col-lg-12 p-0 mt-4",
@@ -18057,7 +18089,8 @@
18057
18089
  "class": ordersuccessstyle.whatsappbtntext + ' whatsappbtntext allcentered cursor-pointer '
18058
18090
  }, /*#__PURE__*/React__default["default"].createElement("span", {
18059
18091
  style: {
18060
- fontSize: sectionproperties.youtubebtniconfontsize + 'px'
18092
+ fontSize: sectionproperties.youtubebtniconfontsize + 'px',
18093
+ textAlign: 'center'
18061
18094
  }
18062
18095
  }, langdetect == 'en' ? sectionproperties.whatsappbtncontenten : sectionproperties.whatsappbtncontentar))))), sectionproperties.cardstyletype != 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
18063
18096
  className: "col-lg-12 allcentered flex-column "
@@ -58998,16 +59031,7 @@
58998
59031
  "class": "col-lg-12 p-0 text-start mb-2"
58999
59032
  }, /*#__PURE__*/React__default["default"].createElement("p", {
59000
59033
  "class": "".concat(footerStyles.textStyles) + ' m-0 '
59001
- }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i70 = authdetailsContext.instinfo) === null || _authdetailsContext$i70 === void 0 ? void 0 : _authdetailsContext$i70.description_en : authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i71 = authdetailsContext.instinfo) === null || _authdetailsContext$i71 === void 0 ? void 0 : _authdetailsContext$i71.description_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
59002
- "class": "col-lg-12 p-0 text-start mt-4 mb-2"
59003
- }, /*#__PURE__*/React__default["default"].createElement("p", {
59004
- "class": "".concat(footerStyles.sectionTitle),
59005
- style: {}
59006
- }, langdetect == 'en' ? 'Customer Service & Working Hours' : 'الدعم الفني و ساعات العمل')), /*#__PURE__*/React__default["default"].createElement("div", {
59007
- "class": "col-lg-12 p-0 text-start"
59008
- }, /*#__PURE__*/React__default["default"].createElement("p", {
59009
- "class": "".concat(footerStyles.textStyles) + ' '
59010
- }, "\u0645\u0646 \u0627\u0644\u0633\u0628\u062A \u0627\u0644\u0649 \u0627\u0644\u062E\u0645\u064A\u0633 9 \u0635\u0628\u0627\u062D\u0627- 7\u0645\u0633\u0627\u0621")))), /*#__PURE__*/React__default["default"].createElement("div", {
59034
+ }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i70 = authdetailsContext.instinfo) === null || _authdetailsContext$i70 === void 0 ? void 0 : _authdetailsContext$i70.description_en : authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i71 = authdetailsContext.instinfo) === null || _authdetailsContext$i71 === void 0 ? void 0 : _authdetailsContext$i71.description_ar)))), /*#__PURE__*/React__default["default"].createElement("div", {
59011
59035
  "class": ' col-lg-3 col-md-12 text-start flex-column mb-md-3 '
59012
59036
  }, /*#__PURE__*/React__default["default"].createElement("div", {
59013
59037
  "class": "row m-0 w-100"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tabexseriescomponents",
3
- "version": "0.2.1130",
3
+ "version": "0.2.1133",
4
4
  "type": "module",
5
5
  "description": "your description",
6
6
  "main": "dist/index.cjs.js",