@devtable/dashboard 6.5.0 → 6.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.
Files changed (55) hide show
  1. package/dist/dashboard.es.js +3622 -3460
  2. package/dist/dashboard.umd.js +19 -18
  3. package/dist/definition-editor/query-editor/editor.d.ts +0 -1
  4. package/dist/definition-editor/query-editor/form.d.ts +0 -1
  5. package/dist/main/use-panel-full-screen.d.ts +1394 -36
  6. package/dist/model/queries/index.d.ts +21 -45
  7. package/dist/model/queries/mute-query.d.ts +3 -1
  8. package/dist/model/queries/query.d.ts +6 -10
  9. package/dist/model/variables/index.d.ts +141 -0
  10. package/dist/model/views/view/index.d.ts +6338 -162
  11. package/dist/model/views/view/panels/index.d.ts +2091 -54
  12. package/dist/model/views/view/panels/panel.d.ts +208 -19
  13. package/dist/panel/index.d.ts +1 -1
  14. package/dist/panel/settings/common/text-array-input.d.ts +4 -0
  15. package/dist/panel/settings/variable-config/model.d.ts +338 -0
  16. package/dist/panel/settings/variable-config/styles.d.ts +5 -0
  17. package/dist/panel/settings/variable-config/variable-config-panel.d.ts +11 -0
  18. package/dist/panel/settings/variable-config/variable-field.d.ts +10 -0
  19. package/dist/plugins/instance-migrator/index.d.ts +2 -0
  20. package/dist/plugins/plugin-context.d.ts +1712 -0
  21. package/dist/plugins/plugin-data-migrator/plugin-data-migrator.d.ts +8 -5
  22. package/dist/plugins/plugin-data-migrator/version-based-migrator.d.ts +5 -5
  23. package/dist/plugins/viz-components/boxplot-chart/index.d.ts +5 -0
  24. package/dist/plugins/viz-components/boxplot-chart/reference-lines/index.d.ts +3 -1
  25. package/dist/plugins/viz-components/boxplot-chart/type.d.ts +0 -2
  26. package/dist/plugins/viz-components/cartesian/index.d.ts +5 -0
  27. package/dist/plugins/viz-components/cartesian/option/index.d.ts +2 -1
  28. package/dist/plugins/viz-components/cartesian/option/series.d.ts +2 -1
  29. package/dist/plugins/viz-components/cartesian/panel/reference-areas/index.d.ts +3 -1
  30. package/dist/plugins/viz-components/cartesian/panel/reference-lines/index.d.ts +3 -1
  31. package/dist/plugins/viz-components/cartesian/panel/scatter-size-select/dynamic-size-function-editor.d.ts +8 -0
  32. package/dist/plugins/viz-components/cartesian/panel/scatter-size-select/dynamic.d.ts +9 -0
  33. package/dist/plugins/viz-components/cartesian/panel/scatter-size-select/get-echarts-symbol-size.d.ts +3 -0
  34. package/dist/plugins/viz-components/cartesian/panel/scatter-size-select/index.d.ts +11 -0
  35. package/dist/plugins/viz-components/cartesian/panel/scatter-size-select/static.d.ts +8 -0
  36. package/dist/plugins/viz-components/cartesian/panel/scatter-size-select/types.d.ts +13 -0
  37. package/dist/plugins/viz-components/cartesian/panel/series/fields.scatter.d.ts +3 -1
  38. package/dist/plugins/viz-components/cartesian/panel/stats/index.d.ts +1 -1
  39. package/dist/plugins/viz-components/cartesian/type.d.ts +2 -4
  40. package/dist/plugins/viz-components/stats/type.d.ts +0 -2
  41. package/dist/plugins/viz-components/stats/update/index.d.ts +1 -1
  42. package/dist/plugins/viz-manager/components.d.ts +3 -0
  43. package/dist/plugins/viz-manager/types.d.ts +1 -1
  44. package/dist/types/dashboard.d.ts +6 -3
  45. package/dist/types/plugin/index.d.ts +11 -2
  46. package/dist/utils/template/render/render-jsx.d.ts +1 -0
  47. package/package.json +2 -1
  48. package/dist/model/views/index.d.ts +0 -21911
  49. package/dist/plugins/viz-components/boxplot-chart/variables/index.d.ts +0 -10
  50. package/dist/plugins/viz-components/boxplot-chart/variables/variable.d.ts +0 -11
  51. package/dist/plugins/viz-components/cartesian/panel/stats/variable.d.ts +0 -11
  52. package/dist/plugins/viz-components/cartesian/panel/variables/index.d.ts +0 -10
  53. package/dist/plugins/viz-components/cartesian/panel/variables/variable.d.ts +0 -11
  54. package/dist/plugins/viz-components/stats/panel/variable.d.ts +0 -11
  55. package/dist/plugins/viz-components/stats/panel/variables.d.ts +0 -10
@@ -2,6 +2,7 @@ import { QueryModelInstance } from './query';
2
2
  export declare const QueriesModel: import("mobx-state-tree").IModelType<{
3
3
  current: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IModelType<{
4
4
  id: import("mobx-state-tree").ISimpleType<string>;
5
+ name: import("mobx-state-tree").ISimpleType<string>;
5
6
  type: import("mobx-state-tree").ISimpleType<import("./types").DataSourceType>;
6
7
  key: import("mobx-state-tree").ISimpleType<string>;
7
8
  sql: import("mobx-state-tree").ISimpleType<string>;
@@ -11,8 +12,9 @@ export declare const QueriesModel: import("mobx-state-tree").IModelType<{
11
12
  error: import("mobx-state-tree").IType<any, any, any>;
12
13
  }, {
13
14
  readonly valid: string;
14
- readonly configurations: {
15
+ readonly json: {
15
16
  id: string;
17
+ name: string;
16
18
  type: import("./types").DataSourceType;
17
19
  key: string;
18
20
  sql: string;
@@ -20,14 +22,7 @@ export declare const QueriesModel: import("mobx-state-tree").IModelType<{
20
22
  } & {
21
23
  readonly formattedSQL: any;
22
24
  } & {
23
- readonly json: {
24
- id: string;
25
- type: import("./types").DataSourceType;
26
- key: string;
27
- sql: string;
28
- };
29
- } & {
30
- setID(id: string): void;
25
+ setName(name: string): void;
31
26
  setKey(key: string): void;
32
27
  setType(type: import("./types").DataSourceType): void;
33
28
  setSQL(sql: string): void;
@@ -39,6 +34,7 @@ export declare const QueriesModel: import("mobx-state-tree").IModelType<{
39
34
  readonly firstID: string | undefined;
40
35
  findByID(id: string): ({
41
36
  id: string;
37
+ name: string;
42
38
  type: import("./types").DataSourceType;
43
39
  key: string;
44
40
  sql: string;
@@ -47,8 +43,9 @@ export declare const QueriesModel: import("mobx-state-tree").IModelType<{
47
43
  error: any;
48
44
  } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
49
45
  readonly valid: string;
50
- readonly configurations: {
46
+ readonly json: {
51
47
  id: string;
48
+ name: string;
52
49
  type: import("./types").DataSourceType;
53
50
  key: string;
54
51
  sql: string;
@@ -56,14 +53,7 @@ export declare const QueriesModel: import("mobx-state-tree").IModelType<{
56
53
  } & {
57
54
  readonly formattedSQL: any;
58
55
  } & {
59
- readonly json: {
60
- id: string;
61
- type: import("./types").DataSourceType;
62
- key: string;
63
- sql: string;
64
- };
65
- } & {
66
- setID(id: string): void;
56
+ setName(name: string): void;
67
57
  setKey(key: string): void;
68
58
  setType(type: import("./types").DataSourceType): void;
69
59
  setSQL(sql: string): void;
@@ -72,6 +62,7 @@ export declare const QueriesModel: import("mobx-state-tree").IModelType<{
72
62
  afterCreate(): void;
73
63
  } & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
74
64
  id: import("mobx-state-tree").ISimpleType<string>;
65
+ name: import("mobx-state-tree").ISimpleType<string>;
75
66
  type: import("mobx-state-tree").ISimpleType<import("./types").DataSourceType>;
76
67
  key: import("mobx-state-tree").ISimpleType<string>;
77
68
  sql: import("mobx-state-tree").ISimpleType<string>;
@@ -81,8 +72,9 @@ export declare const QueriesModel: import("mobx-state-tree").IModelType<{
81
72
  error: import("mobx-state-tree").IType<any, any, any>;
82
73
  }, {
83
74
  readonly valid: string;
84
- readonly configurations: {
75
+ readonly json: {
85
76
  id: string;
77
+ name: string;
86
78
  type: import("./types").DataSourceType;
87
79
  key: string;
88
80
  sql: string;
@@ -90,14 +82,7 @@ export declare const QueriesModel: import("mobx-state-tree").IModelType<{
90
82
  } & {
91
83
  readonly formattedSQL: any;
92
84
  } & {
93
- readonly json: {
94
- id: string;
95
- type: import("./types").DataSourceType;
96
- key: string;
97
- sql: string;
98
- };
99
- } & {
100
- setID(id: string): void;
85
+ setName(name: string): void;
101
86
  setKey(key: string): void;
102
87
  setType(type: import("./types").DataSourceType): void;
103
88
  setSQL(sql: string): void;
@@ -112,6 +97,7 @@ export declare const QueriesModel: import("mobx-state-tree").IModelType<{
112
97
  } & {
113
98
  readonly json: {
114
99
  id: string;
100
+ name: string;
115
101
  type: import("./types").DataSourceType;
116
102
  key: string;
117
103
  sql: string;
@@ -124,6 +110,7 @@ export declare const QueriesModel: import("mobx-state-tree").IModelType<{
124
110
  downloadAllData(): void;
125
111
  downloadDataByQueryID(query?: ({
126
112
  id: string;
113
+ name: string;
127
114
  type: import("./types").DataSourceType;
128
115
  key: string;
129
116
  sql: string;
@@ -132,8 +119,9 @@ export declare const QueriesModel: import("mobx-state-tree").IModelType<{
132
119
  error: any;
133
120
  } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
134
121
  readonly valid: string;
135
- readonly configurations: {
122
+ readonly json: {
136
123
  id: string;
124
+ name: string;
137
125
  type: import("./types").DataSourceType;
138
126
  key: string;
139
127
  sql: string;
@@ -141,14 +129,7 @@ export declare const QueriesModel: import("mobx-state-tree").IModelType<{
141
129
  } & {
142
130
  readonly formattedSQL: any;
143
131
  } & {
144
- readonly json: {
145
- id: string;
146
- type: import("./types").DataSourceType;
147
- key: string;
148
- sql: string;
149
- };
150
- } & {
151
- setID(id: string): void;
132
+ setName(name: string): void;
152
133
  setKey(key: string): void;
153
134
  setType(type: import("./types").DataSourceType): void;
154
135
  setSQL(sql: string): void;
@@ -157,6 +138,7 @@ export declare const QueriesModel: import("mobx-state-tree").IModelType<{
157
138
  afterCreate(): void;
158
139
  } & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
159
140
  id: import("mobx-state-tree").ISimpleType<string>;
141
+ name: import("mobx-state-tree").ISimpleType<string>;
160
142
  type: import("mobx-state-tree").ISimpleType<import("./types").DataSourceType>;
161
143
  key: import("mobx-state-tree").ISimpleType<string>;
162
144
  sql: import("mobx-state-tree").ISimpleType<string>;
@@ -166,8 +148,9 @@ export declare const QueriesModel: import("mobx-state-tree").IModelType<{
166
148
  error: import("mobx-state-tree").IType<any, any, any>;
167
149
  }, {
168
150
  readonly valid: string;
169
- readonly configurations: {
151
+ readonly json: {
170
152
  id: string;
153
+ name: string;
171
154
  type: import("./types").DataSourceType;
172
155
  key: string;
173
156
  sql: string;
@@ -175,14 +158,7 @@ export declare const QueriesModel: import("mobx-state-tree").IModelType<{
175
158
  } & {
176
159
  readonly formattedSQL: any;
177
160
  } & {
178
- readonly json: {
179
- id: string;
180
- type: import("./types").DataSourceType;
181
- key: string;
182
- sql: string;
183
- };
184
- } & {
185
- setID(id: string): void;
161
+ setName(name: string): void;
186
162
  setKey(key: string): void;
187
163
  setType(type: import("./types").DataSourceType): void;
188
164
  setSQL(sql: string): void;
@@ -2,13 +2,15 @@ import { Instance } from 'mobx-state-tree';
2
2
  import { DataSourceType } from './types';
3
3
  export declare const MuteQueryModel: import("mobx-state-tree").IModelType<{
4
4
  id: import("mobx-state-tree").ISimpleType<string>;
5
+ name: import("mobx-state-tree").ISimpleType<string>;
5
6
  type: import("mobx-state-tree").ISimpleType<DataSourceType>;
6
7
  key: import("mobx-state-tree").ISimpleType<string>;
7
8
  sql: import("mobx-state-tree").ISimpleType<string>;
8
9
  }, {
9
10
  readonly valid: string;
10
- readonly configurations: {
11
+ readonly json: {
11
12
  id: string;
13
+ name: string;
12
14
  type: DataSourceType;
13
15
  key: string;
14
16
  sql: string;
@@ -1,7 +1,8 @@
1
- import { Instance } from 'mobx-state-tree';
1
+ import { Instance, SnapshotIn } from 'mobx-state-tree';
2
2
  import { DataSourceType } from './types';
3
3
  export declare const QueryModel: import("mobx-state-tree").IModelType<{
4
4
  id: import("mobx-state-tree").ISimpleType<string>;
5
+ name: import("mobx-state-tree").ISimpleType<string>;
5
6
  type: import("mobx-state-tree").ISimpleType<DataSourceType>;
6
7
  key: import("mobx-state-tree").ISimpleType<string>;
7
8
  sql: import("mobx-state-tree").ISimpleType<string>;
@@ -11,8 +12,9 @@ export declare const QueryModel: import("mobx-state-tree").IModelType<{
11
12
  error: import("mobx-state-tree").IType<any, any, any>;
12
13
  }, {
13
14
  readonly valid: string;
14
- readonly configurations: {
15
+ readonly json: {
15
16
  id: string;
17
+ name: string;
16
18
  type: DataSourceType;
17
19
  key: string;
18
20
  sql: string;
@@ -20,14 +22,7 @@ export declare const QueryModel: import("mobx-state-tree").IModelType<{
20
22
  } & {
21
23
  readonly formattedSQL: any;
22
24
  } & {
23
- readonly json: {
24
- id: string;
25
- type: DataSourceType;
26
- key: string;
27
- sql: string;
28
- };
29
- } & {
30
- setID(id: string): void;
25
+ setName(name: string): void;
31
26
  setKey(key: string): void;
32
27
  setType(type: DataSourceType): void;
33
28
  setSQL(sql: string): void;
@@ -36,3 +31,4 @@ export declare const QueryModel: import("mobx-state-tree").IModelType<{
36
31
  afterCreate(): void;
37
32
  }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
38
33
  export declare type QueryModelInstance = Instance<typeof QueryModel>;
34
+ export declare type QueryModelSnapshotIn = SnapshotIn<QueryModelInstance>;
@@ -0,0 +1,141 @@
1
+ import { IAnyStateTreeNode, SnapshotIn } from 'mobx-state-tree';
2
+ export declare const VariableModel: import("mobx-state-tree").IModelType<{
3
+ name: import("mobx-state-tree").ISimpleType<string>;
4
+ size: import("mobx-state-tree").ISimpleType<string>;
5
+ weight: import("mobx-state-tree").ISimpleType<string>;
6
+ color: import("mobx-state-tree").ITypeUnion<import("mobx-state-tree").ModelCreationType<import("mobx-state-tree/dist/internal").ExtractCFromProps<{
7
+ type: import("mobx-state-tree").ISimpleType<"static">;
8
+ staticColor: import("mobx-state-tree").ISimpleType<string>;
9
+ }>> | import("mobx-state-tree").ModelCreationType<import("mobx-state-tree/dist/internal").ExtractCFromProps<{
10
+ type: import("mobx-state-tree").ISimpleType<"continuous">;
11
+ valueRange: import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<number>>;
12
+ colorRange: import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>;
13
+ }>> | import("mobx-state-tree").ModelCreationType<import("mobx-state-tree/dist/internal").ExtractCFromProps<{
14
+ type: import("mobx-state-tree").ISimpleType<"piecewise">;
15
+ }>>, import("mobx-state-tree").ModelSnapshotType<{
16
+ type: import("mobx-state-tree").ISimpleType<"static">;
17
+ staticColor: import("mobx-state-tree").ISimpleType<string>;
18
+ }> | import("mobx-state-tree").ModelSnapshotType<{
19
+ type: import("mobx-state-tree").ISimpleType<"continuous">;
20
+ valueRange: import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<number>>;
21
+ colorRange: import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>;
22
+ }> | import("mobx-state-tree").ModelSnapshotType<{
23
+ type: import("mobx-state-tree").ISimpleType<"piecewise">;
24
+ }>, import("mobx-state-tree").ModelInstanceType<{
25
+ type: import("mobx-state-tree").ISimpleType<"static">;
26
+ staticColor: import("mobx-state-tree").ISimpleType<string>;
27
+ }, {}> | import("mobx-state-tree").ModelInstanceType<{
28
+ type: import("mobx-state-tree").ISimpleType<"continuous">;
29
+ valueRange: import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<number>>;
30
+ colorRange: import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>;
31
+ }, {}> | import("mobx-state-tree").ModelInstanceType<{
32
+ type: import("mobx-state-tree").ISimpleType<"piecewise">;
33
+ }, {}>>;
34
+ formatter: import("mobx-state-tree").IModelType<{
35
+ output: import("mobx-state-tree").ISimpleType<"number" | "percent">;
36
+ mantissa: import("mobx-state-tree").ISimpleType<number>;
37
+ average: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
38
+ trimMantissa: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
39
+ }, {}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
40
+ data_field: import("mobx-state-tree").ISimpleType<string>;
41
+ aggregation: import("mobx-state-tree").ITypeUnion<import("mobx-state-tree").ModelCreationType<import("mobx-state-tree/dist/internal").ExtractCFromProps<{
42
+ type: import("mobx-state-tree").ISimpleType<"none" | "sum" | "mean" | "median" | "min" | "max">;
43
+ config: import("mobx-state-tree").IType<any, any, any>;
44
+ }>> | import("mobx-state-tree").ModelCreationType<import("mobx-state-tree/dist/internal").ExtractCFromProps<{
45
+ type: import("mobx-state-tree").ISimpleType<"quantile">;
46
+ config: import("mobx-state-tree").IModelType<{
47
+ p: import("mobx-state-tree").ISimpleType<number>;
48
+ }, {}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
49
+ }>>, import("mobx-state-tree").ModelSnapshotType<{
50
+ type: import("mobx-state-tree").ISimpleType<"none" | "sum" | "mean" | "median" | "min" | "max">;
51
+ config: import("mobx-state-tree").IType<any, any, any>;
52
+ }> | import("mobx-state-tree").ModelSnapshotType<{
53
+ type: import("mobx-state-tree").ISimpleType<"quantile">;
54
+ config: import("mobx-state-tree").IModelType<{
55
+ p: import("mobx-state-tree").ISimpleType<number>;
56
+ }, {}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
57
+ }>, import("mobx-state-tree").ModelInstanceType<{
58
+ type: import("mobx-state-tree").ISimpleType<"none" | "sum" | "mean" | "median" | "min" | "max">;
59
+ config: import("mobx-state-tree").IType<any, any, any>;
60
+ }, {}> | import("mobx-state-tree").ModelInstanceType<{
61
+ type: import("mobx-state-tree").ISimpleType<"quantile">;
62
+ config: import("mobx-state-tree").IModelType<{
63
+ p: import("mobx-state-tree").ISimpleType<number>;
64
+ }, {}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
65
+ }, {}>>;
66
+ }, {
67
+ readonly json: import("mobx-state-tree").ModelSnapshotType<{
68
+ name: import("mobx-state-tree").ISimpleType<string>;
69
+ size: import("mobx-state-tree").ISimpleType<string>;
70
+ weight: import("mobx-state-tree").ISimpleType<string>;
71
+ color: import("mobx-state-tree").ITypeUnion<import("mobx-state-tree").ModelCreationType<import("mobx-state-tree/dist/internal").ExtractCFromProps<{
72
+ type: import("mobx-state-tree").ISimpleType<"static">;
73
+ staticColor: import("mobx-state-tree").ISimpleType<string>;
74
+ }>> | import("mobx-state-tree").ModelCreationType<import("mobx-state-tree/dist/internal").ExtractCFromProps<{
75
+ type: import("mobx-state-tree").ISimpleType<"continuous">;
76
+ valueRange: import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<number>>;
77
+ colorRange: import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>;
78
+ }>> | import("mobx-state-tree").ModelCreationType<import("mobx-state-tree/dist/internal").ExtractCFromProps<{
79
+ type: import("mobx-state-tree").ISimpleType<"piecewise">;
80
+ }>>, import("mobx-state-tree").ModelSnapshotType<{
81
+ type: import("mobx-state-tree").ISimpleType<"static">;
82
+ staticColor: import("mobx-state-tree").ISimpleType<string>;
83
+ }> | import("mobx-state-tree").ModelSnapshotType<{
84
+ type: import("mobx-state-tree").ISimpleType<"continuous">;
85
+ valueRange: import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<number>>;
86
+ colorRange: import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>;
87
+ }> | import("mobx-state-tree").ModelSnapshotType<{
88
+ type: import("mobx-state-tree").ISimpleType<"piecewise">;
89
+ }>, import("mobx-state-tree").ModelInstanceType<{
90
+ type: import("mobx-state-tree").ISimpleType<"static">;
91
+ staticColor: import("mobx-state-tree").ISimpleType<string>;
92
+ }, {}> | import("mobx-state-tree").ModelInstanceType<{
93
+ type: import("mobx-state-tree").ISimpleType<"continuous">;
94
+ valueRange: import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<number>>;
95
+ colorRange: import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>;
96
+ }, {}> | import("mobx-state-tree").ModelInstanceType<{
97
+ type: import("mobx-state-tree").ISimpleType<"piecewise">;
98
+ }, {}>>;
99
+ formatter: import("mobx-state-tree").IModelType<{
100
+ output: import("mobx-state-tree").ISimpleType<"number" | "percent">;
101
+ mantissa: import("mobx-state-tree").ISimpleType<number>;
102
+ average: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
103
+ trimMantissa: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
104
+ }, {}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
105
+ data_field: import("mobx-state-tree").ISimpleType<string>;
106
+ aggregation: import("mobx-state-tree").ITypeUnion<import("mobx-state-tree").ModelCreationType<import("mobx-state-tree/dist/internal").ExtractCFromProps<{
107
+ type: import("mobx-state-tree").ISimpleType<"none" | "sum" | "mean" | "median" | "min" | "max">;
108
+ config: import("mobx-state-tree").IType<any, any, any>;
109
+ }>> | import("mobx-state-tree").ModelCreationType<import("mobx-state-tree/dist/internal").ExtractCFromProps<{
110
+ type: import("mobx-state-tree").ISimpleType<"quantile">;
111
+ config: import("mobx-state-tree").IModelType<{
112
+ p: import("mobx-state-tree").ISimpleType<number>;
113
+ }, {}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
114
+ }>>, import("mobx-state-tree").ModelSnapshotType<{
115
+ type: import("mobx-state-tree").ISimpleType<"none" | "sum" | "mean" | "median" | "min" | "max">;
116
+ config: import("mobx-state-tree").IType<any, any, any>;
117
+ }> | import("mobx-state-tree").ModelSnapshotType<{
118
+ type: import("mobx-state-tree").ISimpleType<"quantile">;
119
+ config: import("mobx-state-tree").IModelType<{
120
+ p: import("mobx-state-tree").ISimpleType<number>;
121
+ }, {}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
122
+ }>, import("mobx-state-tree").ModelInstanceType<{
123
+ type: import("mobx-state-tree").ISimpleType<"none" | "sum" | "mean" | "median" | "min" | "max">;
124
+ config: import("mobx-state-tree").IType<any, any, any>;
125
+ }, {}> | import("mobx-state-tree").ModelInstanceType<{
126
+ type: import("mobx-state-tree").ISimpleType<"quantile">;
127
+ config: import("mobx-state-tree").IModelType<{
128
+ p: import("mobx-state-tree").ISimpleType<number>;
129
+ }, {}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
130
+ }, {}>>;
131
+ }>;
132
+ }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
133
+ export declare class DraftModel<T extends IAnyStateTreeNode> {
134
+ origin: T;
135
+ copy: T;
136
+ constructor(state: T);
137
+ get changed(): boolean;
138
+ commit(): void;
139
+ update(patch: SnapshotIn<T>): void;
140
+ }
141
+ export declare const createDraft: <T extends IAnyStateTreeNode>(origin: T) => DraftModel<T>;