@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/Line.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 = 242);
|
|
91
91
|
/******/ })
|
|
92
92
|
/************************************************************************/
|
|
93
93
|
/******/ ([
|
|
@@ -123,6 +123,18 @@ module.exports = require("styled-components");
|
|
|
123
123
|
/***/ }),
|
|
124
124
|
/* 5 */,
|
|
125
125
|
/* 6 */
|
|
126
|
+
/***/ (function(module, exports) {
|
|
127
|
+
|
|
128
|
+
module.exports = require("@babel/runtime/helpers/slicedToArray");
|
|
129
|
+
|
|
130
|
+
/***/ }),
|
|
131
|
+
/* 7 */
|
|
132
|
+
/***/ (function(module, exports) {
|
|
133
|
+
|
|
134
|
+
module.exports = require("@babel/runtime/helpers/toConsumableArray");
|
|
135
|
+
|
|
136
|
+
/***/ }),
|
|
137
|
+
/* 8 */
|
|
126
138
|
/***/ (function(module, exports, __webpack_require__) {
|
|
127
139
|
|
|
128
140
|
"use strict";
|
|
@@ -160,29 +172,17 @@ var VizBehavior;
|
|
|
160
172
|
VizBehavior["TRELLIS"] = "trellis";
|
|
161
173
|
})(VizBehavior = exports.VizBehavior || (exports.VizBehavior = {}));
|
|
162
174
|
|
|
163
|
-
/***/ }),
|
|
164
|
-
/* 7 */
|
|
165
|
-
/***/ (function(module, exports) {
|
|
166
|
-
|
|
167
|
-
module.exports = require("@babel/runtime/helpers/slicedToArray");
|
|
168
|
-
|
|
169
|
-
/***/ }),
|
|
170
|
-
/* 8 */
|
|
171
|
-
/***/ (function(module, exports) {
|
|
172
|
-
|
|
173
|
-
module.exports = require("@babel/runtime/helpers/toConsumableArray");
|
|
174
|
-
|
|
175
175
|
/***/ }),
|
|
176
176
|
/* 9 */
|
|
177
177
|
/***/ (function(module, exports) {
|
|
178
178
|
|
|
179
|
-
module.exports = require("@babel/runtime/helpers/
|
|
179
|
+
module.exports = require("@babel/runtime/helpers/classCallCheck");
|
|
180
180
|
|
|
181
181
|
/***/ }),
|
|
182
182
|
/* 10 */
|
|
183
183
|
/***/ (function(module, exports) {
|
|
184
184
|
|
|
185
|
-
module.exports = require("@
|
|
185
|
+
module.exports = require("@splunk/visualization-schemas");
|
|
186
186
|
|
|
187
187
|
/***/ }),
|
|
188
188
|
/* 11 */
|
|
@@ -200,10 +200,16 @@ module.exports = require("@splunk/visualizations-shared/Message");
|
|
|
200
200
|
/* 13 */
|
|
201
201
|
/***/ (function(module, exports) {
|
|
202
202
|
|
|
203
|
-
module.exports = require("@
|
|
203
|
+
module.exports = require("@babel/runtime/helpers/defineProperty");
|
|
204
204
|
|
|
205
205
|
/***/ }),
|
|
206
206
|
/* 14 */
|
|
207
|
+
/***/ (function(module, exports) {
|
|
208
|
+
|
|
209
|
+
module.exports = require("@splunk/themes/variables");
|
|
210
|
+
|
|
211
|
+
/***/ }),
|
|
212
|
+
/* 15 */
|
|
207
213
|
/***/ (function(module, exports, __webpack_require__) {
|
|
208
214
|
|
|
209
215
|
"use strict";
|
|
@@ -500,6 +506,7 @@ var calculateDownsamplingThreshold = function calculateDownsamplingThreshold(_re
|
|
|
500
506
|
});
|
|
501
507
|
}
|
|
502
508
|
} catch (e) {
|
|
509
|
+
// eslint-disable-next-line no-console
|
|
503
510
|
console.error('Error occurred while setting downsample threshold on range select event', e);
|
|
504
511
|
}
|
|
505
512
|
|
|
@@ -666,6 +673,7 @@ var downsampleDataSources = function downsampleDataSources(_ref4) {
|
|
|
666
673
|
return downsampledIndices.add(downsampleIndex);
|
|
667
674
|
});
|
|
668
675
|
} catch (e) {
|
|
676
|
+
// eslint-disable-next-line no-console
|
|
669
677
|
console.error("Error occurred while downsampling column ".concat(columnIndex), e);
|
|
670
678
|
}
|
|
671
679
|
}); // update data columns with downsampled columns
|
|
@@ -677,25 +685,25 @@ var downsampleDataSources = function downsampleDataSources(_ref4) {
|
|
|
677
685
|
exports.downsampleDataSources = downsampleDataSources;
|
|
678
686
|
|
|
679
687
|
/***/ }),
|
|
680
|
-
/*
|
|
688
|
+
/* 16 */
|
|
681
689
|
/***/ (function(module, exports) {
|
|
682
690
|
|
|
683
691
|
module.exports = require("@splunk/visualizations-shared/colorUtils");
|
|
684
692
|
|
|
685
693
|
/***/ }),
|
|
686
|
-
/*
|
|
694
|
+
/* 17 */
|
|
687
695
|
/***/ (function(module, exports) {
|
|
688
696
|
|
|
689
697
|
module.exports = require("@splunk/visualization-encoding/Options");
|
|
690
698
|
|
|
691
699
|
/***/ }),
|
|
692
|
-
/*
|
|
700
|
+
/* 18 */
|
|
693
701
|
/***/ (function(module, exports, __webpack_require__) {
|
|
694
702
|
|
|
695
703
|
"use strict";
|
|
696
704
|
|
|
697
705
|
|
|
698
|
-
var _slicedToArray = __webpack_require__(
|
|
706
|
+
var _slicedToArray = __webpack_require__(6);
|
|
699
707
|
|
|
700
708
|
Object.defineProperty(exports, "__esModule", {
|
|
701
709
|
value: true
|
|
@@ -705,9 +713,9 @@ var React = __webpack_require__(0);
|
|
|
705
713
|
|
|
706
714
|
var styled_components_1 = __webpack_require__(4);
|
|
707
715
|
|
|
708
|
-
var style_1 = __webpack_require__(
|
|
716
|
+
var style_1 = __webpack_require__(19);
|
|
709
717
|
|
|
710
|
-
var colorUtils_1 = __webpack_require__(
|
|
718
|
+
var colorUtils_1 = __webpack_require__(16);
|
|
711
719
|
|
|
712
720
|
var SizeAwareWrapper_1 = __webpack_require__(26);
|
|
713
721
|
|
|
@@ -780,7 +788,7 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
|
|
|
780
788
|
|
|
781
789
|
return React.createElement(FixSizeItem, {
|
|
782
790
|
"data-test": "fix-size-item",
|
|
783
|
-
"data-splunk-visualization-version": "26.
|
|
791
|
+
"data-splunk-visualization-version": "26.3.0 - a1ef240a6",
|
|
784
792
|
width: width,
|
|
785
793
|
height: height,
|
|
786
794
|
backgroundColor: backgroundColor
|
|
@@ -801,13 +809,14 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
|
|
|
801
809
|
exports.default = withFixedSizeContainer;
|
|
802
810
|
|
|
803
811
|
/***/ }),
|
|
804
|
-
/*
|
|
812
|
+
/* 19 */
|
|
805
813
|
/***/ (function(module, exports) {
|
|
806
814
|
|
|
807
815
|
module.exports = require("@splunk/visualizations-shared/style");
|
|
808
816
|
|
|
809
817
|
/***/ }),
|
|
810
|
-
/*
|
|
818
|
+
/* 20 */,
|
|
819
|
+
/* 21 */
|
|
811
820
|
/***/ (function(module, exports, __webpack_require__) {
|
|
812
821
|
|
|
813
822
|
"use strict";
|
|
@@ -816,20 +825,18 @@ module.exports = require("@splunk/visualizations-shared/style");
|
|
|
816
825
|
Object.defineProperty(exports, "__esModule", {
|
|
817
826
|
value: true
|
|
818
827
|
});
|
|
819
|
-
exports.validOutputModes = exports.
|
|
828
|
+
exports.validOutputModes = exports.validSortDirs = void 0;
|
|
820
829
|
exports.validSortDirs = ['asc', 'desc', 'none'];
|
|
821
|
-
exports.validSegmentationModes = ['none', 'inner'];
|
|
822
830
|
exports.validOutputModes = ['json_cols', 'json'];
|
|
823
831
|
|
|
824
832
|
/***/ }),
|
|
825
|
-
/*
|
|
826
|
-
/* 21 */
|
|
833
|
+
/* 22 */
|
|
827
834
|
/***/ (function(module, exports, __webpack_require__) {
|
|
828
835
|
|
|
829
836
|
"use strict";
|
|
830
837
|
|
|
831
838
|
|
|
832
|
-
var _classCallCheck = __webpack_require__(
|
|
839
|
+
var _classCallCheck = __webpack_require__(9);
|
|
833
840
|
|
|
834
841
|
var _createClass = __webpack_require__(25);
|
|
835
842
|
|
|
@@ -860,7 +867,7 @@ var DefaultVizActionHandler = /*#__PURE__*/function () {
|
|
|
860
867
|
exports.DefaultVizActionHandler = DefaultVizActionHandler;
|
|
861
868
|
|
|
862
869
|
/***/ }),
|
|
863
|
-
/*
|
|
870
|
+
/* 23 */
|
|
864
871
|
/***/ (function(module, exports, __webpack_require__) {
|
|
865
872
|
|
|
866
873
|
"use strict";
|
|
@@ -888,7 +895,7 @@ var VizCategory;
|
|
|
888
895
|
})(VizCategory = exports.VizCategory || (exports.VizCategory = {}));
|
|
889
896
|
|
|
890
897
|
/***/ }),
|
|
891
|
-
/*
|
|
898
|
+
/* 24 */
|
|
892
899
|
/***/ (function(module, exports, __webpack_require__) {
|
|
893
900
|
|
|
894
901
|
"use strict";
|
|
@@ -919,12 +926,6 @@ var extendStaticWrapperProps = function extendStaticWrapperProps(_ref) {
|
|
|
919
926
|
|
|
920
927
|
exports.extendStaticWrapperProps = extendStaticWrapperProps;
|
|
921
928
|
|
|
922
|
-
/***/ }),
|
|
923
|
-
/* 24 */
|
|
924
|
-
/***/ (function(module, exports) {
|
|
925
|
-
|
|
926
|
-
module.exports = require("@splunk/visualizations-shared/schemaUtils");
|
|
927
|
-
|
|
928
929
|
/***/ }),
|
|
929
930
|
/* 25 */
|
|
930
931
|
/***/ (function(module, exports) {
|
|
@@ -944,99 +945,24 @@ module.exports = require("@splunk/visualizations-shared/SizeAwareWrapper");
|
|
|
944
945
|
"use strict";
|
|
945
946
|
|
|
946
947
|
|
|
947
|
-
var _toConsumableArray = __webpack_require__(
|
|
948
|
-
|
|
949
|
-
var _defineProperty = __webpack_require__(9);
|
|
950
|
-
|
|
951
|
-
var __rest = this && this.__rest || function (s, e) {
|
|
952
|
-
var t = {};
|
|
953
|
-
|
|
954
|
-
for (var p in s) {
|
|
955
|
-
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
956
|
-
}
|
|
957
|
-
|
|
958
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
959
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
960
|
-
}
|
|
961
|
-
return t;
|
|
962
|
-
};
|
|
948
|
+
var _toConsumableArray = __webpack_require__(7);
|
|
963
949
|
|
|
964
950
|
Object.defineProperty(exports, "__esModule", {
|
|
965
951
|
value: true
|
|
966
952
|
});
|
|
967
|
-
exports.insertLayout = exports.isDynamicOption = exports.uncollapseEditorConfig = exports.generatePrecisionValues = exports.getInitialPreset = exports.
|
|
953
|
+
exports.insertLayout = exports.isDynamicOption = exports.uncollapseEditorConfig = exports.generatePrecisionValues = exports.getInitialPreset = exports.enhanceConfig = exports.enhanceOptionsSchemaWithDynamicOptions = void 0;
|
|
968
954
|
|
|
969
|
-
var lodash_1 = __webpack_require__(3);
|
|
955
|
+
var lodash_1 = __webpack_require__(3); // included for backwards compatibility
|
|
970
956
|
|
|
971
|
-
var schemaUtils_1 = __webpack_require__(24);
|
|
972
957
|
|
|
973
|
-
var
|
|
958
|
+
var visualization_schemas_1 = __webpack_require__(10);
|
|
974
959
|
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
* @param optionsSchema a visualization's options schema
|
|
982
|
-
* @returns an updated options schema that additionally allows strings starting with > for each option
|
|
983
|
-
*/
|
|
984
|
-
|
|
985
|
-
function enhanceOptionsSchemaWithDynamicOptions(optionsSchema) {
|
|
986
|
-
var enhancedOptionsSchema = {};
|
|
987
|
-
Object.keys(optionsSchema).forEach(function (key) {
|
|
988
|
-
var _a = optionsSchema[key],
|
|
989
|
-
title = _a.title,
|
|
990
|
-
description = _a.description,
|
|
991
|
-
readOnly = _a.readOnly,
|
|
992
|
-
writeOnly = _a.writeOnly,
|
|
993
|
-
examples = _a.examples,
|
|
994
|
-
defaultValue = _a.default,
|
|
995
|
-
type = _a.type,
|
|
996
|
-
properties = _a.properties,
|
|
997
|
-
patternProperties = _a.patternProperties,
|
|
998
|
-
remainingSchemaEntry = __rest(_a, ["title", "description", "readOnly", "writeOnly", "examples", "default", "type", "properties", "patternProperties"]);
|
|
999
|
-
|
|
1000
|
-
var annotations = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, title !== undefined && {
|
|
1001
|
-
title: title
|
|
1002
|
-
}), description !== undefined && {
|
|
1003
|
-
description: description
|
|
1004
|
-
}), readOnly !== undefined && {
|
|
1005
|
-
readOnly: readOnly
|
|
1006
|
-
}), writeOnly !== undefined && {
|
|
1007
|
-
writeOnly: writeOnly
|
|
1008
|
-
}), examples !== undefined && {
|
|
1009
|
-
examples: examples
|
|
1010
|
-
}), defaultValue !== undefined && {
|
|
1011
|
-
default: defaultValue
|
|
1012
|
-
});
|
|
1013
|
-
|
|
1014
|
-
if (type === 'object') {
|
|
1015
|
-
enhancedOptionsSchema[key] = Object.assign(Object.assign(Object.assign(Object.assign({}, remainingSchemaEntry), annotations), {
|
|
1016
|
-
type: type
|
|
1017
|
-
}), properties && {
|
|
1018
|
-
properties: enhanceOptionsSchemaWithDynamicOptions(properties)
|
|
1019
|
-
});
|
|
1020
|
-
|
|
1021
|
-
if (patternProperties) {
|
|
1022
|
-
var enhancedPatternProperties = {};
|
|
1023
|
-
Object.keys(patternProperties).forEach(function (opt) {
|
|
1024
|
-
enhancedPatternProperties = Object.assign(Object.assign({}, enhancedPatternProperties), enhanceOptionsSchemaWithDynamicOptions(_defineProperty({}, opt, patternProperties[opt])));
|
|
1025
|
-
});
|
|
1026
|
-
enhancedOptionsSchema[key].patternProperties = enhancedPatternProperties;
|
|
1027
|
-
}
|
|
1028
|
-
} else {
|
|
1029
|
-
enhancedOptionsSchema[key] = Object.assign(Object.assign({}, annotations), {
|
|
1030
|
-
anyOf: [Object.assign(Object.assign({}, type !== undefined && {
|
|
1031
|
-
type: type
|
|
1032
|
-
}), remainingSchemaEntry), dynamicOptionsDSLType]
|
|
1033
|
-
});
|
|
1034
|
-
}
|
|
1035
|
-
});
|
|
1036
|
-
return enhancedOptionsSchema;
|
|
1037
|
-
}
|
|
1038
|
-
|
|
1039
|
-
exports.enhanceOptionsSchemaWithDynamicOptions = enhanceOptionsSchemaWithDynamicOptions;
|
|
960
|
+
Object.defineProperty(exports, "enhanceOptionsSchemaWithDynamicOptions", {
|
|
961
|
+
enumerable: true,
|
|
962
|
+
get: function get() {
|
|
963
|
+
return visualization_schemas_1.enhanceOptionsSchemaWithDynamicOptions;
|
|
964
|
+
}
|
|
965
|
+
});
|
|
1040
966
|
/**
|
|
1041
967
|
* Helper function to enhance a Visualization Config as needed based on behaviors specified in supports block
|
|
1042
968
|
* this function also collapse all editor panels
|
|
@@ -1047,11 +973,6 @@ exports.enhanceOptionsSchemaWithDynamicOptions = enhanceOptionsSchemaWithDynamic
|
|
|
1047
973
|
|
|
1048
974
|
function enhanceConfig(vizConfig) {
|
|
1049
975
|
var enhancedConfig = Object.assign({}, vizConfig);
|
|
1050
|
-
|
|
1051
|
-
if (vizConfig.supports.indexOf(VizBehavior_1.VizBehavior.DYNAMIC_OPTIONS) !== -1) {
|
|
1052
|
-
enhancedConfig.optionsSchema = enhanceOptionsSchemaWithDynamicOptions(vizConfig.optionsSchema);
|
|
1053
|
-
}
|
|
1054
|
-
|
|
1055
976
|
enhancedConfig.editorConfig = vizConfig.editorConfig.map(function (config) {
|
|
1056
977
|
return Object.assign(Object.assign({}, config), {
|
|
1057
978
|
open: config.open || false
|
|
@@ -1261,7 +1182,7 @@ var i18n_1 = __webpack_require__(2);
|
|
|
1261
1182
|
|
|
1262
1183
|
var Message_1 = __webpack_require__(12);
|
|
1263
1184
|
|
|
1264
|
-
var FixedSizeContainer_1 = __webpack_require__(
|
|
1185
|
+
var FixedSizeContainer_1 = __webpack_require__(18);
|
|
1265
1186
|
/**
|
|
1266
1187
|
* @method shouldShowIconPlaceholder
|
|
1267
1188
|
* @param {object} dataSources
|
|
@@ -1338,7 +1259,7 @@ exports.default = (0, FixedSizeContainer_1.default)(IconPlaceholder);
|
|
|
1338
1259
|
"use strict";
|
|
1339
1260
|
|
|
1340
1261
|
|
|
1341
|
-
var _defineProperty = __webpack_require__(
|
|
1262
|
+
var _defineProperty = __webpack_require__(13);
|
|
1342
1263
|
|
|
1343
1264
|
Object.defineProperty(exports, "__esModule", {
|
|
1344
1265
|
value: true
|
|
@@ -1349,7 +1270,7 @@ var T = __webpack_require__(1);
|
|
|
1349
1270
|
|
|
1350
1271
|
var lodash_1 = __webpack_require__(3);
|
|
1351
1272
|
|
|
1352
|
-
var DataSource_1 = __webpack_require__(
|
|
1273
|
+
var DataSource_1 = __webpack_require__(21);
|
|
1353
1274
|
|
|
1354
1275
|
exports.SortParamsPropTypes = T.shape({
|
|
1355
1276
|
currentSortKey: T.string,
|
|
@@ -1505,7 +1426,7 @@ __exportStar(__webpack_require__(41), exports);
|
|
|
1505
1426
|
|
|
1506
1427
|
__exportStar(__webpack_require__(42), exports);
|
|
1507
1428
|
|
|
1508
|
-
__exportStar(__webpack_require__(
|
|
1429
|
+
__exportStar(__webpack_require__(21), exports);
|
|
1509
1430
|
|
|
1510
1431
|
__exportStar(__webpack_require__(43), exports);
|
|
1511
1432
|
|
|
@@ -1519,13 +1440,13 @@ __exportStar(__webpack_require__(47), exports);
|
|
|
1519
1440
|
|
|
1520
1441
|
__exportStar(__webpack_require__(48), exports);
|
|
1521
1442
|
|
|
1522
|
-
__exportStar(__webpack_require__(
|
|
1443
|
+
__exportStar(__webpack_require__(22), exports);
|
|
1523
1444
|
|
|
1524
|
-
__exportStar(__webpack_require__(
|
|
1445
|
+
__exportStar(__webpack_require__(8), exports);
|
|
1525
1446
|
|
|
1526
|
-
__exportStar(__webpack_require__(
|
|
1447
|
+
__exportStar(__webpack_require__(23), exports);
|
|
1527
1448
|
|
|
1528
|
-
__exportStar(__webpack_require__(
|
|
1449
|
+
__exportStar(__webpack_require__(49), exports);
|
|
1529
1450
|
|
|
1530
1451
|
__exportStar(__webpack_require__(50), exports);
|
|
1531
1452
|
|
|
@@ -1537,8 +1458,6 @@ __exportStar(__webpack_require__(53), exports);
|
|
|
1537
1458
|
|
|
1538
1459
|
__exportStar(__webpack_require__(54), exports);
|
|
1539
1460
|
|
|
1540
|
-
__exportStar(__webpack_require__(55), exports);
|
|
1541
|
-
|
|
1542
1461
|
/***/ }),
|
|
1543
1462
|
/* 41 */
|
|
1544
1463
|
/***/ (function(module, exports, __webpack_require__) {
|
|
@@ -1703,18 +1622,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1703
1622
|
"use strict";
|
|
1704
1623
|
|
|
1705
1624
|
|
|
1706
|
-
|
|
1707
|
-
value: true
|
|
1708
|
-
});
|
|
1709
|
-
|
|
1710
|
-
/***/ }),
|
|
1711
|
-
/* 56 */
|
|
1712
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1713
|
-
|
|
1714
|
-
"use strict";
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
var _slicedToArray = __webpack_require__(7);
|
|
1625
|
+
var _slicedToArray = __webpack_require__(6);
|
|
1718
1626
|
|
|
1719
1627
|
Object.defineProperty(exports, "__esModule", {
|
|
1720
1628
|
value: true
|
|
@@ -1724,15 +1632,15 @@ var React = __webpack_require__(0);
|
|
|
1724
1632
|
|
|
1725
1633
|
var lodash_1 = __webpack_require__(3);
|
|
1726
1634
|
|
|
1727
|
-
var getSettingsFromThemedProps_1 = __webpack_require__(
|
|
1635
|
+
var getSettingsFromThemedProps_1 = __webpack_require__(56);
|
|
1728
1636
|
|
|
1729
|
-
var Options_1 = __webpack_require__(
|
|
1637
|
+
var Options_1 = __webpack_require__(17);
|
|
1730
1638
|
|
|
1731
|
-
var SanitizeProps_1 = __webpack_require__(
|
|
1639
|
+
var SanitizeProps_1 = __webpack_require__(57);
|
|
1732
1640
|
|
|
1733
1641
|
var TimezoneContext_1 = __webpack_require__(32);
|
|
1734
1642
|
|
|
1735
|
-
var moment_1 = __webpack_require__(
|
|
1643
|
+
var moment_1 = __webpack_require__(58);
|
|
1736
1644
|
|
|
1737
1645
|
var FeatureFlagContext_1 = __webpack_require__(28);
|
|
1738
1646
|
|
|
@@ -1742,31 +1650,31 @@ var hocUtils_1 = __webpack_require__(34);
|
|
|
1742
1650
|
|
|
1743
1651
|
var JSONSchemaUtils_1 = __webpack_require__(35);
|
|
1744
1652
|
|
|
1745
|
-
var async_dynamic_options_evaluator_1 = __webpack_require__(
|
|
1653
|
+
var async_dynamic_options_evaluator_1 = __webpack_require__(59);
|
|
1746
1654
|
|
|
1747
1655
|
var id_1 = __webpack_require__(31);
|
|
1748
1656
|
|
|
1749
|
-
var SplunkVisualization_1 = __webpack_require__(
|
|
1657
|
+
var SplunkVisualization_1 = __webpack_require__(60);
|
|
1750
1658
|
|
|
1751
|
-
var VizBehavior_1 = __webpack_require__(
|
|
1659
|
+
var VizBehavior_1 = __webpack_require__(8);
|
|
1752
1660
|
|
|
1753
1661
|
var getSorting_1 = __webpack_require__(38);
|
|
1754
1662
|
|
|
1755
1663
|
var getPagination_1 = __webpack_require__(39);
|
|
1756
1664
|
|
|
1757
|
-
var useDeepMemo_1 = __webpack_require__(
|
|
1665
|
+
var useDeepMemo_1 = __webpack_require__(61);
|
|
1758
1666
|
|
|
1759
|
-
var MissingPropsMessage_1 = __webpack_require__(
|
|
1667
|
+
var MissingPropsMessage_1 = __webpack_require__(62);
|
|
1760
1668
|
|
|
1761
|
-
var withEditModeCover_1 = __webpack_require__(
|
|
1669
|
+
var withEditModeCover_1 = __webpack_require__(63);
|
|
1762
1670
|
|
|
1763
|
-
var withPlaceholder_1 = __webpack_require__(
|
|
1671
|
+
var withPlaceholder_1 = __webpack_require__(64);
|
|
1764
1672
|
|
|
1765
|
-
var useDownsampleDataSources_1 = __webpack_require__(
|
|
1673
|
+
var useDownsampleDataSources_1 = __webpack_require__(65);
|
|
1766
1674
|
|
|
1767
|
-
var dataUtils_1 = __webpack_require__(
|
|
1675
|
+
var dataUtils_1 = __webpack_require__(15);
|
|
1768
1676
|
|
|
1769
|
-
var featureFlagUtils_1 = __webpack_require__(
|
|
1677
|
+
var featureFlagUtils_1 = __webpack_require__(67);
|
|
1770
1678
|
/**
|
|
1771
1679
|
* hoc that wraps a pure react visualization in a Dashboard visualization
|
|
1772
1680
|
* @param {DashboardVizOpts} opts
|
|
@@ -2098,37 +2006,37 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
2098
2006
|
exports.default = withDashboardViz;
|
|
2099
2007
|
|
|
2100
2008
|
/***/ }),
|
|
2101
|
-
/*
|
|
2009
|
+
/* 56 */
|
|
2102
2010
|
/***/ (function(module, exports) {
|
|
2103
2011
|
|
|
2104
2012
|
module.exports = require("@splunk/themes/getSettingsFromThemedProps");
|
|
2105
2013
|
|
|
2106
2014
|
/***/ }),
|
|
2107
|
-
/*
|
|
2015
|
+
/* 57 */
|
|
2108
2016
|
/***/ (function(module, exports) {
|
|
2109
2017
|
|
|
2110
2018
|
module.exports = require("@splunk/visualizations-shared/SanitizeProps");
|
|
2111
2019
|
|
|
2112
2020
|
/***/ }),
|
|
2113
|
-
/*
|
|
2021
|
+
/* 58 */
|
|
2114
2022
|
/***/ (function(module, exports) {
|
|
2115
2023
|
|
|
2116
2024
|
module.exports = require("@splunk/moment");
|
|
2117
2025
|
|
|
2118
2026
|
/***/ }),
|
|
2119
|
-
/*
|
|
2027
|
+
/* 59 */
|
|
2120
2028
|
/***/ (function(module, exports) {
|
|
2121
2029
|
|
|
2122
2030
|
module.exports = require("@splunk/async-dynamic-options-evaluator");
|
|
2123
2031
|
|
|
2124
2032
|
/***/ }),
|
|
2125
|
-
/*
|
|
2033
|
+
/* 60 */
|
|
2126
2034
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2127
2035
|
|
|
2128
2036
|
"use strict";
|
|
2129
2037
|
|
|
2130
2038
|
|
|
2131
|
-
var _classCallCheck = __webpack_require__(
|
|
2039
|
+
var _classCallCheck = __webpack_require__(9);
|
|
2132
2040
|
|
|
2133
2041
|
Object.defineProperty(exports, "__esModule", {
|
|
2134
2042
|
value: true
|
|
@@ -2140,7 +2048,7 @@ var T = __webpack_require__(1);
|
|
|
2140
2048
|
|
|
2141
2049
|
var lodash_1 = __webpack_require__(3);
|
|
2142
2050
|
|
|
2143
|
-
var VizActionHandler_1 = __webpack_require__(
|
|
2051
|
+
var VizActionHandler_1 = __webpack_require__(22); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
|
|
2144
2052
|
|
|
2145
2053
|
|
|
2146
2054
|
exports.INITIAL_WIDTH = 250;
|
|
@@ -2273,7 +2181,7 @@ SplunkVisualization.defaultProps = {
|
|
|
2273
2181
|
exports.default = SplunkVisualization;
|
|
2274
2182
|
|
|
2275
2183
|
/***/ }),
|
|
2276
|
-
/*
|
|
2184
|
+
/* 61 */
|
|
2277
2185
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2278
2186
|
|
|
2279
2187
|
"use strict";
|
|
@@ -2318,7 +2226,7 @@ var useDeepMemo = function useDeepMemo(fn, dependencies) {
|
|
|
2318
2226
|
exports.useDeepMemo = useDeepMemo;
|
|
2319
2227
|
|
|
2320
2228
|
/***/ }),
|
|
2321
|
-
/*
|
|
2229
|
+
/* 62 */
|
|
2322
2230
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2323
2231
|
|
|
2324
2232
|
"use strict";
|
|
@@ -2337,7 +2245,7 @@ var i18n_1 = __webpack_require__(2);
|
|
|
2337
2245
|
|
|
2338
2246
|
var Message_1 = __webpack_require__(12);
|
|
2339
2247
|
|
|
2340
|
-
var FixedSizeContainer_1 = __webpack_require__(
|
|
2248
|
+
var FixedSizeContainer_1 = __webpack_require__(18);
|
|
2341
2249
|
/**
|
|
2342
2250
|
* @method isMissing
|
|
2343
2251
|
* @param {any} v
|
|
@@ -2398,7 +2306,7 @@ exports.MissingPropsMessage.defaultProps = {
|
|
|
2398
2306
|
exports.default = (0, FixedSizeContainer_1.default)(exports.MissingPropsMessage);
|
|
2399
2307
|
|
|
2400
2308
|
/***/ }),
|
|
2401
|
-
/*
|
|
2309
|
+
/* 63 */
|
|
2402
2310
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2403
2311
|
|
|
2404
2312
|
"use strict";
|
|
@@ -2412,14 +2320,14 @@ var React = __webpack_require__(0);
|
|
|
2412
2320
|
|
|
2413
2321
|
var styled_components_1 = __webpack_require__(4);
|
|
2414
2322
|
|
|
2415
|
-
var hocUtils_1 = __webpack_require__(
|
|
2323
|
+
var hocUtils_1 = __webpack_require__(24);
|
|
2416
2324
|
|
|
2417
2325
|
var Cover = styled_components_1.default.div.withConfig({
|
|
2418
2326
|
displayName: "withEditModeCover__Cover",
|
|
2419
2327
|
componentId: "sc-1gsbnxb-0"
|
|
2420
2328
|
})(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
|
|
2421
2329
|
var Blocker = styled_components_1.default.div.attrs({
|
|
2422
|
-
'data-splunk-visualization-version': "26.
|
|
2330
|
+
'data-splunk-visualization-version': "26.3.0 - a1ef240a6"
|
|
2423
2331
|
}).withConfig({
|
|
2424
2332
|
displayName: "withEditModeCover__Blocker",
|
|
2425
2333
|
componentId: "sc-1gsbnxb-1"
|
|
@@ -2450,7 +2358,7 @@ var withEditModeCover = function withEditModeCover(Visualization, disableEditMod
|
|
|
2450
2358
|
exports.default = withEditModeCover;
|
|
2451
2359
|
|
|
2452
2360
|
/***/ }),
|
|
2453
|
-
/*
|
|
2361
|
+
/* 64 */
|
|
2454
2362
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2455
2363
|
|
|
2456
2364
|
"use strict";
|
|
@@ -2462,15 +2370,15 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2462
2370
|
|
|
2463
2371
|
var React = __webpack_require__(0);
|
|
2464
2372
|
|
|
2465
|
-
var colorUtils_1 = __webpack_require__(
|
|
2373
|
+
var colorUtils_1 = __webpack_require__(16);
|
|
2466
2374
|
|
|
2467
|
-
var variables_1 = __webpack_require__(
|
|
2375
|
+
var variables_1 = __webpack_require__(14);
|
|
2468
2376
|
|
|
2469
2377
|
var IconPlaceholder_1 = __webpack_require__(37);
|
|
2470
2378
|
|
|
2471
|
-
var VizBehavior_1 = __webpack_require__(
|
|
2379
|
+
var VizBehavior_1 = __webpack_require__(8);
|
|
2472
2380
|
|
|
2473
|
-
var hocUtils_1 = __webpack_require__(
|
|
2381
|
+
var hocUtils_1 = __webpack_require__(24);
|
|
2474
2382
|
|
|
2475
2383
|
var withPlaceholder = function withPlaceholder(Visualization) {
|
|
2476
2384
|
var useIconPlaceholder = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : IconPlaceholder_1.shouldShowIconPlaceholder;
|
|
@@ -2514,13 +2422,13 @@ var withPlaceholder = function withPlaceholder(Visualization) {
|
|
|
2514
2422
|
exports.default = withPlaceholder;
|
|
2515
2423
|
|
|
2516
2424
|
/***/ }),
|
|
2517
|
-
/*
|
|
2425
|
+
/* 65 */
|
|
2518
2426
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2519
2427
|
|
|
2520
2428
|
"use strict";
|
|
2521
2429
|
|
|
2522
2430
|
|
|
2523
|
-
var _slicedToArray = __webpack_require__(
|
|
2431
|
+
var _slicedToArray = __webpack_require__(6);
|
|
2524
2432
|
|
|
2525
2433
|
Object.defineProperty(exports, "__esModule", {
|
|
2526
2434
|
value: true
|
|
@@ -2530,11 +2438,11 @@ var react_1 = __webpack_require__(0);
|
|
|
2530
2438
|
|
|
2531
2439
|
var lodash_1 = __webpack_require__(3);
|
|
2532
2440
|
|
|
2533
|
-
var dataUtils_1 = __webpack_require__(
|
|
2441
|
+
var dataUtils_1 = __webpack_require__(15);
|
|
2534
2442
|
|
|
2535
2443
|
var usePrevious_1 = __webpack_require__(33);
|
|
2536
2444
|
|
|
2537
|
-
var useGetXAndYFields_1 = __webpack_require__(
|
|
2445
|
+
var useGetXAndYFields_1 = __webpack_require__(66);
|
|
2538
2446
|
|
|
2539
2447
|
var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
|
|
2540
2448
|
var dataSources = _ref.dataSources,
|
|
@@ -2603,13 +2511,13 @@ var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
|
|
|
2603
2511
|
exports.default = useDownsampleDataSources;
|
|
2604
2512
|
|
|
2605
2513
|
/***/ }),
|
|
2606
|
-
/*
|
|
2514
|
+
/* 66 */
|
|
2607
2515
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2608
2516
|
|
|
2609
2517
|
"use strict";
|
|
2610
2518
|
|
|
2611
2519
|
|
|
2612
|
-
var _toConsumableArray = __webpack_require__(
|
|
2520
|
+
var _toConsumableArray = __webpack_require__(7);
|
|
2613
2521
|
|
|
2614
2522
|
Object.defineProperty(exports, "__esModule", {
|
|
2615
2523
|
value: true
|
|
@@ -2617,7 +2525,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2617
2525
|
|
|
2618
2526
|
var react_1 = __webpack_require__(0);
|
|
2619
2527
|
|
|
2620
|
-
var Options_1 = __webpack_require__(
|
|
2528
|
+
var Options_1 = __webpack_require__(17);
|
|
2621
2529
|
/**
|
|
2622
2530
|
* Hook that evaluates the DSL for subset of a viz's options needed to determine
|
|
2623
2531
|
* its x and y fields as well as the types of all its fields.
|
|
@@ -2717,7 +2625,7 @@ var useGetXAndYFields = function useGetXAndYFields(_ref) {
|
|
|
2717
2625
|
exports.default = useGetXAndYFields;
|
|
2718
2626
|
|
|
2719
2627
|
/***/ }),
|
|
2720
|
-
/*
|
|
2628
|
+
/* 67 */
|
|
2721
2629
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2722
2630
|
|
|
2723
2631
|
"use strict";
|
|
@@ -2728,7 +2636,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2728
2636
|
});
|
|
2729
2637
|
exports.getFeatureFlag = void 0;
|
|
2730
2638
|
|
|
2731
|
-
var FeatureFlags_1 = __webpack_require__(
|
|
2639
|
+
var FeatureFlags_1 = __webpack_require__(68);
|
|
2732
2640
|
|
|
2733
2641
|
var getFeatureFlag = function getFeatureFlag(context, flagName) {
|
|
2734
2642
|
// look for feature flag in context first
|
|
@@ -2752,33 +2660,27 @@ var getFeatureFlag = function getFeatureFlag(context, flagName) {
|
|
|
2752
2660
|
exports.getFeatureFlag = getFeatureFlag;
|
|
2753
2661
|
|
|
2754
2662
|
/***/ }),
|
|
2755
|
-
/*
|
|
2663
|
+
/* 68 */
|
|
2756
2664
|
/***/ (function(module, exports) {
|
|
2757
2665
|
|
|
2758
2666
|
module.exports = require("@splunk/visualization-context/FeatureFlags");
|
|
2759
2667
|
|
|
2760
2668
|
/***/ }),
|
|
2669
|
+
/* 69 */,
|
|
2761
2670
|
/* 70 */,
|
|
2762
|
-
/* 71
|
|
2763
|
-
/* 72 */
|
|
2671
|
+
/* 71 */
|
|
2764
2672
|
/***/ (function(module, exports) {
|
|
2765
2673
|
|
|
2766
2674
|
module.exports = require("@splunk/visualization-icons/placeholders");
|
|
2767
2675
|
|
|
2768
2676
|
/***/ }),
|
|
2769
|
-
/*
|
|
2770
|
-
/***/ (function(module, exports) {
|
|
2771
|
-
|
|
2772
|
-
module.exports = require("@splunk/visualization-color-palettes");
|
|
2773
|
-
|
|
2774
|
-
/***/ }),
|
|
2775
|
-
/* 74 */
|
|
2677
|
+
/* 72 */
|
|
2776
2678
|
/***/ (function(module, exports) {
|
|
2777
2679
|
|
|
2778
2680
|
module.exports = require("@splunk/visualization-icons");
|
|
2779
2681
|
|
|
2780
2682
|
/***/ }),
|
|
2781
|
-
/*
|
|
2683
|
+
/* 73 */
|
|
2782
2684
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2783
2685
|
|
|
2784
2686
|
"use strict";
|
|
@@ -2808,26 +2710,32 @@ var background = function background(_ref) {
|
|
|
2808
2710
|
exports.default = background;
|
|
2809
2711
|
|
|
2810
2712
|
/***/ }),
|
|
2811
|
-
/*
|
|
2812
|
-
/*
|
|
2713
|
+
/* 74 */,
|
|
2714
|
+
/* 75 */
|
|
2715
|
+
/***/ (function(module, exports) {
|
|
2716
|
+
|
|
2717
|
+
module.exports = require("@splunk/visualization-color-palettes");
|
|
2718
|
+
|
|
2719
|
+
/***/ }),
|
|
2720
|
+
/* 76 */
|
|
2813
2721
|
/***/ (function(module, exports) {
|
|
2814
2722
|
|
|
2815
2723
|
module.exports = require("@splunk/charting-bundle");
|
|
2816
2724
|
|
|
2817
2725
|
/***/ }),
|
|
2818
|
-
/*
|
|
2726
|
+
/* 77 */
|
|
2819
2727
|
/***/ (function(module, exports) {
|
|
2820
2728
|
|
|
2821
2729
|
module.exports = require("@splunk/themes/useSplunkTheme");
|
|
2822
2730
|
|
|
2823
2731
|
/***/ }),
|
|
2824
|
-
/*
|
|
2732
|
+
/* 78 */
|
|
2825
2733
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2826
2734
|
|
|
2827
2735
|
"use strict";
|
|
2828
2736
|
|
|
2829
2737
|
|
|
2830
|
-
var _toConsumableArray = __webpack_require__(
|
|
2738
|
+
var _toConsumableArray = __webpack_require__(7);
|
|
2831
2739
|
|
|
2832
2740
|
var __rest = this && this.__rest || function (s, e) {
|
|
2833
2741
|
var t = {};
|
|
@@ -3058,14 +2966,13 @@ var shouldEnableSearchZoom = function shouldEnableSearchZoom() {
|
|
|
3058
2966
|
exports.shouldEnableSearchZoom = shouldEnableSearchZoom;
|
|
3059
2967
|
|
|
3060
2968
|
/***/ }),
|
|
2969
|
+
/* 79 */,
|
|
3061
2970
|
/* 80 */,
|
|
3062
2971
|
/* 81 */,
|
|
3063
2972
|
/* 82 */,
|
|
3064
2973
|
/* 83 */,
|
|
3065
2974
|
/* 84 */,
|
|
3066
|
-
/* 85
|
|
3067
|
-
/* 86 */,
|
|
3068
|
-
/* 87 */
|
|
2975
|
+
/* 85 */
|
|
3069
2976
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3070
2977
|
|
|
3071
2978
|
"use strict";
|
|
@@ -3081,7 +2988,7 @@ var lodash_1 = __webpack_require__(3);
|
|
|
3081
2988
|
|
|
3082
2989
|
var i18n_1 = __webpack_require__(2);
|
|
3083
2990
|
|
|
3084
|
-
var visualization_color_palettes_1 = __webpack_require__(
|
|
2991
|
+
var visualization_color_palettes_1 = __webpack_require__(75);
|
|
3085
2992
|
|
|
3086
2993
|
var react_1 = __webpack_require__(0);
|
|
3087
2994
|
|
|
@@ -3089,32 +2996,32 @@ var React = __webpack_require__(0);
|
|
|
3089
2996
|
|
|
3090
2997
|
var T = __webpack_require__(1);
|
|
3091
2998
|
|
|
3092
|
-
var react_event_listener_1 = __webpack_require__(
|
|
2999
|
+
var react_event_listener_1 = __webpack_require__(86);
|
|
3093
3000
|
|
|
3094
|
-
__webpack_require__(
|
|
3001
|
+
__webpack_require__(87); // fixme, @splunk/charting should be refactor to use locale & timezone instead of i18n functions
|
|
3095
3002
|
|
|
3096
3003
|
|
|
3097
|
-
var charting_bundle_1 = __webpack_require__(
|
|
3004
|
+
var charting_bundle_1 = __webpack_require__(76);
|
|
3098
3005
|
|
|
3099
3006
|
var TimezoneContext_1 = __webpack_require__(32);
|
|
3100
3007
|
|
|
3101
|
-
var style_1 = __webpack_require__(
|
|
3008
|
+
var style_1 = __webpack_require__(19);
|
|
3102
3009
|
|
|
3103
3010
|
var styled_components_1 = __webpack_require__(4);
|
|
3104
3011
|
|
|
3105
3012
|
var Message_1 = __webpack_require__(12);
|
|
3106
3013
|
|
|
3107
|
-
var useSplunkTheme_1 = __webpack_require__(
|
|
3014
|
+
var useSplunkTheme_1 = __webpack_require__(77);
|
|
3108
3015
|
|
|
3109
|
-
var themeUtils_1 = __webpack_require__(
|
|
3016
|
+
var themeUtils_1 = __webpack_require__(88);
|
|
3110
3017
|
|
|
3111
|
-
var ChartingApi_1 = __webpack_require__(
|
|
3018
|
+
var ChartingApi_1 = __webpack_require__(89);
|
|
3112
3019
|
|
|
3113
3020
|
var usePrevious_1 = __webpack_require__(33);
|
|
3114
3021
|
|
|
3115
|
-
var useEventCallback_1 = __webpack_require__(
|
|
3022
|
+
var useEventCallback_1 = __webpack_require__(90);
|
|
3116
3023
|
|
|
3117
|
-
var dataUtils_1 = __webpack_require__(
|
|
3024
|
+
var dataUtils_1 = __webpack_require__(15);
|
|
3118
3025
|
|
|
3119
3026
|
exports.NO_INPLACE_PROPS = ['chart', 'chart.orientation', 'layout.splitSeries', 'chart.style', 'legend.placement'];
|
|
3120
3027
|
|
|
@@ -3528,31 +3435,31 @@ var withEmptyChartMessage = function withEmptyChartMessage(Chart) {
|
|
|
3528
3435
|
exports.default = withEmptyChartMessage(Charting);
|
|
3529
3436
|
|
|
3530
3437
|
/***/ }),
|
|
3531
|
-
/*
|
|
3438
|
+
/* 86 */
|
|
3532
3439
|
/***/ (function(module, exports) {
|
|
3533
3440
|
|
|
3534
3441
|
module.exports = require("react-event-listener");
|
|
3535
3442
|
|
|
3536
3443
|
/***/ }),
|
|
3537
|
-
/*
|
|
3444
|
+
/* 87 */
|
|
3538
3445
|
/***/ (function(module, exports) {
|
|
3539
3446
|
|
|
3540
3447
|
module.exports = require("@splunk/visualizations-shared/i18n");
|
|
3541
3448
|
|
|
3542
3449
|
/***/ }),
|
|
3543
|
-
/*
|
|
3450
|
+
/* 88 */
|
|
3544
3451
|
/***/ (function(module, exports) {
|
|
3545
3452
|
|
|
3546
3453
|
module.exports = require("@splunk/visualizations-shared/themeUtils");
|
|
3547
3454
|
|
|
3548
3455
|
/***/ }),
|
|
3549
|
-
/*
|
|
3456
|
+
/* 89 */
|
|
3550
3457
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3551
3458
|
|
|
3552
3459
|
"use strict";
|
|
3553
3460
|
|
|
3554
3461
|
|
|
3555
|
-
var _classCallCheck = __webpack_require__(
|
|
3462
|
+
var _classCallCheck = __webpack_require__(9);
|
|
3556
3463
|
|
|
3557
3464
|
var _createClass = __webpack_require__(25);
|
|
3558
3465
|
|
|
@@ -3614,7 +3521,7 @@ var ChartingApiFunctional = /*#__PURE__*/function () {
|
|
|
3614
3521
|
exports.ChartingApiFunctional = ChartingApiFunctional;
|
|
3615
3522
|
|
|
3616
3523
|
/***/ }),
|
|
3617
|
-
/*
|
|
3524
|
+
/* 90 */
|
|
3618
3525
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3619
3526
|
|
|
3620
3527
|
"use strict";
|
|
@@ -3639,22 +3546,22 @@ var useEventCallback = function useEventCallback(fn) {
|
|
|
3639
3546
|
exports.default = useEventCallback;
|
|
3640
3547
|
|
|
3641
3548
|
/***/ }),
|
|
3642
|
-
/*
|
|
3549
|
+
/* 91 */
|
|
3643
3550
|
/***/ (function(module, exports) {
|
|
3644
3551
|
|
|
3645
3552
|
module.exports = require("@splunk/visualizations-shared/simpleXMLOptions");
|
|
3646
3553
|
|
|
3647
3554
|
/***/ }),
|
|
3555
|
+
/* 92 */,
|
|
3556
|
+
/* 93 */,
|
|
3648
3557
|
/* 94 */,
|
|
3649
|
-
/* 95
|
|
3650
|
-
/* 96 */,
|
|
3651
|
-
/* 97 */
|
|
3558
|
+
/* 95 */
|
|
3652
3559
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3653
3560
|
|
|
3654
3561
|
"use strict";
|
|
3655
3562
|
|
|
3656
3563
|
|
|
3657
|
-
var _toConsumableArray = __webpack_require__(
|
|
3564
|
+
var _toConsumableArray = __webpack_require__(7);
|
|
3658
3565
|
|
|
3659
3566
|
Object.defineProperty(exports, "__esModule", {
|
|
3660
3567
|
value: true
|
|
@@ -3788,7 +3695,7 @@ exports.AxesChartDataConfigAreaColumnLine = {
|
|
|
3788
3695
|
exports.default = AxesChartDataConfig;
|
|
3789
3696
|
|
|
3790
3697
|
/***/ }),
|
|
3791
|
-
/*
|
|
3698
|
+
/* 96 */
|
|
3792
3699
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3793
3700
|
|
|
3794
3701
|
"use strict";
|
|
@@ -3802,9 +3709,9 @@ var i18n_1 = __webpack_require__(2);
|
|
|
3802
3709
|
|
|
3803
3710
|
var pick_1 = __webpack_require__(30);
|
|
3804
3711
|
|
|
3805
|
-
var variables_1 = __webpack_require__(
|
|
3712
|
+
var variables_1 = __webpack_require__(14);
|
|
3806
3713
|
|
|
3807
|
-
var BackgroundColor_1 = __webpack_require__(
|
|
3714
|
+
var BackgroundColor_1 = __webpack_require__(73);
|
|
3808
3715
|
|
|
3809
3716
|
var themes = {
|
|
3810
3717
|
defaultBackgroundColor: function defaultBackgroundColor(props) {
|
|
@@ -3834,7 +3741,7 @@ var AxesChartColorAndStyle = {
|
|
|
3834
3741
|
exports.default = AxesChartColorAndStyle;
|
|
3835
3742
|
|
|
3836
3743
|
/***/ }),
|
|
3837
|
-
/*
|
|
3744
|
+
/* 97 */
|
|
3838
3745
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3839
3746
|
|
|
3840
3747
|
"use strict";
|
|
@@ -3898,13 +3805,13 @@ var AxesChartLegend = {
|
|
|
3898
3805
|
exports.default = AxesChartLegend;
|
|
3899
3806
|
|
|
3900
3807
|
/***/ }),
|
|
3901
|
-
/*
|
|
3808
|
+
/* 98 */
|
|
3902
3809
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3903
3810
|
|
|
3904
3811
|
"use strict";
|
|
3905
3812
|
|
|
3906
3813
|
|
|
3907
|
-
var _toConsumableArray = __webpack_require__(
|
|
3814
|
+
var _toConsumableArray = __webpack_require__(7);
|
|
3908
3815
|
|
|
3909
3816
|
Object.defineProperty(exports, "__esModule", {
|
|
3910
3817
|
value: true
|
|
@@ -4186,7 +4093,7 @@ exports.AxesChartXGridAndLabelsBubbleScatter = {
|
|
|
4186
4093
|
exports.default = AxesChartXGridAndLabels;
|
|
4187
4094
|
|
|
4188
4095
|
/***/ }),
|
|
4189
|
-
/*
|
|
4096
|
+
/* 99 */
|
|
4190
4097
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4191
4098
|
|
|
4192
4099
|
"use strict";
|
|
@@ -4348,6 +4255,8 @@ var AxesChartYGridAndLabels = {
|
|
|
4348
4255
|
exports.default = AxesChartYGridAndLabels;
|
|
4349
4256
|
|
|
4350
4257
|
/***/ }),
|
|
4258
|
+
/* 100 */,
|
|
4259
|
+
/* 101 */,
|
|
4351
4260
|
/* 102 */,
|
|
4352
4261
|
/* 103 */,
|
|
4353
4262
|
/* 104 */,
|
|
@@ -4356,15 +4265,13 @@ exports.default = AxesChartYGridAndLabels;
|
|
|
4356
4265
|
/* 107 */,
|
|
4357
4266
|
/* 108 */,
|
|
4358
4267
|
/* 109 */,
|
|
4359
|
-
/* 110
|
|
4360
|
-
/* 111 */,
|
|
4361
|
-
/* 112 */
|
|
4268
|
+
/* 110 */
|
|
4362
4269
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4363
4270
|
|
|
4364
4271
|
"use strict";
|
|
4365
4272
|
|
|
4366
4273
|
|
|
4367
|
-
var _toConsumableArray = __webpack_require__(
|
|
4274
|
+
var _toConsumableArray = __webpack_require__(7);
|
|
4368
4275
|
|
|
4369
4276
|
Object.defineProperty(exports, "__esModule", {
|
|
4370
4277
|
value: true
|
|
@@ -4496,7 +4403,7 @@ exports.AxesChartDataDisplayColumn = {
|
|
|
4496
4403
|
exports.default = AxesChartDataDisplay;
|
|
4497
4404
|
|
|
4498
4405
|
/***/ }),
|
|
4499
|
-
/*
|
|
4406
|
+
/* 111 */
|
|
4500
4407
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4501
4408
|
|
|
4502
4409
|
"use strict";
|
|
@@ -4670,6 +4577,8 @@ var axesChartY2GridAndLabels = {
|
|
|
4670
4577
|
exports.default = axesChartY2GridAndLabels;
|
|
4671
4578
|
|
|
4672
4579
|
/***/ }),
|
|
4580
|
+
/* 112 */,
|
|
4581
|
+
/* 113 */,
|
|
4673
4582
|
/* 114 */,
|
|
4674
4583
|
/* 115 */,
|
|
4675
4584
|
/* 116 */,
|
|
@@ -4730,10 +4639,7 @@ exports.default = axesChartY2GridAndLabels;
|
|
|
4730
4639
|
/* 171 */,
|
|
4731
4640
|
/* 172 */,
|
|
4732
4641
|
/* 173 */,
|
|
4733
|
-
/* 174
|
|
4734
|
-
/* 175 */,
|
|
4735
|
-
/* 176 */,
|
|
4736
|
-
/* 177 */
|
|
4642
|
+
/* 174 */
|
|
4737
4643
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4738
4644
|
|
|
4739
4645
|
"use strict";
|
|
@@ -4757,20 +4663,20 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4757
4663
|
});
|
|
4758
4664
|
exports.config = exports.themes = exports.computeVizProps = void 0; // Charting imports i18n which needs to be run to instantiate window globals in the tests
|
|
4759
4665
|
|
|
4760
|
-
var Charting_1 = __webpack_require__(
|
|
4666
|
+
var Charting_1 = __webpack_require__(85); // eslint-disable-next-line import/order
|
|
4761
4667
|
|
|
4762
4668
|
|
|
4763
|
-
var charting_bundle_1 = __webpack_require__(
|
|
4669
|
+
var charting_bundle_1 = __webpack_require__(76);
|
|
4764
4670
|
|
|
4765
|
-
var config_1 = __webpack_require__(
|
|
4671
|
+
var config_1 = __webpack_require__(175);
|
|
4766
4672
|
|
|
4767
4673
|
exports.config = config_1.default;
|
|
4768
4674
|
|
|
4769
|
-
var withDashboardViz_1 = __webpack_require__(
|
|
4675
|
+
var withDashboardViz_1 = __webpack_require__(55);
|
|
4770
4676
|
|
|
4771
|
-
var chartingUtils_1 = __webpack_require__(
|
|
4677
|
+
var chartingUtils_1 = __webpack_require__(78);
|
|
4772
4678
|
|
|
4773
|
-
var lineUtils_1 = __webpack_require__(
|
|
4679
|
+
var lineUtils_1 = __webpack_require__(243);
|
|
4774
4680
|
|
|
4775
4681
|
var computeVizProps = function computeVizProps(_a) {
|
|
4776
4682
|
var dataSources = _a.dataSources,
|
|
@@ -4848,49 +4754,47 @@ exports.themes = themes;
|
|
|
4848
4754
|
exports.default = Line;
|
|
4849
4755
|
|
|
4850
4756
|
/***/ }),
|
|
4851
|
-
/*
|
|
4757
|
+
/* 175 */
|
|
4852
4758
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4853
4759
|
|
|
4854
4760
|
"use strict";
|
|
4855
4761
|
|
|
4856
4762
|
|
|
4857
|
-
var _toConsumableArray = __webpack_require__(
|
|
4763
|
+
var _toConsumableArray = __webpack_require__(7);
|
|
4858
4764
|
|
|
4859
4765
|
Object.defineProperty(exports, "__esModule", {
|
|
4860
4766
|
value: true
|
|
4861
4767
|
});
|
|
4862
4768
|
|
|
4863
|
-
var
|
|
4769
|
+
var visualization_schemas_1 = __webpack_require__(10);
|
|
4864
4770
|
|
|
4865
|
-
var
|
|
4771
|
+
var visualization_icons_1 = __webpack_require__(72);
|
|
4866
4772
|
|
|
4867
|
-
var
|
|
4868
|
-
|
|
4869
|
-
var placeholders_1 = __webpack_require__(72);
|
|
4773
|
+
var placeholders_1 = __webpack_require__(71);
|
|
4870
4774
|
|
|
4871
4775
|
var i18n_1 = __webpack_require__(2);
|
|
4872
4776
|
|
|
4873
4777
|
var pick_1 = __webpack_require__(30);
|
|
4874
4778
|
|
|
4875
|
-
var variables_1 = __webpack_require__(
|
|
4779
|
+
var variables_1 = __webpack_require__(14);
|
|
4876
4780
|
|
|
4877
|
-
var AxesChartDataConfig_1 = __webpack_require__(
|
|
4781
|
+
var AxesChartDataConfig_1 = __webpack_require__(95);
|
|
4878
4782
|
|
|
4879
|
-
var AxesChartDataDisplay_1 = __webpack_require__(
|
|
4783
|
+
var AxesChartDataDisplay_1 = __webpack_require__(110);
|
|
4880
4784
|
|
|
4881
|
-
var AxesChartColorAndStyle_1 = __webpack_require__(
|
|
4785
|
+
var AxesChartColorAndStyle_1 = __webpack_require__(96);
|
|
4882
4786
|
|
|
4883
|
-
var AxesChartLegend_1 = __webpack_require__(
|
|
4787
|
+
var AxesChartLegend_1 = __webpack_require__(97);
|
|
4884
4788
|
|
|
4885
|
-
var AxesChartXGridAndLabels_1 = __webpack_require__(
|
|
4789
|
+
var AxesChartXGridAndLabels_1 = __webpack_require__(98);
|
|
4886
4790
|
|
|
4887
|
-
var AxesChartYGridAndLabels_1 = __webpack_require__(
|
|
4791
|
+
var AxesChartYGridAndLabels_1 = __webpack_require__(99);
|
|
4888
4792
|
|
|
4889
|
-
var AxesChartY2GridAndLabels_1 = __webpack_require__(
|
|
4793
|
+
var AxesChartY2GridAndLabels_1 = __webpack_require__(111);
|
|
4890
4794
|
|
|
4891
|
-
var VizBehavior_1 = __webpack_require__(
|
|
4795
|
+
var VizBehavior_1 = __webpack_require__(8);
|
|
4892
4796
|
|
|
4893
|
-
var VizCategory_1 = __webpack_require__(
|
|
4797
|
+
var VizCategory_1 = __webpack_require__(23);
|
|
4894
4798
|
|
|
4895
4799
|
var configUtils_1 = __webpack_require__(27);
|
|
4896
4800
|
|
|
@@ -4919,426 +4823,6 @@ var size = {
|
|
|
4919
4823
|
initialHeight: 300
|
|
4920
4824
|
};
|
|
4921
4825
|
var defaultContext = {};
|
|
4922
|
-
var optionsSchema = {
|
|
4923
|
-
x: {
|
|
4924
|
-
default: '> primary | seriesByIndex(0)',
|
|
4925
|
-
description: 'Specify the dataSource applied to the x-axis.',
|
|
4926
|
-
type: 'array',
|
|
4927
|
-
items: {
|
|
4928
|
-
type: ['string', 'number']
|
|
4929
|
-
}
|
|
4930
|
-
},
|
|
4931
|
-
y: {
|
|
4932
|
-
default: '> primary | frameBySeriesIndexRange(1)',
|
|
4933
|
-
description: 'Specify the dataSource applied to the y-axis.',
|
|
4934
|
-
type: 'array',
|
|
4935
|
-
items: {
|
|
4936
|
-
type: ['string', 'number']
|
|
4937
|
-
}
|
|
4938
|
-
},
|
|
4939
|
-
y2: {
|
|
4940
|
-
description: 'Specify the dataSource applied to the y2-axis',
|
|
4941
|
-
type: 'array',
|
|
4942
|
-
items: {
|
|
4943
|
-
type: ['string', 'number']
|
|
4944
|
-
}
|
|
4945
|
-
},
|
|
4946
|
-
xField: {
|
|
4947
|
-
default: '> x | getField()',
|
|
4948
|
-
description: 'Specify the field that should be mapped to the x-axis.',
|
|
4949
|
-
type: 'string'
|
|
4950
|
-
},
|
|
4951
|
-
yFields: {
|
|
4952
|
-
default: '> y | getField()',
|
|
4953
|
-
description: 'Specify the field that should be mapped to the y-axis.',
|
|
4954
|
-
type: 'string'
|
|
4955
|
-
},
|
|
4956
|
-
annotationColor: {
|
|
4957
|
-
description: "Specify the annotation colors. You may use a dataSource to apply the color. For example, [\u201C#FF0000\u201D, \u201C#0000FF\", \u201C#008000\u201D].",
|
|
4958
|
-
type: 'array',
|
|
4959
|
-
items: {
|
|
4960
|
-
type: 'string'
|
|
4961
|
-
}
|
|
4962
|
-
},
|
|
4963
|
-
annotationLabel: {
|
|
4964
|
-
description: "Specify a list of labels used for the annotations. You may use a dataSource to apply the labels. For example, [\u201Chouston, we have a problem\u201D, \u201Cjust close the jira\u201D, \u201Clooking good now\u201D].",
|
|
4965
|
-
type: 'array',
|
|
4966
|
-
items: {
|
|
4967
|
-
type: 'string'
|
|
4968
|
-
}
|
|
4969
|
-
},
|
|
4970
|
-
annotationX: {
|
|
4971
|
-
description: 'Specify the dataSource field applied to the event annotation on the x-axis.',
|
|
4972
|
-
type: 'array',
|
|
4973
|
-
items: {
|
|
4974
|
-
type: ['string', 'number']
|
|
4975
|
-
}
|
|
4976
|
-
},
|
|
4977
|
-
backgroundColor: {
|
|
4978
|
-
default: '> themes.defaultBackgroundColor',
|
|
4979
|
-
description: 'Specify the color for the background. You may use a dataSource to apply the color. The default for enterprise light is "#ffffff". The default for enterprise dark is "#000000". The default for prisma dark is "#0b0c0e".',
|
|
4980
|
-
pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
|
|
4981
|
-
type: 'string'
|
|
4982
|
-
},
|
|
4983
|
-
dataValuesDisplay: {
|
|
4984
|
-
default: 'off',
|
|
4985
|
-
description: 'Specify whether chart should display no labels, all labels, or only the min and max labels.',
|
|
4986
|
-
pattern: (0, schemaUtils_1.getPattern)(['off', 'all', 'minmax']),
|
|
4987
|
-
type: 'string'
|
|
4988
|
-
},
|
|
4989
|
-
legendDisplay: {
|
|
4990
|
-
default: 'right',
|
|
4991
|
-
description: 'Specify the location of the legend on the panel. You must select the Standard legend mode to make this change.',
|
|
4992
|
-
pattern: (0, schemaUtils_1.getPattern)(['right', 'left', 'top', 'bottom', 'off']),
|
|
4993
|
-
type: 'string'
|
|
4994
|
-
},
|
|
4995
|
-
legendLabels: {
|
|
4996
|
-
description: "Specify a list of labels to pre-populate the legend. For example, [\"percent\", \"count\"].",
|
|
4997
|
-
type: 'array',
|
|
4998
|
-
items: {
|
|
4999
|
-
type: 'string'
|
|
5000
|
-
}
|
|
5001
|
-
},
|
|
5002
|
-
legendMode: {
|
|
5003
|
-
default: 'standard',
|
|
5004
|
-
description: 'Specify visual and behavioral settings for the tooltip and legend. "seriesCompare" is useful when comparing series.',
|
|
5005
|
-
pattern: (0, schemaUtils_1.getPattern)(['standard', 'seriesCompare']),
|
|
5006
|
-
type: 'string'
|
|
5007
|
-
},
|
|
5008
|
-
legendTruncation: {
|
|
5009
|
-
default: 'ellipsisEnd',
|
|
5010
|
-
description: 'Specify how to display legend labels when they overflow the layout boundaries by replacing overflow text with an ellipsis.',
|
|
5011
|
-
pattern: (0, schemaUtils_1.getPattern)(['ellipsisEnd', 'ellipsisMiddle', 'ellipsisStart', 'ellipsisOff']),
|
|
5012
|
-
type: 'string'
|
|
5013
|
-
},
|
|
5014
|
-
lineDashStyle: {
|
|
5015
|
-
default: 'solid',
|
|
5016
|
-
description: 'Specify a dash style for all line series in the chart.',
|
|
5017
|
-
pattern: (0, schemaUtils_1.getPattern)(['solid', 'shortDash', 'shortDot', 'shortDashDot', 'shortDashDotDot', 'dot', 'dash', 'longDash', 'dashDot', 'longDashDot', 'longDashDotDot']),
|
|
5018
|
-
type: 'string'
|
|
5019
|
-
},
|
|
5020
|
-
lineDashStylesByField: {
|
|
5021
|
-
description: "Specify a dash style to use for each field. For example, {\"count\": \"longDashDot\", \"percent\": \"longDashDotDot\"}.\n Valid values: \"solid\", \"shortDash\", \"shortDot\", \"shortDashDot\", \"shortDashDotDot\", \"dot\", \"dash\",\n \"longDash\", \"dashDot\", \"longDashDot\", \"longDashDotDot\".",
|
|
5022
|
-
type: 'object'
|
|
5023
|
-
},
|
|
5024
|
-
lineWidth: {
|
|
5025
|
-
default: 2,
|
|
5026
|
-
description: 'Specify the line width (px), for all line series.',
|
|
5027
|
-
type: 'number'
|
|
5028
|
-
},
|
|
5029
|
-
markerDisplay: {
|
|
5030
|
-
default: 'off',
|
|
5031
|
-
description: "Specify the marker display style for data points.",
|
|
5032
|
-
pattern: (0, schemaUtils_1.getPattern)(['off', 'filled', 'outlined']),
|
|
5033
|
-
enum: ['off', 'filled', 'outlined'],
|
|
5034
|
-
type: 'string'
|
|
5035
|
-
},
|
|
5036
|
-
nullValueDisplay: {
|
|
5037
|
-
default: 'gaps',
|
|
5038
|
-
description: 'Specify how area and line charts handle null values.',
|
|
5039
|
-
pattern: (0, schemaUtils_1.getPattern)(['gaps', 'zero', 'connect']),
|
|
5040
|
-
type: 'string'
|
|
5041
|
-
},
|
|
5042
|
-
resultLimit: {
|
|
5043
|
-
default: 50000,
|
|
5044
|
-
description: 'Specify the number of data points rendered in a chart.',
|
|
5045
|
-
type: 'number'
|
|
5046
|
-
},
|
|
5047
|
-
seriesColors: {
|
|
5048
|
-
default: visualization_color_palettes_1.VIZ_CATEGORICAL,
|
|
5049
|
-
description: 'Specify the colors used for a series. For example, ["#FF0000", "#0000FF", "#008000"].',
|
|
5050
|
-
type: 'array',
|
|
5051
|
-
items: {
|
|
5052
|
-
type: 'string'
|
|
5053
|
-
}
|
|
5054
|
-
},
|
|
5055
|
-
seriesColorsByField: {
|
|
5056
|
-
description: 'Specify the colors used for specific fields in a series. For example, {“count”: “#008000”, “percent”: “#FFA500”}.',
|
|
5057
|
-
type: 'object'
|
|
5058
|
-
},
|
|
5059
|
-
showLineSmoothing: {
|
|
5060
|
-
default: false,
|
|
5061
|
-
description: 'Specify whether lines are straight or smoothed using curves.',
|
|
5062
|
-
type: 'boolean'
|
|
5063
|
-
},
|
|
5064
|
-
showIndependentYRanges: {
|
|
5065
|
-
default: false,
|
|
5066
|
-
description: 'Specify whether split series charts have independent y-ranges.',
|
|
5067
|
-
type: 'boolean'
|
|
5068
|
-
},
|
|
5069
|
-
showSplitSeries: {
|
|
5070
|
-
default: false,
|
|
5071
|
-
description: 'Set to "true" to split a multi-series chart into separate charts that are stacked from top to bottom; one for each series.',
|
|
5072
|
-
type: 'boolean'
|
|
5073
|
-
},
|
|
5074
|
-
showXMajorGridLines: {
|
|
5075
|
-
default: false,
|
|
5076
|
-
description: 'Specify whether major grid lines are visible on the x-axis.',
|
|
5077
|
-
type: 'boolean'
|
|
5078
|
-
},
|
|
5079
|
-
showYMajorGridLines: {
|
|
5080
|
-
default: true,
|
|
5081
|
-
description: 'Specify whether major grid lines are visible on the y-axis.',
|
|
5082
|
-
type: 'boolean'
|
|
5083
|
-
},
|
|
5084
|
-
showY2MajorGridLines: {
|
|
5085
|
-
default: false,
|
|
5086
|
-
description: 'Specify whether major grid lines are visible on the y2-axis.',
|
|
5087
|
-
type: 'boolean'
|
|
5088
|
-
},
|
|
5089
|
-
showYMinorGridLines: {
|
|
5090
|
-
default: false,
|
|
5091
|
-
description: 'Specify whether minor grid lines are visible on the y-axis.',
|
|
5092
|
-
type: 'boolean'
|
|
5093
|
-
},
|
|
5094
|
-
showY2MinorGridLines: {
|
|
5095
|
-
default: false,
|
|
5096
|
-
description: 'Specify whether minor grid lines are visible on y2-axis.',
|
|
5097
|
-
type: 'boolean'
|
|
5098
|
-
},
|
|
5099
|
-
showYAxisExtendedRange: {
|
|
5100
|
-
default: true,
|
|
5101
|
-
description: 'Specify whether the y-axis should be extended to include whole major tick marks.',
|
|
5102
|
-
type: 'boolean'
|
|
5103
|
-
},
|
|
5104
|
-
showYAxisWithZero: {
|
|
5105
|
-
default: false,
|
|
5106
|
-
description: 'Specify whether the y-axis range includes zero.',
|
|
5107
|
-
type: 'boolean'
|
|
5108
|
-
},
|
|
5109
|
-
showY2AxisWithZero: {
|
|
5110
|
-
default: false,
|
|
5111
|
-
description: 'Specify whether the y2-axis range includes zero.',
|
|
5112
|
-
type: 'boolean'
|
|
5113
|
-
},
|
|
5114
|
-
xAxisLabelRotation: {
|
|
5115
|
-
default: 0,
|
|
5116
|
-
description: 'Specify the rotation of the x-axis label in degrees.',
|
|
5117
|
-
enum: [-90, -45, 0, 45, 90],
|
|
5118
|
-
type: 'number'
|
|
5119
|
-
},
|
|
5120
|
-
xAxisLabelVisibility: {
|
|
5121
|
-
default: 'auto',
|
|
5122
|
-
description: 'Specify whether to show or hide labels on the x-axis.',
|
|
5123
|
-
pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
|
|
5124
|
-
type: 'string'
|
|
5125
|
-
},
|
|
5126
|
-
yAxisLabelVisibility: {
|
|
5127
|
-
default: 'auto',
|
|
5128
|
-
description: 'Specify whether to show or hide labels on the y-axis.',
|
|
5129
|
-
pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
|
|
5130
|
-
type: 'string'
|
|
5131
|
-
},
|
|
5132
|
-
y2AxisLabelVisibility: {
|
|
5133
|
-
default: 'auto',
|
|
5134
|
-
description: 'Specify whether to show or hide labels on the y2-axis.',
|
|
5135
|
-
pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
|
|
5136
|
-
type: 'string'
|
|
5137
|
-
},
|
|
5138
|
-
xAxisLineVisibility: {
|
|
5139
|
-
default: 'hide',
|
|
5140
|
-
enum: ['hide', 'show'],
|
|
5141
|
-
description: 'Specify whether to show or hide the x-axis line.',
|
|
5142
|
-
pattern: (0, schemaUtils_1.getPattern)(['show', 'hide']),
|
|
5143
|
-
type: 'string'
|
|
5144
|
-
},
|
|
5145
|
-
yAxisLineVisibility: {
|
|
5146
|
-
default: 'hide',
|
|
5147
|
-
description: 'Specify whether to show or hide the y-axis line.',
|
|
5148
|
-
enum: ['hide', 'show'],
|
|
5149
|
-
pattern: (0, schemaUtils_1.getPattern)(['show', 'hide']),
|
|
5150
|
-
type: 'string'
|
|
5151
|
-
},
|
|
5152
|
-
y2AxisLineVisibility: {
|
|
5153
|
-
default: 'hide',
|
|
5154
|
-
description: 'Specify whether to show or hide the y2-axis line.',
|
|
5155
|
-
enum: ['hide', 'show'],
|
|
5156
|
-
pattern: (0, schemaUtils_1.getPattern)(['show', 'hide']),
|
|
5157
|
-
type: 'string'
|
|
5158
|
-
},
|
|
5159
|
-
xAxisMajorTickSize: {
|
|
5160
|
-
default: 6,
|
|
5161
|
-
description: 'Specify the size, in pixels, of major tick marks on the x-axis.',
|
|
5162
|
-
type: 'number'
|
|
5163
|
-
},
|
|
5164
|
-
yAxisMajorTickSize: {
|
|
5165
|
-
default: 6,
|
|
5166
|
-
description: 'Specify the size, in pixels, of major tick marks on the y-axis.',
|
|
5167
|
-
type: 'number'
|
|
5168
|
-
},
|
|
5169
|
-
y2AxisMajorTickSize: {
|
|
5170
|
-
default: 6,
|
|
5171
|
-
description: 'Specify the size, in pixels, of major tick marks on the y2-axis.',
|
|
5172
|
-
type: 'number'
|
|
5173
|
-
},
|
|
5174
|
-
yAxisMinorTickSize: {
|
|
5175
|
-
default: 6,
|
|
5176
|
-
description: 'Specify the size, in pixels, of minor tick marks on the y-axis.',
|
|
5177
|
-
type: 'number'
|
|
5178
|
-
},
|
|
5179
|
-
y2AxisMinorTickSize: {
|
|
5180
|
-
default: 6,
|
|
5181
|
-
description: 'Specify the size, in pixels, of minor tick marks on the y2-axis.',
|
|
5182
|
-
type: 'number'
|
|
5183
|
-
},
|
|
5184
|
-
xAxisMajorTickVisibility: {
|
|
5185
|
-
default: 'auto',
|
|
5186
|
-
description: 'Specify whether to show or hide major tick marks on the x-axis.',
|
|
5187
|
-
pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
|
|
5188
|
-
type: 'string'
|
|
5189
|
-
},
|
|
5190
|
-
yAxisMajorTickVisibility: {
|
|
5191
|
-
default: 'auto',
|
|
5192
|
-
description: 'Specify whether to show or hide major tick marks on the y-axis.',
|
|
5193
|
-
pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
|
|
5194
|
-
type: 'string'
|
|
5195
|
-
},
|
|
5196
|
-
y2AxisMajorTickVisibility: {
|
|
5197
|
-
default: 'auto',
|
|
5198
|
-
description: 'Specify whether to show or hide major tick marks on the y2-axis.',
|
|
5199
|
-
pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
|
|
5200
|
-
type: 'string'
|
|
5201
|
-
},
|
|
5202
|
-
yAxisMinorTickVisibility: {
|
|
5203
|
-
default: 'auto',
|
|
5204
|
-
description: 'Specify whether to show or hide minor tick marks on the y-axis.',
|
|
5205
|
-
pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
|
|
5206
|
-
type: 'string'
|
|
5207
|
-
},
|
|
5208
|
-
y2AxisMinorTickVisibility: {
|
|
5209
|
-
default: 'auto',
|
|
5210
|
-
description: 'Specify whether to show or hide minor tick marks on the y2-axis.',
|
|
5211
|
-
pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
|
|
5212
|
-
type: 'string'
|
|
5213
|
-
},
|
|
5214
|
-
xAxisMaxLabelParts: {
|
|
5215
|
-
default: 3,
|
|
5216
|
-
minimum: 1,
|
|
5217
|
-
maximum: 3,
|
|
5218
|
-
description: 'Specify the maximum number of time-parts for a tick label. The 3 possible parts are year, month, and time. Values can range from 1 to 3.',
|
|
5219
|
-
type: 'number'
|
|
5220
|
-
},
|
|
5221
|
-
xAxisTitleText: {
|
|
5222
|
-
description: 'Specify the title of the x-axis.',
|
|
5223
|
-
type: 'string'
|
|
5224
|
-
},
|
|
5225
|
-
yAxisTitleText: {
|
|
5226
|
-
description: 'Specify the title of the y-axis.',
|
|
5227
|
-
type: 'string'
|
|
5228
|
-
},
|
|
5229
|
-
y2AxisTitleText: {
|
|
5230
|
-
description: 'Specify the title of the y2-axis.',
|
|
5231
|
-
type: 'string'
|
|
5232
|
-
},
|
|
5233
|
-
xAxisTitleVisibility: {
|
|
5234
|
-
default: 'show',
|
|
5235
|
-
description: 'Specify whether to show or hide the title of the x-axis.',
|
|
5236
|
-
enum: ['hide', 'show'],
|
|
5237
|
-
pattern: (0, schemaUtils_1.getPattern)(['show', 'hide']),
|
|
5238
|
-
type: 'string'
|
|
5239
|
-
},
|
|
5240
|
-
yAxisTitleVisibility: {
|
|
5241
|
-
default: 'show',
|
|
5242
|
-
description: 'Specify whether to show or hide the title of the y-axis.',
|
|
5243
|
-
enum: ['hide', 'show'],
|
|
5244
|
-
pattern: (0, schemaUtils_1.getPattern)(['show', 'hide']),
|
|
5245
|
-
type: 'string'
|
|
5246
|
-
},
|
|
5247
|
-
y2AxisTitleVisibility: {
|
|
5248
|
-
default: 'show',
|
|
5249
|
-
description: 'Specify whether to show or hide the title of the y2-axis.',
|
|
5250
|
-
enum: ['hide', 'show'],
|
|
5251
|
-
pattern: (0, schemaUtils_1.getPattern)(['show', 'hide']),
|
|
5252
|
-
type: 'string'
|
|
5253
|
-
},
|
|
5254
|
-
yAxisAbbreviation: {
|
|
5255
|
-
default: 'auto',
|
|
5256
|
-
description: 'Specify whether to abbreviate large y-axis values with the closest SI prefix.',
|
|
5257
|
-
enum: ['off', 'auto'],
|
|
5258
|
-
pattern: (0, schemaUtils_1.getPattern)(['off', 'auto']),
|
|
5259
|
-
type: 'string'
|
|
5260
|
-
},
|
|
5261
|
-
y2AxisAbbreviation: {
|
|
5262
|
-
default: 'auto',
|
|
5263
|
-
description: 'Specify whether to abbreviate large y2-axis values with the closest SI prefix.',
|
|
5264
|
-
enum: ['off', 'auto'],
|
|
5265
|
-
pattern: (0, schemaUtils_1.getPattern)(['off', 'auto']),
|
|
5266
|
-
type: 'string'
|
|
5267
|
-
},
|
|
5268
|
-
yAxisMajorTickInterval: {
|
|
5269
|
-
default: 'auto',
|
|
5270
|
-
description: 'Specify the spacing unit between major tick marks along the numeric y-axis.',
|
|
5271
|
-
type: ['string', 'number']
|
|
5272
|
-
},
|
|
5273
|
-
y2AxisMajorTickInterval: {
|
|
5274
|
-
default: 'auto',
|
|
5275
|
-
description: 'Specify the spacing unit between major tick marks along the numeric y2-axis.',
|
|
5276
|
-
type: ['string', 'number']
|
|
5277
|
-
},
|
|
5278
|
-
// TODO(SCP-40274): Restrict string value to only 'auto' to achieve precise schema validation
|
|
5279
|
-
yAxisMax: {
|
|
5280
|
-
default: 'auto',
|
|
5281
|
-
description: 'Specify the maximum number for the visible y-axis range.',
|
|
5282
|
-
type: ['string', 'number']
|
|
5283
|
-
},
|
|
5284
|
-
// TODO(SCP-40274): Restrict string value to only 'auto' to achieve precise schema validation
|
|
5285
|
-
y2AxisMax: {
|
|
5286
|
-
default: 'auto',
|
|
5287
|
-
description: 'Specify the maximum number for the visible y2-axis range.',
|
|
5288
|
-
type: ['string', 'number']
|
|
5289
|
-
},
|
|
5290
|
-
// TODO(SCP-40274): Restrict string value to only 'auto' to achieve precise schema validation
|
|
5291
|
-
yAxisMin: {
|
|
5292
|
-
default: 'auto',
|
|
5293
|
-
description: 'Specify the minimum number for the visible y-axis range.',
|
|
5294
|
-
type: ['string', 'number']
|
|
5295
|
-
},
|
|
5296
|
-
// TODO(SCP-40274): Restrict string value to only 'auto' to achieve precise schema validation
|
|
5297
|
-
y2AxisMin: {
|
|
5298
|
-
default: 'auto',
|
|
5299
|
-
description: 'Specify the minimum number for the visible y2-axis range.',
|
|
5300
|
-
type: ['string', 'number']
|
|
5301
|
-
},
|
|
5302
|
-
yAxisScale: {
|
|
5303
|
-
default: 'linear',
|
|
5304
|
-
description: 'Specify the type of scale that applies to a numerical y-axis.',
|
|
5305
|
-
pattern: (0, schemaUtils_1.getPattern)(['linear', 'log']),
|
|
5306
|
-
type: 'string'
|
|
5307
|
-
},
|
|
5308
|
-
y2AxisScale: {
|
|
5309
|
-
default: 'linear',
|
|
5310
|
-
description: 'Specify the type of scale that applies to a numerical y2-axis.',
|
|
5311
|
-
pattern: (0, schemaUtils_1.getPattern)(['linear', 'log']),
|
|
5312
|
-
type: 'string'
|
|
5313
|
-
},
|
|
5314
|
-
// TODO: Figure out a way to explicitly support string value in addition to an array of strings
|
|
5315
|
-
// as UDF won't allow users to proceed if a string value is entered due to schema validation
|
|
5316
|
-
overlayFields: {
|
|
5317
|
-
description: 'Specify field(s) that should be differentiated on the chart and displayed as chart overlays.',
|
|
5318
|
-
type: ['array', 'string'],
|
|
5319
|
-
items: {
|
|
5320
|
-
type: 'string'
|
|
5321
|
-
}
|
|
5322
|
-
},
|
|
5323
|
-
showOverlayY2Axis: {
|
|
5324
|
-
default: false,
|
|
5325
|
-
description: 'Enable a y2-axis for chart overlays. All overlay fields will be mapped to a second y-axis.',
|
|
5326
|
-
type: 'boolean'
|
|
5327
|
-
},
|
|
5328
|
-
showRoundedY2AxisLabels: {
|
|
5329
|
-
default: true,
|
|
5330
|
-
description: 'Specify whether to round y2-axis values to the nearest integer.',
|
|
5331
|
-
type: 'boolean'
|
|
5332
|
-
},
|
|
5333
|
-
y2Fields: {
|
|
5334
|
-
default: '> y2 | getField()',
|
|
5335
|
-
description: 'Specify field(s) that should be mapped to a second y-axis.',
|
|
5336
|
-
type: ['array', 'string'],
|
|
5337
|
-
items: {
|
|
5338
|
-
type: 'string'
|
|
5339
|
-
}
|
|
5340
|
-
}
|
|
5341
|
-
};
|
|
5342
4826
|
var themes = {
|
|
5343
4827
|
defaultBackgroundColor: function defaultBackgroundColor(props) {
|
|
5344
4828
|
return (0, pick_1.default)({
|
|
@@ -5496,7 +4980,7 @@ var config = {
|
|
|
5496
4980
|
dataContract: dataContract,
|
|
5497
4981
|
size: size,
|
|
5498
4982
|
defaultContext: defaultContext,
|
|
5499
|
-
optionsSchema:
|
|
4983
|
+
optionsSchema: visualization_schemas_1.lineOptionsSchema,
|
|
5500
4984
|
editorConfig: editorConfig,
|
|
5501
4985
|
events: {
|
|
5502
4986
|
'legend.click': {
|
|
@@ -5521,6 +5005,9 @@ var config = {
|
|
|
5521
5005
|
exports.default = (0, configUtils_1.enhanceConfig)(config);
|
|
5522
5006
|
|
|
5523
5007
|
/***/ }),
|
|
5008
|
+
/* 176 */,
|
|
5009
|
+
/* 177 */,
|
|
5010
|
+
/* 178 */,
|
|
5524
5011
|
/* 179 */,
|
|
5525
5012
|
/* 180 */,
|
|
5526
5013
|
/* 181 */,
|
|
@@ -5584,11 +5071,7 @@ exports.default = (0, configUtils_1.enhanceConfig)(config);
|
|
|
5584
5071
|
/* 239 */,
|
|
5585
5072
|
/* 240 */,
|
|
5586
5073
|
/* 241 */,
|
|
5587
|
-
/* 242
|
|
5588
|
-
/* 243 */,
|
|
5589
|
-
/* 244 */,
|
|
5590
|
-
/* 245 */,
|
|
5591
|
-
/* 246 */
|
|
5074
|
+
/* 242 */
|
|
5592
5075
|
/***/ (function(module, exports, __webpack_require__) {
|
|
5593
5076
|
|
|
5594
5077
|
"use strict";
|
|
@@ -5624,9 +5107,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5624
5107
|
});
|
|
5625
5108
|
exports.default = void 0;
|
|
5626
5109
|
|
|
5627
|
-
__exportStar(__webpack_require__(
|
|
5110
|
+
__exportStar(__webpack_require__(174), exports);
|
|
5628
5111
|
|
|
5629
|
-
var Line_1 = __webpack_require__(
|
|
5112
|
+
var Line_1 = __webpack_require__(174);
|
|
5630
5113
|
|
|
5631
5114
|
Object.defineProperty(exports, "default", {
|
|
5632
5115
|
enumerable: true,
|
|
@@ -5636,7 +5119,7 @@ Object.defineProperty(exports, "default", {
|
|
|
5636
5119
|
});
|
|
5637
5120
|
|
|
5638
5121
|
/***/ }),
|
|
5639
|
-
/*
|
|
5122
|
+
/* 243 */
|
|
5640
5123
|
/***/ (function(module, exports, __webpack_require__) {
|
|
5641
5124
|
|
|
5642
5125
|
"use strict";
|
|
@@ -5649,11 +5132,11 @@ exports.convertToLineSCProperties = exports.convertMarkerOptions = exports.trans
|
|
|
5649
5132
|
|
|
5650
5133
|
var propUtils_1 = __webpack_require__(36);
|
|
5651
5134
|
|
|
5652
|
-
var simpleXMLOptions_1 = __webpack_require__(
|
|
5135
|
+
var simpleXMLOptions_1 = __webpack_require__(91);
|
|
5653
5136
|
|
|
5654
5137
|
var lodash_1 = __webpack_require__(3);
|
|
5655
5138
|
|
|
5656
|
-
var config_1 = __webpack_require__(
|
|
5139
|
+
var config_1 = __webpack_require__(175);
|
|
5657
5140
|
|
|
5658
5141
|
var transformOptions = function transformOptions(originalOptions) {
|
|
5659
5142
|
var returnOptions = (0, propUtils_1.adjustOptionsToSchema)(originalOptions, config_1.default.optionsSchema);
|