@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
|
-
EuiServiceModel
|
|
127
|
+
EuiServiceModel<T></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-service.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,76 +139,88 @@
|
|
|
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-service.model.ts</code>
|
|
139
|
-
</p>
|
|
140
152
|
|
|
141
153
|
|
|
142
154
|
|
|
155
|
+
<section data-compodoc="block-relationships">
|
|
156
|
+
<h3>Relationships</h3>
|
|
143
157
|
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
<tr>
|
|
149
|
-
<td class="col-md-4">
|
|
150
|
-
<h6><b>Methods</b></h6>
|
|
151
|
-
</td>
|
|
152
|
-
</tr>
|
|
153
|
-
<tr>
|
|
154
|
-
<td class="col-md-4">
|
|
155
|
-
<ul class="index-list">
|
|
156
|
-
<li>
|
|
157
|
-
<a href="#getState"
|
|
158
|
-
>
|
|
159
|
-
getState
|
|
160
|
-
</a>
|
|
161
|
-
</li>
|
|
162
|
-
<li>
|
|
163
|
-
<a href="#getState"
|
|
164
|
-
>
|
|
165
|
-
getState
|
|
166
|
-
</a>
|
|
167
|
-
</li>
|
|
168
|
-
<li>
|
|
169
|
-
<a href="#getState"
|
|
170
|
-
>
|
|
171
|
-
getState
|
|
172
|
-
</a>
|
|
173
|
-
</li>
|
|
174
|
-
<li>
|
|
175
|
-
<a href="#getState"
|
|
176
|
-
>
|
|
177
|
-
getState
|
|
178
|
-
</a>
|
|
179
|
-
</li>
|
|
180
|
-
<li>
|
|
181
|
-
<a href="#init"
|
|
182
|
-
>
|
|
183
|
-
init
|
|
184
|
-
</a>
|
|
185
|
-
</li>
|
|
158
|
+
<div class="row pt-3">
|
|
159
|
+
<div class="col-sm-6">
|
|
160
|
+
<h4>Used by</h4>
|
|
161
|
+
<ul class="list-unstyled relationships-list">
|
|
186
162
|
<li>
|
|
187
|
-
|
|
188
|
-
>
|
|
189
|
-
updateState
|
|
190
|
-
</a>
|
|
163
|
+
<code><a href="../classes/EuiService.html" target="_self" >EuiService</a></code>
|
|
191
164
|
</li>
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
165
|
+
</ul>
|
|
166
|
+
</div>
|
|
167
|
+
|
|
168
|
+
<div class="col-sm-6">
|
|
169
|
+
<h4>Depends on</h4>
|
|
170
|
+
<p class="comment"><i>No results matching.</i></p>
|
|
171
|
+
</div>
|
|
172
|
+
</div>
|
|
197
173
|
</section>
|
|
174
|
+
</div>
|
|
198
175
|
|
|
199
|
-
|
|
176
|
+
<div class="tab-pane fade " id="api"><section data-compodoc="block-index">
|
|
177
|
+
<h3 id="index">Index</h3>
|
|
178
|
+
<table class="table table-sm table-bordered index-table">
|
|
179
|
+
<tbody>
|
|
180
|
+
<tr>
|
|
181
|
+
<td class="col-md-3">
|
|
182
|
+
<h6><b>Methods</b></h6>
|
|
183
|
+
</td>
|
|
184
|
+
<td class="col-md-9">
|
|
185
|
+
<ul class="index-list">
|
|
186
|
+
<li>
|
|
187
|
+
<a href="#getState" class="reference-link ">
|
|
188
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span><span class="reference-link-label">getState</span>
|
|
189
|
+
</a>
|
|
190
|
+
</li>
|
|
191
|
+
<li>
|
|
192
|
+
<a href="#getState" class="reference-link ">
|
|
193
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span><span class="reference-link-label">getState</span>
|
|
194
|
+
</a>
|
|
195
|
+
</li>
|
|
196
|
+
<li>
|
|
197
|
+
<a href="#getState" class="reference-link ">
|
|
198
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span><span class="reference-link-label">getState</span>
|
|
199
|
+
</a>
|
|
200
|
+
</li>
|
|
201
|
+
<li>
|
|
202
|
+
<a href="#getState" class="reference-link ">
|
|
203
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span><span class="reference-link-label">getState</span>
|
|
204
|
+
</a>
|
|
205
|
+
</li>
|
|
206
|
+
<li>
|
|
207
|
+
<a href="#init" class="reference-link ">
|
|
208
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span><span class="reference-link-label">init</span>
|
|
209
|
+
</a>
|
|
210
|
+
</li>
|
|
211
|
+
<li>
|
|
212
|
+
<a href="#updateState" class="reference-link ">
|
|
213
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span><span class="reference-link-label">updateState</span>
|
|
214
|
+
</a>
|
|
215
|
+
</li>
|
|
216
|
+
</ul>
|
|
217
|
+
</td>
|
|
218
|
+
</tr>
|
|
219
|
+
</tbody>
|
|
220
|
+
</table>
|
|
221
|
+
</section>
|
|
222
|
+
|
|
223
|
+
<section data-compodoc="block-methods">
|
|
200
224
|
|
|
201
225
|
<h3 id="methods">
|
|
202
226
|
Methods
|
|
@@ -214,7 +238,7 @@
|
|
|
214
238
|
</tr>
|
|
215
239
|
<tr>
|
|
216
240
|
<td class="col-md-4">
|
|
217
|
-
<code>getState()</code>
|
|
241
|
+
<code>getState<K>()</code>
|
|
218
242
|
</td>
|
|
219
243
|
</tr>
|
|
220
244
|
|
|
@@ -257,7 +281,7 @@ you pass a string that's a key of the Service State type it will retrieve th
|
|
|
257
281
|
</tr>
|
|
258
282
|
<tr>
|
|
259
283
|
<td class="col-md-4">
|
|
260
|
-
<code>getState(mapFn: (state: T) => void)</code>
|
|
284
|
+
<code>getState<K>(mapFn: (state: T) => void)</code>
|
|
261
285
|
</td>
|
|
262
286
|
</tr>
|
|
263
287
|
|
|
@@ -326,7 +350,7 @@ you pass a string that's a key of the Service State type it will retrieve th
|
|
|
326
350
|
</tr>
|
|
327
351
|
<tr>
|
|
328
352
|
<td class="col-md-4">
|
|
329
|
-
<code>getState(key: A)</code>
|
|
353
|
+
<code>getState<A>(key: A)</code>
|
|
330
354
|
</td>
|
|
331
355
|
</tr>
|
|
332
356
|
|
|
@@ -372,7 +396,7 @@ you pass a string that's a key of the Service State type it will retrieve th
|
|
|
372
396
|
</table>
|
|
373
397
|
</div>
|
|
374
398
|
<div class="io-description">
|
|
375
|
-
<b>Returns : </b> <code>Observable<
|
|
399
|
+
<b>Returns : </b> <code>Observable<T['A']></code>
|
|
376
400
|
|
|
377
401
|
</div>
|
|
378
402
|
<div class="io-description">
|
|
@@ -395,7 +419,7 @@ you pass a string that's a key of the Service State type it will retrieve th
|
|
|
395
419
|
</tr>
|
|
396
420
|
<tr>
|
|
397
421
|
<td class="col-md-4">
|
|
398
|
-
<code>getState(keyOrMapFn?: unknown | string)</code>
|
|
422
|
+
<code>getState<K>(keyOrMapFn?: unknown | string)</code>
|
|
399
423
|
</td>
|
|
400
424
|
</tr>
|
|
401
425
|
|
|
@@ -575,7 +599,8 @@ you pass a string that's a key of the Service State type it will retrieve th
|
|
|
575
599
|
</table>
|
|
576
600
|
</section>
|
|
577
601
|
|
|
578
|
-
|
|
602
|
+
|
|
603
|
+
</div>
|
|
579
604
|
|
|
580
605
|
|
|
581
606
|
</div>
|
|
@@ -619,6 +644,24 @@ you pass a string that's a key of the Service State type it will retrieve th
|
|
|
619
644
|
|
|
620
645
|
<script>
|
|
621
646
|
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
647
|
+
var updateDarkModeSwitchOffset = function () {
|
|
648
|
+
var content = document.querySelector('.content');
|
|
649
|
+
var scrollbarWidth = 0;
|
|
650
|
+
|
|
651
|
+
if (content) {
|
|
652
|
+
scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
document.documentElement.style.setProperty(
|
|
656
|
+
'--content-scrollbar-width',
|
|
657
|
+
scrollbarWidth + 'px'
|
|
658
|
+
);
|
|
659
|
+
};
|
|
660
|
+
|
|
661
|
+
updateDarkModeSwitchOffset();
|
|
662
|
+
requestAnimationFrame(updateDarkModeSwitchOffset);
|
|
663
|
+
window.addEventListener('resize', updateDarkModeSwitchOffset);
|
|
664
|
+
|
|
622
665
|
checkToggle(darkModeState);
|
|
623
666
|
if ($darkModeToggleSwitchers.length > 0) {
|
|
624
667
|
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
@@ -634,7 +677,6 @@ you pass a string that's a key of the Service State type it will retrieve th
|
|
|
634
677
|
<script src="../js/libs/lit-html.js"></script>
|
|
635
678
|
|
|
636
679
|
<script src="../js/menu-wc.js" defer></script>
|
|
637
|
-
<script nomodule src="../js/menu-wc_es5.js" defer></script>
|
|
638
680
|
|
|
639
681
|
<script src="../js/libs/bootstrap-native.js"></script>
|
|
640
682
|
|
|
@@ -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
|
-
EuiServiceStatus
|
|
127
|
+
EuiServiceStatus<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-service.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,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-service.model.ts</code>
|
|
139
|
-
</p>
|
|
140
|
-
|
|
141
152
|
|
|
142
153
|
<p class="comment">
|
|
143
154
|
<h3>Description</h3>
|
|
@@ -145,120 +156,122 @@
|
|
|
145
156
|
<p class="comment">
|
|
146
157
|
<p>EuiServiceStatus is a model that represents the status of the service. It has a boolean property that indicates
|
|
147
158
|
whether the service was successful or not. If the service was not successful it will have an error property that
|
|
148
|
-
contains the error message
|
|
159
|
+
contains the error message.
|
|
160
|
+
success a boolean property that indicates whether the service was successful or not
|
|
161
|
+
error an optional property that contains the error message</p>
|
|
149
162
|
|
|
150
163
|
</p>
|
|
151
164
|
|
|
152
165
|
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
166
|
+
</div>
|
|
167
|
+
|
|
168
|
+
<div class="tab-pane fade " id="api"><section data-compodoc="block-index">
|
|
169
|
+
<h3 id="index">Index</h3>
|
|
170
|
+
<table class="table table-sm table-bordered index-table">
|
|
171
|
+
<tbody>
|
|
172
|
+
<tr>
|
|
173
|
+
<td class="col-md-3">
|
|
174
|
+
<h6><b>Properties</b></h6>
|
|
175
|
+
</td>
|
|
176
|
+
<td class="col-md-9">
|
|
177
|
+
<ul class="index-list">
|
|
178
|
+
<li>
|
|
179
|
+
<span class="modifier">Optional</span>
|
|
180
|
+
<a href="#error" class="reference-link ">
|
|
181
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span><span class="reference-link-label">error</span>
|
|
182
|
+
</a>
|
|
183
|
+
</li>
|
|
184
|
+
<li>
|
|
185
|
+
<a href="#success" class="reference-link ">
|
|
186
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span><span class="reference-link-label">success</span>
|
|
187
|
+
</a>
|
|
188
|
+
</li>
|
|
189
|
+
</ul>
|
|
190
|
+
</td>
|
|
191
|
+
</tr>
|
|
192
|
+
</tbody>
|
|
193
|
+
</table>
|
|
194
|
+
</section>
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
<section data-compodoc="block-properties">
|
|
199
|
+
<h3 id="inputs">Properties</h3>
|
|
200
|
+
<table class="table table-sm table-bordered">
|
|
156
201
|
<tbody>
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
>
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
202
|
+
<tr>
|
|
203
|
+
<td class="col-md-4">
|
|
204
|
+
<a name="error"></a>
|
|
205
|
+
<span class="name "><b>error</b>
|
|
206
|
+
<a href="#error">
|
|
207
|
+
<span class="icon ion-ios-link"></span>
|
|
208
|
+
</a>
|
|
209
|
+
</span>
|
|
210
|
+
</td>
|
|
211
|
+
</tr>
|
|
212
|
+
<tr>
|
|
213
|
+
<td class="col-md-4">
|
|
214
|
+
<code>error: <code>T</code>
|
|
215
|
+
</code>
|
|
216
|
+
</td>
|
|
217
|
+
</tr>
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
<tr>
|
|
221
|
+
<td class="col-md-4">
|
|
222
|
+
<i>Type : </i> <code>T</code>
|
|
223
|
+
|
|
224
|
+
</td>
|
|
225
|
+
</tr>
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
<tr>
|
|
229
|
+
<td class="col-md-4">
|
|
230
|
+
<i>Optional</i>
|
|
231
|
+
</td>
|
|
232
|
+
</tr>
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
|
|
181
237
|
</tbody>
|
|
182
238
|
</table>
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
</span>
|
|
199
|
-
</td>
|
|
200
|
-
</tr>
|
|
201
|
-
<tr>
|
|
202
|
-
<td class="col-md-4">
|
|
203
|
-
<code>error: <code>T</code>
|
|
204
|
-
</code>
|
|
205
|
-
</td>
|
|
206
|
-
</tr>
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
<tr>
|
|
210
|
-
<td class="col-md-4">
|
|
211
|
-
<i>Type : </i> <code>T</code>
|
|
212
|
-
|
|
213
|
-
</td>
|
|
214
|
-
</tr>
|
|
215
|
-
|
|
216
|
-
<tr>
|
|
217
|
-
<td class="col-md-4">
|
|
218
|
-
<i>Optional</i>
|
|
219
|
-
</td>
|
|
220
|
-
</tr>
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
</tbody>
|
|
226
|
-
</table>
|
|
227
|
-
<table class="table table-sm table-bordered">
|
|
228
|
-
<tbody>
|
|
229
|
-
<tr>
|
|
230
|
-
<td class="col-md-4">
|
|
231
|
-
<a name="success"></a>
|
|
232
|
-
<span class="name "><b>success</b>
|
|
233
|
-
<a href="#success">
|
|
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>success: <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
|
|
239
|
+
<table class="table table-sm table-bordered">
|
|
240
|
+
<tbody>
|
|
241
|
+
<tr>
|
|
242
|
+
<td class="col-md-4">
|
|
243
|
+
<a name="success"></a>
|
|
244
|
+
<span class="name "><b>success</b>
|
|
245
|
+
<a href="#success">
|
|
246
|
+
<span class="icon ion-ios-link"></span>
|
|
247
|
+
</a>
|
|
248
|
+
</span>
|
|
249
|
+
</td>
|
|
250
|
+
</tr>
|
|
251
|
+
<tr>
|
|
252
|
+
<td class="col-md-4">
|
|
253
|
+
<code>success: <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
|
|
242
254
|
</code>
|
|
243
|
-
|
|
244
|
-
|
|
255
|
+
</td>
|
|
256
|
+
</tr>
|
|
245
257
|
|
|
246
258
|
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
259
|
+
<tr>
|
|
260
|
+
<td class="col-md-4">
|
|
261
|
+
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
|
|
250
262
|
|
|
251
|
-
|
|
252
|
-
|
|
263
|
+
</td>
|
|
264
|
+
</tr>
|
|
253
265
|
|
|
254
266
|
|
|
255
267
|
|
|
256
268
|
|
|
257
269
|
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
</
|
|
261
|
-
</
|
|
270
|
+
|
|
271
|
+
</tbody>
|
|
272
|
+
</table>
|
|
273
|
+
</section>
|
|
274
|
+
</div>
|
|
262
275
|
|
|
263
276
|
|
|
264
277
|
</div>
|
|
@@ -302,6 +315,24 @@ contains the error message.</p>
|
|
|
302
315
|
|
|
303
316
|
<script>
|
|
304
317
|
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
318
|
+
var updateDarkModeSwitchOffset = function () {
|
|
319
|
+
var content = document.querySelector('.content');
|
|
320
|
+
var scrollbarWidth = 0;
|
|
321
|
+
|
|
322
|
+
if (content) {
|
|
323
|
+
scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
document.documentElement.style.setProperty(
|
|
327
|
+
'--content-scrollbar-width',
|
|
328
|
+
scrollbarWidth + 'px'
|
|
329
|
+
);
|
|
330
|
+
};
|
|
331
|
+
|
|
332
|
+
updateDarkModeSwitchOffset();
|
|
333
|
+
requestAnimationFrame(updateDarkModeSwitchOffset);
|
|
334
|
+
window.addEventListener('resize', updateDarkModeSwitchOffset);
|
|
335
|
+
|
|
305
336
|
checkToggle(darkModeState);
|
|
306
337
|
if ($darkModeToggleSwitchers.length > 0) {
|
|
307
338
|
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
@@ -317,7 +348,6 @@ contains the error message.</p>
|
|
|
317
348
|
<script src="../js/libs/lit-html.js"></script>
|
|
318
349
|
|
|
319
350
|
<script src="../js/menu-wc.js" defer></script>
|
|
320
|
-
<script nomodule src="../js/menu-wc_es5.js" defer></script>
|
|
321
351
|
|
|
322
352
|
<script src="../js/libs/bootstrap-native.js"></script>
|
|
323
353
|
|