@memberjunction/ng-bootstrap 6.2.0-edge.0 → 6.2.0-edge.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -142,34 +142,50 @@ declare class MJInitializationService {
142
142
  /**
143
143
  * Initialize GraphQL client with authentication token and refresh callback
144
144
  */
145
+ InitializeGraphQL(token: string, environment: MJEnvironmentConfig): Promise<void>;
146
+ /** @deprecated Use {@link InitializeGraphQL}. */
145
147
  initializeGraphQL(token: string, environment: MJEnvironmentConfig): Promise<void>;
146
148
  /**
147
149
  * Refresh shared data and validate user access
148
150
  */
151
+ ValidateUserAccess(): Promise<InitializationResult>;
152
+ /** @deprecated Use {@link ValidateUserAccess}. */
149
153
  validateUserAccess(): Promise<InitializationResult>;
150
154
  /**
151
155
  * Run startup validation checks (if validation service is provided)
152
156
  */
157
+ RunValidationChecks(): void;
158
+ /** @deprecated Use {@link RunValidationChecks}. */
153
159
  runValidationChecks(): void;
154
160
  /**
155
161
  * Navigate to initial route after successful login
156
162
  */
163
+ NavigateToInitialRoute(initialPath: string, document: Document): void;
164
+ /** @deprecated Use {@link NavigateToInitialRoute}. */
157
165
  navigateToInitialRoute(initialPath: string, document: Document): void;
158
166
  /**
159
167
  * Check if error is related to missing user roles
160
168
  */
169
+ IsNoUserRolesError(err: any): boolean;
170
+ /** @deprecated Use {@link IsNoUserRolesError}. */
161
171
  isNoUserRolesError(err: any): boolean;
162
172
  /**
163
173
  * Handle no roles error by showing validation banner (if validation service is provided)
164
174
  */
175
+ HandleNoRolesError(): InitializationResult;
176
+ /** @deprecated Use {@link HandleNoRolesError}. */
165
177
  handleNoRolesError(): InitializationResult;
166
178
  /**
167
179
  * Handle authentication retry logic
168
180
  */
181
+ HandleAuthRetry(err: any): Promise<boolean>;
182
+ /** @deprecated Use {@link HandleAuthRetry}. */
169
183
  handleAuthRetry(err: any): Promise<boolean>;
170
184
  /**
171
185
  * Get auth error message for display
172
186
  */
187
+ GetAuthErrorMessage(err: unknown): string;
188
+ /** @deprecated Use {@link GetAuthErrorMessage}. */
173
189
  getAuthErrorMessage(err: unknown): string;
174
190
  static ɵfac: i0.ɵɵFactoryDeclaration<MJInitializationService, never>;
175
191
  static ɵprov: i0.ɵɵInjectableDeclaration<MJInitializationService>;
@@ -184,24 +200,42 @@ declare class MJInitializationService {
184
200
 
185
201
  declare class MJAuthShellComponent implements OnInit {
186
202
  private router;
187
- document: Document;
188
- authBase: MJAuthBase;
203
+ Document: Document;
204
+ AuthBase: MJAuthBase;
189
205
  private initService;
190
206
  private environment;
191
207
  HasError: boolean;
192
208
  ErrorMessage: any;
193
- showValidationOnly: boolean;
194
- subHeaderText: string;
209
+ ShowValidationOnly: boolean;
210
+ /** @deprecated Use {@link ShowValidationOnly}. */
211
+ get showValidationOnly(): boolean;
212
+ /** @deprecated Use {@link ShowValidationOnly}. */
213
+ set showValidationOnly(value: boolean);
214
+ SubHeaderText: string;
215
+ /** @deprecated Use {@link SubHeaderText}. */
216
+ get subHeaderText(): string;
217
+ /** @deprecated Use {@link SubHeaderText}. */
218
+ set subHeaderText(value: string);
195
219
  private initialPath;
196
- constructor(router: Router, document: Document, authBase: MJAuthBase, initService: MJInitializationService, environment: MJEnvironmentConfig);
220
+ constructor(router: Router, Document: Document, AuthBase: MJAuthBase, initService: MJInitializationService, environment: MJEnvironmentConfig);
221
+ /** @deprecated Use {@link Document} instead. */
222
+ get document(): Document;
223
+ /** @deprecated Use {@link AuthBase}. */
224
+ get authBase(): MJAuthBase;
225
+ /** @deprecated Use {@link AuthBase}. */
226
+ set authBase(value: MJAuthBase);
197
227
  ngOnInit(): Promise<void>;
198
228
  /**
199
229
  * Handle successful login and initialize the application
200
230
  */
231
+ HandleLogin(token: string, userInfo: StandardUserInfo): Promise<void>;
232
+ /** @deprecated Use {@link HandleLogin}. */
201
233
  handleLogin(token: string, userInfo: StandardUserInfo): Promise<void>;
202
234
  /**
203
235
  * Setup authentication and handle auth state changes
204
236
  */
237
+ SetupAuth(): Promise<void>;
238
+ /** @deprecated Use {@link SetupAuth}. */
205
239
  setupAuth(): Promise<void>;
206
240
  static ɵfac: i0.ɵɵFactoryDeclaration<MJAuthShellComponent, never>;
207
241
  static ɵcmp: i0.ɵɵComponentDeclaration<MJAuthShellComponent, "mj-auth-shell", never, {}, {}, never, ["*"], false, never>;
@@ -234,6 +268,8 @@ declare class MJAuthShellComponent implements OnInit {
234
268
  * This ensures auth providers can process OAuth redirect responses before Angular's router
235
269
  * consumes the URL hash
236
270
  */
271
+ declare function InitializeAuth(authService: MJAuthBase): () => Promise<void>;
272
+ /** @deprecated Use {@link InitializeAuth}. */
237
273
  declare function initializeAuth(authService: MJAuthBase): () => Promise<void>;
238
274
  declare class MJBootstrapModule {
239
275
  /**
@@ -254,6 +290,8 @@ declare class MJBootstrapModule {
254
290
  * export class AppModule {}
255
291
  * ```
256
292
  */
293
+ static ForRoot(environment: MJEnvironmentConfig): ModuleWithProviders<MJBootstrapModule>;
294
+ /** @deprecated Use {@link ForRoot}. */
257
295
  static forRoot(environment: MJEnvironmentConfig): ModuleWithProviders<MJBootstrapModule>;
258
296
  static ɵfac: i0.ɵɵFactoryDeclaration<MJBootstrapModule, never>;
259
297
  static ɵmod: i0.ɵɵNgModuleDeclaration<MJBootstrapModule, [typeof MJBootstrapComponent, typeof MJAuthShellComponent], [typeof i3.CommonModule], [typeof MJBootstrapComponent, typeof MJAuthShellComponent]>;
@@ -264,7 +302,7 @@ declare class MJBootstrapModule {
264
302
  * AUTO-GENERATED FILE - DO NOT EDIT
265
303
  * Generated by mj codegen manifest
266
304
  * App: @memberjunction/ng-bootstrap
267
- * Dependency tree: 22 packages contain @RegisterClass
305
+ * Dependency tree: 24 packages contain @RegisterClass
268
306
  *
269
307
  * This file imports every @RegisterClass decorated class by name and places
270
308
  * them in an exported array, creating a static code path that prevents
@@ -274,9 +312,9 @@ declare const CLASS_REGISTRATIONS: any[];
274
312
  /** Marker constant indicating the manifest has been loaded. */
275
313
  declare const CLASS_REGISTRATIONS_MANIFEST_LOADED = true;
276
314
  /** Total @RegisterClass decorated classes discovered in dependency tree */
277
- declare const CLASS_REGISTRATIONS_COUNT = 667;
315
+ declare const CLASS_REGISTRATIONS_COUNT = 705;
278
316
  /** Packages imported by this manifest */
279
- declare const CLASS_REGISTRATIONS_PACKAGES: readonly ["@memberjunction/ai-realtime-client", "@memberjunction/core", "@memberjunction/ai-vectors-memory", "@memberjunction/core-entities", "@memberjunction/actions-base", "@memberjunction/ai-core-plus", "@memberjunction/ai-engine-base", "@memberjunction/communication-types", "@memberjunction/entity-communications-base", "@memberjunction/ng-artifacts", "@memberjunction/ng-auth-services", "@memberjunction/ng-conversations", "@memberjunction/ng-entity-action-ux", "@memberjunction/ng-entity-viewer", "@memberjunction/ng-clustering", "@memberjunction/ng-core-entity-forms", "@memberjunction/ng-dashboard-viewer", "@memberjunction/ng-explorer-settings", "@memberjunction/ng-file-storage", "@memberjunction/tag-engine-base", "@memberjunction/ng-dashboards", "@memberjunction/ng-explorer-core"];
317
+ declare const CLASS_REGISTRATIONS_PACKAGES: readonly ["@memberjunction/ai-realtime-client", "@memberjunction/core", "@memberjunction/ai-vectors-memory", "@memberjunction/core-entities", "@memberjunction/actions-base", "@memberjunction/ai-core-plus", "@memberjunction/ai-engine-base", "@memberjunction/communication-types", "@memberjunction/entity-communications-base", "@memberjunction/feature-pipelines", "@memberjunction/ng-artifacts", "@memberjunction/ng-auth-services", "@memberjunction/ng-conversations", "@memberjunction/ng-entity-action-ux", "@memberjunction/ng-entity-viewer", "@memberjunction/ng-clustering", "@memberjunction/ng-dashboard-viewer", "@memberjunction/ng-explorer-settings", "@memberjunction/ng-file-storage", "@memberjunction/rubrics-base", "@memberjunction/ng-core-entity-forms", "@memberjunction/tag-engine-base", "@memberjunction/ng-dashboards", "@memberjunction/ng-explorer-core"];
280
318
 
281
- export { CLASS_REGISTRATIONS, CLASS_REGISTRATIONS_COUNT, CLASS_REGISTRATIONS_MANIFEST_LOADED, CLASS_REGISTRATIONS_PACKAGES, MJAuthShellComponent, MJBootstrapComponent, MJBootstrapModule, MJInitializationService, MJ_ENVIRONMENT, MJ_STARTUP_VALIDATION, initializeAuth };
319
+ export { CLASS_REGISTRATIONS, CLASS_REGISTRATIONS_COUNT, CLASS_REGISTRATIONS_MANIFEST_LOADED, CLASS_REGISTRATIONS_PACKAGES, InitializeAuth, MJAuthShellComponent, MJBootstrapComponent, MJBootstrapModule, MJInitializationService, MJ_ENVIRONMENT, MJ_STARTUP_VALIDATION, initializeAuth };
282
320
  export type { InitializationResult, MJEnvironmentConfig, MJStartupValidationService };