@genesislcap/foundation-utils 14.496.2-alpha-da9ccbd.0 → 14.496.2-alpha-2c4a633.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.
|
@@ -448,29 +448,6 @@
|
|
|
448
448
|
}
|
|
449
449
|
]
|
|
450
450
|
},
|
|
451
|
-
{
|
|
452
|
-
"kind": "javascript-module",
|
|
453
|
-
"path": "src/directives/index.ts",
|
|
454
|
-
"declarations": [],
|
|
455
|
-
"exports": [
|
|
456
|
-
{
|
|
457
|
-
"kind": "js",
|
|
458
|
-
"name": "*",
|
|
459
|
-
"declaration": {
|
|
460
|
-
"name": "*",
|
|
461
|
-
"package": "./sync"
|
|
462
|
-
}
|
|
463
|
-
},
|
|
464
|
-
{
|
|
465
|
-
"kind": "js",
|
|
466
|
-
"name": "*",
|
|
467
|
-
"declaration": {
|
|
468
|
-
"name": "*",
|
|
469
|
-
"package": "./when-else"
|
|
470
|
-
}
|
|
471
|
-
}
|
|
472
|
-
]
|
|
473
|
-
},
|
|
474
451
|
{
|
|
475
452
|
"kind": "javascript-module",
|
|
476
453
|
"path": "src/design-system/design-system.ts",
|
|
@@ -673,6 +650,82 @@
|
|
|
673
650
|
}
|
|
674
651
|
]
|
|
675
652
|
},
|
|
653
|
+
{
|
|
654
|
+
"kind": "javascript-module",
|
|
655
|
+
"path": "src/directives/index.ts",
|
|
656
|
+
"declarations": [],
|
|
657
|
+
"exports": [
|
|
658
|
+
{
|
|
659
|
+
"kind": "js",
|
|
660
|
+
"name": "*",
|
|
661
|
+
"declaration": {
|
|
662
|
+
"name": "*",
|
|
663
|
+
"package": "./sync"
|
|
664
|
+
}
|
|
665
|
+
},
|
|
666
|
+
{
|
|
667
|
+
"kind": "js",
|
|
668
|
+
"name": "*",
|
|
669
|
+
"declaration": {
|
|
670
|
+
"name": "*",
|
|
671
|
+
"package": "./when-else"
|
|
672
|
+
}
|
|
673
|
+
}
|
|
674
|
+
]
|
|
675
|
+
},
|
|
676
|
+
{
|
|
677
|
+
"kind": "javascript-module",
|
|
678
|
+
"path": "src/decorators/index.ts",
|
|
679
|
+
"declarations": [],
|
|
680
|
+
"exports": [
|
|
681
|
+
{
|
|
682
|
+
"kind": "js",
|
|
683
|
+
"name": "*",
|
|
684
|
+
"declaration": {
|
|
685
|
+
"name": "*",
|
|
686
|
+
"package": "./renderOnChange"
|
|
687
|
+
}
|
|
688
|
+
}
|
|
689
|
+
]
|
|
690
|
+
},
|
|
691
|
+
{
|
|
692
|
+
"kind": "javascript-module",
|
|
693
|
+
"path": "src/decorators/renderOnChange.ts",
|
|
694
|
+
"declarations": [
|
|
695
|
+
{
|
|
696
|
+
"kind": "function",
|
|
697
|
+
"name": "renderOnChange",
|
|
698
|
+
"parameters": [
|
|
699
|
+
{
|
|
700
|
+
"name": "target",
|
|
701
|
+
"type": {
|
|
702
|
+
"text": "FASTElement & { render(): void }"
|
|
703
|
+
},
|
|
704
|
+
"description": "The target to define the property change handler on."
|
|
705
|
+
},
|
|
706
|
+
{
|
|
707
|
+
"name": "name",
|
|
708
|
+
"type": {
|
|
709
|
+
"text": "string"
|
|
710
|
+
},
|
|
711
|
+
"description": "The property name."
|
|
712
|
+
}
|
|
713
|
+
],
|
|
714
|
+
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
|
715
|
+
"privacy": "public"
|
|
716
|
+
}
|
|
717
|
+
],
|
|
718
|
+
"exports": [
|
|
719
|
+
{
|
|
720
|
+
"kind": "js",
|
|
721
|
+
"name": "renderOnChange",
|
|
722
|
+
"declaration": {
|
|
723
|
+
"name": "renderOnChange",
|
|
724
|
+
"module": "src/decorators/renderOnChange.ts"
|
|
725
|
+
}
|
|
726
|
+
}
|
|
727
|
+
]
|
|
728
|
+
},
|
|
676
729
|
{
|
|
677
730
|
"kind": "javascript-module",
|
|
678
731
|
"path": "src/encoding/index.ts",
|
|
@@ -1163,59 +1216,6 @@
|
|
|
1163
1216
|
}
|
|
1164
1217
|
]
|
|
1165
1218
|
},
|
|
1166
|
-
{
|
|
1167
|
-
"kind": "javascript-module",
|
|
1168
|
-
"path": "src/decorators/index.ts",
|
|
1169
|
-
"declarations": [],
|
|
1170
|
-
"exports": [
|
|
1171
|
-
{
|
|
1172
|
-
"kind": "js",
|
|
1173
|
-
"name": "*",
|
|
1174
|
-
"declaration": {
|
|
1175
|
-
"name": "*",
|
|
1176
|
-
"package": "./renderOnChange"
|
|
1177
|
-
}
|
|
1178
|
-
}
|
|
1179
|
-
]
|
|
1180
|
-
},
|
|
1181
|
-
{
|
|
1182
|
-
"kind": "javascript-module",
|
|
1183
|
-
"path": "src/decorators/renderOnChange.ts",
|
|
1184
|
-
"declarations": [
|
|
1185
|
-
{
|
|
1186
|
-
"kind": "function",
|
|
1187
|
-
"name": "renderOnChange",
|
|
1188
|
-
"parameters": [
|
|
1189
|
-
{
|
|
1190
|
-
"name": "target",
|
|
1191
|
-
"type": {
|
|
1192
|
-
"text": "FASTElement & { render(): void }"
|
|
1193
|
-
},
|
|
1194
|
-
"description": "The target to define the property change handler on."
|
|
1195
|
-
},
|
|
1196
|
-
{
|
|
1197
|
-
"name": "name",
|
|
1198
|
-
"type": {
|
|
1199
|
-
"text": "string"
|
|
1200
|
-
},
|
|
1201
|
-
"description": "The property name."
|
|
1202
|
-
}
|
|
1203
|
-
],
|
|
1204
|
-
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
|
1205
|
-
"privacy": "public"
|
|
1206
|
-
}
|
|
1207
|
-
],
|
|
1208
|
-
"exports": [
|
|
1209
|
-
{
|
|
1210
|
-
"kind": "js",
|
|
1211
|
-
"name": "renderOnChange",
|
|
1212
|
-
"declaration": {
|
|
1213
|
-
"name": "renderOnChange",
|
|
1214
|
-
"module": "src/decorators/renderOnChange.ts"
|
|
1215
|
-
}
|
|
1216
|
-
}
|
|
1217
|
-
]
|
|
1218
|
-
},
|
|
1219
1219
|
{
|
|
1220
1220
|
"kind": "javascript-module",
|
|
1221
1221
|
"path": "src/error/errorMap.ts",
|
|
@@ -71,13 +71,11 @@ export declare const LifecycleMixin: <T extends ConstructableLifecycleHandler>(B
|
|
|
71
71
|
**/
|
|
72
72
|
#_shouldForceLifecycle: boolean;
|
|
73
73
|
/**
|
|
74
|
-
* Set once a short grace period has elapsed since a blocked ('reflow')
|
|
75
|
-
* consumers run defensive cleanup
|
|
76
|
-
* a
|
|
77
|
-
*
|
|
78
|
-
*
|
|
79
|
-
* `setTimeout` is cheap here and outlasts any such scheduler, so once it has passed the paired
|
|
80
|
-
* reconnect must not stay blocked, or the consumer never re-initializes.
|
|
74
|
+
* Set once a short grace period (`setTimeout`) has elapsed since a blocked ('reflow')
|
|
75
|
+
* disconnect. Some consumers run defensive cleanup after the block via schedulers that can
|
|
76
|
+
* outlast a microtask (e.g. FAST's `DOM.queueUpdate`), so a macrotask-scale grace period is
|
|
77
|
+
* needed - once it has passed, the paired reconnect must not stay blocked, or the consumer
|
|
78
|
+
* never re-initializes.
|
|
81
79
|
* @internal
|
|
82
80
|
**/
|
|
83
81
|
#_blockedDisconnectSurvivedGracePeriod: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lifecycle.d.ts","sourceRoot":"","sources":["../../../../src/mixins/lifecycle/lifecycle.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAErE;;GAEG;AACH,MAAM,MAAM,6BAA6B,GAAG,aAAa,CAAC,WAAW,GAAG,WAAW,CAAC,CAAC;AAErF;;;;GAIG;AACH,MAAM,MAAM,yBAAyB,GAAG;IACtC,QAAQ,EAAE,OAAO,CAAC;IAClB,cAAc,EAAE,OAAO,CAAC;IACxB,oBAAoB,EAAE,MAAM,GAAG,SAAS,CAAC;IACzC,IAAI,EAAE,mBAAmB,CAAC;CAC3B,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC,IAAI,EAAE,yBAAyB,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M;QACzB;;;YAGI;0BACc,OAAO;QACzB;;;;;;;YAOI;0BACc,MAAM,CAAC,OAAO;QAChC;;;;YAII;gCACoB,OAAO;QAC/B;;;;;;;YAOI;gDACoC,OAAO;QAM/C;;;;;WAKG;yBACuB,OAAO,GAAG,IAAI;QAUxC;;;;;;WAMG;qBACU,IAAI;QAMjB;;;WAGG;;QAmBH;;;;;WAKG;;wDAwB6C,aAAa,GAAG,OAAO;QAyCvE;;;;;;WAMG;qCAC0B,OAAO,GAAG,SAAS;6BA4B3B,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAM1B,CAAC;AAEJ;;;GAGG;AACH,eAAO,MAAM,mBAAmB,eAAkC,CAAC"}
|
|
@@ -43,13 +43,11 @@ export const LifecycleMixin = (Base) => { var _instances, __container, __latestT
|
|
|
43
43
|
**/
|
|
44
44
|
__shouldForceLifecycle.set(this, false);
|
|
45
45
|
/**
|
|
46
|
-
* Set once a short grace period has elapsed since a blocked ('reflow')
|
|
47
|
-
* consumers run defensive cleanup
|
|
48
|
-
* a
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
* `setTimeout` is cheap here and outlasts any such scheduler, so once it has passed the paired
|
|
52
|
-
* reconnect must not stay blocked, or the consumer never re-initializes.
|
|
46
|
+
* Set once a short grace period (`setTimeout`) has elapsed since a blocked ('reflow')
|
|
47
|
+
* disconnect. Some consumers run defensive cleanup after the block via schedulers that can
|
|
48
|
+
* outlast a microtask (e.g. FAST's `DOM.queueUpdate`), so a macrotask-scale grace period is
|
|
49
|
+
* needed - once it has passed, the paired reconnect must not stay blocked, or the consumer
|
|
50
|
+
* never re-initializes.
|
|
53
51
|
* @internal
|
|
54
52
|
**/
|
|
55
53
|
__blockedDisconnectSurvivedGracePeriod.set(this, false);
|
|
@@ -1019,13 +1019,11 @@ export declare const LifecycleMixin: <T extends ConstructableLifecycleHandler>(B
|
|
|
1019
1019
|
**/
|
|
1020
1020
|
#_shouldForceLifecycle: boolean;
|
|
1021
1021
|
/**
|
|
1022
|
-
* Set once a short grace period has elapsed since a blocked ('reflow')
|
|
1023
|
-
* consumers run defensive cleanup
|
|
1024
|
-
* a
|
|
1025
|
-
*
|
|
1026
|
-
*
|
|
1027
|
-
* `setTimeout` is cheap here and outlasts any such scheduler, so once it has passed the paired
|
|
1028
|
-
* reconnect must not stay blocked, or the consumer never re-initializes.
|
|
1022
|
+
* Set once a short grace period (`setTimeout`) has elapsed since a blocked ('reflow')
|
|
1023
|
+
* disconnect. Some consumers run defensive cleanup after the block via schedulers that can
|
|
1024
|
+
* outlast a microtask (e.g. FAST's `DOM.queueUpdate`), so a macrotask-scale grace period is
|
|
1025
|
+
* needed - once it has passed, the paired reconnect must not stay blocked, or the consumer
|
|
1026
|
+
* never re-initializes.
|
|
1029
1027
|
* @internal
|
|
1030
1028
|
**/
|
|
1031
1029
|
#_blockedDisconnectSurvivedGracePeriod: boolean;
|
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.496.2-alpha-
|
|
4
|
+
"version": "14.496.2-alpha-2c4a633.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -29,18 +29,18 @@
|
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@genesislcap/foundation-testing": "14.496.2-alpha-
|
|
33
|
-
"@genesislcap/genx": "14.496.2-alpha-
|
|
34
|
-
"@genesislcap/rollup-builder": "14.496.2-alpha-
|
|
35
|
-
"@genesislcap/ts-builder": "14.496.2-alpha-
|
|
36
|
-
"@genesislcap/uvu-playwright-builder": "14.496.2-alpha-
|
|
37
|
-
"@genesislcap/vite-builder": "14.496.2-alpha-
|
|
38
|
-
"@genesislcap/webpack-builder": "14.496.2-alpha-
|
|
32
|
+
"@genesislcap/foundation-testing": "14.496.2-alpha-2c4a633.0",
|
|
33
|
+
"@genesislcap/genx": "14.496.2-alpha-2c4a633.0",
|
|
34
|
+
"@genesislcap/rollup-builder": "14.496.2-alpha-2c4a633.0",
|
|
35
|
+
"@genesislcap/ts-builder": "14.496.2-alpha-2c4a633.0",
|
|
36
|
+
"@genesislcap/uvu-playwright-builder": "14.496.2-alpha-2c4a633.0",
|
|
37
|
+
"@genesislcap/vite-builder": "14.496.2-alpha-2c4a633.0",
|
|
38
|
+
"@genesislcap/webpack-builder": "14.496.2-alpha-2c4a633.0",
|
|
39
39
|
"@types/json-schema": "^7.0.11"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@genesislcap/expression-builder": "14.496.2-alpha-
|
|
43
|
-
"@genesislcap/foundation-logger": "14.496.2-alpha-
|
|
42
|
+
"@genesislcap/expression-builder": "14.496.2-alpha-2c4a633.0",
|
|
43
|
+
"@genesislcap/foundation-logger": "14.496.2-alpha-2c4a633.0",
|
|
44
44
|
"@microsoft/fast-components": "2.30.6",
|
|
45
45
|
"@microsoft/fast-element": "1.14.0",
|
|
46
46
|
"@microsoft/fast-foundation": "2.50.0",
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"access": "public"
|
|
59
59
|
},
|
|
60
60
|
"customElements": "dist/custom-elements.json",
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "5df68bd8b1d25f3435e5a8e45da2c79c12579f3f"
|
|
62
62
|
}
|