@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.
Files changed (310) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/README.md +5 -3
  3. package/compodoc/{modules/RxapAngularFireStorageModule.html → architecture.html} +70 -96
  4. package/compodoc/changelog.html +88 -5
  5. package/compodoc/dependencies.html +104 -27
  6. package/compodoc/index.html +50 -8
  7. package/compodoc/injectables/AppCheckService.html +121 -116
  8. package/compodoc/injectables/RxapFirebaseMessagingService.html +198 -59
  9. package/compodoc/interceptors/FirebaseAppCheckHttpInterceptor.html +89 -34
  10. package/compodoc/interfaces/FirebaseConfig.html +116 -66
  11. package/compodoc/interfaces/Message.html +256 -159
  12. package/compodoc/js/architecture-graph.js +288 -0
  13. package/compodoc/js/libs/bootstrap-native.js +4 -2
  14. package/compodoc/js/libs/jszip.min.js +13 -0
  15. package/compodoc/js/libs/svg-pan-zoom.min.js +3 -3
  16. package/compodoc/js/libs/tablesort.min.js +3 -3
  17. package/compodoc/js/libs/tablesort.number.min.js +3 -3
  18. package/compodoc/js/libs/vis-network.min.js +78 -0
  19. package/compodoc/js/menu-wc.js +25 -12
  20. package/compodoc/js/menu.js +10 -11
  21. package/compodoc/js/routes/routes_index.js +1 -0
  22. package/compodoc/js/routes.js +142 -34
  23. package/compodoc/js/search/search-lunr.js +6 -8
  24. package/compodoc/js/search/search.js +118 -66
  25. package/compodoc/js/search/search_index.js +2 -2
  26. package/compodoc/js/tabs.js +98 -15
  27. package/compodoc/js/tree.js +44 -7
  28. package/compodoc/license.html +48 -6
  29. package/compodoc/llms.txt +217 -0
  30. package/compodoc/miscellaneous/functions.html +935 -111
  31. package/compodoc/miscellaneous/variables.html +614 -127
  32. package/compodoc/modules.html +44 -3
  33. package/compodoc/overview.html +54 -3
  34. package/compodoc/properties.html +45 -4
  35. package/compodoc/routes.html +227 -0
  36. package/compodoc/styles/compodoc.css +365 -44
  37. package/compodoc/styles/dark.css +16 -0
  38. package/compodoc/template-playground/default-templates.json +192 -0
  39. package/compodoc/template-playground/hbs-render.service.ts +217 -0
  40. package/compodoc/template-playground/main.ts +9 -0
  41. package/compodoc/template-playground/template-editor.service.ts +173 -0
  42. package/compodoc/template-playground/template-playground.component.ts +614 -0
  43. package/compodoc/template-playground/template-playground.module.ts +29 -0
  44. package/compodoc/template-playground/zip-export.service.ts +86 -0
  45. package/compodoc/template-playground-app/app.js +1389 -0
  46. package/compodoc/template-playground-app/index.html +462 -0
  47. package/docs/documentation.json +3499 -1425
  48. package/docs/html/assets/highlight.css +1 -1
  49. package/docs/html/assets/icons.js +1 -1
  50. package/docs/html/assets/icons.svg +1 -1
  51. package/docs/html/assets/main.js +5 -5
  52. package/docs/html/assets/navigation.js +1 -1
  53. package/docs/html/assets/search.js +1 -1
  54. package/docs/html/assets/style.css +265 -228
  55. package/docs/html/classes/AppCheckService.html +106 -5
  56. package/docs/html/classes/FirebaseAppCheckHttpInterceptor.html +107 -8
  57. package/docs/html/classes/RxapFirebaseMessagingService.html +123 -7
  58. package/docs/html/functions/AnalyticsEnabledFactory.html +42 -1
  59. package/docs/html/functions/AppCheckEnabledFactory.html +42 -1
  60. package/docs/html/functions/AppCheckSiteKeyFactory.html +42 -1
  61. package/docs/html/functions/AppIsTokenAutoRefreshEnabledFactory.html +42 -1
  62. package/docs/html/functions/AuthLanguageCodeFactory.html +42 -1
  63. package/docs/html/functions/AuthPersistenceFactory.html +42 -1
  64. package/docs/html/functions/AuthSettingsFactory.html +42 -1
  65. package/docs/html/functions/AuthTenantIdFactory.html +42 -1
  66. package/docs/html/functions/AuthUseDeviceLanguageFactory.html +42 -1
  67. package/docs/html/functions/DataCollectionEnabledFactory.html +42 -1
  68. package/docs/html/functions/EnablePersistenceTokenFactory.html +42 -1
  69. package/docs/html/functions/FirebaseAnalyticsFactory.html +45 -0
  70. package/docs/html/functions/FirebaseAppCheckFactory.html +47 -0
  71. package/docs/html/functions/FirebaseAppFactory.html +45 -0
  72. package/docs/html/functions/FirebaseAuthFactory.html +43 -0
  73. package/docs/html/functions/FirebaseFirestoreFactory.html +43 -0
  74. package/docs/html/functions/FirebaseFunctionsFactory.html +43 -0
  75. package/docs/html/functions/FirebaseMessagingFactory.html +44 -0
  76. package/docs/html/functions/FirebaseNameOrConfigTokenFactory.html +42 -1
  77. package/docs/html/functions/FirebaseOptionsTokenFactory.html +42 -1
  78. package/docs/html/functions/FirebasePerformanceFactory.html +43 -0
  79. package/docs/html/functions/FirebaseStorageFactory.html +43 -0
  80. package/docs/html/functions/FirestoreSettingsTokenFactory.html +42 -1
  81. package/docs/html/functions/FunctionsNewOriginBehaviorFactory.html +42 -1
  82. package/docs/html/functions/FunctionsOriginFactory.html +42 -1
  83. package/docs/html/functions/FunctionsRegionFactory.html +42 -1
  84. package/docs/html/functions/GetAnalyticsAppName.html +42 -1
  85. package/docs/html/functions/InstrumentationEnabledFactory.html +42 -1
  86. package/docs/html/functions/PersistenceSettingsTokenFactory.html +42 -1
  87. package/docs/html/functions/ServiceWorkerFactory.html +38 -1
  88. package/docs/html/functions/StorageBucketFactory.html +42 -1
  89. package/docs/html/functions/StorageMaxOperationRetryTimeFactory.html +42 -1
  90. package/docs/html/functions/StorageMaxUploadRetryTimeFactory.html +42 -1
  91. package/docs/html/functions/UseAuthEmulatorFactory.html +42 -1
  92. package/docs/html/functions/UseFirestoreEmulatorFactory.html +42 -1
  93. package/docs/html/functions/UseFunctionsEmulatorFactory.html +42 -1
  94. package/docs/html/functions/VapidKeyFactory.html +42 -1
  95. package/docs/html/functions/provideFirebaseAppCheck.html +40 -0
  96. package/docs/html/functions/provideFirebaseStorageEmulator.html +40 -0
  97. package/docs/html/hierarchy.html +29 -0
  98. package/docs/html/index.html +44 -7
  99. package/docs/html/interfaces/FirebaseConfig.html +123 -9
  100. package/docs/html/interfaces/Message.html +67 -4
  101. package/docs/html/modules.html +48 -1
  102. package/docs/html/variables/APP_CHECK_ENABLED.html +33 -1
  103. package/docs/html/variables/APP_CHECK_IS_TOKEN_AUTO_REFRESH_ENABLED.html +33 -1
  104. package/docs/html/variables/APP_CHECK_SITE_KEY.html +33 -1
  105. package/docs/html/variables/FIREBASE_ANALYTICS.html +35 -0
  106. package/docs/html/variables/FIREBASE_ANALYTICS_PROVIDERS.html +33 -1
  107. package/docs/html/variables/FIREBASE_APP.html +33 -0
  108. package/docs/html/variables/FIREBASE_APP_CHECK.html +35 -0
  109. package/docs/html/variables/FIREBASE_APP_CHECK_HTTP_INTERCEPTOR.html +33 -1
  110. package/docs/html/variables/FIREBASE_APP_CHECK_HTTP_INTERCEPTOR_URL_PATTERN.html +33 -1
  111. package/docs/html/variables/FIREBASE_APP_CHECK_PROVIDERS.html +33 -1
  112. package/docs/html/variables/FIREBASE_APP_NAME.html +35 -0
  113. package/docs/html/variables/FIREBASE_APP_PROVIDERS.html +33 -1
  114. package/docs/html/variables/FIREBASE_AUTH.html +33 -0
  115. package/docs/html/variables/FIREBASE_AUTH_PROVIDERS.html +33 -1
  116. package/docs/html/variables/FIREBASE_FIRESTORE.html +33 -0
  117. package/docs/html/variables/FIREBASE_FIRESTORE_PROVIDERS.html +33 -1
  118. package/docs/html/variables/FIREBASE_FUNCTIONS.html +33 -0
  119. package/docs/html/variables/FIREBASE_FUNCTIONS_PROVIDERS.html +33 -1
  120. package/docs/html/variables/FIREBASE_MESSAGING.html +35 -0
  121. package/docs/html/variables/FIREBASE_MESSAGING_PROVIDERS.html +33 -1
  122. package/docs/html/variables/FIREBASE_MESSAGING_VAPID_KEY.html +33 -0
  123. package/docs/html/variables/FIREBASE_OPTIONS.html +35 -0
  124. package/docs/html/variables/FIREBASE_PERFORMANCE.html +33 -0
  125. package/docs/html/variables/FIREBASE_PERFORMANCE_PROVIDERS.html +33 -1
  126. package/docs/html/variables/FIREBASE_PROVIDERS.html +33 -1
  127. package/docs/html/variables/FIREBASE_STORAGE.html +33 -0
  128. package/docs/html/variables/FIREBASE_STORAGE_PROVIDERS.html +33 -1
  129. package/docs/html/variables/RXAP_REQUEST_CLOUD_MESSAGING_TOKEN.html +33 -1
  130. package/docs/html/variables/USE_STORAGE_EMULATOR.html +33 -1
  131. package/docs/html/variables/provideAngularFireAppCheck.html +47 -0
  132. package/docs/html/variables/provideAngularFireStorageEmulator.html +47 -0
  133. package/docs/markdown/README.md +6 -4
  134. package/docs/markdown/classes/AppCheckService.md +10 -12
  135. package/docs/markdown/classes/FirebaseAppCheckHttpInterceptor.md +9 -9
  136. package/docs/markdown/classes/RxapFirebaseMessagingService.md +23 -15
  137. package/docs/markdown/functions/AnalyticsEnabledFactory.md +2 -2
  138. package/docs/markdown/functions/AppCheckEnabledFactory.md +2 -2
  139. package/docs/markdown/functions/AppCheckSiteKeyFactory.md +2 -2
  140. package/docs/markdown/functions/AppIsTokenAutoRefreshEnabledFactory.md +2 -2
  141. package/docs/markdown/functions/AuthLanguageCodeFactory.md +2 -2
  142. package/docs/markdown/functions/AuthPersistenceFactory.md +2 -2
  143. package/docs/markdown/functions/AuthSettingsFactory.md +2 -2
  144. package/docs/markdown/functions/AuthTenantIdFactory.md +2 -2
  145. package/docs/markdown/functions/AuthUseDeviceLanguageFactory.md +2 -2
  146. package/docs/markdown/functions/DataCollectionEnabledFactory.md +2 -2
  147. package/docs/markdown/functions/EnablePersistenceTokenFactory.md +2 -2
  148. package/docs/markdown/functions/FirebaseAnalyticsFactory.md +27 -0
  149. package/docs/markdown/functions/FirebaseAppCheckFactory.md +35 -0
  150. package/docs/markdown/functions/FirebaseAppFactory.md +27 -0
  151. package/docs/markdown/functions/FirebaseAuthFactory.md +25 -0
  152. package/docs/markdown/functions/FirebaseFirestoreFactory.md +25 -0
  153. package/docs/markdown/functions/FirebaseFunctionsFactory.md +25 -0
  154. package/docs/markdown/functions/FirebaseMessagingFactory.md +23 -0
  155. package/docs/markdown/functions/FirebaseNameOrConfigTokenFactory.md +2 -2
  156. package/docs/markdown/functions/FirebaseOptionsTokenFactory.md +2 -2
  157. package/docs/markdown/functions/FirebasePerformanceFactory.md +25 -0
  158. package/docs/markdown/functions/FirebaseStorageFactory.md +25 -0
  159. package/docs/markdown/functions/FirestoreSettingsTokenFactory.md +2 -2
  160. package/docs/markdown/functions/FunctionsNewOriginBehaviorFactory.md +2 -2
  161. package/docs/markdown/functions/FunctionsOriginFactory.md +2 -2
  162. package/docs/markdown/functions/FunctionsRegionFactory.md +2 -2
  163. package/docs/markdown/functions/GetAnalyticsAppName.md +4 -4
  164. package/docs/markdown/functions/InstrumentationEnabledFactory.md +2 -2
  165. package/docs/markdown/functions/PersistenceSettingsTokenFactory.md +2 -2
  166. package/docs/markdown/functions/ServiceWorkerFactory.md +4 -4
  167. package/docs/markdown/functions/StorageBucketFactory.md +2 -2
  168. package/docs/markdown/functions/StorageMaxOperationRetryTimeFactory.md +2 -2
  169. package/docs/markdown/functions/StorageMaxUploadRetryTimeFactory.md +2 -2
  170. package/docs/markdown/functions/UseAuthEmulatorFactory.md +2 -2
  171. package/docs/markdown/functions/UseFirestoreEmulatorFactory.md +2 -2
  172. package/docs/markdown/functions/UseFunctionsEmulatorFactory.md +2 -2
  173. package/docs/markdown/functions/VapidKeyFactory.md +2 -2
  174. package/docs/markdown/functions/provideFirebaseAppCheck.md +17 -0
  175. package/docs/markdown/functions/provideFirebaseStorageEmulator.md +17 -0
  176. package/docs/markdown/globals.md +27 -4
  177. package/docs/markdown/interfaces/FirebaseConfig.md +88 -84
  178. package/docs/markdown/interfaces/Message.md +5 -5
  179. package/docs/markdown/variables/APP_CHECK_ENABLED.md +2 -2
  180. package/docs/markdown/variables/APP_CHECK_IS_TOKEN_AUTO_REFRESH_ENABLED.md +2 -2
  181. package/docs/markdown/variables/APP_CHECK_SITE_KEY.md +2 -2
  182. package/docs/markdown/variables/FIREBASE_ANALYTICS.md +13 -0
  183. package/docs/markdown/variables/FIREBASE_ANALYTICS_PROVIDERS.md +2 -2
  184. package/docs/markdown/variables/FIREBASE_APP.md +11 -0
  185. package/docs/markdown/variables/FIREBASE_APP_CHECK.md +13 -0
  186. package/docs/markdown/variables/FIREBASE_APP_CHECK_HTTP_INTERCEPTOR.md +2 -2
  187. package/docs/markdown/variables/FIREBASE_APP_CHECK_HTTP_INTERCEPTOR_URL_PATTERN.md +2 -2
  188. package/docs/markdown/variables/FIREBASE_APP_CHECK_PROVIDERS.md +2 -2
  189. package/docs/markdown/variables/FIREBASE_APP_NAME.md +13 -0
  190. package/docs/markdown/variables/FIREBASE_APP_PROVIDERS.md +2 -2
  191. package/docs/markdown/variables/FIREBASE_AUTH.md +11 -0
  192. package/docs/markdown/variables/FIREBASE_AUTH_PROVIDERS.md +2 -2
  193. package/docs/markdown/variables/FIREBASE_FIRESTORE.md +11 -0
  194. package/docs/markdown/variables/FIREBASE_FIRESTORE_PROVIDERS.md +2 -2
  195. package/docs/markdown/variables/FIREBASE_FUNCTIONS.md +11 -0
  196. package/docs/markdown/variables/FIREBASE_FUNCTIONS_PROVIDERS.md +2 -2
  197. package/docs/markdown/variables/FIREBASE_MESSAGING.md +13 -0
  198. package/docs/markdown/variables/FIREBASE_MESSAGING_PROVIDERS.md +2 -2
  199. package/docs/markdown/variables/FIREBASE_MESSAGING_VAPID_KEY.md +11 -0
  200. package/docs/markdown/variables/FIREBASE_OPTIONS.md +13 -0
  201. package/docs/markdown/variables/FIREBASE_PERFORMANCE.md +11 -0
  202. package/docs/markdown/variables/FIREBASE_PERFORMANCE_PROVIDERS.md +2 -2
  203. package/docs/markdown/variables/FIREBASE_PROVIDERS.md +2 -2
  204. package/docs/markdown/variables/FIREBASE_STORAGE.md +11 -0
  205. package/docs/markdown/variables/FIREBASE_STORAGE_PROVIDERS.md +2 -2
  206. package/docs/markdown/variables/RXAP_REQUEST_CLOUD_MESSAGING_TOKEN.md +2 -2
  207. package/docs/markdown/variables/USE_STORAGE_EMULATOR.md +2 -2
  208. package/docs/markdown/variables/provideAngularFireAppCheck.md +21 -0
  209. package/docs/markdown/variables/provideAngularFireStorageEmulator.md +21 -0
  210. package/docs/wiki/Class.AppCheckService.md +9 -11
  211. package/docs/wiki/Class.FirebaseAppCheckHttpInterceptor.md +8 -8
  212. package/docs/wiki/Class.RxapFirebaseMessagingService.md +22 -14
  213. package/docs/wiki/Function.AnalyticsEnabledFactory.md +1 -1
  214. package/docs/wiki/Function.AppCheckEnabledFactory.md +1 -1
  215. package/docs/wiki/Function.AppCheckSiteKeyFactory.md +1 -1
  216. package/docs/wiki/Function.AppIsTokenAutoRefreshEnabledFactory.md +1 -1
  217. package/docs/wiki/Function.AuthLanguageCodeFactory.md +1 -1
  218. package/docs/wiki/Function.AuthPersistenceFactory.md +1 -1
  219. package/docs/wiki/Function.AuthSettingsFactory.md +1 -1
  220. package/docs/wiki/Function.AuthTenantIdFactory.md +1 -1
  221. package/docs/wiki/Function.AuthUseDeviceLanguageFactory.md +1 -1
  222. package/docs/wiki/Function.DataCollectionEnabledFactory.md +1 -1
  223. package/docs/wiki/Function.EnablePersistenceTokenFactory.md +1 -1
  224. package/docs/wiki/Function.FirebaseAnalyticsFactory.md +23 -0
  225. package/docs/wiki/Function.FirebaseAppCheckFactory.md +31 -0
  226. package/docs/wiki/Function.FirebaseAppFactory.md +23 -0
  227. package/docs/wiki/Function.FirebaseAuthFactory.md +21 -0
  228. package/docs/wiki/Function.FirebaseFirestoreFactory.md +21 -0
  229. package/docs/wiki/Function.FirebaseFunctionsFactory.md +21 -0
  230. package/docs/wiki/Function.FirebaseMessagingFactory.md +19 -0
  231. package/docs/wiki/Function.FirebaseNameOrConfigTokenFactory.md +1 -1
  232. package/docs/wiki/Function.FirebaseOptionsTokenFactory.md +1 -1
  233. package/docs/wiki/Function.FirebasePerformanceFactory.md +21 -0
  234. package/docs/wiki/Function.FirebaseStorageFactory.md +21 -0
  235. package/docs/wiki/Function.FirestoreSettingsTokenFactory.md +1 -1
  236. package/docs/wiki/Function.FunctionsNewOriginBehaviorFactory.md +1 -1
  237. package/docs/wiki/Function.FunctionsOriginFactory.md +1 -1
  238. package/docs/wiki/Function.FunctionsRegionFactory.md +1 -1
  239. package/docs/wiki/Function.GetAnalyticsAppName.md +3 -3
  240. package/docs/wiki/Function.InstrumentationEnabledFactory.md +1 -1
  241. package/docs/wiki/Function.PersistenceSettingsTokenFactory.md +1 -1
  242. package/docs/wiki/Function.ServiceWorkerFactory.md +3 -3
  243. package/docs/wiki/Function.StorageBucketFactory.md +1 -1
  244. package/docs/wiki/Function.StorageMaxOperationRetryTimeFactory.md +1 -1
  245. package/docs/wiki/Function.StorageMaxUploadRetryTimeFactory.md +1 -1
  246. package/docs/wiki/Function.UseAuthEmulatorFactory.md +1 -1
  247. package/docs/wiki/Function.UseFirestoreEmulatorFactory.md +1 -1
  248. package/docs/wiki/Function.UseFunctionsEmulatorFactory.md +1 -1
  249. package/docs/wiki/Function.VapidKeyFactory.md +1 -1
  250. package/docs/wiki/Function.provideFirebaseAppCheck.md +13 -0
  251. package/docs/wiki/Function.provideFirebaseStorageEmulator.md +13 -0
  252. package/docs/wiki/Home.md +5 -3
  253. package/docs/wiki/Interface.FirebaseConfig.md +87 -83
  254. package/docs/wiki/Interface.Message.md +4 -4
  255. package/docs/wiki/Variable.APP_CHECK_ENABLED.md +1 -1
  256. package/docs/wiki/Variable.APP_CHECK_IS_TOKEN_AUTO_REFRESH_ENABLED.md +1 -1
  257. package/docs/wiki/Variable.APP_CHECK_SITE_KEY.md +1 -1
  258. package/docs/wiki/Variable.FIREBASE_ANALYTICS.md +9 -0
  259. package/docs/wiki/Variable.FIREBASE_ANALYTICS_PROVIDERS.md +1 -1
  260. package/docs/wiki/Variable.FIREBASE_APP.md +7 -0
  261. package/docs/wiki/Variable.FIREBASE_APP_CHECK.md +9 -0
  262. package/docs/wiki/Variable.FIREBASE_APP_CHECK_HTTP_INTERCEPTOR.md +1 -1
  263. package/docs/wiki/Variable.FIREBASE_APP_CHECK_HTTP_INTERCEPTOR_URL_PATTERN.md +1 -1
  264. package/docs/wiki/Variable.FIREBASE_APP_CHECK_PROVIDERS.md +1 -1
  265. package/docs/wiki/Variable.FIREBASE_APP_NAME.md +9 -0
  266. package/docs/wiki/Variable.FIREBASE_APP_PROVIDERS.md +1 -1
  267. package/docs/wiki/Variable.FIREBASE_AUTH.md +7 -0
  268. package/docs/wiki/Variable.FIREBASE_AUTH_PROVIDERS.md +1 -1
  269. package/docs/wiki/Variable.FIREBASE_FIRESTORE.md +7 -0
  270. package/docs/wiki/Variable.FIREBASE_FIRESTORE_PROVIDERS.md +1 -1
  271. package/docs/wiki/Variable.FIREBASE_FUNCTIONS.md +7 -0
  272. package/docs/wiki/Variable.FIREBASE_FUNCTIONS_PROVIDERS.md +1 -1
  273. package/docs/wiki/Variable.FIREBASE_MESSAGING.md +9 -0
  274. package/docs/wiki/Variable.FIREBASE_MESSAGING_PROVIDERS.md +1 -1
  275. package/docs/wiki/Variable.FIREBASE_MESSAGING_VAPID_KEY.md +7 -0
  276. package/docs/wiki/Variable.FIREBASE_OPTIONS.md +9 -0
  277. package/docs/wiki/Variable.FIREBASE_PERFORMANCE.md +7 -0
  278. package/docs/wiki/Variable.FIREBASE_PERFORMANCE_PROVIDERS.md +1 -1
  279. package/docs/wiki/Variable.FIREBASE_PROVIDERS.md +1 -1
  280. package/docs/wiki/Variable.FIREBASE_STORAGE.md +7 -0
  281. package/docs/wiki/Variable.FIREBASE_STORAGE_PROVIDERS.md +1 -1
  282. package/docs/wiki/Variable.RXAP_REQUEST_CLOUD_MESSAGING_TOKEN.md +1 -1
  283. package/docs/wiki/Variable.USE_STORAGE_EMULATOR.md +1 -1
  284. package/docs/wiki/Variable.provideAngularFireAppCheck.md +17 -0
  285. package/docs/wiki/Variable.provideAngularFireStorageEmulator.md +17 -0
  286. package/docs/wiki/_Sidebar.md +25 -2
  287. package/docs/wiki/globals.md +26 -3
  288. package/fesm2022/rxap-firebase-auth.mjs +19 -7
  289. package/fesm2022/rxap-firebase-auth.mjs.map +1 -1
  290. package/fesm2022/rxap-firebase.mjs +183 -160
  291. package/fesm2022/rxap-firebase.mjs.map +1 -1
  292. package/generators.json +16 -0
  293. package/package.json +16 -31
  294. package/src/generators/init/generator.js +120 -0
  295. package/src/generators/init/index.js +6 -0
  296. package/src/generators/init/schema.json +8 -0
  297. package/src/generators/package.json +3 -0
  298. package/types/rxap-firebase-auth.d.ts +9 -1
  299. package/types/rxap-firebase.d.ts +75 -18
  300. package/compodoc/js/libs/vis.min.js +0 -47
  301. package/compodoc/js/menu-wc_es5.js +0 -40
  302. package/compodoc/modules/RxapAngularFireAppCheckModule/dependencies.svg +0 -50
  303. package/compodoc/modules/RxapAngularFireAppCheckModule.html +0 -411
  304. package/docs/html/functions/provideAngularFireAppCheck.html +0 -3
  305. package/docs/html/functions/provideAngularFireStorageEmulator.html +0 -3
  306. package/docs/markdown/functions/provideAngularFireAppCheck.md +0 -18
  307. package/docs/markdown/functions/provideAngularFireStorageEmulator.md +0 -18
  308. package/docs/wiki/Function.provideAngularFireAppCheck.md +0 -14
  309. package/docs/wiki/Function.provideAngularFireStorageEmulator.md +0 -14
  310. package/theme.css +0 -1
@@ -1,13 +1,15 @@
1
1
  (function (compodoc) {
2
2
  var usePushState = typeof history.pushState !== 'undefined',
3
3
  // DOM Elements
4
- $body = $('body'),
4
+ $body = document.querySelector('body'),
5
5
  $searchResults,
6
6
  $searchInput,
7
7
  $searchList,
8
8
  $searchTitle,
9
9
  $searchResultsCount,
10
10
  $searchQuery,
11
+ $searchInputs,
12
+ $searchClearButtons,
11
13
  $mainContainer,
12
14
  $xsMenu;
13
15
 
@@ -30,14 +32,18 @@
30
32
  function displayResults(res) {
31
33
  var noResults = res.count == 0;
32
34
  var groups = {};
33
- $searchResults.toggleClass('no-results', noResults);
35
+ if (noResults) {
36
+ $searchResults.classList.add('no-results');
37
+ } else {
38
+ $searchResults.classList.remove('no-results');
39
+ }
34
40
 
35
41
  // Clear old results
36
- $searchList.empty();
42
+ $searchList.innerText = '';
37
43
 
38
44
  // Display title for research
39
- $searchResultsCount.text(res.count);
40
- $searchQuery.text(res.query);
45
+ $searchResultsCount.innerText = res.count;
46
+ $searchQuery.innerText = res.query;
41
47
 
42
48
  // Group result by context
43
49
  res.results.forEach(function (res) {
@@ -56,9 +62,8 @@
56
62
  for (var i = 0; i < sortedGroups.length; i++) {
57
63
  var property = sortedGroups[i];
58
64
 
59
- var $li = $('<li>', {
60
- class: 'search-results-group'
61
- });
65
+ var $li = document.createElement('li');
66
+ $li.classList.add('search-results-group');
62
67
  var finalPropertyLabel = '';
63
68
  var propertyLabels = property.split('-');
64
69
 
@@ -87,20 +92,17 @@
87
92
  groups[property].results.length +
88
93
  ')';
89
94
  }
90
- var $groupTitle = $('<h3>', {
91
- text: finalPropertyLabel
92
- });
93
- $groupTitle.appendTo($li);
95
+ var $groupTitle = document.createElement('h3');
96
+ $groupTitle.innerText = finalPropertyLabel;
97
+ $li.appendChild($groupTitle);
94
98
 
95
- var $ulResults = $('<ul>', {
96
- class: 'search-results-list'
97
- });
99
+ var $ulResults = document.createElement('ul');
100
+ $ulResults.classList.add('search-results-list');
98
101
 
99
102
  groups[property].results.forEach(function (res) {
100
103
  var link = '';
101
- var $liResult = $('<li>', {
102
- class: 'search-results-item'
103
- });
104
+ var $liResult = document.createElement('li');
105
+ $liResult.classList.add('search-results-item');
104
106
  switch (COMPODOC_CURRENT_PAGE_DEPTH) {
105
107
  case 0:
106
108
  link = './';
@@ -116,25 +118,24 @@
116
118
  var finalResLabel =
117
119
  res.title.split(' - ')[1].charAt(0).toUpperCase() +
118
120
  res.title.split(' - ')[1].substring(1);
119
- var $link = $('<a>', {
120
- href: link + res.url,
121
- text: finalResLabel
122
- });
123
- $link.appendTo($liResult);
124
- $liResult.appendTo($ulResults);
121
+ var $link = document.createElement('a');
122
+ $link.innerText = finalResLabel;
123
+ $link.href = link + res.url;
124
+ $liResult.appendChild($link);
125
+ $ulResults.appendChild($liResult);
125
126
  });
126
- $ulResults.appendTo($li);
127
+ $li.appendChild($ulResults);
127
128
 
128
- $li.appendTo($searchList);
129
+ $searchList.appendChild($li);
129
130
  }
130
131
  }
131
132
 
132
133
  function launchSearch(q) {
133
- $body.addClass('with-search');
134
+ $body.classList.add('with-search');
134
135
 
135
- if ($xsMenu.css('display') === 'block') {
136
- $mainContainer.css('height', 'calc(100% - 100px)');
137
- $mainContainer.css('margin-top', '100px');
136
+ if ($xsMenu.style.display === 'block') {
137
+ $mainContainer.style.height = 'calc(100% - 100px)';
138
+ $mainContainer.style.marginTop = '100px';
138
139
  }
139
140
 
140
141
  throttle(
@@ -146,40 +147,71 @@
146
147
  }
147
148
 
148
149
  function closeSearch() {
149
- $body.removeClass('with-search');
150
- if ($xsMenu.css('display') === 'block') {
151
- $mainContainer.css('height', 'calc(100% - 50px)');
150
+ $body.classList.remove('with-search');
151
+ if ($xsMenu.style.display === 'block') {
152
+ $mainContainer.style.height = 'calc(100% - 50px)';
152
153
  }
153
154
  }
154
155
 
155
156
  function bindMenuButton() {
156
157
  document.getElementById('btn-menu').addEventListener('click', function () {
157
- if ($xsMenu.css('display') === 'none') {
158
- $body.removeClass('with-search');
159
- $mainContainer.css('height', 'calc(100% - 50px)');
158
+ if ($xsMenu.style.display === 'none') {
159
+ $body.classList.remove('with-search');
160
+ $mainContainer.style.height = 'calc(100% - 50px)';
160
161
  }
161
- $.each($searchInputs, function (index, item) {
162
- var item = $(item);
163
- item.val('');
162
+ $searchInputs.forEach((item, index) => {
163
+ item.value = '';
164
164
  });
165
+ syncSearchClearButtons();
166
+ });
167
+ }
168
+
169
+ function getSearchInputContainer(element) {
170
+ var current = element;
171
+ while (current && current !== document) {
172
+ if (current.id === 'book-search-input') {
173
+ return current;
174
+ }
175
+ current = current.parentNode;
176
+ }
177
+ return null;
178
+ }
179
+
180
+ function syncSearchClearButtons() {
181
+ if (!$searchInputs || !$searchClearButtons) {
182
+ return;
183
+ }
184
+
185
+ var hasValue = false;
186
+ $searchInputs.forEach((input) => {
187
+ if (input.value && input.value.length > 0) {
188
+ hasValue = true;
189
+ }
190
+ });
191
+
192
+ $searchClearButtons.forEach((button) => {
193
+ button.classList.toggle('is-visible', hasValue);
165
194
  });
166
195
  }
167
196
 
168
197
  function bindSearch() {
169
198
  // Bind DOM
170
- $searchInputs = $('#book-search-input input');
199
+ $searchInputs = document.querySelectorAll('#book-search-input input');
200
+ $searchClearButtons = document.querySelectorAll(
201
+ '#book-search-input [data-search-input-clear]'
202
+ );
171
203
 
172
- $searchResults = $('.search-results');
173
- $searchList = $searchResults.find('.search-results-list');
174
- $searchTitle = $searchResults.find('.search-results-title');
175
- $searchResultsCount = $searchTitle.find('.search-results-count');
176
- $searchQuery = $searchTitle.find('.search-query');
177
- $mainContainer = $('.container-fluid');
178
- $xsMenu = $('.xs-menu');
204
+ $searchResults = document.querySelector('.search-results');
205
+ $searchList = $searchResults.querySelector('.search-results-list');
206
+ $searchTitle = $searchResults.querySelector('.search-results-title');
207
+ $searchResultsCount = $searchTitle.querySelector('.search-results-count');
208
+ $searchQuery = $searchTitle.querySelector('.search-query');
209
+ $mainContainer = document.querySelector('.container-fluid');
210
+ $xsMenu = document.querySelector('.xs-menu');
179
211
 
180
212
  // Launch query based on input content
181
213
  function handleUpdate(item) {
182
- var q = item.val();
214
+ var q = item.value;
183
215
 
184
216
  if (q.length == 0) {
185
217
  closeSearch();
@@ -192,45 +224,65 @@
192
224
  // Detect true content change in search input
193
225
  var propertyChangeUnbound = false;
194
226
 
195
- $.each($searchInputs, function (index, item) {
196
- var item = $(item);
227
+ $searchInputs.forEach((item, index) => {
197
228
  // HTML5 (IE9 & others)
198
- item.on('input', function (e) {
199
- // Unbind propertychange event for IE9+
200
- if (!propertyChangeUnbound) {
201
- $(this).unbind('propertychange');
202
- propertyChangeUnbound = true;
203
- }
204
-
205
- handleUpdate($(this));
229
+ item.addEventListener('input', function (e) {
230
+ handleUpdate(this);
231
+ syncSearchClearButtons();
206
232
  });
207
233
  // Workaround for IE < 9
208
- item.on('propertychange', function (e) {
234
+ item.addEventListener('propertychange', function (e) {
209
235
  if (e.originalEvent.propertyName == 'value') {
210
- handleUpdate($(this));
236
+ handleUpdate(this);
237
+ syncSearchClearButtons();
211
238
  }
212
239
  });
213
240
  // Push to history on blur
214
- item.on('blur', function (e) {
241
+ item.addEventListener('blur', function (e) {
215
242
  // Update history state
216
243
  if (usePushState) {
217
- var uri = updateQueryString('q', $(this).val());
218
- if ($(this).val() !== '') {
244
+ var uri = updateQueryString('q', this.value);
245
+ if (this.value !== '') {
219
246
  history.pushState({ path: uri }, null, uri);
220
247
  }
221
248
  }
222
249
  });
223
250
  });
251
+
252
+ $searchClearButtons.forEach((button) => {
253
+ button.addEventListener('click', function (e) {
254
+ e.preventDefault();
255
+
256
+ var container = getSearchInputContainer(this);
257
+ var containerInput = container ? container.querySelector('input') : null;
258
+ var nextValue = '';
259
+
260
+ $searchInputs.forEach((input) => {
261
+ input.value = nextValue;
262
+ });
263
+
264
+ if (containerInput) {
265
+ handleUpdate(containerInput);
266
+ containerInput.focus();
267
+ } else if ($searchInputs.length > 0) {
268
+ handleUpdate($searchInputs[0]);
269
+ }
270
+
271
+ syncSearchClearButtons();
272
+ });
273
+ });
274
+
275
+ syncSearchClearButtons();
224
276
  }
225
277
 
226
278
  function launchSearchFromQueryString() {
227
279
  var q = getParameterByName('q');
228
280
  if (q && q.length > 0) {
229
281
  // Update search inputs
230
- $.each($searchInputs, function (index, item) {
231
- var item = $(item);
232
- item.val(q);
282
+ $searchInputs.forEach((item, index) => {
283
+ item.value = q;
233
284
  });
285
+ syncSearchClearButtons();
234
286
  // Launch search
235
287
  launchSearch(q);
236
288
  }