@splunk/visualizations 26.2.1 → 26.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Area.config.js +91 -594
- package/Area.config.js.map +1 -1
- package/Area.js +184 -689
- package/Area.js.map +1 -1
- package/Bar.config.js +92 -561
- package/Bar.config.js.map +1 -1
- package/Bar.js +184 -655
- package/Bar.js.map +1 -1
- package/Bubble.config.js +83 -482
- package/Bubble.config.js.map +1 -1
- package/Bubble.js +177 -578
- package/Bubble.js.map +1 -1
- package/ChoroplethSvg.config.js +76 -201
- package/ChoroplethSvg.config.js.map +1 -1
- package/ChoroplethSvg.js +170 -300
- package/ChoroplethSvg.js.map +1 -1
- package/Column.config.js +92 -599
- package/Column.config.js.map +1 -1
- package/Column.js +184 -693
- package/Column.js.map +1 -1
- package/Ellipse.config.js +82 -200
- package/Ellipse.config.js.map +1 -1
- package/Ellipse.js +137 -262
- package/Ellipse.js.map +1 -1
- package/Events.config.js +61 -282
- package/Events.config.js.map +1 -1
- package/Events.js +222 -428
- package/Events.js.map +1 -1
- package/FillerGauge.config.js +90 -219
- package/FillerGauge.config.js.map +1 -1
- package/FillerGauge.js +163 -299
- package/FillerGauge.js.map +1 -1
- package/Image.config.js +61 -157
- package/Image.config.js.map +1 -1
- package/Image.js +130 -242
- package/Image.js.map +1 -1
- package/Line.config.js +91 -606
- package/Line.config.js.map +1 -1
- package/Line.js +184 -701
- package/Line.js.map +1 -1
- package/LinkGraph.config.js +74 -256
- package/LinkGraph.config.js.map +1 -1
- package/LinkGraph.js +545 -729
- package/LinkGraph.js.map +1 -1
- package/Map.config.js +128 -1123
- package/Map.config.js.map +1 -1
- package/Map.js +309 -680
- package/Map.js.map +1 -1
- package/Markdown.config.js +61 -188
- package/Markdown.config.js.map +1 -1
- package/Markdown.js +190 -323
- package/Markdown.js.map +1 -1
- package/MarkerGauge.config.js +137 -297
- package/MarkerGauge.config.js.map +1 -1
- package/MarkerGauge.js +1038 -1203
- package/MarkerGauge.js.map +1 -1
- package/ParallelCoordinates.config.js +71 -191
- package/ParallelCoordinates.config.js.map +1 -1
- package/ParallelCoordinates.js +218 -343
- package/ParallelCoordinates.js.map +1 -1
- package/Pie.config.js +72 -240
- package/Pie.config.js.map +1 -1
- package/Pie.js +214 -381
- package/Pie.js.map +1 -1
- package/Punchcard.config.js +71 -305
- package/Punchcard.config.js.map +1 -1
- package/Punchcard.js +246 -477
- package/Punchcard.js.map +1 -1
- package/Rectangle.config.js +211 -347
- package/Rectangle.config.js.map +1 -1
- package/Rectangle.js +274 -416
- package/Rectangle.js.map +1 -1
- package/Sankey.config.js +71 -213
- package/Sankey.config.js.map +1 -1
- package/Sankey.js +246 -382
- package/Sankey.js.map +1 -1
- package/Scatter.config.js +85 -463
- package/Scatter.config.js.map +1 -1
- package/Scatter.js +825 -1202
- package/Scatter.js.map +1 -1
- package/SingleValue.config.js +114 -409
- package/SingleValue.config.js.map +1 -1
- package/SingleValue.js +287 -582
- package/SingleValue.js.map +1 -1
- package/SingleValueBasic.js +30 -30
- package/SingleValueBasic.js.map +1 -1
- package/SingleValueIcon.config.js +113 -378
- package/SingleValueIcon.config.js.map +1 -1
- package/SingleValueIcon.js +268 -533
- package/SingleValueIcon.js.map +1 -1
- package/SingleValueRadial.config.js +110 -382
- package/SingleValueRadial.config.js.map +1 -1
- package/SingleValueRadial.js +272 -543
- package/SingleValueRadial.js.map +1 -1
- package/SparkLine.js +24 -24
- package/SparkLine.js.map +1 -1
- package/Table.config.js +74 -496
- package/Table.config.js.map +1 -1
- package/Table.js +302 -720
- package/Table.js.map +1 -1
- package/common/Charting.js +22 -34
- package/common/Charting.js.map +1 -1
- package/common/DocExampleWithVizSandbox.js +21 -21
- package/common/DocExampleWithVizSandbox.js.map +1 -1
- package/common/EventsDoc.js +18 -18
- package/common/EventsDoc.js.map +1 -1
- package/common/GaugeMajorTicks.js +4 -4
- package/common/GaugeMajorTicks.js.map +1 -1
- package/common/GaugeValueMarker.js +2 -2
- package/common/GaugeValueMarker.js.map +1 -1
- package/common/OptionsDoc.js +4 -4
- package/common/OptionsDoc.js.map +1 -1
- package/common/OverviewDoc.js +39 -40
- package/common/OverviewDoc.js.map +1 -1
- package/common/SplunkVisualization.js +2 -2
- package/common/SplunkVisualization.js.map +1 -1
- package/common/SplunkVisualizationApi.js +2 -2
- package/common/SplunkVisualizationApi.js.map +1 -1
- package/common/ThemesDoc.js +19 -19
- package/common/ThemesDoc.js.map +1 -1
- package/common/chartingUtils.js +2 -2
- package/common/chartingUtils.js.map +1 -1
- package/common/gaugeUtils.js +10 -10
- package/common/gaugeUtils.js.map +1 -1
- package/common/shapeUtils.js +10 -10
- package/common/shapeUtils.js.map +1 -1
- package/common/utils/configUtils.js +25 -155
- package/common/utils/configUtils.js.map +1 -1
- package/common/utils/dataUtils.js +75 -87
- package/common/utils/dataUtils.js.map +1 -1
- package/common/utils/featureFlagUtils.js +4 -4
- package/common/utils/featureFlagUtils.js.map +1 -1
- package/common/utils/hocUtils.js +2 -2
- package/common/utils/hocUtils.js.map +1 -1
- package/common/utils/mapUtils.js +51 -54
- package/common/utils/mapUtils.js.map +1 -1
- package/common/utils/singleValueUtils.js +7 -7
- package/common/utils/singleValueUtils.js.map +1 -1
- package/common/utils/testHelper.js +7 -36
- package/common/utils/testHelper.js.map +1 -1
- package/common/utils/trellisUtils.js +7 -6
- package/common/utils/trellisUtils.js.map +1 -1
- package/common/utils/urlUtils.js +2 -2
- package/common/utils/urlUtils.js.map +1 -1
- package/common/withDashboardViz.js +65 -77
- package/common/withDashboardViz.js.map +1 -1
- package/package.json +46 -49
- package/common/utils/layoutUtils.js +0 -115
- package/common/utils/layoutUtils.js.map +0 -1
package/Bubble.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 = 201);
|
|
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);
|
|
953
|
+
exports.insertLayout = exports.isDynamicOption = exports.uncollapseEditorConfig = exports.generatePrecisionValues = exports.getInitialPreset = exports.enhanceConfig = exports.enhanceOptionsSchemaWithDynamicOptions = void 0;
|
|
972
954
|
|
|
973
|
-
var
|
|
955
|
+
var lodash_1 = __webpack_require__(3); // included for backwards compatibility
|
|
974
956
|
|
|
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
|
-
*/
|
|
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
957
|
|
|
1014
|
-
|
|
1015
|
-
enhancedOptionsSchema[key] = Object.assign(Object.assign(Object.assign(Object.assign({}, remainingSchemaEntry), annotations), {
|
|
1016
|
-
type: type
|
|
1017
|
-
}), properties && {
|
|
1018
|
-
properties: enhanceOptionsSchemaWithDynamicOptions(properties)
|
|
1019
|
-
});
|
|
958
|
+
var visualization_schemas_1 = __webpack_require__(10);
|
|
1020
959
|
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
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 */,
|
|
@@ -4411,10 +4320,7 @@ exports.default = AxesChartYGridAndLabels;
|
|
|
4411
4320
|
/* 162 */,
|
|
4412
4321
|
/* 163 */,
|
|
4413
4322
|
/* 164 */,
|
|
4414
|
-
/* 165
|
|
4415
|
-
/* 166 */,
|
|
4416
|
-
/* 167 */,
|
|
4417
|
-
/* 168 */
|
|
4323
|
+
/* 165 */
|
|
4418
4324
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4419
4325
|
|
|
4420
4326
|
"use strict";
|
|
@@ -4442,21 +4348,21 @@ var lodash_1 = __webpack_require__(3); // Charting imports i18n which needs to b
|
|
|
4442
4348
|
// eslint-disable-next-line import/order
|
|
4443
4349
|
|
|
4444
4350
|
|
|
4445
|
-
var Charting_1 = __webpack_require__(
|
|
4351
|
+
var Charting_1 = __webpack_require__(85);
|
|
4446
4352
|
|
|
4447
|
-
var charting_bundle_1 = __webpack_require__(
|
|
4353
|
+
var charting_bundle_1 = __webpack_require__(76);
|
|
4448
4354
|
|
|
4449
|
-
var simpleXMLOptions_1 = __webpack_require__(
|
|
4355
|
+
var simpleXMLOptions_1 = __webpack_require__(91);
|
|
4450
4356
|
|
|
4451
|
-
var config_1 = __webpack_require__(
|
|
4357
|
+
var config_1 = __webpack_require__(202);
|
|
4452
4358
|
|
|
4453
4359
|
exports.config = config_1.default;
|
|
4454
4360
|
|
|
4455
|
-
var withDashboardViz_1 = __webpack_require__(
|
|
4361
|
+
var withDashboardViz_1 = __webpack_require__(55);
|
|
4456
4362
|
|
|
4457
|
-
var bubbleUtils_1 = __webpack_require__(
|
|
4363
|
+
var bubbleUtils_1 = __webpack_require__(203);
|
|
4458
4364
|
|
|
4459
|
-
var chartingUtils_1 = __webpack_require__(
|
|
4365
|
+
var chartingUtils_1 = __webpack_require__(78);
|
|
4460
4366
|
|
|
4461
4367
|
var validOptions = Object.keys(config_1.default.optionsSchema);
|
|
4462
4368
|
|
|
@@ -4538,6 +4444,9 @@ exports.themes = themes;
|
|
|
4538
4444
|
exports.default = Bubble;
|
|
4539
4445
|
|
|
4540
4446
|
/***/ }),
|
|
4447
|
+
/* 166 */,
|
|
4448
|
+
/* 167 */,
|
|
4449
|
+
/* 168 */,
|
|
4541
4450
|
/* 169 */,
|
|
4542
4451
|
/* 170 */,
|
|
4543
4452
|
/* 171 */,
|
|
@@ -4570,11 +4479,7 @@ exports.default = Bubble;
|
|
|
4570
4479
|
/* 198 */,
|
|
4571
4480
|
/* 199 */,
|
|
4572
4481
|
/* 200 */,
|
|
4573
|
-
/* 201
|
|
4574
|
-
/* 202 */,
|
|
4575
|
-
/* 203 */,
|
|
4576
|
-
/* 204 */,
|
|
4577
|
-
/* 205 */
|
|
4482
|
+
/* 201 */
|
|
4578
4483
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4579
4484
|
|
|
4580
4485
|
"use strict";
|
|
@@ -4610,9 +4515,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4610
4515
|
});
|
|
4611
4516
|
exports.default = void 0;
|
|
4612
4517
|
|
|
4613
|
-
__exportStar(__webpack_require__(
|
|
4518
|
+
__exportStar(__webpack_require__(165), exports);
|
|
4614
4519
|
|
|
4615
|
-
var Bubble_1 = __webpack_require__(
|
|
4520
|
+
var Bubble_1 = __webpack_require__(165);
|
|
4616
4521
|
|
|
4617
4522
|
Object.defineProperty(exports, "default", {
|
|
4618
4523
|
enumerable: true,
|
|
@@ -4622,45 +4527,43 @@ Object.defineProperty(exports, "default", {
|
|
|
4622
4527
|
});
|
|
4623
4528
|
|
|
4624
4529
|
/***/ }),
|
|
4625
|
-
/*
|
|
4530
|
+
/* 202 */
|
|
4626
4531
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4627
4532
|
|
|
4628
4533
|
"use strict";
|
|
4629
4534
|
|
|
4630
4535
|
|
|
4631
|
-
var _toConsumableArray = __webpack_require__(
|
|
4536
|
+
var _toConsumableArray = __webpack_require__(7);
|
|
4632
4537
|
|
|
4633
4538
|
Object.defineProperty(exports, "__esModule", {
|
|
4634
4539
|
value: true
|
|
4635
4540
|
});
|
|
4636
4541
|
|
|
4637
|
-
var visualization_icons_1 = __webpack_require__(
|
|
4638
|
-
|
|
4639
|
-
var placeholders_1 = __webpack_require__(72);
|
|
4542
|
+
var visualization_icons_1 = __webpack_require__(72);
|
|
4640
4543
|
|
|
4641
|
-
var
|
|
4544
|
+
var placeholders_1 = __webpack_require__(71);
|
|
4642
4545
|
|
|
4643
|
-
var
|
|
4546
|
+
var visualization_schemas_1 = __webpack_require__(10);
|
|
4644
4547
|
|
|
4645
4548
|
var pick_1 = __webpack_require__(30);
|
|
4646
4549
|
|
|
4647
|
-
var variables_1 = __webpack_require__(
|
|
4550
|
+
var variables_1 = __webpack_require__(14);
|
|
4648
4551
|
|
|
4649
4552
|
var i18n_1 = __webpack_require__(2);
|
|
4650
4553
|
|
|
4651
|
-
var AxesChartDataConfig_1 = __webpack_require__(
|
|
4554
|
+
var AxesChartDataConfig_1 = __webpack_require__(95);
|
|
4652
4555
|
|
|
4653
|
-
var AxesChartXGridAndLabels_1 = __webpack_require__(
|
|
4556
|
+
var AxesChartXGridAndLabels_1 = __webpack_require__(98);
|
|
4654
4557
|
|
|
4655
|
-
var AxesChartColorAndStyle_1 = __webpack_require__(
|
|
4558
|
+
var AxesChartColorAndStyle_1 = __webpack_require__(96);
|
|
4656
4559
|
|
|
4657
|
-
var AxesChartLegend_1 = __webpack_require__(
|
|
4560
|
+
var AxesChartLegend_1 = __webpack_require__(97);
|
|
4658
4561
|
|
|
4659
|
-
var AxesChartYGridAndLabels_1 = __webpack_require__(
|
|
4562
|
+
var AxesChartYGridAndLabels_1 = __webpack_require__(99);
|
|
4660
4563
|
|
|
4661
|
-
var VizBehavior_1 = __webpack_require__(
|
|
4564
|
+
var VizBehavior_1 = __webpack_require__(8);
|
|
4662
4565
|
|
|
4663
|
-
var VizCategory_1 = __webpack_require__(
|
|
4566
|
+
var VizCategory_1 = __webpack_require__(23);
|
|
4664
4567
|
|
|
4665
4568
|
var configUtils_1 = __webpack_require__(27);
|
|
4666
4569
|
|
|
@@ -4687,310 +4590,6 @@ var size = {
|
|
|
4687
4590
|
initialHeight: 300
|
|
4688
4591
|
};
|
|
4689
4592
|
var defaultContext = {};
|
|
4690
|
-
var optionsSchema = {
|
|
4691
|
-
x: {
|
|
4692
|
-
default: '> primary | seriesByIndex(0)',
|
|
4693
|
-
description: 'Specify the dataSource applied to the x-axis.',
|
|
4694
|
-
type: 'array',
|
|
4695
|
-
items: {
|
|
4696
|
-
type: ['string', 'number']
|
|
4697
|
-
}
|
|
4698
|
-
},
|
|
4699
|
-
y: {
|
|
4700
|
-
default: '> primary | seriesByIndex(1)',
|
|
4701
|
-
description: 'Specify the dataSource applied to the y-axis.',
|
|
4702
|
-
type: 'array',
|
|
4703
|
-
items: {
|
|
4704
|
-
type: ['string', 'number']
|
|
4705
|
-
}
|
|
4706
|
-
},
|
|
4707
|
-
category: {
|
|
4708
|
-
description: 'Specify a sequence of dataSource events to be plotted on the chart.',
|
|
4709
|
-
type: 'array',
|
|
4710
|
-
items: {
|
|
4711
|
-
type: ['string', 'number']
|
|
4712
|
-
}
|
|
4713
|
-
},
|
|
4714
|
-
size: {
|
|
4715
|
-
default: '> primary | seriesByIndex(2)',
|
|
4716
|
-
description: 'Specify the dataSource events that are represented by the bubble size in the chart.',
|
|
4717
|
-
type: 'array',
|
|
4718
|
-
items: {
|
|
4719
|
-
type: 'number'
|
|
4720
|
-
}
|
|
4721
|
-
},
|
|
4722
|
-
xField: {
|
|
4723
|
-
default: '> x | getField()',
|
|
4724
|
-
description: 'Specify the field that should be mapped to the x-axis.',
|
|
4725
|
-
type: 'string'
|
|
4726
|
-
},
|
|
4727
|
-
yField: {
|
|
4728
|
-
default: '> y | getField()',
|
|
4729
|
-
description: 'Specify the field that should be mapped to the y-axis.',
|
|
4730
|
-
type: 'string'
|
|
4731
|
-
},
|
|
4732
|
-
categoryField: {
|
|
4733
|
-
default: '> category | getField()',
|
|
4734
|
-
description: 'Specify the field that should be mapped to the series categories.',
|
|
4735
|
-
type: 'string'
|
|
4736
|
-
},
|
|
4737
|
-
sizeField: {
|
|
4738
|
-
default: '> size | getField()',
|
|
4739
|
-
description: 'Specify the field that should be mapped to the bubble size in the chart.',
|
|
4740
|
-
type: 'string'
|
|
4741
|
-
},
|
|
4742
|
-
backgroundColor: {
|
|
4743
|
-
default: '> themes.defaultBackgroundColor',
|
|
4744
|
-
description: 'Specify the color used for the chart background by using a hexadecimal code. For example, #0000FF.',
|
|
4745
|
-
pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
|
|
4746
|
-
type: 'string'
|
|
4747
|
-
},
|
|
4748
|
-
bubbleSizeMax: {
|
|
4749
|
-
default: 50,
|
|
4750
|
-
description: 'Specify, in pixels, the maximum size of each bubble.',
|
|
4751
|
-
type: 'number'
|
|
4752
|
-
},
|
|
4753
|
-
bubbleSizeMin: {
|
|
4754
|
-
default: 10,
|
|
4755
|
-
description: 'Specify, in pixels, the minimum size of each bubble.',
|
|
4756
|
-
type: 'number'
|
|
4757
|
-
},
|
|
4758
|
-
bubbleSizeMethod: {
|
|
4759
|
-
default: 'area',
|
|
4760
|
-
description: 'Specify how bubble size is measured.',
|
|
4761
|
-
pattern: (0, schemaUtils_1.getPattern)(['area', 'diameter']),
|
|
4762
|
-
type: 'string'
|
|
4763
|
-
},
|
|
4764
|
-
legendDisplay: {
|
|
4765
|
-
default: 'right',
|
|
4766
|
-
description: 'Specify the location of the legend on the panel.',
|
|
4767
|
-
pattern: (0, schemaUtils_1.getPattern)(['right', 'left', 'top', 'bottom', 'off']),
|
|
4768
|
-
type: 'string'
|
|
4769
|
-
},
|
|
4770
|
-
legendTruncation: {
|
|
4771
|
-
default: 'ellipsisEnd',
|
|
4772
|
-
description: 'Specify where to use ellipsis to replace legend labels that overflow the layout.',
|
|
4773
|
-
pattern: (0, schemaUtils_1.getPattern)(['ellipsisEnd', 'ellipsisMiddle', 'ellipsisStart', 'ellipsisOff']),
|
|
4774
|
-
type: 'string'
|
|
4775
|
-
},
|
|
4776
|
-
resultLimit: {
|
|
4777
|
-
default: 50000,
|
|
4778
|
-
description: 'Specify the number of data points rendered in a chart.',
|
|
4779
|
-
type: 'number'
|
|
4780
|
-
},
|
|
4781
|
-
seriesColors: {
|
|
4782
|
-
default: visualization_color_palettes_1.VIZ_CATEGORICAL,
|
|
4783
|
-
description: 'Specify the hexadecimal color codes for the bubble order from largest to smallest. For example, ["#FF0000", "#0000FF", "#008000"].',
|
|
4784
|
-
type: 'array',
|
|
4785
|
-
items: {
|
|
4786
|
-
type: 'string'
|
|
4787
|
-
}
|
|
4788
|
-
},
|
|
4789
|
-
seriesColorsByField: {
|
|
4790
|
-
description: 'Specify the colors to use for specific categories, or series names, derived from distinct values in the selected category field. For example, {"user1": "#008000", "user2": "#FFA500"}.',
|
|
4791
|
-
type: 'object'
|
|
4792
|
-
},
|
|
4793
|
-
showXAxisExtendedRange: {
|
|
4794
|
-
default: true,
|
|
4795
|
-
description: 'Specify whether the x-axis should be extended to snap to whole major tick marks.',
|
|
4796
|
-
type: 'boolean'
|
|
4797
|
-
},
|
|
4798
|
-
showYAxisExtendedRange: {
|
|
4799
|
-
default: true,
|
|
4800
|
-
description: 'Specify whether the y-axis should be extended to snap to whole major tick marks.',
|
|
4801
|
-
type: 'boolean'
|
|
4802
|
-
},
|
|
4803
|
-
showXAxisWithZero: {
|
|
4804
|
-
default: false,
|
|
4805
|
-
description: 'Specify whether the x-axis range includes zero.',
|
|
4806
|
-
type: 'boolean'
|
|
4807
|
-
},
|
|
4808
|
-
showYAxisWithZero: {
|
|
4809
|
-
default: false,
|
|
4810
|
-
description: 'Specify whether the y-axis range includes zero.',
|
|
4811
|
-
type: 'boolean'
|
|
4812
|
-
},
|
|
4813
|
-
showRoundedXAxisLabels: {
|
|
4814
|
-
default: false,
|
|
4815
|
-
description: 'Specify whether to round x-axis values to the nearest integer.',
|
|
4816
|
-
type: 'boolean'
|
|
4817
|
-
},
|
|
4818
|
-
// TODO: figure out if we want to change splunk-charting behavior for Bubble/Scatter, which hardcodes XMajorGridlines to false
|
|
4819
|
-
// showXMajorGridLines: {
|
|
4820
|
-
// default: false,
|
|
4821
|
-
// description: 'Specify whether major grid lines are visible on the x-axis.',
|
|
4822
|
-
// type: 'boolean',
|
|
4823
|
-
// },
|
|
4824
|
-
showYMajorGridLines: {
|
|
4825
|
-
default: true,
|
|
4826
|
-
description: 'Specify whether major grid lines are visible on the y-axis.',
|
|
4827
|
-
type: 'boolean'
|
|
4828
|
-
},
|
|
4829
|
-
showXMinorGridLines: {
|
|
4830
|
-
default: false,
|
|
4831
|
-
description: 'Specify whether minor grid lines are visible on the x-axis.',
|
|
4832
|
-
type: 'boolean'
|
|
4833
|
-
},
|
|
4834
|
-
showYMinorGridLines: {
|
|
4835
|
-
default: false,
|
|
4836
|
-
description: 'Specify whether minor grid lines are visible on the y-axis.',
|
|
4837
|
-
type: 'boolean'
|
|
4838
|
-
},
|
|
4839
|
-
xAxisLabelRotation: {
|
|
4840
|
-
default: 0,
|
|
4841
|
-
description: 'Specify the rotation of the x-axis labels in degrees.',
|
|
4842
|
-
type: 'number',
|
|
4843
|
-
enum: [-90, -45, 0, 45, 90]
|
|
4844
|
-
},
|
|
4845
|
-
xAxisAbbreviation: {
|
|
4846
|
-
default: 'off',
|
|
4847
|
-
description: 'Specify whether to abbreviate large x-axis values with the closest International System of Units (SI) prefix.',
|
|
4848
|
-
enum: ['off', 'auto'],
|
|
4849
|
-
pattern: (0, schemaUtils_1.getPattern)(['auto', 'off']),
|
|
4850
|
-
type: 'string'
|
|
4851
|
-
},
|
|
4852
|
-
yAxisAbbreviation: {
|
|
4853
|
-
default: 'auto',
|
|
4854
|
-
description: 'Specify whether to abbreviate large y-axis values with the closest International System of Units (SI) prefix.',
|
|
4855
|
-
enum: ['off', 'auto'],
|
|
4856
|
-
pattern: (0, schemaUtils_1.getPattern)(['auto', 'off']),
|
|
4857
|
-
type: 'string'
|
|
4858
|
-
},
|
|
4859
|
-
xAxisLabelVisibility: {
|
|
4860
|
-
default: 'auto',
|
|
4861
|
-
description: 'Specify whether to show or hide labels on the x-axis.',
|
|
4862
|
-
pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
|
|
4863
|
-
type: 'string'
|
|
4864
|
-
},
|
|
4865
|
-
yAxisLabelVisibility: {
|
|
4866
|
-
default: 'auto',
|
|
4867
|
-
description: 'Specify whether to show or hide labels on the y-axis.',
|
|
4868
|
-
pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
|
|
4869
|
-
type: 'string'
|
|
4870
|
-
},
|
|
4871
|
-
xAxisLineVisibility: {
|
|
4872
|
-
default: 'hide',
|
|
4873
|
-
description: 'Specify whether to show the x-axis line.',
|
|
4874
|
-
enum: ['hide', 'show'],
|
|
4875
|
-
pattern: (0, schemaUtils_1.getPattern)(['show', 'hide']),
|
|
4876
|
-
type: 'string'
|
|
4877
|
-
},
|
|
4878
|
-
yAxisLineVisibility: {
|
|
4879
|
-
default: 'hide',
|
|
4880
|
-
description: 'Specify whether to show the y-axis line.',
|
|
4881
|
-
enum: ['hide', 'show'],
|
|
4882
|
-
pattern: (0, schemaUtils_1.getPattern)(['show', 'hide']),
|
|
4883
|
-
type: 'string'
|
|
4884
|
-
},
|
|
4885
|
-
xAxisMajorTickInterval: {
|
|
4886
|
-
default: 'auto',
|
|
4887
|
-
description: 'Specify the spacing interval between major tick marks along the x-axis. By default, the spacing value is automatically calculated based on the scale of the related axis.',
|
|
4888
|
-
type: ['string', 'number']
|
|
4889
|
-
},
|
|
4890
|
-
yAxisMajorTickInterval: {
|
|
4891
|
-
default: 'auto',
|
|
4892
|
-
description: 'Specify the spacing interval between major tick marks along the y-axis. By default, the spacing value is automatically calculated based on the scale of the related axis.',
|
|
4893
|
-
type: ['string', 'number']
|
|
4894
|
-
},
|
|
4895
|
-
xAxisMajorTickSize: {
|
|
4896
|
-
default: 6,
|
|
4897
|
-
description: 'Specify the size, in pixels, of major tick marks on the x-axis.',
|
|
4898
|
-
type: 'number'
|
|
4899
|
-
},
|
|
4900
|
-
yAxisMajorTickSize: {
|
|
4901
|
-
default: 6,
|
|
4902
|
-
description: 'Specify the size, in pixels, of major tick marks on the y-axis.',
|
|
4903
|
-
type: 'number'
|
|
4904
|
-
},
|
|
4905
|
-
xAxisMinorTickSize: {
|
|
4906
|
-
default: 6,
|
|
4907
|
-
description: 'Specify the size, in pixels, of minor tick marks on the x-axis.',
|
|
4908
|
-
type: 'number'
|
|
4909
|
-
},
|
|
4910
|
-
yAxisMinorTickSize: {
|
|
4911
|
-
default: 6,
|
|
4912
|
-
description: 'Specify the size, in pixels, of minor tick marks on the y-axis.',
|
|
4913
|
-
type: 'number'
|
|
4914
|
-
},
|
|
4915
|
-
xAxisMajorTickVisibility: {
|
|
4916
|
-
default: 'auto',
|
|
4917
|
-
description: 'Specify whether to show or hide major tick marks on the x-axis.',
|
|
4918
|
-
pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
|
|
4919
|
-
type: 'string'
|
|
4920
|
-
},
|
|
4921
|
-
yAxisMajorTickVisibility: {
|
|
4922
|
-
default: 'auto',
|
|
4923
|
-
description: 'Specify whether to show or hide major tick marks on the y-axis.',
|
|
4924
|
-
pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
|
|
4925
|
-
type: 'string'
|
|
4926
|
-
},
|
|
4927
|
-
xAxisMinorTickVisibility: {
|
|
4928
|
-
default: 'auto',
|
|
4929
|
-
description: 'Specify whether to show or hide minor tick marks on the x-axis .',
|
|
4930
|
-
pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
|
|
4931
|
-
type: 'string'
|
|
4932
|
-
},
|
|
4933
|
-
yAxisMinorTickVisibility: {
|
|
4934
|
-
default: 'auto',
|
|
4935
|
-
description: 'Specify whether to show or hide minor tick marks on the y-axis.',
|
|
4936
|
-
pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
|
|
4937
|
-
type: 'string'
|
|
4938
|
-
},
|
|
4939
|
-
xAxisMax: {
|
|
4940
|
-
default: 'auto',
|
|
4941
|
-
description: 'Specify the maximum value for the visible x-axis range.',
|
|
4942
|
-
type: ['string', 'number']
|
|
4943
|
-
},
|
|
4944
|
-
yAxisMax: {
|
|
4945
|
-
default: 'auto',
|
|
4946
|
-
description: 'Specify the maximum value for the visible y-axis range.',
|
|
4947
|
-
type: ['string', 'number']
|
|
4948
|
-
},
|
|
4949
|
-
xAxisMin: {
|
|
4950
|
-
default: 'auto',
|
|
4951
|
-
description: 'Specify the minimum value for the visible x-axis range.',
|
|
4952
|
-
type: ['string', 'number']
|
|
4953
|
-
},
|
|
4954
|
-
yAxisMin: {
|
|
4955
|
-
default: 'auto',
|
|
4956
|
-
description: 'Specify the minimum value for the visible y-axis range.',
|
|
4957
|
-
type: ['string', 'number']
|
|
4958
|
-
},
|
|
4959
|
-
xAxisScale: {
|
|
4960
|
-
default: 'linear',
|
|
4961
|
-
description: 'Specify the type of scale that applies to a numerical x-axis.',
|
|
4962
|
-
pattern: (0, schemaUtils_1.getPattern)(['linear', 'log']),
|
|
4963
|
-
type: 'string'
|
|
4964
|
-
},
|
|
4965
|
-
yAxisScale: {
|
|
4966
|
-
default: 'linear',
|
|
4967
|
-
description: 'Specify the type of scale that applies to a numerical y-axis.',
|
|
4968
|
-
pattern: (0, schemaUtils_1.getPattern)(['linear', 'log']),
|
|
4969
|
-
type: 'string'
|
|
4970
|
-
},
|
|
4971
|
-
xAxisTitleText: {
|
|
4972
|
-
description: 'Specify the title of the x-axis.',
|
|
4973
|
-
type: 'string'
|
|
4974
|
-
},
|
|
4975
|
-
yAxisTitleText: {
|
|
4976
|
-
description: 'Specify the title of the y-axis.',
|
|
4977
|
-
type: 'string'
|
|
4978
|
-
},
|
|
4979
|
-
xAxisTitleVisibility: {
|
|
4980
|
-
default: 'show',
|
|
4981
|
-
description: 'Specify whether to hide the title of the x-axis.',
|
|
4982
|
-
enum: ['hide', 'show'],
|
|
4983
|
-
pattern: (0, schemaUtils_1.getPattern)(['show', 'hide']),
|
|
4984
|
-
type: 'string'
|
|
4985
|
-
},
|
|
4986
|
-
yAxisTitleVisibility: {
|
|
4987
|
-
default: 'show',
|
|
4988
|
-
description: 'Specify whether to hide the title of the y-axis.',
|
|
4989
|
-
enum: ['hide', 'show'],
|
|
4990
|
-
pattern: (0, schemaUtils_1.getPattern)(['show', 'hide']),
|
|
4991
|
-
type: 'string'
|
|
4992
|
-
}
|
|
4993
|
-
};
|
|
4994
4593
|
var themes = {
|
|
4995
4594
|
defaultBackgroundColor: function defaultBackgroundColor(props) {
|
|
4996
4595
|
return (0, pick_1.default)({
|
|
@@ -5068,7 +4667,7 @@ var config = {
|
|
|
5068
4667
|
dataContract: dataContract,
|
|
5069
4668
|
size: size,
|
|
5070
4669
|
defaultContext: defaultContext,
|
|
5071
|
-
optionsSchema:
|
|
4670
|
+
optionsSchema: visualization_schemas_1.bubbleOptionsSchema,
|
|
5072
4671
|
editorConfig: editorConfig,
|
|
5073
4672
|
events: {
|
|
5074
4673
|
'legend.click': {
|
|
@@ -5084,7 +4683,7 @@ var config = {
|
|
|
5084
4683
|
exports.default = (0, configUtils_1.enhanceConfig)(config);
|
|
5085
4684
|
|
|
5086
4685
|
/***/ }),
|
|
5087
|
-
/*
|
|
4686
|
+
/* 203 */
|
|
5088
4687
|
/***/ (function(module, exports, __webpack_require__) {
|
|
5089
4688
|
|
|
5090
4689
|
"use strict";
|
|
@@ -5099,7 +4698,7 @@ var lodash_1 = __webpack_require__(3);
|
|
|
5099
4698
|
|
|
5100
4699
|
var propUtils_1 = __webpack_require__(36);
|
|
5101
4700
|
|
|
5102
|
-
var chartingUtils_1 = __webpack_require__(
|
|
4701
|
+
var chartingUtils_1 = __webpack_require__(78); // map for key names which are either new or not present in SimpleXML options mapping
|
|
5103
4702
|
|
|
5104
4703
|
|
|
5105
4704
|
var bubbleOptionsSCMapping = {
|