@futdevpro/fsm-dynamo 1.14.9 → 1.14.11

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 (185) hide show
  1. package/build/_collections/constants/data-sizes.const.d.ts +3 -3
  2. package/build/_collections/constants/data-sizes.const.d.ts.map +1 -1
  3. package/build/_collections/constants/data-sizes.const.js +4 -3
  4. package/build/_collections/constants/data-sizes.const.js.map +1 -1
  5. package/build/_collections/utils/array.util.d.ts +189 -0
  6. package/build/_collections/utils/array.util.d.ts.map +1 -1
  7. package/build/_collections/utils/array.util.js +189 -0
  8. package/build/_collections/utils/array.util.js.map +1 -1
  9. package/build/_collections/utils/async.util.d.ts +29 -0
  10. package/build/_collections/utils/async.util.d.ts.map +1 -1
  11. package/build/_collections/utils/async.util.js +40 -0
  12. package/build/_collections/utils/async.util.js.map +1 -1
  13. package/build/_collections/utils/json-error-helper.util.d.ts +38 -0
  14. package/build/_collections/utils/json-error-helper.util.d.ts.map +1 -1
  15. package/build/_collections/utils/json-error-helper.util.js +38 -0
  16. package/build/_collections/utils/json-error-helper.util.js.map +1 -1
  17. package/build/_collections/utils/log.util.d.ts +195 -5
  18. package/build/_collections/utils/log.util.d.ts.map +1 -1
  19. package/build/_collections/utils/log.util.js +195 -5
  20. package/build/_collections/utils/log.util.js.map +1 -1
  21. package/build/_collections/utils/math/box-bounds.util.d.ts +36 -0
  22. package/build/_collections/utils/math/box-bounds.util.d.ts.map +1 -1
  23. package/build/_collections/utils/math/box-bounds.util.js +36 -0
  24. package/build/_collections/utils/math/box-bounds.util.js.map +1 -1
  25. package/build/_collections/utils/math/math.util.d.ts +48 -12
  26. package/build/_collections/utils/math/math.util.d.ts.map +1 -1
  27. package/build/_collections/utils/math/math.util.js +48 -14
  28. package/build/_collections/utils/math/math.util.js.map +1 -1
  29. package/build/_collections/utils/math/math.util.spec.js +0 -9
  30. package/build/_collections/utils/math/math.util.spec.js.map +1 -1
  31. package/build/_collections/utils/math/random.util.d.ts +30 -0
  32. package/build/_collections/utils/math/random.util.d.ts.map +1 -1
  33. package/build/_collections/utils/math/random.util.js +30 -0
  34. package/build/_collections/utils/math/random.util.js.map +1 -1
  35. package/build/_collections/utils/math/trigonometry.util.d.ts +30 -0
  36. package/build/_collections/utils/math/trigonometry.util.d.ts.map +1 -1
  37. package/build/_collections/utils/math/trigonometry.util.js +30 -0
  38. package/build/_collections/utils/math/trigonometry.util.js.map +1 -1
  39. package/build/_collections/utils/math/vector2.util.d.ts +247 -17
  40. package/build/_collections/utils/math/vector2.util.d.ts.map +1 -1
  41. package/build/_collections/utils/math/vector2.util.js +247 -19
  42. package/build/_collections/utils/math/vector2.util.js.map +1 -1
  43. package/build/_collections/utils/regex/password-regex.util.d.ts +12 -0
  44. package/build/_collections/utils/regex/password-regex.util.d.ts.map +1 -1
  45. package/build/_collections/utils/regex/password-regex.util.js +12 -0
  46. package/build/_collections/utils/regex/password-regex.util.js.map +1 -1
  47. package/build/_collections/utils/round-list.util.d.ts +39 -0
  48. package/build/_collections/utils/round-list.util.d.ts.map +1 -1
  49. package/build/_collections/utils/round-list.util.js +39 -0
  50. package/build/_collections/utils/round-list.util.js.map +1 -1
  51. package/build/_collections/utils/stack.util.d.ts +19 -0
  52. package/build/_collections/utils/stack.util.d.ts.map +1 -1
  53. package/build/_collections/utils/stack.util.js +19 -0
  54. package/build/_collections/utils/stack.util.js.map +1 -1
  55. package/build/_collections/utils/string.util.d.ts +17 -0
  56. package/build/_collections/utils/string.util.d.ts.map +1 -1
  57. package/build/_collections/utils/string.util.js +17 -0
  58. package/build/_collections/utils/string.util.js.map +1 -1
  59. package/build/_collections/utils/time.util.d.ts +136 -0
  60. package/build/_collections/utils/time.util.d.ts.map +1 -1
  61. package/build/_collections/utils/time.util.js +136 -0
  62. package/build/_collections/utils/time.util.js.map +1 -1
  63. package/build/_collections/utils/utilities.util.d.ts +17 -1
  64. package/build/_collections/utils/utilities.util.d.ts.map +1 -1
  65. package/build/_collections/utils/utilities.util.js +17 -1
  66. package/build/_collections/utils/utilities.util.js.map +1 -1
  67. package/build/_collections/utils/uuid.util.d.ts +6 -0
  68. package/build/_collections/utils/uuid.util.d.ts.map +1 -1
  69. package/build/_collections/utils/uuid.util.js +6 -0
  70. package/build/_collections/utils/uuid.util.js.map +1 -1
  71. package/build/_enums/data-model-type.enum.d.ts +6 -0
  72. package/build/_enums/data-model-type.enum.d.ts.map +1 -1
  73. package/build/_enums/data-model-type.enum.js +6 -0
  74. package/build/_enums/data-model-type.enum.js.map +1 -1
  75. package/build/_enums/http/http-call-type.enum.d.ts +8 -0
  76. package/build/_enums/http/http-call-type.enum.d.ts.map +1 -1
  77. package/build/_enums/http/http-call-type.enum.js +8 -0
  78. package/build/_enums/http/http-call-type.enum.js.map +1 -1
  79. package/build/_enums/http/http-event-type.enum.d.ts +5 -0
  80. package/build/_enums/http/http-event-type.enum.d.ts.map +1 -1
  81. package/build/_enums/http/http-event-type.enum.js +5 -0
  82. package/build/_enums/http/http-event-type.enum.js.map +1 -1
  83. package/build/_enums/time/day-of-week.enum.d.ts +14 -1
  84. package/build/_enums/time/day-of-week.enum.d.ts.map +1 -1
  85. package/build/_enums/time/day-of-week.enum.js +14 -1
  86. package/build/_enums/time/day-of-week.enum.js.map +1 -1
  87. package/build/_models/control-models/data-model-params.control-model.d.ts.map +1 -1
  88. package/build/_models/control-models/data-model-params.control-model.js +11 -1
  89. package/build/_models/control-models/data-model-params.control-model.js.map +1 -1
  90. package/build/_models/control-models/data-property-params.control-model.d.ts +8 -0
  91. package/build/_models/control-models/data-property-params.control-model.d.ts.map +1 -1
  92. package/build/_models/control-models/data-property-params.control-model.js +8 -0
  93. package/build/_models/control-models/data-property-params.control-model.js.map +1 -1
  94. package/build/_models/control-models/http/http-error-response.control-model.d.ts +25 -0
  95. package/build/_models/control-models/http/http-error-response.control-model.d.ts.map +1 -1
  96. package/build/_models/control-models/http/http-error-response.control-model.js +25 -0
  97. package/build/_models/control-models/http/http-error-response.control-model.js.map +1 -1
  98. package/build/_models/control-models/http/http-headers.control-model.d.ts +8 -0
  99. package/build/_models/control-models/http/http-headers.control-model.d.ts.map +1 -1
  100. package/build/_models/control-models/http/http-headers.control-model.js +8 -0
  101. package/build/_models/control-models/http/http-headers.control-model.js.map +1 -1
  102. package/build/_models/control-models/http/http-response.model-base.d.ts +9 -0
  103. package/build/_models/control-models/http/http-response.model-base.d.ts.map +1 -1
  104. package/build/_models/control-models/http/http-response.model-base.js +9 -0
  105. package/build/_models/control-models/http/http-response.model-base.js.map +1 -1
  106. package/build/_models/control-models/poll.control-model.d.ts +18 -0
  107. package/build/_models/control-models/poll.control-model.d.ts.map +1 -1
  108. package/build/_models/control-models/poll.control-model.js +18 -0
  109. package/build/_models/control-models/poll.control-model.js.map +1 -1
  110. package/build/_models/control-models/range-value.control-model.d.ts +141 -0
  111. package/build/_models/control-models/range-value.control-model.d.ts.map +1 -1
  112. package/build/_models/control-models/range-value.control-model.js +141 -0
  113. package/build/_models/control-models/range-value.control-model.js.map +1 -1
  114. package/build/_models/control-models/server-status.control-model.d.ts +10 -0
  115. package/build/_models/control-models/server-status.control-model.d.ts.map +1 -1
  116. package/build/_models/control-models/server-status.control-model.js +10 -0
  117. package/build/_models/control-models/server-status.control-model.js.map +1 -1
  118. package/build/_models/control-models/service-endpoint-settings-base.control-model.d.ts +12 -0
  119. package/build/_models/control-models/service-endpoint-settings-base.control-model.d.ts.map +1 -1
  120. package/build/_models/control-models/service-endpoint-settings-base.control-model.js +12 -0
  121. package/build/_models/control-models/service-endpoint-settings-base.control-model.js.map +1 -1
  122. package/build/_models/data-models/errors.data-model.d.ts +10 -0
  123. package/build/_models/data-models/errors.data-model.d.ts.map +1 -1
  124. package/build/_models/data-models/errors.data-model.js +10 -0
  125. package/build/_models/data-models/errors.data-model.js.map +1 -1
  126. package/build/_models/data-models/metadata.data-model.d.ts +26 -0
  127. package/build/_models/data-models/metadata.data-model.d.ts.map +1 -1
  128. package/build/_models/data-models/metadata.data-model.js +26 -0
  129. package/build/_models/data-models/metadata.data-model.js.map +1 -1
  130. package/build/_modules/ci-tools/_models/cit-ci-result-info.data-models.d.ts +23 -0
  131. package/build/_modules/ci-tools/_models/cit-ci-result-info.data-models.d.ts.map +1 -1
  132. package/build/_modules/ci-tools/_models/cit-ci-result-info.data-models.js +23 -0
  133. package/build/_modules/ci-tools/_models/cit-ci-result-info.data-models.js.map +1 -1
  134. package/build/_modules/custom-data/_models/cud.data-model.d.ts +7 -0
  135. package/build/_modules/custom-data/_models/cud.data-model.d.ts.map +1 -1
  136. package/build/_modules/custom-data/_models/cud.data-model.js +7 -0
  137. package/build/_modules/custom-data/_models/cud.data-model.js.map +1 -1
  138. package/build/_modules/location/_collections/loc-regions.util.d.ts +33 -0
  139. package/build/_modules/location/_collections/loc-regions.util.d.ts.map +1 -1
  140. package/build/_modules/location/_collections/loc-regions.util.js +33 -0
  141. package/build/_modules/location/_collections/loc-regions.util.js.map +1 -1
  142. package/build/_modules/location/_collections/loc.util.d.ts +10 -0
  143. package/build/_modules/location/_collections/loc.util.d.ts.map +1 -1
  144. package/build/_modules/location/_collections/loc.util.js +10 -0
  145. package/build/_modules/location/_collections/loc.util.js.map +1 -1
  146. package/futdevpro-fsm-dynamo-01.14.11.tgz +0 -0
  147. package/package.json +1 -1
  148. package/src/_collections/constants/data-sizes.const.ts +4 -4
  149. package/src/_collections/utils/array.util.ts +189 -0
  150. package/src/_collections/utils/async.util.ts +40 -0
  151. package/src/_collections/utils/json-error-helper.util.ts +38 -0
  152. package/src/_collections/utils/log.util.ts +194 -4
  153. package/src/_collections/utils/math/box-bounds.util.ts +36 -0
  154. package/src/_collections/utils/math/math.util.spec.ts +0 -10
  155. package/src/_collections/utils/math/math.util.ts +48 -16
  156. package/src/_collections/utils/math/random.util.ts +30 -0
  157. package/src/_collections/utils/math/trigonometry.util.ts +30 -0
  158. package/src/_collections/utils/math/vector2.util.ts +254 -24
  159. package/src/_collections/utils/regex/password-regex.util.ts +12 -0
  160. package/src/_collections/utils/round-list.util.ts +39 -0
  161. package/src/_collections/utils/stack.util.ts +19 -0
  162. package/src/_collections/utils/string.util.ts +17 -0
  163. package/src/_collections/utils/time.util.ts +136 -0
  164. package/src/_collections/utils/utilities.util.ts +17 -1
  165. package/src/_collections/utils/uuid.util.ts +6 -0
  166. package/src/_enums/data-model-type.enum.ts +6 -0
  167. package/src/_enums/http/http-call-type.enum.ts +8 -0
  168. package/src/_enums/http/http-event-type.enum.ts +5 -0
  169. package/src/_enums/time/day-of-week.enum.ts +14 -1
  170. package/src/_models/control-models/data-model-params.control-model.ts +11 -1
  171. package/src/_models/control-models/data-property-params.control-model.ts +8 -0
  172. package/src/_models/control-models/http/http-error-response.control-model.ts +25 -0
  173. package/src/_models/control-models/http/http-headers.control-model.ts +8 -0
  174. package/src/_models/control-models/http/http-response.model-base.ts +9 -0
  175. package/src/_models/control-models/poll.control-model.ts +18 -0
  176. package/src/_models/control-models/range-value.control-model.ts +141 -0
  177. package/src/_models/control-models/server-status.control-model.ts +10 -0
  178. package/src/_models/control-models/service-endpoint-settings-base.control-model.ts +12 -0
  179. package/src/_models/data-models/errors.data-model.ts +10 -0
  180. package/src/_models/data-models/metadata.data-model.ts +27 -0
  181. package/src/_modules/ci-tools/_models/cit-ci-result-info.data-models.ts +23 -0
  182. package/src/_modules/custom-data/_models/cud.data-model.ts +7 -0
  183. package/src/_modules/location/_collections/loc-regions.util.ts +34 -1
  184. package/src/_modules/location/_collections/loc.util.ts +10 -0
  185. package/futdevpro-fsm-dynamo-01.14.9.tgz +0 -0
@@ -25,6 +25,11 @@ class DyFM_Log {
25
25
  /**
26
26
  * Sets the style of the console log.
27
27
  * @param styles - The styles to set.
28
+ *
29
+ * @example
30
+ * ```ts
31
+ * DyFM_Log.setStyle([ DyFM_LogStyle.bold, DyFM_LogStyle.underline ]);
32
+ * ```
28
33
  */
29
34
  static setStyle(styles) {
30
35
  let styleSets = '';
@@ -35,6 +40,11 @@ class DyFM_Log {
35
40
  }
36
41
  /**
37
42
  * Resets the style of the console log.
43
+ *
44
+ * @example
45
+ * ```ts
46
+ * DyFM_Log.resetStyle();
47
+ * ```
38
48
  */
39
49
  static resetStyle() {
40
50
  console.log(log_style_enum_1.DyFM_LogStyle.reset);
@@ -45,6 +55,11 @@ class DyFM_Log {
45
55
  * @param styles - The styles to add.
46
56
  * @param dontReset - Whether to not reset the style.
47
57
  * @returns The input with the style added.
58
+ *
59
+ * @example
60
+ * ```ts
61
+ * const result = DyFM_Log.addStyle('Hello, world!', [ DyFM_LogStyle.bold, DyFM_LogStyle.underline ]);
62
+ * ```
48
63
  */
49
64
  static addStyle(input, styles, dontReset) {
50
65
  let result = '';
@@ -61,11 +76,12 @@ class DyFM_Log {
61
76
  * Logs a success message.
62
77
  * @param message - The message to log.
63
78
  * @param optionalParams - The optional parameters to log.
64
- */ /**
65
- * Logs a success message.
66
- * @param message - The message to log.
67
- * @param optionalParams - The optional parameters to log.
68
- */
79
+ *
80
+ * @example
81
+ * ```ts
82
+ * DyFM_Log.success('Hello, world!');
83
+ * ```
84
+ */
69
85
  static success(message, ...optionalParams) {
70
86
  if (0 < optionalParams.length) {
71
87
  console.log(`${this.successStyle}${message}`, ...optionalParams, log_style_enum_1.DyFM_LogStyle.reset);
@@ -82,6 +98,11 @@ class DyFM_Log {
82
98
  * Logs an error message.
83
99
  * @param message - The message to log.
84
100
  * @param optionalParams - The optional parameters to log.
101
+ *
102
+ * @example
103
+ * ```ts
104
+ * DyFM_Log.error('An error occurred: {errorMessage}', errorMessage);
105
+ * ```
85
106
  */
86
107
  static error(message, ...optionalParams) {
87
108
  if (0 < optionalParams.length) {
@@ -99,6 +120,11 @@ class DyFM_Log {
99
120
  * Logs a warning message.
100
121
  * @param message - The message to log.
101
122
  * @param optionalParams - The optional parameters to log.
123
+ *
124
+ * @example
125
+ * ```ts
126
+ * DyFM_Log.warn('A warning occurred: {warningMessage}', warningMessage);
127
+ * ```
102
128
  */
103
129
  static warn(message, ...optionalParams) {
104
130
  if (0 < optionalParams.length) {
@@ -122,6 +148,11 @@ class DyFM_Log {
122
148
  * Logs an info message.
123
149
  * @param message - The message to log.
124
150
  * @param optionalParams - The optional parameters to log.
151
+ *
152
+ * @example
153
+ * ```ts
154
+ * DyFM_Log.info('An info message: {infoMessage}', infoMessage);
155
+ * ```
125
156
  */
126
157
  static info(message, ...optionalParams) {
127
158
  if (0 < optionalParams.length) {
@@ -137,6 +168,11 @@ class DyFM_Log {
137
168
  * Logs a log message.
138
169
  * @param message - The message to log.
139
170
  * @param optionalParams - The optional parameters to log.
171
+ *
172
+ * @example
173
+ * ```ts
174
+ * DyFM_Log.log('A log message: {logMessage}', logMessage);
175
+ * ```
140
176
  */
141
177
  static log(message, ...optionalParams) {
142
178
  console.log(message, ...optionalParams);
@@ -146,6 +182,12 @@ class DyFM_Log {
146
182
  * @param message - The message to highlight.
147
183
  * @param optionalParams - The optional parameters to highlight.
148
184
  * @returns The highlighted message.
185
+ *
186
+ * @example
187
+ * ```ts
188
+ * const highlightedMessage = DyFM_Log.getHighlighted('A highlighted message: {highlightedMessage}', highlightedMessage);
189
+ * console.log(highlightedMessage); // A highlighted message: {highlightedMessage}
190
+ * ```
149
191
  */
150
192
  static getHighlighted(message, ...optionalParams) {
151
193
  return `${this.highlightedStyle}${message}${log_style_enum_1.DyFM_LogStyle.reset}`;
@@ -154,6 +196,11 @@ class DyFM_Log {
154
196
  * Logs a highlighted message.
155
197
  * @param message - The message to highlight.
156
198
  * @param optionalParams - The optional parameters to highlight.
199
+ *
200
+ * @example
201
+ * ```ts
202
+ * DyFM_Log.highlighted('A highlighted message: {highlightedMessage}', highlightedMessage);
203
+ * ```
157
204
  */
158
205
  static highlighted(message, ...optionalParams) {
159
206
  if (0 < optionalParams.length) {
@@ -163,6 +210,16 @@ class DyFM_Log {
163
210
  console.log(`${this.highlightedStyle}${message}${log_style_enum_1.DyFM_LogStyle.reset}`);
164
211
  }
165
212
  }
213
+ /**
214
+ * Logs a small log message.
215
+ * @param message - The message to log.
216
+ * @param optionalParams - The optional parameters to log.
217
+ *
218
+ * @example
219
+ * ```ts
220
+ * DyFM_Log.smallLog('A small log message: {smallLogMessage}', smallLogMessage);
221
+ * ```
222
+ */
166
223
  static smallLog(message, ...optionalParams) {
167
224
  console.log(this.h_small +
168
225
  '\n ' + this.asfel(message, 2), ...this.asfesop(optionalParams, 2), '\n' + this.h_small);
@@ -172,6 +229,11 @@ class DyFM_Log {
172
229
  * Tests a log message.
173
230
  * @param message - The message to test.
174
231
  * @param optionalParams - The optional parameters to test.
232
+ *
233
+ * @example
234
+ * ```ts
235
+ * DyFM_Log.testLog('A test log message: {testLogMessage}', testLogMessage);
236
+ * ```
175
237
  */
176
238
  static testLog(message, ...optionalParams) {
177
239
  this.log('\n\n' + this.h_test +
@@ -183,6 +245,11 @@ class DyFM_Log {
183
245
  * Logs a highlighted log message.
184
246
  * @param message - The message to highlight.
185
247
  * @param optionalParams - The optional parameters to highlight.
248
+ *
249
+ * @example
250
+ * ```ts
251
+ * DyFM_Log.highlightedLog('A highlighted log message: {highlightedLogMessage}', highlightedLogMessage);
252
+ * ```
186
253
  */
187
254
  static highlightedLog(message, ...optionalParams) {
188
255
  this.log('\n\n' + this.h_before +
@@ -193,6 +260,16 @@ class DyFM_Log {
193
260
  '\n' + this.h_after + '\n\n');
194
261
  }
195
262
  static H_log = DyFM_Log.highlightedLog;
263
+ /**
264
+ * Logs a small info message.
265
+ * @param message - The message to log.
266
+ * @param optionalParams - The optional parameters to log.
267
+ *
268
+ * @example
269
+ * ```ts
270
+ * DyFM_Log.smallInfo('A small info message: {smallInfoMessage}', smallInfoMessage);
271
+ * ```
272
+ */
196
273
  static smallInfo(message, ...optionalParams) {
197
274
  this.info(this.h_small +
198
275
  '\n ' + this.asfel(message, 2), ...this.asfesop(optionalParams, 2), '\n' + this.infoStyle + this.h_small);
@@ -202,6 +279,11 @@ class DyFM_Log {
202
279
  * Tests an info message.
203
280
  * @param message - The message to test.
204
281
  * @param optionalParams - The optional parameters to test.
282
+ *
283
+ * @example
284
+ * ```ts
285
+ * DyFM_Log.testInfo('A test info message: {testInfoMessage}', testInfoMessage);
286
+ * ```
205
287
  */
206
288
  static testInfo(message, ...optionalParams) {
207
289
  this.info('\n\n' + this.h_test +
@@ -212,6 +294,11 @@ class DyFM_Log {
212
294
  * Logs a highlighted info message.
213
295
  * @param message - The message to highlight.
214
296
  * @param optionalParams - The optional parameters to highlight.
297
+ *
298
+ * @example
299
+ * ```ts
300
+ * DyFM_Log.highlightedInfo('A highlighted info message: {highlightedInfoMessage}', highlightedInfoMessage);
301
+ * ```
215
302
  */
216
303
  static highlightedInfo(message, ...optionalParams) {
217
304
  this.info('\n\n' + this.h_before +
@@ -222,6 +309,16 @@ class DyFM_Log {
222
309
  '\n' + this.h_after + '\n\n');
223
310
  }
224
311
  static H_info = DyFM_Log.highlightedInfo;
312
+ /**
313
+ * Logs a small error message.
314
+ * @param message - The message to log.
315
+ * @param optionalParams - The optional parameters to log.
316
+ *
317
+ * @example
318
+ * ```ts
319
+ * DyFM_Log.smallError('A small error message: {smallErrorMessage}', smallErrorMessage);
320
+ * ```
321
+ */
225
322
  static smallError(message, ...optionalParams) {
226
323
  this.error(this.h_small +
227
324
  '\n ' + this.asfel(message, 2), ...this.asfesop(optionalParams, 2), '\n' + this.errorStyle + this.h_small);
@@ -231,6 +328,11 @@ class DyFM_Log {
231
328
  * Tests an error message.
232
329
  * @param message - The message to test.
233
330
  * @param optionalParams - The optional parameters to test.
331
+ *
332
+ * @example
333
+ * ```ts
334
+ * DyFM_Log.testError('A test error message: {testErrorMessage}', testErrorMessage);
335
+ * ```
234
336
  */
235
337
  static testError(message, ...optionalParams) {
236
338
  this.error('\n\n' + this.h_test +
@@ -241,6 +343,11 @@ class DyFM_Log {
241
343
  * Logs a highlighted error message.
242
344
  * @param message - The message to highlight.
243
345
  * @param optionalParams - The optional parameters to highlight.
346
+ *
347
+ * @example
348
+ * ```ts
349
+ * DyFM_Log.highlightedError('A highlighted error message: {highlightedErrorMessage}', highlightedErrorMessage);
350
+ * ```
244
351
  */
245
352
  static highlightedError(message, ...optionalParams) {
246
353
  this.error('\n\n' + this.h_before +
@@ -251,6 +358,16 @@ class DyFM_Log {
251
358
  '\n' + this.h_after + '\n\n');
252
359
  }
253
360
  static H_error = DyFM_Log.highlightedError;
361
+ /**
362
+ * Logs a small warning message.
363
+ * @param message - The message to log.
364
+ * @param optionalParams - The optional parameters to log.
365
+ *
366
+ * @example
367
+ * ```ts
368
+ * DyFM_Log.smallWarn('A small warning message: {smallWarnMessage}', smallWarnMessage);
369
+ * ```
370
+ */
254
371
  static smallWarn(message, ...optionalParams) {
255
372
  this.warn(this.h_small +
256
373
  '\n ' + this.asfel(message, 2), ...this.asfesop(optionalParams, 2), '\n' + this.warnStyle + this.h_small);
@@ -260,6 +377,11 @@ class DyFM_Log {
260
377
  * Tests a warning message.
261
378
  * @param message - The message to test.
262
379
  * @param optionalParams - The optional parameters to test.
380
+ *
381
+ * @example
382
+ * ```ts
383
+ * DyFM_Log.testWarn('A test warning message: {testWarnMessage}', testWarnMessage);
384
+ * ```
263
385
  */
264
386
  static testWarn(message, ...optionalParams) {
265
387
  this.warn('\n\n' + this.h_test +
@@ -270,6 +392,11 @@ class DyFM_Log {
270
392
  * Logs a highlighted warning message.
271
393
  * @param message - The message to highlight.
272
394
  * @param optionalParams - The optional parameters to highlight.
395
+ *
396
+ * @example
397
+ * ```ts
398
+ * DyFM_Log.highlightedWarn('A highlighted warning message: {highlightedWarnMessage}', highlightedWarnMessage);
399
+ * ```
273
400
  */
274
401
  static highlightedWarn(message, ...optionalParams) {
275
402
  this.warn('\n\n' + this.h_before +
@@ -280,6 +407,16 @@ class DyFM_Log {
280
407
  '\n' + this.h_after + '\n\n');
281
408
  }
282
409
  static H_warn = DyFM_Log.highlightedWarn;
410
+ /**
411
+ * Logs a small success message.
412
+ * @param message - The message to log.
413
+ * @param optionalParams - The optional parameters to log.
414
+ *
415
+ * @example
416
+ * ```ts
417
+ * DyFM_Log.smallSuccess('A small success message: {smallSuccessMessage}', smallSuccessMessage);
418
+ * ```
419
+ */
283
420
  static smallSuccess(message, ...optionalParams) {
284
421
  this.success(this.h_small +
285
422
  '\n ' + this.asfel(message, 2), ...this.asfesop(optionalParams, 2), '\n' + this.successStyle + this.h_small);
@@ -289,6 +426,11 @@ class DyFM_Log {
289
426
  * Tests a success message.
290
427
  * @param message - The message to test.
291
428
  * @param optionalParams - The optional parameters to test.
429
+ *
430
+ * @example
431
+ * ```ts
432
+ * DyFM_Log.testSuccess('A test success message: {testSuccessMessage}', testSuccessMessage);
433
+ * ```
292
434
  */
293
435
  static testSuccess(message, ...optionalParams) {
294
436
  this.success('\n\n' + this.h_test +
@@ -322,12 +464,22 @@ class DyFM_Log {
322
464
  }
323
465
  /**
324
466
  * Silences all logs.
467
+ *
468
+ * @example
469
+ * ```ts
470
+ * DyFM_Log.silenceLogs();
471
+ * ```
325
472
  */
326
473
  static silenceLogs() {
327
474
  console.log = () => { };
328
475
  }
329
476
  /**
330
477
  * Silences non-error logs.
478
+ *
479
+ * @example
480
+ * ```ts
481
+ * DyFM_Log.silenceNonErrorLogs();
482
+ * ```
331
483
  */
332
484
  static silenceNonErrorLogs() {
333
485
  console.log = () => { };
@@ -336,6 +488,11 @@ class DyFM_Log {
336
488
  }
337
489
  /**
338
490
  * Silences all logs.
491
+ *
492
+ * @example
493
+ * ```ts
494
+ * DyFM_Log.silenceConsole();
495
+ * ```
339
496
  */
340
497
  static silenceConsole() {
341
498
  console.log = () => { };
@@ -347,6 +504,13 @@ class DyFM_Log {
347
504
  * Adds breaks and tabs to the string parameters.
348
505
  * @param params - The parameters to add the breaks and tabs to.
349
506
  * @returns The parameters with the breaks and tabs added.
507
+ *
508
+ * @example
509
+ * ```ts
510
+ * const params = [ 'Hello, world!', 'Hello, world!', 'Hello, world!' ];
511
+ * const result = DyFM_Log.addBreaksAndTabsToStringParams(params);
512
+ * console.log(result); // [ 'Hello, world!', 'Hello, world!', 'Hello, world!' ]
513
+ * ```
350
514
  */
351
515
  static addBreaksAndTabsToStringParams(params) {
352
516
  return params.map((param) => {
@@ -358,10 +522,36 @@ class DyFM_Log {
358
522
  }
359
523
  });
360
524
  }
525
+ /**
526
+ * Adds spaces for each line.
527
+ * @param message - The message to add the spaces to.
528
+ * @param spaces - The number of spaces to add.
529
+ * @returns The message with the spaces added.
530
+ *
531
+ * @example
532
+ * ```ts
533
+ * const message = 'Hello, world!\nHello, world!\nHello, world!';
534
+ * const result = DyFM_Log.addSpacesForEachLine(message, 2);
535
+ * console.log(result); // Hello, world! Hello, world! Hello, world!
536
+ * ```
537
+ */
361
538
  static addSpacesForEachLine(message, spaces) {
362
539
  return message.replaceAll('\n', '\n' + ' '.repeat(spaces));
363
540
  }
364
541
  static asfel = this.addSpacesForEachLine;
542
+ /**
543
+ * Adds spaces for each string optional parameter.
544
+ * @param params - The parameters to add the spaces to.
545
+ * @param spaces - The number of spaces to add.
546
+ * @returns The parameters with the spaces added.
547
+ *
548
+ * @example
549
+ * ```ts
550
+ * const params = [ 'Hello, world!', 'Hello, world!', 'Hello, world!' ];
551
+ * const result = DyFM_Log.addSpacesForEachStringOptionalParam(params, 2);
552
+ * console.log(result); // [ 'Hello, world! Hello, world! Hello, world!' ]
553
+ * ```
554
+ */
365
555
  static addSpacesForEachStringOptionalParam(params, spaces) {
366
556
  return params.map((param) => {
367
557
  if (typeof param === 'string') {
@@ -1 +1 @@
1
- {"version":3,"file":"log.util.js","sourceRoot":"","sources":["../../../src/_collections/utils/log.util.ts"],"names":[],"mappings":";;;AACA,gEAA+E;AAK/E;;;;GAIG;AACH,MAAa,QAAQ;IAEnB,MAAM,CAAU,SAAS,GAAW,8BAAa,CAAC,IAAI,CAAC;IACvD,MAAM,CAAU,UAAU,GAAW,8BAAa,CAAC,GAAG,CAAC;IACvD,MAAM,CAAU,SAAS,GAAW,8BAAa,CAAC,YAAY,CAAC;IAC/D,MAAM,CAAU,YAAY,GAAW,8BAAa,CAAC,KAAK,CAA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AG,GAAG,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC;IAC7D,CAAC;IACO,MAAM,CAAC,KAAK,GAAG,IAAI,CAAC,oBAAoB,CAAC;IAEjD;;;;;;;;;;;;OAYG;IACH,MAAM,CAAC,mCAAmC,CAAC,MAAa,EAAE,MAAc;QACtE,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC,KAAU,EAAO,EAAE;YACpC,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;gBAC9B,OAAO,IAAI,CAAC,oBAAoB,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;YAClD,CAAC;iBAAM,CAAC;gBACN,OAAO,KAAK,CAAC;YACf,CAAC;QACH,CAAC,CAAC,CAAC;IACL,CAAC;IACO,MAAM,CAAC,OAAO,GAAG,IAAI,CAAC,mCAAmC,CAAC;;AA3oBpE,4BA4oBC"}
@@ -6,6 +6,13 @@ import { DyFM_Vector2_Util } from './vector2.util';
6
6
  * is that static functions return new BoxBounds,
7
7
  * while instance functions change the current BoxBounds and returns itself.
8
8
  * (if this is not true, report it as a bug)
9
+ *
10
+ * @example
11
+ * ```ts
12
+ * const boxBounds = new DyFM_BoxBounds_Util({ x: 0, y: 0 }, { x: 10, y: 10 });
13
+ * boxBounds.pos = { x: 5, y: 5 };
14
+ * console.log(boxBounds.pos);
15
+ * ```
9
16
  */
10
17
  export declare class DyFM_BoxBounds_Util {
11
18
  private readonly _pos;
@@ -50,18 +57,41 @@ export declare class DyFM_BoxBounds_Util {
50
57
  /**
51
58
  * sets the position and size of the box bounds
52
59
  * (this will also recalculate the center and centerMargin)
60
+ *
61
+ * @example
62
+ * ```ts
63
+ * const boxBounds = new DyFM_BoxBounds_Util({ x: 0, y: 0 }, { x: 10, y: 10 });
64
+ * boxBounds.newValues({ x: 5, y: 5 }, { x: 20, y: 20 });
65
+ * ```
53
66
  */
54
67
  newValues(position: DyFM_Vector2, size: DyFM_Vector2): void;
55
68
  /**
56
69
  * returns true if the position is within the box bounds
70
+ *
71
+ * @example
72
+ * ```ts
73
+ * const boxBounds = new DyFM_BoxBounds_Util({ x: 0, y: 0 }, { x: 10, y: 10 });
74
+ * const position = new DyFM_Vector2({ x: 5, y: 5 });
75
+ * const isWithinBounds = DyFM_BoxBounds_Util.bounds(boxBounds, position);
76
+ * console.log(isWithinBounds);
77
+ * ```
57
78
  */
58
79
  static bounds(box: DyFM_BoxBounds_Util, position: DyFM_Vector2): boolean;
59
80
  /**
60
81
  * returns true if the position is within the box bounds
82
+ *
83
+ * @example
84
+ * ```ts
85
+ * const boxBounds = new DyFM_BoxBounds_Util({ x: 0, y: 0 }, { x: 10, y: 10 });
86
+ * const isWithinBounds = boxBounds.bounds(new DyFM_Vector2({ x: 5, y: 5 });
87
+ * console.log(isWithinBounds);
88
+ * ```
61
89
  */
62
90
  bounds(position: DyFM_Vector2): boolean;
63
91
  /**
64
92
  * calculates the center and centerMargin of the box bounds
93
+ *
94
+ * only usable inside the class
65
95
  */
66
96
  private calcCenter;
67
97
  /**
@@ -72,6 +102,12 @@ export declare class DyFM_BoxBounds_Util {
72
102
  toBoxBounds: () => DyFM_BoxBounds;
73
103
  /**
74
104
  * returns a new DyFM_BoxBounds_Util with the same position and size
105
+ *
106
+ * @example
107
+ * ```ts
108
+ * const boxBounds = new DyFM_BoxBounds_Util({ x: 0, y: 0 }, { x: 10, y: 10 });
109
+ * const clonedBoxBounds = boxBounds.clone();
110
+ * ```
75
111
  */
76
112
  clone(): DyFM_BoxBounds_Util;
77
113
  }
@@ -1 +1 @@
1
- {"version":3,"file":"box-bounds.util.d.ts","sourceRoot":"","sources":["../../../../src/_collections/utils/math/box-bounds.util.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,kDAAkD,CAAC;AAClF,OAAO,EAAE,YAAY,EAAE,MAAM,+CAA+C,CAAC;AAC7E,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAEnD;;;;;GAKG;AACH,qBAAa,mBAAmB;IAC9B,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAoB;IACzC;;OAEG;IACH,IAAI,GAAG,CAAC,KAAK,EAAE,YAAY,EAI1B;IACD;;OAEG;IACH,IAAI,GAAG,IAAI,iBAAiB,CAE3B;IAED,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAoB;IAC1C;;OAEG;IACH,IAAI,IAAI,CAAC,KAAK,EAAE,YAAY,EAI3B;IACD;;OAEG;IACH,IAAI,IAAI,IAAI,iBAAiB,CAE5B;IAED,OAAO,CAAC,OAAO,CAAqB;IACpC;;;OAGG;IACH,IAAI,MAAM,IAAI,iBAAiB,CAE9B;IAED,OAAO,CAAC,aAAa,CAAqB;IAC1C;;;OAGG;IACH,IAAI,YAAY,IAAI,iBAAiB,CAEpC;;IAGC,sBAAsB;IACtB,QAAQ,CAAC,EAAE,YAAY;IACvB,uBAAuB;IACvB,IAAI,CAAC,EAAE,YAAY;IAQrB;;OAEG;IACH,WAAW,IAAI,OAAO;IAItB;;;OAGG;IACH,SAAS,CAAC,QAAQ,EAAE,YAAY,EAAE,IAAI,EAAE,YAAY,GAAG,IAAI;IAe3D;;OAEG;IACH,MAAM,CAAC,MAAM,CAAC,GAAG,EAAE,mBAAmB,EAAE,QAAQ,EAAE,YAAY,GAAG,OAAO;IAIxE;;OAEG;IACH,MAAM,CAAC,QAAQ,EAAE,YAAY,GAAG,OAAO;IAIvC;;OAEG;IACH,OAAO,CAAC,UAAU;IAOlB;;OAEG;IACH,GAAG,IAAI,cAAc;IAQrB,YAAY,QARL,cAAc,CAQG;IACxB,WAAW,QATJ,cAAc,CASE;IAEvB;;OAEG;IACH,KAAK,IAAI,mBAAmB;CAG7B"}
1
+ {"version":3,"file":"box-bounds.util.d.ts","sourceRoot":"","sources":["../../../../src/_collections/utils/math/box-bounds.util.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,kDAAkD,CAAC;AAClF,OAAO,EAAE,YAAY,EAAE,MAAM,+C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7
7
  * is that static functions return new BoxBounds,
8
8
  * while instance functions change the current BoxBounds and returns itself.
9
9
  * (if this is not true, report it as a bug)
10
+ *
11
+ * @example
12
+ * ```ts
13
+ * const boxBounds = new DyFM_BoxBounds_Util({ x: 0, y: 0 }, { x: 10, y: 10 });
14
+ * boxBounds.pos = { x: 5, y: 5 };
15
+ * console.log(boxBounds.pos);
16
+ * ```
10
17
  */
11
18
  class DyFM_BoxBounds_Util {
12
19
  _pos;
@@ -71,6 +78,12 @@ class DyFM_BoxBounds_Util {
71
78
  /**
72
79
  * sets the position and size of the box bounds
73
80
  * (this will also recalculate the center and centerMargin)
81
+ *
82
+ * @example
83
+ * ```ts
84
+ * const boxBounds = new DyFM_BoxBounds_Util({ x: 0, y: 0 }, { x: 10, y: 10 });
85
+ * boxBounds.newValues({ x: 5, y: 5 }, { x: 20, y: 20 });
86
+ * ```
74
87
  */
75
88
  newValues(position, size) {
76
89
  if (position === undefined) {
@@ -85,6 +98,14 @@ class DyFM_BoxBounds_Util {
85
98
  }
86
99
  /**
87
100
  * returns true if the position is within the box bounds
101
+ *
102
+ * @example
103
+ * ```ts
104
+ * const boxBounds = new DyFM_BoxBounds_Util({ x: 0, y: 0 }, { x: 10, y: 10 });
105
+ * const position = new DyFM_Vector2({ x: 5, y: 5 });
106
+ * const isWithinBounds = DyFM_BoxBounds_Util.bounds(boxBounds, position);
107
+ * console.log(isWithinBounds);
108
+ * ```
88
109
  */
89
110
  static bounds(box, position) {
90
111
  return box.pos.x <= position.x && position.x <= box.pos.x + box.size.x &&
@@ -92,12 +113,21 @@ class DyFM_BoxBounds_Util {
92
113
  }
93
114
  /**
94
115
  * returns true if the position is within the box bounds
116
+ *
117
+ * @example
118
+ * ```ts
119
+ * const boxBounds = new DyFM_BoxBounds_Util({ x: 0, y: 0 }, { x: 10, y: 10 });
120
+ * const isWithinBounds = boxBounds.bounds(new DyFM_Vector2({ x: 5, y: 5 });
121
+ * console.log(isWithinBounds);
122
+ * ```
95
123
  */
96
124
  bounds(position) {
97
125
  return DyFM_BoxBounds_Util.bounds(this, position);
98
126
  }
99
127
  /**
100
128
  * calculates the center and centerMargin of the box bounds
129
+ *
130
+ * only usable inside the class
101
131
  */
102
132
  calcCenter() {
103
133
  const halfSize = vector2_util_1.DyFM_Vector2_Util.divide(this.size, 2);
@@ -119,6 +149,12 @@ class DyFM_BoxBounds_Util {
119
149
  toBoxBounds = this.get;
120
150
  /**
121
151
  * returns a new DyFM_BoxBounds_Util with the same position and size
152
+ *
153
+ * @example
154
+ * ```ts
155
+ * const boxBounds = new DyFM_BoxBounds_Util({ x: 0, y: 0 }, { x: 10, y: 10 });
156
+ * const clonedBoxBounds = boxBounds.clone();
157
+ * ```
122
158
  */
123
159
  clone() {
124
160
  return new DyFM_BoxBounds_Util(this._pos.clone(), this._size.clone());
@@ -1 +1 @@
1
- {"version":3,"file":"box-bounds.util.js","sourceRoot":"","sources":["../../../../src/_collections/utils/math/box-bounds.util.ts"],"names":[],"mappings":";;;AAIA,iDAAmD;AAEnD;;;;;GAKG;AACH,MAAa,mBAAmB;IACb,IAAI,CAAoB;IACzC;;OAEG;IACH,IAAI,GAAG,CAAC,KAAmB;QACzB,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;QAE3B,IAAI,CAAC,UAAU,EAAE,CAAC;IACpB,CAAC;IACD;;OAEG;IACH,IAAI,GAAG;QACL,OAAO,IAAI,CAAC,IAAI,CAAC;IACnB,CAAC;IAEgB,KAAK,CAAoB;IAC1C;;OAEG;IACH,IAAI,IAAI,CAAC,KAAmB;QAC1B,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;QAE5B,IAAI,CAAC,UAAU,EAAE,CAAC;IACpB,CAAC;IACD;;OAEG;IACH,IAAI,IAAI;QACN,OAAO,IAAI,CAAC,KAAK,CAAC;IACpB,CAAC;IAEO,OAAO,CAAqB;IACpC;;;OAGG;IACH,IAAI,MAAM;QACR,OAAO,IAAI,CAA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AC,IAAI,CAAC,CAAC,CAAC;IAC1E,CAAC;IACD;;OAEG;IACH,MAAM,CAAC,QAAsB;QAC3B,OAAO,mBAAmB,CAAC,MAAM,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;IACpD,CAAC;IAED;;OAEG;IACK,UAAU;QAChB,MAAM,QAAQ,GAAG,gCAAiB,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;QAExD,IAAI,CAAC,OAAO,GAAG,gCAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC;QAC1D,IAAI,CAAC,aAAa,GAAG,gCAAiB,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;IAC5D,CAAC;IAED;;OAEG;IACH,GAAG;QACD,OAAO;YACL,GAAG,EAAE,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;YACpB,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,GAAG,EAAE;YACtB,MAAM,EAAE,IAAI,CAAC,OAAO,CAAC,GAAG,EAAE;YAC1B,YAAY,EAAE,IAAI,CAAC,aAAa,CAAC,GAAG,EAAE;SACvC,CAAC;IACJ,CAAC;IACD,YAAY,GAAG,IAAI,CAAC,GAAG,CAAC;IACxB,WAAW,GAAG,IAAI,CAAC,GAAG,CAAC;IAEvB;;OAEG;IACH,KAAK;QACH,OAAO,IAAI,mBAAmB,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC,CAAC;IACxE,CAAC;CACF;AArID,kDAqIC"}
1
+ {"version":3,"file":"box-bounds.util.js","sourceRoot":"","sources":["../../../../src/_collections/utils/math/box-bounds.util.ts"],"names":[],"mappings":";;;AAIA,iDAAmD;AAEnD;;;;;;;;;;;;GAYG;AACH,MAAa,mBAAmB;IACb,IAAI,CAAoB;IACzC;;OAEG;IACH,IAAI,GAAG,CAAC,KAAmB;QACzB,IAAI,C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