@genesislcap/foundation-utils 14.451.3-alpha-861508d.0 → 14.451.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.
@@ -250,204 +250,6 @@
250
250
  }
251
251
  ]
252
252
  },
253
- {
254
- "kind": "javascript-module",
255
- "path": "src/data/inMemoryDatabase.ts",
256
- "declarations": [
257
- {
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
253
  {
452
254
  "kind": "javascript-module",
453
255
  "path": "src/design-system/design-system.ts",
@@ -652,7 +454,7 @@
652
454
  },
653
455
  {
654
456
  "kind": "javascript-module",
655
- "path": "src/directives/index.ts",
457
+ "path": "src/encoding/index.ts",
656
458
  "declarations": [],
657
459
  "exports": [
658
460
  {
@@ -660,22 +462,14 @@
660
462
  "name": "*",
661
463
  "declaration": {
662
464
  "name": "*",
663
- "package": "./sync"
664
- }
665
- },
666
- {
667
- "kind": "js",
668
- "name": "*",
669
- "declaration": {
670
- "name": "*",
671
- "package": "./when-else"
465
+ "package": "./base64"
672
466
  }
673
467
  }
674
468
  ]
675
469
  },
676
470
  {
677
471
  "kind": "javascript-module",
678
- "path": "src/encoding/index.ts",
472
+ "path": "src/directives/index.ts",
679
473
  "declarations": [],
680
474
  "exports": [
681
475
  {
@@ -683,60 +477,213 @@
683
477
  "name": "*",
684
478
  "declaration": {
685
479
  "name": "*",
686
- "package": "./base64"
480
+ "package": "./sync"
687
481
  }
688
- }
689
- ]
690
- },
691
- {
692
- "kind": "javascript-module",
693
- "path": "src/decorators/index.ts",
694
- "declarations": [],
695
- "exports": [
482
+ },
696
483
  {
697
484
  "kind": "js",
698
485
  "name": "*",
699
486
  "declaration": {
700
487
  "name": "*",
701
- "package": "./renderOnChange"
488
+ "package": "./when-else"
702
489
  }
703
490
  }
704
491
  ]
705
492
  },
706
493
  {
707
494
  "kind": "javascript-module",
708
- "path": "src/decorators/renderOnChange.ts",
495
+ "path": "src/data/inMemoryDatabase.ts",
709
496
  "declarations": [
710
497
  {
711
- "kind": "function",
712
- "name": "renderOnChange",
713
- "parameters": [
498
+ "kind": "class",
499
+ "description": "An in memory database of specific DatabaseRecord types.",
500
+ "name": "InMemoryDatabase",
501
+ "members": [
714
502
  {
715
- "name": "target",
503
+ "kind": "field",
504
+ "name": "isWorking",
716
505
  "type": {
717
- "text": "FASTElement & { render(): void }"
506
+ "text": "boolean"
718
507
  },
719
- "description": "The target to define the property change handler on."
508
+ "privacy": "public",
509
+ "default": "false"
720
510
  },
721
511
  {
722
- "name": "name",
512
+ "kind": "field",
513
+ "name": "records",
723
514
  "type": {
724
- "text": "string"
515
+ "text": "Record<string, T>"
725
516
  },
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.",
730
- "privacy": "public"
731
- }
732
- ],
733
- "exports": [
734
- {
517
+ "privacy": "private",
518
+ "default": "{}"
519
+ },
520
+ {
521
+ "kind": "field",
522
+ "name": "beforeUpdateListeners",
523
+ "privacy": "private"
524
+ },
525
+ {
526
+ "kind": "field",
527
+ "name": "afterUpdateListeners",
528
+ "privacy": "private"
529
+ },
530
+ {
531
+ "kind": "method",
532
+ "name": "create",
533
+ "privacy": "public",
534
+ "return": {
535
+ "type": {
536
+ "text": "Promise<DatabaseAccessResult.Create<T>>"
537
+ }
538
+ },
539
+ "parameters": [
540
+ {
541
+ "name": "newValue",
542
+ "type": {
543
+ "text": "Omit<T, 'id'>"
544
+ }
545
+ }
546
+ ]
547
+ },
548
+ {
549
+ "kind": "method",
550
+ "name": "read",
551
+ "privacy": "public",
552
+ "return": {
553
+ "type": {
554
+ "text": "Promise<DatabaseAccessResult.Read<T>>"
555
+ }
556
+ },
557
+ "parameters": [
558
+ {
559
+ "name": "id",
560
+ "type": {
561
+ "text": "string"
562
+ }
563
+ }
564
+ ]
565
+ },
566
+ {
567
+ "kind": "method",
568
+ "name": "update",
569
+ "privacy": "public",
570
+ "return": {
571
+ "type": {
572
+ "text": "Promise<DatabaseAccessResult.Update<T>>"
573
+ }
574
+ },
575
+ "parameters": [
576
+ {
577
+ "name": "id",
578
+ "type": {
579
+ "text": "string"
580
+ }
581
+ },
582
+ {
583
+ "name": "newValue",
584
+ "type": {
585
+ "text": "Omit<Partial<T>, 'id'>"
586
+ }
587
+ }
588
+ ]
589
+ },
590
+ {
591
+ "kind": "method",
592
+ "name": "delete",
593
+ "privacy": "public",
594
+ "return": {
595
+ "type": {
596
+ "text": "Promise<DatabaseAccessResult.Delete>"
597
+ }
598
+ },
599
+ "parameters": [
600
+ {
601
+ "name": "id",
602
+ "type": {
603
+ "text": "string"
604
+ }
605
+ }
606
+ ]
607
+ },
608
+ {
609
+ "kind": "method",
610
+ "name": "visit",
611
+ "privacy": "public",
612
+ "return": {
613
+ "type": {
614
+ "text": "Promise<void>"
615
+ }
616
+ },
617
+ "parameters": [
618
+ {
619
+ "name": "visitor",
620
+ "type": {
621
+ "text": "(record: T) => void"
622
+ }
623
+ }
624
+ ]
625
+ },
626
+ {
627
+ "kind": "method",
628
+ "name": "onBeforeUpdate",
629
+ "privacy": "public",
630
+ "return": {
631
+ "type": {
632
+ "text": "() => void"
633
+ }
634
+ },
635
+ "parameters": [
636
+ {
637
+ "name": "listener",
638
+ "type": {
639
+ "text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
640
+ }
641
+ }
642
+ ]
643
+ },
644
+ {
645
+ "kind": "method",
646
+ "name": "onAfterUpdate",
647
+ "privacy": "public",
648
+ "return": {
649
+ "type": {
650
+ "text": "() => void"
651
+ }
652
+ },
653
+ "parameters": [
654
+ {
655
+ "name": "listener",
656
+ "type": {
657
+ "text": "Listener<DatabaseEvent.AfterUpdate<T>>"
658
+ }
659
+ }
660
+ ]
661
+ }
662
+ ]
663
+ }
664
+ ],
665
+ "exports": [
666
+ {
735
667
  "kind": "js",
736
- "name": "renderOnChange",
668
+ "name": "InMemoryDatabase",
737
669
  "declaration": {
738
- "name": "renderOnChange",
739
- "module": "src/decorators/renderOnChange.ts"
670
+ "name": "InMemoryDatabase",
671
+ "module": "src/data/inMemoryDatabase.ts"
672
+ }
673
+ }
674
+ ]
675
+ },
676
+ {
677
+ "kind": "javascript-module",
678
+ "path": "src/data/index.ts",
679
+ "declarations": [],
680
+ "exports": [
681
+ {
682
+ "kind": "js",
683
+ "name": "*",
684
+ "declaration": {
685
+ "name": "*",
686
+ "package": "./inMemoryDatabase"
740
687
  }
741
688
  }
742
689
  ]
@@ -1216,6 +1163,59 @@
1216
1163
  }
1217
1164
  ]
1218
1165
  },
1166
+ {
1167
+ "kind": "javascript-module",
1168
+ "path": "src/decorators/index.ts",
1169
+ "declarations": [],
1170
+ "exports": [
1171
+ {
1172
+ "kind": "js",
1173
+ "name": "*",
1174
+ "declaration": {
1175
+ "name": "*",
1176
+ "package": "./renderOnChange"
1177
+ }
1178
+ }
1179
+ ]
1180
+ },
1181
+ {
1182
+ "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
+ ],
1208
+ "exports": [
1209
+ {
1210
+ "kind": "js",
1211
+ "name": "renderOnChange",
1212
+ "declaration": {
1213
+ "name": "renderOnChange",
1214
+ "module": "src/decorators/renderOnChange.ts"
1215
+ }
1216
+ }
1217
+ ]
1218
+ },
1219
1219
  {
1220
1220
  "kind": "javascript-module",
1221
1221
  "path": "src/error/errorMap.ts",
@@ -4825,168 +4825,14 @@
4825
4825
  },
4826
4826
  {
4827
4827
  "kind": "javascript-module",
4828
- "path": "src/directives/sync/index.ts",
4829
- "declarations": [],
4830
- "exports": [
4831
- {
4832
- "kind": "js",
4833
- "name": "*",
4834
- "declaration": {
4835
- "name": "*",
4836
- "package": "./sync"
4837
- }
4838
- }
4839
- ]
4840
- },
4841
- {
4842
- "kind": "javascript-module",
4843
- "path": "src/directives/sync/sync.ts",
4828
+ "path": "src/encoding/base64/decode.ts",
4844
4829
  "declarations": [
4845
- {
4846
- "kind": "variable",
4847
- "name": "defaultEventMap",
4848
- "type": {
4849
- "text": "Map<string, EventName>"
4850
- },
4851
- "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 ['ZERO-TEXT-FIELD', 'input'],\n])",
4852
- "description": "A map that associates specific HTML element tags with their corresponding default event names.",
4853
- "privacy": "public"
4854
- },
4855
4830
  {
4856
4831
  "kind": "function",
4857
- "name": "sync",
4832
+ "name": "decodeFromBase64",
4858
4833
  "return": {
4859
4834
  "type": {
4860
- "text": "CaptureType<TSource>"
4861
- }
4862
- },
4863
- "parameters": [
4864
- {
4865
- "name": "binding",
4866
- "type": {
4867
- "text": "Binding<TSource, TReturn>"
4868
- }
4869
- },
4870
- {
4871
- "name": "conversionType",
4872
- "default": "'string'",
4873
- "type": {
4874
- "text": "ConversionType"
4875
- }
4876
- },
4877
- {
4878
- "name": "eventName",
4879
- "default": "'default'",
4880
- "type": {
4881
- "text": "EventName"
4882
- }
4883
- },
4884
- {
4885
- "name": "keyAttr",
4886
- "optional": true,
4887
- "type": {
4888
- "text": "string"
4889
- }
4890
- }
4891
- ],
4892
- "description": "Creates a synchronization directive that binds a data source to an HTML element,",
4893
- "privacy": "public"
4894
- }
4895
- ],
4896
- "exports": [
4897
- {
4898
- "kind": "js",
4899
- "name": "defaultEventMap",
4900
- "declaration": {
4901
- "name": "defaultEventMap",
4902
- "module": "src/directives/sync/sync.ts"
4903
- }
4904
- },
4905
- {
4906
- "kind": "js",
4907
- "name": "sync",
4908
- "declaration": {
4909
- "name": "sync",
4910
- "module": "src/directives/sync/sync.ts"
4911
- }
4912
- }
4913
- ]
4914
- },
4915
- {
4916
- "kind": "javascript-module",
4917
- "path": "src/directives/when-else/index.ts",
4918
- "declarations": [],
4919
- "exports": [
4920
- {
4921
- "kind": "js",
4922
- "name": "*",
4923
- "declaration": {
4924
- "name": "*",
4925
- "package": "./when-else"
4926
- }
4927
- }
4928
- ]
4929
- },
4930
- {
4931
- "kind": "javascript-module",
4932
- "path": "src/directives/when-else/when-else.ts",
4933
- "declarations": [
4934
- {
4935
- "kind": "function",
4936
- "name": "whenElse",
4937
- "return": {
4938
- "type": {
4939
- "text": "CaptureType<TSource>"
4940
- }
4941
- },
4942
- "parameters": [
4943
- {
4944
- "name": "binding",
4945
- "type": {
4946
- "text": "Binding<TSource, TReturn>"
4947
- },
4948
- "description": "The condition to test for rendering."
4949
- },
4950
- {
4951
- "name": "trueTemplateOrTemplateBinding",
4952
- "type": {
4953
- "text": "WhenTemplate<TSource>"
4954
- },
4955
- "description": "The template or a binding that gets the template to render when the condition is true."
4956
- },
4957
- {
4958
- "name": "falseTemplateOrTemplateBinding",
4959
- "type": {
4960
- "text": "WhenTemplate<TSource>"
4961
- },
4962
- "description": "The template or a binding that gets the template to render when the condition is false."
4963
- }
4964
- ],
4965
- "description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
4966
- "privacy": "public"
4967
- }
4968
- ],
4969
- "exports": [
4970
- {
4971
- "kind": "js",
4972
- "name": "whenElse",
4973
- "declaration": {
4974
- "name": "whenElse",
4975
- "module": "src/directives/when-else/when-else.ts"
4976
- }
4977
- }
4978
- ]
4979
- },
4980
- {
4981
- "kind": "javascript-module",
4982
- "path": "src/encoding/base64/decode.ts",
4983
- "declarations": [
4984
- {
4985
- "kind": "function",
4986
- "name": "decodeFromBase64",
4987
- "return": {
4988
- "type": {
4989
- "text": ""
4835
+ "text": ""
4990
4836
  }
4991
4837
  },
4992
4838
  "parameters": [
@@ -5131,6 +4977,160 @@
5131
4977
  }
5132
4978
  ]
5133
4979
  },
4980
+ {
4981
+ "kind": "javascript-module",
4982
+ "path": "src/directives/sync/index.ts",
4983
+ "declarations": [],
4984
+ "exports": [
4985
+ {
4986
+ "kind": "js",
4987
+ "name": "*",
4988
+ "declaration": {
4989
+ "name": "*",
4990
+ "package": "./sync"
4991
+ }
4992
+ }
4993
+ ]
4994
+ },
4995
+ {
4996
+ "kind": "javascript-module",
4997
+ "path": "src/directives/sync/sync.ts",
4998
+ "declarations": [
4999
+ {
5000
+ "kind": "variable",
5001
+ "name": "defaultEventMap",
5002
+ "type": {
5003
+ "text": "Map<string, EventName>"
5004
+ },
5005
+ "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 ['ZERO-TEXT-FIELD', 'input'],\n])",
5006
+ "description": "A map that associates specific HTML element tags with their corresponding default event names.",
5007
+ "privacy": "public"
5008
+ },
5009
+ {
5010
+ "kind": "function",
5011
+ "name": "sync",
5012
+ "return": {
5013
+ "type": {
5014
+ "text": "CaptureType<TSource>"
5015
+ }
5016
+ },
5017
+ "parameters": [
5018
+ {
5019
+ "name": "binding",
5020
+ "type": {
5021
+ "text": "Binding<TSource, TReturn>"
5022
+ }
5023
+ },
5024
+ {
5025
+ "name": "conversionType",
5026
+ "default": "'string'",
5027
+ "type": {
5028
+ "text": "ConversionType"
5029
+ }
5030
+ },
5031
+ {
5032
+ "name": "eventName",
5033
+ "default": "'default'",
5034
+ "type": {
5035
+ "text": "EventName"
5036
+ }
5037
+ },
5038
+ {
5039
+ "name": "keyAttr",
5040
+ "optional": true,
5041
+ "type": {
5042
+ "text": "string"
5043
+ }
5044
+ }
5045
+ ],
5046
+ "description": "Creates a synchronization directive that binds a data source to an HTML element,",
5047
+ "privacy": "public"
5048
+ }
5049
+ ],
5050
+ "exports": [
5051
+ {
5052
+ "kind": "js",
5053
+ "name": "defaultEventMap",
5054
+ "declaration": {
5055
+ "name": "defaultEventMap",
5056
+ "module": "src/directives/sync/sync.ts"
5057
+ }
5058
+ },
5059
+ {
5060
+ "kind": "js",
5061
+ "name": "sync",
5062
+ "declaration": {
5063
+ "name": "sync",
5064
+ "module": "src/directives/sync/sync.ts"
5065
+ }
5066
+ }
5067
+ ]
5068
+ },
5069
+ {
5070
+ "kind": "javascript-module",
5071
+ "path": "src/directives/when-else/index.ts",
5072
+ "declarations": [],
5073
+ "exports": [
5074
+ {
5075
+ "kind": "js",
5076
+ "name": "*",
5077
+ "declaration": {
5078
+ "name": "*",
5079
+ "package": "./when-else"
5080
+ }
5081
+ }
5082
+ ]
5083
+ },
5084
+ {
5085
+ "kind": "javascript-module",
5086
+ "path": "src/directives/when-else/when-else.ts",
5087
+ "declarations": [
5088
+ {
5089
+ "kind": "function",
5090
+ "name": "whenElse",
5091
+ "return": {
5092
+ "type": {
5093
+ "text": "CaptureType<TSource>"
5094
+ }
5095
+ },
5096
+ "parameters": [
5097
+ {
5098
+ "name": "binding",
5099
+ "type": {
5100
+ "text": "Binding<TSource, TReturn>"
5101
+ },
5102
+ "description": "The condition to test for rendering."
5103
+ },
5104
+ {
5105
+ "name": "trueTemplateOrTemplateBinding",
5106
+ "type": {
5107
+ "text": "WhenTemplate<TSource>"
5108
+ },
5109
+ "description": "The template or a binding that gets the template to render when the condition is true."
5110
+ },
5111
+ {
5112
+ "name": "falseTemplateOrTemplateBinding",
5113
+ "type": {
5114
+ "text": "WhenTemplate<TSource>"
5115
+ },
5116
+ "description": "The template or a binding that gets the template to render when the condition is false."
5117
+ }
5118
+ ],
5119
+ "description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
5120
+ "privacy": "public"
5121
+ }
5122
+ ],
5123
+ "exports": [
5124
+ {
5125
+ "kind": "js",
5126
+ "name": "whenElse",
5127
+ "declaration": {
5128
+ "name": "whenElse",
5129
+ "module": "src/directives/when-else/when-else.ts"
5130
+ }
5131
+ }
5132
+ ]
5133
+ },
5134
5134
  {
5135
5135
  "kind": "javascript-module",
5136
5136
  "path": "src/mappers/dto/index.ts",
@@ -1 +1 @@
1
- {"version":3,"file":"json.d.ts","sourceRoot":"","sources":["../../../../src/serializers/json/json.ts"],"names":[],"mappings":"AAGA,OAAO,EAAmB,oBAAoB,EAAE,MAAM,cAAc,CAAC;AAIrE;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,KAAA,mBAQvC;AAED;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC7B;;;;OAIG;IACH,SAAS,CAAC,MAAM,EAAE,GAAG,GAAG,MAAM,CAAC;IAE/B;;;;OAIG;IACH,WAAW,CAAC,CAAC,GAAG,GAAG,EAAE,QAAQ,EAAE,QAAQ,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;IAErD;;;;OAIG;IACH,WAAW,CAAC,CAAC,GAAG,GAAG,EAAE,KAAK,EAAE,YAAY,GAAG,CAAC,CAAC;IAE7C;;;;OAIG;IACH,WAAW,CAAC,CAAC,GAAG,GAAG,EAAE,IAAI,EAAE,MAAM,GAAG,CAAC,CAAC;CACvC;AAED;;;GAGG;AACH,eAAO,MAAM,2BAA2B,EAAE,oBAGzC,CAAC;AAEF,MAAM,CAAC,OAAO,OAAO,qBAAsB,YAAW,cAAc;IACtB,OAAO,CAAC,MAAM;gBAAN,MAAM,uBAA8B;IAExF;;OAEG;IACH,SAAS,GAAI,QAAQ,GAAG,KAAG,MAAM,CAAkC;IAEnE;;OAEG;IACH,WAAW,CAAC,CAAC,EAAE,KAAK,EAAE,GAAG;CA8B1B;AAED;;;GAGG;AACH,eAAO,MAAM,cAAc,sEAE1B,CAAC"}
1
+ {"version":3,"file":"json.d.ts","sourceRoot":"","sources":["../../../../src/serializers/json/json.ts"],"names":[],"mappings":"AAEA,OAAO,EAAmB,oBAAoB,EAAE,MAAM,cAAc,CAAC;AAErE;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,KAAA,mBAQvC;AAED;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC7B;;;;OAIG;IACH,SAAS,CAAC,MAAM,EAAE,GAAG,GAAG,MAAM,CAAC;IAE/B;;;;OAIG;IACH,WAAW,CAAC,CAAC,GAAG,GAAG,EAAE,QAAQ,EAAE,QAAQ,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;IAErD;;;;OAIG;IACH,WAAW,CAAC,CAAC,GAAG,GAAG,EAAE,KAAK,EAAE,YAAY,GAAG,CAAC,CAAC;IAE7C;;;;OAIG;IACH,WAAW,CAAC,CAAC,GAAG,GAAG,EAAE,IAAI,EAAE,MAAM,GAAG,CAAC,CAAC;CACvC;AAED;;;GAGG;AACH,eAAO,MAAM,2BAA2B,EAAE,oBAGzC,CAAC;AAEF,MAAM,CAAC,OAAO,OAAO,qBAAsB,YAAW,cAAc;IACtB,OAAO,CAAC,MAAM;gBAAN,MAAM,uBAA8B;IAExF;;OAEG;IACH,SAAS,GAAI,QAAQ,GAAG,KAAG,MAAM,CAAkC;IAEnE;;OAEG;IACH,WAAW,CAAC,CAAC,EAAE,KAAK,EAAE,GAAG;CAmB1B;AAED;;;GAGG;AACH,eAAO,MAAM,cAAc,sEAE1B,CAAC"}
@@ -1,9 +1,7 @@
1
1
  import { __decorate, __param } from "tslib";
2
2
  import { DI, optional } from '@microsoft/fast-foundation';
3
3
  import { parse, stringify, isInteger } from 'lossless-json';
4
- import { createLogger } from '../../logger';
5
4
  import { BIG_INT_64_BITS, JSONSerializerConfig } from './json.types';
6
- const logger = createLogger('JSONSerializer');
7
5
  /**
8
6
  * A Default Number Parser for deserializing objects.
9
7
  * @public
@@ -41,26 +39,15 @@ let DefaultJSONSerializer = class DefaultJSONSerializer {
41
39
  return Promise.resolve({});
42
40
  }
43
41
  if (typeof input === 'string') {
44
- const t0 = performance.now();
45
- const result = this.config.parse(input);
46
- logger.debug(`parse (string) took ${(performance.now() - t0).toFixed(2)}ms`);
47
- return result;
42
+ return this.config.parse(input);
48
43
  }
49
44
  if (input && input.ok) {
50
- return input.text().then((text) => {
51
- const t0 = performance.now();
52
- const result = this.config.parse(text);
53
- logger.debug(`parse (response) took ${(performance.now() - t0).toFixed(2)}ms`);
54
- return result;
55
- });
45
+ return input.text().then((text) => this.config.parse(text));
56
46
  }
57
47
  if (input && input.data) {
58
48
  input = input.data;
59
49
  }
60
- const t0 = performance.now();
61
- const result = this.config.parse(input);
62
- logger.debug(`parse (message) took ${(performance.now() - t0).toFixed(2)}ms`);
63
- return result;
50
+ return this.config.parse(input);
64
51
  }
65
52
  };
66
53
  DefaultJSONSerializer = __decorate([
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.451.3-alpha-861508d.0",
4
+ "version": "14.451.4",
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.451.3-alpha-861508d.0",
33
- "@genesislcap/genx": "14.451.3-alpha-861508d.0",
34
- "@genesislcap/rollup-builder": "14.451.3-alpha-861508d.0",
35
- "@genesislcap/ts-builder": "14.451.3-alpha-861508d.0",
36
- "@genesislcap/uvu-playwright-builder": "14.451.3-alpha-861508d.0",
37
- "@genesislcap/vite-builder": "14.451.3-alpha-861508d.0",
38
- "@genesislcap/webpack-builder": "14.451.3-alpha-861508d.0",
32
+ "@genesislcap/foundation-testing": "14.451.4",
33
+ "@genesislcap/genx": "14.451.4",
34
+ "@genesislcap/rollup-builder": "14.451.4",
35
+ "@genesislcap/ts-builder": "14.451.4",
36
+ "@genesislcap/uvu-playwright-builder": "14.451.4",
37
+ "@genesislcap/vite-builder": "14.451.4",
38
+ "@genesislcap/webpack-builder": "14.451.4",
39
39
  "@types/json-schema": "^7.0.11"
40
40
  },
41
41
  "dependencies": {
42
- "@genesislcap/expression-builder": "14.451.3-alpha-861508d.0",
43
- "@genesislcap/foundation-logger": "14.451.3-alpha-861508d.0",
42
+ "@genesislcap/expression-builder": "14.451.4",
43
+ "@genesislcap/foundation-logger": "14.451.4",
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": "6952480d23f47b3830abff2b8afd8e018fdf2b92"
61
+ "gitHead": "265d5fa00ae476a7713d78707f53f393f5eeb647"
62
62
  }