@rxap/ngx-memory 22.0.0-dev.0 → 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 +10 -0
- package/compodoc/architecture.html +222 -0
- package/compodoc/changelog.html +55 -5
- package/compodoc/classes/MockStorage.html +114 -37
- package/compodoc/dependencies.html +80 -13
- package/compodoc/index.html +46 -5
- package/compodoc/injectables/EphemeralStorageService.html +107 -24
- package/compodoc/injectables/LocalStorageService.html +107 -24
- package/compodoc/injectables/SessionStorageService.html +107 -24
- package/compodoc/injectables/StorageService.html +96 -18
- 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 +106 -0
- package/compodoc/miscellaneous/functions.html +75 -23
- package/compodoc/miscellaneous/typealiases.html +46 -4
- package/compodoc/miscellaneous/variables.html +58 -5
- 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/compodoc/todo.html +45 -60
- package/docs/documentation.json +484 -353
- 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/EphemeralStorageService.html +151 -9
- package/docs/html/classes/LocalStorageService.html +151 -9
- package/docs/html/classes/MockStorage.html +185 -15
- package/docs/html/classes/SessionStorageService.html +151 -9
- package/docs/html/classes/StorageService.html +151 -9
- package/docs/html/functions/LocalStorage.html +52 -5
- package/docs/html/functions/SessionStorage.html +52 -5
- package/docs/html/functions/StorageGet.html +43 -1
- package/docs/html/functions/StorageHas.html +43 -1
- package/docs/html/functions/StorageKey.html +43 -1
- package/docs/html/functions/StorageRemove.html +43 -1
- package/docs/html/functions/StorageSet.html +46 -1
- package/docs/html/functions/WebStorage.html +45 -1
- package/docs/html/functions/getExpired.html +43 -1
- package/docs/html/functions/stringify.html +42 -1
- package/docs/html/hierarchy.html +35 -1
- package/docs/html/index.html +40 -4
- package/docs/html/modules.html +48 -1
- package/docs/html/types/ExpiredUnit.html +35 -2
- package/docs/html/variables/isBrowser.html +35 -2
- package/docs/markdown/README.md +1 -1
- package/docs/markdown/classes/EphemeralStorageService.md +17 -17
- package/docs/markdown/classes/LocalStorageService.md +17 -17
- package/docs/markdown/classes/MockStorage.md +16 -16
- package/docs/markdown/classes/SessionStorageService.md +17 -17
- package/docs/markdown/classes/StorageService.md +18 -18
- package/docs/markdown/functions/LocalStorage.md +4 -18
- package/docs/markdown/functions/SessionStorage.md +4 -18
- package/docs/markdown/functions/StorageGet.md +3 -3
- package/docs/markdown/functions/StorageHas.md +3 -3
- package/docs/markdown/functions/StorageKey.md +5 -5
- package/docs/markdown/functions/StorageRemove.md +3 -3
- package/docs/markdown/functions/StorageSet.md +6 -6
- package/docs/markdown/functions/WebStorage.md +5 -19
- package/docs/markdown/functions/getExpired.md +2 -2
- package/docs/markdown/functions/stringify.md +2 -2
- package/docs/markdown/globals.md +2 -2
- package/docs/markdown/type-aliases/ExpiredUnit.md +3 -3
- package/docs/markdown/variables/isBrowser.md +2 -2
- package/docs/wiki/Class.EphemeralStorageService.md +16 -16
- package/docs/wiki/Class.LocalStorageService.md +16 -16
- package/docs/wiki/Class.MockStorage.md +15 -15
- package/docs/wiki/Class.SessionStorageService.md +16 -16
- package/docs/wiki/Class.StorageService.md +17 -17
- package/docs/wiki/Function.LocalStorage.md +3 -17
- package/docs/wiki/Function.SessionStorage.md +3 -17
- package/docs/wiki/Function.StorageGet.md +2 -2
- package/docs/wiki/Function.StorageHas.md +2 -2
- package/docs/wiki/Function.StorageKey.md +4 -4
- package/docs/wiki/Function.StorageRemove.md +2 -2
- package/docs/wiki/Function.StorageSet.md +5 -5
- package/docs/wiki/Function.WebStorage.md +4 -18
- package/docs/wiki/Function.getExpired.md +1 -1
- package/docs/wiki/Function.stringify.md +1 -1
- package/docs/wiki/TypeAlias.ExpiredUnit.md +2 -2
- package/docs/wiki/Variable.isBrowser.md +1 -1
- package/docs/wiki/globals.md +1 -1
- package/package.json +3 -3
|
@@ -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" >LocalStorageService</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/local-storage.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,13 +147,6 @@
|
|
|
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/local-storage.service.ts</code>
|
|
119
|
-
</p>
|
|
120
|
-
|
|
121
150
|
|
|
122
151
|
|
|
123
152
|
<p class="comment">
|
|
@@ -127,45 +156,82 @@
|
|
|
127
156
|
<code><a href="../injectables/StorageService.html" target="_self" >StorageService</a></code>
|
|
128
157
|
</p>
|
|
129
158
|
|
|
159
|
+
<section data-compodoc="block-metadata">
|
|
160
|
+
<h3>Metadata</h3>
|
|
161
|
+
<table class="table table-sm table-hover metadata">
|
|
162
|
+
<tbody>
|
|
163
|
+
<tr>
|
|
164
|
+
<td class="col-md-3">providedIn</td>
|
|
165
|
+
<td class="col-md-9"><code>root</code></td>
|
|
166
|
+
</tr>
|
|
167
|
+
</tbody>
|
|
168
|
+
</table>
|
|
169
|
+
</section>
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
<section data-compodoc="block-relationships">
|
|
173
|
+
<h3>Relationships</h3>
|
|
174
|
+
|
|
175
|
+
<div class="row pt-3">
|
|
176
|
+
<div class="col-sm-6">
|
|
177
|
+
<h4>Used by</h4>
|
|
178
|
+
<p class="comment"><i>No results matching.</i></p>
|
|
179
|
+
</div>
|
|
180
|
+
|
|
181
|
+
<div class="col-sm-6">
|
|
182
|
+
<h4>Depends on</h4>
|
|
183
|
+
<ul class="list-unstyled relationships-list">
|
|
184
|
+
<li>
|
|
185
|
+
<code><a href="../injectables/StorageService.html" target="_self" >StorageService</a></code>
|
|
186
|
+
</li>
|
|
187
|
+
</ul>
|
|
188
|
+
</div>
|
|
189
|
+
</div>
|
|
190
|
+
</section>
|
|
191
|
+
</div>
|
|
130
192
|
|
|
193
|
+
<div class="tab-pane fade " id="api">
|
|
131
194
|
<section data-compodoc="block-index">
|
|
132
195
|
<h3 id="index">Index</h3>
|
|
133
|
-
<table class="table table-sm table-bordered index-table">
|
|
134
|
-
<tbody>
|
|
135
196
|
|
|
197
|
+
<table class="table table-sm table-bordered index-table">
|
|
198
|
+
<tbody>
|
|
136
199
|
<tr>
|
|
137
|
-
<td class="col-md-
|
|
200
|
+
<td class="col-md-3">
|
|
138
201
|
<h6><b>Methods</b></h6>
|
|
139
202
|
</td>
|
|
140
|
-
|
|
141
|
-
<tr>
|
|
142
|
-
<td class="col-md-4">
|
|
203
|
+
<td class="col-md-9">
|
|
143
204
|
<ul class="index-list">
|
|
144
205
|
<li>
|
|
206
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
145
207
|
<a href="#clear" >clear</a>
|
|
146
208
|
</li>
|
|
147
209
|
<li>
|
|
210
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
148
211
|
<a href="#get" >get</a>
|
|
149
212
|
</li>
|
|
150
213
|
<li>
|
|
214
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
151
215
|
<a href="#has" >has</a>
|
|
152
216
|
</li>
|
|
153
217
|
<li>
|
|
218
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
154
219
|
<a href="#remove" >remove</a>
|
|
155
220
|
</li>
|
|
156
221
|
<li>
|
|
222
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
157
223
|
<a href="#set" >set</a>
|
|
158
224
|
</li>
|
|
159
225
|
</ul>
|
|
160
226
|
</td>
|
|
161
227
|
</tr>
|
|
228
|
+
</tbody>
|
|
229
|
+
</table>
|
|
162
230
|
|
|
163
231
|
|
|
164
232
|
|
|
165
233
|
|
|
166
234
|
|
|
167
|
-
</tbody>
|
|
168
|
-
</table>
|
|
169
235
|
</section>
|
|
170
236
|
|
|
171
237
|
<section data-compodoc="block-constructor">
|
|
@@ -218,7 +284,7 @@
|
|
|
218
284
|
</tr>
|
|
219
285
|
<tr>
|
|
220
286
|
<td class="col-md-4">
|
|
221
|
-
<div class="io-line">
|
|
287
|
+
<div class="io-line"> <code><a href="../injectables/StorageService.html#source" target="_self" >StorageService:50</a></code>
|
|
222
288
|
</div>
|
|
223
289
|
</td>
|
|
224
290
|
</tr>
|
|
@@ -261,7 +327,7 @@
|
|
|
261
327
|
</tr>
|
|
262
328
|
<tr>
|
|
263
329
|
<td class="col-md-4">
|
|
264
|
-
<div class="io-line">
|
|
330
|
+
<div class="io-line"> <code><a href="../injectables/StorageService.html#source" target="_self" >StorageService:19</a></code>
|
|
265
331
|
</div>
|
|
266
332
|
</td>
|
|
267
333
|
</tr>
|
|
@@ -334,7 +400,7 @@
|
|
|
334
400
|
</tr>
|
|
335
401
|
<tr>
|
|
336
402
|
<td class="col-md-4">
|
|
337
|
-
<div class="io-line">
|
|
403
|
+
<div class="io-line"> <code><a href="../injectables/StorageService.html#source" target="_self" >StorageService:15</a></code>
|
|
338
404
|
</div>
|
|
339
405
|
</td>
|
|
340
406
|
</tr>
|
|
@@ -407,7 +473,7 @@
|
|
|
407
473
|
</tr>
|
|
408
474
|
<tr>
|
|
409
475
|
<td class="col-md-4">
|
|
410
|
-
<div class="io-line">
|
|
476
|
+
<div class="io-line"> <code><a href="../injectables/StorageService.html#source" target="_self" >StorageService:33</a></code>
|
|
411
477
|
</div>
|
|
412
478
|
</td>
|
|
413
479
|
</tr>
|
|
@@ -478,7 +544,7 @@
|
|
|
478
544
|
</tr>
|
|
479
545
|
<tr>
|
|
480
546
|
<td class="col-md-4">
|
|
481
|
-
<code>set(key: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>, value: <a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank">any</a>, expiredAt: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number" target="_blank">number</a>, expiredUnit: <a href="../
|
|
547
|
+
<code>set(key: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>, value: <a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank">any</a>, expiredAt: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number" target="_blank">number</a>, expiredUnit: <a href="../miscellaneous/typealiases.html#ExpiredUnit" target="_self">ExpiredUnit</a>)</code>
|
|
482
548
|
</td>
|
|
483
549
|
</tr>
|
|
484
550
|
|
|
@@ -491,7 +557,7 @@
|
|
|
491
557
|
</tr>
|
|
492
558
|
<tr>
|
|
493
559
|
<td class="col-md-4">
|
|
494
|
-
<div class="io-line">
|
|
560
|
+
<div class="io-line"> <code><a href="../injectables/StorageService.html#source" target="_self" >StorageService:23</a></code>
|
|
495
561
|
</div>
|
|
496
562
|
</td>
|
|
497
563
|
</tr>
|
|
@@ -587,6 +653,7 @@
|
|
|
587
653
|
</table>
|
|
588
654
|
</section>
|
|
589
655
|
|
|
656
|
+
|
|
590
657
|
</div>
|
|
591
658
|
|
|
592
659
|
|
|
@@ -650,6 +717,24 @@ export class LocalStorageService extends StorageService {
|
|
|
650
717
|
|
|
651
718
|
<script>
|
|
652
719
|
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
720
|
+
var updateDarkModeSwitchOffset = function () {
|
|
721
|
+
var content = document.querySelector('.content');
|
|
722
|
+
var scrollbarWidth = 0;
|
|
723
|
+
|
|
724
|
+
if (content) {
|
|
725
|
+
scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
document.documentElement.style.setProperty(
|
|
729
|
+
'--content-scrollbar-width',
|
|
730
|
+
scrollbarWidth + 'px'
|
|
731
|
+
);
|
|
732
|
+
};
|
|
733
|
+
|
|
734
|
+
updateDarkModeSwitchOffset();
|
|
735
|
+
requestAnimationFrame(updateDarkModeSwitchOffset);
|
|
736
|
+
window.addEventListener('resize', updateDarkModeSwitchOffset);
|
|
737
|
+
|
|
653
738
|
checkToggle(darkModeState);
|
|
654
739
|
if ($darkModeToggleSwitchers.length > 0) {
|
|
655
740
|
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
@@ -665,14 +750,12 @@ export class LocalStorageService extends StorageService {
|
|
|
665
750
|
<script src="../js/libs/lit-html.js"></script>
|
|
666
751
|
|
|
667
752
|
<script src="../js/menu-wc.js" defer></script>
|
|
668
|
-
<script nomodule src="../js/menu-wc_es5.js" defer></script>
|
|
669
753
|
|
|
670
754
|
<script src="../js/libs/bootstrap-native.js"></script>
|
|
671
755
|
|
|
672
756
|
<script src="../js/libs/es6-shim.min.js"></script>
|
|
673
757
|
<script src="../js/libs/EventDispatcher.js"></script>
|
|
674
758
|
<script src="../js/libs/promise.min.js"></script>
|
|
675
|
-
<script src="../js/libs/zepto.min.js"></script>
|
|
676
759
|
|
|
677
760
|
<script src="../js/compodoc.js"></script>
|
|
678
761
|
|
|
@@ -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" >SessionStorageService</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/session-storage.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,13 +147,6 @@
|
|
|
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/session-storage.service.ts</code>
|
|
119
|
-
</p>
|
|
120
|
-
|
|
121
150
|
|
|
122
151
|
|
|
123
152
|
<p class="comment">
|
|
@@ -127,45 +156,82 @@
|
|
|
127
156
|
<code><a href="../injectables/StorageService.html" target="_self" >StorageService</a></code>
|
|
128
157
|
</p>
|
|
129
158
|
|
|
159
|
+
<section data-compodoc="block-metadata">
|
|
160
|
+
<h3>Metadata</h3>
|
|
161
|
+
<table class="table table-sm table-hover metadata">
|
|
162
|
+
<tbody>
|
|
163
|
+
<tr>
|
|
164
|
+
<td class="col-md-3">providedIn</td>
|
|
165
|
+
<td class="col-md-9"><code>root</code></td>
|
|
166
|
+
</tr>
|
|
167
|
+
</tbody>
|
|
168
|
+
</table>
|
|
169
|
+
</section>
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
<section data-compodoc="block-relationships">
|
|
173
|
+
<h3>Relationships</h3>
|
|
174
|
+
|
|
175
|
+
<div class="row pt-3">
|
|
176
|
+
<div class="col-sm-6">
|
|
177
|
+
<h4>Used by</h4>
|
|
178
|
+
<p class="comment"><i>No results matching.</i></p>
|
|
179
|
+
</div>
|
|
180
|
+
|
|
181
|
+
<div class="col-sm-6">
|
|
182
|
+
<h4>Depends on</h4>
|
|
183
|
+
<ul class="list-unstyled relationships-list">
|
|
184
|
+
<li>
|
|
185
|
+
<code><a href="../injectables/StorageService.html" target="_self" >StorageService</a></code>
|
|
186
|
+
</li>
|
|
187
|
+
</ul>
|
|
188
|
+
</div>
|
|
189
|
+
</div>
|
|
190
|
+
</section>
|
|
191
|
+
</div>
|
|
130
192
|
|
|
193
|
+
<div class="tab-pane fade " id="api">
|
|
131
194
|
<section data-compodoc="block-index">
|
|
132
195
|
<h3 id="index">Index</h3>
|
|
133
|
-
<table class="table table-sm table-bordered index-table">
|
|
134
|
-
<tbody>
|
|
135
196
|
|
|
197
|
+
<table class="table table-sm table-bordered index-table">
|
|
198
|
+
<tbody>
|
|
136
199
|
<tr>
|
|
137
|
-
<td class="col-md-
|
|
200
|
+
<td class="col-md-3">
|
|
138
201
|
<h6><b>Methods</b></h6>
|
|
139
202
|
</td>
|
|
140
|
-
|
|
141
|
-
<tr>
|
|
142
|
-
<td class="col-md-4">
|
|
203
|
+
<td class="col-md-9">
|
|
143
204
|
<ul class="index-list">
|
|
144
205
|
<li>
|
|
206
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
145
207
|
<a href="#clear" >clear</a>
|
|
146
208
|
</li>
|
|
147
209
|
<li>
|
|
210
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
148
211
|
<a href="#get" >get</a>
|
|
149
212
|
</li>
|
|
150
213
|
<li>
|
|
214
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
151
215
|
<a href="#has" >has</a>
|
|
152
216
|
</li>
|
|
153
217
|
<li>
|
|
218
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
154
219
|
<a href="#remove" >remove</a>
|
|
155
220
|
</li>
|
|
156
221
|
<li>
|
|
222
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
157
223
|
<a href="#set" >set</a>
|
|
158
224
|
</li>
|
|
159
225
|
</ul>
|
|
160
226
|
</td>
|
|
161
227
|
</tr>
|
|
228
|
+
</tbody>
|
|
229
|
+
</table>
|
|
162
230
|
|
|
163
231
|
|
|
164
232
|
|
|
165
233
|
|
|
166
234
|
|
|
167
|
-
</tbody>
|
|
168
|
-
</table>
|
|
169
235
|
</section>
|
|
170
236
|
|
|
171
237
|
<section data-compodoc="block-constructor">
|
|
@@ -218,7 +284,7 @@
|
|
|
218
284
|
</tr>
|
|
219
285
|
<tr>
|
|
220
286
|
<td class="col-md-4">
|
|
221
|
-
<div class="io-line">
|
|
287
|
+
<div class="io-line"> <code><a href="../injectables/StorageService.html#source" target="_self" >StorageService:50</a></code>
|
|
222
288
|
</div>
|
|
223
289
|
</td>
|
|
224
290
|
</tr>
|
|
@@ -261,7 +327,7 @@
|
|
|
261
327
|
</tr>
|
|
262
328
|
<tr>
|
|
263
329
|
<td class="col-md-4">
|
|
264
|
-
<div class="io-line">
|
|
330
|
+
<div class="io-line"> <code><a href="../injectables/StorageService.html#source" target="_self" >StorageService:19</a></code>
|
|
265
331
|
</div>
|
|
266
332
|
</td>
|
|
267
333
|
</tr>
|
|
@@ -334,7 +400,7 @@
|
|
|
334
400
|
</tr>
|
|
335
401
|
<tr>
|
|
336
402
|
<td class="col-md-4">
|
|
337
|
-
<div class="io-line">
|
|
403
|
+
<div class="io-line"> <code><a href="../injectables/StorageService.html#source" target="_self" >StorageService:15</a></code>
|
|
338
404
|
</div>
|
|
339
405
|
</td>
|
|
340
406
|
</tr>
|
|
@@ -407,7 +473,7 @@
|
|
|
407
473
|
</tr>
|
|
408
474
|
<tr>
|
|
409
475
|
<td class="col-md-4">
|
|
410
|
-
<div class="io-line">
|
|
476
|
+
<div class="io-line"> <code><a href="../injectables/StorageService.html#source" target="_self" >StorageService:33</a></code>
|
|
411
477
|
</div>
|
|
412
478
|
</td>
|
|
413
479
|
</tr>
|
|
@@ -478,7 +544,7 @@
|
|
|
478
544
|
</tr>
|
|
479
545
|
<tr>
|
|
480
546
|
<td class="col-md-4">
|
|
481
|
-
<code>set(key: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>, value: <a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank">any</a>, expiredAt: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number" target="_blank">number</a>, expiredUnit: <a href="../
|
|
547
|
+
<code>set(key: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>, value: <a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank">any</a>, expiredAt: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number" target="_blank">number</a>, expiredUnit: <a href="../miscellaneous/typealiases.html#ExpiredUnit" target="_self">ExpiredUnit</a>)</code>
|
|
482
548
|
</td>
|
|
483
549
|
</tr>
|
|
484
550
|
|
|
@@ -491,7 +557,7 @@
|
|
|
491
557
|
</tr>
|
|
492
558
|
<tr>
|
|
493
559
|
<td class="col-md-4">
|
|
494
|
-
<div class="io-line">
|
|
560
|
+
<div class="io-line"> <code><a href="../injectables/StorageService.html#source" target="_self" >StorageService:23</a></code>
|
|
495
561
|
</div>
|
|
496
562
|
</td>
|
|
497
563
|
</tr>
|
|
@@ -587,6 +653,7 @@
|
|
|
587
653
|
</table>
|
|
588
654
|
</section>
|
|
589
655
|
|
|
656
|
+
|
|
590
657
|
</div>
|
|
591
658
|
|
|
592
659
|
|
|
@@ -650,6 +717,24 @@ export class SessionStorageService extends StorageService {
|
|
|
650
717
|
|
|
651
718
|
<script>
|
|
652
719
|
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
720
|
+
var updateDarkModeSwitchOffset = function () {
|
|
721
|
+
var content = document.querySelector('.content');
|
|
722
|
+
var scrollbarWidth = 0;
|
|
723
|
+
|
|
724
|
+
if (content) {
|
|
725
|
+
scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
document.documentElement.style.setProperty(
|
|
729
|
+
'--content-scrollbar-width',
|
|
730
|
+
scrollbarWidth + 'px'
|
|
731
|
+
);
|
|
732
|
+
};
|
|
733
|
+
|
|
734
|
+
updateDarkModeSwitchOffset();
|
|
735
|
+
requestAnimationFrame(updateDarkModeSwitchOffset);
|
|
736
|
+
window.addEventListener('resize', updateDarkModeSwitchOffset);
|
|
737
|
+
|
|
653
738
|
checkToggle(darkModeState);
|
|
654
739
|
if ($darkModeToggleSwitchers.length > 0) {
|
|
655
740
|
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
@@ -665,14 +750,12 @@ export class SessionStorageService extends StorageService {
|
|
|
665
750
|
<script src="../js/libs/lit-html.js"></script>
|
|
666
751
|
|
|
667
752
|
<script src="../js/menu-wc.js" defer></script>
|
|
668
|
-
<script nomodule src="../js/menu-wc_es5.js" defer></script>
|
|
669
753
|
|
|
670
754
|
<script src="../js/libs/bootstrap-native.js"></script>
|
|
671
755
|
|
|
672
756
|
<script src="../js/libs/es6-shim.min.js"></script>
|
|
673
757
|
<script src="../js/libs/EventDispatcher.js"></script>
|
|
674
758
|
<script src="../js/libs/promise.min.js"></script>
|
|
675
|
-
<script src="../js/libs/zepto.min.js"></script>
|
|
676
759
|
|
|
677
760
|
<script src="../js/compodoc.js"></script>
|
|
678
761
|
|