tabexseriescomponents 0.0.490 → 0.0.491

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
@@ -59519,6 +59519,10 @@ var Slideshowzoom = function Slideshowzoom(props) {
59519
59519
  var ikimagecredcontext = props.actions.ikimagecredcontext;
59520
59520
  var routingcountext = props.actions.routingcountext;
59521
59521
  var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
59522
+ var _useState7 = React.useState(false),
59523
+ _useState8 = _slicedToArray__default["default"](_useState7, 2),
59524
+ showpopup = _useState8[0],
59525
+ setshowpopup = _useState8[1];
59522
59526
  React.useEffect(function () {
59523
59527
  if (props.srcfrom == 'addsectionform') {
59524
59528
  var secpropobj = {};
@@ -59647,16 +59651,7 @@ var Slideshowzoom = function Slideshowzoom(props) {
59647
59651
  paddingBottom: sectionproperties.marginBottom + 'px',
59648
59652
  paddingTop: sectionproperties.marginTop + 'px'
59649
59653
  }
59650
- }, /*#__PURE__*/React__default["default"].createElement("iframe", {
59651
- id: "player",
59652
- src: 'http://radio.hvips.com:8056/stream',
59653
- width: "0",
59654
- height: "0",
59655
- allowfullscreen: "",
59656
- loading: "lazy",
59657
- referrerpolicy: "no-referrer-when-downgrade",
59658
- allow: "autoplay"
59659
- }), /*#__PURE__*/React__default["default"].createElement("div", {
59654
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
59660
59655
  "class": cardarrayofobjs.length != 0 ? 'col-lg-12 p-0 d-flex justify-content-center' : 'col-lg-12 p-0 d-flex justify-content-center h-md-auto h-sm-auto',
59661
59656
  style: {
59662
59657
  height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto'
@@ -59704,7 +59699,9 @@ var Slideshowzoom = function Slideshowzoom(props) {
59704
59699
  paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
59705
59700
  },
59706
59701
  onClick: function onClick() {
59707
- if (item.IsClickableimg == 'Yes') {
59702
+ if (sectionproperties.showplayer = 'Show') {
59703
+ setshowpopup(true);
59704
+ } else if (item.IsClickableimg == 'Yes') {
59708
59705
  if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
59709
59706
  routingcountext(item.clickableimg_page_route, false, '');
59710
59707
  } else {
@@ -59740,7 +59737,9 @@ var Slideshowzoom = function Slideshowzoom(props) {
59740
59737
  paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
59741
59738
  },
59742
59739
  onClick: function onClick() {
59743
- if (item.IsClickableimg == 'Yes') {
59740
+ if (sectionproperties.showplayer = 'Show') {
59741
+ setshowpopup(true);
59742
+ } else if (item.IsClickableimg == 'Yes') {
59744
59743
  if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
59745
59744
  routingcountext(item.clickableimg_page_route, false, '');
59746
59745
  } else {
@@ -59931,7 +59930,48 @@ var Slideshowzoom = function Slideshowzoom(props) {
59931
59930
  sectionproperties: sectionproperties,
59932
59931
  props: props
59933
59932
  });
59934
- }))))))));
59933
+ }))))))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal, {
59934
+ show: showpopup,
59935
+ onHide: function onHide() {
59936
+ setshowpopup(false);
59937
+ },
59938
+ centered: true,
59939
+ size: 'md'
59940
+ }, /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Body, null, /*#__PURE__*/React__default["default"].createElement("div", {
59941
+ className: "allcentered bgdanger-hover cursor-pointer",
59942
+ onClick: function onClick() {
59943
+ setshowpopup(false);
59944
+ },
59945
+ style: {
59946
+ position: 'absolute',
59947
+ top: -40,
59948
+ backgroundColor: '#000',
59949
+ width: 35,
59950
+ height: 35,
59951
+ right: 0
59952
+ }
59953
+ }, /*#__PURE__*/React__default["default"].createElement("i", {
59954
+ "class": "h-100 allcentered text-black"
59955
+ }, /*#__PURE__*/React__default["default"].createElement(IoMdClose.IoMdClose, {
59956
+ size: 20,
59957
+ "class": "",
59958
+ color: '#fff'
59959
+ }))), /*#__PURE__*/React__default["default"].createElement("div", {
59960
+ "class": "allcentered",
59961
+ style: {
59962
+ width: '100%',
59963
+ height: '100%'
59964
+ }
59965
+ }, /*#__PURE__*/React__default["default"].createElement("iframe", {
59966
+ id: "player",
59967
+ src: 'http://radio.hvips.com:8056/stream',
59968
+ width: "100%",
59969
+ height: "100%",
59970
+ allowfullscreen: "",
59971
+ loading: "lazy",
59972
+ referrerpolicy: "no-referrer-when-downgrade",
59973
+ allow: "autoplay"
59974
+ }))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Footer, null)));
59935
59975
  };
59936
59976
  var easingFunctions = {
59937
59977
  noEasing: undefined,
package/dist/index.esm.js CHANGED
@@ -59470,6 +59470,10 @@ var Slideshowzoom = function Slideshowzoom(props) {
59470
59470
  var ikimagecredcontext = props.actions.ikimagecredcontext;
59471
59471
  var routingcountext = props.actions.routingcountext;
59472
59472
  var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
59473
+ var _useState7 = useState(false),
59474
+ _useState8 = _slicedToArray(_useState7, 2),
59475
+ showpopup = _useState8[0],
59476
+ setshowpopup = _useState8[1];
59473
59477
  useEffect(function () {
59474
59478
  if (props.srcfrom == 'addsectionform') {
59475
59479
  var secpropobj = {};
@@ -59598,16 +59602,7 @@ var Slideshowzoom = function Slideshowzoom(props) {
59598
59602
  paddingBottom: sectionproperties.marginBottom + 'px',
59599
59603
  paddingTop: sectionproperties.marginTop + 'px'
59600
59604
  }
59601
- }, /*#__PURE__*/React.createElement("iframe", {
59602
- id: "player",
59603
- src: 'http://radio.hvips.com:8056/stream',
59604
- width: "0",
59605
- height: "0",
59606
- allowfullscreen: "",
59607
- loading: "lazy",
59608
- referrerpolicy: "no-referrer-when-downgrade",
59609
- allow: "autoplay"
59610
- }), /*#__PURE__*/React.createElement("div", {
59605
+ }, /*#__PURE__*/React.createElement("div", {
59611
59606
  "class": cardarrayofobjs.length != 0 ? 'col-lg-12 p-0 d-flex justify-content-center' : 'col-lg-12 p-0 d-flex justify-content-center h-md-auto h-sm-auto',
59612
59607
  style: {
59613
59608
  height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto'
@@ -59655,7 +59650,9 @@ var Slideshowzoom = function Slideshowzoom(props) {
59655
59650
  paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
59656
59651
  },
59657
59652
  onClick: function onClick() {
59658
- if (item.IsClickableimg == 'Yes') {
59653
+ if (sectionproperties.showplayer = 'Show') {
59654
+ setshowpopup(true);
59655
+ } else if (item.IsClickableimg == 'Yes') {
59659
59656
  if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
59660
59657
  routingcountext(item.clickableimg_page_route, false, '');
59661
59658
  } else {
@@ -59691,7 +59688,9 @@ var Slideshowzoom = function Slideshowzoom(props) {
59691
59688
  paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
59692
59689
  },
59693
59690
  onClick: function onClick() {
59694
- if (item.IsClickableimg == 'Yes') {
59691
+ if (sectionproperties.showplayer = 'Show') {
59692
+ setshowpopup(true);
59693
+ } else if (item.IsClickableimg == 'Yes') {
59695
59694
  if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
59696
59695
  routingcountext(item.clickableimg_page_route, false, '');
59697
59696
  } else {
@@ -59882,7 +59881,48 @@ var Slideshowzoom = function Slideshowzoom(props) {
59882
59881
  sectionproperties: sectionproperties,
59883
59882
  props: props
59884
59883
  });
59885
- }))))))));
59884
+ }))))))), /*#__PURE__*/React.createElement(Modal, {
59885
+ show: showpopup,
59886
+ onHide: function onHide() {
59887
+ setshowpopup(false);
59888
+ },
59889
+ centered: true,
59890
+ size: 'md'
59891
+ }, /*#__PURE__*/React.createElement(Modal.Body, null, /*#__PURE__*/React.createElement("div", {
59892
+ className: "allcentered bgdanger-hover cursor-pointer",
59893
+ onClick: function onClick() {
59894
+ setshowpopup(false);
59895
+ },
59896
+ style: {
59897
+ position: 'absolute',
59898
+ top: -40,
59899
+ backgroundColor: '#000',
59900
+ width: 35,
59901
+ height: 35,
59902
+ right: 0
59903
+ }
59904
+ }, /*#__PURE__*/React.createElement("i", {
59905
+ "class": "h-100 allcentered text-black"
59906
+ }, /*#__PURE__*/React.createElement(IoMdClose, {
59907
+ size: 20,
59908
+ "class": "",
59909
+ color: '#fff'
59910
+ }))), /*#__PURE__*/React.createElement("div", {
59911
+ "class": "allcentered",
59912
+ style: {
59913
+ width: '100%',
59914
+ height: '100%'
59915
+ }
59916
+ }, /*#__PURE__*/React.createElement("iframe", {
59917
+ id: "player",
59918
+ src: 'http://radio.hvips.com:8056/stream',
59919
+ width: "100%",
59920
+ height: "100%",
59921
+ allowfullscreen: "",
59922
+ loading: "lazy",
59923
+ referrerpolicy: "no-referrer-when-downgrade",
59924
+ allow: "autoplay"
59925
+ }))), /*#__PURE__*/React.createElement(Modal.Footer, null)));
59886
59926
  };
59887
59927
  var easingFunctions = {
59888
59928
  noEasing: undefined,
package/dist/index.umd.js CHANGED
@@ -59345,6 +59345,10 @@
59345
59345
  var ikimagecredcontext = props.actions.ikimagecredcontext;
59346
59346
  var routingcountext = props.actions.routingcountext;
59347
59347
  var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
59348
+ var _useState7 = React.useState(false),
59349
+ _useState8 = _slicedToArray__default["default"](_useState7, 2),
59350
+ showpopup = _useState8[0],
59351
+ setshowpopup = _useState8[1];
59348
59352
  React.useEffect(function () {
59349
59353
  if (props.srcfrom == 'addsectionform') {
59350
59354
  var secpropobj = {};
@@ -59473,16 +59477,7 @@
59473
59477
  paddingBottom: sectionproperties.marginBottom + 'px',
59474
59478
  paddingTop: sectionproperties.marginTop + 'px'
59475
59479
  }
59476
- }, /*#__PURE__*/React__default["default"].createElement("iframe", {
59477
- id: "player",
59478
- src: 'http://radio.hvips.com:8056/stream',
59479
- width: "0",
59480
- height: "0",
59481
- allowfullscreen: "",
59482
- loading: "lazy",
59483
- referrerpolicy: "no-referrer-when-downgrade",
59484
- allow: "autoplay"
59485
- }), /*#__PURE__*/React__default["default"].createElement("div", {
59480
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
59486
59481
  "class": cardarrayofobjs.length != 0 ? 'col-lg-12 p-0 d-flex justify-content-center' : 'col-lg-12 p-0 d-flex justify-content-center h-md-auto h-sm-auto',
59487
59482
  style: {
59488
59483
  height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto'
@@ -59530,7 +59525,9 @@
59530
59525
  paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
59531
59526
  },
59532
59527
  onClick: function onClick() {
59533
- if (item.IsClickableimg == 'Yes') {
59528
+ if (sectionproperties.showplayer = 'Show') {
59529
+ setshowpopup(true);
59530
+ } else if (item.IsClickableimg == 'Yes') {
59534
59531
  if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
59535
59532
  routingcountext(item.clickableimg_page_route, false, '');
59536
59533
  } else {
@@ -59566,7 +59563,9 @@
59566
59563
  paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
59567
59564
  },
59568
59565
  onClick: function onClick() {
59569
- if (item.IsClickableimg == 'Yes') {
59566
+ if (sectionproperties.showplayer = 'Show') {
59567
+ setshowpopup(true);
59568
+ } else if (item.IsClickableimg == 'Yes') {
59570
59569
  if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
59571
59570
  routingcountext(item.clickableimg_page_route, false, '');
59572
59571
  } else {
@@ -59757,7 +59756,48 @@
59757
59756
  sectionproperties: sectionproperties,
59758
59757
  props: props
59759
59758
  });
59760
- }))))))));
59759
+ }))))))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal, {
59760
+ show: showpopup,
59761
+ onHide: function onHide() {
59762
+ setshowpopup(false);
59763
+ },
59764
+ centered: true,
59765
+ size: 'md'
59766
+ }, /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Body, null, /*#__PURE__*/React__default["default"].createElement("div", {
59767
+ className: "allcentered bgdanger-hover cursor-pointer",
59768
+ onClick: function onClick() {
59769
+ setshowpopup(false);
59770
+ },
59771
+ style: {
59772
+ position: 'absolute',
59773
+ top: -40,
59774
+ backgroundColor: '#000',
59775
+ width: 35,
59776
+ height: 35,
59777
+ right: 0
59778
+ }
59779
+ }, /*#__PURE__*/React__default["default"].createElement("i", {
59780
+ "class": "h-100 allcentered text-black"
59781
+ }, /*#__PURE__*/React__default["default"].createElement(IoMdClose.IoMdClose, {
59782
+ size: 20,
59783
+ "class": "",
59784
+ color: '#fff'
59785
+ }))), /*#__PURE__*/React__default["default"].createElement("div", {
59786
+ "class": "allcentered",
59787
+ style: {
59788
+ width: '100%',
59789
+ height: '100%'
59790
+ }
59791
+ }, /*#__PURE__*/React__default["default"].createElement("iframe", {
59792
+ id: "player",
59793
+ src: 'http://radio.hvips.com:8056/stream',
59794
+ width: "100%",
59795
+ height: "100%",
59796
+ allowfullscreen: "",
59797
+ loading: "lazy",
59798
+ referrerpolicy: "no-referrer-when-downgrade",
59799
+ allow: "autoplay"
59800
+ }))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Footer, null)));
59761
59801
  };
59762
59802
  var easingFunctions = {
59763
59803
  noEasing: undefined,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tabexseriescomponents",
3
- "version": "0.0.490",
3
+ "version": "0.0.491",
4
4
  "description": "your description",
5
5
  "main": "dist/index.cjs.js",
6
6
  "scripts": {