@genesislcap/foundation-utils 14.227.4-RPT-42.1 → 14.228.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/custom-elements.json +344 -344
- package/package.json +10 -10
@@ -171,57 +171,213 @@
|
|
171
171
|
},
|
172
172
|
{
|
173
173
|
"kind": "javascript-module",
|
174
|
-
"path": "src/
|
175
|
-
"declarations": [
|
176
|
-
{
|
177
|
-
"kind": "function",
|
178
|
-
"name": "assureDesignSystem",
|
179
|
-
"return": {
|
180
|
-
"type": {
|
181
|
-
"text": "DesignSystemModule"
|
182
|
-
}
|
183
|
-
},
|
184
|
-
"parameters": [
|
185
|
-
{
|
186
|
-
"name": "module",
|
187
|
-
"type": {
|
188
|
-
"text": "DesignSystemModule"
|
189
|
-
}
|
190
|
-
}
|
191
|
-
],
|
192
|
-
"description": "assureDesignSystem.",
|
193
|
-
"privacy": "public"
|
194
|
-
}
|
195
|
-
],
|
174
|
+
"path": "src/directives/index.ts",
|
175
|
+
"declarations": [],
|
196
176
|
"exports": [
|
197
177
|
{
|
198
178
|
"kind": "js",
|
199
|
-
"name": "
|
179
|
+
"name": "*",
|
200
180
|
"declaration": {
|
201
|
-
"name": "
|
202
|
-
"
|
181
|
+
"name": "*",
|
182
|
+
"package": "./sync"
|
183
|
+
}
|
184
|
+
},
|
185
|
+
{
|
186
|
+
"kind": "js",
|
187
|
+
"name": "*",
|
188
|
+
"declaration": {
|
189
|
+
"name": "*",
|
190
|
+
"package": "./when-else"
|
203
191
|
}
|
204
192
|
}
|
205
193
|
]
|
206
194
|
},
|
207
195
|
{
|
208
196
|
"kind": "javascript-module",
|
209
|
-
"path": "src/
|
210
|
-
"declarations": [
|
197
|
+
"path": "src/data/inMemoryDatabase.ts",
|
198
|
+
"declarations": [
|
199
|
+
{
|
200
|
+
"kind": "class",
|
201
|
+
"description": "An in memory database of specific DatabaseRecord types.",
|
202
|
+
"name": "InMemoryDatabase",
|
203
|
+
"members": [
|
204
|
+
{
|
205
|
+
"kind": "field",
|
206
|
+
"name": "isWorking",
|
207
|
+
"type": {
|
208
|
+
"text": "boolean"
|
209
|
+
},
|
210
|
+
"privacy": "public",
|
211
|
+
"default": "false"
|
212
|
+
},
|
213
|
+
{
|
214
|
+
"kind": "field",
|
215
|
+
"name": "records",
|
216
|
+
"type": {
|
217
|
+
"text": "Record<string, T>"
|
218
|
+
},
|
219
|
+
"privacy": "private",
|
220
|
+
"default": "{}"
|
221
|
+
},
|
222
|
+
{
|
223
|
+
"kind": "field",
|
224
|
+
"name": "beforeUpdateListeners",
|
225
|
+
"privacy": "private"
|
226
|
+
},
|
227
|
+
{
|
228
|
+
"kind": "field",
|
229
|
+
"name": "afterUpdateListeners",
|
230
|
+
"privacy": "private"
|
231
|
+
},
|
232
|
+
{
|
233
|
+
"kind": "method",
|
234
|
+
"name": "create",
|
235
|
+
"privacy": "public",
|
236
|
+
"return": {
|
237
|
+
"type": {
|
238
|
+
"text": "Promise<DatabaseAccessResult.Create<T>>"
|
239
|
+
}
|
240
|
+
},
|
241
|
+
"parameters": [
|
242
|
+
{
|
243
|
+
"name": "newValue",
|
244
|
+
"type": {
|
245
|
+
"text": "Omit<T, 'id'>"
|
246
|
+
}
|
247
|
+
}
|
248
|
+
]
|
249
|
+
},
|
250
|
+
{
|
251
|
+
"kind": "method",
|
252
|
+
"name": "read",
|
253
|
+
"privacy": "public",
|
254
|
+
"return": {
|
255
|
+
"type": {
|
256
|
+
"text": "Promise<DatabaseAccessResult.Read<T>>"
|
257
|
+
}
|
258
|
+
},
|
259
|
+
"parameters": [
|
260
|
+
{
|
261
|
+
"name": "id",
|
262
|
+
"type": {
|
263
|
+
"text": "string"
|
264
|
+
}
|
265
|
+
}
|
266
|
+
]
|
267
|
+
},
|
268
|
+
{
|
269
|
+
"kind": "method",
|
270
|
+
"name": "update",
|
271
|
+
"privacy": "public",
|
272
|
+
"return": {
|
273
|
+
"type": {
|
274
|
+
"text": "Promise<DatabaseAccessResult.Update<T>>"
|
275
|
+
}
|
276
|
+
},
|
277
|
+
"parameters": [
|
278
|
+
{
|
279
|
+
"name": "id",
|
280
|
+
"type": {
|
281
|
+
"text": "string"
|
282
|
+
}
|
283
|
+
},
|
284
|
+
{
|
285
|
+
"name": "newValue",
|
286
|
+
"type": {
|
287
|
+
"text": "Omit<Partial<T>, 'id'>"
|
288
|
+
}
|
289
|
+
}
|
290
|
+
]
|
291
|
+
},
|
292
|
+
{
|
293
|
+
"kind": "method",
|
294
|
+
"name": "delete",
|
295
|
+
"privacy": "public",
|
296
|
+
"return": {
|
297
|
+
"type": {
|
298
|
+
"text": "Promise<DatabaseAccessResult.Delete>"
|
299
|
+
}
|
300
|
+
},
|
301
|
+
"parameters": [
|
302
|
+
{
|
303
|
+
"name": "id",
|
304
|
+
"type": {
|
305
|
+
"text": "string"
|
306
|
+
}
|
307
|
+
}
|
308
|
+
]
|
309
|
+
},
|
310
|
+
{
|
311
|
+
"kind": "method",
|
312
|
+
"name": "visit",
|
313
|
+
"privacy": "public",
|
314
|
+
"return": {
|
315
|
+
"type": {
|
316
|
+
"text": "Promise<void>"
|
317
|
+
}
|
318
|
+
},
|
319
|
+
"parameters": [
|
320
|
+
{
|
321
|
+
"name": "visitor",
|
322
|
+
"type": {
|
323
|
+
"text": "(record: T) => void"
|
324
|
+
}
|
325
|
+
}
|
326
|
+
]
|
327
|
+
},
|
328
|
+
{
|
329
|
+
"kind": "method",
|
330
|
+
"name": "onBeforeUpdate",
|
331
|
+
"privacy": "public",
|
332
|
+
"return": {
|
333
|
+
"type": {
|
334
|
+
"text": "() => void"
|
335
|
+
}
|
336
|
+
},
|
337
|
+
"parameters": [
|
338
|
+
{
|
339
|
+
"name": "listener",
|
340
|
+
"type": {
|
341
|
+
"text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
|
342
|
+
}
|
343
|
+
}
|
344
|
+
]
|
345
|
+
},
|
346
|
+
{
|
347
|
+
"kind": "method",
|
348
|
+
"name": "onAfterUpdate",
|
349
|
+
"privacy": "public",
|
350
|
+
"return": {
|
351
|
+
"type": {
|
352
|
+
"text": "() => void"
|
353
|
+
}
|
354
|
+
},
|
355
|
+
"parameters": [
|
356
|
+
{
|
357
|
+
"name": "listener",
|
358
|
+
"type": {
|
359
|
+
"text": "Listener<DatabaseEvent.AfterUpdate<T>>"
|
360
|
+
}
|
361
|
+
}
|
362
|
+
]
|
363
|
+
}
|
364
|
+
]
|
365
|
+
}
|
366
|
+
],
|
211
367
|
"exports": [
|
212
368
|
{
|
213
369
|
"kind": "js",
|
214
|
-
"name": "
|
370
|
+
"name": "InMemoryDatabase",
|
215
371
|
"declaration": {
|
216
|
-
"name": "
|
217
|
-
"
|
372
|
+
"name": "InMemoryDatabase",
|
373
|
+
"module": "src/data/inMemoryDatabase.ts"
|
218
374
|
}
|
219
375
|
}
|
220
376
|
]
|
221
377
|
},
|
222
378
|
{
|
223
379
|
"kind": "javascript-module",
|
224
|
-
"path": "src/
|
380
|
+
"path": "src/data/index.ts",
|
225
381
|
"declarations": [],
|
226
382
|
"exports": [
|
227
383
|
{
|
@@ -229,15 +385,7 @@
|
|
229
385
|
"name": "*",
|
230
386
|
"declaration": {
|
231
387
|
"name": "*",
|
232
|
-
"package": "./
|
233
|
-
}
|
234
|
-
},
|
235
|
-
{
|
236
|
-
"kind": "js",
|
237
|
-
"name": "*",
|
238
|
-
"declaration": {
|
239
|
-
"name": "*",
|
240
|
-
"package": "./when-else"
|
388
|
+
"package": "./inMemoryDatabase"
|
241
389
|
}
|
242
390
|
}
|
243
391
|
]
|
@@ -529,216 +677,18 @@
|
|
529
677
|
},
|
530
678
|
{
|
531
679
|
"kind": "js",
|
532
|
-
"name": "DEFAULT_PASSWORD",
|
533
|
-
"declaration": {
|
534
|
-
"name": "_DEFAULT_PASSWORD",
|
535
|
-
"module": "src/env/variables.ts"
|
536
|
-
}
|
537
|
-
},
|
538
|
-
{
|
539
|
-
"kind": "js",
|
540
|
-
"name": "DEFAULT_USER",
|
541
|
-
"declaration": {
|
542
|
-
"name": "_DEFAULT_USER",
|
543
|
-
"module": "src/env/variables.ts"
|
544
|
-
}
|
545
|
-
}
|
546
|
-
]
|
547
|
-
},
|
548
|
-
{
|
549
|
-
"kind": "javascript-module",
|
550
|
-
"path": "src/data/inMemoryDatabase.ts",
|
551
|
-
"declarations": [
|
552
|
-
{
|
553
|
-
"kind": "class",
|
554
|
-
"description": "An in memory database of specific DatabaseRecord types.",
|
555
|
-
"name": "InMemoryDatabase",
|
556
|
-
"members": [
|
557
|
-
{
|
558
|
-
"kind": "field",
|
559
|
-
"name": "isWorking",
|
560
|
-
"type": {
|
561
|
-
"text": "boolean"
|
562
|
-
},
|
563
|
-
"privacy": "public",
|
564
|
-
"default": "false"
|
565
|
-
},
|
566
|
-
{
|
567
|
-
"kind": "field",
|
568
|
-
"name": "records",
|
569
|
-
"type": {
|
570
|
-
"text": "Record<string, T>"
|
571
|
-
},
|
572
|
-
"privacy": "private",
|
573
|
-
"default": "{}"
|
574
|
-
},
|
575
|
-
{
|
576
|
-
"kind": "field",
|
577
|
-
"name": "beforeUpdateListeners",
|
578
|
-
"privacy": "private"
|
579
|
-
},
|
580
|
-
{
|
581
|
-
"kind": "field",
|
582
|
-
"name": "afterUpdateListeners",
|
583
|
-
"privacy": "private"
|
584
|
-
},
|
585
|
-
{
|
586
|
-
"kind": "method",
|
587
|
-
"name": "create",
|
588
|
-
"privacy": "public",
|
589
|
-
"return": {
|
590
|
-
"type": {
|
591
|
-
"text": "Promise<DatabaseAccessResult.Create<T>>"
|
592
|
-
}
|
593
|
-
},
|
594
|
-
"parameters": [
|
595
|
-
{
|
596
|
-
"name": "newValue",
|
597
|
-
"type": {
|
598
|
-
"text": "Omit<T, 'id'>"
|
599
|
-
}
|
600
|
-
}
|
601
|
-
]
|
602
|
-
},
|
603
|
-
{
|
604
|
-
"kind": "method",
|
605
|
-
"name": "read",
|
606
|
-
"privacy": "public",
|
607
|
-
"return": {
|
608
|
-
"type": {
|
609
|
-
"text": "Promise<DatabaseAccessResult.Read<T>>"
|
610
|
-
}
|
611
|
-
},
|
612
|
-
"parameters": [
|
613
|
-
{
|
614
|
-
"name": "id",
|
615
|
-
"type": {
|
616
|
-
"text": "string"
|
617
|
-
}
|
618
|
-
}
|
619
|
-
]
|
620
|
-
},
|
621
|
-
{
|
622
|
-
"kind": "method",
|
623
|
-
"name": "update",
|
624
|
-
"privacy": "public",
|
625
|
-
"return": {
|
626
|
-
"type": {
|
627
|
-
"text": "Promise<DatabaseAccessResult.Update<T>>"
|
628
|
-
}
|
629
|
-
},
|
630
|
-
"parameters": [
|
631
|
-
{
|
632
|
-
"name": "id",
|
633
|
-
"type": {
|
634
|
-
"text": "string"
|
635
|
-
}
|
636
|
-
},
|
637
|
-
{
|
638
|
-
"name": "newValue",
|
639
|
-
"type": {
|
640
|
-
"text": "Omit<Partial<T>, 'id'>"
|
641
|
-
}
|
642
|
-
}
|
643
|
-
]
|
644
|
-
},
|
645
|
-
{
|
646
|
-
"kind": "method",
|
647
|
-
"name": "delete",
|
648
|
-
"privacy": "public",
|
649
|
-
"return": {
|
650
|
-
"type": {
|
651
|
-
"text": "Promise<DatabaseAccessResult.Delete>"
|
652
|
-
}
|
653
|
-
},
|
654
|
-
"parameters": [
|
655
|
-
{
|
656
|
-
"name": "id",
|
657
|
-
"type": {
|
658
|
-
"text": "string"
|
659
|
-
}
|
660
|
-
}
|
661
|
-
]
|
662
|
-
},
|
663
|
-
{
|
664
|
-
"kind": "method",
|
665
|
-
"name": "visit",
|
666
|
-
"privacy": "public",
|
667
|
-
"return": {
|
668
|
-
"type": {
|
669
|
-
"text": "Promise<void>"
|
670
|
-
}
|
671
|
-
},
|
672
|
-
"parameters": [
|
673
|
-
{
|
674
|
-
"name": "visitor",
|
675
|
-
"type": {
|
676
|
-
"text": "(record: T) => void"
|
677
|
-
}
|
678
|
-
}
|
679
|
-
]
|
680
|
-
},
|
681
|
-
{
|
682
|
-
"kind": "method",
|
683
|
-
"name": "onBeforeUpdate",
|
684
|
-
"privacy": "public",
|
685
|
-
"return": {
|
686
|
-
"type": {
|
687
|
-
"text": "() => void"
|
688
|
-
}
|
689
|
-
},
|
690
|
-
"parameters": [
|
691
|
-
{
|
692
|
-
"name": "listener",
|
693
|
-
"type": {
|
694
|
-
"text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
|
695
|
-
}
|
696
|
-
}
|
697
|
-
]
|
698
|
-
},
|
699
|
-
{
|
700
|
-
"kind": "method",
|
701
|
-
"name": "onAfterUpdate",
|
702
|
-
"privacy": "public",
|
703
|
-
"return": {
|
704
|
-
"type": {
|
705
|
-
"text": "() => void"
|
706
|
-
}
|
707
|
-
},
|
708
|
-
"parameters": [
|
709
|
-
{
|
710
|
-
"name": "listener",
|
711
|
-
"type": {
|
712
|
-
"text": "Listener<DatabaseEvent.AfterUpdate<T>>"
|
713
|
-
}
|
714
|
-
}
|
715
|
-
]
|
716
|
-
}
|
717
|
-
]
|
718
|
-
}
|
719
|
-
],
|
720
|
-
"exports": [
|
721
|
-
{
|
722
|
-
"kind": "js",
|
723
|
-
"name": "InMemoryDatabase",
|
724
|
-
"declaration": {
|
725
|
-
"name": "InMemoryDatabase",
|
726
|
-
"module": "src/data/inMemoryDatabase.ts"
|
727
|
-
}
|
728
|
-
}
|
729
|
-
]
|
730
|
-
},
|
731
|
-
{
|
732
|
-
"kind": "javascript-module",
|
733
|
-
"path": "src/data/index.ts",
|
734
|
-
"declarations": [],
|
735
|
-
"exports": [
|
680
|
+
"name": "DEFAULT_PASSWORD",
|
681
|
+
"declaration": {
|
682
|
+
"name": "_DEFAULT_PASSWORD",
|
683
|
+
"module": "src/env/variables.ts"
|
684
|
+
}
|
685
|
+
},
|
736
686
|
{
|
737
687
|
"kind": "js",
|
738
|
-
"name": "
|
688
|
+
"name": "DEFAULT_USER",
|
739
689
|
"declaration": {
|
740
|
-
"name": "
|
741
|
-
"
|
690
|
+
"name": "_DEFAULT_USER",
|
691
|
+
"module": "src/env/variables.ts"
|
742
692
|
}
|
743
693
|
}
|
744
694
|
]
|
@@ -995,6 +945,56 @@
|
|
995
945
|
}
|
996
946
|
]
|
997
947
|
},
|
948
|
+
{
|
949
|
+
"kind": "javascript-module",
|
950
|
+
"path": "src/design-system/design-system.ts",
|
951
|
+
"declarations": [
|
952
|
+
{
|
953
|
+
"kind": "function",
|
954
|
+
"name": "assureDesignSystem",
|
955
|
+
"return": {
|
956
|
+
"type": {
|
957
|
+
"text": "DesignSystemModule"
|
958
|
+
}
|
959
|
+
},
|
960
|
+
"parameters": [
|
961
|
+
{
|
962
|
+
"name": "module",
|
963
|
+
"type": {
|
964
|
+
"text": "DesignSystemModule"
|
965
|
+
}
|
966
|
+
}
|
967
|
+
],
|
968
|
+
"description": "assureDesignSystem.",
|
969
|
+
"privacy": "public"
|
970
|
+
}
|
971
|
+
],
|
972
|
+
"exports": [
|
973
|
+
{
|
974
|
+
"kind": "js",
|
975
|
+
"name": "assureDesignSystem",
|
976
|
+
"declaration": {
|
977
|
+
"name": "assureDesignSystem",
|
978
|
+
"module": "src/design-system/design-system.ts"
|
979
|
+
}
|
980
|
+
}
|
981
|
+
]
|
982
|
+
},
|
983
|
+
{
|
984
|
+
"kind": "javascript-module",
|
985
|
+
"path": "src/design-system/index.ts",
|
986
|
+
"declarations": [],
|
987
|
+
"exports": [
|
988
|
+
{
|
989
|
+
"kind": "js",
|
990
|
+
"name": "*",
|
991
|
+
"declaration": {
|
992
|
+
"name": "*",
|
993
|
+
"package": "./design-system"
|
994
|
+
}
|
995
|
+
}
|
996
|
+
]
|
997
|
+
},
|
998
998
|
{
|
999
999
|
"kind": "javascript-module",
|
1000
1000
|
"path": "src/formatters/datetime.ts",
|
@@ -1714,6 +1714,43 @@
|
|
1714
1714
|
}
|
1715
1715
|
]
|
1716
1716
|
},
|
1717
|
+
{
|
1718
|
+
"kind": "javascript-module",
|
1719
|
+
"path": "src/utils/index.ts",
|
1720
|
+
"declarations": [],
|
1721
|
+
"exports": [
|
1722
|
+
{
|
1723
|
+
"kind": "js",
|
1724
|
+
"name": "*",
|
1725
|
+
"declaration": {
|
1726
|
+
"name": "*",
|
1727
|
+
"package": "./logger"
|
1728
|
+
}
|
1729
|
+
}
|
1730
|
+
]
|
1731
|
+
},
|
1732
|
+
{
|
1733
|
+
"kind": "javascript-module",
|
1734
|
+
"path": "src/utils/logger.ts",
|
1735
|
+
"declarations": [
|
1736
|
+
{
|
1737
|
+
"kind": "variable",
|
1738
|
+
"name": "logger",
|
1739
|
+
"description": "Logger for the foundation-utils package",
|
1740
|
+
"privacy": "public"
|
1741
|
+
}
|
1742
|
+
],
|
1743
|
+
"exports": [
|
1744
|
+
{
|
1745
|
+
"kind": "js",
|
1746
|
+
"name": "logger",
|
1747
|
+
"declaration": {
|
1748
|
+
"name": "logger",
|
1749
|
+
"module": "src/utils/logger.ts"
|
1750
|
+
}
|
1751
|
+
}
|
1752
|
+
]
|
1753
|
+
},
|
1717
1754
|
{
|
1718
1755
|
"kind": "javascript-module",
|
1719
1756
|
"path": "src/styles/color.ts",
|
@@ -2061,43 +2098,6 @@
|
|
2061
2098
|
}
|
2062
2099
|
]
|
2063
2100
|
},
|
2064
|
-
{
|
2065
|
-
"kind": "javascript-module",
|
2066
|
-
"path": "src/utils/index.ts",
|
2067
|
-
"declarations": [],
|
2068
|
-
"exports": [
|
2069
|
-
{
|
2070
|
-
"kind": "js",
|
2071
|
-
"name": "*",
|
2072
|
-
"declaration": {
|
2073
|
-
"name": "*",
|
2074
|
-
"package": "./logger"
|
2075
|
-
}
|
2076
|
-
}
|
2077
|
-
]
|
2078
|
-
},
|
2079
|
-
{
|
2080
|
-
"kind": "javascript-module",
|
2081
|
-
"path": "src/utils/logger.ts",
|
2082
|
-
"declarations": [
|
2083
|
-
{
|
2084
|
-
"kind": "variable",
|
2085
|
-
"name": "logger",
|
2086
|
-
"description": "Logger for the foundation-utils package",
|
2087
|
-
"privacy": "public"
|
2088
|
-
}
|
2089
|
-
],
|
2090
|
-
"exports": [
|
2091
|
-
{
|
2092
|
-
"kind": "js",
|
2093
|
-
"name": "logger",
|
2094
|
-
"declaration": {
|
2095
|
-
"name": "logger",
|
2096
|
-
"module": "src/utils/logger.ts"
|
2097
|
-
}
|
2098
|
-
}
|
2099
|
-
]
|
2100
|
-
},
|
2101
2101
|
{
|
2102
2102
|
"kind": "javascript-module",
|
2103
2103
|
"path": "src/uuid/index.ts",
|
@@ -2285,7 +2285,7 @@
|
|
2285
2285
|
},
|
2286
2286
|
{
|
2287
2287
|
"kind": "javascript-module",
|
2288
|
-
"path": "src/directives/
|
2288
|
+
"path": "src/directives/sync/index.ts",
|
2289
2289
|
"declarations": [],
|
2290
2290
|
"exports": [
|
2291
2291
|
{
|
@@ -2293,18 +2293,28 @@
|
|
2293
2293
|
"name": "*",
|
2294
2294
|
"declaration": {
|
2295
2295
|
"name": "*",
|
2296
|
-
"package": "./
|
2296
|
+
"package": "./sync"
|
2297
2297
|
}
|
2298
2298
|
}
|
2299
2299
|
]
|
2300
2300
|
},
|
2301
2301
|
{
|
2302
2302
|
"kind": "javascript-module",
|
2303
|
-
"path": "src/directives/
|
2303
|
+
"path": "src/directives/sync/sync.ts",
|
2304
2304
|
"declarations": [
|
2305
|
+
{
|
2306
|
+
"kind": "variable",
|
2307
|
+
"name": "defaultEventMap",
|
2308
|
+
"type": {
|
2309
|
+
"text": "Map<string, EventName>"
|
2310
|
+
},
|
2311
|
+
"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])",
|
2312
|
+
"description": "A map that associates specific HTML element tags with their corresponding default event names.",
|
2313
|
+
"privacy": "public"
|
2314
|
+
},
|
2305
2315
|
{
|
2306
2316
|
"kind": "function",
|
2307
|
-
"name": "
|
2317
|
+
"name": "sync",
|
2308
2318
|
"return": {
|
2309
2319
|
"type": {
|
2310
2320
|
"text": "CaptureType<TSource>"
|
@@ -2315,42 +2325,56 @@
|
|
2315
2325
|
"name": "binding",
|
2316
2326
|
"type": {
|
2317
2327
|
"text": "Binding<TSource, TReturn>"
|
2318
|
-
}
|
2319
|
-
"description": "The condition to test for rendering."
|
2328
|
+
}
|
2320
2329
|
},
|
2321
2330
|
{
|
2322
|
-
"name": "
|
2331
|
+
"name": "conversionType",
|
2332
|
+
"default": "'string'",
|
2323
2333
|
"type": {
|
2324
|
-
"text": "
|
2325
|
-
}
|
2326
|
-
"description": "The template or a binding that gets the template to render when the condition is true."
|
2334
|
+
"text": "ConversionType"
|
2335
|
+
}
|
2327
2336
|
},
|
2328
2337
|
{
|
2329
|
-
"name": "
|
2338
|
+
"name": "eventName",
|
2339
|
+
"default": "'default'",
|
2330
2340
|
"type": {
|
2331
|
-
"text": "
|
2332
|
-
}
|
2333
|
-
|
2341
|
+
"text": "EventName"
|
2342
|
+
}
|
2343
|
+
},
|
2344
|
+
{
|
2345
|
+
"name": "keyAttr",
|
2346
|
+
"optional": true,
|
2347
|
+
"type": {
|
2348
|
+
"text": "string"
|
2349
|
+
}
|
2334
2350
|
}
|
2335
2351
|
],
|
2336
|
-
"description": "
|
2352
|
+
"description": "Creates a synchronization directive that binds a data source to an HTML element,",
|
2337
2353
|
"privacy": "public"
|
2338
2354
|
}
|
2339
2355
|
],
|
2340
2356
|
"exports": [
|
2341
2357
|
{
|
2342
2358
|
"kind": "js",
|
2343
|
-
"name": "
|
2359
|
+
"name": "defaultEventMap",
|
2344
2360
|
"declaration": {
|
2345
|
-
"name": "
|
2346
|
-
"module": "src/directives/
|
2361
|
+
"name": "defaultEventMap",
|
2362
|
+
"module": "src/directives/sync/sync.ts"
|
2363
|
+
}
|
2364
|
+
},
|
2365
|
+
{
|
2366
|
+
"kind": "js",
|
2367
|
+
"name": "sync",
|
2368
|
+
"declaration": {
|
2369
|
+
"name": "sync",
|
2370
|
+
"module": "src/directives/sync/sync.ts"
|
2347
2371
|
}
|
2348
2372
|
}
|
2349
2373
|
]
|
2350
2374
|
},
|
2351
2375
|
{
|
2352
2376
|
"kind": "javascript-module",
|
2353
|
-
"path": "src/directives/
|
2377
|
+
"path": "src/directives/when-else/index.ts",
|
2354
2378
|
"declarations": [],
|
2355
2379
|
"exports": [
|
2356
2380
|
{
|
@@ -2358,28 +2382,18 @@
|
|
2358
2382
|
"name": "*",
|
2359
2383
|
"declaration": {
|
2360
2384
|
"name": "*",
|
2361
|
-
"package": "./
|
2385
|
+
"package": "./when-else"
|
2362
2386
|
}
|
2363
2387
|
}
|
2364
2388
|
]
|
2365
2389
|
},
|
2366
2390
|
{
|
2367
2391
|
"kind": "javascript-module",
|
2368
|
-
"path": "src/directives/
|
2392
|
+
"path": "src/directives/when-else/when-else.ts",
|
2369
2393
|
"declarations": [
|
2370
|
-
{
|
2371
|
-
"kind": "variable",
|
2372
|
-
"name": "defaultEventMap",
|
2373
|
-
"type": {
|
2374
|
-
"text": "Map<string, EventName>"
|
2375
|
-
},
|
2376
|
-
"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])",
|
2377
|
-
"description": "A map that associates specific HTML element tags with their corresponding default event names.",
|
2378
|
-
"privacy": "public"
|
2379
|
-
},
|
2380
2394
|
{
|
2381
2395
|
"kind": "function",
|
2382
|
-
"name": "
|
2396
|
+
"name": "whenElse",
|
2383
2397
|
"return": {
|
2384
2398
|
"type": {
|
2385
2399
|
"text": "CaptureType<TSource>"
|
@@ -2390,49 +2404,35 @@
|
|
2390
2404
|
"name": "binding",
|
2391
2405
|
"type": {
|
2392
2406
|
"text": "Binding<TSource, TReturn>"
|
2393
|
-
}
|
2394
|
-
|
2395
|
-
{
|
2396
|
-
"name": "conversionType",
|
2397
|
-
"default": "'string'",
|
2398
|
-
"type": {
|
2399
|
-
"text": "ConversionType"
|
2400
|
-
}
|
2407
|
+
},
|
2408
|
+
"description": "The condition to test for rendering."
|
2401
2409
|
},
|
2402
2410
|
{
|
2403
|
-
"name": "
|
2404
|
-
"default": "'default'",
|
2411
|
+
"name": "trueTemplateOrTemplateBinding",
|
2405
2412
|
"type": {
|
2406
|
-
"text": "
|
2407
|
-
}
|
2413
|
+
"text": "WhenTemplate<TSource>"
|
2414
|
+
},
|
2415
|
+
"description": "The template or a binding that gets the template to render when the condition is true."
|
2408
2416
|
},
|
2409
2417
|
{
|
2410
|
-
"name": "
|
2411
|
-
"optional": true,
|
2418
|
+
"name": "falseTemplateOrTemplateBinding",
|
2412
2419
|
"type": {
|
2413
|
-
"text": "
|
2414
|
-
}
|
2420
|
+
"text": "WhenTemplate<TSource>"
|
2421
|
+
},
|
2422
|
+
"description": "The template or a binding that gets the template to render when the condition is false."
|
2415
2423
|
}
|
2416
2424
|
],
|
2417
|
-
"description": "
|
2425
|
+
"description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
|
2418
2426
|
"privacy": "public"
|
2419
2427
|
}
|
2420
2428
|
],
|
2421
2429
|
"exports": [
|
2422
2430
|
{
|
2423
2431
|
"kind": "js",
|
2424
|
-
"name": "
|
2425
|
-
"declaration": {
|
2426
|
-
"name": "defaultEventMap",
|
2427
|
-
"module": "src/directives/sync/sync.ts"
|
2428
|
-
}
|
2429
|
-
},
|
2430
|
-
{
|
2431
|
-
"kind": "js",
|
2432
|
-
"name": "sync",
|
2432
|
+
"name": "whenElse",
|
2433
2433
|
"declaration": {
|
2434
|
-
"name": "
|
2435
|
-
"module": "src/directives/
|
2434
|
+
"name": "whenElse",
|
2435
|
+
"module": "src/directives/when-else/when-else.ts"
|
2436
2436
|
}
|
2437
2437
|
}
|
2438
2438
|
]
|
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.
|
4
|
+
"version": "14.228.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.
|
31
|
-
"@genesislcap/genx": "14.
|
32
|
-
"@genesislcap/rollup-builder": "14.
|
33
|
-
"@genesislcap/ts-builder": "14.
|
34
|
-
"@genesislcap/uvu-playwright-builder": "14.
|
35
|
-
"@genesislcap/vite-builder": "14.
|
36
|
-
"@genesislcap/webpack-builder": "14.
|
30
|
+
"@genesislcap/foundation-testing": "14.228.0",
|
31
|
+
"@genesislcap/genx": "14.228.0",
|
32
|
+
"@genesislcap/rollup-builder": "14.228.0",
|
33
|
+
"@genesislcap/ts-builder": "14.228.0",
|
34
|
+
"@genesislcap/uvu-playwright-builder": "14.228.0",
|
35
|
+
"@genesislcap/vite-builder": "14.228.0",
|
36
|
+
"@genesislcap/webpack-builder": "14.228.0",
|
37
37
|
"rimraf": "^5.0.0"
|
38
38
|
},
|
39
39
|
"dependencies": {
|
40
|
-
"@genesislcap/foundation-logger": "14.
|
40
|
+
"@genesislcap/foundation-logger": "14.228.0",
|
41
41
|
"@microsoft/fast-components": "2.30.6",
|
42
42
|
"@microsoft/fast-element": "1.14.0",
|
43
43
|
"@microsoft/fast-foundation": "2.49.6",
|
@@ -55,5 +55,5 @@
|
|
55
55
|
"access": "public"
|
56
56
|
},
|
57
57
|
"customElements": "dist/custom-elements.json",
|
58
|
-
"gitHead": "
|
58
|
+
"gitHead": "a8c87f80b2eab109ea129977bdbb803d6980da95"
|
59
59
|
}
|