@rxap/ngx-changelog 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.
Files changed (114) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/compodoc/architecture.html +222 -0
  3. package/compodoc/changelog.html +69 -5
  4. package/compodoc/components/ChangelogComponent.html +184 -34
  5. package/compodoc/components/ChangelogDialogComponent.html +127 -59
  6. package/compodoc/dependencies.html +108 -27
  7. package/compodoc/index.html +46 -5
  8. package/compodoc/injectables/ChangelogControllerGetLatestRemoteMethod.html +98 -19
  9. package/compodoc/injectables/ChangelogControllerGetVersionRemoteMethod.html +98 -19
  10. package/compodoc/injectables/ChangelogControllerListRemoteMethod.html +98 -19
  11. package/compodoc/injectables/ChangelogService.html +99 -36
  12. package/compodoc/interfaces/ChangelogControllerGetLatestParameter.html +114 -64
  13. package/compodoc/interfaces/ChangelogControllerGetLatestResponse.html +149 -94
  14. package/compodoc/interfaces/ChangelogControllerGetVersionParameter.html +149 -94
  15. package/compodoc/interfaces/ChangelogControllerGetVersionResponse.html +149 -94
  16. package/compodoc/interfaces/ChangelogDto.html +149 -94
  17. package/compodoc/js/architecture-graph.js +288 -0
  18. package/compodoc/js/libs/bootstrap-native.js +4 -2
  19. package/compodoc/js/libs/jszip.min.js +13 -0
  20. package/compodoc/js/libs/svg-pan-zoom.min.js +3 -3
  21. package/compodoc/js/libs/tablesort.min.js +3 -3
  22. package/compodoc/js/libs/tablesort.number.min.js +3 -3
  23. package/compodoc/js/libs/vis-network.min.js +78 -0
  24. package/compodoc/js/menu-wc.js +25 -12
  25. package/compodoc/js/menu.js +10 -11
  26. package/compodoc/js/routes/routes_index.js +1 -0
  27. package/compodoc/js/routes.js +142 -34
  28. package/compodoc/js/search/search-lunr.js +6 -8
  29. package/compodoc/js/search/search.js +118 -66
  30. package/compodoc/js/search/search_index.js +2 -2
  31. package/compodoc/js/tabs.js +98 -15
  32. package/compodoc/js/tree.js +44 -7
  33. package/compodoc/license.html +48 -6
  34. package/compodoc/llms.txt +135 -0
  35. package/compodoc/miscellaneous/functions.html +51 -8
  36. package/compodoc/miscellaneous/typealiases.html +46 -4
  37. package/compodoc/miscellaneous/variables.html +53 -6
  38. package/compodoc/modules.html +44 -3
  39. package/compodoc/overview.html +54 -3
  40. package/compodoc/properties.html +45 -4
  41. package/compodoc/routes.html +227 -0
  42. package/compodoc/styles/compodoc.css +365 -44
  43. package/compodoc/styles/dark.css +16 -0
  44. package/compodoc/template-playground/default-templates.json +192 -0
  45. package/compodoc/template-playground/hbs-render.service.ts +217 -0
  46. package/compodoc/template-playground/main.ts +9 -0
  47. package/compodoc/template-playground/template-editor.service.ts +173 -0
  48. package/compodoc/template-playground/template-playground.component.ts +614 -0
  49. package/compodoc/template-playground/template-playground.module.ts +29 -0
  50. package/compodoc/template-playground/zip-export.service.ts +86 -0
  51. package/compodoc/template-playground-app/app.js +1389 -0
  52. package/compodoc/template-playground-app/index.html +462 -0
  53. package/docs/documentation.json +2135 -1345
  54. package/docs/html/assets/highlight.css +1 -1
  55. package/docs/html/assets/icons.js +1 -1
  56. package/docs/html/assets/icons.svg +1 -1
  57. package/docs/html/assets/main.js +5 -5
  58. package/docs/html/assets/search.js +1 -1
  59. package/docs/html/assets/style.css +265 -228
  60. package/docs/html/classes/ChangelogComponent.html +114 -10
  61. package/docs/html/classes/ChangelogControllerGetLatestRemoteMethod.html +671 -62
  62. package/docs/html/classes/ChangelogControllerGetVersionRemoteMethod.html +671 -62
  63. package/docs/html/classes/ChangelogControllerListRemoteMethod.html +667 -62
  64. package/docs/html/classes/ChangelogDialogComponent.html +106 -6
  65. package/docs/html/classes/ChangelogService.html +122 -6
  66. package/docs/html/functions/ProvideChangelog.html +38 -1
  67. package/docs/html/hierarchy.html +29 -0
  68. package/docs/html/index.html +40 -4
  69. package/docs/html/interfaces/ChangelogControllerGetLatestParameter.html +55 -2
  70. package/docs/html/interfaces/ChangelogControllerGetLatestResponse.html +61 -3
  71. package/docs/html/interfaces/ChangelogControllerGetVersionParameter.html +61 -3
  72. package/docs/html/interfaces/ChangelogControllerGetVersionResponse.html +61 -3
  73. package/docs/html/interfaces/ChangelogDto.html +61 -3
  74. package/docs/html/modules.html +52 -1
  75. package/docs/html/types/ChangelogControllerListResponse.html +33 -1
  76. package/docs/html/variables/RXAP_CHANGELOG_DISABLED.html +33 -1
  77. package/docs/html/variables/RXAP_CHANGELOG_LAST_VERSION.html +33 -1
  78. package/docs/markdown/README.md +1 -1
  79. package/docs/markdown/classes/ChangelogComponent.md +15 -15
  80. package/docs/markdown/classes/ChangelogControllerGetLatestRemoteMethod.md +97 -97
  81. package/docs/markdown/classes/ChangelogControllerGetVersionRemoteMethod.md +86 -86
  82. package/docs/markdown/classes/ChangelogControllerListRemoteMethod.md +86 -86
  83. package/docs/markdown/classes/ChangelogDialogComponent.md +12 -12
  84. package/docs/markdown/classes/ChangelogService.md +13 -13
  85. package/docs/markdown/functions/ProvideChangelog.md +2 -2
  86. package/docs/markdown/globals.md +2 -2
  87. package/docs/markdown/interfaces/ChangelogControllerGetLatestParameter.md +3 -3
  88. package/docs/markdown/interfaces/ChangelogControllerGetLatestResponse.md +4 -4
  89. package/docs/markdown/interfaces/ChangelogControllerGetVersionParameter.md +4 -4
  90. package/docs/markdown/interfaces/ChangelogControllerGetVersionResponse.md +4 -4
  91. package/docs/markdown/interfaces/ChangelogDto.md +4 -4
  92. package/docs/markdown/type-aliases/ChangelogControllerListResponse.md +3 -3
  93. package/docs/markdown/variables/RXAP_CHANGELOG_DISABLED.md +2 -2
  94. package/docs/markdown/variables/RXAP_CHANGELOG_LAST_VERSION.md +2 -2
  95. package/docs/wiki/Class.ChangelogComponent.md +14 -14
  96. package/docs/wiki/Class.ChangelogControllerGetLatestRemoteMethod.md +96 -96
  97. package/docs/wiki/Class.ChangelogControllerGetVersionRemoteMethod.md +85 -85
  98. package/docs/wiki/Class.ChangelogControllerListRemoteMethod.md +85 -85
  99. package/docs/wiki/Class.ChangelogDialogComponent.md +11 -11
  100. package/docs/wiki/Class.ChangelogService.md +12 -12
  101. package/docs/wiki/Function.ProvideChangelog.md +1 -1
  102. package/docs/wiki/Interface.ChangelogControllerGetLatestParameter.md +2 -2
  103. package/docs/wiki/Interface.ChangelogControllerGetLatestResponse.md +3 -3
  104. package/docs/wiki/Interface.ChangelogControllerGetVersionParameter.md +3 -3
  105. package/docs/wiki/Interface.ChangelogControllerGetVersionResponse.md +3 -3
  106. package/docs/wiki/Interface.ChangelogDto.md +3 -3
  107. package/docs/wiki/TypeAlias.ChangelogControllerListResponse.md +2 -2
  108. package/docs/wiki/Variable.RXAP_CHANGELOG_DISABLED.md +1 -1
  109. package/docs/wiki/Variable.RXAP_CHANGELOG_LAST_VERSION.md +1 -1
  110. package/docs/wiki/globals.md +1 -1
  111. package/fesm2022/rxap-ngx-changelog.mjs +382 -130
  112. package/fesm2022/rxap-ngx-changelog.mjs.map +1 -1
  113. package/package.json +31 -31
  114. package/types/rxap-ngx-changelog.d.ts +79 -89
@@ -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"><input type="text" placeholder="Type to search"></div> <compodoc-menu></compodoc-menu>
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>&times;</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" >ChangelogService</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/changelog.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,65 +147,77 @@
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/changelog.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-4">
175
+ <td class="col-md-3">
132
176
  <h6><b>Methods</b></h6>
133
177
  </td>
134
- </tr>
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="#showChangelogDialog" >showChangelogDialog</a>
141
184
  </li>
142
185
  <li>
186
+ <span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
143
187
  <span class="modifier">Public</span>
144
188
  <a href="#showChangelogDialogIfNewVersion" >showChangelogDialogIfNewVersion</a>
145
189
  </li>
146
190
  </ul>
147
191
  </td>
148
192
  </tr>
193
+ </tbody>
194
+ </table>
149
195
 
150
196
 
151
197
 
152
198
 
153
199
 
154
- <tr>
155
- <td class="col-md-4">
156
- <h6><b>Accessors</b></h6>
157
- </td>
158
- </tr>
159
- <tr>
160
- <td class="col-md-4">
161
- <ul class="index-list">
162
- <li>
163
- <a href="#isDisabled" >isDisabled</a>
164
- </li>
165
- <li>
166
- <a href="#lastVersion" >lastVersion</a>
167
- </li>
168
- </ul>
169
- </td>
170
- </tr>
171
- </tbody>
172
- </table>
200
+ <table class="table table-sm table-bordered index-table">
201
+ <tbody>
202
+ <tr>
203
+ <td class="col-md-3">
204
+ <h6><b>Accessors</b></h6>
205
+ </td>
206
+ <td class="col-md-9">
207
+ <ul class="index-list">
208
+ <li>
209
+ <span class="reference-badge reference-badge--accessor" aria-hidden="true">A</span>
210
+ <a href="#isDisabled" >isDisabled</a>
211
+ </li>
212
+ <li>
213
+ <span class="reference-badge reference-badge--accessor" aria-hidden="true">A</span>
214
+ <a href="#lastVersion" >lastVersion</a>
215
+ </li>
216
+ </ul>
217
+ </td>
218
+ </tr>
219
+ </tbody>
220
+ </table>
173
221
  </section>
174
222
 
175
223
 
@@ -258,6 +306,7 @@
258
306
  </table>
259
307
  </section>
260
308
 
309
+
261
310
  <section data-compodoc="block-accessors">
262
311
  <h3 id="accessors">
263
312
  Accessors
@@ -343,8 +392,6 @@
343
392
  </tbody>
344
393
  </table>
345
394
  </div>
346
- <div>
347
- </div>
348
395
  <div class="io-description">
349
396
  <b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
350
397
 
@@ -490,6 +537,24 @@ export class ChangelogService {
490
537
 
491
538
  <script>
492
539
  $darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
540
+ var updateDarkModeSwitchOffset = function () {
541
+ var content = document.querySelector('.content');
542
+ var scrollbarWidth = 0;
543
+
544
+ if (content) {
545
+ scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
546
+ }
547
+
548
+ document.documentElement.style.setProperty(
549
+ '--content-scrollbar-width',
550
+ scrollbarWidth + 'px'
551
+ );
552
+ };
553
+
554
+ updateDarkModeSwitchOffset();
555
+ requestAnimationFrame(updateDarkModeSwitchOffset);
556
+ window.addEventListener('resize', updateDarkModeSwitchOffset);
557
+
493
558
  checkToggle(darkModeState);
494
559
  if ($darkModeToggleSwitchers.length > 0) {
495
560
  for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
@@ -505,14 +570,12 @@ export class ChangelogService {
505
570
  <script src="../js/libs/lit-html.js"></script>
506
571
 
507
572
  <script src="../js/menu-wc.js" defer></script>
508
- <script nomodule src="../js/menu-wc_es5.js" defer></script>
509
573
 
510
574
  <script src="../js/libs/bootstrap-native.js"></script>
511
575
 
512
576
  <script src="../js/libs/es6-shim.min.js"></script>
513
577
  <script src="../js/libs/EventDispatcher.js"></script>
514
578
  <script src="../js/libs/promise.min.js"></script>
515
- <script src="../js/libs/zepto.min.js"></script>
516
579
 
517
580
  <script src="../js/compodoc.js"></script>
518
581
 
@@ -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"><input type="text" placeholder="Type to search"></div> <compodoc-menu></compodoc-menu>
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>&times;</button>
93
+ </div>
94
+ <compodoc-menu></compodoc-menu>
74
95
  </div>
75
96
 
76
97
  <div class="container-fluid main">
@@ -94,6 +115,10 @@
94
115
 
95
116
 
96
117
 
118
+
119
+
120
+
121
+
97
122
  <ol class="breadcrumb">
98
123
  <li class="breadcrumb-item">Interfaces</li>
99
124
  <li class="breadcrumb-item"
@@ -101,6 +126,11 @@
101
126
  ChangelogControllerGetLatestParameter</li>
102
127
  </ol>
103
128
 
129
+ <div class="io-file io-file-path" data-compodoc="entity-file-path">
130
+ <span class="icon ion-ios-document" aria-hidden="true"></span>
131
+ <code>src/lib/openapi/parameters/changelog-controller-get-latest.parameter.ts</code>
132
+ </div>
133
+
104
134
  <ul class="nav nav-tabs" role="tablist">
105
135
  <li class="nav-item">
106
136
  <a href="#info"
@@ -108,6 +138,12 @@
108
138
  class="nav-link active"
109
139
  role="tab" id="info-tab" data-bs-toggle="tab" data-link="info">Info</a>
110
140
  </li>
141
+ <li class="nav-item">
142
+ <a href="#api"
143
+ class="nav-link"
144
+
145
+ role="tab" id="api-tab" data-bs-toggle="tab" data-link="api">API</a>
146
+ </li>
111
147
  <li class="nav-item">
112
148
  <a href="#source"
113
149
  class="nav-link"
@@ -118,80 +154,78 @@
118
154
 
119
155
  <div class="tab-content">
120
156
  <div class="tab-pane fade active in" id="info">
121
- <p class="comment">
122
- <h3>File</h3>
123
- </p>
124
- <p class="comment">
125
- <code>src/lib/openapi/parameters/changelog-controller-get-latest.parameter.ts</code>
126
- </p>
127
157
 
128
158
 
129
159
 
130
-
131
- <section data-compodoc="block-index">
132
- <h3 id="index">Index</h3>
133
- <table class="table table-sm table-bordered index-table">
160
+ </div>
161
+
162
+ <div class="tab-pane fade " id="api"><section data-compodoc="block-index">
163
+ <h3 id="index">Index</h3>
164
+ <table class="table table-sm table-bordered index-table">
165
+ <tbody>
166
+ <tr>
167
+ <td class="col-md-3">
168
+ <h6><b>Properties</b></h6>
169
+ </td>
170
+ <td class="col-md-9">
171
+ <ul class="index-list">
172
+ <li>
173
+ <a href="#application" class="reference-link ">
174
+ <span class="reference-badge reference-badge--property" aria-hidden="true">P</span><span class="reference-link-label">application</span>
175
+ </a>
176
+ </li>
177
+ </ul>
178
+ </td>
179
+ </tr>
180
+ </tbody>
181
+ </table>
182
+ </section>
183
+
184
+
185
+
186
+ <section data-compodoc="block-properties">
187
+ <h3 id="inputs">Properties</h3>
188
+ <table class="table table-sm table-bordered">
134
189
  <tbody>
135
- <tr>
136
- <td class="col-md-4">
137
- <h6><b>Properties</b></h6>
138
- </td>
139
- </tr>
140
- <tr>
141
- <td class="col-md-4">
142
- <ul class="index-list">
143
- <li>
144
- <a href="#application"
145
- >
146
- application
147
- </a>
148
- </li>
149
- </ul>
150
- </td>
151
- </tr>
152
- </tbody>
153
- </table>
154
- </section>
155
-
156
-
157
-
158
- <section data-compodoc="block-properties">
159
- <h3 id="inputs">Properties</h3>
160
- <table class="table table-sm table-bordered">
161
- <tbody>
162
- <tr>
163
- <td class="col-md-4">
164
- <a name="application"></a>
165
- <span class="name "><b>application</b>
166
- <a href="#application">
167
- <span class="icon ion-ios-link"></span>
168
- </a>
169
- </span>
170
- </td>
171
- </tr>
172
- <tr>
173
- <td class="col-md-4">
174
- <code>application: <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
190
+ <tr>
191
+ <td class="col-md-4">
192
+ <a name="application"></a>
193
+ <span class="name "><b>application</b>
194
+ <a href="#application">
195
+ <span class="icon ion-ios-link"></span>
196
+ </a>
197
+ </span>
198
+ </td>
199
+ </tr>
200
+ <tr>
201
+ <td class="col-md-4">
202
+ <code>application: <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
175
203
  </code>
176
- </td>
177
- </tr>
204
+ </td>
205
+ </tr>
178
206
 
179
207
 
180
- <tr>
181
- <td class="col-md-4">
182
- <i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
208
+ <tr>
209
+ <td class="col-md-4">
210
+ <i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
183
211
 
184
- </td>
185
- </tr>
212
+ </td>
213
+ </tr>
186
214
 
187
215
 
188
216
 
189
217
 
190
218
 
191
- </tbody>
192
- </table>
193
- </section>
194
- </div>
219
+ <tr>
220
+ <td class="col-md-4">
221
+ <div class="io-line">Defined in <a href="" data-line="2" class="link-to-prism">src/lib/openapi/parameters/changelog-controller-get-latest.parameter.ts:2</a></div>
222
+ </td>
223
+ </tr>
224
+
225
+ </tbody>
226
+ </table>
227
+ </section>
228
+ </div>
195
229
 
196
230
 
197
231
  <div class="tab-pane fade tab-source-code" id="source">
@@ -241,6 +275,24 @@
241
275
 
242
276
  <script>
243
277
  $darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
278
+ var updateDarkModeSwitchOffset = function () {
279
+ var content = document.querySelector('.content');
280
+ var scrollbarWidth = 0;
281
+
282
+ if (content) {
283
+ scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
284
+ }
285
+
286
+ document.documentElement.style.setProperty(
287
+ '--content-scrollbar-width',
288
+ scrollbarWidth + 'px'
289
+ );
290
+ };
291
+
292
+ updateDarkModeSwitchOffset();
293
+ requestAnimationFrame(updateDarkModeSwitchOffset);
294
+ window.addEventListener('resize', updateDarkModeSwitchOffset);
295
+
244
296
  checkToggle(darkModeState);
245
297
  if ($darkModeToggleSwitchers.length > 0) {
246
298
  for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
@@ -256,14 +308,12 @@
256
308
  <script src="../js/libs/lit-html.js"></script>
257
309
 
258
310
  <script src="../js/menu-wc.js" defer></script>
259
- <script nomodule src="../js/menu-wc_es5.js" defer></script>
260
311
 
261
312
  <script src="../js/libs/bootstrap-native.js"></script>
262
313
 
263
314
  <script src="../js/libs/es6-shim.min.js"></script>
264
315
  <script src="../js/libs/EventDispatcher.js"></script>
265
316
  <script src="../js/libs/promise.min.js"></script>
266
- <script src="../js/libs/zepto.min.js"></script>
267
317
 
268
318
  <script src="../js/compodoc.js"></script>
269
319