@genesislcap/foundation-utils 14.202.0 → 14.202.1-alpha-77ef7ac.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/dist/custom-elements.json +325 -325
  2. package/package.json +10 -10
@@ -159,257 +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
- {
361
- "kind": "javascript-module",
362
- "path": "src/decorators/index.ts",
363
- "declarations": [],
364
- "exports": [
365
- {
366
- "kind": "js",
367
- "name": "*",
368
- "declaration": {
369
- "name": "*",
370
- "package": "./renderOnChange"
371
- }
372
- }
373
- ]
374
- },
375
- {
376
- "kind": "javascript-module",
377
- "path": "src/decorators/renderOnChange.ts",
378
- "declarations": [
379
- {
380
- "kind": "function",
381
- "name": "renderOnChange",
382
- "parameters": [
383
- {
384
- "name": "target",
385
- "type": {
386
- "text": "FASTElement & { render(): void }"
387
- },
388
- "description": "The target to define the property change handler on."
389
- },
390
- {
391
- "name": "name",
392
- "type": {
393
- "text": "string"
394
- },
395
- "description": "The property name."
396
- }
397
- ],
398
- "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
399
- "privacy": "public"
400
- }
401
- ],
402
- "exports": [
403
- {
404
- "kind": "js",
405
- "name": "renderOnChange",
406
- "declaration": {
407
- "name": "renderOnChange",
408
- "module": "src/decorators/renderOnChange.ts"
409
- }
410
- }
411
- ]
412
- },
413
162
  {
414
163
  "kind": "javascript-module",
415
164
  "path": "src/directives/index.ts",
@@ -433,56 +182,6 @@
433
182
  }
434
183
  ]
435
184
  },
436
- {
437
- "kind": "javascript-module",
438
- "path": "src/design-system/design-system.ts",
439
- "declarations": [
440
- {
441
- "kind": "function",
442
- "name": "assureDesignSystem",
443
- "return": {
444
- "type": {
445
- "text": "DesignSystemModule"
446
- }
447
- },
448
- "parameters": [
449
- {
450
- "name": "module",
451
- "type": {
452
- "text": "DesignSystemModule"
453
- }
454
- }
455
- ],
456
- "description": "assureDesignSystem.",
457
- "privacy": "public"
458
- }
459
- ],
460
- "exports": [
461
- {
462
- "kind": "js",
463
- "name": "assureDesignSystem",
464
- "declaration": {
465
- "name": "assureDesignSystem",
466
- "module": "src/design-system/design-system.ts"
467
- }
468
- }
469
- ]
470
- },
471
- {
472
- "kind": "javascript-module",
473
- "path": "src/design-system/index.ts",
474
- "declarations": [],
475
- "exports": [
476
- {
477
- "kind": "js",
478
- "name": "*",
479
- "declaration": {
480
- "name": "*",
481
- "package": "./design-system"
482
- }
483
- }
484
- ]
485
- },
486
185
  {
487
186
  "kind": "javascript-module",
488
187
  "path": "src/env/index.ts",
@@ -860,54 +559,157 @@
860
559
  "type": {
861
560
  "text": "string"
862
561
  },
863
- "description": "{@inheritDoc ErrorMap.messages}",
864
- "readonly": true
562
+ "description": "{@inheritDoc ErrorMap.messages}",
563
+ "readonly": true
564
+ }
565
+ ]
566
+ },
567
+ {
568
+ "kind": "function",
569
+ "name": "createErrorMap",
570
+ "return": {
571
+ "type": {
572
+ "text": ""
573
+ }
574
+ },
575
+ "parameters": [
576
+ {
577
+ "name": "logger",
578
+ "type": {
579
+ "text": "ErrorMapLogger"
580
+ },
581
+ "description": "A logger error method reference."
582
+ }
583
+ ],
584
+ "description": "A factory to create the error map.",
585
+ "privacy": "public"
586
+ }
587
+ ],
588
+ "exports": [
589
+ {
590
+ "kind": "js",
591
+ "name": "DefaultErrorMap",
592
+ "declaration": {
593
+ "name": "DefaultErrorMap",
594
+ "module": "src/error/errorMap.ts"
595
+ }
596
+ },
597
+ {
598
+ "kind": "js",
599
+ "name": "createErrorMap",
600
+ "declaration": {
601
+ "name": "createErrorMap",
602
+ "module": "src/error/errorMap.ts"
603
+ }
604
+ }
605
+ ]
606
+ },
607
+ {
608
+ "kind": "javascript-module",
609
+ "path": "src/error/index.ts",
610
+ "declarations": [],
611
+ "exports": [
612
+ {
613
+ "kind": "js",
614
+ "name": "*",
615
+ "declaration": {
616
+ "name": "*",
617
+ "package": "./errorMap"
618
+ }
619
+ }
620
+ ]
621
+ },
622
+ {
623
+ "kind": "javascript-module",
624
+ "path": "src/decorators/index.ts",
625
+ "declarations": [],
626
+ "exports": [
627
+ {
628
+ "kind": "js",
629
+ "name": "*",
630
+ "declaration": {
631
+ "name": "*",
632
+ "package": "./renderOnChange"
633
+ }
634
+ }
635
+ ]
636
+ },
637
+ {
638
+ "kind": "javascript-module",
639
+ "path": "src/decorators/renderOnChange.ts",
640
+ "declarations": [
641
+ {
642
+ "kind": "function",
643
+ "name": "renderOnChange",
644
+ "parameters": [
645
+ {
646
+ "name": "target",
647
+ "type": {
648
+ "text": "FASTElement & { render(): void }"
649
+ },
650
+ "description": "The target to define the property change handler on."
651
+ },
652
+ {
653
+ "name": "name",
654
+ "type": {
655
+ "text": "string"
656
+ },
657
+ "description": "The property name."
865
658
  }
866
- ]
867
- },
659
+ ],
660
+ "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
661
+ "privacy": "public"
662
+ }
663
+ ],
664
+ "exports": [
665
+ {
666
+ "kind": "js",
667
+ "name": "renderOnChange",
668
+ "declaration": {
669
+ "name": "renderOnChange",
670
+ "module": "src/decorators/renderOnChange.ts"
671
+ }
672
+ }
673
+ ]
674
+ },
675
+ {
676
+ "kind": "javascript-module",
677
+ "path": "src/design-system/design-system.ts",
678
+ "declarations": [
868
679
  {
869
680
  "kind": "function",
870
- "name": "createErrorMap",
681
+ "name": "assureDesignSystem",
871
682
  "return": {
872
683
  "type": {
873
- "text": ""
684
+ "text": "DesignSystemModule"
874
685
  }
875
686
  },
876
687
  "parameters": [
877
688
  {
878
- "name": "logger",
689
+ "name": "module",
879
690
  "type": {
880
- "text": "ErrorMapLogger"
881
- },
882
- "description": "A logger error method reference."
691
+ "text": "DesignSystemModule"
692
+ }
883
693
  }
884
694
  ],
885
- "description": "A factory to create the error map.",
695
+ "description": "assureDesignSystem.",
886
696
  "privacy": "public"
887
697
  }
888
698
  ],
889
699
  "exports": [
890
700
  {
891
701
  "kind": "js",
892
- "name": "DefaultErrorMap",
893
- "declaration": {
894
- "name": "DefaultErrorMap",
895
- "module": "src/error/errorMap.ts"
896
- }
897
- },
898
- {
899
- "kind": "js",
900
- "name": "createErrorMap",
702
+ "name": "assureDesignSystem",
901
703
  "declaration": {
902
- "name": "createErrorMap",
903
- "module": "src/error/errorMap.ts"
704
+ "name": "assureDesignSystem",
705
+ "module": "src/design-system/design-system.ts"
904
706
  }
905
707
  }
906
708
  ]
907
709
  },
908
710
  {
909
711
  "kind": "javascript-module",
910
- "path": "src/error/index.ts",
712
+ "path": "src/design-system/index.ts",
911
713
  "declarations": [],
912
714
  "exports": [
913
715
  {
@@ -915,7 +717,7 @@
915
717
  "name": "*",
916
718
  "declaration": {
917
719
  "name": "*",
918
- "package": "./errorMap"
720
+ "package": "./design-system"
919
721
  }
920
722
  }
921
723
  ]
@@ -1457,6 +1259,204 @@
1457
1259
  }
1458
1260
  ]
1459
1261
  },
1262
+ {
1263
+ "kind": "javascript-module",
1264
+ "path": "src/data/inMemoryDatabase.ts",
1265
+ "declarations": [
1266
+ {
1267
+ "kind": "class",
1268
+ "description": "An in memory database of specific DatabaseRecord types.",
1269
+ "name": "InMemoryDatabase",
1270
+ "members": [
1271
+ {
1272
+ "kind": "field",
1273
+ "name": "isWorking",
1274
+ "type": {
1275
+ "text": "boolean"
1276
+ },
1277
+ "privacy": "public",
1278
+ "default": "false"
1279
+ },
1280
+ {
1281
+ "kind": "field",
1282
+ "name": "records",
1283
+ "type": {
1284
+ "text": "Record<string, T>"
1285
+ },
1286
+ "privacy": "private",
1287
+ "default": "{}"
1288
+ },
1289
+ {
1290
+ "kind": "field",
1291
+ "name": "beforeUpdateListeners",
1292
+ "privacy": "private"
1293
+ },
1294
+ {
1295
+ "kind": "field",
1296
+ "name": "afterUpdateListeners",
1297
+ "privacy": "private"
1298
+ },
1299
+ {
1300
+ "kind": "method",
1301
+ "name": "create",
1302
+ "privacy": "public",
1303
+ "return": {
1304
+ "type": {
1305
+ "text": "Promise<DatabaseAccessResult.Create<T>>"
1306
+ }
1307
+ },
1308
+ "parameters": [
1309
+ {
1310
+ "name": "newValue",
1311
+ "type": {
1312
+ "text": "Omit<T, 'id'>"
1313
+ }
1314
+ }
1315
+ ]
1316
+ },
1317
+ {
1318
+ "kind": "method",
1319
+ "name": "read",
1320
+ "privacy": "public",
1321
+ "return": {
1322
+ "type": {
1323
+ "text": "Promise<DatabaseAccessResult.Read<T>>"
1324
+ }
1325
+ },
1326
+ "parameters": [
1327
+ {
1328
+ "name": "id",
1329
+ "type": {
1330
+ "text": "string"
1331
+ }
1332
+ }
1333
+ ]
1334
+ },
1335
+ {
1336
+ "kind": "method",
1337
+ "name": "update",
1338
+ "privacy": "public",
1339
+ "return": {
1340
+ "type": {
1341
+ "text": "Promise<DatabaseAccessResult.Update<T>>"
1342
+ }
1343
+ },
1344
+ "parameters": [
1345
+ {
1346
+ "name": "id",
1347
+ "type": {
1348
+ "text": "string"
1349
+ }
1350
+ },
1351
+ {
1352
+ "name": "newValue",
1353
+ "type": {
1354
+ "text": "Omit<Partial<T>, 'id'>"
1355
+ }
1356
+ }
1357
+ ]
1358
+ },
1359
+ {
1360
+ "kind": "method",
1361
+ "name": "delete",
1362
+ "privacy": "public",
1363
+ "return": {
1364
+ "type": {
1365
+ "text": "Promise<DatabaseAccessResult.Delete>"
1366
+ }
1367
+ },
1368
+ "parameters": [
1369
+ {
1370
+ "name": "id",
1371
+ "type": {
1372
+ "text": "string"
1373
+ }
1374
+ }
1375
+ ]
1376
+ },
1377
+ {
1378
+ "kind": "method",
1379
+ "name": "visit",
1380
+ "privacy": "public",
1381
+ "return": {
1382
+ "type": {
1383
+ "text": "Promise<void>"
1384
+ }
1385
+ },
1386
+ "parameters": [
1387
+ {
1388
+ "name": "visitor",
1389
+ "type": {
1390
+ "text": "(record: T) => void"
1391
+ }
1392
+ }
1393
+ ]
1394
+ },
1395
+ {
1396
+ "kind": "method",
1397
+ "name": "onBeforeUpdate",
1398
+ "privacy": "public",
1399
+ "return": {
1400
+ "type": {
1401
+ "text": "() => void"
1402
+ }
1403
+ },
1404
+ "parameters": [
1405
+ {
1406
+ "name": "listener",
1407
+ "type": {
1408
+ "text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
1409
+ }
1410
+ }
1411
+ ]
1412
+ },
1413
+ {
1414
+ "kind": "method",
1415
+ "name": "onAfterUpdate",
1416
+ "privacy": "public",
1417
+ "return": {
1418
+ "type": {
1419
+ "text": "() => void"
1420
+ }
1421
+ },
1422
+ "parameters": [
1423
+ {
1424
+ "name": "listener",
1425
+ "type": {
1426
+ "text": "Listener<DatabaseEvent.AfterUpdate<T>>"
1427
+ }
1428
+ }
1429
+ ]
1430
+ }
1431
+ ]
1432
+ }
1433
+ ],
1434
+ "exports": [
1435
+ {
1436
+ "kind": "js",
1437
+ "name": "InMemoryDatabase",
1438
+ "declaration": {
1439
+ "name": "InMemoryDatabase",
1440
+ "module": "src/data/inMemoryDatabase.ts"
1441
+ }
1442
+ }
1443
+ ]
1444
+ },
1445
+ {
1446
+ "kind": "javascript-module",
1447
+ "path": "src/data/index.ts",
1448
+ "declarations": [],
1449
+ "exports": [
1450
+ {
1451
+ "kind": "js",
1452
+ "name": "*",
1453
+ "declaration": {
1454
+ "name": "*",
1455
+ "package": "./inMemoryDatabase"
1456
+ }
1457
+ }
1458
+ ]
1459
+ },
1460
1460
  {
1461
1461
  "kind": "javascript-module",
1462
1462
  "path": "src/resource/index.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.202.0",
4
+ "version": "14.202.1-alpha-77ef7ac.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.202.0",
31
- "@genesislcap/genx": "14.202.0",
32
- "@genesislcap/rollup-builder": "14.202.0",
33
- "@genesislcap/ts-builder": "14.202.0",
34
- "@genesislcap/uvu-playwright-builder": "14.202.0",
35
- "@genesislcap/vite-builder": "14.202.0",
36
- "@genesislcap/webpack-builder": "14.202.0",
30
+ "@genesislcap/foundation-testing": "14.202.1-alpha-77ef7ac.0",
31
+ "@genesislcap/genx": "14.202.1-alpha-77ef7ac.0",
32
+ "@genesislcap/rollup-builder": "14.202.1-alpha-77ef7ac.0",
33
+ "@genesislcap/ts-builder": "14.202.1-alpha-77ef7ac.0",
34
+ "@genesislcap/uvu-playwright-builder": "14.202.1-alpha-77ef7ac.0",
35
+ "@genesislcap/vite-builder": "14.202.1-alpha-77ef7ac.0",
36
+ "@genesislcap/webpack-builder": "14.202.1-alpha-77ef7ac.0",
37
37
  "rimraf": "^5.0.0"
38
38
  },
39
39
  "dependencies": {
40
- "@genesislcap/foundation-logger": "14.202.0",
40
+ "@genesislcap/foundation-logger": "14.202.1-alpha-77ef7ac.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": "73a2550f84344266438432d5c18a567885de548e"
58
+ "gitHead": "5396ccdfe1b0add8cf3e96be9f3c7f63350ace86"
59
59
  }