@base-framework/base 3.0.229 → 3.0.231

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,58 @@
1
+ /**
2
+ * Group
3
+ *
4
+ * This will setup a depends group to load all
5
+ * dependencies before loaded the script.
6
+ *
7
+ * @class
8
+ */
9
+ export class Group {
10
+ /**
11
+ * This will create a group.
12
+ *
13
+ * @param {function} callBack
14
+ */
15
+ constructor(callBack: Function);
16
+ /**
17
+ * @member {number} percent
18
+ */
19
+ percent: number;
20
+ /**
21
+ * @member {number} loaded
22
+ */
23
+ loaded: number;
24
+ /**
25
+ * @member {number} total
26
+ */
27
+ total: number;
28
+ /**
29
+ * @member {function} callBack
30
+ */
31
+ callBack: Function;
32
+ /**
33
+ * This will add the resource to the document.
34
+ *
35
+ * @param {string} src
36
+ * @returns {void}
37
+ */
38
+ add(src: string): void;
39
+ /**
40
+ * This will add the dependencies to the document.
41
+ *
42
+ * @param {array} files
43
+ * @returns {void}
44
+ */
45
+ addFiles(files: any[]): void;
46
+ /**
47
+ * This will update the progress.
48
+ *
49
+ * @returns {void}
50
+ */
51
+ update(): void;
52
+ /**
53
+ * This will update the progress.
54
+ *
55
+ * @returns {number}
56
+ */
57
+ updateProgress(): number;
58
+ }
@@ -0,0 +1,11 @@
1
+ /**
2
+ * ImportWrapper
3
+ *
4
+ * This will create an import wrapper component that
5
+ * will wrap the comment atom to pass route to the
6
+ * imported layout.
7
+ *
8
+ * @param {object} props
9
+ * @returns {Constructor}
10
+ */
11
+ export const ImportWrapper: import("../component/jot.js").ComponentConstructor;
@@ -38,7 +38,8 @@ export class ComponentHelper {
38
38
  */
39
39
  protected setupTemplate(): void;
40
40
  /**
41
- * This will initialize the component.
41
+ * This will initialize the component by calling the function
42
+ * that should return a new instance of a component.
42
43
  *
43
44
  * @protected
44
45
  * @returns {void}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@base-framework/base",
3
- "version": "3.0.229",
3
+ "version": "3.0.231",
4
4
  "description": "This is a javascript framework.",
5
5
  "main": "./dist/base.js",
6
6
  "type": "module",