@genesislcap/foundation-utils 14.302.1-alpha-945e484.0 → 14.302.1-alpha-ecc0cfb.0
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.
- package/dist/custom-elements.json +38 -38
- package/dist/dts/encoding/base64/decode.d.ts.map +1 -1
- package/dist/dts/encoding/base64/encode.d.ts.map +1 -1
- package/dist/dts/error/errorMap.d.ts +1 -1
- package/dist/dts/error/errorMap.d.ts.map +1 -1
- package/dist/dts/formatters/datetime.d.ts.map +1 -1
- package/dist/dts/formatters/number.d.ts.map +1 -1
- package/dist/dts/mappers/dto/serverRow.d.ts.map +1 -1
- package/dist/dts/mixins/lifecycle/lifecycle.d.ts +223 -264
- package/dist/dts/mixins/lifecycle/lifecycle.d.ts.map +1 -1
- package/dist/dts/mixins/pendingState/pendingState.d.ts +216 -257
- package/dist/dts/mixins/pendingState/pendingState.d.ts.map +1 -1
- package/dist/dts/observer/observer.d.ts.map +1 -1
- package/dist/dts/promise/resolveAfter.d.ts.map +1 -1
- package/dist/dts/serializers/json/json.d.ts.map +1 -1
- package/dist/dts/serializers/json/types.d.ts.map +1 -1
- package/dist/dts/styles/dom.d.ts.map +1 -1
- package/dist/dts/styles/typography.d.ts.map +1 -1
- package/dist/dts/tsdoc-metadata.json +1 -1
- package/dist/dts/utils/delay.d.ts.map +1 -1
- package/dist/dts/window/window.d.ts.map +1 -1
- package/dist/esm/mixins/lifecycle/lifecycle.js +5 -5
- package/dist/esm/mixins/pendingState/pendingState.js +2 -2
- package/dist/esm/uuid/uuid.js +2 -2
- package/dist/foundation-utils.api.json +708 -2075
- package/dist/foundation-utils.d.ts +440 -522
- package/docs/api/foundation-utils.assuredesignsystem.md +3 -31
- package/docs/api/foundation-utils.createerrormap.md +1 -44
- package/docs/api/foundation-utils.createlogger.md +4 -49
- package/docs/api/foundation-utils.createobserver.md +1 -5
- package/docs/api/foundation-utils.customnumberparser.md +3 -31
- package/docs/api/foundation-utils.database.create.md +3 -31
- package/docs/api/foundation-utils.database.delete.md +3 -31
- package/docs/api/foundation-utils.database.md +12 -114
- package/docs/api/foundation-utils.database.onafterupdate.md +3 -31
- package/docs/api/foundation-utils.database.onbeforeupdate.md +3 -31
- package/docs/api/foundation-utils.database.read.md +3 -31
- package/docs/api/foundation-utils.database.update.md +4 -45
- package/docs/api/foundation-utils.database.visit.md +3 -31
- package/docs/api/foundation-utils.databaseaccessresult.access.md +3 -39
- package/docs/api/foundation-utils.databaseaccessresult.delete.md +4 -56
- package/docs/api/foundation-utils.databaseaccessresult.md +7 -57
- package/docs/api/foundation-utils.databaseevent.beforeupdate.md +3 -39
- package/docs/api/foundation-utils.databaseevent.md +5 -39
- package/docs/api/foundation-utils.databaseevent.update.md +3 -39
- package/docs/api/foundation-utils.databaserecord.md +3 -39
- package/docs/api/foundation-utils.decodefrombase64.md +1 -42
- package/docs/api/foundation-utils.decodefrombase64withprefix.md +1 -43
- package/docs/api/foundation-utils.defaulterrormap._constructor_.md +3 -33
- package/docs/api/foundation-utils.defaulterrormap.delete.md +3 -33
- package/docs/api/foundation-utils.defaulterrormap.get.md +3 -33
- package/docs/api/foundation-utils.defaulterrormap.has.md +3 -33
- package/docs/api/foundation-utils.defaulterrormap.md +16 -214
- package/docs/api/foundation-utils.defaulterrormap.set.md +4 -49
- package/docs/api/foundation-utils.defaulterrormap.values.md +2 -2
- package/docs/api/foundation-utils.defaultserverrowdtomapper.md +4 -60
- package/docs/api/foundation-utils.delay.md +1 -43
- package/docs/api/foundation-utils.designsystemmodule.md +3 -21
- package/docs/api/foundation-utils.designsystemmodule.providedesignsystem.md +4 -49
- package/docs/api/foundation-utils.dtomapper.md +5 -75
- package/docs/api/foundation-utils.encodetobase64.md +1 -44
- package/docs/api/foundation-utils.encodetobase64withprefix.md +1 -43
- package/docs/api/foundation-utils.errormap.md +7 -87
- package/docs/api/foundation-utils.errormap.set.md +4 -49
- package/docs/api/foundation-utils.fontstyle.md +4 -45
- package/docs/api/foundation-utils.fontweight.md +8 -101
- package/docs/api/foundation-utils.formatdatetimestamp.md +3 -31
- package/docs/api/foundation-utils.formatdatetimetimestamp.md +3 -31
- package/docs/api/foundation-utils.formatdatetimetimestampwithmilliseconds.md +3 -31
- package/docs/api/foundation-utils.formattimestamp.md +4 -49
- package/docs/api/foundation-utils.genesis.md +8 -60
- package/docs/api/foundation-utils.getcurrentdesignsystemprefix.md +4 -49
- package/docs/api/foundation-utils.getdateformatter.md +4 -49
- package/docs/api/foundation-utils.getfontmixin.md +1 -76
- package/docs/api/foundation-utils.getnumberformatter.md +4 -47
- package/docs/api/foundation-utils.iniframe.md +1 -7
- package/docs/api/foundation-utils.inmemorydatabase._constructor_.md +3 -31
- package/docs/api/foundation-utils.inmemorydatabase.create.md +3 -31
- package/docs/api/foundation-utils.inmemorydatabase.delete.md +3 -31
- package/docs/api/foundation-utils.inmemorydatabase.md +15 -171
- package/docs/api/foundation-utils.inmemorydatabase.onafterupdate.md +3 -31
- package/docs/api/foundation-utils.inmemorydatabase.onbeforeupdate.md +3 -31
- package/docs/api/foundation-utils.inmemorydatabase.read.md +3 -31
- package/docs/api/foundation-utils.inmemorydatabase.update.md +4 -45
- package/docs/api/foundation-utils.inmemorydatabase.visit.md +3 -31
- package/docs/api/foundation-utils.insertdocumentcssrule.md +1 -60
- package/docs/api/foundation-utils.insertdocumentlink.md +1 -42
- package/docs/api/foundation-utils.insymphonydesktop.md +1 -7
- package/docs/api/foundation-utils.isdev.md +1 -5
- package/docs/api/foundation-utils.jsonreplacer.md +4 -49
- package/docs/api/foundation-utils.jsonreviver.md +4 -49
- package/docs/api/foundation-utils.jsonserializer.deserialize.md +3 -33
- package/docs/api/foundation-utils.jsonserializer.deserialize_1.md +3 -33
- package/docs/api/foundation-utils.jsonserializer.deserialize_2.md +3 -33
- package/docs/api/foundation-utils.jsonserializer.serialize.md +3 -33
- package/docs/api/foundation-utils.jsonserializerconfig.md +6 -48
- package/docs/api/foundation-utils.jsonserializerconfig.parse.md +4 -47
- package/docs/api/foundation-utils.jsonserializerconfig.parse_1.md +5 -63
- package/docs/api/foundation-utils.jsonserializerconfig.stringify.md +5 -63
- package/docs/api/foundation-utils.jsonserializerconfig.stringify_1.md +5 -63
- package/docs/api/foundation-utils.lifecyclemixin.md +224 -303
- package/docs/api/foundation-utils.loadfontfaces.md +1 -58
- package/docs/api/foundation-utils.logger.deprecated.md +5 -65
- package/docs/api/foundation-utils.mapgenesisjsonschema.md +3 -31
- package/docs/api/foundation-utils.mapjsonschemafieldtoexprbuilderfield.md +3 -31
- package/docs/api/foundation-utils.md +129 -1301
- package/docs/api/foundation-utils.numberparser._constructor_.md +3 -31
- package/docs/api/foundation-utils.numberparser.hasseparator.md +3 -31
- package/docs/api/foundation-utils.numberparser.md +7 -72
- package/docs/api/foundation-utils.numberparser.parse.md +3 -31
- package/docs/api/foundation-utils.objectvisitor.md +5 -45
- package/docs/api/foundation-utils.objectvisitor.visitarray.md +4 -45
- package/docs/api/foundation-utils.objectvisitor.visitobject.md +4 -45
- package/docs/api/foundation-utils.objectvisitor.visitproperty.md +6 -73
- package/docs/api/foundation-utils.observer.md +4 -56
- package/docs/api/foundation-utils.openpopup.md +1 -92
- package/docs/api/foundation-utils.pendingstate.md +217 -297
- package/docs/api/foundation-utils.pendingstateevents.md +4 -45
- package/docs/api/foundation-utils.reactive.md +4 -49
- package/docs/api/foundation-utils.renderonchange.md +4 -49
- package/docs/api/foundation-utils.resolveafter.md +1 -53
- package/docs/api/foundation-utils.respondtovisibility.md +1 -58
- package/docs/api/foundation-utils.slottedstyles.md +6 -72
- package/docs/api/foundation-utils.slottedstyles.styleschanged.md +4 -49
- package/docs/api/foundation-utils.sync.md +6 -79
- package/docs/api/foundation-utils.toelementstyles.md +3 -33
- package/docs/api/foundation-utils.uuid.createid.md +3 -33
- package/docs/api/foundation-utils.uuid.createremoteid.md +3 -33
- package/docs/api/foundation-utils.visitobject.md +7 -97
- package/docs/api/foundation-utils.whenelse.md +5 -65
- package/docs/api/index.md +3 -21
- package/package.json +11 -11
- package/docs/api-report.md.api.md +0 -1350
|
@@ -14,224 +14,26 @@ export declare class DefaultErrorMap<TErrorDetailMap extends ErrorDetailMap> imp
|
|
|
14
14
|
|
|
15
15
|
## Constructors
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
</th><th>
|
|
23
|
-
|
|
24
|
-
Modifiers
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
</th><th>
|
|
28
|
-
|
|
29
|
-
Description
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
</th></tr></thead>
|
|
33
|
-
<tbody><tr><td>
|
|
34
|
-
|
|
35
|
-
[(constructor)(logger)](./foundation-utils.defaulterrormap._constructor_.md)
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</td><td>
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
</td><td>
|
|
42
|
-
|
|
43
|
-
Constructs a new instance of the `DefaultErrorMap` class
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
</td></tr>
|
|
47
|
-
</tbody></table>
|
|
17
|
+
| Constructor | Modifiers | Description |
|
|
18
|
+
| --- | --- | --- |
|
|
19
|
+
| [(constructor)(logger)](./foundation-utils.defaulterrormap._constructor_.md) | | Constructs a new instance of the <code>DefaultErrorMap</code> class |
|
|
48
20
|
|
|
49
21
|
## Properties
|
|
50
22
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
</th><th>
|
|
57
|
-
|
|
58
|
-
Modifiers
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
</th><th>
|
|
62
|
-
|
|
63
|
-
Type
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
</th><th>
|
|
67
|
-
|
|
68
|
-
Description
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
</th></tr></thead>
|
|
72
|
-
<tbody><tr><td>
|
|
73
|
-
|
|
74
|
-
[lastError](./foundation-utils.defaulterrormap.lasterror.md)
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
</td><td>
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
</td><td>
|
|
81
|
-
|
|
82
|
-
Error
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
</td><td>
|
|
86
|
-
|
|
87
|
-
The last set error if any.
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
</td></tr>
|
|
91
|
-
<tr><td>
|
|
92
|
-
|
|
93
|
-
[messages](./foundation-utils.defaulterrormap.messages.md)
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
</td><td>
|
|
97
|
-
|
|
98
|
-
`readonly`
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
</td><td>
|
|
102
|
-
|
|
103
|
-
string
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
</td><td>
|
|
107
|
-
|
|
108
|
-
Error map as messages.
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
</td></tr>
|
|
112
|
-
<tr><td>
|
|
113
|
-
|
|
114
|
-
[size](./foundation-utils.defaulterrormap.size.md)
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
</td><td>
|
|
118
|
-
|
|
119
|
-
`readonly`
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
</td><td>
|
|
123
|
-
|
|
124
|
-
number
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
</td><td>
|
|
128
|
-
|
|
129
|
-
The size of the error map.
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
</td></tr>
|
|
133
|
-
</tbody></table>
|
|
23
|
+
| Property | Modifiers | Type | Description |
|
|
24
|
+
| --- | --- | --- | --- |
|
|
25
|
+
| [lastError](./foundation-utils.defaulterrormap.lasterror.md) | | Error | The last set error if any. |
|
|
26
|
+
| [messages](./foundation-utils.defaulterrormap.messages.md) | <code>readonly</code> | string | Error map as messages. |
|
|
27
|
+
| [size](./foundation-utils.defaulterrormap.size.md) | <code>readonly</code> | number | The size of the error map. |
|
|
134
28
|
|
|
135
29
|
## Methods
|
|
136
30
|
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
</th><th>
|
|
148
|
-
|
|
149
|
-
Description
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
</th></tr></thead>
|
|
153
|
-
<tbody><tr><td>
|
|
154
|
-
|
|
155
|
-
[clear()](./foundation-utils.defaulterrormap.clear.md)
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
</td><td>
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
</td><td>
|
|
162
|
-
|
|
163
|
-
Clear errors.
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
</td></tr>
|
|
167
|
-
<tr><td>
|
|
168
|
-
|
|
169
|
-
[delete(key)](./foundation-utils.defaulterrormap.delete.md)
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
</td><td>
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
</td><td>
|
|
176
|
-
|
|
177
|
-
Delete an error.
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
</td></tr>
|
|
181
|
-
<tr><td>
|
|
182
|
-
|
|
183
|
-
[get(key)](./foundation-utils.defaulterrormap.get.md)
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
</td><td>
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
</td><td>
|
|
190
|
-
|
|
191
|
-
Get an error by key.
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
</td></tr>
|
|
195
|
-
<tr><td>
|
|
196
|
-
|
|
197
|
-
[has(key)](./foundation-utils.defaulterrormap.has.md)
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
</td><td>
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
</td><td>
|
|
204
|
-
|
|
205
|
-
Has an error for key.
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
</td></tr>
|
|
209
|
-
<tr><td>
|
|
210
|
-
|
|
211
|
-
[set(key, error)](./foundation-utils.defaulterrormap.set.md)
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
</td><td>
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
</td><td>
|
|
218
|
-
|
|
219
|
-
Set an error by key.
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
</td></tr>
|
|
223
|
-
<tr><td>
|
|
224
|
-
|
|
225
|
-
[values()](./foundation-utils.defaulterrormap.values.md)
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
</td><td>
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
</td><td>
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
</td></tr>
|
|
236
|
-
</tbody></table>
|
|
31
|
+
| Method | Modifiers | Description |
|
|
32
|
+
| --- | --- | --- |
|
|
33
|
+
| [clear()](./foundation-utils.defaulterrormap.clear.md) | | Clear errors. |
|
|
34
|
+
| [delete(key)](./foundation-utils.defaulterrormap.delete.md) | | Delete an error. |
|
|
35
|
+
| [get(key)](./foundation-utils.defaulterrormap.get.md) | | Get an error by key. |
|
|
36
|
+
| [has(key)](./foundation-utils.defaulterrormap.has.md) | | Has an error for key. |
|
|
37
|
+
| [set(key, error)](./foundation-utils.defaulterrormap.set.md) | | Set an error by key. |
|
|
38
|
+
| [values()](./foundation-utils.defaulterrormap.values.md) | | |
|
|
237
39
|
|
|
@@ -14,55 +14,10 @@ set(key: keyof TErrorDetailMap, error: Error): void;
|
|
|
14
14
|
|
|
15
15
|
## Parameters
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
</th><th>
|
|
23
|
-
|
|
24
|
-
Type
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
</th><th>
|
|
28
|
-
|
|
29
|
-
Description
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
</th></tr></thead>
|
|
33
|
-
<tbody><tr><td>
|
|
34
|
-
|
|
35
|
-
key
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</td><td>
|
|
39
|
-
|
|
40
|
-
keyof TErrorDetailMap
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</td><td>
|
|
44
|
-
|
|
45
|
-
The key.
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
</td></tr>
|
|
49
|
-
<tr><td>
|
|
50
|
-
|
|
51
|
-
error
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
</td><td>
|
|
55
|
-
|
|
56
|
-
Error
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
</td><td>
|
|
60
|
-
|
|
61
|
-
The error.
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
</td></tr>
|
|
65
|
-
</tbody></table>
|
|
17
|
+
| Parameter | Type | Description |
|
|
18
|
+
| --- | --- | --- |
|
|
19
|
+
| key | keyof TErrorDetailMap | The key. |
|
|
20
|
+
| error | Error | The error. |
|
|
66
21
|
|
|
67
22
|
**Returns:**
|
|
68
23
|
|
|
@@ -15,64 +15,8 @@ export declare class DefaultServerRowDTOMapper implements ServerRowDTOMapper
|
|
|
15
15
|
|
|
16
16
|
## Properties
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
</th><th>
|
|
24
|
-
|
|
25
|
-
Modifiers
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
</th><th>
|
|
29
|
-
|
|
30
|
-
Type
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
</th><th>
|
|
34
|
-
|
|
35
|
-
Description
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</th></tr></thead>
|
|
39
|
-
<tbody><tr><td>
|
|
40
|
-
|
|
41
|
-
[fromDTO](./foundation-utils.defaultserverrowdtomapper.fromdto.md)
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
</td><td>
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
</td><td>
|
|
48
|
-
|
|
49
|
-
(dto: [ServerRowDTO](./foundation-utils.serverrowdto.md)<!-- -->) => [ServerRowEntity](./foundation-utils.serverrowentity.md)
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
</td><td>
|
|
53
|
-
|
|
54
|
-
Converts a server row DTO to an entity.
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
</td></tr>
|
|
58
|
-
<tr><td>
|
|
59
|
-
|
|
60
|
-
[toDTO](./foundation-utils.defaultserverrowdtomapper.todto.md)
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
</td><td>
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
</td><td>
|
|
67
|
-
|
|
68
|
-
(entity: [ServerRowEntity](./foundation-utils.serverrowentity.md)<!-- -->) => [ServerRowDTO](./foundation-utils.serverrowdto.md)
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
</td><td>
|
|
72
|
-
|
|
73
|
-
Converts a server row entity to a DTO.
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
</td></tr>
|
|
77
|
-
</tbody></table>
|
|
18
|
+
| Property | Modifiers | Type | Description |
|
|
19
|
+
| --- | --- | --- | --- |
|
|
20
|
+
| [fromDTO](./foundation-utils.defaultserverrowdtomapper.fromdto.md) | | (dto: [ServerRowDTO](./foundation-utils.serverrowdto.md)<!-- -->) => [ServerRowEntity](./foundation-utils.serverrowentity.md) | Converts a server row DTO to an entity. |
|
|
21
|
+
| [toDTO](./foundation-utils.defaultserverrowdtomapper.todto.md) | | (entity: [ServerRowEntity](./foundation-utils.serverrowentity.md)<!-- -->) => [ServerRowDTO](./foundation-utils.serverrowdto.md) | Converts a server row entity to a DTO. |
|
|
78
22
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [delay](./foundation-utils.delay.md)
|
|
4
4
|
|
|
5
|
-
## delay
|
|
5
|
+
## delay variable
|
|
6
6
|
|
|
7
7
|
Delay for a given number of milliseconds
|
|
8
8
|
|
|
@@ -12,48 +12,6 @@ Delay for a given number of milliseconds
|
|
|
12
12
|
delay: (ms: number) => Promise<void>
|
|
13
13
|
```
|
|
14
14
|
|
|
15
|
-
## Parameters
|
|
16
|
-
|
|
17
|
-
<table><thead><tr><th>
|
|
18
|
-
|
|
19
|
-
Parameter
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
</th><th>
|
|
23
|
-
|
|
24
|
-
Type
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
</th><th>
|
|
28
|
-
|
|
29
|
-
Description
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
</th></tr></thead>
|
|
33
|
-
<tbody><tr><td>
|
|
34
|
-
|
|
35
|
-
ms
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</td><td>
|
|
39
|
-
|
|
40
|
-
number
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</td><td>
|
|
44
|
-
|
|
45
|
-
The number of milliseconds to delay
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
</td></tr>
|
|
49
|
-
</tbody></table>
|
|
50
|
-
|
|
51
|
-
**Returns:**
|
|
52
|
-
|
|
53
|
-
Promise<void>
|
|
54
|
-
|
|
55
|
-
A promise that resolves after the given number of milliseconds
|
|
56
|
-
|
|
57
15
|
## Example
|
|
58
16
|
|
|
59
17
|
|
|
@@ -14,25 +14,7 @@ export interface DesignSystemModule
|
|
|
14
14
|
|
|
15
15
|
## Methods
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
</th><th>
|
|
23
|
-
|
|
24
|
-
Description
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
</th></tr></thead>
|
|
28
|
-
<tbody><tr><td>
|
|
29
|
-
|
|
30
|
-
[provideDesignSystem(element, prefix)](./foundation-utils.designsystemmodule.providedesignsystem.md)
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
</td><td>
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
</td></tr>
|
|
37
|
-
</tbody></table>
|
|
17
|
+
| Method | Description |
|
|
18
|
+
| --- | --- |
|
|
19
|
+
| [provideDesignSystem(element, prefix)](./foundation-utils.designsystemmodule.providedesignsystem.md) | |
|
|
38
20
|
|
|
@@ -12,55 +12,10 @@ provideDesignSystem(element?: HTMLElement, prefix?: string): DesignSystem | Pick
|
|
|
12
12
|
|
|
13
13
|
## Parameters
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
</th><th>
|
|
21
|
-
|
|
22
|
-
Type
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
</th><th>
|
|
26
|
-
|
|
27
|
-
Description
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
</th></tr></thead>
|
|
31
|
-
<tbody><tr><td>
|
|
32
|
-
|
|
33
|
-
element
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
</td><td>
|
|
37
|
-
|
|
38
|
-
HTMLElement
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
</td><td>
|
|
42
|
-
|
|
43
|
-
_(Optional)_
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
</td></tr>
|
|
47
|
-
<tr><td>
|
|
48
|
-
|
|
49
|
-
prefix
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
</td><td>
|
|
53
|
-
|
|
54
|
-
string
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
</td><td>
|
|
58
|
-
|
|
59
|
-
_(Optional)_
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
</td></tr>
|
|
63
|
-
</tbody></table>
|
|
15
|
+
| Parameter | Type | Description |
|
|
16
|
+
| --- | --- | --- |
|
|
17
|
+
| element | HTMLElement | _(Optional)_ |
|
|
18
|
+
| prefix | string | _(Optional)_ |
|
|
64
19
|
|
|
65
20
|
**Returns:**
|
|
66
21
|
|
|
@@ -13,79 +13,9 @@ export interface DTOMapper<TDTO, TEntity>
|
|
|
13
13
|
|
|
14
14
|
## Properties
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
</th><th>
|
|
22
|
-
|
|
23
|
-
Modifiers
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
</th><th>
|
|
27
|
-
|
|
28
|
-
Type
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
</th><th>
|
|
32
|
-
|
|
33
|
-
Description
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
</th></tr></thead>
|
|
37
|
-
<tbody><tr><td>
|
|
38
|
-
|
|
39
|
-
[fromArgs?](./foundation-utils.dtomapper.fromargs.md)
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
</td><td>
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
</td><td>
|
|
46
|
-
|
|
47
|
-
(...args: any\[\]) => TEntity
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
</td><td>
|
|
51
|
-
|
|
52
|
-
_(Optional)_
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
</td></tr>
|
|
56
|
-
<tr><td>
|
|
57
|
-
|
|
58
|
-
[fromDTO](./foundation-utils.dtomapper.fromdto.md)
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
</td><td>
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
</td><td>
|
|
65
|
-
|
|
66
|
-
(dto: TDTO) => TEntity
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
</td><td>
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
</td></tr>
|
|
73
|
-
<tr><td>
|
|
74
|
-
|
|
75
|
-
[toDTO](./foundation-utils.dtomapper.todto.md)
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
</td><td>
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
</td><td>
|
|
82
|
-
|
|
83
|
-
(entity: Partial<TEntity>) => TDTO
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
</td><td>
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
</td></tr>
|
|
90
|
-
</tbody></table>
|
|
16
|
+
| Property | Modifiers | Type | Description |
|
|
17
|
+
| --- | --- | --- | --- |
|
|
18
|
+
| [fromArgs?](./foundation-utils.dtomapper.fromargs.md) | | (...args: any\[\]) => TEntity | _(Optional)_ |
|
|
19
|
+
| [fromDTO](./foundation-utils.dtomapper.fromdto.md) | | (dto: TDTO) => TEntity | |
|
|
20
|
+
| [toDTO](./foundation-utils.dtomapper.todto.md) | | (entity: Partial<TEntity>) => TDTO | |
|
|
91
21
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [encodeToBase64](./foundation-utils.encodetobase64.md)
|
|
4
4
|
|
|
5
|
-
## encodeToBase64
|
|
5
|
+
## encodeToBase64 variable
|
|
6
6
|
|
|
7
7
|
Encodes the given value to base64.
|
|
8
8
|
|
|
@@ -11,46 +11,3 @@ Encodes the given value to base64.
|
|
|
11
11
|
```typescript
|
|
12
12
|
encodeToBase64: (value: string | ArrayBuffer) => string
|
|
13
13
|
```
|
|
14
|
-
|
|
15
|
-
## Parameters
|
|
16
|
-
|
|
17
|
-
<table><thead><tr><th>
|
|
18
|
-
|
|
19
|
-
Parameter
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
</th><th>
|
|
23
|
-
|
|
24
|
-
Type
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
</th><th>
|
|
28
|
-
|
|
29
|
-
Description
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
</th></tr></thead>
|
|
33
|
-
<tbody><tr><td>
|
|
34
|
-
|
|
35
|
-
value
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</td><td>
|
|
39
|
-
|
|
40
|
-
string \| ArrayBuffer
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</td><td>
|
|
44
|
-
|
|
45
|
-
The value to encode to base64.
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
</td></tr>
|
|
49
|
-
</tbody></table>
|
|
50
|
-
|
|
51
|
-
**Returns:**
|
|
52
|
-
|
|
53
|
-
string
|
|
54
|
-
|
|
55
|
-
The base64 encoded value.
|
|
56
|
-
|