@splunk/visualizations 25.13.0 → 26.0.0

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.
Files changed (147) hide show
  1. package/Area.config.js +216 -216
  2. package/Area.config.js.map +1 -1
  3. package/Area.js +529 -561
  4. package/Area.js.map +1 -1
  5. package/Bar.config.js +213 -213
  6. package/Bar.config.js.map +1 -1
  7. package/Bar.js +394 -386
  8. package/Bar.js.map +1 -1
  9. package/Bubble.config.js +140 -140
  10. package/Bubble.config.js.map +1 -1
  11. package/Bubble.js +313 -305
  12. package/Bubble.js.map +1 -1
  13. package/ChoroplethSvg.config.js +15 -15
  14. package/ChoroplethSvg.config.js.map +1 -1
  15. package/ChoroplethSvg.js +149 -144
  16. package/ChoroplethSvg.js.map +1 -1
  17. package/Column.config.js +205 -205
  18. package/Column.config.js.map +1 -1
  19. package/Column.js +387 -379
  20. package/Column.js.map +1 -1
  21. package/Ellipse.config.js +45 -45
  22. package/Ellipse.config.js.map +1 -1
  23. package/Ellipse.js +157 -144
  24. package/Ellipse.js.map +1 -1
  25. package/Events.config.js +11 -11
  26. package/Events.config.js.map +1 -1
  27. package/Events.js +274 -262
  28. package/Events.js.map +1 -1
  29. package/FillerGauge.config.js +46 -46
  30. package/FillerGauge.config.js.map +1 -1
  31. package/FillerGauge.js +267 -262
  32. package/FillerGauge.js.map +1 -1
  33. package/Image.config.js +8 -8
  34. package/Image.config.js.map +1 -1
  35. package/Image.js +110 -104
  36. package/Image.js.map +1 -1
  37. package/Line.config.js +220 -220
  38. package/Line.config.js.map +1 -1
  39. package/Line.js +404 -396
  40. package/Line.js.map +1 -1
  41. package/LinkGraph.config.js +27 -27
  42. package/LinkGraph.config.js.map +1 -1
  43. package/LinkGraph.js +557 -548
  44. package/LinkGraph.js.map +1 -1
  45. package/Map.config.js +71 -71
  46. package/Map.config.js.map +1 -1
  47. package/Map.js +472 -466
  48. package/Map.js.map +1 -1
  49. package/Markdown.config.js +23 -23
  50. package/Markdown.config.js.map +1 -1
  51. package/Markdown.js +151 -145
  52. package/Markdown.js.map +1 -1
  53. package/MarkerGauge.config.js +84 -84
  54. package/MarkerGauge.config.js.map +1 -1
  55. package/MarkerGauge.js +295 -289
  56. package/MarkerGauge.js.map +1 -1
  57. package/ParallelCoordinates.config.js +23 -23
  58. package/ParallelCoordinates.config.js.map +1 -1
  59. package/ParallelCoordinates.js +164 -162
  60. package/ParallelCoordinates.js.map +1 -1
  61. package/Pie.config.js +24 -24
  62. package/Pie.config.js.map +1 -1
  63. package/Pie.js +233 -228
  64. package/Pie.js.map +1 -1
  65. package/Punchcard.config.js +33 -33
  66. package/Punchcard.config.js.map +1 -1
  67. package/Punchcard.js +278 -279
  68. package/Punchcard.js.map +1 -1
  69. package/Rectangle.config.js +46 -46
  70. package/Rectangle.config.js.map +1 -1
  71. package/Rectangle.js +154 -142
  72. package/Rectangle.js.map +1 -1
  73. package/Sankey.config.js +19 -19
  74. package/Sankey.config.js.map +1 -1
  75. package/Sankey.js +281 -275
  76. package/Sankey.js.map +1 -1
  77. package/Scatter.config.js +135 -135
  78. package/Scatter.config.js.map +1 -1
  79. package/Scatter.js +304 -299
  80. package/Scatter.js.map +1 -1
  81. package/SingleValue.config.js +119 -119
  82. package/SingleValue.config.js.map +1 -1
  83. package/SingleValue.js +359 -341
  84. package/SingleValue.js.map +1 -1
  85. package/SingleValueBasic.js +14 -14
  86. package/SingleValueBasic.js.map +1 -1
  87. package/SingleValueIcon.config.js +117 -117
  88. package/SingleValueIcon.config.js.map +1 -1
  89. package/SingleValueIcon.js +373 -371
  90. package/SingleValueIcon.js.map +1 -1
  91. package/SingleValueRadial.config.js +157 -115
  92. package/SingleValueRadial.config.js.map +1 -1
  93. package/SingleValueRadial.js +1114 -540
  94. package/SingleValueRadial.js.map +1 -1
  95. package/SparkLine.js +50 -20
  96. package/SparkLine.js.map +1 -1
  97. package/Table.config.js +54 -54
  98. package/Table.config.js.map +1 -1
  99. package/Table.js +302 -286
  100. package/Table.js.map +1 -1
  101. package/common/Charting.js +41 -41
  102. package/common/Charting.js.map +1 -1
  103. package/common/EventsDoc.js +15 -14
  104. package/common/EventsDoc.js.map +1 -1
  105. package/common/GaugeMajorTicks.js +2 -2
  106. package/common/GaugeMajorTicks.js.map +1 -1
  107. package/common/GaugeValueMarker.js +2 -2
  108. package/common/GaugeValueMarker.js.map +1 -1
  109. package/common/OptionsDoc.js +22 -22
  110. package/common/OptionsDoc.js.map +1 -1
  111. package/common/OverviewDoc.js +32 -27
  112. package/common/OverviewDoc.js.map +1 -1
  113. package/common/SplunkVisualization.js +4 -4
  114. package/common/SplunkVisualization.js.map +1 -1
  115. package/common/SplunkVisualizationApi.js +2 -2
  116. package/common/SplunkVisualizationApi.js.map +1 -1
  117. package/common/ThemesDoc.js +14 -14
  118. package/common/ThemesDoc.js.map +1 -1
  119. package/common/chartingUtils.js +12 -12
  120. package/common/chartingUtils.js.map +1 -1
  121. package/common/docUtils.js +4 -4
  122. package/common/docUtils.js.map +1 -1
  123. package/common/gaugeUtils.js +112 -112
  124. package/common/gaugeUtils.js.map +1 -1
  125. package/common/shapeUtils.js +21 -15
  126. package/common/shapeUtils.js.map +1 -1
  127. package/common/utils/configUtils.js +10 -9
  128. package/common/utils/configUtils.js.map +1 -1
  129. package/common/utils/dataUtils.js +3 -3
  130. package/common/utils/dataUtils.js.map +1 -1
  131. package/common/utils/hocUtils.js +2 -2
  132. package/common/utils/hocUtils.js.map +1 -1
  133. package/common/utils/layoutUtils.js +2 -2
  134. package/common/utils/layoutUtils.js.map +1 -1
  135. package/common/utils/mapUtils.js +84 -80
  136. package/common/utils/mapUtils.js.map +1 -1
  137. package/common/utils/singleValueUtils.js +2 -2
  138. package/common/utils/singleValueUtils.js.map +1 -1
  139. package/common/utils/testHelper.js +27 -9
  140. package/common/utils/testHelper.js.map +1 -1
  141. package/common/utils/trellisUtils.js +26 -26
  142. package/common/utils/trellisUtils.js.map +1 -1
  143. package/common/utils/urlUtils.js +2 -2
  144. package/common/utils/urlUtils.js.map +1 -1
  145. package/common/withDashboardViz.js +107 -104
  146. package/common/withDashboardViz.js.map +1 -1
  147. package/package.json +19 -19
package/Bubble.js CHANGED
@@ -87,7 +87,7 @@ module.exports =
87
87
  /******/
88
88
  /******/
89
89
  /******/ // Load entry module and return exports
90
- /******/ return __webpack_require__(__webpack_require__.s = 179);
90
+ /******/ return __webpack_require__(__webpack_require__.s = 182);
91
91
  /******/ })
92
92
  /************************************************************************/
93
93
  /******/ ([
@@ -212,14 +212,14 @@ var Item = styled_components_1.default.div.attrs(function (_ref) {
212
212
  var width = _ref.width;
213
213
  return {
214
214
  style: {
215
- width: style_1.toPx(width)
215
+ width: (0, style_1.toPx)(width)
216
216
  }
217
217
  };
218
218
  }).withConfig({
219
219
  displayName: "FixedSizeContainer__Item",
220
220
  componentId: "sc-1yhgpod-0"
221
221
  })(["position:relative;background-color:", "};"], function (props) {
222
- return colorUtils_1.isColor(props.backgroundColor) && props.backgroundColor || props.theme.defaultBackgroundColor;
222
+ return (0, colorUtils_1.isColor)(props.backgroundColor) && props.backgroundColor || props.theme.defaultBackgroundColor;
223
223
  });
224
224
  // Use `.attrs()` for highly dynamic styles. Ref: https://github.com/styled-components/styled-components/issues/134#issuecomment-312415291
225
225
  var FixSizeItem = styled_components_1.default.div.attrs(function (_ref2) {
@@ -227,16 +227,16 @@ var FixSizeItem = styled_components_1.default.div.attrs(function (_ref2) {
227
227
  height = _ref2.height;
228
228
  return {
229
229
  style: Object.assign(Object.assign({}, width && {
230
- width: style_1.toPx(width)
230
+ width: (0, style_1.toPx)(width)
231
231
  }), height && {
232
- height: style_1.toPx(height)
232
+ height: (0, style_1.toPx)(height)
233
233
  })
234
234
  };
235
235
  }).withConfig({
236
236
  displayName: "FixedSizeContainer__FixSizeItem",
237
237
  componentId: "sc-1yhgpod-1"
238
238
  })(["position:relative;flex-direction:column;flex:1;display:flex;background-color:", "};"], function (props) {
239
- return colorUtils_1.isColor(props.backgroundColor) && props.backgroundColor || props.theme.defaultBackgroundColor;
239
+ return (0, colorUtils_1.isColor)(props.backgroundColor) && props.backgroundColor || props.theme.defaultBackgroundColor;
240
240
  });
241
241
  var ItemContent = styled_components_1.default.div.withConfig({
242
242
  displayName: "FixedSizeContainer__ItemContent",
@@ -260,7 +260,7 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
260
260
  }
261
261
  return React.createElement(FixSizeItem, {
262
262
  "data-test": "fix-size-item",
263
- "data-splunk-visualization-version": "25.13.0 - 572f25c03",
263
+ "data-splunk-visualization-version": "26.0.0 - 2f7458907",
264
264
  width: width,
265
265
  height: height,
266
266
  backgroundColor: backgroundColor
@@ -499,8 +499,8 @@ function hasCompatibleOptions(vizOptions, presetOptions) {
499
499
  */
500
500
  function getInitialPreset(vizContext, vizOptions, presets) {
501
501
  return presets.find(function (preset) {
502
- var presetContext = lodash_1.get(preset, ['value', 'context'], {});
503
- var presetOptions = lodash_1.get(preset, ['value', 'options'], {});
502
+ var presetContext = (0, lodash_1.get)(preset, ['value', 'context'], {});
503
+ var presetOptions = (0, lodash_1.get)(preset, ['value', 'options'], {});
504
504
  var presetContextKeys = Object.keys(presetContext);
505
505
  var presetOptionKeys = Object.keys(presetOptions);
506
506
  // all presets have to explicitly specify which options to reset (i.e. need explicitly undefined keys)
@@ -517,7 +517,7 @@ exports.getInitialPreset = getInitialPreset;
517
517
  * @returns {{ label: string; value; string }[]} array of { label, value } tuples
518
518
  */
519
519
  function generatePrecisionValues(numPrecisionValues) {
520
- return lodash_1.range(0, numPrecisionValues + 1).map(function (i) {
520
+ return (0, lodash_1.range)(0, numPrecisionValues + 1).map(function (i) {
521
521
  return {
522
522
  label: "".concat(i, " (0").concat(i > 0 ? '.' : '').concat('0'.repeat(i), ")"),
523
523
  value: i
@@ -559,35 +559,41 @@ module.exports = require("@splunk/themes/pick");
559
559
  /* 25 */
560
560
  /***/ (function(module, exports) {
561
561
 
562
- module.exports = require("@splunk/visualization-context/TimezoneContext");
562
+ module.exports = require("@splunk/ui-utils/id");
563
563
 
564
564
  /***/ }),
565
565
  /* 26 */
566
566
  /***/ (function(module, exports) {
567
567
 
568
- module.exports = require("@splunk/visualizations-shared/hocUtils");
568
+ module.exports = require("@splunk/visualization-context/TimezoneContext");
569
569
 
570
570
  /***/ }),
571
571
  /* 27 */
572
572
  /***/ (function(module, exports) {
573
573
 
574
- module.exports = require("@splunk/visualizations-shared/JSONSchemaUtils");
574
+ module.exports = require("@splunk/visualizations-shared/hocUtils");
575
575
 
576
576
  /***/ }),
577
577
  /* 28 */
578
578
  /***/ (function(module, exports) {
579
579
 
580
- module.exports = require("@splunk/visualizations-shared/propUtils");
580
+ module.exports = require("@splunk/visualizations-shared/JSONSchemaUtils");
581
581
 
582
582
  /***/ }),
583
583
  /* 29 */
584
584
  /***/ (function(module, exports) {
585
585
 
586
+ module.exports = require("@splunk/visualizations-shared/propUtils");
587
+
588
+ /***/ }),
589
+ /* 30 */
590
+ /***/ (function(module, exports) {
591
+
586
592
  module.exports = require("@splunk/visualization-encoding/Options");
587
593
 
588
594
  /***/ }),
589
- /* 30 */,
590
- /* 31 */
595
+ /* 31 */,
596
+ /* 32 */
591
597
  /***/ (function(module, exports, __webpack_require__) {
592
598
 
593
599
  "use strict";
@@ -611,9 +617,9 @@ var FixedSizeContainer_1 = __webpack_require__(13);
611
617
  */
612
618
  var shouldShowIconPlaceholder = function shouldShowIconPlaceholder(dataSources) {
613
619
  var loading = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
614
- var data = lodash_1.get(dataSources, 'primary.data.columns[0]', undefined);
620
+ var data = (0, lodash_1.get)(dataSources, 'primary.data.columns[0]', undefined);
615
621
  var noData = data === undefined;
616
- var fields = lodash_1.get(dataSources, 'primary.data.fields[0]', undefined);
622
+ var fields = (0, lodash_1.get)(dataSources, 'primary.data.fields[0]', undefined);
617
623
  var noFields = fields === undefined;
618
624
  return loading || noData || noFields;
619
625
  };
@@ -654,7 +660,7 @@ var IconPlaceholder = function IconPlaceholder(props) {
654
660
  width: width,
655
661
  height: height,
656
662
  level: "warning",
657
- message: i18n_1._('No DataSource Connected')
663
+ message: (0, i18n_1._)('No DataSource Connected')
658
664
  });
659
665
  };
660
666
  IconPlaceholder.propTypes = propTypes;
@@ -662,13 +668,7 @@ IconPlaceholder.defaultProps = {
662
668
  width: '100%',
663
669
  height: 250
664
670
  };
665
- exports.default = FixedSizeContainer_1.default(IconPlaceholder);
666
-
667
- /***/ }),
668
- /* 32 */
669
- /***/ (function(module, exports) {
670
-
671
- module.exports = require("@splunk/ui-utils/id");
671
+ exports.default = (0, FixedSizeContainer_1.default)(IconPlaceholder);
672
672
 
673
673
  /***/ }),
674
674
  /* 33 */
@@ -702,7 +702,7 @@ var getSortingParams = function getSortingParams(_ref) {
702
702
  };
703
703
  var onSort;
704
704
  if (typeof onRequestParamsChange === 'function') {
705
- if (requestParams && lodash_1.has(requestParams, 'sort')) {
705
+ if (requestParams && (0, lodash_1.has)(requestParams, 'sort')) {
706
706
  currentSortKey = Object.keys(requestParams.sort).shift();
707
707
  currentSortDir = requestParams.sort[currentSortKey];
708
708
  }
@@ -711,7 +711,7 @@ var getSortingParams = function getSortingParams(_ref) {
711
711
  var sortKey = _ref2.sortKey,
712
712
  sortDir = _ref2.sortDir;
713
713
  if (typeof sortKey === 'string') {
714
- var nextSortDir = lodash_1.has(nextSortDirMap, sortDir) ? nextSortDirMap[sortDir] : 'none';
714
+ var nextSortDir = (0, lodash_1.has)(nextSortDirMap, sortDir) ? nextSortDirMap[sortDir] : 'none';
715
715
  onRequestParamsChange(Object.assign(Object.assign({}, requestParams), {
716
716
  offset: 0,
717
717
  sort: _defineProperty({}, sortKey, nextSortDir)
@@ -761,7 +761,7 @@ var getPaginationParams = function getPaginationParams(_ref) {
761
761
  var onChangeHandler = function onChangeHandler(e, _ref2) {
762
762
  var page = _ref2.page,
763
763
  countArg = _ref2.count;
764
- var newParams = lodash_1.cloneDeep(requestParams);
764
+ var newParams = (0, lodash_1.cloneDeep)(requestParams);
765
765
  if (typeof countArg === 'number') {
766
766
  newParams.count = countArg;
767
767
  newParams.offset = 0;
@@ -823,16 +823,16 @@ Object.defineProperty(exports, "__esModule", {
823
823
  var React = __webpack_require__(1);
824
824
  var lodash_1 = __webpack_require__(3);
825
825
  var getSettingsFromThemedProps_1 = __webpack_require__(37);
826
- var Options_1 = __webpack_require__(29);
826
+ var Options_1 = __webpack_require__(30);
827
827
  var SanitizeProps_1 = __webpack_require__(38);
828
- var TimezoneContext_1 = __webpack_require__(25);
828
+ var TimezoneContext_1 = __webpack_require__(26);
829
829
  var moment_1 = __webpack_require__(39);
830
830
  var FeatureFlagContext_1 = __webpack_require__(21);
831
831
  var styled_components_1 = __webpack_require__(4);
832
- var hocUtils_1 = __webpack_require__(26);
833
- var JSONSchemaUtils_1 = __webpack_require__(27);
832
+ var hocUtils_1 = __webpack_require__(27);
833
+ var JSONSchemaUtils_1 = __webpack_require__(28);
834
834
  var async_dynamic_options_evaluator_1 = __webpack_require__(40);
835
- var id_1 = __webpack_require__(32);
835
+ var id_1 = __webpack_require__(25);
836
836
  var SplunkVisualization_1 = __webpack_require__(41);
837
837
  var VizBehavior_1 = __webpack_require__(6);
838
838
  var getSorting_1 = __webpack_require__(33);
@@ -853,8 +853,8 @@ var withDashboardViz = function withDashboardViz(opts) {
853
853
  computeVizProps = _opts$computeVizProps === void 0 ? function () {} : _opts$computeVizProps,
854
854
  disableEditModeCover = opts.disableEditModeCover,
855
855
  useIconPlaceholder = opts.useIconPlaceholder; // sanitizing props before sending them to reactviz.
856
- var SanitizedReactViz = SanitizeProps_1.withSanitizedProps(ReactViz);
857
- var defaultOptions = JSONSchemaUtils_1.pickFieldFromJSONSchema(vizConfig.optionsSchema, 'default');
856
+ var SanitizedReactViz = (0, SanitizeProps_1.withSanitizedProps)(ReactViz);
857
+ var defaultOptions = (0, JSONSchemaUtils_1.pickFieldFromJSONSchema)(vizConfig.optionsSchema, 'default');
858
858
  var DashboardViz = function DashboardViz(props) {
859
859
  var _a;
860
860
  var mode = props.mode,
@@ -889,19 +889,19 @@ var withDashboardViz = function withDashboardViz(opts) {
889
889
  return (_b = (_a = vizConfig.themes)[themeVar]) === null || _b === void 0 ? void 0 : _b.call(_a, props);
890
890
  };
891
891
  var bgColorFromTheme = themeFunc('defaultBackgroundColor');
892
- var _getSettingsFromTheme = getSettingsFromThemedProps_1.default({
892
+ var _ref = (0, getSettingsFromThemedProps_1.default)({
893
893
  theme: theme
894
894
  }),
895
- currentThemeFamily = _getSettingsFromTheme.family,
896
- currentThemeColorScheme = _getSettingsFromTheme.colorScheme,
897
- currentThemeDensity = _getSettingsFromTheme.density;
895
+ currentThemeFamily = _ref.family,
896
+ currentThemeColorScheme = _ref.colorScheme,
897
+ currentThemeDensity = _ref.density;
898
898
  var evaluatedOptions = {}; // evaluatedOptions need to be initialized as an empty object
899
899
  var _React$useState = React.useState({}),
900
900
  _React$useState2 = _slicedToArray(_React$useState, 2),
901
901
  evaluatedOptionsAsync = _React$useState2[0],
902
902
  setEvaluatedOptionsAsync = _React$useState2[1]; // evaluatedOptions need to be initialized as an empty object
903
903
  var featureFlagContext = React.useContext(FeatureFlagContext_1.default);
904
- var _React$useState3 = React.useState("".concat(vizConfig.name, " - ").concat(id_1.createGUID())),
904
+ var _React$useState3 = React.useState("".concat(vizConfig.name, " - ").concat((0, id_1.createGUID)())),
905
905
  _React$useState4 = _slicedToArray(_React$useState3, 1),
906
906
  visualizationID = _React$useState4[0];
907
907
  var _React$useState5 = React.useState({}),
@@ -912,16 +912,17 @@ var withDashboardViz = function withDashboardViz(opts) {
912
912
  _React$useState8 = _slicedToArray(_React$useState7, 2),
913
913
  dataFramesInState = _React$useState8[0],
914
914
  setDataFramesInState = _React$useState8[1];
915
- var _React$useState9 = React.useState(Boolean(featureFlagContext && featureFlagContext.visualizations_useWebWorkersForDSL && typeof Worker !== 'undefined')),
915
+ var _React$useState9 = React.useState(Boolean(featureFlagContext === null || featureFlagContext === void 0 ? void 0 : featureFlagContext.visualizations_useWebWorkersForDSL)),
916
916
  _React$useState10 = _slicedToArray(_React$useState9, 2),
917
917
  useAsyncEvaluatedOptions = _React$useState10[0],
918
918
  setUseAsyncEvaluatedOptions = _React$useState10[1];
919
- evaluatedOptions = useDeepMemo_1.useDeepMemo(function () {
919
+ var isMounted = React.useRef(true);
920
+ evaluatedOptions = (0, useDeepMemo_1.useDeepMemo)(function () {
920
921
  try {
921
922
  if (useAsyncEvaluatedOptions) {
922
923
  var optionsToEvaluate = {
923
- context: lodash_1.defaultsDeep({}, context, vizConfig.defaultContext),
924
- options: hocUtils_1.deepMergeWithArrayPrimitiveOverrides({}, options, defaultOptions)
924
+ context: (0, lodash_1.defaultsDeep)({}, context, vizConfig.defaultContext),
925
+ options: (0, hocUtils_1.deepMergeWithArrayPrimitiveOverrides)({}, options, defaultOptions)
925
926
  };
926
927
  var asyncDynamicOptionsEvaluatorParams = {
927
928
  visualizationID: visualizationID,
@@ -932,10 +933,10 @@ var withDashboardViz = function withDashboardViz(opts) {
932
933
  };
933
934
  async_dynamic_options_evaluator_1.default.evaluate(asyncDynamicOptionsEvaluatorParams).then(function (results) {
934
935
  setEvaluatedOptionsAsync(results.results);
935
- }).catch(function (e) {
936
- // eslint-disable-next-line no-console
937
- console.error("unexpected error evaluating options - async: ".concat(e.message));
938
- setUseAsyncEvaluatedOptions(false);
936
+ }).catch(function () {
937
+ if (isMounted.current) {
938
+ setUseAsyncEvaluatedOptions(false);
939
+ }
939
940
  });
940
941
  } else {
941
942
  var dataFrames = dataFramesInState;
@@ -945,8 +946,8 @@ var withDashboardViz = function withDashboardViz(opts) {
945
946
  setDataFramesInState(dataFrames);
946
947
  }
947
948
  return Options_1.Options.evaluate({
948
- context: lodash_1.defaultsDeep({}, context, vizConfig.defaultContext),
949
- options: hocUtils_1.deepMergeWithArrayPrimitiveOverrides({}, options, defaultOptions)
949
+ context: (0, lodash_1.defaultsDeep)({}, context, vizConfig.defaultContext),
950
+ options: (0, hocUtils_1.deepMergeWithArrayPrimitiveOverrides)({}, options, defaultOptions)
950
951
  }, dataSources, themeFunc, dataFrames);
951
952
  }
952
953
  } catch (e) {
@@ -975,6 +976,7 @@ var withDashboardViz = function withDashboardViz(opts) {
975
976
  React.useEffect(function () {
976
977
  return function () {
977
978
  if (useAsyncEvaluatedOptions) {
979
+ isMounted.current = false;
978
980
  async_dynamic_options_evaluator_1.default.reset(visualizationID);
979
981
  }
980
982
  };
@@ -984,7 +986,7 @@ var withDashboardViz = function withDashboardViz(opts) {
984
986
  var _vizConfig$requiredPr = vizConfig.requiredProps,
985
987
  requiredProps = _vizConfig$requiredPr === void 0 ? [] : _vizConfig$requiredPr,
986
988
  supports = vizConfig.supports;
987
- var missing = MissingPropsMessage_1.missingKeys(requiredProps, evaluatedOptionsToUse);
989
+ var missing = (0, MissingPropsMessage_1.missingKeys)(requiredProps, evaluatedOptionsToUse);
988
990
  if (missing.length > 0 && supports.includes(VizBehavior_1.VizBehavior.PLACEHOLDER) && vizConfig.key !== 'splunk.singlevalue' // For SV missing props msg is not displayed if required props majorValue is missing, instead this will be handled from the component, instead handled within component
989
991
  ) {
990
992
  return React.createElement(MissingPropsMessage_1.default, {
@@ -1000,7 +1002,7 @@ var withDashboardViz = function withDashboardViz(opts) {
1000
1002
  if (hasEventHandlers && mode === 'view' && vizConfig.supports.indexOf(VizBehavior_1.VizBehavior.EVENTS) > -1) {
1001
1003
  var supportedEvents = vizConfig.events;
1002
1004
  Object.keys(supportedEvents).forEach(function (eventName) {
1003
- var eventCallbackPropName = lodash_1.camelCase("on.".concat(eventName));
1005
+ var eventCallbackPropName = (0, lodash_1.camelCase)("on.".concat(eventName));
1004
1006
  eventCallbackProps[eventCallbackPropName] = null;
1005
1007
  // todo: refactor single value and single value icon to send payload from viz
1006
1008
  // then remove these lines
@@ -1043,19 +1045,19 @@ var withDashboardViz = function withDashboardViz(opts) {
1043
1045
  */
1044
1046
  var dataSourceMetadata = {};
1045
1047
  var OptionKey = 'paginateDataSourceKey';
1046
- var paginateDataSourceKey = lodash_1.has(evaluatedOptionsToUse, OptionKey) && evaluatedOptionsToUse[OptionKey] || 'primary';
1047
- if (vizConfig.supports.indexOf(VizBehavior_1.VizBehavior.PAGE_AND_SORT) > -1 && lodash_1.has(dataSources, paginateDataSourceKey)) {
1048
- var requestParams = lodash_1.get(dataSources, [paginateDataSourceKey, 'requestParams'], {});
1049
- var meta = lodash_1.get(dataSources, [paginateDataSourceKey, 'meta'], {});
1048
+ var paginateDataSourceKey = (0, lodash_1.has)(evaluatedOptionsToUse, OptionKey) && evaluatedOptionsToUse[OptionKey] || 'primary';
1049
+ if (vizConfig.supports.indexOf(VizBehavior_1.VizBehavior.PAGE_AND_SORT) > -1 && (0, lodash_1.has)(dataSources, paginateDataSourceKey)) {
1050
+ var requestParams = (0, lodash_1.get)(dataSources, [paginateDataSourceKey, 'requestParams'], {});
1051
+ var meta = (0, lodash_1.get)(dataSources, [paginateDataSourceKey, 'meta'], {});
1050
1052
  var handleRequestParamsChange = function handleRequestParamsChange(payload) {
1051
1053
  return onRequestParamsChange(paginateDataSourceKey, payload);
1052
1054
  };
1053
- var sortParams = getSorting_1.getSortingParams({
1055
+ var sortParams = (0, getSorting_1.getSortingParams)({
1054
1056
  requestParams: requestParams,
1055
1057
  meta: meta,
1056
1058
  onRequestParamsChange: handleRequestParamsChange
1057
1059
  });
1058
- var paginatorParams = getPagination_1.getPaginationParams({
1060
+ var paginatorParams = (0, getPagination_1.getPaginationParams)({
1059
1061
  requestParams: requestParams,
1060
1062
  meta: meta,
1061
1063
  onRequestParamsChange: handleRequestParamsChange
@@ -1083,7 +1085,7 @@ var withDashboardViz = function withDashboardViz(opts) {
1083
1085
  // attach viz config
1084
1086
  DashboardViz.config = vizConfig;
1085
1087
  // @ts-ignore: TODO fix sc upgrade TS issues
1086
- return styled_components_1.withTheme(withPlaceholder_1.default(withEditModeCover_1.default(DashboardViz, disableEditModeCover), useIconPlaceholder));
1088
+ return (0, styled_components_1.withTheme)((0, withPlaceholder_1.default)((0, withEditModeCover_1.default)(DashboardViz, disableEditModeCover), useIconPlaceholder));
1087
1089
  };
1088
1090
  exports.default = withDashboardViz;
1089
1091
 
@@ -1312,8 +1314,8 @@ var lodash_1 = __webpack_require__(3);
1312
1314
  * @param dependencies an array of dependencies
1313
1315
  */
1314
1316
  var useDeepMemo = function useDeepMemo(fn, dependencies) {
1315
- var ref = react_1.useRef();
1316
- if (!ref.current || !lodash_1.isEqual(dependencies, ref.current.dependencies)) {
1317
+ var ref = (0, react_1.useRef)();
1318
+ if (!ref.current || !(0, lodash_1.isEqual)(dependencies, ref.current.dependencies)) {
1317
1319
  ref.current = {
1318
1320
  dependencies: dependencies,
1319
1321
  value: fn()
@@ -1356,7 +1358,7 @@ exports.isMissing = isMissing;
1356
1358
  */
1357
1359
  var missingKeys = function missingKeys(keys, target) {
1358
1360
  return keys.filter(function (k) {
1359
- return exports.isMissing(target[k]);
1361
+ return (0, exports.isMissing)(target[k]);
1360
1362
  });
1361
1363
  };
1362
1364
  exports.missingKeys = missingKeys;
@@ -1380,7 +1382,7 @@ var MissingPropsMessage = function MissingPropsMessage(props) {
1380
1382
  "data-test": "message",
1381
1383
  width: width,
1382
1384
  height: height,
1383
- message: i18n_1._("Missing property: ".concat(missingProps.join(', ')))
1385
+ message: (0, i18n_1._)("Missing property: ".concat(missingProps.join(', ')))
1384
1386
  });
1385
1387
  };
1386
1388
  exports.MissingPropsMessage = MissingPropsMessage;
@@ -1389,7 +1391,7 @@ exports.MissingPropsMessage.defaultProps = {
1389
1391
  width: '100%',
1390
1392
  height: 250
1391
1393
  };
1392
- exports.default = FixedSizeContainer_1.default(exports.MissingPropsMessage);
1394
+ exports.default = (0, FixedSizeContainer_1.default)(exports.MissingPropsMessage);
1393
1395
 
1394
1396
  /***/ }),
1395
1397
  /* 46 */
@@ -1409,7 +1411,7 @@ var Cover = styled_components_1.default.div.withConfig({
1409
1411
  componentId: "sc-1gsbnxb-0"
1410
1412
  })(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
1411
1413
  var Blocker = styled_components_1.default.div.attrs({
1412
- 'data-splunk-visualization-version': "25.13.0 - 572f25c03"
1414
+ 'data-splunk-visualization-version': "26.0.0 - 2f7458907"
1413
1415
  }).withConfig({
1414
1416
  displayName: "withEditModeCover__Blocker",
1415
1417
  componentId: "sc-1gsbnxb-1"
@@ -1428,7 +1430,7 @@ var withEditModeCover = function withEditModeCover(Visualization, disableEditMod
1428
1430
  "data-test": "edit-mode-cover"
1429
1431
  }));
1430
1432
  };
1431
- hocUtils_1.extendStaticWrapperProps({
1433
+ (0, hocUtils_1.extendStaticWrapperProps)({
1432
1434
  Wrapper: Wrapper,
1433
1435
  Visualization: Visualization
1434
1436
  });
@@ -1449,7 +1451,7 @@ Object.defineProperty(exports, "__esModule", {
1449
1451
  var React = __webpack_require__(1);
1450
1452
  var colorUtils_1 = __webpack_require__(12);
1451
1453
  var variables_1 = __webpack_require__(11);
1452
- var IconPlaceholder_1 = __webpack_require__(31);
1454
+ var IconPlaceholder_1 = __webpack_require__(32);
1453
1455
  var VizBehavior_1 = __webpack_require__(6);
1454
1456
  var hocUtils_1 = __webpack_require__(15);
1455
1457
  var withPlaceholder = function withPlaceholder(Visualization) {
@@ -1464,7 +1466,7 @@ var withPlaceholder = function withPlaceholder(Visualization) {
1464
1466
  height = props.height,
1465
1467
  width = props.width;
1466
1468
  var showPlaceholder = useIconPlaceholder(dataSources, loading, options);
1467
- var bgColorFromTheme = colorUtils_1.isColor(options === null || options === void 0 ? void 0 : options.backgroundColor) ? options === null || options === void 0 ? void 0 : options.backgroundColor : (_a = themes === null || themes === void 0 ? void 0 : themes.defaultBackgroundColor) === null || _a === void 0 ? void 0 : _a.call(themes, props);
1469
+ var bgColorFromTheme = (0, colorUtils_1.isColor)(options === null || options === void 0 ? void 0 : options.backgroundColor) ? options === null || options === void 0 ? void 0 : options.backgroundColor : (_a = themes === null || themes === void 0 ? void 0 : themes.defaultBackgroundColor) === null || _a === void 0 ? void 0 : _a.call(themes, props);
1468
1470
  var icon = (_b = config.placeholderIcon) !== null && _b !== void 0 ? _b : config.icon;
1469
1471
  var iconColor = variables_1.default.contentColorActive(props);
1470
1472
  if (config.supports.includes(VizBehavior_1.VizBehavior.PLACEHOLDER) && showPlaceholder) {
@@ -1479,7 +1481,7 @@ var withPlaceholder = function withPlaceholder(Visualization) {
1479
1481
  }
1480
1482
  return React.createElement(Visualization, Object.assign({}, props));
1481
1483
  };
1482
- hocUtils_1.extendStaticWrapperProps({
1484
+ (0, hocUtils_1.extendStaticWrapperProps)({
1483
1485
  Wrapper: Wrapper,
1484
1486
  Visualization: Visualization
1485
1487
  });
@@ -1489,13 +1491,13 @@ exports.default = withPlaceholder;
1489
1491
 
1490
1492
  /***/ }),
1491
1493
  /* 48 */,
1492
- /* 49 */
1494
+ /* 49 */,
1495
+ /* 50 */
1493
1496
  /***/ (function(module, exports) {
1494
1497
 
1495
1498
  module.exports = require("@splunk/visualization-icons/placeholders");
1496
1499
 
1497
1500
  /***/ }),
1498
- /* 50 */,
1499
1501
  /* 51 */
1500
1502
  /***/ (function(module, exports) {
1501
1503
 
@@ -1523,7 +1525,7 @@ var background = function background(_ref) {
1523
1525
  themes = _ref.themes,
1524
1526
  labelPosition = _ref.labelPosition;
1525
1527
  return [{
1526
- label: i18n_1._(label || 'Background'),
1528
+ label: (0, i18n_1._)(label || 'Background'),
1527
1529
  option: 'backgroundColor',
1528
1530
  editor: 'editor.color',
1529
1531
  editorProps: {
@@ -1537,6 +1539,12 @@ exports.default = background;
1537
1539
  /***/ }),
1538
1540
  /* 54 */,
1539
1541
  /* 55 */
1542
+ /***/ (function(module, exports) {
1543
+
1544
+ module.exports = require("@splunk/charting-bundle");
1545
+
1546
+ /***/ }),
1547
+ /* 56 */
1540
1548
  /***/ (function(module, exports, __webpack_require__) {
1541
1549
 
1542
1550
  "use strict";
@@ -1612,9 +1620,9 @@ var mapToValues = function mapToValues(optionValuesSCMapping) {
1612
1620
  return function (options) {
1613
1621
  var convertedOptions = Object.assign({}, options);
1614
1622
  Object.keys(optionValuesSCMapping).forEach(function (key) {
1615
- if (lodash_1.has(options, key)) {
1623
+ if ((0, lodash_1.has)(options, key)) {
1616
1624
  var updatedValue = optionValuesSCMapping[key][options[key]];
1617
- if (!lodash_1.isUndefined(updatedValue)) {
1625
+ if (!(0, lodash_1.isUndefined)(updatedValue)) {
1618
1626
  convertedOptions[key] = updatedValue;
1619
1627
  }
1620
1628
  }
@@ -1635,7 +1643,7 @@ var convertY2AxisOptions = function convertY2AxisOptions(_a) {
1635
1643
  var convertedOptions = Object.assign({}, originalOptions);
1636
1644
  if (y2Fields) {
1637
1645
  convertedOptions['axisY2.enabled'] = true;
1638
- convertedOptions['axisY2.fields'] = lodash_1.isArray(y2Fields) ? y2Fields.filter(function (name) {
1646
+ convertedOptions['axisY2.fields'] = (0, lodash_1.isArray)(y2Fields) ? y2Fields.filter(function (name) {
1639
1647
  return name;
1640
1648
  }).join(',') : y2Fields;
1641
1649
  }
@@ -1677,7 +1685,7 @@ exports.isMultiSeriesData = isMultiSeriesData;
1677
1685
  * @return {array}
1678
1686
  */
1679
1687
  var toArrayForSeries = function toArrayForSeries(data, value) {
1680
- return exports.isMultiSeriesData(data) ? value : [value];
1688
+ return (0, exports.isMultiSeriesData)(data) ? value : [value];
1681
1689
  };
1682
1690
  exports.toArrayForSeries = toArrayForSeries;
1683
1691
  var constructFieldsAndColumns = function constructFieldsAndColumns(_ref2) {
@@ -1689,10 +1697,10 @@ var constructFieldsAndColumns = function constructFieldsAndColumns(_ref2) {
1689
1697
  yFields = _ref2.yFields,
1690
1698
  y2 = _ref2.y2,
1691
1699
  y2Fields = _ref2.y2Fields;
1692
- var columns = [x.map(String)].concat(_toConsumableArray(exports.toArrayForSeries(y, y).map(function (series) {
1700
+ var columns = [x.map(String)].concat(_toConsumableArray((0, exports.toArrayForSeries)(y, y).map(function (series) {
1693
1701
  return series.map(String);
1694
1702
  })));
1695
- var yFieldsArray = exports.toArrayForSeries(y, yFields);
1703
+ var yFieldsArray = (0, exports.toArrayForSeries)(y, yFields);
1696
1704
  var fields = [{
1697
1705
  name: xField
1698
1706
  }].concat(_toConsumableArray(yFieldsArray.map(function (field) {
@@ -1704,8 +1712,8 @@ var constructFieldsAndColumns = function constructFieldsAndColumns(_ref2) {
1704
1712
  // when y & y2 options are configured with different (mutually exclusive) series
1705
1713
  // y2 columns need to be added to columns
1706
1714
  if (y2Fields) {
1707
- var y2FieldsArray = exports.toArrayForSeries(y2, y2Fields);
1708
- var y2AsArray = exports.toArrayForSeries(y2, y2).map(function (series) {
1715
+ var y2FieldsArray = (0, exports.toArrayForSeries)(y2, y2Fields);
1716
+ var y2AsArray = (0, exports.toArrayForSeries)(y2, y2).map(function (series) {
1709
1717
  return series === null || series === void 0 ? void 0 : series.map(String);
1710
1718
  });
1711
1719
  y2FieldsArray.forEach(function (y2Field, index) {
@@ -1724,12 +1732,6 @@ var constructFieldsAndColumns = function constructFieldsAndColumns(_ref2) {
1724
1732
  };
1725
1733
  exports.constructFieldsAndColumns = constructFieldsAndColumns;
1726
1734
 
1727
- /***/ }),
1728
- /* 56 */
1729
- /***/ (function(module, exports) {
1730
-
1731
- module.exports = require("@splunk/charting-bundle");
1732
-
1733
1735
  /***/ }),
1734
1736
  /* 57 */
1735
1737
  /***/ (function(module, exports) {
@@ -1743,7 +1745,8 @@ module.exports = require("@splunk/themes/useSplunkTheme");
1743
1745
  /* 61 */,
1744
1746
  /* 62 */,
1745
1747
  /* 63 */,
1746
- /* 64 */
1748
+ /* 64 */,
1749
+ /* 65 */
1747
1750
  /***/ (function(module, exports, __webpack_require__) {
1748
1751
 
1749
1752
  "use strict";
@@ -1760,16 +1763,16 @@ var visualization_color_palettes_1 = __webpack_require__(51);
1760
1763
  var react_1 = __webpack_require__(1);
1761
1764
  var React = __webpack_require__(1);
1762
1765
  var T = __webpack_require__(0);
1763
- var react_event_listener_1 = __webpack_require__(65);
1764
- __webpack_require__(66); // fixme, @splunk/charting should be refactor to use locale & timezone instead of i18n functions
1765
- var charting_bundle_1 = __webpack_require__(56);
1766
- var TimezoneContext_1 = __webpack_require__(25);
1766
+ var react_event_listener_1 = __webpack_require__(66);
1767
+ __webpack_require__(67); // fixme, @splunk/charting should be refactor to use locale & timezone instead of i18n functions
1768
+ var charting_bundle_1 = __webpack_require__(55);
1769
+ var TimezoneContext_1 = __webpack_require__(26);
1767
1770
  var style_1 = __webpack_require__(14);
1768
1771
  var styled_components_1 = __webpack_require__(4);
1769
1772
  var Message_1 = __webpack_require__(10);
1770
1773
  var useSplunkTheme_1 = __webpack_require__(57);
1771
- var themeUtils_1 = __webpack_require__(67);
1772
- var ChartingApi_1 = __webpack_require__(68);
1774
+ var themeUtils_1 = __webpack_require__(68);
1775
+ var ChartingApi_1 = __webpack_require__(69);
1773
1776
  exports.NO_INPLACE_PROPS = ['chart', 'chart.orientation', 'layout.splitSeries', 'chart.style', 'legend.placement'];
1774
1777
  var changedOptions = function changedOptions(curOptions, nextOptions) {
1775
1778
  return Object.keys(curOptions).filter(function (key) {
@@ -1779,10 +1782,9 @@ var changedOptions = function changedOptions(curOptions, nextOptions) {
1779
1782
  }));
1780
1783
  };
1781
1784
  exports.changedOptions = changedOptions;
1782
- charting_bundle_1.default.enableScaledEvents();
1783
1785
  function usePrevious(value) {
1784
- var ref = react_1.useRef();
1785
- react_1.useEffect(function () {
1786
+ var ref = (0, react_1.useRef)();
1787
+ (0, react_1.useEffect)(function () {
1786
1788
  ref.current = value;
1787
1789
  });
1788
1790
  return ref.current;
@@ -1795,7 +1797,7 @@ var canUpdateInPlace = function canUpdateInPlace(curOptions, nextOptions) {
1795
1797
  }
1796
1798
  return !exports.NO_INPLACE_PROPS.some(function (p) {
1797
1799
  return curOptions[p] !== nextOptions[p];
1798
- }) && !exports.changedOptions(curOptions, nextOptions).some(function (p) {
1800
+ }) && !(0, exports.changedOptions)(curOptions, nextOptions).some(function (p) {
1799
1801
  return p.toLowerCase().endsWith('color');
1800
1802
  });
1801
1803
  };
@@ -1831,7 +1833,7 @@ var ChartingContainer = styled_components_1.default.div.attrs(function (props) {
1831
1833
  displayName: "Charting__ChartingContainer",
1832
1834
  componentId: "sc-3wbgm0-0"
1833
1835
  })(["& .highcharts-a11y-proxy-container{pointer-events:none;}overflow:hidden;position:relative;", ";"], function (props) {
1834
- return style_1.toDimension(lodash_1.pick(props, ['width', 'height']));
1836
+ return (0, style_1.toDimension)((0, lodash_1.pick)(props, ['width', 'height']));
1835
1837
  });
1836
1838
  var propTypes = {
1837
1839
  width: T.oneOfType([T.string, T.number]),
@@ -1849,12 +1851,12 @@ var propTypes = {
1849
1851
  themeKey: T.string
1850
1852
  };
1851
1853
  var Charting = function Charting(props) {
1852
- var container = react_1.useRef(null);
1853
- var needsInit = react_1.useRef(true);
1854
- var chart = react_1.useRef();
1855
- var needsRedraw = react_1.useRef(true);
1856
- var api = react_1.useRef(new ChartingApi_1.ChartingApiFunctional(chart));
1857
- var timezone = react_1.useContext(TimezoneContext_1.default);
1854
+ var container = (0, react_1.useRef)(null);
1855
+ var needsInit = (0, react_1.useRef)(true);
1856
+ var chart = (0, react_1.useRef)();
1857
+ var needsRedraw = (0, react_1.useRef)(true);
1858
+ var api = (0, react_1.useRef)(new ChartingApi_1.ChartingApiFunctional(chart));
1859
+ var timezone = (0, react_1.useContext)(TimezoneContext_1.default);
1858
1860
  var computeChartingSize = function computeChartingSize() {
1859
1861
  if (container.current) {
1860
1862
  var rect = container.current.getBoundingClientRect();
@@ -1865,8 +1867,8 @@ var Charting = function Charting(props) {
1865
1867
  }
1866
1868
  return {};
1867
1869
  };
1868
- var splunkTheme = useSplunkTheme_1.default();
1869
- var themeKey = props.themeKey ? props.themeKey : themeUtils_1.getChartingThemeKey({
1870
+ var splunkTheme = (0, useSplunkTheme_1.default)();
1871
+ var themeKey = props.themeKey ? props.themeKey : (0, themeUtils_1.getChartingThemeKey)({
1870
1872
  splunkThemeV1: splunkTheme
1871
1873
  });
1872
1874
  var width = props.width,
@@ -1883,13 +1885,13 @@ var Charting = function Charting(props) {
1883
1885
  var prevOptions = usePrevious(options);
1884
1886
  var prevTimezone = usePrevious(timezone);
1885
1887
  var handleClick = function handleClick(chartEvent, type) {
1886
- var payload = lodash_1.pick(chartEvent, 'name2', 'value2', '_span', 'modifierKey');
1888
+ var payload = (0, lodash_1.pick)(chartEvent, 'name2', 'value2', '_span', 'modifierKey');
1887
1889
  payload.name = payload.name2;
1888
1890
  delete payload.name2;
1889
1891
  if (type === VizChartEventType.POINT_CLICK) {
1890
1892
  payload.value = payload.value2;
1891
1893
  delete payload.value2;
1892
- payload = exports.updateRowPayload(chartEvent.rowContext, payload);
1894
+ payload = (0, exports.updateRowPayload)(chartEvent.rowContext, payload);
1893
1895
  }
1894
1896
  onClick({
1895
1897
  type: type,
@@ -1911,7 +1913,7 @@ var Charting = function Charting(props) {
1911
1913
  onSelect({
1912
1914
  type: 'range.select',
1913
1915
  originalEvent: chartEvent,
1914
- payload: lodash_1.pick(chartEvent, 'startXIndex', 'endXIndex', 'startXValue', 'endXValue')
1916
+ payload: (0, lodash_1.pick)(chartEvent, 'startXIndex', 'endXIndex', 'startXValue', 'endXValue')
1915
1917
  });
1916
1918
  return;
1917
1919
  }
@@ -1919,16 +1921,16 @@ var Charting = function Charting(props) {
1919
1921
  onEventTrigger({
1920
1922
  type: 'range.select',
1921
1923
  originalEvent: chartEvent,
1922
- payload: lodash_1.pick(chartEvent, 'startXIndex', 'endXIndex', 'startXValue', 'endXValue')
1924
+ payload: (0, lodash_1.pick)(chartEvent, 'startXIndex', 'endXIndex', 'startXValue', 'endXValue')
1923
1925
  });
1924
1926
  };
1925
1927
  var handlePointMouseOut = function handlePointMouseOut(chartEvent, type) {
1926
- var payload = lodash_1.pick(chartEvent, 'name2', 'value2', '_span', 'modifierKey', 'tooltipContext');
1928
+ var payload = (0, lodash_1.pick)(chartEvent, 'name2', 'value2', '_span', 'modifierKey', 'tooltipContext');
1927
1929
  payload.name = payload.name2;
1928
1930
  delete payload.name2;
1929
1931
  payload.value = payload.value2;
1930
1932
  delete payload.value2;
1931
- payload = exports.updateRowPayload(chartEvent.rowContext, payload);
1933
+ payload = (0, exports.updateRowPayload)(chartEvent.rowContext, payload);
1932
1934
  onPointMouseOut({
1933
1935
  type: type,
1934
1936
  originalEvent: chartEvent,
@@ -1936,12 +1938,12 @@ var Charting = function Charting(props) {
1936
1938
  });
1937
1939
  };
1938
1940
  var handlePointMouseOver = function handlePointMouseOver(chartEvent, type) {
1939
- var payload = lodash_1.pick(chartEvent, 'name2', 'value2', '_span', 'modifierKey', 'tooltipContext');
1941
+ var payload = (0, lodash_1.pick)(chartEvent, 'name2', 'value2', '_span', 'modifierKey', 'tooltipContext');
1940
1942
  payload.name = payload.name2;
1941
1943
  delete payload.name2;
1942
1944
  payload.value = payload.value2;
1943
1945
  delete payload.value2;
1944
- payload = exports.updateRowPayload(chartEvent.rowContext, payload);
1946
+ payload = (0, exports.updateRowPayload)(chartEvent.rowContext, payload);
1945
1947
  onPointMouseOver({
1946
1948
  type: type,
1947
1949
  originalEvent: chartEvent,
@@ -2023,14 +2025,14 @@ var Charting = function Charting(props) {
2023
2025
  window.console.error('Caught error rendering chart:', e);
2024
2026
  }
2025
2027
  };
2026
- var debouncedDrawChart = lodash_1.debounce(drawChart, 5);
2028
+ var debouncedDrawChart = (0, lodash_1.debounce)(drawChart, 5);
2027
2029
  var onContainerMount = function onContainerMount(chartingContainer) {
2028
2030
  container.current = chartingContainer;
2029
2031
  debouncedDrawChart();
2030
2032
  };
2031
2033
  var prevTheme = usePrevious(themeKey);
2032
2034
  var prevOnClick = usePrevious(onClick);
2033
- react_1.useEffect(function () {
2035
+ (0, react_1.useEffect)(function () {
2034
2036
  debouncedDrawChart();
2035
2037
  props.visualizationApiRef(api.current);
2036
2038
  return function () {
@@ -2038,10 +2040,10 @@ var Charting = function Charting(props) {
2038
2040
  destroyChart();
2039
2041
  };
2040
2042
  }, []);
2041
- react_1.useEffect(function () {
2043
+ (0, react_1.useEffect)(function () {
2042
2044
  // TODO: figure out why re-init is needed for functional components (i.e. PlatformViz) when changing theme
2043
2045
  // seems like redraw doesn't suffice to update the background colors
2044
- if (!chart.current || !exports.canUpdateInPlace(prevOptions, options) ||
2046
+ if (!chart.current || !(0, exports.canUpdateInPlace)(prevOptions, options) ||
2045
2047
  // timezone is a simple object so this comparison should be fast
2046
2048
  JSON.stringify(prevTimezone) !== JSON.stringify(timezone) || !props.themeKey && prevTheme !== themeKey || prevOnClick !== onClick) {
2047
2049
  needsInit.current = true;
@@ -2085,13 +2087,13 @@ var withEmptyChartMessage = function withEmptyChartMessage(Chart) {
2085
2087
  var chartData = props.chartData;
2086
2088
  if (!chartData) {
2087
2089
  return React.createElement(Message_1.default, {
2088
- message: i18n_1._('No DataSource'),
2090
+ message: (0, i18n_1._)('No DataSource'),
2089
2091
  level: "warning"
2090
2092
  });
2091
2093
  }
2092
2094
  if (chartData && !Object.keys(chartData).length) {
2093
2095
  return React.createElement(Message_1.default, {
2094
- message: i18n_1._('No Result'),
2096
+ message: (0, i18n_1._)('No Result'),
2095
2097
  level: "info"
2096
2098
  });
2097
2099
  }
@@ -2106,25 +2108,25 @@ var withEmptyChartMessage = function withEmptyChartMessage(Chart) {
2106
2108
  exports.default = withEmptyChartMessage(Charting);
2107
2109
 
2108
2110
  /***/ }),
2109
- /* 65 */
2111
+ /* 66 */
2110
2112
  /***/ (function(module, exports) {
2111
2113
 
2112
2114
  module.exports = require("react-event-listener");
2113
2115
 
2114
2116
  /***/ }),
2115
- /* 66 */
2117
+ /* 67 */
2116
2118
  /***/ (function(module, exports) {
2117
2119
 
2118
2120
  module.exports = require("@splunk/visualizations-shared/i18n");
2119
2121
 
2120
2122
  /***/ }),
2121
- /* 67 */
2123
+ /* 68 */
2122
2124
  /***/ (function(module, exports) {
2123
2125
 
2124
2126
  module.exports = require("@splunk/visualizations-shared/themeUtils");
2125
2127
 
2126
2128
  /***/ }),
2127
- /* 68 */
2129
+ /* 69 */
2128
2130
  /***/ (function(module, exports, __webpack_require__) {
2129
2131
 
2130
2132
  "use strict";
@@ -2181,16 +2183,16 @@ var ChartingApiFunctional = /*#__PURE__*/function () {
2181
2183
  exports.ChartingApiFunctional = ChartingApiFunctional;
2182
2184
 
2183
2185
  /***/ }),
2184
- /* 69 */
2186
+ /* 70 */
2185
2187
  /***/ (function(module, exports) {
2186
2188
 
2187
2189
  module.exports = require("@splunk/visualizations-shared/simpleXMLOptions");
2188
2190
 
2189
2191
  /***/ }),
2190
- /* 70 */,
2191
2192
  /* 71 */,
2192
2193
  /* 72 */,
2193
- /* 73 */
2194
+ /* 73 */,
2195
+ /* 74 */
2194
2196
  /***/ (function(module, exports, __webpack_require__) {
2195
2197
 
2196
2198
  "use strict";
@@ -2204,9 +2206,9 @@ exports.AxesChartDataConfigAreaColumnLine = exports.AxesChartDataConfigBubble =
2204
2206
  var i18n_1 = __webpack_require__(2);
2205
2207
  var configUtils_1 = __webpack_require__(20);
2206
2208
  var AxesChartDataConfig = {
2207
- label: i18n_1._('Data configurations'),
2209
+ label: (0, i18n_1._)('Data configurations'),
2208
2210
  layout: [[{
2209
- label: i18n_1._('X'),
2211
+ label: (0, i18n_1._)('X'),
2210
2212
  option: 'x',
2211
2213
  editor: 'editor.columnSelector',
2212
2214
  editorProps: {
@@ -2215,7 +2217,7 @@ var AxesChartDataConfig = {
2215
2217
  expectedDataPrimitive: ['series']
2216
2218
  }
2217
2219
  }], [{
2218
- label: i18n_1._('Y'),
2220
+ label: (0, i18n_1._)('Y'),
2219
2221
  option: 'y',
2220
2222
  editor: 'editor.columnMultiSelector',
2221
2223
  editorProps: {
@@ -2225,7 +2227,7 @@ var AxesChartDataConfig = {
2225
2227
  expectedDataPrimitive: ['series', 'frame']
2226
2228
  }
2227
2229
  }], [{
2228
- label: i18n_1._('Result limit'),
2230
+ label: (0, i18n_1._)('Result limit'),
2229
2231
  option: 'resultLimit',
2230
2232
  editor: 'editor.number',
2231
2233
  editorProps: {
@@ -2236,8 +2238,8 @@ var AxesChartDataConfig = {
2236
2238
  exports.AxesChartDataConfigBar = {
2237
2239
  label: AxesChartDataConfig.label,
2238
2240
  // insert Y2 after Y
2239
- layout: configUtils_1.insertLayout(AxesChartDataConfig.layout, 2, [{
2240
- label: i18n_1._('Y2'),
2241
+ layout: (0, configUtils_1.insertLayout)(AxesChartDataConfig.layout, 2, [{
2242
+ label: (0, i18n_1._)('Y2'),
2241
2243
  option: 'y2',
2242
2244
  editor: 'editor.columnMultiSelector',
2243
2245
  editorProps: {
@@ -2251,7 +2253,7 @@ exports.AxesChartDataConfigBar = {
2251
2253
  exports.AxesChartDataConfigScatter = {
2252
2254
  label: AxesChartDataConfig.label,
2253
2255
  layout: [[{
2254
- label: i18n_1._('X'),
2256
+ label: (0, i18n_1._)('X'),
2255
2257
  option: 'x',
2256
2258
  editor: 'editor.columnSelector',
2257
2259
  editorProps: {
@@ -2260,7 +2262,7 @@ exports.AxesChartDataConfigScatter = {
2260
2262
  expectedDataPrimitive: ['series']
2261
2263
  }
2262
2264
  }], [{
2263
- label: i18n_1._('Y'),
2265
+ label: (0, i18n_1._)('Y'),
2264
2266
  option: 'y',
2265
2267
  editor: 'editor.columnSelector',
2266
2268
  editorProps: {
@@ -2270,7 +2272,7 @@ exports.AxesChartDataConfigScatter = {
2270
2272
  expectedDataPrimitive: ['series']
2271
2273
  }
2272
2274
  }], [{
2273
- label: i18n_1._('Category'),
2275
+ label: (0, i18n_1._)('Category'),
2274
2276
  option: 'category',
2275
2277
  editor: 'editor.columnSelector',
2276
2278
  editorProps: {
@@ -2279,7 +2281,7 @@ exports.AxesChartDataConfigScatter = {
2279
2281
  expectedDataPrimitive: ['series']
2280
2282
  }
2281
2283
  }], [{
2282
- label: i18n_1._('Result limit'),
2284
+ label: (0, i18n_1._)('Result limit'),
2283
2285
  option: 'resultLimit',
2284
2286
  editor: 'editor.number',
2285
2287
  editorProps: {
@@ -2290,8 +2292,8 @@ exports.AxesChartDataConfigScatter = {
2290
2292
  exports.AxesChartDataConfigBubble = {
2291
2293
  label: exports.AxesChartDataConfigScatter.label,
2292
2294
  // layout: insert Size after Category
2293
- layout: configUtils_1.insertLayout(exports.AxesChartDataConfigScatter.layout, 3, [{
2294
- label: i18n_1._('Size'),
2295
+ layout: (0, configUtils_1.insertLayout)(exports.AxesChartDataConfigScatter.layout, 3, [{
2296
+ label: (0, i18n_1._)('Size'),
2295
2297
  option: 'size',
2296
2298
  editor: 'editor.columnSelector',
2297
2299
  editorProps: {
@@ -2304,7 +2306,7 @@ exports.AxesChartDataConfigBubble = {
2304
2306
  exports.AxesChartDataConfigAreaColumnLine = {
2305
2307
  label: exports.AxesChartDataConfigBar.label,
2306
2308
  layout: [].concat(_toConsumableArray(exports.AxesChartDataConfigBar.layout), [[{
2307
- label: i18n_1._('Annotation x'),
2309
+ label: (0, i18n_1._)('Annotation x'),
2308
2310
  option: 'annotationX',
2309
2311
  editor: 'editor.columnSelector',
2310
2312
  editorProps: {
@@ -2313,7 +2315,7 @@ exports.AxesChartDataConfigAreaColumnLine = {
2313
2315
  expectedDataPrimitive: ['series']
2314
2316
  }
2315
2317
  }], [{
2316
- label: i18n_1._('Annotation labels'),
2318
+ label: (0, i18n_1._)('Annotation labels'),
2317
2319
  option: 'annotationLabel',
2318
2320
  editor: 'editor.columnSelector',
2319
2321
  editorProps: {
@@ -2326,7 +2328,7 @@ exports.AxesChartDataConfigAreaColumnLine = {
2326
2328
  exports.default = AxesChartDataConfig;
2327
2329
 
2328
2330
  /***/ }),
2329
- /* 74 */
2331
+ /* 75 */
2330
2332
  /***/ (function(module, exports, __webpack_require__) {
2331
2333
 
2332
2334
  "use strict";
@@ -2341,7 +2343,7 @@ var variables_1 = __webpack_require__(11);
2341
2343
  var BackgroundColor_1 = __webpack_require__(53);
2342
2344
  var themes = {
2343
2345
  defaultBackgroundColor: function defaultBackgroundColor(props) {
2344
- return pick_1.default({
2346
+ return (0, pick_1.default)({
2345
2347
  enterprise: {
2346
2348
  dark: variables_1.default.black(props),
2347
2349
  light: variables_1.default.backgroundColor(props)
@@ -2351,15 +2353,15 @@ var themes = {
2351
2353
  }
2352
2354
  };
2353
2355
  var AxesChartColorAndStyle = {
2354
- label: i18n_1._('Color and style'),
2355
- layout: [BackgroundColor_1.default({
2356
+ label: (0, i18n_1._)('Color and style'),
2357
+ layout: [(0, BackgroundColor_1.default)({
2356
2358
  themes: themes
2357
2359
  }), [{
2358
- label: i18n_1._('Series colors'),
2360
+ label: (0, i18n_1._)('Series colors'),
2359
2361
  option: 'seriesColors',
2360
2362
  editor: 'editor.seriesColors'
2361
2363
  }], [{
2362
- label: i18n_1._('Series colors by field name'),
2364
+ label: (0, i18n_1._)('Series colors by field name'),
2363
2365
  option: 'seriesColorsByField',
2364
2366
  editor: 'editor.seriesColorsByField'
2365
2367
  }]]
@@ -2367,7 +2369,7 @@ var AxesChartColorAndStyle = {
2367
2369
  exports.default = AxesChartColorAndStyle;
2368
2370
 
2369
2371
  /***/ }),
2370
- /* 75 */
2372
+ /* 76 */
2371
2373
  /***/ (function(module, exports, __webpack_require__) {
2372
2374
 
2373
2375
  "use strict";
@@ -2378,45 +2380,45 @@ Object.defineProperty(exports, "__esModule", {
2378
2380
  });
2379
2381
  var i18n_1 = __webpack_require__(2);
2380
2382
  var AxesChartLegend = {
2381
- label: i18n_1._('Legend'),
2383
+ label: (0, i18n_1._)('Legend'),
2382
2384
  layout: [[{
2383
- label: i18n_1._('Legend display'),
2385
+ label: (0, i18n_1._)('Legend display'),
2384
2386
  option: 'legendDisplay',
2385
2387
  editor: 'editor.select',
2386
2388
  editorProps: {
2387
2389
  values: [{
2388
- label: i18n_1._('Right'),
2390
+ label: (0, i18n_1._)('Right'),
2389
2391
  value: 'right'
2390
2392
  }, {
2391
- label: i18n_1._('Left'),
2393
+ label: (0, i18n_1._)('Left'),
2392
2394
  value: 'left'
2393
2395
  }, {
2394
- label: i18n_1._('Top'),
2396
+ label: (0, i18n_1._)('Top'),
2395
2397
  value: 'top'
2396
2398
  }, {
2397
- label: i18n_1._('Bottom'),
2399
+ label: (0, i18n_1._)('Bottom'),
2398
2400
  value: 'bottom'
2399
2401
  }, {
2400
- label: i18n_1._('Off'),
2402
+ label: (0, i18n_1._)('Off'),
2401
2403
  value: 'off'
2402
2404
  }]
2403
2405
  }
2404
2406
  }], [{
2405
- label: i18n_1._('Legend truncation'),
2407
+ label: (0, i18n_1._)('Legend truncation'),
2406
2408
  option: 'legendTruncation',
2407
2409
  editor: 'editor.radioBar',
2408
2410
  editorProps: {
2409
2411
  values: [{
2410
- label: i18n_1._('A...'),
2412
+ label: (0, i18n_1._)('A...'),
2411
2413
  value: 'ellipsisEnd'
2412
2414
  }, {
2413
- label: i18n_1._('A...Z'),
2415
+ label: (0, i18n_1._)('A...Z'),
2414
2416
  value: 'ellipsisMiddle'
2415
2417
  }, {
2416
- label: i18n_1._('...Z'),
2418
+ label: (0, i18n_1._)('...Z'),
2417
2419
  value: 'ellipsisStart'
2418
2420
  }, {
2419
- label: i18n_1._('Off'),
2421
+ label: (0, i18n_1._)('Off'),
2420
2422
  value: 'ellipsisOff'
2421
2423
  }]
2422
2424
  },
@@ -2429,7 +2431,7 @@ var AxesChartLegend = {
2429
2431
  exports.default = AxesChartLegend;
2430
2432
 
2431
2433
  /***/ }),
2432
- /* 76 */
2434
+ /* 77 */
2433
2435
  /***/ (function(module, exports, __webpack_require__) {
2434
2436
 
2435
2437
  "use strict";
@@ -2443,13 +2445,13 @@ exports.AxesChartXGridAndLabelsBubbleScatter = exports.AxesChartXGridAndLabelsCo
2443
2445
  var i18n_1 = __webpack_require__(2);
2444
2446
  var configUtils_1 = __webpack_require__(20);
2445
2447
  exports.AxesChartXGridAndLabelsCommon = {
2446
- label: i18n_1._('X-axis grid and labels'),
2448
+ label: (0, i18n_1._)('X-axis grid and labels'),
2447
2449
  layout: [[{
2448
- label: i18n_1._('Axis title'),
2450
+ label: (0, i18n_1._)('Axis title'),
2449
2451
  option: 'xAxisTitleVisibility',
2450
2452
  editor: 'editor.toggle'
2451
2453
  }], [{
2452
- label: i18n_1._('Axis title text'),
2454
+ label: (0, i18n_1._)('Axis title text'),
2453
2455
  option: 'xAxisTitleText',
2454
2456
  editor: 'editor.text',
2455
2457
  showEditor: function showEditor(_ref) {
@@ -2457,18 +2459,18 @@ exports.AxesChartXGridAndLabelsCommon = {
2457
2459
  return options.xAxisTitleVisibility === 'show' || options.xAxisTitleVisibility === undefined;
2458
2460
  }
2459
2461
  }], [{
2460
- label: i18n_1._('Label visibility'),
2462
+ label: (0, i18n_1._)('Label visibility'),
2461
2463
  option: 'xAxisLabelVisibility',
2462
2464
  editor: 'editor.radioBar',
2463
2465
  editorProps: {
2464
2466
  values: [{
2465
- label: i18n_1._('Auto'),
2467
+ label: (0, i18n_1._)('Auto'),
2466
2468
  value: 'auto'
2467
2469
  }, {
2468
- label: i18n_1._('Show'),
2470
+ label: (0, i18n_1._)('Show'),
2469
2471
  value: 'show'
2470
2472
  }, {
2471
- label: i18n_1._('Hide'),
2473
+ label: (0, i18n_1._)('Hide'),
2472
2474
  value: 'hide'
2473
2475
  }]
2474
2476
  }
@@ -2477,24 +2479,24 @@ exports.AxesChartXGridAndLabelsCommon = {
2477
2479
  var AxesChartXGridAndLabels = {
2478
2480
  label: exports.AxesChartXGridAndLabelsCommon.label,
2479
2481
  layout: [].concat(_toConsumableArray(exports.AxesChartXGridAndLabelsCommon.layout), [[{
2480
- label: i18n_1._('Label rotation'),
2482
+ label: (0, i18n_1._)('Label rotation'),
2481
2483
  option: 'xAxisLabelRotation',
2482
2484
  editor: 'editor.select',
2483
2485
  editorProps: {
2484
2486
  values: [{
2485
- label: i18n_1._('-90'),
2487
+ label: (0, i18n_1._)('-90'),
2486
2488
  value: -90
2487
2489
  }, {
2488
- label: i18n_1._('-45'),
2490
+ label: (0, i18n_1._)('-45'),
2489
2491
  value: -45
2490
2492
  }, {
2491
- label: i18n_1._('0'),
2493
+ label: (0, i18n_1._)('0'),
2492
2494
  value: 0
2493
2495
  }, {
2494
- label: i18n_1._('45'),
2496
+ label: (0, i18n_1._)('45'),
2495
2497
  value: 45
2496
2498
  }, {
2497
- label: i18n_1._('90'),
2499
+ label: (0, i18n_1._)('90'),
2498
2500
  value: 90
2499
2501
  }]
2500
2502
  },
@@ -2503,7 +2505,7 @@ var AxesChartXGridAndLabels = {
2503
2505
  return options.xAxisLabelVisibility === 'show' || options.xAxisLabelVisibility === 'auto' || options.xAxisLabelVisibility === undefined;
2504
2506
  }
2505
2507
  }], [{
2506
- label: i18n_1._('Number of time label parts'),
2508
+ label: (0, i18n_1._)('Number of time label parts'),
2507
2509
  option: 'xAxisMaxLabelParts',
2508
2510
  editor: 'editor.number',
2509
2511
  editorProps: {
@@ -2515,31 +2517,31 @@ var AxesChartXGridAndLabels = {
2515
2517
  return options.xAxisLabelVisibility === 'show' || options.xAxisLabelVisibility === 'auto' || options.xAxisLabelVisibility === undefined;
2516
2518
  }
2517
2519
  }], [{
2518
- label: i18n_1._('Axis line visibility'),
2520
+ label: (0, i18n_1._)('Axis line visibility'),
2519
2521
  option: 'xAxisLineVisibility',
2520
2522
  editor: 'editor.checkbox'
2521
2523
  }], [{
2522
- label: i18n_1._('Major gridlines'),
2524
+ label: (0, i18n_1._)('Major gridlines'),
2523
2525
  option: 'showXMajorGridLines',
2524
2526
  editor: 'editor.checkbox'
2525
2527
  }], [{
2526
- label: i18n_1._('Major tick visibility'),
2528
+ label: (0, i18n_1._)('Major tick visibility'),
2527
2529
  option: 'xAxisMajorTickVisibility',
2528
2530
  editor: 'editor.radioBar',
2529
2531
  editorProps: {
2530
2532
  values: [{
2531
- label: i18n_1._('Auto'),
2533
+ label: (0, i18n_1._)('Auto'),
2532
2534
  value: 'auto'
2533
2535
  }, {
2534
- label: i18n_1._('Show'),
2536
+ label: (0, i18n_1._)('Show'),
2535
2537
  value: 'show'
2536
2538
  }, {
2537
- label: i18n_1._('Hide'),
2539
+ label: (0, i18n_1._)('Hide'),
2538
2540
  value: 'hide'
2539
2541
  }]
2540
2542
  }
2541
2543
  }], [{
2542
- label: i18n_1._('Major tick size (px)'),
2544
+ label: (0, i18n_1._)('Major tick size (px)'),
2543
2545
  option: 'xAxisMajorTickSize',
2544
2546
  editor: 'editor.slider',
2545
2547
  editorProps: {
@@ -2555,38 +2557,38 @@ var AxesChartXGridAndLabels = {
2555
2557
  };
2556
2558
  exports.AxesChartXGridAndLabelsBubbleScatter = {
2557
2559
  label: exports.AxesChartXGridAndLabelsCommon.label,
2558
- layout: [].concat(_toConsumableArray(configUtils_1.insertLayout(exports.AxesChartXGridAndLabelsCommon.layout, 2, [{
2559
- label: i18n_1._('Axis scale'),
2560
+ layout: [].concat(_toConsumableArray((0, configUtils_1.insertLayout)(exports.AxesChartXGridAndLabelsCommon.layout, 2, [{
2561
+ label: (0, i18n_1._)('Axis scale'),
2560
2562
  option: 'xAxisScale',
2561
2563
  editor: 'editor.radioBar',
2562
2564
  editorProps: {
2563
2565
  values: [{
2564
- label: i18n_1._('Linear'),
2566
+ label: (0, i18n_1._)('Linear'),
2565
2567
  value: 'linear'
2566
2568
  }, {
2567
- label: i18n_1._('Log'),
2569
+ label: (0, i18n_1._)('Log'),
2568
2570
  value: 'log'
2569
2571
  }]
2570
2572
  }
2571
2573
  }])), [[{
2572
- label: i18n_1._('Label rotation'),
2574
+ label: (0, i18n_1._)('Label rotation'),
2573
2575
  option: 'xAxisLabelRotation',
2574
2576
  editor: 'editor.select',
2575
2577
  editorProps: {
2576
2578
  values: [{
2577
- label: i18n_1._('-90'),
2579
+ label: (0, i18n_1._)('-90'),
2578
2580
  value: -90
2579
2581
  }, {
2580
- label: i18n_1._('-45'),
2582
+ label: (0, i18n_1._)('-45'),
2581
2583
  value: -45
2582
2584
  }, {
2583
- label: i18n_1._('0'),
2585
+ label: (0, i18n_1._)('0'),
2584
2586
  value: 0
2585
2587
  }, {
2586
- label: i18n_1._('45'),
2588
+ label: (0, i18n_1._)('45'),
2587
2589
  value: 45
2588
2590
  }, {
2589
- label: i18n_1._('90'),
2591
+ label: (0, i18n_1._)('90'),
2590
2592
  value: 90
2591
2593
  }]
2592
2594
  },
@@ -2595,7 +2597,7 @@ exports.AxesChartXGridAndLabelsBubbleScatter = {
2595
2597
  return options.xAxisLabelVisibility === 'show' || options.xAxisLabelVisibility === 'auto' || options.xAxisLabelVisibility === undefined;
2596
2598
  }
2597
2599
  }], [{
2598
- label: i18n_1._('Round axis labels'),
2600
+ label: (0, i18n_1._)('Round axis labels'),
2599
2601
  option: 'showRoundedXAxisLabels',
2600
2602
  editor: 'editor.checkbox',
2601
2603
  showEditor: function showEditor(_ref6) {
@@ -2603,7 +2605,7 @@ exports.AxesChartXGridAndLabelsBubbleScatter = {
2603
2605
  return options.xAxisLabelVisibility === 'show' || options.xAxisLabelVisibility === 'auto' || options.xAxisLabelVisibility === undefined;
2604
2606
  }
2605
2607
  }], [{
2606
- label: i18n_1._('SI prefix abbreviation for labels'),
2608
+ label: (0, i18n_1._)('SI prefix abbreviation for labels'),
2607
2609
  option: 'xAxisAbbreviation',
2608
2610
  editor: 'editor.checkbox',
2609
2611
  showEditor: function showEditor(_ref7) {
@@ -2611,23 +2613,23 @@ exports.AxesChartXGridAndLabelsBubbleScatter = {
2611
2613
  return options.xAxisLabelVisibility === 'show' || options.xAxisLabelVisibility === 'auto' || options.xAxisLabelVisibility === undefined;
2612
2614
  }
2613
2615
  }], [{
2614
- label: i18n_1._('Include zero'),
2616
+ label: (0, i18n_1._)('Include zero'),
2615
2617
  option: 'showXAxisWithZero',
2616
2618
  editor: 'editor.checkbox'
2617
2619
  }], [{
2618
- label: i18n_1._('Extend to whole grid'),
2620
+ label: (0, i18n_1._)('Extend to whole grid'),
2619
2621
  option: 'showXAxisExtendedRange',
2620
2622
  editor: 'editor.checkbox'
2621
2623
  }], [{
2622
- label: i18n_1._('Minimum axis value'),
2624
+ label: (0, i18n_1._)('Minimum axis value'),
2623
2625
  option: 'xAxisMin',
2624
2626
  editor: 'editor.number'
2625
2627
  }, {
2626
- label: i18n_1._('Maximum axis value'),
2628
+ label: (0, i18n_1._)('Maximum axis value'),
2627
2629
  option: 'xAxisMax',
2628
2630
  editor: 'editor.number'
2629
2631
  }], [{
2630
- label: i18n_1._('Axis line visibility'),
2632
+ label: (0, i18n_1._)('Axis line visibility'),
2631
2633
  option: 'xAxisLineVisibility',
2632
2634
  editor: 'editor.checkbox'
2633
2635
  }],
@@ -2640,23 +2642,23 @@ exports.AxesChartXGridAndLabelsBubbleScatter = {
2640
2642
  // },
2641
2643
  // ],
2642
2644
  [{
2643
- label: i18n_1._('Major tick visibility'),
2645
+ label: (0, i18n_1._)('Major tick visibility'),
2644
2646
  option: 'xAxisMajorTickVisibility',
2645
2647
  editor: 'editor.radioBar',
2646
2648
  editorProps: {
2647
2649
  values: [{
2648
- label: i18n_1._('Auto'),
2650
+ label: (0, i18n_1._)('Auto'),
2649
2651
  value: 'auto'
2650
2652
  }, {
2651
- label: i18n_1._('Show'),
2653
+ label: (0, i18n_1._)('Show'),
2652
2654
  value: 'show'
2653
2655
  }, {
2654
- label: i18n_1._('Hide'),
2656
+ label: (0, i18n_1._)('Hide'),
2655
2657
  value: 'hide'
2656
2658
  }]
2657
2659
  }
2658
2660
  }], [{
2659
- label: i18n_1._('Major tick size (px)'),
2661
+ label: (0, i18n_1._)('Major tick size (px)'),
2660
2662
  option: 'xAxisMajorTickSize',
2661
2663
  editor: 'editor.slider',
2662
2664
  editorProps: {
@@ -2669,7 +2671,7 @@ exports.AxesChartXGridAndLabelsBubbleScatter = {
2669
2671
  return options.xAxisMajorTickVisibility === 'show' || options.xAxisMajorTickVisibility === 'auto' || options.xAxisMajorTickVisibility === undefined;
2670
2672
  }
2671
2673
  }], [{
2672
- label: i18n_1._('Major tick interval spacing'),
2674
+ label: (0, i18n_1._)('Major tick interval spacing'),
2673
2675
  option: 'xAxisMajorTickInterval',
2674
2676
  editor: 'editor.number',
2675
2677
  showEditor: function showEditor(_ref9) {
@@ -2677,27 +2679,27 @@ exports.AxesChartXGridAndLabelsBubbleScatter = {
2677
2679
  return options.xAxisMajorTickVisibility === 'show' || options.xAxisMajorTickVisibility === 'auto' || options.xAxisMajorTickVisibility === undefined;
2678
2680
  }
2679
2681
  }], [{
2680
- label: i18n_1._('Minor gridlines'),
2682
+ label: (0, i18n_1._)('Minor gridlines'),
2681
2683
  option: 'showXMinorGridLines',
2682
2684
  editor: 'editor.checkbox'
2683
2685
  }], [{
2684
- label: i18n_1._('Minor tick visibility'),
2686
+ label: (0, i18n_1._)('Minor tick visibility'),
2685
2687
  option: 'xAxisMinorTickVisibility',
2686
2688
  editor: 'editor.radioBar',
2687
2689
  editorProps: {
2688
2690
  values: [{
2689
- label: i18n_1._('Auto'),
2691
+ label: (0, i18n_1._)('Auto'),
2690
2692
  value: 'auto'
2691
2693
  }, {
2692
- label: i18n_1._('Show'),
2694
+ label: (0, i18n_1._)('Show'),
2693
2695
  value: 'show'
2694
2696
  }, {
2695
- label: i18n_1._('Hide'),
2697
+ label: (0, i18n_1._)('Hide'),
2696
2698
  value: 'hide'
2697
2699
  }]
2698
2700
  }
2699
2701
  }], [{
2700
- label: i18n_1._('Minor tick size (px)'),
2702
+ label: (0, i18n_1._)('Minor tick size (px)'),
2701
2703
  option: 'xAxisMinorTickSize',
2702
2704
  editor: 'editor.slider',
2703
2705
  editorProps: {
@@ -2714,7 +2716,7 @@ exports.AxesChartXGridAndLabelsBubbleScatter = {
2714
2716
  exports.default = AxesChartXGridAndLabels;
2715
2717
 
2716
2718
  /***/ }),
2717
- /* 77 */
2719
+ /* 78 */
2718
2720
  /***/ (function(module, exports, __webpack_require__) {
2719
2721
 
2720
2722
  "use strict";
@@ -2725,13 +2727,13 @@ Object.defineProperty(exports, "__esModule", {
2725
2727
  });
2726
2728
  var i18n_1 = __webpack_require__(2);
2727
2729
  var AxesChartYGridAndLabels = {
2728
- label: i18n_1._('Y-axis grid and labels'),
2730
+ label: (0, i18n_1._)('Y-axis grid and labels'),
2729
2731
  layout: [[{
2730
- label: i18n_1._('Axis title'),
2732
+ label: (0, i18n_1._)('Axis title'),
2731
2733
  option: 'yAxisTitleVisibility',
2732
2734
  editor: 'editor.toggle'
2733
2735
  }], [{
2734
- label: i18n_1._('Axis title text'),
2736
+ label: (0, i18n_1._)('Axis title text'),
2735
2737
  option: 'yAxisTitleText',
2736
2738
  editor: 'editor.text',
2737
2739
  showEditor: function showEditor(_ref) {
@@ -2739,36 +2741,36 @@ var AxesChartYGridAndLabels = {
2739
2741
  return options.yAxisTitleVisibility === 'show' || options.yAxisTitleVisibility === undefined;
2740
2742
  }
2741
2743
  }], [{
2742
- label: i18n_1._('Scale'),
2744
+ label: (0, i18n_1._)('Scale'),
2743
2745
  option: 'yAxisScale',
2744
2746
  editor: 'editor.radioBar',
2745
2747
  editorProps: {
2746
2748
  values: [{
2747
- label: i18n_1._('Linear'),
2749
+ label: (0, i18n_1._)('Linear'),
2748
2750
  value: 'linear'
2749
2751
  }, {
2750
- label: i18n_1._('Log'),
2752
+ label: (0, i18n_1._)('Log'),
2751
2753
  value: 'log'
2752
2754
  }]
2753
2755
  }
2754
2756
  }], [{
2755
- label: i18n_1._('Label visibility'),
2757
+ label: (0, i18n_1._)('Label visibility'),
2756
2758
  option: 'yAxisLabelVisibility',
2757
2759
  editor: 'editor.radioBar',
2758
2760
  editorProps: {
2759
2761
  values: [{
2760
- label: i18n_1._('Auto'),
2762
+ label: (0, i18n_1._)('Auto'),
2761
2763
  value: 'auto'
2762
2764
  }, {
2763
- label: i18n_1._('Show'),
2765
+ label: (0, i18n_1._)('Show'),
2764
2766
  value: 'show'
2765
2767
  }, {
2766
- label: i18n_1._('Hide'),
2768
+ label: (0, i18n_1._)('Hide'),
2767
2769
  value: 'hide'
2768
2770
  }]
2769
2771
  }
2770
2772
  }], [{
2771
- label: i18n_1._('SI prefix abbreviation for labels'),
2773
+ label: (0, i18n_1._)('SI prefix abbreviation for labels'),
2772
2774
  option: 'yAxisAbbreviation',
2773
2775
  editor: 'editor.checkbox',
2774
2776
  showEditor: function showEditor(_ref2) {
@@ -2776,47 +2778,47 @@ var AxesChartYGridAndLabels = {
2776
2778
  return options.yAxisLabelVisibility === 'show' || options.yAxisLabelVisibility === 'auto' || options.yAxisLabelVisibility === undefined;
2777
2779
  }
2778
2780
  }], [{
2779
- label: i18n_1._('Include zero'),
2781
+ label: (0, i18n_1._)('Include zero'),
2780
2782
  option: 'showYAxisWithZero',
2781
2783
  editor: 'editor.checkbox'
2782
2784
  }], [{
2783
- label: i18n_1._('Extend to whole grid'),
2785
+ label: (0, i18n_1._)('Extend to whole grid'),
2784
2786
  option: 'showYAxisExtendedRange',
2785
2787
  editor: 'editor.checkbox'
2786
2788
  }], [{
2787
- label: i18n_1._('Minimum axis value'),
2789
+ label: (0, i18n_1._)('Minimum axis value'),
2788
2790
  option: 'yAxisMin',
2789
2791
  editor: 'editor.number'
2790
2792
  }, {
2791
- label: i18n_1._('Maximum axis value'),
2793
+ label: (0, i18n_1._)('Maximum axis value'),
2792
2794
  option: 'yAxisMax',
2793
2795
  editor: 'editor.number'
2794
2796
  }], [{
2795
- label: i18n_1._('Axis line visibility'),
2797
+ label: (0, i18n_1._)('Axis line visibility'),
2796
2798
  option: 'yAxisLineVisibility',
2797
2799
  editor: 'editor.checkbox'
2798
2800
  }], [{
2799
- label: i18n_1._('Major gridlines'),
2801
+ label: (0, i18n_1._)('Major gridlines'),
2800
2802
  option: 'showYMajorGridLines',
2801
2803
  editor: 'editor.checkbox'
2802
2804
  }], [{
2803
- label: i18n_1._('Major tick visibility'),
2805
+ label: (0, i18n_1._)('Major tick visibility'),
2804
2806
  option: 'yAxisMajorTickVisibility',
2805
2807
  editor: 'editor.radioBar',
2806
2808
  editorProps: {
2807
2809
  values: [{
2808
- label: i18n_1._('Auto'),
2810
+ label: (0, i18n_1._)('Auto'),
2809
2811
  value: 'auto'
2810
2812
  }, {
2811
- label: i18n_1._('Show'),
2813
+ label: (0, i18n_1._)('Show'),
2812
2814
  value: 'show'
2813
2815
  }, {
2814
- label: i18n_1._('Hide'),
2816
+ label: (0, i18n_1._)('Hide'),
2815
2817
  value: 'hide'
2816
2818
  }]
2817
2819
  }
2818
2820
  }], [{
2819
- label: i18n_1._('Major tick size (px)'),
2821
+ label: (0, i18n_1._)('Major tick size (px)'),
2820
2822
  option: 'yAxisMajorTickSize',
2821
2823
  editor: 'editor.slider',
2822
2824
  editorProps: {
@@ -2829,7 +2831,7 @@ var AxesChartYGridAndLabels = {
2829
2831
  return options.yAxisMajorTickVisibility === 'show' || options.yAxisMajorTickVisibility === 'auto' || options.yAxisMajorTickVisibility === undefined;
2830
2832
  }
2831
2833
  }], [{
2832
- label: i18n_1._('Major tick interval spacing'),
2834
+ label: (0, i18n_1._)('Major tick interval spacing'),
2833
2835
  option: 'yAxisMajorTickInterval',
2834
2836
  editor: 'editor.number',
2835
2837
  showEditor: function showEditor(_ref4) {
@@ -2837,27 +2839,27 @@ var AxesChartYGridAndLabels = {
2837
2839
  return options.yAxisMajorTickVisibility === 'show' || options.yAxisMajorTickVisibility === 'auto' || options.yAxisMajorTickVisibility === undefined;
2838
2840
  }
2839
2841
  }], [{
2840
- label: i18n_1._('Minor gridlines'),
2842
+ label: (0, i18n_1._)('Minor gridlines'),
2841
2843
  option: 'showYMinorGridLines',
2842
2844
  editor: 'editor.checkbox'
2843
2845
  }], [{
2844
- label: i18n_1._('Minor tick visibility'),
2846
+ label: (0, i18n_1._)('Minor tick visibility'),
2845
2847
  option: 'yAxisMinorTickVisibility',
2846
2848
  editor: 'editor.radioBar',
2847
2849
  editorProps: {
2848
2850
  values: [{
2849
- label: i18n_1._('Auto'),
2851
+ label: (0, i18n_1._)('Auto'),
2850
2852
  value: 'auto'
2851
2853
  }, {
2852
- label: i18n_1._('Show'),
2854
+ label: (0, i18n_1._)('Show'),
2853
2855
  value: 'show'
2854
2856
  }, {
2855
- label: i18n_1._('Hide'),
2857
+ label: (0, i18n_1._)('Hide'),
2856
2858
  value: 'hide'
2857
2859
  }]
2858
2860
  }
2859
2861
  }], [{
2860
- label: i18n_1._('Minor tick size (px)'),
2862
+ label: (0, i18n_1._)('Minor tick size (px)'),
2861
2863
  option: 'yAxisMinorTickSize',
2862
2864
  editor: 'editor.slider',
2863
2865
  editorProps: {
@@ -2874,7 +2876,6 @@ var AxesChartYGridAndLabels = {
2874
2876
  exports.default = AxesChartYGridAndLabels;
2875
2877
 
2876
2878
  /***/ }),
2877
- /* 78 */,
2878
2879
  /* 79 */,
2879
2880
  /* 80 */,
2880
2881
  /* 81 */,
@@ -2939,7 +2940,10 @@ exports.default = AxesChartYGridAndLabels;
2939
2940
  /* 140 */,
2940
2941
  /* 141 */,
2941
2942
  /* 142 */,
2942
- /* 143 */
2943
+ /* 143 */,
2944
+ /* 144 */,
2945
+ /* 145 */,
2946
+ /* 146 */
2943
2947
  /***/ (function(module, exports, __webpack_require__) {
2944
2948
 
2945
2949
  "use strict";
@@ -2962,14 +2966,14 @@ exports.config = exports.themes = exports.computeVizProps = void 0;
2962
2966
  var lodash_1 = __webpack_require__(3);
2963
2967
  // Charting imports i18n which needs to be run to instantiate window globals in the tests
2964
2968
  // eslint-disable-next-line import/order
2965
- var Charting_1 = __webpack_require__(64);
2966
- var charting_bundle_1 = __webpack_require__(56);
2967
- var simpleXMLOptions_1 = __webpack_require__(69);
2968
- var config_1 = __webpack_require__(180);
2969
+ var Charting_1 = __webpack_require__(65);
2970
+ var charting_bundle_1 = __webpack_require__(55);
2971
+ var simpleXMLOptions_1 = __webpack_require__(70);
2972
+ var config_1 = __webpack_require__(183);
2969
2973
  exports.config = config_1.default;
2970
2974
  var withDashboardViz_1 = __webpack_require__(36);
2971
- var bubbleUtils_1 = __webpack_require__(181);
2972
- var chartingUtils_1 = __webpack_require__(55);
2975
+ var bubbleUtils_1 = __webpack_require__(184);
2976
+ var chartingUtils_1 = __webpack_require__(56);
2973
2977
  var validOptions = Object.keys(config_1.default.optionsSchema);
2974
2978
  var computeVizProps = function computeVizProps(_a) {
2975
2979
  var dataSources = _a.dataSources,
@@ -2991,8 +2995,8 @@ var computeVizProps = function computeVizProps(_a) {
2991
2995
  visualizationApiRef: visualizationApiRef
2992
2996
  };
2993
2997
  var hasEventHandlers = otherOptions.hasEventHandlers;
2994
- computedProps.options = lodash_1.chain(otherOptions).pick(validOptions).thru(bubbleUtils_1.convertToBubbleSCProperties).thru(function (options) {
2995
- return Object.assign(Object.assign({}, simpleXMLOptions_1.getSimpleXMLOptionsForProps(options)), {
2998
+ computedProps.options = (0, lodash_1.chain)(otherOptions).pick(validOptions).thru(bubbleUtils_1.convertToBubbleSCProperties).thru(function (options) {
2999
+ return Object.assign(Object.assign({}, (0, simpleXMLOptions_1.getSimpleXMLOptionsForProps)(options)), {
2996
3000
  chart: 'bubble'
2997
3001
  });
2998
3002
  }).value();
@@ -3015,7 +3019,7 @@ var computeVizProps = function computeVizProps(_a) {
3015
3019
  primaryData.fields = fields;
3016
3020
  var truncationLimit = computedProps.options['chart.resultTruncationLimit'];
3017
3021
  if (truncationLimit) {
3018
- primaryData = chartingUtils_1.truncateData(primaryData, truncationLimit);
3022
+ primaryData = (0, chartingUtils_1.truncateData)(primaryData, truncationLimit);
3019
3023
  }
3020
3024
  computedProps.chartData = charting_bundle_1.default.extractChartReadyData(Object.assign({}, primaryData));
3021
3025
  if (hasEventHandlers) {
@@ -3030,7 +3034,7 @@ var computeVizProps = function computeVizProps(_a) {
3030
3034
  return computedProps;
3031
3035
  };
3032
3036
  exports.computeVizProps = computeVizProps;
3033
- var Bubble = withDashboardViz_1.default({
3037
+ var Bubble = (0, withDashboardViz_1.default)({
3034
3038
  ReactViz: Charting_1.default,
3035
3039
  computeVizProps: exports.computeVizProps,
3036
3040
  vizConfig: config_1.default
@@ -3040,9 +3044,6 @@ exports.themes = themes;
3040
3044
  exports.default = Bubble;
3041
3045
 
3042
3046
  /***/ }),
3043
- /* 144 */,
3044
- /* 145 */,
3045
- /* 146 */,
3046
3047
  /* 147 */,
3047
3048
  /* 148 */,
3048
3049
  /* 149 */,
@@ -3075,7 +3076,10 @@ exports.default = Bubble;
3075
3076
  /* 176 */,
3076
3077
  /* 177 */,
3077
3078
  /* 178 */,
3078
- /* 179 */
3079
+ /* 179 */,
3080
+ /* 180 */,
3081
+ /* 181 */,
3082
+ /* 182 */
3079
3083
  /***/ (function(module, exports, __webpack_require__) {
3080
3084
 
3081
3085
  "use strict";
@@ -3083,12 +3087,16 @@ exports.default = Bubble;
3083
3087
 
3084
3088
  var __createBinding = this && this.__createBinding || (Object.create ? function (o, m, k, k2) {
3085
3089
  if (k2 === undefined) k2 = k;
3086
- Object.defineProperty(o, k2, {
3087
- enumerable: true,
3088
- get: function get() {
3089
- return m[k];
3090
- }
3091
- });
3090
+ var desc = Object.getOwnPropertyDescriptor(m, k);
3091
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
3092
+ desc = {
3093
+ enumerable: true,
3094
+ get: function get() {
3095
+ return m[k];
3096
+ }
3097
+ };
3098
+ }
3099
+ Object.defineProperty(o, k2, desc);
3092
3100
  } : function (o, m, k, k2) {
3093
3101
  if (k2 === undefined) k2 = k;
3094
3102
  o[k2] = m[k];
@@ -3102,8 +3110,8 @@ Object.defineProperty(exports, "__esModule", {
3102
3110
  value: true
3103
3111
  });
3104
3112
  exports.default = void 0;
3105
- __exportStar(__webpack_require__(143), exports);
3106
- var Bubble_1 = __webpack_require__(143);
3113
+ __exportStar(__webpack_require__(146), exports);
3114
+ var Bubble_1 = __webpack_require__(146);
3107
3115
  Object.defineProperty(exports, "default", {
3108
3116
  enumerable: true,
3109
3117
  get: function get() {
@@ -3112,7 +3120,7 @@ Object.defineProperty(exports, "default", {
3112
3120
  });
3113
3121
 
3114
3122
  /***/ }),
3115
- /* 180 */
3123
+ /* 183 */
3116
3124
  /***/ (function(module, exports, __webpack_require__) {
3117
3125
 
3118
3126
  "use strict";
@@ -3123,17 +3131,17 @@ Object.defineProperty(exports, "__esModule", {
3123
3131
  value: true
3124
3132
  });
3125
3133
  var visualization_icons_1 = __webpack_require__(52);
3126
- var placeholders_1 = __webpack_require__(49);
3134
+ var placeholders_1 = __webpack_require__(50);
3127
3135
  var schemaUtils_1 = __webpack_require__(16);
3128
3136
  var visualization_color_palettes_1 = __webpack_require__(51);
3129
3137
  var pick_1 = __webpack_require__(23);
3130
3138
  var variables_1 = __webpack_require__(11);
3131
3139
  var i18n_1 = __webpack_require__(2);
3132
- var AxesChartDataConfig_1 = __webpack_require__(73);
3133
- var AxesChartXGridAndLabels_1 = __webpack_require__(76);
3134
- var AxesChartColorAndStyle_1 = __webpack_require__(74);
3135
- var AxesChartLegend_1 = __webpack_require__(75);
3136
- var AxesChartYGridAndLabels_1 = __webpack_require__(77);
3140
+ var AxesChartDataConfig_1 = __webpack_require__(74);
3141
+ var AxesChartXGridAndLabels_1 = __webpack_require__(77);
3142
+ var AxesChartColorAndStyle_1 = __webpack_require__(75);
3143
+ var AxesChartLegend_1 = __webpack_require__(76);
3144
+ var AxesChartYGridAndLabels_1 = __webpack_require__(78);
3137
3145
  var VizBehavior_1 = __webpack_require__(6);
3138
3146
  var VizCategory_1 = __webpack_require__(35);
3139
3147
  var configUtils_1 = __webpack_require__(20);
@@ -3232,19 +3240,19 @@ var optionsSchema = {
3232
3240
  bubbleSizeMethod: {
3233
3241
  default: 'area',
3234
3242
  description: 'Specify how bubble size is measured.',
3235
- pattern: schemaUtils_1.getPattern(['area', 'diameter']),
3243
+ pattern: (0, schemaUtils_1.getPattern)(['area', 'diameter']),
3236
3244
  type: 'string'
3237
3245
  },
3238
3246
  legendDisplay: {
3239
3247
  default: 'right',
3240
3248
  description: 'Specify the location of the legend on the panel.',
3241
- pattern: schemaUtils_1.getPattern(['right', 'left', 'top', 'bottom', 'off']),
3249
+ pattern: (0, schemaUtils_1.getPattern)(['right', 'left', 'top', 'bottom', 'off']),
3242
3250
  type: 'string'
3243
3251
  },
3244
3252
  legendTruncation: {
3245
3253
  default: 'ellipsisEnd',
3246
3254
  description: 'Specify where to use ellipsis to replace legend labels that overflow the layout.',
3247
- pattern: schemaUtils_1.getPattern(['ellipsisEnd', 'ellipsisMiddle', 'ellipsisStart', 'ellipsisOff']),
3255
+ pattern: (0, schemaUtils_1.getPattern)(['ellipsisEnd', 'ellipsisMiddle', 'ellipsisStart', 'ellipsisOff']),
3248
3256
  type: 'string'
3249
3257
  },
3250
3258
  resultLimit: {
@@ -3320,40 +3328,40 @@ var optionsSchema = {
3320
3328
  default: 'off',
3321
3329
  description: 'Specify whether to abbreviate large x-axis values with the closest International System of Units (SI) prefix.',
3322
3330
  enum: ['off', 'auto'],
3323
- pattern: schemaUtils_1.getPattern(['auto', 'off']),
3331
+ pattern: (0, schemaUtils_1.getPattern)(['auto', 'off']),
3324
3332
  type: 'string'
3325
3333
  },
3326
3334
  yAxisAbbreviation: {
3327
3335
  default: 'auto',
3328
3336
  description: 'Specify whether to abbreviate large y-axis values with the closest International System of Units (SI) prefix.',
3329
3337
  enum: ['off', 'auto'],
3330
- pattern: schemaUtils_1.getPattern(['auto', 'off']),
3338
+ pattern: (0, schemaUtils_1.getPattern)(['auto', 'off']),
3331
3339
  type: 'string'
3332
3340
  },
3333
3341
  xAxisLabelVisibility: {
3334
3342
  default: 'auto',
3335
3343
  description: 'Specify whether to show or hide labels on the x-axis.',
3336
- pattern: schemaUtils_1.getPattern(['auto', 'show', 'hide']),
3344
+ pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
3337
3345
  type: 'string'
3338
3346
  },
3339
3347
  yAxisLabelVisibility: {
3340
3348
  default: 'auto',
3341
3349
  description: 'Specify whether to show or hide labels on the y-axis.',
3342
- pattern: schemaUtils_1.getPattern(['auto', 'show', 'hide']),
3350
+ pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
3343
3351
  type: 'string'
3344
3352
  },
3345
3353
  xAxisLineVisibility: {
3346
3354
  default: 'hide',
3347
3355
  description: 'Specify whether to show the x-axis line.',
3348
3356
  enum: ['hide', 'show'],
3349
- pattern: schemaUtils_1.getPattern(['show', 'hide']),
3357
+ pattern: (0, schemaUtils_1.getPattern)(['show', 'hide']),
3350
3358
  type: 'string'
3351
3359
  },
3352
3360
  yAxisLineVisibility: {
3353
3361
  default: 'hide',
3354
3362
  description: 'Specify whether to show the y-axis line.',
3355
3363
  enum: ['hide', 'show'],
3356
- pattern: schemaUtils_1.getPattern(['show', 'hide']),
3364
+ pattern: (0, schemaUtils_1.getPattern)(['show', 'hide']),
3357
3365
  type: 'string'
3358
3366
  },
3359
3367
  xAxisMajorTickInterval: {
@@ -3389,25 +3397,25 @@ var optionsSchema = {
3389
3397
  xAxisMajorTickVisibility: {
3390
3398
  default: 'auto',
3391
3399
  description: 'Specify whether to show or hide major tick marks on the x-axis.',
3392
- pattern: schemaUtils_1.getPattern(['auto', 'show', 'hide']),
3400
+ pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
3393
3401
  type: 'string'
3394
3402
  },
3395
3403
  yAxisMajorTickVisibility: {
3396
3404
  default: 'auto',
3397
3405
  description: 'Specify whether to show or hide major tick marks on the y-axis.',
3398
- pattern: schemaUtils_1.getPattern(['auto', 'show', 'hide']),
3406
+ pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
3399
3407
  type: 'string'
3400
3408
  },
3401
3409
  xAxisMinorTickVisibility: {
3402
3410
  default: 'auto',
3403
3411
  description: 'Specify whether to show or hide minor tick marks on the x-axis .',
3404
- pattern: schemaUtils_1.getPattern(['auto', 'show', 'hide']),
3412
+ pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
3405
3413
  type: 'string'
3406
3414
  },
3407
3415
  yAxisMinorTickVisibility: {
3408
3416
  default: 'auto',
3409
3417
  description: 'Specify whether to show or hide minor tick marks on the y-axis.',
3410
- pattern: schemaUtils_1.getPattern(['auto', 'show', 'hide']),
3418
+ pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
3411
3419
  type: 'string'
3412
3420
  },
3413
3421
  xAxisMax: {
@@ -3433,13 +3441,13 @@ var optionsSchema = {
3433
3441
  xAxisScale: {
3434
3442
  default: 'linear',
3435
3443
  description: 'Specify the type of scale that applies to a numerical x-axis.',
3436
- pattern: schemaUtils_1.getPattern(['linear', 'log']),
3444
+ pattern: (0, schemaUtils_1.getPattern)(['linear', 'log']),
3437
3445
  type: 'string'
3438
3446
  },
3439
3447
  yAxisScale: {
3440
3448
  default: 'linear',
3441
3449
  description: 'Specify the type of scale that applies to a numerical y-axis.',
3442
- pattern: schemaUtils_1.getPattern(['linear', 'log']),
3450
+ pattern: (0, schemaUtils_1.getPattern)(['linear', 'log']),
3443
3451
  type: 'string'
3444
3452
  },
3445
3453
  xAxisTitleText: {
@@ -3454,20 +3462,20 @@ var optionsSchema = {
3454
3462
  default: 'show',
3455
3463
  description: 'Specify whether to hide the title of the x-axis.',
3456
3464
  enum: ['hide', 'show'],
3457
- pattern: schemaUtils_1.getPattern(['show', 'hide']),
3465
+ pattern: (0, schemaUtils_1.getPattern)(['show', 'hide']),
3458
3466
  type: 'string'
3459
3467
  },
3460
3468
  yAxisTitleVisibility: {
3461
3469
  default: 'show',
3462
3470
  description: 'Specify whether to hide the title of the y-axis.',
3463
3471
  enum: ['hide', 'show'],
3464
- pattern: schemaUtils_1.getPattern(['show', 'hide']),
3472
+ pattern: (0, schemaUtils_1.getPattern)(['show', 'hide']),
3465
3473
  type: 'string'
3466
3474
  }
3467
3475
  };
3468
3476
  var themes = {
3469
3477
  defaultBackgroundColor: function defaultBackgroundColor(props) {
3470
- return pick_1.default({
3478
+ return (0, pick_1.default)({
3471
3479
  enterprise: {
3472
3480
  dark: variables_1.default.black(props),
3473
3481
  light: variables_1.default.backgroundColor(props)
@@ -3479,14 +3487,14 @@ var themes = {
3479
3487
  var editorConfig = [AxesChartDataConfig_1.AxesChartDataConfigBubble, {
3480
3488
  label: AxesChartColorAndStyle_1.default.label,
3481
3489
  layout: [].concat(_toConsumableArray(AxesChartColorAndStyle_1.default.layout.slice(0, 2)), [[{
3482
- label: i18n_1._('Series colors by category name'),
3490
+ label: (0, i18n_1._)('Series colors by category name'),
3483
3491
  option: 'seriesColorsByField',
3484
3492
  editor: 'editor.seriesColorsByField',
3485
3493
  editorProps: {
3486
3494
  isCategorical: true
3487
3495
  }
3488
3496
  }], [{
3489
- label: i18n_1._('Maximum bubble size'),
3497
+ label: (0, i18n_1._)('Maximum bubble size'),
3490
3498
  option: 'bubbleSizeMax',
3491
3499
  editor: 'editor.slider',
3492
3500
  editorProps: {
@@ -3495,7 +3503,7 @@ var editorConfig = [AxesChartDataConfig_1.AxesChartDataConfigBubble, {
3495
3503
  step: 1
3496
3504
  }
3497
3505
  }], [{
3498
- label: i18n_1._('Minimum bubble size'),
3506
+ label: (0, i18n_1._)('Minimum bubble size'),
3499
3507
  option: 'bubbleSizeMin',
3500
3508
  editor: 'editor.slider',
3501
3509
  editorProps: {
@@ -3504,15 +3512,15 @@ var editorConfig = [AxesChartDataConfig_1.AxesChartDataConfigBubble, {
3504
3512
  step: 1
3505
3513
  }
3506
3514
  }], [{
3507
- label: i18n_1._('Calculation method for bubble size'),
3515
+ label: (0, i18n_1._)('Calculation method for bubble size'),
3508
3516
  option: 'bubbleSizeMethod',
3509
3517
  editor: 'editor.radioBar',
3510
3518
  editorProps: {
3511
3519
  values: [{
3512
- label: i18n_1._('Area'),
3520
+ label: (0, i18n_1._)('Area'),
3513
3521
  value: 'area'
3514
3522
  }, {
3515
- label: i18n_1._('Diameter'),
3523
+ label: (0, i18n_1._)('Diameter'),
3516
3524
  value: 'diameter'
3517
3525
  }]
3518
3526
  }
@@ -3529,7 +3537,7 @@ var config = {
3529
3537
  /**
3530
3538
  * viz name
3531
3539
  */
3532
- name: i18n_1._('Bubble'),
3540
+ name: (0, i18n_1._)('Bubble'),
3533
3541
  category: VizCategory_1.VizCategory.CORRELATION,
3534
3542
  /**
3535
3543
  * viz icon
@@ -3552,10 +3560,10 @@ var config = {
3552
3560
  supports: [VizBehavior_1.VizBehavior.DYNAMIC_OPTIONS, VizBehavior_1.VizBehavior.PLACEHOLDER, VizBehavior_1.VizBehavior.EVENTS],
3553
3561
  themes: themes
3554
3562
  };
3555
- exports.default = configUtils_1.enhanceConfig(config);
3563
+ exports.default = (0, configUtils_1.enhanceConfig)(config);
3556
3564
 
3557
3565
  /***/ }),
3558
- /* 181 */
3566
+ /* 184 */
3559
3567
  /***/ (function(module, exports, __webpack_require__) {
3560
3568
 
3561
3569
  "use strict";
@@ -3566,8 +3574,8 @@ Object.defineProperty(exports, "__esModule", {
3566
3574
  });
3567
3575
  exports.convertToBubbleSCProperties = exports.mapToOldKey = exports.convertToStringValues = exports.bubbleOptionValuesSCMapping = void 0;
3568
3576
  var lodash_1 = __webpack_require__(3);
3569
- var propUtils_1 = __webpack_require__(28);
3570
- var chartingUtils_1 = __webpack_require__(55);
3577
+ var propUtils_1 = __webpack_require__(29);
3578
+ var chartingUtils_1 = __webpack_require__(56);
3571
3579
  // map for key names which are either new or not present in SimpleXML options mapping
3572
3580
  var bubbleOptionsSCMapping = {
3573
3581
  xAxisLabelRotation: 'xAxisMajorLabelRotation',
@@ -3619,7 +3627,7 @@ exports.bubbleOptionValuesSCMapping = {
3619
3627
  * @returns {Object}
3620
3628
  */
3621
3629
  var convertToStringValues = function convertToStringValues(options) {
3622
- var updatedOptions = propUtils_1.convertPropsToString({
3630
+ var updatedOptions = (0, propUtils_1.convertPropsToString)({
3623
3631
  vizProps: options,
3624
3632
  propNames: ['seriesColors', 'fieldColors']
3625
3633
  });
@@ -3634,7 +3642,7 @@ exports.convertToStringValues = convertToStringValues;
3634
3642
  * @returns {Object}
3635
3643
  */
3636
3644
  var mapToOldKey = function mapToOldKey(options) {
3637
- return lodash_1.mapKeys(options, function (val, key) {
3645
+ return (0, lodash_1.mapKeys)(options, function (val, key) {
3638
3646
  return bubbleOptionsSCMapping[key] ? bubbleOptionsSCMapping[key] : key;
3639
3647
  });
3640
3648
  };
@@ -3648,7 +3656,7 @@ exports.mapToOldKey = mapToOldKey;
3648
3656
  * @returns {Object}
3649
3657
  */
3650
3658
  var convertToBubbleSCProperties = function convertToBubbleSCProperties(originalOptions) {
3651
- return lodash_1.chain(exports.mapToOldKey(originalOptions)).thru(chartingUtils_1.mapToValues(exports.bubbleOptionValuesSCMapping)).thru(exports.convertToStringValues).value();
3659
+ return (0, lodash_1.chain)((0, exports.mapToOldKey)(originalOptions)).thru((0, chartingUtils_1.mapToValues)(exports.bubbleOptionValuesSCMapping)).thru(exports.convertToStringValues).value();
3652
3660
  };
3653
3661
  exports.convertToBubbleSCProperties = convertToBubbleSCProperties;
3654
3662