@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,49 +14,8 @@ export declare enum PendingStateEvents
|
|
|
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
|
-
error
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</td><td>
|
|
39
|
-
|
|
40
|
-
`"pending-state-error"`
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</td><td>
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
</td></tr>
|
|
47
|
-
<tr><td>
|
|
48
|
-
|
|
49
|
-
state
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
</td><td>
|
|
53
|
-
|
|
54
|
-
`"pending-state"`
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
</td><td>
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
</td></tr>
|
|
61
|
-
</tbody></table>
|
|
17
|
+
| Member | Value | Description |
|
|
18
|
+
| --- | --- | --- |
|
|
19
|
+
| error | <code>"pending-state-error"</code> | |
|
|
20
|
+
| state | <code>"pending-state"</code> | |
|
|
62
21
|
|
|
@@ -17,55 +17,10 @@ export declare function reactive<T>(object: T, deep?: boolean): T;
|
|
|
17
17
|
|
|
18
18
|
## Parameters
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
</th><th>
|
|
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
|
-
T
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
</td><td>
|
|
47
|
-
|
|
48
|
-
The object to make reactive.
|
|
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
|
-
_(Optional)_ Indicates whether to deeply convert the object.
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
</td></tr>
|
|
68
|
-
</tbody></table>
|
|
20
|
+
| Parameter | Type | Description |
|
|
21
|
+
| --- | --- | --- |
|
|
22
|
+
| object | T | The object to make reactive. |
|
|
23
|
+
| deep | boolean | _(Optional)_ Indicates whether to deeply convert the object. |
|
|
69
24
|
|
|
70
25
|
**Returns:**
|
|
71
26
|
|
|
@@ -16,55 +16,10 @@ export declare function renderOnChange(target: FASTElement & {
|
|
|
16
16
|
|
|
17
17
|
## Parameters
|
|
18
18
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
</th><th>
|
|
25
|
-
|
|
26
|
-
Type
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
</th><th>
|
|
30
|
-
|
|
31
|
-
Description
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
</th></tr></thead>
|
|
35
|
-
<tbody><tr><td>
|
|
36
|
-
|
|
37
|
-
target
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
</td><td>
|
|
41
|
-
|
|
42
|
-
FASTElement & { render(): void; }
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
</td><td>
|
|
46
|
-
|
|
47
|
-
The target to define the property change handler on.
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
</td></tr>
|
|
51
|
-
<tr><td>
|
|
52
|
-
|
|
53
|
-
name
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
</td><td>
|
|
57
|
-
|
|
58
|
-
string
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
</td><td>
|
|
62
|
-
|
|
63
|
-
The property name.
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
</td></tr>
|
|
67
|
-
</tbody></table>
|
|
19
|
+
| Parameter | Type | Description |
|
|
20
|
+
| --- | --- | --- |
|
|
21
|
+
| target | FASTElement & { render(): void; } | The target to define the property change handler on. |
|
|
22
|
+
| name | string | The property name. |
|
|
68
23
|
|
|
69
24
|
**Returns:**
|
|
70
25
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [resolveAfter](./foundation-utils.resolveafter.md)
|
|
4
4
|
|
|
5
|
-
## resolveAfter
|
|
5
|
+
## resolveAfter variable
|
|
6
6
|
|
|
7
7
|
Resolve a promise after a timeout.
|
|
8
8
|
|
|
@@ -12,58 +12,6 @@ Resolve a promise after a timeout.
|
|
|
12
12
|
resolveAfter: <T = any>(ms: number, valueCreator: () => T) => Promise<T>
|
|
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
|
-
|
|
46
|
-
</td></tr>
|
|
47
|
-
<tr><td>
|
|
48
|
-
|
|
49
|
-
valueCreator
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
</td><td>
|
|
53
|
-
|
|
54
|
-
() => T
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
</td><td>
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
</td></tr>
|
|
61
|
-
</tbody></table>
|
|
62
|
-
|
|
63
|
-
**Returns:**
|
|
64
|
-
|
|
65
|
-
Promise<T>
|
|
66
|
-
|
|
67
15
|
## Example
|
|
68
16
|
|
|
69
17
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [respondToVisibility](./foundation-utils.respondtovisibility.md)
|
|
4
4
|
|
|
5
|
-
## respondToVisibility
|
|
5
|
+
## respondToVisibility variable
|
|
6
6
|
|
|
7
7
|
Setup an `IntersectionObserver` which will activate a callback function when an element becomes visible on screen
|
|
8
8
|
|
|
@@ -11,60 +11,3 @@ Setup an `IntersectionObserver` which will activate a callback function when an
|
|
|
11
11
|
```typescript
|
|
12
12
|
respondToVisibility: (element: HTMLElement, callback: (arg0: boolean) => any) => void
|
|
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
|
-
element
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</td><td>
|
|
39
|
-
|
|
40
|
-
HTMLElement
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</td><td>
|
|
44
|
-
|
|
45
|
-
HTMLElement to observe
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
</td></tr>
|
|
49
|
-
<tr><td>
|
|
50
|
-
|
|
51
|
-
callback
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
</td><td>
|
|
55
|
-
|
|
56
|
-
(arg0: boolean) => any
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
</td><td>
|
|
60
|
-
|
|
61
|
-
any function called when the visibility changes
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
</td></tr>
|
|
65
|
-
</tbody></table>
|
|
66
|
-
|
|
67
|
-
**Returns:**
|
|
68
|
-
|
|
69
|
-
void
|
|
70
|
-
|
|
@@ -15,79 +15,13 @@ export declare class SlottedStyles extends FASTElement
|
|
|
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
|
-
[styles](./foundation-utils.slottedstyles.styles.md)
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
</td><td>
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
</td><td>
|
|
48
|
-
|
|
49
|
-
ElementStyles
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
</td><td>
|
|
53
|
-
|
|
54
|
-
The styles to apply to slotted elements.
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
</td></tr>
|
|
58
|
-
</tbody></table>
|
|
18
|
+
| Property | Modifiers | Type | Description |
|
|
19
|
+
| --- | --- | --- | --- |
|
|
20
|
+
| [styles](./foundation-utils.slottedstyles.styles.md) | | ElementStyles | The styles to apply to slotted elements. |
|
|
59
21
|
|
|
60
22
|
## Methods
|
|
61
23
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
</th><th>
|
|
68
|
-
|
|
69
|
-
Modifiers
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
</th><th>
|
|
73
|
-
|
|
74
|
-
Description
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
</th></tr></thead>
|
|
78
|
-
<tbody><tr><td>
|
|
79
|
-
|
|
80
|
-
[stylesChanged(prev, next)](./foundation-utils.slottedstyles.styleschanged.md)
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
</td><td>
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
</td><td>
|
|
87
|
-
|
|
88
|
-
Called when the `styles` property changes. Removes the previous styles from the parent element's FAST controller and adds the new styles.
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
</td></tr>
|
|
92
|
-
</tbody></table>
|
|
24
|
+
| Method | Modifiers | Description |
|
|
25
|
+
| --- | --- | --- |
|
|
26
|
+
| [stylesChanged(prev, next)](./foundation-utils.slottedstyles.styleschanged.md) | | Called when the <code>styles</code> property changes. Removes the previous styles from the parent element's FAST controller and adds the new styles. |
|
|
93
27
|
|
|
@@ -14,55 +14,10 @@ stylesChanged(prev: ElementStyles, next: ElementStyles): 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
|
-
prev
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</td><td>
|
|
39
|
-
|
|
40
|
-
ElementStyles
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</td><td>
|
|
44
|
-
|
|
45
|
-
The previous value of the `styles` property.
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
</td></tr>
|
|
49
|
-
<tr><td>
|
|
50
|
-
|
|
51
|
-
next
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
</td><td>
|
|
55
|
-
|
|
56
|
-
ElementStyles
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
</td><td>
|
|
60
|
-
|
|
61
|
-
The new value of the `styles` property.
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
</td></tr>
|
|
65
|
-
</tbody></table>
|
|
17
|
+
| Parameter | Type | Description |
|
|
18
|
+
| --- | --- | --- |
|
|
19
|
+
| prev | ElementStyles | The previous value of the <code>styles</code> property. |
|
|
20
|
+
| next | ElementStyles | The new value of the <code>styles</code> property. |
|
|
66
21
|
|
|
67
22
|
**Returns:**
|
|
68
23
|
|
|
@@ -14,85 +14,12 @@ export declare function sync<TSource = any, TReturn = any>(binding: Binding<TSou
|
|
|
14
14
|
|
|
15
15
|
## Parameters
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
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
|
-
|
|
46
|
-
</td></tr>
|
|
47
|
-
<tr><td>
|
|
48
|
-
|
|
49
|
-
conversionType
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
</td><td>
|
|
53
|
-
|
|
54
|
-
[ConversionType](./foundation-utils.conversiontype.md)
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
</td><td>
|
|
58
|
-
|
|
59
|
-
_(Optional)_
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
</td></tr>
|
|
63
|
-
<tr><td>
|
|
64
|
-
|
|
65
|
-
eventName
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
</td><td>
|
|
69
|
-
|
|
70
|
-
[EventName](./foundation-utils.eventname.md)
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
</td><td>
|
|
74
|
-
|
|
75
|
-
_(Optional)_
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
</td></tr>
|
|
79
|
-
<tr><td>
|
|
80
|
-
|
|
81
|
-
keyAttr
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
</td><td>
|
|
85
|
-
|
|
86
|
-
string
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
</td><td>
|
|
90
|
-
|
|
91
|
-
_(Optional)_
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
</td></tr>
|
|
95
|
-
</tbody></table>
|
|
17
|
+
| Parameter | Type | Description |
|
|
18
|
+
| --- | --- | --- |
|
|
19
|
+
| binding | Binding<TSource, TReturn> | |
|
|
20
|
+
| conversionType | [ConversionType](./foundation-utils.conversiontype.md) | _(Optional)_ |
|
|
21
|
+
| eventName | [EventName](./foundation-utils.eventname.md) | _(Optional)_ |
|
|
22
|
+
| keyAttr | string | _(Optional)_ |
|
|
96
23
|
|
|
97
24
|
**Returns:**
|
|
98
25
|
|
|
@@ -14,39 +14,9 @@ export declare function toElementStyles(styles: ComposableStyles | ComposableSty
|
|
|
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
|
-
styles
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</td><td>
|
|
39
|
-
|
|
40
|
-
ComposableStyles \| ComposableStyles\[\]
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</td><td>
|
|
44
|
-
|
|
45
|
-
ComposableStyles or a ComposableStyles array.
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
</td></tr>
|
|
49
|
-
</tbody></table>
|
|
17
|
+
| Parameter | Type | Description |
|
|
18
|
+
| --- | --- | --- |
|
|
19
|
+
| styles | ComposableStyles \| ComposableStyles\[\] | ComposableStyles or a ComposableStyles array. |
|
|
50
20
|
|
|
51
21
|
**Returns:**
|
|
52
22
|
|
|
@@ -14,39 +14,9 @@ createId(withLogging?: boolean): 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
|
-
withLogging
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</td><td>
|
|
39
|
-
|
|
40
|
-
boolean
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</td><td>
|
|
44
|
-
|
|
45
|
-
_(Optional)_ Optional. Whether to log the generated UUID to the console. Defaults to false.
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
</td></tr>
|
|
49
|
-
</tbody></table>
|
|
17
|
+
| Parameter | Type | Description |
|
|
18
|
+
| --- | --- | --- |
|
|
19
|
+
| withLogging | boolean | _(Optional)_ Optional. Whether to log the generated UUID to the console. Defaults to false. |
|
|
50
20
|
|
|
51
21
|
**Returns:**
|
|
52
22
|
|
|
@@ -14,39 +14,9 @@ createRemoteId(withLogging?: boolean): Promise<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
|
-
withLogging
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</td><td>
|
|
39
|
-
|
|
40
|
-
boolean
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</td><td>
|
|
44
|
-
|
|
45
|
-
_(Optional)_ Optional. Whether to log the generated UUID to the console. Defaults to false.
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
</td></tr>
|
|
49
|
-
</tbody></table>
|
|
17
|
+
| Parameter | Type | Description |
|
|
18
|
+
| --- | --- | --- |
|
|
19
|
+
| withLogging | boolean | _(Optional)_ Optional. Whether to log the generated UUID to the console. Defaults to false. |
|
|
50
20
|
|
|
51
21
|
**Returns:**
|
|
52
22
|
|