@genesislcap/foundation-utils 14.482.0 → 14.482.1-GENC-1336.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 (2) hide show
  1. package/dist/custom-elements.json +542 -542
  2. package/package.json +11 -11
@@ -211,276 +211,553 @@
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
+ ]
423
+ }
424
+ ],
425
+ "exports": [
426
+ {
427
+ "kind": "js",
428
+ "name": "InMemoryDatabase",
429
+ "declaration": {
430
+ "name": "InMemoryDatabase",
431
+ "module": "src/data/inMemoryDatabase.ts"
432
+ }
433
+ }
434
+ ]
435
+ },
436
+ {
437
+ "kind": "javascript-module",
438
+ "path": "src/data/index.ts",
439
+ "declarations": [],
440
+ "exports": [
441
+ {
442
+ "kind": "js",
443
+ "name": "*",
444
+ "declaration": {
445
+ "name": "*",
446
+ "package": "./inMemoryDatabase"
447
+ }
448
+ }
449
+ ]
450
+ },
451
+ {
452
+ "kind": "javascript-module",
453
+ "path": "src/decorators/index.ts",
454
+ "declarations": [],
455
+ "exports": [
456
+ {
457
+ "kind": "js",
458
+ "name": "*",
459
+ "declaration": {
460
+ "name": "*",
461
+ "package": "./renderOnChange"
462
+ }
463
+ }
464
+ ]
465
+ },
466
+ {
467
+ "kind": "javascript-module",
468
+ "path": "src/decorators/renderOnChange.ts",
469
+ "declarations": [
470
+ {
471
+ "kind": "function",
472
+ "name": "renderOnChange",
473
+ "parameters": [
474
+ {
475
+ "name": "target",
476
+ "type": {
477
+ "text": "FASTElement & { render(): void }"
478
+ },
479
+ "description": "The target to define the property change handler on."
480
+ },
481
+ {
482
+ "name": "name",
483
+ "type": {
484
+ "text": "string"
485
+ },
486
+ "description": "The property name."
487
+ }
488
+ ],
489
+ "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
490
+ "privacy": "public"
491
+ }
492
+ ],
493
+ "exports": [
494
+ {
495
+ "kind": "js",
496
+ "name": "renderOnChange",
497
+ "declaration": {
498
+ "name": "renderOnChange",
499
+ "module": "src/decorators/renderOnChange.ts"
500
+ }
501
+ }
502
+ ]
503
+ },
504
+ {
505
+ "kind": "javascript-module",
506
+ "path": "src/design-system/design-system.ts",
507
+ "declarations": [
508
+ {
509
+ "kind": "function",
510
+ "name": "assureDesignSystem",
511
+ "return": {
512
+ "type": {
513
+ "text": "DesignSystemModule"
514
+ }
515
+ },
516
+ "parameters": [
517
+ {
518
+ "name": "module",
519
+ "type": {
520
+ "text": "DesignSystemModule"
521
+ }
522
+ }
523
+ ],
524
+ "description": "assureDesignSystem.",
525
+ "privacy": "public"
526
+ },
527
+ {
528
+ "kind": "function",
529
+ "name": "getCurrentDesignSystem",
530
+ "return": {
531
+ "type": {
532
+ "text": ""
533
+ }
534
+ },
535
+ "parameters": [
536
+ {
537
+ "name": "element",
538
+ "type": {
539
+ "text": "HTMLElement"
540
+ },
541
+ "description": "The starting HTML element"
542
+ },
543
+ {
544
+ "name": "fallbackPrefix",
545
+ "type": {
546
+ "text": "string"
547
+ },
548
+ "description": "The prefix to fallback to if the provider is not available"
549
+ }
550
+ ],
551
+ "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.",
552
+ "privacy": "public"
553
+ },
554
+ {
555
+ "kind": "function",
556
+ "name": "getCurrentDesignSystemPrefix",
557
+ "return": {
558
+ "type": {
559
+ "text": ""
560
+ }
561
+ },
562
+ "parameters": [
563
+ {
564
+ "name": "element",
565
+ "type": {
566
+ "text": "HTMLElement"
567
+ },
568
+ "description": "The starting HTML element"
569
+ },
570
+ {
571
+ "name": "fallbackPrefix",
572
+ "type": {
573
+ "text": "string"
574
+ },
575
+ "description": "The prefix to fallback to if the provider is not available"
576
+ }
577
+ ],
578
+ "description": "Get the current design system prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
579
+ "privacy": "public"
580
+ }
581
+ ],
582
+ "exports": [
583
+ {
584
+ "kind": "js",
585
+ "name": "assureDesignSystem",
586
+ "declaration": {
587
+ "name": "assureDesignSystem",
588
+ "module": "src/design-system/design-system.ts"
589
+ }
590
+ },
591
+ {
592
+ "kind": "js",
593
+ "name": "getCurrentDesignSystem",
594
+ "declaration": {
595
+ "name": "getCurrentDesignSystem",
596
+ "module": "src/design-system/design-system.ts"
597
+ }
598
+ },
599
+ {
600
+ "kind": "js",
601
+ "name": "getCurrentDesignSystemPrefix",
602
+ "declaration": {
603
+ "name": "getCurrentDesignSystemPrefix",
604
+ "module": "src/design-system/design-system.ts"
605
+ }
606
+ }
607
+ ]
608
+ },
609
+ {
610
+ "kind": "javascript-module",
611
+ "path": "src/design-system/editable-elements.ts",
612
+ "declarations": [
613
+ {
614
+ "kind": "variable",
615
+ "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
616
+ "type": {
617
+ "text": "[\n ...NATIVE_EDITABLE_ELEMENT_SELECTORS,\n ...CONTENT_EDITABLE_SELECTORS,\n ...ARIA_EDITABLE_ROLE_SELECTORS,\n]"
618
+ },
619
+ "default": "[\n ...NATIVE_EDITABLE_ELEMENT_SELECTORS,\n ...CONTENT_EDITABLE_SELECTORS,\n ...ARIA_EDITABLE_ROLE_SELECTORS,\n]",
620
+ "description": "Base selectors treated as editable context regardless of design system.\nIncludes native controls, contenteditable, and ARIA-editable roles."
621
+ },
622
+ {
623
+ "kind": "variable",
624
+ "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
625
+ "type": {
626
+ "text": "Record<\n EditableDesignSystemPrefix,\n readonly string[]\n>"
627
+ },
628
+ "default": "{\n rapid: buildDesignSystemEditableSelectors('rapid'),\n zero: buildDesignSystemEditableSelectors('zero'),\n}",
629
+ "description": "Design-system specific editable host selectors."
630
+ },
631
+ {
632
+ "kind": "function",
633
+ "name": "buildEditableElementSelector",
634
+ "return": {
635
+ "type": {
636
+ "text": "string"
637
+ }
638
+ },
639
+ "parameters": [
640
+ {
641
+ "name": "designSystems",
642
+ "type": {
643
+ "text": "readonly EditableDesignSystemPrefix[]"
644
+ }
645
+ },
646
+ {
647
+ "name": "customEditableSelectors",
648
+ "default": "[]",
649
+ "type": {
650
+ "text": "readonly string[]"
651
+ }
652
+ }
653
+ ]
654
+ }
655
+ ],
656
+ "exports": [
657
+ {
658
+ "kind": "js",
659
+ "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
660
+ "declaration": {
661
+ "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
662
+ "module": "src/design-system/editable-elements.ts"
663
+ }
664
+ },
665
+ {
666
+ "kind": "js",
667
+ "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
668
+ "declaration": {
669
+ "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
670
+ "module": "src/design-system/editable-elements.ts"
671
+ }
672
+ },
673
+ {
674
+ "kind": "js",
675
+ "name": "buildEditableElementSelector",
676
+ "declaration": {
677
+ "name": "buildEditableElementSelector",
678
+ "module": "src/design-system/editable-elements.ts"
679
+ }
680
+ }
681
+ ]
682
+ },
683
+ {
684
+ "kind": "javascript-module",
685
+ "path": "src/design-system/index.ts",
686
+ "declarations": [],
687
+ "exports": [
688
+ {
689
+ "kind": "js",
690
+ "name": "*",
691
+ "declaration": {
692
+ "name": "*",
693
+ "package": "./design-system"
694
+ }
695
+ },
696
+ {
697
+ "kind": "js",
698
+ "name": "*",
699
+ "declaration": {
700
+ "name": "*",
701
+ "package": "./editable-elements"
702
+ }
703
+ }
704
+ ]
705
+ },
706
+ {
707
+ "kind": "javascript-module",
708
+ "path": "src/directives/index.ts",
709
+ "declarations": [],
710
+ "exports": [
711
+ {
712
+ "kind": "js",
713
+ "name": "*",
714
+ "declaration": {
715
+ "name": "*",
716
+ "package": "./sync"
717
+ }
718
+ },
719
+ {
720
+ "kind": "js",
721
+ "name": "*",
722
+ "declaration": {
723
+ "name": "*",
724
+ "package": "./when-else"
725
+ }
726
+ }
727
+ ]
728
+ },
729
+ {
730
+ "kind": "javascript-module",
731
+ "path": "src/env/index.ts",
732
+ "declarations": [],
733
+ "exports": [
734
+ {
735
+ "kind": "js",
736
+ "name": "*",
737
+ "declaration": {
738
+ "name": "*",
739
+ "package": "./is-dev"
740
+ }
741
+ },
742
+ {
743
+ "kind": "js",
744
+ "name": "*",
745
+ "declaration": {
746
+ "name": "*",
747
+ "package": "./variables"
748
+ }
749
+ }
750
+ ]
751
+ },
752
+ {
753
+ "kind": "javascript-module",
754
+ "path": "src/env/is-dev.ts",
755
+ "declarations": [
756
+ {
757
+ "kind": "function",
758
+ "name": "isDev",
759
+ "description": "Determines if the current environment is a development environment.",
760
+ "privacy": "public"
484
761
  }
485
762
  ],
486
763
  "exports": [
@@ -886,332 +1163,55 @@
886
1163
  "kind": "js",
887
1164
  "name": "RESET_PASSWORD_URL",
888
1165
  "declaration": {
889
- "name": "RESET_PASSWORD_URL",
890
- "module": "src/env/variables.ts"
891
- }
892
- },
893
- {
894
- "kind": "js",
895
- "name": "SSO_LIST_URL",
896
- "declaration": {
897
- "name": "SSO_LIST_URL",
898
- "module": "src/env/variables.ts"
899
- }
900
- },
901
- {
902
- "kind": "js",
903
- "name": "SSO_LOGIN_URL",
904
- "declaration": {
905
- "name": "SSO_LOGIN_URL",
906
- "module": "src/env/variables.ts"
907
- }
908
- },
909
- {
910
- "kind": "js",
911
- "name": "ENVIRONMENT_LEVEL",
912
- "declaration": {
913
- "name": "ENVIRONMENT_LEVEL",
914
- "module": "src/env/variables.ts"
915
- }
916
- },
917
- {
918
- "kind": "js",
919
- "name": "ACCEPT_TERMS_URL",
920
- "declaration": {
921
- "name": "ACCEPT_TERMS_URL",
922
- "module": "src/env/variables.ts"
923
- }
924
- }
925
- ]
926
- },
927
- {
928
- "kind": "javascript-module",
929
- "path": "src/converters/index.ts",
930
- "declarations": [],
931
- "exports": [
932
- {
933
- "kind": "js",
934
- "name": "*",
935
- "declaration": {
936
- "name": "*",
937
- "package": "./string-array-converter"
938
- }
939
- }
940
- ]
941
- },
942
- {
943
- "kind": "javascript-module",
944
- "path": "src/converters/string-array-converter.ts",
945
- "declarations": [
946
- {
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": [
1166
+ "name": "RESET_PASSWORD_URL",
1167
+ "module": "src/env/variables.ts"
1168
+ }
1169
+ },
958
1170
  {
959
1171
  "kind": "js",
960
- "name": "stringArrayConverter",
1172
+ "name": "SSO_LIST_URL",
961
1173
  "declaration": {
962
- "name": "stringArrayConverter",
963
- "module": "src/converters/string-array-converter.ts"
1174
+ "name": "SSO_LIST_URL",
1175
+ "module": "src/env/variables.ts"
964
1176
  }
965
- }
966
- ]
967
- },
968
- {
969
- "kind": "javascript-module",
970
- "path": "src/data/inMemoryDatabase.ts",
971
- "declarations": [
972
- {
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": [
1177
+ },
1141
1178
  {
1142
1179
  "kind": "js",
1143
- "name": "InMemoryDatabase",
1180
+ "name": "SSO_LOGIN_URL",
1144
1181
  "declaration": {
1145
- "name": "InMemoryDatabase",
1146
- "module": "src/data/inMemoryDatabase.ts"
1182
+ "name": "SSO_LOGIN_URL",
1183
+ "module": "src/env/variables.ts"
1147
1184
  }
1148
- }
1149
- ]
1150
- },
1151
- {
1152
- "kind": "javascript-module",
1153
- "path": "src/data/index.ts",
1154
- "declarations": [],
1155
- "exports": [
1185
+ },
1156
1186
  {
1157
1187
  "kind": "js",
1158
- "name": "*",
1188
+ "name": "ENVIRONMENT_LEVEL",
1159
1189
  "declaration": {
1160
- "name": "*",
1161
- "package": "./inMemoryDatabase"
1190
+ "name": "ENVIRONMENT_LEVEL",
1191
+ "module": "src/env/variables.ts"
1162
1192
  }
1163
- }
1164
- ]
1165
- },
1166
- {
1167
- "kind": "javascript-module",
1168
- "path": "src/decorators/index.ts",
1169
- "declarations": [],
1170
- "exports": [
1193
+ },
1171
1194
  {
1172
1195
  "kind": "js",
1173
- "name": "*",
1196
+ "name": "ACCEPT_TERMS_URL",
1174
1197
  "declaration": {
1175
- "name": "*",
1176
- "package": "./renderOnChange"
1198
+ "name": "ACCEPT_TERMS_URL",
1199
+ "module": "src/env/variables.ts"
1177
1200
  }
1178
1201
  }
1179
1202
  ]
1180
1203
  },
1181
1204
  {
1182
1205
  "kind": "javascript-module",
1183
- "path": "src/decorators/renderOnChange.ts",
1184
- "declarations": [
1185
- {
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
- ],
1206
+ "path": "src/encoding/index.ts",
1207
+ "declarations": [],
1208
1208
  "exports": [
1209
1209
  {
1210
1210
  "kind": "js",
1211
- "name": "renderOnChange",
1211
+ "name": "*",
1212
1212
  "declaration": {
1213
- "name": "renderOnChange",
1214
- "module": "src/decorators/renderOnChange.ts"
1213
+ "name": "*",
1214
+ "package": "./base64"
1215
1215
  }
1216
1216
  }
1217
1217
  ]
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/foundation-utils",
3
3
  "description": "Genesis Foundation Utils",
4
- "version": "14.482.0",
4
+ "version": "14.482.1-GENC-1336.1",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -29,18 +29,18 @@
29
29
  }
30
30
  },
31
31
  "devDependencies": {
32
- "@genesislcap/foundation-testing": "14.482.0",
33
- "@genesislcap/genx": "14.482.0",
34
- "@genesislcap/rollup-builder": "14.482.0",
35
- "@genesislcap/ts-builder": "14.482.0",
36
- "@genesislcap/uvu-playwright-builder": "14.482.0",
37
- "@genesislcap/vite-builder": "14.482.0",
38
- "@genesislcap/webpack-builder": "14.482.0",
32
+ "@genesislcap/foundation-testing": "14.482.1-GENC-1336.1",
33
+ "@genesislcap/genx": "14.482.1-GENC-1336.1",
34
+ "@genesislcap/rollup-builder": "14.482.1-GENC-1336.1",
35
+ "@genesislcap/ts-builder": "14.482.1-GENC-1336.1",
36
+ "@genesislcap/uvu-playwright-builder": "14.482.1-GENC-1336.1",
37
+ "@genesislcap/vite-builder": "14.482.1-GENC-1336.1",
38
+ "@genesislcap/webpack-builder": "14.482.1-GENC-1336.1",
39
39
  "@types/json-schema": "^7.0.11"
40
40
  },
41
41
  "dependencies": {
42
- "@genesislcap/expression-builder": "14.482.0",
43
- "@genesislcap/foundation-logger": "14.482.0",
42
+ "@genesislcap/expression-builder": "14.482.1-GENC-1336.1",
43
+ "@genesislcap/foundation-logger": "14.482.1-GENC-1336.1",
44
44
  "@microsoft/fast-components": "2.30.6",
45
45
  "@microsoft/fast-element": "1.14.0",
46
46
  "@microsoft/fast-foundation": "2.50.0",
@@ -58,5 +58,5 @@
58
58
  "access": "public"
59
59
  },
60
60
  "customElements": "dist/custom-elements.json",
61
- "gitHead": "176fdab04821da415454fcdbc124f7fabac07aa7"
61
+ "gitHead": "226fa34f7ccc429157141416f11971ee7b64c63e"
62
62
  }