@eui/base 23.0.0-alpha.1 → 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 +773 -2
- package/docs/classes/ConsoleAppender.html +78 -27
- package/docs/classes/EuiEuLanguages.html +55 -16
- package/docs/classes/EuiLazyService.html +90 -26
- 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 +142 -30
- package/docs/classes/UrlAppender.html +80 -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 +164 -91
- 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 +3314 -573
- 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/fesm2022/eui-base.mjs +1 -0
- package/fesm2022/eui-base.mjs.map +1 -1
- package/package.json +6 -5
- package/types/eui-base.d.ts +1 -0
- package/types/eui-base.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">
|
|
@@ -117,6 +124,11 @@
|
|
|
117
124
|
<li class="breadcrumb-item" >EuiPagination</li>
|
|
118
125
|
</ol>
|
|
119
126
|
|
|
127
|
+
<div class="io-file io-file-path" data-compodoc="entity-file-path">
|
|
128
|
+
<span class="icon ion-ios-document" aria-hidden="true"></span>
|
|
129
|
+
<code>packages/base/src/lib/eui-models/eui-pagination/eui-pagination.model.ts</code>
|
|
130
|
+
</div>
|
|
131
|
+
|
|
120
132
|
<ul class="nav nav-tabs" role="tablist">
|
|
121
133
|
<li class="nav-item">
|
|
122
134
|
<a href="#info"
|
|
@@ -124,115 +136,138 @@
|
|
|
124
136
|
class="nav-link active"
|
|
125
137
|
role="tab" id="info-tab" data-bs-toggle="tab" data-link="info">Info</a>
|
|
126
138
|
</li>
|
|
139
|
+
<li class="nav-item">
|
|
140
|
+
<a href="#api"
|
|
141
|
+
class="nav-link"
|
|
142
|
+
|
|
143
|
+
role="tab" id="api-tab" data-bs-toggle="tab" data-link="api">API</a>
|
|
144
|
+
</li>
|
|
127
145
|
</ul>
|
|
128
146
|
|
|
129
147
|
<div class="tab-content">
|
|
130
148
|
<div class="tab-pane fade active in" id="info">
|
|
131
|
-
<p class="comment">
|
|
132
|
-
<h3>File</h3>
|
|
133
|
-
</p>
|
|
134
|
-
<p class="comment">
|
|
135
|
-
<code>packages/base/src/lib/eui-models/eui-pagination/eui-pagination.model.ts</code>
|
|
136
|
-
</p>
|
|
137
149
|
|
|
138
150
|
|
|
139
151
|
|
|
140
152
|
|
|
141
153
|
|
|
154
|
+
</div>
|
|
142
155
|
|
|
156
|
+
<div class="tab-pane fade " id="api">
|
|
143
157
|
<section data-compodoc="block-index">
|
|
144
158
|
<h3 id="index">Index</h3>
|
|
145
|
-
<table class="table table-sm table-bordered index-table">
|
|
146
|
-
<tbody>
|
|
147
159
|
|
|
160
|
+
<table class="table table-sm table-bordered index-table">
|
|
161
|
+
<tbody>
|
|
148
162
|
<tr>
|
|
149
|
-
<td class="col-md-
|
|
163
|
+
<td class="col-md-3">
|
|
150
164
|
<h6><b>Methods</b></h6>
|
|
151
165
|
</td>
|
|
152
|
-
|
|
153
|
-
<tr>
|
|
154
|
-
<td class="col-md-4">
|
|
166
|
+
<td class="col-md-9">
|
|
155
167
|
<ul class="index-list">
|
|
156
168
|
<li>
|
|
169
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
157
170
|
<span class="modifier">Static</span>
|
|
158
171
|
<a href="#create" >create</a>
|
|
159
172
|
</li>
|
|
160
173
|
<li>
|
|
174
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
161
175
|
<a href="#getCurrentPage" >getCurrentPage</a>
|
|
162
176
|
</li>
|
|
163
177
|
<li>
|
|
178
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
164
179
|
<a href="#getFirstPage" >getFirstPage</a>
|
|
165
180
|
</li>
|
|
166
181
|
<li>
|
|
182
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
167
183
|
<a href="#getLastPage" >getLastPage</a>
|
|
168
184
|
</li>
|
|
169
185
|
<li>
|
|
186
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
170
187
|
<a href="#getPages" >getPages</a>
|
|
171
188
|
</li>
|
|
172
189
|
<li>
|
|
190
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
173
191
|
<a href="#getPagesCount" >getPagesCount</a>
|
|
174
192
|
</li>
|
|
175
193
|
<li>
|
|
194
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
176
195
|
<a href="#getPageSize" >getPageSize</a>
|
|
177
196
|
</li>
|
|
178
197
|
<li>
|
|
198
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
179
199
|
<a href="#getPageWindowSize" >getPageWindowSize</a>
|
|
180
200
|
</li>
|
|
181
201
|
<li>
|
|
202
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
182
203
|
<a href="#getShowingFrom" >getShowingFrom</a>
|
|
183
204
|
</li>
|
|
184
205
|
<li>
|
|
206
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
185
207
|
<a href="#getShowingTo" >getShowingTo</a>
|
|
186
208
|
</li>
|
|
187
209
|
<li>
|
|
210
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
188
211
|
<a href="#getTotalItems" >getTotalItems</a>
|
|
189
212
|
</li>
|
|
190
213
|
<li>
|
|
214
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
191
215
|
<a href="#goToFirstPage" >goToFirstPage</a>
|
|
192
216
|
</li>
|
|
193
217
|
<li>
|
|
218
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
194
219
|
<a href="#goToLastPage" >goToLastPage</a>
|
|
195
220
|
</li>
|
|
196
221
|
<li>
|
|
222
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
197
223
|
<a href="#goToNextPage" >goToNextPage</a>
|
|
198
224
|
</li>
|
|
199
225
|
<li>
|
|
226
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
200
227
|
<a href="#goToPage" >goToPage</a>
|
|
201
228
|
</li>
|
|
202
229
|
<li>
|
|
230
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
203
231
|
<a href="#goToPreviousPage" >goToPreviousPage</a>
|
|
204
232
|
</li>
|
|
205
233
|
<li>
|
|
234
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
206
235
|
<a href="#hasItems" >hasItems</a>
|
|
207
236
|
</li>
|
|
208
237
|
<li>
|
|
238
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
209
239
|
<a href="#hasNextPage" >hasNextPage</a>
|
|
210
240
|
</li>
|
|
211
241
|
<li>
|
|
242
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
212
243
|
<a href="#hasPreviousPage" >hasPreviousPage</a>
|
|
213
244
|
</li>
|
|
214
245
|
<li>
|
|
246
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
215
247
|
<a href="#isFirstPageActive" >isFirstPageActive</a>
|
|
216
248
|
</li>
|
|
217
249
|
<li>
|
|
250
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
218
251
|
<a href="#isLastPageActive" >isLastPageActive</a>
|
|
219
252
|
</li>
|
|
220
253
|
<li>
|
|
254
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
221
255
|
<a href="#setPageSize" >setPageSize</a>
|
|
222
256
|
</li>
|
|
223
257
|
<li>
|
|
258
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
224
259
|
<a href="#setPageWindowSize" >setPageWindowSize</a>
|
|
225
260
|
</li>
|
|
226
261
|
</ul>
|
|
227
262
|
</td>
|
|
228
263
|
</tr>
|
|
264
|
+
</tbody>
|
|
265
|
+
</table>
|
|
229
266
|
|
|
230
267
|
|
|
231
268
|
|
|
232
269
|
|
|
233
270
|
|
|
234
|
-
</tbody>
|
|
235
|
-
</table>
|
|
236
271
|
</section>
|
|
237
272
|
|
|
238
273
|
|
|
@@ -1087,6 +1122,7 @@
|
|
|
1087
1122
|
|
|
1088
1123
|
|
|
1089
1124
|
|
|
1125
|
+
|
|
1090
1126
|
</div>
|
|
1091
1127
|
|
|
1092
1128
|
|
|
@@ -1132,6 +1168,24 @@
|
|
|
1132
1168
|
|
|
1133
1169
|
<script>
|
|
1134
1170
|
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
1171
|
+
var updateDarkModeSwitchOffset = function () {
|
|
1172
|
+
var content = document.querySelector('.content');
|
|
1173
|
+
var scrollbarWidth = 0;
|
|
1174
|
+
|
|
1175
|
+
if (content) {
|
|
1176
|
+
scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
|
|
1177
|
+
}
|
|
1178
|
+
|
|
1179
|
+
document.documentElement.style.setProperty(
|
|
1180
|
+
'--content-scrollbar-width',
|
|
1181
|
+
scrollbarWidth + 'px'
|
|
1182
|
+
);
|
|
1183
|
+
};
|
|
1184
|
+
|
|
1185
|
+
updateDarkModeSwitchOffset();
|
|
1186
|
+
requestAnimationFrame(updateDarkModeSwitchOffset);
|
|
1187
|
+
window.addEventListener('resize', updateDarkModeSwitchOffset);
|
|
1188
|
+
|
|
1135
1189
|
checkToggle(darkModeState);
|
|
1136
1190
|
if ($darkModeToggleSwitchers.length > 0) {
|
|
1137
1191
|
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
@@ -1147,7 +1201,6 @@
|
|
|
1147
1201
|
<script src="../js/libs/lit-html.js"></script>
|
|
1148
1202
|
|
|
1149
1203
|
<script src="../js/menu-wc.js" defer></script>
|
|
1150
|
-
<script nomodule src="../js/menu-wc_es5.js" defer></script>
|
|
1151
1204
|
|
|
1152
1205
|
<script src="../js/libs/bootstrap-native.js"></script>
|
|
1153
1206
|
|
|
@@ -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">
|
|
@@ -114,9 +121,14 @@
|
|
|
114
121
|
|
|
115
122
|
<ol class="breadcrumb">
|
|
116
123
|
<li class="breadcrumb-item">Classes</li>
|
|
117
|
-
<li class="breadcrumb-item" >EuiService
|
|
124
|
+
<li class="breadcrumb-item" >EuiService<T></li>
|
|
118
125
|
</ol>
|
|
119
126
|
|
|
127
|
+
<div class="io-file io-file-path" data-compodoc="entity-file-path">
|
|
128
|
+
<span class="icon ion-ios-document" aria-hidden="true"></span>
|
|
129
|
+
<code>packages/base/src/lib/eui-models/eui-service.model.ts</code>
|
|
130
|
+
</div>
|
|
131
|
+
|
|
120
132
|
<ul class="nav nav-tabs" role="tablist">
|
|
121
133
|
<li class="nav-item">
|
|
122
134
|
<a href="#info"
|
|
@@ -124,17 +136,16 @@
|
|
|
124
136
|
class="nav-link active"
|
|
125
137
|
role="tab" id="info-tab" data-bs-toggle="tab" data-link="info">Info</a>
|
|
126
138
|
</li>
|
|
139
|
+
<li class="nav-item">
|
|
140
|
+
<a href="#api"
|
|
141
|
+
class="nav-link"
|
|
142
|
+
|
|
143
|
+
role="tab" id="api-tab" data-bs-toggle="tab" data-link="api">API</a>
|
|
144
|
+
</li>
|
|
127
145
|
</ul>
|
|
128
146
|
|
|
129
147
|
<div class="tab-content">
|
|
130
148
|
<div class="tab-pane fade active in" id="info">
|
|
131
|
-
<p class="comment">
|
|
132
|
-
<h3>File</h3>
|
|
133
|
-
</p>
|
|
134
|
-
<p class="comment">
|
|
135
|
-
<code>packages/base/src/lib/eui-models/eui-service.model.ts</code>
|
|
136
|
-
</p>
|
|
137
|
-
|
|
138
149
|
|
|
139
150
|
|
|
140
151
|
|
|
@@ -146,70 +157,100 @@
|
|
|
146
157
|
</p>
|
|
147
158
|
|
|
148
159
|
|
|
160
|
+
<section data-compodoc="block-relationships">
|
|
161
|
+
<h3>Relationships</h3>
|
|
162
|
+
|
|
163
|
+
<div class="row pt-3">
|
|
164
|
+
<div class="col-sm-6">
|
|
165
|
+
<h4>Used by</h4>
|
|
166
|
+
<p class="comment"><i>No results matching.</i></p>
|
|
167
|
+
</div>
|
|
168
|
+
|
|
169
|
+
<div class="col-sm-6">
|
|
170
|
+
<h4>Depends on</h4>
|
|
171
|
+
<ul class="list-unstyled relationships-list">
|
|
172
|
+
<li>
|
|
173
|
+
<code><a href="../interfaces/EuiServiceModel.html" target="_self" >EuiServiceModel</a></code>
|
|
174
|
+
</li>
|
|
175
|
+
</ul>
|
|
176
|
+
</div>
|
|
177
|
+
</div>
|
|
178
|
+
</section>
|
|
179
|
+
</div>
|
|
180
|
+
|
|
181
|
+
<div class="tab-pane fade " id="api">
|
|
149
182
|
<section data-compodoc="block-index">
|
|
150
183
|
<h3 id="index">Index</h3>
|
|
151
|
-
|
|
152
|
-
|
|
184
|
+
<table class="table table-sm table-bordered index-table">
|
|
185
|
+
<tbody>
|
|
153
186
|
<tr>
|
|
154
|
-
<td class="col-md-
|
|
187
|
+
<td class="col-md-3">
|
|
155
188
|
<h6><b>Properties</b></h6>
|
|
156
189
|
</td>
|
|
157
|
-
|
|
158
|
-
<tr>
|
|
159
|
-
<td class="col-md-4">
|
|
190
|
+
<td class="col-md-9">
|
|
160
191
|
<ul class="index-list">
|
|
161
192
|
<li>
|
|
193
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
162
194
|
<a href="#onStateChange" >onStateChange</a>
|
|
163
195
|
</li>
|
|
164
196
|
</ul>
|
|
165
197
|
</td>
|
|
166
198
|
</tr>
|
|
199
|
+
</tbody>
|
|
200
|
+
</table>
|
|
167
201
|
|
|
202
|
+
<table class="table table-sm table-bordered index-table">
|
|
203
|
+
<tbody>
|
|
168
204
|
<tr>
|
|
169
|
-
<td class="col-md-
|
|
205
|
+
<td class="col-md-3">
|
|
170
206
|
<h6><b>Methods</b></h6>
|
|
171
207
|
</td>
|
|
172
|
-
|
|
173
|
-
<tr>
|
|
174
|
-
<td class="col-md-4">
|
|
208
|
+
<td class="col-md-9">
|
|
175
209
|
<ul class="index-list">
|
|
176
210
|
<li>
|
|
211
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
177
212
|
<span class="modifier">Abstract</span>
|
|
178
213
|
<a href="#getState" >getState</a>
|
|
179
214
|
</li>
|
|
180
215
|
<li>
|
|
216
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
181
217
|
<span class="modifier">Abstract</span>
|
|
182
218
|
<a href="#getState" >getState</a>
|
|
183
219
|
</li>
|
|
184
220
|
<li>
|
|
221
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
185
222
|
<span class="modifier">Abstract</span>
|
|
186
223
|
<a href="#getState" >getState</a>
|
|
187
224
|
</li>
|
|
188
225
|
<li>
|
|
226
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
189
227
|
<span class="modifier">Abstract</span>
|
|
190
228
|
<a href="#getState" >getState</a>
|
|
191
229
|
</li>
|
|
192
230
|
<li>
|
|
231
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
193
232
|
<span class="modifier">Abstract</span>
|
|
194
233
|
<a href="#init" >init</a>
|
|
195
234
|
</li>
|
|
196
235
|
<li>
|
|
236
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
197
237
|
<a href="#initEuiService" >initEuiService</a>
|
|
198
238
|
</li>
|
|
199
239
|
<li>
|
|
240
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
200
241
|
<span class="modifier">Abstract</span>
|
|
201
242
|
<a href="#updateState" >updateState</a>
|
|
202
243
|
</li>
|
|
203
244
|
</ul>
|
|
204
245
|
</td>
|
|
205
246
|
</tr>
|
|
247
|
+
</tbody>
|
|
248
|
+
</table>
|
|
206
249
|
|
|
207
250
|
|
|
208
251
|
|
|
209
252
|
|
|
210
253
|
|
|
211
|
-
</tbody>
|
|
212
|
-
</table>
|
|
213
254
|
</section>
|
|
214
255
|
|
|
215
256
|
|
|
@@ -266,7 +307,7 @@
|
|
|
266
307
|
<tr>
|
|
267
308
|
<td class="col-md-4">
|
|
268
309
|
<span class="modifier-icon icon ion-ios-reset"></span>
|
|
269
|
-
<code>getState()</code>
|
|
310
|
+
<code>getState<K>()</code>
|
|
270
311
|
</td>
|
|
271
312
|
</tr>
|
|
272
313
|
|
|
@@ -283,6 +324,10 @@
|
|
|
283
324
|
|
|
284
325
|
<tr>
|
|
285
326
|
<td class="col-md-4">
|
|
327
|
+
<div class="io-description"><p>retrieves the State of the service. If you don't pass anything it will retrieve the whole State
|
|
328
|
+
of that service. If you pass a selector or MapFunction it will retrieve a slice of the state. If
|
|
329
|
+
you pass a string that's a key of the Service State type it will retrieve that slice of the state.</p>
|
|
330
|
+
</div>
|
|
286
331
|
|
|
287
332
|
<div class="io-description">
|
|
288
333
|
<b>Returns : </b> <code>Observable<T></code>
|
|
@@ -307,7 +352,7 @@
|
|
|
307
352
|
<tr>
|
|
308
353
|
<td class="col-md-4">
|
|
309
354
|
<span class="modifier-icon icon ion-ios-reset"></span>
|
|
310
|
-
<code>getState(mapFn?: (state?: T) => void)</code>
|
|
355
|
+
<code>getState<K>(mapFn?: (state?: T) => void)</code>
|
|
311
356
|
</td>
|
|
312
357
|
</tr>
|
|
313
358
|
|
|
@@ -324,6 +369,10 @@
|
|
|
324
369
|
|
|
325
370
|
<tr>
|
|
326
371
|
<td class="col-md-4">
|
|
372
|
+
<div class="io-description"><p>retrieves the State of the service. If you don't pass anything it will retrieve the whole State
|
|
373
|
+
of that service. If you pass a selector or MapFunction it will retrieve a slice of the state. If
|
|
374
|
+
you pass a string that's a key of the Service State type it will retrieve that slice of the state.</p>
|
|
375
|
+
</div>
|
|
327
376
|
|
|
328
377
|
<div class="io-description">
|
|
329
378
|
<b>Parameters :</b>
|
|
@@ -378,7 +427,7 @@
|
|
|
378
427
|
<tr>
|
|
379
428
|
<td class="col-md-4">
|
|
380
429
|
<span class="modifier-icon icon ion-ios-reset"></span>
|
|
381
|
-
<code>getState(key?: A)</code>
|
|
430
|
+
<code>getState<A>(key?: A)</code>
|
|
382
431
|
</td>
|
|
383
432
|
</tr>
|
|
384
433
|
|
|
@@ -395,6 +444,10 @@
|
|
|
395
444
|
|
|
396
445
|
<tr>
|
|
397
446
|
<td class="col-md-4">
|
|
447
|
+
<div class="io-description"><p>retrieves the State of the service. If you don't pass anything it will retrieve the whole State
|
|
448
|
+
of that service. If you pass a selector or MapFunction it will retrieve a slice of the state. If
|
|
449
|
+
you pass a string that's a key of the Service State type it will retrieve that slice of the state.</p>
|
|
450
|
+
</div>
|
|
398
451
|
|
|
399
452
|
<div class="io-description">
|
|
400
453
|
<b>Parameters :</b>
|
|
@@ -424,7 +477,7 @@
|
|
|
424
477
|
</table>
|
|
425
478
|
</div>
|
|
426
479
|
<div class="io-description">
|
|
427
|
-
<b>Returns : </b> <code>Observable<
|
|
480
|
+
<b>Returns : </b> <code>Observable<T['A']></code>
|
|
428
481
|
|
|
429
482
|
</div>
|
|
430
483
|
<div class="io-description">
|
|
@@ -449,7 +502,7 @@
|
|
|
449
502
|
<tr>
|
|
450
503
|
<td class="col-md-4">
|
|
451
504
|
<span class="modifier-icon icon ion-ios-reset"></span>
|
|
452
|
-
<code>getState(keyOrMapFn?: unknown | string)</code>
|
|
505
|
+
<code>getState<K>(keyOrMapFn?: unknown | string)</code>
|
|
453
506
|
</td>
|
|
454
507
|
</tr>
|
|
455
508
|
|
|
@@ -466,6 +519,10 @@
|
|
|
466
519
|
|
|
467
520
|
<tr>
|
|
468
521
|
<td class="col-md-4">
|
|
522
|
+
<div class="io-description"><p>retrieves the State of the service. If you don't pass anything it will retrieve the whole State
|
|
523
|
+
of that service. If you pass a selector or MapFunction it will retrieve a slice of the state. If
|
|
524
|
+
you pass a string that's a key of the Service State type it will retrieve that slice of the state.</p>
|
|
525
|
+
</div>
|
|
469
526
|
|
|
470
527
|
<div class="io-description">
|
|
471
528
|
<b>Parameters :</b>
|
|
@@ -614,7 +671,7 @@
|
|
|
614
671
|
<tr>
|
|
615
672
|
<td class="col-md-4">
|
|
616
673
|
<span class="modifier-icon icon ion-ios-reset"></span>
|
|
617
|
-
<code>updateState(t: <a href="../
|
|
674
|
+
<code>updateState(t: <a href="../miscellaneous/typealiases.html#DeepPartial" target="_self">DeepPartial<T></a>)</code>
|
|
618
675
|
</td>
|
|
619
676
|
</tr>
|
|
620
677
|
|
|
@@ -668,6 +725,7 @@
|
|
|
668
725
|
|
|
669
726
|
|
|
670
727
|
|
|
728
|
+
|
|
671
729
|
</div>
|
|
672
730
|
|
|
673
731
|
|
|
@@ -713,6 +771,24 @@
|
|
|
713
771
|
|
|
714
772
|
<script>
|
|
715
773
|
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
774
|
+
var updateDarkModeSwitchOffset = function () {
|
|
775
|
+
var content = document.querySelector('.content');
|
|
776
|
+
var scrollbarWidth = 0;
|
|
777
|
+
|
|
778
|
+
if (content) {
|
|
779
|
+
scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
|
|
780
|
+
}
|
|
781
|
+
|
|
782
|
+
document.documentElement.style.setProperty(
|
|
783
|
+
'--content-scrollbar-width',
|
|
784
|
+
scrollbarWidth + 'px'
|
|
785
|
+
);
|
|
786
|
+
};
|
|
787
|
+
|
|
788
|
+
updateDarkModeSwitchOffset();
|
|
789
|
+
requestAnimationFrame(updateDarkModeSwitchOffset);
|
|
790
|
+
window.addEventListener('resize', updateDarkModeSwitchOffset);
|
|
791
|
+
|
|
716
792
|
checkToggle(darkModeState);
|
|
717
793
|
if ($darkModeToggleSwitchers.length > 0) {
|
|
718
794
|
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
@@ -728,7 +804,6 @@
|
|
|
728
804
|
<script src="../js/libs/lit-html.js"></script>
|
|
729
805
|
|
|
730
806
|
<script src="../js/menu-wc.js" defer></script>
|
|
731
|
-
<script nomodule src="../js/menu-wc_es5.js" defer></script>
|
|
732
807
|
|
|
733
808
|
<script src="../js/libs/bootstrap-native.js"></script>
|
|
734
809
|
|