@deephaven/plugin 1.16.0 → 1.17.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/PluginTypes.d.ts +33 -14
- package/dist/PluginTypes.d.ts.map +1 -1
- package/dist/PluginTypes.js +18 -3
- package/dist/PluginTypes.js.map +1 -1
- package/package.json +6 -6
package/dist/PluginTypes.d.ts
CHANGED
|
@@ -6,10 +6,11 @@ import type { TablePluginComponent } from './TablePlugin';
|
|
|
6
6
|
export declare const PluginType: Readonly<{
|
|
7
7
|
AUTH_PLUGIN: "AuthPlugin";
|
|
8
8
|
DASHBOARD_PLUGIN: "DashboardPlugin";
|
|
9
|
-
|
|
9
|
+
ELEMENT_PLUGIN: "ElementPlugin";
|
|
10
|
+
MULTI_PLUGIN: "MultiPlugin";
|
|
10
11
|
TABLE_PLUGIN: "TablePlugin";
|
|
11
12
|
THEME_PLUGIN: "ThemePlugin";
|
|
12
|
-
|
|
13
|
+
WIDGET_PLUGIN: "WidgetPlugin";
|
|
13
14
|
}>;
|
|
14
15
|
/**
|
|
15
16
|
* @deprecated Use DashboardPlugin instead
|
|
@@ -17,7 +18,7 @@ export declare const PluginType: Readonly<{
|
|
|
17
18
|
export type LegacyDashboardPlugin = {
|
|
18
19
|
DashboardPlugin: React.ComponentType;
|
|
19
20
|
};
|
|
20
|
-
export declare function isLegacyDashboardPlugin(plugin:
|
|
21
|
+
export declare function isLegacyDashboardPlugin(plugin: PluginModuleExport): plugin is LegacyDashboardPlugin;
|
|
21
22
|
/**
|
|
22
23
|
* @deprecated Use AuthPlugin instead
|
|
23
24
|
*/
|
|
@@ -27,24 +28,28 @@ export type LegacyAuthPlugin = {
|
|
|
27
28
|
isAvailable: (authHandlers: string[], authConfig: AuthConfigMap) => boolean;
|
|
28
29
|
};
|
|
29
30
|
};
|
|
30
|
-
export declare function isLegacyAuthPlugin(plugin:
|
|
31
|
-
export type PluginModuleMap = Map<string,
|
|
31
|
+
export declare function isLegacyAuthPlugin(plugin: PluginModuleExport): plugin is LegacyAuthPlugin;
|
|
32
|
+
export type PluginModuleMap = Map<string, VersionedPluginModuleExport>;
|
|
32
33
|
/**
|
|
33
34
|
* @deprecated Use TablePlugin instead
|
|
34
35
|
*/
|
|
35
36
|
export type LegacyTablePlugin = {
|
|
36
37
|
TablePlugin: TablePluginComponent;
|
|
37
38
|
};
|
|
38
|
-
export declare function isLegacyTablePlugin(plugin:
|
|
39
|
+
export declare function isLegacyTablePlugin(plugin: PluginModuleExport): plugin is LegacyTablePlugin;
|
|
39
40
|
/**
|
|
40
41
|
* @deprecated Use Plugin instead
|
|
41
42
|
*/
|
|
42
43
|
export type LegacyPlugin = LegacyDashboardPlugin | LegacyAuthPlugin | LegacyTablePlugin;
|
|
43
44
|
export declare function isLegacyPlugin(plugin: unknown): plugin is LegacyPlugin;
|
|
44
|
-
export type
|
|
45
|
-
|
|
45
|
+
export type PluginModuleExport = Plugin | LegacyPlugin;
|
|
46
|
+
/** @deprecated Use PluginModuleExport instead */
|
|
47
|
+
export type PluginModule = PluginModuleExport;
|
|
48
|
+
export type VersionedPluginModuleExport = PluginModuleExport & {
|
|
46
49
|
version?: string;
|
|
47
50
|
};
|
|
51
|
+
/** @deprecated Use VersionedPluginModuleExport instead */
|
|
52
|
+
export type VersionedPluginModule = VersionedPluginModuleExport;
|
|
48
53
|
export interface Plugin {
|
|
49
54
|
/**
|
|
50
55
|
* The name of the plugin. This will be used as an identifier for the plugin and should be unique.
|
|
@@ -66,7 +71,7 @@ export interface DashboardPlugin extends Plugin {
|
|
|
66
71
|
*/
|
|
67
72
|
component: React.ComponentType<any>;
|
|
68
73
|
}
|
|
69
|
-
export declare function isDashboardPlugin(plugin:
|
|
74
|
+
export declare function isDashboardPlugin(plugin: PluginModuleExport): plugin is DashboardPlugin;
|
|
70
75
|
export interface WidgetComponentProps<T = unknown> {
|
|
71
76
|
/**
|
|
72
77
|
* Function to fetch the widget data.
|
|
@@ -124,12 +129,12 @@ export interface WidgetPlugin<T = unknown> extends Plugin {
|
|
|
124
129
|
*/
|
|
125
130
|
icon?: IconDefinition | React.ReactElement<unknown>;
|
|
126
131
|
}
|
|
127
|
-
export declare function isWidgetPlugin(plugin:
|
|
132
|
+
export declare function isWidgetPlugin(plugin: PluginModuleExport): plugin is WidgetPlugin;
|
|
128
133
|
export interface TablePlugin extends Plugin {
|
|
129
134
|
type: typeof PluginType.TABLE_PLUGIN;
|
|
130
135
|
component: TablePluginComponent;
|
|
131
136
|
}
|
|
132
|
-
export declare function isTablePlugin(plugin:
|
|
137
|
+
export declare function isTablePlugin(plugin: PluginModuleExport): plugin is TablePlugin;
|
|
133
138
|
/**
|
|
134
139
|
* Map from auth config keys to their values
|
|
135
140
|
* E.g. Map { AuthHandlers → "io.deephaven.auth.AnonymousAuthenticationHandler" }
|
|
@@ -158,7 +163,7 @@ export interface AuthPlugin extends Plugin {
|
|
|
158
163
|
*/
|
|
159
164
|
isAvailable: (authHandlers: string[], authConfig: AuthConfigMap) => boolean;
|
|
160
165
|
}
|
|
161
|
-
export declare function isAuthPlugin(plugin:
|
|
166
|
+
export declare function isAuthPlugin(plugin: PluginModuleExport): plugin is AuthPlugin;
|
|
162
167
|
export interface ThemeConfig {
|
|
163
168
|
name: string;
|
|
164
169
|
baseTheme?: BaseThemeType;
|
|
@@ -169,7 +174,7 @@ export interface ThemePlugin extends Plugin {
|
|
|
169
174
|
themes: ThemeConfig | ThemeConfig[];
|
|
170
175
|
}
|
|
171
176
|
/** Type guard to check if given plugin is a `ThemePlugin` */
|
|
172
|
-
export declare function isThemePlugin(plugin:
|
|
177
|
+
export declare function isThemePlugin(plugin: PluginModuleExport): plugin is ThemePlugin;
|
|
173
178
|
export type ElementName = string;
|
|
174
179
|
/** A mapping of element names to their React components. */
|
|
175
180
|
export type ElementPluginMappingDefinition<P extends Record<ElementName, unknown> = Record<string, never>> = {
|
|
@@ -183,6 +188,20 @@ export interface ElementPlugin extends Plugin {
|
|
|
183
188
|
type: typeof PluginType.ELEMENT_PLUGIN;
|
|
184
189
|
mapping: ElementPluginMappingDefinition;
|
|
185
190
|
}
|
|
186
|
-
export declare function isElementPlugin(plugin:
|
|
191
|
+
export declare function isElementPlugin(plugin: PluginModuleExport): plugin is ElementPlugin;
|
|
192
|
+
/**
|
|
193
|
+
* A plugin that contains multiple plugins.
|
|
194
|
+
* When loaded, each plugin in the `plugins` array will be registered individually.
|
|
195
|
+
*/
|
|
196
|
+
export interface MultiPlugin extends Plugin {
|
|
197
|
+
type: typeof PluginType.MULTI_PLUGIN;
|
|
198
|
+
/**
|
|
199
|
+
* The plugins to register. Each plugin will be registered by its own name.
|
|
200
|
+
* Note: Nested MultiPlugins are not supported.
|
|
201
|
+
*/
|
|
202
|
+
plugins: Plugin[];
|
|
203
|
+
}
|
|
204
|
+
/** Type guard to check if given plugin is a `MultiPlugin` */
|
|
205
|
+
export declare function isMultiPlugin(plugin: PluginModuleExport): plugin is MultiPlugin;
|
|
187
206
|
export declare function isPlugin(plugin: unknown): plugin is Plugin;
|
|
188
207
|
//# sourceMappingURL=PluginTypes.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PluginTypes.d.ts","sourceRoot":"","sources":["../src/PluginTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EACL,KAAK,YAAY,EACjB,KAAK,aAAa,EACnB,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAC5E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;AAE1D,eAAO,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"PluginTypes.d.ts","sourceRoot":"","sources":["../src/PluginTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAA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a,CAEzB;AAED;;;GAGG;AACH,MAAM,WAAW,WAAY,SAAQ,MAAM;IACzC,IAAI,EAAE,OAAO,UAAU,CAAC,YAAY,CAAC;IACrC;;;OAGG;IACH,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB;AAED,6DAA6D;AAC7D,wBAAgB,aAAa,CAC3B,MAAM,EAAE,kBAAkB,GACzB,MAAM,IAAI,WAAW,CAEvB;AAED,wBAAgB,QAAQ,CAAC,MAAM,EAAE,OAAO,GAAG,MAAM,IAAI,MAAM,CAU1D"}
|
package/dist/PluginTypes.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
export var PluginType = Object.freeze({
|
|
2
2
|
AUTH_PLUGIN: 'AuthPlugin',
|
|
3
3
|
DASHBOARD_PLUGIN: 'DashboardPlugin',
|
|
4
|
-
|
|
4
|
+
ELEMENT_PLUGIN: 'ElementPlugin',
|
|
5
|
+
MULTI_PLUGIN: 'MultiPlugin',
|
|
5
6
|
TABLE_PLUGIN: 'TablePlugin',
|
|
6
7
|
THEME_PLUGIN: 'ThemePlugin',
|
|
7
|
-
|
|
8
|
+
WIDGET_PLUGIN: 'WidgetPlugin'
|
|
8
9
|
});
|
|
9
10
|
|
|
10
11
|
/**
|
|
@@ -39,6 +40,10 @@ export function isLegacyPlugin(plugin) {
|
|
|
39
40
|
return isLegacyDashboardPlugin(plugin) || isLegacyAuthPlugin(plugin) || isLegacyTablePlugin(plugin);
|
|
40
41
|
}
|
|
41
42
|
|
|
43
|
+
/** @deprecated Use PluginModuleExport instead */
|
|
44
|
+
|
|
45
|
+
/** @deprecated Use VersionedPluginModuleExport instead */
|
|
46
|
+
|
|
42
47
|
/**
|
|
43
48
|
* A plugin that will be mounted to the dashboard.
|
|
44
49
|
*/
|
|
@@ -79,7 +84,17 @@ export function isThemePlugin(plugin) {
|
|
|
79
84
|
export function isElementPlugin(plugin) {
|
|
80
85
|
return 'type' in plugin && plugin.type === PluginType.ELEMENT_PLUGIN;
|
|
81
86
|
}
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* A plugin that contains multiple plugins.
|
|
90
|
+
* When loaded, each plugin in the `plugins` array will be registered individually.
|
|
91
|
+
*/
|
|
92
|
+
|
|
93
|
+
/** Type guard to check if given plugin is a `MultiPlugin` */
|
|
94
|
+
export function isMultiPlugin(plugin) {
|
|
95
|
+
return 'type' in plugin && plugin.type === PluginType.MULTI_PLUGIN;
|
|
96
|
+
}
|
|
82
97
|
export function isPlugin(plugin) {
|
|
83
|
-
return isDashboardPlugin(plugin) || isAuthPlugin(plugin) ||
|
|
98
|
+
return isDashboardPlugin(plugin) || isAuthPlugin(plugin) || isElementPlugin(plugin) || isMultiPlugin(plugin) || isTablePlugin(plugin) || isThemePlugin(plugin) || isWidgetPlugin(plugin);
|
|
84
99
|
}
|
|
85
100
|
//# sourceMappingURL=PluginTypes.js.map
|
package/dist/PluginTypes.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PluginTypes.js","names":["PluginType","Object","freeze","AUTH_PLUGIN","DASHBOARD_PLUGIN","WIDGET_PLUGIN","TABLE_PLUGIN","THEME_PLUGIN","ELEMENT_PLUGIN","isLegacyDashboardPlugin","plugin","isLegacyAuthPlugin","isLegacyTablePlugin","isLegacyPlugin","isDashboardPlugin","type","isWidgetPlugin","isTablePlugin","isAuthPlugin","isThemePlugin","isElementPlugin","isPlugin"],"sources":["../src/PluginTypes.ts"],"sourcesContent":["import type { BaseThemeType } from '@deephaven/components';\nimport {\n type EventEmitter,\n type ItemContainer,\n} from '@deephaven/golden-layout';\nimport type { dh } from '@deephaven/jsapi-types';\nimport type { IconDefinition } from '@fortawesome/fontawesome-common-types';\nimport type { TablePluginComponent } from './TablePlugin';\n\nexport const PluginType = Object.freeze({\n AUTH_PLUGIN: 'AuthPlugin',\n DASHBOARD_PLUGIN: 'DashboardPlugin',\n WIDGET_PLUGIN: 'WidgetPlugin',\n TABLE_PLUGIN: 'TablePlugin',\n THEME_PLUGIN: 'ThemePlugin',\n ELEMENT_PLUGIN: 'ElementPlugin',\n});\n\n/**\n * @deprecated Use DashboardPlugin instead\n */\nexport type LegacyDashboardPlugin = { DashboardPlugin: React.ComponentType };\n\nexport function isLegacyDashboardPlugin(\n plugin: PluginModule\n): plugin is LegacyDashboardPlugin {\n return 'DashboardPlugin' in plugin;\n}\n\n/**\n * @deprecated Use AuthPlugin instead\n */\nexport type LegacyAuthPlugin = {\n AuthPlugin: {\n Component: React.ComponentType<AuthPluginProps>;\n isAvailable: (authHandlers: string[], authConfig: AuthConfigMap) => boolean;\n };\n};\n\nexport function isLegacyAuthPlugin(\n plugin: PluginModule\n): plugin is LegacyAuthPlugin {\n return 'AuthPlugin' in plugin;\n}\n\nexport type PluginModuleMap = Map<string, VersionedPluginModule>;\n\n/**\n * @deprecated Use TablePlugin instead\n */\nexport type LegacyTablePlugin = {\n TablePlugin: TablePluginComponent;\n};\n\nexport function isLegacyTablePlugin(\n plugin: PluginModule\n): plugin is LegacyTablePlugin {\n return 'TablePlugin' in plugin;\n}\n\n/**\n * @deprecated Use Plugin instead\n */\nexport type LegacyPlugin =\n | LegacyDashboardPlugin\n | LegacyAuthPlugin\n | LegacyTablePlugin;\n\nexport function isLegacyPlugin(plugin: unknown): plugin is LegacyPlugin {\n return (\n isLegacyDashboardPlugin(plugin as PluginModule) ||\n isLegacyAuthPlugin(plugin as PluginModule) ||\n isLegacyTablePlugin(plugin as PluginModule)\n );\n}\n\nexport type PluginModule = Plugin | LegacyPlugin;\n\nexport type VersionedPluginModule = PluginModule & { version?: string };\n\nexport interface Plugin {\n /**\n * The name of the plugin. This will be used as an identifier for the plugin and should be unique.\n */\n name: string;\n\n /**\n * The type of plugin.\n */\n type: (typeof PluginType)[keyof typeof PluginType];\n}\n\n/**\n * A plugin that will be mounted to the dashboard.\n */\nexport interface DashboardPlugin extends Plugin {\n type: typeof PluginType.DASHBOARD_PLUGIN;\n /**\n * The component to mount for the dashboard plugin.\n * This component is used to initialize the plugin and will only be mounted to the dashboard once.\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n component: React.ComponentType<any>;\n}\n\nexport function isDashboardPlugin(\n plugin: PluginModule\n): plugin is DashboardPlugin {\n return 'type' in plugin && plugin.type === PluginType.DASHBOARD_PLUGIN;\n}\n\nexport interface WidgetComponentProps<T = unknown> {\n /**\n * Function to fetch the widget data.\n * @returns A promise that resolves to the widget data.\n */\n fetch: () => Promise<T>;\n /**\n * A unique identifier for the widget.\n * dh.ui uses this to identify widgets within a dashboard or panel.\n */\n __dhId?: string;\n}\n\nexport interface WidgetPanelProps<T = unknown> extends WidgetComponentProps<T> {\n metadata?: dh.ide.VariableDescriptor;\n localDashboardId: string;\n glContainer: ItemContainer;\n glEventHub: EventEmitter;\n}\n\nexport interface WidgetPlugin<T = unknown> extends Plugin {\n type: typeof PluginType.WIDGET_PLUGIN;\n /**\n * The component that can render the widget types the plugin supports.\n *\n * If the widget should be opened as a panel by itself (determined by the UI),\n * then `panelComponent` will be used instead.\n * The component will be wrapped in a default panel if `panelComponent` is not provided.\n */\n component: React.ComponentType<WidgetComponentProps<T>>;\n\n /**\n * The server widget types that this plugin will handle.\n */\n supportedTypes: string | string[];\n\n /**\n * The title to display for widgets handled by the plugin.\n * This is a user friendly name to denote the type of widget.\n * Does not have to be unique across plugins.\n * If not specified, the plugin name will be used as the title.\n *\n * A plugin may have a name of `@deehaven/pandas` and a title of `Pandas`.\n * This way, the user will just see `Pandas panel` instead of `@deephaven/pandas panel`.\n */\n title?: string;\n\n /**\n * The component to use if the widget should be mounted as a panel.\n * If omitted, the default panel will be used.\n * This provides access to panel events such as onHide and onTabFocus.\n *\n * See @deephaven/dashboard-core-plugins WidgetPanel for the component that should be used here.\n */\n panelComponent?: React.ComponentType<WidgetPanelProps<T>>;\n\n /**\n * The icon to display next to the console button.\n * If a react node is provided (including a string), it will be rendered directly.\n * If no icon is specified, the default widget icon will be used.\n */\n icon?: IconDefinition | React.ReactElement<unknown>;\n}\n\nexport function isWidgetPlugin(plugin: PluginModule): plugin is WidgetPlugin {\n return 'type' in plugin && plugin.type === PluginType.WIDGET_PLUGIN;\n}\n\nexport interface TablePlugin extends Plugin {\n type: typeof PluginType.TABLE_PLUGIN;\n component: TablePluginComponent;\n}\n\nexport function isTablePlugin(plugin: PluginModule): plugin is TablePlugin {\n return 'type' in plugin && plugin.type === PluginType.TABLE_PLUGIN;\n}\n\n/**\n * Map from auth config keys to their values\n * E.g. Map { AuthHandlers → \"io.deephaven.auth.AnonymousAuthenticationHandler\" }\n */\nexport type AuthConfigMap = Map<string, string>;\n\n/**\n * Props for the auth plugin component to render\n */\nexport type AuthPluginProps = {\n /** Map from config keys to their values */\n authConfigValues: AuthConfigMap;\n\n /**\n * The children to render after authentication is completed.\n */\n children: React.ReactNode;\n};\n\nexport type AuthPluginComponent = React.ComponentType<AuthPluginProps>;\n\nexport interface AuthPlugin extends Plugin {\n type: typeof PluginType.AUTH_PLUGIN;\n /**\n * The component to mount if the AuthPlugin is available\n */\n component: AuthPluginComponent;\n /**\n * Whether the auth plugin is available given the current configuration\n */\n isAvailable: (authHandlers: string[], authConfig: AuthConfigMap) => boolean;\n}\n\nexport function isAuthPlugin(plugin: PluginModule): plugin is AuthPlugin {\n return 'type' in plugin && plugin.type === PluginType.AUTH_PLUGIN;\n}\n\nexport interface ThemeConfig {\n name: string;\n baseTheme?: BaseThemeType;\n styleContent: string;\n}\n\nexport interface ThemePlugin extends Plugin {\n type: typeof PluginType.THEME_PLUGIN;\n themes: ThemeConfig | ThemeConfig[];\n}\n\n/** Type guard to check if given plugin is a `ThemePlugin` */\nexport function isThemePlugin(plugin: PluginModule): plugin is ThemePlugin {\n return 'type' in plugin && plugin.type === PluginType.THEME_PLUGIN;\n}\n\nexport type ElementName = string;\n\n/** A mapping of element names to their React components. */\nexport type ElementPluginMappingDefinition<\n P extends Record<ElementName, unknown> = Record<string, never>,\n> = {\n [K in keyof P]: React.ComponentType<P[K]>;\n};\n\nexport type ElementMap<\n P extends Record<string, unknown> = Record<string, never>,\n> = ReadonlyMap<\n keyof P extends never ? string : keyof P,\n React.ComponentType<P[keyof P]>\n>;\n\n/** An element plugin is used by deephaven.ui to render custom components\n * The mapping contains the element names as keys and the React components as values.\n */\nexport interface ElementPlugin extends Plugin {\n type: typeof PluginType.ELEMENT_PLUGIN;\n mapping: ElementPluginMappingDefinition;\n}\n\nexport function isElementPlugin(plugin: PluginModule): plugin is ElementPlugin {\n return 'type' in plugin && plugin.type === PluginType.ELEMENT_PLUGIN;\n}\n\nexport function isPlugin(plugin: unknown): plugin is Plugin {\n return (\n isDashboardPlugin(plugin as PluginModule) ||\n isAuthPlugin(plugin as PluginModule) ||\n isTablePlugin(plugin as PluginModule) ||\n isThemePlugin(plugin as PluginModule) ||\n isWidgetPlugin(plugin as PluginModule) ||\n isElementPlugin(plugin as PluginModule)\n );\n}\n"],"mappings":"AASA,OAAO,IAAMA,UAAU,GAAGC,MAAM,CAACC,MAAM,CAAC;EACtCC,WAAW,EAAE,YAAY;EACzBC,gBAAgB,EAAE,iBAAiB;EACnCC,aAAa,EAAE,cAAc;EAC7BC,YAAY,EAAE,aAAa;EAC3BC,YAAY,EAAE,aAAa;EAC3BC,cAAc,EAAE;AAClB,CAAC,CAAC;;AAEF;AACA;AACA;;AAGA,OAAO,SAASC,uBAAuBA,CACrCC,MAAoB,EACa;EACjC,OAAO,iBAAiB,IAAIA,MAAM;AACpC;;AAEA;AACA;AACA;;AAQA,OAAO,SAASC,kBAAkBA,CAChCD,MAAoB,EACQ;EAC5B,OAAO,YAAY,IAAIA,MAAM;AAC/B;;AAIA;AACA;AACA;;AAKA,OAAO,SAASE,mBAAmBA,CACjCF,MAAoB,EACS;EAC7B,OAAO,aAAa,IAAIA,MAAM;AAChC;;AAEA;AACA;AACA;;AAMA,OAAO,SAASG,cAAcA,CAACH,MAAe,EAA0B;EACtE,OACED,uBAAuB,CAACC,MAAsB,CAAC,IAC/CC,kBAAkB,CAACD,MAAsB,CAAC,IAC1CE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":"PluginTypes.js","names":["PluginType","Object","freeze","AUTH_PLUGIN","DASHBOARD_PLUGIN","ELEMENT_PLUGIN","MULTI_PLUGIN","TABLE_PLUGIN","THEME_PLUGIN","WIDGET_PLUGIN","isLegacyDashboardPlugin","plugin","isLegacyAuthPlugin","isLegacyTablePlugin","isLegacyPlugin","isDashboardPlugin","type","isWidgetPlugin","isTablePlugin","isAuthPlugin","isThemePlugin","isElementPlugin","isMultiPlugin","isPlugin"],"sources":["../src/PluginTypes.ts"],"sourcesContent":["import type { BaseThemeType } from '@deephaven/components';\nimport {\n type EventEmitter,\n type ItemContainer,\n} from '@deephaven/golden-layout';\nimport type { dh } from '@deephaven/jsapi-types';\nimport type { IconDefinition } from '@fortawesome/fontawesome-common-types';\nimport type { TablePluginComponent } from './TablePlugin';\n\nexport const PluginType = Object.freeze({\n AUTH_PLUGIN: 'AuthPlugin',\n DASHBOARD_PLUGIN: 'DashboardPlugin',\n ELEMENT_PLUGIN: 'ElementPlugin',\n MULTI_PLUGIN: 'MultiPlugin',\n TABLE_PLUGIN: 'TablePlugin',\n THEME_PLUGIN: 'ThemePlugin',\n WIDGET_PLUGIN: 'WidgetPlugin',\n});\n\n/**\n * @deprecated Use DashboardPlugin instead\n */\nexport type LegacyDashboardPlugin = { DashboardPlugin: React.ComponentType };\n\nexport function isLegacyDashboardPlugin(\n plugin: PluginModuleExport\n): plugin is LegacyDashboardPlugin {\n return 'DashboardPlugin' in plugin;\n}\n\n/**\n * @deprecated Use AuthPlugin instead\n */\nexport type LegacyAuthPlugin = {\n AuthPlugin: {\n Component: React.ComponentType<AuthPluginProps>;\n isAvailable: (authHandlers: string[], authConfig: AuthConfigMap) => boolean;\n };\n};\n\nexport function isLegacyAuthPlugin(\n plugin: PluginModuleExport\n): plugin is LegacyAuthPlugin {\n return 'AuthPlugin' in plugin;\n}\n\nexport type PluginModuleMap = Map<string, VersionedPluginModuleExport>;\n\n/**\n * @deprecated Use TablePlugin instead\n */\nexport type LegacyTablePlugin = {\n TablePlugin: TablePluginComponent;\n};\n\nexport function isLegacyTablePlugin(\n plugin: PluginModuleExport\n): plugin is LegacyTablePlugin {\n return 'TablePlugin' in plugin;\n}\n\n/**\n * @deprecated Use Plugin instead\n */\nexport type LegacyPlugin =\n | LegacyDashboardPlugin\n | LegacyAuthPlugin\n | LegacyTablePlugin;\n\nexport function isLegacyPlugin(plugin: unknown): plugin is LegacyPlugin {\n return (\n isLegacyDashboardPlugin(plugin as PluginModuleExport) ||\n isLegacyAuthPlugin(plugin as PluginModuleExport) ||\n isLegacyTablePlugin(plugin as PluginModuleExport)\n );\n}\n\nexport type PluginModuleExport = Plugin | LegacyPlugin;\n\n/** @deprecated Use PluginModuleExport instead */\nexport type PluginModule = PluginModuleExport;\n\nexport type VersionedPluginModuleExport = PluginModuleExport & {\n version?: string;\n};\n\n/** @deprecated Use VersionedPluginModuleExport instead */\nexport type VersionedPluginModule = VersionedPluginModuleExport;\n\nexport interface Plugin {\n /**\n * The name of the plugin. This will be used as an identifier for the plugin and should be unique.\n */\n name: string;\n\n /**\n * The type of plugin.\n */\n type: (typeof PluginType)[keyof typeof PluginType];\n}\n\n/**\n * A plugin that will be mounted to the dashboard.\n */\nexport interface DashboardPlugin extends Plugin {\n type: typeof PluginType.DASHBOARD_PLUGIN;\n /**\n * The component to mount for the dashboard plugin.\n * This component is used to initialize the plugin and will only be mounted to the dashboard once.\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n component: React.ComponentType<any>;\n}\n\nexport function isDashboardPlugin(\n plugin: PluginModuleExport\n): plugin is DashboardPlugin {\n return 'type' in plugin && plugin.type === PluginType.DASHBOARD_PLUGIN;\n}\n\nexport interface WidgetComponentProps<T = unknown> {\n /**\n * Function to fetch the widget data.\n * @returns A promise that resolves to the widget data.\n */\n fetch: () => Promise<T>;\n /**\n * A unique identifier for the widget.\n * dh.ui uses this to identify widgets within a dashboard or panel.\n */\n __dhId?: string;\n}\n\nexport interface WidgetPanelProps<T = unknown> extends WidgetComponentProps<T> {\n metadata?: dh.ide.VariableDescriptor;\n localDashboardId: string;\n glContainer: ItemContainer;\n glEventHub: EventEmitter;\n}\n\nexport interface WidgetPlugin<T = unknown> extends Plugin {\n type: typeof PluginType.WIDGET_PLUGIN;\n /**\n * The component that can render the widget types the plugin supports.\n *\n * If the widget should be opened as a panel by itself (determined by the UI),\n * then `panelComponent` will be used instead.\n * The component will be wrapped in a default panel if `panelComponent` is not provided.\n */\n component: React.ComponentType<WidgetComponentProps<T>>;\n\n /**\n * The server widget types that this plugin will handle.\n */\n supportedTypes: string | string[];\n\n /**\n * The title to display for widgets handled by the plugin.\n * This is a user friendly name to denote the type of widget.\n * Does not have to be unique across plugins.\n * If not specified, the plugin name will be used as the title.\n *\n * A plugin may have a name of `@deehaven/pandas` and a title of `Pandas`.\n * This way, the user will just see `Pandas panel` instead of `@deephaven/pandas panel`.\n */\n title?: string;\n\n /**\n * The component to use if the widget should be mounted as a panel.\n * If omitted, the default panel will be used.\n * This provides access to panel events such as onHide and onTabFocus.\n *\n * See @deephaven/dashboard-core-plugins WidgetPanel for the component that should be used here.\n */\n panelComponent?: React.ComponentType<WidgetPanelProps<T>>;\n\n /**\n * The icon to display next to the console button.\n * If a react node is provided (including a string), it will be rendered directly.\n * If no icon is specified, the default widget icon will be used.\n */\n icon?: IconDefinition | React.ReactElement<unknown>;\n}\n\nexport function isWidgetPlugin(\n plugin: PluginModuleExport\n): plugin is WidgetPlugin {\n return 'type' in plugin && plugin.type === PluginType.WIDGET_PLUGIN;\n}\n\nexport interface TablePlugin extends Plugin {\n type: typeof PluginType.TABLE_PLUGIN;\n component: TablePluginComponent;\n}\n\nexport function isTablePlugin(\n plugin: PluginModuleExport\n): plugin is TablePlugin {\n return 'type' in plugin && plugin.type === PluginType.TABLE_PLUGIN;\n}\n\n/**\n * Map from auth config keys to their values\n * E.g. Map { AuthHandlers → \"io.deephaven.auth.AnonymousAuthenticationHandler\" }\n */\nexport type AuthConfigMap = Map<string, string>;\n\n/**\n * Props for the auth plugin component to render\n */\nexport type AuthPluginProps = {\n /** Map from config keys to their values */\n authConfigValues: AuthConfigMap;\n\n /**\n * The children to render after authentication is completed.\n */\n children: React.ReactNode;\n};\n\nexport type AuthPluginComponent = React.ComponentType<AuthPluginProps>;\n\nexport interface AuthPlugin extends Plugin {\n type: typeof PluginType.AUTH_PLUGIN;\n /**\n * The component to mount if the AuthPlugin is available\n */\n component: AuthPluginComponent;\n /**\n * Whether the auth plugin is available given the current configuration\n */\n isAvailable: (authHandlers: string[], authConfig: AuthConfigMap) => boolean;\n}\n\nexport function isAuthPlugin(plugin: PluginModuleExport): plugin is AuthPlugin {\n return 'type' in plugin && plugin.type === PluginType.AUTH_PLUGIN;\n}\n\nexport interface ThemeConfig {\n name: string;\n baseTheme?: BaseThemeType;\n styleContent: string;\n}\n\nexport interface ThemePlugin extends Plugin {\n type: typeof PluginType.THEME_PLUGIN;\n themes: ThemeConfig | ThemeConfig[];\n}\n\n/** Type guard to check if given plugin is a `ThemePlugin` */\nexport function isThemePlugin(\n plugin: PluginModuleExport\n): plugin is ThemePlugin {\n return 'type' in plugin && plugin.type === PluginType.THEME_PLUGIN;\n}\n\nexport type ElementName = string;\n\n/** A mapping of element names to their React components. */\nexport type ElementPluginMappingDefinition<\n P extends Record<ElementName, unknown> = Record<string, never>,\n> = {\n [K in keyof P]: React.ComponentType<P[K]>;\n};\n\nexport type ElementMap<\n P extends Record<string, unknown> = Record<string, never>,\n> = ReadonlyMap<\n keyof P extends never ? string : keyof P,\n React.ComponentType<P[keyof P]>\n>;\n\n/** An element plugin is used by deephaven.ui to render custom components\n * The mapping contains the element names as keys and the React components as values.\n */\nexport interface ElementPlugin extends Plugin {\n type: typeof PluginType.ELEMENT_PLUGIN;\n mapping: ElementPluginMappingDefinition;\n}\n\nexport function isElementPlugin(\n plugin: PluginModuleExport\n): plugin is ElementPlugin {\n return 'type' in plugin && plugin.type === PluginType.ELEMENT_PLUGIN;\n}\n\n/**\n * A plugin that contains multiple plugins.\n * When loaded, each plugin in the `plugins` array will be registered individually.\n */\nexport interface MultiPlugin extends Plugin {\n type: typeof PluginType.MULTI_PLUGIN;\n /**\n * The plugins to register. Each plugin will be registered by its own name.\n * Note: Nested MultiPlugins are not supported.\n */\n plugins: Plugin[];\n}\n\n/** Type guard to check if given plugin is a `MultiPlugin` */\nexport function isMultiPlugin(\n plugin: PluginModuleExport\n): plugin is MultiPlugin {\n return 'type' in plugin && plugin.type === PluginType.MULTI_PLUGIN;\n}\n\nexport function isPlugin(plugin: unknown): plugin is Plugin {\n return (\n isDashboardPlugin(plugin as PluginModuleExport) ||\n isAuthPlugin(plugin as PluginModuleExport) ||\n isElementPlugin(plugin as PluginModuleExport) ||\n isMultiPlugin(plugin as PluginModuleExport) ||\n isTablePlugin(plugin as PluginModuleExport) ||\n isThemePlugin(plugin as PluginModuleExport) ||\n isWidgetPlugin(plugin as PluginModuleExport)\n );\n}\n"],"mappings":"AASA,OAAO,IAAMA,UAAU,GAAGC,MAAM,CAACC,MAAM,CAAC;EACtCC,WAAW,EAAE,YAAY;EACzBC,gBAAgB,EAAE,iBAAiB;EACnCC,cAAc,EAAE,eAAe;EAC/BC,YAAY,EAAE,aAAa;EAC3BC,YAAY,EAAE,aAAa;EAC3BC,YAAY,EAAE,aAAa;EAC3BC,aAAa,EAAE;AACjB,CAAC,CAAC;;AAEF;AACA;AACA;;AAGA,OAAO,SAASC,uBAAuBA,CACrCC,MAA0B,EACO;EACjC,OAAO,iBAAiB,IAAIA,MAAM;AACpC;;AAEA;AACA;AACA;;AAQA,OAAO,SAASC,kBAAkBA,CAChCD,MAA0B,EACE;EAC5B,OAAO,YAAY,IAAIA,MAAM;AAC/B;;AAIA;AACA;AACA;;AAKA,OAAO,SAASE,mBAAmBA,CACjCF,MAA0B,EACG;EAC7B,OAAO,aAAa,IAAIA,MAAM;AAChC;;AAEA;AACA;AACA;;AAMA,OAAO,SAASG,cAAcA,CAACH,MAAe,EAA0B;EACtE,OACED,uBAAuB,CAACC,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ACEI,iBAAiB,CAACJ,MAA4B,CAAC,IAC/CQ,YAAY,CAACR,MAA4B,CAAC,IAC1CU,eAAe,CAACV,MAA4B,CAAC,IAC7CW,aAAa,CAACX,MAA4B,CAAC,IAC3CO,aAAa,CAACP,MAA4B,CAAC,IAC3CS,aAAa,CAACT,MAA4B,CAAC,IAC3CM,cAAc,CAACN,MAA4B,CAAC;AAEhD","ignoreList":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deephaven/plugin",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.17.0",
|
|
4
4
|
"description": "Deephaven JS Plugin Core",
|
|
5
5
|
"author": "Deephaven Data Labs LLC",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -22,12 +22,12 @@
|
|
|
22
22
|
"build:babel": "babel ./src --out-dir ./dist --extensions \".ts,.tsx,.js,.jsx\" --source-maps --root-mode upward"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@deephaven/components": "^1.
|
|
26
|
-
"@deephaven/dashboard": "^1.
|
|
27
|
-
"@deephaven/golden-layout": "^1.
|
|
25
|
+
"@deephaven/components": "^1.17.0",
|
|
26
|
+
"@deephaven/dashboard": "^1.17.0",
|
|
27
|
+
"@deephaven/golden-layout": "^1.17.0",
|
|
28
28
|
"@deephaven/grid": "^1.15.1",
|
|
29
29
|
"@deephaven/icons": "^1.2.0",
|
|
30
|
-
"@deephaven/iris-grid": "^1.
|
|
30
|
+
"@deephaven/iris-grid": "^1.17.0",
|
|
31
31
|
"@deephaven/jsapi-types": "^1.0.0-dev0.40.4",
|
|
32
32
|
"@deephaven/log": "^1.8.0",
|
|
33
33
|
"@deephaven/react-hooks": "^1.14.0",
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"publishConfig": {
|
|
45
45
|
"access": "public"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "a0ef312b2294f1452952cf7a9c95636dd9f65a59"
|
|
48
48
|
}
|