@splunk/visualizations 26.2.0 → 26.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/Area.config.js +91 -594
- package/Area.config.js.map +1 -1
- package/Area.js +184 -689
- package/Area.js.map +1 -1
- package/Bar.config.js +92 -561
- package/Bar.config.js.map +1 -1
- package/Bar.js +184 -655
- package/Bar.js.map +1 -1
- package/Bubble.config.js +83 -482
- package/Bubble.config.js.map +1 -1
- package/Bubble.js +177 -578
- package/Bubble.js.map +1 -1
- package/ChoroplethSvg.config.js +76 -201
- package/ChoroplethSvg.config.js.map +1 -1
- package/ChoroplethSvg.js +173 -301
- package/ChoroplethSvg.js.map +1 -1
- package/Column.config.js +92 -599
- package/Column.config.js.map +1 -1
- package/Column.js +184 -693
- package/Column.js.map +1 -1
- package/Ellipse.config.js +82 -200
- package/Ellipse.config.js.map +1 -1
- package/Ellipse.js +137 -262
- package/Ellipse.js.map +1 -1
- package/Events.config.js +61 -282
- package/Events.config.js.map +1 -1
- package/Events.js +222 -428
- package/Events.js.map +1 -1
- package/FillerGauge.config.js +90 -219
- package/FillerGauge.config.js.map +1 -1
- package/FillerGauge.js +163 -299
- package/FillerGauge.js.map +1 -1
- package/Image.config.js +61 -157
- package/Image.config.js.map +1 -1
- package/Image.js +130 -242
- package/Image.js.map +1 -1
- package/Line.config.js +91 -606
- package/Line.config.js.map +1 -1
- package/Line.js +184 -701
- package/Line.js.map +1 -1
- package/LinkGraph.config.js +74 -256
- package/LinkGraph.config.js.map +1 -1
- package/LinkGraph.js +17198 -24224
- package/LinkGraph.js.map +1 -1
- package/Map.config.js +128 -1123
- package/Map.config.js.map +1 -1
- package/Map.js +309 -680
- package/Map.js.map +1 -1
- package/Markdown.config.js +61 -188
- package/Markdown.config.js.map +1 -1
- package/Markdown.js +190 -323
- package/Markdown.js.map +1 -1
- package/MarkerGauge.config.js +137 -297
- package/MarkerGauge.config.js.map +1 -1
- package/MarkerGauge.js +1038 -1203
- package/MarkerGauge.js.map +1 -1
- package/ParallelCoordinates.config.js +71 -191
- package/ParallelCoordinates.config.js.map +1 -1
- package/ParallelCoordinates.js +218 -343
- package/ParallelCoordinates.js.map +1 -1
- package/Pie.config.js +72 -240
- package/Pie.config.js.map +1 -1
- package/Pie.js +214 -381
- package/Pie.js.map +1 -1
- package/Punchcard.config.js +71 -305
- package/Punchcard.config.js.map +1 -1
- package/Punchcard.js +246 -477
- package/Punchcard.js.map +1 -1
- package/Rectangle.config.js +211 -347
- package/Rectangle.config.js.map +1 -1
- package/Rectangle.js +274 -416
- package/Rectangle.js.map +1 -1
- package/Sankey.config.js +71 -213
- package/Sankey.config.js.map +1 -1
- package/Sankey.js +246 -382
- package/Sankey.js.map +1 -1
- package/Scatter.config.js +85 -463
- package/Scatter.config.js.map +1 -1
- package/Scatter.js +825 -1202
- package/Scatter.js.map +1 -1
- package/SingleValue.config.js +114 -409
- package/SingleValue.config.js.map +1 -1
- package/SingleValue.js +287 -582
- package/SingleValue.js.map +1 -1
- package/SingleValueBasic.js +30 -30
- package/SingleValueBasic.js.map +1 -1
- package/SingleValueIcon.config.js +113 -378
- package/SingleValueIcon.config.js.map +1 -1
- package/SingleValueIcon.js +268 -533
- package/SingleValueIcon.js.map +1 -1
- package/SingleValueRadial.config.js +110 -382
- package/SingleValueRadial.config.js.map +1 -1
- package/SingleValueRadial.js +272 -543
- package/SingleValueRadial.js.map +1 -1
- package/SparkLine.js +24 -24
- package/SparkLine.js.map +1 -1
- package/Table.config.js +74 -496
- package/Table.config.js.map +1 -1
- package/Table.js +302 -720
- package/Table.js.map +1 -1
- package/common/Charting.js +22 -34
- package/common/Charting.js.map +1 -1
- package/common/DocExampleWithVizSandbox.js +21 -21
- package/common/DocExampleWithVizSandbox.js.map +1 -1
- package/common/EventsDoc.js +18 -18
- package/common/EventsDoc.js.map +1 -1
- package/common/GaugeMajorTicks.js +4 -4
- package/common/GaugeMajorTicks.js.map +1 -1
- package/common/GaugeValueMarker.js +2 -2
- package/common/GaugeValueMarker.js.map +1 -1
- package/common/OptionsDoc.js +4 -4
- package/common/OptionsDoc.js.map +1 -1
- package/common/OverviewDoc.js +39 -40
- package/common/OverviewDoc.js.map +1 -1
- package/common/SplunkVisualization.js +2 -2
- package/common/SplunkVisualization.js.map +1 -1
- package/common/SplunkVisualizationApi.js +2 -2
- package/common/SplunkVisualizationApi.js.map +1 -1
- package/common/ThemesDoc.js +19 -19
- package/common/ThemesDoc.js.map +1 -1
- package/common/chartingUtils.js +2 -2
- package/common/chartingUtils.js.map +1 -1
- package/common/gaugeUtils.js +10 -10
- package/common/gaugeUtils.js.map +1 -1
- package/common/shapeUtils.js +10 -10
- package/common/shapeUtils.js.map +1 -1
- package/common/utils/configUtils.js +25 -155
- package/common/utils/configUtils.js.map +1 -1
- package/common/utils/dataUtils.js +75 -87
- package/common/utils/dataUtils.js.map +1 -1
- package/common/utils/featureFlagUtils.js +4 -4
- package/common/utils/featureFlagUtils.js.map +1 -1
- package/common/utils/hocUtils.js +2 -2
- package/common/utils/hocUtils.js.map +1 -1
- package/common/utils/mapUtils.js +51 -54
- package/common/utils/mapUtils.js.map +1 -1
- package/common/utils/singleValueUtils.js +7 -7
- package/common/utils/singleValueUtils.js.map +1 -1
- package/common/utils/testHelper.js +7 -36
- package/common/utils/testHelper.js.map +1 -1
- package/common/utils/trellisUtils.js +7 -6
- package/common/utils/trellisUtils.js.map +1 -1
- package/common/utils/urlUtils.js +2 -2
- package/common/utils/urlUtils.js.map +1 -1
- package/common/withDashboardViz.js +65 -77
- package/common/withDashboardViz.js.map +1 -1
- package/package.json +46 -49
- package/common/utils/layoutUtils.js +0 -115
- package/common/utils/layoutUtils.js.map +0 -1
package/SingleValueIcon.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 = 488);
|
|
91
91
|
/******/ })
|
|
92
92
|
/************************************************************************/
|
|
93
93
|
/******/ ({
|
|
@@ -109,11 +109,11 @@ module.exports = require("prop-types");
|
|
|
109
109
|
/***/ 10:
|
|
110
110
|
/***/ (function(module, exports) {
|
|
111
111
|
|
|
112
|
-
module.exports = require("@
|
|
112
|
+
module.exports = require("@splunk/visualization-schemas");
|
|
113
113
|
|
|
114
114
|
/***/ }),
|
|
115
115
|
|
|
116
|
-
/***/
|
|
116
|
+
/***/ 100:
|
|
117
117
|
/***/ (function(module, exports, __webpack_require__) {
|
|
118
118
|
|
|
119
119
|
"use strict";
|
|
@@ -158,7 +158,7 @@ exports.TrellisTitle = TrellisTitle;
|
|
|
158
158
|
|
|
159
159
|
/***/ }),
|
|
160
160
|
|
|
161
|
-
/***/
|
|
161
|
+
/***/ 105:
|
|
162
162
|
/***/ (function(module, exports) {
|
|
163
163
|
|
|
164
164
|
module.exports = require("@splunk/visualizations-shared/trellisUtils");
|
|
@@ -172,7 +172,7 @@ module.exports = require("@splunk/visualizations-shared/numberUtils");
|
|
|
172
172
|
|
|
173
173
|
/***/ }),
|
|
174
174
|
|
|
175
|
-
/***/
|
|
175
|
+
/***/ 112:
|
|
176
176
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
177
177
|
|
|
178
178
|
"use strict";
|
|
@@ -196,7 +196,7 @@ var StaticBackgroundColorEditor = {
|
|
|
196
196
|
|
|
197
197
|
/***/ }),
|
|
198
198
|
|
|
199
|
-
/***/
|
|
199
|
+
/***/ 114:
|
|
200
200
|
/***/ (function(module, exports) {
|
|
201
201
|
|
|
202
202
|
module.exports = require("@splunk/react-ui/Paginator");
|
|
@@ -210,7 +210,7 @@ module.exports = require("@splunk/visualizations-shared/Message");
|
|
|
210
210
|
|
|
211
211
|
/***/ }),
|
|
212
212
|
|
|
213
|
-
/***/
|
|
213
|
+
/***/ 121:
|
|
214
214
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
215
215
|
|
|
216
216
|
"use strict";
|
|
@@ -255,7 +255,7 @@ var getDynamicTrendColorEditor = function getDynamicTrendColorEditor(_ref) {
|
|
|
255
255
|
|
|
256
256
|
/***/ }),
|
|
257
257
|
|
|
258
|
-
/***/
|
|
258
|
+
/***/ 122:
|
|
259
259
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
260
260
|
|
|
261
261
|
"use strict";
|
|
@@ -310,7 +310,7 @@ var getDynamicBackgroundColorEditor = function getDynamicBackgroundColorEditor(_
|
|
|
310
310
|
|
|
311
311
|
/***/ }),
|
|
312
312
|
|
|
313
|
-
/***/
|
|
313
|
+
/***/ 123:
|
|
314
314
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
315
315
|
|
|
316
316
|
"use strict";
|
|
@@ -361,7 +361,7 @@ var StaticMajorAndTrendLayout = [[{
|
|
|
361
361
|
|
|
362
362
|
/***/ }),
|
|
363
363
|
|
|
364
|
-
/***/
|
|
364
|
+
/***/ 124:
|
|
365
365
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
366
366
|
|
|
367
367
|
"use strict";
|
|
@@ -385,7 +385,7 @@ var StaticMajorColorEditor = {
|
|
|
385
385
|
|
|
386
386
|
/***/ }),
|
|
387
387
|
|
|
388
|
-
/***/
|
|
388
|
+
/***/ 125:
|
|
389
389
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
390
390
|
|
|
391
391
|
"use strict";
|
|
@@ -413,7 +413,7 @@ var StaticTrendColorEditor = {
|
|
|
413
413
|
|
|
414
414
|
/***/ }),
|
|
415
415
|
|
|
416
|
-
/***/
|
|
416
|
+
/***/ 126:
|
|
417
417
|
/***/ (function(module, exports, __webpack_require__) {
|
|
418
418
|
|
|
419
419
|
"use strict";
|
|
@@ -430,7 +430,7 @@ var i18n_1 = __webpack_require__(2);
|
|
|
430
430
|
|
|
431
431
|
var FeatureFlagContext_1 = __webpack_require__(28);
|
|
432
432
|
|
|
433
|
-
var
|
|
433
|
+
var visualization_schemas_1 = __webpack_require__(10);
|
|
434
434
|
/* eslint-disable react-hooks/rules-of-hooks */
|
|
435
435
|
|
|
436
436
|
|
|
@@ -454,7 +454,7 @@ exports.TrellisEditorConfig = [[{
|
|
|
454
454
|
var options = _ref.options;
|
|
455
455
|
var featureFlagContext = React.useContext(FeatureFlagContext_1.default);
|
|
456
456
|
var isTrellisFeatureFlagOn = Boolean(featureFlagContext && featureFlagContext.visualizations_enableTrellis);
|
|
457
|
-
return isTrellisFeatureFlagOn && options.splitByLayout ===
|
|
457
|
+
return isTrellisFeatureFlagOn && options.splitByLayout === visualization_schemas_1.LAYOUT_TYPE.Trellis;
|
|
458
458
|
}
|
|
459
459
|
}], [{
|
|
460
460
|
label: (0, i18n_1._)('Number of columns'),
|
|
@@ -468,7 +468,7 @@ exports.TrellisEditorConfig = [[{
|
|
|
468
468
|
var options = _ref2.options;
|
|
469
469
|
var featureFlagContext = React.useContext(FeatureFlagContext_1.default);
|
|
470
470
|
var isTrellisFeatureFlagOn = Boolean(featureFlagContext && featureFlagContext.visualizations_enableTrellis);
|
|
471
|
-
return isTrellisFeatureFlagOn && options.splitByLayout ===
|
|
471
|
+
return isTrellisFeatureFlagOn && options.splitByLayout === visualization_schemas_1.LAYOUT_TYPE.Trellis;
|
|
472
472
|
}
|
|
473
473
|
}], [{
|
|
474
474
|
label: (0, i18n_1._)('Min column width'),
|
|
@@ -481,7 +481,7 @@ exports.TrellisEditorConfig = [[{
|
|
|
481
481
|
var options = _ref3.options;
|
|
482
482
|
var featureFlagContext = React.useContext(FeatureFlagContext_1.default);
|
|
483
483
|
var isTrellisFeatureFlagOn = Boolean(featureFlagContext && featureFlagContext.visualizations_enableTrellis);
|
|
484
|
-
return isTrellisFeatureFlagOn && options.splitByLayout ===
|
|
484
|
+
return isTrellisFeatureFlagOn && options.splitByLayout === visualization_schemas_1.LAYOUT_TYPE.Trellis;
|
|
485
485
|
}
|
|
486
486
|
}, {
|
|
487
487
|
label: (0, i18n_1._)('Row height'),
|
|
@@ -494,7 +494,7 @@ exports.TrellisEditorConfig = [[{
|
|
|
494
494
|
var options = _ref4.options;
|
|
495
495
|
var featureFlagContext = React.useContext(FeatureFlagContext_1.default);
|
|
496
496
|
var isTrellisFeatureFlagOn = Boolean(featureFlagContext && featureFlagContext.visualizations_enableTrellis);
|
|
497
|
-
return isTrellisFeatureFlagOn && options.splitByLayout ===
|
|
497
|
+
return isTrellisFeatureFlagOn && options.splitByLayout === visualization_schemas_1.LAYOUT_TYPE.Trellis;
|
|
498
498
|
}
|
|
499
499
|
}], [{
|
|
500
500
|
label: (0, i18n_1._)('Max number of components per page'),
|
|
@@ -507,7 +507,7 @@ exports.TrellisEditorConfig = [[{
|
|
|
507
507
|
var options = _ref5.options;
|
|
508
508
|
var featureFlagContext = React.useContext(FeatureFlagContext_1.default);
|
|
509
509
|
var isTrellisFeatureFlagOn = Boolean(featureFlagContext && featureFlagContext.visualizations_enableTrellis);
|
|
510
|
-
return isTrellisFeatureFlagOn && options.splitByLayout ===
|
|
510
|
+
return isTrellisFeatureFlagOn && options.splitByLayout === visualization_schemas_1.LAYOUT_TYPE.Trellis;
|
|
511
511
|
}
|
|
512
512
|
}]];
|
|
513
513
|
exports.TrellisBackgroundColorEditor = {
|
|
@@ -518,19 +518,19 @@ exports.TrellisBackgroundColorEditor = {
|
|
|
518
518
|
var options = _ref6.options;
|
|
519
519
|
var featureFlagContext = React.useContext(FeatureFlagContext_1.default);
|
|
520
520
|
var isTrellisFeatureFlagOn = Boolean(featureFlagContext && featureFlagContext.visualizations_enableTrellis);
|
|
521
|
-
return isTrellisFeatureFlagOn && options.splitByLayout ===
|
|
521
|
+
return isTrellisFeatureFlagOn && options.splitByLayout === visualization_schemas_1.LAYOUT_TYPE.Trellis;
|
|
522
522
|
}
|
|
523
523
|
};
|
|
524
524
|
|
|
525
525
|
/***/ }),
|
|
526
526
|
|
|
527
|
-
/***/
|
|
527
|
+
/***/ 127:
|
|
528
528
|
/***/ (function(module, exports, __webpack_require__) {
|
|
529
529
|
|
|
530
530
|
"use strict";
|
|
531
531
|
|
|
532
532
|
|
|
533
|
-
var _slicedToArray = __webpack_require__(
|
|
533
|
+
var _slicedToArray = __webpack_require__(6);
|
|
534
534
|
|
|
535
535
|
var __rest = this && this.__rest || function (s, e) {
|
|
536
536
|
var t = {};
|
|
@@ -557,37 +557,37 @@ var lodash_1 = __webpack_require__(3);
|
|
|
557
557
|
|
|
558
558
|
var styled_components_1 = __webpack_require__(4);
|
|
559
559
|
|
|
560
|
-
var Paginator_1 = __webpack_require__(
|
|
560
|
+
var Paginator_1 = __webpack_require__(114);
|
|
561
561
|
|
|
562
562
|
var i18n_1 = __webpack_require__(2);
|
|
563
563
|
|
|
564
|
-
var themes_1 = __webpack_require__(
|
|
564
|
+
var themes_1 = __webpack_require__(80);
|
|
565
565
|
|
|
566
|
-
var useSplunkTheme_1 = __webpack_require__(
|
|
566
|
+
var useSplunkTheme_1 = __webpack_require__(77);
|
|
567
567
|
|
|
568
568
|
var FeatureFlagContext_1 = __webpack_require__(28);
|
|
569
569
|
|
|
570
570
|
var SizeAwareWrapper_1 = __webpack_require__(26);
|
|
571
571
|
|
|
572
|
-
var style_1 = __webpack_require__(
|
|
572
|
+
var style_1 = __webpack_require__(19);
|
|
573
573
|
|
|
574
574
|
var Message_1 = __webpack_require__(12);
|
|
575
575
|
|
|
576
|
-
var trellisUtils_1 = __webpack_require__(
|
|
576
|
+
var trellisUtils_1 = __webpack_require__(105);
|
|
577
577
|
|
|
578
578
|
var hocUtils_1 = __webpack_require__(34);
|
|
579
579
|
|
|
580
580
|
var JSONSchemaUtils_1 = __webpack_require__(35);
|
|
581
581
|
|
|
582
|
-
var
|
|
582
|
+
var visualization_schemas_1 = __webpack_require__(10);
|
|
583
583
|
|
|
584
|
-
var
|
|
584
|
+
var Options_1 = __webpack_require__(17);
|
|
585
585
|
|
|
586
|
-
var
|
|
586
|
+
var trellisUtils_2 = __webpack_require__(128);
|
|
587
587
|
|
|
588
588
|
var TrellisContainer = styled_components_1.default.div.withConfig({
|
|
589
589
|
displayName: "withTrellis__TrellisContainer",
|
|
590
|
-
componentId: "pjmeig-0"
|
|
590
|
+
componentId: "sc-pjmeig-0"
|
|
591
591
|
})(["overflow:hidden;display:flex;flex-direction:column;background-color:", ";", ";> [data-test='paginator']{align-self:flex-end;margin-bottom:10px;}"], function (props) {
|
|
592
592
|
return props.backgroundColor;
|
|
593
593
|
}, function (props) {
|
|
@@ -595,7 +595,7 @@ var TrellisContainer = styled_components_1.default.div.withConfig({
|
|
|
595
595
|
});
|
|
596
596
|
var TrellisContainerGrid = styled_components_1.default.div.withConfig({
|
|
597
597
|
displayName: "withTrellis__TrellisContainerGrid",
|
|
598
|
-
componentId: "pjmeig-1"
|
|
598
|
+
componentId: "sc-pjmeig-1"
|
|
599
599
|
})(["display:grid;height:", ";gap:10px 10px;grid-template-columns:", ";overflow:auto;justify-items:stretch;grid-auto-rows:", ";.child{height:", ";}"], function (props) {
|
|
600
600
|
return "".concat(props.height, "px");
|
|
601
601
|
}, function (props) {
|
|
@@ -743,11 +743,11 @@ var withTrellis = function withTrellis(Viz) {
|
|
|
743
743
|
var featureFlagContext = React.useContext(FeatureFlagContext_1.default);
|
|
744
744
|
var isTrellisFeatureFlagOn = Boolean(featureFlagContext && featureFlagContext.visualizations_enableTrellis);
|
|
745
745
|
|
|
746
|
-
if (!isTrellisFeatureFlagOn || !splitByLayout || splitByLayout !==
|
|
746
|
+
if (!isTrellisFeatureFlagOn || !splitByLayout || splitByLayout !== visualization_schemas_1.LAYOUT_TYPE.Trellis) {
|
|
747
747
|
return React.createElement(Viz, Object.assign({}, opts));
|
|
748
748
|
}
|
|
749
749
|
|
|
750
|
-
if (splitByLayout ===
|
|
750
|
+
if (splitByLayout === visualization_schemas_1.LAYOUT_TYPE.Trellis) {
|
|
751
751
|
if (noColumns || noFields) {
|
|
752
752
|
return React.createElement(Message_1.default, {
|
|
753
753
|
width: width,
|
|
@@ -831,20 +831,13 @@ exports.default = withTrellis;
|
|
|
831
831
|
|
|
832
832
|
/***/ }),
|
|
833
833
|
|
|
834
|
-
/***/
|
|
835
|
-
/***/ (function(module, exports) {
|
|
836
|
-
|
|
837
|
-
module.exports = require("@splunk/themes/variables");
|
|
838
|
-
|
|
839
|
-
/***/ }),
|
|
840
|
-
|
|
841
|
-
/***/ 130:
|
|
834
|
+
/***/ 128:
|
|
842
835
|
/***/ (function(module, exports, __webpack_require__) {
|
|
843
836
|
|
|
844
837
|
"use strict";
|
|
845
838
|
|
|
846
839
|
|
|
847
|
-
var _toConsumableArray = __webpack_require__(
|
|
840
|
+
var _toConsumableArray = __webpack_require__(7);
|
|
848
841
|
|
|
849
842
|
Object.defineProperty(exports, "__esModule", {
|
|
850
843
|
value: true
|
|
@@ -853,7 +846,7 @@ exports.getTrellisDataSourcesBySplitMode = exports.dataSourcesSplitByModeStatsor
|
|
|
853
846
|
|
|
854
847
|
var lodash_1 = __webpack_require__(3);
|
|
855
848
|
|
|
856
|
-
var trellisUtils_1 = __webpack_require__(
|
|
849
|
+
var trellisUtils_1 = __webpack_require__(105);
|
|
857
850
|
|
|
858
851
|
exports.AGGREGATIONS = 'aggregations';
|
|
859
852
|
/**
|
|
@@ -1319,6 +1312,7 @@ var getTrellisDataSourcesBySplitMode = function getTrellisDataSourcesBySplitMode
|
|
|
1319
1312
|
result = trellisSplitBy === exports.AGGREGATIONS ? (0, exports.dataSourcesSplitByAggregationsUnknown)(dataSources) : (0, exports.dataSourcesSplitByModeStatsorUnknown)(dataSources, trellisSplitBy, trellisUtils_1.UNKNOWN);
|
|
1320
1313
|
}
|
|
1321
1314
|
} catch (ex) {
|
|
1315
|
+
// eslint-disable-next-line no-console
|
|
1322
1316
|
console.error('getTrellisDataSourcesBySplitMode ', ex);
|
|
1323
1317
|
result = {
|
|
1324
1318
|
splitDataSources: null,
|
|
@@ -1333,14 +1327,21 @@ exports.getTrellisDataSourcesBySplitMode = getTrellisDataSourcesBySplitMode;
|
|
|
1333
1327
|
|
|
1334
1328
|
/***/ }),
|
|
1335
1329
|
|
|
1336
|
-
/***/
|
|
1330
|
+
/***/ 129:
|
|
1337
1331
|
/***/ (function(module, exports) {
|
|
1338
1332
|
|
|
1339
1333
|
module.exports = require("lodash/pick");
|
|
1340
1334
|
|
|
1341
1335
|
/***/ }),
|
|
1342
1336
|
|
|
1343
|
-
/***/
|
|
1337
|
+
/***/ 13:
|
|
1338
|
+
/***/ (function(module, exports) {
|
|
1339
|
+
|
|
1340
|
+
module.exports = require("@babel/runtime/helpers/defineProperty");
|
|
1341
|
+
|
|
1342
|
+
/***/ }),
|
|
1343
|
+
|
|
1344
|
+
/***/ 130:
|
|
1344
1345
|
/***/ (function(module, exports) {
|
|
1345
1346
|
|
|
1346
1347
|
module.exports = require("lodash/isEmpty");
|
|
@@ -1348,6 +1349,13 @@ module.exports = require("lodash/isEmpty");
|
|
|
1348
1349
|
/***/ }),
|
|
1349
1350
|
|
|
1350
1351
|
/***/ 14:
|
|
1352
|
+
/***/ (function(module, exports) {
|
|
1353
|
+
|
|
1354
|
+
module.exports = require("@splunk/themes/variables");
|
|
1355
|
+
|
|
1356
|
+
/***/ }),
|
|
1357
|
+
|
|
1358
|
+
/***/ 15:
|
|
1351
1359
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1352
1360
|
|
|
1353
1361
|
"use strict";
|
|
@@ -1644,6 +1652,7 @@ var calculateDownsamplingThreshold = function calculateDownsamplingThreshold(_re
|
|
|
1644
1652
|
});
|
|
1645
1653
|
}
|
|
1646
1654
|
} catch (e) {
|
|
1655
|
+
// eslint-disable-next-line no-console
|
|
1647
1656
|
console.error('Error occurred while setting downsample threshold on range select event', e);
|
|
1648
1657
|
}
|
|
1649
1658
|
|
|
@@ -1810,6 +1819,7 @@ var downsampleDataSources = function downsampleDataSources(_ref4) {
|
|
|
1810
1819
|
return downsampledIndices.add(downsampleIndex);
|
|
1811
1820
|
});
|
|
1812
1821
|
} catch (e) {
|
|
1822
|
+
// eslint-disable-next-line no-console
|
|
1813
1823
|
console.error("Error occurred while downsampling column ".concat(columnIndex), e);
|
|
1814
1824
|
}
|
|
1815
1825
|
}); // update data columns with downsampled columns
|
|
@@ -1822,14 +1832,7 @@ exports.downsampleDataSources = downsampleDataSources;
|
|
|
1822
1832
|
|
|
1823
1833
|
/***/ }),
|
|
1824
1834
|
|
|
1825
|
-
/***/
|
|
1826
|
-
/***/ (function(module, exports) {
|
|
1827
|
-
|
|
1828
|
-
module.exports = require("@splunk/visualizations-shared/colorUtils");
|
|
1829
|
-
|
|
1830
|
-
/***/ }),
|
|
1831
|
-
|
|
1832
|
-
/***/ 157:
|
|
1835
|
+
/***/ 155:
|
|
1833
1836
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1834
1837
|
|
|
1835
1838
|
"use strict";
|
|
@@ -1874,7 +1877,7 @@ exports.defaultContext = {
|
|
|
1874
1877
|
|
|
1875
1878
|
/***/ }),
|
|
1876
1879
|
|
|
1877
|
-
/***/
|
|
1880
|
+
/***/ 156:
|
|
1878
1881
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1879
1882
|
|
|
1880
1883
|
"use strict";
|
|
@@ -1928,11 +1931,11 @@ var getDynamicMajorColorEditor = function getDynamicMajorColorEditor(_ref) {
|
|
|
1928
1931
|
/***/ 16:
|
|
1929
1932
|
/***/ (function(module, exports) {
|
|
1930
1933
|
|
|
1931
|
-
module.exports = require("@splunk/
|
|
1934
|
+
module.exports = require("@splunk/visualizations-shared/colorUtils");
|
|
1932
1935
|
|
|
1933
1936
|
/***/ }),
|
|
1934
1937
|
|
|
1935
|
-
/***/
|
|
1938
|
+
/***/ 161:
|
|
1936
1939
|
/***/ (function(module, exports) {
|
|
1937
1940
|
|
|
1938
1941
|
module.exports = require("@splunk/visualizations/SingleValueBasic");
|
|
@@ -1940,12 +1943,19 @@ module.exports = require("@splunk/visualizations/SingleValueBasic");
|
|
|
1940
1943
|
/***/ }),
|
|
1941
1944
|
|
|
1942
1945
|
/***/ 17:
|
|
1946
|
+
/***/ (function(module, exports) {
|
|
1947
|
+
|
|
1948
|
+
module.exports = require("@splunk/visualization-encoding/Options");
|
|
1949
|
+
|
|
1950
|
+
/***/ }),
|
|
1951
|
+
|
|
1952
|
+
/***/ 18:
|
|
1943
1953
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1944
1954
|
|
|
1945
1955
|
"use strict";
|
|
1946
1956
|
|
|
1947
1957
|
|
|
1948
|
-
var _slicedToArray = __webpack_require__(
|
|
1958
|
+
var _slicedToArray = __webpack_require__(6);
|
|
1949
1959
|
|
|
1950
1960
|
Object.defineProperty(exports, "__esModule", {
|
|
1951
1961
|
value: true
|
|
@@ -1955,9 +1965,9 @@ var React = __webpack_require__(0);
|
|
|
1955
1965
|
|
|
1956
1966
|
var styled_components_1 = __webpack_require__(4);
|
|
1957
1967
|
|
|
1958
|
-
var style_1 = __webpack_require__(
|
|
1968
|
+
var style_1 = __webpack_require__(19);
|
|
1959
1969
|
|
|
1960
|
-
var colorUtils_1 = __webpack_require__(
|
|
1970
|
+
var colorUtils_1 = __webpack_require__(16);
|
|
1961
1971
|
|
|
1962
1972
|
var SizeAwareWrapper_1 = __webpack_require__(26);
|
|
1963
1973
|
|
|
@@ -2030,7 +2040,7 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
|
|
|
2030
2040
|
|
|
2031
2041
|
return React.createElement(FixSizeItem, {
|
|
2032
2042
|
"data-test": "fix-size-item",
|
|
2033
|
-
"data-splunk-visualization-version": "26.
|
|
2043
|
+
"data-splunk-visualization-version": "26.3.0 - a1ef240a6",
|
|
2034
2044
|
width: width,
|
|
2035
2045
|
height: height,
|
|
2036
2046
|
backgroundColor: backgroundColor
|
|
@@ -2052,58 +2062,42 @@ exports.default = withFixedSizeContainer;
|
|
|
2052
2062
|
|
|
2053
2063
|
/***/ }),
|
|
2054
2064
|
|
|
2055
|
-
/***/
|
|
2065
|
+
/***/ 19:
|
|
2056
2066
|
/***/ (function(module, exports) {
|
|
2057
2067
|
|
|
2058
2068
|
module.exports = require("@splunk/visualizations-shared/style");
|
|
2059
2069
|
|
|
2060
2070
|
/***/ }),
|
|
2061
2071
|
|
|
2062
|
-
/***/
|
|
2063
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2064
|
-
|
|
2065
|
-
"use strict";
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
Object.defineProperty(exports, "__esModule", {
|
|
2069
|
-
value: true
|
|
2070
|
-
});
|
|
2071
|
-
exports.validOutputModes = exports.validSegmentationModes = exports.validSortDirs = void 0;
|
|
2072
|
-
exports.validSortDirs = ['asc', 'desc', 'none'];
|
|
2073
|
-
exports.validSegmentationModes = ['none', 'inner'];
|
|
2074
|
-
exports.validOutputModes = ['json_cols', 'json'];
|
|
2075
|
-
|
|
2076
|
-
/***/ }),
|
|
2077
|
-
|
|
2078
|
-
/***/ 194:
|
|
2072
|
+
/***/ 190:
|
|
2079
2073
|
/***/ (function(module, exports) {
|
|
2080
2074
|
|
|
2081
2075
|
module.exports = require("@splunk/react-icons/enterprise/Activity");
|
|
2082
2076
|
|
|
2083
2077
|
/***/ }),
|
|
2084
2078
|
|
|
2085
|
-
/***/
|
|
2079
|
+
/***/ 191:
|
|
2086
2080
|
/***/ (function(module, exports) {
|
|
2087
2081
|
|
|
2088
2082
|
module.exports = require("@splunk/react-icons/enterprise/Clock");
|
|
2089
2083
|
|
|
2090
2084
|
/***/ }),
|
|
2091
2085
|
|
|
2092
|
-
/***/
|
|
2086
|
+
/***/ 192:
|
|
2093
2087
|
/***/ (function(module, exports) {
|
|
2094
2088
|
|
|
2095
2089
|
module.exports = require("@splunk/react-icons/enterprise/Pencil");
|
|
2096
2090
|
|
|
2097
2091
|
/***/ }),
|
|
2098
2092
|
|
|
2099
|
-
/***/
|
|
2093
|
+
/***/ 193:
|
|
2100
2094
|
/***/ (function(module, exports) {
|
|
2101
2095
|
|
|
2102
2096
|
module.exports = require("@splunk/react-icons/enterprise/Star");
|
|
2103
2097
|
|
|
2104
2098
|
/***/ }),
|
|
2105
2099
|
|
|
2106
|
-
/***/
|
|
2100
|
+
/***/ 194:
|
|
2107
2101
|
/***/ (function(module, exports) {
|
|
2108
2102
|
|
|
2109
2103
|
module.exports = require("@splunk/react-icons/enterprise/Question");
|
|
@@ -2153,17 +2147,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2153
2147
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "lighten", function() { return lighten; });
|
|
2154
2148
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "darken", function() { return darken; });
|
|
2155
2149
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "handleValueClickCallback", function() { return handleValueClickCallback; });
|
|
2156
|
-
/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
2150
|
+
/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(13);
|
|
2157
2151
|
/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__);
|
|
2158
2152
|
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3);
|
|
2159
2153
|
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_1__);
|
|
2160
2154
|
/* harmony import */ var _splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(11);
|
|
2161
2155
|
/* harmony import */ var _splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_2__);
|
|
2162
|
-
/* harmony import */ var _splunk_visualizations_shared_domUtils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
|
2156
|
+
/* harmony import */ var _splunk_visualizations_shared_domUtils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(74);
|
|
2163
2157
|
/* harmony import */ var _splunk_visualizations_shared_domUtils__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_domUtils__WEBPACK_IMPORTED_MODULE_3__);
|
|
2164
2158
|
/* harmony import */ var _splunk_visualizations_shared_propUtils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(36);
|
|
2165
2159
|
/* harmony import */ var _splunk_visualizations_shared_propUtils__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_propUtils__WEBPACK_IMPORTED_MODULE_4__);
|
|
2166
|
-
/* harmony import */ var _splunk_visualizations_shared_colorConstants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
|
2160
|
+
/* harmony import */ var _splunk_visualizations_shared_colorConstants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(70);
|
|
2167
2161
|
/* harmony import */ var _splunk_visualizations_shared_colorConstants__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_colorConstants__WEBPACK_IMPORTED_MODULE_5__);
|
|
2168
2162
|
|
|
2169
2163
|
|
|
@@ -3152,7 +3146,22 @@ var handleValueClickCallback = function handleValueClickCallback(ev, majorValue,
|
|
|
3152
3146
|
"use strict";
|
|
3153
3147
|
|
|
3154
3148
|
|
|
3155
|
-
|
|
3149
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3150
|
+
value: true
|
|
3151
|
+
});
|
|
3152
|
+
exports.validOutputModes = exports.validSortDirs = void 0;
|
|
3153
|
+
exports.validSortDirs = ['asc', 'desc', 'none'];
|
|
3154
|
+
exports.validOutputModes = ['json_cols', 'json'];
|
|
3155
|
+
|
|
3156
|
+
/***/ }),
|
|
3157
|
+
|
|
3158
|
+
/***/ 22:
|
|
3159
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
3160
|
+
|
|
3161
|
+
"use strict";
|
|
3162
|
+
|
|
3163
|
+
|
|
3164
|
+
var _classCallCheck = __webpack_require__(9);
|
|
3156
3165
|
|
|
3157
3166
|
var _createClass = __webpack_require__(25);
|
|
3158
3167
|
|
|
@@ -3184,7 +3193,7 @@ exports.DefaultVizActionHandler = DefaultVizActionHandler;
|
|
|
3184
3193
|
|
|
3185
3194
|
/***/ }),
|
|
3186
3195
|
|
|
3187
|
-
/***/
|
|
3196
|
+
/***/ 23:
|
|
3188
3197
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3189
3198
|
|
|
3190
3199
|
"use strict";
|
|
@@ -3213,7 +3222,7 @@ var VizCategory;
|
|
|
3213
3222
|
|
|
3214
3223
|
/***/ }),
|
|
3215
3224
|
|
|
3216
|
-
/***/
|
|
3225
|
+
/***/ 24:
|
|
3217
3226
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3218
3227
|
|
|
3219
3228
|
"use strict";
|
|
@@ -3246,13 +3255,6 @@ exports.extendStaticWrapperProps = extendStaticWrapperProps;
|
|
|
3246
3255
|
|
|
3247
3256
|
/***/ }),
|
|
3248
3257
|
|
|
3249
|
-
/***/ 24:
|
|
3250
|
-
/***/ (function(module, exports) {
|
|
3251
|
-
|
|
3252
|
-
module.exports = require("@splunk/visualizations-shared/schemaUtils");
|
|
3253
|
-
|
|
3254
|
-
/***/ }),
|
|
3255
|
-
|
|
3256
3258
|
/***/ 25:
|
|
3257
3259
|
/***/ (function(module, exports) {
|
|
3258
3260
|
|
|
@@ -3273,99 +3275,24 @@ module.exports = require("@splunk/visualizations-shared/SizeAwareWrapper");
|
|
|
3273
3275
|
"use strict";
|
|
3274
3276
|
|
|
3275
3277
|
|
|
3276
|
-
var _toConsumableArray = __webpack_require__(
|
|
3277
|
-
|
|
3278
|
-
var _defineProperty = __webpack_require__(9);
|
|
3279
|
-
|
|
3280
|
-
var __rest = this && this.__rest || function (s, e) {
|
|
3281
|
-
var t = {};
|
|
3282
|
-
|
|
3283
|
-
for (var p in s) {
|
|
3284
|
-
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
3285
|
-
}
|
|
3286
|
-
|
|
3287
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
3288
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
3289
|
-
}
|
|
3290
|
-
return t;
|
|
3291
|
-
};
|
|
3278
|
+
var _toConsumableArray = __webpack_require__(7);
|
|
3292
3279
|
|
|
3293
3280
|
Object.defineProperty(exports, "__esModule", {
|
|
3294
3281
|
value: true
|
|
3295
3282
|
});
|
|
3296
|
-
exports.insertLayout = exports.isDynamicOption = exports.uncollapseEditorConfig = exports.generatePrecisionValues = exports.getInitialPreset = exports.
|
|
3283
|
+
exports.insertLayout = exports.isDynamicOption = exports.uncollapseEditorConfig = exports.generatePrecisionValues = exports.getInitialPreset = exports.enhanceConfig = exports.enhanceOptionsSchemaWithDynamicOptions = void 0;
|
|
3297
3284
|
|
|
3298
|
-
var lodash_1 = __webpack_require__(3);
|
|
3299
|
-
|
|
3300
|
-
var schemaUtils_1 = __webpack_require__(24);
|
|
3301
|
-
|
|
3302
|
-
var VizBehavior_1 = __webpack_require__(6);
|
|
3303
|
-
|
|
3304
|
-
var dynamicOptionsDSLType = {
|
|
3305
|
-
type: 'string',
|
|
3306
|
-
pattern: schemaUtils_1.DYNAMIC_OPTIONS_DSL_PATTERN
|
|
3307
|
-
};
|
|
3308
|
-
/**
|
|
3309
|
-
* Helper function to extend an options schema with dynamic options DSL
|
|
3310
|
-
* @param optionsSchema a visualization's options schema
|
|
3311
|
-
* @returns an updated options schema that additionally allows strings starting with > for each option
|
|
3312
|
-
*/
|
|
3285
|
+
var lodash_1 = __webpack_require__(3); // included for backwards compatibility
|
|
3313
3286
|
|
|
3314
|
-
function enhanceOptionsSchemaWithDynamicOptions(optionsSchema) {
|
|
3315
|
-
var enhancedOptionsSchema = {};
|
|
3316
|
-
Object.keys(optionsSchema).forEach(function (key) {
|
|
3317
|
-
var _a = optionsSchema[key],
|
|
3318
|
-
title = _a.title,
|
|
3319
|
-
description = _a.description,
|
|
3320
|
-
readOnly = _a.readOnly,
|
|
3321
|
-
writeOnly = _a.writeOnly,
|
|
3322
|
-
examples = _a.examples,
|
|
3323
|
-
defaultValue = _a.default,
|
|
3324
|
-
type = _a.type,
|
|
3325
|
-
properties = _a.properties,
|
|
3326
|
-
patternProperties = _a.patternProperties,
|
|
3327
|
-
remainingSchemaEntry = __rest(_a, ["title", "description", "readOnly", "writeOnly", "examples", "default", "type", "properties", "patternProperties"]);
|
|
3328
|
-
|
|
3329
|
-
var annotations = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, title !== undefined && {
|
|
3330
|
-
title: title
|
|
3331
|
-
}), description !== undefined && {
|
|
3332
|
-
description: description
|
|
3333
|
-
}), readOnly !== undefined && {
|
|
3334
|
-
readOnly: readOnly
|
|
3335
|
-
}), writeOnly !== undefined && {
|
|
3336
|
-
writeOnly: writeOnly
|
|
3337
|
-
}), examples !== undefined && {
|
|
3338
|
-
examples: examples
|
|
3339
|
-
}), defaultValue !== undefined && {
|
|
3340
|
-
default: defaultValue
|
|
3341
|
-
});
|
|
3342
3287
|
|
|
3343
|
-
|
|
3344
|
-
enhancedOptionsSchema[key] = Object.assign(Object.assign(Object.assign(Object.assign({}, remainingSchemaEntry), annotations), {
|
|
3345
|
-
type: type
|
|
3346
|
-
}), properties && {
|
|
3347
|
-
properties: enhanceOptionsSchemaWithDynamicOptions(properties)
|
|
3348
|
-
});
|
|
3288
|
+
var visualization_schemas_1 = __webpack_require__(10);
|
|
3349
3289
|
|
|
3350
|
-
|
|
3351
|
-
|
|
3352
|
-
|
|
3353
|
-
|
|
3354
|
-
|
|
3355
|
-
|
|
3356
|
-
}
|
|
3357
|
-
} else {
|
|
3358
|
-
enhancedOptionsSchema[key] = Object.assign(Object.assign({}, annotations), {
|
|
3359
|
-
anyOf: [Object.assign(Object.assign({}, type !== undefined && {
|
|
3360
|
-
type: type
|
|
3361
|
-
}), remainingSchemaEntry), dynamicOptionsDSLType]
|
|
3362
|
-
});
|
|
3363
|
-
}
|
|
3364
|
-
});
|
|
3365
|
-
return enhancedOptionsSchema;
|
|
3366
|
-
}
|
|
3367
|
-
|
|
3368
|
-
exports.enhanceOptionsSchemaWithDynamicOptions = enhanceOptionsSchemaWithDynamicOptions;
|
|
3290
|
+
Object.defineProperty(exports, "enhanceOptionsSchemaWithDynamicOptions", {
|
|
3291
|
+
enumerable: true,
|
|
3292
|
+
get: function get() {
|
|
3293
|
+
return visualization_schemas_1.enhanceOptionsSchemaWithDynamicOptions;
|
|
3294
|
+
}
|
|
3295
|
+
});
|
|
3369
3296
|
/**
|
|
3370
3297
|
* Helper function to enhance a Visualization Config as needed based on behaviors specified in supports block
|
|
3371
3298
|
* this function also collapse all editor panels
|
|
@@ -3376,11 +3303,6 @@ exports.enhanceOptionsSchemaWithDynamicOptions = enhanceOptionsSchemaWithDynamic
|
|
|
3376
3303
|
|
|
3377
3304
|
function enhanceConfig(vizConfig) {
|
|
3378
3305
|
var enhancedConfig = Object.assign({}, vizConfig);
|
|
3379
|
-
|
|
3380
|
-
if (vizConfig.supports.indexOf(VizBehavior_1.VizBehavior.DYNAMIC_OPTIONS) !== -1) {
|
|
3381
|
-
enhancedConfig.optionsSchema = enhanceOptionsSchemaWithDynamicOptions(vizConfig.optionsSchema);
|
|
3382
|
-
}
|
|
3383
|
-
|
|
3384
3306
|
enhancedConfig.editorConfig = vizConfig.editorConfig.map(function (config) {
|
|
3385
3307
|
return Object.assign(Object.assign({}, config), {
|
|
3386
3308
|
open: config.open || false
|
|
@@ -3612,7 +3534,7 @@ var i18n_1 = __webpack_require__(2);
|
|
|
3612
3534
|
|
|
3613
3535
|
var Message_1 = __webpack_require__(12);
|
|
3614
3536
|
|
|
3615
|
-
var FixedSizeContainer_1 = __webpack_require__(
|
|
3537
|
+
var FixedSizeContainer_1 = __webpack_require__(18);
|
|
3616
3538
|
/**
|
|
3617
3539
|
* @method shouldShowIconPlaceholder
|
|
3618
3540
|
* @param {object} dataSources
|
|
@@ -3690,7 +3612,7 @@ exports.default = (0, FixedSizeContainer_1.default)(IconPlaceholder);
|
|
|
3690
3612
|
"use strict";
|
|
3691
3613
|
|
|
3692
3614
|
|
|
3693
|
-
var _defineProperty = __webpack_require__(
|
|
3615
|
+
var _defineProperty = __webpack_require__(13);
|
|
3694
3616
|
|
|
3695
3617
|
Object.defineProperty(exports, "__esModule", {
|
|
3696
3618
|
value: true
|
|
@@ -3701,7 +3623,7 @@ var T = __webpack_require__(1);
|
|
|
3701
3623
|
|
|
3702
3624
|
var lodash_1 = __webpack_require__(3);
|
|
3703
3625
|
|
|
3704
|
-
var DataSource_1 = __webpack_require__(
|
|
3626
|
+
var DataSource_1 = __webpack_require__(21);
|
|
3705
3627
|
|
|
3706
3628
|
exports.SortParamsPropTypes = T.shape({
|
|
3707
3629
|
currentSortKey: T.string,
|
|
@@ -3866,7 +3788,7 @@ __exportStar(__webpack_require__(41), exports);
|
|
|
3866
3788
|
|
|
3867
3789
|
__exportStar(__webpack_require__(42), exports);
|
|
3868
3790
|
|
|
3869
|
-
__exportStar(__webpack_require__(
|
|
3791
|
+
__exportStar(__webpack_require__(21), exports);
|
|
3870
3792
|
|
|
3871
3793
|
__exportStar(__webpack_require__(43), exports);
|
|
3872
3794
|
|
|
@@ -3880,13 +3802,13 @@ __exportStar(__webpack_require__(47), exports);
|
|
|
3880
3802
|
|
|
3881
3803
|
__exportStar(__webpack_require__(48), exports);
|
|
3882
3804
|
|
|
3883
|
-
__exportStar(__webpack_require__(
|
|
3805
|
+
__exportStar(__webpack_require__(22), exports);
|
|
3884
3806
|
|
|
3885
|
-
__exportStar(__webpack_require__(
|
|
3807
|
+
__exportStar(__webpack_require__(8), exports);
|
|
3886
3808
|
|
|
3887
|
-
__exportStar(__webpack_require__(
|
|
3809
|
+
__exportStar(__webpack_require__(23), exports);
|
|
3888
3810
|
|
|
3889
|
-
__exportStar(__webpack_require__(
|
|
3811
|
+
__exportStar(__webpack_require__(49), exports);
|
|
3890
3812
|
|
|
3891
3813
|
__exportStar(__webpack_require__(50), exports);
|
|
3892
3814
|
|
|
@@ -3898,8 +3820,6 @@ __exportStar(__webpack_require__(53), exports);
|
|
|
3898
3820
|
|
|
3899
3821
|
__exportStar(__webpack_require__(54), exports);
|
|
3900
3822
|
|
|
3901
|
-
__exportStar(__webpack_require__(55), exports);
|
|
3902
|
-
|
|
3903
3823
|
/***/ }),
|
|
3904
3824
|
|
|
3905
3825
|
/***/ 41:
|
|
@@ -4001,19 +3921,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4001
3921
|
|
|
4002
3922
|
/***/ }),
|
|
4003
3923
|
|
|
4004
|
-
/***/
|
|
4005
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4006
|
-
|
|
4007
|
-
"use strict";
|
|
4008
|
-
|
|
4009
|
-
|
|
4010
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4011
|
-
value: true
|
|
4012
|
-
});
|
|
4013
|
-
|
|
4014
|
-
/***/ }),
|
|
4015
|
-
|
|
4016
|
-
/***/ 492:
|
|
3924
|
+
/***/ 488:
|
|
4017
3925
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4018
3926
|
|
|
4019
3927
|
"use strict";
|
|
@@ -4026,17 +3934,17 @@ exports.themes = exports.computeVizProps = exports.PureSingleValueIcon = exports
|
|
|
4026
3934
|
|
|
4027
3935
|
var React = __webpack_require__(0);
|
|
4028
3936
|
|
|
4029
|
-
var RemoteIcon_1 = __webpack_require__(
|
|
3937
|
+
var RemoteIcon_1 = __webpack_require__(489);
|
|
4030
3938
|
|
|
4031
|
-
var iconUtils_1 = __webpack_require__(
|
|
3939
|
+
var iconUtils_1 = __webpack_require__(490);
|
|
4032
3940
|
|
|
4033
|
-
var SingleValueIcon_1 = __webpack_require__(
|
|
3941
|
+
var SingleValueIcon_1 = __webpack_require__(511);
|
|
4034
3942
|
|
|
4035
|
-
var withDashboardViz_1 = __webpack_require__(
|
|
3943
|
+
var withDashboardViz_1 = __webpack_require__(55);
|
|
4036
3944
|
|
|
4037
|
-
var config_1 = __webpack_require__(
|
|
3945
|
+
var config_1 = __webpack_require__(491);
|
|
4038
3946
|
|
|
4039
|
-
var withTrellis_1 = __webpack_require__(
|
|
3947
|
+
var withTrellis_1 = __webpack_require__(127);
|
|
4040
3948
|
|
|
4041
3949
|
exports.config = config_1.default;
|
|
4042
3950
|
exports.PureSingleValueIcon = SingleValueIcon_1.default;
|
|
@@ -4076,27 +3984,39 @@ exports.default = viz;
|
|
|
4076
3984
|
|
|
4077
3985
|
/***/ }),
|
|
4078
3986
|
|
|
4079
|
-
/***/
|
|
3987
|
+
/***/ 489:
|
|
4080
3988
|
/***/ (function(module, exports) {
|
|
4081
3989
|
|
|
4082
3990
|
module.exports = require("@splunk/visualizations-shared/RemoteIcon");
|
|
4083
3991
|
|
|
4084
3992
|
/***/ }),
|
|
4085
3993
|
|
|
4086
|
-
/***/
|
|
3994
|
+
/***/ 49:
|
|
3995
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
3996
|
+
|
|
3997
|
+
"use strict";
|
|
3998
|
+
|
|
3999
|
+
|
|
4000
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4001
|
+
value: true
|
|
4002
|
+
});
|
|
4003
|
+
|
|
4004
|
+
/***/ }),
|
|
4005
|
+
|
|
4006
|
+
/***/ 490:
|
|
4087
4007
|
/***/ (function(module, exports) {
|
|
4088
4008
|
|
|
4089
4009
|
module.exports = require("@splunk/visualizations-shared/iconUtils");
|
|
4090
4010
|
|
|
4091
4011
|
/***/ }),
|
|
4092
4012
|
|
|
4093
|
-
/***/
|
|
4013
|
+
/***/ 491:
|
|
4094
4014
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4095
4015
|
|
|
4096
4016
|
"use strict";
|
|
4097
4017
|
|
|
4098
4018
|
|
|
4099
|
-
var _toConsumableArray = __webpack_require__(
|
|
4019
|
+
var _toConsumableArray = __webpack_require__(7);
|
|
4100
4020
|
|
|
4101
4021
|
Object.defineProperty(exports, "__esModule", {
|
|
4102
4022
|
value: true
|
|
@@ -4104,43 +4024,41 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4104
4024
|
|
|
4105
4025
|
var i18n_1 = __webpack_require__(2);
|
|
4106
4026
|
|
|
4107
|
-
var
|
|
4027
|
+
var visualization_schemas_1 = __webpack_require__(10);
|
|
4108
4028
|
|
|
4109
|
-
var PresetPalettes_1 = __webpack_require__(
|
|
4029
|
+
var PresetPalettes_1 = __webpack_require__(81);
|
|
4110
4030
|
|
|
4111
4031
|
var pick_1 = __webpack_require__(30);
|
|
4112
4032
|
|
|
4113
|
-
var variables_1 = __webpack_require__(
|
|
4033
|
+
var variables_1 = __webpack_require__(14);
|
|
4114
4034
|
|
|
4115
4035
|
var configUtils_1 = __webpack_require__(29);
|
|
4116
4036
|
|
|
4117
|
-
var singleValueContext_1 = __webpack_require__(
|
|
4037
|
+
var singleValueContext_1 = __webpack_require__(155);
|
|
4118
4038
|
|
|
4119
|
-
var StaticMajorAndTrendLayout_1 = __webpack_require__(
|
|
4039
|
+
var StaticMajorAndTrendLayout_1 = __webpack_require__(123);
|
|
4120
4040
|
|
|
4121
|
-
var StaticBackgroundColorEditor_1 = __webpack_require__(
|
|
4041
|
+
var StaticBackgroundColorEditor_1 = __webpack_require__(112);
|
|
4122
4042
|
|
|
4123
|
-
var StaticIconColorEditor_1 = __webpack_require__(
|
|
4043
|
+
var StaticIconColorEditor_1 = __webpack_require__(492);
|
|
4124
4044
|
|
|
4125
|
-
var StaticMajorColorEditor_1 = __webpack_require__(
|
|
4045
|
+
var StaticMajorColorEditor_1 = __webpack_require__(124);
|
|
4126
4046
|
|
|
4127
|
-
var StaticTrendColorEditor_1 = __webpack_require__(
|
|
4047
|
+
var StaticTrendColorEditor_1 = __webpack_require__(125);
|
|
4128
4048
|
|
|
4129
|
-
var DynamicMajorColorEditor_1 = __webpack_require__(
|
|
4049
|
+
var DynamicMajorColorEditor_1 = __webpack_require__(156);
|
|
4130
4050
|
|
|
4131
|
-
var DynamicTrendColorEditor_1 = __webpack_require__(
|
|
4051
|
+
var DynamicTrendColorEditor_1 = __webpack_require__(121);
|
|
4132
4052
|
|
|
4133
|
-
var DynamicBackgroundColorEditor_1 = __webpack_require__(
|
|
4053
|
+
var DynamicBackgroundColorEditor_1 = __webpack_require__(122);
|
|
4134
4054
|
|
|
4135
|
-
var TrellisEditors_1 = __webpack_require__(
|
|
4055
|
+
var TrellisEditors_1 = __webpack_require__(126);
|
|
4136
4056
|
|
|
4137
|
-
var VizBehavior_1 = __webpack_require__(
|
|
4057
|
+
var VizBehavior_1 = __webpack_require__(8);
|
|
4138
4058
|
|
|
4139
4059
|
var configUtils_2 = __webpack_require__(27);
|
|
4140
4060
|
|
|
4141
|
-
var VizCategory_1 = __webpack_require__(
|
|
4142
|
-
|
|
4143
|
-
var layoutUtils_1 = __webpack_require__(80);
|
|
4061
|
+
var VizCategory_1 = __webpack_require__(23);
|
|
4144
4062
|
|
|
4145
4063
|
var dataContract = {
|
|
4146
4064
|
requiredDataSources: [{
|
|
@@ -4159,158 +4077,6 @@ var size = {
|
|
|
4159
4077
|
initialWidth: 250,
|
|
4160
4078
|
initialHeight: 250
|
|
4161
4079
|
};
|
|
4162
|
-
var optionsSchema = {
|
|
4163
|
-
align: {
|
|
4164
|
-
default: 'center',
|
|
4165
|
-
description: 'Specify how to align the center content.',
|
|
4166
|
-
pattern: (0, schemaUtils_1.getPattern)(['left', 'center', 'right']),
|
|
4167
|
-
type: 'string'
|
|
4168
|
-
},
|
|
4169
|
-
backgroundColor: {
|
|
4170
|
-
default: 'transparent',
|
|
4171
|
-
description: 'Specify the color for the background. You may use a dataSource to apply the color. The hex value format should be “#FFFFFF”.',
|
|
4172
|
-
pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
|
|
4173
|
-
type: 'string'
|
|
4174
|
-
},
|
|
4175
|
-
icon: {
|
|
4176
|
-
default: 'default',
|
|
4177
|
-
description: 'Specify an icon.',
|
|
4178
|
-
type: 'string'
|
|
4179
|
-
},
|
|
4180
|
-
iconColor: {
|
|
4181
|
-
default: null,
|
|
4182
|
-
description: 'Specify the color for the icon. You may use a dataSource to apply the color. The hex value format should be “#FFFFFF”. The default for enterprise light is "#000000". The default for enterprise dark is "#ffffff". The default for prisma dark is "rgba(255, 255, 255, 0.98)".',
|
|
4183
|
-
pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
|
|
4184
|
-
type: 'string'
|
|
4185
|
-
},
|
|
4186
|
-
iconOpacity: {
|
|
4187
|
-
default: 1,
|
|
4188
|
-
description: 'Specify the opacity for the icon using a number between 0 and 1 (inclusive).',
|
|
4189
|
-
type: 'number'
|
|
4190
|
-
},
|
|
4191
|
-
iconPosition: {
|
|
4192
|
-
default: 'before',
|
|
4193
|
-
description: 'Specify where to display the icon in relation to the major value.',
|
|
4194
|
-
type: 'string'
|
|
4195
|
-
},
|
|
4196
|
-
majorColor: {
|
|
4197
|
-
default: '> themes.defaultFontColor',
|
|
4198
|
-
description: 'Specify the color for the major value. You may use a dataSource to apply the color. The hex value format should be “#FFFFFF”. The default for enterprise light is "#000000". The default for enterprise dark is "#ffffff". The default for prisma dark is "rgba(255, 255, 255, 0.98)".',
|
|
4199
|
-
pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
|
|
4200
|
-
type: 'string'
|
|
4201
|
-
},
|
|
4202
|
-
majorFontSize: {
|
|
4203
|
-
description: 'Specify the font size (px) for the major value. By default the major value font size is calculated dynamically based on the available space.',
|
|
4204
|
-
type: 'number'
|
|
4205
|
-
},
|
|
4206
|
-
majorValue: {
|
|
4207
|
-
default: '> primary|seriesByPrioritizedTypes("number", "string", "time")|lastPoint()',
|
|
4208
|
-
description: 'The major value to display in the visualization.',
|
|
4209
|
-
type: ['string', 'number']
|
|
4210
|
-
},
|
|
4211
|
-
majorValueField: {
|
|
4212
|
-
default: '> majorValue | getField()',
|
|
4213
|
-
description: 'The field name of major value.',
|
|
4214
|
-
type: 'string'
|
|
4215
|
-
},
|
|
4216
|
-
numberPrecision: {
|
|
4217
|
-
default: 0,
|
|
4218
|
-
maximum: 20,
|
|
4219
|
-
minimum: 0,
|
|
4220
|
-
description: 'Specify the number of decimal places to display. For example, to display 3 decimal places, use a value of 3. Values can range from 0 to 20.',
|
|
4221
|
-
type: 'number'
|
|
4222
|
-
},
|
|
4223
|
-
shouldAbbreviateTrendValue: {
|
|
4224
|
-
default: false,
|
|
4225
|
-
description: 'Specify whether to abbreviate the trend value to 2 decimal points. A magnitude unit will be displayed.',
|
|
4226
|
-
type: 'boolean'
|
|
4227
|
-
},
|
|
4228
|
-
shouldUseThousandSeparators: {
|
|
4229
|
-
default: true,
|
|
4230
|
-
description: 'Specify whether numeric values use commas as thousandths separators.',
|
|
4231
|
-
type: 'boolean'
|
|
4232
|
-
},
|
|
4233
|
-
showValue: {
|
|
4234
|
-
default: true,
|
|
4235
|
-
description: 'Specify whether to enable or disable the value and trend indicator displays.',
|
|
4236
|
-
type: 'boolean'
|
|
4237
|
-
},
|
|
4238
|
-
splitByLayout: {
|
|
4239
|
-
default: 'off',
|
|
4240
|
-
description: 'Specify the layout method by which to display the visualization, which splits the data into individual visualizations based on a certain category.',
|
|
4241
|
-
type: 'string',
|
|
4242
|
-
pattern: (0, schemaUtils_1.getPattern)([layoutUtils_1.LAYOUT_TYPE.Off, layoutUtils_1.LAYOUT_TYPE.Trellis]),
|
|
4243
|
-
enum: [layoutUtils_1.LAYOUT_TYPE.Off, layoutUtils_1.LAYOUT_TYPE.Trellis]
|
|
4244
|
-
},
|
|
4245
|
-
trendColor: {
|
|
4246
|
-
default: '> themes.defaultFontColor',
|
|
4247
|
-
description: 'Specify the color for the trend value. You may use a dataSource to apply the color. The hex value format should be “#FFFFFF”. The default for enterprise light is "#000000". The default for enterprise dark is "#ffffff". The default for prisma dark is "rgba(255, 255, 255, 0.98)".',
|
|
4248
|
-
pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
|
|
4249
|
-
type: 'string'
|
|
4250
|
-
},
|
|
4251
|
-
trendDisplay: {
|
|
4252
|
-
default: 'absolute',
|
|
4253
|
-
description: 'Specify whether the trend value is displayed as a percentage or an absolute count.',
|
|
4254
|
-
pattern: (0, schemaUtils_1.getPattern)(['off', 'percent', 'absolute']),
|
|
4255
|
-
type: 'string'
|
|
4256
|
-
},
|
|
4257
|
-
trendFontSize: {
|
|
4258
|
-
description: 'Specify the font size (px) for the trend value. By default the trend value font size is calculated dynamically based on the available space.',
|
|
4259
|
-
type: 'number'
|
|
4260
|
-
},
|
|
4261
|
-
trendValue: {
|
|
4262
|
-
default: '> primary|seriesByPrioritizedTypes("number", "string", "time")|delta(-2)',
|
|
4263
|
-
description: 'The trend value to display in the visualization.',
|
|
4264
|
-
type: 'number'
|
|
4265
|
-
},
|
|
4266
|
-
trellisBackgroundColor: {
|
|
4267
|
-
default: '> themes.defaultBackgroundColor',
|
|
4268
|
-
description: 'Specify the color used for the trellis container background by using a hexadecimal code. For example, #0000FF.',
|
|
4269
|
-
pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
|
|
4270
|
-
type: 'string'
|
|
4271
|
-
},
|
|
4272
|
-
trellisColumns: {
|
|
4273
|
-
description: 'Specify the number of visualizations to display in a given row of the trellis container. The remaining visualizations will wrap accordingly. If nothing is specified, it will be auto-set based on the trellisMinColumnWidth. The minimum value is 1.',
|
|
4274
|
-
type: 'number',
|
|
4275
|
-
minimum: 1
|
|
4276
|
-
},
|
|
4277
|
-
trellisMinColumnWidth: {
|
|
4278
|
-
default: 100,
|
|
4279
|
-
minimum: 1,
|
|
4280
|
-
description: 'Specify the minimum width, in pixels, of each visualization in the trellis container. If the window or panel is resized, the remaining visualizations may be viewed by scrolling. The minimum value is 1.',
|
|
4281
|
-
type: 'number'
|
|
4282
|
-
},
|
|
4283
|
-
trellisPageCount: {
|
|
4284
|
-
default: 20,
|
|
4285
|
-
minimum: 1,
|
|
4286
|
-
description: 'Specify the maximum number of visualizations to display in a single page in the trellis container. The remaining visualizations will paginate accordingly. The minimum value is 1.',
|
|
4287
|
-
type: 'number'
|
|
4288
|
-
},
|
|
4289
|
-
trellisRowHeight: {
|
|
4290
|
-
default: 70,
|
|
4291
|
-
minimum: 1,
|
|
4292
|
-
description: 'Specify the height, in pixels, of each visualization in the trellis container. If the window or panel is resized, the remaining visualizations may be viewed by scrolling. The minimum value is 1.',
|
|
4293
|
-
type: 'number'
|
|
4294
|
-
},
|
|
4295
|
-
trellisSplitBy: {
|
|
4296
|
-
description: 'Specify the field name of the column with categories used, or “aggregations”, to split the data into individual visualizations for trellis display, if applicable. If a SPL `timechart` command is used, this may default to the SPL `by` clause field. If a SPL `chart` command is used, this may default to the first string field.',
|
|
4297
|
-
type: 'string'
|
|
4298
|
-
},
|
|
4299
|
-
underLabel: {
|
|
4300
|
-
description: 'Specify the text that appears below the major value.',
|
|
4301
|
-
type: 'string'
|
|
4302
|
-
},
|
|
4303
|
-
unit: {
|
|
4304
|
-
description: 'Specify text to show next to the major value.',
|
|
4305
|
-
type: 'string'
|
|
4306
|
-
},
|
|
4307
|
-
unitPosition: {
|
|
4308
|
-
default: 'after',
|
|
4309
|
-
description: 'Specify whether the unit text should appear before or after the major value.',
|
|
4310
|
-
pattern: (0, schemaUtils_1.getPattern)(['before', 'after']),
|
|
4311
|
-
type: 'string'
|
|
4312
|
-
}
|
|
4313
|
-
};
|
|
4314
4080
|
var basePresetContext = {
|
|
4315
4081
|
iconColorEditorConfig: undefined,
|
|
4316
4082
|
majorColorEditorConfig: undefined,
|
|
@@ -4434,7 +4200,7 @@ var editorConfig = [{
|
|
|
4434
4200
|
},
|
|
4435
4201
|
isDisabled: function isDisabled(_ref) {
|
|
4436
4202
|
var options = _ref.options;
|
|
4437
|
-
return options.splitByLayout ===
|
|
4203
|
+
return options.splitByLayout === visualization_schemas_1.LAYOUT_TYPE.Trellis;
|
|
4438
4204
|
}
|
|
4439
4205
|
}]]
|
|
4440
4206
|
}, {
|
|
@@ -4612,7 +4378,7 @@ var config = {
|
|
|
4612
4378
|
dataContract: dataContract,
|
|
4613
4379
|
size: size,
|
|
4614
4380
|
defaultContext: singleValueContext_1.defaultContext,
|
|
4615
|
-
optionsSchema:
|
|
4381
|
+
optionsSchema: visualization_schemas_1.singleValueIconOptionsSchema,
|
|
4616
4382
|
editorConfig: editorConfig,
|
|
4617
4383
|
events: {
|
|
4618
4384
|
'value.click': {
|
|
@@ -4627,16 +4393,16 @@ exports.default = (0, configUtils_2.enhanceConfig)(config);
|
|
|
4627
4393
|
|
|
4628
4394
|
/***/ }),
|
|
4629
4395
|
|
|
4630
|
-
/***/
|
|
4396
|
+
/***/ 492:
|
|
4631
4397
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4632
4398
|
|
|
4633
4399
|
"use strict";
|
|
4634
4400
|
__webpack_require__.r(__webpack_exports__);
|
|
4635
|
-
/* harmony import */ var _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
4401
|
+
/* harmony import */ var _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7);
|
|
4636
4402
|
/* harmony import */ var _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__);
|
|
4637
4403
|
/* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2);
|
|
4638
4404
|
/* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_1__);
|
|
4639
|
-
/* harmony import */ var _splunk_visualizations_shared_colorConstants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
4405
|
+
/* harmony import */ var _splunk_visualizations_shared_colorConstants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(70);
|
|
4640
4406
|
/* harmony import */ var _splunk_visualizations_shared_colorConstants__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_colorConstants__WEBPACK_IMPORTED_MODULE_2__);
|
|
4641
4407
|
/* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(29);
|
|
4642
4408
|
/* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_3__);
|
|
@@ -4686,7 +4452,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4686
4452
|
|
|
4687
4453
|
/***/ }),
|
|
4688
4454
|
|
|
4689
|
-
/***/
|
|
4455
|
+
/***/ 511:
|
|
4690
4456
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4691
4457
|
|
|
4692
4458
|
"use strict";
|
|
@@ -4694,11 +4460,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4694
4460
|
__webpack_require__.r(__webpack_exports__);
|
|
4695
4461
|
|
|
4696
4462
|
// EXTERNAL MODULE: external "@babel/runtime/helpers/slicedToArray"
|
|
4697
|
-
var slicedToArray_ = __webpack_require__(
|
|
4463
|
+
var slicedToArray_ = __webpack_require__(6);
|
|
4698
4464
|
var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray_);
|
|
4699
4465
|
|
|
4700
4466
|
// EXTERNAL MODULE: external "@babel/runtime/helpers/extends"
|
|
4701
|
-
var extends_ = __webpack_require__(
|
|
4467
|
+
var extends_ = __webpack_require__(69);
|
|
4702
4468
|
var extends_default = /*#__PURE__*/__webpack_require__.n(extends_);
|
|
4703
4469
|
|
|
4704
4470
|
// EXTERNAL MODULE: external "react"
|
|
@@ -4714,19 +4480,22 @@ var external_styled_components_ = __webpack_require__(4);
|
|
|
4714
4480
|
var external_styled_components_default = /*#__PURE__*/__webpack_require__.n(external_styled_components_);
|
|
4715
4481
|
|
|
4716
4482
|
// EXTERNAL MODULE: external "lodash/pick"
|
|
4717
|
-
var pick_ = __webpack_require__(
|
|
4483
|
+
var pick_ = __webpack_require__(129);
|
|
4718
4484
|
var pick_default = /*#__PURE__*/__webpack_require__.n(pick_);
|
|
4719
4485
|
|
|
4720
4486
|
// EXTERNAL MODULE: external "lodash/isEmpty"
|
|
4721
|
-
var isEmpty_ = __webpack_require__(
|
|
4487
|
+
var isEmpty_ = __webpack_require__(130);
|
|
4722
4488
|
var isEmpty_default = /*#__PURE__*/__webpack_require__.n(isEmpty_);
|
|
4723
4489
|
|
|
4724
4490
|
// EXTERNAL MODULE: external "@splunk/visualization-context/FeatureFlagContext"
|
|
4725
4491
|
var FeatureFlagContext_ = __webpack_require__(28);
|
|
4726
4492
|
var FeatureFlagContext_default = /*#__PURE__*/__webpack_require__.n(FeatureFlagContext_);
|
|
4727
4493
|
|
|
4494
|
+
// EXTERNAL MODULE: external "@splunk/visualization-schemas"
|
|
4495
|
+
var visualization_schemas_ = __webpack_require__(10);
|
|
4496
|
+
|
|
4728
4497
|
// EXTERNAL MODULE: external "@splunk/visualizations-shared/style"
|
|
4729
|
-
var style_ = __webpack_require__(
|
|
4498
|
+
var style_ = __webpack_require__(19);
|
|
4730
4499
|
|
|
4731
4500
|
// EXTERNAL MODULE: external "@splunk/ui-utils/i18n"
|
|
4732
4501
|
var i18n_ = __webpack_require__(2);
|
|
@@ -4740,40 +4509,37 @@ var Message_ = __webpack_require__(12);
|
|
|
4740
4509
|
var Message_default = /*#__PURE__*/__webpack_require__.n(Message_);
|
|
4741
4510
|
|
|
4742
4511
|
// EXTERNAL MODULE: ./src/common/components/VizStyleWrapper.jsx
|
|
4743
|
-
var VizStyleWrapper = __webpack_require__(
|
|
4512
|
+
var VizStyleWrapper = __webpack_require__(94);
|
|
4744
4513
|
|
|
4745
4514
|
// EXTERNAL MODULE: ./src/common/components/TrellisTitle.tsx
|
|
4746
|
-
var TrellisTitle = __webpack_require__(
|
|
4747
|
-
|
|
4748
|
-
// EXTERNAL MODULE: ./src/common/utils/layoutUtils.ts
|
|
4749
|
-
var layoutUtils = __webpack_require__(80);
|
|
4515
|
+
var TrellisTitle = __webpack_require__(100);
|
|
4750
4516
|
|
|
4751
4517
|
// EXTERNAL MODULE: external "@babel/runtime/helpers/defineProperty"
|
|
4752
|
-
var defineProperty_ = __webpack_require__(
|
|
4518
|
+
var defineProperty_ = __webpack_require__(13);
|
|
4753
4519
|
var defineProperty_default = /*#__PURE__*/__webpack_require__.n(defineProperty_);
|
|
4754
4520
|
|
|
4755
4521
|
// EXTERNAL MODULE: external "@splunk/visualizations/SingleValueBasic"
|
|
4756
|
-
var SingleValueBasic_ = __webpack_require__(
|
|
4522
|
+
var SingleValueBasic_ = __webpack_require__(161);
|
|
4757
4523
|
var SingleValueBasic_default = /*#__PURE__*/__webpack_require__.n(SingleValueBasic_);
|
|
4758
4524
|
|
|
4759
4525
|
// EXTERNAL MODULE: external "@splunk/react-icons/enterprise/Activity"
|
|
4760
|
-
var Activity_ = __webpack_require__(
|
|
4526
|
+
var Activity_ = __webpack_require__(190);
|
|
4761
4527
|
var Activity_default = /*#__PURE__*/__webpack_require__.n(Activity_);
|
|
4762
4528
|
|
|
4763
4529
|
// EXTERNAL MODULE: external "@splunk/react-icons/enterprise/Clock"
|
|
4764
|
-
var Clock_ = __webpack_require__(
|
|
4530
|
+
var Clock_ = __webpack_require__(191);
|
|
4765
4531
|
var Clock_default = /*#__PURE__*/__webpack_require__.n(Clock_);
|
|
4766
4532
|
|
|
4767
4533
|
// EXTERNAL MODULE: external "@splunk/react-icons/enterprise/Pencil"
|
|
4768
|
-
var Pencil_ = __webpack_require__(
|
|
4534
|
+
var Pencil_ = __webpack_require__(192);
|
|
4769
4535
|
var Pencil_default = /*#__PURE__*/__webpack_require__.n(Pencil_);
|
|
4770
4536
|
|
|
4771
4537
|
// EXTERNAL MODULE: external "@splunk/react-icons/enterprise/Star"
|
|
4772
|
-
var Star_ = __webpack_require__(
|
|
4538
|
+
var Star_ = __webpack_require__(193);
|
|
4773
4539
|
var Star_default = /*#__PURE__*/__webpack_require__.n(Star_);
|
|
4774
4540
|
|
|
4775
4541
|
// EXTERNAL MODULE: external "@splunk/react-icons/enterprise/Question"
|
|
4776
|
-
var Question_ = __webpack_require__(
|
|
4542
|
+
var Question_ = __webpack_require__(194);
|
|
4777
4543
|
var Question_default = /*#__PURE__*/__webpack_require__.n(Question_);
|
|
4778
4544
|
|
|
4779
4545
|
// EXTERNAL MODULE: ./src/common/utils/singleValueUtils.js
|
|
@@ -4947,7 +4713,7 @@ var StyledIconContainer = external_styled_components_default.a.div.attrs(functio
|
|
|
4947
4713
|
};
|
|
4948
4714
|
}).withConfig({
|
|
4949
4715
|
displayName: "IconContainer__StyledIconContainer",
|
|
4950
|
-
componentId: "veyyld-0"
|
|
4716
|
+
componentId: "sc-veyyld-0"
|
|
4951
4717
|
})(["margin:0 3%;display:flex;flex-direction:row;align-items:center;justify-content:center;font-size:", "px;height:", "px;color:", ";opacity:", ";cursor:", ";"], function (props) {
|
|
4952
4718
|
return props.fontSize;
|
|
4953
4719
|
}, function (props) {
|
|
@@ -5049,17 +4815,17 @@ function _objectSpread(target) {
|
|
|
5049
4815
|
|
|
5050
4816
|
var Column = external_styled_components_default.a.div.withConfig({
|
|
5051
4817
|
displayName: "SingleValueIconLayout__Column",
|
|
5052
|
-
componentId: "c8okr6-0"
|
|
4818
|
+
componentId: "sc-c8okr6-0"
|
|
5053
4819
|
})(["display:flex;flex-direction:column;justify-content:center;height:100%;width:100%;"]);
|
|
5054
4820
|
var IconRow = external_styled_components_default.a.div.withConfig({
|
|
5055
4821
|
displayName: "SingleValueIconLayout__IconRow",
|
|
5056
|
-
componentId: "c8okr6-1"
|
|
4822
|
+
componentId: "sc-c8okr6-1"
|
|
5057
4823
|
})(["display:flex;flex-direction:row;justify-content:", ";height:100%;"], function (props) {
|
|
5058
4824
|
return Object(singleValueUtils["getAligment"])(props.align);
|
|
5059
4825
|
});
|
|
5060
4826
|
var IconColumn = external_styled_components_default.a.div.withConfig({
|
|
5061
4827
|
displayName: "SingleValueIconLayout__IconColumn",
|
|
5062
|
-
componentId: "c8okr6-2"
|
|
4828
|
+
componentId: "sc-c8okr6-2"
|
|
5063
4829
|
})(["display:flex;flex-direction:column;justify-content:", ";height:100%;"], function (props) {
|
|
5064
4830
|
return Object(singleValueUtils["getAligment"])(props.align);
|
|
5065
4831
|
});
|
|
@@ -5170,7 +4936,7 @@ SingleValueIconLayout_SingleValueIconLayout.propTypes = _objectSpread(_objectSpr
|
|
|
5170
4936
|
|
|
5171
4937
|
var Container = external_styled_components_default.a.div.withConfig({
|
|
5172
4938
|
displayName: "SingleValueIcon__Container",
|
|
5173
|
-
componentId: "y660ip-0"
|
|
4939
|
+
componentId: "sc-y660ip-0"
|
|
5174
4940
|
})(["overflow:hidden;", ";"], function (props) {
|
|
5175
4941
|
return Object(style_["toDimension"])(pick_default()(props, ['width', 'height']));
|
|
5176
4942
|
});
|
|
@@ -5239,7 +5005,7 @@ var SingleValueIcon_SingleValueIcon = function SingleValueIcon(_ref) {
|
|
|
5239
5005
|
});
|
|
5240
5006
|
var featureFlagContext = external_react_default.a.useContext(FeatureFlagContext_default.a);
|
|
5241
5007
|
var isTrellisFeatureFlagOn = Boolean(featureFlagContext && featureFlagContext.visualizations_enableTrellis);
|
|
5242
|
-
var trellisEnabled = isTrellisFeatureFlagOn && splitByLayout ===
|
|
5008
|
+
var trellisEnabled = isTrellisFeatureFlagOn && splitByLayout === visualization_schemas_["LAYOUT_TYPE"].Trellis;
|
|
5243
5009
|
var handleValueClick = Object(external_react_["useCallback"])(function (ev) {
|
|
5244
5010
|
return Object(singleValueUtils["handleValueClickCallback"])(ev, majorValue, majorValueField, trendValue, onValueClick, trellisEnabled, trellisSplitBy, trellisKey);
|
|
5245
5011
|
}, [onValueClick, majorValue, majorValueField, trendValue, trellisEnabled, trellisSplitBy, trellisKey]);
|
|
@@ -5412,7 +5178,7 @@ var SingleValueIcon_SingleValueIcon = function SingleValueIcon(_ref) {
|
|
|
5412
5178
|
}, IconLayout);
|
|
5413
5179
|
};
|
|
5414
5180
|
|
|
5415
|
-
if (isTrellisFeatureFlagOn && splitByLayout ===
|
|
5181
|
+
if (isTrellisFeatureFlagOn && splitByLayout === visualization_schemas_["LAYOUT_TYPE"].Trellis) {
|
|
5416
5182
|
return /*#__PURE__*/external_react_default.a.createElement(external_react_default.a.Fragment, null, /*#__PURE__*/external_react_default.a.createElement(TrellisTitle["TrellisTitle"], {
|
|
5417
5183
|
fontColor: defaultFontColor,
|
|
5418
5184
|
backgroundColor: backgroundColor,
|
|
@@ -5539,19 +5305,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5539
5305
|
"use strict";
|
|
5540
5306
|
|
|
5541
5307
|
|
|
5542
|
-
|
|
5543
|
-
value: true
|
|
5544
|
-
});
|
|
5545
|
-
|
|
5546
|
-
/***/ }),
|
|
5547
|
-
|
|
5548
|
-
/***/ 56:
|
|
5549
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
5550
|
-
|
|
5551
|
-
"use strict";
|
|
5552
|
-
|
|
5553
|
-
|
|
5554
|
-
var _slicedToArray = __webpack_require__(7);
|
|
5308
|
+
var _slicedToArray = __webpack_require__(6);
|
|
5555
5309
|
|
|
5556
5310
|
Object.defineProperty(exports, "__esModule", {
|
|
5557
5311
|
value: true
|
|
@@ -5561,15 +5315,15 @@ var React = __webpack_require__(0);
|
|
|
5561
5315
|
|
|
5562
5316
|
var lodash_1 = __webpack_require__(3);
|
|
5563
5317
|
|
|
5564
|
-
var getSettingsFromThemedProps_1 = __webpack_require__(
|
|
5318
|
+
var getSettingsFromThemedProps_1 = __webpack_require__(56);
|
|
5565
5319
|
|
|
5566
|
-
var Options_1 = __webpack_require__(
|
|
5320
|
+
var Options_1 = __webpack_require__(17);
|
|
5567
5321
|
|
|
5568
|
-
var SanitizeProps_1 = __webpack_require__(
|
|
5322
|
+
var SanitizeProps_1 = __webpack_require__(57);
|
|
5569
5323
|
|
|
5570
5324
|
var TimezoneContext_1 = __webpack_require__(32);
|
|
5571
5325
|
|
|
5572
|
-
var moment_1 = __webpack_require__(
|
|
5326
|
+
var moment_1 = __webpack_require__(58);
|
|
5573
5327
|
|
|
5574
5328
|
var FeatureFlagContext_1 = __webpack_require__(28);
|
|
5575
5329
|
|
|
@@ -5579,31 +5333,31 @@ var hocUtils_1 = __webpack_require__(34);
|
|
|
5579
5333
|
|
|
5580
5334
|
var JSONSchemaUtils_1 = __webpack_require__(35);
|
|
5581
5335
|
|
|
5582
|
-
var async_dynamic_options_evaluator_1 = __webpack_require__(
|
|
5336
|
+
var async_dynamic_options_evaluator_1 = __webpack_require__(59);
|
|
5583
5337
|
|
|
5584
5338
|
var id_1 = __webpack_require__(31);
|
|
5585
5339
|
|
|
5586
|
-
var SplunkVisualization_1 = __webpack_require__(
|
|
5340
|
+
var SplunkVisualization_1 = __webpack_require__(60);
|
|
5587
5341
|
|
|
5588
|
-
var VizBehavior_1 = __webpack_require__(
|
|
5342
|
+
var VizBehavior_1 = __webpack_require__(8);
|
|
5589
5343
|
|
|
5590
5344
|
var getSorting_1 = __webpack_require__(38);
|
|
5591
5345
|
|
|
5592
5346
|
var getPagination_1 = __webpack_require__(39);
|
|
5593
5347
|
|
|
5594
|
-
var useDeepMemo_1 = __webpack_require__(
|
|
5348
|
+
var useDeepMemo_1 = __webpack_require__(61);
|
|
5595
5349
|
|
|
5596
|
-
var MissingPropsMessage_1 = __webpack_require__(
|
|
5350
|
+
var MissingPropsMessage_1 = __webpack_require__(62);
|
|
5597
5351
|
|
|
5598
|
-
var withEditModeCover_1 = __webpack_require__(
|
|
5352
|
+
var withEditModeCover_1 = __webpack_require__(63);
|
|
5599
5353
|
|
|
5600
|
-
var withPlaceholder_1 = __webpack_require__(
|
|
5354
|
+
var withPlaceholder_1 = __webpack_require__(64);
|
|
5601
5355
|
|
|
5602
|
-
var useDownsampleDataSources_1 = __webpack_require__(
|
|
5356
|
+
var useDownsampleDataSources_1 = __webpack_require__(65);
|
|
5603
5357
|
|
|
5604
|
-
var dataUtils_1 = __webpack_require__(
|
|
5358
|
+
var dataUtils_1 = __webpack_require__(15);
|
|
5605
5359
|
|
|
5606
|
-
var featureFlagUtils_1 = __webpack_require__(
|
|
5360
|
+
var featureFlagUtils_1 = __webpack_require__(67);
|
|
5607
5361
|
/**
|
|
5608
5362
|
* hoc that wraps a pure react visualization in a Dashboard visualization
|
|
5609
5363
|
* @param {DashboardVizOpts} opts
|
|
@@ -5936,81 +5690,48 @@ exports.default = withDashboardViz;
|
|
|
5936
5690
|
|
|
5937
5691
|
/***/ }),
|
|
5938
5692
|
|
|
5939
|
-
/***/
|
|
5693
|
+
/***/ 56:
|
|
5940
5694
|
/***/ (function(module, exports) {
|
|
5941
5695
|
|
|
5942
5696
|
module.exports = require("@splunk/themes/getSettingsFromThemedProps");
|
|
5943
5697
|
|
|
5944
5698
|
/***/ }),
|
|
5945
5699
|
|
|
5946
|
-
/***/
|
|
5700
|
+
/***/ 57:
|
|
5947
5701
|
/***/ (function(module, exports) {
|
|
5948
5702
|
|
|
5949
5703
|
module.exports = require("@splunk/visualizations-shared/SanitizeProps");
|
|
5950
5704
|
|
|
5951
5705
|
/***/ }),
|
|
5952
5706
|
|
|
5953
|
-
/***/
|
|
5707
|
+
/***/ 58:
|
|
5954
5708
|
/***/ (function(module, exports) {
|
|
5955
5709
|
|
|
5956
5710
|
module.exports = require("@splunk/moment");
|
|
5957
5711
|
|
|
5958
5712
|
/***/ }),
|
|
5959
5713
|
|
|
5960
|
-
/***/
|
|
5961
|
-
/***/ (function(module, exports
|
|
5962
|
-
|
|
5963
|
-
"use strict";
|
|
5964
|
-
|
|
5965
|
-
|
|
5966
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5967
|
-
value: true
|
|
5968
|
-
});
|
|
5969
|
-
exports.VizBehavior = void 0;
|
|
5970
|
-
var VizBehavior;
|
|
5971
|
-
|
|
5972
|
-
(function (VizBehavior) {
|
|
5973
|
-
/**
|
|
5974
|
-
* Dynamic Options Behavior.
|
|
5975
|
-
* This allows visualization options to be powered by data
|
|
5976
|
-
*
|
|
5977
|
-
* **Example**
|
|
5978
|
-
*
|
|
5979
|
-
* sparklineValues: ">primary|seriesByIndex(0)"
|
|
5980
|
-
* would configure sparklineValues with an array of data points
|
|
5981
|
-
* coming from the first series in the primary datasource
|
|
5982
|
-
*
|
|
5983
|
-
*/
|
|
5984
|
-
VizBehavior["DYNAMIC_OPTIONS"] = "dynamic-options";
|
|
5985
|
-
VizBehavior["EVENTS"] = "events";
|
|
5986
|
-
VizBehavior["DOWNSAMPLING"] = "downsampling";
|
|
5987
|
-
/**
|
|
5988
|
-
* Placeholder behavior: visualization will display a placeholder rather than fail if any of the `requiredProps` is
|
|
5989
|
-
* missing.
|
|
5990
|
-
* @type {string}
|
|
5991
|
-
*/
|
|
5714
|
+
/***/ 59:
|
|
5715
|
+
/***/ (function(module, exports) {
|
|
5992
5716
|
|
|
5993
|
-
|
|
5994
|
-
VizBehavior["PAGE_AND_SORT"] = "page-and-sort";
|
|
5995
|
-
VizBehavior["TRELLIS"] = "trellis";
|
|
5996
|
-
})(VizBehavior = exports.VizBehavior || (exports.VizBehavior = {}));
|
|
5717
|
+
module.exports = require("@splunk/async-dynamic-options-evaluator");
|
|
5997
5718
|
|
|
5998
5719
|
/***/ }),
|
|
5999
5720
|
|
|
6000
|
-
/***/
|
|
5721
|
+
/***/ 6:
|
|
6001
5722
|
/***/ (function(module, exports) {
|
|
6002
5723
|
|
|
6003
|
-
module.exports = require("@
|
|
5724
|
+
module.exports = require("@babel/runtime/helpers/slicedToArray");
|
|
6004
5725
|
|
|
6005
5726
|
/***/ }),
|
|
6006
5727
|
|
|
6007
|
-
/***/
|
|
5728
|
+
/***/ 60:
|
|
6008
5729
|
/***/ (function(module, exports, __webpack_require__) {
|
|
6009
5730
|
|
|
6010
5731
|
"use strict";
|
|
6011
5732
|
|
|
6012
5733
|
|
|
6013
|
-
var _classCallCheck = __webpack_require__(
|
|
5734
|
+
var _classCallCheck = __webpack_require__(9);
|
|
6014
5735
|
|
|
6015
5736
|
Object.defineProperty(exports, "__esModule", {
|
|
6016
5737
|
value: true
|
|
@@ -6022,7 +5743,7 @@ var T = __webpack_require__(1);
|
|
|
6022
5743
|
|
|
6023
5744
|
var lodash_1 = __webpack_require__(3);
|
|
6024
5745
|
|
|
6025
|
-
var VizActionHandler_1 = __webpack_require__(
|
|
5746
|
+
var VizActionHandler_1 = __webpack_require__(22); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
|
|
6026
5747
|
|
|
6027
5748
|
|
|
6028
5749
|
exports.INITIAL_WIDTH = 250;
|
|
@@ -6156,7 +5877,7 @@ exports.default = SplunkVisualization;
|
|
|
6156
5877
|
|
|
6157
5878
|
/***/ }),
|
|
6158
5879
|
|
|
6159
|
-
/***/
|
|
5880
|
+
/***/ 61:
|
|
6160
5881
|
/***/ (function(module, exports, __webpack_require__) {
|
|
6161
5882
|
|
|
6162
5883
|
"use strict";
|
|
@@ -6202,7 +5923,7 @@ exports.useDeepMemo = useDeepMemo;
|
|
|
6202
5923
|
|
|
6203
5924
|
/***/ }),
|
|
6204
5925
|
|
|
6205
|
-
/***/
|
|
5926
|
+
/***/ 62:
|
|
6206
5927
|
/***/ (function(module, exports, __webpack_require__) {
|
|
6207
5928
|
|
|
6208
5929
|
"use strict";
|
|
@@ -6221,7 +5942,7 @@ var i18n_1 = __webpack_require__(2);
|
|
|
6221
5942
|
|
|
6222
5943
|
var Message_1 = __webpack_require__(12);
|
|
6223
5944
|
|
|
6224
|
-
var FixedSizeContainer_1 = __webpack_require__(
|
|
5945
|
+
var FixedSizeContainer_1 = __webpack_require__(18);
|
|
6225
5946
|
/**
|
|
6226
5947
|
* @method isMissing
|
|
6227
5948
|
* @param {any} v
|
|
@@ -6283,7 +6004,7 @@ exports.default = (0, FixedSizeContainer_1.default)(exports.MissingPropsMessage)
|
|
|
6283
6004
|
|
|
6284
6005
|
/***/ }),
|
|
6285
6006
|
|
|
6286
|
-
/***/
|
|
6007
|
+
/***/ 63:
|
|
6287
6008
|
/***/ (function(module, exports, __webpack_require__) {
|
|
6288
6009
|
|
|
6289
6010
|
"use strict";
|
|
@@ -6297,14 +6018,14 @@ var React = __webpack_require__(0);
|
|
|
6297
6018
|
|
|
6298
6019
|
var styled_components_1 = __webpack_require__(4);
|
|
6299
6020
|
|
|
6300
|
-
var hocUtils_1 = __webpack_require__(
|
|
6021
|
+
var hocUtils_1 = __webpack_require__(24);
|
|
6301
6022
|
|
|
6302
6023
|
var Cover = styled_components_1.default.div.withConfig({
|
|
6303
6024
|
displayName: "withEditModeCover__Cover",
|
|
6304
6025
|
componentId: "sc-1gsbnxb-0"
|
|
6305
6026
|
})(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
|
|
6306
6027
|
var Blocker = styled_components_1.default.div.attrs({
|
|
6307
|
-
'data-splunk-visualization-version': "26.
|
|
6028
|
+
'data-splunk-visualization-version': "26.3.0 - a1ef240a6"
|
|
6308
6029
|
}).withConfig({
|
|
6309
6030
|
displayName: "withEditModeCover__Blocker",
|
|
6310
6031
|
componentId: "sc-1gsbnxb-1"
|
|
@@ -6336,7 +6057,7 @@ exports.default = withEditModeCover;
|
|
|
6336
6057
|
|
|
6337
6058
|
/***/ }),
|
|
6338
6059
|
|
|
6339
|
-
/***/
|
|
6060
|
+
/***/ 64:
|
|
6340
6061
|
/***/ (function(module, exports, __webpack_require__) {
|
|
6341
6062
|
|
|
6342
6063
|
"use strict";
|
|
@@ -6348,15 +6069,15 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6348
6069
|
|
|
6349
6070
|
var React = __webpack_require__(0);
|
|
6350
6071
|
|
|
6351
|
-
var colorUtils_1 = __webpack_require__(
|
|
6072
|
+
var colorUtils_1 = __webpack_require__(16);
|
|
6352
6073
|
|
|
6353
|
-
var variables_1 = __webpack_require__(
|
|
6074
|
+
var variables_1 = __webpack_require__(14);
|
|
6354
6075
|
|
|
6355
6076
|
var IconPlaceholder_1 = __webpack_require__(37);
|
|
6356
6077
|
|
|
6357
|
-
var VizBehavior_1 = __webpack_require__(
|
|
6078
|
+
var VizBehavior_1 = __webpack_require__(8);
|
|
6358
6079
|
|
|
6359
|
-
var hocUtils_1 = __webpack_require__(
|
|
6080
|
+
var hocUtils_1 = __webpack_require__(24);
|
|
6360
6081
|
|
|
6361
6082
|
var withPlaceholder = function withPlaceholder(Visualization) {
|
|
6362
6083
|
var useIconPlaceholder = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : IconPlaceholder_1.shouldShowIconPlaceholder;
|
|
@@ -6401,13 +6122,13 @@ exports.default = withPlaceholder;
|
|
|
6401
6122
|
|
|
6402
6123
|
/***/ }),
|
|
6403
6124
|
|
|
6404
|
-
/***/
|
|
6125
|
+
/***/ 65:
|
|
6405
6126
|
/***/ (function(module, exports, __webpack_require__) {
|
|
6406
6127
|
|
|
6407
6128
|
"use strict";
|
|
6408
6129
|
|
|
6409
6130
|
|
|
6410
|
-
var _slicedToArray = __webpack_require__(
|
|
6131
|
+
var _slicedToArray = __webpack_require__(6);
|
|
6411
6132
|
|
|
6412
6133
|
Object.defineProperty(exports, "__esModule", {
|
|
6413
6134
|
value: true
|
|
@@ -6417,11 +6138,11 @@ var react_1 = __webpack_require__(0);
|
|
|
6417
6138
|
|
|
6418
6139
|
var lodash_1 = __webpack_require__(3);
|
|
6419
6140
|
|
|
6420
|
-
var dataUtils_1 = __webpack_require__(
|
|
6141
|
+
var dataUtils_1 = __webpack_require__(15);
|
|
6421
6142
|
|
|
6422
6143
|
var usePrevious_1 = __webpack_require__(33);
|
|
6423
6144
|
|
|
6424
|
-
var useGetXAndYFields_1 = __webpack_require__(
|
|
6145
|
+
var useGetXAndYFields_1 = __webpack_require__(66);
|
|
6425
6146
|
|
|
6426
6147
|
var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
|
|
6427
6148
|
var dataSources = _ref.dataSources,
|
|
@@ -6491,13 +6212,13 @@ exports.default = useDownsampleDataSources;
|
|
|
6491
6212
|
|
|
6492
6213
|
/***/ }),
|
|
6493
6214
|
|
|
6494
|
-
/***/
|
|
6215
|
+
/***/ 66:
|
|
6495
6216
|
/***/ (function(module, exports, __webpack_require__) {
|
|
6496
6217
|
|
|
6497
6218
|
"use strict";
|
|
6498
6219
|
|
|
6499
6220
|
|
|
6500
|
-
var _toConsumableArray = __webpack_require__(
|
|
6221
|
+
var _toConsumableArray = __webpack_require__(7);
|
|
6501
6222
|
|
|
6502
6223
|
Object.defineProperty(exports, "__esModule", {
|
|
6503
6224
|
value: true
|
|
@@ -6505,7 +6226,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6505
6226
|
|
|
6506
6227
|
var react_1 = __webpack_require__(0);
|
|
6507
6228
|
|
|
6508
|
-
var Options_1 = __webpack_require__(
|
|
6229
|
+
var Options_1 = __webpack_require__(17);
|
|
6509
6230
|
/**
|
|
6510
6231
|
* Hook that evaluates the DSL for subset of a viz's options needed to determine
|
|
6511
6232
|
* its x and y fields as well as the types of all its fields.
|
|
@@ -6606,7 +6327,7 @@ exports.default = useGetXAndYFields;
|
|
|
6606
6327
|
|
|
6607
6328
|
/***/ }),
|
|
6608
6329
|
|
|
6609
|
-
/***/
|
|
6330
|
+
/***/ 67:
|
|
6610
6331
|
/***/ (function(module, exports, __webpack_require__) {
|
|
6611
6332
|
|
|
6612
6333
|
"use strict";
|
|
@@ -6617,7 +6338,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6617
6338
|
});
|
|
6618
6339
|
exports.getFeatureFlag = void 0;
|
|
6619
6340
|
|
|
6620
|
-
var FeatureFlags_1 = __webpack_require__(
|
|
6341
|
+
var FeatureFlags_1 = __webpack_require__(68);
|
|
6621
6342
|
|
|
6622
6343
|
var getFeatureFlag = function getFeatureFlag(context, flagName) {
|
|
6623
6344
|
// look for feature flag in context first
|
|
@@ -6642,42 +6363,42 @@ exports.getFeatureFlag = getFeatureFlag;
|
|
|
6642
6363
|
|
|
6643
6364
|
/***/ }),
|
|
6644
6365
|
|
|
6645
|
-
/***/
|
|
6366
|
+
/***/ 68:
|
|
6646
6367
|
/***/ (function(module, exports) {
|
|
6647
6368
|
|
|
6648
6369
|
module.exports = require("@splunk/visualization-context/FeatureFlags");
|
|
6649
6370
|
|
|
6650
6371
|
/***/ }),
|
|
6651
6372
|
|
|
6652
|
-
/***/
|
|
6373
|
+
/***/ 69:
|
|
6653
6374
|
/***/ (function(module, exports) {
|
|
6654
6375
|
|
|
6655
|
-
module.exports = require("@babel/runtime/helpers/
|
|
6376
|
+
module.exports = require("@babel/runtime/helpers/extends");
|
|
6656
6377
|
|
|
6657
6378
|
/***/ }),
|
|
6658
6379
|
|
|
6659
|
-
/***/
|
|
6380
|
+
/***/ 7:
|
|
6660
6381
|
/***/ (function(module, exports) {
|
|
6661
6382
|
|
|
6662
|
-
module.exports = require("@babel/runtime/helpers/
|
|
6383
|
+
module.exports = require("@babel/runtime/helpers/toConsumableArray");
|
|
6663
6384
|
|
|
6664
6385
|
/***/ }),
|
|
6665
6386
|
|
|
6666
|
-
/***/
|
|
6387
|
+
/***/ 70:
|
|
6667
6388
|
/***/ (function(module, exports) {
|
|
6668
6389
|
|
|
6669
6390
|
module.exports = require("@splunk/visualizations-shared/colorConstants");
|
|
6670
6391
|
|
|
6671
6392
|
/***/ }),
|
|
6672
6393
|
|
|
6673
|
-
/***/
|
|
6394
|
+
/***/ 74:
|
|
6674
6395
|
/***/ (function(module, exports) {
|
|
6675
6396
|
|
|
6676
6397
|
module.exports = require("@splunk/visualizations-shared/domUtils");
|
|
6677
6398
|
|
|
6678
6399
|
/***/ }),
|
|
6679
6400
|
|
|
6680
|
-
/***/
|
|
6401
|
+
/***/ 77:
|
|
6681
6402
|
/***/ (function(module, exports) {
|
|
6682
6403
|
|
|
6683
6404
|
module.exports = require("@splunk/themes/useSplunkTheme");
|
|
@@ -6685,13 +6406,6 @@ module.exports = require("@splunk/themes/useSplunkTheme");
|
|
|
6685
6406
|
/***/ }),
|
|
6686
6407
|
|
|
6687
6408
|
/***/ 8:
|
|
6688
|
-
/***/ (function(module, exports) {
|
|
6689
|
-
|
|
6690
|
-
module.exports = require("@babel/runtime/helpers/toConsumableArray");
|
|
6691
|
-
|
|
6692
|
-
/***/ }),
|
|
6693
|
-
|
|
6694
|
-
/***/ 80:
|
|
6695
6409
|
/***/ (function(module, exports, __webpack_require__) {
|
|
6696
6410
|
|
|
6697
6411
|
"use strict";
|
|
@@ -6700,24 +6414,45 @@ module.exports = require("@babel/runtime/helpers/toConsumableArray");
|
|
|
6700
6414
|
Object.defineProperty(exports, "__esModule", {
|
|
6701
6415
|
value: true
|
|
6702
6416
|
});
|
|
6703
|
-
exports.
|
|
6704
|
-
var
|
|
6417
|
+
exports.VizBehavior = void 0;
|
|
6418
|
+
var VizBehavior;
|
|
6419
|
+
|
|
6420
|
+
(function (VizBehavior) {
|
|
6421
|
+
/**
|
|
6422
|
+
* Dynamic Options Behavior.
|
|
6423
|
+
* This allows visualization options to be powered by data
|
|
6424
|
+
*
|
|
6425
|
+
* **Example**
|
|
6426
|
+
*
|
|
6427
|
+
* sparklineValues: ">primary|seriesByIndex(0)"
|
|
6428
|
+
* would configure sparklineValues with an array of data points
|
|
6429
|
+
* coming from the first series in the primary datasource
|
|
6430
|
+
*
|
|
6431
|
+
*/
|
|
6432
|
+
VizBehavior["DYNAMIC_OPTIONS"] = "dynamic-options";
|
|
6433
|
+
VizBehavior["EVENTS"] = "events";
|
|
6434
|
+
VizBehavior["DOWNSAMPLING"] = "downsampling";
|
|
6435
|
+
/**
|
|
6436
|
+
* Placeholder behavior: visualization will display a placeholder rather than fail if any of the `requiredProps` is
|
|
6437
|
+
* missing.
|
|
6438
|
+
* @type {string}
|
|
6439
|
+
*/
|
|
6705
6440
|
|
|
6706
|
-
|
|
6707
|
-
|
|
6708
|
-
|
|
6709
|
-
})(
|
|
6441
|
+
VizBehavior["PLACEHOLDER"] = "placeholder";
|
|
6442
|
+
VizBehavior["PAGE_AND_SORT"] = "page-and-sort";
|
|
6443
|
+
VizBehavior["TRELLIS"] = "trellis";
|
|
6444
|
+
})(VizBehavior = exports.VizBehavior || (exports.VizBehavior = {}));
|
|
6710
6445
|
|
|
6711
6446
|
/***/ }),
|
|
6712
6447
|
|
|
6713
|
-
/***/
|
|
6448
|
+
/***/ 80:
|
|
6714
6449
|
/***/ (function(module, exports) {
|
|
6715
6450
|
|
|
6716
6451
|
module.exports = require("@splunk/themes");
|
|
6717
6452
|
|
|
6718
6453
|
/***/ }),
|
|
6719
6454
|
|
|
6720
|
-
/***/
|
|
6455
|
+
/***/ 81:
|
|
6721
6456
|
/***/ (function(module, exports) {
|
|
6722
6457
|
|
|
6723
6458
|
module.exports = require("@splunk/visualization-color-palettes/editors/PresetPalettes");
|
|
@@ -6727,11 +6462,11 @@ module.exports = require("@splunk/visualization-color-palettes/editors/PresetPal
|
|
|
6727
6462
|
/***/ 9:
|
|
6728
6463
|
/***/ (function(module, exports) {
|
|
6729
6464
|
|
|
6730
|
-
module.exports = require("@babel/runtime/helpers/
|
|
6465
|
+
module.exports = require("@babel/runtime/helpers/classCallCheck");
|
|
6731
6466
|
|
|
6732
6467
|
/***/ }),
|
|
6733
6468
|
|
|
6734
|
-
/***/
|
|
6469
|
+
/***/ 94:
|
|
6735
6470
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6736
6471
|
|
|
6737
6472
|
"use strict";
|