@splunk/visualizations 25.13.1 → 26.1.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 (150) hide show
  1. package/Area.config.js +318 -234
  2. package/Area.config.js.map +1 -1
  3. package/Area.js +1131 -766
  4. package/Area.js.map +1 -1
  5. package/Bar.config.js +317 -233
  6. package/Bar.config.js.map +1 -1
  7. package/Bar.js +1007 -594
  8. package/Bar.js.map +1 -1
  9. package/Bubble.config.js +234 -160
  10. package/Bubble.config.js.map +1 -1
  11. package/Bubble.js +912 -509
  12. package/Bubble.js.map +1 -1
  13. package/ChoroplethSvg.config.js +80 -29
  14. package/ChoroplethSvg.config.js.map +1 -1
  15. package/ChoroplethSvg.js +691 -319
  16. package/ChoroplethSvg.js.map +1 -1
  17. package/Column.config.js +308 -223
  18. package/Column.config.js.map +1 -1
  19. package/Column.js +1011 -587
  20. package/Column.js.map +1 -1
  21. package/Ellipse.config.js +127 -62
  22. package/Ellipse.config.js.map +1 -1
  23. package/Ellipse.js +576 -286
  24. package/Ellipse.js.map +1 -1
  25. package/Events.config.js +111 -29
  26. package/Events.config.js.map +1 -1
  27. package/Events.js +998 -527
  28. package/Events.js.map +1 -1
  29. package/FillerGauge.config.js +142 -73
  30. package/FillerGauge.config.js.map +1 -1
  31. package/FillerGauge.js +962 -572
  32. package/FillerGauge.js.map +1 -1
  33. package/Image.config.js +70 -26
  34. package/Image.config.js.map +1 -1
  35. package/Image.js +524 -253
  36. package/Image.js.map +1 -1
  37. package/Line.config.js +326 -242
  38. package/Line.config.js.map +1 -1
  39. package/Line.js +1022 -606
  40. package/Line.js.map +1 -1
  41. package/LinkGraph.config.js +99 -49
  42. package/LinkGraph.config.js.map +1 -1
  43. package/LinkGraph.js +1184 -762
  44. package/LinkGraph.js.map +1 -1
  45. package/MIGRATION.md +1082 -0
  46. package/Map.config.js +311 -167
  47. package/Map.config.js.map +1 -1
  48. package/Map.js +1479 -873
  49. package/Map.js.map +1 -1
  50. package/Markdown.config.js +93 -43
  51. package/Markdown.config.js.map +1 -1
  52. package/Markdown.js +603 -332
  53. package/Markdown.js.map +1 -1
  54. package/MarkerGauge.config.js +163 -105
  55. package/MarkerGauge.config.js.map +1 -1
  56. package/MarkerGauge.js +1025 -628
  57. package/MarkerGauge.js.map +1 -1
  58. package/ParallelCoordinates.config.js +95 -41
  59. package/ParallelCoordinates.config.js.map +1 -1
  60. package/ParallelCoordinates.js +993 -622
  61. package/ParallelCoordinates.js.map +1 -1
  62. package/Pie.config.js +99 -46
  63. package/Pie.config.js.map +1 -1
  64. package/Pie.js +847 -442
  65. package/Pie.js.map +1 -1
  66. package/Punchcard.config.js +114 -62
  67. package/Punchcard.config.js.map +1 -1
  68. package/Punchcard.js +1097 -633
  69. package/Punchcard.js.map +1 -1
  70. package/Rectangle.config.js +131 -65
  71. package/Rectangle.config.js.map +1 -1
  72. package/Rectangle.js +580 -288
  73. package/Rectangle.js.map +1 -1
  74. package/Sankey.config.js +103 -41
  75. package/Sankey.config.js.map +1 -1
  76. package/Sankey.js +1128 -586
  77. package/Sankey.js.map +1 -1
  78. package/Scatter.config.js +231 -157
  79. package/Scatter.config.js.map +1 -1
  80. package/Scatter.js +904 -504
  81. package/Scatter.js.map +1 -1
  82. package/SingleValue.config.js +212 -142
  83. package/SingleValue.config.js.map +1 -1
  84. package/SingleValue.js +1506 -956
  85. package/SingleValue.js.map +1 -1
  86. package/SingleValueBasic.js +294 -233
  87. package/SingleValueBasic.js.map +1 -1
  88. package/SingleValueIcon.config.js +208 -138
  89. package/SingleValueIcon.config.js.map +1 -1
  90. package/SingleValueIcon.js +1375 -914
  91. package/SingleValueIcon.js.map +1 -1
  92. package/SingleValueRadial.config.js +252 -137
  93. package/SingleValueRadial.config.js.map +1 -1
  94. package/SingleValueRadial.js +2194 -1069
  95. package/SingleValueRadial.js.map +1 -1
  96. package/SparkLine.js +172 -83
  97. package/SparkLine.js.map +1 -1
  98. package/Table.config.js +123 -70
  99. package/Table.config.js.map +1 -1
  100. package/Table.js +1094 -590
  101. package/Table.js.map +1 -1
  102. package/common/Charting.js +147 -75
  103. package/common/Charting.js.map +1 -1
  104. package/common/ChartingApi.js +18 -7
  105. package/common/ChartingApi.js.map +1 -1
  106. package/common/EventsDoc.js +91 -36
  107. package/common/EventsDoc.js.map +1 -1
  108. package/common/GaugeMajorTicks.js +70 -60
  109. package/common/GaugeMajorTicks.js.map +1 -1
  110. package/common/GaugeValueMarker.js +45 -36
  111. package/common/GaugeValueMarker.js.map +1 -1
  112. package/common/OptionsDoc.js +177 -86
  113. package/common/OptionsDoc.js.map +1 -1
  114. package/common/OverviewDoc.js +65 -32
  115. package/common/OverviewDoc.js.map +1 -1
  116. package/common/SplunkVisualization.js +34 -7
  117. package/common/SplunkVisualization.js.map +1 -1
  118. package/common/SplunkVisualizationApi.js +10 -4
  119. package/common/SplunkVisualizationApi.js.map +1 -1
  120. package/common/ThemesDoc.js +41 -28
  121. package/common/ThemesDoc.js.map +1 -1
  122. package/common/chartingUtils.js +56 -24
  123. package/common/chartingUtils.js.map +1 -1
  124. package/common/docUtils.js +15 -5
  125. package/common/docUtils.js.map +1 -1
  126. package/common/gaugeUtils.js +238 -155
  127. package/common/gaugeUtils.js.map +1 -1
  128. package/common/shapeUtils.js +34 -16
  129. package/common/shapeUtils.js.map +1 -1
  130. package/common/utils/configUtils.js +59 -23
  131. package/common/utils/configUtils.js.map +1 -1
  132. package/common/utils/dataUtils.js +9 -4
  133. package/common/utils/dataUtils.js.map +1 -1
  134. package/common/utils/hocUtils.js +5 -3
  135. package/common/utils/hocUtils.js.map +1 -1
  136. package/common/utils/layoutUtils.js +3 -2
  137. package/common/utils/layoutUtils.js.map +1 -1
  138. package/common/utils/mapUtils.js +370 -206
  139. package/common/utils/mapUtils.js.map +1 -1
  140. package/common/utils/singleValueUtils.js +243 -198
  141. package/common/utils/singleValueUtils.js.map +1 -1
  142. package/common/utils/testHelper.js +36 -9
  143. package/common/utils/testHelper.js.map +1 -1
  144. package/common/utils/trellisUtils.js +87 -26
  145. package/common/utils/trellisUtils.js.map +1 -1
  146. package/common/utils/urlUtils.js +4 -2
  147. package/common/utils/urlUtils.js.map +1 -1
  148. package/common/withDashboardViz.js +375 -193
  149. package/common/withDashboardViz.js.map +1 -1
  150. package/package.json +25 -27
package/Line.config.js CHANGED
@@ -87,7 +87,7 @@ module.exports =
87
87
  /******/
88
88
  /******/
89
89
  /******/ // Load entry module and return exports
90
- /******/ return __webpack_require__(__webpack_require__.s = 54);
90
+ /******/ return __webpack_require__(__webpack_require__.s = 55);
91
91
  /******/ })
92
92
  /************************************************************************/
93
93
  /******/ ([
@@ -114,6 +114,7 @@ Object.defineProperty(exports, "__esModule", {
114
114
  });
115
115
  exports.VizBehavior = void 0;
116
116
  var VizBehavior;
117
+
117
118
  (function (VizBehavior) {
118
119
  /**
119
120
  * Dynamic Options Behavior.
@@ -133,6 +134,7 @@ var VizBehavior;
133
134
  * missing.
134
135
  * @type {string}
135
136
  */
137
+
136
138
  VizBehavior["PLACEHOLDER"] = "placeholder";
137
139
  VizBehavior["PAGE_AND_SORT"] = "page-and-sort";
138
140
  VizBehavior["TRELLIS"] = "trellis";
@@ -152,24 +154,33 @@ module.exports = require("@splunk/visualizations-shared/schemaUtils");
152
154
 
153
155
 
154
156
  var _toConsumableArray = __webpack_require__(1);
157
+
155
158
  var _defineProperty = __webpack_require__(7);
159
+
156
160
  var __rest = this && this.__rest || function (s, e) {
157
161
  var t = {};
162
+
158
163
  for (var p in s) {
159
164
  if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
160
165
  }
166
+
161
167
  if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
162
168
  if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
163
169
  }
164
170
  return t;
165
171
  };
172
+
166
173
  Object.defineProperty(exports, "__esModule", {
167
174
  value: true
168
175
  });
169
176
  exports.insertLayout = exports.isDynamicOption = exports.uncollapseEditorConfig = exports.generatePrecisionValues = exports.getInitialPreset = exports.enhanceOptionsSchemaWithDynamicOptions = exports.enhanceConfig = void 0;
177
+
170
178
  var lodash_1 = __webpack_require__(6);
179
+
171
180
  var schemaUtils_1 = __webpack_require__(3);
181
+
172
182
  var VizBehavior_1 = __webpack_require__(2);
183
+
173
184
  var dynamicOptionsDSLType = {
174
185
  type: 'string',
175
186
  pattern: schemaUtils_1.DYNAMIC_OPTIONS_DSL_PATTERN
@@ -179,20 +190,22 @@ var dynamicOptionsDSLType = {
179
190
  * @param optionsSchema a visualization's options schema
180
191
  * @returns an updated options schema that additionally allows strings starting with > for each option
181
192
  */
193
+
182
194
  function enhanceOptionsSchemaWithDynamicOptions(optionsSchema) {
183
195
  var enhancedOptionsSchema = {};
184
196
  Object.keys(optionsSchema).forEach(function (key) {
185
197
  var _a = optionsSchema[key],
186
- title = _a.title,
187
- description = _a.description,
188
- readOnly = _a.readOnly,
189
- writeOnly = _a.writeOnly,
190
- examples = _a.examples,
191
- defaultValue = _a.default,
192
- type = _a.type,
193
- properties = _a.properties,
194
- patternProperties = _a.patternProperties,
195
- remainingSchemaEntry = __rest(_a, ["title", "description", "readOnly", "writeOnly", "examples", "default", "type", "properties", "patternProperties"]);
198
+ title = _a.title,
199
+ description = _a.description,
200
+ readOnly = _a.readOnly,
201
+ writeOnly = _a.writeOnly,
202
+ examples = _a.examples,
203
+ defaultValue = _a.default,
204
+ type = _a.type,
205
+ properties = _a.properties,
206
+ patternProperties = _a.patternProperties,
207
+ remainingSchemaEntry = __rest(_a, ["title", "description", "readOnly", "writeOnly", "examples", "default", "type", "properties", "patternProperties"]);
208
+
196
209
  var annotations = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, title !== undefined && {
197
210
  title: title
198
211
  }), description !== undefined && {
@@ -206,12 +219,14 @@ function enhanceOptionsSchemaWithDynamicOptions(optionsSchema) {
206
219
  }), defaultValue !== undefined && {
207
220
  default: defaultValue
208
221
  });
222
+
209
223
  if (type === 'object') {
210
224
  enhancedOptionsSchema[key] = Object.assign(Object.assign(Object.assign(Object.assign({}, remainingSchemaEntry), annotations), {
211
225
  type: type
212
226
  }), properties && {
213
227
  properties: enhanceOptionsSchemaWithDynamicOptions(properties)
214
228
  });
229
+
215
230
  if (patternProperties) {
216
231
  var enhancedPatternProperties = {};
217
232
  Object.keys(patternProperties).forEach(function (opt) {
@@ -229,6 +244,7 @@ function enhanceOptionsSchemaWithDynamicOptions(optionsSchema) {
229
244
  });
230
245
  return enhancedOptionsSchema;
231
246
  }
247
+
232
248
  exports.enhanceOptionsSchemaWithDynamicOptions = enhanceOptionsSchemaWithDynamicOptions;
233
249
  /**
234
250
  * Helper function to enhance a Visualization Config as needed based on behaviors specified in supports block
@@ -237,11 +253,14 @@ exports.enhanceOptionsSchemaWithDynamicOptions = enhanceOptionsSchemaWithDynamic
237
253
  * @returns an enhanced Visualization Config containing updated config entries based on behaviors it supports
238
254
  * and containing `open: false` for all editor panels in editorConfig
239
255
  */
256
+
240
257
  function enhanceConfig(vizConfig) {
241
258
  var enhancedConfig = Object.assign({}, vizConfig);
259
+
242
260
  if (vizConfig.supports.indexOf(VizBehavior_1.VizBehavior.DYNAMIC_OPTIONS) !== -1) {
243
261
  enhancedConfig.optionsSchema = enhanceOptionsSchemaWithDynamicOptions(vizConfig.optionsSchema);
244
262
  }
263
+
245
264
  enhancedConfig.editorConfig = vizConfig.editorConfig.map(function (config) {
246
265
  return Object.assign(Object.assign({}, config), {
247
266
  open: config.open || false
@@ -249,6 +268,7 @@ function enhanceConfig(vizConfig) {
249
268
  });
250
269
  return enhancedConfig;
251
270
  }
271
+
252
272
  exports.enhanceConfig = enhanceConfig;
253
273
  /**
254
274
  * Helper function to uncollapse all editor panels by adding `open: true` to the editorConfig
@@ -256,6 +276,7 @@ exports.enhanceConfig = enhanceConfig;
256
276
  * @param vizConfig a Visualization Config
257
277
  * @returns a Visualization Config containing `open: true` for all editor panels in editorConfig
258
278
  */
279
+
259
280
  function uncollapseEditorConfig(vizConfig) {
260
281
  var editorPanelUncollapsedConfig = Object.assign({}, vizConfig);
261
282
  editorPanelUncollapsedConfig.editorConfig = vizConfig.editorConfig.map(function (config) {
@@ -265,13 +286,16 @@ function uncollapseEditorConfig(vizConfig) {
265
286
  });
266
287
  return editorPanelUncollapsedConfig;
267
288
  }
289
+
268
290
  exports.uncollapseEditorConfig = uncollapseEditorConfig;
291
+
269
292
  function isDynamicOption(option) {
270
293
  return option && typeof option === 'string' && option.trim().startsWith('>') || false;
271
294
  }
272
- exports.isDynamicOption = isDynamicOption;
273
- // private helpers to improve readability of getInitialPreset
295
+
296
+ exports.isDynamicOption = isDynamicOption; // private helpers to improve readability of getInitialPreset
274
297
  // this shouldn't be tested since this util isn't something that we expect to use outside of getInitialPreset
298
+
275
299
  /**
276
300
  * this checks to make sure that all values within vizContext are compatible with the given preset's context to determine the initialPreset
277
301
  * if a preset has explicitly specified a key as being undefined, the vizContext must also has that key as undefined, or else this CANNOT be the initialPreset
@@ -280,6 +304,7 @@ exports.isDynamicOption = isDynamicOption;
280
304
  *
281
305
  * Since the presetConfigs have explicit undefined keys to override the existing config, we need to explicitly check the undefined values
282
306
  */
307
+
283
308
  function hasCompatibleContexts(vizContext, presetContext) {
284
309
  var presetContextKeys = Object.keys(presetContext);
285
310
  return presetContextKeys.every(function (contextKey) {
@@ -289,6 +314,8 @@ function hasCompatibleContexts(vizContext, presetContext) {
289
314
  /**
290
315
  * Checks to make sure that dynamic (non-dynamic) options in a given preset are also dynamic (non-dynamic) in the vizOptions
291
316
  */
317
+
318
+
292
319
  function hasCompatibleOptions(vizOptions, presetOptions) {
293
320
  var presetOptionKeys = Object.keys(presetOptions);
294
321
  return presetOptionKeys.every(function (optionKey) {
@@ -303,18 +330,21 @@ function hasCompatibleOptions(vizOptions, presetOptions) {
303
330
  * @param {Object} vizOptions - the current vizOptions definition
304
331
  * @param {PresetEntry[]} presets - the list of presets, one of which can be considered an initialPreset
305
332
  */
333
+
334
+
306
335
  function getInitialPreset(vizContext, vizOptions, presets) {
307
336
  return presets.find(function (preset) {
308
- var presetContext = lodash_1.get(preset, ['value', 'context'], {});
309
- var presetOptions = lodash_1.get(preset, ['value', 'options'], {});
337
+ var presetContext = (0, lodash_1.get)(preset, ['value', 'context'], {});
338
+ var presetOptions = (0, lodash_1.get)(preset, ['value', 'options'], {});
310
339
  var presetContextKeys = Object.keys(presetContext);
311
- var presetOptionKeys = Object.keys(presetOptions);
312
- // all presets have to explicitly specify which options to reset (i.e. need explicitly undefined keys)
340
+ var presetOptionKeys = Object.keys(presetOptions); // all presets have to explicitly specify which options to reset (i.e. need explicitly undefined keys)
313
341
  // if not, then the preset is invalid in config.ts
342
+
314
343
  if (presetContextKeys.length === 0 || presetOptionKeys.length === 0) return false;
315
344
  return hasCompatibleContexts(vizContext, presetContext) && hasCompatibleOptions(vizOptions, presetOptions);
316
345
  });
317
346
  }
347
+
318
348
  exports.getInitialPreset = getInitialPreset;
319
349
  /**
320
350
  * generates number precision values for a Select editor
@@ -322,14 +352,16 @@ exports.getInitialPreset = getInitialPreset;
322
352
  * @param {Number} numPrecisionValues - number of integer precision values to generate
323
353
  * @returns {{ label: string; value; string }[]} array of { label, value } tuples
324
354
  */
355
+
325
356
  function generatePrecisionValues(numPrecisionValues) {
326
- return lodash_1.range(0, numPrecisionValues + 1).map(function (i) {
357
+ return (0, lodash_1.range)(0, numPrecisionValues + 1).map(function (i) {
327
358
  return {
328
359
  label: "".concat(i, " (0").concat(i > 0 ? '.' : '').concat('0'.repeat(i), ")"),
329
360
  value: i
330
361
  };
331
362
  });
332
363
  }
364
+
333
365
  exports.generatePrecisionValues = generatePrecisionValues;
334
366
  /**
335
367
  * insert layout in layout array, return a new layout array instead of updating the original
@@ -339,12 +371,15 @@ exports.generatePrecisionValues = generatePrecisionValues;
339
371
  * @param {EditorLayoutConfig[][]} layoutItems - the item(s) to insert
340
372
  * @returns {EditorLayoutConfig[][]} new editor layout with insertion
341
373
  */
374
+
342
375
  var insertLayout = function insertLayout(layout, index) {
343
376
  for (var _len = arguments.length, layoutItems = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
344
377
  layoutItems[_key - 2] = arguments[_key];
345
378
  }
379
+
346
380
  return [].concat(_toConsumableArray(layout.slice(0, index)), layoutItems, _toConsumableArray(layout.slice(index)));
347
381
  };
382
+
348
383
  exports.insertLayout = insertLayout;
349
384
 
350
385
  /***/ }),
@@ -372,6 +407,7 @@ Object.defineProperty(exports, "__esModule", {
372
407
  });
373
408
  exports.VizCategory = void 0;
374
409
  var VizCategory;
410
+
375
411
  (function (VizCategory) {
376
412
  VizCategory["SINGLE_VALUE"] = "Single Value";
377
413
  VizCategory["TRENDS"] = "Trends";
@@ -421,13 +457,15 @@ module.exports = require("@splunk/visualization-icons");
421
457
  Object.defineProperty(exports, "__esModule", {
422
458
  value: true
423
459
  });
460
+
424
461
  var i18n_1 = __webpack_require__(0);
462
+
425
463
  var background = function background(_ref) {
426
464
  var label = _ref.label,
427
- themes = _ref.themes,
428
- labelPosition = _ref.labelPosition;
465
+ themes = _ref.themes,
466
+ labelPosition = _ref.labelPosition;
429
467
  return [{
430
- label: i18n_1._(label || 'Background'),
468
+ label: (0, i18n_1._)(label || 'Background'),
431
469
  option: 'backgroundColor',
432
470
  editor: 'editor.color',
433
471
  editorProps: {
@@ -436,6 +474,7 @@ var background = function background(_ref) {
436
474
  }
437
475
  }];
438
476
  };
477
+
439
478
  exports.default = background;
440
479
 
441
480
  /***/ }),
@@ -453,16 +492,20 @@ module.exports = require("@splunk/visualization-color-palettes");
453
492
 
454
493
 
455
494
  var _toConsumableArray = __webpack_require__(1);
495
+
456
496
  Object.defineProperty(exports, "__esModule", {
457
497
  value: true
458
498
  });
459
499
  exports.AxesChartDataConfigAreaColumnLine = exports.AxesChartDataConfigBubble = exports.AxesChartDataConfigScatter = exports.AxesChartDataConfigBar = void 0;
500
+
460
501
  var i18n_1 = __webpack_require__(0);
502
+
461
503
  var configUtils_1 = __webpack_require__(4);
504
+
462
505
  var AxesChartDataConfig = {
463
- label: i18n_1._('Data configurations'),
506
+ label: (0, i18n_1._)('Data configurations'),
464
507
  layout: [[{
465
- label: i18n_1._('X'),
508
+ label: (0, i18n_1._)('X'),
466
509
  option: 'x',
467
510
  editor: 'editor.columnSelector',
468
511
  editorProps: {
@@ -471,7 +514,7 @@ var AxesChartDataConfig = {
471
514
  expectedDataPrimitive: ['series']
472
515
  }
473
516
  }], [{
474
- label: i18n_1._('Y'),
517
+ label: (0, i18n_1._)('Y'),
475
518
  option: 'y',
476
519
  editor: 'editor.columnMultiSelector',
477
520
  editorProps: {
@@ -481,7 +524,7 @@ var AxesChartDataConfig = {
481
524
  expectedDataPrimitive: ['series', 'frame']
482
525
  }
483
526
  }], [{
484
- label: i18n_1._('Result limit'),
527
+ label: (0, i18n_1._)('Result limit'),
485
528
  option: 'resultLimit',
486
529
  editor: 'editor.number',
487
530
  editorProps: {
@@ -492,8 +535,8 @@ var AxesChartDataConfig = {
492
535
  exports.AxesChartDataConfigBar = {
493
536
  label: AxesChartDataConfig.label,
494
537
  // insert Y2 after Y
495
- layout: configUtils_1.insertLayout(AxesChartDataConfig.layout, 2, [{
496
- label: i18n_1._('Y2'),
538
+ layout: (0, configUtils_1.insertLayout)(AxesChartDataConfig.layout, 2, [{
539
+ label: (0, i18n_1._)('Y2'),
497
540
  option: 'y2',
498
541
  editor: 'editor.columnMultiSelector',
499
542
  editorProps: {
@@ -507,7 +550,7 @@ exports.AxesChartDataConfigBar = {
507
550
  exports.AxesChartDataConfigScatter = {
508
551
  label: AxesChartDataConfig.label,
509
552
  layout: [[{
510
- label: i18n_1._('X'),
553
+ label: (0, i18n_1._)('X'),
511
554
  option: 'x',
512
555
  editor: 'editor.columnSelector',
513
556
  editorProps: {
@@ -516,7 +559,7 @@ exports.AxesChartDataConfigScatter = {
516
559
  expectedDataPrimitive: ['series']
517
560
  }
518
561
  }], [{
519
- label: i18n_1._('Y'),
562
+ label: (0, i18n_1._)('Y'),
520
563
  option: 'y',
521
564
  editor: 'editor.columnSelector',
522
565
  editorProps: {
@@ -526,7 +569,7 @@ exports.AxesChartDataConfigScatter = {
526
569
  expectedDataPrimitive: ['series']
527
570
  }
528
571
  }], [{
529
- label: i18n_1._('Category'),
572
+ label: (0, i18n_1._)('Category'),
530
573
  option: 'category',
531
574
  editor: 'editor.columnSelector',
532
575
  editorProps: {
@@ -535,7 +578,7 @@ exports.AxesChartDataConfigScatter = {
535
578
  expectedDataPrimitive: ['series']
536
579
  }
537
580
  }], [{
538
- label: i18n_1._('Result limit'),
581
+ label: (0, i18n_1._)('Result limit'),
539
582
  option: 'resultLimit',
540
583
  editor: 'editor.number',
541
584
  editorProps: {
@@ -546,8 +589,8 @@ exports.AxesChartDataConfigScatter = {
546
589
  exports.AxesChartDataConfigBubble = {
547
590
  label: exports.AxesChartDataConfigScatter.label,
548
591
  // layout: insert Size after Category
549
- layout: configUtils_1.insertLayout(exports.AxesChartDataConfigScatter.layout, 3, [{
550
- label: i18n_1._('Size'),
592
+ layout: (0, configUtils_1.insertLayout)(exports.AxesChartDataConfigScatter.layout, 3, [{
593
+ label: (0, i18n_1._)('Size'),
551
594
  option: 'size',
552
595
  editor: 'editor.columnSelector',
553
596
  editorProps: {
@@ -560,7 +603,7 @@ exports.AxesChartDataConfigBubble = {
560
603
  exports.AxesChartDataConfigAreaColumnLine = {
561
604
  label: exports.AxesChartDataConfigBar.label,
562
605
  layout: [].concat(_toConsumableArray(exports.AxesChartDataConfigBar.layout), [[{
563
- label: i18n_1._('Annotation x'),
606
+ label: (0, i18n_1._)('Annotation x'),
564
607
  option: 'annotationX',
565
608
  editor: 'editor.columnSelector',
566
609
  editorProps: {
@@ -569,7 +612,7 @@ exports.AxesChartDataConfigAreaColumnLine = {
569
612
  expectedDataPrimitive: ['series']
570
613
  }
571
614
  }], [{
572
- label: i18n_1._('Annotation labels'),
615
+ label: (0, i18n_1._)('Annotation labels'),
573
616
  option: 'annotationLabel',
574
617
  editor: 'editor.columnSelector',
575
618
  editorProps: {
@@ -591,13 +634,18 @@ exports.default = AxesChartDataConfig;
591
634
  Object.defineProperty(exports, "__esModule", {
592
635
  value: true
593
636
  });
637
+
594
638
  var i18n_1 = __webpack_require__(0);
639
+
595
640
  var pick_1 = __webpack_require__(9);
641
+
596
642
  var variables_1 = __webpack_require__(10);
643
+
597
644
  var BackgroundColor_1 = __webpack_require__(13);
645
+
598
646
  var themes = {
599
647
  defaultBackgroundColor: function defaultBackgroundColor(props) {
600
- return pick_1.default({
648
+ return (0, pick_1.default)({
601
649
  enterprise: {
602
650
  dark: variables_1.default.black(props),
603
651
  light: variables_1.default.backgroundColor(props)
@@ -607,15 +655,15 @@ var themes = {
607
655
  }
608
656
  };
609
657
  var AxesChartColorAndStyle = {
610
- label: i18n_1._('Color and style'),
611
- layout: [BackgroundColor_1.default({
658
+ label: (0, i18n_1._)('Color and style'),
659
+ layout: [(0, BackgroundColor_1.default)({
612
660
  themes: themes
613
661
  }), [{
614
- label: i18n_1._('Series colors'),
662
+ label: (0, i18n_1._)('Series colors'),
615
663
  option: 'seriesColors',
616
664
  editor: 'editor.seriesColors'
617
665
  }], [{
618
- label: i18n_1._('Series colors by field name'),
666
+ label: (0, i18n_1._)('Series colors by field name'),
619
667
  option: 'seriesColorsByField',
620
668
  editor: 'editor.seriesColorsByField'
621
669
  }]]
@@ -632,47 +680,49 @@ exports.default = AxesChartColorAndStyle;
632
680
  Object.defineProperty(exports, "__esModule", {
633
681
  value: true
634
682
  });
683
+
635
684
  var i18n_1 = __webpack_require__(0);
685
+
636
686
  var AxesChartLegend = {
637
- label: i18n_1._('Legend'),
687
+ label: (0, i18n_1._)('Legend'),
638
688
  layout: [[{
639
- label: i18n_1._('Legend display'),
689
+ label: (0, i18n_1._)('Legend display'),
640
690
  option: 'legendDisplay',
641
691
  editor: 'editor.select',
642
692
  editorProps: {
643
693
  values: [{
644
- label: i18n_1._('Right'),
694
+ label: (0, i18n_1._)('Right'),
645
695
  value: 'right'
646
696
  }, {
647
- label: i18n_1._('Left'),
697
+ label: (0, i18n_1._)('Left'),
648
698
  value: 'left'
649
699
  }, {
650
- label: i18n_1._('Top'),
700
+ label: (0, i18n_1._)('Top'),
651
701
  value: 'top'
652
702
  }, {
653
- label: i18n_1._('Bottom'),
703
+ label: (0, i18n_1._)('Bottom'),
654
704
  value: 'bottom'
655
705
  }, {
656
- label: i18n_1._('Off'),
706
+ label: (0, i18n_1._)('Off'),
657
707
  value: 'off'
658
708
  }]
659
709
  }
660
710
  }], [{
661
- label: i18n_1._('Legend truncation'),
711
+ label: (0, i18n_1._)('Legend truncation'),
662
712
  option: 'legendTruncation',
663
713
  editor: 'editor.radioBar',
664
714
  editorProps: {
665
715
  values: [{
666
- label: i18n_1._('A...'),
716
+ label: (0, i18n_1._)('A...'),
667
717
  value: 'ellipsisEnd'
668
718
  }, {
669
- label: i18n_1._('A...Z'),
719
+ label: (0, i18n_1._)('A...Z'),
670
720
  value: 'ellipsisMiddle'
671
721
  }, {
672
- label: i18n_1._('...Z'),
722
+ label: (0, i18n_1._)('...Z'),
673
723
  value: 'ellipsisStart'
674
724
  }, {
675
- label: i18n_1._('Off'),
725
+ label: (0, i18n_1._)('Off'),
676
726
  value: 'ellipsisOff'
677
727
  }]
678
728
  },
@@ -692,20 +742,24 @@ exports.default = AxesChartLegend;
692
742
 
693
743
 
694
744
  var _toConsumableArray = __webpack_require__(1);
745
+
695
746
  Object.defineProperty(exports, "__esModule", {
696
747
  value: true
697
748
  });
698
749
  exports.AxesChartXGridAndLabelsBubbleScatter = exports.AxesChartXGridAndLabelsCommon = void 0;
750
+
699
751
  var i18n_1 = __webpack_require__(0);
752
+
700
753
  var configUtils_1 = __webpack_require__(4);
754
+
701
755
  exports.AxesChartXGridAndLabelsCommon = {
702
- label: i18n_1._('X-axis grid and labels'),
756
+ label: (0, i18n_1._)('X-axis grid and labels'),
703
757
  layout: [[{
704
- label: i18n_1._('Axis title'),
758
+ label: (0, i18n_1._)('Axis title'),
705
759
  option: 'xAxisTitleVisibility',
706
760
  editor: 'editor.toggle'
707
761
  }], [{
708
- label: i18n_1._('Axis title text'),
762
+ label: (0, i18n_1._)('Axis title text'),
709
763
  option: 'xAxisTitleText',
710
764
  editor: 'editor.text',
711
765
  showEditor: function showEditor(_ref) {
@@ -713,18 +767,18 @@ exports.AxesChartXGridAndLabelsCommon = {
713
767
  return options.xAxisTitleVisibility === 'show' || options.xAxisTitleVisibility === undefined;
714
768
  }
715
769
  }], [{
716
- label: i18n_1._('Label visibility'),
770
+ label: (0, i18n_1._)('Label visibility'),
717
771
  option: 'xAxisLabelVisibility',
718
772
  editor: 'editor.radioBar',
719
773
  editorProps: {
720
774
  values: [{
721
- label: i18n_1._('Auto'),
775
+ label: (0, i18n_1._)('Auto'),
722
776
  value: 'auto'
723
777
  }, {
724
- label: i18n_1._('Show'),
778
+ label: (0, i18n_1._)('Show'),
725
779
  value: 'show'
726
780
  }, {
727
- label: i18n_1._('Hide'),
781
+ label: (0, i18n_1._)('Hide'),
728
782
  value: 'hide'
729
783
  }]
730
784
  }
@@ -733,24 +787,24 @@ exports.AxesChartXGridAndLabelsCommon = {
733
787
  var AxesChartXGridAndLabels = {
734
788
  label: exports.AxesChartXGridAndLabelsCommon.label,
735
789
  layout: [].concat(_toConsumableArray(exports.AxesChartXGridAndLabelsCommon.layout), [[{
736
- label: i18n_1._('Label rotation'),
790
+ label: (0, i18n_1._)('Label rotation'),
737
791
  option: 'xAxisLabelRotation',
738
792
  editor: 'editor.select',
739
793
  editorProps: {
740
794
  values: [{
741
- label: i18n_1._('-90'),
795
+ label: (0, i18n_1._)('-90'),
742
796
  value: -90
743
797
  }, {
744
- label: i18n_1._('-45'),
798
+ label: (0, i18n_1._)('-45'),
745
799
  value: -45
746
800
  }, {
747
- label: i18n_1._('0'),
801
+ label: (0, i18n_1._)('0'),
748
802
  value: 0
749
803
  }, {
750
- label: i18n_1._('45'),
804
+ label: (0, i18n_1._)('45'),
751
805
  value: 45
752
806
  }, {
753
- label: i18n_1._('90'),
807
+ label: (0, i18n_1._)('90'),
754
808
  value: 90
755
809
  }]
756
810
  },
@@ -759,7 +813,7 @@ var AxesChartXGridAndLabels = {
759
813
  return options.xAxisLabelVisibility === 'show' || options.xAxisLabelVisibility === 'auto' || options.xAxisLabelVisibility === undefined;
760
814
  }
761
815
  }], [{
762
- label: i18n_1._('Number of time label parts'),
816
+ label: (0, i18n_1._)('Number of time label parts'),
763
817
  option: 'xAxisMaxLabelParts',
764
818
  editor: 'editor.number',
765
819
  editorProps: {
@@ -771,31 +825,31 @@ var AxesChartXGridAndLabels = {
771
825
  return options.xAxisLabelVisibility === 'show' || options.xAxisLabelVisibility === 'auto' || options.xAxisLabelVisibility === undefined;
772
826
  }
773
827
  }], [{
774
- label: i18n_1._('Axis line visibility'),
828
+ label: (0, i18n_1._)('Axis line visibility'),
775
829
  option: 'xAxisLineVisibility',
776
830
  editor: 'editor.checkbox'
777
831
  }], [{
778
- label: i18n_1._('Major gridlines'),
832
+ label: (0, i18n_1._)('Major gridlines'),
779
833
  option: 'showXMajorGridLines',
780
834
  editor: 'editor.checkbox'
781
835
  }], [{
782
- label: i18n_1._('Major tick visibility'),
836
+ label: (0, i18n_1._)('Major tick visibility'),
783
837
  option: 'xAxisMajorTickVisibility',
784
838
  editor: 'editor.radioBar',
785
839
  editorProps: {
786
840
  values: [{
787
- label: i18n_1._('Auto'),
841
+ label: (0, i18n_1._)('Auto'),
788
842
  value: 'auto'
789
843
  }, {
790
- label: i18n_1._('Show'),
844
+ label: (0, i18n_1._)('Show'),
791
845
  value: 'show'
792
846
  }, {
793
- label: i18n_1._('Hide'),
847
+ label: (0, i18n_1._)('Hide'),
794
848
  value: 'hide'
795
849
  }]
796
850
  }
797
851
  }], [{
798
- label: i18n_1._('Major tick size (px)'),
852
+ label: (0, i18n_1._)('Major tick size (px)'),
799
853
  option: 'xAxisMajorTickSize',
800
854
  editor: 'editor.slider',
801
855
  editorProps: {
@@ -811,38 +865,38 @@ var AxesChartXGridAndLabels = {
811
865
  };
812
866
  exports.AxesChartXGridAndLabelsBubbleScatter = {
813
867
  label: exports.AxesChartXGridAndLabelsCommon.label,
814
- layout: [].concat(_toConsumableArray(configUtils_1.insertLayout(exports.AxesChartXGridAndLabelsCommon.layout, 2, [{
815
- label: i18n_1._('Axis scale'),
868
+ layout: [].concat(_toConsumableArray((0, configUtils_1.insertLayout)(exports.AxesChartXGridAndLabelsCommon.layout, 2, [{
869
+ label: (0, i18n_1._)('Axis scale'),
816
870
  option: 'xAxisScale',
817
871
  editor: 'editor.radioBar',
818
872
  editorProps: {
819
873
  values: [{
820
- label: i18n_1._('Linear'),
874
+ label: (0, i18n_1._)('Linear'),
821
875
  value: 'linear'
822
876
  }, {
823
- label: i18n_1._('Log'),
877
+ label: (0, i18n_1._)('Log'),
824
878
  value: 'log'
825
879
  }]
826
880
  }
827
881
  }])), [[{
828
- label: i18n_1._('Label rotation'),
882
+ label: (0, i18n_1._)('Label rotation'),
829
883
  option: 'xAxisLabelRotation',
830
884
  editor: 'editor.select',
831
885
  editorProps: {
832
886
  values: [{
833
- label: i18n_1._('-90'),
887
+ label: (0, i18n_1._)('-90'),
834
888
  value: -90
835
889
  }, {
836
- label: i18n_1._('-45'),
890
+ label: (0, i18n_1._)('-45'),
837
891
  value: -45
838
892
  }, {
839
- label: i18n_1._('0'),
893
+ label: (0, i18n_1._)('0'),
840
894
  value: 0
841
895
  }, {
842
- label: i18n_1._('45'),
896
+ label: (0, i18n_1._)('45'),
843
897
  value: 45
844
898
  }, {
845
- label: i18n_1._('90'),
899
+ label: (0, i18n_1._)('90'),
846
900
  value: 90
847
901
  }]
848
902
  },
@@ -851,7 +905,7 @@ exports.AxesChartXGridAndLabelsBubbleScatter = {
851
905
  return options.xAxisLabelVisibility === 'show' || options.xAxisLabelVisibility === 'auto' || options.xAxisLabelVisibility === undefined;
852
906
  }
853
907
  }], [{
854
- label: i18n_1._('Round axis labels'),
908
+ label: (0, i18n_1._)('Round axis labels'),
855
909
  option: 'showRoundedXAxisLabels',
856
910
  editor: 'editor.checkbox',
857
911
  showEditor: function showEditor(_ref6) {
@@ -859,7 +913,7 @@ exports.AxesChartXGridAndLabelsBubbleScatter = {
859
913
  return options.xAxisLabelVisibility === 'show' || options.xAxisLabelVisibility === 'auto' || options.xAxisLabelVisibility === undefined;
860
914
  }
861
915
  }], [{
862
- label: i18n_1._('SI prefix abbreviation for labels'),
916
+ label: (0, i18n_1._)('SI prefix abbreviation for labels'),
863
917
  option: 'xAxisAbbreviation',
864
918
  editor: 'editor.checkbox',
865
919
  showEditor: function showEditor(_ref7) {
@@ -867,27 +921,26 @@ exports.AxesChartXGridAndLabelsBubbleScatter = {
867
921
  return options.xAxisLabelVisibility === 'show' || options.xAxisLabelVisibility === 'auto' || options.xAxisLabelVisibility === undefined;
868
922
  }
869
923
  }], [{
870
- label: i18n_1._('Include zero'),
924
+ label: (0, i18n_1._)('Include zero'),
871
925
  option: 'showXAxisWithZero',
872
926
  editor: 'editor.checkbox'
873
927
  }], [{
874
- label: i18n_1._('Extend to whole grid'),
928
+ label: (0, i18n_1._)('Extend to whole grid'),
875
929
  option: 'showXAxisExtendedRange',
876
930
  editor: 'editor.checkbox'
877
931
  }], [{
878
- label: i18n_1._('Minimum axis value'),
932
+ label: (0, i18n_1._)('Minimum axis value'),
879
933
  option: 'xAxisMin',
880
934
  editor: 'editor.number'
881
935
  }, {
882
- label: i18n_1._('Maximum axis value'),
936
+ label: (0, i18n_1._)('Maximum axis value'),
883
937
  option: 'xAxisMax',
884
938
  editor: 'editor.number'
885
939
  }], [{
886
- label: i18n_1._('Axis line visibility'),
940
+ label: (0, i18n_1._)('Axis line visibility'),
887
941
  option: 'xAxisLineVisibility',
888
942
  editor: 'editor.checkbox'
889
- }],
890
- // this option is disabled for bubble and scatter
943
+ }], // this option is disabled for bubble and scatter
891
944
  // [
892
945
  // {
893
946
  // label: _('Major gridlines'),
@@ -896,23 +949,23 @@ exports.AxesChartXGridAndLabelsBubbleScatter = {
896
949
  // },
897
950
  // ],
898
951
  [{
899
- label: i18n_1._('Major tick visibility'),
952
+ label: (0, i18n_1._)('Major tick visibility'),
900
953
  option: 'xAxisMajorTickVisibility',
901
954
  editor: 'editor.radioBar',
902
955
  editorProps: {
903
956
  values: [{
904
- label: i18n_1._('Auto'),
957
+ label: (0, i18n_1._)('Auto'),
905
958
  value: 'auto'
906
959
  }, {
907
- label: i18n_1._('Show'),
960
+ label: (0, i18n_1._)('Show'),
908
961
  value: 'show'
909
962
  }, {
910
- label: i18n_1._('Hide'),
963
+ label: (0, i18n_1._)('Hide'),
911
964
  value: 'hide'
912
965
  }]
913
966
  }
914
967
  }], [{
915
- label: i18n_1._('Major tick size (px)'),
968
+ label: (0, i18n_1._)('Major tick size (px)'),
916
969
  option: 'xAxisMajorTickSize',
917
970
  editor: 'editor.slider',
918
971
  editorProps: {
@@ -925,7 +978,7 @@ exports.AxesChartXGridAndLabelsBubbleScatter = {
925
978
  return options.xAxisMajorTickVisibility === 'show' || options.xAxisMajorTickVisibility === 'auto' || options.xAxisMajorTickVisibility === undefined;
926
979
  }
927
980
  }], [{
928
- label: i18n_1._('Major tick interval spacing'),
981
+ label: (0, i18n_1._)('Major tick interval spacing'),
929
982
  option: 'xAxisMajorTickInterval',
930
983
  editor: 'editor.number',
931
984
  showEditor: function showEditor(_ref9) {
@@ -933,27 +986,27 @@ exports.AxesChartXGridAndLabelsBubbleScatter = {
933
986
  return options.xAxisMajorTickVisibility === 'show' || options.xAxisMajorTickVisibility === 'auto' || options.xAxisMajorTickVisibility === undefined;
934
987
  }
935
988
  }], [{
936
- label: i18n_1._('Minor gridlines'),
989
+ label: (0, i18n_1._)('Minor gridlines'),
937
990
  option: 'showXMinorGridLines',
938
991
  editor: 'editor.checkbox'
939
992
  }], [{
940
- label: i18n_1._('Minor tick visibility'),
993
+ label: (0, i18n_1._)('Minor tick visibility'),
941
994
  option: 'xAxisMinorTickVisibility',
942
995
  editor: 'editor.radioBar',
943
996
  editorProps: {
944
997
  values: [{
945
- label: i18n_1._('Auto'),
998
+ label: (0, i18n_1._)('Auto'),
946
999
  value: 'auto'
947
1000
  }, {
948
- label: i18n_1._('Show'),
1001
+ label: (0, i18n_1._)('Show'),
949
1002
  value: 'show'
950
1003
  }, {
951
- label: i18n_1._('Hide'),
1004
+ label: (0, i18n_1._)('Hide'),
952
1005
  value: 'hide'
953
1006
  }]
954
1007
  }
955
1008
  }], [{
956
- label: i18n_1._('Minor tick size (px)'),
1009
+ label: (0, i18n_1._)('Minor tick size (px)'),
957
1010
  option: 'xAxisMinorTickSize',
958
1011
  editor: 'editor.slider',
959
1012
  editorProps: {
@@ -979,15 +1032,17 @@ exports.default = AxesChartXGridAndLabels;
979
1032
  Object.defineProperty(exports, "__esModule", {
980
1033
  value: true
981
1034
  });
1035
+
982
1036
  var i18n_1 = __webpack_require__(0);
1037
+
983
1038
  var AxesChartYGridAndLabels = {
984
- label: i18n_1._('Y-axis grid and labels'),
1039
+ label: (0, i18n_1._)('Y-axis grid and labels'),
985
1040
  layout: [[{
986
- label: i18n_1._('Axis title'),
1041
+ label: (0, i18n_1._)('Axis title'),
987
1042
  option: 'yAxisTitleVisibility',
988
1043
  editor: 'editor.toggle'
989
1044
  }], [{
990
- label: i18n_1._('Axis title text'),
1045
+ label: (0, i18n_1._)('Axis title text'),
991
1046
  option: 'yAxisTitleText',
992
1047
  editor: 'editor.text',
993
1048
  showEditor: function showEditor(_ref) {
@@ -995,36 +1050,36 @@ var AxesChartYGridAndLabels = {
995
1050
  return options.yAxisTitleVisibility === 'show' || options.yAxisTitleVisibility === undefined;
996
1051
  }
997
1052
  }], [{
998
- label: i18n_1._('Scale'),
1053
+ label: (0, i18n_1._)('Scale'),
999
1054
  option: 'yAxisScale',
1000
1055
  editor: 'editor.radioBar',
1001
1056
  editorProps: {
1002
1057
  values: [{
1003
- label: i18n_1._('Linear'),
1058
+ label: (0, i18n_1._)('Linear'),
1004
1059
  value: 'linear'
1005
1060
  }, {
1006
- label: i18n_1._('Log'),
1061
+ label: (0, i18n_1._)('Log'),
1007
1062
  value: 'log'
1008
1063
  }]
1009
1064
  }
1010
1065
  }], [{
1011
- label: i18n_1._('Label visibility'),
1066
+ label: (0, i18n_1._)('Label visibility'),
1012
1067
  option: 'yAxisLabelVisibility',
1013
1068
  editor: 'editor.radioBar',
1014
1069
  editorProps: {
1015
1070
  values: [{
1016
- label: i18n_1._('Auto'),
1071
+ label: (0, i18n_1._)('Auto'),
1017
1072
  value: 'auto'
1018
1073
  }, {
1019
- label: i18n_1._('Show'),
1074
+ label: (0, i18n_1._)('Show'),
1020
1075
  value: 'show'
1021
1076
  }, {
1022
- label: i18n_1._('Hide'),
1077
+ label: (0, i18n_1._)('Hide'),
1023
1078
  value: 'hide'
1024
1079
  }]
1025
1080
  }
1026
1081
  }], [{
1027
- label: i18n_1._('SI prefix abbreviation for labels'),
1082
+ label: (0, i18n_1._)('SI prefix abbreviation for labels'),
1028
1083
  option: 'yAxisAbbreviation',
1029
1084
  editor: 'editor.checkbox',
1030
1085
  showEditor: function showEditor(_ref2) {
@@ -1032,47 +1087,47 @@ var AxesChartYGridAndLabels = {
1032
1087
  return options.yAxisLabelVisibility === 'show' || options.yAxisLabelVisibility === 'auto' || options.yAxisLabelVisibility === undefined;
1033
1088
  }
1034
1089
  }], [{
1035
- label: i18n_1._('Include zero'),
1090
+ label: (0, i18n_1._)('Include zero'),
1036
1091
  option: 'showYAxisWithZero',
1037
1092
  editor: 'editor.checkbox'
1038
1093
  }], [{
1039
- label: i18n_1._('Extend to whole grid'),
1094
+ label: (0, i18n_1._)('Extend to whole grid'),
1040
1095
  option: 'showYAxisExtendedRange',
1041
1096
  editor: 'editor.checkbox'
1042
1097
  }], [{
1043
- label: i18n_1._('Minimum axis value'),
1098
+ label: (0, i18n_1._)('Minimum axis value'),
1044
1099
  option: 'yAxisMin',
1045
1100
  editor: 'editor.number'
1046
1101
  }, {
1047
- label: i18n_1._('Maximum axis value'),
1102
+ label: (0, i18n_1._)('Maximum axis value'),
1048
1103
  option: 'yAxisMax',
1049
1104
  editor: 'editor.number'
1050
1105
  }], [{
1051
- label: i18n_1._('Axis line visibility'),
1106
+ label: (0, i18n_1._)('Axis line visibility'),
1052
1107
  option: 'yAxisLineVisibility',
1053
1108
  editor: 'editor.checkbox'
1054
1109
  }], [{
1055
- label: i18n_1._('Major gridlines'),
1110
+ label: (0, i18n_1._)('Major gridlines'),
1056
1111
  option: 'showYMajorGridLines',
1057
1112
  editor: 'editor.checkbox'
1058
1113
  }], [{
1059
- label: i18n_1._('Major tick visibility'),
1114
+ label: (0, i18n_1._)('Major tick visibility'),
1060
1115
  option: 'yAxisMajorTickVisibility',
1061
1116
  editor: 'editor.radioBar',
1062
1117
  editorProps: {
1063
1118
  values: [{
1064
- label: i18n_1._('Auto'),
1119
+ label: (0, i18n_1._)('Auto'),
1065
1120
  value: 'auto'
1066
1121
  }, {
1067
- label: i18n_1._('Show'),
1122
+ label: (0, i18n_1._)('Show'),
1068
1123
  value: 'show'
1069
1124
  }, {
1070
- label: i18n_1._('Hide'),
1125
+ label: (0, i18n_1._)('Hide'),
1071
1126
  value: 'hide'
1072
1127
  }]
1073
1128
  }
1074
1129
  }], [{
1075
- label: i18n_1._('Major tick size (px)'),
1130
+ label: (0, i18n_1._)('Major tick size (px)'),
1076
1131
  option: 'yAxisMajorTickSize',
1077
1132
  editor: 'editor.slider',
1078
1133
  editorProps: {
@@ -1085,7 +1140,7 @@ var AxesChartYGridAndLabels = {
1085
1140
  return options.yAxisMajorTickVisibility === 'show' || options.yAxisMajorTickVisibility === 'auto' || options.yAxisMajorTickVisibility === undefined;
1086
1141
  }
1087
1142
  }], [{
1088
- label: i18n_1._('Major tick interval spacing'),
1143
+ label: (0, i18n_1._)('Major tick interval spacing'),
1089
1144
  option: 'yAxisMajorTickInterval',
1090
1145
  editor: 'editor.number',
1091
1146
  showEditor: function showEditor(_ref4) {
@@ -1093,27 +1148,27 @@ var AxesChartYGridAndLabels = {
1093
1148
  return options.yAxisMajorTickVisibility === 'show' || options.yAxisMajorTickVisibility === 'auto' || options.yAxisMajorTickVisibility === undefined;
1094
1149
  }
1095
1150
  }], [{
1096
- label: i18n_1._('Minor gridlines'),
1151
+ label: (0, i18n_1._)('Minor gridlines'),
1097
1152
  option: 'showYMinorGridLines',
1098
1153
  editor: 'editor.checkbox'
1099
1154
  }], [{
1100
- label: i18n_1._('Minor tick visibility'),
1155
+ label: (0, i18n_1._)('Minor tick visibility'),
1101
1156
  option: 'yAxisMinorTickVisibility',
1102
1157
  editor: 'editor.radioBar',
1103
1158
  editorProps: {
1104
1159
  values: [{
1105
- label: i18n_1._('Auto'),
1160
+ label: (0, i18n_1._)('Auto'),
1106
1161
  value: 'auto'
1107
1162
  }, {
1108
- label: i18n_1._('Show'),
1163
+ label: (0, i18n_1._)('Show'),
1109
1164
  value: 'show'
1110
1165
  }, {
1111
- label: i18n_1._('Hide'),
1166
+ label: (0, i18n_1._)('Hide'),
1112
1167
  value: 'hide'
1113
1168
  }]
1114
1169
  }
1115
1170
  }], [{
1116
- label: i18n_1._('Minor tick size (px)'),
1171
+ label: (0, i18n_1._)('Minor tick size (px)'),
1117
1172
  option: 'yAxisMinorTickSize',
1118
1173
  editor: 'editor.slider',
1119
1174
  editorProps: {
@@ -1139,60 +1194,65 @@ exports.default = AxesChartYGridAndLabels;
1139
1194
 
1140
1195
 
1141
1196
  var _toConsumableArray = __webpack_require__(1);
1197
+
1142
1198
  Object.defineProperty(exports, "__esModule", {
1143
1199
  value: true
1144
1200
  });
1145
1201
  exports.AxesChartDataDisplayColumn = exports.AxesChartDataDisplayBar = exports.AxesChartDataDisplayLine = void 0;
1202
+
1146
1203
  var i18n_1 = __webpack_require__(0);
1204
+
1147
1205
  var lodash_1 = __webpack_require__(6);
1206
+
1148
1207
  var configUtils_1 = __webpack_require__(4);
1208
+
1149
1209
  exports.AxesChartDataDisplayLine = {
1150
- label: i18n_1._('Data display'),
1210
+ label: (0, i18n_1._)('Data display'),
1151
1211
  layout: [[{
1152
- label: i18n_1._('Null value display'),
1212
+ label: (0, i18n_1._)('Null value display'),
1153
1213
  option: 'nullValueDisplay',
1154
1214
  editor: 'editor.radioBar',
1155
1215
  editorProps: {
1156
1216
  values: [{
1157
- label: i18n_1._('Gaps'),
1217
+ label: (0, i18n_1._)('Gaps'),
1158
1218
  value: 'gaps'
1159
1219
  }, {
1160
- label: i18n_1._('Zero'),
1220
+ label: (0, i18n_1._)('Zero'),
1161
1221
  value: 'zero'
1162
1222
  }, {
1163
- label: i18n_1._('Connect'),
1223
+ label: (0, i18n_1._)('Connect'),
1164
1224
  value: 'connect'
1165
1225
  }]
1166
1226
  }
1167
1227
  }], [{
1168
- label: i18n_1._('Data value display'),
1228
+ label: (0, i18n_1._)('Data value display'),
1169
1229
  option: 'dataValuesDisplay',
1170
1230
  editor: 'editor.radioBar',
1171
1231
  editorProps: {
1172
1232
  values: [{
1173
- label: i18n_1._('Off'),
1233
+ label: (0, i18n_1._)('Off'),
1174
1234
  value: 'off'
1175
1235
  }, {
1176
- label: i18n_1._('All'),
1236
+ label: (0, i18n_1._)('All'),
1177
1237
  value: 'all'
1178
1238
  }, {
1179
- label: i18n_1._('Min/Max'),
1239
+ label: (0, i18n_1._)('Min/Max'),
1180
1240
  value: 'minmax'
1181
1241
  }]
1182
1242
  }
1183
1243
  }], [{
1184
- label: i18n_1._('Overlay fields'),
1244
+ label: (0, i18n_1._)('Overlay fields'),
1185
1245
  option: 'overlayFields',
1186
1246
  editor: 'editor.columnMultiSelectionByFieldNameEditor',
1187
1247
  editorProps: {
1188
1248
  filterByTypes: ['number']
1189
1249
  }
1190
1250
  }], [{
1191
- label: i18n_1._('Split series'),
1251
+ label: (0, i18n_1._)('Split series'),
1192
1252
  option: 'showSplitSeries',
1193
1253
  editor: 'editor.toggle'
1194
1254
  }], [{
1195
- label: i18n_1._('Independent y-axis for split series'),
1255
+ label: (0, i18n_1._)('Independent y-axis for split series'),
1196
1256
  option: 'showIndependentYRanges',
1197
1257
  editor: 'editor.checkbox',
1198
1258
  showEditor: function showEditor(_ref) {
@@ -1204,18 +1264,18 @@ exports.AxesChartDataDisplayLine = {
1204
1264
  var AxesChartDataDisplay = {
1205
1265
  label: exports.AxesChartDataDisplayLine.label,
1206
1266
  layout: [[{
1207
- label: i18n_1._('Stack mode'),
1267
+ label: (0, i18n_1._)('Stack mode'),
1208
1268
  option: 'stackMode',
1209
1269
  editor: 'editor.select',
1210
1270
  editorProps: {
1211
1271
  values: [{
1212
- label: i18n_1._('Not stacked'),
1272
+ label: (0, i18n_1._)('Not stacked'),
1213
1273
  value: 'auto'
1214
1274
  }, {
1215
- label: i18n_1._('Stacked'),
1275
+ label: (0, i18n_1._)('Stacked'),
1216
1276
  value: 'stacked'
1217
1277
  }, {
1218
- label: i18n_1._('Stacked 100%'),
1278
+ label: (0, i18n_1._)('Stacked 100%'),
1219
1279
  value: 'stacked100'
1220
1280
  }]
1221
1281
  }
@@ -1224,39 +1284,39 @@ var AxesChartDataDisplay = {
1224
1284
  exports.AxesChartDataDisplayBar = {
1225
1285
  label: exports.AxesChartDataDisplayLine.label,
1226
1286
  layout: [[{
1227
- label: i18n_1._('Stack mode'),
1287
+ label: (0, i18n_1._)('Stack mode'),
1228
1288
  option: 'stackMode',
1229
1289
  editor: 'editor.select',
1230
1290
  editorProps: {
1231
1291
  values: [{
1232
- label: i18n_1._('Not stacked'),
1292
+ label: (0, i18n_1._)('Not stacked'),
1233
1293
  value: 'auto'
1234
1294
  }, {
1235
- label: i18n_1._('Stacked'),
1295
+ label: (0, i18n_1._)('Stacked'),
1236
1296
  value: 'stacked'
1237
1297
  }, {
1238
- label: i18n_1._('Stacked 100%'),
1298
+ label: (0, i18n_1._)('Stacked 100%'),
1239
1299
  value: 'stacked100'
1240
1300
  }]
1241
1301
  }
1242
- }]].concat(_toConsumableArray(lodash_1.drop(exports.AxesChartDataDisplayLine.layout)))
1302
+ }]].concat(_toConsumableArray((0, lodash_1.drop)(exports.AxesChartDataDisplayLine.layout)))
1243
1303
  };
1244
1304
  exports.AxesChartDataDisplayColumn = {
1245
1305
  label: exports.AxesChartDataDisplayBar.label,
1246
- layout: [].concat(_toConsumableArray(configUtils_1.insertLayout(exports.AxesChartDataDisplayBar.layout, 2, [{
1247
- label: i18n_1._('Show tooltip on hover'),
1306
+ layout: [].concat(_toConsumableArray((0, configUtils_1.insertLayout)(exports.AxesChartDataDisplayBar.layout, 2, [{
1307
+ label: (0, i18n_1._)('Show tooltip on hover'),
1248
1308
  option: 'showTooltip',
1249
1309
  editor: 'editor.checkbox'
1250
1310
  }])), [[{
1251
- label: i18n_1._('Column grouping mode'),
1311
+ label: (0, i18n_1._)('Column grouping mode'),
1252
1312
  option: 'columnGrouping',
1253
1313
  editor: 'editor.radioBar',
1254
1314
  editorProps: {
1255
1315
  values: [{
1256
- label: i18n_1._('Auto'),
1316
+ label: (0, i18n_1._)('Auto'),
1257
1317
  value: 'auto'
1258
1318
  }, {
1259
- label: i18n_1._('Overlay'),
1319
+ label: (0, i18n_1._)('Overlay'),
1260
1320
  value: 'overlay'
1261
1321
  }]
1262
1322
  }
@@ -1274,15 +1334,17 @@ exports.default = AxesChartDataDisplay;
1274
1334
  Object.defineProperty(exports, "__esModule", {
1275
1335
  value: true
1276
1336
  });
1337
+
1277
1338
  var i18n_1 = __webpack_require__(0);
1339
+
1278
1340
  var axesChartY2GridAndLabels = {
1279
- label: i18n_1._('Y2-axis grid and labels'),
1341
+ label: (0, i18n_1._)('Y2-axis grid and labels'),
1280
1342
  layout: [[{
1281
- label: i18n_1._('Axis title'),
1343
+ label: (0, i18n_1._)('Axis title'),
1282
1344
  option: 'y2AxisTitleVisibility',
1283
1345
  editor: 'editor.toggle'
1284
1346
  }], [{
1285
- label: i18n_1._('Axis title'),
1347
+ label: (0, i18n_1._)('Axis title'),
1286
1348
  option: 'y2AxisTitleText',
1287
1349
  editor: 'editor.text',
1288
1350
  showEditor: function showEditor(_ref) {
@@ -1290,7 +1352,7 @@ var axesChartY2GridAndLabels = {
1290
1352
  return options.y2AxisTitleVisibility === 'show' || options.y2AxisTitleVisibility === undefined;
1291
1353
  }
1292
1354
  }], [{
1293
- label: i18n_1._('Show overlays on the y2-axis'),
1355
+ label: (0, i18n_1._)('Show overlays on the y2-axis'),
1294
1356
  option: 'showOverlayY2Axis',
1295
1357
  editor: 'editor.checkbox',
1296
1358
  showEditor: function showEditor(_ref2) {
@@ -1298,36 +1360,36 @@ var axesChartY2GridAndLabels = {
1298
1360
  return Array.isArray(options.overlayFields) && options.overlayFields.length > 0;
1299
1361
  }
1300
1362
  }], [{
1301
- label: i18n_1._('Scale'),
1363
+ label: (0, i18n_1._)('Scale'),
1302
1364
  option: 'y2AxisScale',
1303
1365
  editor: 'editor.radioBar',
1304
1366
  editorProps: {
1305
1367
  values: [{
1306
- label: i18n_1._('Linear'),
1368
+ label: (0, i18n_1._)('Linear'),
1307
1369
  value: 'linear'
1308
1370
  }, {
1309
- label: i18n_1._('Log'),
1371
+ label: (0, i18n_1._)('Log'),
1310
1372
  value: 'log'
1311
1373
  }]
1312
1374
  }
1313
1375
  }], [{
1314
- label: i18n_1._('Label visibility'),
1376
+ label: (0, i18n_1._)('Label visibility'),
1315
1377
  option: 'y2AxisLabelVisibility',
1316
1378
  editor: 'editor.radioBar',
1317
1379
  editorProps: {
1318
1380
  values: [{
1319
- label: i18n_1._('Auto'),
1381
+ label: (0, i18n_1._)('Auto'),
1320
1382
  value: 'auto'
1321
1383
  }, {
1322
- label: i18n_1._('Show'),
1384
+ label: (0, i18n_1._)('Show'),
1323
1385
  value: 'show'
1324
1386
  }, {
1325
- label: i18n_1._('Hide'),
1387
+ label: (0, i18n_1._)('Hide'),
1326
1388
  value: 'hide'
1327
1389
  }]
1328
1390
  }
1329
1391
  }], [{
1330
- label: i18n_1._('Round axis labels'),
1392
+ label: (0, i18n_1._)('Round axis labels'),
1331
1393
  option: 'showRoundedY2AxisLabels',
1332
1394
  editor: 'editor.checkbox',
1333
1395
  showEditor: function showEditor(_ref3) {
@@ -1335,7 +1397,7 @@ var axesChartY2GridAndLabels = {
1335
1397
  return options.y2AxisLabelVisibility === 'show' || options.y2AxisLabelVisibility === 'auto' || options.y2AxisLabelVisibility === undefined;
1336
1398
  }
1337
1399
  }], [{
1338
- label: i18n_1._('SI prefix abbreviation for labels'),
1400
+ label: (0, i18n_1._)('SI prefix abbreviation for labels'),
1339
1401
  option: 'y2AxisAbbreviation',
1340
1402
  editor: 'editor.checkbox',
1341
1403
  showEditor: function showEditor(_ref4) {
@@ -1343,43 +1405,43 @@ var axesChartY2GridAndLabels = {
1343
1405
  return options.y2AxisLabelVisibility === 'show' || options.y2AxisLabelVisibility === 'auto' || options.y2AxisLabelVisibility === undefined;
1344
1406
  }
1345
1407
  }], [{
1346
- label: i18n_1._('Include zero'),
1408
+ label: (0, i18n_1._)('Include zero'),
1347
1409
  option: 'showY2AxisWithZero',
1348
1410
  editor: 'editor.checkbox'
1349
1411
  }], [{
1350
- label: i18n_1._('Minimum axis value'),
1412
+ label: (0, i18n_1._)('Minimum axis value'),
1351
1413
  option: 'y2AxisMin',
1352
1414
  editor: 'editor.number'
1353
1415
  }, {
1354
- label: i18n_1._('Maximum axis value'),
1416
+ label: (0, i18n_1._)('Maximum axis value'),
1355
1417
  option: 'y2AxisMax',
1356
1418
  editor: 'editor.number'
1357
1419
  }], [{
1358
- label: i18n_1._('Axis line visibility'),
1420
+ label: (0, i18n_1._)('Axis line visibility'),
1359
1421
  option: 'y2AxisLineVisibility',
1360
1422
  editor: 'editor.checkbox'
1361
1423
  }], [{
1362
- label: i18n_1._('Major gridlines'),
1424
+ label: (0, i18n_1._)('Major gridlines'),
1363
1425
  option: 'showY2MajorGridLines',
1364
1426
  editor: 'editor.checkbox'
1365
1427
  }], [{
1366
- label: i18n_1._('Major tick visibility'),
1428
+ label: (0, i18n_1._)('Major tick visibility'),
1367
1429
  option: 'y2AxisMajorTickVisibility',
1368
1430
  editor: 'editor.radioBar',
1369
1431
  editorProps: {
1370
1432
  values: [{
1371
- label: i18n_1._('Auto'),
1433
+ label: (0, i18n_1._)('Auto'),
1372
1434
  value: 'auto'
1373
1435
  }, {
1374
- label: i18n_1._('Show'),
1436
+ label: (0, i18n_1._)('Show'),
1375
1437
  value: 'show'
1376
1438
  }, {
1377
- label: i18n_1._('Hide'),
1439
+ label: (0, i18n_1._)('Hide'),
1378
1440
  value: 'hide'
1379
1441
  }]
1380
1442
  }
1381
1443
  }], [{
1382
- label: i18n_1._('Major tick size (px)'),
1444
+ label: (0, i18n_1._)('Major tick size (px)'),
1383
1445
  option: 'y2AxisMajorTickSize',
1384
1446
  editor: 'editor.slider',
1385
1447
  editorProps: {
@@ -1392,7 +1454,7 @@ var axesChartY2GridAndLabels = {
1392
1454
  return options.y2AxisMajorTickVisibility === 'show' || options.y2AxisMajorTickVisibility === 'auto' || options.y2AxisMajorTickVisibility === undefined;
1393
1455
  }
1394
1456
  }], [{
1395
- label: i18n_1._('Major tick interval spacing'),
1457
+ label: (0, i18n_1._)('Major tick interval spacing'),
1396
1458
  option: 'y2AxisMajorTickInterval',
1397
1459
  editor: 'editor.number',
1398
1460
  showEditor: function showEditor(_ref6) {
@@ -1400,27 +1462,27 @@ var axesChartY2GridAndLabels = {
1400
1462
  return options.y2AxisMajorTickVisibility === 'show' || options.y2AxisMajorTickVisibility === 'auto' || options.y2AxisMajorTickVisibility === undefined;
1401
1463
  }
1402
1464
  }], [{
1403
- label: i18n_1._('Minor gridlines'),
1465
+ label: (0, i18n_1._)('Minor gridlines'),
1404
1466
  option: 'showY2MinorGridLines',
1405
1467
  editor: 'editor.checkbox'
1406
1468
  }], [{
1407
- label: i18n_1._('Minor tick visibility'),
1469
+ label: (0, i18n_1._)('Minor tick visibility'),
1408
1470
  option: 'y2AxisMinorTickVisibility',
1409
1471
  editor: 'editor.radioBar',
1410
1472
  editorProps: {
1411
1473
  values: [{
1412
- label: i18n_1._('Auto'),
1474
+ label: (0, i18n_1._)('Auto'),
1413
1475
  value: 'auto'
1414
1476
  }, {
1415
- label: i18n_1._('Show'),
1477
+ label: (0, i18n_1._)('Show'),
1416
1478
  value: 'show'
1417
1479
  }, {
1418
- label: i18n_1._('Hide'),
1480
+ label: (0, i18n_1._)('Hide'),
1419
1481
  value: 'hide'
1420
1482
  }]
1421
1483
  }
1422
1484
  }], [{
1423
- label: i18n_1._('Minor tick size (px)'),
1485
+ label: (0, i18n_1._)('Minor tick size (px)'),
1424
1486
  option: 'y2AxisMinorTickSize',
1425
1487
  editor: 'editor.slider',
1426
1488
  editorProps: {
@@ -1466,33 +1528,53 @@ exports.default = axesChartY2GridAndLabels;
1466
1528
  /* 51 */,
1467
1529
  /* 52 */,
1468
1530
  /* 53 */,
1469
- /* 54 */
1531
+ /* 54 */,
1532
+ /* 55 */
1470
1533
  /***/ (function(module, exports, __webpack_require__) {
1471
1534
 
1472
1535
  "use strict";
1473
1536
 
1474
1537
 
1475
1538
  var _toConsumableArray = __webpack_require__(1);
1539
+
1476
1540
  Object.defineProperty(exports, "__esModule", {
1477
1541
  value: true
1478
1542
  });
1543
+
1479
1544
  var schemaUtils_1 = __webpack_require__(3);
1545
+
1480
1546
  var visualization_color_palettes_1 = __webpack_require__(14);
1547
+
1481
1548
  var visualization_icons_1 = __webpack_require__(12);
1549
+
1482
1550
  var placeholders_1 = __webpack_require__(11);
1551
+
1483
1552
  var i18n_1 = __webpack_require__(0);
1553
+
1484
1554
  var pick_1 = __webpack_require__(9);
1555
+
1485
1556
  var variables_1 = __webpack_require__(10);
1557
+
1486
1558
  var AxesChartDataConfig_1 = __webpack_require__(16);
1559
+
1487
1560
  var AxesChartDataDisplay_1 = __webpack_require__(23);
1561
+
1488
1562
  var AxesChartColorAndStyle_1 = __webpack_require__(17);
1563
+
1489
1564
  var AxesChartLegend_1 = __webpack_require__(18);
1565
+
1490
1566
  var AxesChartXGridAndLabels_1 = __webpack_require__(19);
1567
+
1491
1568
  var AxesChartYGridAndLabels_1 = __webpack_require__(20);
1569
+
1492
1570
  var AxesChartY2GridAndLabels_1 = __webpack_require__(24);
1571
+
1493
1572
  var VizBehavior_1 = __webpack_require__(2);
1573
+
1494
1574
  var VizCategory_1 = __webpack_require__(8);
1575
+
1495
1576
  var configUtils_1 = __webpack_require__(4);
1577
+
1496
1578
  var dataContract = {
1497
1579
  requiredDataSources: [{
1498
1580
  name: 'primary',
@@ -1582,13 +1664,13 @@ var optionsSchema = {
1582
1664
  dataValuesDisplay: {
1583
1665
  default: 'off',
1584
1666
  description: 'Specify whether chart should display no labels, all labels, or only the min and max labels.',
1585
- pattern: schemaUtils_1.getPattern(['off', 'all', 'minmax']),
1667
+ pattern: (0, schemaUtils_1.getPattern)(['off', 'all', 'minmax']),
1586
1668
  type: 'string'
1587
1669
  },
1588
1670
  legendDisplay: {
1589
1671
  default: 'right',
1590
1672
  description: 'Specify the location of the legend on the panel. You must select the Standard legend mode to make this change.',
1591
- pattern: schemaUtils_1.getPattern(['right', 'left', 'top', 'bottom', 'off']),
1673
+ pattern: (0, schemaUtils_1.getPattern)(['right', 'left', 'top', 'bottom', 'off']),
1592
1674
  type: 'string'
1593
1675
  },
1594
1676
  legendLabels: {
@@ -1601,19 +1683,19 @@ var optionsSchema = {
1601
1683
  legendMode: {
1602
1684
  default: 'standard',
1603
1685
  description: 'Specify visual and behavioral settings for the tooltip and legend. "seriesCompare" is useful when comparing series.',
1604
- pattern: schemaUtils_1.getPattern(['standard', 'seriesCompare']),
1686
+ pattern: (0, schemaUtils_1.getPattern)(['standard', 'seriesCompare']),
1605
1687
  type: 'string'
1606
1688
  },
1607
1689
  legendTruncation: {
1608
1690
  default: 'ellipsisEnd',
1609
1691
  description: 'Specify how to display legend labels when they overflow the layout boundaries by replacing overflow text with an ellipsis.',
1610
- pattern: schemaUtils_1.getPattern(['ellipsisEnd', 'ellipsisMiddle', 'ellipsisStart', 'ellipsisOff']),
1692
+ pattern: (0, schemaUtils_1.getPattern)(['ellipsisEnd', 'ellipsisMiddle', 'ellipsisStart', 'ellipsisOff']),
1611
1693
  type: 'string'
1612
1694
  },
1613
1695
  lineDashStyle: {
1614
1696
  default: 'solid',
1615
1697
  description: 'Specify a dash style for all line series in the chart.',
1616
- pattern: schemaUtils_1.getPattern(['solid', 'shortDash', 'shortDot', 'shortDashDot', 'shortDashDotDot', 'dot', 'dash', 'longDash', 'dashDot', 'longDashDot', 'longDashDotDot']),
1698
+ pattern: (0, schemaUtils_1.getPattern)(['solid', 'shortDash', 'shortDot', 'shortDashDot', 'shortDashDotDot', 'dot', 'dash', 'longDash', 'dashDot', 'longDashDot', 'longDashDotDot']),
1617
1699
  type: 'string'
1618
1700
  },
1619
1701
  lineDashStylesByField: {
@@ -1628,14 +1710,14 @@ var optionsSchema = {
1628
1710
  markerDisplay: {
1629
1711
  default: 'off',
1630
1712
  description: "Specify the marker display style for data points.",
1631
- pattern: schemaUtils_1.getPattern(['off', 'filled', 'outlined']),
1713
+ pattern: (0, schemaUtils_1.getPattern)(['off', 'filled', 'outlined']),
1632
1714
  enum: ['off', 'filled', 'outlined'],
1633
1715
  type: 'string'
1634
1716
  },
1635
1717
  nullValueDisplay: {
1636
1718
  default: 'gaps',
1637
1719
  description: 'Specify how area and line charts handle null values.',
1638
- pattern: schemaUtils_1.getPattern(['gaps', 'zero', 'connect']),
1720
+ pattern: (0, schemaUtils_1.getPattern)(['gaps', 'zero', 'connect']),
1639
1721
  type: 'string'
1640
1722
  },
1641
1723
  resultLimit: {
@@ -1719,40 +1801,40 @@ var optionsSchema = {
1719
1801
  xAxisLabelVisibility: {
1720
1802
  default: 'auto',
1721
1803
  description: 'Specify whether to show or hide labels on the x-axis.',
1722
- pattern: schemaUtils_1.getPattern(['auto', 'show', 'hide']),
1804
+ pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
1723
1805
  type: 'string'
1724
1806
  },
1725
1807
  yAxisLabelVisibility: {
1726
1808
  default: 'auto',
1727
1809
  description: 'Specify whether to show or hide labels on the y-axis.',
1728
- pattern: schemaUtils_1.getPattern(['auto', 'show', 'hide']),
1810
+ pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
1729
1811
  type: 'string'
1730
1812
  },
1731
1813
  y2AxisLabelVisibility: {
1732
1814
  default: 'auto',
1733
1815
  description: 'Specify whether to show or hide labels on the y2-axis.',
1734
- pattern: schemaUtils_1.getPattern(['auto', 'show', 'hide']),
1816
+ pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
1735
1817
  type: 'string'
1736
1818
  },
1737
1819
  xAxisLineVisibility: {
1738
1820
  default: 'hide',
1739
1821
  enum: ['hide', 'show'],
1740
1822
  description: 'Specify whether to show or hide the x-axis line.',
1741
- pattern: schemaUtils_1.getPattern(['show', 'hide']),
1823
+ pattern: (0, schemaUtils_1.getPattern)(['show', 'hide']),
1742
1824
  type: 'string'
1743
1825
  },
1744
1826
  yAxisLineVisibility: {
1745
1827
  default: 'hide',
1746
1828
  description: 'Specify whether to show or hide the y-axis line.',
1747
1829
  enum: ['hide', 'show'],
1748
- pattern: schemaUtils_1.getPattern(['show', 'hide']),
1830
+ pattern: (0, schemaUtils_1.getPattern)(['show', 'hide']),
1749
1831
  type: 'string'
1750
1832
  },
1751
1833
  y2AxisLineVisibility: {
1752
1834
  default: 'hide',
1753
1835
  description: 'Specify whether to show or hide the y2-axis line.',
1754
1836
  enum: ['hide', 'show'],
1755
- pattern: schemaUtils_1.getPattern(['show', 'hide']),
1837
+ pattern: (0, schemaUtils_1.getPattern)(['show', 'hide']),
1756
1838
  type: 'string'
1757
1839
  },
1758
1840
  xAxisMajorTickSize: {
@@ -1783,31 +1865,31 @@ var optionsSchema = {
1783
1865
  xAxisMajorTickVisibility: {
1784
1866
  default: 'auto',
1785
1867
  description: 'Specify whether to show or hide major tick marks on the x-axis.',
1786
- pattern: schemaUtils_1.getPattern(['auto', 'show', 'hide']),
1868
+ pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
1787
1869
  type: 'string'
1788
1870
  },
1789
1871
  yAxisMajorTickVisibility: {
1790
1872
  default: 'auto',
1791
1873
  description: 'Specify whether to show or hide major tick marks on the y-axis.',
1792
- pattern: schemaUtils_1.getPattern(['auto', 'show', 'hide']),
1874
+ pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
1793
1875
  type: 'string'
1794
1876
  },
1795
1877
  y2AxisMajorTickVisibility: {
1796
1878
  default: 'auto',
1797
1879
  description: 'Specify whether to show or hide major tick marks on the y2-axis.',
1798
- pattern: schemaUtils_1.getPattern(['auto', 'show', 'hide']),
1880
+ pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
1799
1881
  type: 'string'
1800
1882
  },
1801
1883
  yAxisMinorTickVisibility: {
1802
1884
  default: 'auto',
1803
1885
  description: 'Specify whether to show or hide minor tick marks on the y-axis.',
1804
- pattern: schemaUtils_1.getPattern(['auto', 'show', 'hide']),
1886
+ pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
1805
1887
  type: 'string'
1806
1888
  },
1807
1889
  y2AxisMinorTickVisibility: {
1808
1890
  default: 'auto',
1809
1891
  description: 'Specify whether to show or hide minor tick marks on the y2-axis.',
1810
- pattern: schemaUtils_1.getPattern(['auto', 'show', 'hide']),
1892
+ pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
1811
1893
  type: 'string'
1812
1894
  },
1813
1895
  xAxisMaxLabelParts: {
@@ -1833,35 +1915,35 @@ var optionsSchema = {
1833
1915
  default: 'show',
1834
1916
  description: 'Specify whether to show or hide the title of the x-axis.',
1835
1917
  enum: ['hide', 'show'],
1836
- pattern: schemaUtils_1.getPattern(['show', 'hide']),
1918
+ pattern: (0, schemaUtils_1.getPattern)(['show', 'hide']),
1837
1919
  type: 'string'
1838
1920
  },
1839
1921
  yAxisTitleVisibility: {
1840
1922
  default: 'show',
1841
1923
  description: 'Specify whether to show or hide the title of the y-axis.',
1842
1924
  enum: ['hide', 'show'],
1843
- pattern: schemaUtils_1.getPattern(['show', 'hide']),
1925
+ pattern: (0, schemaUtils_1.getPattern)(['show', 'hide']),
1844
1926
  type: 'string'
1845
1927
  },
1846
1928
  y2AxisTitleVisibility: {
1847
1929
  default: 'show',
1848
1930
  description: 'Specify whether to show or hide the title of the y2-axis.',
1849
1931
  enum: ['hide', 'show'],
1850
- pattern: schemaUtils_1.getPattern(['show', 'hide']),
1932
+ pattern: (0, schemaUtils_1.getPattern)(['show', 'hide']),
1851
1933
  type: 'string'
1852
1934
  },
1853
1935
  yAxisAbbreviation: {
1854
1936
  default: 'auto',
1855
1937
  description: 'Specify whether to abbreviate large y-axis values with the closest SI prefix.',
1856
1938
  enum: ['off', 'auto'],
1857
- pattern: schemaUtils_1.getPattern(['off', 'auto']),
1939
+ pattern: (0, schemaUtils_1.getPattern)(['off', 'auto']),
1858
1940
  type: 'string'
1859
1941
  },
1860
1942
  y2AxisAbbreviation: {
1861
1943
  default: 'auto',
1862
1944
  description: 'Specify whether to abbreviate large y2-axis values with the closest SI prefix.',
1863
1945
  enum: ['off', 'auto'],
1864
- pattern: schemaUtils_1.getPattern(['off', 'auto']),
1946
+ pattern: (0, schemaUtils_1.getPattern)(['off', 'auto']),
1865
1947
  type: 'string'
1866
1948
  },
1867
1949
  yAxisMajorTickInterval: {
@@ -1901,13 +1983,13 @@ var optionsSchema = {
1901
1983
  yAxisScale: {
1902
1984
  default: 'linear',
1903
1985
  description: 'Specify the type of scale that applies to a numerical y-axis.',
1904
- pattern: schemaUtils_1.getPattern(['linear', 'log']),
1986
+ pattern: (0, schemaUtils_1.getPattern)(['linear', 'log']),
1905
1987
  type: 'string'
1906
1988
  },
1907
1989
  y2AxisScale: {
1908
1990
  default: 'linear',
1909
1991
  description: 'Specify the type of scale that applies to a numerical y2-axis.',
1910
- pattern: schemaUtils_1.getPattern(['linear', 'log']),
1992
+ pattern: (0, schemaUtils_1.getPattern)(['linear', 'log']),
1911
1993
  type: 'string'
1912
1994
  },
1913
1995
  // TODO: Figure out a way to explicitly support string value in addition to an array of strings
@@ -1940,7 +2022,7 @@ var optionsSchema = {
1940
2022
  };
1941
2023
  var themes = {
1942
2024
  defaultBackgroundColor: function defaultBackgroundColor(props) {
1943
- return pick_1.default({
2025
+ return (0, pick_1.default)({
1944
2026
  enterprise: {
1945
2027
  dark: variables_1.default.black(props),
1946
2028
  light: variables_1.default.backgroundColor(props)
@@ -1951,8 +2033,7 @@ var themes = {
1951
2033
  };
1952
2034
  var editorConfig = [AxesChartDataConfig_1.AxesChartDataConfigAreaColumnLine, AxesChartDataDisplay_1.AxesChartDataDisplayLine, {
1953
2035
  label: AxesChartColorAndStyle_1.default.label,
1954
- layout: [].concat(_toConsumableArray(AxesChartColorAndStyle_1.default.layout), [
1955
- // [
2036
+ layout: [].concat(_toConsumableArray(AxesChartColorAndStyle_1.default.layout), [// [
1956
2037
  // {
1957
2038
  // label: _('Line dash style'),
1958
2039
  // option: 'lineDashStyle',
@@ -1967,7 +2048,7 @@ var editorConfig = [AxesChartDataConfig_1.AxesChartDataConfigAreaColumnLine, Axe
1967
2048
  // },
1968
2049
  // ],
1969
2050
  [{
1970
- label: i18n_1._('Line width (px)'),
2051
+ label: (0, i18n_1._)('Line width (px)'),
1971
2052
  option: 'lineWidth',
1972
2053
  editor: 'editor.slider',
1973
2054
  editorProps: {
@@ -1976,27 +2057,27 @@ var editorConfig = [AxesChartDataConfig_1.AxesChartDataConfigAreaColumnLine, Axe
1976
2057
  step: 0.5
1977
2058
  }
1978
2059
  }], [{
1979
- label: i18n_1._('Line smoothing'),
2060
+ label: (0, i18n_1._)('Line smoothing'),
1980
2061
  option: 'showLineSmoothing',
1981
2062
  editor: 'editor.toggle'
1982
2063
  }], [{
1983
- label: i18n_1._('Marker display'),
2064
+ label: (0, i18n_1._)('Marker display'),
1984
2065
  option: 'markerDisplay',
1985
2066
  editor: 'editor.radioBar',
1986
2067
  editorProps: {
1987
2068
  values: [{
1988
- label: i18n_1._('Off'),
2069
+ label: (0, i18n_1._)('Off'),
1989
2070
  value: 'off'
1990
2071
  }, {
1991
- label: i18n_1._('Filled'),
2072
+ label: (0, i18n_1._)('Filled'),
1992
2073
  value: 'filled'
1993
2074
  }, {
1994
- label: i18n_1._('Outlined'),
2075
+ label: (0, i18n_1._)('Outlined'),
1995
2076
  value: 'outlined'
1996
2077
  }]
1997
2078
  }
1998
2079
  }], [{
1999
- label: i18n_1._('Annotation colors'),
2080
+ label: (0, i18n_1._)('Annotation colors'),
2000
2081
  option: 'annotationColor',
2001
2082
  editor: 'editor.columnSelector',
2002
2083
  editorProps: {
@@ -2008,48 +2089,48 @@ var editorConfig = [AxesChartDataConfig_1.AxesChartDataConfigAreaColumnLine, Axe
2008
2089
  }, {
2009
2090
  label: AxesChartLegend_1.default.label,
2010
2091
  layout: [[{
2011
- label: i18n_1._('Legend display'),
2092
+ label: (0, i18n_1._)('Legend display'),
2012
2093
  option: 'legendDisplay',
2013
2094
  editor: 'editor.select',
2014
2095
  editorProps: {
2015
2096
  values: [{
2016
- label: i18n_1._('Right'),
2097
+ label: (0, i18n_1._)('Right'),
2017
2098
  value: 'right'
2018
2099
  }, {
2019
- label: i18n_1._('Left'),
2100
+ label: (0, i18n_1._)('Left'),
2020
2101
  value: 'left'
2021
2102
  }, {
2022
- label: i18n_1._('Top'),
2103
+ label: (0, i18n_1._)('Top'),
2023
2104
  value: 'top'
2024
2105
  }, {
2025
- label: i18n_1._('Bottom'),
2106
+ label: (0, i18n_1._)('Bottom'),
2026
2107
  value: 'bottom'
2027
2108
  }, {
2028
- label: i18n_1._('Off'),
2109
+ label: (0, i18n_1._)('Off'),
2029
2110
  value: 'off'
2030
2111
  }],
2031
- tooltip: i18n_1._('Legend mode must be "Standard" to configure legend display')
2112
+ tooltip: (0, i18n_1._)('Legend mode must be "Standard" to configure legend display')
2032
2113
  },
2033
2114
  isDisabled: function isDisabled(_ref) {
2034
2115
  var options = _ref.options;
2035
2116
  return options.legendMode === 'seriesCompare';
2036
2117
  }
2037
2118
  }], [{
2038
- label: i18n_1._('Legend truncation'),
2119
+ label: (0, i18n_1._)('Legend truncation'),
2039
2120
  option: 'legendTruncation',
2040
2121
  editor: 'editor.radioBar',
2041
2122
  editorProps: {
2042
2123
  values: [{
2043
- label: i18n_1._('A...'),
2124
+ label: (0, i18n_1._)('A...'),
2044
2125
  value: 'ellipsisEnd'
2045
2126
  }, {
2046
- label: i18n_1._('A...Z'),
2127
+ label: (0, i18n_1._)('A...Z'),
2047
2128
  value: 'ellipsisMiddle'
2048
2129
  }, {
2049
- label: i18n_1._('...Z'),
2130
+ label: (0, i18n_1._)('...Z'),
2050
2131
  value: 'ellipsisStart'
2051
2132
  }, {
2052
- label: i18n_1._('Off'),
2133
+ label: (0, i18n_1._)('Off'),
2053
2134
  value: 'ellipsisOff'
2054
2135
  }]
2055
2136
  },
@@ -2058,15 +2139,15 @@ var editorConfig = [AxesChartDataConfig_1.AxesChartDataConfigAreaColumnLine, Axe
2058
2139
  return options.legendDisplay === 'left' || options.legendDisplay === 'right' || options.legendDisplay === 'top' || options.legendDisplay === 'bottom' || options.legendDisplay === undefined;
2059
2140
  }
2060
2141
  }], [{
2061
- label: i18n_1._('Legend mode'),
2142
+ label: (0, i18n_1._)('Legend mode'),
2062
2143
  option: 'legendMode',
2063
2144
  editor: 'editor.radioBar',
2064
2145
  editorProps: {
2065
2146
  values: [{
2066
- label: i18n_1._('Standard'),
2147
+ label: (0, i18n_1._)('Standard'),
2067
2148
  value: 'standard'
2068
2149
  }, {
2069
- label: i18n_1._('Compare series'),
2150
+ label: (0, i18n_1._)('Compare series'),
2070
2151
  value: 'seriesCompare'
2071
2152
  }]
2072
2153
  }
@@ -2075,16 +2156,19 @@ var editorConfig = [AxesChartDataConfig_1.AxesChartDataConfigAreaColumnLine, Axe
2075
2156
  /**
2076
2157
  * visualization configuration
2077
2158
  */
2159
+
2078
2160
  var config = {
2079
2161
  /**
2080
2162
  * unique viz key
2081
2163
  */
2082
2164
  key: 'splunk.line',
2165
+
2083
2166
  /**
2084
2167
  * viz name
2085
2168
  */
2086
- name: i18n_1._('Line'),
2169
+ name: (0, i18n_1._)('Line'),
2087
2170
  category: VizCategory_1.VizCategory.TRENDS,
2171
+
2088
2172
  /**
2089
2173
  * viz icon
2090
2174
  */
@@ -2115,7 +2199,7 @@ var config = {
2115
2199
  supports: [VizBehavior_1.VizBehavior.DYNAMIC_OPTIONS, VizBehavior_1.VizBehavior.PLACEHOLDER],
2116
2200
  themes: themes
2117
2201
  };
2118
- exports.default = configUtils_1.enhanceConfig(config);
2202
+ exports.default = (0, configUtils_1.enhanceConfig)(config);
2119
2203
 
2120
2204
  /***/ })
2121
2205
  /******/ ]);