@rxap/firebase 22.0.0-dev.0 → 22.0.0-dev.2
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 +44 -0
- package/README.md +5 -3
- package/compodoc/{modules/RxapAngularFireStorageModule.html → architecture.html} +70 -96
- package/compodoc/changelog.html +88 -5
- package/compodoc/dependencies.html +104 -27
- package/compodoc/index.html +50 -8
- package/compodoc/injectables/AppCheckService.html +121 -116
- package/compodoc/injectables/RxapFirebaseMessagingService.html +198 -59
- package/compodoc/interceptors/FirebaseAppCheckHttpInterceptor.html +89 -34
- package/compodoc/interfaces/FirebaseConfig.html +116 -66
- package/compodoc/interfaces/Message.html +256 -159
- package/compodoc/js/architecture-graph.js +288 -0
- package/compodoc/js/libs/bootstrap-native.js +4 -2
- package/compodoc/js/libs/jszip.min.js +13 -0
- package/compodoc/js/libs/svg-pan-zoom.min.js +3 -3
- package/compodoc/js/libs/tablesort.min.js +3 -3
- package/compodoc/js/libs/tablesort.number.min.js +3 -3
- package/compodoc/js/libs/vis-network.min.js +78 -0
- package/compodoc/js/menu-wc.js +25 -12
- package/compodoc/js/menu.js +10 -11
- package/compodoc/js/routes/routes_index.js +1 -0
- package/compodoc/js/routes.js +142 -34
- package/compodoc/js/search/search-lunr.js +6 -8
- package/compodoc/js/search/search.js +118 -66
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/js/tabs.js +98 -15
- package/compodoc/js/tree.js +44 -7
- package/compodoc/license.html +48 -6
- package/compodoc/llms.txt +217 -0
- package/compodoc/miscellaneous/functions.html +935 -111
- package/compodoc/miscellaneous/variables.html +614 -127
- package/compodoc/modules.html +44 -3
- package/compodoc/overview.html +54 -3
- package/compodoc/properties.html +45 -4
- package/compodoc/routes.html +227 -0
- package/compodoc/styles/compodoc.css +365 -44
- package/compodoc/styles/dark.css +16 -0
- package/compodoc/template-playground/default-templates.json +192 -0
- package/compodoc/template-playground/hbs-render.service.ts +217 -0
- package/compodoc/template-playground/main.ts +9 -0
- package/compodoc/template-playground/template-editor.service.ts +173 -0
- package/compodoc/template-playground/template-playground.component.ts +614 -0
- package/compodoc/template-playground/template-playground.module.ts +29 -0
- package/compodoc/template-playground/zip-export.service.ts +86 -0
- package/compodoc/template-playground-app/app.js +1389 -0
- package/compodoc/template-playground-app/index.html +462 -0
- package/docs/documentation.json +3499 -1425
- package/docs/html/assets/highlight.css +1 -1
- package/docs/html/assets/icons.js +1 -1
- package/docs/html/assets/icons.svg +1 -1
- package/docs/html/assets/main.js +5 -5
- package/docs/html/assets/navigation.js +1 -1
- package/docs/html/assets/search.js +1 -1
- package/docs/html/assets/style.css +265 -228
- package/docs/html/classes/AppCheckService.html +106 -5
- package/docs/html/classes/FirebaseAppCheckHttpInterceptor.html +107 -8
- package/docs/html/classes/RxapFirebaseMessagingService.html +123 -7
- package/docs/html/functions/AnalyticsEnabledFactory.html +42 -1
- package/docs/html/functions/AppCheckEnabledFactory.html +42 -1
- package/docs/html/functions/AppCheckSiteKeyFactory.html +42 -1
- package/docs/html/functions/AppIsTokenAutoRefreshEnabledFactory.html +42 -1
- package/docs/html/functions/AuthLanguageCodeFactory.html +42 -1
- package/docs/html/functions/AuthPersistenceFactory.html +42 -1
- package/docs/html/functions/AuthSettingsFactory.html +42 -1
- package/docs/html/functions/AuthTenantIdFactory.html +42 -1
- package/docs/html/functions/AuthUseDeviceLanguageFactory.html +42 -1
- package/docs/html/functions/DataCollectionEnabledFactory.html +42 -1
- package/docs/html/functions/EnablePersistenceTokenFactory.html +42 -1
- package/docs/html/functions/FirebaseAnalyticsFactory.html +45 -0
- package/docs/html/functions/FirebaseAppCheckFactory.html +47 -0
- package/docs/html/functions/FirebaseAppFactory.html +45 -0
- package/docs/html/functions/FirebaseAuthFactory.html +43 -0
- package/docs/html/functions/FirebaseFirestoreFactory.html +43 -0
- package/docs/html/functions/FirebaseFunctionsFactory.html +43 -0
- package/docs/html/functions/FirebaseMessagingFactory.html +44 -0
- package/docs/html/functions/FirebaseNameOrConfigTokenFactory.html +42 -1
- package/docs/html/functions/FirebaseOptionsTokenFactory.html +42 -1
- package/docs/html/functions/FirebasePerformanceFactory.html +43 -0
- package/docs/html/functions/FirebaseStorageFactory.html +43 -0
- package/docs/html/functions/FirestoreSettingsTokenFactory.html +42 -1
- package/docs/html/functions/FunctionsNewOriginBehaviorFactory.html +42 -1
- package/docs/html/functions/FunctionsOriginFactory.html +42 -1
- package/docs/html/functions/FunctionsRegionFactory.html +42 -1
- package/docs/html/functions/GetAnalyticsAppName.html +42 -1
- package/docs/html/functions/InstrumentationEnabledFactory.html +42 -1
- package/docs/html/functions/PersistenceSettingsTokenFactory.html +42 -1
- package/docs/html/functions/ServiceWorkerFactory.html +38 -1
- package/docs/html/functions/StorageBucketFactory.html +42 -1
- package/docs/html/functions/StorageMaxOperationRetryTimeFactory.html +42 -1
- package/docs/html/functions/StorageMaxUploadRetryTimeFactory.html +42 -1
- package/docs/html/functions/UseAuthEmulatorFactory.html +42 -1
- package/docs/html/functions/UseFirestoreEmulatorFactory.html +42 -1
- package/docs/html/functions/UseFunctionsEmulatorFactory.html +42 -1
- package/docs/html/functions/VapidKeyFactory.html +42 -1
- package/docs/html/functions/provideFirebaseAppCheck.html +40 -0
- package/docs/html/functions/provideFirebaseStorageEmulator.html +40 -0
- package/docs/html/hierarchy.html +29 -0
- package/docs/html/index.html +44 -7
- package/docs/html/interfaces/FirebaseConfig.html +123 -9
- package/docs/html/interfaces/Message.html +67 -4
- package/docs/html/modules.html +48 -1
- package/docs/html/variables/APP_CHECK_ENABLED.html +33 -1
- package/docs/html/variables/APP_CHECK_IS_TOKEN_AUTO_REFRESH_ENABLED.html +33 -1
- package/docs/html/variables/APP_CHECK_SITE_KEY.html +33 -1
- package/docs/html/variables/FIREBASE_ANALYTICS.html +35 -0
- package/docs/html/variables/FIREBASE_ANALYTICS_PROVIDERS.html +33 -1
- package/docs/html/variables/FIREBASE_APP.html +33 -0
- package/docs/html/variables/FIREBASE_APP_CHECK.html +35 -0
- package/docs/html/variables/FIREBASE_APP_CHECK_HTTP_INTERCEPTOR.html +33 -1
- package/docs/html/variables/FIREBASE_APP_CHECK_HTTP_INTERCEPTOR_URL_PATTERN.html +33 -1
- package/docs/html/variables/FIREBASE_APP_CHECK_PROVIDERS.html +33 -1
- package/docs/html/variables/FIREBASE_APP_NAME.html +35 -0
- package/docs/html/variables/FIREBASE_APP_PROVIDERS.html +33 -1
- package/docs/html/variables/FIREBASE_AUTH.html +33 -0
- package/docs/html/variables/FIREBASE_AUTH_PROVIDERS.html +33 -1
- package/docs/html/variables/FIREBASE_FIRESTORE.html +33 -0
- package/docs/html/variables/FIREBASE_FIRESTORE_PROVIDERS.html +33 -1
- package/docs/html/variables/FIREBASE_FUNCTIONS.html +33 -0
- package/docs/html/variables/FIREBASE_FUNCTIONS_PROVIDERS.html +33 -1
- package/docs/html/variables/FIREBASE_MESSAGING.html +35 -0
- package/docs/html/variables/FIREBASE_MESSAGING_PROVIDERS.html +33 -1
- package/docs/html/variables/FIREBASE_MESSAGING_VAPID_KEY.html +33 -0
- package/docs/html/variables/FIREBASE_OPTIONS.html +35 -0
- package/docs/html/variables/FIREBASE_PERFORMANCE.html +33 -0
- package/docs/html/variables/FIREBASE_PERFORMANCE_PROVIDERS.html +33 -1
- package/docs/html/variables/FIREBASE_PROVIDERS.html +33 -1
- package/docs/html/variables/FIREBASE_STORAGE.html +33 -0
- package/docs/html/variables/FIREBASE_STORAGE_PROVIDERS.html +33 -1
- package/docs/html/variables/RXAP_REQUEST_CLOUD_MESSAGING_TOKEN.html +33 -1
- package/docs/html/variables/USE_STORAGE_EMULATOR.html +33 -1
- package/docs/html/variables/provideAngularFireAppCheck.html +47 -0
- package/docs/html/variables/provideAngularFireStorageEmulator.html +47 -0
- package/docs/markdown/README.md +6 -4
- package/docs/markdown/classes/AppCheckService.md +10 -12
- package/docs/markdown/classes/FirebaseAppCheckHttpInterceptor.md +9 -9
- package/docs/markdown/classes/RxapFirebaseMessagingService.md +23 -15
- package/docs/markdown/functions/AnalyticsEnabledFactory.md +2 -2
- package/docs/markdown/functions/AppCheckEnabledFactory.md +2 -2
- package/docs/markdown/functions/AppCheckSiteKeyFactory.md +2 -2
- package/docs/markdown/functions/AppIsTokenAutoRefreshEnabledFactory.md +2 -2
- package/docs/markdown/functions/AuthLanguageCodeFactory.md +2 -2
- package/docs/markdown/functions/AuthPersistenceFactory.md +2 -2
- package/docs/markdown/functions/AuthSettingsFactory.md +2 -2
- package/docs/markdown/functions/AuthTenantIdFactory.md +2 -2
- package/docs/markdown/functions/AuthUseDeviceLanguageFactory.md +2 -2
- package/docs/markdown/functions/DataCollectionEnabledFactory.md +2 -2
- package/docs/markdown/functions/EnablePersistenceTokenFactory.md +2 -2
- package/docs/markdown/functions/FirebaseAnalyticsFactory.md +27 -0
- package/docs/markdown/functions/FirebaseAppCheckFactory.md +35 -0
- package/docs/markdown/functions/FirebaseAppFactory.md +27 -0
- package/docs/markdown/functions/FirebaseAuthFactory.md +25 -0
- package/docs/markdown/functions/FirebaseFirestoreFactory.md +25 -0
- package/docs/markdown/functions/FirebaseFunctionsFactory.md +25 -0
- package/docs/markdown/functions/FirebaseMessagingFactory.md +23 -0
- package/docs/markdown/functions/FirebaseNameOrConfigTokenFactory.md +2 -2
- package/docs/markdown/functions/FirebaseOptionsTokenFactory.md +2 -2
- package/docs/markdown/functions/FirebasePerformanceFactory.md +25 -0
- package/docs/markdown/functions/FirebaseStorageFactory.md +25 -0
- package/docs/markdown/functions/FirestoreSettingsTokenFactory.md +2 -2
- package/docs/markdown/functions/FunctionsNewOriginBehaviorFactory.md +2 -2
- package/docs/markdown/functions/FunctionsOriginFactory.md +2 -2
- package/docs/markdown/functions/FunctionsRegionFactory.md +2 -2
- package/docs/markdown/functions/GetAnalyticsAppName.md +4 -4
- package/docs/markdown/functions/InstrumentationEnabledFactory.md +2 -2
- package/docs/markdown/functions/PersistenceSettingsTokenFactory.md +2 -2
- package/docs/markdown/functions/ServiceWorkerFactory.md +4 -4
- package/docs/markdown/functions/StorageBucketFactory.md +2 -2
- package/docs/markdown/functions/StorageMaxOperationRetryTimeFactory.md +2 -2
- package/docs/markdown/functions/StorageMaxUploadRetryTimeFactory.md +2 -2
- package/docs/markdown/functions/UseAuthEmulatorFactory.md +2 -2
- package/docs/markdown/functions/UseFirestoreEmulatorFactory.md +2 -2
- package/docs/markdown/functions/UseFunctionsEmulatorFactory.md +2 -2
- package/docs/markdown/functions/VapidKeyFactory.md +2 -2
- package/docs/markdown/functions/provideFirebaseAppCheck.md +17 -0
- package/docs/markdown/functions/provideFirebaseStorageEmulator.md +17 -0
- package/docs/markdown/globals.md +27 -4
- package/docs/markdown/interfaces/FirebaseConfig.md +88 -84
- package/docs/markdown/interfaces/Message.md +5 -5
- package/docs/markdown/variables/APP_CHECK_ENABLED.md +2 -2
- package/docs/markdown/variables/APP_CHECK_IS_TOKEN_AUTO_REFRESH_ENABLED.md +2 -2
- package/docs/markdown/variables/APP_CHECK_SITE_KEY.md +2 -2
- package/docs/markdown/variables/FIREBASE_ANALYTICS.md +13 -0
- package/docs/markdown/variables/FIREBASE_ANALYTICS_PROVIDERS.md +2 -2
- package/docs/markdown/variables/FIREBASE_APP.md +11 -0
- package/docs/markdown/variables/FIREBASE_APP_CHECK.md +13 -0
- package/docs/markdown/variables/FIREBASE_APP_CHECK_HTTP_INTERCEPTOR.md +2 -2
- package/docs/markdown/variables/FIREBASE_APP_CHECK_HTTP_INTERCEPTOR_URL_PATTERN.md +2 -2
- package/docs/markdown/variables/FIREBASE_APP_CHECK_PROVIDERS.md +2 -2
- package/docs/markdown/variables/FIREBASE_APP_NAME.md +13 -0
- package/docs/markdown/variables/FIREBASE_APP_PROVIDERS.md +2 -2
- package/docs/markdown/variables/FIREBASE_AUTH.md +11 -0
- package/docs/markdown/variables/FIREBASE_AUTH_PROVIDERS.md +2 -2
- package/docs/markdown/variables/FIREBASE_FIRESTORE.md +11 -0
- package/docs/markdown/variables/FIREBASE_FIRESTORE_PROVIDERS.md +2 -2
- package/docs/markdown/variables/FIREBASE_FUNCTIONS.md +11 -0
- package/docs/markdown/variables/FIREBASE_FUNCTIONS_PROVIDERS.md +2 -2
- package/docs/markdown/variables/FIREBASE_MESSAGING.md +13 -0
- package/docs/markdown/variables/FIREBASE_MESSAGING_PROVIDERS.md +2 -2
- package/docs/markdown/variables/FIREBASE_MESSAGING_VAPID_KEY.md +11 -0
- package/docs/markdown/variables/FIREBASE_OPTIONS.md +13 -0
- package/docs/markdown/variables/FIREBASE_PERFORMANCE.md +11 -0
- package/docs/markdown/variables/FIREBASE_PERFORMANCE_PROVIDERS.md +2 -2
- package/docs/markdown/variables/FIREBASE_PROVIDERS.md +2 -2
- package/docs/markdown/variables/FIREBASE_STORAGE.md +11 -0
- package/docs/markdown/variables/FIREBASE_STORAGE_PROVIDERS.md +2 -2
- package/docs/markdown/variables/RXAP_REQUEST_CLOUD_MESSAGING_TOKEN.md +2 -2
- package/docs/markdown/variables/USE_STORAGE_EMULATOR.md +2 -2
- package/docs/markdown/variables/provideAngularFireAppCheck.md +21 -0
- package/docs/markdown/variables/provideAngularFireStorageEmulator.md +21 -0
- package/docs/wiki/Class.AppCheckService.md +9 -11
- package/docs/wiki/Class.FirebaseAppCheckHttpInterceptor.md +8 -8
- package/docs/wiki/Class.RxapFirebaseMessagingService.md +22 -14
- package/docs/wiki/Function.AnalyticsEnabledFactory.md +1 -1
- package/docs/wiki/Function.AppCheckEnabledFactory.md +1 -1
- package/docs/wiki/Function.AppCheckSiteKeyFactory.md +1 -1
- package/docs/wiki/Function.AppIsTokenAutoRefreshEnabledFactory.md +1 -1
- package/docs/wiki/Function.AuthLanguageCodeFactory.md +1 -1
- package/docs/wiki/Function.AuthPersistenceFactory.md +1 -1
- package/docs/wiki/Function.AuthSettingsFactory.md +1 -1
- package/docs/wiki/Function.AuthTenantIdFactory.md +1 -1
- package/docs/wiki/Function.AuthUseDeviceLanguageFactory.md +1 -1
- package/docs/wiki/Function.DataCollectionEnabledFactory.md +1 -1
- package/docs/wiki/Function.EnablePersistenceTokenFactory.md +1 -1
- package/docs/wiki/Function.FirebaseAnalyticsFactory.md +23 -0
- package/docs/wiki/Function.FirebaseAppCheckFactory.md +31 -0
- package/docs/wiki/Function.FirebaseAppFactory.md +23 -0
- package/docs/wiki/Function.FirebaseAuthFactory.md +21 -0
- package/docs/wiki/Function.FirebaseFirestoreFactory.md +21 -0
- package/docs/wiki/Function.FirebaseFunctionsFactory.md +21 -0
- package/docs/wiki/Function.FirebaseMessagingFactory.md +19 -0
- package/docs/wiki/Function.FirebaseNameOrConfigTokenFactory.md +1 -1
- package/docs/wiki/Function.FirebaseOptionsTokenFactory.md +1 -1
- package/docs/wiki/Function.FirebasePerformanceFactory.md +21 -0
- package/docs/wiki/Function.FirebaseStorageFactory.md +21 -0
- package/docs/wiki/Function.FirestoreSettingsTokenFactory.md +1 -1
- package/docs/wiki/Function.FunctionsNewOriginBehaviorFactory.md +1 -1
- package/docs/wiki/Function.FunctionsOriginFactory.md +1 -1
- package/docs/wiki/Function.FunctionsRegionFactory.md +1 -1
- package/docs/wiki/Function.GetAnalyticsAppName.md +3 -3
- package/docs/wiki/Function.InstrumentationEnabledFactory.md +1 -1
- package/docs/wiki/Function.PersistenceSettingsTokenFactory.md +1 -1
- package/docs/wiki/Function.ServiceWorkerFactory.md +3 -3
- package/docs/wiki/Function.StorageBucketFactory.md +1 -1
- package/docs/wiki/Function.StorageMaxOperationRetryTimeFactory.md +1 -1
- package/docs/wiki/Function.StorageMaxUploadRetryTimeFactory.md +1 -1
- package/docs/wiki/Function.UseAuthEmulatorFactory.md +1 -1
- package/docs/wiki/Function.UseFirestoreEmulatorFactory.md +1 -1
- package/docs/wiki/Function.UseFunctionsEmulatorFactory.md +1 -1
- package/docs/wiki/Function.VapidKeyFactory.md +1 -1
- package/docs/wiki/Function.provideFirebaseAppCheck.md +13 -0
- package/docs/wiki/Function.provideFirebaseStorageEmulator.md +13 -0
- package/docs/wiki/Home.md +5 -3
- package/docs/wiki/Interface.FirebaseConfig.md +87 -83
- package/docs/wiki/Interface.Message.md +4 -4
- package/docs/wiki/Variable.APP_CHECK_ENABLED.md +1 -1
- package/docs/wiki/Variable.APP_CHECK_IS_TOKEN_AUTO_REFRESH_ENABLED.md +1 -1
- package/docs/wiki/Variable.APP_CHECK_SITE_KEY.md +1 -1
- package/docs/wiki/Variable.FIREBASE_ANALYTICS.md +9 -0
- package/docs/wiki/Variable.FIREBASE_ANALYTICS_PROVIDERS.md +1 -1
- package/docs/wiki/Variable.FIREBASE_APP.md +7 -0
- package/docs/wiki/Variable.FIREBASE_APP_CHECK.md +9 -0
- package/docs/wiki/Variable.FIREBASE_APP_CHECK_HTTP_INTERCEPTOR.md +1 -1
- package/docs/wiki/Variable.FIREBASE_APP_CHECK_HTTP_INTERCEPTOR_URL_PATTERN.md +1 -1
- package/docs/wiki/Variable.FIREBASE_APP_CHECK_PROVIDERS.md +1 -1
- package/docs/wiki/Variable.FIREBASE_APP_NAME.md +9 -0
- package/docs/wiki/Variable.FIREBASE_APP_PROVIDERS.md +1 -1
- package/docs/wiki/Variable.FIREBASE_AUTH.md +7 -0
- package/docs/wiki/Variable.FIREBASE_AUTH_PROVIDERS.md +1 -1
- package/docs/wiki/Variable.FIREBASE_FIRESTORE.md +7 -0
- package/docs/wiki/Variable.FIREBASE_FIRESTORE_PROVIDERS.md +1 -1
- package/docs/wiki/Variable.FIREBASE_FUNCTIONS.md +7 -0
- package/docs/wiki/Variable.FIREBASE_FUNCTIONS_PROVIDERS.md +1 -1
- package/docs/wiki/Variable.FIREBASE_MESSAGING.md +9 -0
- package/docs/wiki/Variable.FIREBASE_MESSAGING_PROVIDERS.md +1 -1
- package/docs/wiki/Variable.FIREBASE_MESSAGING_VAPID_KEY.md +7 -0
- package/docs/wiki/Variable.FIREBASE_OPTIONS.md +9 -0
- package/docs/wiki/Variable.FIREBASE_PERFORMANCE.md +7 -0
- package/docs/wiki/Variable.FIREBASE_PERFORMANCE_PROVIDERS.md +1 -1
- package/docs/wiki/Variable.FIREBASE_PROVIDERS.md +1 -1
- package/docs/wiki/Variable.FIREBASE_STORAGE.md +7 -0
- package/docs/wiki/Variable.FIREBASE_STORAGE_PROVIDERS.md +1 -1
- package/docs/wiki/Variable.RXAP_REQUEST_CLOUD_MESSAGING_TOKEN.md +1 -1
- package/docs/wiki/Variable.USE_STORAGE_EMULATOR.md +1 -1
- package/docs/wiki/Variable.provideAngularFireAppCheck.md +17 -0
- package/docs/wiki/Variable.provideAngularFireStorageEmulator.md +17 -0
- package/docs/wiki/_Sidebar.md +25 -2
- package/docs/wiki/globals.md +26 -3
- package/fesm2022/rxap-firebase-auth.mjs +19 -7
- package/fesm2022/rxap-firebase-auth.mjs.map +1 -1
- package/fesm2022/rxap-firebase.mjs +183 -160
- package/fesm2022/rxap-firebase.mjs.map +1 -1
- package/generators.json +16 -0
- package/package.json +16 -31
- package/src/generators/init/generator.js +120 -0
- package/src/generators/init/index.js +6 -0
- package/src/generators/init/schema.json +8 -0
- package/src/generators/package.json +3 -0
- package/types/rxap-firebase-auth.d.ts +9 -1
- package/types/rxap-firebase.d.ts +75 -18
- package/compodoc/js/libs/vis.min.js +0 -47
- package/compodoc/js/menu-wc_es5.js +0 -40
- package/compodoc/modules/RxapAngularFireAppCheckModule/dependencies.svg +0 -50
- package/compodoc/modules/RxapAngularFireAppCheckModule.html +0 -411
- package/docs/html/functions/provideAngularFireAppCheck.html +0 -3
- package/docs/html/functions/provideAngularFireStorageEmulator.html +0 -3
- package/docs/markdown/functions/provideAngularFireAppCheck.md +0 -18
- package/docs/markdown/functions/provideAngularFireStorageEmulator.md +0 -18
- package/docs/wiki/Function.provideAngularFireAppCheck.md +0 -14
- package/docs/wiki/Function.provideAngularFireStorageEmulator.md +0 -14
- package/theme.css +0 -1
package/compodoc/js/menu-wc.js
CHANGED
|
@@ -19,20 +19,29 @@ customElements.define('compodoc-menu', class extends HTMLElement {
|
|
|
19
19
|
</li>
|
|
20
20
|
|
|
21
21
|
<li class="divider"></li>
|
|
22
|
-
${ isNormalMode ? `<div id="book-search-input" role="search"
|
|
22
|
+
${ isNormalMode ? `<div id="book-search-input" role="search">
|
|
23
|
+
<input type="text" placeholder="Type to search">
|
|
24
|
+
<button type="button"
|
|
25
|
+
class="search-input-clear"
|
|
26
|
+
aria-label="Clear search"
|
|
27
|
+
data-search-input-clear>×</button>
|
|
28
|
+
</div>
|
|
29
|
+
` : '' }
|
|
23
30
|
<li class="chapter">
|
|
24
31
|
<a data-type="chapter-link" href="index.html"><span class="icon ion-ios-home"></span>Getting started</a>
|
|
25
32
|
<ul class="links">
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
<
|
|
33
|
-
<
|
|
34
|
-
|
|
35
|
-
|
|
33
|
+
<li class="link">
|
|
34
|
+
<a href="overview.html" data-type="chapter-link">
|
|
35
|
+
<span class="icon ion-ios-keypad"></span>Overview
|
|
36
|
+
</a>
|
|
37
|
+
</li>
|
|
38
|
+
|
|
39
|
+
<li class="link">
|
|
40
|
+
<a href="index.html" data-type="chapter-link">
|
|
41
|
+
<span class="icon ion-ios-paper"></span>
|
|
42
|
+
README
|
|
43
|
+
</a>
|
|
44
|
+
</li>
|
|
36
45
|
<li class="link">
|
|
37
46
|
<a href="changelog.html" data-type="chapter-link">
|
|
38
47
|
<span class="icon ion-ios-paper"></span>CHANGELOG
|
|
@@ -53,6 +62,7 @@ customElements.define('compodoc-menu', class extends HTMLElement {
|
|
|
53
62
|
<span class="icon ion-ios-apps"></span>Properties
|
|
54
63
|
</a>
|
|
55
64
|
</li>
|
|
65
|
+
|
|
56
66
|
</ul>
|
|
57
67
|
</li>
|
|
58
68
|
<li class="chapter">
|
|
@@ -116,6 +126,9 @@ customElements.define('compodoc-menu', class extends HTMLElement {
|
|
|
116
126
|
</li>
|
|
117
127
|
</ul>
|
|
118
128
|
</li>
|
|
129
|
+
<li class="chapter">
|
|
130
|
+
<a data-type="chapter-link" href="routes.html"><span class="icon ion-ios-git-branch"></span>Routes</a>
|
|
131
|
+
</li>
|
|
119
132
|
<li class="divider"></li>
|
|
120
133
|
<li class="copyright">
|
|
121
134
|
Documentation generated using <a href="https://compodoc.app/" target="_blank" rel="noopener noreferrer">
|
|
@@ -127,4 +140,4 @@ customElements.define('compodoc-menu', class extends HTMLElement {
|
|
|
127
140
|
`);
|
|
128
141
|
this.innerHTML = tp.strings;
|
|
129
142
|
}
|
|
130
|
-
});
|
|
143
|
+
});
|
package/compodoc/js/menu.js
CHANGED
|
@@ -150,17 +150,17 @@ document.addEventListener('DOMContentLoaded', function () {
|
|
|
150
150
|
faAngleUpClass = 'ion-ios-arrow-up',
|
|
151
151
|
faAngleDownClass = 'ion-ios-arrow-down',
|
|
152
152
|
toggleItemMenu = function (e) {
|
|
153
|
-
var element =
|
|
154
|
-
parent = element
|
|
153
|
+
var element = e.target,
|
|
154
|
+
parent = element.parentNode,
|
|
155
155
|
parentLink,
|
|
156
156
|
elementIconChild;
|
|
157
157
|
if (parent) {
|
|
158
|
-
if (
|
|
158
|
+
if (!parent.classList.contains('linked')) {
|
|
159
159
|
e.preventDefault();
|
|
160
160
|
} else {
|
|
161
161
|
parentLink = parent.parentNode;
|
|
162
|
-
if (parentLink && element.
|
|
163
|
-
|
|
162
|
+
if (parentLink && element.classList.contains('link-name')) {
|
|
163
|
+
parentLink.trigger('click');
|
|
164
164
|
}
|
|
165
165
|
}
|
|
166
166
|
elementIconChild = parent.getElementsByClassName(faAngleUpClass)[0];
|
|
@@ -168,13 +168,12 @@ document.addEventListener('DOMContentLoaded', function () {
|
|
|
168
168
|
elementIconChild = parent.getElementsByClassName(faAngleDownClass)[0];
|
|
169
169
|
}
|
|
170
170
|
if (elementIconChild) {
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
elementIconChild.
|
|
174
|
-
elementIconChild.removeClass(faAngleUpClass);
|
|
171
|
+
if (elementIconChild.classList.contains(faAngleUpClass)) {
|
|
172
|
+
elementIconChild.classList.add(faAngleDownClass);
|
|
173
|
+
elementIconChild.classList.remove(faAngleUpClass);
|
|
175
174
|
} else {
|
|
176
|
-
elementIconChild.
|
|
177
|
-
elementIconChild.
|
|
175
|
+
elementIconChild.classList.add(faAngleUpClass);
|
|
176
|
+
elementIconChild.classList.remove(faAngleDownClass);
|
|
178
177
|
}
|
|
179
178
|
}
|
|
180
179
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var ROUTES_INDEX = {"name":"<root>","kind":"module","children":[]}
|
package/compodoc/js/routes.js
CHANGED
|
@@ -15,6 +15,65 @@ document.addEventListener('DOMContentLoaded', function () {
|
|
|
15
15
|
return lazyModuleName;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
+
function foundLazyComponentWithPath(path) {
|
|
19
|
+
var split = path.split('#'),
|
|
20
|
+
lazyComponentName = split[1];
|
|
21
|
+
return lazyComponentName;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
function safeHref(href) {
|
|
25
|
+
return String(href || '').replace(/"/g, '"');
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
function resolveNodeHref(d) {
|
|
29
|
+
if (!d) {
|
|
30
|
+
return '';
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
if (d.href) {
|
|
34
|
+
return d.href;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
if (d.component && d.component !== 'default') {
|
|
38
|
+
return './components/' + d.component + '.html';
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
if (d.module && d.module !== 'default') {
|
|
42
|
+
return './modules/' + d.module + '.html';
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
if (d.loadComponent) {
|
|
46
|
+
var lazyComponent = foundLazyComponentWithPath(d.loadComponent);
|
|
47
|
+
if (lazyComponent && lazyComponent !== 'default') {
|
|
48
|
+
return './components/' + lazyComponent + '.html';
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
if (d.loadChildren) {
|
|
53
|
+
var lazyModule = foundLazyModuleWithPath(d.loadChildren);
|
|
54
|
+
if (lazyModule && lazyModule !== 'default') {
|
|
55
|
+
return './modules/' + lazyModule + '.html';
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
return '';
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
function wrapLabelWithLink(label, href) {
|
|
63
|
+
if (!href) {
|
|
64
|
+
return label;
|
|
65
|
+
}
|
|
66
|
+
return '<a href="' + safeHref(href) + '" target="_top">' + label + '</a>';
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
function withLeadingSlash(routeValue) {
|
|
70
|
+
var value = String(routeValue || '');
|
|
71
|
+
if (value.length === 0) {
|
|
72
|
+
return '/';
|
|
73
|
+
}
|
|
74
|
+
return value.charAt(0) === '/' ? value : '/' + value;
|
|
75
|
+
}
|
|
76
|
+
|
|
18
77
|
function getBB(selection) {
|
|
19
78
|
selection.each(function (d) {
|
|
20
79
|
d.bbox = this.getBBox();
|
|
@@ -26,16 +85,32 @@ document.addEventListener('DOMContentLoaded', function () {
|
|
|
26
85
|
var tree = ROUTES_INDEX;
|
|
27
86
|
|
|
28
87
|
function cleanStringChildren(obj) {
|
|
88
|
+
if (!obj || typeof obj !== 'object') {
|
|
89
|
+
return;
|
|
90
|
+
}
|
|
29
91
|
for (var property in obj) {
|
|
30
|
-
if (
|
|
31
|
-
if (property === 'children'
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
92
|
+
if (Object.prototype.hasOwnProperty.call(obj, property)) {
|
|
93
|
+
if (property === 'children') {
|
|
94
|
+
if (typeof obj[property] === 'string') {
|
|
95
|
+
obj[property] = [];
|
|
96
|
+
continue;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
if (Array.isArray(obj[property])) {
|
|
100
|
+
for (var i = obj[property].length - 1; i >= 0; i--) {
|
|
101
|
+
if (
|
|
102
|
+
typeof obj[property][i] !== 'object' ||
|
|
103
|
+
obj[property][i] === null
|
|
104
|
+
) {
|
|
105
|
+
obj[property].splice(i, 1);
|
|
106
|
+
}
|
|
35
107
|
}
|
|
108
|
+
} else if (obj[property] && typeof obj[property] === 'object') {
|
|
109
|
+
obj[property] = [];
|
|
36
110
|
}
|
|
37
111
|
}
|
|
38
|
-
|
|
112
|
+
|
|
113
|
+
if (obj[property] && typeof obj[property] === 'object') {
|
|
39
114
|
cleanStringChildren(obj[property]);
|
|
40
115
|
}
|
|
41
116
|
}
|
|
@@ -84,6 +159,17 @@ document.addEventListener('DOMContentLoaded', function () {
|
|
|
84
159
|
dy: 0
|
|
85
160
|
});
|
|
86
161
|
|
|
162
|
+
infos_group
|
|
163
|
+
.style('cursor', function (d) {
|
|
164
|
+
return resolveNodeHref(d) ? 'pointer' : null;
|
|
165
|
+
})
|
|
166
|
+
.on('click', function (d) {
|
|
167
|
+
var href = resolveNodeHref(d);
|
|
168
|
+
if (href) {
|
|
169
|
+
window.location.href = href;
|
|
170
|
+
}
|
|
171
|
+
});
|
|
172
|
+
|
|
87
173
|
//Node icon
|
|
88
174
|
infos_group
|
|
89
175
|
.append('text')
|
|
@@ -118,49 +204,66 @@ document.addEventListener('DOMContentLoaded', function () {
|
|
|
118
204
|
// if kind === module name + module
|
|
119
205
|
// if kind === component component + path
|
|
120
206
|
var _name = '';
|
|
207
|
+
var nodeHref = resolveNodeHref(d);
|
|
121
208
|
if (d.kind === 'module') {
|
|
122
209
|
if (d.module) {
|
|
123
210
|
_name +=
|
|
124
|
-
'<tspan x="0" dy="1.4em"
|
|
125
|
-
d.module +
|
|
126
|
-
'
|
|
127
|
-
d.module +
|
|
128
|
-
'</a></tspan>';
|
|
211
|
+
'<tspan x="0" dy="1.4em">' +
|
|
212
|
+
wrapLabelWithLink(d.module, nodeHref || './modules/' + d.module + '.html') +
|
|
213
|
+
'</tspan>';
|
|
129
214
|
if (d.name) {
|
|
130
215
|
_name += '<tspan x="0" dy="1.4em">' + d.name + '</tspan>';
|
|
131
216
|
}
|
|
132
217
|
} else {
|
|
133
|
-
_name +=
|
|
218
|
+
_name +=
|
|
219
|
+
'<tspan x="0" dy="1.4em">' +
|
|
220
|
+
wrapLabelWithLink(htmlEntities(d.name), nodeHref) +
|
|
221
|
+
'</tspan>';
|
|
134
222
|
}
|
|
135
223
|
} else if (d.kind === 'component') {
|
|
136
|
-
_name += '<tspan x="0" dy="1.4em">' + d.path + '</tspan>';
|
|
137
224
|
_name +=
|
|
138
|
-
'<tspan x="0" dy="1.4em"
|
|
139
|
-
d.
|
|
140
|
-
'
|
|
141
|
-
|
|
142
|
-
|
|
225
|
+
'<tspan x="0" dy="1.4em">' +
|
|
226
|
+
wrapLabelWithLink(d.path || d.name, nodeHref) +
|
|
227
|
+
'</tspan>';
|
|
228
|
+
if (d.component) {
|
|
229
|
+
_name +=
|
|
230
|
+
'<tspan x="0" dy="1.4em">' +
|
|
231
|
+
wrapLabelWithLink(d.component, nodeHref) +
|
|
232
|
+
'</tspan>';
|
|
233
|
+
} else if (d.name && d.name.includes('Component')) {
|
|
234
|
+
_name += '<tspan x="0" dy="1.4em">' + wrapLabelWithLink(d.name, nodeHref) + '</tspan>';
|
|
235
|
+
}
|
|
143
236
|
if (d.outlet) {
|
|
144
237
|
_name += '<tspan x="0" dy="1.4em"><outlet> : ' + d.outlet + '</tspan>';
|
|
145
238
|
}
|
|
146
239
|
} else {
|
|
147
|
-
|
|
240
|
+
if (d.kind === 'route-redirect') {
|
|
241
|
+
var fromPath = d.path === '' ? "''" : withLeadingSlash(d.path || '');
|
|
242
|
+
var redirectTo = withLeadingSlash(d.redirectTo || d.name);
|
|
243
|
+
_name += '<tspan x="0" dy="1.4em">' + fromPath + ' → ' + redirectTo + '</tspan>';
|
|
244
|
+
if (d.pathMatch) {
|
|
245
|
+
_name += '<tspan x="0" dy="1.4em">pathMatch: ' + d.pathMatch + '</tspan>';
|
|
246
|
+
}
|
|
247
|
+
} else {
|
|
248
|
+
_name +=
|
|
249
|
+
'<tspan x="0" dy="1.4em">' +
|
|
250
|
+
wrapLabelWithLink(withLeadingSlash(d.path || d.name), nodeHref) +
|
|
251
|
+
'</tspan>';
|
|
252
|
+
}
|
|
148
253
|
if (d.component) {
|
|
149
254
|
_name +=
|
|
150
|
-
'<tspan x="0" dy="1.4em"
|
|
151
|
-
d.component +
|
|
152
|
-
'
|
|
153
|
-
d.component +
|
|
154
|
-
'</a></tspan>';
|
|
255
|
+
'<tspan x="0" dy="1.4em">' +
|
|
256
|
+
wrapLabelWithLink(d.component, nodeHref) +
|
|
257
|
+
'</tspan>';
|
|
155
258
|
}
|
|
156
259
|
if (d.loadChildren) {
|
|
157
260
|
var moduleName = foundLazyModuleWithPath(d.loadChildren);
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
261
|
+
if (moduleName && moduleName !== 'default') {
|
|
262
|
+
_name +=
|
|
263
|
+
'<tspan x="0" dy="1.4em">' +
|
|
264
|
+
wrapLabelWithLink(moduleName, './modules/' + moduleName + '.html') +
|
|
265
|
+
'</tspan>';
|
|
266
|
+
}
|
|
164
267
|
}
|
|
165
268
|
if (d.canActivate) {
|
|
166
269
|
_name += '<tspan x="0" dy="1.4em">✓ canActivate</tspan>';
|
|
@@ -174,10 +277,10 @@ document.addEventListener('DOMContentLoaded', function () {
|
|
|
174
277
|
if (d.canLoad) {
|
|
175
278
|
_name += '<tspan x="0" dy="1.4em">→ canLoad</tspan>';
|
|
176
279
|
}
|
|
177
|
-
if (d.redirectTo) {
|
|
280
|
+
if (d.kind !== 'route-redirect' && d.redirectTo) {
|
|
178
281
|
_name += '<tspan x="0" dy="1.4em">→ ' + d.redirectTo + '</tspan>';
|
|
179
282
|
}
|
|
180
|
-
if (d.pathMatch) {
|
|
283
|
+
if (d.kind !== 'route-redirect' && d.pathMatch) {
|
|
181
284
|
_name += '<tspan x="0" dy="1.4em">> ' + d.pathMatch + '</tspan>';
|
|
182
285
|
}
|
|
183
286
|
if (d.outlet) {
|
|
@@ -259,11 +362,16 @@ document.addEventListener('DOMContentLoaded', function () {
|
|
|
259
362
|
|
|
260
363
|
var area_ave = area_sum / nodes.length;
|
|
261
364
|
var scale = 80 / Math.sqrt(area_ave);
|
|
365
|
+
var depthHorizontalSpacing = 40;
|
|
262
366
|
|
|
263
367
|
function svg_x(node_y) {
|
|
264
368
|
return node_y - ymin;
|
|
265
369
|
}
|
|
266
370
|
|
|
371
|
+
function projected_x(node) {
|
|
372
|
+
return svg_x(node.y) + (node.depth || 0) * depthHorizontalSpacing;
|
|
373
|
+
}
|
|
374
|
+
|
|
267
375
|
function svg_y(node_x) {
|
|
268
376
|
return (node_x - xmin) * scale;
|
|
269
377
|
}
|
|
@@ -272,11 +380,11 @@ document.addEventListener('DOMContentLoaded', function () {
|
|
|
272
380
|
var nodebox_vertical_margin = Math.min(y_size_min * scale, 3);
|
|
273
381
|
|
|
274
382
|
node.attr('transform', function (d) {
|
|
275
|
-
return 'translate(' +
|
|
383
|
+
return 'translate(' + projected_x(d) + ',' + svg_y(d.x) + ')';
|
|
276
384
|
});
|
|
277
385
|
|
|
278
386
|
var diagonal = d3.svg.diagonal().projection(function (d) {
|
|
279
|
-
return [
|
|
387
|
+
return [projected_x(d), svg_y(d.x)];
|
|
280
388
|
});
|
|
281
389
|
|
|
282
390
|
var links = engine.links(nodes);
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
(function(compodoc) {
|
|
2
|
-
|
|
1
|
+
(function (compodoc) {
|
|
3
2
|
function LunrSearchEngine() {
|
|
4
3
|
this.index = undefined;
|
|
5
4
|
this.store = {};
|
|
6
5
|
this.name = 'LunrSearchEngine';
|
|
7
6
|
}
|
|
8
7
|
|
|
9
|
-
LunrSearchEngine.prototype.init = function() {
|
|
8
|
+
LunrSearchEngine.prototype.init = function () {
|
|
10
9
|
var that = this,
|
|
11
10
|
d = new promise.Promise();
|
|
12
11
|
|
|
@@ -17,13 +16,13 @@
|
|
|
17
16
|
return d;
|
|
18
17
|
};
|
|
19
18
|
|
|
20
|
-
LunrSearchEngine.prototype.search = function(q, offset, length) {
|
|
19
|
+
LunrSearchEngine.prototype.search = function (q, offset, length) {
|
|
21
20
|
var that = this,
|
|
22
21
|
results = [],
|
|
23
22
|
d = new promise.Promise();
|
|
24
23
|
|
|
25
24
|
if (this.index) {
|
|
26
|
-
results =
|
|
25
|
+
results = this.index.search('*' + q + '*').map(function (result) {
|
|
27
26
|
var doc = that.store[result.ref];
|
|
28
27
|
|
|
29
28
|
return {
|
|
@@ -43,7 +42,7 @@
|
|
|
43
42
|
return d;
|
|
44
43
|
};
|
|
45
44
|
|
|
46
|
-
compodoc.addEventListener(compodoc.EVENTS.READY, function(event) {
|
|
45
|
+
compodoc.addEventListener(compodoc.EVENTS.READY, function (event) {
|
|
47
46
|
var engine = new LunrSearchEngine(),
|
|
48
47
|
initialized = false;
|
|
49
48
|
|
|
@@ -56,8 +55,7 @@
|
|
|
56
55
|
query: query
|
|
57
56
|
};
|
|
58
57
|
|
|
59
|
-
engine.init()
|
|
60
|
-
.then(function() {
|
|
58
|
+
engine.init().then(function () {
|
|
61
59
|
initialized = true;
|
|
62
60
|
compodoc.dispatchEvent({
|
|
63
61
|
type: compodoc.EVENTS.SEARCH_READY
|