@memberjunction/ng-explorer-core 6.1.0-edge.3 → 6.1.0-edge.4

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.
@@ -1 +1 @@
1
- {"version":3,"file":"app-routing.module.d.ts","sourceRoot":"","sources":["../src/app-routing.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAwB,MAAM,eAAe,CAAC;AACnE,OAAO,EAAwB,OAAO,EAAE,sBAAsB,EAAE,mBAAmB,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAOrH,OAAO,EAAsC,iBAAiB,EAAyD,MAAM,sBAAsB,CAAC;AACpJ,OAAO,EAAE,aAAa,EAAwC,MAAM,2BAA2B,CAAC;AAChG,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAC1E,OAAO,EAAE,kBAAkB,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;;;AAIrF,qBAAa,mBAAoB,YAAW,kBAAkB;IAC5D,YAAY,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,sBAAsB,GAAG,IAAI,CAAA;KAAE,CAAM;IAGpE,YAAY,CAAC,KAAK,EAAE,sBAAsB,GAAG,OAAO;IAMpD,KAAK,CAAC,KAAK,EAAE,sBAAsB,EAAE,MAAM,EAAE,sBAAsB,GAAG,IAAI,GAAG,IAAI;IAYjF,YAAY,CAAC,KAAK,EAAE,sBAAsB,GAAG,OAAO;IAUpD,QAAQ,CAAC,KAAK,EAAE,sBAAsB,GAAG,mBAAmB,GAAG,IAAI;IAoBnE,gBAAgB,CAAC,MAAM,EAAE,sBAAsB,EAAE,IAAI,EAAE,sBAAsB,GAAG,OAAO;IAKvF,mBAAmB,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,GAAG,OAAO;IAmClD,OAAO,CAAC,QAAQ;CAUjB;AAUD,qBAGa,gBAAiB,YAAW,OAAO,CAAC,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AAO,CAAC,IAAI,CAAC;yCA/C5E,gBAAgB;6CAAhB,gBAAgB;CA4gB5B;AAwGD,UAAU,sBAAuB,SAAQ,mBAAmB;IAC1D,YAAY,EAAE,YAAY,CAAC,GAAG,CAAC,CAAC;CACjC;AAED,qBAIa,gBAAgB;yCAAhB,gBAAgB;0CAAhB,gBAAgB;0CAAhB,gBAAgB;CAK5B"}
@@ -2,6 +2,7 @@ import { Injectable, NgModule } from '@angular/core';
2
2
  import { RouterModule } from '@angular/router';
3
3
  import { SingleRecordComponent, AuthGuardService as AuthGuard, AppLockGuardService as AppLockGuard } from './public-api';
4
4
  import { OAuthCallbackComponent } from './lib/oauth/oauth-callback.component';
5
+ import { ClaimRedeemComponent } from './lib/identity-claims/claim-redeem.component';
5
6
  import { LogError, Metadata, StartupManager, IsNewEntityRecordUrlId, NEW_RECORD_VALUES_QUERY_PARAM } from '@memberjunction/core';
6
7
  import { SYSTEM_APP_ID, RECORDS_RESOURCE_TYPE } from '@memberjunction/ng-shared';
7
8
  import { MJGlobal, MJEventType } from '@memberjunction/global';
@@ -580,6 +581,15 @@ const routes = [
580
581
  path: 'oauth/callback',
581
582
  component: OAuthCallbackComponent
582
583
  },
584
+ // Identity-claim redemption landing page — the target of claim emails'
585
+ // /claims/redeem?id=..&token=.. links (IdentityClaimEngineServer.sendClaimEmail).
586
+ // Same posture as the OAuth callback: no AuthGuard (the component waits for session
587
+ // restoration itself and tells an unauthenticated visitor to sign in first), and a
588
+ // direct component rather than a lazy route for the same library-routing reason.
589
+ {
590
+ path: 'claims/redeem',
591
+ component: ClaimRedeemComponent
592
+ },
583
593
  // App-scoped resource routes (new pattern)
584
594
  // These must come BEFORE app/:appName/:navItemName to be matched first
585
595
  {
@@ -1 +1 @@
1
- {"version":3,"file":"app-routing.module.js","sourceRoot":"","sources":["../src/app-routing.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,UAAU,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACnE,OAAO,EAA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CAAC;QACtC,SAAS,EAAE,qBAAqB;KACjC;IACD;QACE,IAAI,EAAE,iCAAiC;QACvC,OAAO,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE;QACnC,WAAW,EAAE,CAAC,SAAS,EAAE,YAAY,CAAC;QACtC,SAAS,EAAE,qBAAqB;KACjC;IACD;QACE,IAAI,EAAE,+BAA+B;QACrC,OAAO,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE;QACnC,WAAW,EAAE,CAAC,SAAS,EAAE,YAAY,CAAC;QACtC,SAAS,EAAE,qBAAqB;KACjC;IACD;QACE,IAAI,EAAE,yBAAyB;QAC/B,OAAO,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE;QACnC,WAAW,EAAE,CAAC,SAAS,EAAE,YAAY,CAAC;QACtC,SAAS,EAAE,qBAAqB;KACjC;IACD;QACE,IAAI,EAAE,8BAA8B;QACpC,OAAO,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE;QACnC,WAAW,EAAE,CAAC,SAAS,EAAE,YAAY,CAAC;QACtC,SAAS,EAAE,qBAAqB;KACjC;CACF,CAAC;AAUF,MAAM,OAAO,gBAAgB;0GAAhB,gBAAgB;4DAAhB,gBAAgB;gEAHjB,YAAY,CAAC,OAAO,CAAC,MAAM,EAAE,EAAE,mBAAmB,EAAE,QAAQ,EAAE,CAAC,EAC/D,YAAY;;iFAEX,gBAAgB;cAJ5B,QAAQ;eAAC;gBACR,OAAO,EAAE,CAAC,YAAY,CAAC,OAAO,CAAC,MAAM,EAAE,EAAE,mBAAmB,EAAE,QAAQ,EAAE,CAAC,CAAC;gBAC1E,OAAO,EAAE,CAAC,YAAY,CAAC;aACxB;;wFACY,gBAAgB,0CAFjB,YAAY","sourcesContent":["import { ComponentRef, Injectable, NgModule } from '@angular/core';\nimport { Routes, RouterModule, Resolve, ActivatedRouteSnapshot, RouterStateSnapshot, Router } from '@angular/router';\nimport {\n SingleRecordComponent,\n AuthGuardService as AuthGuard,\n AppLockGuardService as AppLockGuard\n} from './public-api';\nimport { OAuthCallbackComponent } from './lib/oauth/oauth-callback.component';\nimport { LogError, Metadata, StartupManager, IMetadataProvider, IsNewEntityRecordUrlId, NEW_RECORD_VALUES_QUERY_PARAM } from '@memberjunction/core';\nimport { SharedService, SYSTEM_APP_ID, RECORDS_RESOURCE_TYPE } from '@memberjunction/ng-shared';\nimport { DetachedRouteHandle, RouteReuseStrategy } from '@angular/router';\nimport { ApplicationManager, TabService } from '@memberjunction/ng-base-application';\nimport { MJGlobal, MJEventType } from '@memberjunction/global';\nimport { firstValueFrom, filter, take } from 'rxjs';\n\nexport class CustomReuseStrategy implements RouteReuseStrategy {\n storedRoutes: { [key: string]: DetachedRouteHandleExt | null } = {};\n\n // Determines if a route should be detached and stored\n shouldDetach(route: ActivatedRouteSnapshot): boolean {\n // removed reference to the skip stuff from here - we don't use the skip stuff anymore, using generic conversations/chat now\n return false;\n }\n\n // Stores the detached route\n store(route: ActivatedRouteSnapshot, handle: DetachedRouteHandleExt | null): void {\n if(!handle){\n return;\n }\n\n if (route.routeConfig && route.routeConfig.path) {\n this.storedRoutes[route.routeConfig.path] = handle;\n this.callHook(handle, 'ngOnDetach');\n }\n }\n\n // Determines if a stored route should be reattached\n shouldAttach(route: ActivatedRouteSnapshot): boolean {\n // Reattach if we have a stored route for the incoming route\n if (route.routeConfig?.path) {\n return !!route.routeConfig && !!this.storedRoutes[route.routeConfig.path];\n }\n\n else return false;\n }\n\n // Retrieves the stored route; null means no stored route for this path\n retrieve(route: ActivatedRouteSnapshot): DetachedRouteHandle | null {\n if (!route.routeConfig || (route.routeConfig.path && !this.storedRoutes[route.routeConfig.path])) {\n return null;\n } \n else if (route.routeConfig.path) {\n const path = this.storedRoutes[route.routeConfig.path];\n if(path){\n this.callHook(path, 'ngOnAttach');\n return path;\n }\n }\n\n return null;\n }\n\n // Determines if the route should be reused.\n // Query params are intentionally excluded — the shell handles query param\n // sub-navigation via NotifyQueryParamsChanged. Including them here would\n // cause the ResourceResolver to re-run on back/forward query param changes,\n // racing with the shell's syncWorkspaceWithUrl.\n shouldReuseRoute(future: ActivatedRouteSnapshot, curr: ActivatedRouteSnapshot): boolean {\n return future.routeConfig === curr.routeConfig &&\n this.objectContentsEqual(future.params, curr.params);\n }\n\n objectContentsEqual(obj1: any, obj2: any): boolean {\n if (obj1 === obj2) {\n return true; // exact same object\n }\n\n if (obj1 === null && obj2 !== null) {\n return false; // not the same object\n }\n\n if (obj1 === undefined && obj2 !== undefined) {\n return false; // not the same object\n }\n\n if (typeof obj1 === 'object' || typeof obj2 === 'object') {\n if (Object.keys(obj1).length !== Object.keys(obj2).length) {\n return false; // different number of keys\n }\n \n for (const key in obj1) {\n // check to see the type of the key, if it is an object, then we call this function recursively \n // otherwise we do simple comparison\n if (typeof obj1[key] === 'object' && typeof obj2[key] === 'object') {\n if (!this.objectContentsEqual(obj1[key], obj2[key])) {\n return false; // any individual key not matching means the objects are different\n }\n }\n else if (obj1[key] !== obj2[key]) {\n return false; // any individual key not matching means the objects are different\n }\n } \n }\n\n return true;\n }\n\n private callHook(detachedTree: DetachedRouteHandleExt, hookName: 'ngOnDetach' | 'ngOnAttach'): void {\n if(!detachedTree || !hookName){\n return;\n }\n\n const componentRef = detachedTree.componentRef;\n if (componentRef && componentRef.instance && typeof componentRef.instance[hookName] === 'function') {\n componentRef.instance[hookName]();\n }\n }\n}\n\nfunction readNewRecordValuesQuery(queryParams: { [key: string]: string | string[] | undefined | null }): string | undefined {\n const raw = queryParams[NEW_RECORD_VALUES_QUERY_PARAM] ?? queryParams['newRecordValues'];\n if (raw == null) return undefined;\n const value = Array.isArray(raw) ? raw[0] : raw;\n const trimmed = value?.trim();\n return trimmed && trimmed.length > 0 ? trimmed : undefined;\n}\n\n@Injectable({\n providedIn: 'root',\n})\nexport class ResourceResolver implements Resolve<void> {\n private processedUrls = new Map<string, number>();\n private readonly URL_DEBOUNCE_MS = 100; // Allow same URL after 100ms\n private loggedInPromise: Promise<void> | null = null;\n\n /**\n * Optional explicit metadata provider. The shell calls\n * `setProvider(this.ProviderToUse)` after acquiring this resolver from DI.\n * Falls back to `Metadata.Provider` for single-provider apps.\n */\n private _provider: IMetadataProvider | null = null;\n\n public set Provider(value: IMetadataProvider | null) {\n this._provider = value;\n }\n\n public get Provider(): IMetadataProvider {\n return this._provider ?? Metadata.Provider;\n }\n\n constructor(\n private sharedService: SharedService,\n private router: Router,\n private appManager: ApplicationManager,\n private tabService: TabService\n ) {\n // Create a promise that resolves when the user is logged in and metadata is loaded\n this.loggedInPromise = this.waitForLogin();\n }\n\n /**\n * Wait for the LoggedIn event which indicates metadata is loaded.\n * Uses replay (true) to catch the event even if it already fired.\n */\n private async waitForLogin(): Promise<void> {\n await firstValueFrom(\n MJGlobal.Instance.GetEventListener(true).pipe(\n filter(event => event.event === MJEventType.LoggedIn),\n take(1)\n )\n );\n\n await StartupManager.Instance.Startup();\n\n await this.appManager.WhenReady();\n }\n\n async resolve(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Promise<void> {\n // Wait for login/metadata to be ready before processing\n if (this.loggedInPromise) {\n await this.loggedInPromise;\n }\n\n // Prevent duplicate processing of the same URL within a short time window\n // This allows legitimate re-navigation to the same URL (like app switching)\n // while preventing rapid duplicate calls\n const now = Date.now();\n const lastProcessed = this.processedUrls.get(state.url);\n\n if (lastProcessed && (now - lastProcessed) < this.URL_DEBOUNCE_MS) {\n return;\n }\n\n this.processedUrls.set(state.url, now);\n\n // Check if this resolve should be suppressed (URL sync from tab click, not real navigation)\n if (this.tabService.ShouldSuppressResolve()) {\n this.tabService.ClearSuppressFlag();\n return;\n }\n\n const md = this.Provider;\n const applications = md.Applications;\n\n // Known resource types for app-scoped resource URLs\n const KNOWN_RESOURCE_TYPES = ['dashboard', 'record', 'view', 'query', 'report', 'artifact', 'search'];\n\n // Handle app-scoped resource navigation: /app/:appName/:resourceType/:param1/:param2?\n // This pattern supports resources opened within an app context (e.g., /app/home/dashboard/abc123)\n // Only handle if the second path segment is a known resource type\n if (route.params['appName'] !== undefined &&\n route.params['resourceType'] !== undefined &&\n KNOWN_RESOURCE_TYPES.includes(route.params['resourceType'].toLowerCase())) {\n const appName = decodeURIComponent(route.params['appName']);\n const resourceType = route.params['resourceType'].toLowerCase();\n const param1 = route.params['param1'];\n const param2 = route.params['param2'];\n\n // Check app access\n const accessResult = this.appManager.CheckAppAccess(appName);\n if (accessResult.status !== 'accessible') {\n return;\n }\n\n // Get the app for its ID\n const app = this.appManager.GetAppByPath(appName) || this.appManager.GetAppByName(appName);\n if (!app) {\n LogError(`Application ${appName} not found in metadata`);\n return;\n }\n\n // Handle based on resource type\n switch (resourceType) {\n case 'dashboard': {\n // /app/:appName/dashboard/:dashboardId\n const dashboardId = param1;\n this.tabService.OpenTab({\n ApplicationId: app.ID,\n Title: `Dashboard - ${dashboardId}`,\n Configuration: {\n resourceType: 'Dashboards',\n dashboardId,\n recordId: dashboardId,\n appName: appName,\n appId: app.ID\n },\n ResourceRecordId: dashboardId,\n IsPinned: false\n });\n return;\n }\n\n case 'record': {\n // /app/:appName/record/:entityName/:recordId\n const entityName = decodeURIComponent(param1);\n const recordId = param2;\n const isNew = IsNewEntityRecordUrlId(recordId);\n const newRecordValues = readNewRecordValuesQuery(route.queryParams);\n\n const entityInfo = md.EntityByName(entityName);\n if (!entityInfo) {\n LogError(`Entity ${entityName} not found in metadata`);\n return;\n }\n\n this.tabService.OpenTab({\n ApplicationId: app.ID,\n Title: isNew ? `New ${entityName}` : `${entityName} - ${recordId}`,\n Configuration: {\n resourceType: RECORDS_RESOURCE_TYPE,\n Entity: entityName,\n recordId: isNew ? '' : recordId,\n isNew: isNew || undefined,\n NewRecordValues: newRecordValues,\n appName: appName,\n appId: app.ID\n },\n ResourceRecordId: isNew ? '' : recordId,\n IsPinned: false\n });\n return;\n }\n\n case 'view': {\n // /app/:appName/view/:viewId OR /app/:appName/view/dynamic/:entityName\n if (param1 === 'dynamic' && param2) {\n // Dynamic view: /app/:appName/view/dynamic/:entityName\n const entityName = decodeURIComponent(param2);\n const extraFilter = route.queryParams['ExtraFilter'] || route.queryParams['extraFilter'];\n const filterSuffix = extraFilter ? ' (Filtered)' : '';\n\n this.tabService.OpenTab({\n ApplicationId: app.ID,\n Title: `${entityName}${filterSuffix}`,\n Configuration: {\n resourceType: 'MJ: User Views',\n Entity: entityName,\n ExtraFilter: extraFilter,\n isDynamic: true,\n recordId: 'dynamic',\n appName: appName,\n appId: app.ID\n },\n ResourceRecordId: 'dynamic',\n IsPinned: false\n });\n } else {\n // Saved view: /app/:appName/view/:viewId\n const viewId = param1;\n\n this.tabService.OpenTab({\n ApplicationId: app.ID,\n Title: `View - ${viewId}`,\n Configuration: {\n resourceType: 'MJ: User Views',\n viewId,\n recordId: viewId,\n appName: appName,\n appId: app.ID\n },\n ResourceRecordId: viewId,\n IsPinned: false\n });\n }\n return;\n }\n\n case 'query': {\n // /app/:appName/query/:queryId\n const queryId = param1;\n\n this.tabService.OpenTab({\n ApplicationId: app.ID,\n Title: `Query - ${queryId}`,\n Configuration: {\n resourceType: 'Queries',\n queryId,\n recordId: queryId,\n appName: appName,\n appId: app.ID\n },\n ResourceRecordId: queryId,\n IsPinned: false\n });\n return;\n }\n\n case 'artifact': {\n // /app/:appName/artifact/:artifactId\n const artifactId = param1;\n\n this.tabService.OpenTab({\n ApplicationId: app.ID,\n Title: `Artifact - ${artifactId}`,\n Configuration: {\n resourceType: 'Artifacts',\n artifactId,\n recordId: artifactId,\n appName: appName,\n appId: app.ID\n },\n ResourceRecordId: artifactId,\n IsPinned: false\n });\n return;\n }\n\n case 'search': {\n // /app/:appName/search/:searchInput\n const searchInput = decodeURIComponent(param1);\n const entityName = route.queryParams['Entity'] || '';\n\n this.tabService.OpenTab({\n ApplicationId: app.ID,\n Title: `Search: ${searchInput}`,\n Configuration: {\n resourceType: 'Search Results',\n Entity: entityName,\n SearchInput: searchInput,\n recordId: searchInput,\n appName: appName,\n appId: app.ID\n },\n ResourceRecordId: searchInput,\n IsPinned: false\n });\n return;\n }\n\n default:\n LogError(`Unknown resource type in app-scoped URL: ${resourceType}`);\n return;\n }\n }\n\n // Handle app-level navigation: /app/:appName (no nav item - app default)\n if (route.params['appName'] !== undefined && route.params['navItemName'] === undefined) {\n const appName = decodeURIComponent(route.params['appName']);\n\n // IMPORTANT: Check if user has access to this app BEFORE proceeding\n // Use the ApplicationManager's access check which respects UserApplication records\n const accessResult = this.appManager.CheckAppAccess(appName);\n\n if (accessResult.status !== 'accessible') {\n // User doesn't have access - let the shell component handle the error dialog\n // Don't create any tabs here\n return;\n }\n\n // Let the app create its default tab (will load default dashboard if no nav items)\n // The shell component will handle this after setting the active app\n // We don't need to do anything here - just return to allow the app to activate\n return;\n }\n\n // Handle app navigation: /app/:appName/:navItemName\n if (route.params['appName'] !== undefined && route.params['navItemName'] !== undefined) {\n const appName = decodeURIComponent(route.params['appName']);\n const navItemName = decodeURIComponent(route.params['navItemName']);\n\n // IMPORTANT: Check if user has access to this app BEFORE proceeding\n // Use the ApplicationManager's access check which respects UserApplication records\n const accessResult = this.appManager.CheckAppAccess(appName);\n\n if (accessResult.status !== 'accessible') {\n // User doesn't have access - let the shell component handle the error dialog\n // Don't create any tabs here\n return;\n }\n\n // Find the app in metadata for nav item details\n const app = applications.find(a =>\n a.Path.trim().toLowerCase() === appName.trim().toLowerCase() ||\n a.Name.trim().toLowerCase() === appName.trim().toLowerCase()\n );\n\n if (!app) {\n LogError(`Application ${appName} not found in metadata`);\n return;\n }\n\n // Get nav items from the app's DefaultNavItems JSON\n let navItems: any[] = [];\n if (app.DefaultNavItems) {\n try {\n navItems = JSON.parse(app.DefaultNavItems);\n } catch (e) {\n LogError(`Failed to parse DefaultNavItems for app ${appName}`);\n console.error(e);\n return;\n }\n }\n\n // Find the nav item by label (case-insensitive)\n const navItem = navItems.find(item =>\n item.Label?.trim().toLowerCase() === navItemName.trim().toLowerCase()\n );\n\n if (!navItem) {\n LogError(`Nav item ${navItemName} not found in app ${appName}`);\n return;\n }\n\n // Get the resource type from the nav item\n if (!navItem.ResourceType) {\n LogError(`Nav item ${navItemName} has no ResourceType defined`);\n return;\n }\n\n // NOTE: Don't set active app here - the shell component handles that\n // based on the URL to avoid navigation loops\n\n // Queue tab request via TabService\n // Build configuration - include DriverClass for Custom resource types\n const config: any = {\n route: navItem.Route,\n resourceType: navItem.ResourceType,\n recordId: navItem.RecordID,\n appName: appName,\n appId: app.ID,\n navItemName: navItem.Label,\n ...(navItem.Configuration || {}),\n queryParams: route.queryParams\n };\n\n // For Custom resource types, include the DriverClass\n if (navItem.ResourceType === 'Custom' && navItem.DriverClass) {\n config.driverClass = navItem.DriverClass;\n }\n\n this.tabService.OpenTab({\n ApplicationId: app.ID,\n Title: navItem.Label,\n Configuration: config,\n IsPinned: false\n });\n\n return;\n }\n\n // Determine resource type and record ID based on the route path\n if (route.params['recordId'] !== undefined && route.params['entityName'] !== undefined) {\n // /resource/record/:entityName/:recordId\n const entityName = decodeURIComponent(route.params['entityName']);\n const recordId = route.params['recordId'];\n const isNew = IsNewEntityRecordUrlId(recordId);\n const newRecordValues = readNewRecordValuesQuery(route.queryParams);\n\n const entityInfo = md.EntityByName(entityName);\n if (!entityInfo) {\n LogError(`Entity ${entityName} not found in metadata`);\n return;\n }\n\n // Queue tab request via TabService\n this.tabService.OpenTab({\n ApplicationId: SYSTEM_APP_ID,\n Title: isNew ? `New ${entityName}` : `${entityName} - ${recordId}`,\n Configuration: {\n resourceType: RECORDS_RESOURCE_TYPE,\n Entity: entityName,\n recordId: isNew ? '' : recordId,\n isNew: isNew || undefined,\n NewRecordValues: newRecordValues\n },\n ResourceRecordId: isNew ? '' : recordId,\n IsPinned: false\n });\n return;\n }\n\n if (route.params['viewId'] !== undefined) {\n // /resource/view/:viewId (saved views)\n const viewId = route.params['viewId'];\n\n // Queue tab request via TabService\n this.tabService.OpenTab({\n ApplicationId: SYSTEM_APP_ID,\n Title: `View - ${viewId}`,\n Configuration: {\n resourceType: 'MJ: User Views',\n viewId,\n recordId: viewId\n },\n ResourceRecordId: viewId,\n IsPinned: false\n });\n return;\n }\n\n if (route.url.length >= 3 && route.url[1].path === 'view' && route.url[2].path === 'dynamic') {\n // /resource/view/dynamic/:entityName\n const entityName = decodeURIComponent(route.params['entityName']);\n const extraFilter = route.queryParams['ExtraFilter'] || route.queryParams['extraFilter'];\n\n const filterSuffix = extraFilter ? ' (Filtered)' : '';\n\n // Queue tab request via TabService\n this.tabService.OpenTab({\n ApplicationId: SYSTEM_APP_ID,\n Title: `${entityName}${filterSuffix}`,\n Configuration: {\n resourceType: 'MJ: User Views',\n Entity: entityName,\n ExtraFilter: extraFilter,\n isDynamic: true,\n recordId: 'dynamic'\n },\n ResourceRecordId: 'dynamic',\n IsPinned: false\n });\n return;\n }\n\n if (route.params['dashboardId'] !== undefined) {\n // /resource/dashboard/:dashboardId\n const dashboardId = route.params['dashboardId'];\n\n // Queue tab request via TabService\n this.tabService.OpenTab({\n ApplicationId: SYSTEM_APP_ID,\n Title: `Dashboard - ${dashboardId}`,\n Configuration: {\n resourceType: 'Dashboards',\n dashboardId,\n recordId: dashboardId\n },\n ResourceRecordId: dashboardId,\n IsPinned: false\n });\n return;\n }\n\n if (route.params['artifactId'] !== undefined) {\n // /resource/artifact/:artifactId\n const artifactId = route.params['artifactId'];\n\n // Queue tab request via TabService\n this.tabService.OpenTab({\n ApplicationId: SYSTEM_APP_ID,\n Title: `Artifact - ${artifactId}`,\n Configuration: {\n resourceType: 'Artifacts',\n artifactId,\n recordId: artifactId\n },\n ResourceRecordId: artifactId,\n IsPinned: false\n });\n return;\n }\n\n if (route.params['queryId'] !== undefined) {\n // /resource/query/:queryId\n const queryId = route.params['queryId'];\n\n // Queue tab request via TabService\n this.tabService.OpenTab({\n ApplicationId: SYSTEM_APP_ID,\n Title: `Query - ${queryId}`,\n Configuration: {\n resourceType: 'Queries',\n queryId,\n recordId: queryId\n },\n ResourceRecordId: queryId,\n IsPinned: false\n });\n return;\n }\n\n if (route.params['searchInput'] !== undefined) {\n const searchInput = decodeURIComponent(route.params['searchInput']);\n\n // Unified search route: always use SearchResultsResource\n // Pass Query for the ng-search service, and legacy SearchInput for backward compat\n this.tabService.OpenTab({\n ApplicationId: SYSTEM_APP_ID,\n Title: `Search: ${searchInput}`,\n Configuration: {\n resourceType: 'Custom',\n driverClass: 'SearchResultsResource',\n Query: searchInput,\n SearchInput: searchInput,\n recordId: `search-${searchInput}`\n },\n ResourceRecordId: `search-${searchInput}`,\n IsPinned: false\n });\n return;\n }\n\n LogError(`Unable to parse resource route parameters from URL: ${state.url}`);\n }\n}\n\nconst routes: Routes = [\n // OAuth callback route - must be FIRST as it handles redirects from OAuth providers\n // This route does NOT require AuthGuard because it's the callback from external OAuth\n // The component itself handles authentication when calling the exchange endpoint\n // NOTE: We use component directly instead of loadChildren because lazy loading\n // doesn't work correctly when the route is defined in a library (explorer-core)\n // rather than the main application.\n {\n path: 'oauth/callback',\n component: OAuthCallbackComponent\n },\n\n // App-scoped resource routes (new pattern)\n // These must come BEFORE app/:appName/:navItemName to be matched first\n {\n path: 'app/:appName/view/dynamic/:param2',\n resolve: { data: ResourceResolver },\n canActivate: [AuthGuard, AppLockGuard],\n component: SingleRecordComponent,\n data: { resourceType: 'view' }\n },\n {\n path: 'app/:appName/record/:param1/:param2',\n resolve: { data: ResourceResolver },\n canActivate: [AuthGuard, AppLockGuard],\n component: SingleRecordComponent,\n data: { resourceType: 'record' }\n },\n {\n path: 'app/:appName/:resourceType/:param1',\n resolve: { data: ResourceResolver },\n canActivate: [AuthGuard, AppLockGuard],\n component: SingleRecordComponent,\n },\n // App navigation routes\n {\n path: 'app/:appName/:navItemName',\n resolve: { data: ResourceResolver },\n canActivate: [AuthGuard, AppLockGuard],\n component: SingleRecordComponent,\n },\n {\n path: 'app/:appName',\n resolve: { data: ResourceResolver },\n canActivate: [AuthGuard, AppLockGuard],\n component: SingleRecordComponent,\n },\n // Legacy resource routes (kept for backward compatibility, will redirect in future)\n {\n path: 'resource/record/:entityName/:recordId',\n resolve: { data: ResourceResolver },\n canActivate: [AuthGuard, AppLockGuard],\n component: SingleRecordComponent,\n },\n {\n path: 'resource/view/dynamic/:entityName',\n resolve: { data: ResourceResolver },\n canActivate: [AuthGuard, AppLockGuard],\n component: SingleRecordComponent,\n },\n {\n path: 'resource/view/:viewId',\n resolve: { data: ResourceResolver },\n canActivate: [AuthGuard, AppLockGuard],\n component: SingleRecordComponent,\n },\n {\n path: 'resource/dashboard/:dashboardId',\n resolve: { data: ResourceResolver },\n canActivate: [AuthGuard, AppLockGuard],\n component: SingleRecordComponent,\n },\n {\n path: 'resource/artifact/:artifactId',\n resolve: { data: ResourceResolver },\n canActivate: [AuthGuard, AppLockGuard],\n component: SingleRecordComponent,\n },\n {\n path: 'resource/query/:queryId',\n resolve: { data: ResourceResolver },\n canActivate: [AuthGuard, AppLockGuard],\n component: SingleRecordComponent,\n },\n {\n path: 'resource/search/:searchInput',\n resolve: { data: ResourceResolver },\n canActivate: [AuthGuard, AppLockGuard],\n component: SingleRecordComponent,\n }\n];\n\ninterface DetachedRouteHandleExt extends DetachedRouteHandle {\n componentRef: ComponentRef<any>;\n}\n\n@NgModule({\n imports: [RouterModule.forRoot(routes, { onSameUrlNavigation: 'reload' })],\n exports: [RouterModule],\n})\nexport class AppRoutingModule {\n // NOTE - in MJ Explorer 3.0 and beyond we do NOT use Explorer Navigation Items anymore and\n // this allows us to remove the dyanmic route stuff entirely here. The NEW paradigm is \n // everything beyond resource navigation is an app and apps have the ability to define \n // nav items which is a superset of functionality compared to the old Explorer Nav Items.\n}"]}
1
+ {"version":3,"file":"app-routing.module.js","sourceRoot":"","sources":["../src/app-routing.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,UAAU,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACnE,OAAO,EAAU,YAAY,EAAgE,MAAM,iBAAiB,CAAC;AACrH,OAAO,EACL,qBAAqB,EACrB,gBAAgB,IAAI,SAAS,EAC7B,mBAAmB,IAAI,YAAY,EACpC,MAAM,c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gBAAgB,EAAE;QACnC,WAAW,EAAE,CAAC,SAAS,EAAE,YAAY,CAAC;QACtC,SAAS,EAAE,qBAAqB;KACjC;IACD;QACE,IAAI,EAAE,iCAAiC;QACvC,OAAO,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE;QACnC,WAAW,EAAE,CAAC,SAAS,EAAE,YAAY,CAAC;QACtC,SAAS,EAAE,qBAAqB;KACjC;IACD;QACE,IAAI,EAAE,+BAA+B;QACrC,OAAO,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE;QACnC,WAAW,EAAE,CAAC,SAAS,EAAE,YAAY,CAAC;QACtC,SAAS,EAAE,qBAAqB;KACjC;IACD;QACE,IAAI,EAAE,yBAAyB;QAC/B,OAAO,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE;QACnC,WAAW,EAAE,CAAC,SAAS,EAAE,YAAY,CAAC;QACtC,SAAS,EAAE,qBAAqB;KACjC;IACD;QACE,IAAI,EAAE,8BAA8B;QACpC,OAAO,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE;QACnC,WAAW,EAAE,CAAC,SAAS,EAAE,YAAY,CAAC;QACtC,SAAS,EAAE,qBAAqB;KACjC;CACF,CAAC;AAUF,MAAM,OAAO,gBAAgB;0GAAhB,gBAAgB;4DAAhB,gBAAgB;gEAHjB,YAAY,CAAC,OAAO,CAAC,MAAM,EAAE,EAAE,mBAAmB,EAAE,QAAQ,EAAE,CAAC,EAC/D,YAAY;;iFAEX,gBAAgB;cAJ5B,QAAQ;eAAC;gBACR,OAAO,EAAE,CAAC,YAAY,CAAC,OAAO,CAAC,MAAM,EAAE,EAAE,mBAAmB,EAAE,QAAQ,EAAE,CAAC,CAAC;gBAC1E,OAAO,EAAE,CAAC,YAAY,CAAC;aACxB;;wFACY,gBAAgB,0CAFjB,YAAY","sourcesContent":["import { ComponentRef, Injectable, NgModule } from '@angular/core';\nimport { Routes, RouterModule, Resolve, ActivatedRouteSnapshot, RouterStateSnapshot, Router } from '@angular/router';\nimport {\n SingleRecordComponent,\n AuthGuardService as AuthGuard,\n AppLockGuardService as AppLockGuard\n} from './public-api';\nimport { OAuthCallbackComponent } from './lib/oauth/oauth-callback.component';\nimport { ClaimRedeemComponent } from './lib/identity-claims/claim-redeem.component';\nimport { LogError, Metadata, StartupManager, IMetadataProvider, IsNewEntityRecordUrlId, NEW_RECORD_VALUES_QUERY_PARAM } from '@memberjunction/core';\nimport { SharedService, SYSTEM_APP_ID, RECORDS_RESOURCE_TYPE } from '@memberjunction/ng-shared';\nimport { DetachedRouteHandle, RouteReuseStrategy } from '@angular/router';\nimport { ApplicationManager, TabService } from '@memberjunction/ng-base-application';\nimport { MJGlobal, MJEventType } from '@memberjunction/global';\nimport { firstValueFrom, filter, take } from 'rxjs';\n\nexport class CustomReuseStrategy implements RouteReuseStrategy {\n storedRoutes: { [key: string]: DetachedRouteHandleExt | null } = {};\n\n // Determines if a route should be detached and stored\n shouldDetach(route: ActivatedRouteSnapshot): boolean {\n // removed reference to the skip stuff from here - we don't use the skip stuff anymore, using generic conversations/chat now\n return false;\n }\n\n // Stores the detached route\n store(route: ActivatedRouteSnapshot, handle: DetachedRouteHandleExt | null): void {\n if(!handle){\n return;\n }\n\n if (route.routeConfig && route.routeConfig.path) {\n this.storedRoutes[route.routeConfig.path] = handle;\n this.callHook(handle, 'ngOnDetach');\n }\n }\n\n // Determines if a stored route should be reattached\n shouldAttach(route: ActivatedRouteSnapshot): boolean {\n // Reattach if we have a stored route for the incoming route\n if (route.routeConfig?.path) {\n return !!route.routeConfig && !!this.storedRoutes[route.routeConfig.path];\n }\n\n else return false;\n }\n\n // Retrieves the stored route; null means no stored route for this path\n retrieve(route: ActivatedRouteSnapshot): DetachedRouteHandle | null {\n if (!route.routeConfig || (route.routeConfig.path && !this.storedRoutes[route.routeConfig.path])) {\n return null;\n } \n else if (route.routeConfig.path) {\n const path = this.storedRoutes[route.routeConfig.path];\n if(path){\n this.callHook(path, 'ngOnAttach');\n return path;\n }\n }\n\n return null;\n }\n\n // Determines if the route should be reused.\n // Query params are intentionally excluded — the shell handles query param\n // sub-navigation via NotifyQueryParamsChanged. Including them here would\n // cause the ResourceResolver to re-run on back/forward query param changes,\n // racing with the shell's syncWorkspaceWithUrl.\n shouldReuseRoute(future: ActivatedRouteSnapshot, curr: ActivatedRouteSnapshot): boolean {\n return future.routeConfig === curr.routeConfig &&\n this.objectContentsEqual(future.params, curr.params);\n }\n\n objectContentsEqual(obj1: any, obj2: any): boolean {\n if (obj1 === obj2) {\n return true; // exact same object\n }\n\n if (obj1 === null && obj2 !== null) {\n return false; // not the same object\n }\n\n if (obj1 === undefined && obj2 !== undefined) {\n return false; // not the same object\n }\n\n if (typeof obj1 === 'object' || typeof obj2 === 'object') {\n if (Object.keys(obj1).length !== Object.keys(obj2).length) {\n return false; // different number of keys\n }\n \n for (const key in obj1) {\n // check to see the type of the key, if it is an object, then we call this function recursively \n // otherwise we do simple comparison\n if (typeof obj1[key] === 'object' && typeof obj2[key] === 'object') {\n if (!this.objectContentsEqual(obj1[key], obj2[key])) {\n return false; // any individual key not matching means the objects are different\n }\n }\n else if (obj1[key] !== obj2[key]) {\n return false; // any individual key not matching means the objects are different\n }\n } \n }\n\n return true;\n }\n\n private callHook(detachedTree: DetachedRouteHandleExt, hookName: 'ngOnDetach' | 'ngOnAttach'): void {\n if(!detachedTree || !hookName){\n return;\n }\n\n const componentRef = detachedTree.componentRef;\n if (componentRef && componentRef.instance && typeof componentRef.instance[hookName] === 'function') {\n componentRef.instance[hookName]();\n }\n }\n}\n\nfunction readNewRecordValuesQuery(queryParams: { [key: string]: string | string[] | undefined | null }): string | undefined {\n const raw = queryParams[NEW_RECORD_VALUES_QUERY_PARAM] ?? queryParams['newRecordValues'];\n if (raw == null) return undefined;\n const value = Array.isArray(raw) ? raw[0] : raw;\n const trimmed = value?.trim();\n return trimmed && trimmed.length > 0 ? trimmed : undefined;\n}\n\n@Injectable({\n providedIn: 'root',\n})\nexport class ResourceResolver implements Resolve<void> {\n private processedUrls = new Map<string, number>();\n private readonly URL_DEBOUNCE_MS = 100; // Allow same URL after 100ms\n private loggedInPromise: Promise<void> | null = null;\n\n /**\n * Optional explicit metadata provider. The shell calls\n * `setProvider(this.ProviderToUse)` after acquiring this resolver from DI.\n * Falls back to `Metadata.Provider` for single-provider apps.\n */\n private _provider: IMetadataProvider | null = null;\n\n public set Provider(value: IMetadataProvider | null) {\n this._provider = value;\n }\n\n public get Provider(): IMetadataProvider {\n return this._provider ?? Metadata.Provider;\n }\n\n constructor(\n private sharedService: SharedService,\n private router: Router,\n private appManager: ApplicationManager,\n private tabService: TabService\n ) {\n // Create a promise that resolves when the user is logged in and metadata is loaded\n this.loggedInPromise = this.waitForLogin();\n }\n\n /**\n * Wait for the LoggedIn event which indicates metadata is loaded.\n * Uses replay (true) to catch the event even if it already fired.\n */\n private async waitForLogin(): Promise<void> {\n await firstValueFrom(\n MJGlobal.Instance.GetEventListener(true).pipe(\n filter(event => event.event === MJEventType.LoggedIn),\n take(1)\n )\n );\n\n await StartupManager.Instance.Startup();\n\n await this.appManager.WhenReady();\n }\n\n async resolve(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Promise<void> {\n // Wait for login/metadata to be ready before processing\n if (this.loggedInPromise) {\n await this.loggedInPromise;\n }\n\n // Prevent duplicate processing of the same URL within a short time window\n // This allows legitimate re-navigation to the same URL (like app switching)\n // while preventing rapid duplicate calls\n const now = Date.now();\n const lastProcessed = this.processedUrls.get(state.url);\n\n if (lastProcessed && (now - lastProcessed) < this.URL_DEBOUNCE_MS) {\n return;\n }\n\n this.processedUrls.set(state.url, now);\n\n // Check if this resolve should be suppressed (URL sync from tab click, not real navigation)\n if (this.tabService.ShouldSuppressResolve()) {\n this.tabService.ClearSuppressFlag();\n return;\n }\n\n const md = this.Provider;\n const applications = md.Applications;\n\n // Known resource types for app-scoped resource URLs\n const KNOWN_RESOURCE_TYPES = ['dashboard', 'record', 'view', 'query', 'report', 'artifact', 'search'];\n\n // Handle app-scoped resource navigation: /app/:appName/:resourceType/:param1/:param2?\n // This pattern supports resources opened within an app context (e.g., /app/home/dashboard/abc123)\n // Only handle if the second path segment is a known resource type\n if (route.params['appName'] !== undefined &&\n route.params['resourceType'] !== undefined &&\n KNOWN_RESOURCE_TYPES.includes(route.params['resourceType'].toLowerCase())) {\n const appName = decodeURIComponent(route.params['appName']);\n const resourceType = route.params['resourceType'].toLowerCase();\n const param1 = route.params['param1'];\n const param2 = route.params['param2'];\n\n // Check app access\n const accessResult = this.appManager.CheckAppAccess(appName);\n if (accessResult.status !== 'accessible') {\n return;\n }\n\n // Get the app for its ID\n const app = this.appManager.GetAppByPath(appName) || this.appManager.GetAppByName(appName);\n if (!app) {\n LogError(`Application ${appName} not found in metadata`);\n return;\n }\n\n // Handle based on resource type\n switch (resourceType) {\n case 'dashboard': {\n // /app/:appName/dashboard/:dashboardId\n const dashboardId = param1;\n this.tabService.OpenTab({\n ApplicationId: app.ID,\n Title: `Dashboard - ${dashboardId}`,\n Configuration: {\n resourceType: 'Dashboards',\n dashboardId,\n recordId: dashboardId,\n appName: appName,\n appId: app.ID\n },\n ResourceRecordId: dashboardId,\n IsPinned: false\n });\n return;\n }\n\n case 'record': {\n // /app/:appName/record/:entityName/:recordId\n const entityName = decodeURIComponent(param1);\n const recordId = param2;\n const isNew = IsNewEntityRecordUrlId(recordId);\n const newRecordValues = readNewRecordValuesQuery(route.queryParams);\n\n const entityInfo = md.EntityByName(entityName);\n if (!entityInfo) {\n LogError(`Entity ${entityName} not found in metadata`);\n return;\n }\n\n this.tabService.OpenTab({\n ApplicationId: app.ID,\n Title: isNew ? `New ${entityName}` : `${entityName} - ${recordId}`,\n Configuration: {\n resourceType: RECORDS_RESOURCE_TYPE,\n Entity: entityName,\n recordId: isNew ? '' : recordId,\n isNew: isNew || undefined,\n NewRecordValues: newRecordValues,\n appName: appName,\n appId: app.ID\n },\n ResourceRecordId: isNew ? '' : recordId,\n IsPinned: false\n });\n return;\n }\n\n case 'view': {\n // /app/:appName/view/:viewId OR /app/:appName/view/dynamic/:entityName\n if (param1 === 'dynamic' && param2) {\n // Dynamic view: /app/:appName/view/dynamic/:entityName\n const entityName = decodeURIComponent(param2);\n const extraFilter = route.queryParams['ExtraFilter'] || route.queryParams['extraFilter'];\n const filterSuffix = extraFilter ? ' (Filtered)' : '';\n\n this.tabService.OpenTab({\n ApplicationId: app.ID,\n Title: `${entityName}${filterSuffix}`,\n Configuration: {\n resourceType: 'MJ: User Views',\n Entity: entityName,\n ExtraFilter: extraFilter,\n isDynamic: true,\n recordId: 'dynamic',\n appName: appName,\n appId: app.ID\n },\n ResourceRecordId: 'dynamic',\n IsPinned: false\n });\n } else {\n // Saved view: /app/:appName/view/:viewId\n const viewId = param1;\n\n this.tabService.OpenTab({\n ApplicationId: app.ID,\n Title: `View - ${viewId}`,\n Configuration: {\n resourceType: 'MJ: User Views',\n viewId,\n recordId: viewId,\n appName: appName,\n appId: app.ID\n },\n ResourceRecordId: viewId,\n IsPinned: false\n });\n }\n return;\n }\n\n case 'query': {\n // /app/:appName/query/:queryId\n const queryId = param1;\n\n this.tabService.OpenTab({\n ApplicationId: app.ID,\n Title: `Query - ${queryId}`,\n Configuration: {\n resourceType: 'Queries',\n queryId,\n recordId: queryId,\n appName: appName,\n appId: app.ID\n },\n ResourceRecordId: queryId,\n IsPinned: false\n });\n return;\n }\n\n case 'artifact': {\n // /app/:appName/artifact/:artifactId\n const artifactId = param1;\n\n this.tabService.OpenTab({\n ApplicationId: app.ID,\n Title: `Artifact - ${artifactId}`,\n Configuration: {\n resourceType: 'Artifacts',\n artifactId,\n recordId: artifactId,\n appName: appName,\n appId: app.ID\n },\n ResourceRecordId: artifactId,\n IsPinned: false\n });\n return;\n }\n\n case 'search': {\n // /app/:appName/search/:searchInput\n const searchInput = decodeURIComponent(param1);\n const entityName = route.queryParams['Entity'] || '';\n\n this.tabService.OpenTab({\n ApplicationId: app.ID,\n Title: `Search: ${searchInput}`,\n Configuration: {\n resourceType: 'Search Results',\n Entity: entityName,\n SearchInput: searchInput,\n recordId: searchInput,\n appName: appName,\n appId: app.ID\n },\n ResourceRecordId: searchInput,\n IsPinned: false\n });\n return;\n }\n\n default:\n LogError(`Unknown resource type in app-scoped URL: ${resourceType}`);\n return;\n }\n }\n\n // Handle app-level navigation: /app/:appName (no nav item - app default)\n if (route.params['appName'] !== undefined && route.params['navItemName'] === undefined) {\n const appName = decodeURIComponent(route.params['appName']);\n\n // IMPORTANT: Check if user has access to this app BEFORE proceeding\n // Use the ApplicationManager's access check which respects UserApplication records\n const accessResult = this.appManager.CheckAppAccess(appName);\n\n if (accessResult.status !== 'accessible') {\n // User doesn't have access - let the shell component handle the error dialog\n // Don't create any tabs here\n return;\n }\n\n // Let the app create its default tab (will load default dashboard if no nav items)\n // The shell component will handle this after setting the active app\n // We don't need to do anything here - just return to allow the app to activate\n return;\n }\n\n // Handle app navigation: /app/:appName/:navItemName\n if (route.params['appName'] !== undefined && route.params['navItemName'] !== undefined) {\n const appName = decodeURIComponent(route.params['appName']);\n const navItemName = decodeURIComponent(route.params['navItemName']);\n\n // IMPORTANT: Check if user has access to this app BEFORE proceeding\n // Use the ApplicationManager's access check which respects UserApplication records\n const accessResult = this.appManager.CheckAppAccess(appName);\n\n if (accessResult.status !== 'accessible') {\n // User doesn't have access - let the shell component handle the error dialog\n // Don't create any tabs here\n return;\n }\n\n // Find the app in metadata for nav item details\n const app = applications.find(a =>\n a.Path.trim().toLowerCase() === appName.trim().toLowerCase() ||\n a.Name.trim().toLowerCase() === appName.trim().toLowerCase()\n );\n\n if (!app) {\n LogError(`Application ${appName} not found in metadata`);\n return;\n }\n\n // Get nav items from the app's DefaultNavItems JSON\n let navItems: any[] = [];\n if (app.DefaultNavItems) {\n try {\n navItems = JSON.parse(app.DefaultNavItems);\n } catch (e) {\n LogError(`Failed to parse DefaultNavItems for app ${appName}`);\n console.error(e);\n return;\n }\n }\n\n // Find the nav item by label (case-insensitive)\n const navItem = navItems.find(item =>\n item.Label?.trim().toLowerCase() === navItemName.trim().toLowerCase()\n );\n\n if (!navItem) {\n LogError(`Nav item ${navItemName} not found in app ${appName}`);\n return;\n }\n\n // Get the resource type from the nav item\n if (!navItem.ResourceType) {\n LogError(`Nav item ${navItemName} has no ResourceType defined`);\n return;\n }\n\n // NOTE: Don't set active app here - the shell component handles that\n // based on the URL to avoid navigation loops\n\n // Queue tab request via TabService\n // Build configuration - include DriverClass for Custom resource types\n const config: any = {\n route: navItem.Route,\n resourceType: navItem.ResourceType,\n recordId: navItem.RecordID,\n appName: appName,\n appId: app.ID,\n navItemName: navItem.Label,\n ...(navItem.Configuration || {}),\n queryParams: route.queryParams\n };\n\n // For Custom resource types, include the DriverClass\n if (navItem.ResourceType === 'Custom' && navItem.DriverClass) {\n config.driverClass = navItem.DriverClass;\n }\n\n this.tabService.OpenTab({\n ApplicationId: app.ID,\n Title: navItem.Label,\n Configuration: config,\n IsPinned: false\n });\n\n return;\n }\n\n // Determine resource type and record ID based on the route path\n if (route.params['recordId'] !== undefined && route.params['entityName'] !== undefined) {\n // /resource/record/:entityName/:recordId\n const entityName = decodeURIComponent(route.params['entityName']);\n const recordId = route.params['recordId'];\n const isNew = IsNewEntityRecordUrlId(recordId);\n const newRecordValues = readNewRecordValuesQuery(route.queryParams);\n\n const entityInfo = md.EntityByName(entityName);\n if (!entityInfo) {\n LogError(`Entity ${entityName} not found in metadata`);\n return;\n }\n\n // Queue tab request via TabService\n this.tabService.OpenTab({\n ApplicationId: SYSTEM_APP_ID,\n Title: isNew ? `New ${entityName}` : `${entityName} - ${recordId}`,\n Configuration: {\n resourceType: RECORDS_RESOURCE_TYPE,\n Entity: entityName,\n recordId: isNew ? '' : recordId,\n isNew: isNew || undefined,\n NewRecordValues: newRecordValues\n },\n ResourceRecordId: isNew ? '' : recordId,\n IsPinned: false\n });\n return;\n }\n\n if (route.params['viewId'] !== undefined) {\n // /resource/view/:viewId (saved views)\n const viewId = route.params['viewId'];\n\n // Queue tab request via TabService\n this.tabService.OpenTab({\n ApplicationId: SYSTEM_APP_ID,\n Title: `View - ${viewId}`,\n Configuration: {\n resourceType: 'MJ: User Views',\n viewId,\n recordId: viewId\n },\n ResourceRecordId: viewId,\n IsPinned: false\n });\n return;\n }\n\n if (route.url.length >= 3 && route.url[1].path === 'view' && route.url[2].path === 'dynamic') {\n // /resource/view/dynamic/:entityName\n const entityName = decodeURIComponent(route.params['entityName']);\n const extraFilter = route.queryParams['ExtraFilter'] || route.queryParams['extraFilter'];\n\n const filterSuffix = extraFilter ? ' (Filtered)' : '';\n\n // Queue tab request via TabService\n this.tabService.OpenTab({\n ApplicationId: SYSTEM_APP_ID,\n Title: `${entityName}${filterSuffix}`,\n Configuration: {\n resourceType: 'MJ: User Views',\n Entity: entityName,\n ExtraFilter: extraFilter,\n isDynamic: true,\n recordId: 'dynamic'\n },\n ResourceRecordId: 'dynamic',\n IsPinned: false\n });\n return;\n }\n\n if (route.params['dashboardId'] !== undefined) {\n // /resource/dashboard/:dashboardId\n const dashboardId = route.params['dashboardId'];\n\n // Queue tab request via TabService\n this.tabService.OpenTab({\n ApplicationId: SYSTEM_APP_ID,\n Title: `Dashboard - ${dashboardId}`,\n Configuration: {\n resourceType: 'Dashboards',\n dashboardId,\n recordId: dashboardId\n },\n ResourceRecordId: dashboardId,\n IsPinned: false\n });\n return;\n }\n\n if (route.params['artifactId'] !== undefined) {\n // /resource/artifact/:artifactId\n const artifactId = route.params['artifactId'];\n\n // Queue tab request via TabService\n this.tabService.OpenTab({\n ApplicationId: SYSTEM_APP_ID,\n Title: `Artifact - ${artifactId}`,\n Configuration: {\n resourceType: 'Artifacts',\n artifactId,\n recordId: artifactId\n },\n ResourceRecordId: artifactId,\n IsPinned: false\n });\n return;\n }\n\n if (route.params['queryId'] !== undefined) {\n // /resource/query/:queryId\n const queryId = route.params['queryId'];\n\n // Queue tab request via TabService\n this.tabService.OpenTab({\n ApplicationId: SYSTEM_APP_ID,\n Title: `Query - ${queryId}`,\n Configuration: {\n resourceType: 'Queries',\n queryId,\n recordId: queryId\n },\n ResourceRecordId: queryId,\n IsPinned: false\n });\n return;\n }\n\n if (route.params['searchInput'] !== undefined) {\n const searchInput = decodeURIComponent(route.params['searchInput']);\n\n // Unified search route: always use SearchResultsResource\n // Pass Query for the ng-search service, and legacy SearchInput for backward compat\n this.tabService.OpenTab({\n ApplicationId: SYSTEM_APP_ID,\n Title: `Search: ${searchInput}`,\n Configuration: {\n resourceType: 'Custom',\n driverClass: 'SearchResultsResource',\n Query: searchInput,\n SearchInput: searchInput,\n recordId: `search-${searchInput}`\n },\n ResourceRecordId: `search-${searchInput}`,\n IsPinned: false\n });\n return;\n }\n\n LogError(`Unable to parse resource route parameters from URL: ${state.url}`);\n }\n}\n\nconst routes: Routes = [\n // OAuth callback route - must be FIRST as it handles redirects from OAuth providers\n // This route does NOT require AuthGuard because it's the callback from external OAuth\n // The component itself handles authentication when calling the exchange endpoint\n // NOTE: We use component directly instead of loadChildren because lazy loading\n // doesn't work correctly when the route is defined in a library (explorer-core)\n // rather than the main application.\n {\n path: 'oauth/callback',\n component: OAuthCallbackComponent\n },\n\n // Identity-claim redemption landing page — the target of claim emails'\n // /claims/redeem?id=..&token=.. links (IdentityClaimEngineServer.sendClaimEmail).\n // Same posture as the OAuth callback: no AuthGuard (the component waits for session\n // restoration itself and tells an unauthenticated visitor to sign in first), and a\n // direct component rather than a lazy route for the same library-routing reason.\n {\n path: 'claims/redeem',\n component: ClaimRedeemComponent\n },\n\n // App-scoped resource routes (new pattern)\n // These must come BEFORE app/:appName/:navItemName to be matched first\n {\n path: 'app/:appName/view/dynamic/:param2',\n resolve: { data: ResourceResolver },\n canActivate: [AuthGuard, AppLockGuard],\n component: SingleRecordComponent,\n data: { resourceType: 'view' }\n },\n {\n path: 'app/:appName/record/:param1/:param2',\n resolve: { data: ResourceResolver },\n canActivate: [AuthGuard, AppLockGuard],\n component: SingleRecordComponent,\n data: { resourceType: 'record' }\n },\n {\n path: 'app/:appName/:resourceType/:param1',\n resolve: { data: ResourceResolver },\n canActivate: [AuthGuard, AppLockGuard],\n component: SingleRecordComponent,\n },\n // App navigation routes\n {\n path: 'app/:appName/:navItemName',\n resolve: { data: ResourceResolver },\n canActivate: [AuthGuard, AppLockGuard],\n component: SingleRecordComponent,\n },\n {\n path: 'app/:appName',\n resolve: { data: ResourceResolver },\n canActivate: [AuthGuard, AppLockGuard],\n component: SingleRecordComponent,\n },\n // Legacy resource routes (kept for backward compatibility, will redirect in future)\n {\n path: 'resource/record/:entityName/:recordId',\n resolve: { data: ResourceResolver },\n canActivate: [AuthGuard, AppLockGuard],\n component: SingleRecordComponent,\n },\n {\n path: 'resource/view/dynamic/:entityName',\n resolve: { data: ResourceResolver },\n canActivate: [AuthGuard, AppLockGuard],\n component: SingleRecordComponent,\n },\n {\n path: 'resource/view/:viewId',\n resolve: { data: ResourceResolver },\n canActivate: [AuthGuard, AppLockGuard],\n component: SingleRecordComponent,\n },\n {\n path: 'resource/dashboard/:dashboardId',\n resolve: { data: ResourceResolver },\n canActivate: [AuthGuard, AppLockGuard],\n component: SingleRecordComponent,\n },\n {\n path: 'resource/artifact/:artifactId',\n resolve: { data: ResourceResolver },\n canActivate: [AuthGuard, AppLockGuard],\n component: SingleRecordComponent,\n },\n {\n path: 'resource/query/:queryId',\n resolve: { data: ResourceResolver },\n canActivate: [AuthGuard, AppLockGuard],\n component: SingleRecordComponent,\n },\n {\n path: 'resource/search/:searchInput',\n resolve: { data: ResourceResolver },\n canActivate: [AuthGuard, AppLockGuard],\n component: SingleRecordComponent,\n }\n];\n\ninterface DetachedRouteHandleExt extends DetachedRouteHandle {\n componentRef: ComponentRef<any>;\n}\n\n@NgModule({\n imports: [RouterModule.forRoot(routes, { onSameUrlNavigation: 'reload' })],\n exports: [RouterModule],\n})\nexport class AppRoutingModule {\n // NOTE - in MJ Explorer 3.0 and beyond we do NOT use Explorer Navigation Items anymore and\n // this allows us to remove the dyanmic route stuff entirely here. The NEW paradigm is \n // everything beyond resource navigation is an app and apps have the ability to define \n // nav items which is a superset of functionality compared to the old Explorer Nav Items.\n}"]}
@@ -0,0 +1,64 @@
1
+ /**
2
+ * @fileoverview Identity Claim Redemption Page
3
+ *
4
+ * Landing page for the links in identity-claim emails
5
+ * (`${PORTAL_BASE_URL}/claims/redeem?id=<claimId>&token=<rawToken>`). When a recipient
6
+ * clicks through, this component:
7
+ * 1. Waits for the user's session to be restored (same posture as the OAuth callback —
8
+ * no AuthGuard; the component handles the not-yet-authenticated case itself)
9
+ * 2. Extracts the claim id and optional verification token from the query params
10
+ * 3. Calls the `RedeemIdentityClaim` GraphQL mutation, which runs the server engine's full
11
+ * gate (email match subject to verification rules, or timing-safe token match, atomic CAS)
12
+ * 4. Shows the outcome and offers navigation back into the app
13
+ *
14
+ * Like the OAuth callback, this is a deliberate exception to the NavigationService-only rule:
15
+ * it is registered directly in the routing module and reads its own query params.
16
+ *
17
+ * @module IdentityClaims
18
+ */
19
+ import { OnDestroy, OnInit, ChangeDetectorRef } from '@angular/core';
20
+ import { ActivatedRoute, Router } from '@angular/router';
21
+ import { BaseAngularComponent } from '@memberjunction/ng-base-types';
22
+ import * as i0 from "@angular/core";
23
+ export declare class ClaimRedeemComponent extends BaseAngularComponent implements OnInit, OnDestroy {
24
+ private route;
25
+ private router;
26
+ private cdr;
27
+ /** Loading state while restoring the session / redeeming */
28
+ IsLoading: boolean;
29
+ /** Terminal error state */
30
+ HasError: boolean;
31
+ /** Error message to display */
32
+ ErrorMessage: string;
33
+ /** True when the wait for authentication timed out (user likely not signed in) */
34
+ NeedsSignIn: boolean;
35
+ /** Status message shown during processing */
36
+ StatusMessage: string;
37
+ /** Timer for polling provider readiness */
38
+ private pollTimer;
39
+ /** Flag to prevent double processing */
40
+ private isProcessing;
41
+ constructor(route: ActivatedRoute, router: Router, cdr: ChangeDetectorRef);
42
+ ngOnInit(): Promise<void>;
43
+ ngOnDestroy(): void;
44
+ /**
45
+ * Waits for the GraphQL provider to be initialized (indicating auth is complete),
46
+ * then redeems the claim from the query params.
47
+ */
48
+ private waitForProviderAndRedeem;
49
+ /** Checks if the GraphQL provider is initialized with a valid token */
50
+ private isProviderReady;
51
+ /** Redeems exactly once, converting any throw into the error state */
52
+ private safeRedeem;
53
+ /** Reads the query params and calls the redemption mutation */
54
+ private redeemClaim;
55
+ /** Shows the terminal error state */
56
+ private showError;
57
+ /** Navigates into the app shell (which handles sign-in when needed) */
58
+ onGoToApp(): void;
59
+ /** Retries redemption from scratch (fresh component state) */
60
+ onRetry(): void;
61
+ static ɵfac: i0.ɵɵFactoryDeclaration<ClaimRedeemComponent, never>;
62
+ static ɵcmp: i0.ɵɵComponentDeclaration<ClaimRedeemComponent, "mj-claim-redeem", never, {}, {}, never, never, false, never>;
63
+ }
64
+ //# sourceMappingURL=claim-redeem.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"claim-redeem.component.d.ts","sourceRoot":"","sources":["../../../src/lib/identity-claims/claim-redeem.component.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,EAAa,SAAS,EAAE,MAAM,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAChF,OAAO,EAAE,cAAc,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAEzD,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;;AA2BrE,qBAMa,oBAAqB,SAAQ,oBAAqB,YAAW,MAAM,EAAE,SAAS;IAuBnF,OAAO,CAAC,KAAK;IACb,OAAO,CAAC,MAAM;IACd,OAAO,CAAC,GAAG;IAxBf,4DAA4D;IACrD,SAAS,UAAQ;IAExB,2BAA2B;IACpB,QAAQ,UAAS;IAExB,+BAA+B;IACxB,YAAY,SAAM;IAEzB,kFAAkF;IAC3E,WAAW,UAAS;IAE3B,6CAA6C;IACtC,aAAa,SAA0B;IAE9C,2CAA2C;IAC3C,OAAO,CAAC,SAAS,CAA+C;IAEhE,wCAAwC;IACxC,OAAO,CAAC,YAAY,CAAS;gBAGjB,KAAK,EAAE,cAAc,EACrB,MAAM,EAAE,MAAM,EACd,GAAG,EAAE,iBAAiB;IAK5B,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC;IAI/B,WAAW,IAAI,IAAI;IAOnB;;;OAGG;YACW,wBAAwB;IA2CtC,uEAAuE;IACvE,OAAO,CAAC,eAAe;IAavB,sEAAsE;YACxD,UAAU;IAcxB,+DAA+D;YACjD,WAAW;IA6BzB,qCAAqC;IACrC,OAAO,CAAC,SAAS;IAOjB,uEAAuE;IAChE,SAAS,IAAI,IAAI;IAIxB,8DAA8D;IACvD,OAAO,IAAI,IAAI;yCAjKb,oBAAoB;2CAApB,oBAAoB;CAyKhC"}
@@ -0,0 +1,276 @@
1
+ /**
2
+ * @fileoverview Identity Claim Redemption Page
3
+ *
4
+ * Landing page for the links in identity-claim emails
5
+ * (`${PORTAL_BASE_URL}/claims/redeem?id=<claimId>&token=<rawToken>`). When a recipient
6
+ * clicks through, this component:
7
+ * 1. Waits for the user's session to be restored (same posture as the OAuth callback —
8
+ * no AuthGuard; the component handles the not-yet-authenticated case itself)
9
+ * 2. Extracts the claim id and optional verification token from the query params
10
+ * 3. Calls the `RedeemIdentityClaim` GraphQL mutation, which runs the server engine's full
11
+ * gate (email match subject to verification rules, or timing-safe token match, atomic CAS)
12
+ * 4. Shows the outcome and offers navigation back into the app
13
+ *
14
+ * Like the OAuth callback, this is a deliberate exception to the NavigationService-only rule:
15
+ * it is registered directly in the routing module and reads its own query params.
16
+ *
17
+ * @module IdentityClaims
18
+ */
19
+ import { Component } from '@angular/core';
20
+ import { BaseAngularComponent } from '@memberjunction/ng-base-types';
21
+ import * as i0 from "@angular/core";
22
+ import * as i1 from "@angular/router";
23
+ import * as i2 from "@memberjunction/ng-shared-generic";
24
+ import * as i3 from "@memberjunction/ng-ui-components";
25
+ function ClaimRedeemComponent_Conditional_2_Template(rf, ctx) { if (rf & 1) {
26
+ i0.ɵɵelementStart(0, "div", 2);
27
+ i0.ɵɵelement(1, "mj-loading", 5);
28
+ i0.ɵɵelementEnd();
29
+ } if (rf & 2) {
30
+ const ctx_r0 = i0.ɵɵnextContext();
31
+ i0.ɵɵadvance();
32
+ i0.ɵɵproperty("text", i0.ɵɵinterpolate(ctx_r0.StatusMessage));
33
+ } }
34
+ function ClaimRedeemComponent_Conditional_3_Conditional_8_Template(rf, ctx) { if (rf & 1) {
35
+ const _r3 = i0.ɵɵgetCurrentView();
36
+ i0.ɵɵelementStart(0, "button", 13);
37
+ i0.ɵɵlistener("click", function ClaimRedeemComponent_Conditional_3_Conditional_8_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r3); const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.onRetry()); });
38
+ i0.ɵɵelement(1, "i", 14);
39
+ i0.ɵɵtext(2, " Try Again ");
40
+ i0.ɵɵelementEnd();
41
+ } }
42
+ function ClaimRedeemComponent_Conditional_3_Template(rf, ctx) { if (rf & 1) {
43
+ const _r2 = i0.ɵɵgetCurrentView();
44
+ i0.ɵɵelementStart(0, "div", 3)(1, "div", 6);
45
+ i0.ɵɵelement(2, "i", 7);
46
+ i0.ɵɵelementEnd();
47
+ i0.ɵɵelementStart(3, "h2");
48
+ i0.ɵɵtext(4);
49
+ i0.ɵɵelementEnd();
50
+ i0.ɵɵelementStart(5, "p", 8);
51
+ i0.ɵɵtext(6);
52
+ i0.ɵɵelementEnd();
53
+ i0.ɵɵelementStart(7, "div", 9);
54
+ i0.ɵɵconditionalCreate(8, ClaimRedeemComponent_Conditional_3_Conditional_8_Template, 3, 0, "button", 10);
55
+ i0.ɵɵelementStart(9, "button", 11);
56
+ i0.ɵɵlistener("click", function ClaimRedeemComponent_Conditional_3_Template_button_click_9_listener() { i0.ɵɵrestoreView(_r2); const ctx_r0 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r0.onGoToApp()); });
57
+ i0.ɵɵelement(10, "i", 12);
58
+ i0.ɵɵtext(11);
59
+ i0.ɵɵelementEnd()()();
60
+ } if (rf & 2) {
61
+ const ctx_r0 = i0.ɵɵnextContext();
62
+ i0.ɵɵadvance(4);
63
+ i0.ɵɵtextInterpolate(ctx_r0.NeedsSignIn ? "Sign In Required" : "Claim Not Redeemed");
64
+ i0.ɵɵadvance(2);
65
+ i0.ɵɵtextInterpolate(ctx_r0.ErrorMessage);
66
+ i0.ɵɵadvance(2);
67
+ i0.ɵɵconditional(!ctx_r0.NeedsSignIn ? 8 : -1);
68
+ i0.ɵɵadvance();
69
+ i0.ɵɵproperty("variant", ctx_r0.NeedsSignIn ? "primary" : "outline");
70
+ i0.ɵɵadvance(2);
71
+ i0.ɵɵtextInterpolate1(" ", ctx_r0.NeedsSignIn ? "Go to Sign In" : "Open the App", " ");
72
+ } }
73
+ function ClaimRedeemComponent_Conditional_4_Template(rf, ctx) { if (rf & 1) {
74
+ const _r4 = i0.ɵɵgetCurrentView();
75
+ i0.ɵɵelementStart(0, "div", 4)(1, "div", 15);
76
+ i0.ɵɵelement(2, "i", 16);
77
+ i0.ɵɵelementEnd();
78
+ i0.ɵɵelementStart(3, "h2");
79
+ i0.ɵɵtext(4, "Claim Redeemed");
80
+ i0.ɵɵelementEnd();
81
+ i0.ɵɵelementStart(5, "p");
82
+ i0.ɵɵtext(6);
83
+ i0.ɵɵelementEnd();
84
+ i0.ɵɵelementStart(7, "div", 9)(8, "button", 17);
85
+ i0.ɵɵlistener("click", function ClaimRedeemComponent_Conditional_4_Template_button_click_8_listener() { i0.ɵɵrestoreView(_r4); const ctx_r0 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r0.onGoToApp()); });
86
+ i0.ɵɵelement(9, "i", 18);
87
+ i0.ɵɵtext(10, " Open the App ");
88
+ i0.ɵɵelementEnd()()();
89
+ } if (rf & 2) {
90
+ const ctx_r0 = i0.ɵɵnextContext();
91
+ i0.ɵɵadvance(6);
92
+ i0.ɵɵtextInterpolate(ctx_r0.StatusMessage);
93
+ } }
94
+ /** Maximum time to wait for session restoration (30 seconds) */
95
+ const MAX_WAIT_TIME_MS = 30000;
96
+ /** Polling interval for checking provider readiness (500ms) */
97
+ const POLL_INTERVAL_MS = 500;
98
+ const REDEEM_MUTATION = `
99
+ mutation RedeemIdentityClaim($ClaimID: String!, $Token: String) {
100
+ RedeemIdentityClaim(ClaimID: $ClaimID, Token: $Token) {
101
+ Success
102
+ ErrorMessage
103
+ ClaimID
104
+ Data
105
+ }
106
+ }
107
+ `;
108
+ export class ClaimRedeemComponent extends BaseAngularComponent {
109
+ route;
110
+ router;
111
+ cdr;
112
+ /** Loading state while restoring the session / redeeming */
113
+ IsLoading = true;
114
+ /** Terminal error state */
115
+ HasError = false;
116
+ /** Error message to display */
117
+ ErrorMessage = '';
118
+ /** True when the wait for authentication timed out (user likely not signed in) */
119
+ NeedsSignIn = false;
120
+ /** Status message shown during processing */
121
+ StatusMessage = 'Restoring session...';
122
+ /** Timer for polling provider readiness */
123
+ pollTimer = null;
124
+ /** Flag to prevent double processing */
125
+ isProcessing = false;
126
+ constructor(route, router, cdr) {
127
+ super();
128
+ this.route = route;
129
+ this.router = router;
130
+ this.cdr = cdr;
131
+ }
132
+ async ngOnInit() {
133
+ await this.waitForProviderAndRedeem();
134
+ }
135
+ ngOnDestroy() {
136
+ if (this.pollTimer) {
137
+ clearInterval(this.pollTimer);
138
+ this.pollTimer = null;
139
+ }
140
+ }
141
+ /**
142
+ * Waits for the GraphQL provider to be initialized (indicating auth is complete),
143
+ * then redeems the claim from the query params.
144
+ */
145
+ async waitForProviderAndRedeem() {
146
+ const startTime = Date.now();
147
+ if (this.isProviderReady()) {
148
+ await this.safeRedeem();
149
+ return;
150
+ }
151
+ this.StatusMessage = 'Waiting for sign-in...';
152
+ this.cdr.detectChanges();
153
+ return new Promise((resolve) => {
154
+ this.pollTimer = setInterval(async () => {
155
+ const elapsed = Date.now() - startTime;
156
+ if (this.isProviderReady()) {
157
+ if (this.pollTimer) {
158
+ clearInterval(this.pollTimer);
159
+ this.pollTimer = null;
160
+ }
161
+ await this.safeRedeem();
162
+ resolve();
163
+ return;
164
+ }
165
+ if (elapsed >= MAX_WAIT_TIME_MS) {
166
+ if (this.pollTimer) {
167
+ clearInterval(this.pollTimer);
168
+ this.pollTimer = null;
169
+ }
170
+ this.NeedsSignIn = true;
171
+ this.showError('Please sign in first, then open the link from your email again — the claim will attach to your signed-in account.');
172
+ resolve();
173
+ return;
174
+ }
175
+ const secondsRemaining = Math.ceil((MAX_WAIT_TIME_MS - elapsed) / 1000);
176
+ this.StatusMessage = `Waiting for sign-in... (${secondsRemaining}s)`;
177
+ this.cdr.detectChanges();
178
+ }, POLL_INTERVAL_MS);
179
+ });
180
+ }
181
+ /** Checks if the GraphQL provider is initialized with a valid token */
182
+ isProviderReady() {
183
+ try {
184
+ const provider = this.ProviderToUse;
185
+ if (!provider) {
186
+ return false;
187
+ }
188
+ const configData = provider.ConfigData;
189
+ return Boolean(configData && configData.Token && configData.URL);
190
+ }
191
+ catch {
192
+ return false;
193
+ }
194
+ }
195
+ /** Redeems exactly once, converting any throw into the error state */
196
+ async safeRedeem() {
197
+ if (this.isProcessing) {
198
+ return;
199
+ }
200
+ this.isProcessing = true;
201
+ try {
202
+ await this.redeemClaim();
203
+ }
204
+ catch (error) {
205
+ console.error('[Claim Redeem] Error redeeming claim:', error);
206
+ this.showError(error instanceof Error ? error.message : String(error));
207
+ }
208
+ }
209
+ /** Reads the query params and calls the redemption mutation */
210
+ async redeemClaim() {
211
+ const params = this.route.snapshot.queryParams;
212
+ const claimId = params['id'];
213
+ const token = params['token'];
214
+ if (!claimId) {
215
+ this.showError('This link is missing its claim id. Please use the exact link from your email.');
216
+ return;
217
+ }
218
+ this.StatusMessage = 'Redeeming your claim...';
219
+ this.cdr.detectChanges();
220
+ const provider = this.ProviderToUse;
221
+ const result = (await provider.ExecuteGQL(REDEEM_MUTATION, {
222
+ ClaimID: claimId,
223
+ Token: token ?? null
224
+ }));
225
+ const outcome = result?.RedeemIdentityClaim;
226
+ if (outcome?.Success) {
227
+ this.IsLoading = false;
228
+ this.StatusMessage = 'Your claim has been redeemed and attached to your account.';
229
+ this.cdr.detectChanges();
230
+ }
231
+ else {
232
+ this.showError(outcome?.ErrorMessage || 'The claim could not be redeemed.');
233
+ }
234
+ }
235
+ /** Shows the terminal error state */
236
+ showError(message) {
237
+ this.IsLoading = false;
238
+ this.HasError = true;
239
+ this.ErrorMessage = message;
240
+ this.cdr.detectChanges();
241
+ }
242
+ /** Navigates into the app shell (which handles sign-in when needed) */
243
+ onGoToApp() {
244
+ this.router.navigateByUrl('/');
245
+ }
246
+ /** Retries redemption from scratch (fresh component state) */
247
+ onRetry() {
248
+ this.IsLoading = true;
249
+ this.HasError = false;
250
+ this.NeedsSignIn = false;
251
+ this.ErrorMessage = '';
252
+ this.isProcessing = false;
253
+ void this.waitForProviderAndRedeem();
254
+ }
255
+ static ɵfac = function ClaimRedeemComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ClaimRedeemComponent)(i0.ɵɵdirectiveInject(i1.ActivatedRoute), i0.ɵɵdirectiveInject(i1.Router), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
256
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ClaimRedeemComponent, selectors: [["mj-claim-redeem"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 5, vars: 3, consts: [[1, "claim-redeem-container"], [1, "claim-redeem-card"], [1, "claim-status", "loading"], [1, "claim-status", "error"], [1, "claim-status", "success"], [3, "text"], [1, "icon-container", "error-icon"], [1, "fa-solid", "fa-circle-exclamation"], [1, "error-message"], [1, "button-group"], ["mjButton", "", "variant", "secondary"], ["mjButton", "", 3, "click", "variant"], [1, "fa-solid", "fa-arrow-right-to-bracket"], ["mjButton", "", "variant", "secondary", 3, "click"], [1, "fa-solid", "fa-rotate-right"], [1, "icon-container", "success-icon"], [1, "fa-solid", "fa-circle-check"], ["mjButton", "", "variant", "primary", 3, "click"], [1, "fa-solid", "fa-house"]], template: function ClaimRedeemComponent_Template(rf, ctx) { if (rf & 1) {
257
+ i0.ɵɵelementStart(0, "div", 0)(1, "div", 1);
258
+ i0.ɵɵconditionalCreate(2, ClaimRedeemComponent_Conditional_2_Template, 2, 2, "div", 2);
259
+ i0.ɵɵconditionalCreate(3, ClaimRedeemComponent_Conditional_3_Template, 12, 5, "div", 3);
260
+ i0.ɵɵconditionalCreate(4, ClaimRedeemComponent_Conditional_4_Template, 11, 1, "div", 4);
261
+ i0.ɵɵelementEnd()();
262
+ } if (rf & 2) {
263
+ i0.ɵɵadvance(2);
264
+ i0.ɵɵconditional(ctx.IsLoading ? 2 : -1);
265
+ i0.ɵɵadvance();
266
+ i0.ɵɵconditional(ctx.HasError ? 3 : -1);
267
+ i0.ɵɵadvance();
268
+ i0.ɵɵconditional(!ctx.IsLoading && !ctx.HasError ? 4 : -1);
269
+ } }, dependencies: [i2.LoadingComponent, i3.MJButtonDirective], styles: [".claim-redeem-container[_ngcontent-%COMP%] {\n display: flex;\n justify-content: center;\n align-items: center;\n min-height: 100vh;\n background: var(--mj-brand-primary);\n padding: 1rem;\n}\n\n.claim-redeem-card[_ngcontent-%COMP%] {\n background: var(--mj-bg-surface);\n padding: 3rem;\n border-radius: 1rem;\n box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);\n text-align: center;\n max-width: 450px;\n width: 100%;\n}\n\n.claim-status[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 1rem;\n}\n\n.claim-status[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] {\n margin: 0;\n font-size: 1.5rem;\n font-weight: 600;\n color: var(--mj-text-primary);\n}\n\n.claim-status[_ngcontent-%COMP%] p[_ngcontent-%COMP%] {\n margin: 0;\n color: var(--mj-text-muted);\n line-height: 1.6;\n}\n\n.icon-container[_ngcontent-%COMP%] {\n font-size: 3rem;\n}\n\n.success-icon[_ngcontent-%COMP%] {\n color: var(--mj-status-success);\n}\n\n.error-icon[_ngcontent-%COMP%] {\n color: var(--mj-status-error);\n}\n\n.error-message[_ngcontent-%COMP%] {\n color: var(--mj-text-secondary);\n}\n\n.button-group[_ngcontent-%COMP%] {\n display: flex;\n gap: 0.75rem;\n margin-top: 0.5rem;\n flex-wrap: wrap;\n justify-content: center;\n}"] });
270
+ }
271
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ClaimRedeemComponent, [{
272
+ type: Component,
273
+ args: [{ standalone: false, selector: 'mj-claim-redeem', template: "<div class=\"claim-redeem-container\">\n <div class=\"claim-redeem-card\">\n <!-- Loading State -->\n @if (IsLoading) {\n <div class=\"claim-status loading\">\n <mj-loading text=\"{{ StatusMessage }}\"></mj-loading>\n </div>\n }\n\n <!-- Error State -->\n @if (HasError) {\n <div class=\"claim-status error\">\n <div class=\"icon-container error-icon\">\n <i class=\"fa-solid fa-circle-exclamation\"></i>\n </div>\n <h2>{{ NeedsSignIn ? 'Sign In Required' : 'Claim Not Redeemed' }}</h2>\n <p class=\"error-message\">{{ ErrorMessage }}</p>\n <div class=\"button-group\">\n @if (!NeedsSignIn) {\n <button mjButton variant=\"secondary\" (click)=\"onRetry()\">\n <i class=\"fa-solid fa-rotate-right\"></i>\n Try Again\n </button>\n }\n <button mjButton [variant]=\"NeedsSignIn ? 'primary' : 'outline'\" (click)=\"onGoToApp()\">\n <i class=\"fa-solid fa-arrow-right-to-bracket\"></i>\n {{ NeedsSignIn ? 'Go to Sign In' : 'Open the App' }}\n </button>\n </div>\n </div>\n }\n\n <!-- Success State -->\n @if (!IsLoading && !HasError) {\n <div class=\"claim-status success\">\n <div class=\"icon-container success-icon\">\n <i class=\"fa-solid fa-circle-check\"></i>\n </div>\n <h2>Claim Redeemed</h2>\n <p>{{ StatusMessage }}</p>\n <div class=\"button-group\">\n <button mjButton variant=\"primary\" (click)=\"onGoToApp()\">\n <i class=\"fa-solid fa-house\"></i>\n Open the App\n </button>\n </div>\n </div>\n }\n </div>\n</div>\n", styles: [".claim-redeem-container {\n display: flex;\n justify-content: center;\n align-items: center;\n min-height: 100vh;\n background: var(--mj-brand-primary);\n padding: 1rem;\n}\n\n.claim-redeem-card {\n background: var(--mj-bg-surface);\n padding: 3rem;\n border-radius: 1rem;\n box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);\n text-align: center;\n max-width: 450px;\n width: 100%;\n}\n\n.claim-status {\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 1rem;\n}\n\n.claim-status h2 {\n margin: 0;\n font-size: 1.5rem;\n font-weight: 600;\n color: var(--mj-text-primary);\n}\n\n.claim-status p {\n margin: 0;\n color: var(--mj-text-muted);\n line-height: 1.6;\n}\n\n.icon-container {\n font-size: 3rem;\n}\n\n.success-icon {\n color: var(--mj-status-success);\n}\n\n.error-icon {\n color: var(--mj-status-error);\n}\n\n.error-message {\n color: var(--mj-text-secondary);\n}\n\n.button-group {\n display: flex;\n gap: 0.75rem;\n margin-top: 0.5rem;\n flex-wrap: wrap;\n justify-content: center;\n}\n"] }]
274
+ }], () => [{ type: i1.ActivatedRoute }, { type: i1.Router }, { type: i0.ChangeDetectorRef }], null); })();
275
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ClaimRedeemComponent, { className: "ClaimRedeemComponent", filePath: "src/lib/identity-claims/claim-redeem.component.ts", lineNumber: 56 }); })();
276
+ //# sourceMappingURL=claim-redeem.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"claim-redeem.component.js","sourceRoot":"","sources":["../../../src/lib/identity-claims/claim-redeem.component.ts","../../../src/lib/identity-claims/claim-redeem.component.html"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,EAAE,SAAS,EAAwC,MAAM,eAAe,CAAC;AAGhF,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;;;;;;IClBzD,8BAAkC;IAC9B,gCAAoD;IACxD,iBAAM;;;IADU,cAA0B;IAA1B,sBAAA,sCAA0B,CAAA;;;;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OAAO,EAAE,YAAY,IAAI,kCAAkC,CAAC,CAAC;QAChF,CAAC;IACL,CAAC;IAED,qCAAqC;IAC7B,SAAS,CAAC,OAAe;QAC7B,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC;QACvB,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC;QACrB,IAAI,CAAC,YAAY,GAAG,OAAO,CAAC;QAC5B,IAAI,CAAC,GAAG,CAAC,aAAa,EAAE,CAAC;IAC7B,CAAC;IAED,uEAAuE;IAChE,SAAS;QACZ,IAAI,CAAC,MAAM,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC;IACnC,CAAC;IAED,8DAA8D;IACvD,OAAO;QACV,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC;QACtB,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;QACtB,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC;QACzB,IAAI,CAAC,YAAY,GAAG,EAAE,CAAC;QACvB,IAAI,CAAC,YAAY,GAAG,KAAK,CAAC;QAC1B,KAAK,IAAI,CAAC,wBAAwB,EAAE,CAAC;IACzC,CAAC;8GAxKQ,oBAAoB;6DAApB,oBAAoB;YCtD7B,AADJ,8BAAoC,aACD;YAE3B,sFAAiB;YAOjB,uFAAgB;YAuBhB,uFAA+B;YAgBvC,AADI,iBAAM,EACJ;;YA9CE,eAIC;YAJD,wCAIC;YAGD,cAoBC;YApBD,uCAoBC;YAGD,cAcC;YAdD,0DAcC;;;iFDQI,oBAAoB;cANhC,SAAS;6BACM,KAAK,YACP,iBAAiB;;kFAIlB,oBAAoB","sourcesContent":["/**\n * @fileoverview Identity Claim Redemption Page\n *\n * Landing page for the links in identity-claim emails\n * (`${PORTAL_BASE_URL}/claims/redeem?id=<claimId>&token=<rawToken>`). When a recipient\n * clicks through, this component:\n * 1. Waits for the user's session to be restored (same posture as the OAuth callback —\n * no AuthGuard; the component handles the not-yet-authenticated case itself)\n * 2. Extracts the claim id and optional verification token from the query params\n * 3. Calls the `RedeemIdentityClaim` GraphQL mutation, which runs the server engine's full\n * gate (email match subject to verification rules, or timing-safe token match, atomic CAS)\n * 4. Shows the outcome and offers navigation back into the app\n *\n * Like the OAuth callback, this is a deliberate exception to the NavigationService-only rule:\n * it is registered directly in the routing module and reads its own query params.\n *\n * @module IdentityClaims\n */\n\nimport { Component, OnDestroy, OnInit, ChangeDetectorRef } from '@angular/core';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { GraphQLDataProvider } from '@memberjunction/graphql-dataprovider';\nimport { BaseAngularComponent } from '@memberjunction/ng-base-types';\n\ninterface RedeemIdentityClaimResponse {\n RedeemIdentityClaim?: {\n Success: boolean;\n ErrorMessage?: string;\n ClaimID?: string;\n Data?: string;\n };\n}\n\n/** Maximum time to wait for session restoration (30 seconds) */\nconst MAX_WAIT_TIME_MS = 30000;\n/** Polling interval for checking provider readiness (500ms) */\nconst POLL_INTERVAL_MS = 500;\n\nconst REDEEM_MUTATION = `\n mutation RedeemIdentityClaim($ClaimID: String!, $Token: String) {\n RedeemIdentityClaim(ClaimID: $ClaimID, Token: $Token) {\n Success\n ErrorMessage\n ClaimID\n Data\n }\n }\n`;\n\n@Component({\n standalone: false,\n selector: 'mj-claim-redeem',\n templateUrl: './claim-redeem.component.html',\n styleUrls: ['./claim-redeem.component.css']\n})\nexport class ClaimRedeemComponent extends BaseAngularComponent implements OnInit, OnDestroy {\n /** Loading state while restoring the session / redeeming */\n public IsLoading = true;\n\n /** Terminal error state */\n public HasError = false;\n\n /** Error message to display */\n public ErrorMessage = '';\n\n /** True when the wait for authentication timed out (user likely not signed in) */\n public NeedsSignIn = false;\n\n /** Status message shown during processing */\n public StatusMessage = 'Restoring session...';\n\n /** Timer for polling provider readiness */\n private pollTimer: ReturnType<typeof setInterval> | null = null;\n\n /** Flag to prevent double processing */\n private isProcessing = false;\n\n constructor(\n private route: ActivatedRoute,\n private router: Router,\n private cdr: ChangeDetectorRef\n ) {\n super();\n }\n\n async ngOnInit(): Promise<void> {\n await this.waitForProviderAndRedeem();\n }\n\n ngOnDestroy(): void {\n if (this.pollTimer) {\n clearInterval(this.pollTimer);\n this.pollTimer = null;\n }\n }\n\n /**\n * Waits for the GraphQL provider to be initialized (indicating auth is complete),\n * then redeems the claim from the query params.\n */\n private async waitForProviderAndRedeem(): Promise<void> {\n const startTime = Date.now();\n\n if (this.isProviderReady()) {\n await this.safeRedeem();\n return;\n }\n\n this.StatusMessage = 'Waiting for sign-in...';\n this.cdr.detectChanges();\n\n return new Promise<void>((resolve) => {\n this.pollTimer = setInterval(async () => {\n const elapsed = Date.now() - startTime;\n\n if (this.isProviderReady()) {\n if (this.pollTimer) {\n clearInterval(this.pollTimer);\n this.pollTimer = null;\n }\n await this.safeRedeem();\n resolve();\n return;\n }\n\n if (elapsed >= MAX_WAIT_TIME_MS) {\n if (this.pollTimer) {\n clearInterval(this.pollTimer);\n this.pollTimer = null;\n }\n this.NeedsSignIn = true;\n this.showError('Please sign in first, then open the link from your email again — the claim will attach to your signed-in account.');\n resolve();\n return;\n }\n\n const secondsRemaining = Math.ceil((MAX_WAIT_TIME_MS - elapsed) / 1000);\n this.StatusMessage = `Waiting for sign-in... (${secondsRemaining}s)`;\n this.cdr.detectChanges();\n }, POLL_INTERVAL_MS);\n });\n }\n\n /** Checks if the GraphQL provider is initialized with a valid token */\n private isProviderReady(): boolean {\n try {\n const provider = this.ProviderToUse as GraphQLDataProvider;\n if (!provider) {\n return false;\n }\n const configData = provider.ConfigData;\n return Boolean(configData && configData.Token && configData.URL);\n } catch {\n return false;\n }\n }\n\n /** Redeems exactly once, converting any throw into the error state */\n private async safeRedeem(): Promise<void> {\n if (this.isProcessing) {\n return;\n }\n this.isProcessing = true;\n\n try {\n await this.redeemClaim();\n } catch (error) {\n console.error('[Claim Redeem] Error redeeming claim:', error);\n this.showError(error instanceof Error ? error.message : String(error));\n }\n }\n\n /** Reads the query params and calls the redemption mutation */\n private async redeemClaim(): Promise<void> {\n const params = this.route.snapshot.queryParams;\n const claimId = params['id'] as string | undefined;\n const token = params['token'] as string | undefined;\n\n if (!claimId) {\n this.showError('This link is missing its claim id. Please use the exact link from your email.');\n return;\n }\n\n this.StatusMessage = 'Redeeming your claim...';\n this.cdr.detectChanges();\n\n const provider = this.ProviderToUse as GraphQLDataProvider;\n const result = (await provider.ExecuteGQL(REDEEM_MUTATION, {\n ClaimID: claimId,\n Token: token ?? null\n })) as RedeemIdentityClaimResponse;\n\n const outcome = result?.RedeemIdentityClaim;\n if (outcome?.Success) {\n this.IsLoading = false;\n this.StatusMessage = 'Your claim has been redeemed and attached to your account.';\n this.cdr.detectChanges();\n } else {\n this.showError(outcome?.ErrorMessage || 'The claim could not be redeemed.');\n }\n }\n\n /** Shows the terminal error state */\n private showError(message: string): void {\n this.IsLoading = false;\n this.HasError = true;\n this.ErrorMessage = message;\n this.cdr.detectChanges();\n }\n\n /** Navigates into the app shell (which handles sign-in when needed) */\n public onGoToApp(): void {\n this.router.navigateByUrl('/');\n }\n\n /** Retries redemption from scratch (fresh component state) */\n public onRetry(): void {\n this.IsLoading = true;\n this.HasError = false;\n this.NeedsSignIn = false;\n this.ErrorMessage = '';\n this.isProcessing = false;\n void this.waitForProviderAndRedeem();\n }\n}\n","<div class=\"claim-redeem-container\">\n <div class=\"claim-redeem-card\">\n <!-- Loading State -->\n @if (IsLoading) {\n <div class=\"claim-status loading\">\n <mj-loading text=\"{{ StatusMessage }}\"></mj-loading>\n </div>\n }\n\n <!-- Error State -->\n @if (HasError) {\n <div class=\"claim-status error\">\n <div class=\"icon-container error-icon\">\n <i class=\"fa-solid fa-circle-exclamation\"></i>\n </div>\n <h2>{{ NeedsSignIn ? 'Sign In Required' : 'Claim Not Redeemed' }}</h2>\n <p class=\"error-message\">{{ ErrorMessage }}</p>\n <div class=\"button-group\">\n @if (!NeedsSignIn) {\n <button mjButton variant=\"secondary\" (click)=\"onRetry()\">\n <i class=\"fa-solid fa-rotate-right\"></i>\n Try Again\n </button>\n }\n <button mjButton [variant]=\"NeedsSignIn ? 'primary' : 'outline'\" (click)=\"onGoToApp()\">\n <i class=\"fa-solid fa-arrow-right-to-bracket\"></i>\n {{ NeedsSignIn ? 'Go to Sign In' : 'Open the App' }}\n </button>\n </div>\n </div>\n }\n\n <!-- Success State -->\n @if (!IsLoading && !HasError) {\n <div class=\"claim-status success\">\n <div class=\"icon-container success-icon\">\n <i class=\"fa-solid fa-circle-check\"></i>\n </div>\n <h2>Claim Redeemed</h2>\n <p>{{ StatusMessage }}</p>\n <div class=\"button-group\">\n <button mjButton variant=\"primary\" (click)=\"onGoToApp()\">\n <i class=\"fa-solid fa-house\"></i>\n Open the App\n </button>\n </div>\n </div>\n }\n </div>\n</div>\n"]}
package/dist/module.d.ts CHANGED
@@ -1,65 +1,66 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./lib/oauth/oauth-callback.component";
3
- import * as i2 from "./lib/generic/resource-container-component";
4
- import * as i3 from "./lib/resource-wrappers/dashboard-resource.component";
5
- import * as i4 from "./lib/resource-wrappers/record-resource.component";
6
- import * as i5 from "./lib/resource-wrappers/search-results-resource.component";
7
- import * as i6 from "./lib/resource-wrappers/view-resource.component";
8
- import * as i7 from "./lib/single-record/single-record.component";
9
- import * as i8 from "./lib/single-search-result/single-search-result.component";
10
- import * as i9 from "./lib/single-query/single-query.component";
11
- import * as i10 from "./lib/user-profile/user-profile.component";
12
- import * as i11 from "./lib/single-dashboard/single-dashboard.component";
13
- import * as i12 from "./lib/single-dashboard/Components/add-item/add-item.component";
14
- import * as i13 from "./lib/single-dashboard/Components/delete-item/delete-item.component";
15
- import * as i14 from "./lib/single-dashboard/Components/edit-dashboard/edit-dashboard.component";
16
- import * as i15 from "./lib/user-notifications/user-notifications.component";
17
- import * as i16 from "./lib/resource-wrappers/query-resource.component";
18
- import * as i17 from "./lib/single-list-detail/single-list-detail.component";
19
- import * as i18 from "./lib/resource-wrappers/list-detail-resource.component";
20
- import * as i19 from "./lib/resource-wrappers/chat-conversations-resource.component";
21
- import * as i20 from "./lib/resource-wrappers/chat-collections-resource.component";
22
- import * as i21 from "./lib/resource-wrappers/chat-tasks-resource.component";
23
- import * as i22 from "./lib/resource-wrappers/artifact-resource.component";
24
- import * as i23 from "./lib/resource-wrappers/notifications-resource.component";
25
- import * as i24 from "./lib/dashboard-preferences-dialog/dashboard-preferences-dialog.component";
26
- import * as i25 from "./lib/conversation-feedback/conversation-feedback";
27
- import * as i26 from "./lib/resource-wrappers/livekit-room-resource.component";
28
- import * as i27 from "@memberjunction/ng-markdown";
29
- import * as i28 from "./app-routing.module";
30
- import * as i29 from "@angular/common";
31
- import * as i30 from "@angular/forms";
32
- import * as i31 from "@angular/router";
33
- import * as i32 from "@memberjunction/ng-export-service";
34
- import * as i33 from "@memberjunction/ng-record-changes";
35
- import * as i34 from "@memberjunction/ng-container-directives";
36
- import * as i35 from "@memberjunction/ng-base-forms";
37
- import * as i36 from "@memberjunction/ng-query-viewer";
38
- import * as i37 from "@memberjunction/ng-shared";
39
- import * as i38 from "@memberjunction/ng-conversations";
40
- import * as i39 from "@memberjunction/ng-dashboards/core-dashboards.module";
41
- import * as i40 from "@memberjunction/ng-dashboard-viewer";
42
- import * as i41 from "@memberjunction/ng-explorer-settings";
43
- import * as i42 from "@memberjunction/ng-file-storage";
44
- import * as i43 from "@memberjunction/ng-entity-form-dialog";
45
- import * as i44 from "@memberjunction/ng-record-selector";
46
- import * as i45 from "@memberjunction/ng-resource-permissions";
47
- import * as i46 from "@memberjunction/ng-generic-dialog";
48
- import * as i47 from "@memberjunction/ng-ui-components";
49
- import * as i48 from "@angular/cdk/drag-drop";
50
- import * as i49 from "@memberjunction/ng-ai-test-harness";
51
- import * as i50 from "@memberjunction/ng-artifacts";
52
- import * as i51 from "@memberjunction/ng-shared-generic";
53
- import * as i52 from "@memberjunction/ng-entity-viewer";
54
- import * as i53 from "@memberjunction/ng-list-detail-grid";
55
- import * as i54 from "@memberjunction/ng-list-management";
56
- import * as i55 from "@memberjunction/ng-search";
57
- import * as i56 from "@memberjunction/ng-word-cloud";
58
- import * as i57 from "@memberjunction/ng-pagination";
59
- import * as i58 from "@memberjunction/ng-mj-livekit-room";
3
+ import * as i2 from "./lib/identity-claims/claim-redeem.component";
4
+ import * as i3 from "./lib/generic/resource-container-component";
5
+ import * as i4 from "./lib/resource-wrappers/dashboard-resource.component";
6
+ import * as i5 from "./lib/resource-wrappers/record-resource.component";
7
+ import * as i6 from "./lib/resource-wrappers/search-results-resource.component";
8
+ import * as i7 from "./lib/resource-wrappers/view-resource.component";
9
+ import * as i8 from "./lib/single-record/single-record.component";
10
+ import * as i9 from "./lib/single-search-result/single-search-result.component";
11
+ import * as i10 from "./lib/single-query/single-query.component";
12
+ import * as i11 from "./lib/user-profile/user-profile.component";
13
+ import * as i12 from "./lib/single-dashboard/single-dashboard.component";
14
+ import * as i13 from "./lib/single-dashboard/Components/add-item/add-item.component";
15
+ import * as i14 from "./lib/single-dashboard/Components/delete-item/delete-item.component";
16
+ import * as i15 from "./lib/single-dashboard/Components/edit-dashboard/edit-dashboard.component";
17
+ import * as i16 from "./lib/user-notifications/user-notifications.component";
18
+ import * as i17 from "./lib/resource-wrappers/query-resource.component";
19
+ import * as i18 from "./lib/single-list-detail/single-list-detail.component";
20
+ import * as i19 from "./lib/resource-wrappers/list-detail-resource.component";
21
+ import * as i20 from "./lib/resource-wrappers/chat-conversations-resource.component";
22
+ import * as i21 from "./lib/resource-wrappers/chat-collections-resource.component";
23
+ import * as i22 from "./lib/resource-wrappers/chat-tasks-resource.component";
24
+ import * as i23 from "./lib/resource-wrappers/artifact-resource.component";
25
+ import * as i24 from "./lib/resource-wrappers/notifications-resource.component";
26
+ import * as i25 from "./lib/dashboard-preferences-dialog/dashboard-preferences-dialog.component";
27
+ import * as i26 from "./lib/conversation-feedback/conversation-feedback";
28
+ import * as i27 from "./lib/resource-wrappers/livekit-room-resource.component";
29
+ import * as i28 from "@memberjunction/ng-markdown";
30
+ import * as i29 from "./app-routing.module";
31
+ import * as i30 from "@angular/common";
32
+ import * as i31 from "@angular/forms";
33
+ import * as i32 from "@angular/router";
34
+ import * as i33 from "@memberjunction/ng-export-service";
35
+ import * as i34 from "@memberjunction/ng-record-changes";
36
+ import * as i35 from "@memberjunction/ng-container-directives";
37
+ import * as i36 from "@memberjunction/ng-base-forms";
38
+ import * as i37 from "@memberjunction/ng-query-viewer";
39
+ import * as i38 from "@memberjunction/ng-shared";
40
+ import * as i39 from "@memberjunction/ng-conversations";
41
+ import * as i40 from "@memberjunction/ng-dashboards/core-dashboards.module";
42
+ import * as i41 from "@memberjunction/ng-dashboard-viewer";
43
+ import * as i42 from "@memberjunction/ng-explorer-settings";
44
+ import * as i43 from "@memberjunction/ng-file-storage";
45
+ import * as i44 from "@memberjunction/ng-entity-form-dialog";
46
+ import * as i45 from "@memberjunction/ng-record-selector";
47
+ import * as i46 from "@memberjunction/ng-resource-permissions";
48
+ import * as i47 from "@memberjunction/ng-generic-dialog";
49
+ import * as i48 from "@memberjunction/ng-ui-components";
50
+ import * as i49 from "@angular/cdk/drag-drop";
51
+ import * as i50 from "@memberjunction/ng-ai-test-harness";
52
+ import * as i51 from "@memberjunction/ng-artifacts";
53
+ import * as i52 from "@memberjunction/ng-shared-generic";
54
+ import * as i53 from "@memberjunction/ng-entity-viewer";
55
+ import * as i54 from "@memberjunction/ng-list-detail-grid";
56
+ import * as i55 from "@memberjunction/ng-list-management";
57
+ import * as i56 from "@memberjunction/ng-search";
58
+ import * as i57 from "@memberjunction/ng-word-cloud";
59
+ import * as i58 from "@memberjunction/ng-pagination";
60
+ import * as i59 from "@memberjunction/ng-mj-livekit-room";
60
61
  export declare class ExplorerCoreModule {
61
62
  static ɵfac: i0.ɵɵFactoryDeclaration<ExplorerCoreModule, never>;
62
- static ɵmod: i0.ɵɵNgModuleDeclaration<ExplorerCoreModule, [typeof i1.OAuthCallbackComponent, typeof i2.ResourceContainerComponent, typeof i3.DashboardResource, typeof i4.EntityRecordResource, typeof i5.SearchResultsResource, typeof i6.UserViewResource, typeof i7.SingleRecordComponent, typeof i8.SingleSearchResultComponent, typeof i9.SingleQueryComponent, typeof i10.UserProfileComponent, typeof i11.SingleDashboardComponent, typeof i12.AddItemComponent, typeof i13.DeleteItemComponent, typeof i14.EditDashboardComponent, typeof i15.UserNotificationsComponent, typeof i16.QueryResource, typeof i17.SingleListDetailComponent, typeof i18.ListDetailResource, typeof i19.ChatConversationsResource, typeof i20.ChatCollectionsResource, typeof i21.ChatTasksResource, typeof i22.ArtifactResource, typeof i23.NotificationsResource, typeof i24.DashboardPreferencesDialogComponent, typeof i25.ConversationFeedbackResource, typeof i26.LiveKitRoomResource], [typeof i27.MarkdownModule, typeof i28.AppRoutingModule, typeof i29.CommonModule, typeof i30.FormsModule, typeof i30.ReactiveFormsModule, typeof i31.RouterModule, typeof i32.ExportServiceModule, typeof i33.RecordChangesModule, typeof i34.ContainerDirectivesModule, typeof i35.BaseFormsModule, typeof i36.QueryViewerModule, typeof i37.MemberJunctionSharedModule, typeof i38.ConversationsModule, typeof i39.CoreDashboardsModule, typeof i40.DashboardViewerModule, typeof i41.ExplorerSettingsModule, typeof i42.FileStorageModule, typeof i43.EntityFormDialogModule, typeof i44.RecordSelectorModule, typeof i45.ResourcePermissionsModule, typeof i46.GenericDialogModule, typeof i47.MJProgressBarComponent, typeof i48.DragDropModule, typeof i49.AITestHarnessModule, typeof i50.ArtifactsModule, typeof i51.SharedGenericModule, typeof i52.EntityViewerModule, typeof i53.ListDetailGridModule, typeof i54.ListManagementModule, typeof i55.SearchModule, typeof i56.MJWordCloudComponent, typeof i47.MJButtonDirective, typeof i47.MJDialogComponent, typeof i47.MJDialogTitlebarComponent, typeof i47.MJDialogActionsComponent, typeof i47.MJDropdownComponent, typeof i47.MJWindowComponent, typeof i47.MJWindowTitlebarComponent, typeof i57.PaginationComponent, typeof i58.MJLiveKitRoomComponent, typeof i47.MJEmptyStateComponent, typeof i47.MJAlertComponent], [typeof i2.ResourceContainerComponent, typeof i3.DashboardResource, typeof i4.EntityRecordResource, typeof i5.SearchResultsResource, typeof i6.UserViewResource, typeof i7.SingleRecordComponent, typeof i8.SingleSearchResultComponent, typeof i10.UserProfileComponent, typeof i11.SingleDashboardComponent, typeof i12.AddItemComponent, typeof i13.DeleteItemComponent, typeof i14.EditDashboardComponent, typeof i15.UserNotificationsComponent, typeof i18.ListDetailResource, typeof i24.DashboardPreferencesDialogComponent, typeof i25.ConversationFeedbackResource]>;
63
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ExplorerCoreModule, [typeof i1.OAuthCallbackComponent, typeof i2.ClaimRedeemComponent, typeof i3.ResourceContainerComponent, typeof i4.DashboardResource, typeof i5.EntityRecordResource, typeof i6.SearchResultsResource, typeof i7.UserViewResource, typeof i8.SingleRecordComponent, typeof i9.SingleSearchResultComponent, typeof i10.SingleQueryComponent, typeof i11.UserProfileComponent, typeof i12.SingleDashboardComponent, typeof i13.AddItemComponent, typeof i14.DeleteItemComponent, typeof i15.EditDashboardComponent, typeof i16.UserNotificationsComponent, typeof i17.QueryResource, typeof i18.SingleListDetailComponent, typeof i19.ListDetailResource, typeof i20.ChatConversationsResource, typeof i21.ChatCollectionsResource, typeof i22.ChatTasksResource, typeof i23.ArtifactResource, typeof i24.NotificationsResource, typeof i25.DashboardPreferencesDialogComponent, typeof i26.ConversationFeedbackResource, typeof i27.LiveKitRoomResource], [typeof i28.MarkdownModule, typeof i29.AppRoutingModule, typeof i30.CommonModule, typeof i31.FormsModule, typeof i31.ReactiveFormsModule, typeof i32.RouterModule, typeof i33.ExportServiceModule, typeof i34.RecordChangesModule, typeof i35.ContainerDirectivesModule, typeof i36.BaseFormsModule, typeof i37.QueryViewerModule, typeof i38.MemberJunctionSharedModule, typeof i39.ConversationsModule, typeof i40.CoreDashboardsModule, typeof i41.DashboardViewerModule, typeof i42.ExplorerSettingsModule, typeof i43.FileStorageModule, typeof i44.EntityFormDialogModule, typeof i45.RecordSelectorModule, typeof i46.ResourcePermissionsModule, typeof i47.GenericDialogModule, typeof i48.MJProgressBarComponent, typeof i49.DragDropModule, typeof i50.AITestHarnessModule, typeof i51.ArtifactsModule, typeof i52.SharedGenericModule, typeof i53.EntityViewerModule, typeof i54.ListDetailGridModule, typeof i55.ListManagementModule, typeof i56.SearchModule, typeof i57.MJWordCloudComponent, typeof i48.MJButtonDirective, typeof i48.MJDialogComponent, typeof i48.MJDialogTitlebarComponent, typeof i48.MJDialogActionsComponent, typeof i48.MJDropdownComponent, typeof i48.MJWindowComponent, typeof i48.MJWindowTitlebarComponent, typeof i58.PaginationComponent, typeof i59.MJLiveKitRoomComponent, typeof i48.MJEmptyStateComponent, typeof i48.MJAlertComponent], [typeof i3.ResourceContainerComponent, typeof i4.DashboardResource, typeof i5.EntityRecordResource, typeof i6.SearchResultsResource, typeof i7.UserViewResource, typeof i8.SingleRecordComponent, typeof i9.SingleSearchResultComponent, typeof i11.UserProfileComponent, typeof i12.SingleDashboardComponent, typeof i13.AddItemComponent, typeof i14.DeleteItemComponent, typeof i15.EditDashboardComponent, typeof i16.UserNotificationsComponent, typeof i19.ListDetailResource, typeof i25.DashboardPreferencesDialogComponent, typeof i26.ConversationFeedbackResource]>;
63
64
  static ɵinj: i0.ɵɵInjectorDeclaration<ExplorerCoreModule>;
64
65
  }
65
66
  //# sourceMappingURL=module.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../src/module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuEA,qBAiGa,kBAAkB;yCAAlB,kBAAkB;0CAAlB,kBAAkB;0CAAlB,kBAAkB;CAAG"}
1
+ {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../src/module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwEA,qBAkGa,kBAAkB;yCAAlB,kBAAkB;0CAAlB,kBAAkB;0CAAlB,kBAAkB;CAAG"}
package/dist/module.js CHANGED
@@ -58,6 +58,7 @@ import { ChatTasksResource } from './lib/resource-wrappers/chat-tasks-resource.c
58
58
  import { ArtifactResource } from './lib/resource-wrappers/artifact-resource.component';
59
59
  import { NotificationsResource } from './lib/resource-wrappers/notifications-resource.component';
60
60
  import { OAuthCallbackComponent } from './lib/oauth/oauth-callback.component';
61
+ import { ClaimRedeemComponent } from './lib/identity-claims/claim-redeem.component';
61
62
  import { SearchModule } from '@memberjunction/ng-search';
62
63
  import { MJWordCloudComponent } from '@memberjunction/ng-word-cloud';
63
64
  import { PaginationComponent } from '@memberjunction/ng-pagination';
@@ -120,6 +121,7 @@ export class ExplorerCoreModule {
120
121
  args: [{
121
122
  declarations: [
122
123
  OAuthCallbackComponent,
124
+ ClaimRedeemComponent,
123
125
  ResourceContainerComponent,
124
126
  DashboardResource,
125
127
  EntityRecordResource,
@@ -216,6 +218,7 @@ export class ExplorerCoreModule {
216
218
  }]
217
219
  }], null, null); })();
218
220
  (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(ExplorerCoreModule, { declarations: [OAuthCallbackComponent,
221
+ ClaimRedeemComponent,
219
222
  ResourceContainerComponent,
220
223
  DashboardResource,
221
224
  EntityRecordResource,
@@ -1 +1 @@
1
- {"version":3,"file":"module.js","sourceRoot":"","sources":["../src/module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAClE,OAAO,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAEnE,WAAW;AACX,OAAO,EAAE,uBAAuB,EAAE,MAAM,0CAA0C,CAAC;AACnF,OAAO,EAAE,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;AAErF,OAAO,EAAE,mBAAmB,E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yDAAyD;QAC9E,eAAe;QACf,mBAAmB;QACnB,kBAAkB;QAClB,oBAAoB;QACpB,oBAAoB;QACpB,YAAY;QACZ,oBAAoB;QACpB,iBAAiB;QACjB,iBAAiB;QACjB,yBAAyB;QACzB,wBAAwB;QACxB,mBAAmB;QACnB,iBAAiB;QACjB,yBAAyB;QACzB,mBAAmB;QACnB,sBAAsB;QACtB,qBAAqB;QACrB,gBAAgB,aAGhB,0BAA0B;QAC1B,iBAAiB;QACjB,oBAAoB;QACpB,qBAAqB;QACrB,gBAAgB;QAChB,qBAAqB;QACrB,2BAA2B;QAC3B,oBAAoB;QACpB,wBAAwB;QACxB,gBAAgB;QAChB,mBAAmB;QACnB,sBAAsB;QACtB,0BAA0B;QAC1B,kBAAkB;QAClB,mCAAmC;QACnC,4BAA4B;uBA7E5B,wBAAwB,eAiDxB,iBAAiB;IASjB,qBAAqB,EAnErB,0BAA0B;IAU1B,gBAAgB;IAChB,mBAAmB;IACnB,sBAAsB","sourcesContent":["import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport { RouterModule, RouteReuseStrategy } from '@angular/router';\n\n// Services\nimport { SystemValidationService } from './lib/services/system-validation.service';\nimport { StartupValidationService } from './lib/services/startup-validation.service';\n\nimport { ExportServiceModule } from '@memberjunction/ng-export-service';\nimport { MJProgressBarComponent } from '@memberjunction/ng-ui-components';\nimport { DragDropModule } from '@angular/cdk/drag-drop';\n\n// MJ\nimport { MJButtonDirective, MJDialogComponent, MJDialogTitlebarComponent, MJDialogActionsComponent, MJDropdownComponent, MJWindowComponent, MJWindowTitlebarComponent, MJEmptyStateComponent, MJAlertComponent } from '@memberjunction/ng-ui-components';\nimport { ContainerDirectivesModule } from '@memberjunction/ng-container-directives';\nimport { FileStorageModule } from '@memberjunction/ng-file-storage';\nimport { QueryViewerModule } from '@memberjunction/ng-query-viewer';\nimport { BaseFormsModule } from '@memberjunction/ng-base-forms';\nimport { RecordChangesModule } from '@memberjunction/ng-record-changes';\n// RecordTagsModule removed — now imported by @memberjunction/ng-base-forms\nimport { EntityFormDialogModule } from '@memberjunction/ng-entity-form-dialog';\nimport { RecordSelectorModule } from '@memberjunction/ng-record-selector';\nimport { ResourcePermissionsModule } from '@memberjunction/ng-resource-permissions';\nimport { EntityViewerModule } from '@memberjunction/ng-entity-viewer';\nimport { ListDetailGridModule } from '@memberjunction/ng-list-detail-grid';\nimport { ListManagementModule } from '@memberjunction/ng-list-management';\n\n// Local Components\nimport { ConversationsModule } from '@memberjunction/ng-conversations';\nimport { CoreDashboardsModule } from '@memberjunction/ng-dashboards/core-dashboards.module';\nimport { DashboardViewerModule } from '@memberjunction/ng-dashboard-viewer';\nimport { ExplorerSettingsModule } from '@memberjunction/ng-explorer-settings';\nimport { AITestHarnessModule } from '@memberjunction/ng-ai-test-harness';\nimport { ArtifactsModule } from '@memberjunction/ng-artifacts';\nimport { MemberJunctionSharedModule } from '@memberjunction/ng-shared';\nimport { MarkdownModule } from '@memberjunction/ng-markdown';\nimport { SharedGenericModule } from '@memberjunction/ng-shared-generic';\nimport { ResourceContainerComponent } from './lib/generic/resource-container-component';\nimport { DashboardPreferencesDialogComponent } from './lib/dashboard-preferences-dialog/dashboard-preferences-dialog.component';\nimport { DashboardResource } from './lib/resource-wrappers/dashboard-resource.component';\nimport { QueryResource } from './lib/resource-wrappers/query-resource.component';\nimport { EntityRecordResource } from './lib/resource-wrappers/record-resource.component';\nimport { SearchResultsResource } from './lib/resource-wrappers/search-results-resource.component';\nimport { UserViewResource } from './lib/resource-wrappers/view-resource.component';\nimport { AddItemComponent } from './lib/single-dashboard/Components/add-item/add-item.component';\nimport { DeleteItemComponent } from './lib/single-dashboard/Components/delete-item/delete-item.component';\nimport { EditDashboardComponent } from './lib/single-dashboard/Components/edit-dashboard/edit-dashboard.component';\nimport { SingleDashboardComponent } from './lib/single-dashboard/single-dashboard.component';\nimport { SingleQueryComponent } from './lib/single-query/single-query.component';\nimport { SingleRecordComponent } from './lib/single-record/single-record.component';\nimport { SingleSearchResultComponent } from './lib/single-search-result/single-search-result.component';\nimport { UserNotificationsComponent } from './lib/user-notifications/user-notifications.component';\nimport { UserProfileComponent } from './lib/user-profile/user-profile.component';\nimport { AppRoutingModule, CustomReuseStrategy } from './app-routing.module';\nimport { GenericDialogModule } from '@memberjunction/ng-generic-dialog';\nimport {SingleListDetailComponent} from './lib/single-list-detail/single-list-detail.component';\nimport { ListDetailResource } from './lib/resource-wrappers/list-detail-resource.component';\nimport { ChatConversationsResource } from './lib/resource-wrappers/chat-conversations-resource.component';\nimport { ChatCollectionsResource } from './lib/resource-wrappers/chat-collections-resource.component';\nimport { ChatTasksResource } from './lib/resource-wrappers/chat-tasks-resource.component';\nimport { ArtifactResource } from './lib/resource-wrappers/artifact-resource.component';\nimport { NotificationsResource } from './lib/resource-wrappers/notifications-resource.component';\nimport { OAuthCallbackComponent } from './lib/oauth/oauth-callback.component';\nimport { SearchModule } from '@memberjunction/ng-search';\nimport { MJWordCloudComponent } from '@memberjunction/ng-word-cloud';\nimport { PaginationComponent } from '@memberjunction/ng-pagination';\nimport { ConversationFeedbackResource } from './lib/conversation-feedback';\nimport { LiveKitRoomResource } from './lib/resource-wrappers/livekit-room-resource.component';\nimport { MJLiveKitRoomComponent } from '@memberjunction/ng-mj-livekit-room';\n\n@NgModule({\n declarations: [\n OAuthCallbackComponent,\n ResourceContainerComponent,\n DashboardResource,\n EntityRecordResource,\n SearchResultsResource,\n UserViewResource,\n SingleRecordComponent,\n SingleSearchResultComponent,\n SingleQueryComponent,\n UserProfileComponent,\n SingleDashboardComponent,\n AddItemComponent,\n DeleteItemComponent,\n EditDashboardComponent,\n UserNotificationsComponent,\n QueryResource,\n SingleListDetailComponent,\n ListDetailResource,\n ChatConversationsResource,\n ChatCollectionsResource,\n ChatTasksResource,\n ArtifactResource,\n NotificationsResource,\n DashboardPreferencesDialogComponent,\n ConversationFeedbackResource,\n LiveKitRoomResource,\n ],\n imports: [\n MarkdownModule,\n AppRoutingModule,\n CommonModule,\n FormsModule,\n ReactiveFormsModule,\n RouterModule,\n ExportServiceModule,\n RecordChangesModule,\n ContainerDirectivesModule,\n BaseFormsModule,\n QueryViewerModule,\n MemberJunctionSharedModule,\n ConversationsModule,\n CoreDashboardsModule,\n DashboardViewerModule,\n ExplorerSettingsModule,\n FileStorageModule,\n EntityFormDialogModule,\n RecordSelectorModule,\n ResourcePermissionsModule,\n GenericDialogModule,\n MJProgressBarComponent,\n DragDropModule,\n AITestHarnessModule, // [3.0] TO DO TO-DO Need to verify this works correctly!\n ArtifactsModule,\n SharedGenericModule,\n EntityViewerModule,\n ListDetailGridModule,\n ListManagementModule,\n SearchModule,\n MJWordCloudComponent,\n MJButtonDirective,\n MJDialogComponent,\n MJDialogTitlebarComponent,\n MJDialogActionsComponent,\n MJDropdownComponent,\n MJWindowComponent,\n MJWindowTitlebarComponent,\n PaginationComponent,\n MJLiveKitRoomComponent,\n MJEmptyStateComponent,\n MJAlertComponent\n ],\n exports: [\n ResourceContainerComponent,\n DashboardResource,\n EntityRecordResource,\n SearchResultsResource,\n UserViewResource,\n SingleRecordComponent,\n SingleSearchResultComponent,\n UserProfileComponent,\n SingleDashboardComponent,\n AddItemComponent,\n DeleteItemComponent,\n EditDashboardComponent,\n UserNotificationsComponent,\n ListDetailResource,\n DashboardPreferencesDialogComponent,\n ConversationFeedbackResource\n ],\n providers: [\n { provide: RouteReuseStrategy, useClass: CustomReuseStrategy },\n SystemValidationService,\n StartupValidationService\n ],\n})\nexport class ExplorerCoreModule {}\n"]}
1
+ {"version":3,"file":"module.js","sourceRoot":"","sources":["../src/module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAClE,OAAO,EAAE,YAAY,EAAE,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AY;QACZ,mBAAmB;QACnB,mBAAmB;QACnB,yBAAyB;QACzB,eAAe;QACf,iBAAiB;QACjB,0BAA0B;QAC1B,mBAAmB;QACnB,oBAAoB;QACpB,qBAAqB;QACrB,sBAAsB;QACtB,iBAAiB;QACjB,sBAAsB;QACtB,oBAAoB;QACpB,yBAAyB;QACzB,mBAAmB;QACnB,sBAAsB;QACtB,cAAc;QACd,mBAAmB,EAAE,yDAAyD;QAC9E,eAAe;QACf,mBAAmB;QACnB,kBAAkB;QAClB,oBAAoB;QACpB,oBAAoB;QACpB,YAAY;QACZ,oBAAoB;QACpB,iBAAiB;QACjB,iBAAiB;QACjB,yBAAyB;QACzB,wBAAwB;QACxB,mBAAmB;QACnB,iBAAiB;QACjB,yBAAyB;QACzB,mBAAmB;QACnB,sBAAsB;QACtB,qBAAqB;QACrB,gBAAgB,aAGhB,0BAA0B;QAC1B,iBAAiB;QACjB,oBAAoB;QACpB,qBAAqB;QACrB,gBAAgB;QAChB,qBAAqB;QACrB,2BAA2B;QAC3B,oBAAoB;QACpB,wBAAwB;QACxB,gBAAgB;QAChB,mBAAmB;QACnB,sBAAsB;QACtB,0BAA0B;QAC1B,kBAAkB;QAClB,mCAAmC;QACnC,4BAA4B;uBA7E5B,wBAAwB,eAiDxB,iBAAiB;IASjB,qBAAqB,EAnErB,0BAA0B;IAU1B,gBAAgB;IAChB,mBAAmB;IACnB,sBAAsB","sourcesContent":["import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport { RouterModule, RouteReuseStrategy } from '@angular/router';\n\n// Services\nimport { SystemValidationService } from './lib/services/system-validation.service';\nimport { StartupValidationService } from './lib/services/startup-validation.service';\n\nimport { ExportServiceModule } from '@memberjunction/ng-export-service';\nimport { MJProgressBarComponent } from '@memberjunction/ng-ui-components';\nimport { DragDropModule } from '@angular/cdk/drag-drop';\n\n// MJ\nimport { MJButtonDirective, MJDialogComponent, MJDialogTitlebarComponent, MJDialogActionsComponent, MJDropdownComponent, MJWindowComponent, MJWindowTitlebarComponent, MJEmptyStateComponent, MJAlertComponent } from '@memberjunction/ng-ui-components';\nimport { ContainerDirectivesModule } from '@memberjunction/ng-container-directives';\nimport { FileStorageModule } from '@memberjunction/ng-file-storage';\nimport { QueryViewerModule } from '@memberjunction/ng-query-viewer';\nimport { BaseFormsModule } from '@memberjunction/ng-base-forms';\nimport { RecordChangesModule } from '@memberjunction/ng-record-changes';\n// RecordTagsModule removed — now imported by @memberjunction/ng-base-forms\nimport { EntityFormDialogModule } from '@memberjunction/ng-entity-form-dialog';\nimport { RecordSelectorModule } from '@memberjunction/ng-record-selector';\nimport { ResourcePermissionsModule } from '@memberjunction/ng-resource-permissions';\nimport { EntityViewerModule } from '@memberjunction/ng-entity-viewer';\nimport { ListDetailGridModule } from '@memberjunction/ng-list-detail-grid';\nimport { ListManagementModule } from '@memberjunction/ng-list-management';\n\n// Local Components\nimport { ConversationsModule } from '@memberjunction/ng-conversations';\nimport { CoreDashboardsModule } from '@memberjunction/ng-dashboards/core-dashboards.module';\nimport { DashboardViewerModule } from '@memberjunction/ng-dashboard-viewer';\nimport { ExplorerSettingsModule } from '@memberjunction/ng-explorer-settings';\nimport { AITestHarnessModule } from '@memberjunction/ng-ai-test-harness';\nimport { ArtifactsModule } from '@memberjunction/ng-artifacts';\nimport { MemberJunctionSharedModule } from '@memberjunction/ng-shared';\nimport { MarkdownModule } from '@memberjunction/ng-markdown';\nimport { SharedGenericModule } from '@memberjunction/ng-shared-generic';\nimport { ResourceContainerComponent } from './lib/generic/resource-container-component';\nimport { DashboardPreferencesDialogComponent } from './lib/dashboard-preferences-dialog/dashboard-preferences-dialog.component';\nimport { DashboardResource } from './lib/resource-wrappers/dashboard-resource.component';\nimport { QueryResource } from './lib/resource-wrappers/query-resource.component';\nimport { EntityRecordResource } from './lib/resource-wrappers/record-resource.component';\nimport { SearchResultsResource } from './lib/resource-wrappers/search-results-resource.component';\nimport { UserViewResource } from './lib/resource-wrappers/view-resource.component';\nimport { AddItemComponent } from './lib/single-dashboard/Components/add-item/add-item.component';\nimport { DeleteItemComponent } from './lib/single-dashboard/Components/delete-item/delete-item.component';\nimport { EditDashboardComponent } from './lib/single-dashboard/Components/edit-dashboard/edit-dashboard.component';\nimport { SingleDashboardComponent } from './lib/single-dashboard/single-dashboard.component';\nimport { SingleQueryComponent } from './lib/single-query/single-query.component';\nimport { SingleRecordComponent } from './lib/single-record/single-record.component';\nimport { SingleSearchResultComponent } from './lib/single-search-result/single-search-result.component';\nimport { UserNotificationsComponent } from './lib/user-notifications/user-notifications.component';\nimport { UserProfileComponent } from './lib/user-profile/user-profile.component';\nimport { AppRoutingModule, CustomReuseStrategy } from './app-routing.module';\nimport { GenericDialogModule } from '@memberjunction/ng-generic-dialog';\nimport {SingleListDetailComponent} from './lib/single-list-detail/single-list-detail.component';\nimport { ListDetailResource } from './lib/resource-wrappers/list-detail-resource.component';\nimport { ChatConversationsResource } from './lib/resource-wrappers/chat-conversations-resource.component';\nimport { ChatCollectionsResource } from './lib/resource-wrappers/chat-collections-resource.component';\nimport { ChatTasksResource } from './lib/resource-wrappers/chat-tasks-resource.component';\nimport { ArtifactResource } from './lib/resource-wrappers/artifact-resource.component';\nimport { NotificationsResource } from './lib/resource-wrappers/notifications-resource.component';\nimport { OAuthCallbackComponent } from './lib/oauth/oauth-callback.component';\nimport { ClaimRedeemComponent } from './lib/identity-claims/claim-redeem.component';\nimport { SearchModule } from '@memberjunction/ng-search';\nimport { MJWordCloudComponent } from '@memberjunction/ng-word-cloud';\nimport { PaginationComponent } from '@memberjunction/ng-pagination';\nimport { ConversationFeedbackResource } from './lib/conversation-feedback';\nimport { LiveKitRoomResource } from './lib/resource-wrappers/livekit-room-resource.component';\nimport { MJLiveKitRoomComponent } from '@memberjunction/ng-mj-livekit-room';\n\n@NgModule({\n declarations: [\n OAuthCallbackComponent,\n ClaimRedeemComponent,\n ResourceContainerComponent,\n DashboardResource,\n EntityRecordResource,\n SearchResultsResource,\n UserViewResource,\n SingleRecordComponent,\n SingleSearchResultComponent,\n SingleQueryComponent,\n UserProfileComponent,\n SingleDashboardComponent,\n AddItemComponent,\n DeleteItemComponent,\n EditDashboardComponent,\n UserNotificationsComponent,\n QueryResource,\n SingleListDetailComponent,\n ListDetailResource,\n ChatConversationsResource,\n ChatCollectionsResource,\n ChatTasksResource,\n ArtifactResource,\n NotificationsResource,\n DashboardPreferencesDialogComponent,\n ConversationFeedbackResource,\n LiveKitRoomResource,\n ],\n imports: [\n MarkdownModule,\n AppRoutingModule,\n CommonModule,\n FormsModule,\n ReactiveFormsModule,\n RouterModule,\n ExportServiceModule,\n RecordChangesModule,\n ContainerDirectivesModule,\n BaseFormsModule,\n QueryViewerModule,\n MemberJunctionSharedModule,\n ConversationsModule,\n CoreDashboardsModule,\n DashboardViewerModule,\n ExplorerSettingsModule,\n FileStorageModule,\n EntityFormDialogModule,\n RecordSelectorModule,\n ResourcePermissionsModule,\n GenericDialogModule,\n MJProgressBarComponent,\n DragDropModule,\n AITestHarnessModule, // [3.0] TO DO TO-DO Need to verify this works correctly!\n ArtifactsModule,\n SharedGenericModule,\n EntityViewerModule,\n ListDetailGridModule,\n ListManagementModule,\n SearchModule,\n MJWordCloudComponent,\n MJButtonDirective,\n MJDialogComponent,\n MJDialogTitlebarComponent,\n MJDialogActionsComponent,\n MJDropdownComponent,\n MJWindowComponent,\n MJWindowTitlebarComponent,\n PaginationComponent,\n MJLiveKitRoomComponent,\n MJEmptyStateComponent,\n MJAlertComponent\n ],\n exports: [\n ResourceContainerComponent,\n DashboardResource,\n EntityRecordResource,\n SearchResultsResource,\n UserViewResource,\n SingleRecordComponent,\n SingleSearchResultComponent,\n UserProfileComponent,\n SingleDashboardComponent,\n AddItemComponent,\n DeleteItemComponent,\n EditDashboardComponent,\n UserNotificationsComponent,\n ListDetailResource,\n DashboardPreferencesDialogComponent,\n ConversationFeedbackResource\n ],\n providers: [\n { provide: RouteReuseStrategy, useClass: CustomReuseStrategy },\n SystemValidationService,\n StartupValidationService\n ],\n})\nexport class ExplorerCoreModule {}\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@memberjunction/ng-explorer-core",
3
- "version": "6.1.0-edge.3",
3
+ "version": "6.1.0-edge.4",
4
4
  "description": "MemberJunction Explorer: Core Angular Components",
5
5
  "main": "./dist/public-api.js",
6
6
  "typings": "./dist/public-api.d.ts",
@@ -14,7 +14,7 @@
14
14
  "@angular/compiler": "21.1.3",
15
15
  "@angular/compiler-cli": "21.1.3",
16
16
  "sass": "^1.97.3",
17
- "@memberjunction/ng-test-utils": "6.1.0-edge.3"
17
+ "@memberjunction/ng-test-utils": "6.1.0-edge.4"
18
18
  },
19
19
  "peerDependencies": {
20
20
  "@angular/common": "^21.1.3",
@@ -27,59 +27,59 @@
27
27
  "@angular/cdk": "21.1.3",
28
28
  "@angular/platform-browser": "21.1.3",
29
29
  "@auth0/auth0-angular": "^2.6.0",
30
- "@memberjunction/ai-core-plus": "6.1.0-edge.3",
31
- "@memberjunction/ai-engine-base": "6.1.0-edge.3",
32
- "@memberjunction/communication-types": "6.1.0-edge.3",
33
- "@memberjunction/core": "6.1.0-edge.3",
34
- "@memberjunction/core-entities": "6.1.0-edge.3",
35
- "@memberjunction/entity-communications-client": "6.1.0-edge.3",
36
- "@memberjunction/export-engine": "6.1.0-edge.3",
37
- "@memberjunction/global": "6.1.0-edge.3",
38
- "@memberjunction/graphql-dataprovider": "6.1.0-edge.3",
39
- "@memberjunction/interactive-component-types": "6.1.0-edge.3",
40
- "@memberjunction/lists-base": "6.1.0-edge.3",
41
- "@memberjunction/theme-engine": "6.1.0-edge.3",
42
- "@memberjunction/ng-ai-test-harness": "6.1.0-edge.3",
43
- "@memberjunction/ng-artifacts": "6.1.0-edge.3",
44
- "@memberjunction/ng-auth-services": "6.1.0-edge.3",
45
- "@memberjunction/ng-base-application": "6.1.0-edge.3",
46
- "@memberjunction/ng-base-forms": "6.1.0-edge.3",
47
- "@memberjunction/ng-base-types": "6.1.0-edge.3",
48
- "@memberjunction/ng-composer": "6.1.0-edge.3",
49
- "@memberjunction/ng-container-directives": "6.1.0-edge.3",
50
- "@memberjunction/ng-conversations": "6.1.0-edge.3",
51
- "@memberjunction/ng-dashboard-viewer": "6.1.0-edge.3",
52
- "@memberjunction/ng-dashboards": "6.1.0-edge.3",
53
- "@memberjunction/ng-entity-form-dialog": "6.1.0-edge.3",
54
- "@memberjunction/ng-entity-permissions": "6.1.0-edge.3",
55
- "@memberjunction/ng-entity-viewer": "6.1.0-edge.3",
56
- "@memberjunction/ng-explorer-settings": "6.1.0-edge.3",
57
- "@memberjunction/ng-export-service": "6.1.0-edge.3",
58
- "@memberjunction/ng-feedback": "6.1.0-edge.3",
59
- "@memberjunction/ng-file-storage": "6.1.0-edge.3",
60
- "@memberjunction/ng-generic-dialog": "6.1.0-edge.3",
61
- "@memberjunction/ng-list-detail-grid": "6.1.0-edge.3",
62
- "@memberjunction/ng-list-management": "6.1.0-edge.3",
63
- "@memberjunction/ng-markdown": "6.1.0-edge.3",
64
- "@memberjunction/ng-mj-livekit-room": "6.1.0-edge.3",
65
- "@memberjunction/ng-notifications": "6.1.0-edge.3",
66
- "@memberjunction/ng-pagination": "6.1.0-edge.3",
67
- "@memberjunction/ng-query-viewer": "6.1.0-edge.3",
68
- "@memberjunction/ng-record-changes": "6.1.0-edge.3",
69
- "@memberjunction/ng-record-selector": "6.1.0-edge.3",
70
- "@memberjunction/ng-record-tags": "6.1.0-edge.3",
71
- "@memberjunction/ng-resource-permissions": "6.1.0-edge.3",
72
- "@memberjunction/ng-search": "6.1.0-edge.3",
73
- "@memberjunction/ng-shared": "6.1.0-edge.3",
74
- "@memberjunction/ng-shared-generic": "6.1.0-edge.3",
75
- "@memberjunction/ng-ui-components": "6.1.0-edge.3",
76
- "@memberjunction/ng-user-avatar": "6.1.0-edge.3",
77
- "@memberjunction/ng-word-cloud": "6.1.0-edge.3",
78
- "@memberjunction/templates-base-types": "6.1.0-edge.3",
30
+ "@memberjunction/ai-core-plus": "6.1.0-edge.4",
31
+ "@memberjunction/ai-engine-base": "6.1.0-edge.4",
32
+ "@memberjunction/communication-types": "6.1.0-edge.4",
33
+ "@memberjunction/core": "6.1.0-edge.4",
34
+ "@memberjunction/core-entities": "6.1.0-edge.4",
35
+ "@memberjunction/entity-communications-client": "6.1.0-edge.4",
36
+ "@memberjunction/export-engine": "6.1.0-edge.4",
37
+ "@memberjunction/global": "6.1.0-edge.4",
38
+ "@memberjunction/graphql-dataprovider": "6.1.0-edge.4",
39
+ "@memberjunction/interactive-component-types": "6.1.0-edge.4",
40
+ "@memberjunction/lists-base": "6.1.0-edge.4",
41
+ "@memberjunction/theme-engine": "6.1.0-edge.4",
42
+ "@memberjunction/ng-ai-test-harness": "6.1.0-edge.4",
43
+ "@memberjunction/ng-artifacts": "6.1.0-edge.4",
44
+ "@memberjunction/ng-auth-services": "6.1.0-edge.4",
45
+ "@memberjunction/ng-base-application": "6.1.0-edge.4",
46
+ "@memberjunction/ng-base-forms": "6.1.0-edge.4",
47
+ "@memberjunction/ng-base-types": "6.1.0-edge.4",
48
+ "@memberjunction/ng-composer": "6.1.0-edge.4",
49
+ "@memberjunction/ng-container-directives": "6.1.0-edge.4",
50
+ "@memberjunction/ng-conversations": "6.1.0-edge.4",
51
+ "@memberjunction/ng-dashboard-viewer": "6.1.0-edge.4",
52
+ "@memberjunction/ng-dashboards": "6.1.0-edge.4",
53
+ "@memberjunction/ng-entity-form-dialog": "6.1.0-edge.4",
54
+ "@memberjunction/ng-entity-permissions": "6.1.0-edge.4",
55
+ "@memberjunction/ng-entity-viewer": "6.1.0-edge.4",
56
+ "@memberjunction/ng-explorer-settings": "6.1.0-edge.4",
57
+ "@memberjunction/ng-export-service": "6.1.0-edge.4",
58
+ "@memberjunction/ng-feedback": "6.1.0-edge.4",
59
+ "@memberjunction/ng-file-storage": "6.1.0-edge.4",
60
+ "@memberjunction/ng-generic-dialog": "6.1.0-edge.4",
61
+ "@memberjunction/ng-list-detail-grid": "6.1.0-edge.4",
62
+ "@memberjunction/ng-list-management": "6.1.0-edge.4",
63
+ "@memberjunction/ng-markdown": "6.1.0-edge.4",
64
+ "@memberjunction/ng-mj-livekit-room": "6.1.0-edge.4",
65
+ "@memberjunction/ng-notifications": "6.1.0-edge.4",
66
+ "@memberjunction/ng-pagination": "6.1.0-edge.4",
67
+ "@memberjunction/ng-query-viewer": "6.1.0-edge.4",
68
+ "@memberjunction/ng-record-changes": "6.1.0-edge.4",
69
+ "@memberjunction/ng-record-selector": "6.1.0-edge.4",
70
+ "@memberjunction/ng-record-tags": "6.1.0-edge.4",
71
+ "@memberjunction/ng-resource-permissions": "6.1.0-edge.4",
72
+ "@memberjunction/ng-search": "6.1.0-edge.4",
73
+ "@memberjunction/ng-shared": "6.1.0-edge.4",
74
+ "@memberjunction/ng-shared-generic": "6.1.0-edge.4",
75
+ "@memberjunction/ng-ui-components": "6.1.0-edge.4",
76
+ "@memberjunction/ng-user-avatar": "6.1.0-edge.4",
77
+ "@memberjunction/ng-word-cloud": "6.1.0-edge.4",
78
+ "@memberjunction/templates-base-types": "6.1.0-edge.4",
79
79
  "golden-layout": "^2.6.0",
80
80
  "rxjs": "^7.8.2",
81
81
  "tslib": "^2.8.1",
82
- "@memberjunction/ng-react": "6.1.0-edge.3"
82
+ "@memberjunction/ng-react": "6.1.0-edge.4"
83
83
  },
84
84
  "sideEffects": false,
85
85
  "repository": {