@devtable/dashboard 10.25.1 → 10.27.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 (28) hide show
  1. package/dist/components/panel/panel-render/full-screen-render/use-panel-full-screen.d.ts +8 -0
  2. package/dist/components/plugins/plugin-context.d.ts +8 -0
  3. package/dist/components/view/view-component/preview/index.d.ts +2 -2
  4. package/dist/components/view/view-component/preview/tabs.d.ts +2 -2
  5. package/dist/components/view/view-component/render/index.d.ts +2 -2
  6. package/dist/components/view/view-component/render/tabs.d.ts +2 -2
  7. package/dist/components/view/view-editor.d.ts +2 -2
  8. package/dist/components/view/view-render.d.ts +2 -2
  9. package/dist/contexts/panel-context.d.ts +16 -0
  10. package/dist/dashboard-editor/model/filters/index.d.ts +7 -0
  11. package/dist/dashboard-editor/model/panels/panel.d.ts +4 -0
  12. package/dist/dashboard-editor/model/panels/panels.d.ts +32 -0
  13. package/dist/dashboard-editor/model/queries/index.d.ts +13 -0
  14. package/dist/dashboard-editor/model/views/index.d.ts +100 -5
  15. package/dist/dashboard.es.js +3395 -3311
  16. package/dist/dashboard.umd.js +62 -62
  17. package/dist/model/meta-model/dashboard/content/filter/filter.d.ts +1 -0
  18. package/dist/model/render-model/dashboard/content/filters/filters.d.ts +7 -0
  19. package/dist/model/render-model/dashboard/content/panels/panel.d.ts +4 -0
  20. package/dist/model/render-model/dashboard/content/panels/panels.d.ts +28 -0
  21. package/dist/model/render-model/dashboard/content/queries/mute-query.d.ts +2 -0
  22. package/dist/model/render-model/dashboard/content/queries/queries.d.ts +13 -0
  23. package/dist/model/render-model/dashboard/content/queries/query.d.ts +2 -0
  24. package/dist/model/render-model/dashboard/content/views/index.d.ts +1 -0
  25. package/dist/model/render-model/dashboard/content/views/view.d.ts +232 -0
  26. package/dist/model/render-model/dashboard/content/views/views.d.ts +74 -0
  27. package/dist/stats.html +1 -1
  28. package/package.json +1 -1
@@ -85,6 +85,7 @@ export declare const FilterMeta: import("mobx-state-tree").IModelType<{
85
85
  auto_submit: boolean;
86
86
  visibleInViewsIDs: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>>;
87
87
  };
88
+ readonly visibleInViewsIDSet: Set<string>;
88
89
  readonly should_auto_submit: boolean;
89
90
  requiredAndPass(value: any): any;
90
91
  } & {
@@ -86,6 +86,7 @@ export declare const FiltersRenderModel: import("mobx-state-tree").IModelType<{
86
86
  auto_submit: boolean;
87
87
  visibleInViewsIDs: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>>;
88
88
  };
89
+ readonly visibleInViewsIDSet: Set<string>;
89
90
  readonly should_auto_submit: boolean;
90
91
  requiredAndPass(value: any): any;
91
92
  } & {
@@ -133,6 +134,7 @@ export declare const FiltersRenderModel: import("mobx-state-tree").IModelType<{
133
134
  auto_submit: boolean;
134
135
  visibleInViewsIDs: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>>;
135
136
  };
137
+ readonly visibleInViewsIDSet: Set<string>;
136
138
  readonly should_auto_submit: boolean;
137
139
  requiredAndPass(value: any): any;
138
140
  } & {
@@ -227,6 +229,7 @@ export declare const FiltersRenderModel: import("mobx-state-tree").IModelType<{
227
229
  auto_submit: boolean;
228
230
  visibleInViewsIDs: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>>;
229
231
  };
232
+ readonly visibleInViewsIDSet: Set<string>;
230
233
  readonly should_auto_submit: boolean;
231
234
  requiredAndPass(value: any): any;
232
235
  } & {
@@ -261,6 +264,7 @@ export declare const FiltersRenderModel: import("mobx-state-tree").IModelType<{
261
264
  auto_submit: boolean;
262
265
  visibleInViewsIDs: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>>;
263
266
  };
267
+ readonly visibleInViewsIDSet: Set<string>;
264
268
  readonly should_auto_submit: boolean;
265
269
  requiredAndPass(value: any): any;
266
270
  } & {
@@ -355,6 +359,7 @@ export declare const FiltersRenderModel: import("mobx-state-tree").IModelType<{
355
359
  auto_submit: boolean;
356
360
  visibleInViewsIDs: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>>;
357
361
  };
362
+ readonly visibleInViewsIDSet: Set<string>;
358
363
  readonly should_auto_submit: boolean;
359
364
  requiredAndPass(value: any): any;
360
365
  } & {
@@ -390,6 +395,7 @@ export declare const FiltersRenderModel: import("mobx-state-tree").IModelType<{
390
395
  auto_submit: boolean;
391
396
  visibleInViewsIDs: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>>;
392
397
  };
398
+ readonly visibleInViewsIDSet: Set<string>;
393
399
  readonly should_auto_submit: boolean;
394
400
  requiredAndPass(value: any): any;
395
401
  } & {
@@ -484,6 +490,7 @@ export declare const FiltersRenderModel: import("mobx-state-tree").IModelType<{
484
490
  auto_submit: boolean;
485
491
  visibleInViewsIDs: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>>;
486
492
  };
493
+ readonly visibleInViewsIDSet: Set<string>;
487
494
  readonly should_auto_submit: boolean;
488
495
  requiredAndPass(value: any): any;
489
496
  } & {
@@ -1591,6 +1591,8 @@ export declare const PanelRenderModel: import("mobx-state-tree").IModelType<{
1591
1591
  context: string[];
1592
1592
  filters: any[];
1593
1593
  };
1594
+ readonly queries: any;
1595
+ readonly inUse: any;
1594
1596
  } & {
1595
1597
  readonly formattedSQL: any;
1596
1598
  readonly typedAsSQL: boolean;
@@ -1655,6 +1657,8 @@ export declare const PanelRenderModel: import("mobx-state-tree").IModelType<{
1655
1657
  context: string[];
1656
1658
  filters: any[];
1657
1659
  };
1660
+ readonly queries: any;
1661
+ readonly inUse: any;
1658
1662
  } & {
1659
1663
  readonly formattedSQL: any;
1660
1664
  readonly typedAsSQL: boolean;
@@ -1592,6 +1592,8 @@ export declare const PanelsRenderModel: import("mobx-state-tree").IModelType<{
1592
1592
  context: string[];
1593
1593
  filters: any[];
1594
1594
  };
1595
+ readonly queries: any;
1596
+ readonly inUse: any;
1595
1597
  } & {
1596
1598
  readonly formattedSQL: any;
1597
1599
  readonly typedAsSQL: boolean;
@@ -1656,6 +1658,8 @@ export declare const PanelsRenderModel: import("mobx-state-tree").IModelType<{
1656
1658
  context: string[];
1657
1659
  filters: any[];
1658
1660
  };
1661
+ readonly queries: any;
1662
+ readonly inUse: any;
1659
1663
  } & {
1660
1664
  readonly formattedSQL: any;
1661
1665
  readonly typedAsSQL: boolean;
@@ -3921,6 +3925,8 @@ export declare const PanelsRenderModel: import("mobx-state-tree").IModelType<{
3921
3925
  context: string[];
3922
3926
  filters: any[];
3923
3927
  };
3928
+ readonly queries: any;
3929
+ readonly inUse: any;
3924
3930
  } & {
3925
3931
  readonly formattedSQL: any;
3926
3932
  readonly typedAsSQL: boolean;
@@ -3985,6 +3991,8 @@ export declare const PanelsRenderModel: import("mobx-state-tree").IModelType<{
3985
3991
  context: string[];
3986
3992
  filters: any[];
3987
3993
  };
3994
+ readonly queries: any;
3995
+ readonly inUse: any;
3988
3996
  } & {
3989
3997
  readonly formattedSQL: any;
3990
3998
  readonly typedAsSQL: boolean;
@@ -5604,6 +5612,8 @@ export declare const PanelsRenderModel: import("mobx-state-tree").IModelType<{
5604
5612
  context: string[];
5605
5613
  filters: any[];
5606
5614
  };
5615
+ readonly queries: any;
5616
+ readonly inUse: any;
5607
5617
  } & {
5608
5618
  readonly formattedSQL: any;
5609
5619
  readonly typedAsSQL: boolean;
@@ -5668,6 +5678,8 @@ export declare const PanelsRenderModel: import("mobx-state-tree").IModelType<{
5668
5678
  context: string[];
5669
5679
  filters: any[];
5670
5680
  };
5681
+ readonly queries: any;
5682
+ readonly inUse: any;
5671
5683
  } & {
5672
5684
  readonly formattedSQL: any;
5673
5685
  readonly typedAsSQL: boolean;
@@ -7666,6 +7678,8 @@ export declare const PanelsRenderModel: import("mobx-state-tree").IModelType<{
7666
7678
  context: string[];
7667
7679
  filters: any[];
7668
7680
  };
7681
+ readonly queries: any;
7682
+ readonly inUse: any;
7669
7683
  } & {
7670
7684
  readonly formattedSQL: any;
7671
7685
  readonly typedAsSQL: boolean;
@@ -7730,6 +7744,8 @@ export declare const PanelsRenderModel: import("mobx-state-tree").IModelType<{
7730
7744
  context: string[];
7731
7745
  filters: any[];
7732
7746
  };
7747
+ readonly queries: any;
7748
+ readonly inUse: any;
7733
7749
  } & {
7734
7750
  readonly formattedSQL: any;
7735
7751
  readonly typedAsSQL: boolean;
@@ -9349,6 +9365,8 @@ export declare const PanelsRenderModel: import("mobx-state-tree").IModelType<{
9349
9365
  context: string[];
9350
9366
  filters: any[];
9351
9367
  };
9368
+ readonly queries: any;
9369
+ readonly inUse: any;
9352
9370
  } & {
9353
9371
  readonly formattedSQL: any;
9354
9372
  readonly typedAsSQL: boolean;
@@ -9413,6 +9431,8 @@ export declare const PanelsRenderModel: import("mobx-state-tree").IModelType<{
9413
9431
  context: string[];
9414
9432
  filters: any[];
9415
9433
  };
9434
+ readonly queries: any;
9435
+ readonly inUse: any;
9416
9436
  } & {
9417
9437
  readonly formattedSQL: any;
9418
9438
  readonly typedAsSQL: boolean;
@@ -11413,6 +11433,8 @@ export declare const PanelsRenderModel: import("mobx-state-tree").IModelType<{
11413
11433
  context: string[];
11414
11434
  filters: any[];
11415
11435
  };
11436
+ readonly queries: any;
11437
+ readonly inUse: any;
11416
11438
  } & {
11417
11439
  readonly formattedSQL: any;
11418
11440
  readonly typedAsSQL: boolean;
@@ -11477,6 +11499,8 @@ export declare const PanelsRenderModel: import("mobx-state-tree").IModelType<{
11477
11499
  context: string[];
11478
11500
  filters: any[];
11479
11501
  };
11502
+ readonly queries: any;
11503
+ readonly inUse: any;
11480
11504
  } & {
11481
11505
  readonly formattedSQL: any;
11482
11506
  readonly typedAsSQL: boolean;
@@ -13096,6 +13120,8 @@ export declare const PanelsRenderModel: import("mobx-state-tree").IModelType<{
13096
13120
  context: string[];
13097
13121
  filters: any[];
13098
13122
  };
13123
+ readonly queries: any;
13124
+ readonly inUse: any;
13099
13125
  } & {
13100
13126
  readonly formattedSQL: any;
13101
13127
  readonly typedAsSQL: boolean;
@@ -13160,6 +13186,8 @@ export declare const PanelsRenderModel: import("mobx-state-tree").IModelType<{
13160
13186
  context: string[];
13161
13187
  filters: any[];
13162
13188
  };
13189
+ readonly queries: any;
13190
+ readonly inUse: any;
13163
13191
  } & {
13164
13192
  readonly formattedSQL: any;
13165
13193
  readonly typedAsSQL: boolean;
@@ -42,5 +42,7 @@ export declare const MuteQueryModel: import("mobx-state-tree").IModelType<{
42
42
  context: string[];
43
43
  filters: any[];
44
44
  };
45
+ readonly queries: any;
46
+ readonly inUse: any;
45
47
  }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
46
48
  export declare type MuteQueryModelInstance = Instance<typeof MuteQueryModel>;
@@ -47,6 +47,8 @@ export declare const QueriesRenderModel: import("mobx-state-tree").IModelType<{
47
47
  context: string[];
48
48
  filters: any[];
49
49
  };
50
+ readonly queries: any;
51
+ readonly inUse: any;
50
52
  } & {
51
53
  readonly formattedSQL: any;
52
54
  readonly typedAsSQL: boolean;
@@ -113,6 +115,8 @@ export declare const QueriesRenderModel: import("mobx-state-tree").IModelType<{
113
115
  context: string[];
114
116
  filters: any[];
115
117
  };
118
+ readonly queries: any;
119
+ readonly inUse: any;
116
120
  } & {
117
121
  readonly formattedSQL: any;
118
122
  readonly typedAsSQL: boolean;
@@ -177,6 +181,8 @@ export declare const QueriesRenderModel: import("mobx-state-tree").IModelType<{
177
181
  context: string[];
178
182
  filters: any[];
179
183
  };
184
+ readonly queries: any;
185
+ readonly inUse: any;
180
186
  } & {
181
187
  readonly formattedSQL: any;
182
188
  readonly typedAsSQL: boolean;
@@ -241,6 +247,8 @@ export declare const QueriesRenderModel: import("mobx-state-tree").IModelType<{
241
247
  context: string[];
242
248
  filters: any[];
243
249
  };
250
+ readonly queries: any;
251
+ readonly inUse: any;
244
252
  } & {
245
253
  readonly formattedSQL: any;
246
254
  readonly typedAsSQL: boolean;
@@ -305,6 +313,8 @@ export declare const QueriesRenderModel: import("mobx-state-tree").IModelType<{
305
313
  context: string[];
306
314
  filters: any[];
307
315
  };
316
+ readonly queries: any;
317
+ readonly inUse: any;
308
318
  } & {
309
319
  readonly formattedSQL: any;
310
320
  readonly typedAsSQL: boolean;
@@ -335,6 +345,9 @@ export declare const QueriesRenderModel: import("mobx-state-tree").IModelType<{
335
345
  pre_process: string;
336
346
  post_process: string;
337
347
  }[];
348
+ readonly contentModel: import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyStateTreeNode> | (object & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyComplexType>);
349
+ readonly visibleQueryIDSet: Set<string>;
350
+ isQueryInUse(queryID: string): boolean;
338
351
  } & {
339
352
  downloadAllData(): void;
340
353
  downloadDataByQueryIDs(ids: string[]): void;
@@ -46,6 +46,8 @@ export declare const QueryRenderModel: import("mobx-state-tree").IModelType<{
46
46
  context: string[];
47
47
  filters: any[];
48
48
  };
49
+ readonly queries: any;
50
+ readonly inUse: any;
49
51
  } & {
50
52
  readonly formattedSQL: any;
51
53
  readonly typedAsSQL: boolean;
@@ -1 +1,2 @@
1
+ export * from './view';
1
2
  export * from './views';
@@ -0,0 +1,232 @@
1
+ import { Instance } from 'mobx-state-tree';
2
+ import { EViewComponentType } from '~/model/meta-model';
3
+ export declare const ViewRenderModel: import("mobx-state-tree").IModelType<{
4
+ id: import("mobx-state-tree").ISimpleType<string>;
5
+ name: import("mobx-state-tree").ISimpleType<string>;
6
+ type: import("mobx-state-tree").ISimpleType<EViewComponentType>;
7
+ config: import("mobx-state-tree").ITypeUnion<import("mobx-state-tree").ModelCreationType<import("mobx-state-tree/dist/internal").ExtractCFromProps<{
8
+ _name: import("mobx-state-tree").ISimpleType<EViewComponentType.Division>;
9
+ }>> | import("mobx-state-tree").ModelCreationType<import("mobx-state-tree/dist/internal").ExtractCFromProps<{
10
+ _name: import("mobx-state-tree").ISimpleType<EViewComponentType.Modal>;
11
+ width: import("mobx-state-tree").ISimpleType<string>;
12
+ height: import("mobx-state-tree").ISimpleType<string>;
13
+ custom_modal_title: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IModelType<{
14
+ enabled: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
15
+ func_content: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
16
+ }, {
17
+ readonly json: {
18
+ enabled: boolean;
19
+ func_content: string;
20
+ };
21
+ readonly value: any;
22
+ } & {
23
+ setEnabled(v: boolean): void;
24
+ setFuncContent(v: string): void;
25
+ replace({ enabled, func_content }: {
26
+ enabled: boolean;
27
+ func_content: string;
28
+ }): void;
29
+ }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>, [undefined]>;
30
+ }>> | import("mobx-state-tree").ModelCreationType<import("mobx-state-tree/dist/internal").ExtractCFromProps<{
31
+ _name: import("mobx-state-tree").ISimpleType<EViewComponentType.Modal>;
32
+ tabs: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IModelType<{
33
+ id: import("mobx-state-tree").ISimpleType<string>;
34
+ name: import("mobx-state-tree").ISimpleType<string>;
35
+ view_id: import("mobx-state-tree").ISimpleType<string>;
36
+ color: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
37
+ }, {
38
+ readonly json: {
39
+ id: string;
40
+ name: string;
41
+ color: string;
42
+ view_id: string;
43
+ };
44
+ } & {
45
+ setName(v: string): void;
46
+ setViewID(v: string): void;
47
+ setColor(v: string): void;
48
+ }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>, [undefined]>;
49
+ variant: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<import("@mantine/core").TabsVariant>, [undefined]>;
50
+ orientation: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<import("@mantine/core").TabsOrientation>, [undefined]>;
51
+ grow: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
52
+ }>>, import("mobx-state-tree").ModelSnapshotType<{
53
+ _name: import("mobx-state-tree").ISimpleType<EViewComponentType.Division>;
54
+ }> | import("mobx-state-tree").ModelSnapshotType<{
55
+ _name: import("mobx-state-tree").ISimpleType<EViewComponentType.Modal>;
56
+ width: import("mobx-state-tree").ISimpleType<string>;
57
+ height: import("mobx-state-tree").ISimpleType<string>;
58
+ custom_modal_title: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IModelType<{
59
+ enabled: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
60
+ func_content: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
61
+ }, {
62
+ readonly json: {
63
+ enabled: boolean;
64
+ func_content: string;
65
+ };
66
+ readonly value: any;
67
+ } & {
68
+ setEnabled(v: boolean): void;
69
+ setFuncContent(v: string): void;
70
+ replace({ enabled, func_content }: {
71
+ enabled: boolean;
72
+ func_content: string;
73
+ }): void;
74
+ }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>, [undefined]>;
75
+ }> | import("mobx-state-tree").ModelSnapshotType<{
76
+ _name: import("mobx-state-tree").ISimpleType<EViewComponentType.Modal>;
77
+ tabs: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IModelType<{
78
+ id: import("mobx-state-tree").ISimpleType<string>;
79
+ name: import("mobx-state-tree").ISimpleType<string>;
80
+ view_id: import("mobx-state-tree").ISimpleType<string>;
81
+ color: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
82
+ }, {
83
+ readonly json: {
84
+ id: string;
85
+ name: string;
86
+ color: string;
87
+ view_id: string;
88
+ };
89
+ } & {
90
+ setName(v: string): void;
91
+ setViewID(v: string): void;
92
+ setColor(v: string): void;
93
+ }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>, [undefined]>;
94
+ variant: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<import("@mantine/core").TabsVariant>, [undefined]>;
95
+ orientation: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<import("@mantine/core").TabsOrientation>, [undefined]>;
96
+ grow: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
97
+ }>, import("mobx-state-tree").ModelInstanceType<{
98
+ _name: import("mobx-state-tree").ISimpleType<EViewComponentType.Division>;
99
+ }, {
100
+ readonly json: {
101
+ _name: EViewComponentType.Division;
102
+ };
103
+ }> | import("mobx-state-tree").ModelInstanceType<{
104
+ _name: import("mobx-state-tree").ISimpleType<EViewComponentType.Modal>;
105
+ width: import("mobx-state-tree").ISimpleType<string>;
106
+ height: import("mobx-state-tree").ISimpleType<string>;
107
+ custom_modal_title: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IModelType<{
108
+ enabled: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
109
+ func_content: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
110
+ }, {
111
+ readonly json: {
112
+ enabled: boolean;
113
+ func_content: string;
114
+ };
115
+ readonly value: any;
116
+ } & {
117
+ setEnabled(v: boolean): void;
118
+ setFuncContent(v: string): void;
119
+ replace({ enabled, func_content }: {
120
+ enabled: boolean;
121
+ func_content: string;
122
+ }): void;
123
+ }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>, [undefined]>;
124
+ }, {
125
+ readonly json: {
126
+ _name: EViewComponentType.Modal;
127
+ width: string;
128
+ height: string;
129
+ custom_modal_title: {
130
+ enabled: boolean;
131
+ func_content: string;
132
+ };
133
+ };
134
+ } & {
135
+ setWidth(v: string): void;
136
+ setHeight(v: string): void;
137
+ }> | import("mobx-state-tree").ModelInstanceType<{
138
+ _name: import("mobx-state-tree").ISimpleType<EViewComponentType.Modal>;
139
+ tabs: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IModelType<{
140
+ id: import("mobx-state-tree").ISimpleType<string>;
141
+ name: import("mobx-state-tree").ISimpleType<string>;
142
+ view_id: import("mobx-state-tree").ISimpleType<string>;
143
+ color: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
144
+ }, {
145
+ readonly json: {
146
+ id: string;
147
+ name: string;
148
+ color: string;
149
+ view_id: string;
150
+ };
151
+ } & {
152
+ setName(v: string): void;
153
+ setViewID(v: string): void;
154
+ setColor(v: string): void;
155
+ }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>, [undefined]>;
156
+ variant: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<import("@mantine/core").TabsVariant>, [undefined]>;
157
+ orientation: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<import("@mantine/core").TabsOrientation>, [undefined]>;
158
+ grow: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
159
+ }, {
160
+ readonly json: {
161
+ grow: boolean;
162
+ tabs: {
163
+ id: string;
164
+ name: string;
165
+ color: string;
166
+ view_id: string;
167
+ }[];
168
+ _name: EViewComponentType.Modal;
169
+ variant: "default" | "outline" | "pills";
170
+ orientation: import("@mantine/core").TabsOrientation;
171
+ };
172
+ } & {
173
+ setVariant(v: import("@mantine/core").TabsVariant): void;
174
+ setOrientation(v: import("@mantine/core").TabsOrientation): void;
175
+ setGrow(v: boolean): void;
176
+ setTabs(v: import("mobx-state-tree").ModelCreationType<import("mobx-state-tree/dist/internal").ExtractCFromProps<{
177
+ id: import("mobx-state-tree").ISimpleType<string>;
178
+ name: import("mobx-state-tree").ISimpleType<string>;
179
+ view_id: import("mobx-state-tree").ISimpleType<string>;
180
+ color: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
181
+ }>>[]): void;
182
+ addTab(): void;
183
+ removeTab(index: number): void;
184
+ }>>;
185
+ panelIDs: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>;
186
+ } & {
187
+ tab: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
188
+ }, {
189
+ readonly json: {
190
+ id: string;
191
+ name: string;
192
+ type: EViewComponentType;
193
+ config: {
194
+ _name: EViewComponentType.Modal;
195
+ width: string;
196
+ height: string;
197
+ custom_modal_title: {
198
+ enabled: boolean;
199
+ func_content: string;
200
+ };
201
+ } | {
202
+ grow: boolean;
203
+ tabs: {
204
+ id: string;
205
+ name: string;
206
+ color: string;
207
+ view_id: string;
208
+ }[];
209
+ _name: EViewComponentType.Modal;
210
+ variant: "default" | "outline" | "pills";
211
+ orientation: import("@mantine/core").TabsOrientation;
212
+ } | {
213
+ _name: EViewComponentType.Division;
214
+ };
215
+ panelIDs: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
216
+ };
217
+ } & {
218
+ setName(name: string): void;
219
+ setType(type: EViewComponentType): void;
220
+ appendPanelID(id: string): void;
221
+ removePanelID(id: string): void;
222
+ } & {
223
+ readonly defaultTab: string;
224
+ readonly tabViewID: string;
225
+ readonly contentModel: any;
226
+ readonly panels: any;
227
+ readonly renderViewIDs: string[];
228
+ } & {
229
+ setTab(tab: string | null): void;
230
+ afterCreate(): void;
231
+ }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
232
+ export declare type ViewRenderModelInstance = Instance<typeof ViewRenderModel>;