@genesislcap/foundation-utils 14.227.3 → 14.227.4-RPT-42.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/custom-elements.json +373 -373
- package/package.json +10 -10
@@ -169,204 +169,6 @@
|
|
169
169
|
}
|
170
170
|
]
|
171
171
|
},
|
172
|
-
{
|
173
|
-
"kind": "javascript-module",
|
174
|
-
"path": "src/data/inMemoryDatabase.ts",
|
175
|
-
"declarations": [
|
176
|
-
{
|
177
|
-
"kind": "class",
|
178
|
-
"description": "An in memory database of specific DatabaseRecord types.",
|
179
|
-
"name": "InMemoryDatabase",
|
180
|
-
"members": [
|
181
|
-
{
|
182
|
-
"kind": "field",
|
183
|
-
"name": "isWorking",
|
184
|
-
"type": {
|
185
|
-
"text": "boolean"
|
186
|
-
},
|
187
|
-
"privacy": "public",
|
188
|
-
"default": "false"
|
189
|
-
},
|
190
|
-
{
|
191
|
-
"kind": "field",
|
192
|
-
"name": "records",
|
193
|
-
"type": {
|
194
|
-
"text": "Record<string, T>"
|
195
|
-
},
|
196
|
-
"privacy": "private",
|
197
|
-
"default": "{}"
|
198
|
-
},
|
199
|
-
{
|
200
|
-
"kind": "field",
|
201
|
-
"name": "beforeUpdateListeners",
|
202
|
-
"privacy": "private"
|
203
|
-
},
|
204
|
-
{
|
205
|
-
"kind": "field",
|
206
|
-
"name": "afterUpdateListeners",
|
207
|
-
"privacy": "private"
|
208
|
-
},
|
209
|
-
{
|
210
|
-
"kind": "method",
|
211
|
-
"name": "create",
|
212
|
-
"privacy": "public",
|
213
|
-
"return": {
|
214
|
-
"type": {
|
215
|
-
"text": "Promise<DatabaseAccessResult.Create<T>>"
|
216
|
-
}
|
217
|
-
},
|
218
|
-
"parameters": [
|
219
|
-
{
|
220
|
-
"name": "newValue",
|
221
|
-
"type": {
|
222
|
-
"text": "Omit<T, 'id'>"
|
223
|
-
}
|
224
|
-
}
|
225
|
-
]
|
226
|
-
},
|
227
|
-
{
|
228
|
-
"kind": "method",
|
229
|
-
"name": "read",
|
230
|
-
"privacy": "public",
|
231
|
-
"return": {
|
232
|
-
"type": {
|
233
|
-
"text": "Promise<DatabaseAccessResult.Read<T>>"
|
234
|
-
}
|
235
|
-
},
|
236
|
-
"parameters": [
|
237
|
-
{
|
238
|
-
"name": "id",
|
239
|
-
"type": {
|
240
|
-
"text": "string"
|
241
|
-
}
|
242
|
-
}
|
243
|
-
]
|
244
|
-
},
|
245
|
-
{
|
246
|
-
"kind": "method",
|
247
|
-
"name": "update",
|
248
|
-
"privacy": "public",
|
249
|
-
"return": {
|
250
|
-
"type": {
|
251
|
-
"text": "Promise<DatabaseAccessResult.Update<T>>"
|
252
|
-
}
|
253
|
-
},
|
254
|
-
"parameters": [
|
255
|
-
{
|
256
|
-
"name": "id",
|
257
|
-
"type": {
|
258
|
-
"text": "string"
|
259
|
-
}
|
260
|
-
},
|
261
|
-
{
|
262
|
-
"name": "newValue",
|
263
|
-
"type": {
|
264
|
-
"text": "Omit<Partial<T>, 'id'>"
|
265
|
-
}
|
266
|
-
}
|
267
|
-
]
|
268
|
-
},
|
269
|
-
{
|
270
|
-
"kind": "method",
|
271
|
-
"name": "delete",
|
272
|
-
"privacy": "public",
|
273
|
-
"return": {
|
274
|
-
"type": {
|
275
|
-
"text": "Promise<DatabaseAccessResult.Delete>"
|
276
|
-
}
|
277
|
-
},
|
278
|
-
"parameters": [
|
279
|
-
{
|
280
|
-
"name": "id",
|
281
|
-
"type": {
|
282
|
-
"text": "string"
|
283
|
-
}
|
284
|
-
}
|
285
|
-
]
|
286
|
-
},
|
287
|
-
{
|
288
|
-
"kind": "method",
|
289
|
-
"name": "visit",
|
290
|
-
"privacy": "public",
|
291
|
-
"return": {
|
292
|
-
"type": {
|
293
|
-
"text": "Promise<void>"
|
294
|
-
}
|
295
|
-
},
|
296
|
-
"parameters": [
|
297
|
-
{
|
298
|
-
"name": "visitor",
|
299
|
-
"type": {
|
300
|
-
"text": "(record: T) => void"
|
301
|
-
}
|
302
|
-
}
|
303
|
-
]
|
304
|
-
},
|
305
|
-
{
|
306
|
-
"kind": "method",
|
307
|
-
"name": "onBeforeUpdate",
|
308
|
-
"privacy": "public",
|
309
|
-
"return": {
|
310
|
-
"type": {
|
311
|
-
"text": "() => void"
|
312
|
-
}
|
313
|
-
},
|
314
|
-
"parameters": [
|
315
|
-
{
|
316
|
-
"name": "listener",
|
317
|
-
"type": {
|
318
|
-
"text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
|
319
|
-
}
|
320
|
-
}
|
321
|
-
]
|
322
|
-
},
|
323
|
-
{
|
324
|
-
"kind": "method",
|
325
|
-
"name": "onAfterUpdate",
|
326
|
-
"privacy": "public",
|
327
|
-
"return": {
|
328
|
-
"type": {
|
329
|
-
"text": "() => void"
|
330
|
-
}
|
331
|
-
},
|
332
|
-
"parameters": [
|
333
|
-
{
|
334
|
-
"name": "listener",
|
335
|
-
"type": {
|
336
|
-
"text": "Listener<DatabaseEvent.AfterUpdate<T>>"
|
337
|
-
}
|
338
|
-
}
|
339
|
-
]
|
340
|
-
}
|
341
|
-
]
|
342
|
-
}
|
343
|
-
],
|
344
|
-
"exports": [
|
345
|
-
{
|
346
|
-
"kind": "js",
|
347
|
-
"name": "InMemoryDatabase",
|
348
|
-
"declaration": {
|
349
|
-
"name": "InMemoryDatabase",
|
350
|
-
"module": "src/data/inMemoryDatabase.ts"
|
351
|
-
}
|
352
|
-
}
|
353
|
-
]
|
354
|
-
},
|
355
|
-
{
|
356
|
-
"kind": "javascript-module",
|
357
|
-
"path": "src/data/index.ts",
|
358
|
-
"declarations": [],
|
359
|
-
"exports": [
|
360
|
-
{
|
361
|
-
"kind": "js",
|
362
|
-
"name": "*",
|
363
|
-
"declaration": {
|
364
|
-
"name": "*",
|
365
|
-
"package": "./inMemoryDatabase"
|
366
|
-
}
|
367
|
-
}
|
368
|
-
]
|
369
|
-
},
|
370
172
|
{
|
371
173
|
"kind": "javascript-module",
|
372
174
|
"path": "src/design-system/design-system.ts",
|
@@ -455,59 +257,6 @@
|
|
455
257
|
}
|
456
258
|
]
|
457
259
|
},
|
458
|
-
{
|
459
|
-
"kind": "javascript-module",
|
460
|
-
"path": "src/decorators/index.ts",
|
461
|
-
"declarations": [],
|
462
|
-
"exports": [
|
463
|
-
{
|
464
|
-
"kind": "js",
|
465
|
-
"name": "*",
|
466
|
-
"declaration": {
|
467
|
-
"name": "*",
|
468
|
-
"package": "./renderOnChange"
|
469
|
-
}
|
470
|
-
}
|
471
|
-
]
|
472
|
-
},
|
473
|
-
{
|
474
|
-
"kind": "javascript-module",
|
475
|
-
"path": "src/decorators/renderOnChange.ts",
|
476
|
-
"declarations": [
|
477
|
-
{
|
478
|
-
"kind": "function",
|
479
|
-
"name": "renderOnChange",
|
480
|
-
"parameters": [
|
481
|
-
{
|
482
|
-
"name": "target",
|
483
|
-
"type": {
|
484
|
-
"text": "FASTElement & { render(): void }"
|
485
|
-
},
|
486
|
-
"description": "The target to define the property change handler on."
|
487
|
-
},
|
488
|
-
{
|
489
|
-
"name": "name",
|
490
|
-
"type": {
|
491
|
-
"text": "string"
|
492
|
-
},
|
493
|
-
"description": "The property name."
|
494
|
-
}
|
495
|
-
],
|
496
|
-
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
497
|
-
"privacy": "public"
|
498
|
-
}
|
499
|
-
],
|
500
|
-
"exports": [
|
501
|
-
{
|
502
|
-
"kind": "js",
|
503
|
-
"name": "renderOnChange",
|
504
|
-
"declaration": {
|
505
|
-
"name": "renderOnChange",
|
506
|
-
"module": "src/decorators/renderOnChange.ts"
|
507
|
-
}
|
508
|
-
}
|
509
|
-
]
|
510
|
-
},
|
511
260
|
{
|
512
261
|
"kind": "javascript-module",
|
513
262
|
"path": "src/env/index.ts",
|
@@ -716,82 +465,333 @@
|
|
716
465
|
"exports": [
|
717
466
|
{
|
718
467
|
"kind": "js",
|
719
|
-
"name": "BUILDER",
|
720
|
-
"declaration": {
|
721
|
-
"name": "_BUILDER",
|
722
|
-
"module": "src/env/variables.ts"
|
723
|
-
}
|
724
|
-
},
|
725
|
-
{
|
726
|
-
"kind": "js",
|
727
|
-
"name": "PUBLIC_PATH",
|
728
|
-
"declaration": {
|
729
|
-
"name": "_PUBLIC_PATH",
|
730
|
-
"module": "src/env/variables.ts"
|
731
|
-
}
|
732
|
-
},
|
733
|
-
{
|
734
|
-
"kind": "js",
|
735
|
-
"name": "SOCKET_EXT",
|
736
|
-
"declaration": {
|
737
|
-
"name": "_SOCKET_EXT",
|
738
|
-
"module": "src/env/variables.ts"
|
739
|
-
}
|
740
|
-
},
|
741
|
-
{
|
742
|
-
"kind": "js",
|
743
|
-
"name": "FORCE_HTTP",
|
744
|
-
"declaration": {
|
745
|
-
"name": "_FORCE_HTTP",
|
746
|
-
"module": "src/env/variables.ts"
|
747
|
-
}
|
748
|
-
},
|
749
|
-
{
|
750
|
-
"kind": "js",
|
751
|
-
"name": "GENESIS_SOCKET_URL",
|
752
|
-
"declaration": {
|
753
|
-
"name": "GENESIS_SOCKET_URL",
|
754
|
-
"module": "src/env/variables.ts"
|
755
|
-
}
|
756
|
-
},
|
757
|
-
{
|
758
|
-
"kind": "js",
|
759
|
-
"name": "API_HOST",
|
468
|
+
"name": "BUILDER",
|
469
|
+
"declaration": {
|
470
|
+
"name": "_BUILDER",
|
471
|
+
"module": "src/env/variables.ts"
|
472
|
+
}
|
473
|
+
},
|
474
|
+
{
|
475
|
+
"kind": "js",
|
476
|
+
"name": "PUBLIC_PATH",
|
477
|
+
"declaration": {
|
478
|
+
"name": "_PUBLIC_PATH",
|
479
|
+
"module": "src/env/variables.ts"
|
480
|
+
}
|
481
|
+
},
|
482
|
+
{
|
483
|
+
"kind": "js",
|
484
|
+
"name": "SOCKET_EXT",
|
485
|
+
"declaration": {
|
486
|
+
"name": "_SOCKET_EXT",
|
487
|
+
"module": "src/env/variables.ts"
|
488
|
+
}
|
489
|
+
},
|
490
|
+
{
|
491
|
+
"kind": "js",
|
492
|
+
"name": "FORCE_HTTP",
|
493
|
+
"declaration": {
|
494
|
+
"name": "_FORCE_HTTP",
|
495
|
+
"module": "src/env/variables.ts"
|
496
|
+
}
|
497
|
+
},
|
498
|
+
{
|
499
|
+
"kind": "js",
|
500
|
+
"name": "GENESIS_SOCKET_URL",
|
501
|
+
"declaration": {
|
502
|
+
"name": "GENESIS_SOCKET_URL",
|
503
|
+
"module": "src/env/variables.ts"
|
504
|
+
}
|
505
|
+
},
|
506
|
+
{
|
507
|
+
"kind": "js",
|
508
|
+
"name": "API_HOST",
|
509
|
+
"declaration": {
|
510
|
+
"name": "_API_HOST",
|
511
|
+
"module": "src/env/variables.ts"
|
512
|
+
}
|
513
|
+
},
|
514
|
+
{
|
515
|
+
"kind": "js",
|
516
|
+
"name": "HTTP_CONFIG",
|
517
|
+
"declaration": {
|
518
|
+
"name": "_HTTP_CONFIG",
|
519
|
+
"module": "src/env/variables.ts"
|
520
|
+
}
|
521
|
+
},
|
522
|
+
{
|
523
|
+
"kind": "js",
|
524
|
+
"name": "DEFAULT_ORGANISATION",
|
525
|
+
"declaration": {
|
526
|
+
"name": "_DEFAULT_ORGANISATION",
|
527
|
+
"module": "src/env/variables.ts"
|
528
|
+
}
|
529
|
+
},
|
530
|
+
{
|
531
|
+
"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",
|
760
724
|
"declaration": {
|
761
|
-
"name": "
|
762
|
-
"module": "src/
|
725
|
+
"name": "InMemoryDatabase",
|
726
|
+
"module": "src/data/inMemoryDatabase.ts"
|
763
727
|
}
|
764
|
-
}
|
728
|
+
}
|
729
|
+
]
|
730
|
+
},
|
731
|
+
{
|
732
|
+
"kind": "javascript-module",
|
733
|
+
"path": "src/data/index.ts",
|
734
|
+
"declarations": [],
|
735
|
+
"exports": [
|
765
736
|
{
|
766
737
|
"kind": "js",
|
767
|
-
"name": "
|
738
|
+
"name": "*",
|
768
739
|
"declaration": {
|
769
|
-
"name": "
|
770
|
-
"
|
740
|
+
"name": "*",
|
741
|
+
"package": "./inMemoryDatabase"
|
771
742
|
}
|
772
|
-
}
|
743
|
+
}
|
744
|
+
]
|
745
|
+
},
|
746
|
+
{
|
747
|
+
"kind": "javascript-module",
|
748
|
+
"path": "src/decorators/index.ts",
|
749
|
+
"declarations": [],
|
750
|
+
"exports": [
|
773
751
|
{
|
774
752
|
"kind": "js",
|
775
|
-
"name": "
|
753
|
+
"name": "*",
|
776
754
|
"declaration": {
|
777
|
-
"name": "
|
778
|
-
"
|
755
|
+
"name": "*",
|
756
|
+
"package": "./renderOnChange"
|
779
757
|
}
|
780
|
-
}
|
758
|
+
}
|
759
|
+
]
|
760
|
+
},
|
761
|
+
{
|
762
|
+
"kind": "javascript-module",
|
763
|
+
"path": "src/decorators/renderOnChange.ts",
|
764
|
+
"declarations": [
|
781
765
|
{
|
782
|
-
"kind": "
|
783
|
-
"name": "
|
784
|
-
"
|
785
|
-
|
786
|
-
|
787
|
-
|
788
|
-
|
766
|
+
"kind": "function",
|
767
|
+
"name": "renderOnChange",
|
768
|
+
"parameters": [
|
769
|
+
{
|
770
|
+
"name": "target",
|
771
|
+
"type": {
|
772
|
+
"text": "FASTElement & { render(): void }"
|
773
|
+
},
|
774
|
+
"description": "The target to define the property change handler on."
|
775
|
+
},
|
776
|
+
{
|
777
|
+
"name": "name",
|
778
|
+
"type": {
|
779
|
+
"text": "string"
|
780
|
+
},
|
781
|
+
"description": "The property name."
|
782
|
+
}
|
783
|
+
],
|
784
|
+
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
785
|
+
"privacy": "public"
|
786
|
+
}
|
787
|
+
],
|
788
|
+
"exports": [
|
789
789
|
{
|
790
790
|
"kind": "js",
|
791
|
-
"name": "
|
791
|
+
"name": "renderOnChange",
|
792
792
|
"declaration": {
|
793
|
-
"name": "
|
794
|
-
"module": "src/
|
793
|
+
"name": "renderOnChange",
|
794
|
+
"module": "src/decorators/renderOnChange.ts"
|
795
795
|
}
|
796
796
|
}
|
797
797
|
]
|
@@ -2285,7 +2285,7 @@
|
|
2285
2285
|
},
|
2286
2286
|
{
|
2287
2287
|
"kind": "javascript-module",
|
2288
|
-
"path": "src/directives/
|
2288
|
+
"path": "src/directives/when-else/index.ts",
|
2289
2289
|
"declarations": [],
|
2290
2290
|
"exports": [
|
2291
2291
|
{
|
@@ -2293,28 +2293,18 @@
|
|
2293
2293
|
"name": "*",
|
2294
2294
|
"declaration": {
|
2295
2295
|
"name": "*",
|
2296
|
-
"package": "./
|
2296
|
+
"package": "./when-else"
|
2297
2297
|
}
|
2298
2298
|
}
|
2299
2299
|
]
|
2300
2300
|
},
|
2301
2301
|
{
|
2302
2302
|
"kind": "javascript-module",
|
2303
|
-
"path": "src/directives/
|
2303
|
+
"path": "src/directives/when-else/when-else.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
|
-
},
|
2315
2305
|
{
|
2316
2306
|
"kind": "function",
|
2317
|
-
"name": "
|
2307
|
+
"name": "whenElse",
|
2318
2308
|
"return": {
|
2319
2309
|
"type": {
|
2320
2310
|
"text": "CaptureType<TSource>"
|
@@ -2325,56 +2315,42 @@
|
|
2325
2315
|
"name": "binding",
|
2326
2316
|
"type": {
|
2327
2317
|
"text": "Binding<TSource, TReturn>"
|
2328
|
-
}
|
2329
|
-
|
2330
|
-
{
|
2331
|
-
"name": "conversionType",
|
2332
|
-
"default": "'string'",
|
2333
|
-
"type": {
|
2334
|
-
"text": "ConversionType"
|
2335
|
-
}
|
2318
|
+
},
|
2319
|
+
"description": "The condition to test for rendering."
|
2336
2320
|
},
|
2337
2321
|
{
|
2338
|
-
"name": "
|
2339
|
-
"default": "'default'",
|
2322
|
+
"name": "trueTemplateOrTemplateBinding",
|
2340
2323
|
"type": {
|
2341
|
-
"text": "
|
2342
|
-
}
|
2324
|
+
"text": "WhenTemplate<TSource>"
|
2325
|
+
},
|
2326
|
+
"description": "The template or a binding that gets the template to render when the condition is true."
|
2343
2327
|
},
|
2344
2328
|
{
|
2345
|
-
"name": "
|
2346
|
-
"optional": true,
|
2329
|
+
"name": "falseTemplateOrTemplateBinding",
|
2347
2330
|
"type": {
|
2348
|
-
"text": "
|
2349
|
-
}
|
2331
|
+
"text": "WhenTemplate<TSource>"
|
2332
|
+
},
|
2333
|
+
"description": "The template or a binding that gets the template to render when the condition is false."
|
2350
2334
|
}
|
2351
2335
|
],
|
2352
|
-
"description": "
|
2336
|
+
"description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
|
2353
2337
|
"privacy": "public"
|
2354
2338
|
}
|
2355
2339
|
],
|
2356
2340
|
"exports": [
|
2357
2341
|
{
|
2358
2342
|
"kind": "js",
|
2359
|
-
"name": "
|
2360
|
-
"declaration": {
|
2361
|
-
"name": "defaultEventMap",
|
2362
|
-
"module": "src/directives/sync/sync.ts"
|
2363
|
-
}
|
2364
|
-
},
|
2365
|
-
{
|
2366
|
-
"kind": "js",
|
2367
|
-
"name": "sync",
|
2343
|
+
"name": "whenElse",
|
2368
2344
|
"declaration": {
|
2369
|
-
"name": "
|
2370
|
-
"module": "src/directives/
|
2345
|
+
"name": "whenElse",
|
2346
|
+
"module": "src/directives/when-else/when-else.ts"
|
2371
2347
|
}
|
2372
2348
|
}
|
2373
2349
|
]
|
2374
2350
|
},
|
2375
2351
|
{
|
2376
2352
|
"kind": "javascript-module",
|
2377
|
-
"path": "src/directives/
|
2353
|
+
"path": "src/directives/sync/index.ts",
|
2378
2354
|
"declarations": [],
|
2379
2355
|
"exports": [
|
2380
2356
|
{
|
@@ -2382,18 +2358,28 @@
|
|
2382
2358
|
"name": "*",
|
2383
2359
|
"declaration": {
|
2384
2360
|
"name": "*",
|
2385
|
-
"package": "./
|
2361
|
+
"package": "./sync"
|
2386
2362
|
}
|
2387
2363
|
}
|
2388
2364
|
]
|
2389
2365
|
},
|
2390
2366
|
{
|
2391
2367
|
"kind": "javascript-module",
|
2392
|
-
"path": "src/directives/
|
2368
|
+
"path": "src/directives/sync/sync.ts",
|
2393
2369
|
"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
|
+
},
|
2394
2380
|
{
|
2395
2381
|
"kind": "function",
|
2396
|
-
"name": "
|
2382
|
+
"name": "sync",
|
2397
2383
|
"return": {
|
2398
2384
|
"type": {
|
2399
2385
|
"text": "CaptureType<TSource>"
|
@@ -2404,35 +2390,49 @@
|
|
2404
2390
|
"name": "binding",
|
2405
2391
|
"type": {
|
2406
2392
|
"text": "Binding<TSource, TReturn>"
|
2407
|
-
}
|
2408
|
-
"description": "The condition to test for rendering."
|
2393
|
+
}
|
2409
2394
|
},
|
2410
2395
|
{
|
2411
|
-
"name": "
|
2396
|
+
"name": "conversionType",
|
2397
|
+
"default": "'string'",
|
2412
2398
|
"type": {
|
2413
|
-
"text": "
|
2414
|
-
}
|
2415
|
-
"description": "The template or a binding that gets the template to render when the condition is true."
|
2399
|
+
"text": "ConversionType"
|
2400
|
+
}
|
2416
2401
|
},
|
2417
2402
|
{
|
2418
|
-
"name": "
|
2403
|
+
"name": "eventName",
|
2404
|
+
"default": "'default'",
|
2419
2405
|
"type": {
|
2420
|
-
"text": "
|
2421
|
-
}
|
2422
|
-
|
2406
|
+
"text": "EventName"
|
2407
|
+
}
|
2408
|
+
},
|
2409
|
+
{
|
2410
|
+
"name": "keyAttr",
|
2411
|
+
"optional": true,
|
2412
|
+
"type": {
|
2413
|
+
"text": "string"
|
2414
|
+
}
|
2423
2415
|
}
|
2424
2416
|
],
|
2425
|
-
"description": "
|
2417
|
+
"description": "Creates a synchronization directive that binds a data source to an HTML element,",
|
2426
2418
|
"privacy": "public"
|
2427
2419
|
}
|
2428
2420
|
],
|
2429
2421
|
"exports": [
|
2430
2422
|
{
|
2431
2423
|
"kind": "js",
|
2432
|
-
"name": "
|
2424
|
+
"name": "defaultEventMap",
|
2433
2425
|
"declaration": {
|
2434
|
-
"name": "
|
2435
|
-
"module": "src/directives/
|
2426
|
+
"name": "defaultEventMap",
|
2427
|
+
"module": "src/directives/sync/sync.ts"
|
2428
|
+
}
|
2429
|
+
},
|
2430
|
+
{
|
2431
|
+
"kind": "js",
|
2432
|
+
"name": "sync",
|
2433
|
+
"declaration": {
|
2434
|
+
"name": "sync",
|
2435
|
+
"module": "src/directives/sync/sync.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.227.
|
4
|
+
"version": "14.227.4-RPT-42.1",
|
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.227.
|
31
|
-
"@genesislcap/genx": "14.227.
|
32
|
-
"@genesislcap/rollup-builder": "14.227.
|
33
|
-
"@genesislcap/ts-builder": "14.227.
|
34
|
-
"@genesislcap/uvu-playwright-builder": "14.227.
|
35
|
-
"@genesislcap/vite-builder": "14.227.
|
36
|
-
"@genesislcap/webpack-builder": "14.227.
|
30
|
+
"@genesislcap/foundation-testing": "14.227.4-RPT-42.1",
|
31
|
+
"@genesislcap/genx": "14.227.4-RPT-42.1",
|
32
|
+
"@genesislcap/rollup-builder": "14.227.4-RPT-42.1",
|
33
|
+
"@genesislcap/ts-builder": "14.227.4-RPT-42.1",
|
34
|
+
"@genesislcap/uvu-playwright-builder": "14.227.4-RPT-42.1",
|
35
|
+
"@genesislcap/vite-builder": "14.227.4-RPT-42.1",
|
36
|
+
"@genesislcap/webpack-builder": "14.227.4-RPT-42.1",
|
37
37
|
"rimraf": "^5.0.0"
|
38
38
|
},
|
39
39
|
"dependencies": {
|
40
|
-
"@genesislcap/foundation-logger": "14.227.
|
40
|
+
"@genesislcap/foundation-logger": "14.227.4-RPT-42.1",
|
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": "c26226a894fe5e41e33330c2e4f7205303b5d025"
|
59
59
|
}
|