tabexseriescomponents 0.0.828 → 0.0.830

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
@@ -20222,7 +20222,7 @@ var CardsSection = function CardsSection(props) {
20222
20222
  } else if (item.tabexsectioninfo.sectioncompname == 'Horizontalcard') {
20223
20223
  bootstapclass = ' col-xl-2 p-0 col-lg-3 col-md-4 d-flex justify-content-center p-0 col-sm-' + sectionproperties.numberOfColsverticalresp;
20224
20224
  } else {
20225
- bootstapclass = ' col-xl-2 col-lg-4 col-md-6 d-flex justify-content-center p-0 col-sm-' + sectionproperties.numberOfColsverticalresp;
20225
+ bootstapclass = ' col-xl-2 col-lg-2 col-md-6 d-flex justify-content-center p-0 col-sm-' + sectionproperties.numberOfColsverticalresp;
20226
20226
  }
20227
20227
  }
20228
20228
  if (sectionproperties.showanimation == 'Yes') {
@@ -23838,7 +23838,7 @@ var SocialMediaSection = function SocialMediaSection(props) {
23838
23838
  function ownKeys$21(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; }
23839
23839
  function _objectSpread$21(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$21(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$21(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
23840
23840
  var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
23841
- var _authdetailsContext$i4, _authdetailsContext$i5, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _returnpolicyobj9, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _returnpolicyobj15, _returnpolicyobj16, _authdetailsContext$i10, _returnpolicyobj17, _returnpolicyobj18, _returnpolicyobj19, _returnpolicyobj20, _returnpolicyobj21, _returnpolicyobj22, _returnpolicyobj23, _returnpolicyobj24;
23841
+ var _authdetailsContext$i4, _authdetailsContext$i5, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i10, _returnpolicyobj9, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _returnpolicyobj15, _returnpolicyobj16, _authdetailsContext$i11, _returnpolicyobj17, _returnpolicyobj18, _returnpolicyobj19, _returnpolicyobj20, _returnpolicyobj21, _returnpolicyobj22, _returnpolicyobj23, _returnpolicyobj24;
23842
23842
  var actions = props.actions;
23843
23843
  var LogoutMutationContext = props.actions.LogoutMutationContext;
23844
23844
  var setsidecartnavshowcontext = props.actions.setsidecartnavshowcontext;
@@ -25034,7 +25034,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
25034
25034
  setactiveTab('categories');
25035
25035
  },
25036
25036
  style: {
25037
- background: sectionproperties.responsiveheaderstyle == 'Style 2 With Merged Subheader' ? '' : activeTab == 'categories' ? 'white' : '#eee'
25037
+ background: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '6783c92e08789' ? '' : sectionproperties.responsiveheaderstyle == 'Style 2 With Merged Subheader' ? '' : activeTab == 'categories' ? 'white' : '#eee'
25038
25038
  }
25039
25039
  }, /*#__PURE__*/React__default["default"].createElement("p", {
25040
25040
  className: "m-0 p-0",
@@ -25049,7 +25049,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
25049
25049
  style: {
25050
25050
  minHeight: '80vh'
25051
25051
  }
25052
- }, activeTab == 'menu' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) != '6783c92e08789' && /*#__PURE__*/React__default["default"].createElement("div", {
25052
+ }, activeTab == 'menu' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) != '6783c92e08789' && /*#__PURE__*/React__default["default"].createElement("div", {
25053
25053
  className: ' row m-0 w-100 anim '
25054
25054
  }, /*#__PURE__*/React__default["default"].createElement("div", {
25055
25055
  className: "col-lg-12 p-0"
@@ -25289,7 +25289,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
25289
25289
  }
25290
25290
  }, lang.logout))))), activeTab == 'categories' && sectionproperties.responsiveheaderstyle != 'Style 2 With Merged Subheader' && /*#__PURE__*/React__default["default"].createElement("div", {
25291
25291
  className: ' row m-0 w-100 accordionContainer anim'
25292
- }, sectionproperties.subheaderParentType == 'Categories' && CategoriesAccordion(), sectionproperties.subheaderParentType == 'Parent Collections' && ParentCollectionsAccordion(), sectionproperties.subheaderParentType == 'Collections' && CollectionsAccordion(), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) == '6783c92e08789' && /*#__PURE__*/React__default["default"].createElement("div", {
25292
+ }, sectionproperties.subheaderParentType == 'Categories' && CategoriesAccordion(), sectionproperties.subheaderParentType == 'Parent Collections' && ParentCollectionsAccordion(), sectionproperties.subheaderParentType == 'Collections' && CollectionsAccordion(), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) == '6783c92e08789' && /*#__PURE__*/React__default["default"].createElement("div", {
25293
25293
  "class": "row m-0 w-100"
25294
25294
  }, sectionproperties.showlanuagecontainer == 'Show' && sectionproperties.langresponsiveposition == 'In Menu' && /*#__PURE__*/React__default["default"].createElement("div", {
25295
25295
  className: "row m-0 w-100 pl-3 pr-3"
@@ -78148,7 +78148,7 @@ var MenuCard = function MenuCard(props) {
78148
78148
  function ownKeys$l(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; }
78149
78149
  function _objectSpread$l(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$l(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$l(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
78150
78150
  var ServiceCard = function ServiceCard(props) {
78151
- var _css;
78151
+ var _css, _authdetailsContext$i, _authdetailsContext$i2;
78152
78152
  var _useState = React.useState(''),
78153
78153
  _useState2 = _slicedToArray__default["default"](_useState, 2),
78154
78154
  sectionproperties = _useState2[0],
@@ -78169,6 +78169,7 @@ var ServiceCard = function ServiceCard(props) {
78169
78169
  var routingcountext = props.actions.routingcountext;
78170
78170
  var cardonclickfunctionContext = props.actions.cardonclickfunctionContext;
78171
78171
  var ikimagecredcontext = props.actions.ikimagecredcontext;
78172
+ var authdetailsContext = props.actions.authdetailsContext;
78172
78173
  React.useEffect(function () {
78173
78174
  if (props.srcfrom == 'addsectionform') {
78174
78175
  var secpropobj = {};
@@ -78217,7 +78218,13 @@ var ServiceCard = function ServiceCard(props) {
78217
78218
  borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
78218
78219
  borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
78219
78220
  borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
78220
- transition: '.3s'
78221
+ transition: '.3s',
78222
+ height: sectionproperties.image_height + 'px',
78223
+ width: sectionproperties.image_width + 'px',
78224
+ '@media (max-width: 800px)': {
78225
+ width: '100px',
78226
+ height: '100px'
78227
+ }
78221
78228
  }),
78222
78229
  productNameStyles: glamor.css({
78223
78230
  fontSize: sectionproperties.prodNameFontSize + 'px',
@@ -78337,7 +78344,7 @@ var ServiceCard = function ServiceCard(props) {
78337
78344
  paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
78338
78345
  paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px'
78339
78346
  }
78340
- }, /*#__PURE__*/React__default["default"].createElement("div", {
78347
+ }, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.instid) != '67893cba2baf1' && /*#__PURE__*/React__default["default"].createElement("div", {
78341
78348
  "class": "row w-100 m-0 d-flex"
78342
78349
  }, /*#__PURE__*/React__default["default"].createElement("div", {
78343
78350
  "class": "col-lg-12 p-0"
@@ -78439,7 +78446,92 @@ var ServiceCard = function ServiceCard(props) {
78439
78446
  onClick: function onClick() {
78440
78447
  cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
78441
78448
  }
78442
- }, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic)))))))));
78449
+ }, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic))))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.instid) == '67893cba2baf1' && /*#__PURE__*/React__default["default"].createElement("div", {
78450
+ "class": "row w-100 m-0 d-flex"
78451
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
78452
+ "class": "col-lg-12 p-0"
78453
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
78454
+ "class": "row w-100 m-0 d-flex"
78455
+ }, sectionproperties.image_show == 'show' && /*#__PURE__*/React__default["default"].createElement("div", {
78456
+ onClick: function onClick() {
78457
+ if (props.fetchingtypeprops == 'collections') {
78458
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
78459
+ } else {
78460
+ routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
78461
+ }
78462
+ },
78463
+ "class": langdetect == 'en' ? "".concat(card_cssstyles.productcardimagecont) + ' d-flex justify-content-start mr-2 ' : "".concat(card_cssstyles.productcardimagecont) + ' d-flex justify-content-start ml-2 ',
78464
+ style: {
78465
+ borderRadius: '20px',
78466
+ overflow: 'hidden',
78467
+ cursor: 'pointer',
78468
+ border: '1px solid #ccc'
78469
+ }
78470
+ }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
78471
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
78472
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
78473
+ path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
78474
+ loading: "lazy",
78475
+ style: {
78476
+ width: '100%',
78477
+ height: '100%',
78478
+ objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain',
78479
+ cursor: 'pointer'
78480
+ }
78481
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
78482
+ "class": "col-lg-9 col-md-9 col-sm-8 pl-1 pr-1 mt-2 p-0 text-start",
78483
+ onClick: function onClick() {
78484
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
78485
+ }
78486
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
78487
+ "class": "row m-0 w-100 "
78488
+ }, sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
78489
+ "class": "col-lg-12 p-0 text-start"
78490
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
78491
+ "class": "".concat(card_cssstyles.productNameStyles) + ' font-md-15 wordbreak wordbreak1 m-0 ',
78492
+ style: {
78493
+ textAlign: langdetect == 'en' ? 'left' : 'right'
78494
+ }
78495
+ }, item.name)), sectionproperties.showmeasurementunit == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
78496
+ "class": "col-lg-12 p-0 text-start"
78497
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
78498
+ "class": ' wordbreak wordbreak1 m-0 ',
78499
+ style: {
78500
+ textAlign: langdetect == 'en' ? 'left' : 'right',
78501
+ fontSize: sectionproperties.measurementunitfontsize + 'px',
78502
+ color: sectionproperties.measurementunitcolor
78503
+ }
78504
+ }, item.measurmentunit)), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
78505
+ "class": "col-lg-12 p-0 text-start flex-row mt-2 mb-1"
78506
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
78507
+ "class": "".concat(card_cssstyles.productDescStyles) + ' wordbreak wordbreak2 p-0 d-flex flex-row ',
78508
+ style: {
78509
+ textAlign: langdetect == 'en' ? 'left' : 'right'
78510
+ }
78511
+ }, plainString(langdetect == 'en' ? item.shortdescription : item.shortdescription))), /*#__PURE__*/React__default["default"].createElement("div", {
78512
+ "class": "col-lg-12 p-0 text-start flex-row mt-2 mb-1"
78513
+ }, /*#__PURE__*/React__default["default"].createElement(ReactStars__default["default"], {
78514
+ count: 5,
78515
+ value: item.productoverallrate,
78516
+ edit: false,
78517
+ size: 16,
78518
+ emptyIcon: /*#__PURE__*/React__default["default"].createElement("i", {
78519
+ className: "far fa-star",
78520
+ style: {
78521
+ color: '#cccccc'
78522
+ }
78523
+ }),
78524
+ halfIcon: /*#__PURE__*/React__default["default"].createElement("i", {
78525
+ className: "fa fa-star-half-alt style={{ color: '#FAB400' }}"
78526
+ }),
78527
+ filledIcon: /*#__PURE__*/React__default["default"].createElement("i", {
78528
+ className: "fa fa-star",
78529
+ style: {
78530
+ color: '#FAB400'
78531
+ }
78532
+ }),
78533
+ activeColor: "#ffd700"
78534
+ })))))))));
78443
78535
  };
78444
78536
 
78445
78537
  var css_248z$5 = ".ModernCardWithQuantityButton-module_productcard__PaOc- {\n\tposition: relative;\n}\n.ModernCardWithQuantityButton-module_productcard__PaOc- .ModernCardWithQuantityButton-module_wishlistbtn__mXt2e {\n\tposition: absolute;\n\ttop: 10px;\n\tright: 10px;\n\t/* opacity: 0; */\n\ttransition: .3s\n}\n.ModernCardWithQuantityButton-module_productcard__PaOc- .ModernCardWithQuantityButton-module_card_inner__1ySNo {\n\tposition: relative;\n\tz-index: 1\n}\n.ModernCardWithQuantityButton-module_productcard__PaOc- .ModernCardWithQuantityButton-module_card_inner__1ySNo:hover .ModernCardWithQuantityButton-module_wishlistbtn__mXt2e {\n\topacity: 1;\n\tz-index: 8\n}\n.ModernCardWithQuantityButton-module_wishlistbtn__mXt2e {\n\ttransform: translateX(10px);\n\ttransition: .3s;\n\ttransition-property: transform;\n\tdisplay: block\n}\n.ModernCardWithQuantityButton-module_productcard__PaOc- .ModernCardWithQuantityButton-module_card_inner__1ySNo:hover .ModernCardWithQuantityButton-module_wishlistbtn__mXt2e {\n\ttransform: translateX(0)\n}\n.ModernCardWithQuantityButton-module_productcard__PaOc- .ModernCardWithQuantityButton-module_card_informationcontainer__P-vrl {\n\tpadding: 0 10px;\n}\n";
package/dist/index.esm.js CHANGED
@@ -20173,7 +20173,7 @@ var CardsSection = function CardsSection(props) {
20173
20173
  } else if (item.tabexsectioninfo.sectioncompname == 'Horizontalcard') {
20174
20174
  bootstapclass = ' col-xl-2 p-0 col-lg-3 col-md-4 d-flex justify-content-center p-0 col-sm-' + sectionproperties.numberOfColsverticalresp;
20175
20175
  } else {
20176
- bootstapclass = ' col-xl-2 col-lg-4 col-md-6 d-flex justify-content-center p-0 col-sm-' + sectionproperties.numberOfColsverticalresp;
20176
+ bootstapclass = ' col-xl-2 col-lg-2 col-md-6 d-flex justify-content-center p-0 col-sm-' + sectionproperties.numberOfColsverticalresp;
20177
20177
  }
20178
20178
  }
20179
20179
  if (sectionproperties.showanimation == 'Yes') {
@@ -23789,7 +23789,7 @@ var SocialMediaSection = function SocialMediaSection(props) {
23789
23789
  function ownKeys$21(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; }
23790
23790
  function _objectSpread$21(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$21(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$21(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
23791
23791
  var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
23792
- var _authdetailsContext$i4, _authdetailsContext$i5, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _returnpolicyobj9, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _returnpolicyobj15, _returnpolicyobj16, _authdetailsContext$i10, _returnpolicyobj17, _returnpolicyobj18, _returnpolicyobj19, _returnpolicyobj20, _returnpolicyobj21, _returnpolicyobj22, _returnpolicyobj23, _returnpolicyobj24;
23792
+ var _authdetailsContext$i4, _authdetailsContext$i5, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i10, _returnpolicyobj9, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _returnpolicyobj15, _returnpolicyobj16, _authdetailsContext$i11, _returnpolicyobj17, _returnpolicyobj18, _returnpolicyobj19, _returnpolicyobj20, _returnpolicyobj21, _returnpolicyobj22, _returnpolicyobj23, _returnpolicyobj24;
23793
23793
  var actions = props.actions;
23794
23794
  var LogoutMutationContext = props.actions.LogoutMutationContext;
23795
23795
  var setsidecartnavshowcontext = props.actions.setsidecartnavshowcontext;
@@ -24985,7 +24985,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
24985
24985
  setactiveTab('categories');
24986
24986
  },
24987
24987
  style: {
24988
- background: sectionproperties.responsiveheaderstyle == 'Style 2 With Merged Subheader' ? '' : activeTab == 'categories' ? 'white' : '#eee'
24988
+ background: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '6783c92e08789' ? '' : sectionproperties.responsiveheaderstyle == 'Style 2 With Merged Subheader' ? '' : activeTab == 'categories' ? 'white' : '#eee'
24989
24989
  }
24990
24990
  }, /*#__PURE__*/React.createElement("p", {
24991
24991
  className: "m-0 p-0",
@@ -25000,7 +25000,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
25000
25000
  style: {
25001
25001
  minHeight: '80vh'
25002
25002
  }
25003
- }, activeTab == 'menu' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) != '6783c92e08789' && /*#__PURE__*/React.createElement("div", {
25003
+ }, activeTab == 'menu' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) != '6783c92e08789' && /*#__PURE__*/React.createElement("div", {
25004
25004
  className: ' row m-0 w-100 anim '
25005
25005
  }, /*#__PURE__*/React.createElement("div", {
25006
25006
  className: "col-lg-12 p-0"
@@ -25240,7 +25240,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
25240
25240
  }
25241
25241
  }, lang.logout))))), activeTab == 'categories' && sectionproperties.responsiveheaderstyle != 'Style 2 With Merged Subheader' && /*#__PURE__*/React.createElement("div", {
25242
25242
  className: ' row m-0 w-100 accordionContainer anim'
25243
- }, sectionproperties.subheaderParentType == 'Categories' && CategoriesAccordion(), sectionproperties.subheaderParentType == 'Parent Collections' && ParentCollectionsAccordion(), sectionproperties.subheaderParentType == 'Collections' && CollectionsAccordion(), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) == '6783c92e08789' && /*#__PURE__*/React.createElement("div", {
25243
+ }, sectionproperties.subheaderParentType == 'Categories' && CategoriesAccordion(), sectionproperties.subheaderParentType == 'Parent Collections' && ParentCollectionsAccordion(), sectionproperties.subheaderParentType == 'Collections' && CollectionsAccordion(), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) == '6783c92e08789' && /*#__PURE__*/React.createElement("div", {
25244
25244
  "class": "row m-0 w-100"
25245
25245
  }, sectionproperties.showlanuagecontainer == 'Show' && sectionproperties.langresponsiveposition == 'In Menu' && /*#__PURE__*/React.createElement("div", {
25246
25246
  className: "row m-0 w-100 pl-3 pr-3"
@@ -78099,7 +78099,7 @@ var MenuCard = function MenuCard(props) {
78099
78099
  function ownKeys$l(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; }
78100
78100
  function _objectSpread$l(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$l(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$l(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
78101
78101
  var ServiceCard = function ServiceCard(props) {
78102
- var _css;
78102
+ var _css, _authdetailsContext$i, _authdetailsContext$i2;
78103
78103
  var _useState = useState(''),
78104
78104
  _useState2 = _slicedToArray(_useState, 2),
78105
78105
  sectionproperties = _useState2[0],
@@ -78120,6 +78120,7 @@ var ServiceCard = function ServiceCard(props) {
78120
78120
  var routingcountext = props.actions.routingcountext;
78121
78121
  var cardonclickfunctionContext = props.actions.cardonclickfunctionContext;
78122
78122
  var ikimagecredcontext = props.actions.ikimagecredcontext;
78123
+ var authdetailsContext = props.actions.authdetailsContext;
78123
78124
  useEffect(function () {
78124
78125
  if (props.srcfrom == 'addsectionform') {
78125
78126
  var secpropobj = {};
@@ -78168,7 +78169,13 @@ var ServiceCard = function ServiceCard(props) {
78168
78169
  borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
78169
78170
  borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
78170
78171
  borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
78171
- transition: '.3s'
78172
+ transition: '.3s',
78173
+ height: sectionproperties.image_height + 'px',
78174
+ width: sectionproperties.image_width + 'px',
78175
+ '@media (max-width: 800px)': {
78176
+ width: '100px',
78177
+ height: '100px'
78178
+ }
78172
78179
  }),
78173
78180
  productNameStyles: css({
78174
78181
  fontSize: sectionproperties.prodNameFontSize + 'px',
@@ -78288,7 +78295,7 @@ var ServiceCard = function ServiceCard(props) {
78288
78295
  paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
78289
78296
  paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px'
78290
78297
  }
78291
- }, /*#__PURE__*/React.createElement("div", {
78298
+ }, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.instid) != '67893cba2baf1' && /*#__PURE__*/React.createElement("div", {
78292
78299
  "class": "row w-100 m-0 d-flex"
78293
78300
  }, /*#__PURE__*/React.createElement("div", {
78294
78301
  "class": "col-lg-12 p-0"
@@ -78390,7 +78397,92 @@ var ServiceCard = function ServiceCard(props) {
78390
78397
  onClick: function onClick() {
78391
78398
  cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
78392
78399
  }
78393
- }, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic)))))))));
78400
+ }, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic))))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.instid) == '67893cba2baf1' && /*#__PURE__*/React.createElement("div", {
78401
+ "class": "row w-100 m-0 d-flex"
78402
+ }, /*#__PURE__*/React.createElement("div", {
78403
+ "class": "col-lg-12 p-0"
78404
+ }, /*#__PURE__*/React.createElement("div", {
78405
+ "class": "row w-100 m-0 d-flex"
78406
+ }, sectionproperties.image_show == 'show' && /*#__PURE__*/React.createElement("div", {
78407
+ onClick: function onClick() {
78408
+ if (props.fetchingtypeprops == 'collections') {
78409
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
78410
+ } else {
78411
+ routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
78412
+ }
78413
+ },
78414
+ "class": langdetect == 'en' ? "".concat(card_cssstyles.productcardimagecont) + ' d-flex justify-content-start mr-2 ' : "".concat(card_cssstyles.productcardimagecont) + ' d-flex justify-content-start ml-2 ',
78415
+ style: {
78416
+ borderRadius: '20px',
78417
+ overflow: 'hidden',
78418
+ cursor: 'pointer',
78419
+ border: '1px solid #ccc'
78420
+ }
78421
+ }, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
78422
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
78423
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
78424
+ path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
78425
+ loading: "lazy",
78426
+ style: {
78427
+ width: '100%',
78428
+ height: '100%',
78429
+ objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain',
78430
+ cursor: 'pointer'
78431
+ }
78432
+ })), /*#__PURE__*/React.createElement("div", {
78433
+ "class": "col-lg-9 col-md-9 col-sm-8 pl-1 pr-1 mt-2 p-0 text-start",
78434
+ onClick: function onClick() {
78435
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
78436
+ }
78437
+ }, /*#__PURE__*/React.createElement("div", {
78438
+ "class": "row m-0 w-100 "
78439
+ }, sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React.createElement("div", {
78440
+ "class": "col-lg-12 p-0 text-start"
78441
+ }, /*#__PURE__*/React.createElement("p", {
78442
+ "class": "".concat(card_cssstyles.productNameStyles) + ' font-md-15 wordbreak wordbreak1 m-0 ',
78443
+ style: {
78444
+ textAlign: langdetect == 'en' ? 'left' : 'right'
78445
+ }
78446
+ }, item.name)), sectionproperties.showmeasurementunit == 'Show' && /*#__PURE__*/React.createElement("div", {
78447
+ "class": "col-lg-12 p-0 text-start"
78448
+ }, /*#__PURE__*/React.createElement("p", {
78449
+ "class": ' wordbreak wordbreak1 m-0 ',
78450
+ style: {
78451
+ textAlign: langdetect == 'en' ? 'left' : 'right',
78452
+ fontSize: sectionproperties.measurementunitfontsize + 'px',
78453
+ color: sectionproperties.measurementunitcolor
78454
+ }
78455
+ }, item.measurmentunit)), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React.createElement("div", {
78456
+ "class": "col-lg-12 p-0 text-start flex-row mt-2 mb-1"
78457
+ }, /*#__PURE__*/React.createElement("p", {
78458
+ "class": "".concat(card_cssstyles.productDescStyles) + ' wordbreak wordbreak2 p-0 d-flex flex-row ',
78459
+ style: {
78460
+ textAlign: langdetect == 'en' ? 'left' : 'right'
78461
+ }
78462
+ }, plainString(langdetect == 'en' ? item.shortdescription : item.shortdescription))), /*#__PURE__*/React.createElement("div", {
78463
+ "class": "col-lg-12 p-0 text-start flex-row mt-2 mb-1"
78464
+ }, /*#__PURE__*/React.createElement(ReactStars, {
78465
+ count: 5,
78466
+ value: item.productoverallrate,
78467
+ edit: false,
78468
+ size: 16,
78469
+ emptyIcon: /*#__PURE__*/React.createElement("i", {
78470
+ className: "far fa-star",
78471
+ style: {
78472
+ color: '#cccccc'
78473
+ }
78474
+ }),
78475
+ halfIcon: /*#__PURE__*/React.createElement("i", {
78476
+ className: "fa fa-star-half-alt style={{ color: '#FAB400' }}"
78477
+ }),
78478
+ filledIcon: /*#__PURE__*/React.createElement("i", {
78479
+ className: "fa fa-star",
78480
+ style: {
78481
+ color: '#FAB400'
78482
+ }
78483
+ }),
78484
+ activeColor: "#ffd700"
78485
+ })))))))));
78394
78486
  };
78395
78487
 
78396
78488
  var css_248z$5 = ".ModernCardWithQuantityButton-module_productcard__PaOc- {\n\tposition: relative;\n}\n.ModernCardWithQuantityButton-module_productcard__PaOc- .ModernCardWithQuantityButton-module_wishlistbtn__mXt2e {\n\tposition: absolute;\n\ttop: 10px;\n\tright: 10px;\n\t/* opacity: 0; */\n\ttransition: .3s\n}\n.ModernCardWithQuantityButton-module_productcard__PaOc- .ModernCardWithQuantityButton-module_card_inner__1ySNo {\n\tposition: relative;\n\tz-index: 1\n}\n.ModernCardWithQuantityButton-module_productcard__PaOc- .ModernCardWithQuantityButton-module_card_inner__1ySNo:hover .ModernCardWithQuantityButton-module_wishlistbtn__mXt2e {\n\topacity: 1;\n\tz-index: 8\n}\n.ModernCardWithQuantityButton-module_wishlistbtn__mXt2e {\n\ttransform: translateX(10px);\n\ttransition: .3s;\n\ttransition-property: transform;\n\tdisplay: block\n}\n.ModernCardWithQuantityButton-module_productcard__PaOc- .ModernCardWithQuantityButton-module_card_inner__1ySNo:hover .ModernCardWithQuantityButton-module_wishlistbtn__mXt2e {\n\ttransform: translateX(0)\n}\n.ModernCardWithQuantityButton-module_productcard__PaOc- .ModernCardWithQuantityButton-module_card_informationcontainer__P-vrl {\n\tpadding: 0 10px;\n}\n";
package/dist/index.umd.js CHANGED
@@ -20038,7 +20038,7 @@
20038
20038
  } else if (item.tabexsectioninfo.sectioncompname == 'Horizontalcard') {
20039
20039
  bootstapclass = ' col-xl-2 p-0 col-lg-3 col-md-4 d-flex justify-content-center p-0 col-sm-' + sectionproperties.numberOfColsverticalresp;
20040
20040
  } else {
20041
- bootstapclass = ' col-xl-2 col-lg-4 col-md-6 d-flex justify-content-center p-0 col-sm-' + sectionproperties.numberOfColsverticalresp;
20041
+ bootstapclass = ' col-xl-2 col-lg-2 col-md-6 d-flex justify-content-center p-0 col-sm-' + sectionproperties.numberOfColsverticalresp;
20042
20042
  }
20043
20043
  }
20044
20044
  if (sectionproperties.showanimation == 'Yes') {
@@ -23654,7 +23654,7 @@
23654
23654
  function ownKeys$21(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; }
23655
23655
  function _objectSpread$21(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$21(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$21(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
23656
23656
  var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
23657
- var _authdetailsContext$i4, _authdetailsContext$i5, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _returnpolicyobj9, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _returnpolicyobj15, _returnpolicyobj16, _authdetailsContext$i10, _returnpolicyobj17, _returnpolicyobj18, _returnpolicyobj19, _returnpolicyobj20, _returnpolicyobj21, _returnpolicyobj22, _returnpolicyobj23, _returnpolicyobj24;
23657
+ var _authdetailsContext$i4, _authdetailsContext$i5, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i10, _returnpolicyobj9, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _returnpolicyobj15, _returnpolicyobj16, _authdetailsContext$i11, _returnpolicyobj17, _returnpolicyobj18, _returnpolicyobj19, _returnpolicyobj20, _returnpolicyobj21, _returnpolicyobj22, _returnpolicyobj23, _returnpolicyobj24;
23658
23658
  var actions = props.actions;
23659
23659
  var LogoutMutationContext = props.actions.LogoutMutationContext;
23660
23660
  var setsidecartnavshowcontext = props.actions.setsidecartnavshowcontext;
@@ -24850,7 +24850,7 @@
24850
24850
  setactiveTab('categories');
24851
24851
  },
24852
24852
  style: {
24853
- background: sectionproperties.responsiveheaderstyle == 'Style 2 With Merged Subheader' ? '' : activeTab == 'categories' ? 'white' : '#eee'
24853
+ background: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '6783c92e08789' ? '' : sectionproperties.responsiveheaderstyle == 'Style 2 With Merged Subheader' ? '' : activeTab == 'categories' ? 'white' : '#eee'
24854
24854
  }
24855
24855
  }, /*#__PURE__*/React__default["default"].createElement("p", {
24856
24856
  className: "m-0 p-0",
@@ -24865,7 +24865,7 @@
24865
24865
  style: {
24866
24866
  minHeight: '80vh'
24867
24867
  }
24868
- }, activeTab == 'menu' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) != '6783c92e08789' && /*#__PURE__*/React__default["default"].createElement("div", {
24868
+ }, activeTab == 'menu' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) != '6783c92e08789' && /*#__PURE__*/React__default["default"].createElement("div", {
24869
24869
  className: ' row m-0 w-100 anim '
24870
24870
  }, /*#__PURE__*/React__default["default"].createElement("div", {
24871
24871
  className: "col-lg-12 p-0"
@@ -25105,7 +25105,7 @@
25105
25105
  }
25106
25106
  }, lang.logout))))), activeTab == 'categories' && sectionproperties.responsiveheaderstyle != 'Style 2 With Merged Subheader' && /*#__PURE__*/React__default["default"].createElement("div", {
25107
25107
  className: ' row m-0 w-100 accordionContainer anim'
25108
- }, sectionproperties.subheaderParentType == 'Categories' && CategoriesAccordion(), sectionproperties.subheaderParentType == 'Parent Collections' && ParentCollectionsAccordion(), sectionproperties.subheaderParentType == 'Collections' && CollectionsAccordion(), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) == '6783c92e08789' && /*#__PURE__*/React__default["default"].createElement("div", {
25108
+ }, sectionproperties.subheaderParentType == 'Categories' && CategoriesAccordion(), sectionproperties.subheaderParentType == 'Parent Collections' && ParentCollectionsAccordion(), sectionproperties.subheaderParentType == 'Collections' && CollectionsAccordion(), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) == '6783c92e08789' && /*#__PURE__*/React__default["default"].createElement("div", {
25109
25109
  "class": "row m-0 w-100"
25110
25110
  }, sectionproperties.showlanuagecontainer == 'Show' && sectionproperties.langresponsiveposition == 'In Menu' && /*#__PURE__*/React__default["default"].createElement("div", {
25111
25111
  className: "row m-0 w-100 pl-3 pr-3"
@@ -77964,7 +77964,7 @@
77964
77964
  function ownKeys$l(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; }
77965
77965
  function _objectSpread$l(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$l(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$l(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
77966
77966
  var ServiceCard = function ServiceCard(props) {
77967
- var _css;
77967
+ var _css, _authdetailsContext$i, _authdetailsContext$i2;
77968
77968
  var _useState = React.useState(''),
77969
77969
  _useState2 = _slicedToArray__default["default"](_useState, 2),
77970
77970
  sectionproperties = _useState2[0],
@@ -77985,6 +77985,7 @@
77985
77985
  var routingcountext = props.actions.routingcountext;
77986
77986
  var cardonclickfunctionContext = props.actions.cardonclickfunctionContext;
77987
77987
  var ikimagecredcontext = props.actions.ikimagecredcontext;
77988
+ var authdetailsContext = props.actions.authdetailsContext;
77988
77989
  React.useEffect(function () {
77989
77990
  if (props.srcfrom == 'addsectionform') {
77990
77991
  var secpropobj = {};
@@ -78033,7 +78034,13 @@
78033
78034
  borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
78034
78035
  borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
78035
78036
  borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
78036
- transition: '.3s'
78037
+ transition: '.3s',
78038
+ height: sectionproperties.image_height + 'px',
78039
+ width: sectionproperties.image_width + 'px',
78040
+ '@media (max-width: 800px)': {
78041
+ width: '100px',
78042
+ height: '100px'
78043
+ }
78037
78044
  }),
78038
78045
  productNameStyles: glamor.css({
78039
78046
  fontSize: sectionproperties.prodNameFontSize + 'px',
@@ -78153,7 +78160,7 @@
78153
78160
  paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
78154
78161
  paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px'
78155
78162
  }
78156
- }, /*#__PURE__*/React__default["default"].createElement("div", {
78163
+ }, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.instid) != '67893cba2baf1' && /*#__PURE__*/React__default["default"].createElement("div", {
78157
78164
  "class": "row w-100 m-0 d-flex"
78158
78165
  }, /*#__PURE__*/React__default["default"].createElement("div", {
78159
78166
  "class": "col-lg-12 p-0"
@@ -78255,7 +78262,92 @@
78255
78262
  onClick: function onClick() {
78256
78263
  cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
78257
78264
  }
78258
- }, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic)))))))));
78265
+ }, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic))))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.instid) == '67893cba2baf1' && /*#__PURE__*/React__default["default"].createElement("div", {
78266
+ "class": "row w-100 m-0 d-flex"
78267
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
78268
+ "class": "col-lg-12 p-0"
78269
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
78270
+ "class": "row w-100 m-0 d-flex"
78271
+ }, sectionproperties.image_show == 'show' && /*#__PURE__*/React__default["default"].createElement("div", {
78272
+ onClick: function onClick() {
78273
+ if (props.fetchingtypeprops == 'collections') {
78274
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
78275
+ } else {
78276
+ routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
78277
+ }
78278
+ },
78279
+ "class": langdetect == 'en' ? "".concat(card_cssstyles.productcardimagecont) + ' d-flex justify-content-start mr-2 ' : "".concat(card_cssstyles.productcardimagecont) + ' d-flex justify-content-start ml-2 ',
78280
+ style: {
78281
+ borderRadius: '20px',
78282
+ overflow: 'hidden',
78283
+ cursor: 'pointer',
78284
+ border: '1px solid #ccc'
78285
+ }
78286
+ }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
78287
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
78288
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
78289
+ path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
78290
+ loading: "lazy",
78291
+ style: {
78292
+ width: '100%',
78293
+ height: '100%',
78294
+ objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain',
78295
+ cursor: 'pointer'
78296
+ }
78297
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
78298
+ "class": "col-lg-9 col-md-9 col-sm-8 pl-1 pr-1 mt-2 p-0 text-start",
78299
+ onClick: function onClick() {
78300
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
78301
+ }
78302
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
78303
+ "class": "row m-0 w-100 "
78304
+ }, sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
78305
+ "class": "col-lg-12 p-0 text-start"
78306
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
78307
+ "class": "".concat(card_cssstyles.productNameStyles) + ' font-md-15 wordbreak wordbreak1 m-0 ',
78308
+ style: {
78309
+ textAlign: langdetect == 'en' ? 'left' : 'right'
78310
+ }
78311
+ }, item.name)), sectionproperties.showmeasurementunit == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
78312
+ "class": "col-lg-12 p-0 text-start"
78313
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
78314
+ "class": ' wordbreak wordbreak1 m-0 ',
78315
+ style: {
78316
+ textAlign: langdetect == 'en' ? 'left' : 'right',
78317
+ fontSize: sectionproperties.measurementunitfontsize + 'px',
78318
+ color: sectionproperties.measurementunitcolor
78319
+ }
78320
+ }, item.measurmentunit)), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
78321
+ "class": "col-lg-12 p-0 text-start flex-row mt-2 mb-1"
78322
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
78323
+ "class": "".concat(card_cssstyles.productDescStyles) + ' wordbreak wordbreak2 p-0 d-flex flex-row ',
78324
+ style: {
78325
+ textAlign: langdetect == 'en' ? 'left' : 'right'
78326
+ }
78327
+ }, plainString(langdetect == 'en' ? item.shortdescription : item.shortdescription))), /*#__PURE__*/React__default["default"].createElement("div", {
78328
+ "class": "col-lg-12 p-0 text-start flex-row mt-2 mb-1"
78329
+ }, /*#__PURE__*/React__default["default"].createElement(ReactStars__default["default"], {
78330
+ count: 5,
78331
+ value: item.productoverallrate,
78332
+ edit: false,
78333
+ size: 16,
78334
+ emptyIcon: /*#__PURE__*/React__default["default"].createElement("i", {
78335
+ className: "far fa-star",
78336
+ style: {
78337
+ color: '#cccccc'
78338
+ }
78339
+ }),
78340
+ halfIcon: /*#__PURE__*/React__default["default"].createElement("i", {
78341
+ className: "fa fa-star-half-alt style={{ color: '#FAB400' }}"
78342
+ }),
78343
+ filledIcon: /*#__PURE__*/React__default["default"].createElement("i", {
78344
+ className: "fa fa-star",
78345
+ style: {
78346
+ color: '#FAB400'
78347
+ }
78348
+ }),
78349
+ activeColor: "#ffd700"
78350
+ })))))))));
78259
78351
  };
78260
78352
 
78261
78353
  var css_248z$5 = ".ModernCardWithQuantityButton-module_productcard__PaOc- {\n\tposition: relative;\n}\n.ModernCardWithQuantityButton-module_productcard__PaOc- .ModernCardWithQuantityButton-module_wishlistbtn__mXt2e {\n\tposition: absolute;\n\ttop: 10px;\n\tright: 10px;\n\t/* opacity: 0; */\n\ttransition: .3s\n}\n.ModernCardWithQuantityButton-module_productcard__PaOc- .ModernCardWithQuantityButton-module_card_inner__1ySNo {\n\tposition: relative;\n\tz-index: 1\n}\n.ModernCardWithQuantityButton-module_productcard__PaOc- .ModernCardWithQuantityButton-module_card_inner__1ySNo:hover .ModernCardWithQuantityButton-module_wishlistbtn__mXt2e {\n\topacity: 1;\n\tz-index: 8\n}\n.ModernCardWithQuantityButton-module_wishlistbtn__mXt2e {\n\ttransform: translateX(10px);\n\ttransition: .3s;\n\ttransition-property: transform;\n\tdisplay: block\n}\n.ModernCardWithQuantityButton-module_productcard__PaOc- .ModernCardWithQuantityButton-module_card_inner__1ySNo:hover .ModernCardWithQuantityButton-module_wishlistbtn__mXt2e {\n\ttransform: translateX(0)\n}\n.ModernCardWithQuantityButton-module_productcard__PaOc- .ModernCardWithQuantityButton-module_card_informationcontainer__P-vrl {\n\tpadding: 0 10px;\n}\n";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tabexseriescomponents",
3
- "version": "0.0.828",
3
+ "version": "0.0.830",
4
4
  "description": "your description",
5
5
  "main": "dist/index.cjs.js",
6
6
  "scripts": {
package/src.zip CHANGED
Binary file