@splunk/visualizations 25.0.1 → 25.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.
- package/.loki/reference/chrome_docker_PureVisualizations_PureMap_custom_base_layer_tile_server.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Area_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Bar_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Bubble_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_ChoroplethSvg_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Column_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Ellipse_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_FillerGauge_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Image_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Line_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_LinkGraph_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Map_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Markdown_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_MarkerGauge_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Parallel_Coordinates_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Pie_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Punchcard_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Rectangle_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Sankey_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Scatter_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Single_Value_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Single_Value_Icon_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Single_Value_Radial_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Table_Editor.png +0 -0
- package/Area.config.js +141 -152
- package/Area.config.js.map +1 -1
- package/Area.js +334 -431
- package/Area.js.map +1 -1
- package/Bar.config.js +143 -148
- package/Bar.config.js.map +1 -1
- package/Bar.js +336 -427
- package/Bar.js.map +1 -1
- package/Bubble.config.js +130 -117
- package/Bubble.config.js.map +1 -1
- package/Bubble.js +325 -398
- package/Bubble.js.map +1 -1
- package/ChoroplethSvg.config.js +86 -80
- package/ChoroplethSvg.config.js.map +1 -1
- package/ChoroplethSvg.js +305 -385
- package/ChoroplethSvg.js.map +1 -1
- package/Column.config.js +139 -146
- package/Column.config.js.map +1 -1
- package/Column.js +332 -425
- package/Column.js.map +1 -1
- package/Ellipse.config.js +86 -80
- package/Ellipse.config.js.map +1 -1
- package/Ellipse.js +288 -368
- package/Ellipse.js.map +1 -1
- package/FillerGauge.config.js +91 -85
- package/FillerGauge.config.js.map +1 -1
- package/FillerGauge.js +296 -376
- package/FillerGauge.js.map +1 -1
- package/Image.config.js +74 -74
- package/Image.config.js.map +1 -1
- package/Image.js +710 -798
- package/Image.js.map +1 -1
- package/Line.config.js +139 -137
- package/Line.config.js.map +1 -1
- package/Line.js +332 -416
- package/Line.js.map +1 -1
- package/LinkGraph.config.js +112 -112
- package/LinkGraph.config.js.map +1 -1
- package/LinkGraph.js +320 -405
- package/LinkGraph.js.map +1 -1
- package/Map.config.js +101 -95
- package/Map.config.js.map +1 -1
- package/Map.js +472 -518
- package/Map.js.map +1 -1
- package/Markdown.config.js +113 -113
- package/Markdown.config.js.map +1 -1
- package/Markdown.js +500 -574
- package/Markdown.js.map +1 -1
- package/MarkerGauge.config.js +192 -193
- package/MarkerGauge.config.js.map +1 -1
- package/MarkerGauge.js +1200 -1289
- package/MarkerGauge.js.map +1 -1
- package/ParallelCoordinates.config.js +138 -138
- package/ParallelCoordinates.config.js.map +1 -1
- package/ParallelCoordinates.js +292 -376
- package/ParallelCoordinates.js.map +1 -1
- package/Pie.config.js +133 -133
- package/Pie.config.js.map +1 -1
- package/Pie.js +496 -584
- package/Pie.js.map +1 -1
- package/Punchcard.config.js +139 -139
- package/Punchcard.config.js.map +1 -1
- package/Punchcard.js +315 -399
- package/Punchcard.js.map +1 -1
- package/Rectangle.config.js +267 -260
- package/Rectangle.config.js.map +1 -1
- package/Rectangle.js +499 -580
- package/Rectangle.js.map +1 -1
- package/Sankey.config.js +150 -143
- package/Sankey.config.js.map +1 -1
- package/Sankey.js +316 -390
- package/Sankey.js.map +1 -1
- package/Scatter.config.js +130 -117
- package/Scatter.config.js.map +1 -1
- package/Scatter.js +547 -623
- package/Scatter.js.map +1 -1
- package/SingleValue.config.js +119 -113
- package/SingleValue.config.js.map +1 -1
- package/SingleValue.js +523 -604
- package/SingleValue.js.map +1 -1
- package/SingleValueBasic.js +19 -19
- package/SingleValueBasic.js.map +1 -1
- package/SingleValueIcon.config.js +128 -120
- package/SingleValueIcon.config.js.map +1 -1
- package/SingleValueIcon.js +343 -420
- package/SingleValueIcon.js.map +1 -1
- package/SingleValueRadial.config.js +215 -178
- package/SingleValueRadial.config.js.map +1 -1
- package/SingleValueRadial.js +668 -749
- package/SingleValueRadial.js.map +1 -1
- package/Table.config.js +150 -151
- package/Table.config.js.map +1 -1
- package/Table.js +772 -854
- package/Table.js.map +1 -1
- package/common/Charting.js +11 -11
- package/common/Charting.js.map +1 -1
- package/common/ChartingApi.js +2 -2
- package/common/ChartingApi.js.map +1 -1
- package/common/EventsDoc.js +12 -12
- package/common/EventsDoc.js.map +1 -1
- package/common/GaugeMajorTicks.js +8 -8
- package/common/GaugeMajorTicks.js.map +1 -1
- package/common/GaugeValueMarker.js +8 -8
- package/common/GaugeValueMarker.js.map +1 -1
- package/common/OptionsDoc.js +51 -352
- package/common/OptionsDoc.js.map +1 -1
- package/common/OverviewDoc.js +22 -22
- package/common/OverviewDoc.js.map +1 -1
- package/common/SplunkVisualization.js +4 -4
- package/common/SplunkVisualization.js.map +1 -1
- package/common/SplunkVisualizationApi.js +2 -2
- package/common/SplunkVisualizationApi.js.map +1 -1
- package/common/ThemesDoc.js +19 -19
- package/common/ThemesDoc.js.map +1 -1
- package/common/chartingUtils.js +4 -4
- package/common/chartingUtils.js.map +1 -1
- package/common/docUtils.js +4 -4
- package/common/docUtils.js.map +1 -1
- package/common/gaugeUtils.js +13 -13
- package/common/gaugeUtils.js.map +1 -1
- package/common/shapeUtils.js +8 -8
- package/common/shapeUtils.js.map +1 -1
- package/common/utils/configUtils.js +17 -18
- package/common/utils/configUtils.js.map +1 -1
- package/common/utils/hocUtils.js +6 -86
- package/common/utils/hocUtils.js.map +1 -1
- package/common/utils/{JSONSchemaUtils.js → mapUtils.js} +89 -29
- package/common/utils/mapUtils.js.map +1 -0
- package/common/utils/singleValueUtils.js +14 -12
- package/common/utils/singleValueUtils.js.map +1 -1
- package/common/utils/testHelper.js +8 -8
- package/common/utils/testHelper.js.map +1 -1
- package/common/withDashboardViz.js +120 -207
- package/common/withDashboardViz.js.map +1 -1
- package/package.json +12 -12
- package/.loki/reference/chrome_docker_PureVisualizations_SvgChoroplethDynamic_SVG_Of_Size_Greater_Than_2_MB_Render.png +0 -0
- package/common/utils/JSONSchemaUtils.js.map +0 -1
package/Table.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 =
|
|
90
|
+
/******/ return __webpack_require__(__webpack_require__.s = 75);
|
|
91
91
|
/******/ })
|
|
92
92
|
/************************************************************************/
|
|
93
93
|
/******/ ({
|
|
@@ -100,14 +100,94 @@ module.exports = require("@splunk/ui-utils/i18n");
|
|
|
100
100
|
/***/ }),
|
|
101
101
|
|
|
102
102
|
/***/ 1:
|
|
103
|
+
/***/ (function(module, exports) {
|
|
104
|
+
|
|
105
|
+
module.exports = require("@babel/runtime/helpers/toConsumableArray");
|
|
106
|
+
|
|
107
|
+
/***/ }),
|
|
108
|
+
|
|
109
|
+
/***/ 10:
|
|
110
|
+
/***/ (function(module, exports) {
|
|
111
|
+
|
|
112
|
+
module.exports = require("@splunk/themes/variables");
|
|
113
|
+
|
|
114
|
+
/***/ }),
|
|
115
|
+
|
|
116
|
+
/***/ 11:
|
|
117
|
+
/***/ (function(module, exports) {
|
|
118
|
+
|
|
119
|
+
module.exports = require("@splunk/visualization-icons/placeholders");
|
|
120
|
+
|
|
121
|
+
/***/ }),
|
|
122
|
+
|
|
123
|
+
/***/ 12:
|
|
124
|
+
/***/ (function(module, exports) {
|
|
125
|
+
|
|
126
|
+
module.exports = require("@splunk/visualization-icons");
|
|
127
|
+
|
|
128
|
+
/***/ }),
|
|
129
|
+
|
|
130
|
+
/***/ 2:
|
|
131
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
132
|
+
|
|
133
|
+
"use strict";
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
Object.defineProperty(exports, "__esModule", {
|
|
137
|
+
value: true
|
|
138
|
+
});
|
|
139
|
+
exports.VizBehavior = void 0;
|
|
140
|
+
var VizBehavior;
|
|
141
|
+
|
|
142
|
+
(function (VizBehavior) {
|
|
143
|
+
/**
|
|
144
|
+
* Dynamic Options Behavior.
|
|
145
|
+
* This allows visualization options to be powered by data
|
|
146
|
+
*
|
|
147
|
+
* **Example**
|
|
148
|
+
*
|
|
149
|
+
* sparklineValues: ">primary|seriesByIndex(0)"
|
|
150
|
+
* would configure sparklineValues with an array of data points
|
|
151
|
+
* coming from the first series in the primary datasource
|
|
152
|
+
*
|
|
153
|
+
*/
|
|
154
|
+
VizBehavior["DYNAMIC_OPTIONS"] = "dynamic-options";
|
|
155
|
+
VizBehavior["EVENTS"] = "events";
|
|
156
|
+
/**
|
|
157
|
+
* Placeholder behavior: visualization will display a placeholder rather than fail if any of the `requiredProps` is
|
|
158
|
+
* missing.
|
|
159
|
+
* @type {string}
|
|
160
|
+
*/
|
|
161
|
+
|
|
162
|
+
VizBehavior["PLACEHOLDER"] = "placeholder";
|
|
163
|
+
VizBehavior["PAGE_AND_SORT"] = "page-and-sort";
|
|
164
|
+
})(VizBehavior = exports.VizBehavior || (exports.VizBehavior = {}));
|
|
165
|
+
|
|
166
|
+
/***/ }),
|
|
167
|
+
|
|
168
|
+
/***/ 25:
|
|
169
|
+
/***/ (function(module, exports) {
|
|
170
|
+
|
|
171
|
+
module.exports = require("@splunk/visualizations-shared/colorConstants");
|
|
172
|
+
|
|
173
|
+
/***/ }),
|
|
174
|
+
|
|
175
|
+
/***/ 3:
|
|
176
|
+
/***/ (function(module, exports) {
|
|
177
|
+
|
|
178
|
+
module.exports = require("@splunk/visualizations-shared/schemaUtils");
|
|
179
|
+
|
|
180
|
+
/***/ }),
|
|
181
|
+
|
|
182
|
+
/***/ 4:
|
|
103
183
|
/***/ (function(module, exports, __webpack_require__) {
|
|
104
184
|
|
|
105
185
|
"use strict";
|
|
106
186
|
|
|
107
187
|
|
|
108
|
-
var _toConsumableArray = __webpack_require__(
|
|
188
|
+
var _toConsumableArray = __webpack_require__(1);
|
|
109
189
|
|
|
110
|
-
var _defineProperty = __webpack_require__(
|
|
190
|
+
var _defineProperty = __webpack_require__(7);
|
|
111
191
|
|
|
112
192
|
var __rest = this && this.__rest || function (s, e) {
|
|
113
193
|
var t = {};
|
|
@@ -125,13 +205,13 @@ var __rest = this && this.__rest || function (s, e) {
|
|
|
125
205
|
Object.defineProperty(exports, "__esModule", {
|
|
126
206
|
value: true
|
|
127
207
|
});
|
|
128
|
-
exports.insertLayout = exports.
|
|
208
|
+
exports.insertLayout = exports.isDynamicOption = exports.uncollapseEditorConfig = exports.generatePrecisionValues = exports.getInitialPreset = exports.enhanceOptionsSchemaWithDynamicOptions = exports.enhanceConfig = void 0;
|
|
129
209
|
|
|
130
|
-
var lodash_1 = __webpack_require__(
|
|
210
|
+
var lodash_1 = __webpack_require__(6);
|
|
131
211
|
|
|
132
|
-
var schemaUtils_1 = __webpack_require__(
|
|
212
|
+
var schemaUtils_1 = __webpack_require__(3);
|
|
133
213
|
|
|
134
|
-
var VizBehavior_1 = __webpack_require__(
|
|
214
|
+
var VizBehavior_1 = __webpack_require__(2);
|
|
135
215
|
|
|
136
216
|
var dynamicOptionsDSLType = {
|
|
137
217
|
type: 'string',
|
|
@@ -336,129 +416,27 @@ exports.insertLayout = insertLayout;
|
|
|
336
416
|
|
|
337
417
|
/***/ }),
|
|
338
418
|
|
|
339
|
-
/***/
|
|
340
|
-
/***/ (function(module, exports) {
|
|
341
|
-
|
|
342
|
-
module.exports = require("@splunk/visualization-icons/placeholders");
|
|
343
|
-
|
|
344
|
-
/***/ }),
|
|
345
|
-
|
|
346
|
-
/***/ 11:
|
|
347
|
-
/***/ (function(module, exports) {
|
|
348
|
-
|
|
349
|
-
module.exports = require("@splunk/visualization-icons");
|
|
350
|
-
|
|
351
|
-
/***/ }),
|
|
352
|
-
|
|
353
|
-
/***/ 2:
|
|
354
|
-
/***/ (function(module, exports) {
|
|
355
|
-
|
|
356
|
-
module.exports = require("@babel/runtime/helpers/toConsumableArray");
|
|
357
|
-
|
|
358
|
-
/***/ }),
|
|
359
|
-
|
|
360
|
-
/***/ 24:
|
|
361
|
-
/***/ (function(module, exports) {
|
|
362
|
-
|
|
363
|
-
module.exports = require("@splunk/visualizations-shared/colorConstants");
|
|
364
|
-
|
|
365
|
-
/***/ }),
|
|
366
|
-
|
|
367
|
-
/***/ 3:
|
|
368
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
369
|
-
|
|
370
|
-
"use strict";
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
Object.defineProperty(exports, "__esModule", {
|
|
374
|
-
value: true
|
|
375
|
-
});
|
|
376
|
-
exports.VizBehavior = void 0;
|
|
377
|
-
var VizBehavior;
|
|
378
|
-
|
|
379
|
-
(function (VizBehavior) {
|
|
380
|
-
/**
|
|
381
|
-
* Dynamic Options Behavior.
|
|
382
|
-
* This allows visualization options to be powered by data
|
|
383
|
-
*
|
|
384
|
-
* **Example**
|
|
385
|
-
*
|
|
386
|
-
* sparklineValues: ">primary|seriesByIndex(0)"
|
|
387
|
-
* would configure sparklineValues with an array of data points
|
|
388
|
-
* coming from the first series in the primary datasource
|
|
389
|
-
*
|
|
390
|
-
*/
|
|
391
|
-
VizBehavior["DYNAMIC_OPTIONS"] = "dynamic-options";
|
|
392
|
-
VizBehavior["EVENTS"] = "events";
|
|
393
|
-
/**
|
|
394
|
-
* Placeholder behavior: visualization will display a placeholder rather than fail if any of the `requiredProps` is
|
|
395
|
-
* missing.
|
|
396
|
-
* @type {string}
|
|
397
|
-
*/
|
|
398
|
-
|
|
399
|
-
VizBehavior["PLACEHOLDER"] = "placeholder";
|
|
400
|
-
VizBehavior["PAGE_AND_SORT"] = "page-and-sort";
|
|
401
|
-
})(VizBehavior = exports.VizBehavior || (exports.VizBehavior = {}));
|
|
402
|
-
|
|
403
|
-
/***/ }),
|
|
404
|
-
|
|
405
|
-
/***/ 4:
|
|
406
|
-
/***/ (function(module, exports) {
|
|
407
|
-
|
|
408
|
-
module.exports = require("@splunk/visualizations-shared/schemaUtils");
|
|
409
|
-
|
|
410
|
-
/***/ }),
|
|
411
|
-
|
|
412
|
-
/***/ 5:
|
|
419
|
+
/***/ 6:
|
|
413
420
|
/***/ (function(module, exports) {
|
|
414
421
|
|
|
415
422
|
module.exports = require("lodash");
|
|
416
423
|
|
|
417
424
|
/***/ }),
|
|
418
425
|
|
|
419
|
-
/***/
|
|
426
|
+
/***/ 7:
|
|
420
427
|
/***/ (function(module, exports) {
|
|
421
428
|
|
|
422
429
|
module.exports = require("@babel/runtime/helpers/defineProperty");
|
|
423
430
|
|
|
424
431
|
/***/ }),
|
|
425
432
|
|
|
426
|
-
/***/
|
|
427
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
428
|
-
|
|
429
|
-
"use strict";
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
Object.defineProperty(exports, "__esModule", {
|
|
433
|
-
value: true
|
|
434
|
-
});
|
|
435
|
-
exports.VizCategory = void 0;
|
|
436
|
-
var VizCategory;
|
|
437
|
-
|
|
438
|
-
(function (VizCategory) {
|
|
439
|
-
VizCategory["SINGLE_VALUE"] = "Single Value";
|
|
440
|
-
VizCategory["TRENDS"] = "Trends";
|
|
441
|
-
VizCategory["COMPARISONS"] = "Comparisons";
|
|
442
|
-
VizCategory["TABLE"] = "Table";
|
|
443
|
-
VizCategory["GAUGE"] = "Gauge";
|
|
444
|
-
VizCategory["DISTRIBUTIONS"] = "Distributions";
|
|
445
|
-
VizCategory["CHOROPLETH"] = "Choropleth Maps";
|
|
446
|
-
VizCategory["SHAPES"] = "Shapes";
|
|
447
|
-
VizCategory["MISC"] = "misc";
|
|
448
|
-
VizCategory["FLOW"] = "Flow";
|
|
449
|
-
VizCategory["CORRELATION"] = "Correlation";
|
|
450
|
-
VizCategory["SPATIAL"] = "Spatial";
|
|
451
|
-
})(VizCategory = exports.VizCategory || (exports.VizCategory = {}));
|
|
452
|
-
|
|
453
|
-
/***/ }),
|
|
454
|
-
|
|
455
|
-
/***/ 74:
|
|
433
|
+
/***/ 75:
|
|
456
434
|
/***/ (function(module, exports, __webpack_require__) {
|
|
457
435
|
|
|
458
436
|
"use strict";
|
|
459
437
|
|
|
460
438
|
|
|
461
|
-
var _toConsumableArray = __webpack_require__(
|
|
439
|
+
var _toConsumableArray = __webpack_require__(1);
|
|
462
440
|
|
|
463
441
|
Object.defineProperty(exports, "__esModule", {
|
|
464
442
|
value: true
|
|
@@ -466,27 +444,27 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
466
444
|
|
|
467
445
|
var i18n_1 = __webpack_require__(0);
|
|
468
446
|
|
|
469
|
-
var lodash_1 = __webpack_require__(
|
|
447
|
+
var lodash_1 = __webpack_require__(6);
|
|
470
448
|
|
|
471
|
-
var schemaUtils_1 = __webpack_require__(
|
|
449
|
+
var schemaUtils_1 = __webpack_require__(3);
|
|
472
450
|
|
|
473
|
-
var colorConstants_1 = __webpack_require__(
|
|
451
|
+
var colorConstants_1 = __webpack_require__(25);
|
|
474
452
|
|
|
475
|
-
var visualization_icons_1 = __webpack_require__(
|
|
453
|
+
var visualization_icons_1 = __webpack_require__(12);
|
|
476
454
|
|
|
477
|
-
var placeholders_1 = __webpack_require__(
|
|
455
|
+
var placeholders_1 = __webpack_require__(11);
|
|
478
456
|
|
|
479
|
-
var variables_1 = __webpack_require__(
|
|
457
|
+
var variables_1 = __webpack_require__(10);
|
|
480
458
|
|
|
481
|
-
var pick_1 = __webpack_require__(
|
|
459
|
+
var pick_1 = __webpack_require__(9);
|
|
482
460
|
|
|
483
|
-
var configUtils_1 = __webpack_require__(
|
|
461
|
+
var configUtils_1 = __webpack_require__(4);
|
|
484
462
|
|
|
485
|
-
var VizBehavior_1 = __webpack_require__(
|
|
463
|
+
var VizBehavior_1 = __webpack_require__(2);
|
|
486
464
|
|
|
487
|
-
var consts_1 = __webpack_require__(
|
|
465
|
+
var consts_1 = __webpack_require__(76);
|
|
488
466
|
|
|
489
|
-
var VizCategory_1 = __webpack_require__(
|
|
467
|
+
var VizCategory_1 = __webpack_require__(8);
|
|
490
468
|
|
|
491
469
|
var dataContract = {
|
|
492
470
|
requiredDataSources: [{
|
|
@@ -628,11 +606,11 @@ var optionsSchema = {
|
|
|
628
606
|
backgroundColor: {
|
|
629
607
|
default: '> themes.defaultBackgroundColor',
|
|
630
608
|
description: 'Specify the color for the background. You might use a data source to apply the color. The default for enterprise light is "#FFFFFF". The default for enterprise dark is "#000000". The default for prisma dark is "#0B0C0E".',
|
|
631
|
-
pattern: schemaUtils_1.
|
|
609
|
+
pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
|
|
632
610
|
type: 'string'
|
|
633
611
|
},
|
|
634
612
|
columnFormat: {
|
|
635
|
-
description: '
|
|
613
|
+
description: 'Lets you format an individual column in a table. Specify a column in a table as a field, followed by a property. For more information, see the Column Format Align - Left example on the Examples page.',
|
|
636
614
|
type: 'object',
|
|
637
615
|
patternProperties: {
|
|
638
616
|
'.*': {
|
|
@@ -676,7 +654,7 @@ var optionsSchema = {
|
|
|
676
654
|
type: 'array',
|
|
677
655
|
items: {
|
|
678
656
|
type: 'string',
|
|
679
|
-
pattern: schemaUtils_1.
|
|
657
|
+
pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA
|
|
680
658
|
}
|
|
681
659
|
},
|
|
682
660
|
rowColors: {
|
|
@@ -684,7 +662,7 @@ var optionsSchema = {
|
|
|
684
662
|
type: 'array',
|
|
685
663
|
items: {
|
|
686
664
|
type: 'string',
|
|
687
|
-
pattern: schemaUtils_1.
|
|
665
|
+
pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA
|
|
688
666
|
}
|
|
689
667
|
},
|
|
690
668
|
sparklineAreaColors: {
|
|
@@ -692,7 +670,7 @@ var optionsSchema = {
|
|
|
692
670
|
type: 'array',
|
|
693
671
|
items: {
|
|
694
672
|
type: 'string',
|
|
695
|
-
pattern: schemaUtils_1.
|
|
673
|
+
pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA
|
|
696
674
|
}
|
|
697
675
|
},
|
|
698
676
|
sparklineColors: {
|
|
@@ -700,7 +678,7 @@ var optionsSchema = {
|
|
|
700
678
|
type: 'array',
|
|
701
679
|
items: {
|
|
702
680
|
type: 'string',
|
|
703
|
-
pattern: schemaUtils_1.
|
|
681
|
+
pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA
|
|
704
682
|
}
|
|
705
683
|
},
|
|
706
684
|
sparklineTypes: {
|
|
@@ -794,7 +772,7 @@ var optionsSchema = {
|
|
|
794
772
|
}
|
|
795
773
|
},
|
|
796
774
|
tableFormat: {
|
|
797
|
-
description: '
|
|
775
|
+
description: 'Lets you set global options for a table.',
|
|
798
776
|
type: 'object',
|
|
799
777
|
properties: {
|
|
800
778
|
align: {
|
|
@@ -843,12 +821,12 @@ var optionsSchema = {
|
|
|
843
821
|
headerBackgroundColor: {
|
|
844
822
|
default: '> themes.defaultHeaderBackgroundColor',
|
|
845
823
|
description: 'Specify the table header background color using a hexadecimal code. For example, "#FFFFFF".',
|
|
846
|
-
pattern: schemaUtils_1.
|
|
824
|
+
pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
|
|
847
825
|
type: 'string'
|
|
848
826
|
},
|
|
849
827
|
headerColor: {
|
|
850
828
|
description: 'Specify the table header text color using a hexadecimal code. For example, "#FFFFFF".',
|
|
851
|
-
pattern: schemaUtils_1.
|
|
829
|
+
pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
|
|
852
830
|
type: 'string'
|
|
853
831
|
},
|
|
854
832
|
rowBackgroundColors: {
|
|
@@ -859,7 +837,7 @@ var optionsSchema = {
|
|
|
859
837
|
type: 'array',
|
|
860
838
|
items: {
|
|
861
839
|
type: 'string',
|
|
862
|
-
pattern: schemaUtils_1.
|
|
840
|
+
pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA
|
|
863
841
|
}
|
|
864
842
|
}
|
|
865
843
|
},
|
|
@@ -881,7 +859,7 @@ var optionsSchema = {
|
|
|
881
859
|
type: 'array',
|
|
882
860
|
items: {
|
|
883
861
|
type: 'string',
|
|
884
|
-
pattern: schemaUtils_1.
|
|
862
|
+
pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA
|
|
885
863
|
}
|
|
886
864
|
}
|
|
887
865
|
},
|
|
@@ -892,7 +870,7 @@ var optionsSchema = {
|
|
|
892
870
|
type: 'array',
|
|
893
871
|
items: {
|
|
894
872
|
type: 'string',
|
|
895
|
-
pattern: schemaUtils_1.
|
|
873
|
+
pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA
|
|
896
874
|
}
|
|
897
875
|
}
|
|
898
876
|
},
|
|
@@ -995,10 +973,19 @@ var editorConfig = [{
|
|
|
995
973
|
labelPosition: 'left',
|
|
996
974
|
labelWidth: EDITOR_LABEL_WIDTH
|
|
997
975
|
}
|
|
976
|
+
}], [{
|
|
977
|
+
key: 'backgroundColor',
|
|
978
|
+
editor: 'editor.tableBackgroundColor',
|
|
979
|
+
editorProps: {
|
|
980
|
+
themes: themes,
|
|
981
|
+
labelPosition: 'left',
|
|
982
|
+
labelWidth: EDITOR_LABEL_WIDTH,
|
|
983
|
+
palette: _toConsumableArray(backgroundColorPaletteSet)
|
|
984
|
+
}
|
|
998
985
|
}], [{
|
|
999
986
|
label: i18n_1._('Header Row'),
|
|
1000
987
|
option: 'headerVisibility',
|
|
1001
|
-
editor: 'editor.
|
|
988
|
+
editor: 'editor.select',
|
|
1002
989
|
editorProps: {
|
|
1003
990
|
values: [{
|
|
1004
991
|
label: i18n_1._('Inline'),
|
|
@@ -1010,18 +997,8 @@ var editorConfig = [{
|
|
|
1010
997
|
label: i18n_1._('Hidden'),
|
|
1011
998
|
value: 'none'
|
|
1012
999
|
}],
|
|
1013
|
-
labelPosition: 'left',
|
|
1014
1000
|
labelWidth: EDITOR_LABEL_WIDTH
|
|
1015
1001
|
}
|
|
1016
|
-
}], [{
|
|
1017
|
-
key: 'backgroundColor',
|
|
1018
|
-
editor: 'editor.tableBackgroundColor',
|
|
1019
|
-
editorProps: {
|
|
1020
|
-
themes: themes,
|
|
1021
|
-
labelPosition: 'left',
|
|
1022
|
-
labelWidth: EDITOR_LABEL_WIDTH,
|
|
1023
|
-
palette: _toConsumableArray(backgroundColorPaletteSet)
|
|
1024
|
-
}
|
|
1025
1002
|
}], [{
|
|
1026
1003
|
option: 'font',
|
|
1027
1004
|
label: i18n_1._('Font'),
|
|
@@ -1179,7 +1156,7 @@ exports.default = configUtils_1.enhanceConfig(config);
|
|
|
1179
1156
|
|
|
1180
1157
|
/***/ }),
|
|
1181
1158
|
|
|
1182
|
-
/***/
|
|
1159
|
+
/***/ 76:
|
|
1183
1160
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1184
1161
|
|
|
1185
1162
|
"use strict";
|
|
@@ -1199,16 +1176,38 @@ exports.validFontSizes = ['extraSmall', 'small', 'default', 'large'];
|
|
|
1199
1176
|
/***/ }),
|
|
1200
1177
|
|
|
1201
1178
|
/***/ 8:
|
|
1202
|
-
/***/ (function(module, exports) {
|
|
1179
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1180
|
+
|
|
1181
|
+
"use strict";
|
|
1203
1182
|
|
|
1204
|
-
|
|
1183
|
+
|
|
1184
|
+
Object.defineProperty(exports, "__esModule", {
|
|
1185
|
+
value: true
|
|
1186
|
+
});
|
|
1187
|
+
exports.VizCategory = void 0;
|
|
1188
|
+
var VizCategory;
|
|
1189
|
+
|
|
1190
|
+
(function (VizCategory) {
|
|
1191
|
+
VizCategory["SINGLE_VALUE"] = "Single Value";
|
|
1192
|
+
VizCategory["TRENDS"] = "Trends";
|
|
1193
|
+
VizCategory["COMPARISONS"] = "Comparisons";
|
|
1194
|
+
VizCategory["TABLE"] = "Table";
|
|
1195
|
+
VizCategory["GAUGE"] = "Gauge";
|
|
1196
|
+
VizCategory["DISTRIBUTIONS"] = "Distributions";
|
|
1197
|
+
VizCategory["CHOROPLETH"] = "Choropleth Maps";
|
|
1198
|
+
VizCategory["SHAPES"] = "Shapes";
|
|
1199
|
+
VizCategory["MISC"] = "misc";
|
|
1200
|
+
VizCategory["FLOW"] = "Flow";
|
|
1201
|
+
VizCategory["CORRELATION"] = "Correlation";
|
|
1202
|
+
VizCategory["SPATIAL"] = "Spatial";
|
|
1203
|
+
})(VizCategory = exports.VizCategory || (exports.VizCategory = {}));
|
|
1205
1204
|
|
|
1206
1205
|
/***/ }),
|
|
1207
1206
|
|
|
1208
1207
|
/***/ 9:
|
|
1209
1208
|
/***/ (function(module, exports) {
|
|
1210
1209
|
|
|
1211
|
-
module.exports = require("@splunk/themes/
|
|
1210
|
+
module.exports = require("@splunk/themes/pick");
|
|
1212
1211
|
|
|
1213
1212
|
/***/ })
|
|
1214
1213
|
|