@splunk/visualizations 26.2.1 → 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 +170 -300
- 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 +545 -729
- 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/SingleValueRadial.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 = 493);
|
|
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
|
+
/***/ 101:
|
|
162
162
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
163
163
|
|
|
164
164
|
"use strict";
|
|
@@ -178,7 +178,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
178
178
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "showTrendPositionBelow", function() { return showTrendPositionBelow; });
|
|
179
179
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "showTrendPositionOutside", function() { return showTrendPositionOutside; });
|
|
180
180
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getRadialProgress", function() { return getRadialProgress; });
|
|
181
|
-
/* harmony import */ var _splunk_visualizations_shared_colorConstants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
181
|
+
/* harmony import */ var _splunk_visualizations_shared_colorConstants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(70);
|
|
182
182
|
/* harmony import */ var _splunk_visualizations_shared_colorConstants__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_colorConstants__WEBPACK_IMPORTED_MODULE_0__);
|
|
183
183
|
/* harmony import */ var _common_utils_singleValueUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(20);
|
|
184
184
|
|
|
@@ -346,7 +346,7 @@ var getRadialProgress = function getRadialProgress(progressValue, minValue, maxV
|
|
|
346
346
|
|
|
347
347
|
/***/ }),
|
|
348
348
|
|
|
349
|
-
/***/
|
|
349
|
+
/***/ 102:
|
|
350
350
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
351
351
|
|
|
352
352
|
"use strict";
|
|
@@ -357,7 +357,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
357
357
|
__webpack_require__.d(__webpack_exports__, "SingleValueTrendValue", function() { return /* binding */ SingleValueTrendValue; });
|
|
358
358
|
|
|
359
359
|
// EXTERNAL MODULE: external "@babel/runtime/helpers/extends"
|
|
360
|
-
var extends_ = __webpack_require__(
|
|
360
|
+
var extends_ = __webpack_require__(69);
|
|
361
361
|
var extends_default = /*#__PURE__*/__webpack_require__.n(extends_);
|
|
362
362
|
|
|
363
363
|
// EXTERNAL MODULE: external "react"
|
|
@@ -376,11 +376,11 @@ var external_styled_components_default = /*#__PURE__*/__webpack_require__.n(exte
|
|
|
376
376
|
var singleValueUtils = __webpack_require__(20);
|
|
377
377
|
|
|
378
378
|
// EXTERNAL MODULE: external "@splunk/react-icons/enterprise/ArrowUp"
|
|
379
|
-
var ArrowUp_ = __webpack_require__(
|
|
379
|
+
var ArrowUp_ = __webpack_require__(106);
|
|
380
380
|
var ArrowUp_default = /*#__PURE__*/__webpack_require__.n(ArrowUp_);
|
|
381
381
|
|
|
382
382
|
// EXTERNAL MODULE: external "@splunk/react-icons/enterprise/ArrowDown"
|
|
383
|
-
var ArrowDown_ = __webpack_require__(
|
|
383
|
+
var ArrowDown_ = __webpack_require__(107);
|
|
384
384
|
var ArrowDown_default = /*#__PURE__*/__webpack_require__.n(ArrowDown_);
|
|
385
385
|
|
|
386
386
|
// EXTERNAL MODULE: external "@splunk/ui-utils/i18n"
|
|
@@ -396,7 +396,7 @@ var i18n_ = __webpack_require__(2);
|
|
|
396
396
|
|
|
397
397
|
var Column = external_styled_components_default.a.div.withConfig({
|
|
398
398
|
displayName: "TrendValue__Column",
|
|
399
|
-
componentId: "yd2lvy-0"
|
|
399
|
+
componentId: "sc-yd2lvy-0"
|
|
400
400
|
})(["display:flex;flex-direction:row;justify-content:", ";height:", "px;", ";"], function (props) {
|
|
401
401
|
return props.justify || 'flex-end';
|
|
402
402
|
}, function (props) {
|
|
@@ -406,7 +406,7 @@ var Column = external_styled_components_default.a.div.withConfig({
|
|
|
406
406
|
});
|
|
407
407
|
var Text = external_styled_components_default.a.div.withConfig({
|
|
408
408
|
displayName: "TrendValue__Text",
|
|
409
|
-
componentId: "yd2lvy-1"
|
|
409
|
+
componentId: "sc-yd2lvy-1"
|
|
410
410
|
})(["white-space:nowrap;font-size:", "px;color:", ";font-family:", ";height:", "px;line-height:", "px;display:flex;align-self:baseline;", ";"], function (props) {
|
|
411
411
|
return props.size || 12;
|
|
412
412
|
}, function (props) {
|
|
@@ -459,7 +459,7 @@ TrendValue_SingleValueContent.propTypes = {
|
|
|
459
459
|
};
|
|
460
460
|
/* harmony default export */ var TrendValue = (TrendValue_SingleValueContent);
|
|
461
461
|
// EXTERNAL MODULE: external "cssesc"
|
|
462
|
-
var external_cssesc_ = __webpack_require__(
|
|
462
|
+
var external_cssesc_ = __webpack_require__(108);
|
|
463
463
|
var external_cssesc_default = /*#__PURE__*/__webpack_require__.n(external_cssesc_);
|
|
464
464
|
|
|
465
465
|
// CONCATENATED MODULE: ./src/SingleValueBasic/MajorValue.jsx
|
|
@@ -470,7 +470,7 @@ var external_cssesc_default = /*#__PURE__*/__webpack_require__.n(external_cssesc
|
|
|
470
470
|
|
|
471
471
|
var Row = external_styled_components_default.a.div.withConfig({
|
|
472
472
|
displayName: "MajorValue__Row",
|
|
473
|
-
componentId: "shlzpv-0"
|
|
473
|
+
componentId: "sc-shlzpv-0"
|
|
474
474
|
})(["display:flex;flex-direction:row;align-items:flex-end;justify-content:left;height:", "px;line-height:", "px;"], function (props) {
|
|
475
475
|
return props.size;
|
|
476
476
|
}, function (props) {
|
|
@@ -478,7 +478,7 @@ var Row = external_styled_components_default.a.div.withConfig({
|
|
|
478
478
|
});
|
|
479
479
|
var MajorValue_Text = external_styled_components_default.a.div.withConfig({
|
|
480
480
|
displayName: "MajorValue__Text",
|
|
481
|
-
componentId: "shlzpv-1"
|
|
481
|
+
componentId: "sc-shlzpv-1"
|
|
482
482
|
})(["white-space:nowrap;height:100%;font-size:", "px;color:", ";font-family:", ";font-weight:bold;&:hover{text-decoration:", ";cursor:", ";}", ""], function (props) {
|
|
483
483
|
return props.size || 12;
|
|
484
484
|
}, function (props) {
|
|
@@ -569,11 +569,11 @@ MajorValue_SingleValueContent.propTypes = {
|
|
|
569
569
|
|
|
570
570
|
var SingleValueBasic_Column = external_styled_components_default.a.div.withConfig({
|
|
571
571
|
displayName: "SingleValueBasic__Column",
|
|
572
|
-
componentId: "k0nwrx-0"
|
|
572
|
+
componentId: "sc-k0nwrx-0"
|
|
573
573
|
})(["display:flex;flex-direction:column;align-self:center;justify-content:center;"]);
|
|
574
574
|
var SingleValueBasic_Row = external_styled_components_default.a.div.withConfig({
|
|
575
575
|
displayName: "SingleValueBasic__Row",
|
|
576
|
-
componentId: "k0nwrx-1"
|
|
576
|
+
componentId: "sc-k0nwrx-1"
|
|
577
577
|
})(["display:flex;flex-direction:row;align-items:", ";justify-content:", ";"], function (props) {
|
|
578
578
|
return props.alignItems || 'center';
|
|
579
579
|
}, function (props) {
|
|
@@ -581,7 +581,7 @@ var SingleValueBasic_Row = external_styled_components_default.a.div.withConfig({
|
|
|
581
581
|
});
|
|
582
582
|
var SingleValueBasic_Text = external_styled_components_default.a.div.withConfig({
|
|
583
583
|
displayName: "SingleValueBasic__Text",
|
|
584
|
-
componentId: "k0nwrx-2"
|
|
584
|
+
componentId: "sc-k0nwrx-2"
|
|
585
585
|
})(["font-weight:normal;white-space:nowrap;font-size:", "px;color:", ";font-family:", ";height:", "px;line-height:1.2;margin:", ";"], function (props) {
|
|
586
586
|
return props.size || 12;
|
|
587
587
|
}, function (props) {
|
|
@@ -665,49 +665,49 @@ var SingleValueTrendValue = TrendValue;
|
|
|
665
665
|
|
|
666
666
|
/***/ }),
|
|
667
667
|
|
|
668
|
-
/***/
|
|
668
|
+
/***/ 103:
|
|
669
669
|
/***/ (function(module, exports) {
|
|
670
670
|
|
|
671
671
|
module.exports = require("@babel/runtime/helpers/typeof");
|
|
672
672
|
|
|
673
673
|
/***/ }),
|
|
674
674
|
|
|
675
|
-
/***/
|
|
675
|
+
/***/ 105:
|
|
676
676
|
/***/ (function(module, exports) {
|
|
677
677
|
|
|
678
678
|
module.exports = require("@splunk/visualizations-shared/trellisUtils");
|
|
679
679
|
|
|
680
680
|
/***/ }),
|
|
681
681
|
|
|
682
|
-
/***/
|
|
682
|
+
/***/ 106:
|
|
683
683
|
/***/ (function(module, exports) {
|
|
684
684
|
|
|
685
685
|
module.exports = require("@splunk/react-icons/enterprise/ArrowUp");
|
|
686
686
|
|
|
687
687
|
/***/ }),
|
|
688
688
|
|
|
689
|
-
/***/
|
|
689
|
+
/***/ 107:
|
|
690
690
|
/***/ (function(module, exports) {
|
|
691
691
|
|
|
692
692
|
module.exports = require("@splunk/react-icons/enterprise/ArrowDown");
|
|
693
693
|
|
|
694
694
|
/***/ }),
|
|
695
695
|
|
|
696
|
-
/***/
|
|
696
|
+
/***/ 108:
|
|
697
697
|
/***/ (function(module, exports) {
|
|
698
698
|
|
|
699
|
-
module.exports = require("
|
|
699
|
+
module.exports = require("cssesc");
|
|
700
700
|
|
|
701
701
|
/***/ }),
|
|
702
702
|
|
|
703
|
-
/***/
|
|
703
|
+
/***/ 11:
|
|
704
704
|
/***/ (function(module, exports) {
|
|
705
705
|
|
|
706
|
-
module.exports = require("
|
|
706
|
+
module.exports = require("@splunk/visualizations-shared/numberUtils");
|
|
707
707
|
|
|
708
708
|
/***/ }),
|
|
709
709
|
|
|
710
|
-
/***/
|
|
710
|
+
/***/ 112:
|
|
711
711
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
712
712
|
|
|
713
713
|
"use strict";
|
|
@@ -731,27 +731,27 @@ var StaticBackgroundColorEditor = {
|
|
|
731
731
|
|
|
732
732
|
/***/ }),
|
|
733
733
|
|
|
734
|
-
/***/
|
|
734
|
+
/***/ 114:
|
|
735
735
|
/***/ (function(module, exports) {
|
|
736
736
|
|
|
737
737
|
module.exports = require("@splunk/react-ui/Paginator");
|
|
738
738
|
|
|
739
739
|
/***/ }),
|
|
740
740
|
|
|
741
|
-
/***/
|
|
741
|
+
/***/ 116:
|
|
742
742
|
/***/ (function(module, exports, __webpack_require__) {
|
|
743
743
|
|
|
744
744
|
"use strict";
|
|
745
745
|
|
|
746
746
|
|
|
747
|
-
var _typeof = __webpack_require__(
|
|
747
|
+
var _typeof = __webpack_require__(103);
|
|
748
748
|
|
|
749
749
|
Object.defineProperty(exports, "__esModule", {
|
|
750
750
|
value: true
|
|
751
751
|
});
|
|
752
752
|
exports.getFormattedGaugeRanges = exports.getSortedGaugeRanges = exports.getGaugeStrokeWidth = exports.getLabelFontSize = exports.getVerticalLabelOffset = exports.computeTextWidth = exports.getProgressWidth = exports.validateGaugeRanges = exports.getGaugeRange = void 0;
|
|
753
753
|
|
|
754
|
-
var displayUtils_1 = __webpack_require__(
|
|
754
|
+
var displayUtils_1 = __webpack_require__(101);
|
|
755
755
|
/**
|
|
756
756
|
* Figure out what range the major value lies in
|
|
757
757
|
* @method getGaugeRange
|
|
@@ -991,7 +991,7 @@ module.exports = require("@splunk/visualizations-shared/Message");
|
|
|
991
991
|
|
|
992
992
|
/***/ }),
|
|
993
993
|
|
|
994
|
-
/***/
|
|
994
|
+
/***/ 121:
|
|
995
995
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
996
996
|
|
|
997
997
|
"use strict";
|
|
@@ -1036,7 +1036,7 @@ var getDynamicTrendColorEditor = function getDynamicTrendColorEditor(_ref) {
|
|
|
1036
1036
|
|
|
1037
1037
|
/***/ }),
|
|
1038
1038
|
|
|
1039
|
-
/***/
|
|
1039
|
+
/***/ 122:
|
|
1040
1040
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1041
1041
|
|
|
1042
1042
|
"use strict";
|
|
@@ -1091,7 +1091,7 @@ var getDynamicBackgroundColorEditor = function getDynamicBackgroundColorEditor(_
|
|
|
1091
1091
|
|
|
1092
1092
|
/***/ }),
|
|
1093
1093
|
|
|
1094
|
-
/***/
|
|
1094
|
+
/***/ 123:
|
|
1095
1095
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1096
1096
|
|
|
1097
1097
|
"use strict";
|
|
@@ -1142,7 +1142,7 @@ var StaticMajorAndTrendLayout = [[{
|
|
|
1142
1142
|
|
|
1143
1143
|
/***/ }),
|
|
1144
1144
|
|
|
1145
|
-
/***/
|
|
1145
|
+
/***/ 124:
|
|
1146
1146
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1147
1147
|
|
|
1148
1148
|
"use strict";
|
|
@@ -1166,7 +1166,7 @@ var StaticMajorColorEditor = {
|
|
|
1166
1166
|
|
|
1167
1167
|
/***/ }),
|
|
1168
1168
|
|
|
1169
|
-
/***/
|
|
1169
|
+
/***/ 125:
|
|
1170
1170
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1171
1171
|
|
|
1172
1172
|
"use strict";
|
|
@@ -1194,7 +1194,7 @@ var StaticTrendColorEditor = {
|
|
|
1194
1194
|
|
|
1195
1195
|
/***/ }),
|
|
1196
1196
|
|
|
1197
|
-
/***/
|
|
1197
|
+
/***/ 126:
|
|
1198
1198
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1199
1199
|
|
|
1200
1200
|
"use strict";
|
|
@@ -1211,7 +1211,7 @@ var i18n_1 = __webpack_require__(2);
|
|
|
1211
1211
|
|
|
1212
1212
|
var FeatureFlagContext_1 = __webpack_require__(28);
|
|
1213
1213
|
|
|
1214
|
-
var
|
|
1214
|
+
var visualization_schemas_1 = __webpack_require__(10);
|
|
1215
1215
|
/* eslint-disable react-hooks/rules-of-hooks */
|
|
1216
1216
|
|
|
1217
1217
|
|
|
@@ -1235,7 +1235,7 @@ exports.TrellisEditorConfig = [[{
|
|
|
1235
1235
|
var options = _ref.options;
|
|
1236
1236
|
var featureFlagContext = React.useContext(FeatureFlagContext_1.default);
|
|
1237
1237
|
var isTrellisFeatureFlagOn = Boolean(featureFlagContext && featureFlagContext.visualizations_enableTrellis);
|
|
1238
|
-
return isTrellisFeatureFlagOn && options.splitByLayout ===
|
|
1238
|
+
return isTrellisFeatureFlagOn && options.splitByLayout === visualization_schemas_1.LAYOUT_TYPE.Trellis;
|
|
1239
1239
|
}
|
|
1240
1240
|
}], [{
|
|
1241
1241
|
label: (0, i18n_1._)('Number of columns'),
|
|
@@ -1249,7 +1249,7 @@ exports.TrellisEditorConfig = [[{
|
|
|
1249
1249
|
var options = _ref2.options;
|
|
1250
1250
|
var featureFlagContext = React.useContext(FeatureFlagContext_1.default);
|
|
1251
1251
|
var isTrellisFeatureFlagOn = Boolean(featureFlagContext && featureFlagContext.visualizations_enableTrellis);
|
|
1252
|
-
return isTrellisFeatureFlagOn && options.splitByLayout ===
|
|
1252
|
+
return isTrellisFeatureFlagOn && options.splitByLayout === visualization_schemas_1.LAYOUT_TYPE.Trellis;
|
|
1253
1253
|
}
|
|
1254
1254
|
}], [{
|
|
1255
1255
|
label: (0, i18n_1._)('Min column width'),
|
|
@@ -1262,7 +1262,7 @@ exports.TrellisEditorConfig = [[{
|
|
|
1262
1262
|
var options = _ref3.options;
|
|
1263
1263
|
var featureFlagContext = React.useContext(FeatureFlagContext_1.default);
|
|
1264
1264
|
var isTrellisFeatureFlagOn = Boolean(featureFlagContext && featureFlagContext.visualizations_enableTrellis);
|
|
1265
|
-
return isTrellisFeatureFlagOn && options.splitByLayout ===
|
|
1265
|
+
return isTrellisFeatureFlagOn && options.splitByLayout === visualization_schemas_1.LAYOUT_TYPE.Trellis;
|
|
1266
1266
|
}
|
|
1267
1267
|
}, {
|
|
1268
1268
|
label: (0, i18n_1._)('Row height'),
|
|
@@ -1275,7 +1275,7 @@ exports.TrellisEditorConfig = [[{
|
|
|
1275
1275
|
var options = _ref4.options;
|
|
1276
1276
|
var featureFlagContext = React.useContext(FeatureFlagContext_1.default);
|
|
1277
1277
|
var isTrellisFeatureFlagOn = Boolean(featureFlagContext && featureFlagContext.visualizations_enableTrellis);
|
|
1278
|
-
return isTrellisFeatureFlagOn && options.splitByLayout ===
|
|
1278
|
+
return isTrellisFeatureFlagOn && options.splitByLayout === visualization_schemas_1.LAYOUT_TYPE.Trellis;
|
|
1279
1279
|
}
|
|
1280
1280
|
}], [{
|
|
1281
1281
|
label: (0, i18n_1._)('Max number of components per page'),
|
|
@@ -1288,7 +1288,7 @@ exports.TrellisEditorConfig = [[{
|
|
|
1288
1288
|
var options = _ref5.options;
|
|
1289
1289
|
var featureFlagContext = React.useContext(FeatureFlagContext_1.default);
|
|
1290
1290
|
var isTrellisFeatureFlagOn = Boolean(featureFlagContext && featureFlagContext.visualizations_enableTrellis);
|
|
1291
|
-
return isTrellisFeatureFlagOn && options.splitByLayout ===
|
|
1291
|
+
return isTrellisFeatureFlagOn && options.splitByLayout === visualization_schemas_1.LAYOUT_TYPE.Trellis;
|
|
1292
1292
|
}
|
|
1293
1293
|
}]];
|
|
1294
1294
|
exports.TrellisBackgroundColorEditor = {
|
|
@@ -1299,19 +1299,19 @@ exports.TrellisBackgroundColorEditor = {
|
|
|
1299
1299
|
var options = _ref6.options;
|
|
1300
1300
|
var featureFlagContext = React.useContext(FeatureFlagContext_1.default);
|
|
1301
1301
|
var isTrellisFeatureFlagOn = Boolean(featureFlagContext && featureFlagContext.visualizations_enableTrellis);
|
|
1302
|
-
return isTrellisFeatureFlagOn && options.splitByLayout ===
|
|
1302
|
+
return isTrellisFeatureFlagOn && options.splitByLayout === visualization_schemas_1.LAYOUT_TYPE.Trellis;
|
|
1303
1303
|
}
|
|
1304
1304
|
};
|
|
1305
1305
|
|
|
1306
1306
|
/***/ }),
|
|
1307
1307
|
|
|
1308
|
-
/***/
|
|
1308
|
+
/***/ 127:
|
|
1309
1309
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1310
1310
|
|
|
1311
1311
|
"use strict";
|
|
1312
1312
|
|
|
1313
1313
|
|
|
1314
|
-
var _slicedToArray = __webpack_require__(
|
|
1314
|
+
var _slicedToArray = __webpack_require__(6);
|
|
1315
1315
|
|
|
1316
1316
|
var __rest = this && this.__rest || function (s, e) {
|
|
1317
1317
|
var t = {};
|
|
@@ -1338,37 +1338,37 @@ var lodash_1 = __webpack_require__(3);
|
|
|
1338
1338
|
|
|
1339
1339
|
var styled_components_1 = __webpack_require__(4);
|
|
1340
1340
|
|
|
1341
|
-
var Paginator_1 = __webpack_require__(
|
|
1341
|
+
var Paginator_1 = __webpack_require__(114);
|
|
1342
1342
|
|
|
1343
1343
|
var i18n_1 = __webpack_require__(2);
|
|
1344
1344
|
|
|
1345
|
-
var themes_1 = __webpack_require__(
|
|
1345
|
+
var themes_1 = __webpack_require__(80);
|
|
1346
1346
|
|
|
1347
|
-
var useSplunkTheme_1 = __webpack_require__(
|
|
1347
|
+
var useSplunkTheme_1 = __webpack_require__(77);
|
|
1348
1348
|
|
|
1349
1349
|
var FeatureFlagContext_1 = __webpack_require__(28);
|
|
1350
1350
|
|
|
1351
1351
|
var SizeAwareWrapper_1 = __webpack_require__(26);
|
|
1352
1352
|
|
|
1353
|
-
var style_1 = __webpack_require__(
|
|
1353
|
+
var style_1 = __webpack_require__(19);
|
|
1354
1354
|
|
|
1355
1355
|
var Message_1 = __webpack_require__(12);
|
|
1356
1356
|
|
|
1357
|
-
var trellisUtils_1 = __webpack_require__(
|
|
1357
|
+
var trellisUtils_1 = __webpack_require__(105);
|
|
1358
1358
|
|
|
1359
1359
|
var hocUtils_1 = __webpack_require__(34);
|
|
1360
1360
|
|
|
1361
1361
|
var JSONSchemaUtils_1 = __webpack_require__(35);
|
|
1362
1362
|
|
|
1363
|
-
var
|
|
1363
|
+
var visualization_schemas_1 = __webpack_require__(10);
|
|
1364
1364
|
|
|
1365
|
-
var
|
|
1365
|
+
var Options_1 = __webpack_require__(17);
|
|
1366
1366
|
|
|
1367
|
-
var
|
|
1367
|
+
var trellisUtils_2 = __webpack_require__(128);
|
|
1368
1368
|
|
|
1369
1369
|
var TrellisContainer = styled_components_1.default.div.withConfig({
|
|
1370
1370
|
displayName: "withTrellis__TrellisContainer",
|
|
1371
|
-
componentId: "pjmeig-0"
|
|
1371
|
+
componentId: "sc-pjmeig-0"
|
|
1372
1372
|
})(["overflow:hidden;display:flex;flex-direction:column;background-color:", ";", ";> [data-test='paginator']{align-self:flex-end;margin-bottom:10px;}"], function (props) {
|
|
1373
1373
|
return props.backgroundColor;
|
|
1374
1374
|
}, function (props) {
|
|
@@ -1376,7 +1376,7 @@ var TrellisContainer = styled_components_1.default.div.withConfig({
|
|
|
1376
1376
|
});
|
|
1377
1377
|
var TrellisContainerGrid = styled_components_1.default.div.withConfig({
|
|
1378
1378
|
displayName: "withTrellis__TrellisContainerGrid",
|
|
1379
|
-
componentId: "pjmeig-1"
|
|
1379
|
+
componentId: "sc-pjmeig-1"
|
|
1380
1380
|
})(["display:grid;height:", ";gap:10px 10px;grid-template-columns:", ";overflow:auto;justify-items:stretch;grid-auto-rows:", ";.child{height:", ";}"], function (props) {
|
|
1381
1381
|
return "".concat(props.height, "px");
|
|
1382
1382
|
}, function (props) {
|
|
@@ -1524,11 +1524,11 @@ var withTrellis = function withTrellis(Viz) {
|
|
|
1524
1524
|
var featureFlagContext = React.useContext(FeatureFlagContext_1.default);
|
|
1525
1525
|
var isTrellisFeatureFlagOn = Boolean(featureFlagContext && featureFlagContext.visualizations_enableTrellis);
|
|
1526
1526
|
|
|
1527
|
-
if (!isTrellisFeatureFlagOn || !splitByLayout || splitByLayout !==
|
|
1527
|
+
if (!isTrellisFeatureFlagOn || !splitByLayout || splitByLayout !== visualization_schemas_1.LAYOUT_TYPE.Trellis) {
|
|
1528
1528
|
return React.createElement(Viz, Object.assign({}, opts));
|
|
1529
1529
|
}
|
|
1530
1530
|
|
|
1531
|
-
if (splitByLayout ===
|
|
1531
|
+
if (splitByLayout === visualization_schemas_1.LAYOUT_TYPE.Trellis) {
|
|
1532
1532
|
if (noColumns || noFields) {
|
|
1533
1533
|
return React.createElement(Message_1.default, {
|
|
1534
1534
|
width: width,
|
|
@@ -1612,20 +1612,13 @@ exports.default = withTrellis;
|
|
|
1612
1612
|
|
|
1613
1613
|
/***/ }),
|
|
1614
1614
|
|
|
1615
|
-
/***/
|
|
1616
|
-
/***/ (function(module, exports) {
|
|
1617
|
-
|
|
1618
|
-
module.exports = require("@splunk/themes/variables");
|
|
1619
|
-
|
|
1620
|
-
/***/ }),
|
|
1621
|
-
|
|
1622
|
-
/***/ 130:
|
|
1615
|
+
/***/ 128:
|
|
1623
1616
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1624
1617
|
|
|
1625
1618
|
"use strict";
|
|
1626
1619
|
|
|
1627
1620
|
|
|
1628
|
-
var _toConsumableArray = __webpack_require__(
|
|
1621
|
+
var _toConsumableArray = __webpack_require__(7);
|
|
1629
1622
|
|
|
1630
1623
|
Object.defineProperty(exports, "__esModule", {
|
|
1631
1624
|
value: true
|
|
@@ -1634,7 +1627,7 @@ exports.getTrellisDataSourcesBySplitMode = exports.dataSourcesSplitByModeStatsor
|
|
|
1634
1627
|
|
|
1635
1628
|
var lodash_1 = __webpack_require__(3);
|
|
1636
1629
|
|
|
1637
|
-
var trellisUtils_1 = __webpack_require__(
|
|
1630
|
+
var trellisUtils_1 = __webpack_require__(105);
|
|
1638
1631
|
|
|
1639
1632
|
exports.AGGREGATIONS = 'aggregations';
|
|
1640
1633
|
/**
|
|
@@ -2100,6 +2093,7 @@ var getTrellisDataSourcesBySplitMode = function getTrellisDataSourcesBySplitMode
|
|
|
2100
2093
|
result = trellisSplitBy === exports.AGGREGATIONS ? (0, exports.dataSourcesSplitByAggregationsUnknown)(dataSources) : (0, exports.dataSourcesSplitByModeStatsorUnknown)(dataSources, trellisSplitBy, trellisUtils_1.UNKNOWN);
|
|
2101
2094
|
}
|
|
2102
2095
|
} catch (ex) {
|
|
2096
|
+
// eslint-disable-next-line no-console
|
|
2103
2097
|
console.error('getTrellisDataSourcesBySplitMode ', ex);
|
|
2104
2098
|
result = {
|
|
2105
2099
|
splitDataSources: null,
|
|
@@ -2114,7 +2108,21 @@ exports.getTrellisDataSourcesBySplitMode = getTrellisDataSourcesBySplitMode;
|
|
|
2114
2108
|
|
|
2115
2109
|
/***/ }),
|
|
2116
2110
|
|
|
2111
|
+
/***/ 13:
|
|
2112
|
+
/***/ (function(module, exports) {
|
|
2113
|
+
|
|
2114
|
+
module.exports = require("@babel/runtime/helpers/defineProperty");
|
|
2115
|
+
|
|
2116
|
+
/***/ }),
|
|
2117
|
+
|
|
2117
2118
|
/***/ 14:
|
|
2119
|
+
/***/ (function(module, exports) {
|
|
2120
|
+
|
|
2121
|
+
module.exports = require("@splunk/themes/variables");
|
|
2122
|
+
|
|
2123
|
+
/***/ }),
|
|
2124
|
+
|
|
2125
|
+
/***/ 15:
|
|
2118
2126
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2119
2127
|
|
|
2120
2128
|
"use strict";
|
|
@@ -2411,6 +2419,7 @@ var calculateDownsamplingThreshold = function calculateDownsamplingThreshold(_re
|
|
|
2411
2419
|
});
|
|
2412
2420
|
}
|
|
2413
2421
|
} catch (e) {
|
|
2422
|
+
// eslint-disable-next-line no-console
|
|
2414
2423
|
console.error('Error occurred while setting downsample threshold on range select event', e);
|
|
2415
2424
|
}
|
|
2416
2425
|
|
|
@@ -2577,6 +2586,7 @@ var downsampleDataSources = function downsampleDataSources(_ref4) {
|
|
|
2577
2586
|
return downsampledIndices.add(downsampleIndex);
|
|
2578
2587
|
});
|
|
2579
2588
|
} catch (e) {
|
|
2589
|
+
// eslint-disable-next-line no-console
|
|
2580
2590
|
console.error("Error occurred while downsampling column ".concat(columnIndex), e);
|
|
2581
2591
|
}
|
|
2582
2592
|
}); // update data columns with downsampled columns
|
|
@@ -2589,27 +2599,27 @@ exports.downsampleDataSources = downsampleDataSources;
|
|
|
2589
2599
|
|
|
2590
2600
|
/***/ }),
|
|
2591
2601
|
|
|
2592
|
-
/***/
|
|
2602
|
+
/***/ 16:
|
|
2593
2603
|
/***/ (function(module, exports) {
|
|
2594
2604
|
|
|
2595
2605
|
module.exports = require("@splunk/visualizations-shared/colorUtils");
|
|
2596
2606
|
|
|
2597
2607
|
/***/ }),
|
|
2598
2608
|
|
|
2599
|
-
/***/
|
|
2609
|
+
/***/ 17:
|
|
2600
2610
|
/***/ (function(module, exports) {
|
|
2601
2611
|
|
|
2602
2612
|
module.exports = require("@splunk/visualization-encoding/Options");
|
|
2603
2613
|
|
|
2604
2614
|
/***/ }),
|
|
2605
2615
|
|
|
2606
|
-
/***/
|
|
2616
|
+
/***/ 18:
|
|
2607
2617
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2608
2618
|
|
|
2609
2619
|
"use strict";
|
|
2610
2620
|
|
|
2611
2621
|
|
|
2612
|
-
var _slicedToArray = __webpack_require__(
|
|
2622
|
+
var _slicedToArray = __webpack_require__(6);
|
|
2613
2623
|
|
|
2614
2624
|
Object.defineProperty(exports, "__esModule", {
|
|
2615
2625
|
value: true
|
|
@@ -2619,9 +2629,9 @@ var React = __webpack_require__(0);
|
|
|
2619
2629
|
|
|
2620
2630
|
var styled_components_1 = __webpack_require__(4);
|
|
2621
2631
|
|
|
2622
|
-
var style_1 = __webpack_require__(
|
|
2632
|
+
var style_1 = __webpack_require__(19);
|
|
2623
2633
|
|
|
2624
|
-
var colorUtils_1 = __webpack_require__(
|
|
2634
|
+
var colorUtils_1 = __webpack_require__(16);
|
|
2625
2635
|
|
|
2626
2636
|
var SizeAwareWrapper_1 = __webpack_require__(26);
|
|
2627
2637
|
|
|
@@ -2694,7 +2704,7 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
|
|
|
2694
2704
|
|
|
2695
2705
|
return React.createElement(FixSizeItem, {
|
|
2696
2706
|
"data-test": "fix-size-item",
|
|
2697
|
-
"data-splunk-visualization-version": "26.
|
|
2707
|
+
"data-splunk-visualization-version": "26.3.0 - a1ef240a6",
|
|
2698
2708
|
width: width,
|
|
2699
2709
|
height: height,
|
|
2700
2710
|
backgroundColor: backgroundColor
|
|
@@ -2716,30 +2726,14 @@ exports.default = withFixedSizeContainer;
|
|
|
2716
2726
|
|
|
2717
2727
|
/***/ }),
|
|
2718
2728
|
|
|
2719
|
-
/***/
|
|
2729
|
+
/***/ 19:
|
|
2720
2730
|
/***/ (function(module, exports) {
|
|
2721
2731
|
|
|
2722
2732
|
module.exports = require("@splunk/visualizations-shared/style");
|
|
2723
2733
|
|
|
2724
2734
|
/***/ }),
|
|
2725
2735
|
|
|
2726
|
-
/***/
|
|
2727
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2728
|
-
|
|
2729
|
-
"use strict";
|
|
2730
|
-
|
|
2731
|
-
|
|
2732
|
-
Object.defineProperty(exports, "__esModule", {
|
|
2733
|
-
value: true
|
|
2734
|
-
});
|
|
2735
|
-
exports.validOutputModes = exports.validSegmentationModes = exports.validSortDirs = void 0;
|
|
2736
|
-
exports.validSortDirs = ['asc', 'desc', 'none'];
|
|
2737
|
-
exports.validSegmentationModes = ['none', 'inner'];
|
|
2738
|
-
exports.validOutputModes = ['json_cols', 'json'];
|
|
2739
|
-
|
|
2740
|
-
/***/ }),
|
|
2741
|
-
|
|
2742
|
-
/***/ 199:
|
|
2736
|
+
/***/ 195:
|
|
2743
2737
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2744
2738
|
|
|
2745
2739
|
"use strict";
|
|
@@ -2753,11 +2747,11 @@ var React = __webpack_require__(0);
|
|
|
2753
2747
|
|
|
2754
2748
|
var T = __webpack_require__(1);
|
|
2755
2749
|
|
|
2756
|
-
var colorConstants_1 = __webpack_require__(
|
|
2750
|
+
var colorConstants_1 = __webpack_require__(70);
|
|
2757
2751
|
|
|
2758
|
-
var gaugeUtils_1 = __webpack_require__(
|
|
2752
|
+
var gaugeUtils_1 = __webpack_require__(116);
|
|
2759
2753
|
|
|
2760
|
-
var displayUtils_1 = __webpack_require__(
|
|
2754
|
+
var displayUtils_1 = __webpack_require__(101);
|
|
2761
2755
|
|
|
2762
2756
|
var GaugeGraph = function GaugeGraph(_ref) {
|
|
2763
2757
|
var _ref$width = _ref.width,
|
|
@@ -3076,17 +3070,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3076
3070
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "lighten", function() { return lighten; });
|
|
3077
3071
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "darken", function() { return darken; });
|
|
3078
3072
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "handleValueClickCallback", function() { return handleValueClickCallback; });
|
|
3079
|
-
/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
3073
|
+
/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(13);
|
|
3080
3074
|
/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__);
|
|
3081
3075
|
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3);
|
|
3082
3076
|
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_1__);
|
|
3083
3077
|
/* harmony import */ var _splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(11);
|
|
3084
3078
|
/* harmony import */ var _splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_2__);
|
|
3085
|
-
/* harmony import */ var _splunk_visualizations_shared_domUtils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
|
3079
|
+
/* harmony import */ var _splunk_visualizations_shared_domUtils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(74);
|
|
3086
3080
|
/* harmony import */ var _splunk_visualizations_shared_domUtils__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_domUtils__WEBPACK_IMPORTED_MODULE_3__);
|
|
3087
3081
|
/* harmony import */ var _splunk_visualizations_shared_propUtils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(36);
|
|
3088
3082
|
/* harmony import */ var _splunk_visualizations_shared_propUtils__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_propUtils__WEBPACK_IMPORTED_MODULE_4__);
|
|
3089
|
-
/* harmony import */ var _splunk_visualizations_shared_colorConstants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
|
3083
|
+
/* harmony import */ var _splunk_visualizations_shared_colorConstants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(70);
|
|
3090
3084
|
/* harmony import */ var _splunk_visualizations_shared_colorConstants__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_colorConstants__WEBPACK_IMPORTED_MODULE_5__);
|
|
3091
3085
|
|
|
3092
3086
|
|
|
@@ -4075,7 +4069,22 @@ var handleValueClickCallback = function handleValueClickCallback(ev, majorValue,
|
|
|
4075
4069
|
"use strict";
|
|
4076
4070
|
|
|
4077
4071
|
|
|
4078
|
-
|
|
4072
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4073
|
+
value: true
|
|
4074
|
+
});
|
|
4075
|
+
exports.validOutputModes = exports.validSortDirs = void 0;
|
|
4076
|
+
exports.validSortDirs = ['asc', 'desc', 'none'];
|
|
4077
|
+
exports.validOutputModes = ['json_cols', 'json'];
|
|
4078
|
+
|
|
4079
|
+
/***/ }),
|
|
4080
|
+
|
|
4081
|
+
/***/ 22:
|
|
4082
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4083
|
+
|
|
4084
|
+
"use strict";
|
|
4085
|
+
|
|
4086
|
+
|
|
4087
|
+
var _classCallCheck = __webpack_require__(9);
|
|
4079
4088
|
|
|
4080
4089
|
var _createClass = __webpack_require__(25);
|
|
4081
4090
|
|
|
@@ -4107,7 +4116,7 @@ exports.DefaultVizActionHandler = DefaultVizActionHandler;
|
|
|
4107
4116
|
|
|
4108
4117
|
/***/ }),
|
|
4109
4118
|
|
|
4110
|
-
/***/
|
|
4119
|
+
/***/ 23:
|
|
4111
4120
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4112
4121
|
|
|
4113
4122
|
"use strict";
|
|
@@ -4136,7 +4145,7 @@ var VizCategory;
|
|
|
4136
4145
|
|
|
4137
4146
|
/***/ }),
|
|
4138
4147
|
|
|
4139
|
-
/***/
|
|
4148
|
+
/***/ 24:
|
|
4140
4149
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4141
4150
|
|
|
4142
4151
|
"use strict";
|
|
@@ -4169,13 +4178,6 @@ exports.extendStaticWrapperProps = extendStaticWrapperProps;
|
|
|
4169
4178
|
|
|
4170
4179
|
/***/ }),
|
|
4171
4180
|
|
|
4172
|
-
/***/ 24:
|
|
4173
|
-
/***/ (function(module, exports) {
|
|
4174
|
-
|
|
4175
|
-
module.exports = require("@splunk/visualizations-shared/schemaUtils");
|
|
4176
|
-
|
|
4177
|
-
/***/ }),
|
|
4178
|
-
|
|
4179
4181
|
/***/ 25:
|
|
4180
4182
|
/***/ (function(module, exports) {
|
|
4181
4183
|
|
|
@@ -4196,99 +4198,24 @@ module.exports = require("@splunk/visualizations-shared/SizeAwareWrapper");
|
|
|
4196
4198
|
"use strict";
|
|
4197
4199
|
|
|
4198
4200
|
|
|
4199
|
-
var _toConsumableArray = __webpack_require__(
|
|
4200
|
-
|
|
4201
|
-
var _defineProperty = __webpack_require__(9);
|
|
4202
|
-
|
|
4203
|
-
var __rest = this && this.__rest || function (s, e) {
|
|
4204
|
-
var t = {};
|
|
4205
|
-
|
|
4206
|
-
for (var p in s) {
|
|
4207
|
-
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
4208
|
-
}
|
|
4209
|
-
|
|
4210
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
4211
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
4212
|
-
}
|
|
4213
|
-
return t;
|
|
4214
|
-
};
|
|
4201
|
+
var _toConsumableArray = __webpack_require__(7);
|
|
4215
4202
|
|
|
4216
4203
|
Object.defineProperty(exports, "__esModule", {
|
|
4217
4204
|
value: true
|
|
4218
4205
|
});
|
|
4219
|
-
exports.insertLayout = exports.isDynamicOption = exports.uncollapseEditorConfig = exports.generatePrecisionValues = exports.getInitialPreset = exports.
|
|
4206
|
+
exports.insertLayout = exports.isDynamicOption = exports.uncollapseEditorConfig = exports.generatePrecisionValues = exports.getInitialPreset = exports.enhanceConfig = exports.enhanceOptionsSchemaWithDynamicOptions = void 0;
|
|
4220
4207
|
|
|
4221
|
-
var lodash_1 = __webpack_require__(3);
|
|
4208
|
+
var lodash_1 = __webpack_require__(3); // included for backwards compatibility
|
|
4222
4209
|
|
|
4223
|
-
var schemaUtils_1 = __webpack_require__(24);
|
|
4224
4210
|
|
|
4225
|
-
var
|
|
4211
|
+
var visualization_schemas_1 = __webpack_require__(10);
|
|
4226
4212
|
|
|
4227
|
-
|
|
4228
|
-
|
|
4229
|
-
|
|
4230
|
-
|
|
4231
|
-
|
|
4232
|
-
|
|
4233
|
-
* @param optionsSchema a visualization's options schema
|
|
4234
|
-
* @returns an updated options schema that additionally allows strings starting with > for each option
|
|
4235
|
-
*/
|
|
4236
|
-
|
|
4237
|
-
function enhanceOptionsSchemaWithDynamicOptions(optionsSchema) {
|
|
4238
|
-
var enhancedOptionsSchema = {};
|
|
4239
|
-
Object.keys(optionsSchema).forEach(function (key) {
|
|
4240
|
-
var _a = optionsSchema[key],
|
|
4241
|
-
title = _a.title,
|
|
4242
|
-
description = _a.description,
|
|
4243
|
-
readOnly = _a.readOnly,
|
|
4244
|
-
writeOnly = _a.writeOnly,
|
|
4245
|
-
examples = _a.examples,
|
|
4246
|
-
defaultValue = _a.default,
|
|
4247
|
-
type = _a.type,
|
|
4248
|
-
properties = _a.properties,
|
|
4249
|
-
patternProperties = _a.patternProperties,
|
|
4250
|
-
remainingSchemaEntry = __rest(_a, ["title", "description", "readOnly", "writeOnly", "examples", "default", "type", "properties", "patternProperties"]);
|
|
4251
|
-
|
|
4252
|
-
var annotations = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, title !== undefined && {
|
|
4253
|
-
title: title
|
|
4254
|
-
}), description !== undefined && {
|
|
4255
|
-
description: description
|
|
4256
|
-
}), readOnly !== undefined && {
|
|
4257
|
-
readOnly: readOnly
|
|
4258
|
-
}), writeOnly !== undefined && {
|
|
4259
|
-
writeOnly: writeOnly
|
|
4260
|
-
}), examples !== undefined && {
|
|
4261
|
-
examples: examples
|
|
4262
|
-
}), defaultValue !== undefined && {
|
|
4263
|
-
default: defaultValue
|
|
4264
|
-
});
|
|
4265
|
-
|
|
4266
|
-
if (type === 'object') {
|
|
4267
|
-
enhancedOptionsSchema[key] = Object.assign(Object.assign(Object.assign(Object.assign({}, remainingSchemaEntry), annotations), {
|
|
4268
|
-
type: type
|
|
4269
|
-
}), properties && {
|
|
4270
|
-
properties: enhanceOptionsSchemaWithDynamicOptions(properties)
|
|
4271
|
-
});
|
|
4272
|
-
|
|
4273
|
-
if (patternProperties) {
|
|
4274
|
-
var enhancedPatternProperties = {};
|
|
4275
|
-
Object.keys(patternProperties).forEach(function (opt) {
|
|
4276
|
-
enhancedPatternProperties = Object.assign(Object.assign({}, enhancedPatternProperties), enhanceOptionsSchemaWithDynamicOptions(_defineProperty({}, opt, patternProperties[opt])));
|
|
4277
|
-
});
|
|
4278
|
-
enhancedOptionsSchema[key].patternProperties = enhancedPatternProperties;
|
|
4279
|
-
}
|
|
4280
|
-
} else {
|
|
4281
|
-
enhancedOptionsSchema[key] = Object.assign(Object.assign({}, annotations), {
|
|
4282
|
-
anyOf: [Object.assign(Object.assign({}, type !== undefined && {
|
|
4283
|
-
type: type
|
|
4284
|
-
}), remainingSchemaEntry), dynamicOptionsDSLType]
|
|
4285
|
-
});
|
|
4286
|
-
}
|
|
4287
|
-
});
|
|
4288
|
-
return enhancedOptionsSchema;
|
|
4289
|
-
}
|
|
4290
|
-
|
|
4291
|
-
exports.enhanceOptionsSchemaWithDynamicOptions = enhanceOptionsSchemaWithDynamicOptions;
|
|
4213
|
+
Object.defineProperty(exports, "enhanceOptionsSchemaWithDynamicOptions", {
|
|
4214
|
+
enumerable: true,
|
|
4215
|
+
get: function get() {
|
|
4216
|
+
return visualization_schemas_1.enhanceOptionsSchemaWithDynamicOptions;
|
|
4217
|
+
}
|
|
4218
|
+
});
|
|
4292
4219
|
/**
|
|
4293
4220
|
* Helper function to enhance a Visualization Config as needed based on behaviors specified in supports block
|
|
4294
4221
|
* this function also collapse all editor panels
|
|
@@ -4299,11 +4226,6 @@ exports.enhanceOptionsSchemaWithDynamicOptions = enhanceOptionsSchemaWithDynamic
|
|
|
4299
4226
|
|
|
4300
4227
|
function enhanceConfig(vizConfig) {
|
|
4301
4228
|
var enhancedConfig = Object.assign({}, vizConfig);
|
|
4302
|
-
|
|
4303
|
-
if (vizConfig.supports.indexOf(VizBehavior_1.VizBehavior.DYNAMIC_OPTIONS) !== -1) {
|
|
4304
|
-
enhancedConfig.optionsSchema = enhanceOptionsSchemaWithDynamicOptions(vizConfig.optionsSchema);
|
|
4305
|
-
}
|
|
4306
|
-
|
|
4307
4229
|
enhancedConfig.editorConfig = vizConfig.editorConfig.map(function (config) {
|
|
4308
4230
|
return Object.assign(Object.assign({}, config), {
|
|
4309
4231
|
open: config.open || false
|
|
@@ -4535,7 +4457,7 @@ var i18n_1 = __webpack_require__(2);
|
|
|
4535
4457
|
|
|
4536
4458
|
var Message_1 = __webpack_require__(12);
|
|
4537
4459
|
|
|
4538
|
-
var FixedSizeContainer_1 = __webpack_require__(
|
|
4460
|
+
var FixedSizeContainer_1 = __webpack_require__(18);
|
|
4539
4461
|
/**
|
|
4540
4462
|
* @method shouldShowIconPlaceholder
|
|
4541
4463
|
* @param {object} dataSources
|
|
@@ -4613,7 +4535,7 @@ exports.default = (0, FixedSizeContainer_1.default)(IconPlaceholder);
|
|
|
4613
4535
|
"use strict";
|
|
4614
4536
|
|
|
4615
4537
|
|
|
4616
|
-
var _defineProperty = __webpack_require__(
|
|
4538
|
+
var _defineProperty = __webpack_require__(13);
|
|
4617
4539
|
|
|
4618
4540
|
Object.defineProperty(exports, "__esModule", {
|
|
4619
4541
|
value: true
|
|
@@ -4624,7 +4546,7 @@ var T = __webpack_require__(1);
|
|
|
4624
4546
|
|
|
4625
4547
|
var lodash_1 = __webpack_require__(3);
|
|
4626
4548
|
|
|
4627
|
-
var DataSource_1 = __webpack_require__(
|
|
4549
|
+
var DataSource_1 = __webpack_require__(21);
|
|
4628
4550
|
|
|
4629
4551
|
exports.SortParamsPropTypes = T.shape({
|
|
4630
4552
|
currentSortKey: T.string,
|
|
@@ -4789,7 +4711,7 @@ __exportStar(__webpack_require__(41), exports);
|
|
|
4789
4711
|
|
|
4790
4712
|
__exportStar(__webpack_require__(42), exports);
|
|
4791
4713
|
|
|
4792
|
-
__exportStar(__webpack_require__(
|
|
4714
|
+
__exportStar(__webpack_require__(21), exports);
|
|
4793
4715
|
|
|
4794
4716
|
__exportStar(__webpack_require__(43), exports);
|
|
4795
4717
|
|
|
@@ -4803,13 +4725,13 @@ __exportStar(__webpack_require__(47), exports);
|
|
|
4803
4725
|
|
|
4804
4726
|
__exportStar(__webpack_require__(48), exports);
|
|
4805
4727
|
|
|
4806
|
-
__exportStar(__webpack_require__(
|
|
4728
|
+
__exportStar(__webpack_require__(22), exports);
|
|
4807
4729
|
|
|
4808
|
-
__exportStar(__webpack_require__(
|
|
4730
|
+
__exportStar(__webpack_require__(8), exports);
|
|
4809
4731
|
|
|
4810
|
-
__exportStar(__webpack_require__(
|
|
4732
|
+
__exportStar(__webpack_require__(23), exports);
|
|
4811
4733
|
|
|
4812
|
-
__exportStar(__webpack_require__(
|
|
4734
|
+
__exportStar(__webpack_require__(49), exports);
|
|
4813
4735
|
|
|
4814
4736
|
__exportStar(__webpack_require__(50), exports);
|
|
4815
4737
|
|
|
@@ -4821,8 +4743,6 @@ __exportStar(__webpack_require__(53), exports);
|
|
|
4821
4743
|
|
|
4822
4744
|
__exportStar(__webpack_require__(54), exports);
|
|
4823
4745
|
|
|
4824
|
-
__exportStar(__webpack_require__(55), exports);
|
|
4825
|
-
|
|
4826
4746
|
/***/ }),
|
|
4827
4747
|
|
|
4828
4748
|
/***/ 41:
|
|
@@ -4936,7 +4856,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4936
4856
|
|
|
4937
4857
|
/***/ }),
|
|
4938
4858
|
|
|
4939
|
-
/***/
|
|
4859
|
+
/***/ 493:
|
|
4940
4860
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4941
4861
|
|
|
4942
4862
|
"use strict";
|
|
@@ -4960,13 +4880,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4960
4880
|
});
|
|
4961
4881
|
exports.themes = exports.computeVizProps = exports.PureSingleValueRadialThemes = exports.PureSingleValueRadial = exports.config = void 0;
|
|
4962
4882
|
|
|
4963
|
-
var SingleValueRadial_1 = __webpack_require__(
|
|
4883
|
+
var SingleValueRadial_1 = __webpack_require__(512);
|
|
4964
4884
|
|
|
4965
|
-
var withDashboardViz_1 = __webpack_require__(
|
|
4885
|
+
var withDashboardViz_1 = __webpack_require__(55);
|
|
4966
4886
|
|
|
4967
|
-
var config_1 = __webpack_require__(
|
|
4887
|
+
var config_1 = __webpack_require__(494);
|
|
4968
4888
|
|
|
4969
|
-
var withTrellis_1 = __webpack_require__(
|
|
4889
|
+
var withTrellis_1 = __webpack_require__(127);
|
|
4970
4890
|
|
|
4971
4891
|
exports.config = config_1.default;
|
|
4972
4892
|
exports.PureSingleValueRadial = SingleValueRadial_1.default; // TODO: proper theming support for SVR when we come back to SVR viz
|
|
@@ -4993,13 +4913,13 @@ exports.default = viz;
|
|
|
4993
4913
|
|
|
4994
4914
|
/***/ }),
|
|
4995
4915
|
|
|
4996
|
-
/***/
|
|
4916
|
+
/***/ 494:
|
|
4997
4917
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4998
4918
|
|
|
4999
4919
|
"use strict";
|
|
5000
4920
|
|
|
5001
4921
|
|
|
5002
|
-
var _toConsumableArray = __webpack_require__(
|
|
4922
|
+
var _toConsumableArray = __webpack_require__(7);
|
|
5003
4923
|
|
|
5004
4924
|
Object.defineProperty(exports, "__esModule", {
|
|
5005
4925
|
value: true
|
|
@@ -5007,45 +4927,43 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5007
4927
|
|
|
5008
4928
|
var i18n_1 = __webpack_require__(2);
|
|
5009
4929
|
|
|
5010
|
-
var
|
|
4930
|
+
var visualization_schemas_1 = __webpack_require__(10);
|
|
5011
4931
|
|
|
5012
4932
|
var pick_1 = __webpack_require__(30);
|
|
5013
4933
|
|
|
5014
|
-
var variables_1 = __webpack_require__(
|
|
4934
|
+
var variables_1 = __webpack_require__(14);
|
|
5015
4935
|
|
|
5016
|
-
var PresetPalettes_1 = __webpack_require__(
|
|
4936
|
+
var PresetPalettes_1 = __webpack_require__(81);
|
|
5017
4937
|
|
|
5018
|
-
var visualization_icons_1 = __webpack_require__(
|
|
4938
|
+
var visualization_icons_1 = __webpack_require__(72);
|
|
5019
4939
|
|
|
5020
|
-
var placeholders_1 = __webpack_require__(
|
|
4940
|
+
var placeholders_1 = __webpack_require__(71);
|
|
5021
4941
|
|
|
5022
4942
|
var configUtils_1 = __webpack_require__(29);
|
|
5023
4943
|
|
|
5024
|
-
var StaticMajorAndTrendLayout_1 = __webpack_require__(
|
|
4944
|
+
var StaticMajorAndTrendLayout_1 = __webpack_require__(123);
|
|
5025
4945
|
|
|
5026
|
-
var VizBehavior_1 = __webpack_require__(
|
|
4946
|
+
var VizBehavior_1 = __webpack_require__(8);
|
|
5027
4947
|
|
|
5028
4948
|
var configUtils_2 = __webpack_require__(27);
|
|
5029
4949
|
|
|
5030
|
-
var VizCategory_1 = __webpack_require__(
|
|
4950
|
+
var VizCategory_1 = __webpack_require__(23);
|
|
5031
4951
|
|
|
5032
|
-
var DynamicMajorColorAndGaugeEditor_1 = __webpack_require__(
|
|
4952
|
+
var DynamicMajorColorAndGaugeEditor_1 = __webpack_require__(495);
|
|
5033
4953
|
|
|
5034
|
-
var DynamicTrendColorEditor_1 = __webpack_require__(
|
|
4954
|
+
var DynamicTrendColorEditor_1 = __webpack_require__(121);
|
|
5035
4955
|
|
|
5036
|
-
var DynamicBackgroundColorEditor_1 = __webpack_require__(
|
|
4956
|
+
var DynamicBackgroundColorEditor_1 = __webpack_require__(122);
|
|
5037
4957
|
|
|
5038
|
-
var StaticMajorColorEditor_1 = __webpack_require__(
|
|
4958
|
+
var StaticMajorColorEditor_1 = __webpack_require__(124);
|
|
5039
4959
|
|
|
5040
|
-
var StaticTrendColorEditor_1 = __webpack_require__(
|
|
4960
|
+
var StaticTrendColorEditor_1 = __webpack_require__(125);
|
|
5041
4961
|
|
|
5042
|
-
var StaticBackgroundColorEditor_1 = __webpack_require__(
|
|
4962
|
+
var StaticBackgroundColorEditor_1 = __webpack_require__(112);
|
|
5043
4963
|
|
|
5044
|
-
var RadialBackgroundColor_1 = __webpack_require__(
|
|
4964
|
+
var RadialBackgroundColor_1 = __webpack_require__(496);
|
|
5045
4965
|
|
|
5046
|
-
var TrellisEditors_1 = __webpack_require__(
|
|
5047
|
-
|
|
5048
|
-
var layoutUtils_1 = __webpack_require__(80);
|
|
4966
|
+
var TrellisEditors_1 = __webpack_require__(126);
|
|
5049
4967
|
|
|
5050
4968
|
var dataContract = {
|
|
5051
4969
|
requiredDataSources: [{
|
|
@@ -5096,165 +5014,6 @@ var defaultContext = {
|
|
|
5096
5014
|
value: '#1C6B2D'
|
|
5097
5015
|
}]
|
|
5098
5016
|
};
|
|
5099
|
-
var optionsSchema = {
|
|
5100
|
-
backgroundColor: {
|
|
5101
|
-
default: '> themes.defaultBackgroundColor',
|
|
5102
|
-
description: 'Specify the color for the background. The hex value format should be “#ffffff”. The default for enterprise light is "#ffffff". The default for enterprise dark is "#000000". The default for prisma dark is "#0b0c0e".',
|
|
5103
|
-
pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
|
|
5104
|
-
type: 'string'
|
|
5105
|
-
},
|
|
5106
|
-
gaugeRanges: {
|
|
5107
|
-
default: '> majorColorEditorConfig',
|
|
5108
|
-
description: 'Specify the overall range of the gauge as a series of continuous, color-coded subranges. For example, [{"to": 20, "value": "#4BEBA8"}, {"from": 20, "to": 50, "value": "#D41F1F"}, {"from": 50, "value": "#F4DF7A"}]. Must be unbounded, open ranges. Ranges are bound by a separate minValue/maxValue option. Only configured if isGaugeOn is true.',
|
|
5109
|
-
type: 'array',
|
|
5110
|
-
items: {
|
|
5111
|
-
type: 'object',
|
|
5112
|
-
properties: {
|
|
5113
|
-
from: {
|
|
5114
|
-
type: 'number'
|
|
5115
|
-
},
|
|
5116
|
-
to: {
|
|
5117
|
-
type: 'number'
|
|
5118
|
-
},
|
|
5119
|
-
value: {
|
|
5120
|
-
type: 'string',
|
|
5121
|
-
pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA
|
|
5122
|
-
}
|
|
5123
|
-
}
|
|
5124
|
-
}
|
|
5125
|
-
},
|
|
5126
|
-
isGaugeOn: {
|
|
5127
|
-
default: false,
|
|
5128
|
-
description: 'Specify if gauge is on.',
|
|
5129
|
-
type: 'boolean'
|
|
5130
|
-
},
|
|
5131
|
-
majorColor: {
|
|
5132
|
-
default: '> themes.defaultFontColor',
|
|
5133
|
-
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)".',
|
|
5134
|
-
pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
|
|
5135
|
-
type: 'string'
|
|
5136
|
-
},
|
|
5137
|
-
majorValue: {
|
|
5138
|
-
default: '> primary | seriesByPrioritizedTypes("number", "string", "time") | lastPoint()',
|
|
5139
|
-
description: 'Specify the dataSource applied to the major value.',
|
|
5140
|
-
type: ['string', 'number']
|
|
5141
|
-
},
|
|
5142
|
-
majorValueField: {
|
|
5143
|
-
default: '> majorValue | getField()',
|
|
5144
|
-
description: 'Specify the field that should be mapped to the major value.',
|
|
5145
|
-
type: 'string'
|
|
5146
|
-
},
|
|
5147
|
-
minValue: {
|
|
5148
|
-
default: 0,
|
|
5149
|
-
description: 'Specify the min value of the radial.',
|
|
5150
|
-
type: 'number'
|
|
5151
|
-
},
|
|
5152
|
-
maxValue: {
|
|
5153
|
-
default: 100,
|
|
5154
|
-
description: 'Specify the value the radial fills up to.',
|
|
5155
|
-
type: 'number'
|
|
5156
|
-
},
|
|
5157
|
-
numberPrecision: {
|
|
5158
|
-
default: 0,
|
|
5159
|
-
maximum: 20,
|
|
5160
|
-
minimum: 0,
|
|
5161
|
-
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.',
|
|
5162
|
-
type: 'number'
|
|
5163
|
-
},
|
|
5164
|
-
radialBackgroundColor: {
|
|
5165
|
-
default: '> themes.defaultRadialBackgroundColor',
|
|
5166
|
-
description: 'Specify the color for the radial background. The hex value format should be “#ffffff”. The default for enterprise light is "rgba(0, 0, 0, 0.1)". The default for enterprise dark is "rgba(255, 255, 255, 0.15)". The default for prisma dark is "rgba(255, 255, 255, 0.15)".',
|
|
5167
|
-
pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
|
|
5168
|
-
type: 'string'
|
|
5169
|
-
},
|
|
5170
|
-
radialStrokeColor: {
|
|
5171
|
-
default: '> majorColor',
|
|
5172
|
-
description: 'Specify the color for the radial. 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)".',
|
|
5173
|
-
pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
|
|
5174
|
-
type: 'string'
|
|
5175
|
-
},
|
|
5176
|
-
shouldAbbreviateTrendValue: {
|
|
5177
|
-
default: false,
|
|
5178
|
-
description: 'Specify whether to abbreviate the trend value to 2 decimal points. A magnitude unit will be displayed.',
|
|
5179
|
-
type: 'boolean'
|
|
5180
|
-
},
|
|
5181
|
-
shouldUseThousandSeparators: {
|
|
5182
|
-
default: true,
|
|
5183
|
-
description: 'Specify whether numeric values use commas as thousandths separaters.',
|
|
5184
|
-
type: 'boolean'
|
|
5185
|
-
},
|
|
5186
|
-
splitByLayout: {
|
|
5187
|
-
default: 'off',
|
|
5188
|
-
description: 'Specify the layout method by which to display the visualization, which splits the data into individual visualizations based on a certain category.',
|
|
5189
|
-
type: 'string',
|
|
5190
|
-
pattern: (0, schemaUtils_1.getPattern)([layoutUtils_1.LAYOUT_TYPE.Off, layoutUtils_1.LAYOUT_TYPE.Trellis]),
|
|
5191
|
-
enum: [layoutUtils_1.LAYOUT_TYPE.Off, layoutUtils_1.LAYOUT_TYPE.Trellis]
|
|
5192
|
-
},
|
|
5193
|
-
trendColor: {
|
|
5194
|
-
default: '> themes.defaultFontColor',
|
|
5195
|
-
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)".',
|
|
5196
|
-
pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
|
|
5197
|
-
type: 'string'
|
|
5198
|
-
},
|
|
5199
|
-
trendDisplay: {
|
|
5200
|
-
default: 'absolute',
|
|
5201
|
-
description: 'Specify how to display the trend value.',
|
|
5202
|
-
pattern: (0, schemaUtils_1.getPattern)(['percent', 'absolute', 'off']),
|
|
5203
|
-
type: 'string'
|
|
5204
|
-
},
|
|
5205
|
-
trendValue: {
|
|
5206
|
-
default: '> primary | seriesByPrioritizedTypes("number", "string", "time") | delta(-2)',
|
|
5207
|
-
description: 'Specify the dataSource applied to the trend value.',
|
|
5208
|
-
type: 'number'
|
|
5209
|
-
},
|
|
5210
|
-
trellisBackgroundColor: {
|
|
5211
|
-
default: '> themes.defaultBackgroundColor',
|
|
5212
|
-
description: 'Specify the color used for the trellis container background by using a hexadecimal code. For example, #0000FF.',
|
|
5213
|
-
pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
|
|
5214
|
-
type: 'string'
|
|
5215
|
-
},
|
|
5216
|
-
trellisColumns: {
|
|
5217
|
-
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.',
|
|
5218
|
-
type: 'number',
|
|
5219
|
-
minimum: 1
|
|
5220
|
-
},
|
|
5221
|
-
trellisMinColumnWidth: {
|
|
5222
|
-
default: 100,
|
|
5223
|
-
minimum: 1,
|
|
5224
|
-
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.',
|
|
5225
|
-
type: 'number'
|
|
5226
|
-
},
|
|
5227
|
-
trellisPageCount: {
|
|
5228
|
-
default: 20,
|
|
5229
|
-
minimum: 1,
|
|
5230
|
-
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.',
|
|
5231
|
-
type: 'number'
|
|
5232
|
-
},
|
|
5233
|
-
trellisRowHeight: {
|
|
5234
|
-
default: 70,
|
|
5235
|
-
minimum: 1,
|
|
5236
|
-
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.',
|
|
5237
|
-
type: 'number'
|
|
5238
|
-
},
|
|
5239
|
-
trellisSplitBy: {
|
|
5240
|
-
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.',
|
|
5241
|
-
type: 'string'
|
|
5242
|
-
},
|
|
5243
|
-
underLabel: {
|
|
5244
|
-
description: 'Specify the text that appears below the major value.',
|
|
5245
|
-
type: 'string'
|
|
5246
|
-
},
|
|
5247
|
-
unit: {
|
|
5248
|
-
description: 'Specify text to show next to the major value.',
|
|
5249
|
-
type: 'string'
|
|
5250
|
-
},
|
|
5251
|
-
unitPosition: {
|
|
5252
|
-
default: 'after',
|
|
5253
|
-
description: 'Specify whether the unit text should appear before or after the major value.',
|
|
5254
|
-
pattern: (0, schemaUtils_1.getPattern)(['before', 'after']),
|
|
5255
|
-
type: 'string'
|
|
5256
|
-
}
|
|
5257
|
-
};
|
|
5258
5017
|
var basePresetContext = {
|
|
5259
5018
|
majorColorEditorConfig: undefined,
|
|
5260
5019
|
trendColorEditorConfig: undefined,
|
|
@@ -5371,7 +5130,7 @@ var editorConfig = [{
|
|
|
5371
5130
|
},
|
|
5372
5131
|
isDisabled: function isDisabled(_ref) {
|
|
5373
5132
|
var options = _ref.options;
|
|
5374
|
-
return options.splitByLayout ===
|
|
5133
|
+
return options.splitByLayout === visualization_schemas_1.LAYOUT_TYPE.Trellis;
|
|
5375
5134
|
}
|
|
5376
5135
|
}]]
|
|
5377
5136
|
}, {
|
|
@@ -5481,7 +5240,7 @@ var config = {
|
|
|
5481
5240
|
dataContract: dataContract,
|
|
5482
5241
|
size: size,
|
|
5483
5242
|
defaultContext: defaultContext,
|
|
5484
|
-
optionsSchema:
|
|
5243
|
+
optionsSchema: visualization_schemas_1.singleValueRadialOptionsSchema,
|
|
5485
5244
|
editorConfig: editorConfig,
|
|
5486
5245
|
events: {
|
|
5487
5246
|
'value.click': {
|
|
@@ -5496,7 +5255,7 @@ exports.default = (0, configUtils_2.enhanceConfig)(config);
|
|
|
5496
5255
|
|
|
5497
5256
|
/***/ }),
|
|
5498
5257
|
|
|
5499
|
-
/***/
|
|
5258
|
+
/***/ 495:
|
|
5500
5259
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
5501
5260
|
|
|
5502
5261
|
"use strict";
|
|
@@ -5541,19 +5300,7 @@ var getDynamicMajorColorAndGaugeEditor = function getDynamicMajorColorAndGaugeEd
|
|
|
5541
5300
|
|
|
5542
5301
|
/***/ }),
|
|
5543
5302
|
|
|
5544
|
-
/***/
|
|
5545
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
5546
|
-
|
|
5547
|
-
"use strict";
|
|
5548
|
-
|
|
5549
|
-
|
|
5550
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5551
|
-
value: true
|
|
5552
|
-
});
|
|
5553
|
-
|
|
5554
|
-
/***/ }),
|
|
5555
|
-
|
|
5556
|
-
/***/ 500:
|
|
5303
|
+
/***/ 496:
|
|
5557
5304
|
/***/ (function(module, exports, __webpack_require__) {
|
|
5558
5305
|
|
|
5559
5306
|
"use strict";
|
|
@@ -5584,6 +5331,18 @@ exports.default = radialBackground;
|
|
|
5584
5331
|
|
|
5585
5332
|
/***/ }),
|
|
5586
5333
|
|
|
5334
|
+
/***/ 50:
|
|
5335
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
5336
|
+
|
|
5337
|
+
"use strict";
|
|
5338
|
+
|
|
5339
|
+
|
|
5340
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5341
|
+
value: true
|
|
5342
|
+
});
|
|
5343
|
+
|
|
5344
|
+
/***/ }),
|
|
5345
|
+
|
|
5587
5346
|
/***/ 51:
|
|
5588
5347
|
/***/ (function(module, exports, __webpack_require__) {
|
|
5589
5348
|
|
|
@@ -5596,7 +5355,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5596
5355
|
|
|
5597
5356
|
/***/ }),
|
|
5598
5357
|
|
|
5599
|
-
/***/
|
|
5358
|
+
/***/ 512:
|
|
5600
5359
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
5601
5360
|
|
|
5602
5361
|
"use strict";
|
|
@@ -5604,11 +5363,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5604
5363
|
__webpack_require__.r(__webpack_exports__);
|
|
5605
5364
|
|
|
5606
5365
|
// EXTERNAL MODULE: external "@babel/runtime/helpers/slicedToArray"
|
|
5607
|
-
var slicedToArray_ = __webpack_require__(
|
|
5366
|
+
var slicedToArray_ = __webpack_require__(6);
|
|
5608
5367
|
var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray_);
|
|
5609
5368
|
|
|
5610
5369
|
// EXTERNAL MODULE: external "@babel/runtime/helpers/extends"
|
|
5611
|
-
var extends_ = __webpack_require__(
|
|
5370
|
+
var extends_ = __webpack_require__(69);
|
|
5612
5371
|
var extends_default = /*#__PURE__*/__webpack_require__.n(extends_);
|
|
5613
5372
|
|
|
5614
5373
|
// EXTERNAL MODULE: external "react"
|
|
@@ -5624,7 +5383,7 @@ var pick_ = __webpack_require__(30);
|
|
|
5624
5383
|
var pick_default = /*#__PURE__*/__webpack_require__.n(pick_);
|
|
5625
5384
|
|
|
5626
5385
|
// EXTERNAL MODULE: external "@splunk/themes/variables"
|
|
5627
|
-
var variables_ = __webpack_require__(
|
|
5386
|
+
var variables_ = __webpack_require__(14);
|
|
5628
5387
|
var variables_default = /*#__PURE__*/__webpack_require__.n(variables_);
|
|
5629
5388
|
|
|
5630
5389
|
// EXTERNAL MODULE: external "styled-components"
|
|
@@ -5639,30 +5398,30 @@ var FeatureFlagContext_ = __webpack_require__(28);
|
|
|
5639
5398
|
var FeatureFlagContext_default = /*#__PURE__*/__webpack_require__.n(FeatureFlagContext_);
|
|
5640
5399
|
|
|
5641
5400
|
// EXTERNAL MODULE: external "@splunk/visualizations-shared/style"
|
|
5642
|
-
var style_ = __webpack_require__(
|
|
5401
|
+
var style_ = __webpack_require__(19);
|
|
5643
5402
|
|
|
5644
5403
|
// EXTERNAL MODULE: external "@splunk/visualizations-shared/SizeAwareWrapper"
|
|
5645
5404
|
var SizeAwareWrapper_ = __webpack_require__(26);
|
|
5646
5405
|
var SizeAwareWrapper_default = /*#__PURE__*/__webpack_require__.n(SizeAwareWrapper_);
|
|
5647
5406
|
|
|
5407
|
+
// EXTERNAL MODULE: external "@splunk/visualization-schemas"
|
|
5408
|
+
var visualization_schemas_ = __webpack_require__(10);
|
|
5409
|
+
|
|
5648
5410
|
// EXTERNAL MODULE: ./src/common/components/VizStyleWrapper.jsx
|
|
5649
|
-
var VizStyleWrapper = __webpack_require__(
|
|
5411
|
+
var VizStyleWrapper = __webpack_require__(94);
|
|
5650
5412
|
|
|
5651
5413
|
// EXTERNAL MODULE: ./src/common/components/TrellisTitle.tsx
|
|
5652
|
-
var TrellisTitle = __webpack_require__(
|
|
5653
|
-
|
|
5654
|
-
// EXTERNAL MODULE: ./src/common/utils/layoutUtils.ts
|
|
5655
|
-
var layoutUtils = __webpack_require__(80);
|
|
5414
|
+
var TrellisTitle = __webpack_require__(100);
|
|
5656
5415
|
|
|
5657
5416
|
// EXTERNAL MODULE: external "@babel/runtime/helpers/defineProperty"
|
|
5658
|
-
var defineProperty_ = __webpack_require__(
|
|
5417
|
+
var defineProperty_ = __webpack_require__(13);
|
|
5659
5418
|
var defineProperty_default = /*#__PURE__*/__webpack_require__.n(defineProperty_);
|
|
5660
5419
|
|
|
5661
5420
|
// EXTERNAL MODULE: ./src/SingleValueBasic/SingleValueBasic.jsx + 2 modules
|
|
5662
|
-
var SingleValueBasic = __webpack_require__(
|
|
5421
|
+
var SingleValueBasic = __webpack_require__(102);
|
|
5663
5422
|
|
|
5664
5423
|
// EXTERNAL MODULE: external "@splunk/visualizations-shared/colorConstants"
|
|
5665
|
-
var colorConstants_ = __webpack_require__(
|
|
5424
|
+
var colorConstants_ = __webpack_require__(70);
|
|
5666
5425
|
|
|
5667
5426
|
// CONCATENATED MODULE: ./src/SingleValueRadial/PureSingleValueRadial/RadialGraph.jsx
|
|
5668
5427
|
|
|
@@ -5704,6 +5463,7 @@ var RadialGraph_RadialGraph = function RadialGraph(_ref) {
|
|
|
5704
5463
|
cy: semicircleRadius + strokeWidth / 2
|
|
5705
5464
|
}), /*#__PURE__*/external_react_default.a.createElement("circle", {
|
|
5706
5465
|
"data-test": "progress-radial",
|
|
5466
|
+
"data-test-value": progress,
|
|
5707
5467
|
stroke: progressColor,
|
|
5708
5468
|
fill: "transparent",
|
|
5709
5469
|
strokeWidth: strokeWidth,
|
|
@@ -5731,10 +5491,10 @@ RadialGraph_RadialGraph.defaultProps = {
|
|
|
5731
5491
|
};
|
|
5732
5492
|
/* harmony default export */ var PureSingleValueRadial_RadialGraph = (RadialGraph_RadialGraph);
|
|
5733
5493
|
// EXTERNAL MODULE: ./src/SingleValueRadial/PureSingleValueRadial/utils/displayUtils.js
|
|
5734
|
-
var displayUtils = __webpack_require__(
|
|
5494
|
+
var displayUtils = __webpack_require__(101);
|
|
5735
5495
|
|
|
5736
5496
|
// EXTERNAL MODULE: ./src/SingleValueRadial/PureSingleValueRadial/GaugeGraph.tsx
|
|
5737
|
-
var GaugeGraph = __webpack_require__(
|
|
5497
|
+
var GaugeGraph = __webpack_require__(195);
|
|
5738
5498
|
var GaugeGraph_default = /*#__PURE__*/__webpack_require__.n(GaugeGraph);
|
|
5739
5499
|
|
|
5740
5500
|
// CONCATENATED MODULE: ./src/SingleValueRadial/PureSingleValueRadial/RadialLayout.jsx
|
|
@@ -5957,7 +5717,7 @@ RadialLayout_RadialContent.propTypes = _objectSpread(_objectSpread({}, SingleVal
|
|
|
5957
5717
|
var singleValueUtils = __webpack_require__(20);
|
|
5958
5718
|
|
|
5959
5719
|
// EXTERNAL MODULE: ./src/SingleValueRadial/PureSingleValueRadial/utils/gaugeUtils.ts
|
|
5960
|
-
var gaugeUtils = __webpack_require__(
|
|
5720
|
+
var gaugeUtils = __webpack_require__(116);
|
|
5961
5721
|
|
|
5962
5722
|
// CONCATENATED MODULE: ./src/SingleValueRadial/PureSingleValueRadial/SingleValueRadial.jsx
|
|
5963
5723
|
|
|
@@ -6056,7 +5816,7 @@ var SingleValueRadial_SingleValueRadial = function SingleValueRadial(_ref) {
|
|
|
6056
5816
|
var radialStrokeColor = props.radialStrokeColor || radialColors.stroke;
|
|
6057
5817
|
var featureFlagContext = external_react_["useContext"](FeatureFlagContext_default.a);
|
|
6058
5818
|
var isTrellisFeatureFlagOn = Boolean(featureFlagContext && featureFlagContext.visualizations_enableTrellis);
|
|
6059
|
-
var trellisEnabled = isTrellisFeatureFlagOn && splitByLayout ===
|
|
5819
|
+
var trellisEnabled = isTrellisFeatureFlagOn && splitByLayout === visualization_schemas_["LAYOUT_TYPE"].Trellis;
|
|
6060
5820
|
var handleValueClick = Object(external_react_["useCallback"])(function (ev) {
|
|
6061
5821
|
return Object(singleValueUtils["handleValueClickCallback"])(ev, majorValue, majorValueField, trendValue, onValueClick, trellisEnabled, trellisSplitBy, trellisKey);
|
|
6062
5822
|
}, [onValueClick, majorValue, majorValueField, trendValue, trellisEnabled, trellisSplitBy, trellisKey]);
|
|
@@ -6290,19 +6050,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6290
6050
|
"use strict";
|
|
6291
6051
|
|
|
6292
6052
|
|
|
6293
|
-
|
|
6294
|
-
value: true
|
|
6295
|
-
});
|
|
6296
|
-
|
|
6297
|
-
/***/ }),
|
|
6298
|
-
|
|
6299
|
-
/***/ 56:
|
|
6300
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
6301
|
-
|
|
6302
|
-
"use strict";
|
|
6303
|
-
|
|
6304
|
-
|
|
6305
|
-
var _slicedToArray = __webpack_require__(7);
|
|
6053
|
+
var _slicedToArray = __webpack_require__(6);
|
|
6306
6054
|
|
|
6307
6055
|
Object.defineProperty(exports, "__esModule", {
|
|
6308
6056
|
value: true
|
|
@@ -6312,15 +6060,15 @@ var React = __webpack_require__(0);
|
|
|
6312
6060
|
|
|
6313
6061
|
var lodash_1 = __webpack_require__(3);
|
|
6314
6062
|
|
|
6315
|
-
var getSettingsFromThemedProps_1 = __webpack_require__(
|
|
6063
|
+
var getSettingsFromThemedProps_1 = __webpack_require__(56);
|
|
6316
6064
|
|
|
6317
|
-
var Options_1 = __webpack_require__(
|
|
6065
|
+
var Options_1 = __webpack_require__(17);
|
|
6318
6066
|
|
|
6319
|
-
var SanitizeProps_1 = __webpack_require__(
|
|
6067
|
+
var SanitizeProps_1 = __webpack_require__(57);
|
|
6320
6068
|
|
|
6321
6069
|
var TimezoneContext_1 = __webpack_require__(32);
|
|
6322
6070
|
|
|
6323
|
-
var moment_1 = __webpack_require__(
|
|
6071
|
+
var moment_1 = __webpack_require__(58);
|
|
6324
6072
|
|
|
6325
6073
|
var FeatureFlagContext_1 = __webpack_require__(28);
|
|
6326
6074
|
|
|
@@ -6330,31 +6078,31 @@ var hocUtils_1 = __webpack_require__(34);
|
|
|
6330
6078
|
|
|
6331
6079
|
var JSONSchemaUtils_1 = __webpack_require__(35);
|
|
6332
6080
|
|
|
6333
|
-
var async_dynamic_options_evaluator_1 = __webpack_require__(
|
|
6081
|
+
var async_dynamic_options_evaluator_1 = __webpack_require__(59);
|
|
6334
6082
|
|
|
6335
6083
|
var id_1 = __webpack_require__(31);
|
|
6336
6084
|
|
|
6337
|
-
var SplunkVisualization_1 = __webpack_require__(
|
|
6085
|
+
var SplunkVisualization_1 = __webpack_require__(60);
|
|
6338
6086
|
|
|
6339
|
-
var VizBehavior_1 = __webpack_require__(
|
|
6087
|
+
var VizBehavior_1 = __webpack_require__(8);
|
|
6340
6088
|
|
|
6341
6089
|
var getSorting_1 = __webpack_require__(38);
|
|
6342
6090
|
|
|
6343
6091
|
var getPagination_1 = __webpack_require__(39);
|
|
6344
6092
|
|
|
6345
|
-
var useDeepMemo_1 = __webpack_require__(
|
|
6093
|
+
var useDeepMemo_1 = __webpack_require__(61);
|
|
6346
6094
|
|
|
6347
|
-
var MissingPropsMessage_1 = __webpack_require__(
|
|
6095
|
+
var MissingPropsMessage_1 = __webpack_require__(62);
|
|
6348
6096
|
|
|
6349
|
-
var withEditModeCover_1 = __webpack_require__(
|
|
6097
|
+
var withEditModeCover_1 = __webpack_require__(63);
|
|
6350
6098
|
|
|
6351
|
-
var withPlaceholder_1 = __webpack_require__(
|
|
6099
|
+
var withPlaceholder_1 = __webpack_require__(64);
|
|
6352
6100
|
|
|
6353
|
-
var useDownsampleDataSources_1 = __webpack_require__(
|
|
6101
|
+
var useDownsampleDataSources_1 = __webpack_require__(65);
|
|
6354
6102
|
|
|
6355
|
-
var dataUtils_1 = __webpack_require__(
|
|
6103
|
+
var dataUtils_1 = __webpack_require__(15);
|
|
6356
6104
|
|
|
6357
|
-
var featureFlagUtils_1 = __webpack_require__(
|
|
6105
|
+
var featureFlagUtils_1 = __webpack_require__(67);
|
|
6358
6106
|
/**
|
|
6359
6107
|
* hoc that wraps a pure react visualization in a Dashboard visualization
|
|
6360
6108
|
* @param {DashboardVizOpts} opts
|
|
@@ -6687,81 +6435,48 @@ exports.default = withDashboardViz;
|
|
|
6687
6435
|
|
|
6688
6436
|
/***/ }),
|
|
6689
6437
|
|
|
6690
|
-
/***/
|
|
6438
|
+
/***/ 56:
|
|
6691
6439
|
/***/ (function(module, exports) {
|
|
6692
6440
|
|
|
6693
6441
|
module.exports = require("@splunk/themes/getSettingsFromThemedProps");
|
|
6694
6442
|
|
|
6695
6443
|
/***/ }),
|
|
6696
6444
|
|
|
6697
|
-
/***/
|
|
6445
|
+
/***/ 57:
|
|
6698
6446
|
/***/ (function(module, exports) {
|
|
6699
6447
|
|
|
6700
6448
|
module.exports = require("@splunk/visualizations-shared/SanitizeProps");
|
|
6701
6449
|
|
|
6702
6450
|
/***/ }),
|
|
6703
6451
|
|
|
6704
|
-
/***/
|
|
6452
|
+
/***/ 58:
|
|
6705
6453
|
/***/ (function(module, exports) {
|
|
6706
6454
|
|
|
6707
6455
|
module.exports = require("@splunk/moment");
|
|
6708
6456
|
|
|
6709
6457
|
/***/ }),
|
|
6710
6458
|
|
|
6711
|
-
/***/
|
|
6712
|
-
/***/ (function(module, exports
|
|
6713
|
-
|
|
6714
|
-
"use strict";
|
|
6715
|
-
|
|
6716
|
-
|
|
6717
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6718
|
-
value: true
|
|
6719
|
-
});
|
|
6720
|
-
exports.VizBehavior = void 0;
|
|
6721
|
-
var VizBehavior;
|
|
6722
|
-
|
|
6723
|
-
(function (VizBehavior) {
|
|
6724
|
-
/**
|
|
6725
|
-
* Dynamic Options Behavior.
|
|
6726
|
-
* This allows visualization options to be powered by data
|
|
6727
|
-
*
|
|
6728
|
-
* **Example**
|
|
6729
|
-
*
|
|
6730
|
-
* sparklineValues: ">primary|seriesByIndex(0)"
|
|
6731
|
-
* would configure sparklineValues with an array of data points
|
|
6732
|
-
* coming from the first series in the primary datasource
|
|
6733
|
-
*
|
|
6734
|
-
*/
|
|
6735
|
-
VizBehavior["DYNAMIC_OPTIONS"] = "dynamic-options";
|
|
6736
|
-
VizBehavior["EVENTS"] = "events";
|
|
6737
|
-
VizBehavior["DOWNSAMPLING"] = "downsampling";
|
|
6738
|
-
/**
|
|
6739
|
-
* Placeholder behavior: visualization will display a placeholder rather than fail if any of the `requiredProps` is
|
|
6740
|
-
* missing.
|
|
6741
|
-
* @type {string}
|
|
6742
|
-
*/
|
|
6459
|
+
/***/ 59:
|
|
6460
|
+
/***/ (function(module, exports) {
|
|
6743
6461
|
|
|
6744
|
-
|
|
6745
|
-
VizBehavior["PAGE_AND_SORT"] = "page-and-sort";
|
|
6746
|
-
VizBehavior["TRELLIS"] = "trellis";
|
|
6747
|
-
})(VizBehavior = exports.VizBehavior || (exports.VizBehavior = {}));
|
|
6462
|
+
module.exports = require("@splunk/async-dynamic-options-evaluator");
|
|
6748
6463
|
|
|
6749
6464
|
/***/ }),
|
|
6750
6465
|
|
|
6751
|
-
/***/
|
|
6466
|
+
/***/ 6:
|
|
6752
6467
|
/***/ (function(module, exports) {
|
|
6753
6468
|
|
|
6754
|
-
module.exports = require("@
|
|
6469
|
+
module.exports = require("@babel/runtime/helpers/slicedToArray");
|
|
6755
6470
|
|
|
6756
6471
|
/***/ }),
|
|
6757
6472
|
|
|
6758
|
-
/***/
|
|
6473
|
+
/***/ 60:
|
|
6759
6474
|
/***/ (function(module, exports, __webpack_require__) {
|
|
6760
6475
|
|
|
6761
6476
|
"use strict";
|
|
6762
6477
|
|
|
6763
6478
|
|
|
6764
|
-
var _classCallCheck = __webpack_require__(
|
|
6479
|
+
var _classCallCheck = __webpack_require__(9);
|
|
6765
6480
|
|
|
6766
6481
|
Object.defineProperty(exports, "__esModule", {
|
|
6767
6482
|
value: true
|
|
@@ -6773,7 +6488,7 @@ var T = __webpack_require__(1);
|
|
|
6773
6488
|
|
|
6774
6489
|
var lodash_1 = __webpack_require__(3);
|
|
6775
6490
|
|
|
6776
|
-
var VizActionHandler_1 = __webpack_require__(
|
|
6491
|
+
var VizActionHandler_1 = __webpack_require__(22); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
|
|
6777
6492
|
|
|
6778
6493
|
|
|
6779
6494
|
exports.INITIAL_WIDTH = 250;
|
|
@@ -6907,7 +6622,7 @@ exports.default = SplunkVisualization;
|
|
|
6907
6622
|
|
|
6908
6623
|
/***/ }),
|
|
6909
6624
|
|
|
6910
|
-
/***/
|
|
6625
|
+
/***/ 61:
|
|
6911
6626
|
/***/ (function(module, exports, __webpack_require__) {
|
|
6912
6627
|
|
|
6913
6628
|
"use strict";
|
|
@@ -6953,7 +6668,7 @@ exports.useDeepMemo = useDeepMemo;
|
|
|
6953
6668
|
|
|
6954
6669
|
/***/ }),
|
|
6955
6670
|
|
|
6956
|
-
/***/
|
|
6671
|
+
/***/ 62:
|
|
6957
6672
|
/***/ (function(module, exports, __webpack_require__) {
|
|
6958
6673
|
|
|
6959
6674
|
"use strict";
|
|
@@ -6972,7 +6687,7 @@ var i18n_1 = __webpack_require__(2);
|
|
|
6972
6687
|
|
|
6973
6688
|
var Message_1 = __webpack_require__(12);
|
|
6974
6689
|
|
|
6975
|
-
var FixedSizeContainer_1 = __webpack_require__(
|
|
6690
|
+
var FixedSizeContainer_1 = __webpack_require__(18);
|
|
6976
6691
|
/**
|
|
6977
6692
|
* @method isMissing
|
|
6978
6693
|
* @param {any} v
|
|
@@ -7034,7 +6749,7 @@ exports.default = (0, FixedSizeContainer_1.default)(exports.MissingPropsMessage)
|
|
|
7034
6749
|
|
|
7035
6750
|
/***/ }),
|
|
7036
6751
|
|
|
7037
|
-
/***/
|
|
6752
|
+
/***/ 63:
|
|
7038
6753
|
/***/ (function(module, exports, __webpack_require__) {
|
|
7039
6754
|
|
|
7040
6755
|
"use strict";
|
|
@@ -7048,14 +6763,14 @@ var React = __webpack_require__(0);
|
|
|
7048
6763
|
|
|
7049
6764
|
var styled_components_1 = __webpack_require__(4);
|
|
7050
6765
|
|
|
7051
|
-
var hocUtils_1 = __webpack_require__(
|
|
6766
|
+
var hocUtils_1 = __webpack_require__(24);
|
|
7052
6767
|
|
|
7053
6768
|
var Cover = styled_components_1.default.div.withConfig({
|
|
7054
6769
|
displayName: "withEditModeCover__Cover",
|
|
7055
6770
|
componentId: "sc-1gsbnxb-0"
|
|
7056
6771
|
})(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
|
|
7057
6772
|
var Blocker = styled_components_1.default.div.attrs({
|
|
7058
|
-
'data-splunk-visualization-version': "26.
|
|
6773
|
+
'data-splunk-visualization-version': "26.3.0 - a1ef240a6"
|
|
7059
6774
|
}).withConfig({
|
|
7060
6775
|
displayName: "withEditModeCover__Blocker",
|
|
7061
6776
|
componentId: "sc-1gsbnxb-1"
|
|
@@ -7087,7 +6802,7 @@ exports.default = withEditModeCover;
|
|
|
7087
6802
|
|
|
7088
6803
|
/***/ }),
|
|
7089
6804
|
|
|
7090
|
-
/***/
|
|
6805
|
+
/***/ 64:
|
|
7091
6806
|
/***/ (function(module, exports, __webpack_require__) {
|
|
7092
6807
|
|
|
7093
6808
|
"use strict";
|
|
@@ -7099,15 +6814,15 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7099
6814
|
|
|
7100
6815
|
var React = __webpack_require__(0);
|
|
7101
6816
|
|
|
7102
|
-
var colorUtils_1 = __webpack_require__(
|
|
6817
|
+
var colorUtils_1 = __webpack_require__(16);
|
|
7103
6818
|
|
|
7104
|
-
var variables_1 = __webpack_require__(
|
|
6819
|
+
var variables_1 = __webpack_require__(14);
|
|
7105
6820
|
|
|
7106
6821
|
var IconPlaceholder_1 = __webpack_require__(37);
|
|
7107
6822
|
|
|
7108
|
-
var VizBehavior_1 = __webpack_require__(
|
|
6823
|
+
var VizBehavior_1 = __webpack_require__(8);
|
|
7109
6824
|
|
|
7110
|
-
var hocUtils_1 = __webpack_require__(
|
|
6825
|
+
var hocUtils_1 = __webpack_require__(24);
|
|
7111
6826
|
|
|
7112
6827
|
var withPlaceholder = function withPlaceholder(Visualization) {
|
|
7113
6828
|
var useIconPlaceholder = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : IconPlaceholder_1.shouldShowIconPlaceholder;
|
|
@@ -7152,13 +6867,13 @@ exports.default = withPlaceholder;
|
|
|
7152
6867
|
|
|
7153
6868
|
/***/ }),
|
|
7154
6869
|
|
|
7155
|
-
/***/
|
|
6870
|
+
/***/ 65:
|
|
7156
6871
|
/***/ (function(module, exports, __webpack_require__) {
|
|
7157
6872
|
|
|
7158
6873
|
"use strict";
|
|
7159
6874
|
|
|
7160
6875
|
|
|
7161
|
-
var _slicedToArray = __webpack_require__(
|
|
6876
|
+
var _slicedToArray = __webpack_require__(6);
|
|
7162
6877
|
|
|
7163
6878
|
Object.defineProperty(exports, "__esModule", {
|
|
7164
6879
|
value: true
|
|
@@ -7168,11 +6883,11 @@ var react_1 = __webpack_require__(0);
|
|
|
7168
6883
|
|
|
7169
6884
|
var lodash_1 = __webpack_require__(3);
|
|
7170
6885
|
|
|
7171
|
-
var dataUtils_1 = __webpack_require__(
|
|
6886
|
+
var dataUtils_1 = __webpack_require__(15);
|
|
7172
6887
|
|
|
7173
6888
|
var usePrevious_1 = __webpack_require__(33);
|
|
7174
6889
|
|
|
7175
|
-
var useGetXAndYFields_1 = __webpack_require__(
|
|
6890
|
+
var useGetXAndYFields_1 = __webpack_require__(66);
|
|
7176
6891
|
|
|
7177
6892
|
var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
|
|
7178
6893
|
var dataSources = _ref.dataSources,
|
|
@@ -7242,13 +6957,13 @@ exports.default = useDownsampleDataSources;
|
|
|
7242
6957
|
|
|
7243
6958
|
/***/ }),
|
|
7244
6959
|
|
|
7245
|
-
/***/
|
|
6960
|
+
/***/ 66:
|
|
7246
6961
|
/***/ (function(module, exports, __webpack_require__) {
|
|
7247
6962
|
|
|
7248
6963
|
"use strict";
|
|
7249
6964
|
|
|
7250
6965
|
|
|
7251
|
-
var _toConsumableArray = __webpack_require__(
|
|
6966
|
+
var _toConsumableArray = __webpack_require__(7);
|
|
7252
6967
|
|
|
7253
6968
|
Object.defineProperty(exports, "__esModule", {
|
|
7254
6969
|
value: true
|
|
@@ -7256,7 +6971,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7256
6971
|
|
|
7257
6972
|
var react_1 = __webpack_require__(0);
|
|
7258
6973
|
|
|
7259
|
-
var Options_1 = __webpack_require__(
|
|
6974
|
+
var Options_1 = __webpack_require__(17);
|
|
7260
6975
|
/**
|
|
7261
6976
|
* Hook that evaluates the DSL for subset of a viz's options needed to determine
|
|
7262
6977
|
* its x and y fields as well as the types of all its fields.
|
|
@@ -7357,7 +7072,7 @@ exports.default = useGetXAndYFields;
|
|
|
7357
7072
|
|
|
7358
7073
|
/***/ }),
|
|
7359
7074
|
|
|
7360
|
-
/***/
|
|
7075
|
+
/***/ 67:
|
|
7361
7076
|
/***/ (function(module, exports, __webpack_require__) {
|
|
7362
7077
|
|
|
7363
7078
|
"use strict";
|
|
@@ -7368,7 +7083,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7368
7083
|
});
|
|
7369
7084
|
exports.getFeatureFlag = void 0;
|
|
7370
7085
|
|
|
7371
|
-
var FeatureFlags_1 = __webpack_require__(
|
|
7086
|
+
var FeatureFlags_1 = __webpack_require__(68);
|
|
7372
7087
|
|
|
7373
7088
|
var getFeatureFlag = function getFeatureFlag(context, flagName) {
|
|
7374
7089
|
// look for feature flag in context first
|
|
@@ -7393,56 +7108,56 @@ exports.getFeatureFlag = getFeatureFlag;
|
|
|
7393
7108
|
|
|
7394
7109
|
/***/ }),
|
|
7395
7110
|
|
|
7396
|
-
/***/
|
|
7111
|
+
/***/ 68:
|
|
7397
7112
|
/***/ (function(module, exports) {
|
|
7398
7113
|
|
|
7399
7114
|
module.exports = require("@splunk/visualization-context/FeatureFlags");
|
|
7400
7115
|
|
|
7401
7116
|
/***/ }),
|
|
7402
7117
|
|
|
7403
|
-
/***/
|
|
7118
|
+
/***/ 69:
|
|
7404
7119
|
/***/ (function(module, exports) {
|
|
7405
7120
|
|
|
7406
|
-
module.exports = require("@babel/runtime/helpers/
|
|
7121
|
+
module.exports = require("@babel/runtime/helpers/extends");
|
|
7407
7122
|
|
|
7408
7123
|
/***/ }),
|
|
7409
7124
|
|
|
7410
|
-
/***/
|
|
7125
|
+
/***/ 7:
|
|
7411
7126
|
/***/ (function(module, exports) {
|
|
7412
7127
|
|
|
7413
|
-
module.exports = require("@babel/runtime/helpers/
|
|
7128
|
+
module.exports = require("@babel/runtime/helpers/toConsumableArray");
|
|
7414
7129
|
|
|
7415
7130
|
/***/ }),
|
|
7416
7131
|
|
|
7417
|
-
/***/
|
|
7132
|
+
/***/ 70:
|
|
7418
7133
|
/***/ (function(module, exports) {
|
|
7419
7134
|
|
|
7420
7135
|
module.exports = require("@splunk/visualizations-shared/colorConstants");
|
|
7421
7136
|
|
|
7422
7137
|
/***/ }),
|
|
7423
7138
|
|
|
7424
|
-
/***/
|
|
7139
|
+
/***/ 71:
|
|
7425
7140
|
/***/ (function(module, exports) {
|
|
7426
7141
|
|
|
7427
7142
|
module.exports = require("@splunk/visualization-icons/placeholders");
|
|
7428
7143
|
|
|
7429
7144
|
/***/ }),
|
|
7430
7145
|
|
|
7431
|
-
/***/
|
|
7146
|
+
/***/ 72:
|
|
7432
7147
|
/***/ (function(module, exports) {
|
|
7433
7148
|
|
|
7434
7149
|
module.exports = require("@splunk/visualization-icons");
|
|
7435
7150
|
|
|
7436
7151
|
/***/ }),
|
|
7437
7152
|
|
|
7438
|
-
/***/
|
|
7153
|
+
/***/ 74:
|
|
7439
7154
|
/***/ (function(module, exports) {
|
|
7440
7155
|
|
|
7441
7156
|
module.exports = require("@splunk/visualizations-shared/domUtils");
|
|
7442
7157
|
|
|
7443
7158
|
/***/ }),
|
|
7444
7159
|
|
|
7445
|
-
/***/
|
|
7160
|
+
/***/ 77:
|
|
7446
7161
|
/***/ (function(module, exports) {
|
|
7447
7162
|
|
|
7448
7163
|
module.exports = require("@splunk/themes/useSplunkTheme");
|
|
@@ -7450,13 +7165,6 @@ module.exports = require("@splunk/themes/useSplunkTheme");
|
|
|
7450
7165
|
/***/ }),
|
|
7451
7166
|
|
|
7452
7167
|
/***/ 8:
|
|
7453
|
-
/***/ (function(module, exports) {
|
|
7454
|
-
|
|
7455
|
-
module.exports = require("@babel/runtime/helpers/toConsumableArray");
|
|
7456
|
-
|
|
7457
|
-
/***/ }),
|
|
7458
|
-
|
|
7459
|
-
/***/ 80:
|
|
7460
7168
|
/***/ (function(module, exports, __webpack_require__) {
|
|
7461
7169
|
|
|
7462
7170
|
"use strict";
|
|
@@ -7465,24 +7173,45 @@ module.exports = require("@babel/runtime/helpers/toConsumableArray");
|
|
|
7465
7173
|
Object.defineProperty(exports, "__esModule", {
|
|
7466
7174
|
value: true
|
|
7467
7175
|
});
|
|
7468
|
-
exports.
|
|
7469
|
-
var
|
|
7176
|
+
exports.VizBehavior = void 0;
|
|
7177
|
+
var VizBehavior;
|
|
7470
7178
|
|
|
7471
|
-
(function (
|
|
7472
|
-
|
|
7473
|
-
|
|
7474
|
-
|
|
7179
|
+
(function (VizBehavior) {
|
|
7180
|
+
/**
|
|
7181
|
+
* Dynamic Options Behavior.
|
|
7182
|
+
* This allows visualization options to be powered by data
|
|
7183
|
+
*
|
|
7184
|
+
* **Example**
|
|
7185
|
+
*
|
|
7186
|
+
* sparklineValues: ">primary|seriesByIndex(0)"
|
|
7187
|
+
* would configure sparklineValues with an array of data points
|
|
7188
|
+
* coming from the first series in the primary datasource
|
|
7189
|
+
*
|
|
7190
|
+
*/
|
|
7191
|
+
VizBehavior["DYNAMIC_OPTIONS"] = "dynamic-options";
|
|
7192
|
+
VizBehavior["EVENTS"] = "events";
|
|
7193
|
+
VizBehavior["DOWNSAMPLING"] = "downsampling";
|
|
7194
|
+
/**
|
|
7195
|
+
* Placeholder behavior: visualization will display a placeholder rather than fail if any of the `requiredProps` is
|
|
7196
|
+
* missing.
|
|
7197
|
+
* @type {string}
|
|
7198
|
+
*/
|
|
7199
|
+
|
|
7200
|
+
VizBehavior["PLACEHOLDER"] = "placeholder";
|
|
7201
|
+
VizBehavior["PAGE_AND_SORT"] = "page-and-sort";
|
|
7202
|
+
VizBehavior["TRELLIS"] = "trellis";
|
|
7203
|
+
})(VizBehavior = exports.VizBehavior || (exports.VizBehavior = {}));
|
|
7475
7204
|
|
|
7476
7205
|
/***/ }),
|
|
7477
7206
|
|
|
7478
|
-
/***/
|
|
7207
|
+
/***/ 80:
|
|
7479
7208
|
/***/ (function(module, exports) {
|
|
7480
7209
|
|
|
7481
7210
|
module.exports = require("@splunk/themes");
|
|
7482
7211
|
|
|
7483
7212
|
/***/ }),
|
|
7484
7213
|
|
|
7485
|
-
/***/
|
|
7214
|
+
/***/ 81:
|
|
7486
7215
|
/***/ (function(module, exports) {
|
|
7487
7216
|
|
|
7488
7217
|
module.exports = require("@splunk/visualization-color-palettes/editors/PresetPalettes");
|
|
@@ -7492,11 +7221,11 @@ module.exports = require("@splunk/visualization-color-palettes/editors/PresetPal
|
|
|
7492
7221
|
/***/ 9:
|
|
7493
7222
|
/***/ (function(module, exports) {
|
|
7494
7223
|
|
|
7495
|
-
module.exports = require("@babel/runtime/helpers/
|
|
7224
|
+
module.exports = require("@babel/runtime/helpers/classCallCheck");
|
|
7496
7225
|
|
|
7497
7226
|
/***/ }),
|
|
7498
7227
|
|
|
7499
|
-
/***/
|
|
7228
|
+
/***/ 94:
|
|
7500
7229
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7501
7230
|
|
|
7502
7231
|
"use strict";
|