@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
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [encodeToBase64WithPrefix](./foundation-utils.encodetobase64withprefix.md)
|
|
4
4
|
|
|
5
|
-
## encodeToBase64WithPrefix
|
|
5
|
+
## encodeToBase64WithPrefix variable
|
|
6
6
|
|
|
7
7
|
Encodes the given value with a prefix to base64.
|
|
8
8
|
|
|
@@ -12,48 +12,6 @@ Encodes the given value with a prefix to base64.
|
|
|
12
12
|
encodeToBase64WithPrefix: (value: string | ArrayBuffer) => string
|
|
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
|
-
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 with a prefix.
|
|
56
|
-
|
|
57
15
|
## Remarks
|
|
58
16
|
|
|
59
17
|
Prefixes are: 'str:' for string and 'bin:' for ArrayBuffer.
|
|
@@ -14,94 +14,14 @@ export interface ErrorMap<TErrorDetailMap extends ErrorDetailMap> extends Pick<M
|
|
|
14
14
|
|
|
15
15
|
## Properties
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
</th><th>
|
|
23
|
-
|
|
24
|
-
Modifiers
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
</th><th>
|
|
28
|
-
|
|
29
|
-
Type
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
</th><th>
|
|
33
|
-
|
|
34
|
-
Description
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
</th></tr></thead>
|
|
38
|
-
<tbody><tr><td>
|
|
39
|
-
|
|
40
|
-
[lastError](./foundation-utils.errormap.lasterror.md)
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</td><td>
|
|
44
|
-
|
|
45
|
-
`readonly`
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
</td><td>
|
|
49
|
-
|
|
50
|
-
Error
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
</td><td>
|
|
54
|
-
|
|
55
|
-
The last set error if any.
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
</td></tr>
|
|
59
|
-
<tr><td>
|
|
60
|
-
|
|
61
|
-
[messages](./foundation-utils.errormap.messages.md)
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
</td><td>
|
|
65
|
-
|
|
66
|
-
`readonly`
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
</td><td>
|
|
70
|
-
|
|
71
|
-
string
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
</td><td>
|
|
75
|
-
|
|
76
|
-
Error map as messages.
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
</td></tr>
|
|
80
|
-
</tbody></table>
|
|
17
|
+
| Property | Modifiers | Type | Description |
|
|
18
|
+
| --- | --- | --- | --- |
|
|
19
|
+
| [lastError](./foundation-utils.errormap.lasterror.md) | <code>readonly</code> | Error | The last set error if any. |
|
|
20
|
+
| [messages](./foundation-utils.errormap.messages.md) | <code>readonly</code> | string | Error map as messages. |
|
|
81
21
|
|
|
82
22
|
## Methods
|
|
83
23
|
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
</th><th>
|
|
90
|
-
|
|
91
|
-
Description
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
</th></tr></thead>
|
|
95
|
-
<tbody><tr><td>
|
|
96
|
-
|
|
97
|
-
[set(key, error)](./foundation-utils.errormap.set.md)
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
</td><td>
|
|
101
|
-
|
|
102
|
-
Set an error by key.
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
</td></tr>
|
|
106
|
-
</tbody></table>
|
|
24
|
+
| Method | Description |
|
|
25
|
+
| --- | --- |
|
|
26
|
+
| [set(key, error)](./foundation-utils.errormap.set.md) | Set an error by key. |
|
|
107
27
|
|
|
@@ -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
|
|
|
@@ -14,49 +14,8 @@ export declare enum FontStyle
|
|
|
14
14
|
|
|
15
15
|
## Enumeration Members
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
</th><th>
|
|
23
|
-
|
|
24
|
-
Value
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
</th><th>
|
|
28
|
-
|
|
29
|
-
Description
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
</th></tr></thead>
|
|
33
|
-
<tbody><tr><td>
|
|
34
|
-
|
|
35
|
-
Italic
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</td><td>
|
|
39
|
-
|
|
40
|
-
`"italic"`
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</td><td>
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
</td></tr>
|
|
47
|
-
<tr><td>
|
|
48
|
-
|
|
49
|
-
Normal
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
</td><td>
|
|
53
|
-
|
|
54
|
-
`"normal"`
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
</td><td>
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
</td></tr>
|
|
61
|
-
</tbody></table>
|
|
17
|
+
| Member | Value | Description |
|
|
18
|
+
| --- | --- | --- |
|
|
19
|
+
| Italic | <code>"italic"</code> | |
|
|
20
|
+
| Normal | <code>"normal"</code> | |
|
|
62
21
|
|
|
@@ -14,105 +14,12 @@ export declare enum FontWeight
|
|
|
14
14
|
|
|
15
15
|
## Enumeration Members
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
</
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
</th><th>
|
|
28
|
-
|
|
29
|
-
Description
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
</th></tr></thead>
|
|
33
|
-
<tbody><tr><td>
|
|
34
|
-
|
|
35
|
-
Black
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</td><td>
|
|
39
|
-
|
|
40
|
-
`900`
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</td><td>
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
</td></tr>
|
|
47
|
-
<tr><td>
|
|
48
|
-
|
|
49
|
-
Bold
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
</td><td>
|
|
53
|
-
|
|
54
|
-
`700`
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
</td><td>
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
</td></tr>
|
|
61
|
-
<tr><td>
|
|
62
|
-
|
|
63
|
-
Light
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
</td><td>
|
|
67
|
-
|
|
68
|
-
`300`
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
</td><td>
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
</td></tr>
|
|
75
|
-
<tr><td>
|
|
76
|
-
|
|
77
|
-
Medium
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
</td><td>
|
|
81
|
-
|
|
82
|
-
`500`
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
</td><td>
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
</td></tr>
|
|
89
|
-
<tr><td>
|
|
90
|
-
|
|
91
|
-
Regular
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
</td><td>
|
|
95
|
-
|
|
96
|
-
`400`
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
</td><td>
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
</td></tr>
|
|
103
|
-
<tr><td>
|
|
104
|
-
|
|
105
|
-
Thin
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
</td><td>
|
|
109
|
-
|
|
110
|
-
`100`
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
</td><td>
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
</td></tr>
|
|
117
|
-
</tbody></table>
|
|
17
|
+
| Member | Value | Description |
|
|
18
|
+
| --- | --- | --- |
|
|
19
|
+
| Black | <code>900</code> | |
|
|
20
|
+
| Bold | <code>700</code> | |
|
|
21
|
+
| Light | <code>300</code> | |
|
|
22
|
+
| Medium | <code>500</code> | |
|
|
23
|
+
| Regular | <code>400</code> | |
|
|
24
|
+
| Thin | <code>100</code> | |
|
|
118
25
|
|
|
@@ -14,37 +14,9 @@ export declare function formatDateTimestamp(timestamp: number): string;
|
|
|
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
|
-
timestamp
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</td><td>
|
|
39
|
-
|
|
40
|
-
number
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</td><td>
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
</td></tr>
|
|
47
|
-
</tbody></table>
|
|
17
|
+
| Parameter | Type | Description |
|
|
18
|
+
| --- | --- | --- |
|
|
19
|
+
| timestamp | number | |
|
|
48
20
|
|
|
49
21
|
**Returns:**
|
|
50
22
|
|
|
@@ -14,37 +14,9 @@ export declare function formatDateTimeTimestamp(timestamp: number): string;
|
|
|
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
|
-
timestamp
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</td><td>
|
|
39
|
-
|
|
40
|
-
number
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</td><td>
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
</td></tr>
|
|
47
|
-
</tbody></table>
|
|
17
|
+
| Parameter | Type | Description |
|
|
18
|
+
| --- | --- | --- |
|
|
19
|
+
| timestamp | number | |
|
|
48
20
|
|
|
49
21
|
**Returns:**
|
|
50
22
|
|
|
@@ -14,37 +14,9 @@ export declare function formatDateTimeTimestampWithMilliseconds(timestamp: numbe
|
|
|
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
|
-
timestamp
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</td><td>
|
|
39
|
-
|
|
40
|
-
number
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</td><td>
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
</td></tr>
|
|
47
|
-
</tbody></table>
|
|
17
|
+
| Parameter | Type | Description |
|
|
18
|
+
| --- | --- | --- |
|
|
19
|
+
| timestamp | number | |
|
|
48
20
|
|
|
49
21
|
**Returns:**
|
|
50
22
|
|
|
@@ -14,55 +14,10 @@ export declare function formatTimestamp(timestamp: number, withTime: boolean): s
|
|
|
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
|
-
timestamp
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</td><td>
|
|
39
|
-
|
|
40
|
-
number
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</td><td>
|
|
44
|
-
|
|
45
|
-
The UNIX Timestamp.
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
</td></tr>
|
|
49
|
-
<tr><td>
|
|
50
|
-
|
|
51
|
-
withTime
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
</td><td>
|
|
55
|
-
|
|
56
|
-
boolean
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
</td><td>
|
|
60
|
-
|
|
61
|
-
The flag to determine if formatted value should contain 'time' info.
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
</td></tr>
|
|
65
|
-
</tbody></table>
|
|
17
|
+
| Parameter | Type | Description |
|
|
18
|
+
| --- | --- | --- |
|
|
19
|
+
| timestamp | number | The UNIX Timestamp. |
|
|
20
|
+
| withTime | boolean | The flag to determine if formatted value should contain 'time' info. |
|
|
66
21
|
|
|
67
22
|
**Returns:**
|
|
68
23
|
|
|
@@ -13,67 +13,15 @@ export declare namespace Genesis
|
|
|
13
13
|
|
|
14
14
|
## Variables
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
</th><th>
|
|
22
|
-
|
|
23
|
-
Description
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
</th></tr></thead>
|
|
27
|
-
<tbody><tr><td>
|
|
28
|
-
|
|
29
|
-
[genesisFieldTypes](./foundation-utils.genesis.genesisfieldtypes.md)
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
</td><td>
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
</td></tr>
|
|
36
|
-
</tbody></table>
|
|
16
|
+
| Variable | Description |
|
|
17
|
+
| --- | --- |
|
|
18
|
+
| [genesisFieldTypes](./foundation-utils.genesis.genesisfieldtypes.md) | |
|
|
37
19
|
|
|
38
20
|
## Type Aliases
|
|
39
21
|
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
</th><th>
|
|
46
|
-
|
|
47
|
-
Description
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
</th></tr></thead>
|
|
51
|
-
<tbody><tr><td>
|
|
52
|
-
|
|
53
|
-
[FieldJsonSchema](./foundation-utils.genesis.fieldjsonschema.md)
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
</td><td>
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
</td></tr>
|
|
60
|
-
<tr><td>
|
|
61
|
-
|
|
62
|
-
[GenesisFieldTypes](./foundation-utils.genesis.genesisfieldtypes.md)
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
</td><td>
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
</td></tr>
|
|
69
|
-
<tr><td>
|
|
70
|
-
|
|
71
|
-
[JSONSchema7](./foundation-utils.genesis.jsonschema7.md)
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
</td><td>
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
</td></tr>
|
|
78
|
-
</tbody></table>
|
|
22
|
+
| Type Alias | Description |
|
|
23
|
+
| --- | --- |
|
|
24
|
+
| [FieldJsonSchema](./foundation-utils.genesis.fieldjsonschema.md) | |
|
|
25
|
+
| [GenesisFieldTypes](./foundation-utils.genesis.genesisfieldtypes.md) | |
|
|
26
|
+
| [JSONSchema7](./foundation-utils.genesis.jsonschema7.md) | |
|
|
79
27
|
|
|
@@ -14,55 +14,10 @@ export declare function getCurrentDesignSystemPrefix(element: HTMLElement, fallb
|
|
|
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
|
-
element
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</td><td>
|
|
39
|
-
|
|
40
|
-
HTMLElement
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</td><td>
|
|
44
|
-
|
|
45
|
-
The starting HTML element
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
</td></tr>
|
|
49
|
-
<tr><td>
|
|
50
|
-
|
|
51
|
-
fallbackPrefix
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
</td><td>
|
|
55
|
-
|
|
56
|
-
string
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
</td><td>
|
|
60
|
-
|
|
61
|
-
The prefix to fallback to if the provider is not available
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
</td></tr>
|
|
65
|
-
</tbody></table>
|
|
17
|
+
| Parameter | Type | Description |
|
|
18
|
+
| --- | --- | --- |
|
|
19
|
+
| element | HTMLElement | The starting HTML element |
|
|
20
|
+
| fallbackPrefix | string | The prefix to fallback to if the provider is not available |
|
|
66
21
|
|
|
67
22
|
**Returns:**
|
|
68
23
|
|