@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/ChoroplethSvg.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 = 157);
|
|
91
91
|
/******/ })
|
|
92
92
|
/************************************************************************/
|
|
93
93
|
/******/ ([
|
|
@@ -106,13 +106,13 @@ module.exports = require("react");
|
|
|
106
106
|
/* 2 */
|
|
107
107
|
/***/ (function(module, exports) {
|
|
108
108
|
|
|
109
|
-
module.exports = require("
|
|
109
|
+
module.exports = require("@splunk/ui-utils/i18n");
|
|
110
110
|
|
|
111
111
|
/***/ }),
|
|
112
112
|
/* 3 */
|
|
113
113
|
/***/ (function(module, exports) {
|
|
114
114
|
|
|
115
|
-
module.exports = require("
|
|
115
|
+
module.exports = require("lodash");
|
|
116
116
|
|
|
117
117
|
/***/ }),
|
|
118
118
|
/* 4 */
|
|
@@ -159,14 +159,190 @@ var VizBehavior;
|
|
|
159
159
|
|
|
160
160
|
/***/ }),
|
|
161
161
|
/* 6 */
|
|
162
|
+
/***/ (function(module, exports) {
|
|
163
|
+
|
|
164
|
+
module.exports = require("@babel/runtime/helpers/defineProperty");
|
|
165
|
+
|
|
166
|
+
/***/ }),
|
|
167
|
+
/* 7 */
|
|
168
|
+
/***/ (function(module, exports) {
|
|
169
|
+
|
|
170
|
+
module.exports = require("@babel/runtime/helpers/toConsumableArray");
|
|
171
|
+
|
|
172
|
+
/***/ }),
|
|
173
|
+
/* 8 */
|
|
174
|
+
/***/ (function(module, exports) {
|
|
175
|
+
|
|
176
|
+
module.exports = require("@splunk/themes/variables");
|
|
177
|
+
|
|
178
|
+
/***/ }),
|
|
179
|
+
/* 9 */
|
|
180
|
+
/***/ (function(module, exports) {
|
|
181
|
+
|
|
182
|
+
module.exports = require("@splunk/visualizations-shared/Message");
|
|
183
|
+
|
|
184
|
+
/***/ }),
|
|
185
|
+
/* 10 */
|
|
186
|
+
/***/ (function(module, exports) {
|
|
187
|
+
|
|
188
|
+
module.exports = require("@babel/runtime/helpers/classCallCheck");
|
|
189
|
+
|
|
190
|
+
/***/ }),
|
|
191
|
+
/* 11 */
|
|
192
|
+
/***/ (function(module, exports) {
|
|
193
|
+
|
|
194
|
+
module.exports = require("@splunk/visualizations-shared/colorUtils");
|
|
195
|
+
|
|
196
|
+
/***/ }),
|
|
197
|
+
/* 12 */
|
|
162
198
|
/***/ (function(module, exports, __webpack_require__) {
|
|
163
199
|
|
|
164
200
|
"use strict";
|
|
165
201
|
|
|
166
202
|
|
|
167
|
-
|
|
203
|
+
Object.defineProperty(exports, "__esModule", {
|
|
204
|
+
value: true
|
|
205
|
+
});
|
|
206
|
+
|
|
207
|
+
var React = __webpack_require__(1);
|
|
208
|
+
|
|
209
|
+
var styled_components_1 = __webpack_require__(4);
|
|
168
210
|
|
|
169
|
-
var
|
|
211
|
+
var SizeAwareWrapper_1 = __webpack_require__(19);
|
|
212
|
+
|
|
213
|
+
var style_1 = __webpack_require__(14);
|
|
214
|
+
|
|
215
|
+
var colorUtils_1 = __webpack_require__(11);
|
|
216
|
+
|
|
217
|
+
var Item = styled_components_1.default.div.attrs(function (_ref) {
|
|
218
|
+
var width = _ref.width;
|
|
219
|
+
return {
|
|
220
|
+
style: {
|
|
221
|
+
width: style_1.toPx(width)
|
|
222
|
+
}
|
|
223
|
+
};
|
|
224
|
+
}).withConfig({
|
|
225
|
+
displayName: "FixedSizeContainer__Item",
|
|
226
|
+
componentId: "sc-1yhgpod-0"
|
|
227
|
+
})(["position:relative;background-color:", "};"], function (props) {
|
|
228
|
+
return colorUtils_1.isColor(props.backgroundColor) && props.backgroundColor || props.theme.defaultBackgroundColor;
|
|
229
|
+
}); // Use `.attrs()` for highly dynamic styles. Ref: https://github.com/styled-components/styled-components/issues/134#issuecomment-312415291
|
|
230
|
+
|
|
231
|
+
var FixSizeItem = styled_components_1.default.div.attrs(function (_ref2) {
|
|
232
|
+
var width = _ref2.width,
|
|
233
|
+
height = _ref2.height;
|
|
234
|
+
return {
|
|
235
|
+
style: Object.assign(Object.assign({}, width && {
|
|
236
|
+
width: style_1.toPx(width)
|
|
237
|
+
}), height && {
|
|
238
|
+
height: style_1.toPx(height)
|
|
239
|
+
})
|
|
240
|
+
};
|
|
241
|
+
}).withConfig({
|
|
242
|
+
displayName: "FixedSizeContainer__FixSizeItem",
|
|
243
|
+
componentId: "sc-1yhgpod-1"
|
|
244
|
+
})(["position:relative;flex-direction:column;flex:1;display:flex;background-color:", "};"], function (props) {
|
|
245
|
+
return colorUtils_1.isColor(props.backgroundColor) && props.backgroundColor || props.theme.defaultBackgroundColor;
|
|
246
|
+
});
|
|
247
|
+
var ItemContent = styled_components_1.default.div.withConfig({
|
|
248
|
+
displayName: "FixedSizeContainer__ItemContent",
|
|
249
|
+
componentId: "sc-1yhgpod-2"
|
|
250
|
+
})(["position:relative;min-height:100px;width:100%;"]);
|
|
251
|
+
var FixSizeItemContent = styled_components_1.default.div.withConfig({
|
|
252
|
+
displayName: "FixedSizeContainer__FixSizeItemContent",
|
|
253
|
+
componentId: "sc-1yhgpod-3"
|
|
254
|
+
})(["min-height:0px;flex:1;position:relative;box-sizing:border-box;"]);
|
|
255
|
+
|
|
256
|
+
var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
|
|
257
|
+
var FixedSizeContainer = function FixedSizeContainer(props) {
|
|
258
|
+
var width = props.width,
|
|
259
|
+
height = props.height,
|
|
260
|
+
backgroundColor = props.backgroundColor;
|
|
261
|
+
|
|
262
|
+
if (!height) {
|
|
263
|
+
return React.createElement(Item, {
|
|
264
|
+
"data-test": "item",
|
|
265
|
+
width: width,
|
|
266
|
+
backgroundColor: backgroundColor
|
|
267
|
+
}, React.createElement(ItemContent, null, React.createElement(Viz, Object.assign({}, props))));
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
return React.createElement(FixSizeItem, {
|
|
271
|
+
"data-test": "fix-size-item",
|
|
272
|
+
"data-splunk-visualization-version": "25.1.0 - 812a9a4d8",
|
|
273
|
+
width: width,
|
|
274
|
+
height: height,
|
|
275
|
+
backgroundColor: backgroundColor
|
|
276
|
+
}, React.createElement(FixSizeItemContent, null, React.createElement(SizeAwareWrapper_1.default, null, function (_ref3) {
|
|
277
|
+
var newWidth = _ref3.width,
|
|
278
|
+
newHeight = _ref3.height;
|
|
279
|
+
return React.createElement(Viz, Object.assign({}, props, {
|
|
280
|
+
width: newWidth,
|
|
281
|
+
height: newHeight
|
|
282
|
+
}));
|
|
283
|
+
})));
|
|
284
|
+
};
|
|
285
|
+
|
|
286
|
+
FixedSizeContainer.displayName = 'withFixedSizeContainer';
|
|
287
|
+
return FixedSizeContainer;
|
|
288
|
+
};
|
|
289
|
+
|
|
290
|
+
exports.default = withFixedSizeContainer;
|
|
291
|
+
|
|
292
|
+
/***/ }),
|
|
293
|
+
/* 13 */
|
|
294
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
295
|
+
|
|
296
|
+
"use strict";
|
|
297
|
+
|
|
298
|
+
|
|
299
|
+
Object.defineProperty(exports, "__esModule", {
|
|
300
|
+
value: true
|
|
301
|
+
});
|
|
302
|
+
exports.extendStaticWrapperProps = void 0;
|
|
303
|
+
/**
|
|
304
|
+
* @method extendStaticWrapperProps
|
|
305
|
+
* @param {Object} props
|
|
306
|
+
* @param {DashboardVizType} props.Wrapper
|
|
307
|
+
* @param {DashboardVizType} props.Visualization
|
|
308
|
+
*/
|
|
309
|
+
|
|
310
|
+
var extendStaticWrapperProps = function extendStaticWrapperProps(_ref) {
|
|
311
|
+
var Wrapper = _ref.Wrapper,
|
|
312
|
+
Visualization = _ref.Visualization;
|
|
313
|
+
var extendProperties = ['propTypes', 'defaultProps', 'config'];
|
|
314
|
+
extendProperties.forEach(function (prop) {
|
|
315
|
+
if (Visualization[prop]) {
|
|
316
|
+
// eslint-disable-next-line no-param-reassign
|
|
317
|
+
Wrapper[prop] = Visualization[prop];
|
|
318
|
+
}
|
|
319
|
+
});
|
|
320
|
+
};
|
|
321
|
+
|
|
322
|
+
exports.extendStaticWrapperProps = extendStaticWrapperProps;
|
|
323
|
+
|
|
324
|
+
/***/ }),
|
|
325
|
+
/* 14 */
|
|
326
|
+
/***/ (function(module, exports) {
|
|
327
|
+
|
|
328
|
+
module.exports = require("@splunk/visualizations-shared/style");
|
|
329
|
+
|
|
330
|
+
/***/ }),
|
|
331
|
+
/* 15 */
|
|
332
|
+
/***/ (function(module, exports) {
|
|
333
|
+
|
|
334
|
+
module.exports = require("@splunk/visualizations-shared/schemaUtils");
|
|
335
|
+
|
|
336
|
+
/***/ }),
|
|
337
|
+
/* 16 */
|
|
338
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
339
|
+
|
|
340
|
+
"use strict";
|
|
341
|
+
|
|
342
|
+
|
|
343
|
+
var _toConsumableArray = __webpack_require__(7);
|
|
344
|
+
|
|
345
|
+
var _defineProperty = __webpack_require__(6);
|
|
170
346
|
|
|
171
347
|
var __rest = this && this.__rest || function (s, e) {
|
|
172
348
|
var t = {};
|
|
@@ -184,11 +360,11 @@ var __rest = this && this.__rest || function (s, e) {
|
|
|
184
360
|
Object.defineProperty(exports, "__esModule", {
|
|
185
361
|
value: true
|
|
186
362
|
});
|
|
187
|
-
exports.insertLayout = exports.
|
|
363
|
+
exports.insertLayout = exports.isDynamicOption = exports.uncollapseEditorConfig = exports.generatePrecisionValues = exports.getInitialPreset = exports.enhanceOptionsSchemaWithDynamicOptions = exports.enhanceConfig = void 0;
|
|
188
364
|
|
|
189
|
-
var lodash_1 = __webpack_require__(
|
|
365
|
+
var lodash_1 = __webpack_require__(3);
|
|
190
366
|
|
|
191
|
-
var schemaUtils_1 = __webpack_require__(
|
|
367
|
+
var schemaUtils_1 = __webpack_require__(15);
|
|
192
368
|
|
|
193
369
|
var VizBehavior_1 = __webpack_require__(5);
|
|
194
370
|
|
|
@@ -394,303 +570,52 @@ var insertLayout = function insertLayout(layout, index) {
|
|
|
394
570
|
exports.insertLayout = insertLayout;
|
|
395
571
|
|
|
396
572
|
/***/ }),
|
|
397
|
-
/*
|
|
398
|
-
/***/ (function(module, exports) {
|
|
399
|
-
|
|
400
|
-
module.exports = require("@babel/runtime/helpers/defineProperty");
|
|
401
|
-
|
|
402
|
-
/***/ }),
|
|
403
|
-
/* 8 */
|
|
404
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
405
|
-
|
|
406
|
-
"use strict";
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
var _typeof = __webpack_require__(25);
|
|
410
|
-
|
|
411
|
-
Object.defineProperty(exports, "__esModule", {
|
|
412
|
-
value: true
|
|
413
|
-
});
|
|
414
|
-
exports.deepMergeWithArrayPrimitiveOverrides = exports.extendStaticWrapperProps = void 0;
|
|
415
|
-
|
|
416
|
-
var lodash_1 = __webpack_require__(2);
|
|
417
|
-
|
|
418
|
-
var mapUtils_1 = __webpack_require__(41);
|
|
419
|
-
/**
|
|
420
|
-
* @method extendStaticWrapperProps
|
|
421
|
-
* @param {Object} props
|
|
422
|
-
* @param {DashboardVizType} props.Wrapper
|
|
423
|
-
* @param {DashboardVizType} props.Visualization
|
|
424
|
-
*/
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
var extendStaticWrapperProps = function extendStaticWrapperProps(_ref) {
|
|
428
|
-
var Wrapper = _ref.Wrapper,
|
|
429
|
-
Visualization = _ref.Visualization;
|
|
430
|
-
var extendProperties = ['propTypes', 'defaultProps', 'config'];
|
|
431
|
-
extendProperties.forEach(function (prop) {
|
|
432
|
-
if (Visualization[prop]) {
|
|
433
|
-
// eslint-disable-next-line no-param-reassign
|
|
434
|
-
Wrapper[prop] = Visualization[prop];
|
|
435
|
-
}
|
|
436
|
-
});
|
|
437
|
-
};
|
|
438
|
-
|
|
439
|
-
exports.extendStaticWrapperProps = extendStaticWrapperProps;
|
|
440
|
-
/**
|
|
441
|
-
* helper to deeply merge objects while preserving arrays in earlier source objects
|
|
442
|
-
* deeply nested primitive keys are merged similarly to lodash's defaultsDeep, while keys with arrays of primitives will be preserved if already present in the resultant merged object
|
|
443
|
-
* this prevents default arrays of primitives from appending values to user-defined arrays (this occurs if the default array is longer than the user-defined one).
|
|
444
|
-
* Array of objects gets merged with the defaults, where the defaults can be an array of objects. Closest matching default object from the defaults list based on key - value pair
|
|
445
|
-
* will be used for merging defaults for each object in the array. If no closest match found, first object in default array list used for merging.
|
|
446
|
-
*
|
|
447
|
-
* @method deepMergeWithArrayPrimitiveOverrides
|
|
448
|
-
* @param {Object} initial - target object to merge values into
|
|
449
|
-
* @param {Object[]} sources - other default options to be merged into the resultant object if no explicit value is provided, with earlier args taking precedence over later ones
|
|
450
|
-
*
|
|
451
|
-
* @returns {Object}
|
|
452
|
-
*/
|
|
453
|
-
|
|
454
|
-
var deepMergeWithArrayPrimitiveOverrides = function deepMergeWithArrayPrimitiveOverrides(initial) {
|
|
455
|
-
var clone = lodash_1.cloneDeep(initial);
|
|
456
|
-
|
|
457
|
-
for (var _len = arguments.length, sources = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
458
|
-
sources[_key - 1] = arguments[_key];
|
|
459
|
-
}
|
|
460
|
-
|
|
461
|
-
sources.forEach(function (sourceToApply) {
|
|
462
|
-
Object.keys(sourceToApply).forEach(function (sourceKey) {
|
|
463
|
-
if (!Object.prototype.hasOwnProperty.call(clone, sourceKey)) {
|
|
464
|
-
clone[sourceKey] = lodash_1.cloneDeep(sourceToApply[sourceKey]);
|
|
465
|
-
}
|
|
466
|
-
|
|
467
|
-
if (clone[sourceKey] && _typeof(clone[sourceKey]) === 'object' && !Array.isArray(clone[sourceKey]) && _typeof(sourceToApply[sourceKey]) === 'object') {
|
|
468
|
-
clone[sourceKey] = exports.deepMergeWithArrayPrimitiveOverrides(clone[sourceKey], sourceToApply[sourceKey]);
|
|
469
|
-
} else if (Array.isArray(clone[sourceKey]) && _typeof(clone[sourceKey][0]) === 'object' && !Array.isArray(clone[sourceKey][0])) {
|
|
470
|
-
// If option is an array of objects
|
|
471
|
-
for (var i = 0; i < clone[sourceKey].length; i += 1) {
|
|
472
|
-
if (_typeof(clone[sourceKey][i]) === 'object') {
|
|
473
|
-
var closestMatchIdx = mapUtils_1.findClosestMatchFromDefaultList(sourceToApply[sourceKey], clone[sourceKey][i]);
|
|
474
|
-
|
|
475
|
-
if (closestMatchIdx > -1) {
|
|
476
|
-
clone[sourceKey][i] = exports.deepMergeWithArrayPrimitiveOverrides(clone[sourceKey][i], sourceToApply[sourceKey][closestMatchIdx]);
|
|
477
|
-
}
|
|
478
|
-
}
|
|
479
|
-
}
|
|
480
|
-
}
|
|
481
|
-
});
|
|
482
|
-
});
|
|
483
|
-
return clone;
|
|
484
|
-
};
|
|
485
|
-
|
|
486
|
-
exports.deepMergeWithArrayPrimitiveOverrides = deepMergeWithArrayPrimitiveOverrides;
|
|
487
|
-
|
|
488
|
-
/***/ }),
|
|
489
|
-
/* 9 */
|
|
490
|
-
/***/ (function(module, exports) {
|
|
491
|
-
|
|
492
|
-
module.exports = require("@babel/runtime/helpers/toConsumableArray");
|
|
493
|
-
|
|
494
|
-
/***/ }),
|
|
495
|
-
/* 10 */
|
|
496
|
-
/***/ (function(module, exports) {
|
|
497
|
-
|
|
498
|
-
module.exports = require("@splunk/themes/variables");
|
|
499
|
-
|
|
500
|
-
/***/ }),
|
|
501
|
-
/* 11 */
|
|
502
|
-
/***/ (function(module, exports) {
|
|
503
|
-
|
|
504
|
-
module.exports = require("@splunk/visualizations-shared/Message");
|
|
505
|
-
|
|
506
|
-
/***/ }),
|
|
507
|
-
/* 12 */
|
|
508
|
-
/***/ (function(module, exports) {
|
|
509
|
-
|
|
510
|
-
module.exports = require("@babel/runtime/helpers/classCallCheck");
|
|
511
|
-
|
|
512
|
-
/***/ }),
|
|
513
|
-
/* 13 */
|
|
514
|
-
/***/ (function(module, exports) {
|
|
515
|
-
|
|
516
|
-
module.exports = require("@splunk/visualizations-shared/colorUtils");
|
|
517
|
-
|
|
518
|
-
/***/ }),
|
|
519
|
-
/* 14 */
|
|
520
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
521
|
-
|
|
522
|
-
"use strict";
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
Object.defineProperty(exports, "__esModule", {
|
|
526
|
-
value: true
|
|
527
|
-
});
|
|
528
|
-
|
|
529
|
-
var React = __webpack_require__(1);
|
|
530
|
-
|
|
531
|
-
var styled_components_1 = __webpack_require__(4);
|
|
532
|
-
|
|
533
|
-
var SizeAwareWrapper_1 = __webpack_require__(18);
|
|
534
|
-
|
|
535
|
-
var style_1 = __webpack_require__(15);
|
|
536
|
-
|
|
537
|
-
var colorUtils_1 = __webpack_require__(13);
|
|
538
|
-
|
|
539
|
-
var Item = styled_components_1.default.div.attrs(function (_ref) {
|
|
540
|
-
var width = _ref.width;
|
|
541
|
-
return {
|
|
542
|
-
style: {
|
|
543
|
-
width: style_1.toPx(width)
|
|
544
|
-
}
|
|
545
|
-
};
|
|
546
|
-
}).withConfig({
|
|
547
|
-
displayName: "FixedSizeContainer__Item",
|
|
548
|
-
componentId: "sc-1yhgpod-0"
|
|
549
|
-
})(["position:relative;background-color:", "};"], function (props) {
|
|
550
|
-
return colorUtils_1.isColor(props.backgroundColor) && props.backgroundColor || props.theme.defaultBackgroundColor;
|
|
551
|
-
}); // Use `.attrs()` for highly dynamic styles. Ref: https://github.com/styled-components/styled-components/issues/134#issuecomment-312415291
|
|
552
|
-
|
|
553
|
-
var FixSizeItem = styled_components_1.default.div.attrs(function (_ref2) {
|
|
554
|
-
var width = _ref2.width,
|
|
555
|
-
height = _ref2.height;
|
|
556
|
-
return {
|
|
557
|
-
style: Object.assign(Object.assign({}, width && {
|
|
558
|
-
width: style_1.toPx(width)
|
|
559
|
-
}), height && {
|
|
560
|
-
height: style_1.toPx(height)
|
|
561
|
-
})
|
|
562
|
-
};
|
|
563
|
-
}).withConfig({
|
|
564
|
-
displayName: "FixedSizeContainer__FixSizeItem",
|
|
565
|
-
componentId: "sc-1yhgpod-1"
|
|
566
|
-
})(["position:relative;flex-direction:column;flex:1;display:flex;background-color:", "};"], function (props) {
|
|
567
|
-
return colorUtils_1.isColor(props.backgroundColor) && props.backgroundColor || props.theme.defaultBackgroundColor;
|
|
568
|
-
});
|
|
569
|
-
var ItemContent = styled_components_1.default.div.withConfig({
|
|
570
|
-
displayName: "FixedSizeContainer__ItemContent",
|
|
571
|
-
componentId: "sc-1yhgpod-2"
|
|
572
|
-
})(["position:relative;min-height:100px;width:100%;"]);
|
|
573
|
-
var FixSizeItemContent = styled_components_1.default.div.withConfig({
|
|
574
|
-
displayName: "FixedSizeContainer__FixSizeItemContent",
|
|
575
|
-
componentId: "sc-1yhgpod-3"
|
|
576
|
-
})(["min-height:0px;flex:1;position:relative;box-sizing:border-box;"]);
|
|
577
|
-
|
|
578
|
-
var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
|
|
579
|
-
var FixedSizeContainer = function FixedSizeContainer(props) {
|
|
580
|
-
var width = props.width,
|
|
581
|
-
height = props.height,
|
|
582
|
-
backgroundColor = props.backgroundColor;
|
|
583
|
-
|
|
584
|
-
if (!height) {
|
|
585
|
-
return React.createElement(Item, {
|
|
586
|
-
"data-test": "item",
|
|
587
|
-
width: width,
|
|
588
|
-
backgroundColor: backgroundColor
|
|
589
|
-
}, React.createElement(ItemContent, null, React.createElement(Viz, Object.assign({}, props))));
|
|
590
|
-
}
|
|
591
|
-
|
|
592
|
-
return React.createElement(FixSizeItem, {
|
|
593
|
-
"data-test": "fix-size-item",
|
|
594
|
-
"data-splunk-visualization-version": "25.0.1 - de10ad954",
|
|
595
|
-
width: width,
|
|
596
|
-
height: height,
|
|
597
|
-
backgroundColor: backgroundColor
|
|
598
|
-
}, React.createElement(FixSizeItemContent, null, React.createElement(SizeAwareWrapper_1.default, null, function (_ref3) {
|
|
599
|
-
var newWidth = _ref3.width,
|
|
600
|
-
newHeight = _ref3.height;
|
|
601
|
-
return React.createElement(Viz, Object.assign({}, props, {
|
|
602
|
-
width: newWidth,
|
|
603
|
-
height: newHeight
|
|
604
|
-
}));
|
|
605
|
-
})));
|
|
606
|
-
};
|
|
607
|
-
|
|
608
|
-
FixedSizeContainer.displayName = 'withFixedSizeContainer';
|
|
609
|
-
return FixedSizeContainer;
|
|
610
|
-
};
|
|
611
|
-
|
|
612
|
-
exports.default = withFixedSizeContainer;
|
|
613
|
-
|
|
614
|
-
/***/ }),
|
|
615
|
-
/* 15 */
|
|
616
|
-
/***/ (function(module, exports) {
|
|
617
|
-
|
|
618
|
-
module.exports = require("@splunk/visualizations-shared/style");
|
|
619
|
-
|
|
620
|
-
/***/ }),
|
|
621
|
-
/* 16 */
|
|
573
|
+
/* 17 */
|
|
622
574
|
/***/ (function(module, exports) {
|
|
623
575
|
|
|
624
|
-
module.exports = require("@splunk/visualizations-shared/
|
|
576
|
+
module.exports = require("@splunk/visualizations-shared/configUtils");
|
|
625
577
|
|
|
626
578
|
/***/ }),
|
|
627
|
-
/*
|
|
579
|
+
/* 18 */
|
|
628
580
|
/***/ (function(module, exports) {
|
|
629
581
|
|
|
630
582
|
module.exports = require("@babel/runtime/helpers/createClass");
|
|
631
583
|
|
|
632
584
|
/***/ }),
|
|
633
|
-
/*
|
|
585
|
+
/* 19 */
|
|
634
586
|
/***/ (function(module, exports) {
|
|
635
587
|
|
|
636
588
|
module.exports = require("@splunk/visualizations-shared/SizeAwareWrapper");
|
|
637
589
|
|
|
638
590
|
/***/ }),
|
|
639
|
-
/*
|
|
640
|
-
/*
|
|
591
|
+
/* 20 */,
|
|
592
|
+
/* 21 */
|
|
641
593
|
/***/ (function(module, exports) {
|
|
642
594
|
|
|
643
595
|
module.exports = require("@splunk/themes/pick");
|
|
644
596
|
|
|
645
597
|
/***/ }),
|
|
646
|
-
/*
|
|
598
|
+
/* 22 */
|
|
647
599
|
/***/ (function(module, exports) {
|
|
648
600
|
|
|
649
601
|
module.exports = require("@splunk/visualization-context/TimezoneContext");
|
|
650
602
|
|
|
651
603
|
/***/ }),
|
|
652
|
-
/* 22 */,
|
|
653
604
|
/* 23 */,
|
|
654
605
|
/* 24 */
|
|
655
|
-
/***/ (function(module, exports
|
|
656
|
-
|
|
657
|
-
"use strict";
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
Object.defineProperty(exports, "__esModule", {
|
|
661
|
-
value: true
|
|
662
|
-
});
|
|
663
|
-
exports.pickFieldFromJSONSchema = void 0;
|
|
664
|
-
|
|
665
|
-
var lodash_1 = __webpack_require__(2);
|
|
666
|
-
|
|
667
|
-
var pickFieldFromJSONSchema = function pickFieldFromJSONSchema(optionsSchema) {
|
|
668
|
-
var fieldName = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'default';
|
|
669
|
-
return Object.keys(optionsSchema).reduce(function (accum, k) {
|
|
670
|
-
if (lodash_1.has(optionsSchema[k], fieldName)) {
|
|
671
|
-
accum[k] = optionsSchema[k][fieldName];
|
|
672
|
-
} else if (lodash_1.get(optionsSchema, [k, 'type']) === 'object' && lodash_1.has(optionsSchema[k], 'properties')) {
|
|
673
|
-
var nestedSchema = exports.pickFieldFromJSONSchema(optionsSchema[k].properties, fieldName);
|
|
674
|
-
|
|
675
|
-
if (!lodash_1.isEmpty(nestedSchema)) {
|
|
676
|
-
accum[k] = nestedSchema;
|
|
677
|
-
}
|
|
678
|
-
}
|
|
679
|
-
|
|
680
|
-
return accum;
|
|
681
|
-
}, {});
|
|
682
|
-
};
|
|
606
|
+
/***/ (function(module, exports) {
|
|
683
607
|
|
|
684
|
-
exports
|
|
608
|
+
module.exports = require("@splunk/visualizations-shared/hocUtils");
|
|
685
609
|
|
|
686
610
|
/***/ }),
|
|
687
611
|
/* 25 */
|
|
688
612
|
/***/ (function(module, exports) {
|
|
689
613
|
|
|
690
|
-
module.exports = require("@
|
|
614
|
+
module.exports = require("@splunk/visualizations-shared/JSONSchemaUtils");
|
|
691
615
|
|
|
692
616
|
/***/ }),
|
|
693
|
-
/* 26
|
|
617
|
+
/* 26 */,
|
|
618
|
+
/* 27 */
|
|
694
619
|
/***/ (function(module, exports, __webpack_require__) {
|
|
695
620
|
|
|
696
621
|
"use strict";
|
|
@@ -705,13 +630,13 @@ var React = __webpack_require__(1);
|
|
|
705
630
|
|
|
706
631
|
var T = __webpack_require__(0);
|
|
707
632
|
|
|
708
|
-
var lodash_1 = __webpack_require__(
|
|
633
|
+
var lodash_1 = __webpack_require__(3);
|
|
709
634
|
|
|
710
|
-
var i18n_1 = __webpack_require__(
|
|
635
|
+
var i18n_1 = __webpack_require__(2);
|
|
711
636
|
|
|
712
|
-
var Message_1 = __webpack_require__(
|
|
637
|
+
var Message_1 = __webpack_require__(9);
|
|
713
638
|
|
|
714
|
-
var FixedSizeContainer_1 = __webpack_require__(
|
|
639
|
+
var FixedSizeContainer_1 = __webpack_require__(12);
|
|
715
640
|
/**
|
|
716
641
|
* @method shouldShowIconPlaceholder
|
|
717
642
|
* @param {object} dataSources
|
|
@@ -781,13 +706,13 @@ IconPlaceholder.defaultProps = {
|
|
|
781
706
|
exports.default = FixedSizeContainer_1.default(IconPlaceholder);
|
|
782
707
|
|
|
783
708
|
/***/ }),
|
|
784
|
-
/*
|
|
709
|
+
/* 28 */
|
|
785
710
|
/***/ (function(module, exports, __webpack_require__) {
|
|
786
711
|
|
|
787
712
|
"use strict";
|
|
788
713
|
|
|
789
714
|
|
|
790
|
-
var _defineProperty = __webpack_require__(
|
|
715
|
+
var _defineProperty = __webpack_require__(6);
|
|
791
716
|
|
|
792
717
|
Object.defineProperty(exports, "__esModule", {
|
|
793
718
|
value: true
|
|
@@ -796,9 +721,9 @@ exports.getSortingParams = exports.SortParamsPropTypes = void 0;
|
|
|
796
721
|
|
|
797
722
|
var T = __webpack_require__(0);
|
|
798
723
|
|
|
799
|
-
var lodash_1 = __webpack_require__(
|
|
724
|
+
var lodash_1 = __webpack_require__(3);
|
|
800
725
|
|
|
801
|
-
var DataSource_1 = __webpack_require__(
|
|
726
|
+
var DataSource_1 = __webpack_require__(38);
|
|
802
727
|
|
|
803
728
|
exports.SortParamsPropTypes = T.shape({
|
|
804
729
|
currentSortKey: T.string,
|
|
@@ -851,7 +776,7 @@ var getSortingParams = function getSortingParams(_ref) {
|
|
|
851
776
|
exports.getSortingParams = getSortingParams;
|
|
852
777
|
|
|
853
778
|
/***/ }),
|
|
854
|
-
/*
|
|
779
|
+
/* 29 */
|
|
855
780
|
/***/ (function(module, exports, __webpack_require__) {
|
|
856
781
|
|
|
857
782
|
"use strict";
|
|
@@ -864,7 +789,7 @@ exports.getPaginationParams = exports.PaginatorParamsPropTypes = void 0;
|
|
|
864
789
|
|
|
865
790
|
var T = __webpack_require__(0);
|
|
866
791
|
|
|
867
|
-
var lodash_1 = __webpack_require__(
|
|
792
|
+
var lodash_1 = __webpack_require__(3);
|
|
868
793
|
|
|
869
794
|
exports.PaginatorParamsPropTypes = T.shape({
|
|
870
795
|
isPaging: T.bool,
|
|
@@ -915,7 +840,7 @@ var getPaginationParams = function getPaginationParams(_ref) {
|
|
|
915
840
|
exports.getPaginationParams = getPaginationParams;
|
|
916
841
|
|
|
917
842
|
/***/ }),
|
|
918
|
-
/*
|
|
843
|
+
/* 30 */
|
|
919
844
|
/***/ (function(module, exports, __webpack_require__) {
|
|
920
845
|
|
|
921
846
|
"use strict";
|
|
@@ -943,7 +868,7 @@ var VizCategory;
|
|
|
943
868
|
})(VizCategory = exports.VizCategory || (exports.VizCategory = {}));
|
|
944
869
|
|
|
945
870
|
/***/ }),
|
|
946
|
-
/*
|
|
871
|
+
/* 31 */
|
|
947
872
|
/***/ (function(module, exports, __webpack_require__) {
|
|
948
873
|
|
|
949
874
|
"use strict";
|
|
@@ -955,39 +880,39 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
955
880
|
|
|
956
881
|
var React = __webpack_require__(1);
|
|
957
882
|
|
|
958
|
-
var lodash_1 = __webpack_require__(
|
|
883
|
+
var lodash_1 = __webpack_require__(3);
|
|
959
884
|
|
|
960
|
-
var getSettingsFromThemedProps_1 = __webpack_require__(
|
|
885
|
+
var getSettingsFromThemedProps_1 = __webpack_require__(32);
|
|
961
886
|
|
|
962
|
-
var Options_1 = __webpack_require__(
|
|
887
|
+
var Options_1 = __webpack_require__(33);
|
|
963
888
|
|
|
964
|
-
var SanitizeProps_1 = __webpack_require__(
|
|
889
|
+
var SanitizeProps_1 = __webpack_require__(34);
|
|
965
890
|
|
|
966
|
-
var TimezoneContext_1 = __webpack_require__(
|
|
891
|
+
var TimezoneContext_1 = __webpack_require__(22);
|
|
967
892
|
|
|
968
|
-
var moment_1 = __webpack_require__(
|
|
893
|
+
var moment_1 = __webpack_require__(35);
|
|
969
894
|
|
|
970
895
|
var styled_components_1 = __webpack_require__(4);
|
|
971
896
|
|
|
972
|
-
var
|
|
897
|
+
var hocUtils_1 = __webpack_require__(24);
|
|
973
898
|
|
|
974
|
-
var
|
|
899
|
+
var JSONSchemaUtils_1 = __webpack_require__(25);
|
|
975
900
|
|
|
976
|
-
var
|
|
901
|
+
var SplunkVisualization_1 = __webpack_require__(36);
|
|
977
902
|
|
|
978
|
-
var
|
|
903
|
+
var VizBehavior_1 = __webpack_require__(5);
|
|
979
904
|
|
|
980
|
-
var
|
|
905
|
+
var getSorting_1 = __webpack_require__(28);
|
|
981
906
|
|
|
982
|
-
var
|
|
907
|
+
var getPagination_1 = __webpack_require__(29);
|
|
983
908
|
|
|
984
|
-
var
|
|
909
|
+
var useDeepMemo_1 = __webpack_require__(39);
|
|
985
910
|
|
|
986
|
-
var
|
|
911
|
+
var MissingPropsMessage_1 = __webpack_require__(40);
|
|
987
912
|
|
|
988
|
-
var
|
|
913
|
+
var withEditModeCover_1 = __webpack_require__(41);
|
|
989
914
|
|
|
990
|
-
var
|
|
915
|
+
var withPlaceholder_1 = __webpack_require__(42);
|
|
991
916
|
/**
|
|
992
917
|
* hoc that wraps a pure react visualization in a Dashboard visualization
|
|
993
918
|
* @param {DashboardVizOpts} opts
|
|
@@ -1188,37 +1113,37 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
1188
1113
|
exports.default = withDashboardViz;
|
|
1189
1114
|
|
|
1190
1115
|
/***/ }),
|
|
1191
|
-
/*
|
|
1116
|
+
/* 32 */
|
|
1192
1117
|
/***/ (function(module, exports) {
|
|
1193
1118
|
|
|
1194
1119
|
module.exports = require("@splunk/themes/getSettingsFromThemedProps");
|
|
1195
1120
|
|
|
1196
1121
|
/***/ }),
|
|
1197
|
-
/*
|
|
1122
|
+
/* 33 */
|
|
1198
1123
|
/***/ (function(module, exports) {
|
|
1199
1124
|
|
|
1200
1125
|
module.exports = require("@splunk/visualization-encoding/Options");
|
|
1201
1126
|
|
|
1202
1127
|
/***/ }),
|
|
1203
|
-
/*
|
|
1128
|
+
/* 34 */
|
|
1204
1129
|
/***/ (function(module, exports) {
|
|
1205
1130
|
|
|
1206
1131
|
module.exports = require("@splunk/visualizations-shared/SanitizeProps");
|
|
1207
1132
|
|
|
1208
1133
|
/***/ }),
|
|
1209
|
-
/*
|
|
1134
|
+
/* 35 */
|
|
1210
1135
|
/***/ (function(module, exports) {
|
|
1211
1136
|
|
|
1212
1137
|
module.exports = require("@splunk/moment");
|
|
1213
1138
|
|
|
1214
1139
|
/***/ }),
|
|
1215
|
-
/*
|
|
1140
|
+
/* 36 */
|
|
1216
1141
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1217
1142
|
|
|
1218
1143
|
"use strict";
|
|
1219
1144
|
|
|
1220
1145
|
|
|
1221
|
-
var _classCallCheck = __webpack_require__(
|
|
1146
|
+
var _classCallCheck = __webpack_require__(10);
|
|
1222
1147
|
|
|
1223
1148
|
Object.defineProperty(exports, "__esModule", {
|
|
1224
1149
|
value: true
|
|
@@ -1228,9 +1153,9 @@ exports.INITIAL_HEIGHT = exports.INITIAL_WIDTH = void 0;
|
|
|
1228
1153
|
|
|
1229
1154
|
var T = __webpack_require__(0);
|
|
1230
1155
|
|
|
1231
|
-
var lodash_1 = __webpack_require__(
|
|
1156
|
+
var lodash_1 = __webpack_require__(3);
|
|
1232
1157
|
|
|
1233
|
-
var VizActionHandler_1 = __webpack_require__(
|
|
1158
|
+
var VizActionHandler_1 = __webpack_require__(37); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
|
|
1234
1159
|
|
|
1235
1160
|
|
|
1236
1161
|
exports.INITIAL_WIDTH = 250;
|
|
@@ -1363,15 +1288,15 @@ SplunkVisualization.defaultProps = {
|
|
|
1363
1288
|
exports.default = SplunkVisualization;
|
|
1364
1289
|
|
|
1365
1290
|
/***/ }),
|
|
1366
|
-
/*
|
|
1291
|
+
/* 37 */
|
|
1367
1292
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1368
1293
|
|
|
1369
1294
|
"use strict";
|
|
1370
1295
|
|
|
1371
1296
|
|
|
1372
|
-
var _classCallCheck = __webpack_require__(
|
|
1297
|
+
var _classCallCheck = __webpack_require__(10);
|
|
1373
1298
|
|
|
1374
|
-
var _createClass = __webpack_require__(
|
|
1299
|
+
var _createClass = __webpack_require__(18);
|
|
1375
1300
|
|
|
1376
1301
|
Object.defineProperty(exports, "__esModule", {
|
|
1377
1302
|
value: true
|
|
@@ -1400,7 +1325,7 @@ var DefaultVizActionHandler = /*#__PURE__*/function () {
|
|
|
1400
1325
|
exports.DefaultVizActionHandler = DefaultVizActionHandler;
|
|
1401
1326
|
|
|
1402
1327
|
/***/ }),
|
|
1403
|
-
/*
|
|
1328
|
+
/* 38 */
|
|
1404
1329
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1405
1330
|
|
|
1406
1331
|
"use strict";
|
|
@@ -1413,7 +1338,7 @@ exports.validSortDirs = void 0;
|
|
|
1413
1338
|
exports.validSortDirs = ['asc', 'desc', 'none'];
|
|
1414
1339
|
|
|
1415
1340
|
/***/ }),
|
|
1416
|
-
/*
|
|
1341
|
+
/* 39 */
|
|
1417
1342
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1418
1343
|
|
|
1419
1344
|
"use strict";
|
|
@@ -1426,7 +1351,7 @@ exports.useDeepMemo = void 0;
|
|
|
1426
1351
|
|
|
1427
1352
|
var react_1 = __webpack_require__(1);
|
|
1428
1353
|
|
|
1429
|
-
var lodash_1 = __webpack_require__(
|
|
1354
|
+
var lodash_1 = __webpack_require__(3);
|
|
1430
1355
|
/**
|
|
1431
1356
|
* This hook evaluates and stores the result of a passed function and only
|
|
1432
1357
|
* re-evaluates the function when passed dependencies change.
|
|
@@ -1458,7 +1383,7 @@ var useDeepMemo = function useDeepMemo(fn, dependencies) {
|
|
|
1458
1383
|
exports.useDeepMemo = useDeepMemo;
|
|
1459
1384
|
|
|
1460
1385
|
/***/ }),
|
|
1461
|
-
/*
|
|
1386
|
+
/* 40 */
|
|
1462
1387
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1463
1388
|
|
|
1464
1389
|
"use strict";
|
|
@@ -1473,11 +1398,11 @@ var React = __webpack_require__(1);
|
|
|
1473
1398
|
|
|
1474
1399
|
var T = __webpack_require__(0);
|
|
1475
1400
|
|
|
1476
|
-
var i18n_1 = __webpack_require__(
|
|
1401
|
+
var i18n_1 = __webpack_require__(2);
|
|
1477
1402
|
|
|
1478
|
-
var Message_1 = __webpack_require__(
|
|
1403
|
+
var Message_1 = __webpack_require__(9);
|
|
1479
1404
|
|
|
1480
|
-
var FixedSizeContainer_1 = __webpack_require__(
|
|
1405
|
+
var FixedSizeContainer_1 = __webpack_require__(12);
|
|
1481
1406
|
/**
|
|
1482
1407
|
* @method isMissing
|
|
1483
1408
|
* @param {any} v
|
|
@@ -1538,7 +1463,7 @@ exports.MissingPropsMessage.defaultProps = {
|
|
|
1538
1463
|
exports.default = FixedSizeContainer_1.default(exports.MissingPropsMessage);
|
|
1539
1464
|
|
|
1540
1465
|
/***/ }),
|
|
1541
|
-
/*
|
|
1466
|
+
/* 41 */
|
|
1542
1467
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1543
1468
|
|
|
1544
1469
|
"use strict";
|
|
@@ -1552,14 +1477,14 @@ var React = __webpack_require__(1);
|
|
|
1552
1477
|
|
|
1553
1478
|
var styled_components_1 = __webpack_require__(4);
|
|
1554
1479
|
|
|
1555
|
-
var hocUtils_1 = __webpack_require__(
|
|
1480
|
+
var hocUtils_1 = __webpack_require__(13);
|
|
1556
1481
|
|
|
1557
1482
|
var Cover = styled_components_1.default.div.withConfig({
|
|
1558
1483
|
displayName: "withEditModeCover__Cover",
|
|
1559
1484
|
componentId: "sc-1gsbnxb-0"
|
|
1560
1485
|
})(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
|
|
1561
1486
|
var Blocker = styled_components_1.default.div.attrs({
|
|
1562
|
-
'data-splunk-visualization-version': "25.0
|
|
1487
|
+
'data-splunk-visualization-version': "25.1.0 - 812a9a4d8"
|
|
1563
1488
|
}).withConfig({
|
|
1564
1489
|
displayName: "withEditModeCover__Blocker",
|
|
1565
1490
|
componentId: "sc-1gsbnxb-1"
|
|
@@ -1589,12 +1514,6 @@ var withEditModeCover = function withEditModeCover(Visualization, disableEditMod
|
|
|
1589
1514
|
|
|
1590
1515
|
exports.default = withEditModeCover;
|
|
1591
1516
|
|
|
1592
|
-
/***/ }),
|
|
1593
|
-
/* 41 */
|
|
1594
|
-
/***/ (function(module, exports) {
|
|
1595
|
-
|
|
1596
|
-
module.exports = require("@splunk/visualizations-shared/mapUtils");
|
|
1597
|
-
|
|
1598
1517
|
/***/ }),
|
|
1599
1518
|
/* 42 */
|
|
1600
1519
|
/***/ (function(module, exports, __webpack_require__) {
|
|
@@ -1608,15 +1527,15 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1608
1527
|
|
|
1609
1528
|
var React = __webpack_require__(1);
|
|
1610
1529
|
|
|
1611
|
-
var colorUtils_1 = __webpack_require__(
|
|
1530
|
+
var colorUtils_1 = __webpack_require__(11);
|
|
1612
1531
|
|
|
1613
|
-
var variables_1 = __webpack_require__(
|
|
1532
|
+
var variables_1 = __webpack_require__(8);
|
|
1614
1533
|
|
|
1615
|
-
var IconPlaceholder_1 = __webpack_require__(
|
|
1534
|
+
var IconPlaceholder_1 = __webpack_require__(27);
|
|
1616
1535
|
|
|
1617
1536
|
var VizBehavior_1 = __webpack_require__(5);
|
|
1618
1537
|
|
|
1619
|
-
var hocUtils_1 = __webpack_require__(
|
|
1538
|
+
var hocUtils_1 = __webpack_require__(13);
|
|
1620
1539
|
|
|
1621
1540
|
var withPlaceholder = function withPlaceholder(Visualization) {
|
|
1622
1541
|
var useIconPlaceholder = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : IconPlaceholder_1.shouldShowIconPlaceholder;
|
|
@@ -1736,10 +1655,10 @@ VizStyleWrapper.displayName = 'VizStyleWrapper';
|
|
|
1736
1655
|
|
|
1737
1656
|
"use strict";
|
|
1738
1657
|
__webpack_require__.r(__webpack_exports__);
|
|
1739
|
-
/* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
1658
|
+
/* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
|
|
1740
1659
|
/* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__);
|
|
1741
|
-
/* harmony import */ var
|
|
1742
|
-
/* harmony import */ var
|
|
1660
|
+
/* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(17);
|
|
1661
|
+
/* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__);
|
|
1743
1662
|
|
|
1744
1663
|
|
|
1745
1664
|
var StaticBackgroundColorEditor = {
|
|
@@ -1748,7 +1667,7 @@ var StaticBackgroundColorEditor = {
|
|
|
1748
1667
|
editor: 'editor.color',
|
|
1749
1668
|
showEditor: function showEditor(_ref) {
|
|
1750
1669
|
var options = _ref.options;
|
|
1751
|
-
return !Object(
|
|
1670
|
+
return !Object(_splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__["isDynamicOption"])(options.backgroundColor);
|
|
1752
1671
|
}
|
|
1753
1672
|
};
|
|
1754
1673
|
/* harmony default export */ __webpack_exports__["default"] = (StaticBackgroundColorEditor);
|
|
@@ -1769,25 +1688,25 @@ var StaticBackgroundColorEditor = {
|
|
|
1769
1688
|
/* 90 */,
|
|
1770
1689
|
/* 91 */,
|
|
1771
1690
|
/* 92 */,
|
|
1772
|
-
/* 93
|
|
1691
|
+
/* 93 */,
|
|
1692
|
+
/* 94 */
|
|
1773
1693
|
/***/ (function(module, exports) {
|
|
1774
1694
|
|
|
1775
1695
|
module.exports = require("@babel/runtime/helpers/inherits");
|
|
1776
1696
|
|
|
1777
1697
|
/***/ }),
|
|
1778
|
-
/*
|
|
1698
|
+
/* 95 */
|
|
1779
1699
|
/***/ (function(module, exports) {
|
|
1780
1700
|
|
|
1781
1701
|
module.exports = require("@babel/runtime/helpers/possibleConstructorReturn");
|
|
1782
1702
|
|
|
1783
1703
|
/***/ }),
|
|
1784
|
-
/*
|
|
1704
|
+
/* 96 */
|
|
1785
1705
|
/***/ (function(module, exports) {
|
|
1786
1706
|
|
|
1787
1707
|
module.exports = require("@babel/runtime/helpers/getPrototypeOf");
|
|
1788
1708
|
|
|
1789
1709
|
/***/ }),
|
|
1790
|
-
/* 96 */,
|
|
1791
1710
|
/* 97 */,
|
|
1792
1711
|
/* 98 */,
|
|
1793
1712
|
/* 99 */,
|
|
@@ -1812,21 +1731,22 @@ module.exports = require("@babel/runtime/helpers/getPrototypeOf");
|
|
|
1812
1731
|
/* 118 */,
|
|
1813
1732
|
/* 119 */,
|
|
1814
1733
|
/* 120 */,
|
|
1815
|
-
/* 121
|
|
1734
|
+
/* 121 */,
|
|
1735
|
+
/* 122 */
|
|
1816
1736
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1817
1737
|
|
|
1818
1738
|
"use strict";
|
|
1819
1739
|
|
|
1820
1740
|
|
|
1821
|
-
var _classCallCheck = __webpack_require__(
|
|
1741
|
+
var _classCallCheck = __webpack_require__(10);
|
|
1822
1742
|
|
|
1823
|
-
var _createClass = __webpack_require__(
|
|
1743
|
+
var _createClass = __webpack_require__(18);
|
|
1824
1744
|
|
|
1825
|
-
var _inherits = __webpack_require__(
|
|
1745
|
+
var _inherits = __webpack_require__(94);
|
|
1826
1746
|
|
|
1827
|
-
var _possibleConstructorReturn = __webpack_require__(
|
|
1747
|
+
var _possibleConstructorReturn = __webpack_require__(95);
|
|
1828
1748
|
|
|
1829
|
-
var _getPrototypeOf = __webpack_require__(
|
|
1749
|
+
var _getPrototypeOf = __webpack_require__(96);
|
|
1830
1750
|
|
|
1831
1751
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
1832
1752
|
|
|
@@ -1838,9 +1758,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1838
1758
|
|
|
1839
1759
|
var React = __webpack_require__(1);
|
|
1840
1760
|
|
|
1841
|
-
var lodash_1 = __webpack_require__(
|
|
1761
|
+
var lodash_1 = __webpack_require__(3);
|
|
1842
1762
|
|
|
1843
|
-
var SvgMutator_1 = __webpack_require__(
|
|
1763
|
+
var SvgMutator_1 = __webpack_require__(163);
|
|
1844
1764
|
/**
|
|
1845
1765
|
* This react component simply take an SVG document, and mutates it by applying data to the document according to
|
|
1846
1766
|
* dataBindings. The data (data prop) is processed by performing the mutation once for each 'row' of the data even though the data is formatted as columns.
|
|
@@ -1968,7 +1888,6 @@ SvgChoroplethDynamic.defaultProps = {
|
|
|
1968
1888
|
};
|
|
1969
1889
|
|
|
1970
1890
|
/***/ }),
|
|
1971
|
-
/* 122 */,
|
|
1972
1891
|
/* 123 */,
|
|
1973
1892
|
/* 124 */,
|
|
1974
1893
|
/* 125 */,
|
|
@@ -2002,7 +1921,8 @@ SvgChoroplethDynamic.defaultProps = {
|
|
|
2002
1921
|
/* 153 */,
|
|
2003
1922
|
/* 154 */,
|
|
2004
1923
|
/* 155 */,
|
|
2005
|
-
/* 156
|
|
1924
|
+
/* 156 */,
|
|
1925
|
+
/* 157 */
|
|
2006
1926
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2007
1927
|
|
|
2008
1928
|
"use strict";
|
|
@@ -2030,25 +1950,25 @@ var React = __webpack_require__(1);
|
|
|
2030
1950
|
|
|
2031
1951
|
var T = __webpack_require__(0);
|
|
2032
1952
|
|
|
2033
|
-
var lodash_1 = __webpack_require__(
|
|
1953
|
+
var lodash_1 = __webpack_require__(3);
|
|
2034
1954
|
|
|
2035
|
-
var FeatureFlagContext_1 = __webpack_require__(
|
|
1955
|
+
var FeatureFlagContext_1 = __webpack_require__(158);
|
|
2036
1956
|
|
|
2037
|
-
var ImageContext_1 = __webpack_require__(
|
|
1957
|
+
var ImageContext_1 = __webpack_require__(159);
|
|
2038
1958
|
|
|
2039
|
-
var FileDownloader_1 = __webpack_require__(
|
|
1959
|
+
var FileDownloader_1 = __webpack_require__(160);
|
|
2040
1960
|
|
|
2041
|
-
var Downloader_1 = __webpack_require__(
|
|
1961
|
+
var Downloader_1 = __webpack_require__(161);
|
|
2042
1962
|
|
|
2043
|
-
var withDashboardViz_1 = __webpack_require__(
|
|
1963
|
+
var withDashboardViz_1 = __webpack_require__(31);
|
|
2044
1964
|
|
|
2045
|
-
var PureChoroplethSvg_1 = __webpack_require__(
|
|
1965
|
+
var PureChoroplethSvg_1 = __webpack_require__(162);
|
|
2046
1966
|
|
|
2047
|
-
var SvgChoroplethDynamic_1 = __webpack_require__(
|
|
1967
|
+
var SvgChoroplethDynamic_1 = __webpack_require__(122);
|
|
2048
1968
|
|
|
2049
|
-
var config_1 = __webpack_require__(
|
|
1969
|
+
var config_1 = __webpack_require__(167);
|
|
2050
1970
|
|
|
2051
|
-
var IconPlaceholder_1 = __webpack_require__(
|
|
1971
|
+
var IconPlaceholder_1 = __webpack_require__(27);
|
|
2052
1972
|
|
|
2053
1973
|
exports.config = config_1.default;
|
|
2054
1974
|
exports.PureChoroplethSvg = PureChoroplethSvg_1.default; // todo: need remove when deleting @splunk/react-visualizations package
|
|
@@ -2132,31 +2052,31 @@ var platformViz = withDashboardViz_1.default({
|
|
|
2132
2052
|
exports.default = platformViz;
|
|
2133
2053
|
|
|
2134
2054
|
/***/ }),
|
|
2135
|
-
/*
|
|
2055
|
+
/* 158 */
|
|
2136
2056
|
/***/ (function(module, exports) {
|
|
2137
2057
|
|
|
2138
2058
|
module.exports = require("@splunk/visualization-context/FeatureFlagContext");
|
|
2139
2059
|
|
|
2140
2060
|
/***/ }),
|
|
2141
|
-
/*
|
|
2061
|
+
/* 159 */
|
|
2142
2062
|
/***/ (function(module, exports) {
|
|
2143
2063
|
|
|
2144
2064
|
module.exports = require("@splunk/visualization-context/ImageContext");
|
|
2145
2065
|
|
|
2146
2066
|
/***/ }),
|
|
2147
|
-
/*
|
|
2067
|
+
/* 160 */
|
|
2148
2068
|
/***/ (function(module, exports) {
|
|
2149
2069
|
|
|
2150
2070
|
module.exports = require("@splunk/visualizations-shared/FileDownloader");
|
|
2151
2071
|
|
|
2152
2072
|
/***/ }),
|
|
2153
|
-
/*
|
|
2073
|
+
/* 161 */
|
|
2154
2074
|
/***/ (function(module, exports) {
|
|
2155
2075
|
|
|
2156
2076
|
module.exports = require("@splunk/visualizations-shared/Downloader");
|
|
2157
2077
|
|
|
2158
2078
|
/***/ }),
|
|
2159
|
-
/*
|
|
2079
|
+
/* 162 */
|
|
2160
2080
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2161
2081
|
|
|
2162
2082
|
"use strict";
|
|
@@ -2184,13 +2104,13 @@ var React = __webpack_require__(1);
|
|
|
2184
2104
|
|
|
2185
2105
|
var styled_components_1 = __webpack_require__(4);
|
|
2186
2106
|
|
|
2187
|
-
var lodash_1 = __webpack_require__(
|
|
2107
|
+
var lodash_1 = __webpack_require__(3);
|
|
2188
2108
|
|
|
2189
|
-
var style_1 = __webpack_require__(
|
|
2109
|
+
var style_1 = __webpack_require__(14);
|
|
2190
2110
|
|
|
2191
|
-
var SizeAwareWrapper_1 = __webpack_require__(
|
|
2111
|
+
var SizeAwareWrapper_1 = __webpack_require__(19);
|
|
2192
2112
|
|
|
2193
|
-
var SvgChoroplethDynamic_1 = __webpack_require__(
|
|
2113
|
+
var SvgChoroplethDynamic_1 = __webpack_require__(122);
|
|
2194
2114
|
|
|
2195
2115
|
var VizStyleWrapper_1 = __webpack_require__(62);
|
|
2196
2116
|
|
|
@@ -2262,15 +2182,15 @@ PureChoroplethSvg.defaultProps = {
|
|
|
2262
2182
|
exports.default = styled_components_1.withTheme(PureChoroplethSvg);
|
|
2263
2183
|
|
|
2264
2184
|
/***/ }),
|
|
2265
|
-
/*
|
|
2185
|
+
/* 163 */
|
|
2266
2186
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2267
2187
|
|
|
2268
2188
|
"use strict";
|
|
2269
2189
|
|
|
2270
2190
|
|
|
2271
|
-
var _classCallCheck = __webpack_require__(
|
|
2191
|
+
var _classCallCheck = __webpack_require__(10);
|
|
2272
2192
|
|
|
2273
|
-
var _createClass = __webpack_require__(
|
|
2193
|
+
var _createClass = __webpack_require__(18);
|
|
2274
2194
|
|
|
2275
2195
|
Object.defineProperty(exports, "__esModule", {
|
|
2276
2196
|
value: true
|
|
@@ -2280,11 +2200,11 @@ exports.SvgMutator = exports.ERROR_NON_ATTRIBUTE_MUTATION = void 0;
|
|
|
2280
2200
|
|
|
2281
2201
|
var React = __webpack_require__(1);
|
|
2282
2202
|
|
|
2283
|
-
var XPath = __webpack_require__(
|
|
2203
|
+
var XPath = __webpack_require__(164);
|
|
2284
2204
|
|
|
2285
|
-
var xmldom_1 = __webpack_require__(
|
|
2205
|
+
var xmldom_1 = __webpack_require__(165);
|
|
2286
2206
|
|
|
2287
|
-
var jexl = __webpack_require__(
|
|
2207
|
+
var jexl = __webpack_require__(166);
|
|
2288
2208
|
/**
|
|
2289
2209
|
* An error message indicating that a mutation has attempted to target anything other than SVG attribute(s)
|
|
2290
2210
|
* @type {string}
|
|
@@ -2688,25 +2608,25 @@ exports.SvgMutator = SvgMutator;
|
|
|
2688
2608
|
SvgMutator.serializer = new xmldom_1.XMLSerializer();
|
|
2689
2609
|
|
|
2690
2610
|
/***/ }),
|
|
2691
|
-
/*
|
|
2611
|
+
/* 164 */
|
|
2692
2612
|
/***/ (function(module, exports) {
|
|
2693
2613
|
|
|
2694
2614
|
module.exports = require("xpath");
|
|
2695
2615
|
|
|
2696
2616
|
/***/ }),
|
|
2697
|
-
/*
|
|
2617
|
+
/* 165 */
|
|
2698
2618
|
/***/ (function(module, exports) {
|
|
2699
2619
|
|
|
2700
2620
|
module.exports = require("@xmldom/xmldom");
|
|
2701
2621
|
|
|
2702
2622
|
/***/ }),
|
|
2703
|
-
/*
|
|
2623
|
+
/* 166 */
|
|
2704
2624
|
/***/ (function(module, exports) {
|
|
2705
2625
|
|
|
2706
2626
|
module.exports = require("jexl");
|
|
2707
2627
|
|
|
2708
2628
|
/***/ }),
|
|
2709
|
-
/*
|
|
2629
|
+
/* 167 */
|
|
2710
2630
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2711
2631
|
|
|
2712
2632
|
"use strict";
|
|
@@ -2716,13 +2636,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2716
2636
|
value: true
|
|
2717
2637
|
});
|
|
2718
2638
|
|
|
2719
|
-
var i18n_1 = __webpack_require__(
|
|
2639
|
+
var i18n_1 = __webpack_require__(2);
|
|
2720
2640
|
|
|
2721
|
-
var pick_1 = __webpack_require__(
|
|
2641
|
+
var pick_1 = __webpack_require__(21);
|
|
2722
2642
|
|
|
2723
|
-
var variables_1 = __webpack_require__(
|
|
2643
|
+
var variables_1 = __webpack_require__(8);
|
|
2724
2644
|
|
|
2725
|
-
var schemaUtils_1 = __webpack_require__(
|
|
2645
|
+
var schemaUtils_1 = __webpack_require__(15);
|
|
2726
2646
|
|
|
2727
2647
|
var PresetPalettes_1 = __webpack_require__(53);
|
|
2728
2648
|
|
|
@@ -2732,9 +2652,9 @@ var placeholders_1 = __webpack_require__(45);
|
|
|
2732
2652
|
|
|
2733
2653
|
var VizBehavior_1 = __webpack_require__(5);
|
|
2734
2654
|
|
|
2735
|
-
var configUtils_1 = __webpack_require__(
|
|
2655
|
+
var configUtils_1 = __webpack_require__(16);
|
|
2736
2656
|
|
|
2737
|
-
var VizCategory_1 = __webpack_require__(
|
|
2657
|
+
var VizCategory_1 = __webpack_require__(30);
|
|
2738
2658
|
|
|
2739
2659
|
var StaticBackgroundColorEditor_1 = __webpack_require__(77);
|
|
2740
2660
|
|
|
@@ -2790,7 +2710,7 @@ var optionsSchema = {
|
|
|
2790
2710
|
type: 'array',
|
|
2791
2711
|
items: {
|
|
2792
2712
|
type: 'string',
|
|
2793
|
-
pattern: schemaUtils_1.
|
|
2713
|
+
pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA
|
|
2794
2714
|
}
|
|
2795
2715
|
},
|
|
2796
2716
|
areaIds: {
|
|
@@ -2813,7 +2733,7 @@ var optionsSchema = {
|
|
|
2813
2733
|
default: '> themes.defaultBackgroundColor',
|
|
2814
2734
|
description: 'the background color behind the SVG, title, and description.',
|
|
2815
2735
|
type: 'string',
|
|
2816
|
-
pattern: schemaUtils_1.
|
|
2736
|
+
pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA
|
|
2817
2737
|
},
|
|
2818
2738
|
svg: {
|
|
2819
2739
|
description: 'Literal svg, or svg data URI.',
|