@firebase-oss/ui-angular 0.0.2-exp.ae8e5f9 → 0.0.2-exp.b4669f7
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/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _tanstack_angular_form from '@tanstack/angular-form';
|
|
2
2
|
import * as _angular_core from '@angular/core';
|
|
3
3
|
import { EventEmitter, OnInit, ElementRef, Signal, EnvironmentProviders } from '@angular/core';
|
|
4
|
-
import { UserCredential,
|
|
4
|
+
import { UserCredential, OAuthProvider, FacebookAuthProvider, GithubAuthProvider, GoogleAuthProvider, AuthProvider, TwitterAuthProvider, User } from '@angular/fire/auth';
|
|
5
5
|
import * as firebase_auth from 'firebase/auth';
|
|
6
6
|
import { UserCredential as UserCredential$1, MultiFactorInfo, FactorId, RecaptchaVerifier, TotpSecret } from 'firebase/auth';
|
|
7
7
|
import * as libphonenumber_js from 'libphonenumber-js';
|
|
@@ -720,19 +720,19 @@ declare class TotpMultiFactorEnrollmentFormComponent {
|
|
|
720
720
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TotpMultiFactorEnrollmentFormComponent, "fui-totp-multi-factor-enrollment-form", never, {}, { "onEnrollment": "onEnrollment"; }, never, never, true, never>;
|
|
721
721
|
}
|
|
722
722
|
|
|
723
|
-
declare class
|
|
723
|
+
declare class AppleSignInButtonComponent {
|
|
724
724
|
ui: _angular_core.Signal<_firebase_oss_ui_core.FirebaseUI>;
|
|
725
|
-
|
|
725
|
+
signInWithAppleLabel: _angular_core.Signal<string>;
|
|
726
726
|
/** Whether to use themed styling. */
|
|
727
|
-
themed: _angular_core.InputSignal<boolean
|
|
727
|
+
themed: _angular_core.InputSignal<boolean>;
|
|
728
728
|
/** Event emitter for successful sign-in. */
|
|
729
729
|
signIn: _angular_core.OutputEmitterRef<UserCredential>;
|
|
730
730
|
private defaultProvider;
|
|
731
731
|
/** Optional custom OAuth provider configuration. */
|
|
732
|
-
provider: _angular_core.InputSignal<
|
|
733
|
-
get
|
|
734
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
735
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
732
|
+
provider: _angular_core.InputSignal<OAuthProvider>;
|
|
733
|
+
get appleProvider(): OAuthProvider;
|
|
734
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AppleSignInButtonComponent, never>;
|
|
735
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AppleSignInButtonComponent, "fui-apple-sign-in-button", never, { "themed": { "alias": "themed"; "required": false; "isSignal": true; }; "provider": { "alias": "provider"; "required": false; "isSignal": true; }; }, { "signIn": "signIn"; }, never, never, true, never>;
|
|
736
736
|
}
|
|
737
737
|
|
|
738
738
|
declare class FacebookSignInButtonComponent {
|
|
@@ -750,61 +750,47 @@ declare class FacebookSignInButtonComponent {
|
|
|
750
750
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FacebookSignInButtonComponent, "fui-facebook-sign-in-button", never, { "themed": { "alias": "themed"; "required": false; "isSignal": true; }; "provider": { "alias": "provider"; "required": false; "isSignal": true; }; }, { "signIn": "signIn"; }, never, never, true, never>;
|
|
751
751
|
}
|
|
752
752
|
|
|
753
|
-
declare class
|
|
754
|
-
|
|
755
|
-
signInWithAppleLabel: _angular_core.Signal<string>;
|
|
756
|
-
/** Whether to use themed styling. */
|
|
757
|
-
themed: _angular_core.InputSignal<boolean>;
|
|
758
|
-
/** Event emitter for successful sign-in. */
|
|
759
|
-
signIn: _angular_core.OutputEmitterRef<UserCredential>;
|
|
760
|
-
private defaultProvider;
|
|
761
|
-
/** Optional custom OAuth provider configuration. */
|
|
762
|
-
provider: _angular_core.InputSignal<OAuthProvider>;
|
|
763
|
-
get appleProvider(): OAuthProvider;
|
|
764
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AppleSignInButtonComponent, never>;
|
|
765
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AppleSignInButtonComponent, "fui-apple-sign-in-button", never, { "themed": { "alias": "themed"; "required": false; "isSignal": true; }; "provider": { "alias": "provider"; "required": false; "isSignal": true; }; }, { "signIn": "signIn"; }, never, never, true, never>;
|
|
766
|
-
}
|
|
767
|
-
|
|
768
|
-
declare class MicrosoftSignInButtonComponent {
|
|
769
|
-
signInWithMicrosoftLabel: _angular_core.Signal<string>;
|
|
753
|
+
declare class GitHubSignInButtonComponent {
|
|
754
|
+
signInWithGitHubLabel: _angular_core.Signal<string>;
|
|
770
755
|
/** Whether to use themed styling. */
|
|
771
756
|
themed: _angular_core.InputSignal<boolean>;
|
|
772
757
|
/** Event emitter for successful sign-in. */
|
|
773
758
|
signIn: _angular_core.OutputEmitterRef<UserCredential>;
|
|
774
759
|
private defaultProvider;
|
|
775
760
|
/** Optional custom OAuth provider configuration. */
|
|
776
|
-
provider: _angular_core.InputSignal<
|
|
777
|
-
get
|
|
778
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
779
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
761
|
+
provider: _angular_core.InputSignal<GithubAuthProvider>;
|
|
762
|
+
get githubProvider(): GithubAuthProvider;
|
|
763
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GitHubSignInButtonComponent, never>;
|
|
764
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<GitHubSignInButtonComponent, "fui-github-sign-in-button", never, { "themed": { "alias": "themed"; "required": false; "isSignal": true; }; "provider": { "alias": "provider"; "required": false; "isSignal": true; }; }, { "signIn": "signIn"; }, never, never, true, never>;
|
|
780
765
|
}
|
|
781
766
|
|
|
782
|
-
declare class
|
|
783
|
-
|
|
767
|
+
declare class GoogleSignInButtonComponent {
|
|
768
|
+
ui: _angular_core.Signal<_firebase_oss_ui_core.FirebaseUI>;
|
|
769
|
+
signInWithGoogleLabel: _angular_core.Signal<string>;
|
|
784
770
|
/** Whether to use themed styling. */
|
|
785
|
-
themed: _angular_core.InputSignal<boolean>;
|
|
771
|
+
themed: _angular_core.InputSignal<boolean | "neutral">;
|
|
786
772
|
/** Event emitter for successful sign-in. */
|
|
787
773
|
signIn: _angular_core.OutputEmitterRef<UserCredential>;
|
|
788
774
|
private defaultProvider;
|
|
789
775
|
/** Optional custom OAuth provider configuration. */
|
|
790
|
-
provider: _angular_core.InputSignal<
|
|
791
|
-
get
|
|
792
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
793
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
776
|
+
provider: _angular_core.InputSignal<GoogleAuthProvider>;
|
|
777
|
+
get googleProvider(): GoogleAuthProvider;
|
|
778
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GoogleSignInButtonComponent, never>;
|
|
779
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<GoogleSignInButtonComponent, "fui-google-sign-in-button", never, { "themed": { "alias": "themed"; "required": false; "isSignal": true; }; "provider": { "alias": "provider"; "required": false; "isSignal": true; }; }, { "signIn": "signIn"; }, never, never, true, never>;
|
|
794
780
|
}
|
|
795
781
|
|
|
796
|
-
declare class
|
|
797
|
-
|
|
782
|
+
declare class MicrosoftSignInButtonComponent {
|
|
783
|
+
signInWithMicrosoftLabel: _angular_core.Signal<string>;
|
|
798
784
|
/** Whether to use themed styling. */
|
|
799
785
|
themed: _angular_core.InputSignal<boolean>;
|
|
800
786
|
/** Event emitter for successful sign-in. */
|
|
801
787
|
signIn: _angular_core.OutputEmitterRef<UserCredential>;
|
|
802
788
|
private defaultProvider;
|
|
803
789
|
/** Optional custom OAuth provider configuration. */
|
|
804
|
-
provider: _angular_core.InputSignal<
|
|
805
|
-
get
|
|
806
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
807
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
790
|
+
provider: _angular_core.InputSignal<OAuthProvider>;
|
|
791
|
+
get microsoftProvider(): OAuthProvider;
|
|
792
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MicrosoftSignInButtonComponent, never>;
|
|
793
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MicrosoftSignInButtonComponent, "fui-microsoft-sign-in-button", never, { "themed": { "alias": "themed"; "required": false; "isSignal": true; }; "provider": { "alias": "provider"; "required": false; "isSignal": true; }; }, { "signIn": "signIn"; }, never, never, true, never>;
|
|
808
794
|
}
|
|
809
795
|
|
|
810
796
|
declare class OAuthButtonComponent {
|
|
@@ -822,6 +808,20 @@ declare class OAuthButtonComponent {
|
|
|
822
808
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<OAuthButtonComponent, "fui-oauth-button", never, { "provider": { "alias": "provider"; "required": true; "isSignal": true; }; "themed": { "alias": "themed"; "required": false; "isSignal": true; }; }, { "signIn": "signIn"; }, never, ["*"], true, never>;
|
|
823
809
|
}
|
|
824
810
|
|
|
811
|
+
declare class TwitterSignInButtonComponent {
|
|
812
|
+
signInWithTwitterLabel: _angular_core.Signal<string>;
|
|
813
|
+
/** Whether to use themed styling. */
|
|
814
|
+
themed: _angular_core.InputSignal<boolean>;
|
|
815
|
+
/** Event emitter for successful sign-in. */
|
|
816
|
+
signIn: _angular_core.OutputEmitterRef<UserCredential>;
|
|
817
|
+
private defaultProvider;
|
|
818
|
+
/** Optional custom OAuth provider configuration. */
|
|
819
|
+
provider: _angular_core.InputSignal<TwitterAuthProvider>;
|
|
820
|
+
get twitterProvider(): TwitterAuthProvider;
|
|
821
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TwitterSignInButtonComponent, never>;
|
|
822
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TwitterSignInButtonComponent, "fui-twitter-sign-in-button", never, { "themed": { "alias": "themed"; "required": false; "isSignal": true; }; "provider": { "alias": "provider"; "required": false; "isSignal": true; }; }, { "signIn": "signIn"; }, never, never, true, never>;
|
|
823
|
+
}
|
|
824
|
+
|
|
825
825
|
declare class EmailLinkAuthScreenComponent {
|
|
826
826
|
private ui;
|
|
827
827
|
mfaResolver: _angular_core.Signal<firebase_auth.MultiFactorResolver>;
|
|
@@ -951,6 +951,12 @@ declare class CardContentComponent {
|
|
|
951
951
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CardContentComponent, "fui-card-content", never, {}, {}, never, ["*"], true, never>;
|
|
952
952
|
}
|
|
953
953
|
|
|
954
|
+
declare class ContentComponent {
|
|
955
|
+
dividerOrLabel: _angular_core.Signal<string>;
|
|
956
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ContentComponent, never>;
|
|
957
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ContentComponent, "fui-content", never, {}, {}, never, ["*"], true, never>;
|
|
958
|
+
}
|
|
959
|
+
|
|
954
960
|
declare class CountrySelectorComponent {
|
|
955
961
|
countries: _angular_core.Signal<_firebase_oss_ui_core.CountryData[]>;
|
|
956
962
|
defaultCountry: _angular_core.Signal<_firebase_oss_ui_core.CountryData>;
|
|
@@ -1011,12 +1017,6 @@ declare class PoliciesComponent {
|
|
|
1011
1017
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PoliciesComponent, "fui-policies", never, {}, {}, never, never, true, never>;
|
|
1012
1018
|
}
|
|
1013
1019
|
|
|
1014
|
-
declare class ContentComponent {
|
|
1015
|
-
dividerOrLabel: _angular_core.Signal<string>;
|
|
1016
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ContentComponent, never>;
|
|
1017
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ContentComponent, "fui-content", never, {}, {}, never, ["*"], true, never>;
|
|
1018
|
-
}
|
|
1019
|
-
|
|
1020
1020
|
declare class RedirectErrorComponent {
|
|
1021
1021
|
error: _angular_core.Signal<string>;
|
|
1022
1022
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RedirectErrorComponent, never>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@firebase-oss/ui-angular",
|
|
3
|
-
"version": "0.0.2-exp.
|
|
3
|
+
"version": "0.0.2-exp.b4669f7",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist"
|
|
6
6
|
],
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"@tanstack/angular-form": "^1.23.1",
|
|
22
22
|
"nanostores": "^1.0.1",
|
|
23
23
|
"tslib": "^2.8.1",
|
|
24
|
-
"@firebase-oss/ui-
|
|
25
|
-
"@firebase-oss/ui-
|
|
24
|
+
"@firebase-oss/ui-styles": "0.0.2-exp.b4669f7",
|
|
25
|
+
"@firebase-oss/ui-core": "0.0.2-exp.b4669f7"
|
|
26
26
|
},
|
|
27
27
|
"sideEffects": false,
|
|
28
28
|
"devDependencies": {
|
|
@@ -56,7 +56,8 @@
|
|
|
56
56
|
"zone.js": "^0.15.0"
|
|
57
57
|
},
|
|
58
58
|
"scripts": {
|
|
59
|
-
"build": "pnpm run build:logos && ng-packagr -p ng-package.json",
|
|
59
|
+
"build": "pnpm run update:version && pnpm run build:logos && ng-packagr -p ng-package.json",
|
|
60
|
+
"update:version": "tsx update-version.ts",
|
|
60
61
|
"build:logos": "tsx generate-logos.ts",
|
|
61
62
|
"test": "jest --silent",
|
|
62
63
|
"version:bump": "pnpm version patch",
|