@genesislcap/foundation-utils 14.217.0-FUI-2233.2 → 14.217.1

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 +251 -251
  2. package/package.json +10 -10
@@ -167,204 +167,6 @@
167
167
  }
168
168
  ]
169
169
  },
170
- {
171
- "kind": "javascript-module",
172
- "path": "src/data/inMemoryDatabase.ts",
173
- "declarations": [
174
- {
175
- "kind": "class",
176
- "description": "An in memory database of specific DatabaseRecord types.",
177
- "name": "InMemoryDatabase",
178
- "members": [
179
- {
180
- "kind": "field",
181
- "name": "isWorking",
182
- "type": {
183
- "text": "boolean"
184
- },
185
- "privacy": "public",
186
- "default": "false"
187
- },
188
- {
189
- "kind": "field",
190
- "name": "records",
191
- "type": {
192
- "text": "Record<string, T>"
193
- },
194
- "privacy": "private",
195
- "default": "{}"
196
- },
197
- {
198
- "kind": "field",
199
- "name": "beforeUpdateListeners",
200
- "privacy": "private"
201
- },
202
- {
203
- "kind": "field",
204
- "name": "afterUpdateListeners",
205
- "privacy": "private"
206
- },
207
- {
208
- "kind": "method",
209
- "name": "create",
210
- "privacy": "public",
211
- "return": {
212
- "type": {
213
- "text": "Promise<DatabaseAccessResult.Create<T>>"
214
- }
215
- },
216
- "parameters": [
217
- {
218
- "name": "newValue",
219
- "type": {
220
- "text": "Omit<T, 'id'>"
221
- }
222
- }
223
- ]
224
- },
225
- {
226
- "kind": "method",
227
- "name": "read",
228
- "privacy": "public",
229
- "return": {
230
- "type": {
231
- "text": "Promise<DatabaseAccessResult.Read<T>>"
232
- }
233
- },
234
- "parameters": [
235
- {
236
- "name": "id",
237
- "type": {
238
- "text": "string"
239
- }
240
- }
241
- ]
242
- },
243
- {
244
- "kind": "method",
245
- "name": "update",
246
- "privacy": "public",
247
- "return": {
248
- "type": {
249
- "text": "Promise<DatabaseAccessResult.Update<T>>"
250
- }
251
- },
252
- "parameters": [
253
- {
254
- "name": "id",
255
- "type": {
256
- "text": "string"
257
- }
258
- },
259
- {
260
- "name": "newValue",
261
- "type": {
262
- "text": "Omit<Partial<T>, 'id'>"
263
- }
264
- }
265
- ]
266
- },
267
- {
268
- "kind": "method",
269
- "name": "delete",
270
- "privacy": "public",
271
- "return": {
272
- "type": {
273
- "text": "Promise<DatabaseAccessResult.Delete>"
274
- }
275
- },
276
- "parameters": [
277
- {
278
- "name": "id",
279
- "type": {
280
- "text": "string"
281
- }
282
- }
283
- ]
284
- },
285
- {
286
- "kind": "method",
287
- "name": "visit",
288
- "privacy": "public",
289
- "return": {
290
- "type": {
291
- "text": "Promise<void>"
292
- }
293
- },
294
- "parameters": [
295
- {
296
- "name": "visitor",
297
- "type": {
298
- "text": "(record: T) => void"
299
- }
300
- }
301
- ]
302
- },
303
- {
304
- "kind": "method",
305
- "name": "onBeforeUpdate",
306
- "privacy": "public",
307
- "return": {
308
- "type": {
309
- "text": "() => void"
310
- }
311
- },
312
- "parameters": [
313
- {
314
- "name": "listener",
315
- "type": {
316
- "text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
317
- }
318
- }
319
- ]
320
- },
321
- {
322
- "kind": "method",
323
- "name": "onAfterUpdate",
324
- "privacy": "public",
325
- "return": {
326
- "type": {
327
- "text": "() => void"
328
- }
329
- },
330
- "parameters": [
331
- {
332
- "name": "listener",
333
- "type": {
334
- "text": "Listener<DatabaseEvent.AfterUpdate<T>>"
335
- }
336
- }
337
- ]
338
- }
339
- ]
340
- }
341
- ],
342
- "exports": [
343
- {
344
- "kind": "js",
345
- "name": "InMemoryDatabase",
346
- "declaration": {
347
- "name": "InMemoryDatabase",
348
- "module": "src/data/inMemoryDatabase.ts"
349
- }
350
- }
351
- ]
352
- },
353
- {
354
- "kind": "javascript-module",
355
- "path": "src/data/index.ts",
356
- "declarations": [],
357
- "exports": [
358
- {
359
- "kind": "js",
360
- "name": "*",
361
- "declaration": {
362
- "name": "*",
363
- "package": "./inMemoryDatabase"
364
- }
365
- }
366
- ]
367
- },
368
170
  {
369
171
  "kind": "javascript-module",
370
172
  "path": "src/design-system/design-system.ts",
@@ -415,59 +217,6 @@
415
217
  }
416
218
  ]
417
219
  },
418
- {
419
- "kind": "javascript-module",
420
- "path": "src/decorators/index.ts",
421
- "declarations": [],
422
- "exports": [
423
- {
424
- "kind": "js",
425
- "name": "*",
426
- "declaration": {
427
- "name": "*",
428
- "package": "./renderOnChange"
429
- }
430
- }
431
- ]
432
- },
433
- {
434
- "kind": "javascript-module",
435
- "path": "src/decorators/renderOnChange.ts",
436
- "declarations": [
437
- {
438
- "kind": "function",
439
- "name": "renderOnChange",
440
- "parameters": [
441
- {
442
- "name": "target",
443
- "type": {
444
- "text": "FASTElement & { render(): void }"
445
- },
446
- "description": "The target to define the property change handler on."
447
- },
448
- {
449
- "name": "name",
450
- "type": {
451
- "text": "string"
452
- },
453
- "description": "The property name."
454
- }
455
- ],
456
- "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
457
- "privacy": "public"
458
- }
459
- ],
460
- "exports": [
461
- {
462
- "kind": "js",
463
- "name": "renderOnChange",
464
- "declaration": {
465
- "name": "renderOnChange",
466
- "module": "src/decorators/renderOnChange.ts"
467
- }
468
- }
469
- ]
470
- },
471
220
  {
472
221
  "kind": "javascript-module",
473
222
  "path": "src/directives/index.ts",
@@ -928,6 +677,257 @@
928
677
  }
929
678
  ]
930
679
  },
680
+ {
681
+ "kind": "javascript-module",
682
+ "path": "src/decorators/index.ts",
683
+ "declarations": [],
684
+ "exports": [
685
+ {
686
+ "kind": "js",
687
+ "name": "*",
688
+ "declaration": {
689
+ "name": "*",
690
+ "package": "./renderOnChange"
691
+ }
692
+ }
693
+ ]
694
+ },
695
+ {
696
+ "kind": "javascript-module",
697
+ "path": "src/decorators/renderOnChange.ts",
698
+ "declarations": [
699
+ {
700
+ "kind": "function",
701
+ "name": "renderOnChange",
702
+ "parameters": [
703
+ {
704
+ "name": "target",
705
+ "type": {
706
+ "text": "FASTElement & { render(): void }"
707
+ },
708
+ "description": "The target to define the property change handler on."
709
+ },
710
+ {
711
+ "name": "name",
712
+ "type": {
713
+ "text": "string"
714
+ },
715
+ "description": "The property name."
716
+ }
717
+ ],
718
+ "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
719
+ "privacy": "public"
720
+ }
721
+ ],
722
+ "exports": [
723
+ {
724
+ "kind": "js",
725
+ "name": "renderOnChange",
726
+ "declaration": {
727
+ "name": "renderOnChange",
728
+ "module": "src/decorators/renderOnChange.ts"
729
+ }
730
+ }
731
+ ]
732
+ },
733
+ {
734
+ "kind": "javascript-module",
735
+ "path": "src/data/inMemoryDatabase.ts",
736
+ "declarations": [
737
+ {
738
+ "kind": "class",
739
+ "description": "An in memory database of specific DatabaseRecord types.",
740
+ "name": "InMemoryDatabase",
741
+ "members": [
742
+ {
743
+ "kind": "field",
744
+ "name": "isWorking",
745
+ "type": {
746
+ "text": "boolean"
747
+ },
748
+ "privacy": "public",
749
+ "default": "false"
750
+ },
751
+ {
752
+ "kind": "field",
753
+ "name": "records",
754
+ "type": {
755
+ "text": "Record<string, T>"
756
+ },
757
+ "privacy": "private",
758
+ "default": "{}"
759
+ },
760
+ {
761
+ "kind": "field",
762
+ "name": "beforeUpdateListeners",
763
+ "privacy": "private"
764
+ },
765
+ {
766
+ "kind": "field",
767
+ "name": "afterUpdateListeners",
768
+ "privacy": "private"
769
+ },
770
+ {
771
+ "kind": "method",
772
+ "name": "create",
773
+ "privacy": "public",
774
+ "return": {
775
+ "type": {
776
+ "text": "Promise<DatabaseAccessResult.Create<T>>"
777
+ }
778
+ },
779
+ "parameters": [
780
+ {
781
+ "name": "newValue",
782
+ "type": {
783
+ "text": "Omit<T, 'id'>"
784
+ }
785
+ }
786
+ ]
787
+ },
788
+ {
789
+ "kind": "method",
790
+ "name": "read",
791
+ "privacy": "public",
792
+ "return": {
793
+ "type": {
794
+ "text": "Promise<DatabaseAccessResult.Read<T>>"
795
+ }
796
+ },
797
+ "parameters": [
798
+ {
799
+ "name": "id",
800
+ "type": {
801
+ "text": "string"
802
+ }
803
+ }
804
+ ]
805
+ },
806
+ {
807
+ "kind": "method",
808
+ "name": "update",
809
+ "privacy": "public",
810
+ "return": {
811
+ "type": {
812
+ "text": "Promise<DatabaseAccessResult.Update<T>>"
813
+ }
814
+ },
815
+ "parameters": [
816
+ {
817
+ "name": "id",
818
+ "type": {
819
+ "text": "string"
820
+ }
821
+ },
822
+ {
823
+ "name": "newValue",
824
+ "type": {
825
+ "text": "Omit<Partial<T>, 'id'>"
826
+ }
827
+ }
828
+ ]
829
+ },
830
+ {
831
+ "kind": "method",
832
+ "name": "delete",
833
+ "privacy": "public",
834
+ "return": {
835
+ "type": {
836
+ "text": "Promise<DatabaseAccessResult.Delete>"
837
+ }
838
+ },
839
+ "parameters": [
840
+ {
841
+ "name": "id",
842
+ "type": {
843
+ "text": "string"
844
+ }
845
+ }
846
+ ]
847
+ },
848
+ {
849
+ "kind": "method",
850
+ "name": "visit",
851
+ "privacy": "public",
852
+ "return": {
853
+ "type": {
854
+ "text": "Promise<void>"
855
+ }
856
+ },
857
+ "parameters": [
858
+ {
859
+ "name": "visitor",
860
+ "type": {
861
+ "text": "(record: T) => void"
862
+ }
863
+ }
864
+ ]
865
+ },
866
+ {
867
+ "kind": "method",
868
+ "name": "onBeforeUpdate",
869
+ "privacy": "public",
870
+ "return": {
871
+ "type": {
872
+ "text": "() => void"
873
+ }
874
+ },
875
+ "parameters": [
876
+ {
877
+ "name": "listener",
878
+ "type": {
879
+ "text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
880
+ }
881
+ }
882
+ ]
883
+ },
884
+ {
885
+ "kind": "method",
886
+ "name": "onAfterUpdate",
887
+ "privacy": "public",
888
+ "return": {
889
+ "type": {
890
+ "text": "() => void"
891
+ }
892
+ },
893
+ "parameters": [
894
+ {
895
+ "name": "listener",
896
+ "type": {
897
+ "text": "Listener<DatabaseEvent.AfterUpdate<T>>"
898
+ }
899
+ }
900
+ ]
901
+ }
902
+ ]
903
+ }
904
+ ],
905
+ "exports": [
906
+ {
907
+ "kind": "js",
908
+ "name": "InMemoryDatabase",
909
+ "declaration": {
910
+ "name": "InMemoryDatabase",
911
+ "module": "src/data/inMemoryDatabase.ts"
912
+ }
913
+ }
914
+ ]
915
+ },
916
+ {
917
+ "kind": "javascript-module",
918
+ "path": "src/data/index.ts",
919
+ "declarations": [],
920
+ "exports": [
921
+ {
922
+ "kind": "js",
923
+ "name": "*",
924
+ "declaration": {
925
+ "name": "*",
926
+ "package": "./inMemoryDatabase"
927
+ }
928
+ }
929
+ ]
930
+ },
931
931
  {
932
932
  "kind": "javascript-module",
933
933
  "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.217.0-FUI-2233.2",
4
+ "version": "14.217.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.217.0-FUI-2233.2",
31
- "@genesislcap/genx": "14.217.0-FUI-2233.2",
32
- "@genesislcap/rollup-builder": "14.217.0-FUI-2233.2",
33
- "@genesislcap/ts-builder": "14.217.0-FUI-2233.2",
34
- "@genesislcap/uvu-playwright-builder": "14.217.0-FUI-2233.2",
35
- "@genesislcap/vite-builder": "14.217.0-FUI-2233.2",
36
- "@genesislcap/webpack-builder": "14.217.0-FUI-2233.2",
30
+ "@genesislcap/foundation-testing": "14.217.1",
31
+ "@genesislcap/genx": "14.217.1",
32
+ "@genesislcap/rollup-builder": "14.217.1",
33
+ "@genesislcap/ts-builder": "14.217.1",
34
+ "@genesislcap/uvu-playwright-builder": "14.217.1",
35
+ "@genesislcap/vite-builder": "14.217.1",
36
+ "@genesislcap/webpack-builder": "14.217.1",
37
37
  "rimraf": "^5.0.0"
38
38
  },
39
39
  "dependencies": {
40
- "@genesislcap/foundation-logger": "14.217.0-FUI-2233.2",
40
+ "@genesislcap/foundation-logger": "14.217.1",
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": "ba5d1a7f8d33a2094bc94b367d9551875c7aa2ed"
58
+ "gitHead": "cdd27c8a564831561bde5d76e4c9e43c65041710"
59
59
  }