@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/Markdown.js
CHANGED
|
@@ -87,7 +87,7 @@ module.exports =
|
|
|
87
87
|
/******/
|
|
88
88
|
/******/
|
|
89
89
|
/******/ // Load entry module and return exports
|
|
90
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
90
|
+
/******/ return __webpack_require__(__webpack_require__.s = 441);
|
|
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
|
+
/***/ 104:
|
|
117
117
|
/***/ (function(module, exports) {
|
|
118
118
|
|
|
119
119
|
module.exports = require("@splunk/visualization-encoding/utils/types");
|
|
@@ -137,11 +137,11 @@ module.exports = require("@splunk/visualizations-shared/Message");
|
|
|
137
137
|
/***/ 13:
|
|
138
138
|
/***/ (function(module, exports) {
|
|
139
139
|
|
|
140
|
-
module.exports = require("@
|
|
140
|
+
module.exports = require("@babel/runtime/helpers/defineProperty");
|
|
141
141
|
|
|
142
142
|
/***/ }),
|
|
143
143
|
|
|
144
|
-
/***/
|
|
144
|
+
/***/ 131:
|
|
145
145
|
/***/ (function(module, exports) {
|
|
146
146
|
|
|
147
147
|
module.exports = require("@splunk/react-ui/Paragraph");
|
|
@@ -149,6 +149,27 @@ module.exports = require("@splunk/react-ui/Paragraph");
|
|
|
149
149
|
/***/ }),
|
|
150
150
|
|
|
151
151
|
/***/ 14:
|
|
152
|
+
/***/ (function(module, exports) {
|
|
153
|
+
|
|
154
|
+
module.exports = require("@splunk/themes/variables");
|
|
155
|
+
|
|
156
|
+
/***/ }),
|
|
157
|
+
|
|
158
|
+
/***/ 142:
|
|
159
|
+
/***/ (function(module, exports) {
|
|
160
|
+
|
|
161
|
+
module.exports = require("@splunk/react-ui/Markdown");
|
|
162
|
+
|
|
163
|
+
/***/ }),
|
|
164
|
+
|
|
165
|
+
/***/ 145:
|
|
166
|
+
/***/ (function(module, exports) {
|
|
167
|
+
|
|
168
|
+
module.exports = require("@splunk/react-ui/Heading");
|
|
169
|
+
|
|
170
|
+
/***/ }),
|
|
171
|
+
|
|
172
|
+
/***/ 15:
|
|
152
173
|
/***/ (function(module, exports, __webpack_require__) {
|
|
153
174
|
|
|
154
175
|
"use strict";
|
|
@@ -445,6 +466,7 @@ var calculateDownsamplingThreshold = function calculateDownsamplingThreshold(_re
|
|
|
445
466
|
});
|
|
446
467
|
}
|
|
447
468
|
} catch (e) {
|
|
469
|
+
// eslint-disable-next-line no-console
|
|
448
470
|
console.error('Error occurred while setting downsample threshold on range select event', e);
|
|
449
471
|
}
|
|
450
472
|
|
|
@@ -611,6 +633,7 @@ var downsampleDataSources = function downsampleDataSources(_ref4) {
|
|
|
611
633
|
return downsampledIndices.add(downsampleIndex);
|
|
612
634
|
});
|
|
613
635
|
} catch (e) {
|
|
636
|
+
// eslint-disable-next-line no-console
|
|
614
637
|
console.error("Error occurred while downsampling column ".concat(columnIndex), e);
|
|
615
638
|
}
|
|
616
639
|
}); // update data columns with downsampled columns
|
|
@@ -623,41 +646,27 @@ exports.downsampleDataSources = downsampleDataSources;
|
|
|
623
646
|
|
|
624
647
|
/***/ }),
|
|
625
648
|
|
|
626
|
-
/***/
|
|
627
|
-
/***/ (function(module, exports) {
|
|
628
|
-
|
|
629
|
-
module.exports = require("@splunk/react-ui/Markdown");
|
|
630
|
-
|
|
631
|
-
/***/ }),
|
|
632
|
-
|
|
633
|
-
/***/ 147:
|
|
634
|
-
/***/ (function(module, exports) {
|
|
635
|
-
|
|
636
|
-
module.exports = require("@splunk/react-ui/Heading");
|
|
637
|
-
|
|
638
|
-
/***/ }),
|
|
639
|
-
|
|
640
|
-
/***/ 15:
|
|
649
|
+
/***/ 16:
|
|
641
650
|
/***/ (function(module, exports) {
|
|
642
651
|
|
|
643
652
|
module.exports = require("@splunk/visualizations-shared/colorUtils");
|
|
644
653
|
|
|
645
654
|
/***/ }),
|
|
646
655
|
|
|
647
|
-
/***/
|
|
656
|
+
/***/ 17:
|
|
648
657
|
/***/ (function(module, exports) {
|
|
649
658
|
|
|
650
659
|
module.exports = require("@splunk/visualization-encoding/Options");
|
|
651
660
|
|
|
652
661
|
/***/ }),
|
|
653
662
|
|
|
654
|
-
/***/
|
|
663
|
+
/***/ 18:
|
|
655
664
|
/***/ (function(module, exports, __webpack_require__) {
|
|
656
665
|
|
|
657
666
|
"use strict";
|
|
658
667
|
|
|
659
668
|
|
|
660
|
-
var _slicedToArray = __webpack_require__(
|
|
669
|
+
var _slicedToArray = __webpack_require__(6);
|
|
661
670
|
|
|
662
671
|
Object.defineProperty(exports, "__esModule", {
|
|
663
672
|
value: true
|
|
@@ -667,9 +676,9 @@ var React = __webpack_require__(0);
|
|
|
667
676
|
|
|
668
677
|
var styled_components_1 = __webpack_require__(4);
|
|
669
678
|
|
|
670
|
-
var style_1 = __webpack_require__(
|
|
679
|
+
var style_1 = __webpack_require__(19);
|
|
671
680
|
|
|
672
|
-
var colorUtils_1 = __webpack_require__(
|
|
681
|
+
var colorUtils_1 = __webpack_require__(16);
|
|
673
682
|
|
|
674
683
|
var SizeAwareWrapper_1 = __webpack_require__(26);
|
|
675
684
|
|
|
@@ -742,7 +751,7 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
|
|
|
742
751
|
|
|
743
752
|
return React.createElement(FixSizeItem, {
|
|
744
753
|
"data-test": "fix-size-item",
|
|
745
|
-
"data-splunk-visualization-version": "26.
|
|
754
|
+
"data-splunk-visualization-version": "26.3.0 - a1ef240a6",
|
|
746
755
|
width: width,
|
|
747
756
|
height: height,
|
|
748
757
|
backgroundColor: backgroundColor
|
|
@@ -764,20 +773,13 @@ exports.default = withFixedSizeContainer;
|
|
|
764
773
|
|
|
765
774
|
/***/ }),
|
|
766
775
|
|
|
767
|
-
/***/
|
|
768
|
-
/***/ (function(module, exports) {
|
|
769
|
-
|
|
770
|
-
module.exports = require("@splunk/visualizations-shared/style");
|
|
771
|
-
|
|
772
|
-
/***/ }),
|
|
773
|
-
|
|
774
|
-
/***/ 184:
|
|
776
|
+
/***/ 181:
|
|
775
777
|
/***/ (function(module, exports, __webpack_require__) {
|
|
776
778
|
|
|
777
779
|
"use strict";
|
|
778
780
|
|
|
779
781
|
|
|
780
|
-
var _taggedTemplateLiteral = __webpack_require__(
|
|
782
|
+
var _taggedTemplateLiteral = __webpack_require__(79);
|
|
781
783
|
|
|
782
784
|
var _templateObject;
|
|
783
785
|
|
|
@@ -788,31 +790,31 @@ exports.getFontMap = exports.config = exports.themes = exports.computeVizProps =
|
|
|
788
790
|
|
|
789
791
|
var lodash_1 = __webpack_require__(3);
|
|
790
792
|
|
|
791
|
-
var types_1 = __webpack_require__(
|
|
793
|
+
var types_1 = __webpack_require__(104);
|
|
792
794
|
|
|
793
795
|
var React = __webpack_require__(0);
|
|
794
796
|
|
|
795
|
-
var style_1 = __webpack_require__(
|
|
797
|
+
var style_1 = __webpack_require__(19);
|
|
796
798
|
|
|
797
|
-
var Markdown_1 = __webpack_require__(
|
|
799
|
+
var Markdown_1 = __webpack_require__(142);
|
|
798
800
|
|
|
799
801
|
var styled_components_1 = __webpack_require__(4);
|
|
800
802
|
|
|
801
803
|
var T = __webpack_require__(1);
|
|
802
804
|
|
|
803
|
-
var themes_1 = __webpack_require__(
|
|
805
|
+
var themes_1 = __webpack_require__(80);
|
|
804
806
|
|
|
805
|
-
var Heading_1 = __webpack_require__(
|
|
807
|
+
var Heading_1 = __webpack_require__(145);
|
|
806
808
|
|
|
807
|
-
var Paragraph_1 = __webpack_require__(
|
|
809
|
+
var Paragraph_1 = __webpack_require__(131);
|
|
808
810
|
|
|
809
|
-
var List_1 = __webpack_require__(
|
|
811
|
+
var List_1 = __webpack_require__(442);
|
|
810
812
|
|
|
811
|
-
var Code_1 = __webpack_require__(
|
|
813
|
+
var Code_1 = __webpack_require__(443);
|
|
812
814
|
|
|
813
|
-
var withDashboardViz_1 = __webpack_require__(
|
|
815
|
+
var withDashboardViz_1 = __webpack_require__(55);
|
|
814
816
|
|
|
815
|
-
var config_1 = __webpack_require__(
|
|
817
|
+
var config_1 = __webpack_require__(444);
|
|
816
818
|
|
|
817
819
|
exports.config = config_1.default; // map of valid font sizes with elements' respective pixel sizes
|
|
818
820
|
|
|
@@ -855,7 +857,7 @@ exports.FONT_SIZES = {
|
|
|
855
857
|
|
|
856
858
|
var MarkdownContainer = styled_components_1.default.div.withConfig({
|
|
857
859
|
displayName: "Markdown__MarkdownContainer",
|
|
858
|
-
componentId: "zd3qkg-0"
|
|
860
|
+
componentId: "sc-zd3qkg-0"
|
|
859
861
|
})(["overflow:auto;position:relative;box-sizing:border-box;", ";", ";background-color:", ";transform-origin:center;transform:rotate(", "deg);& *:not(code):not(pre):not(code *):not(a){color:", ";}", ";"], function (props) {
|
|
860
862
|
return (0, style_1.toDimension)((0, lodash_1.pick)(props, ['width', 'height']));
|
|
861
863
|
}, function (props) {
|
|
@@ -872,7 +874,7 @@ var MarkdownContainer = styled_components_1.default.div.withConfig({
|
|
|
872
874
|
});
|
|
873
875
|
var CodeBlockContainer = styled_components_1.default.div.withConfig({
|
|
874
876
|
displayName: "Markdown__CodeBlockContainer",
|
|
875
|
-
componentId: "zd3qkg-1"
|
|
877
|
+
componentId: "sc-zd3qkg-1"
|
|
876
878
|
})(["padding:", ";margin:", " 0;background-color:", ";pre[data-test='code']{margin-bottom:0px;}code{font-size:", "px !important;line-height:", "px !important;}"], (0, themes_1.pick)({
|
|
877
879
|
enterprise: themes_1.variables.spacingHalf,
|
|
878
880
|
prisma: (0, styled_components_1.css)(_templateObject || (_templateObject = _taggedTemplateLiteral(["10px ", ""])), themes_1.variables.spacingLarge)
|
|
@@ -892,7 +894,7 @@ var CodeBlockContainer = styled_components_1.default.div.withConfig({
|
|
|
892
894
|
});
|
|
893
895
|
var CodeInlineContainer = styled_components_1.default.code.withConfig({
|
|
894
896
|
displayName: "Markdown__CodeInlineContainer",
|
|
895
|
-
componentId: "zd3qkg-2"
|
|
897
|
+
componentId: "sc-zd3qkg-2"
|
|
896
898
|
})(["", ";font-family:", ";background-color:", ";"], themes_1.mixins.reset('inline'), themes_1.variables.monoFontFamily, (0, themes_1.pick)({
|
|
897
899
|
enterprise: {
|
|
898
900
|
light: themes_1.variables.gray92,
|
|
@@ -921,7 +923,7 @@ var handleLinkClick = function handleLinkClick(e) {
|
|
|
921
923
|
|
|
922
924
|
var StyledA = styled_components_1.default.a.withConfig({
|
|
923
925
|
displayName: "Markdown__StyledA",
|
|
924
|
-
componentId: "zd3qkg-3"
|
|
926
|
+
componentId: "sc-zd3qkg-3"
|
|
925
927
|
})(["text-decoration:underlined;"]); // returns renderers customized with the appropriate font sizes given the provided `fontSize` value.
|
|
926
928
|
|
|
927
929
|
var getMarkdownRenderer = function getMarkdownRenderer(fontFamilyStyle, fontSize, customFontSize) {
|
|
@@ -1090,6 +1092,20 @@ exports.default = Markdown;
|
|
|
1090
1092
|
/***/ }),
|
|
1091
1093
|
|
|
1092
1094
|
/***/ 19:
|
|
1095
|
+
/***/ (function(module, exports) {
|
|
1096
|
+
|
|
1097
|
+
module.exports = require("@splunk/visualizations-shared/style");
|
|
1098
|
+
|
|
1099
|
+
/***/ }),
|
|
1100
|
+
|
|
1101
|
+
/***/ 2:
|
|
1102
|
+
/***/ (function(module, exports) {
|
|
1103
|
+
|
|
1104
|
+
module.exports = require("@splunk/ui-utils/i18n");
|
|
1105
|
+
|
|
1106
|
+
/***/ }),
|
|
1107
|
+
|
|
1108
|
+
/***/ 21:
|
|
1093
1109
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1094
1110
|
|
|
1095
1111
|
"use strict";
|
|
@@ -1098,27 +1114,19 @@ exports.default = Markdown;
|
|
|
1098
1114
|
Object.defineProperty(exports, "__esModule", {
|
|
1099
1115
|
value: true
|
|
1100
1116
|
});
|
|
1101
|
-
exports.validOutputModes = exports.
|
|
1117
|
+
exports.validOutputModes = exports.validSortDirs = void 0;
|
|
1102
1118
|
exports.validSortDirs = ['asc', 'desc', 'none'];
|
|
1103
|
-
exports.validSegmentationModes = ['none', 'inner'];
|
|
1104
1119
|
exports.validOutputModes = ['json_cols', 'json'];
|
|
1105
1120
|
|
|
1106
1121
|
/***/ }),
|
|
1107
1122
|
|
|
1108
|
-
/***/
|
|
1109
|
-
/***/ (function(module, exports) {
|
|
1110
|
-
|
|
1111
|
-
module.exports = require("@splunk/ui-utils/i18n");
|
|
1112
|
-
|
|
1113
|
-
/***/ }),
|
|
1114
|
-
|
|
1115
|
-
/***/ 21:
|
|
1123
|
+
/***/ 22:
|
|
1116
1124
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1117
1125
|
|
|
1118
1126
|
"use strict";
|
|
1119
1127
|
|
|
1120
1128
|
|
|
1121
|
-
var _classCallCheck = __webpack_require__(
|
|
1129
|
+
var _classCallCheck = __webpack_require__(9);
|
|
1122
1130
|
|
|
1123
1131
|
var _createClass = __webpack_require__(25);
|
|
1124
1132
|
|
|
@@ -1150,7 +1158,7 @@ exports.DefaultVizActionHandler = DefaultVizActionHandler;
|
|
|
1150
1158
|
|
|
1151
1159
|
/***/ }),
|
|
1152
1160
|
|
|
1153
|
-
/***/
|
|
1161
|
+
/***/ 23:
|
|
1154
1162
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1155
1163
|
|
|
1156
1164
|
"use strict";
|
|
@@ -1179,7 +1187,7 @@ var VizCategory;
|
|
|
1179
1187
|
|
|
1180
1188
|
/***/ }),
|
|
1181
1189
|
|
|
1182
|
-
/***/
|
|
1190
|
+
/***/ 24:
|
|
1183
1191
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1184
1192
|
|
|
1185
1193
|
"use strict";
|
|
@@ -1212,13 +1220,6 @@ exports.extendStaticWrapperProps = extendStaticWrapperProps;
|
|
|
1212
1220
|
|
|
1213
1221
|
/***/ }),
|
|
1214
1222
|
|
|
1215
|
-
/***/ 24:
|
|
1216
|
-
/***/ (function(module, exports) {
|
|
1217
|
-
|
|
1218
|
-
module.exports = require("@splunk/visualizations-shared/schemaUtils");
|
|
1219
|
-
|
|
1220
|
-
/***/ }),
|
|
1221
|
-
|
|
1222
1223
|
/***/ 25:
|
|
1223
1224
|
/***/ (function(module, exports) {
|
|
1224
1225
|
|
|
@@ -1239,99 +1240,24 @@ module.exports = require("@splunk/visualizations-shared/SizeAwareWrapper");
|
|
|
1239
1240
|
"use strict";
|
|
1240
1241
|
|
|
1241
1242
|
|
|
1242
|
-
var _toConsumableArray = __webpack_require__(
|
|
1243
|
-
|
|
1244
|
-
var _defineProperty = __webpack_require__(9);
|
|
1245
|
-
|
|
1246
|
-
var __rest = this && this.__rest || function (s, e) {
|
|
1247
|
-
var t = {};
|
|
1248
|
-
|
|
1249
|
-
for (var p in s) {
|
|
1250
|
-
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
1251
|
-
}
|
|
1252
|
-
|
|
1253
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
1254
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
1255
|
-
}
|
|
1256
|
-
return t;
|
|
1257
|
-
};
|
|
1243
|
+
var _toConsumableArray = __webpack_require__(7);
|
|
1258
1244
|
|
|
1259
1245
|
Object.defineProperty(exports, "__esModule", {
|
|
1260
1246
|
value: true
|
|
1261
1247
|
});
|
|
1262
|
-
exports.insertLayout = exports.isDynamicOption = exports.uncollapseEditorConfig = exports.generatePrecisionValues = exports.getInitialPreset = exports.
|
|
1263
|
-
|
|
1264
|
-
var lodash_1 = __webpack_require__(3);
|
|
1265
|
-
|
|
1266
|
-
var schemaUtils_1 = __webpack_require__(24);
|
|
1267
|
-
|
|
1268
|
-
var VizBehavior_1 = __webpack_require__(6);
|
|
1269
|
-
|
|
1270
|
-
var dynamicOptionsDSLType = {
|
|
1271
|
-
type: 'string',
|
|
1272
|
-
pattern: schemaUtils_1.DYNAMIC_OPTIONS_DSL_PATTERN
|
|
1273
|
-
};
|
|
1274
|
-
/**
|
|
1275
|
-
* Helper function to extend an options schema with dynamic options DSL
|
|
1276
|
-
* @param optionsSchema a visualization's options schema
|
|
1277
|
-
* @returns an updated options schema that additionally allows strings starting with > for each option
|
|
1278
|
-
*/
|
|
1248
|
+
exports.insertLayout = exports.isDynamicOption = exports.uncollapseEditorConfig = exports.generatePrecisionValues = exports.getInitialPreset = exports.enhanceConfig = exports.enhanceOptionsSchemaWithDynamicOptions = void 0;
|
|
1279
1249
|
|
|
1280
|
-
|
|
1281
|
-
var enhancedOptionsSchema = {};
|
|
1282
|
-
Object.keys(optionsSchema).forEach(function (key) {
|
|
1283
|
-
var _a = optionsSchema[key],
|
|
1284
|
-
title = _a.title,
|
|
1285
|
-
description = _a.description,
|
|
1286
|
-
readOnly = _a.readOnly,
|
|
1287
|
-
writeOnly = _a.writeOnly,
|
|
1288
|
-
examples = _a.examples,
|
|
1289
|
-
defaultValue = _a.default,
|
|
1290
|
-
type = _a.type,
|
|
1291
|
-
properties = _a.properties,
|
|
1292
|
-
patternProperties = _a.patternProperties,
|
|
1293
|
-
remainingSchemaEntry = __rest(_a, ["title", "description", "readOnly", "writeOnly", "examples", "default", "type", "properties", "patternProperties"]);
|
|
1294
|
-
|
|
1295
|
-
var annotations = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, title !== undefined && {
|
|
1296
|
-
title: title
|
|
1297
|
-
}), description !== undefined && {
|
|
1298
|
-
description: description
|
|
1299
|
-
}), readOnly !== undefined && {
|
|
1300
|
-
readOnly: readOnly
|
|
1301
|
-
}), writeOnly !== undefined && {
|
|
1302
|
-
writeOnly: writeOnly
|
|
1303
|
-
}), examples !== undefined && {
|
|
1304
|
-
examples: examples
|
|
1305
|
-
}), defaultValue !== undefined && {
|
|
1306
|
-
default: defaultValue
|
|
1307
|
-
});
|
|
1250
|
+
var lodash_1 = __webpack_require__(3); // included for backwards compatibility
|
|
1308
1251
|
|
|
1309
|
-
if (type === 'object') {
|
|
1310
|
-
enhancedOptionsSchema[key] = Object.assign(Object.assign(Object.assign(Object.assign({}, remainingSchemaEntry), annotations), {
|
|
1311
|
-
type: type
|
|
1312
|
-
}), properties && {
|
|
1313
|
-
properties: enhanceOptionsSchemaWithDynamicOptions(properties)
|
|
1314
|
-
});
|
|
1315
1252
|
|
|
1316
|
-
|
|
1317
|
-
var enhancedPatternProperties = {};
|
|
1318
|
-
Object.keys(patternProperties).forEach(function (opt) {
|
|
1319
|
-
enhancedPatternProperties = Object.assign(Object.assign({}, enhancedPatternProperties), enhanceOptionsSchemaWithDynamicOptions(_defineProperty({}, opt, patternProperties[opt])));
|
|
1320
|
-
});
|
|
1321
|
-
enhancedOptionsSchema[key].patternProperties = enhancedPatternProperties;
|
|
1322
|
-
}
|
|
1323
|
-
} else {
|
|
1324
|
-
enhancedOptionsSchema[key] = Object.assign(Object.assign({}, annotations), {
|
|
1325
|
-
anyOf: [Object.assign(Object.assign({}, type !== undefined && {
|
|
1326
|
-
type: type
|
|
1327
|
-
}), remainingSchemaEntry), dynamicOptionsDSLType]
|
|
1328
|
-
});
|
|
1329
|
-
}
|
|
1330
|
-
});
|
|
1331
|
-
return enhancedOptionsSchema;
|
|
1332
|
-
}
|
|
1253
|
+
var visualization_schemas_1 = __webpack_require__(10);
|
|
1333
1254
|
|
|
1334
|
-
exports
|
|
1255
|
+
Object.defineProperty(exports, "enhanceOptionsSchemaWithDynamicOptions", {
|
|
1256
|
+
enumerable: true,
|
|
1257
|
+
get: function get() {
|
|
1258
|
+
return visualization_schemas_1.enhanceOptionsSchemaWithDynamicOptions;
|
|
1259
|
+
}
|
|
1260
|
+
});
|
|
1335
1261
|
/**
|
|
1336
1262
|
* Helper function to enhance a Visualization Config as needed based on behaviors specified in supports block
|
|
1337
1263
|
* this function also collapse all editor panels
|
|
@@ -1342,11 +1268,6 @@ exports.enhanceOptionsSchemaWithDynamicOptions = enhanceOptionsSchemaWithDynamic
|
|
|
1342
1268
|
|
|
1343
1269
|
function enhanceConfig(vizConfig) {
|
|
1344
1270
|
var enhancedConfig = Object.assign({}, vizConfig);
|
|
1345
|
-
|
|
1346
|
-
if (vizConfig.supports.indexOf(VizBehavior_1.VizBehavior.DYNAMIC_OPTIONS) !== -1) {
|
|
1347
|
-
enhancedConfig.optionsSchema = enhanceOptionsSchemaWithDynamicOptions(vizConfig.optionsSchema);
|
|
1348
|
-
}
|
|
1349
|
-
|
|
1350
1271
|
enhancedConfig.editorConfig = vizConfig.editorConfig.map(function (config) {
|
|
1351
1272
|
return Object.assign(Object.assign({}, config), {
|
|
1352
1273
|
open: config.open || false
|
|
@@ -1557,7 +1478,7 @@ var i18n_1 = __webpack_require__(2);
|
|
|
1557
1478
|
|
|
1558
1479
|
var Message_1 = __webpack_require__(12);
|
|
1559
1480
|
|
|
1560
|
-
var FixedSizeContainer_1 = __webpack_require__(
|
|
1481
|
+
var FixedSizeContainer_1 = __webpack_require__(18);
|
|
1561
1482
|
/**
|
|
1562
1483
|
* @method shouldShowIconPlaceholder
|
|
1563
1484
|
* @param {object} dataSources
|
|
@@ -1635,7 +1556,7 @@ exports.default = (0, FixedSizeContainer_1.default)(IconPlaceholder);
|
|
|
1635
1556
|
"use strict";
|
|
1636
1557
|
|
|
1637
1558
|
|
|
1638
|
-
var _defineProperty = __webpack_require__(
|
|
1559
|
+
var _defineProperty = __webpack_require__(13);
|
|
1639
1560
|
|
|
1640
1561
|
Object.defineProperty(exports, "__esModule", {
|
|
1641
1562
|
value: true
|
|
@@ -1646,7 +1567,7 @@ var T = __webpack_require__(1);
|
|
|
1646
1567
|
|
|
1647
1568
|
var lodash_1 = __webpack_require__(3);
|
|
1648
1569
|
|
|
1649
|
-
var DataSource_1 = __webpack_require__(
|
|
1570
|
+
var DataSource_1 = __webpack_require__(21);
|
|
1650
1571
|
|
|
1651
1572
|
exports.SortParamsPropTypes = T.shape({
|
|
1652
1573
|
currentSortKey: T.string,
|
|
@@ -1811,7 +1732,7 @@ __exportStar(__webpack_require__(41), exports);
|
|
|
1811
1732
|
|
|
1812
1733
|
__exportStar(__webpack_require__(42), exports);
|
|
1813
1734
|
|
|
1814
|
-
__exportStar(__webpack_require__(
|
|
1735
|
+
__exportStar(__webpack_require__(21), exports);
|
|
1815
1736
|
|
|
1816
1737
|
__exportStar(__webpack_require__(43), exports);
|
|
1817
1738
|
|
|
@@ -1825,13 +1746,13 @@ __exportStar(__webpack_require__(47), exports);
|
|
|
1825
1746
|
|
|
1826
1747
|
__exportStar(__webpack_require__(48), exports);
|
|
1827
1748
|
|
|
1828
|
-
__exportStar(__webpack_require__(
|
|
1749
|
+
__exportStar(__webpack_require__(22), exports);
|
|
1829
1750
|
|
|
1830
|
-
__exportStar(__webpack_require__(
|
|
1751
|
+
__exportStar(__webpack_require__(8), exports);
|
|
1831
1752
|
|
|
1832
|
-
__exportStar(__webpack_require__(
|
|
1753
|
+
__exportStar(__webpack_require__(23), exports);
|
|
1833
1754
|
|
|
1834
|
-
__exportStar(__webpack_require__(
|
|
1755
|
+
__exportStar(__webpack_require__(49), exports);
|
|
1835
1756
|
|
|
1836
1757
|
__exportStar(__webpack_require__(50), exports);
|
|
1837
1758
|
|
|
@@ -1843,8 +1764,6 @@ __exportStar(__webpack_require__(53), exports);
|
|
|
1843
1764
|
|
|
1844
1765
|
__exportStar(__webpack_require__(54), exports);
|
|
1845
1766
|
|
|
1846
|
-
__exportStar(__webpack_require__(55), exports);
|
|
1847
|
-
|
|
1848
1767
|
/***/ }),
|
|
1849
1768
|
|
|
1850
1769
|
/***/ 41:
|
|
@@ -1898,7 +1817,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1898
1817
|
|
|
1899
1818
|
/***/ }),
|
|
1900
1819
|
|
|
1901
|
-
/***/
|
|
1820
|
+
/***/ 441:
|
|
1902
1821
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1903
1822
|
|
|
1904
1823
|
"use strict";
|
|
@@ -1934,9 +1853,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1934
1853
|
});
|
|
1935
1854
|
exports.default = void 0;
|
|
1936
1855
|
|
|
1937
|
-
__exportStar(__webpack_require__(
|
|
1856
|
+
__exportStar(__webpack_require__(181), exports);
|
|
1938
1857
|
|
|
1939
|
-
var Markdown_1 = __webpack_require__(
|
|
1858
|
+
var Markdown_1 = __webpack_require__(181);
|
|
1940
1859
|
|
|
1941
1860
|
Object.defineProperty(exports, "default", {
|
|
1942
1861
|
enumerable: true,
|
|
@@ -1947,45 +1866,45 @@ Object.defineProperty(exports, "default", {
|
|
|
1947
1866
|
|
|
1948
1867
|
/***/ }),
|
|
1949
1868
|
|
|
1950
|
-
/***/
|
|
1869
|
+
/***/ 442:
|
|
1951
1870
|
/***/ (function(module, exports) {
|
|
1952
1871
|
|
|
1953
1872
|
module.exports = require("@splunk/react-ui/List");
|
|
1954
1873
|
|
|
1955
1874
|
/***/ }),
|
|
1956
1875
|
|
|
1957
|
-
/***/
|
|
1876
|
+
/***/ 443:
|
|
1958
1877
|
/***/ (function(module, exports) {
|
|
1959
1878
|
|
|
1960
1879
|
module.exports = require("@splunk/react-ui/Code");
|
|
1961
1880
|
|
|
1962
1881
|
/***/ }),
|
|
1963
1882
|
|
|
1964
|
-
/***/
|
|
1883
|
+
/***/ 444:
|
|
1965
1884
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1966
1885
|
|
|
1967
1886
|
"use strict";
|
|
1968
1887
|
|
|
1969
1888
|
|
|
1970
|
-
var _toConsumableArray = __webpack_require__(
|
|
1889
|
+
var _toConsumableArray = __webpack_require__(7);
|
|
1971
1890
|
|
|
1972
1891
|
Object.defineProperty(exports, "__esModule", {
|
|
1973
1892
|
value: true
|
|
1974
1893
|
});
|
|
1975
1894
|
|
|
1976
|
-
var themes_1 = __webpack_require__(
|
|
1895
|
+
var themes_1 = __webpack_require__(80);
|
|
1977
1896
|
|
|
1978
1897
|
var i18n_1 = __webpack_require__(2);
|
|
1979
1898
|
|
|
1980
|
-
var
|
|
1899
|
+
var visualization_schemas_1 = __webpack_require__(10);
|
|
1981
1900
|
|
|
1982
|
-
var VizBehavior_1 = __webpack_require__(
|
|
1901
|
+
var VizBehavior_1 = __webpack_require__(8);
|
|
1983
1902
|
|
|
1984
|
-
var VizCategory_1 = __webpack_require__(
|
|
1903
|
+
var VizCategory_1 = __webpack_require__(23);
|
|
1985
1904
|
|
|
1986
1905
|
var configUtils_1 = __webpack_require__(27);
|
|
1987
1906
|
|
|
1988
|
-
var BackgroundColor_1 = __webpack_require__(
|
|
1907
|
+
var BackgroundColor_1 = __webpack_require__(73);
|
|
1989
1908
|
|
|
1990
1909
|
var FONT_OPTIONS = new Set(['extraSmall', 'small', 'default', 'large', 'extraLarge']);
|
|
1991
1910
|
var dataContract = {
|
|
@@ -2008,46 +1927,6 @@ var size = {
|
|
|
2008
1927
|
initialHeight: 300
|
|
2009
1928
|
};
|
|
2010
1929
|
var defaultContext = {};
|
|
2011
|
-
var optionsSchema = {
|
|
2012
|
-
backgroundColor: {
|
|
2013
|
-
description: 'Specify the background color using a Hex code such as "#FF0000".',
|
|
2014
|
-
type: 'string',
|
|
2015
|
-
default: 'transparent',
|
|
2016
|
-
pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA
|
|
2017
|
-
},
|
|
2018
|
-
customFontSize: {
|
|
2019
|
-
description: 'Specify the font size (in pixels) you would like to use for unformatted text when `fontSize` is set to `custom`. Header elements are calculated with the following formula: h1 = 2 × `customFontSize`, h2 = 1.5 × `customFontSize`, h3 = 1.25 × `customFontSize`',
|
|
2020
|
-
default: 14,
|
|
2021
|
-
type: 'number'
|
|
2022
|
-
},
|
|
2023
|
-
fontColor: {
|
|
2024
|
-
description: 'Specify the text color using Hex codes or RGBA values, such as "#FF0000" or "rgba(25,12,13,0.1)". The default for enterprise light is "#3c444d". The default for enterprise dark is "#FFFFFF". The default for prisma dark is "rgba(255, 255, 255, 0.7)".',
|
|
2025
|
-
type: 'string',
|
|
2026
|
-
default: '> themes.defaultFontColor',
|
|
2027
|
-
pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA
|
|
2028
|
-
},
|
|
2029
|
-
fontFamily: {
|
|
2030
|
-
default: 'Splunk Platform Sans',
|
|
2031
|
-
pattern: (0, schemaUtils_1.getPattern)(['Splunk Platform Sans', 'Splunk Data Sans', 'Splunk Platform Mono', 'Arial', 'Helvetica', 'Times New Roman', 'Comic Sans MS']),
|
|
2032
|
-
description: 'Specify the font family you would like to use for markdown content, such as "Comic Sans MS". Note: the font needs to be available to your end user.',
|
|
2033
|
-
type: 'string'
|
|
2034
|
-
},
|
|
2035
|
-
fontSize: {
|
|
2036
|
-
description: 'Specify the font size you would like to use for markdown content. Font sizes range from extra small (10px for unformatted text) to extra large (18px for unformatted text) with the default being 14px for unformatted text.',
|
|
2037
|
-
type: 'string',
|
|
2038
|
-
default: 'default',
|
|
2039
|
-
pattern: (0, schemaUtils_1.getPattern)(['extraSmall', 'small', 'default', 'large', 'extraLarge', 'custom'])
|
|
2040
|
-
},
|
|
2041
|
-
markdown: {
|
|
2042
|
-
description: 'Add text using basic markdown syntax.',
|
|
2043
|
-
type: 'string'
|
|
2044
|
-
},
|
|
2045
|
-
rotation: {
|
|
2046
|
-
description: 'Specify the angle of rotation of the markdown content in degrees.',
|
|
2047
|
-
type: 'number',
|
|
2048
|
-
default: 0
|
|
2049
|
-
}
|
|
2050
|
-
};
|
|
2051
1930
|
var themes = {
|
|
2052
1931
|
defaultFontColor: function defaultFontColor(props) {
|
|
2053
1932
|
return (0, themes_1.pick)({
|
|
@@ -2171,7 +2050,7 @@ var config = {
|
|
|
2171
2050
|
dataContract: dataContract,
|
|
2172
2051
|
size: size,
|
|
2173
2052
|
defaultContext: defaultContext,
|
|
2174
|
-
optionsSchema:
|
|
2053
|
+
optionsSchema: visualization_schemas_1.markdownOptionsSchema,
|
|
2175
2054
|
editorConfig: editorConfig,
|
|
2176
2055
|
events: {
|
|
2177
2056
|
'markdown.click': {
|
|
@@ -2311,19 +2190,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2311
2190
|
"use strict";
|
|
2312
2191
|
|
|
2313
2192
|
|
|
2314
|
-
|
|
2315
|
-
value: true
|
|
2316
|
-
});
|
|
2317
|
-
|
|
2318
|
-
/***/ }),
|
|
2319
|
-
|
|
2320
|
-
/***/ 56:
|
|
2321
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2322
|
-
|
|
2323
|
-
"use strict";
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
var _slicedToArray = __webpack_require__(7);
|
|
2193
|
+
var _slicedToArray = __webpack_require__(6);
|
|
2327
2194
|
|
|
2328
2195
|
Object.defineProperty(exports, "__esModule", {
|
|
2329
2196
|
value: true
|
|
@@ -2333,15 +2200,15 @@ var React = __webpack_require__(0);
|
|
|
2333
2200
|
|
|
2334
2201
|
var lodash_1 = __webpack_require__(3);
|
|
2335
2202
|
|
|
2336
|
-
var getSettingsFromThemedProps_1 = __webpack_require__(
|
|
2203
|
+
var getSettingsFromThemedProps_1 = __webpack_require__(56);
|
|
2337
2204
|
|
|
2338
|
-
var Options_1 = __webpack_require__(
|
|
2205
|
+
var Options_1 = __webpack_require__(17);
|
|
2339
2206
|
|
|
2340
|
-
var SanitizeProps_1 = __webpack_require__(
|
|
2207
|
+
var SanitizeProps_1 = __webpack_require__(57);
|
|
2341
2208
|
|
|
2342
2209
|
var TimezoneContext_1 = __webpack_require__(32);
|
|
2343
2210
|
|
|
2344
|
-
var moment_1 = __webpack_require__(
|
|
2211
|
+
var moment_1 = __webpack_require__(58);
|
|
2345
2212
|
|
|
2346
2213
|
var FeatureFlagContext_1 = __webpack_require__(28);
|
|
2347
2214
|
|
|
@@ -2351,31 +2218,31 @@ var hocUtils_1 = __webpack_require__(34);
|
|
|
2351
2218
|
|
|
2352
2219
|
var JSONSchemaUtils_1 = __webpack_require__(35);
|
|
2353
2220
|
|
|
2354
|
-
var async_dynamic_options_evaluator_1 = __webpack_require__(
|
|
2221
|
+
var async_dynamic_options_evaluator_1 = __webpack_require__(59);
|
|
2355
2222
|
|
|
2356
2223
|
var id_1 = __webpack_require__(31);
|
|
2357
2224
|
|
|
2358
|
-
var SplunkVisualization_1 = __webpack_require__(
|
|
2225
|
+
var SplunkVisualization_1 = __webpack_require__(60);
|
|
2359
2226
|
|
|
2360
|
-
var VizBehavior_1 = __webpack_require__(
|
|
2227
|
+
var VizBehavior_1 = __webpack_require__(8);
|
|
2361
2228
|
|
|
2362
2229
|
var getSorting_1 = __webpack_require__(38);
|
|
2363
2230
|
|
|
2364
2231
|
var getPagination_1 = __webpack_require__(39);
|
|
2365
2232
|
|
|
2366
|
-
var useDeepMemo_1 = __webpack_require__(
|
|
2233
|
+
var useDeepMemo_1 = __webpack_require__(61);
|
|
2367
2234
|
|
|
2368
|
-
var MissingPropsMessage_1 = __webpack_require__(
|
|
2235
|
+
var MissingPropsMessage_1 = __webpack_require__(62);
|
|
2369
2236
|
|
|
2370
|
-
var withEditModeCover_1 = __webpack_require__(
|
|
2237
|
+
var withEditModeCover_1 = __webpack_require__(63);
|
|
2371
2238
|
|
|
2372
|
-
var withPlaceholder_1 = __webpack_require__(
|
|
2239
|
+
var withPlaceholder_1 = __webpack_require__(64);
|
|
2373
2240
|
|
|
2374
|
-
var useDownsampleDataSources_1 = __webpack_require__(
|
|
2241
|
+
var useDownsampleDataSources_1 = __webpack_require__(65);
|
|
2375
2242
|
|
|
2376
|
-
var dataUtils_1 = __webpack_require__(
|
|
2243
|
+
var dataUtils_1 = __webpack_require__(15);
|
|
2377
2244
|
|
|
2378
|
-
var featureFlagUtils_1 = __webpack_require__(
|
|
2245
|
+
var featureFlagUtils_1 = __webpack_require__(67);
|
|
2379
2246
|
/**
|
|
2380
2247
|
* hoc that wraps a pure react visualization in a Dashboard visualization
|
|
2381
2248
|
* @param {DashboardVizOpts} opts
|
|
@@ -2708,81 +2575,48 @@ exports.default = withDashboardViz;
|
|
|
2708
2575
|
|
|
2709
2576
|
/***/ }),
|
|
2710
2577
|
|
|
2711
|
-
/***/
|
|
2578
|
+
/***/ 56:
|
|
2712
2579
|
/***/ (function(module, exports) {
|
|
2713
2580
|
|
|
2714
2581
|
module.exports = require("@splunk/themes/getSettingsFromThemedProps");
|
|
2715
2582
|
|
|
2716
2583
|
/***/ }),
|
|
2717
2584
|
|
|
2718
|
-
/***/
|
|
2585
|
+
/***/ 57:
|
|
2719
2586
|
/***/ (function(module, exports) {
|
|
2720
2587
|
|
|
2721
2588
|
module.exports = require("@splunk/visualizations-shared/SanitizeProps");
|
|
2722
2589
|
|
|
2723
2590
|
/***/ }),
|
|
2724
2591
|
|
|
2725
|
-
/***/
|
|
2592
|
+
/***/ 58:
|
|
2726
2593
|
/***/ (function(module, exports) {
|
|
2727
2594
|
|
|
2728
2595
|
module.exports = require("@splunk/moment");
|
|
2729
2596
|
|
|
2730
2597
|
/***/ }),
|
|
2731
2598
|
|
|
2732
|
-
/***/
|
|
2733
|
-
/***/ (function(module, exports
|
|
2734
|
-
|
|
2735
|
-
"use strict";
|
|
2736
|
-
|
|
2737
|
-
|
|
2738
|
-
Object.defineProperty(exports, "__esModule", {
|
|
2739
|
-
value: true
|
|
2740
|
-
});
|
|
2741
|
-
exports.VizBehavior = void 0;
|
|
2742
|
-
var VizBehavior;
|
|
2743
|
-
|
|
2744
|
-
(function (VizBehavior) {
|
|
2745
|
-
/**
|
|
2746
|
-
* Dynamic Options Behavior.
|
|
2747
|
-
* This allows visualization options to be powered by data
|
|
2748
|
-
*
|
|
2749
|
-
* **Example**
|
|
2750
|
-
*
|
|
2751
|
-
* sparklineValues: ">primary|seriesByIndex(0)"
|
|
2752
|
-
* would configure sparklineValues with an array of data points
|
|
2753
|
-
* coming from the first series in the primary datasource
|
|
2754
|
-
*
|
|
2755
|
-
*/
|
|
2756
|
-
VizBehavior["DYNAMIC_OPTIONS"] = "dynamic-options";
|
|
2757
|
-
VizBehavior["EVENTS"] = "events";
|
|
2758
|
-
VizBehavior["DOWNSAMPLING"] = "downsampling";
|
|
2759
|
-
/**
|
|
2760
|
-
* Placeholder behavior: visualization will display a placeholder rather than fail if any of the `requiredProps` is
|
|
2761
|
-
* missing.
|
|
2762
|
-
* @type {string}
|
|
2763
|
-
*/
|
|
2599
|
+
/***/ 59:
|
|
2600
|
+
/***/ (function(module, exports) {
|
|
2764
2601
|
|
|
2765
|
-
|
|
2766
|
-
VizBehavior["PAGE_AND_SORT"] = "page-and-sort";
|
|
2767
|
-
VizBehavior["TRELLIS"] = "trellis";
|
|
2768
|
-
})(VizBehavior = exports.VizBehavior || (exports.VizBehavior = {}));
|
|
2602
|
+
module.exports = require("@splunk/async-dynamic-options-evaluator");
|
|
2769
2603
|
|
|
2770
2604
|
/***/ }),
|
|
2771
2605
|
|
|
2772
|
-
/***/
|
|
2606
|
+
/***/ 6:
|
|
2773
2607
|
/***/ (function(module, exports) {
|
|
2774
2608
|
|
|
2775
|
-
module.exports = require("@
|
|
2609
|
+
module.exports = require("@babel/runtime/helpers/slicedToArray");
|
|
2776
2610
|
|
|
2777
2611
|
/***/ }),
|
|
2778
2612
|
|
|
2779
|
-
/***/
|
|
2613
|
+
/***/ 60:
|
|
2780
2614
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2781
2615
|
|
|
2782
2616
|
"use strict";
|
|
2783
2617
|
|
|
2784
2618
|
|
|
2785
|
-
var _classCallCheck = __webpack_require__(
|
|
2619
|
+
var _classCallCheck = __webpack_require__(9);
|
|
2786
2620
|
|
|
2787
2621
|
Object.defineProperty(exports, "__esModule", {
|
|
2788
2622
|
value: true
|
|
@@ -2794,7 +2628,7 @@ var T = __webpack_require__(1);
|
|
|
2794
2628
|
|
|
2795
2629
|
var lodash_1 = __webpack_require__(3);
|
|
2796
2630
|
|
|
2797
|
-
var VizActionHandler_1 = __webpack_require__(
|
|
2631
|
+
var VizActionHandler_1 = __webpack_require__(22); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
|
|
2798
2632
|
|
|
2799
2633
|
|
|
2800
2634
|
exports.INITIAL_WIDTH = 250;
|
|
@@ -2928,7 +2762,7 @@ exports.default = SplunkVisualization;
|
|
|
2928
2762
|
|
|
2929
2763
|
/***/ }),
|
|
2930
2764
|
|
|
2931
|
-
/***/
|
|
2765
|
+
/***/ 61:
|
|
2932
2766
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2933
2767
|
|
|
2934
2768
|
"use strict";
|
|
@@ -2974,7 +2808,7 @@ exports.useDeepMemo = useDeepMemo;
|
|
|
2974
2808
|
|
|
2975
2809
|
/***/ }),
|
|
2976
2810
|
|
|
2977
|
-
/***/
|
|
2811
|
+
/***/ 62:
|
|
2978
2812
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2979
2813
|
|
|
2980
2814
|
"use strict";
|
|
@@ -2993,7 +2827,7 @@ var i18n_1 = __webpack_require__(2);
|
|
|
2993
2827
|
|
|
2994
2828
|
var Message_1 = __webpack_require__(12);
|
|
2995
2829
|
|
|
2996
|
-
var FixedSizeContainer_1 = __webpack_require__(
|
|
2830
|
+
var FixedSizeContainer_1 = __webpack_require__(18);
|
|
2997
2831
|
/**
|
|
2998
2832
|
* @method isMissing
|
|
2999
2833
|
* @param {any} v
|
|
@@ -3055,7 +2889,7 @@ exports.default = (0, FixedSizeContainer_1.default)(exports.MissingPropsMessage)
|
|
|
3055
2889
|
|
|
3056
2890
|
/***/ }),
|
|
3057
2891
|
|
|
3058
|
-
/***/
|
|
2892
|
+
/***/ 63:
|
|
3059
2893
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3060
2894
|
|
|
3061
2895
|
"use strict";
|
|
@@ -3069,14 +2903,14 @@ var React = __webpack_require__(0);
|
|
|
3069
2903
|
|
|
3070
2904
|
var styled_components_1 = __webpack_require__(4);
|
|
3071
2905
|
|
|
3072
|
-
var hocUtils_1 = __webpack_require__(
|
|
2906
|
+
var hocUtils_1 = __webpack_require__(24);
|
|
3073
2907
|
|
|
3074
2908
|
var Cover = styled_components_1.default.div.withConfig({
|
|
3075
2909
|
displayName: "withEditModeCover__Cover",
|
|
3076
2910
|
componentId: "sc-1gsbnxb-0"
|
|
3077
2911
|
})(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
|
|
3078
2912
|
var Blocker = styled_components_1.default.div.attrs({
|
|
3079
|
-
'data-splunk-visualization-version': "26.
|
|
2913
|
+
'data-splunk-visualization-version': "26.3.0 - a1ef240a6"
|
|
3080
2914
|
}).withConfig({
|
|
3081
2915
|
displayName: "withEditModeCover__Blocker",
|
|
3082
2916
|
componentId: "sc-1gsbnxb-1"
|
|
@@ -3108,7 +2942,7 @@ exports.default = withEditModeCover;
|
|
|
3108
2942
|
|
|
3109
2943
|
/***/ }),
|
|
3110
2944
|
|
|
3111
|
-
/***/
|
|
2945
|
+
/***/ 64:
|
|
3112
2946
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3113
2947
|
|
|
3114
2948
|
"use strict";
|
|
@@ -3120,15 +2954,15 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3120
2954
|
|
|
3121
2955
|
var React = __webpack_require__(0);
|
|
3122
2956
|
|
|
3123
|
-
var colorUtils_1 = __webpack_require__(
|
|
2957
|
+
var colorUtils_1 = __webpack_require__(16);
|
|
3124
2958
|
|
|
3125
|
-
var variables_1 = __webpack_require__(
|
|
2959
|
+
var variables_1 = __webpack_require__(14);
|
|
3126
2960
|
|
|
3127
2961
|
var IconPlaceholder_1 = __webpack_require__(37);
|
|
3128
2962
|
|
|
3129
|
-
var VizBehavior_1 = __webpack_require__(
|
|
2963
|
+
var VizBehavior_1 = __webpack_require__(8);
|
|
3130
2964
|
|
|
3131
|
-
var hocUtils_1 = __webpack_require__(
|
|
2965
|
+
var hocUtils_1 = __webpack_require__(24);
|
|
3132
2966
|
|
|
3133
2967
|
var withPlaceholder = function withPlaceholder(Visualization) {
|
|
3134
2968
|
var useIconPlaceholder = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : IconPlaceholder_1.shouldShowIconPlaceholder;
|
|
@@ -3173,13 +3007,13 @@ exports.default = withPlaceholder;
|
|
|
3173
3007
|
|
|
3174
3008
|
/***/ }),
|
|
3175
3009
|
|
|
3176
|
-
/***/
|
|
3010
|
+
/***/ 65:
|
|
3177
3011
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3178
3012
|
|
|
3179
3013
|
"use strict";
|
|
3180
3014
|
|
|
3181
3015
|
|
|
3182
|
-
var _slicedToArray = __webpack_require__(
|
|
3016
|
+
var _slicedToArray = __webpack_require__(6);
|
|
3183
3017
|
|
|
3184
3018
|
Object.defineProperty(exports, "__esModule", {
|
|
3185
3019
|
value: true
|
|
@@ -3189,11 +3023,11 @@ var react_1 = __webpack_require__(0);
|
|
|
3189
3023
|
|
|
3190
3024
|
var lodash_1 = __webpack_require__(3);
|
|
3191
3025
|
|
|
3192
|
-
var dataUtils_1 = __webpack_require__(
|
|
3026
|
+
var dataUtils_1 = __webpack_require__(15);
|
|
3193
3027
|
|
|
3194
3028
|
var usePrevious_1 = __webpack_require__(33);
|
|
3195
3029
|
|
|
3196
|
-
var useGetXAndYFields_1 = __webpack_require__(
|
|
3030
|
+
var useGetXAndYFields_1 = __webpack_require__(66);
|
|
3197
3031
|
|
|
3198
3032
|
var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
|
|
3199
3033
|
var dataSources = _ref.dataSources,
|
|
@@ -3263,13 +3097,13 @@ exports.default = useDownsampleDataSources;
|
|
|
3263
3097
|
|
|
3264
3098
|
/***/ }),
|
|
3265
3099
|
|
|
3266
|
-
/***/
|
|
3100
|
+
/***/ 66:
|
|
3267
3101
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3268
3102
|
|
|
3269
3103
|
"use strict";
|
|
3270
3104
|
|
|
3271
3105
|
|
|
3272
|
-
var _toConsumableArray = __webpack_require__(
|
|
3106
|
+
var _toConsumableArray = __webpack_require__(7);
|
|
3273
3107
|
|
|
3274
3108
|
Object.defineProperty(exports, "__esModule", {
|
|
3275
3109
|
value: true
|
|
@@ -3277,7 +3111,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3277
3111
|
|
|
3278
3112
|
var react_1 = __webpack_require__(0);
|
|
3279
3113
|
|
|
3280
|
-
var Options_1 = __webpack_require__(
|
|
3114
|
+
var Options_1 = __webpack_require__(17);
|
|
3281
3115
|
/**
|
|
3282
3116
|
* Hook that evaluates the DSL for subset of a viz's options needed to determine
|
|
3283
3117
|
* its x and y fields as well as the types of all its fields.
|
|
@@ -3378,7 +3212,7 @@ exports.default = useGetXAndYFields;
|
|
|
3378
3212
|
|
|
3379
3213
|
/***/ }),
|
|
3380
3214
|
|
|
3381
|
-
/***/
|
|
3215
|
+
/***/ 67:
|
|
3382
3216
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3383
3217
|
|
|
3384
3218
|
"use strict";
|
|
@@ -3389,7 +3223,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3389
3223
|
});
|
|
3390
3224
|
exports.getFeatureFlag = void 0;
|
|
3391
3225
|
|
|
3392
|
-
var FeatureFlags_1 = __webpack_require__(
|
|
3226
|
+
var FeatureFlags_1 = __webpack_require__(68);
|
|
3393
3227
|
|
|
3394
3228
|
var getFeatureFlag = function getFeatureFlag(context, flagName) {
|
|
3395
3229
|
// look for feature flag in context first
|
|
@@ -3414,7 +3248,7 @@ exports.getFeatureFlag = getFeatureFlag;
|
|
|
3414
3248
|
|
|
3415
3249
|
/***/ }),
|
|
3416
3250
|
|
|
3417
|
-
/***/
|
|
3251
|
+
/***/ 68:
|
|
3418
3252
|
/***/ (function(module, exports) {
|
|
3419
3253
|
|
|
3420
3254
|
module.exports = require("@splunk/visualization-context/FeatureFlags");
|
|
@@ -3424,11 +3258,11 @@ module.exports = require("@splunk/visualization-context/FeatureFlags");
|
|
|
3424
3258
|
/***/ 7:
|
|
3425
3259
|
/***/ (function(module, exports) {
|
|
3426
3260
|
|
|
3427
|
-
module.exports = require("@babel/runtime/helpers/
|
|
3261
|
+
module.exports = require("@babel/runtime/helpers/toConsumableArray");
|
|
3428
3262
|
|
|
3429
3263
|
/***/ }),
|
|
3430
3264
|
|
|
3431
|
-
/***/
|
|
3265
|
+
/***/ 73:
|
|
3432
3266
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3433
3267
|
|
|
3434
3268
|
"use strict";
|
|
@@ -3459,21 +3293,54 @@ exports.default = background;
|
|
|
3459
3293
|
|
|
3460
3294
|
/***/ }),
|
|
3461
3295
|
|
|
3462
|
-
/***/
|
|
3296
|
+
/***/ 79:
|
|
3463
3297
|
/***/ (function(module, exports) {
|
|
3464
3298
|
|
|
3465
|
-
module.exports = require("@babel/runtime/helpers/
|
|
3299
|
+
module.exports = require("@babel/runtime/helpers/taggedTemplateLiteral");
|
|
3466
3300
|
|
|
3467
3301
|
/***/ }),
|
|
3468
3302
|
|
|
3469
|
-
/***/
|
|
3470
|
-
/***/ (function(module, exports) {
|
|
3303
|
+
/***/ 8:
|
|
3304
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
3471
3305
|
|
|
3472
|
-
|
|
3306
|
+
"use strict";
|
|
3307
|
+
|
|
3308
|
+
|
|
3309
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3310
|
+
value: true
|
|
3311
|
+
});
|
|
3312
|
+
exports.VizBehavior = void 0;
|
|
3313
|
+
var VizBehavior;
|
|
3314
|
+
|
|
3315
|
+
(function (VizBehavior) {
|
|
3316
|
+
/**
|
|
3317
|
+
* Dynamic Options Behavior.
|
|
3318
|
+
* This allows visualization options to be powered by data
|
|
3319
|
+
*
|
|
3320
|
+
* **Example**
|
|
3321
|
+
*
|
|
3322
|
+
* sparklineValues: ">primary|seriesByIndex(0)"
|
|
3323
|
+
* would configure sparklineValues with an array of data points
|
|
3324
|
+
* coming from the first series in the primary datasource
|
|
3325
|
+
*
|
|
3326
|
+
*/
|
|
3327
|
+
VizBehavior["DYNAMIC_OPTIONS"] = "dynamic-options";
|
|
3328
|
+
VizBehavior["EVENTS"] = "events";
|
|
3329
|
+
VizBehavior["DOWNSAMPLING"] = "downsampling";
|
|
3330
|
+
/**
|
|
3331
|
+
* Placeholder behavior: visualization will display a placeholder rather than fail if any of the `requiredProps` is
|
|
3332
|
+
* missing.
|
|
3333
|
+
* @type {string}
|
|
3334
|
+
*/
|
|
3335
|
+
|
|
3336
|
+
VizBehavior["PLACEHOLDER"] = "placeholder";
|
|
3337
|
+
VizBehavior["PAGE_AND_SORT"] = "page-and-sort";
|
|
3338
|
+
VizBehavior["TRELLIS"] = "trellis";
|
|
3339
|
+
})(VizBehavior = exports.VizBehavior || (exports.VizBehavior = {}));
|
|
3473
3340
|
|
|
3474
3341
|
/***/ }),
|
|
3475
3342
|
|
|
3476
|
-
/***/
|
|
3343
|
+
/***/ 80:
|
|
3477
3344
|
/***/ (function(module, exports) {
|
|
3478
3345
|
|
|
3479
3346
|
module.exports = require("@splunk/themes");
|
|
@@ -3483,7 +3350,7 @@ module.exports = require("@splunk/themes");
|
|
|
3483
3350
|
/***/ 9:
|
|
3484
3351
|
/***/ (function(module, exports) {
|
|
3485
3352
|
|
|
3486
|
-
module.exports = require("@babel/runtime/helpers/
|
|
3353
|
+
module.exports = require("@babel/runtime/helpers/classCallCheck");
|
|
3487
3354
|
|
|
3488
3355
|
/***/ })
|
|
3489
3356
|
|