@eui/base 23.0.0-alpha.2 → 23.0.0-alpha.4
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 +126 -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">
|
|
@@ -120,6 +127,11 @@
|
|
|
120
127
|
I18nResource</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/i18n.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,192 +139,191 @@
|
|
|
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/i18n.config.ts</code>
|
|
139
|
-
</p>
|
|
140
|
-
|
|
141
152
|
|
|
142
153
|
|
|
143
154
|
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
155
|
+
</div>
|
|
156
|
+
|
|
157
|
+
<div class="tab-pane fade " id="api"><section data-compodoc="block-index">
|
|
158
|
+
<h3 id="index">Index</h3>
|
|
159
|
+
<table class="table table-sm table-bordered index-table">
|
|
160
|
+
<tbody>
|
|
161
|
+
<tr>
|
|
162
|
+
<td class="col-md-3">
|
|
163
|
+
<h6><b>Properties</b></h6>
|
|
164
|
+
</td>
|
|
165
|
+
<td class="col-md-9">
|
|
166
|
+
<ul class="index-list">
|
|
167
|
+
<li>
|
|
168
|
+
<span class="modifier">Optional</span>
|
|
169
|
+
<a href="#compileTranslations" class="reference-link ">
|
|
170
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span><span class="reference-link-label">compileTranslations</span>
|
|
171
|
+
</a>
|
|
172
|
+
</li>
|
|
173
|
+
<li>
|
|
174
|
+
<a href="#prefix" class="reference-link ">
|
|
175
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span><span class="reference-link-label">prefix</span>
|
|
176
|
+
</a>
|
|
177
|
+
</li>
|
|
178
|
+
<li>
|
|
179
|
+
<span class="modifier">Optional</span>
|
|
180
|
+
<a href="#suffix" class="reference-link ">
|
|
181
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span><span class="reference-link-label">suffix</span>
|
|
182
|
+
</a>
|
|
183
|
+
</li>
|
|
184
|
+
</ul>
|
|
185
|
+
</td>
|
|
186
|
+
</tr>
|
|
187
|
+
</tbody>
|
|
188
|
+
</table>
|
|
189
|
+
</section>
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
<section data-compodoc="block-properties">
|
|
194
|
+
<h3 id="inputs">Properties</h3>
|
|
195
|
+
<table class="table table-sm table-bordered">
|
|
147
196
|
<tbody>
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
>
|
|
160
|
-
|
|
161
|
-
</a>
|
|
162
|
-
</li>
|
|
163
|
-
<li>
|
|
164
|
-
<a href="#prefix"
|
|
165
|
-
>
|
|
166
|
-
prefix
|
|
167
|
-
</a>
|
|
168
|
-
</li>
|
|
169
|
-
<li>
|
|
170
|
-
<span class="modifier">Optional</span>
|
|
171
|
-
<a href="#suffix"
|
|
172
|
-
>
|
|
173
|
-
suffix
|
|
174
|
-
</a>
|
|
175
|
-
</li>
|
|
176
|
-
</ul>
|
|
177
|
-
</td>
|
|
178
|
-
</tr>
|
|
179
|
-
</tbody>
|
|
180
|
-
</table>
|
|
181
|
-
</section>
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
<section data-compodoc="block-properties">
|
|
186
|
-
<h3 id="inputs">Properties</h3>
|
|
187
|
-
<table class="table table-sm table-bordered">
|
|
188
|
-
<tbody>
|
|
189
|
-
<tr>
|
|
190
|
-
<td class="col-md-4">
|
|
191
|
-
<a name="compileTranslations"></a>
|
|
192
|
-
<span class="name "><b>compileTranslations</b>
|
|
193
|
-
<a href="#compileTranslations">
|
|
194
|
-
<span class="icon ion-ios-link"></span>
|
|
195
|
-
</a>
|
|
196
|
-
</span>
|
|
197
|
-
</td>
|
|
198
|
-
</tr>
|
|
199
|
-
<tr>
|
|
200
|
-
<td class="col-md-4">
|
|
201
|
-
<code>compileTranslations: <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
197
|
+
<tr>
|
|
198
|
+
<td class="col-md-4">
|
|
199
|
+
<a name="compileTranslations"></a>
|
|
200
|
+
<span class="name "><b>compileTranslations</b>
|
|
201
|
+
<a href="#compileTranslations">
|
|
202
|
+
<span class="icon ion-ios-link"></span>
|
|
203
|
+
</a>
|
|
204
|
+
</span>
|
|
205
|
+
</td>
|
|
206
|
+
</tr>
|
|
207
|
+
<tr>
|
|
208
|
+
<td class="col-md-4">
|
|
209
|
+
<code>compileTranslations: <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
202
210
|
</code>
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
<tr>
|
|
208
|
-
<td class="col-md-4">
|
|
209
|
-
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
211
|
+
</td>
|
|
212
|
+
</tr>
|
|
210
213
|
|
|
211
|
-
</td>
|
|
212
|
-
</tr>
|
|
213
|
-
|
|
214
|
-
<tr>
|
|
215
|
-
<td class="col-md-4">
|
|
216
|
-
<i>Optional</i>
|
|
217
|
-
</td>
|
|
218
|
-
</tr>
|
|
219
214
|
|
|
215
|
+
<tr>
|
|
216
|
+
<td class="col-md-4">
|
|
217
|
+
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
220
218
|
|
|
219
|
+
</td>
|
|
220
|
+
</tr>
|
|
221
221
|
|
|
222
222
|
|
|
223
223
|
<tr>
|
|
224
224
|
<td class="col-md-4">
|
|
225
|
-
<
|
|
226
|
-
</div>
|
|
225
|
+
<i>Optional</i>
|
|
227
226
|
</td>
|
|
228
227
|
</tr>
|
|
229
|
-
</tbody>
|
|
230
|
-
</table>
|
|
231
|
-
<table class="table table-sm table-bordered">
|
|
232
|
-
<tbody>
|
|
233
|
-
<tr>
|
|
234
|
-
<td class="col-md-4">
|
|
235
|
-
<a name="prefix"></a>
|
|
236
|
-
<span class="name "><b>prefix</b>
|
|
237
|
-
<a href="#prefix">
|
|
238
|
-
<span class="icon ion-ios-link"></span>
|
|
239
|
-
</a>
|
|
240
|
-
</span>
|
|
241
|
-
</td>
|
|
242
|
-
</tr>
|
|
243
|
-
<tr>
|
|
244
|
-
<td class="col-md-4">
|
|
245
|
-
<code>prefix: <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
246
|
-
</code>
|
|
247
|
-
</td>
|
|
248
|
-
</tr>
|
|
249
|
-
|
|
250
228
|
|
|
251
|
-
<tr>
|
|
252
|
-
<td class="col-md-4">
|
|
253
|
-
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
254
|
-
|
|
255
|
-
</td>
|
|
256
|
-
</tr>
|
|
257
229
|
|
|
258
230
|
|
|
259
231
|
|
|
232
|
+
<tr>
|
|
233
|
+
<td class="col-md-4">
|
|
234
|
+
<div class="io-description"><p>It is an ID of the function which should be defined into the customHandlers with the interface TranslationsCompiler</p>
|
|
235
|
+
</div>
|
|
236
|
+
</td>
|
|
237
|
+
</tr>
|
|
238
|
+
</tbody>
|
|
239
|
+
</table>
|
|
240
|
+
<table class="table table-sm table-bordered">
|
|
241
|
+
<tbody>
|
|
242
|
+
<tr>
|
|
243
|
+
<td class="col-md-4">
|
|
244
|
+
<a name="prefix"></a>
|
|
245
|
+
<span class="name "><b>prefix</b>
|
|
246
|
+
<a href="#prefix">
|
|
247
|
+
<span class="icon ion-ios-link"></span>
|
|
248
|
+
</a>
|
|
249
|
+
</span>
|
|
250
|
+
</td>
|
|
251
|
+
</tr>
|
|
252
|
+
<tr>
|
|
253
|
+
<td class="col-md-4">
|
|
254
|
+
<code>prefix: <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
255
|
+
</code>
|
|
256
|
+
</td>
|
|
257
|
+
</tr>
|
|
260
258
|
|
|
261
259
|
|
|
262
260
|
<tr>
|
|
263
261
|
<td class="col-md-4">
|
|
264
|
-
<
|
|
265
|
-
|
|
262
|
+
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
263
|
+
|
|
266
264
|
</td>
|
|
267
265
|
</tr>
|
|
268
|
-
</tbody>
|
|
269
|
-
</table>
|
|
270
|
-
<table class="table table-sm table-bordered">
|
|
271
|
-
<tbody>
|
|
272
|
-
<tr>
|
|
273
|
-
<td class="col-md-4">
|
|
274
|
-
<a name="suffix"></a>
|
|
275
|
-
<span class="name "><b>suffix</b>
|
|
276
|
-
<a href="#suffix">
|
|
277
|
-
<span class="icon ion-ios-link"></span>
|
|
278
|
-
</a>
|
|
279
|
-
</span>
|
|
280
|
-
</td>
|
|
281
|
-
</tr>
|
|
282
|
-
<tr>
|
|
283
|
-
<td class="col-md-4">
|
|
284
|
-
<code>suffix: <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
285
|
-
</code>
|
|
286
|
-
</td>
|
|
287
|
-
</tr>
|
|
288
266
|
|
|
289
267
|
|
|
290
|
-
<tr>
|
|
291
|
-
<td class="col-md-4">
|
|
292
|
-
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
293
268
|
|
|
294
|
-
</td>
|
|
295
|
-
</tr>
|
|
296
269
|
|
|
297
|
-
<tr>
|
|
298
|
-
<td class="col-md-4">
|
|
299
|
-
<i>Optional</i>
|
|
300
|
-
</td>
|
|
301
|
-
</tr>
|
|
302
270
|
|
|
303
271
|
|
|
272
|
+
<tr>
|
|
273
|
+
<td class="col-md-4">
|
|
274
|
+
<div class="io-description"><p>prefix of the resource could be like the 2 char language code e.g. /en</p>
|
|
275
|
+
</div>
|
|
276
|
+
</td>
|
|
277
|
+
</tr>
|
|
278
|
+
</tbody>
|
|
279
|
+
</table>
|
|
280
|
+
<table class="table table-sm table-bordered">
|
|
281
|
+
<tbody>
|
|
282
|
+
<tr>
|
|
283
|
+
<td class="col-md-4">
|
|
284
|
+
<a name="suffix"></a>
|
|
285
|
+
<span class="name "><b>suffix</b>
|
|
286
|
+
<a href="#suffix">
|
|
287
|
+
<span class="icon ion-ios-link"></span>
|
|
288
|
+
</a>
|
|
289
|
+
</span>
|
|
290
|
+
</td>
|
|
291
|
+
</tr>
|
|
292
|
+
<tr>
|
|
293
|
+
<td class="col-md-4">
|
|
294
|
+
<code>suffix: <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
295
|
+
</code>
|
|
296
|
+
</td>
|
|
297
|
+
</tr>
|
|
304
298
|
|
|
305
299
|
|
|
306
300
|
<tr>
|
|
307
301
|
<td class="col-md-4">
|
|
308
|
-
<
|
|
309
|
-
|
|
302
|
+
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
303
|
+
|
|
310
304
|
</td>
|
|
311
305
|
</tr>
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
<tr>
|
|
309
|
+
<td class="col-md-4">
|
|
310
|
+
<i>Optional</i>
|
|
311
|
+
</td>
|
|
312
|
+
</tr>
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
|
|
316
|
+
|
|
317
|
+
<tr>
|
|
318
|
+
<td class="col-md-4">
|
|
319
|
+
<div class="io-description"><p>suffix can be either .json or anything related of the resource HTTP call</p>
|
|
320
|
+
</div>
|
|
321
|
+
</td>
|
|
322
|
+
</tr>
|
|
323
|
+
</tbody>
|
|
324
|
+
</table>
|
|
325
|
+
</section>
|
|
326
|
+
</div>
|
|
316
327
|
|
|
317
328
|
|
|
318
329
|
</div>
|
|
@@ -356,6 +367,24 @@
|
|
|
356
367
|
|
|
357
368
|
<script>
|
|
358
369
|
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
370
|
+
var updateDarkModeSwitchOffset = function () {
|
|
371
|
+
var content = document.querySelector('.content');
|
|
372
|
+
var scrollbarWidth = 0;
|
|
373
|
+
|
|
374
|
+
if (content) {
|
|
375
|
+
scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
document.documentElement.style.setProperty(
|
|
379
|
+
'--content-scrollbar-width',
|
|
380
|
+
scrollbarWidth + 'px'
|
|
381
|
+
);
|
|
382
|
+
};
|
|
383
|
+
|
|
384
|
+
updateDarkModeSwitchOffset();
|
|
385
|
+
requestAnimationFrame(updateDarkModeSwitchOffset);
|
|
386
|
+
window.addEventListener('resize', updateDarkModeSwitchOffset);
|
|
387
|
+
|
|
359
388
|
checkToggle(darkModeState);
|
|
360
389
|
if ($darkModeToggleSwitchers.length > 0) {
|
|
361
390
|
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
@@ -371,7 +400,6 @@
|
|
|
371
400
|
<script src="../js/libs/lit-html.js"></script>
|
|
372
401
|
|
|
373
402
|
<script src="../js/menu-wc.js" defer></script>
|
|
374
|
-
<script nomodule src="../js/menu-wc_es5.js" defer></script>
|
|
375
403
|
|
|
376
404
|
<script src="../js/libs/bootstrap-native.js"></script>
|
|
377
405
|
|