@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/Ellipse.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 = 219);
|
|
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);
|
|
953
|
+
exports.insertLayout = exports.isDynamicOption = exports.uncollapseEditorConfig = exports.generatePrecisionValues = exports.getInitialPreset = exports.enhanceConfig = exports.enhanceOptionsSchemaWithDynamicOptions = void 0;
|
|
974
954
|
|
|
975
|
-
var
|
|
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
|
-
});
|
|
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
|
|
@@ -1266,7 +1187,7 @@ var i18n_1 = __webpack_require__(2);
|
|
|
1266
1187
|
|
|
1267
1188
|
var Message_1 = __webpack_require__(12);
|
|
1268
1189
|
|
|
1269
|
-
var FixedSizeContainer_1 = __webpack_require__(
|
|
1190
|
+
var FixedSizeContainer_1 = __webpack_require__(18);
|
|
1270
1191
|
/**
|
|
1271
1192
|
* @method shouldShowIconPlaceholder
|
|
1272
1193
|
* @param {object} dataSources
|
|
@@ -1343,7 +1264,7 @@ exports.default = (0, FixedSizeContainer_1.default)(IconPlaceholder);
|
|
|
1343
1264
|
"use strict";
|
|
1344
1265
|
|
|
1345
1266
|
|
|
1346
|
-
var _defineProperty = __webpack_require__(
|
|
1267
|
+
var _defineProperty = __webpack_require__(13);
|
|
1347
1268
|
|
|
1348
1269
|
Object.defineProperty(exports, "__esModule", {
|
|
1349
1270
|
value: true
|
|
@@ -1354,7 +1275,7 @@ var T = __webpack_require__(1);
|
|
|
1354
1275
|
|
|
1355
1276
|
var lodash_1 = __webpack_require__(3);
|
|
1356
1277
|
|
|
1357
|
-
var DataSource_1 = __webpack_require__(
|
|
1278
|
+
var DataSource_1 = __webpack_require__(21);
|
|
1358
1279
|
|
|
1359
1280
|
exports.SortParamsPropTypes = T.shape({
|
|
1360
1281
|
currentSortKey: T.string,
|
|
@@ -1510,7 +1431,7 @@ __exportStar(__webpack_require__(41), exports);
|
|
|
1510
1431
|
|
|
1511
1432
|
__exportStar(__webpack_require__(42), exports);
|
|
1512
1433
|
|
|
1513
|
-
__exportStar(__webpack_require__(
|
|
1434
|
+
__exportStar(__webpack_require__(21), exports);
|
|
1514
1435
|
|
|
1515
1436
|
__exportStar(__webpack_require__(43), exports);
|
|
1516
1437
|
|
|
@@ -1524,13 +1445,13 @@ __exportStar(__webpack_require__(47), exports);
|
|
|
1524
1445
|
|
|
1525
1446
|
__exportStar(__webpack_require__(48), exports);
|
|
1526
1447
|
|
|
1527
|
-
__exportStar(__webpack_require__(
|
|
1448
|
+
__exportStar(__webpack_require__(22), exports);
|
|
1528
1449
|
|
|
1529
|
-
__exportStar(__webpack_require__(
|
|
1450
|
+
__exportStar(__webpack_require__(8), exports);
|
|
1530
1451
|
|
|
1531
|
-
__exportStar(__webpack_require__(
|
|
1452
|
+
__exportStar(__webpack_require__(23), exports);
|
|
1532
1453
|
|
|
1533
|
-
__exportStar(__webpack_require__(
|
|
1454
|
+
__exportStar(__webpack_require__(49), exports);
|
|
1534
1455
|
|
|
1535
1456
|
__exportStar(__webpack_require__(50), exports);
|
|
1536
1457
|
|
|
@@ -1542,8 +1463,6 @@ __exportStar(__webpack_require__(53), exports);
|
|
|
1542
1463
|
|
|
1543
1464
|
__exportStar(__webpack_require__(54), exports);
|
|
1544
1465
|
|
|
1545
|
-
__exportStar(__webpack_require__(55), exports);
|
|
1546
|
-
|
|
1547
1466
|
/***/ }),
|
|
1548
1467
|
/* 41 */
|
|
1549
1468
|
/***/ (function(module, exports, __webpack_require__) {
|
|
@@ -1708,18 +1627,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1708
1627
|
"use strict";
|
|
1709
1628
|
|
|
1710
1629
|
|
|
1711
|
-
|
|
1712
|
-
value: true
|
|
1713
|
-
});
|
|
1714
|
-
|
|
1715
|
-
/***/ }),
|
|
1716
|
-
/* 56 */
|
|
1717
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1718
|
-
|
|
1719
|
-
"use strict";
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
var _slicedToArray = __webpack_require__(7);
|
|
1630
|
+
var _slicedToArray = __webpack_require__(6);
|
|
1723
1631
|
|
|
1724
1632
|
Object.defineProperty(exports, "__esModule", {
|
|
1725
1633
|
value: true
|
|
@@ -1729,15 +1637,15 @@ var React = __webpack_require__(0);
|
|
|
1729
1637
|
|
|
1730
1638
|
var lodash_1 = __webpack_require__(3);
|
|
1731
1639
|
|
|
1732
|
-
var getSettingsFromThemedProps_1 = __webpack_require__(
|
|
1640
|
+
var getSettingsFromThemedProps_1 = __webpack_require__(56);
|
|
1733
1641
|
|
|
1734
|
-
var Options_1 = __webpack_require__(
|
|
1642
|
+
var Options_1 = __webpack_require__(17);
|
|
1735
1643
|
|
|
1736
|
-
var SanitizeProps_1 = __webpack_require__(
|
|
1644
|
+
var SanitizeProps_1 = __webpack_require__(57);
|
|
1737
1645
|
|
|
1738
1646
|
var TimezoneContext_1 = __webpack_require__(32);
|
|
1739
1647
|
|
|
1740
|
-
var moment_1 = __webpack_require__(
|
|
1648
|
+
var moment_1 = __webpack_require__(58);
|
|
1741
1649
|
|
|
1742
1650
|
var FeatureFlagContext_1 = __webpack_require__(28);
|
|
1743
1651
|
|
|
@@ -1747,31 +1655,31 @@ var hocUtils_1 = __webpack_require__(34);
|
|
|
1747
1655
|
|
|
1748
1656
|
var JSONSchemaUtils_1 = __webpack_require__(35);
|
|
1749
1657
|
|
|
1750
|
-
var async_dynamic_options_evaluator_1 = __webpack_require__(
|
|
1658
|
+
var async_dynamic_options_evaluator_1 = __webpack_require__(59);
|
|
1751
1659
|
|
|
1752
1660
|
var id_1 = __webpack_require__(31);
|
|
1753
1661
|
|
|
1754
|
-
var SplunkVisualization_1 = __webpack_require__(
|
|
1662
|
+
var SplunkVisualization_1 = __webpack_require__(60);
|
|
1755
1663
|
|
|
1756
|
-
var VizBehavior_1 = __webpack_require__(
|
|
1664
|
+
var VizBehavior_1 = __webpack_require__(8);
|
|
1757
1665
|
|
|
1758
1666
|
var getSorting_1 = __webpack_require__(38);
|
|
1759
1667
|
|
|
1760
1668
|
var getPagination_1 = __webpack_require__(39);
|
|
1761
1669
|
|
|
1762
|
-
var useDeepMemo_1 = __webpack_require__(
|
|
1670
|
+
var useDeepMemo_1 = __webpack_require__(61);
|
|
1763
1671
|
|
|
1764
|
-
var MissingPropsMessage_1 = __webpack_require__(
|
|
1672
|
+
var MissingPropsMessage_1 = __webpack_require__(62);
|
|
1765
1673
|
|
|
1766
|
-
var withEditModeCover_1 = __webpack_require__(
|
|
1674
|
+
var withEditModeCover_1 = __webpack_require__(63);
|
|
1767
1675
|
|
|
1768
|
-
var withPlaceholder_1 = __webpack_require__(
|
|
1676
|
+
var withPlaceholder_1 = __webpack_require__(64);
|
|
1769
1677
|
|
|
1770
|
-
var useDownsampleDataSources_1 = __webpack_require__(
|
|
1678
|
+
var useDownsampleDataSources_1 = __webpack_require__(65);
|
|
1771
1679
|
|
|
1772
|
-
var dataUtils_1 = __webpack_require__(
|
|
1680
|
+
var dataUtils_1 = __webpack_require__(15);
|
|
1773
1681
|
|
|
1774
|
-
var featureFlagUtils_1 = __webpack_require__(
|
|
1682
|
+
var featureFlagUtils_1 = __webpack_require__(67);
|
|
1775
1683
|
/**
|
|
1776
1684
|
* hoc that wraps a pure react visualization in a Dashboard visualization
|
|
1777
1685
|
* @param {DashboardVizOpts} opts
|
|
@@ -2103,37 +2011,37 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
2103
2011
|
exports.default = withDashboardViz;
|
|
2104
2012
|
|
|
2105
2013
|
/***/ }),
|
|
2106
|
-
/*
|
|
2014
|
+
/* 56 */
|
|
2107
2015
|
/***/ (function(module, exports) {
|
|
2108
2016
|
|
|
2109
2017
|
module.exports = require("@splunk/themes/getSettingsFromThemedProps");
|
|
2110
2018
|
|
|
2111
2019
|
/***/ }),
|
|
2112
|
-
/*
|
|
2020
|
+
/* 57 */
|
|
2113
2021
|
/***/ (function(module, exports) {
|
|
2114
2022
|
|
|
2115
2023
|
module.exports = require("@splunk/visualizations-shared/SanitizeProps");
|
|
2116
2024
|
|
|
2117
2025
|
/***/ }),
|
|
2118
|
-
/*
|
|
2026
|
+
/* 58 */
|
|
2119
2027
|
/***/ (function(module, exports) {
|
|
2120
2028
|
|
|
2121
2029
|
module.exports = require("@splunk/moment");
|
|
2122
2030
|
|
|
2123
2031
|
/***/ }),
|
|
2124
|
-
/*
|
|
2032
|
+
/* 59 */
|
|
2125
2033
|
/***/ (function(module, exports) {
|
|
2126
2034
|
|
|
2127
2035
|
module.exports = require("@splunk/async-dynamic-options-evaluator");
|
|
2128
2036
|
|
|
2129
2037
|
/***/ }),
|
|
2130
|
-
/*
|
|
2038
|
+
/* 60 */
|
|
2131
2039
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2132
2040
|
|
|
2133
2041
|
"use strict";
|
|
2134
2042
|
|
|
2135
2043
|
|
|
2136
|
-
var _classCallCheck = __webpack_require__(
|
|
2044
|
+
var _classCallCheck = __webpack_require__(9);
|
|
2137
2045
|
|
|
2138
2046
|
Object.defineProperty(exports, "__esModule", {
|
|
2139
2047
|
value: true
|
|
@@ -2145,7 +2053,7 @@ var T = __webpack_require__(1);
|
|
|
2145
2053
|
|
|
2146
2054
|
var lodash_1 = __webpack_require__(3);
|
|
2147
2055
|
|
|
2148
|
-
var VizActionHandler_1 = __webpack_require__(
|
|
2056
|
+
var VizActionHandler_1 = __webpack_require__(22); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
|
|
2149
2057
|
|
|
2150
2058
|
|
|
2151
2059
|
exports.INITIAL_WIDTH = 250;
|
|
@@ -2278,7 +2186,7 @@ SplunkVisualization.defaultProps = {
|
|
|
2278
2186
|
exports.default = SplunkVisualization;
|
|
2279
2187
|
|
|
2280
2188
|
/***/ }),
|
|
2281
|
-
/*
|
|
2189
|
+
/* 61 */
|
|
2282
2190
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2283
2191
|
|
|
2284
2192
|
"use strict";
|
|
@@ -2323,7 +2231,7 @@ var useDeepMemo = function useDeepMemo(fn, dependencies) {
|
|
|
2323
2231
|
exports.useDeepMemo = useDeepMemo;
|
|
2324
2232
|
|
|
2325
2233
|
/***/ }),
|
|
2326
|
-
/*
|
|
2234
|
+
/* 62 */
|
|
2327
2235
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2328
2236
|
|
|
2329
2237
|
"use strict";
|
|
@@ -2342,7 +2250,7 @@ var i18n_1 = __webpack_require__(2);
|
|
|
2342
2250
|
|
|
2343
2251
|
var Message_1 = __webpack_require__(12);
|
|
2344
2252
|
|
|
2345
|
-
var FixedSizeContainer_1 = __webpack_require__(
|
|
2253
|
+
var FixedSizeContainer_1 = __webpack_require__(18);
|
|
2346
2254
|
/**
|
|
2347
2255
|
* @method isMissing
|
|
2348
2256
|
* @param {any} v
|
|
@@ -2403,7 +2311,7 @@ exports.MissingPropsMessage.defaultProps = {
|
|
|
2403
2311
|
exports.default = (0, FixedSizeContainer_1.default)(exports.MissingPropsMessage);
|
|
2404
2312
|
|
|
2405
2313
|
/***/ }),
|
|
2406
|
-
/*
|
|
2314
|
+
/* 63 */
|
|
2407
2315
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2408
2316
|
|
|
2409
2317
|
"use strict";
|
|
@@ -2417,14 +2325,14 @@ var React = __webpack_require__(0);
|
|
|
2417
2325
|
|
|
2418
2326
|
var styled_components_1 = __webpack_require__(4);
|
|
2419
2327
|
|
|
2420
|
-
var hocUtils_1 = __webpack_require__(
|
|
2328
|
+
var hocUtils_1 = __webpack_require__(24);
|
|
2421
2329
|
|
|
2422
2330
|
var Cover = styled_components_1.default.div.withConfig({
|
|
2423
2331
|
displayName: "withEditModeCover__Cover",
|
|
2424
2332
|
componentId: "sc-1gsbnxb-0"
|
|
2425
2333
|
})(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
|
|
2426
2334
|
var Blocker = styled_components_1.default.div.attrs({
|
|
2427
|
-
'data-splunk-visualization-version': "26.
|
|
2335
|
+
'data-splunk-visualization-version': "26.3.0 - a1ef240a6"
|
|
2428
2336
|
}).withConfig({
|
|
2429
2337
|
displayName: "withEditModeCover__Blocker",
|
|
2430
2338
|
componentId: "sc-1gsbnxb-1"
|
|
@@ -2455,7 +2363,7 @@ var withEditModeCover = function withEditModeCover(Visualization, disableEditMod
|
|
|
2455
2363
|
exports.default = withEditModeCover;
|
|
2456
2364
|
|
|
2457
2365
|
/***/ }),
|
|
2458
|
-
/*
|
|
2366
|
+
/* 64 */
|
|
2459
2367
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2460
2368
|
|
|
2461
2369
|
"use strict";
|
|
@@ -2467,15 +2375,15 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2467
2375
|
|
|
2468
2376
|
var React = __webpack_require__(0);
|
|
2469
2377
|
|
|
2470
|
-
var colorUtils_1 = __webpack_require__(
|
|
2378
|
+
var colorUtils_1 = __webpack_require__(16);
|
|
2471
2379
|
|
|
2472
|
-
var variables_1 = __webpack_require__(
|
|
2380
|
+
var variables_1 = __webpack_require__(14);
|
|
2473
2381
|
|
|
2474
2382
|
var IconPlaceholder_1 = __webpack_require__(37);
|
|
2475
2383
|
|
|
2476
|
-
var VizBehavior_1 = __webpack_require__(
|
|
2384
|
+
var VizBehavior_1 = __webpack_require__(8);
|
|
2477
2385
|
|
|
2478
|
-
var hocUtils_1 = __webpack_require__(
|
|
2386
|
+
var hocUtils_1 = __webpack_require__(24);
|
|
2479
2387
|
|
|
2480
2388
|
var withPlaceholder = function withPlaceholder(Visualization) {
|
|
2481
2389
|
var useIconPlaceholder = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : IconPlaceholder_1.shouldShowIconPlaceholder;
|
|
@@ -2519,13 +2427,13 @@ var withPlaceholder = function withPlaceholder(Visualization) {
|
|
|
2519
2427
|
exports.default = withPlaceholder;
|
|
2520
2428
|
|
|
2521
2429
|
/***/ }),
|
|
2522
|
-
/*
|
|
2430
|
+
/* 65 */
|
|
2523
2431
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2524
2432
|
|
|
2525
2433
|
"use strict";
|
|
2526
2434
|
|
|
2527
2435
|
|
|
2528
|
-
var _slicedToArray = __webpack_require__(
|
|
2436
|
+
var _slicedToArray = __webpack_require__(6);
|
|
2529
2437
|
|
|
2530
2438
|
Object.defineProperty(exports, "__esModule", {
|
|
2531
2439
|
value: true
|
|
@@ -2535,11 +2443,11 @@ var react_1 = __webpack_require__(0);
|
|
|
2535
2443
|
|
|
2536
2444
|
var lodash_1 = __webpack_require__(3);
|
|
2537
2445
|
|
|
2538
|
-
var dataUtils_1 = __webpack_require__(
|
|
2446
|
+
var dataUtils_1 = __webpack_require__(15);
|
|
2539
2447
|
|
|
2540
2448
|
var usePrevious_1 = __webpack_require__(33);
|
|
2541
2449
|
|
|
2542
|
-
var useGetXAndYFields_1 = __webpack_require__(
|
|
2450
|
+
var useGetXAndYFields_1 = __webpack_require__(66);
|
|
2543
2451
|
|
|
2544
2452
|
var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
|
|
2545
2453
|
var dataSources = _ref.dataSources,
|
|
@@ -2608,13 +2516,13 @@ var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
|
|
|
2608
2516
|
exports.default = useDownsampleDataSources;
|
|
2609
2517
|
|
|
2610
2518
|
/***/ }),
|
|
2611
|
-
/*
|
|
2519
|
+
/* 66 */
|
|
2612
2520
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2613
2521
|
|
|
2614
2522
|
"use strict";
|
|
2615
2523
|
|
|
2616
2524
|
|
|
2617
|
-
var _toConsumableArray = __webpack_require__(
|
|
2525
|
+
var _toConsumableArray = __webpack_require__(7);
|
|
2618
2526
|
|
|
2619
2527
|
Object.defineProperty(exports, "__esModule", {
|
|
2620
2528
|
value: true
|
|
@@ -2622,7 +2530,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2622
2530
|
|
|
2623
2531
|
var react_1 = __webpack_require__(0);
|
|
2624
2532
|
|
|
2625
|
-
var Options_1 = __webpack_require__(
|
|
2533
|
+
var Options_1 = __webpack_require__(17);
|
|
2626
2534
|
/**
|
|
2627
2535
|
* Hook that evaluates the DSL for subset of a viz's options needed to determine
|
|
2628
2536
|
* its x and y fields as well as the types of all its fields.
|
|
@@ -2722,7 +2630,7 @@ var useGetXAndYFields = function useGetXAndYFields(_ref) {
|
|
|
2722
2630
|
exports.default = useGetXAndYFields;
|
|
2723
2631
|
|
|
2724
2632
|
/***/ }),
|
|
2725
|
-
/*
|
|
2633
|
+
/* 67 */
|
|
2726
2634
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2727
2635
|
|
|
2728
2636
|
"use strict";
|
|
@@ -2733,7 +2641,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2733
2641
|
});
|
|
2734
2642
|
exports.getFeatureFlag = void 0;
|
|
2735
2643
|
|
|
2736
|
-
var FeatureFlags_1 = __webpack_require__(
|
|
2644
|
+
var FeatureFlags_1 = __webpack_require__(68);
|
|
2737
2645
|
|
|
2738
2646
|
var getFeatureFlag = function getFeatureFlag(context, flagName) {
|
|
2739
2647
|
// look for feature flag in context first
|
|
@@ -2757,12 +2665,13 @@ var getFeatureFlag = function getFeatureFlag(context, flagName) {
|
|
|
2757
2665
|
exports.getFeatureFlag = getFeatureFlag;
|
|
2758
2666
|
|
|
2759
2667
|
/***/ }),
|
|
2760
|
-
/*
|
|
2668
|
+
/* 68 */
|
|
2761
2669
|
/***/ (function(module, exports) {
|
|
2762
2670
|
|
|
2763
2671
|
module.exports = require("@splunk/visualization-context/FeatureFlags");
|
|
2764
2672
|
|
|
2765
2673
|
/***/ }),
|
|
2674
|
+
/* 69 */,
|
|
2766
2675
|
/* 70 */,
|
|
2767
2676
|
/* 71 */,
|
|
2768
2677
|
/* 72 */,
|
|
@@ -2772,21 +2681,21 @@ module.exports = require("@splunk/visualization-context/FeatureFlags");
|
|
|
2772
2681
|
/* 76 */,
|
|
2773
2682
|
/* 77 */,
|
|
2774
2683
|
/* 78 */,
|
|
2775
|
-
/* 79
|
|
2776
|
-
/* 80 */,
|
|
2777
|
-
/* 81 */
|
|
2684
|
+
/* 79 */
|
|
2778
2685
|
/***/ (function(module, exports) {
|
|
2779
2686
|
|
|
2780
2687
|
module.exports = require("@babel/runtime/helpers/taggedTemplateLiteral");
|
|
2781
2688
|
|
|
2782
2689
|
/***/ }),
|
|
2783
|
-
/*
|
|
2784
|
-
/*
|
|
2690
|
+
/* 80 */,
|
|
2691
|
+
/* 81 */
|
|
2785
2692
|
/***/ (function(module, exports) {
|
|
2786
2693
|
|
|
2787
2694
|
module.exports = require("@splunk/visualization-color-palettes/editors/PresetPalettes");
|
|
2788
2695
|
|
|
2789
2696
|
/***/ }),
|
|
2697
|
+
/* 82 */,
|
|
2698
|
+
/* 83 */,
|
|
2790
2699
|
/* 84 */,
|
|
2791
2700
|
/* 85 */,
|
|
2792
2701
|
/* 86 */,
|
|
@@ -2838,9 +2747,7 @@ module.exports = require("@splunk/visualization-color-palettes/editors/PresetPal
|
|
|
2838
2747
|
/* 132 */,
|
|
2839
2748
|
/* 133 */,
|
|
2840
2749
|
/* 134 */,
|
|
2841
|
-
/* 135
|
|
2842
|
-
/* 136 */,
|
|
2843
|
-
/* 137 */
|
|
2750
|
+
/* 135 */
|
|
2844
2751
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2845
2752
|
|
|
2846
2753
|
"use strict";
|
|
@@ -2895,7 +2802,7 @@ var getDynamicFillColorEditor = function getDynamicFillColorEditor(_ref) {
|
|
|
2895
2802
|
exports.getDynamicFillColorEditor = getDynamicFillColorEditor;
|
|
2896
2803
|
|
|
2897
2804
|
/***/ }),
|
|
2898
|
-
/*
|
|
2805
|
+
/* 136 */
|
|
2899
2806
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2900
2807
|
|
|
2901
2808
|
"use strict";
|
|
@@ -2950,7 +2857,7 @@ var getDynamicStrokeColorEditor = function getDynamicStrokeColorEditor(_ref) {
|
|
|
2950
2857
|
exports.getDynamicStrokeColorEditor = getDynamicStrokeColorEditor;
|
|
2951
2858
|
|
|
2952
2859
|
/***/ }),
|
|
2953
|
-
/*
|
|
2860
|
+
/* 137 */
|
|
2954
2861
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2955
2862
|
|
|
2956
2863
|
"use strict";
|
|
@@ -2976,7 +2883,7 @@ var StaticFillColorEditor = {
|
|
|
2976
2883
|
exports.default = StaticFillColorEditor;
|
|
2977
2884
|
|
|
2978
2885
|
/***/ }),
|
|
2979
|
-
/*
|
|
2886
|
+
/* 138 */
|
|
2980
2887
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2981
2888
|
|
|
2982
2889
|
"use strict";
|
|
@@ -3002,13 +2909,13 @@ var StaticStrokeColorEditor = {
|
|
|
3002
2909
|
exports.default = StaticStrokeColorEditor;
|
|
3003
2910
|
|
|
3004
2911
|
/***/ }),
|
|
3005
|
-
/*
|
|
2912
|
+
/* 139 */
|
|
3006
2913
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3007
2914
|
|
|
3008
2915
|
"use strict";
|
|
3009
2916
|
|
|
3010
2917
|
|
|
3011
|
-
var _taggedTemplateLiteral = __webpack_require__(
|
|
2918
|
+
var _taggedTemplateLiteral = __webpack_require__(79);
|
|
3012
2919
|
|
|
3013
2920
|
var _templateObject;
|
|
3014
2921
|
|
|
@@ -3023,7 +2930,7 @@ var styled_components_1 = __webpack_require__(4);
|
|
|
3023
2930
|
|
|
3024
2931
|
var pick_1 = __webpack_require__(30);
|
|
3025
2932
|
|
|
3026
|
-
var variables_1 = __webpack_require__(
|
|
2933
|
+
var variables_1 = __webpack_require__(14);
|
|
3027
2934
|
|
|
3028
2935
|
var propUtils_1 = __webpack_require__(36); // map for new options names to old option names
|
|
3029
2936
|
|
|
@@ -3079,6 +2986,8 @@ var getStyledShape = function getStyledShape(shape) {
|
|
|
3079
2986
|
exports.getStyledShape = getStyledShape;
|
|
3080
2987
|
|
|
3081
2988
|
/***/ }),
|
|
2989
|
+
/* 140 */,
|
|
2990
|
+
/* 141 */,
|
|
3082
2991
|
/* 142 */,
|
|
3083
2992
|
/* 143 */,
|
|
3084
2993
|
/* 144 */,
|
|
@@ -3105,10 +3014,7 @@ exports.getStyledShape = getStyledShape;
|
|
|
3105
3014
|
/* 165 */,
|
|
3106
3015
|
/* 166 */,
|
|
3107
3016
|
/* 167 */,
|
|
3108
|
-
/* 168
|
|
3109
|
-
/* 169 */,
|
|
3110
|
-
/* 170 */,
|
|
3111
|
-
/* 171 */
|
|
3017
|
+
/* 168 */
|
|
3112
3018
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3113
3019
|
|
|
3114
3020
|
"use strict";
|
|
@@ -3140,13 +3046,13 @@ var styled_components_1 = __webpack_require__(4);
|
|
|
3140
3046
|
|
|
3141
3047
|
var T = __webpack_require__(1);
|
|
3142
3048
|
|
|
3143
|
-
var config_1 = __webpack_require__(
|
|
3049
|
+
var config_1 = __webpack_require__(220);
|
|
3144
3050
|
|
|
3145
3051
|
exports.config = config_1.default;
|
|
3146
3052
|
|
|
3147
|
-
var withDashboardViz_1 = __webpack_require__(
|
|
3053
|
+
var withDashboardViz_1 = __webpack_require__(55);
|
|
3148
3054
|
|
|
3149
|
-
var shapeUtils_1 = __webpack_require__(
|
|
3055
|
+
var shapeUtils_1 = __webpack_require__(139);
|
|
3150
3056
|
|
|
3151
3057
|
var validOptions = Object.keys(config_1.default.optionsSchema);
|
|
3152
3058
|
var SVGContainer = styled_components_1.default.svg.withConfig({
|
|
@@ -3215,6 +3121,9 @@ exports.themes = themes;
|
|
|
3215
3121
|
exports.default = Ellipse;
|
|
3216
3122
|
|
|
3217
3123
|
/***/ }),
|
|
3124
|
+
/* 169 */,
|
|
3125
|
+
/* 170 */,
|
|
3126
|
+
/* 171 */,
|
|
3218
3127
|
/* 172 */,
|
|
3219
3128
|
/* 173 */,
|
|
3220
3129
|
/* 174 */,
|
|
@@ -3262,11 +3171,7 @@ exports.default = Ellipse;
|
|
|
3262
3171
|
/* 216 */,
|
|
3263
3172
|
/* 217 */,
|
|
3264
3173
|
/* 218 */,
|
|
3265
|
-
/* 219
|
|
3266
|
-
/* 220 */,
|
|
3267
|
-
/* 221 */,
|
|
3268
|
-
/* 222 */,
|
|
3269
|
-
/* 223 */
|
|
3174
|
+
/* 219 */
|
|
3270
3175
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3271
3176
|
|
|
3272
3177
|
"use strict";
|
|
@@ -3302,9 +3207,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3302
3207
|
});
|
|
3303
3208
|
exports.default = void 0;
|
|
3304
3209
|
|
|
3305
|
-
__exportStar(__webpack_require__(
|
|
3210
|
+
__exportStar(__webpack_require__(168), exports);
|
|
3306
3211
|
|
|
3307
|
-
var Ellipse_1 = __webpack_require__(
|
|
3212
|
+
var Ellipse_1 = __webpack_require__(168);
|
|
3308
3213
|
|
|
3309
3214
|
Object.defineProperty(exports, "default", {
|
|
3310
3215
|
enumerable: true,
|
|
@@ -3314,7 +3219,7 @@ Object.defineProperty(exports, "default", {
|
|
|
3314
3219
|
});
|
|
3315
3220
|
|
|
3316
3221
|
/***/ }),
|
|
3317
|
-
/*
|
|
3222
|
+
/* 220 */
|
|
3318
3223
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3319
3224
|
|
|
3320
3225
|
"use strict";
|
|
@@ -3326,25 +3231,27 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3326
3231
|
|
|
3327
3232
|
var i18n_1 = __webpack_require__(2);
|
|
3328
3233
|
|
|
3329
|
-
var PresetPalettes_1 = __webpack_require__(
|
|
3234
|
+
var PresetPalettes_1 = __webpack_require__(81);
|
|
3235
|
+
|
|
3236
|
+
var visualization_schemas_1 = __webpack_require__(10);
|
|
3330
3237
|
|
|
3331
3238
|
var pick_1 = __webpack_require__(30);
|
|
3332
3239
|
|
|
3333
|
-
var variables_1 = __webpack_require__(
|
|
3240
|
+
var variables_1 = __webpack_require__(14);
|
|
3334
3241
|
|
|
3335
|
-
var VizBehavior_1 = __webpack_require__(
|
|
3242
|
+
var VizBehavior_1 = __webpack_require__(8);
|
|
3336
3243
|
|
|
3337
|
-
var VizCategory_1 = __webpack_require__(
|
|
3244
|
+
var VizCategory_1 = __webpack_require__(23);
|
|
3338
3245
|
|
|
3339
3246
|
var configUtils_1 = __webpack_require__(27);
|
|
3340
3247
|
|
|
3341
|
-
var DynamicFillColorEditor_1 = __webpack_require__(
|
|
3248
|
+
var DynamicFillColorEditor_1 = __webpack_require__(135);
|
|
3342
3249
|
|
|
3343
|
-
var DynamicStrokeColorEditor_1 = __webpack_require__(
|
|
3250
|
+
var DynamicStrokeColorEditor_1 = __webpack_require__(136);
|
|
3344
3251
|
|
|
3345
|
-
var StaticFillColorEditor_1 = __webpack_require__(
|
|
3252
|
+
var StaticFillColorEditor_1 = __webpack_require__(137);
|
|
3346
3253
|
|
|
3347
|
-
var StaticStrokeColorEditor_1 = __webpack_require__(
|
|
3254
|
+
var StaticStrokeColorEditor_1 = __webpack_require__(138);
|
|
3348
3255
|
|
|
3349
3256
|
var dataContract = {
|
|
3350
3257
|
requiredDataSources: [],
|
|
@@ -3427,38 +3334,6 @@ var defaultContext = {
|
|
|
3427
3334
|
value: '#5C33FF'
|
|
3428
3335
|
}]
|
|
3429
3336
|
};
|
|
3430
|
-
var optionsSchema = {
|
|
3431
|
-
fillColor: {
|
|
3432
|
-
default: '> themes.defaultFillColor',
|
|
3433
|
-
description: 'Specify the fill color. You may use a dataSource to apply the color. The hex value format should be "#FFFFFF". The default for enterprise light is "#C3CBD4". The default for enterprise dark is "#31373E". The default for prisma dark is "#0B0C0E".',
|
|
3434
|
-
type: 'string'
|
|
3435
|
-
},
|
|
3436
|
-
fillOpacity: {
|
|
3437
|
-
default: 1,
|
|
3438
|
-
description: 'Specify the opacity of the fill. Choose a number in the range of 0 - 1 (inclusive). You can also express the value as a percentage. For example, "0.80" in source or "80%" in UI.',
|
|
3439
|
-
type: 'number'
|
|
3440
|
-
},
|
|
3441
|
-
strokeColor: {
|
|
3442
|
-
default: '> themes.defaultStrokeColor',
|
|
3443
|
-
description: 'Specify the stroke color. You may use a dataSource to apply the color. The hex value format should be "#FFFFFF". The default for enterprise light is "#3C444D". The default for enterprise dark is "#C3CBD4". The default for prisma dark is "#ACACAD".',
|
|
3444
|
-
type: 'string'
|
|
3445
|
-
},
|
|
3446
|
-
strokeDashStyle: {
|
|
3447
|
-
default: 0,
|
|
3448
|
-
description: 'Specify the size, in pixels, of dashes and spaces used to create a custom stitched outline. The value you specify applies to both the dashes and the spaces between them.',
|
|
3449
|
-
type: 'number'
|
|
3450
|
-
},
|
|
3451
|
-
strokeOpacity: {
|
|
3452
|
-
default: 1,
|
|
3453
|
-
description: 'Specify the opacity of the stroke. Choose a number in the range of 0 - 1 (inclusive). You can also express the value as a percentage. For example, "0.80" in source or "80%" in UI.',
|
|
3454
|
-
type: 'number'
|
|
3455
|
-
},
|
|
3456
|
-
strokeWidth: {
|
|
3457
|
-
default: 1,
|
|
3458
|
-
description: 'Specify the width of the stroke, in pixels, in the range of 1 - 25 (inclusive).',
|
|
3459
|
-
type: 'number'
|
|
3460
|
-
}
|
|
3461
|
-
};
|
|
3462
3337
|
var themes = {
|
|
3463
3338
|
defaultFillColor: function defaultFillColor(props) {
|
|
3464
3339
|
return (0, pick_1.default)({
|
|
@@ -3617,7 +3492,7 @@ var config = {
|
|
|
3617
3492
|
dataContract: dataContract,
|
|
3618
3493
|
size: size,
|
|
3619
3494
|
defaultContext: defaultContext,
|
|
3620
|
-
optionsSchema:
|
|
3495
|
+
optionsSchema: visualization_schemas_1.ellipseOptionsSchema,
|
|
3621
3496
|
editorConfig: editorConfig,
|
|
3622
3497
|
events: {
|
|
3623
3498
|
'ellipse.click': {
|