@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.config.js CHANGED
@@ -305,8 +305,8 @@ function hasCompatibleOptions(vizOptions, presetOptions) {
305
305
  */
306
306
  function getInitialPreset(vizContext, vizOptions, presets) {
307
307
  return presets.find(function (preset) {
308
- var presetContext = lodash_1.get(preset, ['value', 'context'], {});
309
- var presetOptions = lodash_1.get(preset, ['value', 'options'], {});
308
+ var presetContext = (0, lodash_1.get)(preset, ['value', 'context'], {});
309
+ var presetOptions = (0, lodash_1.get)(preset, ['value', 'options'], {});
310
310
  var presetContextKeys = Object.keys(presetContext);
311
311
  var presetOptionKeys = Object.keys(presetOptions);
312
312
  // all presets have to explicitly specify which options to reset (i.e. need explicitly undefined keys)
@@ -323,7 +323,7 @@ exports.getInitialPreset = getInitialPreset;
323
323
  * @returns {{ label: string; value; string }[]} array of { label, value } tuples
324
324
  */
325
325
  function generatePrecisionValues(numPrecisionValues) {
326
- return lodash_1.range(0, numPrecisionValues + 1).map(function (i) {
326
+ return (0, lodash_1.range)(0, numPrecisionValues + 1).map(function (i) {
327
327
  return {
328
328
  label: "".concat(i, " (0").concat(i > 0 ? '.' : '').concat('0'.repeat(i), ")"),
329
329
  value: i
@@ -427,7 +427,7 @@ var background = function background(_ref) {
427
427
  themes = _ref.themes,
428
428
  labelPosition = _ref.labelPosition;
429
429
  return [{
430
- label: i18n_1._(label || 'Background'),
430
+ label: (0, i18n_1._)(label || 'Background'),
431
431
  option: 'backgroundColor',
432
432
  editor: 'editor.color',
433
433
  editorProps: {
@@ -460,9 +460,9 @@ exports.AxesChartDataConfigAreaColumnLine = exports.AxesChartDataConfigBubble =
460
460
  var i18n_1 = __webpack_require__(0);
461
461
  var configUtils_1 = __webpack_require__(4);
462
462
  var AxesChartDataConfig = {
463
- label: i18n_1._('Data configurations'),
463
+ label: (0, i18n_1._)('Data configurations'),
464
464
  layout: [[{
465
- label: i18n_1._('X'),
465
+ label: (0, i18n_1._)('X'),
466
466
  option: 'x',
467
467
  editor: 'editor.columnSelector',
468
468
  editorProps: {
@@ -471,7 +471,7 @@ var AxesChartDataConfig = {
471
471
  expectedDataPrimitive: ['series']
472
472
  }
473
473
  }], [{
474
- label: i18n_1._('Y'),
474
+ label: (0, i18n_1._)('Y'),
475
475
  option: 'y',
476
476
  editor: 'editor.columnMultiSelector',
477
477
  editorProps: {
@@ -481,7 +481,7 @@ var AxesChartDataConfig = {
481
481
  expectedDataPrimitive: ['series', 'frame']
482
482
  }
483
483
  }], [{
484
- label: i18n_1._('Result limit'),
484
+ label: (0, i18n_1._)('Result limit'),
485
485
  option: 'resultLimit',
486
486
  editor: 'editor.number',
487
487
  editorProps: {
@@ -492,8 +492,8 @@ var AxesChartDataConfig = {
492
492
  exports.AxesChartDataConfigBar = {
493
493
  label: AxesChartDataConfig.label,
494
494
  // insert Y2 after Y
495
- layout: configUtils_1.insertLayout(AxesChartDataConfig.layout, 2, [{
496
- label: i18n_1._('Y2'),
495
+ layout: (0, configUtils_1.insertLayout)(AxesChartDataConfig.layout, 2, [{
496
+ label: (0, i18n_1._)('Y2'),
497
497
  option: 'y2',
498
498
  editor: 'editor.columnMultiSelector',
499
499
  editorProps: {
@@ -507,7 +507,7 @@ exports.AxesChartDataConfigBar = {
507
507
  exports.AxesChartDataConfigScatter = {
508
508
  label: AxesChartDataConfig.label,
509
509
  layout: [[{
510
- label: i18n_1._('X'),
510
+ label: (0, i18n_1._)('X'),
511
511
  option: 'x',
512
512
  editor: 'editor.columnSelector',
513
513
  editorProps: {
@@ -516,7 +516,7 @@ exports.AxesChartDataConfigScatter = {
516
516
  expectedDataPrimitive: ['series']
517
517
  }
518
518
  }], [{
519
- label: i18n_1._('Y'),
519
+ label: (0, i18n_1._)('Y'),
520
520
  option: 'y',
521
521
  editor: 'editor.columnSelector',
522
522
  editorProps: {
@@ -526,7 +526,7 @@ exports.AxesChartDataConfigScatter = {
526
526
  expectedDataPrimitive: ['series']
527
527
  }
528
528
  }], [{
529
- label: i18n_1._('Category'),
529
+ label: (0, i18n_1._)('Category'),
530
530
  option: 'category',
531
531
  editor: 'editor.columnSelector',
532
532
  editorProps: {
@@ -535,7 +535,7 @@ exports.AxesChartDataConfigScatter = {
535
535
  expectedDataPrimitive: ['series']
536
536
  }
537
537
  }], [{
538
- label: i18n_1._('Result limit'),
538
+ label: (0, i18n_1._)('Result limit'),
539
539
  option: 'resultLimit',
540
540
  editor: 'editor.number',
541
541
  editorProps: {
@@ -546,8 +546,8 @@ exports.AxesChartDataConfigScatter = {
546
546
  exports.AxesChartDataConfigBubble = {
547
547
  label: exports.AxesChartDataConfigScatter.label,
548
548
  // layout: insert Size after Category
549
- layout: configUtils_1.insertLayout(exports.AxesChartDataConfigScatter.layout, 3, [{
550
- label: i18n_1._('Size'),
549
+ layout: (0, configUtils_1.insertLayout)(exports.AxesChartDataConfigScatter.layout, 3, [{
550
+ label: (0, i18n_1._)('Size'),
551
551
  option: 'size',
552
552
  editor: 'editor.columnSelector',
553
553
  editorProps: {
@@ -560,7 +560,7 @@ exports.AxesChartDataConfigBubble = {
560
560
  exports.AxesChartDataConfigAreaColumnLine = {
561
561
  label: exports.AxesChartDataConfigBar.label,
562
562
  layout: [].concat(_toConsumableArray(exports.AxesChartDataConfigBar.layout), [[{
563
- label: i18n_1._('Annotation x'),
563
+ label: (0, i18n_1._)('Annotation x'),
564
564
  option: 'annotationX',
565
565
  editor: 'editor.columnSelector',
566
566
  editorProps: {
@@ -569,7 +569,7 @@ exports.AxesChartDataConfigAreaColumnLine = {
569
569
  expectedDataPrimitive: ['series']
570
570
  }
571
571
  }], [{
572
- label: i18n_1._('Annotation labels'),
572
+ label: (0, i18n_1._)('Annotation labels'),
573
573
  option: 'annotationLabel',
574
574
  editor: 'editor.columnSelector',
575
575
  editorProps: {
@@ -597,7 +597,7 @@ var variables_1 = __webpack_require__(10);
597
597
  var BackgroundColor_1 = __webpack_require__(13);
598
598
  var themes = {
599
599
  defaultBackgroundColor: function defaultBackgroundColor(props) {
600
- return pick_1.default({
600
+ return (0, pick_1.default)({
601
601
  enterprise: {
602
602
  dark: variables_1.default.black(props),
603
603
  light: variables_1.default.backgroundColor(props)
@@ -607,15 +607,15 @@ var themes = {
607
607
  }
608
608
  };
609
609
  var AxesChartColorAndStyle = {
610
- label: i18n_1._('Color and style'),
611
- layout: [BackgroundColor_1.default({
610
+ label: (0, i18n_1._)('Color and style'),
611
+ layout: [(0, BackgroundColor_1.default)({
612
612
  themes: themes
613
613
  }), [{
614
- label: i18n_1._('Series colors'),
614
+ label: (0, i18n_1._)('Series colors'),
615
615
  option: 'seriesColors',
616
616
  editor: 'editor.seriesColors'
617
617
  }], [{
618
- label: i18n_1._('Series colors by field name'),
618
+ label: (0, i18n_1._)('Series colors by field name'),
619
619
  option: 'seriesColorsByField',
620
620
  editor: 'editor.seriesColorsByField'
621
621
  }]]
@@ -634,45 +634,45 @@ Object.defineProperty(exports, "__esModule", {
634
634
  });
635
635
  var i18n_1 = __webpack_require__(0);
636
636
  var AxesChartLegend = {
637
- label: i18n_1._('Legend'),
637
+ label: (0, i18n_1._)('Legend'),
638
638
  layout: [[{
639
- label: i18n_1._('Legend display'),
639
+ label: (0, i18n_1._)('Legend display'),
640
640
  option: 'legendDisplay',
641
641
  editor: 'editor.select',
642
642
  editorProps: {
643
643
  values: [{
644
- label: i18n_1._('Right'),
644
+ label: (0, i18n_1._)('Right'),
645
645
  value: 'right'
646
646
  }, {
647
- label: i18n_1._('Left'),
647
+ label: (0, i18n_1._)('Left'),
648
648
  value: 'left'
649
649
  }, {
650
- label: i18n_1._('Top'),
650
+ label: (0, i18n_1._)('Top'),
651
651
  value: 'top'
652
652
  }, {
653
- label: i18n_1._('Bottom'),
653
+ label: (0, i18n_1._)('Bottom'),
654
654
  value: 'bottom'
655
655
  }, {
656
- label: i18n_1._('Off'),
656
+ label: (0, i18n_1._)('Off'),
657
657
  value: 'off'
658
658
  }]
659
659
  }
660
660
  }], [{
661
- label: i18n_1._('Legend truncation'),
661
+ label: (0, i18n_1._)('Legend truncation'),
662
662
  option: 'legendTruncation',
663
663
  editor: 'editor.radioBar',
664
664
  editorProps: {
665
665
  values: [{
666
- label: i18n_1._('A...'),
666
+ label: (0, i18n_1._)('A...'),
667
667
  value: 'ellipsisEnd'
668
668
  }, {
669
- label: i18n_1._('A...Z'),
669
+ label: (0, i18n_1._)('A...Z'),
670
670
  value: 'ellipsisMiddle'
671
671
  }, {
672
- label: i18n_1._('...Z'),
672
+ label: (0, i18n_1._)('...Z'),
673
673
  value: 'ellipsisStart'
674
674
  }, {
675
- label: i18n_1._('Off'),
675
+ label: (0, i18n_1._)('Off'),
676
676
  value: 'ellipsisOff'
677
677
  }]
678
678
  },
@@ -699,13 +699,13 @@ exports.AxesChartXGridAndLabelsBubbleScatter = exports.AxesChartXGridAndLabelsCo
699
699
  var i18n_1 = __webpack_require__(0);
700
700
  var configUtils_1 = __webpack_require__(4);
701
701
  exports.AxesChartXGridAndLabelsCommon = {
702
- label: i18n_1._('X-axis grid and labels'),
702
+ label: (0, i18n_1._)('X-axis grid and labels'),
703
703
  layout: [[{
704
- label: i18n_1._('Axis title'),
704
+ label: (0, i18n_1._)('Axis title'),
705
705
  option: 'xAxisTitleVisibility',
706
706
  editor: 'editor.toggle'
707
707
  }], [{
708
- label: i18n_1._('Axis title text'),
708
+ label: (0, i18n_1._)('Axis title text'),
709
709
  option: 'xAxisTitleText',
710
710
  editor: 'editor.text',
711
711
  showEditor: function showEditor(_ref) {
@@ -713,18 +713,18 @@ exports.AxesChartXGridAndLabelsCommon = {
713
713
  return options.xAxisTitleVisibility === 'show' || options.xAxisTitleVisibility === undefined;
714
714
  }
715
715
  }], [{
716
- label: i18n_1._('Label visibility'),
716
+ label: (0, i18n_1._)('Label visibility'),
717
717
  option: 'xAxisLabelVisibility',
718
718
  editor: 'editor.radioBar',
719
719
  editorProps: {
720
720
  values: [{
721
- label: i18n_1._('Auto'),
721
+ label: (0, i18n_1._)('Auto'),
722
722
  value: 'auto'
723
723
  }, {
724
- label: i18n_1._('Show'),
724
+ label: (0, i18n_1._)('Show'),
725
725
  value: 'show'
726
726
  }, {
727
- label: i18n_1._('Hide'),
727
+ label: (0, i18n_1._)('Hide'),
728
728
  value: 'hide'
729
729
  }]
730
730
  }
@@ -733,24 +733,24 @@ exports.AxesChartXGridAndLabelsCommon = {
733
733
  var AxesChartXGridAndLabels = {
734
734
  label: exports.AxesChartXGridAndLabelsCommon.label,
735
735
  layout: [].concat(_toConsumableArray(exports.AxesChartXGridAndLabelsCommon.layout), [[{
736
- label: i18n_1._('Label rotation'),
736
+ label: (0, i18n_1._)('Label rotation'),
737
737
  option: 'xAxisLabelRotation',
738
738
  editor: 'editor.select',
739
739
  editorProps: {
740
740
  values: [{
741
- label: i18n_1._('-90'),
741
+ label: (0, i18n_1._)('-90'),
742
742
  value: -90
743
743
  }, {
744
- label: i18n_1._('-45'),
744
+ label: (0, i18n_1._)('-45'),
745
745
  value: -45
746
746
  }, {
747
- label: i18n_1._('0'),
747
+ label: (0, i18n_1._)('0'),
748
748
  value: 0
749
749
  }, {
750
- label: i18n_1._('45'),
750
+ label: (0, i18n_1._)('45'),
751
751
  value: 45
752
752
  }, {
753
- label: i18n_1._('90'),
753
+ label: (0, i18n_1._)('90'),
754
754
  value: 90
755
755
  }]
756
756
  },
@@ -759,7 +759,7 @@ var AxesChartXGridAndLabels = {
759
759
  return options.xAxisLabelVisibility === 'show' || options.xAxisLabelVisibility === 'auto' || options.xAxisLabelVisibility === undefined;
760
760
  }
761
761
  }], [{
762
- label: i18n_1._('Number of time label parts'),
762
+ label: (0, i18n_1._)('Number of time label parts'),
763
763
  option: 'xAxisMaxLabelParts',
764
764
  editor: 'editor.number',
765
765
  editorProps: {
@@ -771,31 +771,31 @@ var AxesChartXGridAndLabels = {
771
771
  return options.xAxisLabelVisibility === 'show' || options.xAxisLabelVisibility === 'auto' || options.xAxisLabelVisibility === undefined;
772
772
  }
773
773
  }], [{
774
- label: i18n_1._('Axis line visibility'),
774
+ label: (0, i18n_1._)('Axis line visibility'),
775
775
  option: 'xAxisLineVisibility',
776
776
  editor: 'editor.checkbox'
777
777
  }], [{
778
- label: i18n_1._('Major gridlines'),
778
+ label: (0, i18n_1._)('Major gridlines'),
779
779
  option: 'showXMajorGridLines',
780
780
  editor: 'editor.checkbox'
781
781
  }], [{
782
- label: i18n_1._('Major tick visibility'),
782
+ label: (0, i18n_1._)('Major tick visibility'),
783
783
  option: 'xAxisMajorTickVisibility',
784
784
  editor: 'editor.radioBar',
785
785
  editorProps: {
786
786
  values: [{
787
- label: i18n_1._('Auto'),
787
+ label: (0, i18n_1._)('Auto'),
788
788
  value: 'auto'
789
789
  }, {
790
- label: i18n_1._('Show'),
790
+ label: (0, i18n_1._)('Show'),
791
791
  value: 'show'
792
792
  }, {
793
- label: i18n_1._('Hide'),
793
+ label: (0, i18n_1._)('Hide'),
794
794
  value: 'hide'
795
795
  }]
796
796
  }
797
797
  }], [{
798
- label: i18n_1._('Major tick size (px)'),
798
+ label: (0, i18n_1._)('Major tick size (px)'),
799
799
  option: 'xAxisMajorTickSize',
800
800
  editor: 'editor.slider',
801
801
  editorProps: {
@@ -811,38 +811,38 @@ var AxesChartXGridAndLabels = {
811
811
  };
812
812
  exports.AxesChartXGridAndLabelsBubbleScatter = {
813
813
  label: exports.AxesChartXGridAndLabelsCommon.label,
814
- layout: [].concat(_toConsumableArray(configUtils_1.insertLayout(exports.AxesChartXGridAndLabelsCommon.layout, 2, [{
815
- label: i18n_1._('Axis scale'),
814
+ layout: [].concat(_toConsumableArray((0, configUtils_1.insertLayout)(exports.AxesChartXGridAndLabelsCommon.layout, 2, [{
815
+ label: (0, i18n_1._)('Axis scale'),
816
816
  option: 'xAxisScale',
817
817
  editor: 'editor.radioBar',
818
818
  editorProps: {
819
819
  values: [{
820
- label: i18n_1._('Linear'),
820
+ label: (0, i18n_1._)('Linear'),
821
821
  value: 'linear'
822
822
  }, {
823
- label: i18n_1._('Log'),
823
+ label: (0, i18n_1._)('Log'),
824
824
  value: 'log'
825
825
  }]
826
826
  }
827
827
  }])), [[{
828
- label: i18n_1._('Label rotation'),
828
+ label: (0, i18n_1._)('Label rotation'),
829
829
  option: 'xAxisLabelRotation',
830
830
  editor: 'editor.select',
831
831
  editorProps: {
832
832
  values: [{
833
- label: i18n_1._('-90'),
833
+ label: (0, i18n_1._)('-90'),
834
834
  value: -90
835
835
  }, {
836
- label: i18n_1._('-45'),
836
+ label: (0, i18n_1._)('-45'),
837
837
  value: -45
838
838
  }, {
839
- label: i18n_1._('0'),
839
+ label: (0, i18n_1._)('0'),
840
840
  value: 0
841
841
  }, {
842
- label: i18n_1._('45'),
842
+ label: (0, i18n_1._)('45'),
843
843
  value: 45
844
844
  }, {
845
- label: i18n_1._('90'),
845
+ label: (0, i18n_1._)('90'),
846
846
  value: 90
847
847
  }]
848
848
  },
@@ -851,7 +851,7 @@ exports.AxesChartXGridAndLabelsBubbleScatter = {
851
851
  return options.xAxisLabelVisibility === 'show' || options.xAxisLabelVisibility === 'auto' || options.xAxisLabelVisibility === undefined;
852
852
  }
853
853
  }], [{
854
- label: i18n_1._('Round axis labels'),
854
+ label: (0, i18n_1._)('Round axis labels'),
855
855
  option: 'showRoundedXAxisLabels',
856
856
  editor: 'editor.checkbox',
857
857
  showEditor: function showEditor(_ref6) {
@@ -859,7 +859,7 @@ exports.AxesChartXGridAndLabelsBubbleScatter = {
859
859
  return options.xAxisLabelVisibility === 'show' || options.xAxisLabelVisibility === 'auto' || options.xAxisLabelVisibility === undefined;
860
860
  }
861
861
  }], [{
862
- label: i18n_1._('SI prefix abbreviation for labels'),
862
+ label: (0, i18n_1._)('SI prefix abbreviation for labels'),
863
863
  option: 'xAxisAbbreviation',
864
864
  editor: 'editor.checkbox',
865
865
  showEditor: function showEditor(_ref7) {
@@ -867,23 +867,23 @@ exports.AxesChartXGridAndLabelsBubbleScatter = {
867
867
  return options.xAxisLabelVisibility === 'show' || options.xAxisLabelVisibility === 'auto' || options.xAxisLabelVisibility === undefined;
868
868
  }
869
869
  }], [{
870
- label: i18n_1._('Include zero'),
870
+ label: (0, i18n_1._)('Include zero'),
871
871
  option: 'showXAxisWithZero',
872
872
  editor: 'editor.checkbox'
873
873
  }], [{
874
- label: i18n_1._('Extend to whole grid'),
874
+ label: (0, i18n_1._)('Extend to whole grid'),
875
875
  option: 'showXAxisExtendedRange',
876
876
  editor: 'editor.checkbox'
877
877
  }], [{
878
- label: i18n_1._('Minimum axis value'),
878
+ label: (0, i18n_1._)('Minimum axis value'),
879
879
  option: 'xAxisMin',
880
880
  editor: 'editor.number'
881
881
  }, {
882
- label: i18n_1._('Maximum axis value'),
882
+ label: (0, i18n_1._)('Maximum axis value'),
883
883
  option: 'xAxisMax',
884
884
  editor: 'editor.number'
885
885
  }], [{
886
- label: i18n_1._('Axis line visibility'),
886
+ label: (0, i18n_1._)('Axis line visibility'),
887
887
  option: 'xAxisLineVisibility',
888
888
  editor: 'editor.checkbox'
889
889
  }],
@@ -896,23 +896,23 @@ exports.AxesChartXGridAndLabelsBubbleScatter = {
896
896
  // },
897
897
  // ],
898
898
  [{
899
- label: i18n_1._('Major tick visibility'),
899
+ label: (0, i18n_1._)('Major tick visibility'),
900
900
  option: 'xAxisMajorTickVisibility',
901
901
  editor: 'editor.radioBar',
902
902
  editorProps: {
903
903
  values: [{
904
- label: i18n_1._('Auto'),
904
+ label: (0, i18n_1._)('Auto'),
905
905
  value: 'auto'
906
906
  }, {
907
- label: i18n_1._('Show'),
907
+ label: (0, i18n_1._)('Show'),
908
908
  value: 'show'
909
909
  }, {
910
- label: i18n_1._('Hide'),
910
+ label: (0, i18n_1._)('Hide'),
911
911
  value: 'hide'
912
912
  }]
913
913
  }
914
914
  }], [{
915
- label: i18n_1._('Major tick size (px)'),
915
+ label: (0, i18n_1._)('Major tick size (px)'),
916
916
  option: 'xAxisMajorTickSize',
917
917
  editor: 'editor.slider',
918
918
  editorProps: {
@@ -925,7 +925,7 @@ exports.AxesChartXGridAndLabelsBubbleScatter = {
925
925
  return options.xAxisMajorTickVisibility === 'show' || options.xAxisMajorTickVisibility === 'auto' || options.xAxisMajorTickVisibility === undefined;
926
926
  }
927
927
  }], [{
928
- label: i18n_1._('Major tick interval spacing'),
928
+ label: (0, i18n_1._)('Major tick interval spacing'),
929
929
  option: 'xAxisMajorTickInterval',
930
930
  editor: 'editor.number',
931
931
  showEditor: function showEditor(_ref9) {
@@ -933,27 +933,27 @@ exports.AxesChartXGridAndLabelsBubbleScatter = {
933
933
  return options.xAxisMajorTickVisibility === 'show' || options.xAxisMajorTickVisibility === 'auto' || options.xAxisMajorTickVisibility === undefined;
934
934
  }
935
935
  }], [{
936
- label: i18n_1._('Minor gridlines'),
936
+ label: (0, i18n_1._)('Minor gridlines'),
937
937
  option: 'showXMinorGridLines',
938
938
  editor: 'editor.checkbox'
939
939
  }], [{
940
- label: i18n_1._('Minor tick visibility'),
940
+ label: (0, i18n_1._)('Minor tick visibility'),
941
941
  option: 'xAxisMinorTickVisibility',
942
942
  editor: 'editor.radioBar',
943
943
  editorProps: {
944
944
  values: [{
945
- label: i18n_1._('Auto'),
945
+ label: (0, i18n_1._)('Auto'),
946
946
  value: 'auto'
947
947
  }, {
948
- label: i18n_1._('Show'),
948
+ label: (0, i18n_1._)('Show'),
949
949
  value: 'show'
950
950
  }, {
951
- label: i18n_1._('Hide'),
951
+ label: (0, i18n_1._)('Hide'),
952
952
  value: 'hide'
953
953
  }]
954
954
  }
955
955
  }], [{
956
- label: i18n_1._('Minor tick size (px)'),
956
+ label: (0, i18n_1._)('Minor tick size (px)'),
957
957
  option: 'xAxisMinorTickSize',
958
958
  editor: 'editor.slider',
959
959
  editorProps: {
@@ -981,13 +981,13 @@ Object.defineProperty(exports, "__esModule", {
981
981
  });
982
982
  var i18n_1 = __webpack_require__(0);
983
983
  var AxesChartYGridAndLabels = {
984
- label: i18n_1._('Y-axis grid and labels'),
984
+ label: (0, i18n_1._)('Y-axis grid and labels'),
985
985
  layout: [[{
986
- label: i18n_1._('Axis title'),
986
+ label: (0, i18n_1._)('Axis title'),
987
987
  option: 'yAxisTitleVisibility',
988
988
  editor: 'editor.toggle'
989
989
  }], [{
990
- label: i18n_1._('Axis title text'),
990
+ label: (0, i18n_1._)('Axis title text'),
991
991
  option: 'yAxisTitleText',
992
992
  editor: 'editor.text',
993
993
  showEditor: function showEditor(_ref) {
@@ -995,36 +995,36 @@ var AxesChartYGridAndLabels = {
995
995
  return options.yAxisTitleVisibility === 'show' || options.yAxisTitleVisibility === undefined;
996
996
  }
997
997
  }], [{
998
- label: i18n_1._('Scale'),
998
+ label: (0, i18n_1._)('Scale'),
999
999
  option: 'yAxisScale',
1000
1000
  editor: 'editor.radioBar',
1001
1001
  editorProps: {
1002
1002
  values: [{
1003
- label: i18n_1._('Linear'),
1003
+ label: (0, i18n_1._)('Linear'),
1004
1004
  value: 'linear'
1005
1005
  }, {
1006
- label: i18n_1._('Log'),
1006
+ label: (0, i18n_1._)('Log'),
1007
1007
  value: 'log'
1008
1008
  }]
1009
1009
  }
1010
1010
  }], [{
1011
- label: i18n_1._('Label visibility'),
1011
+ label: (0, i18n_1._)('Label visibility'),
1012
1012
  option: 'yAxisLabelVisibility',
1013
1013
  editor: 'editor.radioBar',
1014
1014
  editorProps: {
1015
1015
  values: [{
1016
- label: i18n_1._('Auto'),
1016
+ label: (0, i18n_1._)('Auto'),
1017
1017
  value: 'auto'
1018
1018
  }, {
1019
- label: i18n_1._('Show'),
1019
+ label: (0, i18n_1._)('Show'),
1020
1020
  value: 'show'
1021
1021
  }, {
1022
- label: i18n_1._('Hide'),
1022
+ label: (0, i18n_1._)('Hide'),
1023
1023
  value: 'hide'
1024
1024
  }]
1025
1025
  }
1026
1026
  }], [{
1027
- label: i18n_1._('SI prefix abbreviation for labels'),
1027
+ label: (0, i18n_1._)('SI prefix abbreviation for labels'),
1028
1028
  option: 'yAxisAbbreviation',
1029
1029
  editor: 'editor.checkbox',
1030
1030
  showEditor: function showEditor(_ref2) {
@@ -1032,47 +1032,47 @@ var AxesChartYGridAndLabels = {
1032
1032
  return options.yAxisLabelVisibility === 'show' || options.yAxisLabelVisibility === 'auto' || options.yAxisLabelVisibility === undefined;
1033
1033
  }
1034
1034
  }], [{
1035
- label: i18n_1._('Include zero'),
1035
+ label: (0, i18n_1._)('Include zero'),
1036
1036
  option: 'showYAxisWithZero',
1037
1037
  editor: 'editor.checkbox'
1038
1038
  }], [{
1039
- label: i18n_1._('Extend to whole grid'),
1039
+ label: (0, i18n_1._)('Extend to whole grid'),
1040
1040
  option: 'showYAxisExtendedRange',
1041
1041
  editor: 'editor.checkbox'
1042
1042
  }], [{
1043
- label: i18n_1._('Minimum axis value'),
1043
+ label: (0, i18n_1._)('Minimum axis value'),
1044
1044
  option: 'yAxisMin',
1045
1045
  editor: 'editor.number'
1046
1046
  }, {
1047
- label: i18n_1._('Maximum axis value'),
1047
+ label: (0, i18n_1._)('Maximum axis value'),
1048
1048
  option: 'yAxisMax',
1049
1049
  editor: 'editor.number'
1050
1050
  }], [{
1051
- label: i18n_1._('Axis line visibility'),
1051
+ label: (0, i18n_1._)('Axis line visibility'),
1052
1052
  option: 'yAxisLineVisibility',
1053
1053
  editor: 'editor.checkbox'
1054
1054
  }], [{
1055
- label: i18n_1._('Major gridlines'),
1055
+ label: (0, i18n_1._)('Major gridlines'),
1056
1056
  option: 'showYMajorGridLines',
1057
1057
  editor: 'editor.checkbox'
1058
1058
  }], [{
1059
- label: i18n_1._('Major tick visibility'),
1059
+ label: (0, i18n_1._)('Major tick visibility'),
1060
1060
  option: 'yAxisMajorTickVisibility',
1061
1061
  editor: 'editor.radioBar',
1062
1062
  editorProps: {
1063
1063
  values: [{
1064
- label: i18n_1._('Auto'),
1064
+ label: (0, i18n_1._)('Auto'),
1065
1065
  value: 'auto'
1066
1066
  }, {
1067
- label: i18n_1._('Show'),
1067
+ label: (0, i18n_1._)('Show'),
1068
1068
  value: 'show'
1069
1069
  }, {
1070
- label: i18n_1._('Hide'),
1070
+ label: (0, i18n_1._)('Hide'),
1071
1071
  value: 'hide'
1072
1072
  }]
1073
1073
  }
1074
1074
  }], [{
1075
- label: i18n_1._('Major tick size (px)'),
1075
+ label: (0, i18n_1._)('Major tick size (px)'),
1076
1076
  option: 'yAxisMajorTickSize',
1077
1077
  editor: 'editor.slider',
1078
1078
  editorProps: {
@@ -1085,7 +1085,7 @@ var AxesChartYGridAndLabels = {
1085
1085
  return options.yAxisMajorTickVisibility === 'show' || options.yAxisMajorTickVisibility === 'auto' || options.yAxisMajorTickVisibility === undefined;
1086
1086
  }
1087
1087
  }], [{
1088
- label: i18n_1._('Major tick interval spacing'),
1088
+ label: (0, i18n_1._)('Major tick interval spacing'),
1089
1089
  option: 'yAxisMajorTickInterval',
1090
1090
  editor: 'editor.number',
1091
1091
  showEditor: function showEditor(_ref4) {
@@ -1093,27 +1093,27 @@ var AxesChartYGridAndLabels = {
1093
1093
  return options.yAxisMajorTickVisibility === 'show' || options.yAxisMajorTickVisibility === 'auto' || options.yAxisMajorTickVisibility === undefined;
1094
1094
  }
1095
1095
  }], [{
1096
- label: i18n_1._('Minor gridlines'),
1096
+ label: (0, i18n_1._)('Minor gridlines'),
1097
1097
  option: 'showYMinorGridLines',
1098
1098
  editor: 'editor.checkbox'
1099
1099
  }], [{
1100
- label: i18n_1._('Minor tick visibility'),
1100
+ label: (0, i18n_1._)('Minor tick visibility'),
1101
1101
  option: 'yAxisMinorTickVisibility',
1102
1102
  editor: 'editor.radioBar',
1103
1103
  editorProps: {
1104
1104
  values: [{
1105
- label: i18n_1._('Auto'),
1105
+ label: (0, i18n_1._)('Auto'),
1106
1106
  value: 'auto'
1107
1107
  }, {
1108
- label: i18n_1._('Show'),
1108
+ label: (0, i18n_1._)('Show'),
1109
1109
  value: 'show'
1110
1110
  }, {
1111
- label: i18n_1._('Hide'),
1111
+ label: (0, i18n_1._)('Hide'),
1112
1112
  value: 'hide'
1113
1113
  }]
1114
1114
  }
1115
1115
  }], [{
1116
- label: i18n_1._('Minor tick size (px)'),
1116
+ label: (0, i18n_1._)('Minor tick size (px)'),
1117
1117
  option: 'yAxisMinorTickSize',
1118
1118
  editor: 'editor.slider',
1119
1119
  editorProps: {
@@ -1147,52 +1147,52 @@ var i18n_1 = __webpack_require__(0);
1147
1147
  var lodash_1 = __webpack_require__(6);
1148
1148
  var configUtils_1 = __webpack_require__(4);
1149
1149
  exports.AxesChartDataDisplayLine = {
1150
- label: i18n_1._('Data display'),
1150
+ label: (0, i18n_1._)('Data display'),
1151
1151
  layout: [[{
1152
- label: i18n_1._('Null value display'),
1152
+ label: (0, i18n_1._)('Null value display'),
1153
1153
  option: 'nullValueDisplay',
1154
1154
  editor: 'editor.radioBar',
1155
1155
  editorProps: {
1156
1156
  values: [{
1157
- label: i18n_1._('Gaps'),
1157
+ label: (0, i18n_1._)('Gaps'),
1158
1158
  value: 'gaps'
1159
1159
  }, {
1160
- label: i18n_1._('Zero'),
1160
+ label: (0, i18n_1._)('Zero'),
1161
1161
  value: 'zero'
1162
1162
  }, {
1163
- label: i18n_1._('Connect'),
1163
+ label: (0, i18n_1._)('Connect'),
1164
1164
  value: 'connect'
1165
1165
  }]
1166
1166
  }
1167
1167
  }], [{
1168
- label: i18n_1._('Data value display'),
1168
+ label: (0, i18n_1._)('Data value display'),
1169
1169
  option: 'dataValuesDisplay',
1170
1170
  editor: 'editor.radioBar',
1171
1171
  editorProps: {
1172
1172
  values: [{
1173
- label: i18n_1._('Off'),
1173
+ label: (0, i18n_1._)('Off'),
1174
1174
  value: 'off'
1175
1175
  }, {
1176
- label: i18n_1._('All'),
1176
+ label: (0, i18n_1._)('All'),
1177
1177
  value: 'all'
1178
1178
  }, {
1179
- label: i18n_1._('Min/Max'),
1179
+ label: (0, i18n_1._)('Min/Max'),
1180
1180
  value: 'minmax'
1181
1181
  }]
1182
1182
  }
1183
1183
  }], [{
1184
- label: i18n_1._('Overlay fields'),
1184
+ label: (0, i18n_1._)('Overlay fields'),
1185
1185
  option: 'overlayFields',
1186
1186
  editor: 'editor.columnMultiSelectionByFieldNameEditor',
1187
1187
  editorProps: {
1188
1188
  filterByTypes: ['number']
1189
1189
  }
1190
1190
  }], [{
1191
- label: i18n_1._('Split series'),
1191
+ label: (0, i18n_1._)('Split series'),
1192
1192
  option: 'showSplitSeries',
1193
1193
  editor: 'editor.toggle'
1194
1194
  }], [{
1195
- label: i18n_1._('Independent y-axis for split series'),
1195
+ label: (0, i18n_1._)('Independent y-axis for split series'),
1196
1196
  option: 'showIndependentYRanges',
1197
1197
  editor: 'editor.checkbox',
1198
1198
  showEditor: function showEditor(_ref) {
@@ -1204,18 +1204,18 @@ exports.AxesChartDataDisplayLine = {
1204
1204
  var AxesChartDataDisplay = {
1205
1205
  label: exports.AxesChartDataDisplayLine.label,
1206
1206
  layout: [[{
1207
- label: i18n_1._('Stack mode'),
1207
+ label: (0, i18n_1._)('Stack mode'),
1208
1208
  option: 'stackMode',
1209
1209
  editor: 'editor.select',
1210
1210
  editorProps: {
1211
1211
  values: [{
1212
- label: i18n_1._('Not stacked'),
1212
+ label: (0, i18n_1._)('Not stacked'),
1213
1213
  value: 'auto'
1214
1214
  }, {
1215
- label: i18n_1._('Stacked'),
1215
+ label: (0, i18n_1._)('Stacked'),
1216
1216
  value: 'stacked'
1217
1217
  }, {
1218
- label: i18n_1._('Stacked 100%'),
1218
+ label: (0, i18n_1._)('Stacked 100%'),
1219
1219
  value: 'stacked100'
1220
1220
  }]
1221
1221
  }
@@ -1224,39 +1224,39 @@ var AxesChartDataDisplay = {
1224
1224
  exports.AxesChartDataDisplayBar = {
1225
1225
  label: exports.AxesChartDataDisplayLine.label,
1226
1226
  layout: [[{
1227
- label: i18n_1._('Stack mode'),
1227
+ label: (0, i18n_1._)('Stack mode'),
1228
1228
  option: 'stackMode',
1229
1229
  editor: 'editor.select',
1230
1230
  editorProps: {
1231
1231
  values: [{
1232
- label: i18n_1._('Not stacked'),
1232
+ label: (0, i18n_1._)('Not stacked'),
1233
1233
  value: 'auto'
1234
1234
  }, {
1235
- label: i18n_1._('Stacked'),
1235
+ label: (0, i18n_1._)('Stacked'),
1236
1236
  value: 'stacked'
1237
1237
  }, {
1238
- label: i18n_1._('Stacked 100%'),
1238
+ label: (0, i18n_1._)('Stacked 100%'),
1239
1239
  value: 'stacked100'
1240
1240
  }]
1241
1241
  }
1242
- }]].concat(_toConsumableArray(lodash_1.drop(exports.AxesChartDataDisplayLine.layout)))
1242
+ }]].concat(_toConsumableArray((0, lodash_1.drop)(exports.AxesChartDataDisplayLine.layout)))
1243
1243
  };
1244
1244
  exports.AxesChartDataDisplayColumn = {
1245
1245
  label: exports.AxesChartDataDisplayBar.label,
1246
- layout: [].concat(_toConsumableArray(configUtils_1.insertLayout(exports.AxesChartDataDisplayBar.layout, 2, [{
1247
- label: i18n_1._('Show tooltip on hover'),
1246
+ layout: [].concat(_toConsumableArray((0, configUtils_1.insertLayout)(exports.AxesChartDataDisplayBar.layout, 2, [{
1247
+ label: (0, i18n_1._)('Show tooltip on hover'),
1248
1248
  option: 'showTooltip',
1249
1249
  editor: 'editor.checkbox'
1250
1250
  }])), [[{
1251
- label: i18n_1._('Column grouping mode'),
1251
+ label: (0, i18n_1._)('Column grouping mode'),
1252
1252
  option: 'columnGrouping',
1253
1253
  editor: 'editor.radioBar',
1254
1254
  editorProps: {
1255
1255
  values: [{
1256
- label: i18n_1._('Auto'),
1256
+ label: (0, i18n_1._)('Auto'),
1257
1257
  value: 'auto'
1258
1258
  }, {
1259
- label: i18n_1._('Overlay'),
1259
+ label: (0, i18n_1._)('Overlay'),
1260
1260
  value: 'overlay'
1261
1261
  }]
1262
1262
  }
@@ -1276,13 +1276,13 @@ Object.defineProperty(exports, "__esModule", {
1276
1276
  });
1277
1277
  var i18n_1 = __webpack_require__(0);
1278
1278
  var axesChartY2GridAndLabels = {
1279
- label: i18n_1._('Y2-axis grid and labels'),
1279
+ label: (0, i18n_1._)('Y2-axis grid and labels'),
1280
1280
  layout: [[{
1281
- label: i18n_1._('Axis title'),
1281
+ label: (0, i18n_1._)('Axis title'),
1282
1282
  option: 'y2AxisTitleVisibility',
1283
1283
  editor: 'editor.toggle'
1284
1284
  }], [{
1285
- label: i18n_1._('Axis title'),
1285
+ label: (0, i18n_1._)('Axis title'),
1286
1286
  option: 'y2AxisTitleText',
1287
1287
  editor: 'editor.text',
1288
1288
  showEditor: function showEditor(_ref) {
@@ -1290,7 +1290,7 @@ var axesChartY2GridAndLabels = {
1290
1290
  return options.y2AxisTitleVisibility === 'show' || options.y2AxisTitleVisibility === undefined;
1291
1291
  }
1292
1292
  }], [{
1293
- label: i18n_1._('Show overlays on the y2-axis'),
1293
+ label: (0, i18n_1._)('Show overlays on the y2-axis'),
1294
1294
  option: 'showOverlayY2Axis',
1295
1295
  editor: 'editor.checkbox',
1296
1296
  showEditor: function showEditor(_ref2) {
@@ -1298,36 +1298,36 @@ var axesChartY2GridAndLabels = {
1298
1298
  return Array.isArray(options.overlayFields) && options.overlayFields.length > 0;
1299
1299
  }
1300
1300
  }], [{
1301
- label: i18n_1._('Scale'),
1301
+ label: (0, i18n_1._)('Scale'),
1302
1302
  option: 'y2AxisScale',
1303
1303
  editor: 'editor.radioBar',
1304
1304
  editorProps: {
1305
1305
  values: [{
1306
- label: i18n_1._('Linear'),
1306
+ label: (0, i18n_1._)('Linear'),
1307
1307
  value: 'linear'
1308
1308
  }, {
1309
- label: i18n_1._('Log'),
1309
+ label: (0, i18n_1._)('Log'),
1310
1310
  value: 'log'
1311
1311
  }]
1312
1312
  }
1313
1313
  }], [{
1314
- label: i18n_1._('Label visibility'),
1314
+ label: (0, i18n_1._)('Label visibility'),
1315
1315
  option: 'y2AxisLabelVisibility',
1316
1316
  editor: 'editor.radioBar',
1317
1317
  editorProps: {
1318
1318
  values: [{
1319
- label: i18n_1._('Auto'),
1319
+ label: (0, i18n_1._)('Auto'),
1320
1320
  value: 'auto'
1321
1321
  }, {
1322
- label: i18n_1._('Show'),
1322
+ label: (0, i18n_1._)('Show'),
1323
1323
  value: 'show'
1324
1324
  }, {
1325
- label: i18n_1._('Hide'),
1325
+ label: (0, i18n_1._)('Hide'),
1326
1326
  value: 'hide'
1327
1327
  }]
1328
1328
  }
1329
1329
  }], [{
1330
- label: i18n_1._('Round axis labels'),
1330
+ label: (0, i18n_1._)('Round axis labels'),
1331
1331
  option: 'showRoundedY2AxisLabels',
1332
1332
  editor: 'editor.checkbox',
1333
1333
  showEditor: function showEditor(_ref3) {
@@ -1335,7 +1335,7 @@ var axesChartY2GridAndLabels = {
1335
1335
  return options.y2AxisLabelVisibility === 'show' || options.y2AxisLabelVisibility === 'auto' || options.y2AxisLabelVisibility === undefined;
1336
1336
  }
1337
1337
  }], [{
1338
- label: i18n_1._('SI prefix abbreviation for labels'),
1338
+ label: (0, i18n_1._)('SI prefix abbreviation for labels'),
1339
1339
  option: 'y2AxisAbbreviation',
1340
1340
  editor: 'editor.checkbox',
1341
1341
  showEditor: function showEditor(_ref4) {
@@ -1343,43 +1343,43 @@ var axesChartY2GridAndLabels = {
1343
1343
  return options.y2AxisLabelVisibility === 'show' || options.y2AxisLabelVisibility === 'auto' || options.y2AxisLabelVisibility === undefined;
1344
1344
  }
1345
1345
  }], [{
1346
- label: i18n_1._('Include zero'),
1346
+ label: (0, i18n_1._)('Include zero'),
1347
1347
  option: 'showY2AxisWithZero',
1348
1348
  editor: 'editor.checkbox'
1349
1349
  }], [{
1350
- label: i18n_1._('Minimum axis value'),
1350
+ label: (0, i18n_1._)('Minimum axis value'),
1351
1351
  option: 'y2AxisMin',
1352
1352
  editor: 'editor.number'
1353
1353
  }, {
1354
- label: i18n_1._('Maximum axis value'),
1354
+ label: (0, i18n_1._)('Maximum axis value'),
1355
1355
  option: 'y2AxisMax',
1356
1356
  editor: 'editor.number'
1357
1357
  }], [{
1358
- label: i18n_1._('Axis line visibility'),
1358
+ label: (0, i18n_1._)('Axis line visibility'),
1359
1359
  option: 'y2AxisLineVisibility',
1360
1360
  editor: 'editor.checkbox'
1361
1361
  }], [{
1362
- label: i18n_1._('Major gridlines'),
1362
+ label: (0, i18n_1._)('Major gridlines'),
1363
1363
  option: 'showY2MajorGridLines',
1364
1364
  editor: 'editor.checkbox'
1365
1365
  }], [{
1366
- label: i18n_1._('Major tick visibility'),
1366
+ label: (0, i18n_1._)('Major tick visibility'),
1367
1367
  option: 'y2AxisMajorTickVisibility',
1368
1368
  editor: 'editor.radioBar',
1369
1369
  editorProps: {
1370
1370
  values: [{
1371
- label: i18n_1._('Auto'),
1371
+ label: (0, i18n_1._)('Auto'),
1372
1372
  value: 'auto'
1373
1373
  }, {
1374
- label: i18n_1._('Show'),
1374
+ label: (0, i18n_1._)('Show'),
1375
1375
  value: 'show'
1376
1376
  }, {
1377
- label: i18n_1._('Hide'),
1377
+ label: (0, i18n_1._)('Hide'),
1378
1378
  value: 'hide'
1379
1379
  }]
1380
1380
  }
1381
1381
  }], [{
1382
- label: i18n_1._('Major tick size (px)'),
1382
+ label: (0, i18n_1._)('Major tick size (px)'),
1383
1383
  option: 'y2AxisMajorTickSize',
1384
1384
  editor: 'editor.slider',
1385
1385
  editorProps: {
@@ -1392,7 +1392,7 @@ var axesChartY2GridAndLabels = {
1392
1392
  return options.y2AxisMajorTickVisibility === 'show' || options.y2AxisMajorTickVisibility === 'auto' || options.y2AxisMajorTickVisibility === undefined;
1393
1393
  }
1394
1394
  }], [{
1395
- label: i18n_1._('Major tick interval spacing'),
1395
+ label: (0, i18n_1._)('Major tick interval spacing'),
1396
1396
  option: 'y2AxisMajorTickInterval',
1397
1397
  editor: 'editor.number',
1398
1398
  showEditor: function showEditor(_ref6) {
@@ -1400,27 +1400,27 @@ var axesChartY2GridAndLabels = {
1400
1400
  return options.y2AxisMajorTickVisibility === 'show' || options.y2AxisMajorTickVisibility === 'auto' || options.y2AxisMajorTickVisibility === undefined;
1401
1401
  }
1402
1402
  }], [{
1403
- label: i18n_1._('Minor gridlines'),
1403
+ label: (0, i18n_1._)('Minor gridlines'),
1404
1404
  option: 'showY2MinorGridLines',
1405
1405
  editor: 'editor.checkbox'
1406
1406
  }], [{
1407
- label: i18n_1._('Minor tick visibility'),
1407
+ label: (0, i18n_1._)('Minor tick visibility'),
1408
1408
  option: 'y2AxisMinorTickVisibility',
1409
1409
  editor: 'editor.radioBar',
1410
1410
  editorProps: {
1411
1411
  values: [{
1412
- label: i18n_1._('Auto'),
1412
+ label: (0, i18n_1._)('Auto'),
1413
1413
  value: 'auto'
1414
1414
  }, {
1415
- label: i18n_1._('Show'),
1415
+ label: (0, i18n_1._)('Show'),
1416
1416
  value: 'show'
1417
1417
  }, {
1418
- label: i18n_1._('Hide'),
1418
+ label: (0, i18n_1._)('Hide'),
1419
1419
  value: 'hide'
1420
1420
  }]
1421
1421
  }
1422
1422
  }], [{
1423
- label: i18n_1._('Minor tick size (px)'),
1423
+ label: (0, i18n_1._)('Minor tick size (px)'),
1424
1424
  option: 'y2AxisMinorTickSize',
1425
1425
  editor: 'editor.slider',
1426
1426
  editorProps: {
@@ -1584,13 +1584,13 @@ exports.optionsSchema = {
1584
1584
  dataValuesDisplay: {
1585
1585
  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.',
1586
1586
  type: 'string',
1587
- pattern: schemaUtils_1.getPattern(['off', 'all', 'minmax']),
1587
+ pattern: (0, schemaUtils_1.getPattern)(['off', 'all', 'minmax']),
1588
1588
  default: 'off'
1589
1589
  },
1590
1590
  columnGrouping: {
1591
1591
  default: 'auto',
1592
1592
  description: 'Specify a column grouping mode. If chart.stackMode is defined, it overrides grouping mode settings.',
1593
- pattern: schemaUtils_1.getPattern(['auto', 'overlay']),
1593
+ pattern: (0, schemaUtils_1.getPattern)(['auto', 'overlay']),
1594
1594
  type: 'string'
1595
1595
  },
1596
1596
  columnSpacing: {
@@ -1599,7 +1599,7 @@ exports.optionsSchema = {
1599
1599
  },
1600
1600
  legendDisplay: {
1601
1601
  description: 'Specify the location of the legend on the panel.',
1602
- pattern: schemaUtils_1.getPattern(['right', 'left', 'top', 'bottom', 'off']),
1602
+ pattern: (0, schemaUtils_1.getPattern)(['right', 'left', 'top', 'bottom', 'off']),
1603
1603
  type: 'string',
1604
1604
  default: 'right'
1605
1605
  },
@@ -1613,12 +1613,12 @@ exports.optionsSchema = {
1613
1613
  legendMode: {
1614
1614
  default: 'standard',
1615
1615
  description: 'Specify visual and behavioral settings for the tooltip and legend. "seriesCompare" is useful when comparing series.',
1616
- pattern: schemaUtils_1.getPattern(['standard', 'seriesCompare']),
1616
+ pattern: (0, schemaUtils_1.getPattern)(['standard', 'seriesCompare']),
1617
1617
  type: 'string'
1618
1618
  },
1619
1619
  legendTruncation: {
1620
1620
  description: 'Specify how to display legend labels when they overflow the layout boundaries by replacing overflow text with an ellipsis.',
1621
- pattern: schemaUtils_1.getPattern(['ellipsisEnd', 'ellipsisMiddle', 'ellipsisStart', 'ellipsisOff']),
1621
+ pattern: (0, schemaUtils_1.getPattern)(['ellipsisEnd', 'ellipsisMiddle', 'ellipsisStart', 'ellipsisOff']),
1622
1622
  type: 'string',
1623
1623
  default: 'ellipsisEnd'
1624
1624
  },
@@ -1651,7 +1651,7 @@ exports.optionsSchema = {
1651
1651
  stackMode: {
1652
1652
  description: 'Specify stack mode.',
1653
1653
  type: 'string',
1654
- pattern: schemaUtils_1.getPattern(['auto', 'stacked', 'stacked100']),
1654
+ pattern: (0, schemaUtils_1.getPattern)(['auto', 'stacked', 'stacked100']),
1655
1655
  default: 'auto'
1656
1656
  },
1657
1657
  showIndependentYRanges: {
@@ -1717,41 +1717,41 @@ exports.optionsSchema = {
1717
1717
  },
1718
1718
  xAxisLabelVisibility: {
1719
1719
  description: 'Specify whether to show labels on the x-axis.',
1720
- pattern: schemaUtils_1.getPattern(['auto', 'show', 'hide']),
1720
+ pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
1721
1721
  type: 'string',
1722
1722
  default: 'auto'
1723
1723
  },
1724
1724
  yAxisLabelVisibility: {
1725
1725
  default: 'auto',
1726
1726
  description: 'Specify whether to show labels on the y-axis.',
1727
- pattern: schemaUtils_1.getPattern(['auto', 'show', 'hide']),
1727
+ pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
1728
1728
  type: 'string'
1729
1729
  },
1730
1730
  y2AxisLabelVisibility: {
1731
1731
  default: 'auto',
1732
1732
  description: 'Specify whether to show labels on the second y-axis.',
1733
- pattern: schemaUtils_1.getPattern(['auto', 'show', 'hide']),
1733
+ pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
1734
1734
  type: 'string'
1735
1735
  },
1736
1736
  xAxisLineVisibility: {
1737
1737
  default: 'hide',
1738
1738
  description: 'Specify whether to show the x-axis line.',
1739
1739
  enum: ['hide', 'show'],
1740
- pattern: schemaUtils_1.getPattern(['show', 'hide']),
1740
+ pattern: (0, schemaUtils_1.getPattern)(['show', 'hide']),
1741
1741
  type: 'string'
1742
1742
  },
1743
1743
  yAxisLineVisibility: {
1744
1744
  default: 'hide',
1745
1745
  description: 'Specify whether to show the y-axis line.',
1746
1746
  enum: ['hide', 'show'],
1747
- pattern: schemaUtils_1.getPattern(['show', 'hide']),
1747
+ pattern: (0, schemaUtils_1.getPattern)(['show', 'hide']),
1748
1748
  type: 'string'
1749
1749
  },
1750
1750
  y2AxisLineVisibility: {
1751
1751
  default: 'hide',
1752
1752
  description: 'Specify whether to show the second y-axis line.',
1753
1753
  enum: ['hide', 'show'],
1754
- pattern: schemaUtils_1.getPattern(['show', 'hide']),
1754
+ pattern: (0, schemaUtils_1.getPattern)(['show', 'hide']),
1755
1755
  type: 'string'
1756
1756
  },
1757
1757
  xAxisMajorTickSize: {
@@ -1782,31 +1782,31 @@ exports.optionsSchema = {
1782
1782
  xAxisMajorTickVisibility: {
1783
1783
  default: 'auto',
1784
1784
  description: 'Specify whether to show major tick marks on the x-axis.',
1785
- pattern: schemaUtils_1.getPattern(['auto', 'show', 'hide']),
1785
+ pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
1786
1786
  type: 'string'
1787
1787
  },
1788
1788
  yAxisMajorTickVisibility: {
1789
1789
  default: 'auto',
1790
1790
  description: 'Specify whether to show major tick marks on the y-axis.',
1791
- pattern: schemaUtils_1.getPattern(['auto', 'show', 'hide']),
1791
+ pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
1792
1792
  type: 'string'
1793
1793
  },
1794
1794
  y2AxisMajorTickVisibility: {
1795
1795
  default: 'auto',
1796
1796
  description: 'Specify whether to show major tick marks on the second y-axis.',
1797
- pattern: schemaUtils_1.getPattern(['auto', 'show', 'hide']),
1797
+ pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
1798
1798
  type: 'string'
1799
1799
  },
1800
1800
  yAxisMinorTickVisibility: {
1801
1801
  default: 'auto',
1802
1802
  description: 'Specify whether to show minor tick marks on the y-axis.',
1803
- pattern: schemaUtils_1.getPattern(['auto', 'show', 'hide']),
1803
+ pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
1804
1804
  type: 'string'
1805
1805
  },
1806
1806
  y2AxisMinorTickVisibility: {
1807
1807
  default: 'auto',
1808
1808
  description: 'Specify whether to show minor tick marks on the second y-axis.',
1809
- pattern: schemaUtils_1.getPattern(['auto', 'show', 'hide']),
1809
+ pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
1810
1810
  type: 'string'
1811
1811
  },
1812
1812
  xAxisMaxLabelParts: {
@@ -1818,13 +1818,13 @@ exports.optionsSchema = {
1818
1818
  },
1819
1819
  yAxisScale: {
1820
1820
  type: 'string',
1821
- pattern: schemaUtils_1.getPattern(['linear', 'log']),
1821
+ pattern: (0, schemaUtils_1.getPattern)(['linear', 'log']),
1822
1822
  description: 'Specify the type of scale that applies to a numerical y-axis.',
1823
1823
  default: 'linear'
1824
1824
  },
1825
1825
  y2AxisScale: {
1826
1826
  type: 'string',
1827
- pattern: schemaUtils_1.getPattern(['linear', 'log']),
1827
+ pattern: (0, schemaUtils_1.getPattern)(['linear', 'log']),
1828
1828
  description: 'Specify the type of scale that applies to a numerical second y-axis.',
1829
1829
  default: 'linear'
1830
1830
  },
@@ -1844,35 +1844,35 @@ exports.optionsSchema = {
1844
1844
  default: 'show',
1845
1845
  description: 'Specify whether to show the title of the x-axis.',
1846
1846
  enum: ['hide', 'show'],
1847
- pattern: schemaUtils_1.getPattern(['show', 'hide']),
1847
+ pattern: (0, schemaUtils_1.getPattern)(['show', 'hide']),
1848
1848
  type: 'string'
1849
1849
  },
1850
1850
  yAxisTitleVisibility: {
1851
1851
  default: 'show',
1852
1852
  description: 'Specify whether to show the title of the y-axis.',
1853
1853
  enum: ['hide', 'show'],
1854
- pattern: schemaUtils_1.getPattern(['show', 'hide']),
1854
+ pattern: (0, schemaUtils_1.getPattern)(['show', 'hide']),
1855
1855
  type: 'string'
1856
1856
  },
1857
1857
  y2AxisTitleVisibility: {
1858
1858
  default: 'show',
1859
1859
  description: 'Specify whether to show the title of the second y-axis.',
1860
1860
  enum: ['hide', 'show'],
1861
- pattern: schemaUtils_1.getPattern(['show', 'hide']),
1861
+ pattern: (0, schemaUtils_1.getPattern)(['show', 'hide']),
1862
1862
  type: 'string'
1863
1863
  },
1864
1864
  yAxisAbbreviation: {
1865
1865
  default: 'auto',
1866
1866
  description: 'Specify whether to abbreviate large y-axis values with the closest International System of Units (SI) prefix.',
1867
1867
  enum: ['auto', 'off'],
1868
- pattern: schemaUtils_1.getPattern(['off', 'auto']),
1868
+ pattern: (0, schemaUtils_1.getPattern)(['off', 'auto']),
1869
1869
  type: 'string'
1870
1870
  },
1871
1871
  y2AxisAbbreviation: {
1872
1872
  default: 'auto',
1873
1873
  description: 'Specify whether to abbreviate large second y-axis values with the closest International System of Units (SI) prefix.',
1874
1874
  enum: ['auto', 'off'],
1875
- pattern: schemaUtils_1.getPattern(['off', 'auto']),
1875
+ pattern: (0, schemaUtils_1.getPattern)(['off', 'auto']),
1876
1876
  type: 'string'
1877
1877
  },
1878
1878
  yAxisMajorTickInterval: {
@@ -1925,7 +1925,7 @@ exports.optionsSchema = {
1925
1925
  };
1926
1926
  var themes = {
1927
1927
  defaultBackgroundColor: function defaultBackgroundColor(props) {
1928
- return pick_1.default({
1928
+ return (0, pick_1.default)({
1929
1929
  enterprise: {
1930
1930
  dark: variables_1.default.black(props),
1931
1931
  light: variables_1.default.backgroundColor(props)
@@ -1934,17 +1934,17 @@ var themes = {
1934
1934
  })(props);
1935
1935
  }
1936
1936
  };
1937
- var updatedAxesChartLegend = lodash_1.cloneDeep(AxesChartLegend_1.default);
1937
+ var updatedAxesChartLegend = (0, lodash_1.cloneDeep)(AxesChartLegend_1.default);
1938
1938
  updatedAxesChartLegend.layout.push([{
1939
- label: i18n_1._('Legend mode'),
1939
+ label: (0, i18n_1._)('Legend mode'),
1940
1940
  option: 'legendMode',
1941
1941
  editor: 'editor.radioBar',
1942
1942
  editorProps: {
1943
1943
  values: [{
1944
- label: i18n_1._('Standard'),
1944
+ label: (0, i18n_1._)('Standard'),
1945
1945
  value: 'standard'
1946
1946
  }, {
1947
- label: i18n_1._('Compare series'),
1947
+ label: (0, i18n_1._)('Compare series'),
1948
1948
  value: 'seriesCompare'
1949
1949
  }]
1950
1950
  }
@@ -1952,15 +1952,15 @@ updatedAxesChartLegend.layout.push([{
1952
1952
  var editorConfig = [AxesChartDataConfig_1.AxesChartDataConfigAreaColumnLine, AxesChartDataDisplay_1.AxesChartDataDisplayColumn, {
1953
1953
  label: AxesChartColorAndStyle_1.default.label,
1954
1954
  layout: [].concat(_toConsumableArray(AxesChartColorAndStyle_1.default.layout), [[{
1955
- label: i18n_1._('Spacing between column series'),
1955
+ label: (0, i18n_1._)('Spacing between column series'),
1956
1956
  option: 'seriesSpacing',
1957
1957
  editor: 'editor.number'
1958
1958
  }], [{
1959
- label: i18n_1._('Spacing between columns'),
1959
+ label: (0, i18n_1._)('Spacing between columns'),
1960
1960
  option: 'columnSpacing',
1961
1961
  editor: 'editor.number'
1962
1962
  }], [{
1963
- label: i18n_1._('Line width'),
1963
+ label: (0, i18n_1._)('Line width'),
1964
1964
  option: 'lineWidth',
1965
1965
  editor: 'editor.slider',
1966
1966
  editorProps: {
@@ -1973,7 +1973,7 @@ var editorConfig = [AxesChartDataConfig_1.AxesChartDataConfigAreaColumnLine, Axe
1973
1973
  return Array.isArray(options.overlayFields) && options.overlayFields.length > 0;
1974
1974
  }
1975
1975
  }], [{
1976
- label: i18n_1._('Annotation colors'),
1976
+ label: (0, i18n_1._)('Annotation colors'),
1977
1977
  option: 'annotationColor',
1978
1978
  editor: 'editor.columnSelector',
1979
1979
  editorProps: {
@@ -1994,7 +1994,7 @@ var config = {
1994
1994
  /**
1995
1995
  * viz name
1996
1996
  */
1997
- name: i18n_1._('Column'),
1997
+ name: (0, i18n_1._)('Column'),
1998
1998
  category: VizCategory_1.VizCategory.TRENDS,
1999
1999
  /**
2000
2000
  * viz icon
@@ -2026,7 +2026,7 @@ var config = {
2026
2026
  supports: [VizBehavior_1.VizBehavior.DYNAMIC_OPTIONS, VizBehavior_1.VizBehavior.PLACEHOLDER],
2027
2027
  themes: themes
2028
2028
  };
2029
- exports.default = configUtils_1.enhanceConfig(config);
2029
+ exports.default = (0, configUtils_1.enhanceConfig)(config);
2030
2030
 
2031
2031
  /***/ })
2032
2032
  /******/ ]);