@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
@@ -1,7 +1,16 @@
1
1
  import { Instance, SnapshotIn } from 'mobx-state-tree';
2
2
  export declare const PanelModel: import("mobx-state-tree").IModelType<{
3
3
  id: import("mobx-state-tree").ISimpleType<string>;
4
- title: import("mobx-state-tree").ISimpleType<string>;
4
+ name: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
5
+ title: import("mobx-state-tree").IModelType<{
6
+ show: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
7
+ }, {
8
+ readonly json: {
9
+ show: boolean;
10
+ };
11
+ } & {
12
+ setShow(v: boolean): void;
13
+ }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
5
14
  description: import("mobx-state-tree").ISimpleType<string>;
6
15
  layout: import("mobx-state-tree").IModelType<{
7
16
  x: import("mobx-state-tree").ISimpleType<number>;
@@ -385,12 +394,29 @@ export declare const PanelModel: import("mobx-state-tree").IModelType<{
385
394
  conf: import("../../..").AnyObject & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IType<import("../../..").AnyObject, import("../../..").AnyObject, import("../../..").AnyObject>>;
386
395
  type: string;
387
396
  };
397
+ name: string;
388
398
  style: {
389
399
  border: {
390
400
  enabled: boolean;
391
401
  };
392
402
  };
393
- title: string;
403
+ title: {
404
+ show: boolean;
405
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
406
+ readonly json: {
407
+ show: boolean;
408
+ };
409
+ } & {
410
+ setShow(v: boolean): void;
411
+ } & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
412
+ show: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
413
+ }, {
414
+ readonly json: {
415
+ show: boolean;
416
+ };
417
+ } & {
418
+ setShow(v: boolean): void;
419
+ }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
394
420
  layout: {
395
421
  h: number;
396
422
  w: number;
@@ -648,7 +674,7 @@ export declare const PanelModel: import("mobx-state-tree").IModelType<{
648
674
  readonly queryIDSet: Set<string>;
649
675
  } & {
650
676
  setID(id: string): void;
651
- setTitle(title: string): void;
677
+ setName(name: string): void;
652
678
  setDescription(description: string): void;
653
679
  addQueryID(queryID: string): void;
654
680
  removeQueryID(queryID: string): void;
@@ -1597,12 +1623,12 @@ export declare const PanelModel: import("mobx-state-tree").IModelType<{
1597
1623
  readonly rootModel: any;
1598
1624
  readonly contentModel: any;
1599
1625
  readonly payload: any;
1600
- readonly dashboardState: import("~/model").TDashboardState;
1601
1626
  readonly formattedSQL: any;
1602
1627
  readonly typedAsSQL: boolean;
1603
1628
  readonly typedAsHTTP: boolean;
1604
1629
  readonly datasource: any;
1605
1630
  readonly httpConfigString: string;
1631
+ readonly additionalQueryInfo: import("../../..").TAdditionalQueryInfo;
1606
1632
  } & {
1607
1633
  readonly stateMessage: string;
1608
1634
  } & {
@@ -1667,12 +1693,12 @@ export declare const PanelModel: import("mobx-state-tree").IModelType<{
1667
1693
  readonly rootModel: any;
1668
1694
  readonly contentModel: any;
1669
1695
  readonly payload: any;
1670
- readonly dashboardState: import("~/model").TDashboardState;
1671
1696
  readonly formattedSQL: any;
1672
1697
  readonly typedAsSQL: boolean;
1673
1698
  readonly typedAsHTTP: boolean;
1674
1699
  readonly datasource: any;
1675
1700
  readonly httpConfigString: string;
1701
+ readonly additionalQueryInfo: import("../../..").TAdditionalQueryInfo;
1676
1702
  } & {
1677
1703
  readonly stateMessage: string;
1678
1704
  } & {