@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/FillerGauge.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 = 190);
|
|
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,308 +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
|
-
/* 18 */
|
|
634
|
-
/***/ (function(module, exports) {
|
|
635
|
-
|
|
636
|
-
module.exports = require("@splunk/visualizations-shared/SizeAwareWrapper");
|
|
637
|
-
|
|
638
|
-
/***/ }),
|
|
639
|
-
/* 19 */,
|
|
640
586
|
/* 20 */
|
|
641
587
|
/***/ (function(module, exports) {
|
|
642
588
|
|
|
643
|
-
module.exports = require("@splunk/
|
|
589
|
+
module.exports = require("@splunk/visualizations-shared/SizeAwareWrapper");
|
|
644
590
|
|
|
645
591
|
/***/ }),
|
|
646
592
|
/* 21 */
|
|
647
593
|
/***/ (function(module, exports) {
|
|
648
594
|
|
|
649
|
-
module.exports = require("@splunk/
|
|
595
|
+
module.exports = require("@splunk/themes/pick");
|
|
650
596
|
|
|
651
597
|
/***/ }),
|
|
652
598
|
/* 22 */,
|
|
653
599
|
/* 23 */
|
|
654
600
|
/***/ (function(module, exports) {
|
|
655
601
|
|
|
656
|
-
module.exports = require("@splunk/
|
|
602
|
+
module.exports = require("@splunk/visualization-context/TimezoneContext");
|
|
657
603
|
|
|
658
604
|
/***/ }),
|
|
659
|
-
/* 24
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
"use strict";
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
Object.defineProperty(exports, "__esModule", {
|
|
666
|
-
value: true
|
|
667
|
-
});
|
|
668
|
-
exports.pickFieldFromJSONSchema = void 0;
|
|
669
|
-
|
|
670
|
-
var lodash_1 = __webpack_require__(2);
|
|
671
|
-
|
|
672
|
-
var pickFieldFromJSONSchema = function pickFieldFromJSONSchema(optionsSchema) {
|
|
673
|
-
var fieldName = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'default';
|
|
674
|
-
return Object.keys(optionsSchema).reduce(function (accum, k) {
|
|
675
|
-
if (lodash_1.has(optionsSchema[k], fieldName)) {
|
|
676
|
-
accum[k] = optionsSchema[k][fieldName];
|
|
677
|
-
} else if (lodash_1.get(optionsSchema, [k, 'type']) === 'object' && lodash_1.has(optionsSchema[k], 'properties')) {
|
|
678
|
-
var nestedSchema = exports.pickFieldFromJSONSchema(optionsSchema[k].properties, fieldName);
|
|
679
|
-
|
|
680
|
-
if (!lodash_1.isEmpty(nestedSchema)) {
|
|
681
|
-
accum[k] = nestedSchema;
|
|
682
|
-
}
|
|
683
|
-
}
|
|
684
|
-
|
|
685
|
-
return accum;
|
|
686
|
-
}, {});
|
|
687
|
-
};
|
|
605
|
+
/* 24 */,
|
|
606
|
+
/* 25 */
|
|
607
|
+
/***/ (function(module, exports) {
|
|
688
608
|
|
|
689
|
-
exports
|
|
609
|
+
module.exports = require("@splunk/visualizations-shared/hocUtils");
|
|
690
610
|
|
|
691
611
|
/***/ }),
|
|
692
|
-
/*
|
|
612
|
+
/* 26 */
|
|
693
613
|
/***/ (function(module, exports) {
|
|
694
614
|
|
|
695
|
-
module.exports = require("@
|
|
615
|
+
module.exports = require("@splunk/visualizations-shared/JSONSchemaUtils");
|
|
696
616
|
|
|
697
617
|
/***/ }),
|
|
698
|
-
/*
|
|
618
|
+
/* 27 */
|
|
699
619
|
/***/ (function(module, exports, __webpack_require__) {
|
|
700
620
|
|
|
701
621
|
"use strict";
|
|
@@ -710,13 +630,13 @@ var React = __webpack_require__(1);
|
|
|
710
630
|
|
|
711
631
|
var T = __webpack_require__(0);
|
|
712
632
|
|
|
713
|
-
var lodash_1 = __webpack_require__(
|
|
633
|
+
var lodash_1 = __webpack_require__(3);
|
|
714
634
|
|
|
715
|
-
var i18n_1 = __webpack_require__(
|
|
635
|
+
var i18n_1 = __webpack_require__(2);
|
|
716
636
|
|
|
717
|
-
var Message_1 = __webpack_require__(
|
|
637
|
+
var Message_1 = __webpack_require__(10);
|
|
718
638
|
|
|
719
|
-
var FixedSizeContainer_1 = __webpack_require__(
|
|
639
|
+
var FixedSizeContainer_1 = __webpack_require__(13);
|
|
720
640
|
/**
|
|
721
641
|
* @method shouldShowIconPlaceholder
|
|
722
642
|
* @param {object} dataSources
|
|
@@ -786,7 +706,7 @@ IconPlaceholder.defaultProps = {
|
|
|
786
706
|
exports.default = FixedSizeContainer_1.default(IconPlaceholder);
|
|
787
707
|
|
|
788
708
|
/***/ }),
|
|
789
|
-
/*
|
|
709
|
+
/* 28 */
|
|
790
710
|
/***/ (function(module, exports, __webpack_require__) {
|
|
791
711
|
|
|
792
712
|
"use strict";
|
|
@@ -801,9 +721,9 @@ exports.getSortingParams = exports.SortParamsPropTypes = void 0;
|
|
|
801
721
|
|
|
802
722
|
var T = __webpack_require__(0);
|
|
803
723
|
|
|
804
|
-
var lodash_1 = __webpack_require__(
|
|
724
|
+
var lodash_1 = __webpack_require__(3);
|
|
805
725
|
|
|
806
|
-
var DataSource_1 = __webpack_require__(
|
|
726
|
+
var DataSource_1 = __webpack_require__(39);
|
|
807
727
|
|
|
808
728
|
exports.SortParamsPropTypes = T.shape({
|
|
809
729
|
currentSortKey: T.string,
|
|
@@ -856,7 +776,7 @@ var getSortingParams = function getSortingParams(_ref) {
|
|
|
856
776
|
exports.getSortingParams = getSortingParams;
|
|
857
777
|
|
|
858
778
|
/***/ }),
|
|
859
|
-
/*
|
|
779
|
+
/* 29 */
|
|
860
780
|
/***/ (function(module, exports, __webpack_require__) {
|
|
861
781
|
|
|
862
782
|
"use strict";
|
|
@@ -869,7 +789,7 @@ exports.getPaginationParams = exports.PaginatorParamsPropTypes = void 0;
|
|
|
869
789
|
|
|
870
790
|
var T = __webpack_require__(0);
|
|
871
791
|
|
|
872
|
-
var lodash_1 = __webpack_require__(
|
|
792
|
+
var lodash_1 = __webpack_require__(3);
|
|
873
793
|
|
|
874
794
|
exports.PaginatorParamsPropTypes = T.shape({
|
|
875
795
|
isPaging: T.bool,
|
|
@@ -920,7 +840,13 @@ var getPaginationParams = function getPaginationParams(_ref) {
|
|
|
920
840
|
exports.getPaginationParams = getPaginationParams;
|
|
921
841
|
|
|
922
842
|
/***/ }),
|
|
923
|
-
/*
|
|
843
|
+
/* 30 */
|
|
844
|
+
/***/ (function(module, exports) {
|
|
845
|
+
|
|
846
|
+
module.exports = require("@splunk/visualizations-shared/numberUtils");
|
|
847
|
+
|
|
848
|
+
/***/ }),
|
|
849
|
+
/* 31 */
|
|
924
850
|
/***/ (function(module, exports, __webpack_require__) {
|
|
925
851
|
|
|
926
852
|
"use strict";
|
|
@@ -948,7 +874,7 @@ var VizCategory;
|
|
|
948
874
|
})(VizCategory = exports.VizCategory || (exports.VizCategory = {}));
|
|
949
875
|
|
|
950
876
|
/***/ }),
|
|
951
|
-
/*
|
|
877
|
+
/* 32 */
|
|
952
878
|
/***/ (function(module, exports, __webpack_require__) {
|
|
953
879
|
|
|
954
880
|
"use strict";
|
|
@@ -960,39 +886,39 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
960
886
|
|
|
961
887
|
var React = __webpack_require__(1);
|
|
962
888
|
|
|
963
|
-
var lodash_1 = __webpack_require__(
|
|
889
|
+
var lodash_1 = __webpack_require__(3);
|
|
964
890
|
|
|
965
|
-
var getSettingsFromThemedProps_1 = __webpack_require__(
|
|
891
|
+
var getSettingsFromThemedProps_1 = __webpack_require__(33);
|
|
966
892
|
|
|
967
|
-
var Options_1 = __webpack_require__(
|
|
893
|
+
var Options_1 = __webpack_require__(34);
|
|
968
894
|
|
|
969
|
-
var SanitizeProps_1 = __webpack_require__(
|
|
895
|
+
var SanitizeProps_1 = __webpack_require__(35);
|
|
970
896
|
|
|
971
|
-
var TimezoneContext_1 = __webpack_require__(
|
|
897
|
+
var TimezoneContext_1 = __webpack_require__(23);
|
|
972
898
|
|
|
973
|
-
var moment_1 = __webpack_require__(
|
|
899
|
+
var moment_1 = __webpack_require__(36);
|
|
974
900
|
|
|
975
901
|
var styled_components_1 = __webpack_require__(4);
|
|
976
902
|
|
|
977
|
-
var
|
|
903
|
+
var hocUtils_1 = __webpack_require__(25);
|
|
978
904
|
|
|
979
|
-
var
|
|
905
|
+
var JSONSchemaUtils_1 = __webpack_require__(26);
|
|
980
906
|
|
|
981
|
-
var
|
|
907
|
+
var SplunkVisualization_1 = __webpack_require__(37);
|
|
982
908
|
|
|
983
|
-
var
|
|
909
|
+
var VizBehavior_1 = __webpack_require__(6);
|
|
984
910
|
|
|
985
|
-
var
|
|
911
|
+
var getSorting_1 = __webpack_require__(28);
|
|
986
912
|
|
|
987
|
-
var
|
|
913
|
+
var getPagination_1 = __webpack_require__(29);
|
|
988
914
|
|
|
989
|
-
var
|
|
915
|
+
var useDeepMemo_1 = __webpack_require__(40);
|
|
990
916
|
|
|
991
|
-
var
|
|
917
|
+
var MissingPropsMessage_1 = __webpack_require__(41);
|
|
992
918
|
|
|
993
|
-
var
|
|
919
|
+
var withEditModeCover_1 = __webpack_require__(42);
|
|
994
920
|
|
|
995
|
-
var
|
|
921
|
+
var withPlaceholder_1 = __webpack_require__(43);
|
|
996
922
|
/**
|
|
997
923
|
* hoc that wraps a pure react visualization in a Dashboard visualization
|
|
998
924
|
* @param {DashboardVizOpts} opts
|
|
@@ -1193,37 +1119,37 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
1193
1119
|
exports.default = withDashboardViz;
|
|
1194
1120
|
|
|
1195
1121
|
/***/ }),
|
|
1196
|
-
/*
|
|
1122
|
+
/* 33 */
|
|
1197
1123
|
/***/ (function(module, exports) {
|
|
1198
1124
|
|
|
1199
1125
|
module.exports = require("@splunk/themes/getSettingsFromThemedProps");
|
|
1200
1126
|
|
|
1201
1127
|
/***/ }),
|
|
1202
|
-
/*
|
|
1128
|
+
/* 34 */
|
|
1203
1129
|
/***/ (function(module, exports) {
|
|
1204
1130
|
|
|
1205
1131
|
module.exports = require("@splunk/visualization-encoding/Options");
|
|
1206
1132
|
|
|
1207
1133
|
/***/ }),
|
|
1208
|
-
/*
|
|
1134
|
+
/* 35 */
|
|
1209
1135
|
/***/ (function(module, exports) {
|
|
1210
1136
|
|
|
1211
1137
|
module.exports = require("@splunk/visualizations-shared/SanitizeProps");
|
|
1212
1138
|
|
|
1213
1139
|
/***/ }),
|
|
1214
|
-
/*
|
|
1140
|
+
/* 36 */
|
|
1215
1141
|
/***/ (function(module, exports) {
|
|
1216
1142
|
|
|
1217
1143
|
module.exports = require("@splunk/moment");
|
|
1218
1144
|
|
|
1219
1145
|
/***/ }),
|
|
1220
|
-
/*
|
|
1146
|
+
/* 37 */
|
|
1221
1147
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1222
1148
|
|
|
1223
1149
|
"use strict";
|
|
1224
1150
|
|
|
1225
1151
|
|
|
1226
|
-
var _classCallCheck = __webpack_require__(
|
|
1152
|
+
var _classCallCheck = __webpack_require__(11);
|
|
1227
1153
|
|
|
1228
1154
|
Object.defineProperty(exports, "__esModule", {
|
|
1229
1155
|
value: true
|
|
@@ -1233,9 +1159,9 @@ exports.INITIAL_HEIGHT = exports.INITIAL_WIDTH = void 0;
|
|
|
1233
1159
|
|
|
1234
1160
|
var T = __webpack_require__(0);
|
|
1235
1161
|
|
|
1236
|
-
var lodash_1 = __webpack_require__(
|
|
1162
|
+
var lodash_1 = __webpack_require__(3);
|
|
1237
1163
|
|
|
1238
|
-
var VizActionHandler_1 = __webpack_require__(
|
|
1164
|
+
var VizActionHandler_1 = __webpack_require__(38); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
|
|
1239
1165
|
|
|
1240
1166
|
|
|
1241
1167
|
exports.INITIAL_WIDTH = 250;
|
|
@@ -1368,15 +1294,15 @@ SplunkVisualization.defaultProps = {
|
|
|
1368
1294
|
exports.default = SplunkVisualization;
|
|
1369
1295
|
|
|
1370
1296
|
/***/ }),
|
|
1371
|
-
/*
|
|
1297
|
+
/* 38 */
|
|
1372
1298
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1373
1299
|
|
|
1374
1300
|
"use strict";
|
|
1375
1301
|
|
|
1376
1302
|
|
|
1377
|
-
var _classCallCheck = __webpack_require__(
|
|
1303
|
+
var _classCallCheck = __webpack_require__(11);
|
|
1378
1304
|
|
|
1379
|
-
var _createClass = __webpack_require__(
|
|
1305
|
+
var _createClass = __webpack_require__(19);
|
|
1380
1306
|
|
|
1381
1307
|
Object.defineProperty(exports, "__esModule", {
|
|
1382
1308
|
value: true
|
|
@@ -1405,7 +1331,7 @@ var DefaultVizActionHandler = /*#__PURE__*/function () {
|
|
|
1405
1331
|
exports.DefaultVizActionHandler = DefaultVizActionHandler;
|
|
1406
1332
|
|
|
1407
1333
|
/***/ }),
|
|
1408
|
-
/*
|
|
1334
|
+
/* 39 */
|
|
1409
1335
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1410
1336
|
|
|
1411
1337
|
"use strict";
|
|
@@ -1418,7 +1344,7 @@ exports.validSortDirs = void 0;
|
|
|
1418
1344
|
exports.validSortDirs = ['asc', 'desc', 'none'];
|
|
1419
1345
|
|
|
1420
1346
|
/***/ }),
|
|
1421
|
-
/*
|
|
1347
|
+
/* 40 */
|
|
1422
1348
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1423
1349
|
|
|
1424
1350
|
"use strict";
|
|
@@ -1431,7 +1357,7 @@ exports.useDeepMemo = void 0;
|
|
|
1431
1357
|
|
|
1432
1358
|
var react_1 = __webpack_require__(1);
|
|
1433
1359
|
|
|
1434
|
-
var lodash_1 = __webpack_require__(
|
|
1360
|
+
var lodash_1 = __webpack_require__(3);
|
|
1435
1361
|
/**
|
|
1436
1362
|
* This hook evaluates and stores the result of a passed function and only
|
|
1437
1363
|
* re-evaluates the function when passed dependencies change.
|
|
@@ -1463,7 +1389,7 @@ var useDeepMemo = function useDeepMemo(fn, dependencies) {
|
|
|
1463
1389
|
exports.useDeepMemo = useDeepMemo;
|
|
1464
1390
|
|
|
1465
1391
|
/***/ }),
|
|
1466
|
-
/*
|
|
1392
|
+
/* 41 */
|
|
1467
1393
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1468
1394
|
|
|
1469
1395
|
"use strict";
|
|
@@ -1478,11 +1404,11 @@ var React = __webpack_require__(1);
|
|
|
1478
1404
|
|
|
1479
1405
|
var T = __webpack_require__(0);
|
|
1480
1406
|
|
|
1481
|
-
var i18n_1 = __webpack_require__(
|
|
1407
|
+
var i18n_1 = __webpack_require__(2);
|
|
1482
1408
|
|
|
1483
|
-
var Message_1 = __webpack_require__(
|
|
1409
|
+
var Message_1 = __webpack_require__(10);
|
|
1484
1410
|
|
|
1485
|
-
var FixedSizeContainer_1 = __webpack_require__(
|
|
1411
|
+
var FixedSizeContainer_1 = __webpack_require__(13);
|
|
1486
1412
|
/**
|
|
1487
1413
|
* @method isMissing
|
|
1488
1414
|
* @param {any} v
|
|
@@ -1543,7 +1469,7 @@ exports.MissingPropsMessage.defaultProps = {
|
|
|
1543
1469
|
exports.default = FixedSizeContainer_1.default(exports.MissingPropsMessage);
|
|
1544
1470
|
|
|
1545
1471
|
/***/ }),
|
|
1546
|
-
/*
|
|
1472
|
+
/* 42 */
|
|
1547
1473
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1548
1474
|
|
|
1549
1475
|
"use strict";
|
|
@@ -1557,14 +1483,14 @@ var React = __webpack_require__(1);
|
|
|
1557
1483
|
|
|
1558
1484
|
var styled_components_1 = __webpack_require__(4);
|
|
1559
1485
|
|
|
1560
|
-
var hocUtils_1 = __webpack_require__(
|
|
1486
|
+
var hocUtils_1 = __webpack_require__(14);
|
|
1561
1487
|
|
|
1562
1488
|
var Cover = styled_components_1.default.div.withConfig({
|
|
1563
1489
|
displayName: "withEditModeCover__Cover",
|
|
1564
1490
|
componentId: "sc-1gsbnxb-0"
|
|
1565
1491
|
})(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
|
|
1566
1492
|
var Blocker = styled_components_1.default.div.attrs({
|
|
1567
|
-
'data-splunk-visualization-version': "25.0
|
|
1493
|
+
'data-splunk-visualization-version': "25.2.0 - 4373c5a66"
|
|
1568
1494
|
}).withConfig({
|
|
1569
1495
|
displayName: "withEditModeCover__Blocker",
|
|
1570
1496
|
componentId: "sc-1gsbnxb-1"
|
|
@@ -1595,13 +1521,7 @@ var withEditModeCover = function withEditModeCover(Visualization, disableEditMod
|
|
|
1595
1521
|
exports.default = withEditModeCover;
|
|
1596
1522
|
|
|
1597
1523
|
/***/ }),
|
|
1598
|
-
/*
|
|
1599
|
-
/***/ (function(module, exports) {
|
|
1600
|
-
|
|
1601
|
-
module.exports = require("@splunk/visualizations-shared/mapUtils");
|
|
1602
|
-
|
|
1603
|
-
/***/ }),
|
|
1604
|
-
/* 42 */
|
|
1524
|
+
/* 43 */
|
|
1605
1525
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1606
1526
|
|
|
1607
1527
|
"use strict";
|
|
@@ -1613,15 +1533,15 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1613
1533
|
|
|
1614
1534
|
var React = __webpack_require__(1);
|
|
1615
1535
|
|
|
1616
|
-
var colorUtils_1 = __webpack_require__(
|
|
1536
|
+
var colorUtils_1 = __webpack_require__(12);
|
|
1617
1537
|
|
|
1618
|
-
var variables_1 = __webpack_require__(
|
|
1538
|
+
var variables_1 = __webpack_require__(9);
|
|
1619
1539
|
|
|
1620
|
-
var IconPlaceholder_1 = __webpack_require__(
|
|
1540
|
+
var IconPlaceholder_1 = __webpack_require__(27);
|
|
1621
1541
|
|
|
1622
|
-
var VizBehavior_1 = __webpack_require__(
|
|
1542
|
+
var VizBehavior_1 = __webpack_require__(6);
|
|
1623
1543
|
|
|
1624
|
-
var hocUtils_1 = __webpack_require__(
|
|
1544
|
+
var hocUtils_1 = __webpack_require__(14);
|
|
1625
1545
|
|
|
1626
1546
|
var withPlaceholder = function withPlaceholder(Visualization) {
|
|
1627
1547
|
var useIconPlaceholder = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : IconPlaceholder_1.shouldShowIconPlaceholder;
|
|
@@ -1665,33 +1585,33 @@ var withPlaceholder = function withPlaceholder(Visualization) {
|
|
|
1665
1585
|
exports.default = withPlaceholder;
|
|
1666
1586
|
|
|
1667
1587
|
/***/ }),
|
|
1668
|
-
/*
|
|
1588
|
+
/* 44 */
|
|
1669
1589
|
/***/ (function(module, exports) {
|
|
1670
1590
|
|
|
1671
|
-
module.exports = require("@splunk/
|
|
1591
|
+
module.exports = require("@splunk/visualization-icons/placeholders");
|
|
1672
1592
|
|
|
1673
1593
|
/***/ }),
|
|
1674
|
-
/*
|
|
1594
|
+
/* 45 */
|
|
1675
1595
|
/***/ (function(module, exports) {
|
|
1676
1596
|
|
|
1677
|
-
module.exports = require("@splunk/
|
|
1597
|
+
module.exports = require("@splunk/visualizations-shared/colorConstants");
|
|
1678
1598
|
|
|
1679
1599
|
/***/ }),
|
|
1680
|
-
/*
|
|
1600
|
+
/* 46 */
|
|
1681
1601
|
/***/ (function(module, exports) {
|
|
1682
1602
|
|
|
1683
|
-
module.exports = require("@splunk/visualization-
|
|
1603
|
+
module.exports = require("@splunk/visualization-color-palettes");
|
|
1684
1604
|
|
|
1685
1605
|
/***/ }),
|
|
1686
|
-
/*
|
|
1687
|
-
/*
|
|
1606
|
+
/* 47 */,
|
|
1607
|
+
/* 48 */
|
|
1688
1608
|
/***/ (function(module, exports) {
|
|
1689
1609
|
|
|
1690
1610
|
module.exports = require("@babel/runtime/helpers/extends");
|
|
1691
1611
|
|
|
1692
1612
|
/***/ }),
|
|
1693
|
-
/*
|
|
1694
|
-
/*
|
|
1613
|
+
/* 49 */,
|
|
1614
|
+
/* 50 */
|
|
1695
1615
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1696
1616
|
|
|
1697
1617
|
"use strict";
|
|
@@ -1701,7 +1621,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1701
1621
|
value: true
|
|
1702
1622
|
});
|
|
1703
1623
|
|
|
1704
|
-
var i18n_1 = __webpack_require__(
|
|
1624
|
+
var i18n_1 = __webpack_require__(2);
|
|
1705
1625
|
|
|
1706
1626
|
var background = function background(_ref) {
|
|
1707
1627
|
var label = _ref.label,
|
|
@@ -1721,16 +1641,15 @@ var background = function background(_ref) {
|
|
|
1721
1641
|
exports.default = background;
|
|
1722
1642
|
|
|
1723
1643
|
/***/ }),
|
|
1724
|
-
/* 50 */,
|
|
1725
1644
|
/* 51 */,
|
|
1726
1645
|
/* 52 */,
|
|
1727
|
-
/* 53
|
|
1646
|
+
/* 53 */,
|
|
1647
|
+
/* 54 */
|
|
1728
1648
|
/***/ (function(module, exports) {
|
|
1729
1649
|
|
|
1730
1650
|
module.exports = require("@splunk/visualization-color-palettes/editors/PresetPalettes");
|
|
1731
1651
|
|
|
1732
1652
|
/***/ }),
|
|
1733
|
-
/* 54 */,
|
|
1734
1653
|
/* 55 */,
|
|
1735
1654
|
/* 56 */,
|
|
1736
1655
|
/* 57 */,
|
|
@@ -1756,24 +1675,28 @@ module.exports = require("@splunk/visualization-color-palettes/editors/PresetPal
|
|
|
1756
1675
|
/* 77 */,
|
|
1757
1676
|
/* 78 */,
|
|
1758
1677
|
/* 79 */,
|
|
1759
|
-
/* 80
|
|
1678
|
+
/* 80 */,
|
|
1679
|
+
/* 81 */,
|
|
1680
|
+
/* 82 */,
|
|
1681
|
+
/* 83 */,
|
|
1682
|
+
/* 84 */
|
|
1760
1683
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1761
1684
|
|
|
1762
1685
|
"use strict";
|
|
1763
1686
|
|
|
1764
1687
|
|
|
1765
|
-
var _toConsumableArray = __webpack_require__(
|
|
1688
|
+
var _toConsumableArray = __webpack_require__(8);
|
|
1766
1689
|
|
|
1767
1690
|
Object.defineProperty(exports, "__esModule", {
|
|
1768
1691
|
value: true
|
|
1769
1692
|
});
|
|
1770
1693
|
exports.convertToGaugeProperties = exports.mapValueLabelDisplay = exports.mapToOldKey = exports.getGradientDimensions = exports.getGradientStops = exports.getGradientStopColors = exports.getGradientStopOffsets = exports.getGaugeRange = exports.validateRanges = exports.getSortedRanges = exports.getMarkerGaugeValueMarkerPositions = exports.getMarkerBarDimensions = exports.getFillerGaugeValueMarkerPositions = exports.getFillBarDimensions = exports.getGaugeBarHeight = exports.getGaugeBarWidth = exports.getGaugeBarStartPositions = exports.getGaugeBarLength = exports.assignGaugeColor = exports.getGaugeDimensions = exports.getGaugeStartPosition = exports.getGaugeLength = exports.getGaugeHeight = exports.getGaugeWidth = exports.FILL_THICKNESS = exports.GAUGE_THICKNESS = void 0;
|
|
1771
1694
|
|
|
1772
|
-
var lodash_1 = __webpack_require__(
|
|
1695
|
+
var lodash_1 = __webpack_require__(3);
|
|
1773
1696
|
|
|
1774
|
-
var colorConstants_1 = __webpack_require__(
|
|
1697
|
+
var colorConstants_1 = __webpack_require__(45);
|
|
1775
1698
|
|
|
1776
|
-
var i18n_1 = __webpack_require__(
|
|
1699
|
+
var i18n_1 = __webpack_require__(2);
|
|
1777
1700
|
|
|
1778
1701
|
exports.GAUGE_THICKNESS = 50;
|
|
1779
1702
|
exports.FILL_THICKNESS = 38;
|
|
@@ -2524,10 +2447,6 @@ var convertToGaugeProperties = function convertToGaugeProperties(originalOptions
|
|
|
2524
2447
|
exports.convertToGaugeProperties = convertToGaugeProperties;
|
|
2525
2448
|
|
|
2526
2449
|
/***/ }),
|
|
2527
|
-
/* 81 */,
|
|
2528
|
-
/* 82 */,
|
|
2529
|
-
/* 83 */,
|
|
2530
|
-
/* 84 */,
|
|
2531
2450
|
/* 85 */,
|
|
2532
2451
|
/* 86 */,
|
|
2533
2452
|
/* 87 */,
|
|
@@ -2544,7 +2463,16 @@ exports.convertToGaugeProperties = convertToGaugeProperties;
|
|
|
2544
2463
|
/* 98 */,
|
|
2545
2464
|
/* 99 */,
|
|
2546
2465
|
/* 100 */,
|
|
2547
|
-
/* 101
|
|
2466
|
+
/* 101 */,
|
|
2467
|
+
/* 102 */,
|
|
2468
|
+
/* 103 */,
|
|
2469
|
+
/* 104 */,
|
|
2470
|
+
/* 105 */,
|
|
2471
|
+
/* 106 */,
|
|
2472
|
+
/* 107 */,
|
|
2473
|
+
/* 108 */,
|
|
2474
|
+
/* 109 */,
|
|
2475
|
+
/* 110 */
|
|
2548
2476
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2549
2477
|
|
|
2550
2478
|
"use strict";
|
|
@@ -2554,7 +2482,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2554
2482
|
value: true
|
|
2555
2483
|
});
|
|
2556
2484
|
|
|
2557
|
-
var i18n_1 = __webpack_require__(
|
|
2485
|
+
var i18n_1 = __webpack_require__(2);
|
|
2558
2486
|
|
|
2559
2487
|
var gauge = {
|
|
2560
2488
|
label: i18n_1._('Gauge Settings'),
|
|
@@ -2608,14 +2536,14 @@ var gauge = {
|
|
|
2608
2536
|
exports.default = gauge;
|
|
2609
2537
|
|
|
2610
2538
|
/***/ }),
|
|
2611
|
-
/*
|
|
2539
|
+
/* 111 */
|
|
2612
2540
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2613
2541
|
|
|
2614
2542
|
"use strict";
|
|
2615
2543
|
__webpack_require__.r(__webpack_exports__);
|
|
2616
2544
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MajorTick", function() { return MajorTick; });
|
|
2617
2545
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "positionMajorTick", function() { return positionMajorTick; });
|
|
2618
|
-
/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
2546
|
+
/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(48);
|
|
2619
2547
|
/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__);
|
|
2620
2548
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1);
|
|
2621
2549
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
|
@@ -2623,7 +2551,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2623
2551
|
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
|
|
2624
2552
|
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(4);
|
|
2625
2553
|
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_3__);
|
|
2626
|
-
/* harmony import */ var _splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
|
2554
|
+
/* harmony import */ var _splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(30);
|
|
2627
2555
|
/* harmony import */ var _splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_4__);
|
|
2628
2556
|
|
|
2629
2557
|
|
|
@@ -2862,14 +2790,14 @@ MajorTicks.defaultProps = {
|
|
|
2862
2790
|
/* harmony default export */ __webpack_exports__["default"] = (MajorTicks);
|
|
2863
2791
|
|
|
2864
2792
|
/***/ }),
|
|
2865
|
-
/*
|
|
2793
|
+
/* 112 */
|
|
2866
2794
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2867
2795
|
|
|
2868
2796
|
"use strict";
|
|
2869
2797
|
__webpack_require__.r(__webpack_exports__);
|
|
2870
2798
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "positionValueMarkerRect", function() { return positionValueMarkerRect; });
|
|
2871
2799
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "positionLabel", function() { return positionLabel; });
|
|
2872
|
-
/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
2800
|
+
/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(48);
|
|
2873
2801
|
/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__);
|
|
2874
2802
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1);
|
|
2875
2803
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
|
@@ -2877,7 +2805,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2877
2805
|
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
|
|
2878
2806
|
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(4);
|
|
2879
2807
|
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_3__);
|
|
2880
|
-
/* harmony import */ var _splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
|
2808
|
+
/* harmony import */ var _splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(30);
|
|
2881
2809
|
/* harmony import */ var _splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_4__);
|
|
2882
2810
|
|
|
2883
2811
|
|
|
@@ -3063,15 +2991,6 @@ ValueMarker.defaultProps = {
|
|
|
3063
2991
|
/* harmony default export */ __webpack_exports__["default"] = (ValueMarker);
|
|
3064
2992
|
|
|
3065
2993
|
/***/ }),
|
|
3066
|
-
/* 104 */,
|
|
3067
|
-
/* 105 */,
|
|
3068
|
-
/* 106 */,
|
|
3069
|
-
/* 107 */,
|
|
3070
|
-
/* 108 */,
|
|
3071
|
-
/* 109 */,
|
|
3072
|
-
/* 110 */,
|
|
3073
|
-
/* 111 */,
|
|
3074
|
-
/* 112 */,
|
|
3075
2994
|
/* 113 */,
|
|
3076
2995
|
/* 114 */,
|
|
3077
2996
|
/* 115 */,
|
|
@@ -3131,7 +3050,25 @@ ValueMarker.defaultProps = {
|
|
|
3131
3050
|
/* 169 */,
|
|
3132
3051
|
/* 170 */,
|
|
3133
3052
|
/* 171 */,
|
|
3134
|
-
/* 172
|
|
3053
|
+
/* 172 */,
|
|
3054
|
+
/* 173 */,
|
|
3055
|
+
/* 174 */,
|
|
3056
|
+
/* 175 */,
|
|
3057
|
+
/* 176 */,
|
|
3058
|
+
/* 177 */,
|
|
3059
|
+
/* 178 */,
|
|
3060
|
+
/* 179 */,
|
|
3061
|
+
/* 180 */,
|
|
3062
|
+
/* 181 */,
|
|
3063
|
+
/* 182 */,
|
|
3064
|
+
/* 183 */,
|
|
3065
|
+
/* 184 */,
|
|
3066
|
+
/* 185 */,
|
|
3067
|
+
/* 186 */,
|
|
3068
|
+
/* 187 */,
|
|
3069
|
+
/* 188 */,
|
|
3070
|
+
/* 189 */,
|
|
3071
|
+
/* 190 */
|
|
3135
3072
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3136
3073
|
|
|
3137
3074
|
"use strict";
|
|
@@ -3155,15 +3092,15 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3155
3092
|
});
|
|
3156
3093
|
exports.themes = exports.computeVizProps = exports.PureFillerGauge = exports.config = void 0;
|
|
3157
3094
|
|
|
3158
|
-
var lodash_1 = __webpack_require__(
|
|
3095
|
+
var lodash_1 = __webpack_require__(3);
|
|
3159
3096
|
|
|
3160
|
-
var config_1 = __webpack_require__(
|
|
3097
|
+
var config_1 = __webpack_require__(191);
|
|
3161
3098
|
|
|
3162
|
-
var withDashboardViz_1 = __webpack_require__(
|
|
3099
|
+
var withDashboardViz_1 = __webpack_require__(32);
|
|
3163
3100
|
|
|
3164
|
-
var FillerGauge_1 = __webpack_require__(
|
|
3101
|
+
var FillerGauge_1 = __webpack_require__(195);
|
|
3165
3102
|
|
|
3166
|
-
var gaugeUtils_1 = __webpack_require__(
|
|
3103
|
+
var gaugeUtils_1 = __webpack_require__(84);
|
|
3167
3104
|
|
|
3168
3105
|
exports.config = config_1.default;
|
|
3169
3106
|
exports.PureFillerGauge = FillerGauge_1.default;
|
|
@@ -3193,7 +3130,7 @@ exports.themes = config_1.default.themes;
|
|
|
3193
3130
|
exports.default = viz;
|
|
3194
3131
|
|
|
3195
3132
|
/***/ }),
|
|
3196
|
-
/*
|
|
3133
|
+
/* 191 */
|
|
3197
3134
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3198
3135
|
|
|
3199
3136
|
"use strict";
|
|
@@ -3203,35 +3140,35 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3203
3140
|
value: true
|
|
3204
3141
|
});
|
|
3205
3142
|
|
|
3206
|
-
var i18n_1 = __webpack_require__(
|
|
3143
|
+
var i18n_1 = __webpack_require__(2);
|
|
3207
3144
|
|
|
3208
3145
|
var schemaUtils_1 = __webpack_require__(16);
|
|
3209
3146
|
|
|
3210
|
-
var pick_1 = __webpack_require__(
|
|
3147
|
+
var pick_1 = __webpack_require__(21);
|
|
3211
3148
|
|
|
3212
|
-
var variables_1 = __webpack_require__(
|
|
3149
|
+
var variables_1 = __webpack_require__(9);
|
|
3213
3150
|
|
|
3214
|
-
var visualization_color_palettes_1 = __webpack_require__(
|
|
3151
|
+
var visualization_color_palettes_1 = __webpack_require__(46);
|
|
3215
3152
|
|
|
3216
|
-
var PresetPalettes_1 = __webpack_require__(
|
|
3153
|
+
var PresetPalettes_1 = __webpack_require__(54);
|
|
3217
3154
|
|
|
3218
|
-
var GaugeFiller_1 = __webpack_require__(
|
|
3155
|
+
var GaugeFiller_1 = __webpack_require__(192);
|
|
3219
3156
|
|
|
3220
|
-
var placeholders_1 = __webpack_require__(
|
|
3157
|
+
var placeholders_1 = __webpack_require__(44);
|
|
3221
3158
|
|
|
3222
|
-
var VizBehavior_1 = __webpack_require__(
|
|
3159
|
+
var VizBehavior_1 = __webpack_require__(6);
|
|
3223
3160
|
|
|
3224
|
-
var VizCategory_1 = __webpack_require__(
|
|
3161
|
+
var VizCategory_1 = __webpack_require__(31);
|
|
3225
3162
|
|
|
3226
|
-
var configUtils_1 = __webpack_require__(
|
|
3163
|
+
var configUtils_1 = __webpack_require__(17);
|
|
3227
3164
|
|
|
3228
|
-
var Gauge_1 = __webpack_require__(
|
|
3165
|
+
var Gauge_1 = __webpack_require__(110);
|
|
3229
3166
|
|
|
3230
|
-
var BackgroundColor_1 = __webpack_require__(
|
|
3167
|
+
var BackgroundColor_1 = __webpack_require__(50);
|
|
3231
3168
|
|
|
3232
|
-
var DynamicGaugeColorEditor_1 = __webpack_require__(
|
|
3169
|
+
var DynamicGaugeColorEditor_1 = __webpack_require__(193);
|
|
3233
3170
|
|
|
3234
|
-
var StaticGaugeColorEditor_1 = __webpack_require__(
|
|
3171
|
+
var StaticGaugeColorEditor_1 = __webpack_require__(194);
|
|
3235
3172
|
|
|
3236
3173
|
var dataContract = {
|
|
3237
3174
|
requiredDataSources: [{
|
|
@@ -3480,13 +3417,13 @@ var config = {
|
|
|
3480
3417
|
exports.default = configUtils_1.enhanceConfig(config);
|
|
3481
3418
|
|
|
3482
3419
|
/***/ }),
|
|
3483
|
-
/*
|
|
3420
|
+
/* 192 */
|
|
3484
3421
|
/***/ (function(module, exports) {
|
|
3485
3422
|
|
|
3486
3423
|
module.exports = require("@splunk/react-icons/GaugeFiller");
|
|
3487
3424
|
|
|
3488
3425
|
/***/ }),
|
|
3489
|
-
/*
|
|
3426
|
+
/* 193 */
|
|
3490
3427
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3491
3428
|
|
|
3492
3429
|
"use strict";
|
|
@@ -3497,9 +3434,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3497
3434
|
});
|
|
3498
3435
|
exports.getDynamicGaugeColorEditor = void 0;
|
|
3499
3436
|
|
|
3500
|
-
var i18n_1 = __webpack_require__(
|
|
3437
|
+
var i18n_1 = __webpack_require__(2);
|
|
3501
3438
|
|
|
3502
|
-
var configUtils_1 = __webpack_require__(
|
|
3439
|
+
var configUtils_1 = __webpack_require__(18);
|
|
3503
3440
|
|
|
3504
3441
|
var getDynamicGaugeColorEditor = function getDynamicGaugeColorEditor(_ref) {
|
|
3505
3442
|
var defaultContext = _ref.defaultContext,
|
|
@@ -3535,7 +3472,7 @@ var getDynamicGaugeColorEditor = function getDynamicGaugeColorEditor(_ref) {
|
|
|
3535
3472
|
exports.getDynamicGaugeColorEditor = getDynamicGaugeColorEditor;
|
|
3536
3473
|
|
|
3537
3474
|
/***/ }),
|
|
3538
|
-
/*
|
|
3475
|
+
/* 194 */
|
|
3539
3476
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3540
3477
|
|
|
3541
3478
|
"use strict";
|
|
@@ -3545,9 +3482,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3545
3482
|
value: true
|
|
3546
3483
|
});
|
|
3547
3484
|
|
|
3548
|
-
var i18n_1 = __webpack_require__(
|
|
3485
|
+
var i18n_1 = __webpack_require__(2);
|
|
3549
3486
|
|
|
3550
|
-
var configUtils_1 = __webpack_require__(
|
|
3487
|
+
var configUtils_1 = __webpack_require__(18);
|
|
3551
3488
|
|
|
3552
3489
|
var StaticGaugeColorEditor = {
|
|
3553
3490
|
label: i18n_1._('Static Gauge'),
|
|
@@ -3561,7 +3498,7 @@ var StaticGaugeColorEditor = {
|
|
|
3561
3498
|
exports.default = StaticGaugeColorEditor;
|
|
3562
3499
|
|
|
3563
3500
|
/***/ }),
|
|
3564
|
-
/*
|
|
3501
|
+
/* 195 */
|
|
3565
3502
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3566
3503
|
|
|
3567
3504
|
"use strict";
|
|
@@ -3591,21 +3528,21 @@ var T = __webpack_require__(0);
|
|
|
3591
3528
|
|
|
3592
3529
|
var styled_components_1 = __webpack_require__(4);
|
|
3593
3530
|
|
|
3594
|
-
var lodash_1 = __webpack_require__(
|
|
3531
|
+
var lodash_1 = __webpack_require__(3);
|
|
3595
3532
|
|
|
3596
|
-
var i18n_1 = __webpack_require__(
|
|
3533
|
+
var i18n_1 = __webpack_require__(2);
|
|
3597
3534
|
|
|
3598
3535
|
var style_1 = __webpack_require__(15);
|
|
3599
3536
|
|
|
3600
|
-
var SizeAwareWrapper_1 = __webpack_require__(
|
|
3537
|
+
var SizeAwareWrapper_1 = __webpack_require__(20);
|
|
3601
3538
|
|
|
3602
|
-
var Message_1 = __webpack_require__(
|
|
3539
|
+
var Message_1 = __webpack_require__(10);
|
|
3603
3540
|
|
|
3604
|
-
var gaugeUtils_1 = __webpack_require__(
|
|
3541
|
+
var gaugeUtils_1 = __webpack_require__(84);
|
|
3605
3542
|
|
|
3606
|
-
var GaugeMajorTicks_1 = __webpack_require__(
|
|
3543
|
+
var GaugeMajorTicks_1 = __webpack_require__(111);
|
|
3607
3544
|
|
|
3608
|
-
var GaugeValueMarker_1 = __webpack_require__(
|
|
3545
|
+
var GaugeValueMarker_1 = __webpack_require__(112);
|
|
3609
3546
|
|
|
3610
3547
|
var Container = styled_components_1.default.div.withConfig({
|
|
3611
3548
|
displayName: "FillerGauge__Container",
|