@tenorlab/react-dashboard 1.1.2 → 1.1.4
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.
|
@@ -6,6 +6,7 @@ export type TWidgetMetaInfoBase<TFrameworkElementType = any> = {
|
|
|
6
6
|
categories: TWidgetCategory[];
|
|
7
7
|
noDuplicatedWidgets?: boolean;
|
|
8
8
|
icon: TFrameworkElementType | undefined;
|
|
9
|
+
externalDependencies: string[];
|
|
9
10
|
};
|
|
10
11
|
export interface IDashboardGridPropsBase {
|
|
11
12
|
isEditing: boolean;
|
|
@@ -43,15 +44,6 @@ export interface IDashboardWidgetPropsBase {
|
|
|
43
44
|
export type TWidgetFactoryBase<TFrameworkComponent = any> = () => Promise<{
|
|
44
45
|
default: TFrameworkComponent;
|
|
45
46
|
}>;
|
|
46
|
-
/**
|
|
47
|
-
* 2. Define the flexible Catalog Entry
|
|
48
|
-
* Definition of a single widget or container in the catalog.
|
|
49
|
-
* It must have EITHER a direct 'component' reference OR a 'loader' function.
|
|
50
|
-
*
|
|
51
|
-
* TWidgetMetaInfo: see TWidgetMetaInfoBase
|
|
52
|
-
* TWidgetFactory: see TWidgetFactoryBase
|
|
53
|
-
* TComponent: i.e. React.ComponentType<any>
|
|
54
|
-
*/
|
|
55
47
|
/**
|
|
56
48
|
* 2. Define the flexible Catalog Entry
|
|
57
49
|
* Definition of a single widget or container in the catalog.
|