@splunk/visualizations 25.5.0 → 25.6.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/.loki/reference/chrome_docker_PureVisualizations_PureEvents_TimeControlsPopover_Dark.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureEvents_TimeControlsPopover_DarkPrisma.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureEvents_TimeControlsPopover_Light.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Events_Events_Background_Color_Light_Blue.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Events_Events_Basic_Events.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Events_Events_Event_Actions.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Events_Events_Field_Actions.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Events_Events_Field_Summary.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Events_Events_Field_Summary_Simulated_Instance.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Events_Events_Footer_Fields.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Events_Events_Value_Highlighting.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Events_Events_Width_Height.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Events_Events_Width_Percentage_50.png +0 -0
- package/Area.js +226 -143
- package/Area.js.map +1 -1
- package/Bar.js +226 -143
- package/Bar.js.map +1 -1
- package/Bubble.js +218 -135
- package/Bubble.js.map +1 -1
- package/ChoroplethSvg.js +217 -139
- package/ChoroplethSvg.js.map +1 -1
- package/Column.js +226 -143
- package/Column.js.map +1 -1
- package/Ellipse.js +188 -105
- package/Ellipse.js.map +1 -1
- package/Events.config.js +3 -0
- package/Events.config.js.map +1 -1
- package/Events.js +967 -267
- package/Events.js.map +1 -1
- package/FillerGauge.js +214 -126
- package/FillerGauge.js.map +1 -1
- package/Image.js +210 -125
- package/Image.js.map +1 -1
- package/Line.js +231 -143
- package/Line.js.map +1 -1
- package/LinkGraph.js +601 -524
- package/LinkGraph.js.map +1 -1
- package/Map.js +484 -406
- package/Map.js.map +1 -1
- package/Markdown.js +295 -210
- package/Markdown.js.map +1 -1
- package/MarkerGauge.js +388 -310
- package/MarkerGauge.js.map +1 -1
- package/ParallelCoordinates.js +469 -391
- package/ParallelCoordinates.js.map +1 -1
- package/Pie.js +428 -343
- package/Pie.js.map +1 -1
- package/Punchcard.js +480 -402
- package/Punchcard.js.map +1 -1
- package/Rectangle.js +437 -352
- package/Rectangle.js.map +1 -1
- package/Sankey.js +497 -419
- package/Sankey.js.map +1 -1
- package/Scatter.js +361 -276
- package/Scatter.js.map +1 -1
- package/SingleValue.js +386 -301
- package/SingleValue.js.map +1 -1
- package/SingleValueBasic.js +23 -23
- package/SingleValueBasic.js.map +1 -1
- package/SingleValueIcon.js +385 -300
- package/SingleValueIcon.js.map +1 -1
- package/SingleValueRadial.js +319 -234
- package/SingleValueRadial.js.map +1 -1
- package/Table.js +309 -231
- package/Table.js.map +1 -1
- package/common/EventsDoc.js +3 -3
- package/common/EventsDoc.js.map +1 -1
- package/common/GaugeMajorTicks.js +2 -2
- package/common/GaugeValueMarker.js +2 -2
- package/common/OptionsDoc.js +14 -14
- package/common/OptionsDoc.js.map +1 -1
- package/common/ThemesDoc.js +10 -10
- package/common/ThemesDoc.js.map +1 -1
- package/common/withDashboardViz.js +122 -42
- package/common/withDashboardViz.js.map +1 -1
- package/package.json +13 -11
package/Ellipse.js
CHANGED
|
@@ -87,7 +87,7 @@ module.exports =
|
|
|
87
87
|
/******/
|
|
88
88
|
/******/
|
|
89
89
|
/******/ // Load entry module and return exports
|
|
90
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
90
|
+
/******/ return __webpack_require__(__webpack_require__.s = 187);
|
|
91
91
|
/******/ })
|
|
92
92
|
/************************************************************************/
|
|
93
93
|
/******/ ([
|
|
@@ -209,7 +209,7 @@ var React = __webpack_require__(1);
|
|
|
209
209
|
|
|
210
210
|
var styled_components_1 = __webpack_require__(4);
|
|
211
211
|
|
|
212
|
-
var SizeAwareWrapper_1 = __webpack_require__(
|
|
212
|
+
var SizeAwareWrapper_1 = __webpack_require__(21);
|
|
213
213
|
|
|
214
214
|
var style_1 = __webpack_require__(15);
|
|
215
215
|
|
|
@@ -270,7 +270,7 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
|
|
|
270
270
|
|
|
271
271
|
return React.createElement(FixSizeItem, {
|
|
272
272
|
"data-test": "fix-size-item",
|
|
273
|
-
"data-splunk-visualization-version": "25.
|
|
273
|
+
"data-splunk-visualization-version": "25.6.0 - f5eb3abf9",
|
|
274
274
|
width: width,
|
|
275
275
|
height: height,
|
|
276
276
|
backgroundColor: backgroundColor
|
|
@@ -336,6 +336,12 @@ module.exports = require("@splunk/visualizations-shared/schemaUtils");
|
|
|
336
336
|
|
|
337
337
|
/***/ }),
|
|
338
338
|
/* 17 */
|
|
339
|
+
/***/ (function(module, exports) {
|
|
340
|
+
|
|
341
|
+
module.exports = require("@babel/runtime/helpers/slicedToArray");
|
|
342
|
+
|
|
343
|
+
/***/ }),
|
|
344
|
+
/* 18 */
|
|
339
345
|
/***/ (function(module, exports, __webpack_require__) {
|
|
340
346
|
|
|
341
347
|
"use strict";
|
|
@@ -571,56 +577,63 @@ var insertLayout = function insertLayout(layout, index) {
|
|
|
571
577
|
exports.insertLayout = insertLayout;
|
|
572
578
|
|
|
573
579
|
/***/ }),
|
|
574
|
-
/*
|
|
580
|
+
/* 19 */
|
|
575
581
|
/***/ (function(module, exports) {
|
|
576
582
|
|
|
577
583
|
module.exports = require("@splunk/visualizations-shared/configUtils");
|
|
578
584
|
|
|
579
585
|
/***/ }),
|
|
580
|
-
/*
|
|
586
|
+
/* 20 */
|
|
581
587
|
/***/ (function(module, exports) {
|
|
582
588
|
|
|
583
589
|
module.exports = require("@babel/runtime/helpers/createClass");
|
|
584
590
|
|
|
585
591
|
/***/ }),
|
|
586
|
-
/*
|
|
592
|
+
/* 21 */
|
|
587
593
|
/***/ (function(module, exports) {
|
|
588
594
|
|
|
589
595
|
module.exports = require("@splunk/visualizations-shared/SizeAwareWrapper");
|
|
590
596
|
|
|
591
597
|
/***/ }),
|
|
592
|
-
/*
|
|
598
|
+
/* 22 */
|
|
593
599
|
/***/ (function(module, exports) {
|
|
594
600
|
|
|
595
601
|
module.exports = require("@splunk/themes/pick");
|
|
596
602
|
|
|
597
603
|
/***/ }),
|
|
598
|
-
/*
|
|
599
|
-
/*
|
|
604
|
+
/* 23 */,
|
|
605
|
+
/* 24 */
|
|
600
606
|
/***/ (function(module, exports) {
|
|
601
607
|
|
|
602
608
|
module.exports = require("@splunk/visualization-context/TimezoneContext");
|
|
603
609
|
|
|
604
610
|
/***/ }),
|
|
605
|
-
/*
|
|
611
|
+
/* 25 */
|
|
606
612
|
/***/ (function(module, exports) {
|
|
607
613
|
|
|
608
614
|
module.exports = require("@splunk/visualizations-shared/propUtils");
|
|
609
615
|
|
|
610
616
|
/***/ }),
|
|
611
|
-
/*
|
|
617
|
+
/* 26 */
|
|
618
|
+
/***/ (function(module, exports) {
|
|
619
|
+
|
|
620
|
+
module.exports = require("@splunk/visualization-context/FeatureFlagContext");
|
|
621
|
+
|
|
622
|
+
/***/ }),
|
|
623
|
+
/* 27 */
|
|
612
624
|
/***/ (function(module, exports) {
|
|
613
625
|
|
|
614
626
|
module.exports = require("@splunk/visualizations-shared/hocUtils");
|
|
615
627
|
|
|
616
628
|
/***/ }),
|
|
617
|
-
/*
|
|
629
|
+
/* 28 */
|
|
618
630
|
/***/ (function(module, exports) {
|
|
619
631
|
|
|
620
632
|
module.exports = require("@splunk/visualizations-shared/JSONSchemaUtils");
|
|
621
633
|
|
|
622
634
|
/***/ }),
|
|
623
|
-
/*
|
|
635
|
+
/* 29 */,
|
|
636
|
+
/* 30 */
|
|
624
637
|
/***/ (function(module, exports, __webpack_require__) {
|
|
625
638
|
|
|
626
639
|
"use strict";
|
|
@@ -711,7 +724,13 @@ IconPlaceholder.defaultProps = {
|
|
|
711
724
|
exports.default = FixedSizeContainer_1.default(IconPlaceholder);
|
|
712
725
|
|
|
713
726
|
/***/ }),
|
|
714
|
-
/*
|
|
727
|
+
/* 31 */
|
|
728
|
+
/***/ (function(module, exports) {
|
|
729
|
+
|
|
730
|
+
module.exports = require("@splunk/ui-utils/id");
|
|
731
|
+
|
|
732
|
+
/***/ }),
|
|
733
|
+
/* 32 */
|
|
715
734
|
/***/ (function(module, exports, __webpack_require__) {
|
|
716
735
|
|
|
717
736
|
"use strict";
|
|
@@ -728,7 +747,7 @@ var T = __webpack_require__(0);
|
|
|
728
747
|
|
|
729
748
|
var lodash_1 = __webpack_require__(3);
|
|
730
749
|
|
|
731
|
-
var DataSource_1 = __webpack_require__(
|
|
750
|
+
var DataSource_1 = __webpack_require__(43);
|
|
732
751
|
|
|
733
752
|
exports.SortParamsPropTypes = T.shape({
|
|
734
753
|
currentSortKey: T.string,
|
|
@@ -781,7 +800,7 @@ var getSortingParams = function getSortingParams(_ref) {
|
|
|
781
800
|
exports.getSortingParams = getSortingParams;
|
|
782
801
|
|
|
783
802
|
/***/ }),
|
|
784
|
-
/*
|
|
803
|
+
/* 33 */
|
|
785
804
|
/***/ (function(module, exports, __webpack_require__) {
|
|
786
805
|
|
|
787
806
|
"use strict";
|
|
@@ -845,8 +864,7 @@ var getPaginationParams = function getPaginationParams(_ref) {
|
|
|
845
864
|
exports.getPaginationParams = getPaginationParams;
|
|
846
865
|
|
|
847
866
|
/***/ }),
|
|
848
|
-
/*
|
|
849
|
-
/* 31 */
|
|
867
|
+
/* 34 */
|
|
850
868
|
/***/ (function(module, exports, __webpack_require__) {
|
|
851
869
|
|
|
852
870
|
"use strict";
|
|
@@ -874,12 +892,14 @@ var VizCategory;
|
|
|
874
892
|
})(VizCategory = exports.VizCategory || (exports.VizCategory = {}));
|
|
875
893
|
|
|
876
894
|
/***/ }),
|
|
877
|
-
/*
|
|
895
|
+
/* 35 */
|
|
878
896
|
/***/ (function(module, exports, __webpack_require__) {
|
|
879
897
|
|
|
880
898
|
"use strict";
|
|
881
899
|
|
|
882
900
|
|
|
901
|
+
var _slicedToArray = __webpack_require__(17);
|
|
902
|
+
|
|
883
903
|
Object.defineProperty(exports, "__esModule", {
|
|
884
904
|
value: true
|
|
885
905
|
});
|
|
@@ -888,44 +908,51 @@ var React = __webpack_require__(1);
|
|
|
888
908
|
|
|
889
909
|
var lodash_1 = __webpack_require__(3);
|
|
890
910
|
|
|
891
|
-
var getSettingsFromThemedProps_1 = __webpack_require__(
|
|
911
|
+
var getSettingsFromThemedProps_1 = __webpack_require__(36);
|
|
912
|
+
|
|
913
|
+
var Options_1 = __webpack_require__(37);
|
|
892
914
|
|
|
893
|
-
var
|
|
915
|
+
var SanitizeProps_1 = __webpack_require__(38);
|
|
894
916
|
|
|
895
|
-
var
|
|
917
|
+
var TimezoneContext_1 = __webpack_require__(24);
|
|
896
918
|
|
|
897
|
-
var
|
|
919
|
+
var moment_1 = __webpack_require__(39);
|
|
898
920
|
|
|
899
|
-
var
|
|
921
|
+
var FeatureFlagContext_1 = __webpack_require__(26);
|
|
900
922
|
|
|
901
923
|
var styled_components_1 = __webpack_require__(4);
|
|
902
924
|
|
|
903
|
-
var hocUtils_1 = __webpack_require__(
|
|
925
|
+
var hocUtils_1 = __webpack_require__(27);
|
|
904
926
|
|
|
905
|
-
var JSONSchemaUtils_1 = __webpack_require__(
|
|
927
|
+
var JSONSchemaUtils_1 = __webpack_require__(28);
|
|
906
928
|
|
|
907
|
-
var
|
|
929
|
+
var async_dynamic_options_evaluator_1 = __webpack_require__(40);
|
|
930
|
+
|
|
931
|
+
var id_1 = __webpack_require__(31);
|
|
932
|
+
|
|
933
|
+
var SplunkVisualization_1 = __webpack_require__(41);
|
|
908
934
|
|
|
909
935
|
var VizBehavior_1 = __webpack_require__(6);
|
|
910
936
|
|
|
911
|
-
var getSorting_1 = __webpack_require__(
|
|
937
|
+
var getSorting_1 = __webpack_require__(32);
|
|
938
|
+
|
|
939
|
+
var getPagination_1 = __webpack_require__(33);
|
|
912
940
|
|
|
913
|
-
var
|
|
941
|
+
var useDeepMemo_1 = __webpack_require__(44);
|
|
914
942
|
|
|
915
|
-
var
|
|
943
|
+
var MissingPropsMessage_1 = __webpack_require__(45);
|
|
916
944
|
|
|
917
|
-
var
|
|
945
|
+
var withEditModeCover_1 = __webpack_require__(46);
|
|
918
946
|
|
|
919
|
-
var
|
|
947
|
+
var withPlaceholder_1 = __webpack_require__(47);
|
|
920
948
|
|
|
921
|
-
var
|
|
949
|
+
var UUID = id_1.createGUID();
|
|
922
950
|
/**
|
|
923
951
|
* hoc that wraps a pure react visualization in a Dashboard visualization
|
|
924
952
|
* @param {DashboardVizOpts} opts
|
|
925
953
|
* @returns {HOC}
|
|
926
954
|
*/
|
|
927
955
|
|
|
928
|
-
|
|
929
956
|
var withDashboardViz = function withDashboardViz(opts) {
|
|
930
957
|
var ReactViz = opts.ReactViz,
|
|
931
958
|
vizConfig = opts.vizConfig,
|
|
@@ -985,28 +1012,76 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
985
1012
|
|
|
986
1013
|
var evaluatedOptions = {}; // evaluatedOptions need to be initialized as an empty object
|
|
987
1014
|
|
|
1015
|
+
var _React$useState = React.useState({}),
|
|
1016
|
+
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
1017
|
+
evaluatedOptionsAsync = _React$useState2[0],
|
|
1018
|
+
setEvaluatedOptionsAsync = _React$useState2[1]; // evaluatedOptions need to be initialized as an empty object
|
|
1019
|
+
|
|
1020
|
+
|
|
1021
|
+
var featureFlagContext = React.useContext(FeatureFlagContext_1.default);
|
|
1022
|
+
|
|
1023
|
+
var _React$useState3 = React.useState("".concat(vizConfig.name, " - ").concat(UUID)),
|
|
1024
|
+
_React$useState4 = _slicedToArray(_React$useState3, 1),
|
|
1025
|
+
visualizationID = _React$useState4[0];
|
|
1026
|
+
|
|
1027
|
+
var _React$useState5 = React.useState(Boolean(featureFlagContext && featureFlagContext['visualizations.useWebWorkersForDSL'] && typeof Worker !== 'undefined')),
|
|
1028
|
+
_React$useState6 = _slicedToArray(_React$useState5, 2),
|
|
1029
|
+
useAsyncEvaluatedOptions = _React$useState6[0],
|
|
1030
|
+
setUseAsyncEvaluatedOptions = _React$useState6[1];
|
|
1031
|
+
|
|
988
1032
|
evaluatedOptions = useDeepMemo_1.useDeepMemo(function () {
|
|
989
1033
|
try {
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
1034
|
+
if (useAsyncEvaluatedOptions) {
|
|
1035
|
+
var optionsToEvaluate = {
|
|
1036
|
+
context: lodash_1.defaultsDeep({}, context, vizConfig.defaultContext),
|
|
1037
|
+
options: hocUtils_1.deepMergeWithArrayPrimitiveOverrides({}, options, defaultOptions)
|
|
1038
|
+
};
|
|
1039
|
+
var asyncDynamicOptionsEvaluatorParams = {
|
|
1040
|
+
visualizationID: visualizationID,
|
|
1041
|
+
props: props,
|
|
1042
|
+
options: optionsToEvaluate,
|
|
1043
|
+
dataSources: dataSources,
|
|
1044
|
+
theme: vizConfig.themes
|
|
1045
|
+
};
|
|
1046
|
+
async_dynamic_options_evaluator_1.default.evaluate(asyncDynamicOptionsEvaluatorParams).then(function (results) {
|
|
1047
|
+
setEvaluatedOptionsAsync(results.results);
|
|
1048
|
+
}).catch(function (e) {
|
|
1049
|
+
// eslint-disable-next-line no-console
|
|
1050
|
+
console.error("unexpected error evaluating options - async: ".concat(e.message));
|
|
1051
|
+
setUseAsyncEvaluatedOptions(false);
|
|
1052
|
+
});
|
|
1053
|
+
} else {
|
|
1054
|
+
return Options_1.Options.evaluate({
|
|
1055
|
+
context: lodash_1.defaultsDeep({}, context, vizConfig.defaultContext),
|
|
1056
|
+
options: hocUtils_1.deepMergeWithArrayPrimitiveOverrides({}, options, defaultOptions)
|
|
1057
|
+
}, dataSources, themeFunc);
|
|
1058
|
+
}
|
|
994
1059
|
} catch (e) {
|
|
995
1060
|
// eslint-disable-next-line no-console
|
|
996
|
-
console.error("unexpected error evaluating options:
|
|
1061
|
+
console.error("unexpected error evaluating options: ".concat(e.message));
|
|
997
1062
|
return {};
|
|
998
1063
|
}
|
|
999
|
-
|
|
1064
|
+
|
|
1065
|
+
return {};
|
|
1066
|
+
}, [currentThemeFamily, currentThemeColorScheme, currentThemeDensity, options, context, dataSources, serializedTimezone, useAsyncEvaluatedOptions]);
|
|
1067
|
+
var evaluatedOptionsToUse = !useAsyncEvaluatedOptions ? evaluatedOptions : evaluatedOptionsAsync; // useEffect hook needs to be initialized before any early returns
|
|
1000
1068
|
// this is in accordance with the order of hook calls being the same on each render https://reactjs.org/docs/hooks-rules.html#explanation
|
|
1001
1069
|
|
|
1002
1070
|
React.useEffect(function () {
|
|
1003
|
-
onComputedProps(
|
|
1004
|
-
});
|
|
1071
|
+
onComputedProps(evaluatedOptionsToUse);
|
|
1072
|
+
});
|
|
1073
|
+
React.useEffect(function () {
|
|
1074
|
+
return function () {
|
|
1075
|
+
if (useAsyncEvaluatedOptions) {
|
|
1076
|
+
async_dynamic_options_evaluator_1.default.reset(visualizationID);
|
|
1077
|
+
}
|
|
1078
|
+
}; // eslint-disable-next-line react-hooks/exhaustive-deps
|
|
1079
|
+
}, []); // present warning message if any required props are missing
|
|
1005
1080
|
|
|
1006
1081
|
var _vizConfig$requiredPr = vizConfig.requiredProps,
|
|
1007
1082
|
requiredProps = _vizConfig$requiredPr === void 0 ? [] : _vizConfig$requiredPr,
|
|
1008
1083
|
supports = vizConfig.supports;
|
|
1009
|
-
var missing = MissingPropsMessage_1.missingKeys(requiredProps,
|
|
1084
|
+
var missing = MissingPropsMessage_1.missingKeys(requiredProps, evaluatedOptionsToUse);
|
|
1010
1085
|
|
|
1011
1086
|
if (missing.length > 0 && supports.includes(VizBehavior_1.VizBehavior.PLACEHOLDER)) {
|
|
1012
1087
|
return React.createElement(MissingPropsMessage_1.default, {
|
|
@@ -1033,7 +1108,7 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
1033
1108
|
|
|
1034
1109
|
if (Array.isArray(payloadKeys) && payloadKeys.length) {
|
|
1035
1110
|
payloadKeys.forEach(function (p) {
|
|
1036
|
-
payload[p] =
|
|
1111
|
+
payload[p] = evaluatedOptionsToUse[p];
|
|
1037
1112
|
});
|
|
1038
1113
|
}
|
|
1039
1114
|
|
|
@@ -1052,7 +1127,7 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
1052
1127
|
} // compute pure viz props which are not from options
|
|
1053
1128
|
|
|
1054
1129
|
|
|
1055
|
-
var computedVizProps = computeVizProps(Object.assign(Object.assign(Object.assign(Object.assign({}, props),
|
|
1130
|
+
var computedVizProps = computeVizProps(Object.assign(Object.assign(Object.assign(Object.assign({}, props), evaluatedOptionsToUse), eventCallbackProps), {
|
|
1056
1131
|
themeFunc: themeFunc
|
|
1057
1132
|
}));
|
|
1058
1133
|
/**
|
|
@@ -1072,7 +1147,7 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
1072
1147
|
|
|
1073
1148
|
var dataSourceMetadata = {};
|
|
1074
1149
|
var OptionKey = 'paginateDataSourceKey';
|
|
1075
|
-
var paginateDataSourceKey = lodash_1.has(
|
|
1150
|
+
var paginateDataSourceKey = lodash_1.has(evaluatedOptionsToUse, OptionKey) && evaluatedOptionsToUse[OptionKey] || 'primary';
|
|
1076
1151
|
|
|
1077
1152
|
if (vizConfig.supports.indexOf(VizBehavior_1.VizBehavior.PAGE_AND_SORT) > -1 && lodash_1.has(dataSources, paginateDataSourceKey)) {
|
|
1078
1153
|
var requestParams = lodash_1.get(dataSources, [paginateDataSourceKey, 'requestParams'], {});
|
|
@@ -1102,7 +1177,7 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
1102
1177
|
mode: mode,
|
|
1103
1178
|
width: width,
|
|
1104
1179
|
height: height
|
|
1105
|
-
},
|
|
1180
|
+
}, evaluatedOptionsToUse, computedVizProps, eventCallbackProps, dataSourceMetadata));
|
|
1106
1181
|
};
|
|
1107
1182
|
|
|
1108
1183
|
DashboardViz.propTypes = Object.assign(Object.assign({}, SplunkVisualization_1.default.propTypes), ReactViz.propTypes);
|
|
@@ -1119,31 +1194,37 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
1119
1194
|
exports.default = withDashboardViz;
|
|
1120
1195
|
|
|
1121
1196
|
/***/ }),
|
|
1122
|
-
/*
|
|
1197
|
+
/* 36 */
|
|
1123
1198
|
/***/ (function(module, exports) {
|
|
1124
1199
|
|
|
1125
1200
|
module.exports = require("@splunk/themes/getSettingsFromThemedProps");
|
|
1126
1201
|
|
|
1127
1202
|
/***/ }),
|
|
1128
|
-
/*
|
|
1203
|
+
/* 37 */
|
|
1129
1204
|
/***/ (function(module, exports) {
|
|
1130
1205
|
|
|
1131
1206
|
module.exports = require("@splunk/visualization-encoding/Options");
|
|
1132
1207
|
|
|
1133
1208
|
/***/ }),
|
|
1134
|
-
/*
|
|
1209
|
+
/* 38 */
|
|
1135
1210
|
/***/ (function(module, exports) {
|
|
1136
1211
|
|
|
1137
1212
|
module.exports = require("@splunk/visualizations-shared/SanitizeProps");
|
|
1138
1213
|
|
|
1139
1214
|
/***/ }),
|
|
1140
|
-
/*
|
|
1215
|
+
/* 39 */
|
|
1141
1216
|
/***/ (function(module, exports) {
|
|
1142
1217
|
|
|
1143
1218
|
module.exports = require("@splunk/moment");
|
|
1144
1219
|
|
|
1145
1220
|
/***/ }),
|
|
1146
|
-
/*
|
|
1221
|
+
/* 40 */
|
|
1222
|
+
/***/ (function(module, exports) {
|
|
1223
|
+
|
|
1224
|
+
module.exports = require("@splunk/async-dynamic-options-evaluator");
|
|
1225
|
+
|
|
1226
|
+
/***/ }),
|
|
1227
|
+
/* 41 */
|
|
1147
1228
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1148
1229
|
|
|
1149
1230
|
"use strict";
|
|
@@ -1161,7 +1242,7 @@ var T = __webpack_require__(0);
|
|
|
1161
1242
|
|
|
1162
1243
|
var lodash_1 = __webpack_require__(3);
|
|
1163
1244
|
|
|
1164
|
-
var VizActionHandler_1 = __webpack_require__(
|
|
1245
|
+
var VizActionHandler_1 = __webpack_require__(42); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
|
|
1165
1246
|
|
|
1166
1247
|
|
|
1167
1248
|
exports.INITIAL_WIDTH = 250;
|
|
@@ -1294,7 +1375,7 @@ SplunkVisualization.defaultProps = {
|
|
|
1294
1375
|
exports.default = SplunkVisualization;
|
|
1295
1376
|
|
|
1296
1377
|
/***/ }),
|
|
1297
|
-
/*
|
|
1378
|
+
/* 42 */
|
|
1298
1379
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1299
1380
|
|
|
1300
1381
|
"use strict";
|
|
@@ -1302,7 +1383,7 @@ exports.default = SplunkVisualization;
|
|
|
1302
1383
|
|
|
1303
1384
|
var _classCallCheck = __webpack_require__(11);
|
|
1304
1385
|
|
|
1305
|
-
var _createClass = __webpack_require__(
|
|
1386
|
+
var _createClass = __webpack_require__(20);
|
|
1306
1387
|
|
|
1307
1388
|
Object.defineProperty(exports, "__esModule", {
|
|
1308
1389
|
value: true
|
|
@@ -1331,7 +1412,7 @@ var DefaultVizActionHandler = /*#__PURE__*/function () {
|
|
|
1331
1412
|
exports.DefaultVizActionHandler = DefaultVizActionHandler;
|
|
1332
1413
|
|
|
1333
1414
|
/***/ }),
|
|
1334
|
-
/*
|
|
1415
|
+
/* 43 */
|
|
1335
1416
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1336
1417
|
|
|
1337
1418
|
"use strict";
|
|
@@ -1344,7 +1425,7 @@ exports.validSortDirs = void 0;
|
|
|
1344
1425
|
exports.validSortDirs = ['asc', 'desc', 'none'];
|
|
1345
1426
|
|
|
1346
1427
|
/***/ }),
|
|
1347
|
-
/*
|
|
1428
|
+
/* 44 */
|
|
1348
1429
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1349
1430
|
|
|
1350
1431
|
"use strict";
|
|
@@ -1389,7 +1470,7 @@ var useDeepMemo = function useDeepMemo(fn, dependencies) {
|
|
|
1389
1470
|
exports.useDeepMemo = useDeepMemo;
|
|
1390
1471
|
|
|
1391
1472
|
/***/ }),
|
|
1392
|
-
/*
|
|
1473
|
+
/* 45 */
|
|
1393
1474
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1394
1475
|
|
|
1395
1476
|
"use strict";
|
|
@@ -1469,7 +1550,7 @@ exports.MissingPropsMessage.defaultProps = {
|
|
|
1469
1550
|
exports.default = FixedSizeContainer_1.default(exports.MissingPropsMessage);
|
|
1470
1551
|
|
|
1471
1552
|
/***/ }),
|
|
1472
|
-
/*
|
|
1553
|
+
/* 46 */
|
|
1473
1554
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1474
1555
|
|
|
1475
1556
|
"use strict";
|
|
@@ -1490,7 +1571,7 @@ var Cover = styled_components_1.default.div.withConfig({
|
|
|
1490
1571
|
componentId: "sc-1gsbnxb-0"
|
|
1491
1572
|
})(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
|
|
1492
1573
|
var Blocker = styled_components_1.default.div.attrs({
|
|
1493
|
-
'data-splunk-visualization-version': "25.
|
|
1574
|
+
'data-splunk-visualization-version': "25.6.0 - f5eb3abf9"
|
|
1494
1575
|
}).withConfig({
|
|
1495
1576
|
displayName: "withEditModeCover__Blocker",
|
|
1496
1577
|
componentId: "sc-1gsbnxb-1"
|
|
@@ -1521,7 +1602,7 @@ var withEditModeCover = function withEditModeCover(Visualization, disableEditMod
|
|
|
1521
1602
|
exports.default = withEditModeCover;
|
|
1522
1603
|
|
|
1523
1604
|
/***/ }),
|
|
1524
|
-
/*
|
|
1605
|
+
/* 47 */
|
|
1525
1606
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1526
1607
|
|
|
1527
1608
|
"use strict";
|
|
@@ -1537,7 +1618,7 @@ var colorUtils_1 = __webpack_require__(12);
|
|
|
1537
1618
|
|
|
1538
1619
|
var variables_1 = __webpack_require__(9);
|
|
1539
1620
|
|
|
1540
|
-
var IconPlaceholder_1 = __webpack_require__(
|
|
1621
|
+
var IconPlaceholder_1 = __webpack_require__(30);
|
|
1541
1622
|
|
|
1542
1623
|
var VizBehavior_1 = __webpack_require__(6);
|
|
1543
1624
|
|
|
@@ -1585,25 +1666,21 @@ var withPlaceholder = function withPlaceholder(Visualization) {
|
|
|
1585
1666
|
exports.default = withPlaceholder;
|
|
1586
1667
|
|
|
1587
1668
|
/***/ }),
|
|
1588
|
-
/* 44 */,
|
|
1589
|
-
/* 45 */,
|
|
1590
|
-
/* 46 */,
|
|
1591
|
-
/* 47 */,
|
|
1592
1669
|
/* 48 */,
|
|
1593
1670
|
/* 49 */,
|
|
1594
1671
|
/* 50 */,
|
|
1595
1672
|
/* 51 */,
|
|
1596
1673
|
/* 52 */,
|
|
1597
1674
|
/* 53 */,
|
|
1598
|
-
/* 54
|
|
1675
|
+
/* 54 */,
|
|
1676
|
+
/* 55 */,
|
|
1677
|
+
/* 56 */,
|
|
1678
|
+
/* 57 */
|
|
1599
1679
|
/***/ (function(module, exports) {
|
|
1600
1680
|
|
|
1601
1681
|
module.exports = require("@splunk/visualization-color-palettes/editors/PresetPalettes");
|
|
1602
1682
|
|
|
1603
1683
|
/***/ }),
|
|
1604
|
-
/* 55 */,
|
|
1605
|
-
/* 56 */,
|
|
1606
|
-
/* 57 */,
|
|
1607
1684
|
/* 58 */,
|
|
1608
1685
|
/* 59 */,
|
|
1609
1686
|
/* 60 */,
|
|
@@ -1650,7 +1727,9 @@ module.exports = require("@splunk/visualization-color-palettes/editors/PresetPal
|
|
|
1650
1727
|
/* 101 */,
|
|
1651
1728
|
/* 102 */,
|
|
1652
1729
|
/* 103 */,
|
|
1653
|
-
/* 104
|
|
1730
|
+
/* 104 */,
|
|
1731
|
+
/* 105 */,
|
|
1732
|
+
/* 106 */
|
|
1654
1733
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1655
1734
|
|
|
1656
1735
|
"use strict";
|
|
@@ -1663,7 +1742,7 @@ exports.getDynamicFillColorEditor = void 0;
|
|
|
1663
1742
|
|
|
1664
1743
|
var i18n_1 = __webpack_require__(2);
|
|
1665
1744
|
|
|
1666
|
-
var configUtils_1 = __webpack_require__(
|
|
1745
|
+
var configUtils_1 = __webpack_require__(19);
|
|
1667
1746
|
|
|
1668
1747
|
var getDynamicFillColorEditor = function getDynamicFillColorEditor(_ref) {
|
|
1669
1748
|
var defaultContext = _ref.defaultContext,
|
|
@@ -1705,7 +1784,7 @@ var getDynamicFillColorEditor = function getDynamicFillColorEditor(_ref) {
|
|
|
1705
1784
|
exports.getDynamicFillColorEditor = getDynamicFillColorEditor;
|
|
1706
1785
|
|
|
1707
1786
|
/***/ }),
|
|
1708
|
-
/*
|
|
1787
|
+
/* 107 */
|
|
1709
1788
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1710
1789
|
|
|
1711
1790
|
"use strict";
|
|
@@ -1718,7 +1797,7 @@ exports.getDynamicStrokeColorEditor = void 0;
|
|
|
1718
1797
|
|
|
1719
1798
|
var i18n_1 = __webpack_require__(2);
|
|
1720
1799
|
|
|
1721
|
-
var configUtils_1 = __webpack_require__(
|
|
1800
|
+
var configUtils_1 = __webpack_require__(19);
|
|
1722
1801
|
|
|
1723
1802
|
var getDynamicStrokeColorEditor = function getDynamicStrokeColorEditor(_ref) {
|
|
1724
1803
|
var defaultContext = _ref.defaultContext,
|
|
@@ -1760,7 +1839,7 @@ var getDynamicStrokeColorEditor = function getDynamicStrokeColorEditor(_ref) {
|
|
|
1760
1839
|
exports.getDynamicStrokeColorEditor = getDynamicStrokeColorEditor;
|
|
1761
1840
|
|
|
1762
1841
|
/***/ }),
|
|
1763
|
-
/*
|
|
1842
|
+
/* 108 */
|
|
1764
1843
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1765
1844
|
|
|
1766
1845
|
"use strict";
|
|
@@ -1772,7 +1851,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1772
1851
|
|
|
1773
1852
|
var i18n_1 = __webpack_require__(2);
|
|
1774
1853
|
|
|
1775
|
-
var configUtils_1 = __webpack_require__(
|
|
1854
|
+
var configUtils_1 = __webpack_require__(19);
|
|
1776
1855
|
|
|
1777
1856
|
var StaticFillColorEditor = {
|
|
1778
1857
|
label: i18n_1._('Fill'),
|
|
@@ -1786,7 +1865,7 @@ var StaticFillColorEditor = {
|
|
|
1786
1865
|
exports.default = StaticFillColorEditor;
|
|
1787
1866
|
|
|
1788
1867
|
/***/ }),
|
|
1789
|
-
/*
|
|
1868
|
+
/* 109 */
|
|
1790
1869
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1791
1870
|
|
|
1792
1871
|
"use strict";
|
|
@@ -1798,7 +1877,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1798
1877
|
|
|
1799
1878
|
var i18n_1 = __webpack_require__(2);
|
|
1800
1879
|
|
|
1801
|
-
var configUtils_1 = __webpack_require__(
|
|
1880
|
+
var configUtils_1 = __webpack_require__(19);
|
|
1802
1881
|
|
|
1803
1882
|
var StaticStrokeColorEditor = {
|
|
1804
1883
|
label: i18n_1._('Stroke'),
|
|
@@ -1812,7 +1891,7 @@ var StaticStrokeColorEditor = {
|
|
|
1812
1891
|
exports.default = StaticStrokeColorEditor;
|
|
1813
1892
|
|
|
1814
1893
|
/***/ }),
|
|
1815
|
-
/*
|
|
1894
|
+
/* 110 */
|
|
1816
1895
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1817
1896
|
|
|
1818
1897
|
"use strict";
|
|
@@ -1827,11 +1906,11 @@ var lodash_1 = __webpack_require__(3);
|
|
|
1827
1906
|
|
|
1828
1907
|
var styled_components_1 = __webpack_require__(4);
|
|
1829
1908
|
|
|
1830
|
-
var pick_1 = __webpack_require__(
|
|
1909
|
+
var pick_1 = __webpack_require__(22);
|
|
1831
1910
|
|
|
1832
1911
|
var variables_1 = __webpack_require__(9);
|
|
1833
1912
|
|
|
1834
|
-
var propUtils_1 = __webpack_require__(
|
|
1913
|
+
var propUtils_1 = __webpack_require__(25); // map for new options names to old option names
|
|
1835
1914
|
|
|
1836
1915
|
|
|
1837
1916
|
var shapeOptionsMapping = {
|
|
@@ -1888,8 +1967,6 @@ var getStyledShape = function getStyledShape(shape) {
|
|
|
1888
1967
|
exports.getStyledShape = getStyledShape;
|
|
1889
1968
|
|
|
1890
1969
|
/***/ }),
|
|
1891
|
-
/* 109 */,
|
|
1892
|
-
/* 110 */,
|
|
1893
1970
|
/* 111 */,
|
|
1894
1971
|
/* 112 */,
|
|
1895
1972
|
/* 113 */,
|
|
@@ -1910,7 +1987,13 @@ exports.getStyledShape = getStyledShape;
|
|
|
1910
1987
|
/* 128 */,
|
|
1911
1988
|
/* 129 */,
|
|
1912
1989
|
/* 130 */,
|
|
1913
|
-
/* 131
|
|
1990
|
+
/* 131 */,
|
|
1991
|
+
/* 132 */,
|
|
1992
|
+
/* 133 */,
|
|
1993
|
+
/* 134 */,
|
|
1994
|
+
/* 135 */,
|
|
1995
|
+
/* 136 */,
|
|
1996
|
+
/* 137 */
|
|
1914
1997
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1915
1998
|
|
|
1916
1999
|
"use strict";
|
|
@@ -1942,13 +2025,13 @@ var styled_components_1 = __webpack_require__(4);
|
|
|
1942
2025
|
|
|
1943
2026
|
var T = __webpack_require__(0);
|
|
1944
2027
|
|
|
1945
|
-
var config_1 = __webpack_require__(
|
|
2028
|
+
var config_1 = __webpack_require__(188);
|
|
1946
2029
|
|
|
1947
2030
|
exports.config = config_1.default;
|
|
1948
2031
|
|
|
1949
|
-
var withDashboardViz_1 = __webpack_require__(
|
|
2032
|
+
var withDashboardViz_1 = __webpack_require__(35);
|
|
1950
2033
|
|
|
1951
|
-
var shapeUtils_1 = __webpack_require__(
|
|
2034
|
+
var shapeUtils_1 = __webpack_require__(110);
|
|
1952
2035
|
|
|
1953
2036
|
var validOptions = Object.keys(config_1.default.optionsSchema);
|
|
1954
2037
|
var SVGContainer = styled_components_1.default.svg.withConfig({
|
|
@@ -2017,12 +2100,6 @@ exports.themes = themes;
|
|
|
2017
2100
|
exports.default = Ellipse;
|
|
2018
2101
|
|
|
2019
2102
|
/***/ }),
|
|
2020
|
-
/* 132 */,
|
|
2021
|
-
/* 133 */,
|
|
2022
|
-
/* 134 */,
|
|
2023
|
-
/* 135 */,
|
|
2024
|
-
/* 136 */,
|
|
2025
|
-
/* 137 */,
|
|
2026
2103
|
/* 138 */,
|
|
2027
2104
|
/* 139 */,
|
|
2028
2105
|
/* 140 */,
|
|
@@ -2066,7 +2143,13 @@ exports.default = Ellipse;
|
|
|
2066
2143
|
/* 178 */,
|
|
2067
2144
|
/* 179 */,
|
|
2068
2145
|
/* 180 */,
|
|
2069
|
-
/* 181
|
|
2146
|
+
/* 181 */,
|
|
2147
|
+
/* 182 */,
|
|
2148
|
+
/* 183 */,
|
|
2149
|
+
/* 184 */,
|
|
2150
|
+
/* 185 */,
|
|
2151
|
+
/* 186 */,
|
|
2152
|
+
/* 187 */
|
|
2070
2153
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2071
2154
|
|
|
2072
2155
|
"use strict";
|
|
@@ -2096,9 +2179,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2096
2179
|
});
|
|
2097
2180
|
exports.default = void 0;
|
|
2098
2181
|
|
|
2099
|
-
__exportStar(__webpack_require__(
|
|
2182
|
+
__exportStar(__webpack_require__(137), exports);
|
|
2100
2183
|
|
|
2101
|
-
var Ellipse_1 = __webpack_require__(
|
|
2184
|
+
var Ellipse_1 = __webpack_require__(137);
|
|
2102
2185
|
|
|
2103
2186
|
Object.defineProperty(exports, "default", {
|
|
2104
2187
|
enumerable: true,
|
|
@@ -2108,7 +2191,7 @@ Object.defineProperty(exports, "default", {
|
|
|
2108
2191
|
});
|
|
2109
2192
|
|
|
2110
2193
|
/***/ }),
|
|
2111
|
-
/*
|
|
2194
|
+
/* 188 */
|
|
2112
2195
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2113
2196
|
|
|
2114
2197
|
"use strict";
|
|
@@ -2120,25 +2203,25 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2120
2203
|
|
|
2121
2204
|
var i18n_1 = __webpack_require__(2);
|
|
2122
2205
|
|
|
2123
|
-
var PresetPalettes_1 = __webpack_require__(
|
|
2206
|
+
var PresetPalettes_1 = __webpack_require__(57);
|
|
2124
2207
|
|
|
2125
|
-
var pick_1 = __webpack_require__(
|
|
2208
|
+
var pick_1 = __webpack_require__(22);
|
|
2126
2209
|
|
|
2127
2210
|
var variables_1 = __webpack_require__(9);
|
|
2128
2211
|
|
|
2129
2212
|
var VizBehavior_1 = __webpack_require__(6);
|
|
2130
2213
|
|
|
2131
|
-
var VizCategory_1 = __webpack_require__(
|
|
2214
|
+
var VizCategory_1 = __webpack_require__(34);
|
|
2132
2215
|
|
|
2133
|
-
var configUtils_1 = __webpack_require__(
|
|
2216
|
+
var configUtils_1 = __webpack_require__(18);
|
|
2134
2217
|
|
|
2135
|
-
var DynamicFillColorEditor_1 = __webpack_require__(
|
|
2218
|
+
var DynamicFillColorEditor_1 = __webpack_require__(106);
|
|
2136
2219
|
|
|
2137
|
-
var DynamicStrokeColorEditor_1 = __webpack_require__(
|
|
2220
|
+
var DynamicStrokeColorEditor_1 = __webpack_require__(107);
|
|
2138
2221
|
|
|
2139
|
-
var StaticFillColorEditor_1 = __webpack_require__(
|
|
2222
|
+
var StaticFillColorEditor_1 = __webpack_require__(108);
|
|
2140
2223
|
|
|
2141
|
-
var StaticStrokeColorEditor_1 = __webpack_require__(
|
|
2224
|
+
var StaticStrokeColorEditor_1 = __webpack_require__(109);
|
|
2142
2225
|
|
|
2143
2226
|
var dataContract = {
|
|
2144
2227
|
requiredDataSources: [],
|