@rxap/authentication 21.0.1 → 22.0.0-dev.1
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 +19 -0
- package/compodoc/architecture.html +222 -0
- package/compodoc/changelog.html +62 -5
- package/compodoc/dependencies.html +96 -21
- package/compodoc/directives/SignOutDirective.html +140 -98
- package/compodoc/index.html +46 -5
- 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 +136 -0
- package/compodoc/miscellaneous/enumerations.html +45 -4
- package/compodoc/miscellaneous/functions.html +69 -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 +329 -206
- 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 +40 -4
- 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 +1 -1
- 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/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 +272 -148
- package/fesm2022/rxap-authentication.mjs.map +1 -1
- package/package.json +13 -13
- package/types/rxap-authentication.d.ts +79 -86
|
@@ -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">
|
|
@@ -89,11 +110,20 @@
|
|
|
89
110
|
|
|
90
111
|
|
|
91
112
|
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
|
|
92
117
|
<ol class="breadcrumb">
|
|
93
118
|
<li class="breadcrumb-item">Injectables</li>
|
|
94
119
|
<li class="breadcrumb-item" >DisabledAuthenticationService</li>
|
|
95
120
|
</ol>
|
|
96
121
|
|
|
122
|
+
<div class="io-file io-file-path" data-compodoc="entity-file-path">
|
|
123
|
+
<span class="icon ion-ios-document" aria-hidden="true"></span>
|
|
124
|
+
<code>src/lib/disabled-authentication.service.ts</code>
|
|
125
|
+
</div>
|
|
126
|
+
|
|
97
127
|
<ul class="nav nav-tabs" role="tablist">
|
|
98
128
|
<li class="nav-item">
|
|
99
129
|
<a href="#info"
|
|
@@ -101,6 +131,12 @@
|
|
|
101
131
|
class="nav-link active"
|
|
102
132
|
role="tab" id="info-tab" data-bs-toggle="tab" data-link="info">Info</a>
|
|
103
133
|
</li>
|
|
134
|
+
<li class="nav-item">
|
|
135
|
+
<a href="#api"
|
|
136
|
+
class="nav-link"
|
|
137
|
+
|
|
138
|
+
role="tab" id="api-tab" data-bs-toggle="tab" data-link="api">API</a>
|
|
139
|
+
</li>
|
|
104
140
|
<li class="nav-item">
|
|
105
141
|
<a href="#source"
|
|
106
142
|
class="nav-link"
|
|
@@ -111,35 +147,32 @@
|
|
|
111
147
|
|
|
112
148
|
<div class="tab-content">
|
|
113
149
|
<div class="tab-pane fade active in" id="info">
|
|
114
|
-
<p class="comment">
|
|
115
|
-
<h3>File</h3>
|
|
116
|
-
</p>
|
|
117
|
-
<p class="comment">
|
|
118
|
-
<code>src/lib/disabled-authentication.service.ts</code>
|
|
119
|
-
</p>
|
|
120
150
|
|
|
121
151
|
|
|
122
152
|
|
|
123
153
|
|
|
124
154
|
|
|
155
|
+
</div>
|
|
156
|
+
|
|
157
|
+
<div class="tab-pane fade " id="api">
|
|
125
158
|
<section data-compodoc="block-index">
|
|
126
159
|
<h3 id="index">Index</h3>
|
|
127
|
-
|
|
128
|
-
|
|
160
|
+
<table class="table table-sm table-bordered index-table">
|
|
161
|
+
<tbody>
|
|
129
162
|
<tr>
|
|
130
|
-
<td class="col-md-
|
|
163
|
+
<td class="col-md-3">
|
|
131
164
|
<h6><b>Properties</b></h6>
|
|
132
165
|
</td>
|
|
133
|
-
|
|
134
|
-
<tr>
|
|
135
|
-
<td class="col-md-4">
|
|
166
|
+
<td class="col-md-9">
|
|
136
167
|
<ul class="index-list">
|
|
137
168
|
<li>
|
|
169
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
138
170
|
<span class="modifier">Public</span>
|
|
139
171
|
<span class="modifier">Readonly</span>
|
|
140
172
|
<a href="#events$" >events$</a>
|
|
141
173
|
</li>
|
|
142
174
|
<li>
|
|
175
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
143
176
|
<span class="modifier">Public</span>
|
|
144
177
|
<span class="modifier">Readonly</span>
|
|
145
178
|
<a href="#isAuthenticated$" >isAuthenticated$</a>
|
|
@@ -147,33 +180,37 @@
|
|
|
147
180
|
</ul>
|
|
148
181
|
</td>
|
|
149
182
|
</tr>
|
|
183
|
+
</tbody>
|
|
184
|
+
</table>
|
|
150
185
|
|
|
186
|
+
<table class="table table-sm table-bordered index-table">
|
|
187
|
+
<tbody>
|
|
151
188
|
<tr>
|
|
152
|
-
<td class="col-md-
|
|
189
|
+
<td class="col-md-3">
|
|
153
190
|
<h6><b>Methods</b></h6>
|
|
154
191
|
</td>
|
|
155
|
-
|
|
156
|
-
<tr>
|
|
157
|
-
<td class="col-md-4">
|
|
192
|
+
<td class="col-md-9">
|
|
158
193
|
<ul class="index-list">
|
|
159
194
|
<li>
|
|
195
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
160
196
|
<span class="modifier">Async</span>
|
|
161
197
|
<a href="#isAuthenticated" >isAuthenticated</a>
|
|
162
198
|
</li>
|
|
163
199
|
<li>
|
|
200
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
164
201
|
<span class="modifier">Async</span>
|
|
165
202
|
<a href="#signOut" >signOut</a>
|
|
166
203
|
</li>
|
|
167
204
|
</ul>
|
|
168
205
|
</td>
|
|
169
206
|
</tr>
|
|
207
|
+
</tbody>
|
|
208
|
+
</table>
|
|
170
209
|
|
|
171
210
|
|
|
172
211
|
|
|
173
212
|
|
|
174
213
|
|
|
175
|
-
</tbody>
|
|
176
|
-
</table>
|
|
177
214
|
</section>
|
|
178
215
|
|
|
179
216
|
|
|
@@ -261,6 +298,7 @@
|
|
|
261
298
|
</tbody>
|
|
262
299
|
</table>
|
|
263
300
|
</section>
|
|
301
|
+
|
|
264
302
|
<section data-compodoc="block-properties">
|
|
265
303
|
|
|
266
304
|
<h3 id="inputs">
|
|
@@ -279,6 +317,12 @@
|
|
|
279
317
|
</span>
|
|
280
318
|
</td>
|
|
281
319
|
</tr>
|
|
320
|
+
<tr>
|
|
321
|
+
<td class="col-md-4">
|
|
322
|
+
<i>Type : </i> <code>unknown</code>
|
|
323
|
+
|
|
324
|
+
</td>
|
|
325
|
+
</tr>
|
|
282
326
|
<tr>
|
|
283
327
|
<td class="col-md-4">
|
|
284
328
|
<i>Default value : </i><code>EMPTY</code>
|
|
@@ -306,6 +350,12 @@
|
|
|
306
350
|
</span>
|
|
307
351
|
</td>
|
|
308
352
|
</tr>
|
|
353
|
+
<tr>
|
|
354
|
+
<td class="col-md-4">
|
|
355
|
+
<i>Type : </i> <code>unknown</code>
|
|
356
|
+
|
|
357
|
+
</td>
|
|
358
|
+
</tr>
|
|
309
359
|
<tr>
|
|
310
360
|
<td class="col-md-4">
|
|
311
361
|
<i>Default value : </i><code>of(true)</code>
|
|
@@ -397,6 +447,24 @@ export class DisabledAuthenticationService implements IAuthenticationService {
|
|
|
397
447
|
|
|
398
448
|
<script>
|
|
399
449
|
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
450
|
+
var updateDarkModeSwitchOffset = function () {
|
|
451
|
+
var content = document.querySelector('.content');
|
|
452
|
+
var scrollbarWidth = 0;
|
|
453
|
+
|
|
454
|
+
if (content) {
|
|
455
|
+
scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
document.documentElement.style.setProperty(
|
|
459
|
+
'--content-scrollbar-width',
|
|
460
|
+
scrollbarWidth + 'px'
|
|
461
|
+
);
|
|
462
|
+
};
|
|
463
|
+
|
|
464
|
+
updateDarkModeSwitchOffset();
|
|
465
|
+
requestAnimationFrame(updateDarkModeSwitchOffset);
|
|
466
|
+
window.addEventListener('resize', updateDarkModeSwitchOffset);
|
|
467
|
+
|
|
400
468
|
checkToggle(darkModeState);
|
|
401
469
|
if ($darkModeToggleSwitchers.length > 0) {
|
|
402
470
|
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
@@ -412,14 +480,12 @@ export class DisabledAuthenticationService implements IAuthenticationService {
|
|
|
412
480
|
<script src="../js/libs/lit-html.js"></script>
|
|
413
481
|
|
|
414
482
|
<script src="../js/menu-wc.js" defer></script>
|
|
415
|
-
<script nomodule src="../js/menu-wc_es5.js" defer></script>
|
|
416
483
|
|
|
417
484
|
<script src="../js/libs/bootstrap-native.js"></script>
|
|
418
485
|
|
|
419
486
|
<script src="../js/libs/es6-shim.min.js"></script>
|
|
420
487
|
<script src="../js/libs/EventDispatcher.js"></script>
|
|
421
488
|
<script src="../js/libs/promise.min.js"></script>
|
|
422
|
-
<script src="../js/libs/zepto.min.js"></script>
|
|
423
489
|
|
|
424
490
|
<script src="../js/compodoc.js"></script>
|
|
425
491
|
|
|
@@ -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">
|
|
@@ -89,11 +110,20 @@
|
|
|
89
110
|
|
|
90
111
|
|
|
91
112
|
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
|
|
92
117
|
<ol class="breadcrumb">
|
|
93
118
|
<li class="breadcrumb-item">Injectables</li>
|
|
94
119
|
<li class="breadcrumb-item" >RegisterService</li>
|
|
95
120
|
</ol>
|
|
96
121
|
|
|
122
|
+
<div class="io-file io-file-path" data-compodoc="entity-file-path">
|
|
123
|
+
<span class="icon ion-ios-document" aria-hidden="true"></span>
|
|
124
|
+
<code>src/lib/register.service.ts</code>
|
|
125
|
+
</div>
|
|
126
|
+
|
|
97
127
|
<ul class="nav nav-tabs" role="tablist">
|
|
98
128
|
<li class="nav-item">
|
|
99
129
|
<a href="#info"
|
|
@@ -101,6 +131,12 @@
|
|
|
101
131
|
class="nav-link active"
|
|
102
132
|
role="tab" id="info-tab" data-bs-toggle="tab" data-link="info">Info</a>
|
|
103
133
|
</li>
|
|
134
|
+
<li class="nav-item">
|
|
135
|
+
<a href="#api"
|
|
136
|
+
class="nav-link"
|
|
137
|
+
|
|
138
|
+
role="tab" id="api-tab" data-bs-toggle="tab" data-link="api">API</a>
|
|
139
|
+
</li>
|
|
104
140
|
<li class="nav-item">
|
|
105
141
|
<a href="#source"
|
|
106
142
|
class="nav-link"
|
|
@@ -111,44 +147,51 @@
|
|
|
111
147
|
|
|
112
148
|
<div class="tab-content">
|
|
113
149
|
<div class="tab-pane fade active in" id="info">
|
|
114
|
-
<p class="comment">
|
|
115
|
-
<h3>File</h3>
|
|
116
|
-
</p>
|
|
117
|
-
<p class="comment">
|
|
118
|
-
<code>src/lib/register.service.ts</code>
|
|
119
|
-
</p>
|
|
120
150
|
|
|
121
151
|
|
|
122
152
|
|
|
153
|
+
<section data-compodoc="block-metadata">
|
|
154
|
+
<h3>Metadata</h3>
|
|
155
|
+
<table class="table table-sm table-hover metadata">
|
|
156
|
+
<tbody>
|
|
157
|
+
<tr>
|
|
158
|
+
<td class="col-md-3">providedIn</td>
|
|
159
|
+
<td class="col-md-9"><code>root</code></td>
|
|
160
|
+
</tr>
|
|
161
|
+
</tbody>
|
|
162
|
+
</table>
|
|
163
|
+
</section>
|
|
164
|
+
|
|
123
165
|
|
|
166
|
+
</div>
|
|
124
167
|
|
|
168
|
+
<div class="tab-pane fade " id="api">
|
|
125
169
|
<section data-compodoc="block-index">
|
|
126
170
|
<h3 id="index">Index</h3>
|
|
127
|
-
<table class="table table-sm table-bordered index-table">
|
|
128
|
-
<tbody>
|
|
129
171
|
|
|
172
|
+
<table class="table table-sm table-bordered index-table">
|
|
173
|
+
<tbody>
|
|
130
174
|
<tr>
|
|
131
|
-
<td class="col-md-
|
|
175
|
+
<td class="col-md-3">
|
|
132
176
|
<h6><b>Methods</b></h6>
|
|
133
177
|
</td>
|
|
134
|
-
|
|
135
|
-
<tr>
|
|
136
|
-
<td class="col-md-4">
|
|
178
|
+
<td class="col-md-9">
|
|
137
179
|
<ul class="index-list">
|
|
138
180
|
<li>
|
|
181
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
139
182
|
<span class="modifier">Public</span>
|
|
140
183
|
<a href="#register" >register</a>
|
|
141
184
|
</li>
|
|
142
185
|
</ul>
|
|
143
186
|
</td>
|
|
144
187
|
</tr>
|
|
188
|
+
</tbody>
|
|
189
|
+
</table>
|
|
145
190
|
|
|
146
191
|
|
|
147
192
|
|
|
148
193
|
|
|
149
194
|
|
|
150
|
-
</tbody>
|
|
151
|
-
</table>
|
|
152
195
|
</section>
|
|
153
196
|
|
|
154
197
|
<section data-compodoc="block-constructor">
|
|
@@ -258,6 +301,7 @@
|
|
|
258
301
|
</table>
|
|
259
302
|
</section>
|
|
260
303
|
|
|
304
|
+
|
|
261
305
|
</div>
|
|
262
306
|
|
|
263
307
|
|
|
@@ -326,6 +370,24 @@ export class RegisterService {
|
|
|
326
370
|
|
|
327
371
|
<script>
|
|
328
372
|
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
373
|
+
var updateDarkModeSwitchOffset = function () {
|
|
374
|
+
var content = document.querySelector('.content');
|
|
375
|
+
var scrollbarWidth = 0;
|
|
376
|
+
|
|
377
|
+
if (content) {
|
|
378
|
+
scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
document.documentElement.style.setProperty(
|
|
382
|
+
'--content-scrollbar-width',
|
|
383
|
+
scrollbarWidth + 'px'
|
|
384
|
+
);
|
|
385
|
+
};
|
|
386
|
+
|
|
387
|
+
updateDarkModeSwitchOffset();
|
|
388
|
+
requestAnimationFrame(updateDarkModeSwitchOffset);
|
|
389
|
+
window.addEventListener('resize', updateDarkModeSwitchOffset);
|
|
390
|
+
|
|
329
391
|
checkToggle(darkModeState);
|
|
330
392
|
if ($darkModeToggleSwitchers.length > 0) {
|
|
331
393
|
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
@@ -341,14 +403,12 @@ export class RegisterService {
|
|
|
341
403
|
<script src="../js/libs/lit-html.js"></script>
|
|
342
404
|
|
|
343
405
|
<script src="../js/menu-wc.js" defer></script>
|
|
344
|
-
<script nomodule src="../js/menu-wc_es5.js" defer></script>
|
|
345
406
|
|
|
346
407
|
<script src="../js/libs/bootstrap-native.js"></script>
|
|
347
408
|
|
|
348
409
|
<script src="../js/libs/es6-shim.min.js"></script>
|
|
349
410
|
<script src="../js/libs/EventDispatcher.js"></script>
|
|
350
411
|
<script src="../js/libs/promise.min.js"></script>
|
|
351
|
-
<script src="../js/libs/zepto.min.js"></script>
|
|
352
412
|
|
|
353
413
|
<script src="../js/compodoc.js"></script>
|
|
354
414
|
|