tabexseriescomponents 0.2.749 → 0.2.750

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 = [];
@@ -84342,17 +84342,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
84342
84342
  paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
84343
84343
  paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
84344
84344
  }
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", {
84345
+ }, sectionproperties.length != 0 && authdetailsContext.instinfo.instid != '6798f886811bb' && /*#__PURE__*/React__default["default"].createElement("div", {
84356
84346
  "class": card_cssstyles.cardconttt + ' cursor-pointer w-100 ',
84357
84347
  style: {}
84358
84348
  }, sectionproperties.image_show == 'show' && /*#__PURE__*/React__default["default"].createElement("div", {
@@ -84738,7 +84728,100 @@ var Simpleproductcard = function Simpleproductcard(props) {
84738
84728
  }
84739
84729
  }),
84740
84730
  activeColor: "#ffd700"
84741
- }))))));
84731
+ }))))), sectionproperties.length != 0 && authdetailsContext.instinfo.instid == '6798f886811bb' && /*#__PURE__*/React__default["default"].createElement("div", {
84732
+ "class": card_cssstyles.cardconttt + ' cursor-pointer w-100 ',
84733
+ style: {}
84734
+ }, sectionproperties.image_show == 'show' && /*#__PURE__*/React__default["default"].createElement("div", {
84735
+ "class": card_cssstyles.icontainer + ' w-100 px-3 ',
84736
+ style: {
84737
+ position: 'relative'
84738
+ }
84739
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
84740
+ "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 ',
84741
+ style: {
84742
+ marginBottom: sectionproperties.image_mb + 'px'
84743
+ },
84744
+ onClick: function onClick(e) {
84745
+ var _sectionproperties$se2;
84746
+ if (((_sectionproperties$se2 = sectionproperties.sectionproperties) === null || _sectionproperties$se2 === void 0 ? void 0 : _sectionproperties$se2.onClickRoute) == 'None') ; else {
84747
+ e.stopPropagation();
84748
+ var productidtobesend = null;
84749
+ if (sectionproperties.urlwithproductname == 'Yes') {
84750
+ productidtobesend = item.productendpointurl;
84751
+ } else {
84752
+ productidtobesend = item.productid;
84753
+ }
84754
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid);
84755
+ }
84756
+ }
84757
+ }, Image('normal')), /*#__PURE__*/React__default["default"].createElement("div", {
84758
+ "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 ',
84759
+ style: {
84760
+ marginBottom: sectionproperties.image_mb + 'px'
84761
+ },
84762
+ onClick: function onClick(e) {
84763
+ if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute) == 'None') ; else {
84764
+ handleClick();
84765
+ }
84766
+ }
84767
+ }, Image('normal')), /*#__PURE__*/React__default["default"].createElement("div", {
84768
+ "class": card_cssstyles.pinfohover + ' row m-0 w-100 pinfohover h-100 d-flex align-items-center '
84769
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
84770
+ "class": "row m-0 w-100 px-3"
84771
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
84772
+ "class": ' col-lg-12 pl-0 pr-0 ',
84773
+ style: {}
84774
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
84775
+ onClick: function onClick() {
84776
+ if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute) == 'None') ; else {
84777
+ var productidtobesend = null;
84778
+ if (sectionproperties.urlwithproductname == 'Yes') {
84779
+ productidtobesend = item.productendpointurl;
84780
+ } else {
84781
+ productidtobesend = item.productid;
84782
+ }
84783
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid);
84784
+ }
84785
+ },
84786
+ "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 ',
84787
+ style: {
84788
+ textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
84789
+ }
84790
+ }, item.name)), /*#__PURE__*/React__default["default"].createElement("div", {
84791
+ "class": ' col-lg-12 p-0 ',
84792
+ style: {}
84793
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
84794
+ "class": sectionproperties.descriptionwordbreak == 'None' ? "".concat(card_cssstyles.productDescStyles) + ' p-0 mt-1 ' : "".concat(card_cssstyles.productDescStyles) + ' p-0 wordbreak wordbreak4 mt-1 ',
84795
+ style: {
84796
+ textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
84797
+ },
84798
+ dangerouslySetInnerHTML: {
84799
+ __html: item.shortdescription
84800
+ }
84801
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
84802
+ "class": ' col-lg-12 p-0 '
84803
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
84804
+ "class": "".concat(card_cssstyles.cart_btn) + ' m-0 p-0 d-flex align-items-center justify-content-start mt-1 ',
84805
+ onClick: function onClick() {
84806
+ if (sectionproperties.showvariantscont == 'Show') {
84807
+ addtocartfunc();
84808
+ } else {
84809
+ if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 0) {
84810
+ addtocartfunc();
84811
+ } else if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 1) {
84812
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
84813
+ } else {
84814
+ var productidtobesend = null;
84815
+ if (sectionproperties.urlwithproductname == 'Yes') {
84816
+ productidtobesend = item.productendpointurl;
84817
+ } else {
84818
+ productidtobesend = item.productid;
84819
+ }
84820
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid);
84821
+ }
84822
+ }
84823
+ }
84824
+ }, addtocartbuttonrender())))))));
84742
84825
  };
84743
84826
 
84744
84827
  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 = [];
@@ -84293,17 +84293,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
84293
84293
  paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
84294
84294
  paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
84295
84295
  }
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", {
84296
+ }, sectionproperties.length != 0 && authdetailsContext.instinfo.instid != '6798f886811bb' && /*#__PURE__*/React.createElement("div", {
84307
84297
  "class": card_cssstyles.cardconttt + ' cursor-pointer w-100 ',
84308
84298
  style: {}
84309
84299
  }, sectionproperties.image_show == 'show' && /*#__PURE__*/React.createElement("div", {
@@ -84689,7 +84679,100 @@ var Simpleproductcard = function Simpleproductcard(props) {
84689
84679
  }
84690
84680
  }),
84691
84681
  activeColor: "#ffd700"
84692
- }))))));
84682
+ }))))), sectionproperties.length != 0 && authdetailsContext.instinfo.instid == '6798f886811bb' && /*#__PURE__*/React.createElement("div", {
84683
+ "class": card_cssstyles.cardconttt + ' cursor-pointer w-100 ',
84684
+ style: {}
84685
+ }, sectionproperties.image_show == 'show' && /*#__PURE__*/React.createElement("div", {
84686
+ "class": card_cssstyles.icontainer + ' w-100 px-3 ',
84687
+ style: {
84688
+ position: 'relative'
84689
+ }
84690
+ }, /*#__PURE__*/React.createElement("div", {
84691
+ "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 ',
84692
+ style: {
84693
+ marginBottom: sectionproperties.image_mb + 'px'
84694
+ },
84695
+ onClick: function onClick(e) {
84696
+ var _sectionproperties$se2;
84697
+ if (((_sectionproperties$se2 = sectionproperties.sectionproperties) === null || _sectionproperties$se2 === void 0 ? void 0 : _sectionproperties$se2.onClickRoute) == 'None') ; else {
84698
+ e.stopPropagation();
84699
+ var productidtobesend = null;
84700
+ if (sectionproperties.urlwithproductname == 'Yes') {
84701
+ productidtobesend = item.productendpointurl;
84702
+ } else {
84703
+ productidtobesend = item.productid;
84704
+ }
84705
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid);
84706
+ }
84707
+ }
84708
+ }, Image('normal')), /*#__PURE__*/React.createElement("div", {
84709
+ "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 ',
84710
+ style: {
84711
+ marginBottom: sectionproperties.image_mb + 'px'
84712
+ },
84713
+ onClick: function onClick(e) {
84714
+ if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute) == 'None') ; else {
84715
+ handleClick();
84716
+ }
84717
+ }
84718
+ }, Image('normal')), /*#__PURE__*/React.createElement("div", {
84719
+ "class": card_cssstyles.pinfohover + ' row m-0 w-100 pinfohover h-100 d-flex align-items-center '
84720
+ }, /*#__PURE__*/React.createElement("div", {
84721
+ "class": "row m-0 w-100 px-3"
84722
+ }, /*#__PURE__*/React.createElement("div", {
84723
+ "class": ' col-lg-12 pl-0 pr-0 ',
84724
+ style: {}
84725
+ }, /*#__PURE__*/React.createElement("p", {
84726
+ onClick: function onClick() {
84727
+ if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute) == 'None') ; else {
84728
+ var productidtobesend = null;
84729
+ if (sectionproperties.urlwithproductname == 'Yes') {
84730
+ productidtobesend = item.productendpointurl;
84731
+ } else {
84732
+ productidtobesend = item.productid;
84733
+ }
84734
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid);
84735
+ }
84736
+ },
84737
+ "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 ',
84738
+ style: {
84739
+ textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
84740
+ }
84741
+ }, item.name)), /*#__PURE__*/React.createElement("div", {
84742
+ "class": ' col-lg-12 p-0 ',
84743
+ style: {}
84744
+ }, /*#__PURE__*/React.createElement("p", {
84745
+ "class": sectionproperties.descriptionwordbreak == 'None' ? "".concat(card_cssstyles.productDescStyles) + ' p-0 mt-1 ' : "".concat(card_cssstyles.productDescStyles) + ' p-0 wordbreak wordbreak4 mt-1 ',
84746
+ style: {
84747
+ textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
84748
+ },
84749
+ dangerouslySetInnerHTML: {
84750
+ __html: item.shortdescription
84751
+ }
84752
+ })), /*#__PURE__*/React.createElement("div", {
84753
+ "class": ' col-lg-12 p-0 '
84754
+ }, /*#__PURE__*/React.createElement("p", {
84755
+ "class": "".concat(card_cssstyles.cart_btn) + ' m-0 p-0 d-flex align-items-center justify-content-start mt-1 ',
84756
+ onClick: function onClick() {
84757
+ if (sectionproperties.showvariantscont == 'Show') {
84758
+ addtocartfunc();
84759
+ } else {
84760
+ if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 0) {
84761
+ addtocartfunc();
84762
+ } else if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 1) {
84763
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
84764
+ } else {
84765
+ var productidtobesend = null;
84766
+ if (sectionproperties.urlwithproductname == 'Yes') {
84767
+ productidtobesend = item.productendpointurl;
84768
+ } else {
84769
+ productidtobesend = item.productid;
84770
+ }
84771
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid);
84772
+ }
84773
+ }
84774
+ }
84775
+ }, addtocartbuttonrender())))))));
84693
84776
  };
84694
84777
 
84695
84778
  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 = [];
@@ -84157,17 +84157,7 @@
84157
84157
  paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
84158
84158
  paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
84159
84159
  }
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", {
84160
+ }, sectionproperties.length != 0 && authdetailsContext.instinfo.instid != '6798f886811bb' && /*#__PURE__*/React__default["default"].createElement("div", {
84171
84161
  "class": card_cssstyles.cardconttt + ' cursor-pointer w-100 ',
84172
84162
  style: {}
84173
84163
  }, sectionproperties.image_show == 'show' && /*#__PURE__*/React__default["default"].createElement("div", {
@@ -84553,7 +84543,100 @@
84553
84543
  }
84554
84544
  }),
84555
84545
  activeColor: "#ffd700"
84556
- }))))));
84546
+ }))))), sectionproperties.length != 0 && authdetailsContext.instinfo.instid == '6798f886811bb' && /*#__PURE__*/React__default["default"].createElement("div", {
84547
+ "class": card_cssstyles.cardconttt + ' cursor-pointer w-100 ',
84548
+ style: {}
84549
+ }, sectionproperties.image_show == 'show' && /*#__PURE__*/React__default["default"].createElement("div", {
84550
+ "class": card_cssstyles.icontainer + ' w-100 px-3 ',
84551
+ style: {
84552
+ position: 'relative'
84553
+ }
84554
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
84555
+ "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 ',
84556
+ style: {
84557
+ marginBottom: sectionproperties.image_mb + 'px'
84558
+ },
84559
+ onClick: function onClick(e) {
84560
+ var _sectionproperties$se2;
84561
+ if (((_sectionproperties$se2 = sectionproperties.sectionproperties) === null || _sectionproperties$se2 === void 0 ? void 0 : _sectionproperties$se2.onClickRoute) == 'None') ; else {
84562
+ e.stopPropagation();
84563
+ var productidtobesend = null;
84564
+ if (sectionproperties.urlwithproductname == 'Yes') {
84565
+ productidtobesend = item.productendpointurl;
84566
+ } else {
84567
+ productidtobesend = item.productid;
84568
+ }
84569
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid);
84570
+ }
84571
+ }
84572
+ }, Image('normal')), /*#__PURE__*/React__default["default"].createElement("div", {
84573
+ "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 ',
84574
+ style: {
84575
+ marginBottom: sectionproperties.image_mb + 'px'
84576
+ },
84577
+ onClick: function onClick(e) {
84578
+ if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute) == 'None') ; else {
84579
+ handleClick();
84580
+ }
84581
+ }
84582
+ }, Image('normal')), /*#__PURE__*/React__default["default"].createElement("div", {
84583
+ "class": card_cssstyles.pinfohover + ' row m-0 w-100 pinfohover h-100 d-flex align-items-center '
84584
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
84585
+ "class": "row m-0 w-100 px-3"
84586
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
84587
+ "class": ' col-lg-12 pl-0 pr-0 ',
84588
+ style: {}
84589
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
84590
+ onClick: function onClick() {
84591
+ if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute) == 'None') ; else {
84592
+ var productidtobesend = null;
84593
+ if (sectionproperties.urlwithproductname == 'Yes') {
84594
+ productidtobesend = item.productendpointurl;
84595
+ } else {
84596
+ productidtobesend = item.productid;
84597
+ }
84598
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid);
84599
+ }
84600
+ },
84601
+ "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 ',
84602
+ style: {
84603
+ textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
84604
+ }
84605
+ }, item.name)), /*#__PURE__*/React__default["default"].createElement("div", {
84606
+ "class": ' col-lg-12 p-0 ',
84607
+ style: {}
84608
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
84609
+ "class": sectionproperties.descriptionwordbreak == 'None' ? "".concat(card_cssstyles.productDescStyles) + ' p-0 mt-1 ' : "".concat(card_cssstyles.productDescStyles) + ' p-0 wordbreak wordbreak4 mt-1 ',
84610
+ style: {
84611
+ textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
84612
+ },
84613
+ dangerouslySetInnerHTML: {
84614
+ __html: item.shortdescription
84615
+ }
84616
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
84617
+ "class": ' col-lg-12 p-0 '
84618
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
84619
+ "class": "".concat(card_cssstyles.cart_btn) + ' m-0 p-0 d-flex align-items-center justify-content-start mt-1 ',
84620
+ onClick: function onClick() {
84621
+ if (sectionproperties.showvariantscont == 'Show') {
84622
+ addtocartfunc();
84623
+ } else {
84624
+ if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 0) {
84625
+ addtocartfunc();
84626
+ } else if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 1) {
84627
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
84628
+ } else {
84629
+ var productidtobesend = null;
84630
+ if (sectionproperties.urlwithproductname == 'Yes') {
84631
+ productidtobesend = item.productendpointurl;
84632
+ } else {
84633
+ productidtobesend = item.productid;
84634
+ }
84635
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid);
84636
+ }
84637
+ }
84638
+ }
84639
+ }, addtocartbuttonrender())))))));
84557
84640
  };
84558
84641
 
84559
84642
  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.750",
4
4
  "type": "module",
5
5
  "description": "your description",
6
6
  "main": "dist/index.cjs.js",