@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/esm/index.js CHANGED
@@ -329,6 +329,11 @@ var enhanceOptionsSchemaWithDynamicOptions = (optionsSchema) => {
329
329
 
330
330
  // src/optionsSchemas/area.ts
331
331
  var areaOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
332
+ acceleratedRender: {
333
+ default: false,
334
+ 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.",
335
+ type: "boolean"
336
+ },
332
337
  x: {
333
338
  default: "> primary | seriesByIndex(0)",
334
339
  description: "Specify the data source to apply to the x-axis.",
@@ -440,6 +445,17 @@ var areaOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
440
445
  "longDash", "dashDot", "longDashDot", "longDashDotDot".`,
441
446
  type: "object"
442
447
  },
448
+ stepPosition: {
449
+ description: 'Specify stepped interpolation position for area series in accelerated render mode. Valid values: "off", "before", "after".',
450
+ pattern: getPattern(["off", "before", "after"]),
451
+ type: "string",
452
+ default: "off"
453
+ },
454
+ stepPositionsByField: {
455
+ description: `Specify stepped interpolation position for each field in accelerated render mode. For example, {"count": "before", "percent": "off"}.
456
+ Valid values: "off", "before", "after".`,
457
+ type: "object"
458
+ },
443
459
  lineWidth: {
444
460
  default: 2,
445
461
  description: "Specify the line width (px) for overlay field lines.",
@@ -489,6 +505,11 @@ var areaOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
489
505
  type: "boolean",
490
506
  default: false
491
507
  },
508
+ showLineSmoothing: {
509
+ default: false,
510
+ description: "Specify whether lines are straight or smoothed using curves. Only supported in accelerated render mode.",
511
+ type: "boolean"
512
+ },
492
513
  showLines: {
493
514
  description: "Specify whether to show lines in area charts.",
494
515
  default: true,
@@ -569,6 +590,20 @@ var areaOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
569
590
  type: "boolean",
570
591
  description: "Specify whether all visualizations will share the same scale in the trellis container."
571
592
  },
593
+ trellisSortBy: {
594
+ default: "result",
595
+ 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.",
596
+ type: "string",
597
+ pattern: getPattern(["result", "name"]),
598
+ enum: ["result", "name"]
599
+ },
600
+ trellisSortOrder: {
601
+ default: "ascending",
602
+ description: "Specify the sort order for the individual visualizations in the trellis container. This setting applies to the sort method specified in trellisSortBy.",
603
+ type: "string",
604
+ pattern: getPattern(["ascending", "descending"]),
605
+ enum: ["ascending", "descending"]
606
+ },
572
607
  trellisSplitBy: {
573
608
  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.",
574
609
  type: "string"
@@ -849,7 +884,7 @@ var barOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
849
884
  },
850
885
  dataValuesDisplay: {
851
886
  default: "off",
852
- 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".',
887
+ 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.',
853
888
  pattern: getPattern(["off", "all", "minmax"]),
854
889
  type: "string"
855
890
  },
@@ -1032,6 +1067,20 @@ var barOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
1032
1067
  type: "boolean",
1033
1068
  description: "Specify whether all visualizations will share the same scale in the trellis container."
1034
1069
  },
1070
+ trellisSortBy: {
1071
+ default: "result",
1072
+ 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.",
1073
+ type: "string",
1074
+ pattern: getPattern(["result", "name"]),
1075
+ enum: ["result", "name"]
1076
+ },
1077
+ trellisSortOrder: {
1078
+ default: "ascending",
1079
+ description: "Specify the sort order for the individual visualizations in the trellis container. This setting applies to the sort method specified in trellisSortBy.",
1080
+ type: "string",
1081
+ pattern: getPattern(["ascending", "descending"]),
1082
+ enum: ["ascending", "descending"]
1083
+ },
1035
1084
  trellisSplitBy: {
1036
1085
  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.",
1037
1086
  type: "string"
@@ -1819,6 +1868,20 @@ var columnOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
1819
1868
  type: "boolean",
1820
1869
  description: "Specify whether all visualizations will share the same scale in the trellis container."
1821
1870
  },
1871
+ trellisSortBy: {
1872
+ default: "result",
1873
+ 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.",
1874
+ type: "string",
1875
+ pattern: getPattern(["result", "name"]),
1876
+ enum: ["result", "name"]
1877
+ },
1878
+ trellisSortOrder: {
1879
+ default: "ascending",
1880
+ description: "Specify the sort order for the individual visualizations in the trellis container. This setting applies to the sort method specified in trellisSortBy.",
1881
+ type: "string",
1882
+ pattern: getPattern(["ascending", "descending"]),
1883
+ enum: ["ascending", "descending"]
1884
+ },
1822
1885
  trellisSplitBy: {
1823
1886
  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.",
1824
1887
  type: "string"
@@ -2179,6 +2242,11 @@ var eventsOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
2179
2242
  pattern: getPattern(validSegmentationModes),
2180
2243
  default: "none"
2181
2244
  },
2245
+ pageCount: {
2246
+ description: "Specify the maximum number of rows to display per page.",
2247
+ type: "number",
2248
+ default: 10
2249
+ },
2182
2250
  showFieldSummary: {
2183
2251
  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.",
2184
2252
  type: "boolean",
@@ -2253,6 +2321,20 @@ var fillerGaugeOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
2253
2321
  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.",
2254
2322
  type: "number"
2255
2323
  },
2324
+ trellisSortBy: {
2325
+ default: "result",
2326
+ 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.",
2327
+ type: "string",
2328
+ pattern: getPattern(["result", "name", "value"]),
2329
+ enum: ["result", "name", "value"]
2330
+ },
2331
+ trellisSortOrder: {
2332
+ default: "ascending",
2333
+ description: "Specify the sort order for the individual visualizations in the trellis container. This setting applies to the sort method specified in trellisSortBy.",
2334
+ type: "string",
2335
+ pattern: getPattern(["ascending", "descending"]),
2336
+ enum: ["ascending", "descending"]
2337
+ },
2256
2338
  trellisSplitBy: {
2257
2339
  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.",
2258
2340
  type: "string"
@@ -2280,6 +2362,10 @@ var imageOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
2280
2362
  default: false,
2281
2363
  description: "Set to true to maintain the aspect ratio of an image when the screen is resized.",
2282
2364
  type: "boolean"
2365
+ },
2366
+ title: {
2367
+ 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.",
2368
+ type: "string"
2283
2369
  }
2284
2370
  });
2285
2371
 
@@ -2287,7 +2373,7 @@ var imageOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
2287
2373
  var lineOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
2288
2374
  acceleratedRender: {
2289
2375
  default: false,
2290
- 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.",
2376
+ 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.",
2291
2377
  type: "boolean"
2292
2378
  },
2293
2379
  x: {
@@ -2537,6 +2623,20 @@ var lineOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
2537
2623
  type: "boolean",
2538
2624
  description: "Specify whether all visualizations will share the same scale in the trellis container."
2539
2625
  },
2626
+ trellisSortBy: {
2627
+ default: "result",
2628
+ 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.",
2629
+ type: "string",
2630
+ pattern: getPattern(["result", "name"]),
2631
+ enum: ["result", "name"]
2632
+ },
2633
+ trellisSortOrder: {
2634
+ default: "ascending",
2635
+ description: "Specify the sort order for the individual visualizations in the trellis container. This setting applies to the sort method specified in trellisSortBy.",
2636
+ type: "string",
2637
+ pattern: getPattern(["ascending", "descending"]),
2638
+ enum: ["ascending", "descending"]
2639
+ },
2540
2640
  trellisSplitBy: {
2541
2641
  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.",
2542
2642
  type: "string"
@@ -2805,7 +2905,7 @@ var linkGraphOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
2805
2905
  default: "> nodeColor | maxContrast(nodeTextColorMaxContrast)"
2806
2906
  },
2807
2907
  nodeLabelOverflow: {
2808
- 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.',
2908
+ description: 'Specify the text overflow for node labels. Valid types include "break-word", "anywhere", and "ellipsis".',
2809
2909
  type: "string",
2810
2910
  pattern: getPattern(validTextOverflows),
2811
2911
  default: "ellipsis"
@@ -3318,6 +3418,20 @@ var markerGaugeOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
3318
3418
  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.",
3319
3419
  type: "number"
3320
3420
  },
3421
+ trellisSortBy: {
3422
+ default: "result",
3423
+ 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.",
3424
+ type: "string",
3425
+ pattern: getPattern(["result", "name", "value"]),
3426
+ enum: ["result", "name", "value"]
3427
+ },
3428
+ trellisSortOrder: {
3429
+ default: "ascending",
3430
+ description: "Specify the sort order for the individual visualizations in the trellis container. This setting applies to the sort method specified in trellisSortBy.",
3431
+ type: "string",
3432
+ pattern: getPattern(["ascending", "descending"]),
3433
+ enum: ["ascending", "descending"]
3434
+ },
3321
3435
  trellisSplitBy: {
3322
3436
  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.',
3323
3437
  type: "string"
@@ -3410,8 +3524,7 @@ var networkGraphOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
3410
3524
  description: "Specify the icon used for each node (cylinder, portrait, magnifier, etc.).",
3411
3525
  type: "array",
3412
3526
  items: {
3413
- type: "string",
3414
- pattern: COLOR_OR_TOKEN_PATTERN_WITH_RGBA
3527
+ type: "string"
3415
3528
  }
3416
3529
  },
3417
3530
  nodeIconColors: {
@@ -3664,9 +3777,9 @@ var pieOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
3664
3777
  default: "values"
3665
3778
  },
3666
3779
  percentagePrecision: {
3667
- description: "Specify the number of decimal places to display for percentages. The minimum value is 0. The maximum value is 10.",
3780
+ description: "Specify the number of decimal places to display for percentages. The minimum value is 0. The maximum value is 16.",
3668
3781
  type: "number",
3669
- minimum: 1,
3782
+ minimum: 0,
3670
3783
  maximum: 16,
3671
3784
  default: 0
3672
3785
  },
@@ -3729,8 +3842,22 @@ var pieOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
3729
3842
  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.",
3730
3843
  type: "number"
3731
3844
  },
3845
+ trellisSortBy: {
3846
+ default: "result",
3847
+ 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.",
3848
+ type: "string",
3849
+ pattern: getPattern(["result", "name"]),
3850
+ enum: ["result", "name"]
3851
+ },
3852
+ trellisSortOrder: {
3853
+ default: "ascending",
3854
+ description: "Specify the sort order for the individual visualizations in the trellis container. This setting applies to the sort method specified in trellisSortBy.",
3855
+ type: "string",
3856
+ pattern: getPattern(["ascending", "descending"]),
3857
+ enum: ["ascending", "descending"]
3858
+ },
3732
3859
  trellisSplitBy: {
3733
- 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.",
3860
+ 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.",
3734
3861
  type: "string"
3735
3862
  },
3736
3863
  value: {
@@ -3748,6 +3875,165 @@ var pieOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
3748
3875
  }
3749
3876
  });
3750
3877
 
3878
+ // src/optionsSchemas/processtree.ts
3879
+ var processTreeOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
3880
+ backgroundColor: {
3881
+ default: "> themes.defaultBackgroundColor",
3882
+ description: "Specify the color for the background.",
3883
+ pattern: COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
3884
+ type: "string"
3885
+ },
3886
+ source: {
3887
+ default: '> primary | frameBySeriesTypes("string") | seriesByIndex(0)',
3888
+ description: "Specify the source node id for each link row.",
3889
+ type: "array",
3890
+ items: {
3891
+ type: "string"
3892
+ }
3893
+ },
3894
+ target: {
3895
+ default: '> primary | frameBySeriesTypes("string") | seriesByIndex(1)',
3896
+ description: "Specify the target node id for each link row.",
3897
+ type: "array",
3898
+ items: {
3899
+ type: "string"
3900
+ }
3901
+ },
3902
+ nodeId: {
3903
+ default: '> nodeSource | seriesByName("node_id")',
3904
+ description: "Specify node ids for node metadata lookup when using a secondary node datasource.",
3905
+ type: "array",
3906
+ items: {
3907
+ type: "string"
3908
+ }
3909
+ },
3910
+ nodeColors: {
3911
+ default: [],
3912
+ 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.",
3913
+ type: ["array", "string"],
3914
+ items: {
3915
+ type: "string"
3916
+ }
3917
+ },
3918
+ networkNodeColors: {
3919
+ default: [],
3920
+ 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.",
3921
+ type: ["array", "string"],
3922
+ items: {
3923
+ type: "string"
3924
+ }
3925
+ },
3926
+ nodeIcons: {
3927
+ default: [],
3928
+ 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.",
3929
+ type: ["array", "string"],
3930
+ items: {
3931
+ type: "string"
3932
+ }
3933
+ },
3934
+ linkValues: {
3935
+ default: [],
3936
+ description: "Specify link values for each link row.",
3937
+ type: "array",
3938
+ items: {
3939
+ type: ["number", "string"]
3940
+ }
3941
+ },
3942
+ highlightedNodeId: {
3943
+ default: "",
3944
+ description: "Specify a node id to highlight in the process tree.",
3945
+ type: "string"
3946
+ },
3947
+ highlightColor: {
3948
+ default: "rgba(129, 51, 74, 0.82)",
3949
+ description: "Specify the background color used for the highlighted node row.",
3950
+ type: "string"
3951
+ },
3952
+ highlightIcon: {
3953
+ default: "",
3954
+ description: "Specify an optional built-in icon to render for the highlighted node. Supported values are fire, rectangleDashed, cube, servers, and container.",
3955
+ type: "string"
3956
+ },
3957
+ highlightIconColor: {
3958
+ default: "",
3959
+ description: "Specify an optional color override for the highlighted node icon.",
3960
+ pattern: COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
3961
+ type: "string"
3962
+ },
3963
+ treeNodeLabelFields: {
3964
+ default: [],
3965
+ 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.",
3966
+ type: ["array", "string"],
3967
+ items: {
3968
+ type: "string"
3969
+ }
3970
+ },
3971
+ fieldsToShowAsChip: {
3972
+ default: [],
3973
+ 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.",
3974
+ type: ["array", "string"],
3975
+ items: {
3976
+ type: "string"
3977
+ }
3978
+ },
3979
+ showFieldName: {
3980
+ default: false,
3981
+ description: "Specify whether tree node labels render as field=value. When false, only the field value is shown.",
3982
+ type: "boolean"
3983
+ },
3984
+ disableExpansionPerNode: {
3985
+ default: [],
3986
+ 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.",
3987
+ type: ["array", "string"],
3988
+ items: {
3989
+ type: "string"
3990
+ }
3991
+ },
3992
+ filteredNodeField: {
3993
+ description: "Specify node field name used to classify which nodes render in the right panel and are excluded from the left tree.",
3994
+ type: "string"
3995
+ },
3996
+ filteredNodeValues: {
3997
+ 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.",
3998
+ type: ["array", "string"],
3999
+ items: {
4000
+ type: "string"
4001
+ }
4002
+ },
4003
+ filterButtonFields: {
4004
+ default: [],
4005
+ description: "Specify nodeSource field names used by connection filter buttons. Provide an array, or use a string DSL expression that resolves to an array.",
4006
+ type: ["array", "string"],
4007
+ items: {
4008
+ type: "string"
4009
+ }
4010
+ },
4011
+ filterButtonMatchValues: {
4012
+ default: [],
4013
+ description: "Specify match values used by connection filter buttons. Provide an array, or use a string DSL expression that resolves to an array.",
4014
+ type: ["array", "string"],
4015
+ items: {
4016
+ type: "string"
4017
+ }
4018
+ },
4019
+ filterButtonNames: {
4020
+ default: [],
4021
+ 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.",
4022
+ type: ["array", "string"],
4023
+ items: {
4024
+ type: "string"
4025
+ }
4026
+ },
4027
+ filterButtonColors: {
4028
+ default: [],
4029
+ 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.",
4030
+ type: ["array", "string"],
4031
+ items: {
4032
+ type: "string"
4033
+ }
4034
+ }
4035
+ });
4036
+
3751
4037
  // src/optionsSchemas/punchcard.ts
3752
4038
  var punchcardOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
3753
4039
  x: {
@@ -3880,6 +4166,157 @@ var punchcardOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
3880
4166
  }
3881
4167
  });
3882
4168
 
4169
+ // src/optionsSchemas/richtext.ts
4170
+ var pureRichTextOptionsSchema = {
4171
+ // Container styling
4172
+ backgroundColor: {
4173
+ description: 'Specify the background color using a Hex code such as "#FF0000" or "transparent".',
4174
+ type: "string",
4175
+ default: "transparent",
4176
+ pattern: COLOR_OR_TOKEN_PATTERN_WITH_RGBA
4177
+ },
4178
+ // Font styling
4179
+ fontColor: {
4180
+ 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)".',
4181
+ type: "string",
4182
+ default: "> themes.defaultFontColor",
4183
+ pattern: COLOR_OR_TOKEN_PATTERN_WITH_RGBA
4184
+ },
4185
+ highlightColor: {
4186
+ description: "Specify the highlight/background color for selected text using Hex codes or RGBA values.",
4187
+ type: "string",
4188
+ default: "transparent",
4189
+ pattern: COLOR_OR_TOKEN_PATTERN_WITH_RGBA
4190
+ },
4191
+ fontFamily: {
4192
+ 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.',
4193
+ type: "string",
4194
+ default: "Splunk Data Sans",
4195
+ pattern: getPattern([
4196
+ "Splunk Data Sans",
4197
+ "Splunk Platform Sans Mono",
4198
+ "Arial",
4199
+ "Helvetica",
4200
+ "Times New Roman",
4201
+ "Comic Sans MS",
4202
+ "Georgia",
4203
+ "Verdana",
4204
+ "Courier New"
4205
+ ])
4206
+ },
4207
+ fontSize: {
4208
+ description: "Specify the base font size preset. Font sizes range from extra small (10px) to extra large (20px) with the default being 14px.",
4209
+ type: "string",
4210
+ default: "default",
4211
+ pattern: getPattern(["extraSmall", "small", "default", "large", "extraLarge", "custom"])
4212
+ },
4213
+ customFontSize: {
4214
+ description: 'Specify the custom font size in pixels when fontSize is set to "custom". Valid range is 1-200.',
4215
+ type: "number",
4216
+ default: 14,
4217
+ minimum: 1,
4218
+ maximum: 200
4219
+ },
4220
+ // Text formatting
4221
+ bold: {
4222
+ description: "Apply bold font weight to all text by default.",
4223
+ type: "boolean",
4224
+ default: false
4225
+ },
4226
+ italic: {
4227
+ description: "Apply italic font style to all text by default.",
4228
+ type: "boolean",
4229
+ default: false
4230
+ },
4231
+ underline: {
4232
+ description: "Apply underline text decoration to all text by default.",
4233
+ type: "boolean",
4234
+ default: false
4235
+ },
4236
+ strikethrough: {
4237
+ description: "Apply strikethrough text decoration to all text by default.",
4238
+ type: "boolean",
4239
+ default: false
4240
+ },
4241
+ // List type
4242
+ listType: {
4243
+ description: "Specify the default list type for the content.",
4244
+ type: "string",
4245
+ default: "",
4246
+ pattern: getPattern(["", "unordered", "ordered"])
4247
+ },
4248
+ // Alignment
4249
+ horizontalAlignment: {
4250
+ description: "Specify the horizontal text alignment.",
4251
+ type: "string",
4252
+ default: "left",
4253
+ pattern: getPattern(["left", "center", "right", "justify"])
4254
+ },
4255
+ verticalAlign: {
4256
+ description: "Specify the vertical alignment of content within the container.",
4257
+ type: "string",
4258
+ default: "top",
4259
+ pattern: getPattern(["top", "middle", "bottom"])
4260
+ },
4261
+ // Line height
4262
+ lineHeight: {
4263
+ description: "Specify the line height as a number (e.g., 1.5 means 150% of font size) or string value.",
4264
+ type: ["number", "string"],
4265
+ default: "1.5"
4266
+ },
4267
+ // Link
4268
+ link: {
4269
+ description: "Specify a URL to make the entire rich text content a clickable link.",
4270
+ type: "string",
4271
+ default: ""
4272
+ },
4273
+ // Border configuration
4274
+ border: {
4275
+ description: "Border configuration for the rich text container.",
4276
+ type: "object",
4277
+ properties: {
4278
+ color: {
4279
+ description: "Border color using Hex codes or RGBA values.",
4280
+ type: "string",
4281
+ pattern: COLOR_OR_TOKEN_PATTERN_WITH_RGBA
4282
+ },
4283
+ width: {
4284
+ description: "Border width in pixels.",
4285
+ type: "number",
4286
+ default: 0,
4287
+ minimum: 0,
4288
+ maximum: 20
4289
+ },
4290
+ style: {
4291
+ description: "Border style.",
4292
+ type: "string",
4293
+ default: "solid",
4294
+ pattern: getPattern(["solid", "dashed", "dotted", "none"])
4295
+ },
4296
+ radius: {
4297
+ description: "Border radius (corner radius) in pixels.",
4298
+ type: "number",
4299
+ default: 0,
4300
+ minimum: 0,
4301
+ maximum: 100
4302
+ }
4303
+ }
4304
+ },
4305
+ // Padding
4306
+ padding: {
4307
+ description: "Padding in pixels. Can be a single number (all sides), array of 2 (vertical, horizontal), or array of 4 (top, right, bottom, left).",
4308
+ type: ["number", "array"],
4309
+ default: 8
4310
+ },
4311
+ // Rich text content (HTML)
4312
+ richTextContent: {
4313
+ description: "HTML content for the rich text editor. Inline styles should only include differences from default text styles.",
4314
+ type: "string",
4315
+ default: "<p></p>"
4316
+ }
4317
+ };
4318
+ var richTextOptionsSchema = pureRichTextOptionsSchema;
4319
+
3883
4320
  // src/optionsSchemas/rectangle.ts
3884
4321
  var rectangleOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
3885
4322
  fillColor: {
@@ -4147,8 +4584,22 @@ var scatterOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
4147
4584
  type: "boolean",
4148
4585
  description: "Specify whether all visualizations will share the same scale in the trellis container."
4149
4586
  },
4587
+ trellisSortBy: {
4588
+ default: "result",
4589
+ 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.",
4590
+ type: "string",
4591
+ pattern: getPattern(["result", "name"]),
4592
+ enum: ["result", "name"]
4593
+ },
4594
+ trellisSortOrder: {
4595
+ default: "ascending",
4596
+ description: "Specify the sort order for the individual visualizations in the trellis container. This setting applies to the sort method specified in trellisSortBy.",
4597
+ type: "string",
4598
+ pattern: getPattern(["ascending", "descending"]),
4599
+ enum: ["ascending", "descending"]
4600
+ },
4150
4601
  trellisSplitBy: {
4151
- 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.",
4602
+ 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.",
4152
4603
  type: "string"
4153
4604
  },
4154
4605
  xAxisLabelRotation: {
@@ -4480,6 +4931,20 @@ var singleValueOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
4480
4931
  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.",
4481
4932
  type: "number"
4482
4933
  },
4934
+ trellisSortBy: {
4935
+ default: "result",
4936
+ 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.",
4937
+ type: "string",
4938
+ pattern: getPattern(["result", "name", "value", "trend"]),
4939
+ enum: ["result", "name", "value", "trend"]
4940
+ },
4941
+ trellisSortOrder: {
4942
+ default: "ascending",
4943
+ description: "Specify the sort order for the individual visualizations in the trellis container. This setting applies to the sort method specified in trellisSortBy.",
4944
+ type: "string",
4945
+ pattern: getPattern(["ascending", "descending"]),
4946
+ enum: ["ascending", "descending"]
4947
+ },
4483
4948
  trellisSplitBy: {
4484
4949
  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.",
4485
4950
  type: "string"
@@ -4488,6 +4953,12 @@ var singleValueOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
4488
4953
  description: "Specify the text that appears below the major value.",
4489
4954
  type: "string"
4490
4955
  },
4956
+ underLabelColor: {
4957
+ default: "> majorColor",
4958
+ 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.",
4959
+ pattern: COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
4960
+ type: "string"
4961
+ },
4491
4962
  underLabelFontSize: {
4492
4963
  default: 12,
4493
4964
  description: "Specify the font size (px) for the under label text.",
@@ -4649,6 +5120,20 @@ var singleValueIconOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
4649
5120
  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.",
4650
5121
  type: "number"
4651
5122
  },
5123
+ trellisSortBy: {
5124
+ default: "result",
5125
+ 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.",
5126
+ type: "string",
5127
+ pattern: getPattern(["result", "name", "value", "trend"]),
5128
+ enum: ["result", "name", "value", "trend"]
5129
+ },
5130
+ trellisSortOrder: {
5131
+ default: "ascending",
5132
+ description: "Specify the sort order for the individual visualizations in the trellis container. This setting applies to the sort method specified in trellisSortBy.",
5133
+ type: "string",
5134
+ pattern: getPattern(["ascending", "descending"]),
5135
+ enum: ["ascending", "descending"]
5136
+ },
4652
5137
  trellisSplitBy: {
4653
5138
  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.",
4654
5139
  type: "string"
@@ -4657,6 +5142,12 @@ var singleValueIconOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
4657
5142
  description: "Specify the text that appears below the major value.",
4658
5143
  type: "string"
4659
5144
  },
5145
+ underLabelColor: {
5146
+ default: "> majorColor",
5147
+ 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.",
5148
+ pattern: COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
5149
+ type: "string"
5150
+ },
4660
5151
  unit: {
4661
5152
  description: "Specify text to show next to the major value.",
4662
5153
  type: "string"
@@ -4820,6 +5311,20 @@ var singleValueRadialOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
4820
5311
  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.",
4821
5312
  type: "number"
4822
5313
  },
5314
+ trellisSortBy: {
5315
+ default: "result",
5316
+ 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.",
5317
+ type: "string",
5318
+ pattern: getPattern(["result", "name", "value", "trend"]),
5319
+ enum: ["result", "name", "value", "trend"]
5320
+ },
5321
+ trellisSortOrder: {
5322
+ default: "ascending",
5323
+ description: "Specify the sort order for the individual visualizations in the trellis container. This setting applies to the sort method specified in trellisSortBy.",
5324
+ type: "string",
5325
+ pattern: getPattern(["ascending", "descending"]),
5326
+ enum: ["ascending", "descending"]
5327
+ },
4823
5328
  trellisSplitBy: {
4824
5329
  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.",
4825
5330
  type: "string"
@@ -4828,6 +5333,12 @@ var singleValueRadialOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
4828
5333
  description: "Specify the text that appears below the major value.",
4829
5334
  type: "string"
4830
5335
  },
5336
+ underLabelColor: {
5337
+ default: "> majorColor",
5338
+ 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.",
5339
+ pattern: COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
5340
+ type: "string"
5341
+ },
4831
5342
  unit: {
4832
5343
  description: "Specify text to show next to the major value.",
4833
5344
  type: "string"
@@ -5004,6 +5515,13 @@ var tableOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
5004
5515
  description: "Specify whether to show a row at the bottom of the table that displays total values for applicable columns.",
5005
5516
  type: "boolean"
5006
5517
  },
5518
+ showColumnAsExpandedJson: {
5519
+ 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.",
5520
+ type: ["string", "array"],
5521
+ items: {
5522
+ type: "string"
5523
+ }
5524
+ },
5007
5525
  showInternalFields: {
5008
5526
  default: true,
5009
5527
  description: "Specify whether to show internal fields that start with an underscore. The _time field will still be shown if false.",
@@ -5203,6 +5721,12 @@ var timelineOptionsSchema = enhanceOptionsSchemaWithDynamicOptions({
5203
5721
  description: "Specify the field that should be mapped to the x-axis.",
5204
5722
  type: "string"
5205
5723
  },
5724
+ durationUnit: {
5725
+ default: "milliseconds",
5726
+ description: "Specify the unit of the values in the duration data source used to apply duration to events.",
5727
+ pattern: getPattern(["milliseconds", "seconds", "minutes", "hours"]),
5728
+ type: "string"
5729
+ },
5206
5730
  categoryField: {
5207
5731
  default: "> category | getField()",
5208
5732
  description: "Specify the field that should be mapped to the y-axis.",
@@ -5284,10 +5808,13 @@ export {
5284
5808
  networkGraphOptionsSchema,
5285
5809
  parallelCoordinatesOptionsSchema,
5286
5810
  pieOptionsSchema,
5811
+ processTreeOptionsSchema,
5287
5812
  punchcardOptionsSchema,
5813
+ pureRichTextOptionsSchema,
5288
5814
  rectangleOptionsSchema,
5289
5815
  rgbColorPattern,
5290
5816
  rgbaColorPattern,
5817
+ richTextOptionsSchema,
5291
5818
  sankeyOptionsSchema,
5292
5819
  scatterOptionsSchema,
5293
5820
  schemaDraft07,