@genesislcap/foundation-utils 14.488.1 → 14.488.2-GENC-1351.2
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 +205 -205
- package/dist/dts/env/variables.d.ts +3 -3
- package/dist/dts/mixins/lifecycle/lifecycle.d.ts.map +1 -1
- package/dist/esm/env/variables.js +3 -3
- package/dist/esm/mixins/lifecycle/lifecycle.js +5 -0
- package/dist/foundation-utils.api.json +3 -3
- package/dist/foundation-utils.d.ts +3 -3
- package/package.json +11 -11
|
@@ -303,6 +303,208 @@
|
|
|
303
303
|
}
|
|
304
304
|
]
|
|
305
305
|
},
|
|
306
|
+
{
|
|
307
|
+
"kind": "javascript-module",
|
|
308
|
+
"path": "src/design-system/design-system.ts",
|
|
309
|
+
"declarations": [
|
|
310
|
+
{
|
|
311
|
+
"kind": "function",
|
|
312
|
+
"name": "assureDesignSystem",
|
|
313
|
+
"return": {
|
|
314
|
+
"type": {
|
|
315
|
+
"text": "DesignSystemModule"
|
|
316
|
+
}
|
|
317
|
+
},
|
|
318
|
+
"parameters": [
|
|
319
|
+
{
|
|
320
|
+
"name": "module",
|
|
321
|
+
"type": {
|
|
322
|
+
"text": "DesignSystemModule"
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
],
|
|
326
|
+
"description": "assureDesignSystem.",
|
|
327
|
+
"privacy": "public"
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
"kind": "function",
|
|
331
|
+
"name": "getCurrentDesignSystem",
|
|
332
|
+
"return": {
|
|
333
|
+
"type": {
|
|
334
|
+
"text": ""
|
|
335
|
+
}
|
|
336
|
+
},
|
|
337
|
+
"parameters": [
|
|
338
|
+
{
|
|
339
|
+
"name": "element",
|
|
340
|
+
"type": {
|
|
341
|
+
"text": "HTMLElement"
|
|
342
|
+
},
|
|
343
|
+
"description": "The starting HTML element"
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
"name": "fallbackPrefix",
|
|
347
|
+
"type": {
|
|
348
|
+
"text": "string"
|
|
349
|
+
},
|
|
350
|
+
"description": "The prefix to fallback to if the provider is not available"
|
|
351
|
+
}
|
|
352
|
+
],
|
|
353
|
+
"description": "Get the current design system provider element and prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
|
|
354
|
+
"privacy": "public"
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
"kind": "function",
|
|
358
|
+
"name": "getCurrentDesignSystemPrefix",
|
|
359
|
+
"return": {
|
|
360
|
+
"type": {
|
|
361
|
+
"text": ""
|
|
362
|
+
}
|
|
363
|
+
},
|
|
364
|
+
"parameters": [
|
|
365
|
+
{
|
|
366
|
+
"name": "element",
|
|
367
|
+
"type": {
|
|
368
|
+
"text": "HTMLElement"
|
|
369
|
+
},
|
|
370
|
+
"description": "The starting HTML element"
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
"name": "fallbackPrefix",
|
|
374
|
+
"type": {
|
|
375
|
+
"text": "string"
|
|
376
|
+
},
|
|
377
|
+
"description": "The prefix to fallback to if the provider is not available"
|
|
378
|
+
}
|
|
379
|
+
],
|
|
380
|
+
"description": "Get the current design system prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
|
|
381
|
+
"privacy": "public"
|
|
382
|
+
}
|
|
383
|
+
],
|
|
384
|
+
"exports": [
|
|
385
|
+
{
|
|
386
|
+
"kind": "js",
|
|
387
|
+
"name": "assureDesignSystem",
|
|
388
|
+
"declaration": {
|
|
389
|
+
"name": "assureDesignSystem",
|
|
390
|
+
"module": "src/design-system/design-system.ts"
|
|
391
|
+
}
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
"kind": "js",
|
|
395
|
+
"name": "getCurrentDesignSystem",
|
|
396
|
+
"declaration": {
|
|
397
|
+
"name": "getCurrentDesignSystem",
|
|
398
|
+
"module": "src/design-system/design-system.ts"
|
|
399
|
+
}
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
"kind": "js",
|
|
403
|
+
"name": "getCurrentDesignSystemPrefix",
|
|
404
|
+
"declaration": {
|
|
405
|
+
"name": "getCurrentDesignSystemPrefix",
|
|
406
|
+
"module": "src/design-system/design-system.ts"
|
|
407
|
+
}
|
|
408
|
+
}
|
|
409
|
+
]
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
"kind": "javascript-module",
|
|
413
|
+
"path": "src/design-system/editable-elements.ts",
|
|
414
|
+
"declarations": [
|
|
415
|
+
{
|
|
416
|
+
"kind": "variable",
|
|
417
|
+
"name": "BASE_EDITABLE_ELEMENT_SELECTORS",
|
|
418
|
+
"type": {
|
|
419
|
+
"text": "[\n ...NATIVE_EDITABLE_ELEMENT_SELECTORS,\n ...CONTENT_EDITABLE_SELECTORS,\n ...ARIA_EDITABLE_ROLE_SELECTORS,\n]"
|
|
420
|
+
},
|
|
421
|
+
"default": "[\n ...NATIVE_EDITABLE_ELEMENT_SELECTORS,\n ...CONTENT_EDITABLE_SELECTORS,\n ...ARIA_EDITABLE_ROLE_SELECTORS,\n]",
|
|
422
|
+
"description": "Base selectors treated as editable context regardless of design system.\nIncludes native controls, contenteditable, and ARIA-editable roles."
|
|
423
|
+
},
|
|
424
|
+
{
|
|
425
|
+
"kind": "variable",
|
|
426
|
+
"name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
|
|
427
|
+
"type": {
|
|
428
|
+
"text": "Record<\n EditableDesignSystemPrefix,\n readonly string[]\n>"
|
|
429
|
+
},
|
|
430
|
+
"default": "{\n rapid: buildDesignSystemEditableSelectors('rapid'),\n zero: buildDesignSystemEditableSelectors('zero'),\n}",
|
|
431
|
+
"description": "Design-system specific editable host selectors."
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
"kind": "function",
|
|
435
|
+
"name": "buildEditableElementSelector",
|
|
436
|
+
"return": {
|
|
437
|
+
"type": {
|
|
438
|
+
"text": "string"
|
|
439
|
+
}
|
|
440
|
+
},
|
|
441
|
+
"parameters": [
|
|
442
|
+
{
|
|
443
|
+
"name": "designSystems",
|
|
444
|
+
"type": {
|
|
445
|
+
"text": "readonly EditableDesignSystemPrefix[]"
|
|
446
|
+
}
|
|
447
|
+
},
|
|
448
|
+
{
|
|
449
|
+
"name": "customEditableSelectors",
|
|
450
|
+
"default": "[]",
|
|
451
|
+
"type": {
|
|
452
|
+
"text": "readonly string[]"
|
|
453
|
+
}
|
|
454
|
+
}
|
|
455
|
+
]
|
|
456
|
+
}
|
|
457
|
+
],
|
|
458
|
+
"exports": [
|
|
459
|
+
{
|
|
460
|
+
"kind": "js",
|
|
461
|
+
"name": "BASE_EDITABLE_ELEMENT_SELECTORS",
|
|
462
|
+
"declaration": {
|
|
463
|
+
"name": "BASE_EDITABLE_ELEMENT_SELECTORS",
|
|
464
|
+
"module": "src/design-system/editable-elements.ts"
|
|
465
|
+
}
|
|
466
|
+
},
|
|
467
|
+
{
|
|
468
|
+
"kind": "js",
|
|
469
|
+
"name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
|
|
470
|
+
"declaration": {
|
|
471
|
+
"name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
|
|
472
|
+
"module": "src/design-system/editable-elements.ts"
|
|
473
|
+
}
|
|
474
|
+
},
|
|
475
|
+
{
|
|
476
|
+
"kind": "js",
|
|
477
|
+
"name": "buildEditableElementSelector",
|
|
478
|
+
"declaration": {
|
|
479
|
+
"name": "buildEditableElementSelector",
|
|
480
|
+
"module": "src/design-system/editable-elements.ts"
|
|
481
|
+
}
|
|
482
|
+
}
|
|
483
|
+
]
|
|
484
|
+
},
|
|
485
|
+
{
|
|
486
|
+
"kind": "javascript-module",
|
|
487
|
+
"path": "src/design-system/index.ts",
|
|
488
|
+
"declarations": [],
|
|
489
|
+
"exports": [
|
|
490
|
+
{
|
|
491
|
+
"kind": "js",
|
|
492
|
+
"name": "*",
|
|
493
|
+
"declaration": {
|
|
494
|
+
"name": "*",
|
|
495
|
+
"package": "./design-system"
|
|
496
|
+
}
|
|
497
|
+
},
|
|
498
|
+
{
|
|
499
|
+
"kind": "js",
|
|
500
|
+
"name": "*",
|
|
501
|
+
"declaration": {
|
|
502
|
+
"name": "*",
|
|
503
|
+
"package": "./editable-elements"
|
|
504
|
+
}
|
|
505
|
+
}
|
|
506
|
+
]
|
|
507
|
+
},
|
|
306
508
|
{
|
|
307
509
|
"kind": "javascript-module",
|
|
308
510
|
"path": "src/data/inMemoryDatabase.ts",
|
|
@@ -708,7 +910,7 @@
|
|
|
708
910
|
"type": {
|
|
709
911
|
"text": "string"
|
|
710
912
|
},
|
|
711
|
-
"description": "The default Organisation value, used in auth/login flow [`genesislcap-foundation-
|
|
913
|
+
"description": "The default Organisation value, used in auth/login flow [`genesislcap-foundation-auth`](https://link-to-docs).",
|
|
712
914
|
"privacy": "public"
|
|
713
915
|
},
|
|
714
916
|
{
|
|
@@ -724,7 +926,7 @@
|
|
|
724
926
|
"type": {
|
|
725
927
|
"text": "string"
|
|
726
928
|
},
|
|
727
|
-
"description": "The default Password value, used in auth/login flow [`genesislcap-foundation-
|
|
929
|
+
"description": "The default Password value, used in auth/login flow [`genesislcap-foundation-auth`](https://link-to-docs).",
|
|
728
930
|
"privacy": "public"
|
|
729
931
|
},
|
|
730
932
|
{
|
|
@@ -740,7 +942,7 @@
|
|
|
740
942
|
"type": {
|
|
741
943
|
"text": "string"
|
|
742
944
|
},
|
|
743
|
-
"description": "The default Username value, used in auth/login flow [`genesislcap-foundation-
|
|
945
|
+
"description": "The default Username value, used in auth/login flow [`genesislcap-foundation-auth`](https://link-to-docs).",
|
|
744
946
|
"privacy": "public"
|
|
745
947
|
},
|
|
746
948
|
{
|
|
@@ -1014,208 +1216,6 @@
|
|
|
1014
1216
|
}
|
|
1015
1217
|
]
|
|
1016
1218
|
},
|
|
1017
|
-
{
|
|
1018
|
-
"kind": "javascript-module",
|
|
1019
|
-
"path": "src/design-system/design-system.ts",
|
|
1020
|
-
"declarations": [
|
|
1021
|
-
{
|
|
1022
|
-
"kind": "function",
|
|
1023
|
-
"name": "assureDesignSystem",
|
|
1024
|
-
"return": {
|
|
1025
|
-
"type": {
|
|
1026
|
-
"text": "DesignSystemModule"
|
|
1027
|
-
}
|
|
1028
|
-
},
|
|
1029
|
-
"parameters": [
|
|
1030
|
-
{
|
|
1031
|
-
"name": "module",
|
|
1032
|
-
"type": {
|
|
1033
|
-
"text": "DesignSystemModule"
|
|
1034
|
-
}
|
|
1035
|
-
}
|
|
1036
|
-
],
|
|
1037
|
-
"description": "assureDesignSystem.",
|
|
1038
|
-
"privacy": "public"
|
|
1039
|
-
},
|
|
1040
|
-
{
|
|
1041
|
-
"kind": "function",
|
|
1042
|
-
"name": "getCurrentDesignSystem",
|
|
1043
|
-
"return": {
|
|
1044
|
-
"type": {
|
|
1045
|
-
"text": ""
|
|
1046
|
-
}
|
|
1047
|
-
},
|
|
1048
|
-
"parameters": [
|
|
1049
|
-
{
|
|
1050
|
-
"name": "element",
|
|
1051
|
-
"type": {
|
|
1052
|
-
"text": "HTMLElement"
|
|
1053
|
-
},
|
|
1054
|
-
"description": "The starting HTML element"
|
|
1055
|
-
},
|
|
1056
|
-
{
|
|
1057
|
-
"name": "fallbackPrefix",
|
|
1058
|
-
"type": {
|
|
1059
|
-
"text": "string"
|
|
1060
|
-
},
|
|
1061
|
-
"description": "The prefix to fallback to if the provider is not available"
|
|
1062
|
-
}
|
|
1063
|
-
],
|
|
1064
|
-
"description": "Get the current design system provider element and prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
|
|
1065
|
-
"privacy": "public"
|
|
1066
|
-
},
|
|
1067
|
-
{
|
|
1068
|
-
"kind": "function",
|
|
1069
|
-
"name": "getCurrentDesignSystemPrefix",
|
|
1070
|
-
"return": {
|
|
1071
|
-
"type": {
|
|
1072
|
-
"text": ""
|
|
1073
|
-
}
|
|
1074
|
-
},
|
|
1075
|
-
"parameters": [
|
|
1076
|
-
{
|
|
1077
|
-
"name": "element",
|
|
1078
|
-
"type": {
|
|
1079
|
-
"text": "HTMLElement"
|
|
1080
|
-
},
|
|
1081
|
-
"description": "The starting HTML element"
|
|
1082
|
-
},
|
|
1083
|
-
{
|
|
1084
|
-
"name": "fallbackPrefix",
|
|
1085
|
-
"type": {
|
|
1086
|
-
"text": "string"
|
|
1087
|
-
},
|
|
1088
|
-
"description": "The prefix to fallback to if the provider is not available"
|
|
1089
|
-
}
|
|
1090
|
-
],
|
|
1091
|
-
"description": "Get the current design system prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
|
|
1092
|
-
"privacy": "public"
|
|
1093
|
-
}
|
|
1094
|
-
],
|
|
1095
|
-
"exports": [
|
|
1096
|
-
{
|
|
1097
|
-
"kind": "js",
|
|
1098
|
-
"name": "assureDesignSystem",
|
|
1099
|
-
"declaration": {
|
|
1100
|
-
"name": "assureDesignSystem",
|
|
1101
|
-
"module": "src/design-system/design-system.ts"
|
|
1102
|
-
}
|
|
1103
|
-
},
|
|
1104
|
-
{
|
|
1105
|
-
"kind": "js",
|
|
1106
|
-
"name": "getCurrentDesignSystem",
|
|
1107
|
-
"declaration": {
|
|
1108
|
-
"name": "getCurrentDesignSystem",
|
|
1109
|
-
"module": "src/design-system/design-system.ts"
|
|
1110
|
-
}
|
|
1111
|
-
},
|
|
1112
|
-
{
|
|
1113
|
-
"kind": "js",
|
|
1114
|
-
"name": "getCurrentDesignSystemPrefix",
|
|
1115
|
-
"declaration": {
|
|
1116
|
-
"name": "getCurrentDesignSystemPrefix",
|
|
1117
|
-
"module": "src/design-system/design-system.ts"
|
|
1118
|
-
}
|
|
1119
|
-
}
|
|
1120
|
-
]
|
|
1121
|
-
},
|
|
1122
|
-
{
|
|
1123
|
-
"kind": "javascript-module",
|
|
1124
|
-
"path": "src/design-system/editable-elements.ts",
|
|
1125
|
-
"declarations": [
|
|
1126
|
-
{
|
|
1127
|
-
"kind": "variable",
|
|
1128
|
-
"name": "BASE_EDITABLE_ELEMENT_SELECTORS",
|
|
1129
|
-
"type": {
|
|
1130
|
-
"text": "[\n ...NATIVE_EDITABLE_ELEMENT_SELECTORS,\n ...CONTENT_EDITABLE_SELECTORS,\n ...ARIA_EDITABLE_ROLE_SELECTORS,\n]"
|
|
1131
|
-
},
|
|
1132
|
-
"default": "[\n ...NATIVE_EDITABLE_ELEMENT_SELECTORS,\n ...CONTENT_EDITABLE_SELECTORS,\n ...ARIA_EDITABLE_ROLE_SELECTORS,\n]",
|
|
1133
|
-
"description": "Base selectors treated as editable context regardless of design system.\nIncludes native controls, contenteditable, and ARIA-editable roles."
|
|
1134
|
-
},
|
|
1135
|
-
{
|
|
1136
|
-
"kind": "variable",
|
|
1137
|
-
"name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
|
|
1138
|
-
"type": {
|
|
1139
|
-
"text": "Record<\n EditableDesignSystemPrefix,\n readonly string[]\n>"
|
|
1140
|
-
},
|
|
1141
|
-
"default": "{\n rapid: buildDesignSystemEditableSelectors('rapid'),\n zero: buildDesignSystemEditableSelectors('zero'),\n}",
|
|
1142
|
-
"description": "Design-system specific editable host selectors."
|
|
1143
|
-
},
|
|
1144
|
-
{
|
|
1145
|
-
"kind": "function",
|
|
1146
|
-
"name": "buildEditableElementSelector",
|
|
1147
|
-
"return": {
|
|
1148
|
-
"type": {
|
|
1149
|
-
"text": "string"
|
|
1150
|
-
}
|
|
1151
|
-
},
|
|
1152
|
-
"parameters": [
|
|
1153
|
-
{
|
|
1154
|
-
"name": "designSystems",
|
|
1155
|
-
"type": {
|
|
1156
|
-
"text": "readonly EditableDesignSystemPrefix[]"
|
|
1157
|
-
}
|
|
1158
|
-
},
|
|
1159
|
-
{
|
|
1160
|
-
"name": "customEditableSelectors",
|
|
1161
|
-
"default": "[]",
|
|
1162
|
-
"type": {
|
|
1163
|
-
"text": "readonly string[]"
|
|
1164
|
-
}
|
|
1165
|
-
}
|
|
1166
|
-
]
|
|
1167
|
-
}
|
|
1168
|
-
],
|
|
1169
|
-
"exports": [
|
|
1170
|
-
{
|
|
1171
|
-
"kind": "js",
|
|
1172
|
-
"name": "BASE_EDITABLE_ELEMENT_SELECTORS",
|
|
1173
|
-
"declaration": {
|
|
1174
|
-
"name": "BASE_EDITABLE_ELEMENT_SELECTORS",
|
|
1175
|
-
"module": "src/design-system/editable-elements.ts"
|
|
1176
|
-
}
|
|
1177
|
-
},
|
|
1178
|
-
{
|
|
1179
|
-
"kind": "js",
|
|
1180
|
-
"name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
|
|
1181
|
-
"declaration": {
|
|
1182
|
-
"name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
|
|
1183
|
-
"module": "src/design-system/editable-elements.ts"
|
|
1184
|
-
}
|
|
1185
|
-
},
|
|
1186
|
-
{
|
|
1187
|
-
"kind": "js",
|
|
1188
|
-
"name": "buildEditableElementSelector",
|
|
1189
|
-
"declaration": {
|
|
1190
|
-
"name": "buildEditableElementSelector",
|
|
1191
|
-
"module": "src/design-system/editable-elements.ts"
|
|
1192
|
-
}
|
|
1193
|
-
}
|
|
1194
|
-
]
|
|
1195
|
-
},
|
|
1196
|
-
{
|
|
1197
|
-
"kind": "javascript-module",
|
|
1198
|
-
"path": "src/design-system/index.ts",
|
|
1199
|
-
"declarations": [],
|
|
1200
|
-
"exports": [
|
|
1201
|
-
{
|
|
1202
|
-
"kind": "js",
|
|
1203
|
-
"name": "*",
|
|
1204
|
-
"declaration": {
|
|
1205
|
-
"name": "*",
|
|
1206
|
-
"package": "./design-system"
|
|
1207
|
-
}
|
|
1208
|
-
},
|
|
1209
|
-
{
|
|
1210
|
-
"kind": "js",
|
|
1211
|
-
"name": "*",
|
|
1212
|
-
"declaration": {
|
|
1213
|
-
"name": "*",
|
|
1214
|
-
"package": "./editable-elements"
|
|
1215
|
-
}
|
|
1216
|
-
}
|
|
1217
|
-
]
|
|
1218
|
-
},
|
|
1219
1219
|
{
|
|
1220
1220
|
"kind": "javascript-module",
|
|
1221
1221
|
"path": "src/error/errorMap.ts",
|
|
@@ -64,21 +64,21 @@ export { _API_HOST as API_HOST };
|
|
|
64
64
|
declare let _HTTP_CONFIG: string;
|
|
65
65
|
export { _HTTP_CONFIG as HTTP_CONFIG };
|
|
66
66
|
/**
|
|
67
|
-
* The default Organisation value, used in auth/login flow [`genesislcap-foundation-
|
|
67
|
+
* The default Organisation value, used in auth/login flow [`genesislcap-foundation-auth`](https://link-to-docs).
|
|
68
68
|
* @remarks Optional.
|
|
69
69
|
* @public
|
|
70
70
|
*/
|
|
71
71
|
declare let _DEFAULT_ORGANISATION: string;
|
|
72
72
|
export { _DEFAULT_ORGANISATION as DEFAULT_ORGANISATION };
|
|
73
73
|
/**
|
|
74
|
-
* The default Password value, used in auth/login flow [`genesislcap-foundation-
|
|
74
|
+
* The default Password value, used in auth/login flow [`genesislcap-foundation-auth`](https://link-to-docs).
|
|
75
75
|
* @remarks Optional.
|
|
76
76
|
* @public
|
|
77
77
|
*/
|
|
78
78
|
declare let _DEFAULT_PASSWORD: string;
|
|
79
79
|
export { _DEFAULT_PASSWORD as DEFAULT_PASSWORD };
|
|
80
80
|
/**
|
|
81
|
-
* The default Username value, used in auth/login flow [`genesislcap-foundation-
|
|
81
|
+
* The default Username value, used in auth/login flow [`genesislcap-foundation-auth`](https://link-to-docs).
|
|
82
82
|
* @remarks Optional.
|
|
83
83
|
* @public
|
|
84
84
|
*/
|
|
@@ -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,CA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AGG;AACH,eAAO,MAAM,mBAAmB,eAAkC,CAAC"}
|
|
@@ -101,7 +101,7 @@ try {
|
|
|
101
101
|
catch (_f) { }
|
|
102
102
|
export { _HTTP_CONFIG as HTTP_CONFIG };
|
|
103
103
|
/**
|
|
104
|
-
* The default Organisation value, used in auth/login flow [`genesislcap-foundation-
|
|
104
|
+
* The default Organisation value, used in auth/login flow [`genesislcap-foundation-auth`](https://link-to-docs).
|
|
105
105
|
* @remarks Optional.
|
|
106
106
|
* @public
|
|
107
107
|
*/
|
|
@@ -112,7 +112,7 @@ try {
|
|
|
112
112
|
catch (_g) { }
|
|
113
113
|
export { _DEFAULT_ORGANISATION as DEFAULT_ORGANISATION };
|
|
114
114
|
/**
|
|
115
|
-
* The default Password value, used in auth/login flow [`genesislcap-foundation-
|
|
115
|
+
* The default Password value, used in auth/login flow [`genesislcap-foundation-auth`](https://link-to-docs).
|
|
116
116
|
* @remarks Optional.
|
|
117
117
|
* @public
|
|
118
118
|
*/
|
|
@@ -123,7 +123,7 @@ try {
|
|
|
123
123
|
catch (_h) { }
|
|
124
124
|
export { _DEFAULT_PASSWORD as DEFAULT_PASSWORD };
|
|
125
125
|
/**
|
|
126
|
-
* The default Username value, used in auth/login flow [`genesislcap-foundation-
|
|
126
|
+
* The default Username value, used in auth/login flow [`genesislcap-foundation-auth`](https://link-to-docs).
|
|
127
127
|
* @remarks Optional.
|
|
128
128
|
* @public
|
|
129
129
|
*/
|
|
@@ -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")) {
|
|
@@ -2036,7 +2036,7 @@
|
|
|
2036
2036
|
{
|
|
2037
2037
|
"kind": "Variable",
|
|
2038
2038
|
"canonicalReference": "@genesislcap/foundation-utils!DEFAULT_ORGANISATION:var",
|
|
2039
|
-
"docComment": "/**\n * The default Organisation value, used in auth/login flow [`genesislcap-foundation-
|
|
2039
|
+
"docComment": "/**\n * The default Organisation value, used in auth/login flow [`genesislcap-foundation-auth`](https://link-to-docs).\n *\n * @remarks\n *\n * Optional.\n *\n * @public\n */\n",
|
|
2040
2040
|
"excerptTokens": [
|
|
2041
2041
|
{
|
|
2042
2042
|
"kind": "Content",
|
|
@@ -2059,7 +2059,7 @@
|
|
|
2059
2059
|
{
|
|
2060
2060
|
"kind": "Variable",
|
|
2061
2061
|
"canonicalReference": "@genesislcap/foundation-utils!DEFAULT_PASSWORD:var",
|
|
2062
|
-
"docComment": "/**\n * The default Password value, used in auth/login flow [`genesislcap-foundation-
|
|
2062
|
+
"docComment": "/**\n * The default Password value, used in auth/login flow [`genesislcap-foundation-auth`](https://link-to-docs).\n *\n * @remarks\n *\n * Optional.\n *\n * @public\n */\n",
|
|
2063
2063
|
"excerptTokens": [
|
|
2064
2064
|
{
|
|
2065
2065
|
"kind": "Content",
|
|
@@ -2082,7 +2082,7 @@
|
|
|
2082
2082
|
{
|
|
2083
2083
|
"kind": "Variable",
|
|
2084
2084
|
"canonicalReference": "@genesislcap/foundation-utils!DEFAULT_USER:var",
|
|
2085
|
-
"docComment": "/**\n * The default Username value, used in auth/login flow [`genesislcap-foundation-
|
|
2085
|
+
"docComment": "/**\n * The default Username value, used in auth/login flow [`genesislcap-foundation-auth`](https://link-to-docs).\n *\n * @remarks\n *\n * Optional.\n *\n * @public\n */\n",
|
|
2086
2086
|
"excerptTokens": [
|
|
2087
2087
|
{
|
|
2088
2088
|
"kind": "Content",
|
|
@@ -266,21 +266,21 @@ export declare const decodeFromBase64WithPrefix: (value: string) => string | Arr
|
|
|
266
266
|
export declare const deepMerge: <T extends Record<string, any>>(target: T, source: Partial<T>) => T;
|
|
267
267
|
|
|
268
268
|
/**
|
|
269
|
-
* The default Organisation value, used in auth/login flow [`genesislcap-foundation-
|
|
269
|
+
* The default Organisation value, used in auth/login flow [`genesislcap-foundation-auth`](https://link-to-docs).
|
|
270
270
|
* @remarks Optional.
|
|
271
271
|
* @public
|
|
272
272
|
*/
|
|
273
273
|
export declare let DEFAULT_ORGANISATION: string;
|
|
274
274
|
|
|
275
275
|
/**
|
|
276
|
-
* The default Password value, used in auth/login flow [`genesislcap-foundation-
|
|
276
|
+
* The default Password value, used in auth/login flow [`genesislcap-foundation-auth`](https://link-to-docs).
|
|
277
277
|
* @remarks Optional.
|
|
278
278
|
* @public
|
|
279
279
|
*/
|
|
280
280
|
export declare let DEFAULT_PASSWORD: string;
|
|
281
281
|
|
|
282
282
|
/**
|
|
283
|
-
* The default Username value, used in auth/login flow [`genesislcap-foundation-
|
|
283
|
+
* The default Username value, used in auth/login flow [`genesislcap-foundation-auth`](https://link-to-docs).
|
|
284
284
|
* @remarks Optional.
|
|
285
285
|
* @public
|
|
286
286
|
*/
|
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.488.
|
|
4
|
+
"version": "14.488.2-GENC-1351.2",
|
|
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.488.
|
|
33
|
-
"@genesislcap/genx": "14.488.
|
|
34
|
-
"@genesislcap/rollup-builder": "14.488.
|
|
35
|
-
"@genesislcap/ts-builder": "14.488.
|
|
36
|
-
"@genesislcap/uvu-playwright-builder": "14.488.
|
|
37
|
-
"@genesislcap/vite-builder": "14.488.
|
|
38
|
-
"@genesislcap/webpack-builder": "14.488.
|
|
32
|
+
"@genesislcap/foundation-testing": "14.488.2-GENC-1351.2",
|
|
33
|
+
"@genesislcap/genx": "14.488.2-GENC-1351.2",
|
|
34
|
+
"@genesislcap/rollup-builder": "14.488.2-GENC-1351.2",
|
|
35
|
+
"@genesislcap/ts-builder": "14.488.2-GENC-1351.2",
|
|
36
|
+
"@genesislcap/uvu-playwright-builder": "14.488.2-GENC-1351.2",
|
|
37
|
+
"@genesislcap/vite-builder": "14.488.2-GENC-1351.2",
|
|
38
|
+
"@genesislcap/webpack-builder": "14.488.2-GENC-1351.2",
|
|
39
39
|
"@types/json-schema": "^7.0.11"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@genesislcap/expression-builder": "14.488.
|
|
43
|
-
"@genesislcap/foundation-logger": "14.488.
|
|
42
|
+
"@genesislcap/expression-builder": "14.488.2-GENC-1351.2",
|
|
43
|
+
"@genesislcap/foundation-logger": "14.488.2-GENC-1351.2",
|
|
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": "342df7c6897648cc3184efb85b333dc67547610b"
|
|
62
62
|
}
|