@base-framework/base 3.0.341 → 3.0.342

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.
@@ -46,6 +46,14 @@ export class Component extends Unit {
46
46
  * @returns {void}
47
47
  */
48
48
  protected _setupData(): void;
49
+ /**
50
+ * This will resume the component scope when persisting.
51
+ *
52
+ * @param {object} data
53
+ * @param {object} state
54
+ * @returns {void}
55
+ */
56
+ resumeScope(data: object, state: object): void;
49
57
  /**
50
58
  * This will initialize the component.
51
59
  *
@@ -185,6 +185,21 @@ export class Unit {
185
185
  * @returns {object}
186
186
  */
187
187
  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;
188
203
  /**
189
204
  * This will create the component layout.
190
205
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@base-framework/base",
3
- "version": "3.0.341",
3
+ "version": "3.0.342",
4
4
  "description": "This is a javascript framework.",
5
5
  "main": "./dist/base.js",
6
6
  "type": "module",