@splunk/visualizations 24.4.0 → 24.5.2
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_VisualizationEditors_Editors_Area_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Bar_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Bubble_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_ChoroplethSvg_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Column_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Ellipse_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_FillerGauge_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Image_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Line_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_LinkGraph_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Map_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Markdown_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_MarkerGauge_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Parallel_Coordinates_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Pie_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Punchcard_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Rectangle_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Sankey_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Scatter_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Single_Value_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Single_Value_Icon_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Single_Value_Radial_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Table_Editor.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Choropleth_Svg_Choropleth_Svg_Placeholder_If_No_Svg_And_No_Data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Bubble_Layer_Geostats_By_GET_Dynamic_Coloring.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Bubble_Layer_Geostats_By_Internal_Fields.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Bubble_Layer_Geostats_By_Mostly_null.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Bubble_Layer_Geostats_Dynamic_Coloring.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Marker_layer.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Marker_layer_Dynamic_coloring.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Marker_layer_Result_Limit_Set_To_3.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Markdown_Markdown_Background_Color_af575a.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Markdown_Markdown_Basic_Markdown.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Markdown_Markdown_Begin_with_Text_Instead_of_Header.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Markdown_Markdown_Font_Color_purple.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Markdown_Markdown_Font_Size_extraLarge.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_Placeholder_if_empty_columns_and_fields.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_Placeholder_if_invalid_label_data_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_Placeholder_if_invalid_value_data_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_Placeholder_if_missing_column.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Use_Time_Type_Series_Data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Use_Time_Type_Series_Data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Cell_Types.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Header_Visibility_fixed.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Sparkline.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Sparkline_Custom.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Sparklines_Adv.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Time_Zone_Time_Formatting.png +0 -0
- package/Area.js +246 -218
- package/Area.js.map +1 -1
- package/Bar.js +238 -210
- package/Bar.js.map +1 -1
- package/Bubble.js +231 -203
- package/Bubble.js.map +1 -1
- package/ChoroplethSvg.js +230 -197
- package/ChoroplethSvg.js.map +1 -1
- package/Column.js +238 -210
- package/Column.js.map +1 -1
- package/Ellipse.js +203 -170
- package/Ellipse.js.map +1 -1
- package/FillerGauge.js +222 -189
- package/FillerGauge.js.map +1 -1
- package/Image.js +199 -164
- package/Image.js.map +1 -1
- package/Line.js +239 -211
- package/Line.js.map +1 -1
- package/LinkGraph.js +264 -223
- package/LinkGraph.js.map +1 -1
- package/Map.config.js +39 -25
- package/Map.config.js.map +1 -1
- package/Map.js +460 -334
- package/Map.js.map +1 -1
- package/Markdown.config.js +29 -1
- package/Markdown.config.js.map +1 -1
- package/Markdown.js +513 -267
- package/Markdown.js.map +1 -1
- package/MarkerGauge.js +941 -906
- package/MarkerGauge.js.map +1 -1
- package/ParallelCoordinates.js +230 -196
- package/ParallelCoordinates.js.map +1 -1
- package/Pie.js +309 -249
- package/Pie.js.map +1 -1
- package/Punchcard.js +263 -229
- package/Punchcard.js.map +1 -1
- package/Rectangle.js +217 -182
- package/Rectangle.js.map +1 -1
- package/Sankey.js +269 -230
- package/Sankey.js.map +1 -1
- package/Scatter.js +314 -286
- package/Scatter.js.map +1 -1
- package/SingleValue.js +398 -363
- package/SingleValue.js.map +1 -1
- package/SingleValueBasic.js +25 -25
- package/SingleValueBasic.js.map +1 -1
- package/SingleValueIcon.js +2821 -2653
- package/SingleValueIcon.js.map +1 -1
- package/SingleValueRadial.js +359 -324
- package/SingleValueRadial.js.map +1 -1
- package/Table.config.js +2 -1
- package/Table.config.js.map +1 -1
- package/Table.js +629 -347
- package/Table.js.map +1 -1
- package/common/Charting.js +21 -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 +18 -18
- package/common/EventsDoc.js.map +1 -1
- package/common/GaugeMajorTicks.js +10 -10
- package/common/GaugeMajorTicks.js.map +1 -1
- package/common/GaugeValueMarker.js +10 -10
- package/common/GaugeValueMarker.js.map +1 -1
- package/common/OptionsDoc.js +217 -174
- package/common/OptionsDoc.js.map +1 -1
- package/common/SplunkVisualization.js +4 -4
- package/common/SplunkVisualization.js.map +1 -1
- package/common/ThemesDoc.js +26 -26
- package/common/ThemesDoc.js.map +1 -1
- package/common/chartingUtils.js +3 -3
- package/common/chartingUtils.js.map +1 -1
- package/common/gaugeUtils.js +2 -2
- package/common/shapeUtils.js +2 -2
- package/common/withDashboardViz.js +80 -48
- package/common/withDashboardViz.js.map +1 -1
- package/package.json +13 -11
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 = 229);
|
|
91
91
|
/******/ })
|
|
92
92
|
/************************************************************************/
|
|
93
93
|
/******/ ([
|
|
@@ -164,7 +164,7 @@ var VizBehavior;
|
|
|
164
164
|
"use strict";
|
|
165
165
|
|
|
166
166
|
|
|
167
|
-
var _defineProperty = __webpack_require__(
|
|
167
|
+
var _defineProperty = __webpack_require__(7);
|
|
168
168
|
|
|
169
169
|
var __rest = this && this.__rest || function (s, e) {
|
|
170
170
|
var t = {};
|
|
@@ -350,12 +350,18 @@ exports.generatePrecisionValues = generatePrecisionValues;
|
|
|
350
350
|
|
|
351
351
|
/***/ }),
|
|
352
352
|
/* 7 */
|
|
353
|
+
/***/ (function(module, exports) {
|
|
354
|
+
|
|
355
|
+
module.exports = require("@babel/runtime/helpers/defineProperty");
|
|
356
|
+
|
|
357
|
+
/***/ }),
|
|
358
|
+
/* 8 */
|
|
353
359
|
/***/ (function(module, exports, __webpack_require__) {
|
|
354
360
|
|
|
355
361
|
"use strict";
|
|
356
362
|
|
|
357
363
|
|
|
358
|
-
var _typeof = __webpack_require__(
|
|
364
|
+
var _typeof = __webpack_require__(21);
|
|
359
365
|
|
|
360
366
|
Object.defineProperty(exports, "__esModule", {
|
|
361
367
|
value: true
|
|
@@ -476,12 +482,6 @@ var findClosestMatchFromDefaultList = function findClosestMatchFromDefaultList(s
|
|
|
476
482
|
|
|
477
483
|
exports.findClosestMatchFromDefaultList = findClosestMatchFromDefaultList;
|
|
478
484
|
|
|
479
|
-
/***/ }),
|
|
480
|
-
/* 8 */
|
|
481
|
-
/***/ (function(module, exports) {
|
|
482
|
-
|
|
483
|
-
module.exports = require("@babel/runtime/helpers/defineProperty");
|
|
484
|
-
|
|
485
485
|
/***/ }),
|
|
486
486
|
/* 9 */
|
|
487
487
|
/***/ (function(module, exports) {
|
|
@@ -582,7 +582,7 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
|
|
|
582
582
|
|
|
583
583
|
return React.createElement(FixSizeItem, {
|
|
584
584
|
"data-test": "fix-size-item",
|
|
585
|
-
"data-splunk-visualization-version": "24.
|
|
585
|
+
"data-splunk-visualization-version": "24.5.2 - c5ebe25a8",
|
|
586
586
|
width: width,
|
|
587
587
|
height: height,
|
|
588
588
|
backgroundColor: backgroundColor
|
|
@@ -628,26 +628,32 @@ module.exports = require("@splunk/visualizations-shared/SizeAwareWrapper");
|
|
|
628
628
|
|
|
629
629
|
/***/ }),
|
|
630
630
|
/* 18 */,
|
|
631
|
-
/* 19
|
|
632
|
-
/* 20 */
|
|
631
|
+
/* 19 */
|
|
633
632
|
/***/ (function(module, exports) {
|
|
634
633
|
|
|
635
|
-
module.exports = require("@
|
|
634
|
+
module.exports = require("@splunk/visualization-context/TimezoneContext");
|
|
636
635
|
|
|
637
636
|
/***/ }),
|
|
637
|
+
/* 20 */,
|
|
638
638
|
/* 21 */
|
|
639
639
|
/***/ (function(module, exports) {
|
|
640
640
|
|
|
641
|
-
module.exports = require("@
|
|
641
|
+
module.exports = require("@babel/runtime/helpers/typeof");
|
|
642
642
|
|
|
643
643
|
/***/ }),
|
|
644
644
|
/* 22 */
|
|
645
645
|
/***/ (function(module, exports) {
|
|
646
646
|
|
|
647
|
-
module.exports = require("@splunk/
|
|
647
|
+
module.exports = require("@splunk/themes/pick");
|
|
648
648
|
|
|
649
649
|
/***/ }),
|
|
650
650
|
/* 23 */
|
|
651
|
+
/***/ (function(module, exports) {
|
|
652
|
+
|
|
653
|
+
module.exports = require("@splunk/visualizations-shared/numberUtils");
|
|
654
|
+
|
|
655
|
+
/***/ }),
|
|
656
|
+
/* 24 */
|
|
651
657
|
/***/ (function(module, exports, __webpack_require__) {
|
|
652
658
|
|
|
653
659
|
"use strict";
|
|
@@ -680,13 +686,104 @@ var pickFieldFromJSONSchema = function pickFieldFromJSONSchema(optionsSchema) {
|
|
|
680
686
|
exports.pickFieldFromJSONSchema = pickFieldFromJSONSchema;
|
|
681
687
|
|
|
682
688
|
/***/ }),
|
|
683
|
-
/*
|
|
689
|
+
/* 25 */
|
|
690
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
691
|
+
|
|
692
|
+
"use strict";
|
|
693
|
+
|
|
694
|
+
|
|
695
|
+
Object.defineProperty(exports, "__esModule", {
|
|
696
|
+
value: true
|
|
697
|
+
});
|
|
698
|
+
exports.shouldShowIconPlaceholder = void 0;
|
|
699
|
+
|
|
700
|
+
var React = __webpack_require__(1);
|
|
701
|
+
|
|
702
|
+
var T = __webpack_require__(0);
|
|
703
|
+
|
|
704
|
+
var lodash_1 = __webpack_require__(2);
|
|
705
|
+
|
|
706
|
+
var i18n_1 = __webpack_require__(3);
|
|
707
|
+
|
|
708
|
+
var Message_1 = __webpack_require__(9);
|
|
709
|
+
|
|
710
|
+
var FixedSizeContainer_1 = __webpack_require__(13);
|
|
711
|
+
/**
|
|
712
|
+
* @method shouldShowIconPlaceholder
|
|
713
|
+
* @param {object} dataSources
|
|
714
|
+
* @param {boolean} loading
|
|
715
|
+
* @returns {boolean}
|
|
716
|
+
*/
|
|
717
|
+
|
|
718
|
+
|
|
719
|
+
var shouldShowIconPlaceholder = function shouldShowIconPlaceholder(dataSources) {
|
|
720
|
+
var loading = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
721
|
+
var data = lodash_1.get(dataSources, 'primary.data.columns[0]', undefined);
|
|
722
|
+
var noData = data === undefined;
|
|
723
|
+
var fields = lodash_1.get(dataSources, 'primary.data.fields[0]', undefined);
|
|
724
|
+
var noFields = fields === undefined;
|
|
725
|
+
return loading || noData || noFields;
|
|
726
|
+
};
|
|
727
|
+
|
|
728
|
+
exports.shouldShowIconPlaceholder = shouldShowIconPlaceholder;
|
|
729
|
+
var propTypes = {
|
|
730
|
+
icon: T.func,
|
|
731
|
+
width: T.oneOfType([T.string, T.number]),
|
|
732
|
+
height: T.oneOfType([T.string, T.number]),
|
|
733
|
+
// eslint-disable-next-line react/no-unused-prop-types
|
|
734
|
+
backgroundColor: T.string,
|
|
735
|
+
iconColor: T.string
|
|
736
|
+
};
|
|
737
|
+
/**
|
|
738
|
+
* @method IconPlaceholder
|
|
739
|
+
* @param {IconPlaceholderProps} props
|
|
740
|
+
* @returns {React.ReactElement}
|
|
741
|
+
*/
|
|
742
|
+
|
|
743
|
+
var IconPlaceholder = function IconPlaceholder(props) {
|
|
744
|
+
var width = props.width,
|
|
745
|
+
height = props.height,
|
|
746
|
+
icon = props.icon,
|
|
747
|
+
iconColor = props.iconColor;
|
|
748
|
+
|
|
749
|
+
if (icon) {
|
|
750
|
+
return React.createElement(icon, {
|
|
751
|
+
style: {
|
|
752
|
+
left: '50%',
|
|
753
|
+
top: '50%',
|
|
754
|
+
color: iconColor,
|
|
755
|
+
opacity: 0.15,
|
|
756
|
+
position: 'absolute',
|
|
757
|
+
transform: 'translate(-50%, -50%)'
|
|
758
|
+
},
|
|
759
|
+
width: '50%',
|
|
760
|
+
height: '50%'
|
|
761
|
+
});
|
|
762
|
+
}
|
|
763
|
+
|
|
764
|
+
return React.createElement(Message_1.default, {
|
|
765
|
+
width: width,
|
|
766
|
+
height: height,
|
|
767
|
+
level: "warning",
|
|
768
|
+
message: i18n_1._('No DataSource Connected')
|
|
769
|
+
});
|
|
770
|
+
};
|
|
771
|
+
|
|
772
|
+
IconPlaceholder.propTypes = propTypes;
|
|
773
|
+
IconPlaceholder.defaultProps = {
|
|
774
|
+
width: '100%',
|
|
775
|
+
height: 250
|
|
776
|
+
};
|
|
777
|
+
exports.default = FixedSizeContainer_1.default(IconPlaceholder);
|
|
778
|
+
|
|
779
|
+
/***/ }),
|
|
780
|
+
/* 26 */
|
|
684
781
|
/***/ (function(module, exports, __webpack_require__) {
|
|
685
782
|
|
|
686
783
|
"use strict";
|
|
687
784
|
|
|
688
785
|
|
|
689
|
-
var _defineProperty = __webpack_require__(
|
|
786
|
+
var _defineProperty = __webpack_require__(7);
|
|
690
787
|
|
|
691
788
|
Object.defineProperty(exports, "__esModule", {
|
|
692
789
|
value: true
|
|
@@ -697,7 +794,7 @@ var T = __webpack_require__(0);
|
|
|
697
794
|
|
|
698
795
|
var lodash_1 = __webpack_require__(2);
|
|
699
796
|
|
|
700
|
-
var DataSource_1 = __webpack_require__(
|
|
797
|
+
var DataSource_1 = __webpack_require__(36);
|
|
701
798
|
|
|
702
799
|
exports.SortParamsPropTypes = T.shape({
|
|
703
800
|
currentSortKey: T.string,
|
|
@@ -750,7 +847,7 @@ var getSortingParams = function getSortingParams(_ref) {
|
|
|
750
847
|
exports.getSortingParams = getSortingParams;
|
|
751
848
|
|
|
752
849
|
/***/ }),
|
|
753
|
-
/*
|
|
850
|
+
/* 27 */
|
|
754
851
|
/***/ (function(module, exports, __webpack_require__) {
|
|
755
852
|
|
|
756
853
|
"use strict";
|
|
@@ -814,98 +911,7 @@ var getPaginationParams = function getPaginationParams(_ref) {
|
|
|
814
911
|
exports.getPaginationParams = getPaginationParams;
|
|
815
912
|
|
|
816
913
|
/***/ }),
|
|
817
|
-
/*
|
|
818
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
819
|
-
|
|
820
|
-
"use strict";
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
Object.defineProperty(exports, "__esModule", {
|
|
824
|
-
value: true
|
|
825
|
-
});
|
|
826
|
-
exports.shouldShowIconPlaceholder = void 0;
|
|
827
|
-
|
|
828
|
-
var React = __webpack_require__(1);
|
|
829
|
-
|
|
830
|
-
var T = __webpack_require__(0);
|
|
831
|
-
|
|
832
|
-
var lodash_1 = __webpack_require__(2);
|
|
833
|
-
|
|
834
|
-
var i18n_1 = __webpack_require__(3);
|
|
835
|
-
|
|
836
|
-
var Message_1 = __webpack_require__(9);
|
|
837
|
-
|
|
838
|
-
var FixedSizeContainer_1 = __webpack_require__(13);
|
|
839
|
-
/**
|
|
840
|
-
* @method shouldShowIconPlaceholder
|
|
841
|
-
* @param {object} dataSources
|
|
842
|
-
* @param {boolean} loading
|
|
843
|
-
* @returns {boolean}
|
|
844
|
-
*/
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
var shouldShowIconPlaceholder = function shouldShowIconPlaceholder(dataSources) {
|
|
848
|
-
var loading = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
849
|
-
var data = lodash_1.get(dataSources, 'primary.data.columns[0]', undefined);
|
|
850
|
-
var noData = data === undefined;
|
|
851
|
-
var fields = lodash_1.get(dataSources, 'primary.data.fields[0]', undefined);
|
|
852
|
-
var noFields = fields === undefined;
|
|
853
|
-
return loading || noData || noFields;
|
|
854
|
-
};
|
|
855
|
-
|
|
856
|
-
exports.shouldShowIconPlaceholder = shouldShowIconPlaceholder;
|
|
857
|
-
var propTypes = {
|
|
858
|
-
icon: T.func,
|
|
859
|
-
width: T.oneOfType([T.string, T.number]),
|
|
860
|
-
height: T.oneOfType([T.string, T.number]),
|
|
861
|
-
// eslint-disable-next-line react/no-unused-prop-types
|
|
862
|
-
backgroundColor: T.string,
|
|
863
|
-
iconColor: T.string
|
|
864
|
-
};
|
|
865
|
-
/**
|
|
866
|
-
* @method IconPlaceholder
|
|
867
|
-
* @param {IconPlaceholderProps} props
|
|
868
|
-
* @returns {React.ReactElement}
|
|
869
|
-
*/
|
|
870
|
-
|
|
871
|
-
var IconPlaceholder = function IconPlaceholder(props) {
|
|
872
|
-
var width = props.width,
|
|
873
|
-
height = props.height,
|
|
874
|
-
icon = props.icon,
|
|
875
|
-
iconColor = props.iconColor;
|
|
876
|
-
|
|
877
|
-
if (icon) {
|
|
878
|
-
return React.createElement(icon, {
|
|
879
|
-
style: {
|
|
880
|
-
left: '50%',
|
|
881
|
-
top: '50%',
|
|
882
|
-
color: iconColor,
|
|
883
|
-
opacity: 0.15,
|
|
884
|
-
position: 'absolute',
|
|
885
|
-
transform: 'translate(-50%, -50%)'
|
|
886
|
-
},
|
|
887
|
-
width: '50%',
|
|
888
|
-
height: '50%'
|
|
889
|
-
});
|
|
890
|
-
}
|
|
891
|
-
|
|
892
|
-
return React.createElement(Message_1.default, {
|
|
893
|
-
width: width,
|
|
894
|
-
height: height,
|
|
895
|
-
level: "warning",
|
|
896
|
-
message: i18n_1._('No DataSource Connected')
|
|
897
|
-
});
|
|
898
|
-
};
|
|
899
|
-
|
|
900
|
-
IconPlaceholder.propTypes = propTypes;
|
|
901
|
-
IconPlaceholder.defaultProps = {
|
|
902
|
-
width: '100%',
|
|
903
|
-
height: 250
|
|
904
|
-
};
|
|
905
|
-
exports.default = FixedSizeContainer_1.default(IconPlaceholder);
|
|
906
|
-
|
|
907
|
-
/***/ }),
|
|
908
|
-
/* 27 */
|
|
914
|
+
/* 28 */
|
|
909
915
|
/***/ (function(module, exports, __webpack_require__) {
|
|
910
916
|
|
|
911
917
|
"use strict";
|
|
@@ -933,7 +939,7 @@ var VizCategory;
|
|
|
933
939
|
})(VizCategory = exports.VizCategory || (exports.VizCategory = {}));
|
|
934
940
|
|
|
935
941
|
/***/ }),
|
|
936
|
-
/*
|
|
942
|
+
/* 29 */
|
|
937
943
|
/***/ (function(module, exports, __webpack_require__) {
|
|
938
944
|
|
|
939
945
|
"use strict";
|
|
@@ -947,33 +953,37 @@ var React = __webpack_require__(1);
|
|
|
947
953
|
|
|
948
954
|
var lodash_1 = __webpack_require__(2);
|
|
949
955
|
|
|
950
|
-
var getSettingsFromThemedProps_1 = __webpack_require__(
|
|
956
|
+
var getSettingsFromThemedProps_1 = __webpack_require__(30);
|
|
951
957
|
|
|
952
|
-
var Options_1 = __webpack_require__(
|
|
958
|
+
var Options_1 = __webpack_require__(31);
|
|
953
959
|
|
|
954
|
-
var SanitizeProps_1 = __webpack_require__(
|
|
960
|
+
var SanitizeProps_1 = __webpack_require__(32);
|
|
961
|
+
|
|
962
|
+
var TimezoneContext_1 = __webpack_require__(19);
|
|
963
|
+
|
|
964
|
+
var moment_1 = __webpack_require__(33);
|
|
955
965
|
|
|
956
966
|
var styled_components_1 = __webpack_require__(4);
|
|
957
967
|
|
|
958
|
-
var SplunkVisualization_1 = __webpack_require__(
|
|
968
|
+
var SplunkVisualization_1 = __webpack_require__(34);
|
|
959
969
|
|
|
960
970
|
var VizBehavior_1 = __webpack_require__(5);
|
|
961
971
|
|
|
962
|
-
var getSorting_1 = __webpack_require__(
|
|
972
|
+
var getSorting_1 = __webpack_require__(26);
|
|
963
973
|
|
|
964
|
-
var getPagination_1 = __webpack_require__(
|
|
974
|
+
var getPagination_1 = __webpack_require__(27);
|
|
965
975
|
|
|
966
|
-
var useDeepMemo_1 = __webpack_require__(
|
|
976
|
+
var useDeepMemo_1 = __webpack_require__(37);
|
|
967
977
|
|
|
968
|
-
var JSONSchemaUtils_1 = __webpack_require__(
|
|
978
|
+
var JSONSchemaUtils_1 = __webpack_require__(24);
|
|
969
979
|
|
|
970
|
-
var MissingPropsMessage_1 = __webpack_require__(
|
|
980
|
+
var MissingPropsMessage_1 = __webpack_require__(38);
|
|
971
981
|
|
|
972
|
-
var withEditModeCover_1 = __webpack_require__(
|
|
982
|
+
var withEditModeCover_1 = __webpack_require__(39);
|
|
973
983
|
|
|
974
|
-
var withPlaceholder_1 = __webpack_require__(
|
|
984
|
+
var withPlaceholder_1 = __webpack_require__(40);
|
|
975
985
|
|
|
976
|
-
var hocUtils_1 = __webpack_require__(
|
|
986
|
+
var hocUtils_1 = __webpack_require__(8);
|
|
977
987
|
/**
|
|
978
988
|
* hoc that wraps a pure react visualization in a Dashboard visualization
|
|
979
989
|
* @param {DashboardVizOpts} opts
|
|
@@ -1006,6 +1016,23 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
1006
1016
|
theme = props.theme,
|
|
1007
1017
|
onRequestParamsChange = props.onRequestParamsChange;
|
|
1008
1018
|
|
|
1019
|
+
var _React$useContext = React.useContext(TimezoneContext_1.default),
|
|
1020
|
+
serializedTimezone = _React$useContext.serializedTimezone;
|
|
1021
|
+
|
|
1022
|
+
if (serializedTimezone) {
|
|
1023
|
+
/*
|
|
1024
|
+
@splunk/moment currently does not allow us to customize the timezone on a per visualization basis.
|
|
1025
|
+
This ensures that if a timezone was provided via TimezoneContext @splunk/moment time formatting
|
|
1026
|
+
will use it.
|
|
1027
|
+
@TODO(pwied):
|
|
1028
|
+
- remove when we moved away from @splunk/moment
|
|
1029
|
+
- provide timezone context to dynamic option evaluation phase
|
|
1030
|
+
*/
|
|
1031
|
+
if (!moment_1.default.getDefaultSplunkTimezone()) {
|
|
1032
|
+
moment_1.default.setDefaultSplunkTimezone(serializedTimezone);
|
|
1033
|
+
}
|
|
1034
|
+
}
|
|
1035
|
+
|
|
1009
1036
|
var themeFunc = function themeFunc(themeVar) {
|
|
1010
1037
|
var _a, _b;
|
|
1011
1038
|
|
|
@@ -1034,7 +1061,7 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
1034
1061
|
console.error("unexpected error evaluating options: + ".concat(e.message));
|
|
1035
1062
|
return {};
|
|
1036
1063
|
}
|
|
1037
|
-
}, [currentThemeFamily, currentThemeColorScheme, currentThemeDensity, options, context, dataSources]); // useEffect hook needs to be initialized before any early returns
|
|
1064
|
+
}, [currentThemeFamily, currentThemeColorScheme, currentThemeDensity, options, context, dataSources, serializedTimezone]); // useEffect hook needs to be initialized before any early returns
|
|
1038
1065
|
// this is in accordance with the order of hook calls being the same on each render https://reactjs.org/docs/hooks-rules.html#explanation
|
|
1039
1066
|
|
|
1040
1067
|
React.useEffect(function () {
|
|
@@ -1157,25 +1184,31 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
1157
1184
|
exports.default = withDashboardViz;
|
|
1158
1185
|
|
|
1159
1186
|
/***/ }),
|
|
1160
|
-
/*
|
|
1187
|
+
/* 30 */
|
|
1161
1188
|
/***/ (function(module, exports) {
|
|
1162
1189
|
|
|
1163
1190
|
module.exports = require("@splunk/themes/getSettingsFromThemedProps");
|
|
1164
1191
|
|
|
1165
1192
|
/***/ }),
|
|
1166
|
-
/*
|
|
1193
|
+
/* 31 */
|
|
1167
1194
|
/***/ (function(module, exports) {
|
|
1168
1195
|
|
|
1169
1196
|
module.exports = require("@splunk/visualization-encoding/Options");
|
|
1170
1197
|
|
|
1171
1198
|
/***/ }),
|
|
1172
|
-
/*
|
|
1199
|
+
/* 32 */
|
|
1173
1200
|
/***/ (function(module, exports) {
|
|
1174
1201
|
|
|
1175
1202
|
module.exports = require("@splunk/visualizations-shared/SanitizeProps");
|
|
1176
1203
|
|
|
1177
1204
|
/***/ }),
|
|
1178
|
-
/*
|
|
1205
|
+
/* 33 */
|
|
1206
|
+
/***/ (function(module, exports) {
|
|
1207
|
+
|
|
1208
|
+
module.exports = require("@splunk/moment");
|
|
1209
|
+
|
|
1210
|
+
/***/ }),
|
|
1211
|
+
/* 34 */
|
|
1179
1212
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1180
1213
|
|
|
1181
1214
|
"use strict";
|
|
@@ -1193,7 +1226,7 @@ var T = __webpack_require__(0);
|
|
|
1193
1226
|
|
|
1194
1227
|
var lodash_1 = __webpack_require__(2);
|
|
1195
1228
|
|
|
1196
|
-
var VizActionHandler_1 = __webpack_require__(
|
|
1229
|
+
var VizActionHandler_1 = __webpack_require__(35); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
|
|
1197
1230
|
|
|
1198
1231
|
|
|
1199
1232
|
exports.INITIAL_WIDTH = 250;
|
|
@@ -1326,7 +1359,7 @@ SplunkVisualization.defaultProps = {
|
|
|
1326
1359
|
exports.default = SplunkVisualization;
|
|
1327
1360
|
|
|
1328
1361
|
/***/ }),
|
|
1329
|
-
/*
|
|
1362
|
+
/* 35 */
|
|
1330
1363
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1331
1364
|
|
|
1332
1365
|
"use strict";
|
|
@@ -1363,7 +1396,7 @@ var DefaultVizActionHandler = /*#__PURE__*/function () {
|
|
|
1363
1396
|
exports.DefaultVizActionHandler = DefaultVizActionHandler;
|
|
1364
1397
|
|
|
1365
1398
|
/***/ }),
|
|
1366
|
-
/*
|
|
1399
|
+
/* 36 */
|
|
1367
1400
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1368
1401
|
|
|
1369
1402
|
"use strict";
|
|
@@ -1376,7 +1409,7 @@ exports.validSortDirs = void 0;
|
|
|
1376
1409
|
exports.validSortDirs = ['asc', 'desc', 'none'];
|
|
1377
1410
|
|
|
1378
1411
|
/***/ }),
|
|
1379
|
-
/*
|
|
1412
|
+
/* 37 */
|
|
1380
1413
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1381
1414
|
|
|
1382
1415
|
"use strict";
|
|
@@ -1421,7 +1454,7 @@ var useDeepMemo = function useDeepMemo(fn, dependencies) {
|
|
|
1421
1454
|
exports.useDeepMemo = useDeepMemo;
|
|
1422
1455
|
|
|
1423
1456
|
/***/ }),
|
|
1424
|
-
/*
|
|
1457
|
+
/* 38 */
|
|
1425
1458
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1426
1459
|
|
|
1427
1460
|
"use strict";
|
|
@@ -1501,7 +1534,7 @@ exports.MissingPropsMessage.defaultProps = {
|
|
|
1501
1534
|
exports.default = FixedSizeContainer_1.default(exports.MissingPropsMessage);
|
|
1502
1535
|
|
|
1503
1536
|
/***/ }),
|
|
1504
|
-
/*
|
|
1537
|
+
/* 39 */
|
|
1505
1538
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1506
1539
|
|
|
1507
1540
|
"use strict";
|
|
@@ -1515,14 +1548,14 @@ var React = __webpack_require__(1);
|
|
|
1515
1548
|
|
|
1516
1549
|
var styled_components_1 = __webpack_require__(4);
|
|
1517
1550
|
|
|
1518
|
-
var hocUtils_1 = __webpack_require__(
|
|
1551
|
+
var hocUtils_1 = __webpack_require__(8);
|
|
1519
1552
|
|
|
1520
1553
|
var Cover = styled_components_1.default.div.withConfig({
|
|
1521
1554
|
displayName: "withEditModeCover__Cover",
|
|
1522
1555
|
componentId: "sc-1gsbnxb-0"
|
|
1523
1556
|
})(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
|
|
1524
1557
|
var Blocker = styled_components_1.default.div.attrs({
|
|
1525
|
-
'data-splunk-visualization-version': "24.
|
|
1558
|
+
'data-splunk-visualization-version': "24.5.2 - c5ebe25a8"
|
|
1526
1559
|
}).withConfig({
|
|
1527
1560
|
displayName: "withEditModeCover__Blocker",
|
|
1528
1561
|
componentId: "sc-1gsbnxb-1"
|
|
@@ -1553,7 +1586,7 @@ var withEditModeCover = function withEditModeCover(Visualization, disableEditMod
|
|
|
1553
1586
|
exports.default = withEditModeCover;
|
|
1554
1587
|
|
|
1555
1588
|
/***/ }),
|
|
1556
|
-
/*
|
|
1589
|
+
/* 40 */
|
|
1557
1590
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1558
1591
|
|
|
1559
1592
|
"use strict";
|
|
@@ -1569,11 +1602,11 @@ var colorUtils_1 = __webpack_require__(12);
|
|
|
1569
1602
|
|
|
1570
1603
|
var variables_1 = __webpack_require__(11);
|
|
1571
1604
|
|
|
1572
|
-
var IconPlaceholder_1 = __webpack_require__(
|
|
1605
|
+
var IconPlaceholder_1 = __webpack_require__(25);
|
|
1573
1606
|
|
|
1574
1607
|
var VizBehavior_1 = __webpack_require__(5);
|
|
1575
1608
|
|
|
1576
|
-
var hocUtils_1 = __webpack_require__(
|
|
1609
|
+
var hocUtils_1 = __webpack_require__(8);
|
|
1577
1610
|
|
|
1578
1611
|
var withPlaceholder = function withPlaceholder(Visualization) {
|
|
1579
1612
|
var useIconPlaceholder = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : IconPlaceholder_1.shouldShowIconPlaceholder;
|
|
@@ -1617,34 +1650,34 @@ var withPlaceholder = function withPlaceholder(Visualization) {
|
|
|
1617
1650
|
exports.default = withPlaceholder;
|
|
1618
1651
|
|
|
1619
1652
|
/***/ }),
|
|
1620
|
-
/*
|
|
1653
|
+
/* 41 */
|
|
1621
1654
|
/***/ (function(module, exports) {
|
|
1622
1655
|
|
|
1623
1656
|
module.exports = require("@babel/runtime/helpers/toConsumableArray");
|
|
1624
1657
|
|
|
1625
1658
|
/***/ }),
|
|
1626
|
-
/*
|
|
1627
|
-
/*
|
|
1659
|
+
/* 42 */,
|
|
1660
|
+
/* 43 */
|
|
1628
1661
|
/***/ (function(module, exports) {
|
|
1629
1662
|
|
|
1630
1663
|
module.exports = require("@splunk/visualization-color-palettes");
|
|
1631
1664
|
|
|
1632
1665
|
/***/ }),
|
|
1633
|
-
/*
|
|
1666
|
+
/* 44 */
|
|
1634
1667
|
/***/ (function(module, exports) {
|
|
1635
1668
|
|
|
1636
1669
|
module.exports = require("@splunk/visualization-icons/placeholders");
|
|
1637
1670
|
|
|
1638
1671
|
/***/ }),
|
|
1639
|
-
/*
|
|
1672
|
+
/* 45 */
|
|
1640
1673
|
/***/ (function(module, exports) {
|
|
1641
1674
|
|
|
1642
1675
|
module.exports = require("@splunk/visualization-icons");
|
|
1643
1676
|
|
|
1644
1677
|
/***/ }),
|
|
1645
|
-
/*
|
|
1646
|
-
/*
|
|
1647
|
-
/*
|
|
1678
|
+
/* 46 */,
|
|
1679
|
+
/* 47 */,
|
|
1680
|
+
/* 48 */
|
|
1648
1681
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1649
1682
|
|
|
1650
1683
|
"use strict";
|
|
@@ -1674,13 +1707,13 @@ var background = function background(_ref) {
|
|
|
1674
1707
|
exports.default = background;
|
|
1675
1708
|
|
|
1676
1709
|
/***/ }),
|
|
1677
|
-
/*
|
|
1710
|
+
/* 49 */
|
|
1678
1711
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1679
1712
|
|
|
1680
1713
|
"use strict";
|
|
1681
1714
|
|
|
1682
1715
|
|
|
1683
|
-
var _toConsumableArray = __webpack_require__(
|
|
1716
|
+
var _toConsumableArray = __webpack_require__(41);
|
|
1684
1717
|
|
|
1685
1718
|
var __rest = this && this.__rest || function (s, e) {
|
|
1686
1719
|
var t = {};
|
|
@@ -1747,7 +1780,7 @@ var truncateData = function truncateData(dataSet, truncationLimit) {
|
|
|
1747
1780
|
|
|
1748
1781
|
var truncatedData = Object.assign({}, dataSet);
|
|
1749
1782
|
truncatedData.columns = truncatedData.columns.map(function (columnData) {
|
|
1750
|
-
return columnData.slice(0, limit);
|
|
1783
|
+
return columnData && Array.isArray(columnData) ? columnData.slice(0, limit) : columnData;
|
|
1751
1784
|
});
|
|
1752
1785
|
return truncatedData;
|
|
1753
1786
|
};
|
|
@@ -1895,15 +1928,13 @@ var constructFieldsAndColumns = function constructFieldsAndColumns(_ref2) {
|
|
|
1895
1928
|
exports.constructFieldsAndColumns = constructFieldsAndColumns;
|
|
1896
1929
|
|
|
1897
1930
|
/***/ }),
|
|
1898
|
-
/*
|
|
1899
|
-
/*
|
|
1931
|
+
/* 50 */,
|
|
1932
|
+
/* 51 */
|
|
1900
1933
|
/***/ (function(module, exports) {
|
|
1901
1934
|
|
|
1902
1935
|
module.exports = require("@babel/runtime/helpers/slicedToArray");
|
|
1903
1936
|
|
|
1904
1937
|
/***/ }),
|
|
1905
|
-
/* 50 */,
|
|
1906
|
-
/* 51 */,
|
|
1907
1938
|
/* 52 */,
|
|
1908
1939
|
/* 53 */,
|
|
1909
1940
|
/* 54 */,
|
|
@@ -1922,31 +1953,38 @@ module.exports = require("@babel/runtime/helpers/slicedToArray");
|
|
|
1922
1953
|
/* 67 */,
|
|
1923
1954
|
/* 68 */,
|
|
1924
1955
|
/* 69 */,
|
|
1925
|
-
/* 70
|
|
1956
|
+
/* 70 */,
|
|
1957
|
+
/* 71 */,
|
|
1958
|
+
/* 72 */
|
|
1926
1959
|
/***/ (function(module, exports) {
|
|
1927
1960
|
|
|
1928
1961
|
module.exports = require("d3-scale");
|
|
1929
1962
|
|
|
1930
1963
|
/***/ }),
|
|
1931
|
-
/* 71 */,
|
|
1932
|
-
/* 72 */,
|
|
1933
1964
|
/* 73 */,
|
|
1934
1965
|
/* 74 */,
|
|
1935
1966
|
/* 75 */,
|
|
1936
|
-
/* 76
|
|
1967
|
+
/* 76 */,
|
|
1968
|
+
/* 77 */
|
|
1969
|
+
/***/ (function(module, exports) {
|
|
1970
|
+
|
|
1971
|
+
module.exports = require("@babel/runtime/helpers/taggedTemplateLiteral");
|
|
1972
|
+
|
|
1973
|
+
/***/ }),
|
|
1974
|
+
/* 78 */
|
|
1937
1975
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1938
1976
|
|
|
1939
1977
|
"use strict";
|
|
1940
1978
|
|
|
1941
1979
|
|
|
1942
|
-
var _slicedToArray = __webpack_require__(
|
|
1980
|
+
var _slicedToArray = __webpack_require__(51);
|
|
1943
1981
|
|
|
1944
1982
|
Object.defineProperty(exports, "__esModule", {
|
|
1945
1983
|
value: true
|
|
1946
1984
|
});
|
|
1947
1985
|
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;
|
|
1948
1986
|
|
|
1949
|
-
var d3_scale_1 = __webpack_require__(
|
|
1987
|
+
var d3_scale_1 = __webpack_require__(72);
|
|
1950
1988
|
/**
|
|
1951
1989
|
* @enum {AXIS_ORIENTATION_TYPES}
|
|
1952
1990
|
*/
|
|
@@ -2341,22 +2379,20 @@ var truncateAxisLabelText = function truncateAxisLabelText(_ref9) {
|
|
|
2341
2379
|
exports.truncateAxisLabelText = truncateAxisLabelText;
|
|
2342
2380
|
|
|
2343
2381
|
/***/ }),
|
|
2344
|
-
/* 77 */,
|
|
2345
|
-
/* 78 */,
|
|
2346
2382
|
/* 79 */,
|
|
2347
2383
|
/* 80 */,
|
|
2348
2384
|
/* 81 */,
|
|
2349
2385
|
/* 82 */,
|
|
2350
2386
|
/* 83 */,
|
|
2351
2387
|
/* 84 */,
|
|
2352
|
-
/* 85
|
|
2388
|
+
/* 85 */,
|
|
2389
|
+
/* 86 */,
|
|
2390
|
+
/* 87 */
|
|
2353
2391
|
/***/ (function(module, exports) {
|
|
2354
2392
|
|
|
2355
2393
|
module.exports = require("lodash/find");
|
|
2356
2394
|
|
|
2357
2395
|
/***/ }),
|
|
2358
|
-
/* 86 */,
|
|
2359
|
-
/* 87 */,
|
|
2360
2396
|
/* 88 */,
|
|
2361
2397
|
/* 89 */,
|
|
2362
2398
|
/* 90 */,
|
|
@@ -2373,30 +2409,25 @@ module.exports = require("lodash/find");
|
|
|
2373
2409
|
/* 101 */,
|
|
2374
2410
|
/* 102 */,
|
|
2375
2411
|
/* 103 */,
|
|
2376
|
-
/* 104
|
|
2377
|
-
/***/ (function(module, exports) {
|
|
2378
|
-
|
|
2379
|
-
module.exports = require("@babel/runtime/helpers/taggedTemplateLiteral");
|
|
2380
|
-
|
|
2381
|
-
/***/ }),
|
|
2412
|
+
/* 104 */,
|
|
2382
2413
|
/* 105 */,
|
|
2383
2414
|
/* 106 */,
|
|
2384
2415
|
/* 107 */,
|
|
2385
2416
|
/* 108 */,
|
|
2386
|
-
/* 109
|
|
2417
|
+
/* 109 */,
|
|
2418
|
+
/* 110 */,
|
|
2419
|
+
/* 111 */
|
|
2387
2420
|
/***/ (function(module, exports) {
|
|
2388
2421
|
|
|
2389
2422
|
module.exports = require("lodash/findIndex");
|
|
2390
2423
|
|
|
2391
2424
|
/***/ }),
|
|
2392
|
-
/*
|
|
2425
|
+
/* 112 */
|
|
2393
2426
|
/***/ (function(module, exports) {
|
|
2394
2427
|
|
|
2395
2428
|
module.exports = require("lodash/flattenDeep");
|
|
2396
2429
|
|
|
2397
2430
|
/***/ }),
|
|
2398
|
-
/* 111 */,
|
|
2399
|
-
/* 112 */,
|
|
2400
2431
|
/* 113 */,
|
|
2401
2432
|
/* 114 */,
|
|
2402
2433
|
/* 115 */,
|
|
@@ -2420,14 +2451,14 @@ module.exports = require("lodash/flattenDeep");
|
|
|
2420
2451
|
/* 133 */,
|
|
2421
2452
|
/* 134 */,
|
|
2422
2453
|
/* 135 */,
|
|
2423
|
-
/* 136
|
|
2454
|
+
/* 136 */,
|
|
2455
|
+
/* 137 */,
|
|
2456
|
+
/* 138 */
|
|
2424
2457
|
/***/ (function(module, exports) {
|
|
2425
2458
|
|
|
2426
2459
|
module.exports = require("lodash/sortBy");
|
|
2427
2460
|
|
|
2428
2461
|
/***/ }),
|
|
2429
|
-
/* 137 */,
|
|
2430
|
-
/* 138 */,
|
|
2431
2462
|
/* 139 */,
|
|
2432
2463
|
/* 140 */,
|
|
2433
2464
|
/* 141 */,
|
|
@@ -2515,7 +2546,10 @@ module.exports = require("lodash/sortBy");
|
|
|
2515
2546
|
/* 223 */,
|
|
2516
2547
|
/* 224 */,
|
|
2517
2548
|
/* 225 */,
|
|
2518
|
-
/* 226
|
|
2549
|
+
/* 226 */,
|
|
2550
|
+
/* 227 */,
|
|
2551
|
+
/* 228 */,
|
|
2552
|
+
/* 229 */
|
|
2519
2553
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2520
2554
|
|
|
2521
2555
|
"use strict";
|
|
@@ -2541,15 +2575,15 @@ exports.themes = exports.computeVizProps = exports.PurePunchcard = exports.confi
|
|
|
2541
2575
|
|
|
2542
2576
|
var lodash_1 = __webpack_require__(2);
|
|
2543
2577
|
|
|
2544
|
-
var visualization_color_palettes_1 = __webpack_require__(
|
|
2578
|
+
var visualization_color_palettes_1 = __webpack_require__(43);
|
|
2545
2579
|
|
|
2546
|
-
var config_1 = __webpack_require__(
|
|
2580
|
+
var config_1 = __webpack_require__(230);
|
|
2547
2581
|
|
|
2548
|
-
var withDashboardViz_1 = __webpack_require__(
|
|
2582
|
+
var withDashboardViz_1 = __webpack_require__(29);
|
|
2549
2583
|
|
|
2550
|
-
var Punchcard_1 = __webpack_require__(
|
|
2584
|
+
var Punchcard_1 = __webpack_require__(231);
|
|
2551
2585
|
|
|
2552
|
-
var punchcardUtils_1 = __webpack_require__(
|
|
2586
|
+
var punchcardUtils_1 = __webpack_require__(239);
|
|
2553
2587
|
|
|
2554
2588
|
exports.config = config_1.default;
|
|
2555
2589
|
exports.PurePunchcard = Punchcard_1.default;
|
|
@@ -2593,7 +2627,7 @@ exports.themes = config_1.default.themes;
|
|
|
2593
2627
|
exports.default = viz;
|
|
2594
2628
|
|
|
2595
2629
|
/***/ }),
|
|
2596
|
-
/*
|
|
2630
|
+
/* 230 */
|
|
2597
2631
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2598
2632
|
|
|
2599
2633
|
"use strict";
|
|
@@ -2607,23 +2641,23 @@ var i18n_1 = __webpack_require__(3);
|
|
|
2607
2641
|
|
|
2608
2642
|
var schemaUtils_1 = __webpack_require__(15);
|
|
2609
2643
|
|
|
2610
|
-
var visualization_icons_1 = __webpack_require__(
|
|
2644
|
+
var visualization_icons_1 = __webpack_require__(45);
|
|
2611
2645
|
|
|
2612
|
-
var placeholders_1 = __webpack_require__(
|
|
2646
|
+
var placeholders_1 = __webpack_require__(44);
|
|
2613
2647
|
|
|
2614
|
-
var visualization_color_palettes_1 = __webpack_require__(
|
|
2648
|
+
var visualization_color_palettes_1 = __webpack_require__(43);
|
|
2615
2649
|
|
|
2616
|
-
var pick_1 = __webpack_require__(
|
|
2650
|
+
var pick_1 = __webpack_require__(22);
|
|
2617
2651
|
|
|
2618
2652
|
var variables_1 = __webpack_require__(11);
|
|
2619
2653
|
|
|
2620
2654
|
var VizBehavior_1 = __webpack_require__(5);
|
|
2621
2655
|
|
|
2622
|
-
var VizCategory_1 = __webpack_require__(
|
|
2656
|
+
var VizCategory_1 = __webpack_require__(28);
|
|
2623
2657
|
|
|
2624
2658
|
var configUtils_1 = __webpack_require__(6);
|
|
2625
2659
|
|
|
2626
|
-
var BackgroundColor_1 = __webpack_require__(
|
|
2660
|
+
var BackgroundColor_1 = __webpack_require__(48);
|
|
2627
2661
|
|
|
2628
2662
|
var dataContract = {
|
|
2629
2663
|
requiredDataSources: [{
|
|
@@ -2952,15 +2986,15 @@ var config = {
|
|
|
2952
2986
|
exports.default = configUtils_1.enhanceConfig(config);
|
|
2953
2987
|
|
|
2954
2988
|
/***/ }),
|
|
2955
|
-
/*
|
|
2989
|
+
/* 231 */
|
|
2956
2990
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2957
2991
|
|
|
2958
2992
|
"use strict";
|
|
2959
2993
|
|
|
2960
2994
|
|
|
2961
|
-
var _defineProperty = __webpack_require__(
|
|
2995
|
+
var _defineProperty = __webpack_require__(7);
|
|
2962
2996
|
|
|
2963
|
-
var _slicedToArray = __webpack_require__(
|
|
2997
|
+
var _slicedToArray = __webpack_require__(51);
|
|
2964
2998
|
|
|
2965
2999
|
Object.defineProperty(exports, "__esModule", {
|
|
2966
3000
|
value: true
|
|
@@ -2978,19 +3012,19 @@ var SizeAwareWrapper_1 = __webpack_require__(17);
|
|
|
2978
3012
|
|
|
2979
3013
|
var style_1 = __webpack_require__(14);
|
|
2980
3014
|
|
|
2981
|
-
var visualization_color_palettes_1 = __webpack_require__(
|
|
3015
|
+
var visualization_color_palettes_1 = __webpack_require__(43);
|
|
2982
3016
|
|
|
2983
|
-
var punchcardUtils_1 = __webpack_require__(
|
|
3017
|
+
var punchcardUtils_1 = __webpack_require__(78);
|
|
2984
3018
|
|
|
2985
|
-
var sortUtils_1 = __webpack_require__(
|
|
3019
|
+
var sortUtils_1 = __webpack_require__(232);
|
|
2986
3020
|
|
|
2987
|
-
var PunchcardAxis_1 = __webpack_require__(
|
|
3021
|
+
var PunchcardAxis_1 = __webpack_require__(233);
|
|
2988
3022
|
|
|
2989
|
-
var PunchcardChartArea_1 = __webpack_require__(
|
|
3023
|
+
var PunchcardChartArea_1 = __webpack_require__(234);
|
|
2990
3024
|
|
|
2991
|
-
var PunchcardLegend_1 = __webpack_require__(
|
|
3025
|
+
var PunchcardLegend_1 = __webpack_require__(237);
|
|
2992
3026
|
|
|
2993
|
-
var PunchcardGridLines_1 = __webpack_require__(
|
|
3027
|
+
var PunchcardGridLines_1 = __webpack_require__(238);
|
|
2994
3028
|
|
|
2995
3029
|
var Container = styled_components_1.default.div.withConfig({
|
|
2996
3030
|
displayName: "Punchcard__Container",
|
|
@@ -3321,7 +3355,7 @@ Punchcard.defaultProps = defaultProps;
|
|
|
3321
3355
|
exports.default = Punchcard;
|
|
3322
3356
|
|
|
3323
3357
|
/***/ }),
|
|
3324
|
-
/*
|
|
3358
|
+
/* 232 */
|
|
3325
3359
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3326
3360
|
|
|
3327
3361
|
"use strict";
|
|
@@ -3331,13 +3365,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3331
3365
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "sortedByDTime", function() { return sortedByDTime; });
|
|
3332
3366
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "sortByDigitOrAlpha", function() { return sortByDigitOrAlpha; });
|
|
3333
3367
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "sortAxis", function() { return sortAxis; });
|
|
3334
|
-
/* harmony import */ var lodash_findIndex__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
3368
|
+
/* harmony import */ var lodash_findIndex__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(111);
|
|
3335
3369
|
/* harmony import */ var lodash_findIndex__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_findIndex__WEBPACK_IMPORTED_MODULE_0__);
|
|
3336
|
-
/* harmony import */ var lodash_find__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
3370
|
+
/* harmony import */ var lodash_find__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(87);
|
|
3337
3371
|
/* harmony import */ var lodash_find__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_find__WEBPACK_IMPORTED_MODULE_1__);
|
|
3338
|
-
/* harmony import */ var lodash_sortBy__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
3372
|
+
/* harmony import */ var lodash_sortBy__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(138);
|
|
3339
3373
|
/* harmony import */ var lodash_sortBy__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash_sortBy__WEBPACK_IMPORTED_MODULE_2__);
|
|
3340
|
-
/* harmony import */ var lodash_flattenDeep__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
|
3374
|
+
/* harmony import */ var lodash_flattenDeep__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(112);
|
|
3341
3375
|
/* harmony import */ var lodash_flattenDeep__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(lodash_flattenDeep__WEBPACK_IMPORTED_MODULE_3__);
|
|
3342
3376
|
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(2);
|
|
3343
3377
|
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_4__);
|
|
@@ -3605,7 +3639,7 @@ var sortAxis = function sortAxis(axis) {
|
|
|
3605
3639
|
};
|
|
3606
3640
|
|
|
3607
3641
|
/***/ }),
|
|
3608
|
-
/*
|
|
3642
|
+
/* 233 */
|
|
3609
3643
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3610
3644
|
|
|
3611
3645
|
"use strict";
|
|
@@ -3621,11 +3655,11 @@ var T = __webpack_require__(0);
|
|
|
3621
3655
|
|
|
3622
3656
|
var styled_components_1 = __webpack_require__(4);
|
|
3623
3657
|
|
|
3624
|
-
var pick_1 = __webpack_require__(
|
|
3658
|
+
var pick_1 = __webpack_require__(22);
|
|
3625
3659
|
|
|
3626
3660
|
var variables_1 = __webpack_require__(11);
|
|
3627
3661
|
|
|
3628
|
-
var punchcardUtils_1 = __webpack_require__(
|
|
3662
|
+
var punchcardUtils_1 = __webpack_require__(78);
|
|
3629
3663
|
|
|
3630
3664
|
var AxisLabelText = styled_components_1.default.text.withConfig({
|
|
3631
3665
|
displayName: "PunchcardAxis__AxisLabelText",
|
|
@@ -3705,15 +3739,15 @@ PunchcardAxis.defaultProps = defaultProps;
|
|
|
3705
3739
|
exports.default = PunchcardAxis;
|
|
3706
3740
|
|
|
3707
3741
|
/***/ }),
|
|
3708
|
-
/*
|
|
3742
|
+
/* 234 */
|
|
3709
3743
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3710
3744
|
|
|
3711
3745
|
"use strict";
|
|
3712
3746
|
|
|
3713
3747
|
|
|
3714
|
-
var _toConsumableArray = __webpack_require__(
|
|
3748
|
+
var _toConsumableArray = __webpack_require__(41);
|
|
3715
3749
|
|
|
3716
|
-
var _slicedToArray = __webpack_require__(
|
|
3750
|
+
var _slicedToArray = __webpack_require__(51);
|
|
3717
3751
|
|
|
3718
3752
|
Object.defineProperty(exports, "__esModule", {
|
|
3719
3753
|
value: true
|
|
@@ -3723,9 +3757,9 @@ var React = __webpack_require__(1);
|
|
|
3723
3757
|
|
|
3724
3758
|
var T = __webpack_require__(0);
|
|
3725
3759
|
|
|
3726
|
-
var punchcardUtils_1 = __webpack_require__(
|
|
3760
|
+
var punchcardUtils_1 = __webpack_require__(78);
|
|
3727
3761
|
|
|
3728
|
-
var PunchcardRow_1 = __webpack_require__(
|
|
3762
|
+
var PunchcardRow_1 = __webpack_require__(235);
|
|
3729
3763
|
|
|
3730
3764
|
var PunchcardChartArea = function PunchcardChartArea(props) {
|
|
3731
3765
|
var showBubbleLabels = props.showBubbleLabels,
|
|
@@ -3876,7 +3910,7 @@ PunchcardChartArea.defaultProps = defaultProps;
|
|
|
3876
3910
|
exports.default = PunchcardChartArea;
|
|
3877
3911
|
|
|
3878
3912
|
/***/ }),
|
|
3879
|
-
/*
|
|
3913
|
+
/* 235 */
|
|
3880
3914
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3881
3915
|
|
|
3882
3916
|
"use strict";
|
|
@@ -3892,9 +3926,9 @@ var T = __webpack_require__(0);
|
|
|
3892
3926
|
|
|
3893
3927
|
var styled_components_1 = __webpack_require__(4);
|
|
3894
3928
|
|
|
3895
|
-
var PunchcardBubble_1 = __webpack_require__(
|
|
3929
|
+
var PunchcardBubble_1 = __webpack_require__(236);
|
|
3896
3930
|
|
|
3897
|
-
var punchcardUtils_1 = __webpack_require__(
|
|
3931
|
+
var punchcardUtils_1 = __webpack_require__(78);
|
|
3898
3932
|
|
|
3899
3933
|
var PunchcardRow = function PunchcardRow(props) {
|
|
3900
3934
|
var showBubbleLabels = props.showBubbleLabels,
|
|
@@ -4007,13 +4041,13 @@ PunchcardRow.defaultProps = defaultProps;
|
|
|
4007
4041
|
exports.default = styled_components_1.withTheme(PunchcardRow);
|
|
4008
4042
|
|
|
4009
4043
|
/***/ }),
|
|
4010
|
-
/*
|
|
4044
|
+
/* 236 */
|
|
4011
4045
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4012
4046
|
|
|
4013
4047
|
"use strict";
|
|
4014
4048
|
|
|
4015
4049
|
|
|
4016
|
-
var _taggedTemplateLiteral = __webpack_require__(
|
|
4050
|
+
var _taggedTemplateLiteral = __webpack_require__(77);
|
|
4017
4051
|
|
|
4018
4052
|
var _templateObject;
|
|
4019
4053
|
|
|
@@ -4027,13 +4061,13 @@ var T = __webpack_require__(0);
|
|
|
4027
4061
|
|
|
4028
4062
|
var styled_components_1 = __webpack_require__(4);
|
|
4029
4063
|
|
|
4030
|
-
var pick_1 = __webpack_require__(
|
|
4064
|
+
var pick_1 = __webpack_require__(22);
|
|
4031
4065
|
|
|
4032
4066
|
var variables_1 = __webpack_require__(11);
|
|
4033
4067
|
|
|
4034
|
-
var numberUtils_1 = __webpack_require__(
|
|
4068
|
+
var numberUtils_1 = __webpack_require__(23);
|
|
4035
4069
|
|
|
4036
|
-
var punchcardUtils_1 = __webpack_require__(
|
|
4070
|
+
var punchcardUtils_1 = __webpack_require__(78);
|
|
4037
4071
|
|
|
4038
4072
|
var BubbleCircle = styled_components_1.default.circle.withConfig({
|
|
4039
4073
|
displayName: "PunchcardBubble__BubbleCircle",
|
|
@@ -4189,7 +4223,7 @@ PunchcardBubble.defaultProps = defaultProps;
|
|
|
4189
4223
|
exports.default = PunchcardBubble;
|
|
4190
4224
|
|
|
4191
4225
|
/***/ }),
|
|
4192
|
-
/*
|
|
4226
|
+
/* 237 */
|
|
4193
4227
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4194
4228
|
|
|
4195
4229
|
"use strict";
|
|
@@ -4205,7 +4239,7 @@ var T = __webpack_require__(0);
|
|
|
4205
4239
|
|
|
4206
4240
|
var styled_components_1 = __webpack_require__(4);
|
|
4207
4241
|
|
|
4208
|
-
var pick_1 = __webpack_require__(
|
|
4242
|
+
var pick_1 = __webpack_require__(22);
|
|
4209
4243
|
|
|
4210
4244
|
var variables_1 = __webpack_require__(11);
|
|
4211
4245
|
|
|
@@ -4307,7 +4341,7 @@ PunchcardLegend.defaultProps = defaultProps;
|
|
|
4307
4341
|
exports.default = PunchcardLegend;
|
|
4308
4342
|
|
|
4309
4343
|
/***/ }),
|
|
4310
|
-
/*
|
|
4344
|
+
/* 238 */
|
|
4311
4345
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4312
4346
|
|
|
4313
4347
|
"use strict";
|
|
@@ -4325,7 +4359,7 @@ var styled_components_1 = __webpack_require__(4);
|
|
|
4325
4359
|
|
|
4326
4360
|
var lodash_1 = __webpack_require__(2);
|
|
4327
4361
|
|
|
4328
|
-
var pick_1 = __webpack_require__(
|
|
4362
|
+
var pick_1 = __webpack_require__(22);
|
|
4329
4363
|
|
|
4330
4364
|
var variables_1 = __webpack_require__(11); // was previously lineColor in themeRegistry
|
|
4331
4365
|
|
|
@@ -4392,7 +4426,7 @@ PunchcardGridLines.defaultProps = defaultProps;
|
|
|
4392
4426
|
exports.default = PunchcardGridLines;
|
|
4393
4427
|
|
|
4394
4428
|
/***/ }),
|
|
4395
|
-
/*
|
|
4429
|
+
/* 239 */
|
|
4396
4430
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4397
4431
|
|
|
4398
4432
|
"use strict";
|
|
@@ -4405,7 +4439,7 @@ exports.convertToPunchcardProperties = exports.mapToOldKey = exports.punchcardOp
|
|
|
4405
4439
|
|
|
4406
4440
|
var lodash_1 = __webpack_require__(2);
|
|
4407
4441
|
|
|
4408
|
-
var chartingUtils_1 = __webpack_require__(
|
|
4442
|
+
var chartingUtils_1 = __webpack_require__(49);
|
|
4409
4443
|
|
|
4410
4444
|
var punchcardOptionsMapping = {
|
|
4411
4445
|
legendDisplay: 'showLegend',
|