tabexseriescomponents 0.0.260 → 0.0.262

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
@@ -1097,7 +1097,7 @@ var Variantoptions = function Variantoptions(props) {
1097
1097
  props.actions.ikimagecredcontext;
1098
1098
  var ProductInfoObj = props.actions.ProductInfoObj;
1099
1099
  return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer === void 0 ? void 0 : (_fetchProductInfoQuer2 = _fetchProductInfoQuer.data) === null || _fetchProductInfoQuer2 === void 0 ? void 0 : (_fetchProductInfoQuer3 = _fetchProductInfoQuer2.productinfo) === null || _fetchProductInfoQuer3 === void 0 ? void 0 : _fetchProductInfoQuer3.hasvariants) == 1 && sectionproperties.productInformationType == 'Product/Service Information' && /*#__PURE__*/React__default["default"].createElement("div", {
1100
- className: "row m-0 w-100 d-flex align-items-start"
1100
+ className: "row m-0 w-100 d-flex align-items-start mt-3"
1101
1101
  }, ProductInfoObj === null || ProductInfoObj === void 0 ? void 0 : (_ProductInfoObj$data = ProductInfoObj.data) === null || _ProductInfoObj$data === void 0 ? void 0 : (_ProductInfoObj$data$ = _ProductInfoObj$data.productinfo) === null || _ProductInfoObj$data$ === void 0 ? void 0 : (_ProductInfoObj$data$2 = _ProductInfoObj$data$.productoptions) === null || _ProductInfoObj$data$2 === void 0 ? void 0 : _ProductInfoObj$data$2.map(function (item, index) {
1102
1102
  return /*#__PURE__*/React__default["default"].createElement("div", {
1103
1103
  className: "col-lg-12 p-0 mb-3 d-flex justify-content-start"
@@ -3741,7 +3741,7 @@ var Productinfo = function Productinfo(props) {
3741
3741
  "class": "col-lg-12 d-flex align-items-center justify-content-center p-0 "
3742
3742
  }, /*#__PURE__*/React__default["default"].createElement("p", {
3743
3743
  "class": "".concat(productinfo_cssstyles.relatedproductPricestyles) + ' m-0 '
3744
- }, item.productinfo.hasvariants == 1 ? item.productinfo.variants.variantsaleprice : item.productinfo.defaultsaleprice, ' ', langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar, ' '))))));
3744
+ }, item.productinfo.hassale == 1 ? item.productinfo.defaultsaleprice : item.productinfo.defaultprice, ' ', langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar, ' '))))));
3745
3745
  }
3746
3746
  }
3747
3747
  }))))));
@@ -13248,7 +13248,7 @@ var Headerresponsive = function Headerresponsive(props) {
13248
13248
  function ownKeys$1G(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
13249
13249
  function _objectSpread$1G(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1G(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1G(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
13250
13250
  var Gotoheader = function Gotoheader(props) {
13251
- var _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue9, _fetchcustomercartQue10;
13251
+ var _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue9;
13252
13252
  var _useState = React.useState(''),
13253
13253
  _useState2 = _slicedToArray__default["default"](_useState, 2),
13254
13254
  sectionproperties = _useState2[0],
@@ -13269,7 +13269,7 @@ var Gotoheader = function Gotoheader(props) {
13269
13269
  var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
13270
13270
  var ikimagecredcontext = props.actions.ikimagecredcontext;
13271
13271
  var actions = props.actions;
13272
- var history = props.actions.history;
13272
+ props.actions.history;
13273
13273
  React.useEffect(function () {
13274
13274
  var secpropobj = {};
13275
13275
  StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
@@ -13301,17 +13301,17 @@ var Gotoheader = function Gotoheader(props) {
13301
13301
  }
13302
13302
  }, [templateproperties_context]);
13303
13303
  var subtotalcart = function subtotalcart() {
13304
- var _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4;
13305
- var totalprice = 0;
13306
- fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 ? void 0 : (_fetchcustomercartQue2 = _fetchcustomercartQue.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : (_fetchcustomercartQue3 = _fetchcustomercartQue2.customercart) === null || _fetchcustomercartQue3 === void 0 ? void 0 : (_fetchcustomercartQue4 = _fetchcustomercartQue3.cartitems) === null || _fetchcustomercartQue4 === void 0 ? void 0 : _fetchcustomercartQue4.forEach(function (cartitem, cartindex) {
13307
- var finalprice = 0;
13308
- if (cartitem.productinfo.hassale == 0) {
13309
- finalprice = cartitem.productinfo.defaultprice;
13310
- } else if (cartitem.productinfo.hassale == 1) {
13311
- finalprice = cartitem.productinfo.defaultsaleprice;
13312
- }
13313
- totalprice = finalprice * cartitem.quantity + totalprice;
13314
- });
13304
+ var _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3;
13305
+ var totalprice = parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 ? void 0 : (_fetchcustomercartQue2 = _fetchcustomercartQue.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : (_fetchcustomercartQue3 = _fetchcustomercartQue2.customercart) === null || _fetchcustomercartQue3 === void 0 ? void 0 : _fetchcustomercartQue3.totalprice).toFixed(2);
13306
+ // fetchcustomercartQueryContext?.data?.data?.customercart?.cartitems?.forEach(function (cartitem, cartindex) {
13307
+ // var finalprice = 0;
13308
+ // if (cartitem.productinfo.hassale == 0) {
13309
+ // finalprice = cartitem.productinfo.defaultprice;
13310
+ // } else if (cartitem.productinfo.hassale == 1) {
13311
+ // finalprice = cartitem.productinfo.defaultsaleprice;
13312
+ // }
13313
+ // totalprice = finalprice * cartitem.quantity + totalprice;
13314
+ // });
13315
13315
  return totalprice;
13316
13316
  };
13317
13317
  var header_cssstyles = {
@@ -13756,7 +13756,7 @@ var Gotoheader = function Gotoheader(props) {
13756
13756
  size: sectionproperties.cartBtn_iconFontSize
13757
13757
  }), /*#__PURE__*/React__default["default"].createElement("div", {
13758
13758
  "class": "".concat(header_cssstyles.badge_counter_header_notifications, " ").concat(header_cssstyles.cartbadge)
13759
- }, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue5 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue5 === void 0 ? void 0 : (_fetchcustomercartQue6 = _fetchcustomercartQue5.data) === null || _fetchcustomercartQue6 === void 0 ? void 0 : _fetchcustomercartQue6.customercart) != null ? fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue7 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue7 === void 0 ? void 0 : (_fetchcustomercartQue8 = _fetchcustomercartQue7.data) === null || _fetchcustomercartQue8 === void 0 ? void 0 : (_fetchcustomercartQue9 = _fetchcustomercartQue8.customercart) === null || _fetchcustomercartQue9 === void 0 ? void 0 : (_fetchcustomercartQue10 = _fetchcustomercartQue9.cartitems) === null || _fetchcustomercartQue10 === void 0 ? void 0 : _fetchcustomercartQue10.length : 0)), /*#__PURE__*/React__default["default"].createElement("p", {
13759
+ }, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue4 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue4 === void 0 ? void 0 : (_fetchcustomercartQue5 = _fetchcustomercartQue4.data) === null || _fetchcustomercartQue5 === void 0 ? void 0 : _fetchcustomercartQue5.customercart) != null ? fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue6 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue6 === void 0 ? void 0 : (_fetchcustomercartQue7 = _fetchcustomercartQue6.data) === null || _fetchcustomercartQue7 === void 0 ? void 0 : (_fetchcustomercartQue8 = _fetchcustomercartQue7.customercart) === null || _fetchcustomercartQue8 === void 0 ? void 0 : (_fetchcustomercartQue9 = _fetchcustomercartQue8.cartitems) === null || _fetchcustomercartQue9 === void 0 ? void 0 : _fetchcustomercartQue9.length : 0)), /*#__PURE__*/React__default["default"].createElement("p", {
13760
13760
  "class": "m-0 p-0 d-flex flex-column ",
13761
13761
  style: {
13762
13762
  color: sectionproperties.cartBtnTextcolor,
@@ -13858,7 +13858,8 @@ var Gotoheader = function Gotoheader(props) {
13858
13858
  marginLeft: langdetect == 'en' ? 0 : '45px'
13859
13859
  },
13860
13860
  onClick: function onClick() {
13861
- history.push(item.navigationroute);
13861
+ // history.push(item.navigationroute);
13862
+ routingcountext(item.navigationroute);
13862
13863
  }
13863
13864
  }, /*#__PURE__*/React__default["default"].createElement("div", {
13864
13865
  "class": "".concat(headerstyles$g.topbar_item, " ").concat(header_cssstyles.topbar_item)
@@ -36071,7 +36072,7 @@ var BacgroundThreeImageWithCategories = function BacgroundThreeImageWithCategori
36071
36072
  }))))));
36072
36073
  };
36073
36074
  var BackgroundImagesContent = function BackgroundImagesContent() {
36074
- var _imagesarray$, _imagesarray$2, _imagesarray$3, _imagesarray$4, _imagesarray$5, _imagesarray$6;
36075
+ var _imagesarray$, _imagesarray$7, _imagesarray$8, _imagesarray$9, _imagesarray$15, _imagesarray$16, _imagesarray$17, _imagesarray$23, _imagesarray$24;
36075
36076
  return /*#__PURE__*/React__default["default"].createElement("div", {
36076
36077
  "class": "row m-0 w-100 align-items-center justify-content-center"
36077
36078
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -36080,12 +36081,26 @@ var BacgroundThreeImageWithCategories = function BacgroundThreeImageWithCategori
36080
36081
  "class": sectionproperties.bgcovercontainresponsive == 'Contain' ? "".concat(sectionstyles.imageBackground) + ' row m-0 w-100 h-md-auto ' : "".concat(sectionstyles.imageBackground) + ' row m-0 w-100 ',
36081
36082
  style: {
36082
36083
  height: sectionproperties.image_height + 'px',
36083
- position: 'relative'
36084
+ position: 'relative',
36085
+ cursor: ((_imagesarray$ = imagesarray[0]) === null || _imagesarray$ === void 0 ? void 0 : _imagesarray$.IsClickableimg) == 'Yes' ? 'pointer' : 'default'
36086
+ },
36087
+ onClick: function onClick() {
36088
+ var _imagesarray$2;
36089
+ if (((_imagesarray$2 = imagesarray[0]) === null || _imagesarray$2 === void 0 ? void 0 : _imagesarray$2.IsClickableimg) == 'Yes') {
36090
+ var _imagesarray$3, _imagesarray$4;
36091
+ if ((_imagesarray$3 = imagesarray[0]) !== null && _imagesarray$3 !== void 0 && _imagesarray$3.clickableimg_page_route && ((_imagesarray$4 = imagesarray[0]) === null || _imagesarray$4 === void 0 ? void 0 : _imagesarray$4.clickableimg_page_route.length) != 0) {
36092
+ var _imagesarray$5;
36093
+ routingcountext((_imagesarray$5 = imagesarray[0]) === null || _imagesarray$5 === void 0 ? void 0 : _imagesarray$5.clickableimg_page_route, false, '');
36094
+ } else {
36095
+ var _imagesarray$6;
36096
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ((_imagesarray$6 = imagesarray[0]) === null || _imagesarray$6 === void 0 ? void 0 : _imagesarray$6.Clickableimg_getcoection));
36097
+ }
36098
+ }
36084
36099
  }
36085
36100
  }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
36086
36101
  urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
36087
36102
  publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
36088
- path: imagesarray.length != 0 ? langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + ((_imagesarray$ = imagesarray[0]) === null || _imagesarray$ === void 0 ? void 0 : _imagesarray$.bgsection_image) : '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + ((_imagesarray$2 = imagesarray[0]) === null || _imagesarray$2 === void 0 ? void 0 : _imagesarray$2.bgsection_image_ar) : '',
36103
+ path: imagesarray.length != 0 ? langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + ((_imagesarray$7 = imagesarray[0]) === null || _imagesarray$7 === void 0 ? void 0 : _imagesarray$7.bgsection_image) : '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + ((_imagesarray$8 = imagesarray[0]) === null || _imagesarray$8 === void 0 ? void 0 : _imagesarray$8.bgsection_image_ar) : '',
36089
36104
  "class": sectionproperties.bgcovercontainresponsive == 'Contain' ? 'objectFit-md-contain' : '',
36090
36105
  style: {
36091
36106
  height: '100%',
@@ -36106,12 +36121,26 @@ var BacgroundThreeImageWithCategories = function BacgroundThreeImageWithCategori
36106
36121
  "class": sectionproperties.bgcovercontainresponsive == 'Contain' ? "".concat(sectionstyles.imageBackground) + ' row m-0 w-100 h-md-auto ' : "".concat(sectionstyles.imageBackground) + ' row m-0 w-100 ',
36107
36122
  style: {
36108
36123
  height: parseInt(sectionproperties.image_height / 2 - 5) + 'px',
36109
- position: 'relative'
36124
+ position: 'relative',
36125
+ cursor: ((_imagesarray$9 = imagesarray[1]) === null || _imagesarray$9 === void 0 ? void 0 : _imagesarray$9.IsClickableimg) == 'Yes' ? 'pointer' : 'default'
36126
+ },
36127
+ onClick: function onClick() {
36128
+ var _imagesarray$10;
36129
+ if (((_imagesarray$10 = imagesarray[1]) === null || _imagesarray$10 === void 0 ? void 0 : _imagesarray$10.IsClickableimg) == 'Yes') {
36130
+ var _imagesarray$11, _imagesarray$12;
36131
+ if ((_imagesarray$11 = imagesarray[1]) !== null && _imagesarray$11 !== void 0 && _imagesarray$11.clickableimg_page_route && ((_imagesarray$12 = imagesarray[1]) === null || _imagesarray$12 === void 0 ? void 0 : _imagesarray$12.clickableimg_page_route.length) != 0) {
36132
+ var _imagesarray$13;
36133
+ routingcountext((_imagesarray$13 = imagesarray[1]) === null || _imagesarray$13 === void 0 ? void 0 : _imagesarray$13.clickableimg_page_route, false, '');
36134
+ } else {
36135
+ var _imagesarray$14;
36136
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ((_imagesarray$14 = imagesarray[1]) === null || _imagesarray$14 === void 0 ? void 0 : _imagesarray$14.Clickableimg_getcoection));
36137
+ }
36138
+ }
36110
36139
  }
36111
36140
  }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
36112
36141
  urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
36113
36142
  publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
36114
- path: imagesarray.length != 0 ? langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w2 + ',h-' + sectionproperties.imagetr_h2 + '/' + ((_imagesarray$3 = imagesarray[1]) === null || _imagesarray$3 === void 0 ? void 0 : _imagesarray$3.bgsection_image) : '/tr:w-' + sectionproperties.imagetr_w2 + ',h-' + sectionproperties.imagetr_h2 + '/' + ((_imagesarray$4 = imagesarray[1]) === null || _imagesarray$4 === void 0 ? void 0 : _imagesarray$4.bgsection_image_ar) : '',
36143
+ path: imagesarray.length != 0 ? langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w2 + ',h-' + sectionproperties.imagetr_h2 + '/' + ((_imagesarray$15 = imagesarray[1]) === null || _imagesarray$15 === void 0 ? void 0 : _imagesarray$15.bgsection_image) : '/tr:w-' + sectionproperties.imagetr_w2 + ',h-' + sectionproperties.imagetr_h2 + '/' + ((_imagesarray$16 = imagesarray[1]) === null || _imagesarray$16 === void 0 ? void 0 : _imagesarray$16.bgsection_image_ar) : '',
36115
36144
  "class": sectionproperties.bgcovercontainresponsive == 'Contain' ? 'objectFit-md-contain' : '',
36116
36145
  style: {
36117
36146
  height: '100%',
@@ -36128,12 +36157,26 @@ var BacgroundThreeImageWithCategories = function BacgroundThreeImageWithCategori
36128
36157
  "class": sectionproperties.bgcovercontainresponsive == 'Contain' ? "".concat(sectionstyles.imageBackground) + ' row m-0 w-100 h-md-auto ' : "".concat(sectionstyles.imageBackground) + ' row m-0 w-100 ',
36129
36158
  style: {
36130
36159
  height: parseInt(sectionproperties.image_height / 2 - 5) + 'px',
36131
- position: 'relative'
36160
+ position: 'relative',
36161
+ cursor: ((_imagesarray$17 = imagesarray[2]) === null || _imagesarray$17 === void 0 ? void 0 : _imagesarray$17.IsClickableimg) == 'Yes' ? 'pointer' : 'default'
36162
+ },
36163
+ onClick: function onClick() {
36164
+ var _imagesarray$18;
36165
+ if (((_imagesarray$18 = imagesarray[2]) === null || _imagesarray$18 === void 0 ? void 0 : _imagesarray$18.IsClickableimg) == 'Yes') {
36166
+ var _imagesarray$19, _imagesarray$20;
36167
+ if ((_imagesarray$19 = imagesarray[2]) !== null && _imagesarray$19 !== void 0 && _imagesarray$19.clickableimg_page_route && ((_imagesarray$20 = imagesarray[2]) === null || _imagesarray$20 === void 0 ? void 0 : _imagesarray$20.clickableimg_page_route.length) != 0) {
36168
+ var _imagesarray$21;
36169
+ routingcountext((_imagesarray$21 = imagesarray[2]) === null || _imagesarray$21 === void 0 ? void 0 : _imagesarray$21.clickableimg_page_route, false, '');
36170
+ } else {
36171
+ var _imagesarray$22;
36172
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ((_imagesarray$22 = imagesarray[2]) === null || _imagesarray$22 === void 0 ? void 0 : _imagesarray$22.Clickableimg_getcoection));
36173
+ }
36174
+ }
36132
36175
  }
36133
36176
  }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
36134
36177
  urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
36135
36178
  publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
36136
- path: imagesarray.length != 0 ? langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w2 + ',h-' + sectionproperties.imagetr_h2 + '/' + ((_imagesarray$5 = imagesarray[2]) === null || _imagesarray$5 === void 0 ? void 0 : _imagesarray$5.bgsection_image) : '/tr:w-' + sectionproperties.imagetr_w2 + ',h-' + sectionproperties.imagetr_h2 + '/' + ((_imagesarray$6 = imagesarray[2]) === null || _imagesarray$6 === void 0 ? void 0 : _imagesarray$6.bgsection_image_ar) : '',
36179
+ path: imagesarray.length != 0 ? langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w2 + ',h-' + sectionproperties.imagetr_h2 + '/' + ((_imagesarray$23 = imagesarray[2]) === null || _imagesarray$23 === void 0 ? void 0 : _imagesarray$23.bgsection_image) : '/tr:w-' + sectionproperties.imagetr_w2 + ',h-' + sectionproperties.imagetr_h2 + '/' + ((_imagesarray$24 = imagesarray[2]) === null || _imagesarray$24 === void 0 ? void 0 : _imagesarray$24.bgsection_image_ar) : '',
36137
36180
  "class": sectionproperties.bgcovercontainresponsive == 'Contain' ? 'objectFit-md-contain' : '',
36138
36181
  style: {
36139
36182
  height: '100%',
@@ -42031,12 +42074,15 @@ var Slideshowslide = function Slideshowslide(props) {
42031
42074
  }, /*#__PURE__*/React__default["default"].createElement("div", {
42032
42075
  "class": "row m-0 w-100"
42033
42076
  }, /*#__PURE__*/React__default["default"].createElement("div", {
42034
- className: slideshow_styles.dropdowntitle + ' col-lg-12 p-0 ',
42077
+ className: slideshow_styles.dropdowntitle + ' col-lg-12 p-0 d-flex ',
42035
42078
  style: {
42036
42079
  justifyContent: sectionproperties.titlecentered == 'Centered' ? 'center' : 'start'
42037
42080
  }
42038
42081
  }, /*#__PURE__*/React__default["default"].createElement("p", {
42039
- className: "m-0 p-3 w-100"
42082
+ className: "m-0 p-3 w-100 d-flex",
42083
+ style: {
42084
+ justifyContent: sectionproperties.titlecentered == 'Centered' ? 'center' : 'start'
42085
+ }
42040
42086
  }, langdetect == 'en' ? sectionproperties.collectionssectiontitleen : sectionproperties.collectionssectiontitlear)), /*#__PURE__*/React__default["default"].createElement("div", {
42041
42087
  "class": "col-lg-12 flex-column cat_dropdown_hover scrollvertical pt-3 px-2",
42042
42088
  style: {
package/dist/index.esm.js CHANGED
@@ -1050,7 +1050,7 @@ var Variantoptions = function Variantoptions(props) {
1050
1050
  props.actions.ikimagecredcontext;
1051
1051
  var ProductInfoObj = props.actions.ProductInfoObj;
1052
1052
  return /*#__PURE__*/React.createElement(React.Fragment, null, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer === void 0 ? void 0 : (_fetchProductInfoQuer2 = _fetchProductInfoQuer.data) === null || _fetchProductInfoQuer2 === void 0 ? void 0 : (_fetchProductInfoQuer3 = _fetchProductInfoQuer2.productinfo) === null || _fetchProductInfoQuer3 === void 0 ? void 0 : _fetchProductInfoQuer3.hasvariants) == 1 && sectionproperties.productInformationType == 'Product/Service Information' && /*#__PURE__*/React.createElement("div", {
1053
- className: "row m-0 w-100 d-flex align-items-start"
1053
+ className: "row m-0 w-100 d-flex align-items-start mt-3"
1054
1054
  }, ProductInfoObj === null || ProductInfoObj === void 0 ? void 0 : (_ProductInfoObj$data = ProductInfoObj.data) === null || _ProductInfoObj$data === void 0 ? void 0 : (_ProductInfoObj$data$ = _ProductInfoObj$data.productinfo) === null || _ProductInfoObj$data$ === void 0 ? void 0 : (_ProductInfoObj$data$2 = _ProductInfoObj$data$.productoptions) === null || _ProductInfoObj$data$2 === void 0 ? void 0 : _ProductInfoObj$data$2.map(function (item, index) {
1055
1055
  return /*#__PURE__*/React.createElement("div", {
1056
1056
  className: "col-lg-12 p-0 mb-3 d-flex justify-content-start"
@@ -3694,7 +3694,7 @@ var Productinfo = function Productinfo(props) {
3694
3694
  "class": "col-lg-12 d-flex align-items-center justify-content-center p-0 "
3695
3695
  }, /*#__PURE__*/React.createElement("p", {
3696
3696
  "class": "".concat(productinfo_cssstyles.relatedproductPricestyles) + ' m-0 '
3697
- }, item.productinfo.hasvariants == 1 ? item.productinfo.variants.variantsaleprice : item.productinfo.defaultsaleprice, ' ', langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar, ' '))))));
3697
+ }, item.productinfo.hassale == 1 ? item.productinfo.defaultsaleprice : item.productinfo.defaultprice, ' ', langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar, ' '))))));
3698
3698
  }
3699
3699
  }
3700
3700
  }))))));
@@ -13201,7 +13201,7 @@ var Headerresponsive = function Headerresponsive(props) {
13201
13201
  function ownKeys$1G(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
13202
13202
  function _objectSpread$1G(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1G(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1G(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
13203
13203
  var Gotoheader = function Gotoheader(props) {
13204
- var _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue9, _fetchcustomercartQue10;
13204
+ var _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue9;
13205
13205
  var _useState = useState(''),
13206
13206
  _useState2 = _slicedToArray(_useState, 2),
13207
13207
  sectionproperties = _useState2[0],
@@ -13222,7 +13222,7 @@ var Gotoheader = function Gotoheader(props) {
13222
13222
  var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
13223
13223
  var ikimagecredcontext = props.actions.ikimagecredcontext;
13224
13224
  var actions = props.actions;
13225
- var history = props.actions.history;
13225
+ props.actions.history;
13226
13226
  useEffect(function () {
13227
13227
  var secpropobj = {};
13228
13228
  StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
@@ -13254,17 +13254,17 @@ var Gotoheader = function Gotoheader(props) {
13254
13254
  }
13255
13255
  }, [templateproperties_context]);
13256
13256
  var subtotalcart = function subtotalcart() {
13257
- var _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4;
13258
- var totalprice = 0;
13259
- fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 ? void 0 : (_fetchcustomercartQue2 = _fetchcustomercartQue.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : (_fetchcustomercartQue3 = _fetchcustomercartQue2.customercart) === null || _fetchcustomercartQue3 === void 0 ? void 0 : (_fetchcustomercartQue4 = _fetchcustomercartQue3.cartitems) === null || _fetchcustomercartQue4 === void 0 ? void 0 : _fetchcustomercartQue4.forEach(function (cartitem, cartindex) {
13260
- var finalprice = 0;
13261
- if (cartitem.productinfo.hassale == 0) {
13262
- finalprice = cartitem.productinfo.defaultprice;
13263
- } else if (cartitem.productinfo.hassale == 1) {
13264
- finalprice = cartitem.productinfo.defaultsaleprice;
13265
- }
13266
- totalprice = finalprice * cartitem.quantity + totalprice;
13267
- });
13257
+ var _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3;
13258
+ var totalprice = parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 ? void 0 : (_fetchcustomercartQue2 = _fetchcustomercartQue.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : (_fetchcustomercartQue3 = _fetchcustomercartQue2.customercart) === null || _fetchcustomercartQue3 === void 0 ? void 0 : _fetchcustomercartQue3.totalprice).toFixed(2);
13259
+ // fetchcustomercartQueryContext?.data?.data?.customercart?.cartitems?.forEach(function (cartitem, cartindex) {
13260
+ // var finalprice = 0;
13261
+ // if (cartitem.productinfo.hassale == 0) {
13262
+ // finalprice = cartitem.productinfo.defaultprice;
13263
+ // } else if (cartitem.productinfo.hassale == 1) {
13264
+ // finalprice = cartitem.productinfo.defaultsaleprice;
13265
+ // }
13266
+ // totalprice = finalprice * cartitem.quantity + totalprice;
13267
+ // });
13268
13268
  return totalprice;
13269
13269
  };
13270
13270
  var header_cssstyles = {
@@ -13709,7 +13709,7 @@ var Gotoheader = function Gotoheader(props) {
13709
13709
  size: sectionproperties.cartBtn_iconFontSize
13710
13710
  }), /*#__PURE__*/React.createElement("div", {
13711
13711
  "class": "".concat(header_cssstyles.badge_counter_header_notifications, " ").concat(header_cssstyles.cartbadge)
13712
- }, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue5 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue5 === void 0 ? void 0 : (_fetchcustomercartQue6 = _fetchcustomercartQue5.data) === null || _fetchcustomercartQue6 === void 0 ? void 0 : _fetchcustomercartQue6.customercart) != null ? fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue7 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue7 === void 0 ? void 0 : (_fetchcustomercartQue8 = _fetchcustomercartQue7.data) === null || _fetchcustomercartQue8 === void 0 ? void 0 : (_fetchcustomercartQue9 = _fetchcustomercartQue8.customercart) === null || _fetchcustomercartQue9 === void 0 ? void 0 : (_fetchcustomercartQue10 = _fetchcustomercartQue9.cartitems) === null || _fetchcustomercartQue10 === void 0 ? void 0 : _fetchcustomercartQue10.length : 0)), /*#__PURE__*/React.createElement("p", {
13712
+ }, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue4 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue4 === void 0 ? void 0 : (_fetchcustomercartQue5 = _fetchcustomercartQue4.data) === null || _fetchcustomercartQue5 === void 0 ? void 0 : _fetchcustomercartQue5.customercart) != null ? fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue6 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue6 === void 0 ? void 0 : (_fetchcustomercartQue7 = _fetchcustomercartQue6.data) === null || _fetchcustomercartQue7 === void 0 ? void 0 : (_fetchcustomercartQue8 = _fetchcustomercartQue7.customercart) === null || _fetchcustomercartQue8 === void 0 ? void 0 : (_fetchcustomercartQue9 = _fetchcustomercartQue8.cartitems) === null || _fetchcustomercartQue9 === void 0 ? void 0 : _fetchcustomercartQue9.length : 0)), /*#__PURE__*/React.createElement("p", {
13713
13713
  "class": "m-0 p-0 d-flex flex-column ",
13714
13714
  style: {
13715
13715
  color: sectionproperties.cartBtnTextcolor,
@@ -13811,7 +13811,8 @@ var Gotoheader = function Gotoheader(props) {
13811
13811
  marginLeft: langdetect == 'en' ? 0 : '45px'
13812
13812
  },
13813
13813
  onClick: function onClick() {
13814
- history.push(item.navigationroute);
13814
+ // history.push(item.navigationroute);
13815
+ routingcountext(item.navigationroute);
13815
13816
  }
13816
13817
  }, /*#__PURE__*/React.createElement("div", {
13817
13818
  "class": "".concat(headerstyles$g.topbar_item, " ").concat(header_cssstyles.topbar_item)
@@ -36024,7 +36025,7 @@ var BacgroundThreeImageWithCategories = function BacgroundThreeImageWithCategori
36024
36025
  }))))));
36025
36026
  };
36026
36027
  var BackgroundImagesContent = function BackgroundImagesContent() {
36027
- var _imagesarray$, _imagesarray$2, _imagesarray$3, _imagesarray$4, _imagesarray$5, _imagesarray$6;
36028
+ var _imagesarray$, _imagesarray$7, _imagesarray$8, _imagesarray$9, _imagesarray$15, _imagesarray$16, _imagesarray$17, _imagesarray$23, _imagesarray$24;
36028
36029
  return /*#__PURE__*/React.createElement("div", {
36029
36030
  "class": "row m-0 w-100 align-items-center justify-content-center"
36030
36031
  }, /*#__PURE__*/React.createElement("div", {
@@ -36033,12 +36034,26 @@ var BacgroundThreeImageWithCategories = function BacgroundThreeImageWithCategori
36033
36034
  "class": sectionproperties.bgcovercontainresponsive == 'Contain' ? "".concat(sectionstyles.imageBackground) + ' row m-0 w-100 h-md-auto ' : "".concat(sectionstyles.imageBackground) + ' row m-0 w-100 ',
36034
36035
  style: {
36035
36036
  height: sectionproperties.image_height + 'px',
36036
- position: 'relative'
36037
+ position: 'relative',
36038
+ cursor: ((_imagesarray$ = imagesarray[0]) === null || _imagesarray$ === void 0 ? void 0 : _imagesarray$.IsClickableimg) == 'Yes' ? 'pointer' : 'default'
36039
+ },
36040
+ onClick: function onClick() {
36041
+ var _imagesarray$2;
36042
+ if (((_imagesarray$2 = imagesarray[0]) === null || _imagesarray$2 === void 0 ? void 0 : _imagesarray$2.IsClickableimg) == 'Yes') {
36043
+ var _imagesarray$3, _imagesarray$4;
36044
+ if ((_imagesarray$3 = imagesarray[0]) !== null && _imagesarray$3 !== void 0 && _imagesarray$3.clickableimg_page_route && ((_imagesarray$4 = imagesarray[0]) === null || _imagesarray$4 === void 0 ? void 0 : _imagesarray$4.clickableimg_page_route.length) != 0) {
36045
+ var _imagesarray$5;
36046
+ routingcountext((_imagesarray$5 = imagesarray[0]) === null || _imagesarray$5 === void 0 ? void 0 : _imagesarray$5.clickableimg_page_route, false, '');
36047
+ } else {
36048
+ var _imagesarray$6;
36049
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ((_imagesarray$6 = imagesarray[0]) === null || _imagesarray$6 === void 0 ? void 0 : _imagesarray$6.Clickableimg_getcoection));
36050
+ }
36051
+ }
36037
36052
  }
36038
36053
  }, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
36039
36054
  urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
36040
36055
  publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
36041
- path: imagesarray.length != 0 ? langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + ((_imagesarray$ = imagesarray[0]) === null || _imagesarray$ === void 0 ? void 0 : _imagesarray$.bgsection_image) : '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + ((_imagesarray$2 = imagesarray[0]) === null || _imagesarray$2 === void 0 ? void 0 : _imagesarray$2.bgsection_image_ar) : '',
36056
+ path: imagesarray.length != 0 ? langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + ((_imagesarray$7 = imagesarray[0]) === null || _imagesarray$7 === void 0 ? void 0 : _imagesarray$7.bgsection_image) : '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + ((_imagesarray$8 = imagesarray[0]) === null || _imagesarray$8 === void 0 ? void 0 : _imagesarray$8.bgsection_image_ar) : '',
36042
36057
  "class": sectionproperties.bgcovercontainresponsive == 'Contain' ? 'objectFit-md-contain' : '',
36043
36058
  style: {
36044
36059
  height: '100%',
@@ -36059,12 +36074,26 @@ var BacgroundThreeImageWithCategories = function BacgroundThreeImageWithCategori
36059
36074
  "class": sectionproperties.bgcovercontainresponsive == 'Contain' ? "".concat(sectionstyles.imageBackground) + ' row m-0 w-100 h-md-auto ' : "".concat(sectionstyles.imageBackground) + ' row m-0 w-100 ',
36060
36075
  style: {
36061
36076
  height: parseInt(sectionproperties.image_height / 2 - 5) + 'px',
36062
- position: 'relative'
36077
+ position: 'relative',
36078
+ cursor: ((_imagesarray$9 = imagesarray[1]) === null || _imagesarray$9 === void 0 ? void 0 : _imagesarray$9.IsClickableimg) == 'Yes' ? 'pointer' : 'default'
36079
+ },
36080
+ onClick: function onClick() {
36081
+ var _imagesarray$10;
36082
+ if (((_imagesarray$10 = imagesarray[1]) === null || _imagesarray$10 === void 0 ? void 0 : _imagesarray$10.IsClickableimg) == 'Yes') {
36083
+ var _imagesarray$11, _imagesarray$12;
36084
+ if ((_imagesarray$11 = imagesarray[1]) !== null && _imagesarray$11 !== void 0 && _imagesarray$11.clickableimg_page_route && ((_imagesarray$12 = imagesarray[1]) === null || _imagesarray$12 === void 0 ? void 0 : _imagesarray$12.clickableimg_page_route.length) != 0) {
36085
+ var _imagesarray$13;
36086
+ routingcountext((_imagesarray$13 = imagesarray[1]) === null || _imagesarray$13 === void 0 ? void 0 : _imagesarray$13.clickableimg_page_route, false, '');
36087
+ } else {
36088
+ var _imagesarray$14;
36089
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ((_imagesarray$14 = imagesarray[1]) === null || _imagesarray$14 === void 0 ? void 0 : _imagesarray$14.Clickableimg_getcoection));
36090
+ }
36091
+ }
36063
36092
  }
36064
36093
  }, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
36065
36094
  urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
36066
36095
  publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
36067
- path: imagesarray.length != 0 ? langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w2 + ',h-' + sectionproperties.imagetr_h2 + '/' + ((_imagesarray$3 = imagesarray[1]) === null || _imagesarray$3 === void 0 ? void 0 : _imagesarray$3.bgsection_image) : '/tr:w-' + sectionproperties.imagetr_w2 + ',h-' + sectionproperties.imagetr_h2 + '/' + ((_imagesarray$4 = imagesarray[1]) === null || _imagesarray$4 === void 0 ? void 0 : _imagesarray$4.bgsection_image_ar) : '',
36096
+ path: imagesarray.length != 0 ? langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w2 + ',h-' + sectionproperties.imagetr_h2 + '/' + ((_imagesarray$15 = imagesarray[1]) === null || _imagesarray$15 === void 0 ? void 0 : _imagesarray$15.bgsection_image) : '/tr:w-' + sectionproperties.imagetr_w2 + ',h-' + sectionproperties.imagetr_h2 + '/' + ((_imagesarray$16 = imagesarray[1]) === null || _imagesarray$16 === void 0 ? void 0 : _imagesarray$16.bgsection_image_ar) : '',
36068
36097
  "class": sectionproperties.bgcovercontainresponsive == 'Contain' ? 'objectFit-md-contain' : '',
36069
36098
  style: {
36070
36099
  height: '100%',
@@ -36081,12 +36110,26 @@ var BacgroundThreeImageWithCategories = function BacgroundThreeImageWithCategori
36081
36110
  "class": sectionproperties.bgcovercontainresponsive == 'Contain' ? "".concat(sectionstyles.imageBackground) + ' row m-0 w-100 h-md-auto ' : "".concat(sectionstyles.imageBackground) + ' row m-0 w-100 ',
36082
36111
  style: {
36083
36112
  height: parseInt(sectionproperties.image_height / 2 - 5) + 'px',
36084
- position: 'relative'
36113
+ position: 'relative',
36114
+ cursor: ((_imagesarray$17 = imagesarray[2]) === null || _imagesarray$17 === void 0 ? void 0 : _imagesarray$17.IsClickableimg) == 'Yes' ? 'pointer' : 'default'
36115
+ },
36116
+ onClick: function onClick() {
36117
+ var _imagesarray$18;
36118
+ if (((_imagesarray$18 = imagesarray[2]) === null || _imagesarray$18 === void 0 ? void 0 : _imagesarray$18.IsClickableimg) == 'Yes') {
36119
+ var _imagesarray$19, _imagesarray$20;
36120
+ if ((_imagesarray$19 = imagesarray[2]) !== null && _imagesarray$19 !== void 0 && _imagesarray$19.clickableimg_page_route && ((_imagesarray$20 = imagesarray[2]) === null || _imagesarray$20 === void 0 ? void 0 : _imagesarray$20.clickableimg_page_route.length) != 0) {
36121
+ var _imagesarray$21;
36122
+ routingcountext((_imagesarray$21 = imagesarray[2]) === null || _imagesarray$21 === void 0 ? void 0 : _imagesarray$21.clickableimg_page_route, false, '');
36123
+ } else {
36124
+ var _imagesarray$22;
36125
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ((_imagesarray$22 = imagesarray[2]) === null || _imagesarray$22 === void 0 ? void 0 : _imagesarray$22.Clickableimg_getcoection));
36126
+ }
36127
+ }
36085
36128
  }
36086
36129
  }, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
36087
36130
  urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
36088
36131
  publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
36089
- path: imagesarray.length != 0 ? langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w2 + ',h-' + sectionproperties.imagetr_h2 + '/' + ((_imagesarray$5 = imagesarray[2]) === null || _imagesarray$5 === void 0 ? void 0 : _imagesarray$5.bgsection_image) : '/tr:w-' + sectionproperties.imagetr_w2 + ',h-' + sectionproperties.imagetr_h2 + '/' + ((_imagesarray$6 = imagesarray[2]) === null || _imagesarray$6 === void 0 ? void 0 : _imagesarray$6.bgsection_image_ar) : '',
36132
+ path: imagesarray.length != 0 ? langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w2 + ',h-' + sectionproperties.imagetr_h2 + '/' + ((_imagesarray$23 = imagesarray[2]) === null || _imagesarray$23 === void 0 ? void 0 : _imagesarray$23.bgsection_image) : '/tr:w-' + sectionproperties.imagetr_w2 + ',h-' + sectionproperties.imagetr_h2 + '/' + ((_imagesarray$24 = imagesarray[2]) === null || _imagesarray$24 === void 0 ? void 0 : _imagesarray$24.bgsection_image_ar) : '',
36090
36133
  "class": sectionproperties.bgcovercontainresponsive == 'Contain' ? 'objectFit-md-contain' : '',
36091
36134
  style: {
36092
36135
  height: '100%',
@@ -41984,12 +42027,15 @@ var Slideshowslide = function Slideshowslide(props) {
41984
42027
  }, /*#__PURE__*/React.createElement("div", {
41985
42028
  "class": "row m-0 w-100"
41986
42029
  }, /*#__PURE__*/React.createElement("div", {
41987
- className: slideshow_styles.dropdowntitle + ' col-lg-12 p-0 ',
42030
+ className: slideshow_styles.dropdowntitle + ' col-lg-12 p-0 d-flex ',
41988
42031
  style: {
41989
42032
  justifyContent: sectionproperties.titlecentered == 'Centered' ? 'center' : 'start'
41990
42033
  }
41991
42034
  }, /*#__PURE__*/React.createElement("p", {
41992
- className: "m-0 p-3 w-100"
42035
+ className: "m-0 p-3 w-100 d-flex",
42036
+ style: {
42037
+ justifyContent: sectionproperties.titlecentered == 'Centered' ? 'center' : 'start'
42038
+ }
41993
42039
  }, langdetect == 'en' ? sectionproperties.collectionssectiontitleen : sectionproperties.collectionssectiontitlear)), /*#__PURE__*/React.createElement("div", {
41994
42040
  "class": "col-lg-12 flex-column cat_dropdown_hover scrollvertical pt-3 px-2",
41995
42041
  style: {
package/dist/index.umd.js CHANGED
@@ -949,7 +949,7 @@
949
949
  props.actions.ikimagecredcontext;
950
950
  var ProductInfoObj = props.actions.ProductInfoObj;
951
951
  return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer === void 0 ? void 0 : (_fetchProductInfoQuer2 = _fetchProductInfoQuer.data) === null || _fetchProductInfoQuer2 === void 0 ? void 0 : (_fetchProductInfoQuer3 = _fetchProductInfoQuer2.productinfo) === null || _fetchProductInfoQuer3 === void 0 ? void 0 : _fetchProductInfoQuer3.hasvariants) == 1 && sectionproperties.productInformationType == 'Product/Service Information' && /*#__PURE__*/React__default["default"].createElement("div", {
952
- className: "row m-0 w-100 d-flex align-items-start"
952
+ className: "row m-0 w-100 d-flex align-items-start mt-3"
953
953
  }, ProductInfoObj === null || ProductInfoObj === void 0 ? void 0 : (_ProductInfoObj$data = ProductInfoObj.data) === null || _ProductInfoObj$data === void 0 ? void 0 : (_ProductInfoObj$data$ = _ProductInfoObj$data.productinfo) === null || _ProductInfoObj$data$ === void 0 ? void 0 : (_ProductInfoObj$data$2 = _ProductInfoObj$data$.productoptions) === null || _ProductInfoObj$data$2 === void 0 ? void 0 : _ProductInfoObj$data$2.map(function (item, index) {
954
954
  return /*#__PURE__*/React__default["default"].createElement("div", {
955
955
  className: "col-lg-12 p-0 mb-3 d-flex justify-content-start"
@@ -3593,7 +3593,7 @@
3593
3593
  "class": "col-lg-12 d-flex align-items-center justify-content-center p-0 "
3594
3594
  }, /*#__PURE__*/React__default["default"].createElement("p", {
3595
3595
  "class": "".concat(productinfo_cssstyles.relatedproductPricestyles) + ' m-0 '
3596
- }, item.productinfo.hasvariants == 1 ? item.productinfo.variants.variantsaleprice : item.productinfo.defaultsaleprice, ' ', langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar, ' '))))));
3596
+ }, item.productinfo.hassale == 1 ? item.productinfo.defaultsaleprice : item.productinfo.defaultprice, ' ', langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar, ' '))))));
3597
3597
  }
3598
3598
  }
3599
3599
  }))))));
@@ -13100,7 +13100,7 @@
13100
13100
  function ownKeys$1G(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
13101
13101
  function _objectSpread$1G(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1G(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1G(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
13102
13102
  var Gotoheader = function Gotoheader(props) {
13103
- var _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue9, _fetchcustomercartQue10;
13103
+ var _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue9;
13104
13104
  var _useState = React.useState(''),
13105
13105
  _useState2 = _slicedToArray__default["default"](_useState, 2),
13106
13106
  sectionproperties = _useState2[0],
@@ -13121,7 +13121,7 @@
13121
13121
  var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
13122
13122
  var ikimagecredcontext = props.actions.ikimagecredcontext;
13123
13123
  var actions = props.actions;
13124
- var history = props.actions.history;
13124
+ props.actions.history;
13125
13125
  React.useEffect(function () {
13126
13126
  var secpropobj = {};
13127
13127
  StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
@@ -13153,17 +13153,17 @@
13153
13153
  }
13154
13154
  }, [templateproperties_context]);
13155
13155
  var subtotalcart = function subtotalcart() {
13156
- var _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4;
13157
- var totalprice = 0;
13158
- fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 ? void 0 : (_fetchcustomercartQue2 = _fetchcustomercartQue.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : (_fetchcustomercartQue3 = _fetchcustomercartQue2.customercart) === null || _fetchcustomercartQue3 === void 0 ? void 0 : (_fetchcustomercartQue4 = _fetchcustomercartQue3.cartitems) === null || _fetchcustomercartQue4 === void 0 ? void 0 : _fetchcustomercartQue4.forEach(function (cartitem, cartindex) {
13159
- var finalprice = 0;
13160
- if (cartitem.productinfo.hassale == 0) {
13161
- finalprice = cartitem.productinfo.defaultprice;
13162
- } else if (cartitem.productinfo.hassale == 1) {
13163
- finalprice = cartitem.productinfo.defaultsaleprice;
13164
- }
13165
- totalprice = finalprice * cartitem.quantity + totalprice;
13166
- });
13156
+ var _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3;
13157
+ var totalprice = parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 ? void 0 : (_fetchcustomercartQue2 = _fetchcustomercartQue.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : (_fetchcustomercartQue3 = _fetchcustomercartQue2.customercart) === null || _fetchcustomercartQue3 === void 0 ? void 0 : _fetchcustomercartQue3.totalprice).toFixed(2);
13158
+ // fetchcustomercartQueryContext?.data?.data?.customercart?.cartitems?.forEach(function (cartitem, cartindex) {
13159
+ // var finalprice = 0;
13160
+ // if (cartitem.productinfo.hassale == 0) {
13161
+ // finalprice = cartitem.productinfo.defaultprice;
13162
+ // } else if (cartitem.productinfo.hassale == 1) {
13163
+ // finalprice = cartitem.productinfo.defaultsaleprice;
13164
+ // }
13165
+ // totalprice = finalprice * cartitem.quantity + totalprice;
13166
+ // });
13167
13167
  return totalprice;
13168
13168
  };
13169
13169
  var header_cssstyles = {
@@ -13608,7 +13608,7 @@
13608
13608
  size: sectionproperties.cartBtn_iconFontSize
13609
13609
  }), /*#__PURE__*/React__default["default"].createElement("div", {
13610
13610
  "class": "".concat(header_cssstyles.badge_counter_header_notifications, " ").concat(header_cssstyles.cartbadge)
13611
- }, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue5 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue5 === void 0 ? void 0 : (_fetchcustomercartQue6 = _fetchcustomercartQue5.data) === null || _fetchcustomercartQue6 === void 0 ? void 0 : _fetchcustomercartQue6.customercart) != null ? fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue7 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue7 === void 0 ? void 0 : (_fetchcustomercartQue8 = _fetchcustomercartQue7.data) === null || _fetchcustomercartQue8 === void 0 ? void 0 : (_fetchcustomercartQue9 = _fetchcustomercartQue8.customercart) === null || _fetchcustomercartQue9 === void 0 ? void 0 : (_fetchcustomercartQue10 = _fetchcustomercartQue9.cartitems) === null || _fetchcustomercartQue10 === void 0 ? void 0 : _fetchcustomercartQue10.length : 0)), /*#__PURE__*/React__default["default"].createElement("p", {
13611
+ }, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue4 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue4 === void 0 ? void 0 : (_fetchcustomercartQue5 = _fetchcustomercartQue4.data) === null || _fetchcustomercartQue5 === void 0 ? void 0 : _fetchcustomercartQue5.customercart) != null ? fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue6 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue6 === void 0 ? void 0 : (_fetchcustomercartQue7 = _fetchcustomercartQue6.data) === null || _fetchcustomercartQue7 === void 0 ? void 0 : (_fetchcustomercartQue8 = _fetchcustomercartQue7.customercart) === null || _fetchcustomercartQue8 === void 0 ? void 0 : (_fetchcustomercartQue9 = _fetchcustomercartQue8.cartitems) === null || _fetchcustomercartQue9 === void 0 ? void 0 : _fetchcustomercartQue9.length : 0)), /*#__PURE__*/React__default["default"].createElement("p", {
13612
13612
  "class": "m-0 p-0 d-flex flex-column ",
13613
13613
  style: {
13614
13614
  color: sectionproperties.cartBtnTextcolor,
@@ -13710,7 +13710,8 @@
13710
13710
  marginLeft: langdetect == 'en' ? 0 : '45px'
13711
13711
  },
13712
13712
  onClick: function onClick() {
13713
- history.push(item.navigationroute);
13713
+ // history.push(item.navigationroute);
13714
+ routingcountext(item.navigationroute);
13714
13715
  }
13715
13716
  }, /*#__PURE__*/React__default["default"].createElement("div", {
13716
13717
  "class": "".concat(headerstyles$g.topbar_item, " ").concat(header_cssstyles.topbar_item)
@@ -35923,7 +35924,7 @@
35923
35924
  }))))));
35924
35925
  };
35925
35926
  var BackgroundImagesContent = function BackgroundImagesContent() {
35926
- var _imagesarray$, _imagesarray$2, _imagesarray$3, _imagesarray$4, _imagesarray$5, _imagesarray$6;
35927
+ var _imagesarray$, _imagesarray$7, _imagesarray$8, _imagesarray$9, _imagesarray$15, _imagesarray$16, _imagesarray$17, _imagesarray$23, _imagesarray$24;
35927
35928
  return /*#__PURE__*/React__default["default"].createElement("div", {
35928
35929
  "class": "row m-0 w-100 align-items-center justify-content-center"
35929
35930
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -35932,12 +35933,26 @@
35932
35933
  "class": sectionproperties.bgcovercontainresponsive == 'Contain' ? "".concat(sectionstyles.imageBackground) + ' row m-0 w-100 h-md-auto ' : "".concat(sectionstyles.imageBackground) + ' row m-0 w-100 ',
35933
35934
  style: {
35934
35935
  height: sectionproperties.image_height + 'px',
35935
- position: 'relative'
35936
+ position: 'relative',
35937
+ cursor: ((_imagesarray$ = imagesarray[0]) === null || _imagesarray$ === void 0 ? void 0 : _imagesarray$.IsClickableimg) == 'Yes' ? 'pointer' : 'default'
35938
+ },
35939
+ onClick: function onClick() {
35940
+ var _imagesarray$2;
35941
+ if (((_imagesarray$2 = imagesarray[0]) === null || _imagesarray$2 === void 0 ? void 0 : _imagesarray$2.IsClickableimg) == 'Yes') {
35942
+ var _imagesarray$3, _imagesarray$4;
35943
+ if ((_imagesarray$3 = imagesarray[0]) !== null && _imagesarray$3 !== void 0 && _imagesarray$3.clickableimg_page_route && ((_imagesarray$4 = imagesarray[0]) === null || _imagesarray$4 === void 0 ? void 0 : _imagesarray$4.clickableimg_page_route.length) != 0) {
35944
+ var _imagesarray$5;
35945
+ routingcountext((_imagesarray$5 = imagesarray[0]) === null || _imagesarray$5 === void 0 ? void 0 : _imagesarray$5.clickableimg_page_route, false, '');
35946
+ } else {
35947
+ var _imagesarray$6;
35948
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ((_imagesarray$6 = imagesarray[0]) === null || _imagesarray$6 === void 0 ? void 0 : _imagesarray$6.Clickableimg_getcoection));
35949
+ }
35950
+ }
35936
35951
  }
35937
35952
  }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
35938
35953
  urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
35939
35954
  publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
35940
- path: imagesarray.length != 0 ? langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + ((_imagesarray$ = imagesarray[0]) === null || _imagesarray$ === void 0 ? void 0 : _imagesarray$.bgsection_image) : '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + ((_imagesarray$2 = imagesarray[0]) === null || _imagesarray$2 === void 0 ? void 0 : _imagesarray$2.bgsection_image_ar) : '',
35955
+ path: imagesarray.length != 0 ? langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + ((_imagesarray$7 = imagesarray[0]) === null || _imagesarray$7 === void 0 ? void 0 : _imagesarray$7.bgsection_image) : '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + ((_imagesarray$8 = imagesarray[0]) === null || _imagesarray$8 === void 0 ? void 0 : _imagesarray$8.bgsection_image_ar) : '',
35941
35956
  "class": sectionproperties.bgcovercontainresponsive == 'Contain' ? 'objectFit-md-contain' : '',
35942
35957
  style: {
35943
35958
  height: '100%',
@@ -35958,12 +35973,26 @@
35958
35973
  "class": sectionproperties.bgcovercontainresponsive == 'Contain' ? "".concat(sectionstyles.imageBackground) + ' row m-0 w-100 h-md-auto ' : "".concat(sectionstyles.imageBackground) + ' row m-0 w-100 ',
35959
35974
  style: {
35960
35975
  height: parseInt(sectionproperties.image_height / 2 - 5) + 'px',
35961
- position: 'relative'
35976
+ position: 'relative',
35977
+ cursor: ((_imagesarray$9 = imagesarray[1]) === null || _imagesarray$9 === void 0 ? void 0 : _imagesarray$9.IsClickableimg) == 'Yes' ? 'pointer' : 'default'
35978
+ },
35979
+ onClick: function onClick() {
35980
+ var _imagesarray$10;
35981
+ if (((_imagesarray$10 = imagesarray[1]) === null || _imagesarray$10 === void 0 ? void 0 : _imagesarray$10.IsClickableimg) == 'Yes') {
35982
+ var _imagesarray$11, _imagesarray$12;
35983
+ if ((_imagesarray$11 = imagesarray[1]) !== null && _imagesarray$11 !== void 0 && _imagesarray$11.clickableimg_page_route && ((_imagesarray$12 = imagesarray[1]) === null || _imagesarray$12 === void 0 ? void 0 : _imagesarray$12.clickableimg_page_route.length) != 0) {
35984
+ var _imagesarray$13;
35985
+ routingcountext((_imagesarray$13 = imagesarray[1]) === null || _imagesarray$13 === void 0 ? void 0 : _imagesarray$13.clickableimg_page_route, false, '');
35986
+ } else {
35987
+ var _imagesarray$14;
35988
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ((_imagesarray$14 = imagesarray[1]) === null || _imagesarray$14 === void 0 ? void 0 : _imagesarray$14.Clickableimg_getcoection));
35989
+ }
35990
+ }
35962
35991
  }
35963
35992
  }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
35964
35993
  urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
35965
35994
  publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
35966
- path: imagesarray.length != 0 ? langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w2 + ',h-' + sectionproperties.imagetr_h2 + '/' + ((_imagesarray$3 = imagesarray[1]) === null || _imagesarray$3 === void 0 ? void 0 : _imagesarray$3.bgsection_image) : '/tr:w-' + sectionproperties.imagetr_w2 + ',h-' + sectionproperties.imagetr_h2 + '/' + ((_imagesarray$4 = imagesarray[1]) === null || _imagesarray$4 === void 0 ? void 0 : _imagesarray$4.bgsection_image_ar) : '',
35995
+ path: imagesarray.length != 0 ? langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w2 + ',h-' + sectionproperties.imagetr_h2 + '/' + ((_imagesarray$15 = imagesarray[1]) === null || _imagesarray$15 === void 0 ? void 0 : _imagesarray$15.bgsection_image) : '/tr:w-' + sectionproperties.imagetr_w2 + ',h-' + sectionproperties.imagetr_h2 + '/' + ((_imagesarray$16 = imagesarray[1]) === null || _imagesarray$16 === void 0 ? void 0 : _imagesarray$16.bgsection_image_ar) : '',
35967
35996
  "class": sectionproperties.bgcovercontainresponsive == 'Contain' ? 'objectFit-md-contain' : '',
35968
35997
  style: {
35969
35998
  height: '100%',
@@ -35980,12 +36009,26 @@
35980
36009
  "class": sectionproperties.bgcovercontainresponsive == 'Contain' ? "".concat(sectionstyles.imageBackground) + ' row m-0 w-100 h-md-auto ' : "".concat(sectionstyles.imageBackground) + ' row m-0 w-100 ',
35981
36010
  style: {
35982
36011
  height: parseInt(sectionproperties.image_height / 2 - 5) + 'px',
35983
- position: 'relative'
36012
+ position: 'relative',
36013
+ cursor: ((_imagesarray$17 = imagesarray[2]) === null || _imagesarray$17 === void 0 ? void 0 : _imagesarray$17.IsClickableimg) == 'Yes' ? 'pointer' : 'default'
36014
+ },
36015
+ onClick: function onClick() {
36016
+ var _imagesarray$18;
36017
+ if (((_imagesarray$18 = imagesarray[2]) === null || _imagesarray$18 === void 0 ? void 0 : _imagesarray$18.IsClickableimg) == 'Yes') {
36018
+ var _imagesarray$19, _imagesarray$20;
36019
+ if ((_imagesarray$19 = imagesarray[2]) !== null && _imagesarray$19 !== void 0 && _imagesarray$19.clickableimg_page_route && ((_imagesarray$20 = imagesarray[2]) === null || _imagesarray$20 === void 0 ? void 0 : _imagesarray$20.clickableimg_page_route.length) != 0) {
36020
+ var _imagesarray$21;
36021
+ routingcountext((_imagesarray$21 = imagesarray[2]) === null || _imagesarray$21 === void 0 ? void 0 : _imagesarray$21.clickableimg_page_route, false, '');
36022
+ } else {
36023
+ var _imagesarray$22;
36024
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ((_imagesarray$22 = imagesarray[2]) === null || _imagesarray$22 === void 0 ? void 0 : _imagesarray$22.Clickableimg_getcoection));
36025
+ }
36026
+ }
35984
36027
  }
35985
36028
  }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
35986
36029
  urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
35987
36030
  publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
35988
- path: imagesarray.length != 0 ? langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w2 + ',h-' + sectionproperties.imagetr_h2 + '/' + ((_imagesarray$5 = imagesarray[2]) === null || _imagesarray$5 === void 0 ? void 0 : _imagesarray$5.bgsection_image) : '/tr:w-' + sectionproperties.imagetr_w2 + ',h-' + sectionproperties.imagetr_h2 + '/' + ((_imagesarray$6 = imagesarray[2]) === null || _imagesarray$6 === void 0 ? void 0 : _imagesarray$6.bgsection_image_ar) : '',
36031
+ path: imagesarray.length != 0 ? langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w2 + ',h-' + sectionproperties.imagetr_h2 + '/' + ((_imagesarray$23 = imagesarray[2]) === null || _imagesarray$23 === void 0 ? void 0 : _imagesarray$23.bgsection_image) : '/tr:w-' + sectionproperties.imagetr_w2 + ',h-' + sectionproperties.imagetr_h2 + '/' + ((_imagesarray$24 = imagesarray[2]) === null || _imagesarray$24 === void 0 ? void 0 : _imagesarray$24.bgsection_image_ar) : '',
35989
36032
  "class": sectionproperties.bgcovercontainresponsive == 'Contain' ? 'objectFit-md-contain' : '',
35990
36033
  style: {
35991
36034
  height: '100%',
@@ -41883,12 +41926,15 @@
41883
41926
  }, /*#__PURE__*/React__default["default"].createElement("div", {
41884
41927
  "class": "row m-0 w-100"
41885
41928
  }, /*#__PURE__*/React__default["default"].createElement("div", {
41886
- className: slideshow_styles.dropdowntitle + ' col-lg-12 p-0 ',
41929
+ className: slideshow_styles.dropdowntitle + ' col-lg-12 p-0 d-flex ',
41887
41930
  style: {
41888
41931
  justifyContent: sectionproperties.titlecentered == 'Centered' ? 'center' : 'start'
41889
41932
  }
41890
41933
  }, /*#__PURE__*/React__default["default"].createElement("p", {
41891
- className: "m-0 p-3 w-100"
41934
+ className: "m-0 p-3 w-100 d-flex",
41935
+ style: {
41936
+ justifyContent: sectionproperties.titlecentered == 'Centered' ? 'center' : 'start'
41937
+ }
41892
41938
  }, langdetect == 'en' ? sectionproperties.collectionssectiontitleen : sectionproperties.collectionssectiontitlear)), /*#__PURE__*/React__default["default"].createElement("div", {
41893
41939
  "class": "col-lg-12 flex-column cat_dropdown_hover scrollvertical pt-3 px-2",
41894
41940
  style: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tabexseriescomponents",
3
- "version": "0.0.260",
3
+ "version": "0.0.262",
4
4
  "description": "your description",
5
5
  "main": "dist/index.cjs.js",
6
6
  "scripts": {