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