@splunk/visualizations 25.0.0 → 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_basic.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMap_custom_base_layer_tile_server.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMap_marker_layer_dynamic_color.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMap_marker_layer_static_color.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMap_marker_layer_static_color_with_no_seriesColors.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMap_scale_off.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMap_scale_unit_metric.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/.loki/reference/chrome_docker_Visualizations_Line_Line_Placeholder_if_datasource_does_not_have_any_data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Placeholder_if_viz_does_not_connect_to_datasource.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Basic_Map.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Bubble_Layer.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Bubble_Layer_Geostats_By_GET.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Bubble_Layer_Geostats_By_GET_Dynamic_Coloring.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Bubble_Layer_Geostats_By_Internal_Fields.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Bubble_Layer_Geostats_By_Static_Coloring.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Bubble_Layer_Geostats_Dynamic_Coloring.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Marker_layer.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Marker_layer_Dynamic_coloring.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Marker_layer_Result_Limit_Set_To_3.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Restricted_Zoom.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Set_Map_tiles.png +0 -0
- package/Area.config.js +166 -152
- package/Area.config.js.map +1 -1
- package/Area.js +362 -433
- package/Area.js.map +1 -1
- package/Bar.config.js +168 -148
- package/Bar.config.js.map +1 -1
- package/Bar.js +364 -429
- package/Bar.js.map +1 -1
- package/Bubble.config.js +155 -117
- package/Bubble.config.js.map +1 -1
- package/Bubble.js +353 -400
- package/Bubble.js.map +1 -1
- package/ChoroplethSvg.config.js +112 -82
- package/ChoroplethSvg.config.js.map +1 -1
- package/ChoroplethSvg.js +336 -391
- package/ChoroplethSvg.js.map +1 -1
- package/Column.config.js +164 -146
- package/Column.config.js.map +1 -1
- package/Column.js +360 -427
- package/Column.js.map +1 -1
- package/Ellipse.config.js +111 -80
- package/Ellipse.config.js.map +1 -1
- package/Ellipse.js +317 -371
- package/Ellipse.js.map +1 -1
- package/FillerGauge.config.js +117 -86
- package/FillerGauge.config.js.map +1 -1
- package/FillerGauge.js +324 -378
- package/FillerGauge.js.map +1 -1
- package/Image.config.js +100 -76
- package/Image.config.js.map +1 -1
- package/Image.js +725 -789
- package/Image.js.map +1 -1
- package/Line.config.js +164 -137
- package/Line.config.js.map +1 -1
- package/Line.js +360 -418
- package/Line.js.map +1 -1
- package/LinkGraph.config.js +137 -112
- package/LinkGraph.config.js.map +1 -1
- package/LinkGraph.js +351 -410
- package/LinkGraph.js.map +1 -1
- package/Map.config.js +140 -97
- package/Map.config.js.map +1 -1
- package/Map.js +517 -523
- package/Map.js.map +1 -1
- package/Markdown.config.js +138 -115
- package/Markdown.config.js.map +1 -1
- package/Markdown.js +502 -553
- package/Markdown.js.map +1 -1
- package/MarkerGauge.config.js +218 -195
- package/MarkerGauge.config.js.map +1 -1
- package/MarkerGauge.js +2926 -3098
- package/MarkerGauge.js.map +1 -1
- package/ParallelCoordinates.config.js +158 -133
- package/ParallelCoordinates.config.js.map +1 -1
- package/ParallelCoordinates.js +319 -377
- package/ParallelCoordinates.js.map +1 -1
- package/Pie.config.js +160 -136
- package/Pie.config.js.map +1 -1
- package/Pie.js +1316 -1492
- package/Pie.js.map +1 -1
- package/Punchcard.config.js +164 -141
- package/Punchcard.config.js.map +1 -1
- package/Punchcard.js +344 -404
- package/Punchcard.js.map +1 -1
- package/Rectangle.config.js +280 -248
- package/Rectangle.config.js.map +1 -1
- package/Rectangle.js +1247 -1303
- package/Rectangle.js.map +1 -1
- package/Sankey.config.js +175 -143
- package/Sankey.config.js.map +1 -1
- package/Sankey.js +377 -426
- package/Sankey.js.map +1 -1
- package/Scatter.config.js +156 -117
- package/Scatter.config.js.map +1 -1
- package/Scatter.js +550 -601
- package/Scatter.js.map +1 -1
- package/SingleValue.config.js +147 -115
- package/SingleValue.config.js.map +1 -1
- package/SingleValue.js +542 -598
- package/SingleValue.js.map +1 -1
- package/SingleValueBasic.js +19 -19
- package/SingleValueBasic.js.map +1 -1
- package/SingleValueIcon.config.js +154 -120
- package/SingleValueIcon.config.js.map +1 -1
- package/SingleValueIcon.js +373 -424
- package/SingleValueIcon.js.map +1 -1
- package/SingleValueRadial.config.js +143 -111
- package/SingleValueRadial.config.js.map +1 -1
- package/SingleValueRadial.js +612 -668
- package/SingleValueRadial.js.map +1 -1
- package/Table.config.js +176 -152
- package/Table.config.js.map +1 -1
- package/Table.js +740 -797
- 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 -327
- 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 +42 -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/LinkGraph.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 = 185);
|
|
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);
|
|
168
208
|
|
|
169
|
-
var
|
|
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 */
|
|
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
|
|
|
@@ -259,8 +435,10 @@ function enhanceOptionsSchemaWithDynamicOptions(optionsSchema) {
|
|
|
259
435
|
exports.enhanceOptionsSchemaWithDynamicOptions = enhanceOptionsSchemaWithDynamicOptions;
|
|
260
436
|
/**
|
|
261
437
|
* Helper function to enhance a Visualization Config as needed based on behaviors specified in supports block
|
|
438
|
+
* this function also collapse all editor panels
|
|
262
439
|
* @param vizConfig a Visualization Config
|
|
263
440
|
* @returns an enhanced Visualization Config containing updated config entries based on behaviors it supports
|
|
441
|
+
* and containing `open: false` for all editor panels in editorConfig
|
|
264
442
|
*/
|
|
265
443
|
|
|
266
444
|
function enhanceConfig(vizConfig) {
|
|
@@ -270,10 +448,33 @@ function enhanceConfig(vizConfig) {
|
|
|
270
448
|
enhancedConfig.optionsSchema = enhanceOptionsSchemaWithDynamicOptions(vizConfig.optionsSchema);
|
|
271
449
|
}
|
|
272
450
|
|
|
451
|
+
enhancedConfig.editorConfig = vizConfig.editorConfig.map(function (config) {
|
|
452
|
+
return Object.assign(Object.assign({}, config), {
|
|
453
|
+
open: false
|
|
454
|
+
});
|
|
455
|
+
});
|
|
273
456
|
return enhancedConfig;
|
|
274
457
|
}
|
|
275
458
|
|
|
276
459
|
exports.enhanceConfig = enhanceConfig;
|
|
460
|
+
/**
|
|
461
|
+
* Helper function to uncollapse all editor panels by adding `open: true` to the editorConfig
|
|
462
|
+
* Created for editor unit tests
|
|
463
|
+
* @param vizConfig a Visualization Config
|
|
464
|
+
* @returns a Visualization Config containing `open: true` for all editor panels in editorConfig
|
|
465
|
+
*/
|
|
466
|
+
|
|
467
|
+
function uncollapseEditorConfig(vizConfig) {
|
|
468
|
+
var editorPanelUncollapsedConfig = vizConfig;
|
|
469
|
+
editorPanelUncollapsedConfig.editorConfig = vizConfig.editorConfig.map(function (config) {
|
|
470
|
+
return Object.assign(Object.assign({}, config), {
|
|
471
|
+
open: true
|
|
472
|
+
});
|
|
473
|
+
});
|
|
474
|
+
return editorPanelUncollapsedConfig;
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
exports.uncollapseEditorConfig = uncollapseEditorConfig;
|
|
277
478
|
|
|
278
479
|
function isDynamicOption(option) {
|
|
279
480
|
return option && typeof option === 'string' && option.trim().startsWith('>') || false;
|
|
@@ -369,303 +570,47 @@ var insertLayout = function insertLayout(layout, index) {
|
|
|
369
570
|
exports.insertLayout = insertLayout;
|
|
370
571
|
|
|
371
572
|
/***/ }),
|
|
372
|
-
/*
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
module.exports = require("@babel/runtime/helpers/defineProperty");
|
|
376
|
-
|
|
377
|
-
/***/ }),
|
|
378
|
-
/* 8 */
|
|
379
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
380
|
-
|
|
381
|
-
"use strict";
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
var _typeof = __webpack_require__(23);
|
|
385
|
-
|
|
386
|
-
Object.defineProperty(exports, "__esModule", {
|
|
387
|
-
value: true
|
|
388
|
-
});
|
|
389
|
-
exports.deepMergeWithArrayPrimitiveOverrides = exports.extendStaticWrapperProps = void 0;
|
|
390
|
-
|
|
391
|
-
var lodash_1 = __webpack_require__(2);
|
|
392
|
-
|
|
393
|
-
var mapUtils_1 = __webpack_require__(41);
|
|
394
|
-
/**
|
|
395
|
-
* @method extendStaticWrapperProps
|
|
396
|
-
* @param {Object} props
|
|
397
|
-
* @param {DashboardVizType} props.Wrapper
|
|
398
|
-
* @param {DashboardVizType} props.Visualization
|
|
399
|
-
*/
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
var extendStaticWrapperProps = function extendStaticWrapperProps(_ref) {
|
|
403
|
-
var Wrapper = _ref.Wrapper,
|
|
404
|
-
Visualization = _ref.Visualization;
|
|
405
|
-
var extendProperties = ['propTypes', 'defaultProps', 'config'];
|
|
406
|
-
extendProperties.forEach(function (prop) {
|
|
407
|
-
if (Visualization[prop]) {
|
|
408
|
-
// eslint-disable-next-line no-param-reassign
|
|
409
|
-
Wrapper[prop] = Visualization[prop];
|
|
410
|
-
}
|
|
411
|
-
});
|
|
412
|
-
};
|
|
413
|
-
|
|
414
|
-
exports.extendStaticWrapperProps = extendStaticWrapperProps;
|
|
415
|
-
/**
|
|
416
|
-
* helper to deeply merge objects while preserving arrays in earlier source objects
|
|
417
|
-
* 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
|
|
418
|
-
* 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).
|
|
419
|
-
* 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
|
|
420
|
-
* 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.
|
|
421
|
-
*
|
|
422
|
-
* @method deepMergeWithArrayPrimitiveOverrides
|
|
423
|
-
* @param {Object} initial - target object to merge values into
|
|
424
|
-
* @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
|
|
425
|
-
*
|
|
426
|
-
* @returns {Object}
|
|
427
|
-
*/
|
|
428
|
-
|
|
429
|
-
var deepMergeWithArrayPrimitiveOverrides = function deepMergeWithArrayPrimitiveOverrides(initial) {
|
|
430
|
-
var clone = lodash_1.cloneDeep(initial);
|
|
431
|
-
|
|
432
|
-
for (var _len = arguments.length, sources = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
433
|
-
sources[_key - 1] = arguments[_key];
|
|
434
|
-
}
|
|
435
|
-
|
|
436
|
-
sources.forEach(function (sourceToApply) {
|
|
437
|
-
Object.keys(sourceToApply).forEach(function (sourceKey) {
|
|
438
|
-
if (!Object.prototype.hasOwnProperty.call(clone, sourceKey)) {
|
|
439
|
-
clone[sourceKey] = lodash_1.cloneDeep(sourceToApply[sourceKey]);
|
|
440
|
-
}
|
|
441
|
-
|
|
442
|
-
if (clone[sourceKey] && _typeof(clone[sourceKey]) === 'object' && !Array.isArray(clone[sourceKey]) && _typeof(sourceToApply[sourceKey]) === 'object') {
|
|
443
|
-
clone[sourceKey] = exports.deepMergeWithArrayPrimitiveOverrides(clone[sourceKey], sourceToApply[sourceKey]);
|
|
444
|
-
} else if (Array.isArray(clone[sourceKey]) && _typeof(clone[sourceKey][0]) === 'object' && !Array.isArray(clone[sourceKey][0])) {
|
|
445
|
-
// If option is an array of objects
|
|
446
|
-
for (var i = 0; i < clone[sourceKey].length; i += 1) {
|
|
447
|
-
if (_typeof(clone[sourceKey][i]) === 'object') {
|
|
448
|
-
var closestMatchIdx = mapUtils_1.findClosestMatchFromDefaultList(sourceToApply[sourceKey], clone[sourceKey][i]);
|
|
449
|
-
|
|
450
|
-
if (closestMatchIdx > -1) {
|
|
451
|
-
clone[sourceKey][i] = exports.deepMergeWithArrayPrimitiveOverrides(clone[sourceKey][i], sourceToApply[sourceKey][closestMatchIdx]);
|
|
452
|
-
}
|
|
453
|
-
}
|
|
454
|
-
}
|
|
455
|
-
}
|
|
456
|
-
});
|
|
457
|
-
});
|
|
458
|
-
return clone;
|
|
459
|
-
};
|
|
460
|
-
|
|
461
|
-
exports.deepMergeWithArrayPrimitiveOverrides = deepMergeWithArrayPrimitiveOverrides;
|
|
462
|
-
|
|
463
|
-
/***/ }),
|
|
464
|
-
/* 9 */
|
|
465
|
-
/***/ (function(module, exports) {
|
|
466
|
-
|
|
467
|
-
module.exports = require("@babel/runtime/helpers/toConsumableArray");
|
|
468
|
-
|
|
469
|
-
/***/ }),
|
|
470
|
-
/* 10 */
|
|
471
|
-
/***/ (function(module, exports) {
|
|
472
|
-
|
|
473
|
-
module.exports = require("@splunk/themes/variables");
|
|
474
|
-
|
|
475
|
-
/***/ }),
|
|
476
|
-
/* 11 */
|
|
477
|
-
/***/ (function(module, exports) {
|
|
478
|
-
|
|
479
|
-
module.exports = require("@splunk/visualizations-shared/Message");
|
|
480
|
-
|
|
481
|
-
/***/ }),
|
|
482
|
-
/* 12 */
|
|
483
|
-
/***/ (function(module, exports) {
|
|
484
|
-
|
|
485
|
-
module.exports = require("@babel/runtime/helpers/classCallCheck");
|
|
486
|
-
|
|
487
|
-
/***/ }),
|
|
488
|
-
/* 13 */
|
|
489
|
-
/***/ (function(module, exports) {
|
|
490
|
-
|
|
491
|
-
module.exports = require("@splunk/visualizations-shared/colorUtils");
|
|
492
|
-
|
|
493
|
-
/***/ }),
|
|
494
|
-
/* 14 */
|
|
495
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
496
|
-
|
|
497
|
-
"use strict";
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
Object.defineProperty(exports, "__esModule", {
|
|
501
|
-
value: true
|
|
502
|
-
});
|
|
503
|
-
|
|
504
|
-
var React = __webpack_require__(1);
|
|
505
|
-
|
|
506
|
-
var styled_components_1 = __webpack_require__(4);
|
|
507
|
-
|
|
508
|
-
var SizeAwareWrapper_1 = __webpack_require__(18);
|
|
509
|
-
|
|
510
|
-
var style_1 = __webpack_require__(15);
|
|
511
|
-
|
|
512
|
-
var colorUtils_1 = __webpack_require__(13);
|
|
513
|
-
|
|
514
|
-
var Item = styled_components_1.default.div.attrs(function (_ref) {
|
|
515
|
-
var width = _ref.width;
|
|
516
|
-
return {
|
|
517
|
-
style: {
|
|
518
|
-
width: style_1.toPx(width)
|
|
519
|
-
}
|
|
520
|
-
};
|
|
521
|
-
}).withConfig({
|
|
522
|
-
displayName: "FixedSizeContainer__Item",
|
|
523
|
-
componentId: "sc-1yhgpod-0"
|
|
524
|
-
})(["position:relative;background-color:", "};"], function (props) {
|
|
525
|
-
return colorUtils_1.isColor(props.backgroundColor) && props.backgroundColor || props.theme.defaultBackgroundColor;
|
|
526
|
-
}); // Use `.attrs()` for highly dynamic styles. Ref: https://github.com/styled-components/styled-components/issues/134#issuecomment-312415291
|
|
527
|
-
|
|
528
|
-
var FixSizeItem = styled_components_1.default.div.attrs(function (_ref2) {
|
|
529
|
-
var width = _ref2.width,
|
|
530
|
-
height = _ref2.height;
|
|
531
|
-
return {
|
|
532
|
-
style: Object.assign(Object.assign({}, width && {
|
|
533
|
-
width: style_1.toPx(width)
|
|
534
|
-
}), height && {
|
|
535
|
-
height: style_1.toPx(height)
|
|
536
|
-
})
|
|
537
|
-
};
|
|
538
|
-
}).withConfig({
|
|
539
|
-
displayName: "FixedSizeContainer__FixSizeItem",
|
|
540
|
-
componentId: "sc-1yhgpod-1"
|
|
541
|
-
})(["position:relative;flex-direction:column;flex:1;display:flex;background-color:", "};"], function (props) {
|
|
542
|
-
return colorUtils_1.isColor(props.backgroundColor) && props.backgroundColor || props.theme.defaultBackgroundColor;
|
|
543
|
-
});
|
|
544
|
-
var ItemContent = styled_components_1.default.div.withConfig({
|
|
545
|
-
displayName: "FixedSizeContainer__ItemContent",
|
|
546
|
-
componentId: "sc-1yhgpod-2"
|
|
547
|
-
})(["position:relative;min-height:100px;width:100%;"]);
|
|
548
|
-
var FixSizeItemContent = styled_components_1.default.div.withConfig({
|
|
549
|
-
displayName: "FixedSizeContainer__FixSizeItemContent",
|
|
550
|
-
componentId: "sc-1yhgpod-3"
|
|
551
|
-
})(["min-height:0px;flex:1;position:relative;box-sizing:border-box;"]);
|
|
552
|
-
|
|
553
|
-
var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
|
|
554
|
-
var FixedSizeContainer = function FixedSizeContainer(props) {
|
|
555
|
-
var width = props.width,
|
|
556
|
-
height = props.height,
|
|
557
|
-
backgroundColor = props.backgroundColor;
|
|
558
|
-
|
|
559
|
-
if (!height) {
|
|
560
|
-
return React.createElement(Item, {
|
|
561
|
-
"data-test": "item",
|
|
562
|
-
width: width,
|
|
563
|
-
backgroundColor: backgroundColor
|
|
564
|
-
}, React.createElement(ItemContent, null, React.createElement(Viz, Object.assign({}, props))));
|
|
565
|
-
}
|
|
566
|
-
|
|
567
|
-
return React.createElement(FixSizeItem, {
|
|
568
|
-
"data-test": "fix-size-item",
|
|
569
|
-
"data-splunk-visualization-version": "25.0.0 - 5e0f30e5a",
|
|
570
|
-
width: width,
|
|
571
|
-
height: height,
|
|
572
|
-
backgroundColor: backgroundColor
|
|
573
|
-
}, React.createElement(FixSizeItemContent, null, React.createElement(SizeAwareWrapper_1.default, null, function (_ref3) {
|
|
574
|
-
var newWidth = _ref3.width,
|
|
575
|
-
newHeight = _ref3.height;
|
|
576
|
-
return React.createElement(Viz, Object.assign({}, props, {
|
|
577
|
-
width: newWidth,
|
|
578
|
-
height: newHeight
|
|
579
|
-
}));
|
|
580
|
-
})));
|
|
581
|
-
};
|
|
582
|
-
|
|
583
|
-
FixedSizeContainer.displayName = 'withFixedSizeContainer';
|
|
584
|
-
return FixedSizeContainer;
|
|
585
|
-
};
|
|
586
|
-
|
|
587
|
-
exports.default = withFixedSizeContainer;
|
|
588
|
-
|
|
589
|
-
/***/ }),
|
|
590
|
-
/* 15 */
|
|
591
|
-
/***/ (function(module, exports) {
|
|
592
|
-
|
|
593
|
-
module.exports = require("@splunk/visualizations-shared/style");
|
|
594
|
-
|
|
595
|
-
/***/ }),
|
|
596
|
-
/* 16 */
|
|
597
|
-
/***/ (function(module, exports) {
|
|
598
|
-
|
|
599
|
-
module.exports = require("@splunk/visualizations-shared/schemaUtils");
|
|
600
|
-
|
|
601
|
-
/***/ }),
|
|
602
|
-
/* 17 */
|
|
573
|
+
/* 17 */,
|
|
574
|
+
/* 18 */
|
|
603
575
|
/***/ (function(module, exports) {
|
|
604
576
|
|
|
605
577
|
module.exports = require("@babel/runtime/helpers/createClass");
|
|
606
578
|
|
|
607
579
|
/***/ }),
|
|
608
|
-
/*
|
|
580
|
+
/* 19 */
|
|
609
581
|
/***/ (function(module, exports) {
|
|
610
582
|
|
|
611
583
|
module.exports = require("@splunk/visualizations-shared/SizeAwareWrapper");
|
|
612
584
|
|
|
613
585
|
/***/ }),
|
|
614
|
-
/*
|
|
615
|
-
/*
|
|
586
|
+
/* 20 */,
|
|
587
|
+
/* 21 */
|
|
616
588
|
/***/ (function(module, exports) {
|
|
617
589
|
|
|
618
590
|
module.exports = require("@splunk/themes/pick");
|
|
619
591
|
|
|
620
592
|
/***/ }),
|
|
621
|
-
/*
|
|
593
|
+
/* 22 */
|
|
622
594
|
/***/ (function(module, exports) {
|
|
623
595
|
|
|
624
596
|
module.exports = require("@splunk/visualization-context/TimezoneContext");
|
|
625
597
|
|
|
626
598
|
/***/ }),
|
|
627
|
-
/*
|
|
628
|
-
/*
|
|
599
|
+
/* 23 */,
|
|
600
|
+
/* 24 */
|
|
629
601
|
/***/ (function(module, exports) {
|
|
630
602
|
|
|
631
|
-
module.exports = require("@
|
|
603
|
+
module.exports = require("@splunk/visualizations-shared/hocUtils");
|
|
632
604
|
|
|
633
605
|
/***/ }),
|
|
634
|
-
/* 24 */,
|
|
635
606
|
/* 25 */
|
|
636
|
-
/***/ (function(module, exports
|
|
637
|
-
|
|
638
|
-
"use strict";
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
Object.defineProperty(exports, "__esModule", {
|
|
642
|
-
value: true
|
|
643
|
-
});
|
|
644
|
-
exports.pickFieldFromJSONSchema = void 0;
|
|
645
|
-
|
|
646
|
-
var lodash_1 = __webpack_require__(2);
|
|
647
|
-
|
|
648
|
-
var pickFieldFromJSONSchema = function pickFieldFromJSONSchema(optionsSchema) {
|
|
649
|
-
var fieldName = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'default';
|
|
650
|
-
return Object.keys(optionsSchema).reduce(function (accum, k) {
|
|
651
|
-
if (lodash_1.has(optionsSchema[k], fieldName)) {
|
|
652
|
-
accum[k] = optionsSchema[k][fieldName];
|
|
653
|
-
} else if (lodash_1.get(optionsSchema, [k, 'type']) === 'object' && lodash_1.has(optionsSchema[k], 'properties')) {
|
|
654
|
-
var nestedSchema = exports.pickFieldFromJSONSchema(optionsSchema[k].properties, fieldName);
|
|
655
|
-
|
|
656
|
-
if (!lodash_1.isEmpty(nestedSchema)) {
|
|
657
|
-
accum[k] = nestedSchema;
|
|
658
|
-
}
|
|
659
|
-
}
|
|
660
|
-
|
|
661
|
-
return accum;
|
|
662
|
-
}, {});
|
|
663
|
-
};
|
|
607
|
+
/***/ (function(module, exports) {
|
|
664
608
|
|
|
665
|
-
exports
|
|
609
|
+
module.exports = require("@splunk/visualizations-shared/JSONSchemaUtils");
|
|
666
610
|
|
|
667
611
|
/***/ }),
|
|
668
|
-
/* 26
|
|
612
|
+
/* 26 */,
|
|
613
|
+
/* 27 */
|
|
669
614
|
/***/ (function(module, exports, __webpack_require__) {
|
|
670
615
|
|
|
671
616
|
"use strict";
|
|
@@ -680,13 +625,13 @@ var React = __webpack_require__(1);
|
|
|
680
625
|
|
|
681
626
|
var T = __webpack_require__(0);
|
|
682
627
|
|
|
683
|
-
var lodash_1 = __webpack_require__(
|
|
628
|
+
var lodash_1 = __webpack_require__(3);
|
|
684
629
|
|
|
685
|
-
var i18n_1 = __webpack_require__(
|
|
630
|
+
var i18n_1 = __webpack_require__(2);
|
|
686
631
|
|
|
687
|
-
var Message_1 = __webpack_require__(
|
|
632
|
+
var Message_1 = __webpack_require__(9);
|
|
688
633
|
|
|
689
|
-
var FixedSizeContainer_1 = __webpack_require__(
|
|
634
|
+
var FixedSizeContainer_1 = __webpack_require__(12);
|
|
690
635
|
/**
|
|
691
636
|
* @method shouldShowIconPlaceholder
|
|
692
637
|
* @param {object} dataSources
|
|
@@ -756,13 +701,13 @@ IconPlaceholder.defaultProps = {
|
|
|
756
701
|
exports.default = FixedSizeContainer_1.default(IconPlaceholder);
|
|
757
702
|
|
|
758
703
|
/***/ }),
|
|
759
|
-
/*
|
|
704
|
+
/* 28 */
|
|
760
705
|
/***/ (function(module, exports, __webpack_require__) {
|
|
761
706
|
|
|
762
707
|
"use strict";
|
|
763
708
|
|
|
764
709
|
|
|
765
|
-
var _defineProperty = __webpack_require__(
|
|
710
|
+
var _defineProperty = __webpack_require__(6);
|
|
766
711
|
|
|
767
712
|
Object.defineProperty(exports, "__esModule", {
|
|
768
713
|
value: true
|
|
@@ -771,9 +716,9 @@ exports.getSortingParams = exports.SortParamsPropTypes = void 0;
|
|
|
771
716
|
|
|
772
717
|
var T = __webpack_require__(0);
|
|
773
718
|
|
|
774
|
-
var lodash_1 = __webpack_require__(
|
|
719
|
+
var lodash_1 = __webpack_require__(3);
|
|
775
720
|
|
|
776
|
-
var DataSource_1 = __webpack_require__(
|
|
721
|
+
var DataSource_1 = __webpack_require__(38);
|
|
777
722
|
|
|
778
723
|
exports.SortParamsPropTypes = T.shape({
|
|
779
724
|
currentSortKey: T.string,
|
|
@@ -826,7 +771,7 @@ var getSortingParams = function getSortingParams(_ref) {
|
|
|
826
771
|
exports.getSortingParams = getSortingParams;
|
|
827
772
|
|
|
828
773
|
/***/ }),
|
|
829
|
-
/*
|
|
774
|
+
/* 29 */
|
|
830
775
|
/***/ (function(module, exports, __webpack_require__) {
|
|
831
776
|
|
|
832
777
|
"use strict";
|
|
@@ -839,7 +784,7 @@ exports.getPaginationParams = exports.PaginatorParamsPropTypes = void 0;
|
|
|
839
784
|
|
|
840
785
|
var T = __webpack_require__(0);
|
|
841
786
|
|
|
842
|
-
var lodash_1 = __webpack_require__(
|
|
787
|
+
var lodash_1 = __webpack_require__(3);
|
|
843
788
|
|
|
844
789
|
exports.PaginatorParamsPropTypes = T.shape({
|
|
845
790
|
isPaging: T.bool,
|
|
@@ -890,7 +835,7 @@ var getPaginationParams = function getPaginationParams(_ref) {
|
|
|
890
835
|
exports.getPaginationParams = getPaginationParams;
|
|
891
836
|
|
|
892
837
|
/***/ }),
|
|
893
|
-
/*
|
|
838
|
+
/* 30 */
|
|
894
839
|
/***/ (function(module, exports, __webpack_require__) {
|
|
895
840
|
|
|
896
841
|
"use strict";
|
|
@@ -918,7 +863,7 @@ var VizCategory;
|
|
|
918
863
|
})(VizCategory = exports.VizCategory || (exports.VizCategory = {}));
|
|
919
864
|
|
|
920
865
|
/***/ }),
|
|
921
|
-
/*
|
|
866
|
+
/* 31 */
|
|
922
867
|
/***/ (function(module, exports, __webpack_require__) {
|
|
923
868
|
|
|
924
869
|
"use strict";
|
|
@@ -930,39 +875,39 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
930
875
|
|
|
931
876
|
var React = __webpack_require__(1);
|
|
932
877
|
|
|
933
|
-
var lodash_1 = __webpack_require__(
|
|
878
|
+
var lodash_1 = __webpack_require__(3);
|
|
934
879
|
|
|
935
|
-
var getSettingsFromThemedProps_1 = __webpack_require__(
|
|
880
|
+
var getSettingsFromThemedProps_1 = __webpack_require__(32);
|
|
936
881
|
|
|
937
|
-
var Options_1 = __webpack_require__(
|
|
882
|
+
var Options_1 = __webpack_require__(33);
|
|
938
883
|
|
|
939
|
-
var SanitizeProps_1 = __webpack_require__(
|
|
884
|
+
var SanitizeProps_1 = __webpack_require__(34);
|
|
940
885
|
|
|
941
|
-
var TimezoneContext_1 = __webpack_require__(
|
|
886
|
+
var TimezoneContext_1 = __webpack_require__(22);
|
|
942
887
|
|
|
943
|
-
var moment_1 = __webpack_require__(
|
|
888
|
+
var moment_1 = __webpack_require__(35);
|
|
944
889
|
|
|
945
890
|
var styled_components_1 = __webpack_require__(4);
|
|
946
891
|
|
|
947
|
-
var
|
|
892
|
+
var hocUtils_1 = __webpack_require__(24);
|
|
948
893
|
|
|
949
|
-
var
|
|
894
|
+
var JSONSchemaUtils_1 = __webpack_require__(25);
|
|
950
895
|
|
|
951
|
-
var
|
|
896
|
+
var SplunkVisualization_1 = __webpack_require__(36);
|
|
952
897
|
|
|
953
|
-
var
|
|
898
|
+
var VizBehavior_1 = __webpack_require__(5);
|
|
954
899
|
|
|
955
|
-
var
|
|
900
|
+
var getSorting_1 = __webpack_require__(28);
|
|
956
901
|
|
|
957
|
-
var
|
|
902
|
+
var getPagination_1 = __webpack_require__(29);
|
|
958
903
|
|
|
959
|
-
var
|
|
904
|
+
var useDeepMemo_1 = __webpack_require__(39);
|
|
960
905
|
|
|
961
|
-
var
|
|
906
|
+
var MissingPropsMessage_1 = __webpack_require__(40);
|
|
962
907
|
|
|
963
|
-
var
|
|
908
|
+
var withEditModeCover_1 = __webpack_require__(41);
|
|
964
909
|
|
|
965
|
-
var
|
|
910
|
+
var withPlaceholder_1 = __webpack_require__(42);
|
|
966
911
|
/**
|
|
967
912
|
* hoc that wraps a pure react visualization in a Dashboard visualization
|
|
968
913
|
* @param {DashboardVizOpts} opts
|
|
@@ -1163,37 +1108,37 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
1163
1108
|
exports.default = withDashboardViz;
|
|
1164
1109
|
|
|
1165
1110
|
/***/ }),
|
|
1166
|
-
/*
|
|
1111
|
+
/* 32 */
|
|
1167
1112
|
/***/ (function(module, exports) {
|
|
1168
1113
|
|
|
1169
1114
|
module.exports = require("@splunk/themes/getSettingsFromThemedProps");
|
|
1170
1115
|
|
|
1171
1116
|
/***/ }),
|
|
1172
|
-
/*
|
|
1117
|
+
/* 33 */
|
|
1173
1118
|
/***/ (function(module, exports) {
|
|
1174
1119
|
|
|
1175
1120
|
module.exports = require("@splunk/visualization-encoding/Options");
|
|
1176
1121
|
|
|
1177
1122
|
/***/ }),
|
|
1178
|
-
/*
|
|
1123
|
+
/* 34 */
|
|
1179
1124
|
/***/ (function(module, exports) {
|
|
1180
1125
|
|
|
1181
1126
|
module.exports = require("@splunk/visualizations-shared/SanitizeProps");
|
|
1182
1127
|
|
|
1183
1128
|
/***/ }),
|
|
1184
|
-
/*
|
|
1129
|
+
/* 35 */
|
|
1185
1130
|
/***/ (function(module, exports) {
|
|
1186
1131
|
|
|
1187
1132
|
module.exports = require("@splunk/moment");
|
|
1188
1133
|
|
|
1189
1134
|
/***/ }),
|
|
1190
|
-
/*
|
|
1135
|
+
/* 36 */
|
|
1191
1136
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1192
1137
|
|
|
1193
1138
|
"use strict";
|
|
1194
1139
|
|
|
1195
1140
|
|
|
1196
|
-
var _classCallCheck = __webpack_require__(
|
|
1141
|
+
var _classCallCheck = __webpack_require__(10);
|
|
1197
1142
|
|
|
1198
1143
|
Object.defineProperty(exports, "__esModule", {
|
|
1199
1144
|
value: true
|
|
@@ -1203,9 +1148,9 @@ exports.INITIAL_HEIGHT = exports.INITIAL_WIDTH = void 0;
|
|
|
1203
1148
|
|
|
1204
1149
|
var T = __webpack_require__(0);
|
|
1205
1150
|
|
|
1206
|
-
var lodash_1 = __webpack_require__(
|
|
1151
|
+
var lodash_1 = __webpack_require__(3);
|
|
1207
1152
|
|
|
1208
|
-
var VizActionHandler_1 = __webpack_require__(
|
|
1153
|
+
var VizActionHandler_1 = __webpack_require__(37); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
|
|
1209
1154
|
|
|
1210
1155
|
|
|
1211
1156
|
exports.INITIAL_WIDTH = 250;
|
|
@@ -1338,15 +1283,15 @@ SplunkVisualization.defaultProps = {
|
|
|
1338
1283
|
exports.default = SplunkVisualization;
|
|
1339
1284
|
|
|
1340
1285
|
/***/ }),
|
|
1341
|
-
/*
|
|
1286
|
+
/* 37 */
|
|
1342
1287
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1343
1288
|
|
|
1344
1289
|
"use strict";
|
|
1345
1290
|
|
|
1346
1291
|
|
|
1347
|
-
var _classCallCheck = __webpack_require__(
|
|
1292
|
+
var _classCallCheck = __webpack_require__(10);
|
|
1348
1293
|
|
|
1349
|
-
var _createClass = __webpack_require__(
|
|
1294
|
+
var _createClass = __webpack_require__(18);
|
|
1350
1295
|
|
|
1351
1296
|
Object.defineProperty(exports, "__esModule", {
|
|
1352
1297
|
value: true
|
|
@@ -1375,7 +1320,7 @@ var DefaultVizActionHandler = /*#__PURE__*/function () {
|
|
|
1375
1320
|
exports.DefaultVizActionHandler = DefaultVizActionHandler;
|
|
1376
1321
|
|
|
1377
1322
|
/***/ }),
|
|
1378
|
-
/*
|
|
1323
|
+
/* 38 */
|
|
1379
1324
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1380
1325
|
|
|
1381
1326
|
"use strict";
|
|
@@ -1388,7 +1333,7 @@ exports.validSortDirs = void 0;
|
|
|
1388
1333
|
exports.validSortDirs = ['asc', 'desc', 'none'];
|
|
1389
1334
|
|
|
1390
1335
|
/***/ }),
|
|
1391
|
-
/*
|
|
1336
|
+
/* 39 */
|
|
1392
1337
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1393
1338
|
|
|
1394
1339
|
"use strict";
|
|
@@ -1401,7 +1346,7 @@ exports.useDeepMemo = void 0;
|
|
|
1401
1346
|
|
|
1402
1347
|
var react_1 = __webpack_require__(1);
|
|
1403
1348
|
|
|
1404
|
-
var lodash_1 = __webpack_require__(
|
|
1349
|
+
var lodash_1 = __webpack_require__(3);
|
|
1405
1350
|
/**
|
|
1406
1351
|
* This hook evaluates and stores the result of a passed function and only
|
|
1407
1352
|
* re-evaluates the function when passed dependencies change.
|
|
@@ -1433,7 +1378,7 @@ var useDeepMemo = function useDeepMemo(fn, dependencies) {
|
|
|
1433
1378
|
exports.useDeepMemo = useDeepMemo;
|
|
1434
1379
|
|
|
1435
1380
|
/***/ }),
|
|
1436
|
-
/*
|
|
1381
|
+
/* 40 */
|
|
1437
1382
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1438
1383
|
|
|
1439
1384
|
"use strict";
|
|
@@ -1448,11 +1393,11 @@ var React = __webpack_require__(1);
|
|
|
1448
1393
|
|
|
1449
1394
|
var T = __webpack_require__(0);
|
|
1450
1395
|
|
|
1451
|
-
var i18n_1 = __webpack_require__(
|
|
1396
|
+
var i18n_1 = __webpack_require__(2);
|
|
1452
1397
|
|
|
1453
|
-
var Message_1 = __webpack_require__(
|
|
1398
|
+
var Message_1 = __webpack_require__(9);
|
|
1454
1399
|
|
|
1455
|
-
var FixedSizeContainer_1 = __webpack_require__(
|
|
1400
|
+
var FixedSizeContainer_1 = __webpack_require__(12);
|
|
1456
1401
|
/**
|
|
1457
1402
|
* @method isMissing
|
|
1458
1403
|
* @param {any} v
|
|
@@ -1513,7 +1458,7 @@ exports.MissingPropsMessage.defaultProps = {
|
|
|
1513
1458
|
exports.default = FixedSizeContainer_1.default(exports.MissingPropsMessage);
|
|
1514
1459
|
|
|
1515
1460
|
/***/ }),
|
|
1516
|
-
/*
|
|
1461
|
+
/* 41 */
|
|
1517
1462
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1518
1463
|
|
|
1519
1464
|
"use strict";
|
|
@@ -1527,14 +1472,14 @@ var React = __webpack_require__(1);
|
|
|
1527
1472
|
|
|
1528
1473
|
var styled_components_1 = __webpack_require__(4);
|
|
1529
1474
|
|
|
1530
|
-
var hocUtils_1 = __webpack_require__(
|
|
1475
|
+
var hocUtils_1 = __webpack_require__(13);
|
|
1531
1476
|
|
|
1532
1477
|
var Cover = styled_components_1.default.div.withConfig({
|
|
1533
1478
|
displayName: "withEditModeCover__Cover",
|
|
1534
1479
|
componentId: "sc-1gsbnxb-0"
|
|
1535
1480
|
})(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
|
|
1536
1481
|
var Blocker = styled_components_1.default.div.attrs({
|
|
1537
|
-
'data-splunk-visualization-version': "25.
|
|
1482
|
+
'data-splunk-visualization-version': "25.1.0 - 812a9a4d8"
|
|
1538
1483
|
}).withConfig({
|
|
1539
1484
|
displayName: "withEditModeCover__Blocker",
|
|
1540
1485
|
componentId: "sc-1gsbnxb-1"
|
|
@@ -1564,12 +1509,6 @@ var withEditModeCover = function withEditModeCover(Visualization, disableEditMod
|
|
|
1564
1509
|
|
|
1565
1510
|
exports.default = withEditModeCover;
|
|
1566
1511
|
|
|
1567
|
-
/***/ }),
|
|
1568
|
-
/* 41 */
|
|
1569
|
-
/***/ (function(module, exports) {
|
|
1570
|
-
|
|
1571
|
-
module.exports = require("@splunk/visualizations-shared/mapUtils");
|
|
1572
|
-
|
|
1573
1512
|
/***/ }),
|
|
1574
1513
|
/* 42 */
|
|
1575
1514
|
/***/ (function(module, exports, __webpack_require__) {
|
|
@@ -1583,15 +1522,15 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1583
1522
|
|
|
1584
1523
|
var React = __webpack_require__(1);
|
|
1585
1524
|
|
|
1586
|
-
var colorUtils_1 = __webpack_require__(
|
|
1525
|
+
var colorUtils_1 = __webpack_require__(11);
|
|
1587
1526
|
|
|
1588
|
-
var variables_1 = __webpack_require__(
|
|
1527
|
+
var variables_1 = __webpack_require__(8);
|
|
1589
1528
|
|
|
1590
|
-
var IconPlaceholder_1 = __webpack_require__(
|
|
1529
|
+
var IconPlaceholder_1 = __webpack_require__(27);
|
|
1591
1530
|
|
|
1592
1531
|
var VizBehavior_1 = __webpack_require__(5);
|
|
1593
1532
|
|
|
1594
|
-
var hocUtils_1 = __webpack_require__(
|
|
1533
|
+
var hocUtils_1 = __webpack_require__(13);
|
|
1595
1534
|
|
|
1596
1535
|
var withPlaceholder = function withPlaceholder(Visualization) {
|
|
1597
1536
|
var useIconPlaceholder = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : IconPlaceholder_1.shouldShowIconPlaceholder;
|
|
@@ -1709,46 +1648,46 @@ module.exports = require("@babel/runtime/helpers/slicedToArray");
|
|
|
1709
1648
|
/* 89 */,
|
|
1710
1649
|
/* 90 */,
|
|
1711
1650
|
/* 91 */,
|
|
1712
|
-
/* 92
|
|
1651
|
+
/* 92 */,
|
|
1652
|
+
/* 93 */,
|
|
1653
|
+
/* 94 */
|
|
1713
1654
|
/***/ (function(module, exports) {
|
|
1714
1655
|
|
|
1715
1656
|
module.exports = require("@babel/runtime/helpers/inherits");
|
|
1716
1657
|
|
|
1717
1658
|
/***/ }),
|
|
1718
|
-
/*
|
|
1659
|
+
/* 95 */
|
|
1719
1660
|
/***/ (function(module, exports) {
|
|
1720
1661
|
|
|
1721
1662
|
module.exports = require("@babel/runtime/helpers/possibleConstructorReturn");
|
|
1722
1663
|
|
|
1723
1664
|
/***/ }),
|
|
1724
|
-
/*
|
|
1665
|
+
/* 96 */
|
|
1725
1666
|
/***/ (function(module, exports) {
|
|
1726
1667
|
|
|
1727
1668
|
module.exports = require("@babel/runtime/helpers/getPrototypeOf");
|
|
1728
1669
|
|
|
1729
1670
|
/***/ }),
|
|
1730
|
-
/* 95 */,
|
|
1731
|
-
/* 96 */,
|
|
1732
1671
|
/* 97 */,
|
|
1733
1672
|
/* 98 */,
|
|
1734
1673
|
/* 99 */,
|
|
1735
1674
|
/* 100 */,
|
|
1736
1675
|
/* 101 */,
|
|
1737
1676
|
/* 102 */,
|
|
1738
|
-
/* 103
|
|
1677
|
+
/* 103 */,
|
|
1678
|
+
/* 104 */,
|
|
1679
|
+
/* 105 */
|
|
1739
1680
|
/***/ (function(module, exports) {
|
|
1740
1681
|
|
|
1741
1682
|
module.exports = require("@splunk/visualizations-shared/dataSourceUtils");
|
|
1742
1683
|
|
|
1743
1684
|
/***/ }),
|
|
1744
|
-
/*
|
|
1685
|
+
/* 106 */
|
|
1745
1686
|
/***/ (function(module, exports) {
|
|
1746
1687
|
|
|
1747
1688
|
module.exports = require("@splunk/react-ui/Paragraph");
|
|
1748
1689
|
|
|
1749
1690
|
/***/ }),
|
|
1750
|
-
/* 105 */,
|
|
1751
|
-
/* 106 */,
|
|
1752
1691
|
/* 107 */,
|
|
1753
1692
|
/* 108 */,
|
|
1754
1693
|
/* 109 */,
|
|
@@ -1768,7 +1707,9 @@ module.exports = require("@splunk/react-ui/Paragraph");
|
|
|
1768
1707
|
/* 123 */,
|
|
1769
1708
|
/* 124 */,
|
|
1770
1709
|
/* 125 */,
|
|
1771
|
-
/* 126
|
|
1710
|
+
/* 126 */,
|
|
1711
|
+
/* 127 */,
|
|
1712
|
+
/* 128 */
|
|
1772
1713
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1773
1714
|
|
|
1774
1715
|
"use strict";
|
|
@@ -1792,17 +1733,17 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1792
1733
|
});
|
|
1793
1734
|
exports.PureLinkGraph = exports.LinkGraph = exports.config = exports.themes = exports.computeVizProps = exports.showPlaceHolderIcon = void 0;
|
|
1794
1735
|
|
|
1795
|
-
var lodash_1 = __webpack_require__(
|
|
1736
|
+
var lodash_1 = __webpack_require__(3);
|
|
1796
1737
|
|
|
1797
|
-
var dataSourceUtils_1 = __webpack_require__(
|
|
1738
|
+
var dataSourceUtils_1 = __webpack_require__(105);
|
|
1798
1739
|
|
|
1799
|
-
var withDashboardViz_1 = __webpack_require__(
|
|
1740
|
+
var withDashboardViz_1 = __webpack_require__(31);
|
|
1800
1741
|
|
|
1801
|
-
var PureLinkGraph_1 = __webpack_require__(
|
|
1742
|
+
var PureLinkGraph_1 = __webpack_require__(186);
|
|
1802
1743
|
|
|
1803
1744
|
exports.PureLinkGraph = PureLinkGraph_1.default;
|
|
1804
1745
|
|
|
1805
|
-
var config_1 = __webpack_require__(
|
|
1746
|
+
var config_1 = __webpack_require__(197);
|
|
1806
1747
|
|
|
1807
1748
|
exports.config = config_1.default;
|
|
1808
1749
|
/**
|
|
@@ -1860,24 +1801,24 @@ exports.themes = themes;
|
|
|
1860
1801
|
exports.default = LinkGraph;
|
|
1861
1802
|
|
|
1862
1803
|
/***/ }),
|
|
1863
|
-
/*
|
|
1804
|
+
/* 129 */
|
|
1864
1805
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1865
1806
|
|
|
1866
1807
|
"use strict";
|
|
1867
1808
|
|
|
1868
1809
|
|
|
1869
|
-
var _toConsumableArray = __webpack_require__(
|
|
1810
|
+
var _toConsumableArray = __webpack_require__(7);
|
|
1870
1811
|
|
|
1871
|
-
var _classCallCheck = __webpack_require__(
|
|
1812
|
+
var _classCallCheck = __webpack_require__(10);
|
|
1872
1813
|
|
|
1873
|
-
var _createClass = __webpack_require__(
|
|
1814
|
+
var _createClass = __webpack_require__(18);
|
|
1874
1815
|
|
|
1875
1816
|
Object.defineProperty(exports, "__esModule", {
|
|
1876
1817
|
value: true
|
|
1877
1818
|
});
|
|
1878
1819
|
exports.sortGraphColumn = exports.getNodesToHighlight = exports.createLinkGraphFromTable = exports.OFFSET_Y = void 0;
|
|
1879
1820
|
|
|
1880
|
-
var lodash_1 = __webpack_require__(
|
|
1821
|
+
var lodash_1 = __webpack_require__(3);
|
|
1881
1822
|
|
|
1882
1823
|
var cleanString = function cleanString() {
|
|
1883
1824
|
var stringIn = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
|
|
@@ -2127,7 +2068,7 @@ var sortGraphColumn = function sortGraphColumn(graph, field, sortKey, nodeHeight
|
|
|
2127
2068
|
exports.sortGraphColumn = sortGraphColumn;
|
|
2128
2069
|
|
|
2129
2070
|
/***/ }),
|
|
2130
|
-
/*
|
|
2071
|
+
/* 130 */
|
|
2131
2072
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2132
2073
|
|
|
2133
2074
|
"use strict";
|
|
@@ -2140,9 +2081,9 @@ exports.StyledEdgesPath = exports.StyledViewport = void 0;
|
|
|
2140
2081
|
|
|
2141
2082
|
var styled_components_1 = __webpack_require__(4);
|
|
2142
2083
|
|
|
2143
|
-
var pick_1 = __webpack_require__(
|
|
2084
|
+
var pick_1 = __webpack_require__(21);
|
|
2144
2085
|
|
|
2145
|
-
var variables_1 = __webpack_require__(
|
|
2086
|
+
var variables_1 = __webpack_require__(8);
|
|
2146
2087
|
|
|
2147
2088
|
exports.StyledViewport = styled_components_1.default.div.withConfig({
|
|
2148
2089
|
displayName: "GraphStyles__StyledViewport",
|
|
@@ -2184,8 +2125,6 @@ exports.StyledEdgesPath = styled_components_1.default.path.withConfig({
|
|
|
2184
2125
|
});
|
|
2185
2126
|
|
|
2186
2127
|
/***/ }),
|
|
2187
|
-
/* 129 */,
|
|
2188
|
-
/* 130 */,
|
|
2189
2128
|
/* 131 */,
|
|
2190
2129
|
/* 132 */,
|
|
2191
2130
|
/* 133 */,
|
|
@@ -2238,7 +2177,9 @@ exports.StyledEdgesPath = styled_components_1.default.path.withConfig({
|
|
|
2238
2177
|
/* 180 */,
|
|
2239
2178
|
/* 181 */,
|
|
2240
2179
|
/* 182 */,
|
|
2241
|
-
/* 183
|
|
2180
|
+
/* 183 */,
|
|
2181
|
+
/* 184 */,
|
|
2182
|
+
/* 185 */
|
|
2242
2183
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2243
2184
|
|
|
2244
2185
|
"use strict";
|
|
@@ -2268,9 +2209,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2268
2209
|
});
|
|
2269
2210
|
exports.default = void 0;
|
|
2270
2211
|
|
|
2271
|
-
__exportStar(__webpack_require__(
|
|
2212
|
+
__exportStar(__webpack_require__(128), exports);
|
|
2272
2213
|
|
|
2273
|
-
var LinkGraph_1 = __webpack_require__(
|
|
2214
|
+
var LinkGraph_1 = __webpack_require__(128);
|
|
2274
2215
|
|
|
2275
2216
|
Object.defineProperty(exports, "default", {
|
|
2276
2217
|
enumerable: true,
|
|
@@ -2280,7 +2221,7 @@ Object.defineProperty(exports, "default", {
|
|
|
2280
2221
|
});
|
|
2281
2222
|
|
|
2282
2223
|
/***/ }),
|
|
2283
|
-
/*
|
|
2224
|
+
/* 186 */
|
|
2284
2225
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2285
2226
|
|
|
2286
2227
|
"use strict";
|
|
@@ -2299,17 +2240,17 @@ var T = __webpack_require__(0);
|
|
|
2299
2240
|
|
|
2300
2241
|
var styled_components_1 = __webpack_require__(4);
|
|
2301
2242
|
|
|
2302
|
-
var lodash_1 = __webpack_require__(
|
|
2243
|
+
var lodash_1 = __webpack_require__(3);
|
|
2303
2244
|
|
|
2304
|
-
var FixedSizeContainer_1 = __webpack_require__(
|
|
2245
|
+
var FixedSizeContainer_1 = __webpack_require__(12);
|
|
2305
2246
|
|
|
2306
|
-
var PureLinkGraphUtils_1 = __webpack_require__(
|
|
2247
|
+
var PureLinkGraphUtils_1 = __webpack_require__(129);
|
|
2307
2248
|
|
|
2308
|
-
var Graph_1 = __webpack_require__(
|
|
2249
|
+
var Graph_1 = __webpack_require__(187);
|
|
2309
2250
|
|
|
2310
|
-
var Field_1 = __webpack_require__(
|
|
2251
|
+
var Field_1 = __webpack_require__(191);
|
|
2311
2252
|
|
|
2312
|
-
var FieldStyles_1 = __webpack_require__(
|
|
2253
|
+
var FieldStyles_1 = __webpack_require__(196);
|
|
2313
2254
|
|
|
2314
2255
|
var LinkGraphContainer = styled_components_1.default.div.withConfig({
|
|
2315
2256
|
displayName: "PureLinkGraph__LinkGraphContainer",
|
|
@@ -2469,23 +2410,23 @@ exports.PureLinkGraph.displayName = 'VizLinkGraph';
|
|
|
2469
2410
|
exports.default = FixedSizeContainer_1.default(exports.PureLinkGraph);
|
|
2470
2411
|
|
|
2471
2412
|
/***/ }),
|
|
2472
|
-
/*
|
|
2413
|
+
/* 187 */
|
|
2473
2414
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2474
2415
|
|
|
2475
2416
|
"use strict";
|
|
2476
2417
|
|
|
2477
2418
|
|
|
2478
|
-
var _toConsumableArray = __webpack_require__(
|
|
2419
|
+
var _toConsumableArray = __webpack_require__(7);
|
|
2479
2420
|
|
|
2480
|
-
var _classCallCheck = __webpack_require__(
|
|
2421
|
+
var _classCallCheck = __webpack_require__(10);
|
|
2481
2422
|
|
|
2482
|
-
var _createClass = __webpack_require__(
|
|
2423
|
+
var _createClass = __webpack_require__(18);
|
|
2483
2424
|
|
|
2484
|
-
var _inherits = __webpack_require__(
|
|
2425
|
+
var _inherits = __webpack_require__(94);
|
|
2485
2426
|
|
|
2486
|
-
var _possibleConstructorReturn = __webpack_require__(
|
|
2427
|
+
var _possibleConstructorReturn = __webpack_require__(95);
|
|
2487
2428
|
|
|
2488
|
-
var _getPrototypeOf = __webpack_require__(
|
|
2429
|
+
var _getPrototypeOf = __webpack_require__(96);
|
|
2489
2430
|
|
|
2490
2431
|
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); }; }
|
|
2491
2432
|
|
|
@@ -2497,15 +2438,15 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2497
2438
|
|
|
2498
2439
|
var React = __webpack_require__(1);
|
|
2499
2440
|
|
|
2500
|
-
var lodash_1 = __webpack_require__(
|
|
2441
|
+
var lodash_1 = __webpack_require__(3);
|
|
2501
2442
|
|
|
2502
|
-
var Edges_1 = __webpack_require__(
|
|
2443
|
+
var Edges_1 = __webpack_require__(188);
|
|
2503
2444
|
|
|
2504
|
-
var Nodes_1 = __webpack_require__(
|
|
2445
|
+
var Nodes_1 = __webpack_require__(189);
|
|
2505
2446
|
|
|
2506
|
-
var GraphStyles_1 = __webpack_require__(
|
|
2447
|
+
var GraphStyles_1 = __webpack_require__(130);
|
|
2507
2448
|
|
|
2508
|
-
var PureLinkGraphUtils_1 = __webpack_require__(
|
|
2449
|
+
var PureLinkGraphUtils_1 = __webpack_require__(129);
|
|
2509
2450
|
|
|
2510
2451
|
var Graph = /*#__PURE__*/function (_React$Component) {
|
|
2511
2452
|
_inherits(Graph, _React$Component);
|
|
@@ -2861,7 +2802,7 @@ var Graph = /*#__PURE__*/function (_React$Component) {
|
|
|
2861
2802
|
exports.default = Graph;
|
|
2862
2803
|
|
|
2863
2804
|
/***/ }),
|
|
2864
|
-
/*
|
|
2805
|
+
/* 188 */
|
|
2865
2806
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2866
2807
|
|
|
2867
2808
|
"use strict";
|
|
@@ -2873,7 +2814,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2873
2814
|
|
|
2874
2815
|
var React = __webpack_require__(1);
|
|
2875
2816
|
|
|
2876
|
-
var GraphStyles_1 = __webpack_require__(
|
|
2817
|
+
var GraphStyles_1 = __webpack_require__(130);
|
|
2877
2818
|
|
|
2878
2819
|
var Edges = function Edges(props) {
|
|
2879
2820
|
var edges = props.edges,
|
|
@@ -2902,7 +2843,7 @@ var Edges = function Edges(props) {
|
|
|
2902
2843
|
exports.default = Edges;
|
|
2903
2844
|
|
|
2904
2845
|
/***/ }),
|
|
2905
|
-
/*
|
|
2846
|
+
/* 189 */
|
|
2906
2847
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2907
2848
|
|
|
2908
2849
|
"use strict";
|
|
@@ -2914,7 +2855,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2914
2855
|
|
|
2915
2856
|
var React = __webpack_require__(1);
|
|
2916
2857
|
|
|
2917
|
-
var Node_1 = __webpack_require__(
|
|
2858
|
+
var Node_1 = __webpack_require__(190);
|
|
2918
2859
|
|
|
2919
2860
|
var Nodes = function Nodes(props) {
|
|
2920
2861
|
return Object.keys(props.nodes).map(function (key) {
|
|
@@ -2942,7 +2883,7 @@ var Nodes = function Nodes(props) {
|
|
|
2942
2883
|
exports.default = Nodes;
|
|
2943
2884
|
|
|
2944
2885
|
/***/ }),
|
|
2945
|
-
/*
|
|
2886
|
+
/* 190 */
|
|
2946
2887
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2947
2888
|
|
|
2948
2889
|
"use strict";
|
|
@@ -2954,7 +2895,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2954
2895
|
|
|
2955
2896
|
var React = __webpack_require__(1);
|
|
2956
2897
|
|
|
2957
|
-
var Paragraph_1 = __webpack_require__(
|
|
2898
|
+
var Paragraph_1 = __webpack_require__(106);
|
|
2958
2899
|
|
|
2959
2900
|
var Node = function Node(props) {
|
|
2960
2901
|
var data = props.data,
|
|
@@ -2969,7 +2910,7 @@ var Node = function Node(props) {
|
|
|
2969
2910
|
exports.default = Node;
|
|
2970
2911
|
|
|
2971
2912
|
/***/ }),
|
|
2972
|
-
/*
|
|
2913
|
+
/* 191 */
|
|
2973
2914
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2974
2915
|
|
|
2975
2916
|
"use strict";
|
|
@@ -2981,13 +2922,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2981
2922
|
|
|
2982
2923
|
var React = __webpack_require__(1);
|
|
2983
2924
|
|
|
2984
|
-
var Dropdown_1 = __webpack_require__(
|
|
2925
|
+
var Dropdown_1 = __webpack_require__(192);
|
|
2985
2926
|
|
|
2986
|
-
var Button_1 = __webpack_require__(
|
|
2927
|
+
var Button_1 = __webpack_require__(193);
|
|
2987
2928
|
|
|
2988
|
-
var Menu_1 = __webpack_require__(
|
|
2929
|
+
var Menu_1 = __webpack_require__(194);
|
|
2989
2930
|
|
|
2990
|
-
var Chip_1 = __webpack_require__(
|
|
2931
|
+
var Chip_1 = __webpack_require__(195);
|
|
2991
2932
|
|
|
2992
2933
|
var Field = function Field(_ref) {
|
|
2993
2934
|
var field = _ref.field,
|
|
@@ -3031,31 +2972,31 @@ Field.displayName = 'Field';
|
|
|
3031
2972
|
exports.default = Field;
|
|
3032
2973
|
|
|
3033
2974
|
/***/ }),
|
|
3034
|
-
/*
|
|
2975
|
+
/* 192 */
|
|
3035
2976
|
/***/ (function(module, exports) {
|
|
3036
2977
|
|
|
3037
2978
|
module.exports = require("@splunk/react-ui/Dropdown");
|
|
3038
2979
|
|
|
3039
2980
|
/***/ }),
|
|
3040
|
-
/*
|
|
2981
|
+
/* 193 */
|
|
3041
2982
|
/***/ (function(module, exports) {
|
|
3042
2983
|
|
|
3043
2984
|
module.exports = require("@splunk/react-ui/Button");
|
|
3044
2985
|
|
|
3045
2986
|
/***/ }),
|
|
3046
|
-
/*
|
|
2987
|
+
/* 194 */
|
|
3047
2988
|
/***/ (function(module, exports) {
|
|
3048
2989
|
|
|
3049
2990
|
module.exports = require("@splunk/react-ui/Menu");
|
|
3050
2991
|
|
|
3051
2992
|
/***/ }),
|
|
3052
|
-
/*
|
|
2993
|
+
/* 195 */
|
|
3053
2994
|
/***/ (function(module, exports) {
|
|
3054
2995
|
|
|
3055
2996
|
module.exports = require("@splunk/react-ui/Chip");
|
|
3056
2997
|
|
|
3057
2998
|
/***/ }),
|
|
3058
|
-
/*
|
|
2999
|
+
/* 196 */
|
|
3059
3000
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3060
3001
|
|
|
3061
3002
|
"use strict";
|
|
@@ -3068,7 +3009,7 @@ exports.StyledFields = void 0;
|
|
|
3068
3009
|
|
|
3069
3010
|
var styled_components_1 = __webpack_require__(4);
|
|
3070
3011
|
|
|
3071
|
-
var pick_1 = __webpack_require__(
|
|
3012
|
+
var pick_1 = __webpack_require__(21);
|
|
3072
3013
|
|
|
3073
3014
|
exports.StyledFields = styled_components_1.default.div.withConfig({
|
|
3074
3015
|
displayName: "FieldStyles__StyledFields",
|
|
@@ -3082,39 +3023,39 @@ exports.StyledFields = styled_components_1.default.div.withConfig({
|
|
|
3082
3023
|
}));
|
|
3083
3024
|
|
|
3084
3025
|
/***/ }),
|
|
3085
|
-
/*
|
|
3026
|
+
/* 197 */
|
|
3086
3027
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3087
3028
|
|
|
3088
3029
|
"use strict";
|
|
3089
3030
|
|
|
3090
3031
|
|
|
3091
|
-
var _toConsumableArray = __webpack_require__(
|
|
3032
|
+
var _toConsumableArray = __webpack_require__(7);
|
|
3092
3033
|
|
|
3093
3034
|
Object.defineProperty(exports, "__esModule", {
|
|
3094
3035
|
value: true
|
|
3095
3036
|
});
|
|
3096
3037
|
|
|
3097
|
-
var lodash_1 = __webpack_require__(
|
|
3038
|
+
var lodash_1 = __webpack_require__(3);
|
|
3098
3039
|
|
|
3099
3040
|
var visualization_icons_1 = __webpack_require__(46);
|
|
3100
3041
|
|
|
3101
3042
|
var placeholders_1 = __webpack_require__(45);
|
|
3102
3043
|
|
|
3103
|
-
var schemaUtils_1 = __webpack_require__(
|
|
3044
|
+
var schemaUtils_1 = __webpack_require__(15);
|
|
3104
3045
|
|
|
3105
|
-
var i18n_1 = __webpack_require__(
|
|
3046
|
+
var i18n_1 = __webpack_require__(2);
|
|
3106
3047
|
|
|
3107
|
-
var pick_1 = __webpack_require__(
|
|
3048
|
+
var pick_1 = __webpack_require__(21);
|
|
3108
3049
|
|
|
3109
|
-
var variables_1 = __webpack_require__(
|
|
3050
|
+
var variables_1 = __webpack_require__(8);
|
|
3110
3051
|
|
|
3111
3052
|
var colorConstants_1 = __webpack_require__(43);
|
|
3112
3053
|
|
|
3113
3054
|
var visualization_color_palettes_1 = __webpack_require__(44);
|
|
3114
3055
|
|
|
3115
|
-
var configUtils_1 = __webpack_require__(
|
|
3056
|
+
var configUtils_1 = __webpack_require__(16);
|
|
3116
3057
|
|
|
3117
|
-
var VizCategory_1 = __webpack_require__(
|
|
3058
|
+
var VizCategory_1 = __webpack_require__(30);
|
|
3118
3059
|
|
|
3119
3060
|
var VizBehavior_1 = __webpack_require__(5);
|
|
3120
3061
|
|
|
@@ -3163,7 +3104,7 @@ var optionsSchema = {
|
|
|
3163
3104
|
linkColor: {
|
|
3164
3105
|
default: '#6d6f76',
|
|
3165
3106
|
description: 'Specify the color used for highlighted links. Unhighlighted links will be displayed at 20% opacity.',
|
|
3166
|
-
pattern: schemaUtils_1.
|
|
3107
|
+
pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
|
|
3167
3108
|
type: 'string'
|
|
3168
3109
|
},
|
|
3169
3110
|
linkWidth: {
|