@splunk/visualizations 25.1.0 → 25.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.
Files changed (184) 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_Value_Highlighting.png +0 -0
  48. package/.loki/reference/chrome_docker_Visualizations_Events_Events_Width_Height.png +0 -0
  49. package/.loki/reference/chrome_docker_Visualizations_Events_Events_Width_Percentage_50.png +0 -0
  50. package/.loki/reference/chrome_docker_Visualizations_Events_Events_With_Options.png +0 -0
  51. package/.loki/reference/chrome_docker_Visualizations_LinkGraph_LinkGraph_ES.png +0 -0
  52. package/.loki/reference/chrome_docker_Visualizations_Markdown_Markdown_Background_Color_af575a.png +0 -0
  53. package/.loki/reference/chrome_docker_Visualizations_Markdown_Markdown_Basic_Markdown.png +0 -0
  54. package/.loki/reference/chrome_docker_Visualizations_Markdown_Markdown_Begin_with_Text_Instead_of_Header.png +0 -0
  55. package/.loki/reference/chrome_docker_Visualizations_Markdown_Markdown_Font_Color_purple.png +0 -0
  56. package/.loki/reference/chrome_docker_Visualizations_Markdown_Markdown_Font_Size_custom.png +0 -0
  57. package/.loki/reference/chrome_docker_Visualizations_Markdown_Markdown_Font_Size_extraLarge.png +0 -0
  58. package/.loki/reference/chrome_docker_Visualizations_Markdown_Markdown_Markdown_with_number_as_DSL.png +0 -0
  59. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Set_Unit_value_after.png +0 -0
  60. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Set_Unit_value_before.png +0 -0
  61. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Set_The_Unit_After.png +0 -0
  62. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Set_The_Unit_Before.png +0 -0
  63. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Set_Unit_Value_After.png +0 -0
  64. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Set_Unit_Value_Before.png +0 -0
  65. package/Area.config.js +72 -22
  66. package/Area.config.js.map +1 -1
  67. package/Area.js +246 -185
  68. package/Area.js.map +1 -1
  69. package/Bar.config.js +17 -17
  70. package/Bar.config.js.map +1 -1
  71. package/Bar.js +191 -180
  72. package/Bar.js.map +1 -1
  73. package/Bubble.config.js +21 -14
  74. package/Bubble.config.js.map +1 -1
  75. package/Bubble.js +193 -175
  76. package/Bubble.js.map +1 -1
  77. package/ChoroplethSvg.config.js +6 -6
  78. package/ChoroplethSvg.config.js.map +1 -1
  79. package/ChoroplethSvg.js +180 -170
  80. package/ChoroplethSvg.js.map +1 -1
  81. package/Column.config.js +17 -17
  82. package/Column.config.js.map +1 -1
  83. package/Column.js +190 -180
  84. package/Column.js.map +1 -1
  85. package/Ellipse.config.js +3 -3
  86. package/Ellipse.config.js.map +1 -1
  87. package/Ellipse.js +144 -134
  88. package/Ellipse.js.map +1 -1
  89. package/Events.config.js +664 -0
  90. package/Events.config.js.map +1 -0
  91. package/Events.js +3114 -0
  92. package/Events.js.map +1 -0
  93. package/FillerGauge.config.js +20 -19
  94. package/FillerGauge.config.js.map +1 -1
  95. package/FillerGauge.js +183 -166
  96. package/FillerGauge.js.map +1 -1
  97. package/Image.config.js +5 -5
  98. package/Image.config.js.map +1 -1
  99. package/Image.js +128 -128
  100. package/Image.js.map +1 -1
  101. package/Line.config.js +73 -22
  102. package/Line.config.js.map +1 -1
  103. package/Line.js +253 -186
  104. package/Line.js.map +1 -1
  105. package/LinkGraph.config.js +15 -8
  106. package/LinkGraph.config.js.map +1 -1
  107. package/LinkGraph.js +25270 -434
  108. package/LinkGraph.js.map +1 -1
  109. package/Map.config.js +30 -29
  110. package/Map.config.js.map +1 -1
  111. package/Map.js +3064 -3125
  112. package/Map.js.map +1 -1
  113. package/Markdown.config.js +32 -10
  114. package/Markdown.config.js.map +1 -1
  115. package/Markdown.js +576 -529
  116. package/Markdown.js.map +1 -1
  117. package/MarkerGauge.config.js +16 -16
  118. package/MarkerGauge.config.js.map +1 -1
  119. package/MarkerGauge.js +1287 -1287
  120. package/MarkerGauge.js.map +1 -1
  121. package/ParallelCoordinates.config.js +14 -14
  122. package/ParallelCoordinates.config.js.map +1 -1
  123. package/ParallelCoordinates.js +532 -639
  124. package/ParallelCoordinates.js.map +1 -1
  125. package/Pie.config.js +16 -16
  126. package/Pie.config.js.map +1 -1
  127. package/Pie.js +1205 -1205
  128. package/Pie.js.map +1 -1
  129. package/Punchcard.config.js +14 -14
  130. package/Punchcard.config.js.map +1 -1
  131. package/Punchcard.js +2584 -2700
  132. package/Punchcard.js.map +1 -1
  133. package/Rectangle.config.js +7 -7
  134. package/Rectangle.config.js.map +1 -1
  135. package/Rectangle.js +726 -726
  136. package/Rectangle.js.map +1 -1
  137. package/Sankey.config.js +18 -18
  138. package/Sankey.config.js.map +1 -1
  139. package/Sankey.js +3132 -3253
  140. package/Sankey.js.map +1 -1
  141. package/Scatter.config.js +24 -16
  142. package/Scatter.config.js.map +1 -1
  143. package/Scatter.js +1402 -1395
  144. package/Scatter.js.map +1 -1
  145. package/SingleValue.config.js +11 -10
  146. package/SingleValue.config.js.map +1 -1
  147. package/SingleValue.js +2208 -2208
  148. package/SingleValue.js.map +1 -1
  149. package/SingleValueBasic.js +32 -32
  150. package/SingleValueBasic.js.map +1 -1
  151. package/SingleValueIcon.config.js +11 -10
  152. package/SingleValueIcon.config.js.map +1 -1
  153. package/SingleValueIcon.js +825 -966
  154. package/SingleValueIcon.js.map +1 -1
  155. package/SingleValueRadial.config.js +11 -10
  156. package/SingleValueRadial.config.js.map +1 -1
  157. package/SingleValueRadial.js +1897 -1897
  158. package/SingleValueRadial.js.map +1 -1
  159. package/Table.config.js +7 -7
  160. package/Table.config.js.map +1 -1
  161. package/Table.js +2158 -2155
  162. package/Table.js.map +1 -1
  163. package/common/EventsDoc.js +15 -8
  164. package/common/EventsDoc.js.map +1 -1
  165. package/common/GaugeMajorTicks.js +2 -2
  166. package/common/GaugeValueMarker.js +2 -2
  167. package/common/OptionsDoc.js +8 -8
  168. package/common/OptionsDoc.js.map +1 -1
  169. package/common/ThemesDoc.js +2 -2
  170. package/common/utils/configUtils.js +3 -3
  171. package/common/utils/configUtils.js.map +1 -1
  172. package/common/utils/dataUtils.js +136 -0
  173. package/common/utils/dataUtils.js.map +1 -0
  174. package/common/utils/hocUtils.js +2 -2
  175. package/common/utils/hocUtils.js.map +1 -1
  176. package/common/utils/mapUtils.js +11 -10
  177. package/common/utils/mapUtils.js.map +1 -1
  178. package/common/utils/singleValueUtils.js +3 -2
  179. package/common/utils/singleValueUtils.js.map +1 -1
  180. package/common/utils/testHelper.js +8 -8
  181. package/common/utils/testHelper.js.map +1 -1
  182. package/common/withDashboardViz.js +2 -2
  183. package/common/withDashboardViz.js.map +1 -1
  184. package/package.json +15 -13
@@ -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 = 410);
91
91
  /******/ })
92
92
  /************************************************************************/
93
- /******/ ([
94
- /* 0 */
95
- /***/ (function(module, exports) {
96
-
97
- module.exports = require("prop-types");
93
+ /******/ ({
98
94
 
99
- /***/ }),
100
- /* 1 */
95
+ /***/ 0:
101
96
  /***/ (function(module, exports) {
102
97
 
103
98
  module.exports = require("react");
104
99
 
105
100
  /***/ }),
106
- /* 2 */
107
- /***/ (function(module, exports) {
108
-
109
- module.exports = require("@splunk/ui-utils/i18n");
110
-
111
- /***/ }),
112
- /* 3 */
113
- /***/ (function(module, exports) {
114
-
115
- module.exports = require("lodash");
116
-
117
- /***/ }),
118
- /* 4 */
119
- /***/ (function(module, exports) {
120
-
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 = {}));
159
-
160
- /***/ }),
161
- /* 6 */
162
- /***/ (function(module, exports) {
163
101
 
164
- module.exports = require("@babel/runtime/helpers/defineProperty");
165
-
166
- /***/ }),
167
- /* 7 */
102
+ /***/ 1:
168
103
  /***/ (function(module, exports) {
169
104
 
170
- module.exports = require("@babel/runtime/helpers/toConsumableArray");
105
+ module.exports = require("prop-types");
171
106
 
172
107
  /***/ }),
173
- /* 8 */
174
- /***/ (function(module, exports) {
175
-
176
- module.exports = require("@splunk/themes/variables");
177
108
 
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";
@@ -204,15 +137,15 @@ Object.defineProperty(exports, "__esModule", {
204
137
  value: true
205
138
  });
206
139
 
207
- var React = __webpack_require__(1);
140
+ var React = __webpack_require__(0);
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.3.0 - dae70ec02",
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',
@@ -442,7 +386,7 @@ exports.enhanceOptionsSchemaWithDynamicOptions = enhanceOptionsSchemaWithDynamic
442
386
  */
443
387
 
444
388
  function enhanceConfig(vizConfig) {
445
- var enhancedConfig = vizConfig;
389
+ var enhancedConfig = Object.assign({}, vizConfig);
446
390
 
447
391
  if (vizConfig.supports.indexOf(VizBehavior_1.VizBehavior.DYNAMIC_OPTIONS) !== -1) {
448
392
  enhancedConfig.optionsSchema = enhanceOptionsSchemaWithDynamicOptions(vizConfig.optionsSchema);
@@ -450,7 +394,7 @@ function enhanceConfig(vizConfig) {
450
394
 
451
395
  enhancedConfig.editorConfig = vizConfig.editorConfig.map(function (config) {
452
396
  return Object.assign(Object.assign({}, config), {
453
- open: false
397
+ open: config.open || false
454
398
  });
455
399
  });
456
400
  return enhancedConfig;
@@ -465,7 +409,7 @@ exports.enhanceConfig = enhanceConfig;
465
409
  */
466
410
 
467
411
  function uncollapseEditorConfig(vizConfig) {
468
- var editorPanelUncollapsedConfig = vizConfig;
412
+ var editorPanelUncollapsedConfig = Object.assign({}, vizConfig);
469
413
  editorPanelUncollapsedConfig.editorConfig = vizConfig.editorConfig.map(function (config) {
470
414
  return Object.assign(Object.assign({}, config), {
471
415
  open: true
@@ -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
-
1597
- module.exports = require("@splunk/themes/pick");
1598
1554
 
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";
@@ -1638,17 +1591,17 @@ Object.defineProperty(exports, "__esModule", {
1638
1591
  });
1639
1592
  exports.shouldShowIconPlaceholder = void 0;
1640
1593
 
1641
- var React = __webpack_require__(1);
1594
+ var React = __webpack_require__(0);
1642
1595
 
1643
- var T = __webpack_require__(0);
1596
+ var T = __webpack_require__(1);
1644
1597
 
1645
1598
  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,24 +1671,25 @@ 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
1731
1685
  });
1732
1686
  exports.getSortingParams = exports.SortParamsPropTypes = void 0;
1733
1687
 
1734
- var T = __webpack_require__(0);
1688
+ var T = __webpack_require__(1);
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";
@@ -1799,7 +1754,7 @@ Object.defineProperty(exports, "__esModule", {
1799
1754
  });
1800
1755
  exports.getPaginationParams = exports.PaginatorParamsPropTypes = void 0;
1801
1756
 
1802
- var T = __webpack_require__(0);
1757
+ var T = __webpack_require__(1);
1803
1758
 
1804
1759
  var lodash_1 = __webpack_require__(3);
1805
1760
 
@@ -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";
@@ -1890,41 +1861,41 @@ Object.defineProperty(exports, "__esModule", {
1890
1861
  value: true
1891
1862
  });
1892
1863
 
1893
- var React = __webpack_require__(1);
1864
+ var React = __webpack_require__(0);
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
@@ -2163,11 +2139,11 @@ Object.defineProperty(exports, "__esModule", {
2163
2139
  exports.INITIAL_HEIGHT = exports.INITIAL_WIDTH = void 0;
2164
2140
  /* eslint-disable react/no-unused-prop-types,react/prefer-stateless-function */
2165
2141
 
2166
- var T = __webpack_require__(0);
2142
+ var T = __webpack_require__(1);
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";
@@ -2361,7 +2347,7 @@ Object.defineProperty(exports, "__esModule", {
2361
2347
  });
2362
2348
  exports.useDeepMemo = void 0;
2363
2349
 
2364
- var react_1 = __webpack_require__(1);
2350
+ var react_1 = __webpack_require__(0);
2365
2351
 
2366
2352
  var lodash_1 = __webpack_require__(3);
2367
2353
  /**
@@ -2395,7 +2381,8 @@ var useDeepMemo = function useDeepMemo(fn, dependencies) {
2395
2381
  exports.useDeepMemo = useDeepMemo;
2396
2382
 
2397
2383
  /***/ }),
2398
- /* 40 */
2384
+
2385
+ /***/ 41:
2399
2386
  /***/ (function(module, exports, __webpack_require__) {
2400
2387
 
2401
2388
  "use strict";
@@ -2406,15 +2393,15 @@ Object.defineProperty(exports, "__esModule", {
2406
2393
  });
2407
2394
  exports.MissingPropsMessage = exports.missingKeys = exports.isMissing = void 0;
2408
2395
 
2409
- var React = __webpack_require__(1);
2396
+ var React = __webpack_require__(0);
2410
2397
 
2411
- var T = __webpack_require__(0);
2398
+ var T = __webpack_require__(1);
2412
2399
 
2413
2400
  var i18n_1 = __webpack_require__(2);
2414
2401
 
2415
- var Message_1 = __webpack_require__(9);
2402
+ var Message_1 = __webpack_require__(10);
2416
2403
 
2417
- var FixedSizeContainer_1 = __webpack_require__(12);
2404
+ var FixedSizeContainer_1 = __webpack_require__(13);
2418
2405
  /**
2419
2406
  * @method isMissing
2420
2407
  * @param {any} v
@@ -2475,488 +2462,122 @@ exports.MissingPropsMessage.defaultProps = {
2475
2462
  exports.default = FixedSizeContainer_1.default(exports.MissingPropsMessage);
2476
2463
 
2477
2464
  /***/ }),
2478
- /* 41 */
2465
+
2466
+ /***/ 410:
2479
2467
  /***/ (function(module, exports, __webpack_require__) {
2480
2468
 
2481
2469
  "use strict";
2482
2470
 
2483
2471
 
2472
+ var __rest = this && this.__rest || function (s, e) {
2473
+ var t = {};
2474
+
2475
+ for (var p in s) {
2476
+ if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
2477
+ }
2478
+
2479
+ if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
2480
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
2481
+ }
2482
+ return t;
2483
+ };
2484
+
2484
2485
  Object.defineProperty(exports, "__esModule", {
2485
2486
  value: true
2486
2487
  });
2488
+ exports.themes = exports.computeVizProps = exports.PureParallelCoordinates = exports.config = void 0;
2487
2489
 
2488
- var React = __webpack_require__(1);
2490
+ var PureParallelCoordinates_1 = __webpack_require__(411);
2489
2491
 
2490
- var styled_components_1 = __webpack_require__(4);
2492
+ var withDashboardViz_1 = __webpack_require__(32);
2491
2493
 
2492
- var hocUtils_1 = __webpack_require__(13);
2494
+ var config_1 = __webpack_require__(418);
2493
2495
 
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
- */
2496
+ var singleValueUtils_1 = __webpack_require__(22);
2510
2497
 
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
- };
2498
+ exports.config = config_1.default;
2499
+ exports.PureParallelCoordinates = PureParallelCoordinates_1.default;
2519
2500
 
2520
- hocUtils_1.extendStaticWrapperProps({
2521
- Wrapper: Wrapper,
2522
- Visualization: Visualization
2501
+ var computeVizProps = function computeVizProps(_a) {
2502
+ var themeFunc = _a.themeFunc,
2503
+ props = __rest(_a, ["themeFunc"]);
2504
+
2505
+ var defaultThemeColorVariables = ['defaultBackgroundColor', 'axisLineColor', 'axisLineHighlightColor', 'axisLabelColor', 'axisTitleColor', 'filterButtonDisabledColor', 'filterButtonActiveColor', 'filterTextColor', 'truncatedTextColor', 'filterSelectionColor', 'textShadowColor'];
2506
+ var defaultThemeColors = {};
2507
+ defaultThemeColorVariables.forEach(function (variable) {
2508
+ defaultThemeColors[variable] = themeFunc(variable);
2523
2509
  });
2524
- return Wrapper;
2510
+
2511
+ if (props.dataSources) {
2512
+ var _props$dataSources$pr = props.dataSources.primary.data,
2513
+ fields = _props$dataSources$pr.fields,
2514
+ columns = _props$dataSources$pr.columns;
2515
+ return Object.assign({
2516
+ fields: fields.map(function (field) {
2517
+ return field.name ? field.name : field;
2518
+ }),
2519
+ columns: columns
2520
+ }, defaultThemeColors);
2521
+ }
2522
+
2523
+ return defaultThemeColors;
2525
2524
  };
2526
2525
 
2527
- exports.default = withEditModeCover;
2526
+ exports.computeVizProps = computeVizProps;
2527
+ var viz = withDashboardViz_1.default({
2528
+ ReactViz: exports.PureParallelCoordinates,
2529
+ vizConfig: config_1.default,
2530
+ computeVizProps: exports.computeVizProps,
2531
+ useIconPlaceholder: function useIconPlaceholder(dataSources, loading) {
2532
+ return singleValueUtils_1.isLoadingOrNoColumns(dataSources, loading);
2533
+ }
2534
+ });
2535
+ exports.themes = config_1.default.themes;
2536
+ exports.default = viz;
2528
2537
 
2529
2538
  /***/ }),
2530
- /* 42 */
2539
+
2540
+ /***/ 411:
2531
2541
  /***/ (function(module, exports, __webpack_require__) {
2532
2542
 
2533
2543
  "use strict";
2534
2544
 
2535
2545
 
2546
+ var _toConsumableArray = __webpack_require__(8);
2547
+
2548
+ var __rest = this && this.__rest || function (s, e) {
2549
+ var t = {};
2550
+
2551
+ for (var p in s) {
2552
+ if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
2553
+ }
2554
+
2555
+ if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
2556
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
2557
+ }
2558
+ return t;
2559
+ };
2560
+
2536
2561
  Object.defineProperty(exports, "__esModule", {
2537
2562
  value: true
2538
2563
  });
2539
2564
 
2540
- var React = __webpack_require__(1);
2541
-
2542
- var colorUtils_1 = __webpack_require__(11);
2565
+ var React = __webpack_require__(0);
2543
2566
 
2544
- var variables_1 = __webpack_require__(8);
2567
+ var d3_array_1 = __webpack_require__(55);
2545
2568
 
2546
- var IconPlaceholder_1 = __webpack_require__(27);
2569
+ var d3_scale_1 = __webpack_require__(79);
2547
2570
 
2548
- var VizBehavior_1 = __webpack_require__(5);
2571
+ var T = __webpack_require__(1);
2549
2572
 
2550
- var hocUtils_1 = __webpack_require__(13);
2573
+ var i18n_1 = __webpack_require__(2);
2551
2574
 
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;
2575
+ var Message_1 = __webpack_require__(10);
2556
2576
 
2557
- var Wrapper = function Wrapper(props) {
2558
- var _a, _b;
2577
+ var ParallelCoordinatesChart_1 = __webpack_require__(412);
2559
2578
 
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);
2949
-
2950
- var T = __webpack_require__(0);
2951
-
2952
- var i18n_1 = __webpack_require__(2);
2953
-
2954
- var Message_1 = __webpack_require__(9);
2955
-
2956
- var ParallelCoordinatesChart_1 = __webpack_require__(223);
2957
-
2958
- var PureParallelCoordinates = function PureParallelCoordinates(_a) {
2959
- var props = __rest(_a, []);
2579
+ var PureParallelCoordinates = function PureParallelCoordinates(_a) {
2580
+ var props = __rest(_a, []);
2960
2581
 
2961
2582
  var width = props.width,
2962
2583
  height = props.height,
@@ -3145,15 +2766,16 @@ PureParallelCoordinates.defaultProps = {
3145
2766
  exports.default = PureParallelCoordinates;
3146
2767
 
3147
2768
  /***/ }),
3148
- /* 223 */
2769
+
2770
+ /***/ 412:
3149
2771
  /***/ (function(module, exports, __webpack_require__) {
3150
2772
 
3151
2773
  "use strict";
3152
2774
 
3153
2775
 
3154
- var _toConsumableArray = __webpack_require__(7);
2776
+ var _toConsumableArray = __webpack_require__(8);
3155
2777
 
3156
- var _slicedToArray = __webpack_require__(52);
2778
+ var _slicedToArray = __webpack_require__(51);
3157
2779
 
3158
2780
  var __rest = this && this.__rest || function (s, e) {
3159
2781
  var t = {};
@@ -3172,21 +2794,21 @@ Object.defineProperty(exports, "__esModule", {
3172
2794
  value: true
3173
2795
  });
3174
2796
 
3175
- var React = __webpack_require__(1);
2797
+ var React = __webpack_require__(0);
3176
2798
 
3177
2799
  var styled_components_1 = __webpack_require__(4);
3178
2800
 
3179
- var d3_selection_1 = __webpack_require__(224);
2801
+ var d3_selection_1 = __webpack_require__(413);
3180
2802
 
3181
- var d3_brush_1 = __webpack_require__(225);
2803
+ var d3_brush_1 = __webpack_require__(414);
3182
2804
 
3183
- var d3_axis_1 = __webpack_require__(226);
2805
+ var d3_axis_1 = __webpack_require__(415);
3184
2806
 
3185
- var d3_drag_1 = __webpack_require__(227);
2807
+ var d3_drag_1 = __webpack_require__(416);
3186
2808
 
3187
- var rgb_hex_converter_1 = __webpack_require__(135);
2809
+ var rgb_hex_converter_1 = __webpack_require__(145);
3188
2810
 
3189
- var ParallelCoordinatesCanvas_1 = __webpack_require__(228);
2811
+ var ParallelCoordinatesCanvas_1 = __webpack_require__(417);
3190
2812
 
3191
2813
  var ChartDiv = styled_components_1.default.div.withConfig({
3192
2814
  displayName: "ParallelCoordinatesChart__ChartDiv",
@@ -3513,31 +3135,36 @@ var ParallelCoordinatesChart = function ParallelCoordinatesChart(_a) {
3513
3135
  exports.default = ParallelCoordinatesChart;
3514
3136
 
3515
3137
  /***/ }),
3516
- /* 224 */
3138
+
3139
+ /***/ 413:
3517
3140
  /***/ (function(module, exports) {
3518
3141
 
3519
3142
  module.exports = require("d3-selection");
3520
3143
 
3521
3144
  /***/ }),
3522
- /* 225 */
3145
+
3146
+ /***/ 414:
3523
3147
  /***/ (function(module, exports) {
3524
3148
 
3525
3149
  module.exports = require("d3-brush");
3526
3150
 
3527
3151
  /***/ }),
3528
- /* 226 */
3152
+
3153
+ /***/ 415:
3529
3154
  /***/ (function(module, exports) {
3530
3155
 
3531
3156
  module.exports = require("d3-axis");
3532
3157
 
3533
3158
  /***/ }),
3534
- /* 227 */
3159
+
3160
+ /***/ 416:
3535
3161
  /***/ (function(module, exports) {
3536
3162
 
3537
3163
  module.exports = require("d3-drag");
3538
3164
 
3539
3165
  /***/ }),
3540
- /* 228 */
3166
+
3167
+ /***/ 417:
3541
3168
  /***/ (function(module, exports, __webpack_require__) {
3542
3169
 
3543
3170
  "use strict";
@@ -3560,9 +3187,9 @@ Object.defineProperty(exports, "__esModule", {
3560
3187
  value: true
3561
3188
  });
3562
3189
 
3563
- var React = __webpack_require__(1);
3190
+ var React = __webpack_require__(0);
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
+ /***/ 418:
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__(0);
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.3.0 - dae70ec02"
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__(0);
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