@splunk/visualizations 26.2.1 → 26.4.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 +92 -595
  2. package/Area.config.js.map +1 -1
  3. package/Area.js +296 -801
  4. package/Area.js.map +1 -1
  5. package/Bar.config.js +93 -562
  6. package/Bar.config.js.map +1 -1
  7. package/Bar.js +299 -770
  8. package/Bar.js.map +1 -1
  9. package/Bubble.config.js +84 -483
  10. package/Bubble.config.js.map +1 -1
  11. package/Bubble.js +286 -687
  12. package/Bubble.js.map +1 -1
  13. package/ChoroplethSvg.config.js +77 -202
  14. package/ChoroplethSvg.config.js.map +1 -1
  15. package/ChoroplethSvg.js +272 -400
  16. package/ChoroplethSvg.js.map +1 -1
  17. package/Column.config.js +93 -600
  18. package/Column.config.js.map +1 -1
  19. package/Column.js +299 -808
  20. package/Column.js.map +1 -1
  21. package/Ellipse.config.js +82 -200
  22. package/Ellipse.config.js.map +1 -1
  23. package/Ellipse.js +233 -356
  24. package/Ellipse.js.map +1 -1
  25. package/Events.config.js +62 -283
  26. package/Events.config.js.map +1 -1
  27. package/Events.js +326 -530
  28. package/Events.js.map +1 -1
  29. package/FillerGauge.config.js +91 -220
  30. package/FillerGauge.config.js.map +1 -1
  31. package/FillerGauge.js +267 -401
  32. package/FillerGauge.js.map +1 -1
  33. package/Image.config.js +61 -157
  34. package/Image.config.js.map +1 -1
  35. package/Image.js +217 -327
  36. package/Image.js.map +1 -1
  37. package/Line.config.js +92 -607
  38. package/Line.config.js.map +1 -1
  39. package/Line.js +297 -814
  40. package/Line.js.map +1 -1
  41. package/LinkGraph.config.js +75 -257
  42. package/LinkGraph.config.js.map +1 -1
  43. package/LinkGraph.js +1755 -17415
  44. package/LinkGraph.js.map +1 -1
  45. package/MIGRATION.md +6 -0
  46. package/Map.config.js +128 -1123
  47. package/Map.config.js.map +1 -1
  48. package/Map.js +470 -782
  49. package/Map.js.map +1 -1
  50. package/Markdown.config.js +62 -189
  51. package/Markdown.config.js.map +1 -1
  52. package/Markdown.js +272 -401
  53. package/Markdown.js.map +1 -1
  54. package/MarkerGauge.config.js +138 -298
  55. package/MarkerGauge.config.js.map +1 -1
  56. package/MarkerGauge.js +309 -470
  57. package/MarkerGauge.js.map +1 -1
  58. package/ParallelCoordinates.config.js +72 -192
  59. package/ParallelCoordinates.config.js.map +1 -1
  60. package/ParallelCoordinates.js +333 -442
  61. package/ParallelCoordinates.js.map +1 -1
  62. package/Pie.config.js +77 -241
  63. package/Pie.config.js.map +1 -1
  64. package/Pie.js +336 -471
  65. package/Pie.js.map +1 -1
  66. package/Punchcard.config.js +72 -306
  67. package/Punchcard.config.js.map +1 -1
  68. package/Punchcard.js +356 -583
  69. package/Punchcard.js.map +1 -1
  70. package/Rectangle.config.js +211 -347
  71. package/Rectangle.config.js.map +1 -1
  72. package/Rectangle.js +371 -509
  73. package/Rectangle.js.map +1 -1
  74. package/Sankey.config.js +72 -214
  75. package/Sankey.config.js.map +1 -1
  76. package/Sankey.js +343 -475
  77. package/Sankey.js.map +1 -1
  78. package/Scatter.config.js +86 -464
  79. package/Scatter.config.js.map +1 -1
  80. package/Scatter.js +1118 -1493
  81. package/Scatter.js.map +1 -1
  82. package/SingleValue.config.js +124 -411
  83. package/SingleValue.config.js.map +1 -1
  84. package/SingleValue.js +522 -789
  85. package/SingleValue.js.map +1 -1
  86. package/SingleValueBasic.js +73 -61
  87. package/SingleValueBasic.js.map +1 -1
  88. package/SingleValueIcon.config.js +123 -380
  89. package/SingleValueIcon.config.js.map +1 -1
  90. package/SingleValueIcon.js +508 -745
  91. package/SingleValueIcon.js.map +1 -1
  92. package/SingleValueRadial.config.js +121 -385
  93. package/SingleValueRadial.config.js.map +1 -1
  94. package/SingleValueRadial.js +1642 -1885
  95. package/SingleValueRadial.js.map +1 -1
  96. package/SparkLine.js +39 -39
  97. package/SparkLine.js.map +1 -1
  98. package/Table.config.js +82 -496
  99. package/Table.config.js.map +1 -1
  100. package/Table.js +416 -825
  101. package/Table.js.map +1 -1
  102. package/common/Charting.js +37 -57
  103. package/common/Charting.js.map +1 -1
  104. package/common/DocExampleWithVizSandbox.js +21 -21
  105. package/common/DocExampleWithVizSandbox.js.map +1 -1
  106. package/common/EventsDoc.js +18 -18
  107. package/common/EventsDoc.js.map +1 -1
  108. package/common/GaugeMajorTicks.js +4 -4
  109. package/common/GaugeMajorTicks.js.map +1 -1
  110. package/common/GaugeValueMarker.js +2 -2
  111. package/common/GaugeValueMarker.js.map +1 -1
  112. package/common/OptionsDoc.js +4 -4
  113. package/common/OptionsDoc.js.map +1 -1
  114. package/common/OverviewDoc.js +39 -40
  115. package/common/OverviewDoc.js.map +1 -1
  116. package/common/SplunkVisualization.js +2 -2
  117. package/common/SplunkVisualization.js.map +1 -1
  118. package/common/SplunkVisualizationApi.js +2 -2
  119. package/common/SplunkVisualizationApi.js.map +1 -1
  120. package/common/ThemesDoc.js +19 -19
  121. package/common/ThemesDoc.js.map +1 -1
  122. package/common/chartingUtils.js +2 -2
  123. package/common/chartingUtils.js.map +1 -1
  124. package/common/gaugeUtils.js +10 -10
  125. package/common/gaugeUtils.js.map +1 -1
  126. package/common/shapeUtils.js +10 -10
  127. package/common/shapeUtils.js.map +1 -1
  128. package/common/utils/configUtils.js +25 -155
  129. package/common/utils/configUtils.js.map +1 -1
  130. package/common/utils/dataUtils.js +87 -105
  131. package/common/utils/dataUtils.js.map +1 -1
  132. package/common/utils/featureFlagUtils.js +4 -4
  133. package/common/utils/featureFlagUtils.js.map +1 -1
  134. package/common/utils/hocUtils.js +2 -2
  135. package/common/utils/hocUtils.js.map +1 -1
  136. package/common/utils/mapUtils.js +51 -54
  137. package/common/utils/mapUtils.js.map +1 -1
  138. package/common/utils/singleValueUtils.js +30 -18
  139. package/common/utils/singleValueUtils.js.map +1 -1
  140. package/common/utils/testHelper.js +7 -36
  141. package/common/utils/testHelper.js.map +1 -1
  142. package/common/utils/trellisUtils.js +7 -6
  143. package/common/utils/trellisUtils.js.map +1 -1
  144. package/common/utils/urlUtils.js +2 -2
  145. package/common/utils/urlUtils.js.map +1 -1
  146. package/common/withDashboardViz.js +93 -101
  147. package/common/withDashboardViz.js.map +1 -1
  148. package/package.json +48 -50
  149. package/common/utils/layoutUtils.js +0 -115
  150. package/common/utils/layoutUtils.js.map +0 -1
@@ -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 = 79);
90
+ /******/ return __webpack_require__(__webpack_require__.s = 70);
91
91
  /******/ })
92
92
  /************************************************************************/
93
93
  /******/ ([
@@ -104,51 +104,12 @@ module.exports = require("@babel/runtime/helpers/toConsumableArray");
104
104
 
105
105
  /***/ }),
106
106
  /* 2 */
107
- /***/ (function(module, exports, __webpack_require__) {
108
-
109
- "use strict";
110
-
111
-
112
- Object.defineProperty(exports, "__esModule", {
113
- value: true
114
- });
115
- exports.VizBehavior = void 0;
116
- var VizBehavior;
117
-
118
- (function (VizBehavior) {
119
- /**
120
- * Dynamic Options Behavior.
121
- * This allows visualization options to be powered by data
122
- *
123
- * **Example**
124
- *
125
- * sparklineValues: ">primary|seriesByIndex(0)"
126
- * would configure sparklineValues with an array of data points
127
- * coming from the first series in the primary datasource
128
- *
129
- */
130
- VizBehavior["DYNAMIC_OPTIONS"] = "dynamic-options";
131
- VizBehavior["EVENTS"] = "events";
132
- VizBehavior["DOWNSAMPLING"] = "downsampling";
133
- /**
134
- * Placeholder behavior: visualization will display a placeholder rather than fail if any of the `requiredProps` is
135
- * missing.
136
- * @type {string}
137
- */
138
-
139
- VizBehavior["PLACEHOLDER"] = "placeholder";
140
- VizBehavior["PAGE_AND_SORT"] = "page-and-sort";
141
- VizBehavior["TRELLIS"] = "trellis";
142
- })(VizBehavior = exports.VizBehavior || (exports.VizBehavior = {}));
143
-
144
- /***/ }),
145
- /* 3 */
146
107
  /***/ (function(module, exports) {
147
108
 
148
- module.exports = require("@splunk/visualizations-shared/schemaUtils");
109
+ module.exports = require("@splunk/visualization-schemas");
149
110
 
150
111
  /***/ }),
151
- /* 4 */
112
+ /* 3 */
152
113
  /***/ (function(module, exports, __webpack_require__) {
153
114
 
154
115
  "use strict";
@@ -156,97 +117,22 @@ module.exports = require("@splunk/visualizations-shared/schemaUtils");
156
117
 
157
118
  var _toConsumableArray = __webpack_require__(1);
158
119
 
159
- var _defineProperty = __webpack_require__(7);
160
-
161
- var __rest = this && this.__rest || function (s, e) {
162
- var t = {};
163
-
164
- for (var p in s) {
165
- if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
166
- }
167
-
168
- if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
169
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
170
- }
171
- return t;
172
- };
173
-
174
120
  Object.defineProperty(exports, "__esModule", {
175
121
  value: true
176
122
  });
177
- exports.insertLayout = exports.isDynamicOption = exports.uncollapseEditorConfig = exports.generatePrecisionValues = exports.getInitialPreset = exports.enhanceOptionsSchemaWithDynamicOptions = exports.enhanceConfig = void 0;
178
-
179
- var lodash_1 = __webpack_require__(6);
180
-
181
- var schemaUtils_1 = __webpack_require__(3);
123
+ exports.insertLayout = exports.isDynamicOption = exports.uncollapseEditorConfig = exports.generatePrecisionValues = exports.getInitialPreset = exports.enhanceConfig = exports.enhanceOptionsSchemaWithDynamicOptions = void 0;
182
124
 
183
- var VizBehavior_1 = __webpack_require__(2);
125
+ var lodash_1 = __webpack_require__(5); // included for backwards compatibility
184
126
 
185
- var dynamicOptionsDSLType = {
186
- type: 'string',
187
- pattern: schemaUtils_1.DYNAMIC_OPTIONS_DSL_PATTERN
188
- };
189
- /**
190
- * Helper function to extend an options schema with dynamic options DSL
191
- * @param optionsSchema a visualization's options schema
192
- * @returns an updated options schema that additionally allows strings starting with > for each option
193
- */
194
-
195
- function enhanceOptionsSchemaWithDynamicOptions(optionsSchema) {
196
- var enhancedOptionsSchema = {};
197
- Object.keys(optionsSchema).forEach(function (key) {
198
- var _a = optionsSchema[key],
199
- title = _a.title,
200
- description = _a.description,
201
- readOnly = _a.readOnly,
202
- writeOnly = _a.writeOnly,
203
- examples = _a.examples,
204
- defaultValue = _a.default,
205
- type = _a.type,
206
- properties = _a.properties,
207
- patternProperties = _a.patternProperties,
208
- remainingSchemaEntry = __rest(_a, ["title", "description", "readOnly", "writeOnly", "examples", "default", "type", "properties", "patternProperties"]);
209
-
210
- var annotations = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, title !== undefined && {
211
- title: title
212
- }), description !== undefined && {
213
- description: description
214
- }), readOnly !== undefined && {
215
- readOnly: readOnly
216
- }), writeOnly !== undefined && {
217
- writeOnly: writeOnly
218
- }), examples !== undefined && {
219
- examples: examples
220
- }), defaultValue !== undefined && {
221
- default: defaultValue
222
- });
223
127
 
224
- if (type === 'object') {
225
- enhancedOptionsSchema[key] = Object.assign(Object.assign(Object.assign(Object.assign({}, remainingSchemaEntry), annotations), {
226
- type: type
227
- }), properties && {
228
- properties: enhanceOptionsSchemaWithDynamicOptions(properties)
229
- });
230
-
231
- if (patternProperties) {
232
- var enhancedPatternProperties = {};
233
- Object.keys(patternProperties).forEach(function (opt) {
234
- enhancedPatternProperties = Object.assign(Object.assign({}, enhancedPatternProperties), enhanceOptionsSchemaWithDynamicOptions(_defineProperty({}, opt, patternProperties[opt])));
235
- });
236
- enhancedOptionsSchema[key].patternProperties = enhancedPatternProperties;
237
- }
238
- } else {
239
- enhancedOptionsSchema[key] = Object.assign(Object.assign({}, annotations), {
240
- anyOf: [Object.assign(Object.assign({}, type !== undefined && {
241
- type: type
242
- }), remainingSchemaEntry), dynamicOptionsDSLType]
243
- });
244
- }
245
- });
246
- return enhancedOptionsSchema;
247
- }
128
+ var visualization_schemas_1 = __webpack_require__(2);
248
129
 
249
- exports.enhanceOptionsSchemaWithDynamicOptions = enhanceOptionsSchemaWithDynamicOptions;
130
+ Object.defineProperty(exports, "enhanceOptionsSchemaWithDynamicOptions", {
131
+ enumerable: true,
132
+ get: function get() {
133
+ return visualization_schemas_1.enhanceOptionsSchemaWithDynamicOptions;
134
+ }
135
+ });
250
136
  /**
251
137
  * Helper function to enhance a Visualization Config as needed based on behaviors specified in supports block
252
138
  * this function also collapse all editor panels
@@ -257,11 +143,6 @@ exports.enhanceOptionsSchemaWithDynamicOptions = enhanceOptionsSchemaWithDynamic
257
143
 
258
144
  function enhanceConfig(vizConfig) {
259
145
  var enhancedConfig = Object.assign({}, vizConfig);
260
-
261
- if (vizConfig.supports.indexOf(VizBehavior_1.VizBehavior.DYNAMIC_OPTIONS) !== -1) {
262
- enhancedConfig.optionsSchema = enhanceOptionsSchemaWithDynamicOptions(vizConfig.optionsSchema);
263
- }
264
-
265
146
  enhancedConfig.editorConfig = vizConfig.editorConfig.map(function (config) {
266
147
  return Object.assign(Object.assign({}, config), {
267
148
  open: config.open || false
@@ -384,25 +265,58 @@ var insertLayout = function insertLayout(layout, index) {
384
265
  exports.insertLayout = insertLayout;
385
266
 
386
267
  /***/ }),
387
- /* 5 */
268
+ /* 4 */
388
269
  /***/ (function(module, exports) {
389
270
 
390
271
  module.exports = require("@splunk/visualizations-shared/configUtils");
391
272
 
392
273
  /***/ }),
393
- /* 6 */
274
+ /* 5 */
394
275
  /***/ (function(module, exports) {
395
276
 
396
277
  module.exports = require("lodash");
397
278
 
398
279
  /***/ }),
399
- /* 7 */
400
- /***/ (function(module, exports) {
280
+ /* 6 */
281
+ /***/ (function(module, exports, __webpack_require__) {
401
282
 
402
- module.exports = require("@babel/runtime/helpers/defineProperty");
283
+ "use strict";
284
+
285
+
286
+ Object.defineProperty(exports, "__esModule", {
287
+ value: true
288
+ });
289
+ exports.VizBehavior = void 0;
290
+ var VizBehavior;
291
+
292
+ (function (VizBehavior) {
293
+ /**
294
+ * Dynamic Options Behavior.
295
+ * This allows visualization options to be powered by data
296
+ *
297
+ * **Example**
298
+ *
299
+ * sparklineValues: ">primary|seriesByIndex(0)"
300
+ * would configure sparklineValues with an array of data points
301
+ * coming from the first series in the primary datasource
302
+ *
303
+ */
304
+ VizBehavior["DYNAMIC_OPTIONS"] = "dynamic-options";
305
+ VizBehavior["EVENTS"] = "events";
306
+ VizBehavior["DOWNSAMPLING"] = "downsampling";
307
+ /**
308
+ * Placeholder behavior: visualization will display a placeholder rather than fail if any of the `requiredProps` is
309
+ * missing.
310
+ * @type {string}
311
+ */
312
+
313
+ VizBehavior["PLACEHOLDER"] = "placeholder";
314
+ VizBehavior["PAGE_AND_SORT"] = "page-and-sort";
315
+ VizBehavior["TRELLIS"] = "trellis";
316
+ })(VizBehavior = exports.VizBehavior || (exports.VizBehavior = {}));
403
317
 
404
318
  /***/ }),
405
- /* 8 */
319
+ /* 7 */
406
320
  /***/ (function(module, exports, __webpack_require__) {
407
321
 
408
322
  "use strict";
@@ -430,38 +344,39 @@ var VizCategory;
430
344
  })(VizCategory = exports.VizCategory || (exports.VizCategory = {}));
431
345
 
432
346
  /***/ }),
433
- /* 9 */
347
+ /* 8 */
434
348
  /***/ (function(module, exports) {
435
349
 
436
350
  module.exports = require("@splunk/themes/pick");
437
351
 
438
352
  /***/ }),
439
- /* 10 */
353
+ /* 9 */
440
354
  /***/ (function(module, exports) {
441
355
 
442
356
  module.exports = require("@splunk/themes/variables");
443
357
 
444
358
  /***/ }),
445
- /* 11 */
359
+ /* 10 */
446
360
  /***/ (function(module, exports) {
447
361
 
448
362
  module.exports = require("@splunk/visualization-icons/placeholders");
449
363
 
450
364
  /***/ }),
451
- /* 12 */
365
+ /* 11 */
452
366
  /***/ (function(module, exports) {
453
367
 
454
368
  module.exports = require("@splunk/visualization-icons");
455
369
 
456
370
  /***/ }),
457
- /* 13 */,
458
- /* 14 */,
459
- /* 15 */
371
+ /* 12 */,
372
+ /* 13 */
460
373
  /***/ (function(module, exports) {
461
374
 
462
375
  module.exports = require("@splunk/visualization-color-palettes/editors/PresetPalettes");
463
376
 
464
377
  /***/ }),
378
+ /* 14 */,
379
+ /* 15 */,
465
380
  /* 16 */,
466
381
  /* 17 */,
467
382
  /* 18 */,
@@ -469,38 +384,18 @@ module.exports = require("@splunk/visualization-color-palettes/editors/PresetPal
469
384
  /* 20 */,
470
385
  /* 21 */,
471
386
  /* 22 */
472
- /***/ (function(module, exports, __webpack_require__) {
473
-
474
- "use strict";
475
-
476
-
477
- Object.defineProperty(exports, "__esModule", {
478
- value: true
479
- });
480
- exports.LAYOUT_TYPE = void 0;
481
- var LAYOUT_TYPE;
482
-
483
- (function (LAYOUT_TYPE) {
484
- LAYOUT_TYPE["Off"] = "off";
485
- LAYOUT_TYPE["Trellis"] = "trellis";
486
- })(LAYOUT_TYPE = exports.LAYOUT_TYPE || (exports.LAYOUT_TYPE = {}));
487
-
488
- /***/ }),
489
- /* 23 */,
490
- /* 24 */,
491
- /* 25 */
492
387
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
493
388
 
494
389
  "use strict";
495
390
  __webpack_require__.r(__webpack_exports__);
496
391
  /* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
497
392
  /* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__);
498
- /* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5);
393
+ /* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4);
499
394
  /* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__);
500
395
 
501
396
 
502
397
  var StaticBackgroundColorEditor = {
503
- label: Object(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__["_"])('Background'),
398
+ label: Object(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__["_"])('Background color'),
504
399
  option: 'backgroundColor',
505
400
  editor: 'editor.color',
506
401
  showEditor: function showEditor(_ref) {
@@ -511,8 +406,8 @@ var StaticBackgroundColorEditor = {
511
406
  /* harmony default export */ __webpack_exports__["default"] = (StaticBackgroundColorEditor);
512
407
 
513
408
  /***/ }),
514
- /* 26 */,
515
- /* 27 */
409
+ /* 23 */,
410
+ /* 24 */
516
411
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
517
412
 
518
413
  "use strict";
@@ -520,7 +415,7 @@ __webpack_require__.r(__webpack_exports__);
520
415
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getDynamicTrendColorEditor", function() { return getDynamicTrendColorEditor; });
521
416
  /* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
522
417
  /* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__);
523
- /* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5);
418
+ /* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4);
524
419
  /* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__);
525
420
 
526
421
 
@@ -556,7 +451,7 @@ var getDynamicTrendColorEditor = function getDynamicTrendColorEditor(_ref) {
556
451
  };
557
452
 
558
453
  /***/ }),
559
- /* 28 */
454
+ /* 25 */
560
455
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
561
456
 
562
457
  "use strict";
@@ -564,7 +459,7 @@ __webpack_require__.r(__webpack_exports__);
564
459
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getDynamicBackgroundColorEditor", function() { return getDynamicBackgroundColorEditor; });
565
460
  /* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
566
461
  /* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__);
567
- /* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5);
462
+ /* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4);
568
463
  /* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__);
569
464
 
570
465
 
@@ -572,7 +467,7 @@ var getDynamicBackgroundColorEditor = function getDynamicBackgroundColorEditor(_
572
467
  var defaultContext = _ref.defaultContext,
573
468
  defaultPalettesConfig = _ref.defaultPalettesConfig;
574
469
  return {
575
- label: Object(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__["_"])('Background'),
470
+ label: Object(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__["_"])('Background color'),
576
471
  option: 'backgroundColor',
577
472
  context: 'backgroundColorEditorConfig',
578
473
  editor: 'editor.dynamicColor',
@@ -610,7 +505,7 @@ var getDynamicBackgroundColorEditor = function getDynamicBackgroundColorEditor(_
610
505
  };
611
506
 
612
507
  /***/ }),
613
- /* 29 */
508
+ /* 26 */
614
509
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
615
510
 
616
511
  "use strict";
@@ -660,14 +555,14 @@ var StaticMajorAndTrendLayout = [[{
660
555
  /* harmony default export */ __webpack_exports__["default"] = (StaticMajorAndTrendLayout);
661
556
 
662
557
  /***/ }),
663
- /* 30 */
558
+ /* 27 */
664
559
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
665
560
 
666
561
  "use strict";
667
562
  __webpack_require__.r(__webpack_exports__);
668
563
  /* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
669
564
  /* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__);
670
- /* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5);
565
+ /* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4);
671
566
  /* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__);
672
567
 
673
568
 
@@ -683,14 +578,14 @@ var StaticMajorColorEditor = {
683
578
  /* harmony default export */ __webpack_exports__["default"] = (StaticMajorColorEditor);
684
579
 
685
580
  /***/ }),
686
- /* 31 */
581
+ /* 28 */
687
582
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
688
583
 
689
584
  "use strict";
690
585
  __webpack_require__.r(__webpack_exports__);
691
586
  /* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
692
587
  /* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__);
693
- /* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5);
588
+ /* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4);
694
589
  /* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__);
695
590
 
696
591
 
@@ -710,7 +605,7 @@ var StaticTrendColorEditor = {
710
605
  /* harmony default export */ __webpack_exports__["default"] = (StaticTrendColorEditor);
711
606
 
712
607
  /***/ }),
713
- /* 32 */
608
+ /* 29 */
714
609
  /***/ (function(module, exports, __webpack_require__) {
715
610
 
716
611
  "use strict";
@@ -721,13 +616,13 @@ Object.defineProperty(exports, "__esModule", {
721
616
  });
722
617
  exports.TrellisBackgroundColorEditor = exports.TrellisEditorConfig = void 0;
723
618
 
724
- var React = __webpack_require__(33);
619
+ var React = __webpack_require__(30);
725
620
 
726
621
  var i18n_1 = __webpack_require__(0);
727
622
 
728
- var FeatureFlagContext_1 = __webpack_require__(34);
623
+ var FeatureFlagContext_1 = __webpack_require__(31);
729
624
 
730
- var layoutUtils_1 = __webpack_require__(22);
625
+ var visualization_schemas_1 = __webpack_require__(2);
731
626
  /* eslint-disable react-hooks/rules-of-hooks */
732
627
 
733
628
 
@@ -751,7 +646,7 @@ exports.TrellisEditorConfig = [[{
751
646
  var options = _ref.options;
752
647
  var featureFlagContext = React.useContext(FeatureFlagContext_1.default);
753
648
  var isTrellisFeatureFlagOn = Boolean(featureFlagContext && featureFlagContext.visualizations_enableTrellis);
754
- return isTrellisFeatureFlagOn && options.splitByLayout === layoutUtils_1.LAYOUT_TYPE.Trellis;
649
+ return isTrellisFeatureFlagOn && options.splitByLayout === visualization_schemas_1.LAYOUT_TYPE.Trellis;
755
650
  }
756
651
  }], [{
757
652
  label: (0, i18n_1._)('Number of columns'),
@@ -765,7 +660,7 @@ exports.TrellisEditorConfig = [[{
765
660
  var options = _ref2.options;
766
661
  var featureFlagContext = React.useContext(FeatureFlagContext_1.default);
767
662
  var isTrellisFeatureFlagOn = Boolean(featureFlagContext && featureFlagContext.visualizations_enableTrellis);
768
- return isTrellisFeatureFlagOn && options.splitByLayout === layoutUtils_1.LAYOUT_TYPE.Trellis;
663
+ return isTrellisFeatureFlagOn && options.splitByLayout === visualization_schemas_1.LAYOUT_TYPE.Trellis;
769
664
  }
770
665
  }], [{
771
666
  label: (0, i18n_1._)('Min column width'),
@@ -778,7 +673,7 @@ exports.TrellisEditorConfig = [[{
778
673
  var options = _ref3.options;
779
674
  var featureFlagContext = React.useContext(FeatureFlagContext_1.default);
780
675
  var isTrellisFeatureFlagOn = Boolean(featureFlagContext && featureFlagContext.visualizations_enableTrellis);
781
- return isTrellisFeatureFlagOn && options.splitByLayout === layoutUtils_1.LAYOUT_TYPE.Trellis;
676
+ return isTrellisFeatureFlagOn && options.splitByLayout === visualization_schemas_1.LAYOUT_TYPE.Trellis;
782
677
  }
783
678
  }, {
784
679
  label: (0, i18n_1._)('Row height'),
@@ -791,7 +686,7 @@ exports.TrellisEditorConfig = [[{
791
686
  var options = _ref4.options;
792
687
  var featureFlagContext = React.useContext(FeatureFlagContext_1.default);
793
688
  var isTrellisFeatureFlagOn = Boolean(featureFlagContext && featureFlagContext.visualizations_enableTrellis);
794
- return isTrellisFeatureFlagOn && options.splitByLayout === layoutUtils_1.LAYOUT_TYPE.Trellis;
689
+ return isTrellisFeatureFlagOn && options.splitByLayout === visualization_schemas_1.LAYOUT_TYPE.Trellis;
795
690
  }
796
691
  }], [{
797
692
  label: (0, i18n_1._)('Max number of components per page'),
@@ -804,7 +699,7 @@ exports.TrellisEditorConfig = [[{
804
699
  var options = _ref5.options;
805
700
  var featureFlagContext = React.useContext(FeatureFlagContext_1.default);
806
701
  var isTrellisFeatureFlagOn = Boolean(featureFlagContext && featureFlagContext.visualizations_enableTrellis);
807
- return isTrellisFeatureFlagOn && options.splitByLayout === layoutUtils_1.LAYOUT_TYPE.Trellis;
702
+ return isTrellisFeatureFlagOn && options.splitByLayout === visualization_schemas_1.LAYOUT_TYPE.Trellis;
808
703
  }
809
704
  }]];
810
705
  exports.TrellisBackgroundColorEditor = {
@@ -815,23 +710,26 @@ exports.TrellisBackgroundColorEditor = {
815
710
  var options = _ref6.options;
816
711
  var featureFlagContext = React.useContext(FeatureFlagContext_1.default);
817
712
  var isTrellisFeatureFlagOn = Boolean(featureFlagContext && featureFlagContext.visualizations_enableTrellis);
818
- return isTrellisFeatureFlagOn && options.splitByLayout === layoutUtils_1.LAYOUT_TYPE.Trellis;
713
+ return isTrellisFeatureFlagOn && options.splitByLayout === visualization_schemas_1.LAYOUT_TYPE.Trellis;
819
714
  }
820
715
  };
821
716
 
822
717
  /***/ }),
823
- /* 33 */
718
+ /* 30 */
824
719
  /***/ (function(module, exports) {
825
720
 
826
721
  module.exports = require("react");
827
722
 
828
723
  /***/ }),
829
- /* 34 */
724
+ /* 31 */
830
725
  /***/ (function(module, exports) {
831
726
 
832
727
  module.exports = require("@splunk/visualization-context/FeatureFlagContext");
833
728
 
834
729
  /***/ }),
730
+ /* 32 */,
731
+ /* 33 */,
732
+ /* 34 */,
835
733
  /* 35 */,
836
734
  /* 36 */,
837
735
  /* 37 */,
@@ -867,16 +765,7 @@ module.exports = require("@splunk/visualization-context/FeatureFlagContext");
867
765
  /* 67 */,
868
766
  /* 68 */,
869
767
  /* 69 */,
870
- /* 70 */,
871
- /* 71 */,
872
- /* 72 */,
873
- /* 73 */,
874
- /* 74 */,
875
- /* 75 */,
876
- /* 76 */,
877
- /* 77 */,
878
- /* 78 */,
879
- /* 79 */
768
+ /* 70 */
880
769
  /***/ (function(module, exports, __webpack_require__) {
881
770
 
882
771
  "use strict";
@@ -890,45 +779,43 @@ Object.defineProperty(exports, "__esModule", {
890
779
 
891
780
  var i18n_1 = __webpack_require__(0);
892
781
 
893
- var schemaUtils_1 = __webpack_require__(3);
894
-
895
- var pick_1 = __webpack_require__(9);
782
+ var visualization_schemas_1 = __webpack_require__(2);
896
783
 
897
- var variables_1 = __webpack_require__(10);
784
+ var pick_1 = __webpack_require__(8);
898
785
 
899
- var PresetPalettes_1 = __webpack_require__(15);
786
+ var variables_1 = __webpack_require__(9);
900
787
 
901
- var visualization_icons_1 = __webpack_require__(12);
788
+ var PresetPalettes_1 = __webpack_require__(13);
902
789
 
903
- var placeholders_1 = __webpack_require__(11);
790
+ var visualization_icons_1 = __webpack_require__(11);
904
791
 
905
- var configUtils_1 = __webpack_require__(5);
792
+ var placeholders_1 = __webpack_require__(10);
906
793
 
907
- var StaticMajorAndTrendLayout_1 = __webpack_require__(29);
794
+ var configUtils_1 = __webpack_require__(4);
908
795
 
909
- var VizBehavior_1 = __webpack_require__(2);
796
+ var StaticMajorAndTrendLayout_1 = __webpack_require__(26);
910
797
 
911
- var configUtils_2 = __webpack_require__(4);
798
+ var VizBehavior_1 = __webpack_require__(6);
912
799
 
913
- var VizCategory_1 = __webpack_require__(8);
800
+ var configUtils_2 = __webpack_require__(3);
914
801
 
915
- var DynamicMajorColorAndGaugeEditor_1 = __webpack_require__(80);
802
+ var VizCategory_1 = __webpack_require__(7);
916
803
 
917
- var DynamicTrendColorEditor_1 = __webpack_require__(27);
804
+ var DynamicMajorColorAndGaugeEditor_1 = __webpack_require__(71);
918
805
 
919
- var DynamicBackgroundColorEditor_1 = __webpack_require__(28);
806
+ var DynamicTrendColorEditor_1 = __webpack_require__(24);
920
807
 
921
- var StaticMajorColorEditor_1 = __webpack_require__(30);
808
+ var DynamicBackgroundColorEditor_1 = __webpack_require__(25);
922
809
 
923
- var StaticTrendColorEditor_1 = __webpack_require__(31);
810
+ var StaticMajorColorEditor_1 = __webpack_require__(27);
924
811
 
925
- var StaticBackgroundColorEditor_1 = __webpack_require__(25);
812
+ var StaticTrendColorEditor_1 = __webpack_require__(28);
926
813
 
927
- var RadialBackgroundColor_1 = __webpack_require__(81);
814
+ var StaticBackgroundColorEditor_1 = __webpack_require__(22);
928
815
 
929
- var TrellisEditors_1 = __webpack_require__(32);
816
+ var RadialBackgroundColor_1 = __webpack_require__(72);
930
817
 
931
- var layoutUtils_1 = __webpack_require__(22);
818
+ var TrellisEditors_1 = __webpack_require__(29);
932
819
 
933
820
  var dataContract = {
934
821
  requiredDataSources: [{
@@ -979,165 +866,6 @@ var defaultContext = {
979
866
  value: '#1C6B2D'
980
867
  }]
981
868
  };
982
- var optionsSchema = {
983
- backgroundColor: {
984
- default: '> themes.defaultBackgroundColor',
985
- description: 'Specify the color for the background. The hex value format should be “#ffffff”. The default for enterprise light is "#ffffff". The default for enterprise dark is "#000000". The default for prisma dark is "#0b0c0e".',
986
- pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
987
- type: 'string'
988
- },
989
- gaugeRanges: {
990
- default: '> majorColorEditorConfig',
991
- description: 'Specify the overall range of the gauge as a series of continuous, color-coded subranges. For example, [{"to": 20, "value": "#4BEBA8"}, {"from": 20, "to": 50, "value": "#D41F1F"}, {"from": 50, "value": "#F4DF7A"}]. Must be unbounded, open ranges. Ranges are bound by a separate minValue/maxValue option. Only configured if isGaugeOn is true.',
992
- type: 'array',
993
- items: {
994
- type: 'object',
995
- properties: {
996
- from: {
997
- type: 'number'
998
- },
999
- to: {
1000
- type: 'number'
1001
- },
1002
- value: {
1003
- type: 'string',
1004
- pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA
1005
- }
1006
- }
1007
- }
1008
- },
1009
- isGaugeOn: {
1010
- default: false,
1011
- description: 'Specify if gauge is on.',
1012
- type: 'boolean'
1013
- },
1014
- majorColor: {
1015
- default: '> themes.defaultFontColor',
1016
- description: 'Specify the color for the major value. You may use a dataSource to apply the color. The hex value format should be “#ffffff”. The default for enterprise light is "#000000". The default for enterprise dark is "#ffffff". The default for prisma dark is "rgba(255, 255, 255, 0.98)".',
1017
- pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
1018
- type: 'string'
1019
- },
1020
- majorValue: {
1021
- default: '> primary | seriesByPrioritizedTypes("number", "string", "time") | lastPoint()',
1022
- description: 'Specify the dataSource applied to the major value.',
1023
- type: ['string', 'number']
1024
- },
1025
- majorValueField: {
1026
- default: '> majorValue | getField()',
1027
- description: 'Specify the field that should be mapped to the major value.',
1028
- type: 'string'
1029
- },
1030
- minValue: {
1031
- default: 0,
1032
- description: 'Specify the min value of the radial.',
1033
- type: 'number'
1034
- },
1035
- maxValue: {
1036
- default: 100,
1037
- description: 'Specify the value the radial fills up to.',
1038
- type: 'number'
1039
- },
1040
- numberPrecision: {
1041
- default: 0,
1042
- maximum: 20,
1043
- minimum: 0,
1044
- description: 'Specify the number of decimal places to display. For example, to display 3 decimal places, use a value of 3. Values can range from 0 to 20.',
1045
- type: 'number'
1046
- },
1047
- radialBackgroundColor: {
1048
- default: '> themes.defaultRadialBackgroundColor',
1049
- description: 'Specify the color for the radial background. The hex value format should be “#ffffff”. The default for enterprise light is "rgba(0, 0, 0, 0.1)". The default for enterprise dark is "rgba(255, 255, 255, 0.15)". The default for prisma dark is "rgba(255, 255, 255, 0.15)".',
1050
- pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
1051
- type: 'string'
1052
- },
1053
- radialStrokeColor: {
1054
- default: '> majorColor',
1055
- description: 'Specify the color for the radial. You may use a dataSource to apply the color. The hex value format should be “#ffffff”. The default for enterprise light is "#000000". The default for enterprise dark is "#ffffff". The default for prisma dark is "rgba(255, 255, 255, 0.98)".',
1056
- pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
1057
- type: 'string'
1058
- },
1059
- shouldAbbreviateTrendValue: {
1060
- default: false,
1061
- description: 'Specify whether to abbreviate the trend value to 2 decimal points. A magnitude unit will be displayed.',
1062
- type: 'boolean'
1063
- },
1064
- shouldUseThousandSeparators: {
1065
- default: true,
1066
- description: 'Specify whether numeric values use commas as thousandths separaters.',
1067
- type: 'boolean'
1068
- },
1069
- splitByLayout: {
1070
- default: 'off',
1071
- description: 'Specify the layout method by which to display the visualization, which splits the data into individual visualizations based on a certain category.',
1072
- type: 'string',
1073
- pattern: (0, schemaUtils_1.getPattern)([layoutUtils_1.LAYOUT_TYPE.Off, layoutUtils_1.LAYOUT_TYPE.Trellis]),
1074
- enum: [layoutUtils_1.LAYOUT_TYPE.Off, layoutUtils_1.LAYOUT_TYPE.Trellis]
1075
- },
1076
- trendColor: {
1077
- default: '> themes.defaultFontColor',
1078
- description: 'Specify the color for the trend value. You may use a dataSource to apply the color. The hex value format should be “#FFFFFF”. The default for enterprise light is "#000000". The default for enterprise dark is "#ffffff". The default for prisma dark is "rgba(255, 255, 255, 0.98)".',
1079
- pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
1080
- type: 'string'
1081
- },
1082
- trendDisplay: {
1083
- default: 'absolute',
1084
- description: 'Specify how to display the trend value.',
1085
- pattern: (0, schemaUtils_1.getPattern)(['percent', 'absolute', 'off']),
1086
- type: 'string'
1087
- },
1088
- trendValue: {
1089
- default: '> primary | seriesByPrioritizedTypes("number", "string", "time") | delta(-2)',
1090
- description: 'Specify the dataSource applied to the trend value.',
1091
- type: 'number'
1092
- },
1093
- trellisBackgroundColor: {
1094
- default: '> themes.defaultBackgroundColor',
1095
- description: 'Specify the color used for the trellis container background by using a hexadecimal code. For example, #0000FF.',
1096
- pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
1097
- type: 'string'
1098
- },
1099
- trellisColumns: {
1100
- description: 'Specify the number of visualizations to display in a given row of the trellis container. The remaining visualizations will wrap accordingly. If nothing is specified, it will be auto-set based on the trellisMinColumnWidth. The minimum value is 1.',
1101
- type: 'number',
1102
- minimum: 1
1103
- },
1104
- trellisMinColumnWidth: {
1105
- default: 100,
1106
- minimum: 1,
1107
- description: 'Specify the minimum width, in pixels, of each visualization in the trellis container. If the window or panel is resized, the remaining visualizations may be viewed by scrolling. The minimum value is 1.',
1108
- type: 'number'
1109
- },
1110
- trellisPageCount: {
1111
- default: 20,
1112
- minimum: 1,
1113
- description: 'Specify the maximum number of visualizations to display in a single page in the trellis container. The remaining visualizations will paginate accordingly. The minimum value is 1.',
1114
- type: 'number'
1115
- },
1116
- trellisRowHeight: {
1117
- default: 70,
1118
- minimum: 1,
1119
- description: 'Specify the height, in pixels, of each visualization in the trellis container. If the window or panel is resized, the remaining visualizations may be viewed by scrolling. The minimum value is 1.',
1120
- type: 'number'
1121
- },
1122
- trellisSplitBy: {
1123
- description: 'Specify the field name of the column with categories used, or “aggregations”, to split the data into individual visualizations for trellis display, if applicable. If a SPL `timechart` command is used, this may default to the SPL `by` clause field. If a SPL `chart` command is used, this may default to the first string field.',
1124
- type: 'string'
1125
- },
1126
- underLabel: {
1127
- description: 'Specify the text that appears below the major value.',
1128
- type: 'string'
1129
- },
1130
- unit: {
1131
- description: 'Specify text to show next to the major value.',
1132
- type: 'string'
1133
- },
1134
- unitPosition: {
1135
- default: 'after',
1136
- description: 'Specify whether the unit text should appear before or after the major value.',
1137
- pattern: (0, schemaUtils_1.getPattern)(['before', 'after']),
1138
- type: 'string'
1139
- }
1140
- };
1141
869
  var basePresetContext = {
1142
870
  majorColorEditorConfig: undefined,
1143
871
  trendColorEditorConfig: undefined,
@@ -1254,7 +982,7 @@ var editorConfig = [{
1254
982
  },
1255
983
  isDisabled: function isDisabled(_ref) {
1256
984
  var options = _ref.options;
1257
- return options.splitByLayout === layoutUtils_1.LAYOUT_TYPE.Trellis;
985
+ return options.splitByLayout === visualization_schemas_1.LAYOUT_TYPE.Trellis;
1258
986
  }
1259
987
  }]]
1260
988
  }, {
@@ -1317,7 +1045,15 @@ var editorConfig = [{
1317
1045
  })], [(0, DynamicTrendColorEditor_1.getDynamicTrendColorEditor)({
1318
1046
  defaultContext: defaultContext,
1319
1047
  defaultPalettesConfig: PresetPalettes_1.defaultPalettesConfig
1320
- })], (0, RadialBackgroundColor_1.default)({
1048
+ })], [{
1049
+ label: (0, i18n_1._)('Major value abbreviation'),
1050
+ option: 'shouldAbbreviateMajorValue',
1051
+ editor: 'editor.checkbox'
1052
+ }], [{
1053
+ label: (0, i18n_1._)('Trend value abbreviation'),
1054
+ option: 'shouldAbbreviateTrendValue',
1055
+ editor: 'editor.checkbox'
1056
+ }], (0, RadialBackgroundColor_1.default)({
1321
1057
  themes: themes
1322
1058
  }), [Object.assign(Object.assign({}, StaticBackgroundColorEditor_1.default), {
1323
1059
  editorProps: {
@@ -1364,7 +1100,7 @@ var config = {
1364
1100
  dataContract: dataContract,
1365
1101
  size: size,
1366
1102
  defaultContext: defaultContext,
1367
- optionsSchema: optionsSchema,
1103
+ optionsSchema: visualization_schemas_1.singleValueRadialOptionsSchema,
1368
1104
  editorConfig: editorConfig,
1369
1105
  events: {
1370
1106
  'value.click': {
@@ -1378,7 +1114,7 @@ var config = {
1378
1114
  exports.default = (0, configUtils_2.enhanceConfig)(config);
1379
1115
 
1380
1116
  /***/ }),
1381
- /* 80 */
1117
+ /* 71 */
1382
1118
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1383
1119
 
1384
1120
  "use strict";
@@ -1386,7 +1122,7 @@ __webpack_require__.r(__webpack_exports__);
1386
1122
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getDynamicMajorColorAndGaugeEditor", function() { return getDynamicMajorColorAndGaugeEditor; });
1387
1123
  /* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
1388
1124
  /* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__);
1389
- /* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5);
1125
+ /* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4);
1390
1126
  /* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__);
1391
1127
 
1392
1128
 
@@ -1422,7 +1158,7 @@ var getDynamicMajorColorAndGaugeEditor = function getDynamicMajorColorAndGaugeEd
1422
1158
  };
1423
1159
 
1424
1160
  /***/ }),
1425
- /* 81 */
1161
+ /* 72 */
1426
1162
  /***/ (function(module, exports, __webpack_require__) {
1427
1163
 
1428
1164
  "use strict";