@splunk/visualizations 24.1.0 → 24.2.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.js +137 -117
- package/Area.js.map +1 -1
- package/Bar.js +130 -110
- package/Bar.js.map +1 -1
- package/Bubble.js +123 -103
- package/Bubble.js.map +1 -1
- package/ChoroplethSvg.js +121 -101
- package/ChoroplethSvg.js.map +1 -1
- package/Column.js +130 -110
- package/Column.js.map +1 -1
- package/Ellipse.js +95 -75
- package/Ellipse.js.map +1 -1
- package/FillerGauge.js +114 -94
- package/FillerGauge.js.map +1 -1
- package/Image.js +85 -64
- package/Image.js.map +1 -1
- package/Line.js +130 -110
- package/Line.js.map +1 -1
- package/LinkGraph.js +137 -117
- package/LinkGraph.js.map +1 -1
- package/Markdown.js +86 -65
- package/Markdown.js.map +1 -1
- package/MarkerGauge.js +111 -91
- package/MarkerGauge.js.map +1 -1
- package/ParallelCoordinates.js +119 -99
- package/ParallelCoordinates.js.map +1 -1
- package/Pie.js +117 -97
- package/Pie.js.map +1 -1
- package/Punchcard.js +147 -127
- package/Punchcard.js.map +1 -1
- package/Rectangle.js +103 -82
- package/Rectangle.js.map +1 -1
- package/Sankey.js +138 -118
- package/Sankey.js.map +1 -1
- package/Scatter.js +218 -197
- package/Scatter.js.map +1 -1
- package/SingleValue.js +313 -292
- package/SingleValue.js.map +1 -1
- package/SingleValueBasic.js +20 -20
- package/SingleValueBasic.js.map +1 -1
- package/SingleValueIcon.js +144 -124
- package/SingleValueIcon.js.map +1 -1
- package/SingleValueRadial.js +278 -257
- package/SingleValueRadial.js.map +1 -1
- package/Table.config.js +9 -1
- package/Table.config.js.map +1 -1
- package/Table.js +291 -262
- package/Table.js.map +1 -1
- package/common/Charting.js +22 -21
- package/common/Charting.js.map +1 -1
- package/common/ChartingApi.js +2 -2
- package/common/ChartingApi.js.map +1 -1
- package/common/EventsDoc.js +15 -14
- package/common/EventsDoc.js.map +1 -1
- package/common/GaugeMajorTicks.js +2 -2
- package/common/GaugeMajorTicks.js.map +1 -1
- package/common/GaugeValueMarker.js +2 -2
- package/common/GaugeValueMarker.js.map +1 -1
- package/common/OptionsDoc.js +7 -6
- package/common/OptionsDoc.js.map +1 -1
- package/common/OverviewDoc.js +22 -22
- package/common/OverviewDoc.js.map +1 -1
- package/common/SplunkVisualization.js +4 -4
- package/common/SplunkVisualization.js.map +1 -1
- package/common/SplunkVisualizationApi.js +2 -2
- package/common/SplunkVisualizationApi.js.map +1 -1
- package/common/ThemesDoc.js +16 -16
- package/common/ThemesDoc.js.map +1 -1
- package/common/chartingUtils.js +4 -4
- package/common/chartingUtils.js.map +1 -1
- package/common/docUtils.js +4 -4
- package/common/docUtils.js.map +1 -1
- package/common/gaugeUtils.js +13 -13
- package/common/gaugeUtils.js.map +1 -1
- package/common/shapeUtils.js +8 -8
- package/common/shapeUtils.js.map +1 -1
- package/common/version.js +110 -0
- package/common/version.js.map +1 -0
- package/common/withDashboardViz.js +67 -47
- package/common/withDashboardViz.js.map +1 -1
- package/package.json +14 -13
- package/scripts/generateVersion.js +13 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_Trend_Indicator_Position_pushed_below_value_does_not_fit_inside_of_radial.png +0 -0
package/Sankey.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 = 222);
|
|
91
91
|
/******/ })
|
|
92
92
|
/************************************************************************/
|
|
93
93
|
/******/ ([
|
|
@@ -186,7 +186,7 @@ exports.generatePrecisionValues = exports.getInitialPreset = exports.isDynamicOp
|
|
|
186
186
|
|
|
187
187
|
var lodash_1 = __webpack_require__(2);
|
|
188
188
|
|
|
189
|
-
var schemaUtils_1 = __webpack_require__(
|
|
189
|
+
var schemaUtils_1 = __webpack_require__(15);
|
|
190
190
|
|
|
191
191
|
var VizBehavior_1 = __webpack_require__(5);
|
|
192
192
|
|
|
@@ -361,7 +361,7 @@ module.exports = require("@babel/runtime/helpers/defineProperty");
|
|
|
361
361
|
"use strict";
|
|
362
362
|
|
|
363
363
|
|
|
364
|
-
var _typeof = __webpack_require__(
|
|
364
|
+
var _typeof = __webpack_require__(23);
|
|
365
365
|
|
|
366
366
|
Object.defineProperty(exports, "__esModule", {
|
|
367
367
|
value: true
|
|
@@ -459,12 +459,14 @@ var React = __webpack_require__(1);
|
|
|
459
459
|
|
|
460
460
|
var styled_components_1 = __webpack_require__(4);
|
|
461
461
|
|
|
462
|
-
var SizeAwareWrapper_1 = __webpack_require__(
|
|
462
|
+
var SizeAwareWrapper_1 = __webpack_require__(18);
|
|
463
463
|
|
|
464
|
-
var style_1 = __webpack_require__(
|
|
464
|
+
var style_1 = __webpack_require__(14);
|
|
465
465
|
|
|
466
466
|
var colorUtils_1 = __webpack_require__(11);
|
|
467
467
|
|
|
468
|
+
var version_1 = __webpack_require__(13);
|
|
469
|
+
|
|
468
470
|
var Item = styled_components_1.default.div.attrs(function (_ref) {
|
|
469
471
|
var width = _ref.width;
|
|
470
472
|
return {
|
|
@@ -520,6 +522,7 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
|
|
|
520
522
|
|
|
521
523
|
return React.createElement(FixSizeItem, {
|
|
522
524
|
"data-test": "fix-size-item",
|
|
525
|
+
"data-splunk-visualization-version": version_1.version,
|
|
523
526
|
width: width,
|
|
524
527
|
height: height,
|
|
525
528
|
backgroundColor: backgroundColor
|
|
@@ -541,46 +544,59 @@ exports.default = withFixedSizeContainer;
|
|
|
541
544
|
|
|
542
545
|
/***/ }),
|
|
543
546
|
/* 13 */
|
|
547
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
548
|
+
|
|
549
|
+
"use strict";
|
|
550
|
+
|
|
551
|
+
|
|
552
|
+
Object.defineProperty(exports, "__esModule", {
|
|
553
|
+
value: true
|
|
554
|
+
});
|
|
555
|
+
exports.version = void 0;
|
|
556
|
+
exports.version = '24.2.0';
|
|
557
|
+
|
|
558
|
+
/***/ }),
|
|
559
|
+
/* 14 */
|
|
544
560
|
/***/ (function(module, exports) {
|
|
545
561
|
|
|
546
562
|
module.exports = require("@splunk/visualizations-shared/style");
|
|
547
563
|
|
|
548
564
|
/***/ }),
|
|
549
|
-
/*
|
|
565
|
+
/* 15 */
|
|
550
566
|
/***/ (function(module, exports) {
|
|
551
567
|
|
|
552
568
|
module.exports = require("@splunk/visualizations-shared/schemaUtils");
|
|
553
569
|
|
|
554
570
|
/***/ }),
|
|
555
|
-
/*
|
|
556
|
-
/*
|
|
571
|
+
/* 16 */,
|
|
572
|
+
/* 17 */
|
|
557
573
|
/***/ (function(module, exports) {
|
|
558
574
|
|
|
559
575
|
module.exports = require("@babel/runtime/helpers/createClass");
|
|
560
576
|
|
|
561
577
|
/***/ }),
|
|
562
|
-
/*
|
|
578
|
+
/* 18 */
|
|
563
579
|
/***/ (function(module, exports) {
|
|
564
580
|
|
|
565
581
|
module.exports = require("@splunk/visualizations-shared/SizeAwareWrapper");
|
|
566
582
|
|
|
567
583
|
/***/ }),
|
|
568
|
-
/* 18 */,
|
|
569
584
|
/* 19 */,
|
|
570
585
|
/* 20 */,
|
|
571
|
-
/* 21
|
|
586
|
+
/* 21 */,
|
|
587
|
+
/* 22 */
|
|
572
588
|
/***/ (function(module, exports) {
|
|
573
589
|
|
|
574
590
|
module.exports = require("@splunk/visualizations-shared/numberUtils");
|
|
575
591
|
|
|
576
592
|
/***/ }),
|
|
577
|
-
/*
|
|
593
|
+
/* 23 */
|
|
578
594
|
/***/ (function(module, exports) {
|
|
579
595
|
|
|
580
596
|
module.exports = require("@babel/runtime/helpers/typeof");
|
|
581
597
|
|
|
582
598
|
/***/ }),
|
|
583
|
-
/*
|
|
599
|
+
/* 24 */
|
|
584
600
|
/***/ (function(module, exports, __webpack_require__) {
|
|
585
601
|
|
|
586
602
|
"use strict";
|
|
@@ -597,7 +613,7 @@ var T = __webpack_require__(0);
|
|
|
597
613
|
|
|
598
614
|
var lodash_1 = __webpack_require__(2);
|
|
599
615
|
|
|
600
|
-
var DataSource_1 = __webpack_require__(
|
|
616
|
+
var DataSource_1 = __webpack_require__(34);
|
|
601
617
|
|
|
602
618
|
exports.SortParamsPropTypes = T.shape({
|
|
603
619
|
currentSortKey: T.string,
|
|
@@ -650,7 +666,7 @@ var getSortingParams = function getSortingParams(_ref) {
|
|
|
650
666
|
exports.getSortingParams = getSortingParams;
|
|
651
667
|
|
|
652
668
|
/***/ }),
|
|
653
|
-
/*
|
|
669
|
+
/* 25 */
|
|
654
670
|
/***/ (function(module, exports, __webpack_require__) {
|
|
655
671
|
|
|
656
672
|
"use strict";
|
|
@@ -714,7 +730,7 @@ var getPaginationParams = function getPaginationParams(_ref) {
|
|
|
714
730
|
exports.getPaginationParams = getPaginationParams;
|
|
715
731
|
|
|
716
732
|
/***/ }),
|
|
717
|
-
/*
|
|
733
|
+
/* 26 */
|
|
718
734
|
/***/ (function(module, exports, __webpack_require__) {
|
|
719
735
|
|
|
720
736
|
"use strict";
|
|
@@ -802,7 +818,7 @@ IconPlaceholder.defaultProps = {
|
|
|
802
818
|
exports.default = FixedSizeContainer_1.default(IconPlaceholder);
|
|
803
819
|
|
|
804
820
|
/***/ }),
|
|
805
|
-
/*
|
|
821
|
+
/* 27 */
|
|
806
822
|
/***/ (function(module, exports, __webpack_require__) {
|
|
807
823
|
|
|
808
824
|
"use strict";
|
|
@@ -830,7 +846,7 @@ var VizCategory;
|
|
|
830
846
|
})(VizCategory = exports.VizCategory || (exports.VizCategory = {}));
|
|
831
847
|
|
|
832
848
|
/***/ }),
|
|
833
|
-
/*
|
|
849
|
+
/* 28 */
|
|
834
850
|
/***/ (function(module, exports, __webpack_require__) {
|
|
835
851
|
|
|
836
852
|
"use strict";
|
|
@@ -844,31 +860,31 @@ var React = __webpack_require__(1);
|
|
|
844
860
|
|
|
845
861
|
var lodash_1 = __webpack_require__(2);
|
|
846
862
|
|
|
847
|
-
var getSettingsFromThemedProps_1 = __webpack_require__(
|
|
863
|
+
var getSettingsFromThemedProps_1 = __webpack_require__(29);
|
|
848
864
|
|
|
849
|
-
var Options_1 = __webpack_require__(
|
|
865
|
+
var Options_1 = __webpack_require__(30);
|
|
850
866
|
|
|
851
|
-
var SanitizeProps_1 = __webpack_require__(
|
|
867
|
+
var SanitizeProps_1 = __webpack_require__(31);
|
|
852
868
|
|
|
853
869
|
var styled_components_1 = __webpack_require__(4);
|
|
854
870
|
|
|
855
|
-
var SplunkVisualization_1 = __webpack_require__(
|
|
871
|
+
var SplunkVisualization_1 = __webpack_require__(32);
|
|
856
872
|
|
|
857
873
|
var VizBehavior_1 = __webpack_require__(5);
|
|
858
874
|
|
|
859
|
-
var getSorting_1 = __webpack_require__(
|
|
875
|
+
var getSorting_1 = __webpack_require__(24);
|
|
860
876
|
|
|
861
|
-
var getPagination_1 = __webpack_require__(
|
|
877
|
+
var getPagination_1 = __webpack_require__(25);
|
|
862
878
|
|
|
863
|
-
var useDeepMemo_1 = __webpack_require__(
|
|
879
|
+
var useDeepMemo_1 = __webpack_require__(35);
|
|
864
880
|
|
|
865
|
-
var JSONSchemaUtils_1 = __webpack_require__(
|
|
881
|
+
var JSONSchemaUtils_1 = __webpack_require__(36);
|
|
866
882
|
|
|
867
|
-
var MissingPropsMessage_1 = __webpack_require__(
|
|
883
|
+
var MissingPropsMessage_1 = __webpack_require__(37);
|
|
868
884
|
|
|
869
|
-
var withEditModeCover_1 = __webpack_require__(
|
|
885
|
+
var withEditModeCover_1 = __webpack_require__(38);
|
|
870
886
|
|
|
871
|
-
var withPlaceholder_1 = __webpack_require__(
|
|
887
|
+
var withPlaceholder_1 = __webpack_require__(39);
|
|
872
888
|
|
|
873
889
|
var hocUtils_1 = __webpack_require__(8);
|
|
874
890
|
/**
|
|
@@ -1053,25 +1069,25 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
1053
1069
|
exports.default = withDashboardViz;
|
|
1054
1070
|
|
|
1055
1071
|
/***/ }),
|
|
1056
|
-
/*
|
|
1072
|
+
/* 29 */
|
|
1057
1073
|
/***/ (function(module, exports) {
|
|
1058
1074
|
|
|
1059
1075
|
module.exports = require("@splunk/themes/getSettingsFromThemedProps");
|
|
1060
1076
|
|
|
1061
1077
|
/***/ }),
|
|
1062
|
-
/*
|
|
1078
|
+
/* 30 */
|
|
1063
1079
|
/***/ (function(module, exports) {
|
|
1064
1080
|
|
|
1065
1081
|
module.exports = require("@splunk/visualization-encoding/Options");
|
|
1066
1082
|
|
|
1067
1083
|
/***/ }),
|
|
1068
|
-
/*
|
|
1084
|
+
/* 31 */
|
|
1069
1085
|
/***/ (function(module, exports) {
|
|
1070
1086
|
|
|
1071
1087
|
module.exports = require("@splunk/visualizations-shared/SanitizeProps");
|
|
1072
1088
|
|
|
1073
1089
|
/***/ }),
|
|
1074
|
-
/*
|
|
1090
|
+
/* 32 */
|
|
1075
1091
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1076
1092
|
|
|
1077
1093
|
"use strict";
|
|
@@ -1089,7 +1105,7 @@ var T = __webpack_require__(0);
|
|
|
1089
1105
|
|
|
1090
1106
|
var lodash_1 = __webpack_require__(2);
|
|
1091
1107
|
|
|
1092
|
-
var VizActionHandler_1 = __webpack_require__(
|
|
1108
|
+
var VizActionHandler_1 = __webpack_require__(33); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
|
|
1093
1109
|
|
|
1094
1110
|
|
|
1095
1111
|
exports.INITIAL_WIDTH = 250;
|
|
@@ -1222,7 +1238,7 @@ SplunkVisualization.defaultProps = {
|
|
|
1222
1238
|
exports.default = SplunkVisualization;
|
|
1223
1239
|
|
|
1224
1240
|
/***/ }),
|
|
1225
|
-
/*
|
|
1241
|
+
/* 33 */
|
|
1226
1242
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1227
1243
|
|
|
1228
1244
|
"use strict";
|
|
@@ -1230,7 +1246,7 @@ exports.default = SplunkVisualization;
|
|
|
1230
1246
|
|
|
1231
1247
|
var _classCallCheck = __webpack_require__(10);
|
|
1232
1248
|
|
|
1233
|
-
var _createClass = __webpack_require__(
|
|
1249
|
+
var _createClass = __webpack_require__(17);
|
|
1234
1250
|
|
|
1235
1251
|
Object.defineProperty(exports, "__esModule", {
|
|
1236
1252
|
value: true
|
|
@@ -1259,7 +1275,7 @@ var DefaultVizActionHandler = /*#__PURE__*/function () {
|
|
|
1259
1275
|
exports.DefaultVizActionHandler = DefaultVizActionHandler;
|
|
1260
1276
|
|
|
1261
1277
|
/***/ }),
|
|
1262
|
-
/*
|
|
1278
|
+
/* 34 */
|
|
1263
1279
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1264
1280
|
|
|
1265
1281
|
"use strict";
|
|
@@ -1272,7 +1288,7 @@ exports.validSortDirs = void 0;
|
|
|
1272
1288
|
exports.validSortDirs = ['asc', 'desc', 'none'];
|
|
1273
1289
|
|
|
1274
1290
|
/***/ }),
|
|
1275
|
-
/*
|
|
1291
|
+
/* 35 */
|
|
1276
1292
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1277
1293
|
|
|
1278
1294
|
"use strict";
|
|
@@ -1317,7 +1333,7 @@ var useDeepMemo = function useDeepMemo(fn, dependencies) {
|
|
|
1317
1333
|
exports.useDeepMemo = useDeepMemo;
|
|
1318
1334
|
|
|
1319
1335
|
/***/ }),
|
|
1320
|
-
/*
|
|
1336
|
+
/* 36 */
|
|
1321
1337
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1322
1338
|
|
|
1323
1339
|
"use strict";
|
|
@@ -1350,7 +1366,7 @@ var pickFieldFromJSONSchema = function pickFieldFromJSONSchema(optionsSchema) {
|
|
|
1350
1366
|
exports.pickFieldFromJSONSchema = pickFieldFromJSONSchema;
|
|
1351
1367
|
|
|
1352
1368
|
/***/ }),
|
|
1353
|
-
/*
|
|
1369
|
+
/* 37 */
|
|
1354
1370
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1355
1371
|
|
|
1356
1372
|
"use strict";
|
|
@@ -1430,7 +1446,7 @@ exports.MissingPropsMessage.defaultProps = {
|
|
|
1430
1446
|
exports.default = FixedSizeContainer_1.default(exports.MissingPropsMessage);
|
|
1431
1447
|
|
|
1432
1448
|
/***/ }),
|
|
1433
|
-
/*
|
|
1449
|
+
/* 38 */
|
|
1434
1450
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1435
1451
|
|
|
1436
1452
|
"use strict";
|
|
@@ -1446,11 +1462,15 @@ var styled_components_1 = __webpack_require__(4);
|
|
|
1446
1462
|
|
|
1447
1463
|
var hocUtils_1 = __webpack_require__(8);
|
|
1448
1464
|
|
|
1465
|
+
var version_1 = __webpack_require__(13);
|
|
1466
|
+
|
|
1449
1467
|
var Cover = styled_components_1.default.div.withConfig({
|
|
1450
1468
|
displayName: "withEditModeCover__Cover",
|
|
1451
1469
|
componentId: "sc-1gsbnxb-0"
|
|
1452
1470
|
})(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
|
|
1453
|
-
var Blocker = styled_components_1.default.div.
|
|
1471
|
+
var Blocker = styled_components_1.default.div.attrs({
|
|
1472
|
+
'data-splunk-visualization-version': version_1.version
|
|
1473
|
+
}).withConfig({
|
|
1454
1474
|
displayName: "withEditModeCover__Blocker",
|
|
1455
1475
|
componentId: "sc-1gsbnxb-1"
|
|
1456
1476
|
})(["position:relative;width:100%;height:100%;"]);
|
|
@@ -1479,7 +1499,7 @@ var withEditModeCover = function withEditModeCover(Visualization) {
|
|
|
1479
1499
|
exports.default = withEditModeCover;
|
|
1480
1500
|
|
|
1481
1501
|
/***/ }),
|
|
1482
|
-
/*
|
|
1502
|
+
/* 39 */
|
|
1483
1503
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1484
1504
|
|
|
1485
1505
|
"use strict";
|
|
@@ -1493,7 +1513,7 @@ var React = __webpack_require__(1);
|
|
|
1493
1513
|
|
|
1494
1514
|
var colorUtils_1 = __webpack_require__(11);
|
|
1495
1515
|
|
|
1496
|
-
var IconPlaceholder_1 = __webpack_require__(
|
|
1516
|
+
var IconPlaceholder_1 = __webpack_require__(26);
|
|
1497
1517
|
|
|
1498
1518
|
var VizBehavior_1 = __webpack_require__(5);
|
|
1499
1519
|
|
|
@@ -1538,28 +1558,28 @@ var withPlaceholder = function withPlaceholder(Visualization) {
|
|
|
1538
1558
|
exports.default = withPlaceholder;
|
|
1539
1559
|
|
|
1540
1560
|
/***/ }),
|
|
1541
|
-
/*
|
|
1561
|
+
/* 40 */
|
|
1542
1562
|
/***/ (function(module, exports) {
|
|
1543
1563
|
|
|
1544
1564
|
module.exports = require("@babel/runtime/helpers/toConsumableArray");
|
|
1545
1565
|
|
|
1546
1566
|
/***/ }),
|
|
1547
|
-
/*
|
|
1548
|
-
/*
|
|
1567
|
+
/* 41 */,
|
|
1568
|
+
/* 42 */
|
|
1549
1569
|
/***/ (function(module, exports) {
|
|
1550
1570
|
|
|
1551
1571
|
module.exports = require("@splunk/visualization-color-palettes");
|
|
1552
1572
|
|
|
1553
1573
|
/***/ }),
|
|
1554
|
-
/*
|
|
1574
|
+
/* 43 */
|
|
1555
1575
|
/***/ (function(module, exports) {
|
|
1556
1576
|
|
|
1557
1577
|
module.exports = require("@splunk/visualization-icons");
|
|
1558
1578
|
|
|
1559
1579
|
/***/ }),
|
|
1560
|
-
/* 43 */,
|
|
1561
1580
|
/* 44 */,
|
|
1562
|
-
/* 45
|
|
1581
|
+
/* 45 */,
|
|
1582
|
+
/* 46 */
|
|
1563
1583
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1564
1584
|
|
|
1565
1585
|
"use strict";
|
|
@@ -1589,21 +1609,20 @@ var background = function background(_ref) {
|
|
|
1589
1609
|
exports.default = background;
|
|
1590
1610
|
|
|
1591
1611
|
/***/ }),
|
|
1592
|
-
/* 46 */,
|
|
1593
1612
|
/* 47 */,
|
|
1594
|
-
/* 48
|
|
1613
|
+
/* 48 */,
|
|
1614
|
+
/* 49 */
|
|
1595
1615
|
/***/ (function(module, exports) {
|
|
1596
1616
|
|
|
1597
1617
|
module.exports = require("@splunk/visualization-color-palettes/editors/PresetPalettes");
|
|
1598
1618
|
|
|
1599
1619
|
/***/ }),
|
|
1600
|
-
/*
|
|
1620
|
+
/* 50 */
|
|
1601
1621
|
/***/ (function(module, exports) {
|
|
1602
1622
|
|
|
1603
1623
|
module.exports = require("d3-array");
|
|
1604
1624
|
|
|
1605
1625
|
/***/ }),
|
|
1606
|
-
/* 50 */,
|
|
1607
1626
|
/* 51 */,
|
|
1608
1627
|
/* 52 */,
|
|
1609
1628
|
/* 53 */,
|
|
@@ -1611,7 +1630,8 @@ module.exports = require("d3-array");
|
|
|
1611
1630
|
/* 55 */,
|
|
1612
1631
|
/* 56 */,
|
|
1613
1632
|
/* 57 */,
|
|
1614
|
-
/* 58
|
|
1633
|
+
/* 58 */,
|
|
1634
|
+
/* 59 */
|
|
1615
1635
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1616
1636
|
|
|
1617
1637
|
"use strict";
|
|
@@ -1634,15 +1654,14 @@ VizStyleWrapper.displayName = 'VizStyleWrapper';
|
|
|
1634
1654
|
/* harmony default export */ __webpack_exports__["default"] = (VizStyleWrapper);
|
|
1635
1655
|
|
|
1636
1656
|
/***/ }),
|
|
1637
|
-
/* 59 */,
|
|
1638
1657
|
/* 60 */,
|
|
1639
|
-
/* 61
|
|
1658
|
+
/* 61 */,
|
|
1659
|
+
/* 62 */
|
|
1640
1660
|
/***/ (function(module, exports) {
|
|
1641
1661
|
|
|
1642
1662
|
module.exports = require("@babel/runtime/helpers/slicedToArray");
|
|
1643
1663
|
|
|
1644
1664
|
/***/ }),
|
|
1645
|
-
/* 62 */,
|
|
1646
1665
|
/* 63 */,
|
|
1647
1666
|
/* 64 */,
|
|
1648
1667
|
/* 65 */,
|
|
@@ -1653,33 +1672,34 @@ module.exports = require("@babel/runtime/helpers/slicedToArray");
|
|
|
1653
1672
|
/* 70 */,
|
|
1654
1673
|
/* 71 */,
|
|
1655
1674
|
/* 72 */,
|
|
1656
|
-
/* 73
|
|
1675
|
+
/* 73 */,
|
|
1676
|
+
/* 74 */
|
|
1657
1677
|
/***/ (function(module, exports) {
|
|
1658
1678
|
|
|
1659
1679
|
module.exports = require("@splunk/themes");
|
|
1660
1680
|
|
|
1661
1681
|
/***/ }),
|
|
1662
|
-
/*
|
|
1682
|
+
/* 75 */
|
|
1663
1683
|
/***/ (function(module, exports) {
|
|
1664
1684
|
|
|
1665
1685
|
module.exports = require("d3-scale");
|
|
1666
1686
|
|
|
1667
1687
|
/***/ }),
|
|
1668
|
-
/* 75 */,
|
|
1669
1688
|
/* 76 */,
|
|
1670
1689
|
/* 77 */,
|
|
1671
1690
|
/* 78 */,
|
|
1672
1691
|
/* 79 */,
|
|
1673
1692
|
/* 80 */,
|
|
1674
|
-
/* 81
|
|
1693
|
+
/* 81 */,
|
|
1694
|
+
/* 82 */
|
|
1675
1695
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1676
1696
|
|
|
1677
1697
|
"use strict";
|
|
1678
1698
|
|
|
1679
1699
|
|
|
1680
|
-
var _toConsumableArray = __webpack_require__(
|
|
1700
|
+
var _toConsumableArray = __webpack_require__(40);
|
|
1681
1701
|
|
|
1682
|
-
var _slicedToArray = __webpack_require__(
|
|
1702
|
+
var _slicedToArray = __webpack_require__(62);
|
|
1683
1703
|
|
|
1684
1704
|
Object.defineProperty(exports, "__esModule", {
|
|
1685
1705
|
value: true
|
|
@@ -1700,24 +1720,24 @@ var Message_1 = __webpack_require__(9);
|
|
|
1700
1720
|
|
|
1701
1721
|
var i18n_1 = __webpack_require__(3);
|
|
1702
1722
|
|
|
1703
|
-
var SizeAwareWrapper_1 = __webpack_require__(
|
|
1723
|
+
var SizeAwareWrapper_1 = __webpack_require__(18);
|
|
1704
1724
|
|
|
1705
|
-
var style_1 = __webpack_require__(
|
|
1725
|
+
var style_1 = __webpack_require__(14);
|
|
1706
1726
|
|
|
1707
|
-
var visualization_color_palettes_1 = __webpack_require__(
|
|
1727
|
+
var visualization_color_palettes_1 = __webpack_require__(42); // eslint-disable-next-line camelcase
|
|
1708
1728
|
|
|
1709
1729
|
|
|
1710
|
-
var sankey_1 = __webpack_require__(
|
|
1730
|
+
var sankey_1 = __webpack_require__(223);
|
|
1711
1731
|
|
|
1712
|
-
var VizStyleWrapper_1 = __webpack_require__(
|
|
1732
|
+
var VizStyleWrapper_1 = __webpack_require__(59);
|
|
1713
1733
|
|
|
1714
|
-
var SankeyUtils_1 = __webpack_require__(
|
|
1734
|
+
var SankeyUtils_1 = __webpack_require__(102);
|
|
1715
1735
|
|
|
1716
|
-
var SankeyNode_1 = __webpack_require__(
|
|
1736
|
+
var SankeyNode_1 = __webpack_require__(224);
|
|
1717
1737
|
|
|
1718
|
-
var SankeyLink_1 = __webpack_require__(
|
|
1738
|
+
var SankeyLink_1 = __webpack_require__(225);
|
|
1719
1739
|
|
|
1720
|
-
var SankeyTooltip_1 = __webpack_require__(
|
|
1740
|
+
var SankeyTooltip_1 = __webpack_require__(226);
|
|
1721
1741
|
|
|
1722
1742
|
exports.DEFAULT_COLORS = {
|
|
1723
1743
|
backgroundColor: '#ffffff',
|
|
@@ -2053,7 +2073,6 @@ PureSankey.defaultProps = {
|
|
|
2053
2073
|
exports.default = PureSankey;
|
|
2054
2074
|
|
|
2055
2075
|
/***/ }),
|
|
2056
|
-
/* 82 */,
|
|
2057
2076
|
/* 83 */,
|
|
2058
2077
|
/* 84 */,
|
|
2059
2078
|
/* 85 */,
|
|
@@ -2070,20 +2089,21 @@ exports.default = PureSankey;
|
|
|
2070
2089
|
/* 96 */,
|
|
2071
2090
|
/* 97 */,
|
|
2072
2091
|
/* 98 */,
|
|
2073
|
-
/* 99
|
|
2092
|
+
/* 99 */,
|
|
2093
|
+
/* 100 */
|
|
2074
2094
|
/***/ (function(module, exports) {
|
|
2075
2095
|
|
|
2076
2096
|
module.exports = require("@splunk/visualizations-shared/dataSourceUtils");
|
|
2077
2097
|
|
|
2078
2098
|
/***/ }),
|
|
2079
|
-
/*
|
|
2080
|
-
/*
|
|
2099
|
+
/* 101 */,
|
|
2100
|
+
/* 102 */
|
|
2081
2101
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2082
2102
|
|
|
2083
2103
|
"use strict";
|
|
2084
2104
|
|
|
2085
2105
|
|
|
2086
|
-
var _typeof = __webpack_require__(
|
|
2106
|
+
var _typeof = __webpack_require__(23);
|
|
2087
2107
|
|
|
2088
2108
|
Object.defineProperty(exports, "__esModule", {
|
|
2089
2109
|
value: true
|
|
@@ -2091,7 +2111,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2091
2111
|
exports.truncateSVGTextWithEllipsis = exports.checkDigitsOnly = exports.computeAllConnectedLinksToNodes = exports.getAllConnectedLinks = exports.extractLinkMidPoint = exports.getAllNodeNames = exports.getLinkId = exports.getNodeId = exports.convertInputToSankeyDataFormat = exports.getColorCategoryMapping = exports.getNodesIndex = void 0;
|
|
2092
2112
|
/* eslint-disable no-param-reassign */
|
|
2093
2113
|
|
|
2094
|
-
var d3_scale_1 = __webpack_require__(
|
|
2114
|
+
var d3_scale_1 = __webpack_require__(75);
|
|
2095
2115
|
|
|
2096
2116
|
var insertNodeIfNotExist = function insertNodeIfNotExist(sankeyData, nodeName) {
|
|
2097
2117
|
var nodes = sankeyData.nodes;
|
|
@@ -2369,24 +2389,23 @@ var truncateSVGTextWithEllipsis = function truncateSVGTextWithEllipsis(textEleme
|
|
|
2369
2389
|
exports.truncateSVGTextWithEllipsis = truncateSVGTextWithEllipsis;
|
|
2370
2390
|
|
|
2371
2391
|
/***/ }),
|
|
2372
|
-
/* 102 */,
|
|
2373
2392
|
/* 103 */,
|
|
2374
2393
|
/* 104 */,
|
|
2375
2394
|
/* 105 */,
|
|
2376
2395
|
/* 106 */,
|
|
2377
|
-
/* 107
|
|
2396
|
+
/* 107 */,
|
|
2397
|
+
/* 108 */
|
|
2378
2398
|
/***/ (function(module, exports) {
|
|
2379
2399
|
|
|
2380
2400
|
module.exports = require("d3-interpolate");
|
|
2381
2401
|
|
|
2382
2402
|
/***/ }),
|
|
2383
|
-
/*
|
|
2403
|
+
/* 109 */
|
|
2384
2404
|
/***/ (function(module, exports) {
|
|
2385
2405
|
|
|
2386
2406
|
module.exports = require("d3-collection");
|
|
2387
2407
|
|
|
2388
2408
|
/***/ }),
|
|
2389
|
-
/* 109 */,
|
|
2390
2409
|
/* 110 */,
|
|
2391
2410
|
/* 111 */,
|
|
2392
2411
|
/* 112 */,
|
|
@@ -2404,13 +2423,14 @@ module.exports = require("d3-collection");
|
|
|
2404
2423
|
/* 124 */,
|
|
2405
2424
|
/* 125 */,
|
|
2406
2425
|
/* 126 */,
|
|
2407
|
-
/* 127
|
|
2426
|
+
/* 127 */,
|
|
2427
|
+
/* 128 */
|
|
2408
2428
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2409
2429
|
|
|
2410
2430
|
"use strict";
|
|
2411
2431
|
|
|
2412
2432
|
|
|
2413
|
-
var _typeof = __webpack_require__(
|
|
2433
|
+
var _typeof = __webpack_require__(23);
|
|
2414
2434
|
|
|
2415
2435
|
Object.defineProperty(exports, "__esModule", {
|
|
2416
2436
|
value: true
|
|
@@ -2419,17 +2439,17 @@ exports.PureSankey = exports.config = exports.themes = exports.computeVizProps =
|
|
|
2419
2439
|
|
|
2420
2440
|
var lodash_1 = __webpack_require__(2);
|
|
2421
2441
|
|
|
2422
|
-
var dataSourceUtils_1 = __webpack_require__(
|
|
2442
|
+
var dataSourceUtils_1 = __webpack_require__(100);
|
|
2423
2443
|
|
|
2424
2444
|
var colorUtils_1 = __webpack_require__(11);
|
|
2425
2445
|
|
|
2426
|
-
var withDashboardViz_1 = __webpack_require__(
|
|
2446
|
+
var withDashboardViz_1 = __webpack_require__(28);
|
|
2427
2447
|
|
|
2428
|
-
var PureSankey_1 = __webpack_require__(
|
|
2448
|
+
var PureSankey_1 = __webpack_require__(82);
|
|
2429
2449
|
|
|
2430
2450
|
exports.PureSankey = PureSankey_1.default;
|
|
2431
2451
|
|
|
2432
|
-
var config_1 = __webpack_require__(
|
|
2452
|
+
var config_1 = __webpack_require__(228);
|
|
2433
2453
|
|
|
2434
2454
|
exports.config = config_1.default;
|
|
2435
2455
|
/**
|
|
@@ -2512,7 +2532,6 @@ exports.themes = themes;
|
|
|
2512
2532
|
exports.default = Sankey;
|
|
2513
2533
|
|
|
2514
2534
|
/***/ }),
|
|
2515
|
-
/* 128 */,
|
|
2516
2535
|
/* 129 */,
|
|
2517
2536
|
/* 130 */,
|
|
2518
2537
|
/* 131 */,
|
|
@@ -2605,7 +2624,8 @@ exports.default = Sankey;
|
|
|
2605
2624
|
/* 218 */,
|
|
2606
2625
|
/* 219 */,
|
|
2607
2626
|
/* 220 */,
|
|
2608
|
-
/* 221
|
|
2627
|
+
/* 221 */,
|
|
2628
|
+
/* 222 */
|
|
2609
2629
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2610
2630
|
|
|
2611
2631
|
"use strict";
|
|
@@ -2635,9 +2655,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2635
2655
|
});
|
|
2636
2656
|
exports.default = void 0;
|
|
2637
2657
|
|
|
2638
|
-
__exportStar(__webpack_require__(
|
|
2658
|
+
__exportStar(__webpack_require__(128), exports);
|
|
2639
2659
|
|
|
2640
|
-
var Sankey_1 = __webpack_require__(
|
|
2660
|
+
var Sankey_1 = __webpack_require__(128);
|
|
2641
2661
|
|
|
2642
2662
|
Object.defineProperty(exports, "default", {
|
|
2643
2663
|
enumerable: true,
|
|
@@ -2647,17 +2667,17 @@ Object.defineProperty(exports, "default", {
|
|
|
2647
2667
|
});
|
|
2648
2668
|
|
|
2649
2669
|
/***/ }),
|
|
2650
|
-
/*
|
|
2670
|
+
/* 223 */
|
|
2651
2671
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2652
2672
|
|
|
2653
2673
|
"use strict";
|
|
2654
2674
|
__webpack_require__.r(__webpack_exports__);
|
|
2655
2675
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d3_sankey", function() { return d3_sankey; });
|
|
2656
|
-
/* harmony import */ var d3_interpolate__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
2676
|
+
/* harmony import */ var d3_interpolate__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(108);
|
|
2657
2677
|
/* harmony import */ var d3_interpolate__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(d3_interpolate__WEBPACK_IMPORTED_MODULE_0__);
|
|
2658
|
-
/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
2678
|
+
/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(50);
|
|
2659
2679
|
/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(d3_array__WEBPACK_IMPORTED_MODULE_1__);
|
|
2660
|
-
/* harmony import */ var d3_collection__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
2680
|
+
/* harmony import */ var d3_collection__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(109);
|
|
2661
2681
|
/* harmony import */ var d3_collection__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(d3_collection__WEBPACK_IMPORTED_MODULE_2__);
|
|
2662
2682
|
// reference link :- https://github.com/csaladenes/sankey
|
|
2663
2683
|
|
|
@@ -3213,7 +3233,7 @@ var d3_sankey = function d3_sankey() {
|
|
|
3213
3233
|
};
|
|
3214
3234
|
|
|
3215
3235
|
/***/ }),
|
|
3216
|
-
/*
|
|
3236
|
+
/* 224 */
|
|
3217
3237
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3218
3238
|
|
|
3219
3239
|
"use strict";
|
|
@@ -3231,9 +3251,9 @@ var styled_components_1 = __webpack_require__(4);
|
|
|
3231
3251
|
|
|
3232
3252
|
var react_1 = __webpack_require__(1);
|
|
3233
3253
|
|
|
3234
|
-
var PureSankey_1 = __webpack_require__(
|
|
3254
|
+
var PureSankey_1 = __webpack_require__(82);
|
|
3235
3255
|
|
|
3236
|
-
var SankeyUtils_1 = __webpack_require__(
|
|
3256
|
+
var SankeyUtils_1 = __webpack_require__(102);
|
|
3237
3257
|
|
|
3238
3258
|
var MAX_NODE_TEXT_WIDTH = 150;
|
|
3239
3259
|
|
|
@@ -3333,7 +3353,7 @@ SankeyNode.defaultProps = {
|
|
|
3333
3353
|
exports.default = SankeyNode;
|
|
3334
3354
|
|
|
3335
3355
|
/***/ }),
|
|
3336
|
-
/*
|
|
3356
|
+
/* 225 */
|
|
3337
3357
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3338
3358
|
|
|
3339
3359
|
"use strict";
|
|
@@ -3347,9 +3367,9 @@ var React = __webpack_require__(1);
|
|
|
3347
3367
|
|
|
3348
3368
|
var T = __webpack_require__(0);
|
|
3349
3369
|
|
|
3350
|
-
var PureSankey_1 = __webpack_require__(
|
|
3370
|
+
var PureSankey_1 = __webpack_require__(82);
|
|
3351
3371
|
|
|
3352
|
-
var SankeyUtils_1 = __webpack_require__(
|
|
3372
|
+
var SankeyUtils_1 = __webpack_require__(102);
|
|
3353
3373
|
|
|
3354
3374
|
var getLinkFill = function getLinkFill(link, colorCategoryMapping, colorMode) {
|
|
3355
3375
|
if (colorMode === 'categorical') {
|
|
@@ -3441,7 +3461,7 @@ SankeyLink.defaultProps = {
|
|
|
3441
3461
|
exports.default = SankeyLink;
|
|
3442
3462
|
|
|
3443
3463
|
/***/ }),
|
|
3444
|
-
/*
|
|
3464
|
+
/* 226 */
|
|
3445
3465
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3446
3466
|
|
|
3447
3467
|
"use strict";
|
|
@@ -3455,13 +3475,13 @@ var React = __webpack_require__(1);
|
|
|
3455
3475
|
|
|
3456
3476
|
var T = __webpack_require__(0);
|
|
3457
3477
|
|
|
3458
|
-
var Popover_1 = __webpack_require__(
|
|
3478
|
+
var Popover_1 = __webpack_require__(227);
|
|
3459
3479
|
|
|
3460
3480
|
var styled_components_1 = __webpack_require__(4);
|
|
3461
3481
|
|
|
3462
|
-
var numberUtils_1 = __webpack_require__(
|
|
3482
|
+
var numberUtils_1 = __webpack_require__(22);
|
|
3463
3483
|
|
|
3464
|
-
var PureSankey_1 = __webpack_require__(
|
|
3484
|
+
var PureSankey_1 = __webpack_require__(82);
|
|
3465
3485
|
|
|
3466
3486
|
var DEFAULT_PLACEMENT = 'below';
|
|
3467
3487
|
var StyledTooltipContainer = styled_components_1.default.div.withConfig({
|
|
@@ -3711,13 +3731,13 @@ SankeyTooltip.defaultProps = {
|
|
|
3711
3731
|
exports.default = SankeyTooltip;
|
|
3712
3732
|
|
|
3713
3733
|
/***/ }),
|
|
3714
|
-
/*
|
|
3734
|
+
/* 227 */
|
|
3715
3735
|
/***/ (function(module, exports) {
|
|
3716
3736
|
|
|
3717
3737
|
module.exports = require("@splunk/react-ui/Popover");
|
|
3718
3738
|
|
|
3719
3739
|
/***/ }),
|
|
3720
|
-
/*
|
|
3740
|
+
/* 228 */
|
|
3721
3741
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3722
3742
|
|
|
3723
3743
|
"use strict";
|
|
@@ -3727,27 +3747,27 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3727
3747
|
value: true
|
|
3728
3748
|
});
|
|
3729
3749
|
|
|
3730
|
-
var visualization_icons_1 = __webpack_require__(
|
|
3750
|
+
var visualization_icons_1 = __webpack_require__(43);
|
|
3731
3751
|
|
|
3732
|
-
var visualization_color_palettes_1 = __webpack_require__(
|
|
3752
|
+
var visualization_color_palettes_1 = __webpack_require__(42);
|
|
3733
3753
|
|
|
3734
|
-
var schemaUtils_1 = __webpack_require__(
|
|
3754
|
+
var schemaUtils_1 = __webpack_require__(15);
|
|
3735
3755
|
|
|
3736
|
-
var PresetPalettes_1 = __webpack_require__(
|
|
3756
|
+
var PresetPalettes_1 = __webpack_require__(49);
|
|
3737
3757
|
|
|
3738
|
-
var themes_1 = __webpack_require__(
|
|
3758
|
+
var themes_1 = __webpack_require__(74);
|
|
3739
3759
|
|
|
3740
3760
|
var i18n_1 = __webpack_require__(3);
|
|
3741
3761
|
|
|
3742
3762
|
var VizBehavior_1 = __webpack_require__(5);
|
|
3743
3763
|
|
|
3744
|
-
var VizCategory_1 = __webpack_require__(
|
|
3764
|
+
var VizCategory_1 = __webpack_require__(27);
|
|
3745
3765
|
|
|
3746
3766
|
var configUtils_1 = __webpack_require__(6);
|
|
3747
3767
|
|
|
3748
|
-
var DynamicLinkColorsEditor_1 = __webpack_require__(
|
|
3768
|
+
var DynamicLinkColorsEditor_1 = __webpack_require__(229);
|
|
3749
3769
|
|
|
3750
|
-
var BackgroundColor_1 = __webpack_require__(
|
|
3770
|
+
var BackgroundColor_1 = __webpack_require__(46);
|
|
3751
3771
|
|
|
3752
3772
|
var defaultContext = {
|
|
3753
3773
|
linkColorRangeConfig: [{
|
|
@@ -3953,7 +3973,7 @@ var config = {
|
|
|
3953
3973
|
exports.default = configUtils_1.enhanceConfig(config);
|
|
3954
3974
|
|
|
3955
3975
|
/***/ }),
|
|
3956
|
-
/*
|
|
3976
|
+
/* 229 */
|
|
3957
3977
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3958
3978
|
|
|
3959
3979
|
"use strict";
|