@genesislcap/foundation-utils 14.486.0 → 14.486.1-alpha-9277091.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.
@@ -250,59 +250,6 @@
250
250
  }
251
251
  ]
252
252
  },
253
- {
254
- "kind": "javascript-module",
255
- "path": "src/decorators/index.ts",
256
- "declarations": [],
257
- "exports": [
258
- {
259
- "kind": "js",
260
- "name": "*",
261
- "declaration": {
262
- "name": "*",
263
- "package": "./renderOnChange"
264
- }
265
- }
266
- ]
267
- },
268
- {
269
- "kind": "javascript-module",
270
- "path": "src/decorators/renderOnChange.ts",
271
- "declarations": [
272
- {
273
- "kind": "function",
274
- "name": "renderOnChange",
275
- "parameters": [
276
- {
277
- "name": "target",
278
- "type": {
279
- "text": "FASTElement & { render(): void }"
280
- },
281
- "description": "The target to define the property change handler on."
282
- },
283
- {
284
- "name": "name",
285
- "type": {
286
- "text": "string"
287
- },
288
- "description": "The property name."
289
- }
290
- ],
291
- "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
292
- "privacy": "public"
293
- }
294
- ],
295
- "exports": [
296
- {
297
- "kind": "js",
298
- "name": "renderOnChange",
299
- "declaration": {
300
- "name": "renderOnChange",
301
- "module": "src/decorators/renderOnChange.ts"
302
- }
303
- }
304
- ]
305
- },
306
253
  {
307
254
  "kind": "javascript-module",
308
255
  "path": "src/data/inMemoryDatabase.ts",
@@ -703,6 +650,82 @@
703
650
  }
704
651
  ]
705
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
+ },
706
729
  {
707
730
  "kind": "javascript-module",
708
731
  "path": "src/encoding/index.ts",
@@ -1193,29 +1216,6 @@
1193
1216
  }
1194
1217
  ]
1195
1218
  },
1196
- {
1197
- "kind": "javascript-module",
1198
- "path": "src/directives/index.ts",
1199
- "declarations": [],
1200
- "exports": [
1201
- {
1202
- "kind": "js",
1203
- "name": "*",
1204
- "declaration": {
1205
- "name": "*",
1206
- "package": "./sync"
1207
- }
1208
- },
1209
- {
1210
- "kind": "js",
1211
- "name": "*",
1212
- "declaration": {
1213
- "name": "*",
1214
- "package": "./when-else"
1215
- }
1216
- }
1217
- ]
1218
- },
1219
1219
  {
1220
1220
  "kind": "javascript-module",
1221
1221
  "path": "src/error/errorMap.ts",
@@ -4823,160 +4823,6 @@
4823
4823
  }
4824
4824
  ]
4825
4825
  },
4826
- {
4827
- "kind": "javascript-module",
4828
- "path": "src/encoding/base64/decode.ts",
4829
- "declarations": [
4830
- {
4831
- "kind": "function",
4832
- "name": "decodeFromBase64",
4833
- "return": {
4834
- "type": {
4835
- "text": ""
4836
- }
4837
- },
4838
- "parameters": [
4839
- {
4840
- "name": "base64Value",
4841
- "type": {
4842
- "text": "string"
4843
- }
4844
- },
4845
- {
4846
- "description": "The value to decode from base64.",
4847
- "name": "value"
4848
- }
4849
- ],
4850
- "description": "Decodes a value from base64.",
4851
- "privacy": "public"
4852
- },
4853
- {
4854
- "kind": "function",
4855
- "name": "decodeFromBase64WithPrefix",
4856
- "return": {
4857
- "type": {
4858
- "text": ""
4859
- }
4860
- },
4861
- "parameters": [
4862
- {
4863
- "name": "value",
4864
- "type": {
4865
- "text": "string"
4866
- },
4867
- "description": "The value to decode from base64."
4868
- }
4869
- ],
4870
- "description": "Decodes a value from base64 with a prefix.",
4871
- "privacy": "public"
4872
- }
4873
- ],
4874
- "exports": [
4875
- {
4876
- "kind": "js",
4877
- "name": "decodeFromBase64",
4878
- "declaration": {
4879
- "name": "decodeFromBase64",
4880
- "module": "src/encoding/base64/decode.ts"
4881
- }
4882
- },
4883
- {
4884
- "kind": "js",
4885
- "name": "decodeFromBase64WithPrefix",
4886
- "declaration": {
4887
- "name": "decodeFromBase64WithPrefix",
4888
- "module": "src/encoding/base64/decode.ts"
4889
- }
4890
- }
4891
- ]
4892
- },
4893
- {
4894
- "kind": "javascript-module",
4895
- "path": "src/encoding/base64/encode.ts",
4896
- "declarations": [
4897
- {
4898
- "kind": "function",
4899
- "name": "encodeToBase64",
4900
- "return": {
4901
- "type": {
4902
- "text": ""
4903
- }
4904
- },
4905
- "parameters": [
4906
- {
4907
- "name": "value",
4908
- "type": {
4909
- "text": "string | ArrayBuffer"
4910
- },
4911
- "description": "The value to encode to base64."
4912
- }
4913
- ],
4914
- "description": "Encodes the given value to base64.",
4915
- "privacy": "public"
4916
- },
4917
- {
4918
- "kind": "function",
4919
- "name": "encodeToBase64WithPrefix",
4920
- "return": {
4921
- "type": {
4922
- "text": ""
4923
- }
4924
- },
4925
- "parameters": [
4926
- {
4927
- "name": "value",
4928
- "type": {
4929
- "text": "string | ArrayBuffer"
4930
- },
4931
- "description": "The value to encode to base64."
4932
- }
4933
- ],
4934
- "description": "Encodes the given value with a prefix to base64.",
4935
- "privacy": "public"
4936
- }
4937
- ],
4938
- "exports": [
4939
- {
4940
- "kind": "js",
4941
- "name": "encodeToBase64",
4942
- "declaration": {
4943
- "name": "encodeToBase64",
4944
- "module": "src/encoding/base64/encode.ts"
4945
- }
4946
- },
4947
- {
4948
- "kind": "js",
4949
- "name": "encodeToBase64WithPrefix",
4950
- "declaration": {
4951
- "name": "encodeToBase64WithPrefix",
4952
- "module": "src/encoding/base64/encode.ts"
4953
- }
4954
- }
4955
- ]
4956
- },
4957
- {
4958
- "kind": "javascript-module",
4959
- "path": "src/encoding/base64/index.ts",
4960
- "declarations": [],
4961
- "exports": [
4962
- {
4963
- "kind": "js",
4964
- "name": "*",
4965
- "declaration": {
4966
- "name": "*",
4967
- "package": "./decode"
4968
- }
4969
- },
4970
- {
4971
- "kind": "js",
4972
- "name": "*",
4973
- "declaration": {
4974
- "name": "*",
4975
- "package": "./encode"
4976
- }
4977
- }
4978
- ]
4979
- },
4980
4826
  {
4981
4827
  "kind": "javascript-module",
4982
4828
  "path": "src/directives/sync/index.ts",
@@ -5131,6 +4977,160 @@
5131
4977
  }
5132
4978
  ]
5133
4979
  },
4980
+ {
4981
+ "kind": "javascript-module",
4982
+ "path": "src/encoding/base64/decode.ts",
4983
+ "declarations": [
4984
+ {
4985
+ "kind": "function",
4986
+ "name": "decodeFromBase64",
4987
+ "return": {
4988
+ "type": {
4989
+ "text": ""
4990
+ }
4991
+ },
4992
+ "parameters": [
4993
+ {
4994
+ "name": "base64Value",
4995
+ "type": {
4996
+ "text": "string"
4997
+ }
4998
+ },
4999
+ {
5000
+ "description": "The value to decode from base64.",
5001
+ "name": "value"
5002
+ }
5003
+ ],
5004
+ "description": "Decodes a value from base64.",
5005
+ "privacy": "public"
5006
+ },
5007
+ {
5008
+ "kind": "function",
5009
+ "name": "decodeFromBase64WithPrefix",
5010
+ "return": {
5011
+ "type": {
5012
+ "text": ""
5013
+ }
5014
+ },
5015
+ "parameters": [
5016
+ {
5017
+ "name": "value",
5018
+ "type": {
5019
+ "text": "string"
5020
+ },
5021
+ "description": "The value to decode from base64."
5022
+ }
5023
+ ],
5024
+ "description": "Decodes a value from base64 with a prefix.",
5025
+ "privacy": "public"
5026
+ }
5027
+ ],
5028
+ "exports": [
5029
+ {
5030
+ "kind": "js",
5031
+ "name": "decodeFromBase64",
5032
+ "declaration": {
5033
+ "name": "decodeFromBase64",
5034
+ "module": "src/encoding/base64/decode.ts"
5035
+ }
5036
+ },
5037
+ {
5038
+ "kind": "js",
5039
+ "name": "decodeFromBase64WithPrefix",
5040
+ "declaration": {
5041
+ "name": "decodeFromBase64WithPrefix",
5042
+ "module": "src/encoding/base64/decode.ts"
5043
+ }
5044
+ }
5045
+ ]
5046
+ },
5047
+ {
5048
+ "kind": "javascript-module",
5049
+ "path": "src/encoding/base64/encode.ts",
5050
+ "declarations": [
5051
+ {
5052
+ "kind": "function",
5053
+ "name": "encodeToBase64",
5054
+ "return": {
5055
+ "type": {
5056
+ "text": ""
5057
+ }
5058
+ },
5059
+ "parameters": [
5060
+ {
5061
+ "name": "value",
5062
+ "type": {
5063
+ "text": "string | ArrayBuffer"
5064
+ },
5065
+ "description": "The value to encode to base64."
5066
+ }
5067
+ ],
5068
+ "description": "Encodes the given value to base64.",
5069
+ "privacy": "public"
5070
+ },
5071
+ {
5072
+ "kind": "function",
5073
+ "name": "encodeToBase64WithPrefix",
5074
+ "return": {
5075
+ "type": {
5076
+ "text": ""
5077
+ }
5078
+ },
5079
+ "parameters": [
5080
+ {
5081
+ "name": "value",
5082
+ "type": {
5083
+ "text": "string | ArrayBuffer"
5084
+ },
5085
+ "description": "The value to encode to base64."
5086
+ }
5087
+ ],
5088
+ "description": "Encodes the given value with a prefix to base64.",
5089
+ "privacy": "public"
5090
+ }
5091
+ ],
5092
+ "exports": [
5093
+ {
5094
+ "kind": "js",
5095
+ "name": "encodeToBase64",
5096
+ "declaration": {
5097
+ "name": "encodeToBase64",
5098
+ "module": "src/encoding/base64/encode.ts"
5099
+ }
5100
+ },
5101
+ {
5102
+ "kind": "js",
5103
+ "name": "encodeToBase64WithPrefix",
5104
+ "declaration": {
5105
+ "name": "encodeToBase64WithPrefix",
5106
+ "module": "src/encoding/base64/encode.ts"
5107
+ }
5108
+ }
5109
+ ]
5110
+ },
5111
+ {
5112
+ "kind": "javascript-module",
5113
+ "path": "src/encoding/base64/index.ts",
5114
+ "declarations": [],
5115
+ "exports": [
5116
+ {
5117
+ "kind": "js",
5118
+ "name": "*",
5119
+ "declaration": {
5120
+ "name": "*",
5121
+ "package": "./decode"
5122
+ }
5123
+ },
5124
+ {
5125
+ "kind": "js",
5126
+ "name": "*",
5127
+ "declaration": {
5128
+ "name": "*",
5129
+ "package": "./encode"
5130
+ }
5131
+ }
5132
+ ]
5133
+ },
5134
5134
  {
5135
5135
  "kind": "javascript-module",
5136
5136
  "path": "src/mappers/dto/index.ts",
@@ -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,IA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAM1B,CAAC;AAEJ;;;GAGG;AACH,eAAO,MAAM,mBAAmB,eAAkC,CAAC"}
@@ -141,6 +141,11 @@ export const LifecycleMixin = (Base) => { var _instances, __container, __latestT
141
141
  }
142
142
  else if (lifecycleType === 'disconnect') {
143
143
  result = tokensDifferent;
144
+ if (!result) {
145
+ // Real disconnect: reset so the next connect is a fresh 'connect', not a token-gated
146
+ // 'reconnect' — otherwise unrelated layout changes while disconnected can block it forever.
147
+ __classPrivateFieldSet(this, __hasFirstLoaded, false, "f");
148
+ }
144
149
  __classPrivateFieldSet(this, __cleanupTimeout, setTimeout(() => {
145
150
  __classPrivateFieldSet(this, __shouldForceLifecycle, result, "f");
146
151
  if (__classPrivateFieldGet(this, __shouldForceLifecycle, "f")) {
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.486.0",
4
+ "version": "14.486.1-alpha-9277091.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.486.0",
33
- "@genesislcap/genx": "14.486.0",
34
- "@genesislcap/rollup-builder": "14.486.0",
35
- "@genesislcap/ts-builder": "14.486.0",
36
- "@genesislcap/uvu-playwright-builder": "14.486.0",
37
- "@genesislcap/vite-builder": "14.486.0",
38
- "@genesislcap/webpack-builder": "14.486.0",
32
+ "@genesislcap/foundation-testing": "14.486.1-alpha-9277091.0",
33
+ "@genesislcap/genx": "14.486.1-alpha-9277091.0",
34
+ "@genesislcap/rollup-builder": "14.486.1-alpha-9277091.0",
35
+ "@genesislcap/ts-builder": "14.486.1-alpha-9277091.0",
36
+ "@genesislcap/uvu-playwright-builder": "14.486.1-alpha-9277091.0",
37
+ "@genesislcap/vite-builder": "14.486.1-alpha-9277091.0",
38
+ "@genesislcap/webpack-builder": "14.486.1-alpha-9277091.0",
39
39
  "@types/json-schema": "^7.0.11"
40
40
  },
41
41
  "dependencies": {
42
- "@genesislcap/expression-builder": "14.486.0",
43
- "@genesislcap/foundation-logger": "14.486.0",
42
+ "@genesislcap/expression-builder": "14.486.1-alpha-9277091.0",
43
+ "@genesislcap/foundation-logger": "14.486.1-alpha-9277091.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": "5de11f8989291fe8aaf19a7048dd6be68c0be9c8"
61
+ "gitHead": "aec370356825ed267b1da09a63ddecee278702cf"
62
62
  }