@genesislcap/foundation-utils 14.208.1 → 14.208.3-alpha-92c853eac01c.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/dist/custom-elements.json +336 -336
  2. package/package.json +10 -10
@@ -420,42 +420,191 @@
420
420
  },
421
421
  {
422
422
  "kind": "javascript-module",
423
- "path": "src/design-system/design-system.ts",
423
+ "path": "src/error/errorMap.ts",
424
424
  "declarations": [
425
+ {
426
+ "kind": "class",
427
+ "description": "",
428
+ "name": "DefaultErrorMap",
429
+ "members": [
430
+ {
431
+ "kind": "field",
432
+ "name": "map",
433
+ "privacy": "private",
434
+ "default": "new Map<keyof TErrorDetailMap, Error>()"
435
+ },
436
+ {
437
+ "kind": "field",
438
+ "name": "lastError",
439
+ "type": {
440
+ "text": "Error"
441
+ },
442
+ "description": "{@inheritDoc ErrorMap.lastError}"
443
+ },
444
+ {
445
+ "kind": "method",
446
+ "name": "set",
447
+ "return": {
448
+ "type": {
449
+ "text": "void"
450
+ }
451
+ },
452
+ "parameters": [
453
+ {
454
+ "name": "key",
455
+ "type": {
456
+ "text": "keyof TErrorDetailMap"
457
+ }
458
+ },
459
+ {
460
+ "name": "error",
461
+ "type": {
462
+ "text": "Error"
463
+ }
464
+ }
465
+ ],
466
+ "description": "{@inheritDoc ErrorMap.set}"
467
+ },
468
+ {
469
+ "kind": "method",
470
+ "name": "get",
471
+ "return": {
472
+ "type": {
473
+ "text": ""
474
+ }
475
+ },
476
+ "parameters": [
477
+ {
478
+ "name": "key",
479
+ "type": {
480
+ "text": "keyof TErrorDetailMap"
481
+ },
482
+ "description": "The key."
483
+ }
484
+ ],
485
+ "description": "Get an error by key.",
486
+ "privacy": "public"
487
+ },
488
+ {
489
+ "kind": "method",
490
+ "name": "has",
491
+ "return": {
492
+ "type": {
493
+ "text": ""
494
+ }
495
+ },
496
+ "parameters": [
497
+ {
498
+ "name": "key",
499
+ "type": {
500
+ "text": "keyof TErrorDetailMap"
501
+ },
502
+ "description": "The key."
503
+ }
504
+ ],
505
+ "description": "Has an error for key.",
506
+ "privacy": "public"
507
+ },
508
+ {
509
+ "kind": "method",
510
+ "name": "delete",
511
+ "return": {
512
+ "type": {
513
+ "text": ""
514
+ }
515
+ },
516
+ "parameters": [
517
+ {
518
+ "name": "key",
519
+ "type": {
520
+ "text": "keyof TErrorDetailMap"
521
+ },
522
+ "description": "The key."
523
+ }
524
+ ],
525
+ "description": "Delete an error.",
526
+ "privacy": "public"
527
+ },
528
+ {
529
+ "kind": "method",
530
+ "name": "clear",
531
+ "description": "Clear errors.",
532
+ "privacy": "public"
533
+ },
534
+ {
535
+ "kind": "field",
536
+ "name": "size",
537
+ "type": {
538
+ "text": "number"
539
+ },
540
+ "description": "The size of the error map.",
541
+ "return": {
542
+ "type": {
543
+ "text": ""
544
+ }
545
+ },
546
+ "privacy": "public",
547
+ "readonly": true
548
+ },
549
+ {
550
+ "kind": "method",
551
+ "name": "values",
552
+ "privacy": "public"
553
+ },
554
+ {
555
+ "kind": "field",
556
+ "name": "messages",
557
+ "type": {
558
+ "text": "string"
559
+ },
560
+ "description": "{@inheritDoc ErrorMap.messages}",
561
+ "readonly": true
562
+ }
563
+ ]
564
+ },
425
565
  {
426
566
  "kind": "function",
427
- "name": "assureDesignSystem",
567
+ "name": "createErrorMap",
428
568
  "return": {
429
569
  "type": {
430
- "text": "DesignSystemModule"
570
+ "text": ""
431
571
  }
432
572
  },
433
573
  "parameters": [
434
574
  {
435
- "name": "module",
575
+ "name": "logger",
436
576
  "type": {
437
- "text": "DesignSystemModule"
438
- }
577
+ "text": "ErrorMapLogger"
578
+ },
579
+ "description": "A logger error method reference."
439
580
  }
440
581
  ],
441
- "description": "assureDesignSystem.",
582
+ "description": "A factory to create the error map.",
442
583
  "privacy": "public"
443
584
  }
444
585
  ],
445
586
  "exports": [
446
587
  {
447
588
  "kind": "js",
448
- "name": "assureDesignSystem",
589
+ "name": "DefaultErrorMap",
449
590
  "declaration": {
450
- "name": "assureDesignSystem",
451
- "module": "src/design-system/design-system.ts"
591
+ "name": "DefaultErrorMap",
592
+ "module": "src/error/errorMap.ts"
593
+ }
594
+ },
595
+ {
596
+ "kind": "js",
597
+ "name": "createErrorMap",
598
+ "declaration": {
599
+ "name": "createErrorMap",
600
+ "module": "src/error/errorMap.ts"
452
601
  }
453
602
  }
454
603
  ]
455
604
  },
456
605
  {
457
606
  "kind": "javascript-module",
458
- "path": "src/design-system/index.ts",
607
+ "path": "src/error/index.ts",
459
608
  "declarations": [],
460
609
  "exports": [
461
610
  {
@@ -463,7 +612,7 @@
463
612
  "name": "*",
464
613
  "declaration": {
465
614
  "name": "*",
466
- "package": "./design-system"
615
+ "package": "./errorMap"
467
616
  }
468
617
  }
469
618
  ]
@@ -731,191 +880,42 @@
731
880
  },
732
881
  {
733
882
  "kind": "javascript-module",
734
- "path": "src/error/errorMap.ts",
883
+ "path": "src/design-system/design-system.ts",
735
884
  "declarations": [
736
- {
737
- "kind": "class",
738
- "description": "",
739
- "name": "DefaultErrorMap",
740
- "members": [
741
- {
742
- "kind": "field",
743
- "name": "map",
744
- "privacy": "private",
745
- "default": "new Map<keyof TErrorDetailMap, Error>()"
746
- },
747
- {
748
- "kind": "field",
749
- "name": "lastError",
750
- "type": {
751
- "text": "Error"
752
- },
753
- "description": "{@inheritDoc ErrorMap.lastError}"
754
- },
755
- {
756
- "kind": "method",
757
- "name": "set",
758
- "return": {
759
- "type": {
760
- "text": "void"
761
- }
762
- },
763
- "parameters": [
764
- {
765
- "name": "key",
766
- "type": {
767
- "text": "keyof TErrorDetailMap"
768
- }
769
- },
770
- {
771
- "name": "error",
772
- "type": {
773
- "text": "Error"
774
- }
775
- }
776
- ],
777
- "description": "{@inheritDoc ErrorMap.set}"
778
- },
779
- {
780
- "kind": "method",
781
- "name": "get",
782
- "return": {
783
- "type": {
784
- "text": ""
785
- }
786
- },
787
- "parameters": [
788
- {
789
- "name": "key",
790
- "type": {
791
- "text": "keyof TErrorDetailMap"
792
- },
793
- "description": "The key."
794
- }
795
- ],
796
- "description": "Get an error by key.",
797
- "privacy": "public"
798
- },
799
- {
800
- "kind": "method",
801
- "name": "has",
802
- "return": {
803
- "type": {
804
- "text": ""
805
- }
806
- },
807
- "parameters": [
808
- {
809
- "name": "key",
810
- "type": {
811
- "text": "keyof TErrorDetailMap"
812
- },
813
- "description": "The key."
814
- }
815
- ],
816
- "description": "Has an error for key.",
817
- "privacy": "public"
818
- },
819
- {
820
- "kind": "method",
821
- "name": "delete",
822
- "return": {
823
- "type": {
824
- "text": ""
825
- }
826
- },
827
- "parameters": [
828
- {
829
- "name": "key",
830
- "type": {
831
- "text": "keyof TErrorDetailMap"
832
- },
833
- "description": "The key."
834
- }
835
- ],
836
- "description": "Delete an error.",
837
- "privacy": "public"
838
- },
839
- {
840
- "kind": "method",
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.",
852
- "return": {
853
- "type": {
854
- "text": ""
855
- }
856
- },
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
873
- }
874
- ]
875
- },
876
885
  {
877
886
  "kind": "function",
878
- "name": "createErrorMap",
887
+ "name": "assureDesignSystem",
879
888
  "return": {
880
889
  "type": {
881
- "text": ""
890
+ "text": "DesignSystemModule"
882
891
  }
883
892
  },
884
893
  "parameters": [
885
894
  {
886
- "name": "logger",
895
+ "name": "module",
887
896
  "type": {
888
- "text": "ErrorMapLogger"
889
- },
890
- "description": "A logger error method reference."
897
+ "text": "DesignSystemModule"
898
+ }
891
899
  }
892
900
  ],
893
- "description": "A factory to create the error map.",
901
+ "description": "assureDesignSystem.",
894
902
  "privacy": "public"
895
903
  }
896
904
  ],
897
905
  "exports": [
898
906
  {
899
907
  "kind": "js",
900
- "name": "DefaultErrorMap",
901
- "declaration": {
902
- "name": "DefaultErrorMap",
903
- "module": "src/error/errorMap.ts"
904
- }
905
- },
906
- {
907
- "kind": "js",
908
- "name": "createErrorMap",
908
+ "name": "assureDesignSystem",
909
909
  "declaration": {
910
- "name": "createErrorMap",
911
- "module": "src/error/errorMap.ts"
910
+ "name": "assureDesignSystem",
911
+ "module": "src/design-system/design-system.ts"
912
912
  }
913
913
  }
914
914
  ]
915
915
  },
916
916
  {
917
917
  "kind": "javascript-module",
918
- "path": "src/error/index.ts",
918
+ "path": "src/design-system/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": "./errorMap"
926
+ "package": "./design-system"
927
927
  }
928
928
  }
929
929
  ]
@@ -1310,85 +1310,29 @@
1310
1310
  "declaration": {
1311
1311
  "name": "*",
1312
1312
  "package": "./dto"
1313
- }
1314
- }
1315
- ]
1316
- },
1317
- {
1318
- "kind": "javascript-module",
1319
- "path": "src/mixins/index.ts",
1320
- "declarations": [],
1321
- "exports": [
1322
- {
1323
- "kind": "js",
1324
- "name": "*",
1325
- "declaration": {
1326
- "name": "*",
1327
- "package": "./pendingState"
1328
- }
1329
- },
1330
- {
1331
- "kind": "js",
1332
- "name": "*",
1333
- "declaration": {
1334
- "name": "*",
1335
- "package": "./lifecycle"
1336
- }
1337
- }
1338
- ]
1339
- },
1340
- {
1341
- "kind": "javascript-module",
1342
- "path": "src/promise/index.ts",
1343
- "declarations": [],
1344
- "exports": [
1345
- {
1346
- "kind": "js",
1347
- "name": "*",
1348
- "declaration": {
1349
- "name": "*",
1350
- "package": "./resolveAfter"
1351
- }
1352
- }
1353
- ]
1354
- },
1355
- {
1356
- "kind": "javascript-module",
1357
- "path": "src/promise/resolveAfter.ts",
1358
- "declarations": [
1359
- {
1360
- "kind": "function",
1361
- "name": "resolveAfter",
1362
- "return": {
1363
- "type": {
1364
- "text": "Promise<T>"
1365
- }
1366
- },
1367
- "parameters": [
1368
- {
1369
- "name": "ms",
1370
- "type": {
1371
- "text": "number"
1372
- }
1373
- },
1374
- {
1375
- "name": "valueCreator",
1376
- "type": {
1377
- "text": "() => T"
1378
- }
1379
- }
1380
- ],
1381
- "description": "Resolve a promise after a timeout.",
1382
- "privacy": "public"
1313
+ }
1383
1314
  }
1384
- ],
1315
+ ]
1316
+ },
1317
+ {
1318
+ "kind": "javascript-module",
1319
+ "path": "src/mixins/index.ts",
1320
+ "declarations": [],
1385
1321
  "exports": [
1386
1322
  {
1387
1323
  "kind": "js",
1388
- "name": "resolveAfter",
1324
+ "name": "*",
1389
1325
  "declaration": {
1390
- "name": "resolveAfter",
1391
- "module": "src/promise/resolveAfter.ts"
1326
+ "name": "*",
1327
+ "package": "./pendingState"
1328
+ }
1329
+ },
1330
+ {
1331
+ "kind": "js",
1332
+ "name": "*",
1333
+ "declaration": {
1334
+ "name": "*",
1335
+ "package": "./lifecycle"
1392
1336
  }
1393
1337
  }
1394
1338
  ]
@@ -1465,6 +1409,62 @@
1465
1409
  }
1466
1410
  ]
1467
1411
  },
1412
+ {
1413
+ "kind": "javascript-module",
1414
+ "path": "src/promise/index.ts",
1415
+ "declarations": [],
1416
+ "exports": [
1417
+ {
1418
+ "kind": "js",
1419
+ "name": "*",
1420
+ "declaration": {
1421
+ "name": "*",
1422
+ "package": "./resolveAfter"
1423
+ }
1424
+ }
1425
+ ]
1426
+ },
1427
+ {
1428
+ "kind": "javascript-module",
1429
+ "path": "src/promise/resolveAfter.ts",
1430
+ "declarations": [
1431
+ {
1432
+ "kind": "function",
1433
+ "name": "resolveAfter",
1434
+ "return": {
1435
+ "type": {
1436
+ "text": "Promise<T>"
1437
+ }
1438
+ },
1439
+ "parameters": [
1440
+ {
1441
+ "name": "ms",
1442
+ "type": {
1443
+ "text": "number"
1444
+ }
1445
+ },
1446
+ {
1447
+ "name": "valueCreator",
1448
+ "type": {
1449
+ "text": "() => T"
1450
+ }
1451
+ }
1452
+ ],
1453
+ "description": "Resolve a promise after a timeout.",
1454
+ "privacy": "public"
1455
+ }
1456
+ ],
1457
+ "exports": [
1458
+ {
1459
+ "kind": "js",
1460
+ "name": "resolveAfter",
1461
+ "declaration": {
1462
+ "name": "resolveAfter",
1463
+ "module": "src/promise/resolveAfter.ts"
1464
+ }
1465
+ }
1466
+ ]
1467
+ },
1468
1468
  {
1469
1469
  "kind": "javascript-module",
1470
1470
  "path": "src/resource/index.ts",
@@ -2068,95 +2068,6 @@
2068
2068
  }
2069
2069
  ]
2070
2070
  },
2071
- {
2072
- "kind": "javascript-module",
2073
- "path": "src/directives/sync/index.ts",
2074
- "declarations": [],
2075
- "exports": [
2076
- {
2077
- "kind": "js",
2078
- "name": "*",
2079
- "declaration": {
2080
- "name": "*",
2081
- "package": "./sync"
2082
- }
2083
- }
2084
- ]
2085
- },
2086
- {
2087
- "kind": "javascript-module",
2088
- "path": "src/directives/sync/sync.ts",
2089
- "declarations": [
2090
- {
2091
- "kind": "variable",
2092
- "name": "defaultEventMap",
2093
- "type": {
2094
- "text": "Map<string, EventName>"
2095
- },
2096
- "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])",
2097
- "description": "A map that associates specific HTML element tags with their corresponding default event names.",
2098
- "privacy": "public"
2099
- },
2100
- {
2101
- "kind": "function",
2102
- "name": "sync",
2103
- "return": {
2104
- "type": {
2105
- "text": "CaptureType<TSource>"
2106
- }
2107
- },
2108
- "parameters": [
2109
- {
2110
- "name": "binding",
2111
- "type": {
2112
- "text": "Binding<TSource, TReturn>"
2113
- }
2114
- },
2115
- {
2116
- "name": "conversionType",
2117
- "default": "'string'",
2118
- "type": {
2119
- "text": "ConversionType"
2120
- }
2121
- },
2122
- {
2123
- "name": "eventName",
2124
- "default": "'default'",
2125
- "type": {
2126
- "text": "EventName"
2127
- }
2128
- },
2129
- {
2130
- "name": "keyAttr",
2131
- "optional": true,
2132
- "type": {
2133
- "text": "string"
2134
- }
2135
- }
2136
- ],
2137
- "description": "Creates a synchronization directive that binds a data source to an HTML element,",
2138
- "privacy": "public"
2139
- }
2140
- ],
2141
- "exports": [
2142
- {
2143
- "kind": "js",
2144
- "name": "defaultEventMap",
2145
- "declaration": {
2146
- "name": "defaultEventMap",
2147
- "module": "src/directives/sync/sync.ts"
2148
- }
2149
- },
2150
- {
2151
- "kind": "js",
2152
- "name": "sync",
2153
- "declaration": {
2154
- "name": "sync",
2155
- "module": "src/directives/sync/sync.ts"
2156
- }
2157
- }
2158
- ]
2159
- },
2160
2071
  {
2161
2072
  "kind": "javascript-module",
2162
2073
  "path": "src/window/index.ts",
@@ -2305,6 +2216,95 @@
2305
2216
  }
2306
2217
  ]
2307
2218
  },
2219
+ {
2220
+ "kind": "javascript-module",
2221
+ "path": "src/directives/sync/index.ts",
2222
+ "declarations": [],
2223
+ "exports": [
2224
+ {
2225
+ "kind": "js",
2226
+ "name": "*",
2227
+ "declaration": {
2228
+ "name": "*",
2229
+ "package": "./sync"
2230
+ }
2231
+ }
2232
+ ]
2233
+ },
2234
+ {
2235
+ "kind": "javascript-module",
2236
+ "path": "src/directives/sync/sync.ts",
2237
+ "declarations": [
2238
+ {
2239
+ "kind": "variable",
2240
+ "name": "defaultEventMap",
2241
+ "type": {
2242
+ "text": "Map<string, EventName>"
2243
+ },
2244
+ "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])",
2245
+ "description": "A map that associates specific HTML element tags with their corresponding default event names.",
2246
+ "privacy": "public"
2247
+ },
2248
+ {
2249
+ "kind": "function",
2250
+ "name": "sync",
2251
+ "return": {
2252
+ "type": {
2253
+ "text": "CaptureType<TSource>"
2254
+ }
2255
+ },
2256
+ "parameters": [
2257
+ {
2258
+ "name": "binding",
2259
+ "type": {
2260
+ "text": "Binding<TSource, TReturn>"
2261
+ }
2262
+ },
2263
+ {
2264
+ "name": "conversionType",
2265
+ "default": "'string'",
2266
+ "type": {
2267
+ "text": "ConversionType"
2268
+ }
2269
+ },
2270
+ {
2271
+ "name": "eventName",
2272
+ "default": "'default'",
2273
+ "type": {
2274
+ "text": "EventName"
2275
+ }
2276
+ },
2277
+ {
2278
+ "name": "keyAttr",
2279
+ "optional": true,
2280
+ "type": {
2281
+ "text": "string"
2282
+ }
2283
+ }
2284
+ ],
2285
+ "description": "Creates a synchronization directive that binds a data source to an HTML element,",
2286
+ "privacy": "public"
2287
+ }
2288
+ ],
2289
+ "exports": [
2290
+ {
2291
+ "kind": "js",
2292
+ "name": "defaultEventMap",
2293
+ "declaration": {
2294
+ "name": "defaultEventMap",
2295
+ "module": "src/directives/sync/sync.ts"
2296
+ }
2297
+ },
2298
+ {
2299
+ "kind": "js",
2300
+ "name": "sync",
2301
+ "declaration": {
2302
+ "name": "sync",
2303
+ "module": "src/directives/sync/sync.ts"
2304
+ }
2305
+ }
2306
+ ]
2307
+ },
2308
2308
  {
2309
2309
  "kind": "javascript-module",
2310
2310
  "path": "src/directives/when-else/index.ts",
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.208.1",
4
+ "version": "14.208.3-alpha-92c853eac01c.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.208.1",
31
- "@genesislcap/genx": "14.208.1",
32
- "@genesislcap/rollup-builder": "14.208.1",
33
- "@genesislcap/ts-builder": "14.208.1",
34
- "@genesislcap/uvu-playwright-builder": "14.208.1",
35
- "@genesislcap/vite-builder": "14.208.1",
36
- "@genesislcap/webpack-builder": "14.208.1",
30
+ "@genesislcap/foundation-testing": "14.208.3-alpha-92c853eac01c.0",
31
+ "@genesislcap/genx": "14.208.3-alpha-92c853eac01c.0",
32
+ "@genesislcap/rollup-builder": "14.208.3-alpha-92c853eac01c.0",
33
+ "@genesislcap/ts-builder": "14.208.3-alpha-92c853eac01c.0",
34
+ "@genesislcap/uvu-playwright-builder": "14.208.3-alpha-92c853eac01c.0",
35
+ "@genesislcap/vite-builder": "14.208.3-alpha-92c853eac01c.0",
36
+ "@genesislcap/webpack-builder": "14.208.3-alpha-92c853eac01c.0",
37
37
  "rimraf": "^5.0.0"
38
38
  },
39
39
  "dependencies": {
40
- "@genesislcap/foundation-logger": "14.208.1",
40
+ "@genesislcap/foundation-logger": "14.208.3-alpha-92c853eac01c.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": "61bea44371fb0f88f1953aa9ea5200a4429f6523"
58
+ "gitHead": "0c255308dce170cfed17ffc99d8d40f4be0ec256"
59
59
  }