tabexseriescomponents 0.60.4 → 0.60.6

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
@@ -8838,12 +8838,6 @@ var Service_itemtype = function Service_itemtype(props) {
8838
8838
  settitle(fetchProductInfoQueryContext.data.data.productinfo.name_en);
8839
8839
  setshareUrl('https://' + authdetailsContext.instinfo.instcred.instexternaldomain + '/productinform/' + fetchProductInfoQueryContext.data.data.productinfo.productid);
8840
8840
  }, [props.itemprops]);
8841
- var Slideshowsettings = {
8842
- indicators: true,
8843
- arrows: true,
8844
- pauseOnHover: false,
8845
- scale: 2
8846
- };
8847
8841
  function stringIsEnglish(str) {
8848
8842
  var titlelang = 'English';
8849
8843
  var arabic = /[\u0600-\u06FF]/;
@@ -9541,9 +9535,6 @@ var Service_itemtype = function Service_itemtype(props) {
9541
9535
  }
9542
9536
  }, langdetect == 'en' ? sectionproperties.sizeguidecontentenglish : sectionproperties.sizeguidecontentarabic))), /*#__PURE__*/React__default["default"].createElement(Variantoptions, {
9543
9537
  actions: props.actions
9544
- }), /*#__PURE__*/React__default["default"].createElement(ProductExtras, {
9545
- addtocartfunc: addtocartfunc,
9546
- actions: props.actions
9547
9538
  }), /*#__PURE__*/React__default["default"].createElement(Serviceinfotabs, {
9548
9539
  actions: {
9549
9540
  fetchProductInfoQueryContext: fetchProductInfoQueryContext,
@@ -9563,6 +9554,9 @@ var Service_itemtype = function Service_itemtype(props) {
9563
9554
  StaticPagesLinksContext: StaticPagesLinksContext,
9564
9555
  addtofavoritescontext: addtofavoritescontext
9565
9556
  }
9557
+ }), /*#__PURE__*/React__default["default"].createElement(ProductExtras, {
9558
+ addtocartfunc: addtocartfunc,
9559
+ actions: props.actions
9566
9560
  })))))), sectionproperties.descriptionstyle != 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
9567
9561
  "class": "col-lg-12 d-flex align-items-center justify-content-start p-0 flex-column"
9568
9562
  }, /*#__PURE__*/React__default["default"].createElement("p", {
@@ -9590,9 +9584,6 @@ var Service_itemtype = function Service_itemtype(props) {
9590
9584
  }, /*#__PURE__*/React__default["default"].createElement(Variantoptions, {
9591
9585
  actions: props.actions,
9592
9586
  srcprops: 'reservation'
9593
- }), /*#__PURE__*/React__default["default"].createElement(ProductExtras, {
9594
- addtocartfunc: addtocartfunc,
9595
- actions: props.actions
9596
9587
  }), /*#__PURE__*/React__default["default"].createElement(Serviceinfotabs, {
9597
9588
  actions: {
9598
9589
  fetchProductInfoQueryContext: fetchProductInfoQueryContext,
@@ -9612,6 +9603,9 @@ var Service_itemtype = function Service_itemtype(props) {
9612
9603
  StaticPagesLinksContext: StaticPagesLinksContext,
9613
9604
  addtofavoritescontext: addtofavoritescontext
9614
9605
  }
9606
+ }), /*#__PURE__*/React__default["default"].createElement(ProductExtras, {
9607
+ addtocartfunc: addtocartfunc,
9608
+ actions: props.actions
9615
9609
  })))))), /*#__PURE__*/React__default["default"].createElement("div", {
9616
9610
  className: langdetect == 'en' ? 'col-lg-3 pr-0 border-md-none p-md-0 pt-4 pl-md-0 pr-md-0' : 'col-lg-3 pl-0 border-md-none md-0 pt-4 pl-md-0 pr-md-0'
9617
9611
  // className={langdetect == 'en' ? 'col-lg-3 pr-0 border-md-none p-md-0' : 'col-lg-3 pl-0 border-md-none p-md-0'}
@@ -9637,53 +9631,27 @@ var Service_itemtype = function Service_itemtype(props) {
9637
9631
  paddingTop: '60px'
9638
9632
  }
9639
9633
  }, /*#__PURE__*/React__default["default"].createElement("div", {
9640
- "class": 'col-lg-12 p-0 d-flex justify-content-center h-sm-auto mb-5',
9641
- style: {
9642
- height: '60vh'
9643
- }
9634
+ "class": 'col-lg-12 p-0 d-flex justify-content-center h-sm-auto mb-5'
9644
9635
  }, /*#__PURE__*/React__default["default"].createElement("div", {
9645
- "class": 'h-sm-auto',
9646
- style: {
9647
- position: 'relative',
9648
- width: '100vw',
9649
- height: '60vh',
9650
- overflow: 'hidden'
9651
- }
9652
- }, /*#__PURE__*/React__default["default"].createElement(reactSlideshowImage.Slide, _extends__default["default"]({}, Slideshowsettings, {
9653
- transitionDuration: 4000,
9654
- duration: 4000,
9655
- arrow: true,
9656
- easing: "ease"
9657
- }), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer17 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.data) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.productinfo) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.productimages) === null || _fetchProductInfoQuer17 === void 0 ? void 0 : _fetchProductInfoQuer17.length) != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer18 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.data) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.productinfo) === null || _fetchProductInfoQuer18 === void 0 ? void 0 : _fetchProductInfoQuer18.productimages.map(function (item, index) {
9658
- if (item.is_size_guide != 1) {
9659
- return /*#__PURE__*/React__default["default"].createElement("div", {
9660
- "class": "row m-0 w-100 h-sm-auto",
9661
- style: {
9662
- // height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto',
9663
- height: '60vh'
9664
- }
9665
- }, /*#__PURE__*/React__default["default"].createElement("div", {
9666
- "class": 'p-0 align-items-center d-flex',
9667
- key: index,
9668
- style: _defineProperty__default["default"]({
9669
- direction: langdetect == 'en' ? 'ltr' : 'rtl',
9670
- width: '100%',
9671
- height: '100%'
9672
- }, "height", '60vh')
9673
- }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
9674
- urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
9675
- publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
9676
- path: item.path,
9677
- style: {
9678
- objectFit: sectionproperties.bgcovercontain == 'Contain' ? 'contain' : 'cover',
9679
- margin: 0,
9680
- padding: 0,
9681
- width: '100%',
9682
- height: '100%'
9683
- }
9684
- })));
9685
- }
9686
- }))))), /*#__PURE__*/React__default["default"].createElement("div", {
9636
+ "class": 'row m-0 w-100'
9637
+ }, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer17 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.data) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.productinfo) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.productimages) === null || _fetchProductInfoQuer17 === void 0 ? void 0 : _fetchProductInfoQuer17.length) != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer18 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.data) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.productinfo) === null || _fetchProductInfoQuer18 === void 0 ? void 0 : _fetchProductInfoQuer18.productimages.map(function (item, index) {
9638
+ return /*#__PURE__*/React__default["default"].createElement("div", {
9639
+ "class": "col-lg-3 col-md-4 col-md-6 mb-md-2 p-md-0"
9640
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
9641
+ "class": ' w-100 h-100',
9642
+ style: {}
9643
+ }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
9644
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
9645
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
9646
+ path: '/tr:w-500,h-500/' + item.path,
9647
+ style: {
9648
+ width: '100%',
9649
+ height: '100%',
9650
+ objectFit: 'contain'
9651
+ },
9652
+ loading: "lazy"
9653
+ })));
9654
+ })))), /*#__PURE__*/React__default["default"].createElement("div", {
9687
9655
  "class": "col-lg-8"
9688
9656
  }, /*#__PURE__*/React__default["default"].createElement("div", {
9689
9657
  "class": "row m-0 w-100",
@@ -9769,16 +9737,12 @@ var Service_itemtype = function Service_itemtype(props) {
9769
9737
  borderRadius: 10,
9770
9738
  boxShadow: '0 0 10px #ccc'
9771
9739
  }
9772
- }, /*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing, {
9740
+ }, sectionproperties.showDefaultPricingSection == 'Show' && /*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing, {
9773
9741
  actions: props.actions,
9774
9742
  srcfromprops: 'servicestyle2'
9775
- }), /*#__PURE__*/React__default["default"].createElement("div", {
9743
+ }), sectionproperties.showDefaultPricingSection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
9776
9744
  "class": "col-12 p-0"
9777
- }, /*#__PURE__*/React__default["default"].createElement("hr", null)), /*#__PURE__*/React__default["default"].createElement(ProductExtras, {
9778
- actions: props.actions,
9779
- srcfromprops: 'servicestyle2',
9780
- addtocartfunc: addtocartfunc
9781
- }), /*#__PURE__*/React__default["default"].createElement(Serviceinfotabs, {
9745
+ }, /*#__PURE__*/React__default["default"].createElement("hr", null)), /*#__PURE__*/React__default["default"].createElement(Serviceinfotabs, {
9782
9746
  actions: {
9783
9747
  fetchProductInfoQueryContext: fetchProductInfoQueryContext,
9784
9748
  sectionproperties: sectionproperties,
@@ -9797,6 +9761,10 @@ var Service_itemtype = function Service_itemtype(props) {
9797
9761
  StaticPagesLinksContext: StaticPagesLinksContext,
9798
9762
  addtofavoritescontext: addtofavoritescontext
9799
9763
  }
9764
+ }), /*#__PURE__*/React__default["default"].createElement(ProductExtras, {
9765
+ actions: props.actions,
9766
+ srcfromprops: 'servicestyle2',
9767
+ addtocartfunc: addtocartfunc
9800
9768
  })))), sizeguideimage.length != 0 && /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal, {
9801
9769
  show: opensizeguidemodal,
9802
9770
  onHide: function onHide() {
package/dist/index.esm.js CHANGED
@@ -8787,12 +8787,6 @@ var Service_itemtype = function Service_itemtype(props) {
8787
8787
  settitle(fetchProductInfoQueryContext.data.data.productinfo.name_en);
8788
8788
  setshareUrl('https://' + authdetailsContext.instinfo.instcred.instexternaldomain + '/productinform/' + fetchProductInfoQueryContext.data.data.productinfo.productid);
8789
8789
  }, [props.itemprops]);
8790
- var Slideshowsettings = {
8791
- indicators: true,
8792
- arrows: true,
8793
- pauseOnHover: false,
8794
- scale: 2
8795
- };
8796
8790
  function stringIsEnglish(str) {
8797
8791
  var titlelang = 'English';
8798
8792
  var arabic = /[\u0600-\u06FF]/;
@@ -9490,9 +9484,6 @@ var Service_itemtype = function Service_itemtype(props) {
9490
9484
  }
9491
9485
  }, langdetect == 'en' ? sectionproperties.sizeguidecontentenglish : sectionproperties.sizeguidecontentarabic))), /*#__PURE__*/React.createElement(Variantoptions, {
9492
9486
  actions: props.actions
9493
- }), /*#__PURE__*/React.createElement(ProductExtras, {
9494
- addtocartfunc: addtocartfunc,
9495
- actions: props.actions
9496
9487
  }), /*#__PURE__*/React.createElement(Serviceinfotabs, {
9497
9488
  actions: {
9498
9489
  fetchProductInfoQueryContext: fetchProductInfoQueryContext,
@@ -9512,6 +9503,9 @@ var Service_itemtype = function Service_itemtype(props) {
9512
9503
  StaticPagesLinksContext: StaticPagesLinksContext,
9513
9504
  addtofavoritescontext: addtofavoritescontext
9514
9505
  }
9506
+ }), /*#__PURE__*/React.createElement(ProductExtras, {
9507
+ addtocartfunc: addtocartfunc,
9508
+ actions: props.actions
9515
9509
  })))))), sectionproperties.descriptionstyle != 'Style 2' && /*#__PURE__*/React.createElement("div", {
9516
9510
  "class": "col-lg-12 d-flex align-items-center justify-content-start p-0 flex-column"
9517
9511
  }, /*#__PURE__*/React.createElement("p", {
@@ -9539,9 +9533,6 @@ var Service_itemtype = function Service_itemtype(props) {
9539
9533
  }, /*#__PURE__*/React.createElement(Variantoptions, {
9540
9534
  actions: props.actions,
9541
9535
  srcprops: 'reservation'
9542
- }), /*#__PURE__*/React.createElement(ProductExtras, {
9543
- addtocartfunc: addtocartfunc,
9544
- actions: props.actions
9545
9536
  }), /*#__PURE__*/React.createElement(Serviceinfotabs, {
9546
9537
  actions: {
9547
9538
  fetchProductInfoQueryContext: fetchProductInfoQueryContext,
@@ -9561,6 +9552,9 @@ var Service_itemtype = function Service_itemtype(props) {
9561
9552
  StaticPagesLinksContext: StaticPagesLinksContext,
9562
9553
  addtofavoritescontext: addtofavoritescontext
9563
9554
  }
9555
+ }), /*#__PURE__*/React.createElement(ProductExtras, {
9556
+ addtocartfunc: addtocartfunc,
9557
+ actions: props.actions
9564
9558
  })))))), /*#__PURE__*/React.createElement("div", {
9565
9559
  className: langdetect == 'en' ? 'col-lg-3 pr-0 border-md-none p-md-0 pt-4 pl-md-0 pr-md-0' : 'col-lg-3 pl-0 border-md-none md-0 pt-4 pl-md-0 pr-md-0'
9566
9560
  // className={langdetect == 'en' ? 'col-lg-3 pr-0 border-md-none p-md-0' : 'col-lg-3 pl-0 border-md-none p-md-0'}
@@ -9586,53 +9580,27 @@ var Service_itemtype = function Service_itemtype(props) {
9586
9580
  paddingTop: '60px'
9587
9581
  }
9588
9582
  }, /*#__PURE__*/React.createElement("div", {
9589
- "class": 'col-lg-12 p-0 d-flex justify-content-center h-sm-auto mb-5',
9590
- style: {
9591
- height: '60vh'
9592
- }
9583
+ "class": 'col-lg-12 p-0 d-flex justify-content-center h-sm-auto mb-5'
9593
9584
  }, /*#__PURE__*/React.createElement("div", {
9594
- "class": 'h-sm-auto',
9595
- style: {
9596
- position: 'relative',
9597
- width: '100vw',
9598
- height: '60vh',
9599
- overflow: 'hidden'
9600
- }
9601
- }, /*#__PURE__*/React.createElement(Slide, _extends({}, Slideshowsettings, {
9602
- transitionDuration: 4000,
9603
- duration: 4000,
9604
- arrow: true,
9605
- easing: "ease"
9606
- }), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer17 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.data) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.productinfo) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.productimages) === null || _fetchProductInfoQuer17 === void 0 ? void 0 : _fetchProductInfoQuer17.length) != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer18 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.data) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.productinfo) === null || _fetchProductInfoQuer18 === void 0 ? void 0 : _fetchProductInfoQuer18.productimages.map(function (item, index) {
9607
- if (item.is_size_guide != 1) {
9608
- return /*#__PURE__*/React.createElement("div", {
9609
- "class": "row m-0 w-100 h-sm-auto",
9610
- style: {
9611
- // height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto',
9612
- height: '60vh'
9613
- }
9614
- }, /*#__PURE__*/React.createElement("div", {
9615
- "class": 'p-0 align-items-center d-flex',
9616
- key: index,
9617
- style: _defineProperty({
9618
- direction: langdetect == 'en' ? 'ltr' : 'rtl',
9619
- width: '100%',
9620
- height: '100%'
9621
- }, "height", '60vh')
9622
- }, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
9623
- urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
9624
- publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
9625
- path: item.path,
9626
- style: {
9627
- objectFit: sectionproperties.bgcovercontain == 'Contain' ? 'contain' : 'cover',
9628
- margin: 0,
9629
- padding: 0,
9630
- width: '100%',
9631
- height: '100%'
9632
- }
9633
- })));
9634
- }
9635
- }))))), /*#__PURE__*/React.createElement("div", {
9585
+ "class": 'row m-0 w-100'
9586
+ }, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer17 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.data) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.productinfo) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.productimages) === null || _fetchProductInfoQuer17 === void 0 ? void 0 : _fetchProductInfoQuer17.length) != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer18 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.data) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.productinfo) === null || _fetchProductInfoQuer18 === void 0 ? void 0 : _fetchProductInfoQuer18.productimages.map(function (item, index) {
9587
+ return /*#__PURE__*/React.createElement("div", {
9588
+ "class": "col-lg-3 col-md-4 col-md-6 mb-md-2 p-md-0"
9589
+ }, /*#__PURE__*/React.createElement("div", {
9590
+ "class": ' w-100 h-100',
9591
+ style: {}
9592
+ }, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
9593
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
9594
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
9595
+ path: '/tr:w-500,h-500/' + item.path,
9596
+ style: {
9597
+ width: '100%',
9598
+ height: '100%',
9599
+ objectFit: 'contain'
9600
+ },
9601
+ loading: "lazy"
9602
+ })));
9603
+ })))), /*#__PURE__*/React.createElement("div", {
9636
9604
  "class": "col-lg-8"
9637
9605
  }, /*#__PURE__*/React.createElement("div", {
9638
9606
  "class": "row m-0 w-100",
@@ -9718,16 +9686,12 @@ var Service_itemtype = function Service_itemtype(props) {
9718
9686
  borderRadius: 10,
9719
9687
  boxShadow: '0 0 10px #ccc'
9720
9688
  }
9721
- }, /*#__PURE__*/React.createElement(ProductHeaderPricing, {
9689
+ }, sectionproperties.showDefaultPricingSection == 'Show' && /*#__PURE__*/React.createElement(ProductHeaderPricing, {
9722
9690
  actions: props.actions,
9723
9691
  srcfromprops: 'servicestyle2'
9724
- }), /*#__PURE__*/React.createElement("div", {
9692
+ }), sectionproperties.showDefaultPricingSection == 'Show' && /*#__PURE__*/React.createElement("div", {
9725
9693
  "class": "col-12 p-0"
9726
- }, /*#__PURE__*/React.createElement("hr", null)), /*#__PURE__*/React.createElement(ProductExtras, {
9727
- actions: props.actions,
9728
- srcfromprops: 'servicestyle2',
9729
- addtocartfunc: addtocartfunc
9730
- }), /*#__PURE__*/React.createElement(Serviceinfotabs, {
9694
+ }, /*#__PURE__*/React.createElement("hr", null)), /*#__PURE__*/React.createElement(Serviceinfotabs, {
9731
9695
  actions: {
9732
9696
  fetchProductInfoQueryContext: fetchProductInfoQueryContext,
9733
9697
  sectionproperties: sectionproperties,
@@ -9746,6 +9710,10 @@ var Service_itemtype = function Service_itemtype(props) {
9746
9710
  StaticPagesLinksContext: StaticPagesLinksContext,
9747
9711
  addtofavoritescontext: addtofavoritescontext
9748
9712
  }
9713
+ }), /*#__PURE__*/React.createElement(ProductExtras, {
9714
+ actions: props.actions,
9715
+ srcfromprops: 'servicestyle2',
9716
+ addtocartfunc: addtocartfunc
9749
9717
  })))), sizeguideimage.length != 0 && /*#__PURE__*/React.createElement(Modal, {
9750
9718
  show: opensizeguidemodal,
9751
9719
  onHide: function onHide() {
package/dist/index.umd.js CHANGED
@@ -8647,12 +8647,6 @@
8647
8647
  settitle(fetchProductInfoQueryContext.data.data.productinfo.name_en);
8648
8648
  setshareUrl('https://' + authdetailsContext.instinfo.instcred.instexternaldomain + '/productinform/' + fetchProductInfoQueryContext.data.data.productinfo.productid);
8649
8649
  }, [props.itemprops]);
8650
- var Slideshowsettings = {
8651
- indicators: true,
8652
- arrows: true,
8653
- pauseOnHover: false,
8654
- scale: 2
8655
- };
8656
8650
  function stringIsEnglish(str) {
8657
8651
  var titlelang = 'English';
8658
8652
  var arabic = /[\u0600-\u06FF]/;
@@ -9350,9 +9344,6 @@
9350
9344
  }
9351
9345
  }, langdetect == 'en' ? sectionproperties.sizeguidecontentenglish : sectionproperties.sizeguidecontentarabic))), /*#__PURE__*/React__default["default"].createElement(Variantoptions, {
9352
9346
  actions: props.actions
9353
- }), /*#__PURE__*/React__default["default"].createElement(ProductExtras, {
9354
- addtocartfunc: addtocartfunc,
9355
- actions: props.actions
9356
9347
  }), /*#__PURE__*/React__default["default"].createElement(Serviceinfotabs, {
9357
9348
  actions: {
9358
9349
  fetchProductInfoQueryContext: fetchProductInfoQueryContext,
@@ -9372,6 +9363,9 @@
9372
9363
  StaticPagesLinksContext: StaticPagesLinksContext,
9373
9364
  addtofavoritescontext: addtofavoritescontext
9374
9365
  }
9366
+ }), /*#__PURE__*/React__default["default"].createElement(ProductExtras, {
9367
+ addtocartfunc: addtocartfunc,
9368
+ actions: props.actions
9375
9369
  })))))), sectionproperties.descriptionstyle != 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
9376
9370
  "class": "col-lg-12 d-flex align-items-center justify-content-start p-0 flex-column"
9377
9371
  }, /*#__PURE__*/React__default["default"].createElement("p", {
@@ -9399,9 +9393,6 @@
9399
9393
  }, /*#__PURE__*/React__default["default"].createElement(Variantoptions, {
9400
9394
  actions: props.actions,
9401
9395
  srcprops: 'reservation'
9402
- }), /*#__PURE__*/React__default["default"].createElement(ProductExtras, {
9403
- addtocartfunc: addtocartfunc,
9404
- actions: props.actions
9405
9396
  }), /*#__PURE__*/React__default["default"].createElement(Serviceinfotabs, {
9406
9397
  actions: {
9407
9398
  fetchProductInfoQueryContext: fetchProductInfoQueryContext,
@@ -9421,6 +9412,9 @@
9421
9412
  StaticPagesLinksContext: StaticPagesLinksContext,
9422
9413
  addtofavoritescontext: addtofavoritescontext
9423
9414
  }
9415
+ }), /*#__PURE__*/React__default["default"].createElement(ProductExtras, {
9416
+ addtocartfunc: addtocartfunc,
9417
+ actions: props.actions
9424
9418
  })))))), /*#__PURE__*/React__default["default"].createElement("div", {
9425
9419
  className: langdetect == 'en' ? 'col-lg-3 pr-0 border-md-none p-md-0 pt-4 pl-md-0 pr-md-0' : 'col-lg-3 pl-0 border-md-none md-0 pt-4 pl-md-0 pr-md-0'
9426
9420
  // className={langdetect == 'en' ? 'col-lg-3 pr-0 border-md-none p-md-0' : 'col-lg-3 pl-0 border-md-none p-md-0'}
@@ -9446,53 +9440,27 @@
9446
9440
  paddingTop: '60px'
9447
9441
  }
9448
9442
  }, /*#__PURE__*/React__default["default"].createElement("div", {
9449
- "class": 'col-lg-12 p-0 d-flex justify-content-center h-sm-auto mb-5',
9450
- style: {
9451
- height: '60vh'
9452
- }
9443
+ "class": 'col-lg-12 p-0 d-flex justify-content-center h-sm-auto mb-5'
9453
9444
  }, /*#__PURE__*/React__default["default"].createElement("div", {
9454
- "class": 'h-sm-auto',
9455
- style: {
9456
- position: 'relative',
9457
- width: '100vw',
9458
- height: '60vh',
9459
- overflow: 'hidden'
9460
- }
9461
- }, /*#__PURE__*/React__default["default"].createElement(reactSlideshowImage.Slide, _extends__default["default"]({}, Slideshowsettings, {
9462
- transitionDuration: 4000,
9463
- duration: 4000,
9464
- arrow: true,
9465
- easing: "ease"
9466
- }), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer17 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.data) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.productinfo) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.productimages) === null || _fetchProductInfoQuer17 === void 0 ? void 0 : _fetchProductInfoQuer17.length) != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer18 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.data) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.productinfo) === null || _fetchProductInfoQuer18 === void 0 ? void 0 : _fetchProductInfoQuer18.productimages.map(function (item, index) {
9467
- if (item.is_size_guide != 1) {
9468
- return /*#__PURE__*/React__default["default"].createElement("div", {
9469
- "class": "row m-0 w-100 h-sm-auto",
9470
- style: {
9471
- // height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto',
9472
- height: '60vh'
9473
- }
9474
- }, /*#__PURE__*/React__default["default"].createElement("div", {
9475
- "class": 'p-0 align-items-center d-flex',
9476
- key: index,
9477
- style: _defineProperty__default["default"]({
9478
- direction: langdetect == 'en' ? 'ltr' : 'rtl',
9479
- width: '100%',
9480
- height: '100%'
9481
- }, "height", '60vh')
9482
- }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
9483
- urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
9484
- publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
9485
- path: item.path,
9486
- style: {
9487
- objectFit: sectionproperties.bgcovercontain == 'Contain' ? 'contain' : 'cover',
9488
- margin: 0,
9489
- padding: 0,
9490
- width: '100%',
9491
- height: '100%'
9492
- }
9493
- })));
9494
- }
9495
- }))))), /*#__PURE__*/React__default["default"].createElement("div", {
9445
+ "class": 'row m-0 w-100'
9446
+ }, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer17 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.data) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.productinfo) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.productimages) === null || _fetchProductInfoQuer17 === void 0 ? void 0 : _fetchProductInfoQuer17.length) != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer18 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.data) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.productinfo) === null || _fetchProductInfoQuer18 === void 0 ? void 0 : _fetchProductInfoQuer18.productimages.map(function (item, index) {
9447
+ return /*#__PURE__*/React__default["default"].createElement("div", {
9448
+ "class": "col-lg-3 col-md-4 col-md-6 mb-md-2 p-md-0"
9449
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
9450
+ "class": ' w-100 h-100',
9451
+ style: {}
9452
+ }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
9453
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
9454
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
9455
+ path: '/tr:w-500,h-500/' + item.path,
9456
+ style: {
9457
+ width: '100%',
9458
+ height: '100%',
9459
+ objectFit: 'contain'
9460
+ },
9461
+ loading: "lazy"
9462
+ })));
9463
+ })))), /*#__PURE__*/React__default["default"].createElement("div", {
9496
9464
  "class": "col-lg-8"
9497
9465
  }, /*#__PURE__*/React__default["default"].createElement("div", {
9498
9466
  "class": "row m-0 w-100",
@@ -9578,16 +9546,12 @@
9578
9546
  borderRadius: 10,
9579
9547
  boxShadow: '0 0 10px #ccc'
9580
9548
  }
9581
- }, /*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing, {
9549
+ }, sectionproperties.showDefaultPricingSection == 'Show' && /*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing, {
9582
9550
  actions: props.actions,
9583
9551
  srcfromprops: 'servicestyle2'
9584
- }), /*#__PURE__*/React__default["default"].createElement("div", {
9552
+ }), sectionproperties.showDefaultPricingSection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
9585
9553
  "class": "col-12 p-0"
9586
- }, /*#__PURE__*/React__default["default"].createElement("hr", null)), /*#__PURE__*/React__default["default"].createElement(ProductExtras, {
9587
- actions: props.actions,
9588
- srcfromprops: 'servicestyle2',
9589
- addtocartfunc: addtocartfunc
9590
- }), /*#__PURE__*/React__default["default"].createElement(Serviceinfotabs, {
9554
+ }, /*#__PURE__*/React__default["default"].createElement("hr", null)), /*#__PURE__*/React__default["default"].createElement(Serviceinfotabs, {
9591
9555
  actions: {
9592
9556
  fetchProductInfoQueryContext: fetchProductInfoQueryContext,
9593
9557
  sectionproperties: sectionproperties,
@@ -9606,6 +9570,10 @@
9606
9570
  StaticPagesLinksContext: StaticPagesLinksContext,
9607
9571
  addtofavoritescontext: addtofavoritescontext
9608
9572
  }
9573
+ }), /*#__PURE__*/React__default["default"].createElement(ProductExtras, {
9574
+ actions: props.actions,
9575
+ srcfromprops: 'servicestyle2',
9576
+ addtocartfunc: addtocartfunc
9609
9577
  })))), sizeguideimage.length != 0 && /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal, {
9610
9578
  show: opensizeguidemodal,
9611
9579
  onHide: function onHide() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tabexseriescomponents",
3
- "version": "0.60.4",
3
+ "version": "0.60.6",
4
4
  "type": "module",
5
5
  "description": "your description",
6
6
  "main": "dist/index.cjs.js",