@dereekb/dbx-firebase 14.1.0 → 14.3.0

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.
@@ -57,7 +57,7 @@ class DbxFirebaseStyleDemoLoginSectionComponent {
57
57
  </div>
58
58
  </dbx-docs-ui-example-content>
59
59
  </dbx-docs-ui-example>
60
- `, isInline: true, dependencies: [{ kind: "component", type: DbxDocsUiExampleComponent, selector: "dbx-docs-ui-example", inputs: ["header", "hint"] }, { kind: "component", type: DbxDocsUiExampleInfoComponent, selector: "dbx-docs-ui-example-info" }, { kind: "component", type: DbxDocsUiExampleContentComponent, selector: "dbx-docs-ui-example-content" }, { kind: "directive", type: DbxFlexGroupDirective, selector: "[dbxFlexGroup]", inputs: ["content", "breakToColumn", "relative", "breakpoint"] }, { kind: "directive", type: DbxFlexSizeDirective, selector: "[dbxFlexSize]", inputs: ["dbxFlexSize"] }, { kind: "component", type: DbxFirebaseLoginComponent, selector: "dbx-firebase-login", inputs: ["loginMode", "providerTypes", "omitProviderTypes", "providerCategories"] }, { kind: "component", type: DbxFirebaseOAuthLoginViewComponent, selector: "dbx-firebase-oauth-login-view", inputs: ["loginStateCase", "error"], outputs: ["retryClick"] }] });
60
+ `, isInline: true, dependencies: [{ kind: "component", type: DbxDocsUiExampleComponent, selector: "dbx-docs-ui-example", inputs: ["header", "hint"] }, { kind: "component", type: DbxDocsUiExampleInfoComponent, selector: "dbx-docs-ui-example-info" }, { kind: "component", type: DbxDocsUiExampleContentComponent, selector: "dbx-docs-ui-example-content" }, { kind: "directive", type: DbxFlexGroupDirective, selector: "[dbxFlexGroup]", inputs: ["content", "breakToColumn", "relative", "breakpoint"] }, { kind: "directive", type: DbxFlexSizeDirective, selector: "[dbxFlexSize]", inputs: ["dbxFlexSize"] }, { kind: "component", type: DbxFirebaseLoginComponent, selector: "dbx-firebase-login", inputs: ["loginMode", "providerTypes", "omitProviderTypes", "providerCategories"] }, { kind: "component", type: DbxFirebaseOAuthLoginViewComponent, selector: "dbx-firebase-oauth-login-view", inputs: ["loginStateCase", "error", "notice"], outputs: ["retryClick"] }] });
61
61
  }
62
62
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: DbxFirebaseStyleDemoLoginSectionComponent, decorators: [{
63
63
  type: Component,
@@ -1 +1 @@
1
- {"version":3,"file":"dereekb-dbx-firebase-style-demo.mjs","sources":["../../../../packages/dbx-firebase/style-demo/src/lib/login.section.component.ts","../../../../packages/dbx-firebase/style-demo/src/lib/firebase.style.demo.providers.ts","../../../../packages/dbx-firebase/style-demo/src/dereekb-dbx-firebase-style-demo.ts"],"sourcesContent":["import { Component } from '@angular/core';\nimport { DbxFlexGroupDirective, DbxFlexSizeDirective } from '@dereekb/dbx-web';\nimport { DbxDocsUiExampleComponent, DbxDocsUiExampleContentComponent, DbxDocsUiExampleInfoComponent } from '@dereekb/dbx-web/docs';\nimport { DbxFirebaseLoginComponent } from '@dereekb/dbx-firebase';\nimport { DbxFirebaseOAuthLoginViewComponent } from '@dereekb/dbx-firebase/oidc';\n\n/**\n * Style-demo section showing the presentational `dbx-firebase-oauth-login-view` in its three render states —\n * `no_user` (projecting the real `dbx-firebase-login` provider buttons), `submitting`, and `error` — so the login\n * surfaces are visible in the playground. Rendering makes no network calls; the provider buttons resolve from the\n * host app's login configuration at render time.\n *\n * @dbxDocsUiExample\n * @dbxDocsUiExampleSlug style-demo-firebase-login\n * @dbxDocsUiExampleCategory style-demo\n * @dbxDocsUiExampleSummary The dbx-firebase-oauth-login-view in its no_user, submitting, and error render states.\n * @dbxDocsUiExampleRelated dbx-firebase-login\n */\n@Component({\n selector: 'dbx-firebase-style-demo-login-section',\n imports: [DbxDocsUiExampleComponent, DbxDocsUiExampleInfoComponent, DbxDocsUiExampleContentComponent, DbxFlexGroupDirective, DbxFlexSizeDirective, DbxFirebaseLoginComponent, DbxFirebaseOAuthLoginViewComponent],\n template: `\n <dbx-docs-ui-example header=\"Firebase Login\" hint=\"The OIDC login view in each render state.\">\n <dbx-docs-ui-example-info>\n <p>\n <code>dbx-firebase-oauth-login-view</code>\n is presentational: it renders the login UI for a given\n <code>loginStateCase</code>\n . The\n <code>no_user</code>\n tile projects the real\n <code>dbx-firebase-login</code>\n provider buttons; the\n <code>submitting</code>\n and\n <code>error</code>\n tiles show the loading and error+retry styling. Rendering makes no network calls — the buttons resolve from the host app's login configuration at render time.\n </p>\n </dbx-docs-ui-example-info>\n <dbx-docs-ui-example-content>\n <div dbxFlexGroup>\n <div [dbxFlexSize]=\"2\">\n <div class=\"dbx-text-label-small dbx-hint dbx-pb1\">No user</div>\n <dbx-firebase-oauth-login-view [loginStateCase]=\"'no_user'\">\n <dbx-firebase-login></dbx-firebase-login>\n </dbx-firebase-oauth-login-view>\n </div>\n <div [dbxFlexSize]=\"2\">\n <div class=\"dbx-text-label-small dbx-hint dbx-pb1\">Submitting</div>\n <dbx-firebase-oauth-login-view [loginStateCase]=\"'submitting'\"></dbx-firebase-oauth-login-view>\n </div>\n <div [dbxFlexSize]=\"2\">\n <div class=\"dbx-text-label-small dbx-hint dbx-pb1\">Error</div>\n <dbx-firebase-oauth-login-view [loginStateCase]=\"'error'\" [error]=\"'Example authentication error for styling.'\"></dbx-firebase-oauth-login-view>\n </div>\n </div>\n </dbx-docs-ui-example-content>\n </dbx-docs-ui-example>\n `\n})\nexport class DbxFirebaseStyleDemoLoginSectionComponent {}\n","import { type EnvironmentProviders } from '@angular/core';\nimport { type DbxStyleDemoSectionGroup, provideDbxStyleDemoSections } from '@dereekb/dbx-web/style-demo';\nimport { DbxFirebaseStyleDemoLoginSectionComponent } from './login.section.component';\n\n/**\n * The `@dereekb/dbx-firebase/style-demo` section group.\n */\nexport const DBX_FIREBASE_STYLE_DEMO_SECTION_GROUP: DbxStyleDemoSectionGroup = {\n libId: 'dbx-firebase',\n sections: [{ id: 'dbx-firebase-login', title: 'Firebase Login', group: 'firebase', tags: ['dbx-firebase', 'login'], component: DbxFirebaseStyleDemoLoginSectionComponent, defaultEnabled: true }]\n};\n\n/**\n * Registers the `@dereekb/dbx-firebase/style-demo` sections with the `<dbx-style-demo>` playground.\n *\n * The Firebase Login section renders `dbx-firebase-oauth-login-view` (with `dbx-firebase-login` projected for the\n * `no_user` state), so the host app must provide Firebase auth (`provideDbxFirebase`) and login configuration\n * (`provideDbxFirebaseLogin({ enabledLoginMethods, ... })`). Rendering makes no network calls until a button is clicked.\n *\n * Pair with `provideDbxStyleDemo()` (the shell from `@dereekb/dbx-web/style-demo`).\n *\n * @returns EnvironmentProviders contributing the firebase sections.\n *\n * @__NO_SIDE_EFFECTS__\n */\nexport function provideDbxFirebaseStyleDemo(): EnvironmentProviders {\n return provideDbxStyleDemoSections(DBX_FIREBASE_STYLE_DEMO_SECTION_GROUP);\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AAMA;;;;;;;;;;;AAWG;MA2CU,yCAAyC,CAAA;uGAAzC,yCAAyC,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAzC,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,yCAAyC,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,uCAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAvC1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqCT,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAtCS,yBAAyB,EAAA,QAAA,EAAA,qBAAA,EAAA,MAAA,EAAA,CAAA,QAAA,EAAA,MAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAE,6B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AE,oBAAoB,EAAE,KAAK,EAAE,gBAAgB,EAAE,KAAK,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC,cAAc,EAAE,OAAO,CAAC,EAAE,SAAS,EAAE,yCAAyC,EAAE,cAAc,EAAE,IAAI,EAAE;;AAGlM;;;;;;;;;;;;AAYG;SACa,2BAA2B,GAAA;AACzC,IAAA,OAAO,2BAA2B,CAAC,qCAAqC,CAAC;AAC3E;;AC3BA;;AAEG;;"}
1
+ {"version":3,"file":"dereekb-dbx-firebase-style-demo.mjs","sources":["../../../../packages/dbx-firebase/style-demo/src/lib/login.section.component.ts","../../../../packages/dbx-firebase/style-demo/src/lib/firebase.style.demo.providers.ts","../../../../packages/dbx-firebase/style-demo/src/dereekb-dbx-firebase-style-demo.ts"],"sourcesContent":["import { Component } from '@angular/core';\nimport { DbxFlexGroupDirective, DbxFlexSizeDirective } from '@dereekb/dbx-web';\nimport { DbxDocsUiExampleComponent, DbxDocsUiExampleContentComponent, DbxDocsUiExampleInfoComponent } from '@dereekb/dbx-web/docs';\nimport { DbxFirebaseLoginComponent } from '@dereekb/dbx-firebase';\nimport { DbxFirebaseOAuthLoginViewComponent } from '@dereekb/dbx-firebase/oidc';\n\n/**\n * Style-demo section showing the presentational `dbx-firebase-oauth-login-view` in its three render states —\n * `no_user` (projecting the real `dbx-firebase-login` provider buttons), `submitting`, and `error` — so the login\n * surfaces are visible in the playground. Rendering makes no network calls; the provider buttons resolve from the\n * host app's login configuration at render time.\n *\n * @dbxDocsUiExample\n * @dbxDocsUiExampleSlug style-demo-firebase-login\n * @dbxDocsUiExampleCategory style-demo\n * @dbxDocsUiExampleSummary The dbx-firebase-oauth-login-view in its no_user, submitting, and error render states.\n * @dbxDocsUiExampleRelated dbx-firebase-login\n */\n@Component({\n selector: 'dbx-firebase-style-demo-login-section',\n imports: [DbxDocsUiExampleComponent, DbxDocsUiExampleInfoComponent, DbxDocsUiExampleContentComponent, DbxFlexGroupDirective, DbxFlexSizeDirective, DbxFirebaseLoginComponent, DbxFirebaseOAuthLoginViewComponent],\n template: `\n <dbx-docs-ui-example header=\"Firebase Login\" hint=\"The OIDC login view in each render state.\">\n <dbx-docs-ui-example-info>\n <p>\n <code>dbx-firebase-oauth-login-view</code>\n is presentational: it renders the login UI for a given\n <code>loginStateCase</code>\n . The\n <code>no_user</code>\n tile projects the real\n <code>dbx-firebase-login</code>\n provider buttons; the\n <code>submitting</code>\n and\n <code>error</code>\n tiles show the loading and error+retry styling. Rendering makes no network calls — the buttons resolve from the host app's login configuration at render time.\n </p>\n </dbx-docs-ui-example-info>\n <dbx-docs-ui-example-content>\n <div dbxFlexGroup>\n <div [dbxFlexSize]=\"2\">\n <div class=\"dbx-text-label-small dbx-hint dbx-pb1\">No user</div>\n <dbx-firebase-oauth-login-view [loginStateCase]=\"'no_user'\">\n <dbx-firebase-login></dbx-firebase-login>\n </dbx-firebase-oauth-login-view>\n </div>\n <div [dbxFlexSize]=\"2\">\n <div class=\"dbx-text-label-small dbx-hint dbx-pb1\">Submitting</div>\n <dbx-firebase-oauth-login-view [loginStateCase]=\"'submitting'\"></dbx-firebase-oauth-login-view>\n </div>\n <div [dbxFlexSize]=\"2\">\n <div class=\"dbx-text-label-small dbx-hint dbx-pb1\">Error</div>\n <dbx-firebase-oauth-login-view [loginStateCase]=\"'error'\" [error]=\"'Example authentication error for styling.'\"></dbx-firebase-oauth-login-view>\n </div>\n </div>\n </dbx-docs-ui-example-content>\n </dbx-docs-ui-example>\n `\n})\nexport class DbxFirebaseStyleDemoLoginSectionComponent {}\n","import { type EnvironmentProviders } from '@angular/core';\nimport { type DbxStyleDemoSectionGroup, provideDbxStyleDemoSections } from '@dereekb/dbx-web/style-demo';\nimport { DbxFirebaseStyleDemoLoginSectionComponent } from './login.section.component';\n\n/**\n * The `@dereekb/dbx-firebase/style-demo` section group.\n */\nexport const DBX_FIREBASE_STYLE_DEMO_SECTION_GROUP: DbxStyleDemoSectionGroup = {\n libId: 'dbx-firebase',\n sections: [{ id: 'dbx-firebase-login', title: 'Firebase Login', group: 'firebase', tags: ['dbx-firebase', 'login'], component: DbxFirebaseStyleDemoLoginSectionComponent, defaultEnabled: true }]\n};\n\n/**\n * Registers the `@dereekb/dbx-firebase/style-demo` sections with the `<dbx-style-demo>` playground.\n *\n * The Firebase Login section renders `dbx-firebase-oauth-login-view` (with `dbx-firebase-login` projected for the\n * `no_user` state), so the host app must provide Firebase auth (`provideDbxFirebase`) and login configuration\n * (`provideDbxFirebaseLogin({ enabledLoginMethods, ... })`). Rendering makes no network calls until a button is clicked.\n *\n * Pair with `provideDbxStyleDemo()` (the shell from `@dereekb/dbx-web/style-demo`).\n *\n * @returns EnvironmentProviders contributing the firebase sections.\n *\n * @__NO_SIDE_EFFECTS__\n */\nexport function provideDbxFirebaseStyleDemo(): EnvironmentProviders {\n return provideDbxStyleDemoSections(DBX_FIREBASE_STYLE_DEMO_SECTION_GROUP);\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AAMA;;;;;;;;;;;AAWG;MA2CU,yCAAyC,CAAA;uGAAzC,yCAAyC,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAzC,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,yCAAyC,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,uCAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAvC1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqCT,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAtCS,yBAAyB,EAAA,QAAA,EAAA,qBAAA,EAAA,MAAA,EAAA,CAAA,QAAA,EAAA,MAA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AAC7E,IAAA,KAAK,EAAE,cAAc;AACrB,IAAA,QAAQ,EAAE,CAAC,EAAE,EAAE,EAAE,oBAAoB,EAAE,KAAK,EAAE,gBAAgB,EAAE,KAAK,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC,cAAc,EAAE,OAAO,CAAC,EAAE,SAAS,EAAE,yCAAyC,EAAE,cAAc,EAAE,IAAI,EAAE;;AAGlM;;;;;;;;;;;;AAYG;SACa,2BAA2B,GAAA;AACzC,IAAA,OAAO,2BAA2B,CAAC,qCAAqC,CAAC;AAC3E;;AC3BA;;AAEG;;"}
package/package.json CHANGED
@@ -1,20 +1,21 @@
1
1
  {
2
2
  "name": "@dereekb/dbx-firebase",
3
- "version": "14.1.0",
3
+ "version": "14.3.0",
4
+ "sideEffects": false,
4
5
  "peerDependencies": {
5
6
  "@angular/common": "22.1.4",
6
7
  "@angular/core": "22.1.4",
7
8
  "@angular/material": "^22.1.4",
8
- "@dereekb/date": "14.1.0",
9
- "@dereekb/dbx-analytics": "14.1.0",
10
- "@dereekb/dbx-core": "14.1.0",
11
- "@dereekb/dbx-form": "14.1.0",
12
- "@dereekb/dbx-web": "14.1.0",
13
- "@dereekb/firebase": "14.1.0",
14
- "@dereekb/model": "14.1.0",
15
- "@dereekb/rxjs": "14.1.0",
16
- "@dereekb/util": "14.1.0",
17
- "@dereekb/vitest": "14.1.0",
9
+ "@dereekb/date": "14.3.0",
10
+ "@dereekb/dbx-analytics": "14.3.0",
11
+ "@dereekb/dbx-core": "14.3.0",
12
+ "@dereekb/dbx-form": "14.3.0",
13
+ "@dereekb/dbx-web": "14.3.0",
14
+ "@dereekb/firebase": "14.3.0",
15
+ "@dereekb/model": "14.3.0",
16
+ "@dereekb/rxjs": "14.3.0",
17
+ "@dereekb/util": "14.3.0",
18
+ "@dereekb/vitest": "14.3.0",
18
19
  "@ng-forge/dynamic-forms": "1.2.0-next.8",
19
20
  "@ngrx/component-store": "^22.0.0",
20
21
  "firebase": "^12.18.0",
@@ -45,6 +46,5 @@
45
46
  },
46
47
  "module": "fesm2022/dereekb-dbx-firebase.mjs",
47
48
  "typings": "types/dereekb-dbx-firebase.d.ts",
48
- "sideEffects": false,
49
49
  "type": "module"
50
50
  }
@@ -44,10 +44,15 @@ type OidcLoginStateCase = 'unknown' | 'no_user' | 'user' | 'submitting' | 'error
44
44
  declare class DbxFirebaseOAuthLoginViewComponent {
45
45
  readonly loginStateCase: i0.InputSignal<OidcLoginStateCase>;
46
46
  readonly error: i0.InputSignal<Maybe<string | ErrorInput>>;
47
+ /**
48
+ * Copy shown above the projected login UI in the `'no_user'` state — why the user is being asked to sign
49
+ * in when they thought they already were (e.g. the server refused their session's ID token).
50
+ */
51
+ readonly notice: i0.InputSignal<Maybe<string>>;
47
52
  readonly resolvedErrorSignal: i0.Signal<Maybe<ErrorInput>>;
48
53
  readonly retryClick: i0.OutputEmitterRef<void>;
49
54
  static ɵfac: i0.ɵɵFactoryDeclaration<DbxFirebaseOAuthLoginViewComponent, never>;
50
- static ɵcmp: i0.ɵɵComponentDeclaration<DbxFirebaseOAuthLoginViewComponent, "dbx-firebase-oauth-login-view", never, { "loginStateCase": { "alias": "loginStateCase"; "required": true; "isSignal": true; }; "error": { "alias": "error"; "required": false; "isSignal": true; }; }, { "retryClick": "retryClick"; }, never, ["*"], true, never>;
55
+ static ɵcmp: i0.ɵɵComponentDeclaration<DbxFirebaseOAuthLoginViewComponent, "dbx-firebase-oauth-login-view", never, { "loginStateCase": { "alias": "loginStateCase"; "required": true; "isSignal": true; }; "error": { "alias": "error"; "required": false; "isSignal": true; }; "notice": { "alias": "notice"; "required": false; "isSignal": true; }; }, { "retryClick": "retryClick"; }, never, ["*"], true, never>;
51
56
  }
52
57
 
53
58
  interface OAuthConsentScope<T extends OidcScope = OidcScope> {
@@ -363,6 +368,10 @@ declare class DbxFirebaseOAuthConsentScopeDefaultViewComponent {
363
368
  static ɵcmp: i0.ɵɵComponentDeclaration<DbxFirebaseOAuthConsentScopeDefaultViewComponent, "dbx-firebase-oauth-consent-scope-default-view", never, {}, {}, never, never, true, never>;
364
369
  }
365
370
 
371
+ /**
372
+ * Notice shown over the login UI after the server refused the signed-in user's ID token.
373
+ */
374
+ declare const OIDC_LOGIN_SESSION_REJECTED_NOTICE = "Your previous sign-in is no longer valid. Please sign in again.";
366
375
  /**
367
376
  * Container component for the OIDC OAuth login interaction flow.
368
377
  *
@@ -385,6 +394,7 @@ declare class DbxFirebaseOAuthLoginComponent {
385
394
  readonly isLoggedIn: Signal<Maybe<boolean>>;
386
395
  readonly submitting: i0.WritableSignal<boolean>;
387
396
  readonly errorMessage: i0.WritableSignal<Maybe<string>>;
397
+ readonly notice: i0.WritableSignal<Maybe<string>>;
388
398
  readonly loginStateCaseSignal: Signal<OidcLoginStateCase>;
389
399
  constructor();
390
400
  retry(): void;
@@ -450,6 +460,14 @@ declare class DbxOAuthConsentComponent implements OnDestroy {
450
460
  * above the selection list.
451
461
  */
452
462
  readonly requiredScopesSignal: Signal<readonly string[]>;
463
+ /**
464
+ * Whether the interaction details the consent form needs — the uid to submit against and the requested
465
+ * scopes the scope list renders — have loaded from the route params.
466
+ *
467
+ * The scopes param is populated on the server redirect that reaches this screen alongside the uid, so
468
+ * this becomes true within a tick of navigation; it exists to bridge the window where it has not yet.
469
+ */
470
+ readonly interactionReadySignal: Signal<boolean>;
453
471
  readonly consentStateCaseSignal: Signal<OidcConsentStateCase>;
454
472
  ngOnDestroy(): void;
455
473
  /**
@@ -1046,5 +1064,5 @@ declare class DbxFirebaseOidcInteractionService {
1046
1064
  static ɵprov: i0.ɵɵInjectableDeclaration<DbxFirebaseOidcInteractionService>;
1047
1065
  }
1048
1066
 
1049
- export { AbstractDbxFirebaseOAuthConsentScopeViewComponent, DEFAULT_OAUTH_CONSENT_SCOPES_REQUIRED_VALIDATOR_MESSAGE, DEFAULT_OIDC_AUTHORIZATION_ENDPOINT_PATH, DEFAULT_OIDC_CLIENT_ID_PARAM_KEY, DEFAULT_OIDC_CLIENT_NAME_PARAM_KEY, DEFAULT_OIDC_CLIENT_URI_PARAM_KEY, DEFAULT_OIDC_INTERACTION_ENDPOINT_PATH, DEFAULT_OIDC_INTERACTION_UID_PARAM_KEY, DEFAULT_OIDC_LOGO_URI_PARAM_KEY, DEFAULT_OIDC_REQUIRED_SCOPES_PARAM_KEY, DEFAULT_OIDC_SCOPES_PARAM_KEY, DEFAULT_OIDC_TOKEN_ENDPOINT_AUTH_METHODS, DbxFirebaseOAuthConsentScopeDefaultViewComponent, DbxFirebaseOAuthConsentScopeFormComponent, DbxFirebaseOAuthConsentScopeListComponent, DbxFirebaseOAuthConsentScopeListItemComponent, DbxFirebaseOAuthConsentScopeListViewComponent, DbxFirebaseOAuthConsentViewComponent, DbxFirebaseOAuthLoginComponent, DbxFirebaseOAuthLoginViewComponent, DbxFirebaseOidcConfig, DbxFirebaseOidcConfigService, DbxFirebaseOidcEntryClientCreateComponent, DbxFirebaseOidcEntryClientForgeFormComponent, DbxFirebaseOidcEntryClientListComponent, DbxFirebaseOidcEntryClientListViewComponent, DbxFirebaseOidcEntryClientListViewItemClientComponent, DbxFirebaseOidcEntryClientListViewItemComponent, DbxFirebaseOidcEntryClientListViewItemDefaultComponent, DbxFirebaseOidcEntryClientTestComponent, DbxFirebaseOidcEntryClientTestForgeFormComponent, DbxFirebaseOidcEntryClientUpdateComponent, DbxFirebaseOidcEntryClientViewComponent, DbxFirebaseOidcEntryGrantListComponent, DbxFirebaseOidcEntryGrantListContainerComponent, DbxFirebaseOidcEntryGrantListViewComponent, DbxFirebaseOidcEntryGrantListViewItemComponent, DbxFirebaseOidcInteractionService, DbxOAuthConsentComponent, OAUTH_CONSENT_SCOPES_REQUIRED_VALIDATOR_KIND, OidcEntryCollectionStore, OidcEntryCollectionStoreDirective, OidcEntryDocumentStore, OidcEntryDocumentStoreDirective, oauthConsentScopesFormConfig, oidcClientHomepageUriForgeField, oidcClientJwksUriForgeField, oidcClientLogoUriForgeField, oidcClientNameForgeField, oidcClientProviderProfilesForgeField, oidcClientRedirectUrisForgeField, oidcClientTestClientIdForgeField, oidcClientTestRedirectUriForgeField, oidcClientTestScopesForgeField, oidcClientTokenEndpointAuthMethodForgeField, oidcEntryClientForgeFormFields, oidcEntryClientTestForgeFormFields, oidcEntryClientUpdateForgeFormFields, provideDbxFirebaseOidc, provideOidcModelFirestoreCollections };
1067
+ export { AbstractDbxFirebaseOAuthConsentScopeViewComponent, DEFAULT_OAUTH_CONSENT_SCOPES_REQUIRED_VALIDATOR_MESSAGE, DEFAULT_OIDC_AUTHORIZATION_ENDPOINT_PATH, DEFAULT_OIDC_CLIENT_ID_PARAM_KEY, DEFAULT_OIDC_CLIENT_NAME_PARAM_KEY, DEFAULT_OIDC_CLIENT_URI_PARAM_KEY, DEFAULT_OIDC_INTERACTION_ENDPOINT_PATH, DEFAULT_OIDC_INTERACTION_UID_PARAM_KEY, DEFAULT_OIDC_LOGO_URI_PARAM_KEY, DEFAULT_OIDC_REQUIRED_SCOPES_PARAM_KEY, DEFAULT_OIDC_SCOPES_PARAM_KEY, DEFAULT_OIDC_TOKEN_ENDPOINT_AUTH_METHODS, DbxFirebaseOAuthConsentScopeDefaultViewComponent, DbxFirebaseOAuthConsentScopeFormComponent, DbxFirebaseOAuthConsentScopeListComponent, DbxFirebaseOAuthConsentScopeListItemComponent, DbxFirebaseOAuthConsentScopeListViewComponent, DbxFirebaseOAuthConsentViewComponent, DbxFirebaseOAuthLoginComponent, DbxFirebaseOAuthLoginViewComponent, DbxFirebaseOidcConfig, DbxFirebaseOidcConfigService, DbxFirebaseOidcEntryClientCreateComponent, DbxFirebaseOidcEntryClientForgeFormComponent, DbxFirebaseOidcEntryClientListComponent, DbxFirebaseOidcEntryClientListViewComponent, DbxFirebaseOidcEntryClientListViewItemClientComponent, DbxFirebaseOidcEntryClientListViewItemComponent, DbxFirebaseOidcEntryClientListViewItemDefaultComponent, DbxFirebaseOidcEntryClientTestComponent, DbxFirebaseOidcEntryClientTestForgeFormComponent, DbxFirebaseOidcEntryClientUpdateComponent, DbxFirebaseOidcEntryClientViewComponent, DbxFirebaseOidcEntryGrantListComponent, DbxFirebaseOidcEntryGrantListContainerComponent, DbxFirebaseOidcEntryGrantListViewComponent, DbxFirebaseOidcEntryGrantListViewItemComponent, DbxFirebaseOidcInteractionService, DbxOAuthConsentComponent, OAUTH_CONSENT_SCOPES_REQUIRED_VALIDATOR_KIND, OIDC_LOGIN_SESSION_REJECTED_NOTICE, OidcEntryCollectionStore, OidcEntryCollectionStoreDirective, OidcEntryDocumentStore, OidcEntryDocumentStoreDirective, oauthConsentScopesFormConfig, oidcClientHomepageUriForgeField, oidcClientJwksUriForgeField, oidcClientLogoUriForgeField, oidcClientNameForgeField, oidcClientProviderProfilesForgeField, oidcClientRedirectUrisForgeField, oidcClientTestClientIdForgeField, oidcClientTestRedirectUriForgeField, oidcClientTestScopesForgeField, oidcClientTokenEndpointAuthMethodForgeField, oidcEntryClientForgeFormFields, oidcEntryClientTestForgeFormFields, oidcEntryClientUpdateForgeFormFields, provideDbxFirebaseOidc, provideOidcModelFirestoreCollections };
1050
1068
  export type { DbxFirebaseOAuthConsentScopesViewData, DbxFirebaseOidcEntryClientFormComponentConfig, DbxFirebaseOidcEntryClientTestFormComponentConfig, DbxFirebaseOidcModelClientFormValue, DbxFirebaseOidcModelClientTestFormValue, DbxFirebaseOidcModelClientUpdateFormValue, DbxOAuthConsentComponentConfig, OAuthConsentScope, OAuthConsentScopesFormFieldsConfig, OAuthConsentScopesFormValue, OidcConsentStateCase, OidcEntryClientFormFieldsConfig, OidcEntryClientTestFormFieldsConfig, OidcEntryWithSelection, OidcLoginStateCase, ProvideDbxFirebaseOidcConfig };