@eui/base 23.0.0-alpha.2 → 23.0.0-alpha.3
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/docs/architecture.html +223 -0
- package/docs/changelog.html +87 -2
- package/docs/classes/ConsoleAppender.html +76 -27
- package/docs/classes/EuiEuLanguages.html +55 -16
- package/docs/classes/EuiLazyService.html +86 -25
- package/docs/classes/EuiPagination.html +69 -16
- package/docs/classes/EuiService.html +103 -28
- package/docs/classes/LogAppender.html +52 -20
- package/docs/classes/Logger.html +100 -30
- package/docs/classes/LoggerMock.html +92 -22
- package/docs/classes/UrlAppender.html +78 -24
- package/docs/classes/UxBadgeLegacy.html +47 -16
- package/docs/classes/UxClearErrorFeedbackEvent.html +47 -16
- package/docs/classes/UxErrorGroupOnClickEvent.html +47 -16
- package/docs/classes/UxErrorOutput.html +91 -24
- package/docs/classes/UxLinkLegacy.html +105 -31
- package/docs/classes/UxPublishErrorFeedbackEvent.html +49 -16
- package/docs/classes/UxValidationErrorClass.html +77 -18
- package/docs/dependencies.html +38 -4
- package/docs/index.html +26 -2
- package/docs/interfaces/ApiQueue.html +41 -11
- package/docs/interfaces/ApiQueueItem.html +209 -181
- package/docs/interfaces/AppState.html +312 -284
- package/docs/interfaces/ConnectionStatus.html +134 -93
- package/docs/interfaces/ConsoleAppenderConfig.html +206 -104
- package/docs/interfaces/ConsoleAppenderTypeConfig.html +253 -53
- package/docs/interfaces/CoreState.html +272 -244
- package/docs/interfaces/EnvDynamicConfig.html +218 -190
- package/docs/interfaces/EuiAppHandlersConfig.html +229 -201
- package/docs/interfaces/EuiAppJsonConfig.html +171 -143
- package/docs/interfaces/EuiAuthConfig.html +184 -156
- package/docs/interfaces/EuiConfig.html +131 -103
- package/docs/interfaces/EuiEnvConfig.html +180 -152
- package/docs/interfaces/EuiGlobalConfig.html +140 -112
- package/docs/interfaces/EuiGrowlMessage.html +408 -380
- package/docs/interfaces/EuiLanguage.html +169 -141
- package/docs/interfaces/EuiMenuItem.html +1708 -1653
- package/docs/interfaces/EuiPaginationConfig.html +228 -200
- package/docs/interfaces/EuiServiceModel.html +109 -67
- package/docs/interfaces/EuiServiceStatus.html +138 -108
- package/docs/interfaces/EuiStoreServiceModel.html +64 -36
- package/docs/interfaces/EuiUserRight.html +127 -99
- package/docs/interfaces/GlobalConfig.html +268 -240
- package/docs/interfaces/HttpErrorHandlerConfig.html +96 -68
- package/docs/interfaces/HttpErrorRouteConfig.html +136 -108
- package/docs/interfaces/I18nConfig.html +157 -129
- package/docs/interfaces/I18nLoaderConfig.html +199 -152
- package/docs/interfaces/I18nResource.html +176 -148
- package/docs/interfaces/I18nServiceConfig.html +141 -113
- package/docs/interfaces/I18nState.html +91 -63
- package/docs/interfaces/LoadedConfigModules.html +137 -107
- package/docs/interfaces/LocaleServiceConfig.html +102 -74
- package/docs/interfaces/LocaleState.html +96 -68
- package/docs/interfaces/LogAppenderConfig.html +123 -70
- package/docs/interfaces/LogAppenderTypeConfig.html +159 -61
- package/docs/interfaces/LogConfig.html +196 -149
- package/docs/interfaces/LogEvent.html +246 -199
- package/docs/interfaces/LogPosition.html +151 -123
- package/docs/interfaces/ModuleConfig.html +236 -12
- package/docs/interfaces/ModulesConfig.html +41 -11
- package/docs/interfaces/NotificationsState.html +98 -70
- package/docs/interfaces/UrlAppenderConfig.html +200 -98
- package/docs/interfaces/UrlAppenderTypeConfig.html +247 -53
- package/docs/interfaces/UrlLogEvent.html +368 -96
- package/docs/interfaces/UserConfig.html +97 -69
- package/docs/interfaces/UserDetails.html +237 -190
- package/docs/interfaces/UserPreferences.html +141 -113
- package/docs/interfaces/UserState.html +326 -279
- package/docs/interfaces/UxErrorFeedback.html +373 -235
- package/docs/interfaces/UxErrorFollowMap.html +41 -11
- package/docs/interfaces/UxErrorInfo.html +201 -151
- package/docs/interfaces/UxErrorMessage.html +149 -102
- package/docs/interfaces/UxFormValidationError.html +91 -63
- package/docs/interfaces/UxHttpErrorInfo.html +112 -65
- package/docs/interfaces/UxHttpErrorResponse.html +108 -61
- package/docs/interfaces/UxModalLegacy.html +164 -136
- package/docs/interfaces/UxValidationErrorAttribute.html +121 -93
- package/docs/interfaces/UxValidationErrorFeedback.html +126 -98
- package/docs/interfaces/UxValidationErrorI18nMessage.html +127 -99
- package/docs/interfaces/VersionsConfig.html +96 -68
- package/docs/interfaces/XHRConfig.html +346 -318
- package/docs/js/architecture-graph.js +288 -0
- package/docs/js/libs/bootstrap-native.js +4 -2
- package/docs/js/libs/tablesort.min.js +3 -3
- package/docs/js/libs/tablesort.number.min.js +2 -2
- package/docs/js/libs/vis-network.min.js +7 -7
- package/docs/js/menu-wc.js +30 -23
- package/docs/js/routes.js +138 -37
- package/docs/js/search/search.js +62 -0
- package/docs/js/search/search_index.js +2 -2
- package/docs/js/tabs.js +98 -15
- package/docs/js/tree.js +44 -7
- package/docs/json/documentation.json +3154 -482
- package/docs/license.html +26 -2
- package/docs/llms.txt +1084 -0
- package/docs/miscellaneous/enumerations.html +30 -6
- package/docs/miscellaneous/functions.html +138 -27
- package/docs/miscellaneous/typealiases.html +62 -29
- package/docs/miscellaneous/variables.html +77 -53
- package/docs/modules.html +26 -2
- package/docs/overview.html +26 -2
- package/docs/properties.html +27 -3
- package/docs/routes.html +26 -2
- package/docs/styles/compodoc.css +365 -44
- package/docs/styles/dark.css +16 -0
- package/docs/template-playground/hbs-render.service.ts +6 -1
- package/package.json +1 -1
- package/docs/js/menu-wc_es5.js +0 -40
|
@@ -85,7 +85,14 @@
|
|
|
85
85
|
</div>
|
|
86
86
|
|
|
87
87
|
<div class="xs-menu menu" id="mobile-menu">
|
|
88
|
-
<div id="book-search-input" role="search"
|
|
88
|
+
<div id="book-search-input" role="search">
|
|
89
|
+
<input type="text" placeholder="Type to search">
|
|
90
|
+
<button type="button"
|
|
91
|
+
class="search-input-clear"
|
|
92
|
+
aria-label="Clear search"
|
|
93
|
+
data-search-input-clear>×</button>
|
|
94
|
+
</div>
|
|
95
|
+
<compodoc-menu></compodoc-menu>
|
|
89
96
|
</div>
|
|
90
97
|
|
|
91
98
|
<div class="container-fluid main">
|
|
@@ -117,9 +124,14 @@
|
|
|
117
124
|
<li class="breadcrumb-item">Interfaces</li>
|
|
118
125
|
<li class="breadcrumb-item"
|
|
119
126
|
>
|
|
120
|
-
EuiEnvConfig
|
|
127
|
+
EuiEnvConfig<T = unknown></li>
|
|
121
128
|
</ol>
|
|
122
129
|
|
|
130
|
+
<div class="io-file io-file-path" data-compodoc="entity-file-path">
|
|
131
|
+
<span class="icon ion-ios-document" aria-hidden="true"></span>
|
|
132
|
+
<code>packages/base/src/lib/eui-models/eui-config/eui-env-config.ts</code>
|
|
133
|
+
</div>
|
|
134
|
+
|
|
123
135
|
<ul class="nav nav-tabs" role="tablist">
|
|
124
136
|
<li class="nav-item">
|
|
125
137
|
<a href="#info"
|
|
@@ -127,17 +139,16 @@
|
|
|
127
139
|
class="nav-link active"
|
|
128
140
|
role="tab" id="info-tab" data-bs-toggle="tab" data-link="info">Info</a>
|
|
129
141
|
</li>
|
|
142
|
+
<li class="nav-item">
|
|
143
|
+
<a href="#api"
|
|
144
|
+
class="nav-link"
|
|
145
|
+
|
|
146
|
+
role="tab" id="api-tab" data-bs-toggle="tab" data-link="api">API</a>
|
|
147
|
+
</li>
|
|
130
148
|
</ul>
|
|
131
149
|
|
|
132
150
|
<div class="tab-content">
|
|
133
151
|
<div class="tab-pane fade active in" id="info">
|
|
134
|
-
<p class="comment">
|
|
135
|
-
<h3>File</h3>
|
|
136
|
-
</p>
|
|
137
|
-
<p class="comment">
|
|
138
|
-
<code>packages/base/src/lib/eui-models/eui-config/eui-env-config.ts</code>
|
|
139
|
-
</p>
|
|
140
|
-
|
|
141
152
|
|
|
142
153
|
<p class="comment">
|
|
143
154
|
<h3>Description</h3>
|
|
@@ -148,48 +159,45 @@
|
|
|
148
159
|
</p>
|
|
149
160
|
|
|
150
161
|
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
</
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
>
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
>
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
<
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
>
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
</tbody>
|
|
188
|
-
</table>
|
|
189
|
-
</section>
|
|
162
|
+
</div>
|
|
163
|
+
|
|
164
|
+
<div class="tab-pane fade " id="api"><section data-compodoc="block-index">
|
|
165
|
+
<h3 id="index">Index</h3>
|
|
166
|
+
<table class="table table-sm table-bordered index-table">
|
|
167
|
+
<tbody>
|
|
168
|
+
<tr>
|
|
169
|
+
<td class="col-md-3">
|
|
170
|
+
<h6><b>Properties</b></h6>
|
|
171
|
+
</td>
|
|
172
|
+
<td class="col-md-9">
|
|
173
|
+
<ul class="index-list">
|
|
174
|
+
<li>
|
|
175
|
+
<span class="modifier">Optional</span>
|
|
176
|
+
<a href="#envAppHandlersConfig" class="reference-link ">
|
|
177
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span><span class="reference-link-label">envAppHandlersConfig</span>
|
|
178
|
+
</a>
|
|
179
|
+
</li>
|
|
180
|
+
<li>
|
|
181
|
+
<span class="modifier">Optional</span>
|
|
182
|
+
<a href="#envDynamicConfig" class="reference-link ">
|
|
183
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span><span class="reference-link-label">envDynamicConfig</span>
|
|
184
|
+
</a>
|
|
185
|
+
</li>
|
|
186
|
+
<li>
|
|
187
|
+
<span class="modifier">Optional</span>
|
|
188
|
+
<a href="#loadedEnvDynamicConfig" class="reference-link ">
|
|
189
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span><span class="reference-link-label">loadedEnvDynamicConfig</span>
|
|
190
|
+
</a>
|
|
191
|
+
</li>
|
|
192
|
+
</ul>
|
|
193
|
+
</td>
|
|
194
|
+
</tr>
|
|
195
|
+
</tbody>
|
|
196
|
+
</table>
|
|
197
|
+
</section>
|
|
190
198
|
|
|
191
199
|
|
|
192
|
-
|
|
200
|
+
<section data-compodoc="block-indexables">
|
|
193
201
|
<h3 id="inputs">Indexable</h3>
|
|
194
202
|
<table class="table table-sm table-bordered">
|
|
195
203
|
<tbody>
|
|
@@ -203,142 +211,145 @@
|
|
|
203
211
|
</table>
|
|
204
212
|
</section>
|
|
205
213
|
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
214
|
+
<section data-compodoc="block-properties">
|
|
215
|
+
<h3 id="inputs">Properties</h3>
|
|
216
|
+
<table class="table table-sm table-bordered">
|
|
217
|
+
<tbody>
|
|
218
|
+
<tr>
|
|
219
|
+
<td class="col-md-4">
|
|
220
|
+
<a name="envAppHandlersConfig"></a>
|
|
221
|
+
<span class="name "><b>envAppHandlersConfig</b>
|
|
222
|
+
<a href="#envAppHandlersConfig">
|
|
223
|
+
<span class="icon ion-ios-link"></span>
|
|
224
|
+
</a>
|
|
225
|
+
</span>
|
|
226
|
+
</td>
|
|
227
|
+
</tr>
|
|
228
|
+
<tr>
|
|
229
|
+
<td class="col-md-4">
|
|
230
|
+
<code>envAppHandlersConfig: <code><a href="../interfaces/EuiAppHandlersConfig.html" target="_self" >EuiAppHandlersConfig</a></code>
|
|
223
231
|
</code>
|
|
224
|
-
|
|
225
|
-
|
|
232
|
+
</td>
|
|
233
|
+
</tr>
|
|
226
234
|
|
|
227
235
|
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
</td>
|
|
233
|
-
</tr>
|
|
234
|
-
|
|
235
|
-
<tr>
|
|
236
|
-
<td class="col-md-4">
|
|
237
|
-
<i>Optional</i>
|
|
238
|
-
</td>
|
|
239
|
-
</tr>
|
|
240
|
-
|
|
236
|
+
<tr>
|
|
237
|
+
<td class="col-md-4">
|
|
238
|
+
<i>Type : </i> <code><a href="../interfaces/EuiAppHandlersConfig.html" target="_self" >EuiAppHandlersConfig</a></code>
|
|
241
239
|
|
|
240
|
+
</td>
|
|
241
|
+
</tr>
|
|
242
242
|
|
|
243
243
|
|
|
244
244
|
<tr>
|
|
245
245
|
<td class="col-md-4">
|
|
246
|
-
<
|
|
247
|
-
</div>
|
|
246
|
+
<i>Optional</i>
|
|
248
247
|
</td>
|
|
249
248
|
</tr>
|
|
250
|
-
</tbody>
|
|
251
|
-
</table>
|
|
252
|
-
<table class="table table-sm table-bordered">
|
|
253
|
-
<tbody>
|
|
254
|
-
<tr>
|
|
255
|
-
<td class="col-md-4">
|
|
256
|
-
<a name="envDynamicConfig"></a>
|
|
257
|
-
<span class="name "><b>envDynamicConfig</b>
|
|
258
|
-
<a href="#envDynamicConfig">
|
|
259
|
-
<span class="icon ion-ios-link"></span>
|
|
260
|
-
</a>
|
|
261
|
-
</span>
|
|
262
|
-
</td>
|
|
263
|
-
</tr>
|
|
264
|
-
<tr>
|
|
265
|
-
<td class="col-md-4">
|
|
266
|
-
<code>envDynamicConfig: <code><a href="../interfaces/EnvDynamicConfig.html" target="_self" >EnvDynamicConfig</a></code>
|
|
267
|
-
</code>
|
|
268
|
-
</td>
|
|
269
|
-
</tr>
|
|
270
249
|
|
|
271
250
|
|
|
272
|
-
<tr>
|
|
273
|
-
<td class="col-md-4">
|
|
274
|
-
<i>Type : </i> <code><a href="../interfaces/EnvDynamicConfig.html" target="_self" >EnvDynamicConfig</a></code>
|
|
275
251
|
|
|
276
|
-
</td>
|
|
277
|
-
</tr>
|
|
278
252
|
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
253
|
+
<tr>
|
|
254
|
+
<td class="col-md-4">
|
|
255
|
+
<div class="io-description"><p>The envAppHandlersConfig contains the environment specific handlers' configuration.</p>
|
|
256
|
+
</div>
|
|
257
|
+
</td>
|
|
258
|
+
</tr>
|
|
259
|
+
</tbody>
|
|
260
|
+
</table>
|
|
261
|
+
<table class="table table-sm table-bordered">
|
|
262
|
+
<tbody>
|
|
263
|
+
<tr>
|
|
264
|
+
<td class="col-md-4">
|
|
265
|
+
<a name="envDynamicConfig"></a>
|
|
266
|
+
<span class="name "><b>envDynamicConfig</b>
|
|
267
|
+
<a href="#envDynamicConfig">
|
|
268
|
+
<span class="icon ion-ios-link"></span>
|
|
269
|
+
</a>
|
|
270
|
+
</span>
|
|
271
|
+
</td>
|
|
272
|
+
</tr>
|
|
273
|
+
<tr>
|
|
274
|
+
<td class="col-md-4">
|
|
275
|
+
<code>envDynamicConfig: <code><a href="../interfaces/EnvDynamicConfig.html" target="_self" >EnvDynamicConfig</a></code>
|
|
276
|
+
</code>
|
|
277
|
+
</td>
|
|
278
|
+
</tr>
|
|
279
|
+
|
|
284
280
|
|
|
281
|
+
<tr>
|
|
282
|
+
<td class="col-md-4">
|
|
283
|
+
<i>Type : </i> <code><a href="../interfaces/EnvDynamicConfig.html" target="_self" >EnvDynamicConfig</a></code>
|
|
285
284
|
|
|
285
|
+
</td>
|
|
286
|
+
</tr>
|
|
286
287
|
|
|
287
288
|
|
|
288
289
|
<tr>
|
|
289
290
|
<td class="col-md-4">
|
|
290
|
-
<
|
|
291
|
-
</div>
|
|
291
|
+
<i>Optional</i>
|
|
292
292
|
</td>
|
|
293
293
|
</tr>
|
|
294
|
-
</tbody>
|
|
295
|
-
</table>
|
|
296
|
-
<table class="table table-sm table-bordered">
|
|
297
|
-
<tbody>
|
|
298
|
-
<tr>
|
|
299
|
-
<td class="col-md-4">
|
|
300
|
-
<a name="loadedEnvDynamicConfig"></a>
|
|
301
|
-
<span class="name "><b>loadedEnvDynamicConfig</b>
|
|
302
|
-
<a href="#loadedEnvDynamicConfig">
|
|
303
|
-
<span class="icon ion-ios-link"></span>
|
|
304
|
-
</a>
|
|
305
|
-
</span>
|
|
306
|
-
</td>
|
|
307
|
-
</tr>
|
|
308
|
-
<tr>
|
|
309
|
-
<td class="col-md-4">
|
|
310
|
-
<code>loadedEnvDynamicConfig: <code><a href="../interfaces/EuiAppJsonConfig.html" target="_self" >EuiAppJsonConfig</a></code>
|
|
311
|
-
</code>
|
|
312
|
-
</td>
|
|
313
|
-
</tr>
|
|
314
294
|
|
|
315
295
|
|
|
316
|
-
<tr>
|
|
317
|
-
<td class="col-md-4">
|
|
318
|
-
<i>Type : </i> <code><a href="../interfaces/EuiAppJsonConfig.html" target="_self" >EuiAppJsonConfig</a></code>
|
|
319
296
|
|
|
320
|
-
</td>
|
|
321
|
-
</tr>
|
|
322
297
|
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
298
|
+
<tr>
|
|
299
|
+
<td class="col-md-4">
|
|
300
|
+
<div class="io-description"><p>The envDynamicConfig contains the environment specific dynamic configuration.</p>
|
|
301
|
+
</div>
|
|
302
|
+
</td>
|
|
303
|
+
</tr>
|
|
304
|
+
</tbody>
|
|
305
|
+
</table>
|
|
306
|
+
<table class="table table-sm table-bordered">
|
|
307
|
+
<tbody>
|
|
308
|
+
<tr>
|
|
309
|
+
<td class="col-md-4">
|
|
310
|
+
<a name="loadedEnvDynamicConfig"></a>
|
|
311
|
+
<span class="name "><b>loadedEnvDynamicConfig</b>
|
|
312
|
+
<a href="#loadedEnvDynamicConfig">
|
|
313
|
+
<span class="icon ion-ios-link"></span>
|
|
314
|
+
</a>
|
|
315
|
+
</span>
|
|
316
|
+
</td>
|
|
317
|
+
</tr>
|
|
318
|
+
<tr>
|
|
319
|
+
<td class="col-md-4">
|
|
320
|
+
<code>loadedEnvDynamicConfig: <code><a href="../interfaces/EuiAppJsonConfig.html" target="_self" >EuiAppJsonConfig</a></code>
|
|
321
|
+
</code>
|
|
322
|
+
</td>
|
|
323
|
+
</tr>
|
|
324
|
+
|
|
328
325
|
|
|
326
|
+
<tr>
|
|
327
|
+
<td class="col-md-4">
|
|
328
|
+
<i>Type : </i> <code><a href="../interfaces/EuiAppJsonConfig.html" target="_self" >EuiAppJsonConfig</a></code>
|
|
329
329
|
|
|
330
|
+
</td>
|
|
331
|
+
</tr>
|
|
330
332
|
|
|
331
333
|
|
|
332
334
|
<tr>
|
|
333
335
|
<td class="col-md-4">
|
|
334
|
-
<
|
|
335
|
-
</div>
|
|
336
|
+
<i>Optional</i>
|
|
336
337
|
</td>
|
|
337
338
|
</tr>
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
|
|
342
|
+
|
|
343
|
+
<tr>
|
|
344
|
+
<td class="col-md-4">
|
|
345
|
+
<div class="io-description"><p>The loadedEnvDynamicConfig contains the loaded environment specific dynamic configuration.</p>
|
|
346
|
+
</div>
|
|
347
|
+
</td>
|
|
348
|
+
</tr>
|
|
349
|
+
</tbody>
|
|
350
|
+
</table>
|
|
351
|
+
</section>
|
|
352
|
+
</div>
|
|
342
353
|
|
|
343
354
|
|
|
344
355
|
</div>
|
|
@@ -382,6 +393,24 @@
|
|
|
382
393
|
|
|
383
394
|
<script>
|
|
384
395
|
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
396
|
+
var updateDarkModeSwitchOffset = function () {
|
|
397
|
+
var content = document.querySelector('.content');
|
|
398
|
+
var scrollbarWidth = 0;
|
|
399
|
+
|
|
400
|
+
if (content) {
|
|
401
|
+
scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
document.documentElement.style.setProperty(
|
|
405
|
+
'--content-scrollbar-width',
|
|
406
|
+
scrollbarWidth + 'px'
|
|
407
|
+
);
|
|
408
|
+
};
|
|
409
|
+
|
|
410
|
+
updateDarkModeSwitchOffset();
|
|
411
|
+
requestAnimationFrame(updateDarkModeSwitchOffset);
|
|
412
|
+
window.addEventListener('resize', updateDarkModeSwitchOffset);
|
|
413
|
+
|
|
385
414
|
checkToggle(darkModeState);
|
|
386
415
|
if ($darkModeToggleSwitchers.length > 0) {
|
|
387
416
|
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
@@ -397,7 +426,6 @@
|
|
|
397
426
|
<script src="../js/libs/lit-html.js"></script>
|
|
398
427
|
|
|
399
428
|
<script src="../js/menu-wc.js" defer></script>
|
|
400
|
-
<script nomodule src="../js/menu-wc_es5.js" defer></script>
|
|
401
429
|
|
|
402
430
|
<script src="../js/libs/bootstrap-native.js"></script>
|
|
403
431
|
|