@splunk/visualizations 25.13.1 → 26.0.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 (147) hide show
  1. package/Area.config.js +216 -216
  2. package/Area.config.js.map +1 -1
  3. package/Area.js +529 -561
  4. package/Area.js.map +1 -1
  5. package/Bar.config.js +213 -213
  6. package/Bar.config.js.map +1 -1
  7. package/Bar.js +394 -386
  8. package/Bar.js.map +1 -1
  9. package/Bubble.config.js +140 -140
  10. package/Bubble.config.js.map +1 -1
  11. package/Bubble.js +313 -305
  12. package/Bubble.js.map +1 -1
  13. package/ChoroplethSvg.config.js +15 -15
  14. package/ChoroplethSvg.config.js.map +1 -1
  15. package/ChoroplethSvg.js +149 -144
  16. package/ChoroplethSvg.js.map +1 -1
  17. package/Column.config.js +205 -205
  18. package/Column.config.js.map +1 -1
  19. package/Column.js +387 -379
  20. package/Column.js.map +1 -1
  21. package/Ellipse.config.js +45 -45
  22. package/Ellipse.config.js.map +1 -1
  23. package/Ellipse.js +157 -144
  24. package/Ellipse.js.map +1 -1
  25. package/Events.config.js +11 -11
  26. package/Events.config.js.map +1 -1
  27. package/Events.js +273 -261
  28. package/Events.js.map +1 -1
  29. package/FillerGauge.config.js +46 -46
  30. package/FillerGauge.config.js.map +1 -1
  31. package/FillerGauge.js +267 -262
  32. package/FillerGauge.js.map +1 -1
  33. package/Image.config.js +8 -8
  34. package/Image.config.js.map +1 -1
  35. package/Image.js +110 -104
  36. package/Image.js.map +1 -1
  37. package/Line.config.js +220 -220
  38. package/Line.config.js.map +1 -1
  39. package/Line.js +404 -396
  40. package/Line.js.map +1 -1
  41. package/LinkGraph.config.js +27 -27
  42. package/LinkGraph.config.js.map +1 -1
  43. package/LinkGraph.js +557 -548
  44. package/LinkGraph.js.map +1 -1
  45. package/Map.config.js +71 -71
  46. package/Map.config.js.map +1 -1
  47. package/Map.js +471 -465
  48. package/Map.js.map +1 -1
  49. package/Markdown.config.js +23 -23
  50. package/Markdown.config.js.map +1 -1
  51. package/Markdown.js +151 -145
  52. package/Markdown.js.map +1 -1
  53. package/MarkerGauge.config.js +84 -84
  54. package/MarkerGauge.config.js.map +1 -1
  55. package/MarkerGauge.js +295 -289
  56. package/MarkerGauge.js.map +1 -1
  57. package/ParallelCoordinates.config.js +23 -23
  58. package/ParallelCoordinates.config.js.map +1 -1
  59. package/ParallelCoordinates.js +164 -162
  60. package/ParallelCoordinates.js.map +1 -1
  61. package/Pie.config.js +24 -24
  62. package/Pie.config.js.map +1 -1
  63. package/Pie.js +233 -228
  64. package/Pie.js.map +1 -1
  65. package/Punchcard.config.js +33 -33
  66. package/Punchcard.config.js.map +1 -1
  67. package/Punchcard.js +278 -279
  68. package/Punchcard.js.map +1 -1
  69. package/Rectangle.config.js +46 -46
  70. package/Rectangle.config.js.map +1 -1
  71. package/Rectangle.js +154 -142
  72. package/Rectangle.js.map +1 -1
  73. package/Sankey.config.js +19 -19
  74. package/Sankey.config.js.map +1 -1
  75. package/Sankey.js +281 -275
  76. package/Sankey.js.map +1 -1
  77. package/Scatter.config.js +135 -135
  78. package/Scatter.config.js.map +1 -1
  79. package/Scatter.js +304 -299
  80. package/Scatter.js.map +1 -1
  81. package/SingleValue.config.js +119 -119
  82. package/SingleValue.config.js.map +1 -1
  83. package/SingleValue.js +359 -341
  84. package/SingleValue.js.map +1 -1
  85. package/SingleValueBasic.js +14 -14
  86. package/SingleValueBasic.js.map +1 -1
  87. package/SingleValueIcon.config.js +117 -117
  88. package/SingleValueIcon.config.js.map +1 -1
  89. package/SingleValueIcon.js +373 -371
  90. package/SingleValueIcon.js.map +1 -1
  91. package/SingleValueRadial.config.js +157 -115
  92. package/SingleValueRadial.config.js.map +1 -1
  93. package/SingleValueRadial.js +1114 -540
  94. package/SingleValueRadial.js.map +1 -1
  95. package/SparkLine.js +50 -20
  96. package/SparkLine.js.map +1 -1
  97. package/Table.config.js +54 -54
  98. package/Table.config.js.map +1 -1
  99. package/Table.js +302 -286
  100. package/Table.js.map +1 -1
  101. package/common/Charting.js +41 -41
  102. package/common/Charting.js.map +1 -1
  103. package/common/EventsDoc.js +15 -14
  104. package/common/EventsDoc.js.map +1 -1
  105. package/common/GaugeMajorTicks.js +2 -2
  106. package/common/GaugeMajorTicks.js.map +1 -1
  107. package/common/GaugeValueMarker.js +2 -2
  108. package/common/GaugeValueMarker.js.map +1 -1
  109. package/common/OptionsDoc.js +22 -22
  110. package/common/OptionsDoc.js.map +1 -1
  111. package/common/OverviewDoc.js +32 -27
  112. package/common/OverviewDoc.js.map +1 -1
  113. package/common/SplunkVisualization.js +4 -4
  114. package/common/SplunkVisualization.js.map +1 -1
  115. package/common/SplunkVisualizationApi.js +2 -2
  116. package/common/SplunkVisualizationApi.js.map +1 -1
  117. package/common/ThemesDoc.js +14 -14
  118. package/common/ThemesDoc.js.map +1 -1
  119. package/common/chartingUtils.js +12 -12
  120. package/common/chartingUtils.js.map +1 -1
  121. package/common/docUtils.js +4 -4
  122. package/common/docUtils.js.map +1 -1
  123. package/common/gaugeUtils.js +112 -112
  124. package/common/gaugeUtils.js.map +1 -1
  125. package/common/shapeUtils.js +21 -15
  126. package/common/shapeUtils.js.map +1 -1
  127. package/common/utils/configUtils.js +10 -9
  128. package/common/utils/configUtils.js.map +1 -1
  129. package/common/utils/dataUtils.js +2 -2
  130. package/common/utils/dataUtils.js.map +1 -1
  131. package/common/utils/hocUtils.js +2 -2
  132. package/common/utils/hocUtils.js.map +1 -1
  133. package/common/utils/layoutUtils.js +2 -2
  134. package/common/utils/layoutUtils.js.map +1 -1
  135. package/common/utils/mapUtils.js +84 -80
  136. package/common/utils/mapUtils.js.map +1 -1
  137. package/common/utils/singleValueUtils.js +2 -2
  138. package/common/utils/singleValueUtils.js.map +1 -1
  139. package/common/utils/testHelper.js +27 -9
  140. package/common/utils/testHelper.js.map +1 -1
  141. package/common/utils/trellisUtils.js +26 -26
  142. package/common/utils/trellisUtils.js.map +1 -1
  143. package/common/utils/urlUtils.js +2 -2
  144. package/common/utils/urlUtils.js.map +1 -1
  145. package/common/withDashboardViz.js +107 -104
  146. package/common/withDashboardViz.js.map +1 -1
  147. package/package.json +19 -19
package/Rectangle.js CHANGED
@@ -87,7 +87,7 @@ module.exports =
87
87
  /******/
88
88
  /******/
89
89
  /******/ // Load entry module and return exports
90
- /******/ return __webpack_require__(__webpack_require__.s = 452);
90
+ /******/ return __webpack_require__(__webpack_require__.s = 455);
91
91
  /******/ })
92
92
  /************************************************************************/
93
93
  /******/ ({
@@ -120,7 +120,7 @@ module.exports = require("@splunk/themes/variables");
120
120
 
121
121
  /***/ }),
122
122
 
123
- /***/ 113:
123
+ /***/ 114:
124
124
  /***/ (function(module, exports, __webpack_require__) {
125
125
 
126
126
  "use strict";
@@ -136,32 +136,32 @@ var getDynamicFillColorEditor = function getDynamicFillColorEditor(_ref) {
136
136
  var defaultContext = _ref.defaultContext,
137
137
  defaultPalettesConfig = _ref.defaultPalettesConfig;
138
138
  return {
139
- label: i18n_1._('Fill'),
139
+ label: (0, i18n_1._)('Fill'),
140
140
  option: 'fillColor',
141
141
  context: 'fillColorEditorConfig',
142
142
  editor: 'editor.dynamicColor',
143
143
  showEditor: function showEditor(_ref2) {
144
144
  var options = _ref2.options;
145
- return configUtils_1.isDynamicOption(options.fillColor);
145
+ return (0, configUtils_1.isDynamicOption)(options.fillColor);
146
146
  },
147
147
  editorProps: {
148
148
  labelPosition: 'top',
149
- flyoutTitle: i18n_1._('Dynamic coloring: fill'),
149
+ flyoutTitle: (0, i18n_1._)('Dynamic coloring: fill'),
150
150
  formatters: [{
151
- label: i18n_1._('Ranges'),
151
+ label: (0, i18n_1._)('Ranges'),
152
152
  value: 'rangeValue',
153
153
  defaults: {
154
154
  fillDataValue: defaultContext.fillColorConfig
155
155
  }
156
156
  }, {
157
- label: i18n_1._('Matches'),
157
+ label: (0, i18n_1._)('Matches'),
158
158
  value: 'matchValue',
159
159
  defaults: {
160
160
  fillDataValue: defaultContext.fillColorMatchConfig
161
161
  }
162
162
  }],
163
163
  dataSelectors: [{
164
- label: i18n_1._('Fill'),
164
+ label: (0, i18n_1._)('Fill'),
165
165
  value: 'fillDataValue'
166
166
  }],
167
167
  defaultPalettesConfig: defaultPalettesConfig
@@ -172,7 +172,7 @@ exports.getDynamicFillColorEditor = getDynamicFillColorEditor;
172
172
 
173
173
  /***/ }),
174
174
 
175
- /***/ 114:
175
+ /***/ 115:
176
176
  /***/ (function(module, exports, __webpack_require__) {
177
177
 
178
178
  "use strict";
@@ -188,32 +188,32 @@ var getDynamicStrokeColorEditor = function getDynamicStrokeColorEditor(_ref) {
188
188
  var defaultContext = _ref.defaultContext,
189
189
  defaultPalettesConfig = _ref.defaultPalettesConfig;
190
190
  return {
191
- label: i18n_1._('Stroke'),
191
+ label: (0, i18n_1._)('Stroke'),
192
192
  option: 'strokeColor',
193
193
  context: 'strokeColorEditorConfig',
194
194
  editor: 'editor.dynamicColor',
195
195
  showEditor: function showEditor(_ref2) {
196
196
  var options = _ref2.options;
197
- return configUtils_1.isDynamicOption(options.strokeColor);
197
+ return (0, configUtils_1.isDynamicOption)(options.strokeColor);
198
198
  },
199
199
  editorProps: {
200
200
  labelPosition: 'top',
201
- flyoutTitle: i18n_1._('Dynamic coloring: stroke'),
201
+ flyoutTitle: (0, i18n_1._)('Dynamic coloring: stroke'),
202
202
  formatters: [{
203
- label: i18n_1._('Ranges'),
203
+ label: (0, i18n_1._)('Ranges'),
204
204
  value: 'rangeValue',
205
205
  defaults: {
206
206
  strokeDataValue: defaultContext.strokeColorConfig
207
207
  }
208
208
  }, {
209
- label: i18n_1._('Matches'),
209
+ label: (0, i18n_1._)('Matches'),
210
210
  value: 'matchValue',
211
211
  defaults: {
212
212
  strokeDataValue: defaultContext.strokeColorMatchConfig
213
213
  }
214
214
  }],
215
215
  dataSelectors: [{
216
- label: i18n_1._('Stroke'),
216
+ label: (0, i18n_1._)('Stroke'),
217
217
  value: 'strokeDataValue'
218
218
  }],
219
219
  defaultPalettesConfig: defaultPalettesConfig
@@ -224,7 +224,7 @@ exports.getDynamicStrokeColorEditor = getDynamicStrokeColorEditor;
224
224
 
225
225
  /***/ }),
226
226
 
227
- /***/ 115:
227
+ /***/ 116:
228
228
  /***/ (function(module, exports, __webpack_require__) {
229
229
 
230
230
  "use strict";
@@ -236,19 +236,19 @@ Object.defineProperty(exports, "__esModule", {
236
236
  var i18n_1 = __webpack_require__(2);
237
237
  var configUtils_1 = __webpack_require__(22);
238
238
  var StaticFillColorEditor = {
239
- label: i18n_1._('Fill'),
239
+ label: (0, i18n_1._)('Fill'),
240
240
  option: 'fillColor',
241
241
  editor: 'editor.color',
242
242
  showEditor: function showEditor(_ref) {
243
243
  var options = _ref.options;
244
- return !configUtils_1.isDynamicOption(options.fillColor);
244
+ return !(0, configUtils_1.isDynamicOption)(options.fillColor);
245
245
  }
246
246
  };
247
247
  exports.default = StaticFillColorEditor;
248
248
 
249
249
  /***/ }),
250
250
 
251
- /***/ 116:
251
+ /***/ 117:
252
252
  /***/ (function(module, exports, __webpack_require__) {
253
253
 
254
254
  "use strict";
@@ -260,24 +260,26 @@ Object.defineProperty(exports, "__esModule", {
260
260
  var i18n_1 = __webpack_require__(2);
261
261
  var configUtils_1 = __webpack_require__(22);
262
262
  var StaticStrokeColorEditor = {
263
- label: i18n_1._('Stroke'),
263
+ label: (0, i18n_1._)('Stroke'),
264
264
  option: 'strokeColor',
265
265
  editor: 'editor.color',
266
266
  showEditor: function showEditor(_ref) {
267
267
  var options = _ref.options;
268
- return !configUtils_1.isDynamicOption(options.strokeColor);
268
+ return !(0, configUtils_1.isDynamicOption)(options.strokeColor);
269
269
  }
270
270
  };
271
271
  exports.default = StaticStrokeColorEditor;
272
272
 
273
273
  /***/ }),
274
274
 
275
- /***/ 117:
275
+ /***/ 118:
276
276
  /***/ (function(module, exports, __webpack_require__) {
277
277
 
278
278
  "use strict";
279
279
 
280
280
 
281
+ var _taggedTemplateLiteral = __webpack_require__(59);
282
+ var _templateObject;
281
283
  Object.defineProperty(exports, "__esModule", {
282
284
  value: true
283
285
  });
@@ -286,7 +288,7 @@ var lodash_1 = __webpack_require__(3);
286
288
  var styled_components_1 = __webpack_require__(4);
287
289
  var pick_1 = __webpack_require__(23);
288
290
  var variables_1 = __webpack_require__(11);
289
- var propUtils_1 = __webpack_require__(28);
291
+ var propUtils_1 = __webpack_require__(29);
290
292
  // map for new options names to old option names
291
293
  var shapeOptionsMapping = {
292
294
  fillColor: 'fill',
@@ -301,7 +303,7 @@ var shapeOptionsMapping = {
301
303
  * @returns {Object}
302
304
  */
303
305
  var mapToOldKey = function mapToOldKey(options) {
304
- return lodash_1.mapKeys(options, function (val, key) {
306
+ return (0, lodash_1.mapKeys)(options, function (val, key) {
305
307
  return shapeOptionsMapping[key] ? shapeOptionsMapping[key] : key;
306
308
  });
307
309
  };
@@ -312,11 +314,8 @@ exports.mapToOldKey = mapToOldKey;
312
314
  * @param {Shape} shape
313
315
  */
314
316
  var getStyledShape = function getStyledShape(shape) {
315
- return styled_components_1.default(shape).withConfig({
316
- displayName: "shapeUtils",
317
- componentId: "sc-1myvp5h-0"
318
- })(["fill:", ";stroke:", ";cursor:", ";"], function (props) {
319
- return props.fill && propUtils_1.formatColor(props.fill) || pick_1.default({
317
+ return (0, styled_components_1.default)(shape)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n fill: ", ";\n stroke: ", ";\n cursor: ", ";\n"])), function (props) {
318
+ return props.fill && (0, propUtils_1.formatColor)(props.fill) || (0, pick_1.default)({
320
319
  enterprise: {
321
320
  light: variables_1.default.gray80,
322
321
  dark: variables_1.default.gray25
@@ -324,7 +323,7 @@ var getStyledShape = function getStyledShape(shape) {
324
323
  prisma: variables_1.default.backgroundColorSidebar
325
324
  })(props);
326
325
  }, function (props) {
327
- return props.stroke && propUtils_1.formatColor(props.stroke) || pick_1.default({
326
+ return props.stroke && (0, propUtils_1.formatColor)(props.stroke) || (0, pick_1.default)({
328
327
  enterprise: {
329
328
  dark: variables_1.default.gray80,
330
329
  light: variables_1.default.textColor
@@ -364,14 +363,14 @@ var Item = styled_components_1.default.div.attrs(function (_ref) {
364
363
  var width = _ref.width;
365
364
  return {
366
365
  style: {
367
- width: style_1.toPx(width)
366
+ width: (0, style_1.toPx)(width)
368
367
  }
369
368
  };
370
369
  }).withConfig({
371
370
  displayName: "FixedSizeContainer__Item",
372
371
  componentId: "sc-1yhgpod-0"
373
372
  })(["position:relative;background-color:", "};"], function (props) {
374
- return colorUtils_1.isColor(props.backgroundColor) && props.backgroundColor || props.theme.defaultBackgroundColor;
373
+ return (0, colorUtils_1.isColor)(props.backgroundColor) && props.backgroundColor || props.theme.defaultBackgroundColor;
375
374
  });
376
375
  // Use `.attrs()` for highly dynamic styles. Ref: https://github.com/styled-components/styled-components/issues/134#issuecomment-312415291
377
376
  var FixSizeItem = styled_components_1.default.div.attrs(function (_ref2) {
@@ -379,16 +378,16 @@ var FixSizeItem = styled_components_1.default.div.attrs(function (_ref2) {
379
378
  height = _ref2.height;
380
379
  return {
381
380
  style: Object.assign(Object.assign({}, width && {
382
- width: style_1.toPx(width)
381
+ width: (0, style_1.toPx)(width)
383
382
  }), height && {
384
- height: style_1.toPx(height)
383
+ height: (0, style_1.toPx)(height)
385
384
  })
386
385
  };
387
386
  }).withConfig({
388
387
  displayName: "FixedSizeContainer__FixSizeItem",
389
388
  componentId: "sc-1yhgpod-1"
390
389
  })(["position:relative;flex-direction:column;flex:1;display:flex;background-color:", "};"], function (props) {
391
- return colorUtils_1.isColor(props.backgroundColor) && props.backgroundColor || props.theme.defaultBackgroundColor;
390
+ return (0, colorUtils_1.isColor)(props.backgroundColor) && props.backgroundColor || props.theme.defaultBackgroundColor;
392
391
  });
393
392
  var ItemContent = styled_components_1.default.div.withConfig({
394
393
  displayName: "FixedSizeContainer__ItemContent",
@@ -412,7 +411,7 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
412
411
  }
413
412
  return React.createElement(FixSizeItem, {
414
413
  "data-test": "fix-size-item",
415
- "data-splunk-visualization-version": "25.13.1 - ea48ec41e",
414
+ "data-splunk-visualization-version": "26.0.0 - 2f7458907",
416
415
  width: width,
417
416
  height: height,
418
417
  backgroundColor: backgroundColor
@@ -477,7 +476,7 @@ module.exports = require("@splunk/visualizations-shared/schemaUtils");
477
476
 
478
477
  /***/ }),
479
478
 
480
- /***/ 162:
479
+ /***/ 165:
481
480
  /***/ (function(module, exports, __webpack_require__) {
482
481
 
483
482
  "use strict";
@@ -502,9 +501,9 @@ var styled_components_1 = __webpack_require__(4);
502
501
  var lodash_1 = __webpack_require__(3);
503
502
  var T = __webpack_require__(0);
504
503
  var withDashboardViz_1 = __webpack_require__(36);
505
- var config_1 = __webpack_require__(453);
504
+ var config_1 = __webpack_require__(456);
506
505
  exports.config = config_1.default;
507
- var shapeUtils_1 = __webpack_require__(117);
506
+ var shapeUtils_1 = __webpack_require__(118);
508
507
  var SVGContainer = styled_components_1.default.svg.withConfig({
509
508
  displayName: "Rectangle__SVGContainer",
510
509
  componentId: "iwvil2-0"
@@ -520,7 +519,7 @@ var propTypes = {
520
519
  mode: T.string,
521
520
  onRectangleClick: T.func
522
521
  };
523
- var RectangleShape = shapeUtils_1.getStyledShape('rect');
522
+ var RectangleShape = (0, shapeUtils_1.getStyledShape)('rect');
524
523
  var RectangleViz = function RectangleViz(props) {
525
524
  var width = props.width,
526
525
  height = props.height,
@@ -553,7 +552,7 @@ var computeVizProps = function computeVizProps(props) {
553
552
  dataSources: dataSources,
554
553
  options: null
555
554
  };
556
- computedProps.options = lodash_1.chain(otherOptions).pick(validOptions).thru(shapeUtils_1.mapToOldKey).value();
555
+ computedProps.options = (0, lodash_1.chain)(otherOptions).pick(validOptions).thru(shapeUtils_1.mapToOldKey).value();
557
556
  return computedProps;
558
557
  };
559
558
  exports.computeVizProps = computeVizProps;
@@ -562,7 +561,7 @@ RectangleViz.defaultProps = {
562
561
  width: 250,
563
562
  height: 300
564
563
  };
565
- var Rectangle = withDashboardViz_1.default({
564
+ var Rectangle = (0, withDashboardViz_1.default)({
566
565
  ReactViz: RectangleViz,
567
566
  computeVizProps: exports.computeVizProps,
568
567
  vizConfig: config_1.default
@@ -759,8 +758,8 @@ function hasCompatibleOptions(vizOptions, presetOptions) {
759
758
  */
760
759
  function getInitialPreset(vizContext, vizOptions, presets) {
761
760
  return presets.find(function (preset) {
762
- var presetContext = lodash_1.get(preset, ['value', 'context'], {});
763
- var presetOptions = lodash_1.get(preset, ['value', 'options'], {});
761
+ var presetContext = (0, lodash_1.get)(preset, ['value', 'context'], {});
762
+ var presetOptions = (0, lodash_1.get)(preset, ['value', 'options'], {});
764
763
  var presetContextKeys = Object.keys(presetContext);
765
764
  var presetOptionKeys = Object.keys(presetOptions);
766
765
  // all presets have to explicitly specify which options to reset (i.e. need explicitly undefined keys)
@@ -777,7 +776,7 @@ exports.getInitialPreset = getInitialPreset;
777
776
  * @returns {{ label: string; value; string }[]} array of { label, value } tuples
778
777
  */
779
778
  function generatePrecisionValues(numPrecisionValues) {
780
- return lodash_1.range(0, numPrecisionValues + 1).map(function (i) {
779
+ return (0, lodash_1.range)(0, numPrecisionValues + 1).map(function (i) {
781
780
  return {
782
781
  label: "".concat(i, " (0").concat(i > 0 ? '.' : '').concat('0'.repeat(i), ")"),
783
782
  value: i
@@ -827,35 +826,35 @@ module.exports = require("@splunk/themes/pick");
827
826
  /***/ 25:
828
827
  /***/ (function(module, exports) {
829
828
 
830
- module.exports = require("@splunk/visualization-context/TimezoneContext");
829
+ module.exports = require("@splunk/ui-utils/id");
831
830
 
832
831
  /***/ }),
833
832
 
834
833
  /***/ 26:
835
834
  /***/ (function(module, exports) {
836
835
 
837
- module.exports = require("@splunk/visualizations-shared/hocUtils");
836
+ module.exports = require("@splunk/visualization-context/TimezoneContext");
838
837
 
839
838
  /***/ }),
840
839
 
841
840
  /***/ 27:
842
841
  /***/ (function(module, exports) {
843
842
 
844
- module.exports = require("@splunk/visualizations-shared/JSONSchemaUtils");
843
+ module.exports = require("@splunk/visualizations-shared/hocUtils");
845
844
 
846
845
  /***/ }),
847
846
 
848
847
  /***/ 28:
849
848
  /***/ (function(module, exports) {
850
849
 
851
- module.exports = require("@splunk/visualizations-shared/propUtils");
850
+ module.exports = require("@splunk/visualizations-shared/JSONSchemaUtils");
852
851
 
853
852
  /***/ }),
854
853
 
855
854
  /***/ 29:
856
855
  /***/ (function(module, exports) {
857
856
 
858
- module.exports = require("@splunk/visualization-encoding/Options");
857
+ module.exports = require("@splunk/visualizations-shared/propUtils");
859
858
 
860
859
  /***/ }),
861
860
 
@@ -866,7 +865,14 @@ module.exports = require("lodash");
866
865
 
867
866
  /***/ }),
868
867
 
869
- /***/ 31:
868
+ /***/ 30:
869
+ /***/ (function(module, exports) {
870
+
871
+ module.exports = require("@splunk/visualization-encoding/Options");
872
+
873
+ /***/ }),
874
+
875
+ /***/ 32:
870
876
  /***/ (function(module, exports, __webpack_require__) {
871
877
 
872
878
  "use strict";
@@ -890,9 +896,9 @@ var FixedSizeContainer_1 = __webpack_require__(13);
890
896
  */
891
897
  var shouldShowIconPlaceholder = function shouldShowIconPlaceholder(dataSources) {
892
898
  var loading = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
893
- var data = lodash_1.get(dataSources, 'primary.data.columns[0]', undefined);
899
+ var data = (0, lodash_1.get)(dataSources, 'primary.data.columns[0]', undefined);
894
900
  var noData = data === undefined;
895
- var fields = lodash_1.get(dataSources, 'primary.data.fields[0]', undefined);
901
+ var fields = (0, lodash_1.get)(dataSources, 'primary.data.fields[0]', undefined);
896
902
  var noFields = fields === undefined;
897
903
  return loading || noData || noFields;
898
904
  };
@@ -933,7 +939,7 @@ var IconPlaceholder = function IconPlaceholder(props) {
933
939
  width: width,
934
940
  height: height,
935
941
  level: "warning",
936
- message: i18n_1._('No DataSource Connected')
942
+ message: (0, i18n_1._)('No DataSource Connected')
937
943
  });
938
944
  };
939
945
  IconPlaceholder.propTypes = propTypes;
@@ -941,14 +947,7 @@ IconPlaceholder.defaultProps = {
941
947
  width: '100%',
942
948
  height: 250
943
949
  };
944
- exports.default = FixedSizeContainer_1.default(IconPlaceholder);
945
-
946
- /***/ }),
947
-
948
- /***/ 32:
949
- /***/ (function(module, exports) {
950
-
951
- module.exports = require("@splunk/ui-utils/id");
950
+ exports.default = (0, FixedSizeContainer_1.default)(IconPlaceholder);
952
951
 
953
952
  /***/ }),
954
953
 
@@ -983,7 +982,7 @@ var getSortingParams = function getSortingParams(_ref) {
983
982
  };
984
983
  var onSort;
985
984
  if (typeof onRequestParamsChange === 'function') {
986
- if (requestParams && lodash_1.has(requestParams, 'sort')) {
985
+ if (requestParams && (0, lodash_1.has)(requestParams, 'sort')) {
987
986
  currentSortKey = Object.keys(requestParams.sort).shift();
988
987
  currentSortDir = requestParams.sort[currentSortKey];
989
988
  }
@@ -992,7 +991,7 @@ var getSortingParams = function getSortingParams(_ref) {
992
991
  var sortKey = _ref2.sortKey,
993
992
  sortDir = _ref2.sortDir;
994
993
  if (typeof sortKey === 'string') {
995
- var nextSortDir = lodash_1.has(nextSortDirMap, sortDir) ? nextSortDirMap[sortDir] : 'none';
994
+ var nextSortDir = (0, lodash_1.has)(nextSortDirMap, sortDir) ? nextSortDirMap[sortDir] : 'none';
996
995
  onRequestParamsChange(Object.assign(Object.assign({}, requestParams), {
997
996
  offset: 0,
998
997
  sort: _defineProperty({}, sortKey, nextSortDir)
@@ -1043,7 +1042,7 @@ var getPaginationParams = function getPaginationParams(_ref) {
1043
1042
  var onChangeHandler = function onChangeHandler(e, _ref2) {
1044
1043
  var page = _ref2.page,
1045
1044
  countArg = _ref2.count;
1046
- var newParams = lodash_1.cloneDeep(requestParams);
1045
+ var newParams = (0, lodash_1.cloneDeep)(requestParams);
1047
1046
  if (typeof countArg === 'number') {
1048
1047
  newParams.count = countArg;
1049
1048
  newParams.offset = 0;
@@ -1107,16 +1106,16 @@ Object.defineProperty(exports, "__esModule", {
1107
1106
  var React = __webpack_require__(1);
1108
1107
  var lodash_1 = __webpack_require__(3);
1109
1108
  var getSettingsFromThemedProps_1 = __webpack_require__(37);
1110
- var Options_1 = __webpack_require__(29);
1109
+ var Options_1 = __webpack_require__(30);
1111
1110
  var SanitizeProps_1 = __webpack_require__(38);
1112
- var TimezoneContext_1 = __webpack_require__(25);
1111
+ var TimezoneContext_1 = __webpack_require__(26);
1113
1112
  var moment_1 = __webpack_require__(39);
1114
1113
  var FeatureFlagContext_1 = __webpack_require__(21);
1115
1114
  var styled_components_1 = __webpack_require__(4);
1116
- var hocUtils_1 = __webpack_require__(26);
1117
- var JSONSchemaUtils_1 = __webpack_require__(27);
1115
+ var hocUtils_1 = __webpack_require__(27);
1116
+ var JSONSchemaUtils_1 = __webpack_require__(28);
1118
1117
  var async_dynamic_options_evaluator_1 = __webpack_require__(40);
1119
- var id_1 = __webpack_require__(32);
1118
+ var id_1 = __webpack_require__(25);
1120
1119
  var SplunkVisualization_1 = __webpack_require__(41);
1121
1120
  var VizBehavior_1 = __webpack_require__(6);
1122
1121
  var getSorting_1 = __webpack_require__(33);
@@ -1137,8 +1136,8 @@ var withDashboardViz = function withDashboardViz(opts) {
1137
1136
  computeVizProps = _opts$computeVizProps === void 0 ? function () {} : _opts$computeVizProps,
1138
1137
  disableEditModeCover = opts.disableEditModeCover,
1139
1138
  useIconPlaceholder = opts.useIconPlaceholder; // sanitizing props before sending them to reactviz.
1140
- var SanitizedReactViz = SanitizeProps_1.withSanitizedProps(ReactViz);
1141
- var defaultOptions = JSONSchemaUtils_1.pickFieldFromJSONSchema(vizConfig.optionsSchema, 'default');
1139
+ var SanitizedReactViz = (0, SanitizeProps_1.withSanitizedProps)(ReactViz);
1140
+ var defaultOptions = (0, JSONSchemaUtils_1.pickFieldFromJSONSchema)(vizConfig.optionsSchema, 'default');
1142
1141
  var DashboardViz = function DashboardViz(props) {
1143
1142
  var _a;
1144
1143
  var mode = props.mode,
@@ -1173,19 +1172,19 @@ var withDashboardViz = function withDashboardViz(opts) {
1173
1172
  return (_b = (_a = vizConfig.themes)[themeVar]) === null || _b === void 0 ? void 0 : _b.call(_a, props);
1174
1173
  };
1175
1174
  var bgColorFromTheme = themeFunc('defaultBackgroundColor');
1176
- var _getSettingsFromTheme = getSettingsFromThemedProps_1.default({
1175
+ var _ref = (0, getSettingsFromThemedProps_1.default)({
1177
1176
  theme: theme
1178
1177
  }),
1179
- currentThemeFamily = _getSettingsFromTheme.family,
1180
- currentThemeColorScheme = _getSettingsFromTheme.colorScheme,
1181
- currentThemeDensity = _getSettingsFromTheme.density;
1178
+ currentThemeFamily = _ref.family,
1179
+ currentThemeColorScheme = _ref.colorScheme,
1180
+ currentThemeDensity = _ref.density;
1182
1181
  var evaluatedOptions = {}; // evaluatedOptions need to be initialized as an empty object
1183
1182
  var _React$useState = React.useState({}),
1184
1183
  _React$useState2 = _slicedToArray(_React$useState, 2),
1185
1184
  evaluatedOptionsAsync = _React$useState2[0],
1186
1185
  setEvaluatedOptionsAsync = _React$useState2[1]; // evaluatedOptions need to be initialized as an empty object
1187
1186
  var featureFlagContext = React.useContext(FeatureFlagContext_1.default);
1188
- var _React$useState3 = React.useState("".concat(vizConfig.name, " - ").concat(id_1.createGUID())),
1187
+ var _React$useState3 = React.useState("".concat(vizConfig.name, " - ").concat((0, id_1.createGUID)())),
1189
1188
  _React$useState4 = _slicedToArray(_React$useState3, 1),
1190
1189
  visualizationID = _React$useState4[0];
1191
1190
  var _React$useState5 = React.useState({}),
@@ -1196,16 +1195,17 @@ var withDashboardViz = function withDashboardViz(opts) {
1196
1195
  _React$useState8 = _slicedToArray(_React$useState7, 2),
1197
1196
  dataFramesInState = _React$useState8[0],
1198
1197
  setDataFramesInState = _React$useState8[1];
1199
- var _React$useState9 = React.useState(Boolean(featureFlagContext && featureFlagContext.visualizations_useWebWorkersForDSL && typeof Worker !== 'undefined')),
1198
+ var _React$useState9 = React.useState(Boolean(featureFlagContext === null || featureFlagContext === void 0 ? void 0 : featureFlagContext.visualizations_useWebWorkersForDSL)),
1200
1199
  _React$useState10 = _slicedToArray(_React$useState9, 2),
1201
1200
  useAsyncEvaluatedOptions = _React$useState10[0],
1202
1201
  setUseAsyncEvaluatedOptions = _React$useState10[1];
1203
- evaluatedOptions = useDeepMemo_1.useDeepMemo(function () {
1202
+ var isMounted = React.useRef(true);
1203
+ evaluatedOptions = (0, useDeepMemo_1.useDeepMemo)(function () {
1204
1204
  try {
1205
1205
  if (useAsyncEvaluatedOptions) {
1206
1206
  var optionsToEvaluate = {
1207
- context: lodash_1.defaultsDeep({}, context, vizConfig.defaultContext),
1208
- options: hocUtils_1.deepMergeWithArrayPrimitiveOverrides({}, options, defaultOptions)
1207
+ context: (0, lodash_1.defaultsDeep)({}, context, vizConfig.defaultContext),
1208
+ options: (0, hocUtils_1.deepMergeWithArrayPrimitiveOverrides)({}, options, defaultOptions)
1209
1209
  };
1210
1210
  var asyncDynamicOptionsEvaluatorParams = {
1211
1211
  visualizationID: visualizationID,
@@ -1216,10 +1216,10 @@ var withDashboardViz = function withDashboardViz(opts) {
1216
1216
  };
1217
1217
  async_dynamic_options_evaluator_1.default.evaluate(asyncDynamicOptionsEvaluatorParams).then(function (results) {
1218
1218
  setEvaluatedOptionsAsync(results.results);
1219
- }).catch(function (e) {
1220
- // eslint-disable-next-line no-console
1221
- console.error("unexpected error evaluating options - async: ".concat(e.message));
1222
- setUseAsyncEvaluatedOptions(false);
1219
+ }).catch(function () {
1220
+ if (isMounted.current) {
1221
+ setUseAsyncEvaluatedOptions(false);
1222
+ }
1223
1223
  });
1224
1224
  } else {
1225
1225
  var dataFrames = dataFramesInState;
@@ -1229,8 +1229,8 @@ var withDashboardViz = function withDashboardViz(opts) {
1229
1229
  setDataFramesInState(dataFrames);
1230
1230
  }
1231
1231
  return Options_1.Options.evaluate({
1232
- context: lodash_1.defaultsDeep({}, context, vizConfig.defaultContext),
1233
- options: hocUtils_1.deepMergeWithArrayPrimitiveOverrides({}, options, defaultOptions)
1232
+ context: (0, lodash_1.defaultsDeep)({}, context, vizConfig.defaultContext),
1233
+ options: (0, hocUtils_1.deepMergeWithArrayPrimitiveOverrides)({}, options, defaultOptions)
1234
1234
  }, dataSources, themeFunc, dataFrames);
1235
1235
  }
1236
1236
  } catch (e) {
@@ -1259,6 +1259,7 @@ var withDashboardViz = function withDashboardViz(opts) {
1259
1259
  React.useEffect(function () {
1260
1260
  return function () {
1261
1261
  if (useAsyncEvaluatedOptions) {
1262
+ isMounted.current = false;
1262
1263
  async_dynamic_options_evaluator_1.default.reset(visualizationID);
1263
1264
  }
1264
1265
  };
@@ -1268,7 +1269,7 @@ var withDashboardViz = function withDashboardViz(opts) {
1268
1269
  var _vizConfig$requiredPr = vizConfig.requiredProps,
1269
1270
  requiredProps = _vizConfig$requiredPr === void 0 ? [] : _vizConfig$requiredPr,
1270
1271
  supports = vizConfig.supports;
1271
- var missing = MissingPropsMessage_1.missingKeys(requiredProps, evaluatedOptionsToUse);
1272
+ var missing = (0, MissingPropsMessage_1.missingKeys)(requiredProps, evaluatedOptionsToUse);
1272
1273
  if (missing.length > 0 && supports.includes(VizBehavior_1.VizBehavior.PLACEHOLDER) && vizConfig.key !== 'splunk.singlevalue' // For SV missing props msg is not displayed if required props majorValue is missing, instead this will be handled from the component, instead handled within component
1273
1274
  ) {
1274
1275
  return React.createElement(MissingPropsMessage_1.default, {
@@ -1284,7 +1285,7 @@ var withDashboardViz = function withDashboardViz(opts) {
1284
1285
  if (hasEventHandlers && mode === 'view' && vizConfig.supports.indexOf(VizBehavior_1.VizBehavior.EVENTS) > -1) {
1285
1286
  var supportedEvents = vizConfig.events;
1286
1287
  Object.keys(supportedEvents).forEach(function (eventName) {
1287
- var eventCallbackPropName = lodash_1.camelCase("on.".concat(eventName));
1288
+ var eventCallbackPropName = (0, lodash_1.camelCase)("on.".concat(eventName));
1288
1289
  eventCallbackProps[eventCallbackPropName] = null;
1289
1290
  // todo: refactor single value and single value icon to send payload from viz
1290
1291
  // then remove these lines
@@ -1327,19 +1328,19 @@ var withDashboardViz = function withDashboardViz(opts) {
1327
1328
  */
1328
1329
  var dataSourceMetadata = {};
1329
1330
  var OptionKey = 'paginateDataSourceKey';
1330
- var paginateDataSourceKey = lodash_1.has(evaluatedOptionsToUse, OptionKey) && evaluatedOptionsToUse[OptionKey] || 'primary';
1331
- if (vizConfig.supports.indexOf(VizBehavior_1.VizBehavior.PAGE_AND_SORT) > -1 && lodash_1.has(dataSources, paginateDataSourceKey)) {
1332
- var requestParams = lodash_1.get(dataSources, [paginateDataSourceKey, 'requestParams'], {});
1333
- var meta = lodash_1.get(dataSources, [paginateDataSourceKey, 'meta'], {});
1331
+ var paginateDataSourceKey = (0, lodash_1.has)(evaluatedOptionsToUse, OptionKey) && evaluatedOptionsToUse[OptionKey] || 'primary';
1332
+ if (vizConfig.supports.indexOf(VizBehavior_1.VizBehavior.PAGE_AND_SORT) > -1 && (0, lodash_1.has)(dataSources, paginateDataSourceKey)) {
1333
+ var requestParams = (0, lodash_1.get)(dataSources, [paginateDataSourceKey, 'requestParams'], {});
1334
+ var meta = (0, lodash_1.get)(dataSources, [paginateDataSourceKey, 'meta'], {});
1334
1335
  var handleRequestParamsChange = function handleRequestParamsChange(payload) {
1335
1336
  return onRequestParamsChange(paginateDataSourceKey, payload);
1336
1337
  };
1337
- var sortParams = getSorting_1.getSortingParams({
1338
+ var sortParams = (0, getSorting_1.getSortingParams)({
1338
1339
  requestParams: requestParams,
1339
1340
  meta: meta,
1340
1341
  onRequestParamsChange: handleRequestParamsChange
1341
1342
  });
1342
- var paginatorParams = getPagination_1.getPaginationParams({
1343
+ var paginatorParams = (0, getPagination_1.getPaginationParams)({
1343
1344
  requestParams: requestParams,
1344
1345
  meta: meta,
1345
1346
  onRequestParamsChange: handleRequestParamsChange
@@ -1367,7 +1368,7 @@ var withDashboardViz = function withDashboardViz(opts) {
1367
1368
  // attach viz config
1368
1369
  DashboardViz.config = vizConfig;
1369
1370
  // @ts-ignore: TODO fix sc upgrade TS issues
1370
- return styled_components_1.withTheme(withPlaceholder_1.default(withEditModeCover_1.default(DashboardViz, disableEditModeCover), useIconPlaceholder));
1371
+ return (0, styled_components_1.withTheme)((0, withPlaceholder_1.default)((0, withEditModeCover_1.default)(DashboardViz, disableEditModeCover), useIconPlaceholder));
1371
1372
  };
1372
1373
  exports.default = withDashboardViz;
1373
1374
 
@@ -1611,8 +1612,8 @@ var lodash_1 = __webpack_require__(3);
1611
1612
  * @param dependencies an array of dependencies
1612
1613
  */
1613
1614
  var useDeepMemo = function useDeepMemo(fn, dependencies) {
1614
- var ref = react_1.useRef();
1615
- if (!ref.current || !lodash_1.isEqual(dependencies, ref.current.dependencies)) {
1615
+ var ref = (0, react_1.useRef)();
1616
+ if (!ref.current || !(0, lodash_1.isEqual)(dependencies, ref.current.dependencies)) {
1616
1617
  ref.current = {
1617
1618
  dependencies: dependencies,
1618
1619
  value: fn()
@@ -1656,7 +1657,7 @@ exports.isMissing = isMissing;
1656
1657
  */
1657
1658
  var missingKeys = function missingKeys(keys, target) {
1658
1659
  return keys.filter(function (k) {
1659
- return exports.isMissing(target[k]);
1660
+ return (0, exports.isMissing)(target[k]);
1660
1661
  });
1661
1662
  };
1662
1663
  exports.missingKeys = missingKeys;
@@ -1680,7 +1681,7 @@ var MissingPropsMessage = function MissingPropsMessage(props) {
1680
1681
  "data-test": "message",
1681
1682
  width: width,
1682
1683
  height: height,
1683
- message: i18n_1._("Missing property: ".concat(missingProps.join(', ')))
1684
+ message: (0, i18n_1._)("Missing property: ".concat(missingProps.join(', ')))
1684
1685
  });
1685
1686
  };
1686
1687
  exports.MissingPropsMessage = MissingPropsMessage;
@@ -1689,11 +1690,11 @@ exports.MissingPropsMessage.defaultProps = {
1689
1690
  width: '100%',
1690
1691
  height: 250
1691
1692
  };
1692
- exports.default = FixedSizeContainer_1.default(exports.MissingPropsMessage);
1693
+ exports.default = (0, FixedSizeContainer_1.default)(exports.MissingPropsMessage);
1693
1694
 
1694
1695
  /***/ }),
1695
1696
 
1696
- /***/ 452:
1697
+ /***/ 455:
1697
1698
  /***/ (function(module, exports, __webpack_require__) {
1698
1699
 
1699
1700
  "use strict";
@@ -1701,12 +1702,16 @@ exports.default = FixedSizeContainer_1.default(exports.MissingPropsMessage);
1701
1702
 
1702
1703
  var __createBinding = this && this.__createBinding || (Object.create ? function (o, m, k, k2) {
1703
1704
  if (k2 === undefined) k2 = k;
1704
- Object.defineProperty(o, k2, {
1705
- enumerable: true,
1706
- get: function get() {
1707
- return m[k];
1708
- }
1709
- });
1705
+ var desc = Object.getOwnPropertyDescriptor(m, k);
1706
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
1707
+ desc = {
1708
+ enumerable: true,
1709
+ get: function get() {
1710
+ return m[k];
1711
+ }
1712
+ };
1713
+ }
1714
+ Object.defineProperty(o, k2, desc);
1710
1715
  } : function (o, m, k, k2) {
1711
1716
  if (k2 === undefined) k2 = k;
1712
1717
  o[k2] = m[k];
@@ -1720,8 +1725,8 @@ Object.defineProperty(exports, "__esModule", {
1720
1725
  value: true
1721
1726
  });
1722
1727
  exports.default = void 0;
1723
- __exportStar(__webpack_require__(162), exports);
1724
- var Rectangle_1 = __webpack_require__(162);
1728
+ __exportStar(__webpack_require__(165), exports);
1729
+ var Rectangle_1 = __webpack_require__(165);
1725
1730
  Object.defineProperty(exports, "default", {
1726
1731
  enumerable: true,
1727
1732
  get: function get() {
@@ -1731,7 +1736,7 @@ Object.defineProperty(exports, "default", {
1731
1736
 
1732
1737
  /***/ }),
1733
1738
 
1734
- /***/ 453:
1739
+ /***/ 456:
1735
1740
  /***/ (function(module, exports, __webpack_require__) {
1736
1741
 
1737
1742
  "use strict";
@@ -1744,15 +1749,15 @@ exports.optionsSchema = void 0;
1744
1749
  var visualization_icons_1 = __webpack_require__(52);
1745
1750
  var schemaUtils_1 = __webpack_require__(16);
1746
1751
  var i18n_1 = __webpack_require__(2);
1747
- var PresetPalettes_1 = __webpack_require__(60);
1748
- var themes_1 = __webpack_require__(59);
1752
+ var PresetPalettes_1 = __webpack_require__(61);
1753
+ var themes_1 = __webpack_require__(60);
1749
1754
  var VizBehavior_1 = __webpack_require__(6);
1750
1755
  var VizCategory_1 = __webpack_require__(35);
1751
1756
  var configUtils_1 = __webpack_require__(20);
1752
- var DynamicFillColorEditor_1 = __webpack_require__(113);
1753
- var DynamicStrokeColorEditor_1 = __webpack_require__(114);
1754
- var StaticFillColorEditor_1 = __webpack_require__(115);
1755
- var StaticStrokeColorEditor_1 = __webpack_require__(116);
1757
+ var DynamicFillColorEditor_1 = __webpack_require__(114);
1758
+ var DynamicStrokeColorEditor_1 = __webpack_require__(115);
1759
+ var StaticFillColorEditor_1 = __webpack_require__(116);
1760
+ var StaticStrokeColorEditor_1 = __webpack_require__(117);
1756
1761
  var dataContract = {
1757
1762
  requiredDataSources: [],
1758
1763
  optionalDataSources: [{
@@ -1869,7 +1874,7 @@ exports.optionsSchema = {
1869
1874
  description: 'Specifies the shape to be used at the corners of paths when they are joined.',
1870
1875
  type: 'string',
1871
1876
  default: 'miter',
1872
- pattern: schemaUtils_1.getPattern(['arcs', 'bevel', 'miter', 'miter-clip', 'round'])
1877
+ pattern: (0, schemaUtils_1.getPattern)(['arcs', 'bevel', 'miter', 'miter-clip', 'round'])
1873
1878
  },
1874
1879
  strokeOpacity: {
1875
1880
  description: 'Specify the opacity of the stroke. Choose a number in the range of 0 - 1 (inclusive). You can also express the value as a percentage. For example, "0.80" in source or "80%" in UI.',
@@ -1884,7 +1889,7 @@ exports.optionsSchema = {
1884
1889
  };
1885
1890
  var themes = {
1886
1891
  defaultFillColor: function defaultFillColor(props) {
1887
- return themes_1.pick({
1892
+ return (0, themes_1.pick)({
1888
1893
  enterprise: {
1889
1894
  dark: themes_1.variables.gray25(props),
1890
1895
  light: themes_1.variables.gray80(props)
@@ -1893,7 +1898,7 @@ var themes = {
1893
1898
  })(props);
1894
1899
  },
1895
1900
  defaultStrokeColor: function defaultStrokeColor(props) {
1896
- return themes_1.pick({
1901
+ return (0, themes_1.pick)({
1897
1902
  enterprise: {
1898
1903
  dark: themes_1.variables.gray80(props),
1899
1904
  light: themes_1.variables.gray30(props)
@@ -1912,14 +1917,14 @@ var basePresetOptions = {
1912
1917
  };
1913
1918
  var presets = [{
1914
1919
  // dummy context variables to allow for resetting of unused context states
1915
- label: i18n_1._('None'),
1920
+ label: (0, i18n_1._)('None'),
1916
1921
  name: 'rectangle.none',
1917
1922
  value: {
1918
1923
  context: Object.assign({}, basePresetContext),
1919
1924
  options: Object.assign({}, basePresetOptions)
1920
1925
  }
1921
1926
  }, {
1922
- label: i18n_1._('Fill'),
1927
+ label: (0, i18n_1._)('Fill'),
1923
1928
  name: 'rectangle.fill',
1924
1929
  value: {
1925
1930
  context: Object.assign(Object.assign({}, basePresetContext), {
@@ -1931,7 +1936,7 @@ var presets = [{
1931
1936
  })
1932
1937
  }
1933
1938
  }, {
1934
- label: i18n_1._('Stroke'),
1939
+ label: (0, i18n_1._)('Stroke'),
1935
1940
  name: 'rectangle.stroke',
1936
1941
  value: {
1937
1942
  context: Object.assign(Object.assign({}, basePresetContext), {
@@ -1943,7 +1948,7 @@ var presets = [{
1943
1948
  })
1944
1949
  }
1945
1950
  }, {
1946
- label: i18n_1._('Fill and Stroke'),
1951
+ label: (0, i18n_1._)('Fill and Stroke'),
1947
1952
  name: 'rectangle.fillAndStroke',
1948
1953
  value: {
1949
1954
  context: Object.assign(Object.assign({}, basePresetContext), {
@@ -1959,9 +1964,9 @@ var presets = [{
1959
1964
  }
1960
1965
  }];
1961
1966
  var editorConfig = [{
1962
- label: i18n_1._('Color and style'),
1967
+ label: (0, i18n_1._)('Color and style'),
1963
1968
  layout: [[{
1964
- label: i18n_1._('Dynamic elements'),
1969
+ label: (0, i18n_1._)('Dynamic elements'),
1965
1970
  key: 'presetSelector',
1966
1971
  editor: 'editor.presetSelector',
1967
1972
  editorProps: {
@@ -1969,7 +1974,7 @@ var editorConfig = [{
1969
1974
  value: function value(_ref) {
1970
1975
  var context = _ref.context,
1971
1976
  options = _ref.options;
1972
- var initialPreset = configUtils_1.getInitialPreset(context, options, presets);
1977
+ var initialPreset = (0, configUtils_1.getInitialPreset)(context, options, presets);
1973
1978
  return initialPreset && initialPreset.label || null;
1974
1979
  }
1975
1980
  }
@@ -1977,46 +1982,46 @@ var editorConfig = [{
1977
1982
  editorProps: {
1978
1983
  themes: themes
1979
1984
  }
1980
- })], [DynamicFillColorEditor_1.getDynamicFillColorEditor({
1985
+ })], [(0, DynamicFillColorEditor_1.getDynamicFillColorEditor)({
1981
1986
  defaultContext: defaultContext,
1982
1987
  defaultPalettesConfig: PresetPalettes_1.defaultPalettesConfig
1983
1988
  })], [Object.assign(Object.assign({}, StaticStrokeColorEditor_1.default), {
1984
1989
  editorProps: {
1985
1990
  themes: themes
1986
1991
  }
1987
- })], [DynamicStrokeColorEditor_1.getDynamicStrokeColorEditor({
1992
+ })], [(0, DynamicStrokeColorEditor_1.getDynamicStrokeColorEditor)({
1988
1993
  defaultContext: defaultContext,
1989
1994
  defaultPalettesConfig: PresetPalettes_1.defaultPalettesConfig
1990
1995
  })], [{
1991
- label: i18n_1._('Fill opacity (%)'),
1996
+ label: (0, i18n_1._)('Fill opacity (%)'),
1992
1997
  option: 'fillOpacity',
1993
1998
  editor: 'editor.percent',
1994
1999
  editorProps: {
1995
2000
  min: 0
1996
2001
  }
1997
2002
  }, {
1998
- label: i18n_1._('Stroke opacity (%)'),
2003
+ label: (0, i18n_1._)('Stroke opacity (%)'),
1999
2004
  option: 'strokeOpacity',
2000
2005
  editor: 'editor.percent',
2001
2006
  editorProps: {
2002
2007
  min: 0
2003
2008
  }
2004
2009
  }], [{
2005
- label: i18n_1._('Stroke width'),
2010
+ label: (0, i18n_1._)('Stroke width'),
2006
2011
  option: 'strokeWidth',
2007
2012
  editor: 'editor.number',
2008
2013
  editorProps: {
2009
2014
  min: 0
2010
2015
  }
2011
2016
  }, {
2012
- label: i18n_1._('Stroke dash style'),
2017
+ label: (0, i18n_1._)('Stroke dash style'),
2013
2018
  option: 'strokeDashStyle',
2014
2019
  editor: 'editor.number',
2015
2020
  editorProps: {
2016
2021
  min: 0
2017
2022
  }
2018
2023
  }], [{
2019
- label: i18n_1._('Radius (px)'),
2024
+ label: (0, i18n_1._)('Radius (px)'),
2020
2025
  option: 'rx',
2021
2026
  editor: 'editor.number',
2022
2027
  editorProps: {
@@ -2035,7 +2040,7 @@ var config = {
2035
2040
  /**
2036
2041
  * viz name
2037
2042
  */
2038
- name: i18n_1._('Rectangle'),
2043
+ name: (0, i18n_1._)('Rectangle'),
2039
2044
  category: VizCategory_1.VizCategory.SHAPES,
2040
2045
  /**
2041
2046
  * viz icon
@@ -2055,7 +2060,7 @@ var config = {
2055
2060
  }
2056
2061
  }
2057
2062
  };
2058
- exports.default = configUtils_1.enhanceConfig(config);
2063
+ exports.default = (0, configUtils_1.enhanceConfig)(config);
2059
2064
 
2060
2065
  /***/ }),
2061
2066
 
@@ -2076,7 +2081,7 @@ var Cover = styled_components_1.default.div.withConfig({
2076
2081
  componentId: "sc-1gsbnxb-0"
2077
2082
  })(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
2078
2083
  var Blocker = styled_components_1.default.div.attrs({
2079
- 'data-splunk-visualization-version': "25.13.1 - ea48ec41e"
2084
+ 'data-splunk-visualization-version': "26.0.0 - 2f7458907"
2080
2085
  }).withConfig({
2081
2086
  displayName: "withEditModeCover__Blocker",
2082
2087
  componentId: "sc-1gsbnxb-1"
@@ -2095,7 +2100,7 @@ var withEditModeCover = function withEditModeCover(Visualization, disableEditMod
2095
2100
  "data-test": "edit-mode-cover"
2096
2101
  }));
2097
2102
  };
2098
- hocUtils_1.extendStaticWrapperProps({
2103
+ (0, hocUtils_1.extendStaticWrapperProps)({
2099
2104
  Wrapper: Wrapper,
2100
2105
  Visualization: Visualization
2101
2106
  });
@@ -2117,7 +2122,7 @@ Object.defineProperty(exports, "__esModule", {
2117
2122
  var React = __webpack_require__(1);
2118
2123
  var colorUtils_1 = __webpack_require__(12);
2119
2124
  var variables_1 = __webpack_require__(11);
2120
- var IconPlaceholder_1 = __webpack_require__(31);
2125
+ var IconPlaceholder_1 = __webpack_require__(32);
2121
2126
  var VizBehavior_1 = __webpack_require__(6);
2122
2127
  var hocUtils_1 = __webpack_require__(15);
2123
2128
  var withPlaceholder = function withPlaceholder(Visualization) {
@@ -2132,7 +2137,7 @@ var withPlaceholder = function withPlaceholder(Visualization) {
2132
2137
  height = props.height,
2133
2138
  width = props.width;
2134
2139
  var showPlaceholder = useIconPlaceholder(dataSources, loading, options);
2135
- 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);
2140
+ var bgColorFromTheme = (0, 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);
2136
2141
  var icon = (_b = config.placeholderIcon) !== null && _b !== void 0 ? _b : config.icon;
2137
2142
  var iconColor = variables_1.default.contentColorActive(props);
2138
2143
  if (config.supports.includes(VizBehavior_1.VizBehavior.PLACEHOLDER) && showPlaceholder) {
@@ -2147,7 +2152,7 @@ var withPlaceholder = function withPlaceholder(Visualization) {
2147
2152
  }
2148
2153
  return React.createElement(Visualization, Object.assign({}, props));
2149
2154
  };
2150
- hocUtils_1.extendStaticWrapperProps({
2155
+ (0, hocUtils_1.extendStaticWrapperProps)({
2151
2156
  Wrapper: Wrapper,
2152
2157
  Visualization: Visualization
2153
2158
  });
@@ -2167,7 +2172,7 @@ module.exports = require("@splunk/visualization-icons");
2167
2172
  /***/ 59:
2168
2173
  /***/ (function(module, exports) {
2169
2174
 
2170
- module.exports = require("@splunk/themes");
2175
+ module.exports = require("@babel/runtime/helpers/taggedTemplateLiteral");
2171
2176
 
2172
2177
  /***/ }),
2173
2178
 
@@ -2211,6 +2216,13 @@ var VizBehavior;
2211
2216
  /***/ 60:
2212
2217
  /***/ (function(module, exports) {
2213
2218
 
2219
+ module.exports = require("@splunk/themes");
2220
+
2221
+ /***/ }),
2222
+
2223
+ /***/ 61:
2224
+ /***/ (function(module, exports) {
2225
+
2214
2226
  module.exports = require("@splunk/visualization-color-palettes/editors/PresetPalettes");
2215
2227
 
2216
2228
  /***/ }),