@devtable/dashboard 14.49.0 → 14.50.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 (33) hide show
  1. package/dist/components/panel/panel-editor/dropdown-menu-items/delete-panel.d.ts +6 -0
  2. package/dist/components/panel/panel-editor/dropdown-menu-items/dropdown-menu-items.d.ts +9 -0
  3. package/dist/components/panel/panel-editor/dropdown-menu-items/duplicate.d.ts +6 -0
  4. package/dist/components/panel/panel-editor/dropdown-menu-items/index.d.ts +1 -0
  5. package/dist/components/panel/panel-editor/dropdown-menu-items/open-tab-data.d.ts +6 -0
  6. package/dist/components/panel/panel-editor/dropdown-menu-items/open-tab-interaction.d.ts +6 -0
  7. package/dist/components/panel/panel-editor/dropdown-menu-items/open-tab-panel.d.ts +6 -0
  8. package/dist/components/panel/panel-editor/dropdown-menu-items/open-tab-variable.d.ts +6 -0
  9. package/dist/components/panel/panel-editor/dropdown-menu-items/open-tab-visualization.d.ts +6 -0
  10. package/dist/components/panel/panel-editor/dropdown-menu-items/use-items.d.ts +3 -0
  11. package/dist/components/panel/panel-editor/dropdown-menu-items/use-query-items.d.ts +5 -0
  12. package/dist/components/panel/panel-render/dropdown-menu-items/download-data.d.ts +3 -0
  13. package/dist/components/panel/panel-render/dropdown-menu-items/download-schema.d.ts +3 -0
  14. package/dist/components/panel/panel-render/dropdown-menu-items/download-screenshot.d.ts +3 -0
  15. package/dist/components/panel/panel-render/dropdown-menu-items/dropdown-menu-items.d.ts +9 -0
  16. package/dist/components/panel/panel-render/{dropdown-menu/index.d.ts → dropdown-menu-items/enter-fullscreen.d.ts} +1 -2
  17. package/dist/components/panel/panel-render/dropdown-menu-items/index.d.ts +6 -0
  18. package/dist/components/panel/panel-render/dropdown-menu-items/refresh.d.ts +3 -0
  19. package/dist/components/panel/panel-render/dropdown-menu-items/use-items.d.ts +3 -0
  20. package/dist/components/panel/panel-render/panel-dropdown-menu.d.ts +6 -0
  21. package/dist/contexts/additional-panel-menu-items.d.ts +8 -0
  22. package/dist/contexts/index.d.ts +1 -0
  23. package/dist/dashboard-editor/dashboard-editor.d.ts +2 -1
  24. package/dist/dashboard-render/dashboard-render.d.ts +3 -2
  25. package/dist/dashboard.es.js +6853 -6665
  26. package/dist/dashboard.umd.js +106 -106
  27. package/dist/stats.html +1 -1
  28. package/dist/types/dashboard.d.ts +11 -0
  29. package/dist/version.json +2 -2
  30. package/package.json +1 -1
  31. package/dist/components/panel/panel-editor/dropdown-menu/index.d.ts +0 -7
  32. package/dist/contexts/panel-context.d.ts +0 -30438
  33. /package/dist/components/panel/panel-editor/{dropdown-menu → dropdown-menu-items}/query-menu-items.d.ts +0 -0
@@ -1,6 +1,8 @@
1
1
  import { AnyObject } from '../types/utils';
2
2
  import { ITemplateVariable } from '../utils';
3
3
  import { EViewComponentType, FilterMetaSnapshotOut, QueryMetaSnapshotIn, SQLSnippetMetaSnapshotIn, LayoutSetMetaSnapshotOut } from '../model';
4
+ import { ReactNode } from './react';
5
+ import { EChartsOption } from 'echarts';
4
6
  export interface IVizConfig {
5
7
  type: string;
6
8
  conf: AnyObject;
@@ -75,4 +77,13 @@ export type DashboardContentDBType = {
75
77
  create_time: string;
76
78
  update_time: string;
77
79
  };
80
+ export type PanelMenuItem = {
81
+ order: number;
82
+ render: (props: {
83
+ echartsOptions: EChartsOption | null;
84
+ inEditMode: boolean;
85
+ panelID: string;
86
+ viewID: string;
87
+ }) => ReactNode;
88
+ };
78
89
  export {};
package/dist/version.json CHANGED
@@ -1,4 +1,4 @@
1
1
  {
2
- "semver": "14.49.0",
3
- "version": "0be9cd835e3a985bfc147bdcf900188dcc5931d3"
2
+ "semver": "14.50.0",
3
+ "version": "1d62d59c3250617d160cc88497c50abda3ffe5f8"
4
4
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devtable/dashboard",
3
- "version": "14.49.0",
3
+ "version": "14.50.0",
4
4
  "license": "Apache-2.0",
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -1,7 +0,0 @@
1
- import { ViewMetaInstance } from '../../../../model';
2
- export declare const PanelDropdownMenu: (({ view, title }: {
3
- view: ViewMetaInstance;
4
- title: string;
5
- }) => import('./react/jsx-runtime').JSX.Element) & {
6
- displayName: string;
7
- };