@angular/fire 7.6.0 → 16.0.0-canary.1350920

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 (480) hide show
  1. package/README.md +11 -27
  2. package/analytics/analytics.module.d.ts +2 -2
  3. package/analytics/firebase.d.ts +4 -1
  4. package/analytics/is-analytics-supported-factory.d.ts +4 -0
  5. package/analytics/screen-tracking.service.d.ts +3 -3
  6. package/app-check/app-check.d.ts +0 -6
  7. package/app-check/app-check.module.d.ts +3 -4
  8. package/app-check/firebase.d.ts +2 -1
  9. package/app-check/public_api.d.ts +2 -1
  10. package/auth/auth.module.d.ts +2 -2
  11. package/auth/firebase.d.ts +3 -1
  12. package/auth-guard/auth-guard.d.ts +6 -6
  13. package/compat/analytics/analytics.d.ts +1 -3
  14. package/compat/analytics/analytics.module.d.ts +1 -1
  15. package/compat/analytics/screen-tracking.service.d.ts +1 -1
  16. package/compat/analytics/user-tracking.service.d.ts +1 -1
  17. package/compat/auth/auth.d.ts +4 -4
  18. package/compat/auth-guard/auth-guard.d.ts +8 -6
  19. package/compat/database/database.d.ts +4 -4
  20. package/compat/database/interfaces.d.ts +14 -14
  21. package/compat/database/list/audit-trail.d.ts +1 -1
  22. package/compat/database/list/create-reference.d.ts +1 -1
  23. package/compat/database/list/data-operation.d.ts +1 -1
  24. package/compat/database/list/state-changes.d.ts +1 -1
  25. package/compat/database/object/create-reference.d.ts +1 -1
  26. package/compat/database/observable/fromRef.d.ts +1 -1
  27. package/compat/database/utils.d.ts +1 -1
  28. package/compat/firebase.app.module.d.ts +1 -1
  29. package/compat/firestore/collection/collection.d.ts +2 -2
  30. package/compat/firestore/collection-group/collection-group.d.ts +2 -2
  31. package/compat/firestore/document/document.d.ts +4 -4
  32. package/compat/firestore/firestore.d.ts +7 -7
  33. package/compat/firestore/interfaces.d.ts +19 -19
  34. package/compat/functions/functions.d.ts +3 -3
  35. package/compat/messaging/messaging.d.ts +2 -2
  36. package/compat/performance/performance.d.ts +2 -2
  37. package/compat/proxy.d.ts +8 -8
  38. package/compat/remote-config/interfaces.d.ts +1 -1
  39. package/compat/remote-config/remote-config.d.ts +15 -49
  40. package/compat/storage/interfaces.d.ts +8 -8
  41. package/compat/storage/observable/fromTask.d.ts +1 -2
  42. package/compat/storage/pipes/storageUrl.pipe.d.ts +1 -1
  43. package/compat/storage/ref.d.ts +1 -1
  44. package/compat/storage/storage.d.ts +3 -3
  45. package/compat/storage/task.d.ts +1 -1
  46. package/core.d.ts +8 -12
  47. package/database/database.module.d.ts +2 -2
  48. package/docs/app-check.md +1 -1
  49. package/docs/auth.md +6 -6
  50. package/docs/database.md +1 -1
  51. package/docs/deploy/getting-started.md +2 -2
  52. package/docs/firestore.md +1 -1
  53. package/docs/install-and-setup.md +1 -1
  54. package/docs/install-firebase-tools.md +78 -0
  55. package/docs/universal/cloud-functions.md +27 -6
  56. package/docs/universal/getting-started.md +9 -134
  57. package/{esm2015/analytics/analytics.js → esm2022/analytics/analytics.mjs} +1 -1
  58. package/esm2022/analytics/analytics.module.mjs +94 -0
  59. package/esm2022/analytics/firebase.mjs +17 -0
  60. package/esm2022/analytics/is-analytics-supported-factory.mjs +16 -0
  61. package/esm2022/analytics/overrides.mjs +3 -0
  62. package/esm2022/analytics/screen-tracking.service.mjs +148 -0
  63. package/esm2022/analytics/user-tracking.service.mjs +44 -0
  64. package/{esm2015/app/app.js → esm2022/app/app.mjs} +1 -1
  65. package/esm2022/app/app.module.mjs +85 -0
  66. package/esm2022/app-check/app-check.mjs +10 -0
  67. package/esm2022/app-check/app-check.module.mjs +78 -0
  68. package/esm2022/app-check/firebase.mjs +10 -0
  69. package/esm2022/app-check/public_api.mjs +5 -0
  70. package/{esm2015/auth/auth.js → esm2022/auth/auth.mjs} +1 -1
  71. package/esm2022/auth/auth.module.mjs +71 -0
  72. package/esm2022/auth/firebase.mjs +58 -0
  73. package/esm2022/auth-guard/auth-guard.mjs +53 -0
  74. package/{esm2015/auth-guard/auth-guard.module.js → esm2022/auth-guard/auth-guard.module.mjs} +7 -7
  75. package/esm2022/compat/analytics/analytics.mjs +160 -0
  76. package/esm2022/compat/analytics/analytics.module.mjs +35 -0
  77. package/esm2022/compat/analytics/screen-tracking.service.mjs +49 -0
  78. package/esm2022/compat/analytics/user-tracking.service.mjs +53 -0
  79. package/esm2022/compat/auth/auth.mjs +161 -0
  80. package/{esm2015/compat/auth/auth.module.js → esm2022/compat/auth/auth.module.mjs} +7 -7
  81. package/{esm2015/compat/auth/public_api.js → esm2022/compat/auth/public_api.mjs} +1 -1
  82. package/esm2022/compat/auth-guard/auth-guard.mjs +53 -0
  83. package/{esm2015/compat/auth-guard/auth-guard.module.js → esm2022/compat/auth-guard/auth-guard.module.mjs} +7 -7
  84. package/{esm2015/compat/cache.js → esm2022/compat/cache.mjs} +4 -3
  85. package/esm2022/compat/database/database.mjs +119 -0
  86. package/{esm2015/compat/database/database.module.js → esm2022/compat/database/database.module.mjs} +7 -7
  87. package/esm2022/compat/database/interfaces.mjs +2 -0
  88. package/{esm2015/compat/database/list/audit-trail.js → esm2022/compat/database/list/audit-trail.mjs} +3 -3
  89. package/esm2022/compat/database/list/changes.mjs +85 -0
  90. package/esm2022/compat/database/list/create-reference.mjs +44 -0
  91. package/{esm2015/compat/database/list/data-operation.js → esm2022/compat/database/list/data-operation.mjs} +1 -1
  92. package/{esm2015/compat/database/list/snapshot-changes.js → esm2022/compat/database/list/snapshot-changes.mjs} +1 -1
  93. package/{esm2015/compat/database/list/state-changes.js → esm2022/compat/database/list/state-changes.mjs} +2 -2
  94. package/{esm2015/compat/database/object/create-reference.js → esm2022/compat/database/object/create-reference.mjs} +2 -2
  95. package/{esm2015/compat/database/object/snapshot-changes.js → esm2022/compat/database/object/snapshot-changes.mjs} +1 -1
  96. package/esm2022/compat/database/observable/fromRef.mjs +48 -0
  97. package/{esm2015/compat/database/utils.js → esm2022/compat/database/utils.mjs} +1 -1
  98. package/{esm2015/compat/firebase.app.js → esm2022/compat/firebase.app.mjs} +1 -1
  99. package/esm2022/compat/firebase.app.module.mjs +71 -0
  100. package/esm2022/compat/firestore/collection/changes.mjs +108 -0
  101. package/esm2022/compat/firestore/collection/collection.mjs +123 -0
  102. package/esm2022/compat/firestore/collection-group/collection-group.mjs +86 -0
  103. package/esm2022/compat/firestore/document/document.mjs +87 -0
  104. package/esm2022/compat/firestore/firestore.mjs +257 -0
  105. package/{esm2015/compat/firestore/firestore.module.js → esm2022/compat/firestore/firestore.module.mjs} +7 -7
  106. package/esm2022/compat/firestore/interfaces.mjs +2 -0
  107. package/esm2022/compat/firestore/observable/fromRef.mjs +40 -0
  108. package/esm2022/compat/functions/functions.mjs +69 -0
  109. package/{esm2015/compat/functions/functions.module.js → esm2022/compat/functions/functions.module.mjs} +7 -7
  110. package/{esm2015/compat/functions/public_api.js → esm2022/compat/functions/public_api.mjs} +1 -1
  111. package/esm2022/compat/messaging/messaging.mjs +81 -0
  112. package/{esm2015/compat/messaging/messaging.module.js → esm2022/compat/messaging/messaging.module.mjs} +7 -7
  113. package/esm2022/compat/performance/performance.mjs +105 -0
  114. package/esm2022/compat/performance/performance.module.mjs +27 -0
  115. package/esm2022/compat/performance/performance.service.mjs +28 -0
  116. package/esm2022/compat/proxy.mjs +58 -0
  117. package/esm2022/compat/remote-config/remote-config.mjs +206 -0
  118. package/{esm2015/compat/remote-config/remote-config.module.js → esm2022/compat/remote-config/remote-config.module.mjs} +7 -7
  119. package/esm2022/compat/storage/observable/fromTask.mjs +36 -0
  120. package/esm2022/compat/storage/pipes/storageUrl.pipe.mjs +58 -0
  121. package/{esm2015/compat/storage/ref.js → esm2022/compat/storage/ref.mjs} +3 -3
  122. package/esm2022/compat/storage/storage.mjs +95 -0
  123. package/esm2022/compat/storage/storage.module.mjs +22 -0
  124. package/{esm2015/compat/storage/task.js → esm2022/compat/storage/task.mjs} +2 -2
  125. package/esm2022/core.mjs +43 -0
  126. package/{esm2015/database/database.js → esm2022/database/database.mjs} +1 -1
  127. package/esm2022/database/database.module.mjs +74 -0
  128. package/esm2022/firestore/firebase.mjs +73 -0
  129. package/{esm2015/firestore/firestore.js → esm2022/firestore/firestore.mjs} +1 -1
  130. package/esm2022/firestore/firestore.module.mjs +74 -0
  131. package/esm2022/firestore/lite/firebase.mjs +48 -0
  132. package/{esm2015/firestore/lite/lite.js → esm2022/firestore/lite/lite.mjs} +1 -1
  133. package/esm2022/firestore/lite/lite.module.mjs +73 -0
  134. package/esm2022/firestore/lite/rxfire.mjs +12 -0
  135. package/esm2022/firestore/rxfire.mjs +15 -0
  136. package/{esm2015/functions/functions.js → esm2022/functions/functions.mjs} +1 -1
  137. package/esm2022/functions/functions.module.mjs +74 -0
  138. package/esm2022/messaging/is-messaging-supported-factory.mjs +16 -0
  139. package/{esm2015/messaging/messaging.js → esm2022/messaging/messaging.mjs} +1 -1
  140. package/esm2022/messaging/messaging.module.mjs +86 -0
  141. package/esm2022/messaging/overrides.mjs +3 -0
  142. package/{esm2015/performance/performance.js → esm2022/performance/performance.mjs} +1 -1
  143. package/esm2022/performance/performance.module.mjs +81 -0
  144. package/esm2022/remote-config/is-remote-config-supported-factory.mjs +16 -0
  145. package/esm2022/remote-config/overrides.mjs +3 -0
  146. package/{esm2015/remote-config/remote-config.js → esm2022/remote-config/remote-config.mjs} +1 -1
  147. package/esm2022/remote-config/remote-config.module.mjs +86 -0
  148. package/{esm2015/storage/storage.js → esm2022/storage/storage.mjs} +1 -1
  149. package/esm2022/storage/storage.module.mjs +74 -0
  150. package/esm2022/zones.mjs +194 -0
  151. package/{fesm2015/angular-fire-analytics.js → fesm2022/angular-fire-analytics.mjs} +68 -41
  152. package/fesm2022/angular-fire-analytics.mjs.map +1 -0
  153. package/{fesm2015/angular-fire-app-check.js → fesm2022/angular-fire-app-check.mjs} +18 -25
  154. package/fesm2022/angular-fire-app-check.mjs.map +1 -0
  155. package/{fesm2015/angular-fire-app.js → fesm2022/angular-fire-app.mjs} +10 -9
  156. package/fesm2022/angular-fire-app.mjs.map +1 -0
  157. package/{fesm2015/angular-fire-auth-guard.js → fesm2022/angular-fire-auth-guard.mjs} +31 -27
  158. package/fesm2022/angular-fire-auth-guard.mjs.map +1 -0
  159. package/{fesm2015/angular-fire-auth.js → fesm2022/angular-fire-auth.mjs} +14 -13
  160. package/fesm2022/angular-fire-auth.mjs.map +1 -0
  161. package/{fesm2015/angular-fire-compat-analytics.js → fesm2022/angular-fire-compat-analytics.mjs} +43 -41
  162. package/fesm2022/angular-fire-compat-analytics.mjs.map +1 -0
  163. package/{fesm2015/angular-fire-compat-auth-guard.js → fesm2022/angular-fire-compat-auth-guard.mjs} +30 -26
  164. package/fesm2022/angular-fire-compat-auth-guard.mjs.map +1 -0
  165. package/{fesm2015/angular-fire-compat-auth.js → fesm2022/angular-fire-compat-auth.mjs} +38 -16
  166. package/fesm2022/angular-fire-compat-auth.mjs.map +1 -0
  167. package/{fesm2015/angular-fire-compat-database.js → fesm2022/angular-fire-compat-database.mjs} +138 -132
  168. package/fesm2022/angular-fire-compat-database.mjs.map +1 -0
  169. package/{fesm2015/angular-fire-compat-firestore.js → fesm2022/angular-fire-compat-firestore.mjs} +119 -98
  170. package/fesm2022/angular-fire-compat-firestore.mjs.map +1 -0
  171. package/{fesm2015/angular-fire-compat-functions.js → fesm2022/angular-fire-compat-functions.mjs} +13 -12
  172. package/fesm2022/angular-fire-compat-functions.mjs.map +1 -0
  173. package/{fesm2015/angular-fire-compat-messaging.js → fesm2022/angular-fire-compat-messaging.mjs} +25 -19
  174. package/fesm2022/angular-fire-compat-messaging.mjs.map +1 -0
  175. package/{fesm2015/angular-fire-compat-performance.js → fesm2022/angular-fire-compat-performance.mjs} +29 -34
  176. package/fesm2022/angular-fire-compat-performance.mjs.map +1 -0
  177. package/{fesm2015/angular-fire-compat-remote-config.js → fesm2022/angular-fire-compat-remote-config.mjs} +35 -22
  178. package/fesm2022/angular-fire-compat-remote-config.mjs.map +1 -0
  179. package/{fesm2015/angular-fire-compat-storage.js → fesm2022/angular-fire-compat-storage.mjs} +30 -23
  180. package/fesm2022/angular-fire-compat-storage.mjs.map +1 -0
  181. package/{fesm2015/angular-fire-compat.js → fesm2022/angular-fire-compat.mjs} +25 -25
  182. package/fesm2022/angular-fire-compat.mjs.map +1 -0
  183. package/{fesm2015/angular-fire-database.js → fesm2022/angular-fire-database.mjs} +11 -12
  184. package/fesm2022/angular-fire-database.mjs.map +1 -0
  185. package/{fesm2015/angular-fire-firestore-lite.js → fesm2022/angular-fire-firestore-lite.mjs} +25 -15
  186. package/fesm2022/angular-fire-firestore-lite.mjs.map +1 -0
  187. package/fesm2022/angular-fire-firestore.mjs +180 -0
  188. package/fesm2022/angular-fire-firestore.mjs.map +1 -0
  189. package/{fesm2015/angular-fire-functions.js → fesm2022/angular-fire-functions.mjs} +12 -13
  190. package/fesm2022/angular-fire-functions.mjs.map +1 -0
  191. package/{fesm2015/angular-fire-messaging.js → fesm2022/angular-fire-messaging.mjs} +33 -19
  192. package/fesm2022/angular-fire-messaging.mjs.map +1 -0
  193. package/{fesm2015/angular-fire-performance.js → fesm2022/angular-fire-performance.mjs} +11 -11
  194. package/fesm2022/angular-fire-performance.mjs.map +1 -0
  195. package/{fesm2015/angular-fire-remote-config.js → fesm2022/angular-fire-remote-config.mjs} +34 -20
  196. package/fesm2022/angular-fire-remote-config.mjs.map +1 -0
  197. package/{fesm2015/angular-fire-storage.js → fesm2022/angular-fire-storage.mjs} +10 -11
  198. package/fesm2022/angular-fire-storage.mjs.map +1 -0
  199. package/{fesm2015/angular-fire.js → fesm2022/angular-fire.mjs} +33 -58
  200. package/fesm2022/angular-fire.mjs.map +1 -0
  201. package/firestore/firebase.d.ts +21 -1
  202. package/firestore/firestore.module.d.ts +2 -2
  203. package/firestore/lite/firebase.d.ts +10 -1
  204. package/firestore/lite/lite.module.d.ts +2 -2
  205. package/firestore/lite/rxfire.d.ts +3 -1
  206. package/firestore/rxfire.d.ts +3 -1
  207. package/functions/functions.module.d.ts +2 -2
  208. package/messaging/is-messaging-supported-factory.d.ts +4 -0
  209. package/messaging/messaging.module.d.ts +2 -2
  210. package/package.json +170 -20
  211. package/performance/performance.module.d.ts +2 -2
  212. package/remote-config/is-remote-config-supported-factory.d.ts +4 -0
  213. package/remote-config/remote-config.module.d.ts +2 -2
  214. package/schematics/add/index.js +2 -2
  215. package/schematics/common.js +9 -5
  216. package/schematics/deploy/actions.js +69 -69
  217. package/schematics/deploy/builder.js +7 -7
  218. package/schematics/firebaseTools.js +9 -5
  219. package/schematics/interfaces.js +9 -8
  220. package/schematics/setup/index.js +48 -64
  221. package/schematics/setup/prompts.js +22 -18
  222. package/schematics/update/index.js +1 -1
  223. package/schematics/update/v7/index.js +7 -7
  224. package/schematics/utils.js +87 -71
  225. package/storage/storage.module.d.ts +2 -2
  226. package/analytics/package.json +0 -11
  227. package/app/package.json +0 -11
  228. package/app-check/package.json +0 -11
  229. package/auth/package.json +0 -11
  230. package/auth-guard/package.json +0 -11
  231. package/bundles/angular-fire-analytics.umd.js +0 -673
  232. package/bundles/angular-fire-analytics.umd.js.map +0 -1
  233. package/bundles/angular-fire-app-check.umd.js +0 -465
  234. package/bundles/angular-fire-app-check.umd.js.map +0 -1
  235. package/bundles/angular-fire-app.umd.js +0 -477
  236. package/bundles/angular-fire-app.umd.js.map +0 -1
  237. package/bundles/angular-fire-auth-guard.umd.js +0 -109
  238. package/bundles/angular-fire-auth-guard.umd.js.map +0 -1
  239. package/bundles/angular-fire-auth.umd.js +0 -557
  240. package/bundles/angular-fire-auth.umd.js.map +0 -1
  241. package/bundles/angular-fire-compat-analytics.umd.js +0 -672
  242. package/bundles/angular-fire-compat-analytics.umd.js.map +0 -1
  243. package/bundles/angular-fire-compat-auth-guard.umd.js +0 -112
  244. package/bundles/angular-fire-compat-auth-guard.umd.js.map +0 -1
  245. package/bundles/angular-fire-compat-auth.umd.js +0 -559
  246. package/bundles/angular-fire-compat-auth.umd.js.map +0 -1
  247. package/bundles/angular-fire-compat-database.umd.js +0 -799
  248. package/bundles/angular-fire-compat-database.umd.js.map +0 -1
  249. package/bundles/angular-fire-compat-firestore.umd.js +0 -1073
  250. package/bundles/angular-fire-compat-firestore.umd.js.map +0 -1
  251. package/bundles/angular-fire-compat-functions.umd.js +0 -443
  252. package/bundles/angular-fire-compat-functions.umd.js.map +0 -1
  253. package/bundles/angular-fire-compat-messaging.umd.js +0 -465
  254. package/bundles/angular-fire-compat-messaging.umd.js.map +0 -1
  255. package/bundles/angular-fire-compat-performance.umd.js +0 -212
  256. package/bundles/angular-fire-compat-performance.umd.js.map +0 -1
  257. package/bundles/angular-fire-compat-remote-config.umd.js +0 -605
  258. package/bundles/angular-fire-compat-remote-config.umd.js.map +0 -1
  259. package/bundles/angular-fire-compat-storage.umd.js +0 -598
  260. package/bundles/angular-fire-compat-storage.umd.js.map +0 -1
  261. package/bundles/angular-fire-compat.umd.js +0 -535
  262. package/bundles/angular-fire-compat.umd.js.map +0 -1
  263. package/bundles/angular-fire-database.umd.js +0 -557
  264. package/bundles/angular-fire-database.umd.js.map +0 -1
  265. package/bundles/angular-fire-firestore-lite.umd.js +0 -531
  266. package/bundles/angular-fire-firestore-lite.umd.js.map +0 -1
  267. package/bundles/angular-fire-firestore.umd.js +0 -565
  268. package/bundles/angular-fire-firestore.umd.js.map +0 -1
  269. package/bundles/angular-fire-functions.umd.js +0 -461
  270. package/bundles/angular-fire-functions.umd.js.map +0 -1
  271. package/bundles/angular-fire-messaging.umd.js +0 -473
  272. package/bundles/angular-fire-messaging.umd.js.map +0 -1
  273. package/bundles/angular-fire-performance.umd.js +0 -473
  274. package/bundles/angular-fire-performance.umd.js.map +0 -1
  275. package/bundles/angular-fire-remote-config.umd.js +0 -499
  276. package/bundles/angular-fire-remote-config.umd.js.map +0 -1
  277. package/bundles/angular-fire-storage.umd.js +0 -485
  278. package/bundles/angular-fire-storage.umd.js.map +0 -1
  279. package/bundles/angular-fire.umd.js +0 -308
  280. package/bundles/angular-fire.umd.js.map +0 -1
  281. package/compat/analytics/package.json +0 -11
  282. package/compat/auth/package.json +0 -11
  283. package/compat/auth-guard/package.json +0 -11
  284. package/compat/database/package.json +0 -11
  285. package/compat/firestore/package.json +0 -11
  286. package/compat/functions/package.json +0 -11
  287. package/compat/messaging/package.json +0 -11
  288. package/compat/package.json +0 -11
  289. package/compat/performance/package.json +0 -11
  290. package/compat/remote-config/package.json +0 -11
  291. package/compat/storage/package.json +0 -11
  292. package/database/package.json +0 -11
  293. package/esm2015/analytics/analytics.module.js +0 -93
  294. package/esm2015/analytics/firebase.js +0 -14
  295. package/esm2015/analytics/overrides.js +0 -3
  296. package/esm2015/analytics/screen-tracking.service.js +0 -139
  297. package/esm2015/analytics/user-tracking.service.js +0 -43
  298. package/esm2015/app/app.module.js +0 -84
  299. package/esm2015/app-check/app-check.js +0 -16
  300. package/esm2015/app-check/app-check.module.js +0 -81
  301. package/esm2015/app-check/firebase.js +0 -9
  302. package/esm2015/app-check/public_api.js +0 -4
  303. package/esm2015/auth/auth.module.js +0 -71
  304. package/esm2015/auth/firebase.js +0 -56
  305. package/esm2015/auth-guard/auth-guard.js +0 -49
  306. package/esm2015/compat/analytics/analytics.js +0 -163
  307. package/esm2015/compat/analytics/analytics.module.js +0 -32
  308. package/esm2015/compat/analytics/screen-tracking.service.js +0 -49
  309. package/esm2015/compat/analytics/user-tracking.service.js +0 -52
  310. package/esm2015/compat/auth/auth.js +0 -139
  311. package/esm2015/compat/auth-guard/auth-guard.js +0 -49
  312. package/esm2015/compat/database/database.js +0 -117
  313. package/esm2015/compat/database/interfaces.js +0 -2
  314. package/esm2015/compat/database/list/changes.js +0 -85
  315. package/esm2015/compat/database/list/create-reference.js +0 -41
  316. package/esm2015/compat/database/observable/fromRef.js +0 -47
  317. package/esm2015/compat/firebase.app.module.js +0 -69
  318. package/esm2015/compat/firestore/collection/changes.js +0 -107
  319. package/esm2015/compat/firestore/collection/collection.js +0 -117
  320. package/esm2015/compat/firestore/collection-group/collection-group.js +0 -81
  321. package/esm2015/compat/firestore/document/document.js +0 -82
  322. package/esm2015/compat/firestore/firestore.js +0 -254
  323. package/esm2015/compat/firestore/interfaces.js +0 -2
  324. package/esm2015/compat/firestore/observable/fromRef.js +0 -39
  325. package/esm2015/compat/functions/functions.js +0 -68
  326. package/esm2015/compat/messaging/messaging.js +0 -75
  327. package/esm2015/compat/performance/performance.js +0 -110
  328. package/esm2015/compat/performance/performance.module.js +0 -28
  329. package/esm2015/compat/performance/performance.service.js +0 -27
  330. package/esm2015/compat/proxy.js +0 -61
  331. package/esm2015/compat/remote-config/remote-config.js +0 -193
  332. package/esm2015/compat/storage/observable/fromTask.js +0 -34
  333. package/esm2015/compat/storage/pipes/storageUrl.pipe.js +0 -54
  334. package/esm2015/compat/storage/storage.js +0 -94
  335. package/esm2015/compat/storage/storage.module.js +0 -22
  336. package/esm2015/core.js +0 -79
  337. package/esm2015/database/database.module.js +0 -74
  338. package/esm2015/firestore/firebase.js +0 -53
  339. package/esm2015/firestore/firestore.module.js +0 -74
  340. package/esm2015/firestore/lite/firebase.js +0 -39
  341. package/esm2015/firestore/lite/lite.module.js +0 -74
  342. package/esm2015/firestore/lite/rxfire.js +0 -10
  343. package/esm2015/firestore/rxfire.js +0 -13
  344. package/esm2015/functions/functions.module.js +0 -74
  345. package/esm2015/messaging/messaging.module.js +0 -85
  346. package/esm2015/messaging/overrides.js +0 -3
  347. package/esm2015/performance/performance.module.js +0 -81
  348. package/esm2015/remote-config/overrides.js +0 -3
  349. package/esm2015/remote-config/remote-config.module.js +0 -85
  350. package/esm2015/storage/storage.module.js +0 -74
  351. package/esm2015/zones.js +0 -183
  352. package/fesm2015/angular-fire-analytics.js.map +0 -1
  353. package/fesm2015/angular-fire-app-check.js.map +0 -1
  354. package/fesm2015/angular-fire-app.js.map +0 -1
  355. package/fesm2015/angular-fire-auth-guard.js.map +0 -1
  356. package/fesm2015/angular-fire-auth.js.map +0 -1
  357. package/fesm2015/angular-fire-compat-analytics.js.map +0 -1
  358. package/fesm2015/angular-fire-compat-auth-guard.js.map +0 -1
  359. package/fesm2015/angular-fire-compat-auth.js.map +0 -1
  360. package/fesm2015/angular-fire-compat-database.js.map +0 -1
  361. package/fesm2015/angular-fire-compat-firestore.js.map +0 -1
  362. package/fesm2015/angular-fire-compat-functions.js.map +0 -1
  363. package/fesm2015/angular-fire-compat-messaging.js.map +0 -1
  364. package/fesm2015/angular-fire-compat-performance.js.map +0 -1
  365. package/fesm2015/angular-fire-compat-remote-config.js.map +0 -1
  366. package/fesm2015/angular-fire-compat-storage.js.map +0 -1
  367. package/fesm2015/angular-fire-compat.js.map +0 -1
  368. package/fesm2015/angular-fire-database.js.map +0 -1
  369. package/fesm2015/angular-fire-firestore-lite.js.map +0 -1
  370. package/fesm2015/angular-fire-firestore.js +0 -159
  371. package/fesm2015/angular-fire-firestore.js.map +0 -1
  372. package/fesm2015/angular-fire-functions.js.map +0 -1
  373. package/fesm2015/angular-fire-messaging.js.map +0 -1
  374. package/fesm2015/angular-fire-performance.js.map +0 -1
  375. package/fesm2015/angular-fire-remote-config.js.map +0 -1
  376. package/fesm2015/angular-fire-storage.js.map +0 -1
  377. package/fesm2015/angular-fire.js.map +0 -1
  378. package/firestore/lite/package.json +0 -11
  379. package/firestore/package.json +0 -11
  380. package/firestore-protos.js +0 -4
  381. package/functions/package.json +0 -11
  382. package/messaging/package.json +0 -11
  383. package/performance/package.json +0 -11
  384. package/remote-config/package.json +0 -11
  385. package/storage/package.json +0 -11
  386. /package/analytics/{angular-fire-analytics.d.ts → index.d.ts} +0 -0
  387. /package/app/{angular-fire-app.d.ts → index.d.ts} +0 -0
  388. /package/app-check/{angular-fire-app-check.d.ts → index.d.ts} +0 -0
  389. /package/auth/{angular-fire-auth.d.ts → index.d.ts} +0 -0
  390. /package/auth-guard/{angular-fire-auth-guard.d.ts → index.d.ts} +0 -0
  391. /package/compat/analytics/{angular-fire-compat-analytics.d.ts → index.d.ts} +0 -0
  392. /package/compat/auth/{angular-fire-compat-auth.d.ts → index.d.ts} +0 -0
  393. /package/compat/auth-guard/{angular-fire-compat-auth-guard.d.ts → index.d.ts} +0 -0
  394. /package/compat/database/{angular-fire-compat-database.d.ts → index.d.ts} +0 -0
  395. /package/compat/firestore/{angular-fire-compat-firestore.d.ts → index.d.ts} +0 -0
  396. /package/compat/functions/{angular-fire-compat-functions.d.ts → index.d.ts} +0 -0
  397. /package/compat/{angular-fire-compat.d.ts → index.d.ts} +0 -0
  398. /package/compat/messaging/{angular-fire-compat-messaging.d.ts → index.d.ts} +0 -0
  399. /package/compat/performance/{angular-fire-compat-performance.d.ts → index.d.ts} +0 -0
  400. /package/compat/remote-config/{angular-fire-compat-remote-config.d.ts → index.d.ts} +0 -0
  401. /package/compat/storage/{angular-fire-compat-storage.d.ts → index.d.ts} +0 -0
  402. /package/database/{angular-fire-database.d.ts → index.d.ts} +0 -0
  403. /package/{esm2015/analytics/angular-fire-analytics.js → esm2022/analytics/angular-fire-analytics.mjs} +0 -0
  404. /package/{esm2015/analytics/public_api.js → esm2022/analytics/public_api.mjs} +0 -0
  405. /package/{esm2015/angular-fire.js → esm2022/angular-fire.mjs} +0 -0
  406. /package/{esm2015/app/angular-fire-app.js → esm2022/app/angular-fire-app.mjs} +0 -0
  407. /package/{esm2015/app/firebase.js → esm2022/app/firebase.mjs} +0 -0
  408. /package/{esm2015/app/public_api.js → esm2022/app/public_api.mjs} +0 -0
  409. /package/{esm2015/app-check/angular-fire-app-check.js → esm2022/app-check/angular-fire-app-check.mjs} +0 -0
  410. /package/{esm2015/auth/angular-fire-auth.js → esm2022/auth/angular-fire-auth.mjs} +0 -0
  411. /package/{esm2015/auth/public_api.js → esm2022/auth/public_api.mjs} +0 -0
  412. /package/{esm2015/auth/rxfire.js → esm2022/auth/rxfire.mjs} +0 -0
  413. /package/{esm2015/auth-guard/angular-fire-auth-guard.js → esm2022/auth-guard/angular-fire-auth-guard.mjs} +0 -0
  414. /package/{esm2015/auth-guard/public_api.js → esm2022/auth-guard/public_api.mjs} +0 -0
  415. /package/{esm2015/compat/analytics/angular-fire-compat-analytics.js → esm2022/compat/analytics/angular-fire-compat-analytics.mjs} +0 -0
  416. /package/{esm2015/compat/analytics/base.js → esm2022/compat/analytics/base.mjs} +0 -0
  417. /package/{esm2015/compat/analytics/public_api.js → esm2022/compat/analytics/public_api.mjs} +0 -0
  418. /package/{esm2015/compat/angular-fire-compat.js → esm2022/compat/angular-fire-compat.mjs} +0 -0
  419. /package/{esm2015/compat/auth/angular-fire-compat-auth.js → esm2022/compat/auth/angular-fire-compat-auth.mjs} +0 -0
  420. /package/{esm2015/compat/auth/base.js → esm2022/compat/auth/base.mjs} +0 -0
  421. /package/{esm2015/compat/auth-guard/angular-fire-compat-auth-guard.js → esm2022/compat/auth-guard/angular-fire-compat-auth-guard.mjs} +0 -0
  422. /package/{esm2015/compat/auth-guard/public_api.js → esm2022/compat/auth-guard/public_api.mjs} +0 -0
  423. /package/{esm2015/compat/database/angular-fire-compat-database.js → esm2022/compat/database/angular-fire-compat-database.mjs} +0 -0
  424. /package/{esm2015/compat/database/list/remove.js → esm2022/compat/database/list/remove.mjs} +0 -0
  425. /package/{esm2015/compat/database/list/utils.js → esm2022/compat/database/list/utils.mjs} +0 -0
  426. /package/{esm2015/compat/database/public_api.js → esm2022/compat/database/public_api.mjs} +0 -0
  427. /package/{esm2015/compat/firestore/angular-fire-compat-firestore.js → esm2022/compat/firestore/angular-fire-compat-firestore.mjs} +0 -0
  428. /package/{esm2015/compat/firestore/public_api.js → esm2022/compat/firestore/public_api.mjs} +0 -0
  429. /package/{esm2015/compat/functions/angular-fire-compat-functions.js → esm2022/compat/functions/angular-fire-compat-functions.mjs} +0 -0
  430. /package/{esm2015/compat/functions/base.js → esm2022/compat/functions/base.mjs} +0 -0
  431. /package/{esm2015/compat/messaging/angular-fire-compat-messaging.js → esm2022/compat/messaging/angular-fire-compat-messaging.mjs} +0 -0
  432. /package/{esm2015/compat/messaging/base.js → esm2022/compat/messaging/base.mjs} +0 -0
  433. /package/{esm2015/compat/messaging/public_api.js → esm2022/compat/messaging/public_api.mjs} +0 -0
  434. /package/{esm2015/compat/performance/angular-fire-compat-performance.js → esm2022/compat/performance/angular-fire-compat-performance.mjs} +0 -0
  435. /package/{esm2015/compat/performance/base.js → esm2022/compat/performance/base.mjs} +0 -0
  436. /package/{esm2015/compat/performance/public_api.js → esm2022/compat/performance/public_api.mjs} +0 -0
  437. /package/{esm2015/compat/public_api.js → esm2022/compat/public_api.mjs} +0 -0
  438. /package/{esm2015/compat/remote-config/angular-fire-compat-remote-config.js → esm2022/compat/remote-config/angular-fire-compat-remote-config.mjs} +0 -0
  439. /package/{esm2015/compat/remote-config/base.js → esm2022/compat/remote-config/base.mjs} +0 -0
  440. /package/{esm2015/compat/remote-config/interfaces.js → esm2022/compat/remote-config/interfaces.mjs} +0 -0
  441. /package/{esm2015/compat/remote-config/public_api.js → esm2022/compat/remote-config/public_api.mjs} +0 -0
  442. /package/{esm2015/compat/storage/angular-fire-compat-storage.js → esm2022/compat/storage/angular-fire-compat-storage.mjs} +0 -0
  443. /package/{esm2015/compat/storage/interfaces.js → esm2022/compat/storage/interfaces.mjs} +0 -0
  444. /package/{esm2015/compat/storage/public_api.js → esm2022/compat/storage/public_api.mjs} +0 -0
  445. /package/{esm2015/database/angular-fire-database.js → esm2022/database/angular-fire-database.mjs} +0 -0
  446. /package/{esm2015/database/firebase.js → esm2022/database/firebase.mjs} +0 -0
  447. /package/{esm2015/database/public_api.js → esm2022/database/public_api.mjs} +0 -0
  448. /package/{esm2015/database/rxfire.js → esm2022/database/rxfire.mjs} +0 -0
  449. /package/{esm2015/firestore/angular-fire-firestore.js → esm2022/firestore/angular-fire-firestore.mjs} +0 -0
  450. /package/{esm2015/firestore/lite/angular-fire-firestore-lite.js → esm2022/firestore/lite/angular-fire-firestore-lite.mjs} +0 -0
  451. /package/{esm2015/firestore/lite/public_api.js → esm2022/firestore/lite/public_api.mjs} +0 -0
  452. /package/{esm2015/firestore/public_api.js → esm2022/firestore/public_api.mjs} +0 -0
  453. /package/{esm2015/functions/angular-fire-functions.js → esm2022/functions/angular-fire-functions.mjs} +0 -0
  454. /package/{esm2015/functions/firebase.js → esm2022/functions/firebase.mjs} +0 -0
  455. /package/{esm2015/functions/public_api.js → esm2022/functions/public_api.mjs} +0 -0
  456. /package/{esm2015/functions/rxfire.js → esm2022/functions/rxfire.mjs} +0 -0
  457. /package/{esm2015/messaging/angular-fire-messaging.js → esm2022/messaging/angular-fire-messaging.mjs} +0 -0
  458. /package/{esm2015/messaging/firebase.js → esm2022/messaging/firebase.mjs} +0 -0
  459. /package/{esm2015/messaging/public_api.js → esm2022/messaging/public_api.mjs} +0 -0
  460. /package/{esm2015/performance/angular-fire-performance.js → esm2022/performance/angular-fire-performance.mjs} +0 -0
  461. /package/{esm2015/performance/firebase.js → esm2022/performance/firebase.mjs} +0 -0
  462. /package/{esm2015/performance/public_api.js → esm2022/performance/public_api.mjs} +0 -0
  463. /package/{esm2015/performance/rxfire.js → esm2022/performance/rxfire.mjs} +0 -0
  464. /package/{esm2015/public_api.js → esm2022/public_api.mjs} +0 -0
  465. /package/{esm2015/remote-config/angular-fire-remote-config.js → esm2022/remote-config/angular-fire-remote-config.mjs} +0 -0
  466. /package/{esm2015/remote-config/firebase.js → esm2022/remote-config/firebase.mjs} +0 -0
  467. /package/{esm2015/remote-config/public_api.js → esm2022/remote-config/public_api.mjs} +0 -0
  468. /package/{esm2015/remote-config/rxfire.js → esm2022/remote-config/rxfire.mjs} +0 -0
  469. /package/{esm2015/storage/angular-fire-storage.js → esm2022/storage/angular-fire-storage.mjs} +0 -0
  470. /package/{esm2015/storage/firebase.js → esm2022/storage/firebase.mjs} +0 -0
  471. /package/{esm2015/storage/public_api.js → esm2022/storage/public_api.mjs} +0 -0
  472. /package/{esm2015/storage/rxfire.js → esm2022/storage/rxfire.mjs} +0 -0
  473. /package/firestore/{angular-fire-firestore.d.ts → index.d.ts} +0 -0
  474. /package/firestore/lite/{angular-fire-firestore-lite.d.ts → index.d.ts} +0 -0
  475. /package/functions/{angular-fire-functions.d.ts → index.d.ts} +0 -0
  476. /package/{angular-fire.d.ts → index.d.ts} +0 -0
  477. /package/messaging/{angular-fire-messaging.d.ts → index.d.ts} +0 -0
  478. /package/performance/{angular-fire-performance.d.ts → index.d.ts} +0 -0
  479. /package/remote-config/{angular-fire-remote-config.d.ts → index.d.ts} +0 -0
  480. /package/storage/{angular-fire-storage.d.ts → index.d.ts} +0 -0
@@ -1,308 +0,0 @@
1
- (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('firebase/app'), require('firebase/remote-config'), require('firebase/messaging'), require('firebase/analytics'), require('rxjs'), require('rxjs/operators')) :
3
- typeof define === 'function' && define.amd ? define('@angular/fire', ['exports', '@angular/core', 'firebase/app', 'firebase/remote-config', 'firebase/messaging', 'firebase/analytics', 'rxjs', 'rxjs/operators'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.angular = global.angular || {}, global.angular.fire = {}), global.ng, global.firebase, global.remoteConfig, global.messaging, global.analytics, global.rxjs, global.rxjs.operators));
5
- }(this, (function (exports, i0, app, remoteConfig, messaging, analytics, rxjs, operators) { 'use strict';
6
-
7
- function _interopNamespace(e) {
8
- if (e && e.__esModule) return e;
9
- var n = Object.create(null);
10
- if (e) {
11
- Object.keys(e).forEach(function (k) {
12
- if (k !== 'default') {
13
- var d = Object.getOwnPropertyDescriptor(e, k);
14
- Object.defineProperty(n, k, d.get ? d : {
15
- enumerable: true,
16
- get: function () {
17
- return e[k];
18
- }
19
- });
20
- }
21
- });
22
- }
23
- n['default'] = e;
24
- return Object.freeze(n);
25
- }
26
-
27
- var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
28
-
29
- var VERSION = new i0.Version('7.6.0');
30
- var isAnalyticsSupportedValueSymbol = '__angularfire_symbol__analyticsIsSupportedValue';
31
- var isAnalyticsSupportedPromiseSymbol = '__angularfire_symbol__analyticsIsSupported';
32
- var isRemoteConfigSupportedValueSymbol = '__angularfire_symbol__remoteConfigIsSupportedValue';
33
- var isRemoteConfigSupportedPromiseSymbol = '__angularfire_symbol__remoteConfigIsSupported';
34
- var isMessagingSupportedValueSymbol = '__angularfire_symbol__messagingIsSupportedValue';
35
- var isMessagingSupportedPromiseSymbol = '__angularfire_symbol__messagingIsSupported';
36
- globalThis[isAnalyticsSupportedPromiseSymbol] || (globalThis[isAnalyticsSupportedPromiseSymbol] = analytics.isSupported().then(function (it) { return globalThis[isAnalyticsSupportedValueSymbol] = it; }).catch(function () { return globalThis[isAnalyticsSupportedValueSymbol] = false; }));
37
- globalThis[isMessagingSupportedPromiseSymbol] || (globalThis[isMessagingSupportedPromiseSymbol] = messaging.isSupported().then(function (it) { return globalThis[isMessagingSupportedValueSymbol] = it; }).catch(function () { return globalThis[isMessagingSupportedValueSymbol] = false; }));
38
- globalThis[isRemoteConfigSupportedPromiseSymbol] || (globalThis[isRemoteConfigSupportedPromiseSymbol] = remoteConfig.isSupported().then(function (it) { return globalThis[isRemoteConfigSupportedValueSymbol] = it; }).catch(function () { return globalThis[isRemoteConfigSupportedValueSymbol] = false; }));
39
- var isSupportedError = function (module) { return "The APP_INITIALIZER that is \"making\" isSupported() sync for the sake of convenient DI has not resolved in this\ncontext. Rather than injecting " + module + " in the constructor, first ensure that " + module + " is supported by calling\n`await isSupported()`, then retrieve the instance from the injector manually `injector.get(" + module + ")`."; };
40
- var ɵisMessagingSupportedFactory = {
41
- async: function () { return globalThis[isMessagingSupportedPromiseSymbol]; },
42
- sync: function () {
43
- var ret = globalThis[isMessagingSupportedValueSymbol];
44
- if (ret === undefined) {
45
- throw new Error(isSupportedError('Messaging'));
46
- }
47
- return ret;
48
- }
49
- };
50
- var ɵisRemoteConfigSupportedFactory = {
51
- async: function () { return globalThis[isRemoteConfigSupportedPromiseSymbol]; },
52
- sync: function () {
53
- var ret = globalThis[isRemoteConfigSupportedValueSymbol];
54
- if (ret === undefined) {
55
- throw new Error(isSupportedError('RemoteConfig'));
56
- }
57
- return ret;
58
- }
59
- };
60
- var ɵisAnalyticsSupportedFactory = {
61
- async: function () { return globalThis[isAnalyticsSupportedPromiseSymbol]; },
62
- sync: function () {
63
- var ret = globalThis[isAnalyticsSupportedValueSymbol];
64
- if (ret === undefined) {
65
- throw new Error(isSupportedError('Analytics'));
66
- }
67
- return ret;
68
- }
69
- };
70
- function ɵgetDefaultInstanceOf(identifier, provided, defaultApp) {
71
- if (provided) {
72
- // Was provide* only called once? If so grab that
73
- if (provided.length === 1) {
74
- return provided[0];
75
- }
76
- var providedUsingDefaultApp = provided.filter(function (it) { return it.app === defaultApp; });
77
- // Was provide* only called once, using the default app? If so use that
78
- if (providedUsingDefaultApp.length === 1) {
79
- return providedUsingDefaultApp[0];
80
- }
81
- }
82
- // Grab the default instance from the defaultApp
83
- var defaultAppWithContainer = defaultApp;
84
- var provider = defaultAppWithContainer.container.getProvider(identifier);
85
- return provider.getImmediate({ optional: true });
86
- }
87
- var ɵgetAllInstancesOf = function (identifier, app$1) {
88
- var apps = app$1 ? [app$1] : app.getApps();
89
- var instances = [];
90
- apps.forEach(function (app) {
91
- var provider = app.container.getProvider(identifier);
92
- provider.instances.forEach(function (instance) {
93
- if (!instances.includes(instance)) {
94
- instances.push(instance);
95
- }
96
- });
97
- });
98
- return instances;
99
- };
100
-
101
- var _this_1 = this;
102
- function noop() {
103
- }
104
- /**
105
- * Schedules tasks so that they are invoked inside the Zone that is passed in the constructor.
106
- */
107
- // tslint:disable-next-line:class-name
108
- var ɵZoneScheduler = /** @class */ (function () {
109
- function ɵZoneScheduler(zone, delegate) {
110
- if (delegate === void 0) { delegate = rxjs.queueScheduler; }
111
- this.zone = zone;
112
- this.delegate = delegate;
113
- }
114
- ɵZoneScheduler.prototype.now = function () {
115
- return this.delegate.now();
116
- };
117
- ɵZoneScheduler.prototype.schedule = function (work, delay, state) {
118
- var targetZone = this.zone;
119
- // Wrap the specified work function to make sure that if nested scheduling takes place the
120
- // work is executed in the correct zone
121
- var workInZone = function (state) {
122
- var _this_1 = this;
123
- targetZone.runGuarded(function () {
124
- work.apply(_this_1, [state]);
125
- });
126
- };
127
- // Scheduling itself needs to be run in zone to ensure setInterval calls for async scheduling are done
128
- // inside the correct zone. This scheduler needs to schedule asynchronously always to ensure that
129
- // firebase emissions are never synchronous. Specifying a delay causes issues with the queueScheduler delegate.
130
- return this.delegate.schedule(workInZone, delay, state);
131
- };
132
- return ɵZoneScheduler;
133
- }());
134
- var BlockUntilFirstOperator = /** @class */ (function () {
135
- function BlockUntilFirstOperator(zone) {
136
- this.zone = zone;
137
- this.task = null;
138
- }
139
- BlockUntilFirstOperator.prototype.call = function (subscriber, source) {
140
- var unscheduleTask = this.unscheduleTask.bind(this);
141
- this.task = this.zone.run(function () { return Zone.current.scheduleMacroTask('firebaseZoneBlock', noop, {}, noop, noop); });
142
- return source.pipe(operators.tap({ next: unscheduleTask, complete: unscheduleTask, error: unscheduleTask })).subscribe(subscriber).add(unscheduleTask);
143
- };
144
- BlockUntilFirstOperator.prototype.unscheduleTask = function () {
145
- var _this_1 = this;
146
- // maybe this is a race condition, invoke in a timeout
147
- // hold for 10ms while I try to figure out what is going on
148
- setTimeout(function () {
149
- if (_this_1.task != null && _this_1.task.state === 'scheduled') {
150
- _this_1.task.invoke();
151
- _this_1.task = null;
152
- }
153
- }, 10);
154
- };
155
- return BlockUntilFirstOperator;
156
- }());
157
- // tslint:disable-next-line:class-name
158
- var ɵAngularFireSchedulers = /** @class */ (function () {
159
- function ɵAngularFireSchedulers(ngZone) {
160
- this.ngZone = ngZone;
161
- this.outsideAngular = ngZone.runOutsideAngular(function () { return new ɵZoneScheduler(Zone.current); });
162
- this.insideAngular = ngZone.run(function () { return new ɵZoneScheduler(Zone.current, rxjs.asyncScheduler); });
163
- globalThis.ɵAngularFireScheduler || (globalThis.ɵAngularFireScheduler = this);
164
- }
165
- return ɵAngularFireSchedulers;
166
- }());
167
- ɵAngularFireSchedulers.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.1.3", ngImport: i0__namespace, type: ɵAngularFireSchedulers, deps: [{ token: i0__namespace.NgZone }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
168
- ɵAngularFireSchedulers.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.1.3", ngImport: i0__namespace, type: ɵAngularFireSchedulers, providedIn: 'root' });
169
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.1.3", ngImport: i0__namespace, type: ɵAngularFireSchedulers, decorators: [{
170
- type: i0.Injectable,
171
- args: [{
172
- providedIn: 'root',
173
- }]
174
- }], ctorParameters: function () { return [{ type: i0__namespace.NgZone }]; } });
175
- function getSchedulers() {
176
- var schedulers = globalThis.ɵAngularFireScheduler;
177
- if (!schedulers) {
178
- throw new Error("Either AngularFireModule has not been provided in your AppModule (this can be done manually or implictly using\nprovideFirebaseApp) or you're calling an AngularFire method outside of an NgModule (which is not supported).");
179
- }
180
- return schedulers;
181
- }
182
- function runOutsideAngular(fn) {
183
- return getSchedulers().ngZone.runOutsideAngular(function () { return fn(); });
184
- }
185
- function run(fn) {
186
- return getSchedulers().ngZone.run(function () { return fn(); });
187
- }
188
- function observeOutsideAngular(obs$) {
189
- return obs$.pipe(operators.observeOn(getSchedulers().outsideAngular));
190
- }
191
- function observeInsideAngular(obs$) {
192
- return obs$.pipe(operators.observeOn(getSchedulers().insideAngular));
193
- }
194
- function keepUnstableUntilFirst(obs$) {
195
- var scheduler = getSchedulers();
196
- return ɵkeepUnstableUntilFirstFactory(getSchedulers())(obs$);
197
- }
198
- /**
199
- * Operator to block the zone until the first value has been emitted or the observable
200
- * has completed/errored. This is used to make sure that universal waits until the first
201
- * value from firebase but doesn't block the zone forever since the firebase subscription
202
- * is still alive.
203
- */
204
- function ɵkeepUnstableUntilFirstFactory(schedulers) {
205
- return function keepUnstableUntilFirst(obs$) {
206
- obs$ = obs$.lift(new BlockUntilFirstOperator(schedulers.ngZone));
207
- return obs$.pipe(
208
- // Run the subscribe body outside of Angular (e.g. calling Firebase SDK to add a listener to a change event)
209
- operators.subscribeOn(schedulers.outsideAngular),
210
- // Run operators inside the angular zone (e.g. side effects via tap())
211
- operators.observeOn(schedulers.insideAngular)
212
- // INVESTIGATE https://github.com/angular/angularfire/pull/2315
213
- // share()
214
- );
215
- };
216
- }
217
- var zoneWrapFn = function (it, macrotask) {
218
- var _this = _this_1;
219
- // function() is needed for the arguments object
220
- // tslint:disable-next-line:only-arrow-functions
221
- return function () {
222
- var _arguments = arguments;
223
- if (macrotask) {
224
- setTimeout(function () {
225
- if (macrotask.state === 'scheduled') {
226
- macrotask.invoke();
227
- }
228
- }, 10);
229
- }
230
- return run(function () { return it.apply(_this, _arguments); });
231
- };
232
- };
233
- var ɵzoneWrap = function (it, blockUntilFirst) {
234
- // function() is needed for the arguments object
235
- // tslint:disable-next-line:only-arrow-functions
236
- return function () {
237
- var _this_1 = this;
238
- var macrotask;
239
- var _arguments = arguments;
240
- // if this is a callback function, e.g, onSnapshot, we should create a microtask and invoke it
241
- // only once one of the callback functions is tripped.
242
- for (var i = 0; i < arguments.length; i++) {
243
- if (typeof _arguments[i] === 'function') {
244
- if (blockUntilFirst) {
245
- macrotask || (macrotask = run(function () { return Zone.current.scheduleMacroTask('firebaseZoneBlock', noop, {}, noop, noop); }));
246
- }
247
- // TODO create a microtask to track callback functions
248
- _arguments[i] = zoneWrapFn(_arguments[i], macrotask);
249
- }
250
- }
251
- var ret = runOutsideAngular(function () { return it.apply(_this_1, _arguments); });
252
- if (!blockUntilFirst) {
253
- if (ret instanceof rxjs.Observable) {
254
- var schedulers = getSchedulers();
255
- return ret.pipe(operators.subscribeOn(schedulers.outsideAngular), operators.observeOn(schedulers.insideAngular));
256
- }
257
- else {
258
- return run(function () { return ret; });
259
- }
260
- }
261
- if (ret instanceof rxjs.Observable) {
262
- return ret.pipe(keepUnstableUntilFirst);
263
- }
264
- else if (ret instanceof Promise) {
265
- return run(function () { return new Promise(function (resolve, reject) { return ret.then(function (it) { return run(function () { return resolve(it); }); }, function (reason) { return run(function () { return reject(reason); }); }); }); });
266
- }
267
- else if (typeof ret === 'function' && macrotask) {
268
- // Handle unsubscribe
269
- // function() is needed for the arguments object
270
- // tslint:disable-next-line:only-arrow-functions
271
- return function () {
272
- setTimeout(function () {
273
- if (macrotask && macrotask.state === 'scheduled') {
274
- macrotask.invoke();
275
- }
276
- }, 10);
277
- return ret.apply(this, arguments);
278
- };
279
- }
280
- else {
281
- // TODO how do we handle storage uploads in Zone? and other stuff with cancel() etc?
282
- return run(function () { return ret; });
283
- }
284
- };
285
- };
286
-
287
- /**
288
- * Generated bundle index. Do not edit.
289
- */
290
-
291
- exports.VERSION = VERSION;
292
- exports.keepUnstableUntilFirst = keepUnstableUntilFirst;
293
- exports.observeInsideAngular = observeInsideAngular;
294
- exports.observeOutsideAngular = observeOutsideAngular;
295
- exports.ɵAngularFireSchedulers = ɵAngularFireSchedulers;
296
- exports.ɵZoneScheduler = ɵZoneScheduler;
297
- exports.ɵgetAllInstancesOf = ɵgetAllInstancesOf;
298
- exports.ɵgetDefaultInstanceOf = ɵgetDefaultInstanceOf;
299
- exports.ɵisAnalyticsSupportedFactory = ɵisAnalyticsSupportedFactory;
300
- exports.ɵisMessagingSupportedFactory = ɵisMessagingSupportedFactory;
301
- exports.ɵisRemoteConfigSupportedFactory = ɵisRemoteConfigSupportedFactory;
302
- exports.ɵkeepUnstableUntilFirstFactory = ɵkeepUnstableUntilFirstFactory;
303
- exports.ɵzoneWrap = ɵzoneWrap;
304
-
305
- Object.defineProperty(exports, '__esModule', { value: true });
306
-
307
- })));
308
- //# sourceMappingURL=angular-fire.umd.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"angular-fire.umd.js","sources":["../../../src/core.ts","../../../src/zones.ts","../../../src/angular-fire.ts"],"sourcesContent":["import { Version } from '@angular/core';\nimport { FirebaseApp, getApps } from 'firebase/app';\nimport { ComponentContainer } from '@firebase/component';\nimport { isSupported as isRemoteConfigSupported } from 'firebase/remote-config';\nimport { isSupported as isMessagingSupported } from 'firebase/messaging';\nimport { isSupported as isAnalyticsSupported } from 'firebase/analytics';\n\nexport const VERSION = new Version('7.6.0');\n\nconst isAnalyticsSupportedValueSymbol = '__angularfire_symbol__analyticsIsSupportedValue';\nconst isAnalyticsSupportedPromiseSymbol = '__angularfire_symbol__analyticsIsSupported';\nconst isRemoteConfigSupportedValueSymbol = '__angularfire_symbol__remoteConfigIsSupportedValue';\nconst isRemoteConfigSupportedPromiseSymbol = '__angularfire_symbol__remoteConfigIsSupported';\nconst isMessagingSupportedValueSymbol = '__angularfire_symbol__messagingIsSupportedValue';\nconst isMessagingSupportedPromiseSymbol = '__angularfire_symbol__messagingIsSupported';\n\nglobalThis[isAnalyticsSupportedPromiseSymbol] ||= isAnalyticsSupported().then(it =>\n globalThis[isAnalyticsSupportedValueSymbol] = it\n).catch(() =>\n globalThis[isAnalyticsSupportedValueSymbol] = false\n);\n\nglobalThis[isMessagingSupportedPromiseSymbol] ||= isMessagingSupported().then(it =>\n globalThis[isMessagingSupportedValueSymbol] = it\n).catch(() =>\n globalThis[isMessagingSupportedValueSymbol] = false\n);\n\nglobalThis[isRemoteConfigSupportedPromiseSymbol] ||= isRemoteConfigSupported().then(it =>\n globalThis[isRemoteConfigSupportedValueSymbol] = it\n).catch(() =>\n globalThis[isRemoteConfigSupportedValueSymbol] = false\n);\n\nconst isSupportedError = (module: string) =>\n `The APP_INITIALIZER that is \"making\" isSupported() sync for the sake of convenient DI has not resolved in this\ncontext. Rather than injecting ${module} in the constructor, first ensure that ${module} is supported by calling\n\\`await isSupported()\\`, then retrieve the instance from the injector manually \\`injector.get(${module})\\`.`;\n\nexport const ɵisMessagingSupportedFactory = {\n async: () => globalThis[isMessagingSupportedPromiseSymbol],\n sync: () => {\n const ret = globalThis[isMessagingSupportedValueSymbol];\n if (ret === undefined) { throw new Error(isSupportedError('Messaging')); }\n return ret;\n }\n};\n\nexport const ɵisRemoteConfigSupportedFactory = {\n async: () => globalThis[isRemoteConfigSupportedPromiseSymbol],\n sync: () => {\n const ret = globalThis[isRemoteConfigSupportedValueSymbol];\n if (ret === undefined) { throw new Error(isSupportedError('RemoteConfig')); }\n return ret;\n }\n};\n\nexport const ɵisAnalyticsSupportedFactory = {\n async: () => globalThis[isAnalyticsSupportedPromiseSymbol],\n sync: () => {\n const ret = globalThis[isAnalyticsSupportedValueSymbol];\n if (ret === undefined) { throw new Error(isSupportedError('Analytics')); }\n return ret;\n }\n};\n\n// TODO is there a better way to get at the internal types?\ninterface FirebaseAppWithContainer extends FirebaseApp {\n container: ComponentContainer;\n}\n\nexport function ɵgetDefaultInstanceOf<T= unknown>(identifier: string, provided: T[]|undefined, defaultApp: FirebaseApp): T|undefined {\n if (provided) {\n // Was provide* only called once? If so grab that\n if (provided.length === 1) { return provided[0]; }\n const providedUsingDefaultApp = provided.filter((it: any) => it.app === defaultApp);\n // Was provide* only called once, using the default app? If so use that\n if (providedUsingDefaultApp.length === 1) { return providedUsingDefaultApp[0]; }\n }\n // Grab the default instance from the defaultApp\n const defaultAppWithContainer: FirebaseAppWithContainer = defaultApp as any;\n const provider = defaultAppWithContainer.container.getProvider(identifier as never);\n return provider.getImmediate({ optional: true });\n}\n\nexport const ɵgetAllInstancesOf = <T= unknown>(identifier: string, app?: FirebaseApp): Array<T> => {\n const apps = app ? [app] : getApps();\n const instances: Array<any> = [];\n apps.forEach((app: FirebaseAppWithContainer) => {\n const provider: any = app.container.getProvider(identifier as never);\n provider.instances.forEach((instance: any) => {\n if (!instances.includes(instance)) {\n instances.push(instance);\n }\n });\n });\n return instances;\n};\n","import { Injectable, NgZone } from '@angular/core';\nimport {\n asyncScheduler,\n Observable,\n Operator,\n queueScheduler,\n SchedulerAction,\n SchedulerLike,\n Subscriber,\n Subscription,\n TeardownLogic\n} from 'rxjs';\nimport { observeOn, subscribeOn, tap } from 'rxjs/operators';\n\nfunction noop() {\n}\n\n/**\n * Schedules tasks so that they are invoked inside the Zone that is passed in the constructor.\n */\n// tslint:disable-next-line:class-name\nexport class ɵZoneScheduler implements SchedulerLike {\n constructor(private zone: any, private delegate: any = queueScheduler) {\n }\n\n now() {\n return this.delegate.now();\n }\n\n schedule(work: (this: SchedulerAction<any>, state?: any) => void, delay?: number, state?: any): Subscription {\n const targetZone = this.zone;\n // Wrap the specified work function to make sure that if nested scheduling takes place the\n // work is executed in the correct zone\n const workInZone = function(this: SchedulerAction<any>, state: any) {\n targetZone.runGuarded(() => {\n work.apply(this, [state]);\n });\n };\n\n // Scheduling itself needs to be run in zone to ensure setInterval calls for async scheduling are done\n // inside the correct zone. This scheduler needs to schedule asynchronously always to ensure that\n // firebase emissions are never synchronous. Specifying a delay causes issues with the queueScheduler delegate.\n return this.delegate.schedule(workInZone, delay, state);\n }\n}\n\nclass BlockUntilFirstOperator<T> implements Operator<T, T> {\n private task: MacroTask | null = null;\n\n constructor(private zone: any) {\n }\n\n call(subscriber: Subscriber<T>, source: Observable<T>): TeardownLogic {\n const unscheduleTask = this.unscheduleTask.bind(this);\n this.task = this.zone.run(() => Zone.current.scheduleMacroTask('firebaseZoneBlock', noop, {}, noop, noop));\n\n return source.pipe(\n tap({ next: unscheduleTask, complete: unscheduleTask, error: unscheduleTask })\n ).subscribe(subscriber).add(unscheduleTask);\n }\n\n private unscheduleTask() {\n // maybe this is a race condition, invoke in a timeout\n // hold for 10ms while I try to figure out what is going on\n setTimeout(() => {\n if (this.task != null && this.task.state === 'scheduled') {\n this.task.invoke();\n this.task = null;\n }\n }, 10);\n }\n}\n\n@Injectable({\n providedIn: 'root',\n})\n// tslint:disable-next-line:class-name\nexport class ɵAngularFireSchedulers {\n public readonly outsideAngular: ɵZoneScheduler;\n public readonly insideAngular: ɵZoneScheduler;\n\n constructor(public ngZone: NgZone) {\n this.outsideAngular = ngZone.runOutsideAngular(() => new ɵZoneScheduler(Zone.current));\n this.insideAngular = ngZone.run(() => new ɵZoneScheduler(Zone.current, asyncScheduler));\n globalThis.ɵAngularFireScheduler ||= this;\n }\n}\n\nfunction getSchedulers() {\n const schedulers = globalThis.ɵAngularFireScheduler as ɵAngularFireSchedulers|undefined;\n if (!schedulers) {\n throw new Error(\n`Either AngularFireModule has not been provided in your AppModule (this can be done manually or implictly using\nprovideFirebaseApp) or you're calling an AngularFire method outside of an NgModule (which is not supported).`);\n }\n return schedulers;\n}\n\nfunction runOutsideAngular<T>(fn: (...args: any[]) => T): T {\n return getSchedulers().ngZone.runOutsideAngular(() => fn());\n}\n\nfunction run<T>(fn: (...args: any[]) => T): T {\n return getSchedulers().ngZone.run(() => fn());\n}\n\nexport function observeOutsideAngular<T>(obs$: Observable<T>): Observable<T> {\n return obs$.pipe(observeOn(getSchedulers().outsideAngular));\n}\n\nexport function observeInsideAngular<T>(obs$: Observable<T>): Observable<T> {\n return obs$.pipe(observeOn(getSchedulers().insideAngular));\n}\n\nexport function keepUnstableUntilFirst<T>(obs$: Observable<T>): Observable<T> {\n const scheduler = getSchedulers();\n return ɵkeepUnstableUntilFirstFactory(getSchedulers())(obs$);\n}\n\n/**\n * Operator to block the zone until the first value has been emitted or the observable\n * has completed/errored. This is used to make sure that universal waits until the first\n * value from firebase but doesn't block the zone forever since the firebase subscription\n * is still alive.\n */\nexport function ɵkeepUnstableUntilFirstFactory(schedulers: ɵAngularFireSchedulers) {\n return function keepUnstableUntilFirst<T>(obs$: Observable<T>): Observable<T> {\n obs$ = obs$.lift(\n new BlockUntilFirstOperator(schedulers.ngZone)\n );\n\n return obs$.pipe(\n // Run the subscribe body outside of Angular (e.g. calling Firebase SDK to add a listener to a change event)\n subscribeOn(schedulers.outsideAngular),\n // Run operators inside the angular zone (e.g. side effects via tap())\n observeOn(schedulers.insideAngular)\n // INVESTIGATE https://github.com/angular/angularfire/pull/2315\n // share()\n );\n };\n}\n\nconst zoneWrapFn = (it: (...args: any[]) => any, macrotask: MacroTask|undefined) => {\n const _this = this;\n // function() is needed for the arguments object\n // tslint:disable-next-line:only-arrow-functions\n return function() {\n const _arguments = arguments;\n if (macrotask) {\n setTimeout(() => {\n if (macrotask.state === 'scheduled') {\n macrotask.invoke();\n }\n }, 10);\n }\n return run(() => it.apply(_this, _arguments));\n };\n};\n\nexport const ɵzoneWrap = <T= unknown>(it: T, blockUntilFirst: boolean): T => {\n // function() is needed for the arguments object\n // tslint:disable-next-line:only-arrow-functions\n return function() {\n let macrotask: MacroTask | undefined;\n const _arguments = arguments;\n // if this is a callback function, e.g, onSnapshot, we should create a microtask and invoke it\n // only once one of the callback functions is tripped.\n for (let i = 0; i < arguments.length; i++) {\n if (typeof _arguments[i] === 'function') {\n if (blockUntilFirst) {\n macrotask ||= run(() => Zone.current.scheduleMacroTask('firebaseZoneBlock', noop, {}, noop, noop));\n }\n // TODO create a microtask to track callback functions\n _arguments[i] = zoneWrapFn(_arguments[i], macrotask);\n }\n }\n const ret = runOutsideAngular(() => (it as any).apply(this, _arguments));\n if (!blockUntilFirst) {\n if (ret instanceof Observable) {\n const schedulers = getSchedulers();\n return ret.pipe(\n subscribeOn(schedulers.outsideAngular),\n observeOn(schedulers.insideAngular),\n );\n } else {\n return run(() => ret);\n }\n }\n if (ret instanceof Observable) {\n return ret.pipe(keepUnstableUntilFirst) as any;\n } else if (ret instanceof Promise) {\n return run(() => new Promise((resolve, reject) => ret.then(it => run(() => resolve(it)), reason => run(() => reject(reason)))));\n } else if (typeof ret === 'function' && macrotask) {\n // Handle unsubscribe\n // function() is needed for the arguments object\n // tslint:disable-next-line:only-arrow-functions\n return function() {\n setTimeout(() => {\n if (macrotask && macrotask.state === 'scheduled') {\n macrotask.invoke();\n }\n }, 10);\n return ret.apply(this, arguments);\n };\n } else {\n // TODO how do we handle storage uploads in Zone? and other stuff with cancel() etc?\n return run(() => ret);\n }\n } as any;\n};\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["Version","isAnalyticsSupported","isMessagingSupported","isRemoteConfigSupported","app","getApps","tap","asyncScheduler","Injectable","observeOn","subscribeOn","Observable"],"mappings":";;;;;;;;;;;;;;;;;;;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CAAC,CAAC;aACjI;iBAAM,IAAI,OAAO,GAAG,KAAK,UAAU,IAAI,SAAS,EAAE;;;;gBAIjD,OAAO;oBACL,UAAU,CAAC;wBACT,IAAI,SAAS,IAAI,SAAS,CAAC,KAAK,KAAK,WAAW,EAAE;4BAChD,SAAS,CAAC,MAAM,EAAE,CAAC;yBACpB;qBACF,EAAE,EAAE,CAAC,CAAC;oBACP,OAAO,GAAG,CAAC,KAAK,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;iBACnC,CAAC;aACH;iBAAM;;gBAEL,OAAO,GAAG,CAAC,cAAM,OAAA,GAAG,GAAA,CAAC,CAAC;aACvB;SACK,CAAC;IACX;;ICjNA;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,11 +0,0 @@
1
- {
2
- "$schema": "../../../node_modules/ng-packagr/package.schema.json",
3
- "main": "../../bundles/angular-fire-compat-analytics.umd.js",
4
- "module": "../../fesm2015/angular-fire-compat-analytics.js",
5
- "es2015": "../../fesm2015/angular-fire-compat-analytics.js",
6
- "esm2015": "../../esm2015/compat/analytics/angular-fire-compat-analytics.js",
7
- "fesm2015": "../../fesm2015/angular-fire-compat-analytics.js",
8
- "typings": "angular-fire-compat-analytics.d.ts",
9
- "sideEffects": false,
10
- "name": "@angular/fire/compat/analytics"
11
- }
@@ -1,11 +0,0 @@
1
- {
2
- "$schema": "../../../node_modules/ng-packagr/package.schema.json",
3
- "main": "../../bundles/angular-fire-compat-auth.umd.js",
4
- "module": "../../fesm2015/angular-fire-compat-auth.js",
5
- "es2015": "../../fesm2015/angular-fire-compat-auth.js",
6
- "esm2015": "../../esm2015/compat/auth/angular-fire-compat-auth.js",
7
- "fesm2015": "../../fesm2015/angular-fire-compat-auth.js",
8
- "typings": "angular-fire-compat-auth.d.ts",
9
- "sideEffects": false,
10
- "name": "@angular/fire/compat/auth"
11
- }
@@ -1,11 +0,0 @@
1
- {
2
- "$schema": "../../../node_modules/ng-packagr/package.schema.json",
3
- "main": "../../bundles/angular-fire-compat-auth-guard.umd.js",
4
- "module": "../../fesm2015/angular-fire-compat-auth-guard.js",
5
- "es2015": "../../fesm2015/angular-fire-compat-auth-guard.js",
6
- "esm2015": "../../esm2015/compat/auth-guard/angular-fire-compat-auth-guard.js",
7
- "fesm2015": "../../fesm2015/angular-fire-compat-auth-guard.js",
8
- "typings": "angular-fire-compat-auth-guard.d.ts",
9
- "sideEffects": false,
10
- "name": "@angular/fire/compat/auth-guard"
11
- }
@@ -1,11 +0,0 @@
1
- {
2
- "$schema": "../../node_modules/ng-packagr/package.schema.json",
3
- "main": "../../bundles/angular-fire-compat-database.umd.js",
4
- "module": "../../fesm2015/angular-fire-compat-database.js",
5
- "es2015": "../../fesm2015/angular-fire-compat-database.js",
6
- "esm2015": "../../esm2015/compat/database/angular-fire-compat-database.js",
7
- "fesm2015": "../../fesm2015/angular-fire-compat-database.js",
8
- "typings": "angular-fire-compat-database.d.ts",
9
- "sideEffects": false,
10
- "name": "@angular/fire/compat/database"
11
- }
@@ -1,11 +0,0 @@
1
- {
2
- "$schema": "../../node_modules/ng-packagr/package.schema.json",
3
- "main": "../../bundles/angular-fire-compat-firestore.umd.js",
4
- "module": "../../fesm2015/angular-fire-compat-firestore.js",
5
- "es2015": "../../fesm2015/angular-fire-compat-firestore.js",
6
- "esm2015": "../../esm2015/compat/firestore/angular-fire-compat-firestore.js",
7
- "fesm2015": "../../fesm2015/angular-fire-compat-firestore.js",
8
- "typings": "angular-fire-compat-firestore.d.ts",
9
- "sideEffects": false,
10
- "name": "@angular/fire/compat/firestore"
11
- }
@@ -1,11 +0,0 @@
1
- {
2
- "$schema": "../../node_modules/ng-packagr/package.schema.json",
3
- "main": "../../bundles/angular-fire-compat-functions.umd.js",
4
- "module": "../../fesm2015/angular-fire-compat-functions.js",
5
- "es2015": "../../fesm2015/angular-fire-compat-functions.js",
6
- "esm2015": "../../esm2015/compat/functions/angular-fire-compat-functions.js",
7
- "fesm2015": "../../fesm2015/angular-fire-compat-functions.js",
8
- "typings": "angular-fire-compat-functions.d.ts",
9
- "sideEffects": false,
10
- "name": "@angular/fire/compat/functions"
11
- }
@@ -1,11 +0,0 @@
1
- {
2
- "$schema": "../../node_modules/ng-packagr/package.schema.json",
3
- "main": "../../bundles/angular-fire-compat-messaging.umd.js",
4
- "module": "../../fesm2015/angular-fire-compat-messaging.js",
5
- "es2015": "../../fesm2015/angular-fire-compat-messaging.js",
6
- "esm2015": "../../esm2015/compat/messaging/angular-fire-compat-messaging.js",
7
- "fesm2015": "../../fesm2015/angular-fire-compat-messaging.js",
8
- "typings": "angular-fire-compat-messaging.d.ts",
9
- "sideEffects": false,
10
- "name": "@angular/fire/compat/messaging"
11
- }
@@ -1,11 +0,0 @@
1
- {
2
- "$schema": "../../node_modules/ng-packagr/package.schema.json",
3
- "main": "../bundles/angular-fire-compat.umd.js",
4
- "module": "../fesm2015/angular-fire-compat.js",
5
- "es2015": "../fesm2015/angular-fire-compat.js",
6
- "esm2015": "../esm2015/compat/angular-fire-compat.js",
7
- "fesm2015": "../fesm2015/angular-fire-compat.js",
8
- "typings": "angular-fire-compat.d.ts",
9
- "sideEffects": false,
10
- "name": "@angular/fire/compat"
11
- }
@@ -1,11 +0,0 @@
1
- {
2
- "$schema": "../../node_modules/ng-packagr/package.schema.json",
3
- "main": "../../bundles/angular-fire-compat-performance.umd.js",
4
- "module": "../../fesm2015/angular-fire-compat-performance.js",
5
- "es2015": "../../fesm2015/angular-fire-compat-performance.js",
6
- "esm2015": "../../esm2015/compat/performance/angular-fire-compat-performance.js",
7
- "fesm2015": "../../fesm2015/angular-fire-compat-performance.js",
8
- "typings": "angular-fire-compat-performance.d.ts",
9
- "sideEffects": false,
10
- "name": "@angular/fire/compat/performance"
11
- }
@@ -1,11 +0,0 @@
1
- {
2
- "$schema": "../../node_modules/ng-packagr/package.schema.json",
3
- "main": "../../bundles/angular-fire-compat-remote-config.umd.js",
4
- "module": "../../fesm2015/angular-fire-compat-remote-config.js",
5
- "es2015": "../../fesm2015/angular-fire-compat-remote-config.js",
6
- "esm2015": "../../esm2015/compat/remote-config/angular-fire-compat-remote-config.js",
7
- "fesm2015": "../../fesm2015/angular-fire-compat-remote-config.js",
8
- "typings": "angular-fire-compat-remote-config.d.ts",
9
- "sideEffects": false,
10
- "name": "@angular/fire/compat/remote-config"
11
- }
@@ -1,11 +0,0 @@
1
- {
2
- "$schema": "../../node_modules/ng-packagr/package.schema.json",
3
- "main": "../../bundles/angular-fire-compat-storage.umd.js",
4
- "module": "../../fesm2015/angular-fire-compat-storage.js",
5
- "es2015": "../../fesm2015/angular-fire-compat-storage.js",
6
- "esm2015": "../../esm2015/compat/storage/angular-fire-compat-storage.js",
7
- "fesm2015": "../../fesm2015/angular-fire-compat-storage.js",
8
- "typings": "angular-fire-compat-storage.d.ts",
9
- "sideEffects": false,
10
- "name": "@angular/fire/compat/storage"
11
- }
@@ -1,11 +0,0 @@
1
- {
2
- "$schema": "../../node_modules/ng-packagr/package.schema.json",
3
- "main": "../bundles/angular-fire-database.umd.js",
4
- "module": "../fesm2015/angular-fire-database.js",
5
- "es2015": "../fesm2015/angular-fire-database.js",
6
- "esm2015": "../esm2015/database/angular-fire-database.js",
7
- "fesm2015": "../fesm2015/angular-fire-database.js",
8
- "typings": "angular-fire-database.d.ts",
9
- "sideEffects": false,
10
- "name": "@angular/fire/database"
11
- }
@@ -1,93 +0,0 @@
1
- import { NgModule, Optional, NgZone, InjectionToken, APP_INITIALIZER, Injector } from '@angular/core';
2
- import { ɵgetDefaultInstanceOf, ɵAngularFireSchedulers, VERSION, ɵisAnalyticsSupportedFactory } from '@angular/fire';
3
- import { Analytics, ANALYTICS_PROVIDER_NAME, AnalyticsInstances } from './analytics';
4
- import { FirebaseApps, FirebaseApp } from '@angular/fire/app';
5
- import { registerVersion } from 'firebase/app';
6
- import { ScreenTrackingService } from './screen-tracking.service';
7
- import { UserTrackingService } from './user-tracking.service';
8
- import * as i0 from "@angular/core";
9
- import * as i1 from "./screen-tracking.service";
10
- import * as i2 from "./user-tracking.service";
11
- export const PROVIDED_ANALYTICS_INSTANCES = new InjectionToken('angularfire2.analytics-instances');
12
- export function defaultAnalyticsInstanceFactory(provided, defaultApp) {
13
- if (!ɵisAnalyticsSupportedFactory.sync()) {
14
- return null;
15
- }
16
- const defaultAnalytics = ɵgetDefaultInstanceOf(ANALYTICS_PROVIDER_NAME, provided, defaultApp);
17
- return defaultAnalytics && new Analytics(defaultAnalytics);
18
- }
19
- export function analyticsInstanceFactory(fn) {
20
- return (zone, injector) => {
21
- if (!ɵisAnalyticsSupportedFactory.sync()) {
22
- return null;
23
- }
24
- const analytics = zone.runOutsideAngular(() => fn(injector));
25
- return new Analytics(analytics);
26
- };
27
- }
28
- const ANALYTICS_INSTANCES_PROVIDER = {
29
- provide: AnalyticsInstances,
30
- deps: [
31
- [new Optional(), PROVIDED_ANALYTICS_INSTANCES],
32
- ]
33
- };
34
- const DEFAULT_ANALYTICS_INSTANCE_PROVIDER = {
35
- provide: Analytics,
36
- useFactory: defaultAnalyticsInstanceFactory,
37
- deps: [
38
- [new Optional(), PROVIDED_ANALYTICS_INSTANCES],
39
- FirebaseApp,
40
- ]
41
- };
42
- export class AnalyticsModule {
43
- constructor(_screenTrackingService, _userTrackingService) {
44
- registerVersion('angularfire', VERSION.full, 'analytics');
45
- }
46
- }
47
- AnalyticsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.1.3", ngImport: i0, type: AnalyticsModule, deps: [{ token: i1.ScreenTrackingService, optional: true }, { token: i2.UserTrackingService, optional: true }], target: i0.ɵɵFactoryTarget.NgModule });
48
- AnalyticsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.1.3", ngImport: i0, type: AnalyticsModule });
49
- AnalyticsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.1.3", ngImport: i0, type: AnalyticsModule, providers: [
50
- DEFAULT_ANALYTICS_INSTANCE_PROVIDER,
51
- ANALYTICS_INSTANCES_PROVIDER,
52
- {
53
- provide: APP_INITIALIZER,
54
- useValue: ɵisAnalyticsSupportedFactory.async,
55
- multi: true,
56
- }
57
- ] });
58
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.1.3", ngImport: i0, type: AnalyticsModule, decorators: [{
59
- type: NgModule,
60
- args: [{
61
- providers: [
62
- DEFAULT_ANALYTICS_INSTANCE_PROVIDER,
63
- ANALYTICS_INSTANCES_PROVIDER,
64
- {
65
- provide: APP_INITIALIZER,
66
- useValue: ɵisAnalyticsSupportedFactory.async,
67
- multi: true,
68
- }
69
- ]
70
- }]
71
- }], ctorParameters: function () { return [{ type: i1.ScreenTrackingService, decorators: [{
72
- type: Optional
73
- }] }, { type: i2.UserTrackingService, decorators: [{
74
- type: Optional
75
- }] }]; } });
76
- export function provideAnalytics(fn, ...deps) {
77
- return {
78
- ngModule: AnalyticsModule,
79
- providers: [{
80
- provide: PROVIDED_ANALYTICS_INSTANCES,
81
- useFactory: analyticsInstanceFactory(fn),
82
- multi: true,
83
- deps: [
84
- NgZone,
85
- Injector,
86
- ɵAngularFireSchedulers,
87
- FirebaseApps,
88
- ...deps,
89
- ]
90
- }]
91
- };
92
- }
93
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYW5hbHl0aWNzLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9hbmFseXRpY3MvYW5hbHl0aWNzLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLFFBQVEsRUFBRSxNQUFNLEVBQUUsY0FBYyxFQUF1QixlQUFlLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRTNILE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxzQkFBc0IsRUFBRSxPQUFPLEVBQUUsNEJBQTRCLEV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nVlLFxuICAgIH1cbiAgXVxufSlcbmV4cG9ydCBjbGFzcyBBbmFseXRpY3NNb2R1bGUge1xuICBjb25zdHJ1Y3RvcihcbiAgICBAT3B0aW9uYWwoKSBfc2NyZWVuVHJhY2tpbmdTZXJ2aWNlOiBTY3JlZW5UcmFja2luZ1NlcnZpY2UsXG4gICAgQE9wdGlvbmFsKCkgX3VzZXJUcmFja2luZ1NlcnZpY2U6IFVzZXJUcmFja2luZ1NlcnZpY2UsXG4gICkge1xuICAgIHJlZ2lzdGVyVmVyc2lvbignYW5ndWxhcmZpcmUnLCBWRVJTSU9OLmZ1bGwsICdhbmFseXRpY3MnKTtcbiAgfVxufVxuXG5leHBvcnQgZnVuY3Rpb24gcHJvdmlkZUFuYWx5dGljcyhmbjogKGluamVjdG9yOiBJbmplY3RvcikgPT4gRmlyZWJhc2VBbmFseXRpY3MsIC4uLmRlcHM6IGFueVtdKTogTW9kdWxlV2l0aFByb3ZpZGVyczxBbmFseXRpY3NNb2R1bGU+IHtcbiAgcmV0dXJuIHtcbiAgICBuZ01vZHVsZTogQW5hbHl0aWNzTW9kdWxlLFxuICAgIHByb3ZpZGVyczogW3tcbiAgICAgIHByb3ZpZGU6IFBST1ZJREVEX0FOQUxZVElDU19JTlNUQU5DRVMsXG4gICAgICB1c2VGYWN0b3J5OiBhbmFseXRpY3NJbnN0YW5jZUZhY3RvcnkoZm4pLFxuICAgICAgbXVsdGk6IHRydWUsXG4gICAgICBkZXBzOiBbXG4gICAgICAgIE5nWm9uZSxcbiAgICAgICAgSW5qZWN0b3IsXG4gICAgICAgIMm1QW5ndWxhckZpcmVTY2hlZHVsZXJzLFxuICAgICAgICBGaXJlYmFzZUFwcHMsXG4gICAgICAgIC4uLmRlcHMsXG4gICAgICBdXG4gICAgfV1cbiAgfTtcbn1cbiJdfQ==
@@ -1,14 +0,0 @@
1
- // DO NOT MODIFY, this file is autogenerated by tools/build.ts
2
- export * from 'firebase/analytics';
3
- import { ɵzoneWrap } from '@angular/fire';
4
- import { getAnalytics as _getAnalytics, initializeAnalytics as _initializeAnalytics, logEvent as _logEvent, setAnalyticsCollectionEnabled as _setAnalyticsCollectionEnabled, setCurrentScreen as _setCurrentScreen, settings as _settings, setUserId as _setUserId, setUserProperties as _setUserProperties } from 'firebase/analytics';
5
- export { isSupported } from './overrides';
6
- export const getAnalytics = ɵzoneWrap(_getAnalytics, true);
7
- export const initializeAnalytics = ɵzoneWrap(_initializeAnalytics, true);
8
- export const logEvent = ɵzoneWrap(_logEvent, true);
9
- export const setAnalyticsCollectionEnabled = ɵzoneWrap(_setAnalyticsCollectionEnabled, true);
10
- export const setCurrentScreen = ɵzoneWrap(_setCurrentScreen, true);
11
- export const settings = ɵzoneWrap(_settings, true);
12
- export const setUserId = ɵzoneWrap(_setUserId, true);
13
- export const setUserProperties = ɵzoneWrap(_setUserProperties, true);
14
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlyZWJhc2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvYW5hbHl0aWNzL2ZpcmViYXNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLDhEQUE4RDtBQUM5RCxjQUFjLG9CQUFvQixDQUFDO0FBQ25DLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDMUMsT0FBTyxFQUNMLFlBQVksSUFBSSxhQUFhLEVBQzdCLG1CQUFtQixJQUFJLG9CQUFvQixFQUMzQyxRQUFRLElBQUksU0FBUyxFQUNyQiw2QkFBNkIsSUFBSSw4QkFBOEIsRUFDL0QsZ0JBQWdCLElBQUksaUJBQWlCLEVBQ3JDLFFBQVEsSUFBSSxTQUFTLEVBQ3JCLFNBQVMsSUFBSSxVQUFVLEVBQ3ZCLGlCQUFpQixJQUFJLGtCQUFrQixFQUN4QyxNQUFNLG9CQUFvQixDQUFDO0FBRTVCLE9BQU8sR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