@splunk/visualizations 23.4.1 → 23.5.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 (76) hide show
  1. package/Area.config.js +18 -17
  2. package/Area.config.js.map +1 -1
  3. package/Area.js +13 -12
  4. package/Area.js.map +1 -1
  5. package/Bar.config.js +11 -10
  6. package/Bar.config.js.map +1 -1
  7. package/Bar.js +6 -5
  8. package/Bar.js.map +1 -1
  9. package/Bubble.config.js +11 -10
  10. package/Bubble.config.js.map +1 -1
  11. package/Bubble.js +6 -5
  12. package/Bubble.js.map +1 -1
  13. package/ChoroplethSvg.js +7 -7
  14. package/ChoroplethSvg.js.map +1 -1
  15. package/Column.config.js +11 -10
  16. package/Column.config.js.map +1 -1
  17. package/Column.js +6 -5
  18. package/Column.js.map +1 -1
  19. package/Ellipse.config.js +9 -9
  20. package/Ellipse.config.js.map +1 -1
  21. package/Ellipse.js +11 -11
  22. package/Ellipse.js.map +1 -1
  23. package/FillerGauge.config.js +9 -8
  24. package/FillerGauge.config.js.map +1 -1
  25. package/FillerGauge.js +14 -13
  26. package/FillerGauge.js.map +1 -1
  27. package/Line.config.js +18 -17
  28. package/Line.config.js.map +1 -1
  29. package/Line.js +13 -12
  30. package/Line.js.map +1 -1
  31. package/LinkGraph.config.js +2 -2
  32. package/LinkGraph.js +15 -15
  33. package/LinkGraph.js.map +1 -1
  34. package/Markdown.config.js +91 -1
  35. package/Markdown.config.js.map +1 -1
  36. package/Markdown.js +110 -7
  37. package/Markdown.js.map +1 -1
  38. package/MarkerGauge.config.js +39 -3
  39. package/MarkerGauge.config.js.map +1 -1
  40. package/MarkerGauge.js +47 -13
  41. package/MarkerGauge.js.map +1 -1
  42. package/ParallelCoordinates.config.js +12 -11
  43. package/ParallelCoordinates.config.js.map +1 -1
  44. package/ParallelCoordinates.js +11 -10
  45. package/ParallelCoordinates.js.map +1 -1
  46. package/Pie.config.js +12 -11
  47. package/Pie.config.js.map +1 -1
  48. package/Pie.js +6 -5
  49. package/Pie.js.map +1 -1
  50. package/Punchcard.config.js +12 -11
  51. package/Punchcard.config.js.map +1 -1
  52. package/Punchcard.js +22 -21
  53. package/Punchcard.js.map +1 -1
  54. package/Rectangle.config.js +16 -16
  55. package/Rectangle.config.js.map +1 -1
  56. package/Rectangle.js +18 -18
  57. package/Rectangle.js.map +1 -1
  58. package/Sankey.config.js +14 -13
  59. package/Sankey.config.js.map +1 -1
  60. package/Sankey.js +24 -23
  61. package/Sankey.js.map +1 -1
  62. package/Scatter.config.js +12 -11
  63. package/Scatter.config.js.map +1 -1
  64. package/Scatter.js +8 -7
  65. package/Scatter.js.map +1 -1
  66. package/SingleValue.js +8 -8
  67. package/SingleValue.js.map +1 -1
  68. package/SingleValueBasic.js +5 -5
  69. package/SingleValueBasic.js.map +1 -1
  70. package/SingleValueIcon.js +6 -6
  71. package/SingleValueIcon.js.map +1 -1
  72. package/SingleValueRadial.js +6 -6
  73. package/SingleValueRadial.js.map +1 -1
  74. package/Table.js +17 -18
  75. package/Table.js.map +1 -1
  76. package/package.json +10 -9
package/Scatter.config.js CHANGED
@@ -292,13 +292,6 @@ exports.generatePrecisionValues = generatePrecisionValues;
292
292
  /***/ }),
293
293
 
294
294
  /***/ 10:
295
- /***/ (function(module, exports) {
296
-
297
- module.exports = require("@splunk/visualization-color-palettes");
298
-
299
- /***/ }),
300
-
301
- /***/ 11:
302
295
  /***/ (function(module, exports, __webpack_require__) {
303
296
 
304
297
  "use strict";
@@ -311,10 +304,11 @@ Object.defineProperty(exports, "__esModule", {
311
304
  var i18n_1 = __webpack_require__(0);
312
305
 
313
306
  var background = function background(_ref) {
314
- var themes = _ref.themes,
307
+ var label = _ref.label,
308
+ themes = _ref.themes,
315
309
  labelPosition = _ref.labelPosition;
316
310
  return [{
317
- label: i18n_1._('Background'),
311
+ label: i18n_1._(label || 'Background'),
318
312
  option: 'backgroundColor',
319
313
  editor: 'editor.color',
320
314
  editorProps: {
@@ -328,6 +322,13 @@ exports.default = background;
328
322
 
329
323
  /***/ }),
330
324
 
325
+ /***/ 11:
326
+ /***/ (function(module, exports) {
327
+
328
+ module.exports = require("@splunk/visualization-color-palettes");
329
+
330
+ /***/ }),
331
+
331
332
  /***/ 13:
332
333
  /***/ (function(module, exports, __webpack_require__) {
333
334
 
@@ -517,7 +518,7 @@ var variables_1 = __webpack_require__(8);
517
518
 
518
519
  var schemaUtils_1 = __webpack_require__(3);
519
520
 
520
- var visualization_color_palettes_1 = __webpack_require__(10);
521
+ var visualization_color_palettes_1 = __webpack_require__(11);
521
522
 
522
523
  var i18n_1 = __webpack_require__(0);
523
524
 
@@ -531,7 +532,7 @@ var Axes_1 = __webpack_require__(13);
531
532
 
532
533
  var Legend_1 = __webpack_require__(14);
533
534
 
534
- var BackgroundColor_1 = __webpack_require__(11);
535
+ var BackgroundColor_1 = __webpack_require__(10);
535
536
 
536
537
  var dataContract = {
537
538
  requiredDataSources: [{
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///external \"@splunk/ui-utils/i18n\"","webpack:///./src/common/utils/configUtils.ts","webpack:///external \"@splunk/visualization-color-palettes\"","webpack:///./src/common/editorConfig/BackgroundColor.ts","webpack:///./src/common/editorConfig/Axes.ts","webpack:///./src/common/editorConfig/Legend.ts","webpack:///./src/common/interfaces/VizBehavior.ts","webpack:///external \"@splunk/visualizations-shared/schemaUtils\"","webpack:///external \"lodash\"","webpack:///./src/common/interfaces/VizCategory.ts","webpack:///./src/Scatter/config.ts","webpack:///external \"@babel/runtime/helpers/defineProperty\"","webpack:///external \"@splunk/themes/pick\"","webpack:///external \"@splunk/themes/variables\"","webpack:///external \"@splunk/visualization-icons\""],"names":[],"mappings":";;;;;;;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QAC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cAAY,EAAZ,YAlBsB;AAmBtB,QAAM,EAAE;AACJ,oBAAgB;AACZ,iBAAW,EAAE;AADD,KADZ;AAIJ,mBAAe;AACX,iBAAW,EAAE;AADF;AAJX,GAnBc;AA2BtB,UAAQ,EAAE,CAAC,0BAAY,eAAb,EAA8B,0BAAY,WAA1C,CA3BY;AA4BtB,QAAM,EAAN;AA5BsB,CAA1B;AA+BA,kBAAe,4BAAc,MAAd,CAAf,C;;;;;;;ACtXA,kE;;;;;;;ACAA,gD;;;;;;;ACAA,qD;;;;;;;ACAA,wD","file":"Scatter.config.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 59);\n","module.exports = require(\"@splunk/ui-utils/i18n\");","import { get, range } from 'lodash';\nimport { DYNAMIC_OPTIONS_DSL_PATTERN } from '@splunk/visualizations-shared/schemaUtils';\nimport { VizBehavior } from '../interfaces/VizBehavior';\nimport { VizConfig } from '../interfaces/VizConfig';\nimport { OptionsSchema } from '../interfaces/OptionsSchema';\nimport type { JSONSchema7Definition } from 'json-schema';\n\nexport interface PresetEntry {\n name: string;\n value: any;\n label: string;\n}\n\nconst dynamicOptionsDSLType = {\n type: 'string',\n pattern: DYNAMIC_OPTIONS_DSL_PATTERN,\n} as const;\n\n/**\n * Helper function to extend an options schema with dynamic options DSL\n * @param optionsSchema a visualization's options schema\n * @returns an updated options schema that additionally allows strings starting with > for each option\n */\nfunction enhanceOptionsSchemaWithDynamicOptions(\n optionsSchema: OptionsSchema | JSONSchema7Definition\n): OptionsSchema {\n const enhancedOptionsSchema: OptionsSchema = {};\n Object.keys(optionsSchema).forEach((key): void => {\n const {\n // The next a few are schema annotations, we should leave them as is.\n // Note: in reality we don't use `readOnly`, `writeOnly` or `examples`, but they are listed here for completeness.\n // Ref: https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01\n title,\n description,\n readOnly,\n writeOnly,\n examples,\n default: defaultValue,\n // The next a few need special care\n type,\n properties,\n patternProperties,\n // The rest should be handled together\n ...remainingSchemaEntry\n } = optionsSchema[key];\n\n const annotations = {\n ...(title !== undefined && { title }),\n ...(description !== undefined && { description }),\n ...(readOnly !== undefined && { readOnly }),\n ...(writeOnly !== undefined && { writeOnly }),\n ...(examples !== undefined && { examples }),\n ...(defaultValue !== undefined && { default: defaultValue }),\n };\n\n if (type === 'object') {\n enhancedOptionsSchema[key] = {\n ...remainingSchemaEntry,\n ...annotations,\n type,\n ...(properties && { properties: enhanceOptionsSchemaWithDynamicOptions(properties) }),\n };\n if (patternProperties) {\n let enhancedPatternProperties = {};\n Object.keys(patternProperties).forEach((key): void => {\n enhancedPatternProperties = {\n ...enhancedPatternProperties,\n ...enhanceOptionsSchemaWithDynamicOptions({ [key]: patternProperties[key] }),\n };\n });\n enhancedOptionsSchema[key].patternProperties = enhancedPatternProperties;\n }\n } else {\n enhancedOptionsSchema[key] = {\n ...annotations,\n anyOf: [\n // we can't assume `type` is always there because there are `enum` and `const`.\n { ...(type !== undefined && { type }), ...remainingSchemaEntry },\n dynamicOptionsDSLType,\n ],\n };\n }\n });\n return enhancedOptionsSchema;\n}\n\n/**\n * Helper function to enhance a Visualization Config as needed based on behaviors specified in supports block\n * @param vizConfig a Visualization Config\n * @returns an enhanced Visualization Config containing updated config entries based on behaviors it supports\n */\nfunction enhanceConfig(vizConfig: VizConfig): VizConfig {\n const enhancedConfig: VizConfig = vizConfig;\n if (vizConfig.supports.indexOf(VizBehavior.DYNAMIC_OPTIONS) !== -1) {\n enhancedConfig.optionsSchema = enhanceOptionsSchemaWithDynamicOptions(vizConfig.optionsSchema);\n }\n return enhancedConfig;\n}\n\nfunction isDynamicOption(option?: string): boolean {\n return (option && typeof option === 'string' && option.trim().startsWith('>')) || false;\n}\n\n// private helpers to improve readability of getInitialPreset\n// this shouldn't be tested since this util isn't something that we expect to use outside of getInitialPreset\n\n/**\n * this checks to make sure that all values within vizContext are compatible with the given preset's context to determine the initialPreset\n * if a preset has explicitly specified a key as being undefined, the vizContext must also has that key as undefined, or else this CANNOT be the initialPreset\n * the inverse is true; if a preset has key is NOT undefined, it must also be NOT undefined in the corresponding vizContext\n * the internal config contents are irrelevant (as the user could customize them in source), just as long as the presence of `undefined`s match up\n *\n * Since the presetConfigs have explicit undefined keys to override the existing config, we need to explicitly check the undefined values\n */\nfunction hasCompatibleContexts(\n vizContext: { [configKey: string]: any },\n presetContext: { [configKey: string]: any }\n): boolean {\n const presetContextKeys = Object.keys(presetContext);\n return presetContextKeys.every(\n (contextKey): boolean =>\n (presetContext[contextKey] === undefined && vizContext[contextKey] === undefined) ||\n (presetContext[contextKey] !== undefined && vizContext[contextKey] !== undefined)\n );\n}\n\n/**\n * Checks to make sure that dynamic (non-dynamic) options in a given preset are also dynamic (non-dynamic) in the vizOptions\n */\nfunction hasCompatibleOptions(\n vizOptions: { [configKey: string]: any },\n presetOptions: { [configKey: string]: any }\n): boolean {\n const presetOptionKeys = Object.keys(presetOptions);\n return presetOptionKeys.every(\n (optionKey): boolean =>\n isDynamicOption(presetOptions[optionKey]) === isDynamicOption(vizOptions[optionKey])\n );\n}\n\n/**\n * Evaluates whether there is an initialPreset that fits the current state of vizContext + vizOptions\n * This function ignores extraneous vizOptions or vizContext keys, as they could be outside the scope of what the preset is intended to configure\n *\n * @param {Object} vizContext - the current vizContext definition\n * @param {Object} vizOptions - the current vizOptions definition\n * @param {PresetEntry[]} presets - the list of presets, one of which can be considered an initialPreset\n */\nfunction getInitialPreset(\n vizContext: { [configKey: string]: any },\n vizOptions: { [configKey: string]: any },\n presets: PresetEntry[]\n): PresetEntry | null {\n return presets.find((preset): boolean => {\n const presetContext = get(preset, ['value', 'context'], {});\n const presetOptions = get(preset, ['value', 'options'], {});\n const presetContextKeys = Object.keys(presetContext);\n const presetOptionKeys = Object.keys(presetOptions);\n\n // all presets have to explicitly specify which options to reset (i.e. need explicitly undefined keys)\n // if not, then the preset is invalid in config.ts\n if (presetContextKeys.length === 0 || presetOptionKeys.length === 0) return false;\n\n return (\n hasCompatibleContexts(vizContext, presetContext) &&\n hasCompatibleOptions(vizOptions, presetOptions)\n );\n });\n}\n\ninterface PrecisionOption {\n label: string;\n value: number;\n}\n\n/**\n * generates number precision values for a Select editor\n *\n * @param {Number} numPrecisionValues - number of integer precision values to generate\n * @returns {{ label: string; value; string }[]} array of { label, value } tuples\n */\nfunction generatePrecisionValues(numPrecisionValues: number): PrecisionOption[] {\n return range(0, numPrecisionValues + 1).map(\n (i): PrecisionOption => ({\n label: `${i} (0${i > 0 ? '.' : ''}${'0'.repeat(i)})`, // e.g. 0.000 for numPrecisionValues = 3\n value: i,\n })\n );\n}\n\nexport {\n enhanceConfig,\n enhanceOptionsSchemaWithDynamicOptions,\n isDynamicOption,\n getInitialPreset,\n generatePrecisionValues,\n};\n","module.exports = require(\"@splunk/visualization-color-palettes\");","import { _ } from '@splunk/ui-utils/i18n';\nimport { EditorLayoutConfig } from '../interfaces/Editor';\nimport { ThemedDefaults } from '../interfaces/ThemedDefaults';\n\ninterface backgroundEditorProps {\n themes: ThemedDefaults;\n labelPosition?: string;\n}\n\nconst background: ({ themes, labelPosition }: backgroundEditorProps) => EditorLayoutConfig[] = ({\n themes,\n labelPosition,\n}) => [\n {\n label: _('Background'),\n option: 'backgroundColor',\n editor: 'editor.color',\n editorProps: {\n labelPosition: labelPosition || 'top',\n themes,\n },\n },\n];\n\nexport default background;\n","import { _ } from '@splunk/ui-utils/i18n';\nimport { EditorConfig } from '../interfaces/Editor';\n\nconst axes: EditorConfig = {\n label: _('Axes'),\n layout: [\n [\n {\n label: _('X Axis title'),\n option: 'xAxisTitleText',\n editor: 'editor.text',\n },\n ],\n [\n {\n label: _('Y Axis title'),\n option: 'yAxisTitleText',\n editor: 'editor.text',\n },\n ],\n ],\n};\n\nexport default axes;\n","import { _ } from '@splunk/ui-utils/i18n';\nimport { EditorConfig } from '../interfaces/Editor';\n\nconst legend: EditorConfig = {\n label: _('Legend'),\n layout: [\n [\n {\n label: _('Position'),\n option: 'legendDisplay',\n editor: 'editor.select',\n editorProps: {\n values: [\n { label: _('Right'), value: 'right' },\n { label: _('Left'), value: 'left' },\n { label: _('Top'), value: 'top' },\n { label: _('Bottom'), value: 'bottom' },\n { label: _('Off'), value: 'off' },\n ],\n },\n },\n ],\n [\n {\n label: _('Truncation'),\n option: 'legendTruncation',\n editor: 'editor.radioBar',\n editorProps: {\n values: [\n { label: _('A...'), value: 'ellipsisEnd' },\n { label: _('A...Z'), value: 'ellipsisMiddle' },\n { label: _('...Z'), value: 'ellipsisStart' },\n { label: _('Off'), value: 'ellipsisOff' },\n ],\n },\n },\n ],\n ],\n};\n\nexport default legend;\n","export enum VizBehavior {\n /**\n * Dynamic Options Behavior.\n * This allows visualization options to be powered by data\n *\n * **Example**\n *\n * sparklineValues: \">primary|seriesByIndex(0)\"\n * would configure sparklineValues with an array of data points\n * coming from the first series in the primary datasource\n *\n */\n DYNAMIC_OPTIONS = 'dynamic-options',\n EVENTS = 'events',\n /**\n * Placeholder behavior: visualization will display a placeholder rather than fail if any of the `requiredProps` is\n * missing.\n * @type {string}\n */\n PLACEHOLDER = 'placeholder',\n PAGE_AND_SORT = 'page-and-sort',\n}\n","module.exports = require(\"@splunk/visualizations-shared/schemaUtils\");","module.exports = require(\"lodash\");","export enum VizCategory {\n SINGLE_VALUE = 'Single Value',\n TRENDS = 'Trends',\n COMPARISONS = 'Comparisons',\n TABLE = 'Table',\n GAUGE = 'Gauge',\n DISTRIBUTIONS = 'Distributions',\n CHOROPLETH = 'Choropleth Maps',\n SHAPES = 'Shapes',\n MISC = 'misc',\n FLOW = 'Flow',\n CORRELATION = 'Correlation',\n SPATIAL = 'Spatial',\n}\n","import { Scatter as ScatterIcon } from '@splunk/visualization-icons';\nimport pick from '@splunk/themes/pick';\nimport variables from '@splunk/themes/variables';\nimport { getPattern, COLOR_OR_TOKEN_PATTERN } from '@splunk/visualizations-shared/schemaUtils';\nimport { VIZ_CATEGORICAL } from '@splunk/visualization-color-palettes';\nimport { _ } from '@splunk/ui-utils/i18n';\nimport { DataContract } from '../common/interfaces/DataContract';\nimport { DefaultContext } from '../common/interfaces/DefaultContext';\nimport { EditorConfig } from '../common/interfaces/Editor';\nimport { OptionsSchema } from '../common/interfaces/OptionsSchema';\nimport { ThemedDefaults } from '../common/interfaces/ThemedDefaults';\nimport { VizBehavior } from '../common/interfaces/VizBehavior';\nimport { VizCategory } from '../common/interfaces/VizCategory';\nimport { VizConfig } from '../common/interfaces/VizConfig';\nimport { VizSize } from '../common/interfaces/VizSize';\nimport { enhanceConfig } from '../common/utils/configUtils';\nimport AxesConfig from '../common/editorConfig/Axes';\nimport LegendConfig from '../common/editorConfig/Legend';\nimport getBackgroundColorEditor from '../common/editorConfig/BackgroundColor';\n\nconst dataContract: DataContract = {\n requiredDataSources: [\n {\n name: 'primary',\n description: 'DataSource that powers the visualization',\n },\n ],\n optionalDataSources: [\n // Note: SCP-14090 disable ui for optional datasources. We may need to add it back later\n // {\n // name: 'annotation',\n // description: 'DataSource that populate event annotations',\n // },\n ],\n initialRequestParams: {\n primary: { offset: 0, count: 10000 },\n annotation: { offset: 0, count: 10000 },\n },\n};\n\nconst size: VizSize = {\n initialWidth: 300,\n initialHeight: 300,\n};\n\nconst defaultContext: DefaultContext = {};\n\nexport const optionsSchema: OptionsSchema = {\n x: {\n default: '> primary | seriesByIndex(0)',\n description: 'Specify the dataSource applied to the x-axis.',\n type: 'array',\n items: { type: ['string', 'number'] },\n },\n y: {\n default: '> primary | seriesByIndex(1)',\n description: 'Specify the dataSource applied to the y-axis.',\n type: 'array',\n items: { type: ['string', 'number'] },\n },\n category: {\n description: 'Specify a sequence of dataSource events to be plotted on the chart.',\n type: 'array',\n items: { type: ['string', 'number'] },\n default: '> primary | seriesByIndex(2)',\n },\n xField: {\n default: '> x | getField()',\n description: 'Specify the field that should be mapped to the x-axis.',\n type: 'string',\n },\n yField: {\n default: '> y | getField()',\n description: 'Specify the field that should be mapped to the y-axis.',\n type: 'string',\n },\n categoryField: {\n default: '> category | getField()',\n description: 'Specify the field that should be mapped to the series categories.',\n type: 'string',\n },\n backgroundColor: {\n default: '> themes.defaultBackgroundColor',\n description:\n 'Specify the color used for the background. The default for enterprise light is \"#ffffff\". The default for enterprise dark is \"#000000\". The default for prisma dark is \"#0b0c0e\".',\n pattern: COLOR_OR_TOKEN_PATTERN,\n type: 'string',\n },\n legendDisplay: {\n default: 'right',\n description: 'Specify the location of the legend on the panel.',\n pattern: getPattern(['right', 'left', 'top', 'bottom', 'off']),\n type: 'string',\n },\n legendTruncation: {\n default: 'ellipsisEnd',\n description:\n 'Specify how to display legend labels when they overflow the layout boundaries by replacing overflow text with an ellipsis.',\n pattern: getPattern(['ellipsisEnd', 'ellipsisMiddle', 'ellipsisStart', 'ellipsisOff']),\n type: 'string',\n },\n markerSize: {\n description: 'Specify, in pixels, the size of each scatter marker.',\n type: 'number',\n default: 4,\n },\n resultLimit: {\n default: 50000,\n description: 'Specify the number of data points rendered in a chart.',\n type: 'number',\n },\n seriesColors: {\n default: VIZ_CATEGORICAL,\n description: 'Specify the colors used for a series. For example, [\"#FF0000\", \"#0000FF\", \"#008000\"].',\n type: 'array',\n items: { type: 'string' },\n },\n seriesColorsByField: {\n description:\n 'Specify the colors used for specific fields in a series. For example: {\"count\": \"#008000\", \"percent\": \"#FFA500\"}.',\n type: 'object',\n },\n showXAxisExtendedRange: {\n default: true,\n description: 'Specify whether the x-axis should be extended to snap to whole major tick marks.',\n type: 'boolean',\n },\n showYAxisExtendedRange: {\n default: true,\n description: 'Specify whether the y-axis should be extended to snap to whole major tick marks.',\n type: 'boolean',\n },\n showXAxisWithZero: {\n default: false,\n description: 'Specify whether the x-axis range includes zero.',\n type: 'boolean',\n },\n showYAxisWithZero: {\n default: false,\n description: 'Specify whether the y-axis range includes zero.',\n type: 'boolean',\n },\n showRoundedXAxisLabels: {\n default: false,\n description: 'Specify whether to round x-axis values to the nearest integer.',\n type: 'boolean',\n },\n // TODO: figure out if we want to change splunk-charting behavior for Bubble/Scatter, which hardcodes XMajorGridlines to false\n // showXMajorGridLines: {\n // default: false,\n // description: 'Specify whether major grid lines are visible on the x-axis.',\n // type: 'boolean',\n // },\n showYMajorGridLines: {\n default: true,\n description: 'Specify whether major grid lines are visible on the y-axis.',\n type: 'boolean',\n },\n showXMinorGridLines: {\n default: false,\n description: 'Specify whether minor grid lines are visible on the x-axis.',\n type: 'boolean',\n },\n showYMinorGridLines: {\n default: false,\n description: 'Specify whether minor grid lines are visible on the y-axis.',\n type: 'boolean',\n },\n xAxisLabelRotation: {\n default: 0,\n description: 'Specify the rotation of the x-axis labels in degrees.',\n type: 'number',\n enum: [-90, -45, 0, 45, 90],\n },\n xAxisAbbreviation: {\n default: 'off',\n description: 'Specify whether to abbreviate large x-axis values with the closest SI prefix.',\n pattern: getPattern(['auto', 'off']),\n type: 'string',\n },\n yAxisAbbreviation: {\n default: 'auto',\n description: 'Specify whether to abbreviate large y-axis values with the closest SI prefix.',\n pattern: getPattern(['auto', 'off']),\n type: 'string',\n },\n xAxisLabelVisibility: {\n default: 'auto',\n description: 'Specify whether to show or hide labels on the x-axis.',\n pattern: getPattern(['auto', 'show', 'hide']),\n type: 'string',\n },\n yAxisLabelVisibility: {\n default: 'auto',\n description: 'Specify whether to show or hide labels on the y-axis.',\n pattern: getPattern(['auto', 'show', 'hide']),\n type: 'string',\n },\n xAxisLineVisibility: {\n default: 'hide',\n description: 'Specify whether to show or hide the x-axis line.',\n pattern: getPattern(['show', 'hide']),\n type: 'string',\n },\n yAxisLineVisibility: {\n default: 'hide',\n description: 'Specify whether to show or hide the y-axis line.',\n pattern: getPattern(['show', 'hide']),\n type: 'string',\n },\n xAxisMajorTickInterval: {\n default: 'auto',\n description:\n 'Specify the spacing interval at which to place major tick marks along the numeric x-axis. By default, this value is automatically calculated based on the scale of the related axis.',\n type: ['string', 'number'],\n },\n yAxisMajorTickInterval: {\n default: 'auto',\n description:\n 'Specify the spacing interval at which to place major tick marks along the numeric y-axis. By default, this value is automatically calculated based on the scale of the related axis.',\n type: ['string', 'number'],\n },\n xAxisMajorTickSize: {\n default: 6,\n description: 'Specify the size, in pixels, of major tick marks on the x-axis.',\n type: 'number',\n },\n yAxisMajorTickSize: {\n default: 6,\n description: 'Specify the size, in pixels, of major tick marks on the y-axis.',\n type: 'number',\n },\n xAxisMinorTickSize: {\n default: 6,\n description: 'Specify the size, in pixels, of minor tick marks on the x-axis.',\n type: 'number',\n },\n yAxisMinorTickSize: {\n default: 6,\n description: 'Specify the size, in pixels, of minor tick marks on the y-axis.',\n type: 'number',\n },\n xAxisMajorTickVisibility: {\n default: 'auto',\n description: 'Specify whether to show or hide major tick marks on the x-axis.',\n pattern: getPattern(['auto', 'show', 'hide']),\n type: 'string',\n },\n yAxisMajorTickVisibility: {\n default: 'auto',\n description: 'Specify whether to show or hide major tick marks on the y-axis.',\n pattern: getPattern(['auto', 'show', 'hide']),\n type: 'string',\n },\n xAxisMinorTickVisibility: {\n default: 'auto',\n description: 'Specify whether to show or hide minor tick marks on the x-axis .',\n pattern: getPattern(['auto', 'show', 'hide']),\n type: 'string',\n },\n yAxisMinorTickVisibility: {\n default: 'auto',\n description: 'Specify whether to show or hide minor tick marks on the y-axis.',\n pattern: getPattern(['auto', 'show', 'hide']),\n type: 'string',\n },\n xAxisMax: {\n default: 'auto',\n description: 'Specify the maximum number for the range of the visible x-axis.',\n type: ['string', 'number'],\n },\n yAxisMax: {\n default: 'auto',\n description: 'Specify the maximum number for the range of the visible y-axis.',\n type: ['string', 'number'],\n },\n xAxisMin: {\n default: 'auto',\n description: 'Specify the minimum number for the range of the visible x-axis.',\n type: ['string', 'number'],\n },\n yAxisMin: {\n default: 'auto',\n description: 'Specify the minimum number for the range of the visible y-axis.',\n type: ['string', 'number'],\n },\n xAxisScale: {\n default: 'linear',\n description: 'Specify the type of scale that applies to a numerical x-axis.',\n pattern: getPattern(['linear', 'log']),\n type: 'string',\n },\n yAxisScale: {\n default: 'linear',\n description: 'Specify the type of scale that applies to a numerical y-axis.',\n pattern: getPattern(['linear', 'log']),\n type: 'string',\n },\n xAxisTitleText: {\n description: 'Specify the title of the x-axis.',\n type: 'string',\n },\n yAxisTitleText: {\n description: 'Specify the title of the y-axis.',\n type: 'string',\n },\n xAxisTitleVisibility: {\n default: 'show',\n description: 'Specify whether to show or hide the title of the x-axis.',\n pattern: getPattern(['show', 'hide']),\n type: 'string',\n },\n yAxisTitleVisibility: {\n default: 'show',\n description: 'Specify whether to show or hide the title of the y-axis.',\n pattern: getPattern(['show', 'hide']),\n type: 'string',\n },\n};\n\nconst themes: ThemedDefaults = {\n defaultBackgroundColor: props =>\n pick({\n enterprise: {\n dark: variables.black(props),\n light: variables.backgroundColor(props),\n },\n prisma: variables.backgroundColorSidebar(props),\n })(props),\n};\n\nconst editorConfig: EditorConfig[] = [\n {\n label: _('General'),\n layout: [getBackgroundColorEditor({ themes })],\n },\n AxesConfig,\n LegendConfig,\n];\n\n/**\n * visualization configuration\n */\nconst config: VizConfig = {\n /**\n * unique viz key\n */\n key: 'splunk.scatter',\n /**\n * viz name\n */\n name: 'Scatter',\n category: VizCategory.COMPARISONS,\n /**\n * viz icon\n */\n icon: ScatterIcon,\n dataContract,\n size,\n defaultContext,\n optionsSchema,\n editorConfig,\n events: {\n 'legend.click': {\n description: 'triggered when user clicks on chart legend',\n },\n 'point.click': {\n description: 'triggered when user clicks on a point in the scatter chart',\n },\n },\n supports: [VizBehavior.DYNAMIC_OPTIONS, VizBehavior.PLACEHOLDER],\n themes,\n};\n\nexport default enhanceConfig(config);\n","module.exports = require(\"@babel/runtime/helpers/defineProperty\");","module.exports = require(\"@splunk/themes/pick\");","module.exports = require(\"@splunk/themes/variables\");","module.exports = require(\"@splunk/visualization-icons\");"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///external \"@splunk/ui-utils/i18n\"","webpack:///./src/common/utils/configUtils.ts","webpack:///./src/common/editorConfig/BackgroundColor.ts","webpack:///external \"@splunk/visualization-color-palettes\"","webpack:///./src/common/editorConfig/Axes.ts","webpack:///./src/common/editorConfig/Legend.ts","webpack:///./src/common/interfaces/VizBehavior.ts","webpack:///external \"@splunk/visualizations-shared/schemaUtils\"","webpack:///external \"lodash\"","webpack:///./src/common/interfaces/VizCategory.ts","webpack:///./src/Scatter/config.ts","webpack:///external \"@babel/runtime/helpers/defineProperty\"","webpack:///external \"@splunk/themes/pick\"","webpack:///external \"@splunk/themes/variables\"","webpack:///external \"@splunk/visualization-icons\""],"names":[],"mappings":";;;;;;;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;AClFA,kD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACAA;;AACA;;AACA;;AAWA,IAAM,qBAAqB,GAAG;AAC1B,MAAI,EAAE,Q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;AAJY;AAzQkB,CAA/B;AAiRb,IAAM,MAAM,GAAmB;AAC3B,wBAAsB,EAAE,qCAAK;AAAA,WACzB,eAAK;AACD,gBAAU,EAAE;AACR,YAAI,EAAE,oBAAU,KAAV,CAAgB,KAAhB,CADE;AAER,aAAK,EAAE,oBAAU,eAAV,CAA0B,KAA1B;AAFC,OADX;AAKD,YAAM,EAAE,oBAAU,sBAAV,CAAiC,KAAjC;AALP,KAAL,EAMG,KANH,CADyB;AAAA;AADF,CAA/B;AAWA,IAAM,YAAY,GAAmB,CACjC;AACI,OAAK,EAAE,SAAE,SAAF,CADX;AAEI,QAAM,EAAE,CAAC,0BAAyB;AAAE,UAAM,EAAN;AAAF,GAAzB,CAAD;AAFZ,CADiC,EAKjC,cALiC,EAMjC,gBANiC,CAArC;AASA;;AAEG;;AACH,IAAM,MAAM,GAAc;AACtB;;AAEG;AACH,KAAG,EAAE,gBAJiB;;AAKtB;;AAEG;AACH,MAAI,EAAE,SARgB;AAStB,UAAQ,EAAE,0BAAY,WATA;;AAUtB;;AAEG;AACH,MAAI,EAAE,6BAbgB;AActB,cAAY,EAAZ,YAdsB;AAetB,MAAI,EAAJ,IAfsB;AAgBtB,gBAAc,EAAd,cAhBsB;AAiBtB,eAAa,EAAb,qBAjBsB;AAkBtB,cAAY,EAAZ,YAlBsB;AAmBtB,QAAM,EAAE;AACJ,oBAAgB;AACZ,iBAAW,EAAE;AADD,KADZ;AAIJ,mBAAe;AACX,iBAAW,EAAE;AADF;AAJX,GAnBc;AA2BtB,UAAQ,EAAE,CAAC,0BAAY,eAAb,EAA8B,0BAAY,WAA1C,CA3BY;AA4BtB,QAAM,EAAN;AA5BsB,CAA1B;AA+BA,kBAAe,4BAAc,MAAd,CAAf,C;;;;;;;ACtXA,kE;;;;;;;ACAA,gD;;;;;;;ACAA,qD;;;;;;;ACAA,wD","file":"Scatter.config.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 59);\n","module.exports = require(\"@splunk/ui-utils/i18n\");","import { get, range } from 'lodash';\nimport { DYNAMIC_OPTIONS_DSL_PATTERN } from '@splunk/visualizations-shared/schemaUtils';\nimport { VizBehavior } from '../interfaces/VizBehavior';\nimport { VizConfig } from '../interfaces/VizConfig';\nimport { OptionsSchema } from '../interfaces/OptionsSchema';\nimport type { JSONSchema7Definition } from 'json-schema';\n\nexport interface PresetEntry {\n name: string;\n value: any;\n label: string;\n}\n\nconst dynamicOptionsDSLType = {\n type: 'string',\n pattern: DYNAMIC_OPTIONS_DSL_PATTERN,\n} as const;\n\n/**\n * Helper function to extend an options schema with dynamic options DSL\n * @param optionsSchema a visualization's options schema\n * @returns an updated options schema that additionally allows strings starting with > for each option\n */\nfunction enhanceOptionsSchemaWithDynamicOptions(\n optionsSchema: OptionsSchema | JSONSchema7Definition\n): OptionsSchema {\n const enhancedOptionsSchema: OptionsSchema = {};\n Object.keys(optionsSchema).forEach((key): void => {\n const {\n // The next a few are schema annotations, we should leave them as is.\n // Note: in reality we don't use `readOnly`, `writeOnly` or `examples`, but they are listed here for completeness.\n // Ref: https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01\n title,\n description,\n readOnly,\n writeOnly,\n examples,\n default: defaultValue,\n // The next a few need special care\n type,\n properties,\n patternProperties,\n // The rest should be handled together\n ...remainingSchemaEntry\n } = optionsSchema[key];\n\n const annotations = {\n ...(title !== undefined && { title }),\n ...(description !== undefined && { description }),\n ...(readOnly !== undefined && { readOnly }),\n ...(writeOnly !== undefined && { writeOnly }),\n ...(examples !== undefined && { examples }),\n ...(defaultValue !== undefined && { default: defaultValue }),\n };\n\n if (type === 'object') {\n enhancedOptionsSchema[key] = {\n ...remainingSchemaEntry,\n ...annotations,\n type,\n ...(properties && { properties: enhanceOptionsSchemaWithDynamicOptions(properties) }),\n };\n if (patternProperties) {\n let enhancedPatternProperties = {};\n Object.keys(patternProperties).forEach((key): void => {\n enhancedPatternProperties = {\n ...enhancedPatternProperties,\n ...enhanceOptionsSchemaWithDynamicOptions({ [key]: patternProperties[key] }),\n };\n });\n enhancedOptionsSchema[key].patternProperties = enhancedPatternProperties;\n }\n } else {\n enhancedOptionsSchema[key] = {\n ...annotations,\n anyOf: [\n // we can't assume `type` is always there because there are `enum` and `const`.\n { ...(type !== undefined && { type }), ...remainingSchemaEntry },\n dynamicOptionsDSLType,\n ],\n };\n }\n });\n return enhancedOptionsSchema;\n}\n\n/**\n * Helper function to enhance a Visualization Config as needed based on behaviors specified in supports block\n * @param vizConfig a Visualization Config\n * @returns an enhanced Visualization Config containing updated config entries based on behaviors it supports\n */\nfunction enhanceConfig(vizConfig: VizConfig): VizConfig {\n const enhancedConfig: VizConfig = vizConfig;\n if (vizConfig.supports.indexOf(VizBehavior.DYNAMIC_OPTIONS) !== -1) {\n enhancedConfig.optionsSchema = enhanceOptionsSchemaWithDynamicOptions(vizConfig.optionsSchema);\n }\n return enhancedConfig;\n}\n\nfunction isDynamicOption(option?: string): boolean {\n return (option && typeof option === 'string' && option.trim().startsWith('>')) || false;\n}\n\n// private helpers to improve readability of getInitialPreset\n// this shouldn't be tested since this util isn't something that we expect to use outside of getInitialPreset\n\n/**\n * this checks to make sure that all values within vizContext are compatible with the given preset's context to determine the initialPreset\n * if a preset has explicitly specified a key as being undefined, the vizContext must also has that key as undefined, or else this CANNOT be the initialPreset\n * the inverse is true; if a preset has key is NOT undefined, it must also be NOT undefined in the corresponding vizContext\n * the internal config contents are irrelevant (as the user could customize them in source), just as long as the presence of `undefined`s match up\n *\n * Since the presetConfigs have explicit undefined keys to override the existing config, we need to explicitly check the undefined values\n */\nfunction hasCompatibleContexts(\n vizContext: { [configKey: string]: any },\n presetContext: { [configKey: string]: any }\n): boolean {\n const presetContextKeys = Object.keys(presetContext);\n return presetContextKeys.every(\n (contextKey): boolean =>\n (presetContext[contextKey] === undefined && vizContext[contextKey] === undefined) ||\n (presetContext[contextKey] !== undefined && vizContext[contextKey] !== undefined)\n );\n}\n\n/**\n * Checks to make sure that dynamic (non-dynamic) options in a given preset are also dynamic (non-dynamic) in the vizOptions\n */\nfunction hasCompatibleOptions(\n vizOptions: { [configKey: string]: any },\n presetOptions: { [configKey: string]: any }\n): boolean {\n const presetOptionKeys = Object.keys(presetOptions);\n return presetOptionKeys.every(\n (optionKey): boolean =>\n isDynamicOption(presetOptions[optionKey]) === isDynamicOption(vizOptions[optionKey])\n );\n}\n\n/**\n * Evaluates whether there is an initialPreset that fits the current state of vizContext + vizOptions\n * This function ignores extraneous vizOptions or vizContext keys, as they could be outside the scope of what the preset is intended to configure\n *\n * @param {Object} vizContext - the current vizContext definition\n * @param {Object} vizOptions - the current vizOptions definition\n * @param {PresetEntry[]} presets - the list of presets, one of which can be considered an initialPreset\n */\nfunction getInitialPreset(\n vizContext: { [configKey: string]: any },\n vizOptions: { [configKey: string]: any },\n presets: PresetEntry[]\n): PresetEntry | null {\n return presets.find((preset): boolean => {\n const presetContext = get(preset, ['value', 'context'], {});\n const presetOptions = get(preset, ['value', 'options'], {});\n const presetContextKeys = Object.keys(presetContext);\n const presetOptionKeys = Object.keys(presetOptions);\n\n // all presets have to explicitly specify which options to reset (i.e. need explicitly undefined keys)\n // if not, then the preset is invalid in config.ts\n if (presetContextKeys.length === 0 || presetOptionKeys.length === 0) return false;\n\n return (\n hasCompatibleContexts(vizContext, presetContext) &&\n hasCompatibleOptions(vizOptions, presetOptions)\n );\n });\n}\n\ninterface PrecisionOption {\n label: string;\n value: number;\n}\n\n/**\n * generates number precision values for a Select editor\n *\n * @param {Number} numPrecisionValues - number of integer precision values to generate\n * @returns {{ label: string; value; string }[]} array of { label, value } tuples\n */\nfunction generatePrecisionValues(numPrecisionValues: number): PrecisionOption[] {\n return range(0, numPrecisionValues + 1).map(\n (i): PrecisionOption => ({\n label: `${i} (0${i > 0 ? '.' : ''}${'0'.repeat(i)})`, // e.g. 0.000 for numPrecisionValues = 3\n value: i,\n })\n );\n}\n\nexport {\n enhanceConfig,\n enhanceOptionsSchemaWithDynamicOptions,\n isDynamicOption,\n getInitialPreset,\n generatePrecisionValues,\n};\n","import { _ } from '@splunk/ui-utils/i18n';\nimport { EditorLayoutConfig } from '../interfaces/Editor';\nimport { ThemedDefaults } from '../interfaces/ThemedDefaults';\n\ninterface backgroundEditorProps {\n label?: string;\n themes: ThemedDefaults;\n labelPosition?: string;\n}\n\nconst background: ({ label, themes, labelPosition }: backgroundEditorProps) => EditorLayoutConfig[] = ({\n label,\n themes,\n labelPosition,\n}) => [\n {\n label: _(label || 'Background'),\n option: 'backgroundColor',\n editor: 'editor.color',\n editorProps: {\n labelPosition: labelPosition || 'top',\n themes,\n },\n },\n];\n\nexport default background;\n","module.exports = require(\"@splunk/visualization-color-palettes\");","import { _ } from '@splunk/ui-utils/i18n';\nimport { EditorConfig } from '../interfaces/Editor';\n\nconst axes: EditorConfig = {\n label: _('Axes'),\n layout: [\n [\n {\n label: _('X Axis title'),\n option: 'xAxisTitleText',\n editor: 'editor.text',\n },\n ],\n [\n {\n label: _('Y Axis title'),\n option: 'yAxisTitleText',\n editor: 'editor.text',\n },\n ],\n ],\n};\n\nexport default axes;\n","import { _ } from '@splunk/ui-utils/i18n';\nimport { EditorConfig } from '../interfaces/Editor';\n\nconst legend: EditorConfig = {\n label: _('Legend'),\n layout: [\n [\n {\n label: _('Position'),\n option: 'legendDisplay',\n editor: 'editor.select',\n editorProps: {\n values: [\n { label: _('Right'), value: 'right' },\n { label: _('Left'), value: 'left' },\n { label: _('Top'), value: 'top' },\n { label: _('Bottom'), value: 'bottom' },\n { label: _('Off'), value: 'off' },\n ],\n },\n },\n ],\n [\n {\n label: _('Truncation'),\n option: 'legendTruncation',\n editor: 'editor.radioBar',\n editorProps: {\n values: [\n { label: _('A...'), value: 'ellipsisEnd' },\n { label: _('A...Z'), value: 'ellipsisMiddle' },\n { label: _('...Z'), value: 'ellipsisStart' },\n { label: _('Off'), value: 'ellipsisOff' },\n ],\n },\n },\n ],\n ],\n};\n\nexport default legend;\n","export enum VizBehavior {\n /**\n * Dynamic Options Behavior.\n * This allows visualization options to be powered by data\n *\n * **Example**\n *\n * sparklineValues: \">primary|seriesByIndex(0)\"\n * would configure sparklineValues with an array of data points\n * coming from the first series in the primary datasource\n *\n */\n DYNAMIC_OPTIONS = 'dynamic-options',\n EVENTS = 'events',\n /**\n * Placeholder behavior: visualization will display a placeholder rather than fail if any of the `requiredProps` is\n * missing.\n * @type {string}\n */\n PLACEHOLDER = 'placeholder',\n PAGE_AND_SORT = 'page-and-sort',\n}\n","module.exports = require(\"@splunk/visualizations-shared/schemaUtils\");","module.exports = require(\"lodash\");","export enum VizCategory {\n SINGLE_VALUE = 'Single Value',\n TRENDS = 'Trends',\n COMPARISONS = 'Comparisons',\n TABLE = 'Table',\n GAUGE = 'Gauge',\n DISTRIBUTIONS = 'Distributions',\n CHOROPLETH = 'Choropleth Maps',\n SHAPES = 'Shapes',\n MISC = 'misc',\n FLOW = 'Flow',\n CORRELATION = 'Correlation',\n SPATIAL = 'Spatial',\n}\n","import { Scatter as ScatterIcon } from '@splunk/visualization-icons';\nimport pick from '@splunk/themes/pick';\nimport variables from '@splunk/themes/variables';\nimport { getPattern, COLOR_OR_TOKEN_PATTERN } from '@splunk/visualizations-shared/schemaUtils';\nimport { VIZ_CATEGORICAL } from '@splunk/visualization-color-palettes';\nimport { _ } from '@splunk/ui-utils/i18n';\nimport { DataContract } from '../common/interfaces/DataContract';\nimport { DefaultContext } from '../common/interfaces/DefaultContext';\nimport { EditorConfig } from '../common/interfaces/Editor';\nimport { OptionsSchema } from '../common/interfaces/OptionsSchema';\nimport { ThemedDefaults } from '../common/interfaces/ThemedDefaults';\nimport { VizBehavior } from '../common/interfaces/VizBehavior';\nimport { VizCategory } from '../common/interfaces/VizCategory';\nimport { VizConfig } from '../common/interfaces/VizConfig';\nimport { VizSize } from '../common/interfaces/VizSize';\nimport { enhanceConfig } from '../common/utils/configUtils';\nimport AxesConfig from '../common/editorConfig/Axes';\nimport LegendConfig from '../common/editorConfig/Legend';\nimport getBackgroundColorEditor from '../common/editorConfig/BackgroundColor';\n\nconst dataContract: DataContract = {\n requiredDataSources: [\n {\n name: 'primary',\n description: 'DataSource that powers the visualization',\n },\n ],\n optionalDataSources: [\n // Note: SCP-14090 disable ui for optional datasources. We may need to add it back later\n // {\n // name: 'annotation',\n // description: 'DataSource that populate event annotations',\n // },\n ],\n initialRequestParams: {\n primary: { offset: 0, count: 10000 },\n annotation: { offset: 0, count: 10000 },\n },\n};\n\nconst size: VizSize = {\n initialWidth: 300,\n initialHeight: 300,\n};\n\nconst defaultContext: DefaultContext = {};\n\nexport const optionsSchema: OptionsSchema = {\n x: {\n default: '> primary | seriesByIndex(0)',\n description: 'Specify the dataSource applied to the x-axis.',\n type: 'array',\n items: { type: ['string', 'number'] },\n },\n y: {\n default: '> primary | seriesByIndex(1)',\n description: 'Specify the dataSource applied to the y-axis.',\n type: 'array',\n items: { type: ['string', 'number'] },\n },\n category: {\n description: 'Specify a sequence of dataSource events to be plotted on the chart.',\n type: 'array',\n items: { type: ['string', 'number'] },\n default: '> primary | seriesByIndex(2)',\n },\n xField: {\n default: '> x | getField()',\n description: 'Specify the field that should be mapped to the x-axis.',\n type: 'string',\n },\n yField: {\n default: '> y | getField()',\n description: 'Specify the field that should be mapped to the y-axis.',\n type: 'string',\n },\n categoryField: {\n default: '> category | getField()',\n description: 'Specify the field that should be mapped to the series categories.',\n type: 'string',\n },\n backgroundColor: {\n default: '> themes.defaultBackgroundColor',\n description:\n 'Specify the color used for the background. The default for enterprise light is \"#ffffff\". The default for enterprise dark is \"#000000\". The default for prisma dark is \"#0b0c0e\".',\n pattern: COLOR_OR_TOKEN_PATTERN,\n type: 'string',\n },\n legendDisplay: {\n default: 'right',\n description: 'Specify the location of the legend on the panel.',\n pattern: getPattern(['right', 'left', 'top', 'bottom', 'off']),\n type: 'string',\n },\n legendTruncation: {\n default: 'ellipsisEnd',\n description:\n 'Specify how to display legend labels when they overflow the layout boundaries by replacing overflow text with an ellipsis.',\n pattern: getPattern(['ellipsisEnd', 'ellipsisMiddle', 'ellipsisStart', 'ellipsisOff']),\n type: 'string',\n },\n markerSize: {\n description: 'Specify, in pixels, the size of each scatter marker.',\n type: 'number',\n default: 4,\n },\n resultLimit: {\n default: 50000,\n description: 'Specify the number of data points rendered in a chart.',\n type: 'number',\n },\n seriesColors: {\n default: VIZ_CATEGORICAL,\n description: 'Specify the colors used for a series. For example, [\"#FF0000\", \"#0000FF\", \"#008000\"].',\n type: 'array',\n items: { type: 'string' },\n },\n seriesColorsByField: {\n description:\n 'Specify the colors used for specific fields in a series. For example: {\"count\": \"#008000\", \"percent\": \"#FFA500\"}.',\n type: 'object',\n },\n showXAxisExtendedRange: {\n default: true,\n description: 'Specify whether the x-axis should be extended to snap to whole major tick marks.',\n type: 'boolean',\n },\n showYAxisExtendedRange: {\n default: true,\n description: 'Specify whether the y-axis should be extended to snap to whole major tick marks.',\n type: 'boolean',\n },\n showXAxisWithZero: {\n default: false,\n description: 'Specify whether the x-axis range includes zero.',\n type: 'boolean',\n },\n showYAxisWithZero: {\n default: false,\n description: 'Specify whether the y-axis range includes zero.',\n type: 'boolean',\n },\n showRoundedXAxisLabels: {\n default: false,\n description: 'Specify whether to round x-axis values to the nearest integer.',\n type: 'boolean',\n },\n // TODO: figure out if we want to change splunk-charting behavior for Bubble/Scatter, which hardcodes XMajorGridlines to false\n // showXMajorGridLines: {\n // default: false,\n // description: 'Specify whether major grid lines are visible on the x-axis.',\n // type: 'boolean',\n // },\n showYMajorGridLines: {\n default: true,\n description: 'Specify whether major grid lines are visible on the y-axis.',\n type: 'boolean',\n },\n showXMinorGridLines: {\n default: false,\n description: 'Specify whether minor grid lines are visible on the x-axis.',\n type: 'boolean',\n },\n showYMinorGridLines: {\n default: false,\n description: 'Specify whether minor grid lines are visible on the y-axis.',\n type: 'boolean',\n },\n xAxisLabelRotation: {\n default: 0,\n description: 'Specify the rotation of the x-axis labels in degrees.',\n type: 'number',\n enum: [-90, -45, 0, 45, 90],\n },\n xAxisAbbreviation: {\n default: 'off',\n description: 'Specify whether to abbreviate large x-axis values with the closest SI prefix.',\n pattern: getPattern(['auto', 'off']),\n type: 'string',\n },\n yAxisAbbreviation: {\n default: 'auto',\n description: 'Specify whether to abbreviate large y-axis values with the closest SI prefix.',\n pattern: getPattern(['auto', 'off']),\n type: 'string',\n },\n xAxisLabelVisibility: {\n default: 'auto',\n description: 'Specify whether to show or hide labels on the x-axis.',\n pattern: getPattern(['auto', 'show', 'hide']),\n type: 'string',\n },\n yAxisLabelVisibility: {\n default: 'auto',\n description: 'Specify whether to show or hide labels on the y-axis.',\n pattern: getPattern(['auto', 'show', 'hide']),\n type: 'string',\n },\n xAxisLineVisibility: {\n default: 'hide',\n description: 'Specify whether to show or hide the x-axis line.',\n pattern: getPattern(['show', 'hide']),\n type: 'string',\n },\n yAxisLineVisibility: {\n default: 'hide',\n description: 'Specify whether to show or hide the y-axis line.',\n pattern: getPattern(['show', 'hide']),\n type: 'string',\n },\n xAxisMajorTickInterval: {\n default: 'auto',\n description:\n 'Specify the spacing interval at which to place major tick marks along the numeric x-axis. By default, this value is automatically calculated based on the scale of the related axis.',\n type: ['string', 'number'],\n },\n yAxisMajorTickInterval: {\n default: 'auto',\n description:\n 'Specify the spacing interval at which to place major tick marks along the numeric y-axis. By default, this value is automatically calculated based on the scale of the related axis.',\n type: ['string', 'number'],\n },\n xAxisMajorTickSize: {\n default: 6,\n description: 'Specify the size, in pixels, of major tick marks on the x-axis.',\n type: 'number',\n },\n yAxisMajorTickSize: {\n default: 6,\n description: 'Specify the size, in pixels, of major tick marks on the y-axis.',\n type: 'number',\n },\n xAxisMinorTickSize: {\n default: 6,\n description: 'Specify the size, in pixels, of minor tick marks on the x-axis.',\n type: 'number',\n },\n yAxisMinorTickSize: {\n default: 6,\n description: 'Specify the size, in pixels, of minor tick marks on the y-axis.',\n type: 'number',\n },\n xAxisMajorTickVisibility: {\n default: 'auto',\n description: 'Specify whether to show or hide major tick marks on the x-axis.',\n pattern: getPattern(['auto', 'show', 'hide']),\n type: 'string',\n },\n yAxisMajorTickVisibility: {\n default: 'auto',\n description: 'Specify whether to show or hide major tick marks on the y-axis.',\n pattern: getPattern(['auto', 'show', 'hide']),\n type: 'string',\n },\n xAxisMinorTickVisibility: {\n default: 'auto',\n description: 'Specify whether to show or hide minor tick marks on the x-axis .',\n pattern: getPattern(['auto', 'show', 'hide']),\n type: 'string',\n },\n yAxisMinorTickVisibility: {\n default: 'auto',\n description: 'Specify whether to show or hide minor tick marks on the y-axis.',\n pattern: getPattern(['auto', 'show', 'hide']),\n type: 'string',\n },\n xAxisMax: {\n default: 'auto',\n description: 'Specify the maximum number for the range of the visible x-axis.',\n type: ['string', 'number'],\n },\n yAxisMax: {\n default: 'auto',\n description: 'Specify the maximum number for the range of the visible y-axis.',\n type: ['string', 'number'],\n },\n xAxisMin: {\n default: 'auto',\n description: 'Specify the minimum number for the range of the visible x-axis.',\n type: ['string', 'number'],\n },\n yAxisMin: {\n default: 'auto',\n description: 'Specify the minimum number for the range of the visible y-axis.',\n type: ['string', 'number'],\n },\n xAxisScale: {\n default: 'linear',\n description: 'Specify the type of scale that applies to a numerical x-axis.',\n pattern: getPattern(['linear', 'log']),\n type: 'string',\n },\n yAxisScale: {\n default: 'linear',\n description: 'Specify the type of scale that applies to a numerical y-axis.',\n pattern: getPattern(['linear', 'log']),\n type: 'string',\n },\n xAxisTitleText: {\n description: 'Specify the title of the x-axis.',\n type: 'string',\n },\n yAxisTitleText: {\n description: 'Specify the title of the y-axis.',\n type: 'string',\n },\n xAxisTitleVisibility: {\n default: 'show',\n description: 'Specify whether to show or hide the title of the x-axis.',\n pattern: getPattern(['show', 'hide']),\n type: 'string',\n },\n yAxisTitleVisibility: {\n default: 'show',\n description: 'Specify whether to show or hide the title of the y-axis.',\n pattern: getPattern(['show', 'hide']),\n type: 'string',\n },\n};\n\nconst themes: ThemedDefaults = {\n defaultBackgroundColor: props =>\n pick({\n enterprise: {\n dark: variables.black(props),\n light: variables.backgroundColor(props),\n },\n prisma: variables.backgroundColorSidebar(props),\n })(props),\n};\n\nconst editorConfig: EditorConfig[] = [\n {\n label: _('General'),\n layout: [getBackgroundColorEditor({ themes })],\n },\n AxesConfig,\n LegendConfig,\n];\n\n/**\n * visualization configuration\n */\nconst config: VizConfig = {\n /**\n * unique viz key\n */\n key: 'splunk.scatter',\n /**\n * viz name\n */\n name: 'Scatter',\n category: VizCategory.COMPARISONS,\n /**\n * viz icon\n */\n icon: ScatterIcon,\n dataContract,\n size,\n defaultContext,\n optionsSchema,\n editorConfig,\n events: {\n 'legend.click': {\n description: 'triggered when user clicks on chart legend',\n },\n 'point.click': {\n description: 'triggered when user clicks on a point in the scatter chart',\n },\n },\n supports: [VizBehavior.DYNAMIC_OPTIONS, VizBehavior.PLACEHOLDER],\n themes,\n};\n\nexport default enhanceConfig(config);\n","module.exports = require(\"@babel/runtime/helpers/defineProperty\");","module.exports = require(\"@splunk/themes/pick\");","module.exports = require(\"@splunk/themes/variables\");","module.exports = require(\"@splunk/visualization-icons\");"],"sourceRoot":""}
package/Scatter.js CHANGED
@@ -1919,17 +1919,17 @@ exports.default = withPlaceholder;
1919
1919
 
1920
1920
  /***/ }),
1921
1921
 
1922
- /***/ 4:
1922
+ /***/ 39:
1923
1923
  /***/ (function(module, exports) {
1924
1924
 
1925
- module.exports = require("styled-components");
1925
+ module.exports = require("@babel/runtime/helpers/toConsumableArray");
1926
1926
 
1927
1927
  /***/ }),
1928
1928
 
1929
- /***/ 40:
1929
+ /***/ 4:
1930
1930
  /***/ (function(module, exports) {
1931
1931
 
1932
- module.exports = require("@babel/runtime/helpers/toConsumableArray");
1932
+ module.exports = require("styled-components");
1933
1933
 
1934
1934
  /***/ }),
1935
1935
 
@@ -1960,10 +1960,11 @@ Object.defineProperty(exports, "__esModule", {
1960
1960
  var i18n_1 = __webpack_require__(3);
1961
1961
 
1962
1962
  var background = function background(_ref) {
1963
- var themes = _ref.themes,
1963
+ var label = _ref.label,
1964
+ themes = _ref.themes,
1964
1965
  labelPosition = _ref.labelPosition;
1965
1966
  return [{
1966
- label: i18n_1._('Background'),
1967
+ label: i18n_1._(label || 'Background'),
1967
1968
  option: 'backgroundColor',
1968
1969
  editor: 'editor.color',
1969
1970
  editorProps: {
@@ -1983,7 +1984,7 @@ exports.default = background;
1983
1984
  "use strict";
1984
1985
 
1985
1986
 
1986
- var _toConsumableArray = __webpack_require__(40);
1987
+ var _toConsumableArray = __webpack_require__(39);
1987
1988
 
1988
1989
  var __rest = this && this.__rest || function (s, e) {
1989
1990
  var t = {};