@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/Bar.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 = 198);
|
|
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.
|
|
968
|
-
|
|
969
|
-
var lodash_1 = __webpack_require__(3);
|
|
970
|
-
|
|
971
|
-
var schemaUtils_1 = __webpack_require__(24);
|
|
972
|
-
|
|
973
|
-
var VizBehavior_1 = __webpack_require__(6);
|
|
974
|
-
|
|
975
|
-
var dynamicOptionsDSLType = {
|
|
976
|
-
type: 'string',
|
|
977
|
-
pattern: schemaUtils_1.DYNAMIC_OPTIONS_DSL_PATTERN
|
|
978
|
-
};
|
|
979
|
-
/**
|
|
980
|
-
* Helper function to extend an options schema with dynamic options DSL
|
|
981
|
-
* @param optionsSchema a visualization's options schema
|
|
982
|
-
* @returns an updated options schema that additionally allows strings starting with > for each option
|
|
983
|
-
*/
|
|
953
|
+
exports.insertLayout = exports.isDynamicOption = exports.uncollapseEditorConfig = exports.generatePrecisionValues = exports.getInitialPreset = exports.enhanceConfig = exports.enhanceOptionsSchemaWithDynamicOptions = void 0;
|
|
984
954
|
|
|
985
|
-
|
|
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
|
-
});
|
|
955
|
+
var lodash_1 = __webpack_require__(3); // included for backwards compatibility
|
|
1013
956
|
|
|
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
957
|
|
|
1021
|
-
|
|
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
|
-
}
|
|
958
|
+
var visualization_schemas_1 = __webpack_require__(10);
|
|
1038
959
|
|
|
1039
|
-
exports
|
|
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 */,
|
|
@@ -4720,10 +4629,7 @@ exports.default = axesChartY2GridAndLabels;
|
|
|
4720
4629
|
/* 161 */,
|
|
4721
4630
|
/* 162 */,
|
|
4722
4631
|
/* 163 */,
|
|
4723
|
-
/* 164
|
|
4724
|
-
/* 165 */,
|
|
4725
|
-
/* 166 */,
|
|
4726
|
-
/* 167 */
|
|
4632
|
+
/* 164 */
|
|
4727
4633
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4728
4634
|
|
|
4729
4635
|
"use strict";
|
|
@@ -4751,21 +4657,21 @@ var lodash_1 = __webpack_require__(3); // Charting imports i18n which needs to b
|
|
|
4751
4657
|
// eslint-disable-next-line import/order
|
|
4752
4658
|
|
|
4753
4659
|
|
|
4754
|
-
var Charting_1 = __webpack_require__(
|
|
4660
|
+
var Charting_1 = __webpack_require__(85);
|
|
4755
4661
|
|
|
4756
|
-
var charting_bundle_1 = __webpack_require__(
|
|
4662
|
+
var charting_bundle_1 = __webpack_require__(76);
|
|
4757
4663
|
|
|
4758
|
-
var simpleXMLOptions_1 = __webpack_require__(
|
|
4664
|
+
var simpleXMLOptions_1 = __webpack_require__(91);
|
|
4759
4665
|
|
|
4760
|
-
var config_1 = __webpack_require__(
|
|
4666
|
+
var config_1 = __webpack_require__(199);
|
|
4761
4667
|
|
|
4762
4668
|
exports.config = config_1.default;
|
|
4763
4669
|
|
|
4764
|
-
var withDashboardViz_1 = __webpack_require__(
|
|
4670
|
+
var withDashboardViz_1 = __webpack_require__(55);
|
|
4765
4671
|
|
|
4766
|
-
var barUtils_1 = __webpack_require__(
|
|
4672
|
+
var barUtils_1 = __webpack_require__(200);
|
|
4767
4673
|
|
|
4768
|
-
var chartingUtils_1 = __webpack_require__(
|
|
4674
|
+
var chartingUtils_1 = __webpack_require__(78);
|
|
4769
4675
|
|
|
4770
4676
|
var validOptions = Object.keys(config_1.default.optionsSchema);
|
|
4771
4677
|
|
|
@@ -4834,6 +4740,9 @@ exports.themes = themes;
|
|
|
4834
4740
|
exports.default = Bar;
|
|
4835
4741
|
|
|
4836
4742
|
/***/ }),
|
|
4743
|
+
/* 165 */,
|
|
4744
|
+
/* 166 */,
|
|
4745
|
+
/* 167 */,
|
|
4837
4746
|
/* 168 */,
|
|
4838
4747
|
/* 169 */,
|
|
4839
4748
|
/* 170 */,
|
|
@@ -4864,11 +4773,7 @@ exports.default = Bar;
|
|
|
4864
4773
|
/* 195 */,
|
|
4865
4774
|
/* 196 */,
|
|
4866
4775
|
/* 197 */,
|
|
4867
|
-
/* 198
|
|
4868
|
-
/* 199 */,
|
|
4869
|
-
/* 200 */,
|
|
4870
|
-
/* 201 */,
|
|
4871
|
-
/* 202 */
|
|
4776
|
+
/* 198 */
|
|
4872
4777
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4873
4778
|
|
|
4874
4779
|
"use strict";
|
|
@@ -4904,9 +4809,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4904
4809
|
});
|
|
4905
4810
|
exports.default = void 0;
|
|
4906
4811
|
|
|
4907
|
-
__exportStar(__webpack_require__(
|
|
4812
|
+
__exportStar(__webpack_require__(164), exports);
|
|
4908
4813
|
|
|
4909
|
-
var Bar_1 = __webpack_require__(
|
|
4814
|
+
var Bar_1 = __webpack_require__(164);
|
|
4910
4815
|
|
|
4911
4816
|
Object.defineProperty(exports, "default", {
|
|
4912
4817
|
enumerable: true,
|
|
@@ -4916,51 +4821,49 @@ Object.defineProperty(exports, "default", {
|
|
|
4916
4821
|
});
|
|
4917
4822
|
|
|
4918
4823
|
/***/ }),
|
|
4919
|
-
/*
|
|
4824
|
+
/* 199 */
|
|
4920
4825
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4921
4826
|
|
|
4922
4827
|
"use strict";
|
|
4923
4828
|
|
|
4924
4829
|
|
|
4925
|
-
var _toConsumableArray = __webpack_require__(
|
|
4830
|
+
var _toConsumableArray = __webpack_require__(7);
|
|
4926
4831
|
|
|
4927
4832
|
Object.defineProperty(exports, "__esModule", {
|
|
4928
4833
|
value: true
|
|
4929
4834
|
});
|
|
4930
4835
|
|
|
4931
|
-
var visualization_icons_1 = __webpack_require__(
|
|
4932
|
-
|
|
4933
|
-
var placeholders_1 = __webpack_require__(72);
|
|
4836
|
+
var visualization_icons_1 = __webpack_require__(72);
|
|
4934
4837
|
|
|
4935
|
-
var
|
|
4838
|
+
var placeholders_1 = __webpack_require__(71);
|
|
4936
4839
|
|
|
4937
|
-
var
|
|
4840
|
+
var visualization_schemas_1 = __webpack_require__(10);
|
|
4938
4841
|
|
|
4939
4842
|
var i18n_1 = __webpack_require__(2);
|
|
4940
4843
|
|
|
4941
4844
|
var pick_1 = __webpack_require__(30);
|
|
4942
4845
|
|
|
4943
|
-
var variables_1 = __webpack_require__(
|
|
4846
|
+
var variables_1 = __webpack_require__(14);
|
|
4944
4847
|
|
|
4945
4848
|
var lodash_1 = __webpack_require__(3);
|
|
4946
4849
|
|
|
4947
|
-
var AxesChartDataConfig_1 = __webpack_require__(
|
|
4850
|
+
var AxesChartDataConfig_1 = __webpack_require__(95);
|
|
4948
4851
|
|
|
4949
|
-
var AxesChartDataDisplay_1 = __webpack_require__(
|
|
4852
|
+
var AxesChartDataDisplay_1 = __webpack_require__(110);
|
|
4950
4853
|
|
|
4951
|
-
var AxesChartXGridAndLabels_1 = __webpack_require__(
|
|
4854
|
+
var AxesChartXGridAndLabels_1 = __webpack_require__(98);
|
|
4952
4855
|
|
|
4953
|
-
var AxesChartColorAndStyle_1 = __webpack_require__(
|
|
4856
|
+
var AxesChartColorAndStyle_1 = __webpack_require__(96);
|
|
4954
4857
|
|
|
4955
|
-
var AxesChartLegend_1 = __webpack_require__(
|
|
4858
|
+
var AxesChartLegend_1 = __webpack_require__(97);
|
|
4956
4859
|
|
|
4957
|
-
var AxesChartYGridAndLabels_1 = __webpack_require__(
|
|
4860
|
+
var AxesChartYGridAndLabels_1 = __webpack_require__(99);
|
|
4958
4861
|
|
|
4959
|
-
var AxesChartY2GridAndLabels_1 = __webpack_require__(
|
|
4862
|
+
var AxesChartY2GridAndLabels_1 = __webpack_require__(111);
|
|
4960
4863
|
|
|
4961
|
-
var VizBehavior_1 = __webpack_require__(
|
|
4864
|
+
var VizBehavior_1 = __webpack_require__(8);
|
|
4962
4865
|
|
|
4963
|
-
var VizCategory_1 = __webpack_require__(
|
|
4866
|
+
var VizCategory_1 = __webpack_require__(23);
|
|
4964
4867
|
|
|
4965
4868
|
var configUtils_1 = __webpack_require__(27);
|
|
4966
4869
|
|
|
@@ -4987,380 +4890,6 @@ var size = {
|
|
|
4987
4890
|
initialHeight: 300
|
|
4988
4891
|
};
|
|
4989
4892
|
var defaultContext = {};
|
|
4990
|
-
var optionsSchema = {
|
|
4991
|
-
x: {
|
|
4992
|
-
default: '> primary | seriesByIndex(0)',
|
|
4993
|
-
description: 'Specify the data source to apply to the x-axis.',
|
|
4994
|
-
type: 'array',
|
|
4995
|
-
items: {
|
|
4996
|
-
type: ['string', 'number']
|
|
4997
|
-
}
|
|
4998
|
-
},
|
|
4999
|
-
y: {
|
|
5000
|
-
default: '> primary | frameBySeriesIndexRange(1)',
|
|
5001
|
-
description: 'Specify the data source to apply to the y-axis.',
|
|
5002
|
-
type: 'array',
|
|
5003
|
-
items: {
|
|
5004
|
-
type: ['string', 'number']
|
|
5005
|
-
}
|
|
5006
|
-
},
|
|
5007
|
-
y2: {
|
|
5008
|
-
description: 'Specify the data source to apply to the second y-axis',
|
|
5009
|
-
type: 'array',
|
|
5010
|
-
items: {
|
|
5011
|
-
type: ['string', 'number']
|
|
5012
|
-
}
|
|
5013
|
-
},
|
|
5014
|
-
xField: {
|
|
5015
|
-
default: '> x | getField()',
|
|
5016
|
-
description: 'Specify the field to map to the x-axis.',
|
|
5017
|
-
type: 'string'
|
|
5018
|
-
},
|
|
5019
|
-
yFields: {
|
|
5020
|
-
default: '> y | getField()',
|
|
5021
|
-
description: 'Specify the field to map to the y-axis.',
|
|
5022
|
-
type: 'string'
|
|
5023
|
-
},
|
|
5024
|
-
y2Fields: {
|
|
5025
|
-
default: '> y2 | getField()',
|
|
5026
|
-
description: 'Specify one or more fields to map to a second y-axis.',
|
|
5027
|
-
type: ['array', 'string'],
|
|
5028
|
-
items: {
|
|
5029
|
-
type: 'string'
|
|
5030
|
-
}
|
|
5031
|
-
},
|
|
5032
|
-
backgroundColor: {
|
|
5033
|
-
default: '> themes.defaultBackgroundColor',
|
|
5034
|
-
description: 'Specify the color used for the background. You can use a data source or hexadecimal code to apply the color.',
|
|
5035
|
-
pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
|
|
5036
|
-
type: 'string'
|
|
5037
|
-
},
|
|
5038
|
-
barSpacing: {
|
|
5039
|
-
description: 'Specify the spacing (px) between columns in a bar chart.',
|
|
5040
|
-
type: 'number'
|
|
5041
|
-
},
|
|
5042
|
-
dataValuesDisplay: {
|
|
5043
|
-
default: 'off',
|
|
5044
|
-
description: 'Specify the labels to display. Enter "all" to show lables for all data points, "off" to show no labels, or "minmax to show high and low values".',
|
|
5045
|
-
pattern: (0, schemaUtils_1.getPattern)(['off', 'all', 'minmax']),
|
|
5046
|
-
type: 'string'
|
|
5047
|
-
},
|
|
5048
|
-
legendDisplay: {
|
|
5049
|
-
default: 'right',
|
|
5050
|
-
description: 'Specify the location of the legend on the panel.',
|
|
5051
|
-
pattern: (0, schemaUtils_1.getPattern)(['right', 'left', 'top', 'bottom', 'off']),
|
|
5052
|
-
type: 'string'
|
|
5053
|
-
},
|
|
5054
|
-
legendLabels: {
|
|
5055
|
-
description: 'Specify a list of labels to populate the legend in advance. For example, ["percent", "count"].',
|
|
5056
|
-
type: 'array',
|
|
5057
|
-
items: {
|
|
5058
|
-
type: 'string'
|
|
5059
|
-
}
|
|
5060
|
-
},
|
|
5061
|
-
legendMode: {
|
|
5062
|
-
default: 'standard',
|
|
5063
|
-
description: 'Specify visual and behavioral settings for the tooltip and legend. "seriesCompare" is useful when comparing series.',
|
|
5064
|
-
pattern: (0, schemaUtils_1.getPattern)(['standard', 'seriesCompare']),
|
|
5065
|
-
type: 'string'
|
|
5066
|
-
},
|
|
5067
|
-
legendTruncation: {
|
|
5068
|
-
default: 'ellipsisEnd',
|
|
5069
|
-
description: 'Specify how to display legend labels when they overflow the layout boundaries by replacing overflow text with an ellipsis.',
|
|
5070
|
-
pattern: (0, schemaUtils_1.getPattern)(['ellipsisEnd', 'ellipsisMiddle', 'ellipsisStart', 'ellipsisOff']),
|
|
5071
|
-
type: 'string'
|
|
5072
|
-
},
|
|
5073
|
-
lineWidth: {
|
|
5074
|
-
default: 2,
|
|
5075
|
-
description: 'Specify the line width (px) for overlay field lines.',
|
|
5076
|
-
type: 'number'
|
|
5077
|
-
},
|
|
5078
|
-
resultLimit: {
|
|
5079
|
-
default: 50000,
|
|
5080
|
-
description: 'Specify the number of data points to render in a chart.',
|
|
5081
|
-
type: 'number'
|
|
5082
|
-
},
|
|
5083
|
-
seriesColors: {
|
|
5084
|
-
default: visualization_color_palettes_1.VIZ_CATEGORICAL,
|
|
5085
|
-
description: 'Specify the colors to use in a series. For example, ["#FF0000", "#0000FF", "#008000"].',
|
|
5086
|
-
type: 'array',
|
|
5087
|
-
items: {
|
|
5088
|
-
type: 'string'
|
|
5089
|
-
}
|
|
5090
|
-
},
|
|
5091
|
-
seriesColorsByField: {
|
|
5092
|
-
description: 'Specify the colors to use for specific fields in a series. For example, {“count”: “#008000”, “percent”: “#FFA500”}.',
|
|
5093
|
-
type: 'object'
|
|
5094
|
-
},
|
|
5095
|
-
seriesSpacing: {
|
|
5096
|
-
description: 'Specify the spacing (px) between clustered series in column and bar charts.',
|
|
5097
|
-
type: 'number'
|
|
5098
|
-
},
|
|
5099
|
-
stackMode: {
|
|
5100
|
-
default: 'auto',
|
|
5101
|
-
description: 'Specify stack mode.',
|
|
5102
|
-
pattern: (0, schemaUtils_1.getPattern)(['auto', 'stacked', 'stacked100']),
|
|
5103
|
-
type: 'string'
|
|
5104
|
-
},
|
|
5105
|
-
showIndependentYRanges: {
|
|
5106
|
-
default: false,
|
|
5107
|
-
description: 'Specify whether split series charts have independent y-ranges.',
|
|
5108
|
-
type: 'boolean'
|
|
5109
|
-
},
|
|
5110
|
-
showSplitSeries: {
|
|
5111
|
-
default: false,
|
|
5112
|
-
description: 'Specify whether to split a multi-series chart into separate charts that are stacked from top to bottom, one for each series.',
|
|
5113
|
-
type: 'boolean'
|
|
5114
|
-
},
|
|
5115
|
-
showXMajorGridLines: {
|
|
5116
|
-
default: false,
|
|
5117
|
-
description: 'Specify whether to show major grid lines on the x-axis.',
|
|
5118
|
-
type: 'boolean'
|
|
5119
|
-
},
|
|
5120
|
-
showYMajorGridLines: {
|
|
5121
|
-
default: true,
|
|
5122
|
-
description: 'Specify whether to show major grid lines on the y-axis.',
|
|
5123
|
-
type: 'boolean'
|
|
5124
|
-
},
|
|
5125
|
-
showY2MajorGridLines: {
|
|
5126
|
-
default: false,
|
|
5127
|
-
description: 'Specify whether to show major grid lines on the second y-axis.',
|
|
5128
|
-
type: 'boolean'
|
|
5129
|
-
},
|
|
5130
|
-
showYMinorGridLines: {
|
|
5131
|
-
default: false,
|
|
5132
|
-
description: 'Specify whether to show minor grid lines on the y-axis.',
|
|
5133
|
-
type: 'boolean'
|
|
5134
|
-
},
|
|
5135
|
-
showY2MinorGridLines: {
|
|
5136
|
-
default: false,
|
|
5137
|
-
description: 'Specify whether to show minor grid lines on the second y-axis.',
|
|
5138
|
-
type: 'boolean'
|
|
5139
|
-
},
|
|
5140
|
-
showYAxisExtendedRange: {
|
|
5141
|
-
default: true,
|
|
5142
|
-
description: 'Specify whether to extend the y-axis to include whole major tick marks.',
|
|
5143
|
-
type: 'boolean'
|
|
5144
|
-
},
|
|
5145
|
-
showYAxisWithZero: {
|
|
5146
|
-
default: false,
|
|
5147
|
-
description: 'Specify whether to include zero in the y-axis range.',
|
|
5148
|
-
type: 'boolean'
|
|
5149
|
-
},
|
|
5150
|
-
showY2AxisWithZero: {
|
|
5151
|
-
default: false,
|
|
5152
|
-
description: 'Specify whether to include zero the second y-axis range .',
|
|
5153
|
-
type: 'boolean'
|
|
5154
|
-
},
|
|
5155
|
-
xAxisLabelVisibility: {
|
|
5156
|
-
default: 'auto',
|
|
5157
|
-
description: 'Specify whether to show labels on the x-axis.',
|
|
5158
|
-
pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
|
|
5159
|
-
type: 'string'
|
|
5160
|
-
},
|
|
5161
|
-
yAxisLabelVisibility: {
|
|
5162
|
-
default: 'auto',
|
|
5163
|
-
description: 'Specify whether to show labels on the y-axis.',
|
|
5164
|
-
pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
|
|
5165
|
-
type: 'string'
|
|
5166
|
-
},
|
|
5167
|
-
y2AxisLabelVisibility: {
|
|
5168
|
-
default: 'auto',
|
|
5169
|
-
description: 'Specify whether to show labels on the second y-axis.',
|
|
5170
|
-
pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
|
|
5171
|
-
type: 'string'
|
|
5172
|
-
},
|
|
5173
|
-
xAxisLineVisibility: {
|
|
5174
|
-
default: 'hide',
|
|
5175
|
-
description: 'Specify whether to show the x-axis line.',
|
|
5176
|
-
enum: ['hide', 'show'],
|
|
5177
|
-
pattern: (0, schemaUtils_1.getPattern)(['show', 'hide']),
|
|
5178
|
-
type: 'string'
|
|
5179
|
-
},
|
|
5180
|
-
yAxisLineVisibility: {
|
|
5181
|
-
default: 'hide',
|
|
5182
|
-
description: 'Specify whether to show the y-axis line.',
|
|
5183
|
-
enum: ['hide', 'show'],
|
|
5184
|
-
pattern: (0, schemaUtils_1.getPattern)(['show', 'hide']),
|
|
5185
|
-
type: 'string'
|
|
5186
|
-
},
|
|
5187
|
-
y2AxisLineVisibility: {
|
|
5188
|
-
default: 'hide',
|
|
5189
|
-
description: 'Specify whether to show the second y-axis line.',
|
|
5190
|
-
enum: ['hide', 'show'],
|
|
5191
|
-
pattern: (0, schemaUtils_1.getPattern)(['show', 'hide']),
|
|
5192
|
-
type: 'string'
|
|
5193
|
-
},
|
|
5194
|
-
xAxisMajorTickSize: {
|
|
5195
|
-
default: 6,
|
|
5196
|
-
description: 'Specify the size (px) of major tick marks on the x-axis.',
|
|
5197
|
-
type: 'number'
|
|
5198
|
-
},
|
|
5199
|
-
yAxisMajorTickSize: {
|
|
5200
|
-
default: 6,
|
|
5201
|
-
description: 'Specify the size (px) of major tick marks on the y-axis.',
|
|
5202
|
-
type: 'number'
|
|
5203
|
-
},
|
|
5204
|
-
y2AxisMajorTickSize: {
|
|
5205
|
-
default: 6,
|
|
5206
|
-
description: 'Specify the size (px) of major tick marks on the second y-axis.',
|
|
5207
|
-
type: 'number'
|
|
5208
|
-
},
|
|
5209
|
-
yAxisMinorTickSize: {
|
|
5210
|
-
default: 6,
|
|
5211
|
-
description: 'Specify the size (px) of minor tick marks on the y-axis.',
|
|
5212
|
-
type: 'number'
|
|
5213
|
-
},
|
|
5214
|
-
y2AxisMinorTickSize: {
|
|
5215
|
-
default: 6,
|
|
5216
|
-
description: 'Specify the size (px) of minor tick marks on the second y-axis.',
|
|
5217
|
-
type: 'number'
|
|
5218
|
-
},
|
|
5219
|
-
xAxisMajorTickVisibility: {
|
|
5220
|
-
default: 'auto',
|
|
5221
|
-
description: 'Specify whether to show major tick marks on the x-axis.',
|
|
5222
|
-
pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
|
|
5223
|
-
type: 'string'
|
|
5224
|
-
},
|
|
5225
|
-
yAxisMajorTickVisibility: {
|
|
5226
|
-
default: 'auto',
|
|
5227
|
-
description: 'Specify whether to show major tick marks on the y-axis.',
|
|
5228
|
-
pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
|
|
5229
|
-
type: 'string'
|
|
5230
|
-
},
|
|
5231
|
-
y2AxisMajorTickVisibility: {
|
|
5232
|
-
default: 'auto',
|
|
5233
|
-
description: 'Specify whether to show major tick marks on the second y-axis.',
|
|
5234
|
-
pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
|
|
5235
|
-
type: 'string'
|
|
5236
|
-
},
|
|
5237
|
-
yAxisMinorTickVisibility: {
|
|
5238
|
-
default: 'auto',
|
|
5239
|
-
description: 'Specify whether to show minor tick marks on the y-axis.',
|
|
5240
|
-
pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
|
|
5241
|
-
type: 'string'
|
|
5242
|
-
},
|
|
5243
|
-
y2AxisMinorTickVisibility: {
|
|
5244
|
-
default: 'auto',
|
|
5245
|
-
description: 'Specify whether to show minor tick marks on the second y-axis.',
|
|
5246
|
-
pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
|
|
5247
|
-
type: 'string'
|
|
5248
|
-
},
|
|
5249
|
-
xAxisMaxLabelParts: {
|
|
5250
|
-
default: 3,
|
|
5251
|
-
minimum: 1,
|
|
5252
|
-
maximum: 3,
|
|
5253
|
-
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.',
|
|
5254
|
-
type: 'number'
|
|
5255
|
-
},
|
|
5256
|
-
yAxisScale: {
|
|
5257
|
-
default: 'linear',
|
|
5258
|
-
description: 'Specify the type of scale that applies to a numerical y-axis.',
|
|
5259
|
-
pattern: (0, schemaUtils_1.getPattern)(['linear', 'log']),
|
|
5260
|
-
type: 'string'
|
|
5261
|
-
},
|
|
5262
|
-
y2AxisScale: {
|
|
5263
|
-
default: 'linear',
|
|
5264
|
-
description: 'Specify the type of scale that applies to a numerical second y-axis.',
|
|
5265
|
-
pattern: (0, schemaUtils_1.getPattern)(['linear', 'log']),
|
|
5266
|
-
type: 'string'
|
|
5267
|
-
},
|
|
5268
|
-
xAxisTitleText: {
|
|
5269
|
-
description: 'Specify the title of the x-axis.',
|
|
5270
|
-
type: 'string'
|
|
5271
|
-
},
|
|
5272
|
-
yAxisTitleText: {
|
|
5273
|
-
description: 'Specify the title of the y-axis.',
|
|
5274
|
-
type: 'string'
|
|
5275
|
-
},
|
|
5276
|
-
y2AxisTitleText: {
|
|
5277
|
-
description: 'Specify the title of the second y-axis.',
|
|
5278
|
-
type: 'string'
|
|
5279
|
-
},
|
|
5280
|
-
xAxisTitleVisibility: {
|
|
5281
|
-
default: 'show',
|
|
5282
|
-
description: 'Specify whether to show the title of the x-axis.',
|
|
5283
|
-
enum: ['hide', 'show'],
|
|
5284
|
-
pattern: (0, schemaUtils_1.getPattern)(['show', 'hide']),
|
|
5285
|
-
type: 'string'
|
|
5286
|
-
},
|
|
5287
|
-
yAxisTitleVisibility: {
|
|
5288
|
-
default: 'show',
|
|
5289
|
-
description: 'Specify whether to show the title of the y-axis.',
|
|
5290
|
-
enum: ['hide', 'show'],
|
|
5291
|
-
pattern: (0, schemaUtils_1.getPattern)(['show', 'hide']),
|
|
5292
|
-
type: 'string'
|
|
5293
|
-
},
|
|
5294
|
-
y2AxisTitleVisibility: {
|
|
5295
|
-
default: 'show',
|
|
5296
|
-
description: 'Specify whether to show the title of the second y-axis.',
|
|
5297
|
-
enum: ['hide', 'show'],
|
|
5298
|
-
pattern: (0, schemaUtils_1.getPattern)(['show', 'hide']),
|
|
5299
|
-
type: 'string'
|
|
5300
|
-
},
|
|
5301
|
-
yAxisAbbreviation: {
|
|
5302
|
-
default: 'auto',
|
|
5303
|
-
description: 'Specify whether to abbreviate large y-axis values with the closest International System of Units (SI) prefix.',
|
|
5304
|
-
enum: ['auto', 'off'],
|
|
5305
|
-
pattern: (0, schemaUtils_1.getPattern)(['off', 'auto']),
|
|
5306
|
-
type: 'string'
|
|
5307
|
-
},
|
|
5308
|
-
y2AxisAbbreviation: {
|
|
5309
|
-
default: 'auto',
|
|
5310
|
-
description: 'Specify whether to abbreviate large y2-axis values with the closest International System of Units (SI) prefix.',
|
|
5311
|
-
enum: ['auto', 'off'],
|
|
5312
|
-
pattern: (0, schemaUtils_1.getPattern)(['off', 'auto']),
|
|
5313
|
-
type: 'string'
|
|
5314
|
-
},
|
|
5315
|
-
yAxisMajorTickInterval: {
|
|
5316
|
-
default: 'auto',
|
|
5317
|
-
description: 'Specify the spacing unit between major tick marks along the numeric y-axis.',
|
|
5318
|
-
type: ['string', 'number']
|
|
5319
|
-
},
|
|
5320
|
-
y2AxisMajorTickInterval: {
|
|
5321
|
-
default: 'auto',
|
|
5322
|
-
description: 'Specify the spacing unit between major tick marks along the numeric second y-axis.',
|
|
5323
|
-
type: ['string', 'number']
|
|
5324
|
-
},
|
|
5325
|
-
// TODO(SCP-40274): Restrict string value to only 'auto' to achieve precise schema validation
|
|
5326
|
-
yAxisMax: {
|
|
5327
|
-
default: 'auto',
|
|
5328
|
-
description: 'Specify the largest value to display in the visible y-axis range.',
|
|
5329
|
-
type: ['string', 'number']
|
|
5330
|
-
},
|
|
5331
|
-
// TODO(SCP-40274): Restrict string value to only 'auto' to achieve precise schema validation
|
|
5332
|
-
y2AxisMax: {
|
|
5333
|
-
default: 'auto',
|
|
5334
|
-
description: 'Specify the largest value to display in the visible second y-axis range.',
|
|
5335
|
-
type: ['string', 'number']
|
|
5336
|
-
},
|
|
5337
|
-
// TODO(SCP-40274): Restrict string value to only 'auto' to achieve precise schema validation
|
|
5338
|
-
yAxisMin: {
|
|
5339
|
-
default: 'auto',
|
|
5340
|
-
description: 'Specify the smallest value for the visible y-axis range.',
|
|
5341
|
-
type: ['string', 'number']
|
|
5342
|
-
},
|
|
5343
|
-
// TODO(SCP-40274): Restrict string value to only 'auto' to achieve precise schema validation
|
|
5344
|
-
y2AxisMin: {
|
|
5345
|
-
default: 'auto',
|
|
5346
|
-
description: 'Specify the smallest value for the visible second y-axis range.',
|
|
5347
|
-
type: ['string', 'number']
|
|
5348
|
-
},
|
|
5349
|
-
overlayFields: {
|
|
5350
|
-
description: 'Specify one or more fields to differentiate on the chart and display as chart overlays.',
|
|
5351
|
-
type: ['array', 'string']
|
|
5352
|
-
},
|
|
5353
|
-
showOverlayY2Axis: {
|
|
5354
|
-
default: false,
|
|
5355
|
-
description: 'Enable a second y-axis for chart overlays. All overlay fields map to a second y-axis.',
|
|
5356
|
-
type: 'boolean'
|
|
5357
|
-
},
|
|
5358
|
-
showRoundedY2AxisLabels: {
|
|
5359
|
-
default: true,
|
|
5360
|
-
description: 'Specify whether to round second y-axis values to the nearest integer.',
|
|
5361
|
-
type: 'boolean'
|
|
5362
|
-
}
|
|
5363
|
-
};
|
|
5364
4893
|
var themes = {
|
|
5365
4894
|
defaultBackgroundColor: function defaultBackgroundColor(props) {
|
|
5366
4895
|
return (0, pick_1.default)({
|
|
@@ -5490,7 +5019,7 @@ var config = {
|
|
|
5490
5019
|
dataContract: dataContract,
|
|
5491
5020
|
size: size,
|
|
5492
5021
|
defaultContext: defaultContext,
|
|
5493
|
-
optionsSchema:
|
|
5022
|
+
optionsSchema: visualization_schemas_1.barOptionsSchema,
|
|
5494
5023
|
editorConfig: editorConfig,
|
|
5495
5024
|
events: {
|
|
5496
5025
|
'legend.click': {
|
|
@@ -5512,7 +5041,7 @@ var config = {
|
|
|
5512
5041
|
exports.default = (0, configUtils_1.enhanceConfig)(config);
|
|
5513
5042
|
|
|
5514
5043
|
/***/ }),
|
|
5515
|
-
/*
|
|
5044
|
+
/* 200 */
|
|
5516
5045
|
/***/ (function(module, exports, __webpack_require__) {
|
|
5517
5046
|
|
|
5518
5047
|
"use strict";
|
|
@@ -5527,7 +5056,7 @@ var lodash_1 = __webpack_require__(3);
|
|
|
5527
5056
|
|
|
5528
5057
|
var propUtils_1 = __webpack_require__(36);
|
|
5529
5058
|
|
|
5530
|
-
var chartingUtils_1 = __webpack_require__(
|
|
5059
|
+
var chartingUtils_1 = __webpack_require__(78); // map for key names which are either new or not present in SimpleXML options mapping
|
|
5531
5060
|
|
|
5532
5061
|
|
|
5533
5062
|
var barOptionsSCMapping = {
|