@memberjunction/ng-explorer-core 5.21.0 → 5.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/lazy-feature-config.d.ts +19 -0
- package/dist/generated/lazy-feature-config.d.ts.map +1 -0
- package/dist/generated/lazy-feature-config.js +144 -0
- package/dist/generated/lazy-feature-config.js.map +1 -0
- package/dist/lib/command-palette/command-palette.component.d.ts +10 -1
- package/dist/lib/command-palette/command-palette.component.d.ts.map +1 -1
- package/dist/lib/command-palette/command-palette.component.js +68 -16
- package/dist/lib/command-palette/command-palette.component.js.map +1 -1
- package/dist/lib/dashboard-preferences-dialog/dashboard-preferences-dialog.component.js +49 -49
- package/dist/lib/dashboard-preferences-dialog/dashboard-preferences-dialog.component.js.map +1 -1
- package/dist/lib/generic/form-toolbar.js +10 -10
- package/dist/lib/generic/form-toolbar.js.map +1 -1
- package/dist/lib/generic/resource-container-component.d.ts +0 -1
- package/dist/lib/generic/resource-container-component.d.ts.map +1 -1
- package/dist/lib/generic/resource-container-component.js +3 -12
- package/dist/lib/generic/resource-container-component.js.map +1 -1
- package/dist/lib/oauth/oauth-callback.component.js +6 -6
- package/dist/lib/oauth/oauth-callback.component.js.map +1 -1
- package/dist/lib/oauth/oauth.module.d.ts +2 -3
- package/dist/lib/oauth/oauth.module.d.ts.map +1 -1
- package/dist/lib/oauth/oauth.module.js +0 -4
- package/dist/lib/oauth/oauth.module.js.map +1 -1
- package/dist/lib/resource-wrappers/chat-collections-resource.component.d.ts +8 -23
- package/dist/lib/resource-wrappers/chat-collections-resource.component.d.ts.map +1 -1
- package/dist/lib/resource-wrappers/chat-collections-resource.component.js +68 -117
- package/dist/lib/resource-wrappers/chat-collections-resource.component.js.map +1 -1
- package/dist/lib/resource-wrappers/chat-conversations-resource.component.d.ts +9 -21
- package/dist/lib/resource-wrappers/chat-conversations-resource.component.d.ts.map +1 -1
- package/dist/lib/resource-wrappers/chat-conversations-resource.component.js +66 -137
- package/dist/lib/resource-wrappers/chat-conversations-resource.component.js.map +1 -1
- package/dist/lib/resource-wrappers/chat-tasks-resource.component.d.ts +3 -19
- package/dist/lib/resource-wrappers/chat-tasks-resource.component.d.ts.map +1 -1
- package/dist/lib/resource-wrappers/chat-tasks-resource.component.js +16 -98
- package/dist/lib/resource-wrappers/chat-tasks-resource.component.js.map +1 -1
- package/dist/lib/resource-wrappers/dashboard-resource.component.d.ts +0 -1
- package/dist/lib/resource-wrappers/dashboard-resource.component.d.ts.map +1 -1
- package/dist/lib/resource-wrappers/dashboard-resource.component.js +4 -12
- package/dist/lib/resource-wrappers/dashboard-resource.component.js.map +1 -1
- package/dist/lib/resource-wrappers/view-resource.component.d.ts +13 -11
- package/dist/lib/resource-wrappers/view-resource.component.d.ts.map +1 -1
- package/dist/lib/resource-wrappers/view-resource.component.js +80 -89
- package/dist/lib/resource-wrappers/view-resource.component.js.map +1 -1
- package/dist/lib/services/lazy-module-registry.d.ts +24 -9
- package/dist/lib/services/lazy-module-registry.d.ts.map +1 -1
- package/dist/lib/services/lazy-module-registry.js +32 -13
- package/dist/lib/services/lazy-module-registry.js.map +1 -1
- package/dist/lib/shell/components/header/app-nav.component.d.ts.map +1 -1
- package/dist/lib/shell/components/header/app-nav.component.js +18 -3
- package/dist/lib/shell/components/header/app-nav.component.js.map +1 -1
- package/dist/lib/shell/components/tabs/component-cache-manager.d.ts +38 -16
- package/dist/lib/shell/components/tabs/component-cache-manager.d.ts.map +1 -1
- package/dist/lib/shell/components/tabs/component-cache-manager.js +57 -35
- package/dist/lib/shell/components/tabs/component-cache-manager.js.map +1 -1
- package/dist/lib/shell/components/tabs/tab-container.component.d.ts +56 -1
- package/dist/lib/shell/components/tabs/tab-container.component.d.ts.map +1 -1
- package/dist/lib/shell/components/tabs/tab-container.component.js +298 -53
- package/dist/lib/shell/components/tabs/tab-container.component.js.map +1 -1
- package/dist/lib/shell/services/settings-dialog.service.d.ts +8 -8
- package/dist/lib/shell/services/settings-dialog.service.d.ts.map +1 -1
- package/dist/lib/shell/services/settings-dialog.service.js +20 -26
- package/dist/lib/shell/services/settings-dialog.service.js.map +1 -1
- package/dist/lib/shell/shell.component.d.ts +26 -2
- package/dist/lib/shell/shell.component.d.ts.map +1 -1
- package/dist/lib/shell/shell.component.js +225 -54
- package/dist/lib/shell/shell.component.js.map +1 -1
- package/dist/lib/shell/shell.module.d.ts +4 -5
- package/dist/lib/shell/shell.module.d.ts.map +1 -1
- package/dist/lib/shell/shell.module.js +4 -8
- package/dist/lib/shell/shell.module.js.map +1 -1
- package/dist/lib/single-dashboard/Components/add-item/add-item.component.js +72 -71
- package/dist/lib/single-dashboard/Components/add-item/add-item.component.js.map +1 -1
- package/dist/lib/single-dashboard/Components/delete-item/delete-item.component.js +11 -11
- package/dist/lib/single-dashboard/Components/delete-item/delete-item.component.js.map +1 -1
- package/dist/lib/single-dashboard/Components/edit-dashboard/edit-dashboard.component.d.ts +36 -12
- package/dist/lib/single-dashboard/Components/edit-dashboard/edit-dashboard.component.d.ts.map +1 -1
- package/dist/lib/single-dashboard/Components/edit-dashboard/edit-dashboard.component.js +78 -50
- package/dist/lib/single-dashboard/Components/edit-dashboard/edit-dashboard.component.js.map +1 -1
- package/dist/lib/single-dashboard/single-dashboard.component.d.ts +12 -5
- package/dist/lib/single-dashboard/single-dashboard.component.d.ts.map +1 -1
- package/dist/lib/single-dashboard/single-dashboard.component.js +44 -55
- package/dist/lib/single-dashboard/single-dashboard.component.js.map +1 -1
- package/dist/lib/single-list-detail/single-list-detail.component.d.ts +10 -2
- package/dist/lib/single-list-detail/single-list-detail.component.d.ts.map +1 -1
- package/dist/lib/single-list-detail/single-list-detail.component.js +313 -243
- package/dist/lib/single-list-detail/single-list-detail.component.js.map +1 -1
- package/dist/lib/user-menu/base-user-menu.d.ts +4 -0
- package/dist/lib/user-menu/base-user-menu.d.ts.map +1 -1
- package/dist/lib/user-menu/base-user-menu.js +26 -0
- package/dist/lib/user-menu/base-user-menu.js.map +1 -1
- package/dist/lib/user-menu/user-menu.types.d.ts +20 -0
- package/dist/lib/user-menu/user-menu.types.d.ts.map +1 -1
- package/dist/lib/user-menu/user-menu.types.js.map +1 -1
- package/dist/module.d.ts +23 -34
- package/dist/module.d.ts.map +1 -1
- package/dist/module.js +33 -74
- package/dist/module.js.map +1 -1
- package/dist/public-api.d.ts +1 -1
- package/dist/public-api.d.ts.map +1 -1
- package/dist/public-api.js +1 -1
- package/dist/public-api.js.map +1 -1
- package/package.json +38 -47
- package/dist/lib/services/lazy-feature-config.d.ts +0 -16
- package/dist/lib/services/lazy-feature-config.d.ts.map +0 -1
- package/dist/lib/services/lazy-feature-config.js +0 -113
- package/dist/lib/services/lazy-feature-config.js.map +0 -1
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Maps resource type names to lazy-loading functions for each feature chunk.
|
|
3
|
-
* The import() calls point to the feature module files in @memberjunction/ng-dashboards
|
|
4
|
-
* and @memberjunction/ng-explorer-settings using subpath exports.
|
|
5
|
-
*
|
|
6
|
-
* When a resource type is not found in ClassFactory, the LazyModuleRegistry uses
|
|
7
|
-
* this config to load the chunk containing that resource type. Loading a feature
|
|
8
|
-
* module triggers all @RegisterClass decorators within it, making its components
|
|
9
|
-
* available to ClassFactory.
|
|
10
|
-
*/
|
|
11
|
-
/** Helper to create a loader that all resource types in a feature share. */
|
|
12
|
-
function featureLoader(importFn) {
|
|
13
|
-
return () => importFn().then(() => { });
|
|
14
|
-
}
|
|
15
|
-
// --- AI Dashboard feature chunk ---
|
|
16
|
-
const loadAI = featureLoader(() => import('@memberjunction/ng-dashboards/ai-dashboards.module'));
|
|
17
|
-
// --- Actions Dashboard feature chunk ---
|
|
18
|
-
const loadActions = featureLoader(() => import('@memberjunction/ng-dashboards/actions-dashboards.module'));
|
|
19
|
-
// --- Testing Dashboard feature chunk ---
|
|
20
|
-
const loadTesting = featureLoader(() => import('@memberjunction/ng-dashboards/testing-dashboards.module'));
|
|
21
|
-
// --- Scheduling Dashboard feature chunk ---
|
|
22
|
-
const loadScheduling = featureLoader(() => import('@memberjunction/ng-dashboards/scheduling-dashboards.module'));
|
|
23
|
-
// --- Communication Dashboard feature chunk ---
|
|
24
|
-
const loadCommunication = featureLoader(() => import('@memberjunction/ng-dashboards/communication-dashboards.module'));
|
|
25
|
-
// --- Credentials Dashboard feature chunk ---
|
|
26
|
-
const loadCredentials = featureLoader(() => import('@memberjunction/ng-dashboards/credentials-dashboards.module'));
|
|
27
|
-
// --- Data Explorer feature chunk ---
|
|
28
|
-
const loadDataExplorer = featureLoader(() => import('@memberjunction/ng-dashboards/data-explorer-dashboards.module'));
|
|
29
|
-
// --- Lists Dashboard feature chunk ---
|
|
30
|
-
const loadLists = featureLoader(() => import('@memberjunction/ng-dashboards/lists-dashboards.module'));
|
|
31
|
-
// --- Component Studio feature chunk ---
|
|
32
|
-
const loadComponentStudio = featureLoader(() => import('@memberjunction/ng-dashboards/component-studio-dashboards.module'));
|
|
33
|
-
// --- Integration feature chunk ---
|
|
34
|
-
const loadIntegration = featureLoader(() => import('@memberjunction/ng-dashboards/integration.module'));
|
|
35
|
-
// --- MCP feature chunk ---
|
|
36
|
-
const loadMCP = featureLoader(() => import('@memberjunction/ng-dashboards/mcp.module'));
|
|
37
|
-
// --- Explorer Settings feature chunk ---
|
|
38
|
-
const loadSettings = featureLoader(() => import(
|
|
39
|
-
/* webpackChunkName: "explorer-settings" */
|
|
40
|
-
'@memberjunction/ng-explorer-settings'));
|
|
41
|
-
/**
|
|
42
|
-
* Complete mapping of resource type strings to lazy-loading functions.
|
|
43
|
-
* Covers both BaseResourceComponent and BaseDashboard registrations.
|
|
44
|
-
*/
|
|
45
|
-
export const LAZY_FEATURE_CONFIG = {
|
|
46
|
-
// ── AI Dashboard (BaseResourceComponent types) ──
|
|
47
|
-
'AIModelsResource': loadAI,
|
|
48
|
-
'AIPromptsResource': loadAI,
|
|
49
|
-
'AIAgentsResource': loadAI,
|
|
50
|
-
'AIMonitorResource': loadAI,
|
|
51
|
-
'AIConfigResource': loadAI,
|
|
52
|
-
// ── Actions Dashboard (BaseResourceComponent types) ──
|
|
53
|
-
'ActionsOverviewResource': loadActions,
|
|
54
|
-
'ActionsMonitorResource': loadActions,
|
|
55
|
-
'ActionsScheduleResource': loadActions,
|
|
56
|
-
'ActionsCodeResource': loadActions,
|
|
57
|
-
'ActionsEntitiesResource': loadActions,
|
|
58
|
-
'ActionsSecurityResource': loadActions,
|
|
59
|
-
'ActionExplorerResource': loadActions,
|
|
60
|
-
// ── Testing Dashboard ──
|
|
61
|
-
'TestingDashboard': loadTesting, // BaseDashboard
|
|
62
|
-
'TestingDashboardTabResource': loadTesting, // BaseResourceComponent
|
|
63
|
-
'TestingRunsResource': loadTesting,
|
|
64
|
-
'TestingAnalyticsResource': loadTesting,
|
|
65
|
-
'TestingReviewResource': loadTesting,
|
|
66
|
-
'TestingExplorerResource': loadTesting,
|
|
67
|
-
// ── Scheduling Dashboard ──
|
|
68
|
-
'SchedulingDashboard': loadScheduling, // BaseDashboard
|
|
69
|
-
'SchedulingDashboardResource': loadScheduling, // BaseResourceComponent
|
|
70
|
-
'SchedulingJobsResource': loadScheduling,
|
|
71
|
-
'SchedulingActivityResource': loadScheduling,
|
|
72
|
-
// ── Communication Dashboard ──
|
|
73
|
-
'CommunicationDashboard': loadCommunication, // BaseDashboard
|
|
74
|
-
'CommunicationLogsResource': loadCommunication,
|
|
75
|
-
'CommunicationMonitorResource': loadCommunication,
|
|
76
|
-
'CommunicationProvidersResource': loadCommunication,
|
|
77
|
-
'CommunicationRunsResource': loadCommunication,
|
|
78
|
-
'CommunicationTemplatesResource': loadCommunication,
|
|
79
|
-
// ── Credentials Dashboard ──
|
|
80
|
-
'CredentialsDashboard': loadCredentials, // BaseDashboard
|
|
81
|
-
'CredentialsOverviewResource': loadCredentials,
|
|
82
|
-
'CredentialsListResource': loadCredentials,
|
|
83
|
-
'CredentialsTypesResource': loadCredentials,
|
|
84
|
-
'CredentialsCategoriesResource': loadCredentials,
|
|
85
|
-
'CredentialsAuditResource': loadCredentials,
|
|
86
|
-
// ── Data Explorer ──
|
|
87
|
-
'DataExplorer': loadDataExplorer, // BaseDashboard
|
|
88
|
-
'DataExplorerResource': loadDataExplorer, // BaseResourceComponent
|
|
89
|
-
// ── Lists Dashboard ──
|
|
90
|
-
'ListsBrowseResource': loadLists,
|
|
91
|
-
'ListsCategoriesResource': loadLists,
|
|
92
|
-
'ListsMyListsResource': loadLists,
|
|
93
|
-
'ListsOperationsResource': loadLists,
|
|
94
|
-
// ── Component Studio ──
|
|
95
|
-
'ComponentStudioDashboard': loadComponentStudio, // BaseDashboard
|
|
96
|
-
// ── Integration Dashboard ──
|
|
97
|
-
'IntegrationOverview': loadIntegration,
|
|
98
|
-
'IntegrationConnections': loadIntegration,
|
|
99
|
-
'IntegrationPipelines': loadIntegration,
|
|
100
|
-
'IntegrationMappingWorkspace': loadIntegration,
|
|
101
|
-
'IntegrationActivity': loadIntegration,
|
|
102
|
-
'IntegrationSchedules': loadIntegration,
|
|
103
|
-
// ── MCP Dashboard ──
|
|
104
|
-
'MCPDashboard': loadMCP, // BaseDashboard
|
|
105
|
-
'MCPResource': loadMCP, // BaseResourceComponent
|
|
106
|
-
// ── Explorer Settings (BaseDashboard types) ──
|
|
107
|
-
'ApplicationManagement': loadSettings,
|
|
108
|
-
'EntityPermissions': loadSettings,
|
|
109
|
-
'RoleManagement': loadSettings,
|
|
110
|
-
'UserManagement': loadSettings,
|
|
111
|
-
'SqlLogging': loadSettings,
|
|
112
|
-
};
|
|
113
|
-
//# sourceMappingURL=lazy-feature-config.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"lazy-feature-config.js","sourceRoot":"","sources":["../../../src/lib/services/lazy-feature-config.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,4EAA4E;AAC5E,SAAS,aAAa,CAAC,QAAgC;IACrD,OAAO,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,IA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;IACtD,0BAA0B,EAAa,eAAe;IACtD,+BAA+B,EAAQ,eAAe;IACtD,0BAA0B,EAAa,eAAe;IAEtD,sBAAsB;IACtB,cAAc,EAAe,gBAAgB,EAAG,gBAAgB;IAChE,sBAAsB,EAAO,gBAAgB,EAAG,wBAAwB;IAExE,wBAAwB;IACxB,qBAAqB,EAAQ,SAAS;IACtC,yBAAyB,EAAI,SAAS;IACtC,sBAAsB,EAAO,SAAS;IACtC,yBAAyB,EAAI,SAAS;IAEtC,yBAAyB;IACzB,0BAA0B,EAAG,mBAAmB,EAAE,gBAAgB;IAElE,8BAA8B;IAC9B,qBAAqB,EAAW,eAAe;IAC/C,wBAAwB,EAAQ,eAAe;IAC/C,sBAAsB,EAAU,eAAe;IAC/C,6BAA6B,EAAG,eAAe;IAC/C,qBAAqB,EAAW,eAAe;IAC/C,sBAAsB,EAAU,eAAe;IAE/C,sBAAsB;IACtB,cAAc,EAAI,OAAO,EAAE,gBAAgB;IAC3C,aAAa,EAAK,OAAO,EAAE,wBAAwB;IAEnD,gDAAgD;IAChD,uBAAuB,EAAG,YAAY;IACtC,mBAAmB,EAAO,YAAY;IACtC,gBAAgB,EAAU,YAAY;IACtC,gBAAgB,EAAU,YAAY;IACtC,YAAY,EAAc,YAAY;CACvC,CAAC","sourcesContent":["/**\n * Maps resource type names to lazy-loading functions for each feature chunk.\n * The import() calls point to the feature module files in @memberjunction/ng-dashboards\n * and @memberjunction/ng-explorer-settings using subpath exports.\n *\n * When a resource type is not found in ClassFactory, the LazyModuleRegistry uses\n * this config to load the chunk containing that resource type. Loading a feature\n * module triggers all @RegisterClass decorators within it, making its components\n * available to ClassFactory.\n */\n\n/** Helper to create a loader that all resource types in a feature share. */\nfunction featureLoader(importFn: () => Promise<unknown>): () => Promise<void> {\n return () => importFn().then(() => {});\n}\n\n// --- AI Dashboard feature chunk ---\nconst loadAI = featureLoader(() => import('@memberjunction/ng-dashboards/ai-dashboards.module'));\n\n// --- Actions Dashboard feature chunk ---\nconst loadActions = featureLoader(() => import('@memberjunction/ng-dashboards/actions-dashboards.module'));\n\n// --- Testing Dashboard feature chunk ---\nconst loadTesting = featureLoader(() => import('@memberjunction/ng-dashboards/testing-dashboards.module'));\n\n// --- Scheduling Dashboard feature chunk ---\nconst loadScheduling = featureLoader(() => import('@memberjunction/ng-dashboards/scheduling-dashboards.module'));\n\n// --- Communication Dashboard feature chunk ---\nconst loadCommunication = featureLoader(() => import('@memberjunction/ng-dashboards/communication-dashboards.module'));\n\n// --- Credentials Dashboard feature chunk ---\nconst loadCredentials = featureLoader(() => import('@memberjunction/ng-dashboards/credentials-dashboards.module'));\n\n// --- Data Explorer feature chunk ---\nconst loadDataExplorer = featureLoader(() => import('@memberjunction/ng-dashboards/data-explorer-dashboards.module'));\n\n// --- Lists Dashboard feature chunk ---\nconst loadLists = featureLoader(() => import('@memberjunction/ng-dashboards/lists-dashboards.module'));\n\n// --- Component Studio feature chunk ---\nconst loadComponentStudio = featureLoader(() => import('@memberjunction/ng-dashboards/component-studio-dashboards.module'));\n\n// --- Integration feature chunk ---\nconst loadIntegration = featureLoader(() => import('@memberjunction/ng-dashboards/integration.module'));\n\n// --- MCP feature chunk ---\nconst loadMCP = featureLoader(() => import('@memberjunction/ng-dashboards/mcp.module'));\n\n// --- Explorer Settings feature chunk ---\nconst loadSettings = featureLoader(() => import(\n /* webpackChunkName: \"explorer-settings\" */\n '@memberjunction/ng-explorer-settings'\n));\n\n/**\n * Complete mapping of resource type strings to lazy-loading functions.\n * Covers both BaseResourceComponent and BaseDashboard registrations.\n */\nexport const LAZY_FEATURE_CONFIG: Record<string, () => Promise<void>> = {\n // ── AI Dashboard (BaseResourceComponent types) ──\n 'AIModelsResource': loadAI,\n 'AIPromptsResource': loadAI,\n 'AIAgentsResource': loadAI,\n 'AIMonitorResource': loadAI,\n 'AIConfigResource': loadAI,\n\n // ── Actions Dashboard (BaseResourceComponent types) ──\n 'ActionsOverviewResource': loadActions,\n 'ActionsMonitorResource': loadActions,\n 'ActionsScheduleResource': loadActions,\n 'ActionsCodeResource': loadActions,\n 'ActionsEntitiesResource': loadActions,\n 'ActionsSecurityResource': loadActions,\n 'ActionExplorerResource': loadActions,\n\n // ── Testing Dashboard ──\n 'TestingDashboard': loadTesting, // BaseDashboard\n 'TestingDashboardTabResource': loadTesting, // BaseResourceComponent\n 'TestingRunsResource': loadTesting,\n 'TestingAnalyticsResource': loadTesting,\n 'TestingReviewResource': loadTesting,\n 'TestingExplorerResource': loadTesting,\n\n // ── Scheduling Dashboard ──\n 'SchedulingDashboard': loadScheduling, // BaseDashboard\n 'SchedulingDashboardResource': loadScheduling, // BaseResourceComponent\n 'SchedulingJobsResource': loadScheduling,\n 'SchedulingActivityResource': loadScheduling,\n\n // ── Communication Dashboard ──\n 'CommunicationDashboard': loadCommunication, // BaseDashboard\n 'CommunicationLogsResource': loadCommunication,\n 'CommunicationMonitorResource': loadCommunication,\n 'CommunicationProvidersResource': loadCommunication,\n 'CommunicationRunsResource': loadCommunication,\n 'CommunicationTemplatesResource': loadCommunication,\n\n // ── Credentials Dashboard ──\n 'CredentialsDashboard': loadCredentials, // BaseDashboard\n 'CredentialsOverviewResource': loadCredentials,\n 'CredentialsListResource': loadCredentials,\n 'CredentialsTypesResource': loadCredentials,\n 'CredentialsCategoriesResource': loadCredentials,\n 'CredentialsAuditResource': loadCredentials,\n\n // ── Data Explorer ──\n 'DataExplorer': loadDataExplorer, // BaseDashboard\n 'DataExplorerResource': loadDataExplorer, // BaseResourceComponent\n\n // ── Lists Dashboard ──\n 'ListsBrowseResource': loadLists,\n 'ListsCategoriesResource': loadLists,\n 'ListsMyListsResource': loadLists,\n 'ListsOperationsResource': loadLists,\n\n // ── Component Studio ──\n 'ComponentStudioDashboard': loadComponentStudio, // BaseDashboard\n\n // ── Integration Dashboard ──\n 'IntegrationOverview': loadIntegration,\n 'IntegrationConnections': loadIntegration,\n 'IntegrationPipelines': loadIntegration,\n 'IntegrationMappingWorkspace': loadIntegration,\n 'IntegrationActivity': loadIntegration,\n 'IntegrationSchedules': loadIntegration,\n\n // ── MCP Dashboard ──\n 'MCPDashboard': loadMCP, // BaseDashboard\n 'MCPResource': loadMCP, // BaseResourceComponent\n\n // ── Explorer Settings (BaseDashboard types) ──\n 'ApplicationManagement': loadSettings,\n 'EntityPermissions': loadSettings,\n 'RoleManagement': loadSettings,\n 'UserManagement': loadSettings,\n 'SqlLogging': loadSettings,\n};\n"]}
|