@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/Scatter.config.js CHANGED
@@ -142,7 +142,7 @@ var background = function background(_ref) {
142
142
  themes = _ref.themes,
143
143
  labelPosition = _ref.labelPosition;
144
144
  return [{
145
- label: i18n_1._(label || 'Background'),
145
+ label: (0, i18n_1._)(label || 'Background'),
146
146
  option: 'backgroundColor',
147
147
  editor: 'editor.color',
148
148
  editorProps: {
@@ -176,9 +176,9 @@ exports.AxesChartDataConfigAreaColumnLine = exports.AxesChartDataConfigBubble =
176
176
  var i18n_1 = __webpack_require__(0);
177
177
  var configUtils_1 = __webpack_require__(4);
178
178
  var AxesChartDataConfig = {
179
- label: i18n_1._('Data configurations'),
179
+ label: (0, i18n_1._)('Data configurations'),
180
180
  layout: [[{
181
- label: i18n_1._('X'),
181
+ label: (0, i18n_1._)('X'),
182
182
  option: 'x',
183
183
  editor: 'editor.columnSelector',
184
184
  editorProps: {
@@ -187,7 +187,7 @@ var AxesChartDataConfig = {
187
187
  expectedDataPrimitive: ['series']
188
188
  }
189
189
  }], [{
190
- label: i18n_1._('Y'),
190
+ label: (0, i18n_1._)('Y'),
191
191
  option: 'y',
192
192
  editor: 'editor.columnMultiSelector',
193
193
  editorProps: {
@@ -197,7 +197,7 @@ var AxesChartDataConfig = {
197
197
  expectedDataPrimitive: ['series', 'frame']
198
198
  }
199
199
  }], [{
200
- label: i18n_1._('Result limit'),
200
+ label: (0, i18n_1._)('Result limit'),
201
201
  option: 'resultLimit',
202
202
  editor: 'editor.number',
203
203
  editorProps: {
@@ -208,8 +208,8 @@ var AxesChartDataConfig = {
208
208
  exports.AxesChartDataConfigBar = {
209
209
  label: AxesChartDataConfig.label,
210
210
  // insert Y2 after Y
211
- layout: configUtils_1.insertLayout(AxesChartDataConfig.layout, 2, [{
212
- label: i18n_1._('Y2'),
211
+ layout: (0, configUtils_1.insertLayout)(AxesChartDataConfig.layout, 2, [{
212
+ label: (0, i18n_1._)('Y2'),
213
213
  option: 'y2',
214
214
  editor: 'editor.columnMultiSelector',
215
215
  editorProps: {
@@ -223,7 +223,7 @@ exports.AxesChartDataConfigBar = {
223
223
  exports.AxesChartDataConfigScatter = {
224
224
  label: AxesChartDataConfig.label,
225
225
  layout: [[{
226
- label: i18n_1._('X'),
226
+ label: (0, i18n_1._)('X'),
227
227
  option: 'x',
228
228
  editor: 'editor.columnSelector',
229
229
  editorProps: {
@@ -232,7 +232,7 @@ exports.AxesChartDataConfigScatter = {
232
232
  expectedDataPrimitive: ['series']
233
233
  }
234
234
  }], [{
235
- label: i18n_1._('Y'),
235
+ label: (0, i18n_1._)('Y'),
236
236
  option: 'y',
237
237
  editor: 'editor.columnSelector',
238
238
  editorProps: {
@@ -242,7 +242,7 @@ exports.AxesChartDataConfigScatter = {
242
242
  expectedDataPrimitive: ['series']
243
243
  }
244
244
  }], [{
245
- label: i18n_1._('Category'),
245
+ label: (0, i18n_1._)('Category'),
246
246
  option: 'category',
247
247
  editor: 'editor.columnSelector',
248
248
  editorProps: {
@@ -251,7 +251,7 @@ exports.AxesChartDataConfigScatter = {
251
251
  expectedDataPrimitive: ['series']
252
252
  }
253
253
  }], [{
254
- label: i18n_1._('Result limit'),
254
+ label: (0, i18n_1._)('Result limit'),
255
255
  option: 'resultLimit',
256
256
  editor: 'editor.number',
257
257
  editorProps: {
@@ -262,8 +262,8 @@ exports.AxesChartDataConfigScatter = {
262
262
  exports.AxesChartDataConfigBubble = {
263
263
  label: exports.AxesChartDataConfigScatter.label,
264
264
  // layout: insert Size after Category
265
- layout: configUtils_1.insertLayout(exports.AxesChartDataConfigScatter.layout, 3, [{
266
- label: i18n_1._('Size'),
265
+ layout: (0, configUtils_1.insertLayout)(exports.AxesChartDataConfigScatter.layout, 3, [{
266
+ label: (0, i18n_1._)('Size'),
267
267
  option: 'size',
268
268
  editor: 'editor.columnSelector',
269
269
  editorProps: {
@@ -276,7 +276,7 @@ exports.AxesChartDataConfigBubble = {
276
276
  exports.AxesChartDataConfigAreaColumnLine = {
277
277
  label: exports.AxesChartDataConfigBar.label,
278
278
  layout: [].concat(_toConsumableArray(exports.AxesChartDataConfigBar.layout), [[{
279
- label: i18n_1._('Annotation x'),
279
+ label: (0, i18n_1._)('Annotation x'),
280
280
  option: 'annotationX',
281
281
  editor: 'editor.columnSelector',
282
282
  editorProps: {
@@ -285,7 +285,7 @@ exports.AxesChartDataConfigAreaColumnLine = {
285
285
  expectedDataPrimitive: ['series']
286
286
  }
287
287
  }], [{
288
- label: i18n_1._('Annotation labels'),
288
+ label: (0, i18n_1._)('Annotation labels'),
289
289
  option: 'annotationLabel',
290
290
  editor: 'editor.columnSelector',
291
291
  editorProps: {
@@ -314,7 +314,7 @@ var variables_1 = __webpack_require__(10);
314
314
  var BackgroundColor_1 = __webpack_require__(13);
315
315
  var themes = {
316
316
  defaultBackgroundColor: function defaultBackgroundColor(props) {
317
- return pick_1.default({
317
+ return (0, pick_1.default)({
318
318
  enterprise: {
319
319
  dark: variables_1.default.black(props),
320
320
  light: variables_1.default.backgroundColor(props)
@@ -324,15 +324,15 @@ var themes = {
324
324
  }
325
325
  };
326
326
  var AxesChartColorAndStyle = {
327
- label: i18n_1._('Color and style'),
328
- layout: [BackgroundColor_1.default({
327
+ label: (0, i18n_1._)('Color and style'),
328
+ layout: [(0, BackgroundColor_1.default)({
329
329
  themes: themes
330
330
  }), [{
331
- label: i18n_1._('Series colors'),
331
+ label: (0, i18n_1._)('Series colors'),
332
332
  option: 'seriesColors',
333
333
  editor: 'editor.seriesColors'
334
334
  }], [{
335
- label: i18n_1._('Series colors by field name'),
335
+ label: (0, i18n_1._)('Series colors by field name'),
336
336
  option: 'seriesColorsByField',
337
337
  editor: 'editor.seriesColorsByField'
338
338
  }]]
@@ -352,45 +352,45 @@ Object.defineProperty(exports, "__esModule", {
352
352
  });
353
353
  var i18n_1 = __webpack_require__(0);
354
354
  var AxesChartLegend = {
355
- label: i18n_1._('Legend'),
355
+ label: (0, i18n_1._)('Legend'),
356
356
  layout: [[{
357
- label: i18n_1._('Legend display'),
357
+ label: (0, i18n_1._)('Legend display'),
358
358
  option: 'legendDisplay',
359
359
  editor: 'editor.select',
360
360
  editorProps: {
361
361
  values: [{
362
- label: i18n_1._('Right'),
362
+ label: (0, i18n_1._)('Right'),
363
363
  value: 'right'
364
364
  }, {
365
- label: i18n_1._('Left'),
365
+ label: (0, i18n_1._)('Left'),
366
366
  value: 'left'
367
367
  }, {
368
- label: i18n_1._('Top'),
368
+ label: (0, i18n_1._)('Top'),
369
369
  value: 'top'
370
370
  }, {
371
- label: i18n_1._('Bottom'),
371
+ label: (0, i18n_1._)('Bottom'),
372
372
  value: 'bottom'
373
373
  }, {
374
- label: i18n_1._('Off'),
374
+ label: (0, i18n_1._)('Off'),
375
375
  value: 'off'
376
376
  }]
377
377
  }
378
378
  }], [{
379
- label: i18n_1._('Legend truncation'),
379
+ label: (0, i18n_1._)('Legend truncation'),
380
380
  option: 'legendTruncation',
381
381
  editor: 'editor.radioBar',
382
382
  editorProps: {
383
383
  values: [{
384
- label: i18n_1._('A...'),
384
+ label: (0, i18n_1._)('A...'),
385
385
  value: 'ellipsisEnd'
386
386
  }, {
387
- label: i18n_1._('A...Z'),
387
+ label: (0, i18n_1._)('A...Z'),
388
388
  value: 'ellipsisMiddle'
389
389
  }, {
390
- label: i18n_1._('...Z'),
390
+ label: (0, i18n_1._)('...Z'),
391
391
  value: 'ellipsisStart'
392
392
  }, {
393
- label: i18n_1._('Off'),
393
+ label: (0, i18n_1._)('Off'),
394
394
  value: 'ellipsisOff'
395
395
  }]
396
396
  },
@@ -418,13 +418,13 @@ exports.AxesChartXGridAndLabelsBubbleScatter = exports.AxesChartXGridAndLabelsCo
418
418
  var i18n_1 = __webpack_require__(0);
419
419
  var configUtils_1 = __webpack_require__(4);
420
420
  exports.AxesChartXGridAndLabelsCommon = {
421
- label: i18n_1._('X-axis grid and labels'),
421
+ label: (0, i18n_1._)('X-axis grid and labels'),
422
422
  layout: [[{
423
- label: i18n_1._('Axis title'),
423
+ label: (0, i18n_1._)('Axis title'),
424
424
  option: 'xAxisTitleVisibility',
425
425
  editor: 'editor.toggle'
426
426
  }], [{
427
- label: i18n_1._('Axis title text'),
427
+ label: (0, i18n_1._)('Axis title text'),
428
428
  option: 'xAxisTitleText',
429
429
  editor: 'editor.text',
430
430
  showEditor: function showEditor(_ref) {
@@ -432,18 +432,18 @@ exports.AxesChartXGridAndLabelsCommon = {
432
432
  return options.xAxisTitleVisibility === 'show' || options.xAxisTitleVisibility === undefined;
433
433
  }
434
434
  }], [{
435
- label: i18n_1._('Label visibility'),
435
+ label: (0, i18n_1._)('Label visibility'),
436
436
  option: 'xAxisLabelVisibility',
437
437
  editor: 'editor.radioBar',
438
438
  editorProps: {
439
439
  values: [{
440
- label: i18n_1._('Auto'),
440
+ label: (0, i18n_1._)('Auto'),
441
441
  value: 'auto'
442
442
  }, {
443
- label: i18n_1._('Show'),
443
+ label: (0, i18n_1._)('Show'),
444
444
  value: 'show'
445
445
  }, {
446
- label: i18n_1._('Hide'),
446
+ label: (0, i18n_1._)('Hide'),
447
447
  value: 'hide'
448
448
  }]
449
449
  }
@@ -452,24 +452,24 @@ exports.AxesChartXGridAndLabelsCommon = {
452
452
  var AxesChartXGridAndLabels = {
453
453
  label: exports.AxesChartXGridAndLabelsCommon.label,
454
454
  layout: [].concat(_toConsumableArray(exports.AxesChartXGridAndLabelsCommon.layout), [[{
455
- label: i18n_1._('Label rotation'),
455
+ label: (0, i18n_1._)('Label rotation'),
456
456
  option: 'xAxisLabelRotation',
457
457
  editor: 'editor.select',
458
458
  editorProps: {
459
459
  values: [{
460
- label: i18n_1._('-90'),
460
+ label: (0, i18n_1._)('-90'),
461
461
  value: -90
462
462
  }, {
463
- label: i18n_1._('-45'),
463
+ label: (0, i18n_1._)('-45'),
464
464
  value: -45
465
465
  }, {
466
- label: i18n_1._('0'),
466
+ label: (0, i18n_1._)('0'),
467
467
  value: 0
468
468
  }, {
469
- label: i18n_1._('45'),
469
+ label: (0, i18n_1._)('45'),
470
470
  value: 45
471
471
  }, {
472
- label: i18n_1._('90'),
472
+ label: (0, i18n_1._)('90'),
473
473
  value: 90
474
474
  }]
475
475
  },
@@ -478,7 +478,7 @@ var AxesChartXGridAndLabels = {
478
478
  return options.xAxisLabelVisibility === 'show' || options.xAxisLabelVisibility === 'auto' || options.xAxisLabelVisibility === undefined;
479
479
  }
480
480
  }], [{
481
- label: i18n_1._('Number of time label parts'),
481
+ label: (0, i18n_1._)('Number of time label parts'),
482
482
  option: 'xAxisMaxLabelParts',
483
483
  editor: 'editor.number',
484
484
  editorProps: {
@@ -490,31 +490,31 @@ var AxesChartXGridAndLabels = {
490
490
  return options.xAxisLabelVisibility === 'show' || options.xAxisLabelVisibility === 'auto' || options.xAxisLabelVisibility === undefined;
491
491
  }
492
492
  }], [{
493
- label: i18n_1._('Axis line visibility'),
493
+ label: (0, i18n_1._)('Axis line visibility'),
494
494
  option: 'xAxisLineVisibility',
495
495
  editor: 'editor.checkbox'
496
496
  }], [{
497
- label: i18n_1._('Major gridlines'),
497
+ label: (0, i18n_1._)('Major gridlines'),
498
498
  option: 'showXMajorGridLines',
499
499
  editor: 'editor.checkbox'
500
500
  }], [{
501
- label: i18n_1._('Major tick visibility'),
501
+ label: (0, i18n_1._)('Major tick visibility'),
502
502
  option: 'xAxisMajorTickVisibility',
503
503
  editor: 'editor.radioBar',
504
504
  editorProps: {
505
505
  values: [{
506
- label: i18n_1._('Auto'),
506
+ label: (0, i18n_1._)('Auto'),
507
507
  value: 'auto'
508
508
  }, {
509
- label: i18n_1._('Show'),
509
+ label: (0, i18n_1._)('Show'),
510
510
  value: 'show'
511
511
  }, {
512
- label: i18n_1._('Hide'),
512
+ label: (0, i18n_1._)('Hide'),
513
513
  value: 'hide'
514
514
  }]
515
515
  }
516
516
  }], [{
517
- label: i18n_1._('Major tick size (px)'),
517
+ label: (0, i18n_1._)('Major tick size (px)'),
518
518
  option: 'xAxisMajorTickSize',
519
519
  editor: 'editor.slider',
520
520
  editorProps: {
@@ -530,38 +530,38 @@ var AxesChartXGridAndLabels = {
530
530
  };
531
531
  exports.AxesChartXGridAndLabelsBubbleScatter = {
532
532
  label: exports.AxesChartXGridAndLabelsCommon.label,
533
- layout: [].concat(_toConsumableArray(configUtils_1.insertLayout(exports.AxesChartXGridAndLabelsCommon.layout, 2, [{
534
- label: i18n_1._('Axis scale'),
533
+ layout: [].concat(_toConsumableArray((0, configUtils_1.insertLayout)(exports.AxesChartXGridAndLabelsCommon.layout, 2, [{
534
+ label: (0, i18n_1._)('Axis scale'),
535
535
  option: 'xAxisScale',
536
536
  editor: 'editor.radioBar',
537
537
  editorProps: {
538
538
  values: [{
539
- label: i18n_1._('Linear'),
539
+ label: (0, i18n_1._)('Linear'),
540
540
  value: 'linear'
541
541
  }, {
542
- label: i18n_1._('Log'),
542
+ label: (0, i18n_1._)('Log'),
543
543
  value: 'log'
544
544
  }]
545
545
  }
546
546
  }])), [[{
547
- label: i18n_1._('Label rotation'),
547
+ label: (0, i18n_1._)('Label rotation'),
548
548
  option: 'xAxisLabelRotation',
549
549
  editor: 'editor.select',
550
550
  editorProps: {
551
551
  values: [{
552
- label: i18n_1._('-90'),
552
+ label: (0, i18n_1._)('-90'),
553
553
  value: -90
554
554
  }, {
555
- label: i18n_1._('-45'),
555
+ label: (0, i18n_1._)('-45'),
556
556
  value: -45
557
557
  }, {
558
- label: i18n_1._('0'),
558
+ label: (0, i18n_1._)('0'),
559
559
  value: 0
560
560
  }, {
561
- label: i18n_1._('45'),
561
+ label: (0, i18n_1._)('45'),
562
562
  value: 45
563
563
  }, {
564
- label: i18n_1._('90'),
564
+ label: (0, i18n_1._)('90'),
565
565
  value: 90
566
566
  }]
567
567
  },
@@ -570,7 +570,7 @@ exports.AxesChartXGridAndLabelsBubbleScatter = {
570
570
  return options.xAxisLabelVisibility === 'show' || options.xAxisLabelVisibility === 'auto' || options.xAxisLabelVisibility === undefined;
571
571
  }
572
572
  }], [{
573
- label: i18n_1._('Round axis labels'),
573
+ label: (0, i18n_1._)('Round axis labels'),
574
574
  option: 'showRoundedXAxisLabels',
575
575
  editor: 'editor.checkbox',
576
576
  showEditor: function showEditor(_ref6) {
@@ -578,7 +578,7 @@ exports.AxesChartXGridAndLabelsBubbleScatter = {
578
578
  return options.xAxisLabelVisibility === 'show' || options.xAxisLabelVisibility === 'auto' || options.xAxisLabelVisibility === undefined;
579
579
  }
580
580
  }], [{
581
- label: i18n_1._('SI prefix abbreviation for labels'),
581
+ label: (0, i18n_1._)('SI prefix abbreviation for labels'),
582
582
  option: 'xAxisAbbreviation',
583
583
  editor: 'editor.checkbox',
584
584
  showEditor: function showEditor(_ref7) {
@@ -586,23 +586,23 @@ exports.AxesChartXGridAndLabelsBubbleScatter = {
586
586
  return options.xAxisLabelVisibility === 'show' || options.xAxisLabelVisibility === 'auto' || options.xAxisLabelVisibility === undefined;
587
587
  }
588
588
  }], [{
589
- label: i18n_1._('Include zero'),
589
+ label: (0, i18n_1._)('Include zero'),
590
590
  option: 'showXAxisWithZero',
591
591
  editor: 'editor.checkbox'
592
592
  }], [{
593
- label: i18n_1._('Extend to whole grid'),
593
+ label: (0, i18n_1._)('Extend to whole grid'),
594
594
  option: 'showXAxisExtendedRange',
595
595
  editor: 'editor.checkbox'
596
596
  }], [{
597
- label: i18n_1._('Minimum axis value'),
597
+ label: (0, i18n_1._)('Minimum axis value'),
598
598
  option: 'xAxisMin',
599
599
  editor: 'editor.number'
600
600
  }, {
601
- label: i18n_1._('Maximum axis value'),
601
+ label: (0, i18n_1._)('Maximum axis value'),
602
602
  option: 'xAxisMax',
603
603
  editor: 'editor.number'
604
604
  }], [{
605
- label: i18n_1._('Axis line visibility'),
605
+ label: (0, i18n_1._)('Axis line visibility'),
606
606
  option: 'xAxisLineVisibility',
607
607
  editor: 'editor.checkbox'
608
608
  }],
@@ -615,23 +615,23 @@ exports.AxesChartXGridAndLabelsBubbleScatter = {
615
615
  // },
616
616
  // ],
617
617
  [{
618
- label: i18n_1._('Major tick visibility'),
618
+ label: (0, i18n_1._)('Major tick visibility'),
619
619
  option: 'xAxisMajorTickVisibility',
620
620
  editor: 'editor.radioBar',
621
621
  editorProps: {
622
622
  values: [{
623
- label: i18n_1._('Auto'),
623
+ label: (0, i18n_1._)('Auto'),
624
624
  value: 'auto'
625
625
  }, {
626
- label: i18n_1._('Show'),
626
+ label: (0, i18n_1._)('Show'),
627
627
  value: 'show'
628
628
  }, {
629
- label: i18n_1._('Hide'),
629
+ label: (0, i18n_1._)('Hide'),
630
630
  value: 'hide'
631
631
  }]
632
632
  }
633
633
  }], [{
634
- label: i18n_1._('Major tick size (px)'),
634
+ label: (0, i18n_1._)('Major tick size (px)'),
635
635
  option: 'xAxisMajorTickSize',
636
636
  editor: 'editor.slider',
637
637
  editorProps: {
@@ -644,7 +644,7 @@ exports.AxesChartXGridAndLabelsBubbleScatter = {
644
644
  return options.xAxisMajorTickVisibility === 'show' || options.xAxisMajorTickVisibility === 'auto' || options.xAxisMajorTickVisibility === undefined;
645
645
  }
646
646
  }], [{
647
- label: i18n_1._('Major tick interval spacing'),
647
+ label: (0, i18n_1._)('Major tick interval spacing'),
648
648
  option: 'xAxisMajorTickInterval',
649
649
  editor: 'editor.number',
650
650
  showEditor: function showEditor(_ref9) {
@@ -652,27 +652,27 @@ exports.AxesChartXGridAndLabelsBubbleScatter = {
652
652
  return options.xAxisMajorTickVisibility === 'show' || options.xAxisMajorTickVisibility === 'auto' || options.xAxisMajorTickVisibility === undefined;
653
653
  }
654
654
  }], [{
655
- label: i18n_1._('Minor gridlines'),
655
+ label: (0, i18n_1._)('Minor gridlines'),
656
656
  option: 'showXMinorGridLines',
657
657
  editor: 'editor.checkbox'
658
658
  }], [{
659
- label: i18n_1._('Minor tick visibility'),
659
+ label: (0, i18n_1._)('Minor tick visibility'),
660
660
  option: 'xAxisMinorTickVisibility',
661
661
  editor: 'editor.radioBar',
662
662
  editorProps: {
663
663
  values: [{
664
- label: i18n_1._('Auto'),
664
+ label: (0, i18n_1._)('Auto'),
665
665
  value: 'auto'
666
666
  }, {
667
- label: i18n_1._('Show'),
667
+ label: (0, i18n_1._)('Show'),
668
668
  value: 'show'
669
669
  }, {
670
- label: i18n_1._('Hide'),
670
+ label: (0, i18n_1._)('Hide'),
671
671
  value: 'hide'
672
672
  }]
673
673
  }
674
674
  }], [{
675
- label: i18n_1._('Minor tick size (px)'),
675
+ label: (0, i18n_1._)('Minor tick size (px)'),
676
676
  option: 'xAxisMinorTickSize',
677
677
  editor: 'editor.slider',
678
678
  editorProps: {
@@ -738,13 +738,13 @@ Object.defineProperty(exports, "__esModule", {
738
738
  });
739
739
  var i18n_1 = __webpack_require__(0);
740
740
  var AxesChartYGridAndLabels = {
741
- label: i18n_1._('Y-axis grid and labels'),
741
+ label: (0, i18n_1._)('Y-axis grid and labels'),
742
742
  layout: [[{
743
- label: i18n_1._('Axis title'),
743
+ label: (0, i18n_1._)('Axis title'),
744
744
  option: 'yAxisTitleVisibility',
745
745
  editor: 'editor.toggle'
746
746
  }], [{
747
- label: i18n_1._('Axis title text'),
747
+ label: (0, i18n_1._)('Axis title text'),
748
748
  option: 'yAxisTitleText',
749
749
  editor: 'editor.text',
750
750
  showEditor: function showEditor(_ref) {
@@ -752,36 +752,36 @@ var AxesChartYGridAndLabels = {
752
752
  return options.yAxisTitleVisibility === 'show' || options.yAxisTitleVisibility === undefined;
753
753
  }
754
754
  }], [{
755
- label: i18n_1._('Scale'),
755
+ label: (0, i18n_1._)('Scale'),
756
756
  option: 'yAxisScale',
757
757
  editor: 'editor.radioBar',
758
758
  editorProps: {
759
759
  values: [{
760
- label: i18n_1._('Linear'),
760
+ label: (0, i18n_1._)('Linear'),
761
761
  value: 'linear'
762
762
  }, {
763
- label: i18n_1._('Log'),
763
+ label: (0, i18n_1._)('Log'),
764
764
  value: 'log'
765
765
  }]
766
766
  }
767
767
  }], [{
768
- label: i18n_1._('Label visibility'),
768
+ label: (0, i18n_1._)('Label visibility'),
769
769
  option: 'yAxisLabelVisibility',
770
770
  editor: 'editor.radioBar',
771
771
  editorProps: {
772
772
  values: [{
773
- label: i18n_1._('Auto'),
773
+ label: (0, i18n_1._)('Auto'),
774
774
  value: 'auto'
775
775
  }, {
776
- label: i18n_1._('Show'),
776
+ label: (0, i18n_1._)('Show'),
777
777
  value: 'show'
778
778
  }, {
779
- label: i18n_1._('Hide'),
779
+ label: (0, i18n_1._)('Hide'),
780
780
  value: 'hide'
781
781
  }]
782
782
  }
783
783
  }], [{
784
- label: i18n_1._('SI prefix abbreviation for labels'),
784
+ label: (0, i18n_1._)('SI prefix abbreviation for labels'),
785
785
  option: 'yAxisAbbreviation',
786
786
  editor: 'editor.checkbox',
787
787
  showEditor: function showEditor(_ref2) {
@@ -789,47 +789,47 @@ var AxesChartYGridAndLabels = {
789
789
  return options.yAxisLabelVisibility === 'show' || options.yAxisLabelVisibility === 'auto' || options.yAxisLabelVisibility === undefined;
790
790
  }
791
791
  }], [{
792
- label: i18n_1._('Include zero'),
792
+ label: (0, i18n_1._)('Include zero'),
793
793
  option: 'showYAxisWithZero',
794
794
  editor: 'editor.checkbox'
795
795
  }], [{
796
- label: i18n_1._('Extend to whole grid'),
796
+ label: (0, i18n_1._)('Extend to whole grid'),
797
797
  option: 'showYAxisExtendedRange',
798
798
  editor: 'editor.checkbox'
799
799
  }], [{
800
- label: i18n_1._('Minimum axis value'),
800
+ label: (0, i18n_1._)('Minimum axis value'),
801
801
  option: 'yAxisMin',
802
802
  editor: 'editor.number'
803
803
  }, {
804
- label: i18n_1._('Maximum axis value'),
804
+ label: (0, i18n_1._)('Maximum axis value'),
805
805
  option: 'yAxisMax',
806
806
  editor: 'editor.number'
807
807
  }], [{
808
- label: i18n_1._('Axis line visibility'),
808
+ label: (0, i18n_1._)('Axis line visibility'),
809
809
  option: 'yAxisLineVisibility',
810
810
  editor: 'editor.checkbox'
811
811
  }], [{
812
- label: i18n_1._('Major gridlines'),
812
+ label: (0, i18n_1._)('Major gridlines'),
813
813
  option: 'showYMajorGridLines',
814
814
  editor: 'editor.checkbox'
815
815
  }], [{
816
- label: i18n_1._('Major tick visibility'),
816
+ label: (0, i18n_1._)('Major tick visibility'),
817
817
  option: 'yAxisMajorTickVisibility',
818
818
  editor: 'editor.radioBar',
819
819
  editorProps: {
820
820
  values: [{
821
- label: i18n_1._('Auto'),
821
+ label: (0, i18n_1._)('Auto'),
822
822
  value: 'auto'
823
823
  }, {
824
- label: i18n_1._('Show'),
824
+ label: (0, i18n_1._)('Show'),
825
825
  value: 'show'
826
826
  }, {
827
- label: i18n_1._('Hide'),
827
+ label: (0, i18n_1._)('Hide'),
828
828
  value: 'hide'
829
829
  }]
830
830
  }
831
831
  }], [{
832
- label: i18n_1._('Major tick size (px)'),
832
+ label: (0, i18n_1._)('Major tick size (px)'),
833
833
  option: 'yAxisMajorTickSize',
834
834
  editor: 'editor.slider',
835
835
  editorProps: {
@@ -842,7 +842,7 @@ var AxesChartYGridAndLabels = {
842
842
  return options.yAxisMajorTickVisibility === 'show' || options.yAxisMajorTickVisibility === 'auto' || options.yAxisMajorTickVisibility === undefined;
843
843
  }
844
844
  }], [{
845
- label: i18n_1._('Major tick interval spacing'),
845
+ label: (0, i18n_1._)('Major tick interval spacing'),
846
846
  option: 'yAxisMajorTickInterval',
847
847
  editor: 'editor.number',
848
848
  showEditor: function showEditor(_ref4) {
@@ -850,27 +850,27 @@ var AxesChartYGridAndLabels = {
850
850
  return options.yAxisMajorTickVisibility === 'show' || options.yAxisMajorTickVisibility === 'auto' || options.yAxisMajorTickVisibility === undefined;
851
851
  }
852
852
  }], [{
853
- label: i18n_1._('Minor gridlines'),
853
+ label: (0, i18n_1._)('Minor gridlines'),
854
854
  option: 'showYMinorGridLines',
855
855
  editor: 'editor.checkbox'
856
856
  }], [{
857
- label: i18n_1._('Minor tick visibility'),
857
+ label: (0, i18n_1._)('Minor tick visibility'),
858
858
  option: 'yAxisMinorTickVisibility',
859
859
  editor: 'editor.radioBar',
860
860
  editorProps: {
861
861
  values: [{
862
- label: i18n_1._('Auto'),
862
+ label: (0, i18n_1._)('Auto'),
863
863
  value: 'auto'
864
864
  }, {
865
- label: i18n_1._('Show'),
865
+ label: (0, i18n_1._)('Show'),
866
866
  value: 'show'
867
867
  }, {
868
- label: i18n_1._('Hide'),
868
+ label: (0, i18n_1._)('Hide'),
869
869
  value: 'hide'
870
870
  }]
871
871
  }
872
872
  }], [{
873
- label: i18n_1._('Minor tick size (px)'),
873
+ label: (0, i18n_1._)('Minor tick size (px)'),
874
874
  option: 'yAxisMinorTickSize',
875
875
  editor: 'editor.slider',
876
876
  editorProps: {
@@ -1055,8 +1055,8 @@ function hasCompatibleOptions(vizOptions, presetOptions) {
1055
1055
  */
1056
1056
  function getInitialPreset(vizContext, vizOptions, presets) {
1057
1057
  return presets.find(function (preset) {
1058
- var presetContext = lodash_1.get(preset, ['value', 'context'], {});
1059
- var presetOptions = lodash_1.get(preset, ['value', 'options'], {});
1058
+ var presetContext = (0, lodash_1.get)(preset, ['value', 'context'], {});
1059
+ var presetOptions = (0, lodash_1.get)(preset, ['value', 'options'], {});
1060
1060
  var presetContextKeys = Object.keys(presetContext);
1061
1061
  var presetOptionKeys = Object.keys(presetOptions);
1062
1062
  // all presets have to explicitly specify which options to reset (i.e. need explicitly undefined keys)
@@ -1073,7 +1073,7 @@ exports.getInitialPreset = getInitialPreset;
1073
1073
  * @returns {{ label: string; value; string }[]} array of { label, value } tuples
1074
1074
  */
1075
1075
  function generatePrecisionValues(numPrecisionValues) {
1076
- return lodash_1.range(0, numPrecisionValues + 1).map(function (i) {
1076
+ return (0, lodash_1.range)(0, numPrecisionValues + 1).map(function (i) {
1077
1077
  return {
1078
1078
  label: "".concat(i, " (0").concat(i > 0 ? '.' : '').concat('0'.repeat(i), ")"),
1079
1079
  value: i
@@ -1216,13 +1216,13 @@ exports.optionsSchema = {
1216
1216
  legendDisplay: {
1217
1217
  default: 'right',
1218
1218
  description: 'Specify the location of the legend on the panel.',
1219
- pattern: schemaUtils_1.getPattern(['right', 'left', 'top', 'bottom', 'off']),
1219
+ pattern: (0, schemaUtils_1.getPattern)(['right', 'left', 'top', 'bottom', 'off']),
1220
1220
  type: 'string'
1221
1221
  },
1222
1222
  legendTruncation: {
1223
1223
  default: 'ellipsisEnd',
1224
1224
  description: 'Specify how to display legend labels when they overflow the layout boundaries by replacing overflow text with an ellipsis.',
1225
- pattern: schemaUtils_1.getPattern(['ellipsisEnd', 'ellipsisMiddle', 'ellipsisStart', 'ellipsisOff']),
1225
+ pattern: (0, schemaUtils_1.getPattern)(['ellipsisEnd', 'ellipsisMiddle', 'ellipsisStart', 'ellipsisOff']),
1226
1226
  type: 'string'
1227
1227
  },
1228
1228
  markerSize: {
@@ -1303,40 +1303,40 @@ exports.optionsSchema = {
1303
1303
  default: 'off',
1304
1304
  description: 'Specify whether to abbreviate large x-axis values with the closest SI prefix.',
1305
1305
  enum: ['off', 'auto'],
1306
- pattern: schemaUtils_1.getPattern(['auto', 'off']),
1306
+ pattern: (0, schemaUtils_1.getPattern)(['auto', 'off']),
1307
1307
  type: 'string'
1308
1308
  },
1309
1309
  yAxisAbbreviation: {
1310
1310
  default: 'auto',
1311
1311
  description: 'Specify whether to abbreviate large y-axis values with the closest SI prefix.',
1312
1312
  enum: ['off', 'auto'],
1313
- pattern: schemaUtils_1.getPattern(['auto', 'off']),
1313
+ pattern: (0, schemaUtils_1.getPattern)(['auto', 'off']),
1314
1314
  type: 'string'
1315
1315
  },
1316
1316
  xAxisLabelVisibility: {
1317
1317
  default: 'auto',
1318
1318
  description: 'Specify whether to show or hide labels on the x-axis.',
1319
- pattern: schemaUtils_1.getPattern(['auto', 'show', 'hide']),
1319
+ pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
1320
1320
  type: 'string'
1321
1321
  },
1322
1322
  yAxisLabelVisibility: {
1323
1323
  default: 'auto',
1324
1324
  description: 'Specify whether to show or hide labels on the y-axis.',
1325
- pattern: schemaUtils_1.getPattern(['auto', 'show', 'hide']),
1325
+ pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
1326
1326
  type: 'string'
1327
1327
  },
1328
1328
  xAxisLineVisibility: {
1329
1329
  default: 'hide',
1330
1330
  description: 'Specify whether to show or hide the x-axis line.',
1331
1331
  enum: ['hide', 'show'],
1332
- pattern: schemaUtils_1.getPattern(['show', 'hide']),
1332
+ pattern: (0, schemaUtils_1.getPattern)(['show', 'hide']),
1333
1333
  type: 'string'
1334
1334
  },
1335
1335
  yAxisLineVisibility: {
1336
1336
  default: 'hide',
1337
1337
  description: 'Specify whether to show or hide the y-axis line.',
1338
1338
  enum: ['hide', 'show'],
1339
- pattern: schemaUtils_1.getPattern(['show', 'hide']),
1339
+ pattern: (0, schemaUtils_1.getPattern)(['show', 'hide']),
1340
1340
  type: 'string'
1341
1341
  },
1342
1342
  xAxisMajorTickInterval: {
@@ -1372,25 +1372,25 @@ exports.optionsSchema = {
1372
1372
  xAxisMajorTickVisibility: {
1373
1373
  default: 'auto',
1374
1374
  description: 'Specify whether to show or hide major tick marks on the x-axis.',
1375
- pattern: schemaUtils_1.getPattern(['auto', 'show', 'hide']),
1375
+ pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
1376
1376
  type: 'string'
1377
1377
  },
1378
1378
  yAxisMajorTickVisibility: {
1379
1379
  default: 'auto',
1380
1380
  description: 'Specify whether to show or hide major tick marks on the y-axis.',
1381
- pattern: schemaUtils_1.getPattern(['auto', 'show', 'hide']),
1381
+ pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
1382
1382
  type: 'string'
1383
1383
  },
1384
1384
  xAxisMinorTickVisibility: {
1385
1385
  default: 'auto',
1386
1386
  description: 'Specify whether to show or hide minor tick marks on the x-axis .',
1387
- pattern: schemaUtils_1.getPattern(['auto', 'show', 'hide']),
1387
+ pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
1388
1388
  type: 'string'
1389
1389
  },
1390
1390
  yAxisMinorTickVisibility: {
1391
1391
  default: 'auto',
1392
1392
  description: 'Specify whether to show or hide minor tick marks on the y-axis.',
1393
- pattern: schemaUtils_1.getPattern(['auto', 'show', 'hide']),
1393
+ pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
1394
1394
  type: 'string'
1395
1395
  },
1396
1396
  xAxisMax: {
@@ -1416,13 +1416,13 @@ exports.optionsSchema = {
1416
1416
  xAxisScale: {
1417
1417
  default: 'linear',
1418
1418
  description: 'Specify the type of scale that applies to a numerical x-axis.',
1419
- pattern: schemaUtils_1.getPattern(['linear', 'log']),
1419
+ pattern: (0, schemaUtils_1.getPattern)(['linear', 'log']),
1420
1420
  type: 'string'
1421
1421
  },
1422
1422
  yAxisScale: {
1423
1423
  default: 'linear',
1424
1424
  description: 'Specify the type of scale that applies to a numerical y-axis.',
1425
- pattern: schemaUtils_1.getPattern(['linear', 'log']),
1425
+ pattern: (0, schemaUtils_1.getPattern)(['linear', 'log']),
1426
1426
  type: 'string'
1427
1427
  },
1428
1428
  xAxisTitleText: {
@@ -1437,20 +1437,20 @@ exports.optionsSchema = {
1437
1437
  default: 'show',
1438
1438
  description: 'Specify whether to show or hide the title of the x-axis.',
1439
1439
  enum: ['hide', 'show'],
1440
- pattern: schemaUtils_1.getPattern(['show', 'hide']),
1440
+ pattern: (0, schemaUtils_1.getPattern)(['show', 'hide']),
1441
1441
  type: 'string'
1442
1442
  },
1443
1443
  yAxisTitleVisibility: {
1444
1444
  default: 'show',
1445
1445
  description: 'Specify whether to show or hide the title of the y-axis.',
1446
1446
  enum: ['hide', 'show'],
1447
- pattern: schemaUtils_1.getPattern(['show', 'hide']),
1447
+ pattern: (0, schemaUtils_1.getPattern)(['show', 'hide']),
1448
1448
  type: 'string'
1449
1449
  }
1450
1450
  };
1451
1451
  var themes = {
1452
1452
  defaultBackgroundColor: function defaultBackgroundColor(props) {
1453
- return pick_1.default({
1453
+ return (0, pick_1.default)({
1454
1454
  enterprise: {
1455
1455
  dark: variables_1.default.black(props),
1456
1456
  light: variables_1.default.backgroundColor(props)
@@ -1462,14 +1462,14 @@ var themes = {
1462
1462
  var editorConfig = [AxesChartDataConfig_1.AxesChartDataConfigScatter, {
1463
1463
  label: AxesChartColorAndStyle_1.default.label,
1464
1464
  layout: [].concat(_toConsumableArray(AxesChartColorAndStyle_1.default.layout.slice(0, 2)), [[{
1465
- label: i18n_1._('Series colors by category name'),
1465
+ label: (0, i18n_1._)('Series colors by category name'),
1466
1466
  option: 'seriesColorsByField',
1467
1467
  editor: 'editor.seriesColorsByField',
1468
1468
  editorProps: {
1469
1469
  isCategorical: true
1470
1470
  }
1471
1471
  }], [{
1472
- label: i18n_1._('Marker size'),
1472
+ label: (0, i18n_1._)('Marker size'),
1473
1473
  option: 'markerSize',
1474
1474
  editor: 'editor.slider',
1475
1475
  editorProps: {
@@ -1490,7 +1490,7 @@ var config = {
1490
1490
  /**
1491
1491
  * viz name
1492
1492
  */
1493
- name: i18n_1._('Scatter'),
1493
+ name: (0, i18n_1._)('Scatter'),
1494
1494
  category: VizCategory_1.VizCategory.CORRELATION,
1495
1495
  /**
1496
1496
  * viz icon
@@ -1513,7 +1513,7 @@ var config = {
1513
1513
  supports: [VizBehavior_1.VizBehavior.DYNAMIC_OPTIONS, VizBehavior_1.VizBehavior.PLACEHOLDER],
1514
1514
  themes: themes
1515
1515
  };
1516
- exports.default = configUtils_1.enhanceConfig(config);
1516
+ exports.default = (0, configUtils_1.enhanceConfig)(config);
1517
1517
 
1518
1518
  /***/ }),
1519
1519