@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/SingleValue.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 = 456);
|
|
91
91
|
/******/ })
|
|
92
92
|
/************************************************************************/
|
|
93
93
|
/******/ ({
|
|
@@ -113,6 +113,13 @@ module.exports = require("@splunk/visualizations-shared/Message");
|
|
|
113
113
|
|
|
114
114
|
/***/ }),
|
|
115
115
|
|
|
116
|
+
/***/ 101:
|
|
117
|
+
/***/ (function(module, exports) {
|
|
118
|
+
|
|
119
|
+
module.exports = require("@splunk/react-sparkline/Line");
|
|
120
|
+
|
|
121
|
+
/***/ }),
|
|
122
|
+
|
|
116
123
|
/***/ 11:
|
|
117
124
|
/***/ (function(module, exports) {
|
|
118
125
|
|
|
@@ -120,7 +127,14 @@ module.exports = require("@babel/runtime/helpers/classCallCheck");
|
|
|
120
127
|
|
|
121
128
|
/***/ }),
|
|
122
129
|
|
|
123
|
-
/***/
|
|
130
|
+
/***/ 12:
|
|
131
|
+
/***/ (function(module, exports) {
|
|
132
|
+
|
|
133
|
+
module.exports = require("@splunk/visualizations-shared/colorUtils");
|
|
134
|
+
|
|
135
|
+
/***/ }),
|
|
136
|
+
|
|
137
|
+
/***/ 125:
|
|
124
138
|
/***/ (function(module, exports, __webpack_require__) {
|
|
125
139
|
|
|
126
140
|
"use strict";
|
|
@@ -165,13 +179,6 @@ exports.defaultContext = {
|
|
|
165
179
|
|
|
166
180
|
/***/ }),
|
|
167
181
|
|
|
168
|
-
/***/ 12:
|
|
169
|
-
/***/ (function(module, exports) {
|
|
170
|
-
|
|
171
|
-
module.exports = require("@splunk/visualizations-shared/colorUtils");
|
|
172
|
-
|
|
173
|
-
/***/ }),
|
|
174
|
-
|
|
175
182
|
/***/ 13:
|
|
176
183
|
/***/ (function(module, exports, __webpack_require__) {
|
|
177
184
|
|
|
@@ -186,7 +193,7 @@ var React = __webpack_require__(1);
|
|
|
186
193
|
|
|
187
194
|
var styled_components_1 = __webpack_require__(4);
|
|
188
195
|
|
|
189
|
-
var SizeAwareWrapper_1 = __webpack_require__(
|
|
196
|
+
var SizeAwareWrapper_1 = __webpack_require__(21);
|
|
190
197
|
|
|
191
198
|
var style_1 = __webpack_require__(15);
|
|
192
199
|
|
|
@@ -247,7 +254,7 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
|
|
|
247
254
|
|
|
248
255
|
return React.createElement(FixSizeItem, {
|
|
249
256
|
"data-test": "fix-size-item",
|
|
250
|
-
"data-splunk-visualization-version": "25.
|
|
257
|
+
"data-splunk-visualization-version": "25.6.0 - f5eb3abf9",
|
|
251
258
|
width: width,
|
|
252
259
|
height: height,
|
|
253
260
|
backgroundColor: backgroundColor
|
|
@@ -317,6 +324,13 @@ module.exports = require("@splunk/visualizations-shared/schemaUtils");
|
|
|
317
324
|
/***/ }),
|
|
318
325
|
|
|
319
326
|
/***/ 17:
|
|
327
|
+
/***/ (function(module, exports) {
|
|
328
|
+
|
|
329
|
+
module.exports = require("@babel/runtime/helpers/slicedToArray");
|
|
330
|
+
|
|
331
|
+
/***/ }),
|
|
332
|
+
|
|
333
|
+
/***/ 18:
|
|
320
334
|
/***/ (function(module, exports, __webpack_require__) {
|
|
321
335
|
|
|
322
336
|
"use strict";
|
|
@@ -553,42 +567,42 @@ exports.insertLayout = insertLayout;
|
|
|
553
567
|
|
|
554
568
|
/***/ }),
|
|
555
569
|
|
|
556
|
-
/***/
|
|
570
|
+
/***/ 19:
|
|
557
571
|
/***/ (function(module, exports) {
|
|
558
572
|
|
|
559
573
|
module.exports = require("@splunk/visualizations-shared/configUtils");
|
|
560
574
|
|
|
561
575
|
/***/ }),
|
|
562
576
|
|
|
563
|
-
/***/
|
|
577
|
+
/***/ 2:
|
|
564
578
|
/***/ (function(module, exports) {
|
|
565
579
|
|
|
566
|
-
module.exports = require("@
|
|
580
|
+
module.exports = require("@splunk/ui-utils/i18n");
|
|
567
581
|
|
|
568
582
|
/***/ }),
|
|
569
583
|
|
|
570
|
-
/***/
|
|
584
|
+
/***/ 20:
|
|
571
585
|
/***/ (function(module, exports) {
|
|
572
586
|
|
|
573
|
-
module.exports = require("@
|
|
587
|
+
module.exports = require("@babel/runtime/helpers/createClass");
|
|
574
588
|
|
|
575
589
|
/***/ }),
|
|
576
590
|
|
|
577
|
-
/***/
|
|
591
|
+
/***/ 21:
|
|
578
592
|
/***/ (function(module, exports) {
|
|
579
593
|
|
|
580
594
|
module.exports = require("@splunk/visualizations-shared/SizeAwareWrapper");
|
|
581
595
|
|
|
582
596
|
/***/ }),
|
|
583
597
|
|
|
584
|
-
/***/
|
|
598
|
+
/***/ 22:
|
|
585
599
|
/***/ (function(module, exports) {
|
|
586
600
|
|
|
587
601
|
module.exports = require("@splunk/themes/pick");
|
|
588
602
|
|
|
589
603
|
/***/ }),
|
|
590
604
|
|
|
591
|
-
/***/
|
|
605
|
+
/***/ 23:
|
|
592
606
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
593
607
|
|
|
594
608
|
"use strict";
|
|
@@ -627,13 +641,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
627
641
|
/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__);
|
|
628
642
|
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3);
|
|
629
643
|
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_1__);
|
|
630
|
-
/* harmony import */ var _splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
644
|
+
/* harmony import */ var _splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(29);
|
|
631
645
|
/* harmony import */ var _splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_2__);
|
|
632
|
-
/* harmony import */ var _splunk_visualizations_shared_domUtils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
|
646
|
+
/* harmony import */ var _splunk_visualizations_shared_domUtils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(54);
|
|
633
647
|
/* harmony import */ var _splunk_visualizations_shared_domUtils__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_domUtils__WEBPACK_IMPORTED_MODULE_3__);
|
|
634
|
-
/* harmony import */ var _splunk_visualizations_shared_propUtils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
|
648
|
+
/* harmony import */ var _splunk_visualizations_shared_propUtils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(25);
|
|
635
649
|
/* harmony import */ var _splunk_visualizations_shared_propUtils__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_propUtils__WEBPACK_IMPORTED_MODULE_4__);
|
|
636
|
-
/* harmony import */ var _splunk_visualizations_shared_colorConstants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
|
650
|
+
/* harmony import */ var _splunk_visualizations_shared_colorConstants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(49);
|
|
637
651
|
/* harmony import */ var _splunk_visualizations_shared_colorConstants__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_colorConstants__WEBPACK_IMPORTED_MODULE_5__);
|
|
638
652
|
|
|
639
653
|
|
|
@@ -1597,35 +1611,56 @@ var handleValueClickCallback = function handleValueClickCallback(ev, majorValue,
|
|
|
1597
1611
|
|
|
1598
1612
|
/***/ }),
|
|
1599
1613
|
|
|
1600
|
-
/***/
|
|
1614
|
+
/***/ 24:
|
|
1601
1615
|
/***/ (function(module, exports) {
|
|
1602
1616
|
|
|
1603
1617
|
module.exports = require("@splunk/visualization-context/TimezoneContext");
|
|
1604
1618
|
|
|
1605
1619
|
/***/ }),
|
|
1606
1620
|
|
|
1607
|
-
/***/
|
|
1621
|
+
/***/ 25:
|
|
1608
1622
|
/***/ (function(module, exports) {
|
|
1609
1623
|
|
|
1610
1624
|
module.exports = require("@splunk/visualizations-shared/propUtils");
|
|
1611
1625
|
|
|
1612
1626
|
/***/ }),
|
|
1613
1627
|
|
|
1614
|
-
/***/
|
|
1628
|
+
/***/ 26:
|
|
1629
|
+
/***/ (function(module, exports) {
|
|
1630
|
+
|
|
1631
|
+
module.exports = require("@splunk/visualization-context/FeatureFlagContext");
|
|
1632
|
+
|
|
1633
|
+
/***/ }),
|
|
1634
|
+
|
|
1635
|
+
/***/ 27:
|
|
1615
1636
|
/***/ (function(module, exports) {
|
|
1616
1637
|
|
|
1617
1638
|
module.exports = require("@splunk/visualizations-shared/hocUtils");
|
|
1618
1639
|
|
|
1619
1640
|
/***/ }),
|
|
1620
1641
|
|
|
1621
|
-
/***/
|
|
1642
|
+
/***/ 28:
|
|
1622
1643
|
/***/ (function(module, exports) {
|
|
1623
1644
|
|
|
1624
1645
|
module.exports = require("@splunk/visualizations-shared/JSONSchemaUtils");
|
|
1625
1646
|
|
|
1626
1647
|
/***/ }),
|
|
1627
1648
|
|
|
1628
|
-
/***/
|
|
1649
|
+
/***/ 29:
|
|
1650
|
+
/***/ (function(module, exports) {
|
|
1651
|
+
|
|
1652
|
+
module.exports = require("@splunk/visualizations-shared/numberUtils");
|
|
1653
|
+
|
|
1654
|
+
/***/ }),
|
|
1655
|
+
|
|
1656
|
+
/***/ 3:
|
|
1657
|
+
/***/ (function(module, exports) {
|
|
1658
|
+
|
|
1659
|
+
module.exports = require("lodash");
|
|
1660
|
+
|
|
1661
|
+
/***/ }),
|
|
1662
|
+
|
|
1663
|
+
/***/ 30:
|
|
1629
1664
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1630
1665
|
|
|
1631
1666
|
"use strict";
|
|
@@ -1717,7 +1752,14 @@ exports.default = FixedSizeContainer_1.default(IconPlaceholder);
|
|
|
1717
1752
|
|
|
1718
1753
|
/***/ }),
|
|
1719
1754
|
|
|
1720
|
-
/***/
|
|
1755
|
+
/***/ 31:
|
|
1756
|
+
/***/ (function(module, exports) {
|
|
1757
|
+
|
|
1758
|
+
module.exports = require("@splunk/ui-utils/id");
|
|
1759
|
+
|
|
1760
|
+
/***/ }),
|
|
1761
|
+
|
|
1762
|
+
/***/ 32:
|
|
1721
1763
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1722
1764
|
|
|
1723
1765
|
"use strict";
|
|
@@ -1734,7 +1776,7 @@ var T = __webpack_require__(0);
|
|
|
1734
1776
|
|
|
1735
1777
|
var lodash_1 = __webpack_require__(3);
|
|
1736
1778
|
|
|
1737
|
-
var DataSource_1 = __webpack_require__(
|
|
1779
|
+
var DataSource_1 = __webpack_require__(43);
|
|
1738
1780
|
|
|
1739
1781
|
exports.SortParamsPropTypes = T.shape({
|
|
1740
1782
|
currentSortKey: T.string,
|
|
@@ -1788,7 +1830,7 @@ exports.getSortingParams = getSortingParams;
|
|
|
1788
1830
|
|
|
1789
1831
|
/***/ }),
|
|
1790
1832
|
|
|
1791
|
-
/***/
|
|
1833
|
+
/***/ 33:
|
|
1792
1834
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1793
1835
|
|
|
1794
1836
|
"use strict";
|
|
@@ -1853,21 +1895,7 @@ exports.getPaginationParams = getPaginationParams;
|
|
|
1853
1895
|
|
|
1854
1896
|
/***/ }),
|
|
1855
1897
|
|
|
1856
|
-
/***/
|
|
1857
|
-
/***/ (function(module, exports) {
|
|
1858
|
-
|
|
1859
|
-
module.exports = require("lodash");
|
|
1860
|
-
|
|
1861
|
-
/***/ }),
|
|
1862
|
-
|
|
1863
|
-
/***/ 30:
|
|
1864
|
-
/***/ (function(module, exports) {
|
|
1865
|
-
|
|
1866
|
-
module.exports = require("@splunk/visualizations-shared/numberUtils");
|
|
1867
|
-
|
|
1868
|
-
/***/ }),
|
|
1869
|
-
|
|
1870
|
-
/***/ 31:
|
|
1898
|
+
/***/ 34:
|
|
1871
1899
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1872
1900
|
|
|
1873
1901
|
"use strict";
|
|
@@ -1896,12 +1924,14 @@ var VizCategory;
|
|
|
1896
1924
|
|
|
1897
1925
|
/***/ }),
|
|
1898
1926
|
|
|
1899
|
-
/***/
|
|
1927
|
+
/***/ 35:
|
|
1900
1928
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1901
1929
|
|
|
1902
1930
|
"use strict";
|
|
1903
1931
|
|
|
1904
1932
|
|
|
1933
|
+
var _slicedToArray = __webpack_require__(17);
|
|
1934
|
+
|
|
1905
1935
|
Object.defineProperty(exports, "__esModule", {
|
|
1906
1936
|
value: true
|
|
1907
1937
|
});
|
|
@@ -1910,44 +1940,51 @@ var React = __webpack_require__(1);
|
|
|
1910
1940
|
|
|
1911
1941
|
var lodash_1 = __webpack_require__(3);
|
|
1912
1942
|
|
|
1913
|
-
var getSettingsFromThemedProps_1 = __webpack_require__(
|
|
1943
|
+
var getSettingsFromThemedProps_1 = __webpack_require__(36);
|
|
1914
1944
|
|
|
1915
|
-
var Options_1 = __webpack_require__(
|
|
1945
|
+
var Options_1 = __webpack_require__(37);
|
|
1916
1946
|
|
|
1917
|
-
var SanitizeProps_1 = __webpack_require__(
|
|
1947
|
+
var SanitizeProps_1 = __webpack_require__(38);
|
|
1918
1948
|
|
|
1919
|
-
var TimezoneContext_1 = __webpack_require__(
|
|
1949
|
+
var TimezoneContext_1 = __webpack_require__(24);
|
|
1920
1950
|
|
|
1921
|
-
var moment_1 = __webpack_require__(
|
|
1951
|
+
var moment_1 = __webpack_require__(39);
|
|
1952
|
+
|
|
1953
|
+
var FeatureFlagContext_1 = __webpack_require__(26);
|
|
1922
1954
|
|
|
1923
1955
|
var styled_components_1 = __webpack_require__(4);
|
|
1924
1956
|
|
|
1925
|
-
var hocUtils_1 = __webpack_require__(
|
|
1957
|
+
var hocUtils_1 = __webpack_require__(27);
|
|
1958
|
+
|
|
1959
|
+
var JSONSchemaUtils_1 = __webpack_require__(28);
|
|
1926
1960
|
|
|
1927
|
-
var
|
|
1961
|
+
var async_dynamic_options_evaluator_1 = __webpack_require__(40);
|
|
1928
1962
|
|
|
1929
|
-
var
|
|
1963
|
+
var id_1 = __webpack_require__(31);
|
|
1964
|
+
|
|
1965
|
+
var SplunkVisualization_1 = __webpack_require__(41);
|
|
1930
1966
|
|
|
1931
1967
|
var VizBehavior_1 = __webpack_require__(6);
|
|
1932
1968
|
|
|
1933
|
-
var getSorting_1 = __webpack_require__(
|
|
1969
|
+
var getSorting_1 = __webpack_require__(32);
|
|
1970
|
+
|
|
1971
|
+
var getPagination_1 = __webpack_require__(33);
|
|
1934
1972
|
|
|
1935
|
-
var
|
|
1973
|
+
var useDeepMemo_1 = __webpack_require__(44);
|
|
1936
1974
|
|
|
1937
|
-
var
|
|
1975
|
+
var MissingPropsMessage_1 = __webpack_require__(45);
|
|
1938
1976
|
|
|
1939
|
-
var
|
|
1977
|
+
var withEditModeCover_1 = __webpack_require__(46);
|
|
1940
1978
|
|
|
1941
|
-
var
|
|
1979
|
+
var withPlaceholder_1 = __webpack_require__(47);
|
|
1942
1980
|
|
|
1943
|
-
var
|
|
1981
|
+
var UUID = id_1.createGUID();
|
|
1944
1982
|
/**
|
|
1945
1983
|
* hoc that wraps a pure react visualization in a Dashboard visualization
|
|
1946
1984
|
* @param {DashboardVizOpts} opts
|
|
1947
1985
|
* @returns {HOC}
|
|
1948
1986
|
*/
|
|
1949
1987
|
|
|
1950
|
-
|
|
1951
1988
|
var withDashboardViz = function withDashboardViz(opts) {
|
|
1952
1989
|
var ReactViz = opts.ReactViz,
|
|
1953
1990
|
vizConfig = opts.vizConfig,
|
|
@@ -2007,28 +2044,76 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
2007
2044
|
|
|
2008
2045
|
var evaluatedOptions = {}; // evaluatedOptions need to be initialized as an empty object
|
|
2009
2046
|
|
|
2047
|
+
var _React$useState = React.useState({}),
|
|
2048
|
+
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
2049
|
+
evaluatedOptionsAsync = _React$useState2[0],
|
|
2050
|
+
setEvaluatedOptionsAsync = _React$useState2[1]; // evaluatedOptions need to be initialized as an empty object
|
|
2051
|
+
|
|
2052
|
+
|
|
2053
|
+
var featureFlagContext = React.useContext(FeatureFlagContext_1.default);
|
|
2054
|
+
|
|
2055
|
+
var _React$useState3 = React.useState("".concat(vizConfig.name, " - ").concat(UUID)),
|
|
2056
|
+
_React$useState4 = _slicedToArray(_React$useState3, 1),
|
|
2057
|
+
visualizationID = _React$useState4[0];
|
|
2058
|
+
|
|
2059
|
+
var _React$useState5 = React.useState(Boolean(featureFlagContext && featureFlagContext['visualizations.useWebWorkersForDSL'] && typeof Worker !== 'undefined')),
|
|
2060
|
+
_React$useState6 = _slicedToArray(_React$useState5, 2),
|
|
2061
|
+
useAsyncEvaluatedOptions = _React$useState6[0],
|
|
2062
|
+
setUseAsyncEvaluatedOptions = _React$useState6[1];
|
|
2063
|
+
|
|
2010
2064
|
evaluatedOptions = useDeepMemo_1.useDeepMemo(function () {
|
|
2011
2065
|
try {
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2066
|
+
if (useAsyncEvaluatedOptions) {
|
|
2067
|
+
var optionsToEvaluate = {
|
|
2068
|
+
context: lodash_1.defaultsDeep({}, context, vizConfig.defaultContext),
|
|
2069
|
+
options: hocUtils_1.deepMergeWithArrayPrimitiveOverrides({}, options, defaultOptions)
|
|
2070
|
+
};
|
|
2071
|
+
var asyncDynamicOptionsEvaluatorParams = {
|
|
2072
|
+
visualizationID: visualizationID,
|
|
2073
|
+
props: props,
|
|
2074
|
+
options: optionsToEvaluate,
|
|
2075
|
+
dataSources: dataSources,
|
|
2076
|
+
theme: vizConfig.themes
|
|
2077
|
+
};
|
|
2078
|
+
async_dynamic_options_evaluator_1.default.evaluate(asyncDynamicOptionsEvaluatorParams).then(function (results) {
|
|
2079
|
+
setEvaluatedOptionsAsync(results.results);
|
|
2080
|
+
}).catch(function (e) {
|
|
2081
|
+
// eslint-disable-next-line no-console
|
|
2082
|
+
console.error("unexpected error evaluating options - async: ".concat(e.message));
|
|
2083
|
+
setUseAsyncEvaluatedOptions(false);
|
|
2084
|
+
});
|
|
2085
|
+
} else {
|
|
2086
|
+
return Options_1.Options.evaluate({
|
|
2087
|
+
context: lodash_1.defaultsDeep({}, context, vizConfig.defaultContext),
|
|
2088
|
+
options: hocUtils_1.deepMergeWithArrayPrimitiveOverrides({}, options, defaultOptions)
|
|
2089
|
+
}, dataSources, themeFunc);
|
|
2090
|
+
}
|
|
2016
2091
|
} catch (e) {
|
|
2017
2092
|
// eslint-disable-next-line no-console
|
|
2018
|
-
console.error("unexpected error evaluating options:
|
|
2093
|
+
console.error("unexpected error evaluating options: ".concat(e.message));
|
|
2019
2094
|
return {};
|
|
2020
2095
|
}
|
|
2021
|
-
|
|
2096
|
+
|
|
2097
|
+
return {};
|
|
2098
|
+
}, [currentThemeFamily, currentThemeColorScheme, currentThemeDensity, options, context, dataSources, serializedTimezone, useAsyncEvaluatedOptions]);
|
|
2099
|
+
var evaluatedOptionsToUse = !useAsyncEvaluatedOptions ? evaluatedOptions : evaluatedOptionsAsync; // useEffect hook needs to be initialized before any early returns
|
|
2022
2100
|
// this is in accordance with the order of hook calls being the same on each render https://reactjs.org/docs/hooks-rules.html#explanation
|
|
2023
2101
|
|
|
2024
2102
|
React.useEffect(function () {
|
|
2025
|
-
onComputedProps(
|
|
2026
|
-
});
|
|
2103
|
+
onComputedProps(evaluatedOptionsToUse);
|
|
2104
|
+
});
|
|
2105
|
+
React.useEffect(function () {
|
|
2106
|
+
return function () {
|
|
2107
|
+
if (useAsyncEvaluatedOptions) {
|
|
2108
|
+
async_dynamic_options_evaluator_1.default.reset(visualizationID);
|
|
2109
|
+
}
|
|
2110
|
+
}; // eslint-disable-next-line react-hooks/exhaustive-deps
|
|
2111
|
+
}, []); // present warning message if any required props are missing
|
|
2027
2112
|
|
|
2028
2113
|
var _vizConfig$requiredPr = vizConfig.requiredProps,
|
|
2029
2114
|
requiredProps = _vizConfig$requiredPr === void 0 ? [] : _vizConfig$requiredPr,
|
|
2030
2115
|
supports = vizConfig.supports;
|
|
2031
|
-
var missing = MissingPropsMessage_1.missingKeys(requiredProps,
|
|
2116
|
+
var missing = MissingPropsMessage_1.missingKeys(requiredProps, evaluatedOptionsToUse);
|
|
2032
2117
|
|
|
2033
2118
|
if (missing.length > 0 && supports.includes(VizBehavior_1.VizBehavior.PLACEHOLDER)) {
|
|
2034
2119
|
return React.createElement(MissingPropsMessage_1.default, {
|
|
@@ -2055,7 +2140,7 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
2055
2140
|
|
|
2056
2141
|
if (Array.isArray(payloadKeys) && payloadKeys.length) {
|
|
2057
2142
|
payloadKeys.forEach(function (p) {
|
|
2058
|
-
payload[p] =
|
|
2143
|
+
payload[p] = evaluatedOptionsToUse[p];
|
|
2059
2144
|
});
|
|
2060
2145
|
}
|
|
2061
2146
|
|
|
@@ -2074,7 +2159,7 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
2074
2159
|
} // compute pure viz props which are not from options
|
|
2075
2160
|
|
|
2076
2161
|
|
|
2077
|
-
var computedVizProps = computeVizProps(Object.assign(Object.assign(Object.assign(Object.assign({}, props),
|
|
2162
|
+
var computedVizProps = computeVizProps(Object.assign(Object.assign(Object.assign(Object.assign({}, props), evaluatedOptionsToUse), eventCallbackProps), {
|
|
2078
2163
|
themeFunc: themeFunc
|
|
2079
2164
|
}));
|
|
2080
2165
|
/**
|
|
@@ -2094,7 +2179,7 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
2094
2179
|
|
|
2095
2180
|
var dataSourceMetadata = {};
|
|
2096
2181
|
var OptionKey = 'paginateDataSourceKey';
|
|
2097
|
-
var paginateDataSourceKey = lodash_1.has(
|
|
2182
|
+
var paginateDataSourceKey = lodash_1.has(evaluatedOptionsToUse, OptionKey) && evaluatedOptionsToUse[OptionKey] || 'primary';
|
|
2098
2183
|
|
|
2099
2184
|
if (vizConfig.supports.indexOf(VizBehavior_1.VizBehavior.PAGE_AND_SORT) > -1 && lodash_1.has(dataSources, paginateDataSourceKey)) {
|
|
2100
2185
|
var requestParams = lodash_1.get(dataSources, [paginateDataSourceKey, 'requestParams'], {});
|
|
@@ -2124,7 +2209,7 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
2124
2209
|
mode: mode,
|
|
2125
2210
|
width: width,
|
|
2126
2211
|
height: height
|
|
2127
|
-
},
|
|
2212
|
+
}, evaluatedOptionsToUse, computedVizProps, eventCallbackProps, dataSourceMetadata));
|
|
2128
2213
|
};
|
|
2129
2214
|
|
|
2130
2215
|
DashboardViz.propTypes = Object.assign(Object.assign({}, SplunkVisualization_1.default.propTypes), ReactViz.propTypes);
|
|
@@ -2142,35 +2227,49 @@ exports.default = withDashboardViz;
|
|
|
2142
2227
|
|
|
2143
2228
|
/***/ }),
|
|
2144
2229
|
|
|
2145
|
-
/***/
|
|
2230
|
+
/***/ 36:
|
|
2146
2231
|
/***/ (function(module, exports) {
|
|
2147
2232
|
|
|
2148
2233
|
module.exports = require("@splunk/themes/getSettingsFromThemedProps");
|
|
2149
2234
|
|
|
2150
2235
|
/***/ }),
|
|
2151
2236
|
|
|
2152
|
-
/***/
|
|
2237
|
+
/***/ 37:
|
|
2153
2238
|
/***/ (function(module, exports) {
|
|
2154
2239
|
|
|
2155
2240
|
module.exports = require("@splunk/visualization-encoding/Options");
|
|
2156
2241
|
|
|
2157
2242
|
/***/ }),
|
|
2158
2243
|
|
|
2159
|
-
/***/
|
|
2244
|
+
/***/ 38:
|
|
2160
2245
|
/***/ (function(module, exports) {
|
|
2161
2246
|
|
|
2162
2247
|
module.exports = require("@splunk/visualizations-shared/SanitizeProps");
|
|
2163
2248
|
|
|
2164
2249
|
/***/ }),
|
|
2165
2250
|
|
|
2166
|
-
/***/
|
|
2251
|
+
/***/ 39:
|
|
2167
2252
|
/***/ (function(module, exports) {
|
|
2168
2253
|
|
|
2169
2254
|
module.exports = require("@splunk/moment");
|
|
2170
2255
|
|
|
2171
2256
|
/***/ }),
|
|
2172
2257
|
|
|
2173
|
-
/***/
|
|
2258
|
+
/***/ 4:
|
|
2259
|
+
/***/ (function(module, exports) {
|
|
2260
|
+
|
|
2261
|
+
module.exports = require("styled-components");
|
|
2262
|
+
|
|
2263
|
+
/***/ }),
|
|
2264
|
+
|
|
2265
|
+
/***/ 40:
|
|
2266
|
+
/***/ (function(module, exports) {
|
|
2267
|
+
|
|
2268
|
+
module.exports = require("@splunk/async-dynamic-options-evaluator");
|
|
2269
|
+
|
|
2270
|
+
/***/ }),
|
|
2271
|
+
|
|
2272
|
+
/***/ 41:
|
|
2174
2273
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2175
2274
|
|
|
2176
2275
|
"use strict";
|
|
@@ -2188,7 +2287,7 @@ var T = __webpack_require__(0);
|
|
|
2188
2287
|
|
|
2189
2288
|
var lodash_1 = __webpack_require__(3);
|
|
2190
2289
|
|
|
2191
|
-
var VizActionHandler_1 = __webpack_require__(
|
|
2290
|
+
var VizActionHandler_1 = __webpack_require__(42); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
|
|
2192
2291
|
|
|
2193
2292
|
|
|
2194
2293
|
exports.INITIAL_WIDTH = 250;
|
|
@@ -2322,7 +2421,7 @@ exports.default = SplunkVisualization;
|
|
|
2322
2421
|
|
|
2323
2422
|
/***/ }),
|
|
2324
2423
|
|
|
2325
|
-
/***/
|
|
2424
|
+
/***/ 42:
|
|
2326
2425
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2327
2426
|
|
|
2328
2427
|
"use strict";
|
|
@@ -2330,7 +2429,7 @@ exports.default = SplunkVisualization;
|
|
|
2330
2429
|
|
|
2331
2430
|
var _classCallCheck = __webpack_require__(11);
|
|
2332
2431
|
|
|
2333
|
-
var _createClass = __webpack_require__(
|
|
2432
|
+
var _createClass = __webpack_require__(20);
|
|
2334
2433
|
|
|
2335
2434
|
Object.defineProperty(exports, "__esModule", {
|
|
2336
2435
|
value: true
|
|
@@ -2360,7 +2459,7 @@ exports.DefaultVizActionHandler = DefaultVizActionHandler;
|
|
|
2360
2459
|
|
|
2361
2460
|
/***/ }),
|
|
2362
2461
|
|
|
2363
|
-
/***/
|
|
2462
|
+
/***/ 43:
|
|
2364
2463
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2365
2464
|
|
|
2366
2465
|
"use strict";
|
|
@@ -2374,14 +2473,7 @@ exports.validSortDirs = ['asc', 'desc', 'none'];
|
|
|
2374
2473
|
|
|
2375
2474
|
/***/ }),
|
|
2376
2475
|
|
|
2377
|
-
/***/
|
|
2378
|
-
/***/ (function(module, exports) {
|
|
2379
|
-
|
|
2380
|
-
module.exports = require("styled-components");
|
|
2381
|
-
|
|
2382
|
-
/***/ }),
|
|
2383
|
-
|
|
2384
|
-
/***/ 40:
|
|
2476
|
+
/***/ 44:
|
|
2385
2477
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2386
2478
|
|
|
2387
2479
|
"use strict";
|
|
@@ -2427,7 +2519,7 @@ exports.useDeepMemo = useDeepMemo;
|
|
|
2427
2519
|
|
|
2428
2520
|
/***/ }),
|
|
2429
2521
|
|
|
2430
|
-
/***/
|
|
2522
|
+
/***/ 45:
|
|
2431
2523
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2432
2524
|
|
|
2433
2525
|
"use strict";
|
|
@@ -2508,132 +2600,7 @@ exports.default = FixedSizeContainer_1.default(exports.MissingPropsMessage);
|
|
|
2508
2600
|
|
|
2509
2601
|
/***/ }),
|
|
2510
2602
|
|
|
2511
|
-
/***/
|
|
2512
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2513
|
-
|
|
2514
|
-
"use strict";
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
Object.defineProperty(exports, "__esModule", {
|
|
2518
|
-
value: true
|
|
2519
|
-
});
|
|
2520
|
-
|
|
2521
|
-
var React = __webpack_require__(1);
|
|
2522
|
-
|
|
2523
|
-
var styled_components_1 = __webpack_require__(4);
|
|
2524
|
-
|
|
2525
|
-
var hocUtils_1 = __webpack_require__(14);
|
|
2526
|
-
|
|
2527
|
-
var Cover = styled_components_1.default.div.withConfig({
|
|
2528
|
-
displayName: "withEditModeCover__Cover",
|
|
2529
|
-
componentId: "sc-1gsbnxb-0"
|
|
2530
|
-
})(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
|
|
2531
|
-
var Blocker = styled_components_1.default.div.attrs({
|
|
2532
|
-
'data-splunk-visualization-version': "25.5.0 - 12c0447a7"
|
|
2533
|
-
}).withConfig({
|
|
2534
|
-
displayName: "withEditModeCover__Blocker",
|
|
2535
|
-
componentId: "sc-1gsbnxb-1"
|
|
2536
|
-
})(["position:relative;width:100%;height:100%;"]);
|
|
2537
|
-
/**
|
|
2538
|
-
* HOC that renders a cover layer in edit mode
|
|
2539
|
-
* @method withEditModeCover
|
|
2540
|
-
* @param {ExtendedDashViz} Visualization
|
|
2541
|
-
* @returns {ExtendedDashViz} Wrapper
|
|
2542
|
-
*/
|
|
2543
|
-
|
|
2544
|
-
var withEditModeCover = function withEditModeCover(Visualization, disableEditModeCover) {
|
|
2545
|
-
var Wrapper = function Wrapper(props) {
|
|
2546
|
-
var mode = props.mode;
|
|
2547
|
-
var showEditCover = mode === 'edit' && !disableEditModeCover;
|
|
2548
|
-
return React.createElement(Blocker, null, React.createElement(Visualization, Object.assign({}, props)), showEditCover && React.createElement(Cover, {
|
|
2549
|
-
"data-test": "edit-mode-cover"
|
|
2550
|
-
}));
|
|
2551
|
-
};
|
|
2552
|
-
|
|
2553
|
-
hocUtils_1.extendStaticWrapperProps({
|
|
2554
|
-
Wrapper: Wrapper,
|
|
2555
|
-
Visualization: Visualization
|
|
2556
|
-
});
|
|
2557
|
-
return Wrapper;
|
|
2558
|
-
};
|
|
2559
|
-
|
|
2560
|
-
exports.default = withEditModeCover;
|
|
2561
|
-
|
|
2562
|
-
/***/ }),
|
|
2563
|
-
|
|
2564
|
-
/***/ 43:
|
|
2565
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2566
|
-
|
|
2567
|
-
"use strict";
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
Object.defineProperty(exports, "__esModule", {
|
|
2571
|
-
value: true
|
|
2572
|
-
});
|
|
2573
|
-
|
|
2574
|
-
var React = __webpack_require__(1);
|
|
2575
|
-
|
|
2576
|
-
var colorUtils_1 = __webpack_require__(12);
|
|
2577
|
-
|
|
2578
|
-
var variables_1 = __webpack_require__(9);
|
|
2579
|
-
|
|
2580
|
-
var IconPlaceholder_1 = __webpack_require__(27);
|
|
2581
|
-
|
|
2582
|
-
var VizBehavior_1 = __webpack_require__(6);
|
|
2583
|
-
|
|
2584
|
-
var hocUtils_1 = __webpack_require__(14);
|
|
2585
|
-
|
|
2586
|
-
var withPlaceholder = function withPlaceholder(Visualization) {
|
|
2587
|
-
var useIconPlaceholder = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : IconPlaceholder_1.shouldShowIconPlaceholder;
|
|
2588
|
-
var config = Visualization.config;
|
|
2589
|
-
var themes = config.themes;
|
|
2590
|
-
|
|
2591
|
-
var Wrapper = function Wrapper(props) {
|
|
2592
|
-
var _a, _b;
|
|
2593
|
-
|
|
2594
|
-
var dataSources = props.dataSources,
|
|
2595
|
-
loading = props.loading,
|
|
2596
|
-
options = props.options,
|
|
2597
|
-
height = props.height,
|
|
2598
|
-
width = props.width;
|
|
2599
|
-
var showPlaceholder = useIconPlaceholder(dataSources, loading, options);
|
|
2600
|
-
var bgColorFromTheme = colorUtils_1.isColor(options === null || options === void 0 ? void 0 : options.backgroundColor) ? options === null || options === void 0 ? void 0 : options.backgroundColor : (_a = themes === null || themes === void 0 ? void 0 : themes.defaultBackgroundColor) === null || _a === void 0 ? void 0 : _a.call(themes, props);
|
|
2601
|
-
var icon = (_b = config.placeholderIcon) !== null && _b !== void 0 ? _b : config.icon;
|
|
2602
|
-
var iconColor = variables_1.default.contentColorActive(props);
|
|
2603
|
-
|
|
2604
|
-
if (config.supports.includes(VizBehavior_1.VizBehavior.PLACEHOLDER) && showPlaceholder) {
|
|
2605
|
-
return React.createElement(IconPlaceholder_1.default, {
|
|
2606
|
-
"data-test": "icon-placeholder",
|
|
2607
|
-
icon: icon,
|
|
2608
|
-
width: width,
|
|
2609
|
-
height: height,
|
|
2610
|
-
backgroundColor: bgColorFromTheme,
|
|
2611
|
-
iconColor: iconColor
|
|
2612
|
-
});
|
|
2613
|
-
}
|
|
2614
|
-
|
|
2615
|
-
return React.createElement(Visualization, Object.assign({}, props));
|
|
2616
|
-
};
|
|
2617
|
-
|
|
2618
|
-
hocUtils_1.extendStaticWrapperProps({
|
|
2619
|
-
Wrapper: Wrapper,
|
|
2620
|
-
Visualization: Visualization
|
|
2621
|
-
});
|
|
2622
|
-
return Wrapper;
|
|
2623
|
-
};
|
|
2624
|
-
|
|
2625
|
-
exports.default = withPlaceholder;
|
|
2626
|
-
|
|
2627
|
-
/***/ }),
|
|
2628
|
-
|
|
2629
|
-
/***/ 44:
|
|
2630
|
-
/***/ (function(module, exports) {
|
|
2631
|
-
|
|
2632
|
-
module.exports = require("@splunk/visualization-icons/placeholders");
|
|
2633
|
-
|
|
2634
|
-
/***/ }),
|
|
2635
|
-
|
|
2636
|
-
/***/ 448:
|
|
2603
|
+
/***/ 456:
|
|
2637
2604
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2638
2605
|
|
|
2639
2606
|
"use strict";
|
|
@@ -2657,13 +2624,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2657
2624
|
});
|
|
2658
2625
|
exports.themes = exports.computeVizProps = exports.PureSingleValue = exports.config = void 0;
|
|
2659
2626
|
|
|
2660
|
-
var SingleValue_1 = __webpack_require__(
|
|
2627
|
+
var SingleValue_1 = __webpack_require__(479);
|
|
2661
2628
|
|
|
2662
|
-
var withDashboardViz_1 = __webpack_require__(
|
|
2629
|
+
var withDashboardViz_1 = __webpack_require__(35);
|
|
2663
2630
|
|
|
2664
|
-
var singleValueUtils_1 = __webpack_require__(
|
|
2631
|
+
var singleValueUtils_1 = __webpack_require__(23);
|
|
2665
2632
|
|
|
2666
|
-
var config_1 = __webpack_require__(
|
|
2633
|
+
var config_1 = __webpack_require__(457);
|
|
2667
2634
|
|
|
2668
2635
|
exports.config = config_1.default;
|
|
2669
2636
|
exports.PureSingleValue = SingleValue_1.default;
|
|
@@ -2706,7 +2673,7 @@ exports.default = viz;
|
|
|
2706
2673
|
|
|
2707
2674
|
/***/ }),
|
|
2708
2675
|
|
|
2709
|
-
/***/
|
|
2676
|
+
/***/ 457:
|
|
2710
2677
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2711
2678
|
|
|
2712
2679
|
"use strict";
|
|
@@ -2722,39 +2689,39 @@ var i18n_1 = __webpack_require__(2);
|
|
|
2722
2689
|
|
|
2723
2690
|
var schemaUtils_1 = __webpack_require__(16);
|
|
2724
2691
|
|
|
2725
|
-
var PresetPalettes_1 = __webpack_require__(
|
|
2692
|
+
var PresetPalettes_1 = __webpack_require__(57);
|
|
2726
2693
|
|
|
2727
|
-
var variables_1 = __webpack_require__(
|
|
2694
|
+
var variables_1 = __webpack_require__(458);
|
|
2728
2695
|
|
|
2729
|
-
var pick_1 = __webpack_require__(
|
|
2696
|
+
var pick_1 = __webpack_require__(22);
|
|
2730
2697
|
|
|
2731
2698
|
var variables_2 = __webpack_require__(9);
|
|
2732
2699
|
|
|
2733
|
-
var visualization_icons_1 = __webpack_require__(
|
|
2700
|
+
var visualization_icons_1 = __webpack_require__(51);
|
|
2734
2701
|
|
|
2735
|
-
var placeholders_1 = __webpack_require__(
|
|
2702
|
+
var placeholders_1 = __webpack_require__(48);
|
|
2736
2703
|
|
|
2737
|
-
var singleValueContext_1 = __webpack_require__(
|
|
2704
|
+
var singleValueContext_1 = __webpack_require__(125);
|
|
2738
2705
|
|
|
2739
2706
|
var VizBehavior_1 = __webpack_require__(6);
|
|
2740
2707
|
|
|
2741
|
-
var DynamicMajorColorEditor_1 = __webpack_require__(
|
|
2708
|
+
var DynamicMajorColorEditor_1 = __webpack_require__(91);
|
|
2742
2709
|
|
|
2743
|
-
var DynamicTrendColorEditor_1 = __webpack_require__(
|
|
2710
|
+
var DynamicTrendColorEditor_1 = __webpack_require__(92);
|
|
2744
2711
|
|
|
2745
|
-
var DynamicBackgroundColorEditor_1 = __webpack_require__(
|
|
2712
|
+
var DynamicBackgroundColorEditor_1 = __webpack_require__(93);
|
|
2746
2713
|
|
|
2747
|
-
var StaticMajorAndTrendLayout_1 = __webpack_require__(
|
|
2714
|
+
var StaticMajorAndTrendLayout_1 = __webpack_require__(94);
|
|
2748
2715
|
|
|
2749
|
-
var StaticMajorColorEditor_1 = __webpack_require__(
|
|
2716
|
+
var StaticMajorColorEditor_1 = __webpack_require__(95);
|
|
2750
2717
|
|
|
2751
|
-
var StaticTrendColorEditor_1 = __webpack_require__(
|
|
2718
|
+
var StaticTrendColorEditor_1 = __webpack_require__(96);
|
|
2752
2719
|
|
|
2753
|
-
var StaticBackgroundColorEditor_1 = __webpack_require__(
|
|
2720
|
+
var StaticBackgroundColorEditor_1 = __webpack_require__(81);
|
|
2754
2721
|
|
|
2755
|
-
var configUtils_1 = __webpack_require__(
|
|
2722
|
+
var configUtils_1 = __webpack_require__(18);
|
|
2756
2723
|
|
|
2757
|
-
var VizCategory_1 = __webpack_require__(
|
|
2724
|
+
var VizCategory_1 = __webpack_require__(34);
|
|
2758
2725
|
|
|
2759
2726
|
var dataContract = {
|
|
2760
2727
|
requiredDataSources: [{
|
|
@@ -3279,28 +3246,132 @@ exports.default = configUtils_1.enhanceConfig(config);
|
|
|
3279
3246
|
|
|
3280
3247
|
/***/ }),
|
|
3281
3248
|
|
|
3282
|
-
/***/
|
|
3249
|
+
/***/ 458:
|
|
3283
3250
|
/***/ (function(module, exports) {
|
|
3284
3251
|
|
|
3285
|
-
module.exports = require("@splunk/
|
|
3252
|
+
module.exports = require("@splunk/visualization-themes/variables");
|
|
3286
3253
|
|
|
3287
3254
|
/***/ }),
|
|
3288
3255
|
|
|
3289
|
-
/***/
|
|
3290
|
-
/***/ (function(module, exports) {
|
|
3256
|
+
/***/ 46:
|
|
3257
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
3291
3258
|
|
|
3292
|
-
|
|
3259
|
+
"use strict";
|
|
3260
|
+
|
|
3261
|
+
|
|
3262
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3263
|
+
value: true
|
|
3264
|
+
});
|
|
3265
|
+
|
|
3266
|
+
var React = __webpack_require__(1);
|
|
3267
|
+
|
|
3268
|
+
var styled_components_1 = __webpack_require__(4);
|
|
3269
|
+
|
|
3270
|
+
var hocUtils_1 = __webpack_require__(14);
|
|
3271
|
+
|
|
3272
|
+
var Cover = styled_components_1.default.div.withConfig({
|
|
3273
|
+
displayName: "withEditModeCover__Cover",
|
|
3274
|
+
componentId: "sc-1gsbnxb-0"
|
|
3275
|
+
})(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
|
|
3276
|
+
var Blocker = styled_components_1.default.div.attrs({
|
|
3277
|
+
'data-splunk-visualization-version': "25.6.0 - f5eb3abf9"
|
|
3278
|
+
}).withConfig({
|
|
3279
|
+
displayName: "withEditModeCover__Blocker",
|
|
3280
|
+
componentId: "sc-1gsbnxb-1"
|
|
3281
|
+
})(["position:relative;width:100%;height:100%;"]);
|
|
3282
|
+
/**
|
|
3283
|
+
* HOC that renders a cover layer in edit mode
|
|
3284
|
+
* @method withEditModeCover
|
|
3285
|
+
* @param {ExtendedDashViz} Visualization
|
|
3286
|
+
* @returns {ExtendedDashViz} Wrapper
|
|
3287
|
+
*/
|
|
3288
|
+
|
|
3289
|
+
var withEditModeCover = function withEditModeCover(Visualization, disableEditModeCover) {
|
|
3290
|
+
var Wrapper = function Wrapper(props) {
|
|
3291
|
+
var mode = props.mode;
|
|
3292
|
+
var showEditCover = mode === 'edit' && !disableEditModeCover;
|
|
3293
|
+
return React.createElement(Blocker, null, React.createElement(Visualization, Object.assign({}, props)), showEditCover && React.createElement(Cover, {
|
|
3294
|
+
"data-test": "edit-mode-cover"
|
|
3295
|
+
}));
|
|
3296
|
+
};
|
|
3297
|
+
|
|
3298
|
+
hocUtils_1.extendStaticWrapperProps({
|
|
3299
|
+
Wrapper: Wrapper,
|
|
3300
|
+
Visualization: Visualization
|
|
3301
|
+
});
|
|
3302
|
+
return Wrapper;
|
|
3303
|
+
};
|
|
3304
|
+
|
|
3305
|
+
exports.default = withEditModeCover;
|
|
3293
3306
|
|
|
3294
3307
|
/***/ }),
|
|
3295
3308
|
|
|
3296
3309
|
/***/ 47:
|
|
3297
|
-
/***/ (function(module, exports) {
|
|
3310
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
3298
3311
|
|
|
3299
|
-
|
|
3312
|
+
"use strict";
|
|
3313
|
+
|
|
3314
|
+
|
|
3315
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3316
|
+
value: true
|
|
3317
|
+
});
|
|
3318
|
+
|
|
3319
|
+
var React = __webpack_require__(1);
|
|
3320
|
+
|
|
3321
|
+
var colorUtils_1 = __webpack_require__(12);
|
|
3322
|
+
|
|
3323
|
+
var variables_1 = __webpack_require__(9);
|
|
3324
|
+
|
|
3325
|
+
var IconPlaceholder_1 = __webpack_require__(30);
|
|
3326
|
+
|
|
3327
|
+
var VizBehavior_1 = __webpack_require__(6);
|
|
3328
|
+
|
|
3329
|
+
var hocUtils_1 = __webpack_require__(14);
|
|
3330
|
+
|
|
3331
|
+
var withPlaceholder = function withPlaceholder(Visualization) {
|
|
3332
|
+
var useIconPlaceholder = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : IconPlaceholder_1.shouldShowIconPlaceholder;
|
|
3333
|
+
var config = Visualization.config;
|
|
3334
|
+
var themes = config.themes;
|
|
3335
|
+
|
|
3336
|
+
var Wrapper = function Wrapper(props) {
|
|
3337
|
+
var _a, _b;
|
|
3338
|
+
|
|
3339
|
+
var dataSources = props.dataSources,
|
|
3340
|
+
loading = props.loading,
|
|
3341
|
+
options = props.options,
|
|
3342
|
+
height = props.height,
|
|
3343
|
+
width = props.width;
|
|
3344
|
+
var showPlaceholder = useIconPlaceholder(dataSources, loading, options);
|
|
3345
|
+
var bgColorFromTheme = colorUtils_1.isColor(options === null || options === void 0 ? void 0 : options.backgroundColor) ? options === null || options === void 0 ? void 0 : options.backgroundColor : (_a = themes === null || themes === void 0 ? void 0 : themes.defaultBackgroundColor) === null || _a === void 0 ? void 0 : _a.call(themes, props);
|
|
3346
|
+
var icon = (_b = config.placeholderIcon) !== null && _b !== void 0 ? _b : config.icon;
|
|
3347
|
+
var iconColor = variables_1.default.contentColorActive(props);
|
|
3348
|
+
|
|
3349
|
+
if (config.supports.includes(VizBehavior_1.VizBehavior.PLACEHOLDER) && showPlaceholder) {
|
|
3350
|
+
return React.createElement(IconPlaceholder_1.default, {
|
|
3351
|
+
"data-test": "icon-placeholder",
|
|
3352
|
+
icon: icon,
|
|
3353
|
+
width: width,
|
|
3354
|
+
height: height,
|
|
3355
|
+
backgroundColor: bgColorFromTheme,
|
|
3356
|
+
iconColor: iconColor
|
|
3357
|
+
});
|
|
3358
|
+
}
|
|
3359
|
+
|
|
3360
|
+
return React.createElement(Visualization, Object.assign({}, props));
|
|
3361
|
+
};
|
|
3362
|
+
|
|
3363
|
+
hocUtils_1.extendStaticWrapperProps({
|
|
3364
|
+
Wrapper: Wrapper,
|
|
3365
|
+
Visualization: Visualization
|
|
3366
|
+
});
|
|
3367
|
+
return Wrapper;
|
|
3368
|
+
};
|
|
3369
|
+
|
|
3370
|
+
exports.default = withPlaceholder;
|
|
3300
3371
|
|
|
3301
3372
|
/***/ }),
|
|
3302
3373
|
|
|
3303
|
-
/***/
|
|
3374
|
+
/***/ 479:
|
|
3304
3375
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3305
3376
|
|
|
3306
3377
|
"use strict";
|
|
@@ -3312,7 +3383,7 @@ __webpack_require__.d(__webpack_exports__, "CONTENT_OVERFLOW_FADEOUT_AREA_PX", f
|
|
|
3312
3383
|
__webpack_require__.d(__webpack_exports__, "DEFAULT_CONTENT_HEIGHT_ALLOCATION_RATIO", function() { return /* binding */ DEFAULT_CONTENT_HEIGHT_ALLOCATION_RATIO; });
|
|
3313
3384
|
|
|
3314
3385
|
// EXTERNAL MODULE: external "@babel/runtime/helpers/extends"
|
|
3315
|
-
var extends_ = __webpack_require__(
|
|
3386
|
+
var extends_ = __webpack_require__(52);
|
|
3316
3387
|
var extends_default = /*#__PURE__*/__webpack_require__.n(extends_);
|
|
3317
3388
|
|
|
3318
3389
|
// EXTERNAL MODULE: external "react"
|
|
@@ -3328,36 +3399,36 @@ var external_styled_components_ = __webpack_require__(4);
|
|
|
3328
3399
|
var external_styled_components_default = /*#__PURE__*/__webpack_require__.n(external_styled_components_);
|
|
3329
3400
|
|
|
3330
3401
|
// EXTERNAL MODULE: external "lodash/pick"
|
|
3331
|
-
var pick_ = __webpack_require__(
|
|
3402
|
+
var pick_ = __webpack_require__(74);
|
|
3332
3403
|
var pick_default = /*#__PURE__*/__webpack_require__.n(pick_);
|
|
3333
3404
|
|
|
3334
3405
|
// EXTERNAL MODULE: external "lodash/isEmpty"
|
|
3335
|
-
var isEmpty_ = __webpack_require__(
|
|
3406
|
+
var isEmpty_ = __webpack_require__(75);
|
|
3336
3407
|
var isEmpty_default = /*#__PURE__*/__webpack_require__.n(isEmpty_);
|
|
3337
3408
|
|
|
3338
3409
|
// EXTERNAL MODULE: external "@splunk/visualizations-shared/style"
|
|
3339
3410
|
var style_ = __webpack_require__(15);
|
|
3340
3411
|
|
|
3341
3412
|
// EXTERNAL MODULE: external "@splunk/visualizations-shared/SizeAwareWrapper"
|
|
3342
|
-
var SizeAwareWrapper_ = __webpack_require__(
|
|
3413
|
+
var SizeAwareWrapper_ = __webpack_require__(21);
|
|
3343
3414
|
var SizeAwareWrapper_default = /*#__PURE__*/__webpack_require__.n(SizeAwareWrapper_);
|
|
3344
3415
|
|
|
3345
3416
|
// EXTERNAL MODULE: ./src/common/components/VizStyleWrapper.jsx
|
|
3346
|
-
var VizStyleWrapper = __webpack_require__(
|
|
3417
|
+
var VizStyleWrapper = __webpack_require__(66);
|
|
3347
3418
|
|
|
3348
3419
|
// EXTERNAL MODULE: external "@babel/runtime/helpers/defineProperty"
|
|
3349
3420
|
var defineProperty_ = __webpack_require__(7);
|
|
3350
3421
|
var defineProperty_default = /*#__PURE__*/__webpack_require__.n(defineProperty_);
|
|
3351
3422
|
|
|
3352
3423
|
// EXTERNAL MODULE: ./src/SingleValueBasic/SingleValueBasic.jsx + 2 modules
|
|
3353
|
-
var SingleValueBasic = __webpack_require__(
|
|
3424
|
+
var SingleValueBasic = __webpack_require__(73);
|
|
3354
3425
|
|
|
3355
3426
|
// EXTERNAL MODULE: external "@splunk/react-sparkline/Line"
|
|
3356
|
-
var Line_ = __webpack_require__(
|
|
3427
|
+
var Line_ = __webpack_require__(101);
|
|
3357
3428
|
var Line_default = /*#__PURE__*/__webpack_require__.n(Line_);
|
|
3358
3429
|
|
|
3359
3430
|
// EXTERNAL MODULE: external "@splunk/visualizations-shared/propUtils"
|
|
3360
|
-
var propUtils_ = __webpack_require__(
|
|
3431
|
+
var propUtils_ = __webpack_require__(25);
|
|
3361
3432
|
|
|
3362
3433
|
// CONCATENATED MODULE: ./src/SingleValue/PureSingleValue/SingleValueSparkline.jsx
|
|
3363
3434
|
|
|
@@ -3421,13 +3492,13 @@ SingleValueSparkline_SingleValueSparkline.propTypes = {
|
|
|
3421
3492
|
};
|
|
3422
3493
|
/* harmony default export */ var PureSingleValue_SingleValueSparkline = (SingleValueSparkline_SingleValueSparkline);
|
|
3423
3494
|
// EXTERNAL MODULE: external "@splunk/visualizations-shared/colorConstants"
|
|
3424
|
-
var colorConstants_ = __webpack_require__(
|
|
3495
|
+
var colorConstants_ = __webpack_require__(49);
|
|
3425
3496
|
|
|
3426
3497
|
// EXTERNAL MODULE: external "@splunk/visualizations-shared/numberUtils"
|
|
3427
|
-
var numberUtils_ = __webpack_require__(
|
|
3498
|
+
var numberUtils_ = __webpack_require__(29);
|
|
3428
3499
|
|
|
3429
3500
|
// EXTERNAL MODULE: ./src/common/utils/singleValueUtils.js
|
|
3430
|
-
var singleValueUtils = __webpack_require__(
|
|
3501
|
+
var singleValueUtils = __webpack_require__(23);
|
|
3431
3502
|
|
|
3432
3503
|
// CONCATENATED MODULE: ./src/SingleValue/PureSingleValue/utils/displayUtils.js
|
|
3433
3504
|
|
|
@@ -4162,18 +4233,39 @@ SingleValue_SingleValue.defaultProps = {
|
|
|
4162
4233
|
/***/ 48:
|
|
4163
4234
|
/***/ (function(module, exports) {
|
|
4164
4235
|
|
|
4236
|
+
module.exports = require("@splunk/visualization-icons/placeholders");
|
|
4237
|
+
|
|
4238
|
+
/***/ }),
|
|
4239
|
+
|
|
4240
|
+
/***/ 49:
|
|
4241
|
+
/***/ (function(module, exports) {
|
|
4242
|
+
|
|
4243
|
+
module.exports = require("@splunk/visualizations-shared/colorConstants");
|
|
4244
|
+
|
|
4245
|
+
/***/ }),
|
|
4246
|
+
|
|
4247
|
+
/***/ 51:
|
|
4248
|
+
/***/ (function(module, exports) {
|
|
4249
|
+
|
|
4250
|
+
module.exports = require("@splunk/visualization-icons");
|
|
4251
|
+
|
|
4252
|
+
/***/ }),
|
|
4253
|
+
|
|
4254
|
+
/***/ 52:
|
|
4255
|
+
/***/ (function(module, exports) {
|
|
4256
|
+
|
|
4165
4257
|
module.exports = require("@babel/runtime/helpers/extends");
|
|
4166
4258
|
|
|
4167
4259
|
/***/ }),
|
|
4168
4260
|
|
|
4169
|
-
/***/
|
|
4261
|
+
/***/ 54:
|
|
4170
4262
|
/***/ (function(module, exports) {
|
|
4171
4263
|
|
|
4172
4264
|
module.exports = require("@splunk/visualizations-shared/domUtils");
|
|
4173
4265
|
|
|
4174
4266
|
/***/ }),
|
|
4175
4267
|
|
|
4176
|
-
/***/
|
|
4268
|
+
/***/ 57:
|
|
4177
4269
|
/***/ (function(module, exports) {
|
|
4178
4270
|
|
|
4179
4271
|
module.exports = require("@splunk/visualization-color-palettes/editors/PresetPalettes");
|
|
@@ -4218,7 +4310,7 @@ var VizBehavior;
|
|
|
4218
4310
|
|
|
4219
4311
|
/***/ }),
|
|
4220
4312
|
|
|
4221
|
-
/***/
|
|
4313
|
+
/***/ 66:
|
|
4222
4314
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4223
4315
|
|
|
4224
4316
|
"use strict";
|
|
@@ -4249,7 +4341,7 @@ module.exports = require("@babel/runtime/helpers/defineProperty");
|
|
|
4249
4341
|
|
|
4250
4342
|
/***/ }),
|
|
4251
4343
|
|
|
4252
|
-
/***/
|
|
4344
|
+
/***/ 73:
|
|
4253
4345
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4254
4346
|
|
|
4255
4347
|
"use strict";
|
|
@@ -4260,7 +4352,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4260
4352
|
__webpack_require__.d(__webpack_exports__, "SingleValueTrendValue", function() { return /* binding */ SingleValueTrendValue; });
|
|
4261
4353
|
|
|
4262
4354
|
// EXTERNAL MODULE: external "@babel/runtime/helpers/extends"
|
|
4263
|
-
var extends_ = __webpack_require__(
|
|
4355
|
+
var extends_ = __webpack_require__(52);
|
|
4264
4356
|
var extends_default = /*#__PURE__*/__webpack_require__.n(extends_);
|
|
4265
4357
|
|
|
4266
4358
|
// EXTERNAL MODULE: external "react"
|
|
@@ -4276,14 +4368,14 @@ var external_styled_components_ = __webpack_require__(4);
|
|
|
4276
4368
|
var external_styled_components_default = /*#__PURE__*/__webpack_require__.n(external_styled_components_);
|
|
4277
4369
|
|
|
4278
4370
|
// EXTERNAL MODULE: ./src/common/utils/singleValueUtils.js
|
|
4279
|
-
var singleValueUtils = __webpack_require__(
|
|
4371
|
+
var singleValueUtils = __webpack_require__(23);
|
|
4280
4372
|
|
|
4281
4373
|
// EXTERNAL MODULE: external "@splunk/react-icons/ArrowUp"
|
|
4282
|
-
var ArrowUp_ = __webpack_require__(
|
|
4374
|
+
var ArrowUp_ = __webpack_require__(76);
|
|
4283
4375
|
var ArrowUp_default = /*#__PURE__*/__webpack_require__.n(ArrowUp_);
|
|
4284
4376
|
|
|
4285
4377
|
// EXTERNAL MODULE: external "@splunk/react-icons/ArrowDown"
|
|
4286
|
-
var ArrowDown_ = __webpack_require__(
|
|
4378
|
+
var ArrowDown_ = __webpack_require__(77);
|
|
4287
4379
|
var ArrowDown_default = /*#__PURE__*/__webpack_require__.n(ArrowDown_);
|
|
4288
4380
|
|
|
4289
4381
|
// CONCATENATED MODULE: ./src/SingleValueBasic/TrendValue.jsx
|
|
@@ -4353,7 +4445,7 @@ TrendValue_SingleValueContent.propTypes = {
|
|
|
4353
4445
|
};
|
|
4354
4446
|
/* harmony default export */ var TrendValue = (TrendValue_SingleValueContent);
|
|
4355
4447
|
// EXTERNAL MODULE: external "cssesc"
|
|
4356
|
-
var external_cssesc_ = __webpack_require__(
|
|
4448
|
+
var external_cssesc_ = __webpack_require__(78);
|
|
4357
4449
|
var external_cssesc_default = /*#__PURE__*/__webpack_require__.n(external_cssesc_);
|
|
4358
4450
|
|
|
4359
4451
|
// CONCATENATED MODULE: ./src/SingleValueBasic/MajorValue.jsx
|
|
@@ -4550,49 +4642,56 @@ var SingleValueTrendValue = TrendValue;
|
|
|
4550
4642
|
|
|
4551
4643
|
/***/ }),
|
|
4552
4644
|
|
|
4553
|
-
/***/
|
|
4645
|
+
/***/ 74:
|
|
4554
4646
|
/***/ (function(module, exports) {
|
|
4555
4647
|
|
|
4556
4648
|
module.exports = require("lodash/pick");
|
|
4557
4649
|
|
|
4558
4650
|
/***/ }),
|
|
4559
4651
|
|
|
4560
|
-
/***/
|
|
4652
|
+
/***/ 75:
|
|
4561
4653
|
/***/ (function(module, exports) {
|
|
4562
4654
|
|
|
4563
4655
|
module.exports = require("lodash/isEmpty");
|
|
4564
4656
|
|
|
4565
4657
|
/***/ }),
|
|
4566
4658
|
|
|
4567
|
-
/***/
|
|
4659
|
+
/***/ 76:
|
|
4568
4660
|
/***/ (function(module, exports) {
|
|
4569
4661
|
|
|
4570
4662
|
module.exports = require("@splunk/react-icons/ArrowUp");
|
|
4571
4663
|
|
|
4572
4664
|
/***/ }),
|
|
4573
4665
|
|
|
4574
|
-
/***/
|
|
4666
|
+
/***/ 77:
|
|
4575
4667
|
/***/ (function(module, exports) {
|
|
4576
4668
|
|
|
4577
4669
|
module.exports = require("@splunk/react-icons/ArrowDown");
|
|
4578
4670
|
|
|
4579
4671
|
/***/ }),
|
|
4580
4672
|
|
|
4581
|
-
/***/
|
|
4673
|
+
/***/ 78:
|
|
4582
4674
|
/***/ (function(module, exports) {
|
|
4583
4675
|
|
|
4584
4676
|
module.exports = require("cssesc");
|
|
4585
4677
|
|
|
4586
4678
|
/***/ }),
|
|
4587
4679
|
|
|
4588
|
-
/***/
|
|
4680
|
+
/***/ 8:
|
|
4681
|
+
/***/ (function(module, exports) {
|
|
4682
|
+
|
|
4683
|
+
module.exports = require("@babel/runtime/helpers/toConsumableArray");
|
|
4684
|
+
|
|
4685
|
+
/***/ }),
|
|
4686
|
+
|
|
4687
|
+
/***/ 81:
|
|
4589
4688
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4590
4689
|
|
|
4591
4690
|
"use strict";
|
|
4592
4691
|
__webpack_require__.r(__webpack_exports__);
|
|
4593
4692
|
/* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
|
|
4594
4693
|
/* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__);
|
|
4595
|
-
/* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
4694
|
+
/* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(19);
|
|
4596
4695
|
/* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__);
|
|
4597
4696
|
|
|
4598
4697
|
|
|
@@ -4609,14 +4708,14 @@ var StaticBackgroundColorEditor = {
|
|
|
4609
4708
|
|
|
4610
4709
|
/***/ }),
|
|
4611
4710
|
|
|
4612
|
-
/***/
|
|
4711
|
+
/***/ 9:
|
|
4613
4712
|
/***/ (function(module, exports) {
|
|
4614
4713
|
|
|
4615
|
-
module.exports = require("@
|
|
4714
|
+
module.exports = require("@splunk/themes/variables");
|
|
4616
4715
|
|
|
4617
4716
|
/***/ }),
|
|
4618
4717
|
|
|
4619
|
-
/***/
|
|
4718
|
+
/***/ 91:
|
|
4620
4719
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4621
4720
|
|
|
4622
4721
|
"use strict";
|
|
@@ -4624,7 +4723,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4624
4723
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getDynamicMajorColorEditor", function() { return getDynamicMajorColorEditor; });
|
|
4625
4724
|
/* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
|
|
4626
4725
|
/* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__);
|
|
4627
|
-
/* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
4726
|
+
/* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(19);
|
|
4628
4727
|
/* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__);
|
|
4629
4728
|
|
|
4630
4729
|
|
|
@@ -4667,7 +4766,7 @@ var getDynamicMajorColorEditor = function getDynamicMajorColorEditor(_ref) {
|
|
|
4667
4766
|
|
|
4668
4767
|
/***/ }),
|
|
4669
4768
|
|
|
4670
|
-
/***/
|
|
4769
|
+
/***/ 92:
|
|
4671
4770
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4672
4771
|
|
|
4673
4772
|
"use strict";
|
|
@@ -4675,7 +4774,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4675
4774
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getDynamicTrendColorEditor", function() { return getDynamicTrendColorEditor; });
|
|
4676
4775
|
/* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
|
|
4677
4776
|
/* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__);
|
|
4678
|
-
/* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
4777
|
+
/* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(19);
|
|
4679
4778
|
/* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__);
|
|
4680
4779
|
|
|
4681
4780
|
|
|
@@ -4712,14 +4811,7 @@ var getDynamicTrendColorEditor = function getDynamicTrendColorEditor(_ref) {
|
|
|
4712
4811
|
|
|
4713
4812
|
/***/ }),
|
|
4714
4813
|
|
|
4715
|
-
/***/
|
|
4716
|
-
/***/ (function(module, exports) {
|
|
4717
|
-
|
|
4718
|
-
module.exports = require("@splunk/themes/variables");
|
|
4719
|
-
|
|
4720
|
-
/***/ }),
|
|
4721
|
-
|
|
4722
|
-
/***/ 90:
|
|
4814
|
+
/***/ 93:
|
|
4723
4815
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4724
4816
|
|
|
4725
4817
|
"use strict";
|
|
@@ -4727,7 +4819,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4727
4819
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getDynamicBackgroundColorEditor", function() { return getDynamicBackgroundColorEditor; });
|
|
4728
4820
|
/* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
|
|
4729
4821
|
/* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__);
|
|
4730
|
-
/* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
4822
|
+
/* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(19);
|
|
4731
4823
|
/* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__);
|
|
4732
4824
|
|
|
4733
4825
|
|
|
@@ -4774,7 +4866,7 @@ var getDynamicBackgroundColorEditor = function getDynamicBackgroundColorEditor(_
|
|
|
4774
4866
|
|
|
4775
4867
|
/***/ }),
|
|
4776
4868
|
|
|
4777
|
-
/***/
|
|
4869
|
+
/***/ 94:
|
|
4778
4870
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4779
4871
|
|
|
4780
4872
|
"use strict";
|
|
@@ -4825,14 +4917,14 @@ var StaticMajorAndTrendLayout = [[{
|
|
|
4825
4917
|
|
|
4826
4918
|
/***/ }),
|
|
4827
4919
|
|
|
4828
|
-
/***/
|
|
4920
|
+
/***/ 95:
|
|
4829
4921
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4830
4922
|
|
|
4831
4923
|
"use strict";
|
|
4832
4924
|
__webpack_require__.r(__webpack_exports__);
|
|
4833
4925
|
/* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
|
|
4834
4926
|
/* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__);
|
|
4835
|
-
/* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
4927
|
+
/* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(19);
|
|
4836
4928
|
/* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__);
|
|
4837
4929
|
|
|
4838
4930
|
|
|
@@ -4849,14 +4941,14 @@ var StaticMajorColorEditor = {
|
|
|
4849
4941
|
|
|
4850
4942
|
/***/ }),
|
|
4851
4943
|
|
|
4852
|
-
/***/
|
|
4944
|
+
/***/ 96:
|
|
4853
4945
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4854
4946
|
|
|
4855
4947
|
"use strict";
|
|
4856
4948
|
__webpack_require__.r(__webpack_exports__);
|
|
4857
4949
|
/* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
|
|
4858
4950
|
/* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__);
|
|
4859
|
-
/* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
4951
|
+
/* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(19);
|
|
4860
4952
|
/* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__);
|
|
4861
4953
|
|
|
4862
4954
|
|
|
@@ -4875,13 +4967,6 @@ var StaticTrendColorEditor = {
|
|
|
4875
4967
|
};
|
|
4876
4968
|
/* harmony default export */ __webpack_exports__["default"] = (StaticTrendColorEditor);
|
|
4877
4969
|
|
|
4878
|
-
/***/ }),
|
|
4879
|
-
|
|
4880
|
-
/***/ 99:
|
|
4881
|
-
/***/ (function(module, exports) {
|
|
4882
|
-
|
|
4883
|
-
module.exports = require("@splunk/react-sparkline/Line");
|
|
4884
|
-
|
|
4885
4970
|
/***/ })
|
|
4886
4971
|
|
|
4887
4972
|
/******/ });
|