@splunk/visualization-schemas 28.5.3 → 28.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cjs/index.js CHANGED
@@ -91,10 +91,13 @@ __export(src_exports, {
91
91
  networkGraphOptionsSchema: () => networkGraphOptionsSchema,
92
92
  parallelCoordinatesOptionsSchema: () => parallelCoordinatesOptionsSchema,
93
93
  pieOptionsSchema: () => pieOptionsSchema,
94
+ processTreeOptionsSchema: () => processTreeOptionsSchema,
94
95
  punchcardOptionsSchema: () => punchcardOptionsSchema,
96
+ pureRichTextOptionsSchema: () => pureRichTextOptionsSchema,
95
97
  rectangleOptionsSchema: () => rectangleOptionsSchema,
96
98
  rgbColorPattern: () => rgbColorPattern,
97
99
  rgbaColorPattern: () => rgbaColorPattern,
100
+ richTextOptionsSchema: () => richTextOptionsSchema,
98
101
  sankeyOptionsSchema: () => sankeyOptionsSchema,
99
102
  scatterOptionsSchema: () => scatterOptionsSchema,
100
103
  schemaDraft07: () => schemaDraft07,
@@ -394,6 +397,11 @@ var enhanceOptionsSchemaWithDynamicOptions = (optionsSchema) => {
394
397
 
395
398
  // src/optionsSchemas/area.ts
396
399
  var areaOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
400
+ acceleratedRender: {
401
+ default: false,
402
+ description: "Specify whether to enable canvas rendering to render large datasets more efficiently. This mode improves initial render time and interaction responsiveness for large time-series datasets.",
403
+ type: "boolean"
404
+ },
397
405
  x: {
398
406
  default: "> primary | seriesByIndex(0)",
399
407
  description: "Specify the data source to apply to the x-axis.",
@@ -505,6 +513,17 @@ var areaOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
505
513
  "longDash", "dashDot", "longDashDot", "longDashDotDot".`,
506
514
  type: "object"
507
515
  },
516
+ stepPosition: {
517
+ description: 'Specify stepped interpolation position for area series in accelerated render mode. Valid values: "off", "before", "after".',
518
+ pattern: getPattern(["off", "before", "after"]),
519
+ type: "string",
520
+ default: "off"
521
+ },
522
+ stepPositionsByField: {
523
+ description: `Specify stepped interpolation position for each field in accelerated render mode. For example, {"count": "before", "percent": "off"}.
524
+ Valid values: "off", "before", "after".`,
525
+ type: "object"
526
+ },
508
527
  lineWidth: {
509
528
  default: 2,
510
529
  description: "Specify the line width (px) for overlay field lines.",
@@ -554,6 +573,11 @@ var areaOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
554
573
  type: "boolean",
555
574
  default: false
556
575
  },
576
+ showLineSmoothing: {
577
+ default: false,
578
+ description: "Specify whether lines are straight or smoothed using curves. Only supported in accelerated render mode.",
579
+ type: "boolean"
580
+ },
557
581
  showLines: {
558
582
  description: "Specify whether to show lines in area charts.",
559
583
  default: true,
@@ -634,6 +658,20 @@ var areaOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
634
658
  type: "boolean",
635
659
  description: "Specify whether all visualizations will share the same scale in the trellis container."
636
660
  },
661
+ trellisSortBy: {
662
+ default: "result",
663
+ description: "Specify the sort method for the individual visualizations in the trellis container. Use result to sort by search result order, or name to sort alphabetically by visualization label.",
664
+ type: "string",
665
+ pattern: getPattern(["result", "name"]),
666
+ enum: ["result", "name"]
667
+ },
668
+ trellisSortOrder: {
669
+ default: "ascending",
670
+ description: "Specify the sort order for the individual visualizations in the trellis container. This setting applies to the sort method specified in trellisSortBy.",
671
+ type: "string",
672
+ pattern: getPattern(["ascending", "descending"]),
673
+ enum: ["ascending", "descending"]
674
+ },
637
675
  trellisSplitBy: {
638
676
  description: "Specify the field name of the column with categories used, or \u201Caggregations\u201D, to split the data into individual visualizations for trellis display, if applicable. If a SPL `timechart` command is used, this may default to the SPL `by` clause field. If a SPL `chart` command is used, this may default to the first string field.",
639
677
  type: "string"
@@ -914,7 +952,7 @@ var barOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
914
952
  },
915
953
  dataValuesDisplay: {
916
954
  default: "off",
917
- description: 'Specify the labels to display. Enter "all" to show lables for all data points, "off" to show no labels, or "minmax to show high and low values".',
955
+ description: 'Specify the labels to display. Enter "all" to show labels for all data points, "off" to show no labels, or "minmax" to show high and low values.',
918
956
  pattern: getPattern(["off", "all", "minmax"]),
919
957
  type: "string"
920
958
  },
@@ -1097,6 +1135,20 @@ var barOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
1097
1135
  type: "boolean",
1098
1136
  description: "Specify whether all visualizations will share the same scale in the trellis container."
1099
1137
  },
1138
+ trellisSortBy: {
1139
+ default: "result",
1140
+ description: "Specify the sort method for the individual visualizations in the trellis container. Use result to sort by search result order, or name to sort alphabetically by visualization label.",
1141
+ type: "string",
1142
+ pattern: getPattern(["result", "name"]),
1143
+ enum: ["result", "name"]
1144
+ },
1145
+ trellisSortOrder: {
1146
+ default: "ascending",
1147
+ description: "Specify the sort order for the individual visualizations in the trellis container. This setting applies to the sort method specified in trellisSortBy.",
1148
+ type: "string",
1149
+ pattern: getPattern(["ascending", "descending"]),
1150
+ enum: ["ascending", "descending"]
1151
+ },
1100
1152
  trellisSplitBy: {
1101
1153
  description: "Specify the field name of the column with categories used, or \u201Caggregations\u201D, to split the data into individual visualizations for trellis display, if applicable. If a SPL `timechart` command is used, this may default to the SPL `by` clause field. If a SPL `chart` command is used, this may default to the first string field.",
1102
1154
  type: "string"
@@ -1884,6 +1936,20 @@ var columnOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
1884
1936
  type: "boolean",
1885
1937
  description: "Specify whether all visualizations will share the same scale in the trellis container."
1886
1938
  },
1939
+ trellisSortBy: {
1940
+ default: "result",
1941
+ description: "Specify the sort method for the individual visualizations in the trellis container. Use result to sort by search result order, or name to sort alphabetically by visualization label.",
1942
+ type: "string",
1943
+ pattern: getPattern(["result", "name"]),
1944
+ enum: ["result", "name"]
1945
+ },
1946
+ trellisSortOrder: {
1947
+ default: "ascending",
1948
+ description: "Specify the sort order for the individual visualizations in the trellis container. This setting applies to the sort method specified in trellisSortBy.",
1949
+ type: "string",
1950
+ pattern: getPattern(["ascending", "descending"]),
1951
+ enum: ["ascending", "descending"]
1952
+ },
1887
1953
  trellisSplitBy: {
1888
1954
  description: "Specify the field name of the column with categories used, or \u201Caggregations\u201D, to split the data into individual visualizations for trellis display, if applicable. If a SPL `timechart` command is used, this may default to the SPL `by` clause field. If a SPL `chart` command is used, this may default to the first string field.",
1889
1955
  type: "string"
@@ -2244,6 +2310,11 @@ var eventsOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
2244
2310
  pattern: getPattern(validSegmentationModes),
2245
2311
  default: "none"
2246
2312
  },
2313
+ pageCount: {
2314
+ description: "Specify the maximum number of rows to display per page.",
2315
+ type: "number",
2316
+ default: 10
2317
+ },
2247
2318
  showFieldSummary: {
2248
2319
  description: "Specify that a field summary popup appears when a field is selected. To show field summaries for a search, configure an additional datasource called `fieldsummary` using the original search followed by the `... | fieldsummary maxvals=10` SPL command.",
2249
2320
  type: "boolean",
@@ -2318,6 +2389,20 @@ var fillerGaugeOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
2318
2389
  description: "Specify the height, in pixels, of each visualization in the trellis container. If the window or panel is resized, the remaining visualizations may be viewed by scrolling. The minimum value is 1.",
2319
2390
  type: "number"
2320
2391
  },
2392
+ trellisSortBy: {
2393
+ default: "result",
2394
+ description: "Specify the sort method for the individual visualizations in the trellis container. Use result to sort by search result order, name to sort alphabetically by visualization label, or value to sort by the major value.",
2395
+ type: "string",
2396
+ pattern: getPattern(["result", "name", "value"]),
2397
+ enum: ["result", "name", "value"]
2398
+ },
2399
+ trellisSortOrder: {
2400
+ default: "ascending",
2401
+ description: "Specify the sort order for the individual visualizations in the trellis container. This setting applies to the sort method specified in trellisSortBy.",
2402
+ type: "string",
2403
+ pattern: getPattern(["ascending", "descending"]),
2404
+ enum: ["ascending", "descending"]
2405
+ },
2321
2406
  trellisSplitBy: {
2322
2407
  description: "Specify the field name of the column with categories used, or \u201Caggregations\u201D, to split the data into individual visualizations for trellis display, if applicable. If a SPL `timechart` command is used, this may default to the SPL `by` clause field. If a SPL `chart` command is used, this may default to the first string field.",
2323
2408
  type: "string"
@@ -2345,6 +2430,10 @@ var imageOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
2345
2430
  default: false,
2346
2431
  description: "Set to true to maintain the aspect ratio of an image when the screen is resized.",
2347
2432
  type: "boolean"
2433
+ },
2434
+ title: {
2435
+ description: "Specify the title used as alternative text for the image. This text is read by screen readers and displayed when the image cannot be shown.",
2436
+ type: "string"
2348
2437
  }
2349
2438
  });
2350
2439
 
@@ -2352,7 +2441,7 @@ var imageOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
2352
2441
  var lineOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
2353
2442
  acceleratedRender: {
2354
2443
  default: false,
2355
- description: "Specify whether to switch rendering from SVG to Canvas for faster performance with large datasets. Some options may not be supported in this mode.",
2444
+ description: "Specify whether to enable canvas rendering to render large datasets more efficiently. This mode improves initial render time and interaction responsiveness for large time-series datasets.",
2356
2445
  type: "boolean"
2357
2446
  },
2358
2447
  x: {
@@ -2602,6 +2691,20 @@ var lineOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
2602
2691
  type: "boolean",
2603
2692
  description: "Specify whether all visualizations will share the same scale in the trellis container."
2604
2693
  },
2694
+ trellisSortBy: {
2695
+ default: "result",
2696
+ description: "Specify the sort method for the individual visualizations in the trellis container. Use result to sort by search result order, or name to sort alphabetically by visualization label.",
2697
+ type: "string",
2698
+ pattern: getPattern(["result", "name"]),
2699
+ enum: ["result", "name"]
2700
+ },
2701
+ trellisSortOrder: {
2702
+ default: "ascending",
2703
+ description: "Specify the sort order for the individual visualizations in the trellis container. This setting applies to the sort method specified in trellisSortBy.",
2704
+ type: "string",
2705
+ pattern: getPattern(["ascending", "descending"]),
2706
+ enum: ["ascending", "descending"]
2707
+ },
2605
2708
  trellisSplitBy: {
2606
2709
  description: "Specify the field name of the column with categories used, or \u201Caggregations\u201D, to split the data into individual visualizations for trellis display, if applicable. If a SPL `timechart` command is used, this may default to the SPL `by` clause field. If a SPL `chart` command is used, this may default to the first string field.",
2607
2710
  type: "string"
@@ -2870,7 +2973,7 @@ var linkGraphOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
2870
2973
  default: "> nodeColor | maxContrast(nodeTextColorMaxContrast)"
2871
2974
  },
2872
2975
  nodeLabelOverflow: {
2873
- description: 'Controls how the text should be truncated within a particular column. Valid types include "anywhere", "break-word", "ellipsis". Columns and Headers are "break-word" styled by default when "textOverflow" is not configured.',
2976
+ description: 'Specify the text overflow for node labels. Valid types include "break-word", "anywhere", and "ellipsis".',
2874
2977
  type: "string",
2875
2978
  pattern: getPattern(validTextOverflows),
2876
2979
  default: "ellipsis"
@@ -3383,6 +3486,20 @@ var markerGaugeOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
3383
3486
  description: "Specify the height, in pixels, of each visualization in the trellis container. If the window or panel is resized, the remaining visualizations may be viewed by scrolling. The minimum value is 1.",
3384
3487
  type: "number"
3385
3488
  },
3489
+ trellisSortBy: {
3490
+ default: "result",
3491
+ description: "Specify the sort method for the individual visualizations in the trellis container. Use result to sort by search result order, name to sort alphabetically by visualization label, or value to sort by the major value.",
3492
+ type: "string",
3493
+ pattern: getPattern(["result", "name", "value"]),
3494
+ enum: ["result", "name", "value"]
3495
+ },
3496
+ trellisSortOrder: {
3497
+ default: "ascending",
3498
+ description: "Specify the sort order for the individual visualizations in the trellis container. This setting applies to the sort method specified in trellisSortBy.",
3499
+ type: "string",
3500
+ pattern: getPattern(["ascending", "descending"]),
3501
+ enum: ["ascending", "descending"]
3502
+ },
3386
3503
  trellisSplitBy: {
3387
3504
  description: 'Specify the field name of the column with categories used, or "aggregations", to split the data into individual visualizations for trellis display, if applicable. If a SPL `timechart` command is used, this may default to the SPL `by` clause field. If a SPL `chart` command is used, this may default to the first string field.',
3388
3505
  type: "string"
@@ -3475,8 +3592,7 @@ var networkGraphOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
3475
3592
  description: "Specify the icon used for each node (cylinder, portrait, magnifier, etc.).",
3476
3593
  type: "array",
3477
3594
  items: {
3478
- type: "string",
3479
- pattern: COLOR_OR_TOKEN_PATTERN_WITH_RGBA
3595
+ type: "string"
3480
3596
  }
3481
3597
  },
3482
3598
  nodeIconColors: {
@@ -3729,9 +3845,9 @@ var pieOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
3729
3845
  default: "values"
3730
3846
  },
3731
3847
  percentagePrecision: {
3732
- description: "Specify the number of decimal places to display for percentages. The minimum value is 0. The maximum value is 10.",
3848
+ description: "Specify the number of decimal places to display for percentages. The minimum value is 0. The maximum value is 16.",
3733
3849
  type: "number",
3734
- minimum: 1,
3850
+ minimum: 0,
3735
3851
  maximum: 16,
3736
3852
  default: 0
3737
3853
  },
@@ -3794,8 +3910,22 @@ var pieOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
3794
3910
  description: "Specify the height, in pixels, of each visualization in the trellis container. If the window or panel is resized, the remaining visualizations may be viewed by scrolling. The minimum value is 1.",
3795
3911
  type: "number"
3796
3912
  },
3913
+ trellisSortBy: {
3914
+ default: "result",
3915
+ description: "Specify the sort method for the individual visualizations in the trellis container. Use result to sort by search result order, or name to sort alphabetically by visualization label.",
3916
+ type: "string",
3917
+ pattern: getPattern(["result", "name"]),
3918
+ enum: ["result", "name"]
3919
+ },
3920
+ trellisSortOrder: {
3921
+ default: "ascending",
3922
+ description: "Specify the sort order for the individual visualizations in the trellis container. This setting applies to the sort method specified in trellisSortBy.",
3923
+ type: "string",
3924
+ pattern: getPattern(["ascending", "descending"]),
3925
+ enum: ["ascending", "descending"]
3926
+ },
3797
3927
  trellisSplitBy: {
3798
- description: "Specify the field name of the column with categories used, or \u201Caggregations\u201D, to split the data into individual visualizations for trellis display, if applicable.",
3928
+ description: "Specify the field name of the column with categories used, or \u201Caggregations\u201D, to split the data into individual visualizations for trellis display, if applicable. If a SPL `timechart` command is used, this may default to the SPL `by` clause field. If a SPL `chart` command is used, this may default to the first string field.",
3799
3929
  type: "string"
3800
3930
  },
3801
3931
  value: {
@@ -3813,6 +3943,165 @@ var pieOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
3813
3943
  }
3814
3944
  });
3815
3945
 
3946
+ // src/optionsSchemas/processtree.ts
3947
+ var processTreeOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
3948
+ backgroundColor: {
3949
+ default: "> themes.defaultBackgroundColor",
3950
+ description: "Specify the color for the background.",
3951
+ pattern: COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
3952
+ type: "string"
3953
+ },
3954
+ source: {
3955
+ default: '> primary | frameBySeriesTypes("string") | seriesByIndex(0)',
3956
+ description: "Specify the source node id for each link row.",
3957
+ type: "array",
3958
+ items: {
3959
+ type: "string"
3960
+ }
3961
+ },
3962
+ target: {
3963
+ default: '> primary | frameBySeriesTypes("string") | seriesByIndex(1)',
3964
+ description: "Specify the target node id for each link row.",
3965
+ type: "array",
3966
+ items: {
3967
+ type: "string"
3968
+ }
3969
+ },
3970
+ nodeId: {
3971
+ default: '> nodeSource | seriesByName("node_id")',
3972
+ description: "Specify node ids for node metadata lookup when using a secondary node datasource.",
3973
+ type: "array",
3974
+ items: {
3975
+ type: "string"
3976
+ }
3977
+ },
3978
+ nodeColors: {
3979
+ default: [],
3980
+ description: "Specify optional node row background colors aligned with nodeSource rows. These colors can fill process tree rows and right-side network rows unless the node is highlighted. Use networkNodeColors to color network indicators. Provide an array, or use a string DSL expression that resolves to an array.",
3981
+ type: ["array", "string"],
3982
+ items: {
3983
+ type: "string"
3984
+ }
3985
+ },
3986
+ networkNodeColors: {
3987
+ default: [],
3988
+ description: "Specify optional network node indicator colors aligned with nodeSource rows. These colors apply only to right-side network nodes and the process-side circle indicators for those networks. Provide an array, or use a string DSL expression that resolves to an array.",
3989
+ type: ["array", "string"],
3990
+ items: {
3991
+ type: "string"
3992
+ }
3993
+ },
3994
+ nodeIcons: {
3995
+ default: [],
3996
+ description: "Specify optional node icons aligned with nodeSource rows. Supported built-in values are fire, rectangleDashed, cube, servers, and container. Provide an array, or use a string DSL expression that resolves to an array.",
3997
+ type: ["array", "string"],
3998
+ items: {
3999
+ type: "string"
4000
+ }
4001
+ },
4002
+ linkValues: {
4003
+ default: [],
4004
+ description: "Specify link values for each link row.",
4005
+ type: "array",
4006
+ items: {
4007
+ type: ["number", "string"]
4008
+ }
4009
+ },
4010
+ highlightedNodeId: {
4011
+ default: "",
4012
+ description: "Specify a node id to highlight in the process tree.",
4013
+ type: "string"
4014
+ },
4015
+ highlightColor: {
4016
+ default: "rgba(129, 51, 74, 0.82)",
4017
+ description: "Specify the background color used for the highlighted node row.",
4018
+ type: "string"
4019
+ },
4020
+ highlightIcon: {
4021
+ default: "",
4022
+ description: "Specify an optional built-in icon to render for the highlighted node. Supported values are fire, rectangleDashed, cube, servers, and container.",
4023
+ type: "string"
4024
+ },
4025
+ highlightIconColor: {
4026
+ default: "",
4027
+ description: "Specify an optional color override for the highlighted node icon.",
4028
+ pattern: COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
4029
+ type: "string"
4030
+ },
4031
+ treeNodeLabelFields: {
4032
+ default: [],
4033
+ description: "Specify nodeSource field names to render in each tree node label, joined by spaces. Array values render as comma-separated text. Empty or null values are skipped. Provide an array, or use a string DSL expression that resolves to an array.",
4034
+ type: ["array", "string"],
4035
+ items: {
4036
+ type: "string"
4037
+ }
4038
+ },
4039
+ fieldsToShowAsChip: {
4040
+ default: [],
4041
+ description: "Specify treeNodeLabelFields names whose values should be rendered as chips. Array values render as comma-separated text inside a single chip. Provide an array, or use a string DSL expression that resolves to an array.",
4042
+ type: ["array", "string"],
4043
+ items: {
4044
+ type: "string"
4045
+ }
4046
+ },
4047
+ showFieldName: {
4048
+ default: false,
4049
+ description: "Specify whether tree node labels render as field=value. When false, only the field value is shown.",
4050
+ type: "boolean"
4051
+ },
4052
+ disableExpansionPerNode: {
4053
+ default: [],
4054
+ description: "Specify per-node expansion behavior aligned with nodeSource rows. Use 'disable' to prevent collapsing/expanding that node; 'enable' or null allows expansion. Provide an array, or use a string DSL expression that resolves to an array.",
4055
+ type: ["array", "string"],
4056
+ items: {
4057
+ type: "string"
4058
+ }
4059
+ },
4060
+ filteredNodeField: {
4061
+ description: "Specify node field name used to classify which nodes render in the right panel and are excluded from the left tree.",
4062
+ type: "string"
4063
+ },
4064
+ filteredNodeValues: {
4065
+ description: "Specify field value(s) used with filteredNodeField to classify which nodes render in the right panel. Provide an array, or use a string DSL expression that resolves to an array.",
4066
+ type: ["array", "string"],
4067
+ items: {
4068
+ type: "string"
4069
+ }
4070
+ },
4071
+ filterButtonFields: {
4072
+ default: [],
4073
+ description: "Specify nodeSource field names used by connection filter buttons. Provide an array, or use a string DSL expression that resolves to an array.",
4074
+ type: ["array", "string"],
4075
+ items: {
4076
+ type: "string"
4077
+ }
4078
+ },
4079
+ filterButtonMatchValues: {
4080
+ default: [],
4081
+ description: "Specify match values used by connection filter buttons. Provide an array, or use a string DSL expression that resolves to an array.",
4082
+ type: ["array", "string"],
4083
+ items: {
4084
+ type: "string"
4085
+ }
4086
+ },
4087
+ filterButtonNames: {
4088
+ default: [],
4089
+ description: "Specify display names for connection filter buttons. Provide an array, or use a string DSL expression that resolves to an array. Falls back to filterButtonMatchValues when omitted.",
4090
+ type: ["array", "string"],
4091
+ items: {
4092
+ type: "string"
4093
+ }
4094
+ },
4095
+ filterButtonColors: {
4096
+ default: [],
4097
+ description: "Specify optional colors for connection filter buttons (for example #FF0000). Provide an array, or use a string DSL expression that resolves to an array.",
4098
+ type: ["array", "string"],
4099
+ items: {
4100
+ type: "string"
4101
+ }
4102
+ }
4103
+ });
4104
+
3816
4105
  // src/optionsSchemas/punchcard.ts
3817
4106
  var punchcardOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
3818
4107
  x: {
@@ -3945,6 +4234,157 @@ var punchcardOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
3945
4234
  }
3946
4235
  });
3947
4236
 
4237
+ // src/optionsSchemas/richtext.ts
4238
+ var pureRichTextOptionsSchema = {
4239
+ // Container styling
4240
+ backgroundColor: {
4241
+ description: 'Specify the background color using a Hex code such as "#FF0000" or "transparent".',
4242
+ type: "string",
4243
+ default: "transparent",
4244
+ pattern: COLOR_OR_TOKEN_PATTERN_WITH_RGBA
4245
+ },
4246
+ // Font styling
4247
+ fontColor: {
4248
+ description: 'Specify the text color using Hex codes or RGBA values, such as "#FF0000" or "rgba(25,12,13,0.1)". The default for enterprise light is "#3c444d". The default for enterprise dark is "#FFFFFF". The default for prisma dark is "rgba(255, 255, 255, 0.7)".',
4249
+ type: "string",
4250
+ default: "> themes.defaultFontColor",
4251
+ pattern: COLOR_OR_TOKEN_PATTERN_WITH_RGBA
4252
+ },
4253
+ highlightColor: {
4254
+ description: "Specify the highlight/background color for selected text using Hex codes or RGBA values.",
4255
+ type: "string",
4256
+ default: "transparent",
4257
+ pattern: COLOR_OR_TOKEN_PATTERN_WITH_RGBA
4258
+ },
4259
+ fontFamily: {
4260
+ description: 'Specify the font family for rich text content, such as "Arial" or "Times New Roman". Note: the font needs to be available to your end user.',
4261
+ type: "string",
4262
+ default: "Splunk Data Sans",
4263
+ pattern: getPattern([
4264
+ "Splunk Data Sans",
4265
+ "Splunk Platform Sans Mono",
4266
+ "Arial",
4267
+ "Helvetica",
4268
+ "Times New Roman",
4269
+ "Comic Sans MS",
4270
+ "Georgia",
4271
+ "Verdana",
4272
+ "Courier New"
4273
+ ])
4274
+ },
4275
+ fontSize: {
4276
+ description: "Specify the base font size preset. Font sizes range from extra small (10px) to extra large (20px) with the default being 14px.",
4277
+ type: "string",
4278
+ default: "default",
4279
+ pattern: getPattern(["extraSmall", "small", "default", "large", "extraLarge", "custom"])
4280
+ },
4281
+ customFontSize: {
4282
+ description: 'Specify the custom font size in pixels when fontSize is set to "custom". Valid range is 1-200.',
4283
+ type: "number",
4284
+ default: 14,
4285
+ minimum: 1,
4286
+ maximum: 200
4287
+ },
4288
+ // Text formatting
4289
+ bold: {
4290
+ description: "Apply bold font weight to all text by default.",
4291
+ type: "boolean",
4292
+ default: false
4293
+ },
4294
+ italic: {
4295
+ description: "Apply italic font style to all text by default.",
4296
+ type: "boolean",
4297
+ default: false
4298
+ },
4299
+ underline: {
4300
+ description: "Apply underline text decoration to all text by default.",
4301
+ type: "boolean",
4302
+ default: false
4303
+ },
4304
+ strikethrough: {
4305
+ description: "Apply strikethrough text decoration to all text by default.",
4306
+ type: "boolean",
4307
+ default: false
4308
+ },
4309
+ // List type
4310
+ listType: {
4311
+ description: "Specify the default list type for the content.",
4312
+ type: "string",
4313
+ default: "",
4314
+ pattern: getPattern(["", "unordered", "ordered"])
4315
+ },
4316
+ // Alignment
4317
+ horizontalAlignment: {
4318
+ description: "Specify the horizontal text alignment.",
4319
+ type: "string",
4320
+ default: "left",
4321
+ pattern: getPattern(["left", "center", "right", "justify"])
4322
+ },
4323
+ verticalAlign: {
4324
+ description: "Specify the vertical alignment of content within the container.",
4325
+ type: "string",
4326
+ default: "top",
4327
+ pattern: getPattern(["top", "middle", "bottom"])
4328
+ },
4329
+ // Line height
4330
+ lineHeight: {
4331
+ description: "Specify the line height as a number (e.g., 1.5 means 150% of font size) or string value.",
4332
+ type: ["number", "string"],
4333
+ default: "1.5"
4334
+ },
4335
+ // Link
4336
+ link: {
4337
+ description: "Specify a URL to make the entire rich text content a clickable link.",
4338
+ type: "string",
4339
+ default: ""
4340
+ },
4341
+ // Border configuration
4342
+ border: {
4343
+ description: "Border configuration for the rich text container.",
4344
+ type: "object",
4345
+ properties: {
4346
+ color: {
4347
+ description: "Border color using Hex codes or RGBA values.",
4348
+ type: "string",
4349
+ pattern: COLOR_OR_TOKEN_PATTERN_WITH_RGBA
4350
+ },
4351
+ width: {
4352
+ description: "Border width in pixels.",
4353
+ type: "number",
4354
+ default: 0,
4355
+ minimum: 0,
4356
+ maximum: 20
4357
+ },
4358
+ style: {
4359
+ description: "Border style.",
4360
+ type: "string",
4361
+ default: "solid",
4362
+ pattern: getPattern(["solid", "dashed", "dotted", "none"])
4363
+ },
4364
+ radius: {
4365
+ description: "Border radius (corner radius) in pixels.",
4366
+ type: "number",
4367
+ default: 0,
4368
+ minimum: 0,
4369
+ maximum: 100
4370
+ }
4371
+ }
4372
+ },
4373
+ // Padding
4374
+ padding: {
4375
+ description: "Padding in pixels. Can be a single number (all sides), array of 2 (vertical, horizontal), or array of 4 (top, right, bottom, left).",
4376
+ type: ["number", "array"],
4377
+ default: 8
4378
+ },
4379
+ // Rich text content (HTML)
4380
+ richTextContent: {
4381
+ description: "HTML content for the rich text editor. Inline styles should only include differences from default text styles.",
4382
+ type: "string",
4383
+ default: "<p></p>"
4384
+ }
4385
+ };
4386
+ var richTextOptionsSchema = pureRichTextOptionsSchema;
4387
+
3948
4388
  // src/optionsSchemas/rectangle.ts
3949
4389
  var rectangleOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
3950
4390
  fillColor: {
@@ -4212,8 +4652,22 @@ var scatterOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
4212
4652
  type: "boolean",
4213
4653
  description: "Specify whether all visualizations will share the same scale in the trellis container."
4214
4654
  },
4655
+ trellisSortBy: {
4656
+ default: "result",
4657
+ description: "Specify the sort method for the individual visualizations in the trellis container. Use result to sort by search result order, or name to sort alphabetically by visualization label.",
4658
+ type: "string",
4659
+ pattern: getPattern(["result", "name"]),
4660
+ enum: ["result", "name"]
4661
+ },
4662
+ trellisSortOrder: {
4663
+ default: "ascending",
4664
+ description: "Specify the sort order for the individual visualizations in the trellis container. This setting applies to the sort method specified in trellisSortBy.",
4665
+ type: "string",
4666
+ pattern: getPattern(["ascending", "descending"]),
4667
+ enum: ["ascending", "descending"]
4668
+ },
4215
4669
  trellisSplitBy: {
4216
- description: "Specify the field name of the column with categories used, or \u201Caggregations\u201D, to split the data into individual visualizations for trellis display, if applicable. If a SPL `stats` command is used, this may default to the first string field.",
4670
+ description: "Specify the field name of the column with categories used, or \u201Caggregations\u201D, to split the data into individual visualizations for trellis display, if applicable. If a SPL `timechart` command is used, this may default to the SPL `by` clause field. If a SPL `chart` command is used, this may default to the first string field.",
4217
4671
  type: "string"
4218
4672
  },
4219
4673
  xAxisLabelRotation: {
@@ -4545,6 +4999,20 @@ var singleValueOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
4545
4999
  description: "Specify the height, in pixels, of each visualization in the trellis container. If the window or panel is resized, the remaining visualizations may be viewed by scrolling. The minimum value is 1.",
4546
5000
  type: "number"
4547
5001
  },
5002
+ trellisSortBy: {
5003
+ default: "result",
5004
+ description: "Specify the sort method for the individual visualizations in the trellis container. Use result to sort by search result order, name to sort alphabetically by visualization label, value to sort by the major value, or trend to sort by the trend value.",
5005
+ type: "string",
5006
+ pattern: getPattern(["result", "name", "value", "trend"]),
5007
+ enum: ["result", "name", "value", "trend"]
5008
+ },
5009
+ trellisSortOrder: {
5010
+ default: "ascending",
5011
+ description: "Specify the sort order for the individual visualizations in the trellis container. This setting applies to the sort method specified in trellisSortBy.",
5012
+ type: "string",
5013
+ pattern: getPattern(["ascending", "descending"]),
5014
+ enum: ["ascending", "descending"]
5015
+ },
4548
5016
  trellisSplitBy: {
4549
5017
  description: "Specify the field name of the column with categories used, or \u201Caggregations\u201D, to split the data into individual visualizations for trellis display, if applicable. If a SPL `timechart` command is used, this may default to the SPL `by` clause field. If a SPL `chart` command is used, this may default to the first string field.",
4550
5018
  type: "string"
@@ -4553,6 +5021,12 @@ var singleValueOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
4553
5021
  description: "Specify the text that appears below the major value.",
4554
5022
  type: "string"
4555
5023
  },
5024
+ underLabelColor: {
5025
+ default: "> majorColor",
5026
+ description: "Specify the color for the under label text. You may use a dataSource to apply the color. The hex value format should be \u201C#FFFFFF\u201D. By default it follows the major value color.",
5027
+ pattern: COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
5028
+ type: "string"
5029
+ },
4556
5030
  underLabelFontSize: {
4557
5031
  default: 12,
4558
5032
  description: "Specify the font size (px) for the under label text.",
@@ -4714,6 +5188,20 @@ var singleValueIconOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
4714
5188
  description: "Specify the height, in pixels, of each visualization in the trellis container. If the window or panel is resized, the remaining visualizations may be viewed by scrolling. The minimum value is 1.",
4715
5189
  type: "number"
4716
5190
  },
5191
+ trellisSortBy: {
5192
+ default: "result",
5193
+ description: "Specify the sort method for the individual visualizations in the trellis container. Use result to sort by search result order, name to sort alphabetically by visualization label, value to sort by the major value, or trend to sort by the trend value.",
5194
+ type: "string",
5195
+ pattern: getPattern(["result", "name", "value", "trend"]),
5196
+ enum: ["result", "name", "value", "trend"]
5197
+ },
5198
+ trellisSortOrder: {
5199
+ default: "ascending",
5200
+ description: "Specify the sort order for the individual visualizations in the trellis container. This setting applies to the sort method specified in trellisSortBy.",
5201
+ type: "string",
5202
+ pattern: getPattern(["ascending", "descending"]),
5203
+ enum: ["ascending", "descending"]
5204
+ },
4717
5205
  trellisSplitBy: {
4718
5206
  description: "Specify the field name of the column with categories used, or \u201Caggregations\u201D, to split the data into individual visualizations for trellis display, if applicable. If a SPL `timechart` command is used, this may default to the SPL `by` clause field. If a SPL `chart` command is used, this may default to the first string field.",
4719
5207
  type: "string"
@@ -4722,6 +5210,12 @@ var singleValueIconOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
4722
5210
  description: "Specify the text that appears below the major value.",
4723
5211
  type: "string"
4724
5212
  },
5213
+ underLabelColor: {
5214
+ default: "> majorColor",
5215
+ description: "Specify the color for the under label text. You may use a dataSource to apply the color. The hex value format should be \u201C#FFFFFF\u201D. By default it follows the major value color.",
5216
+ pattern: COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
5217
+ type: "string"
5218
+ },
4725
5219
  unit: {
4726
5220
  description: "Specify text to show next to the major value.",
4727
5221
  type: "string"
@@ -4885,6 +5379,20 @@ var singleValueRadialOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
4885
5379
  description: "Specify the height, in pixels, of each visualization in the trellis container. If the window or panel is resized, the remaining visualizations may be viewed by scrolling. The minimum value is 1.",
4886
5380
  type: "number"
4887
5381
  },
5382
+ trellisSortBy: {
5383
+ default: "result",
5384
+ description: "Specify the sort method for the individual visualizations in the trellis container. Use result to sort by search result order, name to sort alphabetically by visualization label, value to sort by the major value, or trend to sort by the trend value.",
5385
+ type: "string",
5386
+ pattern: getPattern(["result", "name", "value", "trend"]),
5387
+ enum: ["result", "name", "value", "trend"]
5388
+ },
5389
+ trellisSortOrder: {
5390
+ default: "ascending",
5391
+ description: "Specify the sort order for the individual visualizations in the trellis container. This setting applies to the sort method specified in trellisSortBy.",
5392
+ type: "string",
5393
+ pattern: getPattern(["ascending", "descending"]),
5394
+ enum: ["ascending", "descending"]
5395
+ },
4888
5396
  trellisSplitBy: {
4889
5397
  description: "Specify the field name of the column with categories used, or \u201Caggregations\u201D, to split the data into individual visualizations for trellis display, if applicable. If a SPL `timechart` command is used, this may default to the SPL `by` clause field. If a SPL `chart` command is used, this may default to the first string field.",
4890
5398
  type: "string"
@@ -4893,6 +5401,12 @@ var singleValueRadialOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
4893
5401
  description: "Specify the text that appears below the major value.",
4894
5402
  type: "string"
4895
5403
  },
5404
+ underLabelColor: {
5405
+ default: "> majorColor",
5406
+ description: "Specify the color for the under label text. You may use a dataSource to apply the color. The hex value format should be \u201C#FFFFFF\u201D. By default it follows the major value color.",
5407
+ pattern: COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
5408
+ type: "string"
5409
+ },
4896
5410
  unit: {
4897
5411
  description: "Specify text to show next to the major value.",
4898
5412
  type: "string"
@@ -5069,6 +5583,13 @@ var tableOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
5069
5583
  description: "Specify whether to show a row at the bottom of the table that displays total values for applicable columns.",
5070
5584
  type: "boolean"
5071
5585
  },
5586
+ showColumnAsExpandedJson: {
5587
+ description: "Specify row expansion content as stringified JSON. Provide either a DSL expression that resolves to an array of stringified JSON values, or a static array of stringified JSON values. Each item is rendered in the matching expanded row with JSONTree.",
5588
+ type: ["string", "array"],
5589
+ items: {
5590
+ type: "string"
5591
+ }
5592
+ },
5072
5593
  showInternalFields: {
5073
5594
  default: true,
5074
5595
  description: "Specify whether to show internal fields that start with an underscore. The _time field will still be shown if false.",
@@ -5268,6 +5789,12 @@ var timelineOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
5268
5789
  description: "Specify the field that should be mapped to the x-axis.",
5269
5790
  type: "string"
5270
5791
  },
5792
+ durationUnit: {
5793
+ default: "milliseconds",
5794
+ description: "Specify the unit of the values in the duration data source used to apply duration to events.",
5795
+ pattern: getPattern(["milliseconds", "seconds", "minutes", "hours"]),
5796
+ type: "string"
5797
+ },
5271
5798
  categoryField: {
5272
5799
  default: "> category | getField()",
5273
5800
  description: "Specify the field that should be mapped to the y-axis.",