tabexseriescomponents 0.0.61 → 0.0.64

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
@@ -7705,7 +7705,7 @@ var Backgroundimage_with_toppill = function Backgroundimage_with_toppill(props)
7705
7705
  var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
7706
7706
  var routingcountext = props.actions.routingcountext;
7707
7707
  var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
7708
- var sectionindexcontext = props.sectionindexcontext;
7708
+ props.sectionindexcontext;
7709
7709
  React.useEffect(function () {
7710
7710
  if (props.srcfrom == 'addsectionform') {
7711
7711
  var secpropobj = {};
@@ -7907,7 +7907,7 @@ var Backgroundimage_with_toppill = function Backgroundimage_with_toppill(props)
7907
7907
  style: {
7908
7908
  position: 'relative',
7909
7909
  background: sectionproperties.formRightbgColor,
7910
- borderTopRightRadius: sectionindexcontext.formRight_bordertoprightradius + 'px',
7910
+ borderTopRightRadius: sectionproperties.formRight_bordertoprightradius + 'px',
7911
7911
  borderTopLeftRadius: sectionproperties.formRight_bordertopleftradius + 'px',
7912
7912
  borderBottomRightRadius: sectionproperties.formRight_borderbottomrightadius + 'px',
7913
7913
  borderBottomLeftRadius: sectionproperties.formRight_borderbottomleftadius + 'px',
@@ -13083,7 +13083,7 @@ function ownKeys$F(object, enumerableOnly) { var keys = Object.keys(object); if
13083
13083
  function _objectSpread$F(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$F(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$F(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
13084
13084
 
13085
13085
  var AllinoneHeader = function AllinoneHeader(props) {
13086
- var _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue9, _fetchcustomercartQue10, _fetchcustomercartQue11, _fetchcustomercartQue12, _fetchcustomercartQue13;
13086
+ var _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue9, _fetchcustomercartQue10;
13087
13087
 
13088
13088
  // let history = useHistory();
13089
13089
  // const { lang, setlang, langdetect } = useContext(LanguageContext);
@@ -13097,6 +13097,7 @@ var AllinoneHeader = function AllinoneHeader(props) {
13097
13097
  setsectionproperties = _useState2[1];
13098
13098
 
13099
13099
  var LogoutMutationContext = props.actions.LogoutMutationContext;
13100
+ var fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
13100
13101
  var setsidecartnavshowcontext = props.actions.setsidecartnavshowcontext;
13101
13102
  var setSearchHeaderInputContext = props.actions.setSearchHeaderInputContext;
13102
13103
  var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
@@ -13354,10 +13355,10 @@ var AllinoneHeader = function AllinoneHeader(props) {
13354
13355
  }, [templateproperties_context]);
13355
13356
 
13356
13357
  var subtotalcart = function subtotalcart() {
13357
- var _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5;
13358
+ var _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4;
13358
13359
 
13359
13360
  var totalprice = 0;
13360
- (_fetchcustomercartQue = fetchcustomercartQueryContext) === null || _fetchcustomercartQue === void 0 ? void 0 : (_fetchcustomercartQue2 = _fetchcustomercartQue.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : (_fetchcustomercartQue3 = _fetchcustomercartQue2.data) === null || _fetchcustomercartQue3 === void 0 ? void 0 : (_fetchcustomercartQue4 = _fetchcustomercartQue3.customercart) === null || _fetchcustomercartQue4 === void 0 ? void 0 : (_fetchcustomercartQue5 = _fetchcustomercartQue4.cartitems) === null || _fetchcustomercartQue5 === void 0 ? void 0 : _fetchcustomercartQue5.forEach(function (cartitem, cartindex) {
13361
+ fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 ? void 0 : (_fetchcustomercartQue2 = _fetchcustomercartQue.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : (_fetchcustomercartQue3 = _fetchcustomercartQue2.customercart) === null || _fetchcustomercartQue3 === void 0 ? void 0 : (_fetchcustomercartQue4 = _fetchcustomercartQue3.cartitems) === null || _fetchcustomercartQue4 === void 0 ? void 0 : _fetchcustomercartQue4.forEach(function (cartitem, cartindex) {
13361
13362
  var finalprice = 0;
13362
13363
 
13363
13364
  if (cartitem.productinfo.hassale == 0) {
@@ -13607,7 +13608,7 @@ var AllinoneHeader = function AllinoneHeader(props) {
13607
13608
  size: sectionproperties.cartBtn_iconFontSize
13608
13609
  }), /*#__PURE__*/React__default["default"].createElement("div", {
13609
13610
  "class": "".concat(header_cssstyles.badge_counter_header_notifications, " ").concat(header_cssstyles.cartbadge)
13610
- }, ((_fetchcustomercartQue6 = fetchcustomercartQueryContext) === null || _fetchcustomercartQue6 === void 0 ? void 0 : (_fetchcustomercartQue7 = _fetchcustomercartQue6.data) === null || _fetchcustomercartQue7 === void 0 ? void 0 : (_fetchcustomercartQue8 = _fetchcustomercartQue7.data) === null || _fetchcustomercartQue8 === void 0 ? void 0 : _fetchcustomercartQue8.customercart) != null ? (_fetchcustomercartQue9 = fetchcustomercartQueryContext) === null || _fetchcustomercartQue9 === void 0 ? void 0 : (_fetchcustomercartQue10 = _fetchcustomercartQue9.data) === null || _fetchcustomercartQue10 === void 0 ? void 0 : (_fetchcustomercartQue11 = _fetchcustomercartQue10.data) === null || _fetchcustomercartQue11 === void 0 ? void 0 : (_fetchcustomercartQue12 = _fetchcustomercartQue11.customercart) === null || _fetchcustomercartQue12 === void 0 ? void 0 : (_fetchcustomercartQue13 = _fetchcustomercartQue12.cartitems) === null || _fetchcustomercartQue13 === void 0 ? void 0 : _fetchcustomercartQue13.length : 0)), /*#__PURE__*/React__default["default"].createElement("p", {
13611
+ }, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue5 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue5 === void 0 ? void 0 : (_fetchcustomercartQue6 = _fetchcustomercartQue5.data) === null || _fetchcustomercartQue6 === void 0 ? void 0 : _fetchcustomercartQue6.customercart) != null ? fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue7 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue7 === void 0 ? void 0 : (_fetchcustomercartQue8 = _fetchcustomercartQue7.data) === null || _fetchcustomercartQue8 === void 0 ? void 0 : (_fetchcustomercartQue9 = _fetchcustomercartQue8.customercart) === null || _fetchcustomercartQue9 === void 0 ? void 0 : (_fetchcustomercartQue10 = _fetchcustomercartQue9.cartitems) === null || _fetchcustomercartQue10 === void 0 ? void 0 : _fetchcustomercartQue10.length : 0)), /*#__PURE__*/React__default["default"].createElement("p", {
13611
13612
  "class": "m-0 p-0 d-flex flex-column ",
13612
13613
  style: {
13613
13614
  color: sectionproperties.cartBtnTextcolor,
@@ -13749,7 +13750,7 @@ function ownKeys$E(object, enumerableOnly) { var keys = Object.keys(object); if
13749
13750
  function _objectSpread$E(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$E(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$E(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
13750
13751
 
13751
13752
  var Header_threesectionslogocentered = function Header_threesectionslogocentered(props) {
13752
- var _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8;
13753
+ var _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6;
13753
13754
 
13754
13755
  // let history = useHistory();
13755
13756
  // const { lang, setlang, langdetect } = useContext(LanguageContext);
@@ -13763,6 +13764,7 @@ var Header_threesectionslogocentered = function Header_threesectionslogocentered
13763
13764
  setsectionproperties = _useState2[1];
13764
13765
 
13765
13766
  var LogoutMutationContext = props.actions.LogoutMutationContext;
13767
+ var fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
13766
13768
  var setsidecartnavshowcontext = props.actions.setsidecartnavshowcontext;
13767
13769
  var setSearchHeaderInputContext = props.actions.setSearchHeaderInputContext;
13768
13770
  var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
@@ -14251,7 +14253,7 @@ var Header_threesectionslogocentered = function Header_threesectionslogocentered
14251
14253
  style: {
14252
14254
  maxWidth: '60px'
14253
14255
  }
14254
- }, authdetailsContext.customerinfo.name)))), !authdetailsContex.tloggedin && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
14256
+ }, authdetailsContext.customerinfo.name)))), !authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
14255
14257
  onClick: function onClick() {
14256
14258
  routingcountext(StaticPagesLinksContext.Login);
14257
14259
  }
@@ -14352,7 +14354,7 @@ var Header_threesectionslogocentered = function Header_threesectionslogocentered
14352
14354
  }
14353
14355
  }, /*#__PURE__*/React__default["default"].createElement("div", {
14354
14356
  className: "".concat(headerstyles$6.badge_counter_header_notifications, " ").concat(header_cssstyles.badge_counter_header_notifications) + ' d-flex justify-content-center align-items-center '
14355
- }, ((_fetchcustomercartQue = fetchcustomercartQueryContext) === null || _fetchcustomercartQue === void 0 ? void 0 : (_fetchcustomercartQue2 = _fetchcustomercartQue.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : (_fetchcustomercartQue3 = _fetchcustomercartQue2.data) === null || _fetchcustomercartQue3 === void 0 ? void 0 : _fetchcustomercartQue3.customercart) != null ? (_fetchcustomercartQue4 = fetchcustomercartQueryContext) === null || _fetchcustomercartQue4 === void 0 ? void 0 : (_fetchcustomercartQue5 = _fetchcustomercartQue4.data) === null || _fetchcustomercartQue5 === void 0 ? void 0 : (_fetchcustomercartQue6 = _fetchcustomercartQue5.data) === null || _fetchcustomercartQue6 === void 0 ? void 0 : (_fetchcustomercartQue7 = _fetchcustomercartQue6.customercart) === null || _fetchcustomercartQue7 === void 0 ? void 0 : (_fetchcustomercartQue8 = _fetchcustomercartQue7.cartitems) === null || _fetchcustomercartQue8 === void 0 ? void 0 : _fetchcustomercartQue8.length : 0), sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(fi.FiShoppingBag, {
14357
+ }, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 ? void 0 : (_fetchcustomercartQue2 = _fetchcustomercartQue.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.customercart) != null ? fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue3 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue3 === void 0 ? void 0 : (_fetchcustomercartQue4 = _fetchcustomercartQue3.data) === null || _fetchcustomercartQue4 === void 0 ? void 0 : (_fetchcustomercartQue5 = _fetchcustomercartQue4.customercart) === null || _fetchcustomercartQue5 === void 0 ? void 0 : (_fetchcustomercartQue6 = _fetchcustomercartQue5.cartitems) === null || _fetchcustomercartQue6 === void 0 ? void 0 : _fetchcustomercartQue6.length : 0), sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(fi.FiShoppingBag, {
14356
14358
  size: sectionproperties.cartBtn_iconFontSize
14357
14359
  }), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(cg.CgShoppingBag, {
14358
14360
  size: sectionproperties.cartBtn_iconFontSize
@@ -15027,7 +15029,7 @@ function ownKeys$C(object, enumerableOnly) { var keys = Object.keys(object); if
15027
15029
  function _objectSpread$C(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$C(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$C(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
15028
15030
 
15029
15031
  var Header6 = function Header6(props) {
15030
- var _css, _css2, _header_cssstyles, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8;
15032
+ var _css, _css2, _header_cssstyles, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6;
15031
15033
 
15032
15034
  // const { lang, setlang, langdetect } = useContext(LanguageContext);
15033
15035
  // const { fetch_inst_tabex_websitetemplatesQueryContext, sectionindexcontext, pageindexcontext, StatePagePropertiesContext } = useContext(WebsiteDesignWorkPlaceContext);
@@ -15052,6 +15054,7 @@ var Header6 = function Header6(props) {
15052
15054
  _useState4[1];
15053
15055
 
15054
15056
  var LogoutMutationContext = props.actions.LogoutMutationContext;
15057
+ var fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
15055
15058
  var setsidecartnavshowcontext = props.actions.setsidecartnavshowcontext;
15056
15059
  var setSearchHeaderInputContext = props.actions.setSearchHeaderInputContext;
15057
15060
  var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
@@ -15541,7 +15544,7 @@ var Header6 = function Header6(props) {
15541
15544
  style: {
15542
15545
  color: sectionproperties.cartBtnbgColor
15543
15546
  }
15544
- }, ((_fetchcustomercartQue = fetchcustomercartQueryContext) === null || _fetchcustomercartQue === void 0 ? void 0 : (_fetchcustomercartQue2 = _fetchcustomercartQue.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : (_fetchcustomercartQue3 = _fetchcustomercartQue2.data) === null || _fetchcustomercartQue3 === void 0 ? void 0 : _fetchcustomercartQue3.customercart) != null ? (_fetchcustomercartQue4 = fetchcustomercartQueryContext) === null || _fetchcustomercartQue4 === void 0 ? void 0 : (_fetchcustomercartQue5 = _fetchcustomercartQue4.data) === null || _fetchcustomercartQue5 === void 0 ? void 0 : (_fetchcustomercartQue6 = _fetchcustomercartQue5.data) === null || _fetchcustomercartQue6 === void 0 ? void 0 : (_fetchcustomercartQue7 = _fetchcustomercartQue6.customercart) === null || _fetchcustomercartQue7 === void 0 ? void 0 : (_fetchcustomercartQue8 = _fetchcustomercartQue7.cartitems) === null || _fetchcustomercartQue8 === void 0 ? void 0 : _fetchcustomercartQue8.length : 0)), /*#__PURE__*/React__default["default"].createElement("div", {
15547
+ }, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 ? void 0 : (_fetchcustomercartQue2 = _fetchcustomercartQue.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.customercart) != null ? fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue3 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue3 === void 0 ? void 0 : (_fetchcustomercartQue4 = _fetchcustomercartQue3.data) === null || _fetchcustomercartQue4 === void 0 ? void 0 : (_fetchcustomercartQue5 = _fetchcustomercartQue4.customercart) === null || _fetchcustomercartQue5 === void 0 ? void 0 : (_fetchcustomercartQue6 = _fetchcustomercartQue5.cartitems) === null || _fetchcustomercartQue6 === void 0 ? void 0 : _fetchcustomercartQue6.length : 0)), /*#__PURE__*/React__default["default"].createElement("div", {
15545
15548
  "class": langdetect == 'en' ? "".concat(headerstyles$4.navbar_item) + ' allcentered m-0 cursor-pointer ml-3 ' : "".concat(headerstyles$4.navbar_item) + ' m-0 cursor-pointer mr-3 ',
15546
15549
  onClick: function onClick() {
15547
15550
  if (langdetect == 'en') {
@@ -15609,9 +15612,10 @@ function ownKeys$B(object, enumerableOnly) { var keys = Object.keys(object); if
15609
15612
  function _objectSpread$B(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$B(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$B(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
15610
15613
 
15611
15614
  var HeaderRestaurant = function HeaderRestaurant(props) {
15612
- var _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue9, _fetchcustomercartQue10, _fetchcustomercartQue11, _fetchcustomercartQue12, _fetchcustomercartQue13;
15615
+ var _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue9, _fetchcustomercartQue10;
15613
15616
 
15614
- useHistory(); // const { lang, setlang, langdetect } = useContext(LanguageContext);
15617
+ // let history = useHistory();
15618
+ // const { lang, setlang, langdetect } = useContext(LanguageContext);
15615
15619
  // const { fetch_inst_tabex_websitetemplatesQueryContext, StatePagePropertiesContext } = useContext(WebsiteDesignWorkPlaceContext);
15616
15620
  // const {
15617
15621
  // templateproperties_context,
@@ -15623,13 +15627,13 @@ var HeaderRestaurant = function HeaderRestaurant(props) {
15623
15627
  // setSearchHeaderInputContext,
15624
15628
  // } = useContext(FetchingContext);
15625
15629
  // const { routingcountext, StaticPagesLinksContext } = useContext(TemplateRoutingContext);
15626
-
15627
15630
  var _useState = React.useState(''),
15628
15631
  _useState2 = _slicedToArray__default["default"](_useState, 2),
15629
15632
  sectionproperties = _useState2[0],
15630
15633
  setsectionproperties = _useState2[1];
15631
15634
 
15632
15635
  var LogoutMutationContext = props.actions.LogoutMutationContext;
15636
+ var fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
15633
15637
  var setsidecartnavshowcontext = props.actions.setsidecartnavshowcontext;
15634
15638
  props.actions.setSearchHeaderInputContext;
15635
15639
  var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
@@ -16142,7 +16146,7 @@ var HeaderRestaurant = function HeaderRestaurant(props) {
16142
16146
  top: sectionproperties.cartbadgetop + 'px',
16143
16147
  right: sectionproperties.cartbadgeright + 'px'
16144
16148
  }
16145
- }, ((_fetchcustomercartQue = fetchcustomercartQueryContext) === null || _fetchcustomercartQue === void 0 ? void 0 : (_fetchcustomercartQue2 = _fetchcustomercartQue.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : (_fetchcustomercartQue3 = _fetchcustomercartQue2.data) === null || _fetchcustomercartQue3 === void 0 ? void 0 : _fetchcustomercartQue3.customercart) != null ? ((_fetchcustomercartQue4 = fetchcustomercartQueryContext) === null || _fetchcustomercartQue4 === void 0 ? void 0 : (_fetchcustomercartQue5 = _fetchcustomercartQue4.data) === null || _fetchcustomercartQue5 === void 0 ? void 0 : (_fetchcustomercartQue6 = _fetchcustomercartQue5.data) === null || _fetchcustomercartQue6 === void 0 ? void 0 : (_fetchcustomercartQue7 = _fetchcustomercartQue6.customercart) === null || _fetchcustomercartQue7 === void 0 ? void 0 : (_fetchcustomercartQue8 = _fetchcustomercartQue7.cartitems) === null || _fetchcustomercartQue8 === void 0 ? void 0 : _fetchcustomercartQue8.length) >= 10 ? '+9' : (_fetchcustomercartQue9 = fetchcustomercartQueryContext) === null || _fetchcustomercartQue9 === void 0 ? void 0 : (_fetchcustomercartQue10 = _fetchcustomercartQue9.data) === null || _fetchcustomercartQue10 === void 0 ? void 0 : (_fetchcustomercartQue11 = _fetchcustomercartQue10.data) === null || _fetchcustomercartQue11 === void 0 ? void 0 : (_fetchcustomercartQue12 = _fetchcustomercartQue11.customercart) === null || _fetchcustomercartQue12 === void 0 ? void 0 : (_fetchcustomercartQue13 = _fetchcustomercartQue12.cartitems) === null || _fetchcustomercartQue13 === void 0 ? void 0 : _fetchcustomercartQue13.length : 0))), /*#__PURE__*/React__default["default"].createElement("div", {
16149
+ }, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 ? void 0 : (_fetchcustomercartQue2 = _fetchcustomercartQue.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.customercart) != null ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue3 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue3 === void 0 ? void 0 : (_fetchcustomercartQue4 = _fetchcustomercartQue3.data) === null || _fetchcustomercartQue4 === void 0 ? void 0 : (_fetchcustomercartQue5 = _fetchcustomercartQue4.customercart) === null || _fetchcustomercartQue5 === void 0 ? void 0 : (_fetchcustomercartQue6 = _fetchcustomercartQue5.cartitems) === null || _fetchcustomercartQue6 === void 0 ? void 0 : _fetchcustomercartQue6.length) >= 10 ? '+9' : fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue7 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue7 === void 0 ? void 0 : (_fetchcustomercartQue8 = _fetchcustomercartQue7.data) === null || _fetchcustomercartQue8 === void 0 ? void 0 : (_fetchcustomercartQue9 = _fetchcustomercartQue8.customercart) === null || _fetchcustomercartQue9 === void 0 ? void 0 : (_fetchcustomercartQue10 = _fetchcustomercartQue9.cartitems) === null || _fetchcustomercartQue10 === void 0 ? void 0 : _fetchcustomercartQue10.length : 0))), /*#__PURE__*/React__default["default"].createElement("div", {
16146
16150
  "class": langdetect == 'en' ? 'informationdropdown informationdropdown_en' : 'informationdropdown informationdropdown_ar'
16147
16151
  }, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"], null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Toggle, null, /*#__PURE__*/React__default["default"].createElement("i", {
16148
16152
  "class": header_cssstyles.infoiconcontainer + ' allcentered '
@@ -16306,7 +16310,7 @@ function ownKeys$A(object, enumerableOnly) { var keys = Object.keys(object); if
16306
16310
  function _objectSpread$A(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$A(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$A(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
16307
16311
 
16308
16312
  var HeaderwithContactinfo = function HeaderwithContactinfo(props) {
16309
- var _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8, _logoarrayofobjects$3, _logoarrayofobjects$4;
16313
+ var _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _logoarrayofobjects$3, _logoarrayofobjects$4;
16310
16314
 
16311
16315
  // const { lang, setlang, langdetect } = useContext(LanguageContext);
16312
16316
  // const { setSearchHeaderInputContext, setsidecartnavshowcontext, fetchAuthorizationQueryContext, fetchcustomercartQueryContext, LogoutMutationContext, templateproperties_context } =
@@ -16319,6 +16323,7 @@ var HeaderwithContactinfo = function HeaderwithContactinfo(props) {
16319
16323
  setsectionproperties = _useState2[1];
16320
16324
 
16321
16325
  var LogoutMutationContext = props.actions.LogoutMutationContext;
16326
+ var fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
16322
16327
  var setsidecartnavshowcontext = props.actions.setsidecartnavshowcontext;
16323
16328
  var setSearchHeaderInputContext = props.actions.setSearchHeaderInputContext;
16324
16329
  var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
@@ -16981,7 +16986,7 @@ var HeaderwithContactinfo = function HeaderwithContactinfo(props) {
16981
16986
  top: sectionproperties.cartbadgetop + 'px',
16982
16987
  right: sectionproperties.cartbadgeright + 'px'
16983
16988
  }
16984
- }, ((_fetchcustomercartQue = fetchcustomercartQueryContext) === null || _fetchcustomercartQue === void 0 ? void 0 : (_fetchcustomercartQue2 = _fetchcustomercartQue.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : (_fetchcustomercartQue3 = _fetchcustomercartQue2.data) === null || _fetchcustomercartQue3 === void 0 ? void 0 : _fetchcustomercartQue3.customercart) != null ? (_fetchcustomercartQue4 = fetchcustomercartQueryContext) === null || _fetchcustomercartQue4 === void 0 ? void 0 : (_fetchcustomercartQue5 = _fetchcustomercartQue4.data) === null || _fetchcustomercartQue5 === void 0 ? void 0 : (_fetchcustomercartQue6 = _fetchcustomercartQue5.data) === null || _fetchcustomercartQue6 === void 0 ? void 0 : (_fetchcustomercartQue7 = _fetchcustomercartQue6.customercart) === null || _fetchcustomercartQue7 === void 0 ? void 0 : (_fetchcustomercartQue8 = _fetchcustomercartQue7.cartitems) === null || _fetchcustomercartQue8 === void 0 ? void 0 : _fetchcustomercartQue8.length : 0), sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(fi.FiShoppingBag, {
16989
+ }, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 ? void 0 : (_fetchcustomercartQue2 = _fetchcustomercartQue.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.customercart) != null ? fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue3 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue3 === void 0 ? void 0 : (_fetchcustomercartQue4 = _fetchcustomercartQue3.data) === null || _fetchcustomercartQue4 === void 0 ? void 0 : (_fetchcustomercartQue5 = _fetchcustomercartQue4.customercart) === null || _fetchcustomercartQue5 === void 0 ? void 0 : (_fetchcustomercartQue6 = _fetchcustomercartQue5.cartitems) === null || _fetchcustomercartQue6 === void 0 ? void 0 : _fetchcustomercartQue6.length : 0), sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(fi.FiShoppingBag, {
16985
16990
  size: sectionproperties.cartBtn_iconFontSize
16986
16991
  }), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(cg.CgShoppingBag, {
16987
16992
  size: sectionproperties.cartBtn_iconFontSize
@@ -17142,9 +17147,10 @@ function ownKeys$z(object, enumerableOnly) { var keys = Object.keys(object); if
17142
17147
  function _objectSpread$z(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$z(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$z(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
17143
17148
 
17144
17149
  var Modernheader = function Modernheader(props) {
17145
- var _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue9, _fetchcustomercartQue10, _fetchcustomercartQue11, _fetchcustomercartQue12, _fetchcustomercartQue13;
17150
+ var _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue9, _fetchcustomercartQue10;
17146
17151
 
17147
- useHistory(); // const { lang, setlang, langdetect } = useContext(LanguageContext);
17152
+ // let history = useHistory();
17153
+ // const { lang, setlang, langdetect } = useContext(LanguageContext);
17148
17154
  // const { fetch_inst_tabex_websitetemplatesQueryContext, StatePagePropertiesContext } = useContext(WebsiteDesignWorkPlaceContext);
17149
17155
  // const {
17150
17156
  // templateproperties_context,
@@ -17156,13 +17162,13 @@ var Modernheader = function Modernheader(props) {
17156
17162
  // setSearchHeaderInputContext,
17157
17163
  // } = useContext(FetchingContext);
17158
17164
  // const { routingcountext, StaticPagesLinksContext } = useContext(TemplateRoutingContext);
17159
-
17160
17165
  var _useState = React.useState(''),
17161
17166
  _useState2 = _slicedToArray__default["default"](_useState, 2),
17162
17167
  sectionproperties = _useState2[0],
17163
17168
  setsectionproperties = _useState2[1];
17164
17169
 
17165
17170
  var LogoutMutationContext = props.actions.LogoutMutationContext;
17171
+ var fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
17166
17172
  var setsidecartnavshowcontext = props.actions.setsidecartnavshowcontext;
17167
17173
  var setSearchHeaderInputContext = props.actions.setSearchHeaderInputContext;
17168
17174
  var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
@@ -17175,6 +17181,7 @@ var Modernheader = function Modernheader(props) {
17175
17181
  var favoriteprojectscountContext = props.actions.favoriteprojectscountContext;
17176
17182
  var routingcountext = props.actions.routingcountext;
17177
17183
  var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
17184
+ props.actions.useHistory;
17178
17185
  var actions = props.actions; // const fetch_inst_tabex_websitetemplatesQueryContext = props.fetch_inst_tabex_websitetemplatesQueryContext;
17179
17186
 
17180
17187
  React.useEffect(function () {
@@ -17677,7 +17684,7 @@ var Modernheader = function Modernheader(props) {
17677
17684
  top: sectionproperties.cartbadgetop + 'px',
17678
17685
  right: sectionproperties.cartbadgeright + 'px'
17679
17686
  }
17680
- }, ((_fetchcustomercartQue = fetchcustomercartQueryContext) === null || _fetchcustomercartQue === void 0 ? void 0 : (_fetchcustomercartQue2 = _fetchcustomercartQue.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : (_fetchcustomercartQue3 = _fetchcustomercartQue2.data) === null || _fetchcustomercartQue3 === void 0 ? void 0 : _fetchcustomercartQue3.customercart) != null ? ((_fetchcustomercartQue4 = fetchcustomercartQueryContext) === null || _fetchcustomercartQue4 === void 0 ? void 0 : (_fetchcustomercartQue5 = _fetchcustomercartQue4.data) === null || _fetchcustomercartQue5 === void 0 ? void 0 : (_fetchcustomercartQue6 = _fetchcustomercartQue5.data) === null || _fetchcustomercartQue6 === void 0 ? void 0 : (_fetchcustomercartQue7 = _fetchcustomercartQue6.customercart) === null || _fetchcustomercartQue7 === void 0 ? void 0 : (_fetchcustomercartQue8 = _fetchcustomercartQue7.cartitems) === null || _fetchcustomercartQue8 === void 0 ? void 0 : _fetchcustomercartQue8.length) >= 10 ? '+9' : (_fetchcustomercartQue9 = fetchcustomercartQueryContext) === null || _fetchcustomercartQue9 === void 0 ? void 0 : (_fetchcustomercartQue10 = _fetchcustomercartQue9.data) === null || _fetchcustomercartQue10 === void 0 ? void 0 : (_fetchcustomercartQue11 = _fetchcustomercartQue10.data) === null || _fetchcustomercartQue11 === void 0 ? void 0 : (_fetchcustomercartQue12 = _fetchcustomercartQue11.customercart) === null || _fetchcustomercartQue12 === void 0 ? void 0 : (_fetchcustomercartQue13 = _fetchcustomercartQue12.cartitems) === null || _fetchcustomercartQue13 === void 0 ? void 0 : _fetchcustomercartQue13.length : 0))), /*#__PURE__*/React__default["default"].createElement("div", {
17687
+ }, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 ? void 0 : (_fetchcustomercartQue2 = _fetchcustomercartQue.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.customercart) != null ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue3 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue3 === void 0 ? void 0 : (_fetchcustomercartQue4 = _fetchcustomercartQue3.data) === null || _fetchcustomercartQue4 === void 0 ? void 0 : (_fetchcustomercartQue5 = _fetchcustomercartQue4.customercart) === null || _fetchcustomercartQue5 === void 0 ? void 0 : (_fetchcustomercartQue6 = _fetchcustomercartQue5.cartitems) === null || _fetchcustomercartQue6 === void 0 ? void 0 : _fetchcustomercartQue6.length) >= 10 ? '+9' : fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue7 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue7 === void 0 ? void 0 : (_fetchcustomercartQue8 = _fetchcustomercartQue7.data) === null || _fetchcustomercartQue8 === void 0 ? void 0 : (_fetchcustomercartQue9 = _fetchcustomercartQue8.customercart) === null || _fetchcustomercartQue9 === void 0 ? void 0 : (_fetchcustomercartQue10 = _fetchcustomercartQue9.cartitems) === null || _fetchcustomercartQue10 === void 0 ? void 0 : _fetchcustomercartQue10.length : 0))), /*#__PURE__*/React__default["default"].createElement("div", {
17681
17688
  "class": langdetect == 'en' ? 'headerdropdownml' : 'headerdropdownmr'
17682
17689
  }, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"], null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Toggle, null, /*#__PURE__*/React__default["default"].createElement("li", {
17683
17690
  "class": "".concat(headerstyles$1.header_menu) + ' allcentered '
@@ -17825,7 +17832,7 @@ function ownKeys$y(object, enumerableOnly) { var keys = Object.keys(object); if
17825
17832
  function _objectSpread$y(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$y(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$y(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
17826
17833
 
17827
17834
  var StylishHeader = function StylishHeader(props) {
17828
- var _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue9, _fetchcustomercartQue10, _fetchcustomercartQue11, _fetchcustomercartQue12, _logoarrayofobjects$3, _logoarrayofobjects$4, _logoarrayofobjects$5, _logoarrayofobjects$6;
17835
+ var _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue9, _fetchcustomercartQue10, _logoarrayofobjects$3, _logoarrayofobjects$4, _logoarrayofobjects$5, _logoarrayofobjects$6;
17829
17836
 
17830
17837
  // const { lang, setlang, langdetect } = useContext(LanguageContext);
17831
17838
  // const { fetch_inst_tabex_websitetemplatesQueryContext, StatePagePropertiesContext } = useContext(WebsiteDesignWorkPlaceContext);
@@ -17847,6 +17854,7 @@ var StylishHeader = function StylishHeader(props) {
17847
17854
  var LogoutMutationContext = props.actions.LogoutMutationContext;
17848
17855
  var setsidecartnavshowcontext = props.actions.setsidecartnavshowcontext;
17849
17856
  var setSearchHeaderInputContext = props.actions.setSearchHeaderInputContext;
17857
+ var fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
17850
17858
  var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
17851
17859
  var lang = props.actions.lang;
17852
17860
  var langdetect = props.actions.langdetect;
@@ -17857,9 +17865,10 @@ var StylishHeader = function StylishHeader(props) {
17857
17865
  var favoriteprojectscountContext = props.actions.favoriteprojectscountContext;
17858
17866
  var routingcountext = props.actions.routingcountext;
17859
17867
  var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
17860
- props.actions; // const fetch_inst_tabex_websitetemplatesQueryContext = props.fetch_inst_tabex_websitetemplatesQueryContext;
17868
+ var actions = props.actions; // const fetch_inst_tabex_websitetemplatesQueryContext = props.fetch_inst_tabex_websitetemplatesQueryContext;
17861
17869
 
17862
17870
  React.useEffect(function () {
17871
+ console.log('asd');
17863
17872
  var secpropobj = {};
17864
17873
  StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
17865
17874
  if (sectionitem.sectionid == props.sectionidprops) {
@@ -18423,7 +18432,7 @@ var StylishHeader = function StylishHeader(props) {
18423
18432
  top: sectionproperties.cartbadgetop + 'px',
18424
18433
  right: sectionproperties.cartbadgeright + 'px'
18425
18434
  }
18426
- }, ((_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 ? void 0 : (_fetchcustomercartQue2 = _fetchcustomercartQue.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.customercart) != null ? ((_fetchcustomercartQue3 = fetchcustomercartQueryContext) === null || _fetchcustomercartQue3 === void 0 ? void 0 : (_fetchcustomercartQue4 = _fetchcustomercartQue3.data) === null || _fetchcustomercartQue4 === void 0 ? void 0 : (_fetchcustomercartQue5 = _fetchcustomercartQue4.data) === null || _fetchcustomercartQue5 === void 0 ? void 0 : (_fetchcustomercartQue6 = _fetchcustomercartQue5.customercart) === null || _fetchcustomercartQue6 === void 0 ? void 0 : (_fetchcustomercartQue7 = _fetchcustomercartQue6.cartitems) === null || _fetchcustomercartQue7 === void 0 ? void 0 : _fetchcustomercartQue7.length) >= 10 ? '+9' : (_fetchcustomercartQue8 = fetchcustomercartQueryContext) === null || _fetchcustomercartQue8 === void 0 ? void 0 : (_fetchcustomercartQue9 = _fetchcustomercartQue8.data) === null || _fetchcustomercartQue9 === void 0 ? void 0 : (_fetchcustomercartQue10 = _fetchcustomercartQue9.data) === null || _fetchcustomercartQue10 === void 0 ? void 0 : (_fetchcustomercartQue11 = _fetchcustomercartQue10.customercart) === null || _fetchcustomercartQue11 === void 0 ? void 0 : (_fetchcustomercartQue12 = _fetchcustomercartQue11.cartitems) === null || _fetchcustomercartQue12 === void 0 ? void 0 : _fetchcustomercartQue12.length : 0))), /*#__PURE__*/React__default["default"].createElement("div", {
18435
+ }, ((_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 ? void 0 : (_fetchcustomercartQue2 = _fetchcustomercartQue.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.customercart) != null ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue3 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue3 === void 0 ? void 0 : (_fetchcustomercartQue4 = _fetchcustomercartQue3.data) === null || _fetchcustomercartQue4 === void 0 ? void 0 : (_fetchcustomercartQue5 = _fetchcustomercartQue4.customercart) === null || _fetchcustomercartQue5 === void 0 ? void 0 : (_fetchcustomercartQue6 = _fetchcustomercartQue5.cartitems) === null || _fetchcustomercartQue6 === void 0 ? void 0 : _fetchcustomercartQue6.length) >= 10 ? '+9' : fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue7 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue7 === void 0 ? void 0 : (_fetchcustomercartQue8 = _fetchcustomercartQue7.data) === null || _fetchcustomercartQue8 === void 0 ? void 0 : (_fetchcustomercartQue9 = _fetchcustomercartQue8.customercart) === null || _fetchcustomercartQue9 === void 0 ? void 0 : (_fetchcustomercartQue10 = _fetchcustomercartQue9.cartitems) === null || _fetchcustomercartQue10 === void 0 ? void 0 : _fetchcustomercartQue10.length : 0))), /*#__PURE__*/React__default["default"].createElement("div", {
18427
18436
  "class": langdetect == 'en' ? 'headerdropdownml' : 'headerdropdownmr'
18428
18437
  }, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"], null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Toggle, null, /*#__PURE__*/React__default["default"].createElement("li", {
18429
18438
  "class": ' d-flex align-items-center justify-content-center '
@@ -18586,9 +18595,11 @@ var StylishHeader = function StylishHeader(props) {
18586
18595
  "class": "allcentered"
18587
18596
  }, /*#__PURE__*/React__default["default"].createElement(Searchlist, {
18588
18597
  sectionpropertiesprops: sectionproperties,
18589
- srcfromprops: 'StylishHeader'
18598
+ srcfromprops: 'StylishHeader',
18599
+ actions: actions
18590
18600
  }))))))))), /*#__PURE__*/React__default["default"].createElement(Headerresponsive, {
18591
- sectionpropertiesprops: sectionproperties
18601
+ sectionpropertiesprops: sectionproperties,
18602
+ actions: actions
18592
18603
  }));
18593
18604
  };
18594
18605
 
package/dist/index.esm.js CHANGED
@@ -7663,7 +7663,7 @@ var Backgroundimage_with_toppill = function Backgroundimage_with_toppill(props)
7663
7663
  var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
7664
7664
  var routingcountext = props.actions.routingcountext;
7665
7665
  var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
7666
- var sectionindexcontext = props.sectionindexcontext;
7666
+ props.sectionindexcontext;
7667
7667
  useEffect(function () {
7668
7668
  if (props.srcfrom == 'addsectionform') {
7669
7669
  var secpropobj = {};
@@ -7865,7 +7865,7 @@ var Backgroundimage_with_toppill = function Backgroundimage_with_toppill(props)
7865
7865
  style: {
7866
7866
  position: 'relative',
7867
7867
  background: sectionproperties.formRightbgColor,
7868
- borderTopRightRadius: sectionindexcontext.formRight_bordertoprightradius + 'px',
7868
+ borderTopRightRadius: sectionproperties.formRight_bordertoprightradius + 'px',
7869
7869
  borderTopLeftRadius: sectionproperties.formRight_bordertopleftradius + 'px',
7870
7870
  borderBottomRightRadius: sectionproperties.formRight_borderbottomrightadius + 'px',
7871
7871
  borderBottomLeftRadius: sectionproperties.formRight_borderbottomleftadius + 'px',
@@ -13041,7 +13041,7 @@ function ownKeys$F(object, enumerableOnly) { var keys = Object.keys(object); if
13041
13041
  function _objectSpread$F(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$F(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$F(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
13042
13042
 
13043
13043
  var AllinoneHeader = function AllinoneHeader(props) {
13044
- var _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue9, _fetchcustomercartQue10, _fetchcustomercartQue11, _fetchcustomercartQue12, _fetchcustomercartQue13;
13044
+ var _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue9, _fetchcustomercartQue10;
13045
13045
 
13046
13046
  // let history = useHistory();
13047
13047
  // const { lang, setlang, langdetect } = useContext(LanguageContext);
@@ -13055,6 +13055,7 @@ var AllinoneHeader = function AllinoneHeader(props) {
13055
13055
  setsectionproperties = _useState2[1];
13056
13056
 
13057
13057
  var LogoutMutationContext = props.actions.LogoutMutationContext;
13058
+ var fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
13058
13059
  var setsidecartnavshowcontext = props.actions.setsidecartnavshowcontext;
13059
13060
  var setSearchHeaderInputContext = props.actions.setSearchHeaderInputContext;
13060
13061
  var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
@@ -13312,10 +13313,10 @@ var AllinoneHeader = function AllinoneHeader(props) {
13312
13313
  }, [templateproperties_context]);
13313
13314
 
13314
13315
  var subtotalcart = function subtotalcart() {
13315
- var _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5;
13316
+ var _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4;
13316
13317
 
13317
13318
  var totalprice = 0;
13318
- (_fetchcustomercartQue = fetchcustomercartQueryContext) === null || _fetchcustomercartQue === void 0 ? void 0 : (_fetchcustomercartQue2 = _fetchcustomercartQue.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : (_fetchcustomercartQue3 = _fetchcustomercartQue2.data) === null || _fetchcustomercartQue3 === void 0 ? void 0 : (_fetchcustomercartQue4 = _fetchcustomercartQue3.customercart) === null || _fetchcustomercartQue4 === void 0 ? void 0 : (_fetchcustomercartQue5 = _fetchcustomercartQue4.cartitems) === null || _fetchcustomercartQue5 === void 0 ? void 0 : _fetchcustomercartQue5.forEach(function (cartitem, cartindex) {
13319
+ fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 ? void 0 : (_fetchcustomercartQue2 = _fetchcustomercartQue.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : (_fetchcustomercartQue3 = _fetchcustomercartQue2.customercart) === null || _fetchcustomercartQue3 === void 0 ? void 0 : (_fetchcustomercartQue4 = _fetchcustomercartQue3.cartitems) === null || _fetchcustomercartQue4 === void 0 ? void 0 : _fetchcustomercartQue4.forEach(function (cartitem, cartindex) {
13319
13320
  var finalprice = 0;
13320
13321
 
13321
13322
  if (cartitem.productinfo.hassale == 0) {
@@ -13565,7 +13566,7 @@ var AllinoneHeader = function AllinoneHeader(props) {
13565
13566
  size: sectionproperties.cartBtn_iconFontSize
13566
13567
  }), /*#__PURE__*/React.createElement("div", {
13567
13568
  "class": "".concat(header_cssstyles.badge_counter_header_notifications, " ").concat(header_cssstyles.cartbadge)
13568
- }, ((_fetchcustomercartQue6 = fetchcustomercartQueryContext) === null || _fetchcustomercartQue6 === void 0 ? void 0 : (_fetchcustomercartQue7 = _fetchcustomercartQue6.data) === null || _fetchcustomercartQue7 === void 0 ? void 0 : (_fetchcustomercartQue8 = _fetchcustomercartQue7.data) === null || _fetchcustomercartQue8 === void 0 ? void 0 : _fetchcustomercartQue8.customercart) != null ? (_fetchcustomercartQue9 = fetchcustomercartQueryContext) === null || _fetchcustomercartQue9 === void 0 ? void 0 : (_fetchcustomercartQue10 = _fetchcustomercartQue9.data) === null || _fetchcustomercartQue10 === void 0 ? void 0 : (_fetchcustomercartQue11 = _fetchcustomercartQue10.data) === null || _fetchcustomercartQue11 === void 0 ? void 0 : (_fetchcustomercartQue12 = _fetchcustomercartQue11.customercart) === null || _fetchcustomercartQue12 === void 0 ? void 0 : (_fetchcustomercartQue13 = _fetchcustomercartQue12.cartitems) === null || _fetchcustomercartQue13 === void 0 ? void 0 : _fetchcustomercartQue13.length : 0)), /*#__PURE__*/React.createElement("p", {
13569
+ }, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue5 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue5 === void 0 ? void 0 : (_fetchcustomercartQue6 = _fetchcustomercartQue5.data) === null || _fetchcustomercartQue6 === void 0 ? void 0 : _fetchcustomercartQue6.customercart) != null ? fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue7 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue7 === void 0 ? void 0 : (_fetchcustomercartQue8 = _fetchcustomercartQue7.data) === null || _fetchcustomercartQue8 === void 0 ? void 0 : (_fetchcustomercartQue9 = _fetchcustomercartQue8.customercart) === null || _fetchcustomercartQue9 === void 0 ? void 0 : (_fetchcustomercartQue10 = _fetchcustomercartQue9.cartitems) === null || _fetchcustomercartQue10 === void 0 ? void 0 : _fetchcustomercartQue10.length : 0)), /*#__PURE__*/React.createElement("p", {
13569
13570
  "class": "m-0 p-0 d-flex flex-column ",
13570
13571
  style: {
13571
13572
  color: sectionproperties.cartBtnTextcolor,
@@ -13707,7 +13708,7 @@ function ownKeys$E(object, enumerableOnly) { var keys = Object.keys(object); if
13707
13708
  function _objectSpread$E(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$E(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$E(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
13708
13709
 
13709
13710
  var Header_threesectionslogocentered = function Header_threesectionslogocentered(props) {
13710
- var _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8;
13711
+ var _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6;
13711
13712
 
13712
13713
  // let history = useHistory();
13713
13714
  // const { lang, setlang, langdetect } = useContext(LanguageContext);
@@ -13721,6 +13722,7 @@ var Header_threesectionslogocentered = function Header_threesectionslogocentered
13721
13722
  setsectionproperties = _useState2[1];
13722
13723
 
13723
13724
  var LogoutMutationContext = props.actions.LogoutMutationContext;
13725
+ var fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
13724
13726
  var setsidecartnavshowcontext = props.actions.setsidecartnavshowcontext;
13725
13727
  var setSearchHeaderInputContext = props.actions.setSearchHeaderInputContext;
13726
13728
  var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
@@ -14209,7 +14211,7 @@ var Header_threesectionslogocentered = function Header_threesectionslogocentered
14209
14211
  style: {
14210
14212
  maxWidth: '60px'
14211
14213
  }
14212
- }, authdetailsContext.customerinfo.name)))), !authdetailsContex.tloggedin && /*#__PURE__*/React.createElement(Dropdown.Menu, null, /*#__PURE__*/React.createElement(Dropdown.Item, {
14214
+ }, authdetailsContext.customerinfo.name)))), !authdetailsContext.loggedin && /*#__PURE__*/React.createElement(Dropdown.Menu, null, /*#__PURE__*/React.createElement(Dropdown.Item, {
14213
14215
  onClick: function onClick() {
14214
14216
  routingcountext(StaticPagesLinksContext.Login);
14215
14217
  }
@@ -14310,7 +14312,7 @@ var Header_threesectionslogocentered = function Header_threesectionslogocentered
14310
14312
  }
14311
14313
  }, /*#__PURE__*/React.createElement("div", {
14312
14314
  className: "".concat(headerstyles$6.badge_counter_header_notifications, " ").concat(header_cssstyles.badge_counter_header_notifications) + ' d-flex justify-content-center align-items-center '
14313
- }, ((_fetchcustomercartQue = fetchcustomercartQueryContext) === null || _fetchcustomercartQue === void 0 ? void 0 : (_fetchcustomercartQue2 = _fetchcustomercartQue.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : (_fetchcustomercartQue3 = _fetchcustomercartQue2.data) === null || _fetchcustomercartQue3 === void 0 ? void 0 : _fetchcustomercartQue3.customercart) != null ? (_fetchcustomercartQue4 = fetchcustomercartQueryContext) === null || _fetchcustomercartQue4 === void 0 ? void 0 : (_fetchcustomercartQue5 = _fetchcustomercartQue4.data) === null || _fetchcustomercartQue5 === void 0 ? void 0 : (_fetchcustomercartQue6 = _fetchcustomercartQue5.data) === null || _fetchcustomercartQue6 === void 0 ? void 0 : (_fetchcustomercartQue7 = _fetchcustomercartQue6.customercart) === null || _fetchcustomercartQue7 === void 0 ? void 0 : (_fetchcustomercartQue8 = _fetchcustomercartQue7.cartitems) === null || _fetchcustomercartQue8 === void 0 ? void 0 : _fetchcustomercartQue8.length : 0), sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React.createElement(FiShoppingBag, {
14315
+ }, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 ? void 0 : (_fetchcustomercartQue2 = _fetchcustomercartQue.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.customercart) != null ? fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue3 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue3 === void 0 ? void 0 : (_fetchcustomercartQue4 = _fetchcustomercartQue3.data) === null || _fetchcustomercartQue4 === void 0 ? void 0 : (_fetchcustomercartQue5 = _fetchcustomercartQue4.customercart) === null || _fetchcustomercartQue5 === void 0 ? void 0 : (_fetchcustomercartQue6 = _fetchcustomercartQue5.cartitems) === null || _fetchcustomercartQue6 === void 0 ? void 0 : _fetchcustomercartQue6.length : 0), sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React.createElement(FiShoppingBag, {
14314
14316
  size: sectionproperties.cartBtn_iconFontSize
14315
14317
  }), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React.createElement(CgShoppingBag, {
14316
14318
  size: sectionproperties.cartBtn_iconFontSize
@@ -14985,7 +14987,7 @@ function ownKeys$C(object, enumerableOnly) { var keys = Object.keys(object); if
14985
14987
  function _objectSpread$C(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$C(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$C(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
14986
14988
 
14987
14989
  var Header6 = function Header6(props) {
14988
- var _css, _css2, _header_cssstyles, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8;
14990
+ var _css, _css2, _header_cssstyles, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6;
14989
14991
 
14990
14992
  // const { lang, setlang, langdetect } = useContext(LanguageContext);
14991
14993
  // const { fetch_inst_tabex_websitetemplatesQueryContext, sectionindexcontext, pageindexcontext, StatePagePropertiesContext } = useContext(WebsiteDesignWorkPlaceContext);
@@ -15010,6 +15012,7 @@ var Header6 = function Header6(props) {
15010
15012
  _useState4[1];
15011
15013
 
15012
15014
  var LogoutMutationContext = props.actions.LogoutMutationContext;
15015
+ var fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
15013
15016
  var setsidecartnavshowcontext = props.actions.setsidecartnavshowcontext;
15014
15017
  var setSearchHeaderInputContext = props.actions.setSearchHeaderInputContext;
15015
15018
  var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
@@ -15499,7 +15502,7 @@ var Header6 = function Header6(props) {
15499
15502
  style: {
15500
15503
  color: sectionproperties.cartBtnbgColor
15501
15504
  }
15502
- }, ((_fetchcustomercartQue = fetchcustomercartQueryContext) === null || _fetchcustomercartQue === void 0 ? void 0 : (_fetchcustomercartQue2 = _fetchcustomercartQue.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : (_fetchcustomercartQue3 = _fetchcustomercartQue2.data) === null || _fetchcustomercartQue3 === void 0 ? void 0 : _fetchcustomercartQue3.customercart) != null ? (_fetchcustomercartQue4 = fetchcustomercartQueryContext) === null || _fetchcustomercartQue4 === void 0 ? void 0 : (_fetchcustomercartQue5 = _fetchcustomercartQue4.data) === null || _fetchcustomercartQue5 === void 0 ? void 0 : (_fetchcustomercartQue6 = _fetchcustomercartQue5.data) === null || _fetchcustomercartQue6 === void 0 ? void 0 : (_fetchcustomercartQue7 = _fetchcustomercartQue6.customercart) === null || _fetchcustomercartQue7 === void 0 ? void 0 : (_fetchcustomercartQue8 = _fetchcustomercartQue7.cartitems) === null || _fetchcustomercartQue8 === void 0 ? void 0 : _fetchcustomercartQue8.length : 0)), /*#__PURE__*/React.createElement("div", {
15505
+ }, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 ? void 0 : (_fetchcustomercartQue2 = _fetchcustomercartQue.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.customercart) != null ? fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue3 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue3 === void 0 ? void 0 : (_fetchcustomercartQue4 = _fetchcustomercartQue3.data) === null || _fetchcustomercartQue4 === void 0 ? void 0 : (_fetchcustomercartQue5 = _fetchcustomercartQue4.customercart) === null || _fetchcustomercartQue5 === void 0 ? void 0 : (_fetchcustomercartQue6 = _fetchcustomercartQue5.cartitems) === null || _fetchcustomercartQue6 === void 0 ? void 0 : _fetchcustomercartQue6.length : 0)), /*#__PURE__*/React.createElement("div", {
15503
15506
  "class": langdetect == 'en' ? "".concat(headerstyles$4.navbar_item) + ' allcentered m-0 cursor-pointer ml-3 ' : "".concat(headerstyles$4.navbar_item) + ' m-0 cursor-pointer mr-3 ',
15504
15507
  onClick: function onClick() {
15505
15508
  if (langdetect == 'en') {
@@ -15567,9 +15570,10 @@ function ownKeys$B(object, enumerableOnly) { var keys = Object.keys(object); if
15567
15570
  function _objectSpread$B(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$B(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$B(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
15568
15571
 
15569
15572
  var HeaderRestaurant = function HeaderRestaurant(props) {
15570
- var _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue9, _fetchcustomercartQue10, _fetchcustomercartQue11, _fetchcustomercartQue12, _fetchcustomercartQue13;
15573
+ var _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue9, _fetchcustomercartQue10;
15571
15574
 
15572
- useHistory(); // const { lang, setlang, langdetect } = useContext(LanguageContext);
15575
+ // let history = useHistory();
15576
+ // const { lang, setlang, langdetect } = useContext(LanguageContext);
15573
15577
  // const { fetch_inst_tabex_websitetemplatesQueryContext, StatePagePropertiesContext } = useContext(WebsiteDesignWorkPlaceContext);
15574
15578
  // const {
15575
15579
  // templateproperties_context,
@@ -15581,13 +15585,13 @@ var HeaderRestaurant = function HeaderRestaurant(props) {
15581
15585
  // setSearchHeaderInputContext,
15582
15586
  // } = useContext(FetchingContext);
15583
15587
  // const { routingcountext, StaticPagesLinksContext } = useContext(TemplateRoutingContext);
15584
-
15585
15588
  var _useState = useState(''),
15586
15589
  _useState2 = _slicedToArray(_useState, 2),
15587
15590
  sectionproperties = _useState2[0],
15588
15591
  setsectionproperties = _useState2[1];
15589
15592
 
15590
15593
  var LogoutMutationContext = props.actions.LogoutMutationContext;
15594
+ var fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
15591
15595
  var setsidecartnavshowcontext = props.actions.setsidecartnavshowcontext;
15592
15596
  props.actions.setSearchHeaderInputContext;
15593
15597
  var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
@@ -16100,7 +16104,7 @@ var HeaderRestaurant = function HeaderRestaurant(props) {
16100
16104
  top: sectionproperties.cartbadgetop + 'px',
16101
16105
  right: sectionproperties.cartbadgeright + 'px'
16102
16106
  }
16103
- }, ((_fetchcustomercartQue = fetchcustomercartQueryContext) === null || _fetchcustomercartQue === void 0 ? void 0 : (_fetchcustomercartQue2 = _fetchcustomercartQue.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : (_fetchcustomercartQue3 = _fetchcustomercartQue2.data) === null || _fetchcustomercartQue3 === void 0 ? void 0 : _fetchcustomercartQue3.customercart) != null ? ((_fetchcustomercartQue4 = fetchcustomercartQueryContext) === null || _fetchcustomercartQue4 === void 0 ? void 0 : (_fetchcustomercartQue5 = _fetchcustomercartQue4.data) === null || _fetchcustomercartQue5 === void 0 ? void 0 : (_fetchcustomercartQue6 = _fetchcustomercartQue5.data) === null || _fetchcustomercartQue6 === void 0 ? void 0 : (_fetchcustomercartQue7 = _fetchcustomercartQue6.customercart) === null || _fetchcustomercartQue7 === void 0 ? void 0 : (_fetchcustomercartQue8 = _fetchcustomercartQue7.cartitems) === null || _fetchcustomercartQue8 === void 0 ? void 0 : _fetchcustomercartQue8.length) >= 10 ? '+9' : (_fetchcustomercartQue9 = fetchcustomercartQueryContext) === null || _fetchcustomercartQue9 === void 0 ? void 0 : (_fetchcustomercartQue10 = _fetchcustomercartQue9.data) === null || _fetchcustomercartQue10 === void 0 ? void 0 : (_fetchcustomercartQue11 = _fetchcustomercartQue10.data) === null || _fetchcustomercartQue11 === void 0 ? void 0 : (_fetchcustomercartQue12 = _fetchcustomercartQue11.customercart) === null || _fetchcustomercartQue12 === void 0 ? void 0 : (_fetchcustomercartQue13 = _fetchcustomercartQue12.cartitems) === null || _fetchcustomercartQue13 === void 0 ? void 0 : _fetchcustomercartQue13.length : 0))), /*#__PURE__*/React.createElement("div", {
16107
+ }, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 ? void 0 : (_fetchcustomercartQue2 = _fetchcustomercartQue.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.customercart) != null ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue3 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue3 === void 0 ? void 0 : (_fetchcustomercartQue4 = _fetchcustomercartQue3.data) === null || _fetchcustomercartQue4 === void 0 ? void 0 : (_fetchcustomercartQue5 = _fetchcustomercartQue4.customercart) === null || _fetchcustomercartQue5 === void 0 ? void 0 : (_fetchcustomercartQue6 = _fetchcustomercartQue5.cartitems) === null || _fetchcustomercartQue6 === void 0 ? void 0 : _fetchcustomercartQue6.length) >= 10 ? '+9' : fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue7 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue7 === void 0 ? void 0 : (_fetchcustomercartQue8 = _fetchcustomercartQue7.data) === null || _fetchcustomercartQue8 === void 0 ? void 0 : (_fetchcustomercartQue9 = _fetchcustomercartQue8.customercart) === null || _fetchcustomercartQue9 === void 0 ? void 0 : (_fetchcustomercartQue10 = _fetchcustomercartQue9.cartitems) === null || _fetchcustomercartQue10 === void 0 ? void 0 : _fetchcustomercartQue10.length : 0))), /*#__PURE__*/React.createElement("div", {
16104
16108
  "class": langdetect == 'en' ? 'informationdropdown informationdropdown_en' : 'informationdropdown informationdropdown_ar'
16105
16109
  }, /*#__PURE__*/React.createElement(Dropdown, null, /*#__PURE__*/React.createElement(Dropdown.Toggle, null, /*#__PURE__*/React.createElement("i", {
16106
16110
  "class": header_cssstyles.infoiconcontainer + ' allcentered '
@@ -16264,7 +16268,7 @@ function ownKeys$A(object, enumerableOnly) { var keys = Object.keys(object); if
16264
16268
  function _objectSpread$A(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$A(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$A(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
16265
16269
 
16266
16270
  var HeaderwithContactinfo = function HeaderwithContactinfo(props) {
16267
- var _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8, _logoarrayofobjects$3, _logoarrayofobjects$4;
16271
+ var _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _logoarrayofobjects$3, _logoarrayofobjects$4;
16268
16272
 
16269
16273
  // const { lang, setlang, langdetect } = useContext(LanguageContext);
16270
16274
  // const { setSearchHeaderInputContext, setsidecartnavshowcontext, fetchAuthorizationQueryContext, fetchcustomercartQueryContext, LogoutMutationContext, templateproperties_context } =
@@ -16277,6 +16281,7 @@ var HeaderwithContactinfo = function HeaderwithContactinfo(props) {
16277
16281
  setsectionproperties = _useState2[1];
16278
16282
 
16279
16283
  var LogoutMutationContext = props.actions.LogoutMutationContext;
16284
+ var fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
16280
16285
  var setsidecartnavshowcontext = props.actions.setsidecartnavshowcontext;
16281
16286
  var setSearchHeaderInputContext = props.actions.setSearchHeaderInputContext;
16282
16287
  var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
@@ -16939,7 +16944,7 @@ var HeaderwithContactinfo = function HeaderwithContactinfo(props) {
16939
16944
  top: sectionproperties.cartbadgetop + 'px',
16940
16945
  right: sectionproperties.cartbadgeright + 'px'
16941
16946
  }
16942
- }, ((_fetchcustomercartQue = fetchcustomercartQueryContext) === null || _fetchcustomercartQue === void 0 ? void 0 : (_fetchcustomercartQue2 = _fetchcustomercartQue.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : (_fetchcustomercartQue3 = _fetchcustomercartQue2.data) === null || _fetchcustomercartQue3 === void 0 ? void 0 : _fetchcustomercartQue3.customercart) != null ? (_fetchcustomercartQue4 = fetchcustomercartQueryContext) === null || _fetchcustomercartQue4 === void 0 ? void 0 : (_fetchcustomercartQue5 = _fetchcustomercartQue4.data) === null || _fetchcustomercartQue5 === void 0 ? void 0 : (_fetchcustomercartQue6 = _fetchcustomercartQue5.data) === null || _fetchcustomercartQue6 === void 0 ? void 0 : (_fetchcustomercartQue7 = _fetchcustomercartQue6.customercart) === null || _fetchcustomercartQue7 === void 0 ? void 0 : (_fetchcustomercartQue8 = _fetchcustomercartQue7.cartitems) === null || _fetchcustomercartQue8 === void 0 ? void 0 : _fetchcustomercartQue8.length : 0), sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React.createElement(FiShoppingBag, {
16947
+ }, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 ? void 0 : (_fetchcustomercartQue2 = _fetchcustomercartQue.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.customercart) != null ? fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue3 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue3 === void 0 ? void 0 : (_fetchcustomercartQue4 = _fetchcustomercartQue3.data) === null || _fetchcustomercartQue4 === void 0 ? void 0 : (_fetchcustomercartQue5 = _fetchcustomercartQue4.customercart) === null || _fetchcustomercartQue5 === void 0 ? void 0 : (_fetchcustomercartQue6 = _fetchcustomercartQue5.cartitems) === null || _fetchcustomercartQue6 === void 0 ? void 0 : _fetchcustomercartQue6.length : 0), sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React.createElement(FiShoppingBag, {
16943
16948
  size: sectionproperties.cartBtn_iconFontSize
16944
16949
  }), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React.createElement(CgShoppingBag, {
16945
16950
  size: sectionproperties.cartBtn_iconFontSize
@@ -17100,9 +17105,10 @@ function ownKeys$z(object, enumerableOnly) { var keys = Object.keys(object); if
17100
17105
  function _objectSpread$z(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$z(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$z(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
17101
17106
 
17102
17107
  var Modernheader = function Modernheader(props) {
17103
- var _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue9, _fetchcustomercartQue10, _fetchcustomercartQue11, _fetchcustomercartQue12, _fetchcustomercartQue13;
17108
+ var _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue9, _fetchcustomercartQue10;
17104
17109
 
17105
- useHistory(); // const { lang, setlang, langdetect } = useContext(LanguageContext);
17110
+ // let history = useHistory();
17111
+ // const { lang, setlang, langdetect } = useContext(LanguageContext);
17106
17112
  // const { fetch_inst_tabex_websitetemplatesQueryContext, StatePagePropertiesContext } = useContext(WebsiteDesignWorkPlaceContext);
17107
17113
  // const {
17108
17114
  // templateproperties_context,
@@ -17114,13 +17120,13 @@ var Modernheader = function Modernheader(props) {
17114
17120
  // setSearchHeaderInputContext,
17115
17121
  // } = useContext(FetchingContext);
17116
17122
  // const { routingcountext, StaticPagesLinksContext } = useContext(TemplateRoutingContext);
17117
-
17118
17123
  var _useState = useState(''),
17119
17124
  _useState2 = _slicedToArray(_useState, 2),
17120
17125
  sectionproperties = _useState2[0],
17121
17126
  setsectionproperties = _useState2[1];
17122
17127
 
17123
17128
  var LogoutMutationContext = props.actions.LogoutMutationContext;
17129
+ var fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
17124
17130
  var setsidecartnavshowcontext = props.actions.setsidecartnavshowcontext;
17125
17131
  var setSearchHeaderInputContext = props.actions.setSearchHeaderInputContext;
17126
17132
  var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
@@ -17133,6 +17139,7 @@ var Modernheader = function Modernheader(props) {
17133
17139
  var favoriteprojectscountContext = props.actions.favoriteprojectscountContext;
17134
17140
  var routingcountext = props.actions.routingcountext;
17135
17141
  var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
17142
+ props.actions.useHistory;
17136
17143
  var actions = props.actions; // const fetch_inst_tabex_websitetemplatesQueryContext = props.fetch_inst_tabex_websitetemplatesQueryContext;
17137
17144
 
17138
17145
  useEffect(function () {
@@ -17635,7 +17642,7 @@ var Modernheader = function Modernheader(props) {
17635
17642
  top: sectionproperties.cartbadgetop + 'px',
17636
17643
  right: sectionproperties.cartbadgeright + 'px'
17637
17644
  }
17638
- }, ((_fetchcustomercartQue = fetchcustomercartQueryContext) === null || _fetchcustomercartQue === void 0 ? void 0 : (_fetchcustomercartQue2 = _fetchcustomercartQue.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : (_fetchcustomercartQue3 = _fetchcustomercartQue2.data) === null || _fetchcustomercartQue3 === void 0 ? void 0 : _fetchcustomercartQue3.customercart) != null ? ((_fetchcustomercartQue4 = fetchcustomercartQueryContext) === null || _fetchcustomercartQue4 === void 0 ? void 0 : (_fetchcustomercartQue5 = _fetchcustomercartQue4.data) === null || _fetchcustomercartQue5 === void 0 ? void 0 : (_fetchcustomercartQue6 = _fetchcustomercartQue5.data) === null || _fetchcustomercartQue6 === void 0 ? void 0 : (_fetchcustomercartQue7 = _fetchcustomercartQue6.customercart) === null || _fetchcustomercartQue7 === void 0 ? void 0 : (_fetchcustomercartQue8 = _fetchcustomercartQue7.cartitems) === null || _fetchcustomercartQue8 === void 0 ? void 0 : _fetchcustomercartQue8.length) >= 10 ? '+9' : (_fetchcustomercartQue9 = fetchcustomercartQueryContext) === null || _fetchcustomercartQue9 === void 0 ? void 0 : (_fetchcustomercartQue10 = _fetchcustomercartQue9.data) === null || _fetchcustomercartQue10 === void 0 ? void 0 : (_fetchcustomercartQue11 = _fetchcustomercartQue10.data) === null || _fetchcustomercartQue11 === void 0 ? void 0 : (_fetchcustomercartQue12 = _fetchcustomercartQue11.customercart) === null || _fetchcustomercartQue12 === void 0 ? void 0 : (_fetchcustomercartQue13 = _fetchcustomercartQue12.cartitems) === null || _fetchcustomercartQue13 === void 0 ? void 0 : _fetchcustomercartQue13.length : 0))), /*#__PURE__*/React.createElement("div", {
17645
+ }, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 ? void 0 : (_fetchcustomercartQue2 = _fetchcustomercartQue.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.customercart) != null ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue3 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue3 === void 0 ? void 0 : (_fetchcustomercartQue4 = _fetchcustomercartQue3.data) === null || _fetchcustomercartQue4 === void 0 ? void 0 : (_fetchcustomercartQue5 = _fetchcustomercartQue4.customercart) === null || _fetchcustomercartQue5 === void 0 ? void 0 : (_fetchcustomercartQue6 = _fetchcustomercartQue5.cartitems) === null || _fetchcustomercartQue6 === void 0 ? void 0 : _fetchcustomercartQue6.length) >= 10 ? '+9' : fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue7 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue7 === void 0 ? void 0 : (_fetchcustomercartQue8 = _fetchcustomercartQue7.data) === null || _fetchcustomercartQue8 === void 0 ? void 0 : (_fetchcustomercartQue9 = _fetchcustomercartQue8.customercart) === null || _fetchcustomercartQue9 === void 0 ? void 0 : (_fetchcustomercartQue10 = _fetchcustomercartQue9.cartitems) === null || _fetchcustomercartQue10 === void 0 ? void 0 : _fetchcustomercartQue10.length : 0))), /*#__PURE__*/React.createElement("div", {
17639
17646
  "class": langdetect == 'en' ? 'headerdropdownml' : 'headerdropdownmr'
17640
17647
  }, /*#__PURE__*/React.createElement(Dropdown, null, /*#__PURE__*/React.createElement(Dropdown.Toggle, null, /*#__PURE__*/React.createElement("li", {
17641
17648
  "class": "".concat(headerstyles$1.header_menu) + ' allcentered '
@@ -17783,7 +17790,7 @@ function ownKeys$y(object, enumerableOnly) { var keys = Object.keys(object); if
17783
17790
  function _objectSpread$y(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$y(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$y(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
17784
17791
 
17785
17792
  var StylishHeader = function StylishHeader(props) {
17786
- var _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue9, _fetchcustomercartQue10, _fetchcustomercartQue11, _fetchcustomercartQue12, _logoarrayofobjects$3, _logoarrayofobjects$4, _logoarrayofobjects$5, _logoarrayofobjects$6;
17793
+ var _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue9, _fetchcustomercartQue10, _logoarrayofobjects$3, _logoarrayofobjects$4, _logoarrayofobjects$5, _logoarrayofobjects$6;
17787
17794
 
17788
17795
  // const { lang, setlang, langdetect } = useContext(LanguageContext);
17789
17796
  // const { fetch_inst_tabex_websitetemplatesQueryContext, StatePagePropertiesContext } = useContext(WebsiteDesignWorkPlaceContext);
@@ -17805,6 +17812,7 @@ var StylishHeader = function StylishHeader(props) {
17805
17812
  var LogoutMutationContext = props.actions.LogoutMutationContext;
17806
17813
  var setsidecartnavshowcontext = props.actions.setsidecartnavshowcontext;
17807
17814
  var setSearchHeaderInputContext = props.actions.setSearchHeaderInputContext;
17815
+ var fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
17808
17816
  var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
17809
17817
  var lang = props.actions.lang;
17810
17818
  var langdetect = props.actions.langdetect;
@@ -17815,9 +17823,10 @@ var StylishHeader = function StylishHeader(props) {
17815
17823
  var favoriteprojectscountContext = props.actions.favoriteprojectscountContext;
17816
17824
  var routingcountext = props.actions.routingcountext;
17817
17825
  var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
17818
- props.actions; // const fetch_inst_tabex_websitetemplatesQueryContext = props.fetch_inst_tabex_websitetemplatesQueryContext;
17826
+ var actions = props.actions; // const fetch_inst_tabex_websitetemplatesQueryContext = props.fetch_inst_tabex_websitetemplatesQueryContext;
17819
17827
 
17820
17828
  useEffect(function () {
17829
+ console.log('asd');
17821
17830
  var secpropobj = {};
17822
17831
  StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
17823
17832
  if (sectionitem.sectionid == props.sectionidprops) {
@@ -18381,7 +18390,7 @@ var StylishHeader = function StylishHeader(props) {
18381
18390
  top: sectionproperties.cartbadgetop + 'px',
18382
18391
  right: sectionproperties.cartbadgeright + 'px'
18383
18392
  }
18384
- }, ((_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 ? void 0 : (_fetchcustomercartQue2 = _fetchcustomercartQue.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.customercart) != null ? ((_fetchcustomercartQue3 = fetchcustomercartQueryContext) === null || _fetchcustomercartQue3 === void 0 ? void 0 : (_fetchcustomercartQue4 = _fetchcustomercartQue3.data) === null || _fetchcustomercartQue4 === void 0 ? void 0 : (_fetchcustomercartQue5 = _fetchcustomercartQue4.data) === null || _fetchcustomercartQue5 === void 0 ? void 0 : (_fetchcustomercartQue6 = _fetchcustomercartQue5.customercart) === null || _fetchcustomercartQue6 === void 0 ? void 0 : (_fetchcustomercartQue7 = _fetchcustomercartQue6.cartitems) === null || _fetchcustomercartQue7 === void 0 ? void 0 : _fetchcustomercartQue7.length) >= 10 ? '+9' : (_fetchcustomercartQue8 = fetchcustomercartQueryContext) === null || _fetchcustomercartQue8 === void 0 ? void 0 : (_fetchcustomercartQue9 = _fetchcustomercartQue8.data) === null || _fetchcustomercartQue9 === void 0 ? void 0 : (_fetchcustomercartQue10 = _fetchcustomercartQue9.data) === null || _fetchcustomercartQue10 === void 0 ? void 0 : (_fetchcustomercartQue11 = _fetchcustomercartQue10.customercart) === null || _fetchcustomercartQue11 === void 0 ? void 0 : (_fetchcustomercartQue12 = _fetchcustomercartQue11.cartitems) === null || _fetchcustomercartQue12 === void 0 ? void 0 : _fetchcustomercartQue12.length : 0))), /*#__PURE__*/React.createElement("div", {
18393
+ }, ((_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 ? void 0 : (_fetchcustomercartQue2 = _fetchcustomercartQue.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.customercart) != null ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue3 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue3 === void 0 ? void 0 : (_fetchcustomercartQue4 = _fetchcustomercartQue3.data) === null || _fetchcustomercartQue4 === void 0 ? void 0 : (_fetchcustomercartQue5 = _fetchcustomercartQue4.customercart) === null || _fetchcustomercartQue5 === void 0 ? void 0 : (_fetchcustomercartQue6 = _fetchcustomercartQue5.cartitems) === null || _fetchcustomercartQue6 === void 0 ? void 0 : _fetchcustomercartQue6.length) >= 10 ? '+9' : fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue7 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue7 === void 0 ? void 0 : (_fetchcustomercartQue8 = _fetchcustomercartQue7.data) === null || _fetchcustomercartQue8 === void 0 ? void 0 : (_fetchcustomercartQue9 = _fetchcustomercartQue8.customercart) === null || _fetchcustomercartQue9 === void 0 ? void 0 : (_fetchcustomercartQue10 = _fetchcustomercartQue9.cartitems) === null || _fetchcustomercartQue10 === void 0 ? void 0 : _fetchcustomercartQue10.length : 0))), /*#__PURE__*/React.createElement("div", {
18385
18394
  "class": langdetect == 'en' ? 'headerdropdownml' : 'headerdropdownmr'
18386
18395
  }, /*#__PURE__*/React.createElement(Dropdown, null, /*#__PURE__*/React.createElement(Dropdown.Toggle, null, /*#__PURE__*/React.createElement("li", {
18387
18396
  "class": ' d-flex align-items-center justify-content-center '
@@ -18544,9 +18553,11 @@ var StylishHeader = function StylishHeader(props) {
18544
18553
  "class": "allcentered"
18545
18554
  }, /*#__PURE__*/React.createElement(Searchlist, {
18546
18555
  sectionpropertiesprops: sectionproperties,
18547
- srcfromprops: 'StylishHeader'
18556
+ srcfromprops: 'StylishHeader',
18557
+ actions: actions
18548
18558
  }))))))))), /*#__PURE__*/React.createElement(Headerresponsive, {
18549
- sectionpropertiesprops: sectionproperties
18559
+ sectionpropertiesprops: sectionproperties,
18560
+ actions: actions
18550
18561
  }));
18551
18562
  };
18552
18563
 
package/dist/index.umd.js CHANGED
@@ -7645,7 +7645,7 @@
7645
7645
  var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
7646
7646
  var routingcountext = props.actions.routingcountext;
7647
7647
  var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
7648
- var sectionindexcontext = props.sectionindexcontext;
7648
+ props.sectionindexcontext;
7649
7649
  React.useEffect(function () {
7650
7650
  if (props.srcfrom == 'addsectionform') {
7651
7651
  var secpropobj = {};
@@ -7847,7 +7847,7 @@
7847
7847
  style: {
7848
7848
  position: 'relative',
7849
7849
  background: sectionproperties.formRightbgColor,
7850
- borderTopRightRadius: sectionindexcontext.formRight_bordertoprightradius + 'px',
7850
+ borderTopRightRadius: sectionproperties.formRight_bordertoprightradius + 'px',
7851
7851
  borderTopLeftRadius: sectionproperties.formRight_bordertopleftradius + 'px',
7852
7852
  borderBottomRightRadius: sectionproperties.formRight_borderbottomrightadius + 'px',
7853
7853
  borderBottomLeftRadius: sectionproperties.formRight_borderbottomleftadius + 'px',
@@ -13023,7 +13023,7 @@
13023
13023
  function _objectSpread$F(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$F(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$F(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
13024
13024
 
13025
13025
  var AllinoneHeader = function AllinoneHeader(props) {
13026
- var _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue9, _fetchcustomercartQue10, _fetchcustomercartQue11, _fetchcustomercartQue12, _fetchcustomercartQue13;
13026
+ var _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue9, _fetchcustomercartQue10;
13027
13027
 
13028
13028
  // let history = useHistory();
13029
13029
  // const { lang, setlang, langdetect } = useContext(LanguageContext);
@@ -13037,6 +13037,7 @@
13037
13037
  setsectionproperties = _useState2[1];
13038
13038
 
13039
13039
  var LogoutMutationContext = props.actions.LogoutMutationContext;
13040
+ var fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
13040
13041
  var setsidecartnavshowcontext = props.actions.setsidecartnavshowcontext;
13041
13042
  var setSearchHeaderInputContext = props.actions.setSearchHeaderInputContext;
13042
13043
  var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
@@ -13294,10 +13295,10 @@
13294
13295
  }, [templateproperties_context]);
13295
13296
 
13296
13297
  var subtotalcart = function subtotalcart() {
13297
- var _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5;
13298
+ var _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4;
13298
13299
 
13299
13300
  var totalprice = 0;
13300
- (_fetchcustomercartQue = fetchcustomercartQueryContext) === null || _fetchcustomercartQue === void 0 ? void 0 : (_fetchcustomercartQue2 = _fetchcustomercartQue.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : (_fetchcustomercartQue3 = _fetchcustomercartQue2.data) === null || _fetchcustomercartQue3 === void 0 ? void 0 : (_fetchcustomercartQue4 = _fetchcustomercartQue3.customercart) === null || _fetchcustomercartQue4 === void 0 ? void 0 : (_fetchcustomercartQue5 = _fetchcustomercartQue4.cartitems) === null || _fetchcustomercartQue5 === void 0 ? void 0 : _fetchcustomercartQue5.forEach(function (cartitem, cartindex) {
13301
+ fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 ? void 0 : (_fetchcustomercartQue2 = _fetchcustomercartQue.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : (_fetchcustomercartQue3 = _fetchcustomercartQue2.customercart) === null || _fetchcustomercartQue3 === void 0 ? void 0 : (_fetchcustomercartQue4 = _fetchcustomercartQue3.cartitems) === null || _fetchcustomercartQue4 === void 0 ? void 0 : _fetchcustomercartQue4.forEach(function (cartitem, cartindex) {
13301
13302
  var finalprice = 0;
13302
13303
 
13303
13304
  if (cartitem.productinfo.hassale == 0) {
@@ -13547,7 +13548,7 @@
13547
13548
  size: sectionproperties.cartBtn_iconFontSize
13548
13549
  }), /*#__PURE__*/React__default["default"].createElement("div", {
13549
13550
  "class": "".concat(header_cssstyles.badge_counter_header_notifications, " ").concat(header_cssstyles.cartbadge)
13550
- }, ((_fetchcustomercartQue6 = fetchcustomercartQueryContext) === null || _fetchcustomercartQue6 === void 0 ? void 0 : (_fetchcustomercartQue7 = _fetchcustomercartQue6.data) === null || _fetchcustomercartQue7 === void 0 ? void 0 : (_fetchcustomercartQue8 = _fetchcustomercartQue7.data) === null || _fetchcustomercartQue8 === void 0 ? void 0 : _fetchcustomercartQue8.customercart) != null ? (_fetchcustomercartQue9 = fetchcustomercartQueryContext) === null || _fetchcustomercartQue9 === void 0 ? void 0 : (_fetchcustomercartQue10 = _fetchcustomercartQue9.data) === null || _fetchcustomercartQue10 === void 0 ? void 0 : (_fetchcustomercartQue11 = _fetchcustomercartQue10.data) === null || _fetchcustomercartQue11 === void 0 ? void 0 : (_fetchcustomercartQue12 = _fetchcustomercartQue11.customercart) === null || _fetchcustomercartQue12 === void 0 ? void 0 : (_fetchcustomercartQue13 = _fetchcustomercartQue12.cartitems) === null || _fetchcustomercartQue13 === void 0 ? void 0 : _fetchcustomercartQue13.length : 0)), /*#__PURE__*/React__default["default"].createElement("p", {
13551
+ }, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue5 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue5 === void 0 ? void 0 : (_fetchcustomercartQue6 = _fetchcustomercartQue5.data) === null || _fetchcustomercartQue6 === void 0 ? void 0 : _fetchcustomercartQue6.customercart) != null ? fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue7 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue7 === void 0 ? void 0 : (_fetchcustomercartQue8 = _fetchcustomercartQue7.data) === null || _fetchcustomercartQue8 === void 0 ? void 0 : (_fetchcustomercartQue9 = _fetchcustomercartQue8.customercart) === null || _fetchcustomercartQue9 === void 0 ? void 0 : (_fetchcustomercartQue10 = _fetchcustomercartQue9.cartitems) === null || _fetchcustomercartQue10 === void 0 ? void 0 : _fetchcustomercartQue10.length : 0)), /*#__PURE__*/React__default["default"].createElement("p", {
13551
13552
  "class": "m-0 p-0 d-flex flex-column ",
13552
13553
  style: {
13553
13554
  color: sectionproperties.cartBtnTextcolor,
@@ -13689,7 +13690,7 @@
13689
13690
  function _objectSpread$E(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$E(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$E(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
13690
13691
 
13691
13692
  var Header_threesectionslogocentered = function Header_threesectionslogocentered(props) {
13692
- var _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8;
13693
+ var _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6;
13693
13694
 
13694
13695
  // let history = useHistory();
13695
13696
  // const { lang, setlang, langdetect } = useContext(LanguageContext);
@@ -13703,6 +13704,7 @@
13703
13704
  setsectionproperties = _useState2[1];
13704
13705
 
13705
13706
  var LogoutMutationContext = props.actions.LogoutMutationContext;
13707
+ var fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
13706
13708
  var setsidecartnavshowcontext = props.actions.setsidecartnavshowcontext;
13707
13709
  var setSearchHeaderInputContext = props.actions.setSearchHeaderInputContext;
13708
13710
  var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
@@ -14191,7 +14193,7 @@
14191
14193
  style: {
14192
14194
  maxWidth: '60px'
14193
14195
  }
14194
- }, authdetailsContext.customerinfo.name)))), !authdetailsContex.tloggedin && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
14196
+ }, authdetailsContext.customerinfo.name)))), !authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
14195
14197
  onClick: function onClick() {
14196
14198
  routingcountext(StaticPagesLinksContext.Login);
14197
14199
  }
@@ -14292,7 +14294,7 @@
14292
14294
  }
14293
14295
  }, /*#__PURE__*/React__default["default"].createElement("div", {
14294
14296
  className: "".concat(headerstyles$6.badge_counter_header_notifications, " ").concat(header_cssstyles.badge_counter_header_notifications) + ' d-flex justify-content-center align-items-center '
14295
- }, ((_fetchcustomercartQue = fetchcustomercartQueryContext) === null || _fetchcustomercartQue === void 0 ? void 0 : (_fetchcustomercartQue2 = _fetchcustomercartQue.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : (_fetchcustomercartQue3 = _fetchcustomercartQue2.data) === null || _fetchcustomercartQue3 === void 0 ? void 0 : _fetchcustomercartQue3.customercart) != null ? (_fetchcustomercartQue4 = fetchcustomercartQueryContext) === null || _fetchcustomercartQue4 === void 0 ? void 0 : (_fetchcustomercartQue5 = _fetchcustomercartQue4.data) === null || _fetchcustomercartQue5 === void 0 ? void 0 : (_fetchcustomercartQue6 = _fetchcustomercartQue5.data) === null || _fetchcustomercartQue6 === void 0 ? void 0 : (_fetchcustomercartQue7 = _fetchcustomercartQue6.customercart) === null || _fetchcustomercartQue7 === void 0 ? void 0 : (_fetchcustomercartQue8 = _fetchcustomercartQue7.cartitems) === null || _fetchcustomercartQue8 === void 0 ? void 0 : _fetchcustomercartQue8.length : 0), sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(fi.FiShoppingBag, {
14297
+ }, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 ? void 0 : (_fetchcustomercartQue2 = _fetchcustomercartQue.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.customercart) != null ? fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue3 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue3 === void 0 ? void 0 : (_fetchcustomercartQue4 = _fetchcustomercartQue3.data) === null || _fetchcustomercartQue4 === void 0 ? void 0 : (_fetchcustomercartQue5 = _fetchcustomercartQue4.customercart) === null || _fetchcustomercartQue5 === void 0 ? void 0 : (_fetchcustomercartQue6 = _fetchcustomercartQue5.cartitems) === null || _fetchcustomercartQue6 === void 0 ? void 0 : _fetchcustomercartQue6.length : 0), sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(fi.FiShoppingBag, {
14296
14298
  size: sectionproperties.cartBtn_iconFontSize
14297
14299
  }), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(cg.CgShoppingBag, {
14298
14300
  size: sectionproperties.cartBtn_iconFontSize
@@ -14967,7 +14969,7 @@
14967
14969
  function _objectSpread$C(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$C(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$C(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
14968
14970
 
14969
14971
  var Header6 = function Header6(props) {
14970
- var _css, _css2, _header_cssstyles, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8;
14972
+ var _css, _css2, _header_cssstyles, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6;
14971
14973
 
14972
14974
  // const { lang, setlang, langdetect } = useContext(LanguageContext);
14973
14975
  // const { fetch_inst_tabex_websitetemplatesQueryContext, sectionindexcontext, pageindexcontext, StatePagePropertiesContext } = useContext(WebsiteDesignWorkPlaceContext);
@@ -14992,6 +14994,7 @@
14992
14994
  _useState4[1];
14993
14995
 
14994
14996
  var LogoutMutationContext = props.actions.LogoutMutationContext;
14997
+ var fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
14995
14998
  var setsidecartnavshowcontext = props.actions.setsidecartnavshowcontext;
14996
14999
  var setSearchHeaderInputContext = props.actions.setSearchHeaderInputContext;
14997
15000
  var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
@@ -15481,7 +15484,7 @@
15481
15484
  style: {
15482
15485
  color: sectionproperties.cartBtnbgColor
15483
15486
  }
15484
- }, ((_fetchcustomercartQue = fetchcustomercartQueryContext) === null || _fetchcustomercartQue === void 0 ? void 0 : (_fetchcustomercartQue2 = _fetchcustomercartQue.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : (_fetchcustomercartQue3 = _fetchcustomercartQue2.data) === null || _fetchcustomercartQue3 === void 0 ? void 0 : _fetchcustomercartQue3.customercart) != null ? (_fetchcustomercartQue4 = fetchcustomercartQueryContext) === null || _fetchcustomercartQue4 === void 0 ? void 0 : (_fetchcustomercartQue5 = _fetchcustomercartQue4.data) === null || _fetchcustomercartQue5 === void 0 ? void 0 : (_fetchcustomercartQue6 = _fetchcustomercartQue5.data) === null || _fetchcustomercartQue6 === void 0 ? void 0 : (_fetchcustomercartQue7 = _fetchcustomercartQue6.customercart) === null || _fetchcustomercartQue7 === void 0 ? void 0 : (_fetchcustomercartQue8 = _fetchcustomercartQue7.cartitems) === null || _fetchcustomercartQue8 === void 0 ? void 0 : _fetchcustomercartQue8.length : 0)), /*#__PURE__*/React__default["default"].createElement("div", {
15487
+ }, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 ? void 0 : (_fetchcustomercartQue2 = _fetchcustomercartQue.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.customercart) != null ? fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue3 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue3 === void 0 ? void 0 : (_fetchcustomercartQue4 = _fetchcustomercartQue3.data) === null || _fetchcustomercartQue4 === void 0 ? void 0 : (_fetchcustomercartQue5 = _fetchcustomercartQue4.customercart) === null || _fetchcustomercartQue5 === void 0 ? void 0 : (_fetchcustomercartQue6 = _fetchcustomercartQue5.cartitems) === null || _fetchcustomercartQue6 === void 0 ? void 0 : _fetchcustomercartQue6.length : 0)), /*#__PURE__*/React__default["default"].createElement("div", {
15485
15488
  "class": langdetect == 'en' ? "".concat(headerstyles$4.navbar_item) + ' allcentered m-0 cursor-pointer ml-3 ' : "".concat(headerstyles$4.navbar_item) + ' m-0 cursor-pointer mr-3 ',
15486
15489
  onClick: function onClick() {
15487
15490
  if (langdetect == 'en') {
@@ -15549,9 +15552,10 @@
15549
15552
  function _objectSpread$B(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$B(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$B(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
15550
15553
 
15551
15554
  var HeaderRestaurant = function HeaderRestaurant(props) {
15552
- var _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue9, _fetchcustomercartQue10, _fetchcustomercartQue11, _fetchcustomercartQue12, _fetchcustomercartQue13;
15555
+ var _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue9, _fetchcustomercartQue10;
15553
15556
 
15554
- useHistory(); // const { lang, setlang, langdetect } = useContext(LanguageContext);
15557
+ // let history = useHistory();
15558
+ // const { lang, setlang, langdetect } = useContext(LanguageContext);
15555
15559
  // const { fetch_inst_tabex_websitetemplatesQueryContext, StatePagePropertiesContext } = useContext(WebsiteDesignWorkPlaceContext);
15556
15560
  // const {
15557
15561
  // templateproperties_context,
@@ -15563,13 +15567,13 @@
15563
15567
  // setSearchHeaderInputContext,
15564
15568
  // } = useContext(FetchingContext);
15565
15569
  // const { routingcountext, StaticPagesLinksContext } = useContext(TemplateRoutingContext);
15566
-
15567
15570
  var _useState = React.useState(''),
15568
15571
  _useState2 = _slicedToArray__default["default"](_useState, 2),
15569
15572
  sectionproperties = _useState2[0],
15570
15573
  setsectionproperties = _useState2[1];
15571
15574
 
15572
15575
  var LogoutMutationContext = props.actions.LogoutMutationContext;
15576
+ var fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
15573
15577
  var setsidecartnavshowcontext = props.actions.setsidecartnavshowcontext;
15574
15578
  props.actions.setSearchHeaderInputContext;
15575
15579
  var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
@@ -16082,7 +16086,7 @@
16082
16086
  top: sectionproperties.cartbadgetop + 'px',
16083
16087
  right: sectionproperties.cartbadgeright + 'px'
16084
16088
  }
16085
- }, ((_fetchcustomercartQue = fetchcustomercartQueryContext) === null || _fetchcustomercartQue === void 0 ? void 0 : (_fetchcustomercartQue2 = _fetchcustomercartQue.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : (_fetchcustomercartQue3 = _fetchcustomercartQue2.data) === null || _fetchcustomercartQue3 === void 0 ? void 0 : _fetchcustomercartQue3.customercart) != null ? ((_fetchcustomercartQue4 = fetchcustomercartQueryContext) === null || _fetchcustomercartQue4 === void 0 ? void 0 : (_fetchcustomercartQue5 = _fetchcustomercartQue4.data) === null || _fetchcustomercartQue5 === void 0 ? void 0 : (_fetchcustomercartQue6 = _fetchcustomercartQue5.data) === null || _fetchcustomercartQue6 === void 0 ? void 0 : (_fetchcustomercartQue7 = _fetchcustomercartQue6.customercart) === null || _fetchcustomercartQue7 === void 0 ? void 0 : (_fetchcustomercartQue8 = _fetchcustomercartQue7.cartitems) === null || _fetchcustomercartQue8 === void 0 ? void 0 : _fetchcustomercartQue8.length) >= 10 ? '+9' : (_fetchcustomercartQue9 = fetchcustomercartQueryContext) === null || _fetchcustomercartQue9 === void 0 ? void 0 : (_fetchcustomercartQue10 = _fetchcustomercartQue9.data) === null || _fetchcustomercartQue10 === void 0 ? void 0 : (_fetchcustomercartQue11 = _fetchcustomercartQue10.data) === null || _fetchcustomercartQue11 === void 0 ? void 0 : (_fetchcustomercartQue12 = _fetchcustomercartQue11.customercart) === null || _fetchcustomercartQue12 === void 0 ? void 0 : (_fetchcustomercartQue13 = _fetchcustomercartQue12.cartitems) === null || _fetchcustomercartQue13 === void 0 ? void 0 : _fetchcustomercartQue13.length : 0))), /*#__PURE__*/React__default["default"].createElement("div", {
16089
+ }, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 ? void 0 : (_fetchcustomercartQue2 = _fetchcustomercartQue.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.customercart) != null ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue3 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue3 === void 0 ? void 0 : (_fetchcustomercartQue4 = _fetchcustomercartQue3.data) === null || _fetchcustomercartQue4 === void 0 ? void 0 : (_fetchcustomercartQue5 = _fetchcustomercartQue4.customercart) === null || _fetchcustomercartQue5 === void 0 ? void 0 : (_fetchcustomercartQue6 = _fetchcustomercartQue5.cartitems) === null || _fetchcustomercartQue6 === void 0 ? void 0 : _fetchcustomercartQue6.length) >= 10 ? '+9' : fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue7 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue7 === void 0 ? void 0 : (_fetchcustomercartQue8 = _fetchcustomercartQue7.data) === null || _fetchcustomercartQue8 === void 0 ? void 0 : (_fetchcustomercartQue9 = _fetchcustomercartQue8.customercart) === null || _fetchcustomercartQue9 === void 0 ? void 0 : (_fetchcustomercartQue10 = _fetchcustomercartQue9.cartitems) === null || _fetchcustomercartQue10 === void 0 ? void 0 : _fetchcustomercartQue10.length : 0))), /*#__PURE__*/React__default["default"].createElement("div", {
16086
16090
  "class": langdetect == 'en' ? 'informationdropdown informationdropdown_en' : 'informationdropdown informationdropdown_ar'
16087
16091
  }, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"], null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Toggle, null, /*#__PURE__*/React__default["default"].createElement("i", {
16088
16092
  "class": header_cssstyles.infoiconcontainer + ' allcentered '
@@ -16246,7 +16250,7 @@
16246
16250
  function _objectSpread$A(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$A(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$A(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
16247
16251
 
16248
16252
  var HeaderwithContactinfo = function HeaderwithContactinfo(props) {
16249
- var _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8, _logoarrayofobjects$3, _logoarrayofobjects$4;
16253
+ var _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _logoarrayofobjects$3, _logoarrayofobjects$4;
16250
16254
 
16251
16255
  // const { lang, setlang, langdetect } = useContext(LanguageContext);
16252
16256
  // const { setSearchHeaderInputContext, setsidecartnavshowcontext, fetchAuthorizationQueryContext, fetchcustomercartQueryContext, LogoutMutationContext, templateproperties_context } =
@@ -16259,6 +16263,7 @@
16259
16263
  setsectionproperties = _useState2[1];
16260
16264
 
16261
16265
  var LogoutMutationContext = props.actions.LogoutMutationContext;
16266
+ var fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
16262
16267
  var setsidecartnavshowcontext = props.actions.setsidecartnavshowcontext;
16263
16268
  var setSearchHeaderInputContext = props.actions.setSearchHeaderInputContext;
16264
16269
  var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
@@ -16921,7 +16926,7 @@
16921
16926
  top: sectionproperties.cartbadgetop + 'px',
16922
16927
  right: sectionproperties.cartbadgeright + 'px'
16923
16928
  }
16924
- }, ((_fetchcustomercartQue = fetchcustomercartQueryContext) === null || _fetchcustomercartQue === void 0 ? void 0 : (_fetchcustomercartQue2 = _fetchcustomercartQue.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : (_fetchcustomercartQue3 = _fetchcustomercartQue2.data) === null || _fetchcustomercartQue3 === void 0 ? void 0 : _fetchcustomercartQue3.customercart) != null ? (_fetchcustomercartQue4 = fetchcustomercartQueryContext) === null || _fetchcustomercartQue4 === void 0 ? void 0 : (_fetchcustomercartQue5 = _fetchcustomercartQue4.data) === null || _fetchcustomercartQue5 === void 0 ? void 0 : (_fetchcustomercartQue6 = _fetchcustomercartQue5.data) === null || _fetchcustomercartQue6 === void 0 ? void 0 : (_fetchcustomercartQue7 = _fetchcustomercartQue6.customercart) === null || _fetchcustomercartQue7 === void 0 ? void 0 : (_fetchcustomercartQue8 = _fetchcustomercartQue7.cartitems) === null || _fetchcustomercartQue8 === void 0 ? void 0 : _fetchcustomercartQue8.length : 0), sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(fi.FiShoppingBag, {
16929
+ }, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 ? void 0 : (_fetchcustomercartQue2 = _fetchcustomercartQue.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.customercart) != null ? fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue3 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue3 === void 0 ? void 0 : (_fetchcustomercartQue4 = _fetchcustomercartQue3.data) === null || _fetchcustomercartQue4 === void 0 ? void 0 : (_fetchcustomercartQue5 = _fetchcustomercartQue4.customercart) === null || _fetchcustomercartQue5 === void 0 ? void 0 : (_fetchcustomercartQue6 = _fetchcustomercartQue5.cartitems) === null || _fetchcustomercartQue6 === void 0 ? void 0 : _fetchcustomercartQue6.length : 0), sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(fi.FiShoppingBag, {
16925
16930
  size: sectionproperties.cartBtn_iconFontSize
16926
16931
  }), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(cg.CgShoppingBag, {
16927
16932
  size: sectionproperties.cartBtn_iconFontSize
@@ -17082,9 +17087,10 @@
17082
17087
  function _objectSpread$z(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$z(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$z(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
17083
17088
 
17084
17089
  var Modernheader = function Modernheader(props) {
17085
- var _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue9, _fetchcustomercartQue10, _fetchcustomercartQue11, _fetchcustomercartQue12, _fetchcustomercartQue13;
17090
+ var _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue9, _fetchcustomercartQue10;
17086
17091
 
17087
- useHistory(); // const { lang, setlang, langdetect } = useContext(LanguageContext);
17092
+ // let history = useHistory();
17093
+ // const { lang, setlang, langdetect } = useContext(LanguageContext);
17088
17094
  // const { fetch_inst_tabex_websitetemplatesQueryContext, StatePagePropertiesContext } = useContext(WebsiteDesignWorkPlaceContext);
17089
17095
  // const {
17090
17096
  // templateproperties_context,
@@ -17096,13 +17102,13 @@
17096
17102
  // setSearchHeaderInputContext,
17097
17103
  // } = useContext(FetchingContext);
17098
17104
  // const { routingcountext, StaticPagesLinksContext } = useContext(TemplateRoutingContext);
17099
-
17100
17105
  var _useState = React.useState(''),
17101
17106
  _useState2 = _slicedToArray__default["default"](_useState, 2),
17102
17107
  sectionproperties = _useState2[0],
17103
17108
  setsectionproperties = _useState2[1];
17104
17109
 
17105
17110
  var LogoutMutationContext = props.actions.LogoutMutationContext;
17111
+ var fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
17106
17112
  var setsidecartnavshowcontext = props.actions.setsidecartnavshowcontext;
17107
17113
  var setSearchHeaderInputContext = props.actions.setSearchHeaderInputContext;
17108
17114
  var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
@@ -17115,6 +17121,7 @@
17115
17121
  var favoriteprojectscountContext = props.actions.favoriteprojectscountContext;
17116
17122
  var routingcountext = props.actions.routingcountext;
17117
17123
  var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
17124
+ props.actions.useHistory;
17118
17125
  var actions = props.actions; // const fetch_inst_tabex_websitetemplatesQueryContext = props.fetch_inst_tabex_websitetemplatesQueryContext;
17119
17126
 
17120
17127
  React.useEffect(function () {
@@ -17617,7 +17624,7 @@
17617
17624
  top: sectionproperties.cartbadgetop + 'px',
17618
17625
  right: sectionproperties.cartbadgeright + 'px'
17619
17626
  }
17620
- }, ((_fetchcustomercartQue = fetchcustomercartQueryContext) === null || _fetchcustomercartQue === void 0 ? void 0 : (_fetchcustomercartQue2 = _fetchcustomercartQue.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : (_fetchcustomercartQue3 = _fetchcustomercartQue2.data) === null || _fetchcustomercartQue3 === void 0 ? void 0 : _fetchcustomercartQue3.customercart) != null ? ((_fetchcustomercartQue4 = fetchcustomercartQueryContext) === null || _fetchcustomercartQue4 === void 0 ? void 0 : (_fetchcustomercartQue5 = _fetchcustomercartQue4.data) === null || _fetchcustomercartQue5 === void 0 ? void 0 : (_fetchcustomercartQue6 = _fetchcustomercartQue5.data) === null || _fetchcustomercartQue6 === void 0 ? void 0 : (_fetchcustomercartQue7 = _fetchcustomercartQue6.customercart) === null || _fetchcustomercartQue7 === void 0 ? void 0 : (_fetchcustomercartQue8 = _fetchcustomercartQue7.cartitems) === null || _fetchcustomercartQue8 === void 0 ? void 0 : _fetchcustomercartQue8.length) >= 10 ? '+9' : (_fetchcustomercartQue9 = fetchcustomercartQueryContext) === null || _fetchcustomercartQue9 === void 0 ? void 0 : (_fetchcustomercartQue10 = _fetchcustomercartQue9.data) === null || _fetchcustomercartQue10 === void 0 ? void 0 : (_fetchcustomercartQue11 = _fetchcustomercartQue10.data) === null || _fetchcustomercartQue11 === void 0 ? void 0 : (_fetchcustomercartQue12 = _fetchcustomercartQue11.customercart) === null || _fetchcustomercartQue12 === void 0 ? void 0 : (_fetchcustomercartQue13 = _fetchcustomercartQue12.cartitems) === null || _fetchcustomercartQue13 === void 0 ? void 0 : _fetchcustomercartQue13.length : 0))), /*#__PURE__*/React__default["default"].createElement("div", {
17627
+ }, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 ? void 0 : (_fetchcustomercartQue2 = _fetchcustomercartQue.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.customercart) != null ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue3 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue3 === void 0 ? void 0 : (_fetchcustomercartQue4 = _fetchcustomercartQue3.data) === null || _fetchcustomercartQue4 === void 0 ? void 0 : (_fetchcustomercartQue5 = _fetchcustomercartQue4.customercart) === null || _fetchcustomercartQue5 === void 0 ? void 0 : (_fetchcustomercartQue6 = _fetchcustomercartQue5.cartitems) === null || _fetchcustomercartQue6 === void 0 ? void 0 : _fetchcustomercartQue6.length) >= 10 ? '+9' : fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue7 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue7 === void 0 ? void 0 : (_fetchcustomercartQue8 = _fetchcustomercartQue7.data) === null || _fetchcustomercartQue8 === void 0 ? void 0 : (_fetchcustomercartQue9 = _fetchcustomercartQue8.customercart) === null || _fetchcustomercartQue9 === void 0 ? void 0 : (_fetchcustomercartQue10 = _fetchcustomercartQue9.cartitems) === null || _fetchcustomercartQue10 === void 0 ? void 0 : _fetchcustomercartQue10.length : 0))), /*#__PURE__*/React__default["default"].createElement("div", {
17621
17628
  "class": langdetect == 'en' ? 'headerdropdownml' : 'headerdropdownmr'
17622
17629
  }, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"], null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Toggle, null, /*#__PURE__*/React__default["default"].createElement("li", {
17623
17630
  "class": "".concat(headerstyles$1.header_menu) + ' allcentered '
@@ -17765,7 +17772,7 @@
17765
17772
  function _objectSpread$y(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$y(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$y(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
17766
17773
 
17767
17774
  var StylishHeader = function StylishHeader(props) {
17768
- var _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue9, _fetchcustomercartQue10, _fetchcustomercartQue11, _fetchcustomercartQue12, _logoarrayofobjects$3, _logoarrayofobjects$4, _logoarrayofobjects$5, _logoarrayofobjects$6;
17775
+ var _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue9, _fetchcustomercartQue10, _logoarrayofobjects$3, _logoarrayofobjects$4, _logoarrayofobjects$5, _logoarrayofobjects$6;
17769
17776
 
17770
17777
  // const { lang, setlang, langdetect } = useContext(LanguageContext);
17771
17778
  // const { fetch_inst_tabex_websitetemplatesQueryContext, StatePagePropertiesContext } = useContext(WebsiteDesignWorkPlaceContext);
@@ -17787,6 +17794,7 @@
17787
17794
  var LogoutMutationContext = props.actions.LogoutMutationContext;
17788
17795
  var setsidecartnavshowcontext = props.actions.setsidecartnavshowcontext;
17789
17796
  var setSearchHeaderInputContext = props.actions.setSearchHeaderInputContext;
17797
+ var fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
17790
17798
  var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
17791
17799
  var lang = props.actions.lang;
17792
17800
  var langdetect = props.actions.langdetect;
@@ -17797,9 +17805,10 @@
17797
17805
  var favoriteprojectscountContext = props.actions.favoriteprojectscountContext;
17798
17806
  var routingcountext = props.actions.routingcountext;
17799
17807
  var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
17800
- props.actions; // const fetch_inst_tabex_websitetemplatesQueryContext = props.fetch_inst_tabex_websitetemplatesQueryContext;
17808
+ var actions = props.actions; // const fetch_inst_tabex_websitetemplatesQueryContext = props.fetch_inst_tabex_websitetemplatesQueryContext;
17801
17809
 
17802
17810
  React.useEffect(function () {
17811
+ console.log('asd');
17803
17812
  var secpropobj = {};
17804
17813
  StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
17805
17814
  if (sectionitem.sectionid == props.sectionidprops) {
@@ -18363,7 +18372,7 @@
18363
18372
  top: sectionproperties.cartbadgetop + 'px',
18364
18373
  right: sectionproperties.cartbadgeright + 'px'
18365
18374
  }
18366
- }, ((_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 ? void 0 : (_fetchcustomercartQue2 = _fetchcustomercartQue.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.customercart) != null ? ((_fetchcustomercartQue3 = fetchcustomercartQueryContext) === null || _fetchcustomercartQue3 === void 0 ? void 0 : (_fetchcustomercartQue4 = _fetchcustomercartQue3.data) === null || _fetchcustomercartQue4 === void 0 ? void 0 : (_fetchcustomercartQue5 = _fetchcustomercartQue4.data) === null || _fetchcustomercartQue5 === void 0 ? void 0 : (_fetchcustomercartQue6 = _fetchcustomercartQue5.customercart) === null || _fetchcustomercartQue6 === void 0 ? void 0 : (_fetchcustomercartQue7 = _fetchcustomercartQue6.cartitems) === null || _fetchcustomercartQue7 === void 0 ? void 0 : _fetchcustomercartQue7.length) >= 10 ? '+9' : (_fetchcustomercartQue8 = fetchcustomercartQueryContext) === null || _fetchcustomercartQue8 === void 0 ? void 0 : (_fetchcustomercartQue9 = _fetchcustomercartQue8.data) === null || _fetchcustomercartQue9 === void 0 ? void 0 : (_fetchcustomercartQue10 = _fetchcustomercartQue9.data) === null || _fetchcustomercartQue10 === void 0 ? void 0 : (_fetchcustomercartQue11 = _fetchcustomercartQue10.customercart) === null || _fetchcustomercartQue11 === void 0 ? void 0 : (_fetchcustomercartQue12 = _fetchcustomercartQue11.cartitems) === null || _fetchcustomercartQue12 === void 0 ? void 0 : _fetchcustomercartQue12.length : 0))), /*#__PURE__*/React__default["default"].createElement("div", {
18375
+ }, ((_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 ? void 0 : (_fetchcustomercartQue2 = _fetchcustomercartQue.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.customercart) != null ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue3 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue3 === void 0 ? void 0 : (_fetchcustomercartQue4 = _fetchcustomercartQue3.data) === null || _fetchcustomercartQue4 === void 0 ? void 0 : (_fetchcustomercartQue5 = _fetchcustomercartQue4.customercart) === null || _fetchcustomercartQue5 === void 0 ? void 0 : (_fetchcustomercartQue6 = _fetchcustomercartQue5.cartitems) === null || _fetchcustomercartQue6 === void 0 ? void 0 : _fetchcustomercartQue6.length) >= 10 ? '+9' : fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue7 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue7 === void 0 ? void 0 : (_fetchcustomercartQue8 = _fetchcustomercartQue7.data) === null || _fetchcustomercartQue8 === void 0 ? void 0 : (_fetchcustomercartQue9 = _fetchcustomercartQue8.customercart) === null || _fetchcustomercartQue9 === void 0 ? void 0 : (_fetchcustomercartQue10 = _fetchcustomercartQue9.cartitems) === null || _fetchcustomercartQue10 === void 0 ? void 0 : _fetchcustomercartQue10.length : 0))), /*#__PURE__*/React__default["default"].createElement("div", {
18367
18376
  "class": langdetect == 'en' ? 'headerdropdownml' : 'headerdropdownmr'
18368
18377
  }, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"], null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Toggle, null, /*#__PURE__*/React__default["default"].createElement("li", {
18369
18378
  "class": ' d-flex align-items-center justify-content-center '
@@ -18526,9 +18535,11 @@
18526
18535
  "class": "allcentered"
18527
18536
  }, /*#__PURE__*/React__default["default"].createElement(Searchlist, {
18528
18537
  sectionpropertiesprops: sectionproperties,
18529
- srcfromprops: 'StylishHeader'
18538
+ srcfromprops: 'StylishHeader',
18539
+ actions: actions
18530
18540
  }))))))))), /*#__PURE__*/React__default["default"].createElement(Headerresponsive, {
18531
- sectionpropertiesprops: sectionproperties
18541
+ sectionpropertiesprops: sectionproperties,
18542
+ actions: actions
18532
18543
  }));
18533
18544
  };
18534
18545
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tabexseriescomponents",
3
- "version": "0.0.61",
3
+ "version": "0.0.64",
4
4
  "description": "your description",
5
5
  "main": "dist/index.cjs.js",
6
6
  "scripts": {