tabexseriescomponents 0.0.771 → 0.0.773

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
@@ -2683,6 +2683,15 @@ var Product_itemtype = function Product_itemtype(props) {
2683
2683
  }, /*#__PURE__*/React__default["default"].createElement(reactShare.FacebookIcon, {
2684
2684
  size: 40,
2685
2685
  round: true
2686
+ }))), /*#__PURE__*/React__default["default"].createElement("div", {
2687
+ className: "Demo__some-network ml-2 mr-2"
2688
+ }, /*#__PURE__*/React__default["default"].createElement(reactShare.EmailShareButton, {
2689
+ url: shareUrl,
2690
+ quote: title,
2691
+ className: "Demo__some-network__share-button"
2692
+ }, /*#__PURE__*/React__default["default"].createElement(reactShare.EmailIcon, {
2693
+ size: 40,
2694
+ round: true
2686
2695
  }))), sectionproperties.shareviax == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
2687
2696
  className: "Demo__some-network ml-2 mr-2",
2688
2697
  style: {
@@ -11179,8 +11188,8 @@ var Checkout = function Checkout(props) {
11179
11188
  }, /*#__PURE__*/React__default["default"].createElement("p", {
11180
11189
  className: 'text-capitalize text-dark m-0 p-0 font-weight-500 font-13 m-0 p-0 '
11181
11190
  }, variantitem.optionname, ":"), /*#__PURE__*/React__default["default"].createElement("p", {
11182
- className: ' text-capitalize text-dark font-weight-500 m-0 p-0 ml-1 mr-1 '
11183
- }, variantitem.optionvalue == '#c9b0a1' ? 'Beige' : variantitem.optionvalue == '#000000' ? 'Black' : variantitem.optionvalue == '#008000' ? 'Green' : variantitem.optionvalue == '#FFB6C1' ? 'Pink' : variantitem.optionvalue == '#F5F5DC' ? 'Beige' : variantitem.optionvalue == '#FFFFFF' ? 'White' : variantitem.optionvalue)));
11191
+ className: ' text-capitalize text-dark font-weight-500 m-0 p-0 ml-1 mr-1 font-13 '
11192
+ }, (variantitem === null || variantitem === void 0 ? void 0 : variantitem.value_identifier) != null ? variantitem === null || variantitem === void 0 ? void 0 : variantitem.value_identifier : variantitem === null || variantitem === void 0 ? void 0 : variantitem.optionvalue)));
11184
11193
  }), item.product_extrafields != null && product_extrafields.map(function (extrafielditem, extrafieldindex) {
11185
11194
  return /*#__PURE__*/React__default["default"].createElement("div", {
11186
11195
  "class": "row m-0 w-100"
@@ -15213,7 +15222,7 @@ var CartSlider = function CartSlider(props) {
15213
15222
  className: 'text-capitalize m-0 p-0 font-weight-500 font-13 m-0 p-0 '
15214
15223
  }, variantitem.optionname, ":"), /*#__PURE__*/React__default["default"].createElement("p", {
15215
15224
  className: ' font-weight-400 m-0 p-0 font-13 ml-1 mr-1 '
15216
- }, variantitem.optionvalue == '#c9b0a1' ? 'Beige' : variantitem.optionvalue == '#000000' ? 'Black' : variantitem.optionvalue == '#008000' ? 'Green' : variantitem.optionvalue == '#FFB6C1' ? 'Pink' : variantitem.optionvalue == '#F5F5DC' ? 'Beige' : variantitem.optionvalue == '#FFFFFF' ? 'White' : variantitem.optionvalue))));
15225
+ }, (variantitem === null || variantitem === void 0 ? void 0 : variantitem.value_identifier) != null ? variantitem === null || variantitem === void 0 ? void 0 : variantitem.value_identifier : variantitem === null || variantitem === void 0 ? void 0 : variantitem.optionvalue))));
15217
15226
  }), /*#__PURE__*/React__default["default"].createElement("div", {
15218
15227
  "class": (item === null || item === void 0 || (_item$productinfo = item.productinfo) === null || _item$productinfo === void 0 ? void 0 : _item$productinfo.hasvariants) == 1 && (item === null || item === void 0 || (_item$variantoptions = item.variantoptions) === null || _item$variantoptions === void 0 ? void 0 : _item$variantoptions.length) != 0 ? 'col-lg-12 p-0 mt-1' : 'col-lg-12 p-0 mt-4'
15219
15228
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -23934,7 +23943,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
23934
23943
  color: sectionproperties.resp_sidenav_color
23935
23944
  }))), sectionproperties.searchbar_show == 'Show' && sectionproperties.searchbtnresponsiveposition == 'Left' && /*#__PURE__*/React__default["default"].createElement("div", {
23936
23945
  style: {
23937
- width: '30px',
23946
+ width: '40px',
23938
23947
  height: sectionproperties.cart_BtnHeight_resp + 'px'
23939
23948
  }
23940
23949
  }, /*#__PURE__*/React__default["default"].createElement("i", {
@@ -33013,26 +33022,14 @@ var Header8 = function Header8(props) {
33013
33022
  }
33014
33023
  }, langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("div", {
33015
33024
  "class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 d-flex align-items-center '
33016
- }, /*#__PURE__*/React__default["default"].createElement("img", {
33017
- src: 'https://tabex-co.com/storage/StaticImages/egyptflag.png',
33018
- style: {
33019
- maxWidth: '2.5vh',
33020
- maxHeight: '2.5vh'
33021
- }
33022
- }), /*#__PURE__*/React__default["default"].createElement("span", {
33025
+ }, /*#__PURE__*/React__default["default"].createElement("span", {
33023
33026
  "class": "mx-2",
33024
33027
  style: {
33025
33028
  color: '#000'
33026
33029
  }
33027
33030
  }, "\u0639")), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("div", {
33028
33031
  "class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 d-flex align-items-center '
33029
- }, /*#__PURE__*/React__default["default"].createElement("img", {
33030
- src: 'https://tabex-co.com/storage/StaticImages/usflag.png',
33031
- style: {
33032
- maxWidth: '2.5vh',
33033
- maxHeight: '2.5vh'
33034
- }
33035
- }), /*#__PURE__*/React__default["default"].createElement("span", {
33032
+ }, /*#__PURE__*/React__default["default"].createElement("span", {
33036
33033
  "class": "mx-2",
33037
33034
  style: {
33038
33035
  color: '#000'
@@ -49324,7 +49321,7 @@ var Footer8 = function Footer8(props) {
49324
49321
  objectFit: 'contain'
49325
49322
  },
49326
49323
  loading: "lazy"
49327
- }))), sectionproperties.prodCatShow == 'Show' && sectionproperties.descirptionposition == 'Bottom' && /*#__PURE__*/React__default["default"].createElement("div", {
49324
+ }))), sectionproperties.prodCatShow == 'Show' && sectionproperties.descriptionposition == 'Bottom' && /*#__PURE__*/React__default["default"].createElement("div", {
49328
49325
  "class": langdetect == 'en' ? 'col-lg-12 pr-5 p-md-0 d-flex justify-content-start mt-2' : 'col-lg-12 pl-5 p-md-0 d-flex justify-content-start mt-2'
49329
49326
  }, /*#__PURE__*/React__default["default"].createElement("p", {
49330
49327
  "class": langdetect == 'en' ? ' wordbreak pr-5 wordbreak3 mb-4 p-md-0 ' : ' wordbreak pl-5 wordbreak3 mb-4 p-md-0 ',
@@ -54962,7 +54959,7 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
54962
54959
  }, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) != '672258d7826b4' && /*#__PURE__*/React__default["default"].createElement("div", {
54963
54960
  "class": "row m-0 w-100 "
54964
54961
  }, /*#__PURE__*/React__default["default"].createElement("div", {
54965
- "class": sectionproperties.imagepadding == 0 ? section_cssstyles.cardcont + ' col-lg-6 p-md-0 cursor-pointer ' : section_cssstyles.cardcont + ' col-lg-6 p-md-0 mb-md-3 cursor-pointer ',
54962
+ "class": (cardsarray === null || cardsarray === void 0 ? void 0 : cardsarray.length) < 5 ? sectionproperties.imagepadding == 0 ? section_cssstyles.cardcont + ' col-lg-6 cursor-pointer ' : section_cssstyles.cardcont + ' col-lg-6 mb-md-3 cursor-pointer ' : sectionproperties.imagepadding == 0 ? section_cssstyles.cardcont + ' col-lg-6 p-md-0 cursor-pointer ' : section_cssstyles.cardcont + ' col-lg-6 p-md-0 mb-md-3 cursor-pointer ',
54966
54963
  style: {
54967
54964
  paddingLeft: sectionproperties.imagepadding + 'px',
54968
54965
  paddingRight: sectionproperties.imagepadding + 'px'
@@ -55006,13 +55003,13 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
55006
55003
  width: '100%'
55007
55004
  }, "zIndex", 5)
55008
55005
  }, /*#__PURE__*/React__default["default"].createElement("div", {
55009
- "class": "row m-0 w-100 p-3"
55006
+ "class": sectionproperties.generaltext_position == 'Centered' ? 'row m-0 w-100 p-3 h-100 allcentered' : 'row m-0 w-100 p-3'
55010
55007
  }, /*#__PURE__*/React__default["default"].createElement("div", {
55011
- "class": "col-lg-12 p-0 d-flex justify-content-start"
55008
+ "class": sectionproperties.generaltext_position == 'Centered' ? 'col-lg-12 p-0 d-flex allcentered' : 'col-lg-12 p-0 d-flex justify-content-start'
55012
55009
  }, /*#__PURE__*/React__default["default"].createElement("p", {
55013
55010
  "class": section_cssstyles.collectionname + ' m-0 p-0 '
55014
- }, langdetect == 'en' ? (_cardsarray$3 = cardsarray[0]) === null || _cardsarray$3 === void 0 ? void 0 : _cardsarray$3.name_en : (_cardsarray$4 = cardsarray[0]) === null || _cardsarray$4 === void 0 ? void 0 : _cardsarray$4.name_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
55015
- "class": "col-lg-12 p-0 d-flex justify-content-start"
55011
+ }, langdetect == 'en' ? (_cardsarray$3 = cardsarray[0]) === null || _cardsarray$3 === void 0 ? void 0 : _cardsarray$3.name_en : (_cardsarray$4 = cardsarray[0]) === null || _cardsarray$4 === void 0 ? void 0 : _cardsarray$4.name_ar)), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
55012
+ "class": sectionproperties.generaltext_position == 'Centered' ? 'col-lg-12 p-0 d-flex allcentered' : 'col-lg-12 p-0 d-flex justify-content-start'
55016
55013
  }, /*#__PURE__*/React__default["default"].createElement("p", {
55017
55014
  "class": section_cssstyles.collectioncardbutton + ' collectioncardbutton m-0 p-0 allcentered '
55018
55015
  }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))), /*#__PURE__*/React__default["default"].createElement("div", {
@@ -55020,7 +55017,7 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
55020
55017
  }, /*#__PURE__*/React__default["default"].createElement("div", {
55021
55018
  "class": "row m-0 w-100"
55022
55019
  }, /*#__PURE__*/React__default["default"].createElement("div", {
55023
- "class": sectionproperties.imagepadding == 0 ? section_cssstyles.cardcont + ' col-lg-6 p-md-0 cursor-pointer ' : section_cssstyles.cardcont + ' col-lg-6 p-md-0 mb-md-3 cursor-pointer ',
55020
+ "class": (cardsarray === null || cardsarray === void 0 ? void 0 : cardsarray.length) < 5 ? sectionproperties.imagepadding == 0 ? section_cssstyles.cardcont + ' col-lg-6 col-md-6 cursor-pointer ' : section_cssstyles.cardcont + ' col-lg-6 col-md-6 mb-md-3 cursor-pointer ' : sectionproperties.imagepadding == 0 ? section_cssstyles.cardcont + ' col-lg-6 p-md-0 cursor-pointer ' : section_cssstyles.cardcont + ' col-lg-6 p-md-0 mb-md-3 cursor-pointer ',
55024
55021
  onClick: function onClick() {
55025
55022
  var _cardsarray$5;
55026
55023
  routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ((_cardsarray$5 = cardsarray[1]) === null || _cardsarray$5 === void 0 ? void 0 : _cardsarray$5.collectionid));
@@ -55058,26 +55055,27 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
55058
55055
  zIndex: 1
55059
55056
  }
55060
55057
  })), /*#__PURE__*/React__default["default"].createElement("div", {
55058
+ "class": sectionproperties.generaltext_position == 'Centered' ? 'h-100 allcentered' : '',
55061
55059
  style: _defineProperty__default["default"]({
55062
55060
  position: 'absolute',
55063
55061
  zIndex: 1000,
55064
- bottom: 20,
55062
+ bottom: sectionproperties.generaltext_position == 'Centered' ? '' : 20,
55065
55063
  left: 0,
55066
55064
  right: 0,
55067
55065
  margin: 'auto'
55068
55066
  }, "zIndex", 5)
55069
55067
  }, /*#__PURE__*/React__default["default"].createElement("div", {
55070
- "class": "row m-0 w-100 p-3 mt-auto"
55068
+ "class": sectionproperties.generaltext_position == 'Centered' ? 'row m-0 w-100 p-3 h-100 allcentered' : 'row m-0 w-100 p-3 mt-auto'
55071
55069
  }, /*#__PURE__*/React__default["default"].createElement("div", {
55072
55070
  "class": "col-lg-12 p-0 d-flex justify-content-center"
55073
55071
  }, /*#__PURE__*/React__default["default"].createElement("p", {
55074
55072
  "class": section_cssstyles.collectionname + ' m-0 p-0 '
55075
- }, langdetect == 'en' ? (_cardsarray$7 = cardsarray[1]) === null || _cardsarray$7 === void 0 ? void 0 : _cardsarray$7.name_en : (_cardsarray$8 = cardsarray[1]) === null || _cardsarray$8 === void 0 ? void 0 : _cardsarray$8.name_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
55073
+ }, langdetect == 'en' ? (_cardsarray$7 = cardsarray[1]) === null || _cardsarray$7 === void 0 ? void 0 : _cardsarray$7.name_en : (_cardsarray$8 = cardsarray[1]) === null || _cardsarray$8 === void 0 ? void 0 : _cardsarray$8.name_ar)), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
55076
55074
  "class": "col-lg-12 p-0 d-flex justify-content-center"
55077
55075
  }, /*#__PURE__*/React__default["default"].createElement("p", {
55078
55076
  "class": section_cssstyles.collectioncardbutton + ' collectioncardbutton m-0 p-0 allcentered '
55079
55077
  }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))), /*#__PURE__*/React__default["default"].createElement("div", {
55080
- "class": sectionproperties.imagepadding == 0 ? section_cssstyles.cardcont + ' col-lg-6 p-md-0 cursor-pointer ' : section_cssstyles.cardcont + ' col-lg-6 p-md-0 mb-md-3 cursor-pointer ',
55078
+ "class": (cardsarray === null || cardsarray === void 0 ? void 0 : cardsarray.length) < 5 ? sectionproperties.imagepadding == 0 ? section_cssstyles.cardcont + ' col-lg-6 col-md-6 cursor-pointer ' : section_cssstyles.cardcont + ' col-lg-6 col-md-6 mb-md-3 cursor-pointer ' : sectionproperties.imagepadding == 0 ? section_cssstyles.cardcont + ' col-lg-6 p-md-0 cursor-pointer ' : section_cssstyles.cardcont + ' col-lg-6 p-md-0 mb-md-3 cursor-pointer ',
55081
55079
  style: {
55082
55080
  paddingLeft: sectionproperties.imagepadding + 'px',
55083
55081
  paddingRight: sectionproperties.imagepadding + 'px',
@@ -55115,26 +55113,27 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
55115
55113
  zIndex: 1
55116
55114
  }
55117
55115
  })), /*#__PURE__*/React__default["default"].createElement("div", {
55116
+ "class": sectionproperties.generaltext_position == 'Centered' ? 'h-100 allcentered' : '',
55118
55117
  style: _defineProperty__default["default"]({
55119
55118
  position: 'absolute',
55120
55119
  zIndex: 1000,
55121
- bottom: 20,
55120
+ bottom: sectionproperties.generaltext_position == 'Centered' ? '' : 20,
55122
55121
  left: 0,
55123
55122
  right: 0,
55124
55123
  margin: 'auto'
55125
55124
  }, "zIndex", 5)
55126
55125
  }, /*#__PURE__*/React__default["default"].createElement("div", {
55127
- "class": "row m-0 w-100 p-3 mt-auto"
55126
+ "class": sectionproperties.generaltext_position == 'Centered' ? 'row m-0 w-100 p-3 h-100 allcentered' : 'row m-0 w-100 p-3 mt-auto'
55128
55127
  }, /*#__PURE__*/React__default["default"].createElement("div", {
55129
55128
  "class": "col-lg-12 p-0 d-flex justify-content-center"
55130
55129
  }, /*#__PURE__*/React__default["default"].createElement("p", {
55131
55130
  "class": section_cssstyles.collectionname + ' m-0 p-0 '
55132
- }, langdetect == 'en' ? (_cardsarray$11 = cardsarray[2]) === null || _cardsarray$11 === void 0 ? void 0 : _cardsarray$11.name_en : (_cardsarray$12 = cardsarray[2]) === null || _cardsarray$12 === void 0 ? void 0 : _cardsarray$12.name_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
55131
+ }, langdetect == 'en' ? (_cardsarray$11 = cardsarray[2]) === null || _cardsarray$11 === void 0 ? void 0 : _cardsarray$11.name_en : (_cardsarray$12 = cardsarray[2]) === null || _cardsarray$12 === void 0 ? void 0 : _cardsarray$12.name_ar)), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
55133
55132
  "class": "col-lg-12 p-0 d-flex justify-content-center"
55134
55133
  }, /*#__PURE__*/React__default["default"].createElement("p", {
55135
55134
  "class": section_cssstyles.collectioncardbutton + ' collectioncardbutton m-0 p-0 allcentered '
55136
55135
  }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))), /*#__PURE__*/React__default["default"].createElement("div", {
55137
- "class": sectionproperties.imagepadding == 0 ? section_cssstyles.cardcont + ' col-lg-7 p-md-0 cursor-pointer ' : section_cssstyles.cardcont + ' col-lg-7 p-md-0 mb-md-3 cursor-pointer ',
55136
+ "class": (cardsarray === null || cardsarray === void 0 ? void 0 : cardsarray.length) == 5 ? sectionproperties.imagepadding == 0 ? section_cssstyles.cardcont + ' col-lg-7 cursor-pointer ' : section_cssstyles.cardcont + ' col-lg-7 mb-md-3 cursor-pointer ' : sectionproperties.imagepadding == 0 ? section_cssstyles.cardcont + ' col-lg-12 p-md-0 cursor-pointer ' : section_cssstyles.cardcont + ' col-lg-12 p-md-0 mb-md-3 cursor-pointer ',
55138
55137
  onClick: function onClick() {
55139
55138
  var _cardsarray$13;
55140
55139
  routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ((_cardsarray$13 = cardsarray[3]) === null || _cardsarray$13 === void 0 ? void 0 : _cardsarray$13.collectionid));
@@ -55185,16 +55184,16 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
55185
55184
  margin: 'auto'
55186
55185
  }, "zIndex", 5)
55187
55186
  }, /*#__PURE__*/React__default["default"].createElement("div", {
55188
- "class": "row m-0 w-100 p-3 mt-auto mb-auto"
55187
+ "class": sectionproperties.generaltext_position == 'Centered' ? 'row m-0 w-100 p-3 h-100 allcentered' : 'row m-0 w-100 p-3 mt-auto mb-auto'
55189
55188
  }, /*#__PURE__*/React__default["default"].createElement("div", {
55190
55189
  "class": "col-lg-12 p-0 d-flex justify-content-center"
55191
55190
  }, /*#__PURE__*/React__default["default"].createElement("p", {
55192
55191
  "class": section_cssstyles.collectionname + ' m-0 p-0 '
55193
- }, langdetect == 'en' ? (_cardsarray$15 = cardsarray[3]) === null || _cardsarray$15 === void 0 ? void 0 : _cardsarray$15.name_en : (_cardsarray$16 = cardsarray[3]) === null || _cardsarray$16 === void 0 ? void 0 : _cardsarray$16.name_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
55192
+ }, langdetect == 'en' ? (_cardsarray$15 = cardsarray[3]) === null || _cardsarray$15 === void 0 ? void 0 : _cardsarray$15.name_en : (_cardsarray$16 = cardsarray[3]) === null || _cardsarray$16 === void 0 ? void 0 : _cardsarray$16.name_ar)), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
55194
55193
  "class": "col-lg-12 p-0 d-flex justify-content-center"
55195
55194
  }, /*#__PURE__*/React__default["default"].createElement("p", {
55196
55195
  "class": section_cssstyles.collectioncardbutton + ' collectioncardbutton m-0 p-0 allcentered '
55197
- }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))), /*#__PURE__*/React__default["default"].createElement("div", {
55196
+ }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))), (cardsarray === null || cardsarray === void 0 ? void 0 : cardsarray.length) == 5 && /*#__PURE__*/React__default["default"].createElement("div", {
55198
55197
  "class": section_cssstyles.cardcont + ' col-lg-5 p-md-0 mb-md-3 cursor-pointer ',
55199
55198
  style: {
55200
55199
  paddingLeft: sectionproperties.imagepadding + 'px',
@@ -55239,13 +55238,13 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
55239
55238
  bottom: 10
55240
55239
  }, "zIndex", 5)
55241
55240
  }, /*#__PURE__*/React__default["default"].createElement("div", {
55242
- "class": "row m-0 w-100 p-3 d-flex justify-content-end"
55241
+ "class": sectionproperties.generaltext_position == 'Centered' ? 'row m-0 w-100 p-3 d-flex h-100 allcentered' : 'row m-0 w-100 p-3 d-flex justify-content-end'
55243
55242
  }, /*#__PURE__*/React__default["default"].createElement("div", {
55244
- "class": "col-lg-12 p-0 d-flex justify-content-start"
55243
+ "class": sectionproperties.generaltext_position == 'Centered' ? 'col-lg-12 p-0 d-flex allcentered' : 'col-lg-12 p-0 d-flex justify-content-start'
55245
55244
  }, /*#__PURE__*/React__default["default"].createElement("p", {
55246
55245
  "class": section_cssstyles.collectionname + ' m-0 p-0 '
55247
- }, langdetect == 'en' ? (_cardsarray$19 = cardsarray[4]) === null || _cardsarray$19 === void 0 ? void 0 : _cardsarray$19.name_en : (_cardsarray$20 = cardsarray[4]) === null || _cardsarray$20 === void 0 ? void 0 : _cardsarray$20.name_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
55248
- "class": "col-lg-12 p-0 d-flex justify-content-start"
55246
+ }, langdetect == 'en' ? (_cardsarray$19 = cardsarray[4]) === null || _cardsarray$19 === void 0 ? void 0 : _cardsarray$19.name_en : (_cardsarray$20 = cardsarray[4]) === null || _cardsarray$20 === void 0 ? void 0 : _cardsarray$20.name_ar)), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
55247
+ "class": sectionproperties.generaltext_position == 'Centered' ? 'col-lg-12 p-0 d-flex allcentered' : 'col-lg-12 p-0 d-flex justify-content-start'
55249
55248
  }, /*#__PURE__*/React__default["default"].createElement("p", {
55250
55249
  "class": section_cssstyles.collectioncardbutton + ' m-0 p-0 allcentered collectioncardbutton '
55251
55250
  }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))))))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '672258d7826b4' && /*#__PURE__*/React__default["default"].createElement("div", {
@@ -71448,22 +71447,22 @@ var Card20 = function Card20(props) {
71448
71447
  style: {
71449
71448
  textAlign: langdetect == 'en' ? 'right' : 'left'
71450
71449
  }
71451
- }, langdetect == 'en' ? 'EGP' : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, " ", langdetect == 'en' ? '' : 'ج.م'), sectionproperties.prodPriceShow == 'Show' && sectionproperties.removedecimals == 'Hide' && /*#__PURE__*/React__default["default"].createElement("p", {
71450
+ }, langdetect == 'en' ? item.currencyname : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, " ", langdetect == 'en' ? '' : item.currencyname), sectionproperties.prodPriceShow == 'Show' && sectionproperties.removedecimals == 'Hide' && /*#__PURE__*/React__default["default"].createElement("p", {
71452
71451
  "class": "".concat(cardstyles.productPricestyles) + ' m-0 wordbreak d-flex align-items-center w-100 mb-auto mt-auto ',
71453
71452
  style: {
71454
71453
  textAlign: langdetect == 'en' ? 'right' : 'left'
71455
71454
  }
71456
- }, langdetect == 'en' ? 'EGP' : '', " ", item.hassale == 1 ? parseFloat(Number(item.defaultsaleprice).toFixed(2)) : parseFloat(Number(item.defaultprice).toFixed(2)), ' ', langdetect == 'en' ? '' : 'ج.م'), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && sectionproperties.removedecimals == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
71455
+ }, langdetect == 'en' ? item.currencyname : '', ' ', item.hassale == 1 ? parseFloat(Number(item.defaultsaleprice).toFixed(2)) : parseFloat(Number(item.defaultprice).toFixed(2)), ' ', langdetect == 'en' ? '' : item.currencyname), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && sectionproperties.removedecimals == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
71457
71456
  "class": "".concat(cardstyles.productSalePricestyles) + ' linethrough m-0 wordbreak w-100 ',
71458
71457
  style: {
71459
71458
  textAlign: langdetect == 'en' ? 'right' : 'left'
71460
71459
  }
71461
- }, langdetect == 'en' ? 'EGP' : '', " ", item.defaultprice, " ", langdetect == 'en' ? '' : 'ج.م'), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && sectionproperties.removedecimals == 'Hide' && /*#__PURE__*/React__default["default"].createElement("p", {
71460
+ }, langdetect == 'en' ? item.currencyname : '', " ", item.defaultprice, " ", langdetect == 'en' ? '' : item.currencyname), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && sectionproperties.removedecimals == 'Hide' && /*#__PURE__*/React__default["default"].createElement("p", {
71462
71461
  "class": "".concat(cardstyles.productSalePricestyles) + ' linethrough m-0 wordbreak w-100 ',
71463
71462
  style: {
71464
71463
  textAlign: langdetect == 'en' ? 'right' : 'left'
71465
71464
  }
71466
- }, langdetect == 'en' ? 'EGP' : '', " ", parseFloat(Number(item.defaultprice).toFixed(2)), " ", langdetect == 'en' ? '' : 'ج.م')))));
71465
+ }, langdetect == 'en' ? item.currencyname : '', " ", parseFloat(Number(item.defaultprice).toFixed(2)), " ", langdetect == 'en' ? '' : item.currencyname)))));
71467
71466
  };
71468
71467
 
71469
71468
  function ownKeys$z(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; }
@@ -80076,6 +80075,7 @@ var Simplecategorycardwithtextbelow = function Simplecategorycardwithtextbelow(p
80076
80075
 
80077
80076
  function ownKeys$6(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; }
80078
80077
  function _objectSpread$6(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$6(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$6(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
80078
+ // import Variants_J_Cards from '../Variants_J_Cards/Variants_J_Cards.jsx';
80079
80079
  var Simpleproductcard = function Simpleproductcard(props) {
80080
80080
  var _item$producttags, _item$producttags$;
80081
80081
  var _useState = React.useState(''),
package/dist/index.esm.js CHANGED
@@ -34,7 +34,7 @@ import { FaMinus } from '@react-icons/all-files/fa/FaMinus';
34
34
  import { FiBox as FiBox$1 } from '@react-icons/all-files/fi/FiBox';
35
35
  import { RiArrowGoBackLine } from '@react-icons/all-files/ri/RiArrowGoBackLine';
36
36
  import { Accordion, AccordionItem, AccordionItemHeading, AccordionItemButton, AccordionItemState, AccordionItemPanel } from 'react-accessible-accordion';
37
- import { FacebookShareButton, FacebookIcon, TwitterShareButton, WhatsappShareButton, WhatsappIcon, LinkedinShareButton, LinkedinIcon, TwitterIcon } from 'react-share';
37
+ import { FacebookShareButton, FacebookIcon, EmailShareButton, EmailIcon, TwitterShareButton, WhatsappShareButton, WhatsappIcon, LinkedinShareButton, LinkedinIcon, TwitterIcon } from 'react-share';
38
38
  import { FiMinus } from '@react-icons/all-files/fi/FiMinus';
39
39
  import { FiPlus } from '@react-icons/all-files/fi/FiPlus';
40
40
  import ReactStars from 'react-rating-stars-component';
@@ -2634,6 +2634,15 @@ var Product_itemtype = function Product_itemtype(props) {
2634
2634
  }, /*#__PURE__*/React.createElement(FacebookIcon, {
2635
2635
  size: 40,
2636
2636
  round: true
2637
+ }))), /*#__PURE__*/React.createElement("div", {
2638
+ className: "Demo__some-network ml-2 mr-2"
2639
+ }, /*#__PURE__*/React.createElement(EmailShareButton, {
2640
+ url: shareUrl,
2641
+ quote: title,
2642
+ className: "Demo__some-network__share-button"
2643
+ }, /*#__PURE__*/React.createElement(EmailIcon, {
2644
+ size: 40,
2645
+ round: true
2637
2646
  }))), sectionproperties.shareviax == 'Show' && /*#__PURE__*/React.createElement("div", {
2638
2647
  className: "Demo__some-network ml-2 mr-2",
2639
2648
  style: {
@@ -11130,8 +11139,8 @@ var Checkout = function Checkout(props) {
11130
11139
  }, /*#__PURE__*/React.createElement("p", {
11131
11140
  className: 'text-capitalize text-dark m-0 p-0 font-weight-500 font-13 m-0 p-0 '
11132
11141
  }, variantitem.optionname, ":"), /*#__PURE__*/React.createElement("p", {
11133
- className: ' text-capitalize text-dark font-weight-500 m-0 p-0 ml-1 mr-1 '
11134
- }, variantitem.optionvalue == '#c9b0a1' ? 'Beige' : variantitem.optionvalue == '#000000' ? 'Black' : variantitem.optionvalue == '#008000' ? 'Green' : variantitem.optionvalue == '#FFB6C1' ? 'Pink' : variantitem.optionvalue == '#F5F5DC' ? 'Beige' : variantitem.optionvalue == '#FFFFFF' ? 'White' : variantitem.optionvalue)));
11142
+ className: ' text-capitalize text-dark font-weight-500 m-0 p-0 ml-1 mr-1 font-13 '
11143
+ }, (variantitem === null || variantitem === void 0 ? void 0 : variantitem.value_identifier) != null ? variantitem === null || variantitem === void 0 ? void 0 : variantitem.value_identifier : variantitem === null || variantitem === void 0 ? void 0 : variantitem.optionvalue)));
11135
11144
  }), item.product_extrafields != null && product_extrafields.map(function (extrafielditem, extrafieldindex) {
11136
11145
  return /*#__PURE__*/React.createElement("div", {
11137
11146
  "class": "row m-0 w-100"
@@ -15164,7 +15173,7 @@ var CartSlider = function CartSlider(props) {
15164
15173
  className: 'text-capitalize m-0 p-0 font-weight-500 font-13 m-0 p-0 '
15165
15174
  }, variantitem.optionname, ":"), /*#__PURE__*/React.createElement("p", {
15166
15175
  className: ' font-weight-400 m-0 p-0 font-13 ml-1 mr-1 '
15167
- }, variantitem.optionvalue == '#c9b0a1' ? 'Beige' : variantitem.optionvalue == '#000000' ? 'Black' : variantitem.optionvalue == '#008000' ? 'Green' : variantitem.optionvalue == '#FFB6C1' ? 'Pink' : variantitem.optionvalue == '#F5F5DC' ? 'Beige' : variantitem.optionvalue == '#FFFFFF' ? 'White' : variantitem.optionvalue))));
15176
+ }, (variantitem === null || variantitem === void 0 ? void 0 : variantitem.value_identifier) != null ? variantitem === null || variantitem === void 0 ? void 0 : variantitem.value_identifier : variantitem === null || variantitem === void 0 ? void 0 : variantitem.optionvalue))));
15168
15177
  }), /*#__PURE__*/React.createElement("div", {
15169
15178
  "class": (item === null || item === void 0 || (_item$productinfo = item.productinfo) === null || _item$productinfo === void 0 ? void 0 : _item$productinfo.hasvariants) == 1 && (item === null || item === void 0 || (_item$variantoptions = item.variantoptions) === null || _item$variantoptions === void 0 ? void 0 : _item$variantoptions.length) != 0 ? 'col-lg-12 p-0 mt-1' : 'col-lg-12 p-0 mt-4'
15170
15179
  }, /*#__PURE__*/React.createElement("div", {
@@ -23885,7 +23894,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
23885
23894
  color: sectionproperties.resp_sidenav_color
23886
23895
  }))), sectionproperties.searchbar_show == 'Show' && sectionproperties.searchbtnresponsiveposition == 'Left' && /*#__PURE__*/React.createElement("div", {
23887
23896
  style: {
23888
- width: '30px',
23897
+ width: '40px',
23889
23898
  height: sectionproperties.cart_BtnHeight_resp + 'px'
23890
23899
  }
23891
23900
  }, /*#__PURE__*/React.createElement("i", {
@@ -32964,26 +32973,14 @@ var Header8 = function Header8(props) {
32964
32973
  }
32965
32974
  }, langdetect == 'en' && /*#__PURE__*/React.createElement("div", {
32966
32975
  "class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 d-flex align-items-center '
32967
- }, /*#__PURE__*/React.createElement("img", {
32968
- src: 'https://tabex-co.com/storage/StaticImages/egyptflag.png',
32969
- style: {
32970
- maxWidth: '2.5vh',
32971
- maxHeight: '2.5vh'
32972
- }
32973
- }), /*#__PURE__*/React.createElement("span", {
32976
+ }, /*#__PURE__*/React.createElement("span", {
32974
32977
  "class": "mx-2",
32975
32978
  style: {
32976
32979
  color: '#000'
32977
32980
  }
32978
32981
  }, "\u0639")), langdetect == 'ar' && /*#__PURE__*/React.createElement("div", {
32979
32982
  "class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 d-flex align-items-center '
32980
- }, /*#__PURE__*/React.createElement("img", {
32981
- src: 'https://tabex-co.com/storage/StaticImages/usflag.png',
32982
- style: {
32983
- maxWidth: '2.5vh',
32984
- maxHeight: '2.5vh'
32985
- }
32986
- }), /*#__PURE__*/React.createElement("span", {
32983
+ }, /*#__PURE__*/React.createElement("span", {
32987
32984
  "class": "mx-2",
32988
32985
  style: {
32989
32986
  color: '#000'
@@ -49275,7 +49272,7 @@ var Footer8 = function Footer8(props) {
49275
49272
  objectFit: 'contain'
49276
49273
  },
49277
49274
  loading: "lazy"
49278
- }))), sectionproperties.prodCatShow == 'Show' && sectionproperties.descirptionposition == 'Bottom' && /*#__PURE__*/React.createElement("div", {
49275
+ }))), sectionproperties.prodCatShow == 'Show' && sectionproperties.descriptionposition == 'Bottom' && /*#__PURE__*/React.createElement("div", {
49279
49276
  "class": langdetect == 'en' ? 'col-lg-12 pr-5 p-md-0 d-flex justify-content-start mt-2' : 'col-lg-12 pl-5 p-md-0 d-flex justify-content-start mt-2'
49280
49277
  }, /*#__PURE__*/React.createElement("p", {
49281
49278
  "class": langdetect == 'en' ? ' wordbreak pr-5 wordbreak3 mb-4 p-md-0 ' : ' wordbreak pl-5 wordbreak3 mb-4 p-md-0 ',
@@ -54913,7 +54910,7 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
54913
54910
  }, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) != '672258d7826b4' && /*#__PURE__*/React.createElement("div", {
54914
54911
  "class": "row m-0 w-100 "
54915
54912
  }, /*#__PURE__*/React.createElement("div", {
54916
- "class": sectionproperties.imagepadding == 0 ? section_cssstyles.cardcont + ' col-lg-6 p-md-0 cursor-pointer ' : section_cssstyles.cardcont + ' col-lg-6 p-md-0 mb-md-3 cursor-pointer ',
54913
+ "class": (cardsarray === null || cardsarray === void 0 ? void 0 : cardsarray.length) < 5 ? sectionproperties.imagepadding == 0 ? section_cssstyles.cardcont + ' col-lg-6 cursor-pointer ' : section_cssstyles.cardcont + ' col-lg-6 mb-md-3 cursor-pointer ' : sectionproperties.imagepadding == 0 ? section_cssstyles.cardcont + ' col-lg-6 p-md-0 cursor-pointer ' : section_cssstyles.cardcont + ' col-lg-6 p-md-0 mb-md-3 cursor-pointer ',
54917
54914
  style: {
54918
54915
  paddingLeft: sectionproperties.imagepadding + 'px',
54919
54916
  paddingRight: sectionproperties.imagepadding + 'px'
@@ -54957,13 +54954,13 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
54957
54954
  width: '100%'
54958
54955
  }, "zIndex", 5)
54959
54956
  }, /*#__PURE__*/React.createElement("div", {
54960
- "class": "row m-0 w-100 p-3"
54957
+ "class": sectionproperties.generaltext_position == 'Centered' ? 'row m-0 w-100 p-3 h-100 allcentered' : 'row m-0 w-100 p-3'
54961
54958
  }, /*#__PURE__*/React.createElement("div", {
54962
- "class": "col-lg-12 p-0 d-flex justify-content-start"
54959
+ "class": sectionproperties.generaltext_position == 'Centered' ? 'col-lg-12 p-0 d-flex allcentered' : 'col-lg-12 p-0 d-flex justify-content-start'
54963
54960
  }, /*#__PURE__*/React.createElement("p", {
54964
54961
  "class": section_cssstyles.collectionname + ' m-0 p-0 '
54965
- }, langdetect == 'en' ? (_cardsarray$3 = cardsarray[0]) === null || _cardsarray$3 === void 0 ? void 0 : _cardsarray$3.name_en : (_cardsarray$4 = cardsarray[0]) === null || _cardsarray$4 === void 0 ? void 0 : _cardsarray$4.name_ar)), /*#__PURE__*/React.createElement("div", {
54966
- "class": "col-lg-12 p-0 d-flex justify-content-start"
54962
+ }, langdetect == 'en' ? (_cardsarray$3 = cardsarray[0]) === null || _cardsarray$3 === void 0 ? void 0 : _cardsarray$3.name_en : (_cardsarray$4 = cardsarray[0]) === null || _cardsarray$4 === void 0 ? void 0 : _cardsarray$4.name_ar)), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
54963
+ "class": sectionproperties.generaltext_position == 'Centered' ? 'col-lg-12 p-0 d-flex allcentered' : 'col-lg-12 p-0 d-flex justify-content-start'
54967
54964
  }, /*#__PURE__*/React.createElement("p", {
54968
54965
  "class": section_cssstyles.collectioncardbutton + ' collectioncardbutton m-0 p-0 allcentered '
54969
54966
  }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))), /*#__PURE__*/React.createElement("div", {
@@ -54971,7 +54968,7 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
54971
54968
  }, /*#__PURE__*/React.createElement("div", {
54972
54969
  "class": "row m-0 w-100"
54973
54970
  }, /*#__PURE__*/React.createElement("div", {
54974
- "class": sectionproperties.imagepadding == 0 ? section_cssstyles.cardcont + ' col-lg-6 p-md-0 cursor-pointer ' : section_cssstyles.cardcont + ' col-lg-6 p-md-0 mb-md-3 cursor-pointer ',
54971
+ "class": (cardsarray === null || cardsarray === void 0 ? void 0 : cardsarray.length) < 5 ? sectionproperties.imagepadding == 0 ? section_cssstyles.cardcont + ' col-lg-6 col-md-6 cursor-pointer ' : section_cssstyles.cardcont + ' col-lg-6 col-md-6 mb-md-3 cursor-pointer ' : sectionproperties.imagepadding == 0 ? section_cssstyles.cardcont + ' col-lg-6 p-md-0 cursor-pointer ' : section_cssstyles.cardcont + ' col-lg-6 p-md-0 mb-md-3 cursor-pointer ',
54975
54972
  onClick: function onClick() {
54976
54973
  var _cardsarray$5;
54977
54974
  routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ((_cardsarray$5 = cardsarray[1]) === null || _cardsarray$5 === void 0 ? void 0 : _cardsarray$5.collectionid));
@@ -55009,26 +55006,27 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
55009
55006
  zIndex: 1
55010
55007
  }
55011
55008
  })), /*#__PURE__*/React.createElement("div", {
55009
+ "class": sectionproperties.generaltext_position == 'Centered' ? 'h-100 allcentered' : '',
55012
55010
  style: _defineProperty({
55013
55011
  position: 'absolute',
55014
55012
  zIndex: 1000,
55015
- bottom: 20,
55013
+ bottom: sectionproperties.generaltext_position == 'Centered' ? '' : 20,
55016
55014
  left: 0,
55017
55015
  right: 0,
55018
55016
  margin: 'auto'
55019
55017
  }, "zIndex", 5)
55020
55018
  }, /*#__PURE__*/React.createElement("div", {
55021
- "class": "row m-0 w-100 p-3 mt-auto"
55019
+ "class": sectionproperties.generaltext_position == 'Centered' ? 'row m-0 w-100 p-3 h-100 allcentered' : 'row m-0 w-100 p-3 mt-auto'
55022
55020
  }, /*#__PURE__*/React.createElement("div", {
55023
55021
  "class": "col-lg-12 p-0 d-flex justify-content-center"
55024
55022
  }, /*#__PURE__*/React.createElement("p", {
55025
55023
  "class": section_cssstyles.collectionname + ' m-0 p-0 '
55026
- }, langdetect == 'en' ? (_cardsarray$7 = cardsarray[1]) === null || _cardsarray$7 === void 0 ? void 0 : _cardsarray$7.name_en : (_cardsarray$8 = cardsarray[1]) === null || _cardsarray$8 === void 0 ? void 0 : _cardsarray$8.name_ar)), /*#__PURE__*/React.createElement("div", {
55024
+ }, langdetect == 'en' ? (_cardsarray$7 = cardsarray[1]) === null || _cardsarray$7 === void 0 ? void 0 : _cardsarray$7.name_en : (_cardsarray$8 = cardsarray[1]) === null || _cardsarray$8 === void 0 ? void 0 : _cardsarray$8.name_ar)), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
55027
55025
  "class": "col-lg-12 p-0 d-flex justify-content-center"
55028
55026
  }, /*#__PURE__*/React.createElement("p", {
55029
55027
  "class": section_cssstyles.collectioncardbutton + ' collectioncardbutton m-0 p-0 allcentered '
55030
55028
  }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))), /*#__PURE__*/React.createElement("div", {
55031
- "class": sectionproperties.imagepadding == 0 ? section_cssstyles.cardcont + ' col-lg-6 p-md-0 cursor-pointer ' : section_cssstyles.cardcont + ' col-lg-6 p-md-0 mb-md-3 cursor-pointer ',
55029
+ "class": (cardsarray === null || cardsarray === void 0 ? void 0 : cardsarray.length) < 5 ? sectionproperties.imagepadding == 0 ? section_cssstyles.cardcont + ' col-lg-6 col-md-6 cursor-pointer ' : section_cssstyles.cardcont + ' col-lg-6 col-md-6 mb-md-3 cursor-pointer ' : sectionproperties.imagepadding == 0 ? section_cssstyles.cardcont + ' col-lg-6 p-md-0 cursor-pointer ' : section_cssstyles.cardcont + ' col-lg-6 p-md-0 mb-md-3 cursor-pointer ',
55032
55030
  style: {
55033
55031
  paddingLeft: sectionproperties.imagepadding + 'px',
55034
55032
  paddingRight: sectionproperties.imagepadding + 'px',
@@ -55066,26 +55064,27 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
55066
55064
  zIndex: 1
55067
55065
  }
55068
55066
  })), /*#__PURE__*/React.createElement("div", {
55067
+ "class": sectionproperties.generaltext_position == 'Centered' ? 'h-100 allcentered' : '',
55069
55068
  style: _defineProperty({
55070
55069
  position: 'absolute',
55071
55070
  zIndex: 1000,
55072
- bottom: 20,
55071
+ bottom: sectionproperties.generaltext_position == 'Centered' ? '' : 20,
55073
55072
  left: 0,
55074
55073
  right: 0,
55075
55074
  margin: 'auto'
55076
55075
  }, "zIndex", 5)
55077
55076
  }, /*#__PURE__*/React.createElement("div", {
55078
- "class": "row m-0 w-100 p-3 mt-auto"
55077
+ "class": sectionproperties.generaltext_position == 'Centered' ? 'row m-0 w-100 p-3 h-100 allcentered' : 'row m-0 w-100 p-3 mt-auto'
55079
55078
  }, /*#__PURE__*/React.createElement("div", {
55080
55079
  "class": "col-lg-12 p-0 d-flex justify-content-center"
55081
55080
  }, /*#__PURE__*/React.createElement("p", {
55082
55081
  "class": section_cssstyles.collectionname + ' m-0 p-0 '
55083
- }, langdetect == 'en' ? (_cardsarray$11 = cardsarray[2]) === null || _cardsarray$11 === void 0 ? void 0 : _cardsarray$11.name_en : (_cardsarray$12 = cardsarray[2]) === null || _cardsarray$12 === void 0 ? void 0 : _cardsarray$12.name_ar)), /*#__PURE__*/React.createElement("div", {
55082
+ }, langdetect == 'en' ? (_cardsarray$11 = cardsarray[2]) === null || _cardsarray$11 === void 0 ? void 0 : _cardsarray$11.name_en : (_cardsarray$12 = cardsarray[2]) === null || _cardsarray$12 === void 0 ? void 0 : _cardsarray$12.name_ar)), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
55084
55083
  "class": "col-lg-12 p-0 d-flex justify-content-center"
55085
55084
  }, /*#__PURE__*/React.createElement("p", {
55086
55085
  "class": section_cssstyles.collectioncardbutton + ' collectioncardbutton m-0 p-0 allcentered '
55087
55086
  }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))), /*#__PURE__*/React.createElement("div", {
55088
- "class": sectionproperties.imagepadding == 0 ? section_cssstyles.cardcont + ' col-lg-7 p-md-0 cursor-pointer ' : section_cssstyles.cardcont + ' col-lg-7 p-md-0 mb-md-3 cursor-pointer ',
55087
+ "class": (cardsarray === null || cardsarray === void 0 ? void 0 : cardsarray.length) == 5 ? sectionproperties.imagepadding == 0 ? section_cssstyles.cardcont + ' col-lg-7 cursor-pointer ' : section_cssstyles.cardcont + ' col-lg-7 mb-md-3 cursor-pointer ' : sectionproperties.imagepadding == 0 ? section_cssstyles.cardcont + ' col-lg-12 p-md-0 cursor-pointer ' : section_cssstyles.cardcont + ' col-lg-12 p-md-0 mb-md-3 cursor-pointer ',
55089
55088
  onClick: function onClick() {
55090
55089
  var _cardsarray$13;
55091
55090
  routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ((_cardsarray$13 = cardsarray[3]) === null || _cardsarray$13 === void 0 ? void 0 : _cardsarray$13.collectionid));
@@ -55136,16 +55135,16 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
55136
55135
  margin: 'auto'
55137
55136
  }, "zIndex", 5)
55138
55137
  }, /*#__PURE__*/React.createElement("div", {
55139
- "class": "row m-0 w-100 p-3 mt-auto mb-auto"
55138
+ "class": sectionproperties.generaltext_position == 'Centered' ? 'row m-0 w-100 p-3 h-100 allcentered' : 'row m-0 w-100 p-3 mt-auto mb-auto'
55140
55139
  }, /*#__PURE__*/React.createElement("div", {
55141
55140
  "class": "col-lg-12 p-0 d-flex justify-content-center"
55142
55141
  }, /*#__PURE__*/React.createElement("p", {
55143
55142
  "class": section_cssstyles.collectionname + ' m-0 p-0 '
55144
- }, langdetect == 'en' ? (_cardsarray$15 = cardsarray[3]) === null || _cardsarray$15 === void 0 ? void 0 : _cardsarray$15.name_en : (_cardsarray$16 = cardsarray[3]) === null || _cardsarray$16 === void 0 ? void 0 : _cardsarray$16.name_ar)), /*#__PURE__*/React.createElement("div", {
55143
+ }, langdetect == 'en' ? (_cardsarray$15 = cardsarray[3]) === null || _cardsarray$15 === void 0 ? void 0 : _cardsarray$15.name_en : (_cardsarray$16 = cardsarray[3]) === null || _cardsarray$16 === void 0 ? void 0 : _cardsarray$16.name_ar)), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
55145
55144
  "class": "col-lg-12 p-0 d-flex justify-content-center"
55146
55145
  }, /*#__PURE__*/React.createElement("p", {
55147
55146
  "class": section_cssstyles.collectioncardbutton + ' collectioncardbutton m-0 p-0 allcentered '
55148
- }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))), /*#__PURE__*/React.createElement("div", {
55147
+ }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))), (cardsarray === null || cardsarray === void 0 ? void 0 : cardsarray.length) == 5 && /*#__PURE__*/React.createElement("div", {
55149
55148
  "class": section_cssstyles.cardcont + ' col-lg-5 p-md-0 mb-md-3 cursor-pointer ',
55150
55149
  style: {
55151
55150
  paddingLeft: sectionproperties.imagepadding + 'px',
@@ -55190,13 +55189,13 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
55190
55189
  bottom: 10
55191
55190
  }, "zIndex", 5)
55192
55191
  }, /*#__PURE__*/React.createElement("div", {
55193
- "class": "row m-0 w-100 p-3 d-flex justify-content-end"
55192
+ "class": sectionproperties.generaltext_position == 'Centered' ? 'row m-0 w-100 p-3 d-flex h-100 allcentered' : 'row m-0 w-100 p-3 d-flex justify-content-end'
55194
55193
  }, /*#__PURE__*/React.createElement("div", {
55195
- "class": "col-lg-12 p-0 d-flex justify-content-start"
55194
+ "class": sectionproperties.generaltext_position == 'Centered' ? 'col-lg-12 p-0 d-flex allcentered' : 'col-lg-12 p-0 d-flex justify-content-start'
55196
55195
  }, /*#__PURE__*/React.createElement("p", {
55197
55196
  "class": section_cssstyles.collectionname + ' m-0 p-0 '
55198
- }, langdetect == 'en' ? (_cardsarray$19 = cardsarray[4]) === null || _cardsarray$19 === void 0 ? void 0 : _cardsarray$19.name_en : (_cardsarray$20 = cardsarray[4]) === null || _cardsarray$20 === void 0 ? void 0 : _cardsarray$20.name_ar)), /*#__PURE__*/React.createElement("div", {
55199
- "class": "col-lg-12 p-0 d-flex justify-content-start"
55197
+ }, langdetect == 'en' ? (_cardsarray$19 = cardsarray[4]) === null || _cardsarray$19 === void 0 ? void 0 : _cardsarray$19.name_en : (_cardsarray$20 = cardsarray[4]) === null || _cardsarray$20 === void 0 ? void 0 : _cardsarray$20.name_ar)), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
55198
+ "class": sectionproperties.generaltext_position == 'Centered' ? 'col-lg-12 p-0 d-flex allcentered' : 'col-lg-12 p-0 d-flex justify-content-start'
55200
55199
  }, /*#__PURE__*/React.createElement("p", {
55201
55200
  "class": section_cssstyles.collectioncardbutton + ' m-0 p-0 allcentered collectioncardbutton '
55202
55201
  }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))))))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '672258d7826b4' && /*#__PURE__*/React.createElement("div", {
@@ -71399,22 +71398,22 @@ var Card20 = function Card20(props) {
71399
71398
  style: {
71400
71399
  textAlign: langdetect == 'en' ? 'right' : 'left'
71401
71400
  }
71402
- }, langdetect == 'en' ? 'EGP' : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, " ", langdetect == 'en' ? '' : 'ج.م'), sectionproperties.prodPriceShow == 'Show' && sectionproperties.removedecimals == 'Hide' && /*#__PURE__*/React.createElement("p", {
71401
+ }, langdetect == 'en' ? item.currencyname : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, " ", langdetect == 'en' ? '' : item.currencyname), sectionproperties.prodPriceShow == 'Show' && sectionproperties.removedecimals == 'Hide' && /*#__PURE__*/React.createElement("p", {
71403
71402
  "class": "".concat(cardstyles.productPricestyles) + ' m-0 wordbreak d-flex align-items-center w-100 mb-auto mt-auto ',
71404
71403
  style: {
71405
71404
  textAlign: langdetect == 'en' ? 'right' : 'left'
71406
71405
  }
71407
- }, langdetect == 'en' ? 'EGP' : '', " ", item.hassale == 1 ? parseFloat(Number(item.defaultsaleprice).toFixed(2)) : parseFloat(Number(item.defaultprice).toFixed(2)), ' ', langdetect == 'en' ? '' : 'ج.م'), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && sectionproperties.removedecimals == 'Show' && /*#__PURE__*/React.createElement("p", {
71406
+ }, langdetect == 'en' ? item.currencyname : '', ' ', item.hassale == 1 ? parseFloat(Number(item.defaultsaleprice).toFixed(2)) : parseFloat(Number(item.defaultprice).toFixed(2)), ' ', langdetect == 'en' ? '' : item.currencyname), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && sectionproperties.removedecimals == 'Show' && /*#__PURE__*/React.createElement("p", {
71408
71407
  "class": "".concat(cardstyles.productSalePricestyles) + ' linethrough m-0 wordbreak w-100 ',
71409
71408
  style: {
71410
71409
  textAlign: langdetect == 'en' ? 'right' : 'left'
71411
71410
  }
71412
- }, langdetect == 'en' ? 'EGP' : '', " ", item.defaultprice, " ", langdetect == 'en' ? '' : 'ج.م'), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && sectionproperties.removedecimals == 'Hide' && /*#__PURE__*/React.createElement("p", {
71411
+ }, langdetect == 'en' ? item.currencyname : '', " ", item.defaultprice, " ", langdetect == 'en' ? '' : item.currencyname), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && sectionproperties.removedecimals == 'Hide' && /*#__PURE__*/React.createElement("p", {
71413
71412
  "class": "".concat(cardstyles.productSalePricestyles) + ' linethrough m-0 wordbreak w-100 ',
71414
71413
  style: {
71415
71414
  textAlign: langdetect == 'en' ? 'right' : 'left'
71416
71415
  }
71417
- }, langdetect == 'en' ? 'EGP' : '', " ", parseFloat(Number(item.defaultprice).toFixed(2)), " ", langdetect == 'en' ? '' : 'ج.م')))));
71416
+ }, langdetect == 'en' ? item.currencyname : '', " ", parseFloat(Number(item.defaultprice).toFixed(2)), " ", langdetect == 'en' ? '' : item.currencyname)))));
71418
71417
  };
71419
71418
 
71420
71419
  function ownKeys$z(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; }
@@ -80027,6 +80026,7 @@ var Simplecategorycardwithtextbelow = function Simplecategorycardwithtextbelow(p
80027
80026
 
80028
80027
  function ownKeys$6(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; }
80029
80028
  function _objectSpread$6(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$6(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$6(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
80029
+ // import Variants_J_Cards from '../Variants_J_Cards/Variants_J_Cards.jsx';
80030
80030
  var Simpleproductcard = function Simpleproductcard(props) {
80031
80031
  var _item$producttags, _item$producttags$;
80032
80032
  var _useState = useState(''),
package/dist/index.umd.js CHANGED
@@ -2500,6 +2500,15 @@
2500
2500
  }, /*#__PURE__*/React__default["default"].createElement(reactShare.FacebookIcon, {
2501
2501
  size: 40,
2502
2502
  round: true
2503
+ }))), /*#__PURE__*/React__default["default"].createElement("div", {
2504
+ className: "Demo__some-network ml-2 mr-2"
2505
+ }, /*#__PURE__*/React__default["default"].createElement(reactShare.EmailShareButton, {
2506
+ url: shareUrl,
2507
+ quote: title,
2508
+ className: "Demo__some-network__share-button"
2509
+ }, /*#__PURE__*/React__default["default"].createElement(reactShare.EmailIcon, {
2510
+ size: 40,
2511
+ round: true
2503
2512
  }))), sectionproperties.shareviax == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
2504
2513
  className: "Demo__some-network ml-2 mr-2",
2505
2514
  style: {
@@ -10996,8 +11005,8 @@
10996
11005
  }, /*#__PURE__*/React__default["default"].createElement("p", {
10997
11006
  className: 'text-capitalize text-dark m-0 p-0 font-weight-500 font-13 m-0 p-0 '
10998
11007
  }, variantitem.optionname, ":"), /*#__PURE__*/React__default["default"].createElement("p", {
10999
- className: ' text-capitalize text-dark font-weight-500 m-0 p-0 ml-1 mr-1 '
11000
- }, variantitem.optionvalue == '#c9b0a1' ? 'Beige' : variantitem.optionvalue == '#000000' ? 'Black' : variantitem.optionvalue == '#008000' ? 'Green' : variantitem.optionvalue == '#FFB6C1' ? 'Pink' : variantitem.optionvalue == '#F5F5DC' ? 'Beige' : variantitem.optionvalue == '#FFFFFF' ? 'White' : variantitem.optionvalue)));
11008
+ className: ' text-capitalize text-dark font-weight-500 m-0 p-0 ml-1 mr-1 font-13 '
11009
+ }, (variantitem === null || variantitem === void 0 ? void 0 : variantitem.value_identifier) != null ? variantitem === null || variantitem === void 0 ? void 0 : variantitem.value_identifier : variantitem === null || variantitem === void 0 ? void 0 : variantitem.optionvalue)));
11001
11010
  }), item.product_extrafields != null && product_extrafields.map(function (extrafielditem, extrafieldindex) {
11002
11011
  return /*#__PURE__*/React__default["default"].createElement("div", {
11003
11012
  "class": "row m-0 w-100"
@@ -15030,7 +15039,7 @@
15030
15039
  className: 'text-capitalize m-0 p-0 font-weight-500 font-13 m-0 p-0 '
15031
15040
  }, variantitem.optionname, ":"), /*#__PURE__*/React__default["default"].createElement("p", {
15032
15041
  className: ' font-weight-400 m-0 p-0 font-13 ml-1 mr-1 '
15033
- }, variantitem.optionvalue == '#c9b0a1' ? 'Beige' : variantitem.optionvalue == '#000000' ? 'Black' : variantitem.optionvalue == '#008000' ? 'Green' : variantitem.optionvalue == '#FFB6C1' ? 'Pink' : variantitem.optionvalue == '#F5F5DC' ? 'Beige' : variantitem.optionvalue == '#FFFFFF' ? 'White' : variantitem.optionvalue))));
15042
+ }, (variantitem === null || variantitem === void 0 ? void 0 : variantitem.value_identifier) != null ? variantitem === null || variantitem === void 0 ? void 0 : variantitem.value_identifier : variantitem === null || variantitem === void 0 ? void 0 : variantitem.optionvalue))));
15034
15043
  }), /*#__PURE__*/React__default["default"].createElement("div", {
15035
15044
  "class": (item === null || item === void 0 || (_item$productinfo = item.productinfo) === null || _item$productinfo === void 0 ? void 0 : _item$productinfo.hasvariants) == 1 && (item === null || item === void 0 || (_item$variantoptions = item.variantoptions) === null || _item$variantoptions === void 0 ? void 0 : _item$variantoptions.length) != 0 ? 'col-lg-12 p-0 mt-1' : 'col-lg-12 p-0 mt-4'
15036
15045
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -23751,7 +23760,7 @@
23751
23760
  color: sectionproperties.resp_sidenav_color
23752
23761
  }))), sectionproperties.searchbar_show == 'Show' && sectionproperties.searchbtnresponsiveposition == 'Left' && /*#__PURE__*/React__default["default"].createElement("div", {
23753
23762
  style: {
23754
- width: '30px',
23763
+ width: '40px',
23755
23764
  height: sectionproperties.cart_BtnHeight_resp + 'px'
23756
23765
  }
23757
23766
  }, /*#__PURE__*/React__default["default"].createElement("i", {
@@ -32830,26 +32839,14 @@
32830
32839
  }
32831
32840
  }, langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("div", {
32832
32841
  "class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 d-flex align-items-center '
32833
- }, /*#__PURE__*/React__default["default"].createElement("img", {
32834
- src: 'https://tabex-co.com/storage/StaticImages/egyptflag.png',
32835
- style: {
32836
- maxWidth: '2.5vh',
32837
- maxHeight: '2.5vh'
32838
- }
32839
- }), /*#__PURE__*/React__default["default"].createElement("span", {
32842
+ }, /*#__PURE__*/React__default["default"].createElement("span", {
32840
32843
  "class": "mx-2",
32841
32844
  style: {
32842
32845
  color: '#000'
32843
32846
  }
32844
32847
  }, "\u0639")), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("div", {
32845
32848
  "class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 d-flex align-items-center '
32846
- }, /*#__PURE__*/React__default["default"].createElement("img", {
32847
- src: 'https://tabex-co.com/storage/StaticImages/usflag.png',
32848
- style: {
32849
- maxWidth: '2.5vh',
32850
- maxHeight: '2.5vh'
32851
- }
32852
- }), /*#__PURE__*/React__default["default"].createElement("span", {
32849
+ }, /*#__PURE__*/React__default["default"].createElement("span", {
32853
32850
  "class": "mx-2",
32854
32851
  style: {
32855
32852
  color: '#000'
@@ -49141,7 +49138,7 @@
49141
49138
  objectFit: 'contain'
49142
49139
  },
49143
49140
  loading: "lazy"
49144
- }))), sectionproperties.prodCatShow == 'Show' && sectionproperties.descirptionposition == 'Bottom' && /*#__PURE__*/React__default["default"].createElement("div", {
49141
+ }))), sectionproperties.prodCatShow == 'Show' && sectionproperties.descriptionposition == 'Bottom' && /*#__PURE__*/React__default["default"].createElement("div", {
49145
49142
  "class": langdetect == 'en' ? 'col-lg-12 pr-5 p-md-0 d-flex justify-content-start mt-2' : 'col-lg-12 pl-5 p-md-0 d-flex justify-content-start mt-2'
49146
49143
  }, /*#__PURE__*/React__default["default"].createElement("p", {
49147
49144
  "class": langdetect == 'en' ? ' wordbreak pr-5 wordbreak3 mb-4 p-md-0 ' : ' wordbreak pl-5 wordbreak3 mb-4 p-md-0 ',
@@ -54779,7 +54776,7 @@
54779
54776
  }, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) != '672258d7826b4' && /*#__PURE__*/React__default["default"].createElement("div", {
54780
54777
  "class": "row m-0 w-100 "
54781
54778
  }, /*#__PURE__*/React__default["default"].createElement("div", {
54782
- "class": sectionproperties.imagepadding == 0 ? section_cssstyles.cardcont + ' col-lg-6 p-md-0 cursor-pointer ' : section_cssstyles.cardcont + ' col-lg-6 p-md-0 mb-md-3 cursor-pointer ',
54779
+ "class": (cardsarray === null || cardsarray === void 0 ? void 0 : cardsarray.length) < 5 ? sectionproperties.imagepadding == 0 ? section_cssstyles.cardcont + ' col-lg-6 cursor-pointer ' : section_cssstyles.cardcont + ' col-lg-6 mb-md-3 cursor-pointer ' : sectionproperties.imagepadding == 0 ? section_cssstyles.cardcont + ' col-lg-6 p-md-0 cursor-pointer ' : section_cssstyles.cardcont + ' col-lg-6 p-md-0 mb-md-3 cursor-pointer ',
54783
54780
  style: {
54784
54781
  paddingLeft: sectionproperties.imagepadding + 'px',
54785
54782
  paddingRight: sectionproperties.imagepadding + 'px'
@@ -54823,13 +54820,13 @@
54823
54820
  width: '100%'
54824
54821
  }, "zIndex", 5)
54825
54822
  }, /*#__PURE__*/React__default["default"].createElement("div", {
54826
- "class": "row m-0 w-100 p-3"
54823
+ "class": sectionproperties.generaltext_position == 'Centered' ? 'row m-0 w-100 p-3 h-100 allcentered' : 'row m-0 w-100 p-3'
54827
54824
  }, /*#__PURE__*/React__default["default"].createElement("div", {
54828
- "class": "col-lg-12 p-0 d-flex justify-content-start"
54825
+ "class": sectionproperties.generaltext_position == 'Centered' ? 'col-lg-12 p-0 d-flex allcentered' : 'col-lg-12 p-0 d-flex justify-content-start'
54829
54826
  }, /*#__PURE__*/React__default["default"].createElement("p", {
54830
54827
  "class": section_cssstyles.collectionname + ' m-0 p-0 '
54831
- }, langdetect == 'en' ? (_cardsarray$3 = cardsarray[0]) === null || _cardsarray$3 === void 0 ? void 0 : _cardsarray$3.name_en : (_cardsarray$4 = cardsarray[0]) === null || _cardsarray$4 === void 0 ? void 0 : _cardsarray$4.name_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
54832
- "class": "col-lg-12 p-0 d-flex justify-content-start"
54828
+ }, langdetect == 'en' ? (_cardsarray$3 = cardsarray[0]) === null || _cardsarray$3 === void 0 ? void 0 : _cardsarray$3.name_en : (_cardsarray$4 = cardsarray[0]) === null || _cardsarray$4 === void 0 ? void 0 : _cardsarray$4.name_ar)), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
54829
+ "class": sectionproperties.generaltext_position == 'Centered' ? 'col-lg-12 p-0 d-flex allcentered' : 'col-lg-12 p-0 d-flex justify-content-start'
54833
54830
  }, /*#__PURE__*/React__default["default"].createElement("p", {
54834
54831
  "class": section_cssstyles.collectioncardbutton + ' collectioncardbutton m-0 p-0 allcentered '
54835
54832
  }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))), /*#__PURE__*/React__default["default"].createElement("div", {
@@ -54837,7 +54834,7 @@
54837
54834
  }, /*#__PURE__*/React__default["default"].createElement("div", {
54838
54835
  "class": "row m-0 w-100"
54839
54836
  }, /*#__PURE__*/React__default["default"].createElement("div", {
54840
- "class": sectionproperties.imagepadding == 0 ? section_cssstyles.cardcont + ' col-lg-6 p-md-0 cursor-pointer ' : section_cssstyles.cardcont + ' col-lg-6 p-md-0 mb-md-3 cursor-pointer ',
54837
+ "class": (cardsarray === null || cardsarray === void 0 ? void 0 : cardsarray.length) < 5 ? sectionproperties.imagepadding == 0 ? section_cssstyles.cardcont + ' col-lg-6 col-md-6 cursor-pointer ' : section_cssstyles.cardcont + ' col-lg-6 col-md-6 mb-md-3 cursor-pointer ' : sectionproperties.imagepadding == 0 ? section_cssstyles.cardcont + ' col-lg-6 p-md-0 cursor-pointer ' : section_cssstyles.cardcont + ' col-lg-6 p-md-0 mb-md-3 cursor-pointer ',
54841
54838
  onClick: function onClick() {
54842
54839
  var _cardsarray$5;
54843
54840
  routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ((_cardsarray$5 = cardsarray[1]) === null || _cardsarray$5 === void 0 ? void 0 : _cardsarray$5.collectionid));
@@ -54875,26 +54872,27 @@
54875
54872
  zIndex: 1
54876
54873
  }
54877
54874
  })), /*#__PURE__*/React__default["default"].createElement("div", {
54875
+ "class": sectionproperties.generaltext_position == 'Centered' ? 'h-100 allcentered' : '',
54878
54876
  style: _defineProperty__default["default"]({
54879
54877
  position: 'absolute',
54880
54878
  zIndex: 1000,
54881
- bottom: 20,
54879
+ bottom: sectionproperties.generaltext_position == 'Centered' ? '' : 20,
54882
54880
  left: 0,
54883
54881
  right: 0,
54884
54882
  margin: 'auto'
54885
54883
  }, "zIndex", 5)
54886
54884
  }, /*#__PURE__*/React__default["default"].createElement("div", {
54887
- "class": "row m-0 w-100 p-3 mt-auto"
54885
+ "class": sectionproperties.generaltext_position == 'Centered' ? 'row m-0 w-100 p-3 h-100 allcentered' : 'row m-0 w-100 p-3 mt-auto'
54888
54886
  }, /*#__PURE__*/React__default["default"].createElement("div", {
54889
54887
  "class": "col-lg-12 p-0 d-flex justify-content-center"
54890
54888
  }, /*#__PURE__*/React__default["default"].createElement("p", {
54891
54889
  "class": section_cssstyles.collectionname + ' m-0 p-0 '
54892
- }, langdetect == 'en' ? (_cardsarray$7 = cardsarray[1]) === null || _cardsarray$7 === void 0 ? void 0 : _cardsarray$7.name_en : (_cardsarray$8 = cardsarray[1]) === null || _cardsarray$8 === void 0 ? void 0 : _cardsarray$8.name_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
54890
+ }, langdetect == 'en' ? (_cardsarray$7 = cardsarray[1]) === null || _cardsarray$7 === void 0 ? void 0 : _cardsarray$7.name_en : (_cardsarray$8 = cardsarray[1]) === null || _cardsarray$8 === void 0 ? void 0 : _cardsarray$8.name_ar)), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
54893
54891
  "class": "col-lg-12 p-0 d-flex justify-content-center"
54894
54892
  }, /*#__PURE__*/React__default["default"].createElement("p", {
54895
54893
  "class": section_cssstyles.collectioncardbutton + ' collectioncardbutton m-0 p-0 allcentered '
54896
54894
  }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))), /*#__PURE__*/React__default["default"].createElement("div", {
54897
- "class": sectionproperties.imagepadding == 0 ? section_cssstyles.cardcont + ' col-lg-6 p-md-0 cursor-pointer ' : section_cssstyles.cardcont + ' col-lg-6 p-md-0 mb-md-3 cursor-pointer ',
54895
+ "class": (cardsarray === null || cardsarray === void 0 ? void 0 : cardsarray.length) < 5 ? sectionproperties.imagepadding == 0 ? section_cssstyles.cardcont + ' col-lg-6 col-md-6 cursor-pointer ' : section_cssstyles.cardcont + ' col-lg-6 col-md-6 mb-md-3 cursor-pointer ' : sectionproperties.imagepadding == 0 ? section_cssstyles.cardcont + ' col-lg-6 p-md-0 cursor-pointer ' : section_cssstyles.cardcont + ' col-lg-6 p-md-0 mb-md-3 cursor-pointer ',
54898
54896
  style: {
54899
54897
  paddingLeft: sectionproperties.imagepadding + 'px',
54900
54898
  paddingRight: sectionproperties.imagepadding + 'px',
@@ -54932,26 +54930,27 @@
54932
54930
  zIndex: 1
54933
54931
  }
54934
54932
  })), /*#__PURE__*/React__default["default"].createElement("div", {
54933
+ "class": sectionproperties.generaltext_position == 'Centered' ? 'h-100 allcentered' : '',
54935
54934
  style: _defineProperty__default["default"]({
54936
54935
  position: 'absolute',
54937
54936
  zIndex: 1000,
54938
- bottom: 20,
54937
+ bottom: sectionproperties.generaltext_position == 'Centered' ? '' : 20,
54939
54938
  left: 0,
54940
54939
  right: 0,
54941
54940
  margin: 'auto'
54942
54941
  }, "zIndex", 5)
54943
54942
  }, /*#__PURE__*/React__default["default"].createElement("div", {
54944
- "class": "row m-0 w-100 p-3 mt-auto"
54943
+ "class": sectionproperties.generaltext_position == 'Centered' ? 'row m-0 w-100 p-3 h-100 allcentered' : 'row m-0 w-100 p-3 mt-auto'
54945
54944
  }, /*#__PURE__*/React__default["default"].createElement("div", {
54946
54945
  "class": "col-lg-12 p-0 d-flex justify-content-center"
54947
54946
  }, /*#__PURE__*/React__default["default"].createElement("p", {
54948
54947
  "class": section_cssstyles.collectionname + ' m-0 p-0 '
54949
- }, langdetect == 'en' ? (_cardsarray$11 = cardsarray[2]) === null || _cardsarray$11 === void 0 ? void 0 : _cardsarray$11.name_en : (_cardsarray$12 = cardsarray[2]) === null || _cardsarray$12 === void 0 ? void 0 : _cardsarray$12.name_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
54948
+ }, langdetect == 'en' ? (_cardsarray$11 = cardsarray[2]) === null || _cardsarray$11 === void 0 ? void 0 : _cardsarray$11.name_en : (_cardsarray$12 = cardsarray[2]) === null || _cardsarray$12 === void 0 ? void 0 : _cardsarray$12.name_ar)), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
54950
54949
  "class": "col-lg-12 p-0 d-flex justify-content-center"
54951
54950
  }, /*#__PURE__*/React__default["default"].createElement("p", {
54952
54951
  "class": section_cssstyles.collectioncardbutton + ' collectioncardbutton m-0 p-0 allcentered '
54953
54952
  }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))), /*#__PURE__*/React__default["default"].createElement("div", {
54954
- "class": sectionproperties.imagepadding == 0 ? section_cssstyles.cardcont + ' col-lg-7 p-md-0 cursor-pointer ' : section_cssstyles.cardcont + ' col-lg-7 p-md-0 mb-md-3 cursor-pointer ',
54953
+ "class": (cardsarray === null || cardsarray === void 0 ? void 0 : cardsarray.length) == 5 ? sectionproperties.imagepadding == 0 ? section_cssstyles.cardcont + ' col-lg-7 cursor-pointer ' : section_cssstyles.cardcont + ' col-lg-7 mb-md-3 cursor-pointer ' : sectionproperties.imagepadding == 0 ? section_cssstyles.cardcont + ' col-lg-12 p-md-0 cursor-pointer ' : section_cssstyles.cardcont + ' col-lg-12 p-md-0 mb-md-3 cursor-pointer ',
54955
54954
  onClick: function onClick() {
54956
54955
  var _cardsarray$13;
54957
54956
  routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ((_cardsarray$13 = cardsarray[3]) === null || _cardsarray$13 === void 0 ? void 0 : _cardsarray$13.collectionid));
@@ -55002,16 +55001,16 @@
55002
55001
  margin: 'auto'
55003
55002
  }, "zIndex", 5)
55004
55003
  }, /*#__PURE__*/React__default["default"].createElement("div", {
55005
- "class": "row m-0 w-100 p-3 mt-auto mb-auto"
55004
+ "class": sectionproperties.generaltext_position == 'Centered' ? 'row m-0 w-100 p-3 h-100 allcentered' : 'row m-0 w-100 p-3 mt-auto mb-auto'
55006
55005
  }, /*#__PURE__*/React__default["default"].createElement("div", {
55007
55006
  "class": "col-lg-12 p-0 d-flex justify-content-center"
55008
55007
  }, /*#__PURE__*/React__default["default"].createElement("p", {
55009
55008
  "class": section_cssstyles.collectionname + ' m-0 p-0 '
55010
- }, langdetect == 'en' ? (_cardsarray$15 = cardsarray[3]) === null || _cardsarray$15 === void 0 ? void 0 : _cardsarray$15.name_en : (_cardsarray$16 = cardsarray[3]) === null || _cardsarray$16 === void 0 ? void 0 : _cardsarray$16.name_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
55009
+ }, langdetect == 'en' ? (_cardsarray$15 = cardsarray[3]) === null || _cardsarray$15 === void 0 ? void 0 : _cardsarray$15.name_en : (_cardsarray$16 = cardsarray[3]) === null || _cardsarray$16 === void 0 ? void 0 : _cardsarray$16.name_ar)), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
55011
55010
  "class": "col-lg-12 p-0 d-flex justify-content-center"
55012
55011
  }, /*#__PURE__*/React__default["default"].createElement("p", {
55013
55012
  "class": section_cssstyles.collectioncardbutton + ' collectioncardbutton m-0 p-0 allcentered '
55014
- }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))), /*#__PURE__*/React__default["default"].createElement("div", {
55013
+ }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))), (cardsarray === null || cardsarray === void 0 ? void 0 : cardsarray.length) == 5 && /*#__PURE__*/React__default["default"].createElement("div", {
55015
55014
  "class": section_cssstyles.cardcont + ' col-lg-5 p-md-0 mb-md-3 cursor-pointer ',
55016
55015
  style: {
55017
55016
  paddingLeft: sectionproperties.imagepadding + 'px',
@@ -55056,13 +55055,13 @@
55056
55055
  bottom: 10
55057
55056
  }, "zIndex", 5)
55058
55057
  }, /*#__PURE__*/React__default["default"].createElement("div", {
55059
- "class": "row m-0 w-100 p-3 d-flex justify-content-end"
55058
+ "class": sectionproperties.generaltext_position == 'Centered' ? 'row m-0 w-100 p-3 d-flex h-100 allcentered' : 'row m-0 w-100 p-3 d-flex justify-content-end'
55060
55059
  }, /*#__PURE__*/React__default["default"].createElement("div", {
55061
- "class": "col-lg-12 p-0 d-flex justify-content-start"
55060
+ "class": sectionproperties.generaltext_position == 'Centered' ? 'col-lg-12 p-0 d-flex allcentered' : 'col-lg-12 p-0 d-flex justify-content-start'
55062
55061
  }, /*#__PURE__*/React__default["default"].createElement("p", {
55063
55062
  "class": section_cssstyles.collectionname + ' m-0 p-0 '
55064
- }, langdetect == 'en' ? (_cardsarray$19 = cardsarray[4]) === null || _cardsarray$19 === void 0 ? void 0 : _cardsarray$19.name_en : (_cardsarray$20 = cardsarray[4]) === null || _cardsarray$20 === void 0 ? void 0 : _cardsarray$20.name_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
55065
- "class": "col-lg-12 p-0 d-flex justify-content-start"
55063
+ }, langdetect == 'en' ? (_cardsarray$19 = cardsarray[4]) === null || _cardsarray$19 === void 0 ? void 0 : _cardsarray$19.name_en : (_cardsarray$20 = cardsarray[4]) === null || _cardsarray$20 === void 0 ? void 0 : _cardsarray$20.name_ar)), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
55064
+ "class": sectionproperties.generaltext_position == 'Centered' ? 'col-lg-12 p-0 d-flex allcentered' : 'col-lg-12 p-0 d-flex justify-content-start'
55066
55065
  }, /*#__PURE__*/React__default["default"].createElement("p", {
55067
55066
  "class": section_cssstyles.collectioncardbutton + ' m-0 p-0 allcentered collectioncardbutton '
55068
55067
  }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))))))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '672258d7826b4' && /*#__PURE__*/React__default["default"].createElement("div", {
@@ -71265,22 +71264,22 @@
71265
71264
  style: {
71266
71265
  textAlign: langdetect == 'en' ? 'right' : 'left'
71267
71266
  }
71268
- }, langdetect == 'en' ? 'EGP' : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, " ", langdetect == 'en' ? '' : 'ج.م'), sectionproperties.prodPriceShow == 'Show' && sectionproperties.removedecimals == 'Hide' && /*#__PURE__*/React__default["default"].createElement("p", {
71267
+ }, langdetect == 'en' ? item.currencyname : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, " ", langdetect == 'en' ? '' : item.currencyname), sectionproperties.prodPriceShow == 'Show' && sectionproperties.removedecimals == 'Hide' && /*#__PURE__*/React__default["default"].createElement("p", {
71269
71268
  "class": "".concat(cardstyles.productPricestyles) + ' m-0 wordbreak d-flex align-items-center w-100 mb-auto mt-auto ',
71270
71269
  style: {
71271
71270
  textAlign: langdetect == 'en' ? 'right' : 'left'
71272
71271
  }
71273
- }, langdetect == 'en' ? 'EGP' : '', " ", item.hassale == 1 ? parseFloat(Number(item.defaultsaleprice).toFixed(2)) : parseFloat(Number(item.defaultprice).toFixed(2)), ' ', langdetect == 'en' ? '' : 'ج.م'), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && sectionproperties.removedecimals == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
71272
+ }, langdetect == 'en' ? item.currencyname : '', ' ', item.hassale == 1 ? parseFloat(Number(item.defaultsaleprice).toFixed(2)) : parseFloat(Number(item.defaultprice).toFixed(2)), ' ', langdetect == 'en' ? '' : item.currencyname), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && sectionproperties.removedecimals == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
71274
71273
  "class": "".concat(cardstyles.productSalePricestyles) + ' linethrough m-0 wordbreak w-100 ',
71275
71274
  style: {
71276
71275
  textAlign: langdetect == 'en' ? 'right' : 'left'
71277
71276
  }
71278
- }, langdetect == 'en' ? 'EGP' : '', " ", item.defaultprice, " ", langdetect == 'en' ? '' : 'ج.م'), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && sectionproperties.removedecimals == 'Hide' && /*#__PURE__*/React__default["default"].createElement("p", {
71277
+ }, langdetect == 'en' ? item.currencyname : '', " ", item.defaultprice, " ", langdetect == 'en' ? '' : item.currencyname), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && sectionproperties.removedecimals == 'Hide' && /*#__PURE__*/React__default["default"].createElement("p", {
71279
71278
  "class": "".concat(cardstyles.productSalePricestyles) + ' linethrough m-0 wordbreak w-100 ',
71280
71279
  style: {
71281
71280
  textAlign: langdetect == 'en' ? 'right' : 'left'
71282
71281
  }
71283
- }, langdetect == 'en' ? 'EGP' : '', " ", parseFloat(Number(item.defaultprice).toFixed(2)), " ", langdetect == 'en' ? '' : 'ج.م')))));
71282
+ }, langdetect == 'en' ? item.currencyname : '', " ", parseFloat(Number(item.defaultprice).toFixed(2)), " ", langdetect == 'en' ? '' : item.currencyname)))));
71284
71283
  };
71285
71284
 
71286
71285
  function ownKeys$z(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; }
@@ -79893,6 +79892,7 @@
79893
79892
 
79894
79893
  function ownKeys$6(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; }
79895
79894
  function _objectSpread$6(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$6(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$6(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
79895
+ // import Variants_J_Cards from '../Variants_J_Cards/Variants_J_Cards.jsx';
79896
79896
  var Simpleproductcard = function Simpleproductcard(props) {
79897
79897
  var _item$producttags, _item$producttags$;
79898
79898
  var _useState = React.useState(''),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tabexseriescomponents",
3
- "version": "0.0.771",
3
+ "version": "0.0.773",
4
4
  "description": "your description",
5
5
  "main": "dist/index.cjs.js",
6
6
  "scripts": {