@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/Line.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 = 182);
|
|
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 */
|
|
198
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
199
|
+
|
|
200
|
+
"use strict";
|
|
201
|
+
|
|
202
|
+
|
|
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);
|
|
210
|
+
|
|
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 */
|
|
162
338
|
/***/ (function(module, exports, __webpack_require__) {
|
|
163
339
|
|
|
164
340
|
"use strict";
|
|
165
341
|
|
|
166
342
|
|
|
167
|
-
var _toConsumableArray = __webpack_require__(
|
|
343
|
+
var _toConsumableArray = __webpack_require__(7);
|
|
168
344
|
|
|
169
|
-
var _defineProperty = __webpack_require__(
|
|
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,308 +570,52 @@ var insertLayout = function insertLayout(layout, index) {
|
|
|
394
570
|
exports.insertLayout = insertLayout;
|
|
395
571
|
|
|
396
572
|
/***/ }),
|
|
397
|
-
/*
|
|
398
|
-
|
|
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 */
|
|
622
|
-
/***/ (function(module, exports) {
|
|
623
|
-
|
|
624
|
-
module.exports = require("@splunk/visualizations-shared/schemaUtils");
|
|
625
|
-
|
|
626
|
-
/***/ }),
|
|
627
|
-
/* 17 */
|
|
573
|
+
/* 17 */,
|
|
574
|
+
/* 18 */
|
|
628
575
|
/***/ (function(module, exports) {
|
|
629
576
|
|
|
630
577
|
module.exports = require("@babel/runtime/helpers/createClass");
|
|
631
578
|
|
|
632
579
|
/***/ }),
|
|
633
|
-
/*
|
|
580
|
+
/* 19 */
|
|
634
581
|
/***/ (function(module, exports) {
|
|
635
582
|
|
|
636
583
|
module.exports = require("@splunk/visualizations-shared/SizeAwareWrapper");
|
|
637
584
|
|
|
638
585
|
/***/ }),
|
|
639
|
-
/*
|
|
640
|
-
/*
|
|
586
|
+
/* 20 */,
|
|
587
|
+
/* 21 */
|
|
641
588
|
/***/ (function(module, exports) {
|
|
642
589
|
|
|
643
590
|
module.exports = require("@splunk/themes/pick");
|
|
644
591
|
|
|
645
592
|
/***/ }),
|
|
646
|
-
/*
|
|
593
|
+
/* 22 */
|
|
647
594
|
/***/ (function(module, exports) {
|
|
648
595
|
|
|
649
596
|
module.exports = require("@splunk/visualization-context/TimezoneContext");
|
|
650
597
|
|
|
651
598
|
/***/ }),
|
|
652
|
-
/*
|
|
599
|
+
/* 23 */
|
|
653
600
|
/***/ (function(module, exports) {
|
|
654
601
|
|
|
655
602
|
module.exports = require("@splunk/visualizations-shared/propUtils");
|
|
656
603
|
|
|
657
604
|
/***/ }),
|
|
658
|
-
/* 23 */,
|
|
659
605
|
/* 24 */
|
|
660
|
-
/***/ (function(module, exports
|
|
661
|
-
|
|
662
|
-
"use strict";
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
Object.defineProperty(exports, "__esModule", {
|
|
666
|
-
value: true
|
|
667
|
-
});
|
|
668
|
-
exports.pickFieldFromJSONSchema = void 0;
|
|
669
|
-
|
|
670
|
-
var lodash_1 = __webpack_require__(2);
|
|
671
|
-
|
|
672
|
-
var pickFieldFromJSONSchema = function pickFieldFromJSONSchema(optionsSchema) {
|
|
673
|
-
var fieldName = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'default';
|
|
674
|
-
return Object.keys(optionsSchema).reduce(function (accum, k) {
|
|
675
|
-
if (lodash_1.has(optionsSchema[k], fieldName)) {
|
|
676
|
-
accum[k] = optionsSchema[k][fieldName];
|
|
677
|
-
} else if (lodash_1.get(optionsSchema, [k, 'type']) === 'object' && lodash_1.has(optionsSchema[k], 'properties')) {
|
|
678
|
-
var nestedSchema = exports.pickFieldFromJSONSchema(optionsSchema[k].properties, fieldName);
|
|
679
|
-
|
|
680
|
-
if (!lodash_1.isEmpty(nestedSchema)) {
|
|
681
|
-
accum[k] = nestedSchema;
|
|
682
|
-
}
|
|
683
|
-
}
|
|
684
|
-
|
|
685
|
-
return accum;
|
|
686
|
-
}, {});
|
|
687
|
-
};
|
|
606
|
+
/***/ (function(module, exports) {
|
|
688
607
|
|
|
689
|
-
exports
|
|
608
|
+
module.exports = require("@splunk/visualizations-shared/hocUtils");
|
|
690
609
|
|
|
691
610
|
/***/ }),
|
|
692
611
|
/* 25 */
|
|
693
612
|
/***/ (function(module, exports) {
|
|
694
613
|
|
|
695
|
-
module.exports = require("@
|
|
614
|
+
module.exports = require("@splunk/visualizations-shared/JSONSchemaUtils");
|
|
696
615
|
|
|
697
616
|
/***/ }),
|
|
698
|
-
/* 26
|
|
617
|
+
/* 26 */,
|
|
618
|
+
/* 27 */
|
|
699
619
|
/***/ (function(module, exports, __webpack_require__) {
|
|
700
620
|
|
|
701
621
|
"use strict";
|
|
@@ -710,13 +630,13 @@ var React = __webpack_require__(1);
|
|
|
710
630
|
|
|
711
631
|
var T = __webpack_require__(0);
|
|
712
632
|
|
|
713
|
-
var lodash_1 = __webpack_require__(
|
|
633
|
+
var lodash_1 = __webpack_require__(3);
|
|
714
634
|
|
|
715
|
-
var i18n_1 = __webpack_require__(
|
|
635
|
+
var i18n_1 = __webpack_require__(2);
|
|
716
636
|
|
|
717
|
-
var Message_1 = __webpack_require__(
|
|
637
|
+
var Message_1 = __webpack_require__(9);
|
|
718
638
|
|
|
719
|
-
var FixedSizeContainer_1 = __webpack_require__(
|
|
639
|
+
var FixedSizeContainer_1 = __webpack_require__(12);
|
|
720
640
|
/**
|
|
721
641
|
* @method shouldShowIconPlaceholder
|
|
722
642
|
* @param {object} dataSources
|
|
@@ -786,13 +706,13 @@ IconPlaceholder.defaultProps = {
|
|
|
786
706
|
exports.default = FixedSizeContainer_1.default(IconPlaceholder);
|
|
787
707
|
|
|
788
708
|
/***/ }),
|
|
789
|
-
/*
|
|
709
|
+
/* 28 */
|
|
790
710
|
/***/ (function(module, exports, __webpack_require__) {
|
|
791
711
|
|
|
792
712
|
"use strict";
|
|
793
713
|
|
|
794
714
|
|
|
795
|
-
var _defineProperty = __webpack_require__(
|
|
715
|
+
var _defineProperty = __webpack_require__(6);
|
|
796
716
|
|
|
797
717
|
Object.defineProperty(exports, "__esModule", {
|
|
798
718
|
value: true
|
|
@@ -801,9 +721,9 @@ exports.getSortingParams = exports.SortParamsPropTypes = void 0;
|
|
|
801
721
|
|
|
802
722
|
var T = __webpack_require__(0);
|
|
803
723
|
|
|
804
|
-
var lodash_1 = __webpack_require__(
|
|
724
|
+
var lodash_1 = __webpack_require__(3);
|
|
805
725
|
|
|
806
|
-
var DataSource_1 = __webpack_require__(
|
|
726
|
+
var DataSource_1 = __webpack_require__(38);
|
|
807
727
|
|
|
808
728
|
exports.SortParamsPropTypes = T.shape({
|
|
809
729
|
currentSortKey: T.string,
|
|
@@ -856,7 +776,7 @@ var getSortingParams = function getSortingParams(_ref) {
|
|
|
856
776
|
exports.getSortingParams = getSortingParams;
|
|
857
777
|
|
|
858
778
|
/***/ }),
|
|
859
|
-
/*
|
|
779
|
+
/* 29 */
|
|
860
780
|
/***/ (function(module, exports, __webpack_require__) {
|
|
861
781
|
|
|
862
782
|
"use strict";
|
|
@@ -869,7 +789,7 @@ exports.getPaginationParams = exports.PaginatorParamsPropTypes = void 0;
|
|
|
869
789
|
|
|
870
790
|
var T = __webpack_require__(0);
|
|
871
791
|
|
|
872
|
-
var lodash_1 = __webpack_require__(
|
|
792
|
+
var lodash_1 = __webpack_require__(3);
|
|
873
793
|
|
|
874
794
|
exports.PaginatorParamsPropTypes = T.shape({
|
|
875
795
|
isPaging: T.bool,
|
|
@@ -920,7 +840,7 @@ var getPaginationParams = function getPaginationParams(_ref) {
|
|
|
920
840
|
exports.getPaginationParams = getPaginationParams;
|
|
921
841
|
|
|
922
842
|
/***/ }),
|
|
923
|
-
/*
|
|
843
|
+
/* 30 */
|
|
924
844
|
/***/ (function(module, exports, __webpack_require__) {
|
|
925
845
|
|
|
926
846
|
"use strict";
|
|
@@ -948,7 +868,7 @@ var VizCategory;
|
|
|
948
868
|
})(VizCategory = exports.VizCategory || (exports.VizCategory = {}));
|
|
949
869
|
|
|
950
870
|
/***/ }),
|
|
951
|
-
/*
|
|
871
|
+
/* 31 */
|
|
952
872
|
/***/ (function(module, exports, __webpack_require__) {
|
|
953
873
|
|
|
954
874
|
"use strict";
|
|
@@ -960,39 +880,39 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
960
880
|
|
|
961
881
|
var React = __webpack_require__(1);
|
|
962
882
|
|
|
963
|
-
var lodash_1 = __webpack_require__(
|
|
883
|
+
var lodash_1 = __webpack_require__(3);
|
|
964
884
|
|
|
965
|
-
var getSettingsFromThemedProps_1 = __webpack_require__(
|
|
885
|
+
var getSettingsFromThemedProps_1 = __webpack_require__(32);
|
|
966
886
|
|
|
967
|
-
var Options_1 = __webpack_require__(
|
|
887
|
+
var Options_1 = __webpack_require__(33);
|
|
968
888
|
|
|
969
|
-
var SanitizeProps_1 = __webpack_require__(
|
|
889
|
+
var SanitizeProps_1 = __webpack_require__(34);
|
|
970
890
|
|
|
971
|
-
var TimezoneContext_1 = __webpack_require__(
|
|
891
|
+
var TimezoneContext_1 = __webpack_require__(22);
|
|
972
892
|
|
|
973
|
-
var moment_1 = __webpack_require__(
|
|
893
|
+
var moment_1 = __webpack_require__(35);
|
|
974
894
|
|
|
975
895
|
var styled_components_1 = __webpack_require__(4);
|
|
976
896
|
|
|
977
|
-
var
|
|
897
|
+
var hocUtils_1 = __webpack_require__(24);
|
|
978
898
|
|
|
979
|
-
var
|
|
899
|
+
var JSONSchemaUtils_1 = __webpack_require__(25);
|
|
980
900
|
|
|
981
|
-
var
|
|
901
|
+
var SplunkVisualization_1 = __webpack_require__(36);
|
|
982
902
|
|
|
983
|
-
var
|
|
903
|
+
var VizBehavior_1 = __webpack_require__(5);
|
|
984
904
|
|
|
985
|
-
var
|
|
905
|
+
var getSorting_1 = __webpack_require__(28);
|
|
986
906
|
|
|
987
|
-
var
|
|
907
|
+
var getPagination_1 = __webpack_require__(29);
|
|
988
908
|
|
|
989
|
-
var
|
|
909
|
+
var useDeepMemo_1 = __webpack_require__(39);
|
|
990
910
|
|
|
991
|
-
var
|
|
911
|
+
var MissingPropsMessage_1 = __webpack_require__(40);
|
|
992
912
|
|
|
993
|
-
var
|
|
913
|
+
var withEditModeCover_1 = __webpack_require__(41);
|
|
994
914
|
|
|
995
|
-
var
|
|
915
|
+
var withPlaceholder_1 = __webpack_require__(42);
|
|
996
916
|
/**
|
|
997
917
|
* hoc that wraps a pure react visualization in a Dashboard visualization
|
|
998
918
|
* @param {DashboardVizOpts} opts
|
|
@@ -1193,37 +1113,37 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
1193
1113
|
exports.default = withDashboardViz;
|
|
1194
1114
|
|
|
1195
1115
|
/***/ }),
|
|
1196
|
-
/*
|
|
1116
|
+
/* 32 */
|
|
1197
1117
|
/***/ (function(module, exports) {
|
|
1198
1118
|
|
|
1199
1119
|
module.exports = require("@splunk/themes/getSettingsFromThemedProps");
|
|
1200
1120
|
|
|
1201
1121
|
/***/ }),
|
|
1202
|
-
/*
|
|
1122
|
+
/* 33 */
|
|
1203
1123
|
/***/ (function(module, exports) {
|
|
1204
1124
|
|
|
1205
1125
|
module.exports = require("@splunk/visualization-encoding/Options");
|
|
1206
1126
|
|
|
1207
1127
|
/***/ }),
|
|
1208
|
-
/*
|
|
1128
|
+
/* 34 */
|
|
1209
1129
|
/***/ (function(module, exports) {
|
|
1210
1130
|
|
|
1211
1131
|
module.exports = require("@splunk/visualizations-shared/SanitizeProps");
|
|
1212
1132
|
|
|
1213
1133
|
/***/ }),
|
|
1214
|
-
/*
|
|
1134
|
+
/* 35 */
|
|
1215
1135
|
/***/ (function(module, exports) {
|
|
1216
1136
|
|
|
1217
1137
|
module.exports = require("@splunk/moment");
|
|
1218
1138
|
|
|
1219
1139
|
/***/ }),
|
|
1220
|
-
/*
|
|
1140
|
+
/* 36 */
|
|
1221
1141
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1222
1142
|
|
|
1223
1143
|
"use strict";
|
|
1224
1144
|
|
|
1225
1145
|
|
|
1226
|
-
var _classCallCheck = __webpack_require__(
|
|
1146
|
+
var _classCallCheck = __webpack_require__(10);
|
|
1227
1147
|
|
|
1228
1148
|
Object.defineProperty(exports, "__esModule", {
|
|
1229
1149
|
value: true
|
|
@@ -1233,9 +1153,9 @@ exports.INITIAL_HEIGHT = exports.INITIAL_WIDTH = void 0;
|
|
|
1233
1153
|
|
|
1234
1154
|
var T = __webpack_require__(0);
|
|
1235
1155
|
|
|
1236
|
-
var lodash_1 = __webpack_require__(
|
|
1156
|
+
var lodash_1 = __webpack_require__(3);
|
|
1237
1157
|
|
|
1238
|
-
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
|
|
1239
1159
|
|
|
1240
1160
|
|
|
1241
1161
|
exports.INITIAL_WIDTH = 250;
|
|
@@ -1368,15 +1288,15 @@ SplunkVisualization.defaultProps = {
|
|
|
1368
1288
|
exports.default = SplunkVisualization;
|
|
1369
1289
|
|
|
1370
1290
|
/***/ }),
|
|
1371
|
-
/*
|
|
1291
|
+
/* 37 */
|
|
1372
1292
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1373
1293
|
|
|
1374
1294
|
"use strict";
|
|
1375
1295
|
|
|
1376
1296
|
|
|
1377
|
-
var _classCallCheck = __webpack_require__(
|
|
1297
|
+
var _classCallCheck = __webpack_require__(10);
|
|
1378
1298
|
|
|
1379
|
-
var _createClass = __webpack_require__(
|
|
1299
|
+
var _createClass = __webpack_require__(18);
|
|
1380
1300
|
|
|
1381
1301
|
Object.defineProperty(exports, "__esModule", {
|
|
1382
1302
|
value: true
|
|
@@ -1405,7 +1325,7 @@ var DefaultVizActionHandler = /*#__PURE__*/function () {
|
|
|
1405
1325
|
exports.DefaultVizActionHandler = DefaultVizActionHandler;
|
|
1406
1326
|
|
|
1407
1327
|
/***/ }),
|
|
1408
|
-
/*
|
|
1328
|
+
/* 38 */
|
|
1409
1329
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1410
1330
|
|
|
1411
1331
|
"use strict";
|
|
@@ -1418,7 +1338,7 @@ exports.validSortDirs = void 0;
|
|
|
1418
1338
|
exports.validSortDirs = ['asc', 'desc', 'none'];
|
|
1419
1339
|
|
|
1420
1340
|
/***/ }),
|
|
1421
|
-
/*
|
|
1341
|
+
/* 39 */
|
|
1422
1342
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1423
1343
|
|
|
1424
1344
|
"use strict";
|
|
@@ -1431,7 +1351,7 @@ exports.useDeepMemo = void 0;
|
|
|
1431
1351
|
|
|
1432
1352
|
var react_1 = __webpack_require__(1);
|
|
1433
1353
|
|
|
1434
|
-
var lodash_1 = __webpack_require__(
|
|
1354
|
+
var lodash_1 = __webpack_require__(3);
|
|
1435
1355
|
/**
|
|
1436
1356
|
* This hook evaluates and stores the result of a passed function and only
|
|
1437
1357
|
* re-evaluates the function when passed dependencies change.
|
|
@@ -1463,7 +1383,7 @@ var useDeepMemo = function useDeepMemo(fn, dependencies) {
|
|
|
1463
1383
|
exports.useDeepMemo = useDeepMemo;
|
|
1464
1384
|
|
|
1465
1385
|
/***/ }),
|
|
1466
|
-
/*
|
|
1386
|
+
/* 40 */
|
|
1467
1387
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1468
1388
|
|
|
1469
1389
|
"use strict";
|
|
@@ -1478,11 +1398,11 @@ var React = __webpack_require__(1);
|
|
|
1478
1398
|
|
|
1479
1399
|
var T = __webpack_require__(0);
|
|
1480
1400
|
|
|
1481
|
-
var i18n_1 = __webpack_require__(
|
|
1401
|
+
var i18n_1 = __webpack_require__(2);
|
|
1482
1402
|
|
|
1483
|
-
var Message_1 = __webpack_require__(
|
|
1403
|
+
var Message_1 = __webpack_require__(9);
|
|
1484
1404
|
|
|
1485
|
-
var FixedSizeContainer_1 = __webpack_require__(
|
|
1405
|
+
var FixedSizeContainer_1 = __webpack_require__(12);
|
|
1486
1406
|
/**
|
|
1487
1407
|
* @method isMissing
|
|
1488
1408
|
* @param {any} v
|
|
@@ -1543,7 +1463,7 @@ exports.MissingPropsMessage.defaultProps = {
|
|
|
1543
1463
|
exports.default = FixedSizeContainer_1.default(exports.MissingPropsMessage);
|
|
1544
1464
|
|
|
1545
1465
|
/***/ }),
|
|
1546
|
-
/*
|
|
1466
|
+
/* 41 */
|
|
1547
1467
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1548
1468
|
|
|
1549
1469
|
"use strict";
|
|
@@ -1557,14 +1477,14 @@ var React = __webpack_require__(1);
|
|
|
1557
1477
|
|
|
1558
1478
|
var styled_components_1 = __webpack_require__(4);
|
|
1559
1479
|
|
|
1560
|
-
var hocUtils_1 = __webpack_require__(
|
|
1480
|
+
var hocUtils_1 = __webpack_require__(13);
|
|
1561
1481
|
|
|
1562
1482
|
var Cover = styled_components_1.default.div.withConfig({
|
|
1563
1483
|
displayName: "withEditModeCover__Cover",
|
|
1564
1484
|
componentId: "sc-1gsbnxb-0"
|
|
1565
1485
|
})(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
|
|
1566
1486
|
var Blocker = styled_components_1.default.div.attrs({
|
|
1567
|
-
'data-splunk-visualization-version': "25.0
|
|
1487
|
+
'data-splunk-visualization-version': "25.1.0 - 812a9a4d8"
|
|
1568
1488
|
}).withConfig({
|
|
1569
1489
|
displayName: "withEditModeCover__Blocker",
|
|
1570
1490
|
componentId: "sc-1gsbnxb-1"
|
|
@@ -1594,12 +1514,6 @@ var withEditModeCover = function withEditModeCover(Visualization, disableEditMod
|
|
|
1594
1514
|
|
|
1595
1515
|
exports.default = withEditModeCover;
|
|
1596
1516
|
|
|
1597
|
-
/***/ }),
|
|
1598
|
-
/* 41 */
|
|
1599
|
-
/***/ (function(module, exports) {
|
|
1600
|
-
|
|
1601
|
-
module.exports = require("@splunk/visualizations-shared/mapUtils");
|
|
1602
|
-
|
|
1603
1517
|
/***/ }),
|
|
1604
1518
|
/* 42 */
|
|
1605
1519
|
/***/ (function(module, exports, __webpack_require__) {
|
|
@@ -1613,15 +1527,15 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1613
1527
|
|
|
1614
1528
|
var React = __webpack_require__(1);
|
|
1615
1529
|
|
|
1616
|
-
var colorUtils_1 = __webpack_require__(
|
|
1530
|
+
var colorUtils_1 = __webpack_require__(11);
|
|
1617
1531
|
|
|
1618
|
-
var variables_1 = __webpack_require__(
|
|
1532
|
+
var variables_1 = __webpack_require__(8);
|
|
1619
1533
|
|
|
1620
|
-
var IconPlaceholder_1 = __webpack_require__(
|
|
1534
|
+
var IconPlaceholder_1 = __webpack_require__(27);
|
|
1621
1535
|
|
|
1622
1536
|
var VizBehavior_1 = __webpack_require__(5);
|
|
1623
1537
|
|
|
1624
|
-
var hocUtils_1 = __webpack_require__(
|
|
1538
|
+
var hocUtils_1 = __webpack_require__(13);
|
|
1625
1539
|
|
|
1626
1540
|
var withPlaceholder = function withPlaceholder(Visualization) {
|
|
1627
1541
|
var useIconPlaceholder = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : IconPlaceholder_1.shouldShowIconPlaceholder;
|
|
@@ -1696,7 +1610,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1696
1610
|
value: true
|
|
1697
1611
|
});
|
|
1698
1612
|
|
|
1699
|
-
var i18n_1 = __webpack_require__(
|
|
1613
|
+
var i18n_1 = __webpack_require__(2);
|
|
1700
1614
|
|
|
1701
1615
|
var background = function background(_ref) {
|
|
1702
1616
|
var label = _ref.label,
|
|
@@ -1722,7 +1636,7 @@ exports.default = background;
|
|
|
1722
1636
|
"use strict";
|
|
1723
1637
|
|
|
1724
1638
|
|
|
1725
|
-
var _toConsumableArray = __webpack_require__(
|
|
1639
|
+
var _toConsumableArray = __webpack_require__(7);
|
|
1726
1640
|
|
|
1727
1641
|
var __rest = this && this.__rest || function (s, e) {
|
|
1728
1642
|
var t = {};
|
|
@@ -1742,7 +1656,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1742
1656
|
});
|
|
1743
1657
|
exports.constructFieldsAndColumns = exports.toArrayForSeries = exports.isMultiSeriesData = exports.convertOverlayFields = exports.convertY2AxisOptions = exports.mapToValues = exports.truncateData = exports.getAnnotations = void 0;
|
|
1744
1658
|
|
|
1745
|
-
var lodash_1 = __webpack_require__(
|
|
1659
|
+
var lodash_1 = __webpack_require__(3);
|
|
1746
1660
|
/**
|
|
1747
1661
|
* Get formatted annotations
|
|
1748
1662
|
* @method getAnnotations
|
|
@@ -1958,9 +1872,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1958
1872
|
exports.updateRowPayload = exports.canUpdateInPlace = exports.changedOptions = exports.NO_INPLACE_PROPS = void 0;
|
|
1959
1873
|
/* eslint-disable react/no-unused-prop-types */
|
|
1960
1874
|
|
|
1961
|
-
var lodash_1 = __webpack_require__(
|
|
1875
|
+
var lodash_1 = __webpack_require__(3);
|
|
1962
1876
|
|
|
1963
|
-
var i18n_1 = __webpack_require__(
|
|
1877
|
+
var i18n_1 = __webpack_require__(2);
|
|
1964
1878
|
|
|
1965
1879
|
var visualization_color_palettes_1 = __webpack_require__(44);
|
|
1966
1880
|
|
|
@@ -1977,13 +1891,13 @@ __webpack_require__(57); // fixme, @splunk/charting should be refactor to use lo
|
|
|
1977
1891
|
|
|
1978
1892
|
var charting_bundle_1 = __webpack_require__(51);
|
|
1979
1893
|
|
|
1980
|
-
var TimezoneContext_1 = __webpack_require__(
|
|
1894
|
+
var TimezoneContext_1 = __webpack_require__(22);
|
|
1981
1895
|
|
|
1982
|
-
var style_1 = __webpack_require__(
|
|
1896
|
+
var style_1 = __webpack_require__(14);
|
|
1983
1897
|
|
|
1984
1898
|
var styled_components_1 = __webpack_require__(4);
|
|
1985
1899
|
|
|
1986
|
-
var Message_1 = __webpack_require__(
|
|
1900
|
+
var Message_1 = __webpack_require__(9);
|
|
1987
1901
|
|
|
1988
1902
|
var useSplunkTheme_1 = __webpack_require__(58);
|
|
1989
1903
|
|
|
@@ -2398,9 +2312,9 @@ module.exports = require("@splunk/visualizations-shared/themeUtils");
|
|
|
2398
2312
|
"use strict";
|
|
2399
2313
|
|
|
2400
2314
|
|
|
2401
|
-
var _classCallCheck = __webpack_require__(
|
|
2315
|
+
var _classCallCheck = __webpack_require__(10);
|
|
2402
2316
|
|
|
2403
|
-
var _createClass = __webpack_require__(
|
|
2317
|
+
var _createClass = __webpack_require__(18);
|
|
2404
2318
|
|
|
2405
2319
|
Object.defineProperty(exports, "__esModule", {
|
|
2406
2320
|
value: true
|
|
@@ -2473,16 +2387,16 @@ module.exports = require("@splunk/visualizations-shared/simpleXMLOptions");
|
|
|
2473
2387
|
"use strict";
|
|
2474
2388
|
|
|
2475
2389
|
|
|
2476
|
-
var _toConsumableArray = __webpack_require__(
|
|
2390
|
+
var _toConsumableArray = __webpack_require__(7);
|
|
2477
2391
|
|
|
2478
2392
|
Object.defineProperty(exports, "__esModule", {
|
|
2479
2393
|
value: true
|
|
2480
2394
|
});
|
|
2481
2395
|
exports.AxesChartDataConfigAreaColumnLine = exports.AxesChartDataConfigBubble = exports.AxesChartDataConfigScatter = exports.AxesChartDataConfigBar = void 0;
|
|
2482
2396
|
|
|
2483
|
-
var i18n_1 = __webpack_require__(
|
|
2397
|
+
var i18n_1 = __webpack_require__(2);
|
|
2484
2398
|
|
|
2485
|
-
var configUtils_1 = __webpack_require__(
|
|
2399
|
+
var configUtils_1 = __webpack_require__(16);
|
|
2486
2400
|
|
|
2487
2401
|
var AxesChartDataConfig = {
|
|
2488
2402
|
label: i18n_1._('Data configurations'),
|
|
@@ -2523,15 +2437,35 @@ exports.AxesChartDataConfigBar = {
|
|
|
2523
2437
|
};
|
|
2524
2438
|
exports.AxesChartDataConfigScatter = {
|
|
2525
2439
|
label: AxesChartDataConfig.label,
|
|
2526
|
-
|
|
2527
|
-
|
|
2440
|
+
layout: [[{
|
|
2441
|
+
label: i18n_1._('X'),
|
|
2442
|
+
option: 'x',
|
|
2443
|
+
editor: 'editor.columnSelector',
|
|
2444
|
+
editorProps: {
|
|
2445
|
+
dataSourceKey: 'primary'
|
|
2446
|
+
}
|
|
2447
|
+
}], [{
|
|
2448
|
+
label: i18n_1._('Y'),
|
|
2449
|
+
option: 'y',
|
|
2450
|
+
editor: 'editor.columnSelector',
|
|
2451
|
+
editorProps: {
|
|
2452
|
+
dataSourceKey: 'primary'
|
|
2453
|
+
}
|
|
2454
|
+
}], [{
|
|
2528
2455
|
label: i18n_1._('Category'),
|
|
2529
2456
|
option: 'category',
|
|
2530
2457
|
editor: 'editor.columnSelector',
|
|
2531
2458
|
editorProps: {
|
|
2532
2459
|
dataSourceKey: 'primary'
|
|
2533
2460
|
}
|
|
2534
|
-
}]
|
|
2461
|
+
}], [{
|
|
2462
|
+
label: i18n_1._('Result limit'),
|
|
2463
|
+
option: 'resultLimit',
|
|
2464
|
+
editor: 'editor.number',
|
|
2465
|
+
editorProps: {
|
|
2466
|
+
dataSourceKey: 'primary'
|
|
2467
|
+
}
|
|
2468
|
+
}]]
|
|
2535
2469
|
};
|
|
2536
2470
|
exports.AxesChartDataConfigBubble = {
|
|
2537
2471
|
label: exports.AxesChartDataConfigScatter.label,
|
|
@@ -2576,11 +2510,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2576
2510
|
value: true
|
|
2577
2511
|
});
|
|
2578
2512
|
|
|
2579
|
-
var i18n_1 = __webpack_require__(
|
|
2513
|
+
var i18n_1 = __webpack_require__(2);
|
|
2580
2514
|
|
|
2581
|
-
var pick_1 = __webpack_require__(
|
|
2515
|
+
var pick_1 = __webpack_require__(21);
|
|
2582
2516
|
|
|
2583
|
-
var variables_1 = __webpack_require__(
|
|
2517
|
+
var variables_1 = __webpack_require__(8);
|
|
2584
2518
|
|
|
2585
2519
|
var BackgroundColor_1 = __webpack_require__(49);
|
|
2586
2520
|
|
|
@@ -2599,23 +2533,15 @@ var AxesChartColorAndStyle = {
|
|
|
2599
2533
|
label: i18n_1._('Color and style'),
|
|
2600
2534
|
layout: [BackgroundColor_1.default({
|
|
2601
2535
|
themes: themes
|
|
2602
|
-
})
|
|
2603
|
-
|
|
2604
|
-
|
|
2605
|
-
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
|
-
|
|
2611
|
-
// [
|
|
2612
|
-
// {
|
|
2613
|
-
// label: _('Series colors by field name'),
|
|
2614
|
-
// option: 'seriesColorsByField',
|
|
2615
|
-
// editor: 'editor.seriesColorsByField',
|
|
2616
|
-
// },
|
|
2617
|
-
// ],
|
|
2618
|
-
]
|
|
2536
|
+
}), [{
|
|
2537
|
+
label: i18n_1._('Series colors'),
|
|
2538
|
+
option: 'seriesColors',
|
|
2539
|
+
editor: 'editor.seriesColors'
|
|
2540
|
+
}], [{
|
|
2541
|
+
label: i18n_1._('Series colors by field name'),
|
|
2542
|
+
option: 'seriesColorsByField',
|
|
2543
|
+
editor: 'editor.seriesColorsByField'
|
|
2544
|
+
}]]
|
|
2619
2545
|
};
|
|
2620
2546
|
exports.default = AxesChartColorAndStyle;
|
|
2621
2547
|
|
|
@@ -2630,7 +2556,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2630
2556
|
value: true
|
|
2631
2557
|
});
|
|
2632
2558
|
|
|
2633
|
-
var i18n_1 = __webpack_require__(
|
|
2559
|
+
var i18n_1 = __webpack_require__(2);
|
|
2634
2560
|
|
|
2635
2561
|
var AxesChartLegend = {
|
|
2636
2562
|
label: i18n_1._('Legend'),
|
|
@@ -2690,16 +2616,16 @@ exports.default = AxesChartLegend;
|
|
|
2690
2616
|
"use strict";
|
|
2691
2617
|
|
|
2692
2618
|
|
|
2693
|
-
var _toConsumableArray = __webpack_require__(
|
|
2619
|
+
var _toConsumableArray = __webpack_require__(7);
|
|
2694
2620
|
|
|
2695
2621
|
Object.defineProperty(exports, "__esModule", {
|
|
2696
2622
|
value: true
|
|
2697
2623
|
});
|
|
2698
2624
|
exports.AxesChartXGridAndLabelsBubbleScatter = exports.AxesChartXGridAndLabelsCommon = void 0;
|
|
2699
2625
|
|
|
2700
|
-
var i18n_1 = __webpack_require__(
|
|
2626
|
+
var i18n_1 = __webpack_require__(2);
|
|
2701
2627
|
|
|
2702
|
-
var configUtils_1 = __webpack_require__(
|
|
2628
|
+
var configUtils_1 = __webpack_require__(16);
|
|
2703
2629
|
|
|
2704
2630
|
exports.AxesChartXGridAndLabelsCommon = {
|
|
2705
2631
|
label: i18n_1._('X-axis grid and labels'),
|
|
@@ -2738,7 +2664,7 @@ var AxesChartXGridAndLabels = {
|
|
|
2738
2664
|
layout: [].concat(_toConsumableArray(exports.AxesChartXGridAndLabelsCommon.layout), [[{
|
|
2739
2665
|
label: i18n_1._('Label rotation'),
|
|
2740
2666
|
option: 'xAxisLabelRotation',
|
|
2741
|
-
editor: 'editor.
|
|
2667
|
+
editor: 'editor.select',
|
|
2742
2668
|
editorProps: {
|
|
2743
2669
|
values: [{
|
|
2744
2670
|
label: i18n_1._('-90'),
|
|
@@ -2982,7 +2908,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2982
2908
|
value: true
|
|
2983
2909
|
});
|
|
2984
2910
|
|
|
2985
|
-
var i18n_1 = __webpack_require__(
|
|
2911
|
+
var i18n_1 = __webpack_require__(2);
|
|
2986
2912
|
|
|
2987
2913
|
var AxesChartYGridAndLabels = {
|
|
2988
2914
|
label: i18n_1._('Y-axis grid and labels'),
|
|
@@ -3147,18 +3073,18 @@ exports.default = AxesChartYGridAndLabels;
|
|
|
3147
3073
|
"use strict";
|
|
3148
3074
|
|
|
3149
3075
|
|
|
3150
|
-
var _toConsumableArray = __webpack_require__(
|
|
3076
|
+
var _toConsumableArray = __webpack_require__(7);
|
|
3151
3077
|
|
|
3152
3078
|
Object.defineProperty(exports, "__esModule", {
|
|
3153
3079
|
value: true
|
|
3154
3080
|
});
|
|
3155
3081
|
exports.AxesChartDataDisplayColumn = exports.AxesChartDataDisplayBar = exports.AxesChartDataDisplayLine = void 0;
|
|
3156
3082
|
|
|
3157
|
-
var i18n_1 = __webpack_require__(
|
|
3083
|
+
var i18n_1 = __webpack_require__(2);
|
|
3158
3084
|
|
|
3159
|
-
var lodash_1 = __webpack_require__(
|
|
3085
|
+
var lodash_1 = __webpack_require__(3);
|
|
3160
3086
|
|
|
3161
|
-
var configUtils_1 = __webpack_require__(
|
|
3087
|
+
var configUtils_1 = __webpack_require__(16);
|
|
3162
3088
|
|
|
3163
3089
|
exports.AxesChartDataDisplayLine = {
|
|
3164
3090
|
label: i18n_1._('Data display'),
|
|
@@ -3194,13 +3120,6 @@ exports.AxesChartDataDisplayLine = {
|
|
|
3194
3120
|
value: 'minmax'
|
|
3195
3121
|
}]
|
|
3196
3122
|
}
|
|
3197
|
-
}], [{
|
|
3198
|
-
label: i18n_1._('Overlay fields'),
|
|
3199
|
-
option: 'overlayFields',
|
|
3200
|
-
editor: 'editor.columnMultiSelector',
|
|
3201
|
-
editorProps: {
|
|
3202
|
-
dataSourceKey: 'primary'
|
|
3203
|
-
}
|
|
3204
3123
|
}], [{
|
|
3205
3124
|
label: i18n_1._('Split series'),
|
|
3206
3125
|
option: 'showSplitSeries',
|
|
@@ -3220,7 +3139,7 @@ var AxesChartDataDisplay = {
|
|
|
3220
3139
|
layout: [[{
|
|
3221
3140
|
label: i18n_1._('Stack mode'),
|
|
3222
3141
|
option: 'stackMode',
|
|
3223
|
-
editor: 'editor.
|
|
3142
|
+
editor: 'editor.select',
|
|
3224
3143
|
editorProps: {
|
|
3225
3144
|
values: [{
|
|
3226
3145
|
label: i18n_1._('Not stacked'),
|
|
@@ -3240,7 +3159,7 @@ exports.AxesChartDataDisplayBar = {
|
|
|
3240
3159
|
layout: [[{
|
|
3241
3160
|
label: i18n_1._('Stack mode'),
|
|
3242
3161
|
option: 'stackMode',
|
|
3243
|
-
editor: 'editor.
|
|
3162
|
+
editor: 'editor.select',
|
|
3244
3163
|
editorProps: {
|
|
3245
3164
|
values: [{
|
|
3246
3165
|
label: i18n_1._('Not stacked'),
|
|
@@ -3289,7 +3208,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3289
3208
|
value: true
|
|
3290
3209
|
});
|
|
3291
3210
|
|
|
3292
|
-
var i18n_1 = __webpack_require__(
|
|
3211
|
+
var i18n_1 = __webpack_require__(2);
|
|
3293
3212
|
|
|
3294
3213
|
var axesChartY2GridAndLabels = {
|
|
3295
3214
|
label: i18n_1._('Y2-axis grid and labels'),
|
|
@@ -3305,10 +3224,6 @@ var axesChartY2GridAndLabels = {
|
|
|
3305
3224
|
var options = _ref.options;
|
|
3306
3225
|
return options.y2AxisTitleVisibility === 'show' || options.y2AxisTitleVisibility === undefined;
|
|
3307
3226
|
}
|
|
3308
|
-
}], [{
|
|
3309
|
-
label: i18n_1._('Show overlays on the y2-axis'),
|
|
3310
|
-
option: 'showOverlayY2Axis',
|
|
3311
|
-
editor: 'editor.checkbox'
|
|
3312
3227
|
}], [{
|
|
3313
3228
|
label: i18n_1._('Scale'),
|
|
3314
3229
|
option: 'y2AxisScale',
|
|
@@ -3498,7 +3413,8 @@ exports.default = axesChartY2GridAndLabels;
|
|
|
3498
3413
|
/* 123 */,
|
|
3499
3414
|
/* 124 */,
|
|
3500
3415
|
/* 125 */,
|
|
3501
|
-
/* 126
|
|
3416
|
+
/* 126 */,
|
|
3417
|
+
/* 127 */
|
|
3502
3418
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3503
3419
|
|
|
3504
3420
|
"use strict";
|
|
@@ -3522,7 +3438,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3522
3438
|
});
|
|
3523
3439
|
exports.config = exports.themes = exports.computeVizProps = void 0;
|
|
3524
3440
|
|
|
3525
|
-
var lodash_1 = __webpack_require__(
|
|
3441
|
+
var lodash_1 = __webpack_require__(3); // Charting imports i18n which needs to be run to instantiate window globals in the tests
|
|
3526
3442
|
// eslint-disable-next-line import/order
|
|
3527
3443
|
|
|
3528
3444
|
|
|
@@ -3532,13 +3448,13 @@ var charting_bundle_1 = __webpack_require__(51);
|
|
|
3532
3448
|
|
|
3533
3449
|
var simpleXMLOptions_1 = __webpack_require__(61);
|
|
3534
3450
|
|
|
3535
|
-
var config_1 = __webpack_require__(
|
|
3451
|
+
var config_1 = __webpack_require__(183);
|
|
3536
3452
|
|
|
3537
3453
|
exports.config = config_1.default;
|
|
3538
3454
|
|
|
3539
|
-
var withDashboardViz_1 = __webpack_require__(
|
|
3455
|
+
var withDashboardViz_1 = __webpack_require__(31);
|
|
3540
3456
|
|
|
3541
|
-
var lineUtils_1 = __webpack_require__(
|
|
3457
|
+
var lineUtils_1 = __webpack_require__(184);
|
|
3542
3458
|
|
|
3543
3459
|
var chartingUtils_1 = __webpack_require__(50);
|
|
3544
3460
|
|
|
@@ -3620,7 +3536,6 @@ exports.themes = themes;
|
|
|
3620
3536
|
exports.default = Line;
|
|
3621
3537
|
|
|
3622
3538
|
/***/ }),
|
|
3623
|
-
/* 127 */,
|
|
3624
3539
|
/* 128 */,
|
|
3625
3540
|
/* 129 */,
|
|
3626
3541
|
/* 130 */,
|
|
@@ -3674,7 +3589,8 @@ exports.default = Line;
|
|
|
3674
3589
|
/* 178 */,
|
|
3675
3590
|
/* 179 */,
|
|
3676
3591
|
/* 180 */,
|
|
3677
|
-
/* 181
|
|
3592
|
+
/* 181 */,
|
|
3593
|
+
/* 182 */
|
|
3678
3594
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3679
3595
|
|
|
3680
3596
|
"use strict";
|
|
@@ -3704,9 +3620,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3704
3620
|
});
|
|
3705
3621
|
exports.default = void 0;
|
|
3706
3622
|
|
|
3707
|
-
__exportStar(__webpack_require__(
|
|
3623
|
+
__exportStar(__webpack_require__(127), exports);
|
|
3708
3624
|
|
|
3709
|
-
var Line_1 = __webpack_require__(
|
|
3625
|
+
var Line_1 = __webpack_require__(127);
|
|
3710
3626
|
|
|
3711
3627
|
Object.defineProperty(exports, "default", {
|
|
3712
3628
|
enumerable: true,
|
|
@@ -3716,19 +3632,19 @@ Object.defineProperty(exports, "default", {
|
|
|
3716
3632
|
});
|
|
3717
3633
|
|
|
3718
3634
|
/***/ }),
|
|
3719
|
-
/*
|
|
3635
|
+
/* 183 */
|
|
3720
3636
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3721
3637
|
|
|
3722
3638
|
"use strict";
|
|
3723
3639
|
|
|
3724
3640
|
|
|
3725
|
-
var _toConsumableArray = __webpack_require__(
|
|
3641
|
+
var _toConsumableArray = __webpack_require__(7);
|
|
3726
3642
|
|
|
3727
3643
|
Object.defineProperty(exports, "__esModule", {
|
|
3728
3644
|
value: true
|
|
3729
3645
|
});
|
|
3730
3646
|
|
|
3731
|
-
var schemaUtils_1 = __webpack_require__(
|
|
3647
|
+
var schemaUtils_1 = __webpack_require__(15);
|
|
3732
3648
|
|
|
3733
3649
|
var visualization_color_palettes_1 = __webpack_require__(44);
|
|
3734
3650
|
|
|
@@ -3736,11 +3652,11 @@ var visualization_icons_1 = __webpack_require__(46);
|
|
|
3736
3652
|
|
|
3737
3653
|
var placeholders_1 = __webpack_require__(45);
|
|
3738
3654
|
|
|
3739
|
-
var i18n_1 = __webpack_require__(
|
|
3655
|
+
var i18n_1 = __webpack_require__(2);
|
|
3740
3656
|
|
|
3741
|
-
var pick_1 = __webpack_require__(
|
|
3657
|
+
var pick_1 = __webpack_require__(21);
|
|
3742
3658
|
|
|
3743
|
-
var variables_1 = __webpack_require__(
|
|
3659
|
+
var variables_1 = __webpack_require__(8);
|
|
3744
3660
|
|
|
3745
3661
|
var AxesChartDataConfig_1 = __webpack_require__(63);
|
|
3746
3662
|
|
|
@@ -3758,9 +3674,9 @@ var AxesChartY2GridAndLabels_1 = __webpack_require__(76);
|
|
|
3758
3674
|
|
|
3759
3675
|
var VizBehavior_1 = __webpack_require__(5);
|
|
3760
3676
|
|
|
3761
|
-
var VizCategory_1 = __webpack_require__(
|
|
3677
|
+
var VizCategory_1 = __webpack_require__(30);
|
|
3762
3678
|
|
|
3763
|
-
var configUtils_1 = __webpack_require__(
|
|
3679
|
+
var configUtils_1 = __webpack_require__(16);
|
|
3764
3680
|
|
|
3765
3681
|
var dataContract = {
|
|
3766
3682
|
requiredDataSources: [{
|
|
@@ -3845,7 +3761,7 @@ var optionsSchema = {
|
|
|
3845
3761
|
backgroundColor: {
|
|
3846
3762
|
default: '> themes.defaultBackgroundColor',
|
|
3847
3763
|
description: 'Specify the color for the background. You may use a dataSource 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".',
|
|
3848
|
-
pattern: schemaUtils_1.
|
|
3764
|
+
pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
|
|
3849
3765
|
type: 'string'
|
|
3850
3766
|
},
|
|
3851
3767
|
dataValuesDisplay: {
|
|
@@ -4328,7 +4244,7 @@ var config = {
|
|
|
4328
4244
|
exports.default = configUtils_1.enhanceConfig(config);
|
|
4329
4245
|
|
|
4330
4246
|
/***/ }),
|
|
4331
|
-
/*
|
|
4247
|
+
/* 184 */
|
|
4332
4248
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4333
4249
|
|
|
4334
4250
|
"use strict";
|
|
@@ -4339,9 +4255,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4339
4255
|
});
|
|
4340
4256
|
exports.convertToLineSCProperties = exports.convertToStringValues = exports.mapToOldKey = exports.convertMarkerOptions = exports.lineOptionValuesSCMapping = void 0;
|
|
4341
4257
|
|
|
4342
|
-
var lodash_1 = __webpack_require__(
|
|
4258
|
+
var lodash_1 = __webpack_require__(3);
|
|
4343
4259
|
|
|
4344
|
-
var propUtils_1 = __webpack_require__(
|
|
4260
|
+
var propUtils_1 = __webpack_require__(23);
|
|
4345
4261
|
|
|
4346
4262
|
var chartingUtils_1 = __webpack_require__(50); // map for key names which are either new or not present in SimpleXML options mapping
|
|
4347
4263
|
|