@genesislcap/foundation-utils 14.202.1-alpha-271f747.0 → 14.203.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/custom-elements.json +246 -246
- package/package.json +10 -10
@@ -182,204 +182,6 @@
|
|
182
182
|
}
|
183
183
|
]
|
184
184
|
},
|
185
|
-
{
|
186
|
-
"kind": "javascript-module",
|
187
|
-
"path": "src/data/inMemoryDatabase.ts",
|
188
|
-
"declarations": [
|
189
|
-
{
|
190
|
-
"kind": "class",
|
191
|
-
"description": "An in memory database of specific DatabaseRecord types.",
|
192
|
-
"name": "InMemoryDatabase",
|
193
|
-
"members": [
|
194
|
-
{
|
195
|
-
"kind": "field",
|
196
|
-
"name": "isWorking",
|
197
|
-
"type": {
|
198
|
-
"text": "boolean"
|
199
|
-
},
|
200
|
-
"privacy": "public",
|
201
|
-
"default": "false"
|
202
|
-
},
|
203
|
-
{
|
204
|
-
"kind": "field",
|
205
|
-
"name": "records",
|
206
|
-
"type": {
|
207
|
-
"text": "Record<string, T>"
|
208
|
-
},
|
209
|
-
"privacy": "private",
|
210
|
-
"default": "{}"
|
211
|
-
},
|
212
|
-
{
|
213
|
-
"kind": "field",
|
214
|
-
"name": "beforeUpdateListeners",
|
215
|
-
"privacy": "private"
|
216
|
-
},
|
217
|
-
{
|
218
|
-
"kind": "field",
|
219
|
-
"name": "afterUpdateListeners",
|
220
|
-
"privacy": "private"
|
221
|
-
},
|
222
|
-
{
|
223
|
-
"kind": "method",
|
224
|
-
"name": "create",
|
225
|
-
"privacy": "public",
|
226
|
-
"return": {
|
227
|
-
"type": {
|
228
|
-
"text": "Promise<DatabaseAccessResult.Create<T>>"
|
229
|
-
}
|
230
|
-
},
|
231
|
-
"parameters": [
|
232
|
-
{
|
233
|
-
"name": "newValue",
|
234
|
-
"type": {
|
235
|
-
"text": "Omit<T, 'id'>"
|
236
|
-
}
|
237
|
-
}
|
238
|
-
]
|
239
|
-
},
|
240
|
-
{
|
241
|
-
"kind": "method",
|
242
|
-
"name": "read",
|
243
|
-
"privacy": "public",
|
244
|
-
"return": {
|
245
|
-
"type": {
|
246
|
-
"text": "Promise<DatabaseAccessResult.Read<T>>"
|
247
|
-
}
|
248
|
-
},
|
249
|
-
"parameters": [
|
250
|
-
{
|
251
|
-
"name": "id",
|
252
|
-
"type": {
|
253
|
-
"text": "string"
|
254
|
-
}
|
255
|
-
}
|
256
|
-
]
|
257
|
-
},
|
258
|
-
{
|
259
|
-
"kind": "method",
|
260
|
-
"name": "update",
|
261
|
-
"privacy": "public",
|
262
|
-
"return": {
|
263
|
-
"type": {
|
264
|
-
"text": "Promise<DatabaseAccessResult.Update<T>>"
|
265
|
-
}
|
266
|
-
},
|
267
|
-
"parameters": [
|
268
|
-
{
|
269
|
-
"name": "id",
|
270
|
-
"type": {
|
271
|
-
"text": "string"
|
272
|
-
}
|
273
|
-
},
|
274
|
-
{
|
275
|
-
"name": "newValue",
|
276
|
-
"type": {
|
277
|
-
"text": "Omit<Partial<T>, 'id'>"
|
278
|
-
}
|
279
|
-
}
|
280
|
-
]
|
281
|
-
},
|
282
|
-
{
|
283
|
-
"kind": "method",
|
284
|
-
"name": "delete",
|
285
|
-
"privacy": "public",
|
286
|
-
"return": {
|
287
|
-
"type": {
|
288
|
-
"text": "Promise<DatabaseAccessResult.Delete>"
|
289
|
-
}
|
290
|
-
},
|
291
|
-
"parameters": [
|
292
|
-
{
|
293
|
-
"name": "id",
|
294
|
-
"type": {
|
295
|
-
"text": "string"
|
296
|
-
}
|
297
|
-
}
|
298
|
-
]
|
299
|
-
},
|
300
|
-
{
|
301
|
-
"kind": "method",
|
302
|
-
"name": "visit",
|
303
|
-
"privacy": "public",
|
304
|
-
"return": {
|
305
|
-
"type": {
|
306
|
-
"text": "Promise<void>"
|
307
|
-
}
|
308
|
-
},
|
309
|
-
"parameters": [
|
310
|
-
{
|
311
|
-
"name": "visitor",
|
312
|
-
"type": {
|
313
|
-
"text": "(record: T) => void"
|
314
|
-
}
|
315
|
-
}
|
316
|
-
]
|
317
|
-
},
|
318
|
-
{
|
319
|
-
"kind": "method",
|
320
|
-
"name": "onBeforeUpdate",
|
321
|
-
"privacy": "public",
|
322
|
-
"return": {
|
323
|
-
"type": {
|
324
|
-
"text": "() => void"
|
325
|
-
}
|
326
|
-
},
|
327
|
-
"parameters": [
|
328
|
-
{
|
329
|
-
"name": "listener",
|
330
|
-
"type": {
|
331
|
-
"text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
|
332
|
-
}
|
333
|
-
}
|
334
|
-
]
|
335
|
-
},
|
336
|
-
{
|
337
|
-
"kind": "method",
|
338
|
-
"name": "onAfterUpdate",
|
339
|
-
"privacy": "public",
|
340
|
-
"return": {
|
341
|
-
"type": {
|
342
|
-
"text": "() => void"
|
343
|
-
}
|
344
|
-
},
|
345
|
-
"parameters": [
|
346
|
-
{
|
347
|
-
"name": "listener",
|
348
|
-
"type": {
|
349
|
-
"text": "Listener<DatabaseEvent.AfterUpdate<T>>"
|
350
|
-
}
|
351
|
-
}
|
352
|
-
]
|
353
|
-
}
|
354
|
-
]
|
355
|
-
}
|
356
|
-
],
|
357
|
-
"exports": [
|
358
|
-
{
|
359
|
-
"kind": "js",
|
360
|
-
"name": "InMemoryDatabase",
|
361
|
-
"declaration": {
|
362
|
-
"name": "InMemoryDatabase",
|
363
|
-
"module": "src/data/inMemoryDatabase.ts"
|
364
|
-
}
|
365
|
-
}
|
366
|
-
]
|
367
|
-
},
|
368
|
-
{
|
369
|
-
"kind": "javascript-module",
|
370
|
-
"path": "src/data/index.ts",
|
371
|
-
"declarations": [],
|
372
|
-
"exports": [
|
373
|
-
{
|
374
|
-
"kind": "js",
|
375
|
-
"name": "*",
|
376
|
-
"declaration": {
|
377
|
-
"name": "*",
|
378
|
-
"package": "./inMemoryDatabase"
|
379
|
-
}
|
380
|
-
}
|
381
|
-
]
|
382
|
-
},
|
383
185
|
{
|
384
186
|
"kind": "javascript-module",
|
385
187
|
"path": "src/env/index.ts",
|
@@ -620,53 +422,50 @@
|
|
620
422
|
},
|
621
423
|
{
|
622
424
|
"kind": "javascript-module",
|
623
|
-
"path": "src/
|
624
|
-
"declarations": [],
|
625
|
-
"exports": [
|
626
|
-
{
|
627
|
-
"kind": "js",
|
628
|
-
"name": "*",
|
629
|
-
"declaration": {
|
630
|
-
"name": "*",
|
631
|
-
"package": "./renderOnChange"
|
632
|
-
}
|
633
|
-
}
|
634
|
-
]
|
635
|
-
},
|
636
|
-
{
|
637
|
-
"kind": "javascript-module",
|
638
|
-
"path": "src/decorators/renderOnChange.ts",
|
425
|
+
"path": "src/design-system/design-system.ts",
|
639
426
|
"declarations": [
|
640
427
|
{
|
641
428
|
"kind": "function",
|
642
|
-
"name": "
|
429
|
+
"name": "assureDesignSystem",
|
430
|
+
"return": {
|
431
|
+
"type": {
|
432
|
+
"text": "DesignSystemModule"
|
433
|
+
}
|
434
|
+
},
|
643
435
|
"parameters": [
|
644
436
|
{
|
645
|
-
"name": "
|
646
|
-
"type": {
|
647
|
-
"text": "FASTElement & { render(): void }"
|
648
|
-
},
|
649
|
-
"description": "The target to define the property change handler on."
|
650
|
-
},
|
651
|
-
{
|
652
|
-
"name": "name",
|
437
|
+
"name": "module",
|
653
438
|
"type": {
|
654
|
-
"text": "
|
655
|
-
}
|
656
|
-
"description": "The property name."
|
439
|
+
"text": "DesignSystemModule"
|
440
|
+
}
|
657
441
|
}
|
658
442
|
],
|
659
|
-
"description": "
|
443
|
+
"description": "assureDesignSystem.",
|
660
444
|
"privacy": "public"
|
661
445
|
}
|
662
446
|
],
|
663
447
|
"exports": [
|
664
448
|
{
|
665
449
|
"kind": "js",
|
666
|
-
"name": "
|
450
|
+
"name": "assureDesignSystem",
|
667
451
|
"declaration": {
|
668
|
-
"name": "
|
669
|
-
"module": "src/
|
452
|
+
"name": "assureDesignSystem",
|
453
|
+
"module": "src/design-system/design-system.ts"
|
454
|
+
}
|
455
|
+
}
|
456
|
+
]
|
457
|
+
},
|
458
|
+
{
|
459
|
+
"kind": "javascript-module",
|
460
|
+
"path": "src/design-system/index.ts",
|
461
|
+
"declarations": [],
|
462
|
+
"exports": [
|
463
|
+
{
|
464
|
+
"kind": "js",
|
465
|
+
"name": "*",
|
466
|
+
"declaration": {
|
467
|
+
"name": "*",
|
468
|
+
"package": "./design-system"
|
670
469
|
}
|
671
470
|
}
|
672
471
|
]
|
@@ -872,42 +671,243 @@
|
|
872
671
|
},
|
873
672
|
{
|
874
673
|
"kind": "javascript-module",
|
875
|
-
"path": "src/
|
674
|
+
"path": "src/decorators/index.ts",
|
675
|
+
"declarations": [],
|
676
|
+
"exports": [
|
677
|
+
{
|
678
|
+
"kind": "js",
|
679
|
+
"name": "*",
|
680
|
+
"declaration": {
|
681
|
+
"name": "*",
|
682
|
+
"package": "./renderOnChange"
|
683
|
+
}
|
684
|
+
}
|
685
|
+
]
|
686
|
+
},
|
687
|
+
{
|
688
|
+
"kind": "javascript-module",
|
689
|
+
"path": "src/decorators/renderOnChange.ts",
|
876
690
|
"declarations": [
|
877
691
|
{
|
878
692
|
"kind": "function",
|
879
|
-
"name": "
|
880
|
-
"return": {
|
881
|
-
"type": {
|
882
|
-
"text": "DesignSystemModule"
|
883
|
-
}
|
884
|
-
},
|
693
|
+
"name": "renderOnChange",
|
885
694
|
"parameters": [
|
886
695
|
{
|
887
|
-
"name": "
|
696
|
+
"name": "target",
|
888
697
|
"type": {
|
889
|
-
"text": "
|
890
|
-
}
|
698
|
+
"text": "FASTElement & { render(): void }"
|
699
|
+
},
|
700
|
+
"description": "The target to define the property change handler on."
|
701
|
+
},
|
702
|
+
{
|
703
|
+
"name": "name",
|
704
|
+
"type": {
|
705
|
+
"text": "string"
|
706
|
+
},
|
707
|
+
"description": "The property name."
|
891
708
|
}
|
892
709
|
],
|
893
|
-
"description": "
|
710
|
+
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
894
711
|
"privacy": "public"
|
895
712
|
}
|
896
713
|
],
|
897
714
|
"exports": [
|
898
715
|
{
|
899
716
|
"kind": "js",
|
900
|
-
"name": "
|
717
|
+
"name": "renderOnChange",
|
901
718
|
"declaration": {
|
902
|
-
"name": "
|
903
|
-
"module": "src/
|
719
|
+
"name": "renderOnChange",
|
720
|
+
"module": "src/decorators/renderOnChange.ts"
|
904
721
|
}
|
905
722
|
}
|
906
723
|
]
|
907
724
|
},
|
908
725
|
{
|
909
726
|
"kind": "javascript-module",
|
910
|
-
"path": "src/
|
727
|
+
"path": "src/data/inMemoryDatabase.ts",
|
728
|
+
"declarations": [
|
729
|
+
{
|
730
|
+
"kind": "class",
|
731
|
+
"description": "An in memory database of specific DatabaseRecord types.",
|
732
|
+
"name": "InMemoryDatabase",
|
733
|
+
"members": [
|
734
|
+
{
|
735
|
+
"kind": "field",
|
736
|
+
"name": "isWorking",
|
737
|
+
"type": {
|
738
|
+
"text": "boolean"
|
739
|
+
},
|
740
|
+
"privacy": "public",
|
741
|
+
"default": "false"
|
742
|
+
},
|
743
|
+
{
|
744
|
+
"kind": "field",
|
745
|
+
"name": "records",
|
746
|
+
"type": {
|
747
|
+
"text": "Record<string, T>"
|
748
|
+
},
|
749
|
+
"privacy": "private",
|
750
|
+
"default": "{}"
|
751
|
+
},
|
752
|
+
{
|
753
|
+
"kind": "field",
|
754
|
+
"name": "beforeUpdateListeners",
|
755
|
+
"privacy": "private"
|
756
|
+
},
|
757
|
+
{
|
758
|
+
"kind": "field",
|
759
|
+
"name": "afterUpdateListeners",
|
760
|
+
"privacy": "private"
|
761
|
+
},
|
762
|
+
{
|
763
|
+
"kind": "method",
|
764
|
+
"name": "create",
|
765
|
+
"privacy": "public",
|
766
|
+
"return": {
|
767
|
+
"type": {
|
768
|
+
"text": "Promise<DatabaseAccessResult.Create<T>>"
|
769
|
+
}
|
770
|
+
},
|
771
|
+
"parameters": [
|
772
|
+
{
|
773
|
+
"name": "newValue",
|
774
|
+
"type": {
|
775
|
+
"text": "Omit<T, 'id'>"
|
776
|
+
}
|
777
|
+
}
|
778
|
+
]
|
779
|
+
},
|
780
|
+
{
|
781
|
+
"kind": "method",
|
782
|
+
"name": "read",
|
783
|
+
"privacy": "public",
|
784
|
+
"return": {
|
785
|
+
"type": {
|
786
|
+
"text": "Promise<DatabaseAccessResult.Read<T>>"
|
787
|
+
}
|
788
|
+
},
|
789
|
+
"parameters": [
|
790
|
+
{
|
791
|
+
"name": "id",
|
792
|
+
"type": {
|
793
|
+
"text": "string"
|
794
|
+
}
|
795
|
+
}
|
796
|
+
]
|
797
|
+
},
|
798
|
+
{
|
799
|
+
"kind": "method",
|
800
|
+
"name": "update",
|
801
|
+
"privacy": "public",
|
802
|
+
"return": {
|
803
|
+
"type": {
|
804
|
+
"text": "Promise<DatabaseAccessResult.Update<T>>"
|
805
|
+
}
|
806
|
+
},
|
807
|
+
"parameters": [
|
808
|
+
{
|
809
|
+
"name": "id",
|
810
|
+
"type": {
|
811
|
+
"text": "string"
|
812
|
+
}
|
813
|
+
},
|
814
|
+
{
|
815
|
+
"name": "newValue",
|
816
|
+
"type": {
|
817
|
+
"text": "Omit<Partial<T>, 'id'>"
|
818
|
+
}
|
819
|
+
}
|
820
|
+
]
|
821
|
+
},
|
822
|
+
{
|
823
|
+
"kind": "method",
|
824
|
+
"name": "delete",
|
825
|
+
"privacy": "public",
|
826
|
+
"return": {
|
827
|
+
"type": {
|
828
|
+
"text": "Promise<DatabaseAccessResult.Delete>"
|
829
|
+
}
|
830
|
+
},
|
831
|
+
"parameters": [
|
832
|
+
{
|
833
|
+
"name": "id",
|
834
|
+
"type": {
|
835
|
+
"text": "string"
|
836
|
+
}
|
837
|
+
}
|
838
|
+
]
|
839
|
+
},
|
840
|
+
{
|
841
|
+
"kind": "method",
|
842
|
+
"name": "visit",
|
843
|
+
"privacy": "public",
|
844
|
+
"return": {
|
845
|
+
"type": {
|
846
|
+
"text": "Promise<void>"
|
847
|
+
}
|
848
|
+
},
|
849
|
+
"parameters": [
|
850
|
+
{
|
851
|
+
"name": "visitor",
|
852
|
+
"type": {
|
853
|
+
"text": "(record: T) => void"
|
854
|
+
}
|
855
|
+
}
|
856
|
+
]
|
857
|
+
},
|
858
|
+
{
|
859
|
+
"kind": "method",
|
860
|
+
"name": "onBeforeUpdate",
|
861
|
+
"privacy": "public",
|
862
|
+
"return": {
|
863
|
+
"type": {
|
864
|
+
"text": "() => void"
|
865
|
+
}
|
866
|
+
},
|
867
|
+
"parameters": [
|
868
|
+
{
|
869
|
+
"name": "listener",
|
870
|
+
"type": {
|
871
|
+
"text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
|
872
|
+
}
|
873
|
+
}
|
874
|
+
]
|
875
|
+
},
|
876
|
+
{
|
877
|
+
"kind": "method",
|
878
|
+
"name": "onAfterUpdate",
|
879
|
+
"privacy": "public",
|
880
|
+
"return": {
|
881
|
+
"type": {
|
882
|
+
"text": "() => void"
|
883
|
+
}
|
884
|
+
},
|
885
|
+
"parameters": [
|
886
|
+
{
|
887
|
+
"name": "listener",
|
888
|
+
"type": {
|
889
|
+
"text": "Listener<DatabaseEvent.AfterUpdate<T>>"
|
890
|
+
}
|
891
|
+
}
|
892
|
+
]
|
893
|
+
}
|
894
|
+
]
|
895
|
+
}
|
896
|
+
],
|
897
|
+
"exports": [
|
898
|
+
{
|
899
|
+
"kind": "js",
|
900
|
+
"name": "InMemoryDatabase",
|
901
|
+
"declaration": {
|
902
|
+
"name": "InMemoryDatabase",
|
903
|
+
"module": "src/data/inMemoryDatabase.ts"
|
904
|
+
}
|
905
|
+
}
|
906
|
+
]
|
907
|
+
},
|
908
|
+
{
|
909
|
+
"kind": "javascript-module",
|
910
|
+
"path": "src/data/index.ts",
|
911
911
|
"declarations": [],
|
912
912
|
"exports": [
|
913
913
|
{
|
@@ -915,7 +915,7 @@
|
|
915
915
|
"name": "*",
|
916
916
|
"declaration": {
|
917
917
|
"name": "*",
|
918
|
-
"package": "./
|
918
|
+
"package": "./inMemoryDatabase"
|
919
919
|
}
|
920
920
|
}
|
921
921
|
]
|
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.203.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.203.0",
|
31
|
+
"@genesislcap/genx": "14.203.0",
|
32
|
+
"@genesislcap/rollup-builder": "14.203.0",
|
33
|
+
"@genesislcap/ts-builder": "14.203.0",
|
34
|
+
"@genesislcap/uvu-playwright-builder": "14.203.0",
|
35
|
+
"@genesislcap/vite-builder": "14.203.0",
|
36
|
+
"@genesislcap/webpack-builder": "14.203.0",
|
37
37
|
"rimraf": "^5.0.0"
|
38
38
|
},
|
39
39
|
"dependencies": {
|
40
|
-
"@genesislcap/foundation-logger": "14.
|
40
|
+
"@genesislcap/foundation-logger": "14.203.0",
|
41
41
|
"@microsoft/fast-components": "^2.30.6",
|
42
42
|
"@microsoft/fast-element": "^1.12.0",
|
43
43
|
"@microsoft/fast-foundation": "^2.49.4",
|
@@ -55,5 +55,5 @@
|
|
55
55
|
"access": "public"
|
56
56
|
},
|
57
57
|
"customElements": "dist/custom-elements.json",
|
58
|
-
"gitHead": "
|
58
|
+
"gitHead": "3f779b9e65169135dc8fea0605f21d0d65ce263b"
|
59
59
|
}
|