tabexseriescomponents 0.0.99 → 0.0.101

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.esm.js CHANGED
@@ -2327,7 +2327,7 @@ var Ordershistory = function Ordershistory(props) {
2327
2327
  if ((_bgimagesarray$3 = bgimagesarray[0]) !== null && _bgimagesarray$3 !== void 0 && _bgimagesarray$3.clickable_page_route && ((_bgimagesarray$4 = bgimagesarray[0]) === null || _bgimagesarray$4 === void 0 ? void 0 : _bgimagesarray$4.clickable_page_route.length) != 0) {
2328
2328
  routingcountext(bgimagesarray[0].clickable_page_route, false, '');
2329
2329
  } else {
2330
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, bgimagesarray[0].Clickable_Reference_Collection_ID);
2330
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + bgimagesarray[0].Clickable_Reference_Collection_ID);
2331
2331
  }
2332
2332
  }
2333
2333
  }
@@ -3154,7 +3154,7 @@ var Wishlist = function Wishlist(props) {
3154
3154
  if ((_bgimagesarray$3 = bgimagesarray[0]) !== null && _bgimagesarray$3 !== void 0 && _bgimagesarray$3.clickable_page_route && ((_bgimagesarray$4 = bgimagesarray[0]) === null || _bgimagesarray$4 === void 0 ? void 0 : _bgimagesarray$4.clickable_page_route.length) != 0) {
3155
3155
  routingcountext(bgimagesarray[0].clickable_page_route, false, '');
3156
3156
  } else {
3157
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, bgimagesarray[0].Clickable_Reference_Collection_ID);
3157
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + bgimagesarray[0].Clickable_Reference_Collection_ID);
3158
3158
  }
3159
3159
  }
3160
3160
  }
@@ -3822,7 +3822,7 @@ var Viewcart = function Viewcart(props) {
3822
3822
  if ((_bgimagesarray$3 = bgimagesarray[0]) !== null && _bgimagesarray$3 !== void 0 && _bgimagesarray$3.clickable_page_route && ((_bgimagesarray$4 = bgimagesarray[0]) === null || _bgimagesarray$4 === void 0 ? void 0 : _bgimagesarray$4.clickable_page_route.length) != 0) {
3823
3823
  routingcountext(bgimagesarray[0].clickable_page_route, false, '');
3824
3824
  } else {
3825
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, bgimagesarray[0].Clickable_Reference_Collection_ID);
3825
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + bgimagesarray[0].Clickable_Reference_Collection_ID);
3826
3826
  }
3827
3827
  }
3828
3828
  }
@@ -6353,7 +6353,7 @@ var AccountInformation = function AccountInformation(props) {
6353
6353
  if ((_bgimagesarray$3 = bgimagesarray[0]) !== null && _bgimagesarray$3 !== void 0 && _bgimagesarray$3.clickable_page_route && ((_bgimagesarray$4 = bgimagesarray[0]) === null || _bgimagesarray$4 === void 0 ? void 0 : _bgimagesarray$4.clickable_page_route.length) != 0) {
6354
6354
  routingcountext(bgimagesarray[0].clickable_page_route, false, '');
6355
6355
  } else {
6356
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, bgimagesarray[0].Clickable_Reference_Collection_ID);
6356
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + bgimagesarray[0].Clickable_Reference_Collection_ID);
6357
6357
  }
6358
6358
  }
6359
6359
  }
@@ -6626,7 +6626,7 @@ var Policies = function Policies(props) {
6626
6626
  if ((_bgimagesarray$3 = bgimagesarray[0]) !== null && _bgimagesarray$3 !== void 0 && _bgimagesarray$3.clickable_page_route && ((_bgimagesarray$4 = bgimagesarray[0]) === null || _bgimagesarray$4 === void 0 ? void 0 : _bgimagesarray$4.clickable_page_route.length) != 0) {
6627
6627
  routingcountext(bgimagesarray[0].clickable_page_route, false, '');
6628
6628
  } else {
6629
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, bgimagesarray[0].Clickable_Reference_Collection_ID);
6629
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + bgimagesarray[0].Clickable_Reference_Collection_ID);
6630
6630
  }
6631
6631
  }
6632
6632
  }
@@ -9439,6 +9439,220 @@ var Sixverticalcardssection = function Sixverticalcardssection(props) {
9439
9439
  function ownKeys$1p(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
9440
9440
  function _objectSpread$1p(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1p(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1p(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
9441
9441
  var ModernCardsSection = function ModernCardsSection(props) {
9442
+ // const { ref, inView } = useInView();
9443
+ // const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
9444
+ // const lang = props.actions.lang;
9445
+ // const langdetect = props.actions.langdetect;
9446
+ // const fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
9447
+ // const favoriteprojectscountContext = props.actions.favoriteprojectscountContext;
9448
+ // const routingcountext = props.actions.routingcountext;
9449
+ // const StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
9450
+ // const ProductFilterObjContext = props.actions.ProductFilterObjContext;
9451
+ // const setProductFilterObjContext = props.actions.setProductFilterObjContext;
9452
+ // const TabexSectionsComponentsContext = props.actions.TabexSectionsComponentsContext;
9453
+ // const FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
9454
+ // const setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
9455
+ // const fetchProductsQuery = props.actions.fetchProductsQuery;
9456
+ // const fetchcollectionsQueryContext = props.actions.fetchcollectionsQueryContext;
9457
+ // const setParentCollectionsForCollectionQueryArr = props.actions.setParentCollectionsForCollectionQueryArr;
9458
+ // const ParentCollectionsForCollectionQueryArr = props.actions.ParentCollectionsForCollectionQueryArr;
9459
+ // const setfetchingtype = props.actions.setfetchingtype;
9460
+ // const fetchingtype = props.actions.fetchingtype;
9461
+ // const actions = props.actions;
9462
+ // const [sectionproperties, setsectionproperties] = useState('');
9463
+ // const [cardsarray, setcardsarray] = useState([]);
9464
+ // React.useEffect(() => {
9465
+ // if (inView) {
9466
+ // fetchProductsQuery.fetchNextPage();
9467
+ // }
9468
+ // }, [inView]);
9469
+ // const [ProductsFetchingTypeSectionObj, setProductsFetchingTypeSectionObj] = useState({ productfetchingtype: 'Random', collectionid: '', grouptype: '' });
9470
+
9471
+ // useEffect(() => {
9472
+ // StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
9473
+ // if (sectionitem.sectionid == props.sectionidprops) {
9474
+ // var secpropobj = {};
9475
+ // sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
9476
+ // secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
9477
+ // });
9478
+ // setsectionproperties({ ...secpropobj });
9479
+
9480
+ // if (props.srcfromprops == 'GeneralProductsComponent') {
9481
+ // setfetchingtype('products');
9482
+ // setProductsFetchingTypeSectionObj({
9483
+ // productfetchingtype: 'Random',
9484
+ // collectionid: props.collectionidprops,
9485
+ // grouptype: props.grouptypeprops,
9486
+ // grouptyperefid: props.grouptyperefidprops,
9487
+ // });
9488
+ // } else {
9489
+ // setfetchingtype(sectionitem.fetchingtype);
9490
+ // setProductsFetchingTypeSectionObj({
9491
+ // productfetchingtype: sectionitem.productsfetchingtype,
9492
+ // collectionid: sectionitem.productsfetchingtypeCollectioncollectionid,
9493
+ // grouptype: props.grouptypeprops,
9494
+ // grouptyperefid: props.grouptyperefidprops,
9495
+ // });
9496
+ // }
9497
+ // }
9498
+ // });
9499
+ // }, [StatePagePropertiesContext]);
9500
+ // useEffect(() => {
9501
+ // if (sectionproperties.length != 0) {
9502
+ // if (cardsarray.length == 0) {
9503
+ // if (fetchingtype == 'collections') {
9504
+ // if (fetchcollectionsQueryContext.isSuccess) {
9505
+ // cardobjassigner(fetchcollectionsQueryContext.data.data.collections);
9506
+ // }
9507
+ // } else if (fetchingtype == 'products') {
9508
+ // if (fetchProductsQuery.isSuccess) {
9509
+ // var allpagesarr = [];
9510
+ // fetchProductsQuery.data.pages.forEach((page) => {
9511
+ // page.data.products.forEach((productobj) => {
9512
+ // allpagesarr.push(productobj);
9513
+ // });
9514
+ // });
9515
+ // cardobjassigner(allpagesarr);
9516
+ // }
9517
+ // }
9518
+ // }
9519
+ // }
9520
+ // }, [sectionproperties]);
9521
+ // useEffect(() => {
9522
+ // if (fetchingtype.length != 0) {
9523
+ // var tempFetchQueriesEngineContext = FetchQueriesEngineContext;
9524
+ // if (fetchingtype == 'collections') {
9525
+ // // tempFetchQueriesEngineContext.collections = true;
9526
+ // if (ProductsFetchingTypeSectionObj.collectionid == 'all' || ProductsFetchingTypeSectionObj.collectionid == null || ProductsFetchingTypeSectionObj.collectionid == undefined) {
9527
+ // setParentCollectionsForCollectionQueryArr('all');
9528
+ // } else {
9529
+ // setParentCollectionsForCollectionQueryArr([ProductsFetchingTypeSectionObj.collectionid]);
9530
+ // }
9531
+ // }
9532
+ // if (fetchingtype == 'products') {
9533
+ // var tempfetchproductsfilerobjcontext = ProductFilterObjContext;
9534
+ // tempfetchproductsfilerobjcontext.ProductFetchingType = ProductsFetchingTypeSectionObj.productfetchingtype;
9535
+ // if (
9536
+ // ProductsFetchingTypeSectionObj.grouptype == 'collections' ||
9537
+ // ProductsFetchingTypeSectionObj.grouptype == 'categories' ||
9538
+ // ProductsFetchingTypeSectionObj.grouptype == 'parentcollections'
9539
+ // ) {
9540
+ // } else {
9541
+ // tempfetchproductsfilerobjcontext.collections.push(ProductsFetchingTypeSectionObj.collectionid);
9542
+ // }
9543
+ // tempfetchproductsfilerobjcontext.grouptype = ProductsFetchingTypeSectionObj.grouptype;
9544
+ // tempfetchproductsfilerobjcontext.grouptyperefid = ProductsFetchingTypeSectionObj.grouptyperefid;
9545
+ // setProductFilterObjContext({ ...tempfetchproductsfilerobjcontext });
9546
+ // }
9547
+
9548
+ // setFetchQueriesEngineContext({ ...tempFetchQueriesEngineContext });
9549
+ // }
9550
+ // }, [fetchingtype, ProductsFetchingTypeSectionObj]);
9551
+ // useEffect(() => {
9552
+ // if (fetchingtype == 'products') {
9553
+ // if (fetchProductsQuery.isSuccess && fetchcustomercartQueryContext.isSuccess) {
9554
+ // var allpagesarr = [];
9555
+ // fetchProductsQuery.data.pages.forEach((page) => {
9556
+ // page.data.products.forEach((productobj) => {
9557
+ // allpagesarr.push(productobj);
9558
+ // });
9559
+ // });
9560
+ // cardobjassigner(allpagesarr);
9561
+ // }
9562
+ // }
9563
+ // }, [fetchProductsQuery.isSuccess, fetchProductsQuery.dataUpdatedAt, fetchProductsQuery.data, fetchcustomercartQueryContext.dataUpdatedAt]);
9564
+ // useEffect(() => {
9565
+ // if (fetchingtype == 'collections') {
9566
+ // if (fetchcollectionsQueryContext.isSuccess) {
9567
+ // cardobjassigner(fetchcollectionsQueryContext.data.data.collections);
9568
+ // }
9569
+ // }
9570
+ // }, [fetchcollectionsQueryContext.isSuccess]);
9571
+ // useEffect(() => {
9572
+ // favassigner();
9573
+ // }, [favoriteprojectscountContext]);
9574
+ // const favassigner = () => {
9575
+ // if (fetchingtype == 'products') {
9576
+ // if (cardsarray.length != 0) {
9577
+ // if (favoriteprojectscountContext != undefined && Array.isArray(favoriteprojectscountContext)) {
9578
+ // var tempcardsarray = [...cardsarray];
9579
+ // tempcardsarray.forEach(function (arrayItem, arrayindex) {
9580
+ // arrayItem.IsFavExists = false;
9581
+ // });
9582
+ // tempcardsarray.forEach(function (arrayItem, arrayindex) {
9583
+ // favoriteprojectscountContext.forEach(function (favitem, favindex) {
9584
+ // if (arrayItem.productid == favitem) {
9585
+ // arrayItem.IsFavExists = true;
9586
+ // }
9587
+ // });
9588
+ // });
9589
+ // setcardsarray([...tempcardsarray]);
9590
+ // }
9591
+ // }
9592
+ // }
9593
+ // };
9594
+ // const cardobjassigner = (fetchedarray) => {
9595
+ // var temparray = [];
9596
+ // fetchedarray.forEach(function (arrayItem, arrayindex) {
9597
+ // var cardobj = {
9598
+ // name: '',
9599
+ // image: '',
9600
+ // };
9601
+ // if (fetchingtype == 'products') {
9602
+ // var itemquantity = 0;
9603
+ // if (langdetect == 'en') {
9604
+ // cardobj.name = arrayItem.productinfo.name_en;
9605
+ // } else {
9606
+ // cardobj.name = arrayItem.productinfo.name_ar;
9607
+ // }
9608
+ // if (langdetect == 'en') {
9609
+ // cardobj.description = arrayItem.productinfo.description_en;
9610
+ // } else {
9611
+ // cardobj.description = arrayItem.productinfo.description_ar;
9612
+ // }
9613
+ // if (arrayItem.productinfo.hasvariants == 0) {
9614
+ // fetchcustomercartQueryContext.data.data.customercart.cartitems.forEach(function (cartitem, cartindex) {
9615
+ // if (cartitem.productid == arrayItem.productinfo.productid) {
9616
+ // itemquantity = cartitem.quantity;
9617
+ // }
9618
+ // });
9619
+ // }
9620
+ // cardobj.image = arrayItem.productinfo.productmainimage;
9621
+ // cardobj.hassale = arrayItem.productinfo.hassale;
9622
+ // cardobj.productid = arrayItem.productinfo.productid;
9623
+ // cardobj.hasvariants = arrayItem.productinfo.hasvariants;
9624
+ // cardobj.description_en = arrayItem.productinfo.description_en;
9625
+ // cardobj.description_ar = arrayItem.productinfo.description_ar;
9626
+ // cardobj.defaultprice = arrayItem.productinfo.defaultprice;
9627
+ // cardobj.defaultsaleprice = arrayItem.productinfo.defaultsaleprice;
9628
+ // cardobj.productimages = arrayItem.productinfo.productimages;
9629
+ // cardobj.quantity = itemquantity;
9630
+ // cardobj.timestamp = arrayItem.productinfo.timestamp;
9631
+
9632
+ // if (favoriteprojectscountContext != undefined && favoriteprojectscountContext.length != 0) {
9633
+ // favoriteprojectscountContext.forEach(function (favitem, favindex) {
9634
+ // if (arrayItem.productinfo.productid == favitem) {
9635
+ // cardobj.IsFavExists = true;
9636
+ // }
9637
+ // });
9638
+ // }
9639
+ // } else if (fetchingtype == 'collections') {
9640
+ // cardobj.collectionid = arrayItem.collectionid;
9641
+ // if (langdetect == 'en') {
9642
+ // cardobj.name = arrayItem.title_en;
9643
+ // cardobj.description = arrayItem.description_en;
9644
+ // } else if (langdetect == 'ar') {
9645
+ // cardobj.name = arrayItem.title_ar;
9646
+ // cardobj.description = arrayItem.description_ar;
9647
+ // }
9648
+ // cardobj.image = arrayItem.collectionlogo;
9649
+ // } else if (fetchingtype == 'custom') {
9650
+ // }
9651
+ // temparray.push(cardobj);
9652
+ // });
9653
+
9654
+ // setcardsarray([...temparray]);
9655
+ // };
9442
9656
  var _useInView = useInView(),
9443
9657
  ref = _useInView.ref,
9444
9658
  inView = _useInView.inView;
@@ -9447,47 +9661,50 @@ var ModernCardsSection = function ModernCardsSection(props) {
9447
9661
  var langdetect = props.actions.langdetect;
9448
9662
  var fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
9449
9663
  var favoriteprojectscountContext = props.actions.favoriteprojectscountContext;
9664
+ var routingcountext = props.actions.routingcountext;
9665
+ var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
9450
9666
  var ProductFilterObjContext = props.actions.ProductFilterObjContext;
9451
9667
  var setProductFilterObjContext = props.actions.setProductFilterObjContext;
9452
9668
  var TabexSectionsComponentsContext = props.actions.TabexSectionsComponentsContext;
9453
9669
  var FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
9454
9670
  var setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
9455
- var SearchHeaderMutationContext = props.actions.SearchHeaderMutationContext;
9456
9671
  var fetchProductsQuery = props.actions.fetchProductsQuery;
9457
9672
  var fetchcollectionsQueryContext = props.actions.fetchcollectionsQueryContext;
9458
9673
  var setParentCollectionsForCollectionQueryArr = props.actions.setParentCollectionsForCollectionQueryArr;
9674
+ props.actions.ParentCollectionsForCollectionQueryArr;
9459
9675
  var setfetchingtype = props.actions.setfetchingtype;
9460
9676
  var fetchingtype = props.actions.fetchingtype;
9461
- props.actions.AddtoCartMutationContext;
9462
- props.actions.setShowProductInfoModalContext;
9463
- props.actions.authdetailsContext;
9464
- props.actions.productfiltercontext;
9465
- props.actions.setproductfiltercontext;
9677
+ props.actions.addtofavoritescontext;
9466
9678
  var actions = props.actions;
9467
9679
  var _useState = useState(''),
9468
9680
  _useState2 = _slicedToArray(_useState, 2),
9469
9681
  sectionproperties = _useState2[0],
9470
9682
  setsectionproperties = _useState2[1];
9471
9683
  var _useState3 = useState([]),
9472
- _useState4 = _slicedToArray(_useState3, 2),
9473
- cardsarray = _useState4[0],
9474
- setcardsarray = _useState4[1];
9475
- var _useState5 = useState(''),
9684
+ _useState4 = _slicedToArray(_useState3, 2);
9685
+ _useState4[0];
9686
+ _useState4[1];
9687
+ var _useState5 = useState([]),
9476
9688
  _useState6 = _slicedToArray(_useState5, 2),
9477
- searchinput = _useState6[0];
9478
- _useState6[1];
9689
+ cardsarray = _useState6[0],
9690
+ setcardsarray = _useState6[1];
9691
+ var _useState7 = useState(''),
9692
+ _useState8 = _slicedToArray(_useState7, 2);
9693
+ _useState8[0];
9694
+ _useState8[1];
9479
9695
  React.useEffect(function () {
9480
9696
  if (inView) {
9481
9697
  fetchProductsQuery.fetchNextPage();
9482
9698
  }
9483
9699
  }, [inView]);
9484
- var _useState7 = useState({
9700
+ var _useState9 = useState({
9485
9701
  productfetchingtype: 'Random',
9486
- collectionid: ''
9702
+ collectionid: '',
9703
+ grouptype: ''
9487
9704
  }),
9488
- _useState8 = _slicedToArray(_useState7, 2),
9489
- ProductsFetchingTypeSectionObj = _useState8[0],
9490
- setProductsFetchingTypeSectionObj = _useState8[1];
9705
+ _useState10 = _slicedToArray(_useState9, 2),
9706
+ ProductsFetchingTypeSectionObj = _useState10[0],
9707
+ setProductsFetchingTypeSectionObj = _useState10[1];
9491
9708
  useEffect(function () {
9492
9709
  StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
9493
9710
  if (sectionitem.sectionid == props.sectionidprops) {
@@ -9500,31 +9717,22 @@ var ModernCardsSection = function ModernCardsSection(props) {
9500
9717
  setfetchingtype('products');
9501
9718
  setProductsFetchingTypeSectionObj({
9502
9719
  productfetchingtype: 'Random',
9503
- collectionid: props.collectionidprops
9720
+ collectionid: props.collectionidprops,
9721
+ grouptype: props.grouptypeprops,
9722
+ grouptyperefid: props.grouptyperefidprops
9504
9723
  });
9505
9724
  } else {
9506
9725
  setfetchingtype(sectionitem.fetchingtype);
9507
9726
  setProductsFetchingTypeSectionObj({
9508
9727
  productfetchingtype: sectionitem.productsfetchingtype,
9509
- collectionid: sectionitem.productsfetchingtypeCollectioncollectionid
9728
+ collectionid: sectionitem.productsfetchingtypeCollectioncollectionid,
9729
+ grouptype: props.grouptypeprops,
9730
+ grouptyperefid: props.grouptyperefidprops
9510
9731
  });
9511
9732
  }
9512
9733
  }
9513
9734
  });
9514
9735
  }, [StatePagePropertiesContext]);
9515
- useEffect(function () {
9516
- SearchHeaderMutationContext.reset();
9517
- var delayDebounceFn = setTimeout(function () {
9518
- if (searchinput.length != 0) {
9519
- SearchHeaderMutationContext.mutate({
9520
- SearchHeaderValue: searchinput
9521
- });
9522
- }
9523
- }, 1000);
9524
- return function () {
9525
- return clearTimeout(delayDebounceFn);
9526
- };
9527
- }, [searchinput]);
9528
9736
  useEffect(function () {
9529
9737
  if (sectionproperties.length != 0) {
9530
9738
  if (cardsarray.length == 0) {
@@ -9551,7 +9759,6 @@ var ModernCardsSection = function ModernCardsSection(props) {
9551
9759
  var tempFetchQueriesEngineContext = FetchQueriesEngineContext;
9552
9760
  if (fetchingtype == 'collections') {
9553
9761
  // tempFetchQueriesEngineContext.collections = true;
9554
-
9555
9762
  if (ProductsFetchingTypeSectionObj.collectionid == 'all' || ProductsFetchingTypeSectionObj.collectionid == null || ProductsFetchingTypeSectionObj.collectionid == undefined) {
9556
9763
  setParentCollectionsForCollectionQueryArr('all');
9557
9764
  } else {
@@ -9561,7 +9768,11 @@ var ModernCardsSection = function ModernCardsSection(props) {
9561
9768
  if (fetchingtype == 'products') {
9562
9769
  var tempfetchproductsfilerobjcontext = ProductFilterObjContext;
9563
9770
  tempfetchproductsfilerobjcontext.ProductFetchingType = ProductsFetchingTypeSectionObj.productfetchingtype;
9564
- tempfetchproductsfilerobjcontext.collections.push(ProductsFetchingTypeSectionObj.collectionid);
9771
+ if (ProductsFetchingTypeSectionObj.grouptype == 'collections' || ProductsFetchingTypeSectionObj.grouptype == 'categories' || ProductsFetchingTypeSectionObj.grouptype == 'parentcollections') ; else {
9772
+ tempfetchproductsfilerobjcontext.collections.push(ProductsFetchingTypeSectionObj.collectionid);
9773
+ }
9774
+ tempfetchproductsfilerobjcontext.grouptype = ProductsFetchingTypeSectionObj.grouptype;
9775
+ tempfetchproductsfilerobjcontext.grouptyperefid = ProductsFetchingTypeSectionObj.grouptyperefid;
9565
9776
  setProductFilterObjContext(_objectSpread$1p({}, tempfetchproductsfilerobjcontext));
9566
9777
  }
9567
9778
  setFetchQueriesEngineContext(_objectSpread$1p({}, tempFetchQueriesEngineContext));
@@ -10016,21 +10227,6 @@ var ElegantCategoriesCardSection = function ElegantCategoriesCardSection(props)
10016
10227
  color: sectionproperties.filterbtn_Textcoloronhover
10017
10228
  }
10018
10229
  }),
10019
- viewmorebtn: css({
10020
- width: sectionproperties.viewmorebtn_Width + 'px',
10021
- height: sectionproperties.viewmorebtn_Height + 'px',
10022
- background: sectionproperties.viewmorebtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.viewmorebtn_bgColor,
10023
- borderRadius: sectionproperties.viewmorebtn_borderBottomLeftRadius + 'px',
10024
- color: sectionproperties.viewmorebtn_Textcolor,
10025
- fontSize: sectionproperties.viewmorebtn_fontSize + 'px',
10026
- fontWeight: sectionproperties.viewmorebtn_fontWeight,
10027
- textDecoration: sectionproperties.viewmorebtn_bgtransparent == 'Transparent' ? 'underline' : 'none',
10028
- transition: '.3s',
10029
- ':hover': {
10030
- background: sectionproperties.viewmorebtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.viewmorebtn_bgColoronhover,
10031
- color: sectionproperties.viewmorebtn_Textcoloronhover
10032
- }
10033
- }),
10034
10230
  cardcontainer: css({
10035
10231
  border: sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor,
10036
10232
  paddingTop: sectionproperties.reservation_padding_top + 'px',
@@ -10070,7 +10266,7 @@ var ElegantCategoriesCardSection = function ElegantCategoriesCardSection(props)
10070
10266
  paddingRight: sectionproperties.sectionTitleMarginRight + 'px'
10071
10267
  }
10072
10268
  }, sectionproperties.sectiontitleshow == 'Show' && /*#__PURE__*/React.createElement("div", {
10073
- "class": sectionproperties.viewmorebtnshow == 'Show' ? sectionproperties.sectiontitleposition == 'Centered' ? ' col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0 ' : ' col-lg-7 col-md-7 col-sm-7 d-flex align-items-center p-0 ' : ' col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0 '
10269
+ "class": sectionproperties.sectiontitleposition == 'Centered' ? ' col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0 ' : ' col-lg-7 col-md-7 col-sm-7 d-flex align-items-center p-0 '
10074
10270
  }, /*#__PURE__*/React.createElement("div", {
10075
10271
  // mb-auto
10076
10272
  "class": "".concat(generalstyles.sectiontitlecont) + ' col-lg-12 p-0 d-flex align-items-center ',
@@ -10114,33 +10310,7 @@ var ElegantCategoriesCardSection = function ElegantCategoriesCardSection(props)
10114
10310
  fontWeight: sectionproperties.prodCatFontWeight,
10115
10311
  textAlign: sectionproperties.descriptionCentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
10116
10312
  }
10117
- }, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr)), /*#__PURE__*/React.createElement("div", {
10118
- "class": sectionproperties.sectiontitleposition == 'Centered' ? 'col-lg-12 col-md-12 col-sm-12 d-flex align-item-center justify-content-center p-0' : 'col-lg-5 col-md-5 col-sm-5 d-flex align-item-center justify-content-end justify-content-sm-center p-0',
10119
- style: {
10120
- marginTop: sectionproperties.sectiontitleposition == 'Centered' ? '10px' : 0
10121
- }
10122
- }, /*#__PURE__*/React.createElement("div", {
10123
- "class": sectionproperties.sectiontitleposition == 'Centered' ? ' row m-0 w-100 d-flex align-item-center justify-content-center ' : ' row m-0 w-100 d-flex align-item-center justify-content-end '
10124
- }, sectionproperties.viewmorebtnshow == 'Show' && /*#__PURE__*/React.createElement("button", {
10125
- "class": sectionproperties.sectiontitleposition == 'Centered' ? "".concat(section_cssstyles.viewmorebtn) + ' m-sm-0 allcentered mt-auto mb-auto ' : "".concat(section_cssstyles.viewmorebtn) + ' w-sm-auto btn-circle-resp m-sm-0 mt-auto mb-auto ',
10126
- onClick: function onClick() {
10127
- if (fetchingtype == 'products') {
10128
- if (ProductsFetchingTypeSectionObj.productfetchingtype == 'Collection') {
10129
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ProductsFetchingTypeSectionObj.collectionid);
10130
- } else {
10131
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
10132
- }
10133
- } else {
10134
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
10135
- }
10136
- }
10137
- }, /*#__PURE__*/React.createElement("span", {
10138
- "class": sectionproperties.sectiontitleposition == 'Centered' ? 'd-flex justify-content-center align-items-center' : 'd-flex justify-content-center align-items-center d-md-none'
10139
- }, langdetect == 'en' ? sectionproperties.viewmorebtn_text : sectionproperties.viewmorebtn_text_ar), /*#__PURE__*/React.createElement("span", {
10140
- "class": sectionproperties.sectiontitleposition == 'Centered' ? 'd-none align-items-center justify-content-center' : 'd-none d-md-flex align-items-center justify-content-center'
10141
- }, /*#__PURE__*/React.createElement("i", {
10142
- "class": "h-100 d-flex align-items-center justify-content-center"
10143
- }, langdetect == 'en' ? /*#__PURE__*/React.createElement(BsFillArrowRightCircleFill, null) : /*#__PURE__*/React.createElement(BsFillArrowLeftCircleFill, null)))))), sectionproperties.showseparator == 'Show' && /*#__PURE__*/React.createElement("div", {
10313
+ }, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr)), sectionproperties.showseparator == 'Show' && /*#__PURE__*/React.createElement("div", {
10144
10314
  "class": "col-lg-12 p-0"
10145
10315
  }, /*#__PURE__*/React.createElement("hr", {
10146
10316
  "class": "mt-3 mb-2",
@@ -10161,7 +10331,7 @@ var ElegantCategoriesCardSection = function ElegantCategoriesCardSection(props)
10161
10331
  minHeight: '300px'
10162
10332
  },
10163
10333
  onClick: function onClick() {
10164
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, cardinfoitem.collectionid);
10334
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + cardinfoitem.collectionid);
10165
10335
  }
10166
10336
  }, /*#__PURE__*/React.createElement("div", {
10167
10337
  style: {
@@ -10196,7 +10366,7 @@ var ElegantCategoriesCardSection = function ElegantCategoriesCardSection(props)
10196
10366
  }, /*#__PURE__*/React.createElement("div", {
10197
10367
  "class": section_cssstyles.cardcontainer + ' row m-0 w-100 d-flex align-items-center flex-row cursor-pointer ',
10198
10368
  onClick: function onClick() {
10199
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, cardinfoitem.collectionid);
10369
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + cardinfoitem.collectionid);
10200
10370
  }
10201
10371
  }, /*#__PURE__*/React.createElement("div", {
10202
10372
  style: {
@@ -11506,8 +11676,8 @@ var BackgroundSectionWithServicesCards = function BackgroundSectionWithServicesC
11506
11676
  }
11507
11677
  }),
11508
11678
  innerSection: css({
11509
- position: 'absolute',
11510
- bottom: '50px',
11679
+ // position: 'absolute',
11680
+ marginTop: '-50px',
11511
11681
  backgroundColor: sectionproperties.reservation_bgcolor,
11512
11682
  borderRadius: sectionproperties.reservation_borderradius + 'px',
11513
11683
  paddingTop: sectionproperties.reservation_padding_top + 'px',
@@ -11923,7 +12093,7 @@ var BackgroundFiveImageStructure = function BackgroundFiveImageStructure(props)
11923
12093
  if ((_imagesarray$3 = imagesarray[0]) !== null && _imagesarray$3 !== void 0 && _imagesarray$3.clickable_page_route && ((_imagesarray$4 = imagesarray[0]) === null || _imagesarray$4 === void 0 ? void 0 : _imagesarray$4.clickable_page_route.length) != 0) {
11924
12094
  routingcountext(imagesarray[0].clickable_page_route, false, '');
11925
12095
  } else {
11926
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, imagesarray[0].Clickable_Reference_Collection_ID);
12096
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + imagesarray[0].Clickable_Reference_Collection_ID);
11927
12097
  }
11928
12098
  }
11929
12099
  }
@@ -11971,7 +12141,7 @@ var BackgroundFiveImageStructure = function BackgroundFiveImageStructure(props)
11971
12141
  if ((_imagesarray$7 = imagesarray[1]) !== null && _imagesarray$7 !== void 0 && _imagesarray$7.clickable_page_route && ((_imagesarray$8 = imagesarray[1]) === null || _imagesarray$8 === void 0 ? void 0 : _imagesarray$8.clickable_page_route.length) != 0) {
11972
12142
  routingcountext(imagesarray[1].clickable_page_route, false, '');
11973
12143
  } else {
11974
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, imagesarray[1].Clickable_Reference_Collection_ID);
12144
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + imagesarray[1].Clickable_Reference_Collection_ID);
11975
12145
  }
11976
12146
  }
11977
12147
  }
@@ -12019,7 +12189,7 @@ var BackgroundFiveImageStructure = function BackgroundFiveImageStructure(props)
12019
12189
  if ((_imagesarray$11 = imagesarray[2]) !== null && _imagesarray$11 !== void 0 && _imagesarray$11.clickable_page_route && ((_imagesarray$12 = imagesarray[2]) === null || _imagesarray$12 === void 0 ? void 0 : _imagesarray$12.clickable_page_route.length) != 0) {
12020
12190
  routingcountext(imagesarray[2].clickable_page_route, false, '');
12021
12191
  } else {
12022
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, imagesarray[2].Clickable_Reference_Collection_ID);
12192
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + imagesarray[2].Clickable_Reference_Collection_ID);
12023
12193
  }
12024
12194
  }
12025
12195
  }
@@ -12071,7 +12241,7 @@ var BackgroundFiveImageStructure = function BackgroundFiveImageStructure(props)
12071
12241
  if ((_imagesarray$15 = imagesarray[3]) !== null && _imagesarray$15 !== void 0 && _imagesarray$15.clickable_page_route && ((_imagesarray$16 = imagesarray[3]) === null || _imagesarray$16 === void 0 ? void 0 : _imagesarray$16.clickable_page_route.length) != 0) {
12072
12242
  routingcountext(imagesarray[3].clickable_page_route, false, '');
12073
12243
  } else {
12074
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, imagesarray[3].Clickable_Reference_Collection_ID);
12244
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + imagesarray[3].Clickable_Reference_Collection_ID);
12075
12245
  }
12076
12246
  }
12077
12247
  }
@@ -12119,7 +12289,7 @@ var BackgroundFiveImageStructure = function BackgroundFiveImageStructure(props)
12119
12289
  if ((_imagesarray$19 = imagesarray[4]) !== null && _imagesarray$19 !== void 0 && _imagesarray$19.clickable_page_route && ((_imagesarray$20 = imagesarray[4]) === null || _imagesarray$20 === void 0 ? void 0 : _imagesarray$20.clickable_page_route.length) != 0) {
12120
12290
  routingcountext(imagesarray[4].clickable_page_route, false, '');
12121
12291
  } else {
12122
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, imagesarray[4].Clickable_Reference_Collection_ID);
12292
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + imagesarray[4].Clickable_Reference_Collection_ID);
12123
12293
  }
12124
12294
  }
12125
12295
  }
@@ -13990,7 +14160,7 @@ var Twobgimages = function Twobgimages(props) {
13990
14160
  if (item.clickable_page_route && item.clickable_page_route.length != 0) {
13991
14161
  routingcountext(item.clickable_page_route, false, '');
13992
14162
  } else {
13993
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.Clickable_Reference_Collection_ID);
14163
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickable_Reference_Collection_ID);
13994
14164
  }
13995
14165
  }
13996
14166
  }
@@ -14104,7 +14274,7 @@ var Twobgimages = function Twobgimages(props) {
14104
14274
  if (item.clickable_page_route && item.clickable_page_route.length != 0) {
14105
14275
  routingcountext(item.clickable_page_route, false, '');
14106
14276
  } else {
14107
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.Clickable_Reference_Collection_ID);
14277
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickable_Reference_Collection_ID);
14108
14278
  }
14109
14279
  }
14110
14280
  }
@@ -14143,7 +14313,7 @@ var Twobgimages = function Twobgimages(props) {
14143
14313
  if (item.clickable_page_route && item.clickable_page_route.length != 0) {
14144
14314
  routingcountext(item.clickable_page_route, false, '');
14145
14315
  } else {
14146
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.Clickable_Reference_Collection_ID);
14316
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickable_Reference_Collection_ID);
14147
14317
  }
14148
14318
  }
14149
14319
  }
@@ -16009,7 +16179,7 @@ var Slideshowfade = function Slideshowfade(props) {
16009
16179
  if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
16010
16180
  routingcountext(item.clickableimg_page_route, false, '');
16011
16181
  } else {
16012
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.Clickableimg_getcoection);
16182
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
16013
16183
  }
16014
16184
  }
16015
16185
  },
@@ -16031,7 +16201,7 @@ var Slideshowfade = function Slideshowfade(props) {
16031
16201
  if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
16032
16202
  routingcountext(item.clickableimg_page_route, false, '');
16033
16203
  } else {
16034
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.Clickableimg_getcoection);
16204
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
16035
16205
  }
16036
16206
  }
16037
16207
  },
@@ -16214,7 +16384,7 @@ var Slideshowslide = function Slideshowslide(props) {
16214
16384
  if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
16215
16385
  routingcountext(item.clickableimg_page_route, false, '');
16216
16386
  } else {
16217
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.Clickableimg_getcoection);
16387
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
16218
16388
  }
16219
16389
  }
16220
16390
  },
@@ -16472,7 +16642,7 @@ var Slideshowzoom = function Slideshowzoom(props) {
16472
16642
  if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
16473
16643
  routingcountext(item.clickableimg_page_route, false, '');
16474
16644
  } else {
16475
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.Clickableimg_getcoection);
16645
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
16476
16646
  }
16477
16647
  }
16478
16648
  }
@@ -16499,7 +16669,7 @@ var Slideshowzoom = function Slideshowzoom(props) {
16499
16669
  if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
16500
16670
  routingcountext(item.clickableimg_page_route, false, '');
16501
16671
  } else {
16502
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.Clickableimg_getcoection);
16672
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
16503
16673
  }
16504
16674
  }
16505
16675
  }
@@ -16566,7 +16736,7 @@ var Subheader = function Subheader(props) {
16566
16736
  props.actions.lang;
16567
16737
  var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
16568
16738
  var templatepropcontext = props.actions.templatepropcontext;
16569
- var history = props.actions.history;
16739
+ props.actions.history;
16570
16740
  var _useState = useState(false),
16571
16741
  _useState2 = _slicedToArray(_useState, 2),
16572
16742
  showdownheadermenu = _useState2[0],
@@ -16675,7 +16845,8 @@ var Subheader = function Subheader(props) {
16675
16845
  var _props$subheaderprope4, _props$subheaderprope5;
16676
16846
  return /*#__PURE__*/React.createElement("div", {
16677
16847
  onClick: function onClick() {
16678
- history.push(item.navigationroute);
16848
+ // history.push(item.navigationroute);
16849
+ routingcountext(item.navigationroute);
16679
16850
  },
16680
16851
  "class": "scrollhorizontalcard",
16681
16852
  style: {
@@ -18723,7 +18894,7 @@ var CategoryFeaturingHeader = function CategoryFeaturingHeader(props) {
18723
18894
  }, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : (_authdetailsContext$i10 = _authdetailsContext$i9.instcollections) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.map(function (item, index) {
18724
18895
  return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Dropdown.Item, {
18725
18896
  onClick: function onClick() {
18726
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.collectionid);
18897
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
18727
18898
  }
18728
18899
  }, /*#__PURE__*/React.createElement("div", {
18729
18900
  "class": "".concat(header_cssstyles.dropdownitemcontainer) + ' row m-0 w-100 '
@@ -19455,10 +19626,9 @@ var ClassicHeader = function ClassicHeader(props) {
19455
19626
  paddingLeft: langdetect == 'ar' ? '2rem' : 0
19456
19627
  },
19457
19628
  onClick: function onClick() {
19458
- history.push(item.navigationroute);
19629
+ routingcountext(item.navigationroute, false, '');
19459
19630
  }
19460
- }, /*#__PURE__*/React.createElement("a", {
19461
- href: item.navigationroute,
19631
+ }, /*#__PURE__*/React.createElement("div", {
19462
19632
  "class": "".concat(header_cssstyles.navbar_item_text) + ' navbar_item_text '
19463
19633
  }, langdetect == 'en' ? item.pagename : item.pagename_ar));
19464
19634
  }
@@ -22222,7 +22392,7 @@ var Header8 = function Header8(props) {
22222
22392
  }, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : (_authdetailsContext$i10 = _authdetailsContext$i9.instcollections) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.map(function (item, index) {
22223
22393
  return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Dropdown.Item, {
22224
22394
  onClick: function onClick() {
22225
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.collectionid);
22395
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
22226
22396
  }
22227
22397
  }, /*#__PURE__*/React.createElement("div", {
22228
22398
  "class": "".concat(header_cssstyles.dropdownitemcontainer) + ' row m-0 w-100 '
@@ -25822,7 +25992,7 @@ var ThreeTieredHeader = function ThreeTieredHeader(props) {
25822
25992
  }, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : (_authdetailsContext$i10 = _authdetailsContext$i9.instcollections) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.map(function (item, index) {
25823
25993
  return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Dropdown.Item, {
25824
25994
  onClick: function onClick() {
25825
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.collectionid);
25995
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
25826
25996
  }
25827
25997
  }, /*#__PURE__*/React.createElement("div", {
25828
25998
  "class": "".concat(header_cssstyles.dropdownitemcontainer) + ' row m-0 w-100 '
@@ -26824,7 +26994,7 @@ var SearchFocusedHeader = function SearchFocusedHeader(props) {
26824
26994
  }, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : (_authdetailsContext$i12 = _authdetailsContext$i11.instcollections) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.map(function (item, index) {
26825
26995
  return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Dropdown.Item, {
26826
26996
  onClick: function onClick() {
26827
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.collectionid);
26997
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
26828
26998
  }
26829
26999
  }, /*#__PURE__*/React.createElement("div", {
26830
27000
  "class": "".concat(header_cssstyles.dropdownitemcontainer) + ' row m-0 w-100 '
@@ -29407,7 +29577,7 @@ var SearchHeader = function SearchHeader(props) {
29407
29577
  }, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : (_authdetailsContext$i2 = _authdetailsContext$i.instcollections) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.map(function (item, index) {
29408
29578
  return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Dropdown.Item, {
29409
29579
  onClick: function onClick() {
29410
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.collectionid);
29580
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
29411
29581
  }
29412
29582
  }, /*#__PURE__*/React.createElement("div", {
29413
29583
  "class": "".concat(header_cssstyles.dropdownitemcontainer) + ' row m-0 w-100 '
@@ -34155,7 +34325,7 @@ var Card20 = function Card20(props) {
34155
34325
  }, sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React.createElement("p", {
34156
34326
  onClick: function onClick() {
34157
34327
  if (props.fetchingtypeprops == 'collections') {
34158
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.collectionid);
34328
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
34159
34329
  } else {
34160
34330
  routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
34161
34331
  }
@@ -34163,7 +34333,7 @@ var Card20 = function Card20(props) {
34163
34333
  style: {
34164
34334
  textAlign: langdetect == 'en' ? 'left' : 'right'
34165
34335
  },
34166
- "class": "".concat(cardstyles.productNameStyles) + ' wordbreak wordbreak1 -noellipsis m-0 '
34336
+ "class": "".concat(cardstyles.productNameStyles) + ' wordbreak wordbreak1 m-0 '
34167
34337
  }, item.name), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React.createElement("p", {
34168
34338
  "class": "".concat(cardstyles.productDescStyles) + ' wordbreak wordbreak1 p-0 ',
34169
34339
  style: {