@genesislcap/foundation-utils 14.145.0 → 14.145.2
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.
- package/dist/custom-elements.json +403 -403
- package/package.json +5 -5
|
@@ -151,204 +151,6 @@
|
|
|
151
151
|
}
|
|
152
152
|
]
|
|
153
153
|
},
|
|
154
|
-
{
|
|
155
|
-
"kind": "javascript-module",
|
|
156
|
-
"path": "src/data/inMemoryDatabase.ts",
|
|
157
|
-
"declarations": [
|
|
158
|
-
{
|
|
159
|
-
"kind": "class",
|
|
160
|
-
"description": "An in memory database of specific DatabaseRecord types.",
|
|
161
|
-
"name": "InMemoryDatabase",
|
|
162
|
-
"members": [
|
|
163
|
-
{
|
|
164
|
-
"kind": "field",
|
|
165
|
-
"name": "isWorking",
|
|
166
|
-
"type": {
|
|
167
|
-
"text": "boolean"
|
|
168
|
-
},
|
|
169
|
-
"privacy": "public",
|
|
170
|
-
"default": "false"
|
|
171
|
-
},
|
|
172
|
-
{
|
|
173
|
-
"kind": "field",
|
|
174
|
-
"name": "records",
|
|
175
|
-
"type": {
|
|
176
|
-
"text": "Record<string, T>"
|
|
177
|
-
},
|
|
178
|
-
"privacy": "private",
|
|
179
|
-
"default": "{}"
|
|
180
|
-
},
|
|
181
|
-
{
|
|
182
|
-
"kind": "field",
|
|
183
|
-
"name": "beforeUpdateListeners",
|
|
184
|
-
"privacy": "private"
|
|
185
|
-
},
|
|
186
|
-
{
|
|
187
|
-
"kind": "field",
|
|
188
|
-
"name": "afterUpdateListeners",
|
|
189
|
-
"privacy": "private"
|
|
190
|
-
},
|
|
191
|
-
{
|
|
192
|
-
"kind": "method",
|
|
193
|
-
"name": "create",
|
|
194
|
-
"privacy": "public",
|
|
195
|
-
"return": {
|
|
196
|
-
"type": {
|
|
197
|
-
"text": "Promise<DatabaseAccessResult.Create<T>>"
|
|
198
|
-
}
|
|
199
|
-
},
|
|
200
|
-
"parameters": [
|
|
201
|
-
{
|
|
202
|
-
"name": "newValue",
|
|
203
|
-
"type": {
|
|
204
|
-
"text": "Omit<T, 'id'>"
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
]
|
|
208
|
-
},
|
|
209
|
-
{
|
|
210
|
-
"kind": "method",
|
|
211
|
-
"name": "read",
|
|
212
|
-
"privacy": "public",
|
|
213
|
-
"return": {
|
|
214
|
-
"type": {
|
|
215
|
-
"text": "Promise<DatabaseAccessResult.Read<T>>"
|
|
216
|
-
}
|
|
217
|
-
},
|
|
218
|
-
"parameters": [
|
|
219
|
-
{
|
|
220
|
-
"name": "id",
|
|
221
|
-
"type": {
|
|
222
|
-
"text": "string"
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
]
|
|
226
|
-
},
|
|
227
|
-
{
|
|
228
|
-
"kind": "method",
|
|
229
|
-
"name": "update",
|
|
230
|
-
"privacy": "public",
|
|
231
|
-
"return": {
|
|
232
|
-
"type": {
|
|
233
|
-
"text": "Promise<DatabaseAccessResult.Update<T>>"
|
|
234
|
-
}
|
|
235
|
-
},
|
|
236
|
-
"parameters": [
|
|
237
|
-
{
|
|
238
|
-
"name": "id",
|
|
239
|
-
"type": {
|
|
240
|
-
"text": "string"
|
|
241
|
-
}
|
|
242
|
-
},
|
|
243
|
-
{
|
|
244
|
-
"name": "newValue",
|
|
245
|
-
"type": {
|
|
246
|
-
"text": "Omit<Partial<T>, 'id'>"
|
|
247
|
-
}
|
|
248
|
-
}
|
|
249
|
-
]
|
|
250
|
-
},
|
|
251
|
-
{
|
|
252
|
-
"kind": "method",
|
|
253
|
-
"name": "delete",
|
|
254
|
-
"privacy": "public",
|
|
255
|
-
"return": {
|
|
256
|
-
"type": {
|
|
257
|
-
"text": "Promise<DatabaseAccessResult.Delete>"
|
|
258
|
-
}
|
|
259
|
-
},
|
|
260
|
-
"parameters": [
|
|
261
|
-
{
|
|
262
|
-
"name": "id",
|
|
263
|
-
"type": {
|
|
264
|
-
"text": "string"
|
|
265
|
-
}
|
|
266
|
-
}
|
|
267
|
-
]
|
|
268
|
-
},
|
|
269
|
-
{
|
|
270
|
-
"kind": "method",
|
|
271
|
-
"name": "visit",
|
|
272
|
-
"privacy": "public",
|
|
273
|
-
"return": {
|
|
274
|
-
"type": {
|
|
275
|
-
"text": "Promise<void>"
|
|
276
|
-
}
|
|
277
|
-
},
|
|
278
|
-
"parameters": [
|
|
279
|
-
{
|
|
280
|
-
"name": "visitor",
|
|
281
|
-
"type": {
|
|
282
|
-
"text": "(record: T) => void"
|
|
283
|
-
}
|
|
284
|
-
}
|
|
285
|
-
]
|
|
286
|
-
},
|
|
287
|
-
{
|
|
288
|
-
"kind": "method",
|
|
289
|
-
"name": "onBeforeUpdate",
|
|
290
|
-
"privacy": "public",
|
|
291
|
-
"return": {
|
|
292
|
-
"type": {
|
|
293
|
-
"text": "() => void"
|
|
294
|
-
}
|
|
295
|
-
},
|
|
296
|
-
"parameters": [
|
|
297
|
-
{
|
|
298
|
-
"name": "listener",
|
|
299
|
-
"type": {
|
|
300
|
-
"text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
|
|
301
|
-
}
|
|
302
|
-
}
|
|
303
|
-
]
|
|
304
|
-
},
|
|
305
|
-
{
|
|
306
|
-
"kind": "method",
|
|
307
|
-
"name": "onAfterUpdate",
|
|
308
|
-
"privacy": "public",
|
|
309
|
-
"return": {
|
|
310
|
-
"type": {
|
|
311
|
-
"text": "() => void"
|
|
312
|
-
}
|
|
313
|
-
},
|
|
314
|
-
"parameters": [
|
|
315
|
-
{
|
|
316
|
-
"name": "listener",
|
|
317
|
-
"type": {
|
|
318
|
-
"text": "Listener<DatabaseEvent.AfterUpdate<T>>"
|
|
319
|
-
}
|
|
320
|
-
}
|
|
321
|
-
]
|
|
322
|
-
}
|
|
323
|
-
]
|
|
324
|
-
}
|
|
325
|
-
],
|
|
326
|
-
"exports": [
|
|
327
|
-
{
|
|
328
|
-
"kind": "js",
|
|
329
|
-
"name": "InMemoryDatabase",
|
|
330
|
-
"declaration": {
|
|
331
|
-
"name": "InMemoryDatabase",
|
|
332
|
-
"module": "src/data/inMemoryDatabase.ts"
|
|
333
|
-
}
|
|
334
|
-
}
|
|
335
|
-
]
|
|
336
|
-
},
|
|
337
|
-
{
|
|
338
|
-
"kind": "javascript-module",
|
|
339
|
-
"path": "src/data/index.ts",
|
|
340
|
-
"declarations": [],
|
|
341
|
-
"exports": [
|
|
342
|
-
{
|
|
343
|
-
"kind": "js",
|
|
344
|
-
"name": "*",
|
|
345
|
-
"declaration": {
|
|
346
|
-
"name": "*",
|
|
347
|
-
"package": "./inMemoryDatabase"
|
|
348
|
-
}
|
|
349
|
-
}
|
|
350
|
-
]
|
|
351
|
-
},
|
|
352
154
|
{
|
|
353
155
|
"kind": "javascript-module",
|
|
354
156
|
"path": "src/decorators/index.ts",
|
|
@@ -899,56 +701,254 @@
|
|
|
899
701
|
},
|
|
900
702
|
{
|
|
901
703
|
"kind": "javascript-module",
|
|
902
|
-
"path": "src/
|
|
704
|
+
"path": "src/data/inMemoryDatabase.ts",
|
|
903
705
|
"declarations": [
|
|
904
706
|
{
|
|
905
|
-
"kind": "
|
|
906
|
-
"
|
|
907
|
-
"
|
|
908
|
-
|
|
909
|
-
"text": "string"
|
|
910
|
-
}
|
|
911
|
-
},
|
|
912
|
-
"parameters": [
|
|
707
|
+
"kind": "class",
|
|
708
|
+
"description": "An in memory database of specific DatabaseRecord types.",
|
|
709
|
+
"name": "InMemoryDatabase",
|
|
710
|
+
"members": [
|
|
913
711
|
{
|
|
914
|
-
"
|
|
712
|
+
"kind": "field",
|
|
713
|
+
"name": "isWorking",
|
|
915
714
|
"type": {
|
|
916
|
-
"text": "
|
|
917
|
-
}
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
"privacy": "public"
|
|
922
|
-
},
|
|
923
|
-
{
|
|
924
|
-
"kind": "function",
|
|
925
|
-
"name": "formatDateTimeTimestamp",
|
|
926
|
-
"return": {
|
|
927
|
-
"type": {
|
|
928
|
-
"text": "string"
|
|
929
|
-
}
|
|
930
|
-
},
|
|
931
|
-
"parameters": [
|
|
715
|
+
"text": "boolean"
|
|
716
|
+
},
|
|
717
|
+
"privacy": "public",
|
|
718
|
+
"default": "false"
|
|
719
|
+
},
|
|
932
720
|
{
|
|
933
|
-
"
|
|
721
|
+
"kind": "field",
|
|
722
|
+
"name": "records",
|
|
934
723
|
"type": {
|
|
935
|
-
"text": "
|
|
936
|
-
}
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
"
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
724
|
+
"text": "Record<string, T>"
|
|
725
|
+
},
|
|
726
|
+
"privacy": "private",
|
|
727
|
+
"default": "{}"
|
|
728
|
+
},
|
|
729
|
+
{
|
|
730
|
+
"kind": "field",
|
|
731
|
+
"name": "beforeUpdateListeners",
|
|
732
|
+
"privacy": "private"
|
|
733
|
+
},
|
|
734
|
+
{
|
|
735
|
+
"kind": "field",
|
|
736
|
+
"name": "afterUpdateListeners",
|
|
737
|
+
"privacy": "private"
|
|
738
|
+
},
|
|
739
|
+
{
|
|
740
|
+
"kind": "method",
|
|
741
|
+
"name": "create",
|
|
742
|
+
"privacy": "public",
|
|
743
|
+
"return": {
|
|
744
|
+
"type": {
|
|
745
|
+
"text": "Promise<DatabaseAccessResult.Create<T>>"
|
|
746
|
+
}
|
|
747
|
+
},
|
|
748
|
+
"parameters": [
|
|
749
|
+
{
|
|
750
|
+
"name": "newValue",
|
|
751
|
+
"type": {
|
|
752
|
+
"text": "Omit<T, 'id'>"
|
|
753
|
+
}
|
|
754
|
+
}
|
|
755
|
+
]
|
|
756
|
+
},
|
|
757
|
+
{
|
|
758
|
+
"kind": "method",
|
|
759
|
+
"name": "read",
|
|
760
|
+
"privacy": "public",
|
|
761
|
+
"return": {
|
|
762
|
+
"type": {
|
|
763
|
+
"text": "Promise<DatabaseAccessResult.Read<T>>"
|
|
764
|
+
}
|
|
765
|
+
},
|
|
766
|
+
"parameters": [
|
|
767
|
+
{
|
|
768
|
+
"name": "id",
|
|
769
|
+
"type": {
|
|
770
|
+
"text": "string"
|
|
771
|
+
}
|
|
772
|
+
}
|
|
773
|
+
]
|
|
774
|
+
},
|
|
775
|
+
{
|
|
776
|
+
"kind": "method",
|
|
777
|
+
"name": "update",
|
|
778
|
+
"privacy": "public",
|
|
779
|
+
"return": {
|
|
780
|
+
"type": {
|
|
781
|
+
"text": "Promise<DatabaseAccessResult.Update<T>>"
|
|
782
|
+
}
|
|
783
|
+
},
|
|
784
|
+
"parameters": [
|
|
785
|
+
{
|
|
786
|
+
"name": "id",
|
|
787
|
+
"type": {
|
|
788
|
+
"text": "string"
|
|
789
|
+
}
|
|
790
|
+
},
|
|
791
|
+
{
|
|
792
|
+
"name": "newValue",
|
|
793
|
+
"type": {
|
|
794
|
+
"text": "Omit<Partial<T>, 'id'>"
|
|
795
|
+
}
|
|
796
|
+
}
|
|
797
|
+
]
|
|
798
|
+
},
|
|
799
|
+
{
|
|
800
|
+
"kind": "method",
|
|
801
|
+
"name": "delete",
|
|
802
|
+
"privacy": "public",
|
|
803
|
+
"return": {
|
|
804
|
+
"type": {
|
|
805
|
+
"text": "Promise<DatabaseAccessResult.Delete>"
|
|
806
|
+
}
|
|
807
|
+
},
|
|
808
|
+
"parameters": [
|
|
809
|
+
{
|
|
810
|
+
"name": "id",
|
|
811
|
+
"type": {
|
|
812
|
+
"text": "string"
|
|
813
|
+
}
|
|
814
|
+
}
|
|
815
|
+
]
|
|
816
|
+
},
|
|
817
|
+
{
|
|
818
|
+
"kind": "method",
|
|
819
|
+
"name": "visit",
|
|
820
|
+
"privacy": "public",
|
|
821
|
+
"return": {
|
|
822
|
+
"type": {
|
|
823
|
+
"text": "Promise<void>"
|
|
824
|
+
}
|
|
825
|
+
},
|
|
826
|
+
"parameters": [
|
|
827
|
+
{
|
|
828
|
+
"name": "visitor",
|
|
829
|
+
"type": {
|
|
830
|
+
"text": "(record: T) => void"
|
|
831
|
+
}
|
|
832
|
+
}
|
|
833
|
+
]
|
|
834
|
+
},
|
|
835
|
+
{
|
|
836
|
+
"kind": "method",
|
|
837
|
+
"name": "onBeforeUpdate",
|
|
838
|
+
"privacy": "public",
|
|
839
|
+
"return": {
|
|
840
|
+
"type": {
|
|
841
|
+
"text": "() => void"
|
|
842
|
+
}
|
|
843
|
+
},
|
|
844
|
+
"parameters": [
|
|
845
|
+
{
|
|
846
|
+
"name": "listener",
|
|
847
|
+
"type": {
|
|
848
|
+
"text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
|
|
849
|
+
}
|
|
850
|
+
}
|
|
851
|
+
]
|
|
852
|
+
},
|
|
853
|
+
{
|
|
854
|
+
"kind": "method",
|
|
855
|
+
"name": "onAfterUpdate",
|
|
856
|
+
"privacy": "public",
|
|
857
|
+
"return": {
|
|
858
|
+
"type": {
|
|
859
|
+
"text": "() => void"
|
|
860
|
+
}
|
|
861
|
+
},
|
|
862
|
+
"parameters": [
|
|
863
|
+
{
|
|
864
|
+
"name": "listener",
|
|
865
|
+
"type": {
|
|
866
|
+
"text": "Listener<DatabaseEvent.AfterUpdate<T>>"
|
|
867
|
+
}
|
|
868
|
+
}
|
|
869
|
+
]
|
|
870
|
+
}
|
|
871
|
+
]
|
|
872
|
+
}
|
|
873
|
+
],
|
|
874
|
+
"exports": [
|
|
875
|
+
{
|
|
876
|
+
"kind": "js",
|
|
877
|
+
"name": "InMemoryDatabase",
|
|
878
|
+
"declaration": {
|
|
879
|
+
"name": "InMemoryDatabase",
|
|
880
|
+
"module": "src/data/inMemoryDatabase.ts"
|
|
881
|
+
}
|
|
882
|
+
}
|
|
883
|
+
]
|
|
884
|
+
},
|
|
885
|
+
{
|
|
886
|
+
"kind": "javascript-module",
|
|
887
|
+
"path": "src/data/index.ts",
|
|
888
|
+
"declarations": [],
|
|
889
|
+
"exports": [
|
|
890
|
+
{
|
|
891
|
+
"kind": "js",
|
|
892
|
+
"name": "*",
|
|
893
|
+
"declaration": {
|
|
894
|
+
"name": "*",
|
|
895
|
+
"package": "./inMemoryDatabase"
|
|
896
|
+
}
|
|
897
|
+
}
|
|
898
|
+
]
|
|
899
|
+
},
|
|
900
|
+
{
|
|
901
|
+
"kind": "javascript-module",
|
|
902
|
+
"path": "src/formatters/datetime.ts",
|
|
903
|
+
"declarations": [
|
|
904
|
+
{
|
|
905
|
+
"kind": "function",
|
|
906
|
+
"name": "formatDateTimestamp",
|
|
907
|
+
"return": {
|
|
908
|
+
"type": {
|
|
909
|
+
"text": "string"
|
|
910
|
+
}
|
|
911
|
+
},
|
|
912
|
+
"parameters": [
|
|
913
|
+
{
|
|
914
|
+
"name": "timestamp",
|
|
915
|
+
"type": {
|
|
916
|
+
"text": "number"
|
|
917
|
+
}
|
|
918
|
+
}
|
|
919
|
+
],
|
|
920
|
+
"description": "Formats [DATE] UNIX Timestamps (without time) to readable strings",
|
|
921
|
+
"privacy": "public"
|
|
922
|
+
},
|
|
923
|
+
{
|
|
924
|
+
"kind": "function",
|
|
925
|
+
"name": "formatDateTimeTimestamp",
|
|
926
|
+
"return": {
|
|
927
|
+
"type": {
|
|
928
|
+
"text": "string"
|
|
929
|
+
}
|
|
930
|
+
},
|
|
931
|
+
"parameters": [
|
|
932
|
+
{
|
|
933
|
+
"name": "timestamp",
|
|
934
|
+
"type": {
|
|
935
|
+
"text": "number"
|
|
936
|
+
}
|
|
937
|
+
}
|
|
938
|
+
],
|
|
939
|
+
"description": "Formats [DATETIME] UNIX Timestamps (with time) to readable strings",
|
|
940
|
+
"privacy": "public"
|
|
941
|
+
},
|
|
942
|
+
{
|
|
943
|
+
"kind": "function",
|
|
944
|
+
"name": "formatTimestamp",
|
|
945
|
+
"return": {
|
|
946
|
+
"type": {
|
|
947
|
+
"text": "string"
|
|
948
|
+
}
|
|
949
|
+
},
|
|
950
|
+
"parameters": [
|
|
951
|
+
{
|
|
952
952
|
"name": "timestamp",
|
|
953
953
|
"type": {
|
|
954
954
|
"text": "number"
|
|
@@ -2145,7 +2145,7 @@
|
|
|
2145
2145
|
},
|
|
2146
2146
|
{
|
|
2147
2147
|
"kind": "javascript-module",
|
|
2148
|
-
"path": "src/
|
|
2148
|
+
"path": "src/directives/when-else/index.ts",
|
|
2149
2149
|
"declarations": [],
|
|
2150
2150
|
"exports": [
|
|
2151
2151
|
{
|
|
@@ -2153,124 +2153,24 @@
|
|
|
2153
2153
|
"name": "*",
|
|
2154
2154
|
"declaration": {
|
|
2155
2155
|
"name": "*",
|
|
2156
|
-
"package": "./
|
|
2157
|
-
}
|
|
2158
|
-
},
|
|
2159
|
-
{
|
|
2160
|
-
"kind": "js",
|
|
2161
|
-
"name": "*",
|
|
2162
|
-
"declaration": {
|
|
2163
|
-
"name": "*",
|
|
2164
|
-
"package": "./types"
|
|
2156
|
+
"package": "./when-else"
|
|
2165
2157
|
}
|
|
2166
2158
|
}
|
|
2167
2159
|
]
|
|
2168
2160
|
},
|
|
2169
2161
|
{
|
|
2170
2162
|
"kind": "javascript-module",
|
|
2171
|
-
"path": "src/
|
|
2163
|
+
"path": "src/directives/when-else/when-else.ts",
|
|
2172
2164
|
"declarations": [
|
|
2173
2165
|
{
|
|
2174
|
-
"kind": "
|
|
2175
|
-
"
|
|
2176
|
-
"
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
"parameters": [
|
|
2183
|
-
{
|
|
2184
|
-
"description": "The DTO to convert.",
|
|
2185
|
-
"name": "dto"
|
|
2186
|
-
}
|
|
2187
|
-
],
|
|
2188
|
-
"return": {
|
|
2189
|
-
"type": {
|
|
2190
|
-
"text": ""
|
|
2191
|
-
}
|
|
2192
|
-
},
|
|
2193
|
-
"privacy": "public"
|
|
2194
|
-
},
|
|
2195
|
-
{
|
|
2196
|
-
"kind": "field",
|
|
2197
|
-
"name": "toDTO",
|
|
2198
|
-
"description": "Converts a server row entity to a DTO.",
|
|
2199
|
-
"parameters": [
|
|
2200
|
-
{
|
|
2201
|
-
"description": "The entity to convert.",
|
|
2202
|
-
"name": "entity"
|
|
2203
|
-
}
|
|
2204
|
-
],
|
|
2205
|
-
"return": {
|
|
2206
|
-
"type": {
|
|
2207
|
-
"text": ""
|
|
2208
|
-
}
|
|
2209
|
-
},
|
|
2210
|
-
"privacy": "public"
|
|
2211
|
-
}
|
|
2212
|
-
]
|
|
2213
|
-
},
|
|
2214
|
-
{
|
|
2215
|
-
"kind": "variable",
|
|
2216
|
-
"name": "ServerRowDTOMapper",
|
|
2217
|
-
"description": "A DI token used to obtain a `ServerRowDTOMapper` instance.",
|
|
2218
|
-
"privacy": "public"
|
|
2219
|
-
}
|
|
2220
|
-
],
|
|
2221
|
-
"exports": [
|
|
2222
|
-
{
|
|
2223
|
-
"kind": "js",
|
|
2224
|
-
"name": "DefaultServerRowDTOMapper",
|
|
2225
|
-
"declaration": {
|
|
2226
|
-
"name": "DefaultServerRowDTOMapper",
|
|
2227
|
-
"module": "src/mappers/dto/serverRow.ts"
|
|
2228
|
-
}
|
|
2229
|
-
},
|
|
2230
|
-
{
|
|
2231
|
-
"kind": "js",
|
|
2232
|
-
"name": "ServerRowDTOMapper",
|
|
2233
|
-
"declaration": {
|
|
2234
|
-
"name": "ServerRowDTOMapper",
|
|
2235
|
-
"module": "src/mappers/dto/serverRow.ts"
|
|
2236
|
-
}
|
|
2237
|
-
}
|
|
2238
|
-
]
|
|
2239
|
-
},
|
|
2240
|
-
{
|
|
2241
|
-
"kind": "javascript-module",
|
|
2242
|
-
"path": "src/mappers/dto/types.ts",
|
|
2243
|
-
"declarations": [],
|
|
2244
|
-
"exports": []
|
|
2245
|
-
},
|
|
2246
|
-
{
|
|
2247
|
-
"kind": "javascript-module",
|
|
2248
|
-
"path": "src/directives/when-else/index.ts",
|
|
2249
|
-
"declarations": [],
|
|
2250
|
-
"exports": [
|
|
2251
|
-
{
|
|
2252
|
-
"kind": "js",
|
|
2253
|
-
"name": "*",
|
|
2254
|
-
"declaration": {
|
|
2255
|
-
"name": "*",
|
|
2256
|
-
"package": "./when-else"
|
|
2257
|
-
}
|
|
2258
|
-
}
|
|
2259
|
-
]
|
|
2260
|
-
},
|
|
2261
|
-
{
|
|
2262
|
-
"kind": "javascript-module",
|
|
2263
|
-
"path": "src/directives/when-else/when-else.ts",
|
|
2264
|
-
"declarations": [
|
|
2265
|
-
{
|
|
2266
|
-
"kind": "function",
|
|
2267
|
-
"name": "whenElse",
|
|
2268
|
-
"return": {
|
|
2269
|
-
"type": {
|
|
2270
|
-
"text": "CaptureType<TSource>"
|
|
2271
|
-
}
|
|
2272
|
-
},
|
|
2273
|
-
"parameters": [
|
|
2166
|
+
"kind": "function",
|
|
2167
|
+
"name": "whenElse",
|
|
2168
|
+
"return": {
|
|
2169
|
+
"type": {
|
|
2170
|
+
"text": "CaptureType<TSource>"
|
|
2171
|
+
}
|
|
2172
|
+
},
|
|
2173
|
+
"parameters": [
|
|
2274
2174
|
{
|
|
2275
2175
|
"name": "binding",
|
|
2276
2176
|
"type": {
|
|
@@ -2310,7 +2210,7 @@
|
|
|
2310
2210
|
},
|
|
2311
2211
|
{
|
|
2312
2212
|
"kind": "javascript-module",
|
|
2313
|
-
"path": "src/
|
|
2213
|
+
"path": "src/mappers/dto/index.ts",
|
|
2314
2214
|
"declarations": [],
|
|
2315
2215
|
"exports": [
|
|
2316
2216
|
{
|
|
@@ -2318,83 +2218,96 @@
|
|
|
2318
2218
|
"name": "*",
|
|
2319
2219
|
"declaration": {
|
|
2320
2220
|
"name": "*",
|
|
2321
|
-
"package": "./
|
|
2221
|
+
"package": "./serverRow"
|
|
2222
|
+
}
|
|
2223
|
+
},
|
|
2224
|
+
{
|
|
2225
|
+
"kind": "js",
|
|
2226
|
+
"name": "*",
|
|
2227
|
+
"declaration": {
|
|
2228
|
+
"name": "*",
|
|
2229
|
+
"package": "./types"
|
|
2322
2230
|
}
|
|
2323
2231
|
}
|
|
2324
2232
|
]
|
|
2325
2233
|
},
|
|
2326
2234
|
{
|
|
2327
2235
|
"kind": "javascript-module",
|
|
2328
|
-
"path": "src/
|
|
2236
|
+
"path": "src/mappers/dto/serverRow.ts",
|
|
2329
2237
|
"declarations": [
|
|
2330
2238
|
{
|
|
2331
|
-
"kind": "
|
|
2332
|
-
"description": "The `
|
|
2333
|
-
"name": "
|
|
2239
|
+
"kind": "class",
|
|
2240
|
+
"description": "The default `ServerRowDTOMapper`.",
|
|
2241
|
+
"name": "DefaultServerRowDTOMapper",
|
|
2334
2242
|
"members": [
|
|
2335
2243
|
{
|
|
2336
2244
|
"kind": "field",
|
|
2337
|
-
"name": "
|
|
2338
|
-
"
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
"text": "number"
|
|
2350
|
-
},
|
|
2351
|
-
"privacy": "public",
|
|
2352
|
-
"default": "0",
|
|
2353
|
-
"description": "The number of promises that have been resolved."
|
|
2354
|
-
},
|
|
2355
|
-
{
|
|
2356
|
-
"kind": "field",
|
|
2357
|
-
"name": "hasPendingChildren",
|
|
2358
|
-
"type": {
|
|
2359
|
-
"text": "boolean"
|
|
2245
|
+
"name": "fromDTO",
|
|
2246
|
+
"description": "Converts a server row DTO to an entity.",
|
|
2247
|
+
"parameters": [
|
|
2248
|
+
{
|
|
2249
|
+
"description": "The DTO to convert.",
|
|
2250
|
+
"name": "dto"
|
|
2251
|
+
}
|
|
2252
|
+
],
|
|
2253
|
+
"return": {
|
|
2254
|
+
"type": {
|
|
2255
|
+
"text": ""
|
|
2256
|
+
}
|
|
2360
2257
|
},
|
|
2361
|
-
"privacy": "public"
|
|
2362
|
-
"default": "false",
|
|
2363
|
-
"description": "A boolean indicating whether there are any pending children."
|
|
2258
|
+
"privacy": "public"
|
|
2364
2259
|
},
|
|
2365
2260
|
{
|
|
2366
2261
|
"kind": "field",
|
|
2367
|
-
"name": "
|
|
2368
|
-
"
|
|
2369
|
-
|
|
2262
|
+
"name": "toDTO",
|
|
2263
|
+
"description": "Converts a server row entity to a DTO.",
|
|
2264
|
+
"parameters": [
|
|
2265
|
+
{
|
|
2266
|
+
"description": "The entity to convert.",
|
|
2267
|
+
"name": "entity"
|
|
2268
|
+
}
|
|
2269
|
+
],
|
|
2270
|
+
"return": {
|
|
2271
|
+
"type": {
|
|
2272
|
+
"text": ""
|
|
2273
|
+
}
|
|
2370
2274
|
},
|
|
2371
|
-
"privacy": "public"
|
|
2372
|
-
"description": "Gets the progress of the pending promises as a percentage between 0 and 1.",
|
|
2373
|
-
"readonly": true
|
|
2374
|
-
}
|
|
2375
|
-
],
|
|
2376
|
-
"parameters": [
|
|
2377
|
-
{
|
|
2378
|
-
"name": "Base",
|
|
2379
|
-
"type": {
|
|
2380
|
-
"text": "TBase"
|
|
2381
|
-
}
|
|
2275
|
+
"privacy": "public"
|
|
2382
2276
|
}
|
|
2383
|
-
]
|
|
2277
|
+
]
|
|
2278
|
+
},
|
|
2279
|
+
{
|
|
2280
|
+
"kind": "variable",
|
|
2281
|
+
"name": "ServerRowDTOMapper",
|
|
2282
|
+
"description": "A DI token used to obtain a `ServerRowDTOMapper` instance.",
|
|
2384
2283
|
"privacy": "public"
|
|
2385
2284
|
}
|
|
2386
2285
|
],
|
|
2387
2286
|
"exports": [
|
|
2388
2287
|
{
|
|
2389
2288
|
"kind": "js",
|
|
2390
|
-
"name": "
|
|
2289
|
+
"name": "DefaultServerRowDTOMapper",
|
|
2391
2290
|
"declaration": {
|
|
2392
|
-
"name": "
|
|
2393
|
-
"module": "src/
|
|
2291
|
+
"name": "DefaultServerRowDTOMapper",
|
|
2292
|
+
"module": "src/mappers/dto/serverRow.ts"
|
|
2293
|
+
}
|
|
2294
|
+
},
|
|
2295
|
+
{
|
|
2296
|
+
"kind": "js",
|
|
2297
|
+
"name": "ServerRowDTOMapper",
|
|
2298
|
+
"declaration": {
|
|
2299
|
+
"name": "ServerRowDTOMapper",
|
|
2300
|
+
"module": "src/mappers/dto/serverRow.ts"
|
|
2394
2301
|
}
|
|
2395
2302
|
}
|
|
2396
2303
|
]
|
|
2397
2304
|
},
|
|
2305
|
+
{
|
|
2306
|
+
"kind": "javascript-module",
|
|
2307
|
+
"path": "src/mappers/dto/types.ts",
|
|
2308
|
+
"declarations": [],
|
|
2309
|
+
"exports": []
|
|
2310
|
+
},
|
|
2398
2311
|
{
|
|
2399
2312
|
"kind": "javascript-module",
|
|
2400
2313
|
"path": "src/mixins/lifecycle/index.ts",
|
|
@@ -2519,6 +2432,93 @@
|
|
|
2519
2432
|
}
|
|
2520
2433
|
]
|
|
2521
2434
|
},
|
|
2435
|
+
{
|
|
2436
|
+
"kind": "javascript-module",
|
|
2437
|
+
"path": "src/mixins/pendingState/index.ts",
|
|
2438
|
+
"declarations": [],
|
|
2439
|
+
"exports": [
|
|
2440
|
+
{
|
|
2441
|
+
"kind": "js",
|
|
2442
|
+
"name": "*",
|
|
2443
|
+
"declaration": {
|
|
2444
|
+
"name": "*",
|
|
2445
|
+
"package": "./pendingState"
|
|
2446
|
+
}
|
|
2447
|
+
}
|
|
2448
|
+
]
|
|
2449
|
+
},
|
|
2450
|
+
{
|
|
2451
|
+
"kind": "javascript-module",
|
|
2452
|
+
"path": "src/mixins/pendingState/pendingState.ts",
|
|
2453
|
+
"declarations": [
|
|
2454
|
+
{
|
|
2455
|
+
"kind": "mixin",
|
|
2456
|
+
"description": "The `PendingState` mixin.",
|
|
2457
|
+
"name": "PendingState",
|
|
2458
|
+
"members": [
|
|
2459
|
+
{
|
|
2460
|
+
"kind": "field",
|
|
2461
|
+
"name": "pendingCount",
|
|
2462
|
+
"type": {
|
|
2463
|
+
"text": "number"
|
|
2464
|
+
},
|
|
2465
|
+
"privacy": "public",
|
|
2466
|
+
"default": "0",
|
|
2467
|
+
"description": "The number of promises that are currently pending."
|
|
2468
|
+
},
|
|
2469
|
+
{
|
|
2470
|
+
"kind": "field",
|
|
2471
|
+
"name": "resolvedCount",
|
|
2472
|
+
"type": {
|
|
2473
|
+
"text": "number"
|
|
2474
|
+
},
|
|
2475
|
+
"privacy": "public",
|
|
2476
|
+
"default": "0",
|
|
2477
|
+
"description": "The number of promises that have been resolved."
|
|
2478
|
+
},
|
|
2479
|
+
{
|
|
2480
|
+
"kind": "field",
|
|
2481
|
+
"name": "hasPendingChildren",
|
|
2482
|
+
"type": {
|
|
2483
|
+
"text": "boolean"
|
|
2484
|
+
},
|
|
2485
|
+
"privacy": "public",
|
|
2486
|
+
"default": "false",
|
|
2487
|
+
"description": "A boolean indicating whether there are any pending children."
|
|
2488
|
+
},
|
|
2489
|
+
{
|
|
2490
|
+
"kind": "field",
|
|
2491
|
+
"name": "progress",
|
|
2492
|
+
"type": {
|
|
2493
|
+
"text": "number"
|
|
2494
|
+
},
|
|
2495
|
+
"privacy": "public",
|
|
2496
|
+
"description": "Gets the progress of the pending promises as a percentage between 0 and 1.",
|
|
2497
|
+
"readonly": true
|
|
2498
|
+
}
|
|
2499
|
+
],
|
|
2500
|
+
"parameters": [
|
|
2501
|
+
{
|
|
2502
|
+
"name": "Base",
|
|
2503
|
+
"type": {
|
|
2504
|
+
"text": "TBase"
|
|
2505
|
+
}
|
|
2506
|
+
}
|
|
2507
|
+
],
|
|
2508
|
+
"privacy": "public"
|
|
2509
|
+
}
|
|
2510
|
+
],
|
|
2511
|
+
"exports": [
|
|
2512
|
+
{
|
|
2513
|
+
"kind": "js",
|
|
2514
|
+
"name": "PendingState",
|
|
2515
|
+
"declaration": {
|
|
2516
|
+
"name": "PendingState",
|
|
2517
|
+
"module": "src/mixins/pendingState/pendingState.ts"
|
|
2518
|
+
}
|
|
2519
|
+
}
|
|
2520
|
+
]
|
|
2521
|
+
},
|
|
2522
2522
|
{
|
|
2523
2523
|
"kind": "javascript-module",
|
|
2524
2524
|
"path": "src/serializers/json/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.145.
|
|
4
|
+
"version": "14.145.2",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -19,12 +19,12 @@
|
|
|
19
19
|
"test": "genx test"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"@genesislcap/foundation-testing": "14.145.
|
|
23
|
-
"@genesislcap/genx": "14.145.
|
|
22
|
+
"@genesislcap/foundation-testing": "14.145.2",
|
|
23
|
+
"@genesislcap/genx": "14.145.2",
|
|
24
24
|
"rimraf": "^3.0.2"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@genesislcap/foundation-logger": "14.145.
|
|
27
|
+
"@genesislcap/foundation-logger": "14.145.2",
|
|
28
28
|
"@microsoft/fast-components": "^2.30.6",
|
|
29
29
|
"@microsoft/fast-element": "^1.12.0",
|
|
30
30
|
"@microsoft/fast-foundation": "^2.49.4",
|
|
@@ -42,5 +42,5 @@
|
|
|
42
42
|
"access": "public"
|
|
43
43
|
},
|
|
44
44
|
"customElements": "dist/custom-elements.json",
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "314ab3fa0ca7683fc31b183c76087bda15f77d98"
|
|
46
46
|
}
|