@splunk/visualizations 25.13.1 → 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 +273 -261
  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 +471 -465
  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 +2 -2
  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/Column.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 = 194);
90
+ /******/ return __webpack_require__(__webpack_require__.s = 197);
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.1 - ea48ec41e",
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.1 - ea48ec41e"
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 */,
@@ -2883,7 +2884,8 @@ exports.default = AxesChartYGridAndLabels;
2883
2884
  /* 84 */,
2884
2885
  /* 85 */,
2885
2886
  /* 86 */,
2886
- /* 87 */
2887
+ /* 87 */,
2888
+ /* 88 */
2887
2889
  /***/ (function(module, exports, __webpack_require__) {
2888
2890
 
2889
2891
  "use strict";
@@ -2898,52 +2900,52 @@ var i18n_1 = __webpack_require__(2);
2898
2900
  var lodash_1 = __webpack_require__(3);
2899
2901
  var configUtils_1 = __webpack_require__(20);
2900
2902
  exports.AxesChartDataDisplayLine = {
2901
- label: i18n_1._('Data display'),
2903
+ label: (0, i18n_1._)('Data display'),
2902
2904
  layout: [[{
2903
- label: i18n_1._('Null value display'),
2905
+ label: (0, i18n_1._)('Null value display'),
2904
2906
  option: 'nullValueDisplay',
2905
2907
  editor: 'editor.radioBar',
2906
2908
  editorProps: {
2907
2909
  values: [{
2908
- label: i18n_1._('Gaps'),
2910
+ label: (0, i18n_1._)('Gaps'),
2909
2911
  value: 'gaps'
2910
2912
  }, {
2911
- label: i18n_1._('Zero'),
2913
+ label: (0, i18n_1._)('Zero'),
2912
2914
  value: 'zero'
2913
2915
  }, {
2914
- label: i18n_1._('Connect'),
2916
+ label: (0, i18n_1._)('Connect'),
2915
2917
  value: 'connect'
2916
2918
  }]
2917
2919
  }
2918
2920
  }], [{
2919
- label: i18n_1._('Data value display'),
2921
+ label: (0, i18n_1._)('Data value display'),
2920
2922
  option: 'dataValuesDisplay',
2921
2923
  editor: 'editor.radioBar',
2922
2924
  editorProps: {
2923
2925
  values: [{
2924
- label: i18n_1._('Off'),
2926
+ label: (0, i18n_1._)('Off'),
2925
2927
  value: 'off'
2926
2928
  }, {
2927
- label: i18n_1._('All'),
2929
+ label: (0, i18n_1._)('All'),
2928
2930
  value: 'all'
2929
2931
  }, {
2930
- label: i18n_1._('Min/Max'),
2932
+ label: (0, i18n_1._)('Min/Max'),
2931
2933
  value: 'minmax'
2932
2934
  }]
2933
2935
  }
2934
2936
  }], [{
2935
- label: i18n_1._('Overlay fields'),
2937
+ label: (0, i18n_1._)('Overlay fields'),
2936
2938
  option: 'overlayFields',
2937
2939
  editor: 'editor.columnMultiSelectionByFieldNameEditor',
2938
2940
  editorProps: {
2939
2941
  filterByTypes: ['number']
2940
2942
  }
2941
2943
  }], [{
2942
- label: i18n_1._('Split series'),
2944
+ label: (0, i18n_1._)('Split series'),
2943
2945
  option: 'showSplitSeries',
2944
2946
  editor: 'editor.toggle'
2945
2947
  }], [{
2946
- label: i18n_1._('Independent y-axis for split series'),
2948
+ label: (0, i18n_1._)('Independent y-axis for split series'),
2947
2949
  option: 'showIndependentYRanges',
2948
2950
  editor: 'editor.checkbox',
2949
2951
  showEditor: function showEditor(_ref) {
@@ -2955,18 +2957,18 @@ exports.AxesChartDataDisplayLine = {
2955
2957
  var AxesChartDataDisplay = {
2956
2958
  label: exports.AxesChartDataDisplayLine.label,
2957
2959
  layout: [[{
2958
- label: i18n_1._('Stack mode'),
2960
+ label: (0, i18n_1._)('Stack mode'),
2959
2961
  option: 'stackMode',
2960
2962
  editor: 'editor.select',
2961
2963
  editorProps: {
2962
2964
  values: [{
2963
- label: i18n_1._('Not stacked'),
2965
+ label: (0, i18n_1._)('Not stacked'),
2964
2966
  value: 'auto'
2965
2967
  }, {
2966
- label: i18n_1._('Stacked'),
2968
+ label: (0, i18n_1._)('Stacked'),
2967
2969
  value: 'stacked'
2968
2970
  }, {
2969
- label: i18n_1._('Stacked 100%'),
2971
+ label: (0, i18n_1._)('Stacked 100%'),
2970
2972
  value: 'stacked100'
2971
2973
  }]
2972
2974
  }
@@ -2975,39 +2977,39 @@ var AxesChartDataDisplay = {
2975
2977
  exports.AxesChartDataDisplayBar = {
2976
2978
  label: exports.AxesChartDataDisplayLine.label,
2977
2979
  layout: [[{
2978
- label: i18n_1._('Stack mode'),
2980
+ label: (0, i18n_1._)('Stack mode'),
2979
2981
  option: 'stackMode',
2980
2982
  editor: 'editor.select',
2981
2983
  editorProps: {
2982
2984
  values: [{
2983
- label: i18n_1._('Not stacked'),
2985
+ label: (0, i18n_1._)('Not stacked'),
2984
2986
  value: 'auto'
2985
2987
  }, {
2986
- label: i18n_1._('Stacked'),
2988
+ label: (0, i18n_1._)('Stacked'),
2987
2989
  value: 'stacked'
2988
2990
  }, {
2989
- label: i18n_1._('Stacked 100%'),
2991
+ label: (0, i18n_1._)('Stacked 100%'),
2990
2992
  value: 'stacked100'
2991
2993
  }]
2992
2994
  }
2993
- }]].concat(_toConsumableArray(lodash_1.drop(exports.AxesChartDataDisplayLine.layout)))
2995
+ }]].concat(_toConsumableArray((0, lodash_1.drop)(exports.AxesChartDataDisplayLine.layout)))
2994
2996
  };
2995
2997
  exports.AxesChartDataDisplayColumn = {
2996
2998
  label: exports.AxesChartDataDisplayBar.label,
2997
- layout: [].concat(_toConsumableArray(configUtils_1.insertLayout(exports.AxesChartDataDisplayBar.layout, 2, [{
2998
- label: i18n_1._('Show tooltip on hover'),
2999
+ layout: [].concat(_toConsumableArray((0, configUtils_1.insertLayout)(exports.AxesChartDataDisplayBar.layout, 2, [{
3000
+ label: (0, i18n_1._)('Show tooltip on hover'),
2999
3001
  option: 'showTooltip',
3000
3002
  editor: 'editor.checkbox'
3001
3003
  }])), [[{
3002
- label: i18n_1._('Column grouping mode'),
3004
+ label: (0, i18n_1._)('Column grouping mode'),
3003
3005
  option: 'columnGrouping',
3004
3006
  editor: 'editor.radioBar',
3005
3007
  editorProps: {
3006
3008
  values: [{
3007
- label: i18n_1._('Auto'),
3009
+ label: (0, i18n_1._)('Auto'),
3008
3010
  value: 'auto'
3009
3011
  }, {
3010
- label: i18n_1._('Overlay'),
3012
+ label: (0, i18n_1._)('Overlay'),
3011
3013
  value: 'overlay'
3012
3014
  }]
3013
3015
  }
@@ -3016,7 +3018,7 @@ exports.AxesChartDataDisplayColumn = {
3016
3018
  exports.default = AxesChartDataDisplay;
3017
3019
 
3018
3020
  /***/ }),
3019
- /* 88 */
3021
+ /* 89 */
3020
3022
  /***/ (function(module, exports, __webpack_require__) {
3021
3023
 
3022
3024
  "use strict";
@@ -3027,13 +3029,13 @@ Object.defineProperty(exports, "__esModule", {
3027
3029
  });
3028
3030
  var i18n_1 = __webpack_require__(2);
3029
3031
  var axesChartY2GridAndLabels = {
3030
- label: i18n_1._('Y2-axis grid and labels'),
3032
+ label: (0, i18n_1._)('Y2-axis grid and labels'),
3031
3033
  layout: [[{
3032
- label: i18n_1._('Axis title'),
3034
+ label: (0, i18n_1._)('Axis title'),
3033
3035
  option: 'y2AxisTitleVisibility',
3034
3036
  editor: 'editor.toggle'
3035
3037
  }], [{
3036
- label: i18n_1._('Axis title'),
3038
+ label: (0, i18n_1._)('Axis title'),
3037
3039
  option: 'y2AxisTitleText',
3038
3040
  editor: 'editor.text',
3039
3041
  showEditor: function showEditor(_ref) {
@@ -3041,7 +3043,7 @@ var axesChartY2GridAndLabels = {
3041
3043
  return options.y2AxisTitleVisibility === 'show' || options.y2AxisTitleVisibility === undefined;
3042
3044
  }
3043
3045
  }], [{
3044
- label: i18n_1._('Show overlays on the y2-axis'),
3046
+ label: (0, i18n_1._)('Show overlays on the y2-axis'),
3045
3047
  option: 'showOverlayY2Axis',
3046
3048
  editor: 'editor.checkbox',
3047
3049
  showEditor: function showEditor(_ref2) {
@@ -3049,36 +3051,36 @@ var axesChartY2GridAndLabels = {
3049
3051
  return Array.isArray(options.overlayFields) && options.overlayFields.length > 0;
3050
3052
  }
3051
3053
  }], [{
3052
- label: i18n_1._('Scale'),
3054
+ label: (0, i18n_1._)('Scale'),
3053
3055
  option: 'y2AxisScale',
3054
3056
  editor: 'editor.radioBar',
3055
3057
  editorProps: {
3056
3058
  values: [{
3057
- label: i18n_1._('Linear'),
3059
+ label: (0, i18n_1._)('Linear'),
3058
3060
  value: 'linear'
3059
3061
  }, {
3060
- label: i18n_1._('Log'),
3062
+ label: (0, i18n_1._)('Log'),
3061
3063
  value: 'log'
3062
3064
  }]
3063
3065
  }
3064
3066
  }], [{
3065
- label: i18n_1._('Label visibility'),
3067
+ label: (0, i18n_1._)('Label visibility'),
3066
3068
  option: 'y2AxisLabelVisibility',
3067
3069
  editor: 'editor.radioBar',
3068
3070
  editorProps: {
3069
3071
  values: [{
3070
- label: i18n_1._('Auto'),
3072
+ label: (0, i18n_1._)('Auto'),
3071
3073
  value: 'auto'
3072
3074
  }, {
3073
- label: i18n_1._('Show'),
3075
+ label: (0, i18n_1._)('Show'),
3074
3076
  value: 'show'
3075
3077
  }, {
3076
- label: i18n_1._('Hide'),
3078
+ label: (0, i18n_1._)('Hide'),
3077
3079
  value: 'hide'
3078
3080
  }]
3079
3081
  }
3080
3082
  }], [{
3081
- label: i18n_1._('Round axis labels'),
3083
+ label: (0, i18n_1._)('Round axis labels'),
3082
3084
  option: 'showRoundedY2AxisLabels',
3083
3085
  editor: 'editor.checkbox',
3084
3086
  showEditor: function showEditor(_ref3) {
@@ -3086,7 +3088,7 @@ var axesChartY2GridAndLabels = {
3086
3088
  return options.y2AxisLabelVisibility === 'show' || options.y2AxisLabelVisibility === 'auto' || options.y2AxisLabelVisibility === undefined;
3087
3089
  }
3088
3090
  }], [{
3089
- label: i18n_1._('SI prefix abbreviation for labels'),
3091
+ label: (0, i18n_1._)('SI prefix abbreviation for labels'),
3090
3092
  option: 'y2AxisAbbreviation',
3091
3093
  editor: 'editor.checkbox',
3092
3094
  showEditor: function showEditor(_ref4) {
@@ -3094,43 +3096,43 @@ var axesChartY2GridAndLabels = {
3094
3096
  return options.y2AxisLabelVisibility === 'show' || options.y2AxisLabelVisibility === 'auto' || options.y2AxisLabelVisibility === undefined;
3095
3097
  }
3096
3098
  }], [{
3097
- label: i18n_1._('Include zero'),
3099
+ label: (0, i18n_1._)('Include zero'),
3098
3100
  option: 'showY2AxisWithZero',
3099
3101
  editor: 'editor.checkbox'
3100
3102
  }], [{
3101
- label: i18n_1._('Minimum axis value'),
3103
+ label: (0, i18n_1._)('Minimum axis value'),
3102
3104
  option: 'y2AxisMin',
3103
3105
  editor: 'editor.number'
3104
3106
  }, {
3105
- label: i18n_1._('Maximum axis value'),
3107
+ label: (0, i18n_1._)('Maximum axis value'),
3106
3108
  option: 'y2AxisMax',
3107
3109
  editor: 'editor.number'
3108
3110
  }], [{
3109
- label: i18n_1._('Axis line visibility'),
3111
+ label: (0, i18n_1._)('Axis line visibility'),
3110
3112
  option: 'y2AxisLineVisibility',
3111
3113
  editor: 'editor.checkbox'
3112
3114
  }], [{
3113
- label: i18n_1._('Major gridlines'),
3115
+ label: (0, i18n_1._)('Major gridlines'),
3114
3116
  option: 'showY2MajorGridLines',
3115
3117
  editor: 'editor.checkbox'
3116
3118
  }], [{
3117
- label: i18n_1._('Major tick visibility'),
3119
+ label: (0, i18n_1._)('Major tick visibility'),
3118
3120
  option: 'y2AxisMajorTickVisibility',
3119
3121
  editor: 'editor.radioBar',
3120
3122
  editorProps: {
3121
3123
  values: [{
3122
- label: i18n_1._('Auto'),
3124
+ label: (0, i18n_1._)('Auto'),
3123
3125
  value: 'auto'
3124
3126
  }, {
3125
- label: i18n_1._('Show'),
3127
+ label: (0, i18n_1._)('Show'),
3126
3128
  value: 'show'
3127
3129
  }, {
3128
- label: i18n_1._('Hide'),
3130
+ label: (0, i18n_1._)('Hide'),
3129
3131
  value: 'hide'
3130
3132
  }]
3131
3133
  }
3132
3134
  }], [{
3133
- label: i18n_1._('Major tick size (px)'),
3135
+ label: (0, i18n_1._)('Major tick size (px)'),
3134
3136
  option: 'y2AxisMajorTickSize',
3135
3137
  editor: 'editor.slider',
3136
3138
  editorProps: {
@@ -3143,7 +3145,7 @@ var axesChartY2GridAndLabels = {
3143
3145
  return options.y2AxisMajorTickVisibility === 'show' || options.y2AxisMajorTickVisibility === 'auto' || options.y2AxisMajorTickVisibility === undefined;
3144
3146
  }
3145
3147
  }], [{
3146
- label: i18n_1._('Major tick interval spacing'),
3148
+ label: (0, i18n_1._)('Major tick interval spacing'),
3147
3149
  option: 'y2AxisMajorTickInterval',
3148
3150
  editor: 'editor.number',
3149
3151
  showEditor: function showEditor(_ref6) {
@@ -3151,27 +3153,27 @@ var axesChartY2GridAndLabels = {
3151
3153
  return options.y2AxisMajorTickVisibility === 'show' || options.y2AxisMajorTickVisibility === 'auto' || options.y2AxisMajorTickVisibility === undefined;
3152
3154
  }
3153
3155
  }], [{
3154
- label: i18n_1._('Minor gridlines'),
3156
+ label: (0, i18n_1._)('Minor gridlines'),
3155
3157
  option: 'showY2MinorGridLines',
3156
3158
  editor: 'editor.checkbox'
3157
3159
  }], [{
3158
- label: i18n_1._('Minor tick visibility'),
3160
+ label: (0, i18n_1._)('Minor tick visibility'),
3159
3161
  option: 'y2AxisMinorTickVisibility',
3160
3162
  editor: 'editor.radioBar',
3161
3163
  editorProps: {
3162
3164
  values: [{
3163
- label: i18n_1._('Auto'),
3165
+ label: (0, i18n_1._)('Auto'),
3164
3166
  value: 'auto'
3165
3167
  }, {
3166
- label: i18n_1._('Show'),
3168
+ label: (0, i18n_1._)('Show'),
3167
3169
  value: 'show'
3168
3170
  }, {
3169
- label: i18n_1._('Hide'),
3171
+ label: (0, i18n_1._)('Hide'),
3170
3172
  value: 'hide'
3171
3173
  }]
3172
3174
  }
3173
3175
  }], [{
3174
- label: i18n_1._('Minor tick size (px)'),
3176
+ label: (0, i18n_1._)('Minor tick size (px)'),
3175
3177
  option: 'y2AxisMinorTickSize',
3176
3178
  editor: 'editor.slider',
3177
3179
  editorProps: {
@@ -3188,7 +3190,6 @@ var axesChartY2GridAndLabels = {
3188
3190
  exports.default = axesChartY2GridAndLabels;
3189
3191
 
3190
3192
  /***/ }),
3191
- /* 89 */,
3192
3193
  /* 90 */,
3193
3194
  /* 91 */,
3194
3195
  /* 92 */,
@@ -3244,7 +3245,10 @@ exports.default = axesChartY2GridAndLabels;
3244
3245
  /* 142 */,
3245
3246
  /* 143 */,
3246
3247
  /* 144 */,
3247
- /* 145 */
3248
+ /* 145 */,
3249
+ /* 146 */,
3250
+ /* 147 */,
3251
+ /* 148 */
3248
3252
  /***/ (function(module, exports, __webpack_require__) {
3249
3253
 
3250
3254
  "use strict";
@@ -3267,14 +3271,14 @@ exports.config = exports.themes = exports.computeVizProps = void 0;
3267
3271
  var lodash_1 = __webpack_require__(3);
3268
3272
  // Charting imports i18n which needs to be run to instantiate window globals in the tests
3269
3273
  // eslint-disable-next-line import/order
3270
- var Charting_1 = __webpack_require__(64);
3271
- var charting_bundle_1 = __webpack_require__(56);
3272
- var simpleXMLOptions_1 = __webpack_require__(69);
3273
- var config_1 = __webpack_require__(195);
3274
+ var Charting_1 = __webpack_require__(65);
3275
+ var charting_bundle_1 = __webpack_require__(55);
3276
+ var simpleXMLOptions_1 = __webpack_require__(70);
3277
+ var config_1 = __webpack_require__(198);
3274
3278
  exports.config = config_1.default;
3275
3279
  var withDashboardViz_1 = __webpack_require__(36);
3276
- var columnUtils_1 = __webpack_require__(196);
3277
- var chartingUtils_1 = __webpack_require__(55);
3280
+ var columnUtils_1 = __webpack_require__(199);
3281
+ var chartingUtils_1 = __webpack_require__(56);
3278
3282
  var validOptions = Object.keys(config_1.default.optionsSchema);
3279
3283
  var computeVizProps = function computeVizProps(_a) {
3280
3284
  var dataSources = _a.dataSources,
@@ -3294,18 +3298,18 @@ var computeVizProps = function computeVizProps(_a) {
3294
3298
  var y2Fields = otherOptions.y2Fields,
3295
3299
  y2 = otherOptions.y2,
3296
3300
  hasEventHandlers = otherOptions.hasEventHandlers;
3297
- computedProps.options = lodash_1.chain(otherOptions).pick(validOptions).thru(columnUtils_1.convertToColumnSCProperties).thru(function (options) {
3298
- return Object.assign(Object.assign({}, simpleXMLOptions_1.getSimpleXMLOptionsForProps(lodash_1.omit(options, ['y2Fields']))), {
3301
+ computedProps.options = (0, lodash_1.chain)(otherOptions).pick(validOptions).thru(columnUtils_1.convertToColumnSCProperties).thru(function (options) {
3302
+ return Object.assign(Object.assign({}, (0, simpleXMLOptions_1.getSimpleXMLOptionsForProps)((0, lodash_1.omit)(options, ['y2Fields']))), {
3299
3303
  chart: 'column'
3300
3304
  });
3301
3305
  }).value();
3302
- var chartingAnnotations = chartingUtils_1.getAnnotations({
3306
+ var chartingAnnotations = (0, chartingUtils_1.getAnnotations)({
3303
3307
  annotationX: annotationX,
3304
3308
  annotationColor: annotationColor,
3305
3309
  annotationLabel: annotationLabel
3306
3310
  });
3307
3311
  var primaryData = Object.assign({}, dataSources.primary.data);
3308
- var _chartingUtils_1$cons = chartingUtils_1.constructFieldsAndColumns({
3312
+ var _ref = (0, chartingUtils_1.constructFieldsAndColumns)({
3309
3313
  x: x,
3310
3314
  y: y,
3311
3315
  xField: xField,
@@ -3313,13 +3317,13 @@ var computeVizProps = function computeVizProps(_a) {
3313
3317
  y2: y2,
3314
3318
  y2Fields: y2Fields
3315
3319
  }),
3316
- columns = _chartingUtils_1$cons.columns,
3317
- fields = _chartingUtils_1$cons.fields;
3320
+ columns = _ref.columns,
3321
+ fields = _ref.fields;
3318
3322
  primaryData.columns = columns;
3319
3323
  primaryData.fields = fields;
3320
3324
  var truncationLimit = computedProps.options['chart.resultTruncationLimit'];
3321
3325
  if (truncationLimit) {
3322
- primaryData = chartingUtils_1.truncateData(primaryData, truncationLimit);
3326
+ primaryData = (0, chartingUtils_1.truncateData)(primaryData, truncationLimit);
3323
3327
  }
3324
3328
  if (hasEventHandlers) {
3325
3329
  computedProps.onClick = onEventTrigger;
@@ -3333,7 +3337,7 @@ var computeVizProps = function computeVizProps(_a) {
3333
3337
  return computedProps;
3334
3338
  };
3335
3339
  exports.computeVizProps = computeVizProps;
3336
- var Column = withDashboardViz_1.default({
3340
+ var Column = (0, withDashboardViz_1.default)({
3337
3341
  ReactViz: Charting_1.default,
3338
3342
  computeVizProps: exports.computeVizProps,
3339
3343
  vizConfig: config_1.default
@@ -3343,9 +3347,6 @@ exports.themes = themes;
3343
3347
  exports.default = Column;
3344
3348
 
3345
3349
  /***/ }),
3346
- /* 146 */,
3347
- /* 147 */,
3348
- /* 148 */,
3349
3350
  /* 149 */,
3350
3351
  /* 150 */,
3351
3352
  /* 151 */,
@@ -3391,7 +3392,10 @@ exports.default = Column;
3391
3392
  /* 191 */,
3392
3393
  /* 192 */,
3393
3394
  /* 193 */,
3394
- /* 194 */
3395
+ /* 194 */,
3396
+ /* 195 */,
3397
+ /* 196 */,
3398
+ /* 197 */
3395
3399
  /***/ (function(module, exports, __webpack_require__) {
3396
3400
 
3397
3401
  "use strict";
@@ -3399,12 +3403,16 @@ exports.default = Column;
3399
3403
 
3400
3404
  var __createBinding = this && this.__createBinding || (Object.create ? function (o, m, k, k2) {
3401
3405
  if (k2 === undefined) k2 = k;
3402
- Object.defineProperty(o, k2, {
3403
- enumerable: true,
3404
- get: function get() {
3405
- return m[k];
3406
- }
3407
- });
3406
+ var desc = Object.getOwnPropertyDescriptor(m, k);
3407
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
3408
+ desc = {
3409
+ enumerable: true,
3410
+ get: function get() {
3411
+ return m[k];
3412
+ }
3413
+ };
3414
+ }
3415
+ Object.defineProperty(o, k2, desc);
3408
3416
  } : function (o, m, k, k2) {
3409
3417
  if (k2 === undefined) k2 = k;
3410
3418
  o[k2] = m[k];
@@ -3418,8 +3426,8 @@ Object.defineProperty(exports, "__esModule", {
3418
3426
  value: true
3419
3427
  });
3420
3428
  exports.default = void 0;
3421
- __exportStar(__webpack_require__(145), exports);
3422
- var Column_1 = __webpack_require__(145);
3429
+ __exportStar(__webpack_require__(148), exports);
3430
+ var Column_1 = __webpack_require__(148);
3423
3431
  Object.defineProperty(exports, "default", {
3424
3432
  enumerable: true,
3425
3433
  get: function get() {
@@ -3428,7 +3436,7 @@ Object.defineProperty(exports, "default", {
3428
3436
  });
3429
3437
 
3430
3438
  /***/ }),
3431
- /* 195 */
3439
+ /* 198 */
3432
3440
  /***/ (function(module, exports, __webpack_require__) {
3433
3441
 
3434
3442
  "use strict";
@@ -3440,7 +3448,7 @@ Object.defineProperty(exports, "__esModule", {
3440
3448
  });
3441
3449
  exports.optionsSchema = void 0;
3442
3450
  var visualization_icons_1 = __webpack_require__(52);
3443
- var placeholders_1 = __webpack_require__(49);
3451
+ var placeholders_1 = __webpack_require__(50);
3444
3452
  var schemaUtils_1 = __webpack_require__(16);
3445
3453
  var i18n_1 = __webpack_require__(2);
3446
3454
  var pick_1 = __webpack_require__(23);
@@ -3450,13 +3458,13 @@ var lodash_1 = __webpack_require__(3);
3450
3458
  var VizBehavior_1 = __webpack_require__(6);
3451
3459
  var VizCategory_1 = __webpack_require__(35);
3452
3460
  var configUtils_1 = __webpack_require__(20);
3453
- var AxesChartDataConfig_1 = __webpack_require__(73);
3454
- var AxesChartDataDisplay_1 = __webpack_require__(87);
3455
- var AxesChartColorAndStyle_1 = __webpack_require__(74);
3456
- var AxesChartLegend_1 = __webpack_require__(75);
3457
- var AxesChartXGridAndLabels_1 = __webpack_require__(76);
3458
- var AxesChartYGridAndLabels_1 = __webpack_require__(77);
3459
- var AxesChartY2GridAndLabels_1 = __webpack_require__(88);
3461
+ var AxesChartDataConfig_1 = __webpack_require__(74);
3462
+ var AxesChartDataDisplay_1 = __webpack_require__(88);
3463
+ var AxesChartColorAndStyle_1 = __webpack_require__(75);
3464
+ var AxesChartLegend_1 = __webpack_require__(76);
3465
+ var AxesChartXGridAndLabels_1 = __webpack_require__(77);
3466
+ var AxesChartYGridAndLabels_1 = __webpack_require__(78);
3467
+ var AxesChartY2GridAndLabels_1 = __webpack_require__(89);
3460
3468
  var dataContract = {
3461
3469
  requiredDataSources: [{
3462
3470
  name: 'primary',
@@ -3554,13 +3562,13 @@ exports.optionsSchema = {
3554
3562
  dataValuesDisplay: {
3555
3563
  description: 'Specify the labels to display. Enter "all" to show labels for all data points, "off" to show no labels, or "minmax" to show high and low values.',
3556
3564
  type: 'string',
3557
- pattern: schemaUtils_1.getPattern(['off', 'all', 'minmax']),
3565
+ pattern: (0, schemaUtils_1.getPattern)(['off', 'all', 'minmax']),
3558
3566
  default: 'off'
3559
3567
  },
3560
3568
  columnGrouping: {
3561
3569
  default: 'auto',
3562
3570
  description: 'Specify a column grouping mode. If chart.stackMode is defined, it overrides grouping mode settings.',
3563
- pattern: schemaUtils_1.getPattern(['auto', 'overlay']),
3571
+ pattern: (0, schemaUtils_1.getPattern)(['auto', 'overlay']),
3564
3572
  type: 'string'
3565
3573
  },
3566
3574
  columnSpacing: {
@@ -3569,7 +3577,7 @@ exports.optionsSchema = {
3569
3577
  },
3570
3578
  legendDisplay: {
3571
3579
  description: 'Specify the location of the legend on the panel.',
3572
- pattern: schemaUtils_1.getPattern(['right', 'left', 'top', 'bottom', 'off']),
3580
+ pattern: (0, schemaUtils_1.getPattern)(['right', 'left', 'top', 'bottom', 'off']),
3573
3581
  type: 'string',
3574
3582
  default: 'right'
3575
3583
  },
@@ -3583,12 +3591,12 @@ exports.optionsSchema = {
3583
3591
  legendMode: {
3584
3592
  default: 'standard',
3585
3593
  description: 'Specify visual and behavioral settings for the tooltip and legend. "seriesCompare" is useful when comparing series.',
3586
- pattern: schemaUtils_1.getPattern(['standard', 'seriesCompare']),
3594
+ pattern: (0, schemaUtils_1.getPattern)(['standard', 'seriesCompare']),
3587
3595
  type: 'string'
3588
3596
  },
3589
3597
  legendTruncation: {
3590
3598
  description: 'Specify how to display legend labels when they overflow the layout boundaries by replacing overflow text with an ellipsis.',
3591
- pattern: schemaUtils_1.getPattern(['ellipsisEnd', 'ellipsisMiddle', 'ellipsisStart', 'ellipsisOff']),
3599
+ pattern: (0, schemaUtils_1.getPattern)(['ellipsisEnd', 'ellipsisMiddle', 'ellipsisStart', 'ellipsisOff']),
3592
3600
  type: 'string',
3593
3601
  default: 'ellipsisEnd'
3594
3602
  },
@@ -3621,7 +3629,7 @@ exports.optionsSchema = {
3621
3629
  stackMode: {
3622
3630
  description: 'Specify stack mode.',
3623
3631
  type: 'string',
3624
- pattern: schemaUtils_1.getPattern(['auto', 'stacked', 'stacked100']),
3632
+ pattern: (0, schemaUtils_1.getPattern)(['auto', 'stacked', 'stacked100']),
3625
3633
  default: 'auto'
3626
3634
  },
3627
3635
  showIndependentYRanges: {
@@ -3687,41 +3695,41 @@ exports.optionsSchema = {
3687
3695
  },
3688
3696
  xAxisLabelVisibility: {
3689
3697
  description: 'Specify whether to show labels on the x-axis.',
3690
- pattern: schemaUtils_1.getPattern(['auto', 'show', 'hide']),
3698
+ pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
3691
3699
  type: 'string',
3692
3700
  default: 'auto'
3693
3701
  },
3694
3702
  yAxisLabelVisibility: {
3695
3703
  default: 'auto',
3696
3704
  description: 'Specify whether to show labels on the y-axis.',
3697
- pattern: schemaUtils_1.getPattern(['auto', 'show', 'hide']),
3705
+ pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
3698
3706
  type: 'string'
3699
3707
  },
3700
3708
  y2AxisLabelVisibility: {
3701
3709
  default: 'auto',
3702
3710
  description: 'Specify whether to show labels on the second y-axis.',
3703
- pattern: schemaUtils_1.getPattern(['auto', 'show', 'hide']),
3711
+ pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
3704
3712
  type: 'string'
3705
3713
  },
3706
3714
  xAxisLineVisibility: {
3707
3715
  default: 'hide',
3708
3716
  description: 'Specify whether to show the x-axis line.',
3709
3717
  enum: ['hide', 'show'],
3710
- pattern: schemaUtils_1.getPattern(['show', 'hide']),
3718
+ pattern: (0, schemaUtils_1.getPattern)(['show', 'hide']),
3711
3719
  type: 'string'
3712
3720
  },
3713
3721
  yAxisLineVisibility: {
3714
3722
  default: 'hide',
3715
3723
  description: 'Specify whether to show the y-axis line.',
3716
3724
  enum: ['hide', 'show'],
3717
- pattern: schemaUtils_1.getPattern(['show', 'hide']),
3725
+ pattern: (0, schemaUtils_1.getPattern)(['show', 'hide']),
3718
3726
  type: 'string'
3719
3727
  },
3720
3728
  y2AxisLineVisibility: {
3721
3729
  default: 'hide',
3722
3730
  description: 'Specify whether to show the second y-axis line.',
3723
3731
  enum: ['hide', 'show'],
3724
- pattern: schemaUtils_1.getPattern(['show', 'hide']),
3732
+ pattern: (0, schemaUtils_1.getPattern)(['show', 'hide']),
3725
3733
  type: 'string'
3726
3734
  },
3727
3735
  xAxisMajorTickSize: {
@@ -3752,31 +3760,31 @@ exports.optionsSchema = {
3752
3760
  xAxisMajorTickVisibility: {
3753
3761
  default: 'auto',
3754
3762
  description: 'Specify whether to show major tick marks on the x-axis.',
3755
- pattern: schemaUtils_1.getPattern(['auto', 'show', 'hide']),
3763
+ pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
3756
3764
  type: 'string'
3757
3765
  },
3758
3766
  yAxisMajorTickVisibility: {
3759
3767
  default: 'auto',
3760
3768
  description: 'Specify whether to show major tick marks on the y-axis.',
3761
- pattern: schemaUtils_1.getPattern(['auto', 'show', 'hide']),
3769
+ pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
3762
3770
  type: 'string'
3763
3771
  },
3764
3772
  y2AxisMajorTickVisibility: {
3765
3773
  default: 'auto',
3766
3774
  description: 'Specify whether to show major tick marks on the second y-axis.',
3767
- pattern: schemaUtils_1.getPattern(['auto', 'show', 'hide']),
3775
+ pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
3768
3776
  type: 'string'
3769
3777
  },
3770
3778
  yAxisMinorTickVisibility: {
3771
3779
  default: 'auto',
3772
3780
  description: 'Specify whether to show minor tick marks on the y-axis.',
3773
- pattern: schemaUtils_1.getPattern(['auto', 'show', 'hide']),
3781
+ pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
3774
3782
  type: 'string'
3775
3783
  },
3776
3784
  y2AxisMinorTickVisibility: {
3777
3785
  default: 'auto',
3778
3786
  description: 'Specify whether to show minor tick marks on the second y-axis.',
3779
- pattern: schemaUtils_1.getPattern(['auto', 'show', 'hide']),
3787
+ pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
3780
3788
  type: 'string'
3781
3789
  },
3782
3790
  xAxisMaxLabelParts: {
@@ -3788,13 +3796,13 @@ exports.optionsSchema = {
3788
3796
  },
3789
3797
  yAxisScale: {
3790
3798
  type: 'string',
3791
- pattern: schemaUtils_1.getPattern(['linear', 'log']),
3799
+ pattern: (0, schemaUtils_1.getPattern)(['linear', 'log']),
3792
3800
  description: 'Specify the type of scale that applies to a numerical y-axis.',
3793
3801
  default: 'linear'
3794
3802
  },
3795
3803
  y2AxisScale: {
3796
3804
  type: 'string',
3797
- pattern: schemaUtils_1.getPattern(['linear', 'log']),
3805
+ pattern: (0, schemaUtils_1.getPattern)(['linear', 'log']),
3798
3806
  description: 'Specify the type of scale that applies to a numerical second y-axis.',
3799
3807
  default: 'linear'
3800
3808
  },
@@ -3814,35 +3822,35 @@ exports.optionsSchema = {
3814
3822
  default: 'show',
3815
3823
  description: 'Specify whether to show the title of the x-axis.',
3816
3824
  enum: ['hide', 'show'],
3817
- pattern: schemaUtils_1.getPattern(['show', 'hide']),
3825
+ pattern: (0, schemaUtils_1.getPattern)(['show', 'hide']),
3818
3826
  type: 'string'
3819
3827
  },
3820
3828
  yAxisTitleVisibility: {
3821
3829
  default: 'show',
3822
3830
  description: 'Specify whether to show the title of the y-axis.',
3823
3831
  enum: ['hide', 'show'],
3824
- pattern: schemaUtils_1.getPattern(['show', 'hide']),
3832
+ pattern: (0, schemaUtils_1.getPattern)(['show', 'hide']),
3825
3833
  type: 'string'
3826
3834
  },
3827
3835
  y2AxisTitleVisibility: {
3828
3836
  default: 'show',
3829
3837
  description: 'Specify whether to show the title of the second y-axis.',
3830
3838
  enum: ['hide', 'show'],
3831
- pattern: schemaUtils_1.getPattern(['show', 'hide']),
3839
+ pattern: (0, schemaUtils_1.getPattern)(['show', 'hide']),
3832
3840
  type: 'string'
3833
3841
  },
3834
3842
  yAxisAbbreviation: {
3835
3843
  default: 'auto',
3836
3844
  description: 'Specify whether to abbreviate large y-axis values with the closest International System of Units (SI) prefix.',
3837
3845
  enum: ['auto', 'off'],
3838
- pattern: schemaUtils_1.getPattern(['off', 'auto']),
3846
+ pattern: (0, schemaUtils_1.getPattern)(['off', 'auto']),
3839
3847
  type: 'string'
3840
3848
  },
3841
3849
  y2AxisAbbreviation: {
3842
3850
  default: 'auto',
3843
3851
  description: 'Specify whether to abbreviate large second y-axis values with the closest International System of Units (SI) prefix.',
3844
3852
  enum: ['auto', 'off'],
3845
- pattern: schemaUtils_1.getPattern(['off', 'auto']),
3853
+ pattern: (0, schemaUtils_1.getPattern)(['off', 'auto']),
3846
3854
  type: 'string'
3847
3855
  },
3848
3856
  yAxisMajorTickInterval: {
@@ -3895,7 +3903,7 @@ exports.optionsSchema = {
3895
3903
  };
3896
3904
  var themes = {
3897
3905
  defaultBackgroundColor: function defaultBackgroundColor(props) {
3898
- return pick_1.default({
3906
+ return (0, pick_1.default)({
3899
3907
  enterprise: {
3900
3908
  dark: variables_1.default.black(props),
3901
3909
  light: variables_1.default.backgroundColor(props)
@@ -3904,17 +3912,17 @@ var themes = {
3904
3912
  })(props);
3905
3913
  }
3906
3914
  };
3907
- var updatedAxesChartLegend = lodash_1.cloneDeep(AxesChartLegend_1.default);
3915
+ var updatedAxesChartLegend = (0, lodash_1.cloneDeep)(AxesChartLegend_1.default);
3908
3916
  updatedAxesChartLegend.layout.push([{
3909
- label: i18n_1._('Legend mode'),
3917
+ label: (0, i18n_1._)('Legend mode'),
3910
3918
  option: 'legendMode',
3911
3919
  editor: 'editor.radioBar',
3912
3920
  editorProps: {
3913
3921
  values: [{
3914
- label: i18n_1._('Standard'),
3922
+ label: (0, i18n_1._)('Standard'),
3915
3923
  value: 'standard'
3916
3924
  }, {
3917
- label: i18n_1._('Compare series'),
3925
+ label: (0, i18n_1._)('Compare series'),
3918
3926
  value: 'seriesCompare'
3919
3927
  }]
3920
3928
  }
@@ -3922,15 +3930,15 @@ updatedAxesChartLegend.layout.push([{
3922
3930
  var editorConfig = [AxesChartDataConfig_1.AxesChartDataConfigAreaColumnLine, AxesChartDataDisplay_1.AxesChartDataDisplayColumn, {
3923
3931
  label: AxesChartColorAndStyle_1.default.label,
3924
3932
  layout: [].concat(_toConsumableArray(AxesChartColorAndStyle_1.default.layout), [[{
3925
- label: i18n_1._('Spacing between column series'),
3933
+ label: (0, i18n_1._)('Spacing between column series'),
3926
3934
  option: 'seriesSpacing',
3927
3935
  editor: 'editor.number'
3928
3936
  }], [{
3929
- label: i18n_1._('Spacing between columns'),
3937
+ label: (0, i18n_1._)('Spacing between columns'),
3930
3938
  option: 'columnSpacing',
3931
3939
  editor: 'editor.number'
3932
3940
  }], [{
3933
- label: i18n_1._('Line width'),
3941
+ label: (0, i18n_1._)('Line width'),
3934
3942
  option: 'lineWidth',
3935
3943
  editor: 'editor.slider',
3936
3944
  editorProps: {
@@ -3943,7 +3951,7 @@ var editorConfig = [AxesChartDataConfig_1.AxesChartDataConfigAreaColumnLine, Axe
3943
3951
  return Array.isArray(options.overlayFields) && options.overlayFields.length > 0;
3944
3952
  }
3945
3953
  }], [{
3946
- label: i18n_1._('Annotation colors'),
3954
+ label: (0, i18n_1._)('Annotation colors'),
3947
3955
  option: 'annotationColor',
3948
3956
  editor: 'editor.columnSelector',
3949
3957
  editorProps: {
@@ -3964,7 +3972,7 @@ var config = {
3964
3972
  /**
3965
3973
  * viz name
3966
3974
  */
3967
- name: i18n_1._('Column'),
3975
+ name: (0, i18n_1._)('Column'),
3968
3976
  category: VizCategory_1.VizCategory.TRENDS,
3969
3977
  /**
3970
3978
  * viz icon
@@ -3996,10 +4004,10 @@ var config = {
3996
4004
  supports: [VizBehavior_1.VizBehavior.DYNAMIC_OPTIONS, VizBehavior_1.VizBehavior.PLACEHOLDER],
3997
4005
  themes: themes
3998
4006
  };
3999
- exports.default = configUtils_1.enhanceConfig(config);
4007
+ exports.default = (0, configUtils_1.enhanceConfig)(config);
4000
4008
 
4001
4009
  /***/ }),
4002
- /* 196 */
4010
+ /* 199 */
4003
4011
  /***/ (function(module, exports, __webpack_require__) {
4004
4012
 
4005
4013
  "use strict";
@@ -4010,8 +4018,8 @@ Object.defineProperty(exports, "__esModule", {
4010
4018
  });
4011
4019
  exports.convertToColumnSCProperties = exports.mapToOldKey = exports.convertToStringValues = exports.convertAuto = exports.convertTitleVisibilityOptions = exports.convertYAxisLabelOptions = exports.convertLegendDisplayOptions = exports.columnOptionValuesSCMapping = void 0;
4012
4020
  var lodash_1 = __webpack_require__(3);
4013
- var propUtils_1 = __webpack_require__(28);
4014
- var chartingUtils_1 = __webpack_require__(55);
4021
+ var propUtils_1 = __webpack_require__(29);
4022
+ var chartingUtils_1 = __webpack_require__(56);
4015
4023
  // map for key names which are either new or not present in SimpleXML options mapping
4016
4024
  var columnOptionsSCMapping = {
4017
4025
  dataValuesDisplay: 'showDataLabels',
@@ -4144,7 +4152,7 @@ exports.convertAuto = convertAuto;
4144
4152
  * @returns {Object}
4145
4153
  */
4146
4154
  var convertToStringValues = function convertToStringValues(options) {
4147
- var updatedOptions = propUtils_1.convertPropsToString({
4155
+ var updatedOptions = (0, propUtils_1.convertPropsToString)({
4148
4156
  vizProps: options,
4149
4157
  propNames: ['seriesColors', 'fieldColors', 'legendLabels']
4150
4158
  });
@@ -4159,7 +4167,7 @@ exports.convertToStringValues = convertToStringValues;
4159
4167
  * @returns
4160
4168
  */
4161
4169
  var mapToOldKey = function mapToOldKey(options) {
4162
- return lodash_1.mapKeys(options, function (val, key) {
4170
+ return (0, lodash_1.mapKeys)(options, function (val, key) {
4163
4171
  return columnOptionsSCMapping[key] ? columnOptionsSCMapping[key] : key;
4164
4172
  });
4165
4173
  };
@@ -4173,7 +4181,7 @@ exports.mapToOldKey = mapToOldKey;
4173
4181
  * @returns
4174
4182
  */
4175
4183
  var convertToColumnSCProperties = function convertToColumnSCProperties(originalOptions) {
4176
- return lodash_1.chain(exports.mapToOldKey(originalOptions)).thru(chartingUtils_1.mapToValues(exports.columnOptionValuesSCMapping)).thru(chartingUtils_1.convertY2AxisOptions).thru(chartingUtils_1.convertOverlayFields).thru(exports.convertTitleVisibilityOptions).thru(exports.convertLegendDisplayOptions).thru(exports.convertToStringValues).thru(exports.convertAuto).thru(exports.convertYAxisLabelOptions).value();
4184
+ return (0, lodash_1.chain)((0, exports.mapToOldKey)(originalOptions)).thru((0, chartingUtils_1.mapToValues)(exports.columnOptionValuesSCMapping)).thru(chartingUtils_1.convertY2AxisOptions).thru(chartingUtils_1.convertOverlayFields).thru(exports.convertTitleVisibilityOptions).thru(exports.convertLegendDisplayOptions).thru(exports.convertToStringValues).thru(exports.convertAuto).thru(exports.convertYAxisLabelOptions).value();
4177
4185
  };
4178
4186
  exports.convertToColumnSCProperties = convertToColumnSCProperties;
4179
4187