@base-framework/base 3.0.345 → 3.0.347

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.
@@ -1,2 +1,2 @@
1
- export function Pod(callBack: Function, extend?: object): typeof Component;
1
+ export function Pod(callBack: Function, extend?: typeof Component): typeof Component;
2
2
  import { Component } from './component.js';
@@ -20,6 +20,34 @@
20
20
  * }
21
21
  */
22
22
  export class Unit {
23
+ /**
24
+ * This will check if the layout is a component layout.
25
+ *
26
+ * @protected
27
+ * @static
28
+ * @param {*} layout
29
+ * @returns {boolean}
30
+ */
31
+ protected static _isComponentLayout(layout: any): boolean;
32
+ /**
33
+ * This will resume the scope of the component layout.
34
+ *
35
+ * @static
36
+ * @param {object} oldLayout
37
+ * @param {object} newLayout
38
+ * @returns {void}
39
+ */
40
+ static applyChildrenScope(oldLayout: object, newLayout: object): void;
41
+ /**
42
+ * This will apply the scope to the children of the layout.
43
+ *
44
+ * @protected
45
+ * @static
46
+ * @param {object} oldLayout
47
+ * @param {object} newLayout
48
+ * @returns {void}
49
+ */
50
+ protected static _applyScopeToChildren(oldLayout: object, newLayout: object): void;
23
51
  /**
24
52
  * This will create a unit.
25
53
  *
@@ -185,21 +213,6 @@ export class Unit {
185
213
  * @returns {object}
186
214
  */
187
215
  protected _cacheRoot(layout: object): object;
188
- /**
189
- * This will check if the layout is a component layout.
190
- *
191
- * @param {*} layout
192
- * @returns {boolean}
193
- */
194
- _isComponentLayout(layout: any): boolean;
195
- /**
196
- * This will resume the scope of the component layout.
197
- *
198
- * @param {object} oldLayout
199
- * @param {object} newLayout
200
- * @returns {void}
201
- */
202
- applyChildrenScope(oldLayout: object, newLayout: object): void;
203
216
  /**
204
217
  * This will create the component layout.
205
218
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@base-framework/base",
3
- "version": "3.0.345",
3
+ "version": "3.0.347",
4
4
  "description": "This is a javascript framework.",
5
5
  "main": "./dist/base.js",
6
6
  "type": "module",