@genesislcap/foundation-utils 14.199.2 → 14.200.0-FUI-2127.2
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 +313 -313
- package/package.json +10 -10
|
@@ -159,204 +159,6 @@
|
|
|
159
159
|
}
|
|
160
160
|
]
|
|
161
161
|
},
|
|
162
|
-
{
|
|
163
|
-
"kind": "javascript-module",
|
|
164
|
-
"path": "src/data/inMemoryDatabase.ts",
|
|
165
|
-
"declarations": [
|
|
166
|
-
{
|
|
167
|
-
"kind": "class",
|
|
168
|
-
"description": "An in memory database of specific DatabaseRecord types.",
|
|
169
|
-
"name": "InMemoryDatabase",
|
|
170
|
-
"members": [
|
|
171
|
-
{
|
|
172
|
-
"kind": "field",
|
|
173
|
-
"name": "isWorking",
|
|
174
|
-
"type": {
|
|
175
|
-
"text": "boolean"
|
|
176
|
-
},
|
|
177
|
-
"privacy": "public",
|
|
178
|
-
"default": "false"
|
|
179
|
-
},
|
|
180
|
-
{
|
|
181
|
-
"kind": "field",
|
|
182
|
-
"name": "records",
|
|
183
|
-
"type": {
|
|
184
|
-
"text": "Record<string, T>"
|
|
185
|
-
},
|
|
186
|
-
"privacy": "private",
|
|
187
|
-
"default": "{}"
|
|
188
|
-
},
|
|
189
|
-
{
|
|
190
|
-
"kind": "field",
|
|
191
|
-
"name": "beforeUpdateListeners",
|
|
192
|
-
"privacy": "private"
|
|
193
|
-
},
|
|
194
|
-
{
|
|
195
|
-
"kind": "field",
|
|
196
|
-
"name": "afterUpdateListeners",
|
|
197
|
-
"privacy": "private"
|
|
198
|
-
},
|
|
199
|
-
{
|
|
200
|
-
"kind": "method",
|
|
201
|
-
"name": "create",
|
|
202
|
-
"privacy": "public",
|
|
203
|
-
"return": {
|
|
204
|
-
"type": {
|
|
205
|
-
"text": "Promise<DatabaseAccessResult.Create<T>>"
|
|
206
|
-
}
|
|
207
|
-
},
|
|
208
|
-
"parameters": [
|
|
209
|
-
{
|
|
210
|
-
"name": "newValue",
|
|
211
|
-
"type": {
|
|
212
|
-
"text": "Omit<T, 'id'>"
|
|
213
|
-
}
|
|
214
|
-
}
|
|
215
|
-
]
|
|
216
|
-
},
|
|
217
|
-
{
|
|
218
|
-
"kind": "method",
|
|
219
|
-
"name": "read",
|
|
220
|
-
"privacy": "public",
|
|
221
|
-
"return": {
|
|
222
|
-
"type": {
|
|
223
|
-
"text": "Promise<DatabaseAccessResult.Read<T>>"
|
|
224
|
-
}
|
|
225
|
-
},
|
|
226
|
-
"parameters": [
|
|
227
|
-
{
|
|
228
|
-
"name": "id",
|
|
229
|
-
"type": {
|
|
230
|
-
"text": "string"
|
|
231
|
-
}
|
|
232
|
-
}
|
|
233
|
-
]
|
|
234
|
-
},
|
|
235
|
-
{
|
|
236
|
-
"kind": "method",
|
|
237
|
-
"name": "update",
|
|
238
|
-
"privacy": "public",
|
|
239
|
-
"return": {
|
|
240
|
-
"type": {
|
|
241
|
-
"text": "Promise<DatabaseAccessResult.Update<T>>"
|
|
242
|
-
}
|
|
243
|
-
},
|
|
244
|
-
"parameters": [
|
|
245
|
-
{
|
|
246
|
-
"name": "id",
|
|
247
|
-
"type": {
|
|
248
|
-
"text": "string"
|
|
249
|
-
}
|
|
250
|
-
},
|
|
251
|
-
{
|
|
252
|
-
"name": "newValue",
|
|
253
|
-
"type": {
|
|
254
|
-
"text": "Omit<Partial<T>, 'id'>"
|
|
255
|
-
}
|
|
256
|
-
}
|
|
257
|
-
]
|
|
258
|
-
},
|
|
259
|
-
{
|
|
260
|
-
"kind": "method",
|
|
261
|
-
"name": "delete",
|
|
262
|
-
"privacy": "public",
|
|
263
|
-
"return": {
|
|
264
|
-
"type": {
|
|
265
|
-
"text": "Promise<DatabaseAccessResult.Delete>"
|
|
266
|
-
}
|
|
267
|
-
},
|
|
268
|
-
"parameters": [
|
|
269
|
-
{
|
|
270
|
-
"name": "id",
|
|
271
|
-
"type": {
|
|
272
|
-
"text": "string"
|
|
273
|
-
}
|
|
274
|
-
}
|
|
275
|
-
]
|
|
276
|
-
},
|
|
277
|
-
{
|
|
278
|
-
"kind": "method",
|
|
279
|
-
"name": "visit",
|
|
280
|
-
"privacy": "public",
|
|
281
|
-
"return": {
|
|
282
|
-
"type": {
|
|
283
|
-
"text": "Promise<void>"
|
|
284
|
-
}
|
|
285
|
-
},
|
|
286
|
-
"parameters": [
|
|
287
|
-
{
|
|
288
|
-
"name": "visitor",
|
|
289
|
-
"type": {
|
|
290
|
-
"text": "(record: T) => void"
|
|
291
|
-
}
|
|
292
|
-
}
|
|
293
|
-
]
|
|
294
|
-
},
|
|
295
|
-
{
|
|
296
|
-
"kind": "method",
|
|
297
|
-
"name": "onBeforeUpdate",
|
|
298
|
-
"privacy": "public",
|
|
299
|
-
"return": {
|
|
300
|
-
"type": {
|
|
301
|
-
"text": "() => void"
|
|
302
|
-
}
|
|
303
|
-
},
|
|
304
|
-
"parameters": [
|
|
305
|
-
{
|
|
306
|
-
"name": "listener",
|
|
307
|
-
"type": {
|
|
308
|
-
"text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
|
|
309
|
-
}
|
|
310
|
-
}
|
|
311
|
-
]
|
|
312
|
-
},
|
|
313
|
-
{
|
|
314
|
-
"kind": "method",
|
|
315
|
-
"name": "onAfterUpdate",
|
|
316
|
-
"privacy": "public",
|
|
317
|
-
"return": {
|
|
318
|
-
"type": {
|
|
319
|
-
"text": "() => void"
|
|
320
|
-
}
|
|
321
|
-
},
|
|
322
|
-
"parameters": [
|
|
323
|
-
{
|
|
324
|
-
"name": "listener",
|
|
325
|
-
"type": {
|
|
326
|
-
"text": "Listener<DatabaseEvent.AfterUpdate<T>>"
|
|
327
|
-
}
|
|
328
|
-
}
|
|
329
|
-
]
|
|
330
|
-
}
|
|
331
|
-
]
|
|
332
|
-
}
|
|
333
|
-
],
|
|
334
|
-
"exports": [
|
|
335
|
-
{
|
|
336
|
-
"kind": "js",
|
|
337
|
-
"name": "InMemoryDatabase",
|
|
338
|
-
"declaration": {
|
|
339
|
-
"name": "InMemoryDatabase",
|
|
340
|
-
"module": "src/data/inMemoryDatabase.ts"
|
|
341
|
-
}
|
|
342
|
-
}
|
|
343
|
-
]
|
|
344
|
-
},
|
|
345
|
-
{
|
|
346
|
-
"kind": "javascript-module",
|
|
347
|
-
"path": "src/data/index.ts",
|
|
348
|
-
"declarations": [],
|
|
349
|
-
"exports": [
|
|
350
|
-
{
|
|
351
|
-
"kind": "js",
|
|
352
|
-
"name": "*",
|
|
353
|
-
"declaration": {
|
|
354
|
-
"name": "*",
|
|
355
|
-
"package": "./inMemoryDatabase"
|
|
356
|
-
}
|
|
357
|
-
}
|
|
358
|
-
]
|
|
359
|
-
},
|
|
360
162
|
{
|
|
361
163
|
"kind": "javascript-module",
|
|
362
164
|
"path": "src/design-system/design-system.ts",
|
|
@@ -657,66 +459,264 @@
|
|
|
657
459
|
"exports": [
|
|
658
460
|
{
|
|
659
461
|
"kind": "js",
|
|
660
|
-
"name": "SOCKET_EXT",
|
|
661
|
-
"declaration": {
|
|
662
|
-
"name": "_SOCKET_EXT",
|
|
663
|
-
"module": "src/env/variables.ts"
|
|
664
|
-
}
|
|
665
|
-
},
|
|
666
|
-
{
|
|
667
|
-
"kind": "js",
|
|
668
|
-
"name": "FORCE_HTTP",
|
|
669
|
-
"declaration": {
|
|
670
|
-
"name": "_FORCE_HTTP",
|
|
671
|
-
"module": "src/env/variables.ts"
|
|
672
|
-
}
|
|
673
|
-
},
|
|
674
|
-
{
|
|
675
|
-
"kind": "js",
|
|
676
|
-
"name": "GENESIS_SOCKET_URL",
|
|
677
|
-
"declaration": {
|
|
678
|
-
"name": "GENESIS_SOCKET_URL",
|
|
679
|
-
"module": "src/env/variables.ts"
|
|
680
|
-
}
|
|
681
|
-
},
|
|
682
|
-
{
|
|
683
|
-
"kind": "js",
|
|
684
|
-
"name": "API_HOST",
|
|
685
|
-
"declaration": {
|
|
686
|
-
"name": "_API_HOST",
|
|
687
|
-
"module": "src/env/variables.ts"
|
|
688
|
-
}
|
|
689
|
-
},
|
|
690
|
-
{
|
|
691
|
-
"kind": "js",
|
|
692
|
-
"name": "HTTP_CONFIG",
|
|
693
|
-
"declaration": {
|
|
694
|
-
"name": "_HTTP_CONFIG",
|
|
695
|
-
"module": "src/env/variables.ts"
|
|
696
|
-
}
|
|
697
|
-
},
|
|
698
|
-
{
|
|
699
|
-
"kind": "js",
|
|
700
|
-
"name": "DEFAULT_ORGANISATION",
|
|
701
|
-
"declaration": {
|
|
702
|
-
"name": "_DEFAULT_ORGANISATION",
|
|
703
|
-
"module": "src/env/variables.ts"
|
|
704
|
-
}
|
|
705
|
-
},
|
|
706
|
-
{
|
|
707
|
-
"kind": "js",
|
|
708
|
-
"name": "DEFAULT_PASSWORD",
|
|
462
|
+
"name": "SOCKET_EXT",
|
|
463
|
+
"declaration": {
|
|
464
|
+
"name": "_SOCKET_EXT",
|
|
465
|
+
"module": "src/env/variables.ts"
|
|
466
|
+
}
|
|
467
|
+
},
|
|
468
|
+
{
|
|
469
|
+
"kind": "js",
|
|
470
|
+
"name": "FORCE_HTTP",
|
|
471
|
+
"declaration": {
|
|
472
|
+
"name": "_FORCE_HTTP",
|
|
473
|
+
"module": "src/env/variables.ts"
|
|
474
|
+
}
|
|
475
|
+
},
|
|
476
|
+
{
|
|
477
|
+
"kind": "js",
|
|
478
|
+
"name": "GENESIS_SOCKET_URL",
|
|
479
|
+
"declaration": {
|
|
480
|
+
"name": "GENESIS_SOCKET_URL",
|
|
481
|
+
"module": "src/env/variables.ts"
|
|
482
|
+
}
|
|
483
|
+
},
|
|
484
|
+
{
|
|
485
|
+
"kind": "js",
|
|
486
|
+
"name": "API_HOST",
|
|
487
|
+
"declaration": {
|
|
488
|
+
"name": "_API_HOST",
|
|
489
|
+
"module": "src/env/variables.ts"
|
|
490
|
+
}
|
|
491
|
+
},
|
|
492
|
+
{
|
|
493
|
+
"kind": "js",
|
|
494
|
+
"name": "HTTP_CONFIG",
|
|
495
|
+
"declaration": {
|
|
496
|
+
"name": "_HTTP_CONFIG",
|
|
497
|
+
"module": "src/env/variables.ts"
|
|
498
|
+
}
|
|
499
|
+
},
|
|
500
|
+
{
|
|
501
|
+
"kind": "js",
|
|
502
|
+
"name": "DEFAULT_ORGANISATION",
|
|
503
|
+
"declaration": {
|
|
504
|
+
"name": "_DEFAULT_ORGANISATION",
|
|
505
|
+
"module": "src/env/variables.ts"
|
|
506
|
+
}
|
|
507
|
+
},
|
|
508
|
+
{
|
|
509
|
+
"kind": "js",
|
|
510
|
+
"name": "DEFAULT_PASSWORD",
|
|
511
|
+
"declaration": {
|
|
512
|
+
"name": "_DEFAULT_PASSWORD",
|
|
513
|
+
"module": "src/env/variables.ts"
|
|
514
|
+
}
|
|
515
|
+
},
|
|
516
|
+
{
|
|
517
|
+
"kind": "js",
|
|
518
|
+
"name": "DEFAULT_USER",
|
|
519
|
+
"declaration": {
|
|
520
|
+
"name": "_DEFAULT_USER",
|
|
521
|
+
"module": "src/env/variables.ts"
|
|
522
|
+
}
|
|
523
|
+
}
|
|
524
|
+
]
|
|
525
|
+
},
|
|
526
|
+
{
|
|
527
|
+
"kind": "javascript-module",
|
|
528
|
+
"path": "src/data/inMemoryDatabase.ts",
|
|
529
|
+
"declarations": [
|
|
530
|
+
{
|
|
531
|
+
"kind": "class",
|
|
532
|
+
"description": "An in memory database of specific DatabaseRecord types.",
|
|
533
|
+
"name": "InMemoryDatabase",
|
|
534
|
+
"members": [
|
|
535
|
+
{
|
|
536
|
+
"kind": "field",
|
|
537
|
+
"name": "isWorking",
|
|
538
|
+
"type": {
|
|
539
|
+
"text": "boolean"
|
|
540
|
+
},
|
|
541
|
+
"privacy": "public",
|
|
542
|
+
"default": "false"
|
|
543
|
+
},
|
|
544
|
+
{
|
|
545
|
+
"kind": "field",
|
|
546
|
+
"name": "records",
|
|
547
|
+
"type": {
|
|
548
|
+
"text": "Record<string, T>"
|
|
549
|
+
},
|
|
550
|
+
"privacy": "private",
|
|
551
|
+
"default": "{}"
|
|
552
|
+
},
|
|
553
|
+
{
|
|
554
|
+
"kind": "field",
|
|
555
|
+
"name": "beforeUpdateListeners",
|
|
556
|
+
"privacy": "private"
|
|
557
|
+
},
|
|
558
|
+
{
|
|
559
|
+
"kind": "field",
|
|
560
|
+
"name": "afterUpdateListeners",
|
|
561
|
+
"privacy": "private"
|
|
562
|
+
},
|
|
563
|
+
{
|
|
564
|
+
"kind": "method",
|
|
565
|
+
"name": "create",
|
|
566
|
+
"privacy": "public",
|
|
567
|
+
"return": {
|
|
568
|
+
"type": {
|
|
569
|
+
"text": "Promise<DatabaseAccessResult.Create<T>>"
|
|
570
|
+
}
|
|
571
|
+
},
|
|
572
|
+
"parameters": [
|
|
573
|
+
{
|
|
574
|
+
"name": "newValue",
|
|
575
|
+
"type": {
|
|
576
|
+
"text": "Omit<T, 'id'>"
|
|
577
|
+
}
|
|
578
|
+
}
|
|
579
|
+
]
|
|
580
|
+
},
|
|
581
|
+
{
|
|
582
|
+
"kind": "method",
|
|
583
|
+
"name": "read",
|
|
584
|
+
"privacy": "public",
|
|
585
|
+
"return": {
|
|
586
|
+
"type": {
|
|
587
|
+
"text": "Promise<DatabaseAccessResult.Read<T>>"
|
|
588
|
+
}
|
|
589
|
+
},
|
|
590
|
+
"parameters": [
|
|
591
|
+
{
|
|
592
|
+
"name": "id",
|
|
593
|
+
"type": {
|
|
594
|
+
"text": "string"
|
|
595
|
+
}
|
|
596
|
+
}
|
|
597
|
+
]
|
|
598
|
+
},
|
|
599
|
+
{
|
|
600
|
+
"kind": "method",
|
|
601
|
+
"name": "update",
|
|
602
|
+
"privacy": "public",
|
|
603
|
+
"return": {
|
|
604
|
+
"type": {
|
|
605
|
+
"text": "Promise<DatabaseAccessResult.Update<T>>"
|
|
606
|
+
}
|
|
607
|
+
},
|
|
608
|
+
"parameters": [
|
|
609
|
+
{
|
|
610
|
+
"name": "id",
|
|
611
|
+
"type": {
|
|
612
|
+
"text": "string"
|
|
613
|
+
}
|
|
614
|
+
},
|
|
615
|
+
{
|
|
616
|
+
"name": "newValue",
|
|
617
|
+
"type": {
|
|
618
|
+
"text": "Omit<Partial<T>, 'id'>"
|
|
619
|
+
}
|
|
620
|
+
}
|
|
621
|
+
]
|
|
622
|
+
},
|
|
623
|
+
{
|
|
624
|
+
"kind": "method",
|
|
625
|
+
"name": "delete",
|
|
626
|
+
"privacy": "public",
|
|
627
|
+
"return": {
|
|
628
|
+
"type": {
|
|
629
|
+
"text": "Promise<DatabaseAccessResult.Delete>"
|
|
630
|
+
}
|
|
631
|
+
},
|
|
632
|
+
"parameters": [
|
|
633
|
+
{
|
|
634
|
+
"name": "id",
|
|
635
|
+
"type": {
|
|
636
|
+
"text": "string"
|
|
637
|
+
}
|
|
638
|
+
}
|
|
639
|
+
]
|
|
640
|
+
},
|
|
641
|
+
{
|
|
642
|
+
"kind": "method",
|
|
643
|
+
"name": "visit",
|
|
644
|
+
"privacy": "public",
|
|
645
|
+
"return": {
|
|
646
|
+
"type": {
|
|
647
|
+
"text": "Promise<void>"
|
|
648
|
+
}
|
|
649
|
+
},
|
|
650
|
+
"parameters": [
|
|
651
|
+
{
|
|
652
|
+
"name": "visitor",
|
|
653
|
+
"type": {
|
|
654
|
+
"text": "(record: T) => void"
|
|
655
|
+
}
|
|
656
|
+
}
|
|
657
|
+
]
|
|
658
|
+
},
|
|
659
|
+
{
|
|
660
|
+
"kind": "method",
|
|
661
|
+
"name": "onBeforeUpdate",
|
|
662
|
+
"privacy": "public",
|
|
663
|
+
"return": {
|
|
664
|
+
"type": {
|
|
665
|
+
"text": "() => void"
|
|
666
|
+
}
|
|
667
|
+
},
|
|
668
|
+
"parameters": [
|
|
669
|
+
{
|
|
670
|
+
"name": "listener",
|
|
671
|
+
"type": {
|
|
672
|
+
"text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
|
|
673
|
+
}
|
|
674
|
+
}
|
|
675
|
+
]
|
|
676
|
+
},
|
|
677
|
+
{
|
|
678
|
+
"kind": "method",
|
|
679
|
+
"name": "onAfterUpdate",
|
|
680
|
+
"privacy": "public",
|
|
681
|
+
"return": {
|
|
682
|
+
"type": {
|
|
683
|
+
"text": "() => void"
|
|
684
|
+
}
|
|
685
|
+
},
|
|
686
|
+
"parameters": [
|
|
687
|
+
{
|
|
688
|
+
"name": "listener",
|
|
689
|
+
"type": {
|
|
690
|
+
"text": "Listener<DatabaseEvent.AfterUpdate<T>>"
|
|
691
|
+
}
|
|
692
|
+
}
|
|
693
|
+
]
|
|
694
|
+
}
|
|
695
|
+
]
|
|
696
|
+
}
|
|
697
|
+
],
|
|
698
|
+
"exports": [
|
|
699
|
+
{
|
|
700
|
+
"kind": "js",
|
|
701
|
+
"name": "InMemoryDatabase",
|
|
709
702
|
"declaration": {
|
|
710
|
-
"name": "
|
|
711
|
-
"module": "src/
|
|
703
|
+
"name": "InMemoryDatabase",
|
|
704
|
+
"module": "src/data/inMemoryDatabase.ts"
|
|
712
705
|
}
|
|
713
|
-
}
|
|
706
|
+
}
|
|
707
|
+
]
|
|
708
|
+
},
|
|
709
|
+
{
|
|
710
|
+
"kind": "javascript-module",
|
|
711
|
+
"path": "src/data/index.ts",
|
|
712
|
+
"declarations": [],
|
|
713
|
+
"exports": [
|
|
714
714
|
{
|
|
715
715
|
"kind": "js",
|
|
716
|
-
"name": "
|
|
716
|
+
"name": "*",
|
|
717
717
|
"declaration": {
|
|
718
|
-
"name": "
|
|
719
|
-
"
|
|
718
|
+
"name": "*",
|
|
719
|
+
"package": "./inMemoryDatabase"
|
|
720
720
|
}
|
|
721
721
|
}
|
|
722
722
|
]
|
|
@@ -2208,7 +2208,7 @@
|
|
|
2208
2208
|
},
|
|
2209
2209
|
{
|
|
2210
2210
|
"kind": "javascript-module",
|
|
2211
|
-
"path": "src/directives/
|
|
2211
|
+
"path": "src/directives/when-else/index.ts",
|
|
2212
2212
|
"declarations": [],
|
|
2213
2213
|
"exports": [
|
|
2214
2214
|
{
|
|
@@ -2216,28 +2216,18 @@
|
|
|
2216
2216
|
"name": "*",
|
|
2217
2217
|
"declaration": {
|
|
2218
2218
|
"name": "*",
|
|
2219
|
-
"package": "./
|
|
2219
|
+
"package": "./when-else"
|
|
2220
2220
|
}
|
|
2221
2221
|
}
|
|
2222
2222
|
]
|
|
2223
2223
|
},
|
|
2224
2224
|
{
|
|
2225
2225
|
"kind": "javascript-module",
|
|
2226
|
-
"path": "src/directives/
|
|
2226
|
+
"path": "src/directives/when-else/when-else.ts",
|
|
2227
2227
|
"declarations": [
|
|
2228
|
-
{
|
|
2229
|
-
"kind": "variable",
|
|
2230
|
-
"name": "defaultEventMap",
|
|
2231
|
-
"type": {
|
|
2232
|
-
"text": "Map<string, EventName>"
|
|
2233
|
-
},
|
|
2234
|
-
"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])",
|
|
2235
|
-
"description": "A map that associates specific HTML element tags with their corresponding default event names.",
|
|
2236
|
-
"privacy": "public"
|
|
2237
|
-
},
|
|
2238
2228
|
{
|
|
2239
2229
|
"kind": "function",
|
|
2240
|
-
"name": "
|
|
2230
|
+
"name": "whenElse",
|
|
2241
2231
|
"return": {
|
|
2242
2232
|
"type": {
|
|
2243
2233
|
"text": "CaptureType<TSource>"
|
|
@@ -2248,56 +2238,42 @@
|
|
|
2248
2238
|
"name": "binding",
|
|
2249
2239
|
"type": {
|
|
2250
2240
|
"text": "Binding<TSource, TReturn>"
|
|
2251
|
-
}
|
|
2252
|
-
|
|
2253
|
-
{
|
|
2254
|
-
"name": "conversionType",
|
|
2255
|
-
"default": "'string'",
|
|
2256
|
-
"type": {
|
|
2257
|
-
"text": "ConversionType"
|
|
2258
|
-
}
|
|
2241
|
+
},
|
|
2242
|
+
"description": "The condition to test for rendering."
|
|
2259
2243
|
},
|
|
2260
2244
|
{
|
|
2261
|
-
"name": "
|
|
2262
|
-
"default": "'default'",
|
|
2245
|
+
"name": "trueTemplateOrTemplateBinding",
|
|
2263
2246
|
"type": {
|
|
2264
|
-
"text": "
|
|
2265
|
-
}
|
|
2247
|
+
"text": "WhenTemplate<TSource>"
|
|
2248
|
+
},
|
|
2249
|
+
"description": "The template or a binding that gets the template to render when the condition is true."
|
|
2266
2250
|
},
|
|
2267
2251
|
{
|
|
2268
|
-
"name": "
|
|
2269
|
-
"optional": true,
|
|
2252
|
+
"name": "falseTemplateOrTemplateBinding",
|
|
2270
2253
|
"type": {
|
|
2271
|
-
"text": "
|
|
2272
|
-
}
|
|
2254
|
+
"text": "WhenTemplate<TSource>"
|
|
2255
|
+
},
|
|
2256
|
+
"description": "The template or a binding that gets the template to render when the condition is false."
|
|
2273
2257
|
}
|
|
2274
2258
|
],
|
|
2275
|
-
"description": "
|
|
2259
|
+
"description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
|
|
2276
2260
|
"privacy": "public"
|
|
2277
2261
|
}
|
|
2278
2262
|
],
|
|
2279
2263
|
"exports": [
|
|
2280
2264
|
{
|
|
2281
2265
|
"kind": "js",
|
|
2282
|
-
"name": "
|
|
2283
|
-
"declaration": {
|
|
2284
|
-
"name": "defaultEventMap",
|
|
2285
|
-
"module": "src/directives/sync/sync.ts"
|
|
2286
|
-
}
|
|
2287
|
-
},
|
|
2288
|
-
{
|
|
2289
|
-
"kind": "js",
|
|
2290
|
-
"name": "sync",
|
|
2266
|
+
"name": "whenElse",
|
|
2291
2267
|
"declaration": {
|
|
2292
|
-
"name": "
|
|
2293
|
-
"module": "src/directives/
|
|
2268
|
+
"name": "whenElse",
|
|
2269
|
+
"module": "src/directives/when-else/when-else.ts"
|
|
2294
2270
|
}
|
|
2295
2271
|
}
|
|
2296
2272
|
]
|
|
2297
2273
|
},
|
|
2298
2274
|
{
|
|
2299
2275
|
"kind": "javascript-module",
|
|
2300
|
-
"path": "src/directives/
|
|
2276
|
+
"path": "src/directives/sync/index.ts",
|
|
2301
2277
|
"declarations": [],
|
|
2302
2278
|
"exports": [
|
|
2303
2279
|
{
|
|
@@ -2305,18 +2281,28 @@
|
|
|
2305
2281
|
"name": "*",
|
|
2306
2282
|
"declaration": {
|
|
2307
2283
|
"name": "*",
|
|
2308
|
-
"package": "./
|
|
2284
|
+
"package": "./sync"
|
|
2309
2285
|
}
|
|
2310
2286
|
}
|
|
2311
2287
|
]
|
|
2312
2288
|
},
|
|
2313
2289
|
{
|
|
2314
2290
|
"kind": "javascript-module",
|
|
2315
|
-
"path": "src/directives/
|
|
2291
|
+
"path": "src/directives/sync/sync.ts",
|
|
2316
2292
|
"declarations": [
|
|
2293
|
+
{
|
|
2294
|
+
"kind": "variable",
|
|
2295
|
+
"name": "defaultEventMap",
|
|
2296
|
+
"type": {
|
|
2297
|
+
"text": "Map<string, EventName>"
|
|
2298
|
+
},
|
|
2299
|
+
"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])",
|
|
2300
|
+
"description": "A map that associates specific HTML element tags with their corresponding default event names.",
|
|
2301
|
+
"privacy": "public"
|
|
2302
|
+
},
|
|
2317
2303
|
{
|
|
2318
2304
|
"kind": "function",
|
|
2319
|
-
"name": "
|
|
2305
|
+
"name": "sync",
|
|
2320
2306
|
"return": {
|
|
2321
2307
|
"type": {
|
|
2322
2308
|
"text": "CaptureType<TSource>"
|
|
@@ -2327,35 +2313,49 @@
|
|
|
2327
2313
|
"name": "binding",
|
|
2328
2314
|
"type": {
|
|
2329
2315
|
"text": "Binding<TSource, TReturn>"
|
|
2330
|
-
}
|
|
2331
|
-
"description": "The condition to test for rendering."
|
|
2316
|
+
}
|
|
2332
2317
|
},
|
|
2333
2318
|
{
|
|
2334
|
-
"name": "
|
|
2319
|
+
"name": "conversionType",
|
|
2320
|
+
"default": "'string'",
|
|
2335
2321
|
"type": {
|
|
2336
|
-
"text": "
|
|
2337
|
-
}
|
|
2338
|
-
"description": "The template or a binding that gets the template to render when the condition is true."
|
|
2322
|
+
"text": "ConversionType"
|
|
2323
|
+
}
|
|
2339
2324
|
},
|
|
2340
2325
|
{
|
|
2341
|
-
"name": "
|
|
2326
|
+
"name": "eventName",
|
|
2327
|
+
"default": "'default'",
|
|
2342
2328
|
"type": {
|
|
2343
|
-
"text": "
|
|
2344
|
-
}
|
|
2345
|
-
|
|
2329
|
+
"text": "EventName"
|
|
2330
|
+
}
|
|
2331
|
+
},
|
|
2332
|
+
{
|
|
2333
|
+
"name": "keyAttr",
|
|
2334
|
+
"optional": true,
|
|
2335
|
+
"type": {
|
|
2336
|
+
"text": "string"
|
|
2337
|
+
}
|
|
2346
2338
|
}
|
|
2347
2339
|
],
|
|
2348
|
-
"description": "
|
|
2340
|
+
"description": "Creates a synchronization directive that binds a data source to an HTML element,",
|
|
2349
2341
|
"privacy": "public"
|
|
2350
2342
|
}
|
|
2351
2343
|
],
|
|
2352
2344
|
"exports": [
|
|
2353
2345
|
{
|
|
2354
2346
|
"kind": "js",
|
|
2355
|
-
"name": "
|
|
2347
|
+
"name": "defaultEventMap",
|
|
2356
2348
|
"declaration": {
|
|
2357
|
-
"name": "
|
|
2358
|
-
"module": "src/directives/
|
|
2349
|
+
"name": "defaultEventMap",
|
|
2350
|
+
"module": "src/directives/sync/sync.ts"
|
|
2351
|
+
}
|
|
2352
|
+
},
|
|
2353
|
+
{
|
|
2354
|
+
"kind": "js",
|
|
2355
|
+
"name": "sync",
|
|
2356
|
+
"declaration": {
|
|
2357
|
+
"name": "sync",
|
|
2358
|
+
"module": "src/directives/sync/sync.ts"
|
|
2359
2359
|
}
|
|
2360
2360
|
}
|
|
2361
2361
|
]
|
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.200.0-FUI-2127.2",
|
|
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.200.0-FUI-2127.2",
|
|
31
|
+
"@genesislcap/genx": "14.200.0-FUI-2127.2",
|
|
32
|
+
"@genesislcap/rollup-builder": "14.200.0-FUI-2127.2",
|
|
33
|
+
"@genesislcap/ts-builder": "14.200.0-FUI-2127.2",
|
|
34
|
+
"@genesislcap/uvu-playwright-builder": "14.200.0-FUI-2127.2",
|
|
35
|
+
"@genesislcap/vite-builder": "14.200.0-FUI-2127.2",
|
|
36
|
+
"@genesislcap/webpack-builder": "14.200.0-FUI-2127.2",
|
|
37
37
|
"rimraf": "^5.0.0"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@genesislcap/foundation-logger": "14.
|
|
40
|
+
"@genesislcap/foundation-logger": "14.200.0-FUI-2127.2",
|
|
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": "eaec2581b4a6918eb9f0e8a1f1800ebf233d9f62"
|
|
59
59
|
}
|