@splunk/visualizations 26.1.2 → 26.2.1
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.
- package/Area.config.js +2 -1
- package/Area.config.js.map +1 -1
- package/Area.js +1562 -433
- package/Area.js.map +1 -1
- package/Bar.config.js +1 -0
- package/Bar.config.js.map +1 -1
- package/Bar.js +1555 -430
- package/Bar.js.map +1 -1
- package/Bubble.config.js +1 -0
- package/Bubble.config.js.map +1 -1
- package/Bubble.js +1580 -455
- package/Bubble.js.map +1 -1
- package/ChoroplethSvg.config.js +1 -0
- package/ChoroplethSvg.config.js.map +1 -1
- package/ChoroplethSvg.js +1421 -352
- package/ChoroplethSvg.js.map +1 -1
- package/Column.config.js +2 -1
- package/Column.config.js.map +1 -1
- package/Column.js +1564 -435
- package/Column.js.map +1 -1
- package/Ellipse.config.js +1 -0
- package/Ellipse.config.js.map +1 -1
- package/Ellipse.js +1342 -297
- package/Ellipse.js.map +1 -1
- package/Events.config.js +4 -0
- package/Events.config.js.map +1 -1
- package/Events.js +1503 -489
- package/Events.js.map +1 -1
- package/FEATUREFLAGS.md +3 -0
- package/FillerGauge.config.js +1 -0
- package/FillerGauge.config.js.map +1 -1
- package/FillerGauge.js +1406 -345
- package/FillerGauge.js.map +1 -1
- package/Image.config.js +1 -0
- package/Image.config.js.map +1 -1
- package/Image.js +2355 -1183
- package/Image.js.map +1 -1
- package/Line.config.js +2 -1
- package/Line.config.js.map +1 -1
- package/Line.js +1562 -433
- package/Line.js.map +1 -1
- package/LinkGraph.config.js +1 -0
- package/LinkGraph.config.js.map +1 -1
- package/LinkGraph.js +18499 -24296
- package/LinkGraph.js.map +1 -1
- package/Map.config.js +1 -0
- package/Map.config.js.map +1 -1
- package/Map.js +2556 -1527
- package/Map.js.map +1 -1
- package/Markdown.config.js +1 -0
- package/Markdown.config.js.map +1 -1
- package/Markdown.js +1952 -883
- package/Markdown.js.map +1 -1
- package/MarkerGauge.config.js +1 -0
- package/MarkerGauge.config.js.map +1 -1
- package/MarkerGauge.js +4049 -2965
- package/MarkerGauge.js.map +1 -1
- package/ParallelCoordinates.config.js +1 -0
- package/ParallelCoordinates.config.js.map +1 -1
- package/ParallelCoordinates.js +3286 -2215
- package/ParallelCoordinates.js.map +1 -1
- package/Pie.config.js +1 -0
- package/Pie.config.js.map +1 -1
- package/Pie.js +2187 -1036
- package/Pie.js.map +1 -1
- package/Punchcard.config.js +1 -0
- package/Punchcard.config.js.map +1 -1
- package/Punchcard.js +3397 -2299
- package/Punchcard.js.map +1 -1
- package/Rectangle.config.js +1 -0
- package/Rectangle.config.js.map +1 -1
- package/Rectangle.js +2181 -1112
- package/Rectangle.js.map +1 -1
- package/Sankey.config.js +1 -0
- package/Sankey.config.js.map +1 -1
- package/Sankey.js +3275 -2199
- package/Sankey.js.map +1 -1
- package/Scatter.config.js +1 -0
- package/Scatter.config.js.map +1 -1
- package/Scatter.js +3551 -2400
- package/Scatter.js.map +1 -1
- package/SingleValue.config.js +27 -0
- package/SingleValue.config.js.map +1 -1
- package/SingleValue.js +5551 -4397
- package/SingleValue.js.map +1 -1
- package/SingleValueBasic.js +1227 -1209
- package/SingleValueBasic.js.map +1 -1
- package/SingleValueIcon.config.js +27 -0
- package/SingleValueIcon.config.js.map +1 -1
- package/SingleValueIcon.js +2850 -1696
- package/SingleValueIcon.js.map +1 -1
- package/SingleValueRadial.config.js +1 -0
- package/SingleValueRadial.config.js.map +1 -1
- package/SingleValueRadial.js +6334 -5215
- package/SingleValueRadial.js.map +1 -1
- package/SparkLine.js +96 -96
- package/SparkLine.js.map +1 -1
- package/Table.config.js +172 -7
- package/Table.config.js.map +1 -1
- package/Table.js +3500 -2195
- package/Table.js.map +1 -1
- package/common/Charting.js +1009 -82
- package/common/Charting.js.map +1 -1
- package/common/ChartingApi.js +4 -4
- package/common/ChartingApi.js.map +1 -1
- package/common/DocExampleWithVizSandbox.js +54 -57
- package/common/DocExampleWithVizSandbox.js.map +1 -1
- package/common/EventsDoc.js +40 -40
- package/common/EventsDoc.js.map +1 -1
- package/common/GaugeMajorTicks.js +15 -13
- package/common/GaugeMajorTicks.js.map +1 -1
- package/common/GaugeValueMarker.js +12 -12
- package/common/GaugeValueMarker.js.map +1 -1
- package/common/OptionsDoc.js +34 -34
- package/common/OptionsDoc.js.map +1 -1
- package/common/OverviewDoc.js +124 -103
- package/common/OverviewDoc.js.map +1 -1
- package/common/SplunkVisualization.js +49 -49
- package/common/SplunkVisualization.js.map +1 -1
- package/common/SplunkVisualizationApi.js +4 -4
- package/common/SplunkVisualizationApi.js.map +1 -1
- package/common/ThemesDoc.js +31 -31
- package/common/ThemesDoc.js.map +1 -1
- package/common/chartingUtils.js +24 -8
- package/common/chartingUtils.js.map +1 -1
- package/common/docUtils.js +4 -4
- package/common/docUtils.js.map +1 -1
- package/common/gaugeUtils.js +16 -16
- package/common/gaugeUtils.js.map +1 -1
- package/common/shapeUtils.js +36 -36
- package/common/shapeUtils.js.map +1 -1
- package/common/utils/configUtils.js +48 -47
- package/common/utils/configUtils.js.map +1 -1
- package/common/utils/dataUtils.js +832 -6
- package/common/utils/dataUtils.js.map +1 -1
- package/common/utils/featureFlagUtils.js +139 -0
- package/common/utils/featureFlagUtils.js.map +1 -0
- package/common/utils/hocUtils.js +2 -2
- package/common/utils/hocUtils.js.map +1 -1
- package/common/utils/layoutUtils.js +2 -2
- package/common/utils/layoutUtils.js.map +1 -1
- package/common/utils/mapUtils.js +77 -54
- package/common/utils/mapUtils.js.map +1 -1
- package/common/utils/singleValueUtils.js +28 -19
- package/common/utils/singleValueUtils.js.map +1 -1
- package/common/utils/testHelper.js +10 -10
- package/common/utils/testHelper.js.map +1 -1
- package/common/utils/trellisUtils.js +6 -6
- package/common/utils/trellisUtils.js.map +1 -1
- package/common/utils/urlUtils.js +2 -2
- package/common/utils/urlUtils.js.map +1 -1
- package/common/withDashboardViz.js +1313 -235
- package/common/withDashboardViz.js.map +1 -1
- package/package.json +14 -13
- package/__mocks__/fileMock.js +0 -2
- package/__mocks__/styleMock.js +0 -2
- package/babel.config.js +0 -11
- package/jest.config.js +0 -8
- package/loki.config.js +0 -14
package/Line.config.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///external \"@splunk/ui-utils/i18n\"","webpack:///external \"@babel/runtime/helpers/toConsumableArray\"","webpack:///./src/common/interfaces/VizBehavior.ts","webpack:///external \"@splunk/visualizations-shared/schemaUtils\"","webpack:///./src/common/utils/configUtils.ts","webpack:///external \"lodash\"","webpack:///external \"@babel/runtime/helpers/defineProperty\"","webpack:///./src/common/interfaces/VizCategory.ts","webpack:///external \"@splunk/themes/pick\"","webpack:///external \"@splunk/themes/variables\"","webpack:///external \"@splunk/visualization-icons/placeholders\"","webpack:///external \"@splunk/visualization-icons\"","webpack:///./src/common/editorConfig/BackgroundColor.ts","webpack:///external \"@splunk/visualization-color-palettes\"","webpack:///./src/common/editorConfig/AxesChartDataConfig.ts","webpack:///./src/common/editorConfig/AxesChartColorAndStyle.ts","webpack:///./src/common/editorConfig/AxesChartLegend.ts","webpack:///./src/common/editorConfig/AxesChartXGridAndLabels.ts","webpack:///./src/common/editorConfig/AxesChartYGridAndLabels.ts","webpack:///./src/common/editorConfig/AxesChartDataDisplay.ts","webpack:///./src/common/editorConfig/AxesChartY2GridAndLabels.ts","webpack:///./src/Line/config.ts"],"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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iCAvIiC,EAwIjC,kCAxIiC,CAArC;AA2IA;;AAEG;;AACH,IAAM,MAAM,GAAc;AACtB;;AAEG;AACH,KAAG,EAAE,aAJiB;;AAKtB;;AAEG;AACH,MAAI,EAAE,cAAE,MAAF,CARgB;AAStB,UAAQ,EAAE,0BAAY,MATA;;AAUtB;;AAEG;AACH,MAAI,EAAE,0BAbgB;AActB,iBAAe,EAAE,mBAdK;AAetB,cAAY,EAAZ,YAfsB;AAgBtB,MAAI,EAAJ,IAhBsB;AAiBtB,gBAAc,EAAd,cAjBsB;AAkBtB,eAAa,EAAb,aAlBsB;AAmBtB,cAAY,EAAZ,YAnBsB;AAoBtB,QAAM,EAAE;AACJ,oBAAgB;AACZ,iBAAW,EAAE;AADD,KADZ;AAIJ,mBAAe;AACX,iBAAW,EAAE;AADF,KAJX;AAOJ,oBAAgB;AACZ,iBAAW,EAAE;AADD,KAPZ;AAUJ,uBAAmB;AACf,iBAAW,EAAE;AADE,KAVf;AAaJ,sBAAkB;AACd,iBAAW,EAAE;AADC;AAbd,GApBc;AAqCtB,UAAQ,EAAE,CAAC,0BAAY,eAAb,EAA8B,0BAAY,WAA1C,CArCY;AAsCtB,QAAM,EAAN;AAtCsB,CAA1B;AAyCA,kBAAe,iCAAc,MAAd,CAAf,C","file":"Line.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 = 55);\n","module.exports = require(\"@splunk/ui-utils/i18n\");","module.exports = require(\"@babel/runtime/helpers/toConsumableArray\");","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 TRELLIS = 'trellis',\n}\n","module.exports = require(\"@splunk/visualizations-shared/schemaUtils\");","import { get, range } from 'lodash';\nimport { DYNAMIC_OPTIONS_DSL_PATTERN } from '@splunk/visualizations-shared/schemaUtils';\nimport type { JSONSchema7Definition } from 'json-schema';\nimport { isDynamicOption } from '@splunk/visualizations-shared/configUtils';\nimport { VizBehavior } from '../interfaces/VizBehavior';\nimport { VizConfig } from '../interfaces/VizConfig';\nimport { OptionsSchema } from '../interfaces/OptionsSchema';\nimport { EditorLayoutConfig, EditorConfig } from '../interfaces/Editor';\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((opt): void => {\n enhancedPatternProperties = {\n ...enhancedPatternProperties,\n ...enhanceOptionsSchemaWithDynamicOptions({ [opt]: patternProperties[opt] }),\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 * this function also collapse all editor panels\n * @param vizConfig a Visualization Config\n * @returns an enhanced Visualization Config containing updated config entries based on behaviors it supports\n * and containing `open: false` for all editor panels in editorConfig\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 enhancedConfig.editorConfig = vizConfig.editorConfig.map(\n (config: EditorConfig): EditorConfig => {\n return { ...config, open: config.open || false };\n }\n );\n return enhancedConfig;\n}\n\n/**\n * Helper function to uncollapse all editor panels by adding `open: true` to the editorConfig\n * Created for editor unit tests\n * @param vizConfig a Visualization Config\n * @returns a Visualization Config containing `open: true` for all editor panels in editorConfig\n */\nfunction uncollapseEditorConfig(vizConfig: VizConfig): VizConfig {\n const editorPanelUncollapsedConfig: VizConfig = { ...vizConfig };\n editorPanelUncollapsedConfig.editorConfig = vizConfig.editorConfig.map(\n (config: EditorConfig): EditorConfig => {\n return { ...config, open: true };\n }\n );\n return editorPanelUncollapsedConfig;\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 getInitialPreset,\n generatePrecisionValues,\n uncollapseEditorConfig,\n isDynamicOption,\n};\n\n/**\n * insert layout in layout array, return a new layout array instead of updating the original\n *\n * @param {EditorLayoutConfig[][]} layout - editor layout\n * @param {Number} index - the index to insert layout item(s)\n * @param {EditorLayoutConfig[][]} layoutItems - the item(s) to insert\n * @returns {EditorLayoutConfig[][]} new editor layout with insertion\n */\nexport const insertLayout = (\n layout: EditorLayoutConfig[][],\n index: number,\n ...layoutItems: EditorLayoutConfig[][]\n): EditorLayoutConfig[][] => [\n // copy part of the array before the specified index\n ...layout.slice(0, index),\n // inserted layout item\n ...layoutItems,\n // copy part of the array after the specified index\n ...layout.slice(index),\n];\n","module.exports = require(\"lodash\");","module.exports = require(\"@babel/runtime/helpers/defineProperty\");","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","module.exports = require(\"@splunk/themes/pick\");","module.exports = require(\"@splunk/themes/variables\");","module.exports = require(\"@splunk/visualization-icons/placeholders\");","module.exports = require(\"@splunk/visualization-icons\");","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';\nimport { insertLayout } from '../utils/configUtils';\n\nconst AxesChartDataConfig: EditorConfig = {\n label: _('Data configurations'),\n layout: [\n [\n {\n label: _('X'),\n option: 'x',\n editor: 'editor.columnSelector',\n editorProps: {\n dataSourceKey: 'primary',\n supportsDSL: true,\n expectedDataPrimitive: ['series'],\n },\n },\n ],\n [\n {\n label: _('Y'),\n option: 'y',\n editor: 'editor.columnMultiSelector',\n editorProps: {\n dataSourceKey: 'primary',\n filterByTypes: ['number'],\n supportsDSL: true,\n expectedDataPrimitive: ['series', 'frame'],\n },\n },\n ],\n [\n {\n label: _('Result limit'),\n option: 'resultLimit',\n editor: 'editor.number',\n editorProps: {\n dataSourceKey: 'primary',\n },\n },\n ],\n ],\n};\n\nexport const AxesChartDataConfigBar: EditorConfig = {\n label: AxesChartDataConfig.label,\n // insert Y2 after Y\n layout: insertLayout(AxesChartDataConfig.layout, 2, [\n {\n label: _('Y2'),\n option: 'y2',\n editor: 'editor.columnMultiSelector',\n editorProps: {\n dataSourceKey: 'primary',\n filterByTypes: ['number'],\n supportsDSL: true,\n expectedDataPrimitive: ['series', 'frame'],\n },\n },\n ]),\n};\n\nexport const AxesChartDataConfigScatter: EditorConfig = {\n label: AxesChartDataConfig.label,\n layout: [\n [\n {\n label: _('X'),\n option: 'x',\n editor: 'editor.columnSelector',\n editorProps: {\n dataSourceKey: 'primary',\n supportsDSL: true,\n expectedDataPrimitive: ['series'],\n },\n },\n ],\n [\n {\n label: _('Y'),\n option: 'y',\n editor: 'editor.columnSelector',\n editorProps: {\n dataSourceKey: 'primary',\n filterByTypes: ['number'],\n supportsDSL: true,\n expectedDataPrimitive: ['series'],\n },\n },\n ],\n [\n {\n label: _('Category'),\n option: 'category',\n editor: 'editor.columnSelector',\n editorProps: {\n dataSourceKey: 'primary',\n supportsDSL: true,\n expectedDataPrimitive: ['series'],\n },\n },\n ],\n [\n {\n label: _('Result limit'),\n option: 'resultLimit',\n editor: 'editor.number',\n editorProps: {\n dataSourceKey: 'primary',\n },\n },\n ],\n ],\n};\n\nexport const AxesChartDataConfigBubble: EditorConfig = {\n label: AxesChartDataConfigScatter.label,\n // layout: insert Size after Category\n layout: insertLayout(AxesChartDataConfigScatter.layout, 3, [\n {\n label: _('Size'),\n option: 'size',\n editor: 'editor.columnSelector',\n editorProps: {\n dataSourceKey: 'primary',\n supportsDSL: true,\n expectedDataPrimitive: ['series'],\n },\n },\n ]),\n};\n\nexport const AxesChartDataConfigAreaColumnLine: EditorConfig = {\n label: AxesChartDataConfigBar.label,\n layout: [\n ...AxesChartDataConfigBar.layout,\n [\n {\n label: _('Annotation x'),\n option: 'annotationX',\n editor: 'editor.columnSelector',\n editorProps: {\n dataSourceKey: 'annotation',\n supportsDSL: true,\n expectedDataPrimitive: ['series'],\n },\n },\n ],\n [\n {\n label: _('Annotation labels'),\n option: 'annotationLabel',\n editor: 'editor.columnSelector',\n editorProps: {\n dataSourceKey: 'annotation',\n supportsDSL: true,\n expectedDataPrimitive: ['series'],\n },\n },\n ],\n ],\n};\n\nexport default AxesChartDataConfig;\n","import { _ } from '@splunk/ui-utils/i18n';\nimport pick from '@splunk/themes/pick';\nimport variables from '@splunk/themes/variables';\nimport { EditorConfig } from '../interfaces/Editor';\nimport { ThemedDefaults } from '../interfaces/ThemedDefaults';\nimport getBackgroundColorEditor from '../editorConfig/BackgroundColor';\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 AxesChartColorAndStyle: EditorConfig = {\n label: _('Color and style'),\n layout: [\n getBackgroundColorEditor({ themes }),\n [\n {\n label: _('Series colors'),\n option: 'seriesColors',\n editor: 'editor.seriesColors',\n },\n ],\n [\n {\n label: _('Series colors by field name'),\n option: 'seriesColorsByField',\n editor: 'editor.seriesColorsByField',\n },\n ],\n ],\n};\n\nexport default AxesChartColorAndStyle;\n","import { _ } from '@splunk/ui-utils/i18n';\nimport { EditorConfig } from '../interfaces/Editor';\n\nconst AxesChartLegend: EditorConfig = {\n label: _('Legend'),\n layout: [\n [\n {\n label: _('Legend display'),\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: _('Legend 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 showEditor: ({ options }) =>\n options.legendDisplay === 'left' ||\n options.legendDisplay === 'right' ||\n options.legendDisplay === 'top' ||\n options.legendDisplay === 'bottom' ||\n options.legendDisplay === undefined,\n },\n ],\n ],\n};\n\nexport default AxesChartLegend;\n","import { _ } from '@splunk/ui-utils/i18n';\nimport { EditorConfig } from '../interfaces/Editor';\nimport { insertLayout } from '../utils/configUtils';\n\nexport const AxesChartXGridAndLabelsCommon: EditorConfig = {\n label: _('X-axis grid and labels'),\n layout: [\n [\n {\n label: _('Axis title'),\n option: 'xAxisTitleVisibility',\n editor: 'editor.toggle',\n },\n ],\n [\n {\n label: _('Axis title text'),\n option: 'xAxisTitleText',\n editor: 'editor.text',\n showEditor: ({ options }) =>\n options.xAxisTitleVisibility === 'show' || options.xAxisTitleVisibility === undefined,\n },\n ],\n [\n {\n label: _('Label visibility'),\n option: 'xAxisLabelVisibility',\n editor: 'editor.radioBar',\n editorProps: {\n values: [\n { label: _('Auto'), value: 'auto' },\n { label: _('Show'), value: 'show' },\n { label: _('Hide'), value: 'hide' },\n ],\n },\n },\n ],\n ],\n};\n\nconst AxesChartXGridAndLabels: EditorConfig = {\n label: AxesChartXGridAndLabelsCommon.label,\n layout: [\n ...AxesChartXGridAndLabelsCommon.layout,\n [\n {\n label: _('Label rotation'),\n option: 'xAxisLabelRotation',\n editor: 'editor.select',\n editorProps: {\n values: [\n { label: _('-90'), value: -90 },\n { label: _('-45'), value: -45 },\n { label: _('0'), value: 0 },\n { label: _('45'), value: 45 },\n { label: _('90'), value: 90 },\n ],\n },\n showEditor: ({ options }) =>\n options.xAxisLabelVisibility === 'show' ||\n options.xAxisLabelVisibility === 'auto' ||\n options.xAxisLabelVisibility === undefined,\n },\n ],\n [\n {\n label: _('Number of time label parts'),\n option: 'xAxisMaxLabelParts',\n editor: 'editor.number',\n editorProps: {\n min: 1,\n max: 3,\n },\n showEditor: ({ options }) =>\n options.xAxisLabelVisibility === 'show' ||\n options.xAxisLabelVisibility === 'auto' ||\n options.xAxisLabelVisibility === undefined,\n },\n ],\n [\n {\n label: _('Axis line visibility'),\n option: 'xAxisLineVisibility',\n editor: 'editor.checkbox',\n },\n ],\n [\n {\n label: _('Major gridlines'),\n option: 'showXMajorGridLines',\n editor: 'editor.checkbox',\n },\n ],\n [\n {\n label: _('Major tick visibility'),\n option: 'xAxisMajorTickVisibility',\n editor: 'editor.radioBar',\n editorProps: {\n values: [\n { label: _('Auto'), value: 'auto' },\n { label: _('Show'), value: 'show' },\n { label: _('Hide'), value: 'hide' },\n ],\n },\n },\n ],\n [\n {\n label: _('Major tick size (px)'),\n option: 'xAxisMajorTickSize',\n editor: 'editor.slider',\n editorProps: {\n min: 0,\n max: 10,\n step: 1,\n },\n showEditor: ({ options }) =>\n options.xAxisMajorTickVisibility === 'show' ||\n options.xAxisMajorTickVisibility === 'auto' ||\n options.xAxisMajorTickVisibility === undefined,\n },\n ],\n ],\n};\n\nexport const AxesChartXGridAndLabelsBubbleScatter: EditorConfig = {\n label: AxesChartXGridAndLabelsCommon.label,\n layout: [\n ...insertLayout(AxesChartXGridAndLabelsCommon.layout, 2, [\n {\n label: _('Axis scale'),\n option: 'xAxisScale',\n editor: 'editor.radioBar',\n editorProps: {\n values: [\n { label: _('Linear'), value: 'linear' },\n { label: _('Log'), value: 'log' },\n ],\n },\n },\n ]),\n [\n {\n label: _('Label rotation'),\n option: 'xAxisLabelRotation',\n editor: 'editor.select',\n editorProps: {\n values: [\n { label: _('-90'), value: -90 },\n { label: _('-45'), value: -45 },\n { label: _('0'), value: 0 },\n { label: _('45'), value: 45 },\n { label: _('90'), value: 90 },\n ],\n },\n showEditor: ({ options }) =>\n options.xAxisLabelVisibility === 'show' ||\n options.xAxisLabelVisibility === 'auto' ||\n options.xAxisLabelVisibility === undefined,\n },\n ],\n [\n {\n label: _('Round axis labels'),\n option: 'showRoundedXAxisLabels',\n editor: 'editor.checkbox',\n showEditor: ({ options }) =>\n options.xAxisLabelVisibility === 'show' ||\n options.xAxisLabelVisibility === 'auto' ||\n options.xAxisLabelVisibility === undefined,\n },\n ],\n [\n {\n label: _('SI prefix abbreviation for labels'),\n option: 'xAxisAbbreviation',\n editor: 'editor.checkbox',\n showEditor: ({ options }) =>\n options.xAxisLabelVisibility === 'show' ||\n options.xAxisLabelVisibility === 'auto' ||\n options.xAxisLabelVisibility === undefined,\n },\n ],\n [\n {\n label: _('Include zero'),\n option: 'showXAxisWithZero',\n editor: 'editor.checkbox',\n },\n ],\n [\n {\n label: _('Extend to whole grid'),\n option: 'showXAxisExtendedRange',\n editor: 'editor.checkbox',\n },\n ],\n [\n {\n label: _('Minimum axis value'),\n option: 'xAxisMin',\n editor: 'editor.number',\n },\n {\n label: _('Maximum axis value'),\n option: 'xAxisMax',\n editor: 'editor.number',\n },\n ],\n [\n {\n label: _('Axis line visibility'),\n option: 'xAxisLineVisibility',\n editor: 'editor.checkbox',\n },\n ],\n // this option is disabled for bubble and scatter\n // [\n // {\n // label: _('Major gridlines'),\n // option: 'showXMajorGridLines',\n // editor: 'editor.checkbox',\n // },\n // ],\n [\n {\n label: _('Major tick visibility'),\n option: 'xAxisMajorTickVisibility',\n editor: 'editor.radioBar',\n editorProps: {\n values: [\n { label: _('Auto'), value: 'auto' },\n { label: _('Show'), value: 'show' },\n { label: _('Hide'), value: 'hide' },\n ],\n },\n },\n ],\n [\n {\n label: _('Major tick size (px)'),\n option: 'xAxisMajorTickSize',\n editor: 'editor.slider',\n editorProps: {\n min: 0,\n max: 10,\n step: 1,\n },\n showEditor: ({ options }) =>\n options.xAxisMajorTickVisibility === 'show' ||\n options.xAxisMajorTickVisibility === 'auto' ||\n options.xAxisMajorTickVisibility === undefined,\n },\n ],\n [\n {\n label: _('Major tick interval spacing'),\n option: 'xAxisMajorTickInterval',\n editor: 'editor.number',\n showEditor: ({ options }) =>\n options.xAxisMajorTickVisibility === 'show' ||\n options.xAxisMajorTickVisibility === 'auto' ||\n options.xAxisMajorTickVisibility === undefined,\n },\n ],\n [\n {\n label: _('Minor gridlines'),\n option: 'showXMinorGridLines',\n editor: 'editor.checkbox',\n },\n ],\n [\n {\n label: _('Minor tick visibility'),\n option: 'xAxisMinorTickVisibility',\n editor: 'editor.radioBar',\n editorProps: {\n values: [\n { label: _('Auto'), value: 'auto' },\n { label: _('Show'), value: 'show' },\n { label: _('Hide'), value: 'hide' },\n ],\n },\n },\n ],\n [\n {\n label: _('Minor tick size (px)'),\n option: 'xAxisMinorTickSize',\n editor: 'editor.slider',\n editorProps: {\n min: 0,\n max: 10,\n step: 1,\n },\n showEditor: ({ options }) =>\n options.xAxisMinorTickVisibility === 'show' ||\n options.xAxisMinorTickVisibility === 'auto' ||\n options.xAxisMinorTickVisibility === undefined,\n },\n ],\n ],\n};\n\nexport default AxesChartXGridAndLabels;\n","import { _ } from '@splunk/ui-utils/i18n';\nimport { EditorConfig } from '../interfaces/Editor';\n\nconst AxesChartYGridAndLabels: EditorConfig = {\n label: _('Y-axis grid and labels'),\n layout: [\n [\n {\n label: _('Axis title'),\n option: 'yAxisTitleVisibility',\n editor: 'editor.toggle',\n },\n ],\n [\n {\n label: _('Axis title text'),\n option: 'yAxisTitleText',\n editor: 'editor.text',\n showEditor: ({ options }) =>\n options.yAxisTitleVisibility === 'show' || options.yAxisTitleVisibility === undefined,\n },\n ],\n [\n {\n label: _('Scale'),\n option: 'yAxisScale',\n editor: 'editor.radioBar',\n editorProps: {\n values: [\n { label: _('Linear'), value: 'linear' },\n { label: _('Log'), value: 'log' },\n ],\n },\n },\n ],\n [\n {\n label: _('Label visibility'),\n option: 'yAxisLabelVisibility',\n editor: 'editor.radioBar',\n editorProps: {\n values: [\n { label: _('Auto'), value: 'auto' },\n { label: _('Show'), value: 'show' },\n { label: _('Hide'), value: 'hide' },\n ],\n },\n },\n ],\n [\n {\n label: _('SI prefix abbreviation for labels'),\n option: 'yAxisAbbreviation',\n editor: 'editor.checkbox',\n showEditor: ({ options }) =>\n options.yAxisLabelVisibility === 'show' ||\n options.yAxisLabelVisibility === 'auto' ||\n options.yAxisLabelVisibility === undefined,\n },\n ],\n [\n {\n label: _('Include zero'),\n option: 'showYAxisWithZero',\n editor: 'editor.checkbox',\n },\n ],\n [\n {\n label: _('Extend to whole grid'),\n option: 'showYAxisExtendedRange',\n editor: 'editor.checkbox',\n },\n ],\n [\n {\n label: _('Minimum axis value'),\n option: 'yAxisMin',\n editor: 'editor.number',\n },\n {\n label: _('Maximum axis value'),\n option: 'yAxisMax',\n editor: 'editor.number',\n },\n ],\n [\n {\n label: _('Axis line visibility'),\n option: 'yAxisLineVisibility',\n editor: 'editor.checkbox',\n },\n ],\n [\n {\n label: _('Major gridlines'),\n option: 'showYMajorGridLines',\n editor: 'editor.checkbox',\n },\n ],\n [\n {\n label: _('Major tick visibility'),\n option: 'yAxisMajorTickVisibility',\n editor: 'editor.radioBar',\n editorProps: {\n values: [\n { label: _('Auto'), value: 'auto' },\n { label: _('Show'), value: 'show' },\n { label: _('Hide'), value: 'hide' },\n ],\n },\n },\n ],\n [\n {\n label: _('Major tick size (px)'),\n option: 'yAxisMajorTickSize',\n editor: 'editor.slider',\n editorProps: {\n min: 0,\n max: 10,\n step: 1,\n },\n showEditor: ({ options }) =>\n options.yAxisMajorTickVisibility === 'show' ||\n options.yAxisMajorTickVisibility === 'auto' ||\n options.yAxisMajorTickVisibility === undefined,\n },\n ],\n [\n {\n label: _('Major tick interval spacing'),\n option: 'yAxisMajorTickInterval',\n editor: 'editor.number',\n showEditor: ({ options }) =>\n options.yAxisMajorTickVisibility === 'show' ||\n options.yAxisMajorTickVisibility === 'auto' ||\n options.yAxisMajorTickVisibility === undefined,\n },\n ],\n [\n {\n label: _('Minor gridlines'),\n option: 'showYMinorGridLines',\n editor: 'editor.checkbox',\n },\n ],\n [\n {\n label: _('Minor tick visibility'),\n option: 'yAxisMinorTickVisibility',\n editor: 'editor.radioBar',\n editorProps: {\n values: [\n { label: _('Auto'), value: 'auto' },\n { label: _('Show'), value: 'show' },\n { label: _('Hide'), value: 'hide' },\n ],\n },\n },\n ],\n [\n {\n label: _('Minor tick size (px)'),\n option: 'yAxisMinorTickSize',\n editor: 'editor.slider',\n editorProps: {\n min: 0,\n max: 10,\n step: 1,\n },\n showEditor: ({ options }) =>\n options.yAxisMinorTickVisibility === 'show' ||\n options.yAxisMinorTickVisibility === 'auto' ||\n options.yAxisMinorTickVisibility === undefined,\n },\n ],\n ],\n};\n\nexport default AxesChartYGridAndLabels;\n","import { _ } from '@splunk/ui-utils/i18n';\nimport { drop } from 'lodash';\nimport { EditorConfig } from '../interfaces/Editor';\nimport { insertLayout } from '../utils/configUtils';\n\nexport const AxesChartDataDisplayLine: EditorConfig = {\n label: _('Data display'),\n layout: [\n [\n {\n label: _('Null value display'),\n option: 'nullValueDisplay',\n editor: 'editor.radioBar',\n editorProps: {\n values: [\n { label: _('Gaps'), value: 'gaps' },\n { label: _('Zero'), value: 'zero' },\n { label: _('Connect'), value: 'connect' },\n ],\n },\n },\n ],\n [\n {\n label: _('Data value display'),\n option: 'dataValuesDisplay',\n editor: 'editor.radioBar',\n editorProps: {\n values: [\n { label: _('Off'), value: 'off' },\n { label: _('All'), value: 'all' },\n { label: _('Min/Max'), value: 'minmax' },\n ],\n },\n },\n ],\n [\n {\n label: _('Overlay fields'),\n option: 'overlayFields',\n editor: 'editor.columnMultiSelectionByFieldNameEditor',\n editorProps: {\n filterByTypes: ['number'],\n },\n },\n ],\n [\n {\n label: _('Split series'),\n option: 'showSplitSeries',\n editor: 'editor.toggle',\n },\n ],\n [\n {\n label: _('Independent y-axis for split series'),\n option: 'showIndependentYRanges',\n editor: 'editor.checkbox',\n showEditor: ({ options }) => options.showSplitSeries,\n },\n ],\n ],\n};\n\nconst AxesChartDataDisplay: EditorConfig = {\n label: AxesChartDataDisplayLine.label,\n layout: [\n [\n {\n label: _('Stack mode'),\n option: 'stackMode',\n editor: 'editor.select',\n editorProps: {\n values: [\n { label: _('Not stacked'), value: 'auto' },\n { label: _('Stacked'), value: 'stacked' },\n { label: _('Stacked 100%'), value: 'stacked100' },\n ],\n },\n },\n ],\n ...AxesChartDataDisplayLine.layout,\n ],\n};\n\nexport const AxesChartDataDisplayBar: EditorConfig = {\n label: AxesChartDataDisplayLine.label,\n layout: [\n [\n {\n label: _('Stack mode'),\n option: 'stackMode',\n editor: 'editor.select',\n editorProps: {\n values: [\n { label: _('Not stacked'), value: 'auto' },\n { label: _('Stacked'), value: 'stacked' },\n { label: _('Stacked 100%'), value: 'stacked100' },\n ],\n },\n },\n ],\n // remove nullValueDisplay\n ...drop(AxesChartDataDisplayLine.layout),\n ],\n};\n\nexport const AxesChartDataDisplayColumn: EditorConfig = {\n label: AxesChartDataDisplayBar.label,\n layout: [\n ...insertLayout(AxesChartDataDisplayBar.layout, 2, [\n {\n label: _('Show tooltip on hover'),\n option: 'showTooltip',\n editor: 'editor.checkbox',\n },\n ]),\n [\n {\n label: _('Column grouping mode'),\n option: 'columnGrouping',\n editor: 'editor.radioBar',\n editorProps: {\n values: [\n { label: _('Auto'), value: 'auto' },\n { label: _('Overlay'), value: 'overlay' },\n ],\n },\n },\n ],\n ],\n};\n\nexport default AxesChartDataDisplay;\n","import { _ } from '@splunk/ui-utils/i18n';\nimport { EditorConfig } from '../interfaces/Editor';\n\nconst axesChartY2GridAndLabels: EditorConfig = {\n label: _('Y2-axis grid and labels'),\n layout: [\n [\n {\n label: _('Axis title'),\n option: 'y2AxisTitleVisibility',\n editor: 'editor.toggle',\n },\n ],\n [\n {\n label: _('Axis title'),\n option: 'y2AxisTitleText',\n editor: 'editor.text',\n showEditor: ({ options }) =>\n options.y2AxisTitleVisibility === 'show' || options.y2AxisTitleVisibility === undefined,\n },\n ],\n [\n {\n label: _('Show overlays on the y2-axis'),\n option: 'showOverlayY2Axis',\n editor: 'editor.checkbox',\n showEditor: ({ options }) =>\n Array.isArray(options.overlayFields) && options.overlayFields.length > 0,\n },\n ],\n [\n {\n label: _('Scale'),\n option: 'y2AxisScale',\n editor: 'editor.radioBar',\n editorProps: {\n values: [\n { label: _('Linear'), value: 'linear' },\n { label: _('Log'), value: 'log' },\n ],\n },\n },\n ],\n [\n {\n label: _('Label visibility'),\n option: 'y2AxisLabelVisibility',\n editor: 'editor.radioBar',\n editorProps: {\n values: [\n { label: _('Auto'), value: 'auto' },\n { label: _('Show'), value: 'show' },\n { label: _('Hide'), value: 'hide' },\n ],\n },\n },\n ],\n [\n {\n label: _('Round axis labels'),\n option: 'showRoundedY2AxisLabels',\n editor: 'editor.checkbox',\n showEditor: ({ options }) =>\n options.y2AxisLabelVisibility === 'show' ||\n options.y2AxisLabelVisibility === 'auto' ||\n options.y2AxisLabelVisibility === undefined,\n },\n ],\n [\n {\n label: _('SI prefix abbreviation for labels'),\n option: 'y2AxisAbbreviation',\n editor: 'editor.checkbox',\n showEditor: ({ options }) =>\n options.y2AxisLabelVisibility === 'show' ||\n options.y2AxisLabelVisibility === 'auto' ||\n options.y2AxisLabelVisibility === undefined,\n },\n ],\n [\n {\n label: _('Include zero'),\n option: 'showY2AxisWithZero',\n editor: 'editor.checkbox',\n },\n ],\n [\n {\n label: _('Minimum axis value'),\n option: 'y2AxisMin',\n editor: 'editor.number',\n },\n {\n label: _('Maximum axis value'),\n option: 'y2AxisMax',\n editor: 'editor.number',\n },\n ],\n [\n {\n label: _('Axis line visibility'),\n option: 'y2AxisLineVisibility',\n editor: 'editor.checkbox',\n },\n ],\n [\n {\n label: _('Major gridlines'),\n option: 'showY2MajorGridLines',\n editor: 'editor.checkbox',\n },\n ],\n [\n {\n label: _('Major tick visibility'),\n option: 'y2AxisMajorTickVisibility',\n editor: 'editor.radioBar',\n editorProps: {\n values: [\n { label: _('Auto'), value: 'auto' },\n { label: _('Show'), value: 'show' },\n { label: _('Hide'), value: 'hide' },\n ],\n },\n },\n ],\n [\n {\n label: _('Major tick size (px)'),\n option: 'y2AxisMajorTickSize',\n editor: 'editor.slider',\n editorProps: {\n min: 0,\n max: 10,\n step: 1,\n },\n showEditor: ({ options }) =>\n options.y2AxisMajorTickVisibility === 'show' ||\n options.y2AxisMajorTickVisibility === 'auto' ||\n options.y2AxisMajorTickVisibility === undefined,\n },\n ],\n [\n {\n label: _('Major tick interval spacing'),\n option: 'y2AxisMajorTickInterval',\n editor: 'editor.number',\n showEditor: ({ options }) =>\n options.y2AxisMajorTickVisibility === 'show' ||\n options.y2AxisMajorTickVisibility === 'auto' ||\n options.y2AxisMajorTickVisibility === undefined,\n },\n ],\n [\n {\n label: _('Minor gridlines'),\n option: 'showY2MinorGridLines',\n editor: 'editor.checkbox',\n },\n ],\n [\n {\n label: _('Minor tick visibility'),\n option: 'y2AxisMinorTickVisibility',\n editor: 'editor.radioBar',\n editorProps: {\n values: [\n { label: _('Auto'), value: 'auto' },\n { label: _('Show'), value: 'show' },\n { label: _('Hide'), value: 'hide' },\n ],\n },\n },\n ],\n [\n {\n label: _('Minor tick size (px)'),\n option: 'y2AxisMinorTickSize',\n editor: 'editor.slider',\n editorProps: {\n min: 0,\n max: 10,\n step: 1,\n },\n showEditor: ({ options }) =>\n options.y2AxisMinorTickVisibility === 'show' ||\n options.y2AxisMinorTickVisibility === 'auto' ||\n options.y2AxisMinorTickVisibility === undefined,\n },\n ],\n ],\n};\n\nexport default axesChartY2GridAndLabels;\n","import { COLOR_OR_TOKEN_PATTERN_WITH_RGBA, getPattern } from '@splunk/visualizations-shared/schemaUtils';\nimport { VIZ_CATEGORICAL } from '@splunk/visualization-color-palettes';\nimport { Line as LineIcon } from '@splunk/visualization-icons';\nimport { Line as LinePlaceholderIcon } from '@splunk/visualization-icons/placeholders';\nimport { _ } from '@splunk/ui-utils/i18n';\nimport pick from '@splunk/themes/pick';\nimport variables from '@splunk/themes/variables';\nimport { AxesChartDataConfigAreaColumnLine } from '../common/editorConfig/AxesChartDataConfig';\nimport { AxesChartDataDisplayLine } from '../common/editorConfig/AxesChartDataDisplay';\nimport AxesChartColorAndStyle from '../common/editorConfig/AxesChartColorAndStyle';\nimport AxesChartLegend from '../common/editorConfig/AxesChartLegend';\nimport AxesChartXGridAndLabels from '../common/editorConfig/AxesChartXGridAndLabels';\nimport AxesChartYGridAndLabels from '../common/editorConfig/AxesChartYGridAndLabels';\nimport AxesChartY2GridAndLabels from '../common/editorConfig/AxesChartY2GridAndLabels';\n\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';\n\nconst dataContract: DataContract = {\n requiredDataSources: [\n {\n name: 'primary',\n description: 'DataSource that powers the visualization',\n },\n ],\n optionalDataSources: [\n {\n name: 'annotation',\n description: 'DataSource that populates 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\nconst 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 | frameBySeriesIndexRange(1)',\n description: 'Specify the dataSource applied to the y-axis.',\n type: 'array',\n items: { type: ['string', 'number'] },\n },\n y2: {\n description: 'Specify the dataSource applied to the y2-axis',\n type: 'array',\n items: { type: ['string', 'number'] },\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 yFields: {\n default: '> y | getField()',\n description: 'Specify the field that should be mapped to the y-axis.',\n type: 'string',\n },\n annotationColor: {\n description: `Specify the annotation colors. You may use a dataSource to apply the color. For example, [“#FF0000”, “#0000FF\", “#008000”].`,\n type: 'array',\n items: { type: 'string' },\n },\n annotationLabel: {\n description: `Specify a list of labels used for the annotations. You may use a dataSource to apply the labels. For example, [“houston, we have a problem”, “just close the jira”, “looking good now”].`,\n type: 'array',\n items: { type: 'string' },\n },\n annotationX: {\n description: 'Specify the dataSource field applied to the event annotation on the x-axis.',\n type: 'array',\n items: { type: ['string', 'number'] },\n },\n backgroundColor: {\n default: '> themes.defaultBackgroundColor',\n description:\n 'Specify the color for the background. You may use a dataSource to apply the color. 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_WITH_RGBA,\n type: 'string',\n },\n dataValuesDisplay: {\n default: 'off',\n description:\n 'Specify whether chart should display no labels, all labels, or only the min and max labels.',\n pattern: getPattern(['off', 'all', 'minmax']),\n type: 'string',\n },\n legendDisplay: {\n default: 'right',\n description:\n 'Specify the location of the legend on the panel. You must select the Standard legend mode to make this change.',\n pattern: getPattern(['right', 'left', 'top', 'bottom', 'off']),\n type: 'string',\n },\n legendLabels: {\n description: `Specify a list of labels to pre-populate the legend. For example, [\"percent\", \"count\"].`,\n type: 'array',\n items: { type: 'string' },\n },\n legendMode: {\n default: 'standard',\n description:\n 'Specify visual and behavioral settings for the tooltip and legend. \"seriesCompare\" is useful when comparing series.',\n pattern: getPattern(['standard', 'seriesCompare']),\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 lineDashStyle: {\n default: 'solid',\n description: 'Specify a dash style for all line series in the chart.',\n pattern: getPattern([\n 'solid',\n 'shortDash',\n 'shortDot',\n 'shortDashDot',\n 'shortDashDotDot',\n 'dot',\n 'dash',\n 'longDash',\n 'dashDot',\n 'longDashDot',\n 'longDashDotDot',\n ]),\n type: 'string',\n },\n lineDashStylesByField: {\n description: `Specify a dash style to use for each field. For example, {\"count\": \"longDashDot\", \"percent\": \"longDashDotDot\"}.\n Valid values: \"solid\", \"shortDash\", \"shortDot\", \"shortDashDot\", \"shortDashDotDot\", \"dot\", \"dash\",\n \"longDash\", \"dashDot\", \"longDashDot\", \"longDashDotDot\".`,\n type: 'object',\n },\n lineWidth: {\n default: 2,\n description: 'Specify the line width (px), for all line series.',\n type: 'number',\n },\n markerDisplay: {\n default: 'off',\n description: `Specify the marker display style for data points.`,\n pattern: getPattern(['off', 'filled', 'outlined']),\n enum: ['off', 'filled', 'outlined'],\n type: 'string',\n },\n nullValueDisplay: {\n default: 'gaps',\n description: 'Specify how area and line charts handle null values.',\n pattern: getPattern(['gaps', 'zero', 'connect']),\n type: 'string',\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 showLineSmoothing: {\n default: false,\n description: 'Specify whether lines are straight or smoothed using curves.',\n type: 'boolean',\n },\n showIndependentYRanges: {\n default: false,\n description: 'Specify whether split series charts have independent y-ranges.',\n type: 'boolean',\n },\n showSplitSeries: {\n default: false,\n description:\n 'Set to \"true\" to split a multi-series chart into separate charts that are stacked from top to bottom; one for each series.',\n type: 'boolean',\n },\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 showY2MajorGridLines: {\n default: false,\n description: 'Specify whether major grid lines are visible on the y2-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 showY2MinorGridLines: {\n default: false,\n description: 'Specify whether minor grid lines are visible on y2-axis.',\n type: 'boolean',\n },\n showYAxisExtendedRange: {\n default: true,\n description: 'Specify whether the y-axis should be extended to include whole major tick marks.',\n type: 'boolean',\n },\n showYAxisWithZero: {\n default: false,\n description: 'Specify whether the y-axis range includes zero.',\n type: 'boolean',\n },\n showY2AxisWithZero: {\n default: false,\n description: 'Specify whether the y2-axis range includes zero.',\n type: 'boolean',\n },\n xAxisLabelRotation: {\n default: 0,\n description: 'Specify the rotation of the x-axis label in degrees.',\n enum: [-90, -45, 0, 45, 90],\n type: 'number',\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 y2AxisLabelVisibility: {\n default: 'auto',\n description: 'Specify whether to show or hide labels on the y2-axis.',\n pattern: getPattern(['auto', 'show', 'hide']),\n type: 'string',\n },\n xAxisLineVisibility: {\n default: 'hide',\n enum: ['hide', 'show'],\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 enum: ['hide', 'show'],\n pattern: getPattern(['show', 'hide']),\n type: 'string',\n },\n y2AxisLineVisibility: {\n default: 'hide',\n description: 'Specify whether to show or hide the y2-axis line.',\n enum: ['hide', 'show'],\n pattern: getPattern(['show', 'hide']),\n type: 'string',\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 y2AxisMajorTickSize: {\n default: 6,\n description: 'Specify the size, in pixels, of major tick marks on the y2-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 y2AxisMinorTickSize: {\n default: 6,\n description: 'Specify the size, in pixels, of minor tick marks on the y2-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 y2AxisMajorTickVisibility: {\n default: 'auto',\n description: 'Specify whether to show or hide major tick marks on the y2-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 y2AxisMinorTickVisibility: {\n default: 'auto',\n description: 'Specify whether to show or hide minor tick marks on the y2-axis.',\n pattern: getPattern(['auto', 'show', 'hide']),\n type: 'string',\n },\n xAxisMaxLabelParts: {\n default: 3,\n minimum: 1,\n maximum: 3,\n description:\n 'Specify the maximum number of time-parts for a tick label. The 3 possible parts are year, month, and time. Values can range from 1 to 3.',\n type: 'number',\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 y2AxisTitleText: {\n description: 'Specify the title of the y2-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 enum: ['hide', 'show'],\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 enum: ['hide', 'show'],\n pattern: getPattern(['show', 'hide']),\n type: 'string',\n },\n y2AxisTitleVisibility: {\n default: 'show',\n description: 'Specify whether to show or hide the title of the y2-axis.',\n enum: ['hide', 'show'],\n pattern: getPattern(['show', 'hide']),\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 enum: ['off', 'auto'],\n pattern: getPattern(['off', 'auto']),\n type: 'string',\n },\n y2AxisAbbreviation: {\n default: 'auto',\n description: 'Specify whether to abbreviate large y2-axis values with the closest SI prefix.',\n enum: ['off', 'auto'],\n pattern: getPattern(['off', 'auto']),\n type: 'string',\n },\n yAxisMajorTickInterval: {\n default: 'auto',\n description: 'Specify the spacing unit between major tick marks along the numeric y-axis.',\n type: ['string', 'number'],\n },\n y2AxisMajorTickInterval: {\n default: 'auto',\n description: 'Specify the spacing unit between major tick marks along the numeric y2-axis.',\n type: ['string', 'number'],\n },\n // TODO(SCP-40274): Restrict string value to only 'auto' to achieve precise schema validation\n yAxisMax: {\n default: 'auto',\n description: 'Specify the maximum number for the visible y-axis range.',\n type: ['string', 'number'],\n },\n // TODO(SCP-40274): Restrict string value to only 'auto' to achieve precise schema validation\n y2AxisMax: {\n default: 'auto',\n description: 'Specify the maximum number for the visible y2-axis range.',\n type: ['string', 'number'],\n },\n // TODO(SCP-40274): Restrict string value to only 'auto' to achieve precise schema validation\n yAxisMin: {\n default: 'auto',\n description: 'Specify the minimum number for the visible y-axis range.',\n type: ['string', 'number'],\n },\n // TODO(SCP-40274): Restrict string value to only 'auto' to achieve precise schema validation\n y2AxisMin: {\n default: 'auto',\n description: 'Specify the minimum number for the visible y2-axis range.',\n type: ['string', 'number'],\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 y2AxisScale: {\n default: 'linear',\n description: 'Specify the type of scale that applies to a numerical y2-axis.',\n pattern: getPattern(['linear', 'log']),\n type: 'string',\n },\n // TODO: Figure out a way to explicitly support string value in addition to an array of strings\n // as UDF won't allow users to proceed if a string value is entered due to schema validation\n overlayFields: {\n description:\n 'Specify field(s) that should be differentiated on the chart and displayed as chart overlays.',\n type: ['array', 'string'],\n items: {\n type: 'string',\n },\n },\n showOverlayY2Axis: {\n default: false,\n description:\n 'Enable a y2-axis for chart overlays. All overlay fields will be mapped to a second y-axis.',\n type: 'boolean',\n },\n showRoundedY2AxisLabels: {\n default: true,\n description: 'Specify whether to round y2-axis values to the nearest integer.',\n type: 'boolean',\n },\n y2Fields: {\n default: '> y2 | getField()',\n description: 'Specify field(s) that should be mapped to a second y-axis.',\n type: ['array', 'string'],\n items: {\n type: 'string',\n },\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 AxesChartDataConfigAreaColumnLine,\n AxesChartDataDisplayLine,\n {\n label: AxesChartColorAndStyle.label,\n layout: [\n ...AxesChartColorAndStyle.layout,\n // [\n // {\n // label: _('Line dash style'),\n // option: 'lineDashStyle',\n // editor: 'editor.seriesLineTypes',\n // },\n // ],\n // [\n // {\n // label: _('Line dash styles by field name'),\n // option: 'lineDashStylesByField',\n // editor: 'editor.seriesLineTypesByField',\n // },\n // ],\n [\n {\n label: _('Line width (px)'),\n option: 'lineWidth',\n editor: 'editor.slider',\n editorProps: {\n min: 0.5,\n max: 8.0,\n step: 0.5,\n },\n },\n ],\n [\n {\n label: _('Line smoothing'),\n option: 'showLineSmoothing',\n editor: 'editor.toggle',\n },\n ],\n [\n {\n label: _('Marker display'),\n option: 'markerDisplay',\n editor: 'editor.radioBar',\n editorProps: {\n values: [\n {\n label: _('Off'),\n value: 'off',\n },\n {\n label: _('Filled'),\n value: 'filled',\n },\n {\n label: _('Outlined'),\n value: 'outlined',\n },\n ],\n },\n },\n ],\n [\n {\n label: _('Annotation colors'),\n option: 'annotationColor',\n editor: 'editor.columnSelector',\n editorProps: {\n dataSourceKey: 'annotation',\n supportsDSL: true,\n expectedDataPrimitive: ['series'],\n },\n },\n ],\n ],\n },\n {\n label: AxesChartLegend.label,\n layout: [\n [\n {\n label: _('Legend display'),\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 tooltip: _('Legend mode must be \"Standard\" to configure legend display'),\n },\n isDisabled: ({ options }) => options.legendMode === 'seriesCompare',\n },\n ],\n [\n {\n label: _('Legend 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 showEditor: ({ options }) =>\n options.legendDisplay === 'left' ||\n options.legendDisplay === 'right' ||\n options.legendDisplay === 'top' ||\n options.legendDisplay === 'bottom' ||\n options.legendDisplay === undefined,\n },\n ],\n [\n {\n label: _('Legend mode'),\n option: 'legendMode',\n editor: 'editor.radioBar',\n editorProps: {\n values: [\n { label: _('Standard'), value: 'standard' },\n { label: _('Compare series'), value: 'seriesCompare' },\n ],\n },\n },\n ],\n ],\n },\n AxesChartXGridAndLabels,\n AxesChartYGridAndLabels,\n AxesChartY2GridAndLabels,\n];\n\n/**\n * visualization configuration\n */\nconst config: VizConfig = {\n /**\n * unique viz key\n */\n key: 'splunk.line',\n /**\n * viz name\n */\n name: _('Line'),\n category: VizCategory.TRENDS,\n /**\n * viz icon\n */\n icon: LineIcon,\n placeholderIcon: LinePlaceholderIcon,\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 line chart',\n },\n 'range.select': {\n description: 'triggered when user makes a selection',\n },\n 'point.mouseover': {\n description: 'triggered when user hovers over a data point',\n },\n 'point.mouseout': {\n description: 'triggered when user moves out of a data point',\n },\n },\n supports: [VizBehavior.DYNAMIC_OPTIONS, VizBehavior.PLACEHOLDER],\n themes,\n};\n\nexport default enhanceConfig(config);\n"],"sourceRoot":""}
|
|
1
|
+
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///external \"@splunk/ui-utils/i18n\"","webpack:///external \"@babel/runtime/helpers/toConsumableArray\"","webpack:///./src/common/interfaces/VizBehavior.ts","webpack:///external \"@splunk/visualizations-shared/schemaUtils\"","webpack:///./src/common/utils/configUtils.ts","webpack:///external \"lodash\"","webpack:///external \"@babel/runtime/helpers/defineProperty\"","webpack:///./src/common/interfaces/VizCategory.ts","webpack:///external \"@splunk/themes/pick\"","webpack:///external \"@splunk/themes/variables\"","webpack:///external \"@splunk/visualization-icons/placeholders\"","webpack:///external \"@splunk/visualization-icons\"","webpack:///./src/common/editorConfig/BackgroundColor.ts","webpack:///external \"@splunk/visualization-color-palettes\"","webpack:///./src/common/editorConfig/AxesChartDataConfig.ts","webpack:///./src/common/editorConfig/AxesChartColorAndStyle.ts","webpack:///./src/common/editorConfig/AxesChartLegend.ts","webpack:///./src/common/editorConfig/AxesChartXGridAndLabels.ts","webpack:///./src/common/editorConfig/AxesChartYGridAndLabels.ts","webpack:///./src/common/editorConfig/AxesChartDataDisplay.ts","webpack:///./src/common/editorConfig/AxesChartY2GridAndLabels.ts","webpack:///./src/Line/config.ts"],"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,qE;;;;;;;;;;;;;ACAA,IAAY,WAAZ;;AAAA,WAAY,WAAZ,EAAuB;AACnB;;;;;;;;;;AAUG;AACH;AACA;AACA;AACA;;;;AAIG;;AACH;AACA;AACA;AACH,CAvBD,EAAY,WAAW,GAAX,8CAAW,EAAX,CAAZ,E;;;;;;ACAA,sE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACAA;;AACA;;AAGA;;AAWA,IAAM,qBAAqB,GAAG;AAC1B,MAAI,EAAE,QADoB;AAE1B,SAAO,EAAE;AAFiB,CAA9B;AAKA;;;;AAIG;;AACH,SAAS,sCAAT,CACI,aADJ,EACwD;AAEpD,MAAM,qBAAqB,GAAkB,EAA7C;AACA,QAAM,CAAC,IAAP,CAAY,aAAZ,EAA2B,OAA3B,CAAmC,UAAC,GAAD,EAAc;AACvC,aAgBF,aAAa,CAhBX,GAgBW,CAhBX;AAAA,QAIF,KAJE,GAae,EAbf,CAIF,KAJE;AAAA,QAKF,WALE,GAae,EA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,CAAf,C","file":"Line.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 = 55);\n","module.exports = require(\"@splunk/ui-utils/i18n\");","module.exports = require(\"@babel/runtime/helpers/toConsumableArray\");","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 DOWNSAMPLING = 'downsampling',\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 TRELLIS = 'trellis',\n}\n","module.exports = require(\"@splunk/visualizations-shared/schemaUtils\");","import { get, range } from 'lodash';\nimport { DYNAMIC_OPTIONS_DSL_PATTERN } from '@splunk/visualizations-shared/schemaUtils';\nimport type { JSONSchema7Definition } from 'json-schema';\nimport { isDynamicOption } from '@splunk/visualizations-shared/configUtils';\nimport { VizBehavior } from '../interfaces/VizBehavior';\nimport { VizConfig } from '../interfaces/VizConfig';\nimport { OptionsSchema } from '../interfaces/OptionsSchema';\nimport { EditorLayoutConfig, EditorConfig } from '../interfaces/Editor';\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((opt): void => {\n enhancedPatternProperties = {\n ...enhancedPatternProperties,\n ...enhanceOptionsSchemaWithDynamicOptions({ [opt]: patternProperties[opt] }),\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 * this function also collapse all editor panels\n * @param vizConfig a Visualization Config\n * @returns an enhanced Visualization Config containing updated config entries based on behaviors it supports\n * and containing `open: false` for all editor panels in editorConfig\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 enhancedConfig.editorConfig = vizConfig.editorConfig.map(\n (config: EditorConfig): EditorConfig => {\n return { ...config, open: config.open || false };\n }\n );\n return enhancedConfig;\n}\n\n/**\n * Helper function to uncollapse all editor panels by adding `open: true` to the editorConfig\n * Created for editor unit tests\n * @param vizConfig a Visualization Config\n * @returns a Visualization Config containing `open: true` for all editor panels in editorConfig\n */\nfunction uncollapseEditorConfig(vizConfig: VizConfig): VizConfig {\n const editorPanelUncollapsedConfig: VizConfig = { ...vizConfig };\n editorPanelUncollapsedConfig.editorConfig = vizConfig.editorConfig.map(\n (config: EditorConfig): EditorConfig => {\n return { ...config, open: true };\n }\n );\n return editorPanelUncollapsedConfig;\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 getInitialPreset,\n generatePrecisionValues,\n uncollapseEditorConfig,\n isDynamicOption,\n};\n\n/**\n * insert layout in layout array, return a new layout array instead of updating the original\n *\n * @param {EditorLayoutConfig[][]} layout - editor layout\n * @param {Number} index - the index to insert layout item(s)\n * @param {EditorLayoutConfig[][]} layoutItems - the item(s) to insert\n * @returns {EditorLayoutConfig[][]} new editor layout with insertion\n */\nexport const insertLayout = (\n layout: EditorLayoutConfig[][],\n index: number,\n ...layoutItems: EditorLayoutConfig[][]\n): EditorLayoutConfig[][] => [\n // copy part of the array before the specified index\n ...layout.slice(0, index),\n // inserted layout item\n ...layoutItems,\n // copy part of the array after the specified index\n ...layout.slice(index),\n];\n","module.exports = require(\"lodash\");","module.exports = require(\"@babel/runtime/helpers/defineProperty\");","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","module.exports = require(\"@splunk/themes/pick\");","module.exports = require(\"@splunk/themes/variables\");","module.exports = require(\"@splunk/visualization-icons/placeholders\");","module.exports = require(\"@splunk/visualization-icons\");","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';\nimport { insertLayout } from '../utils/configUtils';\n\nconst AxesChartDataConfig: EditorConfig = {\n label: _('Data configurations'),\n layout: [\n [\n {\n label: _('X'),\n option: 'x',\n editor: 'editor.columnSelector',\n editorProps: {\n dataSourceKey: 'primary',\n supportsDSL: true,\n expectedDataPrimitive: ['series'],\n },\n },\n ],\n [\n {\n label: _('Y'),\n option: 'y',\n editor: 'editor.columnMultiSelector',\n editorProps: {\n dataSourceKey: 'primary',\n filterByTypes: ['number'],\n supportsDSL: true,\n expectedDataPrimitive: ['series', 'frame'],\n },\n },\n ],\n [\n {\n label: _('Result limit'),\n option: 'resultLimit',\n editor: 'editor.number',\n editorProps: {\n dataSourceKey: 'primary',\n },\n },\n ],\n ],\n};\n\nexport const AxesChartDataConfigBar: EditorConfig = {\n label: AxesChartDataConfig.label,\n // insert Y2 after Y\n layout: insertLayout(AxesChartDataConfig.layout, 2, [\n {\n label: _('Y2'),\n option: 'y2',\n editor: 'editor.columnMultiSelector',\n editorProps: {\n dataSourceKey: 'primary',\n filterByTypes: ['number'],\n supportsDSL: true,\n expectedDataPrimitive: ['series', 'frame'],\n },\n },\n ]),\n};\n\nexport const AxesChartDataConfigScatter: EditorConfig = {\n label: AxesChartDataConfig.label,\n layout: [\n [\n {\n label: _('X'),\n option: 'x',\n editor: 'editor.columnSelector',\n editorProps: {\n dataSourceKey: 'primary',\n supportsDSL: true,\n expectedDataPrimitive: ['series'],\n },\n },\n ],\n [\n {\n label: _('Y'),\n option: 'y',\n editor: 'editor.columnSelector',\n editorProps: {\n dataSourceKey: 'primary',\n filterByTypes: ['number'],\n supportsDSL: true,\n expectedDataPrimitive: ['series'],\n },\n },\n ],\n [\n {\n label: _('Category'),\n option: 'category',\n editor: 'editor.columnSelector',\n editorProps: {\n dataSourceKey: 'primary',\n supportsDSL: true,\n expectedDataPrimitive: ['series'],\n },\n },\n ],\n [\n {\n label: _('Result limit'),\n option: 'resultLimit',\n editor: 'editor.number',\n editorProps: {\n dataSourceKey: 'primary',\n },\n },\n ],\n ],\n};\n\nexport const AxesChartDataConfigBubble: EditorConfig = {\n label: AxesChartDataConfigScatter.label,\n // layout: insert Size after Category\n layout: insertLayout(AxesChartDataConfigScatter.layout, 3, [\n {\n label: _('Size'),\n option: 'size',\n editor: 'editor.columnSelector',\n editorProps: {\n dataSourceKey: 'primary',\n supportsDSL: true,\n expectedDataPrimitive: ['series'],\n },\n },\n ]),\n};\n\nexport const AxesChartDataConfigAreaColumnLine: EditorConfig = {\n label: AxesChartDataConfigBar.label,\n layout: [\n ...AxesChartDataConfigBar.layout,\n [\n {\n label: _('Annotation x'),\n option: 'annotationX',\n editor: 'editor.columnSelector',\n editorProps: {\n dataSourceKey: 'annotation',\n supportsDSL: true,\n expectedDataPrimitive: ['series'],\n },\n },\n ],\n [\n {\n label: _('Annotation labels'),\n option: 'annotationLabel',\n editor: 'editor.columnSelector',\n editorProps: {\n dataSourceKey: 'annotation',\n supportsDSL: true,\n expectedDataPrimitive: ['series'],\n },\n },\n ],\n ],\n};\n\nexport default AxesChartDataConfig;\n","import { _ } from '@splunk/ui-utils/i18n';\nimport pick from '@splunk/themes/pick';\nimport variables from '@splunk/themes/variables';\nimport { EditorConfig } from '../interfaces/Editor';\nimport { ThemedDefaults } from '../interfaces/ThemedDefaults';\nimport getBackgroundColorEditor from '../editorConfig/BackgroundColor';\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 AxesChartColorAndStyle: EditorConfig = {\n label: _('Color and style'),\n layout: [\n getBackgroundColorEditor({ themes }),\n [\n {\n label: _('Series colors'),\n option: 'seriesColors',\n editor: 'editor.seriesColors',\n },\n ],\n [\n {\n label: _('Series colors by field name'),\n option: 'seriesColorsByField',\n editor: 'editor.seriesColorsByField',\n },\n ],\n ],\n};\n\nexport default AxesChartColorAndStyle;\n","import { _ } from '@splunk/ui-utils/i18n';\nimport { EditorConfig } from '../interfaces/Editor';\n\nconst AxesChartLegend: EditorConfig = {\n label: _('Legend'),\n layout: [\n [\n {\n label: _('Legend display'),\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: _('Legend 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 showEditor: ({ options }) =>\n options.legendDisplay === 'left' ||\n options.legendDisplay === 'right' ||\n options.legendDisplay === 'top' ||\n options.legendDisplay === 'bottom' ||\n options.legendDisplay === undefined,\n },\n ],\n ],\n};\n\nexport default AxesChartLegend;\n","import { _ } from '@splunk/ui-utils/i18n';\nimport { EditorConfig } from '../interfaces/Editor';\nimport { insertLayout } from '../utils/configUtils';\n\nexport const AxesChartXGridAndLabelsCommon: EditorConfig = {\n label: _('X-axis grid and labels'),\n layout: [\n [\n {\n label: _('Axis title'),\n option: 'xAxisTitleVisibility',\n editor: 'editor.toggle',\n },\n ],\n [\n {\n label: _('Axis title text'),\n option: 'xAxisTitleText',\n editor: 'editor.text',\n showEditor: ({ options }) =>\n options.xAxisTitleVisibility === 'show' || options.xAxisTitleVisibility === undefined,\n },\n ],\n [\n {\n label: _('Label visibility'),\n option: 'xAxisLabelVisibility',\n editor: 'editor.radioBar',\n editorProps: {\n values: [\n { label: _('Auto'), value: 'auto' },\n { label: _('Show'), value: 'show' },\n { label: _('Hide'), value: 'hide' },\n ],\n },\n },\n ],\n ],\n};\n\nconst AxesChartXGridAndLabels: EditorConfig = {\n label: AxesChartXGridAndLabelsCommon.label,\n layout: [\n ...AxesChartXGridAndLabelsCommon.layout,\n [\n {\n label: _('Label rotation'),\n option: 'xAxisLabelRotation',\n editor: 'editor.select',\n editorProps: {\n values: [\n { label: _('-90'), value: -90 },\n { label: _('-45'), value: -45 },\n { label: _('0'), value: 0 },\n { label: _('45'), value: 45 },\n { label: _('90'), value: 90 },\n ],\n },\n showEditor: ({ options }) =>\n options.xAxisLabelVisibility === 'show' ||\n options.xAxisLabelVisibility === 'auto' ||\n options.xAxisLabelVisibility === undefined,\n },\n ],\n [\n {\n label: _('Number of time label parts'),\n option: 'xAxisMaxLabelParts',\n editor: 'editor.number',\n editorProps: {\n min: 1,\n max: 3,\n },\n showEditor: ({ options }) =>\n options.xAxisLabelVisibility === 'show' ||\n options.xAxisLabelVisibility === 'auto' ||\n options.xAxisLabelVisibility === undefined,\n },\n ],\n [\n {\n label: _('Axis line visibility'),\n option: 'xAxisLineVisibility',\n editor: 'editor.checkbox',\n },\n ],\n [\n {\n label: _('Major gridlines'),\n option: 'showXMajorGridLines',\n editor: 'editor.checkbox',\n },\n ],\n [\n {\n label: _('Major tick visibility'),\n option: 'xAxisMajorTickVisibility',\n editor: 'editor.radioBar',\n editorProps: {\n values: [\n { label: _('Auto'), value: 'auto' },\n { label: _('Show'), value: 'show' },\n { label: _('Hide'), value: 'hide' },\n ],\n },\n },\n ],\n [\n {\n label: _('Major tick size (px)'),\n option: 'xAxisMajorTickSize',\n editor: 'editor.slider',\n editorProps: {\n min: 0,\n max: 10,\n step: 1,\n },\n showEditor: ({ options }) =>\n options.xAxisMajorTickVisibility === 'show' ||\n options.xAxisMajorTickVisibility === 'auto' ||\n options.xAxisMajorTickVisibility === undefined,\n },\n ],\n ],\n};\n\nexport const AxesChartXGridAndLabelsBubbleScatter: EditorConfig = {\n label: AxesChartXGridAndLabelsCommon.label,\n layout: [\n ...insertLayout(AxesChartXGridAndLabelsCommon.layout, 2, [\n {\n label: _('Axis scale'),\n option: 'xAxisScale',\n editor: 'editor.radioBar',\n editorProps: {\n values: [\n { label: _('Linear'), value: 'linear' },\n { label: _('Log'), value: 'log' },\n ],\n },\n },\n ]),\n [\n {\n label: _('Label rotation'),\n option: 'xAxisLabelRotation',\n editor: 'editor.select',\n editorProps: {\n values: [\n { label: _('-90'), value: -90 },\n { label: _('-45'), value: -45 },\n { label: _('0'), value: 0 },\n { label: _('45'), value: 45 },\n { label: _('90'), value: 90 },\n ],\n },\n showEditor: ({ options }) =>\n options.xAxisLabelVisibility === 'show' ||\n options.xAxisLabelVisibility === 'auto' ||\n options.xAxisLabelVisibility === undefined,\n },\n ],\n [\n {\n label: _('Round axis labels'),\n option: 'showRoundedXAxisLabels',\n editor: 'editor.checkbox',\n showEditor: ({ options }) =>\n options.xAxisLabelVisibility === 'show' ||\n options.xAxisLabelVisibility === 'auto' ||\n options.xAxisLabelVisibility === undefined,\n },\n ],\n [\n {\n label: _('SI prefix abbreviation for labels'),\n option: 'xAxisAbbreviation',\n editor: 'editor.checkbox',\n showEditor: ({ options }) =>\n options.xAxisLabelVisibility === 'show' ||\n options.xAxisLabelVisibility === 'auto' ||\n options.xAxisLabelVisibility === undefined,\n },\n ],\n [\n {\n label: _('Include zero'),\n option: 'showXAxisWithZero',\n editor: 'editor.checkbox',\n },\n ],\n [\n {\n label: _('Extend to whole grid'),\n option: 'showXAxisExtendedRange',\n editor: 'editor.checkbox',\n },\n ],\n [\n {\n label: _('Minimum axis value'),\n option: 'xAxisMin',\n editor: 'editor.number',\n },\n {\n label: _('Maximum axis value'),\n option: 'xAxisMax',\n editor: 'editor.number',\n },\n ],\n [\n {\n label: _('Axis line visibility'),\n option: 'xAxisLineVisibility',\n editor: 'editor.checkbox',\n },\n ],\n // this option is disabled for bubble and scatter\n // [\n // {\n // label: _('Major gridlines'),\n // option: 'showXMajorGridLines',\n // editor: 'editor.checkbox',\n // },\n // ],\n [\n {\n label: _('Major tick visibility'),\n option: 'xAxisMajorTickVisibility',\n editor: 'editor.radioBar',\n editorProps: {\n values: [\n { label: _('Auto'), value: 'auto' },\n { label: _('Show'), value: 'show' },\n { label: _('Hide'), value: 'hide' },\n ],\n },\n },\n ],\n [\n {\n label: _('Major tick size (px)'),\n option: 'xAxisMajorTickSize',\n editor: 'editor.slider',\n editorProps: {\n min: 0,\n max: 10,\n step: 1,\n },\n showEditor: ({ options }) =>\n options.xAxisMajorTickVisibility === 'show' ||\n options.xAxisMajorTickVisibility === 'auto' ||\n options.xAxisMajorTickVisibility === undefined,\n },\n ],\n [\n {\n label: _('Major tick interval spacing'),\n option: 'xAxisMajorTickInterval',\n editor: 'editor.number',\n showEditor: ({ options }) =>\n options.xAxisMajorTickVisibility === 'show' ||\n options.xAxisMajorTickVisibility === 'auto' ||\n options.xAxisMajorTickVisibility === undefined,\n },\n ],\n [\n {\n label: _('Minor gridlines'),\n option: 'showXMinorGridLines',\n editor: 'editor.checkbox',\n },\n ],\n [\n {\n label: _('Minor tick visibility'),\n option: 'xAxisMinorTickVisibility',\n editor: 'editor.radioBar',\n editorProps: {\n values: [\n { label: _('Auto'), value: 'auto' },\n { label: _('Show'), value: 'show' },\n { label: _('Hide'), value: 'hide' },\n ],\n },\n },\n ],\n [\n {\n label: _('Minor tick size (px)'),\n option: 'xAxisMinorTickSize',\n editor: 'editor.slider',\n editorProps: {\n min: 0,\n max: 10,\n step: 1,\n },\n showEditor: ({ options }) =>\n options.xAxisMinorTickVisibility === 'show' ||\n options.xAxisMinorTickVisibility === 'auto' ||\n options.xAxisMinorTickVisibility === undefined,\n },\n ],\n ],\n};\n\nexport default AxesChartXGridAndLabels;\n","import { _ } from '@splunk/ui-utils/i18n';\nimport { EditorConfig } from '../interfaces/Editor';\n\nconst AxesChartYGridAndLabels: EditorConfig = {\n label: _('Y-axis grid and labels'),\n layout: [\n [\n {\n label: _('Axis title'),\n option: 'yAxisTitleVisibility',\n editor: 'editor.toggle',\n },\n ],\n [\n {\n label: _('Axis title text'),\n option: 'yAxisTitleText',\n editor: 'editor.text',\n showEditor: ({ options }) =>\n options.yAxisTitleVisibility === 'show' || options.yAxisTitleVisibility === undefined,\n },\n ],\n [\n {\n label: _('Scale'),\n option: 'yAxisScale',\n editor: 'editor.radioBar',\n editorProps: {\n values: [\n { label: _('Linear'), value: 'linear' },\n { label: _('Log'), value: 'log' },\n ],\n },\n },\n ],\n [\n {\n label: _('Label visibility'),\n option: 'yAxisLabelVisibility',\n editor: 'editor.radioBar',\n editorProps: {\n values: [\n { label: _('Auto'), value: 'auto' },\n { label: _('Show'), value: 'show' },\n { label: _('Hide'), value: 'hide' },\n ],\n },\n },\n ],\n [\n {\n label: _('SI prefix abbreviation for labels'),\n option: 'yAxisAbbreviation',\n editor: 'editor.checkbox',\n showEditor: ({ options }) =>\n options.yAxisLabelVisibility === 'show' ||\n options.yAxisLabelVisibility === 'auto' ||\n options.yAxisLabelVisibility === undefined,\n },\n ],\n [\n {\n label: _('Include zero'),\n option: 'showYAxisWithZero',\n editor: 'editor.checkbox',\n },\n ],\n [\n {\n label: _('Extend to whole grid'),\n option: 'showYAxisExtendedRange',\n editor: 'editor.checkbox',\n },\n ],\n [\n {\n label: _('Minimum axis value'),\n option: 'yAxisMin',\n editor: 'editor.number',\n },\n {\n label: _('Maximum axis value'),\n option: 'yAxisMax',\n editor: 'editor.number',\n },\n ],\n [\n {\n label: _('Axis line visibility'),\n option: 'yAxisLineVisibility',\n editor: 'editor.checkbox',\n },\n ],\n [\n {\n label: _('Major gridlines'),\n option: 'showYMajorGridLines',\n editor: 'editor.checkbox',\n },\n ],\n [\n {\n label: _('Major tick visibility'),\n option: 'yAxisMajorTickVisibility',\n editor: 'editor.radioBar',\n editorProps: {\n values: [\n { label: _('Auto'), value: 'auto' },\n { label: _('Show'), value: 'show' },\n { label: _('Hide'), value: 'hide' },\n ],\n },\n },\n ],\n [\n {\n label: _('Major tick size (px)'),\n option: 'yAxisMajorTickSize',\n editor: 'editor.slider',\n editorProps: {\n min: 0,\n max: 10,\n step: 1,\n },\n showEditor: ({ options }) =>\n options.yAxisMajorTickVisibility === 'show' ||\n options.yAxisMajorTickVisibility === 'auto' ||\n options.yAxisMajorTickVisibility === undefined,\n },\n ],\n [\n {\n label: _('Major tick interval spacing'),\n option: 'yAxisMajorTickInterval',\n editor: 'editor.number',\n showEditor: ({ options }) =>\n options.yAxisMajorTickVisibility === 'show' ||\n options.yAxisMajorTickVisibility === 'auto' ||\n options.yAxisMajorTickVisibility === undefined,\n },\n ],\n [\n {\n label: _('Minor gridlines'),\n option: 'showYMinorGridLines',\n editor: 'editor.checkbox',\n },\n ],\n [\n {\n label: _('Minor tick visibility'),\n option: 'yAxisMinorTickVisibility',\n editor: 'editor.radioBar',\n editorProps: {\n values: [\n { label: _('Auto'), value: 'auto' },\n { label: _('Show'), value: 'show' },\n { label: _('Hide'), value: 'hide' },\n ],\n },\n },\n ],\n [\n {\n label: _('Minor tick size (px)'),\n option: 'yAxisMinorTickSize',\n editor: 'editor.slider',\n editorProps: {\n min: 0,\n max: 10,\n step: 1,\n },\n showEditor: ({ options }) =>\n options.yAxisMinorTickVisibility === 'show' ||\n options.yAxisMinorTickVisibility === 'auto' ||\n options.yAxisMinorTickVisibility === undefined,\n },\n ],\n ],\n};\n\nexport default AxesChartYGridAndLabels;\n","import { _ } from '@splunk/ui-utils/i18n';\nimport { drop } from 'lodash';\nimport { EditorConfig } from '../interfaces/Editor';\nimport { insertLayout } from '../utils/configUtils';\n\nexport const AxesChartDataDisplayLine: EditorConfig = {\n label: _('Data display'),\n layout: [\n [\n {\n label: _('Null value display'),\n option: 'nullValueDisplay',\n editor: 'editor.radioBar',\n editorProps: {\n values: [\n { label: _('Gaps'), value: 'gaps' },\n { label: _('Zero'), value: 'zero' },\n { label: _('Connect'), value: 'connect' },\n ],\n },\n },\n ],\n [\n {\n label: _('Data value display'),\n option: 'dataValuesDisplay',\n editor: 'editor.radioBar',\n editorProps: {\n values: [\n { label: _('Off'), value: 'off' },\n { label: _('All'), value: 'all' },\n { label: _('Min/Max'), value: 'minmax' },\n ],\n },\n },\n ],\n [\n {\n label: _('Overlay fields'),\n option: 'overlayFields',\n editor: 'editor.columnMultiSelectionByFieldNameEditor',\n editorProps: {\n filterByTypes: ['number'],\n },\n },\n ],\n [\n {\n label: _('Split series'),\n option: 'showSplitSeries',\n editor: 'editor.toggle',\n },\n ],\n [\n {\n label: _('Independent y-axis for split series'),\n option: 'showIndependentYRanges',\n editor: 'editor.checkbox',\n showEditor: ({ options }) => options.showSplitSeries,\n },\n ],\n ],\n};\n\nconst AxesChartDataDisplay: EditorConfig = {\n label: AxesChartDataDisplayLine.label,\n layout: [\n [\n {\n label: _('Stack mode'),\n option: 'stackMode',\n editor: 'editor.select',\n editorProps: {\n values: [\n { label: _('Not stacked'), value: 'auto' },\n { label: _('Stacked'), value: 'stacked' },\n { label: _('Stacked 100%'), value: 'stacked100' },\n ],\n },\n },\n ],\n ...AxesChartDataDisplayLine.layout,\n ],\n};\n\nexport const AxesChartDataDisplayBar: EditorConfig = {\n label: AxesChartDataDisplayLine.label,\n layout: [\n [\n {\n label: _('Stack mode'),\n option: 'stackMode',\n editor: 'editor.select',\n editorProps: {\n values: [\n { label: _('Not stacked'), value: 'auto' },\n { label: _('Stacked'), value: 'stacked' },\n { label: _('Stacked 100%'), value: 'stacked100' },\n ],\n },\n },\n ],\n // remove nullValueDisplay\n ...drop(AxesChartDataDisplayLine.layout),\n ],\n};\n\nexport const AxesChartDataDisplayColumn: EditorConfig = {\n label: AxesChartDataDisplayBar.label,\n layout: [\n ...insertLayout(AxesChartDataDisplayBar.layout, 2, [\n {\n label: _('Show tooltip on hover'),\n option: 'showTooltip',\n editor: 'editor.checkbox',\n },\n ]),\n [\n {\n label: _('Column grouping mode'),\n option: 'columnGrouping',\n editor: 'editor.radioBar',\n editorProps: {\n values: [\n { label: _('Auto'), value: 'auto' },\n { label: _('Overlay'), value: 'overlay' },\n ],\n },\n },\n ],\n ],\n};\n\nexport default AxesChartDataDisplay;\n","import { _ } from '@splunk/ui-utils/i18n';\nimport { EditorConfig } from '../interfaces/Editor';\n\nconst axesChartY2GridAndLabels: EditorConfig = {\n label: _('Y2-axis grid and labels'),\n layout: [\n [\n {\n label: _('Axis title'),\n option: 'y2AxisTitleVisibility',\n editor: 'editor.toggle',\n },\n ],\n [\n {\n label: _('Axis title'),\n option: 'y2AxisTitleText',\n editor: 'editor.text',\n showEditor: ({ options }) =>\n options.y2AxisTitleVisibility === 'show' || options.y2AxisTitleVisibility === undefined,\n },\n ],\n [\n {\n label: _('Show overlays on the y2-axis'),\n option: 'showOverlayY2Axis',\n editor: 'editor.checkbox',\n showEditor: ({ options }) =>\n Array.isArray(options.overlayFields) && options.overlayFields.length > 0,\n },\n ],\n [\n {\n label: _('Scale'),\n option: 'y2AxisScale',\n editor: 'editor.radioBar',\n editorProps: {\n values: [\n { label: _('Linear'), value: 'linear' },\n { label: _('Log'), value: 'log' },\n ],\n },\n },\n ],\n [\n {\n label: _('Label visibility'),\n option: 'y2AxisLabelVisibility',\n editor: 'editor.radioBar',\n editorProps: {\n values: [\n { label: _('Auto'), value: 'auto' },\n { label: _('Show'), value: 'show' },\n { label: _('Hide'), value: 'hide' },\n ],\n },\n },\n ],\n [\n {\n label: _('Round axis labels'),\n option: 'showRoundedY2AxisLabels',\n editor: 'editor.checkbox',\n showEditor: ({ options }) =>\n options.y2AxisLabelVisibility === 'show' ||\n options.y2AxisLabelVisibility === 'auto' ||\n options.y2AxisLabelVisibility === undefined,\n },\n ],\n [\n {\n label: _('SI prefix abbreviation for labels'),\n option: 'y2AxisAbbreviation',\n editor: 'editor.checkbox',\n showEditor: ({ options }) =>\n options.y2AxisLabelVisibility === 'show' ||\n options.y2AxisLabelVisibility === 'auto' ||\n options.y2AxisLabelVisibility === undefined,\n },\n ],\n [\n {\n label: _('Include zero'),\n option: 'showY2AxisWithZero',\n editor: 'editor.checkbox',\n },\n ],\n [\n {\n label: _('Minimum axis value'),\n option: 'y2AxisMin',\n editor: 'editor.number',\n },\n {\n label: _('Maximum axis value'),\n option: 'y2AxisMax',\n editor: 'editor.number',\n },\n ],\n [\n {\n label: _('Axis line visibility'),\n option: 'y2AxisLineVisibility',\n editor: 'editor.checkbox',\n },\n ],\n [\n {\n label: _('Major gridlines'),\n option: 'showY2MajorGridLines',\n editor: 'editor.checkbox',\n },\n ],\n [\n {\n label: _('Major tick visibility'),\n option: 'y2AxisMajorTickVisibility',\n editor: 'editor.radioBar',\n editorProps: {\n values: [\n { label: _('Auto'), value: 'auto' },\n { label: _('Show'), value: 'show' },\n { label: _('Hide'), value: 'hide' },\n ],\n },\n },\n ],\n [\n {\n label: _('Major tick size (px)'),\n option: 'y2AxisMajorTickSize',\n editor: 'editor.slider',\n editorProps: {\n min: 0,\n max: 10,\n step: 1,\n },\n showEditor: ({ options }) =>\n options.y2AxisMajorTickVisibility === 'show' ||\n options.y2AxisMajorTickVisibility === 'auto' ||\n options.y2AxisMajorTickVisibility === undefined,\n },\n ],\n [\n {\n label: _('Major tick interval spacing'),\n option: 'y2AxisMajorTickInterval',\n editor: 'editor.number',\n showEditor: ({ options }) =>\n options.y2AxisMajorTickVisibility === 'show' ||\n options.y2AxisMajorTickVisibility === 'auto' ||\n options.y2AxisMajorTickVisibility === undefined,\n },\n ],\n [\n {\n label: _('Minor gridlines'),\n option: 'showY2MinorGridLines',\n editor: 'editor.checkbox',\n },\n ],\n [\n {\n label: _('Minor tick visibility'),\n option: 'y2AxisMinorTickVisibility',\n editor: 'editor.radioBar',\n editorProps: {\n values: [\n { label: _('Auto'), value: 'auto' },\n { label: _('Show'), value: 'show' },\n { label: _('Hide'), value: 'hide' },\n ],\n },\n },\n ],\n [\n {\n label: _('Minor tick size (px)'),\n option: 'y2AxisMinorTickSize',\n editor: 'editor.slider',\n editorProps: {\n min: 0,\n max: 10,\n step: 1,\n },\n showEditor: ({ options }) =>\n options.y2AxisMinorTickVisibility === 'show' ||\n options.y2AxisMinorTickVisibility === 'auto' ||\n options.y2AxisMinorTickVisibility === undefined,\n },\n ],\n ],\n};\n\nexport default axesChartY2GridAndLabels;\n","import { COLOR_OR_TOKEN_PATTERN_WITH_RGBA, getPattern } from '@splunk/visualizations-shared/schemaUtils';\nimport { VIZ_CATEGORICAL } from '@splunk/visualization-color-palettes';\nimport { Line as LineIcon } from '@splunk/visualization-icons';\nimport { Line as LinePlaceholderIcon } from '@splunk/visualization-icons/placeholders';\nimport { _ } from '@splunk/ui-utils/i18n';\nimport pick from '@splunk/themes/pick';\nimport variables from '@splunk/themes/variables';\nimport { AxesChartDataConfigAreaColumnLine } from '../common/editorConfig/AxesChartDataConfig';\nimport { AxesChartDataDisplayLine } from '../common/editorConfig/AxesChartDataDisplay';\nimport AxesChartColorAndStyle from '../common/editorConfig/AxesChartColorAndStyle';\nimport AxesChartLegend from '../common/editorConfig/AxesChartLegend';\nimport AxesChartXGridAndLabels from '../common/editorConfig/AxesChartXGridAndLabels';\nimport AxesChartYGridAndLabels from '../common/editorConfig/AxesChartYGridAndLabels';\nimport AxesChartY2GridAndLabels from '../common/editorConfig/AxesChartY2GridAndLabels';\n\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';\n\nconst dataContract: DataContract = {\n requiredDataSources: [\n {\n name: 'primary',\n description: 'DataSource that powers the visualization',\n },\n ],\n optionalDataSources: [\n {\n name: 'annotation',\n description: 'DataSource that populates 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\nconst 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 | frameBySeriesIndexRange(1)',\n description: 'Specify the dataSource applied to the y-axis.',\n type: 'array',\n items: { type: ['string', 'number'] },\n },\n y2: {\n description: 'Specify the dataSource applied to the y2-axis',\n type: 'array',\n items: { type: ['string', 'number'] },\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 yFields: {\n default: '> y | getField()',\n description: 'Specify the field that should be mapped to the y-axis.',\n type: 'string',\n },\n annotationColor: {\n description: `Specify the annotation colors. You may use a dataSource to apply the color. For example, [“#FF0000”, “#0000FF\", “#008000”].`,\n type: 'array',\n items: { type: 'string' },\n },\n annotationLabel: {\n description: `Specify a list of labels used for the annotations. You may use a dataSource to apply the labels. For example, [“houston, we have a problem”, “just close the jira”, “looking good now”].`,\n type: 'array',\n items: { type: 'string' },\n },\n annotationX: {\n description: 'Specify the dataSource field applied to the event annotation on the x-axis.',\n type: 'array',\n items: { type: ['string', 'number'] },\n },\n backgroundColor: {\n default: '> themes.defaultBackgroundColor',\n description:\n 'Specify the color for the background. You may use a dataSource to apply the color. 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_WITH_RGBA,\n type: 'string',\n },\n dataValuesDisplay: {\n default: 'off',\n description:\n 'Specify whether chart should display no labels, all labels, or only the min and max labels.',\n pattern: getPattern(['off', 'all', 'minmax']),\n type: 'string',\n },\n legendDisplay: {\n default: 'right',\n description:\n 'Specify the location of the legend on the panel. You must select the Standard legend mode to make this change.',\n pattern: getPattern(['right', 'left', 'top', 'bottom', 'off']),\n type: 'string',\n },\n legendLabels: {\n description: `Specify a list of labels to pre-populate the legend. For example, [\"percent\", \"count\"].`,\n type: 'array',\n items: { type: 'string' },\n },\n legendMode: {\n default: 'standard',\n description:\n 'Specify visual and behavioral settings for the tooltip and legend. \"seriesCompare\" is useful when comparing series.',\n pattern: getPattern(['standard', 'seriesCompare']),\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 lineDashStyle: {\n default: 'solid',\n description: 'Specify a dash style for all line series in the chart.',\n pattern: getPattern([\n 'solid',\n 'shortDash',\n 'shortDot',\n 'shortDashDot',\n 'shortDashDotDot',\n 'dot',\n 'dash',\n 'longDash',\n 'dashDot',\n 'longDashDot',\n 'longDashDotDot',\n ]),\n type: 'string',\n },\n lineDashStylesByField: {\n description: `Specify a dash style to use for each field. For example, {\"count\": \"longDashDot\", \"percent\": \"longDashDotDot\"}.\n Valid values: \"solid\", \"shortDash\", \"shortDot\", \"shortDashDot\", \"shortDashDotDot\", \"dot\", \"dash\",\n \"longDash\", \"dashDot\", \"longDashDot\", \"longDashDotDot\".`,\n type: 'object',\n },\n lineWidth: {\n default: 2,\n description: 'Specify the line width (px), for all line series.',\n type: 'number',\n },\n markerDisplay: {\n default: 'off',\n description: `Specify the marker display style for data points.`,\n pattern: getPattern(['off', 'filled', 'outlined']),\n enum: ['off', 'filled', 'outlined'],\n type: 'string',\n },\n nullValueDisplay: {\n default: 'gaps',\n description: 'Specify how area and line charts handle null values.',\n pattern: getPattern(['gaps', 'zero', 'connect']),\n type: 'string',\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 showLineSmoothing: {\n default: false,\n description: 'Specify whether lines are straight or smoothed using curves.',\n type: 'boolean',\n },\n showIndependentYRanges: {\n default: false,\n description: 'Specify whether split series charts have independent y-ranges.',\n type: 'boolean',\n },\n showSplitSeries: {\n default: false,\n description:\n 'Set to \"true\" to split a multi-series chart into separate charts that are stacked from top to bottom; one for each series.',\n type: 'boolean',\n },\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 showY2MajorGridLines: {\n default: false,\n description: 'Specify whether major grid lines are visible on the y2-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 showY2MinorGridLines: {\n default: false,\n description: 'Specify whether minor grid lines are visible on y2-axis.',\n type: 'boolean',\n },\n showYAxisExtendedRange: {\n default: true,\n description: 'Specify whether the y-axis should be extended to include whole major tick marks.',\n type: 'boolean',\n },\n showYAxisWithZero: {\n default: false,\n description: 'Specify whether the y-axis range includes zero.',\n type: 'boolean',\n },\n showY2AxisWithZero: {\n default: false,\n description: 'Specify whether the y2-axis range includes zero.',\n type: 'boolean',\n },\n xAxisLabelRotation: {\n default: 0,\n description: 'Specify the rotation of the x-axis label in degrees.',\n enum: [-90, -45, 0, 45, 90],\n type: 'number',\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 y2AxisLabelVisibility: {\n default: 'auto',\n description: 'Specify whether to show or hide labels on the y2-axis.',\n pattern: getPattern(['auto', 'show', 'hide']),\n type: 'string',\n },\n xAxisLineVisibility: {\n default: 'hide',\n enum: ['hide', 'show'],\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 enum: ['hide', 'show'],\n pattern: getPattern(['show', 'hide']),\n type: 'string',\n },\n y2AxisLineVisibility: {\n default: 'hide',\n description: 'Specify whether to show or hide the y2-axis line.',\n enum: ['hide', 'show'],\n pattern: getPattern(['show', 'hide']),\n type: 'string',\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 y2AxisMajorTickSize: {\n default: 6,\n description: 'Specify the size, in pixels, of major tick marks on the y2-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 y2AxisMinorTickSize: {\n default: 6,\n description: 'Specify the size, in pixels, of minor tick marks on the y2-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 y2AxisMajorTickVisibility: {\n default: 'auto',\n description: 'Specify whether to show or hide major tick marks on the y2-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 y2AxisMinorTickVisibility: {\n default: 'auto',\n description: 'Specify whether to show or hide minor tick marks on the y2-axis.',\n pattern: getPattern(['auto', 'show', 'hide']),\n type: 'string',\n },\n xAxisMaxLabelParts: {\n default: 3,\n minimum: 1,\n maximum: 3,\n description:\n 'Specify the maximum number of time-parts for a tick label. The 3 possible parts are year, month, and time. Values can range from 1 to 3.',\n type: 'number',\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 y2AxisTitleText: {\n description: 'Specify the title of the y2-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 enum: ['hide', 'show'],\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 enum: ['hide', 'show'],\n pattern: getPattern(['show', 'hide']),\n type: 'string',\n },\n y2AxisTitleVisibility: {\n default: 'show',\n description: 'Specify whether to show or hide the title of the y2-axis.',\n enum: ['hide', 'show'],\n pattern: getPattern(['show', 'hide']),\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 enum: ['off', 'auto'],\n pattern: getPattern(['off', 'auto']),\n type: 'string',\n },\n y2AxisAbbreviation: {\n default: 'auto',\n description: 'Specify whether to abbreviate large y2-axis values with the closest SI prefix.',\n enum: ['off', 'auto'],\n pattern: getPattern(['off', 'auto']),\n type: 'string',\n },\n yAxisMajorTickInterval: {\n default: 'auto',\n description: 'Specify the spacing unit between major tick marks along the numeric y-axis.',\n type: ['string', 'number'],\n },\n y2AxisMajorTickInterval: {\n default: 'auto',\n description: 'Specify the spacing unit between major tick marks along the numeric y2-axis.',\n type: ['string', 'number'],\n },\n // TODO(SCP-40274): Restrict string value to only 'auto' to achieve precise schema validation\n yAxisMax: {\n default: 'auto',\n description: 'Specify the maximum number for the visible y-axis range.',\n type: ['string', 'number'],\n },\n // TODO(SCP-40274): Restrict string value to only 'auto' to achieve precise schema validation\n y2AxisMax: {\n default: 'auto',\n description: 'Specify the maximum number for the visible y2-axis range.',\n type: ['string', 'number'],\n },\n // TODO(SCP-40274): Restrict string value to only 'auto' to achieve precise schema validation\n yAxisMin: {\n default: 'auto',\n description: 'Specify the minimum number for the visible y-axis range.',\n type: ['string', 'number'],\n },\n // TODO(SCP-40274): Restrict string value to only 'auto' to achieve precise schema validation\n y2AxisMin: {\n default: 'auto',\n description: 'Specify the minimum number for the visible y2-axis range.',\n type: ['string', 'number'],\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 y2AxisScale: {\n default: 'linear',\n description: 'Specify the type of scale that applies to a numerical y2-axis.',\n pattern: getPattern(['linear', 'log']),\n type: 'string',\n },\n // TODO: Figure out a way to explicitly support string value in addition to an array of strings\n // as UDF won't allow users to proceed if a string value is entered due to schema validation\n overlayFields: {\n description:\n 'Specify field(s) that should be differentiated on the chart and displayed as chart overlays.',\n type: ['array', 'string'],\n items: {\n type: 'string',\n },\n },\n showOverlayY2Axis: {\n default: false,\n description:\n 'Enable a y2-axis for chart overlays. All overlay fields will be mapped to a second y-axis.',\n type: 'boolean',\n },\n showRoundedY2AxisLabels: {\n default: true,\n description: 'Specify whether to round y2-axis values to the nearest integer.',\n type: 'boolean',\n },\n y2Fields: {\n default: '> y2 | getField()',\n description: 'Specify field(s) that should be mapped to a second y-axis.',\n type: ['array', 'string'],\n items: {\n type: 'string',\n },\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 AxesChartDataConfigAreaColumnLine,\n AxesChartDataDisplayLine,\n {\n label: AxesChartColorAndStyle.label,\n layout: [\n ...AxesChartColorAndStyle.layout,\n // [\n // {\n // label: _('Line dash style'),\n // option: 'lineDashStyle',\n // editor: 'editor.seriesLineTypes',\n // },\n // ],\n // [\n // {\n // label: _('Line dash styles by field name'),\n // option: 'lineDashStylesByField',\n // editor: 'editor.seriesLineTypesByField',\n // },\n // ],\n [\n {\n label: _('Line width (px)'),\n option: 'lineWidth',\n editor: 'editor.slider',\n editorProps: {\n min: 0.5,\n max: 8.0,\n step: 0.5,\n },\n },\n ],\n [\n {\n label: _('Line smoothing'),\n option: 'showLineSmoothing',\n editor: 'editor.toggle',\n },\n ],\n [\n {\n label: _('Marker display'),\n option: 'markerDisplay',\n editor: 'editor.radioBar',\n editorProps: {\n values: [\n {\n label: _('Off'),\n value: 'off',\n },\n {\n label: _('Filled'),\n value: 'filled',\n },\n {\n label: _('Outlined'),\n value: 'outlined',\n },\n ],\n },\n },\n ],\n [\n {\n label: _('Annotation colors'),\n option: 'annotationColor',\n editor: 'editor.columnSelector',\n editorProps: {\n dataSourceKey: 'annotation',\n supportsDSL: true,\n expectedDataPrimitive: ['series'],\n },\n },\n ],\n ],\n },\n {\n label: AxesChartLegend.label,\n layout: [\n [\n {\n label: _('Legend display'),\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 tooltip: _('Legend mode must be \"Standard\" to configure legend display'),\n },\n isDisabled: ({ options }) => options.legendMode === 'seriesCompare',\n },\n ],\n [\n {\n label: _('Legend 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 showEditor: ({ options }) =>\n options.legendDisplay === 'left' ||\n options.legendDisplay === 'right' ||\n options.legendDisplay === 'top' ||\n options.legendDisplay === 'bottom' ||\n options.legendDisplay === undefined,\n },\n ],\n [\n {\n label: _('Legend mode'),\n option: 'legendMode',\n editor: 'editor.radioBar',\n editorProps: {\n values: [\n { label: _('Standard'), value: 'standard' },\n { label: _('Compare series'), value: 'seriesCompare' },\n ],\n },\n },\n ],\n ],\n },\n AxesChartXGridAndLabels,\n AxesChartYGridAndLabels,\n AxesChartY2GridAndLabels,\n];\n\n/**\n * visualization configuration\n */\nconst config: VizConfig = {\n /**\n * unique viz key\n */\n key: 'splunk.line',\n /**\n * viz name\n */\n name: _('Line'),\n category: VizCategory.TRENDS,\n /**\n * viz icon\n */\n icon: LineIcon,\n placeholderIcon: LinePlaceholderIcon,\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 line chart',\n },\n 'range.select': {\n description: 'triggered when user makes a selection',\n },\n 'point.mouseover': {\n description: 'triggered when user hovers over a data point',\n },\n 'point.mouseout': {\n description: 'triggered when user moves out of a data point',\n },\n },\n supports: [VizBehavior.DYNAMIC_OPTIONS, VizBehavior.PLACEHOLDER, VizBehavior.DOWNSAMPLING],\n themes,\n};\n\nexport default enhanceConfig(config);\n"],"sourceRoot":""}
|