@devtable/dashboard 14.4.3 → 14.5.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.
- package/dist/components/panel/panel-render/full-screen-render/use-panel-full-screen.d.ts +203 -203
- package/dist/components/panel/panel-render/viz/viz.d.ts +1 -0
- package/dist/components/plugins/panel-addon/index.d.ts +2 -0
- package/dist/components/plugins/panel-addon/panel-addon-context.d.ts +5 -0
- package/dist/components/plugins/panel-addon/panel-addon-manager.d.ts +6 -0
- package/dist/components/plugins/plugin-context.d.ts +206 -203
- package/dist/components/plugins/viz-components/sunburst/option/levels.d.ts +1 -1
- package/dist/contexts/panel-context.d.ts +406 -406
- package/dist/dashboard-editor/model/panels/panel.d.ts +93 -93
- package/dist/dashboard-editor/ui/settings/content/edit-panel/variable-config/model.d.ts +35 -35
- package/dist/dashboard.es.js +29655 -29594
- package/dist/dashboard.umd.js +73 -73
- package/dist/index.d.ts +2 -0
- package/dist/model/meta-model/dashboard/content/panel/panel.d.ts +31 -31
- package/dist/model/meta-model/dashboard/content/panel/variable.d.ts +17 -17
- package/dist/model/render-model/dashboard/content/panels/panel.d.ts +93 -93
- package/dist/stats.html +1 -1
- package/dist/types/plugin/index.d.ts +9 -0
- package/dist/version.json +2 -2
- package/package.json +1 -1
|
@@ -108,9 +108,18 @@ export interface IPanelScopeConfigMigrator {
|
|
|
108
108
|
export interface IConfigMigrator extends IPanelScopeConfigMigrator {
|
|
109
109
|
migrate(ctx: IConfigMigrationContext): Promise<void>;
|
|
110
110
|
}
|
|
111
|
+
export interface IPanelAddonRenderProps {
|
|
112
|
+
viz: VizInstance;
|
|
113
|
+
isInEditMode: boolean;
|
|
114
|
+
}
|
|
115
|
+
export interface IPanelAddon {
|
|
116
|
+
name: string;
|
|
117
|
+
addonRender: React.ComponentType<IPanelAddonRenderProps>;
|
|
118
|
+
}
|
|
111
119
|
export interface IPluginManifest {
|
|
112
120
|
viz: VizComponent[];
|
|
113
121
|
color: IColorPaletteItem[];
|
|
122
|
+
panelAddon?: IPanelAddon[];
|
|
114
123
|
}
|
|
115
124
|
export interface IDashboardPlugin {
|
|
116
125
|
id: string;
|
package/dist/version.json
CHANGED