@genesislcap/foundation-utils 14.217.1 → 14.217.2-alpha-53d4080.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/custom-elements.json +401 -401
- package/package.json +10 -10
@@ -167,6 +167,257 @@
|
|
167
167
|
}
|
168
168
|
]
|
169
169
|
},
|
170
|
+
{
|
171
|
+
"kind": "javascript-module",
|
172
|
+
"path": "src/decorators/index.ts",
|
173
|
+
"declarations": [],
|
174
|
+
"exports": [
|
175
|
+
{
|
176
|
+
"kind": "js",
|
177
|
+
"name": "*",
|
178
|
+
"declaration": {
|
179
|
+
"name": "*",
|
180
|
+
"package": "./renderOnChange"
|
181
|
+
}
|
182
|
+
}
|
183
|
+
]
|
184
|
+
},
|
185
|
+
{
|
186
|
+
"kind": "javascript-module",
|
187
|
+
"path": "src/decorators/renderOnChange.ts",
|
188
|
+
"declarations": [
|
189
|
+
{
|
190
|
+
"kind": "function",
|
191
|
+
"name": "renderOnChange",
|
192
|
+
"parameters": [
|
193
|
+
{
|
194
|
+
"name": "target",
|
195
|
+
"type": {
|
196
|
+
"text": "FASTElement & { render(): void }"
|
197
|
+
},
|
198
|
+
"description": "The target to define the property change handler on."
|
199
|
+
},
|
200
|
+
{
|
201
|
+
"name": "name",
|
202
|
+
"type": {
|
203
|
+
"text": "string"
|
204
|
+
},
|
205
|
+
"description": "The property name."
|
206
|
+
}
|
207
|
+
],
|
208
|
+
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
209
|
+
"privacy": "public"
|
210
|
+
}
|
211
|
+
],
|
212
|
+
"exports": [
|
213
|
+
{
|
214
|
+
"kind": "js",
|
215
|
+
"name": "renderOnChange",
|
216
|
+
"declaration": {
|
217
|
+
"name": "renderOnChange",
|
218
|
+
"module": "src/decorators/renderOnChange.ts"
|
219
|
+
}
|
220
|
+
}
|
221
|
+
]
|
222
|
+
},
|
223
|
+
{
|
224
|
+
"kind": "javascript-module",
|
225
|
+
"path": "src/data/inMemoryDatabase.ts",
|
226
|
+
"declarations": [
|
227
|
+
{
|
228
|
+
"kind": "class",
|
229
|
+
"description": "An in memory database of specific DatabaseRecord types.",
|
230
|
+
"name": "InMemoryDatabase",
|
231
|
+
"members": [
|
232
|
+
{
|
233
|
+
"kind": "field",
|
234
|
+
"name": "isWorking",
|
235
|
+
"type": {
|
236
|
+
"text": "boolean"
|
237
|
+
},
|
238
|
+
"privacy": "public",
|
239
|
+
"default": "false"
|
240
|
+
},
|
241
|
+
{
|
242
|
+
"kind": "field",
|
243
|
+
"name": "records",
|
244
|
+
"type": {
|
245
|
+
"text": "Record<string, T>"
|
246
|
+
},
|
247
|
+
"privacy": "private",
|
248
|
+
"default": "{}"
|
249
|
+
},
|
250
|
+
{
|
251
|
+
"kind": "field",
|
252
|
+
"name": "beforeUpdateListeners",
|
253
|
+
"privacy": "private"
|
254
|
+
},
|
255
|
+
{
|
256
|
+
"kind": "field",
|
257
|
+
"name": "afterUpdateListeners",
|
258
|
+
"privacy": "private"
|
259
|
+
},
|
260
|
+
{
|
261
|
+
"kind": "method",
|
262
|
+
"name": "create",
|
263
|
+
"privacy": "public",
|
264
|
+
"return": {
|
265
|
+
"type": {
|
266
|
+
"text": "Promise<DatabaseAccessResult.Create<T>>"
|
267
|
+
}
|
268
|
+
},
|
269
|
+
"parameters": [
|
270
|
+
{
|
271
|
+
"name": "newValue",
|
272
|
+
"type": {
|
273
|
+
"text": "Omit<T, 'id'>"
|
274
|
+
}
|
275
|
+
}
|
276
|
+
]
|
277
|
+
},
|
278
|
+
{
|
279
|
+
"kind": "method",
|
280
|
+
"name": "read",
|
281
|
+
"privacy": "public",
|
282
|
+
"return": {
|
283
|
+
"type": {
|
284
|
+
"text": "Promise<DatabaseAccessResult.Read<T>>"
|
285
|
+
}
|
286
|
+
},
|
287
|
+
"parameters": [
|
288
|
+
{
|
289
|
+
"name": "id",
|
290
|
+
"type": {
|
291
|
+
"text": "string"
|
292
|
+
}
|
293
|
+
}
|
294
|
+
]
|
295
|
+
},
|
296
|
+
{
|
297
|
+
"kind": "method",
|
298
|
+
"name": "update",
|
299
|
+
"privacy": "public",
|
300
|
+
"return": {
|
301
|
+
"type": {
|
302
|
+
"text": "Promise<DatabaseAccessResult.Update<T>>"
|
303
|
+
}
|
304
|
+
},
|
305
|
+
"parameters": [
|
306
|
+
{
|
307
|
+
"name": "id",
|
308
|
+
"type": {
|
309
|
+
"text": "string"
|
310
|
+
}
|
311
|
+
},
|
312
|
+
{
|
313
|
+
"name": "newValue",
|
314
|
+
"type": {
|
315
|
+
"text": "Omit<Partial<T>, 'id'>"
|
316
|
+
}
|
317
|
+
}
|
318
|
+
]
|
319
|
+
},
|
320
|
+
{
|
321
|
+
"kind": "method",
|
322
|
+
"name": "delete",
|
323
|
+
"privacy": "public",
|
324
|
+
"return": {
|
325
|
+
"type": {
|
326
|
+
"text": "Promise<DatabaseAccessResult.Delete>"
|
327
|
+
}
|
328
|
+
},
|
329
|
+
"parameters": [
|
330
|
+
{
|
331
|
+
"name": "id",
|
332
|
+
"type": {
|
333
|
+
"text": "string"
|
334
|
+
}
|
335
|
+
}
|
336
|
+
]
|
337
|
+
},
|
338
|
+
{
|
339
|
+
"kind": "method",
|
340
|
+
"name": "visit",
|
341
|
+
"privacy": "public",
|
342
|
+
"return": {
|
343
|
+
"type": {
|
344
|
+
"text": "Promise<void>"
|
345
|
+
}
|
346
|
+
},
|
347
|
+
"parameters": [
|
348
|
+
{
|
349
|
+
"name": "visitor",
|
350
|
+
"type": {
|
351
|
+
"text": "(record: T) => void"
|
352
|
+
}
|
353
|
+
}
|
354
|
+
]
|
355
|
+
},
|
356
|
+
{
|
357
|
+
"kind": "method",
|
358
|
+
"name": "onBeforeUpdate",
|
359
|
+
"privacy": "public",
|
360
|
+
"return": {
|
361
|
+
"type": {
|
362
|
+
"text": "() => void"
|
363
|
+
}
|
364
|
+
},
|
365
|
+
"parameters": [
|
366
|
+
{
|
367
|
+
"name": "listener",
|
368
|
+
"type": {
|
369
|
+
"text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
|
370
|
+
}
|
371
|
+
}
|
372
|
+
]
|
373
|
+
},
|
374
|
+
{
|
375
|
+
"kind": "method",
|
376
|
+
"name": "onAfterUpdate",
|
377
|
+
"privacy": "public",
|
378
|
+
"return": {
|
379
|
+
"type": {
|
380
|
+
"text": "() => void"
|
381
|
+
}
|
382
|
+
},
|
383
|
+
"parameters": [
|
384
|
+
{
|
385
|
+
"name": "listener",
|
386
|
+
"type": {
|
387
|
+
"text": "Listener<DatabaseEvent.AfterUpdate<T>>"
|
388
|
+
}
|
389
|
+
}
|
390
|
+
]
|
391
|
+
}
|
392
|
+
]
|
393
|
+
}
|
394
|
+
],
|
395
|
+
"exports": [
|
396
|
+
{
|
397
|
+
"kind": "js",
|
398
|
+
"name": "InMemoryDatabase",
|
399
|
+
"declaration": {
|
400
|
+
"name": "InMemoryDatabase",
|
401
|
+
"module": "src/data/inMemoryDatabase.ts"
|
402
|
+
}
|
403
|
+
}
|
404
|
+
]
|
405
|
+
},
|
406
|
+
{
|
407
|
+
"kind": "javascript-module",
|
408
|
+
"path": "src/data/index.ts",
|
409
|
+
"declarations": [],
|
410
|
+
"exports": [
|
411
|
+
{
|
412
|
+
"kind": "js",
|
413
|
+
"name": "*",
|
414
|
+
"declaration": {
|
415
|
+
"name": "*",
|
416
|
+
"package": "./inMemoryDatabase"
|
417
|
+
}
|
418
|
+
}
|
419
|
+
]
|
420
|
+
},
|
170
421
|
{
|
171
422
|
"kind": "javascript-module",
|
172
423
|
"path": "src/design-system/design-system.ts",
|
@@ -489,433 +740,182 @@
|
|
489
740
|
"members": [
|
490
741
|
{
|
491
742
|
"kind": "field",
|
492
|
-
"name": "map",
|
493
|
-
"privacy": "private",
|
494
|
-
"default": "new Map<keyof TErrorDetailMap, Error>()"
|
495
|
-
},
|
496
|
-
{
|
497
|
-
"kind": "field",
|
498
|
-
"name": "lastError",
|
499
|
-
"type": {
|
500
|
-
"text": "Error"
|
501
|
-
},
|
502
|
-
"description": "{@inheritDoc ErrorMap.lastError}"
|
503
|
-
},
|
504
|
-
{
|
505
|
-
"kind": "method",
|
506
|
-
"name": "set",
|
507
|
-
"return": {
|
508
|
-
"type": {
|
509
|
-
"text": "void"
|
510
|
-
}
|
511
|
-
},
|
512
|
-
"parameters": [
|
513
|
-
{
|
514
|
-
"name": "key",
|
515
|
-
"type": {
|
516
|
-
"text": "keyof TErrorDetailMap"
|
517
|
-
}
|
518
|
-
},
|
519
|
-
{
|
520
|
-
"name": "error",
|
521
|
-
"type": {
|
522
|
-
"text": "Error"
|
523
|
-
}
|
524
|
-
}
|
525
|
-
],
|
526
|
-
"description": "{@inheritDoc ErrorMap.set}"
|
527
|
-
},
|
528
|
-
{
|
529
|
-
"kind": "method",
|
530
|
-
"name": "get",
|
531
|
-
"return": {
|
532
|
-
"type": {
|
533
|
-
"text": ""
|
534
|
-
}
|
535
|
-
},
|
536
|
-
"parameters": [
|
537
|
-
{
|
538
|
-
"name": "key",
|
539
|
-
"type": {
|
540
|
-
"text": "keyof TErrorDetailMap"
|
541
|
-
},
|
542
|
-
"description": "The key."
|
543
|
-
}
|
544
|
-
],
|
545
|
-
"description": "Get an error by key.",
|
546
|
-
"privacy": "public"
|
547
|
-
},
|
548
|
-
{
|
549
|
-
"kind": "method",
|
550
|
-
"name": "has",
|
551
|
-
"return": {
|
552
|
-
"type": {
|
553
|
-
"text": ""
|
554
|
-
}
|
555
|
-
},
|
556
|
-
"parameters": [
|
557
|
-
{
|
558
|
-
"name": "key",
|
559
|
-
"type": {
|
560
|
-
"text": "keyof TErrorDetailMap"
|
561
|
-
},
|
562
|
-
"description": "The key."
|
563
|
-
}
|
564
|
-
],
|
565
|
-
"description": "Has an error for key.",
|
566
|
-
"privacy": "public"
|
567
|
-
},
|
568
|
-
{
|
569
|
-
"kind": "method",
|
570
|
-
"name": "delete",
|
571
|
-
"return": {
|
572
|
-
"type": {
|
573
|
-
"text": ""
|
574
|
-
}
|
575
|
-
},
|
576
|
-
"parameters": [
|
577
|
-
{
|
578
|
-
"name": "key",
|
579
|
-
"type": {
|
580
|
-
"text": "keyof TErrorDetailMap"
|
581
|
-
},
|
582
|
-
"description": "The key."
|
583
|
-
}
|
584
|
-
],
|
585
|
-
"description": "Delete an error.",
|
586
|
-
"privacy": "public"
|
587
|
-
},
|
588
|
-
{
|
589
|
-
"kind": "method",
|
590
|
-
"name": "clear",
|
591
|
-
"description": "Clear errors.",
|
592
|
-
"privacy": "public"
|
593
|
-
},
|
594
|
-
{
|
595
|
-
"kind": "field",
|
596
|
-
"name": "size",
|
597
|
-
"type": {
|
598
|
-
"text": "number"
|
599
|
-
},
|
600
|
-
"description": "The size of the error map.",
|
601
|
-
"return": {
|
602
|
-
"type": {
|
603
|
-
"text": ""
|
604
|
-
}
|
605
|
-
},
|
606
|
-
"privacy": "public",
|
607
|
-
"readonly": true
|
608
|
-
},
|
609
|
-
{
|
610
|
-
"kind": "method",
|
611
|
-
"name": "values",
|
612
|
-
"privacy": "public"
|
613
|
-
},
|
614
|
-
{
|
615
|
-
"kind": "field",
|
616
|
-
"name": "messages",
|
617
|
-
"type": {
|
618
|
-
"text": "string"
|
619
|
-
},
|
620
|
-
"description": "{@inheritDoc ErrorMap.messages}",
|
621
|
-
"readonly": true
|
622
|
-
}
|
623
|
-
]
|
624
|
-
},
|
625
|
-
{
|
626
|
-
"kind": "function",
|
627
|
-
"name": "createErrorMap",
|
628
|
-
"return": {
|
629
|
-
"type": {
|
630
|
-
"text": ""
|
631
|
-
}
|
632
|
-
},
|
633
|
-
"parameters": [
|
634
|
-
{
|
635
|
-
"name": "logger",
|
636
|
-
"type": {
|
637
|
-
"text": "ErrorMapLogger"
|
638
|
-
},
|
639
|
-
"description": "A logger error method reference."
|
640
|
-
}
|
641
|
-
],
|
642
|
-
"description": "A factory to create the error map.",
|
643
|
-
"privacy": "public"
|
644
|
-
}
|
645
|
-
],
|
646
|
-
"exports": [
|
647
|
-
{
|
648
|
-
"kind": "js",
|
649
|
-
"name": "DefaultErrorMap",
|
650
|
-
"declaration": {
|
651
|
-
"name": "DefaultErrorMap",
|
652
|
-
"module": "src/error/errorMap.ts"
|
653
|
-
}
|
654
|
-
},
|
655
|
-
{
|
656
|
-
"kind": "js",
|
657
|
-
"name": "createErrorMap",
|
658
|
-
"declaration": {
|
659
|
-
"name": "createErrorMap",
|
660
|
-
"module": "src/error/errorMap.ts"
|
661
|
-
}
|
662
|
-
}
|
663
|
-
]
|
664
|
-
},
|
665
|
-
{
|
666
|
-
"kind": "javascript-module",
|
667
|
-
"path": "src/error/index.ts",
|
668
|
-
"declarations": [],
|
669
|
-
"exports": [
|
670
|
-
{
|
671
|
-
"kind": "js",
|
672
|
-
"name": "*",
|
673
|
-
"declaration": {
|
674
|
-
"name": "*",
|
675
|
-
"package": "./errorMap"
|
676
|
-
}
|
677
|
-
}
|
678
|
-
]
|
679
|
-
},
|
680
|
-
{
|
681
|
-
"kind": "javascript-module",
|
682
|
-
"path": "src/decorators/index.ts",
|
683
|
-
"declarations": [],
|
684
|
-
"exports": [
|
685
|
-
{
|
686
|
-
"kind": "js",
|
687
|
-
"name": "*",
|
688
|
-
"declaration": {
|
689
|
-
"name": "*",
|
690
|
-
"package": "./renderOnChange"
|
691
|
-
}
|
692
|
-
}
|
693
|
-
]
|
694
|
-
},
|
695
|
-
{
|
696
|
-
"kind": "javascript-module",
|
697
|
-
"path": "src/decorators/renderOnChange.ts",
|
698
|
-
"declarations": [
|
699
|
-
{
|
700
|
-
"kind": "function",
|
701
|
-
"name": "renderOnChange",
|
702
|
-
"parameters": [
|
703
|
-
{
|
704
|
-
"name": "target",
|
705
|
-
"type": {
|
706
|
-
"text": "FASTElement & { render(): void }"
|
707
|
-
},
|
708
|
-
"description": "The target to define the property change handler on."
|
709
|
-
},
|
710
|
-
{
|
711
|
-
"name": "name",
|
712
|
-
"type": {
|
713
|
-
"text": "string"
|
714
|
-
},
|
715
|
-
"description": "The property name."
|
716
|
-
}
|
717
|
-
],
|
718
|
-
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
719
|
-
"privacy": "public"
|
720
|
-
}
|
721
|
-
],
|
722
|
-
"exports": [
|
723
|
-
{
|
724
|
-
"kind": "js",
|
725
|
-
"name": "renderOnChange",
|
726
|
-
"declaration": {
|
727
|
-
"name": "renderOnChange",
|
728
|
-
"module": "src/decorators/renderOnChange.ts"
|
729
|
-
}
|
730
|
-
}
|
731
|
-
]
|
732
|
-
},
|
733
|
-
{
|
734
|
-
"kind": "javascript-module",
|
735
|
-
"path": "src/data/inMemoryDatabase.ts",
|
736
|
-
"declarations": [
|
737
|
-
{
|
738
|
-
"kind": "class",
|
739
|
-
"description": "An in memory database of specific DatabaseRecord types.",
|
740
|
-
"name": "InMemoryDatabase",
|
741
|
-
"members": [
|
742
|
-
{
|
743
|
-
"kind": "field",
|
744
|
-
"name": "isWorking",
|
745
|
-
"type": {
|
746
|
-
"text": "boolean"
|
747
|
-
},
|
748
|
-
"privacy": "public",
|
749
|
-
"default": "false"
|
750
|
-
},
|
751
|
-
{
|
752
|
-
"kind": "field",
|
753
|
-
"name": "records",
|
754
|
-
"type": {
|
755
|
-
"text": "Record<string, T>"
|
756
|
-
},
|
757
|
-
"privacy": "private",
|
758
|
-
"default": "{}"
|
759
|
-
},
|
760
|
-
{
|
761
|
-
"kind": "field",
|
762
|
-
"name": "beforeUpdateListeners",
|
763
|
-
"privacy": "private"
|
764
|
-
},
|
765
|
-
{
|
766
|
-
"kind": "field",
|
767
|
-
"name": "afterUpdateListeners",
|
768
|
-
"privacy": "private"
|
769
|
-
},
|
770
|
-
{
|
771
|
-
"kind": "method",
|
772
|
-
"name": "create",
|
773
|
-
"privacy": "public",
|
774
|
-
"return": {
|
775
|
-
"type": {
|
776
|
-
"text": "Promise<DatabaseAccessResult.Create<T>>"
|
777
|
-
}
|
778
|
-
},
|
779
|
-
"parameters": [
|
780
|
-
{
|
781
|
-
"name": "newValue",
|
782
|
-
"type": {
|
783
|
-
"text": "Omit<T, 'id'>"
|
784
|
-
}
|
785
|
-
}
|
786
|
-
]
|
743
|
+
"name": "map",
|
744
|
+
"privacy": "private",
|
745
|
+
"default": "new Map<keyof TErrorDetailMap, Error>()"
|
787
746
|
},
|
788
747
|
{
|
789
|
-
"kind": "
|
790
|
-
"name": "
|
791
|
-
"
|
792
|
-
|
793
|
-
"type": {
|
794
|
-
"text": "Promise<DatabaseAccessResult.Read<T>>"
|
795
|
-
}
|
748
|
+
"kind": "field",
|
749
|
+
"name": "lastError",
|
750
|
+
"type": {
|
751
|
+
"text": "Error"
|
796
752
|
},
|
797
|
-
"
|
798
|
-
{
|
799
|
-
"name": "id",
|
800
|
-
"type": {
|
801
|
-
"text": "string"
|
802
|
-
}
|
803
|
-
}
|
804
|
-
]
|
753
|
+
"description": "{@inheritDoc ErrorMap.lastError}"
|
805
754
|
},
|
806
755
|
{
|
807
756
|
"kind": "method",
|
808
|
-
"name": "
|
809
|
-
"privacy": "public",
|
757
|
+
"name": "set",
|
810
758
|
"return": {
|
811
759
|
"type": {
|
812
|
-
"text": "
|
760
|
+
"text": "void"
|
813
761
|
}
|
814
762
|
},
|
815
763
|
"parameters": [
|
816
764
|
{
|
817
|
-
"name": "
|
765
|
+
"name": "key",
|
818
766
|
"type": {
|
819
|
-
"text": "
|
767
|
+
"text": "keyof TErrorDetailMap"
|
820
768
|
}
|
821
769
|
},
|
822
770
|
{
|
823
|
-
"name": "
|
771
|
+
"name": "error",
|
824
772
|
"type": {
|
825
|
-
"text": "
|
773
|
+
"text": "Error"
|
826
774
|
}
|
827
775
|
}
|
828
|
-
]
|
776
|
+
],
|
777
|
+
"description": "{@inheritDoc ErrorMap.set}"
|
829
778
|
},
|
830
779
|
{
|
831
780
|
"kind": "method",
|
832
|
-
"name": "
|
833
|
-
"privacy": "public",
|
781
|
+
"name": "get",
|
834
782
|
"return": {
|
835
783
|
"type": {
|
836
|
-
"text": "
|
784
|
+
"text": ""
|
837
785
|
}
|
838
786
|
},
|
839
787
|
"parameters": [
|
840
788
|
{
|
841
|
-
"name": "
|
789
|
+
"name": "key",
|
842
790
|
"type": {
|
843
|
-
"text": "
|
844
|
-
}
|
791
|
+
"text": "keyof TErrorDetailMap"
|
792
|
+
},
|
793
|
+
"description": "The key."
|
845
794
|
}
|
846
|
-
]
|
795
|
+
],
|
796
|
+
"description": "Get an error by key.",
|
797
|
+
"privacy": "public"
|
847
798
|
},
|
848
799
|
{
|
849
800
|
"kind": "method",
|
850
|
-
"name": "
|
851
|
-
"privacy": "public",
|
801
|
+
"name": "has",
|
852
802
|
"return": {
|
853
803
|
"type": {
|
854
|
-
"text": "
|
804
|
+
"text": ""
|
855
805
|
}
|
856
806
|
},
|
857
807
|
"parameters": [
|
858
808
|
{
|
859
|
-
"name": "
|
809
|
+
"name": "key",
|
860
810
|
"type": {
|
861
|
-
"text": "
|
862
|
-
}
|
811
|
+
"text": "keyof TErrorDetailMap"
|
812
|
+
},
|
813
|
+
"description": "The key."
|
863
814
|
}
|
864
|
-
]
|
815
|
+
],
|
816
|
+
"description": "Has an error for key.",
|
817
|
+
"privacy": "public"
|
865
818
|
},
|
866
819
|
{
|
867
820
|
"kind": "method",
|
868
|
-
"name": "
|
869
|
-
"privacy": "public",
|
821
|
+
"name": "delete",
|
870
822
|
"return": {
|
871
823
|
"type": {
|
872
|
-
"text": "
|
824
|
+
"text": ""
|
873
825
|
}
|
874
826
|
},
|
875
827
|
"parameters": [
|
876
828
|
{
|
877
|
-
"name": "
|
829
|
+
"name": "key",
|
878
830
|
"type": {
|
879
|
-
"text": "
|
880
|
-
}
|
831
|
+
"text": "keyof TErrorDetailMap"
|
832
|
+
},
|
833
|
+
"description": "The key."
|
881
834
|
}
|
882
|
-
]
|
835
|
+
],
|
836
|
+
"description": "Delete an error.",
|
837
|
+
"privacy": "public"
|
883
838
|
},
|
884
839
|
{
|
885
840
|
"kind": "method",
|
886
|
-
"name": "
|
887
|
-
"
|
841
|
+
"name": "clear",
|
842
|
+
"description": "Clear errors.",
|
843
|
+
"privacy": "public"
|
844
|
+
},
|
845
|
+
{
|
846
|
+
"kind": "field",
|
847
|
+
"name": "size",
|
848
|
+
"type": {
|
849
|
+
"text": "number"
|
850
|
+
},
|
851
|
+
"description": "The size of the error map.",
|
888
852
|
"return": {
|
889
853
|
"type": {
|
890
|
-
"text": "
|
854
|
+
"text": ""
|
891
855
|
}
|
892
856
|
},
|
893
|
-
"
|
894
|
-
|
895
|
-
|
896
|
-
|
897
|
-
|
898
|
-
|
899
|
-
|
900
|
-
|
857
|
+
"privacy": "public",
|
858
|
+
"readonly": true
|
859
|
+
},
|
860
|
+
{
|
861
|
+
"kind": "method",
|
862
|
+
"name": "values",
|
863
|
+
"privacy": "public"
|
864
|
+
},
|
865
|
+
{
|
866
|
+
"kind": "field",
|
867
|
+
"name": "messages",
|
868
|
+
"type": {
|
869
|
+
"text": "string"
|
870
|
+
},
|
871
|
+
"description": "{@inheritDoc ErrorMap.messages}",
|
872
|
+
"readonly": true
|
901
873
|
}
|
902
874
|
]
|
875
|
+
},
|
876
|
+
{
|
877
|
+
"kind": "function",
|
878
|
+
"name": "createErrorMap",
|
879
|
+
"return": {
|
880
|
+
"type": {
|
881
|
+
"text": ""
|
882
|
+
}
|
883
|
+
},
|
884
|
+
"parameters": [
|
885
|
+
{
|
886
|
+
"name": "logger",
|
887
|
+
"type": {
|
888
|
+
"text": "ErrorMapLogger"
|
889
|
+
},
|
890
|
+
"description": "A logger error method reference."
|
891
|
+
}
|
892
|
+
],
|
893
|
+
"description": "A factory to create the error map.",
|
894
|
+
"privacy": "public"
|
903
895
|
}
|
904
896
|
],
|
905
897
|
"exports": [
|
906
898
|
{
|
907
899
|
"kind": "js",
|
908
|
-
"name": "
|
900
|
+
"name": "DefaultErrorMap",
|
909
901
|
"declaration": {
|
910
|
-
"name": "
|
911
|
-
"module": "src/
|
902
|
+
"name": "DefaultErrorMap",
|
903
|
+
"module": "src/error/errorMap.ts"
|
904
|
+
}
|
905
|
+
},
|
906
|
+
{
|
907
|
+
"kind": "js",
|
908
|
+
"name": "createErrorMap",
|
909
|
+
"declaration": {
|
910
|
+
"name": "createErrorMap",
|
911
|
+
"module": "src/error/errorMap.ts"
|
912
912
|
}
|
913
913
|
}
|
914
914
|
]
|
915
915
|
},
|
916
916
|
{
|
917
917
|
"kind": "javascript-module",
|
918
|
-
"path": "src/
|
918
|
+
"path": "src/error/index.ts",
|
919
919
|
"declarations": [],
|
920
920
|
"exports": [
|
921
921
|
{
|
@@ -923,7 +923,7 @@
|
|
923
923
|
"name": "*",
|
924
924
|
"declaration": {
|
925
925
|
"name": "*",
|
926
|
-
"package": "./
|
926
|
+
"package": "./errorMap"
|
927
927
|
}
|
928
928
|
}
|
929
929
|
]
|
@@ -1339,7 +1339,7 @@
|
|
1339
1339
|
},
|
1340
1340
|
{
|
1341
1341
|
"kind": "javascript-module",
|
1342
|
-
"path": "src/
|
1342
|
+
"path": "src/promise/index.ts",
|
1343
1343
|
"declarations": [],
|
1344
1344
|
"exports": [
|
1345
1345
|
{
|
@@ -1347,71 +1347,55 @@
|
|
1347
1347
|
"name": "*",
|
1348
1348
|
"declaration": {
|
1349
1349
|
"name": "*",
|
1350
|
-
"package": "./
|
1350
|
+
"package": "./resolveAfter"
|
1351
1351
|
}
|
1352
1352
|
}
|
1353
1353
|
]
|
1354
1354
|
},
|
1355
1355
|
{
|
1356
1356
|
"kind": "javascript-module",
|
1357
|
-
"path": "src/
|
1357
|
+
"path": "src/promise/resolveAfter.ts",
|
1358
1358
|
"declarations": [
|
1359
1359
|
{
|
1360
1360
|
"kind": "function",
|
1361
|
-
"name": "
|
1361
|
+
"name": "resolveAfter",
|
1362
1362
|
"return": {
|
1363
1363
|
"type": {
|
1364
|
-
"text": "
|
1364
|
+
"text": "Promise<T>"
|
1365
1365
|
}
|
1366
1366
|
},
|
1367
|
-
"description": "Creates a new event observer instance.",
|
1368
|
-
"privacy": "public"
|
1369
|
-
},
|
1370
|
-
{
|
1371
|
-
"kind": "function",
|
1372
|
-
"name": "respondToVisibility",
|
1373
1367
|
"parameters": [
|
1374
1368
|
{
|
1375
|
-
"name": "
|
1369
|
+
"name": "ms",
|
1376
1370
|
"type": {
|
1377
|
-
"text": "
|
1378
|
-
}
|
1379
|
-
"description": "HTMLElement to observe"
|
1371
|
+
"text": "number"
|
1372
|
+
}
|
1380
1373
|
},
|
1381
1374
|
{
|
1382
|
-
"name": "
|
1375
|
+
"name": "valueCreator",
|
1383
1376
|
"type": {
|
1384
|
-
"text": "(
|
1385
|
-
}
|
1386
|
-
"description": "any function called when the visibility changes"
|
1377
|
+
"text": "() => T"
|
1378
|
+
}
|
1387
1379
|
}
|
1388
1380
|
],
|
1389
|
-
"description": "
|
1381
|
+
"description": "Resolve a promise after a timeout.",
|
1390
1382
|
"privacy": "public"
|
1391
1383
|
}
|
1392
1384
|
],
|
1393
1385
|
"exports": [
|
1394
1386
|
{
|
1395
1387
|
"kind": "js",
|
1396
|
-
"name": "
|
1397
|
-
"declaration": {
|
1398
|
-
"name": "createObserver",
|
1399
|
-
"module": "src/observer/observer.ts"
|
1400
|
-
}
|
1401
|
-
},
|
1402
|
-
{
|
1403
|
-
"kind": "js",
|
1404
|
-
"name": "respondToVisibility",
|
1388
|
+
"name": "resolveAfter",
|
1405
1389
|
"declaration": {
|
1406
|
-
"name": "
|
1407
|
-
"module": "src/
|
1390
|
+
"name": "resolveAfter",
|
1391
|
+
"module": "src/promise/resolveAfter.ts"
|
1408
1392
|
}
|
1409
1393
|
}
|
1410
1394
|
]
|
1411
1395
|
},
|
1412
1396
|
{
|
1413
1397
|
"kind": "javascript-module",
|
1414
|
-
"path": "src/
|
1398
|
+
"path": "src/observer/index.ts",
|
1415
1399
|
"declarations": [],
|
1416
1400
|
"exports": [
|
1417
1401
|
{
|
@@ -1419,48 +1403,64 @@
|
|
1419
1403
|
"name": "*",
|
1420
1404
|
"declaration": {
|
1421
1405
|
"name": "*",
|
1422
|
-
"package": "./
|
1406
|
+
"package": "./observer"
|
1423
1407
|
}
|
1424
1408
|
}
|
1425
1409
|
]
|
1426
1410
|
},
|
1427
1411
|
{
|
1428
1412
|
"kind": "javascript-module",
|
1429
|
-
"path": "src/
|
1413
|
+
"path": "src/observer/observer.ts",
|
1430
1414
|
"declarations": [
|
1431
1415
|
{
|
1432
1416
|
"kind": "function",
|
1433
|
-
"name": "
|
1417
|
+
"name": "createObserver",
|
1434
1418
|
"return": {
|
1435
1419
|
"type": {
|
1436
|
-
"text": "
|
1420
|
+
"text": "Observer<EventType>"
|
1437
1421
|
}
|
1438
1422
|
},
|
1423
|
+
"description": "Creates a new event observer instance.",
|
1424
|
+
"privacy": "public"
|
1425
|
+
},
|
1426
|
+
{
|
1427
|
+
"kind": "function",
|
1428
|
+
"name": "respondToVisibility",
|
1439
1429
|
"parameters": [
|
1440
1430
|
{
|
1441
|
-
"name": "
|
1431
|
+
"name": "element",
|
1442
1432
|
"type": {
|
1443
|
-
"text": "
|
1444
|
-
}
|
1433
|
+
"text": "HTMLElement"
|
1434
|
+
},
|
1435
|
+
"description": "HTMLElement to observe"
|
1445
1436
|
},
|
1446
1437
|
{
|
1447
|
-
"name": "
|
1438
|
+
"name": "callback",
|
1448
1439
|
"type": {
|
1449
|
-
"text": "() =>
|
1450
|
-
}
|
1440
|
+
"text": "(arg0: boolean) => any"
|
1441
|
+
},
|
1442
|
+
"description": "any function called when the visibility changes"
|
1451
1443
|
}
|
1452
1444
|
],
|
1453
|
-
"description": "
|
1445
|
+
"description": "Setup an `IntersectionObserver` which will activate a callback function when an element becomes visible on screen",
|
1454
1446
|
"privacy": "public"
|
1455
1447
|
}
|
1456
1448
|
],
|
1457
1449
|
"exports": [
|
1458
1450
|
{
|
1459
1451
|
"kind": "js",
|
1460
|
-
"name": "
|
1452
|
+
"name": "createObserver",
|
1461
1453
|
"declaration": {
|
1462
|
-
"name": "
|
1463
|
-
"module": "src/
|
1454
|
+
"name": "createObserver",
|
1455
|
+
"module": "src/observer/observer.ts"
|
1456
|
+
}
|
1457
|
+
},
|
1458
|
+
{
|
1459
|
+
"kind": "js",
|
1460
|
+
"name": "respondToVisibility",
|
1461
|
+
"declaration": {
|
1462
|
+
"name": "respondToVisibility",
|
1463
|
+
"module": "src/observer/observer.ts"
|
1464
1464
|
}
|
1465
1465
|
}
|
1466
1466
|
]
|
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.217.
|
4
|
+
"version": "14.217.2-alpha-53d4080.0",
|
5
5
|
"sideEffects": false,
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
7
7
|
"main": "dist/esm/index.js",
|
@@ -27,17 +27,17 @@
|
|
27
27
|
}
|
28
28
|
},
|
29
29
|
"devDependencies": {
|
30
|
-
"@genesislcap/foundation-testing": "14.217.
|
31
|
-
"@genesislcap/genx": "14.217.
|
32
|
-
"@genesislcap/rollup-builder": "14.217.
|
33
|
-
"@genesislcap/ts-builder": "14.217.
|
34
|
-
"@genesislcap/uvu-playwright-builder": "14.217.
|
35
|
-
"@genesislcap/vite-builder": "14.217.
|
36
|
-
"@genesislcap/webpack-builder": "14.217.
|
30
|
+
"@genesislcap/foundation-testing": "14.217.2-alpha-53d4080.0",
|
31
|
+
"@genesislcap/genx": "14.217.2-alpha-53d4080.0",
|
32
|
+
"@genesislcap/rollup-builder": "14.217.2-alpha-53d4080.0",
|
33
|
+
"@genesislcap/ts-builder": "14.217.2-alpha-53d4080.0",
|
34
|
+
"@genesislcap/uvu-playwright-builder": "14.217.2-alpha-53d4080.0",
|
35
|
+
"@genesislcap/vite-builder": "14.217.2-alpha-53d4080.0",
|
36
|
+
"@genesislcap/webpack-builder": "14.217.2-alpha-53d4080.0",
|
37
37
|
"rimraf": "^5.0.0"
|
38
38
|
},
|
39
39
|
"dependencies": {
|
40
|
-
"@genesislcap/foundation-logger": "14.217.
|
40
|
+
"@genesislcap/foundation-logger": "14.217.2-alpha-53d4080.0",
|
41
41
|
"@microsoft/fast-components": "^2.30.6",
|
42
42
|
"@microsoft/fast-element": "^1.12.0",
|
43
43
|
"@microsoft/fast-foundation": "^2.49.4",
|
@@ -55,5 +55,5 @@
|
|
55
55
|
"access": "public"
|
56
56
|
},
|
57
57
|
"customElements": "dist/custom-elements.json",
|
58
|
-
"gitHead": "
|
58
|
+
"gitHead": "9a5ce3a8fa95d7c5cdc1d670ce69e3403d85e7c6"
|
59
59
|
}
|