tabexseriescomponents 0.0.387 → 0.0.389

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.umd.js CHANGED
@@ -2228,7 +2228,7 @@
2228
2228
  minHeight: sectionproperties.height + 'vh'
2229
2229
  }
2230
2230
  }, sectionproperties.gallerystyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
2231
- "class": "w-100 scrollhorizontalwithscrollbar"
2231
+ "class": "w-100 scrollhorizontalwithscrollbar scrollhorizontalwithscrollbarremove"
2232
2232
  }, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer2 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.productinfo) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.productimages) === null || _fetchProductInfoQuer2 === void 0 ? void 0 : _fetchProductInfoQuer2.length) != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer3 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.productinfo) === null || _fetchProductInfoQuer3 === void 0 ? void 0 : _fetchProductInfoQuer3.productimages.map(function (item, index) {
2233
2233
  return /*#__PURE__*/React__default["default"].createElement("div", {
2234
2234
  "class": ' scrollhorizontalcard mx-2 ',
@@ -2524,7 +2524,7 @@
2524
2524
  actions: props.actions
2525
2525
  }), sectionproperties.showextrafield == 'Show' && /*#__PURE__*/React__default["default"].createElement(ProductExtraFields, {
2526
2526
  actions: props.actions
2527
- }), sectionproperties.gallerystyle == 'Style 2' && sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement(DescriptionContent, {
2527
+ }), sectionproperties.gallerystyle == 'Style 2' && sectionproperties.prodCatShow == 'Show' && sectionproperties.descriptionposition != 'Top' && /*#__PURE__*/React__default["default"].createElement(DescriptionContent, {
2528
2528
  actions: props.actions
2529
2529
  }), sectionproperties.quantitybtn_show == 'Show' && sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
2530
2530
  className: "col-lg-12 p-0 mb-3"
@@ -2566,7 +2566,7 @@
2566
2566
  flexDirection: 'row',
2567
2567
  direction: 'ltr'
2568
2568
  }
2569
- }, /*#__PURE__*/React__default["default"].createElement("span", {
2569
+ }, sectionproperties.quantitybtneditable == 'No' && /*#__PURE__*/React__default["default"].createElement("span", {
2570
2570
  className: "".concat(productinfo_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
2571
2571
  onClick: function onClick() {
2572
2572
  var tempaddtocardpayloadobj = _objectSpread$2q({}, addtocardpayloadobj);
@@ -2582,9 +2582,9 @@
2582
2582
  }
2583
2583
  }, sectionproperties.quantityiconstyle == 'Plus/Minus' && /*#__PURE__*/React__default["default"].createElement(FiMinus.FiMinus, {
2584
2584
  size: sectionproperties.remove_quantitybtn_textfontsize
2585
- }))), /*#__PURE__*/React__default["default"].createElement("span", {
2585
+ }))), sectionproperties.quantitybtneditable == 'No' && /*#__PURE__*/React__default["default"].createElement("span", {
2586
2586
  className: "".concat(productinfo_cssstyles.quantitybtn_text)
2587
- }, addtocardpayloadobj.quantity), /*#__PURE__*/React__default["default"].createElement("span", {
2587
+ }, addtocardpayloadobj.quantity), sectionproperties.quantitybtneditable == 'No' && /*#__PURE__*/React__default["default"].createElement("span", {
2588
2588
  className: "".concat(productinfo_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
2589
2589
  onClick: function onClick() {
2590
2590
  var tempaddtocardpayloadobj = _objectSpread$2q({}, addtocardpayloadobj);
@@ -2600,7 +2600,30 @@
2600
2600
  }
2601
2601
  }, sectionproperties.quantityiconstyle == 'Plus/Minus' && /*#__PURE__*/React__default["default"].createElement(FiPlus.FiPlus, {
2602
2602
  size: sectionproperties.add_quantitybtn_textfontsize
2603
- })))), sectionproperties.cartbtnalone == 'Besides Other Buttons' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer22 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.productinfo) === null || _fetchProductInfoQuer22 === void 0 ? void 0 : _fetchProductInfoQuer22.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("button", {
2603
+ }))), sectionproperties.quantitybtneditable == 'Yes' && /*#__PURE__*/React__default["default"].createElement("input", {
2604
+ type: "number",
2605
+ style: {
2606
+ width: 100,
2607
+ height: 40,
2608
+ background: 'transparent',
2609
+ fontWeight: sectionproperties.quantitybtn_textfontweight,
2610
+ color: sectionproperties.quantitybtn_textcolor,
2611
+ fontSize: sectionproperties.quantitybtn_textfontsize + 'px',
2612
+ textAlign: 'center'
2613
+ },
2614
+ value: addtocardpayloadobj.quantity,
2615
+ onChange: function onChange(event) {
2616
+ if (event.target.value == NaN || event.target.value == undefined || event.target.value == null || event.target.value == '') {
2617
+ var tempaddtocardpayloadobj = _objectSpread$2q({}, addtocardpayloadobj);
2618
+ tempaddtocardpayloadobj.quantity = 1;
2619
+ setaddtocardpayloadobj(_objectSpread$2q({}, tempaddtocardpayloadobj));
2620
+ } else {
2621
+ var tempaddtocardpayloadobj = _objectSpread$2q({}, addtocardpayloadobj);
2622
+ tempaddtocardpayloadobj.quantity = parseInt(event.target.value);
2623
+ setaddtocardpayloadobj(_objectSpread$2q({}, tempaddtocardpayloadobj));
2624
+ }
2625
+ }
2626
+ })), sectionproperties.cartbtnalone == 'Besides Other Buttons' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer22 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.productinfo) === null || _fetchProductInfoQuer22 === void 0 ? void 0 : _fetchProductInfoQuer22.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("button", {
2604
2627
  className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',
2605
2628
  onClick: function onClick() {
2606
2629
  if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
@@ -5702,7 +5725,7 @@
5702
5725
  }, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 || (_authdetailsContext$i3 = _authdetailsContext$i3.contactinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.email)))), sectionproperties.storeinfostyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
5703
5726
  "class": "row m-0 w-100"
5704
5727
  }, sectionproperties.showfooterphonenumber == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber) != null && /*#__PURE__*/React__default["default"].createElement("div", {
5705
- "class": "col-lg-12 allcentered mb-2"
5728
+ "class": "col-lg-12 allcentered mb-2 p-sm-0"
5706
5729
  }, /*#__PURE__*/React__default["default"].createElement("button", {
5707
5730
  "class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
5708
5731
  onClick: function onClick() {
@@ -5711,7 +5734,7 @@
5711
5734
  }, /*#__PURE__*/React__default["default"].createElement("p", {
5712
5735
  "class": "m-0 p-0"
5713
5736
  }, langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 || (_authdetailsContext$i4 = _authdetailsContext$i4.contactinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.email) != null && /*#__PURE__*/React__default["default"].createElement("div", {
5714
- "class": "col-lg-12 allcentered mb-2"
5737
+ "class": "col-lg-12 allcentered mb-2 p-sm-0"
5715
5738
  }, /*#__PURE__*/React__default["default"].createElement("button", {
5716
5739
  "class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
5717
5740
  onClick: function onClick() {
@@ -5721,7 +5744,7 @@
5721
5744
  }, /*#__PURE__*/React__default["default"].createElement("p", {
5722
5745
  "class": "m-0 p-0"
5723
5746
  }, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.whatsappnumber) != null && /*#__PURE__*/React__default["default"].createElement("div", {
5724
- "class": "col-lg-12 allcentered mb-2"
5747
+ "class": "col-lg-12 allcentered mb-2 p-sm-0"
5725
5748
  }, /*#__PURE__*/React__default["default"].createElement("button", {
5726
5749
  "class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
5727
5750
  onClick: function onClick() {
@@ -17248,9 +17271,13 @@
17248
17271
  var _fetchCategoriesQuery;
17249
17272
  var temppcollarray = _toConsumableArray__default["default"](pcollarray);
17250
17273
  fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 || (_fetchCategoriesQuery = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery === void 0 || (_fetchCategoriesQuery = _fetchCategoriesQuery.data) === null || _fetchCategoriesQuery === void 0 || _fetchCategoriesQuery.categories.forEach(function (arrayItem) {
17251
- arrayItem === null || arrayItem === void 0 || arrayItem.parentcolletions.forEach(function (item) {
17252
- temppcollarray.push(item);
17253
- });
17274
+ if (arrayItem.isshowntocustomers == 1 && arrayItem.isinftiler == 1) {
17275
+ arrayItem === null || arrayItem === void 0 || arrayItem.parentcolletions.forEach(function (item) {
17276
+ if (item.isshowntocustomers == 1 && arrayItem.isinftiler == 1) {
17277
+ temppcollarray.push(item);
17278
+ }
17279
+ });
17280
+ }
17254
17281
  });
17255
17282
  setpcollarray(_toConsumableArray__default["default"](temppcollarray));
17256
17283
  }
@@ -17677,7 +17704,7 @@
17677
17704
  function ownKeys$1Y(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; }
17678
17705
  function _objectSpread$1Y(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1Y(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1Y(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
17679
17706
  var Headerresponsive = function Headerresponsive(props) {
17680
- var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _fetchCategoriesQuery;
17707
+ var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _fetchCategoriesQuery, _authdetailsContext$i9;
17681
17708
  var actions = props.actions;
17682
17709
  var LogoutMutationContext = props.actions.LogoutMutationContext;
17683
17710
  var setsidecartnavshowcontext = props.actions.setsidecartnavshowcontext;
@@ -18449,7 +18476,7 @@
18449
18476
  }, langdetect == 'en' ? item.pagename : item.pagename_ar))), /*#__PURE__*/React__default["default"].createElement("div", {
18450
18477
  className: "col-lg-12"
18451
18478
  }, /*#__PURE__*/React__default["default"].createElement("hr", {
18452
- className: "mt-3 mb-3",
18479
+ className: "mt-4 mb-4",
18453
18480
  style: {
18454
18481
  borderColor: sectionproperties.resp_header_separatorbg
18455
18482
  }
@@ -18467,7 +18494,7 @@
18467
18494
  }, langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear)), /*#__PURE__*/React__default["default"].createElement("div", {
18468
18495
  className: "col-lg-12"
18469
18496
  }, /*#__PURE__*/React__default["default"].createElement("hr", {
18470
- className: "mt-3 mb-3",
18497
+ className: "mt-4 mb-4",
18471
18498
  style: {
18472
18499
  borderColor: sectionproperties.resp_header_separatorbg
18473
18500
  }
@@ -18483,7 +18510,7 @@
18483
18510
  }, lang.wishlist)), /*#__PURE__*/React__default["default"].createElement("div", {
18484
18511
  className: "col-lg-12"
18485
18512
  }, /*#__PURE__*/React__default["default"].createElement("hr", {
18486
- className: "mt-3 mb-3",
18513
+ className: "mt-4 mb-4",
18487
18514
  style: {
18488
18515
  borderColor: sectionproperties.resp_header_separatorbg
18489
18516
  }
@@ -18550,12 +18577,27 @@
18550
18577
  backgroundColor: 'white'
18551
18578
  },
18552
18579
  backdrop: true
18553
- }, /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas.Header, null, /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas.Title, null, /*#__PURE__*/React__default["default"].createElement("div", {
18580
+ }, /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas.Header, null, /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas.Title, null, langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("div", {
18581
+ "class": "allcentered",
18582
+ style: {
18583
+ position: 'absolute',
18584
+ right: -34,
18585
+ top: 5,
18586
+ width: 30,
18587
+ height: 30,
18588
+ background: '#000'
18589
+ },
18590
+ onClick: function onClick() {
18591
+ setopenCnvas(false);
18592
+ }
18593
+ }, /*#__PURE__*/React__default["default"].createElement(IoMdClose.IoMdClose, {
18594
+ color: '#fff',
18595
+ size: 16
18596
+ })), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("div", {
18554
18597
  "class": "allcentered",
18555
18598
  style: {
18556
18599
  position: 'absolute',
18557
- right: langdetect == 'en' ? -34 : '',
18558
- left: langdetect == 'en' ? -34 : '',
18600
+ left: -34,
18559
18601
  top: 5,
18560
18602
  width: 30,
18561
18603
  height: 30,
@@ -18667,7 +18709,7 @@
18667
18709
  }, lang.wishlist)), /*#__PURE__*/React__default["default"].createElement("div", {
18668
18710
  className: "col-lg-12 p-0"
18669
18711
  }, /*#__PURE__*/React__default["default"].createElement("hr", {
18670
- className: "mt-3 mb-3",
18712
+ className: "mt-4 mb-4",
18671
18713
  style: {
18672
18714
  borderColor: sectionproperties.resp_header_separatorbg
18673
18715
  }
@@ -18683,7 +18725,7 @@
18683
18725
  className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
18684
18726
  }, lang.policies)))))), activeTab == 'categories' && /*#__PURE__*/React__default["default"].createElement("div", {
18685
18727
  className: ' row m-0 w-100 accordionContainer anim'
18686
- }, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion, {
18728
+ }, sectionproperties.subheaderParentType == 'Categories' && /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion, {
18687
18729
  allowMultipleExpanded: true,
18688
18730
  allowZeroExpanded: true
18689
18731
  }, fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 || (_fetchCategoriesQuery = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery === void 0 || (_fetchCategoriesQuery = _fetchCategoriesQuery.data) === null || _fetchCategoriesQuery === void 0 ? void 0 : _fetchCategoriesQuery.categories.map(function (item, index) {
@@ -18731,7 +18773,7 @@
18731
18773
  }))), /*#__PURE__*/React__default["default"].createElement("div", {
18732
18774
  className: "col-lg-12 p-0"
18733
18775
  }, /*#__PURE__*/React__default["default"].createElement("hr", {
18734
- className: "mt-3 mb-3",
18776
+ className: "mt-4 mb-4",
18735
18777
  style: {
18736
18778
  borderColor: sectionproperties.resp_header_separatorbg
18737
18779
  }
@@ -18782,7 +18824,7 @@
18782
18824
  }))), /*#__PURE__*/React__default["default"].createElement("div", {
18783
18825
  className: "col-lg-12 p-0"
18784
18826
  }, /*#__PURE__*/React__default["default"].createElement("hr", {
18785
- className: "mt-3 mb-3",
18827
+ className: "mt-4 mb-4",
18786
18828
  style: {
18787
18829
  borderColor: sectionproperties.resp_header_separatorbg
18788
18830
  }
@@ -18805,7 +18847,7 @@
18805
18847
  }, langdetect == 'en' ? collitem.title_en : collitem.title_ar))), /*#__PURE__*/React__default["default"].createElement("div", {
18806
18848
  className: "col-lg-12 p-0"
18807
18849
  }, /*#__PURE__*/React__default["default"].createElement("hr", {
18808
- className: "mt-3 mb-3",
18850
+ className: "mt-4 mb-4",
18809
18851
  style: {
18810
18852
  borderColor: sectionproperties.resp_header_separatorbg
18811
18853
  }
@@ -18815,6 +18857,27 @@
18815
18857
  }
18816
18858
  }))))));
18817
18859
  }
18860
+ })), sectionproperties.subheaderParentType == 'Collections' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 || (_authdetailsContext$i9 = _authdetailsContext$i9.instcollections) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.map(function (collitem, collindex) {
18861
+ if (collitem.isshowntocustomers == 1) {
18862
+ return /*#__PURE__*/React__default["default"].createElement("div", {
18863
+ className: ' row m-0 p-0 mb-2 w-100 '
18864
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
18865
+ className: "col-12 p-0 text-start px-3",
18866
+ onClick: function onClick() {
18867
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + collitem.collectionid);
18868
+ setopenCnvas(false);
18869
+ }
18870
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
18871
+ className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
18872
+ }, langdetect == 'en' ? collitem.title_en : collitem.title_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
18873
+ className: "col-lg-12 p-0"
18874
+ }, /*#__PURE__*/React__default["default"].createElement("hr", {
18875
+ className: "mt-4 mb-4",
18876
+ style: {
18877
+ borderColor: sectionproperties.resp_header_separatorbg
18878
+ }
18879
+ })));
18880
+ }
18818
18881
  })))))));
18819
18882
  };
18820
18883
 
@@ -19008,7 +19071,7 @@
19008
19071
  function ownKeys$1V(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; }
19009
19072
  function _objectSpread$1V(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1V(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1V(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
19010
19073
  var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
19011
- var _css, _logoarrayofobjects$, _logoarrayofobjects$2;
19074
+ var _css, _logoarrayofobjects$, _logoarrayofobjects$2, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8;
19012
19075
  var actions = props.actions;
19013
19076
  var LogoutMutationContext = props.actions.LogoutMutationContext;
19014
19077
  var setsidecartnavshowcontext = props.actions.setsidecartnavshowcontext;
@@ -19016,7 +19079,7 @@
19016
19079
  props.actions.StatePagePropertiesContext;
19017
19080
  var lang = props.actions.lang;
19018
19081
  var langdetect = props.actions.langdetect;
19019
- props.actions.setlang;
19082
+ var setlang = props.actions.setlang;
19020
19083
  var templatepropcontext = props.actions.templatepropcontext;
19021
19084
  var authdetailsContext = props.actions.authdetailsContext;
19022
19085
  var fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
@@ -19057,9 +19120,9 @@
19057
19120
  _useState12[0];
19058
19121
  _useState12[1];
19059
19122
  var _useState13 = React.useState(''),
19060
- _useState14 = _slicedToArray__default["default"](_useState13, 2);
19061
- _useState14[0];
19062
- _useState14[1];
19123
+ _useState14 = _slicedToArray__default["default"](_useState13, 2),
19124
+ activeTab = _useState14[0],
19125
+ setactiveTab = _useState14[1];
19063
19126
  React.useEffect(function () {
19064
19127
  if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
19065
19128
  var logoarrayofobjectsparsed = JSON.parse(templateproperties_context.logoarrayofobjects);
@@ -19067,6 +19130,7 @@
19067
19130
  setlogoarrayofobjects(_toConsumableArray__default["default"](logoarrayofobjectsparsed));
19068
19131
  }
19069
19132
  }
19133
+ // alert(JSON.stringify(templateproperties_context));
19070
19134
  }, [templateproperties_context]);
19071
19135
  var header_cssstyles = {
19072
19136
  header_logo: glamor.css({
@@ -19232,15 +19296,25 @@
19232
19296
  }
19233
19297
  })
19234
19298
  };
19299
+ var returnpolicyobj = function returnpolicyobj(policytype) {
19300
+ var _authdetailsContext$i;
19301
+ var policyobj = {};
19302
+ authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 || (_authdetailsContext$i = _authdetailsContext$i.instpolicies) === null || _authdetailsContext$i === void 0 || _authdetailsContext$i.forEach(function (item, index) {
19303
+ if (item.policytype == policytype) {
19304
+ policyobj = item;
19305
+ }
19306
+ });
19307
+ return policyobj;
19308
+ };
19235
19309
  var CartButton = function CartButton() {
19236
19310
  var _fetchcustomercartQue2, _fetchcustomercartQue3;
19237
19311
  return /*#__PURE__*/React__default["default"].createElement("div", {
19238
- "class": "d-flex align-items-center mx-2",
19312
+ "class": "d-flex align-items-center",
19239
19313
  style: {
19240
19314
  position: 'relative'
19241
19315
  }
19242
19316
  }, /*#__PURE__*/React__default["default"].createElement("button", {
19243
- className: "".concat(header_cssstyles.addtocartbtn_resp) + ' d-flex align-items-center justify-content-center ml-1 p-0 ',
19317
+ className: "".concat(header_cssstyles.addtocartbtn_resp) + ' d-flex align-items-center justify-content-center p-0 ',
19244
19318
  onClick: function onClick() {
19245
19319
  var _fetchcustomercartQue;
19246
19320
  if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.data) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.customercart) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.cartitems) === null || _fetchcustomercartQue === void 0 ? void 0 : _fetchcustomercartQue.length) > 7) {
@@ -19361,7 +19435,46 @@
19361
19435
  zIndex: 10000,
19362
19436
  overflow: 'scroll'
19363
19437
  }
19438
+ }, sectionproperties.responsiveheaderstyle == 'Style 2 With Subheader' && /*#__PURE__*/React__default["default"].createElement("div", {
19439
+ className: "row m-0 w-100 mb-5",
19440
+ style: {
19441
+ borderBottom: '1px solid #eee'
19442
+ }
19364
19443
  }, /*#__PURE__*/React__default["default"].createElement("div", {
19444
+ className: 'col-6 allcentered py-3',
19445
+ onClick: function onClick() {
19446
+ setactiveTab('menu');
19447
+ },
19448
+ style: {
19449
+ background: activeTab == 'menu' ? 'white' : '#eee'
19450
+ }
19451
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
19452
+ className: "m-0 p-0",
19453
+ style: {
19454
+ textTransform: 'uppercase',
19455
+ fontWeight: 500,
19456
+ fontSize: '15px',
19457
+ transition: '.3s',
19458
+ color: '#000'
19459
+ }
19460
+ }, langdetect == 'en' ? 'MENU' : 'القائمة')), /*#__PURE__*/React__default["default"].createElement("div", {
19461
+ className: 'col-6 allcentered py-3',
19462
+ onClick: function onClick() {
19463
+ setactiveTab('categories');
19464
+ },
19465
+ style: {
19466
+ background: activeTab == 'categories' ? 'white' : '#eee'
19467
+ }
19468
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
19469
+ className: "m-0 p-0",
19470
+ style: {
19471
+ textTransform: 'uppercase',
19472
+ fontWeight: 500,
19473
+ fontSize: '15px',
19474
+ transition: '.3s',
19475
+ color: '#000'
19476
+ }
19477
+ }, langdetect == 'en' ? 'SHOP' : 'تسوق'))), sectionproperties.responsiveheaderstyle != 'Style 2 With Subheader' && /*#__PURE__*/React__default["default"].createElement("div", {
19365
19478
  "class": "col-lg-12 text-end anim"
19366
19479
  }, /*#__PURE__*/React__default["default"].createElement("i", {
19367
19480
  "class": ' h-100 allcentered ',
@@ -19403,7 +19516,7 @@
19403
19516
  }
19404
19517
  })));
19405
19518
  }
19406
- }), /*#__PURE__*/React__default["default"].createElement("div", {
19519
+ }), templateproperties_context.showfavorites == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
19407
19520
  className: "row m-0 w-100 anim"
19408
19521
  }, /*#__PURE__*/React__default["default"].createElement("div", {
19409
19522
  className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1"
@@ -19421,7 +19534,7 @@
19421
19534
  style: {
19422
19535
  borderColor: sectionproperties.resp_header_separatorbg
19423
19536
  }
19424
- }))), /*#__PURE__*/React__default["default"].createElement("div", {
19537
+ }))), templateproperties_context.separatepolicies == 'No' && templateproperties_context.showpolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
19425
19538
  className: "row m-0 w-100 anim"
19426
19539
  }, /*#__PURE__*/React__default["default"].createElement("div", {
19427
19540
  className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1"
@@ -19432,7 +19545,79 @@
19432
19545
  }
19433
19546
  }, /*#__PURE__*/React__default["default"].createElement("p", {
19434
19547
  className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
19435
- }, lang.policies))), authdetailsContext.loggedin == true && templateproperties_context.showprevorder == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
19548
+ }, lang.policies))), /*#__PURE__*/React__default["default"].createElement("div", {
19549
+ className: "col-lg-12 p-0"
19550
+ }, /*#__PURE__*/React__default["default"].createElement("hr", {
19551
+ className: "mt-3 mb-3",
19552
+ style: {
19553
+ borderColor: sectionproperties.resp_header_separatorbg
19554
+ }
19555
+ }))), templateproperties_context.separatepolicies == 'Yes' && templateproperties_context.showpolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
19556
+ className: "row m-0 w-100 anim"
19557
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
19558
+ className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1"
19559
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
19560
+ onClick: function onClick() {
19561
+ routingcountext(StaticPagesLinksContext.PrivacyPolicy);
19562
+ setmenuactive(false);
19563
+ }
19564
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
19565
+ className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
19566
+ }, langdetect == 'en' ? (_returnpolicyobj = returnpolicyobj('Privacy Policy')) === null || _returnpolicyobj === void 0 ? void 0 : _returnpolicyobj.policypagename_en : (_returnpolicyobj2 = returnpolicyobj('Privacy Policy')) === null || _returnpolicyobj2 === void 0 ? void 0 : _returnpolicyobj2.policypagename_ar))), /*#__PURE__*/React__default["default"].createElement("div", {
19567
+ className: "col-lg-12 p-0"
19568
+ }, /*#__PURE__*/React__default["default"].createElement("hr", {
19569
+ className: "mt-3 mb-3",
19570
+ style: {
19571
+ borderColor: sectionproperties.resp_header_separatorbg
19572
+ }
19573
+ }))), templateproperties_context.separatepolicies == 'Yes' && templateproperties_context.showpolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
19574
+ className: "row m-0 w-100 anim"
19575
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
19576
+ className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1"
19577
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
19578
+ onClick: function onClick() {
19579
+ routingcountext(StaticPagesLinksContext.ShippingPolicy);
19580
+ setmenuactive(false);
19581
+ }
19582
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
19583
+ className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
19584
+ }, langdetect == 'en' ? (_returnpolicyobj3 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj3 === void 0 ? void 0 : _returnpolicyobj3.policypagename_en : (_returnpolicyobj4 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj4 === void 0 ? void 0 : _returnpolicyobj4.policypagename_ar))), /*#__PURE__*/React__default["default"].createElement("div", {
19585
+ className: "col-lg-12 p-0"
19586
+ }, /*#__PURE__*/React__default["default"].createElement("hr", {
19587
+ className: "mt-3 mb-3",
19588
+ style: {
19589
+ borderColor: sectionproperties.resp_header_separatorbg
19590
+ }
19591
+ }))), templateproperties_context.separatepolicies == 'Yes' && templateproperties_context.showpolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
19592
+ className: "row m-0 w-100 anim"
19593
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
19594
+ className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1"
19595
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
19596
+ onClick: function onClick() {
19597
+ routingcountext(StaticPagesLinksContext.RefundPolicy);
19598
+ setmenuactive(false);
19599
+ }
19600
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
19601
+ className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
19602
+ }, langdetect == 'en' ? (_returnpolicyobj5 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj5 === void 0 ? void 0 : _returnpolicyobj5.policypagename_en : (_returnpolicyobj6 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj6 === void 0 ? void 0 : _returnpolicyobj6.policypagename_ar))), /*#__PURE__*/React__default["default"].createElement("div", {
19603
+ className: "col-lg-12 p-0"
19604
+ }, /*#__PURE__*/React__default["default"].createElement("hr", {
19605
+ className: "mt-3 mb-3",
19606
+ style: {
19607
+ borderColor: sectionproperties.resp_header_separatorbg
19608
+ }
19609
+ }))), templateproperties_context.separatepolicies == 'Yes' && templateproperties_context.showpolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
19610
+ className: "row m-0 w-100 anim"
19611
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
19612
+ className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1"
19613
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
19614
+ onClick: function onClick() {
19615
+ routingcountext(StaticPagesLinksContext.TermsConditions);
19616
+ setmenuactive(false);
19617
+ }
19618
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
19619
+ className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
19620
+ }, langdetect == 'en' ? (_returnpolicyobj7 = returnpolicyobj('Terms & Conditions')) === null || _returnpolicyobj7 === void 0 ? void 0 : _returnpolicyobj7.policypagename_en : (_returnpolicyobj8 = returnpolicyobj('Terms & Conditions')) === null || _returnpolicyobj8 === void 0 ? void 0 : _returnpolicyobj8.policypagename_ar))), /*#__PURE__*/React__default["default"].createElement("div", {
19436
19621
  className: "col-lg-12 p-0"
19437
19622
  }, /*#__PURE__*/React__default["default"].createElement("hr", {
19438
19623
  className: "mt-3 mb-3",
@@ -19450,7 +19635,60 @@
19450
19635
  }
19451
19636
  }, /*#__PURE__*/React__default["default"].createElement("p", {
19452
19637
  className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
19453
- }, langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear)))), /*#__PURE__*/React__default["default"].createElement("div", {
19638
+ }, langdetect == 'en' ? templateproperties_context.previousorders_titleen : templateproperties_context.previousorders_titlear))), /*#__PURE__*/React__default["default"].createElement("div", {
19639
+ className: "col-lg-12 p-0"
19640
+ }, /*#__PURE__*/React__default["default"].createElement("hr", {
19641
+ className: "mt-3 mb-3",
19642
+ style: {
19643
+ borderColor: sectionproperties.resp_header_separatorbg
19644
+ }
19645
+ }))), sectionproperties.showlanuagecontainer == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
19646
+ className: "row m-0 w-100 anim"
19647
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
19648
+ "class": header_cssstyles.navbarItem + ' col-lg-12 p-0 d-flex align-items-center justify-content-start mb-2 ',
19649
+ style: {}
19650
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
19651
+ "class": "".concat(header_cssstyles.navbar_item_text_responsive) + ' m-0 p-0 ',
19652
+ style: {
19653
+ cursor: 'default'
19654
+ }
19655
+ }, langdetect == 'en' ? 'Language' : 'اللغة')), /*#__PURE__*/React__default["default"].createElement("div", {
19656
+ "class": "col-lg-12 p-0 d-flex align-items-center justify-content-start my-1"
19657
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
19658
+ "class": "row m-0 w-100",
19659
+ style: {
19660
+ background: sectionproperties.langcontainerbgresp,
19661
+ borderRadius: 5
19662
+ }
19663
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
19664
+ "class": header_cssstyles.navbarItem + ' col-6 p-0 allcentered py-2 px-2 cursor-pointer ',
19665
+ onClick: function onClick() {
19666
+ setlang('en');
19667
+ setmenuactive(false);
19668
+ }
19669
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
19670
+ "class": "m-0 p-0 w-100 allcentered py-3",
19671
+ style: {
19672
+ background: langdetect == 'en' ? sectionproperties.langcontainerbgresp_active : 'transparent',
19673
+ borderRadius: 5,
19674
+ fontSize: 15,
19675
+ color: sectionproperties.language_container_color_resp
19676
+ }
19677
+ }, "English")), /*#__PURE__*/React__default["default"].createElement("div", {
19678
+ "class": header_cssstyles.navbarItem + ' col-6 p-0 allcentered py-2 px-2 cursor-pointer ',
19679
+ onClick: function onClick() {
19680
+ setlang('ar');
19681
+ setmenuactive(false);
19682
+ }
19683
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
19684
+ "class": "m-0 p-0 w-100 allcentered py-3",
19685
+ style: {
19686
+ borderRadius: 5,
19687
+ background: langdetect == 'ar' ? sectionproperties.langcontainerbgresp_active : 'transparent',
19688
+ fontSize: 15,
19689
+ color: sectionproperties.language_container_color_resp
19690
+ }
19691
+ }, "\u0644\u063A\u0629 \u0639\u0631\u0628\u064A\u0629"))))), sectionproperties.ShowUserBtn == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
19454
19692
  "class": "row m-0 w-100 mt-5"
19455
19693
  }, !authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement("button", {
19456
19694
  "class": "".concat(header_cssstyles.userbtn_respContainer) + ' anim d-flex align-items-center justify-content-start p-0 m-0 ',
@@ -19869,7 +20107,7 @@
19869
20107
  "class": header_cssstyles.textSlider + ' mb-0 p-0 '
19870
20108
  }, langdetect == 'en' ? (_textarray$ = textarray[0]) === null || _textarray$ === void 0 ? void 0 : _textarray$.textEnglish : (_textarray$2 = textarray[0]) === null || _textarray$2 === void 0 ? void 0 : _textarray$2.textArabic))), /*#__PURE__*/React__default["default"].createElement("div", {
19871
20109
  "class": "col-lg-4 p-0 text-end"
19872
- }, langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("div", {
20110
+ }, langdetect == 'ar' && sectionproperties.showlanuagecontainer == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
19873
20111
  "class": "".concat(header_cssstyles.languagecontainer) + ' allcentered mx-4 ',
19874
20112
  onClick: function onClick() {
19875
20113
  setlang('en');
@@ -19889,7 +20127,7 @@
19889
20127
  "class": "ml-2 mr-2"
19890
20128
  }), /*#__PURE__*/React__default["default"].createElement("p", {
19891
20129
  "class": "m-0 p-0"
19892
- }, "\u0639")), langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("div", {
20130
+ }, "\u0639")), langdetect == 'en' && sectionproperties.showlanuagecontainer == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
19893
20131
  "class": "".concat(header_cssstyles.languagecontainer) + ' allcentered mx-4 ',
19894
20132
  onClick: function onClick() {
19895
20133
  setlang('ar');
@@ -19909,7 +20147,7 @@
19909
20147
  "class": "ml-2 mr-2"
19910
20148
  }), /*#__PURE__*/React__default["default"].createElement("p", {
19911
20149
  "class": "m-0 p-0"
19912
- }, "En")), /*#__PURE__*/React__default["default"].createElement("div", {
20150
+ }, "En")), sectionproperties.ShowUserBtn == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
19913
20151
  "class": "allcentered"
19914
20152
  }, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"], null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Toggle, null, !authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement("div", {
19915
20153
  "class": "".concat(header_cssstyles.user_btn) + ' d-flex align-items-center justify-content-center pt-1 ',
@@ -19940,7 +20178,7 @@
19940
20178
  style: {
19941
20179
  minWidth: '200px'
19942
20180
  }
19943
- }, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
20181
+ }, templateproperties_context.showprevorder == 'Show' && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
19944
20182
  onClick: function onClick() {
19945
20183
  routingcountext(StaticPagesLinksContext.Ordershistory);
19946
20184
  }
@@ -19948,7 +20186,7 @@
19948
20186
  "class": "".concat(header_cssstyles.dropdownitemcontainer) + ' allcenetered m-0 p-0 '
19949
20187
  }, /*#__PURE__*/React__default["default"].createElement("p", {
19950
20188
  "class": ' allcenetered m-0 p-0 '
19951
- }, langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
20189
+ }, langdetect == 'en' ? templateproperties_context.previousorders_titleen : templateproperties_context.previousorders_titlear))), templateproperties_context.showprevorder == 'Show' && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), templateproperties_context.showfavorites == 'Show' && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
19952
20190
  onClick: function onClick() {
19953
20191
  routingcountext(StaticPagesLinksContext.Wishlist);
19954
20192
  }
@@ -19956,7 +20194,7 @@
19956
20194
  "class": "".concat(header_cssstyles.dropdownitemcontainer) + ' allcenetered m-0 p-0 '
19957
20195
  }, /*#__PURE__*/React__default["default"].createElement("p", {
19958
20196
  "class": ' allcenetered m-0 p-0 '
19959
- }, langdetect == 'en' ? sectionproperties.wishlisttitle_en : sectionproperties.wishlisttitle_ar))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
20197
+ }, langdetect == 'en' ? sectionproperties.wishlisttitle_en : sectionproperties.wishlisttitle_ar))), templateproperties_context.showfavorites == 'Show' && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
19960
20198
  onClick: function onClick() {
19961
20199
  LogoutMutationContext.mutate();
19962
20200
  }
@@ -20008,6 +20246,11 @@
20008
20246
  size: sectionproperties.searchbarcontfontsize
20009
20247
  })))), /*#__PURE__*/React__default["default"].createElement("div", {
20010
20248
  "class": "col-xl-8 col-lg-10 p-0 allcentered flex-row"
20249
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
20250
+ "class": ' scrollhorizontal w-100 align-items-center justify-content-center ',
20251
+ style: {
20252
+ display: sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' ? 'none' : 'flex'
20253
+ }
20011
20254
  }, templatepropcontext.pagesnprop.map(function (item, index) {
20012
20255
  if (item.isnavigation == 1 && item.isactive == 1) {
20013
20256
  return /*#__PURE__*/React__default["default"].createElement("div", {
@@ -20017,6 +20260,15 @@
20017
20260
  }
20018
20261
  }, langdetect == 'en' ? item.pagename : item.pagename_ar);
20019
20262
  }
20263
+ })), sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' && /*#__PURE__*/React__default["default"].createElement(Subheader, {
20264
+ sectionpropertiesprops: sectionproperties,
20265
+ actions: actions,
20266
+ subheaderpropertiesprops: {
20267
+ subheaderpositionprops: 'in nav',
20268
+ paddingLeftprops: '25px',
20269
+ paddingRightprops: '25px',
20270
+ subheadercontentpositionprops: 'center'
20271
+ }
20020
20272
  })), /*#__PURE__*/React__default["default"].createElement("div", {
20021
20273
  "class": "col-xl-2 col-lg-1 col-md-6 col-sm-12 p-0 d-flex align-items-center justify-content-end"
20022
20274
  }, sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
@@ -25177,7 +25429,7 @@
25177
25429
  }
25178
25430
  }, /*#__PURE__*/React__default["default"].createElement(FiSearch.FiSearch, {
25179
25431
  size: sectionproperties.searchbaricon_fontsize
25180
- })), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
25432
+ })), sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
25181
25433
  "class": langdetect == 'en' ? "".concat(header_cssstyles.wishlist_btn) + ' cursor-pointer allcentered ml-3 ' : "".concat(header_cssstyles.wishlist_btn) + ' cursor-pointer allcentered mr-3 ',
25182
25434
  onClick: function onClick() {
25183
25435
  routingcountext(StaticPagesLinksContext.Wishlist);
@@ -25199,7 +25451,7 @@
25199
25451
  }
25200
25452
  })), sectionproperties.showfavbadge == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
25201
25453
  "class": "".concat(headerstyles$9.badge_counter_header_notifications, " ").concat(header_cssstyles.badge_counter_header_notifications)
25202
- }, /*#__PURE__*/React__default["default"].createElement("span", null, " ", favoriteprojectscountContext.length >= 10 ? '+9' : favoriteprojectscountContext.length)))), sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
25454
+ }, /*#__PURE__*/React__default["default"].createElement("span", null, " ", favoriteprojectscountContext.length >= 10 ? '+9' : favoriteprojectscountContext.length)))), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
25203
25455
  style: {
25204
25456
  position: 'relative'
25205
25457
  },
@@ -25408,7 +25660,7 @@
25408
25660
  "class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem allcenetered m-0 p-0 '
25409
25661
  }, /*#__PURE__*/React__default["default"].createElement(BiLogOutCircle.BiLogOutCircle, {
25410
25662
  "class": langdetect == 'en' ? 'mr-2' : 'ml-2'
25411
- }), lang.logout))))), /*#__PURE__*/React__default["default"].createElement("div", {
25663
+ }), lang.logout))))), sectionproperties.showlanuagecontainer == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
25412
25664
  "class": langdetect == 'en' ? ' allcentered m-0 cursor-pointer ml-3 ' : ' m-0 cursor-pointer mr-3 ',
25413
25665
  style: {
25414
25666
  minWidth: '30px'
@@ -25443,7 +25695,10 @@
25443
25695
  paddingRightprops: '25px',
25444
25696
  subheadercontentpositionprops: sectionproperties.header_centered == 'Centered' ? 'center' : 'start'
25445
25697
  }
25446
- })))))), /*#__PURE__*/React__default["default"].createElement(Headerresponsive, {
25698
+ })))))), sectionproperties.responsiveheaderstyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement(Headerresponsive, {
25699
+ sectionpropertiesprops: sectionproperties,
25700
+ actions: actions
25701
+ }), sectionproperties.responsiveheaderstyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement(HeaderresponsiveStyle2, {
25447
25702
  sectionpropertiesprops: sectionproperties,
25448
25703
  actions: actions
25449
25704
  }), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas, {
@@ -42058,7 +42313,7 @@
42058
42313
  style: {
42059
42314
  textAlign: langdetect == 'en' ? 'left' : 'right'
42060
42315
  }
42061
- }, lang.orderhistory))), templateproperties_context.showpolicies == 'Show' && sectionproperties.separatepolicies == 'No' && /*#__PURE__*/React__default["default"].createElement("div", {
42316
+ }, langdetect == 'en' ? templateproperties_context.previousorders_titleen : templateproperties_context.previousorders_titlear))), templateproperties_context.showpolicies == 'Show' && templateproperties_context.separatepolicies == 'No' && /*#__PURE__*/React__default["default"].createElement("div", {
42062
42317
  "class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex mb-1"
42063
42318
  }, /*#__PURE__*/React__default["default"].createElement("div", {
42064
42319
  onClick: function onClick() {
@@ -42069,7 +42324,7 @@
42069
42324
  style: {
42070
42325
  textAlign: langdetect == 'en' ? 'left' : 'right'
42071
42326
  }
42072
- }, langdetect == 'en' ? sectionproperties.policiestexten : sectionproperties.policiestextar))), templateproperties_context.showpolicies == 'Show' && sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
42327
+ }, langdetect == 'en' ? sectionproperties.policiestexten : sectionproperties.policiestextar))), templateproperties_context.showpolicies == 'Show' && templateproperties_context.separatepolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
42073
42328
  "class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex mb-1"
42074
42329
  }, /*#__PURE__*/React__default["default"].createElement("div", {
42075
42330
  onClick: function onClick() {
@@ -42080,7 +42335,7 @@
42080
42335
  style: {
42081
42336
  textAlign: langdetect == 'en' ? 'left' : 'right'
42082
42337
  }
42083
- }, langdetect == 'en' ? (_returnpolicyobj = returnpolicyobj('Privacy Policy')) === null || _returnpolicyobj === void 0 ? void 0 : _returnpolicyobj.policypagename_en : (_returnpolicyobj2 = returnpolicyobj('Privacy Policy')) === null || _returnpolicyobj2 === void 0 ? void 0 : _returnpolicyobj2.policypagename_ar))), templateproperties_context.showpolicies == 'Show' && sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
42338
+ }, langdetect == 'en' ? (_returnpolicyobj = returnpolicyobj('Privacy Policy')) === null || _returnpolicyobj === void 0 ? void 0 : _returnpolicyobj.policypagename_en : (_returnpolicyobj2 = returnpolicyobj('Privacy Policy')) === null || _returnpolicyobj2 === void 0 ? void 0 : _returnpolicyobj2.policypagename_ar))), templateproperties_context.showpolicies == 'Show' && templateproperties_context.separatepolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
42084
42339
  "class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex mb-1"
42085
42340
  }, /*#__PURE__*/React__default["default"].createElement("div", {
42086
42341
  onClick: function onClick() {
@@ -42091,7 +42346,7 @@
42091
42346
  style: {
42092
42347
  textAlign: langdetect == 'en' ? 'left' : 'right'
42093
42348
  }
42094
- }, langdetect == 'en' ? (_returnpolicyobj3 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj3 === void 0 ? void 0 : _returnpolicyobj3.policypagename_en : (_returnpolicyobj4 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj4 === void 0 ? void 0 : _returnpolicyobj4.policypagename_ar))), templateproperties_context.showpolicies == 'Show' && sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
42349
+ }, langdetect == 'en' ? (_returnpolicyobj3 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj3 === void 0 ? void 0 : _returnpolicyobj3.policypagename_en : (_returnpolicyobj4 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj4 === void 0 ? void 0 : _returnpolicyobj4.policypagename_ar))), templateproperties_context.showpolicies == 'Show' && templateproperties_context.separatepolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
42095
42350
  "class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex mb-1"
42096
42351
  }, /*#__PURE__*/React__default["default"].createElement("div", {
42097
42352
  onClick: function onClick() {
@@ -42102,7 +42357,7 @@
42102
42357
  style: {
42103
42358
  textAlign: langdetect == 'en' ? 'left' : 'right'
42104
42359
  }
42105
- }, langdetect == 'en' ? (_returnpolicyobj5 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj5 === void 0 ? void 0 : _returnpolicyobj5.policypagename_en : (_returnpolicyobj6 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj6 === void 0 ? void 0 : _returnpolicyobj6.policypagename_ar))), templateproperties_context.showpolicies == 'Show' && sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
42360
+ }, langdetect == 'en' ? (_returnpolicyobj5 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj5 === void 0 ? void 0 : _returnpolicyobj5.policypagename_en : (_returnpolicyobj6 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj6 === void 0 ? void 0 : _returnpolicyobj6.policypagename_ar))), templateproperties_context.showpolicies == 'Show' && templateproperties_context.separatepolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
42106
42361
  "class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex mb-1"
42107
42362
  }, /*#__PURE__*/React__default["default"].createElement("div", {
42108
42363
  onClick: function onClick() {
@@ -42133,7 +42388,7 @@
42133
42388
  }
42134
42389
  }
42135
42390
  }, sectionproperties.fbiconfontsize != 0 && /*#__PURE__*/React__default["default"].createElement(FaFacebookF.FaFacebookF, {
42136
- "class": 'mr-2',
42391
+ "class": langdetect == 'en' ? 'mr-2' : 'ml-2',
42137
42392
  size: sectionproperties.fbiconfontsize
42138
42393
  }), sectionproperties.fblinktext)), sectionproperties.instbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.instagramlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
42139
42394
  "class": "col-lg-12 d-flex justify-content-start align-items-center p-0 mb-1"
@@ -42147,7 +42402,7 @@
42147
42402
  }
42148
42403
  }
42149
42404
  }, sectionproperties.instagramiconfontsize != 0 && /*#__PURE__*/React__default["default"].createElement(AiFillInstagram.AiFillInstagram, {
42150
- "class": 'mr-2',
42405
+ "class": langdetect == 'en' ? 'mr-2' : 'ml-2',
42151
42406
  size: sectionproperties.instagramiconfontsize
42152
42407
  }), sectionproperties.instagramlinktext)), sectionproperties.youtbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.whatsappnumber) != null && /*#__PURE__*/React__default["default"].createElement("div", {
42153
42408
  "class": "col-lg-12 d-flex justify-content-start align-items-center p-0 mb-1"
@@ -42161,7 +42416,7 @@
42161
42416
  }
42162
42417
  }
42163
42418
  }, sectionproperties.whatsappiconfontsize != 0 && /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
42164
- "class": 'mr-2',
42419
+ "class": langdetect == 'en' ? 'mr-2' : 'ml-2',
42165
42420
  size: sectionproperties.whatsappiconfontsize
42166
42421
  }), sectionproperties.whatsapplinktext)), sectionproperties.linkedinbtnshow == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.linkedinlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
42167
42422
  "class": "col-lg-12 d-flex justify-content-start align-items-center p-0 mb-1"
@@ -42175,7 +42430,7 @@
42175
42430
  }
42176
42431
  }
42177
42432
  }, sectionproperties.linkedinbtniconfontsize != 0 && /*#__PURE__*/React__default["default"].createElement(AiOutlineLinkedin.AiOutlineLinkedin, {
42178
- "class": 'mr-2',
42433
+ "class": langdetect == 'en' ? 'mr-2' : 'ml-2',
42179
42434
  size: sectionproperties.linkedinbtniconfontsize
42180
42435
  }), sectionproperties.linkedinlinktext)), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.tiktoklink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
42181
42436
  "class": "col-lg-12 d-flex justify-content-start align-items-center p-0 mb-1"
@@ -42189,7 +42444,7 @@
42189
42444
  }
42190
42445
  }
42191
42446
  }, sectionproperties.instagramiconfontsize != 0 && /*#__PURE__*/React__default["default"].createElement(IoLogoTiktok.IoLogoTiktok, {
42192
- "class": 'mr-2',
42447
+ "class": langdetect == 'en' ? 'mr-2' : 'ml-2',
42193
42448
  size: sectionproperties.instagramiconfontsize
42194
42449
  }), langdetect == 'en' ? 'TikTok' : 'TikTok')), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.telegramlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
42195
42450
  "class": "col-lg-12 d-flex justify-content-start align-items-center p-0 mb-1"
@@ -42203,7 +42458,7 @@
42203
42458
  }
42204
42459
  }
42205
42460
  }, sectionproperties.instagramiconfontsize != 0 && /*#__PURE__*/React__default["default"].createElement(FaTelegramPlane.FaTelegramPlane, {
42206
- "class": 'mr-2',
42461
+ "class": langdetect == 'en' ? 'mr-2' : 'ml-2',
42207
42462
  size: sectionproperties.instagramiconfontsize
42208
42463
  }), langdetect == 'en' ? 'Telegram' : 'Telegram')))), /*#__PURE__*/React__default["default"].createElement("div", {
42209
42464
  "class": sectionproperties.showdownloadsection == 'Show' || sectionproperties.showpaymentfooter == 'Show' ? 'col-lg-3 col-md-12 col-sm-12 mt-md-3' : 'col-lg-4 col-md-12 col-sm-12 mt-md-3',
@@ -52563,6 +52818,8 @@
52563
52818
  var _authdetailsContext$i2;
52564
52819
  window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.whatsappnumber), '_blank');
52565
52820
  }
52821
+ } else if (sectionproperties.btntype == 'App/Web Page') {
52822
+ window.open(sectionproperties.btnlink, '_target');
52566
52823
  } else {
52567
52824
  window.open(sectionproperties.btnlink, '_blank');
52568
52825
  }
@@ -52653,7 +52910,17 @@
52653
52910
  width: sectionproperties.width + 'vw'
52654
52911
  }
52655
52912
  }, /*#__PURE__*/React__default["default"].createElement("div", {
52656
- "class": sectionproperties.paddingLeft != 0 && sectionproperties.paddingRight != 0 ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between plr-1025-1 pr-md-3 pl-md-3 ' : sectionproperties.paddingLeft != 0 ? langdetect == 'en' ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between pl-1025-1 pl-md-3 ' : section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between pr-1025-1 pr-md-3 ' : sectionproperties.paddingRight != 0 ? langdetect == 'en' ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between pr-1025-1 pr-md-3 ' : section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between pl-1025-1 pl-md-3 ' : section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between ',
52913
+ "class":
52914
+ // sectionproperties.paddingLeft != 0 && sectionproperties.paddingRight != 0
52915
+ // ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between plr-1025-1 pr-md-3 pl-md-3 '
52916
+ // : sectionproperties.paddingLeft == 0 && sectionproperties.paddingRight == 0
52917
+ // ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between '
52918
+ // : sectionproperties.paddingLeft != 0
52919
+ // ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between pr-1025-1 px-md-3 '
52920
+ // : sectionproperties.paddingRight != 0
52921
+ // ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between pr-1025-1 px-md-3 '
52922
+ // : section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between '
52923
+ sectionproperties.paddingLeft != 0 && sectionproperties.paddingRight != 0 ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between plr-1025-1 pr-md-3 pl-md-3 ' : sectionproperties.paddingLeft == 0 && sectionproperties.paddingRight == 0 ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between px-md-0 ' : sectionproperties.paddingLeft != 0 ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between plr-1025-1 pr-md-3 pl-md-3 ' : sectionproperties.paddingRight != 0 ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between plr-1025-1 pr-md-3 pl-md-3 ' : section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between px-md-0 ',
52657
52924
  style: {
52658
52925
  paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
52659
52926
  paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
@@ -53049,7 +53316,9 @@
53049
53316
  cursor: cardinfoitem.iscardclickable == 'Yes' ? 'pointer' : 'default'
53050
53317
  },
53051
53318
  onClick: function onClick() {
53052
- if (cardinfoitem.iscardclickable == 'Yes') {
53319
+ if (cardinfoitem.iscardclickable == 'Yes' && cardinfoitem.clickabletabtype == 'Same Tab') {
53320
+ window.open(cardinfoitem.btnlink, '_target');
53321
+ } else if (cardinfoitem.iscardclickable == 'Yes' && cardinfoitem.clickabletabtype == 'New Tab') {
53053
53322
  window.open(cardinfoitem.btnlink, '_blank');
53054
53323
  }
53055
53324
  }
@@ -63554,12 +63823,25 @@
63554
63823
  onClick: function onClick() {
63555
63824
  cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
63556
63825
  }
63557
- }, sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
63826
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
63827
+ "class": "row m-0 w-100"
63828
+ }, sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
63829
+ "class": "col-lg-12 p-0"
63830
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
63558
63831
  "class": "".concat(card_cssstyles.productNameStyles) + ' font-md-15 wordbreak wordbreak1 m-0 ',
63559
63832
  style: {
63560
63833
  textAlign: langdetect == 'en' ? 'left' : 'right'
63561
63834
  }
63562
- }, item.name)))), /*#__PURE__*/React__default["default"].createElement("div", {
63835
+ }, item.name)), sectionproperties.showmeasurementunit == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
63836
+ "class": "col-lg-12 p-0"
63837
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
63838
+ "class": ' wordbreak wordbreak1 m-0 ',
63839
+ style: {
63840
+ textAlign: langdetect == 'en' ? 'left' : 'right',
63841
+ fontSize: sectionproperties.measurementunitfontsize + 'px',
63842
+ color: sectionproperties.measurementunitcolor
63843
+ }
63844
+ }, item.measurmentunit)))))), /*#__PURE__*/React__default["default"].createElement("div", {
63563
63845
  "class": "col-lg-12 p-0"
63564
63846
  }, /*#__PURE__*/React__default["default"].createElement("div", {
63565
63847
  "class": "row w-100 m-0 d-flex"