@genesislcap/foundation-utils 14.223.0 → 14.223.1-alpha-96ec959.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 +518 -518
  2. package/package.json +11 -11
@@ -167,307 +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
- {
369
- "kind": "javascript-module",
370
- "path": "src/decorators/index.ts",
371
- "declarations": [],
372
- "exports": [
373
- {
374
- "kind": "js",
375
- "name": "*",
376
- "declaration": {
377
- "name": "*",
378
- "package": "./renderOnChange"
379
- }
380
- }
381
- ]
382
- },
383
- {
384
- "kind": "javascript-module",
385
- "path": "src/decorators/renderOnChange.ts",
386
- "declarations": [
387
- {
388
- "kind": "function",
389
- "name": "renderOnChange",
390
- "parameters": [
391
- {
392
- "name": "target",
393
- "type": {
394
- "text": "FASTElement & { render(): void }"
395
- },
396
- "description": "The target to define the property change handler on."
397
- },
398
- {
399
- "name": "name",
400
- "type": {
401
- "text": "string"
402
- },
403
- "description": "The property name."
404
- }
405
- ],
406
- "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
407
- "privacy": "public"
408
- }
409
- ],
410
- "exports": [
411
- {
412
- "kind": "js",
413
- "name": "renderOnChange",
414
- "declaration": {
415
- "name": "renderOnChange",
416
- "module": "src/decorators/renderOnChange.ts"
417
- }
418
- }
419
- ]
420
- },
421
- {
422
- "kind": "javascript-module",
423
- "path": "src/design-system/design-system.ts",
424
- "declarations": [
425
- {
426
- "kind": "function",
427
- "name": "assureDesignSystem",
428
- "return": {
429
- "type": {
430
- "text": "DesignSystemModule"
431
- }
432
- },
433
- "parameters": [
434
- {
435
- "name": "module",
436
- "type": {
437
- "text": "DesignSystemModule"
438
- }
439
- }
440
- ],
441
- "description": "assureDesignSystem.",
442
- "privacy": "public"
443
- }
444
- ],
445
- "exports": [
446
- {
447
- "kind": "js",
448
- "name": "assureDesignSystem",
449
- "declaration": {
450
- "name": "assureDesignSystem",
451
- "module": "src/design-system/design-system.ts"
452
- }
453
- }
454
- ]
455
- },
456
- {
457
- "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
170
  {
472
171
  "kind": "javascript-module",
473
172
  "path": "src/directives/index.ts",
@@ -928,6 +627,59 @@
928
627
  }
929
628
  ]
930
629
  },
630
+ {
631
+ "kind": "javascript-module",
632
+ "path": "src/decorators/index.ts",
633
+ "declarations": [],
634
+ "exports": [
635
+ {
636
+ "kind": "js",
637
+ "name": "*",
638
+ "declaration": {
639
+ "name": "*",
640
+ "package": "./renderOnChange"
641
+ }
642
+ }
643
+ ]
644
+ },
645
+ {
646
+ "kind": "javascript-module",
647
+ "path": "src/decorators/renderOnChange.ts",
648
+ "declarations": [
649
+ {
650
+ "kind": "function",
651
+ "name": "renderOnChange",
652
+ "parameters": [
653
+ {
654
+ "name": "target",
655
+ "type": {
656
+ "text": "FASTElement & { render(): void }"
657
+ },
658
+ "description": "The target to define the property change handler on."
659
+ },
660
+ {
661
+ "name": "name",
662
+ "type": {
663
+ "text": "string"
664
+ },
665
+ "description": "The property name."
666
+ }
667
+ ],
668
+ "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
669
+ "privacy": "public"
670
+ }
671
+ ],
672
+ "exports": [
673
+ {
674
+ "kind": "js",
675
+ "name": "renderOnChange",
676
+ "declaration": {
677
+ "name": "renderOnChange",
678
+ "module": "src/decorators/renderOnChange.ts"
679
+ }
680
+ }
681
+ ]
682
+ },
931
683
  {
932
684
  "kind": "javascript-module",
933
685
  "path": "src/formatters/datetime.ts",
@@ -993,26 +745,209 @@
993
745
  },
994
746
  "description": "The flag to determine if formatted value should contain 'time' info."
995
747
  }
996
- ],
997
- "description": "Formats [DATE|DATETIME] Unix Timestamps to readable strings",
998
- "privacy": "public"
999
- },
748
+ ],
749
+ "description": "Formats [DATE|DATETIME] Unix Timestamps to readable strings",
750
+ "privacy": "public"
751
+ },
752
+ {
753
+ "kind": "function",
754
+ "name": "getDateFormatter",
755
+ "parameters": [
756
+ {
757
+ "name": "locale",
758
+ "default": "'en-GB'",
759
+ "type": {
760
+ "text": "string"
761
+ }
762
+ },
763
+ {
764
+ "name": "options",
765
+ "default": "defaultDateOptions",
766
+ "type": {
767
+ "text": "Intl.DateTimeFormatOptions"
768
+ }
769
+ }
770
+ ],
771
+ "privacy": "public"
772
+ }
773
+ ],
774
+ "exports": [
775
+ {
776
+ "kind": "js",
777
+ "name": "formatDateTimestamp",
778
+ "declaration": {
779
+ "name": "formatDateTimestamp",
780
+ "module": "src/formatters/datetime.ts"
781
+ }
782
+ },
783
+ {
784
+ "kind": "js",
785
+ "name": "formatDateTimeTimestamp",
786
+ "declaration": {
787
+ "name": "formatDateTimeTimestamp",
788
+ "module": "src/formatters/datetime.ts"
789
+ }
790
+ },
791
+ {
792
+ "kind": "js",
793
+ "name": "formatTimestamp",
794
+ "declaration": {
795
+ "name": "formatTimestamp",
796
+ "module": "src/formatters/datetime.ts"
797
+ }
798
+ },
799
+ {
800
+ "kind": "js",
801
+ "name": "getDateFormatter",
802
+ "declaration": {
803
+ "name": "getDateFormatter",
804
+ "module": "src/formatters/datetime.ts"
805
+ }
806
+ }
807
+ ]
808
+ },
809
+ {
810
+ "kind": "javascript-module",
811
+ "path": "src/formatters/index.ts",
812
+ "declarations": [],
813
+ "exports": [
814
+ {
815
+ "kind": "js",
816
+ "name": "*",
817
+ "declaration": {
818
+ "name": "*",
819
+ "package": "./datetime"
820
+ }
821
+ },
822
+ {
823
+ "kind": "js",
824
+ "name": "*",
825
+ "declaration": {
826
+ "name": "*",
827
+ "package": "./localeNumberParser"
828
+ }
829
+ },
830
+ {
831
+ "kind": "js",
832
+ "name": "*",
833
+ "declaration": {
834
+ "name": "*",
835
+ "package": "./number"
836
+ }
837
+ }
838
+ ]
839
+ },
840
+ {
841
+ "kind": "javascript-module",
842
+ "path": "src/formatters/localeNumberParser.ts",
843
+ "declarations": [
844
+ {
845
+ "kind": "class",
846
+ "description": "",
847
+ "name": "NumberParser",
848
+ "members": [
849
+ {
850
+ "kind": "field",
851
+ "name": "_decimal",
852
+ "type": {
853
+ "text": "RegExp"
854
+ },
855
+ "privacy": "private",
856
+ "default": "new RegExp(`[${parts.find((d) => d.type === 'decimal').value}]`)"
857
+ },
858
+ {
859
+ "kind": "field",
860
+ "name": "_separator",
861
+ "type": {
862
+ "text": "RegExp"
863
+ },
864
+ "privacy": "private",
865
+ "default": "new RegExp(\n `[$${parts.find((d) => d.type === 'decimal').value}](?:0*$|[^0]0+$)`,\n )"
866
+ },
867
+ {
868
+ "kind": "field",
869
+ "name": "_numeral",
870
+ "type": {
871
+ "text": "RegExp"
872
+ },
873
+ "privacy": "private",
874
+ "default": "new RegExp(`[${numerals.join('')}]`, 'g')"
875
+ },
876
+ {
877
+ "kind": "field",
878
+ "name": "_index",
879
+ "type": {
880
+ "text": "any"
881
+ },
882
+ "privacy": "private"
883
+ },
884
+ {
885
+ "kind": "method",
886
+ "name": "parse",
887
+ "parameters": [
888
+ {
889
+ "name": "localeNumber",
890
+ "type": {
891
+ "text": "string"
892
+ }
893
+ }
894
+ ]
895
+ },
896
+ {
897
+ "kind": "method",
898
+ "name": "hasSeparator",
899
+ "return": {
900
+ "type": {
901
+ "text": "boolean"
902
+ }
903
+ },
904
+ "parameters": [
905
+ {
906
+ "name": "localeNumber",
907
+ "type": {
908
+ "text": "string"
909
+ }
910
+ }
911
+ ]
912
+ },
913
+ {
914
+ "kind": "field",
915
+ "name": "_group",
916
+ "default": "new RegExp(`[${parts.find((d) => d.type === 'group').value}]`, 'g')"
917
+ }
918
+ ]
919
+ }
920
+ ],
921
+ "exports": [
922
+ {
923
+ "kind": "js",
924
+ "name": "NumberParser",
925
+ "declaration": {
926
+ "name": "NumberParser",
927
+ "module": "src/formatters/localeNumberParser.ts"
928
+ }
929
+ }
930
+ ]
931
+ },
932
+ {
933
+ "kind": "javascript-module",
934
+ "path": "src/formatters/number.ts",
935
+ "declarations": [
1000
936
  {
1001
937
  "kind": "function",
1002
- "name": "getDateFormatter",
938
+ "name": "getNumberFormatter",
1003
939
  "parameters": [
1004
940
  {
1005
- "name": "locale",
1006
- "default": "'en-GB'",
941
+ "name": "format",
1007
942
  "type": {
1008
943
  "text": "string"
1009
944
  }
1010
945
  },
1011
946
  {
1012
- "name": "options",
1013
- "default": "defaultDateOptions",
947
+ "name": "locale",
948
+ "optional": true,
1014
949
  "type": {
1015
- "text": "Intl.DateTimeFormatOptions"
950
+ "text": "string | null"
1016
951
  }
1017
952
  }
1018
953
  ],
@@ -1022,41 +957,52 @@
1022
957
  "exports": [
1023
958
  {
1024
959
  "kind": "js",
1025
- "name": "formatDateTimestamp",
1026
- "declaration": {
1027
- "name": "formatDateTimestamp",
1028
- "module": "src/formatters/datetime.ts"
1029
- }
1030
- },
1031
- {
1032
- "kind": "js",
1033
- "name": "formatDateTimeTimestamp",
960
+ "name": "getNumberFormatter",
1034
961
  "declaration": {
1035
- "name": "formatDateTimeTimestamp",
1036
- "module": "src/formatters/datetime.ts"
962
+ "name": "getNumberFormatter",
963
+ "module": "src/formatters/number.ts"
1037
964
  }
1038
- },
965
+ }
966
+ ]
967
+ },
968
+ {
969
+ "kind": "javascript-module",
970
+ "path": "src/design-system/design-system.ts",
971
+ "declarations": [
1039
972
  {
1040
- "kind": "js",
1041
- "name": "formatTimestamp",
1042
- "declaration": {
1043
- "name": "formatTimestamp",
1044
- "module": "src/formatters/datetime.ts"
1045
- }
1046
- },
973
+ "kind": "function",
974
+ "name": "assureDesignSystem",
975
+ "return": {
976
+ "type": {
977
+ "text": "DesignSystemModule"
978
+ }
979
+ },
980
+ "parameters": [
981
+ {
982
+ "name": "module",
983
+ "type": {
984
+ "text": "DesignSystemModule"
985
+ }
986
+ }
987
+ ],
988
+ "description": "assureDesignSystem.",
989
+ "privacy": "public"
990
+ }
991
+ ],
992
+ "exports": [
1047
993
  {
1048
994
  "kind": "js",
1049
- "name": "getDateFormatter",
995
+ "name": "assureDesignSystem",
1050
996
  "declaration": {
1051
- "name": "getDateFormatter",
1052
- "module": "src/formatters/datetime.ts"
997
+ "name": "assureDesignSystem",
998
+ "module": "src/design-system/design-system.ts"
1053
999
  }
1054
1000
  }
1055
1001
  ]
1056
1002
  },
1057
1003
  {
1058
1004
  "kind": "javascript-module",
1059
- "path": "src/formatters/index.ts",
1005
+ "path": "src/design-system/index.ts",
1060
1006
  "declarations": [],
1061
1007
  "exports": [
1062
1008
  {
@@ -1064,77 +1010,78 @@
1064
1010
  "name": "*",
1065
1011
  "declaration": {
1066
1012
  "name": "*",
1067
- "package": "./datetime"
1068
- }
1069
- },
1070
- {
1071
- "kind": "js",
1072
- "name": "*",
1073
- "declaration": {
1074
- "name": "*",
1075
- "package": "./localeNumberParser"
1076
- }
1077
- },
1078
- {
1079
- "kind": "js",
1080
- "name": "*",
1081
- "declaration": {
1082
- "name": "*",
1083
- "package": "./number"
1013
+ "package": "./design-system"
1084
1014
  }
1085
1015
  }
1086
1016
  ]
1087
1017
  },
1088
1018
  {
1089
1019
  "kind": "javascript-module",
1090
- "path": "src/formatters/localeNumberParser.ts",
1020
+ "path": "src/data/inMemoryDatabase.ts",
1091
1021
  "declarations": [
1092
1022
  {
1093
1023
  "kind": "class",
1094
- "description": "",
1095
- "name": "NumberParser",
1024
+ "description": "An in memory database of specific DatabaseRecord types.",
1025
+ "name": "InMemoryDatabase",
1096
1026
  "members": [
1097
1027
  {
1098
1028
  "kind": "field",
1099
- "name": "_decimal",
1029
+ "name": "isWorking",
1100
1030
  "type": {
1101
- "text": "RegExp"
1031
+ "text": "boolean"
1102
1032
  },
1103
- "privacy": "private",
1104
- "default": "new RegExp(`[${parts.find((d) => d.type === 'decimal').value}]`)"
1033
+ "privacy": "public",
1034
+ "default": "false"
1105
1035
  },
1106
1036
  {
1107
1037
  "kind": "field",
1108
- "name": "_separator",
1038
+ "name": "records",
1109
1039
  "type": {
1110
- "text": "RegExp"
1040
+ "text": "Record<string, T>"
1111
1041
  },
1112
1042
  "privacy": "private",
1113
- "default": "new RegExp(\n `[$${parts.find((d) => d.type === 'decimal').value}](?:0*$|[^0]0+$)`,\n )"
1043
+ "default": "{}"
1114
1044
  },
1115
1045
  {
1116
1046
  "kind": "field",
1117
- "name": "_numeral",
1118
- "type": {
1119
- "text": "RegExp"
1120
- },
1121
- "privacy": "private",
1122
- "default": "new RegExp(`[${numerals.join('')}]`, 'g')"
1047
+ "name": "beforeUpdateListeners",
1048
+ "privacy": "private"
1123
1049
  },
1124
1050
  {
1125
1051
  "kind": "field",
1126
- "name": "_index",
1127
- "type": {
1128
- "text": "any"
1129
- },
1052
+ "name": "afterUpdateListeners",
1130
1053
  "privacy": "private"
1131
1054
  },
1132
1055
  {
1133
1056
  "kind": "method",
1134
- "name": "parse",
1057
+ "name": "create",
1058
+ "privacy": "public",
1059
+ "return": {
1060
+ "type": {
1061
+ "text": "Promise<DatabaseAccessResult.Create<T>>"
1062
+ }
1063
+ },
1135
1064
  "parameters": [
1136
1065
  {
1137
- "name": "localeNumber",
1066
+ "name": "newValue",
1067
+ "type": {
1068
+ "text": "Omit<T, 'id'>"
1069
+ }
1070
+ }
1071
+ ]
1072
+ },
1073
+ {
1074
+ "kind": "method",
1075
+ "name": "read",
1076
+ "privacy": "public",
1077
+ "return": {
1078
+ "type": {
1079
+ "text": "Promise<DatabaseAccessResult.Read<T>>"
1080
+ }
1081
+ },
1082
+ "parameters": [
1083
+ {
1084
+ "name": "id",
1138
1085
  "type": {
1139
1086
  "text": "string"
1140
1087
  }
@@ -1143,25 +1090,99 @@
1143
1090
  },
1144
1091
  {
1145
1092
  "kind": "method",
1146
- "name": "hasSeparator",
1093
+ "name": "update",
1094
+ "privacy": "public",
1147
1095
  "return": {
1148
1096
  "type": {
1149
- "text": "boolean"
1097
+ "text": "Promise<DatabaseAccessResult.Update<T>>"
1150
1098
  }
1151
1099
  },
1152
1100
  "parameters": [
1153
1101
  {
1154
- "name": "localeNumber",
1102
+ "name": "id",
1155
1103
  "type": {
1156
1104
  "text": "string"
1157
1105
  }
1106
+ },
1107
+ {
1108
+ "name": "newValue",
1109
+ "type": {
1110
+ "text": "Omit<Partial<T>, 'id'>"
1111
+ }
1158
1112
  }
1159
1113
  ]
1160
1114
  },
1161
1115
  {
1162
- "kind": "field",
1163
- "name": "_group",
1164
- "default": "new RegExp(`[${parts.find((d) => d.type === 'group').value}]`, 'g')"
1116
+ "kind": "method",
1117
+ "name": "delete",
1118
+ "privacy": "public",
1119
+ "return": {
1120
+ "type": {
1121
+ "text": "Promise<DatabaseAccessResult.Delete>"
1122
+ }
1123
+ },
1124
+ "parameters": [
1125
+ {
1126
+ "name": "id",
1127
+ "type": {
1128
+ "text": "string"
1129
+ }
1130
+ }
1131
+ ]
1132
+ },
1133
+ {
1134
+ "kind": "method",
1135
+ "name": "visit",
1136
+ "privacy": "public",
1137
+ "return": {
1138
+ "type": {
1139
+ "text": "Promise<void>"
1140
+ }
1141
+ },
1142
+ "parameters": [
1143
+ {
1144
+ "name": "visitor",
1145
+ "type": {
1146
+ "text": "(record: T) => void"
1147
+ }
1148
+ }
1149
+ ]
1150
+ },
1151
+ {
1152
+ "kind": "method",
1153
+ "name": "onBeforeUpdate",
1154
+ "privacy": "public",
1155
+ "return": {
1156
+ "type": {
1157
+ "text": "() => void"
1158
+ }
1159
+ },
1160
+ "parameters": [
1161
+ {
1162
+ "name": "listener",
1163
+ "type": {
1164
+ "text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
1165
+ }
1166
+ }
1167
+ ]
1168
+ },
1169
+ {
1170
+ "kind": "method",
1171
+ "name": "onAfterUpdate",
1172
+ "privacy": "public",
1173
+ "return": {
1174
+ "type": {
1175
+ "text": "() => void"
1176
+ }
1177
+ },
1178
+ "parameters": [
1179
+ {
1180
+ "name": "listener",
1181
+ "type": {
1182
+ "text": "Listener<DatabaseEvent.AfterUpdate<T>>"
1183
+ }
1184
+ }
1185
+ ]
1165
1186
  }
1166
1187
  ]
1167
1188
  }
@@ -1169,46 +1190,25 @@
1169
1190
  "exports": [
1170
1191
  {
1171
1192
  "kind": "js",
1172
- "name": "NumberParser",
1193
+ "name": "InMemoryDatabase",
1173
1194
  "declaration": {
1174
- "name": "NumberParser",
1175
- "module": "src/formatters/localeNumberParser.ts"
1195
+ "name": "InMemoryDatabase",
1196
+ "module": "src/data/inMemoryDatabase.ts"
1176
1197
  }
1177
1198
  }
1178
1199
  ]
1179
1200
  },
1180
1201
  {
1181
1202
  "kind": "javascript-module",
1182
- "path": "src/formatters/number.ts",
1183
- "declarations": [
1184
- {
1185
- "kind": "function",
1186
- "name": "getNumberFormatter",
1187
- "parameters": [
1188
- {
1189
- "name": "format",
1190
- "type": {
1191
- "text": "string"
1192
- }
1193
- },
1194
- {
1195
- "name": "locale",
1196
- "optional": true,
1197
- "type": {
1198
- "text": "string | null"
1199
- }
1200
- }
1201
- ],
1202
- "privacy": "public"
1203
- }
1204
- ],
1203
+ "path": "src/data/index.ts",
1204
+ "declarations": [],
1205
1205
  "exports": [
1206
1206
  {
1207
1207
  "kind": "js",
1208
- "name": "getNumberFormatter",
1208
+ "name": "*",
1209
1209
  "declaration": {
1210
- "name": "getNumberFormatter",
1211
- "module": "src/formatters/number.ts"
1210
+ "name": "*",
1211
+ "package": "./inMemoryDatabase"
1212
1212
  }
1213
1213
  }
1214
1214
  ]
@@ -1314,6 +1314,29 @@
1314
1314
  }
1315
1315
  ]
1316
1316
  },
1317
+ {
1318
+ "kind": "javascript-module",
1319
+ "path": "src/mixins/index.ts",
1320
+ "declarations": [],
1321
+ "exports": [
1322
+ {
1323
+ "kind": "js",
1324
+ "name": "*",
1325
+ "declaration": {
1326
+ "name": "*",
1327
+ "package": "./pendingState"
1328
+ }
1329
+ },
1330
+ {
1331
+ "kind": "js",
1332
+ "name": "*",
1333
+ "declaration": {
1334
+ "name": "*",
1335
+ "package": "./lifecycle"
1336
+ }
1337
+ }
1338
+ ]
1339
+ },
1317
1340
  {
1318
1341
  "kind": "javascript-module",
1319
1342
  "path": "src/observer/index.ts",
@@ -1386,29 +1409,6 @@
1386
1409
  }
1387
1410
  ]
1388
1411
  },
1389
- {
1390
- "kind": "javascript-module",
1391
- "path": "src/mixins/index.ts",
1392
- "declarations": [],
1393
- "exports": [
1394
- {
1395
- "kind": "js",
1396
- "name": "*",
1397
- "declaration": {
1398
- "name": "*",
1399
- "package": "./pendingState"
1400
- }
1401
- },
1402
- {
1403
- "kind": "js",
1404
- "name": "*",
1405
- "declaration": {
1406
- "name": "*",
1407
- "package": "./lifecycle"
1408
- }
1409
- }
1410
- ]
1411
- },
1412
1412
  {
1413
1413
  "kind": "javascript-module",
1414
1414
  "path": "src/promise/index.ts",
@@ -2594,6 +2594,93 @@
2594
2594
  }
2595
2595
  ]
2596
2596
  },
2597
+ {
2598
+ "kind": "javascript-module",
2599
+ "path": "src/mixins/pendingState/index.ts",
2600
+ "declarations": [],
2601
+ "exports": [
2602
+ {
2603
+ "kind": "js",
2604
+ "name": "*",
2605
+ "declaration": {
2606
+ "name": "*",
2607
+ "package": "./pendingState"
2608
+ }
2609
+ }
2610
+ ]
2611
+ },
2612
+ {
2613
+ "kind": "javascript-module",
2614
+ "path": "src/mixins/pendingState/pendingState.ts",
2615
+ "declarations": [
2616
+ {
2617
+ "kind": "mixin",
2618
+ "description": "The `PendingState` mixin.",
2619
+ "name": "PendingState",
2620
+ "members": [
2621
+ {
2622
+ "kind": "field",
2623
+ "name": "pendingCount",
2624
+ "type": {
2625
+ "text": "number"
2626
+ },
2627
+ "privacy": "public",
2628
+ "default": "0",
2629
+ "description": "The number of promises that are currently pending."
2630
+ },
2631
+ {
2632
+ "kind": "field",
2633
+ "name": "resolvedCount",
2634
+ "type": {
2635
+ "text": "number"
2636
+ },
2637
+ "privacy": "public",
2638
+ "default": "0",
2639
+ "description": "The number of promises that have been resolved."
2640
+ },
2641
+ {
2642
+ "kind": "field",
2643
+ "name": "hasPendingChildren",
2644
+ "type": {
2645
+ "text": "boolean"
2646
+ },
2647
+ "privacy": "public",
2648
+ "default": "false",
2649
+ "description": "A boolean indicating whether there are any pending children."
2650
+ },
2651
+ {
2652
+ "kind": "field",
2653
+ "name": "progress",
2654
+ "type": {
2655
+ "text": "number"
2656
+ },
2657
+ "privacy": "public",
2658
+ "description": "Gets the progress of the pending promises as a percentage between 0 and 1.",
2659
+ "readonly": true
2660
+ }
2661
+ ],
2662
+ "parameters": [
2663
+ {
2664
+ "name": "Base",
2665
+ "type": {
2666
+ "text": "TBase"
2667
+ }
2668
+ }
2669
+ ],
2670
+ "privacy": "public"
2671
+ }
2672
+ ],
2673
+ "exports": [
2674
+ {
2675
+ "kind": "js",
2676
+ "name": "PendingState",
2677
+ "declaration": {
2678
+ "name": "PendingState",
2679
+ "module": "src/mixins/pendingState/pendingState.ts"
2680
+ }
2681
+ }
2682
+ ]
2683
+ },
2597
2684
  {
2598
2685
  "kind": "javascript-module",
2599
2686
  "path": "src/serializers/json/index.ts",
@@ -2820,93 +2907,6 @@
2820
2907
  "path": "src/serializers/json/types.ts",
2821
2908
  "declarations": [],
2822
2909
  "exports": []
2823
- },
2824
- {
2825
- "kind": "javascript-module",
2826
- "path": "src/mixins/pendingState/index.ts",
2827
- "declarations": [],
2828
- "exports": [
2829
- {
2830
- "kind": "js",
2831
- "name": "*",
2832
- "declaration": {
2833
- "name": "*",
2834
- "package": "./pendingState"
2835
- }
2836
- }
2837
- ]
2838
- },
2839
- {
2840
- "kind": "javascript-module",
2841
- "path": "src/mixins/pendingState/pendingState.ts",
2842
- "declarations": [
2843
- {
2844
- "kind": "mixin",
2845
- "description": "The `PendingState` mixin.",
2846
- "name": "PendingState",
2847
- "members": [
2848
- {
2849
- "kind": "field",
2850
- "name": "pendingCount",
2851
- "type": {
2852
- "text": "number"
2853
- },
2854
- "privacy": "public",
2855
- "default": "0",
2856
- "description": "The number of promises that are currently pending."
2857
- },
2858
- {
2859
- "kind": "field",
2860
- "name": "resolvedCount",
2861
- "type": {
2862
- "text": "number"
2863
- },
2864
- "privacy": "public",
2865
- "default": "0",
2866
- "description": "The number of promises that have been resolved."
2867
- },
2868
- {
2869
- "kind": "field",
2870
- "name": "hasPendingChildren",
2871
- "type": {
2872
- "text": "boolean"
2873
- },
2874
- "privacy": "public",
2875
- "default": "false",
2876
- "description": "A boolean indicating whether there are any pending children."
2877
- },
2878
- {
2879
- "kind": "field",
2880
- "name": "progress",
2881
- "type": {
2882
- "text": "number"
2883
- },
2884
- "privacy": "public",
2885
- "description": "Gets the progress of the pending promises as a percentage between 0 and 1.",
2886
- "readonly": true
2887
- }
2888
- ],
2889
- "parameters": [
2890
- {
2891
- "name": "Base",
2892
- "type": {
2893
- "text": "TBase"
2894
- }
2895
- }
2896
- ],
2897
- "privacy": "public"
2898
- }
2899
- ],
2900
- "exports": [
2901
- {
2902
- "kind": "js",
2903
- "name": "PendingState",
2904
- "declaration": {
2905
- "name": "PendingState",
2906
- "module": "src/mixins/pendingState/pendingState.ts"
2907
- }
2908
- }
2909
- ]
2910
2910
  }
2911
2911
  ]
2912
2912
  }
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.223.0",
4
+ "version": "14.223.1-alpha-96ec959.0",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -27,20 +27,20 @@
27
27
  }
28
28
  },
29
29
  "devDependencies": {
30
- "@genesislcap/foundation-testing": "14.223.0",
31
- "@genesislcap/genx": "14.223.0",
32
- "@genesislcap/rollup-builder": "14.223.0",
33
- "@genesislcap/ts-builder": "14.223.0",
34
- "@genesislcap/uvu-playwright-builder": "14.223.0",
35
- "@genesislcap/vite-builder": "14.223.0",
36
- "@genesislcap/webpack-builder": "14.223.0",
30
+ "@genesislcap/foundation-testing": "14.223.1-alpha-96ec959.0",
31
+ "@genesislcap/genx": "14.223.1-alpha-96ec959.0",
32
+ "@genesislcap/rollup-builder": "14.223.1-alpha-96ec959.0",
33
+ "@genesislcap/ts-builder": "14.223.1-alpha-96ec959.0",
34
+ "@genesislcap/uvu-playwright-builder": "14.223.1-alpha-96ec959.0",
35
+ "@genesislcap/vite-builder": "14.223.1-alpha-96ec959.0",
36
+ "@genesislcap/webpack-builder": "14.223.1-alpha-96ec959.0",
37
37
  "rimraf": "^5.0.0"
38
38
  },
39
39
  "dependencies": {
40
- "@genesislcap/foundation-logger": "14.223.0",
40
+ "@genesislcap/foundation-logger": "14.223.1-alpha-96ec959.0",
41
41
  "@microsoft/fast-components": "^2.30.6",
42
42
  "@microsoft/fast-element": "^1.12.0",
43
- "@microsoft/fast-foundation": "2.49.6",
43
+ "@microsoft/fast-foundation": "2.49.5",
44
44
  "lossless-json": "^2.0.11",
45
45
  "numeral": "2.0.6",
46
46
  "tslib": "^2.3.1",
@@ -55,5 +55,5 @@
55
55
  "access": "public"
56
56
  },
57
57
  "customElements": "dist/custom-elements.json",
58
- "gitHead": "22b246a956a4063d7337ab506bbdaa43e136ba63"
58
+ "gitHead": "6b618f4aa58da9d5c4a3c701895321cb4d13efef"
59
59
  }