@eui/core 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/CHANGELOG.md +61 -0
- package/docs/architecture.html +223 -0
- package/docs/changelog.html +126 -2
- package/docs/classes/ActivatedRouteAction.html +70 -20
- package/docs/classes/AddApiQueueItemAction.html +70 -20
- package/docs/classes/AddAppLoadedConfigModulesAction.html +70 -20
- package/docs/classes/ApiQueueServiceMock.html +77 -20
- package/docs/classes/AsyncStorageService.html +86 -20
- package/docs/classes/AsyncStorageServiceMock.html +73 -17
- package/docs/classes/CssUtils.html +74 -20
- package/docs/classes/EmptyApiQueueAction.html +67 -17
- package/docs/classes/ErrorSubClass.html +68 -16
- package/docs/classes/EuiAppShellServiceMock.html +58 -20
- package/docs/classes/EuiCoreRootGuardClass.html +39 -8
- package/docs/classes/EuiError.html +69 -17
- package/docs/classes/I18nResourceImpl.html +50 -17
- package/docs/classes/InitStoreAction.html +70 -20
- package/docs/classes/LogServiceMock.html +67 -17
- package/docs/classes/RemoveApiQueueItemAction.html +67 -17
- package/docs/classes/StorageService.html +83 -19
- package/docs/classes/StorageServiceMock.html +70 -17
- package/docs/classes/TranslateServiceMock.html +90 -35
- package/docs/classes/UpdateAppConnectionAction.html +67 -17
- package/docs/classes/UpdateAppStatusAction.html +67 -17
- package/docs/classes/UpdateAppVersionAction.html +67 -17
- package/docs/classes/UpdateCurrentModuleAction.html +67 -17
- package/docs/classes/UpdateI18nStateAction.html +67 -17
- package/docs/classes/UpdateLocaleStateAction.html +67 -17
- package/docs/classes/UpdateNotificationsListAction.html +67 -17
- package/docs/classes/UpdateUserDashboardAction.html +67 -17
- package/docs/classes/UpdateUserDetailsAction.html +67 -17
- package/docs/classes/UpdateUserPreferencesAction.html +67 -17
- package/docs/classes/UpdateUserRightsAction.html +67 -17
- package/docs/classes/UpdateUserStateAction.html +67 -17
- package/docs/dependencies.html +38 -4
- package/docs/directives/TranslateMockDirective.html +72 -19
- package/docs/index.html +26 -2
- package/docs/injectables/ApiQueueService.html +97 -20
- package/docs/injectables/EuiAppShellService.html +147 -68
- package/docs/injectables/EuiDynamicComponentService.html +51 -18
- package/docs/injectables/EuiDynamicMenuService.html +67 -20
- package/docs/injectables/EuiGrowlService.html +85 -21
- package/docs/injectables/EuiLoaderService.html +65 -17
- package/docs/injectables/EuiPermissionService.html +95 -20
- package/docs/injectables/EuiThemeService.html +89 -34
- package/docs/injectables/EuiTimezoneService.html +51 -16
- package/docs/injectables/GlobalErrorHandler.html +79 -17
- package/docs/injectables/I18nLoader.html +53 -17
- package/docs/injectables/I18nService.html +101 -23
- package/docs/injectables/I18nServiceMock.html +96 -34
- package/docs/injectables/LocalForageService.html +81 -21
- package/docs/injectables/LocalStorageService.html +78 -21
- package/docs/injectables/LocaleService.html +124 -41
- package/docs/injectables/LocaleServiceMock.html +72 -18
- package/docs/injectables/LogService.html +68 -17
- package/docs/injectables/SessionStorageService.html +78 -21
- package/docs/injectables/StoreService.html +91 -22
- package/docs/injectables/StoreServiceMock.html +72 -17
- package/docs/injectables/UserService.html +97 -23
- package/docs/injectables/UserServiceMock.html +81 -23
- package/docs/interceptors/AddLangParamInterceptor.html +49 -18
- package/docs/interceptors/CachePreventionInterceptor.html +48 -17
- package/docs/interceptors/CorsSecurityInterceptor.html +48 -17
- package/docs/interceptors/CsrfPreventionInterceptor.html +48 -17
- package/docs/interceptors/EuLoginSessionTimeoutHandlingInterceptor.html +48 -17
- package/docs/interceptors/HttpErrorHandlerInterceptor.html +48 -17
- package/docs/interceptors/UxRequestErrorModelInterceptor.html +48 -17
- package/docs/interfaces/Action.html +158 -60
- package/docs/interfaces/ActionReducer.html +84 -55
- package/docs/interfaces/ComponentInfo.html +151 -123
- package/docs/interfaces/Dependency.html +278 -250
- package/docs/interfaces/Edit-1.html +151 -123
- package/docs/interfaces/Edit-2.html +151 -123
- package/docs/interfaces/Edit.html +151 -123
- package/docs/interfaces/EuiComponentEntry.html +230 -202
- package/docs/interfaces/EuiTimeZone.html +121 -93
- package/docs/interfaces/IEuiTheme.html +181 -153
- package/docs/interfaces/ImportToAdd.html +164 -136
- package/docs/interfaces/ImportsArrayInfo.html +121 -93
- package/docs/interfaces/Library.html +169 -137
- package/docs/interfaces/LoadedResources.html +164 -136
- package/docs/interfaces/LoadedResourcesError.html +121 -93
- package/docs/interfaces/MemoizedSelector.html +187 -138
- package/docs/interfaces/MemoizedSelectorWithProps.html +188 -139
- package/docs/interfaces/MigrateAllSchema.html +228 -200
- package/docs/interfaces/MigrationResult.html +151 -123
- package/docs/interfaces/ModuleLoadEvent.html +164 -136
- package/docs/interfaces/ModuleMapping.html +121 -93
- package/docs/interfaces/NgModuleInfo.html +151 -123
- package/docs/interfaces/Policy.html +164 -136
- package/docs/interfaces/ResourceError.html +170 -142
- package/docs/interfaces/Schema-1.html +140 -112
- package/docs/interfaces/Schema-10.html +140 -112
- package/docs/interfaces/Schema-11.html +140 -112
- package/docs/interfaces/Schema-12.html +140 -112
- package/docs/interfaces/Schema-13.html +140 -112
- package/docs/interfaces/Schema-14.html +140 -112
- package/docs/interfaces/Schema-15.html +140 -112
- package/docs/interfaces/Schema-16.html +140 -112
- package/docs/interfaces/Schema-17.html +140 -112
- package/docs/interfaces/Schema-18.html +140 -112
- package/docs/interfaces/Schema-19.html +140 -112
- package/docs/interfaces/Schema-2.html +141 -113
- package/docs/interfaces/Schema-20.html +140 -112
- package/docs/interfaces/Schema-3.html +180 -152
- package/docs/interfaces/Schema-4.html +140 -112
- package/docs/interfaces/Schema-5.html +140 -112
- package/docs/interfaces/Schema-6.html +140 -112
- package/docs/interfaces/Schema-7.html +140 -112
- package/docs/interfaces/Schema-8.html +140 -112
- package/docs/interfaces/Schema-9.html +140 -112
- package/docs/interfaces/Schema.html +184 -156
- package/docs/interfaces/SelectorEntry.html +230 -202
- package/docs/interfaces/TextChange.html +151 -123
- package/docs/interfaces/ThemeState.html +121 -93
- package/docs/interfaces/TranslationKeys.html +41 -11
- package/docs/interfaces/UIState.html +1669 -1641
- package/docs/interfaces/body.html +181 -153
- 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 +47 -14
- 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/EuiPermissionService.md +1 -0
- package/docs/json/LocaleService.md +1 -0
- package/docs/json/documentation.json +6691 -1067
- package/docs/license.html +26 -2
- package/docs/llms.txt +2282 -0
- package/docs/miscellaneous/enumerations.html +34 -10
- package/docs/miscellaneous/functions.html +550 -394
- package/docs/miscellaneous/typealiases.html +59 -27
- package/docs/miscellaneous/variables.html +196 -175
- package/docs/modules/CoreModule.html +34 -9
- package/docs/modules/I18nModule.html +34 -9
- package/docs/modules/LogModule.html +34 -9
- package/docs/modules/TranslateMockModule.html +60 -13
- package/docs/modules.html +26 -2
- package/docs/overview.html +27 -3
- package/docs/pipes/TranslateMockPipe.html +87 -9
- 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/fesm2022/eui-core.mjs +26 -27
- package/fesm2022/eui-core.mjs.map +1 -1
- package/package.json +2 -2
- package/types/eui-core.d.ts +9 -11
- package/types/eui-core.d.ts.map +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
|
Library</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/core/src/lib/services/loader/eui-loader.model.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,24 +139,27 @@
|
|
|
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/core/src/lib/services/loader/eui-loader.model.ts</code>
|
|
139
|
-
</p>
|
|
140
|
-
|
|
141
152
|
|
|
142
153
|
<p class="comment">
|
|
143
154
|
<h3>Description</h3>
|
|
144
155
|
</p>
|
|
145
156
|
<p class="comment">
|
|
146
157
|
<p>A library is a set of script and style dependencies
|
|
147
|
-
that can be loaded dynamically
|
|
158
|
+
that can be loaded dynamically
|
|
159
|
+
Library
|
|
160
|
+
{string} name - global variable object name that the script will give to the library
|
|
161
|
+
{Dependency[]} dependencies - a set of script and style dependencies
|
|
162
|
+
{Status} status - the status of the library e.g. LOADED</p>
|
|
148
163
|
<b>Example :</b><div><pre class="line-numbers"><code class="language-html"></code></pre></div><p>const library: Library = {
|
|
149
164
|
name: 'Quill',
|
|
150
165
|
dependencies: [
|
|
@@ -171,166 +186,166 @@ that can be loaded dynamically</p>
|
|
|
171
186
|
</p>
|
|
172
187
|
|
|
173
188
|
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
189
|
+
</div>
|
|
190
|
+
|
|
191
|
+
<div class="tab-pane fade " id="api"><section data-compodoc="block-index">
|
|
192
|
+
<h3 id="index">Index</h3>
|
|
193
|
+
<table class="table table-sm table-bordered index-table">
|
|
194
|
+
<tbody>
|
|
195
|
+
<tr>
|
|
196
|
+
<td class="col-md-3">
|
|
197
|
+
<h6><b>Properties</b></h6>
|
|
198
|
+
</td>
|
|
199
|
+
<td class="col-md-9">
|
|
200
|
+
<ul class="index-list">
|
|
201
|
+
<li>
|
|
202
|
+
<a href="#dependencies" class="reference-link ">
|
|
203
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span><span class="reference-link-label">dependencies</span>
|
|
204
|
+
</a>
|
|
205
|
+
</li>
|
|
206
|
+
<li>
|
|
207
|
+
<a href="#name" class="reference-link ">
|
|
208
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span><span class="reference-link-label">name</span>
|
|
209
|
+
</a>
|
|
210
|
+
</li>
|
|
211
|
+
<li>
|
|
212
|
+
<a href="#status" class="reference-link ">
|
|
213
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span><span class="reference-link-label">status</span>
|
|
214
|
+
</a>
|
|
215
|
+
</li>
|
|
216
|
+
</ul>
|
|
217
|
+
</td>
|
|
218
|
+
</tr>
|
|
219
|
+
</tbody>
|
|
220
|
+
</table>
|
|
221
|
+
</section>
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
<section data-compodoc="block-properties">
|
|
226
|
+
<h3 id="inputs">Properties</h3>
|
|
227
|
+
<table class="table table-sm table-bordered">
|
|
177
228
|
<tbody>
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
>
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
</li>
|
|
192
|
-
<li>
|
|
193
|
-
<a href="#name"
|
|
194
|
-
>
|
|
195
|
-
name
|
|
196
|
-
</a>
|
|
197
|
-
</li>
|
|
198
|
-
<li>
|
|
199
|
-
<a href="#status"
|
|
200
|
-
>
|
|
201
|
-
status
|
|
202
|
-
</a>
|
|
203
|
-
</li>
|
|
204
|
-
</ul>
|
|
205
|
-
</td>
|
|
206
|
-
</tr>
|
|
207
|
-
</tbody>
|
|
208
|
-
</table>
|
|
209
|
-
</section>
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
<section data-compodoc="block-properties">
|
|
214
|
-
<h3 id="inputs">Properties</h3>
|
|
215
|
-
<table class="table table-sm table-bordered">
|
|
216
|
-
<tbody>
|
|
217
|
-
<tr>
|
|
218
|
-
<td class="col-md-4">
|
|
219
|
-
<a name="dependencies"></a>
|
|
220
|
-
<span class="name "><b>dependencies</b>
|
|
221
|
-
<a href="#dependencies">
|
|
222
|
-
<span class="icon ion-ios-link"></span>
|
|
223
|
-
</a>
|
|
224
|
-
</span>
|
|
225
|
-
</td>
|
|
226
|
-
</tr>
|
|
227
|
-
<tr>
|
|
228
|
-
<td class="col-md-4">
|
|
229
|
-
<code>dependencies: <code><a href="../interfaces/Dependency.html" target="_self" >Dependency[]</a></code>
|
|
229
|
+
<tr>
|
|
230
|
+
<td class="col-md-4">
|
|
231
|
+
<a name="dependencies"></a>
|
|
232
|
+
<span class="name "><b>dependencies</b>
|
|
233
|
+
<a href="#dependencies">
|
|
234
|
+
<span class="icon ion-ios-link"></span>
|
|
235
|
+
</a>
|
|
236
|
+
</span>
|
|
237
|
+
</td>
|
|
238
|
+
</tr>
|
|
239
|
+
<tr>
|
|
240
|
+
<td class="col-md-4">
|
|
241
|
+
<code>dependencies: <code><a href="../interfaces/Dependency.html" target="_self" >Dependency[]</a></code>
|
|
230
242
|
</code>
|
|
231
|
-
|
|
232
|
-
|
|
243
|
+
</td>
|
|
244
|
+
</tr>
|
|
233
245
|
|
|
234
246
|
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
247
|
+
<tr>
|
|
248
|
+
<td class="col-md-4">
|
|
249
|
+
<i>Type : </i> <code><a href="../interfaces/Dependency.html" target="_self" >Dependency[]</a></code>
|
|
250
|
+
|
|
251
|
+
</td>
|
|
252
|
+
</tr>
|
|
238
253
|
|
|
239
|
-
</td>
|
|
240
|
-
</tr>
|
|
241
254
|
|
|
242
255
|
|
|
243
256
|
|
|
244
257
|
|
|
245
258
|
|
|
259
|
+
<tr>
|
|
260
|
+
<td class="col-md-4">
|
|
261
|
+
<div class="io-description"><p>a set of script and style dependencies</p>
|
|
262
|
+
</div>
|
|
263
|
+
</td>
|
|
264
|
+
</tr>
|
|
265
|
+
</tbody>
|
|
266
|
+
</table>
|
|
267
|
+
<table class="table table-sm table-bordered">
|
|
268
|
+
<tbody>
|
|
269
|
+
<tr>
|
|
270
|
+
<td class="col-md-4">
|
|
271
|
+
<a name="name"></a>
|
|
272
|
+
<span class="name "><b>name</b>
|
|
273
|
+
<a href="#name">
|
|
274
|
+
<span class="icon ion-ios-link"></span>
|
|
275
|
+
</a>
|
|
276
|
+
</span>
|
|
277
|
+
</td>
|
|
278
|
+
</tr>
|
|
279
|
+
<tr>
|
|
280
|
+
<td class="col-md-4">
|
|
281
|
+
<code>name: <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
282
|
+
</code>
|
|
283
|
+
</td>
|
|
284
|
+
</tr>
|
|
285
|
+
|
|
286
|
+
|
|
246
287
|
<tr>
|
|
247
288
|
<td class="col-md-4">
|
|
248
|
-
<
|
|
249
|
-
|
|
289
|
+
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
290
|
+
|
|
250
291
|
</td>
|
|
251
292
|
</tr>
|
|
252
|
-
</tbody>
|
|
253
|
-
</table>
|
|
254
|
-
<table class="table table-sm table-bordered">
|
|
255
|
-
<tbody>
|
|
256
|
-
<tr>
|
|
257
|
-
<td class="col-md-4">
|
|
258
|
-
<a name="name"></a>
|
|
259
|
-
<span class="name "><b>name</b>
|
|
260
|
-
<a href="#name">
|
|
261
|
-
<span class="icon ion-ios-link"></span>
|
|
262
|
-
</a>
|
|
263
|
-
</span>
|
|
264
|
-
</td>
|
|
265
|
-
</tr>
|
|
266
|
-
<tr>
|
|
267
|
-
<td class="col-md-4">
|
|
268
|
-
<code>name: <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
269
|
-
</code>
|
|
270
|
-
</td>
|
|
271
|
-
</tr>
|
|
272
293
|
|
|
273
294
|
|
|
274
|
-
<tr>
|
|
275
|
-
<td class="col-md-4">
|
|
276
|
-
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
277
295
|
|
|
278
|
-
</td>
|
|
279
|
-
</tr>
|
|
280
296
|
|
|
281
297
|
|
|
282
298
|
|
|
299
|
+
<tr>
|
|
300
|
+
<td class="col-md-4">
|
|
301
|
+
<div class="io-description"><p>global variable object name that the script will give to the library</p>
|
|
302
|
+
</div>
|
|
303
|
+
</td>
|
|
304
|
+
</tr>
|
|
305
|
+
</tbody>
|
|
306
|
+
</table>
|
|
307
|
+
<table class="table table-sm table-bordered">
|
|
308
|
+
<tbody>
|
|
309
|
+
<tr>
|
|
310
|
+
<td class="col-md-4">
|
|
311
|
+
<a name="status"></a>
|
|
312
|
+
<span class="name "><b>status</b>
|
|
313
|
+
<a href="#status">
|
|
314
|
+
<span class="icon ion-ios-link"></span>
|
|
315
|
+
</a>
|
|
316
|
+
</span>
|
|
317
|
+
</td>
|
|
318
|
+
</tr>
|
|
319
|
+
<tr>
|
|
320
|
+
<td class="col-md-4">
|
|
321
|
+
<code>status: <code><a href="../miscellaneous/enumerations.html#Status" target="_self" >Status</a></code>
|
|
322
|
+
</code>
|
|
323
|
+
</td>
|
|
324
|
+
</tr>
|
|
283
325
|
|
|
284
326
|
|
|
285
327
|
<tr>
|
|
286
328
|
<td class="col-md-4">
|
|
287
|
-
<
|
|
288
|
-
|
|
329
|
+
<i>Type : </i> <code><a href="../miscellaneous/enumerations.html#Status" target="_self" >Status</a></code>
|
|
330
|
+
|
|
289
331
|
</td>
|
|
290
332
|
</tr>
|
|
291
|
-
</tbody>
|
|
292
|
-
</table>
|
|
293
|
-
<table class="table table-sm table-bordered">
|
|
294
|
-
<tbody>
|
|
295
|
-
<tr>
|
|
296
|
-
<td class="col-md-4">
|
|
297
|
-
<a name="status"></a>
|
|
298
|
-
<span class="name "><b>status</b>
|
|
299
|
-
<a href="#status">
|
|
300
|
-
<span class="icon ion-ios-link"></span>
|
|
301
|
-
</a>
|
|
302
|
-
</span>
|
|
303
|
-
</td>
|
|
304
|
-
</tr>
|
|
305
|
-
<tr>
|
|
306
|
-
<td class="col-md-4">
|
|
307
|
-
<code>status: <code><a href="../miscellaneous/enumerations.html#Status" target="_self" >Status</a></code>
|
|
308
|
-
</code>
|
|
309
|
-
</td>
|
|
310
|
-
</tr>
|
|
311
|
-
|
|
312
333
|
|
|
313
|
-
<tr>
|
|
314
|
-
<td class="col-md-4">
|
|
315
|
-
<i>Type : </i> <code><a href="../miscellaneous/enumerations.html#Status" target="_self" >Status</a></code>
|
|
316
334
|
|
|
317
|
-
</td>
|
|
318
|
-
</tr>
|
|
319
335
|
|
|
320
336
|
|
|
321
337
|
|
|
322
338
|
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
339
|
+
<tr>
|
|
340
|
+
<td class="col-md-4">
|
|
341
|
+
<div class="io-description"><p>the status of the library e.g. LOADED</p>
|
|
342
|
+
</div>
|
|
343
|
+
</td>
|
|
344
|
+
</tr>
|
|
345
|
+
</tbody>
|
|
346
|
+
</table>
|
|
347
|
+
</section>
|
|
327
348
|
</div>
|
|
328
|
-
</td>
|
|
329
|
-
</tr>
|
|
330
|
-
</tbody>
|
|
331
|
-
</table>
|
|
332
|
-
</section>
|
|
333
|
-
</div>
|
|
334
349
|
|
|
335
350
|
|
|
336
351
|
</div>
|
|
@@ -374,6 +389,24 @@ that can be loaded dynamically</p>
|
|
|
374
389
|
|
|
375
390
|
<script>
|
|
376
391
|
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
392
|
+
var updateDarkModeSwitchOffset = function () {
|
|
393
|
+
var content = document.querySelector('.content');
|
|
394
|
+
var scrollbarWidth = 0;
|
|
395
|
+
|
|
396
|
+
if (content) {
|
|
397
|
+
scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
document.documentElement.style.setProperty(
|
|
401
|
+
'--content-scrollbar-width',
|
|
402
|
+
scrollbarWidth + 'px'
|
|
403
|
+
);
|
|
404
|
+
};
|
|
405
|
+
|
|
406
|
+
updateDarkModeSwitchOffset();
|
|
407
|
+
requestAnimationFrame(updateDarkModeSwitchOffset);
|
|
408
|
+
window.addEventListener('resize', updateDarkModeSwitchOffset);
|
|
409
|
+
|
|
377
410
|
checkToggle(darkModeState);
|
|
378
411
|
if ($darkModeToggleSwitchers.length > 0) {
|
|
379
412
|
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
@@ -389,7 +422,6 @@ that can be loaded dynamically</p>
|
|
|
389
422
|
<script src="../js/libs/lit-html.js"></script>
|
|
390
423
|
|
|
391
424
|
<script src="../js/menu-wc.js" defer></script>
|
|
392
|
-
<script nomodule src="../js/menu-wc_es5.js" defer></script>
|
|
393
425
|
|
|
394
426
|
<script src="../js/libs/bootstrap-native.js"></script>
|
|
395
427
|
|