@splunk/visualizations 25.1.0 → 25.3.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_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_Value_Highlighting.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_Markdown_Markdown_Background_Color_af575a.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Markdown_Markdown_Basic_Markdown.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Markdown_Markdown_Begin_with_Text_Instead_of_Header.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Markdown_Markdown_Font_Color_purple.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Markdown_Markdown_Font_Size_custom.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Markdown_Markdown_Font_Size_extraLarge.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Markdown_Markdown_Markdown_with_number_as_DSL.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 +72 -22
- package/Area.config.js.map +1 -1
- package/Area.js +246 -185
- package/Area.js.map +1 -1
- package/Bar.config.js +17 -17
- package/Bar.config.js.map +1 -1
- package/Bar.js +191 -180
- package/Bar.js.map +1 -1
- package/Bubble.config.js +21 -14
- package/Bubble.config.js.map +1 -1
- package/Bubble.js +193 -175
- package/Bubble.js.map +1 -1
- package/ChoroplethSvg.config.js +6 -6
- package/ChoroplethSvg.config.js.map +1 -1
- package/ChoroplethSvg.js +180 -170
- package/ChoroplethSvg.js.map +1 -1
- package/Column.config.js +17 -17
- package/Column.config.js.map +1 -1
- package/Column.js +190 -180
- package/Column.js.map +1 -1
- package/Ellipse.config.js +3 -3
- package/Ellipse.config.js.map +1 -1
- package/Ellipse.js +144 -134
- package/Ellipse.js.map +1 -1
- package/Events.config.js +664 -0
- package/Events.config.js.map +1 -0
- package/Events.js +3114 -0
- package/Events.js.map +1 -0
- package/FillerGauge.config.js +20 -19
- package/FillerGauge.config.js.map +1 -1
- package/FillerGauge.js +183 -166
- package/FillerGauge.js.map +1 -1
- package/Image.config.js +5 -5
- package/Image.config.js.map +1 -1
- package/Image.js +128 -128
- package/Image.js.map +1 -1
- package/Line.config.js +73 -22
- package/Line.config.js.map +1 -1
- package/Line.js +253 -186
- package/Line.js.map +1 -1
- package/LinkGraph.config.js +15 -8
- package/LinkGraph.config.js.map +1 -1
- package/LinkGraph.js +25270 -434
- package/LinkGraph.js.map +1 -1
- package/Map.config.js +30 -29
- package/Map.config.js.map +1 -1
- package/Map.js +3064 -3125
- package/Map.js.map +1 -1
- package/Markdown.config.js +32 -10
- package/Markdown.config.js.map +1 -1
- package/Markdown.js +576 -529
- package/Markdown.js.map +1 -1
- package/MarkerGauge.config.js +16 -16
- package/MarkerGauge.config.js.map +1 -1
- package/MarkerGauge.js +1287 -1287
- package/MarkerGauge.js.map +1 -1
- package/ParallelCoordinates.config.js +14 -14
- package/ParallelCoordinates.config.js.map +1 -1
- package/ParallelCoordinates.js +532 -639
- package/ParallelCoordinates.js.map +1 -1
- package/Pie.config.js +16 -16
- package/Pie.config.js.map +1 -1
- package/Pie.js +1205 -1205
- package/Pie.js.map +1 -1
- package/Punchcard.config.js +14 -14
- package/Punchcard.config.js.map +1 -1
- package/Punchcard.js +2584 -2700
- package/Punchcard.js.map +1 -1
- package/Rectangle.config.js +7 -7
- package/Rectangle.config.js.map +1 -1
- package/Rectangle.js +726 -726
- package/Rectangle.js.map +1 -1
- package/Sankey.config.js +18 -18
- package/Sankey.config.js.map +1 -1
- package/Sankey.js +3132 -3253
- package/Sankey.js.map +1 -1
- package/Scatter.config.js +24 -16
- package/Scatter.config.js.map +1 -1
- package/Scatter.js +1402 -1395
- package/Scatter.js.map +1 -1
- package/SingleValue.config.js +11 -10
- package/SingleValue.config.js.map +1 -1
- package/SingleValue.js +2208 -2208
- package/SingleValue.js.map +1 -1
- package/SingleValueBasic.js +32 -32
- package/SingleValueBasic.js.map +1 -1
- package/SingleValueIcon.config.js +11 -10
- package/SingleValueIcon.config.js.map +1 -1
- package/SingleValueIcon.js +825 -966
- package/SingleValueIcon.js.map +1 -1
- package/SingleValueRadial.config.js +11 -10
- package/SingleValueRadial.config.js.map +1 -1
- package/SingleValueRadial.js +1897 -1897
- package/SingleValueRadial.js.map +1 -1
- package/Table.config.js +7 -7
- package/Table.config.js.map +1 -1
- package/Table.js +2158 -2155
- package/Table.js.map +1 -1
- package/common/EventsDoc.js +15 -8
- package/common/EventsDoc.js.map +1 -1
- package/common/GaugeMajorTicks.js +2 -2
- package/common/GaugeValueMarker.js +2 -2
- package/common/OptionsDoc.js +8 -8
- package/common/OptionsDoc.js.map +1 -1
- package/common/ThemesDoc.js +2 -2
- package/common/utils/configUtils.js +3 -3
- package/common/utils/configUtils.js.map +1 -1
- package/common/utils/dataUtils.js +136 -0
- package/common/utils/dataUtils.js.map +1 -0
- package/common/utils/hocUtils.js +2 -2
- package/common/utils/hocUtils.js.map +1 -1
- package/common/utils/mapUtils.js +11 -10
- package/common/utils/mapUtils.js.map +1 -1
- package/common/utils/singleValueUtils.js +3 -2
- 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 +2 -2
- package/common/withDashboardViz.js.map +1 -1
- package/package.json +15 -13
package/Markdown.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 = 400);
|
|
91
91
|
/******/ })
|
|
92
92
|
/************************************************************************/
|
|
93
93
|
/******/ ({
|
|
@@ -95,39 +95,53 @@ module.exports =
|
|
|
95
95
|
/***/ 0:
|
|
96
96
|
/***/ (function(module, exports) {
|
|
97
97
|
|
|
98
|
-
module.exports = require("
|
|
98
|
+
module.exports = require("react");
|
|
99
99
|
|
|
100
100
|
/***/ }),
|
|
101
101
|
|
|
102
102
|
/***/ 1:
|
|
103
103
|
/***/ (function(module, exports) {
|
|
104
104
|
|
|
105
|
-
module.exports = require("
|
|
105
|
+
module.exports = require("prop-types");
|
|
106
106
|
|
|
107
107
|
/***/ }),
|
|
108
108
|
|
|
109
109
|
/***/ 10:
|
|
110
110
|
/***/ (function(module, exports) {
|
|
111
111
|
|
|
112
|
+
module.exports = require("@splunk/visualizations-shared/Message");
|
|
113
|
+
|
|
114
|
+
/***/ }),
|
|
115
|
+
|
|
116
|
+
/***/ 109:
|
|
117
|
+
/***/ (function(module, exports) {
|
|
118
|
+
|
|
119
|
+
module.exports = require("@splunk/react-ui/Markdown");
|
|
120
|
+
|
|
121
|
+
/***/ }),
|
|
122
|
+
|
|
123
|
+
/***/ 11:
|
|
124
|
+
/***/ (function(module, exports) {
|
|
125
|
+
|
|
112
126
|
module.exports = require("@babel/runtime/helpers/classCallCheck");
|
|
113
127
|
|
|
114
128
|
/***/ }),
|
|
115
129
|
|
|
116
|
-
/***/
|
|
130
|
+
/***/ 114:
|
|
117
131
|
/***/ (function(module, exports) {
|
|
118
132
|
|
|
119
133
|
module.exports = require("@splunk/react-ui/Paragraph");
|
|
120
134
|
|
|
121
135
|
/***/ }),
|
|
122
136
|
|
|
123
|
-
/***/
|
|
137
|
+
/***/ 12:
|
|
124
138
|
/***/ (function(module, exports) {
|
|
125
139
|
|
|
126
140
|
module.exports = require("@splunk/visualizations-shared/colorUtils");
|
|
127
141
|
|
|
128
142
|
/***/ }),
|
|
129
143
|
|
|
130
|
-
/***/
|
|
144
|
+
/***/ 13:
|
|
131
145
|
/***/ (function(module, exports, __webpack_require__) {
|
|
132
146
|
|
|
133
147
|
"use strict";
|
|
@@ -137,15 +151,15 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
137
151
|
value: true
|
|
138
152
|
});
|
|
139
153
|
|
|
140
|
-
var React = __webpack_require__(
|
|
154
|
+
var React = __webpack_require__(0);
|
|
141
155
|
|
|
142
156
|
var styled_components_1 = __webpack_require__(4);
|
|
143
157
|
|
|
144
|
-
var SizeAwareWrapper_1 = __webpack_require__(
|
|
158
|
+
var SizeAwareWrapper_1 = __webpack_require__(20);
|
|
145
159
|
|
|
146
|
-
var style_1 = __webpack_require__(
|
|
160
|
+
var style_1 = __webpack_require__(15);
|
|
147
161
|
|
|
148
|
-
var colorUtils_1 = __webpack_require__(
|
|
162
|
+
var colorUtils_1 = __webpack_require__(12);
|
|
149
163
|
|
|
150
164
|
var Item = styled_components_1.default.div.attrs(function (_ref) {
|
|
151
165
|
var width = _ref.width;
|
|
@@ -202,7 +216,7 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
|
|
|
202
216
|
|
|
203
217
|
return React.createElement(FixSizeItem, {
|
|
204
218
|
"data-test": "fix-size-item",
|
|
205
|
-
"data-splunk-visualization-version": "25.
|
|
219
|
+
"data-splunk-visualization-version": "25.3.0 - dae70ec02",
|
|
206
220
|
width: width,
|
|
207
221
|
height: height,
|
|
208
222
|
backgroundColor: backgroundColor
|
|
@@ -224,7 +238,7 @@ exports.default = withFixedSizeContainer;
|
|
|
224
238
|
|
|
225
239
|
/***/ }),
|
|
226
240
|
|
|
227
|
-
/***/
|
|
241
|
+
/***/ 14:
|
|
228
242
|
/***/ (function(module, exports, __webpack_require__) {
|
|
229
243
|
|
|
230
244
|
"use strict";
|
|
@@ -257,50 +271,52 @@ exports.extendStaticWrapperProps = extendStaticWrapperProps;
|
|
|
257
271
|
|
|
258
272
|
/***/ }),
|
|
259
273
|
|
|
260
|
-
/***/
|
|
274
|
+
/***/ 143:
|
|
261
275
|
/***/ (function(module, exports, __webpack_require__) {
|
|
262
276
|
|
|
263
277
|
"use strict";
|
|
264
278
|
|
|
265
279
|
|
|
266
|
-
var _taggedTemplateLiteral = __webpack_require__(
|
|
280
|
+
var _taggedTemplateLiteral = __webpack_require__(86);
|
|
267
281
|
|
|
268
282
|
var _templateObject;
|
|
269
283
|
|
|
270
284
|
Object.defineProperty(exports, "__esModule", {
|
|
271
285
|
value: true
|
|
272
286
|
});
|
|
273
|
-
exports.getFontMap = exports.config = exports.themes = exports.computeVizProps = void 0;
|
|
287
|
+
exports.getFontMap = exports.config = exports.themes = exports.computeVizProps = exports.FONT_SIZES = void 0;
|
|
274
288
|
|
|
275
289
|
var lodash_1 = __webpack_require__(3);
|
|
276
290
|
|
|
277
|
-
var
|
|
291
|
+
var types_1 = __webpack_require__(81);
|
|
292
|
+
|
|
293
|
+
var React = __webpack_require__(0);
|
|
278
294
|
|
|
279
|
-
var style_1 = __webpack_require__(
|
|
295
|
+
var style_1 = __webpack_require__(15);
|
|
280
296
|
|
|
281
|
-
var Markdown_1 = __webpack_require__(
|
|
297
|
+
var Markdown_1 = __webpack_require__(109);
|
|
282
298
|
|
|
283
299
|
var styled_components_1 = __webpack_require__(4);
|
|
284
300
|
|
|
285
|
-
var T = __webpack_require__(
|
|
301
|
+
var T = __webpack_require__(1);
|
|
286
302
|
|
|
287
303
|
var themes_1 = __webpack_require__(69);
|
|
288
304
|
|
|
289
|
-
var Heading_1 = __webpack_require__(
|
|
305
|
+
var Heading_1 = __webpack_require__(401);
|
|
290
306
|
|
|
291
|
-
var Paragraph_1 = __webpack_require__(
|
|
307
|
+
var Paragraph_1 = __webpack_require__(114);
|
|
292
308
|
|
|
293
|
-
var List_1 = __webpack_require__(
|
|
309
|
+
var List_1 = __webpack_require__(402);
|
|
294
310
|
|
|
295
|
-
var Code_1 = __webpack_require__(
|
|
311
|
+
var Code_1 = __webpack_require__(403);
|
|
296
312
|
|
|
297
|
-
var withDashboardViz_1 = __webpack_require__(
|
|
313
|
+
var withDashboardViz_1 = __webpack_require__(32);
|
|
298
314
|
|
|
299
|
-
var config_1 = __webpack_require__(
|
|
315
|
+
var config_1 = __webpack_require__(404);
|
|
300
316
|
|
|
301
317
|
exports.config = config_1.default; // map of valid font sizes with elements' respective pixel sizes
|
|
302
318
|
|
|
303
|
-
|
|
319
|
+
exports.FONT_SIZES = {
|
|
304
320
|
extraSmall: {
|
|
305
321
|
h1: 18,
|
|
306
322
|
h2: 14,
|
|
@@ -355,7 +371,7 @@ var MarkdownContainer = styled_components_1.default.div.withConfig({
|
|
|
355
371
|
var CodeBlockContainer = styled_components_1.default.div.withConfig({
|
|
356
372
|
displayName: "Markdown__CodeBlockContainer",
|
|
357
373
|
componentId: "zd3qkg-1"
|
|
358
|
-
})(["padding:", ";margin:", " 0;background-color:", ";pre[data-test='code']{margin-bottom:0px;}code{font-size:", "px !important;}"], themes_1.pick({
|
|
374
|
+
})(["padding:", ";margin:", " 0;background-color:", ";pre[data-test='code']{margin-bottom:0px;}code{font-size:", "px !important;line-height:", "px !important;}"], themes_1.pick({
|
|
359
375
|
enterprise: themes_1.variables.spacingHalf,
|
|
360
376
|
prisma: styled_components_1.css(_templateObject || (_templateObject = _taggedTemplateLiteral(["10px ", ""])), themes_1.variables.spacingLarge)
|
|
361
377
|
}), themes_1.pick({
|
|
@@ -369,6 +385,8 @@ var CodeBlockContainer = styled_components_1.default.div.withConfig({
|
|
|
369
385
|
prisma: themes_1.variables.backgroundColorSection
|
|
370
386
|
}), function (props) {
|
|
371
387
|
return props.fontSize;
|
|
388
|
+
}, function (props) {
|
|
389
|
+
return props.fontSize;
|
|
372
390
|
});
|
|
373
391
|
var CodeInlineContainer = styled_components_1.default.code.withConfig({
|
|
374
392
|
displayName: "Markdown__CodeInlineContainer",
|
|
@@ -385,30 +403,44 @@ var CodeInlineContainer = styled_components_1.default.code.withConfig({
|
|
|
385
403
|
var getFontMap = function getFontMap(fontSize) {
|
|
386
404
|
var font = fontSize;
|
|
387
405
|
|
|
388
|
-
if (!FONT_SIZES[fontSize]) {
|
|
406
|
+
if (!exports.FONT_SIZES[fontSize] && fontSize !== 'custom') {
|
|
389
407
|
console.error("'".concat(fontSize, "' is not a valid value for Markdown's fontSize option. Using the 'default' font size."));
|
|
390
408
|
font = 'default';
|
|
391
409
|
}
|
|
392
410
|
|
|
393
|
-
return FONT_SIZES[font];
|
|
411
|
+
return exports.FONT_SIZES[font];
|
|
394
412
|
};
|
|
395
413
|
|
|
396
414
|
exports.getFontMap = getFontMap;
|
|
397
415
|
|
|
398
416
|
var handleLinkClick = function handleLinkClick(e) {
|
|
399
417
|
return e.stopPropagation();
|
|
400
|
-
};
|
|
418
|
+
};
|
|
401
419
|
|
|
420
|
+
var StyledA = styled_components_1.default.a.withConfig({
|
|
421
|
+
displayName: "Markdown__StyledA",
|
|
422
|
+
componentId: "zd3qkg-3"
|
|
423
|
+
})(["text-decoration:underlined;"]); // returns renderers customized with the appropriate font sizes given the provided `fontSize` value.
|
|
402
424
|
|
|
403
|
-
var getMarkdownRenderer = function getMarkdownRenderer(fontSize) {
|
|
425
|
+
var getMarkdownRenderer = function getMarkdownRenderer(fontSize, customFontSize) {
|
|
426
|
+
// defaults to customFontSize of 14px if value is invalid
|
|
427
|
+
var cleanedCustomFontSize = types_1.isNumber(customFontSize) ? customFontSize : 14;
|
|
428
|
+
var isCustomFontSize = fontSize === 'custom';
|
|
404
429
|
/* eslint-disable react/display-name, react/prop-types */
|
|
405
|
-
|
|
430
|
+
|
|
431
|
+
var fontMap = isCustomFontSize ? {
|
|
432
|
+
h1: cleanedCustomFontSize * 2.0,
|
|
433
|
+
h2: cleanedCustomFontSize * 1.5,
|
|
434
|
+
h3: cleanedCustomFontSize * 1.25,
|
|
435
|
+
p: cleanedCustomFontSize
|
|
436
|
+
} : getFontMap(fontSize);
|
|
406
437
|
return {
|
|
407
438
|
paragraphRenderer: function paragraphRenderer(_ref2) {
|
|
408
439
|
var children = _ref2.children;
|
|
409
440
|
return React.createElement(Paragraph_1.default, {
|
|
410
441
|
style: {
|
|
411
|
-
fontSize: fontMap.p
|
|
442
|
+
fontSize: fontMap.p,
|
|
443
|
+
lineHeight: "".concat(fontMap.p, "px")
|
|
412
444
|
}
|
|
413
445
|
}, children);
|
|
414
446
|
},
|
|
@@ -428,7 +460,8 @@ var getMarkdownRenderer = function getMarkdownRenderer(fontSize) {
|
|
|
428
460
|
nodeKey = _ref4.nodeKey;
|
|
429
461
|
return React.createElement(List_1.default.Item, {
|
|
430
462
|
style: {
|
|
431
|
-
fontSize: fontMap.p
|
|
463
|
+
fontSize: fontMap.p,
|
|
464
|
+
lineHeight: "".concat(fontMap.p, "px")
|
|
432
465
|
},
|
|
433
466
|
key: nodeKey
|
|
434
467
|
}, children);
|
|
@@ -456,10 +489,6 @@ var getMarkdownRenderer = function getMarkdownRenderer(fontSize) {
|
|
|
456
489
|
linkRenderer: function linkRenderer(_ref7) {
|
|
457
490
|
var href = _ref7.href,
|
|
458
491
|
children = _ref7.children;
|
|
459
|
-
var StyledA = styled_components_1.default.a.withConfig({
|
|
460
|
-
displayName: "Markdown__StyledA",
|
|
461
|
-
componentId: "zd3qkg-3"
|
|
462
|
-
})(["text-decoration:underlined;"]);
|
|
463
492
|
return React.createElement(StyledA, {
|
|
464
493
|
href: href,
|
|
465
494
|
onClick: handleLinkClick
|
|
@@ -475,6 +504,7 @@ var MarkdownVisualization = function MarkdownVisualization(_ref8) {
|
|
|
475
504
|
backgroundColor = _ref8.backgroundColor,
|
|
476
505
|
fontColor = _ref8.fontColor,
|
|
477
506
|
fontSize = _ref8.fontSize,
|
|
507
|
+
customFontSize = _ref8.customFontSize,
|
|
478
508
|
hasEventHandlers = _ref8.hasEventHandlers,
|
|
479
509
|
onMarkdownClick = _ref8.onMarkdownClick;
|
|
480
510
|
|
|
@@ -482,7 +512,7 @@ var MarkdownVisualization = function MarkdownVisualization(_ref8) {
|
|
|
482
512
|
|
|
483
513
|
|
|
484
514
|
var stringifiedMarkdown = "".concat(markdown);
|
|
485
|
-
var renderersForFontSize = getMarkdownRenderer(fontSize);
|
|
515
|
+
var renderersForFontSize = getMarkdownRenderer(fontSize, customFontSize);
|
|
486
516
|
return React.createElement(MarkdownContainer, {
|
|
487
517
|
"data-testid": "markdown-container",
|
|
488
518
|
padding: [5, 5, 5, 5],
|
|
@@ -509,6 +539,7 @@ var propTypes = {
|
|
|
509
539
|
backgroundColor: T.string,
|
|
510
540
|
fontColor: T.string,
|
|
511
541
|
fontSize: T.string,
|
|
542
|
+
customFontSize: T.number,
|
|
512
543
|
hasEventHandlers: T.bool,
|
|
513
544
|
onMarkdownClick: T.func
|
|
514
545
|
};
|
|
@@ -519,6 +550,7 @@ var defaultProps = {
|
|
|
519
550
|
backgroundColor: 'transparent',
|
|
520
551
|
fontColor: 'rgba(255, 255, 255, 0.7)',
|
|
521
552
|
fontSize: 'default',
|
|
553
|
+
customFontSize: 14,
|
|
522
554
|
hasEventHandlers: false,
|
|
523
555
|
onMarkdownClick: function onMarkdownClick() {}
|
|
524
556
|
};
|
|
@@ -541,29 +573,29 @@ exports.default = Markdown;
|
|
|
541
573
|
|
|
542
574
|
/***/ }),
|
|
543
575
|
|
|
544
|
-
/***/
|
|
576
|
+
/***/ 15:
|
|
545
577
|
/***/ (function(module, exports) {
|
|
546
578
|
|
|
547
579
|
module.exports = require("@splunk/visualizations-shared/style");
|
|
548
580
|
|
|
549
581
|
/***/ }),
|
|
550
582
|
|
|
551
|
-
/***/
|
|
583
|
+
/***/ 16:
|
|
552
584
|
/***/ (function(module, exports) {
|
|
553
585
|
|
|
554
586
|
module.exports = require("@splunk/visualizations-shared/schemaUtils");
|
|
555
587
|
|
|
556
588
|
/***/ }),
|
|
557
589
|
|
|
558
|
-
/***/
|
|
590
|
+
/***/ 17:
|
|
559
591
|
/***/ (function(module, exports, __webpack_require__) {
|
|
560
592
|
|
|
561
593
|
"use strict";
|
|
562
594
|
|
|
563
595
|
|
|
564
|
-
var _toConsumableArray = __webpack_require__(
|
|
596
|
+
var _toConsumableArray = __webpack_require__(8);
|
|
565
597
|
|
|
566
|
-
var _defineProperty = __webpack_require__(
|
|
598
|
+
var _defineProperty = __webpack_require__(7);
|
|
567
599
|
|
|
568
600
|
var __rest = this && this.__rest || function (s, e) {
|
|
569
601
|
var t = {};
|
|
@@ -585,9 +617,9 @@ exports.insertLayout = exports.isDynamicOption = exports.uncollapseEditorConfig
|
|
|
585
617
|
|
|
586
618
|
var lodash_1 = __webpack_require__(3);
|
|
587
619
|
|
|
588
|
-
var schemaUtils_1 = __webpack_require__(
|
|
620
|
+
var schemaUtils_1 = __webpack_require__(16);
|
|
589
621
|
|
|
590
|
-
var VizBehavior_1 = __webpack_require__(
|
|
622
|
+
var VizBehavior_1 = __webpack_require__(6);
|
|
591
623
|
|
|
592
624
|
var dynamicOptionsDSLType = {
|
|
593
625
|
type: 'string',
|
|
@@ -663,7 +695,7 @@ exports.enhanceOptionsSchemaWithDynamicOptions = enhanceOptionsSchemaWithDynamic
|
|
|
663
695
|
*/
|
|
664
696
|
|
|
665
697
|
function enhanceConfig(vizConfig) {
|
|
666
|
-
var enhancedConfig = vizConfig;
|
|
698
|
+
var enhancedConfig = Object.assign({}, vizConfig);
|
|
667
699
|
|
|
668
700
|
if (vizConfig.supports.indexOf(VizBehavior_1.VizBehavior.DYNAMIC_OPTIONS) !== -1) {
|
|
669
701
|
enhancedConfig.optionsSchema = enhanceOptionsSchemaWithDynamicOptions(vizConfig.optionsSchema);
|
|
@@ -671,7 +703,7 @@ function enhanceConfig(vizConfig) {
|
|
|
671
703
|
|
|
672
704
|
enhancedConfig.editorConfig = vizConfig.editorConfig.map(function (config) {
|
|
673
705
|
return Object.assign(Object.assign({}, config), {
|
|
674
|
-
open: false
|
|
706
|
+
open: config.open || false
|
|
675
707
|
});
|
|
676
708
|
});
|
|
677
709
|
return enhancedConfig;
|
|
@@ -686,7 +718,7 @@ exports.enhanceConfig = enhanceConfig;
|
|
|
686
718
|
*/
|
|
687
719
|
|
|
688
720
|
function uncollapseEditorConfig(vizConfig) {
|
|
689
|
-
var editorPanelUncollapsedConfig = vizConfig;
|
|
721
|
+
var editorPanelUncollapsedConfig = Object.assign({}, vizConfig);
|
|
690
722
|
editorPanelUncollapsedConfig.editorConfig = vizConfig.editorConfig.map(function (config) {
|
|
691
723
|
return Object.assign(Object.assign({}, config), {
|
|
692
724
|
open: true
|
|
@@ -792,488 +824,255 @@ exports.insertLayout = insertLayout;
|
|
|
792
824
|
|
|
793
825
|
/***/ }),
|
|
794
826
|
|
|
795
|
-
/***/
|
|
827
|
+
/***/ 19:
|
|
796
828
|
/***/ (function(module, exports) {
|
|
797
829
|
|
|
798
830
|
module.exports = require("@babel/runtime/helpers/createClass");
|
|
799
831
|
|
|
800
832
|
/***/ }),
|
|
801
833
|
|
|
802
|
-
/***/
|
|
834
|
+
/***/ 2:
|
|
835
|
+
/***/ (function(module, exports) {
|
|
836
|
+
|
|
837
|
+
module.exports = require("@splunk/ui-utils/i18n");
|
|
838
|
+
|
|
839
|
+
/***/ }),
|
|
840
|
+
|
|
841
|
+
/***/ 20:
|
|
803
842
|
/***/ (function(module, exports) {
|
|
804
843
|
|
|
805
844
|
module.exports = require("@splunk/visualizations-shared/SizeAwareWrapper");
|
|
806
845
|
|
|
807
846
|
/***/ }),
|
|
808
847
|
|
|
809
|
-
/***/
|
|
848
|
+
/***/ 23:
|
|
810
849
|
/***/ (function(module, exports) {
|
|
811
850
|
|
|
812
|
-
module.exports = require("@splunk/
|
|
851
|
+
module.exports = require("@splunk/visualization-context/TimezoneContext");
|
|
813
852
|
|
|
814
853
|
/***/ }),
|
|
815
854
|
|
|
816
|
-
/***/
|
|
817
|
-
/***/ (function(module, exports
|
|
855
|
+
/***/ 25:
|
|
856
|
+
/***/ (function(module, exports) {
|
|
818
857
|
|
|
819
|
-
|
|
858
|
+
module.exports = require("@splunk/visualizations-shared/hocUtils");
|
|
820
859
|
|
|
860
|
+
/***/ }),
|
|
821
861
|
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
});
|
|
862
|
+
/***/ 26:
|
|
863
|
+
/***/ (function(module, exports) {
|
|
864
|
+
|
|
865
|
+
module.exports = require("@splunk/visualizations-shared/JSONSchemaUtils");
|
|
866
|
+
|
|
867
|
+
/***/ }),
|
|
868
|
+
|
|
869
|
+
/***/ 27:
|
|
870
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
871
|
+
|
|
872
|
+
"use strict";
|
|
834
873
|
|
|
835
|
-
var __exportStar = this && this.__exportStar || function (m, exports) {
|
|
836
|
-
for (var p in m) {
|
|
837
|
-
if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
838
|
-
}
|
|
839
|
-
};
|
|
840
874
|
|
|
841
875
|
Object.defineProperty(exports, "__esModule", {
|
|
842
876
|
value: true
|
|
843
877
|
});
|
|
844
|
-
exports.
|
|
878
|
+
exports.shouldShowIconPlaceholder = void 0;
|
|
845
879
|
|
|
846
|
-
|
|
880
|
+
var React = __webpack_require__(0);
|
|
847
881
|
|
|
848
|
-
var
|
|
882
|
+
var T = __webpack_require__(1);
|
|
849
883
|
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
884
|
+
var lodash_1 = __webpack_require__(3);
|
|
885
|
+
|
|
886
|
+
var i18n_1 = __webpack_require__(2);
|
|
887
|
+
|
|
888
|
+
var Message_1 = __webpack_require__(10);
|
|
889
|
+
|
|
890
|
+
var FixedSizeContainer_1 = __webpack_require__(13);
|
|
891
|
+
/**
|
|
892
|
+
* @method shouldShowIconPlaceholder
|
|
893
|
+
* @param {object} dataSources
|
|
894
|
+
* @param {boolean} loading
|
|
895
|
+
* @returns {boolean}
|
|
896
|
+
*/
|
|
897
|
+
|
|
898
|
+
|
|
899
|
+
var shouldShowIconPlaceholder = function shouldShowIconPlaceholder(dataSources) {
|
|
900
|
+
var loading = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
901
|
+
var data = lodash_1.get(dataSources, 'primary.data.columns[0]', undefined);
|
|
902
|
+
var noData = data === undefined;
|
|
903
|
+
var fields = lodash_1.get(dataSources, 'primary.data.fields[0]', undefined);
|
|
904
|
+
var noFields = fields === undefined;
|
|
905
|
+
return loading || noData || noFields;
|
|
906
|
+
};
|
|
907
|
+
|
|
908
|
+
exports.shouldShowIconPlaceholder = shouldShowIconPlaceholder;
|
|
909
|
+
var propTypes = {
|
|
910
|
+
icon: T.func,
|
|
911
|
+
width: T.oneOfType([T.string, T.number]),
|
|
912
|
+
height: T.oneOfType([T.string, T.number]),
|
|
913
|
+
// eslint-disable-next-line react/no-unused-prop-types
|
|
914
|
+
backgroundColor: T.string,
|
|
915
|
+
iconColor: T.string
|
|
916
|
+
};
|
|
917
|
+
/**
|
|
918
|
+
* @method IconPlaceholder
|
|
919
|
+
* @param {IconPlaceholderProps} props
|
|
920
|
+
* @returns {React.ReactElement}
|
|
921
|
+
*/
|
|
922
|
+
|
|
923
|
+
var IconPlaceholder = function IconPlaceholder(props) {
|
|
924
|
+
var width = props.width,
|
|
925
|
+
height = props.height,
|
|
926
|
+
icon = props.icon,
|
|
927
|
+
iconColor = props.iconColor;
|
|
928
|
+
|
|
929
|
+
if (icon) {
|
|
930
|
+
return React.createElement(icon, {
|
|
931
|
+
style: {
|
|
932
|
+
left: '50%',
|
|
933
|
+
top: '50%',
|
|
934
|
+
color: iconColor,
|
|
935
|
+
opacity: 0.15,
|
|
936
|
+
position: 'absolute',
|
|
937
|
+
transform: 'translate(-50%, -50%)'
|
|
938
|
+
},
|
|
939
|
+
width: '50%',
|
|
940
|
+
height: '50%'
|
|
941
|
+
});
|
|
854
942
|
}
|
|
855
|
-
|
|
943
|
+
|
|
944
|
+
return React.createElement(Message_1.default, {
|
|
945
|
+
width: width,
|
|
946
|
+
height: height,
|
|
947
|
+
level: "warning",
|
|
948
|
+
message: i18n_1._('No DataSource Connected')
|
|
949
|
+
});
|
|
950
|
+
};
|
|
951
|
+
|
|
952
|
+
IconPlaceholder.propTypes = propTypes;
|
|
953
|
+
IconPlaceholder.defaultProps = {
|
|
954
|
+
width: '100%',
|
|
955
|
+
height: 250
|
|
956
|
+
};
|
|
957
|
+
exports.default = FixedSizeContainer_1.default(IconPlaceholder);
|
|
856
958
|
|
|
857
959
|
/***/ }),
|
|
858
960
|
|
|
859
|
-
/***/
|
|
860
|
-
/***/ (function(module, exports) {
|
|
961
|
+
/***/ 28:
|
|
962
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
861
963
|
|
|
862
|
-
|
|
964
|
+
"use strict";
|
|
863
965
|
|
|
864
|
-
/***/ }),
|
|
865
966
|
|
|
866
|
-
|
|
867
|
-
/***/ (function(module, exports) {
|
|
967
|
+
var _defineProperty = __webpack_require__(7);
|
|
868
968
|
|
|
869
|
-
|
|
969
|
+
Object.defineProperty(exports, "__esModule", {
|
|
970
|
+
value: true
|
|
971
|
+
});
|
|
972
|
+
exports.getSortingParams = exports.SortParamsPropTypes = void 0;
|
|
870
973
|
|
|
871
|
-
|
|
974
|
+
var T = __webpack_require__(1);
|
|
872
975
|
|
|
873
|
-
|
|
874
|
-
/***/ (function(module, exports) {
|
|
976
|
+
var lodash_1 = __webpack_require__(3);
|
|
875
977
|
|
|
876
|
-
|
|
978
|
+
var DataSource_1 = __webpack_require__(39);
|
|
877
979
|
|
|
878
|
-
|
|
980
|
+
exports.SortParamsPropTypes = T.shape({
|
|
981
|
+
currentSortKey: T.string,
|
|
982
|
+
currentSortDir: T.oneOf(DataSource_1.validSortDirs),
|
|
983
|
+
onSort: T.func
|
|
984
|
+
});
|
|
879
985
|
|
|
880
|
-
|
|
881
|
-
|
|
986
|
+
var getSortingParams = function getSortingParams(_ref) {
|
|
987
|
+
var requestParams = _ref.requestParams,
|
|
988
|
+
onRequestParamsChange = _ref.onRequestParamsChange;
|
|
989
|
+
var currentSortKey;
|
|
990
|
+
var currentSortDir;
|
|
991
|
+
var nextSortDirMap = {
|
|
992
|
+
asc: 'desc',
|
|
993
|
+
desc: 'asc',
|
|
994
|
+
none: 'asc'
|
|
995
|
+
};
|
|
996
|
+
var onSort;
|
|
882
997
|
|
|
883
|
-
|
|
998
|
+
if (lodash_1.isFunction(onRequestParamsChange)) {
|
|
999
|
+
if (requestParams && lodash_1.has(requestParams, 'sort')) {
|
|
1000
|
+
currentSortKey = Object.keys(requestParams.sort).shift();
|
|
1001
|
+
currentSortDir = requestParams.sort[currentSortKey];
|
|
1002
|
+
} // undid memoization since there is a dependency on requestParams, which is a deeply nested object
|
|
1003
|
+
|
|
1004
|
+
|
|
1005
|
+
onSort = function onSort(e, _ref2) {
|
|
1006
|
+
var sortKey = _ref2.sortKey,
|
|
1007
|
+
sortDir = _ref2.sortDir;
|
|
1008
|
+
|
|
1009
|
+
if (typeof sortKey === 'string') {
|
|
1010
|
+
var nextSortDir = lodash_1.has(nextSortDirMap, sortDir) ? nextSortDirMap[sortDir] : 'none';
|
|
1011
|
+
onRequestParamsChange(Object.assign(Object.assign({}, requestParams), {
|
|
1012
|
+
offset: 0,
|
|
1013
|
+
sort: _defineProperty({}, sortKey, nextSortDir)
|
|
1014
|
+
}));
|
|
1015
|
+
} else {
|
|
1016
|
+
onRequestParamsChange(requestParams);
|
|
1017
|
+
}
|
|
1018
|
+
};
|
|
1019
|
+
}
|
|
1020
|
+
|
|
1021
|
+
return {
|
|
1022
|
+
currentSortKey: currentSortKey,
|
|
1023
|
+
currentSortDir: currentSortDir,
|
|
1024
|
+
onSort: onSort
|
|
1025
|
+
};
|
|
1026
|
+
};
|
|
1027
|
+
|
|
1028
|
+
exports.getSortingParams = getSortingParams;
|
|
884
1029
|
|
|
885
1030
|
/***/ }),
|
|
886
1031
|
|
|
887
|
-
/***/
|
|
1032
|
+
/***/ 29:
|
|
888
1033
|
/***/ (function(module, exports, __webpack_require__) {
|
|
889
1034
|
|
|
890
1035
|
"use strict";
|
|
891
1036
|
|
|
892
1037
|
|
|
893
|
-
var _toConsumableArray = __webpack_require__(7);
|
|
894
|
-
|
|
895
1038
|
Object.defineProperty(exports, "__esModule", {
|
|
896
1039
|
value: true
|
|
897
1040
|
});
|
|
1041
|
+
exports.getPaginationParams = exports.PaginatorParamsPropTypes = void 0;
|
|
898
1042
|
|
|
899
|
-
var
|
|
1043
|
+
var T = __webpack_require__(1);
|
|
900
1044
|
|
|
901
|
-
var
|
|
1045
|
+
var lodash_1 = __webpack_require__(3);
|
|
902
1046
|
|
|
903
|
-
|
|
1047
|
+
exports.PaginatorParamsPropTypes = T.shape({
|
|
1048
|
+
isPaging: T.bool,
|
|
1049
|
+
current: T.number,
|
|
1050
|
+
totalPages: T.number,
|
|
1051
|
+
onChange: T.func
|
|
1052
|
+
});
|
|
904
1053
|
|
|
905
|
-
var
|
|
1054
|
+
var getPaginationParams = function getPaginationParams(_ref) {
|
|
1055
|
+
var requestParams = _ref.requestParams,
|
|
1056
|
+
meta = _ref.meta,
|
|
1057
|
+
onRequestParamsChange = _ref.onRequestParamsChange;
|
|
1058
|
+
var totalCount = meta && meta.totalCount || 0;
|
|
1059
|
+
var offset = requestParams && requestParams.offset || 0;
|
|
1060
|
+
var count = requestParams && requestParams.count;
|
|
1061
|
+
var totalPages = typeof count === 'number' && count > 0 ? Math.ceil(totalCount / count) : 0;
|
|
1062
|
+
var current = typeof count === 'number' && count > 0 ? Math.floor(offset / count) + 1 : 0;
|
|
1063
|
+
var isPaging = totalPages > 1 && lodash_1.isFunction(onRequestParamsChange);
|
|
906
1064
|
|
|
907
|
-
var
|
|
1065
|
+
var onChangeHandler = function onChangeHandler(e, _ref2) {
|
|
1066
|
+
var page = _ref2.page,
|
|
1067
|
+
countArg = _ref2.count;
|
|
1068
|
+
var newParams = lodash_1.cloneDeep(requestParams);
|
|
908
1069
|
|
|
909
|
-
|
|
1070
|
+
if (typeof countArg === 'number') {
|
|
1071
|
+
newParams.count = countArg;
|
|
1072
|
+
newParams.offset = 0;
|
|
1073
|
+
}
|
|
910
1074
|
|
|
911
|
-
var
|
|
912
|
-
|
|
913
|
-
var dataContract = {
|
|
914
|
-
requiredDataSources: [],
|
|
915
|
-
optionalDataSources: [// Note: SCP-14090 disable ui for optional datasources. We may need to add it back later
|
|
916
|
-
// {
|
|
917
|
-
// name: 'annotation',
|
|
918
|
-
// description: 'DataSource that populate event annotations',
|
|
919
|
-
// },
|
|
920
|
-
],
|
|
921
|
-
initialRequestParams: {
|
|
922
|
-
primary: {
|
|
923
|
-
offset: 0,
|
|
924
|
-
count: 10000
|
|
925
|
-
}
|
|
926
|
-
}
|
|
927
|
-
};
|
|
928
|
-
var size = {
|
|
929
|
-
initialWidth: 300,
|
|
930
|
-
initialHeight: 300
|
|
931
|
-
};
|
|
932
|
-
var defaultContext = {};
|
|
933
|
-
var optionsSchema = {
|
|
934
|
-
backgroundColor: {
|
|
935
|
-
description: 'Specify the background color using a Hex code such as "#FF0000".',
|
|
936
|
-
type: 'string',
|
|
937
|
-
default: 'transparent',
|
|
938
|
-
pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA
|
|
939
|
-
},
|
|
940
|
-
fontColor: {
|
|
941
|
-
description: 'Specify the text color using Hex codes or RGBA values, such as "#FF0000" or "rgba(25,12,13,0.1)". The default for enterprise light is "#3c444d". The default for enterprise dark is "#FFFFFF". The default for prisma dark is "rgba(255, 255, 255, 0.7)".',
|
|
942
|
-
type: 'string',
|
|
943
|
-
default: '> themes.defaultFontColor',
|
|
944
|
-
pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA
|
|
945
|
-
},
|
|
946
|
-
fontSize: {
|
|
947
|
-
description: 'Specify the font size you would like to use for markdown content. Font sizes range from extra small (10px for unformatted text) to extra large (18px for unformatted text) with the default being 14px for unformatted text.',
|
|
948
|
-
type: 'string',
|
|
949
|
-
default: 'default',
|
|
950
|
-
pattern: schemaUtils_1.getPattern(['extraSmall', 'small', 'default', 'large', 'extraLarge'])
|
|
951
|
-
},
|
|
952
|
-
markdown: {
|
|
953
|
-
description: 'Add text using basic markdown syntax.',
|
|
954
|
-
type: 'string'
|
|
955
|
-
}
|
|
956
|
-
};
|
|
957
|
-
var themes = {
|
|
958
|
-
defaultFontColor: function defaultFontColor(props) {
|
|
959
|
-
return themes_1.pick({
|
|
960
|
-
enterprise: {
|
|
961
|
-
dark: themes_1.variables.textColor(props),
|
|
962
|
-
light: themes_1.variables.textColor(props)
|
|
963
|
-
},
|
|
964
|
-
prisma: themes_1.variables.contentColorDefault(props)
|
|
965
|
-
})(props);
|
|
966
|
-
}
|
|
967
|
-
};
|
|
968
|
-
var editorConfig = [{
|
|
969
|
-
label: i18n_1._('Markdown Settings'),
|
|
970
|
-
layout: [[{
|
|
971
|
-
label: '',
|
|
972
|
-
option: 'markdown',
|
|
973
|
-
editor: 'editor.markdown'
|
|
974
|
-
}]]
|
|
975
|
-
}, {
|
|
976
|
-
label: i18n_1._('General'),
|
|
977
|
-
layout: [[{
|
|
978
|
-
label: i18n_1._('Font Color'),
|
|
979
|
-
option: 'fontColor',
|
|
980
|
-
editor: 'editor.color',
|
|
981
|
-
editorProps: {
|
|
982
|
-
labelPosition: 'top',
|
|
983
|
-
themes: themes
|
|
984
|
-
}
|
|
985
|
-
}].concat(_toConsumableArray(BackgroundColor_1.default({
|
|
986
|
-
label: 'Background Color',
|
|
987
|
-
themes: themes
|
|
988
|
-
}))), [{
|
|
989
|
-
label: i18n_1._('Font Size'),
|
|
990
|
-
option: 'fontSize',
|
|
991
|
-
editor: 'editor.select',
|
|
992
|
-
editorProps: {
|
|
993
|
-
values: [{
|
|
994
|
-
label: i18n_1._('Extra Small'),
|
|
995
|
-
value: 'extraSmall'
|
|
996
|
-
}, {
|
|
997
|
-
label: i18n_1._('Small'),
|
|
998
|
-
value: 'small'
|
|
999
|
-
}, {
|
|
1000
|
-
label: i18n_1._('Default'),
|
|
1001
|
-
value: 'default'
|
|
1002
|
-
}, {
|
|
1003
|
-
label: i18n_1._('Large'),
|
|
1004
|
-
value: 'large'
|
|
1005
|
-
}, {
|
|
1006
|
-
label: i18n_1._('Extra Large'),
|
|
1007
|
-
value: 'extraLarge'
|
|
1008
|
-
}]
|
|
1009
|
-
}
|
|
1010
|
-
}]]
|
|
1011
|
-
}];
|
|
1012
|
-
/**
|
|
1013
|
-
* visualization configuration
|
|
1014
|
-
*/
|
|
1015
|
-
|
|
1016
|
-
var config = {
|
|
1017
|
-
/**
|
|
1018
|
-
* unique viz key
|
|
1019
|
-
*/
|
|
1020
|
-
key: 'splunk.markdown',
|
|
1021
|
-
|
|
1022
|
-
/**
|
|
1023
|
-
* viz name
|
|
1024
|
-
*/
|
|
1025
|
-
name: 'Markdown',
|
|
1026
|
-
category: VizCategory_1.VizCategory.COMPARISONS,
|
|
1027
|
-
|
|
1028
|
-
/**
|
|
1029
|
-
* viz icon
|
|
1030
|
-
*/
|
|
1031
|
-
icon: null,
|
|
1032
|
-
dataContract: dataContract,
|
|
1033
|
-
size: size,
|
|
1034
|
-
defaultContext: defaultContext,
|
|
1035
|
-
optionsSchema: optionsSchema,
|
|
1036
|
-
editorConfig: editorConfig,
|
|
1037
|
-
events: {
|
|
1038
|
-
'markdown.click': {
|
|
1039
|
-
description: 'triggered when user clicks on markdown area not formatted as a link'
|
|
1040
|
-
}
|
|
1041
|
-
},
|
|
1042
|
-
supports: [VizBehavior_1.VizBehavior.DYNAMIC_OPTIONS, VizBehavior_1.VizBehavior.EVENTS],
|
|
1043
|
-
themes: themes
|
|
1044
|
-
};
|
|
1045
|
-
exports.default = configUtils_1.enhanceConfig(config);
|
|
1046
|
-
|
|
1047
|
-
/***/ }),
|
|
1048
|
-
|
|
1049
|
-
/***/ 22:
|
|
1050
|
-
/***/ (function(module, exports) {
|
|
1051
|
-
|
|
1052
|
-
module.exports = require("@splunk/visualization-context/TimezoneContext");
|
|
1053
|
-
|
|
1054
|
-
/***/ }),
|
|
1055
|
-
|
|
1056
|
-
/***/ 24:
|
|
1057
|
-
/***/ (function(module, exports) {
|
|
1058
|
-
|
|
1059
|
-
module.exports = require("@splunk/visualizations-shared/hocUtils");
|
|
1060
|
-
|
|
1061
|
-
/***/ }),
|
|
1062
|
-
|
|
1063
|
-
/***/ 25:
|
|
1064
|
-
/***/ (function(module, exports) {
|
|
1065
|
-
|
|
1066
|
-
module.exports = require("@splunk/visualizations-shared/JSONSchemaUtils");
|
|
1067
|
-
|
|
1068
|
-
/***/ }),
|
|
1069
|
-
|
|
1070
|
-
/***/ 27:
|
|
1071
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1072
|
-
|
|
1073
|
-
"use strict";
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
Object.defineProperty(exports, "__esModule", {
|
|
1077
|
-
value: true
|
|
1078
|
-
});
|
|
1079
|
-
exports.shouldShowIconPlaceholder = void 0;
|
|
1080
|
-
|
|
1081
|
-
var React = __webpack_require__(1);
|
|
1082
|
-
|
|
1083
|
-
var T = __webpack_require__(0);
|
|
1084
|
-
|
|
1085
|
-
var lodash_1 = __webpack_require__(3);
|
|
1086
|
-
|
|
1087
|
-
var i18n_1 = __webpack_require__(2);
|
|
1088
|
-
|
|
1089
|
-
var Message_1 = __webpack_require__(9);
|
|
1090
|
-
|
|
1091
|
-
var FixedSizeContainer_1 = __webpack_require__(12);
|
|
1092
|
-
/**
|
|
1093
|
-
* @method shouldShowIconPlaceholder
|
|
1094
|
-
* @param {object} dataSources
|
|
1095
|
-
* @param {boolean} loading
|
|
1096
|
-
* @returns {boolean}
|
|
1097
|
-
*/
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
var shouldShowIconPlaceholder = function shouldShowIconPlaceholder(dataSources) {
|
|
1101
|
-
var loading = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
1102
|
-
var data = lodash_1.get(dataSources, 'primary.data.columns[0]', undefined);
|
|
1103
|
-
var noData = data === undefined;
|
|
1104
|
-
var fields = lodash_1.get(dataSources, 'primary.data.fields[0]', undefined);
|
|
1105
|
-
var noFields = fields === undefined;
|
|
1106
|
-
return loading || noData || noFields;
|
|
1107
|
-
};
|
|
1108
|
-
|
|
1109
|
-
exports.shouldShowIconPlaceholder = shouldShowIconPlaceholder;
|
|
1110
|
-
var propTypes = {
|
|
1111
|
-
icon: T.func,
|
|
1112
|
-
width: T.oneOfType([T.string, T.number]),
|
|
1113
|
-
height: T.oneOfType([T.string, T.number]),
|
|
1114
|
-
// eslint-disable-next-line react/no-unused-prop-types
|
|
1115
|
-
backgroundColor: T.string,
|
|
1116
|
-
iconColor: T.string
|
|
1117
|
-
};
|
|
1118
|
-
/**
|
|
1119
|
-
* @method IconPlaceholder
|
|
1120
|
-
* @param {IconPlaceholderProps} props
|
|
1121
|
-
* @returns {React.ReactElement}
|
|
1122
|
-
*/
|
|
1123
|
-
|
|
1124
|
-
var IconPlaceholder = function IconPlaceholder(props) {
|
|
1125
|
-
var width = props.width,
|
|
1126
|
-
height = props.height,
|
|
1127
|
-
icon = props.icon,
|
|
1128
|
-
iconColor = props.iconColor;
|
|
1129
|
-
|
|
1130
|
-
if (icon) {
|
|
1131
|
-
return React.createElement(icon, {
|
|
1132
|
-
style: {
|
|
1133
|
-
left: '50%',
|
|
1134
|
-
top: '50%',
|
|
1135
|
-
color: iconColor,
|
|
1136
|
-
opacity: 0.15,
|
|
1137
|
-
position: 'absolute',
|
|
1138
|
-
transform: 'translate(-50%, -50%)'
|
|
1139
|
-
},
|
|
1140
|
-
width: '50%',
|
|
1141
|
-
height: '50%'
|
|
1142
|
-
});
|
|
1143
|
-
}
|
|
1144
|
-
|
|
1145
|
-
return React.createElement(Message_1.default, {
|
|
1146
|
-
width: width,
|
|
1147
|
-
height: height,
|
|
1148
|
-
level: "warning",
|
|
1149
|
-
message: i18n_1._('No DataSource Connected')
|
|
1150
|
-
});
|
|
1151
|
-
};
|
|
1152
|
-
|
|
1153
|
-
IconPlaceholder.propTypes = propTypes;
|
|
1154
|
-
IconPlaceholder.defaultProps = {
|
|
1155
|
-
width: '100%',
|
|
1156
|
-
height: 250
|
|
1157
|
-
};
|
|
1158
|
-
exports.default = FixedSizeContainer_1.default(IconPlaceholder);
|
|
1159
|
-
|
|
1160
|
-
/***/ }),
|
|
1161
|
-
|
|
1162
|
-
/***/ 28:
|
|
1163
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1164
|
-
|
|
1165
|
-
"use strict";
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
var _defineProperty = __webpack_require__(6);
|
|
1169
|
-
|
|
1170
|
-
Object.defineProperty(exports, "__esModule", {
|
|
1171
|
-
value: true
|
|
1172
|
-
});
|
|
1173
|
-
exports.getSortingParams = exports.SortParamsPropTypes = void 0;
|
|
1174
|
-
|
|
1175
|
-
var T = __webpack_require__(0);
|
|
1176
|
-
|
|
1177
|
-
var lodash_1 = __webpack_require__(3);
|
|
1178
|
-
|
|
1179
|
-
var DataSource_1 = __webpack_require__(38);
|
|
1180
|
-
|
|
1181
|
-
exports.SortParamsPropTypes = T.shape({
|
|
1182
|
-
currentSortKey: T.string,
|
|
1183
|
-
currentSortDir: T.oneOf(DataSource_1.validSortDirs),
|
|
1184
|
-
onSort: T.func
|
|
1185
|
-
});
|
|
1186
|
-
|
|
1187
|
-
var getSortingParams = function getSortingParams(_ref) {
|
|
1188
|
-
var requestParams = _ref.requestParams,
|
|
1189
|
-
onRequestParamsChange = _ref.onRequestParamsChange;
|
|
1190
|
-
var currentSortKey;
|
|
1191
|
-
var currentSortDir;
|
|
1192
|
-
var nextSortDirMap = {
|
|
1193
|
-
asc: 'desc',
|
|
1194
|
-
desc: 'asc',
|
|
1195
|
-
none: 'asc'
|
|
1196
|
-
};
|
|
1197
|
-
var onSort;
|
|
1198
|
-
|
|
1199
|
-
if (lodash_1.isFunction(onRequestParamsChange)) {
|
|
1200
|
-
if (requestParams && lodash_1.has(requestParams, 'sort')) {
|
|
1201
|
-
currentSortKey = Object.keys(requestParams.sort).shift();
|
|
1202
|
-
currentSortDir = requestParams.sort[currentSortKey];
|
|
1203
|
-
} // undid memoization since there is a dependency on requestParams, which is a deeply nested object
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
onSort = function onSort(e, _ref2) {
|
|
1207
|
-
var sortKey = _ref2.sortKey,
|
|
1208
|
-
sortDir = _ref2.sortDir;
|
|
1209
|
-
|
|
1210
|
-
if (typeof sortKey === 'string') {
|
|
1211
|
-
var nextSortDir = lodash_1.has(nextSortDirMap, sortDir) ? nextSortDirMap[sortDir] : 'none';
|
|
1212
|
-
onRequestParamsChange(Object.assign(Object.assign({}, requestParams), {
|
|
1213
|
-
offset: 0,
|
|
1214
|
-
sort: _defineProperty({}, sortKey, nextSortDir)
|
|
1215
|
-
}));
|
|
1216
|
-
} else {
|
|
1217
|
-
onRequestParamsChange(requestParams);
|
|
1218
|
-
}
|
|
1219
|
-
};
|
|
1220
|
-
}
|
|
1221
|
-
|
|
1222
|
-
return {
|
|
1223
|
-
currentSortKey: currentSortKey,
|
|
1224
|
-
currentSortDir: currentSortDir,
|
|
1225
|
-
onSort: onSort
|
|
1226
|
-
};
|
|
1227
|
-
};
|
|
1228
|
-
|
|
1229
|
-
exports.getSortingParams = getSortingParams;
|
|
1230
|
-
|
|
1231
|
-
/***/ }),
|
|
1232
|
-
|
|
1233
|
-
/***/ 29:
|
|
1234
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1235
|
-
|
|
1236
|
-
"use strict";
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
Object.defineProperty(exports, "__esModule", {
|
|
1240
|
-
value: true
|
|
1241
|
-
});
|
|
1242
|
-
exports.getPaginationParams = exports.PaginatorParamsPropTypes = void 0;
|
|
1243
|
-
|
|
1244
|
-
var T = __webpack_require__(0);
|
|
1245
|
-
|
|
1246
|
-
var lodash_1 = __webpack_require__(3);
|
|
1247
|
-
|
|
1248
|
-
exports.PaginatorParamsPropTypes = T.shape({
|
|
1249
|
-
isPaging: T.bool,
|
|
1250
|
-
current: T.number,
|
|
1251
|
-
totalPages: T.number,
|
|
1252
|
-
onChange: T.func
|
|
1253
|
-
});
|
|
1254
|
-
|
|
1255
|
-
var getPaginationParams = function getPaginationParams(_ref) {
|
|
1256
|
-
var requestParams = _ref.requestParams,
|
|
1257
|
-
meta = _ref.meta,
|
|
1258
|
-
onRequestParamsChange = _ref.onRequestParamsChange;
|
|
1259
|
-
var totalCount = meta && meta.totalCount || 0;
|
|
1260
|
-
var offset = requestParams && requestParams.offset || 0;
|
|
1261
|
-
var count = requestParams && requestParams.count;
|
|
1262
|
-
var totalPages = typeof count === 'number' && count > 0 ? Math.ceil(totalCount / count) : 0;
|
|
1263
|
-
var current = typeof count === 'number' && count > 0 ? Math.floor(offset / count) + 1 : 0;
|
|
1264
|
-
var isPaging = totalPages > 1 && lodash_1.isFunction(onRequestParamsChange);
|
|
1265
|
-
|
|
1266
|
-
var onChangeHandler = function onChangeHandler(e, _ref2) {
|
|
1267
|
-
var page = _ref2.page,
|
|
1268
|
-
countArg = _ref2.count;
|
|
1269
|
-
var newParams = lodash_1.cloneDeep(requestParams);
|
|
1270
|
-
|
|
1271
|
-
if (typeof countArg === 'number') {
|
|
1272
|
-
newParams.count = countArg;
|
|
1273
|
-
newParams.offset = 0;
|
|
1274
|
-
}
|
|
1275
|
-
|
|
1276
|
-
var pageCount = typeof newParams.count === 'number' ? newParams.count : 10;
|
|
1075
|
+
var pageCount = typeof newParams.count === 'number' ? newParams.count : 10;
|
|
1277
1076
|
|
|
1278
1077
|
if (typeof page === 'number' && page > 0) {
|
|
1279
1078
|
newParams.count = pageCount;
|
|
@@ -1302,7 +1101,7 @@ module.exports = require("lodash");
|
|
|
1302
1101
|
|
|
1303
1102
|
/***/ }),
|
|
1304
1103
|
|
|
1305
|
-
/***/
|
|
1104
|
+
/***/ 31:
|
|
1306
1105
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1307
1106
|
|
|
1308
1107
|
"use strict";
|
|
@@ -1331,7 +1130,7 @@ var VizCategory;
|
|
|
1331
1130
|
|
|
1332
1131
|
/***/ }),
|
|
1333
1132
|
|
|
1334
|
-
/***/
|
|
1133
|
+
/***/ 32:
|
|
1335
1134
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1336
1135
|
|
|
1337
1136
|
"use strict";
|
|
@@ -1341,41 +1140,41 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1341
1140
|
value: true
|
|
1342
1141
|
});
|
|
1343
1142
|
|
|
1344
|
-
var React = __webpack_require__(
|
|
1143
|
+
var React = __webpack_require__(0);
|
|
1345
1144
|
|
|
1346
1145
|
var lodash_1 = __webpack_require__(3);
|
|
1347
1146
|
|
|
1348
|
-
var getSettingsFromThemedProps_1 = __webpack_require__(
|
|
1147
|
+
var getSettingsFromThemedProps_1 = __webpack_require__(33);
|
|
1349
1148
|
|
|
1350
|
-
var Options_1 = __webpack_require__(
|
|
1149
|
+
var Options_1 = __webpack_require__(34);
|
|
1351
1150
|
|
|
1352
|
-
var SanitizeProps_1 = __webpack_require__(
|
|
1151
|
+
var SanitizeProps_1 = __webpack_require__(35);
|
|
1353
1152
|
|
|
1354
|
-
var TimezoneContext_1 = __webpack_require__(
|
|
1153
|
+
var TimezoneContext_1 = __webpack_require__(23);
|
|
1355
1154
|
|
|
1356
|
-
var moment_1 = __webpack_require__(
|
|
1155
|
+
var moment_1 = __webpack_require__(36);
|
|
1357
1156
|
|
|
1358
1157
|
var styled_components_1 = __webpack_require__(4);
|
|
1359
1158
|
|
|
1360
|
-
var hocUtils_1 = __webpack_require__(
|
|
1159
|
+
var hocUtils_1 = __webpack_require__(25);
|
|
1361
1160
|
|
|
1362
|
-
var JSONSchemaUtils_1 = __webpack_require__(
|
|
1161
|
+
var JSONSchemaUtils_1 = __webpack_require__(26);
|
|
1363
1162
|
|
|
1364
|
-
var SplunkVisualization_1 = __webpack_require__(
|
|
1163
|
+
var SplunkVisualization_1 = __webpack_require__(37);
|
|
1365
1164
|
|
|
1366
|
-
var VizBehavior_1 = __webpack_require__(
|
|
1165
|
+
var VizBehavior_1 = __webpack_require__(6);
|
|
1367
1166
|
|
|
1368
1167
|
var getSorting_1 = __webpack_require__(28);
|
|
1369
1168
|
|
|
1370
1169
|
var getPagination_1 = __webpack_require__(29);
|
|
1371
1170
|
|
|
1372
|
-
var useDeepMemo_1 = __webpack_require__(
|
|
1171
|
+
var useDeepMemo_1 = __webpack_require__(40);
|
|
1373
1172
|
|
|
1374
|
-
var MissingPropsMessage_1 = __webpack_require__(
|
|
1173
|
+
var MissingPropsMessage_1 = __webpack_require__(41);
|
|
1375
1174
|
|
|
1376
|
-
var withEditModeCover_1 = __webpack_require__(
|
|
1175
|
+
var withEditModeCover_1 = __webpack_require__(42);
|
|
1377
1176
|
|
|
1378
|
-
var withPlaceholder_1 = __webpack_require__(
|
|
1177
|
+
var withPlaceholder_1 = __webpack_require__(43);
|
|
1379
1178
|
/**
|
|
1380
1179
|
* hoc that wraps a pure react visualization in a Dashboard visualization
|
|
1381
1180
|
* @param {DashboardVizOpts} opts
|
|
@@ -1577,41 +1376,41 @@ exports.default = withDashboardViz;
|
|
|
1577
1376
|
|
|
1578
1377
|
/***/ }),
|
|
1579
1378
|
|
|
1580
|
-
/***/
|
|
1379
|
+
/***/ 33:
|
|
1581
1380
|
/***/ (function(module, exports) {
|
|
1582
1381
|
|
|
1583
1382
|
module.exports = require("@splunk/themes/getSettingsFromThemedProps");
|
|
1584
1383
|
|
|
1585
1384
|
/***/ }),
|
|
1586
1385
|
|
|
1587
|
-
/***/
|
|
1386
|
+
/***/ 34:
|
|
1588
1387
|
/***/ (function(module, exports) {
|
|
1589
1388
|
|
|
1590
1389
|
module.exports = require("@splunk/visualization-encoding/Options");
|
|
1591
1390
|
|
|
1592
1391
|
/***/ }),
|
|
1593
1392
|
|
|
1594
|
-
/***/
|
|
1393
|
+
/***/ 35:
|
|
1595
1394
|
/***/ (function(module, exports) {
|
|
1596
1395
|
|
|
1597
1396
|
module.exports = require("@splunk/visualizations-shared/SanitizeProps");
|
|
1598
1397
|
|
|
1599
1398
|
/***/ }),
|
|
1600
1399
|
|
|
1601
|
-
/***/
|
|
1400
|
+
/***/ 36:
|
|
1602
1401
|
/***/ (function(module, exports) {
|
|
1603
1402
|
|
|
1604
1403
|
module.exports = require("@splunk/moment");
|
|
1605
1404
|
|
|
1606
1405
|
/***/ }),
|
|
1607
1406
|
|
|
1608
|
-
/***/
|
|
1407
|
+
/***/ 37:
|
|
1609
1408
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1610
1409
|
|
|
1611
1410
|
"use strict";
|
|
1612
1411
|
|
|
1613
1412
|
|
|
1614
|
-
var _classCallCheck = __webpack_require__(
|
|
1413
|
+
var _classCallCheck = __webpack_require__(11);
|
|
1615
1414
|
|
|
1616
1415
|
Object.defineProperty(exports, "__esModule", {
|
|
1617
1416
|
value: true
|
|
@@ -1619,11 +1418,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1619
1418
|
exports.INITIAL_HEIGHT = exports.INITIAL_WIDTH = void 0;
|
|
1620
1419
|
/* eslint-disable react/no-unused-prop-types,react/prefer-stateless-function */
|
|
1621
1420
|
|
|
1622
|
-
var T = __webpack_require__(
|
|
1421
|
+
var T = __webpack_require__(1);
|
|
1623
1422
|
|
|
1624
1423
|
var lodash_1 = __webpack_require__(3);
|
|
1625
1424
|
|
|
1626
|
-
var VizActionHandler_1 = __webpack_require__(
|
|
1425
|
+
var VizActionHandler_1 = __webpack_require__(38); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
|
|
1627
1426
|
|
|
1628
1427
|
|
|
1629
1428
|
exports.INITIAL_WIDTH = 250;
|
|
@@ -1757,15 +1556,15 @@ exports.default = SplunkVisualization;
|
|
|
1757
1556
|
|
|
1758
1557
|
/***/ }),
|
|
1759
1558
|
|
|
1760
|
-
/***/
|
|
1559
|
+
/***/ 38:
|
|
1761
1560
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1762
1561
|
|
|
1763
1562
|
"use strict";
|
|
1764
1563
|
|
|
1765
1564
|
|
|
1766
|
-
var _classCallCheck = __webpack_require__(
|
|
1565
|
+
var _classCallCheck = __webpack_require__(11);
|
|
1767
1566
|
|
|
1768
|
-
var _createClass = __webpack_require__(
|
|
1567
|
+
var _createClass = __webpack_require__(19);
|
|
1769
1568
|
|
|
1770
1569
|
Object.defineProperty(exports, "__esModule", {
|
|
1771
1570
|
value: true
|
|
@@ -1795,7 +1594,7 @@ exports.DefaultVizActionHandler = DefaultVizActionHandler;
|
|
|
1795
1594
|
|
|
1796
1595
|
/***/ }),
|
|
1797
1596
|
|
|
1798
|
-
/***/
|
|
1597
|
+
/***/ 39:
|
|
1799
1598
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1800
1599
|
|
|
1801
1600
|
"use strict";
|
|
@@ -1809,7 +1608,14 @@ exports.validSortDirs = ['asc', 'desc', 'none'];
|
|
|
1809
1608
|
|
|
1810
1609
|
/***/ }),
|
|
1811
1610
|
|
|
1812
|
-
/***/
|
|
1611
|
+
/***/ 4:
|
|
1612
|
+
/***/ (function(module, exports) {
|
|
1613
|
+
|
|
1614
|
+
module.exports = require("styled-components");
|
|
1615
|
+
|
|
1616
|
+
/***/ }),
|
|
1617
|
+
|
|
1618
|
+
/***/ 40:
|
|
1813
1619
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1814
1620
|
|
|
1815
1621
|
"use strict";
|
|
@@ -1820,7 +1626,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1820
1626
|
});
|
|
1821
1627
|
exports.useDeepMemo = void 0;
|
|
1822
1628
|
|
|
1823
|
-
var react_1 = __webpack_require__(
|
|
1629
|
+
var react_1 = __webpack_require__(0);
|
|
1824
1630
|
|
|
1825
1631
|
var lodash_1 = __webpack_require__(3);
|
|
1826
1632
|
/**
|
|
@@ -1855,14 +1661,255 @@ exports.useDeepMemo = useDeepMemo;
|
|
|
1855
1661
|
|
|
1856
1662
|
/***/ }),
|
|
1857
1663
|
|
|
1858
|
-
/***/
|
|
1664
|
+
/***/ 400:
|
|
1665
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1666
|
+
|
|
1667
|
+
"use strict";
|
|
1668
|
+
|
|
1669
|
+
|
|
1670
|
+
var __createBinding = this && this.__createBinding || (Object.create ? function (o, m, k, k2) {
|
|
1671
|
+
if (k2 === undefined) k2 = k;
|
|
1672
|
+
Object.defineProperty(o, k2, {
|
|
1673
|
+
enumerable: true,
|
|
1674
|
+
get: function get() {
|
|
1675
|
+
return m[k];
|
|
1676
|
+
}
|
|
1677
|
+
});
|
|
1678
|
+
} : function (o, m, k, k2) {
|
|
1679
|
+
if (k2 === undefined) k2 = k;
|
|
1680
|
+
o[k2] = m[k];
|
|
1681
|
+
});
|
|
1682
|
+
|
|
1683
|
+
var __exportStar = this && this.__exportStar || function (m, exports) {
|
|
1684
|
+
for (var p in m) {
|
|
1685
|
+
if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
1686
|
+
}
|
|
1687
|
+
};
|
|
1688
|
+
|
|
1689
|
+
Object.defineProperty(exports, "__esModule", {
|
|
1690
|
+
value: true
|
|
1691
|
+
});
|
|
1692
|
+
exports.default = void 0;
|
|
1693
|
+
|
|
1694
|
+
__exportStar(__webpack_require__(143), exports);
|
|
1695
|
+
|
|
1696
|
+
var Markdown_1 = __webpack_require__(143);
|
|
1697
|
+
|
|
1698
|
+
Object.defineProperty(exports, "default", {
|
|
1699
|
+
enumerable: true,
|
|
1700
|
+
get: function get() {
|
|
1701
|
+
return Markdown_1.default;
|
|
1702
|
+
}
|
|
1703
|
+
});
|
|
1704
|
+
|
|
1705
|
+
/***/ }),
|
|
1706
|
+
|
|
1707
|
+
/***/ 401:
|
|
1859
1708
|
/***/ (function(module, exports) {
|
|
1860
1709
|
|
|
1861
|
-
module.exports = require("
|
|
1710
|
+
module.exports = require("@splunk/react-ui/Heading");
|
|
1862
1711
|
|
|
1863
1712
|
/***/ }),
|
|
1864
1713
|
|
|
1865
|
-
/***/
|
|
1714
|
+
/***/ 402:
|
|
1715
|
+
/***/ (function(module, exports) {
|
|
1716
|
+
|
|
1717
|
+
module.exports = require("@splunk/react-ui/List");
|
|
1718
|
+
|
|
1719
|
+
/***/ }),
|
|
1720
|
+
|
|
1721
|
+
/***/ 403:
|
|
1722
|
+
/***/ (function(module, exports) {
|
|
1723
|
+
|
|
1724
|
+
module.exports = require("@splunk/react-ui/Code");
|
|
1725
|
+
|
|
1726
|
+
/***/ }),
|
|
1727
|
+
|
|
1728
|
+
/***/ 404:
|
|
1729
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1730
|
+
|
|
1731
|
+
"use strict";
|
|
1732
|
+
|
|
1733
|
+
|
|
1734
|
+
var _toConsumableArray = __webpack_require__(8);
|
|
1735
|
+
|
|
1736
|
+
Object.defineProperty(exports, "__esModule", {
|
|
1737
|
+
value: true
|
|
1738
|
+
});
|
|
1739
|
+
|
|
1740
|
+
var themes_1 = __webpack_require__(69);
|
|
1741
|
+
|
|
1742
|
+
var i18n_1 = __webpack_require__(2);
|
|
1743
|
+
|
|
1744
|
+
var schemaUtils_1 = __webpack_require__(16);
|
|
1745
|
+
|
|
1746
|
+
var VizBehavior_1 = __webpack_require__(6);
|
|
1747
|
+
|
|
1748
|
+
var VizCategory_1 = __webpack_require__(31);
|
|
1749
|
+
|
|
1750
|
+
var configUtils_1 = __webpack_require__(17);
|
|
1751
|
+
|
|
1752
|
+
var BackgroundColor_1 = __webpack_require__(50);
|
|
1753
|
+
|
|
1754
|
+
var FONT_OPTIONS = new Set(['extraSmall', 'small', 'default', 'large', 'extraLarge']);
|
|
1755
|
+
var dataContract = {
|
|
1756
|
+
requiredDataSources: [],
|
|
1757
|
+
optionalDataSources: [// Note: SCP-14090 disable ui for optional datasources. We may need to add it back later
|
|
1758
|
+
// {
|
|
1759
|
+
// name: 'annotation',
|
|
1760
|
+
// description: 'DataSource that populate event annotations',
|
|
1761
|
+
// },
|
|
1762
|
+
],
|
|
1763
|
+
initialRequestParams: {
|
|
1764
|
+
primary: {
|
|
1765
|
+
offset: 0,
|
|
1766
|
+
count: 10000
|
|
1767
|
+
}
|
|
1768
|
+
}
|
|
1769
|
+
};
|
|
1770
|
+
var size = {
|
|
1771
|
+
initialWidth: 300,
|
|
1772
|
+
initialHeight: 300
|
|
1773
|
+
};
|
|
1774
|
+
var defaultContext = {};
|
|
1775
|
+
var optionsSchema = {
|
|
1776
|
+
backgroundColor: {
|
|
1777
|
+
description: 'Specify the background color using a Hex code such as "#FF0000".',
|
|
1778
|
+
type: 'string',
|
|
1779
|
+
default: 'transparent',
|
|
1780
|
+
pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA
|
|
1781
|
+
},
|
|
1782
|
+
customFontSize: {
|
|
1783
|
+
description: 'Specify the font size (in pixels) you would like to use for unformatted text when `fontSize` is set to `custom`. Header elements are calculated with the following formula: h1 = 2 × `customFontSize`, h2 = 1.5 × `customFontSize`, h3 = 1.25 × `customFontSize`',
|
|
1784
|
+
default: 14,
|
|
1785
|
+
type: 'number'
|
|
1786
|
+
},
|
|
1787
|
+
fontColor: {
|
|
1788
|
+
description: 'Specify the text color using Hex codes or RGBA values, such as "#FF0000" or "rgba(25,12,13,0.1)". The default for enterprise light is "#3c444d". The default for enterprise dark is "#FFFFFF". The default for prisma dark is "rgba(255, 255, 255, 0.7)".',
|
|
1789
|
+
type: 'string',
|
|
1790
|
+
default: '> themes.defaultFontColor',
|
|
1791
|
+
pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA
|
|
1792
|
+
},
|
|
1793
|
+
fontSize: {
|
|
1794
|
+
description: 'Specify the font size you would like to use for markdown content. Font sizes range from extra small (10px for unformatted text) to extra large (18px for unformatted text) with the default being 14px for unformatted text.',
|
|
1795
|
+
type: 'string',
|
|
1796
|
+
default: 'default',
|
|
1797
|
+
pattern: schemaUtils_1.getPattern(['extraSmall', 'small', 'default', 'large', 'extraLarge', 'custom'])
|
|
1798
|
+
},
|
|
1799
|
+
markdown: {
|
|
1800
|
+
description: 'Add text using basic markdown syntax.',
|
|
1801
|
+
type: 'string'
|
|
1802
|
+
}
|
|
1803
|
+
};
|
|
1804
|
+
var themes = {
|
|
1805
|
+
defaultFontColor: function defaultFontColor(props) {
|
|
1806
|
+
return themes_1.pick({
|
|
1807
|
+
enterprise: {
|
|
1808
|
+
dark: themes_1.variables.textColor(props),
|
|
1809
|
+
light: themes_1.variables.textColor(props)
|
|
1810
|
+
},
|
|
1811
|
+
prisma: themes_1.variables.contentColorDefault(props)
|
|
1812
|
+
})(props);
|
|
1813
|
+
}
|
|
1814
|
+
};
|
|
1815
|
+
var editorConfig = [{
|
|
1816
|
+
label: i18n_1._('Markdown Settings'),
|
|
1817
|
+
open: true,
|
|
1818
|
+
layout: [[{
|
|
1819
|
+
label: '',
|
|
1820
|
+
option: 'markdown',
|
|
1821
|
+
editor: 'editor.markdown'
|
|
1822
|
+
}]]
|
|
1823
|
+
}, {
|
|
1824
|
+
label: i18n_1._('General'),
|
|
1825
|
+
layout: [[{
|
|
1826
|
+
label: i18n_1._('Font Color'),
|
|
1827
|
+
option: 'fontColor',
|
|
1828
|
+
editor: 'editor.color',
|
|
1829
|
+
editorProps: {
|
|
1830
|
+
labelPosition: 'top',
|
|
1831
|
+
themes: themes
|
|
1832
|
+
}
|
|
1833
|
+
}].concat(_toConsumableArray(BackgroundColor_1.default({
|
|
1834
|
+
label: 'Background Color',
|
|
1835
|
+
themes: themes
|
|
1836
|
+
}))), [{
|
|
1837
|
+
label: i18n_1._('Font Size'),
|
|
1838
|
+
option: 'fontSize',
|
|
1839
|
+
editor: 'editor.select',
|
|
1840
|
+
editorProps: {
|
|
1841
|
+
values: [{
|
|
1842
|
+
label: i18n_1._('Extra Small'),
|
|
1843
|
+
value: 'extraSmall'
|
|
1844
|
+
}, {
|
|
1845
|
+
label: i18n_1._('Small'),
|
|
1846
|
+
value: 'small'
|
|
1847
|
+
}, {
|
|
1848
|
+
label: i18n_1._('Default'),
|
|
1849
|
+
value: 'default'
|
|
1850
|
+
}, {
|
|
1851
|
+
label: i18n_1._('Large'),
|
|
1852
|
+
value: 'large'
|
|
1853
|
+
}, {
|
|
1854
|
+
label: i18n_1._('Extra Large'),
|
|
1855
|
+
value: 'extraLarge'
|
|
1856
|
+
}, {
|
|
1857
|
+
label: i18n_1._('Custom'),
|
|
1858
|
+
value: 'custom'
|
|
1859
|
+
}]
|
|
1860
|
+
}
|
|
1861
|
+
}, {
|
|
1862
|
+
label: i18n_1._('Custom Font Size (px)'),
|
|
1863
|
+
option: 'customFontSize',
|
|
1864
|
+
editor: 'editor.number',
|
|
1865
|
+
editorProps: {
|
|
1866
|
+
min: 0,
|
|
1867
|
+
labelPosition: 'top'
|
|
1868
|
+
},
|
|
1869
|
+
showEditor: function showEditor(_ref) {
|
|
1870
|
+
var options = _ref.options;
|
|
1871
|
+
return options.fontSize && !FONT_OPTIONS.has(options.fontSize);
|
|
1872
|
+
}
|
|
1873
|
+
}]]
|
|
1874
|
+
}];
|
|
1875
|
+
/**
|
|
1876
|
+
* visualization configuration
|
|
1877
|
+
*/
|
|
1878
|
+
|
|
1879
|
+
var config = {
|
|
1880
|
+
/**
|
|
1881
|
+
* unique viz key
|
|
1882
|
+
*/
|
|
1883
|
+
key: 'splunk.markdown',
|
|
1884
|
+
|
|
1885
|
+
/**
|
|
1886
|
+
* viz name
|
|
1887
|
+
*/
|
|
1888
|
+
name: 'Markdown',
|
|
1889
|
+
category: VizCategory_1.VizCategory.COMPARISONS,
|
|
1890
|
+
|
|
1891
|
+
/**
|
|
1892
|
+
* viz icon
|
|
1893
|
+
*/
|
|
1894
|
+
icon: null,
|
|
1895
|
+
dataContract: dataContract,
|
|
1896
|
+
size: size,
|
|
1897
|
+
defaultContext: defaultContext,
|
|
1898
|
+
optionsSchema: optionsSchema,
|
|
1899
|
+
editorConfig: editorConfig,
|
|
1900
|
+
events: {
|
|
1901
|
+
'markdown.click': {
|
|
1902
|
+
description: 'triggered when user clicks on markdown area not formatted as a link'
|
|
1903
|
+
}
|
|
1904
|
+
},
|
|
1905
|
+
supports: [VizBehavior_1.VizBehavior.DYNAMIC_OPTIONS, VizBehavior_1.VizBehavior.EVENTS],
|
|
1906
|
+
themes: themes
|
|
1907
|
+
};
|
|
1908
|
+
exports.default = configUtils_1.enhanceConfig(config);
|
|
1909
|
+
|
|
1910
|
+
/***/ }),
|
|
1911
|
+
|
|
1912
|
+
/***/ 41:
|
|
1866
1913
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1867
1914
|
|
|
1868
1915
|
"use strict";
|
|
@@ -1873,15 +1920,15 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1873
1920
|
});
|
|
1874
1921
|
exports.MissingPropsMessage = exports.missingKeys = exports.isMissing = void 0;
|
|
1875
1922
|
|
|
1876
|
-
var React = __webpack_require__(
|
|
1923
|
+
var React = __webpack_require__(0);
|
|
1877
1924
|
|
|
1878
|
-
var T = __webpack_require__(
|
|
1925
|
+
var T = __webpack_require__(1);
|
|
1879
1926
|
|
|
1880
1927
|
var i18n_1 = __webpack_require__(2);
|
|
1881
1928
|
|
|
1882
|
-
var Message_1 = __webpack_require__(
|
|
1929
|
+
var Message_1 = __webpack_require__(10);
|
|
1883
1930
|
|
|
1884
|
-
var FixedSizeContainer_1 = __webpack_require__(
|
|
1931
|
+
var FixedSizeContainer_1 = __webpack_require__(13);
|
|
1885
1932
|
/**
|
|
1886
1933
|
* @method isMissing
|
|
1887
1934
|
* @param {any} v
|
|
@@ -1943,7 +1990,7 @@ exports.default = FixedSizeContainer_1.default(exports.MissingPropsMessage);
|
|
|
1943
1990
|
|
|
1944
1991
|
/***/ }),
|
|
1945
1992
|
|
|
1946
|
-
/***/
|
|
1993
|
+
/***/ 42:
|
|
1947
1994
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1948
1995
|
|
|
1949
1996
|
"use strict";
|
|
@@ -1953,18 +2000,18 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1953
2000
|
value: true
|
|
1954
2001
|
});
|
|
1955
2002
|
|
|
1956
|
-
var React = __webpack_require__(
|
|
2003
|
+
var React = __webpack_require__(0);
|
|
1957
2004
|
|
|
1958
2005
|
var styled_components_1 = __webpack_require__(4);
|
|
1959
2006
|
|
|
1960
|
-
var hocUtils_1 = __webpack_require__(
|
|
2007
|
+
var hocUtils_1 = __webpack_require__(14);
|
|
1961
2008
|
|
|
1962
2009
|
var Cover = styled_components_1.default.div.withConfig({
|
|
1963
2010
|
displayName: "withEditModeCover__Cover",
|
|
1964
2011
|
componentId: "sc-1gsbnxb-0"
|
|
1965
2012
|
})(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
|
|
1966
2013
|
var Blocker = styled_components_1.default.div.attrs({
|
|
1967
|
-
'data-splunk-visualization-version': "25.
|
|
2014
|
+
'data-splunk-visualization-version': "25.3.0 - dae70ec02"
|
|
1968
2015
|
}).withConfig({
|
|
1969
2016
|
displayName: "withEditModeCover__Blocker",
|
|
1970
2017
|
componentId: "sc-1gsbnxb-1"
|
|
@@ -1996,7 +2043,7 @@ exports.default = withEditModeCover;
|
|
|
1996
2043
|
|
|
1997
2044
|
/***/ }),
|
|
1998
2045
|
|
|
1999
|
-
/***/
|
|
2046
|
+
/***/ 43:
|
|
2000
2047
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2001
2048
|
|
|
2002
2049
|
"use strict";
|
|
@@ -2006,17 +2053,17 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2006
2053
|
value: true
|
|
2007
2054
|
});
|
|
2008
2055
|
|
|
2009
|
-
var React = __webpack_require__(
|
|
2056
|
+
var React = __webpack_require__(0);
|
|
2010
2057
|
|
|
2011
|
-
var colorUtils_1 = __webpack_require__(
|
|
2058
|
+
var colorUtils_1 = __webpack_require__(12);
|
|
2012
2059
|
|
|
2013
|
-
var variables_1 = __webpack_require__(
|
|
2060
|
+
var variables_1 = __webpack_require__(9);
|
|
2014
2061
|
|
|
2015
2062
|
var IconPlaceholder_1 = __webpack_require__(27);
|
|
2016
2063
|
|
|
2017
|
-
var VizBehavior_1 = __webpack_require__(
|
|
2064
|
+
var VizBehavior_1 = __webpack_require__(6);
|
|
2018
2065
|
|
|
2019
|
-
var hocUtils_1 = __webpack_require__(
|
|
2066
|
+
var hocUtils_1 = __webpack_require__(14);
|
|
2020
2067
|
|
|
2021
2068
|
var withPlaceholder = function withPlaceholder(Visualization) {
|
|
2022
2069
|
var useIconPlaceholder = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : IconPlaceholder_1.shouldShowIconPlaceholder;
|
|
@@ -2061,7 +2108,7 @@ exports.default = withPlaceholder;
|
|
|
2061
2108
|
|
|
2062
2109
|
/***/ }),
|
|
2063
2110
|
|
|
2064
|
-
/***/
|
|
2111
|
+
/***/ 50:
|
|
2065
2112
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2066
2113
|
|
|
2067
2114
|
"use strict";
|
|
@@ -2092,7 +2139,7 @@ exports.default = background;
|
|
|
2092
2139
|
|
|
2093
2140
|
/***/ }),
|
|
2094
2141
|
|
|
2095
|
-
/***/
|
|
2142
|
+
/***/ 6:
|
|
2096
2143
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2097
2144
|
|
|
2098
2145
|
"use strict";
|
|
@@ -2130,35 +2177,35 @@ var VizBehavior;
|
|
|
2130
2177
|
|
|
2131
2178
|
/***/ }),
|
|
2132
2179
|
|
|
2133
|
-
/***/
|
|
2180
|
+
/***/ 69:
|
|
2134
2181
|
/***/ (function(module, exports) {
|
|
2135
2182
|
|
|
2136
|
-
module.exports = require("@
|
|
2183
|
+
module.exports = require("@splunk/themes");
|
|
2137
2184
|
|
|
2138
2185
|
/***/ }),
|
|
2139
2186
|
|
|
2140
|
-
/***/
|
|
2187
|
+
/***/ 7:
|
|
2141
2188
|
/***/ (function(module, exports) {
|
|
2142
2189
|
|
|
2143
|
-
module.exports = require("@
|
|
2190
|
+
module.exports = require("@babel/runtime/helpers/defineProperty");
|
|
2144
2191
|
|
|
2145
2192
|
/***/ }),
|
|
2146
2193
|
|
|
2147
|
-
/***/
|
|
2194
|
+
/***/ 8:
|
|
2148
2195
|
/***/ (function(module, exports) {
|
|
2149
2196
|
|
|
2150
2197
|
module.exports = require("@babel/runtime/helpers/toConsumableArray");
|
|
2151
2198
|
|
|
2152
2199
|
/***/ }),
|
|
2153
2200
|
|
|
2154
|
-
/***/
|
|
2201
|
+
/***/ 81:
|
|
2155
2202
|
/***/ (function(module, exports) {
|
|
2156
2203
|
|
|
2157
|
-
module.exports = require("@splunk/
|
|
2204
|
+
module.exports = require("@splunk/visualization-encoding/utils/types");
|
|
2158
2205
|
|
|
2159
2206
|
/***/ }),
|
|
2160
2207
|
|
|
2161
|
-
/***/
|
|
2208
|
+
/***/ 86:
|
|
2162
2209
|
/***/ (function(module, exports) {
|
|
2163
2210
|
|
|
2164
2211
|
module.exports = require("@babel/runtime/helpers/taggedTemplateLiteral");
|
|
@@ -2168,7 +2215,7 @@ module.exports = require("@babel/runtime/helpers/taggedTemplateLiteral");
|
|
|
2168
2215
|
/***/ 9:
|
|
2169
2216
|
/***/ (function(module, exports) {
|
|
2170
2217
|
|
|
2171
|
-
module.exports = require("@splunk/
|
|
2218
|
+
module.exports = require("@splunk/themes/variables");
|
|
2172
2219
|
|
|
2173
2220
|
/***/ })
|
|
2174
2221
|
|