tabexseriescomponents 0.0.57 → 0.0.58

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
@@ -11358,7 +11358,7 @@ function ownKeys$I(object, enumerableOnly) { var keys = Object.keys(object); if
11358
11358
  function _objectSpread$I(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$I(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$I(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
11359
11359
 
11360
11360
  var Subheader = function Subheader(props) {
11361
- var _props$subheaderprope, _props$subheaderprope2, _props$subheaderprope3, _templatepropcontext$, _props$subheaderprope9, _props$subheaderprope10;
11361
+ var _props$subheaderprope, _props$subheaderprope2, _templatepropcontext$, _props$subheaderprope9, _props$subheaderprope10;
11362
11362
 
11363
11363
  // const { lang, setlang, langdetect } = useContext(LanguageContext);
11364
11364
  // const { FetchQueriesEngineContext, setFetchQueriesEngineContext, fetchCategoriesQueryContext } = useContext(FetchingContext);
@@ -11440,122 +11440,134 @@ var Subheader = function Subheader(props) {
11440
11440
  })
11441
11441
  };
11442
11442
  return /*#__PURE__*/React__default["default"].createElement("div", {
11443
- className: (props === null || props === void 0 ? void 0 : (_props$subheaderprope = props.subheaderpropertiesprops) === null || _props$subheaderprope === void 0 ? void 0 : _props$subheaderprope.subheaderpositionprops) == 'in nav' ? "".concat(headerstyles$8.sub_outercontainer) + ' ml-0 mr-0 ' : "".concat(headerstyles$8.sub_outercontainer) + ' row ml-0 mr-0 w-100 mt-md-3 pl-sm-2 pr-sm-2 ',
11443
+ "class": (props === null || props === void 0 ? void 0 : (_props$subheaderprope = props.subheaderpropertiesprops) === null || _props$subheaderprope === void 0 ? void 0 : _props$subheaderprope.subheaderpositionprops) == 'in nav' ? "".concat(headerstyles$8.sub_outercontainer) + ' ml-0 mr-0 ' : "".concat(headerstyles$8.sub_outercontainer) + ' row ml-0 mr-0 w-100 mt-md-3 pl-sm-2 pr-sm-2 ',
11444
11444
  style: {
11445
11445
  background: sectionproperties.subheaderbg,
11446
11446
  zIndex: 200,
11447
11447
  flex: 1
11448
11448
  }
11449
11449
  }, sectionproperties != undefined && sectionproperties.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
11450
- className: "".concat(headerstyles$8.sub_container) + ' w-100 p-md-0 '
11450
+ "class": "".concat(headerstyles$8.sub_container) + ' w-100 p-md-0 '
11451
11451
  }, fetchCategoriesQueryContext.isSuccess && fetchCategoriesQueryContext.data.data.status && /*#__PURE__*/React__default["default"].createElement("div", {
11452
- className: " ".concat(headerstyles$8.subheader) + ' row w-100 m-0 d-flex flex-row align-items-center w-sm-100 ',
11452
+ "class": " ".concat(headerstyles$8.subheader) + ' row w-100 m-0 d-flex flex-row align-items-center w-sm-100 ',
11453
11453
  style: {
11454
11454
  position: 'relative'
11455
11455
  }
11456
- }, /*#__PURE__*/React__default["default"].createElement("div", {
11457
- className: "ml-auto mr-auto",
11456
+ }, (props === null || props === void 0 ? void 0 : props.subheaderpositionprops) == 'Full Width' && /*#__PURE__*/React__default["default"].createElement("div", {
11457
+ "class": "ml-auto mr-auto",
11458
11458
  style: {
11459
11459
  background: sectionproperties.upperseparatorbgcolor,
11460
11460
  width: sectionproperties.upperseparatorwidth + '%',
11461
11461
  height: sectionproperties.upperseparatorheight + 'px'
11462
11462
  }
11463
11463
  }), /*#__PURE__*/React__default["default"].createElement("div", {
11464
- className: "col-lg-12 d-flex flex-column align-items-center justify-content-center pl-0 pr-0",
11464
+ "class": "col-lg-12 m-auto d-flex flex-column align-items-center justify-content-center ",
11465
11465
  style: {
11466
11466
  borderBottom: sectionproperties.separator_borderwidth + 'px solid ' + sectionproperties.separator_bgcolor,
11467
11467
  paddingTop: sectionproperties.subheader_margintop + 'px',
11468
11468
  paddingBottom: sectionproperties.subheader_marginbottom + 'px'
11469
11469
  }
11470
11470
  }, /*#__PURE__*/React__default["default"].createElement("div", {
11471
- className: " ".concat(headerstyles$8.nav__item) + ' d-flex flex-row align-items-center ',
11471
+ "class": "".concat(headerstyles$8.nav__item) + ' scrollhorizontal flex-row align-items-center ',
11472
11472
  style: {
11473
11473
  zIndex: 1000,
11474
- justifyContent: props === null || props === void 0 ? void 0 : (_props$subheaderprope2 = props.subheaderpropertiesprops) === null || _props$subheaderprope2 === void 0 ? void 0 : _props$subheaderprope2.subheadercontentpositionprops
11474
+ textAlign: langdetect == 'en' ? 'left' : 'right' // justifyContent: props.subheaderpropertiesprops?.subheadercontentpositionprops,
11475
+
11475
11476
  }
11476
- }, (props === null || props === void 0 ? void 0 : (_props$subheaderprope3 = props.subheaderpropertiesprops) === null || _props$subheaderprope3 === void 0 ? void 0 : _props$subheaderprope3.subheaderpositionprops) == 'in nav' && (templatepropcontext === null || templatepropcontext === void 0 ? void 0 : (_templatepropcontext$ = templatepropcontext.pagesnprop) === null || _templatepropcontext$ === void 0 ? void 0 : _templatepropcontext$.map(function (item, index) {
11477
+ }, (props === null || props === void 0 ? void 0 : (_props$subheaderprope2 = props.subheaderpropertiesprops) === null || _props$subheaderprope2 === void 0 ? void 0 : _props$subheaderprope2.subheaderpositionprops) == 'in nav' && (templatepropcontext === null || templatepropcontext === void 0 ? void 0 : (_templatepropcontext$ = templatepropcontext.pagesnprop) === null || _templatepropcontext$ === void 0 ? void 0 : _templatepropcontext$.map(function (item, index) {
11477
11478
  if (item.isnavigation == 1 && item.isactive == 1) {
11478
- var _props$subheaderprope4, _props$subheaderprope5;
11479
+ var _props$subheaderprope3, _props$subheaderprope4, _props$subheaderprope5, _props$subheaderprope6;
11479
11480
 
11480
11481
  return /*#__PURE__*/React__default["default"].createElement("div", {
11481
11482
  onClick: function onClick() {
11482
11483
  history.push(item.navigationroute);
11484
+ },
11485
+ "class": "scrollhorizontalcard",
11486
+ style: {
11487
+ marginLeft: langdetect == 'ar' ? props === null || props === void 0 ? void 0 : (_props$subheaderprope3 = props.subheaderpropertiesprops) === null || _props$subheaderprope3 === void 0 ? void 0 : _props$subheaderprope3.paddingLeftprops : 0,
11488
+ marginRight: langdetect == 'en' ? props === null || props === void 0 ? void 0 : (_props$subheaderprope4 = props.subheaderpropertiesprops) === null || _props$subheaderprope4 === void 0 ? void 0 : _props$subheaderprope4.paddingRightprops : 0
11483
11489
  }
11484
11490
  }, /*#__PURE__*/React__default["default"].createElement("p", {
11485
- className: "".concat(headerstyles$8.link, " ").concat(header_cssstyles.subheader_category) + ' mb-0 p-0 ml-md-3 mr-md-3 ',
11491
+ "class": "".concat(headerstyles$8.link, " ").concat(header_cssstyles.subheader_category) + ' mb-0 p-0 ml-md-3 mr-md-3 ',
11486
11492
  onClick: function onClick() {
11487
- templatepropcontext.pagesnprop.pages.forEach(function (pageitem, pageindex) {
11493
+ fetch_inst_tabex_websitetemplatesQueryContext.data.data.template.pages.forEach(function (pageitem, pageindex) {
11488
11494
  pageitem.isselected = false;
11489
11495
  });
11490
- templatepropcontext.pagesnprop.pages[index].isselected = true;
11496
+ fetch_inst_tabex_websitetemplatesQueryContext.data.data.template.pages[index].isselected = true;
11491
11497
  },
11492
11498
  style: {
11493
- marginLeft: langdetect == 'en' ? 0 : (_props$subheaderprope4 = props.subheaderpropertiesprops) === null || _props$subheaderprope4 === void 0 ? void 0 : _props$subheaderprope4.paddingLeftprops,
11494
- marginRight: langdetect == 'en' ? (_props$subheaderprope5 = props.subheaderpropertiesprops) === null || _props$subheaderprope5 === void 0 ? void 0 : _props$subheaderprope5.paddingRightprops : 0
11499
+ marginLeft: langdetect == 'en' ? 0 : props === null || props === void 0 ? void 0 : (_props$subheaderprope5 = props.subheaderpropertiesprops) === null || _props$subheaderprope5 === void 0 ? void 0 : _props$subheaderprope5.paddingLeftprops,
11500
+ marginRight: langdetect == 'en' ? props === null || props === void 0 ? void 0 : (_props$subheaderprope6 = props.subheaderpropertiesprops) === null || _props$subheaderprope6 === void 0 ? void 0 : _props$subheaderprope6.paddingRightprops : 0
11495
11501
  }
11496
11502
  }, langdetect == 'en' ? item.pagename : item.pagename_ar));
11497
11503
  }
11498
11504
  })), fetchCategoriesQueryContext.data.data.categories.map(function (item, index) {
11499
- var _props$subheaderprope6, _props$subheaderprope7, _props$subheaderprope8;
11505
+ var _props$subheaderprope7, _props$subheaderprope8;
11500
11506
 
11501
11507
  return /*#__PURE__*/React__default["default"].createElement("p", {
11502
- className: "".concat(headerstyles$8.link, " ").concat(header_cssstyles.subheader_category) + ' mb-0 p-0 ml-md-3 mr-md-3 ',
11508
+ "class": "".concat(headerstyles$8.link, " ").concat(header_cssstyles.subheader_category) + ' mb-0 p-0 ml-md-3 mr-md-3 scrollhorizontalcard ',
11503
11509
  onClick: function onClick() {},
11504
11510
  onMouseEnter: function onMouseEnter() {
11505
11511
  setshowdownheadermenu(true);
11506
11512
  setChoosenindex(index);
11507
11513
  },
11508
11514
  style: {
11509
- marginLeft: (props === null || props === void 0 ? void 0 : (_props$subheaderprope6 = props.subheaderpropertiesprops) === null || _props$subheaderprope6 === void 0 ? void 0 : _props$subheaderprope6.subheaderpositionprops) == 'in nav' ? 0 : (_props$subheaderprope7 = props.subheaderpropertiesprops) === null || _props$subheaderprope7 === void 0 ? void 0 : _props$subheaderprope7.paddingLeftprops,
11510
- marginRight: props === null || props === void 0 ? void 0 : (_props$subheaderprope8 = props.subheaderpropertiesprops) === null || _props$subheaderprope8 === void 0 ? void 0 : _props$subheaderprope8.paddingRightprops
11515
+ marginLeft: langdetect == 'ar' ? props === null || props === void 0 ? void 0 : (_props$subheaderprope7 = props.subheaderpropertiesprops) === null || _props$subheaderprope7 === void 0 ? void 0 : _props$subheaderprope7.paddingLeftprops : 0,
11516
+ marginRight: langdetect == 'en' ? props === null || props === void 0 ? void 0 : (_props$subheaderprope8 = props.subheaderpropertiesprops) === null || _props$subheaderprope8 === void 0 ? void 0 : _props$subheaderprope8.paddingRightprops : 0
11511
11517
  }
11512
11518
  }, langdetect == 'en' ? item.title_en : item.title_ar);
11513
11519
  }))), Choosenindex.length != 0 && fetchCategoriesQueryContext.data.data.categories[Choosenindex].parentcolletions.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
11514
- className: "".concat(headerstyles$8.dropmenu, " ").concat(header_cssstyles.dropdownmenu, " ").concat(showdownheadermenu ? 'd-flex' : 'd-none') + ' col-lg-11 ml-auto mr-auto flex-row justify-content-center align-items-center ',
11520
+ "class": "".concat(headerstyles$8.dropmenu, " ").concat(header_cssstyles.dropdownmenu, " ").concat(showdownheadermenu ? 'd-flex' : 'd-none') + ' col-lg-11 ml-auto mr-auto flex-row justify-content-center align-items-center ',
11515
11521
  onMouseLeave: function onMouseLeave() {
11516
11522
  setshowdownheadermenu(false);
11517
11523
  },
11518
11524
  style: {
11519
11525
  zIndex: 2000,
11520
- position: (props === null || props === void 0 ? void 0 : (_props$subheaderprope9 = props.subheaderpropertiesprops) === null || _props$subheaderprope9 === void 0 ? void 0 : _props$subheaderprope9.subheaderpositionprops) == 'in nav' ? 'absolute' : '',
11521
- top: (props === null || props === void 0 ? void 0 : (_props$subheaderprope10 = props.subheaderpropertiesprops) === null || _props$subheaderprope10 === void 0 ? void 0 : _props$subheaderprope10.subheaderpositionprops) == 'in nav' ? 20 : ''
11526
+ position: ((_props$subheaderprope9 = props.subheaderpropertiesprops) === null || _props$subheaderprope9 === void 0 ? void 0 : _props$subheaderprope9.subheaderpositionprops) == 'in nav' ? 'absolute' : '',
11527
+ top: ((_props$subheaderprope10 = props.subheaderpropertiesprops) === null || _props$subheaderprope10 === void 0 ? void 0 : _props$subheaderprope10.subheaderpositionprops) == 'in nav' ? 20 : ''
11522
11528
  }
11523
11529
  }, /*#__PURE__*/React__default["default"].createElement("div", {
11524
- className: "row m-0 w-100 d-flex p-3"
11530
+ "class": "row m-0 w-100 d-flex p-3"
11525
11531
  }, fetchCategoriesQueryContext.data.data.categories[Choosenindex].parentcolletions.length == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
11526
- className: "col-lg-12 d-flex align-items-center justify-content-center text-light flex-column h-100 pt-5 pb-5"
11532
+ "class": "col-lg-12 d-flex align-items-center justify-content-center text-light flex-column h-100 pt-5 pb-5"
11527
11533
  }, /*#__PURE__*/React__default["default"].createElement(md.MdOutlineLayersClear, {
11528
11534
  size: 30
11529
11535
  }), /*#__PURE__*/React__default["default"].createElement("p", {
11530
- className: "font-16 font-weight-500 m-0 p-0"
11536
+ "class": "font-16 font-weight-500 m-0 p-0"
11531
11537
  }, langdetect == 'en' ? 'No collections' : 'لا توجد مجموعات')), fetchCategoriesQueryContext.data.data.categories[Choosenindex].parentcolletions.map(function (item, index) {
11532
11538
  return /*#__PURE__*/React__default["default"].createElement("div", {
11533
- className: "col-lg-2 col-md-6 col-sm-12 mb-md-4 p-0",
11539
+ "class": "col-lg-2 col-md-6 col-sm-12 mb-md-4 p-0",
11534
11540
  style: {
11535
11541
  cursor: 'pointer'
11536
11542
  }
11537
11543
  }, /*#__PURE__*/React__default["default"].createElement("div", {
11538
- className: "row w-100 m-0 d-flex flex-column justify-content-center mb-2"
11544
+ "class": "row w-100 m-0 d-flex flex-column justify-content-center mb-2"
11539
11545
  }, /*#__PURE__*/React__default["default"].createElement("div", {
11540
- className: "col-lg-12 p-0 mb-3",
11546
+ "class": "col-lg-12 p-0 mb-3",
11541
11547
  onClick: function onClick() {
11542
11548
  routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.parentcollectionid);
11543
11549
  }
11544
11550
  }, /*#__PURE__*/React__default["default"].createElement("p", {
11545
- className: "".concat(header_cssstyles.parentcollection) + ' wordbreak m-0 p-0 '
11551
+ "class": "".concat(header_cssstyles.parentcollection) + ' wordbreak m-0 p-0 ',
11552
+ style: {
11553
+ textAlign: langdetect == 'en' ? 'left' : 'right'
11554
+ }
11546
11555
  }, langdetect == 'en' ? item.title_en : item.title_ar)), item.collections.map(function (item, index) {
11547
11556
  return /*#__PURE__*/React__default["default"].createElement("div", {
11548
- className: "col-lg-12 p-0 mb-2",
11557
+ "class": "col-lg-12 p-0 mb-2",
11549
11558
  onClick: function onClick() {
11550
11559
  routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.collectionid);
11551
11560
  }
11552
11561
  }, /*#__PURE__*/React__default["default"].createElement("p", {
11553
- className: "".concat(header_cssstyles.subheader_collectiontitle) + ' wordbreak m-0 p-0 '
11562
+ "class": "".concat(header_cssstyles.subheader_collectiontitle) + ' wordbreak m-0 p-0 ',
11563
+ style: {
11564
+ textAlign: langdetect == 'en' ? 'left' : 'right'
11565
+ }
11554
11566
  }, langdetect == 'en' ? item.title_en : item.title_ar));
11555
11567
  }), index != item.collections.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
11556
- className: "col-lg-12 p-0 d-none d-sm-block"
11568
+ "class": "col-lg-12 p-0 d-none d-sm-block"
11557
11569
  }, /*#__PURE__*/React__default["default"].createElement("hr", {
11558
- className: "mt-3 mb-0"
11570
+ "class": "mt-3 mb-0"
11559
11571
  }))));
11560
11572
  }))))));
11561
11573
  };
@@ -24132,6 +24144,8 @@ var MenuCard = function MenuCard(props) {
24132
24144
  var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
24133
24145
  var AddtoCartContext = props.actions.AddtoCartContext;
24134
24146
  props.actions.AddtoCartMutationContext;
24147
+ var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
24148
+ var routingcountext = props.actions.routingcountext;
24135
24149
  var NotificationManager = NotificationManager;
24136
24150
 
24137
24151
  var updatequantity = function updatequantity(type) {
@@ -24616,8 +24630,8 @@ var ModernProductCard = function ModernProductCard(props) {
24616
24630
  var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
24617
24631
  var AddtoCartContext = props.actions.AddtoCartContext;
24618
24632
  props.actions.AddtoCartMutationContext;
24619
- var StaticPagesLinksContext = props.StaticPagesLinksContext;
24620
- var routingcountext = props.routingcountext;
24633
+ var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
24634
+ var routingcountext = props.actions.routingcountext;
24621
24635
  var NotificationManager = NotificationManager;
24622
24636
 
24623
24637
  var updatequantity = function updatequantity(type) {
@@ -25337,8 +25351,8 @@ var Productcard_with_circularbg = function Productcard_with_circularbg(props) {
25337
25351
  var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
25338
25352
  props.actions.AddtoCartContext;
25339
25353
  props.actions.AddtoCartMutationContext;
25340
- var StaticPagesLinksContext = props.StaticPagesLinksContext;
25341
- var routingcountext = props.routingcountext;
25354
+ var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
25355
+ var routingcountext = props.actions.routingcountext;
25342
25356
  React.useEffect(function () {
25343
25357
  if (props.srcfrom == 'addsectionform') {
25344
25358
  var secpropobj = {};
@@ -25600,8 +25614,8 @@ var Productcard_with_circularhover = function Productcard_with_circularhover(pro
25600
25614
  var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
25601
25615
  props.actions.AddtoCartContext;
25602
25616
  props.actions.AddtoCartMutationContext;
25603
- var StaticPagesLinksContext = props.StaticPagesLinksContext;
25604
- var routingcountext = props.routingcountext;
25617
+ var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
25618
+ var routingcountext = props.actions.routingcountext;
25605
25619
  React.useEffect(function () {
25606
25620
  if (props.srcfrom == 'addsectionform') {
25607
25621
  var secpropobj = {};
@@ -26146,8 +26160,8 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
26146
26160
  var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
26147
26161
  props.actions.AddtoCartContext;
26148
26162
  props.actions.AddtoCartMutationContext;
26149
- var StaticPagesLinksContext = props.StaticPagesLinksContext;
26150
- var routingcountext = props.routingcountext;
26163
+ var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
26164
+ var routingcountext = props.actions.routingcountext;
26151
26165
  React.useEffect(function () {
26152
26166
  if (props.srcfrom == 'addsectionform') {
26153
26167
  var secpropobj = {};
@@ -26433,8 +26447,8 @@ var Productcard6 = function Productcard6(props) {
26433
26447
  var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
26434
26448
  props.actions.AddtoCartContext;
26435
26449
  props.actions.AddtoCartMutationContext;
26436
- var StaticPagesLinksContext = props.StaticPagesLinksContext;
26437
- var routingcountext = props.routingcountext;
26450
+ var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
26451
+ var routingcountext = props.actions.routingcountext;
26438
26452
  React.useEffect(function () {
26439
26453
  if (props.srcfrom == 'addsectionform') {
26440
26454
  var secpropobj = {};
@@ -26679,8 +26693,8 @@ var Productcard7 = function Productcard7(props) {
26679
26693
  var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
26680
26694
  props.actions.AddtoCartContext;
26681
26695
  props.actions.AddtoCartMutationContext;
26682
- var StaticPagesLinksContext = props.StaticPagesLinksContext;
26683
- var routingcountext = props.routingcountext;
26696
+ var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
26697
+ var routingcountext = props.actions.routingcountext;
26684
26698
  React.useEffect(function () {
26685
26699
  if (props.srcfrom == 'addsectionform') {
26686
26700
  var secpropobj = {};
@@ -26946,8 +26960,8 @@ var Productcarddefault = function Productcarddefault(props) {
26946
26960
  var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
26947
26961
  props.actions.AddtoCartContext;
26948
26962
  props.actions.AddtoCartMutationContext;
26949
- var StaticPagesLinksContext = props.StaticPagesLinksContext;
26950
- var routingcountext = props.routingcountext;
26963
+ var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
26964
+ var routingcountext = props.actions.routingcountext;
26951
26965
  React.useEffect(function () {
26952
26966
  if (props.srcfrom == 'addsectionform') {
26953
26967
  var secpropobj = {};
@@ -27200,8 +27214,8 @@ var Productccard_with_imageontopleft = function Productccard_with_imageontopleft
27200
27214
  var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
27201
27215
  props.actions.AddtoCartContext;
27202
27216
  props.actions.AddtoCartMutationContext;
27203
- var StaticPagesLinksContext = props.StaticPagesLinksContext;
27204
- var routingcountext = props.routingcountext;
27217
+ var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
27218
+ var routingcountext = props.actions.routingcountext;
27205
27219
  React.useEffect(function () {
27206
27220
  if (props.srcfrom == 'addsectionform') {
27207
27221
  var secpropobj = {};
@@ -27482,8 +27496,8 @@ var Prouductcard_with_zoomhover = function Prouductcard_with_zoomhover(props) {
27482
27496
  props.actions.setProductIdProdutInfoModalContext;
27483
27497
  props.actions.AddtoCartContext;
27484
27498
  props.actions.AddtoCartMutationContext;
27485
- props.StaticPagesLinksContext;
27486
- props.routingcountext;
27499
+ props.actions.StaticPagesLinksContext;
27500
+ props.actions.routingcountext;
27487
27501
  React.useEffect(function () {
27488
27502
  if (props.srcfrom == 'addsectionform') {
27489
27503
  var secpropobj = {};
@@ -27618,8 +27632,8 @@ var Simplecategorycardwithtextbelow = function Simplecategorycardwithtextbelow(p
27618
27632
  props.actions.setProductIdProdutInfoModalContext;
27619
27633
  props.actions.AddtoCartContext;
27620
27634
  props.actions.AddtoCartMutationContext;
27621
- var StaticPagesLinksContext = props.StaticPagesLinksContext;
27622
- var routingcountext = props.routingcountext;
27635
+ var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
27636
+ var routingcountext = props.actions.routingcountext;
27623
27637
  React.useEffect(function () {
27624
27638
  if (props.srcfrom == 'addsectionform') {
27625
27639
  var secpropobj = {};
@@ -27749,8 +27763,8 @@ var Simpleproductcard = function Simpleproductcard(props) {
27749
27763
  var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
27750
27764
  props.actions.AddtoCartContext;
27751
27765
  props.actions.AddtoCartMutationContext;
27752
- var StaticPagesLinksContext = props.StaticPagesLinksContext;
27753
- var routingcountext = props.routingcountext;
27766
+ var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
27767
+ var routingcountext = props.actions.routingcountext;
27754
27768
  React.useEffect(function () {
27755
27769
  if (props.srcfrom == 'addsectionform') {
27756
27770
  var secpropobj = {};
@@ -28029,8 +28043,8 @@ var StylishProductCard = function StylishProductCard(props) {
28029
28043
  var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
28030
28044
  props.actions.AddtoCartContext;
28031
28045
  props.actions.AddtoCartMutationContext;
28032
- var StaticPagesLinksContext = props.StaticPagesLinksContext;
28033
- var routingcountext = props.routingcountext;
28046
+ var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
28047
+ var routingcountext = props.actions.routingcountext;
28034
28048
  React.useEffect(function () {
28035
28049
  if (props.srcfrom == 'addsectionform') {
28036
28050
  var secpropobj = {};
package/dist/index.esm.js CHANGED
@@ -11316,7 +11316,7 @@ function ownKeys$I(object, enumerableOnly) { var keys = Object.keys(object); if
11316
11316
  function _objectSpread$I(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$I(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$I(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
11317
11317
 
11318
11318
  var Subheader = function Subheader(props) {
11319
- var _props$subheaderprope, _props$subheaderprope2, _props$subheaderprope3, _templatepropcontext$, _props$subheaderprope9, _props$subheaderprope10;
11319
+ var _props$subheaderprope, _props$subheaderprope2, _templatepropcontext$, _props$subheaderprope9, _props$subheaderprope10;
11320
11320
 
11321
11321
  // const { lang, setlang, langdetect } = useContext(LanguageContext);
11322
11322
  // const { FetchQueriesEngineContext, setFetchQueriesEngineContext, fetchCategoriesQueryContext } = useContext(FetchingContext);
@@ -11398,122 +11398,134 @@ var Subheader = function Subheader(props) {
11398
11398
  })
11399
11399
  };
11400
11400
  return /*#__PURE__*/React.createElement("div", {
11401
- className: (props === null || props === void 0 ? void 0 : (_props$subheaderprope = props.subheaderpropertiesprops) === null || _props$subheaderprope === void 0 ? void 0 : _props$subheaderprope.subheaderpositionprops) == 'in nav' ? "".concat(headerstyles$8.sub_outercontainer) + ' ml-0 mr-0 ' : "".concat(headerstyles$8.sub_outercontainer) + ' row ml-0 mr-0 w-100 mt-md-3 pl-sm-2 pr-sm-2 ',
11401
+ "class": (props === null || props === void 0 ? void 0 : (_props$subheaderprope = props.subheaderpropertiesprops) === null || _props$subheaderprope === void 0 ? void 0 : _props$subheaderprope.subheaderpositionprops) == 'in nav' ? "".concat(headerstyles$8.sub_outercontainer) + ' ml-0 mr-0 ' : "".concat(headerstyles$8.sub_outercontainer) + ' row ml-0 mr-0 w-100 mt-md-3 pl-sm-2 pr-sm-2 ',
11402
11402
  style: {
11403
11403
  background: sectionproperties.subheaderbg,
11404
11404
  zIndex: 200,
11405
11405
  flex: 1
11406
11406
  }
11407
11407
  }, sectionproperties != undefined && sectionproperties.length != 0 && /*#__PURE__*/React.createElement("div", {
11408
- className: "".concat(headerstyles$8.sub_container) + ' w-100 p-md-0 '
11408
+ "class": "".concat(headerstyles$8.sub_container) + ' w-100 p-md-0 '
11409
11409
  }, fetchCategoriesQueryContext.isSuccess && fetchCategoriesQueryContext.data.data.status && /*#__PURE__*/React.createElement("div", {
11410
- className: " ".concat(headerstyles$8.subheader) + ' row w-100 m-0 d-flex flex-row align-items-center w-sm-100 ',
11410
+ "class": " ".concat(headerstyles$8.subheader) + ' row w-100 m-0 d-flex flex-row align-items-center w-sm-100 ',
11411
11411
  style: {
11412
11412
  position: 'relative'
11413
11413
  }
11414
- }, /*#__PURE__*/React.createElement("div", {
11415
- className: "ml-auto mr-auto",
11414
+ }, (props === null || props === void 0 ? void 0 : props.subheaderpositionprops) == 'Full Width' && /*#__PURE__*/React.createElement("div", {
11415
+ "class": "ml-auto mr-auto",
11416
11416
  style: {
11417
11417
  background: sectionproperties.upperseparatorbgcolor,
11418
11418
  width: sectionproperties.upperseparatorwidth + '%',
11419
11419
  height: sectionproperties.upperseparatorheight + 'px'
11420
11420
  }
11421
11421
  }), /*#__PURE__*/React.createElement("div", {
11422
- className: "col-lg-12 d-flex flex-column align-items-center justify-content-center pl-0 pr-0",
11422
+ "class": "col-lg-12 m-auto d-flex flex-column align-items-center justify-content-center ",
11423
11423
  style: {
11424
11424
  borderBottom: sectionproperties.separator_borderwidth + 'px solid ' + sectionproperties.separator_bgcolor,
11425
11425
  paddingTop: sectionproperties.subheader_margintop + 'px',
11426
11426
  paddingBottom: sectionproperties.subheader_marginbottom + 'px'
11427
11427
  }
11428
11428
  }, /*#__PURE__*/React.createElement("div", {
11429
- className: " ".concat(headerstyles$8.nav__item) + ' d-flex flex-row align-items-center ',
11429
+ "class": "".concat(headerstyles$8.nav__item) + ' scrollhorizontal flex-row align-items-center ',
11430
11430
  style: {
11431
11431
  zIndex: 1000,
11432
- justifyContent: props === null || props === void 0 ? void 0 : (_props$subheaderprope2 = props.subheaderpropertiesprops) === null || _props$subheaderprope2 === void 0 ? void 0 : _props$subheaderprope2.subheadercontentpositionprops
11432
+ textAlign: langdetect == 'en' ? 'left' : 'right' // justifyContent: props.subheaderpropertiesprops?.subheadercontentpositionprops,
11433
+
11433
11434
  }
11434
- }, (props === null || props === void 0 ? void 0 : (_props$subheaderprope3 = props.subheaderpropertiesprops) === null || _props$subheaderprope3 === void 0 ? void 0 : _props$subheaderprope3.subheaderpositionprops) == 'in nav' && (templatepropcontext === null || templatepropcontext === void 0 ? void 0 : (_templatepropcontext$ = templatepropcontext.pagesnprop) === null || _templatepropcontext$ === void 0 ? void 0 : _templatepropcontext$.map(function (item, index) {
11435
+ }, (props === null || props === void 0 ? void 0 : (_props$subheaderprope2 = props.subheaderpropertiesprops) === null || _props$subheaderprope2 === void 0 ? void 0 : _props$subheaderprope2.subheaderpositionprops) == 'in nav' && (templatepropcontext === null || templatepropcontext === void 0 ? void 0 : (_templatepropcontext$ = templatepropcontext.pagesnprop) === null || _templatepropcontext$ === void 0 ? void 0 : _templatepropcontext$.map(function (item, index) {
11435
11436
  if (item.isnavigation == 1 && item.isactive == 1) {
11436
- var _props$subheaderprope4, _props$subheaderprope5;
11437
+ var _props$subheaderprope3, _props$subheaderprope4, _props$subheaderprope5, _props$subheaderprope6;
11437
11438
 
11438
11439
  return /*#__PURE__*/React.createElement("div", {
11439
11440
  onClick: function onClick() {
11440
11441
  history.push(item.navigationroute);
11442
+ },
11443
+ "class": "scrollhorizontalcard",
11444
+ style: {
11445
+ marginLeft: langdetect == 'ar' ? props === null || props === void 0 ? void 0 : (_props$subheaderprope3 = props.subheaderpropertiesprops) === null || _props$subheaderprope3 === void 0 ? void 0 : _props$subheaderprope3.paddingLeftprops : 0,
11446
+ marginRight: langdetect == 'en' ? props === null || props === void 0 ? void 0 : (_props$subheaderprope4 = props.subheaderpropertiesprops) === null || _props$subheaderprope4 === void 0 ? void 0 : _props$subheaderprope4.paddingRightprops : 0
11441
11447
  }
11442
11448
  }, /*#__PURE__*/React.createElement("p", {
11443
- className: "".concat(headerstyles$8.link, " ").concat(header_cssstyles.subheader_category) + ' mb-0 p-0 ml-md-3 mr-md-3 ',
11449
+ "class": "".concat(headerstyles$8.link, " ").concat(header_cssstyles.subheader_category) + ' mb-0 p-0 ml-md-3 mr-md-3 ',
11444
11450
  onClick: function onClick() {
11445
- templatepropcontext.pagesnprop.pages.forEach(function (pageitem, pageindex) {
11451
+ fetch_inst_tabex_websitetemplatesQueryContext.data.data.template.pages.forEach(function (pageitem, pageindex) {
11446
11452
  pageitem.isselected = false;
11447
11453
  });
11448
- templatepropcontext.pagesnprop.pages[index].isselected = true;
11454
+ fetch_inst_tabex_websitetemplatesQueryContext.data.data.template.pages[index].isselected = true;
11449
11455
  },
11450
11456
  style: {
11451
- marginLeft: langdetect == 'en' ? 0 : (_props$subheaderprope4 = props.subheaderpropertiesprops) === null || _props$subheaderprope4 === void 0 ? void 0 : _props$subheaderprope4.paddingLeftprops,
11452
- marginRight: langdetect == 'en' ? (_props$subheaderprope5 = props.subheaderpropertiesprops) === null || _props$subheaderprope5 === void 0 ? void 0 : _props$subheaderprope5.paddingRightprops : 0
11457
+ marginLeft: langdetect == 'en' ? 0 : props === null || props === void 0 ? void 0 : (_props$subheaderprope5 = props.subheaderpropertiesprops) === null || _props$subheaderprope5 === void 0 ? void 0 : _props$subheaderprope5.paddingLeftprops,
11458
+ marginRight: langdetect == 'en' ? props === null || props === void 0 ? void 0 : (_props$subheaderprope6 = props.subheaderpropertiesprops) === null || _props$subheaderprope6 === void 0 ? void 0 : _props$subheaderprope6.paddingRightprops : 0
11453
11459
  }
11454
11460
  }, langdetect == 'en' ? item.pagename : item.pagename_ar));
11455
11461
  }
11456
11462
  })), fetchCategoriesQueryContext.data.data.categories.map(function (item, index) {
11457
- var _props$subheaderprope6, _props$subheaderprope7, _props$subheaderprope8;
11463
+ var _props$subheaderprope7, _props$subheaderprope8;
11458
11464
 
11459
11465
  return /*#__PURE__*/React.createElement("p", {
11460
- className: "".concat(headerstyles$8.link, " ").concat(header_cssstyles.subheader_category) + ' mb-0 p-0 ml-md-3 mr-md-3 ',
11466
+ "class": "".concat(headerstyles$8.link, " ").concat(header_cssstyles.subheader_category) + ' mb-0 p-0 ml-md-3 mr-md-3 scrollhorizontalcard ',
11461
11467
  onClick: function onClick() {},
11462
11468
  onMouseEnter: function onMouseEnter() {
11463
11469
  setshowdownheadermenu(true);
11464
11470
  setChoosenindex(index);
11465
11471
  },
11466
11472
  style: {
11467
- marginLeft: (props === null || props === void 0 ? void 0 : (_props$subheaderprope6 = props.subheaderpropertiesprops) === null || _props$subheaderprope6 === void 0 ? void 0 : _props$subheaderprope6.subheaderpositionprops) == 'in nav' ? 0 : (_props$subheaderprope7 = props.subheaderpropertiesprops) === null || _props$subheaderprope7 === void 0 ? void 0 : _props$subheaderprope7.paddingLeftprops,
11468
- marginRight: props === null || props === void 0 ? void 0 : (_props$subheaderprope8 = props.subheaderpropertiesprops) === null || _props$subheaderprope8 === void 0 ? void 0 : _props$subheaderprope8.paddingRightprops
11473
+ marginLeft: langdetect == 'ar' ? props === null || props === void 0 ? void 0 : (_props$subheaderprope7 = props.subheaderpropertiesprops) === null || _props$subheaderprope7 === void 0 ? void 0 : _props$subheaderprope7.paddingLeftprops : 0,
11474
+ marginRight: langdetect == 'en' ? props === null || props === void 0 ? void 0 : (_props$subheaderprope8 = props.subheaderpropertiesprops) === null || _props$subheaderprope8 === void 0 ? void 0 : _props$subheaderprope8.paddingRightprops : 0
11469
11475
  }
11470
11476
  }, langdetect == 'en' ? item.title_en : item.title_ar);
11471
11477
  }))), Choosenindex.length != 0 && fetchCategoriesQueryContext.data.data.categories[Choosenindex].parentcolletions.length != 0 && /*#__PURE__*/React.createElement("div", {
11472
- className: "".concat(headerstyles$8.dropmenu, " ").concat(header_cssstyles.dropdownmenu, " ").concat(showdownheadermenu ? 'd-flex' : 'd-none') + ' col-lg-11 ml-auto mr-auto flex-row justify-content-center align-items-center ',
11478
+ "class": "".concat(headerstyles$8.dropmenu, " ").concat(header_cssstyles.dropdownmenu, " ").concat(showdownheadermenu ? 'd-flex' : 'd-none') + ' col-lg-11 ml-auto mr-auto flex-row justify-content-center align-items-center ',
11473
11479
  onMouseLeave: function onMouseLeave() {
11474
11480
  setshowdownheadermenu(false);
11475
11481
  },
11476
11482
  style: {
11477
11483
  zIndex: 2000,
11478
- position: (props === null || props === void 0 ? void 0 : (_props$subheaderprope9 = props.subheaderpropertiesprops) === null || _props$subheaderprope9 === void 0 ? void 0 : _props$subheaderprope9.subheaderpositionprops) == 'in nav' ? 'absolute' : '',
11479
- top: (props === null || props === void 0 ? void 0 : (_props$subheaderprope10 = props.subheaderpropertiesprops) === null || _props$subheaderprope10 === void 0 ? void 0 : _props$subheaderprope10.subheaderpositionprops) == 'in nav' ? 20 : ''
11484
+ position: ((_props$subheaderprope9 = props.subheaderpropertiesprops) === null || _props$subheaderprope9 === void 0 ? void 0 : _props$subheaderprope9.subheaderpositionprops) == 'in nav' ? 'absolute' : '',
11485
+ top: ((_props$subheaderprope10 = props.subheaderpropertiesprops) === null || _props$subheaderprope10 === void 0 ? void 0 : _props$subheaderprope10.subheaderpositionprops) == 'in nav' ? 20 : ''
11480
11486
  }
11481
11487
  }, /*#__PURE__*/React.createElement("div", {
11482
- className: "row m-0 w-100 d-flex p-3"
11488
+ "class": "row m-0 w-100 d-flex p-3"
11483
11489
  }, fetchCategoriesQueryContext.data.data.categories[Choosenindex].parentcolletions.length == 0 && /*#__PURE__*/React.createElement("div", {
11484
- className: "col-lg-12 d-flex align-items-center justify-content-center text-light flex-column h-100 pt-5 pb-5"
11490
+ "class": "col-lg-12 d-flex align-items-center justify-content-center text-light flex-column h-100 pt-5 pb-5"
11485
11491
  }, /*#__PURE__*/React.createElement(MdOutlineLayersClear, {
11486
11492
  size: 30
11487
11493
  }), /*#__PURE__*/React.createElement("p", {
11488
- className: "font-16 font-weight-500 m-0 p-0"
11494
+ "class": "font-16 font-weight-500 m-0 p-0"
11489
11495
  }, langdetect == 'en' ? 'No collections' : 'لا توجد مجموعات')), fetchCategoriesQueryContext.data.data.categories[Choosenindex].parentcolletions.map(function (item, index) {
11490
11496
  return /*#__PURE__*/React.createElement("div", {
11491
- className: "col-lg-2 col-md-6 col-sm-12 mb-md-4 p-0",
11497
+ "class": "col-lg-2 col-md-6 col-sm-12 mb-md-4 p-0",
11492
11498
  style: {
11493
11499
  cursor: 'pointer'
11494
11500
  }
11495
11501
  }, /*#__PURE__*/React.createElement("div", {
11496
- className: "row w-100 m-0 d-flex flex-column justify-content-center mb-2"
11502
+ "class": "row w-100 m-0 d-flex flex-column justify-content-center mb-2"
11497
11503
  }, /*#__PURE__*/React.createElement("div", {
11498
- className: "col-lg-12 p-0 mb-3",
11504
+ "class": "col-lg-12 p-0 mb-3",
11499
11505
  onClick: function onClick() {
11500
11506
  routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.parentcollectionid);
11501
11507
  }
11502
11508
  }, /*#__PURE__*/React.createElement("p", {
11503
- className: "".concat(header_cssstyles.parentcollection) + ' wordbreak m-0 p-0 '
11509
+ "class": "".concat(header_cssstyles.parentcollection) + ' wordbreak m-0 p-0 ',
11510
+ style: {
11511
+ textAlign: langdetect == 'en' ? 'left' : 'right'
11512
+ }
11504
11513
  }, langdetect == 'en' ? item.title_en : item.title_ar)), item.collections.map(function (item, index) {
11505
11514
  return /*#__PURE__*/React.createElement("div", {
11506
- className: "col-lg-12 p-0 mb-2",
11515
+ "class": "col-lg-12 p-0 mb-2",
11507
11516
  onClick: function onClick() {
11508
11517
  routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.collectionid);
11509
11518
  }
11510
11519
  }, /*#__PURE__*/React.createElement("p", {
11511
- className: "".concat(header_cssstyles.subheader_collectiontitle) + ' wordbreak m-0 p-0 '
11520
+ "class": "".concat(header_cssstyles.subheader_collectiontitle) + ' wordbreak m-0 p-0 ',
11521
+ style: {
11522
+ textAlign: langdetect == 'en' ? 'left' : 'right'
11523
+ }
11512
11524
  }, langdetect == 'en' ? item.title_en : item.title_ar));
11513
11525
  }), index != item.collections.length != 0 && /*#__PURE__*/React.createElement("div", {
11514
- className: "col-lg-12 p-0 d-none d-sm-block"
11526
+ "class": "col-lg-12 p-0 d-none d-sm-block"
11515
11527
  }, /*#__PURE__*/React.createElement("hr", {
11516
- className: "mt-3 mb-0"
11528
+ "class": "mt-3 mb-0"
11517
11529
  }))));
11518
11530
  }))))));
11519
11531
  };
@@ -24090,6 +24102,8 @@ var MenuCard = function MenuCard(props) {
24090
24102
  var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
24091
24103
  var AddtoCartContext = props.actions.AddtoCartContext;
24092
24104
  props.actions.AddtoCartMutationContext;
24105
+ var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
24106
+ var routingcountext = props.actions.routingcountext;
24093
24107
  var NotificationManager = NotificationManager;
24094
24108
 
24095
24109
  var updatequantity = function updatequantity(type) {
@@ -24574,8 +24588,8 @@ var ModernProductCard = function ModernProductCard(props) {
24574
24588
  var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
24575
24589
  var AddtoCartContext = props.actions.AddtoCartContext;
24576
24590
  props.actions.AddtoCartMutationContext;
24577
- var StaticPagesLinksContext = props.StaticPagesLinksContext;
24578
- var routingcountext = props.routingcountext;
24591
+ var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
24592
+ var routingcountext = props.actions.routingcountext;
24579
24593
  var NotificationManager = NotificationManager;
24580
24594
 
24581
24595
  var updatequantity = function updatequantity(type) {
@@ -25295,8 +25309,8 @@ var Productcard_with_circularbg = function Productcard_with_circularbg(props) {
25295
25309
  var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
25296
25310
  props.actions.AddtoCartContext;
25297
25311
  props.actions.AddtoCartMutationContext;
25298
- var StaticPagesLinksContext = props.StaticPagesLinksContext;
25299
- var routingcountext = props.routingcountext;
25312
+ var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
25313
+ var routingcountext = props.actions.routingcountext;
25300
25314
  useEffect(function () {
25301
25315
  if (props.srcfrom == 'addsectionform') {
25302
25316
  var secpropobj = {};
@@ -25558,8 +25572,8 @@ var Productcard_with_circularhover = function Productcard_with_circularhover(pro
25558
25572
  var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
25559
25573
  props.actions.AddtoCartContext;
25560
25574
  props.actions.AddtoCartMutationContext;
25561
- var StaticPagesLinksContext = props.StaticPagesLinksContext;
25562
- var routingcountext = props.routingcountext;
25575
+ var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
25576
+ var routingcountext = props.actions.routingcountext;
25563
25577
  useEffect(function () {
25564
25578
  if (props.srcfrom == 'addsectionform') {
25565
25579
  var secpropobj = {};
@@ -26104,8 +26118,8 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
26104
26118
  var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
26105
26119
  props.actions.AddtoCartContext;
26106
26120
  props.actions.AddtoCartMutationContext;
26107
- var StaticPagesLinksContext = props.StaticPagesLinksContext;
26108
- var routingcountext = props.routingcountext;
26121
+ var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
26122
+ var routingcountext = props.actions.routingcountext;
26109
26123
  useEffect(function () {
26110
26124
  if (props.srcfrom == 'addsectionform') {
26111
26125
  var secpropobj = {};
@@ -26391,8 +26405,8 @@ var Productcard6 = function Productcard6(props) {
26391
26405
  var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
26392
26406
  props.actions.AddtoCartContext;
26393
26407
  props.actions.AddtoCartMutationContext;
26394
- var StaticPagesLinksContext = props.StaticPagesLinksContext;
26395
- var routingcountext = props.routingcountext;
26408
+ var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
26409
+ var routingcountext = props.actions.routingcountext;
26396
26410
  useEffect(function () {
26397
26411
  if (props.srcfrom == 'addsectionform') {
26398
26412
  var secpropobj = {};
@@ -26637,8 +26651,8 @@ var Productcard7 = function Productcard7(props) {
26637
26651
  var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
26638
26652
  props.actions.AddtoCartContext;
26639
26653
  props.actions.AddtoCartMutationContext;
26640
- var StaticPagesLinksContext = props.StaticPagesLinksContext;
26641
- var routingcountext = props.routingcountext;
26654
+ var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
26655
+ var routingcountext = props.actions.routingcountext;
26642
26656
  useEffect(function () {
26643
26657
  if (props.srcfrom == 'addsectionform') {
26644
26658
  var secpropobj = {};
@@ -26904,8 +26918,8 @@ var Productcarddefault = function Productcarddefault(props) {
26904
26918
  var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
26905
26919
  props.actions.AddtoCartContext;
26906
26920
  props.actions.AddtoCartMutationContext;
26907
- var StaticPagesLinksContext = props.StaticPagesLinksContext;
26908
- var routingcountext = props.routingcountext;
26921
+ var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
26922
+ var routingcountext = props.actions.routingcountext;
26909
26923
  useEffect(function () {
26910
26924
  if (props.srcfrom == 'addsectionform') {
26911
26925
  var secpropobj = {};
@@ -27158,8 +27172,8 @@ var Productccard_with_imageontopleft = function Productccard_with_imageontopleft
27158
27172
  var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
27159
27173
  props.actions.AddtoCartContext;
27160
27174
  props.actions.AddtoCartMutationContext;
27161
- var StaticPagesLinksContext = props.StaticPagesLinksContext;
27162
- var routingcountext = props.routingcountext;
27175
+ var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
27176
+ var routingcountext = props.actions.routingcountext;
27163
27177
  useEffect(function () {
27164
27178
  if (props.srcfrom == 'addsectionform') {
27165
27179
  var secpropobj = {};
@@ -27440,8 +27454,8 @@ var Prouductcard_with_zoomhover = function Prouductcard_with_zoomhover(props) {
27440
27454
  props.actions.setProductIdProdutInfoModalContext;
27441
27455
  props.actions.AddtoCartContext;
27442
27456
  props.actions.AddtoCartMutationContext;
27443
- props.StaticPagesLinksContext;
27444
- props.routingcountext;
27457
+ props.actions.StaticPagesLinksContext;
27458
+ props.actions.routingcountext;
27445
27459
  useEffect(function () {
27446
27460
  if (props.srcfrom == 'addsectionform') {
27447
27461
  var secpropobj = {};
@@ -27576,8 +27590,8 @@ var Simplecategorycardwithtextbelow = function Simplecategorycardwithtextbelow(p
27576
27590
  props.actions.setProductIdProdutInfoModalContext;
27577
27591
  props.actions.AddtoCartContext;
27578
27592
  props.actions.AddtoCartMutationContext;
27579
- var StaticPagesLinksContext = props.StaticPagesLinksContext;
27580
- var routingcountext = props.routingcountext;
27593
+ var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
27594
+ var routingcountext = props.actions.routingcountext;
27581
27595
  useEffect(function () {
27582
27596
  if (props.srcfrom == 'addsectionform') {
27583
27597
  var secpropobj = {};
@@ -27707,8 +27721,8 @@ var Simpleproductcard = function Simpleproductcard(props) {
27707
27721
  var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
27708
27722
  props.actions.AddtoCartContext;
27709
27723
  props.actions.AddtoCartMutationContext;
27710
- var StaticPagesLinksContext = props.StaticPagesLinksContext;
27711
- var routingcountext = props.routingcountext;
27724
+ var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
27725
+ var routingcountext = props.actions.routingcountext;
27712
27726
  useEffect(function () {
27713
27727
  if (props.srcfrom == 'addsectionform') {
27714
27728
  var secpropobj = {};
@@ -27987,8 +28001,8 @@ var StylishProductCard = function StylishProductCard(props) {
27987
28001
  var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
27988
28002
  props.actions.AddtoCartContext;
27989
28003
  props.actions.AddtoCartMutationContext;
27990
- var StaticPagesLinksContext = props.StaticPagesLinksContext;
27991
- var routingcountext = props.routingcountext;
28004
+ var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
28005
+ var routingcountext = props.actions.routingcountext;
27992
28006
  useEffect(function () {
27993
28007
  if (props.srcfrom == 'addsectionform') {
27994
28008
  var secpropobj = {};
package/dist/index.umd.js CHANGED
@@ -11298,7 +11298,7 @@
11298
11298
  function _objectSpread$I(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$I(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$I(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
11299
11299
 
11300
11300
  var Subheader = function Subheader(props) {
11301
- var _props$subheaderprope, _props$subheaderprope2, _props$subheaderprope3, _templatepropcontext$, _props$subheaderprope9, _props$subheaderprope10;
11301
+ var _props$subheaderprope, _props$subheaderprope2, _templatepropcontext$, _props$subheaderprope9, _props$subheaderprope10;
11302
11302
 
11303
11303
  // const { lang, setlang, langdetect } = useContext(LanguageContext);
11304
11304
  // const { FetchQueriesEngineContext, setFetchQueriesEngineContext, fetchCategoriesQueryContext } = useContext(FetchingContext);
@@ -11380,122 +11380,134 @@
11380
11380
  })
11381
11381
  };
11382
11382
  return /*#__PURE__*/React__default["default"].createElement("div", {
11383
- className: (props === null || props === void 0 ? void 0 : (_props$subheaderprope = props.subheaderpropertiesprops) === null || _props$subheaderprope === void 0 ? void 0 : _props$subheaderprope.subheaderpositionprops) == 'in nav' ? "".concat(headerstyles$8.sub_outercontainer) + ' ml-0 mr-0 ' : "".concat(headerstyles$8.sub_outercontainer) + ' row ml-0 mr-0 w-100 mt-md-3 pl-sm-2 pr-sm-2 ',
11383
+ "class": (props === null || props === void 0 ? void 0 : (_props$subheaderprope = props.subheaderpropertiesprops) === null || _props$subheaderprope === void 0 ? void 0 : _props$subheaderprope.subheaderpositionprops) == 'in nav' ? "".concat(headerstyles$8.sub_outercontainer) + ' ml-0 mr-0 ' : "".concat(headerstyles$8.sub_outercontainer) + ' row ml-0 mr-0 w-100 mt-md-3 pl-sm-2 pr-sm-2 ',
11384
11384
  style: {
11385
11385
  background: sectionproperties.subheaderbg,
11386
11386
  zIndex: 200,
11387
11387
  flex: 1
11388
11388
  }
11389
11389
  }, sectionproperties != undefined && sectionproperties.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
11390
- className: "".concat(headerstyles$8.sub_container) + ' w-100 p-md-0 '
11390
+ "class": "".concat(headerstyles$8.sub_container) + ' w-100 p-md-0 '
11391
11391
  }, fetchCategoriesQueryContext.isSuccess && fetchCategoriesQueryContext.data.data.status && /*#__PURE__*/React__default["default"].createElement("div", {
11392
- className: " ".concat(headerstyles$8.subheader) + ' row w-100 m-0 d-flex flex-row align-items-center w-sm-100 ',
11392
+ "class": " ".concat(headerstyles$8.subheader) + ' row w-100 m-0 d-flex flex-row align-items-center w-sm-100 ',
11393
11393
  style: {
11394
11394
  position: 'relative'
11395
11395
  }
11396
- }, /*#__PURE__*/React__default["default"].createElement("div", {
11397
- className: "ml-auto mr-auto",
11396
+ }, (props === null || props === void 0 ? void 0 : props.subheaderpositionprops) == 'Full Width' && /*#__PURE__*/React__default["default"].createElement("div", {
11397
+ "class": "ml-auto mr-auto",
11398
11398
  style: {
11399
11399
  background: sectionproperties.upperseparatorbgcolor,
11400
11400
  width: sectionproperties.upperseparatorwidth + '%',
11401
11401
  height: sectionproperties.upperseparatorheight + 'px'
11402
11402
  }
11403
11403
  }), /*#__PURE__*/React__default["default"].createElement("div", {
11404
- className: "col-lg-12 d-flex flex-column align-items-center justify-content-center pl-0 pr-0",
11404
+ "class": "col-lg-12 m-auto d-flex flex-column align-items-center justify-content-center ",
11405
11405
  style: {
11406
11406
  borderBottom: sectionproperties.separator_borderwidth + 'px solid ' + sectionproperties.separator_bgcolor,
11407
11407
  paddingTop: sectionproperties.subheader_margintop + 'px',
11408
11408
  paddingBottom: sectionproperties.subheader_marginbottom + 'px'
11409
11409
  }
11410
11410
  }, /*#__PURE__*/React__default["default"].createElement("div", {
11411
- className: " ".concat(headerstyles$8.nav__item) + ' d-flex flex-row align-items-center ',
11411
+ "class": "".concat(headerstyles$8.nav__item) + ' scrollhorizontal flex-row align-items-center ',
11412
11412
  style: {
11413
11413
  zIndex: 1000,
11414
- justifyContent: props === null || props === void 0 ? void 0 : (_props$subheaderprope2 = props.subheaderpropertiesprops) === null || _props$subheaderprope2 === void 0 ? void 0 : _props$subheaderprope2.subheadercontentpositionprops
11414
+ textAlign: langdetect == 'en' ? 'left' : 'right' // justifyContent: props.subheaderpropertiesprops?.subheadercontentpositionprops,
11415
+
11415
11416
  }
11416
- }, (props === null || props === void 0 ? void 0 : (_props$subheaderprope3 = props.subheaderpropertiesprops) === null || _props$subheaderprope3 === void 0 ? void 0 : _props$subheaderprope3.subheaderpositionprops) == 'in nav' && (templatepropcontext === null || templatepropcontext === void 0 ? void 0 : (_templatepropcontext$ = templatepropcontext.pagesnprop) === null || _templatepropcontext$ === void 0 ? void 0 : _templatepropcontext$.map(function (item, index) {
11417
+ }, (props === null || props === void 0 ? void 0 : (_props$subheaderprope2 = props.subheaderpropertiesprops) === null || _props$subheaderprope2 === void 0 ? void 0 : _props$subheaderprope2.subheaderpositionprops) == 'in nav' && (templatepropcontext === null || templatepropcontext === void 0 ? void 0 : (_templatepropcontext$ = templatepropcontext.pagesnprop) === null || _templatepropcontext$ === void 0 ? void 0 : _templatepropcontext$.map(function (item, index) {
11417
11418
  if (item.isnavigation == 1 && item.isactive == 1) {
11418
- var _props$subheaderprope4, _props$subheaderprope5;
11419
+ var _props$subheaderprope3, _props$subheaderprope4, _props$subheaderprope5, _props$subheaderprope6;
11419
11420
 
11420
11421
  return /*#__PURE__*/React__default["default"].createElement("div", {
11421
11422
  onClick: function onClick() {
11422
11423
  history.push(item.navigationroute);
11424
+ },
11425
+ "class": "scrollhorizontalcard",
11426
+ style: {
11427
+ marginLeft: langdetect == 'ar' ? props === null || props === void 0 ? void 0 : (_props$subheaderprope3 = props.subheaderpropertiesprops) === null || _props$subheaderprope3 === void 0 ? void 0 : _props$subheaderprope3.paddingLeftprops : 0,
11428
+ marginRight: langdetect == 'en' ? props === null || props === void 0 ? void 0 : (_props$subheaderprope4 = props.subheaderpropertiesprops) === null || _props$subheaderprope4 === void 0 ? void 0 : _props$subheaderprope4.paddingRightprops : 0
11423
11429
  }
11424
11430
  }, /*#__PURE__*/React__default["default"].createElement("p", {
11425
- className: "".concat(headerstyles$8.link, " ").concat(header_cssstyles.subheader_category) + ' mb-0 p-0 ml-md-3 mr-md-3 ',
11431
+ "class": "".concat(headerstyles$8.link, " ").concat(header_cssstyles.subheader_category) + ' mb-0 p-0 ml-md-3 mr-md-3 ',
11426
11432
  onClick: function onClick() {
11427
- templatepropcontext.pagesnprop.pages.forEach(function (pageitem, pageindex) {
11433
+ fetch_inst_tabex_websitetemplatesQueryContext.data.data.template.pages.forEach(function (pageitem, pageindex) {
11428
11434
  pageitem.isselected = false;
11429
11435
  });
11430
- templatepropcontext.pagesnprop.pages[index].isselected = true;
11436
+ fetch_inst_tabex_websitetemplatesQueryContext.data.data.template.pages[index].isselected = true;
11431
11437
  },
11432
11438
  style: {
11433
- marginLeft: langdetect == 'en' ? 0 : (_props$subheaderprope4 = props.subheaderpropertiesprops) === null || _props$subheaderprope4 === void 0 ? void 0 : _props$subheaderprope4.paddingLeftprops,
11434
- marginRight: langdetect == 'en' ? (_props$subheaderprope5 = props.subheaderpropertiesprops) === null || _props$subheaderprope5 === void 0 ? void 0 : _props$subheaderprope5.paddingRightprops : 0
11439
+ marginLeft: langdetect == 'en' ? 0 : props === null || props === void 0 ? void 0 : (_props$subheaderprope5 = props.subheaderpropertiesprops) === null || _props$subheaderprope5 === void 0 ? void 0 : _props$subheaderprope5.paddingLeftprops,
11440
+ marginRight: langdetect == 'en' ? props === null || props === void 0 ? void 0 : (_props$subheaderprope6 = props.subheaderpropertiesprops) === null || _props$subheaderprope6 === void 0 ? void 0 : _props$subheaderprope6.paddingRightprops : 0
11435
11441
  }
11436
11442
  }, langdetect == 'en' ? item.pagename : item.pagename_ar));
11437
11443
  }
11438
11444
  })), fetchCategoriesQueryContext.data.data.categories.map(function (item, index) {
11439
- var _props$subheaderprope6, _props$subheaderprope7, _props$subheaderprope8;
11445
+ var _props$subheaderprope7, _props$subheaderprope8;
11440
11446
 
11441
11447
  return /*#__PURE__*/React__default["default"].createElement("p", {
11442
- className: "".concat(headerstyles$8.link, " ").concat(header_cssstyles.subheader_category) + ' mb-0 p-0 ml-md-3 mr-md-3 ',
11448
+ "class": "".concat(headerstyles$8.link, " ").concat(header_cssstyles.subheader_category) + ' mb-0 p-0 ml-md-3 mr-md-3 scrollhorizontalcard ',
11443
11449
  onClick: function onClick() {},
11444
11450
  onMouseEnter: function onMouseEnter() {
11445
11451
  setshowdownheadermenu(true);
11446
11452
  setChoosenindex(index);
11447
11453
  },
11448
11454
  style: {
11449
- marginLeft: (props === null || props === void 0 ? void 0 : (_props$subheaderprope6 = props.subheaderpropertiesprops) === null || _props$subheaderprope6 === void 0 ? void 0 : _props$subheaderprope6.subheaderpositionprops) == 'in nav' ? 0 : (_props$subheaderprope7 = props.subheaderpropertiesprops) === null || _props$subheaderprope7 === void 0 ? void 0 : _props$subheaderprope7.paddingLeftprops,
11450
- marginRight: props === null || props === void 0 ? void 0 : (_props$subheaderprope8 = props.subheaderpropertiesprops) === null || _props$subheaderprope8 === void 0 ? void 0 : _props$subheaderprope8.paddingRightprops
11455
+ marginLeft: langdetect == 'ar' ? props === null || props === void 0 ? void 0 : (_props$subheaderprope7 = props.subheaderpropertiesprops) === null || _props$subheaderprope7 === void 0 ? void 0 : _props$subheaderprope7.paddingLeftprops : 0,
11456
+ marginRight: langdetect == 'en' ? props === null || props === void 0 ? void 0 : (_props$subheaderprope8 = props.subheaderpropertiesprops) === null || _props$subheaderprope8 === void 0 ? void 0 : _props$subheaderprope8.paddingRightprops : 0
11451
11457
  }
11452
11458
  }, langdetect == 'en' ? item.title_en : item.title_ar);
11453
11459
  }))), Choosenindex.length != 0 && fetchCategoriesQueryContext.data.data.categories[Choosenindex].parentcolletions.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
11454
- className: "".concat(headerstyles$8.dropmenu, " ").concat(header_cssstyles.dropdownmenu, " ").concat(showdownheadermenu ? 'd-flex' : 'd-none') + ' col-lg-11 ml-auto mr-auto flex-row justify-content-center align-items-center ',
11460
+ "class": "".concat(headerstyles$8.dropmenu, " ").concat(header_cssstyles.dropdownmenu, " ").concat(showdownheadermenu ? 'd-flex' : 'd-none') + ' col-lg-11 ml-auto mr-auto flex-row justify-content-center align-items-center ',
11455
11461
  onMouseLeave: function onMouseLeave() {
11456
11462
  setshowdownheadermenu(false);
11457
11463
  },
11458
11464
  style: {
11459
11465
  zIndex: 2000,
11460
- position: (props === null || props === void 0 ? void 0 : (_props$subheaderprope9 = props.subheaderpropertiesprops) === null || _props$subheaderprope9 === void 0 ? void 0 : _props$subheaderprope9.subheaderpositionprops) == 'in nav' ? 'absolute' : '',
11461
- top: (props === null || props === void 0 ? void 0 : (_props$subheaderprope10 = props.subheaderpropertiesprops) === null || _props$subheaderprope10 === void 0 ? void 0 : _props$subheaderprope10.subheaderpositionprops) == 'in nav' ? 20 : ''
11466
+ position: ((_props$subheaderprope9 = props.subheaderpropertiesprops) === null || _props$subheaderprope9 === void 0 ? void 0 : _props$subheaderprope9.subheaderpositionprops) == 'in nav' ? 'absolute' : '',
11467
+ top: ((_props$subheaderprope10 = props.subheaderpropertiesprops) === null || _props$subheaderprope10 === void 0 ? void 0 : _props$subheaderprope10.subheaderpositionprops) == 'in nav' ? 20 : ''
11462
11468
  }
11463
11469
  }, /*#__PURE__*/React__default["default"].createElement("div", {
11464
- className: "row m-0 w-100 d-flex p-3"
11470
+ "class": "row m-0 w-100 d-flex p-3"
11465
11471
  }, fetchCategoriesQueryContext.data.data.categories[Choosenindex].parentcolletions.length == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
11466
- className: "col-lg-12 d-flex align-items-center justify-content-center text-light flex-column h-100 pt-5 pb-5"
11472
+ "class": "col-lg-12 d-flex align-items-center justify-content-center text-light flex-column h-100 pt-5 pb-5"
11467
11473
  }, /*#__PURE__*/React__default["default"].createElement(md.MdOutlineLayersClear, {
11468
11474
  size: 30
11469
11475
  }), /*#__PURE__*/React__default["default"].createElement("p", {
11470
- className: "font-16 font-weight-500 m-0 p-0"
11476
+ "class": "font-16 font-weight-500 m-0 p-0"
11471
11477
  }, langdetect == 'en' ? 'No collections' : 'لا توجد مجموعات')), fetchCategoriesQueryContext.data.data.categories[Choosenindex].parentcolletions.map(function (item, index) {
11472
11478
  return /*#__PURE__*/React__default["default"].createElement("div", {
11473
- className: "col-lg-2 col-md-6 col-sm-12 mb-md-4 p-0",
11479
+ "class": "col-lg-2 col-md-6 col-sm-12 mb-md-4 p-0",
11474
11480
  style: {
11475
11481
  cursor: 'pointer'
11476
11482
  }
11477
11483
  }, /*#__PURE__*/React__default["default"].createElement("div", {
11478
- className: "row w-100 m-0 d-flex flex-column justify-content-center mb-2"
11484
+ "class": "row w-100 m-0 d-flex flex-column justify-content-center mb-2"
11479
11485
  }, /*#__PURE__*/React__default["default"].createElement("div", {
11480
- className: "col-lg-12 p-0 mb-3",
11486
+ "class": "col-lg-12 p-0 mb-3",
11481
11487
  onClick: function onClick() {
11482
11488
  routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.parentcollectionid);
11483
11489
  }
11484
11490
  }, /*#__PURE__*/React__default["default"].createElement("p", {
11485
- className: "".concat(header_cssstyles.parentcollection) + ' wordbreak m-0 p-0 '
11491
+ "class": "".concat(header_cssstyles.parentcollection) + ' wordbreak m-0 p-0 ',
11492
+ style: {
11493
+ textAlign: langdetect == 'en' ? 'left' : 'right'
11494
+ }
11486
11495
  }, langdetect == 'en' ? item.title_en : item.title_ar)), item.collections.map(function (item, index) {
11487
11496
  return /*#__PURE__*/React__default["default"].createElement("div", {
11488
- className: "col-lg-12 p-0 mb-2",
11497
+ "class": "col-lg-12 p-0 mb-2",
11489
11498
  onClick: function onClick() {
11490
11499
  routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.collectionid);
11491
11500
  }
11492
11501
  }, /*#__PURE__*/React__default["default"].createElement("p", {
11493
- className: "".concat(header_cssstyles.subheader_collectiontitle) + ' wordbreak m-0 p-0 '
11502
+ "class": "".concat(header_cssstyles.subheader_collectiontitle) + ' wordbreak m-0 p-0 ',
11503
+ style: {
11504
+ textAlign: langdetect == 'en' ? 'left' : 'right'
11505
+ }
11494
11506
  }, langdetect == 'en' ? item.title_en : item.title_ar));
11495
11507
  }), index != item.collections.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
11496
- className: "col-lg-12 p-0 d-none d-sm-block"
11508
+ "class": "col-lg-12 p-0 d-none d-sm-block"
11497
11509
  }, /*#__PURE__*/React__default["default"].createElement("hr", {
11498
- className: "mt-3 mb-0"
11510
+ "class": "mt-3 mb-0"
11499
11511
  }))));
11500
11512
  }))))));
11501
11513
  };
@@ -24072,6 +24084,8 @@
24072
24084
  var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
24073
24085
  var AddtoCartContext = props.actions.AddtoCartContext;
24074
24086
  props.actions.AddtoCartMutationContext;
24087
+ var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
24088
+ var routingcountext = props.actions.routingcountext;
24075
24089
  var NotificationManager = NotificationManager;
24076
24090
 
24077
24091
  var updatequantity = function updatequantity(type) {
@@ -24556,8 +24570,8 @@
24556
24570
  var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
24557
24571
  var AddtoCartContext = props.actions.AddtoCartContext;
24558
24572
  props.actions.AddtoCartMutationContext;
24559
- var StaticPagesLinksContext = props.StaticPagesLinksContext;
24560
- var routingcountext = props.routingcountext;
24573
+ var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
24574
+ var routingcountext = props.actions.routingcountext;
24561
24575
  var NotificationManager = NotificationManager;
24562
24576
 
24563
24577
  var updatequantity = function updatequantity(type) {
@@ -25277,8 +25291,8 @@
25277
25291
  var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
25278
25292
  props.actions.AddtoCartContext;
25279
25293
  props.actions.AddtoCartMutationContext;
25280
- var StaticPagesLinksContext = props.StaticPagesLinksContext;
25281
- var routingcountext = props.routingcountext;
25294
+ var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
25295
+ var routingcountext = props.actions.routingcountext;
25282
25296
  React.useEffect(function () {
25283
25297
  if (props.srcfrom == 'addsectionform') {
25284
25298
  var secpropobj = {};
@@ -25540,8 +25554,8 @@
25540
25554
  var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
25541
25555
  props.actions.AddtoCartContext;
25542
25556
  props.actions.AddtoCartMutationContext;
25543
- var StaticPagesLinksContext = props.StaticPagesLinksContext;
25544
- var routingcountext = props.routingcountext;
25557
+ var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
25558
+ var routingcountext = props.actions.routingcountext;
25545
25559
  React.useEffect(function () {
25546
25560
  if (props.srcfrom == 'addsectionform') {
25547
25561
  var secpropobj = {};
@@ -26086,8 +26100,8 @@
26086
26100
  var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
26087
26101
  props.actions.AddtoCartContext;
26088
26102
  props.actions.AddtoCartMutationContext;
26089
- var StaticPagesLinksContext = props.StaticPagesLinksContext;
26090
- var routingcountext = props.routingcountext;
26103
+ var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
26104
+ var routingcountext = props.actions.routingcountext;
26091
26105
  React.useEffect(function () {
26092
26106
  if (props.srcfrom == 'addsectionform') {
26093
26107
  var secpropobj = {};
@@ -26373,8 +26387,8 @@
26373
26387
  var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
26374
26388
  props.actions.AddtoCartContext;
26375
26389
  props.actions.AddtoCartMutationContext;
26376
- var StaticPagesLinksContext = props.StaticPagesLinksContext;
26377
- var routingcountext = props.routingcountext;
26390
+ var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
26391
+ var routingcountext = props.actions.routingcountext;
26378
26392
  React.useEffect(function () {
26379
26393
  if (props.srcfrom == 'addsectionform') {
26380
26394
  var secpropobj = {};
@@ -26619,8 +26633,8 @@
26619
26633
  var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
26620
26634
  props.actions.AddtoCartContext;
26621
26635
  props.actions.AddtoCartMutationContext;
26622
- var StaticPagesLinksContext = props.StaticPagesLinksContext;
26623
- var routingcountext = props.routingcountext;
26636
+ var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
26637
+ var routingcountext = props.actions.routingcountext;
26624
26638
  React.useEffect(function () {
26625
26639
  if (props.srcfrom == 'addsectionform') {
26626
26640
  var secpropobj = {};
@@ -26886,8 +26900,8 @@
26886
26900
  var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
26887
26901
  props.actions.AddtoCartContext;
26888
26902
  props.actions.AddtoCartMutationContext;
26889
- var StaticPagesLinksContext = props.StaticPagesLinksContext;
26890
- var routingcountext = props.routingcountext;
26903
+ var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
26904
+ var routingcountext = props.actions.routingcountext;
26891
26905
  React.useEffect(function () {
26892
26906
  if (props.srcfrom == 'addsectionform') {
26893
26907
  var secpropobj = {};
@@ -27140,8 +27154,8 @@
27140
27154
  var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
27141
27155
  props.actions.AddtoCartContext;
27142
27156
  props.actions.AddtoCartMutationContext;
27143
- var StaticPagesLinksContext = props.StaticPagesLinksContext;
27144
- var routingcountext = props.routingcountext;
27157
+ var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
27158
+ var routingcountext = props.actions.routingcountext;
27145
27159
  React.useEffect(function () {
27146
27160
  if (props.srcfrom == 'addsectionform') {
27147
27161
  var secpropobj = {};
@@ -27422,8 +27436,8 @@
27422
27436
  props.actions.setProductIdProdutInfoModalContext;
27423
27437
  props.actions.AddtoCartContext;
27424
27438
  props.actions.AddtoCartMutationContext;
27425
- props.StaticPagesLinksContext;
27426
- props.routingcountext;
27439
+ props.actions.StaticPagesLinksContext;
27440
+ props.actions.routingcountext;
27427
27441
  React.useEffect(function () {
27428
27442
  if (props.srcfrom == 'addsectionform') {
27429
27443
  var secpropobj = {};
@@ -27558,8 +27572,8 @@
27558
27572
  props.actions.setProductIdProdutInfoModalContext;
27559
27573
  props.actions.AddtoCartContext;
27560
27574
  props.actions.AddtoCartMutationContext;
27561
- var StaticPagesLinksContext = props.StaticPagesLinksContext;
27562
- var routingcountext = props.routingcountext;
27575
+ var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
27576
+ var routingcountext = props.actions.routingcountext;
27563
27577
  React.useEffect(function () {
27564
27578
  if (props.srcfrom == 'addsectionform') {
27565
27579
  var secpropobj = {};
@@ -27689,8 +27703,8 @@
27689
27703
  var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
27690
27704
  props.actions.AddtoCartContext;
27691
27705
  props.actions.AddtoCartMutationContext;
27692
- var StaticPagesLinksContext = props.StaticPagesLinksContext;
27693
- var routingcountext = props.routingcountext;
27706
+ var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
27707
+ var routingcountext = props.actions.routingcountext;
27694
27708
  React.useEffect(function () {
27695
27709
  if (props.srcfrom == 'addsectionform') {
27696
27710
  var secpropobj = {};
@@ -27969,8 +27983,8 @@
27969
27983
  var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
27970
27984
  props.actions.AddtoCartContext;
27971
27985
  props.actions.AddtoCartMutationContext;
27972
- var StaticPagesLinksContext = props.StaticPagesLinksContext;
27973
- var routingcountext = props.routingcountext;
27986
+ var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
27987
+ var routingcountext = props.actions.routingcountext;
27974
27988
  React.useEffect(function () {
27975
27989
  if (props.srcfrom == 'addsectionform') {
27976
27990
  var secpropobj = {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tabexseriescomponents",
3
- "version": "0.0.57",
3
+ "version": "0.0.58",
4
4
  "description": "your description",
5
5
  "main": "dist/index.cjs.js",
6
6
  "scripts": {