@gdacm/grafana-items 0.1.20 → 0.1.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. package/dist/index.js +1 -0
  2. package/dist/index.js.map +1 -1
  3. package/dist/items/Annotation.d.ts +6 -0
  4. package/dist/items/Color.d.ts +1 -0
  5. package/dist/items/Dashboard.d.ts +11 -0
  6. package/dist/items/Datasource.d.ts +2 -0
  7. package/dist/items/FieldConfigCustomBarChart.d.ts +12 -0
  8. package/dist/items/FieldConfigCustomTable.d.ts +2 -0
  9. package/dist/items/FieldConfigCustomTableCellOptions.d.ts +1 -0
  10. package/dist/items/FieldConfigCustomTimeSerie.d.ts +26 -0
  11. package/dist/items/FieldConfigDefault.d.ts +5 -0
  12. package/dist/items/FieldConfigOverride.d.ts +1 -0
  13. package/dist/items/GridPos.d.ts +4 -0
  14. package/dist/items/HideFrom.d.ts +4 -0
  15. package/dist/items/LineStyle.d.ts +1 -0
  16. package/dist/items/Link.d.ts +9 -0
  17. package/dist/items/OverrideMatcher.d.ts +1 -0
  18. package/dist/items/OverrideMatcherOptionsByNames.d.ts +3 -0
  19. package/dist/items/OverrideProperty.d.ts +2 -0
  20. package/dist/items/Panel.d.ts +15 -0
  21. package/dist/items/PanelOptionsBarChart.d.ts +12 -0
  22. package/dist/items/PanelOptionsGauge.d.ts +14 -0
  23. package/dist/items/PanelOptionsGaugeEffect.d.ts +3 -0
  24. package/dist/items/PanelOptionsGaugeReduceOptions.d.ts +3 -0
  25. package/dist/items/PanelOptionsGeomapBasemap.d.ts +3 -0
  26. package/dist/items/PanelOptionsGeomapControls.d.ts +6 -0
  27. package/dist/items/PanelOptionsGeomapLayer.d.ts +3 -0
  28. package/dist/items/PanelOptionsGeomapLayerConfig.d.ts +1 -0
  29. package/dist/items/PanelOptionsGeomapLayerConfigStyle.d.ts +1 -0
  30. package/dist/items/PanelOptionsGeomapLayerLocation.d.ts +1 -0
  31. package/dist/items/PanelOptionsGeomapTooltip.d.ts +1 -0
  32. package/dist/items/PanelOptionsGeomapView.d.ts +7 -0
  33. package/dist/items/PanelOptionsPieChart.d.ts +2 -0
  34. package/dist/items/PanelOptionsTable.d.ts +2 -0
  35. package/dist/items/PanelOptionsTableSortBy.d.ts +2 -0
  36. package/dist/items/PanelOptionsText.d.ts +2 -0
  37. package/dist/items/PanelOptionsTextCode.d.ts +3 -0
  38. package/dist/items/PanelOptionsTimeSeries.d.ts +2 -0
  39. package/dist/items/ScaleDistribution.d.ts +1 -0
  40. package/dist/items/Stacking.d.ts +2 -0
  41. package/dist/items/StyleColor.d.ts +1 -0
  42. package/dist/items/StyleRotation.d.ts +4 -0
  43. package/dist/items/StyleSize.d.ts +3 -0
  44. package/dist/items/StyleSymbol.d.ts +3 -0
  45. package/dist/items/StyleSymbolAlign.d.ts +2 -0
  46. package/dist/items/StyleTextConfig.d.ts +5 -0
  47. package/dist/items/Target.d.ts +6 -0
  48. package/dist/items/TargetInfinity.d.ts +7 -0
  49. package/dist/items/Template.d.ts +12 -0
  50. package/dist/items/TemplateCurrent.d.ts +2 -0
  51. package/dist/items/TemplateOption.d.ts +3 -0
  52. package/dist/items/ThresholdStyle.d.ts +1 -0
  53. package/dist/items/Thresholds.d.ts +1 -0
  54. package/dist/items/ThresholdsStep.d.ts +2 -0
  55. package/dist/items/TimeRange.d.ts +2 -0
  56. package/dist/items/VizLegendOptions.d.ts +10 -0
  57. package/dist/items/VizTextDisplayOptions.d.ts +3 -0
  58. package/dist/items/VizTooltipOptions.d.ts +5 -0
  59. package/package.json +2 -2
@@ -4,14 +4,20 @@ import { Datasource } from "./Datasource.js";
4
4
  import type { GenericMetaOptions } from "@gdacm/base-types";
5
5
 
6
6
  export declare class Annotation extends GrafanaItem {
7
+ get builtIn(): Number;
7
8
  setBuiltIn(builtIn: Number): this;
8
9
  setDatasource(datasource: Datasource): this;
9
10
  setNewDatasource(onNewCreated: ((item: Datasource) => Datasource) | undefined): this;
10
11
  withDatasource(onWith: (item: Datasource) => void): this;
11
12
  get datasource(): Datasource;
13
+ get enable(): Boolean;
12
14
  setEnable(enable: Boolean): this;
15
+ get hide(): Boolean;
13
16
  setHide(hide: Boolean): this;
17
+ get iconColor(): String;
14
18
  setIconColor(iconColor: String): this;
19
+ get name(): String;
15
20
  setName(name: String): this;
21
+ get type(): String;
16
22
  setType(type: String): this;
17
23
  }
@@ -4,5 +4,6 @@ import { GrafanaItem } from "./GrafanaItem.js";
4
4
  import type { GenericMetaOptions } from "@gdacm/base-types";
5
5
 
6
6
  export declare class Color extends GrafanaItem {
7
+ get mode(): String;
7
8
  setMode(mode: String): this;
8
9
  }
@@ -13,23 +13,31 @@ export declare class Dashboard extends GrafanaItem {
13
13
  setNewAnnotations(onNewCreated: ((item: Annotations) => Annotations) | undefined): this;
14
14
  withAnnotations(onWith: (item: Annotations) => void): this;
15
15
  get annotations(): Annotations;
16
+ get editable(): Boolean;
16
17
  setEditable(editable: Boolean): this;
18
+ get fiscalYearStartMonth(): Number;
17
19
  setFiscalYearStartMonth(fiscalYearStartMonth: Number): this;
20
+ get graphTooltip(): Number;
18
21
  setGraphTooltip(graphTooltip: Number): this;
19
22
  initLinks(): this;
20
23
  get links(): Link[];
21
24
  addLink(link: Link): this;
22
25
  addNewLink(onNewCreated: (item: Link) => Link): this;
23
26
  withLinks(onWith: (links: Link[]) => void): this;
27
+ get liveNow(): Boolean;
24
28
  setLiveNow(liveNow: Boolean): this;
25
29
  initPanels(): this;
26
30
  get panels(): Panel[];
27
31
  addPanel(panel: Panel): this;
28
32
  addNewPanel(onNewCreated: (item: Panel) => Panel): this;
29
33
  withPanels(onWith: (panels: Panel[]) => void): this;
34
+ get preload(): Boolean;
30
35
  setPreload(preload: Boolean): this;
36
+ get schemaVersion(): Number;
31
37
  setSchemaVersion(schemaVersion: Number): this;
38
+ get refresh(): String;
32
39
  setRefresh(refresh: String): this;
40
+ get tags(): Array<String>;
33
41
  setTags(tags: Array<String>): this;
34
42
  setTemplating(templating: Templating): this;
35
43
  setNewTemplating(onNewCreated: ((item: Templating) => Templating) | undefined): this;
@@ -44,7 +52,10 @@ export declare class Dashboard extends GrafanaItem {
44
52
  setNewTimepicker(onNewCreated: ((item: TimePicker) => TimePicker) | undefined): this;
45
53
  withTimepicker(onWith: (item: TimePicker) => void): this;
46
54
  get timepicker(): TimePicker;
55
+ get timezone(): String;
47
56
  setTimezone(timezone: String): this;
57
+ get title(): String;
48
58
  setTitle(title: String): this;
59
+ get uid(): String;
49
60
  setUid(uid: String): this;
50
61
  }
@@ -4,6 +4,8 @@ import { GrafanaItem } from "./GrafanaItem.js";
4
4
  import type { GenericMetaOptions } from "@gdacm/base-types";
5
5
 
6
6
  export declare class Datasource extends GrafanaItem {
7
+ get type(): String;
7
8
  setType(type: String): this;
9
+ get uid(): String;
8
10
  setUid(uid: String): this;
9
11
  }
@@ -6,25 +6,37 @@ import { ThresholdStyle } from "./ThresholdStyle.js";
6
6
  import type { GenericMetaOptions } from "@gdacm/base-types";
7
7
 
8
8
  export declare class FieldConfigCustomBarChart extends FieldConfigCustom {
9
+ get axisBorderShow(): Boolean;
9
10
  setAxisBorderShow(axisBorderShow: Boolean): this;
11
+ get axisCenteredZero(): Boolean;
10
12
  setAxisCenteredZero(axisCenteredZero: Boolean): this;
13
+ get axisColorMode(): String;
11
14
  setAxisColorMode(axisColorMode: String): this;
15
+ get axisGridShow(): Boolean;
12
16
  setAxisGridShow(axisGridShow: Boolean): this;
17
+ get axisLabel(): String;
13
18
  setAxisLabel(axisLabel: String): this;
19
+ get axisPlacement(): String;
14
20
  setAxisPlacement(axisPlacement: String): this;
21
+ get axisSoftMax(): Number;
15
22
  setAxisSoftMax(axisSoftMax: Number): this;
23
+ get axisSoftMin(): Number;
16
24
  setAxisSoftMin(axisSoftMin: Number): this;
25
+ get axisWidth(): Number;
17
26
  setAxisWidth(axisWidth: Number): this;
18
27
  setScaleDistribution(scaleDistribution: ScaleDistribution): this;
19
28
  setNewScaleDistribution(onNewCreated: ((item: ScaleDistribution) => ScaleDistribution) | undefined): this;
20
29
  withScaleDistribution(onWith: (item: ScaleDistribution) => void): this;
21
30
  get scaleDistribution(): ScaleDistribution;
31
+ get fillOpacity(): Number;
22
32
  setFillOpacity(fillOpacity: Number): this;
33
+ get gradientMode(): String;
23
34
  setGradientMode(gradientMode: String): this;
24
35
  setHideFrom(hideFrom: HideFrom): this;
25
36
  setNewHideFrom(onNewCreated: ((item: HideFrom) => HideFrom) | undefined): this;
26
37
  withHideFrom(onWith: (item: HideFrom) => void): this;
27
38
  get hideFrom(): HideFrom;
39
+ get lineWidth(): Number;
28
40
  setLineWidth(lineWidth: Number): this;
29
41
  setThresholdsStyle(thresholdsStyle: ThresholdStyle): this;
30
42
  setNewThresholdsStyle(onNewCreated: ((item: ThresholdStyle) => ThresholdStyle) | undefined): this;
@@ -5,6 +5,7 @@ import { FieldConfigCustomTableFooter } from "./FieldConfigCustomTableFooter.js"
5
5
  import type { GenericMetaOptions } from "@gdacm/base-types";
6
6
 
7
7
  export declare class FieldConfigCustomTable extends FieldConfigCustom {
8
+ get align(): String;
8
9
  setAlign(align: String): this;
9
10
  setCellOptions(cellOptions: FieldConfigCustomTableCellOptions): this;
10
11
  setNewCellOptions(onNewCreated: ((item: FieldConfigCustomTableCellOptions) => FieldConfigCustomTableCellOptions) | undefined): this;
@@ -14,5 +15,6 @@ export declare class FieldConfigCustomTable extends FieldConfigCustom {
14
15
  setNewFooter(onNewCreated: ((item: FieldConfigCustomTableFooter) => FieldConfigCustomTableFooter) | undefined): this;
15
16
  withFooter(onWith: (item: FieldConfigCustomTableFooter) => void): this;
16
17
  get footer(): FieldConfigCustomTableFooter;
18
+ get inspect(): Boolean;
17
19
  setInspect(inspect: Boolean): this;
18
20
  }
@@ -4,5 +4,6 @@ import { GrafanaItem } from "./GrafanaItem.js";
4
4
  import type { GenericMetaOptions } from "@gdacm/base-types";
5
5
 
6
6
  export declare class FieldConfigCustomTableCellOptions extends GrafanaItem {
7
+ get type(): String;
7
8
  setType(type: String): this;
8
9
  }
@@ -8,44 +8,70 @@ import { ThresholdStyle } from "./ThresholdStyle.js";
8
8
  import type { GenericMetaOptions } from "@gdacm/base-types";
9
9
 
10
10
  export declare class FieldConfigCustomTimeSerie extends FieldConfigCustom {
11
+ get axisBorderShow(): Boolean;
11
12
  setAxisBorderShow(axisBorderShow: Boolean): this;
13
+ get axisCenteredZero(): Boolean;
12
14
  setAxisCenteredZero(axisCenteredZero: Boolean): this;
15
+ get axisColorMode(): String;
13
16
  setAxisColorMode(axisColorMode: String): this;
17
+ get axisGridShow(): Boolean;
14
18
  setAxisGridShow(axisGridShow: Boolean): this;
19
+ get axisLabel(): String;
15
20
  setAxisLabel(axisLabel: String): this;
21
+ get axisPlacement(): String;
16
22
  setAxisPlacement(axisPlacement: String): this;
23
+ get axisSoftMax(): Number;
17
24
  setAxisSoftMax(axisSoftMax: Number): this;
25
+ get axisSoftMin(): Number;
18
26
  setAxisSoftMin(axisSoftMin: Number): this;
27
+ get axisWidth(): Number;
19
28
  setAxisWidth(axisWidth: Number): this;
20
29
  setScaleDistribution(scaleDistribution: ScaleDistribution): this;
21
30
  setNewScaleDistribution(onNewCreated: ((item: ScaleDistribution) => ScaleDistribution) | undefined): this;
22
31
  withScaleDistribution(onWith: (item: ScaleDistribution) => void): this;
23
32
  get scaleDistribution(): ScaleDistribution;
33
+ get barAlignment(): Number;
24
34
  setBarAlignment(barAlignment: Number): this;
35
+ get barMaxWidth(): Number;
25
36
  setBarMaxWidth(barMaxWidth: Number): this;
37
+ get barWidthFactor(): Number;
26
38
  setBarWidthFactor(barWidthFactor: Number): this;
39
+ get drawStyle(): String;
27
40
  setDrawStyle(drawStyle: String): this;
41
+ get fillBelowTo(): String;
28
42
  setFillBelowTo(fillBelowTo: String): this;
43
+ get fillColor(): String;
29
44
  setFillColor(fillColor: String): this;
45
+ get fillOpacity(): Number;
30
46
  setFillOpacity(fillOpacity: Number): this;
47
+ get gradientMode(): String;
31
48
  setGradientMode(gradientMode: String): this;
32
49
  setHideFrom(hideFrom: HideFrom): this;
33
50
  setNewHideFrom(onNewCreated: ((item: HideFrom) => HideFrom) | undefined): this;
34
51
  withHideFrom(onWith: (item: HideFrom) => void): this;
35
52
  get hideFrom(): HideFrom;
53
+ get insertNulls(): Boolean;
36
54
  setInsertNulls(insertNulls: Boolean): this;
55
+ get lineInterpolation(): String;
37
56
  setLineInterpolation(lineInterpolation: String): this;
38
57
  setLineStyle(lineStyle: LineStyle): this;
39
58
  setNewLineStyle(onNewCreated: ((item: LineStyle) => LineStyle) | undefined): this;
40
59
  withLineStyle(onWith: (item: LineStyle) => void): this;
41
60
  get lineStyle(): LineStyle;
42
61
  setLineStyleFill(fill: string): this;
62
+ get lineWidth(): Number;
43
63
  setLineWidth(lineWidth: Number): this;
64
+ get pointColor(): String;
44
65
  setPointColor(pointColor: String): this;
66
+ get pointSize(): Number;
45
67
  setPointSize(pointSize: Number): this;
68
+ get pointSymbol(): String;
46
69
  setPointSymbol(pointSymbol: String): this;
70
+ get showPoints(): String;
47
71
  setShowPoints(showPoints: String): this;
72
+ get showValues(): Boolean;
48
73
  setShowValues(showValues: Boolean): this;
74
+ get spanNulls(): Boolean;
49
75
  setSpanNulls(spanNulls: Boolean): this;
50
76
  setStacking(stacking: Stacking): this;
51
77
  setNewStacking(onNewCreated: ((item: Stacking) => Stacking) | undefined): this;
@@ -15,19 +15,24 @@ export declare class FieldConfigDefault extends GrafanaItem {
15
15
  setNewCustom(onNewCreated: ((item: FieldConfigCustom) => FieldConfigCustom) | undefined): this;
16
16
  withCustom(onWith: (item: FieldConfigCustom) => void): this;
17
17
  get custom(): FieldConfigCustom;
18
+ get decimals(): Number;
18
19
  setDecimals(decimals: Number): this;
20
+ get fieldMinMax(): Boolean;
19
21
  setFieldMinMax(fieldMinMax: Boolean): this;
20
22
  initMappings(): this;
21
23
  get mappings(): Mapping[];
22
24
  addMapping(mapping: Mapping): this;
23
25
  addNewMapping(onNewCreated: (item: Mapping) => Mapping): this;
24
26
  withMappings(onWith: (mappings: Mapping[]) => void): this;
27
+ get max(): Number;
25
28
  setMax(max: Number): this;
29
+ get min(): Number;
26
30
  setMin(min: Number): this;
27
31
  setThresholds(thresholds: Thresholds): this;
28
32
  setNewThresholds(onNewCreated: ((item: Thresholds) => Thresholds) | undefined): this;
29
33
  withThresholds(onWith: (item: Thresholds) => void): this;
30
34
  get thresholds(): Thresholds;
35
+ get unit(): String;
31
36
  setUnit(unit: String): this;
32
37
  setColorMode(mode: string): this;
33
38
  }
@@ -5,6 +5,7 @@ import { OverrideProperty } from "./OverrideProperty.js";
5
5
  import type { GenericMetaOptions } from "@gdacm/base-types";
6
6
 
7
7
  export declare class FieldConfigOverride extends GrafanaItem {
8
+ get systemRef(): String;
8
9
  setSystemRef(systemRef: String): this;
9
10
  setMatcher(matcher: OverrideMatcher): this;
10
11
  setNewMatcher(onNewCreated: ((item: OverrideMatcher) => OverrideMatcher) | undefined): this;
@@ -4,9 +4,13 @@ import { GrafanaItem } from "./GrafanaItem.js";
4
4
  import type { GenericMetaOptions } from "@gdacm/base-types";
5
5
 
6
6
  export declare class GridPos extends GrafanaItem {
7
+ get x(): Number;
7
8
  setX(x: Number): this;
9
+ get y(): Number;
8
10
  setY(y: Number): this;
11
+ get w(): Number;
9
12
  setW(w: Number): this;
13
+ get h(): Number;
10
14
  setH(h: Number): this;
11
15
  setPos(x: number, y: number, w: number, h: number): this;
12
16
  }
@@ -4,8 +4,12 @@ import { GrafanaItem } from "./GrafanaItem.js";
4
4
  import type { GenericMetaOptions } from "@gdacm/base-types";
5
5
 
6
6
  export declare class HideFrom extends GrafanaItem {
7
+ get graph(): Boolean;
7
8
  setGraph(graph: Boolean): this;
9
+ get legend(): Boolean;
8
10
  setLegend(legend: Boolean): this;
11
+ get tooltip(): Boolean;
9
12
  setTooltip(tooltip: Boolean): this;
13
+ get viz(): Boolean;
10
14
  setViz(viz: Boolean): this;
11
15
  }
@@ -4,5 +4,6 @@ import { GrafanaItem } from "./GrafanaItem.js";
4
4
  import type { GenericMetaOptions } from "@gdacm/base-types";
5
5
 
6
6
  export declare class LineStyle extends GrafanaItem {
7
+ get fill(): String;
7
8
  setFill(fill: String): this;
8
9
  }
@@ -5,17 +5,26 @@ import type { GenericMetaOptions } from "@gdacm/base-types";
5
5
 
6
6
  export declare class Link extends GrafanaItem {
7
7
  constructor(metaOptions: GenericMetaOptions)
8
+ get asDropdown(): Boolean;
8
9
  setAsDropdown(asDropdown: Boolean): this;
10
+ get icon(): String;
9
11
  setIcon(icon: String): this;
12
+ get includeVars(): Boolean;
10
13
  setIncludeVars(includeVars: Boolean): this;
14
+ get keepTime(): Boolean;
11
15
  setKeepTime(keepTime: Boolean): this;
12
16
  initTags(): this;
13
17
  get tags(): String[];
14
18
  addTag(tag: String): this;
15
19
  withTags(onWith: (tags: String[]) => void): this;
20
+ get targetBlank(): Boolean;
16
21
  setTargetBlank(targetBlank: Boolean): this;
22
+ get title(): String;
17
23
  setTitle(title: String): this;
24
+ get tooltip(): String;
18
25
  setTooltip(tooltip: String): this;
26
+ get type(): String;
19
27
  setType(type: String): this;
28
+ get url(): String;
20
29
  setUrl(url: String): this;
21
30
  }
@@ -4,6 +4,7 @@ import { GrafanaItem } from "./GrafanaItem.js";
4
4
  import type { GenericMetaOptions } from "@gdacm/base-types";
5
5
 
6
6
  export declare class OverrideMatcher extends GrafanaItem {
7
+ get id(): String;
7
8
  setId(id: String): this;
8
9
  setOptions(options: Object): this;
9
10
  withOptions(onWith: (item: Object) => void): this;
@@ -4,11 +4,14 @@ import { GrafanaItem } from "./GrafanaItem.js";
4
4
  import type { GenericMetaOptions } from "@gdacm/base-types";
5
5
 
6
6
  export declare class OverrideMatcherOptionsByNames extends GrafanaItem {
7
+ get mode(): String;
7
8
  setMode(mode: String): this;
8
9
  initNames(): this;
9
10
  get names(): String[];
10
11
  addName(name: String): this;
11
12
  withNames(onWith: (names: String[]) => void): this;
13
+ get prefix(): String;
12
14
  setPrefix(prefix: String): this;
15
+ get readOnly(): Boolean;
13
16
  setReadOnly(readOnly: Boolean): this;
14
17
  }
@@ -4,6 +4,8 @@ import { GrafanaItem } from "./GrafanaItem.js";
4
4
  import type { GenericMetaOptions } from "@gdacm/base-types";
5
5
 
6
6
  export declare class OverrideProperty extends GrafanaItem {
7
+ get id(): String;
7
8
  setId(id: String): this;
9
+ get value(): Object;
8
10
  setValue(value: Object): this;
9
11
  }
@@ -9,11 +9,13 @@ import { DataTransformation } from "./DataTransformation.js";
9
9
  import type { GenericMetaOptions } from "@gdacm/base-types";
10
10
 
11
11
  export declare class Panel extends GrafanaItem {
12
+ get cacheTimeout(): String;
12
13
  setCacheTimeout(cacheTimeout: String): this;
13
14
  setDatasource(datasource: Datasource): this;
14
15
  setNewDatasource(onNewCreated: ((item: Datasource) => Datasource) | undefined): this;
15
16
  withDatasource(onWith: (item: Datasource) => void): this;
16
17
  get datasource(): Datasource;
18
+ get description(): String;
17
19
  setDescription(description: String): this;
18
20
  setFieldConfig(fieldConfig: FieldConfig): this;
19
21
  setNewFieldConfig(onNewCreated: ((item: FieldConfig) => FieldConfig) | undefined): this;
@@ -24,23 +26,32 @@ export declare class Panel extends GrafanaItem {
24
26
  withGridPos(onWith: (item: GridPos) => void): this;
25
27
  get gridPos(): GridPos;
26
28
  setPos(x: number, y: number, w: number, h: number): this;
29
+ get hideTimeOverride(): Boolean;
27
30
  setHideTimeOverride(hideTimeOverride: Boolean): this;
31
+ get id(): Number;
28
32
  setId(id: Number): this;
33
+ get interval(): String;
29
34
  setInterval(interval: String): this;
30
35
  initLinks(): this;
31
36
  get links(): Link[];
32
37
  addLink(link: Link): this;
33
38
  addNewLink(onNewCreated: (item: Link) => Link): this;
34
39
  withLinks(onWith: (links: Link[]) => void): this;
40
+ get maxDataPoints(): Number;
35
41
  setMaxDataPoints(maxDataPoints: Number): this;
42
+ get maxPerRow(): Number;
36
43
  setMaxPerRow(maxPerRow: Number): this;
37
44
  setOptions(options: Object): this;
38
45
  setNewOptions(onNewCreated: ((item: Object) => Object) | undefined): this;
39
46
  withOptions(onWith: (item: Object) => void): this;
40
47
  get options(): Object;
48
+ get pluginVersion(): String;
41
49
  setPluginVersion(pluginVersion: String): this;
50
+ get queryCachingTTL(): Number;
42
51
  setQueryCachingTTL(queryCachingTTL: Number): this;
52
+ get repeat(): String;
43
53
  setRepeat(repeat: String): this;
54
+ get repeatDirection(): String;
44
55
  setRepeatDirection(repeatDirection: String): this;
45
56
  initTargets(): this;
46
57
  get targets(): Target[];
@@ -48,13 +59,17 @@ export declare class Panel extends GrafanaItem {
48
59
  addNewTarget(onNewCreated: (item: Target) => Target): this;
49
60
  withTargets(onWith: (targets: Target[]) => void): this;
50
61
  addTargetWithParams(refId: string, query: string, datasource: Datasource): this;
62
+ get timeFrom(): String;
51
63
  setTimeFrom(timeFrom: String): this;
64
+ get timeShift(): String;
52
65
  setTimeShift(timeShift: String): this;
53
66
  initTransformations(): this;
54
67
  get transformations(): DataTransformation[];
55
68
  addTransformation(transformation: DataTransformation): this;
56
69
  addNewTransformation(onNewCreated: (item: DataTransformation) => DataTransformation): this;
57
70
  withTransformations(onWith: (transformations: DataTransformation[]) => void): this;
71
+ get type(): String;
58
72
  setType(type: String): this;
73
+ get title(): String;
59
74
  setTitle(title: String): this;
60
75
  }
@@ -6,17 +6,25 @@ import { VizTooltipOptions } from "./VizTooltipOptions.js";
6
6
  import type { GenericMetaOptions } from "@gdacm/base-types";
7
7
 
8
8
  export declare class PanelOptionsBarChart extends PanelOptions {
9
+ get barRadius(): Number;
9
10
  setBarRadius(barRadius: Number): this;
11
+ get barWidth(): Number;
10
12
  setBarWidth(barWidth: Number): this;
13
+ get colorByField(): String;
11
14
  setColorByField(colorByField: String): this;
15
+ get fullHighlight(): Boolean;
12
16
  setFullHighlight(fullHighlight: Boolean): this;
17
+ get groupWidth(): Number;
13
18
  setGroupWidth(groupWidth: Number): this;
14
19
  setLegend(legend: VizLegendOptions): this;
15
20
  setNewLegend(onNewCreated: ((item: VizLegendOptions) => VizLegendOptions) | undefined): this;
16
21
  withLegend(onWith: (item: VizLegendOptions) => void): this;
17
22
  get legend(): VizLegendOptions;
23
+ get orientation(): String;
18
24
  setOrientation(orientation: String): this;
25
+ get showValue(): String;
19
26
  setShowValue(showValue: String): this;
27
+ get stacking(): String;
20
28
  setStacking(stacking: String): this;
21
29
  setText(text: VizTextDisplayOptions): this;
22
30
  setNewText(onNewCreated: ((item: VizTextDisplayOptions) => VizTextDisplayOptions) | undefined): this;
@@ -26,8 +34,12 @@ export declare class PanelOptionsBarChart extends PanelOptions {
26
34
  setNewTooltip(onNewCreated: ((item: VizTooltipOptions) => VizTooltipOptions) | undefined): this;
27
35
  withTooltip(onWith: (item: VizTooltipOptions) => void): this;
28
36
  get tooltip(): VizTooltipOptions;
37
+ get xField(): String;
29
38
  setXField(xField: String): this;
39
+ get xTickLabelMaxLength(): Number;
30
40
  setXTickLabelMaxLength(xTickLabelMaxLength: Number): this;
41
+ get xTickLabelRotation(): Number;
31
42
  setXTickLabelRotation(xTickLabelRotation: Number): this;
43
+ get xTickLabelSpacing(): Number;
32
44
  setXTickLabelSpacing(xTickLabelSpacing: Number): this;
33
45
  }
@@ -5,26 +5,40 @@ import { PanelOptionsGaugeReduceOptions } from "./PanelOptionsGaugeReduceOptions
5
5
  import type { GenericMetaOptions } from "@gdacm/base-types";
6
6
 
7
7
  export declare class PanelOptionsGauge extends PanelOptions {
8
+ get barShape(): String;
8
9
  setBarShape(barShape: String): this;
10
+ get barWidthFactor(): Number;
9
11
  setBarWidthFactor(barWidthFactor: Number): this;
10
12
  setEffects(effects: PanelOptionsGaugeEffect): this;
11
13
  setNewEffects(onNewCreated: ((item: PanelOptionsGaugeEffect) => PanelOptionsGaugeEffect) | undefined): this;
12
14
  withEffects(onWith: (item: PanelOptionsGaugeEffect) => void): this;
13
15
  get effects(): PanelOptionsGaugeEffect;
16
+ get endpointMarker(): String;
14
17
  setEndpointMarker(endpointMarker: String): this;
18
+ get minVizHeight(): Number;
15
19
  setMinVizHeight(minVizHeight: Number): this;
20
+ get minVizWidth(): Number;
16
21
  setMinVizWidth(minVizWidth: Number): this;
22
+ get orientation(): String;
17
23
  setOrientation(orientation: String): this;
18
24
  setReduceOptions(reduceOptions: PanelOptionsGaugeReduceOptions): this;
19
25
  setNewReduceOptions(onNewCreated: ((item: PanelOptionsGaugeReduceOptions) => PanelOptionsGaugeReduceOptions) | undefined): this;
20
26
  withReduceOptions(onWith: (item: PanelOptionsGaugeReduceOptions) => void): this;
21
27
  get reduceOptions(): PanelOptionsGaugeReduceOptions;
28
+ get segmentCount(): Number;
22
29
  setSegmentCount(segmentCount: Number): this;
30
+ get segmentSpacing(): Number;
23
31
  setSegmentSpacing(segmentSpacing: Number): this;
32
+ get shape(): String;
24
33
  setShape(shape: String): this;
34
+ get showThresholdLabels(): Boolean;
25
35
  setShowThresholdLabels(showThresholdLabels: Boolean): this;
36
+ get showThresholdMarkers(): Boolean;
26
37
  setShowThresholdMarkers(showThresholdMarkers: Boolean): this;
38
+ get sizing(): String;
27
39
  setSizing(sizing: String): this;
40
+ get sparkline(): Boolean;
28
41
  setSparkline(sparkline: Boolean): this;
42
+ get textMode(): String;
29
43
  setTextMode(textMode: String): this;
30
44
  }
@@ -4,7 +4,10 @@ import { GrafanaItem } from "./GrafanaItem.js";
4
4
  import type { GenericMetaOptions } from "@gdacm/base-types";
5
5
 
6
6
  export declare class PanelOptionsGaugeEffect extends GrafanaItem {
7
+ get barGlow(): Boolean;
7
8
  setBarGlow(barGlow: Boolean): this;
9
+ get centerGlow(): Boolean;
8
10
  setCenterGlow(centerGlow: Boolean): this;
11
+ get gradient(): Boolean;
9
12
  setGradient(gradient: Boolean): this;
10
13
  }
@@ -8,7 +8,10 @@ export declare class PanelOptionsGaugeReduceOptions extends GrafanaItem {
8
8
  get calcs(): String[];
9
9
  addCalc(calc: String): this;
10
10
  withCalcs(onWith: (calcs: String[]) => void): this;
11
+ get fields(): String;
11
12
  setFields(fields: String): this;
13
+ get limit(): Number;
12
14
  setLimit(limit: Number): this;
15
+ get values(): Boolean;
13
16
  setValues(values: Boolean): this;
14
17
  }
@@ -7,7 +7,10 @@ export declare class PanelOptionsGeomapBasemap extends GrafanaItem {
7
7
  setConfig(config: Object): this;
8
8
  withConfig(onWith: (item: Object) => void): this;
9
9
  get config(): Object;
10
+ get name(): String;
10
11
  setName(name: String): this;
12
+ get noRepeat(): Boolean;
11
13
  setNoRepeat(noRepeat: Boolean): this;
14
+ get type(): String;
12
15
  setType(type: String): this;
13
16
  }
@@ -4,10 +4,16 @@ import { GrafanaItem } from "./GrafanaItem.js";
4
4
  import type { GenericMetaOptions } from "@gdacm/base-types";
5
5
 
6
6
  export declare class PanelOptionsGeomapControls extends GrafanaItem {
7
+ get mouseWheelZoom(): Boolean;
7
8
  setMouseWheelZoom(mouseWheelZoom: Boolean): this;
9
+ get showAttribution(): Boolean;
8
10
  setShowAttribution(showAttribution: Boolean): this;
11
+ get showDebug(): Boolean;
9
12
  setShowDebug(showDebug: Boolean): this;
13
+ get showMeasure(): Boolean;
10
14
  setShowMeasure(showMeasure: Boolean): this;
15
+ get showScale(): Boolean;
11
16
  setShowScale(showScale: Boolean): this;
17
+ get showZoom(): Boolean;
12
18
  setShowZoom(showZoom: Boolean): this;
13
19
  }
@@ -13,7 +13,10 @@ export declare class PanelOptionsGeomapLayer extends GrafanaItem {
13
13
  setNewLocation(onNewCreated: ((item: PanelOptionsGeomapLayerLocation) => PanelOptionsGeomapLayerLocation) | undefined): this;
14
14
  withLocation(onWith: (item: PanelOptionsGeomapLayerLocation) => void): this;
15
15
  get location(): PanelOptionsGeomapLayerLocation;
16
+ get name(): String;
16
17
  setName(name: String): this;
18
+ get tooltip(): Boolean;
17
19
  setTooltip(tooltip: Boolean): this;
20
+ get type(): String;
18
21
  setType(type: String): this;
19
22
  }
@@ -4,6 +4,7 @@ import { PanelOptionsGeomapLayerConfigStyle } from "./PanelOptionsGeomapLayerCon
4
4
  import type { GenericMetaOptions } from "@gdacm/base-types";
5
5
 
6
6
  export declare class PanelOptionsGeomapLayerConfig extends GrafanaItem {
7
+ get showLegend(): Boolean;
7
8
  setShowLegend(showLegend: Boolean): this;
8
9
  setStyle(style: PanelOptionsGeomapLayerConfigStyle): this;
9
10
  setNewStyle(onNewCreated: ((item: PanelOptionsGeomapLayerConfigStyle) => PanelOptionsGeomapLayerConfigStyle) | undefined): this;
@@ -13,6 +13,7 @@ export declare class PanelOptionsGeomapLayerConfigStyle extends GrafanaItem {
13
13
  setNewColor(onNewCreated: ((item: StyleColor) => StyleColor) | undefined): this;
14
14
  withColor(onWith: (item: StyleColor) => void): this;
15
15
  get color(): StyleColor;
16
+ get opacity(): Number;
16
17
  setOpacity(opacity: Number): this;
17
18
  setRotation(rotation: StyleRotation): this;
18
19
  setNewRotation(onNewCreated: ((item: StyleRotation) => StyleRotation) | undefined): this;
@@ -4,5 +4,6 @@ import { GrafanaItem } from "./GrafanaItem.js";
4
4
  import type { GenericMetaOptions } from "@gdacm/base-types";
5
5
 
6
6
  export declare class PanelOptionsGeomapLayerLocation extends GrafanaItem {
7
+ get mode(): String;
7
8
  setMode(mode: String): this;
8
9
  }
@@ -4,5 +4,6 @@ import { GrafanaItem } from "./GrafanaItem.js";
4
4
  import type { GenericMetaOptions } from "@gdacm/base-types";
5
5
 
6
6
  export declare class PanelOptionsGeomapTooltip extends GrafanaItem {
7
+ get mode(): String;
7
8
  setMode(mode: String): this;
8
9
  }
@@ -4,11 +4,18 @@ import { GrafanaItem } from "./GrafanaItem.js";
4
4
  import type { GenericMetaOptions } from "@gdacm/base-types";
5
5
 
6
6
  export declare class PanelOptionsGeomapView extends GrafanaItem {
7
+ get allLayers(): Boolean;
7
8
  setAllLayers(allLayers: Boolean): this;
9
+ get id(): String;
8
10
  setId(id: String): this;
11
+ get lat(): Number;
9
12
  setLat(lat: Number): this;
13
+ get lon(): Number;
10
14
  setLon(lon: Number): this;
15
+ get noRepeat(): Boolean;
11
16
  setNoRepeat(noRepeat: Boolean): this;
17
+ get shared(): Boolean;
12
18
  setShared(shared: Boolean): this;
19
+ get zoom(): Number;
13
20
  setZoom(zoom: Number): this;
14
21
  }
@@ -13,7 +13,9 @@ export declare class PanelOptionsPieChart extends PanelOptions {
13
13
  setNewLegend(onNewCreated: ((item: PieChartLegendOptions) => PieChartLegendOptions) | undefined): this;
14
14
  withLegend(onWith: (item: PieChartLegendOptions) => void): this;
15
15
  get legend(): PieChartLegendOptions;
16
+ get pieType(): String;
16
17
  setPieType(pieType: String): this;
18
+ get sort(): String;
17
19
  setSort(sort: String): this;
18
20
  setTooltip(tooltip: VizTooltipOptions): this;
19
21
  setNewTooltip(onNewCreated: ((item: VizTooltipOptions) => VizTooltipOptions) | undefined): this;
@@ -4,7 +4,9 @@ import { PanelOptionsTableSortBy } from "./PanelOptionsTableSortBy.js";
4
4
  import type { GenericMetaOptions } from "@gdacm/base-types";
5
5
 
6
6
  export declare class PanelOptionsTable extends PanelOptions {
7
+ get cellHeight(): String;
7
8
  setCellHeight(cellHeight: String): this;
9
+ get showHeader(): Boolean;
8
10
  setShowHeader(showHeader: Boolean): this;
9
11
  initSortBy(): this;
10
12
  get sortBy(): PanelOptionsTableSortBy[];
@@ -4,6 +4,8 @@ import { GrafanaItem } from "./GrafanaItem.js";
4
4
  import type { GenericMetaOptions } from "@gdacm/base-types";
5
5
 
6
6
  export declare class PanelOptionsTableSortBy extends GrafanaItem {
7
+ get desc(): Boolean;
7
8
  setDesc(desc: Boolean): this;
9
+ get displayName(): String;
8
10
  setDisplayName(displayName: String): this;
9
11
  }