@splunk/visualizations 26.2.0 → 26.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Area.config.js +91 -594
- package/Area.config.js.map +1 -1
- package/Area.js +184 -689
- package/Area.js.map +1 -1
- package/Bar.config.js +92 -561
- package/Bar.config.js.map +1 -1
- package/Bar.js +184 -655
- package/Bar.js.map +1 -1
- package/Bubble.config.js +83 -482
- package/Bubble.config.js.map +1 -1
- package/Bubble.js +177 -578
- package/Bubble.js.map +1 -1
- package/ChoroplethSvg.config.js +76 -201
- package/ChoroplethSvg.config.js.map +1 -1
- package/ChoroplethSvg.js +173 -301
- package/ChoroplethSvg.js.map +1 -1
- package/Column.config.js +92 -599
- package/Column.config.js.map +1 -1
- package/Column.js +184 -693
- package/Column.js.map +1 -1
- package/Ellipse.config.js +82 -200
- package/Ellipse.config.js.map +1 -1
- package/Ellipse.js +137 -262
- package/Ellipse.js.map +1 -1
- package/Events.config.js +61 -282
- package/Events.config.js.map +1 -1
- package/Events.js +222 -428
- package/Events.js.map +1 -1
- package/FillerGauge.config.js +90 -219
- package/FillerGauge.config.js.map +1 -1
- package/FillerGauge.js +163 -299
- package/FillerGauge.js.map +1 -1
- package/Image.config.js +61 -157
- package/Image.config.js.map +1 -1
- package/Image.js +130 -242
- package/Image.js.map +1 -1
- package/Line.config.js +91 -606
- package/Line.config.js.map +1 -1
- package/Line.js +184 -701
- package/Line.js.map +1 -1
- package/LinkGraph.config.js +74 -256
- package/LinkGraph.config.js.map +1 -1
- package/LinkGraph.js +17198 -24224
- package/LinkGraph.js.map +1 -1
- package/Map.config.js +128 -1123
- package/Map.config.js.map +1 -1
- package/Map.js +309 -680
- package/Map.js.map +1 -1
- package/Markdown.config.js +61 -188
- package/Markdown.config.js.map +1 -1
- package/Markdown.js +190 -323
- package/Markdown.js.map +1 -1
- package/MarkerGauge.config.js +137 -297
- package/MarkerGauge.config.js.map +1 -1
- package/MarkerGauge.js +1038 -1203
- package/MarkerGauge.js.map +1 -1
- package/ParallelCoordinates.config.js +71 -191
- package/ParallelCoordinates.config.js.map +1 -1
- package/ParallelCoordinates.js +218 -343
- package/ParallelCoordinates.js.map +1 -1
- package/Pie.config.js +72 -240
- package/Pie.config.js.map +1 -1
- package/Pie.js +214 -381
- package/Pie.js.map +1 -1
- package/Punchcard.config.js +71 -305
- package/Punchcard.config.js.map +1 -1
- package/Punchcard.js +246 -477
- package/Punchcard.js.map +1 -1
- package/Rectangle.config.js +211 -347
- package/Rectangle.config.js.map +1 -1
- package/Rectangle.js +274 -416
- package/Rectangle.js.map +1 -1
- package/Sankey.config.js +71 -213
- package/Sankey.config.js.map +1 -1
- package/Sankey.js +246 -382
- package/Sankey.js.map +1 -1
- package/Scatter.config.js +85 -463
- package/Scatter.config.js.map +1 -1
- package/Scatter.js +825 -1202
- package/Scatter.js.map +1 -1
- package/SingleValue.config.js +114 -409
- package/SingleValue.config.js.map +1 -1
- package/SingleValue.js +287 -582
- package/SingleValue.js.map +1 -1
- package/SingleValueBasic.js +30 -30
- package/SingleValueBasic.js.map +1 -1
- package/SingleValueIcon.config.js +113 -378
- package/SingleValueIcon.config.js.map +1 -1
- package/SingleValueIcon.js +268 -533
- package/SingleValueIcon.js.map +1 -1
- package/SingleValueRadial.config.js +110 -382
- package/SingleValueRadial.config.js.map +1 -1
- package/SingleValueRadial.js +272 -543
- package/SingleValueRadial.js.map +1 -1
- package/SparkLine.js +24 -24
- package/SparkLine.js.map +1 -1
- package/Table.config.js +74 -496
- package/Table.config.js.map +1 -1
- package/Table.js +302 -720
- package/Table.js.map +1 -1
- package/common/Charting.js +22 -34
- package/common/Charting.js.map +1 -1
- package/common/DocExampleWithVizSandbox.js +21 -21
- package/common/DocExampleWithVizSandbox.js.map +1 -1
- package/common/EventsDoc.js +18 -18
- package/common/EventsDoc.js.map +1 -1
- package/common/GaugeMajorTicks.js +4 -4
- package/common/GaugeMajorTicks.js.map +1 -1
- package/common/GaugeValueMarker.js +2 -2
- package/common/GaugeValueMarker.js.map +1 -1
- package/common/OptionsDoc.js +4 -4
- package/common/OptionsDoc.js.map +1 -1
- package/common/OverviewDoc.js +39 -40
- package/common/OverviewDoc.js.map +1 -1
- package/common/SplunkVisualization.js +2 -2
- package/common/SplunkVisualization.js.map +1 -1
- package/common/SplunkVisualizationApi.js +2 -2
- package/common/SplunkVisualizationApi.js.map +1 -1
- package/common/ThemesDoc.js +19 -19
- package/common/ThemesDoc.js.map +1 -1
- package/common/chartingUtils.js +2 -2
- package/common/chartingUtils.js.map +1 -1
- package/common/gaugeUtils.js +10 -10
- package/common/gaugeUtils.js.map +1 -1
- package/common/shapeUtils.js +10 -10
- package/common/shapeUtils.js.map +1 -1
- package/common/utils/configUtils.js +25 -155
- package/common/utils/configUtils.js.map +1 -1
- package/common/utils/dataUtils.js +75 -87
- package/common/utils/dataUtils.js.map +1 -1
- package/common/utils/featureFlagUtils.js +4 -4
- package/common/utils/featureFlagUtils.js.map +1 -1
- package/common/utils/hocUtils.js +2 -2
- package/common/utils/hocUtils.js.map +1 -1
- package/common/utils/mapUtils.js +51 -54
- package/common/utils/mapUtils.js.map +1 -1
- package/common/utils/singleValueUtils.js +7 -7
- package/common/utils/singleValueUtils.js.map +1 -1
- package/common/utils/testHelper.js +7 -36
- package/common/utils/testHelper.js.map +1 -1
- package/common/utils/trellisUtils.js +7 -6
- package/common/utils/trellisUtils.js.map +1 -1
- package/common/utils/urlUtils.js +2 -2
- package/common/utils/urlUtils.js.map +1 -1
- package/common/withDashboardViz.js +65 -77
- package/common/withDashboardViz.js.map +1 -1
- package/package.json +46 -49
- package/common/utils/layoutUtils.js +0 -115
- package/common/utils/layoutUtils.js.map +0 -1
package/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 = 485);
|
|
91
91
|
/******/ })
|
|
92
92
|
/************************************************************************/
|
|
93
93
|
/******/ ({
|
|
@@ -109,11 +109,11 @@ module.exports = require("prop-types");
|
|
|
109
109
|
/***/ 10:
|
|
110
110
|
/***/ (function(module, exports) {
|
|
111
111
|
|
|
112
|
-
module.exports = require("@
|
|
112
|
+
module.exports = require("@splunk/visualization-schemas");
|
|
113
113
|
|
|
114
114
|
/***/ }),
|
|
115
115
|
|
|
116
|
-
/***/
|
|
116
|
+
/***/ 100:
|
|
117
117
|
/***/ (function(module, exports, __webpack_require__) {
|
|
118
118
|
|
|
119
119
|
"use strict";
|
|
@@ -158,7 +158,7 @@ exports.TrellisTitle = TrellisTitle;
|
|
|
158
158
|
|
|
159
159
|
/***/ }),
|
|
160
160
|
|
|
161
|
-
/***/
|
|
161
|
+
/***/ 102:
|
|
162
162
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
163
163
|
|
|
164
164
|
"use strict";
|
|
@@ -169,7 +169,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
169
169
|
__webpack_require__.d(__webpack_exports__, "SingleValueTrendValue", function() { return /* binding */ SingleValueTrendValue; });
|
|
170
170
|
|
|
171
171
|
// EXTERNAL MODULE: external "@babel/runtime/helpers/extends"
|
|
172
|
-
var extends_ = __webpack_require__(
|
|
172
|
+
var extends_ = __webpack_require__(69);
|
|
173
173
|
var extends_default = /*#__PURE__*/__webpack_require__.n(extends_);
|
|
174
174
|
|
|
175
175
|
// EXTERNAL MODULE: external "react"
|
|
@@ -188,11 +188,11 @@ var external_styled_components_default = /*#__PURE__*/__webpack_require__.n(exte
|
|
|
188
188
|
var singleValueUtils = __webpack_require__(20);
|
|
189
189
|
|
|
190
190
|
// EXTERNAL MODULE: external "@splunk/react-icons/enterprise/ArrowUp"
|
|
191
|
-
var ArrowUp_ = __webpack_require__(
|
|
191
|
+
var ArrowUp_ = __webpack_require__(106);
|
|
192
192
|
var ArrowUp_default = /*#__PURE__*/__webpack_require__.n(ArrowUp_);
|
|
193
193
|
|
|
194
194
|
// EXTERNAL MODULE: external "@splunk/react-icons/enterprise/ArrowDown"
|
|
195
|
-
var ArrowDown_ = __webpack_require__(
|
|
195
|
+
var ArrowDown_ = __webpack_require__(107);
|
|
196
196
|
var ArrowDown_default = /*#__PURE__*/__webpack_require__.n(ArrowDown_);
|
|
197
197
|
|
|
198
198
|
// EXTERNAL MODULE: external "@splunk/ui-utils/i18n"
|
|
@@ -208,7 +208,7 @@ var i18n_ = __webpack_require__(2);
|
|
|
208
208
|
|
|
209
209
|
var Column = external_styled_components_default.a.div.withConfig({
|
|
210
210
|
displayName: "TrendValue__Column",
|
|
211
|
-
componentId: "yd2lvy-0"
|
|
211
|
+
componentId: "sc-yd2lvy-0"
|
|
212
212
|
})(["display:flex;flex-direction:row;justify-content:", ";height:", "px;", ";"], function (props) {
|
|
213
213
|
return props.justify || 'flex-end';
|
|
214
214
|
}, function (props) {
|
|
@@ -218,7 +218,7 @@ var Column = external_styled_components_default.a.div.withConfig({
|
|
|
218
218
|
});
|
|
219
219
|
var Text = external_styled_components_default.a.div.withConfig({
|
|
220
220
|
displayName: "TrendValue__Text",
|
|
221
|
-
componentId: "yd2lvy-1"
|
|
221
|
+
componentId: "sc-yd2lvy-1"
|
|
222
222
|
})(["white-space:nowrap;font-size:", "px;color:", ";font-family:", ";height:", "px;line-height:", "px;display:flex;align-self:baseline;", ";"], function (props) {
|
|
223
223
|
return props.size || 12;
|
|
224
224
|
}, function (props) {
|
|
@@ -271,7 +271,7 @@ TrendValue_SingleValueContent.propTypes = {
|
|
|
271
271
|
};
|
|
272
272
|
/* harmony default export */ var TrendValue = (TrendValue_SingleValueContent);
|
|
273
273
|
// EXTERNAL MODULE: external "cssesc"
|
|
274
|
-
var external_cssesc_ = __webpack_require__(
|
|
274
|
+
var external_cssesc_ = __webpack_require__(108);
|
|
275
275
|
var external_cssesc_default = /*#__PURE__*/__webpack_require__.n(external_cssesc_);
|
|
276
276
|
|
|
277
277
|
// CONCATENATED MODULE: ./src/SingleValueBasic/MajorValue.jsx
|
|
@@ -282,7 +282,7 @@ var external_cssesc_default = /*#__PURE__*/__webpack_require__.n(external_cssesc
|
|
|
282
282
|
|
|
283
283
|
var Row = external_styled_components_default.a.div.withConfig({
|
|
284
284
|
displayName: "MajorValue__Row",
|
|
285
|
-
componentId: "shlzpv-0"
|
|
285
|
+
componentId: "sc-shlzpv-0"
|
|
286
286
|
})(["display:flex;flex-direction:row;align-items:flex-end;justify-content:left;height:", "px;line-height:", "px;"], function (props) {
|
|
287
287
|
return props.size;
|
|
288
288
|
}, function (props) {
|
|
@@ -290,7 +290,7 @@ var Row = external_styled_components_default.a.div.withConfig({
|
|
|
290
290
|
});
|
|
291
291
|
var MajorValue_Text = external_styled_components_default.a.div.withConfig({
|
|
292
292
|
displayName: "MajorValue__Text",
|
|
293
|
-
componentId: "shlzpv-1"
|
|
293
|
+
componentId: "sc-shlzpv-1"
|
|
294
294
|
})(["white-space:nowrap;height:100%;font-size:", "px;color:", ";font-family:", ";font-weight:bold;&:hover{text-decoration:", ";cursor:", ";}", ""], function (props) {
|
|
295
295
|
return props.size || 12;
|
|
296
296
|
}, function (props) {
|
|
@@ -381,11 +381,11 @@ MajorValue_SingleValueContent.propTypes = {
|
|
|
381
381
|
|
|
382
382
|
var SingleValueBasic_Column = external_styled_components_default.a.div.withConfig({
|
|
383
383
|
displayName: "SingleValueBasic__Column",
|
|
384
|
-
componentId: "k0nwrx-0"
|
|
384
|
+
componentId: "sc-k0nwrx-0"
|
|
385
385
|
})(["display:flex;flex-direction:column;align-self:center;justify-content:center;"]);
|
|
386
386
|
var SingleValueBasic_Row = external_styled_components_default.a.div.withConfig({
|
|
387
387
|
displayName: "SingleValueBasic__Row",
|
|
388
|
-
componentId: "k0nwrx-1"
|
|
388
|
+
componentId: "sc-k0nwrx-1"
|
|
389
389
|
})(["display:flex;flex-direction:row;align-items:", ";justify-content:", ";"], function (props) {
|
|
390
390
|
return props.alignItems || 'center';
|
|
391
391
|
}, function (props) {
|
|
@@ -393,7 +393,7 @@ var SingleValueBasic_Row = external_styled_components_default.a.div.withConfig({
|
|
|
393
393
|
});
|
|
394
394
|
var SingleValueBasic_Text = external_styled_components_default.a.div.withConfig({
|
|
395
395
|
displayName: "SingleValueBasic__Text",
|
|
396
|
-
componentId: "k0nwrx-2"
|
|
396
|
+
componentId: "sc-k0nwrx-2"
|
|
397
397
|
})(["font-weight:normal;white-space:nowrap;font-size:", "px;color:", ";font-family:", ";height:", "px;line-height:1.2;margin:", ";"], function (props) {
|
|
398
398
|
return props.size || 12;
|
|
399
399
|
}, function (props) {
|
|
@@ -477,49 +477,49 @@ var SingleValueTrendValue = TrendValue;
|
|
|
477
477
|
|
|
478
478
|
/***/ }),
|
|
479
479
|
|
|
480
|
-
/***/
|
|
480
|
+
/***/ 105:
|
|
481
481
|
/***/ (function(module, exports) {
|
|
482
482
|
|
|
483
483
|
module.exports = require("@splunk/visualizations-shared/trellisUtils");
|
|
484
484
|
|
|
485
485
|
/***/ }),
|
|
486
486
|
|
|
487
|
-
/***/
|
|
487
|
+
/***/ 106:
|
|
488
488
|
/***/ (function(module, exports) {
|
|
489
489
|
|
|
490
490
|
module.exports = require("@splunk/react-icons/enterprise/ArrowUp");
|
|
491
491
|
|
|
492
492
|
/***/ }),
|
|
493
493
|
|
|
494
|
-
/***/
|
|
494
|
+
/***/ 107:
|
|
495
495
|
/***/ (function(module, exports) {
|
|
496
496
|
|
|
497
497
|
module.exports = require("@splunk/react-icons/enterprise/ArrowDown");
|
|
498
498
|
|
|
499
499
|
/***/ }),
|
|
500
500
|
|
|
501
|
-
/***/
|
|
501
|
+
/***/ 108:
|
|
502
502
|
/***/ (function(module, exports) {
|
|
503
503
|
|
|
504
|
-
module.exports = require("
|
|
504
|
+
module.exports = require("cssesc");
|
|
505
505
|
|
|
506
506
|
/***/ }),
|
|
507
507
|
|
|
508
|
-
/***/
|
|
508
|
+
/***/ 109:
|
|
509
509
|
/***/ (function(module, exports) {
|
|
510
510
|
|
|
511
|
-
module.exports = require("
|
|
511
|
+
module.exports = require("@babel/runtime/helpers/assertThisInitialized");
|
|
512
512
|
|
|
513
513
|
/***/ }),
|
|
514
514
|
|
|
515
|
-
/***/
|
|
515
|
+
/***/ 11:
|
|
516
516
|
/***/ (function(module, exports) {
|
|
517
517
|
|
|
518
|
-
module.exports = require("@
|
|
518
|
+
module.exports = require("@splunk/visualizations-shared/numberUtils");
|
|
519
519
|
|
|
520
520
|
/***/ }),
|
|
521
521
|
|
|
522
|
-
/***/
|
|
522
|
+
/***/ 112:
|
|
523
523
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
524
524
|
|
|
525
525
|
"use strict";
|
|
@@ -543,33 +543,33 @@ var StaticBackgroundColorEditor = {
|
|
|
543
543
|
|
|
544
544
|
/***/ }),
|
|
545
545
|
|
|
546
|
-
/***/
|
|
546
|
+
/***/ 114:
|
|
547
547
|
/***/ (function(module, exports) {
|
|
548
548
|
|
|
549
549
|
module.exports = require("@splunk/react-ui/Paginator");
|
|
550
550
|
|
|
551
551
|
/***/ }),
|
|
552
552
|
|
|
553
|
-
/***/
|
|
553
|
+
/***/ 115:
|
|
554
554
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
555
555
|
|
|
556
556
|
"use strict";
|
|
557
557
|
__webpack_require__.r(__webpack_exports__);
|
|
558
|
-
/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
558
|
+
/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(69);
|
|
559
559
|
/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__);
|
|
560
|
-
/* harmony import */ var _babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
560
|
+
/* harmony import */ var _babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9);
|
|
561
561
|
/* harmony import */ var _babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_1__);
|
|
562
562
|
/* harmony import */ var _babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(25);
|
|
563
563
|
/* harmony import */ var _babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_2__);
|
|
564
|
-
/* harmony import */ var _babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
|
564
|
+
/* harmony import */ var _babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(109);
|
|
565
565
|
/* harmony import */ var _babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3__);
|
|
566
|
-
/* harmony import */ var _babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
|
566
|
+
/* harmony import */ var _babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(92);
|
|
567
567
|
/* harmony import */ var _babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__);
|
|
568
|
-
/* harmony import */ var _babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
|
568
|
+
/* harmony import */ var _babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(93);
|
|
569
569
|
/* harmony import */ var _babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_5__);
|
|
570
|
-
/* harmony import */ var _babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
|
|
570
|
+
/* harmony import */ var _babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(83);
|
|
571
571
|
/* harmony import */ var _babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_6__);
|
|
572
|
-
/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
|
|
572
|
+
/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(13);
|
|
573
573
|
/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_7__);
|
|
574
574
|
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(1);
|
|
575
575
|
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_8__);
|
|
@@ -579,7 +579,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
579
579
|
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_10__);
|
|
580
580
|
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(4);
|
|
581
581
|
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_11__);
|
|
582
|
-
/* harmony import */ var _splunk_react_ui_Popover__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
|
|
582
|
+
/* harmony import */ var _splunk_react_ui_Popover__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(82);
|
|
583
583
|
/* harmony import */ var _splunk_react_ui_Popover__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_splunk_react_ui_Popover__WEBPACK_IMPORTED_MODULE_12__);
|
|
584
584
|
/* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(2);
|
|
585
585
|
/* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_13__);
|
|
@@ -1199,7 +1199,7 @@ module.exports = require("@splunk/visualizations-shared/Message");
|
|
|
1199
1199
|
|
|
1200
1200
|
/***/ }),
|
|
1201
1201
|
|
|
1202
|
-
/***/
|
|
1202
|
+
/***/ 121:
|
|
1203
1203
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1204
1204
|
|
|
1205
1205
|
"use strict";
|
|
@@ -1244,7 +1244,7 @@ var getDynamicTrendColorEditor = function getDynamicTrendColorEditor(_ref) {
|
|
|
1244
1244
|
|
|
1245
1245
|
/***/ }),
|
|
1246
1246
|
|
|
1247
|
-
/***/
|
|
1247
|
+
/***/ 122:
|
|
1248
1248
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1249
1249
|
|
|
1250
1250
|
"use strict";
|
|
@@ -1299,7 +1299,7 @@ var getDynamicBackgroundColorEditor = function getDynamicBackgroundColorEditor(_
|
|
|
1299
1299
|
|
|
1300
1300
|
/***/ }),
|
|
1301
1301
|
|
|
1302
|
-
/***/
|
|
1302
|
+
/***/ 123:
|
|
1303
1303
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1304
1304
|
|
|
1305
1305
|
"use strict";
|
|
@@ -1350,7 +1350,7 @@ var StaticMajorAndTrendLayout = [[{
|
|
|
1350
1350
|
|
|
1351
1351
|
/***/ }),
|
|
1352
1352
|
|
|
1353
|
-
/***/
|
|
1353
|
+
/***/ 124:
|
|
1354
1354
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1355
1355
|
|
|
1356
1356
|
"use strict";
|
|
@@ -1374,7 +1374,7 @@ var StaticMajorColorEditor = {
|
|
|
1374
1374
|
|
|
1375
1375
|
/***/ }),
|
|
1376
1376
|
|
|
1377
|
-
/***/
|
|
1377
|
+
/***/ 125:
|
|
1378
1378
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1379
1379
|
|
|
1380
1380
|
"use strict";
|
|
@@ -1402,7 +1402,7 @@ var StaticTrendColorEditor = {
|
|
|
1402
1402
|
|
|
1403
1403
|
/***/ }),
|
|
1404
1404
|
|
|
1405
|
-
/***/
|
|
1405
|
+
/***/ 126:
|
|
1406
1406
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1407
1407
|
|
|
1408
1408
|
"use strict";
|
|
@@ -1419,7 +1419,7 @@ var i18n_1 = __webpack_require__(2);
|
|
|
1419
1419
|
|
|
1420
1420
|
var FeatureFlagContext_1 = __webpack_require__(28);
|
|
1421
1421
|
|
|
1422
|
-
var
|
|
1422
|
+
var visualization_schemas_1 = __webpack_require__(10);
|
|
1423
1423
|
/* eslint-disable react-hooks/rules-of-hooks */
|
|
1424
1424
|
|
|
1425
1425
|
|
|
@@ -1443,7 +1443,7 @@ exports.TrellisEditorConfig = [[{
|
|
|
1443
1443
|
var options = _ref.options;
|
|
1444
1444
|
var featureFlagContext = React.useContext(FeatureFlagContext_1.default);
|
|
1445
1445
|
var isTrellisFeatureFlagOn = Boolean(featureFlagContext && featureFlagContext.visualizations_enableTrellis);
|
|
1446
|
-
return isTrellisFeatureFlagOn && options.splitByLayout ===
|
|
1446
|
+
return isTrellisFeatureFlagOn && options.splitByLayout === visualization_schemas_1.LAYOUT_TYPE.Trellis;
|
|
1447
1447
|
}
|
|
1448
1448
|
}], [{
|
|
1449
1449
|
label: (0, i18n_1._)('Number of columns'),
|
|
@@ -1457,7 +1457,7 @@ exports.TrellisEditorConfig = [[{
|
|
|
1457
1457
|
var options = _ref2.options;
|
|
1458
1458
|
var featureFlagContext = React.useContext(FeatureFlagContext_1.default);
|
|
1459
1459
|
var isTrellisFeatureFlagOn = Boolean(featureFlagContext && featureFlagContext.visualizations_enableTrellis);
|
|
1460
|
-
return isTrellisFeatureFlagOn && options.splitByLayout ===
|
|
1460
|
+
return isTrellisFeatureFlagOn && options.splitByLayout === visualization_schemas_1.LAYOUT_TYPE.Trellis;
|
|
1461
1461
|
}
|
|
1462
1462
|
}], [{
|
|
1463
1463
|
label: (0, i18n_1._)('Min column width'),
|
|
@@ -1470,7 +1470,7 @@ exports.TrellisEditorConfig = [[{
|
|
|
1470
1470
|
var options = _ref3.options;
|
|
1471
1471
|
var featureFlagContext = React.useContext(FeatureFlagContext_1.default);
|
|
1472
1472
|
var isTrellisFeatureFlagOn = Boolean(featureFlagContext && featureFlagContext.visualizations_enableTrellis);
|
|
1473
|
-
return isTrellisFeatureFlagOn && options.splitByLayout ===
|
|
1473
|
+
return isTrellisFeatureFlagOn && options.splitByLayout === visualization_schemas_1.LAYOUT_TYPE.Trellis;
|
|
1474
1474
|
}
|
|
1475
1475
|
}, {
|
|
1476
1476
|
label: (0, i18n_1._)('Row height'),
|
|
@@ -1483,7 +1483,7 @@ exports.TrellisEditorConfig = [[{
|
|
|
1483
1483
|
var options = _ref4.options;
|
|
1484
1484
|
var featureFlagContext = React.useContext(FeatureFlagContext_1.default);
|
|
1485
1485
|
var isTrellisFeatureFlagOn = Boolean(featureFlagContext && featureFlagContext.visualizations_enableTrellis);
|
|
1486
|
-
return isTrellisFeatureFlagOn && options.splitByLayout ===
|
|
1486
|
+
return isTrellisFeatureFlagOn && options.splitByLayout === visualization_schemas_1.LAYOUT_TYPE.Trellis;
|
|
1487
1487
|
}
|
|
1488
1488
|
}], [{
|
|
1489
1489
|
label: (0, i18n_1._)('Max number of components per page'),
|
|
@@ -1496,7 +1496,7 @@ exports.TrellisEditorConfig = [[{
|
|
|
1496
1496
|
var options = _ref5.options;
|
|
1497
1497
|
var featureFlagContext = React.useContext(FeatureFlagContext_1.default);
|
|
1498
1498
|
var isTrellisFeatureFlagOn = Boolean(featureFlagContext && featureFlagContext.visualizations_enableTrellis);
|
|
1499
|
-
return isTrellisFeatureFlagOn && options.splitByLayout ===
|
|
1499
|
+
return isTrellisFeatureFlagOn && options.splitByLayout === visualization_schemas_1.LAYOUT_TYPE.Trellis;
|
|
1500
1500
|
}
|
|
1501
1501
|
}]];
|
|
1502
1502
|
exports.TrellisBackgroundColorEditor = {
|
|
@@ -1507,19 +1507,19 @@ exports.TrellisBackgroundColorEditor = {
|
|
|
1507
1507
|
var options = _ref6.options;
|
|
1508
1508
|
var featureFlagContext = React.useContext(FeatureFlagContext_1.default);
|
|
1509
1509
|
var isTrellisFeatureFlagOn = Boolean(featureFlagContext && featureFlagContext.visualizations_enableTrellis);
|
|
1510
|
-
return isTrellisFeatureFlagOn && options.splitByLayout ===
|
|
1510
|
+
return isTrellisFeatureFlagOn && options.splitByLayout === visualization_schemas_1.LAYOUT_TYPE.Trellis;
|
|
1511
1511
|
}
|
|
1512
1512
|
};
|
|
1513
1513
|
|
|
1514
1514
|
/***/ }),
|
|
1515
1515
|
|
|
1516
|
-
/***/
|
|
1516
|
+
/***/ 127:
|
|
1517
1517
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1518
1518
|
|
|
1519
1519
|
"use strict";
|
|
1520
1520
|
|
|
1521
1521
|
|
|
1522
|
-
var _slicedToArray = __webpack_require__(
|
|
1522
|
+
var _slicedToArray = __webpack_require__(6);
|
|
1523
1523
|
|
|
1524
1524
|
var __rest = this && this.__rest || function (s, e) {
|
|
1525
1525
|
var t = {};
|
|
@@ -1546,37 +1546,37 @@ var lodash_1 = __webpack_require__(3);
|
|
|
1546
1546
|
|
|
1547
1547
|
var styled_components_1 = __webpack_require__(4);
|
|
1548
1548
|
|
|
1549
|
-
var Paginator_1 = __webpack_require__(
|
|
1549
|
+
var Paginator_1 = __webpack_require__(114);
|
|
1550
1550
|
|
|
1551
1551
|
var i18n_1 = __webpack_require__(2);
|
|
1552
1552
|
|
|
1553
|
-
var themes_1 = __webpack_require__(
|
|
1553
|
+
var themes_1 = __webpack_require__(80);
|
|
1554
1554
|
|
|
1555
|
-
var useSplunkTheme_1 = __webpack_require__(
|
|
1555
|
+
var useSplunkTheme_1 = __webpack_require__(77);
|
|
1556
1556
|
|
|
1557
1557
|
var FeatureFlagContext_1 = __webpack_require__(28);
|
|
1558
1558
|
|
|
1559
1559
|
var SizeAwareWrapper_1 = __webpack_require__(26);
|
|
1560
1560
|
|
|
1561
|
-
var style_1 = __webpack_require__(
|
|
1561
|
+
var style_1 = __webpack_require__(19);
|
|
1562
1562
|
|
|
1563
1563
|
var Message_1 = __webpack_require__(12);
|
|
1564
1564
|
|
|
1565
|
-
var trellisUtils_1 = __webpack_require__(
|
|
1565
|
+
var trellisUtils_1 = __webpack_require__(105);
|
|
1566
1566
|
|
|
1567
1567
|
var hocUtils_1 = __webpack_require__(34);
|
|
1568
1568
|
|
|
1569
1569
|
var JSONSchemaUtils_1 = __webpack_require__(35);
|
|
1570
1570
|
|
|
1571
|
-
var
|
|
1571
|
+
var visualization_schemas_1 = __webpack_require__(10);
|
|
1572
1572
|
|
|
1573
|
-
var
|
|
1573
|
+
var Options_1 = __webpack_require__(17);
|
|
1574
1574
|
|
|
1575
|
-
var
|
|
1575
|
+
var trellisUtils_2 = __webpack_require__(128);
|
|
1576
1576
|
|
|
1577
1577
|
var TrellisContainer = styled_components_1.default.div.withConfig({
|
|
1578
1578
|
displayName: "withTrellis__TrellisContainer",
|
|
1579
|
-
componentId: "pjmeig-0"
|
|
1579
|
+
componentId: "sc-pjmeig-0"
|
|
1580
1580
|
})(["overflow:hidden;display:flex;flex-direction:column;background-color:", ";", ";> [data-test='paginator']{align-self:flex-end;margin-bottom:10px;}"], function (props) {
|
|
1581
1581
|
return props.backgroundColor;
|
|
1582
1582
|
}, function (props) {
|
|
@@ -1584,7 +1584,7 @@ var TrellisContainer = styled_components_1.default.div.withConfig({
|
|
|
1584
1584
|
});
|
|
1585
1585
|
var TrellisContainerGrid = styled_components_1.default.div.withConfig({
|
|
1586
1586
|
displayName: "withTrellis__TrellisContainerGrid",
|
|
1587
|
-
componentId: "pjmeig-1"
|
|
1587
|
+
componentId: "sc-pjmeig-1"
|
|
1588
1588
|
})(["display:grid;height:", ";gap:10px 10px;grid-template-columns:", ";overflow:auto;justify-items:stretch;grid-auto-rows:", ";.child{height:", ";}"], function (props) {
|
|
1589
1589
|
return "".concat(props.height, "px");
|
|
1590
1590
|
}, function (props) {
|
|
@@ -1732,11 +1732,11 @@ var withTrellis = function withTrellis(Viz) {
|
|
|
1732
1732
|
var featureFlagContext = React.useContext(FeatureFlagContext_1.default);
|
|
1733
1733
|
var isTrellisFeatureFlagOn = Boolean(featureFlagContext && featureFlagContext.visualizations_enableTrellis);
|
|
1734
1734
|
|
|
1735
|
-
if (!isTrellisFeatureFlagOn || !splitByLayout || splitByLayout !==
|
|
1735
|
+
if (!isTrellisFeatureFlagOn || !splitByLayout || splitByLayout !== visualization_schemas_1.LAYOUT_TYPE.Trellis) {
|
|
1736
1736
|
return React.createElement(Viz, Object.assign({}, opts));
|
|
1737
1737
|
}
|
|
1738
1738
|
|
|
1739
|
-
if (splitByLayout ===
|
|
1739
|
+
if (splitByLayout === visualization_schemas_1.LAYOUT_TYPE.Trellis) {
|
|
1740
1740
|
if (noColumns || noFields) {
|
|
1741
1741
|
return React.createElement(Message_1.default, {
|
|
1742
1742
|
width: width,
|
|
@@ -1820,20 +1820,13 @@ exports.default = withTrellis;
|
|
|
1820
1820
|
|
|
1821
1821
|
/***/ }),
|
|
1822
1822
|
|
|
1823
|
-
/***/
|
|
1824
|
-
/***/ (function(module, exports) {
|
|
1825
|
-
|
|
1826
|
-
module.exports = require("@splunk/themes/variables");
|
|
1827
|
-
|
|
1828
|
-
/***/ }),
|
|
1829
|
-
|
|
1830
|
-
/***/ 130:
|
|
1823
|
+
/***/ 128:
|
|
1831
1824
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1832
1825
|
|
|
1833
1826
|
"use strict";
|
|
1834
1827
|
|
|
1835
1828
|
|
|
1836
|
-
var _toConsumableArray = __webpack_require__(
|
|
1829
|
+
var _toConsumableArray = __webpack_require__(7);
|
|
1837
1830
|
|
|
1838
1831
|
Object.defineProperty(exports, "__esModule", {
|
|
1839
1832
|
value: true
|
|
@@ -1842,7 +1835,7 @@ exports.getTrellisDataSourcesBySplitMode = exports.dataSourcesSplitByModeStatsor
|
|
|
1842
1835
|
|
|
1843
1836
|
var lodash_1 = __webpack_require__(3);
|
|
1844
1837
|
|
|
1845
|
-
var trellisUtils_1 = __webpack_require__(
|
|
1838
|
+
var trellisUtils_1 = __webpack_require__(105);
|
|
1846
1839
|
|
|
1847
1840
|
exports.AGGREGATIONS = 'aggregations';
|
|
1848
1841
|
/**
|
|
@@ -2308,6 +2301,7 @@ var getTrellisDataSourcesBySplitMode = function getTrellisDataSourcesBySplitMode
|
|
|
2308
2301
|
result = trellisSplitBy === exports.AGGREGATIONS ? (0, exports.dataSourcesSplitByAggregationsUnknown)(dataSources) : (0, exports.dataSourcesSplitByModeStatsorUnknown)(dataSources, trellisSplitBy, trellisUtils_1.UNKNOWN);
|
|
2309
2302
|
}
|
|
2310
2303
|
} catch (ex) {
|
|
2304
|
+
// eslint-disable-next-line no-console
|
|
2311
2305
|
console.error('getTrellisDataSourcesBySplitMode ', ex);
|
|
2312
2306
|
result = {
|
|
2313
2307
|
splitDataSources: null,
|
|
@@ -2322,14 +2316,21 @@ exports.getTrellisDataSourcesBySplitMode = getTrellisDataSourcesBySplitMode;
|
|
|
2322
2316
|
|
|
2323
2317
|
/***/ }),
|
|
2324
2318
|
|
|
2325
|
-
/***/
|
|
2319
|
+
/***/ 129:
|
|
2326
2320
|
/***/ (function(module, exports) {
|
|
2327
2321
|
|
|
2328
2322
|
module.exports = require("lodash/pick");
|
|
2329
2323
|
|
|
2330
2324
|
/***/ }),
|
|
2331
2325
|
|
|
2332
|
-
/***/
|
|
2326
|
+
/***/ 13:
|
|
2327
|
+
/***/ (function(module, exports) {
|
|
2328
|
+
|
|
2329
|
+
module.exports = require("@babel/runtime/helpers/defineProperty");
|
|
2330
|
+
|
|
2331
|
+
/***/ }),
|
|
2332
|
+
|
|
2333
|
+
/***/ 130:
|
|
2333
2334
|
/***/ (function(module, exports) {
|
|
2334
2335
|
|
|
2335
2336
|
module.exports = require("lodash/isEmpty");
|
|
@@ -2337,6 +2338,13 @@ module.exports = require("lodash/isEmpty");
|
|
|
2337
2338
|
/***/ }),
|
|
2338
2339
|
|
|
2339
2340
|
/***/ 14:
|
|
2341
|
+
/***/ (function(module, exports) {
|
|
2342
|
+
|
|
2343
|
+
module.exports = require("@splunk/themes/variables");
|
|
2344
|
+
|
|
2345
|
+
/***/ }),
|
|
2346
|
+
|
|
2347
|
+
/***/ 15:
|
|
2340
2348
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2341
2349
|
|
|
2342
2350
|
"use strict";
|
|
@@ -2633,6 +2641,7 @@ var calculateDownsamplingThreshold = function calculateDownsamplingThreshold(_re
|
|
|
2633
2641
|
});
|
|
2634
2642
|
}
|
|
2635
2643
|
} catch (e) {
|
|
2644
|
+
// eslint-disable-next-line no-console
|
|
2636
2645
|
console.error('Error occurred while setting downsample threshold on range select event', e);
|
|
2637
2646
|
}
|
|
2638
2647
|
|
|
@@ -2799,6 +2808,7 @@ var downsampleDataSources = function downsampleDataSources(_ref4) {
|
|
|
2799
2808
|
return downsampledIndices.add(downsampleIndex);
|
|
2800
2809
|
});
|
|
2801
2810
|
} catch (e) {
|
|
2811
|
+
// eslint-disable-next-line no-console
|
|
2802
2812
|
console.error("Error occurred while downsampling column ".concat(columnIndex), e);
|
|
2803
2813
|
}
|
|
2804
2814
|
}); // update data columns with downsampled columns
|
|
@@ -2811,14 +2821,7 @@ exports.downsampleDataSources = downsampleDataSources;
|
|
|
2811
2821
|
|
|
2812
2822
|
/***/ }),
|
|
2813
2823
|
|
|
2814
|
-
/***/
|
|
2815
|
-
/***/ (function(module, exports) {
|
|
2816
|
-
|
|
2817
|
-
module.exports = require("@splunk/visualizations-shared/colorUtils");
|
|
2818
|
-
|
|
2819
|
-
/***/ }),
|
|
2820
|
-
|
|
2821
|
-
/***/ 157:
|
|
2824
|
+
/***/ 155:
|
|
2822
2825
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2823
2826
|
|
|
2824
2827
|
"use strict";
|
|
@@ -2863,7 +2866,7 @@ exports.defaultContext = {
|
|
|
2863
2866
|
|
|
2864
2867
|
/***/ }),
|
|
2865
2868
|
|
|
2866
|
-
/***/
|
|
2869
|
+
/***/ 156:
|
|
2867
2870
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2868
2871
|
|
|
2869
2872
|
"use strict";
|
|
@@ -2917,17 +2920,24 @@ var getDynamicMajorColorEditor = function getDynamicMajorColorEditor(_ref) {
|
|
|
2917
2920
|
/***/ 16:
|
|
2918
2921
|
/***/ (function(module, exports) {
|
|
2919
2922
|
|
|
2920
|
-
module.exports = require("@splunk/
|
|
2923
|
+
module.exports = require("@splunk/visualizations-shared/colorUtils");
|
|
2921
2924
|
|
|
2922
2925
|
/***/ }),
|
|
2923
2926
|
|
|
2924
2927
|
/***/ 17:
|
|
2928
|
+
/***/ (function(module, exports) {
|
|
2929
|
+
|
|
2930
|
+
module.exports = require("@splunk/visualization-encoding/Options");
|
|
2931
|
+
|
|
2932
|
+
/***/ }),
|
|
2933
|
+
|
|
2934
|
+
/***/ 18:
|
|
2925
2935
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2926
2936
|
|
|
2927
2937
|
"use strict";
|
|
2928
2938
|
|
|
2929
2939
|
|
|
2930
|
-
var _slicedToArray = __webpack_require__(
|
|
2940
|
+
var _slicedToArray = __webpack_require__(6);
|
|
2931
2941
|
|
|
2932
2942
|
Object.defineProperty(exports, "__esModule", {
|
|
2933
2943
|
value: true
|
|
@@ -2937,9 +2947,9 @@ var React = __webpack_require__(0);
|
|
|
2937
2947
|
|
|
2938
2948
|
var styled_components_1 = __webpack_require__(4);
|
|
2939
2949
|
|
|
2940
|
-
var style_1 = __webpack_require__(
|
|
2950
|
+
var style_1 = __webpack_require__(19);
|
|
2941
2951
|
|
|
2942
|
-
var colorUtils_1 = __webpack_require__(
|
|
2952
|
+
var colorUtils_1 = __webpack_require__(16);
|
|
2943
2953
|
|
|
2944
2954
|
var SizeAwareWrapper_1 = __webpack_require__(26);
|
|
2945
2955
|
|
|
@@ -3012,7 +3022,7 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
|
|
|
3012
3022
|
|
|
3013
3023
|
return React.createElement(FixSizeItem, {
|
|
3014
3024
|
"data-test": "fix-size-item",
|
|
3015
|
-
"data-splunk-visualization-version": "26.
|
|
3025
|
+
"data-splunk-visualization-version": "26.3.0 - a1ef240a6",
|
|
3016
3026
|
width: width,
|
|
3017
3027
|
height: height,
|
|
3018
3028
|
backgroundColor: backgroundColor
|
|
@@ -3034,29 +3044,13 @@ exports.default = withFixedSizeContainer;
|
|
|
3034
3044
|
|
|
3035
3045
|
/***/ }),
|
|
3036
3046
|
|
|
3037
|
-
/***/
|
|
3047
|
+
/***/ 19:
|
|
3038
3048
|
/***/ (function(module, exports) {
|
|
3039
3049
|
|
|
3040
3050
|
module.exports = require("@splunk/visualizations-shared/style");
|
|
3041
3051
|
|
|
3042
3052
|
/***/ }),
|
|
3043
3053
|
|
|
3044
|
-
/***/ 19:
|
|
3045
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
3046
|
-
|
|
3047
|
-
"use strict";
|
|
3048
|
-
|
|
3049
|
-
|
|
3050
|
-
Object.defineProperty(exports, "__esModule", {
|
|
3051
|
-
value: true
|
|
3052
|
-
});
|
|
3053
|
-
exports.validOutputModes = exports.validSegmentationModes = exports.validSortDirs = void 0;
|
|
3054
|
-
exports.validSortDirs = ['asc', 'desc', 'none'];
|
|
3055
|
-
exports.validSegmentationModes = ['none', 'inner'];
|
|
3056
|
-
exports.validOutputModes = ['json_cols', 'json'];
|
|
3057
|
-
|
|
3058
|
-
/***/ }),
|
|
3059
|
-
|
|
3060
3054
|
/***/ 2:
|
|
3061
3055
|
/***/ (function(module, exports) {
|
|
3062
3056
|
|
|
@@ -3100,17 +3094,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3100
3094
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "lighten", function() { return lighten; });
|
|
3101
3095
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "darken", function() { return darken; });
|
|
3102
3096
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "handleValueClickCallback", function() { return handleValueClickCallback; });
|
|
3103
|
-
/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
3097
|
+
/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(13);
|
|
3104
3098
|
/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__);
|
|
3105
3099
|
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3);
|
|
3106
3100
|
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_1__);
|
|
3107
3101
|
/* harmony import */ var _splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(11);
|
|
3108
3102
|
/* harmony import */ var _splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_2__);
|
|
3109
|
-
/* harmony import */ var _splunk_visualizations_shared_domUtils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
|
3103
|
+
/* harmony import */ var _splunk_visualizations_shared_domUtils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(74);
|
|
3110
3104
|
/* harmony import */ var _splunk_visualizations_shared_domUtils__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_domUtils__WEBPACK_IMPORTED_MODULE_3__);
|
|
3111
3105
|
/* harmony import */ var _splunk_visualizations_shared_propUtils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(36);
|
|
3112
3106
|
/* harmony import */ var _splunk_visualizations_shared_propUtils__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_propUtils__WEBPACK_IMPORTED_MODULE_4__);
|
|
3113
|
-
/* harmony import */ var _splunk_visualizations_shared_colorConstants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
|
3107
|
+
/* harmony import */ var _splunk_visualizations_shared_colorConstants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(70);
|
|
3114
3108
|
/* harmony import */ var _splunk_visualizations_shared_colorConstants__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_colorConstants__WEBPACK_IMPORTED_MODULE_5__);
|
|
3115
3109
|
|
|
3116
3110
|
|
|
@@ -4099,7 +4093,22 @@ var handleValueClickCallback = function handleValueClickCallback(ev, majorValue,
|
|
|
4099
4093
|
"use strict";
|
|
4100
4094
|
|
|
4101
4095
|
|
|
4102
|
-
|
|
4096
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4097
|
+
value: true
|
|
4098
|
+
});
|
|
4099
|
+
exports.validOutputModes = exports.validSortDirs = void 0;
|
|
4100
|
+
exports.validSortDirs = ['asc', 'desc', 'none'];
|
|
4101
|
+
exports.validOutputModes = ['json_cols', 'json'];
|
|
4102
|
+
|
|
4103
|
+
/***/ }),
|
|
4104
|
+
|
|
4105
|
+
/***/ 22:
|
|
4106
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4107
|
+
|
|
4108
|
+
"use strict";
|
|
4109
|
+
|
|
4110
|
+
|
|
4111
|
+
var _classCallCheck = __webpack_require__(9);
|
|
4103
4112
|
|
|
4104
4113
|
var _createClass = __webpack_require__(25);
|
|
4105
4114
|
|
|
@@ -4131,7 +4140,7 @@ exports.DefaultVizActionHandler = DefaultVizActionHandler;
|
|
|
4131
4140
|
|
|
4132
4141
|
/***/ }),
|
|
4133
4142
|
|
|
4134
|
-
/***/
|
|
4143
|
+
/***/ 23:
|
|
4135
4144
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4136
4145
|
|
|
4137
4146
|
"use strict";
|
|
@@ -4160,7 +4169,7 @@ var VizCategory;
|
|
|
4160
4169
|
|
|
4161
4170
|
/***/ }),
|
|
4162
4171
|
|
|
4163
|
-
/***/
|
|
4172
|
+
/***/ 24:
|
|
4164
4173
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4165
4174
|
|
|
4166
4175
|
"use strict";
|
|
@@ -4193,13 +4202,6 @@ exports.extendStaticWrapperProps = extendStaticWrapperProps;
|
|
|
4193
4202
|
|
|
4194
4203
|
/***/ }),
|
|
4195
4204
|
|
|
4196
|
-
/***/ 24:
|
|
4197
|
-
/***/ (function(module, exports) {
|
|
4198
|
-
|
|
4199
|
-
module.exports = require("@splunk/visualizations-shared/schemaUtils");
|
|
4200
|
-
|
|
4201
|
-
/***/ }),
|
|
4202
|
-
|
|
4203
4205
|
/***/ 25:
|
|
4204
4206
|
/***/ (function(module, exports) {
|
|
4205
4207
|
|
|
@@ -4220,99 +4222,24 @@ module.exports = require("@splunk/visualizations-shared/SizeAwareWrapper");
|
|
|
4220
4222
|
"use strict";
|
|
4221
4223
|
|
|
4222
4224
|
|
|
4223
|
-
var _toConsumableArray = __webpack_require__(
|
|
4224
|
-
|
|
4225
|
-
var _defineProperty = __webpack_require__(9);
|
|
4226
|
-
|
|
4227
|
-
var __rest = this && this.__rest || function (s, e) {
|
|
4228
|
-
var t = {};
|
|
4229
|
-
|
|
4230
|
-
for (var p in s) {
|
|
4231
|
-
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
4232
|
-
}
|
|
4233
|
-
|
|
4234
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
4235
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
4236
|
-
}
|
|
4237
|
-
return t;
|
|
4238
|
-
};
|
|
4225
|
+
var _toConsumableArray = __webpack_require__(7);
|
|
4239
4226
|
|
|
4240
4227
|
Object.defineProperty(exports, "__esModule", {
|
|
4241
4228
|
value: true
|
|
4242
4229
|
});
|
|
4243
|
-
exports.insertLayout = exports.isDynamicOption = exports.uncollapseEditorConfig = exports.generatePrecisionValues = exports.getInitialPreset = exports.
|
|
4244
|
-
|
|
4245
|
-
var lodash_1 = __webpack_require__(3);
|
|
4246
|
-
|
|
4247
|
-
var schemaUtils_1 = __webpack_require__(24);
|
|
4248
|
-
|
|
4249
|
-
var VizBehavior_1 = __webpack_require__(6);
|
|
4250
|
-
|
|
4251
|
-
var dynamicOptionsDSLType = {
|
|
4252
|
-
type: 'string',
|
|
4253
|
-
pattern: schemaUtils_1.DYNAMIC_OPTIONS_DSL_PATTERN
|
|
4254
|
-
};
|
|
4255
|
-
/**
|
|
4256
|
-
* Helper function to extend an options schema with dynamic options DSL
|
|
4257
|
-
* @param optionsSchema a visualization's options schema
|
|
4258
|
-
* @returns an updated options schema that additionally allows strings starting with > for each option
|
|
4259
|
-
*/
|
|
4230
|
+
exports.insertLayout = exports.isDynamicOption = exports.uncollapseEditorConfig = exports.generatePrecisionValues = exports.getInitialPreset = exports.enhanceConfig = exports.enhanceOptionsSchemaWithDynamicOptions = void 0;
|
|
4260
4231
|
|
|
4261
|
-
|
|
4262
|
-
var enhancedOptionsSchema = {};
|
|
4263
|
-
Object.keys(optionsSchema).forEach(function (key) {
|
|
4264
|
-
var _a = optionsSchema[key],
|
|
4265
|
-
title = _a.title,
|
|
4266
|
-
description = _a.description,
|
|
4267
|
-
readOnly = _a.readOnly,
|
|
4268
|
-
writeOnly = _a.writeOnly,
|
|
4269
|
-
examples = _a.examples,
|
|
4270
|
-
defaultValue = _a.default,
|
|
4271
|
-
type = _a.type,
|
|
4272
|
-
properties = _a.properties,
|
|
4273
|
-
patternProperties = _a.patternProperties,
|
|
4274
|
-
remainingSchemaEntry = __rest(_a, ["title", "description", "readOnly", "writeOnly", "examples", "default", "type", "properties", "patternProperties"]);
|
|
4275
|
-
|
|
4276
|
-
var annotations = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, title !== undefined && {
|
|
4277
|
-
title: title
|
|
4278
|
-
}), description !== undefined && {
|
|
4279
|
-
description: description
|
|
4280
|
-
}), readOnly !== undefined && {
|
|
4281
|
-
readOnly: readOnly
|
|
4282
|
-
}), writeOnly !== undefined && {
|
|
4283
|
-
writeOnly: writeOnly
|
|
4284
|
-
}), examples !== undefined && {
|
|
4285
|
-
examples: examples
|
|
4286
|
-
}), defaultValue !== undefined && {
|
|
4287
|
-
default: defaultValue
|
|
4288
|
-
});
|
|
4232
|
+
var lodash_1 = __webpack_require__(3); // included for backwards compatibility
|
|
4289
4233
|
|
|
4290
|
-
if (type === 'object') {
|
|
4291
|
-
enhancedOptionsSchema[key] = Object.assign(Object.assign(Object.assign(Object.assign({}, remainingSchemaEntry), annotations), {
|
|
4292
|
-
type: type
|
|
4293
|
-
}), properties && {
|
|
4294
|
-
properties: enhanceOptionsSchemaWithDynamicOptions(properties)
|
|
4295
|
-
});
|
|
4296
4234
|
|
|
4297
|
-
|
|
4298
|
-
var enhancedPatternProperties = {};
|
|
4299
|
-
Object.keys(patternProperties).forEach(function (opt) {
|
|
4300
|
-
enhancedPatternProperties = Object.assign(Object.assign({}, enhancedPatternProperties), enhanceOptionsSchemaWithDynamicOptions(_defineProperty({}, opt, patternProperties[opt])));
|
|
4301
|
-
});
|
|
4302
|
-
enhancedOptionsSchema[key].patternProperties = enhancedPatternProperties;
|
|
4303
|
-
}
|
|
4304
|
-
} else {
|
|
4305
|
-
enhancedOptionsSchema[key] = Object.assign(Object.assign({}, annotations), {
|
|
4306
|
-
anyOf: [Object.assign(Object.assign({}, type !== undefined && {
|
|
4307
|
-
type: type
|
|
4308
|
-
}), remainingSchemaEntry), dynamicOptionsDSLType]
|
|
4309
|
-
});
|
|
4310
|
-
}
|
|
4311
|
-
});
|
|
4312
|
-
return enhancedOptionsSchema;
|
|
4313
|
-
}
|
|
4235
|
+
var visualization_schemas_1 = __webpack_require__(10);
|
|
4314
4236
|
|
|
4315
|
-
exports
|
|
4237
|
+
Object.defineProperty(exports, "enhanceOptionsSchemaWithDynamicOptions", {
|
|
4238
|
+
enumerable: true,
|
|
4239
|
+
get: function get() {
|
|
4240
|
+
return visualization_schemas_1.enhanceOptionsSchemaWithDynamicOptions;
|
|
4241
|
+
}
|
|
4242
|
+
});
|
|
4316
4243
|
/**
|
|
4317
4244
|
* Helper function to enhance a Visualization Config as needed based on behaviors specified in supports block
|
|
4318
4245
|
* this function also collapse all editor panels
|
|
@@ -4323,11 +4250,6 @@ exports.enhanceOptionsSchemaWithDynamicOptions = enhanceOptionsSchemaWithDynamic
|
|
|
4323
4250
|
|
|
4324
4251
|
function enhanceConfig(vizConfig) {
|
|
4325
4252
|
var enhancedConfig = Object.assign({}, vizConfig);
|
|
4326
|
-
|
|
4327
|
-
if (vizConfig.supports.indexOf(VizBehavior_1.VizBehavior.DYNAMIC_OPTIONS) !== -1) {
|
|
4328
|
-
enhancedConfig.optionsSchema = enhanceOptionsSchemaWithDynamicOptions(vizConfig.optionsSchema);
|
|
4329
|
-
}
|
|
4330
|
-
|
|
4331
4253
|
enhancedConfig.editorConfig = vizConfig.editorConfig.map(function (config) {
|
|
4332
4254
|
return Object.assign(Object.assign({}, config), {
|
|
4333
4255
|
open: config.open || false
|
|
@@ -4559,7 +4481,7 @@ var i18n_1 = __webpack_require__(2);
|
|
|
4559
4481
|
|
|
4560
4482
|
var Message_1 = __webpack_require__(12);
|
|
4561
4483
|
|
|
4562
|
-
var FixedSizeContainer_1 = __webpack_require__(
|
|
4484
|
+
var FixedSizeContainer_1 = __webpack_require__(18);
|
|
4563
4485
|
/**
|
|
4564
4486
|
* @method shouldShowIconPlaceholder
|
|
4565
4487
|
* @param {object} dataSources
|
|
@@ -4637,7 +4559,7 @@ exports.default = (0, FixedSizeContainer_1.default)(IconPlaceholder);
|
|
|
4637
4559
|
"use strict";
|
|
4638
4560
|
|
|
4639
4561
|
|
|
4640
|
-
var _defineProperty = __webpack_require__(
|
|
4562
|
+
var _defineProperty = __webpack_require__(13);
|
|
4641
4563
|
|
|
4642
4564
|
Object.defineProperty(exports, "__esModule", {
|
|
4643
4565
|
value: true
|
|
@@ -4648,7 +4570,7 @@ var T = __webpack_require__(1);
|
|
|
4648
4570
|
|
|
4649
4571
|
var lodash_1 = __webpack_require__(3);
|
|
4650
4572
|
|
|
4651
|
-
var DataSource_1 = __webpack_require__(
|
|
4573
|
+
var DataSource_1 = __webpack_require__(21);
|
|
4652
4574
|
|
|
4653
4575
|
exports.SortParamsPropTypes = T.shape({
|
|
4654
4576
|
currentSortKey: T.string,
|
|
@@ -4813,7 +4735,7 @@ __exportStar(__webpack_require__(41), exports);
|
|
|
4813
4735
|
|
|
4814
4736
|
__exportStar(__webpack_require__(42), exports);
|
|
4815
4737
|
|
|
4816
|
-
__exportStar(__webpack_require__(
|
|
4738
|
+
__exportStar(__webpack_require__(21), exports);
|
|
4817
4739
|
|
|
4818
4740
|
__exportStar(__webpack_require__(43), exports);
|
|
4819
4741
|
|
|
@@ -4827,13 +4749,13 @@ __exportStar(__webpack_require__(47), exports);
|
|
|
4827
4749
|
|
|
4828
4750
|
__exportStar(__webpack_require__(48), exports);
|
|
4829
4751
|
|
|
4830
|
-
__exportStar(__webpack_require__(
|
|
4752
|
+
__exportStar(__webpack_require__(22), exports);
|
|
4831
4753
|
|
|
4832
|
-
__exportStar(__webpack_require__(
|
|
4754
|
+
__exportStar(__webpack_require__(8), exports);
|
|
4833
4755
|
|
|
4834
|
-
__exportStar(__webpack_require__(
|
|
4756
|
+
__exportStar(__webpack_require__(23), exports);
|
|
4835
4757
|
|
|
4836
|
-
__exportStar(__webpack_require__(
|
|
4758
|
+
__exportStar(__webpack_require__(49), exports);
|
|
4837
4759
|
|
|
4838
4760
|
__exportStar(__webpack_require__(50), exports);
|
|
4839
4761
|
|
|
@@ -4845,8 +4767,6 @@ __exportStar(__webpack_require__(53), exports);
|
|
|
4845
4767
|
|
|
4846
4768
|
__exportStar(__webpack_require__(54), exports);
|
|
4847
4769
|
|
|
4848
|
-
__exportStar(__webpack_require__(55), exports);
|
|
4849
|
-
|
|
4850
4770
|
/***/ }),
|
|
4851
4771
|
|
|
4852
4772
|
/***/ 41:
|
|
@@ -4948,7 +4868,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4948
4868
|
|
|
4949
4869
|
/***/ }),
|
|
4950
4870
|
|
|
4951
|
-
/***/
|
|
4871
|
+
/***/ 485:
|
|
4952
4872
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4953
4873
|
|
|
4954
4874
|
"use strict";
|
|
@@ -4972,15 +4892,15 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4972
4892
|
});
|
|
4973
4893
|
exports.themes = exports.computeVizProps = exports.PureSingleValue = exports.config = void 0;
|
|
4974
4894
|
|
|
4975
|
-
var SingleValue_1 = __webpack_require__(
|
|
4895
|
+
var SingleValue_1 = __webpack_require__(510);
|
|
4976
4896
|
|
|
4977
|
-
var withDashboardViz_1 = __webpack_require__(
|
|
4897
|
+
var withDashboardViz_1 = __webpack_require__(55);
|
|
4978
4898
|
|
|
4979
4899
|
var singleValueUtils_1 = __webpack_require__(20);
|
|
4980
4900
|
|
|
4981
|
-
var config_1 = __webpack_require__(
|
|
4901
|
+
var config_1 = __webpack_require__(486);
|
|
4982
4902
|
|
|
4983
|
-
var withTrellis_1 = __webpack_require__(
|
|
4903
|
+
var withTrellis_1 = __webpack_require__(127);
|
|
4984
4904
|
|
|
4985
4905
|
exports.config = config_1.default;
|
|
4986
4906
|
exports.PureSingleValue = SingleValue_1.default;
|
|
@@ -5023,25 +4943,13 @@ exports.default = viz;
|
|
|
5023
4943
|
|
|
5024
4944
|
/***/ }),
|
|
5025
4945
|
|
|
5026
|
-
/***/
|
|
5027
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
5028
|
-
|
|
5029
|
-
"use strict";
|
|
5030
|
-
|
|
5031
|
-
|
|
5032
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5033
|
-
value: true
|
|
5034
|
-
});
|
|
5035
|
-
|
|
5036
|
-
/***/ }),
|
|
5037
|
-
|
|
5038
|
-
/***/ 490:
|
|
4946
|
+
/***/ 486:
|
|
5039
4947
|
/***/ (function(module, exports, __webpack_require__) {
|
|
5040
4948
|
|
|
5041
4949
|
"use strict";
|
|
5042
4950
|
|
|
5043
4951
|
|
|
5044
|
-
var _toConsumableArray = __webpack_require__(
|
|
4952
|
+
var _toConsumableArray = __webpack_require__(7);
|
|
5045
4953
|
|
|
5046
4954
|
Object.defineProperty(exports, "__esModule", {
|
|
5047
4955
|
value: true
|
|
@@ -5049,45 +4957,43 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5049
4957
|
|
|
5050
4958
|
var i18n_1 = __webpack_require__(2);
|
|
5051
4959
|
|
|
5052
|
-
var
|
|
4960
|
+
var visualization_schemas_1 = __webpack_require__(10);
|
|
5053
4961
|
|
|
5054
|
-
var PresetPalettes_1 = __webpack_require__(
|
|
4962
|
+
var PresetPalettes_1 = __webpack_require__(81);
|
|
5055
4963
|
|
|
5056
|
-
var variables_1 = __webpack_require__(
|
|
4964
|
+
var variables_1 = __webpack_require__(487);
|
|
5057
4965
|
|
|
5058
4966
|
var pick_1 = __webpack_require__(30);
|
|
5059
4967
|
|
|
5060
|
-
var variables_2 = __webpack_require__(
|
|
4968
|
+
var variables_2 = __webpack_require__(14);
|
|
5061
4969
|
|
|
5062
|
-
var visualization_icons_1 = __webpack_require__(
|
|
4970
|
+
var visualization_icons_1 = __webpack_require__(72);
|
|
5063
4971
|
|
|
5064
|
-
var placeholders_1 = __webpack_require__(
|
|
4972
|
+
var placeholders_1 = __webpack_require__(71);
|
|
5065
4973
|
|
|
5066
|
-
var singleValueContext_1 = __webpack_require__(
|
|
4974
|
+
var singleValueContext_1 = __webpack_require__(155);
|
|
5067
4975
|
|
|
5068
|
-
var VizBehavior_1 = __webpack_require__(
|
|
4976
|
+
var VizBehavior_1 = __webpack_require__(8);
|
|
5069
4977
|
|
|
5070
|
-
var DynamicMajorColorEditor_1 = __webpack_require__(
|
|
4978
|
+
var DynamicMajorColorEditor_1 = __webpack_require__(156);
|
|
5071
4979
|
|
|
5072
|
-
var DynamicTrendColorEditor_1 = __webpack_require__(
|
|
4980
|
+
var DynamicTrendColorEditor_1 = __webpack_require__(121);
|
|
5073
4981
|
|
|
5074
|
-
var DynamicBackgroundColorEditor_1 = __webpack_require__(
|
|
4982
|
+
var DynamicBackgroundColorEditor_1 = __webpack_require__(122);
|
|
5075
4983
|
|
|
5076
|
-
var StaticMajorAndTrendLayout_1 = __webpack_require__(
|
|
4984
|
+
var StaticMajorAndTrendLayout_1 = __webpack_require__(123);
|
|
5077
4985
|
|
|
5078
|
-
var StaticMajorColorEditor_1 = __webpack_require__(
|
|
4986
|
+
var StaticMajorColorEditor_1 = __webpack_require__(124);
|
|
5079
4987
|
|
|
5080
|
-
var StaticTrendColorEditor_1 = __webpack_require__(
|
|
4988
|
+
var StaticTrendColorEditor_1 = __webpack_require__(125);
|
|
5081
4989
|
|
|
5082
|
-
var StaticBackgroundColorEditor_1 = __webpack_require__(
|
|
4990
|
+
var StaticBackgroundColorEditor_1 = __webpack_require__(112);
|
|
5083
4991
|
|
|
5084
4992
|
var configUtils_1 = __webpack_require__(27);
|
|
5085
4993
|
|
|
5086
|
-
var TrellisEditors_1 = __webpack_require__(
|
|
5087
|
-
|
|
5088
|
-
var VizCategory_1 = __webpack_require__(22);
|
|
4994
|
+
var TrellisEditors_1 = __webpack_require__(126);
|
|
5089
4995
|
|
|
5090
|
-
var
|
|
4996
|
+
var VizCategory_1 = __webpack_require__(23);
|
|
5091
4997
|
|
|
5092
4998
|
var dataContract = {
|
|
5093
4999
|
requiredDataSources: [{
|
|
@@ -5106,188 +5012,6 @@ var size = {
|
|
|
5106
5012
|
initialWidth: 250,
|
|
5107
5013
|
initialHeight: 250
|
|
5108
5014
|
};
|
|
5109
|
-
var optionsSchema = {
|
|
5110
|
-
align: {
|
|
5111
|
-
default: 'center',
|
|
5112
|
-
description: 'Specify how to align the center content.',
|
|
5113
|
-
pattern: (0, schemaUtils_1.getPattern)(['left', 'center', 'right']),
|
|
5114
|
-
type: 'string'
|
|
5115
|
-
},
|
|
5116
|
-
backgroundColor: {
|
|
5117
|
-
default: '> themes.defaultBackgroundColor',
|
|
5118
|
-
description: 'Specify the color for the background. You may use a dataSource to apply the color. The default for enterprise light is "#ffffff". The default for enterprise dark is "#000000". The default for prisma dark is "#0b0c0e".',
|
|
5119
|
-
pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
|
|
5120
|
-
type: 'string'
|
|
5121
|
-
},
|
|
5122
|
-
majorColor: {
|
|
5123
|
-
default: '> themes.defaultFontColor',
|
|
5124
|
-
description: 'Specify the color for the major value. You may use a dataSource to apply the color. The hex value format should be “#FFFFFF”. The default for enterprise light is "#000000". The default for enterprise dark is "#ffffff". The default for prisma dark is "rgba(255, 255, 255, 0.98)".',
|
|
5125
|
-
pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
|
|
5126
|
-
type: 'string'
|
|
5127
|
-
},
|
|
5128
|
-
majorFontSize: {
|
|
5129
|
-
description: 'Specify the font size (px) for the major value. By default the major value font size is calculated dynamically based on the available space.',
|
|
5130
|
-
type: 'number'
|
|
5131
|
-
},
|
|
5132
|
-
majorValue: {
|
|
5133
|
-
default: '> sparklineValues|lastPoint()',
|
|
5134
|
-
description: 'The major value to display in the visualization.',
|
|
5135
|
-
type: ['string', 'number']
|
|
5136
|
-
},
|
|
5137
|
-
majorValueField: {
|
|
5138
|
-
default: '> majorValue | getField()',
|
|
5139
|
-
description: 'The field name of major value.',
|
|
5140
|
-
type: 'string'
|
|
5141
|
-
},
|
|
5142
|
-
numberPrecision: {
|
|
5143
|
-
default: 0,
|
|
5144
|
-
maximum: 20,
|
|
5145
|
-
minimum: 0,
|
|
5146
|
-
description: 'Specify the number of decimal places to display. For example, to display 3 decimal places, use a value of 3. Values can range from 0 to 20.',
|
|
5147
|
-
type: 'number'
|
|
5148
|
-
},
|
|
5149
|
-
shouldAbbreviateTrendValue: {
|
|
5150
|
-
default: false,
|
|
5151
|
-
description: 'Specify whether to abbreviate the trend value to 2 decimal points. A magnitude unit will be displayed.',
|
|
5152
|
-
type: 'boolean'
|
|
5153
|
-
},
|
|
5154
|
-
shouldSparklineAcceptNullData: {
|
|
5155
|
-
default: true,
|
|
5156
|
-
description: 'Specify whether to convert null and non-numeric values in the sparkline to 0.',
|
|
5157
|
-
type: 'boolean'
|
|
5158
|
-
},
|
|
5159
|
-
shouldUseThousandSeparators: {
|
|
5160
|
-
default: true,
|
|
5161
|
-
description: 'Specify whether numeric values use commas as thousandths separators.',
|
|
5162
|
-
type: 'boolean'
|
|
5163
|
-
},
|
|
5164
|
-
showSparklineAreaGraph: {
|
|
5165
|
-
default: false,
|
|
5166
|
-
description: 'Specify whether to show the sparkline as an area graph rather than a line.',
|
|
5167
|
-
type: 'boolean'
|
|
5168
|
-
},
|
|
5169
|
-
showSparklineTooltip: {
|
|
5170
|
-
default: false,
|
|
5171
|
-
description: 'Show a tooltip to display values on the sparkline.',
|
|
5172
|
-
type: 'boolean'
|
|
5173
|
-
},
|
|
5174
|
-
splitByLayout: {
|
|
5175
|
-
default: 'off',
|
|
5176
|
-
description: 'Specify the layout method by which to display the visualization, which splits the data into individual visualizations based on a certain category.',
|
|
5177
|
-
type: 'string',
|
|
5178
|
-
pattern: (0, schemaUtils_1.getPattern)([layoutUtils_1.LAYOUT_TYPE.Off, layoutUtils_1.LAYOUT_TYPE.Trellis]),
|
|
5179
|
-
enum: [layoutUtils_1.LAYOUT_TYPE.Off, layoutUtils_1.LAYOUT_TYPE.Trellis]
|
|
5180
|
-
},
|
|
5181
|
-
sparklineAreaColor: {
|
|
5182
|
-
default: '> sparklineStrokeColor',
|
|
5183
|
-
description: 'Specify the color for the sparkline area fill. You may use a dataSource to apply the color. The hex value format should be “#FFFFFF”. The graph area will have an opacity of 20% and will blend with the background color.',
|
|
5184
|
-
pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
|
|
5185
|
-
type: 'string'
|
|
5186
|
-
},
|
|
5187
|
-
sparklineDisplay: {
|
|
5188
|
-
default: 'below',
|
|
5189
|
-
description: 'Specify how to display a sparkline.',
|
|
5190
|
-
pattern: (0, schemaUtils_1.getPattern)(['before', 'after', 'below', 'off']),
|
|
5191
|
-
type: 'string'
|
|
5192
|
-
},
|
|
5193
|
-
sparklineHighlightDots: {
|
|
5194
|
-
default: 0,
|
|
5195
|
-
description: 'Specify the number of markers, or dots, to display at the top of a sparkline area graph.',
|
|
5196
|
-
type: 'number'
|
|
5197
|
-
},
|
|
5198
|
-
sparklineHighlightSegments: {
|
|
5199
|
-
default: 0,
|
|
5200
|
-
description: 'Specify the number of segments to be highlighted at the top of a sparkline area graph.',
|
|
5201
|
-
type: 'number'
|
|
5202
|
-
},
|
|
5203
|
-
sparklineStrokeColor: {
|
|
5204
|
-
default: '> themes.defaultSparklineStrokeColor',
|
|
5205
|
-
description: 'Specify the color for the sparkline stroke. You may use a dataSource to apply the color. The hex value format should be “#FFFFFF”. The default for enterprise light is "#000000". The default for enterprise dark is "#ffffff". The default for prisma dark is "rgba(255, 255, 255, 0.98)".',
|
|
5206
|
-
pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
|
|
5207
|
-
type: 'string'
|
|
5208
|
-
},
|
|
5209
|
-
sparklineValues: {
|
|
5210
|
-
default: '> primary|seriesByPrioritizedTypes("number", "string", "time")',
|
|
5211
|
-
description: 'List of numerical values to display on a sparkline. If the values are string type, the sparkline will not be shown.',
|
|
5212
|
-
type: 'array',
|
|
5213
|
-
items: {
|
|
5214
|
-
type: ['string', 'number']
|
|
5215
|
-
}
|
|
5216
|
-
},
|
|
5217
|
-
trendColor: {
|
|
5218
|
-
default: '> themes.defaultFontColor',
|
|
5219
|
-
description: 'Specify the color for the trend value. You may use a dataSource to apply the color. The hex value format should be “#FFFFFF”. The default for enterprise light is "#000000". The default for enterprise dark is "#ffffff". The default for prisma dark is "rgba(255, 255, 255, 0.98)".',
|
|
5220
|
-
pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
|
|
5221
|
-
type: 'string'
|
|
5222
|
-
},
|
|
5223
|
-
trendDisplay: {
|
|
5224
|
-
default: 'absolute',
|
|
5225
|
-
description: 'Specify how to display the trend value.',
|
|
5226
|
-
pattern: (0, schemaUtils_1.getPattern)(['percent', 'absolute', 'off']),
|
|
5227
|
-
type: 'string'
|
|
5228
|
-
},
|
|
5229
|
-
trendFontSize: {
|
|
5230
|
-
description: 'Specify the font size (px) for the trend value. By default the trend value font size is calculated dynamically based on the available space.',
|
|
5231
|
-
type: 'number'
|
|
5232
|
-
},
|
|
5233
|
-
trendValue: {
|
|
5234
|
-
default: '> sparklineValues|delta(-2)',
|
|
5235
|
-
description: 'The trend value to display in the visualization.',
|
|
5236
|
-
type: 'number'
|
|
5237
|
-
},
|
|
5238
|
-
trellisBackgroundColor: {
|
|
5239
|
-
default: '> themes.defaultBackgroundColor',
|
|
5240
|
-
description: 'Specify the color used for the trellis container background by using a hexadecimal code. For example, #0000FF.',
|
|
5241
|
-
pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
|
|
5242
|
-
type: 'string'
|
|
5243
|
-
},
|
|
5244
|
-
trellisColumns: {
|
|
5245
|
-
description: 'Specify the number of visualizations to display in a given row of the trellis container. The remaining visualizations will wrap accordingly. If nothing is specified, it will be auto-set based on the trellisMinColumnWidth. The minimum value is 1.',
|
|
5246
|
-
type: 'number',
|
|
5247
|
-
minimum: 1
|
|
5248
|
-
},
|
|
5249
|
-
trellisMinColumnWidth: {
|
|
5250
|
-
default: 100,
|
|
5251
|
-
minimum: 1,
|
|
5252
|
-
description: 'Specify the minimum width, in pixels, of each visualization in the trellis container. If the window or panel is resized, the remaining visualizations may be viewed by scrolling. The minimum value is 1.',
|
|
5253
|
-
type: 'number'
|
|
5254
|
-
},
|
|
5255
|
-
trellisPageCount: {
|
|
5256
|
-
default: 20,
|
|
5257
|
-
minimum: 1,
|
|
5258
|
-
description: 'Specify the maximum number of visualizations to display in a single page in the trellis container. The remaining visualizations will paginate accordingly. The minimum value is 1.',
|
|
5259
|
-
type: 'number'
|
|
5260
|
-
},
|
|
5261
|
-
trellisRowHeight: {
|
|
5262
|
-
default: 70,
|
|
5263
|
-
minimum: 1,
|
|
5264
|
-
description: 'Specify the height, in pixels, of each visualization in the trellis container. If the window or panel is resized, the remaining visualizations may be viewed by scrolling. The minimum value is 1.',
|
|
5265
|
-
type: 'number'
|
|
5266
|
-
},
|
|
5267
|
-
trellisSplitBy: {
|
|
5268
|
-
description: 'Specify the field name of the column with categories used, or “aggregations”, to split the data into individual visualizations for trellis display, if applicable. If a SPL `timechart` command is used, this may default to the SPL `by` clause field. If a SPL `chart` command is used, this may default to the first string field.',
|
|
5269
|
-
type: 'string'
|
|
5270
|
-
},
|
|
5271
|
-
underLabel: {
|
|
5272
|
-
description: 'Specify the text that appears below the major value.',
|
|
5273
|
-
type: 'string'
|
|
5274
|
-
},
|
|
5275
|
-
underLabelFontSize: {
|
|
5276
|
-
default: 12,
|
|
5277
|
-
description: 'Specify the font size (px) for the under label text.',
|
|
5278
|
-
type: 'number'
|
|
5279
|
-
},
|
|
5280
|
-
unit: {
|
|
5281
|
-
description: 'Specify text to show next to the major value.',
|
|
5282
|
-
type: 'string'
|
|
5283
|
-
},
|
|
5284
|
-
unitPosition: {
|
|
5285
|
-
default: 'after',
|
|
5286
|
-
description: 'Specify whether the unit text should appear before or after the major value.',
|
|
5287
|
-
pattern: (0, schemaUtils_1.getPattern)(['before', 'after']),
|
|
5288
|
-
type: 'string'
|
|
5289
|
-
}
|
|
5290
|
-
};
|
|
5291
5015
|
var basePresetContext = {
|
|
5292
5016
|
majorColorEditorConfig: undefined,
|
|
5293
5017
|
trendColorEditorConfig: undefined,
|
|
@@ -5508,7 +5232,7 @@ var editorConfig = [{
|
|
|
5508
5232
|
},
|
|
5509
5233
|
isDisabled: function isDisabled(_ref) {
|
|
5510
5234
|
var options = _ref.options;
|
|
5511
|
-
return options.splitByLayout ===
|
|
5235
|
+
return options.splitByLayout === visualization_schemas_1.LAYOUT_TYPE.Trellis;
|
|
5512
5236
|
}
|
|
5513
5237
|
}]]
|
|
5514
5238
|
}, {
|
|
@@ -5667,7 +5391,7 @@ var config = {
|
|
|
5667
5391
|
dataContract: dataContract,
|
|
5668
5392
|
size: size,
|
|
5669
5393
|
defaultContext: singleValueContext_1.defaultContext,
|
|
5670
|
-
optionsSchema:
|
|
5394
|
+
optionsSchema: visualization_schemas_1.singleValueOptionsSchema,
|
|
5671
5395
|
editorConfig: editorConfig,
|
|
5672
5396
|
events: {
|
|
5673
5397
|
'value.click': {
|
|
@@ -5683,13 +5407,25 @@ exports.default = (0, configUtils_1.enhanceConfig)(config);
|
|
|
5683
5407
|
|
|
5684
5408
|
/***/ }),
|
|
5685
5409
|
|
|
5686
|
-
/***/
|
|
5410
|
+
/***/ 487:
|
|
5687
5411
|
/***/ (function(module, exports) {
|
|
5688
5412
|
|
|
5689
5413
|
module.exports = require("@splunk/visualization-themes/variables");
|
|
5690
5414
|
|
|
5691
5415
|
/***/ }),
|
|
5692
5416
|
|
|
5417
|
+
/***/ 49:
|
|
5418
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
5419
|
+
|
|
5420
|
+
"use strict";
|
|
5421
|
+
|
|
5422
|
+
|
|
5423
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5424
|
+
value: true
|
|
5425
|
+
});
|
|
5426
|
+
|
|
5427
|
+
/***/ }),
|
|
5428
|
+
|
|
5693
5429
|
/***/ 50:
|
|
5694
5430
|
/***/ (function(module, exports, __webpack_require__) {
|
|
5695
5431
|
|
|
@@ -5714,7 +5450,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5714
5450
|
|
|
5715
5451
|
/***/ }),
|
|
5716
5452
|
|
|
5717
|
-
/***/
|
|
5453
|
+
/***/ 510:
|
|
5718
5454
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
5719
5455
|
|
|
5720
5456
|
"use strict";
|
|
@@ -5726,11 +5462,11 @@ __webpack_require__.d(__webpack_exports__, "CONTENT_OVERFLOW_FADEOUT_AREA_PX", f
|
|
|
5726
5462
|
__webpack_require__.d(__webpack_exports__, "DEFAULT_CONTENT_HEIGHT_ALLOCATION_RATIO", function() { return /* binding */ DEFAULT_CONTENT_HEIGHT_ALLOCATION_RATIO; });
|
|
5727
5463
|
|
|
5728
5464
|
// EXTERNAL MODULE: external "@babel/runtime/helpers/slicedToArray"
|
|
5729
|
-
var slicedToArray_ = __webpack_require__(
|
|
5465
|
+
var slicedToArray_ = __webpack_require__(6);
|
|
5730
5466
|
var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray_);
|
|
5731
5467
|
|
|
5732
5468
|
// EXTERNAL MODULE: external "@babel/runtime/helpers/extends"
|
|
5733
|
-
var extends_ = __webpack_require__(
|
|
5469
|
+
var extends_ = __webpack_require__(69);
|
|
5734
5470
|
var extends_default = /*#__PURE__*/__webpack_require__.n(extends_);
|
|
5735
5471
|
|
|
5736
5472
|
// EXTERNAL MODULE: external "react"
|
|
@@ -5746,15 +5482,15 @@ var external_styled_components_ = __webpack_require__(4);
|
|
|
5746
5482
|
var external_styled_components_default = /*#__PURE__*/__webpack_require__.n(external_styled_components_);
|
|
5747
5483
|
|
|
5748
5484
|
// EXTERNAL MODULE: external "lodash/pick"
|
|
5749
|
-
var pick_ = __webpack_require__(
|
|
5485
|
+
var pick_ = __webpack_require__(129);
|
|
5750
5486
|
var pick_default = /*#__PURE__*/__webpack_require__.n(pick_);
|
|
5751
5487
|
|
|
5752
5488
|
// EXTERNAL MODULE: external "lodash/isEmpty"
|
|
5753
|
-
var isEmpty_ = __webpack_require__(
|
|
5489
|
+
var isEmpty_ = __webpack_require__(130);
|
|
5754
5490
|
var isEmpty_default = /*#__PURE__*/__webpack_require__.n(isEmpty_);
|
|
5755
5491
|
|
|
5756
5492
|
// EXTERNAL MODULE: external "@splunk/visualizations-shared/style"
|
|
5757
|
-
var style_ = __webpack_require__(
|
|
5493
|
+
var style_ = __webpack_require__(19);
|
|
5758
5494
|
|
|
5759
5495
|
// EXTERNAL MODULE: external "@splunk/visualizations-shared/SizeAwareWrapper"
|
|
5760
5496
|
var SizeAwareWrapper_ = __webpack_require__(26);
|
|
@@ -5764,27 +5500,27 @@ var SizeAwareWrapper_default = /*#__PURE__*/__webpack_require__.n(SizeAwareWrapp
|
|
|
5764
5500
|
var FeatureFlagContext_ = __webpack_require__(28);
|
|
5765
5501
|
var FeatureFlagContext_default = /*#__PURE__*/__webpack_require__.n(FeatureFlagContext_);
|
|
5766
5502
|
|
|
5503
|
+
// EXTERNAL MODULE: external "@splunk/visualization-schemas"
|
|
5504
|
+
var visualization_schemas_ = __webpack_require__(10);
|
|
5505
|
+
|
|
5767
5506
|
// EXTERNAL MODULE: ./src/common/components/VizStyleWrapper.jsx
|
|
5768
|
-
var VizStyleWrapper = __webpack_require__(
|
|
5507
|
+
var VizStyleWrapper = __webpack_require__(94);
|
|
5769
5508
|
|
|
5770
5509
|
// EXTERNAL MODULE: ./src/common/components/TrellisTitle.tsx
|
|
5771
|
-
var TrellisTitle = __webpack_require__(
|
|
5772
|
-
|
|
5773
|
-
// EXTERNAL MODULE: ./src/common/utils/layoutUtils.ts
|
|
5774
|
-
var layoutUtils = __webpack_require__(80);
|
|
5510
|
+
var TrellisTitle = __webpack_require__(100);
|
|
5775
5511
|
|
|
5776
5512
|
// EXTERNAL MODULE: external "@babel/runtime/helpers/defineProperty"
|
|
5777
|
-
var defineProperty_ = __webpack_require__(
|
|
5513
|
+
var defineProperty_ = __webpack_require__(13);
|
|
5778
5514
|
var defineProperty_default = /*#__PURE__*/__webpack_require__.n(defineProperty_);
|
|
5779
5515
|
|
|
5780
5516
|
// EXTERNAL MODULE: ./src/SingleValueBasic/SingleValueBasic.jsx + 2 modules
|
|
5781
|
-
var SingleValueBasic = __webpack_require__(
|
|
5517
|
+
var SingleValueBasic = __webpack_require__(102);
|
|
5782
5518
|
|
|
5783
5519
|
// EXTERNAL MODULE: external "@splunk/visualizations-shared/propUtils"
|
|
5784
5520
|
var propUtils_ = __webpack_require__(36);
|
|
5785
5521
|
|
|
5786
5522
|
// EXTERNAL MODULE: ./src/SparkLine/SparkLine.jsx
|
|
5787
|
-
var SparkLine = __webpack_require__(
|
|
5523
|
+
var SparkLine = __webpack_require__(115);
|
|
5788
5524
|
|
|
5789
5525
|
// CONCATENATED MODULE: ./src/SingleValue/PureSingleValue/SingleValueSparkline.jsx
|
|
5790
5526
|
|
|
@@ -5848,7 +5584,7 @@ SingleValueSparkline_SingleValueSparkline.propTypes = {
|
|
|
5848
5584
|
};
|
|
5849
5585
|
/* harmony default export */ var PureSingleValue_SingleValueSparkline = (SingleValueSparkline_SingleValueSparkline);
|
|
5850
5586
|
// EXTERNAL MODULE: external "@splunk/visualizations-shared/colorConstants"
|
|
5851
|
-
var colorConstants_ = __webpack_require__(
|
|
5587
|
+
var colorConstants_ = __webpack_require__(70);
|
|
5852
5588
|
|
|
5853
5589
|
// EXTERNAL MODULE: external "@splunk/visualizations-shared/numberUtils"
|
|
5854
5590
|
var numberUtils_ = __webpack_require__(11);
|
|
@@ -6156,11 +5892,11 @@ function _objectSpread(target) {
|
|
|
6156
5892
|
var CONTENT_OVERFLOW_FADEOUT_AREA_PX = 16;
|
|
6157
5893
|
var Column = external_styled_components_default.a.div.withConfig({
|
|
6158
5894
|
displayName: "StandardLayout__Column",
|
|
6159
|
-
componentId: "isgrrp-0"
|
|
5895
|
+
componentId: "sc-isgrrp-0"
|
|
6160
5896
|
})(["display:flex;flex-direction:column;height:100%;width:100%;justify-content:center;"]);
|
|
6161
5897
|
var Row = external_styled_components_default.a.div.withConfig({
|
|
6162
5898
|
displayName: "StandardLayout__Row",
|
|
6163
|
-
componentId: "isgrrp-1"
|
|
5899
|
+
componentId: "sc-isgrrp-1"
|
|
6164
5900
|
})(["display:flex;flex-direction:row;"]);
|
|
6165
5901
|
var OverflowWrapper = external_styled_components_default.a.div.attrs(function () {
|
|
6166
5902
|
return {
|
|
@@ -6168,7 +5904,7 @@ var OverflowWrapper = external_styled_components_default.a.div.attrs(function ()
|
|
|
6168
5904
|
};
|
|
6169
5905
|
}).withConfig({
|
|
6170
5906
|
displayName: "StandardLayout__OverflowWrapper",
|
|
6171
|
-
componentId: "isgrrp-2"
|
|
5907
|
+
componentId: "sc-isgrrp-2"
|
|
6172
5908
|
})(["box-sizing:border-box;padding-left:16px;padding-right:16px;width:100%;height:", "px;position:relative;display:flex;align-items:start;justify-content:", ";&:after,&:before{position:absolute;height:100%;width:", "px;content:'';top:0;}&:after{right:0;background:linear-gradient( 90deg,", "00,", " );}&:before{left:0;background:linear-gradient( -90deg,", "00,", " );}"], function (props) {
|
|
6173
5909
|
return props.height;
|
|
6174
5910
|
}, function (props) {
|
|
@@ -6388,7 +6124,7 @@ var SingleValue_SingleValue = function SingleValue(_ref) {
|
|
|
6388
6124
|
}, []);
|
|
6389
6125
|
var featureFlagContext = external_react_default.a.useContext(FeatureFlagContext_default.a);
|
|
6390
6126
|
var isTrellisFeatureFlagOn = Boolean(featureFlagContext && featureFlagContext.visualizations_enableTrellis);
|
|
6391
|
-
var trellisEnabled = isTrellisFeatureFlagOn && splitByLayout ===
|
|
6127
|
+
var trellisEnabled = isTrellisFeatureFlagOn && splitByLayout === visualization_schemas_["LAYOUT_TYPE"].Trellis;
|
|
6392
6128
|
var handleValueClick = Object(external_react_["useCallback"])(function (ev) {
|
|
6393
6129
|
return Object(singleValueUtils["handleValueClickCallback"])(ev, majorValue, majorValueField, trendValue, onValueClick, trellisEnabled, trellisSplitBy, trellisKey);
|
|
6394
6130
|
}, [onValueClick, majorValue, majorValueField, trendValue, trellisEnabled, trellisSplitBy, trellisKey]); // FIXME todo 'compute colors' is not pure, it must be lifted into behavior or DSL
|
|
@@ -6691,19 +6427,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6691
6427
|
"use strict";
|
|
6692
6428
|
|
|
6693
6429
|
|
|
6694
|
-
|
|
6695
|
-
value: true
|
|
6696
|
-
});
|
|
6697
|
-
|
|
6698
|
-
/***/ }),
|
|
6699
|
-
|
|
6700
|
-
/***/ 56:
|
|
6701
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
6702
|
-
|
|
6703
|
-
"use strict";
|
|
6704
|
-
|
|
6705
|
-
|
|
6706
|
-
var _slicedToArray = __webpack_require__(7);
|
|
6430
|
+
var _slicedToArray = __webpack_require__(6);
|
|
6707
6431
|
|
|
6708
6432
|
Object.defineProperty(exports, "__esModule", {
|
|
6709
6433
|
value: true
|
|
@@ -6713,15 +6437,15 @@ var React = __webpack_require__(0);
|
|
|
6713
6437
|
|
|
6714
6438
|
var lodash_1 = __webpack_require__(3);
|
|
6715
6439
|
|
|
6716
|
-
var getSettingsFromThemedProps_1 = __webpack_require__(
|
|
6440
|
+
var getSettingsFromThemedProps_1 = __webpack_require__(56);
|
|
6717
6441
|
|
|
6718
|
-
var Options_1 = __webpack_require__(
|
|
6442
|
+
var Options_1 = __webpack_require__(17);
|
|
6719
6443
|
|
|
6720
|
-
var SanitizeProps_1 = __webpack_require__(
|
|
6444
|
+
var SanitizeProps_1 = __webpack_require__(57);
|
|
6721
6445
|
|
|
6722
6446
|
var TimezoneContext_1 = __webpack_require__(32);
|
|
6723
6447
|
|
|
6724
|
-
var moment_1 = __webpack_require__(
|
|
6448
|
+
var moment_1 = __webpack_require__(58);
|
|
6725
6449
|
|
|
6726
6450
|
var FeatureFlagContext_1 = __webpack_require__(28);
|
|
6727
6451
|
|
|
@@ -6731,31 +6455,31 @@ var hocUtils_1 = __webpack_require__(34);
|
|
|
6731
6455
|
|
|
6732
6456
|
var JSONSchemaUtils_1 = __webpack_require__(35);
|
|
6733
6457
|
|
|
6734
|
-
var async_dynamic_options_evaluator_1 = __webpack_require__(
|
|
6458
|
+
var async_dynamic_options_evaluator_1 = __webpack_require__(59);
|
|
6735
6459
|
|
|
6736
6460
|
var id_1 = __webpack_require__(31);
|
|
6737
6461
|
|
|
6738
|
-
var SplunkVisualization_1 = __webpack_require__(
|
|
6462
|
+
var SplunkVisualization_1 = __webpack_require__(60);
|
|
6739
6463
|
|
|
6740
|
-
var VizBehavior_1 = __webpack_require__(
|
|
6464
|
+
var VizBehavior_1 = __webpack_require__(8);
|
|
6741
6465
|
|
|
6742
6466
|
var getSorting_1 = __webpack_require__(38);
|
|
6743
6467
|
|
|
6744
6468
|
var getPagination_1 = __webpack_require__(39);
|
|
6745
6469
|
|
|
6746
|
-
var useDeepMemo_1 = __webpack_require__(
|
|
6470
|
+
var useDeepMemo_1 = __webpack_require__(61);
|
|
6747
6471
|
|
|
6748
|
-
var MissingPropsMessage_1 = __webpack_require__(
|
|
6472
|
+
var MissingPropsMessage_1 = __webpack_require__(62);
|
|
6749
6473
|
|
|
6750
|
-
var withEditModeCover_1 = __webpack_require__(
|
|
6474
|
+
var withEditModeCover_1 = __webpack_require__(63);
|
|
6751
6475
|
|
|
6752
|
-
var withPlaceholder_1 = __webpack_require__(
|
|
6476
|
+
var withPlaceholder_1 = __webpack_require__(64);
|
|
6753
6477
|
|
|
6754
|
-
var useDownsampleDataSources_1 = __webpack_require__(
|
|
6478
|
+
var useDownsampleDataSources_1 = __webpack_require__(65);
|
|
6755
6479
|
|
|
6756
|
-
var dataUtils_1 = __webpack_require__(
|
|
6480
|
+
var dataUtils_1 = __webpack_require__(15);
|
|
6757
6481
|
|
|
6758
|
-
var featureFlagUtils_1 = __webpack_require__(
|
|
6482
|
+
var featureFlagUtils_1 = __webpack_require__(67);
|
|
6759
6483
|
/**
|
|
6760
6484
|
* hoc that wraps a pure react visualization in a Dashboard visualization
|
|
6761
6485
|
* @param {DashboardVizOpts} opts
|
|
@@ -7088,81 +6812,48 @@ exports.default = withDashboardViz;
|
|
|
7088
6812
|
|
|
7089
6813
|
/***/ }),
|
|
7090
6814
|
|
|
7091
|
-
/***/
|
|
6815
|
+
/***/ 56:
|
|
7092
6816
|
/***/ (function(module, exports) {
|
|
7093
6817
|
|
|
7094
6818
|
module.exports = require("@splunk/themes/getSettingsFromThemedProps");
|
|
7095
6819
|
|
|
7096
6820
|
/***/ }),
|
|
7097
6821
|
|
|
7098
|
-
/***/
|
|
6822
|
+
/***/ 57:
|
|
7099
6823
|
/***/ (function(module, exports) {
|
|
7100
6824
|
|
|
7101
6825
|
module.exports = require("@splunk/visualizations-shared/SanitizeProps");
|
|
7102
6826
|
|
|
7103
6827
|
/***/ }),
|
|
7104
6828
|
|
|
7105
|
-
/***/
|
|
6829
|
+
/***/ 58:
|
|
7106
6830
|
/***/ (function(module, exports) {
|
|
7107
6831
|
|
|
7108
6832
|
module.exports = require("@splunk/moment");
|
|
7109
6833
|
|
|
7110
6834
|
/***/ }),
|
|
7111
6835
|
|
|
7112
|
-
/***/
|
|
7113
|
-
/***/ (function(module, exports
|
|
7114
|
-
|
|
7115
|
-
"use strict";
|
|
7116
|
-
|
|
7117
|
-
|
|
7118
|
-
Object.defineProperty(exports, "__esModule", {
|
|
7119
|
-
value: true
|
|
7120
|
-
});
|
|
7121
|
-
exports.VizBehavior = void 0;
|
|
7122
|
-
var VizBehavior;
|
|
7123
|
-
|
|
7124
|
-
(function (VizBehavior) {
|
|
7125
|
-
/**
|
|
7126
|
-
* Dynamic Options Behavior.
|
|
7127
|
-
* This allows visualization options to be powered by data
|
|
7128
|
-
*
|
|
7129
|
-
* **Example**
|
|
7130
|
-
*
|
|
7131
|
-
* sparklineValues: ">primary|seriesByIndex(0)"
|
|
7132
|
-
* would configure sparklineValues with an array of data points
|
|
7133
|
-
* coming from the first series in the primary datasource
|
|
7134
|
-
*
|
|
7135
|
-
*/
|
|
7136
|
-
VizBehavior["DYNAMIC_OPTIONS"] = "dynamic-options";
|
|
7137
|
-
VizBehavior["EVENTS"] = "events";
|
|
7138
|
-
VizBehavior["DOWNSAMPLING"] = "downsampling";
|
|
7139
|
-
/**
|
|
7140
|
-
* Placeholder behavior: visualization will display a placeholder rather than fail if any of the `requiredProps` is
|
|
7141
|
-
* missing.
|
|
7142
|
-
* @type {string}
|
|
7143
|
-
*/
|
|
6836
|
+
/***/ 59:
|
|
6837
|
+
/***/ (function(module, exports) {
|
|
7144
6838
|
|
|
7145
|
-
|
|
7146
|
-
VizBehavior["PAGE_AND_SORT"] = "page-and-sort";
|
|
7147
|
-
VizBehavior["TRELLIS"] = "trellis";
|
|
7148
|
-
})(VizBehavior = exports.VizBehavior || (exports.VizBehavior = {}));
|
|
6839
|
+
module.exports = require("@splunk/async-dynamic-options-evaluator");
|
|
7149
6840
|
|
|
7150
6841
|
/***/ }),
|
|
7151
6842
|
|
|
7152
|
-
/***/
|
|
6843
|
+
/***/ 6:
|
|
7153
6844
|
/***/ (function(module, exports) {
|
|
7154
6845
|
|
|
7155
|
-
module.exports = require("@
|
|
6846
|
+
module.exports = require("@babel/runtime/helpers/slicedToArray");
|
|
7156
6847
|
|
|
7157
6848
|
/***/ }),
|
|
7158
6849
|
|
|
7159
|
-
/***/
|
|
6850
|
+
/***/ 60:
|
|
7160
6851
|
/***/ (function(module, exports, __webpack_require__) {
|
|
7161
6852
|
|
|
7162
6853
|
"use strict";
|
|
7163
6854
|
|
|
7164
6855
|
|
|
7165
|
-
var _classCallCheck = __webpack_require__(
|
|
6856
|
+
var _classCallCheck = __webpack_require__(9);
|
|
7166
6857
|
|
|
7167
6858
|
Object.defineProperty(exports, "__esModule", {
|
|
7168
6859
|
value: true
|
|
@@ -7174,7 +6865,7 @@ var T = __webpack_require__(1);
|
|
|
7174
6865
|
|
|
7175
6866
|
var lodash_1 = __webpack_require__(3);
|
|
7176
6867
|
|
|
7177
|
-
var VizActionHandler_1 = __webpack_require__(
|
|
6868
|
+
var VizActionHandler_1 = __webpack_require__(22); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
|
|
7178
6869
|
|
|
7179
6870
|
|
|
7180
6871
|
exports.INITIAL_WIDTH = 250;
|
|
@@ -7308,7 +6999,7 @@ exports.default = SplunkVisualization;
|
|
|
7308
6999
|
|
|
7309
7000
|
/***/ }),
|
|
7310
7001
|
|
|
7311
|
-
/***/
|
|
7002
|
+
/***/ 61:
|
|
7312
7003
|
/***/ (function(module, exports, __webpack_require__) {
|
|
7313
7004
|
|
|
7314
7005
|
"use strict";
|
|
@@ -7354,7 +7045,7 @@ exports.useDeepMemo = useDeepMemo;
|
|
|
7354
7045
|
|
|
7355
7046
|
/***/ }),
|
|
7356
7047
|
|
|
7357
|
-
/***/
|
|
7048
|
+
/***/ 62:
|
|
7358
7049
|
/***/ (function(module, exports, __webpack_require__) {
|
|
7359
7050
|
|
|
7360
7051
|
"use strict";
|
|
@@ -7373,7 +7064,7 @@ var i18n_1 = __webpack_require__(2);
|
|
|
7373
7064
|
|
|
7374
7065
|
var Message_1 = __webpack_require__(12);
|
|
7375
7066
|
|
|
7376
|
-
var FixedSizeContainer_1 = __webpack_require__(
|
|
7067
|
+
var FixedSizeContainer_1 = __webpack_require__(18);
|
|
7377
7068
|
/**
|
|
7378
7069
|
* @method isMissing
|
|
7379
7070
|
* @param {any} v
|
|
@@ -7435,7 +7126,7 @@ exports.default = (0, FixedSizeContainer_1.default)(exports.MissingPropsMessage)
|
|
|
7435
7126
|
|
|
7436
7127
|
/***/ }),
|
|
7437
7128
|
|
|
7438
|
-
/***/
|
|
7129
|
+
/***/ 63:
|
|
7439
7130
|
/***/ (function(module, exports, __webpack_require__) {
|
|
7440
7131
|
|
|
7441
7132
|
"use strict";
|
|
@@ -7449,14 +7140,14 @@ var React = __webpack_require__(0);
|
|
|
7449
7140
|
|
|
7450
7141
|
var styled_components_1 = __webpack_require__(4);
|
|
7451
7142
|
|
|
7452
|
-
var hocUtils_1 = __webpack_require__(
|
|
7143
|
+
var hocUtils_1 = __webpack_require__(24);
|
|
7453
7144
|
|
|
7454
7145
|
var Cover = styled_components_1.default.div.withConfig({
|
|
7455
7146
|
displayName: "withEditModeCover__Cover",
|
|
7456
7147
|
componentId: "sc-1gsbnxb-0"
|
|
7457
7148
|
})(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
|
|
7458
7149
|
var Blocker = styled_components_1.default.div.attrs({
|
|
7459
|
-
'data-splunk-visualization-version': "26.
|
|
7150
|
+
'data-splunk-visualization-version': "26.3.0 - a1ef240a6"
|
|
7460
7151
|
}).withConfig({
|
|
7461
7152
|
displayName: "withEditModeCover__Blocker",
|
|
7462
7153
|
componentId: "sc-1gsbnxb-1"
|
|
@@ -7488,7 +7179,7 @@ exports.default = withEditModeCover;
|
|
|
7488
7179
|
|
|
7489
7180
|
/***/ }),
|
|
7490
7181
|
|
|
7491
|
-
/***/
|
|
7182
|
+
/***/ 64:
|
|
7492
7183
|
/***/ (function(module, exports, __webpack_require__) {
|
|
7493
7184
|
|
|
7494
7185
|
"use strict";
|
|
@@ -7500,15 +7191,15 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7500
7191
|
|
|
7501
7192
|
var React = __webpack_require__(0);
|
|
7502
7193
|
|
|
7503
|
-
var colorUtils_1 = __webpack_require__(
|
|
7194
|
+
var colorUtils_1 = __webpack_require__(16);
|
|
7504
7195
|
|
|
7505
|
-
var variables_1 = __webpack_require__(
|
|
7196
|
+
var variables_1 = __webpack_require__(14);
|
|
7506
7197
|
|
|
7507
7198
|
var IconPlaceholder_1 = __webpack_require__(37);
|
|
7508
7199
|
|
|
7509
|
-
var VizBehavior_1 = __webpack_require__(
|
|
7200
|
+
var VizBehavior_1 = __webpack_require__(8);
|
|
7510
7201
|
|
|
7511
|
-
var hocUtils_1 = __webpack_require__(
|
|
7202
|
+
var hocUtils_1 = __webpack_require__(24);
|
|
7512
7203
|
|
|
7513
7204
|
var withPlaceholder = function withPlaceholder(Visualization) {
|
|
7514
7205
|
var useIconPlaceholder = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : IconPlaceholder_1.shouldShowIconPlaceholder;
|
|
@@ -7553,13 +7244,13 @@ exports.default = withPlaceholder;
|
|
|
7553
7244
|
|
|
7554
7245
|
/***/ }),
|
|
7555
7246
|
|
|
7556
|
-
/***/
|
|
7247
|
+
/***/ 65:
|
|
7557
7248
|
/***/ (function(module, exports, __webpack_require__) {
|
|
7558
7249
|
|
|
7559
7250
|
"use strict";
|
|
7560
7251
|
|
|
7561
7252
|
|
|
7562
|
-
var _slicedToArray = __webpack_require__(
|
|
7253
|
+
var _slicedToArray = __webpack_require__(6);
|
|
7563
7254
|
|
|
7564
7255
|
Object.defineProperty(exports, "__esModule", {
|
|
7565
7256
|
value: true
|
|
@@ -7569,11 +7260,11 @@ var react_1 = __webpack_require__(0);
|
|
|
7569
7260
|
|
|
7570
7261
|
var lodash_1 = __webpack_require__(3);
|
|
7571
7262
|
|
|
7572
|
-
var dataUtils_1 = __webpack_require__(
|
|
7263
|
+
var dataUtils_1 = __webpack_require__(15);
|
|
7573
7264
|
|
|
7574
7265
|
var usePrevious_1 = __webpack_require__(33);
|
|
7575
7266
|
|
|
7576
|
-
var useGetXAndYFields_1 = __webpack_require__(
|
|
7267
|
+
var useGetXAndYFields_1 = __webpack_require__(66);
|
|
7577
7268
|
|
|
7578
7269
|
var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
|
|
7579
7270
|
var dataSources = _ref.dataSources,
|
|
@@ -7643,13 +7334,13 @@ exports.default = useDownsampleDataSources;
|
|
|
7643
7334
|
|
|
7644
7335
|
/***/ }),
|
|
7645
7336
|
|
|
7646
|
-
/***/
|
|
7337
|
+
/***/ 66:
|
|
7647
7338
|
/***/ (function(module, exports, __webpack_require__) {
|
|
7648
7339
|
|
|
7649
7340
|
"use strict";
|
|
7650
7341
|
|
|
7651
7342
|
|
|
7652
|
-
var _toConsumableArray = __webpack_require__(
|
|
7343
|
+
var _toConsumableArray = __webpack_require__(7);
|
|
7653
7344
|
|
|
7654
7345
|
Object.defineProperty(exports, "__esModule", {
|
|
7655
7346
|
value: true
|
|
@@ -7657,7 +7348,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7657
7348
|
|
|
7658
7349
|
var react_1 = __webpack_require__(0);
|
|
7659
7350
|
|
|
7660
|
-
var Options_1 = __webpack_require__(
|
|
7351
|
+
var Options_1 = __webpack_require__(17);
|
|
7661
7352
|
/**
|
|
7662
7353
|
* Hook that evaluates the DSL for subset of a viz's options needed to determine
|
|
7663
7354
|
* its x and y fields as well as the types of all its fields.
|
|
@@ -7758,7 +7449,7 @@ exports.default = useGetXAndYFields;
|
|
|
7758
7449
|
|
|
7759
7450
|
/***/ }),
|
|
7760
7451
|
|
|
7761
|
-
/***/
|
|
7452
|
+
/***/ 67:
|
|
7762
7453
|
/***/ (function(module, exports, __webpack_require__) {
|
|
7763
7454
|
|
|
7764
7455
|
"use strict";
|
|
@@ -7769,7 +7460,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7769
7460
|
});
|
|
7770
7461
|
exports.getFeatureFlag = void 0;
|
|
7771
7462
|
|
|
7772
|
-
var FeatureFlags_1 = __webpack_require__(
|
|
7463
|
+
var FeatureFlags_1 = __webpack_require__(68);
|
|
7773
7464
|
|
|
7774
7465
|
var getFeatureFlag = function getFeatureFlag(context, flagName) {
|
|
7775
7466
|
// look for feature flag in context first
|
|
@@ -7794,56 +7485,56 @@ exports.getFeatureFlag = getFeatureFlag;
|
|
|
7794
7485
|
|
|
7795
7486
|
/***/ }),
|
|
7796
7487
|
|
|
7797
|
-
/***/
|
|
7488
|
+
/***/ 68:
|
|
7798
7489
|
/***/ (function(module, exports) {
|
|
7799
7490
|
|
|
7800
7491
|
module.exports = require("@splunk/visualization-context/FeatureFlags");
|
|
7801
7492
|
|
|
7802
7493
|
/***/ }),
|
|
7803
7494
|
|
|
7804
|
-
/***/
|
|
7495
|
+
/***/ 69:
|
|
7805
7496
|
/***/ (function(module, exports) {
|
|
7806
7497
|
|
|
7807
|
-
module.exports = require("@babel/runtime/helpers/
|
|
7498
|
+
module.exports = require("@babel/runtime/helpers/extends");
|
|
7808
7499
|
|
|
7809
7500
|
/***/ }),
|
|
7810
7501
|
|
|
7811
|
-
/***/
|
|
7502
|
+
/***/ 7:
|
|
7812
7503
|
/***/ (function(module, exports) {
|
|
7813
7504
|
|
|
7814
|
-
module.exports = require("@babel/runtime/helpers/
|
|
7505
|
+
module.exports = require("@babel/runtime/helpers/toConsumableArray");
|
|
7815
7506
|
|
|
7816
7507
|
/***/ }),
|
|
7817
7508
|
|
|
7818
|
-
/***/
|
|
7509
|
+
/***/ 70:
|
|
7819
7510
|
/***/ (function(module, exports) {
|
|
7820
7511
|
|
|
7821
7512
|
module.exports = require("@splunk/visualizations-shared/colorConstants");
|
|
7822
7513
|
|
|
7823
7514
|
/***/ }),
|
|
7824
7515
|
|
|
7825
|
-
/***/
|
|
7516
|
+
/***/ 71:
|
|
7826
7517
|
/***/ (function(module, exports) {
|
|
7827
7518
|
|
|
7828
7519
|
module.exports = require("@splunk/visualization-icons/placeholders");
|
|
7829
7520
|
|
|
7830
7521
|
/***/ }),
|
|
7831
7522
|
|
|
7832
|
-
/***/
|
|
7523
|
+
/***/ 72:
|
|
7833
7524
|
/***/ (function(module, exports) {
|
|
7834
7525
|
|
|
7835
7526
|
module.exports = require("@splunk/visualization-icons");
|
|
7836
7527
|
|
|
7837
7528
|
/***/ }),
|
|
7838
7529
|
|
|
7839
|
-
/***/
|
|
7530
|
+
/***/ 74:
|
|
7840
7531
|
/***/ (function(module, exports) {
|
|
7841
7532
|
|
|
7842
7533
|
module.exports = require("@splunk/visualizations-shared/domUtils");
|
|
7843
7534
|
|
|
7844
7535
|
/***/ }),
|
|
7845
7536
|
|
|
7846
|
-
/***/
|
|
7537
|
+
/***/ 77:
|
|
7847
7538
|
/***/ (function(module, exports) {
|
|
7848
7539
|
|
|
7849
7540
|
module.exports = require("@splunk/themes/useSplunkTheme");
|
|
@@ -7851,13 +7542,6 @@ module.exports = require("@splunk/themes/useSplunkTheme");
|
|
|
7851
7542
|
/***/ }),
|
|
7852
7543
|
|
|
7853
7544
|
/***/ 8:
|
|
7854
|
-
/***/ (function(module, exports) {
|
|
7855
|
-
|
|
7856
|
-
module.exports = require("@babel/runtime/helpers/toConsumableArray");
|
|
7857
|
-
|
|
7858
|
-
/***/ }),
|
|
7859
|
-
|
|
7860
|
-
/***/ 80:
|
|
7861
7545
|
/***/ (function(module, exports, __webpack_require__) {
|
|
7862
7546
|
|
|
7863
7547
|
"use strict";
|
|
@@ -7866,38 +7550,59 @@ module.exports = require("@babel/runtime/helpers/toConsumableArray");
|
|
|
7866
7550
|
Object.defineProperty(exports, "__esModule", {
|
|
7867
7551
|
value: true
|
|
7868
7552
|
});
|
|
7869
|
-
exports.
|
|
7870
|
-
var
|
|
7553
|
+
exports.VizBehavior = void 0;
|
|
7554
|
+
var VizBehavior;
|
|
7555
|
+
|
|
7556
|
+
(function (VizBehavior) {
|
|
7557
|
+
/**
|
|
7558
|
+
* Dynamic Options Behavior.
|
|
7559
|
+
* This allows visualization options to be powered by data
|
|
7560
|
+
*
|
|
7561
|
+
* **Example**
|
|
7562
|
+
*
|
|
7563
|
+
* sparklineValues: ">primary|seriesByIndex(0)"
|
|
7564
|
+
* would configure sparklineValues with an array of data points
|
|
7565
|
+
* coming from the first series in the primary datasource
|
|
7566
|
+
*
|
|
7567
|
+
*/
|
|
7568
|
+
VizBehavior["DYNAMIC_OPTIONS"] = "dynamic-options";
|
|
7569
|
+
VizBehavior["EVENTS"] = "events";
|
|
7570
|
+
VizBehavior["DOWNSAMPLING"] = "downsampling";
|
|
7571
|
+
/**
|
|
7572
|
+
* Placeholder behavior: visualization will display a placeholder rather than fail if any of the `requiredProps` is
|
|
7573
|
+
* missing.
|
|
7574
|
+
* @type {string}
|
|
7575
|
+
*/
|
|
7871
7576
|
|
|
7872
|
-
|
|
7873
|
-
|
|
7874
|
-
|
|
7875
|
-
})(
|
|
7577
|
+
VizBehavior["PLACEHOLDER"] = "placeholder";
|
|
7578
|
+
VizBehavior["PAGE_AND_SORT"] = "page-and-sort";
|
|
7579
|
+
VizBehavior["TRELLIS"] = "trellis";
|
|
7580
|
+
})(VizBehavior = exports.VizBehavior || (exports.VizBehavior = {}));
|
|
7876
7581
|
|
|
7877
7582
|
/***/ }),
|
|
7878
7583
|
|
|
7879
|
-
/***/
|
|
7584
|
+
/***/ 80:
|
|
7880
7585
|
/***/ (function(module, exports) {
|
|
7881
7586
|
|
|
7882
7587
|
module.exports = require("@splunk/themes");
|
|
7883
7588
|
|
|
7884
7589
|
/***/ }),
|
|
7885
7590
|
|
|
7886
|
-
/***/
|
|
7591
|
+
/***/ 81:
|
|
7887
7592
|
/***/ (function(module, exports) {
|
|
7888
7593
|
|
|
7889
7594
|
module.exports = require("@splunk/visualization-color-palettes/editors/PresetPalettes");
|
|
7890
7595
|
|
|
7891
7596
|
/***/ }),
|
|
7892
7597
|
|
|
7893
|
-
/***/
|
|
7598
|
+
/***/ 82:
|
|
7894
7599
|
/***/ (function(module, exports) {
|
|
7895
7600
|
|
|
7896
7601
|
module.exports = require("@splunk/react-ui/Popover");
|
|
7897
7602
|
|
|
7898
7603
|
/***/ }),
|
|
7899
7604
|
|
|
7900
|
-
/***/
|
|
7605
|
+
/***/ 83:
|
|
7901
7606
|
/***/ (function(module, exports) {
|
|
7902
7607
|
|
|
7903
7608
|
module.exports = require("@babel/runtime/helpers/getPrototypeOf");
|
|
@@ -7907,25 +7612,25 @@ module.exports = require("@babel/runtime/helpers/getPrototypeOf");
|
|
|
7907
7612
|
/***/ 9:
|
|
7908
7613
|
/***/ (function(module, exports) {
|
|
7909
7614
|
|
|
7910
|
-
module.exports = require("@babel/runtime/helpers/
|
|
7615
|
+
module.exports = require("@babel/runtime/helpers/classCallCheck");
|
|
7911
7616
|
|
|
7912
7617
|
/***/ }),
|
|
7913
7618
|
|
|
7914
|
-
/***/
|
|
7619
|
+
/***/ 92:
|
|
7915
7620
|
/***/ (function(module, exports) {
|
|
7916
7621
|
|
|
7917
7622
|
module.exports = require("@babel/runtime/helpers/inherits");
|
|
7918
7623
|
|
|
7919
7624
|
/***/ }),
|
|
7920
7625
|
|
|
7921
|
-
/***/
|
|
7626
|
+
/***/ 93:
|
|
7922
7627
|
/***/ (function(module, exports) {
|
|
7923
7628
|
|
|
7924
7629
|
module.exports = require("@babel/runtime/helpers/possibleConstructorReturn");
|
|
7925
7630
|
|
|
7926
7631
|
/***/ }),
|
|
7927
7632
|
|
|
7928
|
-
/***/
|
|
7633
|
+
/***/ 94:
|
|
7929
7634
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7930
7635
|
|
|
7931
7636
|
"use strict";
|