@genesislcap/foundation-utils 15.6.0 → 15.6.1-ts7-migration.1

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.
Files changed (45) hide show
  1. package/dist/custom-elements.json +758 -758
  2. package/dist/dts/data/inMemoryDatabase.d.ts.map +1 -1
  3. package/dist/dts/encoding/base64/decode.d.ts.map +1 -1
  4. package/dist/dts/encoding/base64/encode.d.ts.map +1 -1
  5. package/dist/dts/error/errorMap.d.ts.map +1 -1
  6. package/dist/dts/feature-flags/featureFlags.d.ts.map +1 -1
  7. package/dist/dts/formatters/datetime.d.ts.map +1 -1
  8. package/dist/dts/formatters/localeNumberParser.d.ts.map +1 -1
  9. package/dist/dts/formatters/number.d.ts.map +1 -1
  10. package/dist/dts/inactivity/inactivity-dialog.d.ts.map +1 -1
  11. package/dist/dts/inactivity/inactivity-manager.d.ts.map +1 -1
  12. package/dist/dts/inactivity/inactivity-service.d.ts.map +1 -1
  13. package/dist/dts/mappers/dto/serverRow.d.ts.map +1 -1
  14. package/dist/dts/mappers/genesis-json-schema/types.d.ts +1 -1
  15. package/dist/dts/mappers/genesis-json-schema/types.d.ts.map +1 -1
  16. package/dist/dts/mixins/lifecycle/lifecycle.d.ts +16 -434
  17. package/dist/dts/mixins/lifecycle/lifecycle.d.ts.map +1 -1
  18. package/dist/dts/mixins/pendingState/pendingState.d.ts +165 -159
  19. package/dist/dts/mixins/pendingState/pendingState.d.ts.map +1 -1
  20. package/dist/dts/observer/observer.d.ts.map +1 -1
  21. package/dist/dts/promise/resolveAfter.d.ts.map +1 -1
  22. package/dist/dts/resource/types.d.ts +2 -2
  23. package/dist/dts/resource/types.d.ts.map +1 -1
  24. package/dist/dts/route/route.d.ts.map +1 -1
  25. package/dist/dts/serializers/json/json.d.ts.map +1 -1
  26. package/dist/dts/serializers/json/types.d.ts.map +1 -1
  27. package/dist/dts/shortcut-manager/shortcut-listener.d.ts.map +1 -1
  28. package/dist/dts/shortcut-manager/shortcut-manager.d.ts.map +1 -1
  29. package/dist/dts/styles/slotted-styles.d.ts.map +1 -1
  30. package/dist/dts/styles/typography.d.ts.map +1 -1
  31. package/dist/dts/tsdoc-metadata.json +1 -1
  32. package/dist/dts/utils/deepMerge.d.ts.map +1 -1
  33. package/dist/dts/utils/delay.d.ts.map +1 -1
  34. package/dist/dts/utils/dom.d.ts.map +1 -1
  35. package/dist/dts/utils/noop.d.ts.map +1 -1
  36. package/dist/dts/utils/os-platform.d.ts.map +1 -1
  37. package/dist/dts/window/window.d.ts.map +1 -1
  38. package/dist/esm/mappers/dto/serverRow.js +12 -18
  39. package/dist/esm/mappers/genesis-json-schema/index.js +5 -4
  40. package/dist/esm/mixins/lifecycle/lifecycle.js +52 -55
  41. package/dist/esm/shortcut-manager/shortcut-listener.js +6 -4
  42. package/dist/esm/shortcut-manager/shortcut-manager.js +4 -7
  43. package/dist/foundation-utils.api.json +1007 -4179
  44. package/dist/foundation-utils.d.ts +398 -810
  45. package/package.json +13 -12
@@ -211,1031 +211,1031 @@
211
211
  },
212
212
  {
213
213
  "kind": "javascript-module",
214
- "path": "src/design-system/design-system.ts",
215
- "declarations": [
216
- {
217
- "kind": "function",
218
- "name": "assureDesignSystem",
219
- "return": {
220
- "type": {
221
- "text": "DesignSystemModule"
222
- }
223
- },
224
- "parameters": [
225
- {
226
- "name": "module",
227
- "type": {
228
- "text": "DesignSystemModule"
229
- }
230
- }
231
- ],
232
- "description": "assureDesignSystem.",
233
- "privacy": "public"
234
- },
235
- {
236
- "kind": "function",
237
- "name": "getCurrentDesignSystem",
238
- "return": {
239
- "type": {
240
- "text": ""
241
- }
242
- },
243
- "parameters": [
244
- {
245
- "name": "element",
246
- "type": {
247
- "text": "HTMLElement"
248
- },
249
- "description": "The starting HTML element"
250
- },
251
- {
252
- "name": "fallbackPrefix",
253
- "type": {
254
- "text": "string"
255
- },
256
- "description": "The prefix to fallback to if the provider is not available"
257
- }
258
- ],
259
- "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.",
260
- "privacy": "public"
261
- },
262
- {
263
- "kind": "function",
264
- "name": "getCurrentDesignSystemPrefix",
265
- "return": {
266
- "type": {
267
- "text": ""
268
- }
269
- },
270
- "parameters": [
271
- {
272
- "name": "element",
273
- "type": {
274
- "text": "HTMLElement"
275
- },
276
- "description": "The starting HTML element"
277
- },
278
- {
279
- "name": "fallbackPrefix",
280
- "type": {
281
- "text": "string"
282
- },
283
- "description": "The prefix to fallback to if the provider is not available"
284
- }
285
- ],
286
- "description": "Get the current design system prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
287
- "privacy": "public"
288
- }
289
- ],
214
+ "path": "src/converters/index.ts",
215
+ "declarations": [],
290
216
  "exports": [
291
217
  {
292
218
  "kind": "js",
293
- "name": "assureDesignSystem",
294
- "declaration": {
295
- "name": "assureDesignSystem",
296
- "module": "src/design-system/design-system.ts"
297
- }
298
- },
299
- {
300
- "kind": "js",
301
- "name": "getCurrentDesignSystem",
302
- "declaration": {
303
- "name": "getCurrentDesignSystem",
304
- "module": "src/design-system/design-system.ts"
305
- }
306
- },
307
- {
308
- "kind": "js",
309
- "name": "getCurrentDesignSystemPrefix",
219
+ "name": "*",
310
220
  "declaration": {
311
- "name": "getCurrentDesignSystemPrefix",
312
- "module": "src/design-system/design-system.ts"
221
+ "name": "*",
222
+ "package": "./string-array-converter"
313
223
  }
314
224
  }
315
225
  ]
316
226
  },
317
227
  {
318
228
  "kind": "javascript-module",
319
- "path": "src/design-system/editable-elements.ts",
229
+ "path": "src/converters/string-array-converter.ts",
320
230
  "declarations": [
321
231
  {
322
232
  "kind": "variable",
323
- "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
324
- "type": {
325
- "text": "[\n ...NATIVE_EDITABLE_ELEMENT_SELECTORS,\n ...CONTENT_EDITABLE_SELECTORS,\n ...ARIA_EDITABLE_ROLE_SELECTORS,\n]"
326
- },
327
- "default": "[\n ...NATIVE_EDITABLE_ELEMENT_SELECTORS,\n ...CONTENT_EDITABLE_SELECTORS,\n ...ARIA_EDITABLE_ROLE_SELECTORS,\n]",
328
- "description": "Base selectors treated as editable context regardless of design system.\nIncludes native controls, contenteditable, and ARIA-editable roles."
329
- },
330
- {
331
- "kind": "variable",
332
- "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
233
+ "name": "stringArrayConverter",
333
234
  "type": {
334
- "text": "Record<\n EditableDesignSystemPrefix,\n readonly string[]\n>"
335
- },
336
- "default": "{\n rapid: buildDesignSystemEditableSelectors('rapid'),\n zero: buildDesignSystemEditableSelectors('zero'),\n}",
337
- "description": "Design-system specific editable host selectors."
338
- },
339
- {
340
- "kind": "function",
341
- "name": "buildEditableElementSelector",
342
- "return": {
343
- "type": {
344
- "text": "string"
345
- }
235
+ "text": "ValueConverter"
346
236
  },
347
- "parameters": [
348
- {
349
- "name": "designSystems",
350
- "type": {
351
- "text": "readonly EditableDesignSystemPrefix[]"
352
- }
353
- },
354
- {
355
- "name": "customEditableSelectors",
356
- "default": "[]",
357
- "type": {
358
- "text": "readonly string[]"
359
- }
360
- }
361
- ]
237
+ "default": "{\n fromView(v: string): string | string[] | undefined {\n if (!v?.trim()) return undefined;\n return v.includes(',') ? v.split(',').map((s) => s.trim()) : v.trim();\n },\n toView(v: string | string[] | undefined): string {\n if (typeof v === 'string') return v;\n if (Array.isArray(v)) return v.join(',');\n return '';\n },\n}",
238
+ "description": "A @microsoft/fast-element#ValueConverter that converts between comma-separated string attributes\nand `string | string[]` properties.",
239
+ "privacy": "public"
362
240
  }
363
241
  ],
364
242
  "exports": [
365
243
  {
366
244
  "kind": "js",
367
- "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
368
- "declaration": {
369
- "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
370
- "module": "src/design-system/editable-elements.ts"
371
- }
372
- },
373
- {
374
- "kind": "js",
375
- "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
376
- "declaration": {
377
- "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
378
- "module": "src/design-system/editable-elements.ts"
379
- }
380
- },
381
- {
382
- "kind": "js",
383
- "name": "buildEditableElementSelector",
384
- "declaration": {
385
- "name": "buildEditableElementSelector",
386
- "module": "src/design-system/editable-elements.ts"
387
- }
388
- }
389
- ]
390
- },
391
- {
392
- "kind": "javascript-module",
393
- "path": "src/design-system/index.ts",
394
- "declarations": [],
395
- "exports": [
396
- {
397
- "kind": "js",
398
- "name": "*",
399
- "declaration": {
400
- "name": "*",
401
- "package": "./design-system"
402
- }
403
- },
404
- {
405
- "kind": "js",
406
- "name": "*",
407
- "declaration": {
408
- "name": "*",
409
- "package": "./editable-elements"
410
- }
411
- }
412
- ]
413
- },
414
- {
415
- "kind": "javascript-module",
416
- "path": "src/directives/index.ts",
417
- "declarations": [],
418
- "exports": [
419
- {
420
- "kind": "js",
421
- "name": "*",
422
- "declaration": {
423
- "name": "*",
424
- "package": "./sync"
425
- }
426
- },
427
- {
428
- "kind": "js",
429
- "name": "*",
430
- "declaration": {
431
- "name": "*",
432
- "package": "./when-else"
433
- }
434
- }
435
- ]
436
- },
437
- {
438
- "kind": "javascript-module",
439
- "path": "src/encoding/index.ts",
440
- "declarations": [],
441
- "exports": [
442
- {
443
- "kind": "js",
444
- "name": "*",
445
- "declaration": {
446
- "name": "*",
447
- "package": "./base64"
448
- }
449
- }
450
- ]
451
- },
452
- {
453
- "kind": "javascript-module",
454
- "path": "src/env/index.ts",
455
- "declarations": [],
456
- "exports": [
457
- {
458
- "kind": "js",
459
- "name": "*",
460
- "declaration": {
461
- "name": "*",
462
- "package": "./is-dev"
463
- }
464
- },
465
- {
466
- "kind": "js",
467
- "name": "*",
245
+ "name": "stringArrayConverter",
468
246
  "declaration": {
469
- "name": "*",
470
- "package": "./variables"
247
+ "name": "stringArrayConverter",
248
+ "module": "src/converters/string-array-converter.ts"
471
249
  }
472
250
  }
473
251
  ]
474
252
  },
475
253
  {
476
254
  "kind": "javascript-module",
477
- "path": "src/env/is-dev.ts",
255
+ "path": "src/data/inMemoryDatabase.ts",
478
256
  "declarations": [
479
257
  {
480
- "kind": "function",
481
- "name": "isDev",
482
- "description": "Determines if the current environment is a development environment.",
483
- "privacy": "public"
258
+ "kind": "class",
259
+ "description": "An in memory database of specific DatabaseRecord types.",
260
+ "name": "InMemoryDatabase",
261
+ "members": [
262
+ {
263
+ "kind": "field",
264
+ "name": "isWorking",
265
+ "type": {
266
+ "text": "boolean"
267
+ },
268
+ "privacy": "public",
269
+ "default": "false"
270
+ },
271
+ {
272
+ "kind": "field",
273
+ "name": "records",
274
+ "type": {
275
+ "text": "Record<string, T>"
276
+ },
277
+ "privacy": "private",
278
+ "default": "{}"
279
+ },
280
+ {
281
+ "kind": "field",
282
+ "name": "beforeUpdateListeners",
283
+ "privacy": "private"
284
+ },
285
+ {
286
+ "kind": "field",
287
+ "name": "afterUpdateListeners",
288
+ "privacy": "private"
289
+ },
290
+ {
291
+ "kind": "method",
292
+ "name": "create",
293
+ "privacy": "public",
294
+ "return": {
295
+ "type": {
296
+ "text": "Promise<DatabaseAccessResult.Create<T>>"
297
+ }
298
+ },
299
+ "parameters": [
300
+ {
301
+ "name": "newValue",
302
+ "type": {
303
+ "text": "Omit<T, 'id'>"
304
+ }
305
+ }
306
+ ]
307
+ },
308
+ {
309
+ "kind": "method",
310
+ "name": "read",
311
+ "privacy": "public",
312
+ "return": {
313
+ "type": {
314
+ "text": "Promise<DatabaseAccessResult.Read<T>>"
315
+ }
316
+ },
317
+ "parameters": [
318
+ {
319
+ "name": "id",
320
+ "type": {
321
+ "text": "string"
322
+ }
323
+ }
324
+ ]
325
+ },
326
+ {
327
+ "kind": "method",
328
+ "name": "update",
329
+ "privacy": "public",
330
+ "return": {
331
+ "type": {
332
+ "text": "Promise<DatabaseAccessResult.Update<T>>"
333
+ }
334
+ },
335
+ "parameters": [
336
+ {
337
+ "name": "id",
338
+ "type": {
339
+ "text": "string"
340
+ }
341
+ },
342
+ {
343
+ "name": "newValue",
344
+ "type": {
345
+ "text": "Omit<Partial<T>, 'id'>"
346
+ }
347
+ }
348
+ ]
349
+ },
350
+ {
351
+ "kind": "method",
352
+ "name": "delete",
353
+ "privacy": "public",
354
+ "return": {
355
+ "type": {
356
+ "text": "Promise<DatabaseAccessResult.Delete>"
357
+ }
358
+ },
359
+ "parameters": [
360
+ {
361
+ "name": "id",
362
+ "type": {
363
+ "text": "string"
364
+ }
365
+ }
366
+ ]
367
+ },
368
+ {
369
+ "kind": "method",
370
+ "name": "visit",
371
+ "privacy": "public",
372
+ "return": {
373
+ "type": {
374
+ "text": "Promise<void>"
375
+ }
376
+ },
377
+ "parameters": [
378
+ {
379
+ "name": "visitor",
380
+ "type": {
381
+ "text": "(record: T) => void"
382
+ }
383
+ }
384
+ ]
385
+ },
386
+ {
387
+ "kind": "method",
388
+ "name": "onBeforeUpdate",
389
+ "privacy": "public",
390
+ "return": {
391
+ "type": {
392
+ "text": "() => void"
393
+ }
394
+ },
395
+ "parameters": [
396
+ {
397
+ "name": "listener",
398
+ "type": {
399
+ "text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
400
+ }
401
+ }
402
+ ]
403
+ },
404
+ {
405
+ "kind": "method",
406
+ "name": "onAfterUpdate",
407
+ "privacy": "public",
408
+ "return": {
409
+ "type": {
410
+ "text": "() => void"
411
+ }
412
+ },
413
+ "parameters": [
414
+ {
415
+ "name": "listener",
416
+ "type": {
417
+ "text": "Listener<DatabaseEvent.AfterUpdate<T>>"
418
+ }
419
+ }
420
+ ]
421
+ }
422
+ ]
484
423
  }
485
424
  ],
486
425
  "exports": [
487
426
  {
488
427
  "kind": "js",
489
- "name": "isDev",
428
+ "name": "InMemoryDatabase",
490
429
  "declaration": {
491
- "name": "isDev",
492
- "module": "src/env/is-dev.ts"
430
+ "name": "InMemoryDatabase",
431
+ "module": "src/data/inMemoryDatabase.ts"
493
432
  }
494
433
  }
495
434
  ]
496
435
  },
497
436
  {
498
437
  "kind": "javascript-module",
499
- "path": "src/env/variables.ts",
500
- "declarations": [
438
+ "path": "src/data/index.ts",
439
+ "declarations": [],
440
+ "exports": [
501
441
  {
502
- "kind": "variable",
503
- "name": "BUILDER",
504
- "type": {
505
- "text": "string"
442
+ "kind": "js",
443
+ "name": "*",
444
+ "declaration": {
445
+ "name": "*",
446
+ "package": "./inMemoryDatabase"
506
447
  }
507
- },
448
+ }
449
+ ]
450
+ },
451
+ {
452
+ "kind": "javascript-module",
453
+ "path": "src/directives/index.ts",
454
+ "declarations": [],
455
+ "exports": [
508
456
  {
509
- "kind": "variable",
510
- "name": "_BUILDER",
511
- "type": {
512
- "text": "string"
513
- },
514
- "default": "'webpack'",
515
- "description": "The builder aka file bundler.",
516
- "privacy": "public"
457
+ "kind": "js",
458
+ "name": "*",
459
+ "declaration": {
460
+ "name": "*",
461
+ "package": "./sync"
462
+ }
517
463
  },
518
464
  {
519
- "kind": "variable",
520
- "name": "PUBLIC_PATH",
521
- "type": {
522
- "text": "string"
465
+ "kind": "js",
466
+ "name": "*",
467
+ "declaration": {
468
+ "name": "*",
469
+ "package": "./when-else"
523
470
  }
524
- },
471
+ }
472
+ ]
473
+ },
474
+ {
475
+ "kind": "javascript-module",
476
+ "path": "src/design-system/design-system.ts",
477
+ "declarations": [
525
478
  {
526
- "kind": "variable",
527
- "name": "_PUBLIC_PATH",
528
- "type": {
529
- "text": "string"
479
+ "kind": "function",
480
+ "name": "assureDesignSystem",
481
+ "return": {
482
+ "type": {
483
+ "text": "DesignSystemModule"
484
+ }
530
485
  },
531
- "default": "'/'",
532
- "description": "The public path.",
486
+ "parameters": [
487
+ {
488
+ "name": "module",
489
+ "type": {
490
+ "text": "DesignSystemModule"
491
+ }
492
+ }
493
+ ],
494
+ "description": "assureDesignSystem.",
533
495
  "privacy": "public"
534
496
  },
535
497
  {
536
- "kind": "variable",
537
- "name": "SOCKET_EXT",
538
- "type": {
539
- "text": "string"
540
- }
541
- },
542
- {
543
- "kind": "variable",
544
- "name": "_SOCKET_EXT",
545
- "type": {
546
- "text": "string"
498
+ "kind": "function",
499
+ "name": "getCurrentDesignSystem",
500
+ "return": {
501
+ "type": {
502
+ "text": ""
503
+ }
547
504
  },
548
- "default": "'gwf'",
549
- "description": "The sub-path used for WebSocket connections when API_HOST is not set",
505
+ "parameters": [
506
+ {
507
+ "name": "element",
508
+ "type": {
509
+ "text": "HTMLElement"
510
+ },
511
+ "description": "The starting HTML element"
512
+ },
513
+ {
514
+ "name": "fallbackPrefix",
515
+ "type": {
516
+ "text": "string"
517
+ },
518
+ "description": "The prefix to fallback to if the provider is not available"
519
+ }
520
+ ],
521
+ "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.",
550
522
  "privacy": "public"
551
523
  },
552
524
  {
553
- "kind": "variable",
554
- "name": "FORCE_HTTP",
555
- "type": {
556
- "text": "string"
557
- }
558
- },
559
- {
560
- "kind": "variable",
561
- "name": "_FORCE_HTTP",
562
- "type": {
563
- "text": "string"
525
+ "kind": "function",
526
+ "name": "getCurrentDesignSystemPrefix",
527
+ "return": {
528
+ "type": {
529
+ "text": ""
530
+ }
564
531
  },
565
- "description": "The path to a JSON config file for the HTTP mode.",
532
+ "parameters": [
533
+ {
534
+ "name": "element",
535
+ "type": {
536
+ "text": "HTMLElement"
537
+ },
538
+ "description": "The starting HTML element"
539
+ },
540
+ {
541
+ "name": "fallbackPrefix",
542
+ "type": {
543
+ "text": "string"
544
+ },
545
+ "description": "The prefix to fallback to if the provider is not available"
546
+ }
547
+ ],
548
+ "description": "Get the current design system prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
566
549
  "privacy": "public"
567
- },
550
+ }
551
+ ],
552
+ "exports": [
568
553
  {
569
- "kind": "variable",
570
- "name": "FORCE_HTTP_REQREP",
571
- "type": {
572
- "text": "string"
554
+ "kind": "js",
555
+ "name": "assureDesignSystem",
556
+ "declaration": {
557
+ "name": "assureDesignSystem",
558
+ "module": "src/design-system/design-system.ts"
573
559
  }
574
560
  },
575
561
  {
576
- "kind": "variable",
577
- "name": "_FORCE_HTTP_REQREP",
578
- "type": {
579
- "text": "string"
580
- },
581
- "description": "When `'true'`, request/reply and event traffic (`request`, `commitEvent`, metadata, schema and\nresources lookups) is sent over HTTP even while the primary connection is a WebSocket.\nStreaming (`stream`/`snapshot`) stays on the socket.",
582
- "privacy": "public"
583
- },
584
- {
585
- "kind": "variable",
586
- "name": "GENESIS_SOCKET_URL",
587
- "default": "`${location.protocol.replace('http', 'ws')}//${location.host}${_PUBLIC_PATH}/${_SOCKET_EXT}/`",
588
- "description": "Genesis Socket URL",
589
- "privacy": "public"
562
+ "kind": "js",
563
+ "name": "getCurrentDesignSystem",
564
+ "declaration": {
565
+ "name": "getCurrentDesignSystem",
566
+ "module": "src/design-system/design-system.ts"
567
+ }
590
568
  },
591
569
  {
592
- "kind": "variable",
593
- "name": "API_HOST",
594
- "type": {
595
- "text": "string"
570
+ "kind": "js",
571
+ "name": "getCurrentDesignSystemPrefix",
572
+ "declaration": {
573
+ "name": "getCurrentDesignSystemPrefix",
574
+ "module": "src/design-system/design-system.ts"
596
575
  }
597
- },
576
+ }
577
+ ]
578
+ },
579
+ {
580
+ "kind": "javascript-module",
581
+ "path": "src/design-system/editable-elements.ts",
582
+ "declarations": [
598
583
  {
599
584
  "kind": "variable",
600
- "name": "_API_HOST",
585
+ "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
601
586
  "type": {
602
- "text": "string"
587
+ "text": "[\n ...NATIVE_EDITABLE_ELEMENT_SELECTORS,\n ...CONTENT_EDITABLE_SELECTORS,\n ...ARIA_EDITABLE_ROLE_SELECTORS,\n]"
603
588
  },
604
- "default": "`${PROTOCOL}//${location.host}/${_SOCKET_EXT}/`",
605
- "description": "The Genesis Server URL (WebSocket or HTTP).",
606
- "privacy": "public"
589
+ "default": "[\n ...NATIVE_EDITABLE_ELEMENT_SELECTORS,\n ...CONTENT_EDITABLE_SELECTORS,\n ...ARIA_EDITABLE_ROLE_SELECTORS,\n]",
590
+ "description": "Base selectors treated as editable context regardless of design system.\nIncludes native controls, contenteditable, and ARIA-editable roles."
607
591
  },
608
592
  {
609
593
  "kind": "variable",
610
- "name": "HTTP_CONFIG",
594
+ "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
611
595
  "type": {
612
- "text": "string"
613
- }
596
+ "text": "Record<\n EditableDesignSystemPrefix,\n readonly string[]\n>"
597
+ },
598
+ "default": "{\n rapid: buildDesignSystemEditableSelectors('rapid'),\n zero: buildDesignSystemEditableSelectors('zero'),\n}",
599
+ "description": "Design-system specific editable host selectors."
614
600
  },
615
601
  {
616
- "kind": "variable",
617
- "name": "_HTTP_CONFIG",
618
- "type": {
619
- "text": "string"
602
+ "kind": "function",
603
+ "name": "buildEditableElementSelector",
604
+ "return": {
605
+ "type": {
606
+ "text": "string"
607
+ }
620
608
  },
621
- "description": "Configuration settings for HTTP, used in http connect flow [`genesislcap-foundation-comms.HttpConnectConfig`](https://link-to-docs).",
622
- "privacy": "public"
623
- },
609
+ "parameters": [
610
+ {
611
+ "name": "designSystems",
612
+ "type": {
613
+ "text": "readonly EditableDesignSystemPrefix[]"
614
+ }
615
+ },
616
+ {
617
+ "name": "customEditableSelectors",
618
+ "default": "[]",
619
+ "type": {
620
+ "text": "readonly string[]"
621
+ }
622
+ }
623
+ ]
624
+ }
625
+ ],
626
+ "exports": [
624
627
  {
625
- "kind": "variable",
626
- "name": "DEFAULT_ORGANISATION",
627
- "type": {
628
- "text": "string"
628
+ "kind": "js",
629
+ "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
630
+ "declaration": {
631
+ "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
632
+ "module": "src/design-system/editable-elements.ts"
629
633
  }
630
634
  },
631
635
  {
632
- "kind": "variable",
633
- "name": "_DEFAULT_ORGANISATION",
634
- "type": {
635
- "text": "string"
636
- },
637
- "description": "The default Organisation value, used in auth/login flow [`genesislcap-foundation-auth`](https://link-to-docs).",
638
- "privacy": "public"
636
+ "kind": "js",
637
+ "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
638
+ "declaration": {
639
+ "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
640
+ "module": "src/design-system/editable-elements.ts"
641
+ }
639
642
  },
640
643
  {
641
- "kind": "variable",
642
- "name": "DEFAULT_PASSWORD",
643
- "type": {
644
- "text": "string"
644
+ "kind": "js",
645
+ "name": "buildEditableElementSelector",
646
+ "declaration": {
647
+ "name": "buildEditableElementSelector",
648
+ "module": "src/design-system/editable-elements.ts"
645
649
  }
646
- },
650
+ }
651
+ ]
652
+ },
653
+ {
654
+ "kind": "javascript-module",
655
+ "path": "src/design-system/index.ts",
656
+ "declarations": [],
657
+ "exports": [
647
658
  {
648
- "kind": "variable",
649
- "name": "_DEFAULT_PASSWORD",
650
- "type": {
651
- "text": "string"
652
- },
653
- "description": "The default Password value, used in auth/login flow [`genesislcap-foundation-auth`](https://link-to-docs).",
654
- "privacy": "public"
659
+ "kind": "js",
660
+ "name": "*",
661
+ "declaration": {
662
+ "name": "*",
663
+ "package": "./design-system"
664
+ }
655
665
  },
656
666
  {
657
- "kind": "variable",
658
- "name": "DEFAULT_USER",
659
- "type": {
660
- "text": "string"
667
+ "kind": "js",
668
+ "name": "*",
669
+ "declaration": {
670
+ "name": "*",
671
+ "package": "./editable-elements"
661
672
  }
662
- },
673
+ }
674
+ ]
675
+ },
676
+ {
677
+ "kind": "javascript-module",
678
+ "path": "src/encoding/index.ts",
679
+ "declarations": [],
680
+ "exports": [
663
681
  {
664
- "kind": "variable",
665
- "name": "_DEFAULT_USER",
666
- "type": {
667
- "text": "string"
668
- },
669
- "description": "The default Username value, used in auth/login flow [`genesislcap-foundation-auth`](https://link-to-docs).",
670
- "privacy": "public"
671
- },
682
+ "kind": "js",
683
+ "name": "*",
684
+ "declaration": {
685
+ "name": "*",
686
+ "package": "./base64"
687
+ }
688
+ }
689
+ ]
690
+ },
691
+ {
692
+ "kind": "javascript-module",
693
+ "path": "src/decorators/index.ts",
694
+ "declarations": [],
695
+ "exports": [
672
696
  {
673
- "kind": "variable",
674
- "name": "LOGIN_URL",
675
- "type": {
676
- "text": "string"
677
- },
678
- "default": "'gwf/event-login-auth'",
697
+ "kind": "js",
698
+ "name": "*",
699
+ "declaration": {
700
+ "name": "*",
701
+ "package": "./renderOnChange"
702
+ }
703
+ }
704
+ ]
705
+ },
706
+ {
707
+ "kind": "javascript-module",
708
+ "path": "src/decorators/renderOnChange.ts",
709
+ "declarations": [
710
+ {
711
+ "kind": "function",
712
+ "name": "renderOnChange",
713
+ "parameters": [
714
+ {
715
+ "name": "target",
716
+ "type": {
717
+ "text": "FASTElement & { render(): void }"
718
+ },
719
+ "description": "The target to define the property change handler on."
720
+ },
721
+ {
722
+ "name": "name",
723
+ "type": {
724
+ "text": "string"
725
+ },
726
+ "description": "The property name."
727
+ }
728
+ ],
729
+ "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
679
730
  "privacy": "public"
731
+ }
732
+ ],
733
+ "exports": [
734
+ {
735
+ "kind": "js",
736
+ "name": "renderOnChange",
737
+ "declaration": {
738
+ "name": "renderOnChange",
739
+ "module": "src/decorators/renderOnChange.ts"
740
+ }
741
+ }
742
+ ]
743
+ },
744
+ {
745
+ "kind": "javascript-module",
746
+ "path": "src/env/index.ts",
747
+ "declarations": [],
748
+ "exports": [
749
+ {
750
+ "kind": "js",
751
+ "name": "*",
752
+ "declaration": {
753
+ "name": "*",
754
+ "package": "./is-dev"
755
+ }
680
756
  },
757
+ {
758
+ "kind": "js",
759
+ "name": "*",
760
+ "declaration": {
761
+ "name": "*",
762
+ "package": "./variables"
763
+ }
764
+ }
765
+ ]
766
+ },
767
+ {
768
+ "kind": "javascript-module",
769
+ "path": "src/env/is-dev.ts",
770
+ "declarations": [
771
+ {
772
+ "kind": "function",
773
+ "name": "isDev",
774
+ "description": "Determines if the current environment is a development environment.",
775
+ "privacy": "public"
776
+ }
777
+ ],
778
+ "exports": [
779
+ {
780
+ "kind": "js",
781
+ "name": "isDev",
782
+ "declaration": {
783
+ "name": "isDev",
784
+ "module": "src/env/is-dev.ts"
785
+ }
786
+ }
787
+ ]
788
+ },
789
+ {
790
+ "kind": "javascript-module",
791
+ "path": "src/env/variables.ts",
792
+ "declarations": [
681
793
  {
682
794
  "kind": "variable",
683
- "name": "LOGIN_REFRESH_URL",
795
+ "name": "BUILDER",
684
796
  "type": {
685
797
  "text": "string"
686
- },
687
- "default": "'gwf/event-login-auth'",
688
- "privacy": "public"
798
+ }
689
799
  },
690
800
  {
691
801
  "kind": "variable",
692
- "name": "LOGIN_DETAILS_URL",
802
+ "name": "_BUILDER",
693
803
  "type": {
694
804
  "text": "string"
695
805
  },
696
- "default": "'gwf/event-login-details'",
806
+ "default": "'webpack'",
807
+ "description": "The builder aka file bundler.",
697
808
  "privacy": "public"
698
809
  },
699
810
  {
700
811
  "kind": "variable",
701
- "name": "LOGOUT_URL",
812
+ "name": "PUBLIC_PATH",
702
813
  "type": {
703
814
  "text": "string"
704
- },
705
- "default": "'gwf/event-logout'",
706
- "privacy": "public"
815
+ }
707
816
  },
708
817
  {
709
818
  "kind": "variable",
710
- "name": "CHANGE_PASSWORD_URL",
819
+ "name": "_PUBLIC_PATH",
711
820
  "type": {
712
821
  "text": "string"
713
822
  },
714
- "default": "'gwf/event-change-user-password'",
823
+ "default": "'/'",
824
+ "description": "The public path.",
715
825
  "privacy": "public"
716
826
  },
717
827
  {
718
828
  "kind": "variable",
719
- "name": "FORGOT_PASSWORD_URL",
829
+ "name": "SOCKET_EXT",
720
830
  "type": {
721
831
  "text": "string"
722
- },
723
- "default": "'gwf/event-self-service-password-reset'",
724
- "privacy": "public"
832
+ }
725
833
  },
726
834
  {
727
835
  "kind": "variable",
728
- "name": "RESET_PASSWORD_URL",
836
+ "name": "_SOCKET_EXT",
729
837
  "type": {
730
838
  "text": "string"
731
839
  },
732
- "default": "'gwf/event-password-reset-action'",
840
+ "default": "'gwf'",
841
+ "description": "The sub-path used for WebSocket connections when API_HOST is not set",
733
842
  "privacy": "public"
734
843
  },
735
844
  {
736
845
  "kind": "variable",
737
- "name": "SSO_LIST_URL",
846
+ "name": "FORCE_HTTP",
738
847
  "type": {
739
848
  "text": "string"
740
- },
741
- "default": "'gwf/sso/list'",
742
- "privacy": "public"
849
+ }
743
850
  },
744
851
  {
745
852
  "kind": "variable",
746
- "name": "SSO_LOGIN_URL",
853
+ "name": "_FORCE_HTTP",
747
854
  "type": {
748
855
  "text": "string"
749
856
  },
750
- "default": "'gwf/{type}/login?idp={id}'",
857
+ "description": "The path to a JSON config file for the HTTP mode.",
751
858
  "privacy": "public"
752
859
  },
753
860
  {
754
861
  "kind": "variable",
755
- "name": "ENVIRONMENT_LEVEL",
862
+ "name": "FORCE_HTTP_REQREP",
756
863
  "type": {
757
864
  "text": "string"
758
- },
759
- "default": "'default'",
760
- "privacy": "public"
865
+ }
761
866
  },
762
867
  {
763
868
  "kind": "variable",
764
- "name": "ACCEPT_TERMS_URL",
869
+ "name": "_FORCE_HTTP_REQREP",
765
870
  "type": {
766
871
  "text": "string"
767
872
  },
768
- "default": "'gwf/auth/accept-terms'",
873
+ "description": "When `'true'`, request/reply and event traffic (`request`, `commitEvent`, metadata, schema and\nresources lookups) is sent over HTTP even while the primary connection is a WebSocket.\nStreaming (`stream`/`snapshot`) stays on the socket.",
769
874
  "privacy": "public"
770
- }
771
- ],
772
- "exports": [
773
- {
774
- "kind": "js",
775
- "name": "BUILDER",
776
- "declaration": {
777
- "name": "_BUILDER",
778
- "module": "src/env/variables.ts"
779
- }
780
- },
781
- {
782
- "kind": "js",
783
- "name": "PUBLIC_PATH",
784
- "declaration": {
785
- "name": "_PUBLIC_PATH",
786
- "module": "src/env/variables.ts"
787
- }
788
875
  },
789
876
  {
790
- "kind": "js",
791
- "name": "SOCKET_EXT",
792
- "declaration": {
793
- "name": "_SOCKET_EXT",
794
- "module": "src/env/variables.ts"
795
- }
877
+ "kind": "variable",
878
+ "name": "GENESIS_SOCKET_URL",
879
+ "default": "`${location.protocol.replace('http', 'ws')}//${location.host}${_PUBLIC_PATH}/${_SOCKET_EXT}/`",
880
+ "description": "Genesis Socket URL",
881
+ "privacy": "public"
796
882
  },
797
883
  {
798
- "kind": "js",
799
- "name": "FORCE_HTTP",
800
- "declaration": {
801
- "name": "_FORCE_HTTP",
802
- "module": "src/env/variables.ts"
884
+ "kind": "variable",
885
+ "name": "API_HOST",
886
+ "type": {
887
+ "text": "string"
803
888
  }
804
889
  },
805
890
  {
806
- "kind": "js",
807
- "name": "FORCE_HTTP_REQREP",
808
- "declaration": {
809
- "name": "_FORCE_HTTP_REQREP",
810
- "module": "src/env/variables.ts"
811
- }
891
+ "kind": "variable",
892
+ "name": "_API_HOST",
893
+ "type": {
894
+ "text": "string"
895
+ },
896
+ "default": "`${PROTOCOL}//${location.host}/${_SOCKET_EXT}/`",
897
+ "description": "The Genesis Server URL (WebSocket or HTTP).",
898
+ "privacy": "public"
812
899
  },
813
900
  {
814
- "kind": "js",
815
- "name": "GENESIS_SOCKET_URL",
816
- "declaration": {
817
- "name": "GENESIS_SOCKET_URL",
818
- "module": "src/env/variables.ts"
901
+ "kind": "variable",
902
+ "name": "HTTP_CONFIG",
903
+ "type": {
904
+ "text": "string"
819
905
  }
820
906
  },
821
907
  {
822
- "kind": "js",
823
- "name": "API_HOST",
824
- "declaration": {
825
- "name": "_API_HOST",
826
- "module": "src/env/variables.ts"
827
- }
908
+ "kind": "variable",
909
+ "name": "_HTTP_CONFIG",
910
+ "type": {
911
+ "text": "string"
912
+ },
913
+ "description": "Configuration settings for HTTP, used in http connect flow [`genesislcap-foundation-comms.HttpConnectConfig`](https://link-to-docs).",
914
+ "privacy": "public"
828
915
  },
829
916
  {
830
- "kind": "js",
831
- "name": "HTTP_CONFIG",
832
- "declaration": {
833
- "name": "_HTTP_CONFIG",
834
- "module": "src/env/variables.ts"
917
+ "kind": "variable",
918
+ "name": "DEFAULT_ORGANISATION",
919
+ "type": {
920
+ "text": "string"
835
921
  }
836
922
  },
837
923
  {
838
- "kind": "js",
839
- "name": "DEFAULT_ORGANISATION",
840
- "declaration": {
841
- "name": "_DEFAULT_ORGANISATION",
842
- "module": "src/env/variables.ts"
843
- }
924
+ "kind": "variable",
925
+ "name": "_DEFAULT_ORGANISATION",
926
+ "type": {
927
+ "text": "string"
928
+ },
929
+ "description": "The default Organisation value, used in auth/login flow [`genesislcap-foundation-auth`](https://link-to-docs).",
930
+ "privacy": "public"
844
931
  },
845
932
  {
846
- "kind": "js",
933
+ "kind": "variable",
847
934
  "name": "DEFAULT_PASSWORD",
848
- "declaration": {
849
- "name": "_DEFAULT_PASSWORD",
850
- "module": "src/env/variables.ts"
935
+ "type": {
936
+ "text": "string"
851
937
  }
852
938
  },
853
939
  {
854
- "kind": "js",
855
- "name": "DEFAULT_USER",
856
- "declaration": {
857
- "name": "_DEFAULT_USER",
940
+ "kind": "variable",
941
+ "name": "_DEFAULT_PASSWORD",
942
+ "type": {
943
+ "text": "string"
944
+ },
945
+ "description": "The default Password value, used in auth/login flow [`genesislcap-foundation-auth`](https://link-to-docs).",
946
+ "privacy": "public"
947
+ },
948
+ {
949
+ "kind": "variable",
950
+ "name": "DEFAULT_USER",
951
+ "type": {
952
+ "text": "string"
953
+ }
954
+ },
955
+ {
956
+ "kind": "variable",
957
+ "name": "_DEFAULT_USER",
958
+ "type": {
959
+ "text": "string"
960
+ },
961
+ "description": "The default Username value, used in auth/login flow [`genesislcap-foundation-auth`](https://link-to-docs).",
962
+ "privacy": "public"
963
+ },
964
+ {
965
+ "kind": "variable",
966
+ "name": "LOGIN_URL",
967
+ "type": {
968
+ "text": "string"
969
+ },
970
+ "default": "'gwf/event-login-auth'",
971
+ "privacy": "public"
972
+ },
973
+ {
974
+ "kind": "variable",
975
+ "name": "LOGIN_REFRESH_URL",
976
+ "type": {
977
+ "text": "string"
978
+ },
979
+ "default": "'gwf/event-login-auth'",
980
+ "privacy": "public"
981
+ },
982
+ {
983
+ "kind": "variable",
984
+ "name": "LOGIN_DETAILS_URL",
985
+ "type": {
986
+ "text": "string"
987
+ },
988
+ "default": "'gwf/event-login-details'",
989
+ "privacy": "public"
990
+ },
991
+ {
992
+ "kind": "variable",
993
+ "name": "LOGOUT_URL",
994
+ "type": {
995
+ "text": "string"
996
+ },
997
+ "default": "'gwf/event-logout'",
998
+ "privacy": "public"
999
+ },
1000
+ {
1001
+ "kind": "variable",
1002
+ "name": "CHANGE_PASSWORD_URL",
1003
+ "type": {
1004
+ "text": "string"
1005
+ },
1006
+ "default": "'gwf/event-change-user-password'",
1007
+ "privacy": "public"
1008
+ },
1009
+ {
1010
+ "kind": "variable",
1011
+ "name": "FORGOT_PASSWORD_URL",
1012
+ "type": {
1013
+ "text": "string"
1014
+ },
1015
+ "default": "'gwf/event-self-service-password-reset'",
1016
+ "privacy": "public"
1017
+ },
1018
+ {
1019
+ "kind": "variable",
1020
+ "name": "RESET_PASSWORD_URL",
1021
+ "type": {
1022
+ "text": "string"
1023
+ },
1024
+ "default": "'gwf/event-password-reset-action'",
1025
+ "privacy": "public"
1026
+ },
1027
+ {
1028
+ "kind": "variable",
1029
+ "name": "SSO_LIST_URL",
1030
+ "type": {
1031
+ "text": "string"
1032
+ },
1033
+ "default": "'gwf/sso/list'",
1034
+ "privacy": "public"
1035
+ },
1036
+ {
1037
+ "kind": "variable",
1038
+ "name": "SSO_LOGIN_URL",
1039
+ "type": {
1040
+ "text": "string"
1041
+ },
1042
+ "default": "'gwf/{type}/login?idp={id}'",
1043
+ "privacy": "public"
1044
+ },
1045
+ {
1046
+ "kind": "variable",
1047
+ "name": "ENVIRONMENT_LEVEL",
1048
+ "type": {
1049
+ "text": "string"
1050
+ },
1051
+ "default": "'default'",
1052
+ "privacy": "public"
1053
+ },
1054
+ {
1055
+ "kind": "variable",
1056
+ "name": "ACCEPT_TERMS_URL",
1057
+ "type": {
1058
+ "text": "string"
1059
+ },
1060
+ "default": "'gwf/auth/accept-terms'",
1061
+ "privacy": "public"
1062
+ }
1063
+ ],
1064
+ "exports": [
1065
+ {
1066
+ "kind": "js",
1067
+ "name": "BUILDER",
1068
+ "declaration": {
1069
+ "name": "_BUILDER",
858
1070
  "module": "src/env/variables.ts"
859
1071
  }
860
1072
  },
861
1073
  {
862
1074
  "kind": "js",
863
- "name": "LOGIN_URL",
1075
+ "name": "PUBLIC_PATH",
864
1076
  "declaration": {
865
- "name": "LOGIN_URL",
1077
+ "name": "_PUBLIC_PATH",
866
1078
  "module": "src/env/variables.ts"
867
1079
  }
868
1080
  },
869
1081
  {
870
1082
  "kind": "js",
871
- "name": "LOGIN_REFRESH_URL",
1083
+ "name": "SOCKET_EXT",
872
1084
  "declaration": {
873
- "name": "LOGIN_REFRESH_URL",
1085
+ "name": "_SOCKET_EXT",
874
1086
  "module": "src/env/variables.ts"
875
1087
  }
876
1088
  },
877
1089
  {
878
1090
  "kind": "js",
879
- "name": "LOGIN_DETAILS_URL",
1091
+ "name": "FORCE_HTTP",
880
1092
  "declaration": {
881
- "name": "LOGIN_DETAILS_URL",
1093
+ "name": "_FORCE_HTTP",
882
1094
  "module": "src/env/variables.ts"
883
1095
  }
884
1096
  },
885
1097
  {
886
1098
  "kind": "js",
887
- "name": "LOGOUT_URL",
1099
+ "name": "FORCE_HTTP_REQREP",
888
1100
  "declaration": {
889
- "name": "LOGOUT_URL",
1101
+ "name": "_FORCE_HTTP_REQREP",
890
1102
  "module": "src/env/variables.ts"
891
1103
  }
892
1104
  },
893
1105
  {
894
1106
  "kind": "js",
895
- "name": "CHANGE_PASSWORD_URL",
1107
+ "name": "GENESIS_SOCKET_URL",
896
1108
  "declaration": {
897
- "name": "CHANGE_PASSWORD_URL",
1109
+ "name": "GENESIS_SOCKET_URL",
898
1110
  "module": "src/env/variables.ts"
899
1111
  }
900
1112
  },
901
1113
  {
902
1114
  "kind": "js",
903
- "name": "FORGOT_PASSWORD_URL",
1115
+ "name": "API_HOST",
904
1116
  "declaration": {
905
- "name": "FORGOT_PASSWORD_URL",
1117
+ "name": "_API_HOST",
906
1118
  "module": "src/env/variables.ts"
907
1119
  }
908
1120
  },
909
1121
  {
910
1122
  "kind": "js",
911
- "name": "RESET_PASSWORD_URL",
1123
+ "name": "HTTP_CONFIG",
912
1124
  "declaration": {
913
- "name": "RESET_PASSWORD_URL",
1125
+ "name": "_HTTP_CONFIG",
914
1126
  "module": "src/env/variables.ts"
915
1127
  }
916
1128
  },
917
1129
  {
918
1130
  "kind": "js",
919
- "name": "SSO_LIST_URL",
1131
+ "name": "DEFAULT_ORGANISATION",
920
1132
  "declaration": {
921
- "name": "SSO_LIST_URL",
1133
+ "name": "_DEFAULT_ORGANISATION",
922
1134
  "module": "src/env/variables.ts"
923
1135
  }
924
1136
  },
925
1137
  {
926
1138
  "kind": "js",
927
- "name": "SSO_LOGIN_URL",
1139
+ "name": "DEFAULT_PASSWORD",
928
1140
  "declaration": {
929
- "name": "SSO_LOGIN_URL",
1141
+ "name": "_DEFAULT_PASSWORD",
930
1142
  "module": "src/env/variables.ts"
931
1143
  }
932
1144
  },
933
1145
  {
934
1146
  "kind": "js",
935
- "name": "ENVIRONMENT_LEVEL",
1147
+ "name": "DEFAULT_USER",
936
1148
  "declaration": {
937
- "name": "ENVIRONMENT_LEVEL",
1149
+ "name": "_DEFAULT_USER",
938
1150
  "module": "src/env/variables.ts"
939
1151
  }
940
1152
  },
941
1153
  {
942
1154
  "kind": "js",
943
- "name": "ACCEPT_TERMS_URL",
1155
+ "name": "LOGIN_URL",
944
1156
  "declaration": {
945
- "name": "ACCEPT_TERMS_URL",
1157
+ "name": "LOGIN_URL",
946
1158
  "module": "src/env/variables.ts"
947
1159
  }
948
- }
949
- ]
950
- },
951
- {
952
- "kind": "javascript-module",
953
- "path": "src/converters/index.ts",
954
- "declarations": [],
955
- "exports": [
1160
+ },
956
1161
  {
957
1162
  "kind": "js",
958
- "name": "*",
1163
+ "name": "LOGIN_REFRESH_URL",
959
1164
  "declaration": {
960
- "name": "*",
961
- "package": "./string-array-converter"
1165
+ "name": "LOGIN_REFRESH_URL",
1166
+ "module": "src/env/variables.ts"
962
1167
  }
963
- }
964
- ]
965
- },
966
- {
967
- "kind": "javascript-module",
968
- "path": "src/converters/string-array-converter.ts",
969
- "declarations": [
1168
+ },
970
1169
  {
971
- "kind": "variable",
972
- "name": "stringArrayConverter",
973
- "type": {
974
- "text": "ValueConverter"
975
- },
976
- "default": "{\n fromView(v: string): string | string[] | undefined {\n if (!v?.trim()) return undefined;\n return v.includes(',') ? v.split(',').map((s) => s.trim()) : v.trim();\n },\n toView(v: string | string[] | undefined): string {\n if (typeof v === 'string') return v;\n if (Array.isArray(v)) return v.join(',');\n return '';\n },\n}",
977
- "description": "A @microsoft/fast-element#ValueConverter that converts between comma-separated string attributes\nand `string | string[]` properties.",
978
- "privacy": "public"
979
- }
980
- ],
981
- "exports": [
1170
+ "kind": "js",
1171
+ "name": "LOGIN_DETAILS_URL",
1172
+ "declaration": {
1173
+ "name": "LOGIN_DETAILS_URL",
1174
+ "module": "src/env/variables.ts"
1175
+ }
1176
+ },
982
1177
  {
983
1178
  "kind": "js",
984
- "name": "stringArrayConverter",
1179
+ "name": "LOGOUT_URL",
985
1180
  "declaration": {
986
- "name": "stringArrayConverter",
987
- "module": "src/converters/string-array-converter.ts"
1181
+ "name": "LOGOUT_URL",
1182
+ "module": "src/env/variables.ts"
988
1183
  }
989
- }
990
- ]
991
- },
992
- {
993
- "kind": "javascript-module",
994
- "path": "src/data/inMemoryDatabase.ts",
995
- "declarations": [
1184
+ },
996
1185
  {
997
- "kind": "class",
998
- "description": "An in memory database of specific DatabaseRecord types.",
999
- "name": "InMemoryDatabase",
1000
- "members": [
1001
- {
1002
- "kind": "field",
1003
- "name": "isWorking",
1004
- "type": {
1005
- "text": "boolean"
1006
- },
1007
- "privacy": "public",
1008
- "default": "false"
1009
- },
1010
- {
1011
- "kind": "field",
1012
- "name": "records",
1013
- "type": {
1014
- "text": "Record<string, T>"
1015
- },
1016
- "privacy": "private",
1017
- "default": "{}"
1018
- },
1019
- {
1020
- "kind": "field",
1021
- "name": "beforeUpdateListeners",
1022
- "privacy": "private"
1023
- },
1024
- {
1025
- "kind": "field",
1026
- "name": "afterUpdateListeners",
1027
- "privacy": "private"
1028
- },
1029
- {
1030
- "kind": "method",
1031
- "name": "create",
1032
- "privacy": "public",
1033
- "return": {
1034
- "type": {
1035
- "text": "Promise<DatabaseAccessResult.Create<T>>"
1036
- }
1037
- },
1038
- "parameters": [
1039
- {
1040
- "name": "newValue",
1041
- "type": {
1042
- "text": "Omit<T, 'id'>"
1043
- }
1044
- }
1045
- ]
1046
- },
1047
- {
1048
- "kind": "method",
1049
- "name": "read",
1050
- "privacy": "public",
1051
- "return": {
1052
- "type": {
1053
- "text": "Promise<DatabaseAccessResult.Read<T>>"
1054
- }
1055
- },
1056
- "parameters": [
1057
- {
1058
- "name": "id",
1059
- "type": {
1060
- "text": "string"
1061
- }
1062
- }
1063
- ]
1064
- },
1065
- {
1066
- "kind": "method",
1067
- "name": "update",
1068
- "privacy": "public",
1069
- "return": {
1070
- "type": {
1071
- "text": "Promise<DatabaseAccessResult.Update<T>>"
1072
- }
1073
- },
1074
- "parameters": [
1075
- {
1076
- "name": "id",
1077
- "type": {
1078
- "text": "string"
1079
- }
1080
- },
1081
- {
1082
- "name": "newValue",
1083
- "type": {
1084
- "text": "Omit<Partial<T>, 'id'>"
1085
- }
1086
- }
1087
- ]
1088
- },
1089
- {
1090
- "kind": "method",
1091
- "name": "delete",
1092
- "privacy": "public",
1093
- "return": {
1094
- "type": {
1095
- "text": "Promise<DatabaseAccessResult.Delete>"
1096
- }
1097
- },
1098
- "parameters": [
1099
- {
1100
- "name": "id",
1101
- "type": {
1102
- "text": "string"
1103
- }
1104
- }
1105
- ]
1106
- },
1107
- {
1108
- "kind": "method",
1109
- "name": "visit",
1110
- "privacy": "public",
1111
- "return": {
1112
- "type": {
1113
- "text": "Promise<void>"
1114
- }
1115
- },
1116
- "parameters": [
1117
- {
1118
- "name": "visitor",
1119
- "type": {
1120
- "text": "(record: T) => void"
1121
- }
1122
- }
1123
- ]
1124
- },
1125
- {
1126
- "kind": "method",
1127
- "name": "onBeforeUpdate",
1128
- "privacy": "public",
1129
- "return": {
1130
- "type": {
1131
- "text": "() => void"
1132
- }
1133
- },
1134
- "parameters": [
1135
- {
1136
- "name": "listener",
1137
- "type": {
1138
- "text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
1139
- }
1140
- }
1141
- ]
1142
- },
1143
- {
1144
- "kind": "method",
1145
- "name": "onAfterUpdate",
1146
- "privacy": "public",
1147
- "return": {
1148
- "type": {
1149
- "text": "() => void"
1150
- }
1151
- },
1152
- "parameters": [
1153
- {
1154
- "name": "listener",
1155
- "type": {
1156
- "text": "Listener<DatabaseEvent.AfterUpdate<T>>"
1157
- }
1158
- }
1159
- ]
1160
- }
1161
- ]
1162
- }
1163
- ],
1164
- "exports": [
1186
+ "kind": "js",
1187
+ "name": "CHANGE_PASSWORD_URL",
1188
+ "declaration": {
1189
+ "name": "CHANGE_PASSWORD_URL",
1190
+ "module": "src/env/variables.ts"
1191
+ }
1192
+ },
1165
1193
  {
1166
1194
  "kind": "js",
1167
- "name": "InMemoryDatabase",
1195
+ "name": "FORGOT_PASSWORD_URL",
1168
1196
  "declaration": {
1169
- "name": "InMemoryDatabase",
1170
- "module": "src/data/inMemoryDatabase.ts"
1197
+ "name": "FORGOT_PASSWORD_URL",
1198
+ "module": "src/env/variables.ts"
1171
1199
  }
1172
- }
1173
- ]
1174
- },
1175
- {
1176
- "kind": "javascript-module",
1177
- "path": "src/data/index.ts",
1178
- "declarations": [],
1179
- "exports": [
1200
+ },
1180
1201
  {
1181
1202
  "kind": "js",
1182
- "name": "*",
1203
+ "name": "RESET_PASSWORD_URL",
1183
1204
  "declaration": {
1184
- "name": "*",
1185
- "package": "./inMemoryDatabase"
1205
+ "name": "RESET_PASSWORD_URL",
1206
+ "module": "src/env/variables.ts"
1186
1207
  }
1187
- }
1188
- ]
1189
- },
1190
- {
1191
- "kind": "javascript-module",
1192
- "path": "src/decorators/index.ts",
1193
- "declarations": [],
1194
- "exports": [
1208
+ },
1195
1209
  {
1196
1210
  "kind": "js",
1197
- "name": "*",
1211
+ "name": "SSO_LIST_URL",
1198
1212
  "declaration": {
1199
- "name": "*",
1200
- "package": "./renderOnChange"
1213
+ "name": "SSO_LIST_URL",
1214
+ "module": "src/env/variables.ts"
1201
1215
  }
1202
- }
1203
- ]
1204
- },
1205
- {
1206
- "kind": "javascript-module",
1207
- "path": "src/decorators/renderOnChange.ts",
1208
- "declarations": [
1216
+ },
1209
1217
  {
1210
- "kind": "function",
1211
- "name": "renderOnChange",
1212
- "parameters": [
1213
- {
1214
- "name": "target",
1215
- "type": {
1216
- "text": "FASTElement & { render(): void }"
1217
- },
1218
- "description": "The target to define the property change handler on."
1219
- },
1220
- {
1221
- "name": "name",
1222
- "type": {
1223
- "text": "string"
1224
- },
1225
- "description": "The property name."
1226
- }
1227
- ],
1228
- "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
1229
- "privacy": "public"
1230
- }
1231
- ],
1232
- "exports": [
1218
+ "kind": "js",
1219
+ "name": "SSO_LOGIN_URL",
1220
+ "declaration": {
1221
+ "name": "SSO_LOGIN_URL",
1222
+ "module": "src/env/variables.ts"
1223
+ }
1224
+ },
1233
1225
  {
1234
1226
  "kind": "js",
1235
- "name": "renderOnChange",
1227
+ "name": "ENVIRONMENT_LEVEL",
1236
1228
  "declaration": {
1237
- "name": "renderOnChange",
1238
- "module": "src/decorators/renderOnChange.ts"
1229
+ "name": "ENVIRONMENT_LEVEL",
1230
+ "module": "src/env/variables.ts"
1231
+ }
1232
+ },
1233
+ {
1234
+ "kind": "js",
1235
+ "name": "ACCEPT_TERMS_URL",
1236
+ "declaration": {
1237
+ "name": "ACCEPT_TERMS_URL",
1238
+ "module": "src/env/variables.ts"
1239
1239
  }
1240
1240
  }
1241
1241
  ]