@splunk/visualizations 26.4.0 → 27.0.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/Area.config.js +1262 -1600
- package/Area.config.js.map +7 -1
- package/Area.js +3002 -4920
- package/Area.js.map +7 -1
- package/Bar.config.js +1247 -1574
- package/Bar.config.js.map +7 -1
- package/Bar.js +2924 -4836
- package/Bar.js.map +7 -1
- package/Bubble.config.js +896 -1213
- package/Bubble.config.js.map +7 -1
- package/Bubble.js +2520 -4476
- package/Bubble.js.map +7 -1
- package/ChoroplethSvg.config.js +282 -582
- package/ChoroplethSvg.config.js.map +7 -1
- package/ChoroplethSvg.js +2004 -3810
- package/ChoroplethSvg.js.map +7 -1
- package/Column.config.js +1208 -1541
- package/Column.config.js.map +7 -1
- package/Column.js +2933 -4879
- package/Column.js.map +7 -1
- package/Ellipse.config.js +443 -774
- package/Ellipse.config.js.map +7 -1
- package/Ellipse.js +1651 -3341
- package/Ellipse.js.map +7 -1
- package/Events.config.js +207 -492
- package/Events.config.js.map +7 -1
- package/Events.js +2615 -4649
- package/Events.js.map +7 -1
- package/FillerGauge.config.js +420 -775
- package/FillerGauge.config.js.map +7 -1
- package/FillerGauge.js +2137 -4578
- package/FillerGauge.js.map +7 -1
- package/Image.config.js +144 -411
- package/Image.config.js.map +7 -1
- package/Image.js +1395 -3048
- package/Image.js.map +7 -1
- package/Line.config.js +1278 -1625
- package/Line.config.js.map +7 -1
- package/Line.js +2957 -4919
- package/Line.js.map +7 -1
- package/LinkGraph.config.js +390 -632
- package/LinkGraph.config.js.map +7 -1
- package/LinkGraph.js +5243 -6190
- package/LinkGraph.js.map +7 -1
- package/MIGRATION.md +12 -0
- package/Map.config.js +501 -801
- package/Map.config.js.map +7 -1
- package/Map.js +3369 -5676
- package/Map.js.map +7 -1
- package/Markdown.config.js +232 -528
- package/Markdown.config.js.map +7 -1
- package/Markdown.js +1645 -3216
- package/Markdown.js.map +7 -1
- package/MarkerGauge.config.js +308 -613
- package/MarkerGauge.config.js.map +7 -1
- package/MarkerGauge.js +2189 -4535
- package/MarkerGauge.js.map +7 -1
- package/ParallelCoordinates.config.js +282 -581
- package/ParallelCoordinates.config.js.map +7 -1
- package/ParallelCoordinates.js +2023 -4720
- package/ParallelCoordinates.js.map +7 -1
- package/Pie.config.js +278 -547
- package/Pie.config.js.map +7 -1
- package/Pie.js +1998 -3982
- package/Pie.js.map +7 -1
- package/Punchcard.config.js +291 -578
- package/Punchcard.config.js.map +7 -1
- package/Punchcard.js +2709 -5042
- package/Punchcard.js.map +7 -1
- package/Rectangle.config.js +455 -770
- package/Rectangle.config.js.map +7 -1
- package/Rectangle.js +1638 -3262
- package/Rectangle.js.map +7 -1
- package/Sankey.config.js +291 -626
- package/Sankey.config.js.map +7 -1
- package/Sankey.js +2737 -4909
- package/Sankey.js.map +7 -1
- package/Scatter.config.js +876 -1194
- package/Scatter.config.js.map +7 -1
- package/Scatter.js +2532 -4470
- package/Scatter.js.map +7 -1
- package/SingleValue.config.js +819 -1251
- package/SingleValue.config.js.map +7 -1
- package/SingleValue.js +4203 -7413
- package/SingleValue.js.map +7 -1
- package/SingleValueBasic.js +382 -1527
- package/SingleValueBasic.js.map +7 -1
- package/SingleValueIcon.config.js +781 -1207
- package/SingleValueIcon.config.js.map +7 -1
- package/SingleValueIcon.js +3350 -6285
- package/SingleValueIcon.js.map +7 -1
- package/SingleValueRadial.config.js +708 -1119
- package/SingleValueRadial.config.js.map +7 -1
- package/SingleValueRadial.js +3808 -6965
- package/SingleValueRadial.js.map +7 -1
- package/SparkLine.js +439 -746
- package/SparkLine.js.map +7 -1
- package/Table.config.js +565 -887
- package/Table.config.js.map +7 -1
- package/Table.js +3277 -5386
- package/Table.js.map +7 -1
- package/common/Charting.js +484 -1462
- package/common/Charting.js.map +7 -1
- package/common/ChartingApi.js +46 -170
- package/common/ChartingApi.js.map +7 -1
- package/common/DocExampleWithVizSandbox.js +270 -473
- package/common/DocExampleWithVizSandbox.js.map +7 -1
- package/common/EventsDoc.js +172 -464
- package/common/EventsDoc.js.map +7 -1
- package/common/GaugeMajorTicks.js +249 -347
- package/common/GaugeMajorTicks.js.map +7 -1
- package/common/GaugeValueMarker.js +201 -311
- package/common/GaugeValueMarker.js.map +7 -1
- package/common/OptionsDoc.js +347 -912
- package/common/OptionsDoc.js.map +7 -1
- package/common/OverviewDoc.js +435 -769
- package/common/OverviewDoc.js.map +7 -1
- package/common/SplunkVisualization.js +116 -259
- package/common/SplunkVisualization.js.map +7 -1
- package/common/SplunkVisualizationApi.js +40 -156
- package/common/SplunkVisualizationApi.js.map +7 -1
- package/common/ThemesDoc.js +271 -420
- package/common/ThemesDoc.js.map +7 -1
- package/common/chartingUtils.js +140 -312
- package/common/chartingUtils.js.map +7 -1
- package/common/docUtils.js +148 -266
- package/common/docUtils.js.map +7 -1
- package/common/gaugeUtils.js +280 -808
- package/common/gaugeUtils.js.map +7 -1
- package/common/shapeUtils.js +106 -211
- package/common/shapeUtils.js.map +7 -1
- package/common/utils/configUtils.js +126 -252
- package/common/utils/configUtils.js.map +7 -1
- package/common/utils/dataUtils.js +217 -812
- package/common/utils/dataUtils.js.map +7 -1
- package/common/utils/featureFlagUtils.js +53 -133
- package/common/utils/featureFlagUtils.js.map +7 -1
- package/common/utils/hocUtils.js +32 -122
- package/common/utils/hocUtils.js.map +7 -1
- package/common/utils/mapUtils.js +502 -1337
- package/common/utils/mapUtils.js.map +7 -1
- package/common/utils/singleValueUtils.js +462 -1010
- package/common/utils/singleValueUtils.js.map +7 -1
- package/common/utils/testHelper.js +92 -146
- package/common/utils/testHelper.js.map +7 -1
- package/common/utils/trellisUtils.js +237 -489
- package/common/utils/trellisUtils.js.map +7 -1
- package/common/utils/urlUtils.js +28 -112
- package/common/utils/urlUtils.js.map +7 -1
- package/common/withDashboardViz.js +1168 -2438
- package/common/withDashboardViz.js.map +7 -1
- package/package.json +52 -43
package/common/OverviewDoc.js
CHANGED
|
@@ -1,339 +1,301 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
/******/ // Execute the module function
|
|
26
|
-
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
|
27
|
-
/******/
|
|
28
|
-
/******/ // Flag the module as loaded
|
|
29
|
-
/******/ module.l = true;
|
|
30
|
-
/******/
|
|
31
|
-
/******/ // Return the exports of the module
|
|
32
|
-
/******/ return module.exports;
|
|
33
|
-
/******/ }
|
|
34
|
-
/******/
|
|
35
|
-
/******/
|
|
36
|
-
/******/ // expose the modules object (__webpack_modules__)
|
|
37
|
-
/******/ __webpack_require__.m = modules;
|
|
38
|
-
/******/
|
|
39
|
-
/******/ // expose the module cache
|
|
40
|
-
/******/ __webpack_require__.c = installedModules;
|
|
41
|
-
/******/
|
|
42
|
-
/******/ // define getter function for harmony exports
|
|
43
|
-
/******/ __webpack_require__.d = function(exports, name, getter) {
|
|
44
|
-
/******/ if(!__webpack_require__.o(exports, name)) {
|
|
45
|
-
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
|
46
|
-
/******/ }
|
|
47
|
-
/******/ };
|
|
48
|
-
/******/
|
|
49
|
-
/******/ // define __esModule on exports
|
|
50
|
-
/******/ __webpack_require__.r = function(exports) {
|
|
51
|
-
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
52
|
-
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
53
|
-
/******/ }
|
|
54
|
-
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
55
|
-
/******/ };
|
|
56
|
-
/******/
|
|
57
|
-
/******/ // create a fake namespace object
|
|
58
|
-
/******/ // mode & 1: value is a module id, require it
|
|
59
|
-
/******/ // mode & 2: merge all properties of value into the ns
|
|
60
|
-
/******/ // mode & 4: return value when already ns object
|
|
61
|
-
/******/ // mode & 8|1: behave like require
|
|
62
|
-
/******/ __webpack_require__.t = function(value, mode) {
|
|
63
|
-
/******/ if(mode & 1) value = __webpack_require__(value);
|
|
64
|
-
/******/ if(mode & 8) return value;
|
|
65
|
-
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
|
66
|
-
/******/ var ns = Object.create(null);
|
|
67
|
-
/******/ __webpack_require__.r(ns);
|
|
68
|
-
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
|
69
|
-
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
|
70
|
-
/******/ return ns;
|
|
71
|
-
/******/ };
|
|
72
|
-
/******/
|
|
73
|
-
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
74
|
-
/******/ __webpack_require__.n = function(module) {
|
|
75
|
-
/******/ var getter = module && module.__esModule ?
|
|
76
|
-
/******/ function getDefault() { return module['default']; } :
|
|
77
|
-
/******/ function getModuleExports() { return module; };
|
|
78
|
-
/******/ __webpack_require__.d(getter, 'a', getter);
|
|
79
|
-
/******/ return getter;
|
|
80
|
-
/******/ };
|
|
81
|
-
/******/
|
|
82
|
-
/******/ // Object.prototype.hasOwnProperty.call
|
|
83
|
-
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
|
84
|
-
/******/
|
|
85
|
-
/******/ // __webpack_public_path__
|
|
86
|
-
/******/ __webpack_require__.p = "";
|
|
87
|
-
/******/
|
|
88
|
-
/******/
|
|
89
|
-
/******/ // Load entry module and return exports
|
|
90
|
-
/******/ return __webpack_require__(__webpack_require__.s = 86);
|
|
91
|
-
/******/ })
|
|
92
|
-
/************************************************************************/
|
|
93
|
-
/******/ ([
|
|
94
|
-
/* 0 */
|
|
95
|
-
/***/ (function(module, exports) {
|
|
96
|
-
|
|
97
|
-
module.exports = require("react");
|
|
98
|
-
|
|
99
|
-
/***/ }),
|
|
100
|
-
/* 1 */
|
|
101
|
-
/***/ (function(module, exports) {
|
|
102
|
-
|
|
103
|
-
module.exports = require("prop-types");
|
|
104
|
-
|
|
105
|
-
/***/ }),
|
|
106
|
-
/* 2 */
|
|
107
|
-
/***/ (function(module, exports) {
|
|
108
|
-
|
|
109
|
-
module.exports = require("styled-components");
|
|
110
|
-
|
|
111
|
-
/***/ }),
|
|
112
|
-
/* 3 */,
|
|
113
|
-
/* 4 */,
|
|
114
|
-
/* 5 */
|
|
115
|
-
/***/ (function(module, exports) {
|
|
116
|
-
|
|
117
|
-
module.exports = require("@splunk/ui-utils/i18n");
|
|
118
|
-
|
|
119
|
-
/***/ }),
|
|
120
|
-
/* 6 */
|
|
121
|
-
/***/ (function(module, exports) {
|
|
122
|
-
|
|
123
|
-
module.exports = require("@splunk/react-ui/Heading");
|
|
124
|
-
|
|
125
|
-
/***/ }),
|
|
126
|
-
/* 7 */,
|
|
127
|
-
/* 8 */
|
|
128
|
-
/***/ (function(module, exports) {
|
|
129
|
-
|
|
130
|
-
module.exports = require("@babel/runtime/helpers/slicedToArray");
|
|
131
|
-
|
|
132
|
-
/***/ }),
|
|
133
|
-
/* 9 */,
|
|
134
|
-
/* 10 */
|
|
135
|
-
/***/ (function(module, exports) {
|
|
136
|
-
|
|
137
|
-
module.exports = require("@babel/runtime/helpers/defineProperty");
|
|
138
|
-
|
|
139
|
-
/***/ }),
|
|
140
|
-
/* 11 */,
|
|
141
|
-
/* 12 */,
|
|
142
|
-
/* 13 */,
|
|
143
|
-
/* 14 */,
|
|
144
|
-
/* 15 */,
|
|
145
|
-
/* 16 */,
|
|
146
|
-
/* 17 */,
|
|
147
|
-
/* 18 */,
|
|
148
|
-
/* 19 */
|
|
149
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
150
|
-
|
|
151
|
-
"use strict";
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
Object.defineProperty(exports, "__esModule", {
|
|
155
|
-
value: true
|
|
156
|
-
});
|
|
157
|
-
exports.VizCategory = void 0;
|
|
158
|
-
var VizCategory;
|
|
159
|
-
|
|
160
|
-
(function (VizCategory) {
|
|
161
|
-
VizCategory["SINGLE_VALUE"] = "Single Value";
|
|
162
|
-
VizCategory["TRENDS"] = "Trends";
|
|
163
|
-
VizCategory["COMPARISONS"] = "Comparisons";
|
|
164
|
-
VizCategory["TABLE"] = "Table";
|
|
165
|
-
VizCategory["GAUGE"] = "Gauge";
|
|
166
|
-
VizCategory["DISTRIBUTIONS"] = "Distributions";
|
|
167
|
-
VizCategory["CHOROPLETH"] = "Choropleth Maps";
|
|
168
|
-
VizCategory["SHAPES"] = "Shapes";
|
|
169
|
-
VizCategory["MISC"] = "misc";
|
|
170
|
-
VizCategory["FLOW"] = "Flow";
|
|
171
|
-
VizCategory["CORRELATION"] = "Correlation";
|
|
172
|
-
VizCategory["SPATIAL"] = "Spatial";
|
|
173
|
-
})(VizCategory = exports.VizCategory || (exports.VizCategory = {}));
|
|
174
|
-
|
|
175
|
-
/***/ }),
|
|
176
|
-
/* 20 */
|
|
177
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
178
|
-
|
|
179
|
-
"use strict";
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
Object.defineProperty(exports, "__esModule", {
|
|
183
|
-
value: true
|
|
184
|
-
});
|
|
185
|
-
exports.convertToDashboardJSON = exports.extractDataFromReactCode = exports.formatCodeStringToObject = exports.extractDocItems = exports.getFormatterClassdesc = void 0;
|
|
186
|
-
|
|
187
|
-
var React = __webpack_require__(0);
|
|
188
|
-
|
|
189
|
-
var UtilPage_1 = __webpack_require__(21);
|
|
190
|
-
|
|
191
|
-
var sharedSelectors = ['getField', 'getType', 'min', 'max'];
|
|
192
|
-
|
|
193
|
-
var formatSidebarItemName = function formatSidebarItemName(name, className) {
|
|
194
|
-
return sharedSelectors.find(function (sharedSelector) {
|
|
195
|
-
return name === sharedSelector;
|
|
196
|
-
}) ? "".concat(className, "#").concat(name) : name;
|
|
197
|
-
};
|
|
198
|
-
|
|
199
|
-
var removePrependedClassName = function removePrependedClassName() {
|
|
200
|
-
var longname = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
|
|
201
|
-
return longname.slice(longname.indexOf('#') + 1);
|
|
202
|
-
};
|
|
203
|
-
|
|
204
|
-
var formatDSLSelectorDocs = function formatDSLSelectorDocs(docs) {
|
|
205
|
-
return docs.map(function (doc) {
|
|
206
|
-
return Object.assign(Object.assign({}, doc), {
|
|
207
|
-
longname: removePrependedClassName(doc.longname)
|
|
208
|
-
});
|
|
209
|
-
});
|
|
1
|
+
/* Copyright © 2020 Splunk Inc.
|
|
2
|
+
SPLUNK CONFIDENTIAL – Use or disclosure of this material in whole or
|
|
3
|
+
in part without a valid written license from Splunk Inc. is PROHIBITED. */
|
|
4
|
+
var __create = Object.create;
|
|
5
|
+
var __defProp = Object.defineProperty;
|
|
6
|
+
var __defProps = Object.defineProperties;
|
|
7
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
8
|
+
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
9
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
10
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
11
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
12
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
13
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
14
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
15
|
+
var __spreadValues = (a, b) => {
|
|
16
|
+
for (var prop in b || (b = {}))
|
|
17
|
+
if (__hasOwnProp.call(b, prop))
|
|
18
|
+
__defNormalProp(a, prop, b[prop]);
|
|
19
|
+
if (__getOwnPropSymbols)
|
|
20
|
+
for (var prop of __getOwnPropSymbols(b)) {
|
|
21
|
+
if (__propIsEnum.call(b, prop))
|
|
22
|
+
__defNormalProp(a, prop, b[prop]);
|
|
23
|
+
}
|
|
24
|
+
return a;
|
|
210
25
|
};
|
|
211
|
-
|
|
212
|
-
var
|
|
213
|
-
|
|
214
|
-
name: name,
|
|
215
|
-
markdown: "# ".concat(name, "\n ").concat(formatterDocs.find(function (doc) {
|
|
216
|
-
return doc.name === name && doc.kind === 'class';
|
|
217
|
-
}).classdesc)
|
|
218
|
-
};
|
|
26
|
+
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
27
|
+
var __export = (target, all) => {
|
|
28
|
+
for (var name in all)
|
|
29
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
219
30
|
};
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
var access = _ref.access,
|
|
228
|
-
comment = _ref.comment;
|
|
229
|
-
return access === 'public' && comment;
|
|
230
|
-
});
|
|
231
|
-
return filteredDocs.map(function (doc) {
|
|
232
|
-
return {
|
|
233
|
-
name: formatSidebarItemName(doc.name, className),
|
|
234
|
-
component: function UtilDoc() {
|
|
235
|
-
// named function so linter doesnt raise react/display-name error
|
|
236
|
-
return React.createElement(UtilPage_1.default, {
|
|
237
|
-
title: "".concat(className, "#").concat(doc.name),
|
|
238
|
-
status: 1,
|
|
239
|
-
docs: [classHeaderDoc, doc, fileDoc]
|
|
240
|
-
});
|
|
241
|
-
}
|
|
242
|
-
};
|
|
243
|
-
}).sort(function (a, b) {
|
|
244
|
-
return a.name.localeCompare(b.name);
|
|
245
|
-
});
|
|
31
|
+
var __copyProps = (to, from, except, desc) => {
|
|
32
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
33
|
+
for (let key of __getOwnPropNames(from))
|
|
34
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
35
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
36
|
+
}
|
|
37
|
+
return to;
|
|
246
38
|
};
|
|
39
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
40
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
41
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
42
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
43
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
44
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
45
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
46
|
+
mod
|
|
47
|
+
));
|
|
48
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
49
|
+
|
|
50
|
+
// src/common/OverviewDoc.tsx
|
|
51
|
+
var OverviewDoc_exports = {};
|
|
52
|
+
__export(OverviewDoc_exports, {
|
|
53
|
+
default: () => OverviewDoc_default
|
|
54
|
+
});
|
|
55
|
+
module.exports = __toCommonJS(OverviewDoc_exports);
|
|
247
56
|
|
|
248
|
-
|
|
57
|
+
// esm-externals:react
|
|
58
|
+
var react_exports = {};
|
|
59
|
+
__export(react_exports, {
|
|
60
|
+
default: () => react_default
|
|
61
|
+
});
|
|
62
|
+
var defaultImport = __toESM(require("react"));
|
|
63
|
+
__reExport(react_exports, require("react"));
|
|
64
|
+
var react_default = "default" in defaultImport ? defaultImport.default : defaultImport;
|
|
65
|
+
|
|
66
|
+
// esm-externals:prop-types
|
|
67
|
+
var prop_types_exports = {};
|
|
68
|
+
__export(prop_types_exports, {
|
|
69
|
+
default: () => prop_types_default
|
|
70
|
+
});
|
|
71
|
+
var defaultImport2 = __toESM(require("prop-types"));
|
|
72
|
+
__reExport(prop_types_exports, require("prop-types"));
|
|
73
|
+
var prop_types_default = "default" in defaultImport2 ? defaultImport2.default : defaultImport2;
|
|
74
|
+
|
|
75
|
+
// esm-externals:styled-components
|
|
76
|
+
var styled_components_exports = {};
|
|
77
|
+
__export(styled_components_exports, {
|
|
78
|
+
default: () => styled_components_default
|
|
79
|
+
});
|
|
80
|
+
var defaultImport3 = __toESM(require("styled-components"));
|
|
81
|
+
__reExport(styled_components_exports, require("styled-components"));
|
|
82
|
+
var styled_components_default = "default" in defaultImport3 ? defaultImport3.default : defaultImport3;
|
|
83
|
+
|
|
84
|
+
// esm-externals:@splunk/react-ui/Paragraph
|
|
85
|
+
var Paragraph_exports = {};
|
|
86
|
+
__export(Paragraph_exports, {
|
|
87
|
+
default: () => Paragraph_default
|
|
88
|
+
});
|
|
89
|
+
var defaultImport4 = __toESM(require("@splunk/react-ui/Paragraph"));
|
|
90
|
+
__reExport(Paragraph_exports, require("@splunk/react-ui/Paragraph"));
|
|
91
|
+
var Paragraph_default = "default" in defaultImport4 ? defaultImport4.default : defaultImport4;
|
|
92
|
+
|
|
93
|
+
// esm-externals:@splunk/react-ui/Heading
|
|
94
|
+
var Heading_exports = {};
|
|
95
|
+
__export(Heading_exports, {
|
|
96
|
+
default: () => Heading_default
|
|
97
|
+
});
|
|
98
|
+
var defaultImport5 = __toESM(require("@splunk/react-ui/Heading"));
|
|
99
|
+
__reExport(Heading_exports, require("@splunk/react-ui/Heading"));
|
|
100
|
+
var Heading_default = "default" in defaultImport5 ? defaultImport5.default : defaultImport5;
|
|
101
|
+
|
|
102
|
+
// esm-externals:@splunk/react-ui/List
|
|
103
|
+
var List_exports = {};
|
|
104
|
+
__export(List_exports, {
|
|
105
|
+
default: () => List_default
|
|
106
|
+
});
|
|
107
|
+
var defaultImport6 = __toESM(require("@splunk/react-ui/List"));
|
|
108
|
+
__reExport(List_exports, require("@splunk/react-ui/List"));
|
|
109
|
+
var List_default = "default" in defaultImport6 ? defaultImport6.default : defaultImport6;
|
|
110
|
+
|
|
111
|
+
// esm-externals:@splunk/react-ui/Chip
|
|
112
|
+
var Chip_exports = {};
|
|
113
|
+
__export(Chip_exports, {
|
|
114
|
+
default: () => Chip_default
|
|
115
|
+
});
|
|
116
|
+
var defaultImport7 = __toESM(require("@splunk/react-ui/Chip"));
|
|
117
|
+
__reExport(Chip_exports, require("@splunk/react-ui/Chip"));
|
|
118
|
+
var Chip_default = "default" in defaultImport7 ? defaultImport7.default : defaultImport7;
|
|
119
|
+
|
|
120
|
+
// esm-externals:@splunk/react-icons/enterprise/ChartLine
|
|
121
|
+
var ChartLine_exports = {};
|
|
122
|
+
__export(ChartLine_exports, {
|
|
123
|
+
default: () => ChartLine_default
|
|
124
|
+
});
|
|
125
|
+
var defaultImport8 = __toESM(require("@splunk/react-icons/enterprise/ChartLine"));
|
|
126
|
+
__reExport(ChartLine_exports, require("@splunk/react-icons/enterprise/ChartLine"));
|
|
127
|
+
var ChartLine_default = "default" in defaultImport8 ? defaultImport8.default : defaultImport8;
|
|
128
|
+
|
|
129
|
+
// esm-externals:@splunk/react-icons/enterprise/ChartBar
|
|
130
|
+
var ChartBar_exports = {};
|
|
131
|
+
__export(ChartBar_exports, {
|
|
132
|
+
default: () => ChartBar_default
|
|
133
|
+
});
|
|
134
|
+
var defaultImport9 = __toESM(require("@splunk/react-icons/enterprise/ChartBar"));
|
|
135
|
+
__reExport(ChartBar_exports, require("@splunk/react-icons/enterprise/ChartBar"));
|
|
136
|
+
var ChartBar_default = "default" in defaultImport9 ? defaultImport9.default : defaultImport9;
|
|
137
|
+
|
|
138
|
+
// esm-externals:@splunk/react-icons/enterprise/ChartScatter
|
|
139
|
+
var ChartScatter_exports = {};
|
|
140
|
+
__export(ChartScatter_exports, {
|
|
141
|
+
default: () => ChartScatter_default
|
|
142
|
+
});
|
|
143
|
+
var defaultImport10 = __toESM(require("@splunk/react-icons/enterprise/ChartScatter"));
|
|
144
|
+
__reExport(ChartScatter_exports, require("@splunk/react-icons/enterprise/ChartScatter"));
|
|
145
|
+
var ChartScatter_default = "default" in defaultImport10 ? defaultImport10.default : defaultImport10;
|
|
146
|
+
|
|
147
|
+
// esm-externals:@splunk/react-icons/enterprise/ChoroplethMap
|
|
148
|
+
var ChoroplethMap_exports = {};
|
|
149
|
+
__export(ChoroplethMap_exports, {
|
|
150
|
+
default: () => ChoroplethMap_default
|
|
151
|
+
});
|
|
152
|
+
var defaultImport11 = __toESM(require("@splunk/react-icons/enterprise/ChoroplethMap"));
|
|
153
|
+
__reExport(ChoroplethMap_exports, require("@splunk/react-icons/enterprise/ChoroplethMap"));
|
|
154
|
+
var ChoroplethMap_default = "default" in defaultImport11 ? defaultImport11.default : defaultImport11;
|
|
155
|
+
|
|
156
|
+
// esm-externals:@splunk/react-icons/enterprise/SplitBy
|
|
157
|
+
var SplitBy_exports = {};
|
|
158
|
+
__export(SplitBy_exports, {
|
|
159
|
+
default: () => SplitBy_default
|
|
160
|
+
});
|
|
161
|
+
var defaultImport12 = __toESM(require("@splunk/react-icons/enterprise/SplitBy"));
|
|
162
|
+
__reExport(SplitBy_exports, require("@splunk/react-icons/enterprise/SplitBy"));
|
|
163
|
+
var SplitBy_default = "default" in defaultImport12 ? defaultImport12.default : defaultImport12;
|
|
164
|
+
|
|
165
|
+
// esm-externals:@splunk/react-docs/DocExample
|
|
166
|
+
var DocExample_exports = {};
|
|
167
|
+
__export(DocExample_exports, {
|
|
168
|
+
default: () => DocExample_default
|
|
169
|
+
});
|
|
170
|
+
var defaultImport13 = __toESM(require("@splunk/react-docs/DocExample"));
|
|
171
|
+
__reExport(DocExample_exports, require("@splunk/react-docs/DocExample"));
|
|
172
|
+
var DocExample_default = "default" in defaultImport13 ? defaultImport13.default : defaultImport13;
|
|
173
|
+
|
|
174
|
+
// esm-externals:@splunk/react-ui/Button
|
|
175
|
+
var Button_exports = {};
|
|
176
|
+
__export(Button_exports, {
|
|
177
|
+
default: () => Button_default
|
|
178
|
+
});
|
|
179
|
+
var defaultImport14 = __toESM(require("@splunk/react-ui/Button"));
|
|
180
|
+
__reExport(Button_exports, require("@splunk/react-ui/Button"));
|
|
181
|
+
var Button_default = "default" in defaultImport14 ? defaultImport14.default : defaultImport14;
|
|
182
|
+
|
|
183
|
+
// esm-externals:@splunk/react-ui/Code
|
|
184
|
+
var Code_exports = {};
|
|
185
|
+
__export(Code_exports, {
|
|
186
|
+
default: () => Code_default
|
|
187
|
+
});
|
|
188
|
+
var defaultImport15 = __toESM(require("@splunk/react-ui/Code"));
|
|
189
|
+
__reExport(Code_exports, require("@splunk/react-ui/Code"));
|
|
190
|
+
var Code_default = "default" in defaultImport15 ? defaultImport15.default : defaultImport15;
|
|
191
|
+
|
|
192
|
+
// esm-externals:@splunk/react-ui/TransitionOpen
|
|
193
|
+
var TransitionOpen_exports = {};
|
|
194
|
+
__export(TransitionOpen_exports, {
|
|
195
|
+
default: () => TransitionOpen_default
|
|
196
|
+
});
|
|
197
|
+
var defaultImport16 = __toESM(require("@splunk/react-ui/TransitionOpen"));
|
|
198
|
+
__reExport(TransitionOpen_exports, require("@splunk/react-ui/TransitionOpen"));
|
|
199
|
+
var TransitionOpen_default = "default" in defaultImport16 ? defaultImport16.default : defaultImport16;
|
|
200
|
+
|
|
201
|
+
// esm-externals:@splunk/react-icons/SquaresLayered
|
|
202
|
+
var SquaresLayered_exports = {};
|
|
203
|
+
__export(SquaresLayered_exports, {
|
|
204
|
+
default: () => SquaresLayered_default
|
|
205
|
+
});
|
|
206
|
+
var defaultImport17 = __toESM(require("@splunk/react-icons/SquaresLayered"));
|
|
207
|
+
__reExport(SquaresLayered_exports, require("@splunk/react-icons/SquaresLayered"));
|
|
208
|
+
var SquaresLayered_default = "default" in defaultImport17 ? defaultImport17.default : defaultImport17;
|
|
209
|
+
|
|
210
|
+
// esm-externals:@splunk/react-icons/Checkmark
|
|
211
|
+
var Checkmark_exports = {};
|
|
212
|
+
__export(Checkmark_exports, {
|
|
213
|
+
default: () => Checkmark_default
|
|
214
|
+
});
|
|
215
|
+
var defaultImport18 = __toESM(require("@splunk/react-icons/Checkmark"));
|
|
216
|
+
__reExport(Checkmark_exports, require("@splunk/react-icons/Checkmark"));
|
|
217
|
+
var Checkmark_default = "default" in defaultImport18 ? defaultImport18.default : defaultImport18;
|
|
218
|
+
|
|
219
|
+
// esm-externals:@splunk/react-icons/EyeSlashed
|
|
220
|
+
var EyeSlashed_exports = {};
|
|
221
|
+
__export(EyeSlashed_exports, {
|
|
222
|
+
default: () => EyeSlashed_default
|
|
223
|
+
});
|
|
224
|
+
var defaultImport19 = __toESM(require("@splunk/react-icons/EyeSlashed"));
|
|
225
|
+
__reExport(EyeSlashed_exports, require("@splunk/react-icons/EyeSlashed"));
|
|
226
|
+
var EyeSlashed_default = "default" in defaultImport19 ? defaultImport19.default : defaultImport19;
|
|
227
|
+
|
|
228
|
+
// esm-externals:@splunk/react-icons/WindowChevronsSlash
|
|
229
|
+
var WindowChevronsSlash_exports = {};
|
|
230
|
+
__export(WindowChevronsSlash_exports, {
|
|
231
|
+
default: () => WindowChevronsSlash_default
|
|
232
|
+
});
|
|
233
|
+
var defaultImport20 = __toESM(require("@splunk/react-icons/WindowChevronsSlash"));
|
|
234
|
+
__reExport(WindowChevronsSlash_exports, require("@splunk/react-icons/WindowChevronsSlash"));
|
|
235
|
+
var WindowChevronsSlash_default = "default" in defaultImport20 ? defaultImport20.default : defaultImport20;
|
|
236
|
+
|
|
237
|
+
// esm-externals:@splunk/ui-utils/i18n
|
|
238
|
+
var i18n_exports = {};
|
|
239
|
+
__export(i18n_exports, {
|
|
240
|
+
default: () => i18n_default
|
|
241
|
+
});
|
|
242
|
+
var defaultImport21 = __toESM(require("@splunk/ui-utils/i18n"));
|
|
243
|
+
__reExport(i18n_exports, require("@splunk/ui-utils/i18n"));
|
|
244
|
+
var i18n_default = "default" in defaultImport21 ? defaultImport21.default : defaultImport21;
|
|
245
|
+
|
|
246
|
+
// esm-externals:@splunk/react-docs/UtilPage
|
|
247
|
+
var UtilPage_exports = {};
|
|
248
|
+
__export(UtilPage_exports, {
|
|
249
|
+
default: () => UtilPage_default
|
|
250
|
+
});
|
|
251
|
+
var defaultImport22 = __toESM(require("@splunk/react-docs/UtilPage"));
|
|
252
|
+
__reExport(UtilPage_exports, require("@splunk/react-docs/UtilPage"));
|
|
253
|
+
var UtilPage_default = "default" in defaultImport22 ? defaultImport22.default : defaultImport22;
|
|
249
254
|
|
|
250
|
-
|
|
251
|
-
|
|
255
|
+
// src/common/docUtils.tsx
|
|
256
|
+
var formatCodeStringToObject = (codeString, regexMatch) => {
|
|
257
|
+
const match = regexMatch.exec(codeString);
|
|
252
258
|
if (!match) return null;
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
var singleQuotes = doubleQuotes.replace(/`/g, "'"); // add quotes around keys
|
|
262
|
-
|
|
263
|
-
var quotesAroundKeys = singleQuotes.replace(/\b(\w+)\s*:(?=\s)/g, '"$1":');
|
|
264
|
-
var retval = null;
|
|
265
|
-
|
|
259
|
+
const stringToParse = `{${match[1]}}`;
|
|
260
|
+
const removedCommas = stringToParse.replace(/,(?!\s*?[-{["'\w])/g, "");
|
|
261
|
+
const backQuotes = removedCommas.replace(/"/g, "`");
|
|
262
|
+
const doubleQuotes = backQuotes.replace(/'/g, '"');
|
|
263
|
+
const singleQuotes = doubleQuotes.replace(/`/g, "'");
|
|
264
|
+
const quotesAroundKeys = singleQuotes.replace(/\b(\w+)\s*:(?=\s)/g, '"$1":');
|
|
265
|
+
let retval = null;
|
|
266
266
|
try {
|
|
267
267
|
retval = JSON.parse(quotesAroundKeys);
|
|
268
268
|
} catch (e) {
|
|
269
|
-
// eslint-disable-next-line no-console
|
|
270
269
|
console.error(e);
|
|
271
270
|
}
|
|
272
|
-
|
|
273
271
|
return retval;
|
|
274
272
|
};
|
|
275
|
-
|
|
276
|
-
exports.formatCodeStringToObject = formatCodeStringToObject;
|
|
277
|
-
|
|
278
|
-
var extractDataFromReactCode = function extractDataFromReactCode(codeString) {
|
|
273
|
+
var extractDataFromReactCode = (codeString) => {
|
|
279
274
|
var _a;
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
var options = (0, exports.formatCodeStringToObject)(codeString, optionsRegex);
|
|
288
|
-
var contextRegex = /context={{([\s\S]*?)}}/;
|
|
289
|
-
var context = (0, exports.formatCodeStringToObject)(codeString, contextRegex);
|
|
290
|
-
return {
|
|
291
|
-
primary: primary,
|
|
292
|
-
options: options,
|
|
293
|
-
context: context
|
|
294
|
-
};
|
|
275
|
+
const primaryRegex = /dataSources={{([\s\S]*?primary:[\s\S]*?)}}/;
|
|
276
|
+
const { primary } = (_a = formatCodeStringToObject(codeString, primaryRegex)) != null ? _a : {};
|
|
277
|
+
const optionsRegex = /options={{([\s\S]*?)}}/;
|
|
278
|
+
const options = formatCodeStringToObject(codeString, optionsRegex);
|
|
279
|
+
const contextRegex = /context={{([\s\S]*?)}}/;
|
|
280
|
+
const context = formatCodeStringToObject(codeString, contextRegex);
|
|
281
|
+
return { primary, options, context };
|
|
295
282
|
};
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
// e.g. codeString: '<Area dataSources={{}} options={{}} />'
|
|
300
|
-
// type: 'splunk.area'
|
|
301
|
-
|
|
302
|
-
var convertToDashboardJSON = function convertToDashboardJSON(codeString, type) {
|
|
303
|
-
var _ref3 = (0, exports.extractDataFromReactCode)(codeString),
|
|
304
|
-
options = _ref3.options,
|
|
305
|
-
primary = _ref3.primary,
|
|
306
|
-
context = _ref3.context;
|
|
307
|
-
|
|
308
|
-
return Object.assign(Object.assign({
|
|
283
|
+
var convertToDashboardJSON = (codeString, type) => {
|
|
284
|
+
const { options, primary, context } = extractDataFromReactCode(codeString);
|
|
285
|
+
return __spreadProps(__spreadValues({
|
|
309
286
|
visualizations: {
|
|
310
|
-
test_viz:
|
|
311
|
-
type
|
|
312
|
-
}, options ? {
|
|
313
|
-
options: options
|
|
314
|
-
} : {}), primary ? {
|
|
315
|
-
dataSources: {
|
|
316
|
-
primary: 'primary'
|
|
317
|
-
}
|
|
318
|
-
} : {}), context ? {
|
|
319
|
-
context: context
|
|
320
|
-
} : {})
|
|
321
|
-
}
|
|
322
|
-
}, primary ? {
|
|
323
|
-
dataSources: {
|
|
324
|
-
primary: {
|
|
325
|
-
type: 'ds.test',
|
|
326
|
-
options: primary
|
|
327
|
-
}
|
|
287
|
+
test_viz: __spreadValues(__spreadValues(__spreadValues({
|
|
288
|
+
type
|
|
289
|
+
}, options ? { options } : {}), primary ? { dataSources: { primary: "primary" } } : {}), context ? { context } : {})
|
|
328
290
|
}
|
|
329
|
-
} : {}), {
|
|
291
|
+
}, primary ? { dataSources: { primary: { type: "ds.test", options: primary } } } : {}), {
|
|
330
292
|
defaults: {
|
|
331
293
|
dataSources: {
|
|
332
294
|
global: {
|
|
333
295
|
options: {
|
|
334
296
|
queryParameters: {
|
|
335
|
-
latest:
|
|
336
|
-
earliest:
|
|
297
|
+
latest: "$global_time.latest$",
|
|
298
|
+
earliest: "$global_time.earliest$"
|
|
337
299
|
}
|
|
338
300
|
}
|
|
339
301
|
}
|
|
@@ -341,496 +303,200 @@ var convertToDashboardJSON = function convertToDashboardJSON(codeString, type) {
|
|
|
341
303
|
},
|
|
342
304
|
inputs: {
|
|
343
305
|
input_global_trp: {
|
|
344
|
-
type:
|
|
306
|
+
type: "input.timerange",
|
|
345
307
|
options: {
|
|
346
|
-
token:
|
|
347
|
-
defaultValue:
|
|
308
|
+
token: "global_time",
|
|
309
|
+
defaultValue: "-24h@h,now"
|
|
348
310
|
},
|
|
349
|
-
title:
|
|
311
|
+
title: "Global Time Range"
|
|
350
312
|
}
|
|
351
313
|
},
|
|
352
314
|
layout: {
|
|
353
|
-
type:
|
|
315
|
+
type: "absolute",
|
|
354
316
|
options: {},
|
|
355
|
-
structure: [
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
317
|
+
structure: [
|
|
318
|
+
{
|
|
319
|
+
item: "test_viz",
|
|
320
|
+
type: "block",
|
|
321
|
+
position: {
|
|
322
|
+
x: 0,
|
|
323
|
+
y: 0,
|
|
324
|
+
w: 800,
|
|
325
|
+
h: 500
|
|
326
|
+
}
|
|
363
327
|
}
|
|
364
|
-
|
|
365
|
-
globalInputs: [
|
|
328
|
+
],
|
|
329
|
+
globalInputs: ["input_global_trp"]
|
|
366
330
|
}
|
|
367
331
|
});
|
|
368
332
|
};
|
|
369
333
|
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
/***/ }),
|
|
379
|
-
/* 22 */,
|
|
380
|
-
/* 23 */,
|
|
381
|
-
/* 24 */,
|
|
382
|
-
/* 25 */,
|
|
383
|
-
/* 26 */,
|
|
384
|
-
/* 27 */,
|
|
385
|
-
/* 28 */,
|
|
386
|
-
/* 29 */,
|
|
387
|
-
/* 30 */,
|
|
388
|
-
/* 31 */,
|
|
389
|
-
/* 32 */,
|
|
390
|
-
/* 33 */,
|
|
391
|
-
/* 34 */,
|
|
392
|
-
/* 35 */,
|
|
393
|
-
/* 36 */,
|
|
394
|
-
/* 37 */,
|
|
395
|
-
/* 38 */,
|
|
396
|
-
/* 39 */,
|
|
397
|
-
/* 40 */,
|
|
398
|
-
/* 41 */,
|
|
399
|
-
/* 42 */,
|
|
400
|
-
/* 43 */,
|
|
401
|
-
/* 44 */,
|
|
402
|
-
/* 45 */,
|
|
403
|
-
/* 46 */,
|
|
404
|
-
/* 47 */
|
|
405
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
406
|
-
|
|
407
|
-
"use strict";
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
var _slicedToArray = __webpack_require__(8);
|
|
411
|
-
|
|
412
|
-
Object.defineProperty(exports, "__esModule", {
|
|
413
|
-
value: true
|
|
414
|
-
});
|
|
415
|
-
|
|
416
|
-
var React = __webpack_require__(0);
|
|
417
|
-
|
|
418
|
-
var DocExample_1 = __webpack_require__(48);
|
|
419
|
-
|
|
420
|
-
var Button_1 = __webpack_require__(49);
|
|
421
|
-
|
|
422
|
-
var Code_1 = __webpack_require__(50);
|
|
423
|
-
|
|
424
|
-
var TransitionOpen_1 = __webpack_require__(51);
|
|
425
|
-
|
|
426
|
-
var SquaresLayered_1 = __webpack_require__(52);
|
|
427
|
-
|
|
428
|
-
var Checkmark_1 = __webpack_require__(53);
|
|
429
|
-
|
|
430
|
-
var EyeSlashed_1 = __webpack_require__(54);
|
|
431
|
-
|
|
432
|
-
var WindowChevronsSlash_1 = __webpack_require__(55);
|
|
433
|
-
|
|
434
|
-
var i18n_1 = __webpack_require__(5);
|
|
435
|
-
|
|
436
|
-
var T = __webpack_require__(1);
|
|
437
|
-
|
|
438
|
-
var docUtils_1 = __webpack_require__(20);
|
|
439
|
-
|
|
440
|
-
var DocExampleWithVizSandbox = function DocExampleWithVizSandbox(props) {
|
|
441
|
-
var type = props.type,
|
|
442
|
-
title = props.title,
|
|
443
|
-
code = props.code,
|
|
444
|
-
example = props.example,
|
|
445
|
-
_props$hideSandbox = props.hideSandbox,
|
|
446
|
-
hideSandbox = _props$hideSandbox === void 0 ? false : _props$hideSandbox,
|
|
447
|
-
description = props.description;
|
|
448
|
-
|
|
449
|
-
var _React$useState = React.useState(false),
|
|
450
|
-
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
451
|
-
isCopied = _React$useState2[0],
|
|
452
|
-
setIsCopied = _React$useState2[1];
|
|
453
|
-
|
|
454
|
-
var _React$useState3 = React.useState(false),
|
|
455
|
-
_React$useState4 = _slicedToArray(_React$useState3, 2),
|
|
456
|
-
showCode = _React$useState4[0],
|
|
457
|
-
setShowCode = _React$useState4[1];
|
|
458
|
-
|
|
459
|
-
var isMounted = React.useRef(true);
|
|
460
|
-
var toggleShowCode = React.useCallback(function () {
|
|
461
|
-
setShowCode(function (state) {
|
|
462
|
-
return !state;
|
|
463
|
-
});
|
|
334
|
+
// src/common/DocExampleWithVizSandbox.tsx
|
|
335
|
+
var DocExampleWithVizSandbox = (props) => {
|
|
336
|
+
const { type, title, code, example, hideSandbox = false, description } = props;
|
|
337
|
+
const [isCopied, setIsCopied] = react_exports.useState(false);
|
|
338
|
+
const [showCode, setShowCode] = react_exports.useState(false);
|
|
339
|
+
const isMounted = react_exports.useRef(true);
|
|
340
|
+
const toggleShowCode = react_exports.useCallback(() => {
|
|
341
|
+
setShowCode((state) => !state);
|
|
464
342
|
}, []);
|
|
465
|
-
|
|
466
|
-
return
|
|
343
|
+
react_exports.useEffect(() => {
|
|
344
|
+
return () => {
|
|
467
345
|
isMounted.current = false;
|
|
468
346
|
setIsCopied(false);
|
|
469
|
-
};
|
|
347
|
+
};
|
|
470
348
|
}, []);
|
|
471
|
-
if (hideSandbox) return
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
var objDefn = (0, docUtils_1.convertToDashboardJSON)(code, type); // set spacing level to 4
|
|
477
|
-
|
|
478
|
-
var prettyJson = JSON.stringify(objDefn, null, 4);
|
|
479
|
-
|
|
480
|
-
var copyToClipBoard = function copyToClipBoard() {
|
|
481
|
-
if ('clipboard' in navigator) {
|
|
349
|
+
if (hideSandbox) return /* @__PURE__ */ react_exports.createElement(DocExample_default, { title, code, example });
|
|
350
|
+
const objDefn = convertToDashboardJSON(code, type);
|
|
351
|
+
const prettyJson = JSON.stringify(objDefn, null, 4);
|
|
352
|
+
const copyToClipBoard = () => {
|
|
353
|
+
if ("clipboard" in navigator) {
|
|
482
354
|
navigator.clipboard.writeText(prettyJson);
|
|
483
355
|
setIsCopied(true);
|
|
484
356
|
}
|
|
485
|
-
|
|
486
|
-
setTimeout(function () {
|
|
357
|
+
setTimeout(() => {
|
|
487
358
|
if (isMounted.current) {
|
|
488
359
|
setIsCopied(false);
|
|
489
360
|
}
|
|
490
|
-
},
|
|
491
|
-
};
|
|
492
|
-
|
|
493
|
-
var renderAdditionalActions = function renderAdditionalActions() {
|
|
494
|
-
return [React.createElement(Button_1.default, {
|
|
495
|
-
key: "show-dashboard-definition",
|
|
496
|
-
appearance: "toggle",
|
|
497
|
-
onClick: toggleShowCode,
|
|
498
|
-
icon: showCode ? React.createElement(EyeSlashed_1.default, null) : React.createElement(WindowChevronsSlash_1.default, null),
|
|
499
|
-
label: showCode ? (0, i18n_1._)('Hide dashboard definition') : (0, i18n_1._)('Show dashboard definition')
|
|
500
|
-
})];
|
|
361
|
+
}, 5e3);
|
|
501
362
|
};
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
363
|
+
const renderAdditionalActions = () => [
|
|
364
|
+
/* @__PURE__ */ react_exports.createElement(
|
|
365
|
+
Button_default,
|
|
366
|
+
{
|
|
367
|
+
key: "show-dashboard-definition",
|
|
368
|
+
appearance: "toggle",
|
|
369
|
+
onClick: toggleShowCode,
|
|
370
|
+
icon: showCode ? /* @__PURE__ */ react_exports.createElement(EyeSlashed_default, null) : /* @__PURE__ */ react_exports.createElement(WindowChevronsSlash_default, null),
|
|
371
|
+
label: showCode ? (0, i18n_exports._)("Hide dashboard definition") : (0, i18n_exports._)("Show dashboard definition")
|
|
372
|
+
}
|
|
373
|
+
)
|
|
374
|
+
];
|
|
375
|
+
return /* @__PURE__ */ react_exports.createElement(
|
|
376
|
+
DocExample_default,
|
|
377
|
+
{
|
|
378
|
+
renderAdditionalActions,
|
|
379
|
+
title,
|
|
380
|
+
code,
|
|
381
|
+
example,
|
|
382
|
+
description
|
|
383
|
+
},
|
|
384
|
+
/* @__PURE__ */ react_exports.createElement(
|
|
385
|
+
TransitionOpen_default,
|
|
386
|
+
{
|
|
387
|
+
animation: "slideFromTop",
|
|
388
|
+
open: showCode,
|
|
389
|
+
retainFocus: false,
|
|
390
|
+
takeFocus: false,
|
|
391
|
+
renderChildrenWhenCollapsed: false,
|
|
392
|
+
animateOnMount: false
|
|
393
|
+
},
|
|
394
|
+
/* @__PURE__ */ react_exports.createElement("div", { style: { display: "flex", justifyContent: "space-between" } }, /* @__PURE__ */ react_exports.createElement(Code_default, { value: prettyJson, language: "json" }), /* @__PURE__ */ react_exports.createElement(
|
|
395
|
+
Button_default,
|
|
396
|
+
{
|
|
397
|
+
onClick: copyToClipBoard,
|
|
398
|
+
icon: isCopied ? /* @__PURE__ */ react_exports.createElement(Checkmark_default, null) : /* @__PURE__ */ react_exports.createElement(SquaresLayered_default, null),
|
|
399
|
+
label: isCopied ? (0, i18n_exports._)("Copied") : (0, i18n_exports._)("Copy to clipboard"),
|
|
400
|
+
style: { height: "30px", maxWidth: "164px" }
|
|
401
|
+
}
|
|
402
|
+
))
|
|
403
|
+
)
|
|
404
|
+
);
|
|
533
405
|
};
|
|
534
|
-
|
|
535
406
|
DocExampleWithVizSandbox.propTypes = {
|
|
536
|
-
type:
|
|
537
|
-
title:
|
|
538
|
-
code:
|
|
539
|
-
example:
|
|
540
|
-
hideSandbox:
|
|
407
|
+
type: prop_types_exports.string,
|
|
408
|
+
title: prop_types_exports.string,
|
|
409
|
+
code: prop_types_exports.string,
|
|
410
|
+
example: prop_types_exports.func,
|
|
411
|
+
hideSandbox: prop_types_exports.bool
|
|
541
412
|
};
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
/***/ }),
|
|
545
|
-
/* 48 */
|
|
546
|
-
/***/ (function(module, exports) {
|
|
547
|
-
|
|
548
|
-
module.exports = require("@splunk/react-docs/DocExample");
|
|
549
|
-
|
|
550
|
-
/***/ }),
|
|
551
|
-
/* 49 */
|
|
552
|
-
/***/ (function(module, exports) {
|
|
553
|
-
|
|
554
|
-
module.exports = require("@splunk/react-ui/Button");
|
|
555
|
-
|
|
556
|
-
/***/ }),
|
|
557
|
-
/* 50 */
|
|
558
|
-
/***/ (function(module, exports) {
|
|
559
|
-
|
|
560
|
-
module.exports = require("@splunk/react-ui/Code");
|
|
561
|
-
|
|
562
|
-
/***/ }),
|
|
563
|
-
/* 51 */
|
|
564
|
-
/***/ (function(module, exports) {
|
|
565
|
-
|
|
566
|
-
module.exports = require("@splunk/react-ui/TransitionOpen");
|
|
567
|
-
|
|
568
|
-
/***/ }),
|
|
569
|
-
/* 52 */
|
|
570
|
-
/***/ (function(module, exports) {
|
|
571
|
-
|
|
572
|
-
module.exports = require("@splunk/react-icons/SquaresLayered");
|
|
573
|
-
|
|
574
|
-
/***/ }),
|
|
575
|
-
/* 53 */
|
|
576
|
-
/***/ (function(module, exports) {
|
|
577
|
-
|
|
578
|
-
module.exports = require("@splunk/react-icons/Checkmark");
|
|
579
|
-
|
|
580
|
-
/***/ }),
|
|
581
|
-
/* 54 */
|
|
582
|
-
/***/ (function(module, exports) {
|
|
583
|
-
|
|
584
|
-
module.exports = require("@splunk/react-icons/EyeSlashed");
|
|
585
|
-
|
|
586
|
-
/***/ }),
|
|
587
|
-
/* 55 */
|
|
588
|
-
/***/ (function(module, exports) {
|
|
589
|
-
|
|
590
|
-
module.exports = require("@splunk/react-icons/WindowChevronsSlash");
|
|
591
|
-
|
|
592
|
-
/***/ }),
|
|
593
|
-
/* 56 */
|
|
594
|
-
/***/ (function(module, exports) {
|
|
595
|
-
|
|
596
|
-
module.exports = require("@babel/runtime/helpers/taggedTemplateLiteral");
|
|
597
|
-
|
|
598
|
-
/***/ }),
|
|
599
|
-
/* 57 */,
|
|
600
|
-
/* 58 */,
|
|
601
|
-
/* 59 */,
|
|
602
|
-
/* 60 */,
|
|
603
|
-
/* 61 */,
|
|
604
|
-
/* 62 */,
|
|
605
|
-
/* 63 */,
|
|
606
|
-
/* 64 */,
|
|
607
|
-
/* 65 */,
|
|
608
|
-
/* 66 */,
|
|
609
|
-
/* 67 */,
|
|
610
|
-
/* 68 */,
|
|
611
|
-
/* 69 */,
|
|
612
|
-
/* 70 */,
|
|
613
|
-
/* 71 */,
|
|
614
|
-
/* 72 */,
|
|
615
|
-
/* 73 */,
|
|
616
|
-
/* 74 */,
|
|
617
|
-
/* 75 */,
|
|
618
|
-
/* 76 */,
|
|
619
|
-
/* 77 */,
|
|
620
|
-
/* 78 */,
|
|
621
|
-
/* 79 */,
|
|
622
|
-
/* 80 */,
|
|
623
|
-
/* 81 */,
|
|
624
|
-
/* 82 */,
|
|
625
|
-
/* 83 */,
|
|
626
|
-
/* 84 */,
|
|
627
|
-
/* 85 */,
|
|
628
|
-
/* 86 */
|
|
629
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
630
|
-
|
|
631
|
-
"use strict";
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
var _taggedTemplateLiteral = __webpack_require__(56);
|
|
635
|
-
|
|
636
|
-
var _defineProperty = __webpack_require__(10);
|
|
637
|
-
|
|
638
|
-
var _chipType, _templateObject;
|
|
639
|
-
|
|
640
|
-
Object.defineProperty(exports, "__esModule", {
|
|
641
|
-
value: true
|
|
642
|
-
});
|
|
643
|
-
|
|
644
|
-
var React = __webpack_require__(0);
|
|
645
|
-
|
|
646
|
-
var T = __webpack_require__(1);
|
|
647
|
-
|
|
648
|
-
var styled_components_1 = __webpack_require__(2);
|
|
649
|
-
|
|
650
|
-
var Paragraph_1 = __webpack_require__(87);
|
|
651
|
-
|
|
652
|
-
var Heading_1 = __webpack_require__(6);
|
|
653
|
-
|
|
654
|
-
var List_1 = __webpack_require__(88);
|
|
655
|
-
|
|
656
|
-
var Chip_1 = __webpack_require__(89);
|
|
657
|
-
|
|
658
|
-
var ChartLine_1 = __webpack_require__(90);
|
|
659
|
-
|
|
660
|
-
var ChartBar_1 = __webpack_require__(91);
|
|
661
|
-
|
|
662
|
-
var ChartScatter_1 = __webpack_require__(92);
|
|
663
|
-
|
|
664
|
-
var ChoroplethMap_1 = __webpack_require__(93);
|
|
665
|
-
|
|
666
|
-
var SplitBy_1 = __webpack_require__(94);
|
|
667
|
-
|
|
668
|
-
var VizCategory_1 = __webpack_require__(19);
|
|
669
|
-
|
|
670
|
-
var DocExampleWithVizSandbox_1 = __webpack_require__(47);
|
|
413
|
+
var DocExampleWithVizSandbox_default = DocExampleWithVizSandbox;
|
|
671
414
|
|
|
415
|
+
// src/common/OverviewDoc.tsx
|
|
672
416
|
var chipIconStyles = {
|
|
673
|
-
color:
|
|
417
|
+
color: "white"
|
|
674
418
|
};
|
|
675
|
-
var chipType =
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
style: chipIconStyles
|
|
679
|
-
}
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
}
|
|
696
|
-
backgroundColor: '#9980FF',
|
|
697
|
-
icon: React.createElement(SplitBy_1.default, {
|
|
698
|
-
style: chipIconStyles
|
|
699
|
-
})
|
|
700
|
-
}), _chipType);
|
|
701
|
-
var StyledChip = (0, styled_components_1.default)(Chip_1.default)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n [data-test='label'] {\n color: white;\n }\n margin-left: 10px;\n margin-bottom: 10px;\n"])));
|
|
702
|
-
|
|
703
|
-
var Variations = function Variations(_ref) {
|
|
704
|
-
var variations = _ref.variations,
|
|
705
|
-
variationCode = _ref.variationCode,
|
|
706
|
-
type = _ref.type;
|
|
707
|
-
return React.createElement(React.Fragment, null, variations.map(function (v) {
|
|
708
|
-
var _a;
|
|
709
|
-
|
|
710
|
-
var variationObj = variationCode[v.key];
|
|
711
|
-
return React.createElement(DocExampleWithVizSandbox_1.default, Object.assign({
|
|
712
|
-
hideSandbox: (_a = v.hideSandbox) !== null && _a !== void 0 ? _a : false,
|
|
713
|
-
type: type,
|
|
714
|
-
key: v.key,
|
|
715
|
-
code: variationObj.code,
|
|
716
|
-
example: variationObj.example
|
|
717
|
-
}, v));
|
|
718
|
-
}));
|
|
419
|
+
var chipType = {
|
|
420
|
+
["Trends" /* TRENDS */]: {
|
|
421
|
+
backgroundColor: "#66AAF9",
|
|
422
|
+
icon: /* @__PURE__ */ react_exports.createElement(ChartLine_default, { style: chipIconStyles })
|
|
423
|
+
},
|
|
424
|
+
["Comparisons" /* COMPARISONS */]: {
|
|
425
|
+
backgroundColor: "#45D4BA",
|
|
426
|
+
icon: /* @__PURE__ */ react_exports.createElement(ChartBar_default, { style: chipIconStyles })
|
|
427
|
+
},
|
|
428
|
+
["Correlation" /* CORRELATION */]: {
|
|
429
|
+
backgroundColor: "#FB865C",
|
|
430
|
+
icon: /* @__PURE__ */ react_exports.createElement(ChartScatter_default, { style: chipIconStyles })
|
|
431
|
+
},
|
|
432
|
+
["Spatial" /* SPATIAL */]: {
|
|
433
|
+
backgroundColor: "#E85B79",
|
|
434
|
+
icon: /* @__PURE__ */ react_exports.createElement(ChoroplethMap_default, { style: chipIconStyles })
|
|
435
|
+
},
|
|
436
|
+
["Flow" /* FLOW */]: {
|
|
437
|
+
backgroundColor: "#9980FF",
|
|
438
|
+
icon: /* @__PURE__ */ react_exports.createElement(SplitBy_default, { style: chipIconStyles })
|
|
439
|
+
}
|
|
719
440
|
};
|
|
720
|
-
|
|
441
|
+
var StyledChip = styled_components_default(Chip_default)`
|
|
442
|
+
[data-test='label'] {
|
|
443
|
+
color: white;
|
|
444
|
+
}
|
|
445
|
+
margin-left: 10px;
|
|
446
|
+
margin-bottom: 10px;
|
|
447
|
+
`;
|
|
448
|
+
var Variations = ({ variations, variationCode, type }) => /* @__PURE__ */ react_exports.createElement(react_exports.Fragment, null, variations.map(
|
|
449
|
+
(v) => {
|
|
450
|
+
var _a;
|
|
451
|
+
const variationObj = variationCode[v.key];
|
|
452
|
+
return /* @__PURE__ */ react_exports.createElement(
|
|
453
|
+
DocExampleWithVizSandbox_default,
|
|
454
|
+
__spreadValues({
|
|
455
|
+
hideSandbox: (_a = v.hideSandbox) != null ? _a : false,
|
|
456
|
+
type,
|
|
457
|
+
key: v.key,
|
|
458
|
+
code: variationObj.code,
|
|
459
|
+
example: variationObj.example
|
|
460
|
+
}, v)
|
|
461
|
+
);
|
|
462
|
+
}
|
|
463
|
+
));
|
|
721
464
|
Variations.propTypes = {
|
|
722
|
-
variations:
|
|
723
|
-
variationCode:
|
|
724
|
-
type:
|
|
465
|
+
variations: prop_types_exports.array,
|
|
466
|
+
variationCode: prop_types_exports.object,
|
|
467
|
+
type: prop_types_exports.string
|
|
725
468
|
};
|
|
726
|
-
|
|
727
|
-
var Tip = function Tip(_ref2) {
|
|
728
|
-
var tip = _ref2.tip;
|
|
729
|
-
return React.createElement(List_1.default.Item, null, tip);
|
|
730
|
-
};
|
|
731
|
-
|
|
469
|
+
var Tip = ({ tip }) => /* @__PURE__ */ react_exports.createElement(List_default.Item, null, tip);
|
|
732
470
|
Tip.propTypes = {
|
|
733
|
-
tip:
|
|
471
|
+
tip: prop_types_exports.string
|
|
734
472
|
};
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
return React.createElement(React.Fragment, null, React.createElement(Heading_1.default, {
|
|
739
|
-
level: 3
|
|
740
|
-
}, "Tips"), React.createElement(List_1.default, null, tips.map(function (tip) {
|
|
741
|
-
return React.createElement(Tip, {
|
|
742
|
-
key: tip,
|
|
743
|
-
tip: tip
|
|
744
|
-
});
|
|
745
|
-
})));
|
|
746
|
-
};
|
|
747
|
-
|
|
473
|
+
var Tips = ({ tips }) => /* @__PURE__ */ react_exports.createElement(react_exports.Fragment, null, /* @__PURE__ */ react_exports.createElement(Heading_default, { level: 3 }, "Tips"), /* @__PURE__ */ react_exports.createElement(List_default, null, tips.map(
|
|
474
|
+
(tip) => /* @__PURE__ */ react_exports.createElement(Tip, { key: tip, tip })
|
|
475
|
+
)));
|
|
748
476
|
Tips.propTypes = {
|
|
749
|
-
tips:
|
|
477
|
+
tips: prop_types_exports.array
|
|
750
478
|
};
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
}, vizType)), React.createElement(Paragraph_1.default, {
|
|
769
|
-
"data-test": "overview-description"
|
|
770
|
-
}, overview), React.createElement(Tips, {
|
|
771
|
-
"data-test": "tips",
|
|
772
|
-
tips: tips
|
|
773
|
-
}), variationCode && React.createElement(Variations, {
|
|
774
|
-
variations: variations,
|
|
775
|
-
type: type,
|
|
776
|
-
variationCode: variationCode
|
|
777
|
-
}));
|
|
479
|
+
var OverviewDoc = (props) => {
|
|
480
|
+
const { typeOfViz, type, overview, tips, variations } = props.overview;
|
|
481
|
+
const { variationCode } = props;
|
|
482
|
+
const vizTypeDisplayNameMap = {
|
|
483
|
+
["Trends" /* TRENDS */]: "Trend",
|
|
484
|
+
["Comparisons" /* COMPARISONS */]: "Comparison"
|
|
485
|
+
};
|
|
486
|
+
const vizType = vizTypeDisplayNameMap[typeOfViz] || typeOfViz;
|
|
487
|
+
return /* @__PURE__ */ react_exports.createElement(react_exports.Fragment, null, vizType && /* @__PURE__ */ react_exports.createElement(react_exports.Fragment, null, "Chart Type", /* @__PURE__ */ react_exports.createElement(
|
|
488
|
+
StyledChip,
|
|
489
|
+
{
|
|
490
|
+
"data-test": "viz-type-chip",
|
|
491
|
+
backgroundColor: chipType[typeOfViz].backgroundColor,
|
|
492
|
+
icon: chipType[typeOfViz].icon
|
|
493
|
+
},
|
|
494
|
+
vizType
|
|
495
|
+
)), /* @__PURE__ */ react_exports.createElement(Paragraph_default, { "data-test": "overview-description" }, overview), /* @__PURE__ */ react_exports.createElement(Tips, { "data-test": "tips", tips }), variationCode && /* @__PURE__ */ react_exports.createElement(Variations, { variations, type, variationCode }));
|
|
778
496
|
};
|
|
779
|
-
|
|
780
497
|
OverviewDoc.propTypes = {
|
|
781
|
-
overview:
|
|
782
|
-
variationCode:
|
|
498
|
+
overview: prop_types_exports.object,
|
|
499
|
+
variationCode: prop_types_exports.object
|
|
783
500
|
};
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
/***/ }),
|
|
787
|
-
/* 87 */
|
|
788
|
-
/***/ (function(module, exports) {
|
|
789
|
-
|
|
790
|
-
module.exports = require("@splunk/react-ui/Paragraph");
|
|
791
|
-
|
|
792
|
-
/***/ }),
|
|
793
|
-
/* 88 */
|
|
794
|
-
/***/ (function(module, exports) {
|
|
795
|
-
|
|
796
|
-
module.exports = require("@splunk/react-ui/List");
|
|
797
|
-
|
|
798
|
-
/***/ }),
|
|
799
|
-
/* 89 */
|
|
800
|
-
/***/ (function(module, exports) {
|
|
801
|
-
|
|
802
|
-
module.exports = require("@splunk/react-ui/Chip");
|
|
803
|
-
|
|
804
|
-
/***/ }),
|
|
805
|
-
/* 90 */
|
|
806
|
-
/***/ (function(module, exports) {
|
|
807
|
-
|
|
808
|
-
module.exports = require("@splunk/react-icons/enterprise/ChartLine");
|
|
809
|
-
|
|
810
|
-
/***/ }),
|
|
811
|
-
/* 91 */
|
|
812
|
-
/***/ (function(module, exports) {
|
|
813
|
-
|
|
814
|
-
module.exports = require("@splunk/react-icons/enterprise/ChartBar");
|
|
815
|
-
|
|
816
|
-
/***/ }),
|
|
817
|
-
/* 92 */
|
|
818
|
-
/***/ (function(module, exports) {
|
|
819
|
-
|
|
820
|
-
module.exports = require("@splunk/react-icons/enterprise/ChartScatter");
|
|
821
|
-
|
|
822
|
-
/***/ }),
|
|
823
|
-
/* 93 */
|
|
824
|
-
/***/ (function(module, exports) {
|
|
825
|
-
|
|
826
|
-
module.exports = require("@splunk/react-icons/enterprise/ChoroplethMap");
|
|
827
|
-
|
|
828
|
-
/***/ }),
|
|
829
|
-
/* 94 */
|
|
830
|
-
/***/ (function(module, exports) {
|
|
831
|
-
|
|
832
|
-
module.exports = require("@splunk/react-icons/enterprise/SplitBy");
|
|
833
|
-
|
|
834
|
-
/***/ })
|
|
835
|
-
/******/ ]);
|
|
836
|
-
//# sourceMappingURL=OverviewDoc.js.map
|
|
501
|
+
var OverviewDoc_default = OverviewDoc;
|
|
502
|
+
//# sourceMappingURL=OverviewDoc.js.map
|