@devtable/dashboard 8.21.0 → 8.22.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.
@@ -46,9 +46,13 @@ export declare const FilterConfigModel_MultiSelect: import("mobx-state-tree").IM
46
46
  options_query_id: string;
47
47
  default_selection_count: number;
48
48
  };
49
+ readonly default_selection: any;
49
50
  } & {
50
51
  setDefaultValue(default_value: string[]): void;
51
52
  setMinWidth(v: string): void;
53
+ setDefaultSelection(): void;
54
+ } & {
55
+ afterCreate(): void;
52
56
  }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
53
57
  export declare type IFilterConfig_MultiSelect = Instance<typeof FilterConfigModel_MultiSelect>;
54
58
  export declare const createFilterConfig_MultiSelect: () => {
@@ -103,9 +107,13 @@ export declare const createFilterConfig_MultiSelect: () => {
103
107
  options_query_id: string;
104
108
  default_selection_count: number;
105
109
  };
110
+ readonly default_selection: any;
106
111
  } & {
107
112
  setDefaultValue(default_value: string[]): void;
108
113
  setMinWidth(v: string): void;
114
+ setDefaultSelection(): void;
115
+ } & {
116
+ afterCreate(): void;
109
117
  } & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
110
118
  _name: import("mobx-state-tree").ISimpleType<"multi-select">;
111
119
  min_width: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
@@ -153,7 +161,11 @@ export declare const createFilterConfig_MultiSelect: () => {
153
161
  options_query_id: string;
154
162
  default_selection_count: number;
155
163
  };
164
+ readonly default_selection: any;
156
165
  } & {
157
166
  setDefaultValue(default_value: string[]): void;
158
167
  setMinWidth(v: string): void;
168
+ setDefaultSelection(): void;
169
+ } & {
170
+ afterCreate(): void;
159
171
  }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
@@ -1,7 +1,7 @@
1
1
  import { VersionBasedMigrator } from '~/plugins/plugin-data-migrator';
2
2
  import { VizComponent } from '~/types/plugin';
3
3
  export declare class VizCartesianMigrator extends VersionBasedMigrator {
4
- readonly VERSION = 10;
4
+ readonly VERSION = 11;
5
5
  configVersions(): void;
6
6
  }
7
7
  export declare const CartesianVizComponent: VizComponent;
@@ -1,9 +1,10 @@
1
1
  /// <reference types="react" />
2
2
  import { Control } from 'react-hook-form';
3
- import { ICartesianChartConf } from '../../type';
3
+ import { ICartesianChartConf, ICartesianChartSeriesItem } from '../../type';
4
4
  interface IBarFields {
5
5
  control: Control<ICartesianChartConf, $TSFixMe>;
6
6
  index: number;
7
+ seriesItem: ICartesianChartSeriesItem;
7
8
  }
8
- export declare function BarFields({ control, index }: IBarFields): JSX.Element;
9
+ export declare function BarFields({ control, index, seriesItem }: IBarFields): JSX.Element;
9
10
  export {};
@@ -15,7 +15,9 @@ export interface ICartesianChartSeriesItem {
15
15
  label_position?: string;
16
16
  stack: string;
17
17
  color?: string;
18
+ barMinWidth: string;
18
19
  barWidth: string;
20
+ barMaxWidth: string;
19
21
  barGap?: string;
20
22
  smooth: boolean;
21
23
  step: false | 'start' | 'middle' | 'end';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devtable/dashboard",
3
- "version": "8.21.0",
3
+ "version": "8.22.0",
4
4
  "license": "Apache-2.0",
5
5
  "publishConfig": {
6
6
  "access": "public",