@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">
|
|
@@ -112,6 +119,11 @@
|
|
|
112
119
|
<li class="breadcrumb-item" >TranslateMockDirective</li>
|
|
113
120
|
</ol>
|
|
114
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>packages/core/src/lib/mocks/translate.module.mock.ts</code>
|
|
125
|
+
</div>
|
|
126
|
+
|
|
115
127
|
<ul class="nav nav-tabs" role="tablist">
|
|
116
128
|
<li class="nav-item">
|
|
117
129
|
<a href="#info"
|
|
@@ -119,17 +131,16 @@
|
|
|
119
131
|
class="nav-link active"
|
|
120
132
|
role="tab" id="info-tab" data-bs-toggle="tab" data-link="info">Info</a>
|
|
121
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>
|
|
122
140
|
</ul>
|
|
123
141
|
|
|
124
142
|
<div class="tab-content">
|
|
125
143
|
<div class="tab-pane fade active in" id="info">
|
|
126
|
-
<p class="comment">
|
|
127
|
-
<h3>File</h3>
|
|
128
|
-
</p>
|
|
129
|
-
<p class="comment">
|
|
130
|
-
<code>packages/core/src/lib/mocks/translate.module.mock.ts</code>
|
|
131
|
-
</p>
|
|
132
|
-
|
|
133
144
|
|
|
134
145
|
|
|
135
146
|
|
|
@@ -137,7 +148,7 @@
|
|
|
137
148
|
<h3>Implements</h3>
|
|
138
149
|
</p>
|
|
139
150
|
<p class="comment">
|
|
140
|
-
|
|
151
|
+
<code><a href="https://angular.dev/api/core/AfterViewChecked" target="_blank" >AfterViewChecked</a></code>
|
|
141
152
|
</p>
|
|
142
153
|
|
|
143
154
|
|
|
@@ -158,32 +169,57 @@
|
|
|
158
169
|
</table>
|
|
159
170
|
</section>
|
|
160
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
|
+
<ul class="list-unstyled relationships-list">
|
|
179
|
+
<li>
|
|
180
|
+
<code><a href="../modules/TranslateMockModule.html" target="_self" >TranslateMockModule</a></code>
|
|
181
|
+
</li>
|
|
182
|
+
</ul>
|
|
183
|
+
</div>
|
|
184
|
+
|
|
185
|
+
<div class="col-sm-6">
|
|
186
|
+
<h4>Depends on</h4>
|
|
187
|
+
<ul class="list-unstyled relationships-list">
|
|
188
|
+
<li>
|
|
189
|
+
<code><a href="https://angular.dev/api/core/AfterViewChecked" target="_blank" >AfterViewChecked</a></code>
|
|
190
|
+
</li>
|
|
191
|
+
</ul>
|
|
192
|
+
</div>
|
|
193
|
+
</div>
|
|
194
|
+
</section>
|
|
195
|
+
|
|
196
|
+
</div>
|
|
197
|
+
|
|
198
|
+
<div class="tab-pane fade " id="api">
|
|
161
199
|
<section data-compodoc="block-index">
|
|
162
200
|
<h3 id="index">Index</h3>
|
|
163
|
-
<table class="table table-sm table-bordered index-table">
|
|
164
|
-
<tbody>
|
|
165
201
|
|
|
166
202
|
|
|
203
|
+
<table class="table table-sm table-bordered index-table">
|
|
204
|
+
<tbody>
|
|
167
205
|
<tr>
|
|
168
|
-
<td class="col-md-
|
|
206
|
+
<td class="col-md-3">
|
|
169
207
|
<h6><b>Inputs</b></h6>
|
|
170
208
|
</td>
|
|
171
|
-
|
|
172
|
-
<tr>
|
|
173
|
-
<td class="col-md-4">
|
|
209
|
+
<td class="col-md-9">
|
|
174
210
|
<ul class="index-list">
|
|
175
211
|
<li>
|
|
176
|
-
<a href="#translateParams" >translateParams</a>
|
|
212
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">I</span><a href="#translateParams" >translateParams</a>
|
|
177
213
|
</li>
|
|
178
214
|
</ul>
|
|
179
215
|
</td>
|
|
180
216
|
</tr>
|
|
217
|
+
</tbody>
|
|
218
|
+
</table>
|
|
181
219
|
|
|
182
220
|
|
|
183
221
|
|
|
184
222
|
|
|
185
|
-
</tbody>
|
|
186
|
-
</table>
|
|
187
223
|
</section>
|
|
188
224
|
|
|
189
225
|
|
|
@@ -263,6 +299,24 @@
|
|
|
263
299
|
|
|
264
300
|
<script>
|
|
265
301
|
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
302
|
+
var updateDarkModeSwitchOffset = function () {
|
|
303
|
+
var content = document.querySelector('.content');
|
|
304
|
+
var scrollbarWidth = 0;
|
|
305
|
+
|
|
306
|
+
if (content) {
|
|
307
|
+
scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
document.documentElement.style.setProperty(
|
|
311
|
+
'--content-scrollbar-width',
|
|
312
|
+
scrollbarWidth + 'px'
|
|
313
|
+
);
|
|
314
|
+
};
|
|
315
|
+
|
|
316
|
+
updateDarkModeSwitchOffset();
|
|
317
|
+
requestAnimationFrame(updateDarkModeSwitchOffset);
|
|
318
|
+
window.addEventListener('resize', updateDarkModeSwitchOffset);
|
|
319
|
+
|
|
266
320
|
checkToggle(darkModeState);
|
|
267
321
|
if ($darkModeToggleSwitchers.length > 0) {
|
|
268
322
|
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
@@ -278,7 +332,6 @@
|
|
|
278
332
|
<script src="../js/libs/lit-html.js"></script>
|
|
279
333
|
|
|
280
334
|
<script src="../js/menu-wc.js" defer></script>
|
|
281
|
-
<script nomodule src="../js/menu-wc_es5.js" defer></script>
|
|
282
335
|
|
|
283
336
|
<script src="../js/libs/bootstrap-native.js"></script>
|
|
284
337
|
|
package/docs/index.html
CHANGED
|
@@ -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">
|
|
@@ -165,6 +172,24 @@ eui-cli</code></pre></div>
|
|
|
165
172
|
|
|
166
173
|
<script>
|
|
167
174
|
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
175
|
+
var updateDarkModeSwitchOffset = function () {
|
|
176
|
+
var content = document.querySelector('.content');
|
|
177
|
+
var scrollbarWidth = 0;
|
|
178
|
+
|
|
179
|
+
if (content) {
|
|
180
|
+
scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
document.documentElement.style.setProperty(
|
|
184
|
+
'--content-scrollbar-width',
|
|
185
|
+
scrollbarWidth + 'px'
|
|
186
|
+
);
|
|
187
|
+
};
|
|
188
|
+
|
|
189
|
+
updateDarkModeSwitchOffset();
|
|
190
|
+
requestAnimationFrame(updateDarkModeSwitchOffset);
|
|
191
|
+
window.addEventListener('resize', updateDarkModeSwitchOffset);
|
|
192
|
+
|
|
168
193
|
checkToggle(darkModeState);
|
|
169
194
|
if ($darkModeToggleSwitchers.length > 0) {
|
|
170
195
|
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
@@ -180,7 +205,6 @@ eui-cli</code></pre></div>
|
|
|
180
205
|
<script src="./js/libs/lit-html.js"></script>
|
|
181
206
|
|
|
182
207
|
<script src="./js/menu-wc.js" defer></script>
|
|
183
|
-
<script nomodule src="./js/menu-wc_es5.js" defer></script>
|
|
184
208
|
|
|
185
209
|
<script src="./js/libs/bootstrap-native.js"></script>
|
|
186
210
|
|
|
@@ -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">
|
|
@@ -113,6 +120,11 @@
|
|
|
113
120
|
<li class="breadcrumb-item" >ApiQueueService</li>
|
|
114
121
|
</ol>
|
|
115
122
|
|
|
123
|
+
<div class="io-file io-file-path" data-compodoc="entity-file-path">
|
|
124
|
+
<span class="icon ion-ios-document" aria-hidden="true"></span>
|
|
125
|
+
<code>packages/core/src/lib/services/queue/api-queue.service.ts</code>
|
|
126
|
+
</div>
|
|
127
|
+
|
|
116
128
|
<ul class="nav nav-tabs" role="tablist">
|
|
117
129
|
<li class="nav-item">
|
|
118
130
|
<a href="#info"
|
|
@@ -120,17 +132,16 @@
|
|
|
120
132
|
class="nav-link active"
|
|
121
133
|
role="tab" id="info-tab" data-bs-toggle="tab" data-link="info">Info</a>
|
|
122
134
|
</li>
|
|
135
|
+
<li class="nav-item">
|
|
136
|
+
<a href="#api"
|
|
137
|
+
class="nav-link"
|
|
138
|
+
|
|
139
|
+
role="tab" id="api-tab" data-bs-toggle="tab" data-link="api">API</a>
|
|
140
|
+
</li>
|
|
123
141
|
</ul>
|
|
124
142
|
|
|
125
143
|
<div class="tab-content">
|
|
126
144
|
<div class="tab-pane fade active in" id="info">
|
|
127
|
-
<p class="comment">
|
|
128
|
-
<h3>File</h3>
|
|
129
|
-
</p>
|
|
130
|
-
<p class="comment">
|
|
131
|
-
<code>packages/core/src/lib/services/queue/api-queue.service.ts</code>
|
|
132
|
-
</p>
|
|
133
|
-
|
|
134
145
|
|
|
135
146
|
<p class="comment">
|
|
136
147
|
<h3>Description</h3>
|
|
@@ -163,54 +174,94 @@ apiQueueService.processAllQueueItems(true).subscribe(results => {
|
|
|
163
174
|
</p>
|
|
164
175
|
|
|
165
176
|
|
|
177
|
+
<section data-compodoc="block-metadata">
|
|
178
|
+
<h3>Metadata</h3>
|
|
179
|
+
<table class="table table-sm table-hover metadata">
|
|
180
|
+
<tbody>
|
|
181
|
+
<tr>
|
|
182
|
+
<td class="col-md-3">providedIn</td>
|
|
183
|
+
<td class="col-md-9"><code>root</code></td>
|
|
184
|
+
</tr>
|
|
185
|
+
</tbody>
|
|
186
|
+
</table>
|
|
187
|
+
</section>
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
<section data-compodoc="block-relationships">
|
|
191
|
+
<h3>Relationships</h3>
|
|
192
|
+
|
|
193
|
+
<div class="row pt-3">
|
|
194
|
+
<div class="col-sm-6">
|
|
195
|
+
<h4>Used by</h4>
|
|
196
|
+
<ul class="list-unstyled relationships-list">
|
|
197
|
+
<li>
|
|
198
|
+
<code><a href="../classes/ApiQueueServiceMock.html" target="_self" >ApiQueueServiceMock</a></code>
|
|
199
|
+
</li>
|
|
200
|
+
</ul>
|
|
201
|
+
</div>
|
|
202
|
+
|
|
203
|
+
<div class="col-sm-6">
|
|
204
|
+
<h4>Depends on</h4>
|
|
205
|
+
<p class="comment"><i>No results matching.</i></p>
|
|
206
|
+
</div>
|
|
207
|
+
</div>
|
|
208
|
+
</section>
|
|
209
|
+
</div>
|
|
166
210
|
|
|
211
|
+
<div class="tab-pane fade " id="api">
|
|
167
212
|
<section data-compodoc="block-index">
|
|
168
213
|
<h3 id="index">Index</h3>
|
|
169
|
-
<table class="table table-sm table-bordered index-table">
|
|
170
|
-
<tbody>
|
|
171
214
|
|
|
215
|
+
<table class="table table-sm table-bordered index-table">
|
|
216
|
+
<tbody>
|
|
172
217
|
<tr>
|
|
173
|
-
<td class="col-md-
|
|
218
|
+
<td class="col-md-3">
|
|
174
219
|
<h6><b>Methods</b></h6>
|
|
175
220
|
</td>
|
|
176
|
-
|
|
177
|
-
<tr>
|
|
178
|
-
<td class="col-md-4">
|
|
221
|
+
<td class="col-md-9">
|
|
179
222
|
<ul class="index-list">
|
|
180
223
|
<li>
|
|
224
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
181
225
|
<a href="#addQueueItem" >addQueueItem</a>
|
|
182
226
|
</li>
|
|
183
227
|
<li>
|
|
228
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
184
229
|
<a href="#getQueue" >getQueue</a>
|
|
185
230
|
</li>
|
|
186
231
|
<li>
|
|
232
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
187
233
|
<a href="#getQueueItem" >getQueueItem</a>
|
|
188
234
|
</li>
|
|
189
235
|
<li>
|
|
236
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
190
237
|
<a href="#processAllQueueItems" >processAllQueueItems</a>
|
|
191
238
|
</li>
|
|
192
239
|
<li>
|
|
240
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
193
241
|
<a href="#processAllQueueItemsSequential" >processAllQueueItemsSequential</a>
|
|
194
242
|
</li>
|
|
195
243
|
<li>
|
|
244
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
196
245
|
<a href="#processQueueItem" >processQueueItem</a>
|
|
197
246
|
</li>
|
|
198
247
|
<li>
|
|
248
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
199
249
|
<a href="#removeAllQueueItem" >removeAllQueueItem</a>
|
|
200
250
|
</li>
|
|
201
251
|
<li>
|
|
252
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
202
253
|
<a href="#removeQueueItem" >removeQueueItem</a>
|
|
203
254
|
</li>
|
|
204
255
|
</ul>
|
|
205
256
|
</td>
|
|
206
257
|
</tr>
|
|
258
|
+
</tbody>
|
|
259
|
+
</table>
|
|
207
260
|
|
|
208
261
|
|
|
209
262
|
|
|
210
263
|
|
|
211
264
|
|
|
212
|
-
</tbody>
|
|
213
|
-
</table>
|
|
214
265
|
</section>
|
|
215
266
|
|
|
216
267
|
<section data-compodoc="block-constructor">
|
|
@@ -330,6 +381,14 @@ If an unsupported method is provided, the function will throw an error.</li>
|
|
|
330
381
|
<p>This function does not return a value. It adds the item to the queue via a dispatch action.</p>
|
|
331
382
|
|
|
332
383
|
</div>
|
|
384
|
+
<div class="io-description">
|
|
385
|
+
<b>Throws :</b>
|
|
386
|
+
<ul>
|
|
387
|
+
<li><p>Throws an error if the <code>method</code> property of the <code>item</code> is not one of the allowed methods.
|
|
388
|
+
The error message is: <code>[ApiQueue] method "${item.method}" is not allowed</code>.</p>
|
|
389
|
+
</li>
|
|
390
|
+
</ul>
|
|
391
|
+
</div>
|
|
333
392
|
</td>
|
|
334
393
|
</tr>
|
|
335
394
|
</tbody>
|
|
@@ -482,7 +541,7 @@ If no item with the given ID exists in the queue, the Observable emits <code>nul
|
|
|
482
541
|
</tr>
|
|
483
542
|
<tr>
|
|
484
543
|
<td class="col-md-4">
|
|
485
|
-
<code>processAllQueueItems(continueOnError: unknown)</code>
|
|
544
|
+
<code>processAllQueueItems<T>(continueOnError: unknown)</code>
|
|
486
545
|
</td>
|
|
487
546
|
</tr>
|
|
488
547
|
|
|
@@ -575,7 +634,7 @@ queue items.</p>
|
|
|
575
634
|
</tr>
|
|
576
635
|
<tr>
|
|
577
636
|
<td class="col-md-4">
|
|
578
|
-
<code>processAllQueueItemsSequential(ascending: unknown)</code>
|
|
637
|
+
<code>processAllQueueItemsSequential<T>(ascending: unknown)</code>
|
|
579
638
|
</td>
|
|
580
639
|
</tr>
|
|
581
640
|
|
|
@@ -668,7 +727,7 @@ specifying a more accurate return type or utilizing generics for increased type
|
|
|
668
727
|
</tr>
|
|
669
728
|
<tr>
|
|
670
729
|
<td class="col-md-4">
|
|
671
|
-
<code>processQueueItem(id: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>)</code>
|
|
730
|
+
<code>processQueueItem<T>(id: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>)</code>
|
|
672
731
|
</td>
|
|
673
732
|
</tr>
|
|
674
733
|
|
|
@@ -868,6 +927,7 @@ this.removeQueueItem('item123');
|
|
|
868
927
|
</table>
|
|
869
928
|
</section>
|
|
870
929
|
|
|
930
|
+
|
|
871
931
|
</div>
|
|
872
932
|
|
|
873
933
|
|
|
@@ -918,6 +978,24 @@ this.removeQueueItem('item123');
|
|
|
918
978
|
|
|
919
979
|
<script>
|
|
920
980
|
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
981
|
+
var updateDarkModeSwitchOffset = function () {
|
|
982
|
+
var content = document.querySelector('.content');
|
|
983
|
+
var scrollbarWidth = 0;
|
|
984
|
+
|
|
985
|
+
if (content) {
|
|
986
|
+
scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
|
|
987
|
+
}
|
|
988
|
+
|
|
989
|
+
document.documentElement.style.setProperty(
|
|
990
|
+
'--content-scrollbar-width',
|
|
991
|
+
scrollbarWidth + 'px'
|
|
992
|
+
);
|
|
993
|
+
};
|
|
994
|
+
|
|
995
|
+
updateDarkModeSwitchOffset();
|
|
996
|
+
requestAnimationFrame(updateDarkModeSwitchOffset);
|
|
997
|
+
window.addEventListener('resize', updateDarkModeSwitchOffset);
|
|
998
|
+
|
|
921
999
|
checkToggle(darkModeState);
|
|
922
1000
|
if ($darkModeToggleSwitchers.length > 0) {
|
|
923
1001
|
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
@@ -933,7 +1011,6 @@ this.removeQueueItem('item123');
|
|
|
933
1011
|
<script src="../js/libs/lit-html.js"></script>
|
|
934
1012
|
|
|
935
1013
|
<script src="../js/menu-wc.js" defer></script>
|
|
936
|
-
<script nomodule src="../js/menu-wc_es5.js" defer></script>
|
|
937
1014
|
|
|
938
1015
|
<script src="../js/libs/bootstrap-native.js"></script>
|
|
939
1016
|
|