@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
|
@@ -17,103 +17,13 @@ export declare function visitObject<TVisitorData>(object: any, deep: boolean, vi
|
|
|
17
17
|
|
|
18
18
|
## Parameters
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
Type
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
</th><th>
|
|
31
|
-
|
|
32
|
-
Description
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
</th></tr></thead>
|
|
36
|
-
<tbody><tr><td>
|
|
37
|
-
|
|
38
|
-
object
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
</td><td>
|
|
42
|
-
|
|
43
|
-
any
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
</td><td>
|
|
47
|
-
|
|
48
|
-
The object.
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
</td></tr>
|
|
52
|
-
<tr><td>
|
|
53
|
-
|
|
54
|
-
deep
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
</td><td>
|
|
58
|
-
|
|
59
|
-
boolean
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
</td><td>
|
|
63
|
-
|
|
64
|
-
A flag to indicate if a recursive visit of sub objects should occur.
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
</td></tr>
|
|
68
|
-
<tr><td>
|
|
69
|
-
|
|
70
|
-
visitor
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
</td><td>
|
|
74
|
-
|
|
75
|
-
[ObjectVisitor](./foundation-utils.objectvisitor.md)<!-- --><TVisitorData>
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
</td><td>
|
|
79
|
-
|
|
80
|
-
The defined [ObjectVisitor](./foundation-utils.objectvisitor.md) logic.
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
</td></tr>
|
|
84
|
-
<tr><td>
|
|
85
|
-
|
|
86
|
-
data
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
</td><td>
|
|
90
|
-
|
|
91
|
-
TVisitorData
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
</td><td>
|
|
95
|
-
|
|
96
|
-
Visitor data.
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
</td></tr>
|
|
100
|
-
<tr><td>
|
|
101
|
-
|
|
102
|
-
traversed
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
</td><td>
|
|
106
|
-
|
|
107
|
-
WeakSet<any> \| Set<any>
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
</td><td>
|
|
111
|
-
|
|
112
|
-
The traversed object set.
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
</td></tr>
|
|
116
|
-
</tbody></table>
|
|
20
|
+
| Parameter | Type | Description |
|
|
21
|
+
| --- | --- | --- |
|
|
22
|
+
| object | any | The object. |
|
|
23
|
+
| deep | boolean | A flag to indicate if a recursive visit of sub objects should occur. |
|
|
24
|
+
| visitor | [ObjectVisitor](./foundation-utils.objectvisitor.md)<!-- --><TVisitorData> | The defined [ObjectVisitor](./foundation-utils.objectvisitor.md) logic. |
|
|
25
|
+
| data | TVisitorData | Visitor data. |
|
|
26
|
+
| traversed | WeakSet<any> \| Set<any> | The traversed object set. |
|
|
117
27
|
|
|
118
28
|
**Returns:**
|
|
119
29
|
|
|
@@ -14,71 +14,11 @@ export declare function whenElse<TSource = any, TReturn = any>(binding: Binding<
|
|
|
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
|
-
binding
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</td><td>
|
|
39
|
-
|
|
40
|
-
Binding<TSource, TReturn>
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</td><td>
|
|
44
|
-
|
|
45
|
-
The condition to test for rendering.
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
</td></tr>
|
|
49
|
-
<tr><td>
|
|
50
|
-
|
|
51
|
-
trueTemplateOrTemplateBinding
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
</td><td>
|
|
55
|
-
|
|
56
|
-
WhenTemplate<TSource>
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
</td><td>
|
|
60
|
-
|
|
61
|
-
The template or a binding that gets the template to render when the condition is true.
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
</td></tr>
|
|
65
|
-
<tr><td>
|
|
66
|
-
|
|
67
|
-
falseTemplateOrTemplateBinding
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
</td><td>
|
|
71
|
-
|
|
72
|
-
WhenTemplate<TSource>
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
</td><td>
|
|
76
|
-
|
|
77
|
-
The template or a binding that gets the template to render when the condition is false.
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
</td></tr>
|
|
81
|
-
</tbody></table>
|
|
17
|
+
| Parameter | Type | Description |
|
|
18
|
+
| --- | --- | --- |
|
|
19
|
+
| binding | Binding<TSource, TReturn> | The condition to test for rendering. |
|
|
20
|
+
| trueTemplateOrTemplateBinding | WhenTemplate<TSource> | The template or a binding that gets the template to render when the condition is true. |
|
|
21
|
+
| falseTemplateOrTemplateBinding | WhenTemplate<TSource> | The template or a binding that gets the template to render when the condition is false. |
|
|
82
22
|
|
|
83
23
|
**Returns:**
|
|
84
24
|
|
package/docs/api/index.md
CHANGED
|
@@ -6,25 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
## Packages
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
</th><th>
|
|
15
|
-
|
|
16
|
-
Description
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
</th></tr></thead>
|
|
20
|
-
<tbody><tr><td>
|
|
21
|
-
|
|
22
|
-
[@genesislcap/foundation-utils](./foundation-utils.md)
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
</td><td>
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
</td></tr>
|
|
29
|
-
</tbody></table>
|
|
9
|
+
| Package | Description |
|
|
10
|
+
| --- | --- |
|
|
11
|
+
| [@genesislcap/foundation-utils](./foundation-utils.md) | |
|
|
30
12
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/foundation-utils",
|
|
3
3
|
"description": "Genesis Foundation Utils",
|
|
4
|
-
"version": "14.302.1-alpha-
|
|
4
|
+
"version": "14.302.1-alpha-ecc0cfb.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -27,25 +27,25 @@
|
|
|
27
27
|
}
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@genesislcap/foundation-testing": "14.302.1-alpha-
|
|
31
|
-
"@genesislcap/genx": "14.302.1-alpha-
|
|
32
|
-
"@genesislcap/rollup-builder": "14.302.1-alpha-
|
|
33
|
-
"@genesislcap/ts-builder": "14.302.1-alpha-
|
|
34
|
-
"@genesislcap/uvu-playwright-builder": "14.302.1-alpha-
|
|
35
|
-
"@genesislcap/vite-builder": "14.302.1-alpha-
|
|
36
|
-
"@genesislcap/webpack-builder": "14.302.1-alpha-
|
|
30
|
+
"@genesislcap/foundation-testing": "14.302.1-alpha-ecc0cfb.0",
|
|
31
|
+
"@genesislcap/genx": "14.302.1-alpha-ecc0cfb.0",
|
|
32
|
+
"@genesislcap/rollup-builder": "14.302.1-alpha-ecc0cfb.0",
|
|
33
|
+
"@genesislcap/ts-builder": "14.302.1-alpha-ecc0cfb.0",
|
|
34
|
+
"@genesislcap/uvu-playwright-builder": "14.302.1-alpha-ecc0cfb.0",
|
|
35
|
+
"@genesislcap/vite-builder": "14.302.1-alpha-ecc0cfb.0",
|
|
36
|
+
"@genesislcap/webpack-builder": "14.302.1-alpha-ecc0cfb.0",
|
|
37
37
|
"@types/json-schema": "^7.0.11",
|
|
38
38
|
"rimraf": "^5.0.0"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@genesislcap/expression-builder": "14.258.1",
|
|
42
|
-
"@genesislcap/foundation-logger": "14.302.1-alpha-
|
|
42
|
+
"@genesislcap/foundation-logger": "14.302.1-alpha-ecc0cfb.0",
|
|
43
43
|
"@microsoft/fast-components": "2.30.6",
|
|
44
44
|
"@microsoft/fast-element": "1.14.0",
|
|
45
45
|
"@microsoft/fast-foundation": "2.49.6",
|
|
46
46
|
"lossless-json": "^2.0.11",
|
|
47
47
|
"numeral": "2.0.6",
|
|
48
|
-
"tslib": "^2.
|
|
48
|
+
"tslib": "^2.3.1",
|
|
49
49
|
"uuid": "^8.3.2"
|
|
50
50
|
},
|
|
51
51
|
"repository": {
|
|
@@ -57,5 +57,5 @@
|
|
|
57
57
|
"access": "public"
|
|
58
58
|
},
|
|
59
59
|
"customElements": "dist/custom-elements.json",
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "dad34f09069fa189f6d6855903eed9a431fdbab1"
|
|
61
61
|
}
|