tabexseriescomponents 0.0.224 → 0.0.225

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
@@ -16461,14 +16461,16 @@ var Simpleheader = function Simpleheader(props) {
16461
16461
  function ownKeys$1z(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; }
16462
16462
  function _objectSpread$1z(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1z(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1z(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
16463
16463
  var Header8 = function Header8(props) {
16464
- var _css, _authdetailsContext$i, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$c, _authdetailsContext$c2, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue9, _fetchcustomercartQue10, _authdetailsContext$i4, _authdetailsContext$i5;
16464
+ var _css, _authdetailsContext$i3, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$c, _authdetailsContext$c2, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue9, _fetchcustomercartQue10, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i9, _authdetailsContext$i10;
16465
+ var actions = props.actions;
16466
+ props.actions.history;
16467
+ var lang = props.actions.lang;
16468
+ var langdetect = props.actions.langdetect;
16469
+ var setlang = props.actions.setlang;
16465
16470
  var LogoutMutationContext = props.actions.LogoutMutationContext;
16466
16471
  var setsidecartnavshowcontext = props.actions.setsidecartnavshowcontext;
16467
16472
  var setSearchHeaderInputContext = props.actions.setSearchHeaderInputContext;
16468
16473
  var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
16469
- var lang = props.actions.lang;
16470
- var langdetect = props.actions.langdetect;
16471
- var setlang = props.actions.setlang;
16472
16474
  var templatepropcontext = props.actions.templatepropcontext;
16473
16475
  var authdetailsContext = props.actions.authdetailsContext;
16474
16476
  var fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
@@ -16476,8 +16478,6 @@ var Header8 = function Header8(props) {
16476
16478
  var favoriteprojectscountContext = props.actions.favoriteprojectscountContext;
16477
16479
  var routingcountext = props.actions.routingcountext;
16478
16480
  var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
16479
- var actions = props.actions;
16480
- props.actions.history;
16481
16481
  var _useState = React.useState(''),
16482
16482
  _useState2 = _slicedToArray__default["default"](_useState, 2),
16483
16483
  sectionproperties = _useState2[0],
@@ -16486,6 +16486,18 @@ var Header8 = function Header8(props) {
16486
16486
  _useState4 = _slicedToArray__default["default"](_useState3, 2),
16487
16487
  dropdownselect = _useState4[0],
16488
16488
  setdropdownselect = _useState4[1];
16489
+ var _useState5 = React.useState([]),
16490
+ _useState6 = _slicedToArray__default["default"](_useState5, 2),
16491
+ logoarrayofobjects = _useState6[0],
16492
+ setlogoarrayofobjects = _useState6[1];
16493
+ var _useState7 = React.useState(''),
16494
+ _useState8 = _slicedToArray__default["default"](_useState7, 2),
16495
+ Choosenindex = _useState8[0],
16496
+ setChoosenindex = _useState8[1];
16497
+ var _useState9 = React.useState([]),
16498
+ _useState10 = _slicedToArray__default["default"](_useState9, 2),
16499
+ pcollarray = _useState10[0],
16500
+ setpcollarray = _useState10[1];
16489
16501
  React.useEffect(function () {
16490
16502
  var _StatePagePropertiesC, _StatePagePropertiesC2;
16491
16503
  var secpropobj = {};
@@ -16504,6 +16516,127 @@ var Header8 = function Header8(props) {
16504
16516
  }
16505
16517
  setsectionproperties(_objectSpread$1z({}, secpropobj));
16506
16518
  }, [StatePagePropertiesContext]);
16519
+ var subtotalcart = function subtotalcart() {
16520
+ var _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4;
16521
+ var totalprice = 0;
16522
+ fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 ? void 0 : (_fetchcustomercartQue2 = _fetchcustomercartQue.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : (_fetchcustomercartQue3 = _fetchcustomercartQue2.customercart) === null || _fetchcustomercartQue3 === void 0 ? void 0 : (_fetchcustomercartQue4 = _fetchcustomercartQue3.cartitems) === null || _fetchcustomercartQue4 === void 0 ? void 0 : _fetchcustomercartQue4.forEach(function (cartitem, cartindex) {
16523
+ var finalprice = 0;
16524
+ if (cartitem.productinfo.hassale == 0) {
16525
+ finalprice = cartitem.productinfo.defaultprice;
16526
+ } else if (cartitem.productinfo.hassale == 1) {
16527
+ finalprice = cartitem.productinfo.defaultsaleprice;
16528
+ }
16529
+ totalprice = finalprice * cartitem.quantity + totalprice;
16530
+ });
16531
+ return totalprice;
16532
+ };
16533
+ React.useEffect(function () {
16534
+ if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
16535
+ var logoarrayofobjectsparsed = JSON.parse(templateproperties_context.logoarrayofobjects);
16536
+ if (Array.isArray(logoarrayofobjectsparsed)) {
16537
+ setlogoarrayofobjects(_toConsumableArray__default["default"](logoarrayofobjectsparsed));
16538
+ }
16539
+ }
16540
+ }, [templateproperties_context]);
16541
+ React.useEffect(function () {
16542
+ var _authdetailsContext$i, _authdetailsContext$i2;
16543
+ var temppcollarray = _toConsumableArray__default["default"](pcollarray);
16544
+ authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : (_authdetailsContext$i2 = _authdetailsContext$i.instcategories) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.forEach(function (arrayItem) {
16545
+ var _arrayItem$parentcoll;
16546
+ arrayItem === null || arrayItem === void 0 ? void 0 : (_arrayItem$parentcoll = arrayItem.parentcolletions) === null || _arrayItem$parentcoll === void 0 ? void 0 : _arrayItem$parentcoll.forEach(function (item) {
16547
+ temppcollarray.push(item);
16548
+ });
16549
+ });
16550
+ setpcollarray(_toConsumableArray__default["default"](temppcollarray));
16551
+ }, []);
16552
+ var ButtonDropdown = function ButtonDropdown(item, index, fetchedarray) {
16553
+ var _fetchedarray$Choosen, _fetchedarray$Choosen2, _fetchedarray$Choosen3, _fetchedarray$Choosen4, _pcollarray$Choosenin, _pcollarray$Choosenin2, _pcollarray$Choosenin3;
16554
+ var parentclassname = '';
16555
+ if (sectionproperties.fetchparenttype == 'Categories') {
16556
+ parentclassname = header_cssstyles.categoryname;
16557
+ } else if (sectionproperties.fetchparenttype == 'Parent Collections') {
16558
+ parentclassname = header_cssstyles.parentcollection;
16559
+ } else {
16560
+ parentclassname = header_cssstyles.collectionName;
16561
+ }
16562
+ return /*#__PURE__*/React__default["default"].createElement("li", {
16563
+ "class": "dropdown d-flex align-items-center w-100"
16564
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
16565
+ "class": parentclassname + ' row m-0 w-100 d-flex align-items-center dropdownInnerContainer cursor-pointer ',
16566
+ onMouseEnter: function onMouseEnter() {
16567
+ setChoosenindex(index);
16568
+ }
16569
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
16570
+ className: ' col-lg-10 col-md-10 col-sm-10 p-0 d-flex justify-content-start align-items-center p-0 '
16571
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
16572
+ "class": ' m-0 p-0 wordbreak wordbreak1 ',
16573
+ onClick: function onClick() {
16574
+ if (sectionproperties.fetchparenttype == 'Categories') {
16575
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'categories/' + item.categoryid);
16576
+ } else if (sectionproperties.fetchparenttype == 'Parent Collections') {
16577
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'parentcollections/' + item.parentcollectionid);
16578
+ } else {
16579
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
16580
+ }
16581
+ }
16582
+ }, langdetect == 'en' ? item.title_en : item.title_ar)), sectionproperties.fetchparenttype != 'Collections' && /*#__PURE__*/React__default["default"].createElement("div", {
16583
+ className: 'col-lg-2 col-md-2 col-sm-2 d-flex justify-content-end align-items-center p-0 '
16584
+ }, /*#__PURE__*/React__default["default"].createElement("i", {
16585
+ className: ' p-0 h-100 allcentered '
16586
+ }, langdetect == 'en' ? /*#__PURE__*/React__default["default"].createElement(BsChevronRight.BsChevronRight, {
16587
+ size: sectionproperties.collectionsectioniconfontsize
16588
+ }) : /*#__PURE__*/React__default["default"].createElement(BsChevronLeft.BsChevronLeft, {
16589
+ size: sectionproperties.collectionsectioniconfontsize
16590
+ })))), sectionproperties.fetchparenttype == 'Categories' && ((_fetchedarray$Choosen = fetchedarray[Choosenindex]) === null || _fetchedarray$Choosen === void 0 ? void 0 : (_fetchedarray$Choosen2 = _fetchedarray$Choosen.parentcolletions) === null || _fetchedarray$Choosen2 === void 0 ? void 0 : _fetchedarray$Choosen2.length) != 0 && /*#__PURE__*/React__default["default"].createElement("ul", null, (_fetchedarray$Choosen3 = fetchedarray[Choosenindex]) === null || _fetchedarray$Choosen3 === void 0 ? void 0 : (_fetchedarray$Choosen4 = _fetchedarray$Choosen3.parentcolletions) === null || _fetchedarray$Choosen4 === void 0 ? void 0 : _fetchedarray$Choosen4.map(function (item, index) {
16591
+ var _item$collections;
16592
+ return /*#__PURE__*/React__default["default"].createElement("li", {
16593
+ "class": "dropdown d-flex align-items-center w-100"
16594
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
16595
+ "class": header_cssstyles.parentcollection + ' w-100 dropdownInnerContainer cursor-pointer ',
16596
+ onClick: function onClick() {
16597
+ if (sectionproperties.fetchparenttype == 'Categories') {
16598
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'parentcollections/' + item.parentcollectionid);
16599
+ } else {
16600
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
16601
+ }
16602
+ }
16603
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
16604
+ "class": "row m-0 w-100"
16605
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
16606
+ className: ' col-lg-10 col-md-10 col-sm-10 p-0 d-flex justify-content-start align-items-center p-0 '
16607
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
16608
+ "class": ' m-0 p-0 wordbreak wordbreak1 '
16609
+ }, langdetect == 'en' ? item.title_en : item.title_ar)), (item === null || item === void 0 ? void 0 : item.collections.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
16610
+ className: 'col-lg-2 col-md-2 col-sm-2 d-flex justify-content-end align-items-center p-0 '
16611
+ }, /*#__PURE__*/React__default["default"].createElement("i", {
16612
+ className: ' p-0 h-100 allcentered '
16613
+ }, langdetect == 'en' ? /*#__PURE__*/React__default["default"].createElement(BsChevronRight.BsChevronRight, {
16614
+ size: sectionproperties.collectionsectioniconfontsize
16615
+ }) : /*#__PURE__*/React__default["default"].createElement(BsChevronLeft.BsChevronLeft, {
16616
+ size: sectionproperties.collectionsectioniconfontsize
16617
+ }))))), (item === null || item === void 0 ? void 0 : item.collections.length) != 0 && /*#__PURE__*/React__default["default"].createElement("ul", null, item === null || item === void 0 ? void 0 : (_item$collections = item.collections) === null || _item$collections === void 0 ? void 0 : _item$collections.map(function (item, index) {
16618
+ return /*#__PURE__*/React__default["default"].createElement("li", {
16619
+ "class": header_cssstyles.collectionName + ' w-100 d-flex align-items-center dropdownInnerContainer cursor-pointer ',
16620
+ onClick: function onClick() {
16621
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
16622
+ }
16623
+ }, langdetect == 'en' ? item.title_en : item.title_ar);
16624
+ })));
16625
+ })), sectionproperties.fetchparenttype == 'Parent Collections' && ((_pcollarray$Choosenin = pcollarray[Choosenindex]) === null || _pcollarray$Choosenin === void 0 ? void 0 : _pcollarray$Choosenin.collections.length) != 0 && /*#__PURE__*/React__default["default"].createElement("ul", null, (_pcollarray$Choosenin2 = pcollarray[Choosenindex]) === null || _pcollarray$Choosenin2 === void 0 ? void 0 : (_pcollarray$Choosenin3 = _pcollarray$Choosenin2.collections) === null || _pcollarray$Choosenin3 === void 0 ? void 0 : _pcollarray$Choosenin3.map(function (item, index) {
16626
+ return /*#__PURE__*/React__default["default"].createElement("li", {
16627
+ "class": "dropdown d-flex align-items-center w-100"
16628
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
16629
+ "class": header_cssstyles.collectionName + ' w-100 dropdownInnerContainer cursor-pointer ',
16630
+ onClick: function onClick() {
16631
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
16632
+ }
16633
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
16634
+ className: ' col-lg-12 col-md-12 col-sm-12 p-0 d-flex justify-content-start align-items-center p-0 '
16635
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
16636
+ "class": ' m-0 p-0 wordbreak wordbreak1 '
16637
+ }, langdetect == 'en' ? item.title_en : item.title_ar))));
16638
+ })));
16639
+ };
16507
16640
  var header_cssstyles = {
16508
16641
  headercontainer: glamor.css({
16509
16642
  position: sectionproperties.headerstyles_position,
@@ -16573,12 +16706,13 @@ var Header8 = function Header8(props) {
16573
16706
  }),
16574
16707
  searchbarcont: glamor.css({
16575
16708
  position: 'relative',
16576
- transition: '.3s',
16709
+ width: sectionproperties.searchbarcont_width + 'px',
16710
+ maxWidth: '100%',
16577
16711
  height: sectionproperties.searchbarcont_height + 'px',
16578
16712
  background: sectionproperties.searchbarcont_bgcolortransparent == 'Transparent' ? 'transparent' : sectionproperties.searchbarcont_bgcolor,
16579
- width: sectionproperties.searchbarcont_width + 'px',
16580
16713
  borderRadius: sectionproperties.searchbarcont_borderRadius + 'px',
16581
- border: sectionproperties.searchbarcontinput_borderwidth + 'px solid' + sectionproperties.searchbarcontinput_bordercolor
16714
+ border: sectionproperties.searchbarcontinput_borderwidth + 'px solid' + sectionproperties.searchbarcontinput_bordercolor,
16715
+ transition: '.3s'
16582
16716
  }),
16583
16717
  searchbar_icon_cont: glamor.css({
16584
16718
  width: sectionproperties.searchbaricon_width + 'px',
@@ -16707,20 +16841,6 @@ var Header8 = function Header8(props) {
16707
16841
  borderRadius: sectionproperties.badge_borderradius + 'px',
16708
16842
  fontSize: sectionproperties.badge_fontsize + 'px'
16709
16843
  }),
16710
- categorybtn: glamor.css({
16711
- background: sectionproperties.generalbtn_bgColor,
16712
- width: sectionproperties.generalbtn_width + 'px',
16713
- height: sectionproperties.generalbtn_height + 'px',
16714
- borderTopLeftRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
16715
- borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
16716
- borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
16717
- borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
16718
- border: sectionproperties.generalbtn_borderwidth + 'px solid ' + sectionproperties.generalbtn_bordercolor,
16719
- transition: '.3s',
16720
- ':hover': {
16721
- background: sectionproperties.generalbtn_bgColoronhover
16722
- }
16723
- }),
16724
16844
  btntextcontainer: glamor.css({
16725
16845
  color: sectionproperties.generalbtn_textColor,
16726
16846
  fontSize: sectionproperties.generalbtn_fontsize + 'px',
@@ -16750,34 +16870,61 @@ var Header8 = function Header8(props) {
16750
16870
  transition: '.3s',
16751
16871
  color: sectionproperties.footerinfotext_coloronhover
16752
16872
  }
16753
- })
16754
- };
16755
- var subtotalcart = function subtotalcart() {
16756
- var _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4;
16757
- var totalprice = 0;
16758
- fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 ? void 0 : (_fetchcustomercartQue2 = _fetchcustomercartQue.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : (_fetchcustomercartQue3 = _fetchcustomercartQue2.customercart) === null || _fetchcustomercartQue3 === void 0 ? void 0 : (_fetchcustomercartQue4 = _fetchcustomercartQue3.cartitems) === null || _fetchcustomercartQue4 === void 0 ? void 0 : _fetchcustomercartQue4.forEach(function (cartitem, cartindex) {
16759
- var finalprice = 0;
16760
- if (cartitem.productinfo.hassale == 0) {
16761
- finalprice = cartitem.productinfo.defaultprice;
16762
- } else if (cartitem.productinfo.hassale == 1) {
16763
- finalprice = cartitem.productinfo.defaultsaleprice;
16873
+ }),
16874
+ categorybtn: glamor.css({
16875
+ background: sectionproperties.generalbtn_bgColortransparent == 'Transparent' ? 'transparent' : sectionproperties.generalbtn_bgColor,
16876
+ width: sectionproperties.generalbtn_width + 'px',
16877
+ maxWidth: '100%',
16878
+ height: sectionproperties.generalbtn_height + 'px',
16879
+ borderTopLeftRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
16880
+ borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
16881
+ borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
16882
+ borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
16883
+ border: sectionproperties.generalbtn_borderwidth + 'px solid ' + sectionproperties.generalbtn_bordercolor,
16884
+ color: sectionproperties.generalbtn_textColor,
16885
+ fontSize: sectionproperties.generalbtn_fontsize + 'px',
16886
+ fontWeight: sectionproperties.generalbtn_fontweight,
16887
+ transition: '.3s',
16888
+ ':hover': {
16889
+ color: sectionproperties.generalbtn_textColoronhover,
16890
+ backgroundColor: sectionproperties.generalbtn_bgColortransparentonhover == 'Transparent' ? 'transparent' : sectionproperties.generalbtn_bgColoronhover
16891
+ },
16892
+ ':hover .categorybtnicon': {
16893
+ background: sectionproperties.iconcontainerbgonhover,
16894
+ color: sectionproperties.iconcontainercoloronhover
16764
16895
  }
16765
- totalprice = finalprice * cartitem.quantity + totalprice;
16766
- });
16767
- return totalprice;
16768
- };
16769
- var _useState5 = React.useState([]),
16770
- _useState6 = _slicedToArray__default["default"](_useState5, 2),
16771
- logoarrayofobjects = _useState6[0],
16772
- setlogoarrayofobjects = _useState6[1];
16773
- React.useEffect(function () {
16774
- if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
16775
- var logoarrayofobjectsparsed = JSON.parse(templateproperties_context.logoarrayofobjects);
16776
- if (Array.isArray(logoarrayofobjectsparsed)) {
16777
- setlogoarrayofobjects(_toConsumableArray__default["default"](logoarrayofobjectsparsed));
16896
+ }),
16897
+ categoryname: glamor.css({
16898
+ color: sectionproperties.subheader_categorytitle_fontColor,
16899
+ fontSize: sectionproperties.subheader_categorytitle_fontSize + 'px',
16900
+ textTransform: sectionproperties.subheader_categorytitle_textTransform,
16901
+ fontWeight: sectionproperties.subheader_categorytitle_textfontweight,
16902
+ transition: '.3s',
16903
+ ':hover': {
16904
+ color: sectionproperties.subheader_categorytitle_coloronhover
16778
16905
  }
16779
- }
16780
- }, [templateproperties_context]);
16906
+ }),
16907
+ parentcollection: glamor.css({
16908
+ color: sectionproperties.subheader_collectiontitle_fontColor,
16909
+ fontSize: sectionproperties.subheader_collectiontitle_fontSize + 'px',
16910
+ textTransform: sectionproperties.subheader_collectiontitle_textTransform,
16911
+ fontWeight: sectionproperties.subheader_collectiontitle_textfontweight,
16912
+ transition: '.3s',
16913
+ ':hover': {
16914
+ color: sectionproperties.subheader_collectiontitle_coloronhover
16915
+ }
16916
+ }),
16917
+ collectionName: glamor.css({
16918
+ color: sectionproperties.collectionsectiontextcolor,
16919
+ fontSize: sectionproperties.collectionsectiontextfontsize + 'px',
16920
+ textTransform: sectionproperties.collectionsectiontexttransform,
16921
+ fontWeight: sectionproperties.collectionsectiontextfontweight,
16922
+ transition: '.3s',
16923
+ ':hover': {
16924
+ color: sectionproperties.collectionsectiontextcoloronhover
16925
+ }
16926
+ })
16927
+ };
16781
16928
  return /*#__PURE__*/React__default["default"].createElement("div", {
16782
16929
  "class": "row w-100 ml-0 mr-0 d-flex justify-content-center",
16783
16930
  style: {
@@ -16803,7 +16950,7 @@ var Header8 = function Header8(props) {
16803
16950
  transform: langdetect == 'en' ? 'scaleX(1)' : 'scaleX(-1)'
16804
16951
  }
16805
16952
  }))), /*#__PURE__*/React__default["default"].createElement("a", {
16806
- href: 'https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.whatsappnumber),
16953
+ href: 'https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.whatsappnumber),
16807
16954
  target: '_blank',
16808
16955
  style: {
16809
16956
  position: 'fixed',
@@ -16828,7 +16975,7 @@ var Header8 = function Header8(props) {
16828
16975
  }, /*#__PURE__*/React__default["default"].createElement("div", {
16829
16976
  "class": ' col-lg-12 p-0 '
16830
16977
  }, /*#__PURE__*/React__default["default"].createElement("div", {
16831
- "class": header_cssstyles.upperheadersection + ' row w-100 m-0 align-items-center '
16978
+ "class": header_cssstyles.upperheadersection + ' row w-100 m-0 align-items-center px-1025-1 '
16832
16979
  }, /*#__PURE__*/React__default["default"].createElement("div", {
16833
16980
  "class": "col-lg-2 p-0"
16834
16981
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -16848,7 +16995,10 @@ var Header8 = function Header8(props) {
16848
16995
  maxHeight: '100%'
16849
16996
  }
16850
16997
  }))), /*#__PURE__*/React__default["default"].createElement("div", {
16851
- "class": "col-lg-4 p-0"
16998
+ "class": sectionproperties.showfooterphonenumber == 'Show' ? 'col-xl-4 col-lg-3 p-0' : 'col-lg-6 p-0',
16999
+ style: {
17000
+ position: 'relative'
17001
+ }
16852
17002
  }, /*#__PURE__*/React__default["default"].createElement("div", {
16853
17003
  "class": header_cssstyles.searchbarcont,
16854
17004
  style: {
@@ -16870,9 +17020,9 @@ var Header8 = function Header8(props) {
16870
17020
  sectionpropertiesprops: sectionproperties,
16871
17021
  srcfromprops: 'headerfullwidth',
16872
17022
  actions: actions
16873
- }))), /*#__PURE__*/React__default["default"].createElement("div", {
17023
+ }))), sectionproperties.showfooterphonenumber == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
16874
17024
  "class": "col-lg-3 d-flex flex-column align-items-center justfiy-content-center"
16875
- }, sectionproperties.showfooterphonenumber == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
17025
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
16876
17026
  "class": header_cssstyles.storeinfocontainer + ' row m-0 w-100 d-flex align-items-center justify-content-center cursor-pointer ',
16877
17027
  onClick: function onClick() {
16878
17028
  window.open('tel:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber), '_blank');
@@ -16888,7 +17038,7 @@ var Header8 = function Header8(props) {
16888
17038
  "class": "d-flex align-items-center flex-column"
16889
17039
  }, /*#__PURE__*/React__default["default"].createElement("p", {
16890
17040
  "class": header_cssstyles.storeinfotext + ' m-0 storeinfotext '
16891
- }, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : (_authdetailsContext$i3 = _authdetailsContext$i2.contactinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.mobile), /*#__PURE__*/React__default["default"].createElement("p", {
17041
+ }, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : (_authdetailsContext$i5 = _authdetailsContext$i4.contactinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.mobile), /*#__PURE__*/React__default["default"].createElement("p", {
16892
17042
  "class": "mb-0 w-100",
16893
17043
  style: {
16894
17044
  textAlign: langdetect == 'en' ? 'right' : 'left',
@@ -16897,12 +17047,12 @@ var Header8 = function Header8(props) {
16897
17047
  fontWeight: sectionproperties.footerinfotext_secondaryfontweight
16898
17048
  }
16899
17049
  }, langdetect == 'en' ? sectionproperties.footerinfotext_en : sectionproperties.footerinfotext_ar)))), /*#__PURE__*/React__default["default"].createElement("div", {
16900
- "class": langdetect == 'en' ? 'col-lg-3 d-flex align-items-center p-0 pl-0' : 'col-lg-3 d-flex align-items-center p-0 pr-0'
17050
+ "class": sectionproperties.showfooterphonenumber == 'Show' ? langdetect == 'en' ? 'col-xl-3 col-lg-4 d-flex align-items-center p-0 pl-0' : 'col-xl-3 col-lg-4 d-flex align-items-center p-0 pr-0' : 'col-lg-4 d-flex align-items-center'
16901
17051
  }, /*#__PURE__*/React__default["default"].createElement("div", {
16902
- "class": 'row w-100 m-0 align-items-center justify-content-between ',
17052
+ "class": 'row w-100 m-0 align-items-center justify-content-between plr-1025-0',
16903
17053
  style: {
16904
- paddingLeft: langdetect == 'en' ? authdetailsContext.loggedin == true ? '.3rem' : '3rem' : 0,
16905
- paddingRight: langdetect == 'en' ? 0 : authdetailsContext.loggedin == true ? '1rem' : '3rem'
17054
+ paddingLeft: langdetect == 'en' ? sectionproperties.showfooterphonenumber == 'Show' ? authdetailsContext.loggedin == true ? '.3rem' : '3rem' : authdetailsContext.loggedin == true ? '4rem' : '6rem' : 0,
17055
+ paddingRight: langdetect == 'en' ? 0 : sectionproperties.showfooterphonenumber == 'Show' ? authdetailsContext.loggedin == true ? '1rem' : '3rem' : authdetailsContext.loggedin == true ? '4rem' : '6rem'
16906
17056
  }
16907
17057
  }, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"], null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Toggle, null, !authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement("div", {
16908
17058
  "class": header_cssstyles.user_btnContainer + ' d-flex align-items-center justify-content-end p-0 cursor-pointer pt-1 '
@@ -17161,50 +17311,49 @@ var Header8 = function Header8(props) {
17161
17311
  }, /*#__PURE__*/React__default["default"].createElement("div", {
17162
17312
  "class": "".concat(header_cssstyles.divider) + ' '
17163
17313
  })), /*#__PURE__*/React__default["default"].createElement("div", {
17164
- "class": "".concat(header_cssstyles.lowerheadercontainer) + ' row w-100 m-0 align-items-center '
17314
+ "class": "".concat(header_cssstyles.lowerheadercontainer) + ' row w-100 m-0 align-items-center px-1025-1 '
17165
17315
  }, /*#__PURE__*/React__default["default"].createElement("div", {
17166
- "class": ' col-lg-2 d-flex align-items-center ',
17167
- style: {},
17316
+ "class": ' col-xl-2 col-lg-3 d-flex align-items-center ',
17168
17317
  onClick: function onClick() {
17169
17318
  setdropdownselect(!dropdownselect);
17170
17319
  }
17320
+ }, /*#__PURE__*/React__default["default"].createElement("li", {
17321
+ "class": langdetect == 'en' ? 'dropdown dropdownen w-100' : 'dropdown dropdownar w-100'
17171
17322
  }, /*#__PURE__*/React__default["default"].createElement("div", {
17172
- "class": "".concat(header_cssstyles.categorybtn) + ' categoriesdropdown transformedDropdown d-flex align-items-center justify-content-center '
17173
- }, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"], {
17174
- "class": "d-flex align-items-center justify-content-center"
17175
- }, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Toggle, {
17176
- "class": "d-flex align-items-center justify-content-center"
17177
- }, /*#__PURE__*/React__default["default"].createElement("div", {
17178
- "class": "".concat(header_cssstyles.btntextcontainer) + ' row w-100 m-0 align-items-center ',
17179
- style: {
17180
- paddingTop: '7px'
17181
- }
17323
+ "class": "".concat(header_cssstyles.categorybtn) + ' m-0 allcentered px-2 cursor-pointer '
17182
17324
  }, /*#__PURE__*/React__default["default"].createElement("i", {
17183
- "class": "h-100 d-flex align-items-center justify-content-center"
17325
+ "class": "".concat(header_cssstyles.categorybtnicon) + ' categorybtnicon d-flex align-items-center justify-content-center '
17184
17326
  }, /*#__PURE__*/React__default["default"].createElement(HiMenuAlt4.HiMenuAlt4, {
17185
- size: 25,
17186
- color: "white"
17327
+ size: sectionproperties.icontextfontsize
17187
17328
  })), /*#__PURE__*/React__default["default"].createElement("p", {
17188
17329
  "class": langdetect == 'en' ? ' m-0 p-0 ml-2' : ' m-0 p-0 mr-2 '
17189
- }, lang.shopbycategory))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, {
17190
- style: {
17191
- minWidth: '250px',
17192
- marginLeft: '-20px'
17330
+ }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)), /*#__PURE__*/React__default["default"].createElement("ul", {
17331
+ "class": "w-100 mt-2"
17332
+ }, sectionproperties.fetchparenttype == 'Categories' && (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : (_authdetailsContext$i7 = _authdetailsContext$i6.instcategories) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.map(function (item, index) {
17333
+ var _authdetailsContext$i8;
17334
+ var fetchedarray = authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.instcategories;
17335
+ if (item.isshowntocustomers == 1) {
17336
+ return /*#__PURE__*/React__default["default"].createElement("div", {
17337
+ "class": "w-100"
17338
+ }, ButtonDropdown(item, index, fetchedarray));
17339
+ }
17340
+ })), sectionproperties.fetchparenttype == 'Parent Collections' && (pcollarray === null || pcollarray === void 0 ? void 0 : pcollarray.map(function (item, index) {
17341
+ var fetchedarray = pcollarray;
17342
+ if (item.isshowntocustomers == 1) {
17343
+ return /*#__PURE__*/React__default["default"].createElement("div", {
17344
+ "class": "w-100"
17345
+ }, ButtonDropdown(item, index, fetchedarray));
17346
+ }
17347
+ })), sectionproperties.fetchparenttype == 'Collections' && (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) {
17348
+ var _authdetailsContext$i11;
17349
+ var fetchedarray = authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.instcollections;
17350
+ if (item.isshowntocustomers == 1) {
17351
+ return /*#__PURE__*/React__default["default"].createElement("div", {
17352
+ "class": "w-100"
17353
+ }, ButtonDropdown(item, index, fetchedarray));
17193
17354
  }
17194
- }, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : (_authdetailsContext$i5 = _authdetailsContext$i4.instcollections) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.map(function (item, index) {
17195
- return /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
17196
- onClick: function onClick() {
17197
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
17198
- }
17199
- }, /*#__PURE__*/React__default["default"].createElement("div", {
17200
- "class": "".concat(header_cssstyles.dropdownitemcontainer) + ' row m-0 w-100 '
17201
- }, /*#__PURE__*/React__default["default"].createElement("div", {
17202
- "class": ' col-lg-12 col-md-12 col-sm-12 p-0 d-flex justify-content-start align-items-center '
17203
- }, /*#__PURE__*/React__default["default"].createElement("p", {
17204
- "class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem text-overflow m-0 p-0 '
17205
- }, langdetect == 'en' ? item.title_en : item.title_ar)))), index != authdetailsContext.instinfo.instcollections.length - 1 && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null));
17206
17355
  }))))), /*#__PURE__*/React__default["default"].createElement("div", {
17207
- "class": "col-lg-10 flex-row d-flex align-items-center justify-content-start"
17356
+ "class": "col-xl-10 col-lg-9 flex-row d-flex align-items-center justify-content-start"
17208
17357
  }, /*#__PURE__*/React__default["default"].createElement("div", {
17209
17358
  "class": ' scrollhorizontal w-100 align-items-center justify-content-start ',
17210
17359
  style: {
@@ -43618,8 +43767,7 @@ var Card23 = function Card23(props) {
43618
43767
  style: {
43619
43768
  position: 'absolute',
43620
43769
  top: sectionproperties.pillpositionfromtop + 'px',
43621
- left: langdetect == 'en' ? sectionproperties.pillpositionfromright + 'px' : '',
43622
- right: langdetect == 'en' ? '' : sectionproperties.pillpositionfromright + 'px',
43770
+ left: sectionproperties.pillpositionfromright + 'px',
43623
43771
  width: sectionproperties.pillwidth + 'px',
43624
43772
  height: sectionproperties.pillheight + 'px',
43625
43773
  background: sectionproperties.pillbgcolor,
@@ -47624,7 +47772,7 @@ var Productcard_animatedbuttons = function Productcard_animatedbuttons(props) {
47624
47772
  })
47625
47773
  };
47626
47774
  return /*#__PURE__*/React__default["default"].createElement("div", {
47627
- "class": props.sectiontypeprops2 == 'vertical' ? 'w-sm-100' : "".concat(card_cssstyles.cardcont, " ").concat(cardstyles.cardcont)
47775
+ "class": props.sectiontypeprops2 == 'vertical' ? 'w-100' : "".concat(card_cssstyles.cardcont, " ").concat(cardstyles.cardcont)
47628
47776
  }, /*#__PURE__*/React__default["default"].createElement("div", {
47629
47777
  "class": "row m-0 w-100 pl-sm-2 pr-sm-2",
47630
47778
  style: {