@genesislcap/foundation-utils 14.224.0 → 14.224.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -2,12 +2,6 @@
|
|
2
2
|
"schemaVersion": "1.0.0",
|
3
3
|
"readme": "",
|
4
4
|
"modules": [
|
5
|
-
{
|
6
|
-
"kind": "javascript-module",
|
7
|
-
"path": "src/index.federated.ts",
|
8
|
-
"declarations": [],
|
9
|
-
"exports": []
|
10
|
-
},
|
11
5
|
{
|
12
6
|
"kind": "javascript-module",
|
13
7
|
"path": "src/index.ts",
|
@@ -169,7 +163,7 @@
|
|
169
163
|
},
|
170
164
|
{
|
171
165
|
"kind": "javascript-module",
|
172
|
-
"path": "src/
|
166
|
+
"path": "src/directives/index.ts",
|
173
167
|
"declarations": [],
|
174
168
|
"exports": [
|
175
169
|
{
|
@@ -177,243 +171,15 @@
|
|
177
171
|
"name": "*",
|
178
172
|
"declaration": {
|
179
173
|
"name": "*",
|
180
|
-
"package": "./
|
181
|
-
}
|
182
|
-
}
|
183
|
-
]
|
184
|
-
},
|
185
|
-
{
|
186
|
-
"kind": "javascript-module",
|
187
|
-
"path": "src/decorators/renderOnChange.ts",
|
188
|
-
"declarations": [
|
189
|
-
{
|
190
|
-
"kind": "function",
|
191
|
-
"name": "renderOnChange",
|
192
|
-
"parameters": [
|
193
|
-
{
|
194
|
-
"name": "target",
|
195
|
-
"type": {
|
196
|
-
"text": "FASTElement & { render(): void }"
|
197
|
-
},
|
198
|
-
"description": "The target to define the property change handler on."
|
199
|
-
},
|
200
|
-
{
|
201
|
-
"name": "name",
|
202
|
-
"type": {
|
203
|
-
"text": "string"
|
204
|
-
},
|
205
|
-
"description": "The property name."
|
206
|
-
}
|
207
|
-
],
|
208
|
-
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
209
|
-
"privacy": "public"
|
210
|
-
}
|
211
|
-
],
|
212
|
-
"exports": [
|
213
|
-
{
|
214
|
-
"kind": "js",
|
215
|
-
"name": "renderOnChange",
|
216
|
-
"declaration": {
|
217
|
-
"name": "renderOnChange",
|
218
|
-
"module": "src/decorators/renderOnChange.ts"
|
219
|
-
}
|
220
|
-
}
|
221
|
-
]
|
222
|
-
},
|
223
|
-
{
|
224
|
-
"kind": "javascript-module",
|
225
|
-
"path": "src/data/inMemoryDatabase.ts",
|
226
|
-
"declarations": [
|
227
|
-
{
|
228
|
-
"kind": "class",
|
229
|
-
"description": "An in memory database of specific DatabaseRecord types.",
|
230
|
-
"name": "InMemoryDatabase",
|
231
|
-
"members": [
|
232
|
-
{
|
233
|
-
"kind": "field",
|
234
|
-
"name": "isWorking",
|
235
|
-
"type": {
|
236
|
-
"text": "boolean"
|
237
|
-
},
|
238
|
-
"privacy": "public",
|
239
|
-
"default": "false"
|
240
|
-
},
|
241
|
-
{
|
242
|
-
"kind": "field",
|
243
|
-
"name": "records",
|
244
|
-
"type": {
|
245
|
-
"text": "Record<string, T>"
|
246
|
-
},
|
247
|
-
"privacy": "private",
|
248
|
-
"default": "{}"
|
249
|
-
},
|
250
|
-
{
|
251
|
-
"kind": "field",
|
252
|
-
"name": "beforeUpdateListeners",
|
253
|
-
"privacy": "private"
|
254
|
-
},
|
255
|
-
{
|
256
|
-
"kind": "field",
|
257
|
-
"name": "afterUpdateListeners",
|
258
|
-
"privacy": "private"
|
259
|
-
},
|
260
|
-
{
|
261
|
-
"kind": "method",
|
262
|
-
"name": "create",
|
263
|
-
"privacy": "public",
|
264
|
-
"return": {
|
265
|
-
"type": {
|
266
|
-
"text": "Promise<DatabaseAccessResult.Create<T>>"
|
267
|
-
}
|
268
|
-
},
|
269
|
-
"parameters": [
|
270
|
-
{
|
271
|
-
"name": "newValue",
|
272
|
-
"type": {
|
273
|
-
"text": "Omit<T, 'id'>"
|
274
|
-
}
|
275
|
-
}
|
276
|
-
]
|
277
|
-
},
|
278
|
-
{
|
279
|
-
"kind": "method",
|
280
|
-
"name": "read",
|
281
|
-
"privacy": "public",
|
282
|
-
"return": {
|
283
|
-
"type": {
|
284
|
-
"text": "Promise<DatabaseAccessResult.Read<T>>"
|
285
|
-
}
|
286
|
-
},
|
287
|
-
"parameters": [
|
288
|
-
{
|
289
|
-
"name": "id",
|
290
|
-
"type": {
|
291
|
-
"text": "string"
|
292
|
-
}
|
293
|
-
}
|
294
|
-
]
|
295
|
-
},
|
296
|
-
{
|
297
|
-
"kind": "method",
|
298
|
-
"name": "update",
|
299
|
-
"privacy": "public",
|
300
|
-
"return": {
|
301
|
-
"type": {
|
302
|
-
"text": "Promise<DatabaseAccessResult.Update<T>>"
|
303
|
-
}
|
304
|
-
},
|
305
|
-
"parameters": [
|
306
|
-
{
|
307
|
-
"name": "id",
|
308
|
-
"type": {
|
309
|
-
"text": "string"
|
310
|
-
}
|
311
|
-
},
|
312
|
-
{
|
313
|
-
"name": "newValue",
|
314
|
-
"type": {
|
315
|
-
"text": "Omit<Partial<T>, 'id'>"
|
316
|
-
}
|
317
|
-
}
|
318
|
-
]
|
319
|
-
},
|
320
|
-
{
|
321
|
-
"kind": "method",
|
322
|
-
"name": "delete",
|
323
|
-
"privacy": "public",
|
324
|
-
"return": {
|
325
|
-
"type": {
|
326
|
-
"text": "Promise<DatabaseAccessResult.Delete>"
|
327
|
-
}
|
328
|
-
},
|
329
|
-
"parameters": [
|
330
|
-
{
|
331
|
-
"name": "id",
|
332
|
-
"type": {
|
333
|
-
"text": "string"
|
334
|
-
}
|
335
|
-
}
|
336
|
-
]
|
337
|
-
},
|
338
|
-
{
|
339
|
-
"kind": "method",
|
340
|
-
"name": "visit",
|
341
|
-
"privacy": "public",
|
342
|
-
"return": {
|
343
|
-
"type": {
|
344
|
-
"text": "Promise<void>"
|
345
|
-
}
|
346
|
-
},
|
347
|
-
"parameters": [
|
348
|
-
{
|
349
|
-
"name": "visitor",
|
350
|
-
"type": {
|
351
|
-
"text": "(record: T) => void"
|
352
|
-
}
|
353
|
-
}
|
354
|
-
]
|
355
|
-
},
|
356
|
-
{
|
357
|
-
"kind": "method",
|
358
|
-
"name": "onBeforeUpdate",
|
359
|
-
"privacy": "public",
|
360
|
-
"return": {
|
361
|
-
"type": {
|
362
|
-
"text": "() => void"
|
363
|
-
}
|
364
|
-
},
|
365
|
-
"parameters": [
|
366
|
-
{
|
367
|
-
"name": "listener",
|
368
|
-
"type": {
|
369
|
-
"text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
|
370
|
-
}
|
371
|
-
}
|
372
|
-
]
|
373
|
-
},
|
374
|
-
{
|
375
|
-
"kind": "method",
|
376
|
-
"name": "onAfterUpdate",
|
377
|
-
"privacy": "public",
|
378
|
-
"return": {
|
379
|
-
"type": {
|
380
|
-
"text": "() => void"
|
381
|
-
}
|
382
|
-
},
|
383
|
-
"parameters": [
|
384
|
-
{
|
385
|
-
"name": "listener",
|
386
|
-
"type": {
|
387
|
-
"text": "Listener<DatabaseEvent.AfterUpdate<T>>"
|
388
|
-
}
|
389
|
-
}
|
390
|
-
]
|
391
|
-
}
|
392
|
-
]
|
393
|
-
}
|
394
|
-
],
|
395
|
-
"exports": [
|
396
|
-
{
|
397
|
-
"kind": "js",
|
398
|
-
"name": "InMemoryDatabase",
|
399
|
-
"declaration": {
|
400
|
-
"name": "InMemoryDatabase",
|
401
|
-
"module": "src/data/inMemoryDatabase.ts"
|
174
|
+
"package": "./sync"
|
402
175
|
}
|
403
|
-
}
|
404
|
-
]
|
405
|
-
},
|
406
|
-
{
|
407
|
-
"kind": "javascript-module",
|
408
|
-
"path": "src/data/index.ts",
|
409
|
-
"declarations": [],
|
410
|
-
"exports": [
|
176
|
+
},
|
411
177
|
{
|
412
178
|
"kind": "js",
|
413
179
|
"name": "*",
|
414
180
|
"declaration": {
|
415
181
|
"name": "*",
|
416
|
-
"package": "./
|
182
|
+
"package": "./when-else"
|
417
183
|
}
|
418
184
|
}
|
419
185
|
]
|
@@ -455,38 +221,15 @@
|
|
455
221
|
},
|
456
222
|
{
|
457
223
|
"kind": "javascript-module",
|
458
|
-
"path": "src/design-system/index.ts",
|
459
|
-
"declarations": [],
|
460
|
-
"exports": [
|
461
|
-
{
|
462
|
-
"kind": "js",
|
463
|
-
"name": "*",
|
464
|
-
"declaration": {
|
465
|
-
"name": "*",
|
466
|
-
"package": "./design-system"
|
467
|
-
}
|
468
|
-
}
|
469
|
-
]
|
470
|
-
},
|
471
|
-
{
|
472
|
-
"kind": "javascript-module",
|
473
|
-
"path": "src/directives/index.ts",
|
474
|
-
"declarations": [],
|
475
|
-
"exports": [
|
476
|
-
{
|
477
|
-
"kind": "js",
|
478
|
-
"name": "*",
|
479
|
-
"declaration": {
|
480
|
-
"name": "*",
|
481
|
-
"package": "./sync"
|
482
|
-
}
|
483
|
-
},
|
224
|
+
"path": "src/design-system/index.ts",
|
225
|
+
"declarations": [],
|
226
|
+
"exports": [
|
484
227
|
{
|
485
228
|
"kind": "js",
|
486
229
|
"name": "*",
|
487
230
|
"declaration": {
|
488
231
|
"name": "*",
|
489
|
-
"package": "./
|
232
|
+
"package": "./design-system"
|
490
233
|
}
|
491
234
|
}
|
492
235
|
]
|
@@ -729,6 +472,204 @@
|
|
729
472
|
}
|
730
473
|
]
|
731
474
|
},
|
475
|
+
{
|
476
|
+
"kind": "javascript-module",
|
477
|
+
"path": "src/data/inMemoryDatabase.ts",
|
478
|
+
"declarations": [
|
479
|
+
{
|
480
|
+
"kind": "class",
|
481
|
+
"description": "An in memory database of specific DatabaseRecord types.",
|
482
|
+
"name": "InMemoryDatabase",
|
483
|
+
"members": [
|
484
|
+
{
|
485
|
+
"kind": "field",
|
486
|
+
"name": "isWorking",
|
487
|
+
"type": {
|
488
|
+
"text": "boolean"
|
489
|
+
},
|
490
|
+
"privacy": "public",
|
491
|
+
"default": "false"
|
492
|
+
},
|
493
|
+
{
|
494
|
+
"kind": "field",
|
495
|
+
"name": "records",
|
496
|
+
"type": {
|
497
|
+
"text": "Record<string, T>"
|
498
|
+
},
|
499
|
+
"privacy": "private",
|
500
|
+
"default": "{}"
|
501
|
+
},
|
502
|
+
{
|
503
|
+
"kind": "field",
|
504
|
+
"name": "beforeUpdateListeners",
|
505
|
+
"privacy": "private"
|
506
|
+
},
|
507
|
+
{
|
508
|
+
"kind": "field",
|
509
|
+
"name": "afterUpdateListeners",
|
510
|
+
"privacy": "private"
|
511
|
+
},
|
512
|
+
{
|
513
|
+
"kind": "method",
|
514
|
+
"name": "create",
|
515
|
+
"privacy": "public",
|
516
|
+
"return": {
|
517
|
+
"type": {
|
518
|
+
"text": "Promise<DatabaseAccessResult.Create<T>>"
|
519
|
+
}
|
520
|
+
},
|
521
|
+
"parameters": [
|
522
|
+
{
|
523
|
+
"name": "newValue",
|
524
|
+
"type": {
|
525
|
+
"text": "Omit<T, 'id'>"
|
526
|
+
}
|
527
|
+
}
|
528
|
+
]
|
529
|
+
},
|
530
|
+
{
|
531
|
+
"kind": "method",
|
532
|
+
"name": "read",
|
533
|
+
"privacy": "public",
|
534
|
+
"return": {
|
535
|
+
"type": {
|
536
|
+
"text": "Promise<DatabaseAccessResult.Read<T>>"
|
537
|
+
}
|
538
|
+
},
|
539
|
+
"parameters": [
|
540
|
+
{
|
541
|
+
"name": "id",
|
542
|
+
"type": {
|
543
|
+
"text": "string"
|
544
|
+
}
|
545
|
+
}
|
546
|
+
]
|
547
|
+
},
|
548
|
+
{
|
549
|
+
"kind": "method",
|
550
|
+
"name": "update",
|
551
|
+
"privacy": "public",
|
552
|
+
"return": {
|
553
|
+
"type": {
|
554
|
+
"text": "Promise<DatabaseAccessResult.Update<T>>"
|
555
|
+
}
|
556
|
+
},
|
557
|
+
"parameters": [
|
558
|
+
{
|
559
|
+
"name": "id",
|
560
|
+
"type": {
|
561
|
+
"text": "string"
|
562
|
+
}
|
563
|
+
},
|
564
|
+
{
|
565
|
+
"name": "newValue",
|
566
|
+
"type": {
|
567
|
+
"text": "Omit<Partial<T>, 'id'>"
|
568
|
+
}
|
569
|
+
}
|
570
|
+
]
|
571
|
+
},
|
572
|
+
{
|
573
|
+
"kind": "method",
|
574
|
+
"name": "delete",
|
575
|
+
"privacy": "public",
|
576
|
+
"return": {
|
577
|
+
"type": {
|
578
|
+
"text": "Promise<DatabaseAccessResult.Delete>"
|
579
|
+
}
|
580
|
+
},
|
581
|
+
"parameters": [
|
582
|
+
{
|
583
|
+
"name": "id",
|
584
|
+
"type": {
|
585
|
+
"text": "string"
|
586
|
+
}
|
587
|
+
}
|
588
|
+
]
|
589
|
+
},
|
590
|
+
{
|
591
|
+
"kind": "method",
|
592
|
+
"name": "visit",
|
593
|
+
"privacy": "public",
|
594
|
+
"return": {
|
595
|
+
"type": {
|
596
|
+
"text": "Promise<void>"
|
597
|
+
}
|
598
|
+
},
|
599
|
+
"parameters": [
|
600
|
+
{
|
601
|
+
"name": "visitor",
|
602
|
+
"type": {
|
603
|
+
"text": "(record: T) => void"
|
604
|
+
}
|
605
|
+
}
|
606
|
+
]
|
607
|
+
},
|
608
|
+
{
|
609
|
+
"kind": "method",
|
610
|
+
"name": "onBeforeUpdate",
|
611
|
+
"privacy": "public",
|
612
|
+
"return": {
|
613
|
+
"type": {
|
614
|
+
"text": "() => void"
|
615
|
+
}
|
616
|
+
},
|
617
|
+
"parameters": [
|
618
|
+
{
|
619
|
+
"name": "listener",
|
620
|
+
"type": {
|
621
|
+
"text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
|
622
|
+
}
|
623
|
+
}
|
624
|
+
]
|
625
|
+
},
|
626
|
+
{
|
627
|
+
"kind": "method",
|
628
|
+
"name": "onAfterUpdate",
|
629
|
+
"privacy": "public",
|
630
|
+
"return": {
|
631
|
+
"type": {
|
632
|
+
"text": "() => void"
|
633
|
+
}
|
634
|
+
},
|
635
|
+
"parameters": [
|
636
|
+
{
|
637
|
+
"name": "listener",
|
638
|
+
"type": {
|
639
|
+
"text": "Listener<DatabaseEvent.AfterUpdate<T>>"
|
640
|
+
}
|
641
|
+
}
|
642
|
+
]
|
643
|
+
}
|
644
|
+
]
|
645
|
+
}
|
646
|
+
],
|
647
|
+
"exports": [
|
648
|
+
{
|
649
|
+
"kind": "js",
|
650
|
+
"name": "InMemoryDatabase",
|
651
|
+
"declaration": {
|
652
|
+
"name": "InMemoryDatabase",
|
653
|
+
"module": "src/data/inMemoryDatabase.ts"
|
654
|
+
}
|
655
|
+
}
|
656
|
+
]
|
657
|
+
},
|
658
|
+
{
|
659
|
+
"kind": "javascript-module",
|
660
|
+
"path": "src/data/index.ts",
|
661
|
+
"declarations": [],
|
662
|
+
"exports": [
|
663
|
+
{
|
664
|
+
"kind": "js",
|
665
|
+
"name": "*",
|
666
|
+
"declaration": {
|
667
|
+
"name": "*",
|
668
|
+
"package": "./inMemoryDatabase"
|
669
|
+
}
|
670
|
+
}
|
671
|
+
]
|
672
|
+
},
|
732
673
|
{
|
733
674
|
"kind": "javascript-module",
|
734
675
|
"path": "src/error/errorMap.ts",
|
@@ -928,6 +869,59 @@
|
|
928
869
|
}
|
929
870
|
]
|
930
871
|
},
|
872
|
+
{
|
873
|
+
"kind": "javascript-module",
|
874
|
+
"path": "src/decorators/index.ts",
|
875
|
+
"declarations": [],
|
876
|
+
"exports": [
|
877
|
+
{
|
878
|
+
"kind": "js",
|
879
|
+
"name": "*",
|
880
|
+
"declaration": {
|
881
|
+
"name": "*",
|
882
|
+
"package": "./renderOnChange"
|
883
|
+
}
|
884
|
+
}
|
885
|
+
]
|
886
|
+
},
|
887
|
+
{
|
888
|
+
"kind": "javascript-module",
|
889
|
+
"path": "src/decorators/renderOnChange.ts",
|
890
|
+
"declarations": [
|
891
|
+
{
|
892
|
+
"kind": "function",
|
893
|
+
"name": "renderOnChange",
|
894
|
+
"parameters": [
|
895
|
+
{
|
896
|
+
"name": "target",
|
897
|
+
"type": {
|
898
|
+
"text": "FASTElement & { render(): void }"
|
899
|
+
},
|
900
|
+
"description": "The target to define the property change handler on."
|
901
|
+
},
|
902
|
+
{
|
903
|
+
"name": "name",
|
904
|
+
"type": {
|
905
|
+
"text": "string"
|
906
|
+
},
|
907
|
+
"description": "The property name."
|
908
|
+
}
|
909
|
+
],
|
910
|
+
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
911
|
+
"privacy": "public"
|
912
|
+
}
|
913
|
+
],
|
914
|
+
"exports": [
|
915
|
+
{
|
916
|
+
"kind": "js",
|
917
|
+
"name": "renderOnChange",
|
918
|
+
"declaration": {
|
919
|
+
"name": "renderOnChange",
|
920
|
+
"module": "src/decorators/renderOnChange.ts"
|
921
|
+
}
|
922
|
+
}
|
923
|
+
]
|
924
|
+
},
|
931
925
|
{
|
932
926
|
"kind": "javascript-module",
|
933
927
|
"path": "src/formatters/datetime.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.224.
|
4
|
+
"version": "14.224.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.224.
|
31
|
-
"@genesislcap/genx": "14.224.
|
32
|
-
"@genesislcap/rollup-builder": "14.224.
|
33
|
-
"@genesislcap/ts-builder": "14.224.
|
34
|
-
"@genesislcap/uvu-playwright-builder": "14.224.
|
35
|
-
"@genesislcap/vite-builder": "14.224.
|
36
|
-
"@genesislcap/webpack-builder": "14.224.
|
30
|
+
"@genesislcap/foundation-testing": "14.224.1",
|
31
|
+
"@genesislcap/genx": "14.224.1",
|
32
|
+
"@genesislcap/rollup-builder": "14.224.1",
|
33
|
+
"@genesislcap/ts-builder": "14.224.1",
|
34
|
+
"@genesislcap/uvu-playwright-builder": "14.224.1",
|
35
|
+
"@genesislcap/vite-builder": "14.224.1",
|
36
|
+
"@genesislcap/webpack-builder": "14.224.1",
|
37
37
|
"rimraf": "^5.0.0"
|
38
38
|
},
|
39
39
|
"dependencies": {
|
40
|
-
"@genesislcap/foundation-logger": "14.224.
|
40
|
+
"@genesislcap/foundation-logger": "14.224.1",
|
41
41
|
"@microsoft/fast-components": "^2.30.6",
|
42
42
|
"@microsoft/fast-element": "^1.12.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": "84efb166d0f84f3908014b548f58207cc29cedc6"
|
59
59
|
}
|
@@ -1 +0,0 @@
|
|
1
|
-
//# sourceMappingURL=index.federated.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.federated.d.ts","sourceRoot":"","sources":["../../src/index.federated.ts"],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
import('./index');
|