@genesislcap/foundation-utils 14.354.4-alpha-0e869c9.0 → 14.354.4-alpha-2c4e0c7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/custom-elements.json +275 -275
  2. package/package.json +11 -11
@@ -185,280 +185,6 @@
185
185
  }
186
186
  ]
187
187
  },
188
- {
189
- "kind": "javascript-module",
190
- "path": "src/data/inMemoryDatabase.ts",
191
- "declarations": [
192
- {
193
- "kind": "class",
194
- "description": "An in memory database of specific DatabaseRecord types.",
195
- "name": "InMemoryDatabase",
196
- "members": [
197
- {
198
- "kind": "field",
199
- "name": "isWorking",
200
- "type": {
201
- "text": "boolean"
202
- },
203
- "privacy": "public",
204
- "default": "false"
205
- },
206
- {
207
- "kind": "field",
208
- "name": "records",
209
- "type": {
210
- "text": "Record<string, T>"
211
- },
212
- "privacy": "private",
213
- "default": "{}"
214
- },
215
- {
216
- "kind": "field",
217
- "name": "beforeUpdateListeners",
218
- "privacy": "private"
219
- },
220
- {
221
- "kind": "field",
222
- "name": "afterUpdateListeners",
223
- "privacy": "private"
224
- },
225
- {
226
- "kind": "method",
227
- "name": "create",
228
- "privacy": "public",
229
- "return": {
230
- "type": {
231
- "text": "Promise<DatabaseAccessResult.Create<T>>"
232
- }
233
- },
234
- "parameters": [
235
- {
236
- "name": "newValue",
237
- "type": {
238
- "text": "Omit<T, 'id'>"
239
- }
240
- }
241
- ]
242
- },
243
- {
244
- "kind": "method",
245
- "name": "read",
246
- "privacy": "public",
247
- "return": {
248
- "type": {
249
- "text": "Promise<DatabaseAccessResult.Read<T>>"
250
- }
251
- },
252
- "parameters": [
253
- {
254
- "name": "id",
255
- "type": {
256
- "text": "string"
257
- }
258
- }
259
- ]
260
- },
261
- {
262
- "kind": "method",
263
- "name": "update",
264
- "privacy": "public",
265
- "return": {
266
- "type": {
267
- "text": "Promise<DatabaseAccessResult.Update<T>>"
268
- }
269
- },
270
- "parameters": [
271
- {
272
- "name": "id",
273
- "type": {
274
- "text": "string"
275
- }
276
- },
277
- {
278
- "name": "newValue",
279
- "type": {
280
- "text": "Omit<Partial<T>, 'id'>"
281
- }
282
- }
283
- ]
284
- },
285
- {
286
- "kind": "method",
287
- "name": "delete",
288
- "privacy": "public",
289
- "return": {
290
- "type": {
291
- "text": "Promise<DatabaseAccessResult.Delete>"
292
- }
293
- },
294
- "parameters": [
295
- {
296
- "name": "id",
297
- "type": {
298
- "text": "string"
299
- }
300
- }
301
- ]
302
- },
303
- {
304
- "kind": "method",
305
- "name": "visit",
306
- "privacy": "public",
307
- "return": {
308
- "type": {
309
- "text": "Promise<void>"
310
- }
311
- },
312
- "parameters": [
313
- {
314
- "name": "visitor",
315
- "type": {
316
- "text": "(record: T) => void"
317
- }
318
- }
319
- ]
320
- },
321
- {
322
- "kind": "method",
323
- "name": "onBeforeUpdate",
324
- "privacy": "public",
325
- "return": {
326
- "type": {
327
- "text": "() => void"
328
- }
329
- },
330
- "parameters": [
331
- {
332
- "name": "listener",
333
- "type": {
334
- "text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
335
- }
336
- }
337
- ]
338
- },
339
- {
340
- "kind": "method",
341
- "name": "onAfterUpdate",
342
- "privacy": "public",
343
- "return": {
344
- "type": {
345
- "text": "() => void"
346
- }
347
- },
348
- "parameters": [
349
- {
350
- "name": "listener",
351
- "type": {
352
- "text": "Listener<DatabaseEvent.AfterUpdate<T>>"
353
- }
354
- }
355
- ]
356
- }
357
- ]
358
- }
359
- ],
360
- "exports": [
361
- {
362
- "kind": "js",
363
- "name": "InMemoryDatabase",
364
- "declaration": {
365
- "name": "InMemoryDatabase",
366
- "module": "src/data/inMemoryDatabase.ts"
367
- }
368
- }
369
- ]
370
- },
371
- {
372
- "kind": "javascript-module",
373
- "path": "src/data/index.ts",
374
- "declarations": [],
375
- "exports": [
376
- {
377
- "kind": "js",
378
- "name": "*",
379
- "declaration": {
380
- "name": "*",
381
- "package": "./inMemoryDatabase"
382
- }
383
- }
384
- ]
385
- },
386
- {
387
- "kind": "javascript-module",
388
- "path": "src/directives/index.ts",
389
- "declarations": [],
390
- "exports": [
391
- {
392
- "kind": "js",
393
- "name": "*",
394
- "declaration": {
395
- "name": "*",
396
- "package": "./sync"
397
- }
398
- },
399
- {
400
- "kind": "js",
401
- "name": "*",
402
- "declaration": {
403
- "name": "*",
404
- "package": "./when-else"
405
- }
406
- }
407
- ]
408
- },
409
- {
410
- "kind": "javascript-module",
411
- "path": "src/decorators/index.ts",
412
- "declarations": [],
413
- "exports": [
414
- {
415
- "kind": "js",
416
- "name": "*",
417
- "declaration": {
418
- "name": "*",
419
- "package": "./renderOnChange"
420
- }
421
- }
422
- ]
423
- },
424
- {
425
- "kind": "javascript-module",
426
- "path": "src/decorators/renderOnChange.ts",
427
- "declarations": [
428
- {
429
- "kind": "function",
430
- "name": "renderOnChange",
431
- "parameters": [
432
- {
433
- "name": "target",
434
- "type": {
435
- "text": "FASTElement & { render(): void }"
436
- },
437
- "description": "The target to define the property change handler on."
438
- },
439
- {
440
- "name": "name",
441
- "type": {
442
- "text": "string"
443
- },
444
- "description": "The property name."
445
- }
446
- ],
447
- "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
448
- "privacy": "public"
449
- }
450
- ],
451
- "exports": [
452
- {
453
- "kind": "js",
454
- "name": "renderOnChange",
455
- "declaration": {
456
- "name": "renderOnChange",
457
- "module": "src/decorators/renderOnChange.ts"
458
- }
459
- }
460
- ]
461
- },
462
188
  {
463
189
  "kind": "javascript-module",
464
190
  "path": "src/design-system/design-system.ts",
@@ -574,7 +300,30 @@
574
300
  "name": "*",
575
301
  "declaration": {
576
302
  "name": "*",
577
- "package": "./design-system"
303
+ "package": "./design-system"
304
+ }
305
+ }
306
+ ]
307
+ },
308
+ {
309
+ "kind": "javascript-module",
310
+ "path": "src/directives/index.ts",
311
+ "declarations": [],
312
+ "exports": [
313
+ {
314
+ "kind": "js",
315
+ "name": "*",
316
+ "declaration": {
317
+ "name": "*",
318
+ "package": "./sync"
319
+ }
320
+ },
321
+ {
322
+ "kind": "js",
323
+ "name": "*",
324
+ "declaration": {
325
+ "name": "*",
326
+ "package": "./when-else"
578
327
  }
579
328
  }
580
329
  ]
@@ -1069,6 +818,257 @@
1069
818
  }
1070
819
  ]
1071
820
  },
821
+ {
822
+ "kind": "javascript-module",
823
+ "path": "src/data/inMemoryDatabase.ts",
824
+ "declarations": [
825
+ {
826
+ "kind": "class",
827
+ "description": "An in memory database of specific DatabaseRecord types.",
828
+ "name": "InMemoryDatabase",
829
+ "members": [
830
+ {
831
+ "kind": "field",
832
+ "name": "isWorking",
833
+ "type": {
834
+ "text": "boolean"
835
+ },
836
+ "privacy": "public",
837
+ "default": "false"
838
+ },
839
+ {
840
+ "kind": "field",
841
+ "name": "records",
842
+ "type": {
843
+ "text": "Record<string, T>"
844
+ },
845
+ "privacy": "private",
846
+ "default": "{}"
847
+ },
848
+ {
849
+ "kind": "field",
850
+ "name": "beforeUpdateListeners",
851
+ "privacy": "private"
852
+ },
853
+ {
854
+ "kind": "field",
855
+ "name": "afterUpdateListeners",
856
+ "privacy": "private"
857
+ },
858
+ {
859
+ "kind": "method",
860
+ "name": "create",
861
+ "privacy": "public",
862
+ "return": {
863
+ "type": {
864
+ "text": "Promise<DatabaseAccessResult.Create<T>>"
865
+ }
866
+ },
867
+ "parameters": [
868
+ {
869
+ "name": "newValue",
870
+ "type": {
871
+ "text": "Omit<T, 'id'>"
872
+ }
873
+ }
874
+ ]
875
+ },
876
+ {
877
+ "kind": "method",
878
+ "name": "read",
879
+ "privacy": "public",
880
+ "return": {
881
+ "type": {
882
+ "text": "Promise<DatabaseAccessResult.Read<T>>"
883
+ }
884
+ },
885
+ "parameters": [
886
+ {
887
+ "name": "id",
888
+ "type": {
889
+ "text": "string"
890
+ }
891
+ }
892
+ ]
893
+ },
894
+ {
895
+ "kind": "method",
896
+ "name": "update",
897
+ "privacy": "public",
898
+ "return": {
899
+ "type": {
900
+ "text": "Promise<DatabaseAccessResult.Update<T>>"
901
+ }
902
+ },
903
+ "parameters": [
904
+ {
905
+ "name": "id",
906
+ "type": {
907
+ "text": "string"
908
+ }
909
+ },
910
+ {
911
+ "name": "newValue",
912
+ "type": {
913
+ "text": "Omit<Partial<T>, 'id'>"
914
+ }
915
+ }
916
+ ]
917
+ },
918
+ {
919
+ "kind": "method",
920
+ "name": "delete",
921
+ "privacy": "public",
922
+ "return": {
923
+ "type": {
924
+ "text": "Promise<DatabaseAccessResult.Delete>"
925
+ }
926
+ },
927
+ "parameters": [
928
+ {
929
+ "name": "id",
930
+ "type": {
931
+ "text": "string"
932
+ }
933
+ }
934
+ ]
935
+ },
936
+ {
937
+ "kind": "method",
938
+ "name": "visit",
939
+ "privacy": "public",
940
+ "return": {
941
+ "type": {
942
+ "text": "Promise<void>"
943
+ }
944
+ },
945
+ "parameters": [
946
+ {
947
+ "name": "visitor",
948
+ "type": {
949
+ "text": "(record: T) => void"
950
+ }
951
+ }
952
+ ]
953
+ },
954
+ {
955
+ "kind": "method",
956
+ "name": "onBeforeUpdate",
957
+ "privacy": "public",
958
+ "return": {
959
+ "type": {
960
+ "text": "() => void"
961
+ }
962
+ },
963
+ "parameters": [
964
+ {
965
+ "name": "listener",
966
+ "type": {
967
+ "text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
968
+ }
969
+ }
970
+ ]
971
+ },
972
+ {
973
+ "kind": "method",
974
+ "name": "onAfterUpdate",
975
+ "privacy": "public",
976
+ "return": {
977
+ "type": {
978
+ "text": "() => void"
979
+ }
980
+ },
981
+ "parameters": [
982
+ {
983
+ "name": "listener",
984
+ "type": {
985
+ "text": "Listener<DatabaseEvent.AfterUpdate<T>>"
986
+ }
987
+ }
988
+ ]
989
+ }
990
+ ]
991
+ }
992
+ ],
993
+ "exports": [
994
+ {
995
+ "kind": "js",
996
+ "name": "InMemoryDatabase",
997
+ "declaration": {
998
+ "name": "InMemoryDatabase",
999
+ "module": "src/data/inMemoryDatabase.ts"
1000
+ }
1001
+ }
1002
+ ]
1003
+ },
1004
+ {
1005
+ "kind": "javascript-module",
1006
+ "path": "src/data/index.ts",
1007
+ "declarations": [],
1008
+ "exports": [
1009
+ {
1010
+ "kind": "js",
1011
+ "name": "*",
1012
+ "declaration": {
1013
+ "name": "*",
1014
+ "package": "./inMemoryDatabase"
1015
+ }
1016
+ }
1017
+ ]
1018
+ },
1019
+ {
1020
+ "kind": "javascript-module",
1021
+ "path": "src/decorators/index.ts",
1022
+ "declarations": [],
1023
+ "exports": [
1024
+ {
1025
+ "kind": "js",
1026
+ "name": "*",
1027
+ "declaration": {
1028
+ "name": "*",
1029
+ "package": "./renderOnChange"
1030
+ }
1031
+ }
1032
+ ]
1033
+ },
1034
+ {
1035
+ "kind": "javascript-module",
1036
+ "path": "src/decorators/renderOnChange.ts",
1037
+ "declarations": [
1038
+ {
1039
+ "kind": "function",
1040
+ "name": "renderOnChange",
1041
+ "parameters": [
1042
+ {
1043
+ "name": "target",
1044
+ "type": {
1045
+ "text": "FASTElement & { render(): void }"
1046
+ },
1047
+ "description": "The target to define the property change handler on."
1048
+ },
1049
+ {
1050
+ "name": "name",
1051
+ "type": {
1052
+ "text": "string"
1053
+ },
1054
+ "description": "The property name."
1055
+ }
1056
+ ],
1057
+ "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
1058
+ "privacy": "public"
1059
+ }
1060
+ ],
1061
+ "exports": [
1062
+ {
1063
+ "kind": "js",
1064
+ "name": "renderOnChange",
1065
+ "declaration": {
1066
+ "name": "renderOnChange",
1067
+ "module": "src/decorators/renderOnChange.ts"
1068
+ }
1069
+ }
1070
+ ]
1071
+ },
1072
1072
  {
1073
1073
  "kind": "javascript-module",
1074
1074
  "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.354.4-alpha-0e869c9.0",
4
+ "version": "14.354.4-alpha-2c4e0c7.0",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -27,18 +27,18 @@
27
27
  }
28
28
  },
29
29
  "devDependencies": {
30
- "@genesislcap/foundation-testing": "14.354.4-alpha-0e869c9.0",
31
- "@genesislcap/genx": "14.354.4-alpha-0e869c9.0",
32
- "@genesislcap/rollup-builder": "14.354.4-alpha-0e869c9.0",
33
- "@genesislcap/ts-builder": "14.354.4-alpha-0e869c9.0",
34
- "@genesislcap/uvu-playwright-builder": "14.354.4-alpha-0e869c9.0",
35
- "@genesislcap/vite-builder": "14.354.4-alpha-0e869c9.0",
36
- "@genesislcap/webpack-builder": "14.354.4-alpha-0e869c9.0",
30
+ "@genesislcap/foundation-testing": "14.354.4-alpha-2c4e0c7.0",
31
+ "@genesislcap/genx": "14.354.4-alpha-2c4e0c7.0",
32
+ "@genesislcap/rollup-builder": "14.354.4-alpha-2c4e0c7.0",
33
+ "@genesislcap/ts-builder": "14.354.4-alpha-2c4e0c7.0",
34
+ "@genesislcap/uvu-playwright-builder": "14.354.4-alpha-2c4e0c7.0",
35
+ "@genesislcap/vite-builder": "14.354.4-alpha-2c4e0c7.0",
36
+ "@genesislcap/webpack-builder": "14.354.4-alpha-2c4e0c7.0",
37
37
  "@types/json-schema": "^7.0.11"
38
38
  },
39
39
  "dependencies": {
40
- "@genesislcap/expression-builder": "14.354.4-alpha-0e869c9.0",
41
- "@genesislcap/foundation-logger": "14.354.4-alpha-0e869c9.0",
40
+ "@genesislcap/expression-builder": "14.354.4-alpha-2c4e0c7.0",
41
+ "@genesislcap/foundation-logger": "14.354.4-alpha-2c4e0c7.0",
42
42
  "@microsoft/fast-components": "2.30.6",
43
43
  "@microsoft/fast-element": "1.14.0",
44
44
  "@microsoft/fast-foundation": "2.49.6",
@@ -56,5 +56,5 @@
56
56
  "access": "public"
57
57
  },
58
58
  "customElements": "dist/custom-elements.json",
59
- "gitHead": "5e585e9d1f1b3bf6e357d4c38523db340626a197"
59
+ "gitHead": "3897e754c3c0cbc54df9a91b2a22d16b4eeaa5ff"
60
60
  }