tabexseriescomponents 0.0.492 → 0.0.494

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
@@ -51621,7 +51621,7 @@ var Backgroundimage_with_toppill = function Backgroundimage_with_toppill(props)
51621
51621
  var routingcountext = props.actions.routingcountext;
51622
51622
  var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
51623
51623
  props.sectionindexcontext;
51624
- props.actions.ikimagecredcontext;
51624
+ var ikimagecredcontext = props.actions.ikimagecredcontext;
51625
51625
  React.useEffect(function () {
51626
51626
  if (props.srcfrom == 'addsectionform') {
51627
51627
  var secpropobj = {};
@@ -51721,8 +51721,11 @@ var Backgroundimage_with_toppill = function Backgroundimage_with_toppill(props)
51721
51721
  width: '30vh',
51722
51722
  height: '30vh'
51723
51723
  }
51724
- }, /*#__PURE__*/React__default["default"].createElement("img", {
51725
- src: cardsarray.length != 0 ? serverbaselink$1 + cardsarray[0].bgsection_image : '',
51724
+ }, cardsarray.length != 0 && /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
51725
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
51726
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
51727
+ path: cardsarray[0].bgsection_image,
51728
+ className: sectionproperties.bgcovercontainresponsive == 'Contain' ? 'objectFit-md-contain' : '',
51726
51729
  style: {
51727
51730
  maxWidth: '100%',
51728
51731
  maxHeight: '100%'
@@ -51742,8 +51745,11 @@ var Backgroundimage_with_toppill = function Backgroundimage_with_toppill(props)
51742
51745
  width: '25vh',
51743
51746
  height: '25vh'
51744
51747
  }
51745
- }, /*#__PURE__*/React__default["default"].createElement("img", {
51746
- src: cardsarray.length != 0 ? serverbaselink$1 + cardsarray[0].bgsection_image : '',
51748
+ }, cardsarray.length != 0 && /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
51749
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
51750
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
51751
+ path: cardsarray[0].bgsection_image,
51752
+ className: sectionproperties.bgcovercontainresponsive == 'Contain' ? 'objectFit-md-contain' : '',
51747
51753
  style: {
51748
51754
  maxWidth: '100%',
51749
51755
  maxHeight: '100%'
@@ -51777,7 +51783,11 @@ var Backgroundimage_with_toppill = function Backgroundimage_with_toppill(props)
51777
51783
  }, /*#__PURE__*/React__default["default"].createElement("button", {
51778
51784
  "class": "".concat(sectionstyles.general_btn),
51779
51785
  onClick: function onClick() {
51780
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
51786
+ if (sectionproperties.btntype == 'App/Web Page') {
51787
+ routingcountext(sectionproperties.btnlink, false, '');
51788
+ } else {
51789
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
51790
+ }
51781
51791
  }
51782
51792
  }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))), /*#__PURE__*/React__default["default"].createElement("div", {
51783
51793
  "class": ' col-lg-7 pl-5 d-flex d-md-none d-flex align-items-center pr-5'
@@ -51813,7 +51823,11 @@ var Backgroundimage_with_toppill = function Backgroundimage_with_toppill(props)
51813
51823
  }, /*#__PURE__*/React__default["default"].createElement("button", {
51814
51824
  "class": "".concat(sectionstyles.general_btn),
51815
51825
  onClick: function onClick() {
51816
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
51826
+ if (sectionproperties.btntype == 'App/Web Page') {
51827
+ routingcountext(sectionproperties.btnlink, false, '');
51828
+ } else {
51829
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
51830
+ }
51817
51831
  }
51818
51832
  }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))), /*#__PURE__*/React__default["default"].createElement("div", {
51819
51833
  "class": "col-lg-5 d-flex d-md-none align-items-center justify-content-end"
@@ -51842,8 +51856,11 @@ var Backgroundimage_with_toppill = function Backgroundimage_with_toppill(props)
51842
51856
  width: sectionproperties.image_Width + 'px',
51843
51857
  height: sectionproperties.image_height + 'px'
51844
51858
  }
51845
- }, /*#__PURE__*/React__default["default"].createElement("img", {
51846
- src: cardsarray.length != 0 ? serverbaselink$1 + cardsarray[0].bgsection_image : '',
51859
+ }, cardsarray.length != 0 && /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
51860
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
51861
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
51862
+ path: cardsarray[0].bgsection_image,
51863
+ className: sectionproperties.bgcovercontainresponsive == 'Contain' ? 'objectFit-md-contain' : '',
51847
51864
  style: {
51848
51865
  maxWidth: '100%',
51849
51866
  maxHeight: '100%'
@@ -55215,6 +55232,10 @@ var FullVideoSection = function FullVideoSection(props) {
55215
55232
  height: sectionproperties.image_height + 'px',
55216
55233
  width: '100%'
55217
55234
  }), ((_Videosarrayofobjs$ = Videosarrayofobjs[0]) === null || _Videosarrayofobjs$ === void 0 ? void 0 : _Videosarrayofobjs$.image) == null && /*#__PURE__*/React__default["default"].createElement(ReactPlayer__default["default"], {
55235
+ playing: true,
55236
+ controls: true,
55237
+ loop: true,
55238
+ muted: true,
55218
55239
  url: Videosarrayofobjs[0].url,
55219
55240
  height: sectionproperties.image_height + 'px',
55220
55241
  width: '100%'
package/dist/index.esm.js CHANGED
@@ -51572,7 +51572,7 @@ var Backgroundimage_with_toppill = function Backgroundimage_with_toppill(props)
51572
51572
  var routingcountext = props.actions.routingcountext;
51573
51573
  var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
51574
51574
  props.sectionindexcontext;
51575
- props.actions.ikimagecredcontext;
51575
+ var ikimagecredcontext = props.actions.ikimagecredcontext;
51576
51576
  useEffect(function () {
51577
51577
  if (props.srcfrom == 'addsectionform') {
51578
51578
  var secpropobj = {};
@@ -51672,8 +51672,11 @@ var Backgroundimage_with_toppill = function Backgroundimage_with_toppill(props)
51672
51672
  width: '30vh',
51673
51673
  height: '30vh'
51674
51674
  }
51675
- }, /*#__PURE__*/React.createElement("img", {
51676
- src: cardsarray.length != 0 ? serverbaselink$1 + cardsarray[0].bgsection_image : '',
51675
+ }, cardsarray.length != 0 && /*#__PURE__*/React.createElement(Imagekitimagecomp, {
51676
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
51677
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
51678
+ path: cardsarray[0].bgsection_image,
51679
+ className: sectionproperties.bgcovercontainresponsive == 'Contain' ? 'objectFit-md-contain' : '',
51677
51680
  style: {
51678
51681
  maxWidth: '100%',
51679
51682
  maxHeight: '100%'
@@ -51693,8 +51696,11 @@ var Backgroundimage_with_toppill = function Backgroundimage_with_toppill(props)
51693
51696
  width: '25vh',
51694
51697
  height: '25vh'
51695
51698
  }
51696
- }, /*#__PURE__*/React.createElement("img", {
51697
- src: cardsarray.length != 0 ? serverbaselink$1 + cardsarray[0].bgsection_image : '',
51699
+ }, cardsarray.length != 0 && /*#__PURE__*/React.createElement(Imagekitimagecomp, {
51700
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
51701
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
51702
+ path: cardsarray[0].bgsection_image,
51703
+ className: sectionproperties.bgcovercontainresponsive == 'Contain' ? 'objectFit-md-contain' : '',
51698
51704
  style: {
51699
51705
  maxWidth: '100%',
51700
51706
  maxHeight: '100%'
@@ -51728,7 +51734,11 @@ var Backgroundimage_with_toppill = function Backgroundimage_with_toppill(props)
51728
51734
  }, /*#__PURE__*/React.createElement("button", {
51729
51735
  "class": "".concat(sectionstyles.general_btn),
51730
51736
  onClick: function onClick() {
51731
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
51737
+ if (sectionproperties.btntype == 'App/Web Page') {
51738
+ routingcountext(sectionproperties.btnlink, false, '');
51739
+ } else {
51740
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
51741
+ }
51732
51742
  }
51733
51743
  }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))), /*#__PURE__*/React.createElement("div", {
51734
51744
  "class": ' col-lg-7 pl-5 d-flex d-md-none d-flex align-items-center pr-5'
@@ -51764,7 +51774,11 @@ var Backgroundimage_with_toppill = function Backgroundimage_with_toppill(props)
51764
51774
  }, /*#__PURE__*/React.createElement("button", {
51765
51775
  "class": "".concat(sectionstyles.general_btn),
51766
51776
  onClick: function onClick() {
51767
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
51777
+ if (sectionproperties.btntype == 'App/Web Page') {
51778
+ routingcountext(sectionproperties.btnlink, false, '');
51779
+ } else {
51780
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
51781
+ }
51768
51782
  }
51769
51783
  }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))), /*#__PURE__*/React.createElement("div", {
51770
51784
  "class": "col-lg-5 d-flex d-md-none align-items-center justify-content-end"
@@ -51793,8 +51807,11 @@ var Backgroundimage_with_toppill = function Backgroundimage_with_toppill(props)
51793
51807
  width: sectionproperties.image_Width + 'px',
51794
51808
  height: sectionproperties.image_height + 'px'
51795
51809
  }
51796
- }, /*#__PURE__*/React.createElement("img", {
51797
- src: cardsarray.length != 0 ? serverbaselink$1 + cardsarray[0].bgsection_image : '',
51810
+ }, cardsarray.length != 0 && /*#__PURE__*/React.createElement(Imagekitimagecomp, {
51811
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
51812
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
51813
+ path: cardsarray[0].bgsection_image,
51814
+ className: sectionproperties.bgcovercontainresponsive == 'Contain' ? 'objectFit-md-contain' : '',
51798
51815
  style: {
51799
51816
  maxWidth: '100%',
51800
51817
  maxHeight: '100%'
@@ -55166,6 +55183,10 @@ var FullVideoSection = function FullVideoSection(props) {
55166
55183
  height: sectionproperties.image_height + 'px',
55167
55184
  width: '100%'
55168
55185
  }), ((_Videosarrayofobjs$ = Videosarrayofobjs[0]) === null || _Videosarrayofobjs$ === void 0 ? void 0 : _Videosarrayofobjs$.image) == null && /*#__PURE__*/React.createElement(ReactPlayer, {
55186
+ playing: true,
55187
+ controls: true,
55188
+ loop: true,
55189
+ muted: true,
55169
55190
  url: Videosarrayofobjs[0].url,
55170
55191
  height: sectionproperties.image_height + 'px',
55171
55192
  width: '100%'
package/dist/index.umd.js CHANGED
@@ -51447,7 +51447,7 @@
51447
51447
  var routingcountext = props.actions.routingcountext;
51448
51448
  var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
51449
51449
  props.sectionindexcontext;
51450
- props.actions.ikimagecredcontext;
51450
+ var ikimagecredcontext = props.actions.ikimagecredcontext;
51451
51451
  React.useEffect(function () {
51452
51452
  if (props.srcfrom == 'addsectionform') {
51453
51453
  var secpropobj = {};
@@ -51547,8 +51547,11 @@
51547
51547
  width: '30vh',
51548
51548
  height: '30vh'
51549
51549
  }
51550
- }, /*#__PURE__*/React__default["default"].createElement("img", {
51551
- src: cardsarray.length != 0 ? serverbaselink$1 + cardsarray[0].bgsection_image : '',
51550
+ }, cardsarray.length != 0 && /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
51551
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
51552
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
51553
+ path: cardsarray[0].bgsection_image,
51554
+ className: sectionproperties.bgcovercontainresponsive == 'Contain' ? 'objectFit-md-contain' : '',
51552
51555
  style: {
51553
51556
  maxWidth: '100%',
51554
51557
  maxHeight: '100%'
@@ -51568,8 +51571,11 @@
51568
51571
  width: '25vh',
51569
51572
  height: '25vh'
51570
51573
  }
51571
- }, /*#__PURE__*/React__default["default"].createElement("img", {
51572
- src: cardsarray.length != 0 ? serverbaselink$1 + cardsarray[0].bgsection_image : '',
51574
+ }, cardsarray.length != 0 && /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
51575
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
51576
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
51577
+ path: cardsarray[0].bgsection_image,
51578
+ className: sectionproperties.bgcovercontainresponsive == 'Contain' ? 'objectFit-md-contain' : '',
51573
51579
  style: {
51574
51580
  maxWidth: '100%',
51575
51581
  maxHeight: '100%'
@@ -51603,7 +51609,11 @@
51603
51609
  }, /*#__PURE__*/React__default["default"].createElement("button", {
51604
51610
  "class": "".concat(sectionstyles.general_btn),
51605
51611
  onClick: function onClick() {
51606
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
51612
+ if (sectionproperties.btntype == 'App/Web Page') {
51613
+ routingcountext(sectionproperties.btnlink, false, '');
51614
+ } else {
51615
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
51616
+ }
51607
51617
  }
51608
51618
  }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))), /*#__PURE__*/React__default["default"].createElement("div", {
51609
51619
  "class": ' col-lg-7 pl-5 d-flex d-md-none d-flex align-items-center pr-5'
@@ -51639,7 +51649,11 @@
51639
51649
  }, /*#__PURE__*/React__default["default"].createElement("button", {
51640
51650
  "class": "".concat(sectionstyles.general_btn),
51641
51651
  onClick: function onClick() {
51642
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
51652
+ if (sectionproperties.btntype == 'App/Web Page') {
51653
+ routingcountext(sectionproperties.btnlink, false, '');
51654
+ } else {
51655
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
51656
+ }
51643
51657
  }
51644
51658
  }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))), /*#__PURE__*/React__default["default"].createElement("div", {
51645
51659
  "class": "col-lg-5 d-flex d-md-none align-items-center justify-content-end"
@@ -51668,8 +51682,11 @@
51668
51682
  width: sectionproperties.image_Width + 'px',
51669
51683
  height: sectionproperties.image_height + 'px'
51670
51684
  }
51671
- }, /*#__PURE__*/React__default["default"].createElement("img", {
51672
- src: cardsarray.length != 0 ? serverbaselink$1 + cardsarray[0].bgsection_image : '',
51685
+ }, cardsarray.length != 0 && /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
51686
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
51687
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
51688
+ path: cardsarray[0].bgsection_image,
51689
+ className: sectionproperties.bgcovercontainresponsive == 'Contain' ? 'objectFit-md-contain' : '',
51673
51690
  style: {
51674
51691
  maxWidth: '100%',
51675
51692
  maxHeight: '100%'
@@ -55041,6 +55058,10 @@
55041
55058
  height: sectionproperties.image_height + 'px',
55042
55059
  width: '100%'
55043
55060
  }), ((_Videosarrayofobjs$ = Videosarrayofobjs[0]) === null || _Videosarrayofobjs$ === void 0 ? void 0 : _Videosarrayofobjs$.image) == null && /*#__PURE__*/React__default["default"].createElement(ReactPlayer__default["default"], {
55061
+ playing: true,
55062
+ controls: true,
55063
+ loop: true,
55064
+ muted: true,
55044
55065
  url: Videosarrayofobjs[0].url,
55045
55066
  height: sectionproperties.image_height + 'px',
55046
55067
  width: '100%'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tabexseriescomponents",
3
- "version": "0.0.492",
3
+ "version": "0.0.494",
4
4
  "description": "your description",
5
5
  "main": "dist/index.cjs.js",
6
6
  "scripts": {