@genesislcap/foundation-utils 14.476.0 → 14.477.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/custom-elements.json +748 -748
  2. package/package.json +11 -11
@@ -211,1007 +211,1007 @@
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.",
566
- "privacy": "public"
567
- },
568
- {
569
- "kind": "variable",
570
- "name": "GENESIS_SOCKET_URL",
571
- "default": "`${location.protocol.replace('http', 'ws')}//${location.host}${_PUBLIC_PATH}/${_SOCKET_EXT}/`",
572
- "description": "Genesis Socket URL",
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.",
573
549
  "privacy": "public"
574
- },
550
+ }
551
+ ],
552
+ "exports": [
575
553
  {
576
- "kind": "variable",
577
- "name": "API_HOST",
578
- "type": {
579
- "text": "string"
554
+ "kind": "js",
555
+ "name": "assureDesignSystem",
556
+ "declaration": {
557
+ "name": "assureDesignSystem",
558
+ "module": "src/design-system/design-system.ts"
580
559
  }
581
560
  },
582
561
  {
583
- "kind": "variable",
584
- "name": "_API_HOST",
585
- "type": {
586
- "text": "string"
587
- },
588
- "default": "`${PROTOCOL}//${location.host}/${_SOCKET_EXT}/`",
589
- "description": "The Genesis Server URL (WebSocket or HTTP).",
590
- "privacy": "public"
562
+ "kind": "js",
563
+ "name": "getCurrentDesignSystem",
564
+ "declaration": {
565
+ "name": "getCurrentDesignSystem",
566
+ "module": "src/design-system/design-system.ts"
567
+ }
591
568
  },
592
569
  {
593
- "kind": "variable",
594
- "name": "HTTP_CONFIG",
595
- "type": {
596
- "text": "string"
570
+ "kind": "js",
571
+ "name": "getCurrentDesignSystemPrefix",
572
+ "declaration": {
573
+ "name": "getCurrentDesignSystemPrefix",
574
+ "module": "src/design-system/design-system.ts"
597
575
  }
598
- },
576
+ }
577
+ ]
578
+ },
579
+ {
580
+ "kind": "javascript-module",
581
+ "path": "src/design-system/editable-elements.ts",
582
+ "declarations": [
599
583
  {
600
584
  "kind": "variable",
601
- "name": "_HTTP_CONFIG",
585
+ "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
602
586
  "type": {
603
- "text": "string"
587
+ "text": "[\n ...NATIVE_EDITABLE_ELEMENT_SELECTORS,\n ...CONTENT_EDITABLE_SELECTORS,\n ...ARIA_EDITABLE_ROLE_SELECTORS,\n]"
604
588
  },
605
- "description": "Configuration settings for HTTP, used in http connect flow [`genesislcap-foundation-comms.HttpConnectConfig`](https://link-to-docs).",
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": "DEFAULT_ORGANISATION",
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": "_DEFAULT_ORGANISATION",
618
- "type": {
619
- "text": "string"
602
+ "kind": "function",
603
+ "name": "buildEditableElementSelector",
604
+ "return": {
605
+ "type": {
606
+ "text": "string"
607
+ }
620
608
  },
621
- "description": "The default Organisation value, used in auth/login flow [`genesislcap-foundation-login`](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_PASSWORD",
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_PASSWORD",
634
- "type": {
635
- "text": "string"
636
- },
637
- "description": "The default Password value, used in auth/login flow [`genesislcap-foundation-login`](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_USER",
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_USER",
650
- "type": {
651
- "text": "string"
652
- },
653
- "description": "The default Username value, used in auth/login flow [`genesislcap-foundation-login`](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": "LOGIN_URL",
659
- "type": {
660
- "text": "string"
661
- },
662
- "default": "'gwf/event-login-auth'",
663
- "privacy": "public"
664
- },
667
+ "kind": "js",
668
+ "name": "*",
669
+ "declaration": {
670
+ "name": "*",
671
+ "package": "./editable-elements"
672
+ }
673
+ }
674
+ ]
675
+ },
676
+ {
677
+ "kind": "javascript-module",
678
+ "path": "src/encoding/index.ts",
679
+ "declarations": [],
680
+ "exports": [
665
681
  {
666
- "kind": "variable",
667
- "name": "LOGIN_REFRESH_URL",
668
- "type": {
669
- "text": "string"
670
- },
671
- "default": "'gwf/event-login-auth'",
672
- "privacy": "public"
673
- },
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": [
674
696
  {
675
- "kind": "variable",
676
- "name": "LOGIN_DETAILS_URL",
677
- "type": {
678
- "text": "string"
679
- },
680
- "default": "'gwf/event-login-details'",
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.",
681
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
+ }
682
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": [
683
793
  {
684
794
  "kind": "variable",
685
- "name": "LOGOUT_URL",
795
+ "name": "BUILDER",
686
796
  "type": {
687
797
  "text": "string"
688
- },
689
- "default": "'gwf/event-logout'",
690
- "privacy": "public"
798
+ }
691
799
  },
692
800
  {
693
801
  "kind": "variable",
694
- "name": "CHANGE_PASSWORD_URL",
802
+ "name": "_BUILDER",
695
803
  "type": {
696
804
  "text": "string"
697
805
  },
698
- "default": "'gwf/event-change-user-password'",
806
+ "default": "'webpack'",
807
+ "description": "The builder aka file bundler.",
699
808
  "privacy": "public"
700
809
  },
701
810
  {
702
811
  "kind": "variable",
703
- "name": "FORGOT_PASSWORD_URL",
812
+ "name": "PUBLIC_PATH",
704
813
  "type": {
705
814
  "text": "string"
706
- },
707
- "default": "'gwf/event-self-service-password-reset'",
708
- "privacy": "public"
815
+ }
709
816
  },
710
817
  {
711
818
  "kind": "variable",
712
- "name": "RESET_PASSWORD_URL",
819
+ "name": "_PUBLIC_PATH",
713
820
  "type": {
714
821
  "text": "string"
715
822
  },
716
- "default": "'gwf/event-password-reset-action'",
823
+ "default": "'/'",
824
+ "description": "The public path.",
717
825
  "privacy": "public"
718
826
  },
719
827
  {
720
828
  "kind": "variable",
721
- "name": "SSO_LIST_URL",
829
+ "name": "SOCKET_EXT",
722
830
  "type": {
723
831
  "text": "string"
724
- },
725
- "default": "'gwf/sso/list'",
726
- "privacy": "public"
832
+ }
727
833
  },
728
834
  {
729
835
  "kind": "variable",
730
- "name": "SSO_LOGIN_URL",
836
+ "name": "_SOCKET_EXT",
731
837
  "type": {
732
838
  "text": "string"
733
839
  },
734
- "default": "'gwf/{type}/login?idp={id}'",
840
+ "default": "'gwf'",
841
+ "description": "The sub-path used for WebSocket connections when API_HOST is not set",
735
842
  "privacy": "public"
736
843
  },
737
844
  {
738
845
  "kind": "variable",
739
- "name": "ENVIRONMENT_LEVEL",
846
+ "name": "FORCE_HTTP",
740
847
  "type": {
741
848
  "text": "string"
742
- },
743
- "default": "'default'",
744
- "privacy": "public"
849
+ }
745
850
  },
746
851
  {
747
852
  "kind": "variable",
748
- "name": "ACCEPT_TERMS_URL",
853
+ "name": "_FORCE_HTTP",
749
854
  "type": {
750
855
  "text": "string"
751
856
  },
752
- "default": "'gwf/auth/accept-terms'",
857
+ "description": "The path to a JSON config file for the HTTP mode.",
753
858
  "privacy": "public"
754
- }
755
- ],
756
- "exports": [
757
- {
758
- "kind": "js",
759
- "name": "BUILDER",
760
- "declaration": {
761
- "name": "_BUILDER",
762
- "module": "src/env/variables.ts"
763
- }
764
859
  },
765
860
  {
766
- "kind": "js",
767
- "name": "PUBLIC_PATH",
768
- "declaration": {
769
- "name": "_PUBLIC_PATH",
770
- "module": "src/env/variables.ts"
771
- }
861
+ "kind": "variable",
862
+ "name": "GENESIS_SOCKET_URL",
863
+ "default": "`${location.protocol.replace('http', 'ws')}//${location.host}${_PUBLIC_PATH}/${_SOCKET_EXT}/`",
864
+ "description": "Genesis Socket URL",
865
+ "privacy": "public"
772
866
  },
773
867
  {
774
- "kind": "js",
775
- "name": "SOCKET_EXT",
776
- "declaration": {
777
- "name": "_SOCKET_EXT",
778
- "module": "src/env/variables.ts"
868
+ "kind": "variable",
869
+ "name": "API_HOST",
870
+ "type": {
871
+ "text": "string"
779
872
  }
780
873
  },
781
874
  {
782
- "kind": "js",
783
- "name": "FORCE_HTTP",
784
- "declaration": {
785
- "name": "_FORCE_HTTP",
786
- "module": "src/env/variables.ts"
787
- }
875
+ "kind": "variable",
876
+ "name": "_API_HOST",
877
+ "type": {
878
+ "text": "string"
879
+ },
880
+ "default": "`${PROTOCOL}//${location.host}/${_SOCKET_EXT}/`",
881
+ "description": "The Genesis Server URL (WebSocket or HTTP).",
882
+ "privacy": "public"
788
883
  },
789
884
  {
790
- "kind": "js",
791
- "name": "GENESIS_SOCKET_URL",
792
- "declaration": {
793
- "name": "GENESIS_SOCKET_URL",
794
- "module": "src/env/variables.ts"
885
+ "kind": "variable",
886
+ "name": "HTTP_CONFIG",
887
+ "type": {
888
+ "text": "string"
795
889
  }
796
890
  },
797
891
  {
798
- "kind": "js",
799
- "name": "API_HOST",
800
- "declaration": {
801
- "name": "_API_HOST",
802
- "module": "src/env/variables.ts"
803
- }
892
+ "kind": "variable",
893
+ "name": "_HTTP_CONFIG",
894
+ "type": {
895
+ "text": "string"
896
+ },
897
+ "description": "Configuration settings for HTTP, used in http connect flow [`genesislcap-foundation-comms.HttpConnectConfig`](https://link-to-docs).",
898
+ "privacy": "public"
804
899
  },
805
900
  {
806
- "kind": "js",
807
- "name": "HTTP_CONFIG",
808
- "declaration": {
809
- "name": "_HTTP_CONFIG",
810
- "module": "src/env/variables.ts"
901
+ "kind": "variable",
902
+ "name": "DEFAULT_ORGANISATION",
903
+ "type": {
904
+ "text": "string"
811
905
  }
812
906
  },
813
907
  {
814
- "kind": "js",
815
- "name": "DEFAULT_ORGANISATION",
816
- "declaration": {
817
- "name": "_DEFAULT_ORGANISATION",
818
- "module": "src/env/variables.ts"
819
- }
908
+ "kind": "variable",
909
+ "name": "_DEFAULT_ORGANISATION",
910
+ "type": {
911
+ "text": "string"
912
+ },
913
+ "description": "The default Organisation value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
914
+ "privacy": "public"
820
915
  },
821
916
  {
822
- "kind": "js",
917
+ "kind": "variable",
823
918
  "name": "DEFAULT_PASSWORD",
824
- "declaration": {
825
- "name": "_DEFAULT_PASSWORD",
826
- "module": "src/env/variables.ts"
919
+ "type": {
920
+ "text": "string"
827
921
  }
828
922
  },
829
923
  {
830
- "kind": "js",
924
+ "kind": "variable",
925
+ "name": "_DEFAULT_PASSWORD",
926
+ "type": {
927
+ "text": "string"
928
+ },
929
+ "description": "The default Password value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
930
+ "privacy": "public"
931
+ },
932
+ {
933
+ "kind": "variable",
831
934
  "name": "DEFAULT_USER",
832
- "declaration": {
833
- "name": "_DEFAULT_USER",
834
- "module": "src/env/variables.ts"
935
+ "type": {
936
+ "text": "string"
835
937
  }
836
938
  },
837
939
  {
838
- "kind": "js",
839
- "name": "LOGIN_URL",
940
+ "kind": "variable",
941
+ "name": "_DEFAULT_USER",
942
+ "type": {
943
+ "text": "string"
944
+ },
945
+ "description": "The default Username value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
946
+ "privacy": "public"
947
+ },
948
+ {
949
+ "kind": "variable",
950
+ "name": "LOGIN_URL",
951
+ "type": {
952
+ "text": "string"
953
+ },
954
+ "default": "'gwf/event-login-auth'",
955
+ "privacy": "public"
956
+ },
957
+ {
958
+ "kind": "variable",
959
+ "name": "LOGIN_REFRESH_URL",
960
+ "type": {
961
+ "text": "string"
962
+ },
963
+ "default": "'gwf/event-login-auth'",
964
+ "privacy": "public"
965
+ },
966
+ {
967
+ "kind": "variable",
968
+ "name": "LOGIN_DETAILS_URL",
969
+ "type": {
970
+ "text": "string"
971
+ },
972
+ "default": "'gwf/event-login-details'",
973
+ "privacy": "public"
974
+ },
975
+ {
976
+ "kind": "variable",
977
+ "name": "LOGOUT_URL",
978
+ "type": {
979
+ "text": "string"
980
+ },
981
+ "default": "'gwf/event-logout'",
982
+ "privacy": "public"
983
+ },
984
+ {
985
+ "kind": "variable",
986
+ "name": "CHANGE_PASSWORD_URL",
987
+ "type": {
988
+ "text": "string"
989
+ },
990
+ "default": "'gwf/event-change-user-password'",
991
+ "privacy": "public"
992
+ },
993
+ {
994
+ "kind": "variable",
995
+ "name": "FORGOT_PASSWORD_URL",
996
+ "type": {
997
+ "text": "string"
998
+ },
999
+ "default": "'gwf/event-self-service-password-reset'",
1000
+ "privacy": "public"
1001
+ },
1002
+ {
1003
+ "kind": "variable",
1004
+ "name": "RESET_PASSWORD_URL",
1005
+ "type": {
1006
+ "text": "string"
1007
+ },
1008
+ "default": "'gwf/event-password-reset-action'",
1009
+ "privacy": "public"
1010
+ },
1011
+ {
1012
+ "kind": "variable",
1013
+ "name": "SSO_LIST_URL",
1014
+ "type": {
1015
+ "text": "string"
1016
+ },
1017
+ "default": "'gwf/sso/list'",
1018
+ "privacy": "public"
1019
+ },
1020
+ {
1021
+ "kind": "variable",
1022
+ "name": "SSO_LOGIN_URL",
1023
+ "type": {
1024
+ "text": "string"
1025
+ },
1026
+ "default": "'gwf/{type}/login?idp={id}'",
1027
+ "privacy": "public"
1028
+ },
1029
+ {
1030
+ "kind": "variable",
1031
+ "name": "ENVIRONMENT_LEVEL",
1032
+ "type": {
1033
+ "text": "string"
1034
+ },
1035
+ "default": "'default'",
1036
+ "privacy": "public"
1037
+ },
1038
+ {
1039
+ "kind": "variable",
1040
+ "name": "ACCEPT_TERMS_URL",
1041
+ "type": {
1042
+ "text": "string"
1043
+ },
1044
+ "default": "'gwf/auth/accept-terms'",
1045
+ "privacy": "public"
1046
+ }
1047
+ ],
1048
+ "exports": [
1049
+ {
1050
+ "kind": "js",
1051
+ "name": "BUILDER",
840
1052
  "declaration": {
841
- "name": "LOGIN_URL",
1053
+ "name": "_BUILDER",
842
1054
  "module": "src/env/variables.ts"
843
1055
  }
844
1056
  },
845
1057
  {
846
1058
  "kind": "js",
847
- "name": "LOGIN_REFRESH_URL",
1059
+ "name": "PUBLIC_PATH",
848
1060
  "declaration": {
849
- "name": "LOGIN_REFRESH_URL",
1061
+ "name": "_PUBLIC_PATH",
850
1062
  "module": "src/env/variables.ts"
851
1063
  }
852
1064
  },
853
1065
  {
854
1066
  "kind": "js",
855
- "name": "LOGIN_DETAILS_URL",
1067
+ "name": "SOCKET_EXT",
856
1068
  "declaration": {
857
- "name": "LOGIN_DETAILS_URL",
1069
+ "name": "_SOCKET_EXT",
858
1070
  "module": "src/env/variables.ts"
859
1071
  }
860
1072
  },
861
1073
  {
862
1074
  "kind": "js",
863
- "name": "LOGOUT_URL",
1075
+ "name": "FORCE_HTTP",
864
1076
  "declaration": {
865
- "name": "LOGOUT_URL",
1077
+ "name": "_FORCE_HTTP",
866
1078
  "module": "src/env/variables.ts"
867
1079
  }
868
1080
  },
869
1081
  {
870
1082
  "kind": "js",
871
- "name": "CHANGE_PASSWORD_URL",
1083
+ "name": "GENESIS_SOCKET_URL",
872
1084
  "declaration": {
873
- "name": "CHANGE_PASSWORD_URL",
1085
+ "name": "GENESIS_SOCKET_URL",
874
1086
  "module": "src/env/variables.ts"
875
1087
  }
876
1088
  },
877
1089
  {
878
1090
  "kind": "js",
879
- "name": "FORGOT_PASSWORD_URL",
1091
+ "name": "API_HOST",
880
1092
  "declaration": {
881
- "name": "FORGOT_PASSWORD_URL",
1093
+ "name": "_API_HOST",
882
1094
  "module": "src/env/variables.ts"
883
1095
  }
884
1096
  },
885
1097
  {
886
1098
  "kind": "js",
887
- "name": "RESET_PASSWORD_URL",
1099
+ "name": "HTTP_CONFIG",
888
1100
  "declaration": {
889
- "name": "RESET_PASSWORD_URL",
1101
+ "name": "_HTTP_CONFIG",
890
1102
  "module": "src/env/variables.ts"
891
1103
  }
892
1104
  },
893
1105
  {
894
1106
  "kind": "js",
895
- "name": "SSO_LIST_URL",
1107
+ "name": "DEFAULT_ORGANISATION",
896
1108
  "declaration": {
897
- "name": "SSO_LIST_URL",
1109
+ "name": "_DEFAULT_ORGANISATION",
898
1110
  "module": "src/env/variables.ts"
899
1111
  }
900
1112
  },
901
1113
  {
902
1114
  "kind": "js",
903
- "name": "SSO_LOGIN_URL",
1115
+ "name": "DEFAULT_PASSWORD",
904
1116
  "declaration": {
905
- "name": "SSO_LOGIN_URL",
1117
+ "name": "_DEFAULT_PASSWORD",
906
1118
  "module": "src/env/variables.ts"
907
1119
  }
908
1120
  },
909
1121
  {
910
1122
  "kind": "js",
911
- "name": "ENVIRONMENT_LEVEL",
1123
+ "name": "DEFAULT_USER",
912
1124
  "declaration": {
913
- "name": "ENVIRONMENT_LEVEL",
1125
+ "name": "_DEFAULT_USER",
914
1126
  "module": "src/env/variables.ts"
915
1127
  }
916
1128
  },
917
1129
  {
918
1130
  "kind": "js",
919
- "name": "ACCEPT_TERMS_URL",
1131
+ "name": "LOGIN_URL",
920
1132
  "declaration": {
921
- "name": "ACCEPT_TERMS_URL",
1133
+ "name": "LOGIN_URL",
922
1134
  "module": "src/env/variables.ts"
923
1135
  }
924
- }
925
- ]
926
- },
927
- {
928
- "kind": "javascript-module",
929
- "path": "src/converters/index.ts",
930
- "declarations": [],
931
- "exports": [
1136
+ },
932
1137
  {
933
1138
  "kind": "js",
934
- "name": "*",
1139
+ "name": "LOGIN_REFRESH_URL",
935
1140
  "declaration": {
936
- "name": "*",
937
- "package": "./string-array-converter"
1141
+ "name": "LOGIN_REFRESH_URL",
1142
+ "module": "src/env/variables.ts"
938
1143
  }
939
- }
940
- ]
941
- },
942
- {
943
- "kind": "javascript-module",
944
- "path": "src/converters/string-array-converter.ts",
945
- "declarations": [
1144
+ },
946
1145
  {
947
- "kind": "variable",
948
- "name": "stringArrayConverter",
949
- "type": {
950
- "text": "ValueConverter"
951
- },
952
- "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}",
953
- "description": "A @microsoft/fast-element#ValueConverter that converts between comma-separated string attributes\nand `string | string[]` properties.",
954
- "privacy": "public"
955
- }
956
- ],
957
- "exports": [
1146
+ "kind": "js",
1147
+ "name": "LOGIN_DETAILS_URL",
1148
+ "declaration": {
1149
+ "name": "LOGIN_DETAILS_URL",
1150
+ "module": "src/env/variables.ts"
1151
+ }
1152
+ },
958
1153
  {
959
1154
  "kind": "js",
960
- "name": "stringArrayConverter",
1155
+ "name": "LOGOUT_URL",
961
1156
  "declaration": {
962
- "name": "stringArrayConverter",
963
- "module": "src/converters/string-array-converter.ts"
1157
+ "name": "LOGOUT_URL",
1158
+ "module": "src/env/variables.ts"
964
1159
  }
965
- }
966
- ]
967
- },
968
- {
969
- "kind": "javascript-module",
970
- "path": "src/data/inMemoryDatabase.ts",
971
- "declarations": [
1160
+ },
972
1161
  {
973
- "kind": "class",
974
- "description": "An in memory database of specific DatabaseRecord types.",
975
- "name": "InMemoryDatabase",
976
- "members": [
977
- {
978
- "kind": "field",
979
- "name": "isWorking",
980
- "type": {
981
- "text": "boolean"
982
- },
983
- "privacy": "public",
984
- "default": "false"
985
- },
986
- {
987
- "kind": "field",
988
- "name": "records",
989
- "type": {
990
- "text": "Record<string, T>"
991
- },
992
- "privacy": "private",
993
- "default": "{}"
994
- },
995
- {
996
- "kind": "field",
997
- "name": "beforeUpdateListeners",
998
- "privacy": "private"
999
- },
1000
- {
1001
- "kind": "field",
1002
- "name": "afterUpdateListeners",
1003
- "privacy": "private"
1004
- },
1005
- {
1006
- "kind": "method",
1007
- "name": "create",
1008
- "privacy": "public",
1009
- "return": {
1010
- "type": {
1011
- "text": "Promise<DatabaseAccessResult.Create<T>>"
1012
- }
1013
- },
1014
- "parameters": [
1015
- {
1016
- "name": "newValue",
1017
- "type": {
1018
- "text": "Omit<T, 'id'>"
1019
- }
1020
- }
1021
- ]
1022
- },
1023
- {
1024
- "kind": "method",
1025
- "name": "read",
1026
- "privacy": "public",
1027
- "return": {
1028
- "type": {
1029
- "text": "Promise<DatabaseAccessResult.Read<T>>"
1030
- }
1031
- },
1032
- "parameters": [
1033
- {
1034
- "name": "id",
1035
- "type": {
1036
- "text": "string"
1037
- }
1038
- }
1039
- ]
1040
- },
1041
- {
1042
- "kind": "method",
1043
- "name": "update",
1044
- "privacy": "public",
1045
- "return": {
1046
- "type": {
1047
- "text": "Promise<DatabaseAccessResult.Update<T>>"
1048
- }
1049
- },
1050
- "parameters": [
1051
- {
1052
- "name": "id",
1053
- "type": {
1054
- "text": "string"
1055
- }
1056
- },
1057
- {
1058
- "name": "newValue",
1059
- "type": {
1060
- "text": "Omit<Partial<T>, 'id'>"
1061
- }
1062
- }
1063
- ]
1064
- },
1065
- {
1066
- "kind": "method",
1067
- "name": "delete",
1068
- "privacy": "public",
1069
- "return": {
1070
- "type": {
1071
- "text": "Promise<DatabaseAccessResult.Delete>"
1072
- }
1073
- },
1074
- "parameters": [
1075
- {
1076
- "name": "id",
1077
- "type": {
1078
- "text": "string"
1079
- }
1080
- }
1081
- ]
1082
- },
1083
- {
1084
- "kind": "method",
1085
- "name": "visit",
1086
- "privacy": "public",
1087
- "return": {
1088
- "type": {
1089
- "text": "Promise<void>"
1090
- }
1091
- },
1092
- "parameters": [
1093
- {
1094
- "name": "visitor",
1095
- "type": {
1096
- "text": "(record: T) => void"
1097
- }
1098
- }
1099
- ]
1100
- },
1101
- {
1102
- "kind": "method",
1103
- "name": "onBeforeUpdate",
1104
- "privacy": "public",
1105
- "return": {
1106
- "type": {
1107
- "text": "() => void"
1108
- }
1109
- },
1110
- "parameters": [
1111
- {
1112
- "name": "listener",
1113
- "type": {
1114
- "text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
1115
- }
1116
- }
1117
- ]
1118
- },
1119
- {
1120
- "kind": "method",
1121
- "name": "onAfterUpdate",
1122
- "privacy": "public",
1123
- "return": {
1124
- "type": {
1125
- "text": "() => void"
1126
- }
1127
- },
1128
- "parameters": [
1129
- {
1130
- "name": "listener",
1131
- "type": {
1132
- "text": "Listener<DatabaseEvent.AfterUpdate<T>>"
1133
- }
1134
- }
1135
- ]
1136
- }
1137
- ]
1138
- }
1139
- ],
1140
- "exports": [
1162
+ "kind": "js",
1163
+ "name": "CHANGE_PASSWORD_URL",
1164
+ "declaration": {
1165
+ "name": "CHANGE_PASSWORD_URL",
1166
+ "module": "src/env/variables.ts"
1167
+ }
1168
+ },
1141
1169
  {
1142
1170
  "kind": "js",
1143
- "name": "InMemoryDatabase",
1171
+ "name": "FORGOT_PASSWORD_URL",
1144
1172
  "declaration": {
1145
- "name": "InMemoryDatabase",
1146
- "module": "src/data/inMemoryDatabase.ts"
1173
+ "name": "FORGOT_PASSWORD_URL",
1174
+ "module": "src/env/variables.ts"
1147
1175
  }
1148
- }
1149
- ]
1150
- },
1151
- {
1152
- "kind": "javascript-module",
1153
- "path": "src/data/index.ts",
1154
- "declarations": [],
1155
- "exports": [
1176
+ },
1156
1177
  {
1157
1178
  "kind": "js",
1158
- "name": "*",
1179
+ "name": "RESET_PASSWORD_URL",
1159
1180
  "declaration": {
1160
- "name": "*",
1161
- "package": "./inMemoryDatabase"
1181
+ "name": "RESET_PASSWORD_URL",
1182
+ "module": "src/env/variables.ts"
1162
1183
  }
1163
- }
1164
- ]
1165
- },
1166
- {
1167
- "kind": "javascript-module",
1168
- "path": "src/decorators/index.ts",
1169
- "declarations": [],
1170
- "exports": [
1184
+ },
1171
1185
  {
1172
1186
  "kind": "js",
1173
- "name": "*",
1187
+ "name": "SSO_LIST_URL",
1174
1188
  "declaration": {
1175
- "name": "*",
1176
- "package": "./renderOnChange"
1189
+ "name": "SSO_LIST_URL",
1190
+ "module": "src/env/variables.ts"
1177
1191
  }
1178
- }
1179
- ]
1180
- },
1181
- {
1182
- "kind": "javascript-module",
1183
- "path": "src/decorators/renderOnChange.ts",
1184
- "declarations": [
1192
+ },
1185
1193
  {
1186
- "kind": "function",
1187
- "name": "renderOnChange",
1188
- "parameters": [
1189
- {
1190
- "name": "target",
1191
- "type": {
1192
- "text": "FASTElement & { render(): void }"
1193
- },
1194
- "description": "The target to define the property change handler on."
1195
- },
1196
- {
1197
- "name": "name",
1198
- "type": {
1199
- "text": "string"
1200
- },
1201
- "description": "The property name."
1202
- }
1203
- ],
1204
- "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
1205
- "privacy": "public"
1206
- }
1207
- ],
1208
- "exports": [
1194
+ "kind": "js",
1195
+ "name": "SSO_LOGIN_URL",
1196
+ "declaration": {
1197
+ "name": "SSO_LOGIN_URL",
1198
+ "module": "src/env/variables.ts"
1199
+ }
1200
+ },
1209
1201
  {
1210
1202
  "kind": "js",
1211
- "name": "renderOnChange",
1203
+ "name": "ENVIRONMENT_LEVEL",
1212
1204
  "declaration": {
1213
- "name": "renderOnChange",
1214
- "module": "src/decorators/renderOnChange.ts"
1205
+ "name": "ENVIRONMENT_LEVEL",
1206
+ "module": "src/env/variables.ts"
1207
+ }
1208
+ },
1209
+ {
1210
+ "kind": "js",
1211
+ "name": "ACCEPT_TERMS_URL",
1212
+ "declaration": {
1213
+ "name": "ACCEPT_TERMS_URL",
1214
+ "module": "src/env/variables.ts"
1215
1215
  }
1216
1216
  }
1217
1217
  ]