@splunk/visualizations 25.0.1 → 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 (200) 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_PureMap_custom_base_layer_tile_server.png +0 -0
  8. package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_Background_color_cyan.png +0 -0
  9. package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_Unit_specified_Unit_Position_after_default.png +0 -0
  10. package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_Unit_specified_Unit_Position_before.png +0 -0
  11. package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Background_Color_white_Under_Label_and_Unit_specified.png +0 -0
  12. package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Major_Value_is_null.png +0 -0
  13. package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Unit_specified_Unit_Position_after_default.png +0 -0
  14. package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Unit_specified_Unit_Position_before.png +0 -0
  15. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Area_Editor.png +0 -0
  16. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Bar_Editor.png +0 -0
  17. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Bubble_Editor.png +0 -0
  18. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_ChoroplethSvg_Editor.png +0 -0
  19. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Column_Editor.png +0 -0
  20. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Ellipse_Editor.png +0 -0
  21. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Events_Editor.png +0 -0
  22. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_FillerGauge_Editor.png +0 -0
  23. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Image_Editor.png +0 -0
  24. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Line_Editor.png +0 -0
  25. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_LinkGraph_Editor.png +0 -0
  26. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Map_Editor.png +0 -0
  27. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Markdown_Editor.png +0 -0
  28. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_MarkerGauge_Editor.png +0 -0
  29. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Parallel_Coordinates_Editor.png +0 -0
  30. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Pie_Editor.png +0 -0
  31. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Punchcard_Editor.png +0 -0
  32. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Rectangle_Editor.png +0 -0
  33. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Sankey_Editor.png +0 -0
  34. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Scatter_Editor.png +0 -0
  35. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Single_Value_Editor.png +0 -0
  36. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Single_Value_Icon_Editor.png +0 -0
  37. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Single_Value_Radial_Editor.png +0 -0
  38. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Table_Editor.png +0 -0
  39. package/.loki/reference/chrome_docker_Visualizations_Events_Events_Background_Color_Light_Blue.png +0 -0
  40. package/.loki/reference/chrome_docker_Visualizations_Events_Events_Basic_Events.png +0 -0
  41. package/.loki/reference/chrome_docker_Visualizations_Events_Events_Event_Actions.png +0 -0
  42. package/.loki/reference/chrome_docker_Visualizations_Events_Events_Field_Actions.png +0 -0
  43. package/.loki/reference/chrome_docker_Visualizations_Events_Events_Field_Summary.png +0 -0
  44. package/.loki/reference/chrome_docker_Visualizations_Events_Events_Field_Summary_Simulated_Instance.png +0 -0
  45. package/.loki/reference/chrome_docker_Visualizations_Events_Events_Footer_Fields.png +0 -0
  46. package/.loki/reference/chrome_docker_Visualizations_Events_Events_Footer_Fields_with_Highlight.png +0 -0
  47. package/.loki/reference/chrome_docker_Visualizations_Events_Events_Show_Placeholder.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_Single_Value_Icon_Single_Value_Icon_Set_Unit_value_after.png +0 -0
  53. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Set_Unit_value_before.png +0 -0
  54. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Set_The_Unit_After.png +0 -0
  55. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Set_The_Unit_Before.png +0 -0
  56. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Set_Unit_Value_After.png +0 -0
  57. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Set_Unit_Value_Before.png +0 -0
  58. package/Area.config.js +146 -157
  59. package/Area.config.js.map +1 -1
  60. package/Area.js +459 -545
  61. package/Area.js.map +1 -1
  62. package/Bar.config.js +148 -153
  63. package/Bar.config.js.map +1 -1
  64. package/Bar.js +468 -548
  65. package/Bar.js.map +1 -1
  66. package/Bubble.config.js +143 -123
  67. package/Bubble.config.js.map +1 -1
  68. package/Bubble.js +475 -530
  69. package/Bubble.js.map +1 -1
  70. package/ChoroplethSvg.config.js +87 -81
  71. package/ChoroplethSvg.config.js.map +1 -1
  72. package/ChoroplethSvg.js +352 -422
  73. package/ChoroplethSvg.js.map +1 -1
  74. package/Column.config.js +144 -151
  75. package/Column.config.js.map +1 -1
  76. package/Column.js +463 -546
  77. package/Column.js.map +1 -1
  78. package/Ellipse.config.js +86 -80
  79. package/Ellipse.config.js.map +1 -1
  80. package/Ellipse.js +319 -389
  81. package/Ellipse.js.map +1 -1
  82. package/Events.config.js +668 -0
  83. package/Events.config.js.map +1 -0
  84. package/Events.js +3116 -0
  85. package/Events.js.map +1 -0
  86. package/FillerGauge.config.js +94 -87
  87. package/FillerGauge.config.js.map +1 -1
  88. package/FillerGauge.js +352 -415
  89. package/FillerGauge.js.map +1 -1
  90. package/Image.config.js +74 -74
  91. package/Image.config.js.map +1 -1
  92. package/Image.js +713 -801
  93. package/Image.js.map +1 -1
  94. package/Line.config.js +145 -142
  95. package/Line.config.js.map +1 -1
  96. package/Line.js +471 -538
  97. package/Line.js.map +1 -1
  98. package/LinkGraph.config.js +120 -113
  99. package/LinkGraph.config.js.map +1 -1
  100. package/LinkGraph.js +24563 -717
  101. package/LinkGraph.js.map +1 -1
  102. package/Map.config.js +107 -100
  103. package/Map.config.js.map +1 -1
  104. package/Map.js +2358 -2465
  105. package/Map.js.map +1 -1
  106. package/Markdown.config.js +112 -112
  107. package/Markdown.config.js.map +1 -1
  108. package/Markdown.js +844 -918
  109. package/Markdown.js.map +1 -1
  110. package/MarkerGauge.config.js +185 -186
  111. package/MarkerGauge.config.js.map +1 -1
  112. package/MarkerGauge.js +1274 -1363
  113. package/MarkerGauge.js.map +1 -1
  114. package/ParallelCoordinates.config.js +137 -137
  115. package/ParallelCoordinates.config.js.map +1 -1
  116. package/ParallelCoordinates.js +732 -923
  117. package/ParallelCoordinates.js.map +1 -1
  118. package/Pie.config.js +132 -132
  119. package/Pie.config.js.map +1 -1
  120. package/Pie.js +1193 -1281
  121. package/Pie.js.map +1 -1
  122. package/Punchcard.config.js +138 -138
  123. package/Punchcard.config.js.map +1 -1
  124. package/Punchcard.js +2723 -2923
  125. package/Punchcard.js.map +1 -1
  126. package/Rectangle.config.js +267 -260
  127. package/Rectangle.config.js.map +1 -1
  128. package/Rectangle.js +1107 -1188
  129. package/Rectangle.js.map +1 -1
  130. package/Sankey.config.js +149 -142
  131. package/Sankey.config.js.map +1 -1
  132. package/Sankey.js +2613 -2808
  133. package/Sankey.js.map +1 -1
  134. package/Scatter.config.js +144 -123
  135. package/Scatter.config.js.map +1 -1
  136. package/Scatter.js +1820 -1889
  137. package/Scatter.js.map +1 -1
  138. package/SingleValue.config.js +121 -114
  139. package/SingleValue.config.js.map +1 -1
  140. package/SingleValue.js +2554 -2635
  141. package/SingleValue.js.map +1 -1
  142. package/SingleValueBasic.js +34 -34
  143. package/SingleValueBasic.js.map +1 -1
  144. package/SingleValueIcon.config.js +129 -120
  145. package/SingleValueIcon.config.js.map +1 -1
  146. package/SingleValueIcon.js +994 -1212
  147. package/SingleValueIcon.js.map +1 -1
  148. package/SingleValueRadial.config.js +216 -178
  149. package/SingleValueRadial.config.js.map +1 -1
  150. package/SingleValueRadial.js +2235 -2316
  151. package/SingleValueRadial.js.map +1 -1
  152. package/Table.config.js +150 -151
  153. package/Table.config.js.map +1 -1
  154. package/Table.js +2446 -2525
  155. package/Table.js.map +1 -1
  156. package/common/Charting.js +11 -11
  157. package/common/Charting.js.map +1 -1
  158. package/common/ChartingApi.js +2 -2
  159. package/common/ChartingApi.js.map +1 -1
  160. package/common/EventsDoc.js +25 -18
  161. package/common/EventsDoc.js.map +1 -1
  162. package/common/GaugeMajorTicks.js +10 -10
  163. package/common/GaugeMajorTicks.js.map +1 -1
  164. package/common/GaugeValueMarker.js +10 -10
  165. package/common/GaugeValueMarker.js.map +1 -1
  166. package/common/OptionsDoc.js +57 -357
  167. package/common/OptionsDoc.js.map +1 -1
  168. package/common/OverviewDoc.js +22 -22
  169. package/common/OverviewDoc.js.map +1 -1
  170. package/common/SplunkVisualization.js +4 -4
  171. package/common/SplunkVisualization.js.map +1 -1
  172. package/common/SplunkVisualizationApi.js +2 -2
  173. package/common/SplunkVisualizationApi.js.map +1 -1
  174. package/common/ThemesDoc.js +21 -21
  175. package/common/ThemesDoc.js.map +1 -1
  176. package/common/chartingUtils.js +4 -4
  177. package/common/chartingUtils.js.map +1 -1
  178. package/common/docUtils.js +4 -4
  179. package/common/docUtils.js.map +1 -1
  180. package/common/gaugeUtils.js +13 -13
  181. package/common/gaugeUtils.js.map +1 -1
  182. package/common/shapeUtils.js +8 -8
  183. package/common/shapeUtils.js.map +1 -1
  184. package/common/utils/configUtils.js +17 -18
  185. package/common/utils/configUtils.js.map +1 -1
  186. package/common/utils/{JSONSchemaUtils.js → dataUtils.js} +24 -25
  187. package/common/utils/dataUtils.js.map +1 -0
  188. package/common/utils/hocUtils.js +5 -85
  189. package/common/utils/hocUtils.js.map +1 -1
  190. package/common/utils/mapUtils.js +198 -0
  191. package/common/utils/mapUtils.js.map +1 -0
  192. package/common/utils/singleValueUtils.js +15 -12
  193. package/common/utils/singleValueUtils.js.map +1 -1
  194. package/common/utils/testHelper.js +8 -8
  195. package/common/utils/testHelper.js.map +1 -1
  196. package/common/withDashboardViz.js +120 -207
  197. package/common/withDashboardViz.js.map +1 -1
  198. package/package.json +16 -14
  199. package/.loki/reference/chrome_docker_PureVisualizations_SvgChoroplethDynamic_SVG_Of_Size_Greater_Than_2_MB_Render.png +0 -0
  200. package/common/utils/JSONSchemaUtils.js.map +0 -1
@@ -87,7 +87,7 @@ module.exports =
87
87
  /******/
88
88
  /******/
89
89
  /******/ // Load entry module and return exports
90
- /******/ return __webpack_require__(__webpack_require__.s = 64);
90
+ /******/ return __webpack_require__(__webpack_require__.s = 66);
91
91
  /******/ })
92
92
  /************************************************************************/
93
93
  /******/ ({
@@ -100,14 +100,253 @@ module.exports = require("@splunk/ui-utils/i18n");
100
100
  /***/ }),
101
101
 
102
102
  /***/ 1:
103
+ /***/ (function(module, exports) {
104
+
105
+ module.exports = require("@babel/runtime/helpers/toConsumableArray");
106
+
107
+ /***/ }),
108
+
109
+ /***/ 12:
110
+ /***/ (function(module, exports) {
111
+
112
+ module.exports = require("@splunk/visualization-icons");
113
+
114
+ /***/ }),
115
+
116
+ /***/ 15:
117
+ /***/ (function(module, exports) {
118
+
119
+ module.exports = require("@splunk/visualization-color-palettes/editors/PresetPalettes");
120
+
121
+ /***/ }),
122
+
123
+ /***/ 2:
124
+ /***/ (function(module, exports, __webpack_require__) {
125
+
126
+ "use strict";
127
+
128
+
129
+ Object.defineProperty(exports, "__esModule", {
130
+ value: true
131
+ });
132
+ exports.VizBehavior = void 0;
133
+ var VizBehavior;
134
+
135
+ (function (VizBehavior) {
136
+ /**
137
+ * Dynamic Options Behavior.
138
+ * This allows visualization options to be powered by data
139
+ *
140
+ * **Example**
141
+ *
142
+ * sparklineValues: ">primary|seriesByIndex(0)"
143
+ * would configure sparklineValues with an array of data points
144
+ * coming from the first series in the primary datasource
145
+ *
146
+ */
147
+ VizBehavior["DYNAMIC_OPTIONS"] = "dynamic-options";
148
+ VizBehavior["EVENTS"] = "events";
149
+ /**
150
+ * Placeholder behavior: visualization will display a placeholder rather than fail if any of the `requiredProps` is
151
+ * missing.
152
+ * @type {string}
153
+ */
154
+
155
+ VizBehavior["PLACEHOLDER"] = "placeholder";
156
+ VizBehavior["PAGE_AND_SORT"] = "page-and-sort";
157
+ })(VizBehavior = exports.VizBehavior || (exports.VizBehavior = {}));
158
+
159
+ /***/ }),
160
+
161
+ /***/ 21:
162
+ /***/ (function(module, exports) {
163
+
164
+ module.exports = require("@splunk/themes");
165
+
166
+ /***/ }),
167
+
168
+ /***/ 3:
169
+ /***/ (function(module, exports) {
170
+
171
+ module.exports = require("@splunk/visualizations-shared/schemaUtils");
172
+
173
+ /***/ }),
174
+
175
+ /***/ 31:
176
+ /***/ (function(module, exports, __webpack_require__) {
177
+
178
+ "use strict";
179
+
180
+
181
+ Object.defineProperty(exports, "__esModule", {
182
+ value: true
183
+ });
184
+ exports.getDynamicFillColorEditor = void 0;
185
+
186
+ var i18n_1 = __webpack_require__(0);
187
+
188
+ var configUtils_1 = __webpack_require__(5);
189
+
190
+ var getDynamicFillColorEditor = function getDynamicFillColorEditor(_ref) {
191
+ var defaultContext = _ref.defaultContext,
192
+ defaultPalettesConfig = _ref.defaultPalettesConfig;
193
+ return {
194
+ label: i18n_1._('Dynamic Fill'),
195
+ option: 'fillColor',
196
+ context: 'fillColorEditorConfig',
197
+ editor: 'editor.dynamicColor',
198
+ showEditor: function showEditor(_ref2) {
199
+ var options = _ref2.options;
200
+ return configUtils_1.isDynamicOption(options.fillColor);
201
+ },
202
+ editorProps: {
203
+ labelPosition: 'left',
204
+ flyoutTitle: i18n_1._('Dynamic Coloring: Fill Color'),
205
+ formatters: [{
206
+ label: i18n_1._('Ranges'),
207
+ value: 'rangeValue',
208
+ defaults: {
209
+ fillDataValue: defaultContext.fillColorConfig
210
+ }
211
+ }, {
212
+ label: i18n_1._('Matches'),
213
+ value: 'matchValue',
214
+ defaults: {
215
+ fillDataValue: defaultContext.fillColorMatchConfig
216
+ }
217
+ }],
218
+ dataSelectors: [{
219
+ label: i18n_1._('Fill Color'),
220
+ value: 'fillDataValue'
221
+ }],
222
+ defaultPalettesConfig: defaultPalettesConfig
223
+ }
224
+ };
225
+ };
226
+
227
+ exports.getDynamicFillColorEditor = getDynamicFillColorEditor;
228
+
229
+ /***/ }),
230
+
231
+ /***/ 32:
232
+ /***/ (function(module, exports, __webpack_require__) {
233
+
234
+ "use strict";
235
+
236
+
237
+ Object.defineProperty(exports, "__esModule", {
238
+ value: true
239
+ });
240
+ exports.getDynamicStrokeColorEditor = void 0;
241
+
242
+ var i18n_1 = __webpack_require__(0);
243
+
244
+ var configUtils_1 = __webpack_require__(5);
245
+
246
+ var getDynamicStrokeColorEditor = function getDynamicStrokeColorEditor(_ref) {
247
+ var defaultContext = _ref.defaultContext,
248
+ defaultPalettesConfig = _ref.defaultPalettesConfig;
249
+ return {
250
+ label: i18n_1._('Dynamic Stroke'),
251
+ option: 'strokeColor',
252
+ context: 'strokeColorEditorConfig',
253
+ editor: 'editor.dynamicColor',
254
+ showEditor: function showEditor(_ref2) {
255
+ var options = _ref2.options;
256
+ return configUtils_1.isDynamicOption(options.strokeColor);
257
+ },
258
+ editorProps: {
259
+ labelPosition: 'left',
260
+ flyoutTitle: i18n_1._('Dynamic Coloring: Stroke Color'),
261
+ formatters: [{
262
+ label: i18n_1._('Ranges'),
263
+ value: 'rangeValue',
264
+ defaults: {
265
+ strokeDataValue: defaultContext.strokeColorConfig
266
+ }
267
+ }, {
268
+ label: i18n_1._('Matches'),
269
+ value: 'matchValue',
270
+ defaults: {
271
+ strokeDataValue: defaultContext.strokeColorMatchConfig
272
+ }
273
+ }],
274
+ dataSelectors: [{
275
+ label: i18n_1._('Stroke Color'),
276
+ value: 'strokeDataValue'
277
+ }],
278
+ defaultPalettesConfig: defaultPalettesConfig
279
+ }
280
+ };
281
+ };
282
+
283
+ exports.getDynamicStrokeColorEditor = getDynamicStrokeColorEditor;
284
+
285
+ /***/ }),
286
+
287
+ /***/ 33:
103
288
  /***/ (function(module, exports, __webpack_require__) {
104
289
 
105
290
  "use strict";
106
291
 
107
292
 
108
- var _toConsumableArray = __webpack_require__(2);
293
+ Object.defineProperty(exports, "__esModule", {
294
+ value: true
295
+ });
296
+
297
+ var i18n_1 = __webpack_require__(0);
298
+
299
+ var configUtils_1 = __webpack_require__(5);
300
+
301
+ var StaticFillColorEditor = {
302
+ label: i18n_1._('Static Fill'),
303
+ option: 'fillColor',
304
+ editor: 'editor.color',
305
+ showEditor: function showEditor(_ref) {
306
+ var options = _ref.options;
307
+ return !configUtils_1.isDynamicOption(options.fillColor);
308
+ }
309
+ };
310
+ exports.default = StaticFillColorEditor;
311
+
312
+ /***/ }),
313
+
314
+ /***/ 34:
315
+ /***/ (function(module, exports, __webpack_require__) {
316
+
317
+ "use strict";
318
+
109
319
 
110
- var _defineProperty = __webpack_require__(6);
320
+ Object.defineProperty(exports, "__esModule", {
321
+ value: true
322
+ });
323
+
324
+ var i18n_1 = __webpack_require__(0);
325
+
326
+ var configUtils_1 = __webpack_require__(5);
327
+
328
+ var StaticStrokeColorEditor = {
329
+ label: i18n_1._('Static Stroke'),
330
+ option: 'strokeColor',
331
+ editor: 'editor.color',
332
+ showEditor: function showEditor(_ref) {
333
+ var options = _ref.options;
334
+ return !configUtils_1.isDynamicOption(options.strokeColor);
335
+ }
336
+ };
337
+ exports.default = StaticStrokeColorEditor;
338
+
339
+ /***/ }),
340
+
341
+ /***/ 4:
342
+ /***/ (function(module, exports, __webpack_require__) {
343
+
344
+ "use strict";
345
+
346
+
347
+ var _toConsumableArray = __webpack_require__(1);
348
+
349
+ var _defineProperty = __webpack_require__(7);
111
350
 
112
351
  var __rest = this && this.__rest || function (s, e) {
113
352
  var t = {};
@@ -125,13 +364,13 @@ var __rest = this && this.__rest || function (s, e) {
125
364
  Object.defineProperty(exports, "__esModule", {
126
365
  value: true
127
366
  });
128
- exports.insertLayout = exports.uncollapseEditorConfig = exports.generatePrecisionValues = exports.getInitialPreset = exports.isDynamicOption = exports.enhanceOptionsSchemaWithDynamicOptions = exports.enhanceConfig = void 0;
367
+ exports.insertLayout = exports.isDynamicOption = exports.uncollapseEditorConfig = exports.generatePrecisionValues = exports.getInitialPreset = exports.enhanceOptionsSchemaWithDynamicOptions = exports.enhanceConfig = void 0;
129
368
 
130
- var lodash_1 = __webpack_require__(5);
369
+ var lodash_1 = __webpack_require__(6);
131
370
 
132
- var schemaUtils_1 = __webpack_require__(4);
371
+ var schemaUtils_1 = __webpack_require__(3);
133
372
 
134
- var VizBehavior_1 = __webpack_require__(3);
373
+ var VizBehavior_1 = __webpack_require__(2);
135
374
 
136
375
  var dynamicOptionsDSLType = {
137
376
  type: 'string',
@@ -336,260 +575,21 @@ exports.insertLayout = insertLayout;
336
575
 
337
576
  /***/ }),
338
577
 
339
- /***/ 11:
340
- /***/ (function(module, exports) {
341
-
342
- module.exports = require("@splunk/visualization-icons");
343
-
344
- /***/ }),
345
-
346
- /***/ 14:
347
- /***/ (function(module, exports) {
348
-
349
- module.exports = require("@splunk/visualization-color-palettes/editors/PresetPalettes");
350
-
351
- /***/ }),
352
-
353
- /***/ 2:
354
- /***/ (function(module, exports) {
355
-
356
- module.exports = require("@babel/runtime/helpers/toConsumableArray");
357
-
358
- /***/ }),
359
-
360
- /***/ 23:
361
- /***/ (function(module, exports) {
362
-
363
- module.exports = require("@splunk/themes");
364
-
365
- /***/ }),
366
-
367
- /***/ 3:
368
- /***/ (function(module, exports, __webpack_require__) {
369
-
370
- "use strict";
371
-
372
-
373
- Object.defineProperty(exports, "__esModule", {
374
- value: true
375
- });
376
- exports.VizBehavior = void 0;
377
- var VizBehavior;
378
-
379
- (function (VizBehavior) {
380
- /**
381
- * Dynamic Options Behavior.
382
- * This allows visualization options to be powered by data
383
- *
384
- * **Example**
385
- *
386
- * sparklineValues: ">primary|seriesByIndex(0)"
387
- * would configure sparklineValues with an array of data points
388
- * coming from the first series in the primary datasource
389
- *
390
- */
391
- VizBehavior["DYNAMIC_OPTIONS"] = "dynamic-options";
392
- VizBehavior["EVENTS"] = "events";
393
- /**
394
- * Placeholder behavior: visualization will display a placeholder rather than fail if any of the `requiredProps` is
395
- * missing.
396
- * @type {string}
397
- */
398
-
399
- VizBehavior["PLACEHOLDER"] = "placeholder";
400
- VizBehavior["PAGE_AND_SORT"] = "page-and-sort";
401
- })(VizBehavior = exports.VizBehavior || (exports.VizBehavior = {}));
402
-
403
- /***/ }),
404
-
405
- /***/ 30:
406
- /***/ (function(module, exports, __webpack_require__) {
407
-
408
- "use strict";
409
-
410
-
411
- Object.defineProperty(exports, "__esModule", {
412
- value: true
413
- });
414
- exports.getDynamicFillColorEditor = void 0;
415
-
416
- var i18n_1 = __webpack_require__(0);
417
-
418
- var configUtils_1 = __webpack_require__(1);
419
-
420
- var getDynamicFillColorEditor = function getDynamicFillColorEditor(_ref) {
421
- var defaultContext = _ref.defaultContext,
422
- defaultPalettesConfig = _ref.defaultPalettesConfig;
423
- return {
424
- label: i18n_1._('Dynamic Fill'),
425
- option: 'fillColor',
426
- context: 'fillColorEditorConfig',
427
- editor: 'editor.dynamicColor',
428
- showEditor: function showEditor(_ref2) {
429
- var options = _ref2.options;
430
- return configUtils_1.isDynamicOption(options.fillColor);
431
- },
432
- editorProps: {
433
- labelPosition: 'left',
434
- flyoutTitle: i18n_1._('Dynamic Coloring: Fill Color'),
435
- formatters: [{
436
- label: i18n_1._('Ranges'),
437
- value: 'rangeValue',
438
- defaults: {
439
- fillDataValue: defaultContext.fillColorConfig
440
- }
441
- }, {
442
- label: i18n_1._('Matches'),
443
- value: 'matchValue',
444
- defaults: {
445
- fillDataValue: defaultContext.fillColorMatchConfig
446
- }
447
- }],
448
- dataSelectors: [{
449
- label: i18n_1._('Fill Color'),
450
- value: 'fillDataValue'
451
- }],
452
- defaultPalettesConfig: defaultPalettesConfig
453
- }
454
- };
455
- };
456
-
457
- exports.getDynamicFillColorEditor = getDynamicFillColorEditor;
458
-
459
- /***/ }),
460
-
461
- /***/ 31:
462
- /***/ (function(module, exports, __webpack_require__) {
463
-
464
- "use strict";
465
-
466
-
467
- Object.defineProperty(exports, "__esModule", {
468
- value: true
469
- });
470
- exports.getDynamicStrokeColorEditor = void 0;
471
-
472
- var i18n_1 = __webpack_require__(0);
473
-
474
- var configUtils_1 = __webpack_require__(1);
475
-
476
- var getDynamicStrokeColorEditor = function getDynamicStrokeColorEditor(_ref) {
477
- var defaultContext = _ref.defaultContext,
478
- defaultPalettesConfig = _ref.defaultPalettesConfig;
479
- return {
480
- label: i18n_1._('Dynamic Stroke'),
481
- option: 'strokeColor',
482
- context: 'strokeColorEditorConfig',
483
- editor: 'editor.dynamicColor',
484
- showEditor: function showEditor(_ref2) {
485
- var options = _ref2.options;
486
- return configUtils_1.isDynamicOption(options.strokeColor);
487
- },
488
- editorProps: {
489
- labelPosition: 'left',
490
- flyoutTitle: i18n_1._('Dynamic Coloring: Stroke Color'),
491
- formatters: [{
492
- label: i18n_1._('Ranges'),
493
- value: 'rangeValue',
494
- defaults: {
495
- strokeDataValue: defaultContext.strokeColorConfig
496
- }
497
- }, {
498
- label: i18n_1._('Matches'),
499
- value: 'matchValue',
500
- defaults: {
501
- strokeDataValue: defaultContext.strokeColorMatchConfig
502
- }
503
- }],
504
- dataSelectors: [{
505
- label: i18n_1._('Stroke Color'),
506
- value: 'strokeDataValue'
507
- }],
508
- defaultPalettesConfig: defaultPalettesConfig
509
- }
510
- };
511
- };
512
-
513
- exports.getDynamicStrokeColorEditor = getDynamicStrokeColorEditor;
514
-
515
- /***/ }),
516
-
517
- /***/ 32:
518
- /***/ (function(module, exports, __webpack_require__) {
519
-
520
- "use strict";
521
-
522
-
523
- Object.defineProperty(exports, "__esModule", {
524
- value: true
525
- });
526
-
527
- var i18n_1 = __webpack_require__(0);
528
-
529
- var configUtils_1 = __webpack_require__(1);
530
-
531
- var StaticFillColorEditor = {
532
- label: i18n_1._('Static Fill'),
533
- option: 'fillColor',
534
- editor: 'editor.color',
535
- showEditor: function showEditor(_ref) {
536
- var options = _ref.options;
537
- return !configUtils_1.isDynamicOption(options.fillColor);
538
- }
539
- };
540
- exports.default = StaticFillColorEditor;
541
-
542
- /***/ }),
543
-
544
- /***/ 33:
545
- /***/ (function(module, exports, __webpack_require__) {
546
-
547
- "use strict";
548
-
549
-
550
- Object.defineProperty(exports, "__esModule", {
551
- value: true
552
- });
553
-
554
- var i18n_1 = __webpack_require__(0);
555
-
556
- var configUtils_1 = __webpack_require__(1);
557
-
558
- var StaticStrokeColorEditor = {
559
- label: i18n_1._('Static Stroke'),
560
- option: 'strokeColor',
561
- editor: 'editor.color',
562
- showEditor: function showEditor(_ref) {
563
- var options = _ref.options;
564
- return !configUtils_1.isDynamicOption(options.strokeColor);
565
- }
566
- };
567
- exports.default = StaticStrokeColorEditor;
568
-
569
- /***/ }),
570
-
571
- /***/ 4:
572
- /***/ (function(module, exports) {
573
-
574
- module.exports = require("@splunk/visualizations-shared/schemaUtils");
575
-
576
- /***/ }),
577
-
578
578
  /***/ 5:
579
579
  /***/ (function(module, exports) {
580
580
 
581
- module.exports = require("lodash");
581
+ module.exports = require("@splunk/visualizations-shared/configUtils");
582
582
 
583
583
  /***/ }),
584
584
 
585
585
  /***/ 6:
586
586
  /***/ (function(module, exports) {
587
587
 
588
- module.exports = require("@babel/runtime/helpers/defineProperty");
588
+ module.exports = require("lodash");
589
589
 
590
590
  /***/ }),
591
591
 
592
- /***/ 64:
592
+ /***/ 66:
593
593
  /***/ (function(module, exports, __webpack_require__) {
594
594
 
595
595
  "use strict";
@@ -600,29 +600,29 @@ Object.defineProperty(exports, "__esModule", {
600
600
  });
601
601
  exports.optionsSchema = void 0;
602
602
 
603
- var visualization_icons_1 = __webpack_require__(11);
603
+ var visualization_icons_1 = __webpack_require__(12);
604
604
 
605
- var schemaUtils_1 = __webpack_require__(4);
605
+ var schemaUtils_1 = __webpack_require__(3);
606
606
 
607
607
  var i18n_1 = __webpack_require__(0);
608
608
 
609
- var PresetPalettes_1 = __webpack_require__(14);
609
+ var PresetPalettes_1 = __webpack_require__(15);
610
610
 
611
- var themes_1 = __webpack_require__(23);
611
+ var themes_1 = __webpack_require__(21);
612
612
 
613
- var VizBehavior_1 = __webpack_require__(3);
613
+ var VizBehavior_1 = __webpack_require__(2);
614
614
 
615
- var VizCategory_1 = __webpack_require__(7);
615
+ var VizCategory_1 = __webpack_require__(8);
616
616
 
617
- var configUtils_1 = __webpack_require__(1);
617
+ var configUtils_1 = __webpack_require__(4);
618
618
 
619
- var DynamicFillColorEditor_1 = __webpack_require__(30);
619
+ var DynamicFillColorEditor_1 = __webpack_require__(31);
620
620
 
621
- var DynamicStrokeColorEditor_1 = __webpack_require__(31);
621
+ var DynamicStrokeColorEditor_1 = __webpack_require__(32);
622
622
 
623
- var StaticFillColorEditor_1 = __webpack_require__(32);
623
+ var StaticFillColorEditor_1 = __webpack_require__(33);
624
624
 
625
- var StaticStrokeColorEditor_1 = __webpack_require__(33);
625
+ var StaticStrokeColorEditor_1 = __webpack_require__(34);
626
626
 
627
627
  var dataContract = {
628
628
  requiredDataSources: [],
@@ -939,6 +939,13 @@ exports.default = configUtils_1.enhanceConfig(config);
939
939
  /***/ }),
940
940
 
941
941
  /***/ 7:
942
+ /***/ (function(module, exports) {
943
+
944
+ module.exports = require("@babel/runtime/helpers/defineProperty");
945
+
946
+ /***/ }),
947
+
948
+ /***/ 8:
942
949
  /***/ (function(module, exports, __webpack_require__) {
943
950
 
944
951
  "use strict";