@base-framework/base 3.0.104 → 3.0.107

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.
@@ -12,18 +12,18 @@ export class Builder {
12
12
  * @param {object|function} layout
13
13
  * @param {object} container
14
14
  * @param {object} [parent]
15
- * @returns {object|null} The layout Unit, Component, or null.
15
+ * @returns {*} The render result.
16
16
  */
17
- static render(layout: object | Function, container: object, parent?: object): object | null;
17
+ static render(layout: object | Function, container: object, parent?: object): any;
18
18
  /**
19
19
  * This will build a JSON layout.
20
20
  *
21
21
  * @param {object} obj The JSON layout.
22
22
  * @param {object} [container] The parent receiving the layout.
23
23
  * @param {object} [parent] The component adding the layout.
24
- * @returns {object} The doc Frag element.
24
+ * @returns {*} The render result.
25
25
  */
26
- static build(obj: object, container?: object, parent?: object): object;
26
+ static build(obj: object, container?: object, parent?: object): any;
27
27
  /**
28
28
  * This will rebuild a layout.
29
29
  *
@@ -33,63 +33,6 @@ export class Builder {
33
33
  * @returns {object}
34
34
  */
35
35
  static rebuild(layout: object, ele: object, parent: object): object;
36
- /**
37
- * This will build an element or component.
38
- *
39
- * @protected
40
- * @param {object} obj
41
- * @param {object} container
42
- * @param {object} [parent] The component adding the layout.
43
- * @returns {void}
44
- */
45
- protected static buildElement(obj: object, container: object, parent?: object): void;
46
- /**
47
- * This will create an element.
48
- *
49
- * @protected
50
- * @param {object} obj
51
- * @param {object} container
52
- * @param {object} [parent] The component adding the layout.
53
- * @returns {void}
54
- */
55
- protected static createElement(obj: object, container: object, parent?: object): void;
56
- /**
57
- * This will add the element directives.
58
- *
59
- * @param {object} ele
60
- * @param {array} directives
61
- * @param {object} parent
62
- * @returns {void}
63
- */
64
- static setDirectives(ele: object, directives: any[], parent: object): void;
65
- /**
66
- * This will handle an attr directive.
67
- *
68
- * @protected
69
- * @param {object} ele
70
- * @param {object} attrDirective
71
- * @param {object} parent
72
- * @returns {void}
73
- */
74
- protected static handleDirective(ele: object, attrDirective: object, parent: object): void;
75
- /**
76
- * This will cache an element ot the parent.
77
- *
78
- * @param {object} ele
79
- * @param {object} propName
80
- * @param {object} parent
81
- */
82
- static cache(ele: object, propName: object, parent: object): void;
83
- /**
84
- * This will create a component.
85
- *
86
- * @protected
87
- * @param {object} obj
88
- * @param {object} container
89
- * @param {object} parent
90
- * @returns {void}
91
- */
92
- protected static createComponent(obj: object, container: object, parent: object): void;
93
36
  /**
94
37
  * This will create a node.
95
38
  *
@@ -12,7 +12,7 @@ export class Render {
12
12
  * @param {object} obj The JSON layout.
13
13
  * @param {object} [container] The parent receiving the layout.
14
14
  * @param {object} [parent] The component adding the layout.
15
- * @returns {*} The layout result
15
+ * @returns {*} The layout result.
16
16
  */
17
17
  build(obj: object, container?: object, parent?: object): any;
18
18
  /**
@@ -21,9 +21,9 @@ export class Render {
21
21
  * @param {object} obj
22
22
  * @param {object} container
23
23
  * @param {object} parent
24
- * @returns {void}
24
+ * @returns {*} the build result.
25
25
  */
26
- createComponent(obj: object, container: object, parent: object): void;
26
+ createComponent(obj: object, container: object, parent: object): any;
27
27
  /**
28
28
  * This will remove all the children from an element.
29
29
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@base-framework/base",
3
- "version": "3.0.104",
3
+ "version": "3.0.107",
4
4
  "description": "This is a javascript framework.",
5
5
  "main": "./dist/base.js",
6
6
  "type": "module",