@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/Punchcard.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 = 462);
|
|
91
91
|
/******/ })
|
|
92
92
|
/************************************************************************/
|
|
93
93
|
/******/ ({
|
|
@@ -109,11 +109,11 @@ module.exports = require("prop-types");
|
|
|
109
109
|
/***/ 10:
|
|
110
110
|
/***/ (function(module, exports) {
|
|
111
111
|
|
|
112
|
-
module.exports = require("@
|
|
112
|
+
module.exports = require("@splunk/visualization-schemas");
|
|
113
113
|
|
|
114
114
|
/***/ }),
|
|
115
115
|
|
|
116
|
-
/***/
|
|
116
|
+
/***/ 104:
|
|
117
117
|
/***/ (function(module, exports) {
|
|
118
118
|
|
|
119
119
|
module.exports = require("@splunk/visualization-encoding/utils/types");
|
|
@@ -127,7 +127,7 @@ module.exports = require("@splunk/visualizations-shared/numberUtils");
|
|
|
127
127
|
|
|
128
128
|
/***/ }),
|
|
129
129
|
|
|
130
|
-
/***/
|
|
130
|
+
/***/ 113:
|
|
131
131
|
/***/ (function(module, exports) {
|
|
132
132
|
|
|
133
133
|
module.exports = require("d3-scale");
|
|
@@ -141,20 +141,20 @@ module.exports = require("@splunk/visualizations-shared/Message");
|
|
|
141
141
|
|
|
142
142
|
/***/ }),
|
|
143
143
|
|
|
144
|
-
/***/
|
|
144
|
+
/***/ 120:
|
|
145
145
|
/***/ (function(module, exports, __webpack_require__) {
|
|
146
146
|
|
|
147
147
|
"use strict";
|
|
148
148
|
|
|
149
149
|
|
|
150
|
-
var _slicedToArray = __webpack_require__(
|
|
150
|
+
var _slicedToArray = __webpack_require__(6);
|
|
151
151
|
|
|
152
152
|
Object.defineProperty(exports, "__esModule", {
|
|
153
153
|
value: true
|
|
154
154
|
});
|
|
155
155
|
exports.truncateAxisLabelText = exports.isBubbleSelected = exports.isSomethingSelected = exports.getDataByRows = exports.createValueScale = exports.getScales = exports.getChartAreaDimensions = exports.getColorCategoryMapping = exports.GRAYSCALE_FILTER_ID = exports.BUBBLE_LABELS_TYPES = exports.COLOR_MODE_TYPES = exports.BUBBLE_SCALE_TYPES = exports.BUBBLE_ROW_SCALE_TYPES = exports.AXIS_ORIENTATION_TYPES = void 0;
|
|
156
156
|
|
|
157
|
-
var d3_scale_1 = __webpack_require__(
|
|
157
|
+
var d3_scale_1 = __webpack_require__(113);
|
|
158
158
|
/**
|
|
159
159
|
* @enum {AXIS_ORIENTATION_TYPES}
|
|
160
160
|
*/
|
|
@@ -553,11 +553,11 @@ exports.truncateAxisLabelText = truncateAxisLabelText;
|
|
|
553
553
|
/***/ 13:
|
|
554
554
|
/***/ (function(module, exports) {
|
|
555
555
|
|
|
556
|
-
module.exports = require("@
|
|
556
|
+
module.exports = require("@babel/runtime/helpers/defineProperty");
|
|
557
557
|
|
|
558
558
|
/***/ }),
|
|
559
559
|
|
|
560
|
-
/***/
|
|
560
|
+
/***/ 134:
|
|
561
561
|
/***/ (function(module, exports) {
|
|
562
562
|
|
|
563
563
|
module.exports = require("lodash/find");
|
|
@@ -565,6 +565,13 @@ module.exports = require("lodash/find");
|
|
|
565
565
|
/***/ }),
|
|
566
566
|
|
|
567
567
|
/***/ 14:
|
|
568
|
+
/***/ (function(module, exports) {
|
|
569
|
+
|
|
570
|
+
module.exports = require("@splunk/themes/variables");
|
|
571
|
+
|
|
572
|
+
/***/ }),
|
|
573
|
+
|
|
574
|
+
/***/ 15:
|
|
568
575
|
/***/ (function(module, exports, __webpack_require__) {
|
|
569
576
|
|
|
570
577
|
"use strict";
|
|
@@ -861,6 +868,7 @@ var calculateDownsamplingThreshold = function calculateDownsamplingThreshold(_re
|
|
|
861
868
|
});
|
|
862
869
|
}
|
|
863
870
|
} catch (e) {
|
|
871
|
+
// eslint-disable-next-line no-console
|
|
864
872
|
console.error('Error occurred while setting downsample threshold on range select event', e);
|
|
865
873
|
}
|
|
866
874
|
|
|
@@ -1027,6 +1035,7 @@ var downsampleDataSources = function downsampleDataSources(_ref4) {
|
|
|
1027
1035
|
return downsampledIndices.add(downsampleIndex);
|
|
1028
1036
|
});
|
|
1029
1037
|
} catch (e) {
|
|
1038
|
+
// eslint-disable-next-line no-console
|
|
1030
1039
|
console.error("Error occurred while downsampling column ".concat(columnIndex), e);
|
|
1031
1040
|
}
|
|
1032
1041
|
}); // update data columns with downsampled columns
|
|
@@ -1039,41 +1048,41 @@ exports.downsampleDataSources = downsampleDataSources;
|
|
|
1039
1048
|
|
|
1040
1049
|
/***/ }),
|
|
1041
1050
|
|
|
1042
|
-
/***/
|
|
1051
|
+
/***/ 157:
|
|
1043
1052
|
/***/ (function(module, exports) {
|
|
1044
1053
|
|
|
1045
|
-
module.exports = require("
|
|
1054
|
+
module.exports = require("lodash/findIndex");
|
|
1046
1055
|
|
|
1047
1056
|
/***/ }),
|
|
1048
1057
|
|
|
1049
|
-
/***/
|
|
1058
|
+
/***/ 158:
|
|
1050
1059
|
/***/ (function(module, exports) {
|
|
1051
1060
|
|
|
1052
|
-
module.exports = require("
|
|
1061
|
+
module.exports = require("lodash/flattenDeep");
|
|
1053
1062
|
|
|
1054
1063
|
/***/ }),
|
|
1055
1064
|
|
|
1056
|
-
/***/
|
|
1065
|
+
/***/ 16:
|
|
1057
1066
|
/***/ (function(module, exports) {
|
|
1058
1067
|
|
|
1059
|
-
module.exports = require("
|
|
1068
|
+
module.exports = require("@splunk/visualizations-shared/colorUtils");
|
|
1060
1069
|
|
|
1061
1070
|
/***/ }),
|
|
1062
1071
|
|
|
1063
|
-
/***/
|
|
1072
|
+
/***/ 17:
|
|
1064
1073
|
/***/ (function(module, exports) {
|
|
1065
1074
|
|
|
1066
|
-
module.exports = require("
|
|
1075
|
+
module.exports = require("@splunk/visualization-encoding/Options");
|
|
1067
1076
|
|
|
1068
1077
|
/***/ }),
|
|
1069
1078
|
|
|
1070
|
-
/***/
|
|
1079
|
+
/***/ 18:
|
|
1071
1080
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1072
1081
|
|
|
1073
1082
|
"use strict";
|
|
1074
1083
|
|
|
1075
1084
|
|
|
1076
|
-
var _slicedToArray = __webpack_require__(
|
|
1085
|
+
var _slicedToArray = __webpack_require__(6);
|
|
1077
1086
|
|
|
1078
1087
|
Object.defineProperty(exports, "__esModule", {
|
|
1079
1088
|
value: true
|
|
@@ -1083,9 +1092,9 @@ var React = __webpack_require__(0);
|
|
|
1083
1092
|
|
|
1084
1093
|
var styled_components_1 = __webpack_require__(4);
|
|
1085
1094
|
|
|
1086
|
-
var style_1 = __webpack_require__(
|
|
1095
|
+
var style_1 = __webpack_require__(19);
|
|
1087
1096
|
|
|
1088
|
-
var colorUtils_1 = __webpack_require__(
|
|
1097
|
+
var colorUtils_1 = __webpack_require__(16);
|
|
1089
1098
|
|
|
1090
1099
|
var SizeAwareWrapper_1 = __webpack_require__(26);
|
|
1091
1100
|
|
|
@@ -1158,7 +1167,7 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
|
|
|
1158
1167
|
|
|
1159
1168
|
return React.createElement(FixSizeItem, {
|
|
1160
1169
|
"data-test": "fix-size-item",
|
|
1161
|
-
"data-splunk-visualization-version": "26.
|
|
1170
|
+
"data-splunk-visualization-version": "26.3.0 - a1ef240a6",
|
|
1162
1171
|
width: width,
|
|
1163
1172
|
height: height,
|
|
1164
1173
|
backgroundColor: backgroundColor
|
|
@@ -1180,33 +1189,17 @@ exports.default = withFixedSizeContainer;
|
|
|
1180
1189
|
|
|
1181
1190
|
/***/ }),
|
|
1182
1191
|
|
|
1183
|
-
/***/
|
|
1192
|
+
/***/ 189:
|
|
1184
1193
|
/***/ (function(module, exports) {
|
|
1185
1194
|
|
|
1186
|
-
module.exports = require("
|
|
1195
|
+
module.exports = require("lodash/sortBy");
|
|
1187
1196
|
|
|
1188
1197
|
/***/ }),
|
|
1189
1198
|
|
|
1190
1199
|
/***/ 19:
|
|
1191
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1192
|
-
|
|
1193
|
-
"use strict";
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
Object.defineProperty(exports, "__esModule", {
|
|
1197
|
-
value: true
|
|
1198
|
-
});
|
|
1199
|
-
exports.validOutputModes = exports.validSegmentationModes = exports.validSortDirs = void 0;
|
|
1200
|
-
exports.validSortDirs = ['asc', 'desc', 'none'];
|
|
1201
|
-
exports.validSegmentationModes = ['none', 'inner'];
|
|
1202
|
-
exports.validOutputModes = ['json_cols', 'json'];
|
|
1203
|
-
|
|
1204
|
-
/***/ }),
|
|
1205
|
-
|
|
1206
|
-
/***/ 193:
|
|
1207
1200
|
/***/ (function(module, exports) {
|
|
1208
1201
|
|
|
1209
|
-
module.exports = require("
|
|
1202
|
+
module.exports = require("@splunk/visualizations-shared/style");
|
|
1210
1203
|
|
|
1211
1204
|
/***/ }),
|
|
1212
1205
|
|
|
@@ -1223,7 +1216,22 @@ module.exports = require("@splunk/ui-utils/i18n");
|
|
|
1223
1216
|
"use strict";
|
|
1224
1217
|
|
|
1225
1218
|
|
|
1226
|
-
|
|
1219
|
+
Object.defineProperty(exports, "__esModule", {
|
|
1220
|
+
value: true
|
|
1221
|
+
});
|
|
1222
|
+
exports.validOutputModes = exports.validSortDirs = void 0;
|
|
1223
|
+
exports.validSortDirs = ['asc', 'desc', 'none'];
|
|
1224
|
+
exports.validOutputModes = ['json_cols', 'json'];
|
|
1225
|
+
|
|
1226
|
+
/***/ }),
|
|
1227
|
+
|
|
1228
|
+
/***/ 22:
|
|
1229
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1230
|
+
|
|
1231
|
+
"use strict";
|
|
1232
|
+
|
|
1233
|
+
|
|
1234
|
+
var _classCallCheck = __webpack_require__(9);
|
|
1227
1235
|
|
|
1228
1236
|
var _createClass = __webpack_require__(25);
|
|
1229
1237
|
|
|
@@ -1255,7 +1263,7 @@ exports.DefaultVizActionHandler = DefaultVizActionHandler;
|
|
|
1255
1263
|
|
|
1256
1264
|
/***/ }),
|
|
1257
1265
|
|
|
1258
|
-
/***/
|
|
1266
|
+
/***/ 23:
|
|
1259
1267
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1260
1268
|
|
|
1261
1269
|
"use strict";
|
|
@@ -1284,7 +1292,7 @@ var VizCategory;
|
|
|
1284
1292
|
|
|
1285
1293
|
/***/ }),
|
|
1286
1294
|
|
|
1287
|
-
/***/
|
|
1295
|
+
/***/ 24:
|
|
1288
1296
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1289
1297
|
|
|
1290
1298
|
"use strict";
|
|
@@ -1317,13 +1325,6 @@ exports.extendStaticWrapperProps = extendStaticWrapperProps;
|
|
|
1317
1325
|
|
|
1318
1326
|
/***/ }),
|
|
1319
1327
|
|
|
1320
|
-
/***/ 24:
|
|
1321
|
-
/***/ (function(module, exports) {
|
|
1322
|
-
|
|
1323
|
-
module.exports = require("@splunk/visualizations-shared/schemaUtils");
|
|
1324
|
-
|
|
1325
|
-
/***/ }),
|
|
1326
|
-
|
|
1327
1328
|
/***/ 25:
|
|
1328
1329
|
/***/ (function(module, exports) {
|
|
1329
1330
|
|
|
@@ -1344,99 +1345,24 @@ module.exports = require("@splunk/visualizations-shared/SizeAwareWrapper");
|
|
|
1344
1345
|
"use strict";
|
|
1345
1346
|
|
|
1346
1347
|
|
|
1347
|
-
var _toConsumableArray = __webpack_require__(
|
|
1348
|
-
|
|
1349
|
-
var _defineProperty = __webpack_require__(9);
|
|
1350
|
-
|
|
1351
|
-
var __rest = this && this.__rest || function (s, e) {
|
|
1352
|
-
var t = {};
|
|
1353
|
-
|
|
1354
|
-
for (var p in s) {
|
|
1355
|
-
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
1356
|
-
}
|
|
1357
|
-
|
|
1358
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
1359
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
1360
|
-
}
|
|
1361
|
-
return t;
|
|
1362
|
-
};
|
|
1348
|
+
var _toConsumableArray = __webpack_require__(7);
|
|
1363
1349
|
|
|
1364
1350
|
Object.defineProperty(exports, "__esModule", {
|
|
1365
1351
|
value: true
|
|
1366
1352
|
});
|
|
1367
|
-
exports.insertLayout = exports.isDynamicOption = exports.uncollapseEditorConfig = exports.generatePrecisionValues = exports.getInitialPreset = exports.
|
|
1368
|
-
|
|
1369
|
-
var lodash_1 = __webpack_require__(3);
|
|
1370
|
-
|
|
1371
|
-
var schemaUtils_1 = __webpack_require__(24);
|
|
1353
|
+
exports.insertLayout = exports.isDynamicOption = exports.uncollapseEditorConfig = exports.generatePrecisionValues = exports.getInitialPreset = exports.enhanceConfig = exports.enhanceOptionsSchemaWithDynamicOptions = void 0;
|
|
1372
1354
|
|
|
1373
|
-
var
|
|
1355
|
+
var lodash_1 = __webpack_require__(3); // included for backwards compatibility
|
|
1374
1356
|
|
|
1375
|
-
var dynamicOptionsDSLType = {
|
|
1376
|
-
type: 'string',
|
|
1377
|
-
pattern: schemaUtils_1.DYNAMIC_OPTIONS_DSL_PATTERN
|
|
1378
|
-
};
|
|
1379
|
-
/**
|
|
1380
|
-
* Helper function to extend an options schema with dynamic options DSL
|
|
1381
|
-
* @param optionsSchema a visualization's options schema
|
|
1382
|
-
* @returns an updated options schema that additionally allows strings starting with > for each option
|
|
1383
|
-
*/
|
|
1384
1357
|
|
|
1385
|
-
|
|
1386
|
-
var enhancedOptionsSchema = {};
|
|
1387
|
-
Object.keys(optionsSchema).forEach(function (key) {
|
|
1388
|
-
var _a = optionsSchema[key],
|
|
1389
|
-
title = _a.title,
|
|
1390
|
-
description = _a.description,
|
|
1391
|
-
readOnly = _a.readOnly,
|
|
1392
|
-
writeOnly = _a.writeOnly,
|
|
1393
|
-
examples = _a.examples,
|
|
1394
|
-
defaultValue = _a.default,
|
|
1395
|
-
type = _a.type,
|
|
1396
|
-
properties = _a.properties,
|
|
1397
|
-
patternProperties = _a.patternProperties,
|
|
1398
|
-
remainingSchemaEntry = __rest(_a, ["title", "description", "readOnly", "writeOnly", "examples", "default", "type", "properties", "patternProperties"]);
|
|
1399
|
-
|
|
1400
|
-
var annotations = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, title !== undefined && {
|
|
1401
|
-
title: title
|
|
1402
|
-
}), description !== undefined && {
|
|
1403
|
-
description: description
|
|
1404
|
-
}), readOnly !== undefined && {
|
|
1405
|
-
readOnly: readOnly
|
|
1406
|
-
}), writeOnly !== undefined && {
|
|
1407
|
-
writeOnly: writeOnly
|
|
1408
|
-
}), examples !== undefined && {
|
|
1409
|
-
examples: examples
|
|
1410
|
-
}), defaultValue !== undefined && {
|
|
1411
|
-
default: defaultValue
|
|
1412
|
-
});
|
|
1358
|
+
var visualization_schemas_1 = __webpack_require__(10);
|
|
1413
1359
|
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
if (patternProperties) {
|
|
1422
|
-
var enhancedPatternProperties = {};
|
|
1423
|
-
Object.keys(patternProperties).forEach(function (opt) {
|
|
1424
|
-
enhancedPatternProperties = Object.assign(Object.assign({}, enhancedPatternProperties), enhanceOptionsSchemaWithDynamicOptions(_defineProperty({}, opt, patternProperties[opt])));
|
|
1425
|
-
});
|
|
1426
|
-
enhancedOptionsSchema[key].patternProperties = enhancedPatternProperties;
|
|
1427
|
-
}
|
|
1428
|
-
} else {
|
|
1429
|
-
enhancedOptionsSchema[key] = Object.assign(Object.assign({}, annotations), {
|
|
1430
|
-
anyOf: [Object.assign(Object.assign({}, type !== undefined && {
|
|
1431
|
-
type: type
|
|
1432
|
-
}), remainingSchemaEntry), dynamicOptionsDSLType]
|
|
1433
|
-
});
|
|
1434
|
-
}
|
|
1435
|
-
});
|
|
1436
|
-
return enhancedOptionsSchema;
|
|
1437
|
-
}
|
|
1438
|
-
|
|
1439
|
-
exports.enhanceOptionsSchemaWithDynamicOptions = enhanceOptionsSchemaWithDynamicOptions;
|
|
1360
|
+
Object.defineProperty(exports, "enhanceOptionsSchemaWithDynamicOptions", {
|
|
1361
|
+
enumerable: true,
|
|
1362
|
+
get: function get() {
|
|
1363
|
+
return visualization_schemas_1.enhanceOptionsSchemaWithDynamicOptions;
|
|
1364
|
+
}
|
|
1365
|
+
});
|
|
1440
1366
|
/**
|
|
1441
1367
|
* Helper function to enhance a Visualization Config as needed based on behaviors specified in supports block
|
|
1442
1368
|
* this function also collapse all editor panels
|
|
@@ -1447,11 +1373,6 @@ exports.enhanceOptionsSchemaWithDynamicOptions = enhanceOptionsSchemaWithDynamic
|
|
|
1447
1373
|
|
|
1448
1374
|
function enhanceConfig(vizConfig) {
|
|
1449
1375
|
var enhancedConfig = Object.assign({}, vizConfig);
|
|
1450
|
-
|
|
1451
|
-
if (vizConfig.supports.indexOf(VizBehavior_1.VizBehavior.DYNAMIC_OPTIONS) !== -1) {
|
|
1452
|
-
enhancedConfig.optionsSchema = enhanceOptionsSchemaWithDynamicOptions(vizConfig.optionsSchema);
|
|
1453
|
-
}
|
|
1454
|
-
|
|
1455
1376
|
enhancedConfig.editorConfig = vizConfig.editorConfig.map(function (config) {
|
|
1456
1377
|
return Object.assign(Object.assign({}, config), {
|
|
1457
1378
|
open: config.open || false
|
|
@@ -1669,7 +1590,7 @@ var i18n_1 = __webpack_require__(2);
|
|
|
1669
1590
|
|
|
1670
1591
|
var Message_1 = __webpack_require__(12);
|
|
1671
1592
|
|
|
1672
|
-
var FixedSizeContainer_1 = __webpack_require__(
|
|
1593
|
+
var FixedSizeContainer_1 = __webpack_require__(18);
|
|
1673
1594
|
/**
|
|
1674
1595
|
* @method shouldShowIconPlaceholder
|
|
1675
1596
|
* @param {object} dataSources
|
|
@@ -1747,7 +1668,7 @@ exports.default = (0, FixedSizeContainer_1.default)(IconPlaceholder);
|
|
|
1747
1668
|
"use strict";
|
|
1748
1669
|
|
|
1749
1670
|
|
|
1750
|
-
var _defineProperty = __webpack_require__(
|
|
1671
|
+
var _defineProperty = __webpack_require__(13);
|
|
1751
1672
|
|
|
1752
1673
|
Object.defineProperty(exports, "__esModule", {
|
|
1753
1674
|
value: true
|
|
@@ -1758,7 +1679,7 @@ var T = __webpack_require__(1);
|
|
|
1758
1679
|
|
|
1759
1680
|
var lodash_1 = __webpack_require__(3);
|
|
1760
1681
|
|
|
1761
|
-
var DataSource_1 = __webpack_require__(
|
|
1682
|
+
var DataSource_1 = __webpack_require__(21);
|
|
1762
1683
|
|
|
1763
1684
|
exports.SortParamsPropTypes = T.shape({
|
|
1764
1685
|
currentSortKey: T.string,
|
|
@@ -1923,7 +1844,7 @@ __exportStar(__webpack_require__(41), exports);
|
|
|
1923
1844
|
|
|
1924
1845
|
__exportStar(__webpack_require__(42), exports);
|
|
1925
1846
|
|
|
1926
|
-
__exportStar(__webpack_require__(
|
|
1847
|
+
__exportStar(__webpack_require__(21), exports);
|
|
1927
1848
|
|
|
1928
1849
|
__exportStar(__webpack_require__(43), exports);
|
|
1929
1850
|
|
|
@@ -1937,13 +1858,13 @@ __exportStar(__webpack_require__(47), exports);
|
|
|
1937
1858
|
|
|
1938
1859
|
__exportStar(__webpack_require__(48), exports);
|
|
1939
1860
|
|
|
1940
|
-
__exportStar(__webpack_require__(
|
|
1861
|
+
__exportStar(__webpack_require__(22), exports);
|
|
1941
1862
|
|
|
1942
|
-
__exportStar(__webpack_require__(
|
|
1863
|
+
__exportStar(__webpack_require__(8), exports);
|
|
1943
1864
|
|
|
1944
|
-
__exportStar(__webpack_require__(
|
|
1865
|
+
__exportStar(__webpack_require__(23), exports);
|
|
1945
1866
|
|
|
1946
|
-
__exportStar(__webpack_require__(
|
|
1867
|
+
__exportStar(__webpack_require__(49), exports);
|
|
1947
1868
|
|
|
1948
1869
|
__exportStar(__webpack_require__(50), exports);
|
|
1949
1870
|
|
|
@@ -1955,8 +1876,6 @@ __exportStar(__webpack_require__(53), exports);
|
|
|
1955
1876
|
|
|
1956
1877
|
__exportStar(__webpack_require__(54), exports);
|
|
1957
1878
|
|
|
1958
|
-
__exportStar(__webpack_require__(55), exports);
|
|
1959
|
-
|
|
1960
1879
|
/***/ }),
|
|
1961
1880
|
|
|
1962
1881
|
/***/ 41:
|
|
@@ -2034,7 +1953,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2034
1953
|
|
|
2035
1954
|
/***/ }),
|
|
2036
1955
|
|
|
2037
|
-
/***/
|
|
1956
|
+
/***/ 462:
|
|
2038
1957
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2039
1958
|
|
|
2040
1959
|
"use strict";
|
|
@@ -2060,15 +1979,15 @@ exports.themes = exports.computeVizProps = exports.PurePunchcard = exports.confi
|
|
|
2060
1979
|
|
|
2061
1980
|
var lodash_1 = __webpack_require__(3);
|
|
2062
1981
|
|
|
2063
|
-
var visualization_color_palettes_1 = __webpack_require__(
|
|
1982
|
+
var visualization_color_palettes_1 = __webpack_require__(75);
|
|
2064
1983
|
|
|
2065
|
-
var config_1 = __webpack_require__(
|
|
1984
|
+
var config_1 = __webpack_require__(463);
|
|
2066
1985
|
|
|
2067
|
-
var withDashboardViz_1 = __webpack_require__(
|
|
1986
|
+
var withDashboardViz_1 = __webpack_require__(55);
|
|
2068
1987
|
|
|
2069
|
-
var Punchcard_1 = __webpack_require__(
|
|
1988
|
+
var Punchcard_1 = __webpack_require__(464);
|
|
2070
1989
|
|
|
2071
|
-
var punchcardUtils_1 = __webpack_require__(
|
|
1990
|
+
var punchcardUtils_1 = __webpack_require__(472);
|
|
2072
1991
|
|
|
2073
1992
|
exports.config = config_1.default;
|
|
2074
1993
|
exports.PurePunchcard = Punchcard_1.default;
|
|
@@ -2113,7 +2032,7 @@ exports.default = viz;
|
|
|
2113
2032
|
|
|
2114
2033
|
/***/ }),
|
|
2115
2034
|
|
|
2116
|
-
/***/
|
|
2035
|
+
/***/ 463:
|
|
2117
2036
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2118
2037
|
|
|
2119
2038
|
"use strict";
|
|
@@ -2125,25 +2044,23 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2125
2044
|
|
|
2126
2045
|
var i18n_1 = __webpack_require__(2);
|
|
2127
2046
|
|
|
2128
|
-
var
|
|
2129
|
-
|
|
2130
|
-
var visualization_icons_1 = __webpack_require__(74);
|
|
2047
|
+
var visualization_schemas_1 = __webpack_require__(10);
|
|
2131
2048
|
|
|
2132
|
-
var
|
|
2049
|
+
var visualization_icons_1 = __webpack_require__(72);
|
|
2133
2050
|
|
|
2134
|
-
var
|
|
2051
|
+
var placeholders_1 = __webpack_require__(71);
|
|
2135
2052
|
|
|
2136
2053
|
var pick_1 = __webpack_require__(30);
|
|
2137
2054
|
|
|
2138
|
-
var variables_1 = __webpack_require__(
|
|
2055
|
+
var variables_1 = __webpack_require__(14);
|
|
2139
2056
|
|
|
2140
|
-
var VizBehavior_1 = __webpack_require__(
|
|
2057
|
+
var VizBehavior_1 = __webpack_require__(8);
|
|
2141
2058
|
|
|
2142
|
-
var VizCategory_1 = __webpack_require__(
|
|
2059
|
+
var VizCategory_1 = __webpack_require__(23);
|
|
2143
2060
|
|
|
2144
2061
|
var configUtils_1 = __webpack_require__(27);
|
|
2145
2062
|
|
|
2146
|
-
var BackgroundColor_1 = __webpack_require__(
|
|
2063
|
+
var BackgroundColor_1 = __webpack_require__(73);
|
|
2147
2064
|
|
|
2148
2065
|
var dataContract = {
|
|
2149
2066
|
requiredDataSources: [{
|
|
@@ -2172,144 +2089,6 @@ var defaultContext = {
|
|
|
2172
2089
|
colors: ['rgba(123,86,219,0.4)', 'rgba(123,86,219,1)']
|
|
2173
2090
|
}
|
|
2174
2091
|
};
|
|
2175
|
-
var optionsSchema = {
|
|
2176
|
-
x: {
|
|
2177
|
-
default: '> primary | seriesByIndex(0)',
|
|
2178
|
-
description: 'Specify the dataSource applied to the x-axis.',
|
|
2179
|
-
type: 'array',
|
|
2180
|
-
items: {
|
|
2181
|
-
type: ['string', 'number']
|
|
2182
|
-
}
|
|
2183
|
-
},
|
|
2184
|
-
y: {
|
|
2185
|
-
default: '> primary | seriesByIndex(1)',
|
|
2186
|
-
description: 'Specify the dataSource applied to the y-axis.',
|
|
2187
|
-
type: 'array',
|
|
2188
|
-
items: {
|
|
2189
|
-
type: ['string', 'number']
|
|
2190
|
-
}
|
|
2191
|
-
},
|
|
2192
|
-
category: {
|
|
2193
|
-
default: '> primary | seriesByIndex(3)',
|
|
2194
|
-
description: 'Specify the dataSource to apply series categories.',
|
|
2195
|
-
type: 'array',
|
|
2196
|
-
items: {
|
|
2197
|
-
type: ['string', 'number']
|
|
2198
|
-
}
|
|
2199
|
-
},
|
|
2200
|
-
size: {
|
|
2201
|
-
default: '> primary | seriesByIndex(2)',
|
|
2202
|
-
description: 'Specify the dataSource to apply bubble size in the chart.',
|
|
2203
|
-
type: 'array',
|
|
2204
|
-
items: {
|
|
2205
|
-
type: 'number'
|
|
2206
|
-
}
|
|
2207
|
-
},
|
|
2208
|
-
xField: {
|
|
2209
|
-
default: '> x | getField()',
|
|
2210
|
-
description: 'Specify the field that should be mapped to the x-axis.',
|
|
2211
|
-
type: 'string'
|
|
2212
|
-
},
|
|
2213
|
-
yField: {
|
|
2214
|
-
default: '> y | getField()',
|
|
2215
|
-
description: 'Specify the field that should be mapped to the y-axis.',
|
|
2216
|
-
type: 'string'
|
|
2217
|
-
},
|
|
2218
|
-
categoryField: {
|
|
2219
|
-
default: '> category | getField()',
|
|
2220
|
-
description: 'Specify the field that should be mapped to the series categories.',
|
|
2221
|
-
type: 'string'
|
|
2222
|
-
},
|
|
2223
|
-
sizeField: {
|
|
2224
|
-
default: '> size | getField()',
|
|
2225
|
-
description: 'Specify the field that should be mapped to the bubble size in the chart.',
|
|
2226
|
-
type: 'string'
|
|
2227
|
-
},
|
|
2228
|
-
backgroundColor: {
|
|
2229
|
-
default: '> themes.defaultBackgroundColor',
|
|
2230
|
-
description: 'Specify the color used for the background. The default for enterprise light is "#ffffff". The default for enterprise dark is "#000000". The default for prisma dark is "#0b0c0e".',
|
|
2231
|
-
pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
|
|
2232
|
-
type: 'string'
|
|
2233
|
-
},
|
|
2234
|
-
bubbleColor: {
|
|
2235
|
-
default: '> size | gradient(bubbleColorConfig)',
|
|
2236
|
-
description: 'Specify the coloring method used for the bubbles when the colorMode “dynamic” is specified. For example “> size | gradient(bubbleColorConfig)".',
|
|
2237
|
-
type: ['string', 'array']
|
|
2238
|
-
},
|
|
2239
|
-
bubbleLabelDisplay: {
|
|
2240
|
-
default: 'all',
|
|
2241
|
-
description: 'Specify whether all bubble labels, the max value bubble labels, or none of the bubble labels should be displayed.',
|
|
2242
|
-
pattern: (0, schemaUtils_1.getPattern)(['all', 'max', 'off']),
|
|
2243
|
-
type: 'string'
|
|
2244
|
-
},
|
|
2245
|
-
bubbleRadiusMax: {
|
|
2246
|
-
default: 15,
|
|
2247
|
-
description: 'Specify the max radius (in pixels) of the bubbles when showDynamicBubbleSize option is false. Greater than 0.',
|
|
2248
|
-
type: 'number'
|
|
2249
|
-
},
|
|
2250
|
-
bubbleRadiusMin: {
|
|
2251
|
-
default: 1,
|
|
2252
|
-
description: 'Specify the min radius (in pixels) of the bubbles when showDynamicBubbleSize option is false. Greater than 0.',
|
|
2253
|
-
type: 'number'
|
|
2254
|
-
},
|
|
2255
|
-
bubbleRowScale: {
|
|
2256
|
-
default: 'global',
|
|
2257
|
-
description: 'Specify how bubbles are scaled relative to other rows.',
|
|
2258
|
-
pattern: (0, schemaUtils_1.getPattern)(['global', 'row']),
|
|
2259
|
-
type: 'string'
|
|
2260
|
-
},
|
|
2261
|
-
bubbleSizeMax: {
|
|
2262
|
-
default: 1,
|
|
2263
|
-
description: 'Specify the max percentage (in decimal format) of space a bubble should take up within a cell when showDynamicBubbleSize option is true. The number specified must be between 0 and 1.',
|
|
2264
|
-
type: 'number'
|
|
2265
|
-
},
|
|
2266
|
-
bubbleSizeMin: {
|
|
2267
|
-
default: 0.25,
|
|
2268
|
-
description: 'Specify the min percentage (in decimal format) of space a bubble should take up within a cell when showDynamicBubbleSize option is true. The number specified must be between 0 and 1.',
|
|
2269
|
-
type: 'number'
|
|
2270
|
-
},
|
|
2271
|
-
bubbleSizeMethod: {
|
|
2272
|
-
default: 'area',
|
|
2273
|
-
description: 'Specify whether bubble area or diameter corresponds to the size value.',
|
|
2274
|
-
pattern: (0, schemaUtils_1.getPattern)(['radius', 'area']),
|
|
2275
|
-
type: 'string'
|
|
2276
|
-
},
|
|
2277
|
-
colorMode: {
|
|
2278
|
-
default: 'dynamic',
|
|
2279
|
-
description: 'Specify the coloring method used for the bubbles.',
|
|
2280
|
-
pattern: (0, schemaUtils_1.getPattern)(['categorical', 'dynamic']),
|
|
2281
|
-
type: 'string'
|
|
2282
|
-
},
|
|
2283
|
-
legendDisplay: {
|
|
2284
|
-
default: 'right',
|
|
2285
|
-
description: 'Specify the location of the legend on the panel.',
|
|
2286
|
-
pattern: (0, schemaUtils_1.getPattern)(['right', 'off']),
|
|
2287
|
-
type: 'string'
|
|
2288
|
-
},
|
|
2289
|
-
seriesColors: {
|
|
2290
|
-
default: visualization_color_palettes_1.VIZ_CATEGORICAL,
|
|
2291
|
-
description: 'Specify the colors used for a series. For example, "#FF0000", "#0000FF", "#008000".',
|
|
2292
|
-
type: 'array',
|
|
2293
|
-
items: {
|
|
2294
|
-
type: 'string'
|
|
2295
|
-
}
|
|
2296
|
-
},
|
|
2297
|
-
showDefaultSort: {
|
|
2298
|
-
default: false,
|
|
2299
|
-
description: 'Specify whether axes should be sorted based on order of time, digits and strings.',
|
|
2300
|
-
type: 'boolean'
|
|
2301
|
-
},
|
|
2302
|
-
showDynamicBubbleSize: {
|
|
2303
|
-
default: true,
|
|
2304
|
-
description: 'Specify whether the bubble size should be dynamic or fixed.',
|
|
2305
|
-
type: 'boolean'
|
|
2306
|
-
},
|
|
2307
|
-
showMaxValuePulsation: {
|
|
2308
|
-
default: true,
|
|
2309
|
-
description: 'Specify whether the max value bubble should pulsate.',
|
|
2310
|
-
type: 'boolean'
|
|
2311
|
-
}
|
|
2312
|
-
};
|
|
2313
2092
|
var themes = {
|
|
2314
2093
|
defaultBackgroundColor: function defaultBackgroundColor(props) {
|
|
2315
2094
|
return (0, pick_1.default)({
|
|
@@ -2452,7 +2231,7 @@ var config = {
|
|
|
2452
2231
|
dataContract: dataContract,
|
|
2453
2232
|
size: size,
|
|
2454
2233
|
defaultContext: defaultContext,
|
|
2455
|
-
optionsSchema:
|
|
2234
|
+
optionsSchema: visualization_schemas_1.punchcardOptionsSchema,
|
|
2456
2235
|
editorConfig: editorConfig,
|
|
2457
2236
|
events: {
|
|
2458
2237
|
'legend.click': {
|
|
@@ -2470,15 +2249,15 @@ exports.default = (0, configUtils_1.enhanceConfig)(config);
|
|
|
2470
2249
|
|
|
2471
2250
|
/***/ }),
|
|
2472
2251
|
|
|
2473
|
-
/***/
|
|
2252
|
+
/***/ 464:
|
|
2474
2253
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2475
2254
|
|
|
2476
2255
|
"use strict";
|
|
2477
2256
|
|
|
2478
2257
|
|
|
2479
|
-
var _defineProperty = __webpack_require__(
|
|
2258
|
+
var _defineProperty = __webpack_require__(13);
|
|
2480
2259
|
|
|
2481
|
-
var _slicedToArray = __webpack_require__(
|
|
2260
|
+
var _slicedToArray = __webpack_require__(6);
|
|
2482
2261
|
|
|
2483
2262
|
Object.defineProperty(exports, "__esModule", {
|
|
2484
2263
|
value: true
|
|
@@ -2492,29 +2271,29 @@ var T = __webpack_require__(1);
|
|
|
2492
2271
|
|
|
2493
2272
|
var lodash_1 = __webpack_require__(3);
|
|
2494
2273
|
|
|
2495
|
-
var types_1 = __webpack_require__(
|
|
2274
|
+
var types_1 = __webpack_require__(104);
|
|
2496
2275
|
|
|
2497
2276
|
var SizeAwareWrapper_1 = __webpack_require__(26);
|
|
2498
2277
|
|
|
2499
|
-
var style_1 = __webpack_require__(
|
|
2278
|
+
var style_1 = __webpack_require__(19);
|
|
2500
2279
|
|
|
2501
|
-
var visualization_color_palettes_1 = __webpack_require__(
|
|
2280
|
+
var visualization_color_palettes_1 = __webpack_require__(75);
|
|
2502
2281
|
|
|
2503
|
-
var punchcardUtils_1 = __webpack_require__(
|
|
2282
|
+
var punchcardUtils_1 = __webpack_require__(120);
|
|
2504
2283
|
|
|
2505
|
-
var sortUtils_1 = __webpack_require__(
|
|
2284
|
+
var sortUtils_1 = __webpack_require__(465);
|
|
2506
2285
|
|
|
2507
|
-
var PunchcardAxis_1 = __webpack_require__(
|
|
2286
|
+
var PunchcardAxis_1 = __webpack_require__(466);
|
|
2508
2287
|
|
|
2509
|
-
var PunchcardChartArea_1 = __webpack_require__(
|
|
2288
|
+
var PunchcardChartArea_1 = __webpack_require__(467);
|
|
2510
2289
|
|
|
2511
|
-
var PunchcardLegend_1 = __webpack_require__(
|
|
2290
|
+
var PunchcardLegend_1 = __webpack_require__(470);
|
|
2512
2291
|
|
|
2513
|
-
var PunchcardGridLines_1 = __webpack_require__(
|
|
2292
|
+
var PunchcardGridLines_1 = __webpack_require__(471);
|
|
2514
2293
|
|
|
2515
2294
|
var Container = styled_components_1.default.div.withConfig({
|
|
2516
2295
|
displayName: "Punchcard__Container",
|
|
2517
|
-
componentId: "orvtgq-0"
|
|
2296
|
+
componentId: "sc-orvtgq-0"
|
|
2518
2297
|
})(["cursor:default;overflow:hidden;", ";background-color:", ";"], function (props) {
|
|
2519
2298
|
return (0, style_1.toDimension)((0, lodash_1.pick)(props, ['width', 'height']));
|
|
2520
2299
|
}, function (props) {
|
|
@@ -2522,19 +2301,19 @@ var Container = styled_components_1.default.div.withConfig({
|
|
|
2522
2301
|
});
|
|
2523
2302
|
var PunchcardWrapper = styled_components_1.default.div.withConfig({
|
|
2524
2303
|
displayName: "Punchcard__PunchcardWrapper",
|
|
2525
|
-
componentId: "orvtgq-1"
|
|
2304
|
+
componentId: "sc-orvtgq-1"
|
|
2526
2305
|
})(["display:flex;justify-content:center;flex-direction:row;width:100%;height:100%;background-color:", ";"], function (props) {
|
|
2527
2306
|
return props.backgroundColor;
|
|
2528
2307
|
});
|
|
2529
2308
|
var PunchcardContainer = styled_components_1.default.div.withConfig({
|
|
2530
2309
|
displayName: "Punchcard__PunchcardContainer",
|
|
2531
|
-
componentId: "orvtgq-2"
|
|
2310
|
+
componentId: "sc-orvtgq-2"
|
|
2532
2311
|
})(["overflow:hidden;position:relative;", ";"], function (props) {
|
|
2533
2312
|
return (0, style_1.toDimension)((0, lodash_1.pick)(props, ['width', 'height']));
|
|
2534
2313
|
});
|
|
2535
2314
|
var PunchcardSVG = styled_components_1.default.svg.withConfig({
|
|
2536
2315
|
displayName: "Punchcard__PunchcardSVG",
|
|
2537
|
-
componentId: "orvtgq-3"
|
|
2316
|
+
componentId: "sc-orvtgq-3"
|
|
2538
2317
|
})(["", ";"], function (props) {
|
|
2539
2318
|
return (0, style_1.toDimension)((0, lodash_1.pick)(props, ['width', 'height']));
|
|
2540
2319
|
});
|
|
@@ -2670,8 +2449,6 @@ var Punchcard = function Punchcard(props) {
|
|
|
2670
2449
|
};
|
|
2671
2450
|
|
|
2672
2451
|
var renderVisualization = function renderVisualization() {
|
|
2673
|
-
console.debug('renderVisualization', containerWidth, containerHeight);
|
|
2674
|
-
|
|
2675
2452
|
if (!containerWidth || !containerHeight) {
|
|
2676
2453
|
return null;
|
|
2677
2454
|
}
|
|
@@ -2707,8 +2484,10 @@ var Punchcard = function Punchcard(props) {
|
|
|
2707
2484
|
|
|
2708
2485
|
var minBand = Math.min(xScale.bandwidth(), yScale.bandwidth());
|
|
2709
2486
|
return React.createElement(PunchcardWrapper, {
|
|
2487
|
+
"data-test": "punchcard-wrapper",
|
|
2710
2488
|
backgroundColor: backgroundColor
|
|
2711
2489
|
}, React.createElement(PunchcardContainer, {
|
|
2490
|
+
"data-test": "punchcard-container",
|
|
2712
2491
|
width: containerWidth,
|
|
2713
2492
|
height: containerHeight
|
|
2714
2493
|
}, React.createElement(PunchcardSVG, {
|
|
@@ -2865,7 +2644,7 @@ exports.default = Punchcard;
|
|
|
2865
2644
|
|
|
2866
2645
|
/***/ }),
|
|
2867
2646
|
|
|
2868
|
-
/***/
|
|
2647
|
+
/***/ 465:
|
|
2869
2648
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2870
2649
|
|
|
2871
2650
|
"use strict";
|
|
@@ -2875,13 +2654,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2875
2654
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "sortedByDTime", function() { return sortedByDTime; });
|
|
2876
2655
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "sortByDigitOrAlpha", function() { return sortByDigitOrAlpha; });
|
|
2877
2656
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "sortAxis", function() { return sortAxis; });
|
|
2878
|
-
/* harmony import */ var lodash_findIndex__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
2657
|
+
/* harmony import */ var lodash_findIndex__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(157);
|
|
2879
2658
|
/* harmony import */ var lodash_findIndex__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_findIndex__WEBPACK_IMPORTED_MODULE_0__);
|
|
2880
|
-
/* harmony import */ var lodash_find__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
2659
|
+
/* harmony import */ var lodash_find__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(134);
|
|
2881
2660
|
/* harmony import */ var lodash_find__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_find__WEBPACK_IMPORTED_MODULE_1__);
|
|
2882
|
-
/* harmony import */ var lodash_sortBy__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
2661
|
+
/* harmony import */ var lodash_sortBy__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(189);
|
|
2883
2662
|
/* harmony import */ var lodash_sortBy__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash_sortBy__WEBPACK_IMPORTED_MODULE_2__);
|
|
2884
|
-
/* harmony import */ var lodash_flattenDeep__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
|
2663
|
+
/* harmony import */ var lodash_flattenDeep__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(158);
|
|
2885
2664
|
/* harmony import */ var lodash_flattenDeep__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(lodash_flattenDeep__WEBPACK_IMPORTED_MODULE_3__);
|
|
2886
2665
|
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(3);
|
|
2887
2666
|
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_4__);
|
|
@@ -3150,19 +2929,7 @@ var sortAxis = function sortAxis(axis) {
|
|
|
3150
2929
|
|
|
3151
2930
|
/***/ }),
|
|
3152
2931
|
|
|
3153
|
-
/***/
|
|
3154
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
3155
|
-
|
|
3156
|
-
"use strict";
|
|
3157
|
-
|
|
3158
|
-
|
|
3159
|
-
Object.defineProperty(exports, "__esModule", {
|
|
3160
|
-
value: true
|
|
3161
|
-
});
|
|
3162
|
-
|
|
3163
|
-
/***/ }),
|
|
3164
|
-
|
|
3165
|
-
/***/ 470:
|
|
2932
|
+
/***/ 466:
|
|
3166
2933
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3167
2934
|
|
|
3168
2935
|
"use strict";
|
|
@@ -3180,9 +2947,9 @@ var styled_components_1 = __webpack_require__(4);
|
|
|
3180
2947
|
|
|
3181
2948
|
var pick_1 = __webpack_require__(30);
|
|
3182
2949
|
|
|
3183
|
-
var variables_1 = __webpack_require__(
|
|
2950
|
+
var variables_1 = __webpack_require__(14);
|
|
3184
2951
|
|
|
3185
|
-
var punchcardUtils_1 = __webpack_require__(
|
|
2952
|
+
var punchcardUtils_1 = __webpack_require__(120);
|
|
3186
2953
|
|
|
3187
2954
|
var AxisLabelText = styled_components_1.default.text.withConfig({
|
|
3188
2955
|
displayName: "PunchcardAxis__AxisLabelText",
|
|
@@ -3206,7 +2973,9 @@ var PunchcardAxis = function PunchcardAxis(props) {
|
|
|
3206
2973
|
selected = props.selected,
|
|
3207
2974
|
startPositionX = props.startPositionX,
|
|
3208
2975
|
startPositionY = props.startPositionY;
|
|
3209
|
-
return React.createElement("g",
|
|
2976
|
+
return React.createElement("g", {
|
|
2977
|
+
"data-test": "".concat(orientation === punchcardUtils_1.AXIS_ORIENTATION_TYPES.VERTICAL ? 'y' : 'x', "-axis")
|
|
2978
|
+
}, labels.map(function (label, index) {
|
|
3210
2979
|
// Space between labels either in x or y direction depending on orientation
|
|
3211
2980
|
var positionDelta = index * scale.bandwidth() + scale.bandwidth() / 2;
|
|
3212
2981
|
var xPosition = orientation === punchcardUtils_1.AXIS_ORIENTATION_TYPES.VERTICAL ? startPositionX : startPositionX + positionDelta;
|
|
@@ -3263,15 +3032,15 @@ exports.default = PunchcardAxis;
|
|
|
3263
3032
|
|
|
3264
3033
|
/***/ }),
|
|
3265
3034
|
|
|
3266
|
-
/***/
|
|
3035
|
+
/***/ 467:
|
|
3267
3036
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3268
3037
|
|
|
3269
3038
|
"use strict";
|
|
3270
3039
|
|
|
3271
3040
|
|
|
3272
|
-
var _toConsumableArray = __webpack_require__(
|
|
3041
|
+
var _toConsumableArray = __webpack_require__(7);
|
|
3273
3042
|
|
|
3274
|
-
var _slicedToArray = __webpack_require__(
|
|
3043
|
+
var _slicedToArray = __webpack_require__(6);
|
|
3275
3044
|
|
|
3276
3045
|
Object.defineProperty(exports, "__esModule", {
|
|
3277
3046
|
value: true
|
|
@@ -3281,9 +3050,9 @@ var React = __webpack_require__(0);
|
|
|
3281
3050
|
|
|
3282
3051
|
var T = __webpack_require__(1);
|
|
3283
3052
|
|
|
3284
|
-
var punchcardUtils_1 = __webpack_require__(
|
|
3053
|
+
var punchcardUtils_1 = __webpack_require__(120);
|
|
3285
3054
|
|
|
3286
|
-
var PunchcardRow_1 = __webpack_require__(
|
|
3055
|
+
var PunchcardRow_1 = __webpack_require__(468);
|
|
3287
3056
|
|
|
3288
3057
|
var PunchcardChartArea = function PunchcardChartArea(props) {
|
|
3289
3058
|
var showBubbleLabels = props.showBubbleLabels,
|
|
@@ -3435,7 +3204,7 @@ exports.default = PunchcardChartArea;
|
|
|
3435
3204
|
|
|
3436
3205
|
/***/ }),
|
|
3437
3206
|
|
|
3438
|
-
/***/
|
|
3207
|
+
/***/ 468:
|
|
3439
3208
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3440
3209
|
|
|
3441
3210
|
"use strict";
|
|
@@ -3451,9 +3220,9 @@ var T = __webpack_require__(1);
|
|
|
3451
3220
|
|
|
3452
3221
|
var styled_components_1 = __webpack_require__(4);
|
|
3453
3222
|
|
|
3454
|
-
var PunchcardBubble_1 = __webpack_require__(
|
|
3223
|
+
var PunchcardBubble_1 = __webpack_require__(469);
|
|
3455
3224
|
|
|
3456
|
-
var punchcardUtils_1 = __webpack_require__(
|
|
3225
|
+
var punchcardUtils_1 = __webpack_require__(120);
|
|
3457
3226
|
|
|
3458
3227
|
var PunchcardRow = function PunchcardRow(props) {
|
|
3459
3228
|
var showBubbleLabels = props.showBubbleLabels,
|
|
@@ -3567,13 +3336,13 @@ exports.default = (0, styled_components_1.withTheme)(PunchcardRow);
|
|
|
3567
3336
|
|
|
3568
3337
|
/***/ }),
|
|
3569
3338
|
|
|
3570
|
-
/***/
|
|
3339
|
+
/***/ 469:
|
|
3571
3340
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3572
3341
|
|
|
3573
3342
|
"use strict";
|
|
3574
3343
|
|
|
3575
3344
|
|
|
3576
|
-
var _taggedTemplateLiteral = __webpack_require__(
|
|
3345
|
+
var _taggedTemplateLiteral = __webpack_require__(79);
|
|
3577
3346
|
|
|
3578
3347
|
var _templateObject, _templateObject2;
|
|
3579
3348
|
|
|
@@ -3589,11 +3358,11 @@ var styled_components_1 = __webpack_require__(4);
|
|
|
3589
3358
|
|
|
3590
3359
|
var pick_1 = __webpack_require__(30);
|
|
3591
3360
|
|
|
3592
|
-
var variables_1 = __webpack_require__(
|
|
3361
|
+
var variables_1 = __webpack_require__(14);
|
|
3593
3362
|
|
|
3594
3363
|
var numberUtils_1 = __webpack_require__(11);
|
|
3595
3364
|
|
|
3596
|
-
var punchcardUtils_1 = __webpack_require__(
|
|
3365
|
+
var punchcardUtils_1 = __webpack_require__(120);
|
|
3597
3366
|
|
|
3598
3367
|
var BubbleCircle = styled_components_1.default.circle.withConfig({
|
|
3599
3368
|
displayName: "PunchcardBubble__BubbleCircle",
|
|
@@ -3748,7 +3517,19 @@ exports.default = PunchcardBubble;
|
|
|
3748
3517
|
|
|
3749
3518
|
/***/ }),
|
|
3750
3519
|
|
|
3751
|
-
/***/
|
|
3520
|
+
/***/ 47:
|
|
3521
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
3522
|
+
|
|
3523
|
+
"use strict";
|
|
3524
|
+
|
|
3525
|
+
|
|
3526
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3527
|
+
value: true
|
|
3528
|
+
});
|
|
3529
|
+
|
|
3530
|
+
/***/ }),
|
|
3531
|
+
|
|
3532
|
+
/***/ 470:
|
|
3752
3533
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3753
3534
|
|
|
3754
3535
|
"use strict";
|
|
@@ -3766,7 +3547,7 @@ var styled_components_1 = __webpack_require__(4);
|
|
|
3766
3547
|
|
|
3767
3548
|
var pick_1 = __webpack_require__(30);
|
|
3768
3549
|
|
|
3769
|
-
var variables_1 = __webpack_require__(
|
|
3550
|
+
var variables_1 = __webpack_require__(14);
|
|
3770
3551
|
|
|
3771
3552
|
var LEGEND_ITEM_VERTICAL_SPACER = 25;
|
|
3772
3553
|
var LEGEND_ITEM_HORIZONTAL_SPACER = 10;
|
|
@@ -3777,17 +3558,17 @@ var LEGEND_OFFSET_RIGHT = 16;
|
|
|
3777
3558
|
var LEGEND_OFFSET_BOTTOM = 16;
|
|
3778
3559
|
var LegendGroup = styled_components_1.default.g.withConfig({
|
|
3779
3560
|
displayName: "PunchcardLegend__LegendGroup",
|
|
3780
|
-
componentId: "c2f7we-0"
|
|
3561
|
+
componentId: "sc-c2f7we-0"
|
|
3781
3562
|
})(["cursor:pointer;opacity:", ";transition:opacity 0.15s;"], function (props) {
|
|
3782
3563
|
return props.muted ? 0.15 : 1;
|
|
3783
3564
|
});
|
|
3784
3565
|
var LegendIcon = styled_components_1.default.rect.withConfig({
|
|
3785
3566
|
displayName: "PunchcardLegend__LegendIcon",
|
|
3786
|
-
componentId: "c2f7we-1"
|
|
3567
|
+
componentId: "sc-c2f7we-1"
|
|
3787
3568
|
})(["width:", "px;height:", "px;rx:1px;ry:1px;"], LEGEND_RECT_WIDTH, LEGEND_RECT_HEIGHT);
|
|
3788
3569
|
var LegendText = styled_components_1.default.text.withConfig({
|
|
3789
3570
|
displayName: "PunchcardLegend__LegendText",
|
|
3790
|
-
componentId: "c2f7we-2"
|
|
3571
|
+
componentId: "sc-c2f7we-2"
|
|
3791
3572
|
})(["dominant-baseline:middle;fill:", ";font-size:12px;"], (0, pick_1.default)({
|
|
3792
3573
|
/* was previously named textColor in themeReg */
|
|
3793
3574
|
enterprise: variables_1.default.textColor,
|
|
@@ -3867,7 +3648,7 @@ exports.default = PunchcardLegend;
|
|
|
3867
3648
|
|
|
3868
3649
|
/***/ }),
|
|
3869
3650
|
|
|
3870
|
-
/***/
|
|
3651
|
+
/***/ 471:
|
|
3871
3652
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3872
3653
|
|
|
3873
3654
|
"use strict";
|
|
@@ -3887,7 +3668,7 @@ var lodash_1 = __webpack_require__(3);
|
|
|
3887
3668
|
|
|
3888
3669
|
var pick_1 = __webpack_require__(30);
|
|
3889
3670
|
|
|
3890
|
-
var variables_1 = __webpack_require__(
|
|
3671
|
+
var variables_1 = __webpack_require__(14); // was previously lineColor in themeRegistry
|
|
3891
3672
|
|
|
3892
3673
|
|
|
3893
3674
|
var GridLine = styled_components_1.default.line.withConfig({
|
|
@@ -3953,7 +3734,7 @@ exports.default = PunchcardGridLines;
|
|
|
3953
3734
|
|
|
3954
3735
|
/***/ }),
|
|
3955
3736
|
|
|
3956
|
-
/***/
|
|
3737
|
+
/***/ 472:
|
|
3957
3738
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3958
3739
|
|
|
3959
3740
|
"use strict";
|
|
@@ -3966,7 +3747,7 @@ exports.convertToPunchcardProperties = exports.mapToOldKey = exports.punchcardOp
|
|
|
3966
3747
|
|
|
3967
3748
|
var lodash_1 = __webpack_require__(3);
|
|
3968
3749
|
|
|
3969
|
-
var chartingUtils_1 = __webpack_require__(
|
|
3750
|
+
var chartingUtils_1 = __webpack_require__(78);
|
|
3970
3751
|
|
|
3971
3752
|
var punchcardOptionsMapping = {
|
|
3972
3753
|
legendDisplay: 'showLegend',
|
|
@@ -4113,19 +3894,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4113
3894
|
"use strict";
|
|
4114
3895
|
|
|
4115
3896
|
|
|
4116
|
-
|
|
4117
|
-
value: true
|
|
4118
|
-
});
|
|
4119
|
-
|
|
4120
|
-
/***/ }),
|
|
4121
|
-
|
|
4122
|
-
/***/ 56:
|
|
4123
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4124
|
-
|
|
4125
|
-
"use strict";
|
|
4126
|
-
|
|
4127
|
-
|
|
4128
|
-
var _slicedToArray = __webpack_require__(7);
|
|
3897
|
+
var _slicedToArray = __webpack_require__(6);
|
|
4129
3898
|
|
|
4130
3899
|
Object.defineProperty(exports, "__esModule", {
|
|
4131
3900
|
value: true
|
|
@@ -4135,15 +3904,15 @@ var React = __webpack_require__(0);
|
|
|
4135
3904
|
|
|
4136
3905
|
var lodash_1 = __webpack_require__(3);
|
|
4137
3906
|
|
|
4138
|
-
var getSettingsFromThemedProps_1 = __webpack_require__(
|
|
3907
|
+
var getSettingsFromThemedProps_1 = __webpack_require__(56);
|
|
4139
3908
|
|
|
4140
|
-
var Options_1 = __webpack_require__(
|
|
3909
|
+
var Options_1 = __webpack_require__(17);
|
|
4141
3910
|
|
|
4142
|
-
var SanitizeProps_1 = __webpack_require__(
|
|
3911
|
+
var SanitizeProps_1 = __webpack_require__(57);
|
|
4143
3912
|
|
|
4144
3913
|
var TimezoneContext_1 = __webpack_require__(32);
|
|
4145
3914
|
|
|
4146
|
-
var moment_1 = __webpack_require__(
|
|
3915
|
+
var moment_1 = __webpack_require__(58);
|
|
4147
3916
|
|
|
4148
3917
|
var FeatureFlagContext_1 = __webpack_require__(28);
|
|
4149
3918
|
|
|
@@ -4153,31 +3922,31 @@ var hocUtils_1 = __webpack_require__(34);
|
|
|
4153
3922
|
|
|
4154
3923
|
var JSONSchemaUtils_1 = __webpack_require__(35);
|
|
4155
3924
|
|
|
4156
|
-
var async_dynamic_options_evaluator_1 = __webpack_require__(
|
|
3925
|
+
var async_dynamic_options_evaluator_1 = __webpack_require__(59);
|
|
4157
3926
|
|
|
4158
3927
|
var id_1 = __webpack_require__(31);
|
|
4159
3928
|
|
|
4160
|
-
var SplunkVisualization_1 = __webpack_require__(
|
|
3929
|
+
var SplunkVisualization_1 = __webpack_require__(60);
|
|
4161
3930
|
|
|
4162
|
-
var VizBehavior_1 = __webpack_require__(
|
|
3931
|
+
var VizBehavior_1 = __webpack_require__(8);
|
|
4163
3932
|
|
|
4164
3933
|
var getSorting_1 = __webpack_require__(38);
|
|
4165
3934
|
|
|
4166
3935
|
var getPagination_1 = __webpack_require__(39);
|
|
4167
3936
|
|
|
4168
|
-
var useDeepMemo_1 = __webpack_require__(
|
|
3937
|
+
var useDeepMemo_1 = __webpack_require__(61);
|
|
4169
3938
|
|
|
4170
|
-
var MissingPropsMessage_1 = __webpack_require__(
|
|
3939
|
+
var MissingPropsMessage_1 = __webpack_require__(62);
|
|
4171
3940
|
|
|
4172
|
-
var withEditModeCover_1 = __webpack_require__(
|
|
3941
|
+
var withEditModeCover_1 = __webpack_require__(63);
|
|
4173
3942
|
|
|
4174
|
-
var withPlaceholder_1 = __webpack_require__(
|
|
3943
|
+
var withPlaceholder_1 = __webpack_require__(64);
|
|
4175
3944
|
|
|
4176
|
-
var useDownsampleDataSources_1 = __webpack_require__(
|
|
3945
|
+
var useDownsampleDataSources_1 = __webpack_require__(65);
|
|
4177
3946
|
|
|
4178
|
-
var dataUtils_1 = __webpack_require__(
|
|
3947
|
+
var dataUtils_1 = __webpack_require__(15);
|
|
4179
3948
|
|
|
4180
|
-
var featureFlagUtils_1 = __webpack_require__(
|
|
3949
|
+
var featureFlagUtils_1 = __webpack_require__(67);
|
|
4181
3950
|
/**
|
|
4182
3951
|
* hoc that wraps a pure react visualization in a Dashboard visualization
|
|
4183
3952
|
* @param {DashboardVizOpts} opts
|
|
@@ -4510,81 +4279,48 @@ exports.default = withDashboardViz;
|
|
|
4510
4279
|
|
|
4511
4280
|
/***/ }),
|
|
4512
4281
|
|
|
4513
|
-
/***/
|
|
4282
|
+
/***/ 56:
|
|
4514
4283
|
/***/ (function(module, exports) {
|
|
4515
4284
|
|
|
4516
4285
|
module.exports = require("@splunk/themes/getSettingsFromThemedProps");
|
|
4517
4286
|
|
|
4518
4287
|
/***/ }),
|
|
4519
4288
|
|
|
4520
|
-
/***/
|
|
4289
|
+
/***/ 57:
|
|
4521
4290
|
/***/ (function(module, exports) {
|
|
4522
4291
|
|
|
4523
4292
|
module.exports = require("@splunk/visualizations-shared/SanitizeProps");
|
|
4524
4293
|
|
|
4525
4294
|
/***/ }),
|
|
4526
4295
|
|
|
4527
|
-
/***/
|
|
4296
|
+
/***/ 58:
|
|
4528
4297
|
/***/ (function(module, exports) {
|
|
4529
4298
|
|
|
4530
4299
|
module.exports = require("@splunk/moment");
|
|
4531
4300
|
|
|
4532
4301
|
/***/ }),
|
|
4533
4302
|
|
|
4534
|
-
/***/
|
|
4535
|
-
/***/ (function(module, exports
|
|
4536
|
-
|
|
4537
|
-
"use strict";
|
|
4538
|
-
|
|
4539
|
-
|
|
4540
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4541
|
-
value: true
|
|
4542
|
-
});
|
|
4543
|
-
exports.VizBehavior = void 0;
|
|
4544
|
-
var VizBehavior;
|
|
4545
|
-
|
|
4546
|
-
(function (VizBehavior) {
|
|
4547
|
-
/**
|
|
4548
|
-
* Dynamic Options Behavior.
|
|
4549
|
-
* This allows visualization options to be powered by data
|
|
4550
|
-
*
|
|
4551
|
-
* **Example**
|
|
4552
|
-
*
|
|
4553
|
-
* sparklineValues: ">primary|seriesByIndex(0)"
|
|
4554
|
-
* would configure sparklineValues with an array of data points
|
|
4555
|
-
* coming from the first series in the primary datasource
|
|
4556
|
-
*
|
|
4557
|
-
*/
|
|
4558
|
-
VizBehavior["DYNAMIC_OPTIONS"] = "dynamic-options";
|
|
4559
|
-
VizBehavior["EVENTS"] = "events";
|
|
4560
|
-
VizBehavior["DOWNSAMPLING"] = "downsampling";
|
|
4561
|
-
/**
|
|
4562
|
-
* Placeholder behavior: visualization will display a placeholder rather than fail if any of the `requiredProps` is
|
|
4563
|
-
* missing.
|
|
4564
|
-
* @type {string}
|
|
4565
|
-
*/
|
|
4303
|
+
/***/ 59:
|
|
4304
|
+
/***/ (function(module, exports) {
|
|
4566
4305
|
|
|
4567
|
-
|
|
4568
|
-
VizBehavior["PAGE_AND_SORT"] = "page-and-sort";
|
|
4569
|
-
VizBehavior["TRELLIS"] = "trellis";
|
|
4570
|
-
})(VizBehavior = exports.VizBehavior || (exports.VizBehavior = {}));
|
|
4306
|
+
module.exports = require("@splunk/async-dynamic-options-evaluator");
|
|
4571
4307
|
|
|
4572
4308
|
/***/ }),
|
|
4573
4309
|
|
|
4574
|
-
/***/
|
|
4310
|
+
/***/ 6:
|
|
4575
4311
|
/***/ (function(module, exports) {
|
|
4576
4312
|
|
|
4577
|
-
module.exports = require("@
|
|
4313
|
+
module.exports = require("@babel/runtime/helpers/slicedToArray");
|
|
4578
4314
|
|
|
4579
4315
|
/***/ }),
|
|
4580
4316
|
|
|
4581
|
-
/***/
|
|
4317
|
+
/***/ 60:
|
|
4582
4318
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4583
4319
|
|
|
4584
4320
|
"use strict";
|
|
4585
4321
|
|
|
4586
4322
|
|
|
4587
|
-
var _classCallCheck = __webpack_require__(
|
|
4323
|
+
var _classCallCheck = __webpack_require__(9);
|
|
4588
4324
|
|
|
4589
4325
|
Object.defineProperty(exports, "__esModule", {
|
|
4590
4326
|
value: true
|
|
@@ -4596,7 +4332,7 @@ var T = __webpack_require__(1);
|
|
|
4596
4332
|
|
|
4597
4333
|
var lodash_1 = __webpack_require__(3);
|
|
4598
4334
|
|
|
4599
|
-
var VizActionHandler_1 = __webpack_require__(
|
|
4335
|
+
var VizActionHandler_1 = __webpack_require__(22); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
|
|
4600
4336
|
|
|
4601
4337
|
|
|
4602
4338
|
exports.INITIAL_WIDTH = 250;
|
|
@@ -4730,7 +4466,7 @@ exports.default = SplunkVisualization;
|
|
|
4730
4466
|
|
|
4731
4467
|
/***/ }),
|
|
4732
4468
|
|
|
4733
|
-
/***/
|
|
4469
|
+
/***/ 61:
|
|
4734
4470
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4735
4471
|
|
|
4736
4472
|
"use strict";
|
|
@@ -4776,7 +4512,7 @@ exports.useDeepMemo = useDeepMemo;
|
|
|
4776
4512
|
|
|
4777
4513
|
/***/ }),
|
|
4778
4514
|
|
|
4779
|
-
/***/
|
|
4515
|
+
/***/ 62:
|
|
4780
4516
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4781
4517
|
|
|
4782
4518
|
"use strict";
|
|
@@ -4795,7 +4531,7 @@ var i18n_1 = __webpack_require__(2);
|
|
|
4795
4531
|
|
|
4796
4532
|
var Message_1 = __webpack_require__(12);
|
|
4797
4533
|
|
|
4798
|
-
var FixedSizeContainer_1 = __webpack_require__(
|
|
4534
|
+
var FixedSizeContainer_1 = __webpack_require__(18);
|
|
4799
4535
|
/**
|
|
4800
4536
|
* @method isMissing
|
|
4801
4537
|
* @param {any} v
|
|
@@ -4857,7 +4593,7 @@ exports.default = (0, FixedSizeContainer_1.default)(exports.MissingPropsMessage)
|
|
|
4857
4593
|
|
|
4858
4594
|
/***/ }),
|
|
4859
4595
|
|
|
4860
|
-
/***/
|
|
4596
|
+
/***/ 63:
|
|
4861
4597
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4862
4598
|
|
|
4863
4599
|
"use strict";
|
|
@@ -4871,14 +4607,14 @@ var React = __webpack_require__(0);
|
|
|
4871
4607
|
|
|
4872
4608
|
var styled_components_1 = __webpack_require__(4);
|
|
4873
4609
|
|
|
4874
|
-
var hocUtils_1 = __webpack_require__(
|
|
4610
|
+
var hocUtils_1 = __webpack_require__(24);
|
|
4875
4611
|
|
|
4876
4612
|
var Cover = styled_components_1.default.div.withConfig({
|
|
4877
4613
|
displayName: "withEditModeCover__Cover",
|
|
4878
4614
|
componentId: "sc-1gsbnxb-0"
|
|
4879
4615
|
})(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
|
|
4880
4616
|
var Blocker = styled_components_1.default.div.attrs({
|
|
4881
|
-
'data-splunk-visualization-version': "26.
|
|
4617
|
+
'data-splunk-visualization-version': "26.3.0 - a1ef240a6"
|
|
4882
4618
|
}).withConfig({
|
|
4883
4619
|
displayName: "withEditModeCover__Blocker",
|
|
4884
4620
|
componentId: "sc-1gsbnxb-1"
|
|
@@ -4910,7 +4646,7 @@ exports.default = withEditModeCover;
|
|
|
4910
4646
|
|
|
4911
4647
|
/***/ }),
|
|
4912
4648
|
|
|
4913
|
-
/***/
|
|
4649
|
+
/***/ 64:
|
|
4914
4650
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4915
4651
|
|
|
4916
4652
|
"use strict";
|
|
@@ -4922,15 +4658,15 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4922
4658
|
|
|
4923
4659
|
var React = __webpack_require__(0);
|
|
4924
4660
|
|
|
4925
|
-
var colorUtils_1 = __webpack_require__(
|
|
4661
|
+
var colorUtils_1 = __webpack_require__(16);
|
|
4926
4662
|
|
|
4927
|
-
var variables_1 = __webpack_require__(
|
|
4663
|
+
var variables_1 = __webpack_require__(14);
|
|
4928
4664
|
|
|
4929
4665
|
var IconPlaceholder_1 = __webpack_require__(37);
|
|
4930
4666
|
|
|
4931
|
-
var VizBehavior_1 = __webpack_require__(
|
|
4667
|
+
var VizBehavior_1 = __webpack_require__(8);
|
|
4932
4668
|
|
|
4933
|
-
var hocUtils_1 = __webpack_require__(
|
|
4669
|
+
var hocUtils_1 = __webpack_require__(24);
|
|
4934
4670
|
|
|
4935
4671
|
var withPlaceholder = function withPlaceholder(Visualization) {
|
|
4936
4672
|
var useIconPlaceholder = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : IconPlaceholder_1.shouldShowIconPlaceholder;
|
|
@@ -4975,13 +4711,13 @@ exports.default = withPlaceholder;
|
|
|
4975
4711
|
|
|
4976
4712
|
/***/ }),
|
|
4977
4713
|
|
|
4978
|
-
/***/
|
|
4714
|
+
/***/ 65:
|
|
4979
4715
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4980
4716
|
|
|
4981
4717
|
"use strict";
|
|
4982
4718
|
|
|
4983
4719
|
|
|
4984
|
-
var _slicedToArray = __webpack_require__(
|
|
4720
|
+
var _slicedToArray = __webpack_require__(6);
|
|
4985
4721
|
|
|
4986
4722
|
Object.defineProperty(exports, "__esModule", {
|
|
4987
4723
|
value: true
|
|
@@ -4991,11 +4727,11 @@ var react_1 = __webpack_require__(0);
|
|
|
4991
4727
|
|
|
4992
4728
|
var lodash_1 = __webpack_require__(3);
|
|
4993
4729
|
|
|
4994
|
-
var dataUtils_1 = __webpack_require__(
|
|
4730
|
+
var dataUtils_1 = __webpack_require__(15);
|
|
4995
4731
|
|
|
4996
4732
|
var usePrevious_1 = __webpack_require__(33);
|
|
4997
4733
|
|
|
4998
|
-
var useGetXAndYFields_1 = __webpack_require__(
|
|
4734
|
+
var useGetXAndYFields_1 = __webpack_require__(66);
|
|
4999
4735
|
|
|
5000
4736
|
var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
|
|
5001
4737
|
var dataSources = _ref.dataSources,
|
|
@@ -5065,13 +4801,13 @@ exports.default = useDownsampleDataSources;
|
|
|
5065
4801
|
|
|
5066
4802
|
/***/ }),
|
|
5067
4803
|
|
|
5068
|
-
/***/
|
|
4804
|
+
/***/ 66:
|
|
5069
4805
|
/***/ (function(module, exports, __webpack_require__) {
|
|
5070
4806
|
|
|
5071
4807
|
"use strict";
|
|
5072
4808
|
|
|
5073
4809
|
|
|
5074
|
-
var _toConsumableArray = __webpack_require__(
|
|
4810
|
+
var _toConsumableArray = __webpack_require__(7);
|
|
5075
4811
|
|
|
5076
4812
|
Object.defineProperty(exports, "__esModule", {
|
|
5077
4813
|
value: true
|
|
@@ -5079,7 +4815,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5079
4815
|
|
|
5080
4816
|
var react_1 = __webpack_require__(0);
|
|
5081
4817
|
|
|
5082
|
-
var Options_1 = __webpack_require__(
|
|
4818
|
+
var Options_1 = __webpack_require__(17);
|
|
5083
4819
|
/**
|
|
5084
4820
|
* Hook that evaluates the DSL for subset of a viz's options needed to determine
|
|
5085
4821
|
* its x and y fields as well as the types of all its fields.
|
|
@@ -5180,7 +4916,7 @@ exports.default = useGetXAndYFields;
|
|
|
5180
4916
|
|
|
5181
4917
|
/***/ }),
|
|
5182
4918
|
|
|
5183
|
-
/***/
|
|
4919
|
+
/***/ 67:
|
|
5184
4920
|
/***/ (function(module, exports, __webpack_require__) {
|
|
5185
4921
|
|
|
5186
4922
|
"use strict";
|
|
@@ -5191,7 +4927,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5191
4927
|
});
|
|
5192
4928
|
exports.getFeatureFlag = void 0;
|
|
5193
4929
|
|
|
5194
|
-
var FeatureFlags_1 = __webpack_require__(
|
|
4930
|
+
var FeatureFlags_1 = __webpack_require__(68);
|
|
5195
4931
|
|
|
5196
4932
|
var getFeatureFlag = function getFeatureFlag(context, flagName) {
|
|
5197
4933
|
// look for feature flag in context first
|
|
@@ -5216,7 +4952,7 @@ exports.getFeatureFlag = getFeatureFlag;
|
|
|
5216
4952
|
|
|
5217
4953
|
/***/ }),
|
|
5218
4954
|
|
|
5219
|
-
/***/
|
|
4955
|
+
/***/ 68:
|
|
5220
4956
|
/***/ (function(module, exports) {
|
|
5221
4957
|
|
|
5222
4958
|
module.exports = require("@splunk/visualization-context/FeatureFlags");
|
|
@@ -5226,32 +4962,25 @@ module.exports = require("@splunk/visualization-context/FeatureFlags");
|
|
|
5226
4962
|
/***/ 7:
|
|
5227
4963
|
/***/ (function(module, exports) {
|
|
5228
4964
|
|
|
5229
|
-
module.exports = require("@babel/runtime/helpers/
|
|
4965
|
+
module.exports = require("@babel/runtime/helpers/toConsumableArray");
|
|
5230
4966
|
|
|
5231
4967
|
/***/ }),
|
|
5232
4968
|
|
|
5233
|
-
/***/
|
|
4969
|
+
/***/ 71:
|
|
5234
4970
|
/***/ (function(module, exports) {
|
|
5235
4971
|
|
|
5236
4972
|
module.exports = require("@splunk/visualization-icons/placeholders");
|
|
5237
4973
|
|
|
5238
4974
|
/***/ }),
|
|
5239
4975
|
|
|
5240
|
-
/***/
|
|
5241
|
-
/***/ (function(module, exports) {
|
|
5242
|
-
|
|
5243
|
-
module.exports = require("@splunk/visualization-color-palettes");
|
|
5244
|
-
|
|
5245
|
-
/***/ }),
|
|
5246
|
-
|
|
5247
|
-
/***/ 74:
|
|
4976
|
+
/***/ 72:
|
|
5248
4977
|
/***/ (function(module, exports) {
|
|
5249
4978
|
|
|
5250
4979
|
module.exports = require("@splunk/visualization-icons");
|
|
5251
4980
|
|
|
5252
4981
|
/***/ }),
|
|
5253
4982
|
|
|
5254
|
-
/***/
|
|
4983
|
+
/***/ 73:
|
|
5255
4984
|
/***/ (function(module, exports, __webpack_require__) {
|
|
5256
4985
|
|
|
5257
4986
|
"use strict";
|
|
@@ -5282,13 +5011,20 @@ exports.default = background;
|
|
|
5282
5011
|
|
|
5283
5012
|
/***/ }),
|
|
5284
5013
|
|
|
5285
|
-
/***/
|
|
5014
|
+
/***/ 75:
|
|
5015
|
+
/***/ (function(module, exports) {
|
|
5016
|
+
|
|
5017
|
+
module.exports = require("@splunk/visualization-color-palettes");
|
|
5018
|
+
|
|
5019
|
+
/***/ }),
|
|
5020
|
+
|
|
5021
|
+
/***/ 78:
|
|
5286
5022
|
/***/ (function(module, exports, __webpack_require__) {
|
|
5287
5023
|
|
|
5288
5024
|
"use strict";
|
|
5289
5025
|
|
|
5290
5026
|
|
|
5291
|
-
var _toConsumableArray = __webpack_require__(
|
|
5027
|
+
var _toConsumableArray = __webpack_require__(7);
|
|
5292
5028
|
|
|
5293
5029
|
var __rest = this && this.__rest || function (s, e) {
|
|
5294
5030
|
var t = {};
|
|
@@ -5520,24 +5256,57 @@ exports.shouldEnableSearchZoom = shouldEnableSearchZoom;
|
|
|
5520
5256
|
|
|
5521
5257
|
/***/ }),
|
|
5522
5258
|
|
|
5523
|
-
/***/
|
|
5259
|
+
/***/ 79:
|
|
5524
5260
|
/***/ (function(module, exports) {
|
|
5525
5261
|
|
|
5526
|
-
module.exports = require("@babel/runtime/helpers/
|
|
5262
|
+
module.exports = require("@babel/runtime/helpers/taggedTemplateLiteral");
|
|
5527
5263
|
|
|
5528
5264
|
/***/ }),
|
|
5529
5265
|
|
|
5530
|
-
/***/
|
|
5531
|
-
/***/ (function(module, exports) {
|
|
5266
|
+
/***/ 8:
|
|
5267
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
5532
5268
|
|
|
5533
|
-
|
|
5269
|
+
"use strict";
|
|
5270
|
+
|
|
5271
|
+
|
|
5272
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5273
|
+
value: true
|
|
5274
|
+
});
|
|
5275
|
+
exports.VizBehavior = void 0;
|
|
5276
|
+
var VizBehavior;
|
|
5277
|
+
|
|
5278
|
+
(function (VizBehavior) {
|
|
5279
|
+
/**
|
|
5280
|
+
* Dynamic Options Behavior.
|
|
5281
|
+
* This allows visualization options to be powered by data
|
|
5282
|
+
*
|
|
5283
|
+
* **Example**
|
|
5284
|
+
*
|
|
5285
|
+
* sparklineValues: ">primary|seriesByIndex(0)"
|
|
5286
|
+
* would configure sparklineValues with an array of data points
|
|
5287
|
+
* coming from the first series in the primary datasource
|
|
5288
|
+
*
|
|
5289
|
+
*/
|
|
5290
|
+
VizBehavior["DYNAMIC_OPTIONS"] = "dynamic-options";
|
|
5291
|
+
VizBehavior["EVENTS"] = "events";
|
|
5292
|
+
VizBehavior["DOWNSAMPLING"] = "downsampling";
|
|
5293
|
+
/**
|
|
5294
|
+
* Placeholder behavior: visualization will display a placeholder rather than fail if any of the `requiredProps` is
|
|
5295
|
+
* missing.
|
|
5296
|
+
* @type {string}
|
|
5297
|
+
*/
|
|
5298
|
+
|
|
5299
|
+
VizBehavior["PLACEHOLDER"] = "placeholder";
|
|
5300
|
+
VizBehavior["PAGE_AND_SORT"] = "page-and-sort";
|
|
5301
|
+
VizBehavior["TRELLIS"] = "trellis";
|
|
5302
|
+
})(VizBehavior = exports.VizBehavior || (exports.VizBehavior = {}));
|
|
5534
5303
|
|
|
5535
5304
|
/***/ }),
|
|
5536
5305
|
|
|
5537
5306
|
/***/ 9:
|
|
5538
5307
|
/***/ (function(module, exports) {
|
|
5539
5308
|
|
|
5540
|
-
module.exports = require("@babel/runtime/helpers/
|
|
5309
|
+
module.exports = require("@babel/runtime/helpers/classCallCheck");
|
|
5541
5310
|
|
|
5542
5311
|
/***/ })
|
|
5543
5312
|
|