mftsccs-browser 2.1.8-beta → 2.1.10-beta
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.
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Method to handle message event in service worker
|
|
3
|
+
* @param event any
|
|
4
|
+
* @returns Promise<void>
|
|
5
|
+
*/
|
|
6
|
+
export declare function handleMessageEvent(event: any): Promise<void>;
|
|
7
|
+
/**
|
|
8
|
+
* Method to check and inform main thread if sw is not initialized
|
|
9
|
+
* @returns boolean
|
|
10
|
+
*/
|
|
11
|
+
export declare const checkSWInitialization: () => boolean;
|
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
import { BuilderStatefulWidget, WidgetTree } from "../app";
|
|
1
2
|
export declare function renderPage(pageId: number, attachNode: HTMLElement, props?: any): Promise<void>;
|
|
2
3
|
export declare function renderLatestWidget(widgetId: number, attachNode: HTMLElement, props?: any): Promise<void>;
|
|
3
4
|
export declare function renderWidget(widgetId: number, attachNode: HTMLElement, props?: any): Promise<void>;
|
|
5
|
+
/**
|
|
6
|
+
*
|
|
7
|
+
* @param tree Widget tree from getWidgetFromId(widgetId);
|
|
8
|
+
* @param parentElement this is the dom element on which we want to add our widget
|
|
9
|
+
* @returns the widgetree with widgets attached inside of it.
|
|
10
|
+
* Also this will add the tree to the dom.
|
|
11
|
+
*/
|
|
12
|
+
export declare function convertWidgetTreeToWidget(tree: WidgetTree, parentElement: HTMLElement, isMain?: boolean, props?: any): Promise<BuilderStatefulWidget>;
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @param tree Widget tree from getWidgetFromId(widgetId);
|
|
16
|
+
* @param parentElement this is the dom element on which we want to add our widget
|
|
17
|
+
* @returns the widgetree with widgets attached inside of it.
|
|
18
|
+
* Also this will add the tree to the dom.
|
|
19
|
+
*/
|
|
20
|
+
export declare function convertWidgetTreeToWidgetWithWrapper(tree: WidgetTree, parentElement: HTMLElement, isMain?: boolean, state?: object): Promise<BuilderStatefulWidget>;
|
|
21
|
+
export declare function unwrapContainers(parentElement: HTMLElement, selector: string): Promise<void>;
|
package/dist/types/app.d.ts
CHANGED
|
@@ -120,7 +120,7 @@ export { WidgetTree } from './Widgets/WidgetTree';
|
|
|
120
120
|
export { DeleteUser } from './Services/DeleteConcept';
|
|
121
121
|
export { AccessTracker } from './AccessTracker/accessTracker';
|
|
122
122
|
export { CreateConnectionBetweenEntityLocal } from './Services/CreateConnection/CreateConnectionEntity';
|
|
123
|
-
export { renderLatestWidget, renderPage, renderWidget } from './Widgets/RenderWidgetService';
|
|
123
|
+
export { renderLatestWidget, renderPage, renderWidget, convertWidgetTreeToWidgetWithWrapper, convertWidgetTreeToWidget, unwrapContainers } from './Widgets/RenderWidgetService';
|
|
124
124
|
type listeners = {
|
|
125
125
|
listenerId: string | number;
|
|
126
126
|
callback: any;
|