@genesislcap/foundation-utils 14.302.1-alpha-945e484.0 → 14.302.1-alpha-ecc0cfb.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.
Files changed (133) hide show
  1. package/dist/custom-elements.json +38 -38
  2. package/dist/dts/encoding/base64/decode.d.ts.map +1 -1
  3. package/dist/dts/encoding/base64/encode.d.ts.map +1 -1
  4. package/dist/dts/error/errorMap.d.ts +1 -1
  5. package/dist/dts/error/errorMap.d.ts.map +1 -1
  6. package/dist/dts/formatters/datetime.d.ts.map +1 -1
  7. package/dist/dts/formatters/number.d.ts.map +1 -1
  8. package/dist/dts/mappers/dto/serverRow.d.ts.map +1 -1
  9. package/dist/dts/mixins/lifecycle/lifecycle.d.ts +223 -264
  10. package/dist/dts/mixins/lifecycle/lifecycle.d.ts.map +1 -1
  11. package/dist/dts/mixins/pendingState/pendingState.d.ts +216 -257
  12. package/dist/dts/mixins/pendingState/pendingState.d.ts.map +1 -1
  13. package/dist/dts/observer/observer.d.ts.map +1 -1
  14. package/dist/dts/promise/resolveAfter.d.ts.map +1 -1
  15. package/dist/dts/serializers/json/json.d.ts.map +1 -1
  16. package/dist/dts/serializers/json/types.d.ts.map +1 -1
  17. package/dist/dts/styles/dom.d.ts.map +1 -1
  18. package/dist/dts/styles/typography.d.ts.map +1 -1
  19. package/dist/dts/tsdoc-metadata.json +1 -1
  20. package/dist/dts/utils/delay.d.ts.map +1 -1
  21. package/dist/dts/window/window.d.ts.map +1 -1
  22. package/dist/esm/mixins/lifecycle/lifecycle.js +5 -5
  23. package/dist/esm/mixins/pendingState/pendingState.js +2 -2
  24. package/dist/esm/uuid/uuid.js +2 -2
  25. package/dist/foundation-utils.api.json +708 -2075
  26. package/dist/foundation-utils.d.ts +440 -522
  27. package/docs/api/foundation-utils.assuredesignsystem.md +3 -31
  28. package/docs/api/foundation-utils.createerrormap.md +1 -44
  29. package/docs/api/foundation-utils.createlogger.md +4 -49
  30. package/docs/api/foundation-utils.createobserver.md +1 -5
  31. package/docs/api/foundation-utils.customnumberparser.md +3 -31
  32. package/docs/api/foundation-utils.database.create.md +3 -31
  33. package/docs/api/foundation-utils.database.delete.md +3 -31
  34. package/docs/api/foundation-utils.database.md +12 -114
  35. package/docs/api/foundation-utils.database.onafterupdate.md +3 -31
  36. package/docs/api/foundation-utils.database.onbeforeupdate.md +3 -31
  37. package/docs/api/foundation-utils.database.read.md +3 -31
  38. package/docs/api/foundation-utils.database.update.md +4 -45
  39. package/docs/api/foundation-utils.database.visit.md +3 -31
  40. package/docs/api/foundation-utils.databaseaccessresult.access.md +3 -39
  41. package/docs/api/foundation-utils.databaseaccessresult.delete.md +4 -56
  42. package/docs/api/foundation-utils.databaseaccessresult.md +7 -57
  43. package/docs/api/foundation-utils.databaseevent.beforeupdate.md +3 -39
  44. package/docs/api/foundation-utils.databaseevent.md +5 -39
  45. package/docs/api/foundation-utils.databaseevent.update.md +3 -39
  46. package/docs/api/foundation-utils.databaserecord.md +3 -39
  47. package/docs/api/foundation-utils.decodefrombase64.md +1 -42
  48. package/docs/api/foundation-utils.decodefrombase64withprefix.md +1 -43
  49. package/docs/api/foundation-utils.defaulterrormap._constructor_.md +3 -33
  50. package/docs/api/foundation-utils.defaulterrormap.delete.md +3 -33
  51. package/docs/api/foundation-utils.defaulterrormap.get.md +3 -33
  52. package/docs/api/foundation-utils.defaulterrormap.has.md +3 -33
  53. package/docs/api/foundation-utils.defaulterrormap.md +16 -214
  54. package/docs/api/foundation-utils.defaulterrormap.set.md +4 -49
  55. package/docs/api/foundation-utils.defaulterrormap.values.md +2 -2
  56. package/docs/api/foundation-utils.defaultserverrowdtomapper.md +4 -60
  57. package/docs/api/foundation-utils.delay.md +1 -43
  58. package/docs/api/foundation-utils.designsystemmodule.md +3 -21
  59. package/docs/api/foundation-utils.designsystemmodule.providedesignsystem.md +4 -49
  60. package/docs/api/foundation-utils.dtomapper.md +5 -75
  61. package/docs/api/foundation-utils.encodetobase64.md +1 -44
  62. package/docs/api/foundation-utils.encodetobase64withprefix.md +1 -43
  63. package/docs/api/foundation-utils.errormap.md +7 -87
  64. package/docs/api/foundation-utils.errormap.set.md +4 -49
  65. package/docs/api/foundation-utils.fontstyle.md +4 -45
  66. package/docs/api/foundation-utils.fontweight.md +8 -101
  67. package/docs/api/foundation-utils.formatdatetimestamp.md +3 -31
  68. package/docs/api/foundation-utils.formatdatetimetimestamp.md +3 -31
  69. package/docs/api/foundation-utils.formatdatetimetimestampwithmilliseconds.md +3 -31
  70. package/docs/api/foundation-utils.formattimestamp.md +4 -49
  71. package/docs/api/foundation-utils.genesis.md +8 -60
  72. package/docs/api/foundation-utils.getcurrentdesignsystemprefix.md +4 -49
  73. package/docs/api/foundation-utils.getdateformatter.md +4 -49
  74. package/docs/api/foundation-utils.getfontmixin.md +1 -76
  75. package/docs/api/foundation-utils.getnumberformatter.md +4 -47
  76. package/docs/api/foundation-utils.iniframe.md +1 -7
  77. package/docs/api/foundation-utils.inmemorydatabase._constructor_.md +3 -31
  78. package/docs/api/foundation-utils.inmemorydatabase.create.md +3 -31
  79. package/docs/api/foundation-utils.inmemorydatabase.delete.md +3 -31
  80. package/docs/api/foundation-utils.inmemorydatabase.md +15 -171
  81. package/docs/api/foundation-utils.inmemorydatabase.onafterupdate.md +3 -31
  82. package/docs/api/foundation-utils.inmemorydatabase.onbeforeupdate.md +3 -31
  83. package/docs/api/foundation-utils.inmemorydatabase.read.md +3 -31
  84. package/docs/api/foundation-utils.inmemorydatabase.update.md +4 -45
  85. package/docs/api/foundation-utils.inmemorydatabase.visit.md +3 -31
  86. package/docs/api/foundation-utils.insertdocumentcssrule.md +1 -60
  87. package/docs/api/foundation-utils.insertdocumentlink.md +1 -42
  88. package/docs/api/foundation-utils.insymphonydesktop.md +1 -7
  89. package/docs/api/foundation-utils.isdev.md +1 -5
  90. package/docs/api/foundation-utils.jsonreplacer.md +4 -49
  91. package/docs/api/foundation-utils.jsonreviver.md +4 -49
  92. package/docs/api/foundation-utils.jsonserializer.deserialize.md +3 -33
  93. package/docs/api/foundation-utils.jsonserializer.deserialize_1.md +3 -33
  94. package/docs/api/foundation-utils.jsonserializer.deserialize_2.md +3 -33
  95. package/docs/api/foundation-utils.jsonserializer.serialize.md +3 -33
  96. package/docs/api/foundation-utils.jsonserializerconfig.md +6 -48
  97. package/docs/api/foundation-utils.jsonserializerconfig.parse.md +4 -47
  98. package/docs/api/foundation-utils.jsonserializerconfig.parse_1.md +5 -63
  99. package/docs/api/foundation-utils.jsonserializerconfig.stringify.md +5 -63
  100. package/docs/api/foundation-utils.jsonserializerconfig.stringify_1.md +5 -63
  101. package/docs/api/foundation-utils.lifecyclemixin.md +224 -303
  102. package/docs/api/foundation-utils.loadfontfaces.md +1 -58
  103. package/docs/api/foundation-utils.logger.deprecated.md +5 -65
  104. package/docs/api/foundation-utils.mapgenesisjsonschema.md +3 -31
  105. package/docs/api/foundation-utils.mapjsonschemafieldtoexprbuilderfield.md +3 -31
  106. package/docs/api/foundation-utils.md +129 -1301
  107. package/docs/api/foundation-utils.numberparser._constructor_.md +3 -31
  108. package/docs/api/foundation-utils.numberparser.hasseparator.md +3 -31
  109. package/docs/api/foundation-utils.numberparser.md +7 -72
  110. package/docs/api/foundation-utils.numberparser.parse.md +3 -31
  111. package/docs/api/foundation-utils.objectvisitor.md +5 -45
  112. package/docs/api/foundation-utils.objectvisitor.visitarray.md +4 -45
  113. package/docs/api/foundation-utils.objectvisitor.visitobject.md +4 -45
  114. package/docs/api/foundation-utils.objectvisitor.visitproperty.md +6 -73
  115. package/docs/api/foundation-utils.observer.md +4 -56
  116. package/docs/api/foundation-utils.openpopup.md +1 -92
  117. package/docs/api/foundation-utils.pendingstate.md +217 -297
  118. package/docs/api/foundation-utils.pendingstateevents.md +4 -45
  119. package/docs/api/foundation-utils.reactive.md +4 -49
  120. package/docs/api/foundation-utils.renderonchange.md +4 -49
  121. package/docs/api/foundation-utils.resolveafter.md +1 -53
  122. package/docs/api/foundation-utils.respondtovisibility.md +1 -58
  123. package/docs/api/foundation-utils.slottedstyles.md +6 -72
  124. package/docs/api/foundation-utils.slottedstyles.styleschanged.md +4 -49
  125. package/docs/api/foundation-utils.sync.md +6 -79
  126. package/docs/api/foundation-utils.toelementstyles.md +3 -33
  127. package/docs/api/foundation-utils.uuid.createid.md +3 -33
  128. package/docs/api/foundation-utils.uuid.createremoteid.md +3 -33
  129. package/docs/api/foundation-utils.visitobject.md +7 -97
  130. package/docs/api/foundation-utils.whenelse.md +5 -65
  131. package/docs/api/index.md +3 -21
  132. package/package.json +11 -11
  133. package/docs/api-report.md.api.md +0 -1350
@@ -12,51 +12,10 @@ update(id: string, newValue: Omit<Partial<T>, 'id'>): Promise<DatabaseAccessResu
12
12
 
13
13
  ## Parameters
14
14
 
15
- <table><thead><tr><th>
16
-
17
- Parameter
18
-
19
-
20
- </th><th>
21
-
22
- Type
23
-
24
-
25
- </th><th>
26
-
27
- Description
28
-
29
-
30
- </th></tr></thead>
31
- <tbody><tr><td>
32
-
33
- id
34
-
35
-
36
- </td><td>
37
-
38
- string
39
-
40
-
41
- </td><td>
42
-
43
-
44
- </td></tr>
45
- <tr><td>
46
-
47
- newValue
48
-
49
-
50
- </td><td>
51
-
52
- Omit&lt;Partial&lt;T&gt;, 'id'&gt;
53
-
54
-
55
- </td><td>
56
-
57
-
58
- </td></tr>
59
- </tbody></table>
15
+ | Parameter | Type | Description |
16
+ | --- | --- | --- |
17
+ | id | string | |
18
+ | newValue | Omit&lt;Partial&lt;T&gt;, 'id'&gt; | |
60
19
 
61
20
  **Returns:**
62
21
 
@@ -12,37 +12,9 @@ visit(visitor: (record: T) => void): Promise<void>;
12
12
 
13
13
  ## Parameters
14
14
 
15
- <table><thead><tr><th>
16
-
17
- Parameter
18
-
19
-
20
- </th><th>
21
-
22
- Type
23
-
24
-
25
- </th><th>
26
-
27
- Description
28
-
29
-
30
- </th></tr></thead>
31
- <tbody><tr><td>
32
-
33
- visitor
34
-
35
-
36
- </td><td>
37
-
38
- (record: T) =&gt; void
39
-
40
-
41
- </td><td>
42
-
43
-
44
- </td></tr>
45
- </tbody></table>
15
+ | Parameter | Type | Description |
16
+ | --- | --- | --- |
17
+ | visitor | (record: T) =&gt; void | |
46
18
 
47
19
  **Returns:**
48
20
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  [Home](./index.md) &gt; [@genesislcap/foundation-utils](./foundation-utils.md) &gt; [insertDocumentCSSRule](./foundation-utils.insertdocumentcssrule.md)
4
4
 
5
- ## insertDocumentCSSRule() function
5
+ ## insertDocumentCSSRule variable
6
6
 
7
7
  Inserts a CSS rule into the document by creating a new style element or using an existing one with the specified ID. Returns a function that can be called to remove the rule from the document.
8
8
 
@@ -11,62 +11,3 @@ Inserts a CSS rule into the document by creating a new style element or using an
11
11
  ```typescript
12
12
  insertDocumentCSSRule: (cssRule: string, styleElementId: string) => (() => void)
13
13
  ```
14
-
15
- ## Parameters
16
-
17
- <table><thead><tr><th>
18
-
19
- Parameter
20
-
21
-
22
- </th><th>
23
-
24
- Type
25
-
26
-
27
- </th><th>
28
-
29
- Description
30
-
31
-
32
- </th></tr></thead>
33
- <tbody><tr><td>
34
-
35
- cssRule
36
-
37
-
38
- </td><td>
39
-
40
- string
41
-
42
-
43
- </td><td>
44
-
45
- The CSS rule to insert.
46
-
47
-
48
- </td></tr>
49
- <tr><td>
50
-
51
- styleElementId
52
-
53
-
54
- </td><td>
55
-
56
- string
57
-
58
-
59
- </td><td>
60
-
61
- The ID of the style element to use or create.
62
-
63
-
64
- </td></tr>
65
- </tbody></table>
66
-
67
- **Returns:**
68
-
69
- (() =&gt; void)
70
-
71
- A function that removes the rule from the document.
72
-
@@ -2,7 +2,7 @@
2
2
 
3
3
  [Home](./index.md) &gt; [@genesislcap/foundation-utils](./foundation-utils.md) &gt; [insertDocumentLink](./foundation-utils.insertdocumentlink.md)
4
4
 
5
- ## insertDocumentLink() function
5
+ ## insertDocumentLink variable
6
6
 
7
7
  Inserts a CSS link into the document if it doesn't already exist.
8
8
 
@@ -11,44 +11,3 @@ Inserts a CSS link into the document if it doesn't already exist.
11
11
  ```typescript
12
12
  insertDocumentLink: (href: string) => void
13
13
  ```
14
-
15
- ## Parameters
16
-
17
- <table><thead><tr><th>
18
-
19
- Parameter
20
-
21
-
22
- </th><th>
23
-
24
- Type
25
-
26
-
27
- </th><th>
28
-
29
- Description
30
-
31
-
32
- </th></tr></thead>
33
- <tbody><tr><td>
34
-
35
- href
36
-
37
-
38
- </td><td>
39
-
40
- string
41
-
42
-
43
- </td><td>
44
-
45
- The URL of the CSS file to insert.
46
-
47
-
48
- </td></tr>
49
- </tbody></table>
50
-
51
- **Returns:**
52
-
53
- void
54
-
@@ -2,7 +2,7 @@
2
2
 
3
3
  [Home](./index.md) &gt; [@genesislcap/foundation-utils](./foundation-utils.md) &gt; [inSymphonyDesktop](./foundation-utils.insymphonydesktop.md)
4
4
 
5
- ## inSymphonyDesktop() function
5
+ ## inSymphonyDesktop variable
6
6
 
7
7
  Returns a boolean value indicating whether the user is running the Symphony desktop app.
8
8
 
@@ -11,9 +11,3 @@ Returns a boolean value indicating whether the user is running the Symphony desk
11
11
  ```typescript
12
12
  inSymphonyDesktop: () => boolean
13
13
  ```
14
- **Returns:**
15
-
16
- boolean
17
-
18
- true if the user is running the Symphony desktop app, false otherwise.
19
-
@@ -2,7 +2,7 @@
2
2
 
3
3
  [Home](./index.md) &gt; [@genesislcap/foundation-utils](./foundation-utils.md) &gt; [isDev](./foundation-utils.isdev.md)
4
4
 
5
- ## isDev() function
5
+ ## isDev variable
6
6
 
7
7
  Determines if the current environment is a development environment.
8
8
 
@@ -11,7 +11,3 @@ Determines if the current environment is a development environment.
11
11
  ```typescript
12
12
  isDev: () => boolean
13
13
  ```
14
- **Returns:**
15
-
16
- boolean
17
-
@@ -14,55 +14,10 @@ export declare function JSONReplacer(key: string, value: any): any;
14
14
 
15
15
  ## Parameters
16
16
 
17
- <table><thead><tr><th>
18
-
19
- Parameter
20
-
21
-
22
- </th><th>
23
-
24
- Type
25
-
26
-
27
- </th><th>
28
-
29
- Description
30
-
31
-
32
- </th></tr></thead>
33
- <tbody><tr><td>
34
-
35
- key
36
-
37
-
38
- </td><td>
39
-
40
- string
41
-
42
-
43
- </td><td>
44
-
45
- The object key.
46
-
47
-
48
- </td></tr>
49
- <tr><td>
50
-
51
- value
52
-
53
-
54
- </td><td>
55
-
56
- any
57
-
58
-
59
- </td><td>
60
-
61
- The key value.
62
-
63
-
64
- </td></tr>
65
- </tbody></table>
17
+ | Parameter | Type | Description |
18
+ | --- | --- | --- |
19
+ | key | string | The object key. |
20
+ | value | any | The key value. |
66
21
 
67
22
  **Returns:**
68
23
 
@@ -14,55 +14,10 @@ export declare function JSONReviver(key: string, value: any): any;
14
14
 
15
15
  ## Parameters
16
16
 
17
- <table><thead><tr><th>
18
-
19
- Parameter
20
-
21
-
22
- </th><th>
23
-
24
- Type
25
-
26
-
27
- </th><th>
28
-
29
- Description
30
-
31
-
32
- </th></tr></thead>
33
- <tbody><tr><td>
34
-
35
- key
36
-
37
-
38
- </td><td>
39
-
40
- string
41
-
42
-
43
- </td><td>
44
-
45
- The object key.
46
-
47
-
48
- </td></tr>
49
- <tr><td>
50
-
51
- value
52
-
53
-
54
- </td><td>
55
-
56
- any
57
-
58
-
59
- </td><td>
60
-
61
- The key value.
62
-
63
-
64
- </td></tr>
65
- </tbody></table>
17
+ | Parameter | Type | Description |
18
+ | --- | --- | --- |
19
+ | key | string | The object key. |
20
+ | value | any | The key value. |
66
21
 
67
22
  **Returns:**
68
23
 
@@ -14,39 +14,9 @@ deserialize<T = any>(response: Response): Promise<T>;
14
14
 
15
15
  ## Parameters
16
16
 
17
- <table><thead><tr><th>
18
-
19
- Parameter
20
-
21
-
22
- </th><th>
23
-
24
- Type
25
-
26
-
27
- </th><th>
28
-
29
- Description
30
-
31
-
32
- </th></tr></thead>
33
- <tbody><tr><td>
34
-
35
- response
36
-
37
-
38
- </td><td>
39
-
40
- Response
41
-
42
-
43
- </td><td>
44
-
45
- The HTTP response object.
46
-
47
-
48
- </td></tr>
49
- </tbody></table>
17
+ | Parameter | Type | Description |
18
+ | --- | --- | --- |
19
+ | response | Response | The HTTP response object. |
50
20
 
51
21
  **Returns:**
52
22
 
@@ -14,39 +14,9 @@ deserialize<T = any>(event: MessageEvent): T;
14
14
 
15
15
  ## Parameters
16
16
 
17
- <table><thead><tr><th>
18
-
19
- Parameter
20
-
21
-
22
- </th><th>
23
-
24
- Type
25
-
26
-
27
- </th><th>
28
-
29
- Description
30
-
31
-
32
- </th></tr></thead>
33
- <tbody><tr><td>
34
-
35
- event
36
-
37
-
38
- </td><td>
39
-
40
- MessageEvent
41
-
42
-
43
- </td><td>
44
-
45
- The message event object.
46
-
47
-
48
- </td></tr>
49
- </tbody></table>
17
+ | Parameter | Type | Description |
18
+ | --- | --- | --- |
19
+ | event | MessageEvent | The message event object. |
50
20
 
51
21
  **Returns:**
52
22
 
@@ -14,39 +14,9 @@ deserialize<T = any>(text: string): T;
14
14
 
15
15
  ## Parameters
16
16
 
17
- <table><thead><tr><th>
18
-
19
- Parameter
20
-
21
-
22
- </th><th>
23
-
24
- Type
25
-
26
-
27
- </th><th>
28
-
29
- Description
30
-
31
-
32
- </th></tr></thead>
33
- <tbody><tr><td>
34
-
35
- text
36
-
37
-
38
- </td><td>
39
-
40
- string
41
-
42
-
43
- </td><td>
44
-
45
- The JSON string to deserialize.
46
-
47
-
48
- </td></tr>
49
- </tbody></table>
17
+ | Parameter | Type | Description |
18
+ | --- | --- | --- |
19
+ | text | string | The JSON string to deserialize. |
50
20
 
51
21
  **Returns:**
52
22
 
@@ -14,39 +14,9 @@ serialize(object: any): string;
14
14
 
15
15
  ## Parameters
16
16
 
17
- <table><thead><tr><th>
18
-
19
- Parameter
20
-
21
-
22
- </th><th>
23
-
24
- Type
25
-
26
-
27
- </th><th>
28
-
29
- Description
30
-
31
-
32
- </th></tr></thead>
33
- <tbody><tr><td>
34
-
35
- object
36
-
37
-
38
- </td><td>
39
-
40
- any
41
-
42
-
43
- </td><td>
44
-
45
- The object to serialize.
46
-
47
-
48
- </td></tr>
49
- </tbody></table>
17
+ | Parameter | Type | Description |
18
+ | --- | --- | --- |
19
+ | object | any | The object to serialize. |
50
20
 
51
21
  **Returns:**
52
22
 
@@ -14,52 +14,10 @@ export interface JSONSerializerConfig
14
14
 
15
15
  ## Methods
16
16
 
17
- <table><thead><tr><th>
18
-
19
- Method
20
-
21
-
22
- </th><th>
23
-
24
- Description
25
-
26
-
27
- </th></tr></thead>
28
- <tbody><tr><td>
29
-
30
- [parse(text, reviver)](./foundation-utils.jsonserializerconfig.parse.md)
31
-
32
-
33
- </td><td>
34
-
35
-
36
- </td></tr>
37
- <tr><td>
38
-
39
- [parse(text, reviver, parseNumber)](./foundation-utils.jsonserializerconfig.parse_1.md)
40
-
41
-
42
- </td><td>
43
-
44
-
45
- </td></tr>
46
- <tr><td>
47
-
48
- [stringify(value, replacer, space)](./foundation-utils.jsonserializerconfig.stringify.md)
49
-
50
-
51
- </td><td>
52
-
53
-
54
- </td></tr>
55
- <tr><td>
56
-
57
- [stringify(value, replacer, space)](./foundation-utils.jsonserializerconfig.stringify_1.md)
58
-
59
-
60
- </td><td>
61
-
62
-
63
- </td></tr>
64
- </tbody></table>
17
+ | Method | Description |
18
+ | --- | --- |
19
+ | [parse(text, reviver)](./foundation-utils.jsonserializerconfig.parse.md) | |
20
+ | [parse(text, reviver, parseNumber)](./foundation-utils.jsonserializerconfig.parse_1.md) | |
21
+ | [stringify(value, replacer, space)](./foundation-utils.jsonserializerconfig.stringify.md) | |
22
+ | [stringify(value, replacer, space)](./foundation-utils.jsonserializerconfig.stringify_1.md) | |
65
23
 
@@ -12,53 +12,10 @@ parse(text: string, reviver?: (this: any, key: string, value: any) => any): any;
12
12
 
13
13
  ## Parameters
14
14
 
15
- <table><thead><tr><th>
16
-
17
- Parameter
18
-
19
-
20
- </th><th>
21
-
22
- Type
23
-
24
-
25
- </th><th>
26
-
27
- Description
28
-
29
-
30
- </th></tr></thead>
31
- <tbody><tr><td>
32
-
33
- text
34
-
35
-
36
- </td><td>
37
-
38
- string
39
-
40
-
41
- </td><td>
42
-
43
-
44
- </td></tr>
45
- <tr><td>
46
-
47
- reviver
48
-
49
-
50
- </td><td>
51
-
52
- (this: any, key: string, value: any) =&gt; any
53
-
54
-
55
- </td><td>
56
-
57
- _(Optional)_
58
-
59
-
60
- </td></tr>
61
- </tbody></table>
15
+ | Parameter | Type | Description |
16
+ | --- | --- | --- |
17
+ | text | string | |
18
+ | reviver | (this: any, key: string, value: any) =&gt; any | _(Optional)_ |
62
19
 
63
20
  **Returns:**
64
21