tabexseriescomponents 0.2.802 → 0.2.804

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
@@ -3527,7 +3527,7 @@ var Product_itemtype = function Product_itemtype(props) {
3527
3527
  overflow: 'hidden'
3528
3528
  }
3529
3529
  }, /*#__PURE__*/React__default["default"].createElement("button", {
3530
- className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' d-flex align-items-center justify-content-center mb-sm-2 ',
3530
+ className: "".concat(productinfo_cssstyles.buynow, " ") + ' d-flex align-items-center justify-content-center mb-sm-2 ',
3531
3531
  style: {
3532
3532
  width: sectionproperties.cartBtnWidth + '%'
3533
3533
  },
@@ -7876,6 +7876,29 @@ var Productinfo = function Productinfo(props) {
7876
7876
  borderColor: sectionproperties.cartBtnTextcoloronhover
7877
7877
  }
7878
7878
  }),
7879
+ buynow: glamor.css({
7880
+ position: 'relative',
7881
+ display: 'flex',
7882
+ alignItems: 'center',
7883
+ justifyContent: 'center',
7884
+ overflow: 'hidden',
7885
+ width: sectionproperties.cartBtnWidth + 'px',
7886
+ height: sectionproperties.cartBtnHeight + 'px',
7887
+ background: sectionproperties.buynowbgcolor,
7888
+ borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
7889
+ color: sectionproperties.buynowtextcolor,
7890
+ fontSize: sectionproperties.cartBtnTextfontsize + 'px',
7891
+ textTransform: sectionproperties.cartBtnTexttransform,
7892
+ fontWeight: sectionproperties.cartBtnTextfontweight,
7893
+ border: sectionproperties.buynowborderwidth + 'px solid ' + sectionproperties.buynowbordercolor,
7894
+ margin: 0,
7895
+ transition: '.3s',
7896
+ ':hover': {
7897
+ background: sectionproperties.buynowbgcoloronhover,
7898
+ color: sectionproperties.buynowtextcoloronhover,
7899
+ borderColor: sectionproperties.buynowtextcoloronhover
7900
+ }
7901
+ }),
7879
7902
  sizeguidebtn2: glamor.css({
7880
7903
  position: 'relative',
7881
7904
  display: 'flex',
@@ -22887,7 +22910,9 @@ var Subheader = function Subheader(props) {
22887
22910
  paddingRight: langdetect == 'en' ? sectionproperties.subheader_paddingRight + 'px' : sectionproperties.subheader_paddingLeft + 'px'
22888
22911
  }
22889
22912
  }, sectionproperties.subheaderpositionfromhome == 'Right After Home' && /*#__PURE__*/React__default["default"].createElement("div", {
22890
- "class": "".concat(headerstyles$f.nav__item) + ' scrollhorizontal flex-row align-items-center w-100 justify-content-md-center ',
22913
+ "class": "".concat(headerstyles$f.nav__item) + ' flex-row align-items-center w-100 justify-content-md-center '
22914
+ // scrollhorizontal
22915
+ ,
22891
22916
  style: {
22892
22917
  zIndex: 1000,
22893
22918
  justifyContent: ((_props$subheaderprope2 = props.subheaderpropertiesprops) === null || _props$subheaderprope2 === void 0 ? void 0 : _props$subheaderprope2.subheadercontentpositionprops) == 'center' ? 'center' : 'start',
@@ -22904,7 +22929,9 @@ var Subheader = function Subheader(props) {
22904
22929
  setshowdownheadermenu(false);
22905
22930
  setChoosenindex('');
22906
22931
  },
22907
- "class": "scrollhorizontalcard mb-0 pb-0",
22932
+ "class": "mb-0 pb-0"
22933
+ // scrollhorizontalcard
22934
+ ,
22908
22935
  style: {
22909
22936
  marginLeft: props === null || props === void 0 || (_props$subheaderprope5 = props.subheaderpropertiesprops) === null || _props$subheaderprope5 === void 0 ? void 0 : _props$subheaderprope5.paddingLeftprops,
22910
22937
  marginRight: props === null || props === void 0 || (_props$subheaderprope6 = props.subheaderpropertiesprops) === null || _props$subheaderprope6 === void 0 ? void 0 : _props$subheaderprope6.paddingLeftprops
@@ -29627,7 +29654,7 @@ var FloatingIcons = function FloatingIcons(props) {
29627
29654
  function ownKeys$1_(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
29628
29655
  function _objectSpread$1_(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1_(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1_(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
29629
29656
  var ClassicHeader = function ClassicHeader(props) {
29630
- var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$c3, _authdetailsContext$c4, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _templatepropcontext$;
29657
+ var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$c3, _authdetailsContext$c4, _authdetailsContext$i, _authdetailsContext$i2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _templatepropcontext$;
29631
29658
  var LogoutMutationContext = props.actions.LogoutMutationContext;
29632
29659
  var setsidecartnavshowcontext = props.actions.setsidecartnavshowcontext;
29633
29660
  var setSearchHeaderInputContext = props.actions.setSearchHeaderInputContext;
@@ -30158,7 +30185,7 @@ var ClassicHeader = function ClassicHeader(props) {
30158
30185
  "class": langdetect == 'en' ? 'mr-2' : 'ml-2'
30159
30186
  })), /*#__PURE__*/React__default["default"].createElement("p", {
30160
30187
  "class": ' allcenetered m-0 p-0 '
30161
- }, lang.logout))))), /*#__PURE__*/React__default["default"].createElement("div", {
30188
+ }, lang.logout))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.instid) == '67feabc28870e' && /*#__PURE__*/React__default["default"].createElement("div", {
30162
30189
  "class": "".concat(header_cssstyles.wishlist_btn) + ' wishlist_btn d-flex justify-content-center align-items-center ',
30163
30190
  style: {
30164
30191
  marginRight: langdetect == 'en' ? '2.2rem' : '',
@@ -30181,7 +30208,7 @@ var ClassicHeader = function ClassicHeader(props) {
30181
30208
  marginLeft: langdetect == 'en' ? '8px' : 0,
30182
30209
  marginRight: langdetect == 'ar' ? '8px' : 0
30183
30210
  }
30184
- }, lang.wishlist)), /*#__PURE__*/React__default["default"].createElement("div", {
30211
+ }, lang.wishlist)), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.instid) == '67feabc28870e' && /*#__PURE__*/React__default["default"].createElement("div", {
30185
30212
  "class": header_cssstyles.cartbtncontainer + ' d-flex flex-row align-items-center justify-content-end ',
30186
30213
  style: {
30187
30214
  marginRight: langdetect == 'en' ? '2.2rem' : '',
@@ -30222,7 +30249,7 @@ var ClassicHeader = function ClassicHeader(props) {
30222
30249
  marginRight: langdetect == 'ar' ? '9px' : 0,
30223
30250
  color: sectionproperties.cartBtnTextcolor
30224
30251
  }
30225
- }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue4 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue4 === void 0 || (_fetchcustomercartQue4 = _fetchcustomercartQue4.data) === null || _fetchcustomercartQue4 === void 0 || (_fetchcustomercartQue4 = _fetchcustomercartQue4.customercart) === null || _fetchcustomercartQue4 === void 0 ? void 0 : _fetchcustomercartQue4.totalprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
30252
+ }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue4 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue4 === void 0 || (_fetchcustomercartQue4 = _fetchcustomercartQue4.data) === null || _fetchcustomercartQue4 === void 0 || (_fetchcustomercartQue4 = _fetchcustomercartQue4.customercart) === null || _fetchcustomercartQue4 === void 0 ? void 0 : _fetchcustomercartQue4.totalprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
30226
30253
  "class": langdetect == 'en' ? 'headerdropdownml' : 'headerdropdownmr'
30227
30254
  }, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"], null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Toggle, null, /*#__PURE__*/React__default["default"].createElement("li", {
30228
30255
  "class": ' d-flex align-items-center justify-content-center '
@@ -57120,10 +57147,22 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
57120
57147
  '@media (max-width: 800px)': {
57121
57148
  height: '25vh'
57122
57149
  }
57150
+ }),
57151
+ bgcontaineryb: glamor.css(_defineProperty__default["default"](_defineProperty__default["default"]({
57152
+ width: '100%',
57153
+ height: '100%'
57154
+ }, "height", sectionproperties.image2_height == 0 ? '100%' : sectionproperties.image2_height + 'vh'), '@media (max-width: 800px)', {
57155
+ height: '25vh'
57156
+ })),
57157
+ bgcontaineryb1: glamor.css({
57158
+ height: sectionproperties.image_height == 0 ? '100%' : sectionproperties.image_height + 'vh',
57159
+ '@media (max-width: 800px)': {
57160
+ height: '60vh'
57161
+ }
57123
57162
  })
57124
57163
  };
57125
57164
  var cardsrender = function cardsrender() {
57126
- var _authdetailsContext$i, _cardsarray$2, _cardsarray$3, _cardsarray$4, _cardsarray$6, _cardsarray$7, _cardsarray$8, _cardsarray$10, _cardsarray$11, _cardsarray$12, _cardsarray$14, _cardsarray$15, _cardsarray$16, _cardsarray$18, _cardsarray$19, _cardsarray$20, _authdetailsContext$i2, _cardsarray$22, _cardsarray$23, _cardsarray$24, _cardsarray$26, _cardsarray$27, _cardsarray$28, _cardsarray$30, _cardsarray$31, _cardsarray$32, _cardsarray$34, _cardsarray$35, _cardsarray$36;
57165
+ var _authdetailsContext$i, _authdetailsContext$i2, _cardsarray$2, _cardsarray$3, _cardsarray$4, _cardsarray$6, _cardsarray$7, _cardsarray$8, _cardsarray$10, _cardsarray$11, _cardsarray$12, _cardsarray$14, _cardsarray$15, _cardsarray$16, _cardsarray$18, _cardsarray$19, _cardsarray$20, _authdetailsContext$i3, _cardsarray$22, _cardsarray$23, _cardsarray$24, _cardsarray$26, _cardsarray$27, _cardsarray$28, _cardsarray$30, _cardsarray$31, _cardsarray$32, _cardsarray$34, _cardsarray$35, _cardsarray$36, _authdetailsContext$i4, _cardsarray$38, _cardsarray$39, _cardsarray$40, _cardsarray$42, _cardsarray$43, _cardsarray$44, _cardsarray$46, _cardsarray$47, _cardsarray$48;
57127
57166
  return /*#__PURE__*/React__default["default"].createElement("div", {
57128
57167
  "class": 'row m-0 w-100'
57129
57168
  }, !fetchProductsQuery.isFetching && cardsarray.length == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
@@ -57145,7 +57184,7 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
57145
57184
  textTransform: sectionproperties.noprod_textTransform,
57146
57185
  color: sectionproperties.noprod_color
57147
57186
  }
57148
- }, langdetect == 'en' ? 'No Collections Found' : 'لا توجد مجموعات'))), cardsarray.length != 0 && sectionproperties.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
57187
+ }, langdetect == 'en' ? 'No Collections Found' : 'لا توجد مجموعات'))), cardsarray.length != 0 && sectionproperties.length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) != '67fce91a4032d' && /*#__PURE__*/React__default["default"].createElement("div", {
57149
57188
  "class": "row m-0 w-100 d-flex align-items-center p-sm-0"
57150
57189
  }, /*#__PURE__*/React__default["default"].createElement("div", {
57151
57190
  "class": "row ml-0 mr-0 w-100 pl-md-1 pr-md-1 pl-sm-2 pr-sm-2",
@@ -57191,7 +57230,7 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
57191
57230
  }
57192
57231
  }))), /*#__PURE__*/React__default["default"].createElement("div", {
57193
57232
  "class": sectionproperties.paddingLeft != 0 && sectionproperties.paddingRight != 0 ? section_cssstyles.cards_sections + ' row ml-0 mr-0 d-flex w-100 justify-content-center align-items-center pl-md-2 pr-md-2 ' : sectionproperties.paddingRight != 0 ? section_cssstyles.cards_sections + ' row ml-0 mr-0 d-flex w-100 justify-content-center align-items-center pr-md-2 ' : sectionproperties.paddingLeft != 0 ? section_cssstyles.cards_sections + ' row ml-0 mr-0 d-flex w-100 justify-content-center align-items-center pl-md-2 ' : section_cssstyles.cards_sections + ' row ml-0 mr-0 d-flex w-100 justify-content-center align-items-center '
57194
- }, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) != '672258d7826b4' && /*#__PURE__*/React__default["default"].createElement("div", {
57233
+ }, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) != '672258d7826b4' && /*#__PURE__*/React__default["default"].createElement("div", {
57195
57234
  "class": "row m-0 w-100 "
57196
57235
  }, /*#__PURE__*/React__default["default"].createElement("div", {
57197
57236
  "class": (cardsarray === null || cardsarray === void 0 ? void 0 : cardsarray.length) < 5 ? sectionproperties.imagepadding == 0 ? section_cssstyles.cardcont + ' col-lg-6 cursor-pointer ' : section_cssstyles.cardcont + ' col-lg-6 mb-md-3 cursor-pointer ' : sectionproperties.imagepadding == 0 ? section_cssstyles.cardcont + ' col-lg-6 p-md-0 cursor-pointer ' : section_cssstyles.cardcont + ' col-lg-6 p-md-0 mb-md-3 cursor-pointer ',
@@ -57482,7 +57521,7 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
57482
57521
  "class": sectionproperties.generaltext_position == 'Centered' ? 'col-lg-12 p-0 d-flex allcentered' : 'col-lg-12 p-0 d-flex justify-content-start'
57483
57522
  }, /*#__PURE__*/React__default["default"].createElement("p", {
57484
57523
  "class": section_cssstyles.collectioncardbutton + ' m-0 p-0 allcentered collectioncardbutton '
57485
- }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))))))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '672258d7826b4' && /*#__PURE__*/React__default["default"].createElement("div", {
57524
+ }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))))))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '672258d7826b4' && /*#__PURE__*/React__default["default"].createElement("div", {
57486
57525
  "class": "row m-0 w-100 "
57487
57526
  }, /*#__PURE__*/React__default["default"].createElement("div", {
57488
57527
  "class": sectionproperties.imagepadding == 0 ? section_cssstyles.cardcont + ' col-6 p-md-0 cursor-pointer ' : section_cssstyles.cardcont + ' col-6 p-md-0 mb-md-3 cursor-pointer '
@@ -57693,7 +57732,200 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
57693
57732
  "class": "col-lg-12 p-0 d-flex allcentered h-100"
57694
57733
  }, /*#__PURE__*/React__default["default"].createElement("p", {
57695
57734
  "class": section_cssstyles.collectionname + ' m-0 p-0 '
57696
- }, langdetect == 'en' ? (_cardsarray$35 = cardsarray[3]) === null || _cardsarray$35 === void 0 ? void 0 : _cardsarray$35.name_en : (_cardsarray$36 = cardsarray[3]) === null || _cardsarray$36 === void 0 ? void 0 : _cardsarray$36.name_ar))))))))))));
57735
+ }, langdetect == 'en' ? (_cardsarray$35 = cardsarray[3]) === null || _cardsarray$35 === void 0 ? void 0 : _cardsarray$35.name_en : (_cardsarray$36 = cardsarray[3]) === null || _cardsarray$36 === void 0 ? void 0 : _cardsarray$36.name_ar))))))))))), cardsarray.length != 0 && sectionproperties.length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '67fce91a4032d' && /*#__PURE__*/React__default["default"].createElement("div", {
57736
+ "class": "row m-0 w-100 d-flex align-items-center p-sm-0"
57737
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
57738
+ "class": "row ml-0 mr-0 w-100 pl-md-1 pr-md-1 pl-sm-2 pr-sm-2",
57739
+ style: {
57740
+ marginTop: sectionproperties.sectionTitleMarginTop + 'px',
57741
+ marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
57742
+ paddingLeft: sectionproperties.sectionTitleMarginLeft + 'px',
57743
+ paddingRight: sectionproperties.sectionTitleMarginRight + 'px'
57744
+ }
57745
+ }, sectionproperties.sectiontitleshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
57746
+ "class": sectionproperties.viewmorebtnshow == 'Show' ? ' col-lg-6 col-md-6 col-sm-6 d-flex align-items-center p-0 ' : ' col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0 '
57747
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
57748
+ "class": "".concat(generalstyles.sectiontitlecont) + ' col-lg-12 p-0 d-flex align-items-center mb-auto ',
57749
+ style: {
57750
+ justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start'
57751
+ }
57752
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
57753
+ "class": "d-flex align-items-center flex-row",
57754
+ style: {
57755
+ position: 'relative',
57756
+ justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : '',
57757
+ width: sectionproperties.sectiontitlestyle == 'Line Before Text' ? '100%' : ''
57758
+ }
57759
+ }, sectionproperties.sectiontitlestyle == 'Line Before Text' && /*#__PURE__*/React__default["default"].createElement("span", {
57760
+ "class": section_cssstyles.line_left + ' d-sm-none '
57761
+ }), /*#__PURE__*/React__default["default"].createElement("p", {
57762
+ "class": "".concat(section_cssstyles.sectiontitlespan) + ' mb-auto mb-0 pb-0 font-sm-18 font-md-20 wordbreak d-flex align-items-center justify-content-start ',
57763
+ style: {
57764
+ fontSize: sectionproperties.sectionTitleFontSize + 'px',
57765
+ color: sectionproperties.sectionTitleColor,
57766
+ fontWeight: sectionproperties.sectionTitleFontWeight,
57767
+ paddingLeft: sectionproperties.sectiontitlestyle == 'Line Before Text' ? '12px' : 0,
57768
+ paddingRight: sectionproperties.sectiontitlestyle == 'Line Before Text' ? '12px' : 0
57769
+ }
57770
+ }, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar), sectionproperties.sectiontitlestyle == 'Line Before Text' && /*#__PURE__*/React__default["default"].createElement("span", {
57771
+ "class": section_cssstyles.line_right + ' d-sm-none '
57772
+ })))), sectionproperties.showseparator == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
57773
+ "class": "col-lg-12 p-0"
57774
+ }, /*#__PURE__*/React__default["default"].createElement("hr", {
57775
+ "class": "mt-2 mb-2",
57776
+ style: {
57777
+ borderColor: sectionproperties.upperseparatorbgcolor
57778
+ }
57779
+ }))), /*#__PURE__*/React__default["default"].createElement("div", {
57780
+ "class":
57781
+ // hena
57782
+ sectionproperties.paddingLeft != 0 && sectionproperties.paddingRight != 0 ? section_cssstyles.cards_sections + ' row ml-0 mr-0 d-flex w-100 justify-content-center align-items-center pl-md-1 pr-md-1 ' : sectionproperties.paddingRight != 0 ? section_cssstyles.cards_sections + ' row ml-0 mr-0 d-flex w-100 justify-content-center align-items-center pr-md-2 ' : sectionproperties.paddingLeft != 0 ? section_cssstyles.cards_sections + ' row ml-0 mr-0 d-flex w-100 justify-content-center align-items-center pl-md-2 ' : section_cssstyles.cards_sections + ' row ml-0 mr-0 d-flex w-100 justify-content-center align-items-center '
57783
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
57784
+ "class": "row m-0 w-100 "
57785
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
57786
+ "class": sectionproperties.imagepadding == 0 ? section_cssstyles.cardcont + ' col-lg-6 p-md-0 cursor-pointer ' : section_cssstyles.cardcont + ' col-lg-6 mb-md-2 cursor-pointer ',
57787
+ style: {
57788
+ paddingLeft: sectionproperties.imagepadding + 'px',
57789
+ paddingRight: sectionproperties.imagepadding + 'px'
57790
+ },
57791
+ onClick: function onClick() {
57792
+ var _cardsarray$37;
57793
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ((_cardsarray$37 = cardsarray[0]) === null || _cardsarray$37 === void 0 ? void 0 : _cardsarray$37.collectionid));
57794
+ }
57795
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
57796
+ "class": "row m-0 w-100",
57797
+ style: {
57798
+ width: '100%'
57799
+ }
57800
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
57801
+ "class": section_cssstyles.bgcontaineryb1 + ' col-lg-12 p-0 ',
57802
+ style: {
57803
+ width: '100%'
57804
+ }
57805
+ }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
57806
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
57807
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
57808
+ path: (_cardsarray$38 = cardsarray[0]) === null || _cardsarray$38 === void 0 ? void 0 : _cardsarray$38.image,
57809
+ loading: "lazy",
57810
+ style: {
57811
+ width: '100%',
57812
+ height: '100%',
57813
+ borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
57814
+ borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
57815
+ borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
57816
+ borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
57817
+ objectFit: 'cover',
57818
+ zIndex: 1
57819
+ }
57820
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
57821
+ "class": 'col-lg-12 p-0 text-start'
57822
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
57823
+ "class": sectionproperties.generaltext_position == 'Centered' ? 'row m-0 w-100 py-3 h-100 allcentered' : 'row m-0 w-100 py-3'
57824
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
57825
+ "class": sectionproperties.generaltext_position == 'Centered' ? 'col-lg-12 p-0 d-flex allcentered' : 'col-lg-12 p-0 d-flex justify-content-start'
57826
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
57827
+ "class": section_cssstyles.collectionname + ' m-0 p-0 '
57828
+ }, langdetect == 'en' ? (_cardsarray$39 = cardsarray[0]) === null || _cardsarray$39 === void 0 ? void 0 : _cardsarray$39.name_en : (_cardsarray$40 = cardsarray[0]) === null || _cardsarray$40 === void 0 ? void 0 : _cardsarray$40.name_ar)), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
57829
+ "class": sectionproperties.generaltext_position == 'Centered' ? 'col-lg-12 p-0 d-flex allcentered' : 'col-lg-12 p-0 d-flex justify-content-start'
57830
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
57831
+ "class": section_cssstyles.collectioncardbutton + ' collectioncardbutton m-0 p-0 allcentered '
57832
+ }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))), /*#__PURE__*/React__default["default"].createElement("div", {
57833
+ "class": 'col-lg-6 pl-0 pr-0'
57834
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
57835
+ "class": "row m-0 w-100"
57836
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
57837
+ "class": sectionproperties.imagepadding == 0 ? section_cssstyles.cardcont + ' col-lg-12 col-md-6 cursor-pointer ' : section_cssstyles.cardcont + ' col-lg-12 col-md-6 mb-md-3 cursor-pointer ',
57838
+ onClick: function onClick() {
57839
+ var _cardsarray$41;
57840
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ((_cardsarray$41 = cardsarray[1]) === null || _cardsarray$41 === void 0 ? void 0 : _cardsarray$41.collectionid));
57841
+ },
57842
+ style: {
57843
+ paddingLeft: sectionproperties.imagepadding + 'px',
57844
+ paddingRight: sectionproperties.imagepadding + 'px',
57845
+ marginBottom: sectionproperties.imagepadding == 0 ? 0 : '1rem'
57846
+ }
57847
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
57848
+ "class": "row m-0 w-100",
57849
+ style: {
57850
+ width: '100%'
57851
+ }
57852
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
57853
+ "class": section_cssstyles.bgcontaineryb + ' col-lg-12 p-0 ',
57854
+ style: {}
57855
+ }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
57856
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
57857
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
57858
+ path: (_cardsarray$42 = cardsarray[1]) === null || _cardsarray$42 === void 0 ? void 0 : _cardsarray$42.image,
57859
+ loading: "lazy",
57860
+ style: {
57861
+ width: '100%',
57862
+ height: '100%',
57863
+ borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
57864
+ borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
57865
+ borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
57866
+ borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
57867
+ objectFit: 'cover',
57868
+ zIndex: 1
57869
+ }
57870
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
57871
+ "class": ' col-12 text-start p-0 '
57872
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
57873
+ "class": sectionproperties.generaltext_position == 'Centered' ? 'row m-0 w-100 py-3 h-100 allcentered' : 'row m-0 w-100 py-3 mt-auto'
57874
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
57875
+ "class": "col-lg-12 p-0 text-start"
57876
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
57877
+ "class": section_cssstyles.collectionname + ' m-0 p-0 '
57878
+ }, langdetect == 'en' ? (_cardsarray$43 = cardsarray[1]) === null || _cardsarray$43 === void 0 ? void 0 : _cardsarray$43.name_en : (_cardsarray$44 = cardsarray[1]) === null || _cardsarray$44 === void 0 ? void 0 : _cardsarray$44.name_ar)), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
57879
+ "class": "col-lg-12 p-0 text-start"
57880
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
57881
+ "class": section_cssstyles.collectioncardbutton + ' collectioncardbutton m-0 p-0 allcentered '
57882
+ }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))), /*#__PURE__*/React__default["default"].createElement("div", {
57883
+ "class": sectionproperties.imagepadding == 0 ? section_cssstyles.cardcont + ' col-lg-12 col-md-6 p-md-0 cursor-pointer ' : section_cssstyles.cardcont + ' col-lg-12 col-md-6 mb-md-3 cursor-pointer ',
57884
+ style: {
57885
+ paddingLeft: sectionproperties.imagepadding + 'px',
57886
+ paddingRight: sectionproperties.imagepadding + 'px',
57887
+ marginBottom: sectionproperties.imagepadding == 0 ? 0 : '1rem'
57888
+ },
57889
+ onClick: function onClick() {
57890
+ var _cardsarray$45;
57891
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ((_cardsarray$45 = cardsarray[2]) === null || _cardsarray$45 === void 0 ? void 0 : _cardsarray$45.collectionid));
57892
+ }
57893
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
57894
+ "class": "row m-0 w-100",
57895
+ style: {
57896
+ width: '100%'
57897
+ }
57898
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
57899
+ "class": section_cssstyles.bgcontaineryb + ' col-lg-12 p-0 ',
57900
+ style: {}
57901
+ }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
57902
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
57903
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
57904
+ path: (_cardsarray$46 = cardsarray[2]) === null || _cardsarray$46 === void 0 ? void 0 : _cardsarray$46.image,
57905
+ loading: "lazy",
57906
+ style: {
57907
+ width: '100%',
57908
+ height: '100%',
57909
+ borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
57910
+ borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
57911
+ borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
57912
+ borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
57913
+ objectFit: 'cover',
57914
+ zIndex: 1
57915
+ }
57916
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
57917
+ "class": ' col-12 text-start p-0'
57918
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
57919
+ "class": sectionproperties.generaltext_position == 'Centered' ? 'row m-0 w-100 py-3 h-100 allcentered' : 'row m-0 w-100 py-3 mt-auto'
57920
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
57921
+ "class": "col-lg-12 p-0 text-start"
57922
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
57923
+ "class": section_cssstyles.collectionname + ' m-0 p-0 '
57924
+ }, langdetect == 'en' ? (_cardsarray$47 = cardsarray[2]) === null || _cardsarray$47 === void 0 ? void 0 : _cardsarray$47.name_en : (_cardsarray$48 = cardsarray[2]) === null || _cardsarray$48 === void 0 ? void 0 : _cardsarray$48.name_ar)), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
57925
+ "class": "col-lg-12 p-0 text-start"
57926
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
57927
+ "class": section_cssstyles.collectioncardbutton + ' collectioncardbutton m-0 p-0 allcentered '
57928
+ }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))))))))))));
57697
57929
  };
57698
57930
  return /*#__PURE__*/React__default["default"].createElement("div", {
57699
57931
  "class": "row m-0 d-flex w-100 justify-content-center",
@@ -64212,11 +64444,11 @@ var DynamicForm = function DynamicForm(props) {
64212
64444
  background: sectionproperties.backgroundColor,
64213
64445
  paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
64214
64446
  paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
64215
- paddingTop: sectionproperties.paddingTop + 'px',
64216
- paddingBottom: sectionproperties.paddingBottom + 'px',
64447
+ paddingTop: sectionproperties.cardpaddingvertical != 0 ? sectionproperties.cardpaddingvertical : sectionproperties.paddingTop + 'px',
64448
+ paddingBottom: sectionproperties.cardpaddingvertical != 0 ? sectionproperties.cardpaddingvertical : sectionproperties.paddingBottom + 'px',
64217
64449
  '@media (max-width: 800px)': {
64218
- paddingTop: sectionproperties.paddingtopresponsive + 'px',
64219
- paddingBottom: sectionproperties.paddingbottomresponsive + 'px'
64450
+ paddingTop: sectionproperties.cardpaddingvertical != 0 ? sectionproperties.cardpaddingvertical : sectionproperties.paddingtopresponsive + 'px',
64451
+ paddingBottom: sectionproperties.cardpaddingvertical != 0 ? sectionproperties.cardpaddingvertical : sectionproperties.paddingbottomresponsive + 'px'
64220
64452
  }
64221
64453
  })
64222
64454
  };
@@ -85080,6 +85312,10 @@ var Simpleproductcard = function Simpleproductcard(props) {
85080
85312
  right: 10,
85081
85313
  transform: "translateX(0px)"
85082
85314
  }
85315
+ // ':hover .pname': {
85316
+ // textDecoration: 'underline',
85317
+ // transition: '.3s',
85318
+ // },
85083
85319
  }),
85084
85320
  productcardimagecont: glamor.css({
85085
85321
  position: 'relative',
@@ -85704,7 +85940,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
85704
85940
  cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid);
85705
85941
  }
85706
85942
  },
85707
- "class": sectionproperties.wordbreak == '1' ? "".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak1 font-md-13 m-0 ' : "".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak2 font-md-13 wordbreak-md-4 m-0 ',
85943
+ "class": sectionproperties.wordbreak == '1' ? "".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak1 font-md-13 m-0 pname ' : "".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak2 font-md-13 wordbreak-md-4 m-0 pname ',
85708
85944
  style: {
85709
85945
  textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
85710
85946
  }
package/dist/index.esm.js CHANGED
@@ -3479,7 +3479,7 @@ var Product_itemtype = function Product_itemtype(props) {
3479
3479
  overflow: 'hidden'
3480
3480
  }
3481
3481
  }, /*#__PURE__*/React.createElement("button", {
3482
- className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' d-flex align-items-center justify-content-center mb-sm-2 ',
3482
+ className: "".concat(productinfo_cssstyles.buynow, " ") + ' d-flex align-items-center justify-content-center mb-sm-2 ',
3483
3483
  style: {
3484
3484
  width: sectionproperties.cartBtnWidth + '%'
3485
3485
  },
@@ -7828,6 +7828,29 @@ var Productinfo = function Productinfo(props) {
7828
7828
  borderColor: sectionproperties.cartBtnTextcoloronhover
7829
7829
  }
7830
7830
  }),
7831
+ buynow: css({
7832
+ position: 'relative',
7833
+ display: 'flex',
7834
+ alignItems: 'center',
7835
+ justifyContent: 'center',
7836
+ overflow: 'hidden',
7837
+ width: sectionproperties.cartBtnWidth + 'px',
7838
+ height: sectionproperties.cartBtnHeight + 'px',
7839
+ background: sectionproperties.buynowbgcolor,
7840
+ borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
7841
+ color: sectionproperties.buynowtextcolor,
7842
+ fontSize: sectionproperties.cartBtnTextfontsize + 'px',
7843
+ textTransform: sectionproperties.cartBtnTexttransform,
7844
+ fontWeight: sectionproperties.cartBtnTextfontweight,
7845
+ border: sectionproperties.buynowborderwidth + 'px solid ' + sectionproperties.buynowbordercolor,
7846
+ margin: 0,
7847
+ transition: '.3s',
7848
+ ':hover': {
7849
+ background: sectionproperties.buynowbgcoloronhover,
7850
+ color: sectionproperties.buynowtextcoloronhover,
7851
+ borderColor: sectionproperties.buynowtextcoloronhover
7852
+ }
7853
+ }),
7831
7854
  sizeguidebtn2: css({
7832
7855
  position: 'relative',
7833
7856
  display: 'flex',
@@ -22839,7 +22862,9 @@ var Subheader = function Subheader(props) {
22839
22862
  paddingRight: langdetect == 'en' ? sectionproperties.subheader_paddingRight + 'px' : sectionproperties.subheader_paddingLeft + 'px'
22840
22863
  }
22841
22864
  }, sectionproperties.subheaderpositionfromhome == 'Right After Home' && /*#__PURE__*/React.createElement("div", {
22842
- "class": "".concat(headerstyles$f.nav__item) + ' scrollhorizontal flex-row align-items-center w-100 justify-content-md-center ',
22865
+ "class": "".concat(headerstyles$f.nav__item) + ' flex-row align-items-center w-100 justify-content-md-center '
22866
+ // scrollhorizontal
22867
+ ,
22843
22868
  style: {
22844
22869
  zIndex: 1000,
22845
22870
  justifyContent: ((_props$subheaderprope2 = props.subheaderpropertiesprops) === null || _props$subheaderprope2 === void 0 ? void 0 : _props$subheaderprope2.subheadercontentpositionprops) == 'center' ? 'center' : 'start',
@@ -22856,7 +22881,9 @@ var Subheader = function Subheader(props) {
22856
22881
  setshowdownheadermenu(false);
22857
22882
  setChoosenindex('');
22858
22883
  },
22859
- "class": "scrollhorizontalcard mb-0 pb-0",
22884
+ "class": "mb-0 pb-0"
22885
+ // scrollhorizontalcard
22886
+ ,
22860
22887
  style: {
22861
22888
  marginLeft: props === null || props === void 0 || (_props$subheaderprope5 = props.subheaderpropertiesprops) === null || _props$subheaderprope5 === void 0 ? void 0 : _props$subheaderprope5.paddingLeftprops,
22862
22889
  marginRight: props === null || props === void 0 || (_props$subheaderprope6 = props.subheaderpropertiesprops) === null || _props$subheaderprope6 === void 0 ? void 0 : _props$subheaderprope6.paddingLeftprops
@@ -29579,7 +29606,7 @@ var FloatingIcons = function FloatingIcons(props) {
29579
29606
  function ownKeys$1_(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
29580
29607
  function _objectSpread$1_(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1_(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1_(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
29581
29608
  var ClassicHeader = function ClassicHeader(props) {
29582
- var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$c3, _authdetailsContext$c4, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _templatepropcontext$;
29609
+ var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$c3, _authdetailsContext$c4, _authdetailsContext$i, _authdetailsContext$i2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _templatepropcontext$;
29583
29610
  var LogoutMutationContext = props.actions.LogoutMutationContext;
29584
29611
  var setsidecartnavshowcontext = props.actions.setsidecartnavshowcontext;
29585
29612
  var setSearchHeaderInputContext = props.actions.setSearchHeaderInputContext;
@@ -30110,7 +30137,7 @@ var ClassicHeader = function ClassicHeader(props) {
30110
30137
  "class": langdetect == 'en' ? 'mr-2' : 'ml-2'
30111
30138
  })), /*#__PURE__*/React.createElement("p", {
30112
30139
  "class": ' allcenetered m-0 p-0 '
30113
- }, lang.logout))))), /*#__PURE__*/React.createElement("div", {
30140
+ }, lang.logout))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.instid) == '67feabc28870e' && /*#__PURE__*/React.createElement("div", {
30114
30141
  "class": "".concat(header_cssstyles.wishlist_btn) + ' wishlist_btn d-flex justify-content-center align-items-center ',
30115
30142
  style: {
30116
30143
  marginRight: langdetect == 'en' ? '2.2rem' : '',
@@ -30133,7 +30160,7 @@ var ClassicHeader = function ClassicHeader(props) {
30133
30160
  marginLeft: langdetect == 'en' ? '8px' : 0,
30134
30161
  marginRight: langdetect == 'ar' ? '8px' : 0
30135
30162
  }
30136
- }, lang.wishlist)), /*#__PURE__*/React.createElement("div", {
30163
+ }, lang.wishlist)), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.instid) == '67feabc28870e' && /*#__PURE__*/React.createElement("div", {
30137
30164
  "class": header_cssstyles.cartbtncontainer + ' d-flex flex-row align-items-center justify-content-end ',
30138
30165
  style: {
30139
30166
  marginRight: langdetect == 'en' ? '2.2rem' : '',
@@ -30174,7 +30201,7 @@ var ClassicHeader = function ClassicHeader(props) {
30174
30201
  marginRight: langdetect == 'ar' ? '9px' : 0,
30175
30202
  color: sectionproperties.cartBtnTextcolor
30176
30203
  }
30177
- }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue4 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue4 === void 0 || (_fetchcustomercartQue4 = _fetchcustomercartQue4.data) === null || _fetchcustomercartQue4 === void 0 || (_fetchcustomercartQue4 = _fetchcustomercartQue4.customercart) === null || _fetchcustomercartQue4 === void 0 ? void 0 : _fetchcustomercartQue4.totalprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), /*#__PURE__*/React.createElement("div", {
30204
+ }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue4 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue4 === void 0 || (_fetchcustomercartQue4 = _fetchcustomercartQue4.data) === null || _fetchcustomercartQue4 === void 0 || (_fetchcustomercartQue4 = _fetchcustomercartQue4.customercart) === null || _fetchcustomercartQue4 === void 0 ? void 0 : _fetchcustomercartQue4.totalprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), /*#__PURE__*/React.createElement("div", {
30178
30205
  "class": langdetect == 'en' ? 'headerdropdownml' : 'headerdropdownmr'
30179
30206
  }, /*#__PURE__*/React.createElement(Dropdown, null, /*#__PURE__*/React.createElement(Dropdown.Toggle, null, /*#__PURE__*/React.createElement("li", {
30180
30207
  "class": ' d-flex align-items-center justify-content-center '
@@ -57072,10 +57099,22 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
57072
57099
  '@media (max-width: 800px)': {
57073
57100
  height: '25vh'
57074
57101
  }
57102
+ }),
57103
+ bgcontaineryb: css(_defineProperty(_defineProperty({
57104
+ width: '100%',
57105
+ height: '100%'
57106
+ }, "height", sectionproperties.image2_height == 0 ? '100%' : sectionproperties.image2_height + 'vh'), '@media (max-width: 800px)', {
57107
+ height: '25vh'
57108
+ })),
57109
+ bgcontaineryb1: css({
57110
+ height: sectionproperties.image_height == 0 ? '100%' : sectionproperties.image_height + 'vh',
57111
+ '@media (max-width: 800px)': {
57112
+ height: '60vh'
57113
+ }
57075
57114
  })
57076
57115
  };
57077
57116
  var cardsrender = function cardsrender() {
57078
- var _authdetailsContext$i, _cardsarray$2, _cardsarray$3, _cardsarray$4, _cardsarray$6, _cardsarray$7, _cardsarray$8, _cardsarray$10, _cardsarray$11, _cardsarray$12, _cardsarray$14, _cardsarray$15, _cardsarray$16, _cardsarray$18, _cardsarray$19, _cardsarray$20, _authdetailsContext$i2, _cardsarray$22, _cardsarray$23, _cardsarray$24, _cardsarray$26, _cardsarray$27, _cardsarray$28, _cardsarray$30, _cardsarray$31, _cardsarray$32, _cardsarray$34, _cardsarray$35, _cardsarray$36;
57117
+ var _authdetailsContext$i, _authdetailsContext$i2, _cardsarray$2, _cardsarray$3, _cardsarray$4, _cardsarray$6, _cardsarray$7, _cardsarray$8, _cardsarray$10, _cardsarray$11, _cardsarray$12, _cardsarray$14, _cardsarray$15, _cardsarray$16, _cardsarray$18, _cardsarray$19, _cardsarray$20, _authdetailsContext$i3, _cardsarray$22, _cardsarray$23, _cardsarray$24, _cardsarray$26, _cardsarray$27, _cardsarray$28, _cardsarray$30, _cardsarray$31, _cardsarray$32, _cardsarray$34, _cardsarray$35, _cardsarray$36, _authdetailsContext$i4, _cardsarray$38, _cardsarray$39, _cardsarray$40, _cardsarray$42, _cardsarray$43, _cardsarray$44, _cardsarray$46, _cardsarray$47, _cardsarray$48;
57079
57118
  return /*#__PURE__*/React.createElement("div", {
57080
57119
  "class": 'row m-0 w-100'
57081
57120
  }, !fetchProductsQuery.isFetching && cardsarray.length == 0 && /*#__PURE__*/React.createElement("div", {
@@ -57097,7 +57136,7 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
57097
57136
  textTransform: sectionproperties.noprod_textTransform,
57098
57137
  color: sectionproperties.noprod_color
57099
57138
  }
57100
- }, langdetect == 'en' ? 'No Collections Found' : 'لا توجد مجموعات'))), cardsarray.length != 0 && sectionproperties.length != 0 && /*#__PURE__*/React.createElement("div", {
57139
+ }, langdetect == 'en' ? 'No Collections Found' : 'لا توجد مجموعات'))), cardsarray.length != 0 && sectionproperties.length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) != '67fce91a4032d' && /*#__PURE__*/React.createElement("div", {
57101
57140
  "class": "row m-0 w-100 d-flex align-items-center p-sm-0"
57102
57141
  }, /*#__PURE__*/React.createElement("div", {
57103
57142
  "class": "row ml-0 mr-0 w-100 pl-md-1 pr-md-1 pl-sm-2 pr-sm-2",
@@ -57143,7 +57182,7 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
57143
57182
  }
57144
57183
  }))), /*#__PURE__*/React.createElement("div", {
57145
57184
  "class": sectionproperties.paddingLeft != 0 && sectionproperties.paddingRight != 0 ? section_cssstyles.cards_sections + ' row ml-0 mr-0 d-flex w-100 justify-content-center align-items-center pl-md-2 pr-md-2 ' : sectionproperties.paddingRight != 0 ? section_cssstyles.cards_sections + ' row ml-0 mr-0 d-flex w-100 justify-content-center align-items-center pr-md-2 ' : sectionproperties.paddingLeft != 0 ? section_cssstyles.cards_sections + ' row ml-0 mr-0 d-flex w-100 justify-content-center align-items-center pl-md-2 ' : section_cssstyles.cards_sections + ' row ml-0 mr-0 d-flex w-100 justify-content-center align-items-center '
57146
- }, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) != '672258d7826b4' && /*#__PURE__*/React.createElement("div", {
57185
+ }, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) != '672258d7826b4' && /*#__PURE__*/React.createElement("div", {
57147
57186
  "class": "row m-0 w-100 "
57148
57187
  }, /*#__PURE__*/React.createElement("div", {
57149
57188
  "class": (cardsarray === null || cardsarray === void 0 ? void 0 : cardsarray.length) < 5 ? sectionproperties.imagepadding == 0 ? section_cssstyles.cardcont + ' col-lg-6 cursor-pointer ' : section_cssstyles.cardcont + ' col-lg-6 mb-md-3 cursor-pointer ' : sectionproperties.imagepadding == 0 ? section_cssstyles.cardcont + ' col-lg-6 p-md-0 cursor-pointer ' : section_cssstyles.cardcont + ' col-lg-6 p-md-0 mb-md-3 cursor-pointer ',
@@ -57434,7 +57473,7 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
57434
57473
  "class": sectionproperties.generaltext_position == 'Centered' ? 'col-lg-12 p-0 d-flex allcentered' : 'col-lg-12 p-0 d-flex justify-content-start'
57435
57474
  }, /*#__PURE__*/React.createElement("p", {
57436
57475
  "class": section_cssstyles.collectioncardbutton + ' m-0 p-0 allcentered collectioncardbutton '
57437
- }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))))))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '672258d7826b4' && /*#__PURE__*/React.createElement("div", {
57476
+ }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))))))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '672258d7826b4' && /*#__PURE__*/React.createElement("div", {
57438
57477
  "class": "row m-0 w-100 "
57439
57478
  }, /*#__PURE__*/React.createElement("div", {
57440
57479
  "class": sectionproperties.imagepadding == 0 ? section_cssstyles.cardcont + ' col-6 p-md-0 cursor-pointer ' : section_cssstyles.cardcont + ' col-6 p-md-0 mb-md-3 cursor-pointer '
@@ -57645,7 +57684,200 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
57645
57684
  "class": "col-lg-12 p-0 d-flex allcentered h-100"
57646
57685
  }, /*#__PURE__*/React.createElement("p", {
57647
57686
  "class": section_cssstyles.collectionname + ' m-0 p-0 '
57648
- }, langdetect == 'en' ? (_cardsarray$35 = cardsarray[3]) === null || _cardsarray$35 === void 0 ? void 0 : _cardsarray$35.name_en : (_cardsarray$36 = cardsarray[3]) === null || _cardsarray$36 === void 0 ? void 0 : _cardsarray$36.name_ar))))))))))));
57687
+ }, langdetect == 'en' ? (_cardsarray$35 = cardsarray[3]) === null || _cardsarray$35 === void 0 ? void 0 : _cardsarray$35.name_en : (_cardsarray$36 = cardsarray[3]) === null || _cardsarray$36 === void 0 ? void 0 : _cardsarray$36.name_ar))))))))))), cardsarray.length != 0 && sectionproperties.length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '67fce91a4032d' && /*#__PURE__*/React.createElement("div", {
57688
+ "class": "row m-0 w-100 d-flex align-items-center p-sm-0"
57689
+ }, /*#__PURE__*/React.createElement("div", {
57690
+ "class": "row ml-0 mr-0 w-100 pl-md-1 pr-md-1 pl-sm-2 pr-sm-2",
57691
+ style: {
57692
+ marginTop: sectionproperties.sectionTitleMarginTop + 'px',
57693
+ marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
57694
+ paddingLeft: sectionproperties.sectionTitleMarginLeft + 'px',
57695
+ paddingRight: sectionproperties.sectionTitleMarginRight + 'px'
57696
+ }
57697
+ }, sectionproperties.sectiontitleshow == 'Show' && /*#__PURE__*/React.createElement("div", {
57698
+ "class": sectionproperties.viewmorebtnshow == 'Show' ? ' col-lg-6 col-md-6 col-sm-6 d-flex align-items-center p-0 ' : ' col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0 '
57699
+ }, /*#__PURE__*/React.createElement("div", {
57700
+ "class": "".concat(generalstyles.sectiontitlecont) + ' col-lg-12 p-0 d-flex align-items-center mb-auto ',
57701
+ style: {
57702
+ justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start'
57703
+ }
57704
+ }, /*#__PURE__*/React.createElement("div", {
57705
+ "class": "d-flex align-items-center flex-row",
57706
+ style: {
57707
+ position: 'relative',
57708
+ justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : '',
57709
+ width: sectionproperties.sectiontitlestyle == 'Line Before Text' ? '100%' : ''
57710
+ }
57711
+ }, sectionproperties.sectiontitlestyle == 'Line Before Text' && /*#__PURE__*/React.createElement("span", {
57712
+ "class": section_cssstyles.line_left + ' d-sm-none '
57713
+ }), /*#__PURE__*/React.createElement("p", {
57714
+ "class": "".concat(section_cssstyles.sectiontitlespan) + ' mb-auto mb-0 pb-0 font-sm-18 font-md-20 wordbreak d-flex align-items-center justify-content-start ',
57715
+ style: {
57716
+ fontSize: sectionproperties.sectionTitleFontSize + 'px',
57717
+ color: sectionproperties.sectionTitleColor,
57718
+ fontWeight: sectionproperties.sectionTitleFontWeight,
57719
+ paddingLeft: sectionproperties.sectiontitlestyle == 'Line Before Text' ? '12px' : 0,
57720
+ paddingRight: sectionproperties.sectiontitlestyle == 'Line Before Text' ? '12px' : 0
57721
+ }
57722
+ }, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar), sectionproperties.sectiontitlestyle == 'Line Before Text' && /*#__PURE__*/React.createElement("span", {
57723
+ "class": section_cssstyles.line_right + ' d-sm-none '
57724
+ })))), sectionproperties.showseparator == 'Show' && /*#__PURE__*/React.createElement("div", {
57725
+ "class": "col-lg-12 p-0"
57726
+ }, /*#__PURE__*/React.createElement("hr", {
57727
+ "class": "mt-2 mb-2",
57728
+ style: {
57729
+ borderColor: sectionproperties.upperseparatorbgcolor
57730
+ }
57731
+ }))), /*#__PURE__*/React.createElement("div", {
57732
+ "class":
57733
+ // hena
57734
+ sectionproperties.paddingLeft != 0 && sectionproperties.paddingRight != 0 ? section_cssstyles.cards_sections + ' row ml-0 mr-0 d-flex w-100 justify-content-center align-items-center pl-md-1 pr-md-1 ' : sectionproperties.paddingRight != 0 ? section_cssstyles.cards_sections + ' row ml-0 mr-0 d-flex w-100 justify-content-center align-items-center pr-md-2 ' : sectionproperties.paddingLeft != 0 ? section_cssstyles.cards_sections + ' row ml-0 mr-0 d-flex w-100 justify-content-center align-items-center pl-md-2 ' : section_cssstyles.cards_sections + ' row ml-0 mr-0 d-flex w-100 justify-content-center align-items-center '
57735
+ }, /*#__PURE__*/React.createElement("div", {
57736
+ "class": "row m-0 w-100 "
57737
+ }, /*#__PURE__*/React.createElement("div", {
57738
+ "class": sectionproperties.imagepadding == 0 ? section_cssstyles.cardcont + ' col-lg-6 p-md-0 cursor-pointer ' : section_cssstyles.cardcont + ' col-lg-6 mb-md-2 cursor-pointer ',
57739
+ style: {
57740
+ paddingLeft: sectionproperties.imagepadding + 'px',
57741
+ paddingRight: sectionproperties.imagepadding + 'px'
57742
+ },
57743
+ onClick: function onClick() {
57744
+ var _cardsarray$37;
57745
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ((_cardsarray$37 = cardsarray[0]) === null || _cardsarray$37 === void 0 ? void 0 : _cardsarray$37.collectionid));
57746
+ }
57747
+ }, /*#__PURE__*/React.createElement("div", {
57748
+ "class": "row m-0 w-100",
57749
+ style: {
57750
+ width: '100%'
57751
+ }
57752
+ }, /*#__PURE__*/React.createElement("div", {
57753
+ "class": section_cssstyles.bgcontaineryb1 + ' col-lg-12 p-0 ',
57754
+ style: {
57755
+ width: '100%'
57756
+ }
57757
+ }, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
57758
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
57759
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
57760
+ path: (_cardsarray$38 = cardsarray[0]) === null || _cardsarray$38 === void 0 ? void 0 : _cardsarray$38.image,
57761
+ loading: "lazy",
57762
+ style: {
57763
+ width: '100%',
57764
+ height: '100%',
57765
+ borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
57766
+ borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
57767
+ borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
57768
+ borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
57769
+ objectFit: 'cover',
57770
+ zIndex: 1
57771
+ }
57772
+ })), /*#__PURE__*/React.createElement("div", {
57773
+ "class": 'col-lg-12 p-0 text-start'
57774
+ }, /*#__PURE__*/React.createElement("div", {
57775
+ "class": sectionproperties.generaltext_position == 'Centered' ? 'row m-0 w-100 py-3 h-100 allcentered' : 'row m-0 w-100 py-3'
57776
+ }, /*#__PURE__*/React.createElement("div", {
57777
+ "class": sectionproperties.generaltext_position == 'Centered' ? 'col-lg-12 p-0 d-flex allcentered' : 'col-lg-12 p-0 d-flex justify-content-start'
57778
+ }, /*#__PURE__*/React.createElement("p", {
57779
+ "class": section_cssstyles.collectionname + ' m-0 p-0 '
57780
+ }, langdetect == 'en' ? (_cardsarray$39 = cardsarray[0]) === null || _cardsarray$39 === void 0 ? void 0 : _cardsarray$39.name_en : (_cardsarray$40 = cardsarray[0]) === null || _cardsarray$40 === void 0 ? void 0 : _cardsarray$40.name_ar)), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
57781
+ "class": sectionproperties.generaltext_position == 'Centered' ? 'col-lg-12 p-0 d-flex allcentered' : 'col-lg-12 p-0 d-flex justify-content-start'
57782
+ }, /*#__PURE__*/React.createElement("p", {
57783
+ "class": section_cssstyles.collectioncardbutton + ' collectioncardbutton m-0 p-0 allcentered '
57784
+ }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))), /*#__PURE__*/React.createElement("div", {
57785
+ "class": 'col-lg-6 pl-0 pr-0'
57786
+ }, /*#__PURE__*/React.createElement("div", {
57787
+ "class": "row m-0 w-100"
57788
+ }, /*#__PURE__*/React.createElement("div", {
57789
+ "class": sectionproperties.imagepadding == 0 ? section_cssstyles.cardcont + ' col-lg-12 col-md-6 cursor-pointer ' : section_cssstyles.cardcont + ' col-lg-12 col-md-6 mb-md-3 cursor-pointer ',
57790
+ onClick: function onClick() {
57791
+ var _cardsarray$41;
57792
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ((_cardsarray$41 = cardsarray[1]) === null || _cardsarray$41 === void 0 ? void 0 : _cardsarray$41.collectionid));
57793
+ },
57794
+ style: {
57795
+ paddingLeft: sectionproperties.imagepadding + 'px',
57796
+ paddingRight: sectionproperties.imagepadding + 'px',
57797
+ marginBottom: sectionproperties.imagepadding == 0 ? 0 : '1rem'
57798
+ }
57799
+ }, /*#__PURE__*/React.createElement("div", {
57800
+ "class": "row m-0 w-100",
57801
+ style: {
57802
+ width: '100%'
57803
+ }
57804
+ }, /*#__PURE__*/React.createElement("div", {
57805
+ "class": section_cssstyles.bgcontaineryb + ' col-lg-12 p-0 ',
57806
+ style: {}
57807
+ }, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
57808
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
57809
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
57810
+ path: (_cardsarray$42 = cardsarray[1]) === null || _cardsarray$42 === void 0 ? void 0 : _cardsarray$42.image,
57811
+ loading: "lazy",
57812
+ style: {
57813
+ width: '100%',
57814
+ height: '100%',
57815
+ borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
57816
+ borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
57817
+ borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
57818
+ borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
57819
+ objectFit: 'cover',
57820
+ zIndex: 1
57821
+ }
57822
+ })), /*#__PURE__*/React.createElement("div", {
57823
+ "class": ' col-12 text-start p-0 '
57824
+ }, /*#__PURE__*/React.createElement("div", {
57825
+ "class": sectionproperties.generaltext_position == 'Centered' ? 'row m-0 w-100 py-3 h-100 allcentered' : 'row m-0 w-100 py-3 mt-auto'
57826
+ }, /*#__PURE__*/React.createElement("div", {
57827
+ "class": "col-lg-12 p-0 text-start"
57828
+ }, /*#__PURE__*/React.createElement("p", {
57829
+ "class": section_cssstyles.collectionname + ' m-0 p-0 '
57830
+ }, langdetect == 'en' ? (_cardsarray$43 = cardsarray[1]) === null || _cardsarray$43 === void 0 ? void 0 : _cardsarray$43.name_en : (_cardsarray$44 = cardsarray[1]) === null || _cardsarray$44 === void 0 ? void 0 : _cardsarray$44.name_ar)), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
57831
+ "class": "col-lg-12 p-0 text-start"
57832
+ }, /*#__PURE__*/React.createElement("p", {
57833
+ "class": section_cssstyles.collectioncardbutton + ' collectioncardbutton m-0 p-0 allcentered '
57834
+ }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))), /*#__PURE__*/React.createElement("div", {
57835
+ "class": sectionproperties.imagepadding == 0 ? section_cssstyles.cardcont + ' col-lg-12 col-md-6 p-md-0 cursor-pointer ' : section_cssstyles.cardcont + ' col-lg-12 col-md-6 mb-md-3 cursor-pointer ',
57836
+ style: {
57837
+ paddingLeft: sectionproperties.imagepadding + 'px',
57838
+ paddingRight: sectionproperties.imagepadding + 'px',
57839
+ marginBottom: sectionproperties.imagepadding == 0 ? 0 : '1rem'
57840
+ },
57841
+ onClick: function onClick() {
57842
+ var _cardsarray$45;
57843
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ((_cardsarray$45 = cardsarray[2]) === null || _cardsarray$45 === void 0 ? void 0 : _cardsarray$45.collectionid));
57844
+ }
57845
+ }, /*#__PURE__*/React.createElement("div", {
57846
+ "class": "row m-0 w-100",
57847
+ style: {
57848
+ width: '100%'
57849
+ }
57850
+ }, /*#__PURE__*/React.createElement("div", {
57851
+ "class": section_cssstyles.bgcontaineryb + ' col-lg-12 p-0 ',
57852
+ style: {}
57853
+ }, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
57854
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
57855
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
57856
+ path: (_cardsarray$46 = cardsarray[2]) === null || _cardsarray$46 === void 0 ? void 0 : _cardsarray$46.image,
57857
+ loading: "lazy",
57858
+ style: {
57859
+ width: '100%',
57860
+ height: '100%',
57861
+ borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
57862
+ borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
57863
+ borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
57864
+ borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
57865
+ objectFit: 'cover',
57866
+ zIndex: 1
57867
+ }
57868
+ })), /*#__PURE__*/React.createElement("div", {
57869
+ "class": ' col-12 text-start p-0'
57870
+ }, /*#__PURE__*/React.createElement("div", {
57871
+ "class": sectionproperties.generaltext_position == 'Centered' ? 'row m-0 w-100 py-3 h-100 allcentered' : 'row m-0 w-100 py-3 mt-auto'
57872
+ }, /*#__PURE__*/React.createElement("div", {
57873
+ "class": "col-lg-12 p-0 text-start"
57874
+ }, /*#__PURE__*/React.createElement("p", {
57875
+ "class": section_cssstyles.collectionname + ' m-0 p-0 '
57876
+ }, langdetect == 'en' ? (_cardsarray$47 = cardsarray[2]) === null || _cardsarray$47 === void 0 ? void 0 : _cardsarray$47.name_en : (_cardsarray$48 = cardsarray[2]) === null || _cardsarray$48 === void 0 ? void 0 : _cardsarray$48.name_ar)), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
57877
+ "class": "col-lg-12 p-0 text-start"
57878
+ }, /*#__PURE__*/React.createElement("p", {
57879
+ "class": section_cssstyles.collectioncardbutton + ' collectioncardbutton m-0 p-0 allcentered '
57880
+ }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))))))))))));
57649
57881
  };
57650
57882
  return /*#__PURE__*/React.createElement("div", {
57651
57883
  "class": "row m-0 d-flex w-100 justify-content-center",
@@ -64164,11 +64396,11 @@ var DynamicForm = function DynamicForm(props) {
64164
64396
  background: sectionproperties.backgroundColor,
64165
64397
  paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
64166
64398
  paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
64167
- paddingTop: sectionproperties.paddingTop + 'px',
64168
- paddingBottom: sectionproperties.paddingBottom + 'px',
64399
+ paddingTop: sectionproperties.cardpaddingvertical != 0 ? sectionproperties.cardpaddingvertical : sectionproperties.paddingTop + 'px',
64400
+ paddingBottom: sectionproperties.cardpaddingvertical != 0 ? sectionproperties.cardpaddingvertical : sectionproperties.paddingBottom + 'px',
64169
64401
  '@media (max-width: 800px)': {
64170
- paddingTop: sectionproperties.paddingtopresponsive + 'px',
64171
- paddingBottom: sectionproperties.paddingbottomresponsive + 'px'
64402
+ paddingTop: sectionproperties.cardpaddingvertical != 0 ? sectionproperties.cardpaddingvertical : sectionproperties.paddingtopresponsive + 'px',
64403
+ paddingBottom: sectionproperties.cardpaddingvertical != 0 ? sectionproperties.cardpaddingvertical : sectionproperties.paddingbottomresponsive + 'px'
64172
64404
  }
64173
64405
  })
64174
64406
  };
@@ -85032,6 +85264,10 @@ var Simpleproductcard = function Simpleproductcard(props) {
85032
85264
  right: 10,
85033
85265
  transform: "translateX(0px)"
85034
85266
  }
85267
+ // ':hover .pname': {
85268
+ // textDecoration: 'underline',
85269
+ // transition: '.3s',
85270
+ // },
85035
85271
  }),
85036
85272
  productcardimagecont: css({
85037
85273
  position: 'relative',
@@ -85656,7 +85892,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
85656
85892
  cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid);
85657
85893
  }
85658
85894
  },
85659
- "class": sectionproperties.wordbreak == '1' ? "".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak1 font-md-13 m-0 ' : "".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak2 font-md-13 wordbreak-md-4 m-0 ',
85895
+ "class": sectionproperties.wordbreak == '1' ? "".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak1 font-md-13 m-0 pname ' : "".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak2 font-md-13 wordbreak-md-4 m-0 pname ',
85660
85896
  style: {
85661
85897
  textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
85662
85898
  }
package/dist/index.umd.js CHANGED
@@ -3340,7 +3340,7 @@
3340
3340
  overflow: 'hidden'
3341
3341
  }
3342
3342
  }, /*#__PURE__*/React__default["default"].createElement("button", {
3343
- className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' d-flex align-items-center justify-content-center mb-sm-2 ',
3343
+ className: "".concat(productinfo_cssstyles.buynow, " ") + ' d-flex align-items-center justify-content-center mb-sm-2 ',
3344
3344
  style: {
3345
3345
  width: sectionproperties.cartBtnWidth + '%'
3346
3346
  },
@@ -7689,6 +7689,29 @@
7689
7689
  borderColor: sectionproperties.cartBtnTextcoloronhover
7690
7690
  }
7691
7691
  }),
7692
+ buynow: glamor.css({
7693
+ position: 'relative',
7694
+ display: 'flex',
7695
+ alignItems: 'center',
7696
+ justifyContent: 'center',
7697
+ overflow: 'hidden',
7698
+ width: sectionproperties.cartBtnWidth + 'px',
7699
+ height: sectionproperties.cartBtnHeight + 'px',
7700
+ background: sectionproperties.buynowbgcolor,
7701
+ borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
7702
+ color: sectionproperties.buynowtextcolor,
7703
+ fontSize: sectionproperties.cartBtnTextfontsize + 'px',
7704
+ textTransform: sectionproperties.cartBtnTexttransform,
7705
+ fontWeight: sectionproperties.cartBtnTextfontweight,
7706
+ border: sectionproperties.buynowborderwidth + 'px solid ' + sectionproperties.buynowbordercolor,
7707
+ margin: 0,
7708
+ transition: '.3s',
7709
+ ':hover': {
7710
+ background: sectionproperties.buynowbgcoloronhover,
7711
+ color: sectionproperties.buynowtextcoloronhover,
7712
+ borderColor: sectionproperties.buynowtextcoloronhover
7713
+ }
7714
+ }),
7692
7715
  sizeguidebtn2: glamor.css({
7693
7716
  position: 'relative',
7694
7717
  display: 'flex',
@@ -22700,7 +22723,9 @@
22700
22723
  paddingRight: langdetect == 'en' ? sectionproperties.subheader_paddingRight + 'px' : sectionproperties.subheader_paddingLeft + 'px'
22701
22724
  }
22702
22725
  }, sectionproperties.subheaderpositionfromhome == 'Right After Home' && /*#__PURE__*/React__default["default"].createElement("div", {
22703
- "class": "".concat(headerstyles$f.nav__item) + ' scrollhorizontal flex-row align-items-center w-100 justify-content-md-center ',
22726
+ "class": "".concat(headerstyles$f.nav__item) + ' flex-row align-items-center w-100 justify-content-md-center '
22727
+ // scrollhorizontal
22728
+ ,
22704
22729
  style: {
22705
22730
  zIndex: 1000,
22706
22731
  justifyContent: ((_props$subheaderprope2 = props.subheaderpropertiesprops) === null || _props$subheaderprope2 === void 0 ? void 0 : _props$subheaderprope2.subheadercontentpositionprops) == 'center' ? 'center' : 'start',
@@ -22717,7 +22742,9 @@
22717
22742
  setshowdownheadermenu(false);
22718
22743
  setChoosenindex('');
22719
22744
  },
22720
- "class": "scrollhorizontalcard mb-0 pb-0",
22745
+ "class": "mb-0 pb-0"
22746
+ // scrollhorizontalcard
22747
+ ,
22721
22748
  style: {
22722
22749
  marginLeft: props === null || props === void 0 || (_props$subheaderprope5 = props.subheaderpropertiesprops) === null || _props$subheaderprope5 === void 0 ? void 0 : _props$subheaderprope5.paddingLeftprops,
22723
22750
  marginRight: props === null || props === void 0 || (_props$subheaderprope6 = props.subheaderpropertiesprops) === null || _props$subheaderprope6 === void 0 ? void 0 : _props$subheaderprope6.paddingLeftprops
@@ -29440,7 +29467,7 @@
29440
29467
  function ownKeys$1_(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
29441
29468
  function _objectSpread$1_(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1_(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1_(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
29442
29469
  var ClassicHeader = function ClassicHeader(props) {
29443
- var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$c3, _authdetailsContext$c4, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _templatepropcontext$;
29470
+ var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$c3, _authdetailsContext$c4, _authdetailsContext$i, _authdetailsContext$i2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _templatepropcontext$;
29444
29471
  var LogoutMutationContext = props.actions.LogoutMutationContext;
29445
29472
  var setsidecartnavshowcontext = props.actions.setsidecartnavshowcontext;
29446
29473
  var setSearchHeaderInputContext = props.actions.setSearchHeaderInputContext;
@@ -29971,7 +29998,7 @@
29971
29998
  "class": langdetect == 'en' ? 'mr-2' : 'ml-2'
29972
29999
  })), /*#__PURE__*/React__default["default"].createElement("p", {
29973
30000
  "class": ' allcenetered m-0 p-0 '
29974
- }, lang.logout))))), /*#__PURE__*/React__default["default"].createElement("div", {
30001
+ }, lang.logout))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.instid) == '67feabc28870e' && /*#__PURE__*/React__default["default"].createElement("div", {
29975
30002
  "class": "".concat(header_cssstyles.wishlist_btn) + ' wishlist_btn d-flex justify-content-center align-items-center ',
29976
30003
  style: {
29977
30004
  marginRight: langdetect == 'en' ? '2.2rem' : '',
@@ -29994,7 +30021,7 @@
29994
30021
  marginLeft: langdetect == 'en' ? '8px' : 0,
29995
30022
  marginRight: langdetect == 'ar' ? '8px' : 0
29996
30023
  }
29997
- }, lang.wishlist)), /*#__PURE__*/React__default["default"].createElement("div", {
30024
+ }, lang.wishlist)), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.instid) == '67feabc28870e' && /*#__PURE__*/React__default["default"].createElement("div", {
29998
30025
  "class": header_cssstyles.cartbtncontainer + ' d-flex flex-row align-items-center justify-content-end ',
29999
30026
  style: {
30000
30027
  marginRight: langdetect == 'en' ? '2.2rem' : '',
@@ -30035,7 +30062,7 @@
30035
30062
  marginRight: langdetect == 'ar' ? '9px' : 0,
30036
30063
  color: sectionproperties.cartBtnTextcolor
30037
30064
  }
30038
- }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue4 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue4 === void 0 || (_fetchcustomercartQue4 = _fetchcustomercartQue4.data) === null || _fetchcustomercartQue4 === void 0 || (_fetchcustomercartQue4 = _fetchcustomercartQue4.customercart) === null || _fetchcustomercartQue4 === void 0 ? void 0 : _fetchcustomercartQue4.totalprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
30065
+ }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue4 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue4 === void 0 || (_fetchcustomercartQue4 = _fetchcustomercartQue4.data) === null || _fetchcustomercartQue4 === void 0 || (_fetchcustomercartQue4 = _fetchcustomercartQue4.customercart) === null || _fetchcustomercartQue4 === void 0 ? void 0 : _fetchcustomercartQue4.totalprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
30039
30066
  "class": langdetect == 'en' ? 'headerdropdownml' : 'headerdropdownmr'
30040
30067
  }, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"], null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Toggle, null, /*#__PURE__*/React__default["default"].createElement("li", {
30041
30068
  "class": ' d-flex align-items-center justify-content-center '
@@ -56933,10 +56960,22 @@
56933
56960
  '@media (max-width: 800px)': {
56934
56961
  height: '25vh'
56935
56962
  }
56963
+ }),
56964
+ bgcontaineryb: glamor.css(_defineProperty__default["default"](_defineProperty__default["default"]({
56965
+ width: '100%',
56966
+ height: '100%'
56967
+ }, "height", sectionproperties.image2_height == 0 ? '100%' : sectionproperties.image2_height + 'vh'), '@media (max-width: 800px)', {
56968
+ height: '25vh'
56969
+ })),
56970
+ bgcontaineryb1: glamor.css({
56971
+ height: sectionproperties.image_height == 0 ? '100%' : sectionproperties.image_height + 'vh',
56972
+ '@media (max-width: 800px)': {
56973
+ height: '60vh'
56974
+ }
56936
56975
  })
56937
56976
  };
56938
56977
  var cardsrender = function cardsrender() {
56939
- var _authdetailsContext$i, _cardsarray$2, _cardsarray$3, _cardsarray$4, _cardsarray$6, _cardsarray$7, _cardsarray$8, _cardsarray$10, _cardsarray$11, _cardsarray$12, _cardsarray$14, _cardsarray$15, _cardsarray$16, _cardsarray$18, _cardsarray$19, _cardsarray$20, _authdetailsContext$i2, _cardsarray$22, _cardsarray$23, _cardsarray$24, _cardsarray$26, _cardsarray$27, _cardsarray$28, _cardsarray$30, _cardsarray$31, _cardsarray$32, _cardsarray$34, _cardsarray$35, _cardsarray$36;
56978
+ var _authdetailsContext$i, _authdetailsContext$i2, _cardsarray$2, _cardsarray$3, _cardsarray$4, _cardsarray$6, _cardsarray$7, _cardsarray$8, _cardsarray$10, _cardsarray$11, _cardsarray$12, _cardsarray$14, _cardsarray$15, _cardsarray$16, _cardsarray$18, _cardsarray$19, _cardsarray$20, _authdetailsContext$i3, _cardsarray$22, _cardsarray$23, _cardsarray$24, _cardsarray$26, _cardsarray$27, _cardsarray$28, _cardsarray$30, _cardsarray$31, _cardsarray$32, _cardsarray$34, _cardsarray$35, _cardsarray$36, _authdetailsContext$i4, _cardsarray$38, _cardsarray$39, _cardsarray$40, _cardsarray$42, _cardsarray$43, _cardsarray$44, _cardsarray$46, _cardsarray$47, _cardsarray$48;
56940
56979
  return /*#__PURE__*/React__default["default"].createElement("div", {
56941
56980
  "class": 'row m-0 w-100'
56942
56981
  }, !fetchProductsQuery.isFetching && cardsarray.length == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
@@ -56958,7 +56997,7 @@
56958
56997
  textTransform: sectionproperties.noprod_textTransform,
56959
56998
  color: sectionproperties.noprod_color
56960
56999
  }
56961
- }, langdetect == 'en' ? 'No Collections Found' : 'لا توجد مجموعات'))), cardsarray.length != 0 && sectionproperties.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
57000
+ }, langdetect == 'en' ? 'No Collections Found' : 'لا توجد مجموعات'))), cardsarray.length != 0 && sectionproperties.length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) != '67fce91a4032d' && /*#__PURE__*/React__default["default"].createElement("div", {
56962
57001
  "class": "row m-0 w-100 d-flex align-items-center p-sm-0"
56963
57002
  }, /*#__PURE__*/React__default["default"].createElement("div", {
56964
57003
  "class": "row ml-0 mr-0 w-100 pl-md-1 pr-md-1 pl-sm-2 pr-sm-2",
@@ -57004,7 +57043,7 @@
57004
57043
  }
57005
57044
  }))), /*#__PURE__*/React__default["default"].createElement("div", {
57006
57045
  "class": sectionproperties.paddingLeft != 0 && sectionproperties.paddingRight != 0 ? section_cssstyles.cards_sections + ' row ml-0 mr-0 d-flex w-100 justify-content-center align-items-center pl-md-2 pr-md-2 ' : sectionproperties.paddingRight != 0 ? section_cssstyles.cards_sections + ' row ml-0 mr-0 d-flex w-100 justify-content-center align-items-center pr-md-2 ' : sectionproperties.paddingLeft != 0 ? section_cssstyles.cards_sections + ' row ml-0 mr-0 d-flex w-100 justify-content-center align-items-center pl-md-2 ' : section_cssstyles.cards_sections + ' row ml-0 mr-0 d-flex w-100 justify-content-center align-items-center '
57007
- }, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) != '672258d7826b4' && /*#__PURE__*/React__default["default"].createElement("div", {
57046
+ }, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) != '672258d7826b4' && /*#__PURE__*/React__default["default"].createElement("div", {
57008
57047
  "class": "row m-0 w-100 "
57009
57048
  }, /*#__PURE__*/React__default["default"].createElement("div", {
57010
57049
  "class": (cardsarray === null || cardsarray === void 0 ? void 0 : cardsarray.length) < 5 ? sectionproperties.imagepadding == 0 ? section_cssstyles.cardcont + ' col-lg-6 cursor-pointer ' : section_cssstyles.cardcont + ' col-lg-6 mb-md-3 cursor-pointer ' : sectionproperties.imagepadding == 0 ? section_cssstyles.cardcont + ' col-lg-6 p-md-0 cursor-pointer ' : section_cssstyles.cardcont + ' col-lg-6 p-md-0 mb-md-3 cursor-pointer ',
@@ -57295,7 +57334,7 @@
57295
57334
  "class": sectionproperties.generaltext_position == 'Centered' ? 'col-lg-12 p-0 d-flex allcentered' : 'col-lg-12 p-0 d-flex justify-content-start'
57296
57335
  }, /*#__PURE__*/React__default["default"].createElement("p", {
57297
57336
  "class": section_cssstyles.collectioncardbutton + ' m-0 p-0 allcentered collectioncardbutton '
57298
- }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))))))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '672258d7826b4' && /*#__PURE__*/React__default["default"].createElement("div", {
57337
+ }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))))))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '672258d7826b4' && /*#__PURE__*/React__default["default"].createElement("div", {
57299
57338
  "class": "row m-0 w-100 "
57300
57339
  }, /*#__PURE__*/React__default["default"].createElement("div", {
57301
57340
  "class": sectionproperties.imagepadding == 0 ? section_cssstyles.cardcont + ' col-6 p-md-0 cursor-pointer ' : section_cssstyles.cardcont + ' col-6 p-md-0 mb-md-3 cursor-pointer '
@@ -57506,7 +57545,200 @@
57506
57545
  "class": "col-lg-12 p-0 d-flex allcentered h-100"
57507
57546
  }, /*#__PURE__*/React__default["default"].createElement("p", {
57508
57547
  "class": section_cssstyles.collectionname + ' m-0 p-0 '
57509
- }, langdetect == 'en' ? (_cardsarray$35 = cardsarray[3]) === null || _cardsarray$35 === void 0 ? void 0 : _cardsarray$35.name_en : (_cardsarray$36 = cardsarray[3]) === null || _cardsarray$36 === void 0 ? void 0 : _cardsarray$36.name_ar))))))))))));
57548
+ }, langdetect == 'en' ? (_cardsarray$35 = cardsarray[3]) === null || _cardsarray$35 === void 0 ? void 0 : _cardsarray$35.name_en : (_cardsarray$36 = cardsarray[3]) === null || _cardsarray$36 === void 0 ? void 0 : _cardsarray$36.name_ar))))))))))), cardsarray.length != 0 && sectionproperties.length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '67fce91a4032d' && /*#__PURE__*/React__default["default"].createElement("div", {
57549
+ "class": "row m-0 w-100 d-flex align-items-center p-sm-0"
57550
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
57551
+ "class": "row ml-0 mr-0 w-100 pl-md-1 pr-md-1 pl-sm-2 pr-sm-2",
57552
+ style: {
57553
+ marginTop: sectionproperties.sectionTitleMarginTop + 'px',
57554
+ marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
57555
+ paddingLeft: sectionproperties.sectionTitleMarginLeft + 'px',
57556
+ paddingRight: sectionproperties.sectionTitleMarginRight + 'px'
57557
+ }
57558
+ }, sectionproperties.sectiontitleshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
57559
+ "class": sectionproperties.viewmorebtnshow == 'Show' ? ' col-lg-6 col-md-6 col-sm-6 d-flex align-items-center p-0 ' : ' col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0 '
57560
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
57561
+ "class": "".concat(generalstyles.sectiontitlecont) + ' col-lg-12 p-0 d-flex align-items-center mb-auto ',
57562
+ style: {
57563
+ justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start'
57564
+ }
57565
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
57566
+ "class": "d-flex align-items-center flex-row",
57567
+ style: {
57568
+ position: 'relative',
57569
+ justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : '',
57570
+ width: sectionproperties.sectiontitlestyle == 'Line Before Text' ? '100%' : ''
57571
+ }
57572
+ }, sectionproperties.sectiontitlestyle == 'Line Before Text' && /*#__PURE__*/React__default["default"].createElement("span", {
57573
+ "class": section_cssstyles.line_left + ' d-sm-none '
57574
+ }), /*#__PURE__*/React__default["default"].createElement("p", {
57575
+ "class": "".concat(section_cssstyles.sectiontitlespan) + ' mb-auto mb-0 pb-0 font-sm-18 font-md-20 wordbreak d-flex align-items-center justify-content-start ',
57576
+ style: {
57577
+ fontSize: sectionproperties.sectionTitleFontSize + 'px',
57578
+ color: sectionproperties.sectionTitleColor,
57579
+ fontWeight: sectionproperties.sectionTitleFontWeight,
57580
+ paddingLeft: sectionproperties.sectiontitlestyle == 'Line Before Text' ? '12px' : 0,
57581
+ paddingRight: sectionproperties.sectiontitlestyle == 'Line Before Text' ? '12px' : 0
57582
+ }
57583
+ }, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar), sectionproperties.sectiontitlestyle == 'Line Before Text' && /*#__PURE__*/React__default["default"].createElement("span", {
57584
+ "class": section_cssstyles.line_right + ' d-sm-none '
57585
+ })))), sectionproperties.showseparator == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
57586
+ "class": "col-lg-12 p-0"
57587
+ }, /*#__PURE__*/React__default["default"].createElement("hr", {
57588
+ "class": "mt-2 mb-2",
57589
+ style: {
57590
+ borderColor: sectionproperties.upperseparatorbgcolor
57591
+ }
57592
+ }))), /*#__PURE__*/React__default["default"].createElement("div", {
57593
+ "class":
57594
+ // hena
57595
+ sectionproperties.paddingLeft != 0 && sectionproperties.paddingRight != 0 ? section_cssstyles.cards_sections + ' row ml-0 mr-0 d-flex w-100 justify-content-center align-items-center pl-md-1 pr-md-1 ' : sectionproperties.paddingRight != 0 ? section_cssstyles.cards_sections + ' row ml-0 mr-0 d-flex w-100 justify-content-center align-items-center pr-md-2 ' : sectionproperties.paddingLeft != 0 ? section_cssstyles.cards_sections + ' row ml-0 mr-0 d-flex w-100 justify-content-center align-items-center pl-md-2 ' : section_cssstyles.cards_sections + ' row ml-0 mr-0 d-flex w-100 justify-content-center align-items-center '
57596
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
57597
+ "class": "row m-0 w-100 "
57598
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
57599
+ "class": sectionproperties.imagepadding == 0 ? section_cssstyles.cardcont + ' col-lg-6 p-md-0 cursor-pointer ' : section_cssstyles.cardcont + ' col-lg-6 mb-md-2 cursor-pointer ',
57600
+ style: {
57601
+ paddingLeft: sectionproperties.imagepadding + 'px',
57602
+ paddingRight: sectionproperties.imagepadding + 'px'
57603
+ },
57604
+ onClick: function onClick() {
57605
+ var _cardsarray$37;
57606
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ((_cardsarray$37 = cardsarray[0]) === null || _cardsarray$37 === void 0 ? void 0 : _cardsarray$37.collectionid));
57607
+ }
57608
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
57609
+ "class": "row m-0 w-100",
57610
+ style: {
57611
+ width: '100%'
57612
+ }
57613
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
57614
+ "class": section_cssstyles.bgcontaineryb1 + ' col-lg-12 p-0 ',
57615
+ style: {
57616
+ width: '100%'
57617
+ }
57618
+ }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
57619
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
57620
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
57621
+ path: (_cardsarray$38 = cardsarray[0]) === null || _cardsarray$38 === void 0 ? void 0 : _cardsarray$38.image,
57622
+ loading: "lazy",
57623
+ style: {
57624
+ width: '100%',
57625
+ height: '100%',
57626
+ borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
57627
+ borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
57628
+ borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
57629
+ borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
57630
+ objectFit: 'cover',
57631
+ zIndex: 1
57632
+ }
57633
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
57634
+ "class": 'col-lg-12 p-0 text-start'
57635
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
57636
+ "class": sectionproperties.generaltext_position == 'Centered' ? 'row m-0 w-100 py-3 h-100 allcentered' : 'row m-0 w-100 py-3'
57637
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
57638
+ "class": sectionproperties.generaltext_position == 'Centered' ? 'col-lg-12 p-0 d-flex allcentered' : 'col-lg-12 p-0 d-flex justify-content-start'
57639
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
57640
+ "class": section_cssstyles.collectionname + ' m-0 p-0 '
57641
+ }, langdetect == 'en' ? (_cardsarray$39 = cardsarray[0]) === null || _cardsarray$39 === void 0 ? void 0 : _cardsarray$39.name_en : (_cardsarray$40 = cardsarray[0]) === null || _cardsarray$40 === void 0 ? void 0 : _cardsarray$40.name_ar)), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
57642
+ "class": sectionproperties.generaltext_position == 'Centered' ? 'col-lg-12 p-0 d-flex allcentered' : 'col-lg-12 p-0 d-flex justify-content-start'
57643
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
57644
+ "class": section_cssstyles.collectioncardbutton + ' collectioncardbutton m-0 p-0 allcentered '
57645
+ }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))), /*#__PURE__*/React__default["default"].createElement("div", {
57646
+ "class": 'col-lg-6 pl-0 pr-0'
57647
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
57648
+ "class": "row m-0 w-100"
57649
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
57650
+ "class": sectionproperties.imagepadding == 0 ? section_cssstyles.cardcont + ' col-lg-12 col-md-6 cursor-pointer ' : section_cssstyles.cardcont + ' col-lg-12 col-md-6 mb-md-3 cursor-pointer ',
57651
+ onClick: function onClick() {
57652
+ var _cardsarray$41;
57653
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ((_cardsarray$41 = cardsarray[1]) === null || _cardsarray$41 === void 0 ? void 0 : _cardsarray$41.collectionid));
57654
+ },
57655
+ style: {
57656
+ paddingLeft: sectionproperties.imagepadding + 'px',
57657
+ paddingRight: sectionproperties.imagepadding + 'px',
57658
+ marginBottom: sectionproperties.imagepadding == 0 ? 0 : '1rem'
57659
+ }
57660
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
57661
+ "class": "row m-0 w-100",
57662
+ style: {
57663
+ width: '100%'
57664
+ }
57665
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
57666
+ "class": section_cssstyles.bgcontaineryb + ' col-lg-12 p-0 ',
57667
+ style: {}
57668
+ }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
57669
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
57670
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
57671
+ path: (_cardsarray$42 = cardsarray[1]) === null || _cardsarray$42 === void 0 ? void 0 : _cardsarray$42.image,
57672
+ loading: "lazy",
57673
+ style: {
57674
+ width: '100%',
57675
+ height: '100%',
57676
+ borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
57677
+ borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
57678
+ borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
57679
+ borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
57680
+ objectFit: 'cover',
57681
+ zIndex: 1
57682
+ }
57683
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
57684
+ "class": ' col-12 text-start p-0 '
57685
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
57686
+ "class": sectionproperties.generaltext_position == 'Centered' ? 'row m-0 w-100 py-3 h-100 allcentered' : 'row m-0 w-100 py-3 mt-auto'
57687
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
57688
+ "class": "col-lg-12 p-0 text-start"
57689
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
57690
+ "class": section_cssstyles.collectionname + ' m-0 p-0 '
57691
+ }, langdetect == 'en' ? (_cardsarray$43 = cardsarray[1]) === null || _cardsarray$43 === void 0 ? void 0 : _cardsarray$43.name_en : (_cardsarray$44 = cardsarray[1]) === null || _cardsarray$44 === void 0 ? void 0 : _cardsarray$44.name_ar)), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
57692
+ "class": "col-lg-12 p-0 text-start"
57693
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
57694
+ "class": section_cssstyles.collectioncardbutton + ' collectioncardbutton m-0 p-0 allcentered '
57695
+ }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))), /*#__PURE__*/React__default["default"].createElement("div", {
57696
+ "class": sectionproperties.imagepadding == 0 ? section_cssstyles.cardcont + ' col-lg-12 col-md-6 p-md-0 cursor-pointer ' : section_cssstyles.cardcont + ' col-lg-12 col-md-6 mb-md-3 cursor-pointer ',
57697
+ style: {
57698
+ paddingLeft: sectionproperties.imagepadding + 'px',
57699
+ paddingRight: sectionproperties.imagepadding + 'px',
57700
+ marginBottom: sectionproperties.imagepadding == 0 ? 0 : '1rem'
57701
+ },
57702
+ onClick: function onClick() {
57703
+ var _cardsarray$45;
57704
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ((_cardsarray$45 = cardsarray[2]) === null || _cardsarray$45 === void 0 ? void 0 : _cardsarray$45.collectionid));
57705
+ }
57706
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
57707
+ "class": "row m-0 w-100",
57708
+ style: {
57709
+ width: '100%'
57710
+ }
57711
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
57712
+ "class": section_cssstyles.bgcontaineryb + ' col-lg-12 p-0 ',
57713
+ style: {}
57714
+ }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
57715
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
57716
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
57717
+ path: (_cardsarray$46 = cardsarray[2]) === null || _cardsarray$46 === void 0 ? void 0 : _cardsarray$46.image,
57718
+ loading: "lazy",
57719
+ style: {
57720
+ width: '100%',
57721
+ height: '100%',
57722
+ borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
57723
+ borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
57724
+ borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
57725
+ borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
57726
+ objectFit: 'cover',
57727
+ zIndex: 1
57728
+ }
57729
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
57730
+ "class": ' col-12 text-start p-0'
57731
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
57732
+ "class": sectionproperties.generaltext_position == 'Centered' ? 'row m-0 w-100 py-3 h-100 allcentered' : 'row m-0 w-100 py-3 mt-auto'
57733
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
57734
+ "class": "col-lg-12 p-0 text-start"
57735
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
57736
+ "class": section_cssstyles.collectionname + ' m-0 p-0 '
57737
+ }, langdetect == 'en' ? (_cardsarray$47 = cardsarray[2]) === null || _cardsarray$47 === void 0 ? void 0 : _cardsarray$47.name_en : (_cardsarray$48 = cardsarray[2]) === null || _cardsarray$48 === void 0 ? void 0 : _cardsarray$48.name_ar)), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
57738
+ "class": "col-lg-12 p-0 text-start"
57739
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
57740
+ "class": section_cssstyles.collectioncardbutton + ' collectioncardbutton m-0 p-0 allcentered '
57741
+ }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))))))))))));
57510
57742
  };
57511
57743
  return /*#__PURE__*/React__default["default"].createElement("div", {
57512
57744
  "class": "row m-0 d-flex w-100 justify-content-center",
@@ -64025,11 +64257,11 @@
64025
64257
  background: sectionproperties.backgroundColor,
64026
64258
  paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
64027
64259
  paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
64028
- paddingTop: sectionproperties.paddingTop + 'px',
64029
- paddingBottom: sectionproperties.paddingBottom + 'px',
64260
+ paddingTop: sectionproperties.cardpaddingvertical != 0 ? sectionproperties.cardpaddingvertical : sectionproperties.paddingTop + 'px',
64261
+ paddingBottom: sectionproperties.cardpaddingvertical != 0 ? sectionproperties.cardpaddingvertical : sectionproperties.paddingBottom + 'px',
64030
64262
  '@media (max-width: 800px)': {
64031
- paddingTop: sectionproperties.paddingtopresponsive + 'px',
64032
- paddingBottom: sectionproperties.paddingbottomresponsive + 'px'
64263
+ paddingTop: sectionproperties.cardpaddingvertical != 0 ? sectionproperties.cardpaddingvertical : sectionproperties.paddingtopresponsive + 'px',
64264
+ paddingBottom: sectionproperties.cardpaddingvertical != 0 ? sectionproperties.cardpaddingvertical : sectionproperties.paddingbottomresponsive + 'px'
64033
64265
  }
64034
64266
  })
64035
64267
  };
@@ -84893,6 +85125,10 @@
84893
85125
  right: 10,
84894
85126
  transform: "translateX(0px)"
84895
85127
  }
85128
+ // ':hover .pname': {
85129
+ // textDecoration: 'underline',
85130
+ // transition: '.3s',
85131
+ // },
84896
85132
  }),
84897
85133
  productcardimagecont: glamor.css({
84898
85134
  position: 'relative',
@@ -85517,7 +85753,7 @@
85517
85753
  cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid);
85518
85754
  }
85519
85755
  },
85520
- "class": sectionproperties.wordbreak == '1' ? "".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak1 font-md-13 m-0 ' : "".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak2 font-md-13 wordbreak-md-4 m-0 ',
85756
+ "class": sectionproperties.wordbreak == '1' ? "".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak1 font-md-13 m-0 pname ' : "".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak2 font-md-13 wordbreak-md-4 m-0 pname ',
85521
85757
  style: {
85522
85758
  textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
85523
85759
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tabexseriescomponents",
3
- "version": "0.2.802",
3
+ "version": "0.2.804",
4
4
  "type": "module",
5
5
  "description": "your description",
6
6
  "main": "dist/index.cjs.js",