@base-framework/base 3.0.257 → 3.0.258
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.
|
@@ -6,6 +6,8 @@
|
|
|
6
6
|
* This will allow units to be extended
|
|
7
7
|
* from a single factory.
|
|
8
8
|
*
|
|
9
|
+
* @param {...any} args
|
|
10
|
+
*
|
|
9
11
|
* @example
|
|
10
12
|
* class Alert extends Unit
|
|
11
13
|
* {
|
|
@@ -22,82 +24,9 @@ export class Unit {
|
|
|
22
24
|
* This will create a unit.
|
|
23
25
|
*
|
|
24
26
|
* @constructor
|
|
25
|
-
*
|
|
26
|
-
* @overload
|
|
27
|
-
* @param {object} props
|
|
28
|
-
* @param {Array<object>} [children=[]] - An array of children
|
|
29
|
-
*
|
|
30
|
-
* @overload
|
|
31
|
-
* @param {Array<object>} [children=[]] - An array of children
|
|
32
|
-
*
|
|
33
|
-
* @overload
|
|
34
|
-
* @param {string} [children] - A child string
|
|
35
|
-
*
|
|
36
|
-
* @overload
|
|
37
|
-
* @param {object} props
|
|
38
|
-
* @param {string} [children] - A child string
|
|
39
|
-
*/
|
|
40
|
-
constructor(props: object, children?: Array<object>);
|
|
41
|
-
/**
|
|
42
|
-
* This will create a unit.
|
|
43
|
-
*
|
|
44
|
-
* @constructor
|
|
45
|
-
*
|
|
46
|
-
* @overload
|
|
47
|
-
* @param {object} props
|
|
48
|
-
* @param {Array<object>} [children=[]] - An array of children
|
|
49
|
-
*
|
|
50
|
-
* @overload
|
|
51
|
-
* @param {Array<object>} [children=[]] - An array of children
|
|
52
|
-
*
|
|
53
|
-
* @overload
|
|
54
|
-
* @param {string} [children] - A child string
|
|
55
|
-
*
|
|
56
|
-
* @overload
|
|
57
|
-
* @param {object} props
|
|
58
|
-
* @param {string} [children] - A child string
|
|
59
|
-
*/
|
|
60
|
-
constructor(children?: Array<object>);
|
|
61
|
-
/**
|
|
62
|
-
* This will create a unit.
|
|
63
|
-
*
|
|
64
|
-
* @constructor
|
|
65
|
-
*
|
|
66
|
-
* @overload
|
|
67
|
-
* @param {object} props
|
|
68
|
-
* @param {Array<object>} [children=[]] - An array of children
|
|
69
|
-
*
|
|
70
|
-
* @overload
|
|
71
|
-
* @param {Array<object>} [children=[]] - An array of children
|
|
72
|
-
*
|
|
73
|
-
* @overload
|
|
74
|
-
* @param {string} [children] - A child string
|
|
75
|
-
*
|
|
76
|
-
* @overload
|
|
77
|
-
* @param {object} props
|
|
78
|
-
* @param {string} [children] - A child string
|
|
79
|
-
*/
|
|
80
|
-
constructor(children?: string);
|
|
81
|
-
/**
|
|
82
|
-
* This will create a unit.
|
|
83
|
-
*
|
|
84
|
-
* @constructor
|
|
85
|
-
*
|
|
86
|
-
* @overload
|
|
87
|
-
* @param {object} props
|
|
88
|
-
* @param {Array<object>} [children=[]] - An array of children
|
|
89
|
-
*
|
|
90
|
-
* @overload
|
|
91
|
-
* @param {Array<object>} [children=[]] - An array of children
|
|
92
|
-
*
|
|
93
|
-
* @overload
|
|
94
|
-
* @param {string} [children] - A child string
|
|
95
|
-
*
|
|
96
|
-
* @overload
|
|
97
|
-
* @param {object} props
|
|
98
|
-
* @param {string} [children] - A child string
|
|
27
|
+
* @param {...any} args
|
|
99
28
|
*/
|
|
100
|
-
constructor(
|
|
29
|
+
constructor(...args: any[]);
|
|
101
30
|
/**
|
|
102
31
|
* @member {boolean} isUnit
|
|
103
32
|
*/
|