@rxap/authentication 22.0.0-dev.0 → 22.0.0-dev.2
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.
- package/CHANGELOG.md +31 -0
- package/README.md +5 -3
- package/compodoc/architecture.html +222 -0
- package/compodoc/changelog.html +75 -5
- package/compodoc/dependencies.html +96 -21
- package/compodoc/directives/SignOutDirective.html +140 -98
- package/compodoc/index.html +50 -8
- package/compodoc/injectables/AuthenticationRoutingService.html +69 -9
- package/compodoc/injectables/DisabledAuthenticationService.html +87 -21
- package/compodoc/injectables/RegisterService.html +77 -17
- package/compodoc/injectables/RxapAuthenticationGuard.html +105 -27
- package/compodoc/injectables/RxapAuthenticationService.html +98 -21
- package/compodoc/interfaces/AuthenticationAccessToken.html +172 -98
- package/compodoc/interfaces/AuthenticationEvent.html +131 -62
- package/compodoc/interfaces/IAuthenticationService.html +171 -115
- package/compodoc/js/architecture-graph.js +288 -0
- package/compodoc/js/libs/bootstrap-native.js +4 -2
- package/compodoc/js/libs/jszip.min.js +13 -0
- package/compodoc/js/libs/svg-pan-zoom.min.js +3 -3
- package/compodoc/js/libs/tablesort.min.js +3 -3
- package/compodoc/js/libs/tablesort.number.min.js +3 -3
- package/compodoc/js/libs/vis-network.min.js +78 -0
- package/compodoc/js/menu-wc.js +25 -12
- package/compodoc/js/menu.js +10 -11
- package/compodoc/js/routes/routes_index.js +1 -0
- package/compodoc/js/routes.js +142 -34
- package/compodoc/js/search/search-lunr.js +6 -8
- package/compodoc/js/search/search.js +118 -66
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/js/tabs.js +98 -15
- package/compodoc/js/tree.js +44 -7
- package/compodoc/license.html +48 -6
- package/compodoc/llms.txt +138 -0
- package/compodoc/miscellaneous/enumerations.html +45 -4
- package/compodoc/miscellaneous/functions.html +150 -20
- package/compodoc/miscellaneous/variables.html +72 -7
- package/compodoc/modules.html +44 -3
- package/compodoc/overview.html +54 -3
- package/compodoc/properties.html +45 -4
- package/compodoc/routes.html +227 -0
- package/compodoc/styles/compodoc.css +365 -44
- package/compodoc/styles/dark.css +16 -0
- package/compodoc/template-playground/default-templates.json +192 -0
- package/compodoc/template-playground/hbs-render.service.ts +217 -0
- package/compodoc/template-playground/main.ts +9 -0
- package/compodoc/template-playground/template-editor.service.ts +173 -0
- package/compodoc/template-playground/template-playground.component.ts +614 -0
- package/compodoc/template-playground/template-playground.module.ts +29 -0
- package/compodoc/template-playground/zip-export.service.ts +86 -0
- package/compodoc/template-playground-app/app.js +1389 -0
- package/compodoc/template-playground-app/index.html +462 -0
- package/docs/documentation.json +357 -210
- package/docs/html/assets/highlight.css +1 -1
- package/docs/html/assets/icons.js +1 -1
- package/docs/html/assets/icons.svg +1 -1
- package/docs/html/assets/main.js +5 -5
- package/docs/html/assets/search.js +1 -1
- package/docs/html/assets/style.css +265 -228
- package/docs/html/classes/AuthenticationRoutingService.html +58 -2
- package/docs/html/classes/DisabledAuthenticationService.html +112 -6
- package/docs/html/classes/RegisterService.html +81 -3
- package/docs/html/classes/RxapAuthenticationGuard.html +120 -7
- package/docs/html/classes/RxapAuthenticationService.html +114 -6
- package/docs/html/classes/SignOutDirective.html +94 -5
- package/docs/html/enums/AuthenticationEventType.html +66 -4
- package/docs/html/functions/BearerTokenInterceptor.html +43 -1
- package/docs/html/functions/provideAuthentication.html +43 -1
- package/docs/html/functions/withDisabledAuthentication.html +42 -1
- package/docs/html/functions/withInitialAuthenticationState.html +42 -1
- package/docs/html/hierarchy.html +34 -1
- package/docs/html/index.html +44 -7
- package/docs/html/interfaces/AuthenticationAccessToken.html +72 -3
- package/docs/html/interfaces/AuthenticationEvent.html +66 -2
- package/docs/html/interfaces/IAuthenticationService.html +94 -5
- package/docs/html/modules.html +52 -1
- package/docs/html/variables/RXAP_AUTHENTICATION_ACCESS_TOKEN.html +33 -1
- package/docs/html/variables/RXAP_AUTHENTICATION_DEACTIVATED.html +33 -1
- package/docs/html/variables/RXAP_INITIAL_AUTHENTICATION_STATE.html +33 -1
- package/docs/markdown/README.md +6 -4
- package/docs/markdown/classes/AuthenticationRoutingService.md +6 -6
- package/docs/markdown/classes/DisabledAuthenticationService.md +12 -12
- package/docs/markdown/classes/RegisterService.md +7 -7
- package/docs/markdown/classes/RxapAuthenticationGuard.md +11 -11
- package/docs/markdown/classes/RxapAuthenticationService.md +14 -14
- package/docs/markdown/classes/SignOutDirective.md +8 -8
- package/docs/markdown/enumerations/AuthenticationEventType.md +5 -5
- package/docs/markdown/functions/BearerTokenInterceptor.md +2 -2
- package/docs/markdown/functions/provideAuthentication.md +2 -2
- package/docs/markdown/functions/withDisabledAuthentication.md +4 -4
- package/docs/markdown/functions/withInitialAuthenticationState.md +2 -2
- package/docs/markdown/globals.md +2 -2
- package/docs/markdown/interfaces/AuthenticationAccessToken.md +6 -6
- package/docs/markdown/interfaces/AuthenticationEvent.md +4 -4
- package/docs/markdown/interfaces/IAuthenticationService.md +7 -7
- package/docs/markdown/variables/RXAP_AUTHENTICATION_ACCESS_TOKEN.md +3 -3
- package/docs/markdown/variables/RXAP_AUTHENTICATION_DEACTIVATED.md +2 -2
- package/docs/markdown/variables/RXAP_INITIAL_AUTHENTICATION_STATE.md +2 -2
- package/docs/wiki/Class.AuthenticationRoutingService.md +5 -5
- package/docs/wiki/Class.DisabledAuthenticationService.md +11 -11
- package/docs/wiki/Class.RegisterService.md +6 -6
- package/docs/wiki/Class.RxapAuthenticationGuard.md +10 -10
- package/docs/wiki/Class.RxapAuthenticationService.md +13 -13
- package/docs/wiki/Class.SignOutDirective.md +7 -7
- package/docs/wiki/Enumeration.AuthenticationEventType.md +4 -4
- package/docs/wiki/Function.BearerTokenInterceptor.md +1 -1
- package/docs/wiki/Function.provideAuthentication.md +1 -1
- package/docs/wiki/Function.withDisabledAuthentication.md +3 -3
- package/docs/wiki/Function.withInitialAuthenticationState.md +1 -1
- package/docs/wiki/Home.md +5 -3
- package/docs/wiki/Interface.AuthenticationAccessToken.md +5 -5
- package/docs/wiki/Interface.AuthenticationEvent.md +3 -3
- package/docs/wiki/Interface.IAuthenticationService.md +6 -6
- package/docs/wiki/Variable.RXAP_AUTHENTICATION_ACCESS_TOKEN.md +2 -2
- package/docs/wiki/Variable.RXAP_AUTHENTICATION_DEACTIVATED.md +1 -1
- package/docs/wiki/Variable.RXAP_INITIAL_AUTHENTICATION_STATE.md +1 -1
- package/docs/wiki/globals.md +1 -1
- package/fesm2022/rxap-authentication.mjs +363 -346
- package/fesm2022/rxap-authentication.mjs.map +1 -1
- package/generators.json +16 -0
- package/package.json +11 -13
- package/src/generators/init/generator.js +120 -0
- package/src/generators/init/index.js +6 -0
- package/src/generators/init/schema.json +8 -0
- package/src/generators/package.json +3 -0
- package/compodoc/js/libs/vis.min.js +0 -47
- package/compodoc/js/menu-wc_es5.js +0 -40
- package/theme.css +0 -1
|
@@ -61,6 +61,20 @@
|
|
|
61
61
|
}
|
|
62
62
|
toggleDarkMode(darkModeState);
|
|
63
63
|
</script>
|
|
64
|
+
<script>
|
|
65
|
+
// --- Iframe navigation tracking for Template Playground ---
|
|
66
|
+
function sendCurrentUrlToParent() {
|
|
67
|
+
if (window.parent && window.parent !== window) {
|
|
68
|
+
window.parent.postMessage({
|
|
69
|
+
type: 'compodoc-iframe-navigate',
|
|
70
|
+
url: window.location.pathname + window.location.hash
|
|
71
|
+
}, '*');
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
window.addEventListener('hashchange', sendCurrentUrlToParent, false);
|
|
75
|
+
window.addEventListener('popstate', sendCurrentUrlToParent, false);
|
|
76
|
+
window.addEventListener('DOMContentLoaded', sendCurrentUrlToParent, false);
|
|
77
|
+
</script>
|
|
64
78
|
|
|
65
79
|
<div class="navbar navbar-default navbar-fixed-top d-md-none p-0">
|
|
66
80
|
<div class="d-flex">
|
|
@@ -70,7 +84,14 @@
|
|
|
70
84
|
</div>
|
|
71
85
|
|
|
72
86
|
<div class="xs-menu menu" id="mobile-menu">
|
|
73
|
-
<div id="book-search-input" role="search"
|
|
87
|
+
<div id="book-search-input" role="search">
|
|
88
|
+
<input type="text" placeholder="Type to search">
|
|
89
|
+
<button type="button"
|
|
90
|
+
class="search-input-clear"
|
|
91
|
+
aria-label="Clear search"
|
|
92
|
+
data-search-input-clear>×</button>
|
|
93
|
+
</div>
|
|
94
|
+
<compodoc-menu></compodoc-menu>
|
|
74
95
|
</div>
|
|
75
96
|
|
|
76
97
|
<div class="container-fluid main">
|
|
@@ -97,6 +118,10 @@
|
|
|
97
118
|
|
|
98
119
|
|
|
99
120
|
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
100
125
|
|
|
101
126
|
|
|
102
127
|
<ol class="breadcrumb">
|
|
@@ -112,19 +137,22 @@
|
|
|
112
137
|
<td class="col-md-4">
|
|
113
138
|
<ul class="index-list">
|
|
114
139
|
<li>
|
|
115
|
-
<a href="#BearerTokenInterceptor" title="src/lib/bearer-token.interceptor.ts" ><b>BearerTokenInterceptor</b> (src/.../bearer-token.interceptor.ts)</a>
|
|
140
|
+
<a href="#BearerTokenInterceptor" title="src/lib/bearer-token.interceptor.ts" class="reference-link "><span class="reference-badge reference-badge--function" aria-hidden="true">F</span><span class="reference-link-label"><b>BearerTokenInterceptor</b> (src/.../bearer-token.interceptor.ts)</span></a>
|
|
141
|
+
</li>
|
|
142
|
+
<li>
|
|
143
|
+
<a href="#initGenerator" title="src/generators/init/generator.ts" class="reference-link "><span class="reference-badge reference-badge--function" aria-hidden="true">F</span><span class="reference-link-label"><b>initGenerator</b> (src/.../generator.ts)</span></a>
|
|
116
144
|
</li>
|
|
117
145
|
<li>
|
|
118
|
-
<a href="#
|
|
146
|
+
<a href="#provideAuthentication" title="src/lib/provide.ts" class="reference-link "><span class="reference-badge reference-badge--function" aria-hidden="true">F</span><span class="reference-link-label"><b>provideAuthentication</b> (src/.../provide.ts)</span></a>
|
|
119
147
|
</li>
|
|
120
148
|
<li>
|
|
121
|
-
<a href="#
|
|
149
|
+
<a href="#resolvePackageDir" title="src/generators/init/generator.ts" class="reference-link "><span class="reference-badge reference-badge--function" aria-hidden="true">F</span><span class="reference-link-label"><b>resolvePackageDir</b> (src/.../generator.ts)</span></a>
|
|
122
150
|
</li>
|
|
123
151
|
<li>
|
|
124
|
-
<a href="#withDisabledAuthentication" title="src/lib/tokens.ts" ><b>withDisabledAuthentication</b> (src/.../tokens.ts)</a>
|
|
152
|
+
<a href="#withDisabledAuthentication" title="src/lib/tokens.ts" class="reference-link "><span class="reference-badge reference-badge--function" aria-hidden="true">F</span><span class="reference-link-label"><b>withDisabledAuthentication</b> (src/.../tokens.ts)</span></a>
|
|
125
153
|
</li>
|
|
126
154
|
<li>
|
|
127
|
-
<a href="#withInitialAuthenticationState" title="src/lib/provide.ts" ><b>withInitialAuthenticationState</b> (src/.../provide.ts)</a>
|
|
155
|
+
<a href="#withInitialAuthenticationState" title="src/lib/provide.ts" class="reference-link "><span class="reference-badge reference-badge--function" aria-hidden="true">F</span><span class="reference-link-label"><b>withInitialAuthenticationState</b> (src/.../provide.ts)</span></a>
|
|
128
156
|
</li>
|
|
129
157
|
</ul>
|
|
130
158
|
</td>
|
|
@@ -148,7 +176,7 @@
|
|
|
148
176
|
</tr>
|
|
149
177
|
<tr>
|
|
150
178
|
<td class="col-md-4">
|
|
151
|
-
<code>BearerTokenInterceptor(req: HttpRequest
|
|
179
|
+
<code>BearerTokenInterceptor(req: <a href="https://angular.dev/api/common/http/HttpRequest" target="_blank">HttpRequest</a>, next: <a href="https://angular.dev/api/common/http/HttpHandlerFn" target="_blank">HttpHandlerFn</a>)</code>
|
|
152
180
|
</td>
|
|
153
181
|
</tr>
|
|
154
182
|
|
|
@@ -173,7 +201,7 @@
|
|
|
173
201
|
<tr>
|
|
174
202
|
<td>req</td>
|
|
175
203
|
<td>
|
|
176
|
-
|
|
204
|
+
<code><a href="https://angular.dev/api/common/http/HttpRequest" target="_blank" >HttpRequest</a></code>
|
|
177
205
|
</td>
|
|
178
206
|
|
|
179
207
|
<td>
|
|
@@ -185,7 +213,7 @@
|
|
|
185
213
|
<tr>
|
|
186
214
|
<td>next</td>
|
|
187
215
|
<td>
|
|
188
|
-
|
|
216
|
+
<code><a href="https://angular.dev/api/common/http/HttpHandlerFn" target="_blank" >HttpHandlerFn</a></code>
|
|
189
217
|
</td>
|
|
190
218
|
|
|
191
219
|
<td>
|
|
@@ -198,7 +226,7 @@
|
|
|
198
226
|
</table>
|
|
199
227
|
</div>
|
|
200
228
|
<div class="io-description">
|
|
201
|
-
<b>Returns : </b> <code>Observable<HttpEvent<
|
|
229
|
+
<b>Returns : </b> <code>Observable<HttpEvent<unknown>></code>
|
|
202
230
|
|
|
203
231
|
</div>
|
|
204
232
|
<div class="io-description">
|
|
@@ -208,7 +236,8 @@
|
|
|
208
236
|
</tr>
|
|
209
237
|
</tbody>
|
|
210
238
|
</table>
|
|
211
|
-
</section>
|
|
239
|
+
</section>
|
|
240
|
+
<h3>src/generators/init/generator.ts</h3>
|
|
212
241
|
<section data-compodoc="block-methods">
|
|
213
242
|
<h3></h3> <table class="table table-sm table-bordered">
|
|
214
243
|
<tbody>
|
|
@@ -223,7 +252,7 @@
|
|
|
223
252
|
</tr>
|
|
224
253
|
<tr>
|
|
225
254
|
<td class="col-md-4">
|
|
226
|
-
<code>initGenerator(tree: Tree
|
|
255
|
+
<code>initGenerator(tree: <a href="https://angular.dev/api/aria/tree/Tree" target="_blank">Tree</a>, options: InitGeneratorSchema)</code>
|
|
227
256
|
</td>
|
|
228
257
|
</tr>
|
|
229
258
|
|
|
@@ -248,7 +277,7 @@
|
|
|
248
277
|
<tr>
|
|
249
278
|
<td>tree</td>
|
|
250
279
|
<td>
|
|
251
|
-
|
|
280
|
+
<code><a href="https://angular.dev/api/aria/tree/Tree" target="_blank" >Tree</a></code>
|
|
252
281
|
</td>
|
|
253
282
|
|
|
254
283
|
<td>
|
|
@@ -276,7 +305,86 @@
|
|
|
276
305
|
</tr>
|
|
277
306
|
</tbody>
|
|
278
307
|
</table>
|
|
279
|
-
|
|
308
|
+
<table class="table table-sm table-bordered">
|
|
309
|
+
<tbody>
|
|
310
|
+
<tr>
|
|
311
|
+
<td class="col-md-4">
|
|
312
|
+
<a name="resolvePackageDir"></a>
|
|
313
|
+
<span class="name">
|
|
314
|
+
<span ><b>resolvePackageDir</b></span>
|
|
315
|
+
<a href="#resolvePackageDir"><span class="icon ion-ios-link"></span></a>
|
|
316
|
+
</span>
|
|
317
|
+
</td>
|
|
318
|
+
</tr>
|
|
319
|
+
<tr>
|
|
320
|
+
<td class="col-md-4">
|
|
321
|
+
<code>resolvePackageDir(root: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>, packageName: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>)</code>
|
|
322
|
+
</td>
|
|
323
|
+
</tr>
|
|
324
|
+
|
|
325
|
+
|
|
326
|
+
|
|
327
|
+
|
|
328
|
+
<tr>
|
|
329
|
+
<td class="col-md-4">
|
|
330
|
+
<div class="io-description"><p>Resolves the directory of a package installed in the workspace. The lookup starts at the
|
|
331
|
+
workspace root, not at this package: with an isolated node_modules layout (pnpm) or Yarn PnP
|
|
332
|
+
the peer is not resolvable from here. The plain node_modules path is the fallback for packages
|
|
333
|
+
whose <code>exports</code> map hides their package.json.</p>
|
|
334
|
+
</div>
|
|
335
|
+
|
|
336
|
+
<div class="io-description">
|
|
337
|
+
<b>Parameters :</b>
|
|
338
|
+
|
|
339
|
+
<table class="params">
|
|
340
|
+
<thead>
|
|
341
|
+
<tr>
|
|
342
|
+
<td>Name</td>
|
|
343
|
+
<td>Type</td>
|
|
344
|
+
<td>Optional</td>
|
|
345
|
+
</tr>
|
|
346
|
+
</thead>
|
|
347
|
+
<tbody>
|
|
348
|
+
<tr>
|
|
349
|
+
<td>root</td>
|
|
350
|
+
<td>
|
|
351
|
+
<code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
352
|
+
</td>
|
|
353
|
+
|
|
354
|
+
<td>
|
|
355
|
+
No
|
|
356
|
+
</td>
|
|
357
|
+
|
|
358
|
+
|
|
359
|
+
</tr>
|
|
360
|
+
<tr>
|
|
361
|
+
<td>packageName</td>
|
|
362
|
+
<td>
|
|
363
|
+
<code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
364
|
+
</td>
|
|
365
|
+
|
|
366
|
+
<td>
|
|
367
|
+
No
|
|
368
|
+
</td>
|
|
369
|
+
|
|
370
|
+
|
|
371
|
+
</tr>
|
|
372
|
+
</tbody>
|
|
373
|
+
</table>
|
|
374
|
+
</div>
|
|
375
|
+
<div class="io-description">
|
|
376
|
+
<b>Returns : </b> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
377
|
+
|
|
378
|
+
</div>
|
|
379
|
+
<div class="io-description">
|
|
380
|
+
|
|
381
|
+
</div>
|
|
382
|
+
</td>
|
|
383
|
+
</tr>
|
|
384
|
+
</tbody>
|
|
385
|
+
</table>
|
|
386
|
+
</section>
|
|
387
|
+
<h3>src/lib/provide.ts</h3>
|
|
280
388
|
<section data-compodoc="block-methods">
|
|
281
389
|
<h3></h3> <table class="table table-sm table-bordered">
|
|
282
390
|
<tbody>
|
|
@@ -401,7 +509,7 @@
|
|
|
401
509
|
</table>
|
|
402
510
|
</div>
|
|
403
511
|
<div class="io-description">
|
|
404
|
-
<b>Returns : </b>
|
|
512
|
+
<b>Returns : </b> <code><a href="https://angular.dev/api/core/Provider" target="_blank" >Provider</a></code>
|
|
405
513
|
|
|
406
514
|
</div>
|
|
407
515
|
<div class="io-description">
|
|
@@ -411,7 +519,8 @@
|
|
|
411
519
|
</tr>
|
|
412
520
|
</tbody>
|
|
413
521
|
</table>
|
|
414
|
-
</section>
|
|
522
|
+
</section>
|
|
523
|
+
<h3>src/lib/tokens.ts</h3>
|
|
415
524
|
<section data-compodoc="block-methods">
|
|
416
525
|
<h3></h3> <table class="table table-sm table-bordered">
|
|
417
526
|
<tbody>
|
|
@@ -426,7 +535,7 @@
|
|
|
426
535
|
</tr>
|
|
427
536
|
<tr>
|
|
428
537
|
<td class="col-md-4">
|
|
429
|
-
<code>withDisabledAuthentication(disabled)</code>
|
|
538
|
+
<code>withDisabledAuthentication(disabled: unknown)</code>
|
|
430
539
|
</td>
|
|
431
540
|
</tr>
|
|
432
541
|
|
|
@@ -443,6 +552,7 @@
|
|
|
443
552
|
<thead>
|
|
444
553
|
<tr>
|
|
445
554
|
<td>Name</td>
|
|
555
|
+
<td>Type</td>
|
|
446
556
|
<td>Optional</td>
|
|
447
557
|
<td>Default value</td>
|
|
448
558
|
</tr>
|
|
@@ -450,6 +560,9 @@
|
|
|
450
560
|
<tbody>
|
|
451
561
|
<tr>
|
|
452
562
|
<td>disabled</td>
|
|
563
|
+
<td>
|
|
564
|
+
<code>unknown</code>
|
|
565
|
+
</td>
|
|
453
566
|
|
|
454
567
|
<td>
|
|
455
568
|
No
|
|
@@ -464,7 +577,7 @@
|
|
|
464
577
|
</table>
|
|
465
578
|
</div>
|
|
466
579
|
<div class="io-description">
|
|
467
|
-
<b>Returns : </b>
|
|
580
|
+
<b>Returns : </b> <code><a href="https://angular.dev/api/core/Provider" target="_blank" >Provider</a></code>
|
|
468
581
|
|
|
469
582
|
</div>
|
|
470
583
|
<div class="io-description">
|
|
@@ -477,6 +590,7 @@
|
|
|
477
590
|
</section>
|
|
478
591
|
|
|
479
592
|
|
|
593
|
+
|
|
480
594
|
</div><div class="search-results">
|
|
481
595
|
<div class="has-results">
|
|
482
596
|
<h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
|
|
@@ -509,6 +623,24 @@
|
|
|
509
623
|
|
|
510
624
|
<script>
|
|
511
625
|
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
626
|
+
var updateDarkModeSwitchOffset = function () {
|
|
627
|
+
var content = document.querySelector('.content');
|
|
628
|
+
var scrollbarWidth = 0;
|
|
629
|
+
|
|
630
|
+
if (content) {
|
|
631
|
+
scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
document.documentElement.style.setProperty(
|
|
635
|
+
'--content-scrollbar-width',
|
|
636
|
+
scrollbarWidth + 'px'
|
|
637
|
+
);
|
|
638
|
+
};
|
|
639
|
+
|
|
640
|
+
updateDarkModeSwitchOffset();
|
|
641
|
+
requestAnimationFrame(updateDarkModeSwitchOffset);
|
|
642
|
+
window.addEventListener('resize', updateDarkModeSwitchOffset);
|
|
643
|
+
|
|
512
644
|
checkToggle(darkModeState);
|
|
513
645
|
if ($darkModeToggleSwitchers.length > 0) {
|
|
514
646
|
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
@@ -524,14 +656,12 @@
|
|
|
524
656
|
<script src="../js/libs/lit-html.js"></script>
|
|
525
657
|
|
|
526
658
|
<script src="../js/menu-wc.js" defer></script>
|
|
527
|
-
<script nomodule src="../js/menu-wc_es5.js" defer></script>
|
|
528
659
|
|
|
529
660
|
<script src="../js/libs/bootstrap-native.js"></script>
|
|
530
661
|
|
|
531
662
|
<script src="../js/libs/es6-shim.min.js"></script>
|
|
532
663
|
<script src="../js/libs/EventDispatcher.js"></script>
|
|
533
664
|
<script src="../js/libs/promise.min.js"></script>
|
|
534
|
-
<script src="../js/libs/zepto.min.js"></script>
|
|
535
665
|
|
|
536
666
|
<script src="../js/compodoc.js"></script>
|
|
537
667
|
|
|
@@ -61,6 +61,20 @@
|
|
|
61
61
|
}
|
|
62
62
|
toggleDarkMode(darkModeState);
|
|
63
63
|
</script>
|
|
64
|
+
<script>
|
|
65
|
+
// --- Iframe navigation tracking for Template Playground ---
|
|
66
|
+
function sendCurrentUrlToParent() {
|
|
67
|
+
if (window.parent && window.parent !== window) {
|
|
68
|
+
window.parent.postMessage({
|
|
69
|
+
type: 'compodoc-iframe-navigate',
|
|
70
|
+
url: window.location.pathname + window.location.hash
|
|
71
|
+
}, '*');
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
window.addEventListener('hashchange', sendCurrentUrlToParent, false);
|
|
75
|
+
window.addEventListener('popstate', sendCurrentUrlToParent, false);
|
|
76
|
+
window.addEventListener('DOMContentLoaded', sendCurrentUrlToParent, false);
|
|
77
|
+
</script>
|
|
64
78
|
|
|
65
79
|
<div class="navbar navbar-default navbar-fixed-top d-md-none p-0">
|
|
66
80
|
<div class="d-flex">
|
|
@@ -70,7 +84,14 @@
|
|
|
70
84
|
</div>
|
|
71
85
|
|
|
72
86
|
<div class="xs-menu menu" id="mobile-menu">
|
|
73
|
-
<div id="book-search-input" role="search"
|
|
87
|
+
<div id="book-search-input" role="search">
|
|
88
|
+
<input type="text" placeholder="Type to search">
|
|
89
|
+
<button type="button"
|
|
90
|
+
class="search-input-clear"
|
|
91
|
+
aria-label="Clear search"
|
|
92
|
+
data-search-input-clear>×</button>
|
|
93
|
+
</div>
|
|
94
|
+
<compodoc-menu></compodoc-menu>
|
|
74
95
|
</div>
|
|
75
96
|
|
|
76
97
|
<div class="container-fluid main">
|
|
@@ -97,6 +118,10 @@
|
|
|
97
118
|
|
|
98
119
|
|
|
99
120
|
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
100
125
|
|
|
101
126
|
|
|
102
127
|
<ol class="breadcrumb">
|
|
@@ -112,16 +137,16 @@
|
|
|
112
137
|
<td class="col-md-4">
|
|
113
138
|
<ul class="index-list">
|
|
114
139
|
<li>
|
|
115
|
-
<a href="#RXAP_AUTHENTICATION_ACCESS_TOKEN" title="src/lib/tokens.ts" ><b>RXAP_AUTHENTICATION_ACCESS_TOKEN</b> (src/.../tokens.ts)</a>
|
|
140
|
+
<a href="#RXAP_AUTHENTICATION_ACCESS_TOKEN" title="src/lib/tokens.ts" class="reference-link "><span class="reference-badge reference-badge--variable" aria-hidden="true">V</span><span class="reference-link-label"><b>RXAP_AUTHENTICATION_ACCESS_TOKEN</b> (src/.../tokens.ts)</span></a>
|
|
116
141
|
</li>
|
|
117
142
|
<li>
|
|
118
|
-
<a href="#RXAP_AUTHENTICATION_DEACTIVATED" title="src/lib/tokens.ts" ><b>RXAP_AUTHENTICATION_DEACTIVATED</b> (src/.../tokens.ts)</a>
|
|
143
|
+
<a href="#RXAP_AUTHENTICATION_DEACTIVATED" title="src/lib/tokens.ts" class="reference-link "><span class="reference-badge reference-badge--variable" aria-hidden="true">V</span><span class="reference-link-label"><b>RXAP_AUTHENTICATION_DEACTIVATED</b> (src/.../tokens.ts)</span></a>
|
|
119
144
|
</li>
|
|
120
145
|
<li>
|
|
121
|
-
<a href="#RXAP_INITIAL_AUTHENTICATION_STATE" title="src/lib/tokens.ts" ><b>RXAP_INITIAL_AUTHENTICATION_STATE</b> (src/.../tokens.ts)</a>
|
|
146
|
+
<a href="#RXAP_INITIAL_AUTHENTICATION_STATE" title="src/lib/tokens.ts" class="reference-link "><span class="reference-badge reference-badge--variable" aria-hidden="true">V</span><span class="reference-link-label"><b>RXAP_INITIAL_AUTHENTICATION_STATE</b> (src/.../tokens.ts)</span></a>
|
|
122
147
|
</li>
|
|
123
148
|
<li>
|
|
124
|
-
<a href="#schematic" title="src/generators/init/index.ts" ><b>schematic</b> (src/.../index.ts)</a>
|
|
149
|
+
<a href="#schematic" title="src/generators/init/index.ts" class="reference-link "><span class="reference-badge reference-badge--variable" aria-hidden="true">V</span><span class="reference-link-label"><b>schematic</b> (src/.../index.ts)</span></a>
|
|
125
150
|
</li>
|
|
126
151
|
</ul>
|
|
127
152
|
</td>
|
|
@@ -143,6 +168,12 @@
|
|
|
143
168
|
</span>
|
|
144
169
|
</td>
|
|
145
170
|
</tr>
|
|
171
|
+
<tr>
|
|
172
|
+
<td class="col-md-4">
|
|
173
|
+
<i>Type : </i> <code>unknown</code>
|
|
174
|
+
|
|
175
|
+
</td>
|
|
176
|
+
</tr>
|
|
146
177
|
<tr>
|
|
147
178
|
<td class="col-md-4">
|
|
148
179
|
<i>Default value : </i><code>new InjectionToken<BehaviorSubject<AuthenticationAccessToken | null>>(
|
|
@@ -169,6 +200,12 @@
|
|
|
169
200
|
</span>
|
|
170
201
|
</td>
|
|
171
202
|
</tr>
|
|
203
|
+
<tr>
|
|
204
|
+
<td class="col-md-4">
|
|
205
|
+
<i>Type : </i> <code>unknown</code>
|
|
206
|
+
|
|
207
|
+
</td>
|
|
208
|
+
</tr>
|
|
172
209
|
<tr>
|
|
173
210
|
<td class="col-md-4">
|
|
174
211
|
<i>Default value : </i><code>new InjectionToken<boolean>('rxap/authentication/deactivated')</code>
|
|
@@ -189,6 +226,12 @@
|
|
|
189
226
|
</span>
|
|
190
227
|
</td>
|
|
191
228
|
</tr>
|
|
229
|
+
<tr>
|
|
230
|
+
<td class="col-md-4">
|
|
231
|
+
<i>Type : </i> <code>unknown</code>
|
|
232
|
+
|
|
233
|
+
</td>
|
|
234
|
+
</tr>
|
|
192
235
|
<tr>
|
|
193
236
|
<td class="col-md-4">
|
|
194
237
|
<i>Default value : </i><code>new InjectionToken<boolean>('rxap/authentication/initial-state', {
|
|
@@ -215,6 +258,12 @@
|
|
|
215
258
|
</span>
|
|
216
259
|
</td>
|
|
217
260
|
</tr>
|
|
261
|
+
<tr>
|
|
262
|
+
<td class="col-md-4">
|
|
263
|
+
<i>Type : </i> <code>unknown</code>
|
|
264
|
+
|
|
265
|
+
</td>
|
|
266
|
+
</tr>
|
|
218
267
|
<tr>
|
|
219
268
|
<td class="col-md-4">
|
|
220
269
|
<i>Default value : </i><code>convertNxGenerator(generator)</code>
|
|
@@ -260,6 +309,24 @@
|
|
|
260
309
|
|
|
261
310
|
<script>
|
|
262
311
|
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
312
|
+
var updateDarkModeSwitchOffset = function () {
|
|
313
|
+
var content = document.querySelector('.content');
|
|
314
|
+
var scrollbarWidth = 0;
|
|
315
|
+
|
|
316
|
+
if (content) {
|
|
317
|
+
scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
document.documentElement.style.setProperty(
|
|
321
|
+
'--content-scrollbar-width',
|
|
322
|
+
scrollbarWidth + 'px'
|
|
323
|
+
);
|
|
324
|
+
};
|
|
325
|
+
|
|
326
|
+
updateDarkModeSwitchOffset();
|
|
327
|
+
requestAnimationFrame(updateDarkModeSwitchOffset);
|
|
328
|
+
window.addEventListener('resize', updateDarkModeSwitchOffset);
|
|
329
|
+
|
|
263
330
|
checkToggle(darkModeState);
|
|
264
331
|
if ($darkModeToggleSwitchers.length > 0) {
|
|
265
332
|
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
@@ -275,14 +342,12 @@
|
|
|
275
342
|
<script src="../js/libs/lit-html.js"></script>
|
|
276
343
|
|
|
277
344
|
<script src="../js/menu-wc.js" defer></script>
|
|
278
|
-
<script nomodule src="../js/menu-wc_es5.js" defer></script>
|
|
279
345
|
|
|
280
346
|
<script src="../js/libs/bootstrap-native.js"></script>
|
|
281
347
|
|
|
282
348
|
<script src="../js/libs/es6-shim.min.js"></script>
|
|
283
349
|
<script src="../js/libs/EventDispatcher.js"></script>
|
|
284
350
|
<script src="../js/libs/promise.min.js"></script>
|
|
285
|
-
<script src="../js/libs/zepto.min.js"></script>
|
|
286
351
|
|
|
287
352
|
<script src="../js/compodoc.js"></script>
|
|
288
353
|
|
package/compodoc/modules.html
CHANGED
|
@@ -61,6 +61,20 @@
|
|
|
61
61
|
}
|
|
62
62
|
toggleDarkMode(darkModeState);
|
|
63
63
|
</script>
|
|
64
|
+
<script>
|
|
65
|
+
// --- Iframe navigation tracking for Template Playground ---
|
|
66
|
+
function sendCurrentUrlToParent() {
|
|
67
|
+
if (window.parent && window.parent !== window) {
|
|
68
|
+
window.parent.postMessage({
|
|
69
|
+
type: 'compodoc-iframe-navigate',
|
|
70
|
+
url: window.location.pathname + window.location.hash
|
|
71
|
+
}, '*');
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
window.addEventListener('hashchange', sendCurrentUrlToParent, false);
|
|
75
|
+
window.addEventListener('popstate', sendCurrentUrlToParent, false);
|
|
76
|
+
window.addEventListener('DOMContentLoaded', sendCurrentUrlToParent, false);
|
|
77
|
+
</script>
|
|
64
78
|
|
|
65
79
|
<div class="navbar navbar-default navbar-fixed-top d-md-none p-0">
|
|
66
80
|
<div class="d-flex">
|
|
@@ -70,7 +84,14 @@
|
|
|
70
84
|
</div>
|
|
71
85
|
|
|
72
86
|
<div class="xs-menu menu" id="mobile-menu">
|
|
73
|
-
<div id="book-search-input" role="search"
|
|
87
|
+
<div id="book-search-input" role="search">
|
|
88
|
+
<input type="text" placeholder="Type to search">
|
|
89
|
+
<button type="button"
|
|
90
|
+
class="search-input-clear"
|
|
91
|
+
aria-label="Clear search"
|
|
92
|
+
data-search-input-clear>×</button>
|
|
93
|
+
</div>
|
|
94
|
+
<compodoc-menu></compodoc-menu>
|
|
74
95
|
</div>
|
|
75
96
|
|
|
76
97
|
<div class="container-fluid main">
|
|
@@ -84,6 +105,10 @@
|
|
|
84
105
|
|
|
85
106
|
|
|
86
107
|
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
|
|
87
112
|
<ol class="breadcrumb">
|
|
88
113
|
<li class="breadcrumb-item">Modules</li>
|
|
89
114
|
</ol>
|
|
@@ -141,6 +166,24 @@
|
|
|
141
166
|
|
|
142
167
|
<script>
|
|
143
168
|
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
169
|
+
var updateDarkModeSwitchOffset = function () {
|
|
170
|
+
var content = document.querySelector('.content');
|
|
171
|
+
var scrollbarWidth = 0;
|
|
172
|
+
|
|
173
|
+
if (content) {
|
|
174
|
+
scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
document.documentElement.style.setProperty(
|
|
178
|
+
'--content-scrollbar-width',
|
|
179
|
+
scrollbarWidth + 'px'
|
|
180
|
+
);
|
|
181
|
+
};
|
|
182
|
+
|
|
183
|
+
updateDarkModeSwitchOffset();
|
|
184
|
+
requestAnimationFrame(updateDarkModeSwitchOffset);
|
|
185
|
+
window.addEventListener('resize', updateDarkModeSwitchOffset);
|
|
186
|
+
|
|
144
187
|
checkToggle(darkModeState);
|
|
145
188
|
if ($darkModeToggleSwitchers.length > 0) {
|
|
146
189
|
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
@@ -156,14 +199,12 @@
|
|
|
156
199
|
<script src="./js/libs/lit-html.js"></script>
|
|
157
200
|
|
|
158
201
|
<script src="./js/menu-wc.js" defer></script>
|
|
159
|
-
<script nomodule src="./js/menu-wc_es5.js" defer></script>
|
|
160
202
|
|
|
161
203
|
<script src="./js/libs/bootstrap-native.js"></script>
|
|
162
204
|
|
|
163
205
|
<script src="./js/libs/es6-shim.min.js"></script>
|
|
164
206
|
<script src="./js/libs/EventDispatcher.js"></script>
|
|
165
207
|
<script src="./js/libs/promise.min.js"></script>
|
|
166
|
-
<script src="./js/libs/zepto.min.js"></script>
|
|
167
208
|
|
|
168
209
|
<script src="./js/compodoc.js"></script>
|
|
169
210
|
|