@genesislcap/foundation-utils 14.409.0-FUI-2495.11 → 14.409.0-FUI-2495.12

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