@splunk/visualizations 26.4.0 → 26.4.2

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/Punchcard.js CHANGED
@@ -1154,7 +1154,7 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
1154
1154
 
1155
1155
  return React.createElement(FixSizeItem, {
1156
1156
  "data-test": "fix-size-item",
1157
- "data-splunk-visualization-version": "26.4.0 - 04078274d",
1157
+ "data-splunk-visualization-version": "26.4.2 - 93f66a2b8",
1158
1158
  width: width,
1159
1159
  height: height,
1160
1160
  backgroundColor: backgroundColor
@@ -4608,7 +4608,7 @@ var Cover = styled_components_1.default.div.withConfig({
4608
4608
  componentId: "sc-1gsbnxb-0"
4609
4609
  })(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
4610
4610
  var Blocker = styled_components_1.default.div.attrs({
4611
- 'data-splunk-visualization-version': "26.4.0 - 04078274d"
4611
+ 'data-splunk-visualization-version': "26.4.2 - 93f66a2b8"
4612
4612
  }).withConfig({
4613
4613
  displayName: "withEditModeCover__Blocker",
4614
4614
  componentId: "sc-1gsbnxb-1"
package/Rectangle.js CHANGED
@@ -954,7 +954,7 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
954
954
 
955
955
  return React.createElement(FixSizeItem, {
956
956
  "data-test": "fix-size-item",
957
- "data-splunk-visualization-version": "26.4.0 - 04078274d",
957
+ "data-splunk-visualization-version": "26.4.2 - 93f66a2b8",
958
958
  width: width,
959
959
  height: height,
960
960
  backgroundColor: backgroundColor
@@ -3032,7 +3032,7 @@ var Cover = styled_components_1.default.div.withConfig({
3032
3032
  componentId: "sc-1gsbnxb-0"
3033
3033
  })(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
3034
3034
  var Blocker = styled_components_1.default.div.attrs({
3035
- 'data-splunk-visualization-version': "26.4.0 - 04078274d"
3035
+ 'data-splunk-visualization-version': "26.4.2 - 93f66a2b8"
3036
3036
  }).withConfig({
3037
3037
  displayName: "withEditModeCover__Blocker",
3038
3038
  componentId: "sc-1gsbnxb-1"
package/Sankey.js CHANGED
@@ -1479,7 +1479,7 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
1479
1479
 
1480
1480
  return React.createElement(FixSizeItem, {
1481
1481
  "data-test": "fix-size-item",
1482
- "data-splunk-visualization-version": "26.4.0 - 04078274d",
1482
+ "data-splunk-visualization-version": "26.4.2 - 93f66a2b8",
1483
1483
  width: width,
1484
1484
  height: height,
1485
1485
  backgroundColor: backgroundColor
@@ -4609,7 +4609,7 @@ var Cover = styled_components_1.default.div.withConfig({
4609
4609
  componentId: "sc-1gsbnxb-0"
4610
4610
  })(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
4611
4611
  var Blocker = styled_components_1.default.div.attrs({
4612
- 'data-splunk-visualization-version': "26.4.0 - 04078274d"
4612
+ 'data-splunk-visualization-version': "26.4.2 - 93f66a2b8"
4613
4613
  }).withConfig({
4614
4614
  displayName: "withEditModeCover__Blocker",
4615
4615
  componentId: "sc-1gsbnxb-1"
package/Scatter.js CHANGED
@@ -710,7 +710,7 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
710
710
 
711
711
  return React.createElement(FixSizeItem, {
712
712
  "data-test": "fix-size-item",
713
- "data-splunk-visualization-version": "26.4.0 - 04078274d",
713
+ "data-splunk-visualization-version": "26.4.2 - 93f66a2b8",
714
714
  width: width,
715
715
  height: height,
716
716
  backgroundColor: backgroundColor
@@ -801,7 +801,8 @@ var computeVizProps = function computeVizProps(_a) {
801
801
 
802
802
 
803
803
  var computedProps = {
804
- visualizationApiRef: visualizationApiRef
804
+ visualizationApiRef: visualizationApiRef,
805
+ onEventTrigger: onEventTrigger
805
806
  };
806
807
  var hasEventHandlers = otherOptions.hasEventHandlers;
807
808
  computedProps.options = (0, lodash_1.chain)(otherOptions).pick(validOptions).thru(scatterUtils_1.convertToScatterSCProperties).thru(function (options) {
@@ -2742,7 +2743,7 @@ var Cover = styled_components_1.default.div.withConfig({
2742
2743
  componentId: "sc-1gsbnxb-0"
2743
2744
  })(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
2744
2745
  var Blocker = styled_components_1.default.div.attrs({
2745
- 'data-splunk-visualization-version': "26.4.0 - 04078274d"
2746
+ 'data-splunk-visualization-version': "26.4.2 - 93f66a2b8"
2746
2747
  }).withConfig({
2747
2748
  displayName: "withEditModeCover__Blocker",
2748
2749
  componentId: "sc-1gsbnxb-1"
@@ -3798,7 +3799,16 @@ var Charting = function Charting(props) {
3798
3799
  charting_bundle_1.default.setColorPalette(colorPalette);
3799
3800
  }
3800
3801
 
3801
- chart.current.prepareAndDraw(chartData, updatedOptions, function () {});
3802
+ chart.current.prepareAndDraw(chartData, updatedOptions, function () {
3803
+ onEventTrigger({
3804
+ type: 'viz.renderedWithData',
3805
+ payload: {
3806
+ width: width,
3807
+ height: height,
3808
+ currentTime: new Date().getTime()
3809
+ }
3810
+ });
3811
+ });
3802
3812
  }
3803
3813
 
3804
3814
  if (chart.current) {