@devtable/dashboard 10.40.0 → 10.42.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 (30) hide show
  1. package/dist/api-caller/index.d.ts +5 -2
  2. package/dist/api-caller/request.d.ts +25 -8
  3. package/dist/components/panel/panel-render/full-screen-render/use-panel-full-screen.d.ts +70 -10
  4. package/dist/components/plugins/plugin-context.d.ts +70 -10
  5. package/dist/components/plugins/viz-manager/components.d.ts +1 -3
  6. package/dist/contexts/panel-context.d.ts +140 -20
  7. package/dist/dashboard-editor/model/datasources/columns.d.ts +0 -1
  8. package/dist/dashboard-editor/model/datasources/datasource.d.ts +10 -7
  9. package/dist/dashboard-editor/model/datasources/index.d.ts +13 -16
  10. package/dist/dashboard-editor/model/datasources/indexes.d.ts +0 -1
  11. package/dist/dashboard-editor/model/datasources/table-data.d.ts +1 -1
  12. package/dist/dashboard-editor/model/datasources/tables.d.ts +0 -1
  13. package/dist/dashboard-editor/model/panels/panel.d.ts +31 -5
  14. package/dist/dashboard-editor/model/panels/panels.d.ts +290 -41
  15. package/dist/dashboard-editor/model/queries/index.d.ts +7 -7
  16. package/dist/dashboard-editor/ui/settings/content/data-preview/index.d.ts +2 -1
  17. package/dist/dashboard-editor/ui/settings/content/edit-panel/panel-config/name.d.ts +3 -0
  18. package/dist/dashboard.es.js +2302 -2295
  19. package/dist/dashboard.umd.js +61 -121
  20. package/dist/model/meta-model/dashboard/content/panel/index.d.ts +1 -0
  21. package/dist/model/meta-model/dashboard/content/panel/panel.d.ts +29 -3
  22. package/dist/model/meta-model/dashboard/content/panel/title.d.ts +9 -0
  23. package/dist/model/render-model/dashboard/content/panels/panel.d.ts +31 -5
  24. package/dist/model/render-model/dashboard/content/panels/panels.d.ts +259 -36
  25. package/dist/model/render-model/dashboard/content/queries/queries.d.ts +5 -5
  26. package/dist/model/render-model/dashboard/content/queries/query.d.ts +2 -1
  27. package/dist/stats.html +1 -1
  28. package/dist/types/dashboard.d.ts +4 -1
  29. package/dist/types/plugin/index.d.ts +0 -9
  30. package/package.json +1 -1
@@ -12,7 +12,10 @@ interface IDashboardPanelStyle {
12
12
  }
13
13
  export interface IDashboardPanel {
14
14
  id: string;
15
- title: string;
15
+ name: string;
16
+ title: {
17
+ show: boolean;
18
+ };
16
19
  description: string;
17
20
  layout: {
18
21
  x: number;
@@ -65,15 +65,7 @@ export interface VizContext {
65
65
  data: TPanelData;
66
66
  vizManager: IVizManager;
67
67
  }
68
- declare type Setter<T> = (val: T) => void;
69
- export interface IPanelInfoEditor {
70
- setTitle: Setter<string>;
71
- setDescription: Setter<string>;
72
- addQueryID: Setter<string>;
73
- removeQueryID: Setter<string>;
74
- }
75
68
  export interface VizConfigContext extends VizContext {
76
- panelInfoEditor: IPanelInfoEditor;
77
69
  }
78
70
  export interface VizViewContext extends VizContext {
79
71
  viewport: {
@@ -219,4 +211,3 @@ export interface IColorInterpolationConfig {
219
211
  steps: IValueStep[];
220
212
  interpolation: string;
221
213
  }
222
- export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devtable/dashboard",
3
- "version": "10.40.0",
3
+ "version": "10.42.0",
4
4
  "license": "Apache-2.0",
5
5
  "publishConfig": {
6
6
  "access": "public",