@memberjunction/ng-explorer-core 6.1.0-edge.1 → 6.1.0-edge.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +180 -4
- package/README.md +1 -1
- package/dist/app-routing.module.d.ts.map +1 -1
- package/dist/app-routing.module.js +23 -7
- package/dist/app-routing.module.js.map +1 -1
- package/dist/generated/lazy-feature-config.d.ts +1 -1
- package/dist/generated/lazy-feature-config.d.ts.map +1 -1
- package/dist/generated/lazy-feature-config.js +10 -1
- package/dist/generated/lazy-feature-config.js.map +1 -1
- package/dist/lib/resource-wrappers/record-resource.component.d.ts.map +1 -1
- package/dist/lib/resource-wrappers/record-resource.component.js +4 -1
- package/dist/lib/resource-wrappers/record-resource.component.js.map +1 -1
- package/dist/lib/shell/shell.component.d.ts +7 -0
- package/dist/lib/shell/shell.component.d.ts.map +1 -1
- package/dist/lib/shell/shell.component.js +60 -42
- package/dist/lib/shell/shell.component.js.map +1 -1
- package/package.json +53 -53
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lazy-feature-config.js","sourceRoot":"","sources":["../../src/generated/lazy-feature-config.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,kFAAkF;AAClF,MAAM,uCAAuC,GAAG;IAC9C,OAAO,EAAE,yDAAyD;IAClE,IAAI,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,yDAAyD,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,GAAE,CAAC,CAAC;CAC7F,CAAC;AAEF,8EAA8E;AAC9E,MAAM,kCAAkC,GAAG;IACzC,OAAO,EAAE,oDAAoD;IAC7D,IAAI,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,oDAAoD,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,GAAE,CAAC,CAAC;CACxF,CAAC;AAEF,wFAAwF;AACxF,MAAM,6CAA6C,GAAG;IACpD,OAAO,EAAE,+DAA+D;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E,0CAA0C;IAC/F,oDAAoD,EAAE,0CAA0C;IAChG,+CAA+C,EAAE,0CAA0C;IAE3F,8DAA8D;IAC9D,iCAAiC,EAAE,uCAAuC;IAC1E,iDAAiD,EAAE,uCAAuC;IAC1F,oDAAoD,EAAE,uCAAuC;IAC7F,gDAAgD,EAAE,uCAAuC;IACzF,8CAA8C,EAAE,uCAAuC;IACvF,4CAA4C,EAAE,uCAAuC;IAErF,2DAA2D;IAC3D,sCAAsC,EAAE,oCAAoC;IAC5E,kCAAkC,EAAE,oCAAoC;IACxE,+BAA+B,EAAE,oCAAoC;IACrE,2BAA2B,EAAE,oCAAoC;IACjE,+BAA+B,EAAE,oCAAoC;IACrE,mCAAmC,EAAE,oCAAoC;IAEzE,0DAA0D;IAC1D,4CAA4C,EAAE,kCAAkC;IAEhF,+BAA+B;IAC/B,oCAAoC,EAAE,WAAW;CAElD,CAAC;AAEF,MAAM,CAAC,MAAM,yBAAyB,GAAG,GAAG,CAAC","sourcesContent":["/**\n * AUTO-GENERATED FILE — DO NOT EDIT\n * Generated by: mj codegen manifest --lazy-config\n * Regenerate with: npm run mj:manifest:explorer\n *\n * Maps @RegisterClass entries to their lazy-loading chunks using compound keys.\n * Compound key format: \"BaseClassName::Key\" (e.g., \"BaseResourceComponent::HomeDashboard\").\n *\n * When ClassFactory.GetRegistrationAsync() or CreateInstanceAsync() cannot find a\n * registration synchronously, the registered lazy loader builds the compound key and\n * looks it up here to dynamically import the chunk containing the class.\n *\n * Every entry carries an explicit `chunkId` — the dynamic import specifier — because many\n * compound keys share one chunk and the registry must be able to tell those chunks apart.\n * Do NOT collapse these into a shared helper that returns a closure: closures built by the\n * same helper are indistinguishable by identity-adjacent means (e.g. Function.toString()),\n * which silently merges all chunks into one.\n */\n\n// --- @memberjunction/ng-dashboards → ./actions-dashboards.module (6 entries) ---\nconst loadNgDashboardsActionsDashboardsModule = {\n chunkId: '@memberjunction/ng-dashboards/actions-dashboards.module',\n load: () => import('@memberjunction/ng-dashboards/actions-dashboards.module').then(() => {})\n};\n\n// --- @memberjunction/ng-dashboards → ./ai-dashboards.module (17 entries) ---\nconst loadNgDashboardsAiDashboardsModule = {\n chunkId: '@memberjunction/ng-dashboards/ai-dashboards.module',\n load: () => import('@memberjunction/ng-dashboards/ai-dashboards.module').then(() => {})\n};\n\n// --- @memberjunction/ng-dashboards → ./communication-dashboards.module (7 entries) ---\nconst loadNgDashboardsCommunicationDashboardsModule = {\n chunkId: '@memberjunction/ng-dashboards/communication-dashboards.module',\n load: () => import('@memberjunction/ng-dashboards/communication-dashboards.module').then(() => {})\n};\n\n// --- @memberjunction/ng-dashboards → ./component-studio-dashboards.module (3 entries) ---\nconst loadNgDashboardsComponentStudioDashboardsModule = {\n chunkId: '@memberjunction/ng-dashboards/component-studio-dashboards.module',\n load: () => import('@memberjunction/ng-dashboards/component-studio-dashboards.module').then(() => {})\n};\n\n// --- @memberjunction/ng-dashboards → ./core-dashboards.module (36 entries) ---\nconst loadNgDashboardsCoreDashboardsModule = {\n chunkId: '@memberjunction/ng-dashboards/core-dashboards.module',\n load: () => import('@memberjunction/ng-dashboards/core-dashboards.module').then(() => {})\n};\n\n// --- @memberjunction/ng-dashboards → ./credentials-dashboards.module (6 entries) ---\nconst loadNgDashboardsCredentialsDashboardsModule = {\n chunkId: '@memberjunction/ng-dashboards/credentials-dashboards.module',\n load: () => import('@memberjunction/ng-dashboards/credentials-dashboards.module').then(() => {})\n};\n\n// --- @memberjunction/ng-dashboards → ./data-explorer-dashboards.module (2 entries) ---\nconst loadNgDashboardsDataExplorerDashboardsModule = {\n chunkId: '@memberjunction/ng-dashboards/data-explorer-dashboards.module',\n load: () => import('@memberjunction/ng-dashboards/data-explorer-dashboards.module').then(() => {})\n};\n\n// --- @memberjunction/ng-dashboards → ./integration.module (6 entries) ---\nconst loadNgDashboardsIntegrationModule = {\n chunkId: '@memberjunction/ng-dashboards/integration.module',\n load: () => import('@memberjunction/ng-dashboards/integration.module').then(() => {})\n};\n\n// --- @memberjunction/ng-dashboards → ./lists-dashboards.module (5 entries) ---\nconst loadNgDashboardsListsDashboardsModule = {\n chunkId: '@memberjunction/ng-dashboards/lists-dashboards.module',\n load: () => import('@memberjunction/ng-dashboards/lists-dashboards.module').then(() => {})\n};\n\n// --- @memberjunction/ng-dashboards → ./mcp.module (2 entries) ---\nconst loadNgDashboardsMcpModule = {\n chunkId: '@memberjunction/ng-dashboards/mcp.module',\n load: () => import('@memberjunction/ng-dashboards/mcp.module').then(() => {})\n};\n\n// --- @memberjunction/ng-dashboards → ./module (3 entries) ---\nconst loadNgDashboardsModule = {\n chunkId: '@memberjunction/ng-dashboards/module',\n load: () => import('@memberjunction/ng-dashboards/module').then(() => {})\n};\n\n// --- @memberjunction/ng-dashboards → ./predictive-studio-dashboards.module (3 entries) ---\nconst loadNgDashboardsPredictiveStudioDashboardsModule = {\n chunkId: '@memberjunction/ng-dashboards/predictive-studio-dashboards.module',\n load: () => import('@memberjunction/ng-dashboards/predictive-studio-dashboards.module').then(() => {})\n};\n\n// --- @memberjunction/ng-dashboards → ./routines-dashboards.module (1 entries) ---\nconst loadNgDashboardsRoutinesDashboardsModule = {\n chunkId: '@memberjunction/ng-dashboards/routines-dashboards.module',\n load: () => import('@memberjunction/ng-dashboards/routines-dashboards.module').then(() => {})\n};\n\n// --- @memberjunction/ng-dashboards → ./scheduling-dashboards.module (4 entries) ---\nconst loadNgDashboardsSchedulingDashboardsModule = {\n chunkId: '@memberjunction/ng-dashboards/scheduling-dashboards.module',\n load: () => import('@memberjunction/ng-dashboards/scheduling-dashboards.module').then(() => {})\n};\n\n// --- @memberjunction/ng-dashboards → ./testing-dashboards.module (6 entries) ---\nconst loadNgDashboardsTestingDashboardsModule = {\n chunkId: '@memberjunction/ng-dashboards/testing-dashboards.module',\n load: () => import('@memberjunction/ng-dashboards/testing-dashboards.module').then(() => {})\n};\n\n// --- @memberjunction/ng-explorer-settings → ./settings.module (6 entries) ---\nconst loadNgExplorerSettingsSettingsModule = {\n chunkId: '@memberjunction/ng-explorer-settings/settings.module',\n load: () => import('@memberjunction/ng-explorer-settings/settings.module').then(() => {})\n};\n\n// --- @memberjunction/ng-file-storage → ./file-storage.module (1 entries) ---\nconst loadNgFileStorageFileStorageModule = {\n chunkId: '@memberjunction/ng-file-storage/file-storage.module',\n load: () => import('@memberjunction/ng-file-storage/file-storage.module').then(() => {})\n};\n\n// --- @memberjunction/ng-react → . (1 entries) ---\nconst loadNgReact = {\n chunkId: '@memberjunction/ng-react',\n load: () => import('@memberjunction/ng-react').then(() => {})\n};\n\n/**\n * Complete mapping of compound keys (BaseClassName::Key) to their chunk descriptor.\n * Covers all @RegisterClass decorated classes in lazy-loaded packages.\n */\nexport const LAZY_FEATURE_CONFIG: Record<string, { chunkId: string; load: () => Promise<void> }> = {\n // @memberjunction/ng-dashboards → ./actions-dashboards.module\n 'BaseResourceComponent::ActionExplorerResource': loadNgDashboardsActionsDashboardsModule,\n 'BaseResourceComponent::ActionsCodeResource': loadNgDashboardsActionsDashboardsModule,\n 'BaseResourceComponent::ActionsEntitiesResource': loadNgDashboardsActionsDashboardsModule,\n 'BaseResourceComponent::ActionsMonitorResource': loadNgDashboardsActionsDashboardsModule,\n 'BaseResourceComponent::ActionsOverviewResource': loadNgDashboardsActionsDashboardsModule,\n 'BaseResourceComponent::ActionsSecurityResource': loadNgDashboardsActionsDashboardsModule,\n\n // @memberjunction/ng-dashboards → ./ai-dashboards.module\n 'BaseResourceComponent::AIAgentRequestsResource': loadNgDashboardsAiDashboardsModule,\n 'BaseResourceComponent::AIAgentsResource': loadNgDashboardsAiDashboardsModule,\n 'BaseResourceComponent::AIAnalyticsResource': loadNgDashboardsAiDashboardsModule,\n 'BaseResourceComponent::AIConfigResource': loadNgDashboardsAiDashboardsModule,\n 'BaseResourceComponent::AIModelsResource': loadNgDashboardsAiDashboardsModule,\n 'BaseResourceComponent::AIMonitorResource': loadNgDashboardsAiDashboardsModule,\n 'BaseResourceComponent::AIPromptsResource': loadNgDashboardsAiDashboardsModule,\n 'BaseResourceComponent::AnalyticsResource': loadNgDashboardsAiDashboardsModule,\n 'BaseResourceComponent::AutotaggingPipelineResource': loadNgDashboardsAiDashboardsModule,\n 'BaseResourceComponent::ClusterVisualizationResource': loadNgDashboardsAiDashboardsModule,\n 'BaseResourceComponent::DuplicateDetectionResource': loadNgDashboardsAiDashboardsModule,\n 'BaseResourceComponent::FeaturePipelinesResource': loadNgDashboardsAiDashboardsModule,\n 'BaseResourceComponent::KnowledgeConfigResource': loadNgDashboardsAiDashboardsModule,\n 'BaseResourceComponent::SchedulingResource': loadNgDashboardsAiDashboardsModule,\n 'BaseResourceComponent::Tags': loadNgDashboardsAiDashboardsModule,\n 'BaseResourceComponent::VectorManagementResource': loadNgDashboardsAiDashboardsModule,\n 'BaseResourceComponent::VisualizationResource': loadNgDashboardsAiDashboardsModule,\n\n // @memberjunction/ng-dashboards → ./communication-dashboards.module\n 'BaseDashboard::CommunicationDashboard': loadNgDashboardsCommunicationDashboardsModule,\n 'BaseResourceComponent::CommunicationLogsResource': loadNgDashboardsCommunicationDashboardsModule,\n 'BaseResourceComponent::CommunicationMonitorResource': loadNgDashboardsCommunicationDashboardsModule,\n 'BaseResourceComponent::CommunicationProvidersResource': loadNgDashboardsCommunicationDashboardsModule,\n 'BaseResourceComponent::CommunicationRunsResource': loadNgDashboardsCommunicationDashboardsModule,\n 'BaseResourceComponent::CommunicationsNewMessageResource': loadNgDashboardsCommunicationDashboardsModule,\n 'BaseResourceComponent::CommunicationTemplatesResource': loadNgDashboardsCommunicationDashboardsModule,\n\n // @memberjunction/ng-dashboards → ./component-studio-dashboards.module\n 'BaseDashboard::ComponentStudioDashboard': loadNgDashboardsComponentStudioDashboardsModule,\n 'BaseResourceComponent::ComponentStudioResource': loadNgDashboardsComponentStudioDashboardsModule,\n 'BaseResourceComponent::FormBuilderResource': loadNgDashboardsComponentStudioDashboardsModule,\n\n // @memberjunction/ng-dashboards → ./core-dashboards.module\n 'BaseApplication::HomeApplication': loadNgDashboardsCoreDashboardsModule,\n 'BaseDashboard::EntityAdmin': loadNgDashboardsCoreDashboardsModule,\n 'BaseDashboard::ThemeManagerDashboard': loadNgDashboardsCoreDashboardsModule,\n 'BaseDashboard::ThemeStudioDashboard': loadNgDashboardsCoreDashboardsModule,\n 'BaseResourceComponent::AdminDataSchema': loadNgDashboardsCoreDashboardsModule,\n 'BaseResourceComponent::AdminDeveloperTools': loadNgDashboardsCoreDashboardsModule,\n 'BaseResourceComponent::AdminIdentityAccess': loadNgDashboardsCoreDashboardsModule,\n 'BaseResourceComponent::AdminMonitoring': loadNgDashboardsCoreDashboardsModule,\n 'BaseResourceComponent::APIKeysResource': loadNgDashboardsCoreDashboardsModule,\n 'BaseResourceComponent::ApplicationRolesResource': loadNgDashboardsCoreDashboardsModule,\n 'BaseResourceComponent::AppStateInspector': loadNgDashboardsCoreDashboardsModule,\n 'BaseResourceComponent::BulkOperationsContainer': loadNgDashboardsCoreDashboardsModule,\n 'BaseResourceComponent::BulkOperationsOperations': loadNgDashboardsCoreDashboardsModule,\n 'BaseResourceComponent::BulkOperationsRunHistory': loadNgDashboardsCoreDashboardsModule,\n 'BaseResourceComponent::ClassRegistryInspector': loadNgDashboardsCoreDashboardsModule,\n 'BaseResourceComponent::DashboardBrowserResource': loadNgDashboardsCoreDashboardsModule,\n 'BaseResourceComponent::EventMonitorInspector': loadNgDashboardsCoreDashboardsModule,\n 'BaseResourceComponent::GraphQLConsoleInspector': loadNgDashboardsCoreDashboardsModule,\n 'BaseResourceComponent::GridWidthLabInspector': loadNgDashboardsCoreDashboardsModule,\n 'BaseResourceComponent::HomeDashboard': loadNgDashboardsCoreDashboardsModule,\n 'BaseResourceComponent::LayoutInspector': loadNgDashboardsCoreDashboardsModule,\n 'BaseResourceComponent::LazyModuleStatusInspector': loadNgDashboardsCoreDashboardsModule,\n 'BaseResourceComponent::PermissionsAuditLogResource': loadNgDashboardsCoreDashboardsModule,\n 'BaseResourceComponent::PermissionsResourceAccessResource': loadNgDashboardsCoreDashboardsModule,\n 'BaseResourceComponent::PermissionsUserAccessResource': loadNgDashboardsCoreDashboardsModule,\n 'BaseResourceComponent::QueryBrowserResource': loadNgDashboardsCoreDashboardsModule,\n 'BaseResourceComponent::RealtimeRecordingsDashboard': loadNgDashboardsCoreDashboardsModule,\n 'BaseResourceComponent::SettingsExplorerInspector': loadNgDashboardsCoreDashboardsModule,\n 'BaseResourceComponent::SystemDiagnosticsResource': loadNgDashboardsCoreDashboardsModule,\n 'BaseResourceComponent::TabStripLabInspector': loadNgDashboardsCoreDashboardsModule,\n 'BaseResourceComponent::ThemeManagerResource': loadNgDashboardsCoreDashboardsModule,\n 'BaseResourceComponent::ThemeStudioResource': loadNgDashboardsCoreDashboardsModule,\n 'BaseResourceComponent::VersionHistoryDiffResource': loadNgDashboardsCoreDashboardsModule,\n 'BaseResourceComponent::VersionHistoryGraphResource': loadNgDashboardsCoreDashboardsModule,\n 'BaseResourceComponent::VersionHistoryLabelsResource': loadNgDashboardsCoreDashboardsModule,\n 'BaseResourceComponent::VersionHistoryRestoreResource': loadNgDashboardsCoreDashboardsModule,\n\n // @memberjunction/ng-dashboards → ./credentials-dashboards.module\n 'BaseDashboard::CredentialsDashboard': loadNgDashboardsCredentialsDashboardsModule,\n 'BaseResourceComponent::CredentialsAuditResource': loadNgDashboardsCredentialsDashboardsModule,\n 'BaseResourceComponent::CredentialsCategoriesResource': loadNgDashboardsCredentialsDashboardsModule,\n 'BaseResourceComponent::CredentialsListResource': loadNgDashboardsCredentialsDashboardsModule,\n 'BaseResourceComponent::CredentialsOverviewResource': loadNgDashboardsCredentialsDashboardsModule,\n 'BaseResourceComponent::CredentialsTypesResource': loadNgDashboardsCredentialsDashboardsModule,\n\n // @memberjunction/ng-dashboards → ./data-explorer-dashboards.module\n 'BaseDashboard::DataExplorer': loadNgDashboardsDataExplorerDashboardsModule,\n 'BaseResourceComponent::DataExplorerResource': loadNgDashboardsDataExplorerDashboardsModule,\n\n // @memberjunction/ng-dashboards → ./integration.module\n 'BaseResourceComponent::IntegrationActivity': loadNgDashboardsIntegrationModule,\n 'BaseResourceComponent::IntegrationConnections': loadNgDashboardsIntegrationModule,\n 'BaseResourceComponent::IntegrationMappingWorkspace': loadNgDashboardsIntegrationModule,\n 'BaseResourceComponent::IntegrationOverview': loadNgDashboardsIntegrationModule,\n 'BaseResourceComponent::IntegrationPipelines': loadNgDashboardsIntegrationModule,\n 'BaseResourceComponent::IntegrationSchedules': loadNgDashboardsIntegrationModule,\n\n // @memberjunction/ng-dashboards → ./lists-dashboards.module\n 'BaseResourceComponent::ListsBrowseResource': loadNgDashboardsListsDashboardsModule,\n 'BaseResourceComponent::ListsCategoriesResource': loadNgDashboardsListsDashboardsModule,\n 'BaseResourceComponent::ListsMyListsResource': loadNgDashboardsListsDashboardsModule,\n 'BaseResourceComponent::ListsOperationsResource': loadNgDashboardsListsDashboardsModule,\n 'BaseResourceComponent::ListsSharedWithMeResource': loadNgDashboardsListsDashboardsModule,\n\n // @memberjunction/ng-dashboards → ./mcp.module\n 'BaseDashboard::MCPDashboard': loadNgDashboardsMcpModule,\n 'BaseResourceComponent::MCPResource': loadNgDashboardsMcpModule,\n\n // @memberjunction/ng-dashboards → ./module\n 'BaseResourceComponent::ArchiveConfigResource': loadNgDashboardsModule,\n 'BaseResourceComponent::ArchiveRunsResource': loadNgDashboardsModule,\n 'BaseResourceComponent::DatabaseDesignerDashboard': loadNgDashboardsModule,\n\n // @memberjunction/ng-dashboards → ./predictive-studio-dashboards.module\n 'BaseResourceComponent::PredictiveStudioModelsResource': loadNgDashboardsPredictiveStudioDashboardsModule,\n 'BaseResourceComponent::PredictiveStudioPredictionsResource': loadNgDashboardsPredictiveStudioDashboardsModule,\n 'BaseResourceComponent::PredictiveStudioStudioResource': loadNgDashboardsPredictiveStudioDashboardsModule,\n\n // @memberjunction/ng-dashboards → ./routines-dashboards.module\n 'BaseResourceComponent::UserRoutines': loadNgDashboardsRoutinesDashboardsModule,\n\n // @memberjunction/ng-dashboards → ./scheduling-dashboards.module\n 'BaseDashboard::SchedulingDashboard': loadNgDashboardsSchedulingDashboardsModule,\n 'BaseResourceComponent::SchedulingActivityResource': loadNgDashboardsSchedulingDashboardsModule,\n 'BaseResourceComponent::SchedulingDashboardResource': loadNgDashboardsSchedulingDashboardsModule,\n 'BaseResourceComponent::SchedulingJobsResource': loadNgDashboardsSchedulingDashboardsModule,\n\n // @memberjunction/ng-dashboards → ./testing-dashboards.module\n 'BaseDashboard::TestingDashboard': loadNgDashboardsTestingDashboardsModule,\n 'BaseResourceComponent::TestingAnalyticsResource': loadNgDashboardsTestingDashboardsModule,\n 'BaseResourceComponent::TestingDashboardTabResource': loadNgDashboardsTestingDashboardsModule,\n 'BaseResourceComponent::TestingExplorerResource': loadNgDashboardsTestingDashboardsModule,\n 'BaseResourceComponent::TestingReviewResource': loadNgDashboardsTestingDashboardsModule,\n 'BaseResourceComponent::TestingRunsResource': loadNgDashboardsTestingDashboardsModule,\n\n // @memberjunction/ng-explorer-settings → ./settings.module\n 'BaseDashboard::ApplicationManagement': loadNgExplorerSettingsSettingsModule,\n 'BaseDashboard::EntityPermissions': loadNgExplorerSettingsSettingsModule,\n 'BaseDashboard::RoleManagement': loadNgExplorerSettingsSettingsModule,\n 'BaseDashboard::SqlLogging': loadNgExplorerSettingsSettingsModule,\n 'BaseDashboard::UserManagement': loadNgExplorerSettingsSettingsModule,\n 'BaseNavigationComponent::Settings': loadNgExplorerSettingsSettingsModule,\n\n // @memberjunction/ng-file-storage → ./file-storage.module\n 'BaseResourceComponent::FileBrowserResource': loadNgFileStorageFileStorageModule,\n\n // @memberjunction/ng-react → .\n 'RuntimeUtilities::RuntimeUtilities': loadNgReact,\n\n};\n\nexport const LAZY_FEATURE_CONFIG_COUNT = 115;\n"]}
|
|
1
|
+
{"version":3,"file":"lazy-feature-config.js","sourceRoot":"","sources":["../../src/generated/lazy-feature-config.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,kFAAkF;A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EhF,+BAA+B;IAC/B,oCAAoC,EAAE,WAAW;CAElD,CAAC;AAEF,MAAM,CAAC,MAAM,yBAAyB,GAAG,GAAG,CAAC","sourcesContent":["/**\n * AUTO-GENERATED FILE — DO NOT EDIT\n * Generated by: mj codegen manifest --lazy-config\n * Regenerate with: npm run mj:manifest:explorer\n *\n * Maps @RegisterClass entries to their lazy-loading chunks using compound keys.\n * Compound key format: \"BaseClassName::Key\" (e.g., \"BaseResourceComponent::HomeDashboard\").\n *\n * When ClassFactory.GetRegistrationAsync() or CreateInstanceAsync() cannot find a\n * registration synchronously, the registered lazy loader builds the compound key and\n * looks it up here to dynamically import the chunk containing the class.\n *\n * Every entry carries an explicit `chunkId` — the dynamic import specifier — because many\n * compound keys share one chunk and the registry must be able to tell those chunks apart.\n * Do NOT collapse these into a shared helper that returns a closure: closures built by the\n * same helper are indistinguishable by identity-adjacent means (e.g. Function.toString()),\n * which silently merges all chunks into one.\n */\n\n// --- @memberjunction/ng-dashboards → ./actions-dashboards.module (6 entries) ---\nconst loadNgDashboardsActionsDashboardsModule = {\n chunkId: '@memberjunction/ng-dashboards/actions-dashboards.module',\n load: () => import('@memberjunction/ng-dashboards/actions-dashboards.module').then(() => {})\n};\n\n// --- @memberjunction/ng-dashboards → ./ai-dashboards.module (17 entries) ---\nconst loadNgDashboardsAiDashboardsModule = {\n chunkId: '@memberjunction/ng-dashboards/ai-dashboards.module',\n load: () => import('@memberjunction/ng-dashboards/ai-dashboards.module').then(() => {})\n};\n\n// --- @memberjunction/ng-dashboards → ./communication-dashboards.module (7 entries) ---\nconst loadNgDashboardsCommunicationDashboardsModule = {\n chunkId: '@memberjunction/ng-dashboards/communication-dashboards.module',\n load: () => import('@memberjunction/ng-dashboards/communication-dashboards.module').then(() => {})\n};\n\n// --- @memberjunction/ng-dashboards → ./component-studio-dashboards.module (3 entries) ---\nconst loadNgDashboardsComponentStudioDashboardsModule = {\n chunkId: '@memberjunction/ng-dashboards/component-studio-dashboards.module',\n load: () => import('@memberjunction/ng-dashboards/component-studio-dashboards.module').then(() => {})\n};\n\n// --- @memberjunction/ng-dashboards → ./core-dashboards.module (36 entries) ---\nconst loadNgDashboardsCoreDashboardsModule = {\n chunkId: '@memberjunction/ng-dashboards/core-dashboards.module',\n load: () => import('@memberjunction/ng-dashboards/core-dashboards.module').then(() => {})\n};\n\n// --- @memberjunction/ng-dashboards → ./credentials-dashboards.module (6 entries) ---\nconst loadNgDashboardsCredentialsDashboardsModule = {\n chunkId: '@memberjunction/ng-dashboards/credentials-dashboards.module',\n load: () => import('@memberjunction/ng-dashboards/credentials-dashboards.module').then(() => {})\n};\n\n// --- @memberjunction/ng-dashboards → ./data-explorer-dashboards.module (2 entries) ---\nconst loadNgDashboardsDataExplorerDashboardsModule = {\n chunkId: '@memberjunction/ng-dashboards/data-explorer-dashboards.module',\n load: () => import('@memberjunction/ng-dashboards/data-explorer-dashboards.module').then(() => {})\n};\n\n// --- @memberjunction/ng-dashboards → ./integration.module (6 entries) ---\nconst loadNgDashboardsIntegrationModule = {\n chunkId: '@memberjunction/ng-dashboards/integration.module',\n load: () => import('@memberjunction/ng-dashboards/integration.module').then(() => {})\n};\n\n// --- @memberjunction/ng-dashboards → ./lists-dashboards.module (5 entries) ---\nconst loadNgDashboardsListsDashboardsModule = {\n chunkId: '@memberjunction/ng-dashboards/lists-dashboards.module',\n load: () => import('@memberjunction/ng-dashboards/lists-dashboards.module').then(() => {})\n};\n\n// --- @memberjunction/ng-dashboards → ./mcp.module (2 entries) ---\nconst loadNgDashboardsMcpModule = {\n chunkId: '@memberjunction/ng-dashboards/mcp.module',\n load: () => import('@memberjunction/ng-dashboards/mcp.module').then(() => {})\n};\n\n// --- @memberjunction/ng-dashboards → ./module (3 entries) ---\nconst loadNgDashboardsModule = {\n chunkId: '@memberjunction/ng-dashboards/module',\n load: () => import('@memberjunction/ng-dashboards/module').then(() => {})\n};\n\n// --- @memberjunction/ng-dashboards → ./predictive-studio-dashboards.module (3 entries) ---\nconst loadNgDashboardsPredictiveStudioDashboardsModule = {\n chunkId: '@memberjunction/ng-dashboards/predictive-studio-dashboards.module',\n load: () => import('@memberjunction/ng-dashboards/predictive-studio-dashboards.module').then(() => {})\n};\n\n// --- @memberjunction/ng-dashboards → ./routines-dashboards.module (1 entries) ---\nconst loadNgDashboardsRoutinesDashboardsModule = {\n chunkId: '@memberjunction/ng-dashboards/routines-dashboards.module',\n load: () => import('@memberjunction/ng-dashboards/routines-dashboards.module').then(() => {})\n};\n\n// --- @memberjunction/ng-dashboards → ./scheduling-dashboards.module (4 entries) ---\nconst loadNgDashboardsSchedulingDashboardsModule = {\n chunkId: '@memberjunction/ng-dashboards/scheduling-dashboards.module',\n load: () => import('@memberjunction/ng-dashboards/scheduling-dashboards.module').then(() => {})\n};\n\n// --- @memberjunction/ng-dashboards → ./testing-dashboards.module (6 entries) ---\nconst loadNgDashboardsTestingDashboardsModule = {\n chunkId: '@memberjunction/ng-dashboards/testing-dashboards.module',\n load: () => import('@memberjunction/ng-dashboards/testing-dashboards.module').then(() => {})\n};\n\n// --- @memberjunction/ng-dashboards → ./workflows-dashboards.module (3 entries) ---\nconst loadNgDashboardsWorkflowsDashboardsModule = {\n chunkId: '@memberjunction/ng-dashboards/workflows-dashboards.module',\n load: () => import('@memberjunction/ng-dashboards/workflows-dashboards.module').then(() => {})\n};\n\n// --- @memberjunction/ng-explorer-settings → ./settings.module (6 entries) ---\nconst loadNgExplorerSettingsSettingsModule = {\n chunkId: '@memberjunction/ng-explorer-settings/settings.module',\n load: () => import('@memberjunction/ng-explorer-settings/settings.module').then(() => {})\n};\n\n// --- @memberjunction/ng-file-storage → ./file-storage.module (1 entries) ---\nconst loadNgFileStorageFileStorageModule = {\n chunkId: '@memberjunction/ng-file-storage/file-storage.module',\n load: () => import('@memberjunction/ng-file-storage/file-storage.module').then(() => {})\n};\n\n// --- @memberjunction/ng-react → . (1 entries) ---\nconst loadNgReact = {\n chunkId: '@memberjunction/ng-react',\n load: () => import('@memberjunction/ng-react').then(() => {})\n};\n\n/**\n * Complete mapping of compound keys (BaseClassName::Key) to their chunk descriptor.\n * Covers all @RegisterClass decorated classes in lazy-loaded packages.\n */\nexport const LAZY_FEATURE_CONFIG: Record<string, { chunkId: string; load: () => Promise<void> }> = {\n // @memberjunction/ng-dashboards → ./actions-dashboards.module\n 'BaseResourceComponent::ActionExplorerResource': loadNgDashboardsActionsDashboardsModule,\n 'BaseResourceComponent::ActionsCodeResource': loadNgDashboardsActionsDashboardsModule,\n 'BaseResourceComponent::ActionsEntitiesResource': loadNgDashboardsActionsDashboardsModule,\n 'BaseResourceComponent::ActionsMonitorResource': loadNgDashboardsActionsDashboardsModule,\n 'BaseResourceComponent::ActionsOverviewResource': loadNgDashboardsActionsDashboardsModule,\n 'BaseResourceComponent::ActionsSecurityResource': loadNgDashboardsActionsDashboardsModule,\n\n // @memberjunction/ng-dashboards → ./ai-dashboards.module\n 'BaseResourceComponent::AIAgentRequestsResource': loadNgDashboardsAiDashboardsModule,\n 'BaseResourceComponent::AIAgentsResource': loadNgDashboardsAiDashboardsModule,\n 'BaseResourceComponent::AIAnalyticsResource': loadNgDashboardsAiDashboardsModule,\n 'BaseResourceComponent::AIConfigResource': loadNgDashboardsAiDashboardsModule,\n 'BaseResourceComponent::AIModelsResource': loadNgDashboardsAiDashboardsModule,\n 'BaseResourceComponent::AIMonitorResource': loadNgDashboardsAiDashboardsModule,\n 'BaseResourceComponent::AIPromptsResource': loadNgDashboardsAiDashboardsModule,\n 'BaseResourceComponent::AnalyticsResource': loadNgDashboardsAiDashboardsModule,\n 'BaseResourceComponent::AutotaggingPipelineResource': loadNgDashboardsAiDashboardsModule,\n 'BaseResourceComponent::ClusterVisualizationResource': loadNgDashboardsAiDashboardsModule,\n 'BaseResourceComponent::DuplicateDetectionResource': loadNgDashboardsAiDashboardsModule,\n 'BaseResourceComponent::FeaturePipelinesResource': loadNgDashboardsAiDashboardsModule,\n 'BaseResourceComponent::KnowledgeConfigResource': loadNgDashboardsAiDashboardsModule,\n 'BaseResourceComponent::SchedulingResource': loadNgDashboardsAiDashboardsModule,\n 'BaseResourceComponent::Tags': loadNgDashboardsAiDashboardsModule,\n 'BaseResourceComponent::VectorManagementResource': loadNgDashboardsAiDashboardsModule,\n 'BaseResourceComponent::VisualizationResource': loadNgDashboardsAiDashboardsModule,\n\n // @memberjunction/ng-dashboards → ./communication-dashboards.module\n 'BaseDashboard::CommunicationDashboard': loadNgDashboardsCommunicationDashboardsModule,\n 'BaseResourceComponent::CommunicationLogsResource': loadNgDashboardsCommunicationDashboardsModule,\n 'BaseResourceComponent::CommunicationMonitorResource': loadNgDashboardsCommunicationDashboardsModule,\n 'BaseResourceComponent::CommunicationProvidersResource': loadNgDashboardsCommunicationDashboardsModule,\n 'BaseResourceComponent::CommunicationRunsResource': loadNgDashboardsCommunicationDashboardsModule,\n 'BaseResourceComponent::CommunicationsNewMessageResource': loadNgDashboardsCommunicationDashboardsModule,\n 'BaseResourceComponent::CommunicationTemplatesResource': loadNgDashboardsCommunicationDashboardsModule,\n\n // @memberjunction/ng-dashboards → ./component-studio-dashboards.module\n 'BaseDashboard::ComponentStudioDashboard': loadNgDashboardsComponentStudioDashboardsModule,\n 'BaseResourceComponent::ComponentStudioResource': loadNgDashboardsComponentStudioDashboardsModule,\n 'BaseResourceComponent::FormBuilderResource': loadNgDashboardsComponentStudioDashboardsModule,\n\n // @memberjunction/ng-dashboards → ./core-dashboards.module\n 'BaseApplication::HomeApplication': loadNgDashboardsCoreDashboardsModule,\n 'BaseDashboard::EntityAdmin': loadNgDashboardsCoreDashboardsModule,\n 'BaseDashboard::ThemeManagerDashboard': loadNgDashboardsCoreDashboardsModule,\n 'BaseDashboard::ThemeStudioDashboard': loadNgDashboardsCoreDashboardsModule,\n 'BaseResourceComponent::AdminDataSchema': loadNgDashboardsCoreDashboardsModule,\n 'BaseResourceComponent::AdminDeveloperTools': loadNgDashboardsCoreDashboardsModule,\n 'BaseResourceComponent::AdminIdentityAccess': loadNgDashboardsCoreDashboardsModule,\n 'BaseResourceComponent::AdminMonitoring': loadNgDashboardsCoreDashboardsModule,\n 'BaseResourceComponent::APIKeysResource': loadNgDashboardsCoreDashboardsModule,\n 'BaseResourceComponent::ApplicationRolesResource': loadNgDashboardsCoreDashboardsModule,\n 'BaseResourceComponent::AppStateInspector': loadNgDashboardsCoreDashboardsModule,\n 'BaseResourceComponent::BulkOperationsContainer': loadNgDashboardsCoreDashboardsModule,\n 'BaseResourceComponent::BulkOperationsOperations': loadNgDashboardsCoreDashboardsModule,\n 'BaseResourceComponent::BulkOperationsRunHistory': loadNgDashboardsCoreDashboardsModule,\n 'BaseResourceComponent::ClassRegistryInspector': loadNgDashboardsCoreDashboardsModule,\n 'BaseResourceComponent::DashboardBrowserResource': loadNgDashboardsCoreDashboardsModule,\n 'BaseResourceComponent::EventMonitorInspector': loadNgDashboardsCoreDashboardsModule,\n 'BaseResourceComponent::GraphQLConsoleInspector': loadNgDashboardsCoreDashboardsModule,\n 'BaseResourceComponent::GridWidthLabInspector': loadNgDashboardsCoreDashboardsModule,\n 'BaseResourceComponent::HomeDashboard': loadNgDashboardsCoreDashboardsModule,\n 'BaseResourceComponent::LayoutInspector': loadNgDashboardsCoreDashboardsModule,\n 'BaseResourceComponent::LazyModuleStatusInspector': loadNgDashboardsCoreDashboardsModule,\n 'BaseResourceComponent::PermissionsAuditLogResource': loadNgDashboardsCoreDashboardsModule,\n 'BaseResourceComponent::PermissionsResourceAccessResource': loadNgDashboardsCoreDashboardsModule,\n 'BaseResourceComponent::PermissionsUserAccessResource': loadNgDashboardsCoreDashboardsModule,\n 'BaseResourceComponent::QueryBrowserResource': loadNgDashboardsCoreDashboardsModule,\n 'BaseResourceComponent::RealtimeRecordingsDashboard': loadNgDashboardsCoreDashboardsModule,\n 'BaseResourceComponent::SettingsExplorerInspector': loadNgDashboardsCoreDashboardsModule,\n 'BaseResourceComponent::SystemDiagnosticsResource': loadNgDashboardsCoreDashboardsModule,\n 'BaseResourceComponent::TabStripLabInspector': loadNgDashboardsCoreDashboardsModule,\n 'BaseResourceComponent::ThemeManagerResource': loadNgDashboardsCoreDashboardsModule,\n 'BaseResourceComponent::ThemeStudioResource': loadNgDashboardsCoreDashboardsModule,\n 'BaseResourceComponent::VersionHistoryDiffResource': loadNgDashboardsCoreDashboardsModule,\n 'BaseResourceComponent::VersionHistoryGraphResource': loadNgDashboardsCoreDashboardsModule,\n 'BaseResourceComponent::VersionHistoryLabelsResource': loadNgDashboardsCoreDashboardsModule,\n 'BaseResourceComponent::VersionHistoryRestoreResource': loadNgDashboardsCoreDashboardsModule,\n\n // @memberjunction/ng-dashboards → ./credentials-dashboards.module\n 'BaseDashboard::CredentialsDashboard': loadNgDashboardsCredentialsDashboardsModule,\n 'BaseResourceComponent::CredentialsAuditResource': loadNgDashboardsCredentialsDashboardsModule,\n 'BaseResourceComponent::CredentialsCategoriesResource': loadNgDashboardsCredentialsDashboardsModule,\n 'BaseResourceComponent::CredentialsListResource': loadNgDashboardsCredentialsDashboardsModule,\n 'BaseResourceComponent::CredentialsOverviewResource': loadNgDashboardsCredentialsDashboardsModule,\n 'BaseResourceComponent::CredentialsTypesResource': loadNgDashboardsCredentialsDashboardsModule,\n\n // @memberjunction/ng-dashboards → ./data-explorer-dashboards.module\n 'BaseDashboard::DataExplorer': loadNgDashboardsDataExplorerDashboardsModule,\n 'BaseResourceComponent::DataExplorerResource': loadNgDashboardsDataExplorerDashboardsModule,\n\n // @memberjunction/ng-dashboards → ./integration.module\n 'BaseResourceComponent::IntegrationActivity': loadNgDashboardsIntegrationModule,\n 'BaseResourceComponent::IntegrationConnections': loadNgDashboardsIntegrationModule,\n 'BaseResourceComponent::IntegrationMappingWorkspace': loadNgDashboardsIntegrationModule,\n 'BaseResourceComponent::IntegrationOverview': loadNgDashboardsIntegrationModule,\n 'BaseResourceComponent::IntegrationPipelines': loadNgDashboardsIntegrationModule,\n 'BaseResourceComponent::IntegrationSchedules': loadNgDashboardsIntegrationModule,\n\n // @memberjunction/ng-dashboards → ./lists-dashboards.module\n 'BaseResourceComponent::ListsBrowseResource': loadNgDashboardsListsDashboardsModule,\n 'BaseResourceComponent::ListsCategoriesResource': loadNgDashboardsListsDashboardsModule,\n 'BaseResourceComponent::ListsMyListsResource': loadNgDashboardsListsDashboardsModule,\n 'BaseResourceComponent::ListsOperationsResource': loadNgDashboardsListsDashboardsModule,\n 'BaseResourceComponent::ListsSharedWithMeResource': loadNgDashboardsListsDashboardsModule,\n\n // @memberjunction/ng-dashboards → ./mcp.module\n 'BaseDashboard::MCPDashboard': loadNgDashboardsMcpModule,\n 'BaseResourceComponent::MCPResource': loadNgDashboardsMcpModule,\n\n // @memberjunction/ng-dashboards → ./module\n 'BaseResourceComponent::ArchiveConfigResource': loadNgDashboardsModule,\n 'BaseResourceComponent::ArchiveRunsResource': loadNgDashboardsModule,\n 'BaseResourceComponent::DatabaseDesignerDashboard': loadNgDashboardsModule,\n\n // @memberjunction/ng-dashboards → ./predictive-studio-dashboards.module\n 'BaseResourceComponent::PredictiveStudioModelsResource': loadNgDashboardsPredictiveStudioDashboardsModule,\n 'BaseResourceComponent::PredictiveStudioPredictionsResource': loadNgDashboardsPredictiveStudioDashboardsModule,\n 'BaseResourceComponent::PredictiveStudioStudioResource': loadNgDashboardsPredictiveStudioDashboardsModule,\n\n // @memberjunction/ng-dashboards → ./routines-dashboards.module\n 'BaseResourceComponent::UserRoutines': loadNgDashboardsRoutinesDashboardsModule,\n\n // @memberjunction/ng-dashboards → ./scheduling-dashboards.module\n 'BaseDashboard::SchedulingDashboard': loadNgDashboardsSchedulingDashboardsModule,\n 'BaseResourceComponent::SchedulingActivityResource': loadNgDashboardsSchedulingDashboardsModule,\n 'BaseResourceComponent::SchedulingDashboardResource': loadNgDashboardsSchedulingDashboardsModule,\n 'BaseResourceComponent::SchedulingJobsResource': loadNgDashboardsSchedulingDashboardsModule,\n\n // @memberjunction/ng-dashboards → ./testing-dashboards.module\n 'BaseDashboard::TestingDashboard': loadNgDashboardsTestingDashboardsModule,\n 'BaseResourceComponent::TestingAnalyticsResource': loadNgDashboardsTestingDashboardsModule,\n 'BaseResourceComponent::TestingDashboardTabResource': loadNgDashboardsTestingDashboardsModule,\n 'BaseResourceComponent::TestingExplorerResource': loadNgDashboardsTestingDashboardsModule,\n 'BaseResourceComponent::TestingReviewResource': loadNgDashboardsTestingDashboardsModule,\n 'BaseResourceComponent::TestingRunsResource': loadNgDashboardsTestingDashboardsModule,\n\n // @memberjunction/ng-dashboards → ./workflows-dashboards.module\n 'BaseDashboard::WorkflowsDashboard': loadNgDashboardsWorkflowsDashboardsModule,\n 'BaseResourceComponent::WorkflowRunsResource': loadNgDashboardsWorkflowsDashboardsModule,\n 'BaseResourceComponent::WorkflowsResource': loadNgDashboardsWorkflowsDashboardsModule,\n\n // @memberjunction/ng-explorer-settings → ./settings.module\n 'BaseDashboard::ApplicationManagement': loadNgExplorerSettingsSettingsModule,\n 'BaseDashboard::EntityPermissions': loadNgExplorerSettingsSettingsModule,\n 'BaseDashboard::RoleManagement': loadNgExplorerSettingsSettingsModule,\n 'BaseDashboard::SqlLogging': loadNgExplorerSettingsSettingsModule,\n 'BaseDashboard::UserManagement': loadNgExplorerSettingsSettingsModule,\n 'BaseNavigationComponent::Settings': loadNgExplorerSettingsSettingsModule,\n\n // @memberjunction/ng-file-storage → ./file-storage.module\n 'BaseResourceComponent::FileBrowserResource': loadNgFileStorageFileStorageModule,\n\n // @memberjunction/ng-react → .\n 'RuntimeUtilities::RuntimeUtilities': loadNgReact,\n\n};\n\nexport const LAZY_FEATURE_CONFIG_COUNT = 118;\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"record-resource.component.d.ts","sourceRoot":"","sources":["../../../src/lib/resource-wrappers/record-resource.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAClE,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAE7D,OAAO,EAAY,YAAY,EAAc,iBAAiB,
|
|
1
|
+
{"version":3,"file":"record-resource.component.d.ts","sourceRoot":"","sources":["../../../src/lib/resource-wrappers/record-resource.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAClE,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAE7D,OAAO,EAAY,YAAY,EAAc,iBAAiB,EAA0B,MAAM,sBAAsB,CAAC;;AACrH,qBAOa,oBAAqB,SAAQ,qBAAqB;IAC3D,IAAW,UAAU,IAAI,YAAY,CAEpC;WAEa,aAAa,CAAC,IAAI,EAAE,YAAY,EAAE,QAAQ,CAAC,EAAE,iBAAiB,GAAG,YAAY;IA4BrF,sBAAsB,CAAC,IAAI,EAAE,YAAY,GAAG,OAAO,CAAC,MAAM,CAAC;IA2B3D,oBAAoB,CAAC,IAAI,EAAE,YAAY,GAAG,OAAO,CAAC,MAAM,CAAC;yCA5DtD,oBAAoB;2CAApB,oBAAoB;CAyEhC"}
|
|
@@ -8,7 +8,7 @@ var EntityRecordResource_1;
|
|
|
8
8
|
import { Component } from '@angular/core';
|
|
9
9
|
import { BaseResourceComponent } from '@memberjunction/ng-shared';
|
|
10
10
|
import { RegisterClass } from '@memberjunction/global';
|
|
11
|
-
import { Metadata, CompositeKey } from '@memberjunction/core';
|
|
11
|
+
import { Metadata, CompositeKey, IsNewEntityRecordUrlId } from '@memberjunction/core';
|
|
12
12
|
import * as i0 from "@angular/core";
|
|
13
13
|
import * as i1 from "../single-record/single-record.component";
|
|
14
14
|
let EntityRecordResource = class EntityRecordResource extends BaseResourceComponent {
|
|
@@ -33,6 +33,9 @@ let EntityRecordResource = class EntityRecordResource extends BaseResourceCompon
|
|
|
33
33
|
if (!e) {
|
|
34
34
|
throw new Error(`Entity ${data.Configuration.Entity} not found in metadata (tried Name and DisplayName)`);
|
|
35
35
|
}
|
|
36
|
+
if (IsNewEntityRecordUrlId(data.ResourceRecordID)) {
|
|
37
|
+
return new CompositeKey();
|
|
38
|
+
}
|
|
36
39
|
let compositeKey = new CompositeKey();
|
|
37
40
|
compositeKey.LoadFromURLSegment(e, data.ResourceRecordID);
|
|
38
41
|
return compositeKey;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"record-resource.component.js","sourceRoot":"","sources":["../../../src/lib/resource-wrappers/record-resource.component.ts"],"names":[],"mappings":";;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC1C,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAElE,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAiC,MAAM,sBAAsB,CAAC;;;
|
|
1
|
+
{"version":3,"file":"record-resource.component.js","sourceRoot":"","sources":["../../../src/lib/resource-wrappers/record-resource.component.ts"],"names":[],"mappings":";;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC1C,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAElE,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAiC,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;;;AAQ9G,IAAM,oBAAoB,GAA1B,MAAM,oBAAqB,SAAQ,qBAAqB;;IAC3D,IAAW,UAAU;QACjB,OAAO,sBAAoB,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,aAAa,CAAC,CAAC;IAC7E,CAAC;IAEM,MAAM,CAAC,aAAa,CAAC,IAAkB,EAAE,QAA4B;QACxE,oGAAoG;QACpG,MAAM,EAAE,GAAG,CAAC,QAAQ,IAAI,QAAQ,CAAC,QAAQ,CAAsB,CAAC;QAChE,MAAM,SAAS,GAAG,CAAC,IAAI,CAAC,aAAa,CAAC,MAAM,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,CA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IAAI,CAAC;;gBAEf,OAAO,EAAE,CAAC;QAClB,CAAC;IACL,CAAC;6PAxEQ,oBAAoB,yBAApB,oBAAoB;6DAApB,oBAAoB;YAFlB,2CAA8Q;YAA3C,AAA5C,AAAtC,yHAAgB,wBAAoB,IAAC,gHAAgB,+BAA2B,IAAC,kHAAoB,0BAAsB,IAAC;YAAC,iBAAmB;;YAAvM,AAAzC,AAA/B,2CAA8B,6CAAyC,2DAAuD;;;AAElJ,oBAAoB;IAPhC,aAAa,CAAC,qBAAqB,EAAE,gBAAgB,CAAC;GAO1C,oBAAoB,CAyEhC;;iFAzEY,oBAAoB;cANhC,SAAS;6BACI,KAAK,YACL,oBAAoB,YAEpB,mSAAmS;;kFAEpS,oBAAoB","sourcesContent":["import { Component } from '@angular/core';\nimport { BaseResourceComponent } from '@memberjunction/ng-shared';\nimport { ResourceData } from '@memberjunction/core-entities';\nimport { RegisterClass } from '@memberjunction/global';\nimport { Metadata, CompositeKey, EntityInfo, IMetadataProvider, IsNewEntityRecordUrlId } from '@memberjunction/core';\n@RegisterClass(BaseResourceComponent, 'RecordResource')\n@Component({\n standalone: false,\n selector: 'mj-record-resource',\n styles: [`:host { display: block; height: 100%; width: 100%; }`],\n template: `<mj-single-record [PrimaryKey]=\"this.PrimaryKey\" [entityName]=\"Data.Configuration.Entity\" [newRecordValues]=\"Data.Configuration.NewRecordValues\" (loadComplete)=\"NotifyLoadComplete()\" (recordSaved)=\"ResourceRecordSaved($event)\" (recordDismissed)=\"NotifyCloseRequested()\"></mj-single-record>`\n})\nexport class EntityRecordResource extends BaseResourceComponent {\n public get PrimaryKey(): CompositeKey {\n return EntityRecordResource.GetPrimaryKey(this.Data, this.ProviderToUse);\n }\n\n public static GetPrimaryKey(data: ResourceData, provider?: IMetadataProvider): CompositeKey {\n // global-provider-ok: static helper has no component instance scope; falls back to default provider\n const md = (provider ?? Metadata.Provider) as IMetadataProvider;\n const requested = (data.Configuration.Entity ?? '').trim();\n // Prefer EntityByName (project rule: never use Entities.find for\n // single-entity lookups — case/whitespace tolerant + O(1) map). Fall\n // back to DisplayName match for callers (AI agents, hand-typed URLs,\n // external CTAs) that pass the human-readable display name instead\n // of the canonical Name (e.g. \"Users\" for \"MJ: Users\").\n let e: EntityInfo | undefined = md.EntityByName(requested);\n if (!e) {\n const lowered = requested.toLowerCase();\n e = md.Entities.find((x: EntityInfo) =>\n (x.DisplayName ?? '').trim().toLowerCase() === lowered);\n }\n if (!e){\n throw new Error(`Entity ${data.Configuration.Entity} not found in metadata (tried Name and DisplayName)`);\n }\n\n if (IsNewEntityRecordUrlId(data.ResourceRecordID)) {\n return new CompositeKey();\n }\n\n let compositeKey: CompositeKey = new CompositeKey();\n compositeKey.LoadFromURLSegment(e, data.ResourceRecordID);\n return compositeKey;\n }\n\n async GetResourceDisplayName(data: ResourceData): Promise<string> {\n if (!data.Configuration.Entity) {\n return '';\n }\n\n const md = this.ProviderToUse;\n let e = md.EntityByName(data.Configuration.Entity);\n if (!e) {\n // Same DisplayName fallback as GetPrimaryKey — keeps the\n // breadcrumb/title in sync when a CTA used the display name.\n const lowered = (data.Configuration.Entity ?? '').trim().toLowerCase();\n e = md.Entities.find((x: EntityInfo) =>\n (x.DisplayName ?? '').trim().toLowerCase() === lowered);\n }\n if (!e) {\n return '';\n }\n\n const pk: CompositeKey = EntityRecordResource.GetPrimaryKey(data, this.ProviderToUse);\n if (pk.HasValue) {\n const name = await md.GetEntityRecordName(data.Configuration.Entity, pk);\n return name ? name : e.DisplayNameOrName;\n } else {\n return `New ${e.DisplayNameOrName} Record`;\n }\n }\n\n async GetResourceIconClass(data: ResourceData): Promise<string> {\n if (!data.Configuration.Entity){\n return ''\n }\n else {\n const md = this.ProviderToUse;\n const e = md.Entities.find(e => e.Name.trim().toLowerCase() === data.Configuration.Entity.trim().toLowerCase());\n if (e)\n return e?.Icon;\n else\n return '';\n }\n }\n}\n"]}
|
|
@@ -246,6 +246,13 @@ export declare class ShellComponent extends BaseAngularComponent implements OnIn
|
|
|
246
246
|
* Creates new tabs for resources when the original tab was replaced.
|
|
247
247
|
*/
|
|
248
248
|
private handleMissingTabForUrl;
|
|
249
|
+
/**
|
|
250
|
+
* Recreate a record tab from a URL. `/new` is OpenNewEntityRecord — feeding
|
|
251
|
+
* the sentinel through OpenEntityRecord produced an empty CompositeKey and
|
|
252
|
+
* another forced tab, which is the loop that killed the browser.
|
|
253
|
+
*/
|
|
254
|
+
private openRecordFromUrl;
|
|
255
|
+
private recordTabMatchesUrl;
|
|
249
256
|
/**
|
|
250
257
|
* Find the tab that matches a given URL
|
|
251
258
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shell.component.d.ts","sourceRoot":"","sources":["../../../src/lib/shell/shell.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,MAAM,EAAE,SAAS,EAAE,aAAa,EAAE,iBAAiB,EAAE,gBAAgB,EAAa,UAAU,EAAgB,MAAM,eAAe,CAAC;AACtJ,OAAO,EAAE,cAAc,EAAE,MAAM,EAAiB,MAAM,iBAAiB,CAAC;AAGxE,OAAO,EACL,kBAAkB,EAClB,qBAAqB,EACrB,mBAAmB,EACnB,eAAe,EACf,UAAU,EAIV,OAAO,EACR,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAAY,UAAU,
|
|
1
|
+
{"version":3,"file":"shell.component.d.ts","sourceRoot":"","sources":["../../../src/lib/shell/shell.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,MAAM,EAAE,SAAS,EAAE,aAAa,EAAE,iBAAiB,EAAE,gBAAgB,EAAa,UAAU,EAAgB,MAAM,eAAe,CAAC;AACtJ,OAAO,EAAE,cAAc,EAAE,MAAM,EAAiB,MAAM,iBAAiB,CAAC;AAGxE,OAAO,EACL,kBAAkB,EAClB,qBAAqB,EACrB,mBAAmB,EACnB,eAAe,EACf,UAAU,EAIV,OAAO,EACR,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAAY,UAAU,EAAgN,MAAM,sBAAsB,CAA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;YACW,qBAAqB;yCAlwGxB,cAAc;2CAAd,cAAc;CAixG1B"}
|
|
@@ -2,7 +2,7 @@ import { Component, ViewChild, HostListener } from '@angular/core';
|
|
|
2
2
|
import { NavigationEnd } from '@angular/router';
|
|
3
3
|
import { combineLatest, Subject } from 'rxjs';
|
|
4
4
|
import { filter, takeUntil } from 'rxjs/operators';
|
|
5
|
-
import { LogStatus, LogError, StartupManager, CompositeKey } from '@memberjunction/core';
|
|
5
|
+
import { LogStatus, LogError, StartupManager, CompositeKey, EncodeNewRecordValuesForURL, IsNewEntityRecordUrlId, NEW_ENTITY_RECORD_URL_ID, NEW_RECORD_VALUES_QUERY_PARAM, RecordUrlMatchesTab, ResourceUrlsEquivalent } from '@memberjunction/core';
|
|
6
6
|
import { MJEventType, MJGlobal, uuidv4, UUIDsEqual } from '@memberjunction/global';
|
|
7
7
|
import { EventCodes, SharedService, SYSTEM_APP_ID, SetRecordOpenStyle, IsRecordsRegionTab, IsRecordsTabConfiguration } from '@memberjunction/ng-shared';
|
|
8
8
|
import { MJNotificationService } from '@memberjunction/ng-notifications';
|
|
@@ -1292,8 +1292,11 @@ export class ShellComponent extends BaseAngularComponent {
|
|
|
1292
1292
|
// Compare full URLs including query params to detect changes
|
|
1293
1293
|
const currentUrl = this.router.url;
|
|
1294
1294
|
const newUrl = resourceUrl;
|
|
1295
|
-
//
|
|
1296
|
-
|
|
1295
|
+
// Decode before compare. encodeURIComponent writes `%3A` for the
|
|
1296
|
+
// colon in `MJ_BizApps_Orders: Order Headers`; Angular's serializer
|
|
1297
|
+
// leaves `:`. A raw !== is permanently true and reloads the route
|
|
1298
|
+
// until the tab dies (Person → Orders → New).
|
|
1299
|
+
if (!ResourceUrlsEquivalent(currentUrl, newUrl)) {
|
|
1297
1300
|
// Suppress ResourceResolver for this navigation - we're just syncing the URL
|
|
1298
1301
|
// to reflect the current active tab, not requesting a new tab to be opened
|
|
1299
1302
|
this.tabService.SuppressNextResolve();
|
|
@@ -1380,12 +1383,7 @@ export class ShellComponent extends BaseAngularComponent {
|
|
|
1380
1383
|
if (appRecordMatch) {
|
|
1381
1384
|
const entityName = decodeURIComponent(appRecordMatch[2]);
|
|
1382
1385
|
const recordId = decodeURIComponent(appRecordMatch[3]);
|
|
1383
|
-
|
|
1384
|
-
compositeKey.SimpleLoadFromURLSegment(recordId);
|
|
1385
|
-
// Recreating a closed tab from browser history — the user's CURRENT
|
|
1386
|
-
// page is not where this record came from, so don't stamp it as the
|
|
1387
|
-
// origin (recordSource 'none' = no crumb rather than a false one).
|
|
1388
|
-
this.navigationService.OpenEntityRecord(entityName, compositeKey, { recordSource: 'none' });
|
|
1386
|
+
this.openRecordFromUrl(entityName, recordId, queryParams);
|
|
1389
1387
|
return;
|
|
1390
1388
|
}
|
|
1391
1389
|
// Check for app-scoped view URL: /app/:appName/view/:viewId
|
|
@@ -1488,11 +1486,7 @@ export class ShellComponent extends BaseAngularComponent {
|
|
|
1488
1486
|
if (legacyRecordMatch) {
|
|
1489
1487
|
const entityName = decodeURIComponent(legacyRecordMatch[1]);
|
|
1490
1488
|
const recordId = decodeURIComponent(legacyRecordMatch[2]);
|
|
1491
|
-
|
|
1492
|
-
compositeKey.SimpleLoadFromURLSegment(recordId);
|
|
1493
|
-
// Same as the app-scoped branch above: history recreation has no
|
|
1494
|
-
// truthful origin — suppress the crumb instead of inventing one.
|
|
1495
|
-
this.navigationService.OpenEntityRecord(entityName, compositeKey, { recordSource: 'none' });
|
|
1489
|
+
this.openRecordFromUrl(entityName, recordId, queryParams);
|
|
1496
1490
|
return;
|
|
1497
1491
|
}
|
|
1498
1492
|
// Check for legacy view URL: /resource/view/:viewId
|
|
@@ -1514,6 +1508,30 @@ export class ShellComponent extends BaseAngularComponent {
|
|
|
1514
1508
|
this.urlBasedNavigation = false;
|
|
1515
1509
|
}
|
|
1516
1510
|
}
|
|
1511
|
+
/**
|
|
1512
|
+
* Recreate a record tab from a URL. `/new` is OpenNewEntityRecord — feeding
|
|
1513
|
+
* the sentinel through OpenEntityRecord produced an empty CompositeKey and
|
|
1514
|
+
* another forced tab, which is the loop that killed the browser.
|
|
1515
|
+
*/
|
|
1516
|
+
openRecordFromUrl(entityName, recordId, queryParams) {
|
|
1517
|
+
if (IsNewEntityRecordUrlId(recordId)) {
|
|
1518
|
+
const nrv = queryParams.get(NEW_RECORD_VALUES_QUERY_PARAM) ?? undefined;
|
|
1519
|
+
this.navigationService.OpenNewEntityRecord(entityName, {
|
|
1520
|
+
newRecordValues: nrv,
|
|
1521
|
+
recordSource: 'none',
|
|
1522
|
+
});
|
|
1523
|
+
return;
|
|
1524
|
+
}
|
|
1525
|
+
const compositeKey = new CompositeKey();
|
|
1526
|
+
compositeKey.SimpleLoadFromURLSegment(recordId);
|
|
1527
|
+
this.navigationService.OpenEntityRecord(entityName, compositeKey, { recordSource: 'none' });
|
|
1528
|
+
}
|
|
1529
|
+
recordTabMatchesUrl(tab, entityName, recordId) {
|
|
1530
|
+
const tabConfig = tab.configuration || {};
|
|
1531
|
+
const tabEntity = (tabConfig['Entity'] || tabConfig['entity']);
|
|
1532
|
+
const tabRecordId = (tabConfig['recordId'] ?? tab.resourceRecordId);
|
|
1533
|
+
return RecordUrlMatchesTab(entityName, recordId, tabEntity, tabRecordId);
|
|
1534
|
+
}
|
|
1517
1535
|
/**
|
|
1518
1536
|
* Find the tab that matches a given URL
|
|
1519
1537
|
*/
|
|
@@ -1582,13 +1600,7 @@ export class ShellComponent extends BaseAngularComponent {
|
|
|
1582
1600
|
if (appRecordMatch) {
|
|
1583
1601
|
const entityName = decodeURIComponent(appRecordMatch[2]);
|
|
1584
1602
|
const recordId = decodeURIComponent(appRecordMatch[3]);
|
|
1585
|
-
return tabs.find(tab =>
|
|
1586
|
-
const tabConfig = tab.configuration || {};
|
|
1587
|
-
const tabEntity = (tabConfig['Entity'] || tabConfig['entity']);
|
|
1588
|
-
const tabRecordId = (tabConfig['recordId'] || tab.resourceRecordId);
|
|
1589
|
-
return tabEntity?.toLowerCase() === entityName.toLowerCase() &&
|
|
1590
|
-
tabRecordId === recordId;
|
|
1591
|
-
}) || null;
|
|
1603
|
+
return tabs.find(tab => this.recordTabMatchesUrl(tab, entityName, recordId)) || null;
|
|
1592
1604
|
}
|
|
1593
1605
|
// Dynamic view: /app/:appName/view/dynamic/:entityName
|
|
1594
1606
|
const appDynamicViewMatch = urlPath.match(/^\/app\/([^\/]+)\/view\/dynamic\/(.+)$/);
|
|
@@ -1652,13 +1664,7 @@ export class ShellComponent extends BaseAngularComponent {
|
|
|
1652
1664
|
if (recordMatch) {
|
|
1653
1665
|
const entityName = decodeURIComponent(recordMatch[1]);
|
|
1654
1666
|
const recordId = decodeURIComponent(recordMatch[2]);
|
|
1655
|
-
return tabs.find(tab =>
|
|
1656
|
-
const tabConfig = tab.configuration || {};
|
|
1657
|
-
const tabEntity = (tabConfig['Entity'] || tabConfig['entity']);
|
|
1658
|
-
const tabRecordId = (tabConfig['recordId'] || tab.resourceRecordId);
|
|
1659
|
-
return tabEntity?.toLowerCase() === entityName.toLowerCase() &&
|
|
1660
|
-
tabRecordId === recordId;
|
|
1661
|
-
}) || null;
|
|
1667
|
+
return tabs.find(tab => this.recordTabMatchesUrl(tab, entityName, recordId)) || null;
|
|
1662
1668
|
}
|
|
1663
1669
|
// Check for view URL: /resource/view/:viewId
|
|
1664
1670
|
const viewMatch = urlPath.match(/^\/resource\/view\/([^\/]+)$/);
|
|
@@ -1725,11 +1731,12 @@ export class ShellComponent extends BaseAngularComponent {
|
|
|
1725
1731
|
const isAppDefault = config['isAppDefault'];
|
|
1726
1732
|
const tabAppId = tab.applicationId;
|
|
1727
1733
|
// Helper to append query params to a URL, preserving any existing params
|
|
1728
|
-
const appendQP = (url) => {
|
|
1729
|
-
|
|
1734
|
+
const appendQP = (url, extra) => {
|
|
1735
|
+
const all = { ...(queryParams ?? {}), ...(extra ?? {}) };
|
|
1736
|
+
if (Object.keys(all).length === 0)
|
|
1730
1737
|
return url;
|
|
1731
1738
|
const separator = url.includes('?') ? '&' : '?';
|
|
1732
|
-
const params = new URLSearchParams(
|
|
1739
|
+
const params = new URLSearchParams(all);
|
|
1733
1740
|
return `${url}${separator}${params.toString()}`;
|
|
1734
1741
|
};
|
|
1735
1742
|
// Helper function to get app path for URL
|
|
@@ -1832,13 +1839,19 @@ export class ShellComponent extends BaseAngularComponent {
|
|
|
1832
1839
|
switch (resourceType) {
|
|
1833
1840
|
case 'records':
|
|
1834
1841
|
// /app/:appName/record/:entityName/:recordId
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
+
// Unsaved records use the `new` sentinel so they can deeplink with NewRecordValues.
|
|
1843
|
+
if (entityName) {
|
|
1844
|
+
const isNewRecord = config['isNew'] === true || IsNewEntityRecordUrlId(recordId);
|
|
1845
|
+
const idSeg = isNewRecord ? NEW_ENTITY_RECORD_URL_ID : recordId;
|
|
1846
|
+
if (idSeg) {
|
|
1847
|
+
// recordId is a CompositeKey URL segment ("ID|<value>") — the '|' MUST be encoded.
|
|
1848
|
+
// Angular's UrlSerializer percent-encodes '|' to %7C in router.url, so if we embed it raw
|
|
1849
|
+
// here, `syncUrlWithWorkspace`'s `currentUrl !== newUrl` check is permanently true and can
|
|
1850
|
+
// drive a re-navigation loop (with onSameUrlNavigation:'reload'). The read side already
|
|
1851
|
+
// decodeURIComponent()s this segment, so encoding here keeps both sides consistent.
|
|
1852
|
+
const nrv = isNewRecord ? EncodeNewRecordValuesForURL(config['NewRecordValues']) : undefined;
|
|
1853
|
+
return appendQP(`/app/${encodeURIComponent(appPath)}/record/${encodeURIComponent(entityName)}/${encodeURIComponent(idSeg)}`, nrv ? { [NEW_RECORD_VALUES_QUERY_PARAM]: nrv } : undefined);
|
|
1854
|
+
}
|
|
1842
1855
|
}
|
|
1843
1856
|
break;
|
|
1844
1857
|
case 'user views':
|
|
@@ -1903,10 +1916,15 @@ export class ShellComponent extends BaseAngularComponent {
|
|
|
1903
1916
|
// Fallback to legacy routes (for backward compatibility during transition)
|
|
1904
1917
|
switch (resourceType) {
|
|
1905
1918
|
case 'records':
|
|
1906
|
-
if (entityName
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1919
|
+
if (entityName) {
|
|
1920
|
+
const isNewRecord = config['isNew'] === true || IsNewEntityRecordUrlId(recordId);
|
|
1921
|
+
const idSeg = isNewRecord ? NEW_ENTITY_RECORD_URL_ID : recordId;
|
|
1922
|
+
if (idSeg) {
|
|
1923
|
+
// Encode the CompositeKey segment ('|' → %7C) to match Angular's serialized router.url and
|
|
1924
|
+
// the decodeURIComponent() on the read side — see the app-scoped 'records' case above.
|
|
1925
|
+
const nrv = isNewRecord ? EncodeNewRecordValuesForURL(config['NewRecordValues']) : undefined;
|
|
1926
|
+
return appendQP(`/resource/record/${encodeURIComponent(entityName)}/${encodeURIComponent(idSeg)}`, nrv ? { [NEW_RECORD_VALUES_QUERY_PARAM]: nrv } : undefined);
|
|
1927
|
+
}
|
|
1910
1928
|
}
|
|
1911
1929
|
break;
|
|
1912
1930
|
case 'user views':
|