@eui/core 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/CHANGELOG.md +455 -0
- package/assets/i18n-eui/bg.json +7 -0
- package/assets/i18n-eui/cs.json +7 -0
- package/assets/i18n-eui/da.json +7 -0
- package/assets/i18n-eui/de.json +7 -0
- package/assets/i18n-eui/el.json +7 -0
- package/assets/i18n-eui/en.json +8 -1
- package/assets/i18n-eui/es.json +7 -0
- package/assets/i18n-eui/et.json +7 -0
- package/assets/i18n-eui/fi.json +7 -0
- package/assets/i18n-eui/fr.json +8 -1
- package/assets/i18n-eui/ga.json +7 -0
- package/assets/i18n-eui/hr.json +7 -0
- package/assets/i18n-eui/hu.json +7 -0
- package/assets/i18n-eui/it.json +7 -0
- package/assets/i18n-eui/lt.json +7 -0
- package/assets/i18n-eui/lv.json +7 -0
- package/assets/i18n-eui/mt.json +7 -0
- package/assets/i18n-eui/nl.json +7 -0
- package/assets/i18n-eui/pl.json +7 -0
- package/assets/i18n-eui/pt.json +7 -0
- package/assets/i18n-eui/ro.json +7 -0
- package/assets/i18n-eui/sk.json +7 -0
- package/assets/i18n-eui/sl.json +7 -0
- package/assets/i18n-eui/sv.json +7 -0
- package/docs/architecture.html +223 -0
- package/docs/changelog.html +773 -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 +505 -0
- 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 +94 -107
- 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 +395 -0
- package/docs/interfaces/Dependency.html +278 -250
- package/docs/interfaces/Edit-1.html +395 -0
- package/docs/interfaces/Edit-2.html +395 -0
- package/docs/interfaces/Edit.html +395 -0
- package/docs/interfaces/EuiComponentEntry.html +485 -0
- package/docs/interfaces/EuiTimeZone.html +121 -93
- package/docs/interfaces/IEuiTheme.html +181 -153
- package/docs/interfaces/ImportToAdd.html +413 -0
- package/docs/interfaces/ImportsArrayInfo.html +356 -0
- 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 +458 -0
- package/docs/interfaces/MigrationResult.html +395 -0
- package/docs/interfaces/ModuleLoadEvent.html +164 -136
- package/docs/interfaces/ModuleMapping.html +356 -0
- package/docs/interfaces/NgModuleInfo.html +395 -0
- package/docs/interfaces/Policy.html +164 -136
- package/docs/interfaces/ResourceError.html +170 -142
- package/docs/interfaces/Schema-1.html +368 -0
- package/docs/interfaces/Schema-10.html +368 -0
- package/docs/interfaces/Schema-11.html +368 -0
- package/docs/interfaces/Schema-12.html +368 -0
- package/docs/interfaces/Schema-13.html +368 -0
- package/docs/interfaces/Schema-14.html +368 -0
- package/docs/interfaces/Schema-15.html +368 -0
- package/docs/interfaces/Schema-16.html +368 -0
- package/docs/interfaces/Schema-17.html +368 -0
- package/docs/interfaces/Schema-18.html +368 -0
- package/docs/interfaces/Schema-19.html +368 -0
- package/docs/interfaces/Schema-2.html +380 -0
- package/docs/interfaces/Schema-20.html +368 -0
- package/docs/interfaces/Schema-3.html +431 -0
- package/docs/interfaces/Schema-4.html +368 -0
- package/docs/interfaces/Schema-5.html +368 -0
- package/docs/interfaces/Schema-6.html +368 -0
- package/docs/interfaces/Schema-7.html +368 -0
- package/docs/interfaces/Schema-8.html +368 -0
- package/docs/interfaces/Schema-9.html +368 -0
- package/docs/interfaces/Schema.html +413 -0
- package/docs/interfaces/SelectorEntry.html +511 -0
- package/docs/interfaces/TextChange.html +395 -0
- 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 +152 -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 +43075 -14389
- package/docs/license.html +26 -2
- package/docs/llms.txt +2282 -0
- package/docs/miscellaneous/enumerations.html +38 -34
- package/docs/miscellaneous/functions.html +19294 -769
- package/docs/miscellaneous/typealiases.html +59 -27
- package/docs/miscellaneous/variables.html +4226 -1284
- 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 +29 -5
- 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 +319 -145
- package/fesm2022/eui-core.mjs.map +1 -1
- package/package.json +16 -11
- package/schematics/add-eui-imports/index.d.ts +8 -0
- package/schematics/add-eui-imports/index.js +525 -0
- package/schematics/add-eui-imports/index.js.map +1 -0
- package/schematics/add-eui-imports/schema.json +24 -0
- package/schematics/add-eui-imports/selector-map.d.ts +35 -0
- package/schematics/add-eui-imports/selector-map.js +246 -0
- package/schematics/add-eui-imports/selector-map.js.map +1 -0
- package/schematics/collection.json +118 -0
- package/schematics/fix-no-multiple-empty-lines/index.d.ts +7 -0
- package/schematics/fix-no-multiple-empty-lines/index.js +90 -0
- package/schematics/fix-no-multiple-empty-lines/index.js.map +1 -0
- package/schematics/fix-no-multiple-empty-lines/schema.json +19 -0
- package/schematics/icon-migrate/index.d.ts +3 -0
- package/schematics/icon-migrate/index.js +228 -0
- package/schematics/icon-migrate/index.js.map +1 -0
- package/schematics/icon-migrate/schema.d.ts +6 -0
- package/schematics/icon-migrate/schema.js +3 -0
- package/schematics/icon-migrate/schema.js.map +1 -0
- package/schematics/icon-migrate/schema.json +20 -0
- package/schematics/migrate/index.d.ts +3 -0
- package/schematics/migrate/index.js +98 -0
- package/schematics/migrate/index.js.map +1 -0
- package/schematics/migrate/replacements/breaking-changes.d.ts +6 -0
- package/schematics/migrate/replacements/breaking-changes.js +173 -0
- package/schematics/migrate/replacements/breaking-changes.js.map +1 -0
- package/schematics/migrate/replacements/eui-modules.d.ts +29 -0
- package/schematics/migrate/replacements/eui-modules.js +231 -0
- package/schematics/migrate/replacements/eui-modules.js.map +1 -0
- package/schematics/migrate/replacements/icons.d.ts +14 -0
- package/schematics/migrate/replacements/icons.js +235 -0
- package/schematics/migrate/replacements/icons.js.map +1 -0
- package/schematics/migrate/replacements/mwp.d.ts +6 -0
- package/schematics/migrate/replacements/mwp.js +148 -0
- package/schematics/migrate/replacements/mwp.js.map +1 -0
- package/schematics/migrate/schema.d.ts +8 -0
- package/schematics/migrate/schema.js +3 -0
- package/schematics/migrate/schema.js.map +1 -0
- package/schematics/migrate/schema.json +25 -0
- package/schematics/migrate/utils.d.ts +21 -0
- package/schematics/migrate/utils.js +106 -0
- package/schematics/migrate/utils.js.map +1 -0
- package/schematics/migrate-all/index.d.ts +8 -0
- package/schematics/migrate-all/index.js +30 -0
- package/schematics/migrate-all/index.js.map +1 -0
- package/schematics/migrate-all/schema.json +30 -0
- package/schematics/migrate-eui-accent/index.d.ts +7 -0
- package/schematics/migrate-eui-accent/index.js +193 -0
- package/schematics/migrate-eui-accent/index.js.map +1 -0
- package/schematics/migrate-eui-accent/schema.json +19 -0
- package/schematics/migrate-eui-alert/index.d.ts +7 -0
- package/schematics/migrate-eui-alert/index.js +152 -0
- package/schematics/migrate-eui-alert/index.js.map +1 -0
- package/schematics/migrate-eui-alert/schema.json +19 -0
- package/schematics/migrate-eui-avatar/index.d.ts +7 -0
- package/schematics/migrate-eui-avatar/index.js +155 -0
- package/schematics/migrate-eui-avatar/index.js.map +1 -0
- package/schematics/migrate-eui-avatar/schema.json +19 -0
- package/schematics/migrate-eui-button/index.d.ts +7 -0
- package/schematics/migrate-eui-button/index.js +191 -0
- package/schematics/migrate-eui-button/index.js.map +1 -0
- package/schematics/migrate-eui-button/schema.json +19 -0
- package/schematics/migrate-eui-chip/index.d.ts +7 -0
- package/schematics/migrate-eui-chip/index.js +153 -0
- package/schematics/migrate-eui-chip/index.js.map +1 -0
- package/schematics/migrate-eui-chip/schema.json +19 -0
- package/schematics/migrate-eui-chip-list/index.d.ts +7 -0
- package/schematics/migrate-eui-chip-list/index.js +472 -0
- package/schematics/migrate-eui-chip-list/index.js.map +1 -0
- package/schematics/migrate-eui-chip-list/schema.json +19 -0
- package/schematics/migrate-eui-discussion-thread/index.d.ts +7 -0
- package/schematics/migrate-eui-discussion-thread/index.js +143 -0
- package/schematics/migrate-eui-discussion-thread/index.js.map +1 -0
- package/schematics/migrate-eui-discussion-thread/schema.json +19 -0
- package/schematics/migrate-eui-editor/index.d.ts +7 -0
- package/schematics/migrate-eui-editor/index.js +198 -0
- package/schematics/migrate-eui-editor/index.js.map +1 -0
- package/schematics/migrate-eui-editor/schema.json +19 -0
- package/schematics/migrate-eui-fieldset/index.d.ts +7 -0
- package/schematics/migrate-eui-fieldset/index.js +186 -0
- package/schematics/migrate-eui-fieldset/index.js.map +1 -0
- package/schematics/migrate-eui-fieldset/schema.json +19 -0
- package/schematics/migrate-eui-icon-svg/index.d.ts +7 -0
- package/schematics/migrate-eui-icon-svg/index.js +197 -0
- package/schematics/migrate-eui-icon-svg/index.js.map +1 -0
- package/schematics/migrate-eui-icon-svg/schema.json +19 -0
- package/schematics/migrate-eui-icon-toggle/index.d.ts +7 -0
- package/schematics/migrate-eui-icon-toggle/index.js +194 -0
- package/schematics/migrate-eui-icon-toggle/index.js.map +1 -0
- package/schematics/migrate-eui-icon-toggle/schema.json +19 -0
- package/schematics/migrate-eui-popover/index.d.ts +7 -0
- package/schematics/migrate-eui-popover/index.js +152 -0
- package/schematics/migrate-eui-popover/index.js.map +1 -0
- package/schematics/migrate-eui-popover/schema.json +19 -0
- package/schematics/migrate-eui-progress-circle/index.d.ts +7 -0
- package/schematics/migrate-eui-progress-circle/index.js +192 -0
- package/schematics/migrate-eui-progress-circle/index.js.map +1 -0
- package/schematics/migrate-eui-progress-circle/schema.json +19 -0
- package/schematics/migrate-eui-table/index.d.ts +7 -0
- package/schematics/migrate-eui-table/index.js +544 -0
- package/schematics/migrate-eui-table/index.js.map +1 -0
- package/schematics/migrate-eui-table/schema.json +19 -0
- package/schematics/migrate-eui-tabs/index.d.ts +7 -0
- package/schematics/migrate-eui-tabs/index.js +296 -0
- package/schematics/migrate-eui-tabs/index.js.map +1 -0
- package/schematics/migrate-eui-tabs/schema.json +19 -0
- package/schematics/migrate-eui-toolbar-menu/index.d.ts +7 -0
- package/schematics/migrate-eui-toolbar-menu/index.js +358 -0
- package/schematics/migrate-eui-toolbar-menu/index.js.map +1 -0
- package/schematics/migrate-eui-toolbar-menu/schema.json +19 -0
- package/schematics/migrate-to-standalone/index.d.ts +7 -0
- package/schematics/migrate-to-standalone/index.js +723 -0
- package/schematics/migrate-to-standalone/index.js.map +1 -0
- package/schematics/migrate-to-standalone/schema.json +19 -0
- package/schematics/package.json +1 -0
- package/schematics/utils/dry-run.d.ts +3 -0
- package/schematics/utils/dry-run.js +14 -0
- package/schematics/utils/dry-run.js.map +1 -0
- package/types/eui-core.d.ts +74 -17
- 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">
|
|
@@ -119,6 +126,11 @@
|
|
|
119
126
|
>RemoveApiQueueItemAction</li>
|
|
120
127
|
</ol>
|
|
121
128
|
|
|
129
|
+
<div class="io-file io-file-path" data-compodoc="entity-file-path">
|
|
130
|
+
<span class="icon ion-ios-document" aria-hidden="true"></span>
|
|
131
|
+
<code>packages/core/src/lib/services/store/actions/app.actions.ts</code>
|
|
132
|
+
</div>
|
|
133
|
+
|
|
122
134
|
<ul class="nav nav-tabs" role="tablist">
|
|
123
135
|
<li class="nav-item">
|
|
124
136
|
<a href="#info"
|
|
@@ -126,17 +138,16 @@
|
|
|
126
138
|
class="nav-link active"
|
|
127
139
|
role="tab" id="info-tab" data-bs-toggle="tab" data-link="info">Info</a>
|
|
128
140
|
</li>
|
|
141
|
+
<li class="nav-item">
|
|
142
|
+
<a href="#api"
|
|
143
|
+
class="nav-link"
|
|
144
|
+
|
|
145
|
+
role="tab" id="api-tab" data-bs-toggle="tab" data-link="api">API</a>
|
|
146
|
+
</li>
|
|
129
147
|
</ul>
|
|
130
148
|
|
|
131
149
|
<div class="tab-content">
|
|
132
150
|
<div class="tab-pane fade active in" id="info">
|
|
133
|
-
<p class="comment">
|
|
134
|
-
<h3>File</h3>
|
|
135
|
-
</p>
|
|
136
|
-
<p class="comment">
|
|
137
|
-
<code>packages/core/src/lib/services/store/actions/app.actions.ts</code>
|
|
138
|
-
</p>
|
|
139
|
-
|
|
140
151
|
<p class="comment">
|
|
141
152
|
<h3 class="deprecated">Deprecated</h3>
|
|
142
153
|
</p>
|
|
@@ -154,36 +165,58 @@
|
|
|
154
165
|
</p>
|
|
155
166
|
|
|
156
167
|
|
|
168
|
+
<section data-compodoc="block-relationships">
|
|
169
|
+
<h3>Relationships</h3>
|
|
170
|
+
|
|
171
|
+
<div class="row pt-3">
|
|
172
|
+
<div class="col-sm-6">
|
|
173
|
+
<h4>Used by</h4>
|
|
174
|
+
<p class="comment"><i>No results matching.</i></p>
|
|
175
|
+
</div>
|
|
176
|
+
|
|
177
|
+
<div class="col-sm-6">
|
|
178
|
+
<h4>Depends on</h4>
|
|
179
|
+
<ul class="list-unstyled relationships-list">
|
|
180
|
+
<li>
|
|
181
|
+
<code><a href="../interfaces/Action.html" target="_self" >Action</a></code>
|
|
182
|
+
</li>
|
|
183
|
+
</ul>
|
|
184
|
+
</div>
|
|
185
|
+
</div>
|
|
186
|
+
</section>
|
|
187
|
+
</div>
|
|
188
|
+
|
|
189
|
+
<div class="tab-pane fade " id="api">
|
|
157
190
|
<section data-compodoc="block-index">
|
|
158
191
|
<h3 id="index">Index</h3>
|
|
159
|
-
|
|
160
|
-
|
|
192
|
+
<table class="table table-sm table-bordered index-table">
|
|
193
|
+
<tbody>
|
|
161
194
|
<tr>
|
|
162
|
-
<td class="col-md-
|
|
195
|
+
<td class="col-md-3">
|
|
163
196
|
<h6><b>Properties</b></h6>
|
|
164
197
|
</td>
|
|
165
|
-
|
|
166
|
-
<tr>
|
|
167
|
-
<td class="col-md-4">
|
|
198
|
+
<td class="col-md-9">
|
|
168
199
|
<ul class="index-list">
|
|
169
200
|
<li>
|
|
201
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
170
202
|
<span class="modifier">Public</span>
|
|
171
203
|
<a href="#payload" >payload</a>
|
|
172
204
|
</li>
|
|
173
205
|
<li>
|
|
206
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
174
207
|
<a href="#type" >type</a>
|
|
175
208
|
</li>
|
|
176
209
|
</ul>
|
|
177
210
|
</td>
|
|
178
211
|
</tr>
|
|
212
|
+
</tbody>
|
|
213
|
+
</table>
|
|
179
214
|
|
|
180
215
|
|
|
181
216
|
|
|
182
217
|
|
|
183
218
|
|
|
184
219
|
|
|
185
|
-
</tbody>
|
|
186
|
-
</table>
|
|
187
220
|
</section>
|
|
188
221
|
|
|
189
222
|
<section data-compodoc="block-constructor">
|
|
@@ -336,6 +369,24 @@
|
|
|
336
369
|
|
|
337
370
|
<script>
|
|
338
371
|
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
372
|
+
var updateDarkModeSwitchOffset = function () {
|
|
373
|
+
var content = document.querySelector('.content');
|
|
374
|
+
var scrollbarWidth = 0;
|
|
375
|
+
|
|
376
|
+
if (content) {
|
|
377
|
+
scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
document.documentElement.style.setProperty(
|
|
381
|
+
'--content-scrollbar-width',
|
|
382
|
+
scrollbarWidth + 'px'
|
|
383
|
+
);
|
|
384
|
+
};
|
|
385
|
+
|
|
386
|
+
updateDarkModeSwitchOffset();
|
|
387
|
+
requestAnimationFrame(updateDarkModeSwitchOffset);
|
|
388
|
+
window.addEventListener('resize', updateDarkModeSwitchOffset);
|
|
389
|
+
|
|
339
390
|
checkToggle(darkModeState);
|
|
340
391
|
if ($darkModeToggleSwitchers.length > 0) {
|
|
341
392
|
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
@@ -351,7 +402,6 @@
|
|
|
351
402
|
<script src="../js/libs/lit-html.js"></script>
|
|
352
403
|
|
|
353
404
|
<script src="../js/menu-wc.js" defer></script>
|
|
354
|
-
<script nomodule src="../js/menu-wc_es5.js" defer></script>
|
|
355
405
|
|
|
356
406
|
<script src="../js/libs/bootstrap-native.js"></script>
|
|
357
407
|
|
|
@@ -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" >StorageService</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/core/src/lib/services/storage/storage.service.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/core/src/lib/services/storage/storage.service.ts</code>
|
|
136
|
-
</p>
|
|
137
|
-
|
|
138
149
|
|
|
139
150
|
<p class="comment">
|
|
140
151
|
<h3>Description</h3>
|
|
@@ -147,53 +158,88 @@
|
|
|
147
158
|
|
|
148
159
|
|
|
149
160
|
|
|
161
|
+
<section data-compodoc="block-relationships">
|
|
162
|
+
<h3>Relationships</h3>
|
|
163
|
+
|
|
164
|
+
<div class="row pt-3">
|
|
165
|
+
<div class="col-sm-6">
|
|
166
|
+
<h4>Used by</h4>
|
|
167
|
+
<ul class="list-unstyled relationships-list">
|
|
168
|
+
<li>
|
|
169
|
+
<code><a href="../injectables/LocalStorageService.html" target="_self" >LocalStorageService</a></code>
|
|
170
|
+
</li>
|
|
171
|
+
<li>
|
|
172
|
+
<code><a href="../injectables/SessionStorageService.html" target="_self" >SessionStorageService</a></code>
|
|
173
|
+
</li>
|
|
174
|
+
<li>
|
|
175
|
+
<code><a href="../classes/AsyncStorageService.html" target="_self" >AsyncStorageService</a></code>
|
|
176
|
+
</li>
|
|
177
|
+
<li>
|
|
178
|
+
<code><a href="../classes/StorageServiceMock.html" target="_self" >StorageServiceMock</a></code>
|
|
179
|
+
</li>
|
|
180
|
+
</ul>
|
|
181
|
+
</div>
|
|
182
|
+
|
|
183
|
+
<div class="col-sm-6">
|
|
184
|
+
<h4>Depends on</h4>
|
|
185
|
+
<p class="comment"><i>No results matching.</i></p>
|
|
186
|
+
</div>
|
|
187
|
+
</div>
|
|
188
|
+
</section>
|
|
189
|
+
</div>
|
|
190
|
+
|
|
191
|
+
<div class="tab-pane fade " id="api">
|
|
150
192
|
<section data-compodoc="block-index">
|
|
151
193
|
<h3 id="index">Index</h3>
|
|
152
|
-
<table class="table table-sm table-bordered index-table">
|
|
153
|
-
<tbody>
|
|
154
194
|
|
|
195
|
+
<table class="table table-sm table-bordered index-table">
|
|
196
|
+
<tbody>
|
|
155
197
|
<tr>
|
|
156
|
-
<td class="col-md-
|
|
198
|
+
<td class="col-md-3">
|
|
157
199
|
<h6><b>Methods</b></h6>
|
|
158
200
|
</td>
|
|
159
|
-
|
|
160
|
-
<tr>
|
|
161
|
-
<td class="col-md-4">
|
|
201
|
+
<td class="col-md-9">
|
|
162
202
|
<ul class="index-list">
|
|
163
203
|
<li>
|
|
204
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
164
205
|
<span class="modifier">Abstract</span>
|
|
165
206
|
<a href="#get" >get</a>
|
|
166
207
|
</li>
|
|
167
208
|
<li>
|
|
209
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
168
210
|
<span class="modifier">Abstract</span>
|
|
169
211
|
<a href="#get" >get</a>
|
|
170
212
|
</li>
|
|
171
213
|
<li>
|
|
214
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
172
215
|
<span class="modifier">Abstract</span>
|
|
173
216
|
<a href="#name" >name</a>
|
|
174
217
|
</li>
|
|
175
218
|
<li>
|
|
219
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
176
220
|
<span class="modifier">Abstract</span>
|
|
177
221
|
<a href="#remove" >remove</a>
|
|
178
222
|
</li>
|
|
179
223
|
<li>
|
|
224
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
180
225
|
<span class="modifier">Abstract</span>
|
|
181
226
|
<a href="#set" >set</a>
|
|
182
227
|
</li>
|
|
183
228
|
<li>
|
|
229
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
184
230
|
<span class="modifier">Abstract</span>
|
|
185
231
|
<a href="#set" >set</a>
|
|
186
232
|
</li>
|
|
187
233
|
</ul>
|
|
188
234
|
</td>
|
|
189
235
|
</tr>
|
|
236
|
+
</tbody>
|
|
237
|
+
</table>
|
|
190
238
|
|
|
191
239
|
|
|
192
240
|
|
|
193
241
|
|
|
194
242
|
|
|
195
|
-
</tbody>
|
|
196
|
-
</table>
|
|
197
243
|
</section>
|
|
198
244
|
|
|
199
245
|
|
|
@@ -289,7 +335,7 @@
|
|
|
289
335
|
<tr>
|
|
290
336
|
<td class="col-md-4">
|
|
291
337
|
<span class="modifier-icon icon ion-ios-reset"></span>
|
|
292
|
-
<code>get(key: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>)</code>
|
|
338
|
+
<code>get<T>(key: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>)</code>
|
|
293
339
|
</td>
|
|
294
340
|
</tr>
|
|
295
341
|
|
|
@@ -551,7 +597,7 @@
|
|
|
551
597
|
<tr>
|
|
552
598
|
<td class="col-md-4">
|
|
553
599
|
<span class="modifier-icon icon ion-ios-reset"></span>
|
|
554
|
-
<code>set(key: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>, value: T)</code>
|
|
600
|
+
<code>set<T>(key: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>, value: T)</code>
|
|
555
601
|
</td>
|
|
556
602
|
</tr>
|
|
557
603
|
|
|
@@ -625,6 +671,7 @@
|
|
|
625
671
|
|
|
626
672
|
|
|
627
673
|
|
|
674
|
+
|
|
628
675
|
</div>
|
|
629
676
|
|
|
630
677
|
|
|
@@ -670,6 +717,24 @@
|
|
|
670
717
|
|
|
671
718
|
<script>
|
|
672
719
|
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
720
|
+
var updateDarkModeSwitchOffset = function () {
|
|
721
|
+
var content = document.querySelector('.content');
|
|
722
|
+
var scrollbarWidth = 0;
|
|
723
|
+
|
|
724
|
+
if (content) {
|
|
725
|
+
scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
document.documentElement.style.setProperty(
|
|
729
|
+
'--content-scrollbar-width',
|
|
730
|
+
scrollbarWidth + 'px'
|
|
731
|
+
);
|
|
732
|
+
};
|
|
733
|
+
|
|
734
|
+
updateDarkModeSwitchOffset();
|
|
735
|
+
requestAnimationFrame(updateDarkModeSwitchOffset);
|
|
736
|
+
window.addEventListener('resize', updateDarkModeSwitchOffset);
|
|
737
|
+
|
|
673
738
|
checkToggle(darkModeState);
|
|
674
739
|
if ($darkModeToggleSwitchers.length > 0) {
|
|
675
740
|
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
@@ -685,7 +750,6 @@
|
|
|
685
750
|
<script src="../js/libs/lit-html.js"></script>
|
|
686
751
|
|
|
687
752
|
<script src="../js/menu-wc.js" defer></script>
|
|
688
|
-
<script nomodule src="../js/menu-wc_es5.js" defer></script>
|
|
689
753
|
|
|
690
754
|
<script src="../js/libs/bootstrap-native.js"></script>
|
|
691
755
|
|
|
@@ -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" >StorageServiceMock</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/core/src/lib/services/storage/storage.service.mock.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/core/src/lib/services/storage/storage.service.mock.ts</code>
|
|
136
|
-
</p>
|
|
137
|
-
|
|
138
149
|
|
|
139
150
|
|
|
140
151
|
<p class="comment">
|
|
@@ -146,41 +157,65 @@
|
|
|
146
157
|
|
|
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="../classes/StorageService.html" target="_self" >StorageService</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
|
-
<table class="table table-sm table-bordered index-table">
|
|
152
|
-
<tbody>
|
|
153
184
|
|
|
185
|
+
<table class="table table-sm table-bordered index-table">
|
|
186
|
+
<tbody>
|
|
154
187
|
<tr>
|
|
155
|
-
<td class="col-md-
|
|
188
|
+
<td class="col-md-3">
|
|
156
189
|
<h6><b>Methods</b></h6>
|
|
157
190
|
</td>
|
|
158
|
-
|
|
159
|
-
<tr>
|
|
160
|
-
<td class="col-md-4">
|
|
191
|
+
<td class="col-md-9">
|
|
161
192
|
<ul class="index-list">
|
|
162
193
|
<li>
|
|
194
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
163
195
|
<a href="#get" >get</a>
|
|
164
196
|
</li>
|
|
165
197
|
<li>
|
|
198
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
166
199
|
<a href="#name" >name</a>
|
|
167
200
|
</li>
|
|
168
201
|
<li>
|
|
202
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
169
203
|
<a href="#remove" >remove</a>
|
|
170
204
|
</li>
|
|
171
205
|
<li>
|
|
206
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
172
207
|
<a href="#set" >set</a>
|
|
173
208
|
</li>
|
|
174
209
|
</ul>
|
|
175
210
|
</td>
|
|
176
211
|
</tr>
|
|
212
|
+
</tbody>
|
|
213
|
+
</table>
|
|
177
214
|
|
|
178
215
|
|
|
179
216
|
|
|
180
217
|
|
|
181
218
|
|
|
182
|
-
</tbody>
|
|
183
|
-
</table>
|
|
184
219
|
</section>
|
|
185
220
|
|
|
186
221
|
|
|
@@ -311,6 +346,7 @@
|
|
|
311
346
|
|
|
312
347
|
|
|
313
348
|
|
|
349
|
+
|
|
314
350
|
</div>
|
|
315
351
|
|
|
316
352
|
|
|
@@ -356,6 +392,24 @@
|
|
|
356
392
|
|
|
357
393
|
<script>
|
|
358
394
|
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
395
|
+
var updateDarkModeSwitchOffset = function () {
|
|
396
|
+
var content = document.querySelector('.content');
|
|
397
|
+
var scrollbarWidth = 0;
|
|
398
|
+
|
|
399
|
+
if (content) {
|
|
400
|
+
scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
document.documentElement.style.setProperty(
|
|
404
|
+
'--content-scrollbar-width',
|
|
405
|
+
scrollbarWidth + 'px'
|
|
406
|
+
);
|
|
407
|
+
};
|
|
408
|
+
|
|
409
|
+
updateDarkModeSwitchOffset();
|
|
410
|
+
requestAnimationFrame(updateDarkModeSwitchOffset);
|
|
411
|
+
window.addEventListener('resize', updateDarkModeSwitchOffset);
|
|
412
|
+
|
|
359
413
|
checkToggle(darkModeState);
|
|
360
414
|
if ($darkModeToggleSwitchers.length > 0) {
|
|
361
415
|
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
@@ -371,7 +425,6 @@
|
|
|
371
425
|
<script src="../js/libs/lit-html.js"></script>
|
|
372
426
|
|
|
373
427
|
<script src="../js/menu-wc.js" defer></script>
|
|
374
|
-
<script nomodule src="../js/menu-wc_es5.js" defer></script>
|
|
375
428
|
|
|
376
429
|
<script src="../js/libs/bootstrap-native.js"></script>
|
|
377
430
|
|