@splunk/visualizations 25.1.0 → 25.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (172) hide show
  1. package/.loki/reference/chrome_docker_PureVisualizations_PureEvents_Background_Color_Red.png +0 -0
  2. package/.loki/reference/chrome_docker_PureVisualizations_PureEvents_Basic.png +0 -0
  3. package/.loki/reference/chrome_docker_PureVisualizations_PureEvents_FieldSummaryTooltip_Actions_Simulated_Instance.png +0 -0
  4. package/.loki/reference/chrome_docker_PureVisualizations_PureEvents_FieldSummaryTooltip_Actions_for_Numeric_Field_Simulated_Instance.png +0 -0
  5. package/.loki/reference/chrome_docker_PureVisualizations_PureEvents_FieldSummaryTooltip_Dark.png +0 -0
  6. package/.loki/reference/chrome_docker_PureVisualizations_PureEvents_FieldSummaryTooltip_Light.png +0 -0
  7. package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_Background_color_cyan.png +0 -0
  8. package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_Unit_specified_Unit_Position_after_default.png +0 -0
  9. package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_Unit_specified_Unit_Position_before.png +0 -0
  10. package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Background_Color_white_Under_Label_and_Unit_specified.png +0 -0
  11. package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Major_Value_is_null.png +0 -0
  12. package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Unit_specified_Unit_Position_after_default.png +0 -0
  13. package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Unit_specified_Unit_Position_before.png +0 -0
  14. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Area_Editor.png +0 -0
  15. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Bar_Editor.png +0 -0
  16. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Bubble_Editor.png +0 -0
  17. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_ChoroplethSvg_Editor.png +0 -0
  18. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Column_Editor.png +0 -0
  19. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Ellipse_Editor.png +0 -0
  20. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Events_Editor.png +0 -0
  21. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_FillerGauge_Editor.png +0 -0
  22. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Image_Editor.png +0 -0
  23. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Line_Editor.png +0 -0
  24. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_LinkGraph_Editor.png +0 -0
  25. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Map_Editor.png +0 -0
  26. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Markdown_Editor.png +0 -0
  27. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_MarkerGauge_Editor.png +0 -0
  28. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Parallel_Coordinates_Editor.png +0 -0
  29. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Pie_Editor.png +0 -0
  30. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Punchcard_Editor.png +0 -0
  31. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Rectangle_Editor.png +0 -0
  32. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Sankey_Editor.png +0 -0
  33. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Scatter_Editor.png +0 -0
  34. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Single_Value_Editor.png +0 -0
  35. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Single_Value_Icon_Editor.png +0 -0
  36. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Single_Value_Radial_Editor.png +0 -0
  37. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Table_Editor.png +0 -0
  38. package/.loki/reference/chrome_docker_Visualizations_Events_Events_Background_Color_Light_Blue.png +0 -0
  39. package/.loki/reference/chrome_docker_Visualizations_Events_Events_Basic_Events.png +0 -0
  40. package/.loki/reference/chrome_docker_Visualizations_Events_Events_Event_Actions.png +0 -0
  41. package/.loki/reference/chrome_docker_Visualizations_Events_Events_Field_Actions.png +0 -0
  42. package/.loki/reference/chrome_docker_Visualizations_Events_Events_Field_Summary.png +0 -0
  43. package/.loki/reference/chrome_docker_Visualizations_Events_Events_Field_Summary_Simulated_Instance.png +0 -0
  44. package/.loki/reference/chrome_docker_Visualizations_Events_Events_Footer_Fields.png +0 -0
  45. package/.loki/reference/chrome_docker_Visualizations_Events_Events_Footer_Fields_with_Highlight.png +0 -0
  46. package/.loki/reference/chrome_docker_Visualizations_Events_Events_Show_Placeholder.png +0 -0
  47. package/.loki/reference/chrome_docker_Visualizations_Events_Events_Width_Height.png +0 -0
  48. package/.loki/reference/chrome_docker_Visualizations_Events_Events_Width_Percentage_50.png +0 -0
  49. package/.loki/reference/chrome_docker_Visualizations_Events_Events_With_Options.png +0 -0
  50. package/.loki/reference/chrome_docker_Visualizations_LinkGraph_LinkGraph_ES.png +0 -0
  51. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Set_Unit_value_after.png +0 -0
  52. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Set_Unit_value_before.png +0 -0
  53. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Set_The_Unit_After.png +0 -0
  54. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Set_The_Unit_Before.png +0 -0
  55. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Set_Unit_Value_After.png +0 -0
  56. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Set_Unit_Value_Before.png +0 -0
  57. package/Area.config.js +14 -14
  58. package/Area.config.js.map +1 -1
  59. package/Area.js +171 -160
  60. package/Area.js.map +1 -1
  61. package/Bar.config.js +14 -14
  62. package/Bar.config.js.map +1 -1
  63. package/Bar.js +171 -160
  64. package/Bar.js.map +1 -1
  65. package/Bubble.config.js +18 -11
  66. package/Bubble.config.js.map +1 -1
  67. package/Bubble.js +173 -155
  68. package/Bubble.js.map +1 -1
  69. package/ChoroplethSvg.config.js +3 -3
  70. package/ChoroplethSvg.config.js.map +1 -1
  71. package/ChoroplethSvg.js +158 -148
  72. package/ChoroplethSvg.js.map +1 -1
  73. package/Column.config.js +14 -14
  74. package/Column.config.js.map +1 -1
  75. package/Column.js +170 -160
  76. package/Column.js.map +1 -1
  77. package/Ellipse.js +125 -115
  78. package/Ellipse.js.map +1 -1
  79. package/Events.config.js +668 -0
  80. package/Events.config.js.map +1 -0
  81. package/Events.js +3116 -0
  82. package/Events.js.map +1 -0
  83. package/FillerGauge.config.js +17 -16
  84. package/FillerGauge.config.js.map +1 -1
  85. package/FillerGauge.js +159 -142
  86. package/FillerGauge.js.map +1 -1
  87. package/Image.config.js +2 -2
  88. package/Image.config.js.map +1 -1
  89. package/Image.js +109 -109
  90. package/Image.js.map +1 -1
  91. package/Line.config.js +17 -16
  92. package/Line.config.js.map +1 -1
  93. package/Line.js +180 -163
  94. package/Line.js.map +1 -1
  95. package/LinkGraph.config.js +12 -5
  96. package/LinkGraph.config.js.map +1 -1
  97. package/LinkGraph.js +24318 -387
  98. package/LinkGraph.js.map +1 -1
  99. package/Map.config.js +27 -26
  100. package/Map.config.js.map +1 -1
  101. package/Map.js +3065 -3126
  102. package/Map.js.map +1 -1
  103. package/Markdown.config.js +6 -6
  104. package/Markdown.config.js.map +1 -1
  105. package/Markdown.js +332 -332
  106. package/Markdown.js.map +1 -1
  107. package/MarkerGauge.config.js +13 -13
  108. package/MarkerGauge.config.js.map +1 -1
  109. package/MarkerGauge.js +1147 -1147
  110. package/MarkerGauge.js.map +1 -1
  111. package/ParallelCoordinates.config.js +11 -11
  112. package/ParallelCoordinates.config.js.map +1 -1
  113. package/ParallelCoordinates.js +588 -695
  114. package/ParallelCoordinates.js.map +1 -1
  115. package/Pie.config.js +13 -13
  116. package/Pie.config.js.map +1 -1
  117. package/Pie.js +1164 -1164
  118. package/Pie.js.map +1 -1
  119. package/Punchcard.config.js +11 -11
  120. package/Punchcard.config.js.map +1 -1
  121. package/Punchcard.js +2628 -2744
  122. package/Punchcard.js.map +1 -1
  123. package/Rectangle.config.js +4 -4
  124. package/Rectangle.config.js.map +1 -1
  125. package/Rectangle.js +704 -704
  126. package/Rectangle.js.map +1 -1
  127. package/Sankey.config.js +15 -15
  128. package/Sankey.config.js.map +1 -1
  129. package/Sankey.js +3124 -3245
  130. package/Sankey.js.map +1 -1
  131. package/Scatter.config.js +21 -13
  132. package/Scatter.config.js.map +1 -1
  133. package/Scatter.js +1395 -1388
  134. package/Scatter.js.map +1 -1
  135. package/SingleValue.config.js +8 -7
  136. package/SingleValue.config.js.map +1 -1
  137. package/SingleValue.js +2136 -2136
  138. package/SingleValue.js.map +1 -1
  139. package/SingleValueBasic.js +28 -28
  140. package/SingleValueBasic.js.map +1 -1
  141. package/SingleValueIcon.config.js +8 -7
  142. package/SingleValueIcon.config.js.map +1 -1
  143. package/SingleValueIcon.js +1249 -1390
  144. package/SingleValueIcon.js.map +1 -1
  145. package/SingleValueRadial.config.js +8 -7
  146. package/SingleValueRadial.config.js.map +1 -1
  147. package/SingleValueRadial.js +1926 -1926
  148. package/SingleValueRadial.js.map +1 -1
  149. package/Table.config.js +4 -4
  150. package/Table.config.js.map +1 -1
  151. package/Table.js +2158 -2155
  152. package/Table.js.map +1 -1
  153. package/common/EventsDoc.js +15 -8
  154. package/common/EventsDoc.js.map +1 -1
  155. package/common/GaugeMajorTicks.js +2 -2
  156. package/common/GaugeValueMarker.js +2 -2
  157. package/common/OptionsDoc.js +9 -8
  158. package/common/OptionsDoc.js.map +1 -1
  159. package/common/ThemesDoc.js +2 -2
  160. package/common/utils/dataUtils.js +136 -0
  161. package/common/utils/dataUtils.js.map +1 -0
  162. package/common/utils/hocUtils.js +2 -2
  163. package/common/utils/hocUtils.js.map +1 -1
  164. package/common/utils/mapUtils.js +11 -10
  165. package/common/utils/mapUtils.js.map +1 -1
  166. package/common/utils/singleValueUtils.js +3 -2
  167. package/common/utils/singleValueUtils.js.map +1 -1
  168. package/common/utils/testHelper.js +8 -8
  169. package/common/utils/testHelper.js.map +1 -1
  170. package/common/withDashboardViz.js +2 -2
  171. package/common/withDashboardViz.js.map +1 -1
  172. package/package.json +14 -12
@@ -87,114 +87,47 @@ module.exports =
87
87
  /******/
88
88
  /******/
89
89
  /******/ // Load entry module and return exports
90
- /******/ return __webpack_require__(__webpack_require__.s = 221);
90
+ /******/ return __webpack_require__(__webpack_require__.s = 404);
91
91
  /******/ })
92
92
  /************************************************************************/
93
- /******/ ([
94
- /* 0 */
95
- /***/ (function(module, exports) {
96
-
97
- module.exports = require("prop-types");
98
-
99
- /***/ }),
100
- /* 1 */
101
- /***/ (function(module, exports) {
102
-
103
- module.exports = require("react");
104
-
105
- /***/ }),
106
- /* 2 */
107
- /***/ (function(module, exports) {
108
-
109
- module.exports = require("@splunk/ui-utils/i18n");
110
-
111
- /***/ }),
112
- /* 3 */
113
- /***/ (function(module, exports) {
93
+ /******/ ({
114
94
 
115
- module.exports = require("lodash");
116
-
117
- /***/ }),
118
- /* 4 */
95
+ /***/ 0:
119
96
  /***/ (function(module, exports) {
120
97
 
121
- module.exports = require("styled-components");
122
-
123
- /***/ }),
124
- /* 5 */
125
- /***/ (function(module, exports, __webpack_require__) {
126
-
127
- "use strict";
128
-
129
-
130
- Object.defineProperty(exports, "__esModule", {
131
- value: true
132
- });
133
- exports.VizBehavior = void 0;
134
- var VizBehavior;
135
-
136
- (function (VizBehavior) {
137
- /**
138
- * Dynamic Options Behavior.
139
- * This allows visualization options to be powered by data
140
- *
141
- * **Example**
142
- *
143
- * sparklineValues: ">primary|seriesByIndex(0)"
144
- * would configure sparklineValues with an array of data points
145
- * coming from the first series in the primary datasource
146
- *
147
- */
148
- VizBehavior["DYNAMIC_OPTIONS"] = "dynamic-options";
149
- VizBehavior["EVENTS"] = "events";
150
- /**
151
- * Placeholder behavior: visualization will display a placeholder rather than fail if any of the `requiredProps` is
152
- * missing.
153
- * @type {string}
154
- */
155
-
156
- VizBehavior["PLACEHOLDER"] = "placeholder";
157
- VizBehavior["PAGE_AND_SORT"] = "page-and-sort";
158
- })(VizBehavior = exports.VizBehavior || (exports.VizBehavior = {}));
98
+ module.exports = require("prop-types");
159
99
 
160
100
  /***/ }),
161
- /* 6 */
162
- /***/ (function(module, exports) {
163
-
164
- module.exports = require("@babel/runtime/helpers/defineProperty");
165
101
 
166
- /***/ }),
167
- /* 7 */
102
+ /***/ 1:
168
103
  /***/ (function(module, exports) {
169
104
 
170
- module.exports = require("@babel/runtime/helpers/toConsumableArray");
105
+ module.exports = require("react");
171
106
 
172
107
  /***/ }),
173
- /* 8 */
174
- /***/ (function(module, exports) {
175
108
 
176
- module.exports = require("@splunk/themes/variables");
177
-
178
- /***/ }),
179
- /* 9 */
109
+ /***/ 10:
180
110
  /***/ (function(module, exports) {
181
111
 
182
112
  module.exports = require("@splunk/visualizations-shared/Message");
183
113
 
184
114
  /***/ }),
185
- /* 10 */
115
+
116
+ /***/ 11:
186
117
  /***/ (function(module, exports) {
187
118
 
188
119
  module.exports = require("@babel/runtime/helpers/classCallCheck");
189
120
 
190
121
  /***/ }),
191
- /* 11 */
122
+
123
+ /***/ 12:
192
124
  /***/ (function(module, exports) {
193
125
 
194
126
  module.exports = require("@splunk/visualizations-shared/colorUtils");
195
127
 
196
128
  /***/ }),
197
- /* 12 */
129
+
130
+ /***/ 13:
198
131
  /***/ (function(module, exports, __webpack_require__) {
199
132
 
200
133
  "use strict";
@@ -208,11 +141,11 @@ var React = __webpack_require__(1);
208
141
 
209
142
  var styled_components_1 = __webpack_require__(4);
210
143
 
211
- var SizeAwareWrapper_1 = __webpack_require__(19);
144
+ var SizeAwareWrapper_1 = __webpack_require__(20);
212
145
 
213
- var style_1 = __webpack_require__(14);
146
+ var style_1 = __webpack_require__(15);
214
147
 
215
- var colorUtils_1 = __webpack_require__(11);
148
+ var colorUtils_1 = __webpack_require__(12);
216
149
 
217
150
  var Item = styled_components_1.default.div.attrs(function (_ref) {
218
151
  var width = _ref.width;
@@ -269,7 +202,7 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
269
202
 
270
203
  return React.createElement(FixSizeItem, {
271
204
  "data-test": "fix-size-item",
272
- "data-splunk-visualization-version": "25.1.0 - 812a9a4d8",
205
+ "data-splunk-visualization-version": "25.2.0 - 4373c5a66",
273
206
  width: width,
274
207
  height: height,
275
208
  backgroundColor: backgroundColor
@@ -290,7 +223,8 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
290
223
  exports.default = withFixedSizeContainer;
291
224
 
292
225
  /***/ }),
293
- /* 13 */
226
+
227
+ /***/ 14:
294
228
  /***/ (function(module, exports, __webpack_require__) {
295
229
 
296
230
  "use strict";
@@ -322,27 +256,37 @@ var extendStaticWrapperProps = function extendStaticWrapperProps(_ref) {
322
256
  exports.extendStaticWrapperProps = extendStaticWrapperProps;
323
257
 
324
258
  /***/ }),
325
- /* 14 */
259
+
260
+ /***/ 145:
261
+ /***/ (function(module, exports) {
262
+
263
+ module.exports = require("@mdhnpm/rgb-hex-converter");
264
+
265
+ /***/ }),
266
+
267
+ /***/ 15:
326
268
  /***/ (function(module, exports) {
327
269
 
328
270
  module.exports = require("@splunk/visualizations-shared/style");
329
271
 
330
272
  /***/ }),
331
- /* 15 */
273
+
274
+ /***/ 16:
332
275
  /***/ (function(module, exports) {
333
276
 
334
277
  module.exports = require("@splunk/visualizations-shared/schemaUtils");
335
278
 
336
279
  /***/ }),
337
- /* 16 */
280
+
281
+ /***/ 17:
338
282
  /***/ (function(module, exports, __webpack_require__) {
339
283
 
340
284
  "use strict";
341
285
 
342
286
 
343
- var _toConsumableArray = __webpack_require__(7);
287
+ var _toConsumableArray = __webpack_require__(8);
344
288
 
345
- var _defineProperty = __webpack_require__(6);
289
+ var _defineProperty = __webpack_require__(7);
346
290
 
347
291
  var __rest = this && this.__rest || function (s, e) {
348
292
  var t = {};
@@ -364,9 +308,9 @@ exports.insertLayout = exports.isDynamicOption = exports.uncollapseEditorConfig
364
308
 
365
309
  var lodash_1 = __webpack_require__(3);
366
310
 
367
- var schemaUtils_1 = __webpack_require__(15);
311
+ var schemaUtils_1 = __webpack_require__(16);
368
312
 
369
- var VizBehavior_1 = __webpack_require__(5);
313
+ var VizBehavior_1 = __webpack_require__(6);
370
314
 
371
315
  var dynamicOptionsDSLType = {
372
316
  type: 'string',
@@ -570,20 +514,36 @@ var insertLayout = function insertLayout(layout, index) {
570
514
  exports.insertLayout = insertLayout;
571
515
 
572
516
  /***/ }),
573
- /* 17 */,
574
- /* 18 */
517
+
518
+ /***/ 19:
575
519
  /***/ (function(module, exports) {
576
520
 
577
521
  module.exports = require("@babel/runtime/helpers/createClass");
578
522
 
579
523
  /***/ }),
580
- /* 19 */
524
+
525
+ /***/ 2:
526
+ /***/ (function(module, exports) {
527
+
528
+ module.exports = require("@splunk/ui-utils/i18n");
529
+
530
+ /***/ }),
531
+
532
+ /***/ 20:
581
533
  /***/ (function(module, exports) {
582
534
 
583
535
  module.exports = require("@splunk/visualizations-shared/SizeAwareWrapper");
584
536
 
585
537
  /***/ }),
586
- /* 20 */
538
+
539
+ /***/ 21:
540
+ /***/ (function(module, exports) {
541
+
542
+ module.exports = require("@splunk/themes/pick");
543
+
544
+ /***/ }),
545
+
546
+ /***/ 22:
587
547
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
588
548
 
589
549
  "use strict";
@@ -618,17 +578,17 @@ __webpack_require__.r(__webpack_exports__);
618
578
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "lighten", function() { return lighten; });
619
579
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "darken", function() { return darken; });
620
580
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "handleValueClickCallback", function() { return handleValueClickCallback; });
621
- /* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6);
581
+ /* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7);
622
582
  /* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__);
623
583
  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3);
624
584
  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_1__);
625
- /* harmony import */ var _splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(26);
585
+ /* harmony import */ var _splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(30);
626
586
  /* harmony import */ var _splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_2__);
627
- /* harmony import */ var _splunk_visualizations_shared_domUtils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(48);
587
+ /* harmony import */ var _splunk_visualizations_shared_domUtils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(49);
628
588
  /* harmony import */ var _splunk_visualizations_shared_domUtils__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_domUtils__WEBPACK_IMPORTED_MODULE_3__);
629
- /* harmony import */ var _splunk_visualizations_shared_propUtils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(23);
589
+ /* harmony import */ var _splunk_visualizations_shared_propUtils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(24);
630
590
  /* harmony import */ var _splunk_visualizations_shared_propUtils__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_propUtils__WEBPACK_IMPORTED_MODULE_4__);
631
- /* harmony import */ var _splunk_visualizations_shared_colorConstants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(43);
591
+ /* harmony import */ var _splunk_visualizations_shared_colorConstants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(45);
632
592
  /* harmony import */ var _splunk_visualizations_shared_colorConstants__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_colorConstants__WEBPACK_IMPORTED_MODULE_5__);
633
593
 
634
594
 
@@ -1591,43 +1551,36 @@ var handleValueClickCallback = function handleValueClickCallback(ev, majorValue,
1591
1551
  };
1592
1552
 
1593
1553
  /***/ }),
1594
- /* 21 */
1595
- /***/ (function(module, exports) {
1596
1554
 
1597
- module.exports = require("@splunk/themes/pick");
1598
-
1599
- /***/ }),
1600
- /* 22 */
1555
+ /***/ 23:
1601
1556
  /***/ (function(module, exports) {
1602
1557
 
1603
1558
  module.exports = require("@splunk/visualization-context/TimezoneContext");
1604
1559
 
1605
1560
  /***/ }),
1606
- /* 23 */
1561
+
1562
+ /***/ 24:
1607
1563
  /***/ (function(module, exports) {
1608
1564
 
1609
1565
  module.exports = require("@splunk/visualizations-shared/propUtils");
1610
1566
 
1611
1567
  /***/ }),
1612
- /* 24 */
1568
+
1569
+ /***/ 25:
1613
1570
  /***/ (function(module, exports) {
1614
1571
 
1615
1572
  module.exports = require("@splunk/visualizations-shared/hocUtils");
1616
1573
 
1617
1574
  /***/ }),
1618
- /* 25 */
1575
+
1576
+ /***/ 26:
1619
1577
  /***/ (function(module, exports) {
1620
1578
 
1621
1579
  module.exports = require("@splunk/visualizations-shared/JSONSchemaUtils");
1622
1580
 
1623
1581
  /***/ }),
1624
- /* 26 */
1625
- /***/ (function(module, exports) {
1626
-
1627
- module.exports = require("@splunk/visualizations-shared/numberUtils");
1628
1582
 
1629
- /***/ }),
1630
- /* 27 */
1583
+ /***/ 27:
1631
1584
  /***/ (function(module, exports, __webpack_require__) {
1632
1585
 
1633
1586
  "use strict";
@@ -1646,9 +1599,9 @@ var lodash_1 = __webpack_require__(3);
1646
1599
 
1647
1600
  var i18n_1 = __webpack_require__(2);
1648
1601
 
1649
- var Message_1 = __webpack_require__(9);
1602
+ var Message_1 = __webpack_require__(10);
1650
1603
 
1651
- var FixedSizeContainer_1 = __webpack_require__(12);
1604
+ var FixedSizeContainer_1 = __webpack_require__(13);
1652
1605
  /**
1653
1606
  * @method shouldShowIconPlaceholder
1654
1607
  * @param {object} dataSources
@@ -1718,13 +1671,14 @@ IconPlaceholder.defaultProps = {
1718
1671
  exports.default = FixedSizeContainer_1.default(IconPlaceholder);
1719
1672
 
1720
1673
  /***/ }),
1721
- /* 28 */
1674
+
1675
+ /***/ 28:
1722
1676
  /***/ (function(module, exports, __webpack_require__) {
1723
1677
 
1724
1678
  "use strict";
1725
1679
 
1726
1680
 
1727
- var _defineProperty = __webpack_require__(6);
1681
+ var _defineProperty = __webpack_require__(7);
1728
1682
 
1729
1683
  Object.defineProperty(exports, "__esModule", {
1730
1684
  value: true
@@ -1735,7 +1689,7 @@ var T = __webpack_require__(0);
1735
1689
 
1736
1690
  var lodash_1 = __webpack_require__(3);
1737
1691
 
1738
- var DataSource_1 = __webpack_require__(38);
1692
+ var DataSource_1 = __webpack_require__(39);
1739
1693
 
1740
1694
  exports.SortParamsPropTypes = T.shape({
1741
1695
  currentSortKey: T.string,
@@ -1788,7 +1742,8 @@ var getSortingParams = function getSortingParams(_ref) {
1788
1742
  exports.getSortingParams = getSortingParams;
1789
1743
 
1790
1744
  /***/ }),
1791
- /* 29 */
1745
+
1746
+ /***/ 29:
1792
1747
  /***/ (function(module, exports, __webpack_require__) {
1793
1748
 
1794
1749
  "use strict";
@@ -1852,7 +1807,22 @@ var getPaginationParams = function getPaginationParams(_ref) {
1852
1807
  exports.getPaginationParams = getPaginationParams;
1853
1808
 
1854
1809
  /***/ }),
1855
- /* 30 */
1810
+
1811
+ /***/ 3:
1812
+ /***/ (function(module, exports) {
1813
+
1814
+ module.exports = require("lodash");
1815
+
1816
+ /***/ }),
1817
+
1818
+ /***/ 30:
1819
+ /***/ (function(module, exports) {
1820
+
1821
+ module.exports = require("@splunk/visualizations-shared/numberUtils");
1822
+
1823
+ /***/ }),
1824
+
1825
+ /***/ 31:
1856
1826
  /***/ (function(module, exports, __webpack_require__) {
1857
1827
 
1858
1828
  "use strict";
@@ -1880,7 +1850,8 @@ var VizCategory;
1880
1850
  })(VizCategory = exports.VizCategory || (exports.VizCategory = {}));
1881
1851
 
1882
1852
  /***/ }),
1883
- /* 31 */
1853
+
1854
+ /***/ 32:
1884
1855
  /***/ (function(module, exports, __webpack_require__) {
1885
1856
 
1886
1857
  "use strict";
@@ -1894,37 +1865,37 @@ var React = __webpack_require__(1);
1894
1865
 
1895
1866
  var lodash_1 = __webpack_require__(3);
1896
1867
 
1897
- var getSettingsFromThemedProps_1 = __webpack_require__(32);
1868
+ var getSettingsFromThemedProps_1 = __webpack_require__(33);
1898
1869
 
1899
- var Options_1 = __webpack_require__(33);
1870
+ var Options_1 = __webpack_require__(34);
1900
1871
 
1901
- var SanitizeProps_1 = __webpack_require__(34);
1872
+ var SanitizeProps_1 = __webpack_require__(35);
1902
1873
 
1903
- var TimezoneContext_1 = __webpack_require__(22);
1874
+ var TimezoneContext_1 = __webpack_require__(23);
1904
1875
 
1905
- var moment_1 = __webpack_require__(35);
1876
+ var moment_1 = __webpack_require__(36);
1906
1877
 
1907
1878
  var styled_components_1 = __webpack_require__(4);
1908
1879
 
1909
- var hocUtils_1 = __webpack_require__(24);
1880
+ var hocUtils_1 = __webpack_require__(25);
1910
1881
 
1911
- var JSONSchemaUtils_1 = __webpack_require__(25);
1882
+ var JSONSchemaUtils_1 = __webpack_require__(26);
1912
1883
 
1913
- var SplunkVisualization_1 = __webpack_require__(36);
1884
+ var SplunkVisualization_1 = __webpack_require__(37);
1914
1885
 
1915
- var VizBehavior_1 = __webpack_require__(5);
1886
+ var VizBehavior_1 = __webpack_require__(6);
1916
1887
 
1917
1888
  var getSorting_1 = __webpack_require__(28);
1918
1889
 
1919
1890
  var getPagination_1 = __webpack_require__(29);
1920
1891
 
1921
- var useDeepMemo_1 = __webpack_require__(39);
1892
+ var useDeepMemo_1 = __webpack_require__(40);
1922
1893
 
1923
- var MissingPropsMessage_1 = __webpack_require__(40);
1894
+ var MissingPropsMessage_1 = __webpack_require__(41);
1924
1895
 
1925
- var withEditModeCover_1 = __webpack_require__(41);
1896
+ var withEditModeCover_1 = __webpack_require__(42);
1926
1897
 
1927
- var withPlaceholder_1 = __webpack_require__(42);
1898
+ var withPlaceholder_1 = __webpack_require__(43);
1928
1899
  /**
1929
1900
  * hoc that wraps a pure react visualization in a Dashboard visualization
1930
1901
  * @param {DashboardVizOpts} opts
@@ -2125,37 +2096,42 @@ var withDashboardViz = function withDashboardViz(opts) {
2125
2096
  exports.default = withDashboardViz;
2126
2097
 
2127
2098
  /***/ }),
2128
- /* 32 */
2099
+
2100
+ /***/ 33:
2129
2101
  /***/ (function(module, exports) {
2130
2102
 
2131
2103
  module.exports = require("@splunk/themes/getSettingsFromThemedProps");
2132
2104
 
2133
2105
  /***/ }),
2134
- /* 33 */
2106
+
2107
+ /***/ 34:
2135
2108
  /***/ (function(module, exports) {
2136
2109
 
2137
2110
  module.exports = require("@splunk/visualization-encoding/Options");
2138
2111
 
2139
2112
  /***/ }),
2140
- /* 34 */
2113
+
2114
+ /***/ 35:
2141
2115
  /***/ (function(module, exports) {
2142
2116
 
2143
2117
  module.exports = require("@splunk/visualizations-shared/SanitizeProps");
2144
2118
 
2145
2119
  /***/ }),
2146
- /* 35 */
2120
+
2121
+ /***/ 36:
2147
2122
  /***/ (function(module, exports) {
2148
2123
 
2149
2124
  module.exports = require("@splunk/moment");
2150
2125
 
2151
2126
  /***/ }),
2152
- /* 36 */
2127
+
2128
+ /***/ 37:
2153
2129
  /***/ (function(module, exports, __webpack_require__) {
2154
2130
 
2155
2131
  "use strict";
2156
2132
 
2157
2133
 
2158
- var _classCallCheck = __webpack_require__(10);
2134
+ var _classCallCheck = __webpack_require__(11);
2159
2135
 
2160
2136
  Object.defineProperty(exports, "__esModule", {
2161
2137
  value: true
@@ -2167,7 +2143,7 @@ var T = __webpack_require__(0);
2167
2143
 
2168
2144
  var lodash_1 = __webpack_require__(3);
2169
2145
 
2170
- var VizActionHandler_1 = __webpack_require__(37); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
2146
+ var VizActionHandler_1 = __webpack_require__(38); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
2171
2147
 
2172
2148
 
2173
2149
  exports.INITIAL_WIDTH = 250;
@@ -2300,15 +2276,16 @@ SplunkVisualization.defaultProps = {
2300
2276
  exports.default = SplunkVisualization;
2301
2277
 
2302
2278
  /***/ }),
2303
- /* 37 */
2279
+
2280
+ /***/ 38:
2304
2281
  /***/ (function(module, exports, __webpack_require__) {
2305
2282
 
2306
2283
  "use strict";
2307
2284
 
2308
2285
 
2309
- var _classCallCheck = __webpack_require__(10);
2286
+ var _classCallCheck = __webpack_require__(11);
2310
2287
 
2311
- var _createClass = __webpack_require__(18);
2288
+ var _createClass = __webpack_require__(19);
2312
2289
 
2313
2290
  Object.defineProperty(exports, "__esModule", {
2314
2291
  value: true
@@ -2337,7 +2314,8 @@ var DefaultVizActionHandler = /*#__PURE__*/function () {
2337
2314
  exports.DefaultVizActionHandler = DefaultVizActionHandler;
2338
2315
 
2339
2316
  /***/ }),
2340
- /* 38 */
2317
+
2318
+ /***/ 39:
2341
2319
  /***/ (function(module, exports, __webpack_require__) {
2342
2320
 
2343
2321
  "use strict";
@@ -2350,7 +2328,15 @@ exports.validSortDirs = void 0;
2350
2328
  exports.validSortDirs = ['asc', 'desc', 'none'];
2351
2329
 
2352
2330
  /***/ }),
2353
- /* 39 */
2331
+
2332
+ /***/ 4:
2333
+ /***/ (function(module, exports) {
2334
+
2335
+ module.exports = require("styled-components");
2336
+
2337
+ /***/ }),
2338
+
2339
+ /***/ 40:
2354
2340
  /***/ (function(module, exports, __webpack_require__) {
2355
2341
 
2356
2342
  "use strict";
@@ -2395,565 +2381,119 @@ var useDeepMemo = function useDeepMemo(fn, dependencies) {
2395
2381
  exports.useDeepMemo = useDeepMemo;
2396
2382
 
2397
2383
  /***/ }),
2398
- /* 40 */
2384
+
2385
+ /***/ 404:
2399
2386
  /***/ (function(module, exports, __webpack_require__) {
2400
2387
 
2401
2388
  "use strict";
2402
2389
 
2403
2390
 
2391
+ var __rest = this && this.__rest || function (s, e) {
2392
+ var t = {};
2393
+
2394
+ for (var p in s) {
2395
+ if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
2396
+ }
2397
+
2398
+ if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
2399
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
2400
+ }
2401
+ return t;
2402
+ };
2403
+
2404
2404
  Object.defineProperty(exports, "__esModule", {
2405
2405
  value: true
2406
2406
  });
2407
- exports.MissingPropsMessage = exports.missingKeys = exports.isMissing = void 0;
2408
-
2409
- var React = __webpack_require__(1);
2410
-
2411
- var T = __webpack_require__(0);
2407
+ exports.themes = exports.computeVizProps = exports.PureParallelCoordinates = exports.config = void 0;
2412
2408
 
2413
- var i18n_1 = __webpack_require__(2);
2409
+ var PureParallelCoordinates_1 = __webpack_require__(405);
2414
2410
 
2415
- var Message_1 = __webpack_require__(9);
2411
+ var withDashboardViz_1 = __webpack_require__(32);
2416
2412
 
2417
- var FixedSizeContainer_1 = __webpack_require__(12);
2418
- /**
2419
- * @method isMissing
2420
- * @param {any} v
2421
- * @returns {boolean} true if the input value === null or undefined
2422
- */
2413
+ var config_1 = __webpack_require__(412);
2423
2414
 
2415
+ var singleValueUtils_1 = __webpack_require__(22);
2424
2416
 
2425
- var isMissing = function isMissing(v) {
2426
- return v === null || v === undefined;
2427
- };
2417
+ exports.config = config_1.default;
2418
+ exports.PureParallelCoordinates = PureParallelCoordinates_1.default;
2428
2419
 
2429
- exports.isMissing = isMissing;
2430
- /**
2431
- * @method misskingKeys
2432
- * @param {string[]} keys
2433
- * @param {object} target
2434
- * @returns {string[]} the keys of missing required props
2435
- */
2420
+ var computeVizProps = function computeVizProps(_a) {
2421
+ var themeFunc = _a.themeFunc,
2422
+ props = __rest(_a, ["themeFunc"]);
2436
2423
 
2437
- var missingKeys = function missingKeys(keys, target) {
2438
- return keys.filter(function (k) {
2439
- return exports.isMissing(target[k]);
2424
+ var defaultThemeColorVariables = ['defaultBackgroundColor', 'axisLineColor', 'axisLineHighlightColor', 'axisLabelColor', 'axisTitleColor', 'filterButtonDisabledColor', 'filterButtonActiveColor', 'filterTextColor', 'truncatedTextColor', 'filterSelectionColor', 'textShadowColor'];
2425
+ var defaultThemeColors = {};
2426
+ defaultThemeColorVariables.forEach(function (variable) {
2427
+ defaultThemeColors[variable] = themeFunc(variable);
2440
2428
  });
2441
- };
2442
2429
 
2443
- exports.missingKeys = missingKeys;
2444
- var propTypes = {
2445
- width: T.oneOfType([T.string, T.number]),
2446
- height: T.oneOfType([T.string, T.number]),
2447
- // eslint-disable-next-line react/no-unused-prop-types
2448
- backgroundColor: T.string,
2449
- missingProps: T.arrayOf(T.string)
2450
- };
2451
- /**
2452
- * @method MissingPropsMessage
2453
- * @param {MissingPropsProps} props
2454
- * @returns {React.ReactElement}
2455
- */
2430
+ if (props.dataSources) {
2431
+ var _props$dataSources$pr = props.dataSources.primary.data,
2432
+ fields = _props$dataSources$pr.fields,
2433
+ columns = _props$dataSources$pr.columns;
2434
+ return Object.assign({
2435
+ fields: fields.map(function (field) {
2436
+ return field.name ? field.name : field;
2437
+ }),
2438
+ columns: columns
2439
+ }, defaultThemeColors);
2440
+ }
2456
2441
 
2457
- var MissingPropsMessage = function MissingPropsMessage(props) {
2458
- var width = props.width,
2459
- height = props.height,
2460
- missingProps = props.missingProps;
2461
- return React.createElement(Message_1.default, {
2462
- "data-test": "message",
2463
- width: width,
2464
- height: height,
2465
- message: i18n_1._("Missing property: ".concat(missingProps.join(', ')))
2466
- });
2442
+ return defaultThemeColors;
2467
2443
  };
2468
2444
 
2469
- exports.MissingPropsMessage = MissingPropsMessage;
2470
- exports.MissingPropsMessage.propTypes = propTypes;
2471
- exports.MissingPropsMessage.defaultProps = {
2472
- width: '100%',
2473
- height: 250
2474
- };
2475
- exports.default = FixedSizeContainer_1.default(exports.MissingPropsMessage);
2445
+ exports.computeVizProps = computeVizProps;
2446
+ var viz = withDashboardViz_1.default({
2447
+ ReactViz: exports.PureParallelCoordinates,
2448
+ vizConfig: config_1.default,
2449
+ computeVizProps: exports.computeVizProps,
2450
+ useIconPlaceholder: function useIconPlaceholder(dataSources, loading) {
2451
+ return singleValueUtils_1.isLoadingOrNoColumns(dataSources, loading);
2452
+ }
2453
+ });
2454
+ exports.themes = config_1.default.themes;
2455
+ exports.default = viz;
2476
2456
 
2477
2457
  /***/ }),
2478
- /* 41 */
2458
+
2459
+ /***/ 405:
2479
2460
  /***/ (function(module, exports, __webpack_require__) {
2480
2461
 
2481
2462
  "use strict";
2482
2463
 
2483
2464
 
2465
+ var _toConsumableArray = __webpack_require__(8);
2466
+
2467
+ var __rest = this && this.__rest || function (s, e) {
2468
+ var t = {};
2469
+
2470
+ for (var p in s) {
2471
+ if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
2472
+ }
2473
+
2474
+ if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
2475
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
2476
+ }
2477
+ return t;
2478
+ };
2479
+
2484
2480
  Object.defineProperty(exports, "__esModule", {
2485
2481
  value: true
2486
2482
  });
2487
2483
 
2488
2484
  var React = __webpack_require__(1);
2489
2485
 
2490
- var styled_components_1 = __webpack_require__(4);
2486
+ var d3_array_1 = __webpack_require__(55);
2491
2487
 
2492
- var hocUtils_1 = __webpack_require__(13);
2493
-
2494
- var Cover = styled_components_1.default.div.withConfig({
2495
- displayName: "withEditModeCover__Cover",
2496
- componentId: "sc-1gsbnxb-0"
2497
- })(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
2498
- var Blocker = styled_components_1.default.div.attrs({
2499
- 'data-splunk-visualization-version': "25.1.0 - 812a9a4d8"
2500
- }).withConfig({
2501
- displayName: "withEditModeCover__Blocker",
2502
- componentId: "sc-1gsbnxb-1"
2503
- })(["position:relative;width:100%;height:100%;"]);
2504
- /**
2505
- * HOC that renders a cover layer in edit mode
2506
- * @method withEditModeCover
2507
- * @param {ExtendedDashViz} Visualization
2508
- * @returns {ExtendedDashViz} Wrapper
2509
- */
2510
-
2511
- var withEditModeCover = function withEditModeCover(Visualization, disableEditModeCover) {
2512
- var Wrapper = function Wrapper(props) {
2513
- var mode = props.mode;
2514
- var showEditCover = mode === 'edit' && !disableEditModeCover;
2515
- return React.createElement(Blocker, null, React.createElement(Visualization, Object.assign({}, props)), showEditCover && React.createElement(Cover, {
2516
- "data-test": "edit-mode-cover"
2517
- }));
2518
- };
2519
-
2520
- hocUtils_1.extendStaticWrapperProps({
2521
- Wrapper: Wrapper,
2522
- Visualization: Visualization
2523
- });
2524
- return Wrapper;
2525
- };
2526
-
2527
- exports.default = withEditModeCover;
2528
-
2529
- /***/ }),
2530
- /* 42 */
2531
- /***/ (function(module, exports, __webpack_require__) {
2532
-
2533
- "use strict";
2534
-
2535
-
2536
- Object.defineProperty(exports, "__esModule", {
2537
- value: true
2538
- });
2539
-
2540
- var React = __webpack_require__(1);
2541
-
2542
- var colorUtils_1 = __webpack_require__(11);
2543
-
2544
- var variables_1 = __webpack_require__(8);
2545
-
2546
- var IconPlaceholder_1 = __webpack_require__(27);
2547
-
2548
- var VizBehavior_1 = __webpack_require__(5);
2549
-
2550
- var hocUtils_1 = __webpack_require__(13);
2551
-
2552
- var withPlaceholder = function withPlaceholder(Visualization) {
2553
- var useIconPlaceholder = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : IconPlaceholder_1.shouldShowIconPlaceholder;
2554
- var config = Visualization.config;
2555
- var themes = config.themes;
2556
-
2557
- var Wrapper = function Wrapper(props) {
2558
- var _a, _b;
2559
-
2560
- var dataSources = props.dataSources,
2561
- loading = props.loading,
2562
- options = props.options,
2563
- height = props.height,
2564
- width = props.width;
2565
- var showPlaceholder = useIconPlaceholder(dataSources, loading, options);
2566
- var bgColorFromTheme = colorUtils_1.isColor(options === null || options === void 0 ? void 0 : options.backgroundColor) ? options === null || options === void 0 ? void 0 : options.backgroundColor : (_a = themes === null || themes === void 0 ? void 0 : themes.defaultBackgroundColor) === null || _a === void 0 ? void 0 : _a.call(themes, props);
2567
- var icon = (_b = config.placeholderIcon) !== null && _b !== void 0 ? _b : config.icon;
2568
- var iconColor = variables_1.default.contentColorActive(props);
2569
-
2570
- if (config.supports.includes(VizBehavior_1.VizBehavior.PLACEHOLDER) && showPlaceholder) {
2571
- return React.createElement(IconPlaceholder_1.default, {
2572
- "data-test": "icon-placeholder",
2573
- icon: icon,
2574
- width: width,
2575
- height: height,
2576
- backgroundColor: bgColorFromTheme,
2577
- iconColor: iconColor
2578
- });
2579
- }
2580
-
2581
- return React.createElement(Visualization, Object.assign({}, props));
2582
- };
2583
-
2584
- hocUtils_1.extendStaticWrapperProps({
2585
- Wrapper: Wrapper,
2586
- Visualization: Visualization
2587
- });
2588
- return Wrapper;
2589
- };
2590
-
2591
- exports.default = withPlaceholder;
2592
-
2593
- /***/ }),
2594
- /* 43 */
2595
- /***/ (function(module, exports) {
2596
-
2597
- module.exports = require("@splunk/visualizations-shared/colorConstants");
2598
-
2599
- /***/ }),
2600
- /* 44 */
2601
- /***/ (function(module, exports) {
2602
-
2603
- module.exports = require("@splunk/visualization-color-palettes");
2604
-
2605
- /***/ }),
2606
- /* 45 */
2607
- /***/ (function(module, exports) {
2608
-
2609
- module.exports = require("@splunk/visualization-icons/placeholders");
2610
-
2611
- /***/ }),
2612
- /* 46 */
2613
- /***/ (function(module, exports) {
2614
-
2615
- module.exports = require("@splunk/visualization-icons");
2616
-
2617
- /***/ }),
2618
- /* 47 */,
2619
- /* 48 */
2620
- /***/ (function(module, exports) {
2621
-
2622
- module.exports = require("@splunk/visualizations-shared/domUtils");
2623
-
2624
- /***/ }),
2625
- /* 49 */
2626
- /***/ (function(module, exports, __webpack_require__) {
2627
-
2628
- "use strict";
2629
-
2630
-
2631
- Object.defineProperty(exports, "__esModule", {
2632
- value: true
2633
- });
2634
-
2635
- var i18n_1 = __webpack_require__(2);
2636
-
2637
- var background = function background(_ref) {
2638
- var label = _ref.label,
2639
- themes = _ref.themes,
2640
- labelPosition = _ref.labelPosition;
2641
- return [{
2642
- label: i18n_1._(label || 'Background'),
2643
- option: 'backgroundColor',
2644
- editor: 'editor.color',
2645
- editorProps: {
2646
- labelPosition: labelPosition || 'top',
2647
- themes: themes
2648
- }
2649
- }];
2650
- };
2651
-
2652
- exports.default = background;
2653
-
2654
- /***/ }),
2655
- /* 50 */,
2656
- /* 51 */,
2657
- /* 52 */
2658
- /***/ (function(module, exports) {
2659
-
2660
- module.exports = require("@babel/runtime/helpers/slicedToArray");
2661
-
2662
- /***/ }),
2663
- /* 53 */,
2664
- /* 54 */
2665
- /***/ (function(module, exports) {
2666
-
2667
- module.exports = require("d3-array");
2668
-
2669
- /***/ }),
2670
- /* 55 */,
2671
- /* 56 */,
2672
- /* 57 */,
2673
- /* 58 */,
2674
- /* 59 */,
2675
- /* 60 */,
2676
- /* 61 */,
2677
- /* 62 */,
2678
- /* 63 */,
2679
- /* 64 */,
2680
- /* 65 */,
2681
- /* 66 */,
2682
- /* 67 */,
2683
- /* 68 */,
2684
- /* 69 */,
2685
- /* 70 */,
2686
- /* 71 */,
2687
- /* 72 */,
2688
- /* 73 */,
2689
- /* 74 */,
2690
- /* 75 */,
2691
- /* 76 */,
2692
- /* 77 */,
2693
- /* 78 */
2694
- /***/ (function(module, exports) {
2695
-
2696
- module.exports = require("d3-scale");
2697
-
2698
- /***/ }),
2699
- /* 79 */,
2700
- /* 80 */,
2701
- /* 81 */,
2702
- /* 82 */,
2703
- /* 83 */,
2704
- /* 84 */,
2705
- /* 85 */,
2706
- /* 86 */,
2707
- /* 87 */,
2708
- /* 88 */,
2709
- /* 89 */,
2710
- /* 90 */,
2711
- /* 91 */,
2712
- /* 92 */,
2713
- /* 93 */,
2714
- /* 94 */,
2715
- /* 95 */,
2716
- /* 96 */,
2717
- /* 97 */,
2718
- /* 98 */,
2719
- /* 99 */,
2720
- /* 100 */,
2721
- /* 101 */,
2722
- /* 102 */,
2723
- /* 103 */,
2724
- /* 104 */,
2725
- /* 105 */,
2726
- /* 106 */,
2727
- /* 107 */,
2728
- /* 108 */,
2729
- /* 109 */,
2730
- /* 110 */,
2731
- /* 111 */,
2732
- /* 112 */,
2733
- /* 113 */,
2734
- /* 114 */,
2735
- /* 115 */,
2736
- /* 116 */,
2737
- /* 117 */,
2738
- /* 118 */,
2739
- /* 119 */,
2740
- /* 120 */,
2741
- /* 121 */,
2742
- /* 122 */,
2743
- /* 123 */,
2744
- /* 124 */,
2745
- /* 125 */,
2746
- /* 126 */,
2747
- /* 127 */,
2748
- /* 128 */,
2749
- /* 129 */,
2750
- /* 130 */,
2751
- /* 131 */,
2752
- /* 132 */,
2753
- /* 133 */,
2754
- /* 134 */,
2755
- /* 135 */
2756
- /***/ (function(module, exports) {
2757
-
2758
- module.exports = require("@mdhnpm/rgb-hex-converter");
2759
-
2760
- /***/ }),
2761
- /* 136 */,
2762
- /* 137 */,
2763
- /* 138 */,
2764
- /* 139 */,
2765
- /* 140 */,
2766
- /* 141 */,
2767
- /* 142 */,
2768
- /* 143 */,
2769
- /* 144 */,
2770
- /* 145 */,
2771
- /* 146 */,
2772
- /* 147 */,
2773
- /* 148 */,
2774
- /* 149 */,
2775
- /* 150 */,
2776
- /* 151 */,
2777
- /* 152 */,
2778
- /* 153 */,
2779
- /* 154 */,
2780
- /* 155 */,
2781
- /* 156 */,
2782
- /* 157 */,
2783
- /* 158 */,
2784
- /* 159 */,
2785
- /* 160 */,
2786
- /* 161 */,
2787
- /* 162 */,
2788
- /* 163 */,
2789
- /* 164 */,
2790
- /* 165 */,
2791
- /* 166 */,
2792
- /* 167 */,
2793
- /* 168 */,
2794
- /* 169 */,
2795
- /* 170 */,
2796
- /* 171 */,
2797
- /* 172 */,
2798
- /* 173 */,
2799
- /* 174 */,
2800
- /* 175 */,
2801
- /* 176 */,
2802
- /* 177 */,
2803
- /* 178 */,
2804
- /* 179 */,
2805
- /* 180 */,
2806
- /* 181 */,
2807
- /* 182 */,
2808
- /* 183 */,
2809
- /* 184 */,
2810
- /* 185 */,
2811
- /* 186 */,
2812
- /* 187 */,
2813
- /* 188 */,
2814
- /* 189 */,
2815
- /* 190 */,
2816
- /* 191 */,
2817
- /* 192 */,
2818
- /* 193 */,
2819
- /* 194 */,
2820
- /* 195 */,
2821
- /* 196 */,
2822
- /* 197 */,
2823
- /* 198 */,
2824
- /* 199 */,
2825
- /* 200 */,
2826
- /* 201 */,
2827
- /* 202 */,
2828
- /* 203 */,
2829
- /* 204 */,
2830
- /* 205 */,
2831
- /* 206 */,
2832
- /* 207 */,
2833
- /* 208 */,
2834
- /* 209 */,
2835
- /* 210 */,
2836
- /* 211 */,
2837
- /* 212 */,
2838
- /* 213 */,
2839
- /* 214 */,
2840
- /* 215 */,
2841
- /* 216 */,
2842
- /* 217 */,
2843
- /* 218 */,
2844
- /* 219 */,
2845
- /* 220 */,
2846
- /* 221 */
2847
- /***/ (function(module, exports, __webpack_require__) {
2848
-
2849
- "use strict";
2850
-
2851
-
2852
- var __rest = this && this.__rest || function (s, e) {
2853
- var t = {};
2854
-
2855
- for (var p in s) {
2856
- if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
2857
- }
2858
-
2859
- if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
2860
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
2861
- }
2862
- return t;
2863
- };
2864
-
2865
- Object.defineProperty(exports, "__esModule", {
2866
- value: true
2867
- });
2868
- exports.themes = exports.computeVizProps = exports.PureParallelCoordinates = exports.config = void 0;
2869
-
2870
- var PureParallelCoordinates_1 = __webpack_require__(222);
2871
-
2872
- var withDashboardViz_1 = __webpack_require__(31);
2873
-
2874
- var config_1 = __webpack_require__(229);
2875
-
2876
- var singleValueUtils_1 = __webpack_require__(20);
2877
-
2878
- exports.config = config_1.default;
2879
- exports.PureParallelCoordinates = PureParallelCoordinates_1.default;
2880
-
2881
- var computeVizProps = function computeVizProps(_a) {
2882
- var themeFunc = _a.themeFunc,
2883
- props = __rest(_a, ["themeFunc"]);
2884
-
2885
- var defaultThemeColorVariables = ['defaultBackgroundColor', 'axisLineColor', 'axisLineHighlightColor', 'axisLabelColor', 'axisTitleColor', 'filterButtonDisabledColor', 'filterButtonActiveColor', 'filterTextColor', 'truncatedTextColor', 'filterSelectionColor', 'textShadowColor'];
2886
- var defaultThemeColors = {};
2887
- defaultThemeColorVariables.forEach(function (variable) {
2888
- defaultThemeColors[variable] = themeFunc(variable);
2889
- });
2890
-
2891
- if (props.dataSources) {
2892
- var _props$dataSources$pr = props.dataSources.primary.data,
2893
- fields = _props$dataSources$pr.fields,
2894
- columns = _props$dataSources$pr.columns;
2895
- return Object.assign({
2896
- fields: fields.map(function (field) {
2897
- return field.name ? field.name : field;
2898
- }),
2899
- columns: columns
2900
- }, defaultThemeColors);
2901
- }
2902
-
2903
- return defaultThemeColors;
2904
- };
2905
-
2906
- exports.computeVizProps = computeVizProps;
2907
- var viz = withDashboardViz_1.default({
2908
- ReactViz: exports.PureParallelCoordinates,
2909
- vizConfig: config_1.default,
2910
- computeVizProps: exports.computeVizProps,
2911
- useIconPlaceholder: function useIconPlaceholder(dataSources, loading) {
2912
- return singleValueUtils_1.isLoadingOrNoColumns(dataSources, loading);
2913
- }
2914
- });
2915
- exports.themes = config_1.default.themes;
2916
- exports.default = viz;
2917
-
2918
- /***/ }),
2919
- /* 222 */
2920
- /***/ (function(module, exports, __webpack_require__) {
2921
-
2922
- "use strict";
2923
-
2924
-
2925
- var _toConsumableArray = __webpack_require__(7);
2926
-
2927
- var __rest = this && this.__rest || function (s, e) {
2928
- var t = {};
2929
-
2930
- for (var p in s) {
2931
- if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
2932
- }
2933
-
2934
- if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
2935
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
2936
- }
2937
- return t;
2938
- };
2939
-
2940
- Object.defineProperty(exports, "__esModule", {
2941
- value: true
2942
- });
2943
-
2944
- var React = __webpack_require__(1);
2945
-
2946
- var d3_array_1 = __webpack_require__(54);
2947
-
2948
- var d3_scale_1 = __webpack_require__(78);
2488
+ var d3_scale_1 = __webpack_require__(79);
2949
2489
 
2950
2490
  var T = __webpack_require__(0);
2951
2491
 
2952
2492
  var i18n_1 = __webpack_require__(2);
2953
2493
 
2954
- var Message_1 = __webpack_require__(9);
2494
+ var Message_1 = __webpack_require__(10);
2955
2495
 
2956
- var ParallelCoordinatesChart_1 = __webpack_require__(223);
2496
+ var ParallelCoordinatesChart_1 = __webpack_require__(406);
2957
2497
 
2958
2498
  var PureParallelCoordinates = function PureParallelCoordinates(_a) {
2959
2499
  var props = __rest(_a, []);
@@ -3145,15 +2685,16 @@ PureParallelCoordinates.defaultProps = {
3145
2685
  exports.default = PureParallelCoordinates;
3146
2686
 
3147
2687
  /***/ }),
3148
- /* 223 */
2688
+
2689
+ /***/ 406:
3149
2690
  /***/ (function(module, exports, __webpack_require__) {
3150
2691
 
3151
2692
  "use strict";
3152
2693
 
3153
2694
 
3154
- var _toConsumableArray = __webpack_require__(7);
2695
+ var _toConsumableArray = __webpack_require__(8);
3155
2696
 
3156
- var _slicedToArray = __webpack_require__(52);
2697
+ var _slicedToArray = __webpack_require__(51);
3157
2698
 
3158
2699
  var __rest = this && this.__rest || function (s, e) {
3159
2700
  var t = {};
@@ -3176,17 +2717,17 @@ var React = __webpack_require__(1);
3176
2717
 
3177
2718
  var styled_components_1 = __webpack_require__(4);
3178
2719
 
3179
- var d3_selection_1 = __webpack_require__(224);
2720
+ var d3_selection_1 = __webpack_require__(407);
3180
2721
 
3181
- var d3_brush_1 = __webpack_require__(225);
2722
+ var d3_brush_1 = __webpack_require__(408);
3182
2723
 
3183
- var d3_axis_1 = __webpack_require__(226);
2724
+ var d3_axis_1 = __webpack_require__(409);
3184
2725
 
3185
- var d3_drag_1 = __webpack_require__(227);
2726
+ var d3_drag_1 = __webpack_require__(410);
3186
2727
 
3187
- var rgb_hex_converter_1 = __webpack_require__(135);
2728
+ var rgb_hex_converter_1 = __webpack_require__(145);
3188
2729
 
3189
- var ParallelCoordinatesCanvas_1 = __webpack_require__(228);
2730
+ var ParallelCoordinatesCanvas_1 = __webpack_require__(411);
3190
2731
 
3191
2732
  var ChartDiv = styled_components_1.default.div.withConfig({
3192
2733
  displayName: "ParallelCoordinatesChart__ChartDiv",
@@ -3513,31 +3054,117 @@ var ParallelCoordinatesChart = function ParallelCoordinatesChart(_a) {
3513
3054
  exports.default = ParallelCoordinatesChart;
3514
3055
 
3515
3056
  /***/ }),
3516
- /* 224 */
3057
+
3058
+ /***/ 407:
3517
3059
  /***/ (function(module, exports) {
3518
3060
 
3519
3061
  module.exports = require("d3-selection");
3520
3062
 
3521
3063
  /***/ }),
3522
- /* 225 */
3064
+
3065
+ /***/ 408:
3523
3066
  /***/ (function(module, exports) {
3524
3067
 
3525
3068
  module.exports = require("d3-brush");
3526
3069
 
3527
3070
  /***/ }),
3528
- /* 226 */
3071
+
3072
+ /***/ 409:
3529
3073
  /***/ (function(module, exports) {
3530
3074
 
3531
- module.exports = require("d3-axis");
3075
+ module.exports = require("d3-axis");
3076
+
3077
+ /***/ }),
3078
+
3079
+ /***/ 41:
3080
+ /***/ (function(module, exports, __webpack_require__) {
3081
+
3082
+ "use strict";
3083
+
3084
+
3085
+ Object.defineProperty(exports, "__esModule", {
3086
+ value: true
3087
+ });
3088
+ exports.MissingPropsMessage = exports.missingKeys = exports.isMissing = void 0;
3089
+
3090
+ var React = __webpack_require__(1);
3091
+
3092
+ var T = __webpack_require__(0);
3093
+
3094
+ var i18n_1 = __webpack_require__(2);
3095
+
3096
+ var Message_1 = __webpack_require__(10);
3097
+
3098
+ var FixedSizeContainer_1 = __webpack_require__(13);
3099
+ /**
3100
+ * @method isMissing
3101
+ * @param {any} v
3102
+ * @returns {boolean} true if the input value === null or undefined
3103
+ */
3104
+
3105
+
3106
+ var isMissing = function isMissing(v) {
3107
+ return v === null || v === undefined;
3108
+ };
3109
+
3110
+ exports.isMissing = isMissing;
3111
+ /**
3112
+ * @method misskingKeys
3113
+ * @param {string[]} keys
3114
+ * @param {object} target
3115
+ * @returns {string[]} the keys of missing required props
3116
+ */
3117
+
3118
+ var missingKeys = function missingKeys(keys, target) {
3119
+ return keys.filter(function (k) {
3120
+ return exports.isMissing(target[k]);
3121
+ });
3122
+ };
3123
+
3124
+ exports.missingKeys = missingKeys;
3125
+ var propTypes = {
3126
+ width: T.oneOfType([T.string, T.number]),
3127
+ height: T.oneOfType([T.string, T.number]),
3128
+ // eslint-disable-next-line react/no-unused-prop-types
3129
+ backgroundColor: T.string,
3130
+ missingProps: T.arrayOf(T.string)
3131
+ };
3132
+ /**
3133
+ * @method MissingPropsMessage
3134
+ * @param {MissingPropsProps} props
3135
+ * @returns {React.ReactElement}
3136
+ */
3137
+
3138
+ var MissingPropsMessage = function MissingPropsMessage(props) {
3139
+ var width = props.width,
3140
+ height = props.height,
3141
+ missingProps = props.missingProps;
3142
+ return React.createElement(Message_1.default, {
3143
+ "data-test": "message",
3144
+ width: width,
3145
+ height: height,
3146
+ message: i18n_1._("Missing property: ".concat(missingProps.join(', ')))
3147
+ });
3148
+ };
3149
+
3150
+ exports.MissingPropsMessage = MissingPropsMessage;
3151
+ exports.MissingPropsMessage.propTypes = propTypes;
3152
+ exports.MissingPropsMessage.defaultProps = {
3153
+ width: '100%',
3154
+ height: 250
3155
+ };
3156
+ exports.default = FixedSizeContainer_1.default(exports.MissingPropsMessage);
3532
3157
 
3533
3158
  /***/ }),
3534
- /* 227 */
3159
+
3160
+ /***/ 410:
3535
3161
  /***/ (function(module, exports) {
3536
3162
 
3537
3163
  module.exports = require("d3-drag");
3538
3164
 
3539
3165
  /***/ }),
3540
- /* 228 */
3166
+
3167
+ /***/ 411:
3541
3168
  /***/ (function(module, exports, __webpack_require__) {
3542
3169
 
3543
3170
  "use strict";
@@ -3562,7 +3189,7 @@ Object.defineProperty(exports, "__esModule", {
3562
3189
 
3563
3190
  var React = __webpack_require__(1);
3564
3191
 
3565
- var rgb_hex_converter_1 = __webpack_require__(135);
3192
+ var rgb_hex_converter_1 = __webpack_require__(145);
3566
3193
 
3567
3194
  var ParallelCoordinatesCanvas = function ParallelCoordinatesCanvas(_a) {
3568
3195
  var props = __rest(_a, []);
@@ -3697,7 +3324,8 @@ var ParallelCoordinatesCanvas = function ParallelCoordinatesCanvas(_a) {
3697
3324
  exports.default = ParallelCoordinatesCanvas;
3698
3325
 
3699
3326
  /***/ }),
3700
- /* 229 */
3327
+
3328
+ /***/ 412:
3701
3329
  /***/ (function(module, exports, __webpack_require__) {
3702
3330
 
3703
3331
  "use strict";
@@ -3709,25 +3337,25 @@ Object.defineProperty(exports, "__esModule", {
3709
3337
 
3710
3338
  var i18n_1 = __webpack_require__(2);
3711
3339
 
3712
- var schemaUtils_1 = __webpack_require__(15);
3340
+ var schemaUtils_1 = __webpack_require__(16);
3713
3341
 
3714
3342
  var pick_1 = __webpack_require__(21);
3715
3343
 
3716
- var variables_1 = __webpack_require__(8);
3344
+ var variables_1 = __webpack_require__(9);
3717
3345
 
3718
- var visualization_color_palettes_1 = __webpack_require__(44);
3346
+ var visualization_color_palettes_1 = __webpack_require__(46);
3719
3347
 
3720
- var visualization_icons_1 = __webpack_require__(46);
3348
+ var visualization_icons_1 = __webpack_require__(47);
3721
3349
 
3722
- var placeholders_1 = __webpack_require__(45);
3350
+ var placeholders_1 = __webpack_require__(44);
3723
3351
 
3724
- var VizBehavior_1 = __webpack_require__(5);
3352
+ var VizBehavior_1 = __webpack_require__(6);
3725
3353
 
3726
- var configUtils_1 = __webpack_require__(16);
3354
+ var configUtils_1 = __webpack_require__(17);
3727
3355
 
3728
- var VizCategory_1 = __webpack_require__(30);
3356
+ var VizCategory_1 = __webpack_require__(31);
3729
3357
 
3730
- var BackgroundColor_1 = __webpack_require__(49);
3358
+ var BackgroundColor_1 = __webpack_require__(50);
3731
3359
 
3732
3360
  var dataContract = {
3733
3361
  requiredDataSources: [{
@@ -3931,6 +3559,271 @@ var config = {
3931
3559
  };
3932
3560
  exports.default = configUtils_1.enhanceConfig(config);
3933
3561
 
3562
+ /***/ }),
3563
+
3564
+ /***/ 42:
3565
+ /***/ (function(module, exports, __webpack_require__) {
3566
+
3567
+ "use strict";
3568
+
3569
+
3570
+ Object.defineProperty(exports, "__esModule", {
3571
+ value: true
3572
+ });
3573
+
3574
+ var React = __webpack_require__(1);
3575
+
3576
+ var styled_components_1 = __webpack_require__(4);
3577
+
3578
+ var hocUtils_1 = __webpack_require__(14);
3579
+
3580
+ var Cover = styled_components_1.default.div.withConfig({
3581
+ displayName: "withEditModeCover__Cover",
3582
+ componentId: "sc-1gsbnxb-0"
3583
+ })(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
3584
+ var Blocker = styled_components_1.default.div.attrs({
3585
+ 'data-splunk-visualization-version': "25.2.0 - 4373c5a66"
3586
+ }).withConfig({
3587
+ displayName: "withEditModeCover__Blocker",
3588
+ componentId: "sc-1gsbnxb-1"
3589
+ })(["position:relative;width:100%;height:100%;"]);
3590
+ /**
3591
+ * HOC that renders a cover layer in edit mode
3592
+ * @method withEditModeCover
3593
+ * @param {ExtendedDashViz} Visualization
3594
+ * @returns {ExtendedDashViz} Wrapper
3595
+ */
3596
+
3597
+ var withEditModeCover = function withEditModeCover(Visualization, disableEditModeCover) {
3598
+ var Wrapper = function Wrapper(props) {
3599
+ var mode = props.mode;
3600
+ var showEditCover = mode === 'edit' && !disableEditModeCover;
3601
+ return React.createElement(Blocker, null, React.createElement(Visualization, Object.assign({}, props)), showEditCover && React.createElement(Cover, {
3602
+ "data-test": "edit-mode-cover"
3603
+ }));
3604
+ };
3605
+
3606
+ hocUtils_1.extendStaticWrapperProps({
3607
+ Wrapper: Wrapper,
3608
+ Visualization: Visualization
3609
+ });
3610
+ return Wrapper;
3611
+ };
3612
+
3613
+ exports.default = withEditModeCover;
3614
+
3615
+ /***/ }),
3616
+
3617
+ /***/ 43:
3618
+ /***/ (function(module, exports, __webpack_require__) {
3619
+
3620
+ "use strict";
3621
+
3622
+
3623
+ Object.defineProperty(exports, "__esModule", {
3624
+ value: true
3625
+ });
3626
+
3627
+ var React = __webpack_require__(1);
3628
+
3629
+ var colorUtils_1 = __webpack_require__(12);
3630
+
3631
+ var variables_1 = __webpack_require__(9);
3632
+
3633
+ var IconPlaceholder_1 = __webpack_require__(27);
3634
+
3635
+ var VizBehavior_1 = __webpack_require__(6);
3636
+
3637
+ var hocUtils_1 = __webpack_require__(14);
3638
+
3639
+ var withPlaceholder = function withPlaceholder(Visualization) {
3640
+ var useIconPlaceholder = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : IconPlaceholder_1.shouldShowIconPlaceholder;
3641
+ var config = Visualization.config;
3642
+ var themes = config.themes;
3643
+
3644
+ var Wrapper = function Wrapper(props) {
3645
+ var _a, _b;
3646
+
3647
+ var dataSources = props.dataSources,
3648
+ loading = props.loading,
3649
+ options = props.options,
3650
+ height = props.height,
3651
+ width = props.width;
3652
+ var showPlaceholder = useIconPlaceholder(dataSources, loading, options);
3653
+ var bgColorFromTheme = colorUtils_1.isColor(options === null || options === void 0 ? void 0 : options.backgroundColor) ? options === null || options === void 0 ? void 0 : options.backgroundColor : (_a = themes === null || themes === void 0 ? void 0 : themes.defaultBackgroundColor) === null || _a === void 0 ? void 0 : _a.call(themes, props);
3654
+ var icon = (_b = config.placeholderIcon) !== null && _b !== void 0 ? _b : config.icon;
3655
+ var iconColor = variables_1.default.contentColorActive(props);
3656
+
3657
+ if (config.supports.includes(VizBehavior_1.VizBehavior.PLACEHOLDER) && showPlaceholder) {
3658
+ return React.createElement(IconPlaceholder_1.default, {
3659
+ "data-test": "icon-placeholder",
3660
+ icon: icon,
3661
+ width: width,
3662
+ height: height,
3663
+ backgroundColor: bgColorFromTheme,
3664
+ iconColor: iconColor
3665
+ });
3666
+ }
3667
+
3668
+ return React.createElement(Visualization, Object.assign({}, props));
3669
+ };
3670
+
3671
+ hocUtils_1.extendStaticWrapperProps({
3672
+ Wrapper: Wrapper,
3673
+ Visualization: Visualization
3674
+ });
3675
+ return Wrapper;
3676
+ };
3677
+
3678
+ exports.default = withPlaceholder;
3679
+
3680
+ /***/ }),
3681
+
3682
+ /***/ 44:
3683
+ /***/ (function(module, exports) {
3684
+
3685
+ module.exports = require("@splunk/visualization-icons/placeholders");
3686
+
3687
+ /***/ }),
3688
+
3689
+ /***/ 45:
3690
+ /***/ (function(module, exports) {
3691
+
3692
+ module.exports = require("@splunk/visualizations-shared/colorConstants");
3693
+
3694
+ /***/ }),
3695
+
3696
+ /***/ 46:
3697
+ /***/ (function(module, exports) {
3698
+
3699
+ module.exports = require("@splunk/visualization-color-palettes");
3700
+
3701
+ /***/ }),
3702
+
3703
+ /***/ 47:
3704
+ /***/ (function(module, exports) {
3705
+
3706
+ module.exports = require("@splunk/visualization-icons");
3707
+
3708
+ /***/ }),
3709
+
3710
+ /***/ 49:
3711
+ /***/ (function(module, exports) {
3712
+
3713
+ module.exports = require("@splunk/visualizations-shared/domUtils");
3714
+
3715
+ /***/ }),
3716
+
3717
+ /***/ 50:
3718
+ /***/ (function(module, exports, __webpack_require__) {
3719
+
3720
+ "use strict";
3721
+
3722
+
3723
+ Object.defineProperty(exports, "__esModule", {
3724
+ value: true
3725
+ });
3726
+
3727
+ var i18n_1 = __webpack_require__(2);
3728
+
3729
+ var background = function background(_ref) {
3730
+ var label = _ref.label,
3731
+ themes = _ref.themes,
3732
+ labelPosition = _ref.labelPosition;
3733
+ return [{
3734
+ label: i18n_1._(label || 'Background'),
3735
+ option: 'backgroundColor',
3736
+ editor: 'editor.color',
3737
+ editorProps: {
3738
+ labelPosition: labelPosition || 'top',
3739
+ themes: themes
3740
+ }
3741
+ }];
3742
+ };
3743
+
3744
+ exports.default = background;
3745
+
3746
+ /***/ }),
3747
+
3748
+ /***/ 51:
3749
+ /***/ (function(module, exports) {
3750
+
3751
+ module.exports = require("@babel/runtime/helpers/slicedToArray");
3752
+
3753
+ /***/ }),
3754
+
3755
+ /***/ 55:
3756
+ /***/ (function(module, exports) {
3757
+
3758
+ module.exports = require("d3-array");
3759
+
3760
+ /***/ }),
3761
+
3762
+ /***/ 6:
3763
+ /***/ (function(module, exports, __webpack_require__) {
3764
+
3765
+ "use strict";
3766
+
3767
+
3768
+ Object.defineProperty(exports, "__esModule", {
3769
+ value: true
3770
+ });
3771
+ exports.VizBehavior = void 0;
3772
+ var VizBehavior;
3773
+
3774
+ (function (VizBehavior) {
3775
+ /**
3776
+ * Dynamic Options Behavior.
3777
+ * This allows visualization options to be powered by data
3778
+ *
3779
+ * **Example**
3780
+ *
3781
+ * sparklineValues: ">primary|seriesByIndex(0)"
3782
+ * would configure sparklineValues with an array of data points
3783
+ * coming from the first series in the primary datasource
3784
+ *
3785
+ */
3786
+ VizBehavior["DYNAMIC_OPTIONS"] = "dynamic-options";
3787
+ VizBehavior["EVENTS"] = "events";
3788
+ /**
3789
+ * Placeholder behavior: visualization will display a placeholder rather than fail if any of the `requiredProps` is
3790
+ * missing.
3791
+ * @type {string}
3792
+ */
3793
+
3794
+ VizBehavior["PLACEHOLDER"] = "placeholder";
3795
+ VizBehavior["PAGE_AND_SORT"] = "page-and-sort";
3796
+ })(VizBehavior = exports.VizBehavior || (exports.VizBehavior = {}));
3797
+
3798
+ /***/ }),
3799
+
3800
+ /***/ 7:
3801
+ /***/ (function(module, exports) {
3802
+
3803
+ module.exports = require("@babel/runtime/helpers/defineProperty");
3804
+
3805
+ /***/ }),
3806
+
3807
+ /***/ 79:
3808
+ /***/ (function(module, exports) {
3809
+
3810
+ module.exports = require("d3-scale");
3811
+
3812
+ /***/ }),
3813
+
3814
+ /***/ 8:
3815
+ /***/ (function(module, exports) {
3816
+
3817
+ module.exports = require("@babel/runtime/helpers/toConsumableArray");
3818
+
3819
+ /***/ }),
3820
+
3821
+ /***/ 9:
3822
+ /***/ (function(module, exports) {
3823
+
3824
+ module.exports = require("@splunk/themes/variables");
3825
+
3934
3826
  /***/ })
3935
- /******/ ]);
3827
+
3828
+ /******/ });
3936
3829
  //# sourceMappingURL=ParallelCoordinates.js.map