@devtable/dashboard 7.17.0 → 7.18.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  import { VizComponent } from '~/types/plugin';
2
2
  import { VersionBasedMigrator } from '~/plugins/plugin-data-migrator';
3
3
  export declare class VizCartesianMigrator extends VersionBasedMigrator {
4
- readonly VERSION = 5;
4
+ readonly VERSION = 7;
5
5
  configVersions(): void;
6
6
  }
7
7
  export declare const CartesianVizComponent: VizComponent;
@@ -10,6 +10,10 @@ interface IReferenceLineField {
10
10
  label: string;
11
11
  value: string;
12
12
  }[];
13
+ yAxisOptions: {
14
+ label: string;
15
+ value: string;
16
+ }[];
13
17
  }
14
- export declare function ReferenceLineField({ control, index, remove, watch, variableOptions }: IReferenceLineField): JSX.Element;
18
+ export declare function ReferenceLineField({ control, index, remove, watch, variableOptions, yAxisOptions, }: IReferenceLineField): JSX.Element;
15
19
  export {};
@@ -61,6 +61,13 @@ export interface ICartesianReferenceLine {
61
61
  template: string;
62
62
  variable_key: string;
63
63
  orientation: 'horizontal' | 'vertical';
64
+ yAxisIndex: number;
65
+ lineStyle: {
66
+ type: 'solid' | 'dashed' | 'dotted';
67
+ width: number;
68
+ color: string;
69
+ };
70
+ show_in_legend: boolean;
64
71
  }
65
72
  export interface ICartesianReferenceArea {
66
73
  name: string;
@@ -10,6 +10,10 @@ interface IReferenceLineField {
10
10
  label: string;
11
11
  value: string;
12
12
  }[];
13
+ yAxisOptions: {
14
+ label: string;
15
+ value: string;
16
+ }[];
13
17
  }
14
- export declare function ReferenceLineField({ control, index, remove, watch, variableOptions }: IReferenceLineField): JSX.Element;
18
+ export declare function ReferenceLineField({ control, index, remove, watch, variableOptions, yAxisOptions, }: IReferenceLineField): JSX.Element;
15
19
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devtable/dashboard",
3
- "version": "7.17.0",
3
+ "version": "7.18.1",
4
4
  "license": "Apache-2.0",
5
5
  "publishConfig": {
6
6
  "access": "public",