@genesislcap/foundation-utils 14.202.1-alpha-271f747.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 +132 -122
- 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
@@ -146,7 +146,7 @@
|
|
146
146
|
"name": "*",
|
147
147
|
"declaration": {
|
148
148
|
"name": "*",
|
149
|
-
"package": "./
|
149
|
+
"package": "./utils"
|
150
150
|
}
|
151
151
|
},
|
152
152
|
{
|
@@ -154,22 +154,7 @@
|
|
154
154
|
"name": "*",
|
155
155
|
"declaration": {
|
156
156
|
"name": "*",
|
157
|
-
"package": "./
|
158
|
-
}
|
159
|
-
}
|
160
|
-
]
|
161
|
-
},
|
162
|
-
{
|
163
|
-
"kind": "javascript-module",
|
164
|
-
"path": "src/directives/index.ts",
|
165
|
-
"declarations": [],
|
166
|
-
"exports": [
|
167
|
-
{
|
168
|
-
"kind": "js",
|
169
|
-
"name": "*",
|
170
|
-
"declaration": {
|
171
|
-
"name": "*",
|
172
|
-
"package": "./sync"
|
157
|
+
"package": "./uuid"
|
173
158
|
}
|
174
159
|
},
|
175
160
|
{
|
@@ -177,7 +162,7 @@
|
|
177
162
|
"name": "*",
|
178
163
|
"declaration": {
|
179
164
|
"name": "*",
|
180
|
-
"package": "./
|
165
|
+
"package": "./window"
|
181
166
|
}
|
182
167
|
}
|
183
168
|
]
|
@@ -380,6 +365,132 @@
|
|
380
365
|
}
|
381
366
|
]
|
382
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
|
+
{
|
472
|
+
"kind": "javascript-module",
|
473
|
+
"path": "src/directives/index.ts",
|
474
|
+
"declarations": [],
|
475
|
+
"exports": [
|
476
|
+
{
|
477
|
+
"kind": "js",
|
478
|
+
"name": "*",
|
479
|
+
"declaration": {
|
480
|
+
"name": "*",
|
481
|
+
"package": "./sync"
|
482
|
+
}
|
483
|
+
},
|
484
|
+
{
|
485
|
+
"kind": "js",
|
486
|
+
"name": "*",
|
487
|
+
"declaration": {
|
488
|
+
"name": "*",
|
489
|
+
"package": "./when-else"
|
490
|
+
}
|
491
|
+
}
|
492
|
+
]
|
493
|
+
},
|
383
494
|
{
|
384
495
|
"kind": "javascript-module",
|
385
496
|
"path": "src/env/index.ts",
|
@@ -618,59 +729,6 @@
|
|
618
729
|
}
|
619
730
|
]
|
620
731
|
},
|
621
|
-
{
|
622
|
-
"kind": "javascript-module",
|
623
|
-
"path": "src/decorators/index.ts",
|
624
|
-
"declarations": [],
|
625
|
-
"exports": [
|
626
|
-
{
|
627
|
-
"kind": "js",
|
628
|
-
"name": "*",
|
629
|
-
"declaration": {
|
630
|
-
"name": "*",
|
631
|
-
"package": "./renderOnChange"
|
632
|
-
}
|
633
|
-
}
|
634
|
-
]
|
635
|
-
},
|
636
|
-
{
|
637
|
-
"kind": "javascript-module",
|
638
|
-
"path": "src/decorators/renderOnChange.ts",
|
639
|
-
"declarations": [
|
640
|
-
{
|
641
|
-
"kind": "function",
|
642
|
-
"name": "renderOnChange",
|
643
|
-
"parameters": [
|
644
|
-
{
|
645
|
-
"name": "target",
|
646
|
-
"type": {
|
647
|
-
"text": "FASTElement & { render(): void }"
|
648
|
-
},
|
649
|
-
"description": "The target to define the property change handler on."
|
650
|
-
},
|
651
|
-
{
|
652
|
-
"name": "name",
|
653
|
-
"type": {
|
654
|
-
"text": "string"
|
655
|
-
},
|
656
|
-
"description": "The property name."
|
657
|
-
}
|
658
|
-
],
|
659
|
-
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
660
|
-
"privacy": "public"
|
661
|
-
}
|
662
|
-
],
|
663
|
-
"exports": [
|
664
|
-
{
|
665
|
-
"kind": "js",
|
666
|
-
"name": "renderOnChange",
|
667
|
-
"declaration": {
|
668
|
-
"name": "renderOnChange",
|
669
|
-
"module": "src/decorators/renderOnChange.ts"
|
670
|
-
}
|
671
|
-
}
|
672
|
-
]
|
673
|
-
},
|
674
732
|
{
|
675
733
|
"kind": "javascript-module",
|
676
734
|
"path": "src/error/errorMap.ts",
|
@@ -870,56 +928,6 @@
|
|
870
928
|
}
|
871
929
|
]
|
872
930
|
},
|
873
|
-
{
|
874
|
-
"kind": "javascript-module",
|
875
|
-
"path": "src/design-system/design-system.ts",
|
876
|
-
"declarations": [
|
877
|
-
{
|
878
|
-
"kind": "function",
|
879
|
-
"name": "assureDesignSystem",
|
880
|
-
"return": {
|
881
|
-
"type": {
|
882
|
-
"text": "DesignSystemModule"
|
883
|
-
}
|
884
|
-
},
|
885
|
-
"parameters": [
|
886
|
-
{
|
887
|
-
"name": "module",
|
888
|
-
"type": {
|
889
|
-
"text": "DesignSystemModule"
|
890
|
-
}
|
891
|
-
}
|
892
|
-
],
|
893
|
-
"description": "assureDesignSystem.",
|
894
|
-
"privacy": "public"
|
895
|
-
}
|
896
|
-
],
|
897
|
-
"exports": [
|
898
|
-
{
|
899
|
-
"kind": "js",
|
900
|
-
"name": "assureDesignSystem",
|
901
|
-
"declaration": {
|
902
|
-
"name": "assureDesignSystem",
|
903
|
-
"module": "src/design-system/design-system.ts"
|
904
|
-
}
|
905
|
-
}
|
906
|
-
]
|
907
|
-
},
|
908
|
-
{
|
909
|
-
"kind": "javascript-module",
|
910
|
-
"path": "src/design-system/index.ts",
|
911
|
-
"declarations": [],
|
912
|
-
"exports": [
|
913
|
-
{
|
914
|
-
"kind": "js",
|
915
|
-
"name": "*",
|
916
|
-
"declaration": {
|
917
|
-
"name": "*",
|
918
|
-
"package": "./design-system"
|
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.
|
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.
|
31
|
-
"@genesislcap/genx": "14.
|
32
|
-
"@genesislcap/rollup-builder": "14.
|
33
|
-
"@genesislcap/ts-builder": "14.
|
34
|
-
"@genesislcap/uvu-playwright-builder": "14.
|
35
|
-
"@genesislcap/vite-builder": "14.
|
36
|
-
"@genesislcap/webpack-builder": "14.
|
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.
|
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
|
}
|