@genesislcap/foundation-utils 14.203.0 → 14.203.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/custom-elements.json +315 -305
- package/dist/dts/index.d.ts +1 -0
- package/dist/dts/index.d.ts.map +1 -1
- package/dist/dts/utils/logger.d.ts +4 -0
- package/dist/dts/utils/logger.d.ts.map +1 -1
- package/dist/esm/index.js +1 -0
- package/dist/esm/utils/logger.js +4 -0
- package/dist/foundation-utils.api.json +28 -0
- package/dist/foundation-utils.d.ts +6 -0
- package/docs/api/foundation-utils.logger.md +4 -16
- package/docs/api/foundation-utils.md +1 -0
- package/docs/api-report.md +3 -0
- package/package.json +10 -10
@@ -141,6 +141,14 @@
|
|
141
141
|
"package": "./styles"
|
142
142
|
}
|
143
143
|
},
|
144
|
+
{
|
145
|
+
"kind": "js",
|
146
|
+
"name": "*",
|
147
|
+
"declaration": {
|
148
|
+
"name": "*",
|
149
|
+
"package": "./utils"
|
150
|
+
}
|
151
|
+
},
|
144
152
|
{
|
145
153
|
"kind": "js",
|
146
154
|
"name": "*",
|
@@ -159,6 +167,307 @@
|
|
159
167
|
}
|
160
168
|
]
|
161
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
|
+
},
|
162
471
|
{
|
163
472
|
"kind": "javascript-module",
|
164
473
|
"path": "src/directives/index.ts",
|
@@ -413,59 +722,9 @@
|
|
413
722
|
{
|
414
723
|
"kind": "js",
|
415
724
|
"name": "DEFAULT_USER",
|
416
|
-
"declaration": {
|
417
|
-
"name": "_DEFAULT_USER",
|
418
|
-
"module": "src/env/variables.ts"
|
419
|
-
}
|
420
|
-
}
|
421
|
-
]
|
422
|
-
},
|
423
|
-
{
|
424
|
-
"kind": "javascript-module",
|
425
|
-
"path": "src/design-system/design-system.ts",
|
426
|
-
"declarations": [
|
427
|
-
{
|
428
|
-
"kind": "function",
|
429
|
-
"name": "assureDesignSystem",
|
430
|
-
"return": {
|
431
|
-
"type": {
|
432
|
-
"text": "DesignSystemModule"
|
433
|
-
}
|
434
|
-
},
|
435
|
-
"parameters": [
|
436
|
-
{
|
437
|
-
"name": "module",
|
438
|
-
"type": {
|
439
|
-
"text": "DesignSystemModule"
|
440
|
-
}
|
441
|
-
}
|
442
|
-
],
|
443
|
-
"description": "assureDesignSystem.",
|
444
|
-
"privacy": "public"
|
445
|
-
}
|
446
|
-
],
|
447
|
-
"exports": [
|
448
|
-
{
|
449
|
-
"kind": "js",
|
450
|
-
"name": "assureDesignSystem",
|
451
|
-
"declaration": {
|
452
|
-
"name": "assureDesignSystem",
|
453
|
-
"module": "src/design-system/design-system.ts"
|
454
|
-
}
|
455
|
-
}
|
456
|
-
]
|
457
|
-
},
|
458
|
-
{
|
459
|
-
"kind": "javascript-module",
|
460
|
-
"path": "src/design-system/index.ts",
|
461
|
-
"declarations": [],
|
462
|
-
"exports": [
|
463
|
-
{
|
464
|
-
"kind": "js",
|
465
|
-
"name": "*",
|
466
|
-
"declaration": {
|
467
|
-
"name": "*",
|
468
|
-
"package": "./design-system"
|
725
|
+
"declaration": {
|
726
|
+
"name": "_DEFAULT_USER",
|
727
|
+
"module": "src/env/variables.ts"
|
469
728
|
}
|
470
729
|
}
|
471
730
|
]
|
@@ -669,257 +928,6 @@
|
|
669
928
|
}
|
670
929
|
]
|
671
930
|
},
|
672
|
-
{
|
673
|
-
"kind": "javascript-module",
|
674
|
-
"path": "src/decorators/index.ts",
|
675
|
-
"declarations": [],
|
676
|
-
"exports": [
|
677
|
-
{
|
678
|
-
"kind": "js",
|
679
|
-
"name": "*",
|
680
|
-
"declaration": {
|
681
|
-
"name": "*",
|
682
|
-
"package": "./renderOnChange"
|
683
|
-
}
|
684
|
-
}
|
685
|
-
]
|
686
|
-
},
|
687
|
-
{
|
688
|
-
"kind": "javascript-module",
|
689
|
-
"path": "src/decorators/renderOnChange.ts",
|
690
|
-
"declarations": [
|
691
|
-
{
|
692
|
-
"kind": "function",
|
693
|
-
"name": "renderOnChange",
|
694
|
-
"parameters": [
|
695
|
-
{
|
696
|
-
"name": "target",
|
697
|
-
"type": {
|
698
|
-
"text": "FASTElement & { render(): void }"
|
699
|
-
},
|
700
|
-
"description": "The target to define the property change handler on."
|
701
|
-
},
|
702
|
-
{
|
703
|
-
"name": "name",
|
704
|
-
"type": {
|
705
|
-
"text": "string"
|
706
|
-
},
|
707
|
-
"description": "The property name."
|
708
|
-
}
|
709
|
-
],
|
710
|
-
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
711
|
-
"privacy": "public"
|
712
|
-
}
|
713
|
-
],
|
714
|
-
"exports": [
|
715
|
-
{
|
716
|
-
"kind": "js",
|
717
|
-
"name": "renderOnChange",
|
718
|
-
"declaration": {
|
719
|
-
"name": "renderOnChange",
|
720
|
-
"module": "src/decorators/renderOnChange.ts"
|
721
|
-
}
|
722
|
-
}
|
723
|
-
]
|
724
|
-
},
|
725
|
-
{
|
726
|
-
"kind": "javascript-module",
|
727
|
-
"path": "src/data/inMemoryDatabase.ts",
|
728
|
-
"declarations": [
|
729
|
-
{
|
730
|
-
"kind": "class",
|
731
|
-
"description": "An in memory database of specific DatabaseRecord types.",
|
732
|
-
"name": "InMemoryDatabase",
|
733
|
-
"members": [
|
734
|
-
{
|
735
|
-
"kind": "field",
|
736
|
-
"name": "isWorking",
|
737
|
-
"type": {
|
738
|
-
"text": "boolean"
|
739
|
-
},
|
740
|
-
"privacy": "public",
|
741
|
-
"default": "false"
|
742
|
-
},
|
743
|
-
{
|
744
|
-
"kind": "field",
|
745
|
-
"name": "records",
|
746
|
-
"type": {
|
747
|
-
"text": "Record<string, T>"
|
748
|
-
},
|
749
|
-
"privacy": "private",
|
750
|
-
"default": "{}"
|
751
|
-
},
|
752
|
-
{
|
753
|
-
"kind": "field",
|
754
|
-
"name": "beforeUpdateListeners",
|
755
|
-
"privacy": "private"
|
756
|
-
},
|
757
|
-
{
|
758
|
-
"kind": "field",
|
759
|
-
"name": "afterUpdateListeners",
|
760
|
-
"privacy": "private"
|
761
|
-
},
|
762
|
-
{
|
763
|
-
"kind": "method",
|
764
|
-
"name": "create",
|
765
|
-
"privacy": "public",
|
766
|
-
"return": {
|
767
|
-
"type": {
|
768
|
-
"text": "Promise<DatabaseAccessResult.Create<T>>"
|
769
|
-
}
|
770
|
-
},
|
771
|
-
"parameters": [
|
772
|
-
{
|
773
|
-
"name": "newValue",
|
774
|
-
"type": {
|
775
|
-
"text": "Omit<T, 'id'>"
|
776
|
-
}
|
777
|
-
}
|
778
|
-
]
|
779
|
-
},
|
780
|
-
{
|
781
|
-
"kind": "method",
|
782
|
-
"name": "read",
|
783
|
-
"privacy": "public",
|
784
|
-
"return": {
|
785
|
-
"type": {
|
786
|
-
"text": "Promise<DatabaseAccessResult.Read<T>>"
|
787
|
-
}
|
788
|
-
},
|
789
|
-
"parameters": [
|
790
|
-
{
|
791
|
-
"name": "id",
|
792
|
-
"type": {
|
793
|
-
"text": "string"
|
794
|
-
}
|
795
|
-
}
|
796
|
-
]
|
797
|
-
},
|
798
|
-
{
|
799
|
-
"kind": "method",
|
800
|
-
"name": "update",
|
801
|
-
"privacy": "public",
|
802
|
-
"return": {
|
803
|
-
"type": {
|
804
|
-
"text": "Promise<DatabaseAccessResult.Update<T>>"
|
805
|
-
}
|
806
|
-
},
|
807
|
-
"parameters": [
|
808
|
-
{
|
809
|
-
"name": "id",
|
810
|
-
"type": {
|
811
|
-
"text": "string"
|
812
|
-
}
|
813
|
-
},
|
814
|
-
{
|
815
|
-
"name": "newValue",
|
816
|
-
"type": {
|
817
|
-
"text": "Omit<Partial<T>, 'id'>"
|
818
|
-
}
|
819
|
-
}
|
820
|
-
]
|
821
|
-
},
|
822
|
-
{
|
823
|
-
"kind": "method",
|
824
|
-
"name": "delete",
|
825
|
-
"privacy": "public",
|
826
|
-
"return": {
|
827
|
-
"type": {
|
828
|
-
"text": "Promise<DatabaseAccessResult.Delete>"
|
829
|
-
}
|
830
|
-
},
|
831
|
-
"parameters": [
|
832
|
-
{
|
833
|
-
"name": "id",
|
834
|
-
"type": {
|
835
|
-
"text": "string"
|
836
|
-
}
|
837
|
-
}
|
838
|
-
]
|
839
|
-
},
|
840
|
-
{
|
841
|
-
"kind": "method",
|
842
|
-
"name": "visit",
|
843
|
-
"privacy": "public",
|
844
|
-
"return": {
|
845
|
-
"type": {
|
846
|
-
"text": "Promise<void>"
|
847
|
-
}
|
848
|
-
},
|
849
|
-
"parameters": [
|
850
|
-
{
|
851
|
-
"name": "visitor",
|
852
|
-
"type": {
|
853
|
-
"text": "(record: T) => void"
|
854
|
-
}
|
855
|
-
}
|
856
|
-
]
|
857
|
-
},
|
858
|
-
{
|
859
|
-
"kind": "method",
|
860
|
-
"name": "onBeforeUpdate",
|
861
|
-
"privacy": "public",
|
862
|
-
"return": {
|
863
|
-
"type": {
|
864
|
-
"text": "() => void"
|
865
|
-
}
|
866
|
-
},
|
867
|
-
"parameters": [
|
868
|
-
{
|
869
|
-
"name": "listener",
|
870
|
-
"type": {
|
871
|
-
"text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
|
872
|
-
}
|
873
|
-
}
|
874
|
-
]
|
875
|
-
},
|
876
|
-
{
|
877
|
-
"kind": "method",
|
878
|
-
"name": "onAfterUpdate",
|
879
|
-
"privacy": "public",
|
880
|
-
"return": {
|
881
|
-
"type": {
|
882
|
-
"text": "() => void"
|
883
|
-
}
|
884
|
-
},
|
885
|
-
"parameters": [
|
886
|
-
{
|
887
|
-
"name": "listener",
|
888
|
-
"type": {
|
889
|
-
"text": "Listener<DatabaseEvent.AfterUpdate<T>>"
|
890
|
-
}
|
891
|
-
}
|
892
|
-
]
|
893
|
-
}
|
894
|
-
]
|
895
|
-
}
|
896
|
-
],
|
897
|
-
"exports": [
|
898
|
-
{
|
899
|
-
"kind": "js",
|
900
|
-
"name": "InMemoryDatabase",
|
901
|
-
"declaration": {
|
902
|
-
"name": "InMemoryDatabase",
|
903
|
-
"module": "src/data/inMemoryDatabase.ts"
|
904
|
-
}
|
905
|
-
}
|
906
|
-
]
|
907
|
-
},
|
908
|
-
{
|
909
|
-
"kind": "javascript-module",
|
910
|
-
"path": "src/data/index.ts",
|
911
|
-
"declarations": [],
|
912
|
-
"exports": [
|
913
|
-
{
|
914
|
-
"kind": "js",
|
915
|
-
"name": "*",
|
916
|
-
"declaration": {
|
917
|
-
"name": "*",
|
918
|
-
"package": "./inMemoryDatabase"
|
919
|
-
}
|
920
|
-
}
|
921
|
-
]
|
922
|
-
},
|
923
931
|
{
|
924
932
|
"kind": "javascript-module",
|
925
933
|
"path": "src/formatters/datetime.ts",
|
@@ -2007,7 +2015,9 @@
|
|
2007
2015
|
"declarations": [
|
2008
2016
|
{
|
2009
2017
|
"kind": "variable",
|
2010
|
-
"name": "logger"
|
2018
|
+
"name": "logger",
|
2019
|
+
"description": "Logger for the foundation-utils package",
|
2020
|
+
"privacy": "public"
|
2011
2021
|
}
|
2012
2022
|
],
|
2013
2023
|
"exports": [
|
package/dist/dts/index.d.ts
CHANGED
package/dist/dts/index.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,OAAO,CAAC;AACtB,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC"}
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,OAAO,CAAC;AACtB,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../../../src/utils/logger.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM,iDAAmC,CAAC"}
|
1
|
+
{"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../../../src/utils/logger.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,eAAO,MAAM,MAAM,iDAAmC,CAAC"}
|
package/dist/esm/index.js
CHANGED
package/dist/esm/utils/logger.js
CHANGED
@@ -8134,6 +8134,34 @@
|
|
8134
8134
|
}
|
8135
8135
|
]
|
8136
8136
|
},
|
8137
|
+
{
|
8138
|
+
"kind": "Variable",
|
8139
|
+
"canonicalReference": "@genesislcap/foundation-utils!logger:var",
|
8140
|
+
"docComment": "/**\n * Logger for the foundation-utils package\n *\n * @public\n */\n",
|
8141
|
+
"excerptTokens": [
|
8142
|
+
{
|
8143
|
+
"kind": "Content",
|
8144
|
+
"text": "logger: "
|
8145
|
+
},
|
8146
|
+
{
|
8147
|
+
"kind": "Content",
|
8148
|
+
"text": "import(\"@genesislcap/foundation-logger\")."
|
8149
|
+
},
|
8150
|
+
{
|
8151
|
+
"kind": "Reference",
|
8152
|
+
"text": "Logger",
|
8153
|
+
"canonicalReference": "@genesislcap/foundation-logger!Logger:interface"
|
8154
|
+
}
|
8155
|
+
],
|
8156
|
+
"fileUrlPath": "src/utils/logger.ts",
|
8157
|
+
"isReadonly": true,
|
8158
|
+
"releaseTag": "Public",
|
8159
|
+
"name": "logger",
|
8160
|
+
"variableTypeTokenRange": {
|
8161
|
+
"startIndex": 1,
|
8162
|
+
"endIndex": 3
|
8163
|
+
}
|
8164
|
+
},
|
8137
8165
|
{
|
8138
8166
|
"kind": "Interface",
|
8139
8167
|
"canonicalReference": "@genesislcap/foundation-utils!LoggerOptions:interface",
|
@@ -1060,6 +1060,12 @@ export declare interface Logger extends Logger_2 {
|
|
1060
1060
|
deprecated(symbol: string, instruction?: string, removalVersionTarget?: string): void;
|
1061
1061
|
}
|
1062
1062
|
|
1063
|
+
/**
|
1064
|
+
* Logger for the foundation-utils package
|
1065
|
+
* @public
|
1066
|
+
*/
|
1067
|
+
export declare const logger: Logger_2;
|
1068
|
+
|
1063
1069
|
/**
|
1064
1070
|
* Options for creating a logger.
|
1065
1071
|
* @public
|
@@ -1,25 +1,13 @@
|
|
1
1
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
2
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [logger](./foundation-utils.logger.md)
|
4
4
|
|
5
|
-
##
|
5
|
+
## logger variable
|
6
6
|
|
7
|
-
|
7
|
+
Logger for the foundation-utils package
|
8
8
|
|
9
9
|
**Signature:**
|
10
10
|
|
11
11
|
```typescript
|
12
|
-
|
12
|
+
logger: import("@genesislcap/foundation-logger").Logger
|
13
13
|
```
|
14
|
-
**Extends:** NextLogger
|
15
|
-
|
16
|
-
## Remarks
|
17
|
-
|
18
|
-
This logger is part of the package's API but may still be subject to changes and improvements.
|
19
|
-
|
20
|
-
## Methods
|
21
|
-
|
22
|
-
| Method | Description |
|
23
|
-
| --- | --- |
|
24
|
-
| [deprecated(symbol, instruction, removalVersionTarget)](./foundation-utils.logger.deprecated.md) | A logger method for deprecated symbols. |
|
25
|
-
|
@@ -96,6 +96,7 @@
|
|
96
96
|
| [layoutCacheDocument](./foundation-utils.layoutcachedocument.md) | Stored on the layout's internal cache to signify that the document is not part of the DOM |
|
97
97
|
| [LifecycleMixin](./foundation-utils.lifecyclemixin.md) | **_(BETA)_** Mixin class to expose <code>shouldRunConnect</code> and <code>shouldRunDisconnect</code> |
|
98
98
|
| [loadFontFaces](./foundation-utils.loadfontfaces.md) | Loads font faces by inserting a style element with the specified font face rules into the document. |
|
99
|
+
| [logger](./foundation-utils.logger.md) | Logger for the foundation-utils package |
|
99
100
|
| [openPopup](./foundation-utils.openpopup.md) | Opens a new browser window with the specified URL, target, width, and height. |
|
100
101
|
| [PendingState](./foundation-utils.pendingstate.md) | The <code>PendingState</code> mixin. |
|
101
102
|
| [POPUP\_DEFAULT\_HEIGHT](./foundation-utils.popup_default_height.md) | The default height (in pixels) for pop-up windows. |
|
package/docs/api-report.md
CHANGED
@@ -688,6 +688,9 @@ export interface Logger extends Logger_2 {
|
|
688
688
|
deprecated(symbol: string, instruction?: string, removalVersionTarget?: string): void;
|
689
689
|
}
|
690
690
|
|
691
|
+
// @public
|
692
|
+
export const logger: Logger_2;
|
693
|
+
|
691
694
|
// @public
|
692
695
|
export interface LoggerOptions extends LoggerOptions_2 {
|
693
696
|
}
|
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.203.
|
4
|
+
"version": "14.203.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.203.
|
31
|
-
"@genesislcap/genx": "14.203.
|
32
|
-
"@genesislcap/rollup-builder": "14.203.
|
33
|
-
"@genesislcap/ts-builder": "14.203.
|
34
|
-
"@genesislcap/uvu-playwright-builder": "14.203.
|
35
|
-
"@genesislcap/vite-builder": "14.203.
|
36
|
-
"@genesislcap/webpack-builder": "14.203.
|
30
|
+
"@genesislcap/foundation-testing": "14.203.1",
|
31
|
+
"@genesislcap/genx": "14.203.1",
|
32
|
+
"@genesislcap/rollup-builder": "14.203.1",
|
33
|
+
"@genesislcap/ts-builder": "14.203.1",
|
34
|
+
"@genesislcap/uvu-playwright-builder": "14.203.1",
|
35
|
+
"@genesislcap/vite-builder": "14.203.1",
|
36
|
+
"@genesislcap/webpack-builder": "14.203.1",
|
37
37
|
"rimraf": "^5.0.0"
|
38
38
|
},
|
39
39
|
"dependencies": {
|
40
|
-
"@genesislcap/foundation-logger": "14.203.
|
40
|
+
"@genesislcap/foundation-logger": "14.203.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": "
|
58
|
+
"gitHead": "2d342adc330f867e7bd44979d1e3d8b4d94b14da"
|
59
59
|
}
|