tabexseriescomponents 0.0.136 → 0.0.137

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
@@ -9143,7 +9143,6 @@ var CardsSection = function CardsSection(props) {
9143
9143
  borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
9144
9144
  borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
9145
9145
  borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
9146
- boxShadow: sectionproperties.sectioncardshadow == 'Show' ? '0 0 10px ' + sectionproperties.sectioncardshadowcolor : 'none',
9147
9146
  borderColor: sectionproperties.sectioncardbordercolor,
9148
9147
  border: sectionproperties.sectioncardborderwidth + 'px solid'
9149
9148
  }),
@@ -9426,12 +9425,14 @@ var CardsSection = function CardsSection(props) {
9426
9425
  }))));
9427
9426
  };
9428
9427
  return /*#__PURE__*/React__default["default"].createElement("div", {
9429
- "class": ' row m-0 d-flex w-100 justify-content-center ',
9428
+ "class": ' row m-0 d-flex justify-content-center ml-auto mr-auto w-md-100 w-sm-100 ',
9430
9429
  style: {
9431
9430
  zIndex: 2,
9432
9431
  background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
9433
9432
  backgroundImage: maincontainerarrayofobjs.length != 0 ? 'url(' + serverbaselink$1 + maincontainerarrayofobjs[0].back_bgimage + ')' : '',
9434
- backgroundSize: 'cover'
9433
+ backgroundSize: 'cover',
9434
+ width: sectionproperties.width + 'vw',
9435
+ boxShadow: sectionproperties.sectioncardshadow == 'Show' ? '0 0 10px ' + sectionproperties.sectioncardshadowcolor : 'none'
9435
9436
  }
9436
9437
  }, sectionproperties.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
9437
9438
  "class": ' row ml-0 mr-0 d-flex justify-content-center w-md-100 h-md-100 w-100 ',
@@ -33652,7 +33653,7 @@ var Twobgimages = function Twobgimages(props) {
33652
33653
  }, /*#__PURE__*/React__default["default"].createElement("div", {
33653
33654
  className: sectionproperties.bgcovercontainresponsive == 'Contain' ? 'col-lg-12 p-0 h-md-auto' : 'col-lg-12 p-0',
33654
33655
  style: {
33655
- height: sectionproperties.image_height + 'vh'
33656
+ height: sectionproperties.bgcovercontain == 'Contain' ? 'auto' : sectionproperties.image_height + 'vh'
33656
33657
  }
33657
33658
  }, /*#__PURE__*/React__default["default"].createElement("div", {
33658
33659
  className: "".concat(bgcssstyles.bgimage) + ' d-md-flex d-sm-none ',
@@ -33663,7 +33664,7 @@ var Twobgimages = function Twobgimages(props) {
33663
33664
  }, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
33664
33665
  urlEndpoint: IKurlEndpoint,
33665
33666
  publicKey: IKpublicKey,
33666
- path: bgimagearrayofobjs.length != 0 ? langdetect == 'en' ? bgimagearrayofobjs[index].bg1_image : bgimagearrayofobjs[index].bg1_image_ar : '',
33667
+ path: bgimagearrayofobjs.length != 0 ? langdetect == 'en' ? 'tr:w-0,h-0' + bgimagearrayofobjs[index].bg1_image : bgimagearrayofobjs[index].bg1_image_ar : '',
33667
33668
  className: sectionproperties.bgcovercontainresponsive == 'Contain' ? 'objectFit-md-contain' : '',
33668
33669
  style: {
33669
33670
  height: '100%',
@@ -33772,7 +33773,10 @@ var Twobgimages = function Twobgimages(props) {
33772
33773
  }))));
33773
33774
  };
33774
33775
  return /*#__PURE__*/React__default["default"].createElement("div", {
33775
- className: "row m-0 w-100"
33776
+ className: "row m-0",
33777
+ style: {
33778
+ width: sectionproperties.width + 'vw'
33779
+ }
33776
33780
  }, /*#__PURE__*/React__default["default"].createElement("div", {
33777
33781
  className: "col-lg-12 p-0 d-flex d-md-none",
33778
33782
  style: {
@@ -34074,7 +34078,7 @@ var AboutSection = function AboutSection(props) {
34074
34078
  "class": "h-sm-auto",
34075
34079
  urlEndpoint: IKurlEndpoint,
34076
34080
  publicKey: IKpublicKey,
34077
- path: bgimagesarray.length != 0 ? '/tr:w-500/' + bgimagesarray[0].bgsection_image : '',
34081
+ path: bgimagesarray.length != 0 ? bgimagesarray[0].bgsection_image : '',
34078
34082
  style: {
34079
34083
  width: '100%',
34080
34084
  height: sectionproperties.image_height + 'px',
@@ -34906,8 +34910,9 @@ var Servicesection = function Servicesection(props) {
34906
34910
  })
34907
34911
  };
34908
34912
  return /*#__PURE__*/React__default["default"].createElement("div", {
34909
- "class": ' row ml-0 mr-0 w-100 align-items-center ',
34913
+ "class": ' row ml-0 mr-0 align-items-center w-md-100 ',
34910
34914
  style: {
34915
+ width: sectionproperties.width + 'vw',
34911
34916
  marginTop: sectionproperties.marginTop + 'px',
34912
34917
  marginBottom: sectionproperties.marginBottom + 'px',
34913
34918
  paddingLeft: sectionproperties.paddingLeft + 'px',
@@ -34990,14 +34995,14 @@ var Servicesection = function Servicesection(props) {
34990
34995
  objectFit: 'cover'
34991
34996
  }
34992
34997
  })), /*#__PURE__*/React__default["default"].createElement("div", {
34993
- "class": "d-flex flex-column",
34998
+ "class": sectionproperties.slideshowtext2_show == 'Show' ? 'd-flex flex-column' : 'd-flex flex-column align-items-center',
34994
34999
  style: {
34995
35000
  paddingLeft: langdetect == 'en' ? '10px' : 0,
34996
35001
  paddingRight: langdetect == 'en' ? 0 : '10px',
34997
35002
  flex: 1
34998
35003
  }
34999
35004
  }, /*#__PURE__*/React__default["default"].createElement("p", {
35000
- "class": "p-0 m-0 wordbreak wordbreak2",
35005
+ "class": sectionproperties.slideshowtext2_show == 'Show' ? 'p-0 m-0 wordbreak wordbreak2' : 'p-0 m-0 wordbreak wordbreak2 mt-auto mb-auto',
35001
35006
  style: {
35002
35007
  color: sectionproperties.slideshowText1ContentColor,
35003
35008
  fontSize: sectionproperties.slideshowText1ContentFontSize + 'px',
@@ -35005,7 +35010,7 @@ var Servicesection = function Servicesection(props) {
35005
35010
  textTransform: sectionproperties.slideshowText1ContentTextTransform,
35006
35011
  textAlign: langdetect == 'en' ? 'left' : 'right'
35007
35012
  }
35008
- }, langdetect == 'en' ? cardsarray[cardinfoindex].cardobj_titleen : cardsarray[cardinfoindex].cardobj_titlear), sectionproperties.slideshowtext2_show && /*#__PURE__*/React__default["default"].createElement("p", {
35013
+ }, langdetect == 'en' ? cardsarray[cardinfoindex].cardobj_titleen : cardsarray[cardinfoindex].cardobj_titlear), sectionproperties.slideshowtext2_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
35009
35014
  "class": "m-0 wordbreak ",
35010
35015
  style: {
35011
35016
  color: sectionproperties.slideshowText2ContentColor,
@@ -36361,6 +36366,18 @@ var Slideshowzoom = function Slideshowzoom(props) {
36361
36366
  scale: 1.4
36362
36367
  };
36363
36368
  var slideshow_styles = {
36369
+ beforebg: glamor.css({
36370
+ content: 's',
36371
+ fontSize: 0,
36372
+ position: 'absolute',
36373
+ top: 0,
36374
+ bottom: 0,
36375
+ left: 0,
36376
+ right: 0,
36377
+ width: '100%',
36378
+ height: '100%',
36379
+ backgroundColor: 'rgba(0,0,0,' + sectionproperties.darknessopacity + ')'
36380
+ }),
36364
36381
  slideshow_btn: glamor.css({
36365
36382
  height: sectionproperties.generalbtn_height + 'px',
36366
36383
  width: sectionproperties.generalbtn_width + 'px',
@@ -36423,13 +36440,17 @@ var Slideshowzoom = function Slideshowzoom(props) {
36423
36440
  }))));
36424
36441
  };
36425
36442
  return /*#__PURE__*/React__default["default"].createElement("div", {
36426
- "class": "row m-0 w-100 d-flex justify-content-center align-items-center"
36443
+ "class": sectionproperties.card_marginLeft != 0 && sectionproperties.card_marginRight != 0 ? 'row m-0 w-100 d-flex justify-content-center align-items-center pl-sm-2 pr-sm-2' : 'row m-0 w-100 d-flex justify-content-center align-items-center ',
36444
+ style: {
36445
+ paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
36446
+ paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
36447
+ }
36427
36448
  }, /*#__PURE__*/React__default["default"].createElement("div", {
36428
36449
  "class": cardarrayofobjs.length != 0 ? 'col-lg-12 p-0 d-flex justify-content-center h-md-auto h-sm-auto' : 'col-lg-12 p-0 d-flex justify-content-center h-md-auto h-sm-auto'
36429
36450
  // class={'col-lg-12 p-0 d-flex justify-content-center'}
36430
36451
  ,
36431
36452
  style: {
36432
- height: sectionproperties.height + 'vh'
36453
+ height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto'
36433
36454
  }
36434
36455
  }, /*#__PURE__*/React__default["default"].createElement("div", {
36435
36456
  "class": "h-md-auto h-sm-auto",
@@ -36442,7 +36463,7 @@ var Slideshowzoom = function Slideshowzoom(props) {
36442
36463
  width: sectionproperties.width + 'vw',
36443
36464
  marginBottom: sectionproperties.marginBottom + 'px',
36444
36465
  marginTop: sectionproperties.marginTop + 'px',
36445
- height: sectionproperties.height + 'vh',
36466
+ height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto',
36446
36467
  overflow: 'hidden'
36447
36468
  }
36448
36469
  }, /*#__PURE__*/React__default["default"].createElement(reactSlideshowImage.Zoom, _extends__default["default"]({}, Slideshowsettings, {
@@ -36458,10 +36479,10 @@ var Slideshowzoom = function Slideshowzoom(props) {
36458
36479
  borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
36459
36480
  borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
36460
36481
  borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
36461
- height: sectionproperties.height + 'vh'
36482
+ height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto'
36462
36483
  }
36463
36484
  }, /*#__PURE__*/React__default["default"].createElement("div", {
36464
- "class": 'beforebg p-0 align-items-center d-flex d-sm-none h-md-auto h-sm-auto',
36485
+ "class": slideshow_styles.slideshow_styles + ' p-0 align-items-center d-flex d-sm-none h-md-auto h-sm-auto ',
36465
36486
  key: index,
36466
36487
  style: {
36467
36488
  cursor: item.IsClickableimg == 'Yes' ? 'pointer' : 'default',
@@ -36490,14 +36511,14 @@ var Slideshowzoom = function Slideshowzoom(props) {
36490
36511
  path: langdetect == 'en' ? item.imageen : item.imagear,
36491
36512
  style: {
36492
36513
  cursor: item.IsClickableimg == 'Yes' ? 'pointer' : 'default',
36493
- objectFit: 'cover',
36514
+ objectFit: sectionproperties.bgcovercontain,
36494
36515
  margin: 0,
36495
36516
  padding: 0,
36496
36517
  width: '100%',
36497
36518
  height: '100%'
36498
36519
  }
36499
36520
  }), SlideShowTextContainer(item)), /*#__PURE__*/React__default["default"].createElement("div", {
36500
- "class": 'beforebg p-0 align-items-center d-none d-sm-flex ',
36521
+ "class": slideshow_styles.beforebg + ' p-0 align-items-center d-none d-sm-flex ',
36501
36522
  key: index,
36502
36523
  style: {
36503
36524
  cursor: item.IsClickableimg == 'Yes' ? 'pointer' : 'default',
package/dist/index.esm.js CHANGED
@@ -9100,7 +9100,6 @@ var CardsSection = function CardsSection(props) {
9100
9100
  borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
9101
9101
  borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
9102
9102
  borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
9103
- boxShadow: sectionproperties.sectioncardshadow == 'Show' ? '0 0 10px ' + sectionproperties.sectioncardshadowcolor : 'none',
9104
9103
  borderColor: sectionproperties.sectioncardbordercolor,
9105
9104
  border: sectionproperties.sectioncardborderwidth + 'px solid'
9106
9105
  }),
@@ -9383,12 +9382,14 @@ var CardsSection = function CardsSection(props) {
9383
9382
  }))));
9384
9383
  };
9385
9384
  return /*#__PURE__*/React.createElement("div", {
9386
- "class": ' row m-0 d-flex w-100 justify-content-center ',
9385
+ "class": ' row m-0 d-flex justify-content-center ml-auto mr-auto w-md-100 w-sm-100 ',
9387
9386
  style: {
9388
9387
  zIndex: 2,
9389
9388
  background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
9390
9389
  backgroundImage: maincontainerarrayofobjs.length != 0 ? 'url(' + serverbaselink$1 + maincontainerarrayofobjs[0].back_bgimage + ')' : '',
9391
- backgroundSize: 'cover'
9390
+ backgroundSize: 'cover',
9391
+ width: sectionproperties.width + 'vw',
9392
+ boxShadow: sectionproperties.sectioncardshadow == 'Show' ? '0 0 10px ' + sectionproperties.sectioncardshadowcolor : 'none'
9392
9393
  }
9393
9394
  }, sectionproperties.length != 0 && /*#__PURE__*/React.createElement("div", {
9394
9395
  "class": ' row ml-0 mr-0 d-flex justify-content-center w-md-100 h-md-100 w-100 ',
@@ -33609,7 +33610,7 @@ var Twobgimages = function Twobgimages(props) {
33609
33610
  }, /*#__PURE__*/React.createElement("div", {
33610
33611
  className: sectionproperties.bgcovercontainresponsive == 'Contain' ? 'col-lg-12 p-0 h-md-auto' : 'col-lg-12 p-0',
33611
33612
  style: {
33612
- height: sectionproperties.image_height + 'vh'
33613
+ height: sectionproperties.bgcovercontain == 'Contain' ? 'auto' : sectionproperties.image_height + 'vh'
33613
33614
  }
33614
33615
  }, /*#__PURE__*/React.createElement("div", {
33615
33616
  className: "".concat(bgcssstyles.bgimage) + ' d-md-flex d-sm-none ',
@@ -33620,7 +33621,7 @@ var Twobgimages = function Twobgimages(props) {
33620
33621
  }, /*#__PURE__*/React.createElement(IKImage, {
33621
33622
  urlEndpoint: IKurlEndpoint,
33622
33623
  publicKey: IKpublicKey,
33623
- path: bgimagearrayofobjs.length != 0 ? langdetect == 'en' ? bgimagearrayofobjs[index].bg1_image : bgimagearrayofobjs[index].bg1_image_ar : '',
33624
+ path: bgimagearrayofobjs.length != 0 ? langdetect == 'en' ? 'tr:w-0,h-0' + bgimagearrayofobjs[index].bg1_image : bgimagearrayofobjs[index].bg1_image_ar : '',
33624
33625
  className: sectionproperties.bgcovercontainresponsive == 'Contain' ? 'objectFit-md-contain' : '',
33625
33626
  style: {
33626
33627
  height: '100%',
@@ -33729,7 +33730,10 @@ var Twobgimages = function Twobgimages(props) {
33729
33730
  }))));
33730
33731
  };
33731
33732
  return /*#__PURE__*/React.createElement("div", {
33732
- className: "row m-0 w-100"
33733
+ className: "row m-0",
33734
+ style: {
33735
+ width: sectionproperties.width + 'vw'
33736
+ }
33733
33737
  }, /*#__PURE__*/React.createElement("div", {
33734
33738
  className: "col-lg-12 p-0 d-flex d-md-none",
33735
33739
  style: {
@@ -34031,7 +34035,7 @@ var AboutSection = function AboutSection(props) {
34031
34035
  "class": "h-sm-auto",
34032
34036
  urlEndpoint: IKurlEndpoint,
34033
34037
  publicKey: IKpublicKey,
34034
- path: bgimagesarray.length != 0 ? '/tr:w-500/' + bgimagesarray[0].bgsection_image : '',
34038
+ path: bgimagesarray.length != 0 ? bgimagesarray[0].bgsection_image : '',
34035
34039
  style: {
34036
34040
  width: '100%',
34037
34041
  height: sectionproperties.image_height + 'px',
@@ -34863,8 +34867,9 @@ var Servicesection = function Servicesection(props) {
34863
34867
  })
34864
34868
  };
34865
34869
  return /*#__PURE__*/React.createElement("div", {
34866
- "class": ' row ml-0 mr-0 w-100 align-items-center ',
34870
+ "class": ' row ml-0 mr-0 align-items-center w-md-100 ',
34867
34871
  style: {
34872
+ width: sectionproperties.width + 'vw',
34868
34873
  marginTop: sectionproperties.marginTop + 'px',
34869
34874
  marginBottom: sectionproperties.marginBottom + 'px',
34870
34875
  paddingLeft: sectionproperties.paddingLeft + 'px',
@@ -34947,14 +34952,14 @@ var Servicesection = function Servicesection(props) {
34947
34952
  objectFit: 'cover'
34948
34953
  }
34949
34954
  })), /*#__PURE__*/React.createElement("div", {
34950
- "class": "d-flex flex-column",
34955
+ "class": sectionproperties.slideshowtext2_show == 'Show' ? 'd-flex flex-column' : 'd-flex flex-column align-items-center',
34951
34956
  style: {
34952
34957
  paddingLeft: langdetect == 'en' ? '10px' : 0,
34953
34958
  paddingRight: langdetect == 'en' ? 0 : '10px',
34954
34959
  flex: 1
34955
34960
  }
34956
34961
  }, /*#__PURE__*/React.createElement("p", {
34957
- "class": "p-0 m-0 wordbreak wordbreak2",
34962
+ "class": sectionproperties.slideshowtext2_show == 'Show' ? 'p-0 m-0 wordbreak wordbreak2' : 'p-0 m-0 wordbreak wordbreak2 mt-auto mb-auto',
34958
34963
  style: {
34959
34964
  color: sectionproperties.slideshowText1ContentColor,
34960
34965
  fontSize: sectionproperties.slideshowText1ContentFontSize + 'px',
@@ -34962,7 +34967,7 @@ var Servicesection = function Servicesection(props) {
34962
34967
  textTransform: sectionproperties.slideshowText1ContentTextTransform,
34963
34968
  textAlign: langdetect == 'en' ? 'left' : 'right'
34964
34969
  }
34965
- }, langdetect == 'en' ? cardsarray[cardinfoindex].cardobj_titleen : cardsarray[cardinfoindex].cardobj_titlear), sectionproperties.slideshowtext2_show && /*#__PURE__*/React.createElement("p", {
34970
+ }, langdetect == 'en' ? cardsarray[cardinfoindex].cardobj_titleen : cardsarray[cardinfoindex].cardobj_titlear), sectionproperties.slideshowtext2_show == 'Show' && /*#__PURE__*/React.createElement("p", {
34966
34971
  "class": "m-0 wordbreak ",
34967
34972
  style: {
34968
34973
  color: sectionproperties.slideshowText2ContentColor,
@@ -36318,6 +36323,18 @@ var Slideshowzoom = function Slideshowzoom(props) {
36318
36323
  scale: 1.4
36319
36324
  };
36320
36325
  var slideshow_styles = {
36326
+ beforebg: css({
36327
+ content: 's',
36328
+ fontSize: 0,
36329
+ position: 'absolute',
36330
+ top: 0,
36331
+ bottom: 0,
36332
+ left: 0,
36333
+ right: 0,
36334
+ width: '100%',
36335
+ height: '100%',
36336
+ backgroundColor: 'rgba(0,0,0,' + sectionproperties.darknessopacity + ')'
36337
+ }),
36321
36338
  slideshow_btn: css({
36322
36339
  height: sectionproperties.generalbtn_height + 'px',
36323
36340
  width: sectionproperties.generalbtn_width + 'px',
@@ -36380,13 +36397,17 @@ var Slideshowzoom = function Slideshowzoom(props) {
36380
36397
  }))));
36381
36398
  };
36382
36399
  return /*#__PURE__*/React.createElement("div", {
36383
- "class": "row m-0 w-100 d-flex justify-content-center align-items-center"
36400
+ "class": sectionproperties.card_marginLeft != 0 && sectionproperties.card_marginRight != 0 ? 'row m-0 w-100 d-flex justify-content-center align-items-center pl-sm-2 pr-sm-2' : 'row m-0 w-100 d-flex justify-content-center align-items-center ',
36401
+ style: {
36402
+ paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
36403
+ paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
36404
+ }
36384
36405
  }, /*#__PURE__*/React.createElement("div", {
36385
36406
  "class": cardarrayofobjs.length != 0 ? 'col-lg-12 p-0 d-flex justify-content-center h-md-auto h-sm-auto' : 'col-lg-12 p-0 d-flex justify-content-center h-md-auto h-sm-auto'
36386
36407
  // class={'col-lg-12 p-0 d-flex justify-content-center'}
36387
36408
  ,
36388
36409
  style: {
36389
- height: sectionproperties.height + 'vh'
36410
+ height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto'
36390
36411
  }
36391
36412
  }, /*#__PURE__*/React.createElement("div", {
36392
36413
  "class": "h-md-auto h-sm-auto",
@@ -36399,7 +36420,7 @@ var Slideshowzoom = function Slideshowzoom(props) {
36399
36420
  width: sectionproperties.width + 'vw',
36400
36421
  marginBottom: sectionproperties.marginBottom + 'px',
36401
36422
  marginTop: sectionproperties.marginTop + 'px',
36402
- height: sectionproperties.height + 'vh',
36423
+ height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto',
36403
36424
  overflow: 'hidden'
36404
36425
  }
36405
36426
  }, /*#__PURE__*/React.createElement(Zoom, _extends({}, Slideshowsettings, {
@@ -36415,10 +36436,10 @@ var Slideshowzoom = function Slideshowzoom(props) {
36415
36436
  borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
36416
36437
  borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
36417
36438
  borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
36418
- height: sectionproperties.height + 'vh'
36439
+ height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto'
36419
36440
  }
36420
36441
  }, /*#__PURE__*/React.createElement("div", {
36421
- "class": 'beforebg p-0 align-items-center d-flex d-sm-none h-md-auto h-sm-auto',
36442
+ "class": slideshow_styles.slideshow_styles + ' p-0 align-items-center d-flex d-sm-none h-md-auto h-sm-auto ',
36422
36443
  key: index,
36423
36444
  style: {
36424
36445
  cursor: item.IsClickableimg == 'Yes' ? 'pointer' : 'default',
@@ -36447,14 +36468,14 @@ var Slideshowzoom = function Slideshowzoom(props) {
36447
36468
  path: langdetect == 'en' ? item.imageen : item.imagear,
36448
36469
  style: {
36449
36470
  cursor: item.IsClickableimg == 'Yes' ? 'pointer' : 'default',
36450
- objectFit: 'cover',
36471
+ objectFit: sectionproperties.bgcovercontain,
36451
36472
  margin: 0,
36452
36473
  padding: 0,
36453
36474
  width: '100%',
36454
36475
  height: '100%'
36455
36476
  }
36456
36477
  }), SlideShowTextContainer(item)), /*#__PURE__*/React.createElement("div", {
36457
- "class": 'beforebg p-0 align-items-center d-none d-sm-flex ',
36478
+ "class": slideshow_styles.beforebg + ' p-0 align-items-center d-none d-sm-flex ',
36458
36479
  key: index,
36459
36480
  style: {
36460
36481
  cursor: item.IsClickableimg == 'Yes' ? 'pointer' : 'default',
package/dist/index.umd.js CHANGED
@@ -9011,7 +9011,6 @@
9011
9011
  borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
9012
9012
  borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
9013
9013
  borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
9014
- boxShadow: sectionproperties.sectioncardshadow == 'Show' ? '0 0 10px ' + sectionproperties.sectioncardshadowcolor : 'none',
9015
9014
  borderColor: sectionproperties.sectioncardbordercolor,
9016
9015
  border: sectionproperties.sectioncardborderwidth + 'px solid'
9017
9016
  }),
@@ -9294,12 +9293,14 @@
9294
9293
  }))));
9295
9294
  };
9296
9295
  return /*#__PURE__*/React__default["default"].createElement("div", {
9297
- "class": ' row m-0 d-flex w-100 justify-content-center ',
9296
+ "class": ' row m-0 d-flex justify-content-center ml-auto mr-auto w-md-100 w-sm-100 ',
9298
9297
  style: {
9299
9298
  zIndex: 2,
9300
9299
  background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
9301
9300
  backgroundImage: maincontainerarrayofobjs.length != 0 ? 'url(' + serverbaselink$1 + maincontainerarrayofobjs[0].back_bgimage + ')' : '',
9302
- backgroundSize: 'cover'
9301
+ backgroundSize: 'cover',
9302
+ width: sectionproperties.width + 'vw',
9303
+ boxShadow: sectionproperties.sectioncardshadow == 'Show' ? '0 0 10px ' + sectionproperties.sectioncardshadowcolor : 'none'
9303
9304
  }
9304
9305
  }, sectionproperties.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
9305
9306
  "class": ' row ml-0 mr-0 d-flex justify-content-center w-md-100 h-md-100 w-100 ',
@@ -33520,7 +33521,7 @@
33520
33521
  }, /*#__PURE__*/React__default["default"].createElement("div", {
33521
33522
  className: sectionproperties.bgcovercontainresponsive == 'Contain' ? 'col-lg-12 p-0 h-md-auto' : 'col-lg-12 p-0',
33522
33523
  style: {
33523
- height: sectionproperties.image_height + 'vh'
33524
+ height: sectionproperties.bgcovercontain == 'Contain' ? 'auto' : sectionproperties.image_height + 'vh'
33524
33525
  }
33525
33526
  }, /*#__PURE__*/React__default["default"].createElement("div", {
33526
33527
  className: "".concat(bgcssstyles.bgimage) + ' d-md-flex d-sm-none ',
@@ -33531,7 +33532,7 @@
33531
33532
  }, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
33532
33533
  urlEndpoint: IKurlEndpoint,
33533
33534
  publicKey: IKpublicKey,
33534
- path: bgimagearrayofobjs.length != 0 ? langdetect == 'en' ? bgimagearrayofobjs[index].bg1_image : bgimagearrayofobjs[index].bg1_image_ar : '',
33535
+ path: bgimagearrayofobjs.length != 0 ? langdetect == 'en' ? 'tr:w-0,h-0' + bgimagearrayofobjs[index].bg1_image : bgimagearrayofobjs[index].bg1_image_ar : '',
33535
33536
  className: sectionproperties.bgcovercontainresponsive == 'Contain' ? 'objectFit-md-contain' : '',
33536
33537
  style: {
33537
33538
  height: '100%',
@@ -33640,7 +33641,10 @@
33640
33641
  }))));
33641
33642
  };
33642
33643
  return /*#__PURE__*/React__default["default"].createElement("div", {
33643
- className: "row m-0 w-100"
33644
+ className: "row m-0",
33645
+ style: {
33646
+ width: sectionproperties.width + 'vw'
33647
+ }
33644
33648
  }, /*#__PURE__*/React__default["default"].createElement("div", {
33645
33649
  className: "col-lg-12 p-0 d-flex d-md-none",
33646
33650
  style: {
@@ -33942,7 +33946,7 @@
33942
33946
  "class": "h-sm-auto",
33943
33947
  urlEndpoint: IKurlEndpoint,
33944
33948
  publicKey: IKpublicKey,
33945
- path: bgimagesarray.length != 0 ? '/tr:w-500/' + bgimagesarray[0].bgsection_image : '',
33949
+ path: bgimagesarray.length != 0 ? bgimagesarray[0].bgsection_image : '',
33946
33950
  style: {
33947
33951
  width: '100%',
33948
33952
  height: sectionproperties.image_height + 'px',
@@ -34774,8 +34778,9 @@
34774
34778
  })
34775
34779
  };
34776
34780
  return /*#__PURE__*/React__default["default"].createElement("div", {
34777
- "class": ' row ml-0 mr-0 w-100 align-items-center ',
34781
+ "class": ' row ml-0 mr-0 align-items-center w-md-100 ',
34778
34782
  style: {
34783
+ width: sectionproperties.width + 'vw',
34779
34784
  marginTop: sectionproperties.marginTop + 'px',
34780
34785
  marginBottom: sectionproperties.marginBottom + 'px',
34781
34786
  paddingLeft: sectionproperties.paddingLeft + 'px',
@@ -34858,14 +34863,14 @@
34858
34863
  objectFit: 'cover'
34859
34864
  }
34860
34865
  })), /*#__PURE__*/React__default["default"].createElement("div", {
34861
- "class": "d-flex flex-column",
34866
+ "class": sectionproperties.slideshowtext2_show == 'Show' ? 'd-flex flex-column' : 'd-flex flex-column align-items-center',
34862
34867
  style: {
34863
34868
  paddingLeft: langdetect == 'en' ? '10px' : 0,
34864
34869
  paddingRight: langdetect == 'en' ? 0 : '10px',
34865
34870
  flex: 1
34866
34871
  }
34867
34872
  }, /*#__PURE__*/React__default["default"].createElement("p", {
34868
- "class": "p-0 m-0 wordbreak wordbreak2",
34873
+ "class": sectionproperties.slideshowtext2_show == 'Show' ? 'p-0 m-0 wordbreak wordbreak2' : 'p-0 m-0 wordbreak wordbreak2 mt-auto mb-auto',
34869
34874
  style: {
34870
34875
  color: sectionproperties.slideshowText1ContentColor,
34871
34876
  fontSize: sectionproperties.slideshowText1ContentFontSize + 'px',
@@ -34873,7 +34878,7 @@
34873
34878
  textTransform: sectionproperties.slideshowText1ContentTextTransform,
34874
34879
  textAlign: langdetect == 'en' ? 'left' : 'right'
34875
34880
  }
34876
- }, langdetect == 'en' ? cardsarray[cardinfoindex].cardobj_titleen : cardsarray[cardinfoindex].cardobj_titlear), sectionproperties.slideshowtext2_show && /*#__PURE__*/React__default["default"].createElement("p", {
34881
+ }, langdetect == 'en' ? cardsarray[cardinfoindex].cardobj_titleen : cardsarray[cardinfoindex].cardobj_titlear), sectionproperties.slideshowtext2_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
34877
34882
  "class": "m-0 wordbreak ",
34878
34883
  style: {
34879
34884
  color: sectionproperties.slideshowText2ContentColor,
@@ -36229,6 +36234,18 @@
36229
36234
  scale: 1.4
36230
36235
  };
36231
36236
  var slideshow_styles = {
36237
+ beforebg: glamor.css({
36238
+ content: 's',
36239
+ fontSize: 0,
36240
+ position: 'absolute',
36241
+ top: 0,
36242
+ bottom: 0,
36243
+ left: 0,
36244
+ right: 0,
36245
+ width: '100%',
36246
+ height: '100%',
36247
+ backgroundColor: 'rgba(0,0,0,' + sectionproperties.darknessopacity + ')'
36248
+ }),
36232
36249
  slideshow_btn: glamor.css({
36233
36250
  height: sectionproperties.generalbtn_height + 'px',
36234
36251
  width: sectionproperties.generalbtn_width + 'px',
@@ -36291,13 +36308,17 @@
36291
36308
  }))));
36292
36309
  };
36293
36310
  return /*#__PURE__*/React__default["default"].createElement("div", {
36294
- "class": "row m-0 w-100 d-flex justify-content-center align-items-center"
36311
+ "class": sectionproperties.card_marginLeft != 0 && sectionproperties.card_marginRight != 0 ? 'row m-0 w-100 d-flex justify-content-center align-items-center pl-sm-2 pr-sm-2' : 'row m-0 w-100 d-flex justify-content-center align-items-center ',
36312
+ style: {
36313
+ paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
36314
+ paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
36315
+ }
36295
36316
  }, /*#__PURE__*/React__default["default"].createElement("div", {
36296
36317
  "class": cardarrayofobjs.length != 0 ? 'col-lg-12 p-0 d-flex justify-content-center h-md-auto h-sm-auto' : 'col-lg-12 p-0 d-flex justify-content-center h-md-auto h-sm-auto'
36297
36318
  // class={'col-lg-12 p-0 d-flex justify-content-center'}
36298
36319
  ,
36299
36320
  style: {
36300
- height: sectionproperties.height + 'vh'
36321
+ height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto'
36301
36322
  }
36302
36323
  }, /*#__PURE__*/React__default["default"].createElement("div", {
36303
36324
  "class": "h-md-auto h-sm-auto",
@@ -36310,7 +36331,7 @@
36310
36331
  width: sectionproperties.width + 'vw',
36311
36332
  marginBottom: sectionproperties.marginBottom + 'px',
36312
36333
  marginTop: sectionproperties.marginTop + 'px',
36313
- height: sectionproperties.height + 'vh',
36334
+ height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto',
36314
36335
  overflow: 'hidden'
36315
36336
  }
36316
36337
  }, /*#__PURE__*/React__default["default"].createElement(reactSlideshowImage.Zoom, _extends__default["default"]({}, Slideshowsettings, {
@@ -36326,10 +36347,10 @@
36326
36347
  borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
36327
36348
  borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
36328
36349
  borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
36329
- height: sectionproperties.height + 'vh'
36350
+ height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto'
36330
36351
  }
36331
36352
  }, /*#__PURE__*/React__default["default"].createElement("div", {
36332
- "class": 'beforebg p-0 align-items-center d-flex d-sm-none h-md-auto h-sm-auto',
36353
+ "class": slideshow_styles.slideshow_styles + ' p-0 align-items-center d-flex d-sm-none h-md-auto h-sm-auto ',
36333
36354
  key: index,
36334
36355
  style: {
36335
36356
  cursor: item.IsClickableimg == 'Yes' ? 'pointer' : 'default',
@@ -36358,14 +36379,14 @@
36358
36379
  path: langdetect == 'en' ? item.imageen : item.imagear,
36359
36380
  style: {
36360
36381
  cursor: item.IsClickableimg == 'Yes' ? 'pointer' : 'default',
36361
- objectFit: 'cover',
36382
+ objectFit: sectionproperties.bgcovercontain,
36362
36383
  margin: 0,
36363
36384
  padding: 0,
36364
36385
  width: '100%',
36365
36386
  height: '100%'
36366
36387
  }
36367
36388
  }), SlideShowTextContainer(item)), /*#__PURE__*/React__default["default"].createElement("div", {
36368
- "class": 'beforebg p-0 align-items-center d-none d-sm-flex ',
36389
+ "class": slideshow_styles.beforebg + ' p-0 align-items-center d-none d-sm-flex ',
36369
36390
  key: index,
36370
36391
  style: {
36371
36392
  cursor: item.IsClickableimg == 'Yes' ? 'pointer' : 'default',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tabexseriescomponents",
3
- "version": "0.0.136",
3
+ "version": "0.0.137",
4
4
  "description": "your description",
5
5
  "main": "dist/index.cjs.js",
6
6
  "scripts": {