@rxap/config 19.0.4-dev.0 → 19.1.0-dev.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 (97) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/compodoc/changelog.html +10 -0
  3. package/compodoc/dependencies.html +2 -2
  4. package/compodoc/injectables/ConfigService.html +106 -38
  5. package/compodoc/interfaces/ConfigLoadOptions.html +175 -3
  6. package/compodoc/js/search/search_index.js +2 -2
  7. package/compodoc/miscellaneous/functions.html +482 -1
  8. package/compodoc/properties.html +1 -1
  9. package/docs/documentation.json +1233 -545
  10. package/docs/html/assets/hierarchy.js +1 -1
  11. package/docs/html/assets/navigation.js +1 -1
  12. package/docs/html/assets/search.js +1 -1
  13. package/docs/html/classes/ConfigLoaderService.html +2 -2
  14. package/docs/html/classes/ConfigService.html +6 -6
  15. package/docs/html/classes/ConfigTestingService.html +2 -2
  16. package/docs/html/functions/ProvideConfig.html +1 -1
  17. package/docs/html/functions/dnsLookup.html +1 -0
  18. package/docs/html/functions/dnsResolver.html +1 -0
  19. package/docs/html/functions/fetchCidContent.html +1 -0
  20. package/docs/html/functions/fetchCidContentAsJson.html +1 -0
  21. package/docs/html/functions/fetchCidContentViaHttp.html +1 -0
  22. package/docs/html/functions/fetchContentViaHttp.html +1 -0
  23. package/docs/html/hierarchy.html +1 -1
  24. package/docs/html/index.html +2 -2
  25. package/docs/html/interfaces/AppsNavigationConfig.html +2 -2
  26. package/docs/html/interfaces/Config.html +2 -2
  27. package/docs/html/interfaces/ConfigLoadOptions.html +9 -3
  28. package/docs/html/interfaces/LogoConfig.html +2 -2
  29. package/docs/html/interfaces/NavigationConfig.html +2 -2
  30. package/docs/html/interfaces/Oauth2Config.html +2 -2
  31. package/docs/html/interfaces/i18nConfig.html +2 -2
  32. package/docs/html/modules.html +1 -1
  33. package/docs/html/types/AnySchema.html +1 -1
  34. package/docs/html/types/Join.html +1 -1
  35. package/docs/html/types/LanguagesConfig.html +1 -1
  36. package/docs/html/types/Leaves.html +1 -1
  37. package/docs/html/types/NoInferType.html +1 -1
  38. package/docs/html/types/Paths.html +1 -1
  39. package/docs/html/variables/RXAP_CONFIG.html +1 -1
  40. package/docs/markdown/README.md +1 -1
  41. package/docs/markdown/classes/ConfigLoaderService.md +7 -7
  42. package/docs/markdown/classes/ConfigService.md +22 -22
  43. package/docs/markdown/classes/ConfigTestingService.md +8 -8
  44. package/docs/markdown/functions/ProvideConfig.md +2 -2
  45. package/docs/markdown/functions/dnsLookup.md +29 -0
  46. package/docs/markdown/functions/dnsResolver.md +29 -0
  47. package/docs/markdown/functions/fetchCidContent.md +25 -0
  48. package/docs/markdown/functions/fetchCidContentAsJson.md +25 -0
  49. package/docs/markdown/functions/fetchCidContentViaHttp.md +25 -0
  50. package/docs/markdown/functions/fetchContentViaHttp.md +21 -0
  51. package/docs/markdown/globals.md +8 -2
  52. package/docs/markdown/interfaces/AppsNavigationConfig.md +12 -12
  53. package/docs/markdown/interfaces/Config.md +6 -6
  54. package/docs/markdown/interfaces/ConfigLoadOptions.md +29 -7
  55. package/docs/markdown/interfaces/LogoConfig.md +5 -5
  56. package/docs/markdown/interfaces/NavigationConfig.md +8 -8
  57. package/docs/markdown/interfaces/Oauth2Config.md +3 -3
  58. package/docs/markdown/interfaces/i18nConfig.md +4 -4
  59. package/docs/markdown/type-aliases/AnySchema.md +2 -2
  60. package/docs/markdown/type-aliases/Join.md +2 -2
  61. package/docs/markdown/type-aliases/LanguagesConfig.md +2 -2
  62. package/docs/markdown/type-aliases/Leaves.md +2 -2
  63. package/docs/markdown/type-aliases/NoInferType.md +2 -2
  64. package/docs/markdown/type-aliases/Paths.md +2 -2
  65. package/docs/markdown/variables/RXAP_CONFIG.md +2 -2
  66. package/docs/wiki/Class.ConfigLoaderService.md +6 -6
  67. package/docs/wiki/Class.ConfigService.md +21 -21
  68. package/docs/wiki/Class.ConfigTestingService.md +7 -7
  69. package/docs/wiki/Function.ProvideConfig.md +1 -1
  70. package/docs/wiki/Function.dnsLookup.md +25 -0
  71. package/docs/wiki/Function.dnsResolver.md +25 -0
  72. package/docs/wiki/Function.fetchCidContent.md +21 -0
  73. package/docs/wiki/Function.fetchCidContentAsJson.md +21 -0
  74. package/docs/wiki/Function.fetchCidContentViaHttp.md +21 -0
  75. package/docs/wiki/Function.fetchContentViaHttp.md +17 -0
  76. package/docs/wiki/Interface.AppsNavigationConfig.md +11 -11
  77. package/docs/wiki/Interface.Config.md +5 -5
  78. package/docs/wiki/Interface.ConfigLoadOptions.md +28 -6
  79. package/docs/wiki/Interface.LogoConfig.md +4 -4
  80. package/docs/wiki/Interface.NavigationConfig.md +7 -7
  81. package/docs/wiki/Interface.Oauth2Config.md +2 -2
  82. package/docs/wiki/Interface.i18nConfig.md +3 -3
  83. package/docs/wiki/TypeAlias.AnySchema.md +1 -1
  84. package/docs/wiki/TypeAlias.Join.md +1 -1
  85. package/docs/wiki/TypeAlias.LanguagesConfig.md +1 -1
  86. package/docs/wiki/TypeAlias.Leaves.md +1 -1
  87. package/docs/wiki/TypeAlias.NoInferType.md +1 -1
  88. package/docs/wiki/TypeAlias.Paths.md +1 -1
  89. package/docs/wiki/Variable.RXAP_CONFIG.md +1 -1
  90. package/docs/wiki/_Sidebar.md +6 -0
  91. package/docs/wiki/globals.md +7 -1
  92. package/fesm2022/rxap-config.mjs +165 -5
  93. package/fesm2022/rxap-config.mjs.map +1 -1
  94. package/index.d.ts +1 -0
  95. package/lib/config.service.d.ts +12 -0
  96. package/lib/utilities.d.ts +7 -0
  97. package/package.json +6 -6
@@ -111,6 +111,24 @@
111
111
  <tr>
112
112
  <td class="col-md-4">
113
113
  <ul class="index-list">
114
+ <li>
115
+ <a href="#dnsLookup" title="src/lib/utilities.ts" ><b>dnsLookup</b>&nbsp;&nbsp;&nbsp;(src/.../utilities.ts)</a>
116
+ </li>
117
+ <li>
118
+ <a href="#dnsResolver" title="src/lib/utilities.ts" ><b>dnsResolver</b>&nbsp;&nbsp;&nbsp;(src/.../utilities.ts)</a>
119
+ </li>
120
+ <li>
121
+ <a href="#fetchCidContent" title="src/lib/utilities.ts" ><b>fetchCidContent</b>&nbsp;&nbsp;&nbsp;(src/.../utilities.ts)</a>
122
+ </li>
123
+ <li>
124
+ <a href="#fetchCidContentAsJson" title="src/lib/utilities.ts" ><b>fetchCidContentAsJson</b>&nbsp;&nbsp;&nbsp;(src/.../utilities.ts)</a>
125
+ </li>
126
+ <li>
127
+ <a href="#fetchCidContentViaHttp" title="src/lib/utilities.ts" ><b>fetchCidContentViaHttp</b>&nbsp;&nbsp;&nbsp;(src/.../utilities.ts)</a>
128
+ </li>
129
+ <li>
130
+ <a href="#fetchContentViaHttp" title="src/lib/utilities.ts" ><b>fetchContentViaHttp</b>&nbsp;&nbsp;&nbsp;(src/.../utilities.ts)</a>
131
+ </li>
114
132
  <li>
115
133
  <a href="#initGenerator" title="src/generators/init/generator.ts" ><b>initGenerator</b>&nbsp;&nbsp;&nbsp;(src/.../generator.ts)</a>
116
134
  </li>
@@ -124,7 +142,470 @@
124
142
  </table>
125
143
  </section>
126
144
 
127
- <h3>src/generators/init/generator.ts</h3>
145
+ <h3>src/lib/utilities.ts</h3>
146
+ <section data-compodoc="block-methods">
147
+ <h3></h3> <table class="table table-sm table-bordered">
148
+ <tbody>
149
+ <tr>
150
+ <td class="col-md-4">
151
+ <a name="dnsLookup"></a>
152
+ <span class="name">
153
+ <span ><b>dnsLookup</b></span>
154
+ <a href="#dnsLookup"><span class="icon ion-ios-link"></span></a>
155
+ </span>
156
+ </td>
157
+ </tr>
158
+ <tr>
159
+ <td class="col-md-4">
160
+ <code>dnsLookup(name: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>, type: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>, dnsServers: [])</code>
161
+ </td>
162
+ </tr>
163
+
164
+
165
+
166
+
167
+ <tr>
168
+ <td class="col-md-4">
169
+
170
+ <div class="io-description">
171
+ <b>Parameters :</b>
172
+
173
+ <table class="params">
174
+ <thead>
175
+ <tr>
176
+ <td>Name</td>
177
+ <td>Type</td>
178
+ <td>Optional</td>
179
+ <td>Default value</td>
180
+ </tr>
181
+ </thead>
182
+ <tbody>
183
+ <tr>
184
+ <td>name</td>
185
+ <td>
186
+ <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
187
+ </td>
188
+
189
+ <td>
190
+ No
191
+ </td>
192
+
193
+ <td>
194
+ </td>
195
+
196
+ </tr>
197
+ <tr>
198
+ <td>type</td>
199
+ <td>
200
+ <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
201
+ </td>
202
+
203
+ <td>
204
+ No
205
+ </td>
206
+
207
+ <td>
208
+ </td>
209
+
210
+ </tr>
211
+ <tr>
212
+ <td>dnsServers</td>
213
+ <td>
214
+ <code>[]</code>
215
+ </td>
216
+
217
+ <td>
218
+ No
219
+ </td>
220
+
221
+ <td>
222
+ <code>[
223
+ &#x27;https://dns.google/resolve&#x27;,
224
+ &#x27;https://cloudflare-dns.com/dns-query&#x27;
225
+ ]</code>
226
+ </td>
227
+
228
+ </tr>
229
+ </tbody>
230
+ </table>
231
+ </div>
232
+ <div class="io-description">
233
+ <b>Returns : </b> <code>Promise&lt;string&gt;</code>
234
+
235
+ </div>
236
+ <div class="io-description">
237
+
238
+ </div>
239
+ </td>
240
+ </tr>
241
+ </tbody>
242
+ </table>
243
+ <table class="table table-sm table-bordered">
244
+ <tbody>
245
+ <tr>
246
+ <td class="col-md-4">
247
+ <a name="dnsResolver"></a>
248
+ <span class="name">
249
+ <span ><b>dnsResolver</b></span>
250
+ <a href="#dnsResolver"><span class="icon ion-ios-link"></span></a>
251
+ </span>
252
+ </td>
253
+ </tr>
254
+ <tr>
255
+ <td class="col-md-4">
256
+ <code>dnsResolver(endpoint: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>, name: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>, type: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>)</code>
257
+ </td>
258
+ </tr>
259
+
260
+
261
+
262
+
263
+ <tr>
264
+ <td class="col-md-4">
265
+
266
+ <div class="io-description">
267
+ <b>Parameters :</b>
268
+
269
+ <table class="params">
270
+ <thead>
271
+ <tr>
272
+ <td>Name</td>
273
+ <td>Type</td>
274
+ <td>Optional</td>
275
+ </tr>
276
+ </thead>
277
+ <tbody>
278
+ <tr>
279
+ <td>endpoint</td>
280
+ <td>
281
+ <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
282
+ </td>
283
+
284
+ <td>
285
+ No
286
+ </td>
287
+
288
+
289
+ </tr>
290
+ <tr>
291
+ <td>name</td>
292
+ <td>
293
+ <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
294
+ </td>
295
+
296
+ <td>
297
+ No
298
+ </td>
299
+
300
+
301
+ </tr>
302
+ <tr>
303
+ <td>type</td>
304
+ <td>
305
+ <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
306
+ </td>
307
+
308
+ <td>
309
+ No
310
+ </td>
311
+
312
+
313
+ </tr>
314
+ </tbody>
315
+ </table>
316
+ </div>
317
+ <div class="io-description">
318
+ <b>Returns : </b> <code>Promise&lt;string&gt;</code>
319
+
320
+ </div>
321
+ <div class="io-description">
322
+
323
+ </div>
324
+ </td>
325
+ </tr>
326
+ </tbody>
327
+ </table>
328
+ <table class="table table-sm table-bordered">
329
+ <tbody>
330
+ <tr>
331
+ <td class="col-md-4">
332
+ <a name="fetchCidContent"></a>
333
+ <span class="name">
334
+ <span ><b>fetchCidContent</b></span>
335
+ <a href="#fetchCidContent"><span class="icon ion-ios-link"></span></a>
336
+ </span>
337
+ </td>
338
+ </tr>
339
+ <tr>
340
+ <td class="col-md-4">
341
+ <code>fetchCidContent(cid: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>, path?: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>)</code>
342
+ </td>
343
+ </tr>
344
+
345
+
346
+
347
+
348
+ <tr>
349
+ <td class="col-md-4">
350
+
351
+ <div class="io-description">
352
+ <b>Parameters :</b>
353
+
354
+ <table class="params">
355
+ <thead>
356
+ <tr>
357
+ <td>Name</td>
358
+ <td>Type</td>
359
+ <td>Optional</td>
360
+ </tr>
361
+ </thead>
362
+ <tbody>
363
+ <tr>
364
+ <td>cid</td>
365
+ <td>
366
+ <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
367
+ </td>
368
+
369
+ <td>
370
+ No
371
+ </td>
372
+
373
+
374
+ </tr>
375
+ <tr>
376
+ <td>path</td>
377
+ <td>
378
+ <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
379
+ </td>
380
+
381
+ <td>
382
+ Yes
383
+ </td>
384
+
385
+
386
+ </tr>
387
+ </tbody>
388
+ </table>
389
+ </div>
390
+ <div class="io-description">
391
+ <b>Returns : </b> <code>Promise&lt;Blob | null&gt;</code>
392
+
393
+ </div>
394
+ <div class="io-description">
395
+
396
+ </div>
397
+ </td>
398
+ </tr>
399
+ </tbody>
400
+ </table>
401
+ <table class="table table-sm table-bordered">
402
+ <tbody>
403
+ <tr>
404
+ <td class="col-md-4">
405
+ <a name="fetchCidContentAsJson"></a>
406
+ <span class="name">
407
+ <span ><b>fetchCidContentAsJson</b></span>
408
+ <a href="#fetchCidContentAsJson"><span class="icon ion-ios-link"></span></a>
409
+ </span>
410
+ </td>
411
+ </tr>
412
+ <tr>
413
+ <td class="col-md-4">
414
+ <code>fetchCidContentAsJson(cid: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>, path?: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>)</code>
415
+ </td>
416
+ </tr>
417
+
418
+
419
+
420
+
421
+ <tr>
422
+ <td class="col-md-4">
423
+
424
+ <div class="io-description">
425
+ <b>Parameters :</b>
426
+
427
+ <table class="params">
428
+ <thead>
429
+ <tr>
430
+ <td>Name</td>
431
+ <td>Type</td>
432
+ <td>Optional</td>
433
+ </tr>
434
+ </thead>
435
+ <tbody>
436
+ <tr>
437
+ <td>cid</td>
438
+ <td>
439
+ <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
440
+ </td>
441
+
442
+ <td>
443
+ No
444
+ </td>
445
+
446
+
447
+ </tr>
448
+ <tr>
449
+ <td>path</td>
450
+ <td>
451
+ <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
452
+ </td>
453
+
454
+ <td>
455
+ Yes
456
+ </td>
457
+
458
+
459
+ </tr>
460
+ </tbody>
461
+ </table>
462
+ </div>
463
+ <div class="io-description">
464
+ <b>Returns : </b> <code>Promise&lt;any | null&gt;</code>
465
+
466
+ </div>
467
+ <div class="io-description">
468
+
469
+ </div>
470
+ </td>
471
+ </tr>
472
+ </tbody>
473
+ </table>
474
+ <table class="table table-sm table-bordered">
475
+ <tbody>
476
+ <tr>
477
+ <td class="col-md-4">
478
+ <a name="fetchCidContentViaHttp"></a>
479
+ <span class="name">
480
+ <span ><b>fetchCidContentViaHttp</b></span>
481
+ <a href="#fetchCidContentViaHttp"><span class="icon ion-ios-link"></span></a>
482
+ </span>
483
+ </td>
484
+ </tr>
485
+ <tr>
486
+ <td class="col-md-4">
487
+ <code>fetchCidContentViaHttp(cid: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>, path?: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>)</code>
488
+ </td>
489
+ </tr>
490
+
491
+
492
+
493
+
494
+ <tr>
495
+ <td class="col-md-4">
496
+
497
+ <div class="io-description">
498
+ <b>Parameters :</b>
499
+
500
+ <table class="params">
501
+ <thead>
502
+ <tr>
503
+ <td>Name</td>
504
+ <td>Type</td>
505
+ <td>Optional</td>
506
+ </tr>
507
+ </thead>
508
+ <tbody>
509
+ <tr>
510
+ <td>cid</td>
511
+ <td>
512
+ <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
513
+ </td>
514
+
515
+ <td>
516
+ No
517
+ </td>
518
+
519
+
520
+ </tr>
521
+ <tr>
522
+ <td>path</td>
523
+ <td>
524
+ <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
525
+ </td>
526
+
527
+ <td>
528
+ Yes
529
+ </td>
530
+
531
+
532
+ </tr>
533
+ </tbody>
534
+ </table>
535
+ </div>
536
+ <div class="io-description">
537
+ <b>Returns : </b> <code>Observable&lt;Blob | null&gt;</code>
538
+
539
+ </div>
540
+ <div class="io-description">
541
+
542
+ </div>
543
+ </td>
544
+ </tr>
545
+ </tbody>
546
+ </table>
547
+ <table class="table table-sm table-bordered">
548
+ <tbody>
549
+ <tr>
550
+ <td class="col-md-4">
551
+ <a name="fetchContentViaHttp"></a>
552
+ <span class="name">
553
+ <span ><b>fetchContentViaHttp</b></span>
554
+ <a href="#fetchContentViaHttp"><span class="icon ion-ios-link"></span></a>
555
+ </span>
556
+ </td>
557
+ </tr>
558
+ <tr>
559
+ <td class="col-md-4">
560
+ <code>fetchContentViaHttp(url: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>)</code>
561
+ </td>
562
+ </tr>
563
+
564
+
565
+
566
+
567
+ <tr>
568
+ <td class="col-md-4">
569
+
570
+ <div class="io-description">
571
+ <b>Parameters :</b>
572
+
573
+ <table class="params">
574
+ <thead>
575
+ <tr>
576
+ <td>Name</td>
577
+ <td>Type</td>
578
+ <td>Optional</td>
579
+ </tr>
580
+ </thead>
581
+ <tbody>
582
+ <tr>
583
+ <td>url</td>
584
+ <td>
585
+ <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
586
+ </td>
587
+
588
+ <td>
589
+ No
590
+ </td>
591
+
592
+
593
+ </tr>
594
+ </tbody>
595
+ </table>
596
+ </div>
597
+ <div class="io-description">
598
+ <b>Returns : </b> <code>Observable&lt;Blob | null&gt;</code>
599
+
600
+ </div>
601
+ <div class="io-description">
602
+
603
+ </div>
604
+ </td>
605
+ </tr>
606
+ </tbody>
607
+ </table>
608
+ </section> <h3>src/generators/init/generator.ts</h3>
128
609
  <section data-compodoc="block-methods">
129
610
  <h3></h3> <table class="table table-sm table-bordered">
130
611
  <tbody>
@@ -102,7 +102,7 @@
102
102
  </ol>
103
103
  <ul class="properties-list">
104
104
  <li>
105
- <b>Version</b> : 19.0.4-dev.0</li>
105
+ <b>Version</b> : 19.1.0-dev.0</li>
106
106
  <li>
107
107
  <b>Description</b> : Provides a configuration service for Angular applications, allowing you to load and manage application settings from various sources such as static files, URLs, local storage, and URL parameters. It supports schema validation and provides utilities for accessing configuration values. This package also includes testing utilities for mocking and managing configurations in test environments.
108
108
  </li>