@genesislcap/foundation-utils 14.103.0-auth-mf.23 → 14.103.0

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.
@@ -341,59 +341,6 @@
341
341
  }
342
342
  ]
343
343
  },
344
- {
345
- "kind": "javascript-module",
346
- "path": "src/decorators/index.ts",
347
- "declarations": [],
348
- "exports": [
349
- {
350
- "kind": "js",
351
- "name": "*",
352
- "declaration": {
353
- "name": "*",
354
- "package": "./renderOnChange"
355
- }
356
- }
357
- ]
358
- },
359
- {
360
- "kind": "javascript-module",
361
- "path": "src/decorators/renderOnChange.ts",
362
- "declarations": [
363
- {
364
- "kind": "function",
365
- "name": "renderOnChange",
366
- "parameters": [
367
- {
368
- "name": "target",
369
- "type": {
370
- "text": "FASTElement & { render(): void }"
371
- },
372
- "description": "The target to define the property change handler on."
373
- },
374
- {
375
- "name": "name",
376
- "type": {
377
- "text": "string"
378
- },
379
- "description": "The property name."
380
- }
381
- ],
382
- "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
383
- "privacy": "public"
384
- }
385
- ],
386
- "exports": [
387
- {
388
- "kind": "js",
389
- "name": "renderOnChange",
390
- "declaration": {
391
- "name": "renderOnChange",
392
- "module": "src/decorators/renderOnChange.ts"
393
- }
394
- }
395
- ]
396
- },
397
344
  {
398
345
  "kind": "javascript-module",
399
346
  "path": "src/design-system/design-system.ts",
@@ -445,7 +392,7 @@
445
392
  },
446
393
  {
447
394
  "kind": "javascript-module",
448
- "path": "src/directives/index.ts",
395
+ "path": "src/decorators/index.ts",
449
396
  "declarations": [],
450
397
  "exports": [
451
398
  {
@@ -453,15 +400,45 @@
453
400
  "name": "*",
454
401
  "declaration": {
455
402
  "name": "*",
456
- "package": "./sync"
403
+ "package": "./renderOnChange"
457
404
  }
458
- },
405
+ }
406
+ ]
407
+ },
408
+ {
409
+ "kind": "javascript-module",
410
+ "path": "src/decorators/renderOnChange.ts",
411
+ "declarations": [
412
+ {
413
+ "kind": "function",
414
+ "name": "renderOnChange",
415
+ "parameters": [
416
+ {
417
+ "name": "target",
418
+ "type": {
419
+ "text": "FASTElement & { render(): void }"
420
+ },
421
+ "description": "The target to define the property change handler on."
422
+ },
423
+ {
424
+ "name": "name",
425
+ "type": {
426
+ "text": "string"
427
+ },
428
+ "description": "The property name."
429
+ }
430
+ ],
431
+ "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
432
+ "privacy": "public"
433
+ }
434
+ ],
435
+ "exports": [
459
436
  {
460
437
  "kind": "js",
461
- "name": "*",
438
+ "name": "renderOnChange",
462
439
  "declaration": {
463
- "name": "*",
464
- "package": "./when-else"
440
+ "name": "renderOnChange",
441
+ "module": "src/decorators/renderOnChange.ts"
465
442
  }
466
443
  }
467
444
  ]
@@ -817,11 +794,6 @@
817
794
  "privacy": "public",
818
795
  "readonly": true
819
796
  },
820
- {
821
- "kind": "method",
822
- "name": "values",
823
- "privacy": "public"
824
- },
825
797
  {
826
798
  "kind": "field",
827
799
  "name": "messages",
@@ -1100,6 +1072,29 @@
1100
1072
  }
1101
1073
  ]
1102
1074
  },
1075
+ {
1076
+ "kind": "javascript-module",
1077
+ "path": "src/directives/index.ts",
1078
+ "declarations": [],
1079
+ "exports": [
1080
+ {
1081
+ "kind": "js",
1082
+ "name": "*",
1083
+ "declaration": {
1084
+ "name": "*",
1085
+ "package": "./sync"
1086
+ }
1087
+ },
1088
+ {
1089
+ "kind": "js",
1090
+ "name": "*",
1091
+ "declaration": {
1092
+ "name": "*",
1093
+ "package": "./when-else"
1094
+ }
1095
+ }
1096
+ ]
1097
+ },
1103
1098
  {
1104
1099
  "kind": "javascript-module",
1105
1100
  "path": "src/logger/index.ts",
@@ -9,7 +9,7 @@ export type ErrorMapLogger = (...args: any[]) => void;
9
9
  /**
10
10
  * @public
11
11
  */
12
- export interface ErrorMap<TErrorDetailMap extends ErrorDetailMap> extends Pick<Map<keyof TErrorDetailMap, Error>, 'get' | 'has' | 'delete' | 'clear' | 'size' | 'values'> {
12
+ export interface ErrorMap<TErrorDetailMap extends ErrorDetailMap> extends Pick<Map<keyof TErrorDetailMap, Error>, 'get' | 'has' | 'delete' | 'clear' | 'size'> {
13
13
  /**
14
14
  * Error map as messages.
15
15
  * @returns string
@@ -83,10 +83,6 @@ export declare class DefaultErrorMap<TErrorDetailMap extends ErrorDetailMap> imp
83
83
  * @public
84
84
  */
85
85
  get size(): number;
86
- /**
87
- * @public
88
- */
89
- values(): IterableIterator<Error>;
90
86
  /** {@inheritDoc ErrorMap.messages} */
91
87
  get messages(): string;
92
88
  }
@@ -1 +1 @@
1
- {"version":3,"file":"errorMap.d.ts","sourceRoot":"","sources":["../../../src/error/errorMap.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAErD;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,IAAI,CAAC;AAEtD;;GAEG;AACH,MAAM,WAAW,QAAQ,CAAC,eAAe,SAAS,cAAc,CAC9D,SAAQ,IAAI,CACV,GAAG,CAAC,MAAM,eAAe,EAAE,KAAK,CAAC,EACjC,KAAK,GAAG,KAAK,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,GAAG,QAAQ,CACvD;IACD;;;;;OAKG;IACH,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAE1B;;;;;;OAMG;IACH,GAAG,CAAC,GAAG,EAAE,MAAM,eAAe,EAAE,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;IAEpD;;;;;OAKG;IACH,QAAQ,CAAC,SAAS,EAAE,KAAK,CAAC;CAC3B;AAED;;GAEG;AACH,qBAAa,eAAe,CAAC,eAAe,SAAS,cAAc,CACjE,YAAW,QAAQ,CAAC,eAAe,CAAC;IAUxB,OAAO,CAAC,MAAM;IARd,OAAO,CAAC,GAAG,CAA2C;IAElE,uCA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G,IAAI,CAAC;IAEpD;;;;;OAKG;IACH,QAAQ,CAAC,SAAS,EAAE,KAAK,CAAC;CAC3B;AAED;;GAEG;AACH,qBAAa,eAAe,CAAC,eAAe,SAAS,cAAc,CACjE,YAAW,QAAQ,CAAC,eAAe,CAAC;IAUxB,OAAO,CAAC,MAAM;IARd,OAAO,CAAC,GAAG,CAA2C;IAElE,uCAAuC;IAC3B,SAAS,EAAE,KAAK,CAAC;IAE7B;;OAEG;gBACiB,MAAM,EAAE,cAAc;IAE1C,iCAAiC;IACjC,GAAG,CAAC,GAAG,EAAE,MAAM,eAAe,EAAE,KAAK,EAAE,KAAK,GAAG,IAAI;IAMnD;;;;;;OAMG;IACH,GAAG,CAAC,GAAG,EAAE,MAAM,eAAe,GAAG,KAAK,GAAG,SAAS;IAIlD;;;;;;OAMG;IACH,GAAG,CAAC,GAAG,EAAE,MAAM,eAAe,GAAG,OAAO;IAIxC;;;;;;OAMG;IACH,MAAM,CAAC,GAAG,EAAE,MAAM,eAAe,GAAG,OAAO;IAa3C;;;OAGG;IACH,KAAK;IAKL;;;;;OAKG;IACH,IAAI,IAAI,IAAI,MAAM,CAEjB;IAED,sCAAsC;IACtC,IAAI,QAAQ,IAAI,MAAM,CAUrB;CACF;AAED;;;;;;GAMG;AACH,eAAO,MAAM,cAAc,mDACjB,cAAc,8BACoD,CAAC"}
@@ -5,7 +5,6 @@
5
5
  export type Listener<EventType> = (ev: EventType) => void;
6
6
  /**
7
7
  * Subscribes a listener function to receive events of a specific type.
8
- * @returns An unsubscribe function.
9
8
  * @public
10
9
  */
11
10
  export type Subscribe<EventType> = (listener: Listener<EventType>) => () => void;
@@ -1 +1 @@
1
- {"version":3,"file":"observer.d.ts","sourceRoot":"","sources":["../../../src/observer/observer.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,MAAM,QAAQ,CAAC,SAAS,IAAI,CAAC,EAAE,EAAE,SAAS,KAAK,IAAI,CAAC;AAC1D;;;;GAIG;AACH,MAAM,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72
  get size() {
73
73
  return this.map.size;
74
74
  }
75
- /**
76
- * @public
77
- */
78
- values() {
79
- return this.map.values();
80
- }
81
75
  /** {@inheritDoc ErrorMap.messages} */
82
76
  get messages() {
83
77
  const count = this.size;
@@ -2109,51 +2109,6 @@
2109
2109
  "isStatic": false,
2110
2110
  "isProtected": false,
2111
2111
  "isAbstract": false
2112
- },
2113
- {
2114
- "kind": "Method",
2115
- "canonicalReference": "@genesislcap/foundation-utils!DefaultErrorMap#values:member(1)",
2116
- "docComment": "/**\n * @public\n */\n",
2117
- "excerptTokens": [
2118
- {
2119
- "kind": "Content",
2120
- "text": "values(): "
2121
- },
2122
- {
2123
- "kind": "Reference",
2124
- "text": "IterableIterator",
2125
- "canonicalReference": "!IterableIterator:interface"
2126
- },
2127
- {
2128
- "kind": "Content",
2129
- "text": "<"
2130
- },
2131
- {
2132
- "kind": "Reference",
2133
- "text": "Error",
2134
- "canonicalReference": "!Error:interface"
2135
- },
2136
- {
2137
- "kind": "Content",
2138
- "text": ">"
2139
- },
2140
- {
2141
- "kind": "Content",
2142
- "text": ";"
2143
- }
2144
- ],
2145
- "isStatic": false,
2146
- "returnTypeTokenRange": {
2147
- "startIndex": 1,
2148
- "endIndex": 5
2149
- },
2150
- "releaseTag": "Public",
2151
- "isProtected": false,
2152
- "overloadIndex": 1,
2153
- "parameters": [],
2154
- "isOptional": false,
2155
- "isAbstract": false,
2156
- "name": "values"
2157
2112
  }
2158
2113
  ],
2159
2114
  "implementsTokenRanges": [
@@ -2775,7 +2730,7 @@
2775
2730
  },
2776
2731
  {
2777
2732
  "kind": "Content",
2778
- "text": ">, 'get' | 'has' | 'delete' | 'clear' | 'size' | 'values'>"
2733
+ "text": ">, 'get' | 'has' | 'delete' | 'clear' | 'size'>"
2779
2734
  },
2780
2735
  {
2781
2736
  "kind": "Content",
@@ -11908,7 +11863,7 @@
11908
11863
  {
11909
11864
  "kind": "TypeAlias",
11910
11865
  "canonicalReference": "@genesislcap/foundation-utils!Subscribe:type",
11911
- "docComment": "/**\n * Subscribes a listener function to receive events of a specific type.\n *\n * @returns An unsubscribe function.\n *\n * @public\n */\n",
11866
+ "docComment": "/**\n * Subscribes a listener function to receive events of a specific type.\n *\n * @public\n */\n",
11912
11867
  "excerptTokens": [
11913
11868
  {
11914
11869
  "kind": "Content",
@@ -220,10 +220,6 @@ export declare class DefaultErrorMap<TErrorDetailMap extends ErrorDetailMap> imp
220
220
  * @public
221
221
  */
222
222
  get size(): number;
223
- /**
224
- * @public
225
- */
226
- values(): IterableIterator<Error>;
227
223
  /** {@inheritDoc ErrorMap.messages} */
228
224
  get messages(): string;
229
225
  }
@@ -305,7 +301,7 @@ export declare type ErrorDetailMap = Record<string, unknown>;
305
301
  /**
306
302
  * @public
307
303
  */
308
- export declare interface ErrorMap<TErrorDetailMap extends ErrorDetailMap> extends Pick<Map<keyof TErrorDetailMap, Error>, 'get' | 'has' | 'delete' | 'clear' | 'size' | 'values'> {
304
+ export declare interface ErrorMap<TErrorDetailMap extends ErrorDetailMap> extends Pick<Map<keyof TErrorDetailMap, Error>, 'get' | 'has' | 'delete' | 'clear' | 'size'> {
309
305
  /**
310
306
  * Error map as messages.
311
307
  * @returns string
@@ -1596,7 +1592,6 @@ export declare let SOCKET_EXT: string;
1596
1592
 
1597
1593
  /**
1598
1594
  * Subscribes a listener function to receive events of a specific type.
1599
- * @returns An unsubscribe function.
1600
1595
  * @public
1601
1596
  */
1602
1597
  export declare type Subscribe<EventType> = (listener: Listener<EventType>) => () => void;
@@ -35,5 +35,4 @@ export declare class DefaultErrorMap<TErrorDetailMap extends ErrorDetailMap> imp
35
35
  | [get(key)](./foundation-utils.defaulterrormap.get.md) | | Get an error by key. |
36
36
  | [has(key)](./foundation-utils.defaulterrormap.has.md) | | Has an error for key. |
37
37
  | [set(key, error)](./foundation-utils.defaulterrormap.set.md) | | Set an error by key. |
38
- | [values()](./foundation-utils.defaulterrormap.values.md) | | |
39
38
 
@@ -8,9 +8,9 @@
8
8
  **Signature:**
9
9
 
10
10
  ```typescript
11
- export interface ErrorMap<TErrorDetailMap extends ErrorDetailMap> extends Pick<Map<keyof TErrorDetailMap, Error>, 'get' | 'has' | 'delete' | 'clear' | 'size' | 'values'>
11
+ export interface ErrorMap<TErrorDetailMap extends ErrorDetailMap> extends Pick<Map<keyof TErrorDetailMap, Error>, 'get' | 'has' | 'delete' | 'clear' | 'size'>
12
12
  ```
13
- **Extends:** Pick&lt;Map&lt;keyof TErrorDetailMap, Error&gt;, 'get' \| 'has' \| 'delete' \| 'clear' \| 'size' \| 'values'&gt;
13
+ **Extends:** Pick&lt;Map&lt;keyof TErrorDetailMap, Error&gt;, 'get' \| 'has' \| 'delete' \| 'clear' \| 'size'&gt;
14
14
 
15
15
  ## Properties
16
16
 
@@ -144,8 +144,6 @@ export class DefaultErrorMap<TErrorDetailMap extends ErrorDetailMap> implements
144
144
  get messages(): string;
145
145
  set(key: keyof TErrorDetailMap, error: Error): void;
146
146
  get size(): number;
147
- // (undocumented)
148
- values(): IterableIterator<Error>;
149
147
  }
150
148
 
151
149
  // @public
@@ -195,7 +193,7 @@ export interface DTOMapper<TDTO, TEntity> {
195
193
  export type ErrorDetailMap = Record<string, unknown>;
196
194
 
197
195
  // @public (undocumented)
198
- export interface ErrorMap<TErrorDetailMap extends ErrorDetailMap> extends Pick<Map<keyof TErrorDetailMap, Error>, 'get' | 'has' | 'delete' | 'clear' | 'size' | 'values'> {
196
+ export interface ErrorMap<TErrorDetailMap extends ErrorDetailMap> extends Pick<Map<keyof TErrorDetailMap, Error>, 'get' | 'has' | 'delete' | 'clear' | 'size'> {
199
197
  readonly lastError: Error;
200
198
  readonly messages: string;
201
199
  set(key: keyof TErrorDetailMap, error: Error): void;
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.103.0-auth-mf.23",
4
+ "version": "14.103.0",
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.103.0-auth-mf.23",
23
- "@genesislcap/genx": "14.103.0-auth-mf.23",
22
+ "@genesislcap/foundation-testing": "14.103.0",
23
+ "@genesislcap/genx": "14.103.0",
24
24
  "rimraf": "^3.0.2"
25
25
  },
26
26
  "dependencies": {
27
- "@genesislcap/foundation-logger": "14.103.0-auth-mf.23",
27
+ "@genesislcap/foundation-logger": "14.103.0",
28
28
  "@microsoft/fast-components": "^2.21.3",
29
29
  "@microsoft/fast-element": "^1.7.0",
30
30
  "@microsoft/fast-foundation": "^2.33.2",
@@ -42,5 +42,5 @@
42
42
  "access": "public"
43
43
  },
44
44
  "customElements": "dist/custom-elements.json",
45
- "gitHead": "66e311fb26ce45f26e0083e7075e73948e1765e9"
45
+ "gitHead": "a2f0a1825fe66db9433563c30c256414762f4155"
46
46
  }
@@ -1,16 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-utils](./foundation-utils.md) &gt; [DefaultErrorMap](./foundation-utils.defaulterrormap.md) &gt; [values](./foundation-utils.defaulterrormap.values.md)
4
-
5
- ## DefaultErrorMap.values() method
6
-
7
-
8
- **Signature:**
9
-
10
- ```typescript
11
- values(): IterableIterator<Error>;
12
- ```
13
- **Returns:**
14
-
15
- IterableIterator&lt;Error&gt;
16
-