tabexseriescomponents 0.2.749 → 0.2.751

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
@@ -19349,10 +19349,10 @@ var CardsSection = function CardsSection(props) {
19349
19349
  cardobj.skiplayeronclick = arrayItem === null || arrayItem === void 0 ? void 0 : arrayItem.skiplayeronclick;
19350
19350
  if (langdetect == 'en') {
19351
19351
  cardobj.name = arrayItem.title_en;
19352
- cardobj.description = arrayItem.description_en;
19352
+ cardobj.shortdescription = arrayItem.description_en;
19353
19353
  } else if (langdetect == 'ar') {
19354
19354
  cardobj.name = arrayItem.title_ar;
19355
- cardobj.description = arrayItem.description_ar;
19355
+ cardobj.shortdescription = arrayItem.description_ar;
19356
19356
  }
19357
19357
  cardobj.image = arrayItem.collectionlogo;
19358
19358
  cardobj.producttags = [];
@@ -19362,10 +19362,10 @@ var CardsSection = function CardsSection(props) {
19362
19362
  cardobj.skiplayeronclick = arrayItem === null || arrayItem === void 0 ? void 0 : arrayItem.skiplayeronclick;
19363
19363
  if (langdetect == 'en') {
19364
19364
  cardobj.name = arrayItem.title_en;
19365
- cardobj.description = arrayItem.description_en;
19365
+ cardobj.shortdescription = arrayItem.description_en;
19366
19366
  } else if (langdetect == 'ar') {
19367
19367
  cardobj.name = arrayItem.title_ar;
19368
- cardobj.description = arrayItem.description_ar;
19368
+ cardobj.shortdescription = arrayItem.description_ar;
19369
19369
  }
19370
19370
  cardobj.image = arrayItem.categorylogo;
19371
19371
  cardobj.producttags = [];
@@ -19375,10 +19375,10 @@ var CardsSection = function CardsSection(props) {
19375
19375
  cardobj.skiplayeronclick = arrayItem === null || arrayItem === void 0 ? void 0 : arrayItem.skiplayeronclick;
19376
19376
  if (langdetect == 'en') {
19377
19377
  cardobj.name = arrayItem.title_en;
19378
- cardobj.description = arrayItem.description_en;
19378
+ cardobj.shortdescription = arrayItem.description_en;
19379
19379
  } else if (langdetect == 'ar') {
19380
19380
  cardobj.name = arrayItem.title_ar;
19381
- cardobj.description = arrayItem.description_ar;
19381
+ cardobj.shortdescription = arrayItem.description_ar;
19382
19382
  }
19383
19383
  cardobj.image = arrayItem.parentcollectionlogo;
19384
19384
  cardobj.producttags = [];
@@ -23933,7 +23933,8 @@ var SocialMediaSection = function SocialMediaSection(props) {
23933
23933
  window.open(templateproperties_context.locationlink, '_blank');
23934
23934
  },
23935
23935
  style: {
23936
- color: '#b2b2b2'
23936
+ color: '#b2b2b2',
23937
+ fontSize: 18
23937
23938
  }
23938
23939
  }, /*#__PURE__*/React__default["default"].createElement("i", {
23939
23940
  "class": header_cssstyles.icon + ' h-100 d-flex align-items-center justify-content-center '
@@ -23947,7 +23948,8 @@ var SocialMediaSection = function SocialMediaSection(props) {
23947
23948
  window.open('tel:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber), '_self');
23948
23949
  },
23949
23950
  style: {
23950
- color: '#b2b2b2'
23951
+ color: '#b2b2b2',
23952
+ fontSize: 18
23951
23953
  }
23952
23954
  }, /*#__PURE__*/React__default["default"].createElement("i", {
23953
23955
  "class": header_cssstyles.icon + ' fa fa-phone ',
@@ -50113,6 +50115,16 @@ var Footer8 = function Footer8(props) {
50113
50115
  googleplay: glamor.css({
50114
50116
  width: '100%',
50115
50117
  objectFit: 'contain'
50118
+ }),
50119
+ linkedinbtn: glamor.css({
50120
+ ':hover': {
50121
+ backgroundColor: sectionproperties.linkedinbgcoloronhover
50122
+ }
50123
+ }),
50124
+ tiktokbtn: glamor.css({
50125
+ ':hover': {
50126
+ backgroundColor: sectionproperties.tiktokbgcoloronhover
50127
+ }
50116
50128
  })
50117
50129
  };
50118
50130
  React.useEffect(function () {
@@ -50647,15 +50659,23 @@ var Footer8 = function Footer8(props) {
50647
50659
  color: '#e1c856'
50648
50660
  }
50649
50661
  }, /*#__PURE__*/React__default["default"].createElement("a", {
50650
- href: 'tel:01225534406'
50662
+ href: 'tel:01225534406',
50663
+ target: '_self'
50651
50664
  }, /*#__PURE__*/React__default["default"].createElement("p", {
50652
- "class": "".concat(footerStyles.iconTextStyle)
50665
+ "class": "".concat(footerStyles.iconTextStyle),
50666
+ style: {
50667
+ direction: 'ltr'
50668
+ }
50653
50669
  }, "+201225534406")), /*#__PURE__*/React__default["default"].createElement("p", {
50654
50670
  "class": "".concat(footerStyles.iconTextStyle) + ' mx-1 '
50655
50671
  }, " "), /*#__PURE__*/React__default["default"].createElement("a", {
50656
- href: 'tel:01015055005'
50672
+ href: 'tel:01015055005',
50673
+ target: '_self'
50657
50674
  }, /*#__PURE__*/React__default["default"].createElement("p", {
50658
- "class": "".concat(footerStyles.iconTextStyle)
50675
+ "class": "".concat(footerStyles.iconTextStyle),
50676
+ style: {
50677
+ direction: 'ltr'
50678
+ }
50659
50679
  }, "+201015055005"))), /*#__PURE__*/React__default["default"].createElement("div", {
50660
50680
  "class": "col-lg-12 p-0 text-start mt-3"
50661
50681
  }, /*#__PURE__*/React__default["default"].createElement("p", {
@@ -50686,13 +50706,15 @@ var Footer8 = function Footer8(props) {
50686
50706
  }, "\u0627\u0631\u0642\u0627\u0645 \u0627\u0644\u0645\u0648\u0628\u0627\u064A\u0644 \u0627\u0644\u062E\u0627\u0635 \u0628\u0627\u0644\u0641\u0631\u0639 :")), /*#__PURE__*/React__default["default"].createElement("div", {
50687
50707
  "class": "col-lg-12 p-0 text-start"
50688
50708
  }, /*#__PURE__*/React__default["default"].createElement("a", {
50689
- href: 'tel:01225534407'
50709
+ href: 'tel:01225534407',
50710
+ target: '_self'
50690
50711
  }, /*#__PURE__*/React__default["default"].createElement("p", {
50691
50712
  "class": "".concat(footerStyles.iconTextStyle)
50692
50713
  }, "+201225534407")), /*#__PURE__*/React__default["default"].createElement("p", {
50693
50714
  "class": "".concat(footerStyles.iconTextStyle) + ' mx-1 '
50694
50715
  }, " "), /*#__PURE__*/React__default["default"].createElement("a", {
50695
- href: 'tel:01007073070'
50716
+ href: 'tel:01007073070',
50717
+ target: '_self'
50696
50718
  }, /*#__PURE__*/React__default["default"].createElement("p", {
50697
50719
  "class": "".concat(footerStyles.iconTextStyle)
50698
50720
  }, "+201007073070")))))), /*#__PURE__*/React__default["default"].createElement("div", {
@@ -50723,15 +50745,23 @@ var Footer8 = function Footer8(props) {
50723
50745
  }, "\u0623\u0631\u0642\u0627\u0645 \u0627\u0644\u0647\u0627\u062A\u0641")), /*#__PURE__*/React__default["default"].createElement("div", {
50724
50746
  "class": "col-lg-12 p-0 text-start mb-2"
50725
50747
  }, /*#__PURE__*/React__default["default"].createElement("a", {
50726
- href: 'tel:01557000021'
50748
+ href: 'tel:01557000021',
50749
+ target: '_self'
50727
50750
  }, /*#__PURE__*/React__default["default"].createElement("p", {
50728
- "class": "".concat(footerStyles.iconTextStyle) + ' m-0 '
50751
+ "class": "".concat(footerStyles.iconTextStyle) + ' m-0 ',
50752
+ style: {
50753
+ direction: 'ltr'
50754
+ }
50729
50755
  }, "+201557000021"))), /*#__PURE__*/React__default["default"].createElement("div", {
50730
50756
  "class": "col-lg-12 p-0 text-start mb-2"
50731
50757
  }, /*#__PURE__*/React__default["default"].createElement("a", {
50732
- href: 'tel:01015055005'
50758
+ href: 'tel:01015055005',
50759
+ target: '_self'
50733
50760
  }, /*#__PURE__*/React__default["default"].createElement("p", {
50734
- "class": "".concat(footerStyles.iconTextStyle) + ' m-0 '
50761
+ "class": "".concat(footerStyles.iconTextStyle) + ' m-0 ',
50762
+ style: {
50763
+ direction: 'ltr'
50764
+ }
50735
50765
  }, "+201015055005"))), /*#__PURE__*/React__default["default"].createElement("div", {
50736
50766
  "class": "col-lg-12 p-0 text-start mt-4 mb-2"
50737
50767
  }, /*#__PURE__*/React__default["default"].createElement("p", {
@@ -50756,7 +50786,7 @@ var Footer8 = function Footer8(props) {
50756
50786
  }
50757
50787
  }, /*#__PURE__*/React__default["default"].createElement("img", {
50758
50788
  "class": ' mx-2 ',
50759
- src: 'https://tabex-co.com/storage/StaticImages/qr.jpeg',
50789
+ src: 'https://tabex-co.com/storage/StaticImages/qr.png',
50760
50790
  style: {
50761
50791
  maxWidth: '90%',
50762
50792
  maxHeight: '90%'
@@ -50795,7 +50825,7 @@ var Footer8 = function Footer8(props) {
50795
50825
  }, /*#__PURE__*/React__default["default"].createElement(FaFacebookF.FaFacebookF, {
50796
50826
  size: sectionproperties.facebkbtnniconfontsize
50797
50827
  })), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i48 = authdetailsContext.instinfo) === null || _authdetailsContext$i48 === void 0 ? void 0 : _authdetailsContext$i48.linkedinlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
50798
- "class": "".concat(footerStyles.youtube_btn) + ' d-flex align-items-center justify-content-center ml-2 mr-2'
50828
+ "class": "".concat(footerStyles.youtube_btn, " ").concat(footerStyles.linkedinbtn) + ' d-flex align-items-center justify-content-center ml-2 mr-2'
50799
50829
  // class={`${footerStyles.youtube_btn}` + ' d-flex align-items-center justify-content-center ml-1 mr-1 '}
50800
50830
  ,
50801
50831
  onClick: function onClick() {
@@ -50821,7 +50851,7 @@ var Footer8 = function Footer8(props) {
50821
50851
  }))), /*#__PURE__*/React__default["default"].createElement("div", {
50822
50852
  className: "col-lg-12 p-0 d-flex flex-row mt-3"
50823
50853
  }, sectionproperties.tiktokshow == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i54 = authdetailsContext.instinfo) === null || _authdetailsContext$i54 === void 0 ? void 0 : _authdetailsContext$i54.tiktoklink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
50824
- "class": langdetect == 'en' ? "".concat(footerStyles.youtube_btn) + ' d-flex align-items-center justify-content-center mr-2' : "".concat(footerStyles.youtube_btn) + ' d-flex align-items-center justify-content-center ml-2'
50854
+ "class": langdetect == 'en' ? "".concat(footerStyles.youtube_btn, " ").concat(footerStyles.tiktokbtn) + ' d-flex align-items-center justify-content-center mr-2' : "".concat(footerStyles.youtube_btn, " ").concat(footerStyles.tiktokbtn) + ' d-flex align-items-center justify-content-center ml-2'
50825
50855
  // class={`${footerStyles.youtube_btn}` + ' d-flex align-items-center justify-content-center ml-1 mr-1 '}
50826
50856
  ,
50827
50857
  onClick: function onClick() {
@@ -50834,7 +50864,7 @@ var Footer8 = function Footer8(props) {
50834
50864
  }, /*#__PURE__*/React__default["default"].createElement(IoLogoTiktok.IoLogoTiktok, {
50835
50865
  size: sectionproperties.youtubebtniconfontsize
50836
50866
  })), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i57 = authdetailsContext.instinfo) === null || _authdetailsContext$i57 === void 0 ? void 0 : _authdetailsContext$i57.youtubelink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
50837
- "class": "".concat(footerStyles.youtube_btn) + ' d-flex align-items-center justify-content-center ml-2 mr-2 ',
50867
+ "class": "".concat(footerStyles.youtube_btn, " ") + ' d-flex align-items-center justify-content-center ml-2 mr-2 ',
50838
50868
  onClick: function onClick() {
50839
50869
  var _authdetailsContext$i58;
50840
50870
  if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i58 = authdetailsContext.instinfo) === null || _authdetailsContext$i58 === void 0 ? void 0 : _authdetailsContext$i58.youtubelink) != null) {
@@ -84342,17 +84372,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
84342
84372
  paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
84343
84373
  paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
84344
84374
  }
84345
- // data-aos={'fade-up'}
84346
- // data-aos-delay={props.sectionindexprops + 10}
84347
- // class={props.sectiontypeprops2 == 'vertical' ? `${card_cssstyles.productcard}` + ' w-100 ' : ` ${card_cssstyles.productcard} ${generalCardsStyles.Simpleproductcard}`}
84348
- // style={{
84349
- // paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
84350
- // paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px',
84351
- // minWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.width + 'px',
84352
- // maxWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.width + 'px',
84353
- // }}
84354
- // data-aos={sectionproperties.showanimation == 'Yes' ? 'fade-up' : ''}
84355
- }, sectionproperties.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
84375
+ }, sectionproperties.length != 0 && authdetailsContext.instinfo.instid != '6798f886811bb' && /*#__PURE__*/React__default["default"].createElement("div", {
84356
84376
  "class": card_cssstyles.cardconttt + ' cursor-pointer w-100 ',
84357
84377
  style: {}
84358
84378
  }, sectionproperties.image_show == 'show' && /*#__PURE__*/React__default["default"].createElement("div", {
@@ -84738,7 +84758,100 @@ var Simpleproductcard = function Simpleproductcard(props) {
84738
84758
  }
84739
84759
  }),
84740
84760
  activeColor: "#ffd700"
84741
- }))))));
84761
+ }))))), sectionproperties.length != 0 && authdetailsContext.instinfo.instid == '6798f886811bb' && /*#__PURE__*/React__default["default"].createElement("div", {
84762
+ "class": card_cssstyles.cardconttt + ' cursor-pointer w-100 ',
84763
+ style: {}
84764
+ }, sectionproperties.image_show == 'show' && /*#__PURE__*/React__default["default"].createElement("div", {
84765
+ "class": card_cssstyles.icontainer + ' w-100 px-3 ',
84766
+ style: {
84767
+ position: 'relative'
84768
+ }
84769
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
84770
+ "class": sectionproperties.hideshowcardtransition == 'Show' ? " ".concat(card_cssstyles.productcardimagecont, " ").concat(cardstyles$7.imagecontainer) + ' d-flex d-md-none ' : " ".concat(card_cssstyles.productcardimagecont, " ") + ' d-flex d-md-none ',
84771
+ style: {
84772
+ marginBottom: sectionproperties.image_mb + 'px'
84773
+ },
84774
+ onClick: function onClick(e) {
84775
+ var _sectionproperties$se2;
84776
+ if (((_sectionproperties$se2 = sectionproperties.sectionproperties) === null || _sectionproperties$se2 === void 0 ? void 0 : _sectionproperties$se2.onClickRoute) == 'None') ; else {
84777
+ e.stopPropagation();
84778
+ var productidtobesend = null;
84779
+ if (sectionproperties.urlwithproductname == 'Yes') {
84780
+ productidtobesend = item.productendpointurl;
84781
+ } else {
84782
+ productidtobesend = item.productid;
84783
+ }
84784
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid);
84785
+ }
84786
+ }
84787
+ }, Image('normal')), /*#__PURE__*/React__default["default"].createElement("div", {
84788
+ "class": sectionproperties.hideshowcardtransition == 'Show' ? " ".concat(card_cssstyles.productcardimagecont, " ").concat(cardstyles$7.imagecontainer) + ' d-none d-md-flex ' : " ".concat(card_cssstyles.productcardimagecont, " ") + ' d-none d-md-flex ',
84789
+ style: {
84790
+ marginBottom: sectionproperties.image_mb + 'px'
84791
+ },
84792
+ onClick: function onClick(e) {
84793
+ if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute) == 'None') ; else {
84794
+ handleClick();
84795
+ }
84796
+ }
84797
+ }, Image('normal')), /*#__PURE__*/React__default["default"].createElement("div", {
84798
+ "class": card_cssstyles.pinfohover + ' row m-0 w-100 pinfohover h-100 d-flex align-items-center '
84799
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
84800
+ "class": "row m-0 w-100 px-3"
84801
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
84802
+ "class": ' col-lg-12 pl-0 pr-0 ',
84803
+ style: {}
84804
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
84805
+ onClick: function onClick() {
84806
+ if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute) == 'None') ; else {
84807
+ var productidtobesend = null;
84808
+ if (sectionproperties.urlwithproductname == 'Yes') {
84809
+ productidtobesend = item.productendpointurl;
84810
+ } else {
84811
+ productidtobesend = item.productid;
84812
+ }
84813
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid);
84814
+ }
84815
+ },
84816
+ "class": sectionproperties.wordbreak == '1' ? "".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak1 font-md-13 m-0 ' : "".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak2 font-md-13 wordbreak-md-4 m-0 ',
84817
+ style: {
84818
+ textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
84819
+ }
84820
+ }, item.name)), /*#__PURE__*/React__default["default"].createElement("div", {
84821
+ "class": ' col-lg-12 p-0 ',
84822
+ style: {}
84823
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
84824
+ "class": sectionproperties.descriptionwordbreak == 'None' ? "".concat(card_cssstyles.productDescStyles) + ' p-0 mt-1 ' : "".concat(card_cssstyles.productDescStyles) + ' p-0 wordbreak wordbreak4 mt-1 ',
84825
+ style: {
84826
+ textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
84827
+ },
84828
+ dangerouslySetInnerHTML: {
84829
+ __html: item.shortdescription
84830
+ }
84831
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
84832
+ "class": ' col-lg-12 p-0 '
84833
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
84834
+ "class": "".concat(card_cssstyles.cart_btn) + ' m-0 p-0 d-flex align-items-center justify-content-start mt-1 ',
84835
+ onClick: function onClick() {
84836
+ if (sectionproperties.showvariantscont == 'Show') {
84837
+ addtocartfunc();
84838
+ } else {
84839
+ if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 0) {
84840
+ addtocartfunc();
84841
+ } else if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 1) {
84842
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
84843
+ } else {
84844
+ var productidtobesend = null;
84845
+ if (sectionproperties.urlwithproductname == 'Yes') {
84846
+ productidtobesend = item.productendpointurl;
84847
+ } else {
84848
+ productidtobesend = item.productid;
84849
+ }
84850
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid);
84851
+ }
84852
+ }
84853
+ }
84854
+ }, addtocartbuttonrender())))))));
84742
84855
  };
84743
84856
 
84744
84857
  function ownKeys$5(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; }
package/dist/index.esm.js CHANGED
@@ -19300,10 +19300,10 @@ var CardsSection = function CardsSection(props) {
19300
19300
  cardobj.skiplayeronclick = arrayItem === null || arrayItem === void 0 ? void 0 : arrayItem.skiplayeronclick;
19301
19301
  if (langdetect == 'en') {
19302
19302
  cardobj.name = arrayItem.title_en;
19303
- cardobj.description = arrayItem.description_en;
19303
+ cardobj.shortdescription = arrayItem.description_en;
19304
19304
  } else if (langdetect == 'ar') {
19305
19305
  cardobj.name = arrayItem.title_ar;
19306
- cardobj.description = arrayItem.description_ar;
19306
+ cardobj.shortdescription = arrayItem.description_ar;
19307
19307
  }
19308
19308
  cardobj.image = arrayItem.collectionlogo;
19309
19309
  cardobj.producttags = [];
@@ -19313,10 +19313,10 @@ var CardsSection = function CardsSection(props) {
19313
19313
  cardobj.skiplayeronclick = arrayItem === null || arrayItem === void 0 ? void 0 : arrayItem.skiplayeronclick;
19314
19314
  if (langdetect == 'en') {
19315
19315
  cardobj.name = arrayItem.title_en;
19316
- cardobj.description = arrayItem.description_en;
19316
+ cardobj.shortdescription = arrayItem.description_en;
19317
19317
  } else if (langdetect == 'ar') {
19318
19318
  cardobj.name = arrayItem.title_ar;
19319
- cardobj.description = arrayItem.description_ar;
19319
+ cardobj.shortdescription = arrayItem.description_ar;
19320
19320
  }
19321
19321
  cardobj.image = arrayItem.categorylogo;
19322
19322
  cardobj.producttags = [];
@@ -19326,10 +19326,10 @@ var CardsSection = function CardsSection(props) {
19326
19326
  cardobj.skiplayeronclick = arrayItem === null || arrayItem === void 0 ? void 0 : arrayItem.skiplayeronclick;
19327
19327
  if (langdetect == 'en') {
19328
19328
  cardobj.name = arrayItem.title_en;
19329
- cardobj.description = arrayItem.description_en;
19329
+ cardobj.shortdescription = arrayItem.description_en;
19330
19330
  } else if (langdetect == 'ar') {
19331
19331
  cardobj.name = arrayItem.title_ar;
19332
- cardobj.description = arrayItem.description_ar;
19332
+ cardobj.shortdescription = arrayItem.description_ar;
19333
19333
  }
19334
19334
  cardobj.image = arrayItem.parentcollectionlogo;
19335
19335
  cardobj.producttags = [];
@@ -23884,7 +23884,8 @@ var SocialMediaSection = function SocialMediaSection(props) {
23884
23884
  window.open(templateproperties_context.locationlink, '_blank');
23885
23885
  },
23886
23886
  style: {
23887
- color: '#b2b2b2'
23887
+ color: '#b2b2b2',
23888
+ fontSize: 18
23888
23889
  }
23889
23890
  }, /*#__PURE__*/React.createElement("i", {
23890
23891
  "class": header_cssstyles.icon + ' h-100 d-flex align-items-center justify-content-center '
@@ -23898,7 +23899,8 @@ var SocialMediaSection = function SocialMediaSection(props) {
23898
23899
  window.open('tel:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber), '_self');
23899
23900
  },
23900
23901
  style: {
23901
- color: '#b2b2b2'
23902
+ color: '#b2b2b2',
23903
+ fontSize: 18
23902
23904
  }
23903
23905
  }, /*#__PURE__*/React.createElement("i", {
23904
23906
  "class": header_cssstyles.icon + ' fa fa-phone ',
@@ -50064,6 +50066,16 @@ var Footer8 = function Footer8(props) {
50064
50066
  googleplay: css({
50065
50067
  width: '100%',
50066
50068
  objectFit: 'contain'
50069
+ }),
50070
+ linkedinbtn: css({
50071
+ ':hover': {
50072
+ backgroundColor: sectionproperties.linkedinbgcoloronhover
50073
+ }
50074
+ }),
50075
+ tiktokbtn: css({
50076
+ ':hover': {
50077
+ backgroundColor: sectionproperties.tiktokbgcoloronhover
50078
+ }
50067
50079
  })
50068
50080
  };
50069
50081
  useEffect(function () {
@@ -50598,15 +50610,23 @@ var Footer8 = function Footer8(props) {
50598
50610
  color: '#e1c856'
50599
50611
  }
50600
50612
  }, /*#__PURE__*/React.createElement("a", {
50601
- href: 'tel:01225534406'
50613
+ href: 'tel:01225534406',
50614
+ target: '_self'
50602
50615
  }, /*#__PURE__*/React.createElement("p", {
50603
- "class": "".concat(footerStyles.iconTextStyle)
50616
+ "class": "".concat(footerStyles.iconTextStyle),
50617
+ style: {
50618
+ direction: 'ltr'
50619
+ }
50604
50620
  }, "+201225534406")), /*#__PURE__*/React.createElement("p", {
50605
50621
  "class": "".concat(footerStyles.iconTextStyle) + ' mx-1 '
50606
50622
  }, " "), /*#__PURE__*/React.createElement("a", {
50607
- href: 'tel:01015055005'
50623
+ href: 'tel:01015055005',
50624
+ target: '_self'
50608
50625
  }, /*#__PURE__*/React.createElement("p", {
50609
- "class": "".concat(footerStyles.iconTextStyle)
50626
+ "class": "".concat(footerStyles.iconTextStyle),
50627
+ style: {
50628
+ direction: 'ltr'
50629
+ }
50610
50630
  }, "+201015055005"))), /*#__PURE__*/React.createElement("div", {
50611
50631
  "class": "col-lg-12 p-0 text-start mt-3"
50612
50632
  }, /*#__PURE__*/React.createElement("p", {
@@ -50637,13 +50657,15 @@ var Footer8 = function Footer8(props) {
50637
50657
  }, "\u0627\u0631\u0642\u0627\u0645 \u0627\u0644\u0645\u0648\u0628\u0627\u064A\u0644 \u0627\u0644\u062E\u0627\u0635 \u0628\u0627\u0644\u0641\u0631\u0639 :")), /*#__PURE__*/React.createElement("div", {
50638
50658
  "class": "col-lg-12 p-0 text-start"
50639
50659
  }, /*#__PURE__*/React.createElement("a", {
50640
- href: 'tel:01225534407'
50660
+ href: 'tel:01225534407',
50661
+ target: '_self'
50641
50662
  }, /*#__PURE__*/React.createElement("p", {
50642
50663
  "class": "".concat(footerStyles.iconTextStyle)
50643
50664
  }, "+201225534407")), /*#__PURE__*/React.createElement("p", {
50644
50665
  "class": "".concat(footerStyles.iconTextStyle) + ' mx-1 '
50645
50666
  }, " "), /*#__PURE__*/React.createElement("a", {
50646
- href: 'tel:01007073070'
50667
+ href: 'tel:01007073070',
50668
+ target: '_self'
50647
50669
  }, /*#__PURE__*/React.createElement("p", {
50648
50670
  "class": "".concat(footerStyles.iconTextStyle)
50649
50671
  }, "+201007073070")))))), /*#__PURE__*/React.createElement("div", {
@@ -50674,15 +50696,23 @@ var Footer8 = function Footer8(props) {
50674
50696
  }, "\u0623\u0631\u0642\u0627\u0645 \u0627\u0644\u0647\u0627\u062A\u0641")), /*#__PURE__*/React.createElement("div", {
50675
50697
  "class": "col-lg-12 p-0 text-start mb-2"
50676
50698
  }, /*#__PURE__*/React.createElement("a", {
50677
- href: 'tel:01557000021'
50699
+ href: 'tel:01557000021',
50700
+ target: '_self'
50678
50701
  }, /*#__PURE__*/React.createElement("p", {
50679
- "class": "".concat(footerStyles.iconTextStyle) + ' m-0 '
50702
+ "class": "".concat(footerStyles.iconTextStyle) + ' m-0 ',
50703
+ style: {
50704
+ direction: 'ltr'
50705
+ }
50680
50706
  }, "+201557000021"))), /*#__PURE__*/React.createElement("div", {
50681
50707
  "class": "col-lg-12 p-0 text-start mb-2"
50682
50708
  }, /*#__PURE__*/React.createElement("a", {
50683
- href: 'tel:01015055005'
50709
+ href: 'tel:01015055005',
50710
+ target: '_self'
50684
50711
  }, /*#__PURE__*/React.createElement("p", {
50685
- "class": "".concat(footerStyles.iconTextStyle) + ' m-0 '
50712
+ "class": "".concat(footerStyles.iconTextStyle) + ' m-0 ',
50713
+ style: {
50714
+ direction: 'ltr'
50715
+ }
50686
50716
  }, "+201015055005"))), /*#__PURE__*/React.createElement("div", {
50687
50717
  "class": "col-lg-12 p-0 text-start mt-4 mb-2"
50688
50718
  }, /*#__PURE__*/React.createElement("p", {
@@ -50707,7 +50737,7 @@ var Footer8 = function Footer8(props) {
50707
50737
  }
50708
50738
  }, /*#__PURE__*/React.createElement("img", {
50709
50739
  "class": ' mx-2 ',
50710
- src: 'https://tabex-co.com/storage/StaticImages/qr.jpeg',
50740
+ src: 'https://tabex-co.com/storage/StaticImages/qr.png',
50711
50741
  style: {
50712
50742
  maxWidth: '90%',
50713
50743
  maxHeight: '90%'
@@ -50746,7 +50776,7 @@ var Footer8 = function Footer8(props) {
50746
50776
  }, /*#__PURE__*/React.createElement(FaFacebookF, {
50747
50777
  size: sectionproperties.facebkbtnniconfontsize
50748
50778
  })), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i48 = authdetailsContext.instinfo) === null || _authdetailsContext$i48 === void 0 ? void 0 : _authdetailsContext$i48.linkedinlink) != null && /*#__PURE__*/React.createElement("div", {
50749
- "class": "".concat(footerStyles.youtube_btn) + ' d-flex align-items-center justify-content-center ml-2 mr-2'
50779
+ "class": "".concat(footerStyles.youtube_btn, " ").concat(footerStyles.linkedinbtn) + ' d-flex align-items-center justify-content-center ml-2 mr-2'
50750
50780
  // class={`${footerStyles.youtube_btn}` + ' d-flex align-items-center justify-content-center ml-1 mr-1 '}
50751
50781
  ,
50752
50782
  onClick: function onClick() {
@@ -50772,7 +50802,7 @@ var Footer8 = function Footer8(props) {
50772
50802
  }))), /*#__PURE__*/React.createElement("div", {
50773
50803
  className: "col-lg-12 p-0 d-flex flex-row mt-3"
50774
50804
  }, sectionproperties.tiktokshow == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i54 = authdetailsContext.instinfo) === null || _authdetailsContext$i54 === void 0 ? void 0 : _authdetailsContext$i54.tiktoklink) != null && /*#__PURE__*/React.createElement("div", {
50775
- "class": langdetect == 'en' ? "".concat(footerStyles.youtube_btn) + ' d-flex align-items-center justify-content-center mr-2' : "".concat(footerStyles.youtube_btn) + ' d-flex align-items-center justify-content-center ml-2'
50805
+ "class": langdetect == 'en' ? "".concat(footerStyles.youtube_btn, " ").concat(footerStyles.tiktokbtn) + ' d-flex align-items-center justify-content-center mr-2' : "".concat(footerStyles.youtube_btn, " ").concat(footerStyles.tiktokbtn) + ' d-flex align-items-center justify-content-center ml-2'
50776
50806
  // class={`${footerStyles.youtube_btn}` + ' d-flex align-items-center justify-content-center ml-1 mr-1 '}
50777
50807
  ,
50778
50808
  onClick: function onClick() {
@@ -50785,7 +50815,7 @@ var Footer8 = function Footer8(props) {
50785
50815
  }, /*#__PURE__*/React.createElement(IoLogoTiktok, {
50786
50816
  size: sectionproperties.youtubebtniconfontsize
50787
50817
  })), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i57 = authdetailsContext.instinfo) === null || _authdetailsContext$i57 === void 0 ? void 0 : _authdetailsContext$i57.youtubelink) != null && /*#__PURE__*/React.createElement("div", {
50788
- "class": "".concat(footerStyles.youtube_btn) + ' d-flex align-items-center justify-content-center ml-2 mr-2 ',
50818
+ "class": "".concat(footerStyles.youtube_btn, " ") + ' d-flex align-items-center justify-content-center ml-2 mr-2 ',
50789
50819
  onClick: function onClick() {
50790
50820
  var _authdetailsContext$i58;
50791
50821
  if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i58 = authdetailsContext.instinfo) === null || _authdetailsContext$i58 === void 0 ? void 0 : _authdetailsContext$i58.youtubelink) != null) {
@@ -84293,17 +84323,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
84293
84323
  paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
84294
84324
  paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
84295
84325
  }
84296
- // data-aos={'fade-up'}
84297
- // data-aos-delay={props.sectionindexprops + 10}
84298
- // class={props.sectiontypeprops2 == 'vertical' ? `${card_cssstyles.productcard}` + ' w-100 ' : ` ${card_cssstyles.productcard} ${generalCardsStyles.Simpleproductcard}`}
84299
- // style={{
84300
- // paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
84301
- // paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px',
84302
- // minWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.width + 'px',
84303
- // maxWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.width + 'px',
84304
- // }}
84305
- // data-aos={sectionproperties.showanimation == 'Yes' ? 'fade-up' : ''}
84306
- }, sectionproperties.length != 0 && /*#__PURE__*/React.createElement("div", {
84326
+ }, sectionproperties.length != 0 && authdetailsContext.instinfo.instid != '6798f886811bb' && /*#__PURE__*/React.createElement("div", {
84307
84327
  "class": card_cssstyles.cardconttt + ' cursor-pointer w-100 ',
84308
84328
  style: {}
84309
84329
  }, sectionproperties.image_show == 'show' && /*#__PURE__*/React.createElement("div", {
@@ -84689,7 +84709,100 @@ var Simpleproductcard = function Simpleproductcard(props) {
84689
84709
  }
84690
84710
  }),
84691
84711
  activeColor: "#ffd700"
84692
- }))))));
84712
+ }))))), sectionproperties.length != 0 && authdetailsContext.instinfo.instid == '6798f886811bb' && /*#__PURE__*/React.createElement("div", {
84713
+ "class": card_cssstyles.cardconttt + ' cursor-pointer w-100 ',
84714
+ style: {}
84715
+ }, sectionproperties.image_show == 'show' && /*#__PURE__*/React.createElement("div", {
84716
+ "class": card_cssstyles.icontainer + ' w-100 px-3 ',
84717
+ style: {
84718
+ position: 'relative'
84719
+ }
84720
+ }, /*#__PURE__*/React.createElement("div", {
84721
+ "class": sectionproperties.hideshowcardtransition == 'Show' ? " ".concat(card_cssstyles.productcardimagecont, " ").concat(cardstyles$7.imagecontainer) + ' d-flex d-md-none ' : " ".concat(card_cssstyles.productcardimagecont, " ") + ' d-flex d-md-none ',
84722
+ style: {
84723
+ marginBottom: sectionproperties.image_mb + 'px'
84724
+ },
84725
+ onClick: function onClick(e) {
84726
+ var _sectionproperties$se2;
84727
+ if (((_sectionproperties$se2 = sectionproperties.sectionproperties) === null || _sectionproperties$se2 === void 0 ? void 0 : _sectionproperties$se2.onClickRoute) == 'None') ; else {
84728
+ e.stopPropagation();
84729
+ var productidtobesend = null;
84730
+ if (sectionproperties.urlwithproductname == 'Yes') {
84731
+ productidtobesend = item.productendpointurl;
84732
+ } else {
84733
+ productidtobesend = item.productid;
84734
+ }
84735
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid);
84736
+ }
84737
+ }
84738
+ }, Image('normal')), /*#__PURE__*/React.createElement("div", {
84739
+ "class": sectionproperties.hideshowcardtransition == 'Show' ? " ".concat(card_cssstyles.productcardimagecont, " ").concat(cardstyles$7.imagecontainer) + ' d-none d-md-flex ' : " ".concat(card_cssstyles.productcardimagecont, " ") + ' d-none d-md-flex ',
84740
+ style: {
84741
+ marginBottom: sectionproperties.image_mb + 'px'
84742
+ },
84743
+ onClick: function onClick(e) {
84744
+ if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute) == 'None') ; else {
84745
+ handleClick();
84746
+ }
84747
+ }
84748
+ }, Image('normal')), /*#__PURE__*/React.createElement("div", {
84749
+ "class": card_cssstyles.pinfohover + ' row m-0 w-100 pinfohover h-100 d-flex align-items-center '
84750
+ }, /*#__PURE__*/React.createElement("div", {
84751
+ "class": "row m-0 w-100 px-3"
84752
+ }, /*#__PURE__*/React.createElement("div", {
84753
+ "class": ' col-lg-12 pl-0 pr-0 ',
84754
+ style: {}
84755
+ }, /*#__PURE__*/React.createElement("p", {
84756
+ onClick: function onClick() {
84757
+ if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute) == 'None') ; else {
84758
+ var productidtobesend = null;
84759
+ if (sectionproperties.urlwithproductname == 'Yes') {
84760
+ productidtobesend = item.productendpointurl;
84761
+ } else {
84762
+ productidtobesend = item.productid;
84763
+ }
84764
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid);
84765
+ }
84766
+ },
84767
+ "class": sectionproperties.wordbreak == '1' ? "".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak1 font-md-13 m-0 ' : "".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak2 font-md-13 wordbreak-md-4 m-0 ',
84768
+ style: {
84769
+ textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
84770
+ }
84771
+ }, item.name)), /*#__PURE__*/React.createElement("div", {
84772
+ "class": ' col-lg-12 p-0 ',
84773
+ style: {}
84774
+ }, /*#__PURE__*/React.createElement("p", {
84775
+ "class": sectionproperties.descriptionwordbreak == 'None' ? "".concat(card_cssstyles.productDescStyles) + ' p-0 mt-1 ' : "".concat(card_cssstyles.productDescStyles) + ' p-0 wordbreak wordbreak4 mt-1 ',
84776
+ style: {
84777
+ textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
84778
+ },
84779
+ dangerouslySetInnerHTML: {
84780
+ __html: item.shortdescription
84781
+ }
84782
+ })), /*#__PURE__*/React.createElement("div", {
84783
+ "class": ' col-lg-12 p-0 '
84784
+ }, /*#__PURE__*/React.createElement("p", {
84785
+ "class": "".concat(card_cssstyles.cart_btn) + ' m-0 p-0 d-flex align-items-center justify-content-start mt-1 ',
84786
+ onClick: function onClick() {
84787
+ if (sectionproperties.showvariantscont == 'Show') {
84788
+ addtocartfunc();
84789
+ } else {
84790
+ if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 0) {
84791
+ addtocartfunc();
84792
+ } else if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 1) {
84793
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
84794
+ } else {
84795
+ var productidtobesend = null;
84796
+ if (sectionproperties.urlwithproductname == 'Yes') {
84797
+ productidtobesend = item.productendpointurl;
84798
+ } else {
84799
+ productidtobesend = item.productid;
84800
+ }
84801
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid);
84802
+ }
84803
+ }
84804
+ }
84805
+ }, addtocartbuttonrender())))))));
84693
84806
  };
84694
84807
 
84695
84808
  function ownKeys$5(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; }
package/dist/index.umd.js CHANGED
@@ -19164,10 +19164,10 @@
19164
19164
  cardobj.skiplayeronclick = arrayItem === null || arrayItem === void 0 ? void 0 : arrayItem.skiplayeronclick;
19165
19165
  if (langdetect == 'en') {
19166
19166
  cardobj.name = arrayItem.title_en;
19167
- cardobj.description = arrayItem.description_en;
19167
+ cardobj.shortdescription = arrayItem.description_en;
19168
19168
  } else if (langdetect == 'ar') {
19169
19169
  cardobj.name = arrayItem.title_ar;
19170
- cardobj.description = arrayItem.description_ar;
19170
+ cardobj.shortdescription = arrayItem.description_ar;
19171
19171
  }
19172
19172
  cardobj.image = arrayItem.collectionlogo;
19173
19173
  cardobj.producttags = [];
@@ -19177,10 +19177,10 @@
19177
19177
  cardobj.skiplayeronclick = arrayItem === null || arrayItem === void 0 ? void 0 : arrayItem.skiplayeronclick;
19178
19178
  if (langdetect == 'en') {
19179
19179
  cardobj.name = arrayItem.title_en;
19180
- cardobj.description = arrayItem.description_en;
19180
+ cardobj.shortdescription = arrayItem.description_en;
19181
19181
  } else if (langdetect == 'ar') {
19182
19182
  cardobj.name = arrayItem.title_ar;
19183
- cardobj.description = arrayItem.description_ar;
19183
+ cardobj.shortdescription = arrayItem.description_ar;
19184
19184
  }
19185
19185
  cardobj.image = arrayItem.categorylogo;
19186
19186
  cardobj.producttags = [];
@@ -19190,10 +19190,10 @@
19190
19190
  cardobj.skiplayeronclick = arrayItem === null || arrayItem === void 0 ? void 0 : arrayItem.skiplayeronclick;
19191
19191
  if (langdetect == 'en') {
19192
19192
  cardobj.name = arrayItem.title_en;
19193
- cardobj.description = arrayItem.description_en;
19193
+ cardobj.shortdescription = arrayItem.description_en;
19194
19194
  } else if (langdetect == 'ar') {
19195
19195
  cardobj.name = arrayItem.title_ar;
19196
- cardobj.description = arrayItem.description_ar;
19196
+ cardobj.shortdescription = arrayItem.description_ar;
19197
19197
  }
19198
19198
  cardobj.image = arrayItem.parentcollectionlogo;
19199
19199
  cardobj.producttags = [];
@@ -23748,7 +23748,8 @@
23748
23748
  window.open(templateproperties_context.locationlink, '_blank');
23749
23749
  },
23750
23750
  style: {
23751
- color: '#b2b2b2'
23751
+ color: '#b2b2b2',
23752
+ fontSize: 18
23752
23753
  }
23753
23754
  }, /*#__PURE__*/React__default["default"].createElement("i", {
23754
23755
  "class": header_cssstyles.icon + ' h-100 d-flex align-items-center justify-content-center '
@@ -23762,7 +23763,8 @@
23762
23763
  window.open('tel:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber), '_self');
23763
23764
  },
23764
23765
  style: {
23765
- color: '#b2b2b2'
23766
+ color: '#b2b2b2',
23767
+ fontSize: 18
23766
23768
  }
23767
23769
  }, /*#__PURE__*/React__default["default"].createElement("i", {
23768
23770
  "class": header_cssstyles.icon + ' fa fa-phone ',
@@ -49928,6 +49930,16 @@
49928
49930
  googleplay: glamor.css({
49929
49931
  width: '100%',
49930
49932
  objectFit: 'contain'
49933
+ }),
49934
+ linkedinbtn: glamor.css({
49935
+ ':hover': {
49936
+ backgroundColor: sectionproperties.linkedinbgcoloronhover
49937
+ }
49938
+ }),
49939
+ tiktokbtn: glamor.css({
49940
+ ':hover': {
49941
+ backgroundColor: sectionproperties.tiktokbgcoloronhover
49942
+ }
49931
49943
  })
49932
49944
  };
49933
49945
  React.useEffect(function () {
@@ -50462,15 +50474,23 @@
50462
50474
  color: '#e1c856'
50463
50475
  }
50464
50476
  }, /*#__PURE__*/React__default["default"].createElement("a", {
50465
- href: 'tel:01225534406'
50477
+ href: 'tel:01225534406',
50478
+ target: '_self'
50466
50479
  }, /*#__PURE__*/React__default["default"].createElement("p", {
50467
- "class": "".concat(footerStyles.iconTextStyle)
50480
+ "class": "".concat(footerStyles.iconTextStyle),
50481
+ style: {
50482
+ direction: 'ltr'
50483
+ }
50468
50484
  }, "+201225534406")), /*#__PURE__*/React__default["default"].createElement("p", {
50469
50485
  "class": "".concat(footerStyles.iconTextStyle) + ' mx-1 '
50470
50486
  }, " "), /*#__PURE__*/React__default["default"].createElement("a", {
50471
- href: 'tel:01015055005'
50487
+ href: 'tel:01015055005',
50488
+ target: '_self'
50472
50489
  }, /*#__PURE__*/React__default["default"].createElement("p", {
50473
- "class": "".concat(footerStyles.iconTextStyle)
50490
+ "class": "".concat(footerStyles.iconTextStyle),
50491
+ style: {
50492
+ direction: 'ltr'
50493
+ }
50474
50494
  }, "+201015055005"))), /*#__PURE__*/React__default["default"].createElement("div", {
50475
50495
  "class": "col-lg-12 p-0 text-start mt-3"
50476
50496
  }, /*#__PURE__*/React__default["default"].createElement("p", {
@@ -50501,13 +50521,15 @@
50501
50521
  }, "\u0627\u0631\u0642\u0627\u0645 \u0627\u0644\u0645\u0648\u0628\u0627\u064A\u0644 \u0627\u0644\u062E\u0627\u0635 \u0628\u0627\u0644\u0641\u0631\u0639 :")), /*#__PURE__*/React__default["default"].createElement("div", {
50502
50522
  "class": "col-lg-12 p-0 text-start"
50503
50523
  }, /*#__PURE__*/React__default["default"].createElement("a", {
50504
- href: 'tel:01225534407'
50524
+ href: 'tel:01225534407',
50525
+ target: '_self'
50505
50526
  }, /*#__PURE__*/React__default["default"].createElement("p", {
50506
50527
  "class": "".concat(footerStyles.iconTextStyle)
50507
50528
  }, "+201225534407")), /*#__PURE__*/React__default["default"].createElement("p", {
50508
50529
  "class": "".concat(footerStyles.iconTextStyle) + ' mx-1 '
50509
50530
  }, " "), /*#__PURE__*/React__default["default"].createElement("a", {
50510
- href: 'tel:01007073070'
50531
+ href: 'tel:01007073070',
50532
+ target: '_self'
50511
50533
  }, /*#__PURE__*/React__default["default"].createElement("p", {
50512
50534
  "class": "".concat(footerStyles.iconTextStyle)
50513
50535
  }, "+201007073070")))))), /*#__PURE__*/React__default["default"].createElement("div", {
@@ -50538,15 +50560,23 @@
50538
50560
  }, "\u0623\u0631\u0642\u0627\u0645 \u0627\u0644\u0647\u0627\u062A\u0641")), /*#__PURE__*/React__default["default"].createElement("div", {
50539
50561
  "class": "col-lg-12 p-0 text-start mb-2"
50540
50562
  }, /*#__PURE__*/React__default["default"].createElement("a", {
50541
- href: 'tel:01557000021'
50563
+ href: 'tel:01557000021',
50564
+ target: '_self'
50542
50565
  }, /*#__PURE__*/React__default["default"].createElement("p", {
50543
- "class": "".concat(footerStyles.iconTextStyle) + ' m-0 '
50566
+ "class": "".concat(footerStyles.iconTextStyle) + ' m-0 ',
50567
+ style: {
50568
+ direction: 'ltr'
50569
+ }
50544
50570
  }, "+201557000021"))), /*#__PURE__*/React__default["default"].createElement("div", {
50545
50571
  "class": "col-lg-12 p-0 text-start mb-2"
50546
50572
  }, /*#__PURE__*/React__default["default"].createElement("a", {
50547
- href: 'tel:01015055005'
50573
+ href: 'tel:01015055005',
50574
+ target: '_self'
50548
50575
  }, /*#__PURE__*/React__default["default"].createElement("p", {
50549
- "class": "".concat(footerStyles.iconTextStyle) + ' m-0 '
50576
+ "class": "".concat(footerStyles.iconTextStyle) + ' m-0 ',
50577
+ style: {
50578
+ direction: 'ltr'
50579
+ }
50550
50580
  }, "+201015055005"))), /*#__PURE__*/React__default["default"].createElement("div", {
50551
50581
  "class": "col-lg-12 p-0 text-start mt-4 mb-2"
50552
50582
  }, /*#__PURE__*/React__default["default"].createElement("p", {
@@ -50571,7 +50601,7 @@
50571
50601
  }
50572
50602
  }, /*#__PURE__*/React__default["default"].createElement("img", {
50573
50603
  "class": ' mx-2 ',
50574
- src: 'https://tabex-co.com/storage/StaticImages/qr.jpeg',
50604
+ src: 'https://tabex-co.com/storage/StaticImages/qr.png',
50575
50605
  style: {
50576
50606
  maxWidth: '90%',
50577
50607
  maxHeight: '90%'
@@ -50610,7 +50640,7 @@
50610
50640
  }, /*#__PURE__*/React__default["default"].createElement(FaFacebookF.FaFacebookF, {
50611
50641
  size: sectionproperties.facebkbtnniconfontsize
50612
50642
  })), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i48 = authdetailsContext.instinfo) === null || _authdetailsContext$i48 === void 0 ? void 0 : _authdetailsContext$i48.linkedinlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
50613
- "class": "".concat(footerStyles.youtube_btn) + ' d-flex align-items-center justify-content-center ml-2 mr-2'
50643
+ "class": "".concat(footerStyles.youtube_btn, " ").concat(footerStyles.linkedinbtn) + ' d-flex align-items-center justify-content-center ml-2 mr-2'
50614
50644
  // class={`${footerStyles.youtube_btn}` + ' d-flex align-items-center justify-content-center ml-1 mr-1 '}
50615
50645
  ,
50616
50646
  onClick: function onClick() {
@@ -50636,7 +50666,7 @@
50636
50666
  }))), /*#__PURE__*/React__default["default"].createElement("div", {
50637
50667
  className: "col-lg-12 p-0 d-flex flex-row mt-3"
50638
50668
  }, sectionproperties.tiktokshow == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i54 = authdetailsContext.instinfo) === null || _authdetailsContext$i54 === void 0 ? void 0 : _authdetailsContext$i54.tiktoklink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
50639
- "class": langdetect == 'en' ? "".concat(footerStyles.youtube_btn) + ' d-flex align-items-center justify-content-center mr-2' : "".concat(footerStyles.youtube_btn) + ' d-flex align-items-center justify-content-center ml-2'
50669
+ "class": langdetect == 'en' ? "".concat(footerStyles.youtube_btn, " ").concat(footerStyles.tiktokbtn) + ' d-flex align-items-center justify-content-center mr-2' : "".concat(footerStyles.youtube_btn, " ").concat(footerStyles.tiktokbtn) + ' d-flex align-items-center justify-content-center ml-2'
50640
50670
  // class={`${footerStyles.youtube_btn}` + ' d-flex align-items-center justify-content-center ml-1 mr-1 '}
50641
50671
  ,
50642
50672
  onClick: function onClick() {
@@ -50649,7 +50679,7 @@
50649
50679
  }, /*#__PURE__*/React__default["default"].createElement(IoLogoTiktok.IoLogoTiktok, {
50650
50680
  size: sectionproperties.youtubebtniconfontsize
50651
50681
  })), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i57 = authdetailsContext.instinfo) === null || _authdetailsContext$i57 === void 0 ? void 0 : _authdetailsContext$i57.youtubelink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
50652
- "class": "".concat(footerStyles.youtube_btn) + ' d-flex align-items-center justify-content-center ml-2 mr-2 ',
50682
+ "class": "".concat(footerStyles.youtube_btn, " ") + ' d-flex align-items-center justify-content-center ml-2 mr-2 ',
50653
50683
  onClick: function onClick() {
50654
50684
  var _authdetailsContext$i58;
50655
50685
  if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i58 = authdetailsContext.instinfo) === null || _authdetailsContext$i58 === void 0 ? void 0 : _authdetailsContext$i58.youtubelink) != null) {
@@ -84157,17 +84187,7 @@
84157
84187
  paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
84158
84188
  paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
84159
84189
  }
84160
- // data-aos={'fade-up'}
84161
- // data-aos-delay={props.sectionindexprops + 10}
84162
- // class={props.sectiontypeprops2 == 'vertical' ? `${card_cssstyles.productcard}` + ' w-100 ' : ` ${card_cssstyles.productcard} ${generalCardsStyles.Simpleproductcard}`}
84163
- // style={{
84164
- // paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
84165
- // paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px',
84166
- // minWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.width + 'px',
84167
- // maxWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.width + 'px',
84168
- // }}
84169
- // data-aos={sectionproperties.showanimation == 'Yes' ? 'fade-up' : ''}
84170
- }, sectionproperties.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
84190
+ }, sectionproperties.length != 0 && authdetailsContext.instinfo.instid != '6798f886811bb' && /*#__PURE__*/React__default["default"].createElement("div", {
84171
84191
  "class": card_cssstyles.cardconttt + ' cursor-pointer w-100 ',
84172
84192
  style: {}
84173
84193
  }, sectionproperties.image_show == 'show' && /*#__PURE__*/React__default["default"].createElement("div", {
@@ -84553,7 +84573,100 @@
84553
84573
  }
84554
84574
  }),
84555
84575
  activeColor: "#ffd700"
84556
- }))))));
84576
+ }))))), sectionproperties.length != 0 && authdetailsContext.instinfo.instid == '6798f886811bb' && /*#__PURE__*/React__default["default"].createElement("div", {
84577
+ "class": card_cssstyles.cardconttt + ' cursor-pointer w-100 ',
84578
+ style: {}
84579
+ }, sectionproperties.image_show == 'show' && /*#__PURE__*/React__default["default"].createElement("div", {
84580
+ "class": card_cssstyles.icontainer + ' w-100 px-3 ',
84581
+ style: {
84582
+ position: 'relative'
84583
+ }
84584
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
84585
+ "class": sectionproperties.hideshowcardtransition == 'Show' ? " ".concat(card_cssstyles.productcardimagecont, " ").concat(cardstyles$7.imagecontainer) + ' d-flex d-md-none ' : " ".concat(card_cssstyles.productcardimagecont, " ") + ' d-flex d-md-none ',
84586
+ style: {
84587
+ marginBottom: sectionproperties.image_mb + 'px'
84588
+ },
84589
+ onClick: function onClick(e) {
84590
+ var _sectionproperties$se2;
84591
+ if (((_sectionproperties$se2 = sectionproperties.sectionproperties) === null || _sectionproperties$se2 === void 0 ? void 0 : _sectionproperties$se2.onClickRoute) == 'None') ; else {
84592
+ e.stopPropagation();
84593
+ var productidtobesend = null;
84594
+ if (sectionproperties.urlwithproductname == 'Yes') {
84595
+ productidtobesend = item.productendpointurl;
84596
+ } else {
84597
+ productidtobesend = item.productid;
84598
+ }
84599
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid);
84600
+ }
84601
+ }
84602
+ }, Image('normal')), /*#__PURE__*/React__default["default"].createElement("div", {
84603
+ "class": sectionproperties.hideshowcardtransition == 'Show' ? " ".concat(card_cssstyles.productcardimagecont, " ").concat(cardstyles$7.imagecontainer) + ' d-none d-md-flex ' : " ".concat(card_cssstyles.productcardimagecont, " ") + ' d-none d-md-flex ',
84604
+ style: {
84605
+ marginBottom: sectionproperties.image_mb + 'px'
84606
+ },
84607
+ onClick: function onClick(e) {
84608
+ if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute) == 'None') ; else {
84609
+ handleClick();
84610
+ }
84611
+ }
84612
+ }, Image('normal')), /*#__PURE__*/React__default["default"].createElement("div", {
84613
+ "class": card_cssstyles.pinfohover + ' row m-0 w-100 pinfohover h-100 d-flex align-items-center '
84614
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
84615
+ "class": "row m-0 w-100 px-3"
84616
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
84617
+ "class": ' col-lg-12 pl-0 pr-0 ',
84618
+ style: {}
84619
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
84620
+ onClick: function onClick() {
84621
+ if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute) == 'None') ; else {
84622
+ var productidtobesend = null;
84623
+ if (sectionproperties.urlwithproductname == 'Yes') {
84624
+ productidtobesend = item.productendpointurl;
84625
+ } else {
84626
+ productidtobesend = item.productid;
84627
+ }
84628
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid);
84629
+ }
84630
+ },
84631
+ "class": sectionproperties.wordbreak == '1' ? "".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak1 font-md-13 m-0 ' : "".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak2 font-md-13 wordbreak-md-4 m-0 ',
84632
+ style: {
84633
+ textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
84634
+ }
84635
+ }, item.name)), /*#__PURE__*/React__default["default"].createElement("div", {
84636
+ "class": ' col-lg-12 p-0 ',
84637
+ style: {}
84638
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
84639
+ "class": sectionproperties.descriptionwordbreak == 'None' ? "".concat(card_cssstyles.productDescStyles) + ' p-0 mt-1 ' : "".concat(card_cssstyles.productDescStyles) + ' p-0 wordbreak wordbreak4 mt-1 ',
84640
+ style: {
84641
+ textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
84642
+ },
84643
+ dangerouslySetInnerHTML: {
84644
+ __html: item.shortdescription
84645
+ }
84646
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
84647
+ "class": ' col-lg-12 p-0 '
84648
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
84649
+ "class": "".concat(card_cssstyles.cart_btn) + ' m-0 p-0 d-flex align-items-center justify-content-start mt-1 ',
84650
+ onClick: function onClick() {
84651
+ if (sectionproperties.showvariantscont == 'Show') {
84652
+ addtocartfunc();
84653
+ } else {
84654
+ if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 0) {
84655
+ addtocartfunc();
84656
+ } else if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 1) {
84657
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
84658
+ } else {
84659
+ var productidtobesend = null;
84660
+ if (sectionproperties.urlwithproductname == 'Yes') {
84661
+ productidtobesend = item.productendpointurl;
84662
+ } else {
84663
+ productidtobesend = item.productid;
84664
+ }
84665
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid);
84666
+ }
84667
+ }
84668
+ }
84669
+ }, addtocartbuttonrender())))))));
84557
84670
  };
84558
84671
 
84559
84672
  function ownKeys$5(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; }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tabexseriescomponents",
3
- "version": "0.2.749",
3
+ "version": "0.2.751",
4
4
  "type": "module",
5
5
  "description": "your description",
6
6
  "main": "dist/index.cjs.js",