@genesislcap/foundation-utils 15.15.2 → 15.16.0
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.
- package/dist/custom-elements.json +407 -407
- package/package.json +11 -11
|
@@ -250,59 +250,6 @@
|
|
|
250
250
|
}
|
|
251
251
|
]
|
|
252
252
|
},
|
|
253
|
-
{
|
|
254
|
-
"kind": "javascript-module",
|
|
255
|
-
"path": "src/decorators/index.ts",
|
|
256
|
-
"declarations": [],
|
|
257
|
-
"exports": [
|
|
258
|
-
{
|
|
259
|
-
"kind": "js",
|
|
260
|
-
"name": "*",
|
|
261
|
-
"declaration": {
|
|
262
|
-
"name": "*",
|
|
263
|
-
"package": "./renderOnChange"
|
|
264
|
-
}
|
|
265
|
-
}
|
|
266
|
-
]
|
|
267
|
-
},
|
|
268
|
-
{
|
|
269
|
-
"kind": "javascript-module",
|
|
270
|
-
"path": "src/decorators/renderOnChange.ts",
|
|
271
|
-
"declarations": [
|
|
272
|
-
{
|
|
273
|
-
"kind": "function",
|
|
274
|
-
"name": "renderOnChange",
|
|
275
|
-
"parameters": [
|
|
276
|
-
{
|
|
277
|
-
"name": "target",
|
|
278
|
-
"type": {
|
|
279
|
-
"text": "FASTElement & { render(): void }"
|
|
280
|
-
},
|
|
281
|
-
"description": "The target to define the property change handler on."
|
|
282
|
-
},
|
|
283
|
-
{
|
|
284
|
-
"name": "name",
|
|
285
|
-
"type": {
|
|
286
|
-
"text": "string"
|
|
287
|
-
},
|
|
288
|
-
"description": "The property name."
|
|
289
|
-
}
|
|
290
|
-
],
|
|
291
|
-
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
|
292
|
-
"privacy": "public"
|
|
293
|
-
}
|
|
294
|
-
],
|
|
295
|
-
"exports": [
|
|
296
|
-
{
|
|
297
|
-
"kind": "js",
|
|
298
|
-
"name": "renderOnChange",
|
|
299
|
-
"declaration": {
|
|
300
|
-
"name": "renderOnChange",
|
|
301
|
-
"module": "src/decorators/renderOnChange.ts"
|
|
302
|
-
}
|
|
303
|
-
}
|
|
304
|
-
]
|
|
305
|
-
},
|
|
306
253
|
{
|
|
307
254
|
"kind": "javascript-module",
|
|
308
255
|
"path": "src/design-system/design-system.ts",
|
|
@@ -507,190 +454,30 @@
|
|
|
507
454
|
},
|
|
508
455
|
{
|
|
509
456
|
"kind": "javascript-module",
|
|
510
|
-
"path": "src/
|
|
511
|
-
"declarations": [
|
|
512
|
-
{
|
|
513
|
-
"kind": "class",
|
|
514
|
-
"description": "An in memory database of specific DatabaseRecord types.",
|
|
515
|
-
"name": "InMemoryDatabase",
|
|
516
|
-
"members": [
|
|
517
|
-
{
|
|
518
|
-
"kind": "field",
|
|
519
|
-
"name": "isWorking",
|
|
520
|
-
"type": {
|
|
521
|
-
"text": "boolean"
|
|
522
|
-
},
|
|
523
|
-
"privacy": "public",
|
|
524
|
-
"default": "false"
|
|
525
|
-
},
|
|
526
|
-
{
|
|
527
|
-
"kind": "field",
|
|
528
|
-
"name": "records",
|
|
529
|
-
"type": {
|
|
530
|
-
"text": "Record<string, T>"
|
|
531
|
-
},
|
|
532
|
-
"privacy": "private",
|
|
533
|
-
"default": "{}"
|
|
534
|
-
},
|
|
535
|
-
{
|
|
536
|
-
"kind": "field",
|
|
537
|
-
"name": "beforeUpdateListeners",
|
|
538
|
-
"privacy": "private"
|
|
539
|
-
},
|
|
540
|
-
{
|
|
541
|
-
"kind": "field",
|
|
542
|
-
"name": "afterUpdateListeners",
|
|
543
|
-
"privacy": "private"
|
|
544
|
-
},
|
|
545
|
-
{
|
|
546
|
-
"kind": "method",
|
|
547
|
-
"name": "create",
|
|
548
|
-
"privacy": "public",
|
|
549
|
-
"return": {
|
|
550
|
-
"type": {
|
|
551
|
-
"text": "Promise<DatabaseAccessResult.Create<T>>"
|
|
552
|
-
}
|
|
553
|
-
},
|
|
554
|
-
"parameters": [
|
|
555
|
-
{
|
|
556
|
-
"name": "newValue",
|
|
557
|
-
"type": {
|
|
558
|
-
"text": "Omit<T, 'id'>"
|
|
559
|
-
}
|
|
560
|
-
}
|
|
561
|
-
]
|
|
562
|
-
},
|
|
563
|
-
{
|
|
564
|
-
"kind": "method",
|
|
565
|
-
"name": "read",
|
|
566
|
-
"privacy": "public",
|
|
567
|
-
"return": {
|
|
568
|
-
"type": {
|
|
569
|
-
"text": "Promise<DatabaseAccessResult.Read<T>>"
|
|
570
|
-
}
|
|
571
|
-
},
|
|
572
|
-
"parameters": [
|
|
573
|
-
{
|
|
574
|
-
"name": "id",
|
|
575
|
-
"type": {
|
|
576
|
-
"text": "string"
|
|
577
|
-
}
|
|
578
|
-
}
|
|
579
|
-
]
|
|
580
|
-
},
|
|
581
|
-
{
|
|
582
|
-
"kind": "method",
|
|
583
|
-
"name": "update",
|
|
584
|
-
"privacy": "public",
|
|
585
|
-
"return": {
|
|
586
|
-
"type": {
|
|
587
|
-
"text": "Promise<DatabaseAccessResult.Update<T>>"
|
|
588
|
-
}
|
|
589
|
-
},
|
|
590
|
-
"parameters": [
|
|
591
|
-
{
|
|
592
|
-
"name": "id",
|
|
593
|
-
"type": {
|
|
594
|
-
"text": "string"
|
|
595
|
-
}
|
|
596
|
-
},
|
|
597
|
-
{
|
|
598
|
-
"name": "newValue",
|
|
599
|
-
"type": {
|
|
600
|
-
"text": "Omit<Partial<T>, 'id'>"
|
|
601
|
-
}
|
|
602
|
-
}
|
|
603
|
-
]
|
|
604
|
-
},
|
|
605
|
-
{
|
|
606
|
-
"kind": "method",
|
|
607
|
-
"name": "delete",
|
|
608
|
-
"privacy": "public",
|
|
609
|
-
"return": {
|
|
610
|
-
"type": {
|
|
611
|
-
"text": "Promise<DatabaseAccessResult.Delete>"
|
|
612
|
-
}
|
|
613
|
-
},
|
|
614
|
-
"parameters": [
|
|
615
|
-
{
|
|
616
|
-
"name": "id",
|
|
617
|
-
"type": {
|
|
618
|
-
"text": "string"
|
|
619
|
-
}
|
|
620
|
-
}
|
|
621
|
-
]
|
|
622
|
-
},
|
|
623
|
-
{
|
|
624
|
-
"kind": "method",
|
|
625
|
-
"name": "visit",
|
|
626
|
-
"privacy": "public",
|
|
627
|
-
"return": {
|
|
628
|
-
"type": {
|
|
629
|
-
"text": "Promise<void>"
|
|
630
|
-
}
|
|
631
|
-
},
|
|
632
|
-
"parameters": [
|
|
633
|
-
{
|
|
634
|
-
"name": "visitor",
|
|
635
|
-
"type": {
|
|
636
|
-
"text": "(record: T) => void"
|
|
637
|
-
}
|
|
638
|
-
}
|
|
639
|
-
]
|
|
640
|
-
},
|
|
641
|
-
{
|
|
642
|
-
"kind": "method",
|
|
643
|
-
"name": "onBeforeUpdate",
|
|
644
|
-
"privacy": "public",
|
|
645
|
-
"return": {
|
|
646
|
-
"type": {
|
|
647
|
-
"text": "() => void"
|
|
648
|
-
}
|
|
649
|
-
},
|
|
650
|
-
"parameters": [
|
|
651
|
-
{
|
|
652
|
-
"name": "listener",
|
|
653
|
-
"type": {
|
|
654
|
-
"text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
|
|
655
|
-
}
|
|
656
|
-
}
|
|
657
|
-
]
|
|
658
|
-
},
|
|
659
|
-
{
|
|
660
|
-
"kind": "method",
|
|
661
|
-
"name": "onAfterUpdate",
|
|
662
|
-
"privacy": "public",
|
|
663
|
-
"return": {
|
|
664
|
-
"type": {
|
|
665
|
-
"text": "() => void"
|
|
666
|
-
}
|
|
667
|
-
},
|
|
668
|
-
"parameters": [
|
|
669
|
-
{
|
|
670
|
-
"name": "listener",
|
|
671
|
-
"type": {
|
|
672
|
-
"text": "Listener<DatabaseEvent.AfterUpdate<T>>"
|
|
673
|
-
}
|
|
674
|
-
}
|
|
675
|
-
]
|
|
676
|
-
}
|
|
677
|
-
]
|
|
678
|
-
}
|
|
679
|
-
],
|
|
457
|
+
"path": "src/directives/index.ts",
|
|
458
|
+
"declarations": [],
|
|
680
459
|
"exports": [
|
|
681
460
|
{
|
|
682
461
|
"kind": "js",
|
|
683
|
-
"name": "
|
|
462
|
+
"name": "*",
|
|
684
463
|
"declaration": {
|
|
685
|
-
"name": "
|
|
686
|
-
"
|
|
464
|
+
"name": "*",
|
|
465
|
+
"package": "./sync"
|
|
466
|
+
}
|
|
467
|
+
},
|
|
468
|
+
{
|
|
469
|
+
"kind": "js",
|
|
470
|
+
"name": "*",
|
|
471
|
+
"declaration": {
|
|
472
|
+
"name": "*",
|
|
473
|
+
"package": "./when-else"
|
|
687
474
|
}
|
|
688
475
|
}
|
|
689
476
|
]
|
|
690
477
|
},
|
|
691
478
|
{
|
|
692
479
|
"kind": "javascript-module",
|
|
693
|
-
"path": "src/
|
|
480
|
+
"path": "src/encoding/index.ts",
|
|
694
481
|
"declarations": [],
|
|
695
482
|
"exports": [
|
|
696
483
|
{
|
|
@@ -698,7 +485,7 @@
|
|
|
698
485
|
"name": "*",
|
|
699
486
|
"declaration": {
|
|
700
487
|
"name": "*",
|
|
701
|
-
"package": "./
|
|
488
|
+
"package": "./base64"
|
|
702
489
|
}
|
|
703
490
|
}
|
|
704
491
|
]
|
|
@@ -1204,22 +991,190 @@
|
|
|
1204
991
|
},
|
|
1205
992
|
{
|
|
1206
993
|
"kind": "javascript-module",
|
|
1207
|
-
"path": "src/
|
|
1208
|
-
"declarations": [
|
|
1209
|
-
"exports": [
|
|
994
|
+
"path": "src/data/inMemoryDatabase.ts",
|
|
995
|
+
"declarations": [
|
|
1210
996
|
{
|
|
1211
|
-
"kind": "
|
|
1212
|
-
"
|
|
1213
|
-
"
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
997
|
+
"kind": "class",
|
|
998
|
+
"description": "An in memory database of specific DatabaseRecord types.",
|
|
999
|
+
"name": "InMemoryDatabase",
|
|
1000
|
+
"members": [
|
|
1001
|
+
{
|
|
1002
|
+
"kind": "field",
|
|
1003
|
+
"name": "isWorking",
|
|
1004
|
+
"type": {
|
|
1005
|
+
"text": "boolean"
|
|
1006
|
+
},
|
|
1007
|
+
"privacy": "public",
|
|
1008
|
+
"default": "false"
|
|
1009
|
+
},
|
|
1010
|
+
{
|
|
1011
|
+
"kind": "field",
|
|
1012
|
+
"name": "records",
|
|
1013
|
+
"type": {
|
|
1014
|
+
"text": "Record<string, T>"
|
|
1015
|
+
},
|
|
1016
|
+
"privacy": "private",
|
|
1017
|
+
"default": "{}"
|
|
1018
|
+
},
|
|
1019
|
+
{
|
|
1020
|
+
"kind": "field",
|
|
1021
|
+
"name": "beforeUpdateListeners",
|
|
1022
|
+
"privacy": "private"
|
|
1023
|
+
},
|
|
1024
|
+
{
|
|
1025
|
+
"kind": "field",
|
|
1026
|
+
"name": "afterUpdateListeners",
|
|
1027
|
+
"privacy": "private"
|
|
1028
|
+
},
|
|
1029
|
+
{
|
|
1030
|
+
"kind": "method",
|
|
1031
|
+
"name": "create",
|
|
1032
|
+
"privacy": "public",
|
|
1033
|
+
"return": {
|
|
1034
|
+
"type": {
|
|
1035
|
+
"text": "Promise<DatabaseAccessResult.Create<T>>"
|
|
1036
|
+
}
|
|
1037
|
+
},
|
|
1038
|
+
"parameters": [
|
|
1039
|
+
{
|
|
1040
|
+
"name": "newValue",
|
|
1041
|
+
"type": {
|
|
1042
|
+
"text": "Omit<T, 'id'>"
|
|
1043
|
+
}
|
|
1044
|
+
}
|
|
1045
|
+
]
|
|
1046
|
+
},
|
|
1047
|
+
{
|
|
1048
|
+
"kind": "method",
|
|
1049
|
+
"name": "read",
|
|
1050
|
+
"privacy": "public",
|
|
1051
|
+
"return": {
|
|
1052
|
+
"type": {
|
|
1053
|
+
"text": "Promise<DatabaseAccessResult.Read<T>>"
|
|
1054
|
+
}
|
|
1055
|
+
},
|
|
1056
|
+
"parameters": [
|
|
1057
|
+
{
|
|
1058
|
+
"name": "id",
|
|
1059
|
+
"type": {
|
|
1060
|
+
"text": "string"
|
|
1061
|
+
}
|
|
1062
|
+
}
|
|
1063
|
+
]
|
|
1064
|
+
},
|
|
1065
|
+
{
|
|
1066
|
+
"kind": "method",
|
|
1067
|
+
"name": "update",
|
|
1068
|
+
"privacy": "public",
|
|
1069
|
+
"return": {
|
|
1070
|
+
"type": {
|
|
1071
|
+
"text": "Promise<DatabaseAccessResult.Update<T>>"
|
|
1072
|
+
}
|
|
1073
|
+
},
|
|
1074
|
+
"parameters": [
|
|
1075
|
+
{
|
|
1076
|
+
"name": "id",
|
|
1077
|
+
"type": {
|
|
1078
|
+
"text": "string"
|
|
1079
|
+
}
|
|
1080
|
+
},
|
|
1081
|
+
{
|
|
1082
|
+
"name": "newValue",
|
|
1083
|
+
"type": {
|
|
1084
|
+
"text": "Omit<Partial<T>, 'id'>"
|
|
1085
|
+
}
|
|
1086
|
+
}
|
|
1087
|
+
]
|
|
1088
|
+
},
|
|
1089
|
+
{
|
|
1090
|
+
"kind": "method",
|
|
1091
|
+
"name": "delete",
|
|
1092
|
+
"privacy": "public",
|
|
1093
|
+
"return": {
|
|
1094
|
+
"type": {
|
|
1095
|
+
"text": "Promise<DatabaseAccessResult.Delete>"
|
|
1096
|
+
}
|
|
1097
|
+
},
|
|
1098
|
+
"parameters": [
|
|
1099
|
+
{
|
|
1100
|
+
"name": "id",
|
|
1101
|
+
"type": {
|
|
1102
|
+
"text": "string"
|
|
1103
|
+
}
|
|
1104
|
+
}
|
|
1105
|
+
]
|
|
1106
|
+
},
|
|
1107
|
+
{
|
|
1108
|
+
"kind": "method",
|
|
1109
|
+
"name": "visit",
|
|
1110
|
+
"privacy": "public",
|
|
1111
|
+
"return": {
|
|
1112
|
+
"type": {
|
|
1113
|
+
"text": "Promise<void>"
|
|
1114
|
+
}
|
|
1115
|
+
},
|
|
1116
|
+
"parameters": [
|
|
1117
|
+
{
|
|
1118
|
+
"name": "visitor",
|
|
1119
|
+
"type": {
|
|
1120
|
+
"text": "(record: T) => void"
|
|
1121
|
+
}
|
|
1122
|
+
}
|
|
1123
|
+
]
|
|
1124
|
+
},
|
|
1125
|
+
{
|
|
1126
|
+
"kind": "method",
|
|
1127
|
+
"name": "onBeforeUpdate",
|
|
1128
|
+
"privacy": "public",
|
|
1129
|
+
"return": {
|
|
1130
|
+
"type": {
|
|
1131
|
+
"text": "() => void"
|
|
1132
|
+
}
|
|
1133
|
+
},
|
|
1134
|
+
"parameters": [
|
|
1135
|
+
{
|
|
1136
|
+
"name": "listener",
|
|
1137
|
+
"type": {
|
|
1138
|
+
"text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
|
|
1139
|
+
}
|
|
1140
|
+
}
|
|
1141
|
+
]
|
|
1142
|
+
},
|
|
1143
|
+
{
|
|
1144
|
+
"kind": "method",
|
|
1145
|
+
"name": "onAfterUpdate",
|
|
1146
|
+
"privacy": "public",
|
|
1147
|
+
"return": {
|
|
1148
|
+
"type": {
|
|
1149
|
+
"text": "() => void"
|
|
1150
|
+
}
|
|
1151
|
+
},
|
|
1152
|
+
"parameters": [
|
|
1153
|
+
{
|
|
1154
|
+
"name": "listener",
|
|
1155
|
+
"type": {
|
|
1156
|
+
"text": "Listener<DatabaseEvent.AfterUpdate<T>>"
|
|
1157
|
+
}
|
|
1158
|
+
}
|
|
1159
|
+
]
|
|
1160
|
+
}
|
|
1161
|
+
]
|
|
1162
|
+
}
|
|
1163
|
+
],
|
|
1164
|
+
"exports": [
|
|
1165
|
+
{
|
|
1166
|
+
"kind": "js",
|
|
1167
|
+
"name": "InMemoryDatabase",
|
|
1168
|
+
"declaration": {
|
|
1169
|
+
"name": "InMemoryDatabase",
|
|
1170
|
+
"module": "src/data/inMemoryDatabase.ts"
|
|
1171
|
+
}
|
|
1172
|
+
}
|
|
1173
|
+
]
|
|
1219
1174
|
},
|
|
1220
1175
|
{
|
|
1221
1176
|
"kind": "javascript-module",
|
|
1222
|
-
"path": "src/
|
|
1177
|
+
"path": "src/data/index.ts",
|
|
1223
1178
|
"declarations": [],
|
|
1224
1179
|
"exports": [
|
|
1225
1180
|
{
|
|
@@ -1227,15 +1182,60 @@
|
|
|
1227
1182
|
"name": "*",
|
|
1228
1183
|
"declaration": {
|
|
1229
1184
|
"name": "*",
|
|
1230
|
-
"package": "./
|
|
1185
|
+
"package": "./inMemoryDatabase"
|
|
1231
1186
|
}
|
|
1232
|
-
}
|
|
1187
|
+
}
|
|
1188
|
+
]
|
|
1189
|
+
},
|
|
1190
|
+
{
|
|
1191
|
+
"kind": "javascript-module",
|
|
1192
|
+
"path": "src/decorators/index.ts",
|
|
1193
|
+
"declarations": [],
|
|
1194
|
+
"exports": [
|
|
1233
1195
|
{
|
|
1234
1196
|
"kind": "js",
|
|
1235
1197
|
"name": "*",
|
|
1236
1198
|
"declaration": {
|
|
1237
1199
|
"name": "*",
|
|
1238
|
-
"package": "./
|
|
1200
|
+
"package": "./renderOnChange"
|
|
1201
|
+
}
|
|
1202
|
+
}
|
|
1203
|
+
]
|
|
1204
|
+
},
|
|
1205
|
+
{
|
|
1206
|
+
"kind": "javascript-module",
|
|
1207
|
+
"path": "src/decorators/renderOnChange.ts",
|
|
1208
|
+
"declarations": [
|
|
1209
|
+
{
|
|
1210
|
+
"kind": "function",
|
|
1211
|
+
"name": "renderOnChange",
|
|
1212
|
+
"parameters": [
|
|
1213
|
+
{
|
|
1214
|
+
"name": "target",
|
|
1215
|
+
"type": {
|
|
1216
|
+
"text": "FASTElement & { render(): void }"
|
|
1217
|
+
},
|
|
1218
|
+
"description": "The target to define the property change handler on."
|
|
1219
|
+
},
|
|
1220
|
+
{
|
|
1221
|
+
"name": "name",
|
|
1222
|
+
"type": {
|
|
1223
|
+
"text": "string"
|
|
1224
|
+
},
|
|
1225
|
+
"description": "The property name."
|
|
1226
|
+
}
|
|
1227
|
+
],
|
|
1228
|
+
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
|
1229
|
+
"privacy": "public"
|
|
1230
|
+
}
|
|
1231
|
+
],
|
|
1232
|
+
"exports": [
|
|
1233
|
+
{
|
|
1234
|
+
"kind": "js",
|
|
1235
|
+
"name": "renderOnChange",
|
|
1236
|
+
"declaration": {
|
|
1237
|
+
"name": "renderOnChange",
|
|
1238
|
+
"module": "src/decorators/renderOnChange.ts"
|
|
1239
1239
|
}
|
|
1240
1240
|
}
|
|
1241
1241
|
]
|
|
@@ -4904,18 +4904,172 @@
|
|
|
4904
4904
|
},
|
|
4905
4905
|
{
|
|
4906
4906
|
"kind": "javascript-module",
|
|
4907
|
-
"path": "src/
|
|
4907
|
+
"path": "src/directives/sync/index.ts",
|
|
4908
|
+
"declarations": [],
|
|
4909
|
+
"exports": [
|
|
4910
|
+
{
|
|
4911
|
+
"kind": "js",
|
|
4912
|
+
"name": "*",
|
|
4913
|
+
"declaration": {
|
|
4914
|
+
"name": "*",
|
|
4915
|
+
"package": "./sync"
|
|
4916
|
+
}
|
|
4917
|
+
}
|
|
4918
|
+
]
|
|
4919
|
+
},
|
|
4920
|
+
{
|
|
4921
|
+
"kind": "javascript-module",
|
|
4922
|
+
"path": "src/directives/sync/sync.ts",
|
|
4908
4923
|
"declarations": [
|
|
4909
4924
|
{
|
|
4910
|
-
"kind": "
|
|
4911
|
-
"name": "
|
|
4912
|
-
"
|
|
4913
|
-
"
|
|
4914
|
-
|
|
4915
|
-
|
|
4916
|
-
|
|
4917
|
-
"
|
|
4918
|
-
|
|
4925
|
+
"kind": "variable",
|
|
4926
|
+
"name": "defaultEventMap",
|
|
4927
|
+
"type": {
|
|
4928
|
+
"text": "Map<string, EventName>"
|
|
4929
|
+
},
|
|
4930
|
+
"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])",
|
|
4931
|
+
"description": "A map that associates specific HTML element tags with their corresponding default event names.",
|
|
4932
|
+
"privacy": "public"
|
|
4933
|
+
},
|
|
4934
|
+
{
|
|
4935
|
+
"kind": "function",
|
|
4936
|
+
"name": "sync",
|
|
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
|
+
},
|
|
4949
|
+
{
|
|
4950
|
+
"name": "conversionType",
|
|
4951
|
+
"default": "'string'",
|
|
4952
|
+
"type": {
|
|
4953
|
+
"text": "ConversionType"
|
|
4954
|
+
}
|
|
4955
|
+
},
|
|
4956
|
+
{
|
|
4957
|
+
"name": "eventName",
|
|
4958
|
+
"default": "'default'",
|
|
4959
|
+
"type": {
|
|
4960
|
+
"text": "EventName"
|
|
4961
|
+
}
|
|
4962
|
+
},
|
|
4963
|
+
{
|
|
4964
|
+
"name": "keyAttr",
|
|
4965
|
+
"optional": true,
|
|
4966
|
+
"type": {
|
|
4967
|
+
"text": "string"
|
|
4968
|
+
}
|
|
4969
|
+
}
|
|
4970
|
+
],
|
|
4971
|
+
"description": "Creates a synchronization directive that binds a data source to an HTML element,",
|
|
4972
|
+
"privacy": "public"
|
|
4973
|
+
}
|
|
4974
|
+
],
|
|
4975
|
+
"exports": [
|
|
4976
|
+
{
|
|
4977
|
+
"kind": "js",
|
|
4978
|
+
"name": "defaultEventMap",
|
|
4979
|
+
"declaration": {
|
|
4980
|
+
"name": "defaultEventMap",
|
|
4981
|
+
"module": "src/directives/sync/sync.ts"
|
|
4982
|
+
}
|
|
4983
|
+
},
|
|
4984
|
+
{
|
|
4985
|
+
"kind": "js",
|
|
4986
|
+
"name": "sync",
|
|
4987
|
+
"declaration": {
|
|
4988
|
+
"name": "sync",
|
|
4989
|
+
"module": "src/directives/sync/sync.ts"
|
|
4990
|
+
}
|
|
4991
|
+
}
|
|
4992
|
+
]
|
|
4993
|
+
},
|
|
4994
|
+
{
|
|
4995
|
+
"kind": "javascript-module",
|
|
4996
|
+
"path": "src/directives/when-else/index.ts",
|
|
4997
|
+
"declarations": [],
|
|
4998
|
+
"exports": [
|
|
4999
|
+
{
|
|
5000
|
+
"kind": "js",
|
|
5001
|
+
"name": "*",
|
|
5002
|
+
"declaration": {
|
|
5003
|
+
"name": "*",
|
|
5004
|
+
"package": "./when-else"
|
|
5005
|
+
}
|
|
5006
|
+
}
|
|
5007
|
+
]
|
|
5008
|
+
},
|
|
5009
|
+
{
|
|
5010
|
+
"kind": "javascript-module",
|
|
5011
|
+
"path": "src/directives/when-else/when-else.ts",
|
|
5012
|
+
"declarations": [
|
|
5013
|
+
{
|
|
5014
|
+
"kind": "function",
|
|
5015
|
+
"name": "whenElse",
|
|
5016
|
+
"return": {
|
|
5017
|
+
"type": {
|
|
5018
|
+
"text": "CaptureType<TSource>"
|
|
5019
|
+
}
|
|
5020
|
+
},
|
|
5021
|
+
"parameters": [
|
|
5022
|
+
{
|
|
5023
|
+
"name": "binding",
|
|
5024
|
+
"type": {
|
|
5025
|
+
"text": "Binding<TSource, TReturn>"
|
|
5026
|
+
},
|
|
5027
|
+
"description": "The condition to test for rendering."
|
|
5028
|
+
},
|
|
5029
|
+
{
|
|
5030
|
+
"name": "trueTemplateOrTemplateBinding",
|
|
5031
|
+
"type": {
|
|
5032
|
+
"text": "WhenTemplate<TSource>"
|
|
5033
|
+
},
|
|
5034
|
+
"description": "The template or a binding that gets the template to render when the condition is true."
|
|
5035
|
+
},
|
|
5036
|
+
{
|
|
5037
|
+
"name": "falseTemplateOrTemplateBinding",
|
|
5038
|
+
"type": {
|
|
5039
|
+
"text": "WhenTemplate<TSource>"
|
|
5040
|
+
},
|
|
5041
|
+
"description": "The template or a binding that gets the template to render when the condition is false."
|
|
5042
|
+
}
|
|
5043
|
+
],
|
|
5044
|
+
"description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
|
|
5045
|
+
"privacy": "public"
|
|
5046
|
+
}
|
|
5047
|
+
],
|
|
5048
|
+
"exports": [
|
|
5049
|
+
{
|
|
5050
|
+
"kind": "js",
|
|
5051
|
+
"name": "whenElse",
|
|
5052
|
+
"declaration": {
|
|
5053
|
+
"name": "whenElse",
|
|
5054
|
+
"module": "src/directives/when-else/when-else.ts"
|
|
5055
|
+
}
|
|
5056
|
+
}
|
|
5057
|
+
]
|
|
5058
|
+
},
|
|
5059
|
+
{
|
|
5060
|
+
"kind": "javascript-module",
|
|
5061
|
+
"path": "src/encoding/base64/decode.ts",
|
|
5062
|
+
"declarations": [
|
|
5063
|
+
{
|
|
5064
|
+
"kind": "function",
|
|
5065
|
+
"name": "decodeFromBase64",
|
|
5066
|
+
"return": {
|
|
5067
|
+
"type": {
|
|
5068
|
+
"text": ""
|
|
5069
|
+
}
|
|
5070
|
+
},
|
|
5071
|
+
"parameters": [
|
|
5072
|
+
{
|
|
4919
5073
|
"name": "base64Value",
|
|
4920
5074
|
"type": {
|
|
4921
5075
|
"text": "string"
|
|
@@ -5056,160 +5210,6 @@
|
|
|
5056
5210
|
}
|
|
5057
5211
|
]
|
|
5058
5212
|
},
|
|
5059
|
-
{
|
|
5060
|
-
"kind": "javascript-module",
|
|
5061
|
-
"path": "src/directives/sync/index.ts",
|
|
5062
|
-
"declarations": [],
|
|
5063
|
-
"exports": [
|
|
5064
|
-
{
|
|
5065
|
-
"kind": "js",
|
|
5066
|
-
"name": "*",
|
|
5067
|
-
"declaration": {
|
|
5068
|
-
"name": "*",
|
|
5069
|
-
"package": "./sync"
|
|
5070
|
-
}
|
|
5071
|
-
}
|
|
5072
|
-
]
|
|
5073
|
-
},
|
|
5074
|
-
{
|
|
5075
|
-
"kind": "javascript-module",
|
|
5076
|
-
"path": "src/directives/sync/sync.ts",
|
|
5077
|
-
"declarations": [
|
|
5078
|
-
{
|
|
5079
|
-
"kind": "variable",
|
|
5080
|
-
"name": "defaultEventMap",
|
|
5081
|
-
"type": {
|
|
5082
|
-
"text": "Map<string, EventName>"
|
|
5083
|
-
},
|
|
5084
|
-
"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])",
|
|
5085
|
-
"description": "A map that associates specific HTML element tags with their corresponding default event names.",
|
|
5086
|
-
"privacy": "public"
|
|
5087
|
-
},
|
|
5088
|
-
{
|
|
5089
|
-
"kind": "function",
|
|
5090
|
-
"name": "sync",
|
|
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
|
-
},
|
|
5103
|
-
{
|
|
5104
|
-
"name": "conversionType",
|
|
5105
|
-
"default": "'string'",
|
|
5106
|
-
"type": {
|
|
5107
|
-
"text": "ConversionType"
|
|
5108
|
-
}
|
|
5109
|
-
},
|
|
5110
|
-
{
|
|
5111
|
-
"name": "eventName",
|
|
5112
|
-
"default": "'default'",
|
|
5113
|
-
"type": {
|
|
5114
|
-
"text": "EventName"
|
|
5115
|
-
}
|
|
5116
|
-
},
|
|
5117
|
-
{
|
|
5118
|
-
"name": "keyAttr",
|
|
5119
|
-
"optional": true,
|
|
5120
|
-
"type": {
|
|
5121
|
-
"text": "string"
|
|
5122
|
-
}
|
|
5123
|
-
}
|
|
5124
|
-
],
|
|
5125
|
-
"description": "Creates a synchronization directive that binds a data source to an HTML element,",
|
|
5126
|
-
"privacy": "public"
|
|
5127
|
-
}
|
|
5128
|
-
],
|
|
5129
|
-
"exports": [
|
|
5130
|
-
{
|
|
5131
|
-
"kind": "js",
|
|
5132
|
-
"name": "defaultEventMap",
|
|
5133
|
-
"declaration": {
|
|
5134
|
-
"name": "defaultEventMap",
|
|
5135
|
-
"module": "src/directives/sync/sync.ts"
|
|
5136
|
-
}
|
|
5137
|
-
},
|
|
5138
|
-
{
|
|
5139
|
-
"kind": "js",
|
|
5140
|
-
"name": "sync",
|
|
5141
|
-
"declaration": {
|
|
5142
|
-
"name": "sync",
|
|
5143
|
-
"module": "src/directives/sync/sync.ts"
|
|
5144
|
-
}
|
|
5145
|
-
}
|
|
5146
|
-
]
|
|
5147
|
-
},
|
|
5148
|
-
{
|
|
5149
|
-
"kind": "javascript-module",
|
|
5150
|
-
"path": "src/directives/when-else/index.ts",
|
|
5151
|
-
"declarations": [],
|
|
5152
|
-
"exports": [
|
|
5153
|
-
{
|
|
5154
|
-
"kind": "js",
|
|
5155
|
-
"name": "*",
|
|
5156
|
-
"declaration": {
|
|
5157
|
-
"name": "*",
|
|
5158
|
-
"package": "./when-else"
|
|
5159
|
-
}
|
|
5160
|
-
}
|
|
5161
|
-
]
|
|
5162
|
-
},
|
|
5163
|
-
{
|
|
5164
|
-
"kind": "javascript-module",
|
|
5165
|
-
"path": "src/directives/when-else/when-else.ts",
|
|
5166
|
-
"declarations": [
|
|
5167
|
-
{
|
|
5168
|
-
"kind": "function",
|
|
5169
|
-
"name": "whenElse",
|
|
5170
|
-
"return": {
|
|
5171
|
-
"type": {
|
|
5172
|
-
"text": "CaptureType<TSource>"
|
|
5173
|
-
}
|
|
5174
|
-
},
|
|
5175
|
-
"parameters": [
|
|
5176
|
-
{
|
|
5177
|
-
"name": "binding",
|
|
5178
|
-
"type": {
|
|
5179
|
-
"text": "Binding<TSource, TReturn>"
|
|
5180
|
-
},
|
|
5181
|
-
"description": "The condition to test for rendering."
|
|
5182
|
-
},
|
|
5183
|
-
{
|
|
5184
|
-
"name": "trueTemplateOrTemplateBinding",
|
|
5185
|
-
"type": {
|
|
5186
|
-
"text": "WhenTemplate<TSource>"
|
|
5187
|
-
},
|
|
5188
|
-
"description": "The template or a binding that gets the template to render when the condition is true."
|
|
5189
|
-
},
|
|
5190
|
-
{
|
|
5191
|
-
"name": "falseTemplateOrTemplateBinding",
|
|
5192
|
-
"type": {
|
|
5193
|
-
"text": "WhenTemplate<TSource>"
|
|
5194
|
-
},
|
|
5195
|
-
"description": "The template or a binding that gets the template to render when the condition is false."
|
|
5196
|
-
}
|
|
5197
|
-
],
|
|
5198
|
-
"description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
|
|
5199
|
-
"privacy": "public"
|
|
5200
|
-
}
|
|
5201
|
-
],
|
|
5202
|
-
"exports": [
|
|
5203
|
-
{
|
|
5204
|
-
"kind": "js",
|
|
5205
|
-
"name": "whenElse",
|
|
5206
|
-
"declaration": {
|
|
5207
|
-
"name": "whenElse",
|
|
5208
|
-
"module": "src/directives/when-else/when-else.ts"
|
|
5209
|
-
}
|
|
5210
|
-
}
|
|
5211
|
-
]
|
|
5212
|
-
},
|
|
5213
5213
|
{
|
|
5214
5214
|
"kind": "javascript-module",
|
|
5215
5215
|
"path": "src/mappers/dto/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": "15.
|
|
4
|
+
"version": "15.16.0",
|
|
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": "15.
|
|
33
|
-
"@genesislcap/genx": "15.
|
|
34
|
-
"@genesislcap/rollup-builder": "15.
|
|
35
|
-
"@genesislcap/ts-builder": "15.
|
|
36
|
-
"@genesislcap/uvu-playwright-builder": "15.
|
|
37
|
-
"@genesislcap/vite-builder": "15.
|
|
38
|
-
"@genesislcap/webpack-builder": "15.
|
|
32
|
+
"@genesislcap/foundation-testing": "15.16.0",
|
|
33
|
+
"@genesislcap/genx": "15.16.0",
|
|
34
|
+
"@genesislcap/rollup-builder": "15.16.0",
|
|
35
|
+
"@genesislcap/ts-builder": "15.16.0",
|
|
36
|
+
"@genesislcap/uvu-playwright-builder": "15.16.0",
|
|
37
|
+
"@genesislcap/vite-builder": "15.16.0",
|
|
38
|
+
"@genesislcap/webpack-builder": "15.16.0",
|
|
39
39
|
"@types/json-schema": "^7.0.11"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@genesislcap/expression-builder": "15.
|
|
43
|
-
"@genesislcap/foundation-logger": "15.
|
|
42
|
+
"@genesislcap/expression-builder": "15.16.0",
|
|
43
|
+
"@genesislcap/foundation-logger": "15.16.0",
|
|
44
44
|
"@microsoft/fast-components": "2.30.6",
|
|
45
45
|
"@microsoft/fast-element": "1.14.0",
|
|
46
46
|
"@microsoft/fast-foundation": "2.50.0",
|
|
@@ -70,5 +70,5 @@
|
|
|
70
70
|
},
|
|
71
71
|
"./package.json": "./package.json"
|
|
72
72
|
},
|
|
73
|
-
"gitHead": "
|
|
73
|
+
"gitHead": "2cacfdef54a332ee571ae784b5b7629cf66f050f"
|
|
74
74
|
}
|