tabexseriescomponents 0.0.431 → 0.0.433

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js CHANGED
@@ -137,6 +137,8 @@ import { FaLinkedinIn } from '@react-icons/all-files/fa/FaLinkedinIn';
137
137
  import { RiRoadMapLine } from '@react-icons/all-files/ri/RiRoadMapLine';
138
138
  import { HiOutlineClock } from '@react-icons/all-files/hi/HiOutlineClock';
139
139
  import { AiOutlineLinkedin } from '@react-icons/all-files/ai/AiOutlineLinkedin';
140
+ import { FaPlus } from '@react-icons/all-files/fa/FaPlus';
141
+ import { FaMinus } from '@react-icons/all-files/fa/FaMinus';
140
142
  import { FaArrowAltCircleRight } from '@react-icons/all-files/fa/FaArrowAltCircleRight';
141
143
  import { FaArrowAltCircleLeft } from '@react-icons/all-files/fa/FaArrowAltCircleLeft';
142
144
  import Select$5 from 'react-select';
@@ -14338,6 +14340,10 @@ var Filter$2 = function Filter(props) {
14338
14340
  '@media (max-width: 800px)': {
14339
14341
  fontSize: sectionproperties.sectionTitleFontSizeresp + 'px'
14340
14342
  }
14343
+ }),
14344
+ filtercard: css({
14345
+ minWidth: sectionproperties.filtercardwidth + 'px',
14346
+ maxWidth: sectionproperties.filtercardwidth + 'px'
14341
14347
  })
14342
14348
  };
14343
14349
  var filterrouting = function filterrouting(tempfetchproductsfilerobjcontext) {
@@ -14607,11 +14613,13 @@ var Filter$2 = function Filter(props) {
14607
14613
  }, /*#__PURE__*/React.createElement(ScrollMenu, {
14608
14614
  transitionBehavior: 'auto',
14609
14615
  wrapperClassName: '',
14610
- itemClassName: 'filtercard',
14616
+ itemClassName: '',
14611
14617
  scrollContainerClassName: 'filterscrollmenuclasssubscrollbar'
14612
14618
  }, collectionstobevisible.map(function (item, index) {
14613
14619
  return /*#__PURE__*/React.createElement("div", {
14614
- className: filter_cssstyles.timeline_text + ' col-xl-12 p-0 col-lg-12 col-md-12 col-sm-12 w-100 cursor-pointer ',
14620
+ className: ' col-xl-12 p-0 col-lg-12 col-md-12 col-sm-12 w-100'
14621
+ }, /*#__PURE__*/React.createElement("div", {
14622
+ className: "".concat(filter_cssstyles.timeline_text, " ").concat(filter_cssstyles.filtercard) + ' p-0 cursor-pointer ',
14615
14623
  onClick: function onClick() {
14616
14624
  setCollectionFilterFunc(item.collectionid);
14617
14625
  },
@@ -14622,8 +14630,8 @@ var Filter$2 = function Filter(props) {
14622
14630
  "class": "col-lg-12 allcentered mb-2"
14623
14631
  }, /*#__PURE__*/React.createElement("div", {
14624
14632
  style: {
14625
- width: 200,
14626
- height: 200
14633
+ width: sectionproperties.filterimagewidthheight + '%',
14634
+ height: sectionproperties.filterimagewidthheight + '%'
14627
14635
  }
14628
14636
  }, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
14629
14637
  urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
@@ -14632,14 +14640,21 @@ var Filter$2 = function Filter(props) {
14632
14640
  style: {
14633
14641
  width: '100%',
14634
14642
  height: '100%',
14635
- objectFit: 'contain'
14643
+ objectFit: 'cover',
14644
+ borderRadius: sectionproperties.filterimageborderradius + 'px'
14636
14645
  },
14637
14646
  loading: "lazy"
14638
14647
  }))), /*#__PURE__*/React.createElement("div", {
14639
- "class": "col-lg-12 allcentered"
14648
+ "class": "row m-0 w-100"
14649
+ }, /*#__PURE__*/React.createElement("div", {
14650
+ "class": "col-lg-10 text-start"
14640
14651
  }, /*#__PURE__*/React.createElement("p", {
14641
14652
  "class": ' m-0 p-0 '
14642
- }, langdetect == 'en' ? item.title_en : item.title_ar)));
14653
+ }, langdetect == 'en' ? item.title_en : item.title_ar)), /*#__PURE__*/React.createElement("div", {
14654
+ "class": "col-lg-2 text-end"
14655
+ }, /*#__PURE__*/React.createElement("i", {
14656
+ "class": "h-100 allcentered"
14657
+ }, langdetect == 'en' ? /*#__PURE__*/React.createElement(BsChevronRight, null) : /*#__PURE__*/React.createElement(BsChevronRight, null))))));
14643
14658
  }))), sectionproperties.showproductgroupbytitle == 'Show' && /*#__PURE__*/React.createElement("div", {
14644
14659
  "class": "col-lg-12 text-start px-4 mb-5",
14645
14660
  style: {
@@ -17098,7 +17113,8 @@ var CardsSection = function CardsSection(props) {
17098
17113
  style: {
17099
17114
  fontWeight: 700,
17100
17115
  fontSize: 27,
17101
- color: '#62554a'
17116
+ // color: '#62554a'
17117
+ color: sectionproperties.sectionTitleColor
17102
17118
  }
17103
17119
  }, show_product_group_titles()['title_en'])), sectionproperties.showproductgroupbytitle == 'Show' && /*#__PURE__*/React.createElement("div", {
17104
17120
  "class": "col-lg-12 mb-3"
@@ -17106,7 +17122,9 @@ var CardsSection = function CardsSection(props) {
17106
17122
  "class": "m-0",
17107
17123
  style: {
17108
17124
  fontSize: 18,
17109
- color: '#62554a'
17125
+ color: sectionproperties.sectionTitleColor
17126
+
17127
+ // color: '#62554a',
17110
17128
  }
17111
17129
  }, plainString(show_product_group_titles()['description_en']))), sectionproperties.showFilter == 'show' && /*#__PURE__*/React.createElement("div", {
17112
17130
  className: sectionproperties.filterdirection == 'Horizontal' ? 'col-lg-12 d-flex p-0' : sectionproperties.numofcols == '2' ? 'col-lg-2 d-flex' : 'col-lg-3 d-flex'
@@ -45252,22 +45270,26 @@ var Newsletterfooter = function Newsletterfooter(props) {
45252
45270
  function ownKeys$1o(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; }
45253
45271
  function _objectSpread$1o(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1o(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1o(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
45254
45272
  var Newsletterincenter = function Newsletterincenter(props) {
45255
- var _css, _footerStyles;
45273
+ var _css, _authdetailsContext$i7, _authdetailsContext$i10, _authdetailsContext$i13, _authdetailsContext$i16, _authdetailsContext$i19, _authdetailsContext$i21;
45256
45274
  var _useState = useState(''),
45257
45275
  _useState2 = _slicedToArray(_useState, 2),
45258
45276
  sectionproperties = _useState2[0],
45259
45277
  setsectionproperties = _useState2[1];
45260
- var _useState3 = useState([]),
45261
- _useState4 = _slicedToArray(_useState3, 2);
45262
- _useState4[0];
45263
- var setlogoarrayofobjects = _useState4[1];
45278
+ var _useState3 = useState(''),
45279
+ _useState4 = _slicedToArray(_useState3, 2),
45280
+ newsletter = _useState4[0],
45281
+ setnewsletter = _useState4[1];
45282
+ var _useState5 = useState([]),
45283
+ _useState6 = _slicedToArray(_useState5, 2);
45284
+ _useState6[0];
45285
+ var setlogoarrayofobjects = _useState6[1];
45264
45286
  props.actions.history;
45265
45287
  var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
45266
45288
  props.actions.lang;
45267
45289
  var langdetect = props.actions.langdetect;
45268
45290
  var routingcountext = props.actions.routingcountext;
45269
- props.actions.StaticPagesLinksContext;
45270
- props.actions.authdetailsContext;
45291
+ var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
45292
+ var authdetailsContext = props.actions.authdetailsContext;
45271
45293
  var templateproperties_context = props.actions.templateproperties_context;
45272
45294
  var templatepropcontext = props.actions.templatepropcontext;
45273
45295
  props.actions.ikimagecredcontext;
@@ -45282,7 +45304,17 @@ var Newsletterincenter = function Newsletterincenter(props) {
45282
45304
  });
45283
45305
  setsectionproperties(_objectSpread$1o({}, secpropobj));
45284
45306
  }, [StatePagePropertiesContext]);
45285
- var footerStyles = (_footerStyles = {
45307
+ var returnpolicyobj = function returnpolicyobj(policytype) {
45308
+ var _authdetailsContext$i;
45309
+ var policyobj = {};
45310
+ authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 || (_authdetailsContext$i = _authdetailsContext$i.instpolicies) === null || _authdetailsContext$i === void 0 || _authdetailsContext$i.forEach(function (item, index) {
45311
+ if (item.policytype == policytype) {
45312
+ policyobj = item;
45313
+ }
45314
+ });
45315
+ return policyobj;
45316
+ };
45317
+ var footerStyles = {
45286
45318
  divider: css({
45287
45319
  height: '1px',
45288
45320
  width: '100%',
@@ -45300,8 +45332,6 @@ var Newsletterincenter = function Newsletterincenter(props) {
45300
45332
  footerContainer: css({
45301
45333
  background: sectionproperties.footerbgcolor,
45302
45334
  paddingTop: sectionproperties.footerpaddingvertical + 'px',
45303
- paddingLeft: sectionproperties.footerpaddinghorizontal + 'px',
45304
- paddingRight: sectionproperties.footerpaddinghorizontal + 'px',
45305
45335
  paddingBottom: sectionproperties.footerpaddingvertical + 'px',
45306
45336
  width: '100vw'
45307
45337
  }),
@@ -45311,12 +45341,18 @@ var Newsletterincenter = function Newsletterincenter(props) {
45311
45341
  position: 'relative'
45312
45342
  }),
45313
45343
  apptore: css({
45314
- width: '100%',
45315
- objectFit: 'contain'
45344
+ width: '25%',
45345
+ objectFit: 'contain',
45346
+ '@media (max-width: 800px)': {
45347
+ width: '40%'
45348
+ }
45316
45349
  }),
45317
45350
  googleplay: css({
45318
- width: '100%',
45319
- objectFit: 'contain'
45351
+ width: '25%',
45352
+ objectFit: 'contain',
45353
+ '@media (max-width: 800px)': {
45354
+ width: '40%'
45355
+ }
45320
45356
  }),
45321
45357
  textStyles: css({
45322
45358
  fontSize: sectionproperties.footerinfotext_fontsize + 'px',
@@ -45330,7 +45366,11 @@ var Newsletterincenter = function Newsletterincenter(props) {
45330
45366
  sectionTitle: css({
45331
45367
  color: sectionproperties.sectionTitleColor,
45332
45368
  fontSize: sectionproperties.sectionTitleFontSize + 'px',
45333
- fontWeight: sectionproperties.sectionTitleFontWeight
45369
+ fontWeight: sectionproperties.sectionTitleFontWeight,
45370
+ textAlign: 'center',
45371
+ '@media (max-width: 800px)': {
45372
+ textAlign: 'start'
45373
+ }
45334
45374
  }),
45335
45375
  subPages: css({
45336
45376
  textTransform: sectionproperties.footertexttransform,
@@ -45397,26 +45437,15 @@ var Newsletterincenter = function Newsletterincenter(props) {
45397
45437
  fontSize: sectionproperties.prodCatFontSize + 'px',
45398
45438
  color: sectionproperties.prodCatColor,
45399
45439
  fontWeight: sectionproperties.prodCatFontWeight
45400
- })
45401
- }, _defineProperty(_footerStyles, "apptore", css({
45402
- width: '35%',
45403
- objectFit: 'contain',
45404
- '@media (max-width: 800px)': {
45405
- width: '30%'
45406
- }
45407
- })), _defineProperty(_footerStyles, "googleplay", css({
45408
- width: '35%',
45409
- objectFit: 'contain',
45410
- '@media (max-width: 800px)': {
45411
- width: '30%'
45412
- }
45413
- })), _defineProperty(_footerStyles, "form_control", css((_css = {
45414
- position: 'relative',
45415
- display: 'flex',
45416
- alignItems: 'center'
45417
- }, _defineProperty(_css, "display", 'block'), _defineProperty(_css, "width", '100%'), _defineProperty(_css, "height", '35px'), _defineProperty(_css, "padding", '0 10px 10px'), _defineProperty(_css, "transition", '.3s'), _defineProperty(_css, "fontWeight", 500), _defineProperty(_css, "borderBottom", ' 1 px solid #ccc'), _defineProperty(_css, "height", '40px'), _defineProperty(_css, "background", 'transparent'), _defineProperty(_css, "color", '#000'), _defineProperty(_css, ':focus', {
45418
- // borderColor: sectionproperties.inputfeildbordercoloronfocus,
45419
- }), _css))), _footerStyles);
45440
+ }),
45441
+ form_control: css((_css = {
45442
+ position: 'relative',
45443
+ display: 'flex',
45444
+ alignItems: 'center'
45445
+ }, _defineProperty(_css, "display", 'block'), _defineProperty(_css, "width", '100%'), _defineProperty(_css, "height", '35px'), _defineProperty(_css, "padding", '0 10px 10px'), _defineProperty(_css, "transition", '.3s'), _defineProperty(_css, "fontWeight", 500), _defineProperty(_css, "borderBottom", ' 1px solid ' + sectionproperties.newslettertitlecolor), _defineProperty(_css, "height", '40px'), _defineProperty(_css, "background", 'transparent'), _defineProperty(_css, "color", '#000'), _defineProperty(_css, ':focus', {
45446
+ // borderColor: sectionproperties.inputfeildbordercoloronfocus,
45447
+ }), _css))
45448
+ };
45420
45449
  useEffect(function () {
45421
45450
  if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
45422
45451
  var logoarrayofobjectsparsed = JSON.parse(templateproperties_context.logoarrayofobjects);
@@ -45425,76 +45454,318 @@ var Newsletterincenter = function Newsletterincenter(props) {
45425
45454
  }
45426
45455
  }
45427
45456
  }, [templateproperties_context]);
45457
+ var Section1Title = function Section1Title() {
45458
+ return /*#__PURE__*/React.createElement("div", {
45459
+ "class": "col-lg-12 p-0"
45460
+ }, /*#__PURE__*/React.createElement("p", {
45461
+ "class": "".concat(footerStyles.sectionTitle) + ' m-0 p-0 mb-3 mb-md-0 '
45462
+ }, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar));
45463
+ };
45428
45464
  var Newsletter = function Newsletter() {
45465
+ var _authdetailsContext$i2, _authdetailsContext$i3;
45429
45466
  return /*#__PURE__*/React.createElement("div", {
45430
45467
  "class": "row m-0 w-100"
45431
45468
  }, /*#__PURE__*/React.createElement("div", {
45432
45469
  "class": "col-lg-12 allcentered mb-3"
45433
45470
  }, /*#__PURE__*/React.createElement("p", {
45471
+ "class": "allcentered",
45434
45472
  style: {
45435
- fontSize: 20,
45436
- fontWeight: 600
45473
+ // fontSize: 20, fontWeight: 600
45474
+ fontSize: sectionproperties.newslettertitlefontsize + 'px',
45475
+ fontWeight: sectionproperties.newslettertitlefontweight,
45476
+ color: sectionproperties.newslettertitlecolor
45437
45477
  }
45438
- }, "STAY IN THE KNOW")), /*#__PURE__*/React.createElement("div", {
45439
- "class": "col-lg-12 allcentered"
45478
+ }, langdetect == 'en' ? sectionproperties.newslettertitle_en : sectionproperties.newslettertitle_ar)), /*#__PURE__*/React.createElement("div", {
45479
+ "class": "col-lg-12 allcentered mb-3"
45440
45480
  }, /*#__PURE__*/React.createElement("p", {
45481
+ "class": "allcentered w-100",
45441
45482
  style: {
45442
- fontSize: 15,
45443
- fontWeight: 600
45483
+ fontSize: sectionproperties.newsletterdescfontsize + 'px',
45484
+ fontWeight: sectionproperties.newsletterdescfontweight,
45485
+ color: sectionproperties.newsletterdesccolor,
45486
+ textAlign: 'center'
45487
+ // fontSize: 15, fontWeight: 600
45444
45488
  }
45445
- }, "Be the first one to receive new releases, special offers, and more")), /*#__PURE__*/React.createElement("div", {
45446
- "class": "col-lg-12 allcentered"
45489
+ }, langdetect == 'en' ? sectionproperties.newsletterdesc_en : sectionproperties.newsletterdesc_ar)), /*#__PURE__*/React.createElement("div", {
45490
+ "class": "col-lg-12 allcentered mb-5"
45447
45491
  }, /*#__PURE__*/React.createElement("input", {
45448
45492
  type: "text",
45449
45493
  className: "".concat(footerStyles.form_control),
45450
45494
  value: '',
45451
45495
  placeholder: "your email",
45452
- onChange: function onChange(event) {},
45496
+ onChange: function onChange(event) {
45497
+ var newslettertemp = _objectSpread$1o({}, newsletter);
45498
+ newslettertemp = event.target.value;
45499
+ setnewsletter(_objectSpread$1o({}, newslettertemp));
45500
+ },
45453
45501
  style: {
45454
45502
  background: sectionproperties.input_bgcolor
45455
45503
  }
45456
- })));
45504
+ })), sectionproperties.showfooterdescription == 'Show' && /*#__PURE__*/React.createElement("div", {
45505
+ "class": "col-lg-12 allcentered"
45506
+ }, /*#__PURE__*/React.createElement("p", {
45507
+ "class": "text-center",
45508
+ style: {
45509
+ fontSize: sectionproperties.footerinfotext_fontsize + 'px',
45510
+ fontWeight: sectionproperties.footerinfotext_fontweight,
45511
+ color: sectionproperties.footerinfotext_color
45512
+ }
45513
+ }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.description_en : authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.description_ar)));
45457
45514
  };
45458
45515
  var Section1pages = function Section1pages() {
45459
45516
  var _templatepropcontext$;
45460
45517
  return /*#__PURE__*/React.createElement("div", {
45461
45518
  "class": "col-lg-12 p-0 mt-md-3"
45462
45519
  }, /*#__PURE__*/React.createElement("div", {
45463
- "class": "row m-0 w-100 d-flex justify-content-start align-items-center flex-column"
45520
+ "class": "row m-0 w-100 d-flex justify-content-center flex-column"
45464
45521
  }, templatepropcontext === null || templatepropcontext === void 0 || (_templatepropcontext$ = templatepropcontext.pagesnprop) === null || _templatepropcontext$ === void 0 ? void 0 : _templatepropcontext$.map(function (item, index) {
45465
45522
  if (item.isnavigation == 1 && item.isactive == 1) {
45466
45523
  if (item.staticpageid != '650c3c37dd5bf' && item.staticpageid != '650c591955e81' && item.staticpageid != '650c5be1dfd5d' && item.staticpageid != '6505ad75b1cdb') {
45467
45524
  return /*#__PURE__*/React.createElement("div", {
45468
- "class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex mb-1"
45469
- }, /*#__PURE__*/React.createElement("div", {
45525
+ "class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex text-centet text-md-start mb-2"
45526
+ }, /*#__PURE__*/React.createElement("p", {
45470
45527
  onClick: function onClick() {
45471
45528
  routingcountext(item.navigationroute);
45472
- }
45473
- }, /*#__PURE__*/React.createElement("p", {
45474
- "class": "".concat(footerStyles.subPages) + ' wordbreak m-0 p-0 ',
45475
- style: {
45476
- textAlign: langdetect == 'en' ? 'left' : 'right'
45477
- }
45478
- }, langdetect == 'en' ? item.pagename : item.pagename_ar)));
45529
+ },
45530
+ "class": "".concat(footerStyles.subPages) + ' wordbreak text-center w-100 m-0 p-0 '
45531
+ }, langdetect == 'en' ? item.pagename : item.pagename_ar));
45479
45532
  }
45480
45533
  }
45481
45534
  })));
45482
45535
  };
45536
+ var Section2Title = function Section2Title() {
45537
+ return /*#__PURE__*/React.createElement("div", {
45538
+ "class": "col-lg-12 p-0"
45539
+ }, /*#__PURE__*/React.createElement("p", {
45540
+ "class": "".concat(footerStyles.sectionTitle) + ' m-0 p-0 mb-3 mb-md-0 wordbreak '
45541
+ }, langdetect == 'en' ? sectionproperties.sectionTitleContent2 : sectionproperties.sectionTitleContent_ar2));
45542
+ };
45543
+ var Section2pages = function Section2pages() {
45544
+ var _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8;
45545
+ return /*#__PURE__*/React.createElement("div", {
45546
+ "class": "col-lg-12 p-0 mt-md-3"
45547
+ }, /*#__PURE__*/React.createElement("div", {
45548
+ "class": "row m-0 w-100 d-flex justify-content-start flex-column"
45549
+ }, /*#__PURE__*/React.createElement("div", {
45550
+ "class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex mb-2"
45551
+ }, /*#__PURE__*/React.createElement("p", {
45552
+ "class": "".concat(footerStyles.subPages) + ' wordbreak m-0 p-0 w-100 text-center text-md-start ',
45553
+ onClick: function onClick() {
45554
+ routingcountext(StaticPagesLinksContext.Wishlist);
45555
+ }
45556
+ }, langdetect == 'en' ? sectionproperties.wishlisttitle_en : sectionproperties.wishlisttitle_ar)), authdetailsContext.loggedin && /*#__PURE__*/React.createElement("div", {
45557
+ "class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex mb-2"
45558
+ }, /*#__PURE__*/React.createElement("p", {
45559
+ "class": "".concat(footerStyles.subPages) + ' wordbreak m-0 p-0 w-100 text-center text-md-start ',
45560
+ onClick: function onClick() {
45561
+ routingcountext(StaticPagesLinksContext.Ordershistory);
45562
+ }
45563
+ }, langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear)), /*#__PURE__*/React.createElement("div", {
45564
+ "class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex mb-2"
45565
+ }, /*#__PURE__*/React.createElement("p", {
45566
+ "class": "".concat(footerStyles.subPages) + ' wordbreak m-0 p-0 w-100 text-center text-md-start ',
45567
+ onClick: function onClick() {
45568
+ routingcountext(StaticPagesLinksContext.PrivacyPolicy);
45569
+ }
45570
+ }, langdetect == 'en' ? (_returnpolicyobj = returnpolicyobj('Privacy Policy')) === null || _returnpolicyobj === void 0 ? void 0 : _returnpolicyobj.policypagename_en : (_returnpolicyobj2 = returnpolicyobj('Privacy Policy')) === null || _returnpolicyobj2 === void 0 ? void 0 : _returnpolicyobj2.policypagename_ar)), /*#__PURE__*/React.createElement("div", {
45571
+ "class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex mb-2"
45572
+ }, /*#__PURE__*/React.createElement("p", {
45573
+ "class": "".concat(footerStyles.subPages) + ' wordbreak m-0 p-0 w-100 text-center text-md-start ',
45574
+ onClick: function onClick() {
45575
+ routingcountext(StaticPagesLinksContext.ShippingPolicy);
45576
+ }
45577
+ }, langdetect == 'en' ? (_returnpolicyobj3 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj3 === void 0 ? void 0 : _returnpolicyobj3.policypagename_en : (_returnpolicyobj4 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj4 === void 0 ? void 0 : _returnpolicyobj4.policypagename_ar)), /*#__PURE__*/React.createElement("div", {
45578
+ "class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex mb-2"
45579
+ }, /*#__PURE__*/React.createElement("p", {
45580
+ "class": "".concat(footerStyles.subPages) + ' wordbreak m-0 p-0 w-100 text-center text-md-start ',
45581
+ onClick: function onClick() {
45582
+ routingcountext(StaticPagesLinksContext.RefundPolicy);
45583
+ }
45584
+ }, langdetect == 'en' ? (_returnpolicyobj5 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj5 === void 0 ? void 0 : _returnpolicyobj5.policypagename_en : (_returnpolicyobj6 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj6 === void 0 ? void 0 : _returnpolicyobj6.policypagename_ar)), /*#__PURE__*/React.createElement("div", {
45585
+ "class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex mb-2"
45586
+ }, /*#__PURE__*/React.createElement("div", {
45587
+ onClick: function onClick() {
45588
+ routingcountext(StaticPagesLinksContext.TermsConditions);
45589
+ }
45590
+ }, /*#__PURE__*/React.createElement("p", {
45591
+ "class": "".concat(footerStyles.subPages) + ' wordbreak m-0 p-0 w-100 text-center text-md-start ',
45592
+ style: {
45593
+ textAlign: 'center'
45594
+ }
45595
+ }, langdetect == 'en' ? (_returnpolicyobj7 = returnpolicyobj('Terms & Conditions')) === null || _returnpolicyobj7 === void 0 ? void 0 : _returnpolicyobj7.policypagename_en : (_returnpolicyobj8 = returnpolicyobj('Terms & Conditions')) === null || _returnpolicyobj8 === void 0 ? void 0 : _returnpolicyobj8.policypagename_ar)))));
45596
+ };
45483
45597
  return /*#__PURE__*/React.createElement("footer", {
45484
45598
  "class": "row m-0 w-100 justify-content-center"
45485
45599
  }, /*#__PURE__*/React.createElement("div", {
45486
45600
  style: {
45487
- paddingLeft: langdetect == 'en' ? sectionproperties.footer_paddingLeft + 'px' : sectionproperties.footer_paddingRight + 'px',
45488
- paddingRight: langdetect == 'en' ? sectionproperties.footer_paddingRight + 'px' : sectionproperties.footer_paddingLeft + 'px'
45601
+ paddingTop: sectionproperties.footer_paddingTop + 'px',
45602
+ paddingBottom: sectionproperties.footer_paddingBottom + 'px'
45489
45603
  },
45490
- "class": "".concat(footerStyles.footerContainer) + ' col-lg-12 col-md-12 col-sm-12 pl-sm-2 pr-sm-2 pl-md-3 pr-md-3 px-2015-3 py-lg-3 '
45604
+ "class": "".concat(footerStyles.footerContainer) + ' col-lg-12 col-md-12 col-sm-12 py-lg-3 '
45605
+ }, /*#__PURE__*/React.createElement("div", {
45606
+ "class": "row m-0 w-100 px-md-2 pl-sm-2 pr-sm-2 pl-md-3 pr-md-3 px-2015-3",
45607
+ style: {
45608
+ paddingLeft: sectionproperties.footerpaddinghorizontal + 'px',
45609
+ paddingRight: sectionproperties.footerpaddinghorizontal + 'px'
45610
+ }
45611
+ }, /*#__PURE__*/React.createElement("div", {
45612
+ "class": "col-lg-4 col-md-12 d-md-none"
45613
+ }, /*#__PURE__*/React.createElement("div", {
45614
+ "class": "row m-0 w-100"
45491
45615
  }, /*#__PURE__*/React.createElement("div", {
45616
+ "class": "col-lg-12 p-0 allcentered mb-3 d-md-none "
45617
+ }, Section1Title()), Section1pages())), /*#__PURE__*/React.createElement("div", {
45618
+ "class": "col-lg-4 col-md-12 d-flex justify-content-center justify-content-md-start d-md-none"
45619
+ }, Newsletter()), /*#__PURE__*/React.createElement("div", {
45620
+ "class": "col-lg-4 col-md-12 d-block d-md-none"
45621
+ }, /*#__PURE__*/React.createElement("div", {
45622
+ "class": "row m-0 w-100"
45623
+ }, /*#__PURE__*/React.createElement("div", {
45624
+ "class": "col-lg-12 p-0 allcentered mb-3"
45625
+ }, Section2Title()), Section2pages()))), /*#__PURE__*/React.createElement("div", {
45626
+ "class": "col-lg-12 col-md-12 d-none d-md-flex"
45627
+ }, Newsletter()), /*#__PURE__*/React.createElement("div", {
45628
+ "class": "col-lg-12 p-0 d-none d-md-block"
45629
+ }, /*#__PURE__*/React.createElement("hr", null)), /*#__PURE__*/React.createElement("div", {
45630
+ "class": "col-lg-12 col-md-12 d-none d-md-flex"
45631
+ }, /*#__PURE__*/React.createElement(Accordion, {
45632
+ "class": "w-100"
45633
+ }, /*#__PURE__*/React.createElement(AccordionItem, null, /*#__PURE__*/React.createElement(AccordionItemHeading, null, /*#__PURE__*/React.createElement(AccordionItemButton, null, /*#__PURE__*/React.createElement("div", {
45492
45634
  "class": "row m-0 w-100"
45493
45635
  }, /*#__PURE__*/React.createElement("div", {
45494
- "class": "col-lg-4 col-md-12 d-flex justify-content-center justify-content-md-start"
45495
- }, Section1pages()), /*#__PURE__*/React.createElement("div", {
45496
- "class": "col-lg-4 col-md-12 d-flex justify-content-center justify-content-md-start"
45497
- }, Newsletter()))));
45636
+ className: "col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center justify-content-start"
45637
+ }, Section1Title()), /*#__PURE__*/React.createElement("div", {
45638
+ className: "col-lg-2 col-md-2 col-sm-2 p-0"
45639
+ }, /*#__PURE__*/React.createElement(AccordionItemState, null, function (state) {
45640
+ if (state.expanded == true) {
45641
+ return /*#__PURE__*/React.createElement("i", {
45642
+ className: ' h-100 d-flex align-items-center justify-content-end '
45643
+ }, /*#__PURE__*/React.createElement(FaMinus, {
45644
+ color: sectionproperties.sectionTitleColor
45645
+ }));
45646
+ } else {
45647
+ return /*#__PURE__*/React.createElement("i", {
45648
+ className: ' h-100 d-flex align-items-center justify-content-end '
45649
+ }, /*#__PURE__*/React.createElement(FaPlus, {
45650
+ color: sectionproperties.sectionTitleColor
45651
+ }));
45652
+ }
45653
+ }))))), /*#__PURE__*/React.createElement(AccordionItemPanel, {
45654
+ className: "p-0 anim"
45655
+ }, Section1pages())))), /*#__PURE__*/React.createElement("div", {
45656
+ "class": "col-lg-12 p-0 d-none d-md-block"
45657
+ }, /*#__PURE__*/React.createElement("hr", null)), /*#__PURE__*/React.createElement("div", {
45658
+ "class": "col-lg-12 col-md-12 d-none d-md-flex"
45659
+ }, /*#__PURE__*/React.createElement(Accordion, {
45660
+ "class": "w-100"
45661
+ }, /*#__PURE__*/React.createElement(AccordionItem, null, /*#__PURE__*/React.createElement(AccordionItemHeading, null, /*#__PURE__*/React.createElement(AccordionItemButton, null, /*#__PURE__*/React.createElement("div", {
45662
+ "class": "row m-0 w-100"
45663
+ }, /*#__PURE__*/React.createElement("div", {
45664
+ className: "col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center justify-content-start"
45665
+ }, Section2Title()), /*#__PURE__*/React.createElement("div", {
45666
+ className: "col-lg-2 col-md-2 col-sm-2 p-0"
45667
+ }, /*#__PURE__*/React.createElement(AccordionItemState, null, function (state) {
45668
+ if (state.expanded == true) {
45669
+ return /*#__PURE__*/React.createElement("i", {
45670
+ className: ' h-100 d-flex align-items-center justify-content-end '
45671
+ }, /*#__PURE__*/React.createElement(FaMinus, {
45672
+ color: sectionproperties.sectionTitleColor
45673
+ }));
45674
+ } else {
45675
+ return /*#__PURE__*/React.createElement("i", {
45676
+ className: ' h-100 d-flex align-items-center justify-content-end '
45677
+ }, /*#__PURE__*/React.createElement(FaPlus, {
45678
+ color: sectionproperties.sectionTitleColor
45679
+ }));
45680
+ }
45681
+ }))))), /*#__PURE__*/React.createElement(AccordionItemPanel, {
45682
+ className: "p-0 anim"
45683
+ }, Section2pages())))), /*#__PURE__*/React.createElement("div", {
45684
+ "class": "row m-0 w-100 px-5 px-md-2 "
45685
+ }, /*#__PURE__*/React.createElement("div", {
45686
+ "class": "col-lg-12 p-0"
45687
+ }, /*#__PURE__*/React.createElement("hr", null)), /*#__PURE__*/React.createElement("div", {
45688
+ "class": "col-lg-6 col-md-12 text-start flex-row d-md-none"
45689
+ }, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.facebooklink) != null && /*#__PURE__*/React.createElement("p", {
45690
+ "class": footerStyles.facebook_btn + ' m-0 p-0 allcentered mx-3 ',
45691
+ onClick: function onClick() {
45692
+ var _authdetailsContext$i8;
45693
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.facebooklink) != null) {
45694
+ var _authdetailsContext$i9;
45695
+ window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.facebooklink, '_blank');
45696
+ }
45697
+ }
45698
+ }, /*#__PURE__*/React.createElement(FaFacebook, {
45699
+ size: sectionproperties.facebkbtnniconfontsize
45700
+ })), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.instagramlink) != null && /*#__PURE__*/React.createElement("p", {
45701
+ "class": footerStyles.instgram_btn + ' m-0 p-0 allcentered mx-3 ',
45702
+ onClick: function onClick() {
45703
+ var _authdetailsContext$i11;
45704
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.instagramlink) != null) {
45705
+ var _authdetailsContext$i12;
45706
+ window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.instagramlink, '_blank');
45707
+ }
45708
+ }
45709
+ }, /*#__PURE__*/React.createElement(AiFillInstagram, {
45710
+ size: sectionproperties.instgrambtniconfontsize
45711
+ })), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.youtubelink) != null && /*#__PURE__*/React.createElement("p", {
45712
+ "class": footerStyles.instgram_btn + ' m-0 p-0 allcentered mx-3 ',
45713
+ onClick: function onClick() {
45714
+ var _authdetailsContext$i14;
45715
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.youtubelink) != null) {
45716
+ var _authdetailsContext$i15;
45717
+ window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.youtubelink, '_blank');
45718
+ }
45719
+ }
45720
+ }, /*#__PURE__*/React.createElement(AiFillYoutube, {
45721
+ size: sectionproperties.instgrambtniconfontsize
45722
+ })), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.tiktoklink) != null && /*#__PURE__*/React.createElement("p", {
45723
+ "class": footerStyles.instgram_btn + ' m-0 p-0 allcentered mx-3 ',
45724
+ onClick: function onClick() {
45725
+ var _authdetailsContext$i17;
45726
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.tiktoklink) != null) {
45727
+ var _authdetailsContext$i18;
45728
+ window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.tiktoklink, '_blank');
45729
+ }
45730
+ }
45731
+ }, /*#__PURE__*/React.createElement(IoLogoTiktok, {
45732
+ size: sectionproperties.instgrambtniconfontsize
45733
+ })), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.linkedinlink) != null && /*#__PURE__*/React.createElement("p", {
45734
+ "class": footerStyles.instgram_btn + ' m-0 p-0 allcentered mx-3 ',
45735
+ onClick: function onClick() {
45736
+ var _authdetailsContext$i20;
45737
+ window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.linkedinlink, '_blank');
45738
+ }
45739
+ }, /*#__PURE__*/React.createElement(FaLinkedinIn, {
45740
+ size: sectionproperties.instgrambtniconfontsize
45741
+ })), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.whatsappnumber) != null && /*#__PURE__*/React.createElement("p", {
45742
+ "class": footerStyles.youtube_btn + ' m-0 p-0 allcentered mx-3 ',
45743
+ onClick: function onClick() {
45744
+ var _authdetailsContext$i22;
45745
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.whatsappnumber) != null) {
45746
+ var _authdetailsContext$i23;
45747
+ window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.whatsappnumber), '_blank');
45748
+ }
45749
+ }
45750
+ }, /*#__PURE__*/React.createElement(FaWhatsapp, {
45751
+ size: sectionproperties.youtubebtniconfontsize
45752
+ }))), /*#__PURE__*/React.createElement("div", {
45753
+ "class": "col-lg-6 col-md-12 d-flex align-items-center justify-content-end justify-content-md-center flex-row"
45754
+ }, /*#__PURE__*/React.createElement("img", {
45755
+ "class": "".concat(footerStyles.apptore) + ' d-flex justify-content-center align-items-center cursor-pointer mx-2 ',
45756
+ src: 'https://tabex-co.com/storage/StaticImages/appstore2.png',
45757
+ onClick: function onClick() {
45758
+ var _authdetailsContext$i24;
45759
+ window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.mobileapplink_appstore, '_blank');
45760
+ }
45761
+ }), /*#__PURE__*/React.createElement("img", {
45762
+ "class": "".concat(footerStyles.googleplay) + ' d-flex justify-content-center align-items-center cursor-pointer mx-2 ',
45763
+ src: 'https://tabex-co.com/storage/StaticImages/googleplay2.png',
45764
+ onClick: function onClick() {
45765
+ var _authdetailsContext$i25;
45766
+ window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.mobileapplink_playstore, '_blank');
45767
+ }
45768
+ })))));
45498
45769
  };
45499
45770
 
45500
45771
  function ownKeys$1n(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; }
@@ -70731,7 +71002,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
70731
71002
  }
70732
71003
  }),
70733
71004
  cart_btn: css({
70734
- width: sectionproperties.cartBtnWidth + 'px',
71005
+ width: sectionproperties.cartBtnWidth == 0 ? 'auto' : sectionproperties.cartBtnWidth + 'px',
70735
71006
  height: sectionproperties.cartBtnHeight + 'px',
70736
71007
  background: sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor,
70737
71008
  borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
@@ -70741,6 +71012,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
70741
71012
  fontWeight: sectionproperties.cartBtnTextfontweight,
70742
71013
  border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
70743
71014
  transition: '.3s',
71015
+ textDecoration: sectionproperties.cartbtntextdecoration == 'Underline' ? 'underline' : 'none',
70744
71016
  ':hover': {
70745
71017
  background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
70746
71018
  color: sectionproperties.cartBtnTextcoloronhover,
@@ -70950,14 +71222,14 @@ var Simpleproductcard = function Simpleproductcard(props) {
70950
71222
  textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
70951
71223
  },
70952
71224
  dangerouslySetInnerHTML: {
70953
- __html: langdetect == 'en' ? item.description_en : item.description_ar
71225
+ __html: item.description
70954
71226
  }
70955
71227
  }), sectionproperties.prodCatShow == 'Show' && sectionproperties.descriptionoverwritestyles == 'Yes' && /*#__PURE__*/React.createElement("p", {
70956
71228
  "class": "".concat(card_cssstyles.productDescStyles) + ' col-lg-12 wordbreak wordbreak2 p-0 ',
70957
71229
  style: {
70958
71230
  textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
70959
71231
  }
70960
- }, plainString(langdetect == 'en' ? item.description_en : item.description_ar)), /*#__PURE__*/React.createElement("div", {
71232
+ }, plainString(item.description)), /*#__PURE__*/React.createElement("div", {
70961
71233
  style: {
70962
71234
  flexDirection: 'column'
70963
71235
  },