@genesislcap/foundation-utils 15.86.1-FUI-2666.3 → 15.86.1-FUI-2666.4

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.
@@ -260,53 +260,198 @@
260
260
  },
261
261
  {
262
262
  "kind": "javascript-module",
263
- "path": "src/decorators/index.ts",
264
- "declarations": [],
265
- "exports": [
266
- {
267
- "kind": "js",
268
- "name": "*",
269
- "declaration": {
270
- "name": "*",
271
- "package": "./renderOnChange"
272
- }
273
- }
274
- ]
275
- },
276
- {
277
- "kind": "javascript-module",
278
- "path": "src/decorators/renderOnChange.ts",
263
+ "path": "src/data/inMemoryDatabase.ts",
279
264
  "declarations": [
280
265
  {
281
- "kind": "function",
282
- "name": "renderOnChange",
283
- "parameters": [
266
+ "kind": "class",
267
+ "description": "An in memory database of specific DatabaseRecord types.",
268
+ "name": "InMemoryDatabase",
269
+ "members": [
284
270
  {
285
- "name": "target",
271
+ "kind": "field",
272
+ "name": "isWorking",
286
273
  "type": {
287
- "text": "FASTElement & { render(): void }"
274
+ "text": "boolean"
288
275
  },
289
- "description": "The target to define the property change handler on."
276
+ "privacy": "public",
277
+ "default": "false"
290
278
  },
291
279
  {
292
- "name": "name",
280
+ "kind": "field",
281
+ "name": "records",
293
282
  "type": {
294
- "text": "string"
283
+ "text": "Record<string, T>"
295
284
  },
296
- "description": "The property name."
285
+ "privacy": "private",
286
+ "default": "{}"
287
+ },
288
+ {
289
+ "kind": "field",
290
+ "name": "beforeUpdateListeners",
291
+ "privacy": "private"
292
+ },
293
+ {
294
+ "kind": "field",
295
+ "name": "afterUpdateListeners",
296
+ "privacy": "private"
297
+ },
298
+ {
299
+ "kind": "method",
300
+ "name": "create",
301
+ "privacy": "public",
302
+ "return": {
303
+ "type": {
304
+ "text": "Promise<DatabaseAccessResult.Create<T>>"
305
+ }
306
+ },
307
+ "parameters": [
308
+ {
309
+ "name": "newValue",
310
+ "type": {
311
+ "text": "Omit<T, 'id'>"
312
+ }
313
+ }
314
+ ]
315
+ },
316
+ {
317
+ "kind": "method",
318
+ "name": "read",
319
+ "privacy": "public",
320
+ "return": {
321
+ "type": {
322
+ "text": "Promise<DatabaseAccessResult.Read<T>>"
323
+ }
324
+ },
325
+ "parameters": [
326
+ {
327
+ "name": "id",
328
+ "type": {
329
+ "text": "string"
330
+ }
331
+ }
332
+ ]
333
+ },
334
+ {
335
+ "kind": "method",
336
+ "name": "update",
337
+ "privacy": "public",
338
+ "return": {
339
+ "type": {
340
+ "text": "Promise<DatabaseAccessResult.Update<T>>"
341
+ }
342
+ },
343
+ "parameters": [
344
+ {
345
+ "name": "id",
346
+ "type": {
347
+ "text": "string"
348
+ }
349
+ },
350
+ {
351
+ "name": "newValue",
352
+ "type": {
353
+ "text": "Omit<Partial<T>, 'id'>"
354
+ }
355
+ }
356
+ ]
357
+ },
358
+ {
359
+ "kind": "method",
360
+ "name": "delete",
361
+ "privacy": "public",
362
+ "return": {
363
+ "type": {
364
+ "text": "Promise<DatabaseAccessResult.Delete>"
365
+ }
366
+ },
367
+ "parameters": [
368
+ {
369
+ "name": "id",
370
+ "type": {
371
+ "text": "string"
372
+ }
373
+ }
374
+ ]
375
+ },
376
+ {
377
+ "kind": "method",
378
+ "name": "visit",
379
+ "privacy": "public",
380
+ "return": {
381
+ "type": {
382
+ "text": "Promise<void>"
383
+ }
384
+ },
385
+ "parameters": [
386
+ {
387
+ "name": "visitor",
388
+ "type": {
389
+ "text": "(record: T) => void"
390
+ }
391
+ }
392
+ ]
393
+ },
394
+ {
395
+ "kind": "method",
396
+ "name": "onBeforeUpdate",
397
+ "privacy": "public",
398
+ "return": {
399
+ "type": {
400
+ "text": "() => void"
401
+ }
402
+ },
403
+ "parameters": [
404
+ {
405
+ "name": "listener",
406
+ "type": {
407
+ "text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
408
+ }
409
+ }
410
+ ]
411
+ },
412
+ {
413
+ "kind": "method",
414
+ "name": "onAfterUpdate",
415
+ "privacy": "public",
416
+ "return": {
417
+ "type": {
418
+ "text": "() => void"
419
+ }
420
+ },
421
+ "parameters": [
422
+ {
423
+ "name": "listener",
424
+ "type": {
425
+ "text": "Listener<DatabaseEvent.AfterUpdate<T>>"
426
+ }
427
+ }
428
+ ]
297
429
  }
298
- ],
299
- "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
300
- "privacy": "public"
430
+ ]
301
431
  }
302
432
  ],
303
433
  "exports": [
304
434
  {
305
435
  "kind": "js",
306
- "name": "renderOnChange",
436
+ "name": "InMemoryDatabase",
307
437
  "declaration": {
308
- "name": "renderOnChange",
309
- "module": "src/decorators/renderOnChange.ts"
438
+ "name": "InMemoryDatabase",
439
+ "module": "src/data/inMemoryDatabase.ts"
440
+ }
441
+ }
442
+ ]
443
+ },
444
+ {
445
+ "kind": "javascript-module",
446
+ "path": "src/data/index.ts",
447
+ "declarations": [],
448
+ "exports": [
449
+ {
450
+ "kind": "js",
451
+ "name": "*",
452
+ "declaration": {
453
+ "name": "*",
454
+ "package": "./inMemoryDatabase"
310
455
  }
311
456
  }
312
457
  ]
@@ -551,190 +696,30 @@
551
696
  },
552
697
  {
553
698
  "kind": "javascript-module",
554
- "path": "src/data/inMemoryDatabase.ts",
555
- "declarations": [
699
+ "path": "src/directives/index.ts",
700
+ "declarations": [],
701
+ "exports": [
556
702
  {
557
- "kind": "class",
558
- "description": "An in memory database of specific DatabaseRecord types.",
559
- "name": "InMemoryDatabase",
560
- "members": [
561
- {
562
- "kind": "field",
563
- "name": "isWorking",
564
- "type": {
565
- "text": "boolean"
566
- },
567
- "privacy": "public",
568
- "default": "false"
569
- },
570
- {
571
- "kind": "field",
572
- "name": "records",
573
- "type": {
574
- "text": "Record<string, T>"
575
- },
576
- "privacy": "private",
577
- "default": "{}"
578
- },
579
- {
580
- "kind": "field",
581
- "name": "beforeUpdateListeners",
582
- "privacy": "private"
583
- },
584
- {
585
- "kind": "field",
586
- "name": "afterUpdateListeners",
587
- "privacy": "private"
588
- },
589
- {
590
- "kind": "method",
591
- "name": "create",
592
- "privacy": "public",
593
- "return": {
594
- "type": {
595
- "text": "Promise<DatabaseAccessResult.Create<T>>"
596
- }
597
- },
598
- "parameters": [
599
- {
600
- "name": "newValue",
601
- "type": {
602
- "text": "Omit<T, 'id'>"
603
- }
604
- }
605
- ]
606
- },
607
- {
608
- "kind": "method",
609
- "name": "read",
610
- "privacy": "public",
611
- "return": {
612
- "type": {
613
- "text": "Promise<DatabaseAccessResult.Read<T>>"
614
- }
615
- },
616
- "parameters": [
617
- {
618
- "name": "id",
619
- "type": {
620
- "text": "string"
621
- }
622
- }
623
- ]
624
- },
625
- {
626
- "kind": "method",
627
- "name": "update",
628
- "privacy": "public",
629
- "return": {
630
- "type": {
631
- "text": "Promise<DatabaseAccessResult.Update<T>>"
632
- }
633
- },
634
- "parameters": [
635
- {
636
- "name": "id",
637
- "type": {
638
- "text": "string"
639
- }
640
- },
641
- {
642
- "name": "newValue",
643
- "type": {
644
- "text": "Omit<Partial<T>, 'id'>"
645
- }
646
- }
647
- ]
648
- },
649
- {
650
- "kind": "method",
651
- "name": "delete",
652
- "privacy": "public",
653
- "return": {
654
- "type": {
655
- "text": "Promise<DatabaseAccessResult.Delete>"
656
- }
657
- },
658
- "parameters": [
659
- {
660
- "name": "id",
661
- "type": {
662
- "text": "string"
663
- }
664
- }
665
- ]
666
- },
667
- {
668
- "kind": "method",
669
- "name": "visit",
670
- "privacy": "public",
671
- "return": {
672
- "type": {
673
- "text": "Promise<void>"
674
- }
675
- },
676
- "parameters": [
677
- {
678
- "name": "visitor",
679
- "type": {
680
- "text": "(record: T) => void"
681
- }
682
- }
683
- ]
684
- },
685
- {
686
- "kind": "method",
687
- "name": "onBeforeUpdate",
688
- "privacy": "public",
689
- "return": {
690
- "type": {
691
- "text": "() => void"
692
- }
693
- },
694
- "parameters": [
695
- {
696
- "name": "listener",
697
- "type": {
698
- "text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
699
- }
700
- }
701
- ]
702
- },
703
- {
704
- "kind": "method",
705
- "name": "onAfterUpdate",
706
- "privacy": "public",
707
- "return": {
708
- "type": {
709
- "text": "() => void"
710
- }
711
- },
712
- "parameters": [
713
- {
714
- "name": "listener",
715
- "type": {
716
- "text": "Listener<DatabaseEvent.AfterUpdate<T>>"
717
- }
718
- }
719
- ]
720
- }
721
- ]
722
- }
723
- ],
724
- "exports": [
703
+ "kind": "js",
704
+ "name": "*",
705
+ "declaration": {
706
+ "name": "*",
707
+ "package": "./sync"
708
+ }
709
+ },
725
710
  {
726
711
  "kind": "js",
727
- "name": "InMemoryDatabase",
712
+ "name": "*",
728
713
  "declaration": {
729
- "name": "InMemoryDatabase",
730
- "module": "src/data/inMemoryDatabase.ts"
714
+ "name": "*",
715
+ "package": "./when-else"
731
716
  }
732
717
  }
733
718
  ]
734
719
  },
735
720
  {
736
721
  "kind": "javascript-module",
737
- "path": "src/data/index.ts",
722
+ "path": "src/encoding/index.ts",
738
723
  "declarations": [],
739
724
  "exports": [
740
725
  {
@@ -742,14 +727,14 @@
742
727
  "name": "*",
743
728
  "declaration": {
744
729
  "name": "*",
745
- "package": "./inMemoryDatabase"
730
+ "package": "./base64"
746
731
  }
747
732
  }
748
733
  ]
749
734
  },
750
735
  {
751
736
  "kind": "javascript-module",
752
- "path": "src/encoding/index.ts",
737
+ "path": "src/decorators/index.ts",
753
738
  "declarations": [],
754
739
  "exports": [
755
740
  {
@@ -757,7 +742,45 @@
757
742
  "name": "*",
758
743
  "declaration": {
759
744
  "name": "*",
760
- "package": "./base64"
745
+ "package": "./renderOnChange"
746
+ }
747
+ }
748
+ ]
749
+ },
750
+ {
751
+ "kind": "javascript-module",
752
+ "path": "src/decorators/renderOnChange.ts",
753
+ "declarations": [
754
+ {
755
+ "kind": "function",
756
+ "name": "renderOnChange",
757
+ "parameters": [
758
+ {
759
+ "name": "target",
760
+ "type": {
761
+ "text": "FASTElement & { render(): void }"
762
+ },
763
+ "description": "The target to define the property change handler on."
764
+ },
765
+ {
766
+ "name": "name",
767
+ "type": {
768
+ "text": "string"
769
+ },
770
+ "description": "The property name."
771
+ }
772
+ ],
773
+ "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
774
+ "privacy": "public"
775
+ }
776
+ ],
777
+ "exports": [
778
+ {
779
+ "kind": "js",
780
+ "name": "renderOnChange",
781
+ "declaration": {
782
+ "name": "renderOnChange",
783
+ "module": "src/decorators/renderOnChange.ts"
761
784
  }
762
785
  }
763
786
  ]
@@ -1261,29 +1284,6 @@
1261
1284
  }
1262
1285
  ]
1263
1286
  },
1264
- {
1265
- "kind": "javascript-module",
1266
- "path": "src/directives/index.ts",
1267
- "declarations": [],
1268
- "exports": [
1269
- {
1270
- "kind": "js",
1271
- "name": "*",
1272
- "declaration": {
1273
- "name": "*",
1274
- "package": "./sync"
1275
- }
1276
- },
1277
- {
1278
- "kind": "js",
1279
- "name": "*",
1280
- "declaration": {
1281
- "name": "*",
1282
- "package": "./when-else"
1283
- }
1284
- }
1285
- ]
1286
- },
1287
1287
  {
1288
1288
  "kind": "javascript-module",
1289
1289
  "path": "src/error/errorMap.ts",
@@ -5039,98 +5039,188 @@
5039
5039
  },
5040
5040
  {
5041
5041
  "kind": "javascript-module",
5042
- "path": "src/encoding/base64/decode.ts",
5042
+ "path": "src/directives/sync/index.ts",
5043
+ "declarations": [],
5044
+ "exports": [
5045
+ {
5046
+ "kind": "js",
5047
+ "name": "*",
5048
+ "declaration": {
5049
+ "name": "*",
5050
+ "package": "./sync"
5051
+ }
5052
+ }
5053
+ ]
5054
+ },
5055
+ {
5056
+ "kind": "javascript-module",
5057
+ "path": "src/directives/sync/sync.ts",
5043
5058
  "declarations": [
5044
5059
  {
5045
- "kind": "function",
5046
- "name": "decodeFromBase64",
5047
- "return": {
5048
- "type": {
5049
- "text": ""
5050
- }
5060
+ "kind": "variable",
5061
+ "name": "defaultEventMap",
5062
+ "type": {
5063
+ "text": "Map<string, EventName>"
5051
5064
  },
5052
- "parameters": [
5053
- {
5054
- "name": "base64Value",
5055
- "type": {
5056
- "text": "string"
5057
- }
5058
- },
5059
- {
5060
- "description": "The value to decode from base64.",
5061
- "name": "value"
5062
- }
5063
- ],
5064
- "description": "Decodes a value from base64.",
5065
+ "default": "new Map([\n ['FAST-TEXT-AREA', 'input'],\n ['FAST-TEXT-FIELD', 'input'],\n ['FOUNDATION-TEXT-AREA', 'input'],\n ['FOUNDATION-TEXT-FIELD', 'input'],\n ['INPUT', 'input'],\n])",
5066
+ "description": "A map that associates specific HTML element tags with their corresponding default event names.",
5065
5067
  "privacy": "public"
5066
5068
  },
5067
5069
  {
5068
5070
  "kind": "function",
5069
- "name": "decodeFromBase64WithPrefix",
5071
+ "name": "sync",
5070
5072
  "return": {
5071
5073
  "type": {
5072
- "text": ""
5074
+ "text": "CaptureType<TSource>"
5073
5075
  }
5074
5076
  },
5075
5077
  "parameters": [
5076
5078
  {
5077
- "name": "value",
5079
+ "name": "binding",
5078
5080
  "type": {
5079
- "text": "string"
5080
- },
5081
- "description": "The value to decode from base64."
5081
+ "text": "Binding<TSource, TReturn>"
5082
+ }
5083
+ },
5084
+ {
5085
+ "name": "conversionType",
5086
+ "default": "'string'",
5087
+ "type": {
5088
+ "text": "ConversionType"
5089
+ }
5090
+ },
5091
+ {
5092
+ "name": "eventName",
5093
+ "default": "'default'",
5094
+ "type": {
5095
+ "text": "EventName"
5096
+ }
5097
+ },
5098
+ {
5099
+ "name": "keyAttr",
5100
+ "optional": true,
5101
+ "type": {
5102
+ "text": "string"
5103
+ }
5082
5104
  }
5083
5105
  ],
5084
- "description": "Decodes a value from base64 with a prefix.",
5106
+ "description": "Creates a synchronization directive that binds a data source to an HTML element,",
5085
5107
  "privacy": "public"
5086
5108
  }
5087
5109
  ],
5088
5110
  "exports": [
5089
5111
  {
5090
5112
  "kind": "js",
5091
- "name": "decodeFromBase64",
5113
+ "name": "defaultEventMap",
5092
5114
  "declaration": {
5093
- "name": "decodeFromBase64",
5094
- "module": "src/encoding/base64/decode.ts"
5115
+ "name": "defaultEventMap",
5116
+ "module": "src/directives/sync/sync.ts"
5095
5117
  }
5096
5118
  },
5097
5119
  {
5098
5120
  "kind": "js",
5099
- "name": "decodeFromBase64WithPrefix",
5121
+ "name": "sync",
5100
5122
  "declaration": {
5101
- "name": "decodeFromBase64WithPrefix",
5102
- "module": "src/encoding/base64/decode.ts"
5123
+ "name": "sync",
5124
+ "module": "src/directives/sync/sync.ts"
5103
5125
  }
5104
5126
  }
5105
5127
  ]
5106
5128
  },
5107
5129
  {
5108
5130
  "kind": "javascript-module",
5109
- "path": "src/encoding/base64/encode.ts",
5131
+ "path": "src/directives/when-else/index.ts",
5132
+ "declarations": [],
5133
+ "exports": [
5134
+ {
5135
+ "kind": "js",
5136
+ "name": "*",
5137
+ "declaration": {
5138
+ "name": "*",
5139
+ "package": "./when-else"
5140
+ }
5141
+ }
5142
+ ]
5143
+ },
5144
+ {
5145
+ "kind": "javascript-module",
5146
+ "path": "src/directives/when-else/when-else.ts",
5110
5147
  "declarations": [
5111
5148
  {
5112
5149
  "kind": "function",
5113
- "name": "encodeToBase64",
5150
+ "name": "whenElse",
5114
5151
  "return": {
5115
5152
  "type": {
5116
- "text": ""
5153
+ "text": "CaptureType<TSource>"
5117
5154
  }
5118
5155
  },
5119
5156
  "parameters": [
5120
5157
  {
5121
- "name": "value",
5158
+ "name": "binding",
5122
5159
  "type": {
5123
- "text": "string | ArrayBuffer"
5160
+ "text": "Binding<TSource, TReturn>"
5124
5161
  },
5125
- "description": "The value to encode to base64."
5162
+ "description": "The condition to test for rendering."
5163
+ },
5164
+ {
5165
+ "name": "trueTemplateOrTemplateBinding",
5166
+ "type": {
5167
+ "text": "WhenTemplate<TSource>"
5168
+ },
5169
+ "description": "The template or a binding that gets the template to render when the condition is true."
5170
+ },
5171
+ {
5172
+ "name": "falseTemplateOrTemplateBinding",
5173
+ "type": {
5174
+ "text": "WhenTemplate<TSource>"
5175
+ },
5176
+ "description": "The template or a binding that gets the template to render when the condition is false."
5126
5177
  }
5127
5178
  ],
5128
- "description": "Encodes the given value to base64.",
5179
+ "description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
5180
+ "privacy": "public"
5181
+ }
5182
+ ],
5183
+ "exports": [
5184
+ {
5185
+ "kind": "js",
5186
+ "name": "whenElse",
5187
+ "declaration": {
5188
+ "name": "whenElse",
5189
+ "module": "src/directives/when-else/when-else.ts"
5190
+ }
5191
+ }
5192
+ ]
5193
+ },
5194
+ {
5195
+ "kind": "javascript-module",
5196
+ "path": "src/encoding/base64/decode.ts",
5197
+ "declarations": [
5198
+ {
5199
+ "kind": "function",
5200
+ "name": "decodeFromBase64",
5201
+ "return": {
5202
+ "type": {
5203
+ "text": ""
5204
+ }
5205
+ },
5206
+ "parameters": [
5207
+ {
5208
+ "name": "base64Value",
5209
+ "type": {
5210
+ "text": "string"
5211
+ }
5212
+ },
5213
+ {
5214
+ "description": "The value to decode from base64.",
5215
+ "name": "value"
5216
+ }
5217
+ ],
5218
+ "description": "Decodes a value from base64.",
5129
5219
  "privacy": "public"
5130
5220
  },
5131
5221
  {
5132
5222
  "kind": "function",
5133
- "name": "encodeToBase64WithPrefix",
5223
+ "name": "decodeFromBase64WithPrefix",
5134
5224
  "return": {
5135
5225
  "type": {
5136
5226
  "text": ""
@@ -5140,149 +5230,101 @@
5140
5230
  {
5141
5231
  "name": "value",
5142
5232
  "type": {
5143
- "text": "string | ArrayBuffer"
5233
+ "text": "string"
5144
5234
  },
5145
- "description": "The value to encode to base64."
5235
+ "description": "The value to decode from base64."
5146
5236
  }
5147
5237
  ],
5148
- "description": "Encodes the given value with a prefix to base64.",
5238
+ "description": "Decodes a value from base64 with a prefix.",
5149
5239
  "privacy": "public"
5150
5240
  }
5151
5241
  ],
5152
5242
  "exports": [
5153
5243
  {
5154
5244
  "kind": "js",
5155
- "name": "encodeToBase64",
5156
- "declaration": {
5157
- "name": "encodeToBase64",
5158
- "module": "src/encoding/base64/encode.ts"
5159
- }
5160
- },
5161
- {
5162
- "kind": "js",
5163
- "name": "encodeToBase64WithPrefix",
5164
- "declaration": {
5165
- "name": "encodeToBase64WithPrefix",
5166
- "module": "src/encoding/base64/encode.ts"
5167
- }
5168
- }
5169
- ]
5170
- },
5171
- {
5172
- "kind": "javascript-module",
5173
- "path": "src/encoding/base64/index.ts",
5174
- "declarations": [],
5175
- "exports": [
5176
- {
5177
- "kind": "js",
5178
- "name": "*",
5245
+ "name": "decodeFromBase64",
5179
5246
  "declaration": {
5180
- "name": "*",
5181
- "package": "./decode"
5247
+ "name": "decodeFromBase64",
5248
+ "module": "src/encoding/base64/decode.ts"
5182
5249
  }
5183
5250
  },
5184
5251
  {
5185
5252
  "kind": "js",
5186
- "name": "*",
5187
- "declaration": {
5188
- "name": "*",
5189
- "package": "./encode"
5190
- }
5191
- }
5192
- ]
5193
- },
5194
- {
5195
- "kind": "javascript-module",
5196
- "path": "src/directives/sync/index.ts",
5197
- "declarations": [],
5198
- "exports": [
5199
- {
5200
- "kind": "js",
5201
- "name": "*",
5253
+ "name": "decodeFromBase64WithPrefix",
5202
5254
  "declaration": {
5203
- "name": "*",
5204
- "package": "./sync"
5255
+ "name": "decodeFromBase64WithPrefix",
5256
+ "module": "src/encoding/base64/decode.ts"
5205
5257
  }
5206
5258
  }
5207
5259
  ]
5208
5260
  },
5209
5261
  {
5210
5262
  "kind": "javascript-module",
5211
- "path": "src/directives/sync/sync.ts",
5263
+ "path": "src/encoding/base64/encode.ts",
5212
5264
  "declarations": [
5213
5265
  {
5214
- "kind": "variable",
5215
- "name": "defaultEventMap",
5216
- "type": {
5217
- "text": "Map<string, EventName>"
5266
+ "kind": "function",
5267
+ "name": "encodeToBase64",
5268
+ "return": {
5269
+ "type": {
5270
+ "text": ""
5271
+ }
5218
5272
  },
5219
- "default": "new Map([\n ['FAST-TEXT-AREA', 'input'],\n ['FAST-TEXT-FIELD', 'input'],\n ['FOUNDATION-TEXT-AREA', 'input'],\n ['FOUNDATION-TEXT-FIELD', 'input'],\n ['INPUT', 'input'],\n])",
5220
- "description": "A map that associates specific HTML element tags with their corresponding default event names.",
5273
+ "parameters": [
5274
+ {
5275
+ "name": "value",
5276
+ "type": {
5277
+ "text": "string | ArrayBuffer"
5278
+ },
5279
+ "description": "The value to encode to base64."
5280
+ }
5281
+ ],
5282
+ "description": "Encodes the given value to base64.",
5221
5283
  "privacy": "public"
5222
5284
  },
5223
5285
  {
5224
5286
  "kind": "function",
5225
- "name": "sync",
5287
+ "name": "encodeToBase64WithPrefix",
5226
5288
  "return": {
5227
5289
  "type": {
5228
- "text": "CaptureType<TSource>"
5290
+ "text": ""
5229
5291
  }
5230
5292
  },
5231
5293
  "parameters": [
5232
5294
  {
5233
- "name": "binding",
5234
- "type": {
5235
- "text": "Binding<TSource, TReturn>"
5236
- }
5237
- },
5238
- {
5239
- "name": "conversionType",
5240
- "default": "'string'",
5241
- "type": {
5242
- "text": "ConversionType"
5243
- }
5244
- },
5245
- {
5246
- "name": "eventName",
5247
- "default": "'default'",
5248
- "type": {
5249
- "text": "EventName"
5250
- }
5251
- },
5252
- {
5253
- "name": "keyAttr",
5254
- "optional": true,
5295
+ "name": "value",
5255
5296
  "type": {
5256
- "text": "string"
5257
- }
5297
+ "text": "string | ArrayBuffer"
5298
+ },
5299
+ "description": "The value to encode to base64."
5258
5300
  }
5259
5301
  ],
5260
- "description": "Creates a synchronization directive that binds a data source to an HTML element,",
5302
+ "description": "Encodes the given value with a prefix to base64.",
5261
5303
  "privacy": "public"
5262
5304
  }
5263
5305
  ],
5264
5306
  "exports": [
5265
5307
  {
5266
5308
  "kind": "js",
5267
- "name": "defaultEventMap",
5309
+ "name": "encodeToBase64",
5268
5310
  "declaration": {
5269
- "name": "defaultEventMap",
5270
- "module": "src/directives/sync/sync.ts"
5311
+ "name": "encodeToBase64",
5312
+ "module": "src/encoding/base64/encode.ts"
5271
5313
  }
5272
5314
  },
5273
5315
  {
5274
5316
  "kind": "js",
5275
- "name": "sync",
5317
+ "name": "encodeToBase64WithPrefix",
5276
5318
  "declaration": {
5277
- "name": "sync",
5278
- "module": "src/directives/sync/sync.ts"
5319
+ "name": "encodeToBase64WithPrefix",
5320
+ "module": "src/encoding/base64/encode.ts"
5279
5321
  }
5280
5322
  }
5281
5323
  ]
5282
5324
  },
5283
5325
  {
5284
5326
  "kind": "javascript-module",
5285
- "path": "src/directives/when-else/index.ts",
5327
+ "path": "src/encoding/base64/index.ts",
5286
5328
  "declarations": [],
5287
5329
  "exports": [
5288
5330
  {
@@ -5290,57 +5332,15 @@
5290
5332
  "name": "*",
5291
5333
  "declaration": {
5292
5334
  "name": "*",
5293
- "package": "./when-else"
5335
+ "package": "./decode"
5294
5336
  }
5295
- }
5296
- ]
5297
- },
5298
- {
5299
- "kind": "javascript-module",
5300
- "path": "src/directives/when-else/when-else.ts",
5301
- "declarations": [
5302
- {
5303
- "kind": "function",
5304
- "name": "whenElse",
5305
- "return": {
5306
- "type": {
5307
- "text": "CaptureType<TSource>"
5308
- }
5309
- },
5310
- "parameters": [
5311
- {
5312
- "name": "binding",
5313
- "type": {
5314
- "text": "Binding<TSource, TReturn>"
5315
- },
5316
- "description": "The condition to test for rendering."
5317
- },
5318
- {
5319
- "name": "trueTemplateOrTemplateBinding",
5320
- "type": {
5321
- "text": "WhenTemplate<TSource>"
5322
- },
5323
- "description": "The template or a binding that gets the template to render when the condition is true."
5324
- },
5325
- {
5326
- "name": "falseTemplateOrTemplateBinding",
5327
- "type": {
5328
- "text": "WhenTemplate<TSource>"
5329
- },
5330
- "description": "The template or a binding that gets the template to render when the condition is false."
5331
- }
5332
- ],
5333
- "description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
5334
- "privacy": "public"
5335
- }
5336
- ],
5337
- "exports": [
5337
+ },
5338
5338
  {
5339
5339
  "kind": "js",
5340
- "name": "whenElse",
5340
+ "name": "*",
5341
5341
  "declaration": {
5342
- "name": "whenElse",
5343
- "module": "src/directives/when-else/when-else.ts"
5342
+ "name": "*",
5343
+ "package": "./encode"
5344
5344
  }
5345
5345
  }
5346
5346
  ]
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/foundation-utils",
3
3
  "description": "Genesis Foundation Utils",
4
- "version": "15.86.1-FUI-2666.3",
4
+ "version": "15.86.1-FUI-2666.4",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -29,17 +29,17 @@
29
29
  }
30
30
  },
31
31
  "devDependencies": {
32
- "@genesislcap/foundation-testing": "15.86.1-FUI-2666.3",
33
- "@genesislcap/genx": "15.86.1-FUI-2666.3",
34
- "@genesislcap/ts-builder": "15.86.1-FUI-2666.3",
35
- "@genesislcap/uvu-playwright-builder": "15.86.1-FUI-2666.3",
36
- "@genesislcap/vite-builder": "15.86.1-FUI-2666.3",
37
- "@genesislcap/webpack-builder": "15.86.1-FUI-2666.3",
32
+ "@genesislcap/foundation-testing": "15.86.1-FUI-2666.4",
33
+ "@genesislcap/genx": "15.86.1-FUI-2666.4",
34
+ "@genesislcap/ts-builder": "15.86.1-FUI-2666.4",
35
+ "@genesislcap/uvu-playwright-builder": "15.86.1-FUI-2666.4",
36
+ "@genesislcap/vite-builder": "15.86.1-FUI-2666.4",
37
+ "@genesislcap/webpack-builder": "15.86.1-FUI-2666.4",
38
38
  "@types/json-schema": "^7.0.11"
39
39
  },
40
40
  "dependencies": {
41
- "@genesislcap/expression-builder": "15.86.1-FUI-2666.3",
42
- "@genesislcap/foundation-logger": "15.86.1-FUI-2666.3",
41
+ "@genesislcap/expression-builder": "15.86.1-FUI-2666.4",
42
+ "@genesislcap/foundation-logger": "15.86.1-FUI-2666.4",
43
43
  "@microsoft/fast-components": "2.30.6",
44
44
  "@microsoft/fast-element": "1.14.0",
45
45
  "@microsoft/fast-foundation": "2.50.0",