@angular/fire 17.1.0 → 18.0.0-canary.bfc27e2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -0
- package/compat/proxy.d.ts +2 -2
- package/compat/storage/pipes/storageUrl.pipe.d.ts +1 -2
- package/docs/analytics.md +14 -20
- package/docs/app-check.md +12 -9
- package/docs/auth.md +44 -9
- package/docs/database.md +12 -12
- package/docs/firestore.md +15 -23
- package/docs/functions.md +11 -9
- package/docs/messaging.md +30 -8
- package/docs/performance.md +11 -9
- package/docs/remote-config.md +11 -9
- package/docs/storage.md +11 -10
- package/docs/vertexai.md +53 -0
- package/esm2022/analytics/analytics.module.mjs +5 -5
- package/esm2022/analytics/is-analytics-supported-factory.mjs +1 -1
- package/esm2022/analytics/screen-tracking.service.mjs +4 -4
- package/esm2022/analytics/user-tracking.service.mjs +4 -4
- package/esm2022/app/app.module.mjs +5 -5
- package/esm2022/app-check/app-check.module.mjs +5 -5
- package/esm2022/auth/auth.module.mjs +5 -5
- package/esm2022/auth-guard/auth-guard.mjs +4 -4
- package/esm2022/auth-guard/auth-guard.module.mjs +5 -5
- package/esm2022/compat/analytics/analytics.mjs +4 -4
- package/esm2022/compat/analytics/analytics.module.mjs +5 -5
- package/esm2022/compat/analytics/screen-tracking.service.mjs +4 -4
- package/esm2022/compat/analytics/user-tracking.service.mjs +4 -4
- package/esm2022/compat/auth/auth.mjs +4 -4
- package/esm2022/compat/auth/auth.module.mjs +5 -5
- package/esm2022/compat/auth-guard/auth-guard.mjs +4 -4
- package/esm2022/compat/auth-guard/auth-guard.module.mjs +5 -5
- package/esm2022/compat/cache.mjs +1 -1
- package/esm2022/compat/database/database.mjs +4 -4
- package/esm2022/compat/database/database.module.mjs +5 -5
- package/esm2022/compat/database/list/changes.mjs +1 -1
- package/esm2022/compat/database/list/create-reference.mjs +1 -1
- package/esm2022/compat/database/list/remove.mjs +1 -1
- package/esm2022/compat/database/list/utils.mjs +1 -1
- package/esm2022/compat/database/observable/fromRef.mjs +1 -1
- package/esm2022/compat/database/utils.mjs +1 -1
- package/esm2022/compat/firebase.app.module.mjs +5 -5
- package/esm2022/compat/firestore/collection/changes.mjs +1 -1
- package/esm2022/compat/firestore/collection/collection.mjs +1 -1
- package/esm2022/compat/firestore/collection-group/collection-group.mjs +1 -1
- package/esm2022/compat/firestore/firestore.mjs +4 -4
- package/esm2022/compat/firestore/firestore.module.mjs +5 -5
- package/esm2022/compat/firestore/observable/fromRef.mjs +1 -1
- package/esm2022/compat/functions/functions.mjs +4 -4
- package/esm2022/compat/functions/functions.module.mjs +5 -5
- package/esm2022/compat/messaging/messaging.mjs +4 -4
- package/esm2022/compat/messaging/messaging.module.mjs +5 -5
- package/esm2022/compat/performance/performance.mjs +4 -4
- package/esm2022/compat/performance/performance.module.mjs +5 -5
- package/esm2022/compat/performance/performance.service.mjs +4 -4
- package/esm2022/compat/proxy.mjs +1 -1
- package/esm2022/compat/remote-config/remote-config.mjs +4 -4
- package/esm2022/compat/remote-config/remote-config.module.mjs +5 -5
- package/esm2022/compat/storage/pipes/storageUrl.pipe.mjs +10 -12
- package/esm2022/compat/storage/storage.mjs +4 -4
- package/esm2022/compat/storage/storage.module.mjs +5 -5
- package/esm2022/core.mjs +1 -1
- package/esm2022/database/database.module.mjs +5 -5
- package/esm2022/firestore/firestore.module.mjs +5 -5
- package/esm2022/firestore/lite/lite.module.mjs +5 -5
- package/esm2022/functions/functions.module.mjs +5 -5
- package/esm2022/messaging/is-messaging-supported-factory.mjs +1 -1
- package/esm2022/messaging/messaging.module.mjs +5 -5
- package/esm2022/performance/performance.module.mjs +5 -5
- package/esm2022/remote-config/is-remote-config-supported-factory.mjs +1 -1
- package/esm2022/remote-config/remote-config.module.mjs +5 -5
- package/esm2022/storage/storage.module.mjs +5 -5
- package/esm2022/vertexai-preview/vertexai.module.mjs +5 -5
- package/esm2022/zones.mjs +4 -4
- package/fesm2022/angular-fire-analytics.mjs +410 -297
- package/fesm2022/angular-fire-analytics.mjs.map +7 -1
- package/fesm2022/angular-fire-app-check.mjs +162 -91
- package/fesm2022/angular-fire-app-check.mjs.map +7 -1
- package/fesm2022/angular-fire-app.mjs +181 -108
- package/fesm2022/angular-fire-app.mjs.map +7 -1
- package/fesm2022/angular-fire-auth-guard.mjs +83 -73
- package/fesm2022/angular-fire-auth-guard.mjs.map +7 -1
- package/fesm2022/angular-fire-auth.mjs +421 -142
- package/fesm2022/angular-fire-auth.mjs.map +7 -1
- package/fesm2022/angular-fire-compat-analytics.mjs +261 -270
- package/fesm2022/angular-fire-compat-analytics.mjs.map +7 -1
- package/fesm2022/angular-fire-compat-auth-guard.mjs +83 -72
- package/fesm2022/angular-fire-compat-auth-guard.mjs.map +7 -1
- package/fesm2022/angular-fire-compat-auth.mjs +214 -213
- package/fesm2022/angular-fire-compat-auth.mjs.map +7 -1
- package/fesm2022/angular-fire-compat-database.mjs +375 -378
- package/fesm2022/angular-fire-compat-database.mjs.map +7 -1
- package/fesm2022/angular-fire-compat-firestore.mjs +537 -677
- package/fesm2022/angular-fire-compat-firestore.mjs.map +7 -1
- package/fesm2022/angular-fire-compat-functions.mjs +97 -93
- package/fesm2022/angular-fire-compat-functions.mjs.map +7 -1
- package/fesm2022/angular-fire-compat-messaging.mjs +106 -106
- package/fesm2022/angular-fire-compat-messaging.mjs.map +7 -1
- package/fesm2022/angular-fire-compat-performance.mjs +157 -151
- package/fesm2022/angular-fire-compat-performance.mjs.map +7 -1
- package/fesm2022/angular-fire-compat-remote-config.mjs +215 -231
- package/fesm2022/angular-fire-compat-remote-config.mjs.map +7 -1
- package/fesm2022/angular-fire-compat-storage.mjs +226 -233
- package/fesm2022/angular-fire-compat-storage.mjs.map +7 -1
- package/fesm2022/angular-fire-compat.mjs +140 -153
- package/fesm2022/angular-fire-compat.mjs.map +7 -1
- package/fesm2022/angular-fire-database.mjs +376 -136
- package/fesm2022/angular-fire-database.mjs.map +7 -1
- package/fesm2022/angular-fire-firestore-lite.mjs +388 -139
- package/fesm2022/angular-fire-firestore-lite.mjs.map +7 -1
- package/fesm2022/angular-fire-firestore.mjs +526 -167
- package/fesm2022/angular-fire-firestore.mjs.map +7 -1
- package/fesm2022/angular-fire-functions.mjs +166 -93
- package/fesm2022/angular-fire-functions.mjs.map +7 -1
- package/fesm2022/angular-fire-messaging.mjs +196 -118
- package/fesm2022/angular-fire-messaging.mjs.map +7 -1
- package/fesm2022/angular-fire-performance.mjs +178 -104
- package/fesm2022/angular-fire-performance.mjs.map +7 -1
- package/fesm2022/angular-fire-remote-config.mjs +254 -132
- package/fesm2022/angular-fire-remote-config.mjs.map +7 -1
- package/fesm2022/angular-fire-storage.mjs +225 -105
- package/fesm2022/angular-fire-storage.mjs.map +7 -1
- package/fesm2022/angular-fire-vertexai-preview.mjs +146 -85
- package/fesm2022/angular-fire-vertexai-preview.mjs.map +7 -1
- package/fesm2022/angular-fire.mjs +183 -213
- package/fesm2022/angular-fire.mjs.map +7 -1
- package/package.json +7 -7
- package/schematics/deploy/actions.js +2 -2
- package/schematics/setup/prompts.js +1 -1
|
@@ -1,157 +1,436 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from2, except, desc) => {
|
|
10
|
+
if (from2 && typeof from2 === "object" || typeof from2 === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from2))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from2[key], enumerable: !(desc = __getOwnPropDesc(from2, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
11
18
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
19
|
+
// angular-fire-auth.mjs
|
|
20
|
+
var angular_fire_auth_exports = {};
|
|
21
|
+
__export(angular_fire_auth_exports, {
|
|
22
|
+
Auth: () => Auth,
|
|
23
|
+
AuthInstances: () => AuthInstances,
|
|
24
|
+
AuthModule: () => AuthModule,
|
|
25
|
+
applyActionCode: () => applyActionCode,
|
|
26
|
+
authInstance$: () => authInstance$,
|
|
27
|
+
authState: () => authState,
|
|
28
|
+
beforeAuthStateChanged: () => beforeAuthStateChanged,
|
|
29
|
+
checkActionCode: () => checkActionCode,
|
|
30
|
+
confirmPasswordReset: () => confirmPasswordReset,
|
|
31
|
+
connectAuthEmulator: () => connectAuthEmulator,
|
|
32
|
+
createUserWithEmailAndPassword: () => createUserWithEmailAndPassword,
|
|
33
|
+
deleteUser: () => deleteUser,
|
|
34
|
+
fetchSignInMethodsForEmail: () => fetchSignInMethodsForEmail,
|
|
35
|
+
getAdditionalUserInfo: () => getAdditionalUserInfo,
|
|
36
|
+
getAuth: () => getAuth,
|
|
37
|
+
getIdToken: () => getIdToken,
|
|
38
|
+
getIdTokenResult: () => getIdTokenResult,
|
|
39
|
+
getMultiFactorResolver: () => getMultiFactorResolver,
|
|
40
|
+
getRedirectResult: () => getRedirectResult,
|
|
41
|
+
idToken: () => idToken,
|
|
42
|
+
initializeAuth: () => initializeAuth,
|
|
43
|
+
initializeRecaptchaConfig: () => initializeRecaptchaConfig,
|
|
44
|
+
isSignInWithEmailLink: () => isSignInWithEmailLink,
|
|
45
|
+
linkWithCredential: () => linkWithCredential,
|
|
46
|
+
linkWithPhoneNumber: () => linkWithPhoneNumber,
|
|
47
|
+
linkWithPopup: () => linkWithPopup,
|
|
48
|
+
linkWithRedirect: () => linkWithRedirect,
|
|
49
|
+
multiFactor: () => multiFactor,
|
|
50
|
+
onAuthStateChanged: () => onAuthStateChanged,
|
|
51
|
+
onIdTokenChanged: () => onIdTokenChanged,
|
|
52
|
+
parseActionCodeURL: () => parseActionCodeURL,
|
|
53
|
+
provideAuth: () => provideAuth,
|
|
54
|
+
reauthenticateWithCredential: () => reauthenticateWithCredential,
|
|
55
|
+
reauthenticateWithPhoneNumber: () => reauthenticateWithPhoneNumber,
|
|
56
|
+
reauthenticateWithPopup: () => reauthenticateWithPopup,
|
|
57
|
+
reauthenticateWithRedirect: () => reauthenticateWithRedirect,
|
|
58
|
+
reload: () => reload,
|
|
59
|
+
revokeAccessToken: () => revokeAccessToken,
|
|
60
|
+
sendEmailVerification: () => sendEmailVerification,
|
|
61
|
+
sendPasswordResetEmail: () => sendPasswordResetEmail,
|
|
62
|
+
sendSignInLinkToEmail: () => sendSignInLinkToEmail,
|
|
63
|
+
setPersistence: () => setPersistence,
|
|
64
|
+
signInAnonymously: () => signInAnonymously,
|
|
65
|
+
signInWithCredential: () => signInWithCredential,
|
|
66
|
+
signInWithCustomToken: () => signInWithCustomToken,
|
|
67
|
+
signInWithEmailAndPassword: () => signInWithEmailAndPassword,
|
|
68
|
+
signInWithEmailLink: () => signInWithEmailLink,
|
|
69
|
+
signInWithPhoneNumber: () => signInWithPhoneNumber,
|
|
70
|
+
signInWithPopup: () => signInWithPopup,
|
|
71
|
+
signInWithRedirect: () => signInWithRedirect,
|
|
72
|
+
signOut: () => signOut,
|
|
73
|
+
unlink: () => unlink,
|
|
74
|
+
updateCurrentUser: () => updateCurrentUser,
|
|
75
|
+
updateEmail: () => updateEmail,
|
|
76
|
+
updatePassword: () => updatePassword,
|
|
77
|
+
updatePhoneNumber: () => updatePhoneNumber,
|
|
78
|
+
updateProfile: () => updateProfile,
|
|
79
|
+
useDeviceLanguage: () => useDeviceLanguage,
|
|
80
|
+
user: () => user,
|
|
81
|
+
validatePassword: () => validatePassword,
|
|
82
|
+
verifyBeforeUpdateEmail: () => verifyBeforeUpdateEmail,
|
|
83
|
+
verifyPasswordResetCode: () => verifyPasswordResetCode
|
|
84
|
+
});
|
|
85
|
+
|
|
86
|
+
// public_api.mjs
|
|
87
|
+
var public_api_exports = {};
|
|
88
|
+
__export(public_api_exports, {
|
|
89
|
+
Auth: () => Auth,
|
|
90
|
+
AuthInstances: () => AuthInstances,
|
|
91
|
+
AuthModule: () => AuthModule,
|
|
92
|
+
applyActionCode: () => applyActionCode,
|
|
93
|
+
authInstance$: () => authInstance$,
|
|
94
|
+
authState: () => authState,
|
|
95
|
+
beforeAuthStateChanged: () => beforeAuthStateChanged,
|
|
96
|
+
checkActionCode: () => checkActionCode,
|
|
97
|
+
confirmPasswordReset: () => confirmPasswordReset,
|
|
98
|
+
connectAuthEmulator: () => connectAuthEmulator,
|
|
99
|
+
createUserWithEmailAndPassword: () => createUserWithEmailAndPassword,
|
|
100
|
+
deleteUser: () => deleteUser,
|
|
101
|
+
fetchSignInMethodsForEmail: () => fetchSignInMethodsForEmail,
|
|
102
|
+
getAdditionalUserInfo: () => getAdditionalUserInfo,
|
|
103
|
+
getAuth: () => getAuth,
|
|
104
|
+
getIdToken: () => getIdToken,
|
|
105
|
+
getIdTokenResult: () => getIdTokenResult,
|
|
106
|
+
getMultiFactorResolver: () => getMultiFactorResolver,
|
|
107
|
+
getRedirectResult: () => getRedirectResult,
|
|
108
|
+
idToken: () => idToken,
|
|
109
|
+
initializeAuth: () => initializeAuth,
|
|
110
|
+
initializeRecaptchaConfig: () => initializeRecaptchaConfig,
|
|
111
|
+
isSignInWithEmailLink: () => isSignInWithEmailLink,
|
|
112
|
+
linkWithCredential: () => linkWithCredential,
|
|
113
|
+
linkWithPhoneNumber: () => linkWithPhoneNumber,
|
|
114
|
+
linkWithPopup: () => linkWithPopup,
|
|
115
|
+
linkWithRedirect: () => linkWithRedirect,
|
|
116
|
+
multiFactor: () => multiFactor,
|
|
117
|
+
onAuthStateChanged: () => onAuthStateChanged,
|
|
118
|
+
onIdTokenChanged: () => onIdTokenChanged,
|
|
119
|
+
parseActionCodeURL: () => parseActionCodeURL,
|
|
120
|
+
provideAuth: () => provideAuth,
|
|
121
|
+
reauthenticateWithCredential: () => reauthenticateWithCredential,
|
|
122
|
+
reauthenticateWithPhoneNumber: () => reauthenticateWithPhoneNumber,
|
|
123
|
+
reauthenticateWithPopup: () => reauthenticateWithPopup,
|
|
124
|
+
reauthenticateWithRedirect: () => reauthenticateWithRedirect,
|
|
125
|
+
reload: () => reload,
|
|
126
|
+
revokeAccessToken: () => revokeAccessToken,
|
|
127
|
+
sendEmailVerification: () => sendEmailVerification,
|
|
128
|
+
sendPasswordResetEmail: () => sendPasswordResetEmail,
|
|
129
|
+
sendSignInLinkToEmail: () => sendSignInLinkToEmail,
|
|
130
|
+
setPersistence: () => setPersistence,
|
|
131
|
+
signInAnonymously: () => signInAnonymously,
|
|
132
|
+
signInWithCredential: () => signInWithCredential,
|
|
133
|
+
signInWithCustomToken: () => signInWithCustomToken,
|
|
134
|
+
signInWithEmailAndPassword: () => signInWithEmailAndPassword,
|
|
135
|
+
signInWithEmailLink: () => signInWithEmailLink,
|
|
136
|
+
signInWithPhoneNumber: () => signInWithPhoneNumber,
|
|
137
|
+
signInWithPopup: () => signInWithPopup,
|
|
138
|
+
signInWithRedirect: () => signInWithRedirect,
|
|
139
|
+
signOut: () => signOut,
|
|
140
|
+
unlink: () => unlink,
|
|
141
|
+
updateCurrentUser: () => updateCurrentUser,
|
|
142
|
+
updateEmail: () => updateEmail,
|
|
143
|
+
updatePassword: () => updatePassword,
|
|
144
|
+
updatePhoneNumber: () => updatePhoneNumber,
|
|
145
|
+
updateProfile: () => updateProfile,
|
|
146
|
+
useDeviceLanguage: () => useDeviceLanguage,
|
|
147
|
+
user: () => user,
|
|
148
|
+
validatePassword: () => validatePassword,
|
|
149
|
+
verifyBeforeUpdateEmail: () => verifyBeforeUpdateEmail,
|
|
150
|
+
verifyPasswordResetCode: () => verifyPasswordResetCode
|
|
151
|
+
});
|
|
152
|
+
|
|
153
|
+
// auth.mjs
|
|
154
|
+
import { ɵgetAllInstancesOf } from "@angular/fire";
|
|
155
|
+
import { from, timer } from "rxjs";
|
|
156
|
+
import { concatMap, distinct } from "rxjs/operators";
|
|
157
|
+
var AUTH_PROVIDER_NAME = "auth";
|
|
158
|
+
var Auth = class {
|
|
159
|
+
constructor(auth) {
|
|
160
|
+
return auth;
|
|
161
|
+
}
|
|
162
|
+
};
|
|
163
|
+
var AuthInstances = class {
|
|
164
|
+
constructor() {
|
|
165
|
+
return ɵgetAllInstancesOf(AUTH_PROVIDER_NAME);
|
|
166
|
+
}
|
|
167
|
+
};
|
|
168
|
+
var authInstance$ = timer(0, 300).pipe(concatMap(() => from(ɵgetAllInstancesOf(AUTH_PROVIDER_NAME))), distinct());
|
|
24
169
|
|
|
25
|
-
|
|
170
|
+
// auth.module.mjs
|
|
171
|
+
import { InjectionToken, Injector, NgModule, NgZone, Optional, makeEnvironmentProviders } from "@angular/core";
|
|
172
|
+
import { VERSION, ɵAngularFireSchedulers, ɵgetDefaultInstanceOf } from "@angular/fire";
|
|
173
|
+
import { ɵAppCheckInstances } from "@angular/fire";
|
|
174
|
+
import { FirebaseApp, FirebaseApps } from "@angular/fire/app";
|
|
175
|
+
import { registerVersion } from "firebase/app";
|
|
176
|
+
import * as i0 from "@angular/core";
|
|
177
|
+
var PROVIDED_AUTH_INSTANCES = new InjectionToken("angularfire2.auth-instances");
|
|
26
178
|
function defaultAuthInstanceFactory(provided, defaultApp) {
|
|
27
|
-
|
|
28
|
-
|
|
179
|
+
const defaultAuth = ɵgetDefaultInstanceOf(AUTH_PROVIDER_NAME, provided, defaultApp);
|
|
180
|
+
return defaultAuth && new Auth(defaultAuth);
|
|
29
181
|
}
|
|
30
182
|
function authInstanceFactory(fn) {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
183
|
+
return (zone, injector) => {
|
|
184
|
+
const auth = zone.runOutsideAngular(() => fn(injector));
|
|
185
|
+
return new Auth(auth);
|
|
186
|
+
};
|
|
35
187
|
}
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
188
|
+
var AUTH_INSTANCES_PROVIDER = {
|
|
189
|
+
provide: AuthInstances,
|
|
190
|
+
deps: [
|
|
191
|
+
[new Optional(), PROVIDED_AUTH_INSTANCES]
|
|
192
|
+
]
|
|
41
193
|
};
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
194
|
+
var DEFAULT_AUTH_INSTANCE_PROVIDER = {
|
|
195
|
+
provide: Auth,
|
|
196
|
+
useFactory: defaultAuthInstanceFactory,
|
|
197
|
+
deps: [
|
|
198
|
+
[new Optional(), PROVIDED_AUTH_INSTANCES],
|
|
199
|
+
FirebaseApp
|
|
200
|
+
]
|
|
49
201
|
};
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
}
|
|
61
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
202
|
+
var AuthModule = class _AuthModule {
|
|
203
|
+
constructor() {
|
|
204
|
+
registerVersion("angularfire", VERSION.full, "auth");
|
|
205
|
+
}
|
|
206
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.3", ngImport: i0, type: _AuthModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
207
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.0-rc.3", ngImport: i0, type: _AuthModule });
|
|
208
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.0-rc.3", ngImport: i0, type: _AuthModule, providers: [
|
|
209
|
+
DEFAULT_AUTH_INSTANCE_PROVIDER,
|
|
210
|
+
AUTH_INSTANCES_PROVIDER
|
|
211
|
+
] });
|
|
212
|
+
};
|
|
213
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.3", ngImport: i0, type: AuthModule, decorators: [{
|
|
214
|
+
type: NgModule,
|
|
215
|
+
args: [{
|
|
216
|
+
providers: [
|
|
217
|
+
DEFAULT_AUTH_INSTANCE_PROVIDER,
|
|
218
|
+
AUTH_INSTANCES_PROVIDER
|
|
219
|
+
]
|
|
220
|
+
}]
|
|
221
|
+
}], ctorParameters: () => [] });
|
|
70
222
|
function provideAuth(fn, ...deps) {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
223
|
+
registerVersion("angularfire", VERSION.full, "auth");
|
|
224
|
+
return makeEnvironmentProviders([
|
|
225
|
+
DEFAULT_AUTH_INSTANCE_PROVIDER,
|
|
226
|
+
AUTH_INSTANCES_PROVIDER,
|
|
227
|
+
{
|
|
228
|
+
provide: PROVIDED_AUTH_INSTANCES,
|
|
229
|
+
useFactory: authInstanceFactory(fn),
|
|
230
|
+
multi: true,
|
|
231
|
+
deps: [
|
|
232
|
+
NgZone,
|
|
233
|
+
Injector,
|
|
234
|
+
ɵAngularFireSchedulers,
|
|
235
|
+
FirebaseApps,
|
|
236
|
+
[new Optional(), ɵAppCheckInstances],
|
|
237
|
+
...deps
|
|
238
|
+
]
|
|
239
|
+
}
|
|
240
|
+
]);
|
|
89
241
|
}
|
|
90
242
|
|
|
91
|
-
//
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
243
|
+
// rxfire.mjs
|
|
244
|
+
import { ɵzoneWrap } from "@angular/fire";
|
|
245
|
+
import { authState as _authState, user as _user, idToken as _idToken } from "rxfire/auth";
|
|
246
|
+
var authState = ɵzoneWrap(_authState, true);
|
|
247
|
+
var user = ɵzoneWrap(_user, true);
|
|
248
|
+
var idToken = ɵzoneWrap(_idToken, true);
|
|
95
249
|
|
|
96
|
-
//
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
250
|
+
// firebase.mjs
|
|
251
|
+
var firebase_exports = {};
|
|
252
|
+
__export(firebase_exports, {
|
|
253
|
+
applyActionCode: () => applyActionCode,
|
|
254
|
+
beforeAuthStateChanged: () => beforeAuthStateChanged,
|
|
255
|
+
checkActionCode: () => checkActionCode,
|
|
256
|
+
confirmPasswordReset: () => confirmPasswordReset,
|
|
257
|
+
connectAuthEmulator: () => connectAuthEmulator,
|
|
258
|
+
createUserWithEmailAndPassword: () => createUserWithEmailAndPassword,
|
|
259
|
+
deleteUser: () => deleteUser,
|
|
260
|
+
fetchSignInMethodsForEmail: () => fetchSignInMethodsForEmail,
|
|
261
|
+
getAdditionalUserInfo: () => getAdditionalUserInfo,
|
|
262
|
+
getAuth: () => getAuth,
|
|
263
|
+
getIdToken: () => getIdToken,
|
|
264
|
+
getIdTokenResult: () => getIdTokenResult,
|
|
265
|
+
getMultiFactorResolver: () => getMultiFactorResolver,
|
|
266
|
+
getRedirectResult: () => getRedirectResult,
|
|
267
|
+
initializeAuth: () => initializeAuth,
|
|
268
|
+
initializeRecaptchaConfig: () => initializeRecaptchaConfig,
|
|
269
|
+
isSignInWithEmailLink: () => isSignInWithEmailLink,
|
|
270
|
+
linkWithCredential: () => linkWithCredential,
|
|
271
|
+
linkWithPhoneNumber: () => linkWithPhoneNumber,
|
|
272
|
+
linkWithPopup: () => linkWithPopup,
|
|
273
|
+
linkWithRedirect: () => linkWithRedirect,
|
|
274
|
+
multiFactor: () => multiFactor,
|
|
275
|
+
onAuthStateChanged: () => onAuthStateChanged,
|
|
276
|
+
onIdTokenChanged: () => onIdTokenChanged,
|
|
277
|
+
parseActionCodeURL: () => parseActionCodeURL,
|
|
278
|
+
reauthenticateWithCredential: () => reauthenticateWithCredential,
|
|
279
|
+
reauthenticateWithPhoneNumber: () => reauthenticateWithPhoneNumber,
|
|
280
|
+
reauthenticateWithPopup: () => reauthenticateWithPopup,
|
|
281
|
+
reauthenticateWithRedirect: () => reauthenticateWithRedirect,
|
|
282
|
+
reload: () => reload,
|
|
283
|
+
revokeAccessToken: () => revokeAccessToken,
|
|
284
|
+
sendEmailVerification: () => sendEmailVerification,
|
|
285
|
+
sendPasswordResetEmail: () => sendPasswordResetEmail,
|
|
286
|
+
sendSignInLinkToEmail: () => sendSignInLinkToEmail,
|
|
287
|
+
setPersistence: () => setPersistence,
|
|
288
|
+
signInAnonymously: () => signInAnonymously,
|
|
289
|
+
signInWithCredential: () => signInWithCredential,
|
|
290
|
+
signInWithCustomToken: () => signInWithCustomToken,
|
|
291
|
+
signInWithEmailAndPassword: () => signInWithEmailAndPassword,
|
|
292
|
+
signInWithEmailLink: () => signInWithEmailLink,
|
|
293
|
+
signInWithPhoneNumber: () => signInWithPhoneNumber,
|
|
294
|
+
signInWithPopup: () => signInWithPopup,
|
|
295
|
+
signInWithRedirect: () => signInWithRedirect,
|
|
296
|
+
signOut: () => signOut,
|
|
297
|
+
unlink: () => unlink,
|
|
298
|
+
updateCurrentUser: () => updateCurrentUser,
|
|
299
|
+
updateEmail: () => updateEmail,
|
|
300
|
+
updatePassword: () => updatePassword,
|
|
301
|
+
updatePhoneNumber: () => updatePhoneNumber,
|
|
302
|
+
updateProfile: () => updateProfile,
|
|
303
|
+
useDeviceLanguage: () => useDeviceLanguage,
|
|
304
|
+
validatePassword: () => validatePassword,
|
|
305
|
+
verifyBeforeUpdateEmail: () => verifyBeforeUpdateEmail,
|
|
306
|
+
verifyPasswordResetCode: () => verifyPasswordResetCode
|
|
307
|
+
});
|
|
308
|
+
__reExport(firebase_exports, auth_star);
|
|
309
|
+
import * as auth_star from "firebase/auth";
|
|
310
|
+
import { ɵzoneWrap as ɵzoneWrap2 } from "@angular/fire";
|
|
311
|
+
import { applyActionCode as _applyActionCode, beforeAuthStateChanged as _beforeAuthStateChanged, checkActionCode as _checkActionCode, confirmPasswordReset as _confirmPasswordReset, connectAuthEmulator as _connectAuthEmulator, createUserWithEmailAndPassword as _createUserWithEmailAndPassword, deleteUser as _deleteUser, fetchSignInMethodsForEmail as _fetchSignInMethodsForEmail, getAdditionalUserInfo as _getAdditionalUserInfo, getAuth as _getAuth, getIdToken as _getIdToken, getIdTokenResult as _getIdTokenResult, getMultiFactorResolver as _getMultiFactorResolver, getRedirectResult as _getRedirectResult, initializeAuth as _initializeAuth, initializeRecaptchaConfig as _initializeRecaptchaConfig, isSignInWithEmailLink as _isSignInWithEmailLink, linkWithCredential as _linkWithCredential, linkWithPhoneNumber as _linkWithPhoneNumber, linkWithPopup as _linkWithPopup, linkWithRedirect as _linkWithRedirect, multiFactor as _multiFactor, onAuthStateChanged as _onAuthStateChanged, onIdTokenChanged as _onIdTokenChanged, parseActionCodeURL as _parseActionCodeURL, reauthenticateWithCredential as _reauthenticateWithCredential, reauthenticateWithPhoneNumber as _reauthenticateWithPhoneNumber, reauthenticateWithPopup as _reauthenticateWithPopup, reauthenticateWithRedirect as _reauthenticateWithRedirect, reload as _reload, revokeAccessToken as _revokeAccessToken, sendEmailVerification as _sendEmailVerification, sendPasswordResetEmail as _sendPasswordResetEmail, sendSignInLinkToEmail as _sendSignInLinkToEmail, setPersistence as _setPersistence, signInAnonymously as _signInAnonymously, signInWithCredential as _signInWithCredential, signInWithCustomToken as _signInWithCustomToken, signInWithEmailAndPassword as _signInWithEmailAndPassword, signInWithEmailLink as _signInWithEmailLink, signInWithPhoneNumber as _signInWithPhoneNumber, signInWithPopup as _signInWithPopup, signInWithRedirect as _signInWithRedirect, signOut as _signOut, unlink as _unlink, updateCurrentUser as _updateCurrentUser, updateEmail as _updateEmail, updatePassword as _updatePassword, updatePhoneNumber as _updatePhoneNumber, updateProfile as _updateProfile, useDeviceLanguage as _useDeviceLanguage, validatePassword as _validatePassword, verifyBeforeUpdateEmail as _verifyBeforeUpdateEmail, verifyPasswordResetCode as _verifyPasswordResetCode } from "firebase/auth";
|
|
312
|
+
var applyActionCode = ɵzoneWrap2(_applyActionCode, true);
|
|
313
|
+
var beforeAuthStateChanged = ɵzoneWrap2(_beforeAuthStateChanged, true);
|
|
314
|
+
var checkActionCode = ɵzoneWrap2(_checkActionCode, true);
|
|
315
|
+
var confirmPasswordReset = ɵzoneWrap2(_confirmPasswordReset, true);
|
|
316
|
+
var connectAuthEmulator = ɵzoneWrap2(_connectAuthEmulator, true);
|
|
317
|
+
var createUserWithEmailAndPassword = ɵzoneWrap2(_createUserWithEmailAndPassword, true);
|
|
318
|
+
var deleteUser = ɵzoneWrap2(_deleteUser, true);
|
|
319
|
+
var fetchSignInMethodsForEmail = ɵzoneWrap2(_fetchSignInMethodsForEmail, true);
|
|
320
|
+
var getAdditionalUserInfo = ɵzoneWrap2(_getAdditionalUserInfo, true);
|
|
321
|
+
var getAuth = ɵzoneWrap2(_getAuth, true);
|
|
322
|
+
var getIdToken = ɵzoneWrap2(_getIdToken, true);
|
|
323
|
+
var getIdTokenResult = ɵzoneWrap2(_getIdTokenResult, true);
|
|
324
|
+
var getMultiFactorResolver = ɵzoneWrap2(_getMultiFactorResolver, true);
|
|
325
|
+
var getRedirectResult = ɵzoneWrap2(_getRedirectResult, true);
|
|
326
|
+
var initializeAuth = ɵzoneWrap2(_initializeAuth, true);
|
|
327
|
+
var initializeRecaptchaConfig = ɵzoneWrap2(_initializeRecaptchaConfig, true);
|
|
328
|
+
var isSignInWithEmailLink = ɵzoneWrap2(_isSignInWithEmailLink, true);
|
|
329
|
+
var linkWithCredential = ɵzoneWrap2(_linkWithCredential, true);
|
|
330
|
+
var linkWithPhoneNumber = ɵzoneWrap2(_linkWithPhoneNumber, true);
|
|
331
|
+
var linkWithPopup = ɵzoneWrap2(_linkWithPopup, true);
|
|
332
|
+
var linkWithRedirect = ɵzoneWrap2(_linkWithRedirect, true);
|
|
333
|
+
var multiFactor = ɵzoneWrap2(_multiFactor, true);
|
|
334
|
+
var onAuthStateChanged = ɵzoneWrap2(_onAuthStateChanged, true);
|
|
335
|
+
var onIdTokenChanged = ɵzoneWrap2(_onIdTokenChanged, true);
|
|
336
|
+
var parseActionCodeURL = ɵzoneWrap2(_parseActionCodeURL, true);
|
|
337
|
+
var reauthenticateWithCredential = ɵzoneWrap2(_reauthenticateWithCredential, true);
|
|
338
|
+
var reauthenticateWithPhoneNumber = ɵzoneWrap2(_reauthenticateWithPhoneNumber, true);
|
|
339
|
+
var reauthenticateWithPopup = ɵzoneWrap2(_reauthenticateWithPopup, true);
|
|
340
|
+
var reauthenticateWithRedirect = ɵzoneWrap2(_reauthenticateWithRedirect, true);
|
|
341
|
+
var reload = ɵzoneWrap2(_reload, true);
|
|
342
|
+
var revokeAccessToken = ɵzoneWrap2(_revokeAccessToken, true);
|
|
343
|
+
var sendEmailVerification = ɵzoneWrap2(_sendEmailVerification, true);
|
|
344
|
+
var sendPasswordResetEmail = ɵzoneWrap2(_sendPasswordResetEmail, true);
|
|
345
|
+
var sendSignInLinkToEmail = ɵzoneWrap2(_sendSignInLinkToEmail, true);
|
|
346
|
+
var setPersistence = ɵzoneWrap2(_setPersistence, true);
|
|
347
|
+
var signInAnonymously = ɵzoneWrap2(_signInAnonymously, true);
|
|
348
|
+
var signInWithCredential = ɵzoneWrap2(_signInWithCredential, true);
|
|
349
|
+
var signInWithCustomToken = ɵzoneWrap2(_signInWithCustomToken, true);
|
|
350
|
+
var signInWithEmailAndPassword = ɵzoneWrap2(_signInWithEmailAndPassword, true);
|
|
351
|
+
var signInWithEmailLink = ɵzoneWrap2(_signInWithEmailLink, true);
|
|
352
|
+
var signInWithPhoneNumber = ɵzoneWrap2(_signInWithPhoneNumber, true);
|
|
353
|
+
var signInWithPopup = ɵzoneWrap2(_signInWithPopup, true);
|
|
354
|
+
var signInWithRedirect = ɵzoneWrap2(_signInWithRedirect, true);
|
|
355
|
+
var signOut = ɵzoneWrap2(_signOut, true);
|
|
356
|
+
var unlink = ɵzoneWrap2(_unlink, true);
|
|
357
|
+
var updateCurrentUser = ɵzoneWrap2(_updateCurrentUser, true);
|
|
358
|
+
var updateEmail = ɵzoneWrap2(_updateEmail, true);
|
|
359
|
+
var updatePassword = ɵzoneWrap2(_updatePassword, true);
|
|
360
|
+
var updatePhoneNumber = ɵzoneWrap2(_updatePhoneNumber, true);
|
|
361
|
+
var updateProfile = ɵzoneWrap2(_updateProfile, true);
|
|
362
|
+
var useDeviceLanguage = ɵzoneWrap2(_useDeviceLanguage, true);
|
|
363
|
+
var validatePassword = ɵzoneWrap2(_validatePassword, true);
|
|
364
|
+
var verifyBeforeUpdateEmail = ɵzoneWrap2(_verifyBeforeUpdateEmail, true);
|
|
365
|
+
var verifyPasswordResetCode = ɵzoneWrap2(_verifyPasswordResetCode, true);
|
|
151
366
|
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
*/
|
|
367
|
+
// public_api.mjs
|
|
368
|
+
__reExport(public_api_exports, firebase_exports);
|
|
155
369
|
|
|
156
|
-
|
|
370
|
+
// angular-fire-auth.mjs
|
|
371
|
+
__reExport(angular_fire_auth_exports, public_api_exports);
|
|
372
|
+
export {
|
|
373
|
+
Auth,
|
|
374
|
+
AuthInstances,
|
|
375
|
+
AuthModule,
|
|
376
|
+
applyActionCode,
|
|
377
|
+
authInstance$,
|
|
378
|
+
authState,
|
|
379
|
+
beforeAuthStateChanged,
|
|
380
|
+
checkActionCode,
|
|
381
|
+
confirmPasswordReset,
|
|
382
|
+
connectAuthEmulator,
|
|
383
|
+
createUserWithEmailAndPassword,
|
|
384
|
+
deleteUser,
|
|
385
|
+
fetchSignInMethodsForEmail,
|
|
386
|
+
getAdditionalUserInfo,
|
|
387
|
+
getAuth,
|
|
388
|
+
getIdToken,
|
|
389
|
+
getIdTokenResult,
|
|
390
|
+
getMultiFactorResolver,
|
|
391
|
+
getRedirectResult,
|
|
392
|
+
idToken,
|
|
393
|
+
initializeAuth,
|
|
394
|
+
initializeRecaptchaConfig,
|
|
395
|
+
isSignInWithEmailLink,
|
|
396
|
+
linkWithCredential,
|
|
397
|
+
linkWithPhoneNumber,
|
|
398
|
+
linkWithPopup,
|
|
399
|
+
linkWithRedirect,
|
|
400
|
+
multiFactor,
|
|
401
|
+
onAuthStateChanged,
|
|
402
|
+
onIdTokenChanged,
|
|
403
|
+
parseActionCodeURL,
|
|
404
|
+
provideAuth,
|
|
405
|
+
reauthenticateWithCredential,
|
|
406
|
+
reauthenticateWithPhoneNumber,
|
|
407
|
+
reauthenticateWithPopup,
|
|
408
|
+
reauthenticateWithRedirect,
|
|
409
|
+
reload,
|
|
410
|
+
revokeAccessToken,
|
|
411
|
+
sendEmailVerification,
|
|
412
|
+
sendPasswordResetEmail,
|
|
413
|
+
sendSignInLinkToEmail,
|
|
414
|
+
setPersistence,
|
|
415
|
+
signInAnonymously,
|
|
416
|
+
signInWithCredential,
|
|
417
|
+
signInWithCustomToken,
|
|
418
|
+
signInWithEmailAndPassword,
|
|
419
|
+
signInWithEmailLink,
|
|
420
|
+
signInWithPhoneNumber,
|
|
421
|
+
signInWithPopup,
|
|
422
|
+
signInWithRedirect,
|
|
423
|
+
signOut,
|
|
424
|
+
unlink,
|
|
425
|
+
updateCurrentUser,
|
|
426
|
+
updateEmail,
|
|
427
|
+
updatePassword,
|
|
428
|
+
updatePhoneNumber,
|
|
429
|
+
updateProfile,
|
|
430
|
+
useDeviceLanguage,
|
|
431
|
+
user,
|
|
432
|
+
validatePassword,
|
|
433
|
+
verifyBeforeUpdateEmail,
|
|
434
|
+
verifyPasswordResetCode
|
|
435
|
+
};
|
|
157
436
|
//# sourceMappingURL=angular-fire-auth.mjs.map
|