@devtable/dashboard 8.23.0 → 8.24.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.
@@ -3,8 +3,10 @@ import { FilterModelInstance } from '../../model';
3
3
  import { IFilterConfig_Checkbox } from '../../model/filters/filter/checkbox';
4
4
  interface IFilterCheckbox extends Omit<FilterModelInstance, 'key' | 'type' | 'config'> {
5
5
  config: IFilterConfig_Checkbox;
6
- value: $TSFixMe;
7
- onChange: (v: $TSFixMe) => void;
6
+ value: boolean;
7
+ onChange: (v: boolean) => void;
8
8
  }
9
- export declare function FilterCheckbox({ label, config: { default_value, ...rest }, value, onChange }: IFilterCheckbox): JSX.Element;
9
+ export declare const FilterCheckbox: (({ label, config: { default_value, description, isDescriptionEmpty, ...rest }, value, onChange, }: IFilterCheckbox) => JSX.Element) & {
10
+ displayName: string;
11
+ };
10
12
  export {};
@@ -1,34 +1,43 @@
1
1
  import { Instance } from 'mobx-state-tree';
2
2
  export declare const FilterConfigModel_Checkbox: import("mobx-state-tree").IModelType<{
3
3
  _name: import("mobx-state-tree").ISimpleType<"checkbox">;
4
+ description: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
4
5
  default_value: import("mobx-state-tree").ISimpleType<boolean>;
5
6
  }, {
6
7
  readonly json: {
7
8
  _name: "checkbox";
8
9
  default_value: boolean;
9
10
  };
11
+ readonly isDescriptionEmpty: boolean;
10
12
  } & {
11
13
  setDefaultValue(default_value: boolean): void;
14
+ setDescription(v: string): void;
12
15
  }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
13
16
  export declare type IFilterConfig_Checkbox = Instance<typeof FilterConfigModel_Checkbox>;
14
17
  export declare const createFilterConfig_Checkbox: () => {
15
18
  _name: "checkbox";
19
+ description: string;
16
20
  default_value: boolean;
17
21
  } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
18
22
  readonly json: {
19
23
  _name: "checkbox";
20
24
  default_value: boolean;
21
25
  };
26
+ readonly isDescriptionEmpty: boolean;
22
27
  } & {
23
28
  setDefaultValue(default_value: boolean): void;
29
+ setDescription(v: string): void;
24
30
  } & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
25
31
  _name: import("mobx-state-tree").ISimpleType<"checkbox">;
32
+ description: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
26
33
  default_value: import("mobx-state-tree").ISimpleType<boolean>;
27
34
  }, {
28
35
  readonly json: {
29
36
  _name: "checkbox";
30
37
  default_value: boolean;
31
38
  };
39
+ readonly isDescriptionEmpty: boolean;
32
40
  } & {
33
41
  setDefaultValue(default_value: boolean): void;
42
+ setDescription(v: string): void;
34
43
  }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devtable/dashboard",
3
- "version": "8.23.0",
3
+ "version": "8.24.1",
4
4
  "license": "Apache-2.0",
5
5
  "publishConfig": {
6
6
  "access": "public",