tabexseriescomponents 0.0.552 → 0.0.554

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
@@ -10544,7 +10544,25 @@ var Checkout = function Checkout(props) {
10544
10544
  width: "20px",
10545
10545
  height: "20px",
10546
10546
  duration: "1s"
10547
- }), !ischeckoutbuttonloading() ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue56 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue56 === void 0 || (_fetchcustomercartQue56 = _fetchcustomercartQue56.data) === null || _fetchcustomercartQue56 === void 0 ? void 0 : _fetchcustomercartQue56.customercart.paymentmethod) == 'onlinepayment' ? lang.continuetopayment : authdetailsContext.loggedin ? langdetect == 'en' ? sectionproperties.checkoutbtn_en2 : sectionproperties.checkoutbtn_ar2 : langdetect == 'en' ? sectionproperties.checkoutbtn_en2 + ' ' + lang.asaguest : sectionproperties.checkoutbtn_ar2 + ' ' + lang.asaguest : ''))))));
10547
+ }), !ischeckoutbuttonloading() ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue56 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue56 === void 0 || (_fetchcustomercartQue56 = _fetchcustomercartQue56.data) === null || _fetchcustomercartQue56 === void 0 ? void 0 : _fetchcustomercartQue56.customercart.paymentmethod) == 'onlinepayment' ? lang.continuetopayment : authdetailsContext.loggedin ? langdetect == 'en' ? sectionproperties.checkoutbtn_en2 : sectionproperties.checkoutbtn_ar2 : langdetect == 'en' ? sectionproperties.checkoutbtn_en2 + ' ' + lang.asaguest : sectionproperties.checkoutbtn_ar2 + ' ' + lang.asaguest : '')), authdetailsContext.loggedin == false && sectionproperties.loginbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
10548
+ className: "col-lg-12 d-flex align-items-center justify-content-center mt-4 p-0 mb-2 mt-sm-3",
10549
+ style: {
10550
+ marginTop: sectionproperties.showtotalsection == 'Show' ? 0 : '0.5rem'
10551
+ }
10552
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
10553
+ "class": "row m-0 w-100"
10554
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
10555
+ "class": "col-lg-12 p-0 allcentered mb-2"
10556
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
10557
+ "class": "m-0 0-0"
10558
+ }, langdetect == 'en' ? 'Already have an account' : 'لديك حساب بالفعل؟')), /*#__PURE__*/React__default["default"].createElement("div", {
10559
+ "class": "col-lg-12 p-0 allcentered"
10560
+ }, /*#__PURE__*/React__default["default"].createElement("button", {
10561
+ className: " ".concat(checkoutstyles.checkoutbtnstyles) + ' d-flex align-items-center justify-content-center ',
10562
+ onClick: function onClick() {
10563
+ routingcountext(StaticPagesLinksContext.Login);
10564
+ }
10565
+ }, langdetect == 'en' ? 'Login' : 'تسجيل الدخول'))))))));
10548
10566
  };
10549
10567
  return /*#__PURE__*/React__default["default"].createElement("div", {
10550
10568
  className: 'row m-0 w-100 d-flex justify-content-center p-sm-0 '
@@ -56452,7 +56470,6 @@ var TextSectionConnectToWA = function TextSectionConnectToWA(props) {
56452
56470
 
56453
56471
  function ownKeys$$(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; }
56454
56472
  function _objectSpread$$(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$$(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$$(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
56455
- // 49
56456
56473
  var DynamicForm = function DynamicForm(props) {
56457
56474
  var _css, _dynamicform$fields, _dynamicform$fields2, _dynamicform$fields3, _dynamicform$fields4, _dynamicform$fields5;
56458
56475
  props.actions.lang;
@@ -56482,30 +56499,38 @@ var DynamicForm = function DynamicForm(props) {
56482
56499
  _useState10 = _slicedToArray__default["default"](_useState9, 2),
56483
56500
  confirmationtext = _useState10[0],
56484
56501
  setconfirmationtext = _useState10[1];
56485
- var _useState11 = React.useState(25),
56486
- _useState12 = _slicedToArray__default["default"](_useState11, 2),
56487
- percentage = _useState12[0],
56488
- setpercentage = _useState12[1];
56489
- var _useState13 = React.useState(''),
56490
- _useState14 = _slicedToArray__default["default"](_useState13, 2);
56491
- _useState14[0];
56492
- var setnumberoffields = _useState14[1];
56493
- var _useState15 = React.useState(0),
56502
+ var _useState11 = React.useState(false),
56503
+ _useState12 = _slicedToArray__default["default"](_useState11, 2);
56504
+ _useState12[0];
56505
+ _useState12[1];
56506
+ var _useState13 = React.useState(25),
56507
+ _useState14 = _slicedToArray__default["default"](_useState13, 2),
56508
+ percentage = _useState14[0],
56509
+ setpercentage = _useState14[1];
56510
+ var _useState15 = React.useState(''),
56494
56511
  _useState16 = _slicedToArray__default["default"](_useState15, 2);
56495
56512
  _useState16[0];
56496
- var setnumberofslides = _useState16[1];
56513
+ var setnumberoffields = _useState16[1];
56497
56514
  var _useState17 = React.useState(0),
56498
56515
  _useState18 = _slicedToArray__default["default"](_useState17, 2);
56499
56516
  _useState18[0];
56500
- _useState18[1];
56517
+ var setnumberofslides = _useState18[1];
56501
56518
  var _useState19 = React.useState(0),
56502
- _useState20 = _slicedToArray__default["default"](_useState19, 2),
56503
- currentindex = _useState20[0],
56504
- setcurrentindex = _useState20[1];
56519
+ _useState20 = _slicedToArray__default["default"](_useState19, 2);
56520
+ _useState20[0];
56521
+ _useState20[1];
56505
56522
  var _useState21 = React.useState(0),
56506
- _useState22 = _slicedToArray__default["default"](_useState21, 2);
56507
- _useState22[0];
56508
- var setnumberoffiledinslide = _useState22[1];
56523
+ _useState22 = _slicedToArray__default["default"](_useState21, 2),
56524
+ currentindex = _useState22[0],
56525
+ setcurrentindex = _useState22[1];
56526
+ var _useState23 = React.useState(0),
56527
+ _useState24 = _slicedToArray__default["default"](_useState23, 2);
56528
+ _useState24[0];
56529
+ var setnumberoffiledinslide = _useState24[1];
56530
+ var _useState25 = React.useState(false),
56531
+ _useState26 = _slicedToArray__default["default"](_useState25, 2),
56532
+ showpopup = _useState26[0],
56533
+ setshowpopup = _useState26[1];
56509
56534
  React.useEffect(function () {
56510
56535
  var secpropobj = {};
56511
56536
  StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
@@ -56571,6 +56596,7 @@ var DynamicForm = function DynamicForm(props) {
56571
56596
  // setslots(data.data.slots);
56572
56597
  // alert('done');
56573
56598
  clearform();
56599
+ setshowpopup(true);
56574
56600
  setconfirmationtext(langdetect == 'en' ? 'We have recieved your message' : 'تم استقبال رسالتك');
56575
56601
  }
56576
56602
  });
@@ -56907,15 +56933,7 @@ var DynamicForm = function DynamicForm(props) {
56907
56933
  width: "20px",
56908
56934
  height: "20px",
56909
56935
  duration: "1s"
56910
- }) : langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
56911
- "class": "col-lg-12 allcentered my-4"
56912
- }, /*#__PURE__*/React__default["default"].createElement("p", {
56913
- "class": "m-0 p-0",
56914
- style: {
56915
- fontSize: 20,
56916
- color: '#000'
56917
- }
56918
- }, confirmationtext))))), dynamicformid != '49' && /*#__PURE__*/React__default["default"].createElement("div", {
56936
+ }) : langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))))), dynamicformid != '49' && /*#__PURE__*/React__default["default"].createElement("div", {
56919
56937
  "class": "row m-0 w-100"
56920
56938
  }, /*#__PURE__*/React__default["default"].createElement("div", {
56921
56939
  "class": "col-lg-12 text-start",
@@ -56957,15 +56975,41 @@ var DynamicForm = function DynamicForm(props) {
56957
56975
  width: "20px",
56958
56976
  height: "20px",
56959
56977
  duration: "1s"
56960
- }) : langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
56961
- "class": "col-lg-12 allcentered my-4"
56978
+ }) : langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal, {
56979
+ show: showpopup,
56980
+ onHide: function onHide() {
56981
+ setshowpopup(false);
56982
+ },
56983
+ centered: true,
56984
+ size: 'md'
56985
+ }, /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Body, null, /*#__PURE__*/React__default["default"].createElement("div", {
56986
+ className: "allcentered bgdanger-hover cursor-pointer",
56987
+ onClick: function onClick() {
56988
+ setshowpopup(false);
56989
+ },
56990
+ style: {
56991
+ position: 'absolute',
56992
+ top: -40,
56993
+ backgroundColor: '#000',
56994
+ width: 35,
56995
+ height: 35,
56996
+ right: 0
56997
+ }
56998
+ }, /*#__PURE__*/React__default["default"].createElement("i", {
56999
+ "class": "h-100 allcentered text-black"
57000
+ }, /*#__PURE__*/React__default["default"].createElement(IoMdClose.IoMdClose, {
57001
+ size: 20,
57002
+ "class": "",
57003
+ color: '#fff'
57004
+ }))), /*#__PURE__*/React__default["default"].createElement("div", {
57005
+ "class": "col-lg-12 allcentered my-4 py-4"
56962
57006
  }, /*#__PURE__*/React__default["default"].createElement("p", {
56963
57007
  "class": "m-0 p-0",
56964
57008
  style: {
56965
57009
  fontSize: 20,
56966
57010
  color: '#000'
56967
57011
  }
56968
- }, confirmationtext)))));
57012
+ }, confirmationtext))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Footer, null)));
56969
57013
  };
56970
57014
 
56971
57015
  function ownKeys$_(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; }
@@ -59672,17 +59716,18 @@ var Slideshowfade = function Slideshowfade(props) {
59672
59716
  color: sectionproperties.generalbtn_bgColoronhover
59673
59717
  })
59674
59718
  };
59675
- var setcurrlang = function setcurrlang() {
59719
+ var setcurrlang = function setcurrlang(item) {
59676
59720
  setlang(langg);
59677
59721
  setcurrencyfunccontext(curr);
59678
- if (item.IsClickableimg == 'Yes') {
59679
- if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
59680
- routingcountext(item.clickableimg_page_route, true, '');
59681
- } else {
59682
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.Clickableimg_getcoection);
59683
- }
59684
- }
59722
+ // if (item.IsClickableimg == 'Yes') {
59723
+ // if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
59724
+ // routingcountext(item.clickableimg_page_route, true, '');
59725
+ // } else {
59726
+ // routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.Clickableimg_getcoection);
59727
+ // }
59728
+ // }
59685
59729
  };
59730
+
59686
59731
  var LanguageCurrencyCont = function LanguageCurrencyCont(item) {
59687
59732
  var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3;
59688
59733
  return /*#__PURE__*/React__default["default"].createElement("div", {
@@ -59690,7 +59735,7 @@ var Slideshowfade = function Slideshowfade(props) {
59690
59735
  }, /*#__PURE__*/React__default["default"].createElement("div", {
59691
59736
  "class": "col-lg-12 mb-3 text-start"
59692
59737
  }, /*#__PURE__*/React__default["default"].createElement("p", {
59693
- "class": "m-0 p-0",
59738
+ "class": langdetect == 'en' ? 'm-0 p-0 mr-auto' : 'm-0 p-0 ml-auto',
59694
59739
  style: {
59695
59740
  fontSize: 20
59696
59741
  }
@@ -59702,6 +59747,9 @@ var Slideshowfade = function Slideshowfade(props) {
59702
59747
  setlangg('en');
59703
59748
  setactive(true);
59704
59749
  setactive2(false);
59750
+ },
59751
+ style: {
59752
+ marginLeft: langdetect == 'en' ? '' : 'auto'
59705
59753
  }
59706
59754
  }, /*#__PURE__*/React__default["default"].createElement("p", {
59707
59755
  "class": "m-0 p-0"
@@ -59717,7 +59765,7 @@ var Slideshowfade = function Slideshowfade(props) {
59717
59765
  }, "\u0644\u063A\u0629 \u0639\u0631\u0628\u064A\u0629"))), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 || (_authdetailsContext$i = _authdetailsContext$i.instcurrencies) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.length) > 1 && /*#__PURE__*/React__default["default"].createElement("div", {
59718
59766
  "class": "col-lg-12 mb-3 text-start"
59719
59767
  }, /*#__PURE__*/React__default["default"].createElement("p", {
59720
- "class": "m-0 p-0",
59768
+ "class": langdetect == 'en' ? 'm-0 p-0 mr-auto' : 'm-0 p-0 ml-auto',
59721
59769
  style: {
59722
59770
  fontSize: 20
59723
59771
  }
@@ -59734,6 +59782,9 @@ var Slideshowfade = function Slideshowfade(props) {
59734
59782
  onClick: function onClick() {
59735
59783
  setcurr(item);
59736
59784
  temparr[index].isactive = true;
59785
+ },
59786
+ style: {
59787
+ marginLeft: langdetect == 'en' ? '' : 'auto'
59737
59788
  }
59738
59789
  }, /*#__PURE__*/React__default["default"].createElement("p", {
59739
59790
  "class": "m-0 p-0"
@@ -59748,7 +59799,22 @@ var Slideshowfade = function Slideshowfade(props) {
59748
59799
  onClick: function onClick() {
59749
59800
  setcurrlang();
59750
59801
  }
59751
- }, langdetect == 'en' ? 'Confirm' : 'تأكيد', ' ')));
59802
+ }, langdetect == 'en' ? 'Confirm' : 'تأكيد', ' '), /*#__PURE__*/React__default["default"].createElement("button", {
59803
+ "class": "".concat(slideshow_styles.slideshow_btn) + ' allcentered mx-3 ',
59804
+ style: {
59805
+ letterSpacing: langdetect == 'en' ? '1px' : 0,
59806
+ marginLeft: langdetect == 'en' ? '' : 'auto'
59807
+ },
59808
+ onClick: function onClick() {
59809
+ if (item.IsClickableimg == 'Yes') {
59810
+ if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
59811
+ routingcountext(item.clickableimg_page_route, true, '');
59812
+ } else {
59813
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.Clickableimg_getcoection);
59814
+ }
59815
+ }
59816
+ }
59817
+ }, langdetect == 'en' ? 'SHOP' : 'تسوق', ' ')));
59752
59818
  };
59753
59819
  return /*#__PURE__*/React__default["default"].createElement("div", {
59754
59820
  "class": ' row m-0 w-100 d-flex justify-content-center align-items-center ',
@@ -59785,11 +59851,13 @@ var Slideshowfade = function Slideshowfade(props) {
59785
59851
  }
59786
59852
  }, /*#__PURE__*/React__default["default"].createElement("div", {
59787
59853
  onClick: function onClick() {
59788
- if (item.IsClickableimg == 'Yes') {
59789
- if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
59790
- routingcountext(item.clickableimg_page_route, false, '');
59791
- } else {
59792
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.Clickableimg_getcoection);
59854
+ if (sectionproperties.showcurrencylangcont != 'Show') {
59855
+ if (item.IsClickableimg == 'Yes') {
59856
+ if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
59857
+ routingcountext(item.clickableimg_page_route, false, '');
59858
+ } else {
59859
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.Clickableimg_getcoection);
59860
+ }
59793
59861
  }
59794
59862
  }
59795
59863
  },
@@ -59812,7 +59880,8 @@ var Slideshowfade = function Slideshowfade(props) {
59812
59880
  margin: 0,
59813
59881
  padding: 0,
59814
59882
  width: '100%',
59815
- height: '100%'
59883
+ height: '100%',
59884
+ borderRadius: sectionproperties.imageborderradius + 'px'
59816
59885
  }
59817
59886
  }), sectionproperties.showcurrencylangcont == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
59818
59887
  "class": 'row m-0 w-100 pl-md-2 pr-md-2',
@@ -59824,13 +59893,15 @@ var Slideshowfade = function Slideshowfade(props) {
59824
59893
  paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : '',
59825
59894
  paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
59826
59895
  }
59827
- }, LanguageCurrencyCont()), sectionproperties.showcurrencylangcont != 'Show' && SlideShowTextContainer(item)), /*#__PURE__*/React__default["default"].createElement("div", {
59896
+ }, LanguageCurrencyCont(item)), sectionproperties.showcurrencylangcont != 'Show' && SlideShowTextContainer(item)), /*#__PURE__*/React__default["default"].createElement("div", {
59828
59897
  onClick: function onClick() {
59829
- if (item.IsClickableimg == 'Yes') {
59830
- if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
59831
- routingcountext(item.clickableimg_page_route, false, '');
59832
- } else {
59833
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.Clickableimg_getcoection);
59898
+ if (sectionproperties.showcurrencylangcont != 'Show') {
59899
+ if (item.IsClickableimg == 'Yes') {
59900
+ if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
59901
+ routingcountext(item.clickableimg_page_route, false, '');
59902
+ } else {
59903
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.Clickableimg_getcoection);
59904
+ }
59834
59905
  }
59835
59906
  }
59836
59907
  },
@@ -59854,7 +59925,8 @@ var Slideshowfade = function Slideshowfade(props) {
59854
59925
  margin: 0,
59855
59926
  padding: 0,
59856
59927
  width: '100%',
59857
- height: '100%'
59928
+ height: '100%',
59929
+ borderRadius: sectionproperties.imageborderradius + 'px'
59858
59930
  }
59859
59931
  }), sectionproperties.showcurrencylangcont == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
59860
59932
  "class": 'row m-0 w-100 pl-md-2 pr-md-2',
package/dist/index.esm.js CHANGED
@@ -10495,7 +10495,25 @@ var Checkout = function Checkout(props) {
10495
10495
  width: "20px",
10496
10496
  height: "20px",
10497
10497
  duration: "1s"
10498
- }), !ischeckoutbuttonloading() ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue56 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue56 === void 0 || (_fetchcustomercartQue56 = _fetchcustomercartQue56.data) === null || _fetchcustomercartQue56 === void 0 ? void 0 : _fetchcustomercartQue56.customercart.paymentmethod) == 'onlinepayment' ? lang.continuetopayment : authdetailsContext.loggedin ? langdetect == 'en' ? sectionproperties.checkoutbtn_en2 : sectionproperties.checkoutbtn_ar2 : langdetect == 'en' ? sectionproperties.checkoutbtn_en2 + ' ' + lang.asaguest : sectionproperties.checkoutbtn_ar2 + ' ' + lang.asaguest : ''))))));
10498
+ }), !ischeckoutbuttonloading() ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue56 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue56 === void 0 || (_fetchcustomercartQue56 = _fetchcustomercartQue56.data) === null || _fetchcustomercartQue56 === void 0 ? void 0 : _fetchcustomercartQue56.customercart.paymentmethod) == 'onlinepayment' ? lang.continuetopayment : authdetailsContext.loggedin ? langdetect == 'en' ? sectionproperties.checkoutbtn_en2 : sectionproperties.checkoutbtn_ar2 : langdetect == 'en' ? sectionproperties.checkoutbtn_en2 + ' ' + lang.asaguest : sectionproperties.checkoutbtn_ar2 + ' ' + lang.asaguest : '')), authdetailsContext.loggedin == false && sectionproperties.loginbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
10499
+ className: "col-lg-12 d-flex align-items-center justify-content-center mt-4 p-0 mb-2 mt-sm-3",
10500
+ style: {
10501
+ marginTop: sectionproperties.showtotalsection == 'Show' ? 0 : '0.5rem'
10502
+ }
10503
+ }, /*#__PURE__*/React.createElement("div", {
10504
+ "class": "row m-0 w-100"
10505
+ }, /*#__PURE__*/React.createElement("div", {
10506
+ "class": "col-lg-12 p-0 allcentered mb-2"
10507
+ }, /*#__PURE__*/React.createElement("p", {
10508
+ "class": "m-0 0-0"
10509
+ }, langdetect == 'en' ? 'Already have an account' : 'لديك حساب بالفعل؟')), /*#__PURE__*/React.createElement("div", {
10510
+ "class": "col-lg-12 p-0 allcentered"
10511
+ }, /*#__PURE__*/React.createElement("button", {
10512
+ className: " ".concat(checkoutstyles.checkoutbtnstyles) + ' d-flex align-items-center justify-content-center ',
10513
+ onClick: function onClick() {
10514
+ routingcountext(StaticPagesLinksContext.Login);
10515
+ }
10516
+ }, langdetect == 'en' ? 'Login' : 'تسجيل الدخول'))))))));
10499
10517
  };
10500
10518
  return /*#__PURE__*/React.createElement("div", {
10501
10519
  className: 'row m-0 w-100 d-flex justify-content-center p-sm-0 '
@@ -56403,7 +56421,6 @@ var TextSectionConnectToWA = function TextSectionConnectToWA(props) {
56403
56421
 
56404
56422
  function ownKeys$$(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; }
56405
56423
  function _objectSpread$$(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$$(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$$(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
56406
- // 49
56407
56424
  var DynamicForm = function DynamicForm(props) {
56408
56425
  var _css, _dynamicform$fields, _dynamicform$fields2, _dynamicform$fields3, _dynamicform$fields4, _dynamicform$fields5;
56409
56426
  props.actions.lang;
@@ -56433,30 +56450,38 @@ var DynamicForm = function DynamicForm(props) {
56433
56450
  _useState10 = _slicedToArray(_useState9, 2),
56434
56451
  confirmationtext = _useState10[0],
56435
56452
  setconfirmationtext = _useState10[1];
56436
- var _useState11 = useState(25),
56437
- _useState12 = _slicedToArray(_useState11, 2),
56438
- percentage = _useState12[0],
56439
- setpercentage = _useState12[1];
56440
- var _useState13 = useState(''),
56441
- _useState14 = _slicedToArray(_useState13, 2);
56442
- _useState14[0];
56443
- var setnumberoffields = _useState14[1];
56444
- var _useState15 = useState(0),
56453
+ var _useState11 = useState(false),
56454
+ _useState12 = _slicedToArray(_useState11, 2);
56455
+ _useState12[0];
56456
+ _useState12[1];
56457
+ var _useState13 = useState(25),
56458
+ _useState14 = _slicedToArray(_useState13, 2),
56459
+ percentage = _useState14[0],
56460
+ setpercentage = _useState14[1];
56461
+ var _useState15 = useState(''),
56445
56462
  _useState16 = _slicedToArray(_useState15, 2);
56446
56463
  _useState16[0];
56447
- var setnumberofslides = _useState16[1];
56464
+ var setnumberoffields = _useState16[1];
56448
56465
  var _useState17 = useState(0),
56449
56466
  _useState18 = _slicedToArray(_useState17, 2);
56450
56467
  _useState18[0];
56451
- _useState18[1];
56468
+ var setnumberofslides = _useState18[1];
56452
56469
  var _useState19 = useState(0),
56453
- _useState20 = _slicedToArray(_useState19, 2),
56454
- currentindex = _useState20[0],
56455
- setcurrentindex = _useState20[1];
56470
+ _useState20 = _slicedToArray(_useState19, 2);
56471
+ _useState20[0];
56472
+ _useState20[1];
56456
56473
  var _useState21 = useState(0),
56457
- _useState22 = _slicedToArray(_useState21, 2);
56458
- _useState22[0];
56459
- var setnumberoffiledinslide = _useState22[1];
56474
+ _useState22 = _slicedToArray(_useState21, 2),
56475
+ currentindex = _useState22[0],
56476
+ setcurrentindex = _useState22[1];
56477
+ var _useState23 = useState(0),
56478
+ _useState24 = _slicedToArray(_useState23, 2);
56479
+ _useState24[0];
56480
+ var setnumberoffiledinslide = _useState24[1];
56481
+ var _useState25 = useState(false),
56482
+ _useState26 = _slicedToArray(_useState25, 2),
56483
+ showpopup = _useState26[0],
56484
+ setshowpopup = _useState26[1];
56460
56485
  useEffect(function () {
56461
56486
  var secpropobj = {};
56462
56487
  StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
@@ -56522,6 +56547,7 @@ var DynamicForm = function DynamicForm(props) {
56522
56547
  // setslots(data.data.slots);
56523
56548
  // alert('done');
56524
56549
  clearform();
56550
+ setshowpopup(true);
56525
56551
  setconfirmationtext(langdetect == 'en' ? 'We have recieved your message' : 'تم استقبال رسالتك');
56526
56552
  }
56527
56553
  });
@@ -56858,15 +56884,7 @@ var DynamicForm = function DynamicForm(props) {
56858
56884
  width: "20px",
56859
56885
  height: "20px",
56860
56886
  duration: "1s"
56861
- }) : langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)), /*#__PURE__*/React.createElement("div", {
56862
- "class": "col-lg-12 allcentered my-4"
56863
- }, /*#__PURE__*/React.createElement("p", {
56864
- "class": "m-0 p-0",
56865
- style: {
56866
- fontSize: 20,
56867
- color: '#000'
56868
- }
56869
- }, confirmationtext))))), dynamicformid != '49' && /*#__PURE__*/React.createElement("div", {
56887
+ }) : langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))))), dynamicformid != '49' && /*#__PURE__*/React.createElement("div", {
56870
56888
  "class": "row m-0 w-100"
56871
56889
  }, /*#__PURE__*/React.createElement("div", {
56872
56890
  "class": "col-lg-12 text-start",
@@ -56908,15 +56926,41 @@ var DynamicForm = function DynamicForm(props) {
56908
56926
  width: "20px",
56909
56927
  height: "20px",
56910
56928
  duration: "1s"
56911
- }) : langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)), /*#__PURE__*/React.createElement("div", {
56912
- "class": "col-lg-12 allcentered my-4"
56929
+ }) : langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))), /*#__PURE__*/React.createElement(Modal, {
56930
+ show: showpopup,
56931
+ onHide: function onHide() {
56932
+ setshowpopup(false);
56933
+ },
56934
+ centered: true,
56935
+ size: 'md'
56936
+ }, /*#__PURE__*/React.createElement(Modal.Body, null, /*#__PURE__*/React.createElement("div", {
56937
+ className: "allcentered bgdanger-hover cursor-pointer",
56938
+ onClick: function onClick() {
56939
+ setshowpopup(false);
56940
+ },
56941
+ style: {
56942
+ position: 'absolute',
56943
+ top: -40,
56944
+ backgroundColor: '#000',
56945
+ width: 35,
56946
+ height: 35,
56947
+ right: 0
56948
+ }
56949
+ }, /*#__PURE__*/React.createElement("i", {
56950
+ "class": "h-100 allcentered text-black"
56951
+ }, /*#__PURE__*/React.createElement(IoMdClose, {
56952
+ size: 20,
56953
+ "class": "",
56954
+ color: '#fff'
56955
+ }))), /*#__PURE__*/React.createElement("div", {
56956
+ "class": "col-lg-12 allcentered my-4 py-4"
56913
56957
  }, /*#__PURE__*/React.createElement("p", {
56914
56958
  "class": "m-0 p-0",
56915
56959
  style: {
56916
56960
  fontSize: 20,
56917
56961
  color: '#000'
56918
56962
  }
56919
- }, confirmationtext)))));
56963
+ }, confirmationtext))), /*#__PURE__*/React.createElement(Modal.Footer, null)));
56920
56964
  };
56921
56965
 
56922
56966
  function ownKeys$_(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; }
@@ -59623,17 +59667,18 @@ var Slideshowfade = function Slideshowfade(props) {
59623
59667
  color: sectionproperties.generalbtn_bgColoronhover
59624
59668
  })
59625
59669
  };
59626
- var setcurrlang = function setcurrlang() {
59670
+ var setcurrlang = function setcurrlang(item) {
59627
59671
  setlang(langg);
59628
59672
  setcurrencyfunccontext(curr);
59629
- if (item.IsClickableimg == 'Yes') {
59630
- if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
59631
- routingcountext(item.clickableimg_page_route, true, '');
59632
- } else {
59633
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.Clickableimg_getcoection);
59634
- }
59635
- }
59673
+ // if (item.IsClickableimg == 'Yes') {
59674
+ // if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
59675
+ // routingcountext(item.clickableimg_page_route, true, '');
59676
+ // } else {
59677
+ // routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.Clickableimg_getcoection);
59678
+ // }
59679
+ // }
59636
59680
  };
59681
+
59637
59682
  var LanguageCurrencyCont = function LanguageCurrencyCont(item) {
59638
59683
  var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3;
59639
59684
  return /*#__PURE__*/React.createElement("div", {
@@ -59641,7 +59686,7 @@ var Slideshowfade = function Slideshowfade(props) {
59641
59686
  }, /*#__PURE__*/React.createElement("div", {
59642
59687
  "class": "col-lg-12 mb-3 text-start"
59643
59688
  }, /*#__PURE__*/React.createElement("p", {
59644
- "class": "m-0 p-0",
59689
+ "class": langdetect == 'en' ? 'm-0 p-0 mr-auto' : 'm-0 p-0 ml-auto',
59645
59690
  style: {
59646
59691
  fontSize: 20
59647
59692
  }
@@ -59653,6 +59698,9 @@ var Slideshowfade = function Slideshowfade(props) {
59653
59698
  setlangg('en');
59654
59699
  setactive(true);
59655
59700
  setactive2(false);
59701
+ },
59702
+ style: {
59703
+ marginLeft: langdetect == 'en' ? '' : 'auto'
59656
59704
  }
59657
59705
  }, /*#__PURE__*/React.createElement("p", {
59658
59706
  "class": "m-0 p-0"
@@ -59668,7 +59716,7 @@ var Slideshowfade = function Slideshowfade(props) {
59668
59716
  }, "\u0644\u063A\u0629 \u0639\u0631\u0628\u064A\u0629"))), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 || (_authdetailsContext$i = _authdetailsContext$i.instcurrencies) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.length) > 1 && /*#__PURE__*/React.createElement("div", {
59669
59717
  "class": "col-lg-12 mb-3 text-start"
59670
59718
  }, /*#__PURE__*/React.createElement("p", {
59671
- "class": "m-0 p-0",
59719
+ "class": langdetect == 'en' ? 'm-0 p-0 mr-auto' : 'm-0 p-0 ml-auto',
59672
59720
  style: {
59673
59721
  fontSize: 20
59674
59722
  }
@@ -59685,6 +59733,9 @@ var Slideshowfade = function Slideshowfade(props) {
59685
59733
  onClick: function onClick() {
59686
59734
  setcurr(item);
59687
59735
  temparr[index].isactive = true;
59736
+ },
59737
+ style: {
59738
+ marginLeft: langdetect == 'en' ? '' : 'auto'
59688
59739
  }
59689
59740
  }, /*#__PURE__*/React.createElement("p", {
59690
59741
  "class": "m-0 p-0"
@@ -59699,7 +59750,22 @@ var Slideshowfade = function Slideshowfade(props) {
59699
59750
  onClick: function onClick() {
59700
59751
  setcurrlang();
59701
59752
  }
59702
- }, langdetect == 'en' ? 'Confirm' : 'تأكيد', ' ')));
59753
+ }, langdetect == 'en' ? 'Confirm' : 'تأكيد', ' '), /*#__PURE__*/React.createElement("button", {
59754
+ "class": "".concat(slideshow_styles.slideshow_btn) + ' allcentered mx-3 ',
59755
+ style: {
59756
+ letterSpacing: langdetect == 'en' ? '1px' : 0,
59757
+ marginLeft: langdetect == 'en' ? '' : 'auto'
59758
+ },
59759
+ onClick: function onClick() {
59760
+ if (item.IsClickableimg == 'Yes') {
59761
+ if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
59762
+ routingcountext(item.clickableimg_page_route, true, '');
59763
+ } else {
59764
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.Clickableimg_getcoection);
59765
+ }
59766
+ }
59767
+ }
59768
+ }, langdetect == 'en' ? 'SHOP' : 'تسوق', ' ')));
59703
59769
  };
59704
59770
  return /*#__PURE__*/React.createElement("div", {
59705
59771
  "class": ' row m-0 w-100 d-flex justify-content-center align-items-center ',
@@ -59736,11 +59802,13 @@ var Slideshowfade = function Slideshowfade(props) {
59736
59802
  }
59737
59803
  }, /*#__PURE__*/React.createElement("div", {
59738
59804
  onClick: function onClick() {
59739
- if (item.IsClickableimg == 'Yes') {
59740
- if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
59741
- routingcountext(item.clickableimg_page_route, false, '');
59742
- } else {
59743
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.Clickableimg_getcoection);
59805
+ if (sectionproperties.showcurrencylangcont != 'Show') {
59806
+ if (item.IsClickableimg == 'Yes') {
59807
+ if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
59808
+ routingcountext(item.clickableimg_page_route, false, '');
59809
+ } else {
59810
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.Clickableimg_getcoection);
59811
+ }
59744
59812
  }
59745
59813
  }
59746
59814
  },
@@ -59763,7 +59831,8 @@ var Slideshowfade = function Slideshowfade(props) {
59763
59831
  margin: 0,
59764
59832
  padding: 0,
59765
59833
  width: '100%',
59766
- height: '100%'
59834
+ height: '100%',
59835
+ borderRadius: sectionproperties.imageborderradius + 'px'
59767
59836
  }
59768
59837
  }), sectionproperties.showcurrencylangcont == 'Show' && /*#__PURE__*/React.createElement("div", {
59769
59838
  "class": 'row m-0 w-100 pl-md-2 pr-md-2',
@@ -59775,13 +59844,15 @@ var Slideshowfade = function Slideshowfade(props) {
59775
59844
  paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : '',
59776
59845
  paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
59777
59846
  }
59778
- }, LanguageCurrencyCont()), sectionproperties.showcurrencylangcont != 'Show' && SlideShowTextContainer(item)), /*#__PURE__*/React.createElement("div", {
59847
+ }, LanguageCurrencyCont(item)), sectionproperties.showcurrencylangcont != 'Show' && SlideShowTextContainer(item)), /*#__PURE__*/React.createElement("div", {
59779
59848
  onClick: function onClick() {
59780
- if (item.IsClickableimg == 'Yes') {
59781
- if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
59782
- routingcountext(item.clickableimg_page_route, false, '');
59783
- } else {
59784
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.Clickableimg_getcoection);
59849
+ if (sectionproperties.showcurrencylangcont != 'Show') {
59850
+ if (item.IsClickableimg == 'Yes') {
59851
+ if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
59852
+ routingcountext(item.clickableimg_page_route, false, '');
59853
+ } else {
59854
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.Clickableimg_getcoection);
59855
+ }
59785
59856
  }
59786
59857
  }
59787
59858
  },
@@ -59805,7 +59876,8 @@ var Slideshowfade = function Slideshowfade(props) {
59805
59876
  margin: 0,
59806
59877
  padding: 0,
59807
59878
  width: '100%',
59808
- height: '100%'
59879
+ height: '100%',
59880
+ borderRadius: sectionproperties.imageborderradius + 'px'
59809
59881
  }
59810
59882
  }), sectionproperties.showcurrencylangcont == 'Show' && /*#__PURE__*/React.createElement("div", {
59811
59883
  "class": 'row m-0 w-100 pl-md-2 pr-md-2',
package/dist/index.umd.js CHANGED
@@ -10368,7 +10368,25 @@
10368
10368
  width: "20px",
10369
10369
  height: "20px",
10370
10370
  duration: "1s"
10371
- }), !ischeckoutbuttonloading() ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue56 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue56 === void 0 || (_fetchcustomercartQue56 = _fetchcustomercartQue56.data) === null || _fetchcustomercartQue56 === void 0 ? void 0 : _fetchcustomercartQue56.customercart.paymentmethod) == 'onlinepayment' ? lang.continuetopayment : authdetailsContext.loggedin ? langdetect == 'en' ? sectionproperties.checkoutbtn_en2 : sectionproperties.checkoutbtn_ar2 : langdetect == 'en' ? sectionproperties.checkoutbtn_en2 + ' ' + lang.asaguest : sectionproperties.checkoutbtn_ar2 + ' ' + lang.asaguest : ''))))));
10371
+ }), !ischeckoutbuttonloading() ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue56 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue56 === void 0 || (_fetchcustomercartQue56 = _fetchcustomercartQue56.data) === null || _fetchcustomercartQue56 === void 0 ? void 0 : _fetchcustomercartQue56.customercart.paymentmethod) == 'onlinepayment' ? lang.continuetopayment : authdetailsContext.loggedin ? langdetect == 'en' ? sectionproperties.checkoutbtn_en2 : sectionproperties.checkoutbtn_ar2 : langdetect == 'en' ? sectionproperties.checkoutbtn_en2 + ' ' + lang.asaguest : sectionproperties.checkoutbtn_ar2 + ' ' + lang.asaguest : '')), authdetailsContext.loggedin == false && sectionproperties.loginbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
10372
+ className: "col-lg-12 d-flex align-items-center justify-content-center mt-4 p-0 mb-2 mt-sm-3",
10373
+ style: {
10374
+ marginTop: sectionproperties.showtotalsection == 'Show' ? 0 : '0.5rem'
10375
+ }
10376
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
10377
+ "class": "row m-0 w-100"
10378
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
10379
+ "class": "col-lg-12 p-0 allcentered mb-2"
10380
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
10381
+ "class": "m-0 0-0"
10382
+ }, langdetect == 'en' ? 'Already have an account' : 'لديك حساب بالفعل؟')), /*#__PURE__*/React__default["default"].createElement("div", {
10383
+ "class": "col-lg-12 p-0 allcentered"
10384
+ }, /*#__PURE__*/React__default["default"].createElement("button", {
10385
+ className: " ".concat(checkoutstyles.checkoutbtnstyles) + ' d-flex align-items-center justify-content-center ',
10386
+ onClick: function onClick() {
10387
+ routingcountext(StaticPagesLinksContext.Login);
10388
+ }
10389
+ }, langdetect == 'en' ? 'Login' : 'تسجيل الدخول'))))))));
10372
10390
  };
10373
10391
  return /*#__PURE__*/React__default["default"].createElement("div", {
10374
10392
  className: 'row m-0 w-100 d-flex justify-content-center p-sm-0 '
@@ -56276,7 +56294,6 @@
56276
56294
 
56277
56295
  function ownKeys$$(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; }
56278
56296
  function _objectSpread$$(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$$(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$$(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
56279
- // 49
56280
56297
  var DynamicForm = function DynamicForm(props) {
56281
56298
  var _css, _dynamicform$fields, _dynamicform$fields2, _dynamicform$fields3, _dynamicform$fields4, _dynamicform$fields5;
56282
56299
  props.actions.lang;
@@ -56306,30 +56323,38 @@
56306
56323
  _useState10 = _slicedToArray__default["default"](_useState9, 2),
56307
56324
  confirmationtext = _useState10[0],
56308
56325
  setconfirmationtext = _useState10[1];
56309
- var _useState11 = React.useState(25),
56310
- _useState12 = _slicedToArray__default["default"](_useState11, 2),
56311
- percentage = _useState12[0],
56312
- setpercentage = _useState12[1];
56313
- var _useState13 = React.useState(''),
56314
- _useState14 = _slicedToArray__default["default"](_useState13, 2);
56315
- _useState14[0];
56316
- var setnumberoffields = _useState14[1];
56317
- var _useState15 = React.useState(0),
56326
+ var _useState11 = React.useState(false),
56327
+ _useState12 = _slicedToArray__default["default"](_useState11, 2);
56328
+ _useState12[0];
56329
+ _useState12[1];
56330
+ var _useState13 = React.useState(25),
56331
+ _useState14 = _slicedToArray__default["default"](_useState13, 2),
56332
+ percentage = _useState14[0],
56333
+ setpercentage = _useState14[1];
56334
+ var _useState15 = React.useState(''),
56318
56335
  _useState16 = _slicedToArray__default["default"](_useState15, 2);
56319
56336
  _useState16[0];
56320
- var setnumberofslides = _useState16[1];
56337
+ var setnumberoffields = _useState16[1];
56321
56338
  var _useState17 = React.useState(0),
56322
56339
  _useState18 = _slicedToArray__default["default"](_useState17, 2);
56323
56340
  _useState18[0];
56324
- _useState18[1];
56341
+ var setnumberofslides = _useState18[1];
56325
56342
  var _useState19 = React.useState(0),
56326
- _useState20 = _slicedToArray__default["default"](_useState19, 2),
56327
- currentindex = _useState20[0],
56328
- setcurrentindex = _useState20[1];
56343
+ _useState20 = _slicedToArray__default["default"](_useState19, 2);
56344
+ _useState20[0];
56345
+ _useState20[1];
56329
56346
  var _useState21 = React.useState(0),
56330
- _useState22 = _slicedToArray__default["default"](_useState21, 2);
56331
- _useState22[0];
56332
- var setnumberoffiledinslide = _useState22[1];
56347
+ _useState22 = _slicedToArray__default["default"](_useState21, 2),
56348
+ currentindex = _useState22[0],
56349
+ setcurrentindex = _useState22[1];
56350
+ var _useState23 = React.useState(0),
56351
+ _useState24 = _slicedToArray__default["default"](_useState23, 2);
56352
+ _useState24[0];
56353
+ var setnumberoffiledinslide = _useState24[1];
56354
+ var _useState25 = React.useState(false),
56355
+ _useState26 = _slicedToArray__default["default"](_useState25, 2),
56356
+ showpopup = _useState26[0],
56357
+ setshowpopup = _useState26[1];
56333
56358
  React.useEffect(function () {
56334
56359
  var secpropobj = {};
56335
56360
  StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
@@ -56395,6 +56420,7 @@
56395
56420
  // setslots(data.data.slots);
56396
56421
  // alert('done');
56397
56422
  clearform();
56423
+ setshowpopup(true);
56398
56424
  setconfirmationtext(langdetect == 'en' ? 'We have recieved your message' : 'تم استقبال رسالتك');
56399
56425
  }
56400
56426
  });
@@ -56731,15 +56757,7 @@
56731
56757
  width: "20px",
56732
56758
  height: "20px",
56733
56759
  duration: "1s"
56734
- }) : langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
56735
- "class": "col-lg-12 allcentered my-4"
56736
- }, /*#__PURE__*/React__default["default"].createElement("p", {
56737
- "class": "m-0 p-0",
56738
- style: {
56739
- fontSize: 20,
56740
- color: '#000'
56741
- }
56742
- }, confirmationtext))))), dynamicformid != '49' && /*#__PURE__*/React__default["default"].createElement("div", {
56760
+ }) : langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))))), dynamicformid != '49' && /*#__PURE__*/React__default["default"].createElement("div", {
56743
56761
  "class": "row m-0 w-100"
56744
56762
  }, /*#__PURE__*/React__default["default"].createElement("div", {
56745
56763
  "class": "col-lg-12 text-start",
@@ -56781,15 +56799,41 @@
56781
56799
  width: "20px",
56782
56800
  height: "20px",
56783
56801
  duration: "1s"
56784
- }) : langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
56785
- "class": "col-lg-12 allcentered my-4"
56802
+ }) : langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal, {
56803
+ show: showpopup,
56804
+ onHide: function onHide() {
56805
+ setshowpopup(false);
56806
+ },
56807
+ centered: true,
56808
+ size: 'md'
56809
+ }, /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Body, null, /*#__PURE__*/React__default["default"].createElement("div", {
56810
+ className: "allcentered bgdanger-hover cursor-pointer",
56811
+ onClick: function onClick() {
56812
+ setshowpopup(false);
56813
+ },
56814
+ style: {
56815
+ position: 'absolute',
56816
+ top: -40,
56817
+ backgroundColor: '#000',
56818
+ width: 35,
56819
+ height: 35,
56820
+ right: 0
56821
+ }
56822
+ }, /*#__PURE__*/React__default["default"].createElement("i", {
56823
+ "class": "h-100 allcentered text-black"
56824
+ }, /*#__PURE__*/React__default["default"].createElement(IoMdClose.IoMdClose, {
56825
+ size: 20,
56826
+ "class": "",
56827
+ color: '#fff'
56828
+ }))), /*#__PURE__*/React__default["default"].createElement("div", {
56829
+ "class": "col-lg-12 allcentered my-4 py-4"
56786
56830
  }, /*#__PURE__*/React__default["default"].createElement("p", {
56787
56831
  "class": "m-0 p-0",
56788
56832
  style: {
56789
56833
  fontSize: 20,
56790
56834
  color: '#000'
56791
56835
  }
56792
- }, confirmationtext)))));
56836
+ }, confirmationtext))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Footer, null)));
56793
56837
  };
56794
56838
 
56795
56839
  function ownKeys$_(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; }
@@ -59496,17 +59540,18 @@
59496
59540
  color: sectionproperties.generalbtn_bgColoronhover
59497
59541
  })
59498
59542
  };
59499
- var setcurrlang = function setcurrlang() {
59543
+ var setcurrlang = function setcurrlang(item) {
59500
59544
  setlang(langg);
59501
59545
  setcurrencyfunccontext(curr);
59502
- if (item.IsClickableimg == 'Yes') {
59503
- if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
59504
- routingcountext(item.clickableimg_page_route, true, '');
59505
- } else {
59506
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.Clickableimg_getcoection);
59507
- }
59508
- }
59546
+ // if (item.IsClickableimg == 'Yes') {
59547
+ // if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
59548
+ // routingcountext(item.clickableimg_page_route, true, '');
59549
+ // } else {
59550
+ // routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.Clickableimg_getcoection);
59551
+ // }
59552
+ // }
59509
59553
  };
59554
+
59510
59555
  var LanguageCurrencyCont = function LanguageCurrencyCont(item) {
59511
59556
  var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3;
59512
59557
  return /*#__PURE__*/React__default["default"].createElement("div", {
@@ -59514,7 +59559,7 @@
59514
59559
  }, /*#__PURE__*/React__default["default"].createElement("div", {
59515
59560
  "class": "col-lg-12 mb-3 text-start"
59516
59561
  }, /*#__PURE__*/React__default["default"].createElement("p", {
59517
- "class": "m-0 p-0",
59562
+ "class": langdetect == 'en' ? 'm-0 p-0 mr-auto' : 'm-0 p-0 ml-auto',
59518
59563
  style: {
59519
59564
  fontSize: 20
59520
59565
  }
@@ -59526,6 +59571,9 @@
59526
59571
  setlangg('en');
59527
59572
  setactive(true);
59528
59573
  setactive2(false);
59574
+ },
59575
+ style: {
59576
+ marginLeft: langdetect == 'en' ? '' : 'auto'
59529
59577
  }
59530
59578
  }, /*#__PURE__*/React__default["default"].createElement("p", {
59531
59579
  "class": "m-0 p-0"
@@ -59541,7 +59589,7 @@
59541
59589
  }, "\u0644\u063A\u0629 \u0639\u0631\u0628\u064A\u0629"))), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 || (_authdetailsContext$i = _authdetailsContext$i.instcurrencies) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.length) > 1 && /*#__PURE__*/React__default["default"].createElement("div", {
59542
59590
  "class": "col-lg-12 mb-3 text-start"
59543
59591
  }, /*#__PURE__*/React__default["default"].createElement("p", {
59544
- "class": "m-0 p-0",
59592
+ "class": langdetect == 'en' ? 'm-0 p-0 mr-auto' : 'm-0 p-0 ml-auto',
59545
59593
  style: {
59546
59594
  fontSize: 20
59547
59595
  }
@@ -59558,6 +59606,9 @@
59558
59606
  onClick: function onClick() {
59559
59607
  setcurr(item);
59560
59608
  temparr[index].isactive = true;
59609
+ },
59610
+ style: {
59611
+ marginLeft: langdetect == 'en' ? '' : 'auto'
59561
59612
  }
59562
59613
  }, /*#__PURE__*/React__default["default"].createElement("p", {
59563
59614
  "class": "m-0 p-0"
@@ -59572,7 +59623,22 @@
59572
59623
  onClick: function onClick() {
59573
59624
  setcurrlang();
59574
59625
  }
59575
- }, langdetect == 'en' ? 'Confirm' : 'تأكيد', ' ')));
59626
+ }, langdetect == 'en' ? 'Confirm' : 'تأكيد', ' '), /*#__PURE__*/React__default["default"].createElement("button", {
59627
+ "class": "".concat(slideshow_styles.slideshow_btn) + ' allcentered mx-3 ',
59628
+ style: {
59629
+ letterSpacing: langdetect == 'en' ? '1px' : 0,
59630
+ marginLeft: langdetect == 'en' ? '' : 'auto'
59631
+ },
59632
+ onClick: function onClick() {
59633
+ if (item.IsClickableimg == 'Yes') {
59634
+ if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
59635
+ routingcountext(item.clickableimg_page_route, true, '');
59636
+ } else {
59637
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.Clickableimg_getcoection);
59638
+ }
59639
+ }
59640
+ }
59641
+ }, langdetect == 'en' ? 'SHOP' : 'تسوق', ' ')));
59576
59642
  };
59577
59643
  return /*#__PURE__*/React__default["default"].createElement("div", {
59578
59644
  "class": ' row m-0 w-100 d-flex justify-content-center align-items-center ',
@@ -59609,11 +59675,13 @@
59609
59675
  }
59610
59676
  }, /*#__PURE__*/React__default["default"].createElement("div", {
59611
59677
  onClick: function onClick() {
59612
- if (item.IsClickableimg == 'Yes') {
59613
- if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
59614
- routingcountext(item.clickableimg_page_route, false, '');
59615
- } else {
59616
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.Clickableimg_getcoection);
59678
+ if (sectionproperties.showcurrencylangcont != 'Show') {
59679
+ if (item.IsClickableimg == 'Yes') {
59680
+ if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
59681
+ routingcountext(item.clickableimg_page_route, false, '');
59682
+ } else {
59683
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.Clickableimg_getcoection);
59684
+ }
59617
59685
  }
59618
59686
  }
59619
59687
  },
@@ -59636,7 +59704,8 @@
59636
59704
  margin: 0,
59637
59705
  padding: 0,
59638
59706
  width: '100%',
59639
- height: '100%'
59707
+ height: '100%',
59708
+ borderRadius: sectionproperties.imageborderradius + 'px'
59640
59709
  }
59641
59710
  }), sectionproperties.showcurrencylangcont == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
59642
59711
  "class": 'row m-0 w-100 pl-md-2 pr-md-2',
@@ -59648,13 +59717,15 @@
59648
59717
  paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : '',
59649
59718
  paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
59650
59719
  }
59651
- }, LanguageCurrencyCont()), sectionproperties.showcurrencylangcont != 'Show' && SlideShowTextContainer(item)), /*#__PURE__*/React__default["default"].createElement("div", {
59720
+ }, LanguageCurrencyCont(item)), sectionproperties.showcurrencylangcont != 'Show' && SlideShowTextContainer(item)), /*#__PURE__*/React__default["default"].createElement("div", {
59652
59721
  onClick: function onClick() {
59653
- if (item.IsClickableimg == 'Yes') {
59654
- if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
59655
- routingcountext(item.clickableimg_page_route, false, '');
59656
- } else {
59657
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.Clickableimg_getcoection);
59722
+ if (sectionproperties.showcurrencylangcont != 'Show') {
59723
+ if (item.IsClickableimg == 'Yes') {
59724
+ if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
59725
+ routingcountext(item.clickableimg_page_route, false, '');
59726
+ } else {
59727
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.Clickableimg_getcoection);
59728
+ }
59658
59729
  }
59659
59730
  }
59660
59731
  },
@@ -59678,7 +59749,8 @@
59678
59749
  margin: 0,
59679
59750
  padding: 0,
59680
59751
  width: '100%',
59681
- height: '100%'
59752
+ height: '100%',
59753
+ borderRadius: sectionproperties.imageborderradius + 'px'
59682
59754
  }
59683
59755
  }), sectionproperties.showcurrencylangcont == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
59684
59756
  "class": 'row m-0 w-100 pl-md-2 pr-md-2',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tabexseriescomponents",
3
- "version": "0.0.552",
3
+ "version": "0.0.554",
4
4
  "description": "your description",
5
5
  "main": "dist/index.cjs.js",
6
6
  "scripts": {