@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
@@ -14,35 +14,7 @@ constructor(locale: 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
- locale
36
-
37
-
38
- </td><td>
39
-
40
- string
41
-
42
-
43
- </td><td>
44
-
45
-
46
- </td></tr>
47
- </tbody></table>
17
+ | Parameter | Type | Description |
18
+ | --- | --- | --- |
19
+ | locale | string | |
48
20
 
@@ -12,37 +12,9 @@ hasSeparator(localeNumber: string): boolean;
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
- localeNumber
34
-
35
-
36
- </td><td>
37
-
38
- string
39
-
40
-
41
- </td><td>
42
-
43
-
44
- </td></tr>
45
- </tbody></table>
15
+ | Parameter | Type | Description |
16
+ | --- | --- | --- |
17
+ | localeNumber | string | |
46
18
 
47
19
  **Returns:**
48
20
 
@@ -13,79 +13,14 @@ export declare class NumberParser
13
13
 
14
14
  ## Constructors
15
15
 
16
- <table><thead><tr><th>
17
-
18
- Constructor
19
-
20
-
21
- </th><th>
22
-
23
- Modifiers
24
-
25
-
26
- </th><th>
27
-
28
- Description
29
-
30
-
31
- </th></tr></thead>
32
- <tbody><tr><td>
33
-
34
- [(constructor)(locale)](./foundation-utils.numberparser._constructor_.md)
35
-
36
-
37
- </td><td>
38
-
39
-
40
- </td><td>
41
-
42
- Constructs a new instance of the `NumberParser` class
43
-
44
-
45
- </td></tr>
46
- </tbody></table>
16
+ | Constructor | Modifiers | Description |
17
+ | --- | --- | --- |
18
+ | [(constructor)(locale)](./foundation-utils.numberparser._constructor_.md) | | Constructs a new instance of the <code>NumberParser</code> class |
47
19
 
48
20
  ## Methods
49
21
 
50
- <table><thead><tr><th>
51
-
52
- Method
53
-
54
-
55
- </th><th>
56
-
57
- Modifiers
58
-
59
-
60
- </th><th>
61
-
62
- Description
63
-
64
-
65
- </th></tr></thead>
66
- <tbody><tr><td>
67
-
68
- [hasSeparator(localeNumber)](./foundation-utils.numberparser.hasseparator.md)
69
-
70
-
71
- </td><td>
72
-
73
-
74
- </td><td>
75
-
76
-
77
- </td></tr>
78
- <tr><td>
79
-
80
- [parse(localeNumber)](./foundation-utils.numberparser.parse.md)
81
-
82
-
83
- </td><td>
84
-
85
-
86
- </td><td>
87
-
88
-
89
- </td></tr>
90
- </tbody></table>
22
+ | Method | Modifiers | Description |
23
+ | --- | --- | --- |
24
+ | [hasSeparator(localeNumber)](./foundation-utils.numberparser.hasseparator.md) | | |
25
+ | [parse(localeNumber)](./foundation-utils.numberparser.parse.md) | | |
91
26
 
@@ -12,37 +12,9 @@ parse(localeNumber: string): number;
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
- localeNumber
34
-
35
-
36
- </td><td>
37
-
38
- string
39
-
40
-
41
- </td><td>
42
-
43
-
44
- </td></tr>
45
- </tbody></table>
15
+ | Parameter | Type | Description |
16
+ | --- | --- | --- |
17
+ | localeNumber | string | |
46
18
 
47
19
  **Returns:**
48
20
 
@@ -41,49 +41,9 @@ const makeObserverVisitor: ObjectVisitor<undefined> = {
41
41
 
42
42
  ## Methods
43
43
 
44
- <table><thead><tr><th>
45
-
46
- Method
47
-
48
-
49
- </th><th>
50
-
51
- Description
52
-
53
-
54
- </th></tr></thead>
55
- <tbody><tr><td>
56
-
57
- [visitArray(array, data)](./foundation-utils.objectvisitor.visitarray.md)
58
-
59
-
60
- </td><td>
61
-
62
- **_(BETA)_**
63
-
64
-
65
- </td></tr>
66
- <tr><td>
67
-
68
- [visitObject(object, data)](./foundation-utils.objectvisitor.visitobject.md)
69
-
70
-
71
- </td><td>
72
-
73
- **_(BETA)_**
74
-
75
-
76
- </td></tr>
77
- <tr><td>
78
-
79
- [visitProperty(object, key, value, data)](./foundation-utils.objectvisitor.visitproperty.md)
80
-
81
-
82
- </td><td>
83
-
84
- **_(BETA)_**
85
-
86
-
87
- </td></tr>
88
- </tbody></table>
44
+ | Method | Description |
45
+ | --- | --- |
46
+ | [visitArray(array, data)](./foundation-utils.objectvisitor.visitarray.md) | **_(BETA)_** |
47
+ | [visitObject(object, data)](./foundation-utils.objectvisitor.visitobject.md) | **_(BETA)_** |
48
+ | [visitProperty(object, key, value, data)](./foundation-utils.objectvisitor.visitproperty.md) | **_(BETA)_** |
89
49
 
@@ -15,51 +15,10 @@ visitArray(array: any[], data: TVisitorData): void;
15
15
 
16
16
  ## Parameters
17
17
 
18
- <table><thead><tr><th>
19
-
20
- Parameter
21
-
22
-
23
- </th><th>
24
-
25
- Type
26
-
27
-
28
- </th><th>
29
-
30
- Description
31
-
32
-
33
- </th></tr></thead>
34
- <tbody><tr><td>
35
-
36
- array
37
-
38
-
39
- </td><td>
40
-
41
- any\[\]
42
-
43
-
44
- </td><td>
45
-
46
-
47
- </td></tr>
48
- <tr><td>
49
-
50
- data
51
-
52
-
53
- </td><td>
54
-
55
- TVisitorData
56
-
57
-
58
- </td><td>
59
-
60
-
61
- </td></tr>
62
- </tbody></table>
18
+ | Parameter | Type | Description |
19
+ | --- | --- | --- |
20
+ | array | any\[\] | |
21
+ | data | TVisitorData | |
63
22
 
64
23
  **Returns:**
65
24
 
@@ -15,51 +15,10 @@ visitObject(object: any, data: TVisitorData): void;
15
15
 
16
16
  ## Parameters
17
17
 
18
- <table><thead><tr><th>
19
-
20
- Parameter
21
-
22
-
23
- </th><th>
24
-
25
- Type
26
-
27
-
28
- </th><th>
29
-
30
- Description
31
-
32
-
33
- </th></tr></thead>
34
- <tbody><tr><td>
35
-
36
- object
37
-
38
-
39
- </td><td>
40
-
41
- any
42
-
43
-
44
- </td><td>
45
-
46
-
47
- </td></tr>
48
- <tr><td>
49
-
50
- data
51
-
52
-
53
- </td><td>
54
-
55
- TVisitorData
56
-
57
-
58
- </td><td>
59
-
60
-
61
- </td></tr>
62
- </tbody></table>
18
+ | Parameter | Type | Description |
19
+ | --- | --- | --- |
20
+ | object | any | |
21
+ | data | TVisitorData | |
63
22
 
64
23
  **Returns:**
65
24
 
@@ -15,79 +15,12 @@ visitProperty(object: any, key: PropertyKey, value: any, data: TVisitorData): vo
15
15
 
16
16
  ## Parameters
17
17
 
18
- <table><thead><tr><th>
19
-
20
- Parameter
21
-
22
-
23
- </th><th>
24
-
25
- Type
26
-
27
-
28
- </th><th>
29
-
30
- Description
31
-
32
-
33
- </th></tr></thead>
34
- <tbody><tr><td>
35
-
36
- object
37
-
38
-
39
- </td><td>
40
-
41
- any
42
-
43
-
44
- </td><td>
45
-
46
-
47
- </td></tr>
48
- <tr><td>
49
-
50
- key
51
-
52
-
53
- </td><td>
54
-
55
- PropertyKey
56
-
57
-
58
- </td><td>
59
-
60
-
61
- </td></tr>
62
- <tr><td>
63
-
64
- value
65
-
66
-
67
- </td><td>
68
-
69
- any
70
-
71
-
72
- </td><td>
73
-
74
-
75
- </td></tr>
76
- <tr><td>
77
-
78
- data
79
-
80
-
81
- </td><td>
82
-
83
- TVisitorData
84
-
85
-
86
- </td><td>
87
-
88
-
89
- </td></tr>
90
- </tbody></table>
18
+ | Parameter | Type | Description |
19
+ | --- | --- | --- |
20
+ | object | any | |
21
+ | key | PropertyKey | |
22
+ | value | any | |
23
+ | data | TVisitorData | |
91
24
 
92
25
  **Returns:**
93
26
 
@@ -14,60 +14,8 @@ export interface Observer<EventType>
14
14
 
15
15
  ## Properties
16
16
 
17
- <table><thead><tr><th>
18
-
19
- Property
20
-
21
-
22
- </th><th>
23
-
24
- Modifiers
25
-
26
-
27
- </th><th>
28
-
29
- Type
30
-
31
-
32
- </th><th>
33
-
34
- Description
35
-
36
-
37
- </th></tr></thead>
38
- <tbody><tr><td>
39
-
40
- [publish](./foundation-utils.observer.publish.md)
41
-
42
-
43
- </td><td>
44
-
45
-
46
- </td><td>
47
-
48
- [Publish](./foundation-utils.publish.md)<!-- -->&lt;EventType&gt;
49
-
50
-
51
- </td><td>
52
-
53
-
54
- </td></tr>
55
- <tr><td>
56
-
57
- [subscribe](./foundation-utils.observer.subscribe.md)
58
-
59
-
60
- </td><td>
61
-
62
-
63
- </td><td>
64
-
65
- [Subscribe](./foundation-utils.subscribe.md)<!-- -->&lt;EventType&gt;
66
-
67
-
68
- </td><td>
69
-
70
-
71
- </td></tr>
72
- </tbody></table>
17
+ | Property | Modifiers | Type | Description |
18
+ | --- | --- | --- | --- |
19
+ | [publish](./foundation-utils.observer.publish.md) | | [Publish](./foundation-utils.publish.md)<!-- -->&lt;EventType&gt; | |
20
+ | [subscribe](./foundation-utils.observer.subscribe.md) | | [Subscribe](./foundation-utils.subscribe.md)<!-- -->&lt;EventType&gt; | |
73
21
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  [Home](./index.md) &gt; [@genesislcap/foundation-utils](./foundation-utils.md) &gt; [openPopup](./foundation-utils.openpopup.md)
4
4
 
5
- ## openPopup() function
5
+ ## openPopup variable
6
6
 
7
7
  Opens a new browser window with the specified URL, target, width, and height.
8
8
 
@@ -11,94 +11,3 @@ Opens a new browser window with the specified URL, target, width, and height.
11
11
  ```typescript
12
12
  openPopup: (urlNavigate: string, target: string, popUpWidth?: number, popUpHeight?: number) => Window
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
- urlNavigate
36
-
37
-
38
- </td><td>
39
-
40
- string
41
-
42
-
43
- </td><td>
44
-
45
- The URL to navigate to.
46
-
47
-
48
- </td></tr>
49
- <tr><td>
50
-
51
- target
52
-
53
-
54
- </td><td>
55
-
56
- string
57
-
58
-
59
- </td><td>
60
-
61
- The name of the new window.
62
-
63
-
64
- </td></tr>
65
- <tr><td>
66
-
67
- popUpWidth
68
-
69
-
70
- </td><td>
71
-
72
- number
73
-
74
-
75
- </td><td>
76
-
77
- _(Optional)_ The width of the new window (optional).
78
-
79
-
80
- </td></tr>
81
- <tr><td>
82
-
83
- popUpHeight
84
-
85
-
86
- </td><td>
87
-
88
- number
89
-
90
-
91
- </td><td>
92
-
93
- _(Optional)_ The height of the new window (optional).
94
-
95
-
96
- </td></tr>
97
- </tbody></table>
98
-
99
- **Returns:**
100
-
101
- Window
102
-
103
- A reference to the new window.
104
-