@base-framework/base 3.0.279 → 3.0.281

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,26 @@
1
+ /**
2
+ * LayoutManager
3
+ *
4
+ * This will process the layout for the component or atom.
5
+ *
6
+ * @class
7
+ */
8
+ export class LayoutManager {
9
+ /**
10
+ * Processes and configures a layout from a module.
11
+ *
12
+ * @param {object} module
13
+ * @param {object} config
14
+ * @returns {object|null}
15
+ */
16
+ static process(module: object, config: object): object | null;
17
+ /**
18
+ * This will render the layout to the DOM.
19
+ *
20
+ * @param {object} layout
21
+ * @param {object} element
22
+ * @param {object} parent
23
+ * @return {object|null}
24
+ */
25
+ static render(layout: object, element: object, parent: object): object | null;
26
+ }
@@ -0,0 +1,17 @@
1
+ /**
2
+ * ModuleLoader
3
+ *
4
+ * This will load a module from a source.
5
+ *
6
+ * @class
7
+ */
8
+ export class ModuleLoader {
9
+ /**
10
+ * Loads a module from a source.
11
+ *
12
+ * @param {Promise} modulePromise
13
+ * @param {function} callback
14
+ * @returns {Promise}
15
+ */
16
+ static load(modulePromise: Promise<any>, callback: Function): Promise<any>;
17
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@base-framework/base",
3
- "version": "3.0.279",
3
+ "version": "3.0.281",
4
4
  "description": "This is a javascript framework.",
5
5
  "main": "./dist/base.js",
6
6
  "type": "module",