@devtable/dashboard 11.8.0 → 11.10.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 (36) hide show
  1. package/dist/components/panel/panel-render/full-screen-render/use-panel-full-screen.d.ts +2 -95
  2. package/dist/components/plugins/plugin-context.d.ts +2 -95
  3. package/dist/components/plugins/viz-manager/components.d.ts +6 -6
  4. package/dist/components/view/layout/edit-layout.d.ts +9 -0
  5. package/dist/components/view/layout/index.d.ts +2 -2
  6. package/dist/components/view/layout/render-layout.d.ts +9 -0
  7. package/dist/contexts/panel-context.d.ts +4 -189
  8. package/dist/dashboard-editor/dashboard-editor.d.ts +1 -0
  9. package/dist/dashboard-editor/model/filters/index.d.ts +1 -0
  10. package/dist/dashboard-editor/model/layouts/index.d.ts +1 -0
  11. package/dist/dashboard-editor/model/layouts/layouts.d.ts +1159 -0
  12. package/dist/dashboard-editor/model/panels/panel.d.ts +1 -38
  13. package/dist/dashboard-editor/model/views/index.d.ts +3 -0
  14. package/dist/dashboard-editor/model/views/view.d.ts +1 -0
  15. package/dist/dashboard-editor/ui/header/breakpoint-switcher/edit-breakpoints.d.ts +5 -0
  16. package/dist/dashboard-editor/ui/header/breakpoint-switcher/index.d.ts +3 -0
  17. package/dist/dashboard-render/dashboard-render.d.ts +2 -1
  18. package/dist/dashboard.es.js +7052 -6539
  19. package/dist/dashboard.umd.js +95 -95
  20. package/dist/model/meta-model/dashboard/content/index.d.ts +1 -0
  21. package/dist/model/meta-model/dashboard/content/initial-content.d.ts +1 -1
  22. package/dist/model/meta-model/dashboard/content/layout/index.d.ts +2 -0
  23. package/dist/model/meta-model/dashboard/content/{panel/layout.d.ts → layout/layout-item.d.ts} +20 -1
  24. package/dist/model/meta-model/dashboard/content/layout/layout-set.d.ts +192 -0
  25. package/dist/model/meta-model/dashboard/content/panel/index.d.ts +0 -1
  26. package/dist/model/meta-model/dashboard/content/panel/panel.d.ts +0 -30
  27. package/dist/model/render-model/dashboard/content/filters/filters.d.ts +3 -2
  28. package/dist/model/render-model/dashboard/content/index.d.ts +1 -0
  29. package/dist/model/render-model/dashboard/content/layouts/index.d.ts +1 -0
  30. package/dist/model/render-model/dashboard/content/layouts/layouts.d.ts +1141 -0
  31. package/dist/model/render-model/dashboard/content/panels/panel.d.ts +1 -38
  32. package/dist/stats.html +1 -1
  33. package/dist/types/dashboard.d.ts +2 -9
  34. package/package.json +1 -1
  35. package/dist/components/view/layout/main-layout.d.ts +0 -9
  36. package/dist/components/view/layout/read-only-layout.d.ts +0 -8
@@ -1,4 +1,3 @@
1
- /// <reference types="react-grid-layout" />
2
1
  /// <reference types="react" />
3
2
  import { Instance, SnapshotIn } from 'mobx-state-tree';
4
3
  export declare const PanelModel: import("mobx-state-tree").IModelType<{
@@ -14,27 +13,6 @@ export declare const PanelModel: import("mobx-state-tree").IModelType<{
14
13
  setShow(v: boolean): void;
15
14
  }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
16
15
  description: import("mobx-state-tree").ISimpleType<string>;
17
- layout: import("mobx-state-tree").IModelType<{
18
- x: import("mobx-state-tree").ISimpleType<number>;
19
- y: import("mobx-state-tree").IMaybeNull<import("mobx-state-tree").ISimpleType<number>>;
20
- w: import("mobx-state-tree").ISimpleType<number>;
21
- h: import("mobx-state-tree").ISimpleType<number>;
22
- moved: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
23
- static: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
24
- }, {
25
- readonly json: {
26
- h: number;
27
- w: number;
28
- x: number;
29
- y: number;
30
- moved: boolean;
31
- static: boolean;
32
- };
33
- } & {
34
- set(layout: Omit<import("react-grid-layout").Layout, "i">): void;
35
- setWidth(w: number): void;
36
- setHeight(h: number): void;
37
- }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
38
16
  queryIDs: import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>;
39
17
  viz: import("mobx-state-tree").IModelType<{
40
18
  type: import("mobx-state-tree").ISimpleType<string>;
@@ -447,14 +425,6 @@ export declare const PanelModel: import("mobx-state-tree").IModelType<{
447
425
  title: {
448
426
  show: boolean;
449
427
  };
450
- layout: {
451
- h: number;
452
- w: number;
453
- x: number;
454
- y: number;
455
- moved: boolean;
456
- static: boolean;
457
- };
458
428
  queryIDs: string[];
459
429
  variables: {
460
430
  name: string;
@@ -2091,14 +2061,6 @@ export declare const PanelModel: import("mobx-state-tree").IModelType<{
2091
2061
  title: {
2092
2062
  show: boolean;
2093
2063
  };
2094
- layout: {
2095
- h: number;
2096
- w: number;
2097
- x: number;
2098
- y: number;
2099
- moved: boolean;
2100
- static: boolean;
2101
- };
2102
2064
  queryIDs: string[];
2103
2065
  variables: {
2104
2066
  name: string;
@@ -2389,6 +2351,7 @@ export declare const PanelModel: import("mobx-state-tree").IModelType<{
2389
2351
  post_process: string;
2390
2352
  dep_query_ids: 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]>>;
2391
2353
  }[];
2354
+ layouts: any;
2392
2355
  };
2393
2356
  downloadSchema(): void;
2394
2357
  } & {
@@ -603,6 +603,7 @@ export declare const ViewsModel: import("mobx-state-tree").IModelType<{
603
603
  definition: {
604
604
  queries: import('../../../types').AnyObject[];
605
605
  };
606
+ layouts: any;
606
607
  version: string;
607
608
  };
608
609
  downloadSchema(): void;
@@ -6283,6 +6284,7 @@ export declare const ViewsModel: import("mobx-state-tree").IModelType<{
6283
6284
  definition: {
6284
6285
  queries: import('../../../types').AnyObject[];
6285
6286
  };
6287
+ layouts: any;
6286
6288
  version: string;
6287
6289
  };
6288
6290
  downloadSchema(): void;
@@ -6602,6 +6604,7 @@ export declare const ViewsModel: import("mobx-state-tree").IModelType<{
6602
6604
  definition: {
6603
6605
  queries: import('../../../types').AnyObject[];
6604
6606
  };
6607
+ layouts: any;
6605
6608
  version: string;
6606
6609
  };
6607
6610
  downloadSchema(): void;
@@ -317,6 +317,7 @@ export declare const ViewModel: import("mobx-state-tree").IModelType<{
317
317
  definition: {
318
318
  queries: AnyObject[];
319
319
  };
320
+ layouts: any;
320
321
  version: string;
321
322
  };
322
323
  downloadSchema(): void;
@@ -0,0 +1,5 @@
1
+ export declare const EditBreakpoints: (({ done }: {
2
+ done: () => void;
3
+ }) => import('./react/jsx-runtime').JSX.Element) & {
4
+ displayName: string;
5
+ };
@@ -0,0 +1,3 @@
1
+ export declare const BreakpointSwitcher: (() => import('./react/jsx-runtime').JSX.Element) & {
2
+ displayName: string;
3
+ };
@@ -9,9 +9,10 @@ interface IReadOnlyDashboard {
9
9
  config: IDashboardConfig;
10
10
  fullScreenPanelID: string;
11
11
  setFullScreenPanelID: (v: string) => void;
12
+ filterValues?: Record<string, any>;
12
13
  onFilterValuesChange?: (filterValues: Record<string, any>) => void;
13
14
  }
14
- export declare const ReadOnlyDashboard: (({ context, dashboard, content, className, config, fullScreenPanelID, setFullScreenPanelID, onFilterValuesChange, }: IReadOnlyDashboard) => import('./react/jsx-runtime').JSX.Element) & {
15
+ export declare const ReadOnlyDashboard: (({ context, dashboard, content, className, config, fullScreenPanelID, setFullScreenPanelID, filterValues, onFilterValuesChange, }: IReadOnlyDashboard) => import('./react/jsx-runtime').JSX.Element) & {
15
16
  displayName: string;
16
17
  };
17
18
  export {};