@genesislcap/foundation-utils 14.230.1-alpha-f8e36b3.0 → 14.230.1-alpha-9d0b238.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/custom-elements.json +251 -251
- package/package.json +10 -10
@@ -169,257 +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
|
-
{
|
371
|
-
"kind": "javascript-module",
|
372
|
-
"path": "src/decorators/index.ts",
|
373
|
-
"declarations": [],
|
374
|
-
"exports": [
|
375
|
-
{
|
376
|
-
"kind": "js",
|
377
|
-
"name": "*",
|
378
|
-
"declaration": {
|
379
|
-
"name": "*",
|
380
|
-
"package": "./renderOnChange"
|
381
|
-
}
|
382
|
-
}
|
383
|
-
]
|
384
|
-
},
|
385
|
-
{
|
386
|
-
"kind": "javascript-module",
|
387
|
-
"path": "src/decorators/renderOnChange.ts",
|
388
|
-
"declarations": [
|
389
|
-
{
|
390
|
-
"kind": "function",
|
391
|
-
"name": "renderOnChange",
|
392
|
-
"parameters": [
|
393
|
-
{
|
394
|
-
"name": "target",
|
395
|
-
"type": {
|
396
|
-
"text": "FASTElement & { render(): void }"
|
397
|
-
},
|
398
|
-
"description": "The target to define the property change handler on."
|
399
|
-
},
|
400
|
-
{
|
401
|
-
"name": "name",
|
402
|
-
"type": {
|
403
|
-
"text": "string"
|
404
|
-
},
|
405
|
-
"description": "The property name."
|
406
|
-
}
|
407
|
-
],
|
408
|
-
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
409
|
-
"privacy": "public"
|
410
|
-
}
|
411
|
-
],
|
412
|
-
"exports": [
|
413
|
-
{
|
414
|
-
"kind": "js",
|
415
|
-
"name": "renderOnChange",
|
416
|
-
"declaration": {
|
417
|
-
"name": "renderOnChange",
|
418
|
-
"module": "src/decorators/renderOnChange.ts"
|
419
|
-
}
|
420
|
-
}
|
421
|
-
]
|
422
|
-
},
|
423
172
|
{
|
424
173
|
"kind": "javascript-module",
|
425
174
|
"path": "src/design-system/design-system.ts",
|
@@ -796,6 +545,257 @@
|
|
796
545
|
}
|
797
546
|
]
|
798
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": [
|
736
|
+
{
|
737
|
+
"kind": "js",
|
738
|
+
"name": "*",
|
739
|
+
"declaration": {
|
740
|
+
"name": "*",
|
741
|
+
"package": "./inMemoryDatabase"
|
742
|
+
}
|
743
|
+
}
|
744
|
+
]
|
745
|
+
},
|
746
|
+
{
|
747
|
+
"kind": "javascript-module",
|
748
|
+
"path": "src/decorators/index.ts",
|
749
|
+
"declarations": [],
|
750
|
+
"exports": [
|
751
|
+
{
|
752
|
+
"kind": "js",
|
753
|
+
"name": "*",
|
754
|
+
"declaration": {
|
755
|
+
"name": "*",
|
756
|
+
"package": "./renderOnChange"
|
757
|
+
}
|
758
|
+
}
|
759
|
+
]
|
760
|
+
},
|
761
|
+
{
|
762
|
+
"kind": "javascript-module",
|
763
|
+
"path": "src/decorators/renderOnChange.ts",
|
764
|
+
"declarations": [
|
765
|
+
{
|
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
|
+
{
|
790
|
+
"kind": "js",
|
791
|
+
"name": "renderOnChange",
|
792
|
+
"declaration": {
|
793
|
+
"name": "renderOnChange",
|
794
|
+
"module": "src/decorators/renderOnChange.ts"
|
795
|
+
}
|
796
|
+
}
|
797
|
+
]
|
798
|
+
},
|
799
799
|
{
|
800
800
|
"kind": "javascript-module",
|
801
801
|
"path": "src/error/errorMap.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": "14.230.1-alpha-
|
4
|
+
"version": "14.230.1-alpha-9d0b238.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.230.1-alpha-
|
31
|
-
"@genesislcap/genx": "14.230.1-alpha-
|
32
|
-
"@genesislcap/rollup-builder": "14.230.1-alpha-
|
33
|
-
"@genesislcap/ts-builder": "14.230.1-alpha-
|
34
|
-
"@genesislcap/uvu-playwright-builder": "14.230.1-alpha-
|
35
|
-
"@genesislcap/vite-builder": "14.230.1-alpha-
|
36
|
-
"@genesislcap/webpack-builder": "14.230.1-alpha-
|
30
|
+
"@genesislcap/foundation-testing": "14.230.1-alpha-9d0b238.0",
|
31
|
+
"@genesislcap/genx": "14.230.1-alpha-9d0b238.0",
|
32
|
+
"@genesislcap/rollup-builder": "14.230.1-alpha-9d0b238.0",
|
33
|
+
"@genesislcap/ts-builder": "14.230.1-alpha-9d0b238.0",
|
34
|
+
"@genesislcap/uvu-playwright-builder": "14.230.1-alpha-9d0b238.0",
|
35
|
+
"@genesislcap/vite-builder": "14.230.1-alpha-9d0b238.0",
|
36
|
+
"@genesislcap/webpack-builder": "14.230.1-alpha-9d0b238.0",
|
37
37
|
"rimraf": "^5.0.0"
|
38
38
|
},
|
39
39
|
"dependencies": {
|
40
|
-
"@genesislcap/foundation-logger": "14.230.1-alpha-
|
40
|
+
"@genesislcap/foundation-logger": "14.230.1-alpha-9d0b238.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": "4e3e98134dda8b4b6ac8311ccfbcaf24ed522006"
|
59
59
|
}
|