@base-framework/base 3.0.228 → 3.0.230

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.
@@ -19,13 +19,6 @@
19
19
  * }
20
20
  */
21
21
  export class Component extends Unit {
22
- /**
23
- * This will create a component.
24
- *
25
- * @constructor
26
- * @param {array} args
27
- */
28
- constructor(...args: any[]);
29
22
  /**
30
23
  * @param {boolean} isComponent
31
24
  */
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@base-framework/base",
3
- "version": "3.0.228",
3
+ "version": "3.0.230",
4
4
  "description": "This is a javascript framework.",
5
5
  "main": "./dist/base.js",
6
6
  "type": "module",