@memberjunction/ng-dashboards 5.34.1 → 5.36.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/AI/components/agents/agent-configuration.component.d.ts +51 -0
- package/dist/AI/components/agents/agent-configuration.component.d.ts.map +1 -1
- package/dist/AI/components/agents/agent-configuration.component.js +399 -292
- package/dist/AI/components/agents/agent-configuration.component.js.map +1 -1
- package/dist/AI/components/analytics/agent-runs/agent-run-analysis.component.d.ts +8 -2
- package/dist/AI/components/analytics/agent-runs/agent-run-analysis.component.d.ts.map +1 -1
- package/dist/AI/components/analytics/agent-runs/agent-run-analysis.component.js +87 -85
- package/dist/AI/components/analytics/agent-runs/agent-run-analysis.component.js.map +1 -1
- package/dist/AI/components/analytics/ai-analytics-resource.component.d.ts +96 -0
- package/dist/AI/components/analytics/ai-analytics-resource.component.d.ts.map +1 -1
- package/dist/AI/components/analytics/ai-analytics-resource.component.js +453 -122
- package/dist/AI/components/analytics/ai-analytics-resource.component.js.map +1 -1
- package/dist/AI/components/analytics/analytics-filter-bar.component.d.ts +5 -0
- package/dist/AI/components/analytics/analytics-filter-bar.component.d.ts.map +1 -1
- package/dist/AI/components/analytics/analytics-filter-bar.component.js +184 -135
- package/dist/AI/components/analytics/analytics-filter-bar.component.js.map +1 -1
- package/dist/AI/components/analytics/cost-budget/cost-budget.component.d.ts +8 -2
- package/dist/AI/components/analytics/cost-budget/cost-budget.component.d.ts.map +1 -1
- package/dist/AI/components/analytics/cost-budget/cost-budget.component.js +104 -103
- package/dist/AI/components/analytics/cost-budget/cost-budget.component.js.map +1 -1
- package/dist/AI/components/analytics/error-analysis/error-analysis.component.d.ts +8 -2
- package/dist/AI/components/analytics/error-analysis/error-analysis.component.d.ts.map +1 -1
- package/dist/AI/components/analytics/error-analysis/error-analysis.component.js +76 -74
- package/dist/AI/components/analytics/error-analysis/error-analysis.component.js.map +1 -1
- package/dist/AI/components/analytics/executive-summary/executive-summary.component.d.ts.map +1 -1
- package/dist/AI/components/analytics/executive-summary/executive-summary.component.js +67 -87
- package/dist/AI/components/analytics/executive-summary/executive-summary.component.js.map +1 -1
- package/dist/AI/components/analytics/model-performance/model-performance.component.d.ts +12 -19
- package/dist/AI/components/analytics/model-performance/model-performance.component.d.ts.map +1 -1
- package/dist/AI/components/analytics/model-performance/model-performance.component.js +96 -203
- package/dist/AI/components/analytics/model-performance/model-performance.component.js.map +1 -1
- package/dist/AI/components/analytics/prompt-runs/prompt-run-analysis.component.d.ts.map +1 -1
- package/dist/AI/components/analytics/prompt-runs/prompt-run-analysis.component.js +110 -126
- package/dist/AI/components/analytics/prompt-runs/prompt-run-analysis.component.js.map +1 -1
- package/dist/AI/components/analytics/usage-patterns/usage-patterns.component.d.ts.map +1 -1
- package/dist/AI/components/analytics/usage-patterns/usage-patterns.component.js +61 -77
- package/dist/AI/components/analytics/usage-patterns/usage-patterns.component.js.map +1 -1
- package/dist/AI/components/autotagging/autotagging-pipeline-resource.component.d.ts +28 -0
- package/dist/AI/components/autotagging/autotagging-pipeline-resource.component.d.ts.map +1 -1
- package/dist/AI/components/autotagging/autotagging-pipeline-resource.component.js +2084 -2079
- package/dist/AI/components/autotagging/autotagging-pipeline-resource.component.js.map +1 -1
- package/dist/AI/components/duplicates/duplicate-detection-resource.component.d.ts +6 -3
- package/dist/AI/components/duplicates/duplicate-detection-resource.component.d.ts.map +1 -1
- package/dist/AI/components/duplicates/duplicate-detection-resource.component.js +493 -490
- package/dist/AI/components/duplicates/duplicate-detection-resource.component.js.map +1 -1
- package/dist/AI/components/models/model-management.component.d.ts +17 -0
- package/dist/AI/components/models/model-management.component.d.ts.map +1 -1
- package/dist/AI/components/models/model-management.component.js +370 -425
- package/dist/AI/components/models/model-management.component.js.map +1 -1
- package/dist/AI/components/prompts/prompt-management.component.d.ts +17 -0
- package/dist/AI/components/prompts/prompt-management.component.d.ts.map +1 -1
- package/dist/AI/components/prompts/prompt-management.component.js +317 -357
- package/dist/AI/components/prompts/prompt-management.component.js.map +1 -1
- package/dist/AI/components/requests/agent-requests-resource.component.d.ts +11 -0
- package/dist/AI/components/requests/agent-requests-resource.component.d.ts.map +1 -1
- package/dist/AI/components/requests/agent-requests-resource.component.js +170 -175
- package/dist/AI/components/requests/agent-requests-resource.component.js.map +1 -1
- package/dist/AI/components/system/system-configuration.component.d.ts +19 -0
- package/dist/AI/components/system/system-configuration.component.d.ts.map +1 -1
- package/dist/AI/components/system/system-configuration.component.js +403 -362
- package/dist/AI/components/system/system-configuration.component.js.map +1 -1
- package/dist/AI/components/tags/tags-resource.component.d.ts +15 -0
- package/dist/AI/components/tags/tags-resource.component.d.ts.map +1 -1
- package/dist/AI/components/tags/tags-resource.component.js +1423 -1438
- package/dist/AI/components/tags/tags-resource.component.js.map +1 -1
- package/dist/AI/components/vectors/vector-management-resource.component.d.ts +8 -3
- package/dist/AI/components/vectors/vector-management-resource.component.d.ts.map +1 -1
- package/dist/AI/components/vectors/vector-management-resource.component.js +547 -521
- package/dist/AI/components/vectors/vector-management-resource.component.js.map +1 -1
- package/dist/APIKeys/api-keys-resource.component.d.ts +12 -8
- package/dist/APIKeys/api-keys-resource.component.d.ts.map +1 -1
- package/dist/APIKeys/api-keys-resource.component.js +329 -371
- package/dist/APIKeys/api-keys-resource.component.js.map +1 -1
- package/dist/Actions/components/actions-overview.component.d.ts +6 -0
- package/dist/Actions/components/actions-overview.component.d.ts.map +1 -1
- package/dist/Actions/components/actions-overview.component.js +202 -158
- package/dist/Actions/components/actions-overview.component.js.map +1 -1
- package/dist/Actions/components/execution-monitoring.component.d.ts +9 -3
- package/dist/Actions/components/execution-monitoring.component.d.ts.map +1 -1
- package/dist/Actions/components/execution-monitoring.component.js +191 -142
- package/dist/Actions/components/execution-monitoring.component.js.map +1 -1
- package/dist/Actions/components/explorer/action-explorer.component.d.ts +41 -1
- package/dist/Actions/components/explorer/action-explorer.component.d.ts.map +1 -1
- package/dist/Actions/components/explorer/action-explorer.component.js +388 -94
- package/dist/Actions/components/explorer/action-explorer.component.js.map +1 -1
- package/dist/Actions/components/explorer/index.d.ts +0 -1
- package/dist/Actions/components/explorer/index.d.ts.map +1 -1
- package/dist/Actions/components/explorer/index.js +0 -1
- package/dist/Actions/components/explorer/index.js.map +1 -1
- package/dist/Admin/admin-data-schema.component.js +19 -79
- package/dist/Admin/admin-data-schema.component.js.map +1 -1
- package/dist/Admin/admin-dev-tools-resource.component.js +19 -79
- package/dist/Admin/admin-dev-tools-resource.component.js.map +1 -1
- package/dist/Admin/admin-identity-access.component.js +19 -79
- package/dist/Admin/admin-identity-access.component.js.map +1 -1
- package/dist/Admin/admin-monitoring.component.js +19 -79
- package/dist/Admin/admin-monitoring.component.js.map +1 -1
- package/dist/Admin/base-admin-container.component.d.ts +9 -7
- package/dist/Admin/base-admin-container.component.d.ts.map +1 -1
- package/dist/Admin/base-admin-container.component.js +26 -17
- package/dist/Admin/base-admin-container.component.js.map +1 -1
- package/dist/ApplicationRoles/application-roles-resource.component.js +92 -91
- package/dist/ApplicationRoles/application-roles-resource.component.js.map +1 -1
- package/dist/Archiving/components/archive-config-resource.component.d.ts.map +1 -1
- package/dist/Archiving/components/archive-config-resource.component.js +24 -5
- package/dist/Archiving/components/archive-config-resource.component.js.map +1 -1
- package/dist/Archiving/components/archive-runs-resource.component.d.ts.map +1 -1
- package/dist/Archiving/components/archive-runs-resource.component.js +24 -5
- package/dist/Archiving/components/archive-runs-resource.component.js.map +1 -1
- package/dist/Communication/communication-logs-resource.component.d.ts +1 -1
- package/dist/Communication/communication-logs-resource.component.d.ts.map +1 -1
- package/dist/Communication/communication-logs-resource.component.js +80 -99
- package/dist/Communication/communication-logs-resource.component.js.map +1 -1
- package/dist/Communication/communication-monitor-resource.component.d.ts.map +1 -1
- package/dist/Communication/communication-monitor-resource.component.js +127 -106
- package/dist/Communication/communication-monitor-resource.component.js.map +1 -1
- package/dist/Communication/communication-new-message-resource.component.d.ts +93 -0
- package/dist/Communication/communication-new-message-resource.component.d.ts.map +1 -0
- package/dist/Communication/communication-new-message-resource.component.js +661 -0
- package/dist/Communication/communication-new-message-resource.component.js.map +1 -0
- package/dist/Communication/communication-providers-resource.component.d.ts.map +1 -1
- package/dist/Communication/communication-providers-resource.component.js +44 -45
- package/dist/Communication/communication-providers-resource.component.js.map +1 -1
- package/dist/Communication/communication-runs-resource.component.d.ts.map +1 -1
- package/dist/Communication/communication-runs-resource.component.js +60 -58
- package/dist/Communication/communication-runs-resource.component.js.map +1 -1
- package/dist/Communication/communication-templates-resource.component.d.ts +1 -1
- package/dist/Communication/communication-templates-resource.component.d.ts.map +1 -1
- package/dist/Communication/communication-templates-resource.component.js +139 -162
- package/dist/Communication/communication-templates-resource.component.js.map +1 -1
- package/dist/Credentials/components/credentials-audit-resource.component.d.ts +7 -0
- package/dist/Credentials/components/credentials-audit-resource.component.d.ts.map +1 -1
- package/dist/Credentials/components/credentials-audit-resource.component.js +310 -297
- package/dist/Credentials/components/credentials-audit-resource.component.js.map +1 -1
- package/dist/Credentials/components/credentials-categories-resource.component.js +238 -266
- package/dist/Credentials/components/credentials-categories-resource.component.js.map +1 -1
- package/dist/Credentials/components/credentials-list-resource.component.d.ts +7 -0
- package/dist/Credentials/components/credentials-list-resource.component.d.ts.map +1 -1
- package/dist/Credentials/components/credentials-list-resource.component.js +381 -399
- package/dist/Credentials/components/credentials-list-resource.component.js.map +1 -1
- package/dist/Credentials/components/credentials-overview-resource.component.js +222 -228
- package/dist/Credentials/components/credentials-overview-resource.component.js.map +1 -1
- package/dist/Credentials/components/credentials-types-resource.component.d.ts +6 -0
- package/dist/Credentials/components/credentials-types-resource.component.d.ts.map +1 -1
- package/dist/Credentials/components/credentials-types-resource.component.js +290 -305
- package/dist/Credentials/components/credentials-types-resource.component.js.map +1 -1
- package/dist/DatabaseDesigner/components/database-designer-dashboard.component.d.ts +8 -0
- package/dist/DatabaseDesigner/components/database-designer-dashboard.component.d.ts.map +1 -1
- package/dist/DatabaseDesigner/components/database-designer-dashboard.component.js +41 -21
- package/dist/DatabaseDesigner/components/database-designer-dashboard.component.js.map +1 -1
- package/dist/DatabaseDesigner/components/entity-list.component.d.ts +2 -0
- package/dist/DatabaseDesigner/components/entity-list.component.d.ts.map +1 -1
- package/dist/DatabaseDesigner/components/entity-list.component.js +148 -155
- package/dist/DatabaseDesigner/components/entity-list.component.js.map +1 -1
- package/dist/DatabaseDesigner/database-designer-dashboards.module.d.ts +1 -1
- package/dist/DatabaseDesigner/database-designer-dashboards.module.d.ts.map +1 -1
- package/dist/DatabaseDesigner/database-designer-dashboards.module.js +25 -1
- package/dist/DatabaseDesigner/database-designer-dashboards.module.js.map +1 -1
- package/dist/DevTools/app-state-inspector.component.d.ts +5 -0
- package/dist/DevTools/app-state-inspector.component.d.ts.map +1 -1
- package/dist/DevTools/app-state-inspector.component.js +46 -72
- package/dist/DevTools/app-state-inspector.component.js.map +1 -1
- package/dist/DevTools/class-registry.component.js +88 -100
- package/dist/DevTools/class-registry.component.js.map +1 -1
- package/dist/DevTools/event-monitor.component.js +158 -168
- package/dist/DevTools/event-monitor.component.js.map +1 -1
- package/dist/DevTools/graphql-console.component.js +257 -264
- package/dist/DevTools/graphql-console.component.js.map +1 -1
- package/dist/DevTools/layout-inspector.component.d.ts +5 -0
- package/dist/DevTools/layout-inspector.component.d.ts.map +1 -1
- package/dist/DevTools/layout-inspector.component.js +46 -64
- package/dist/DevTools/layout-inspector.component.js.map +1 -1
- package/dist/DevTools/lazy-module-status.component.js +75 -84
- package/dist/DevTools/lazy-module-status.component.js.map +1 -1
- package/dist/DevTools/settings-explorer.component.js +76 -85
- package/dist/DevTools/settings-explorer.component.js.map +1 -1
- package/dist/EntityAdmin/entity-admin-dashboard.component.d.ts +2 -0
- package/dist/EntityAdmin/entity-admin-dashboard.component.d.ts.map +1 -1
- package/dist/EntityAdmin/entity-admin-dashboard.component.js +24 -16
- package/dist/EntityAdmin/entity-admin-dashboard.component.js.map +1 -1
- package/dist/Home/home-dashboard.component.d.ts +6 -0
- package/dist/Home/home-dashboard.component.d.ts.map +1 -1
- package/dist/Home/home-dashboard.component.js +521 -485
- package/dist/Home/home-dashboard.component.js.map +1 -1
- package/dist/Integration/components/activity/activity.component.d.ts +8 -0
- package/dist/Integration/components/activity/activity.component.d.ts.map +1 -1
- package/dist/Integration/components/activity/activity.component.js +307 -318
- package/dist/Integration/components/activity/activity.component.js.map +1 -1
- package/dist/Integration/components/connections/connections.component.js +654 -648
- package/dist/Integration/components/connections/connections.component.js.map +1 -1
- package/dist/Integration/components/mapping-workspace/mapping-workspace.component.js +234 -233
- package/dist/Integration/components/mapping-workspace/mapping-workspace.component.js.map +1 -1
- package/dist/Integration/components/overview/overview.component.js +182 -163
- package/dist/Integration/components/overview/overview.component.js.map +1 -1
- package/dist/Integration/components/pipelines/pipelines.component.d.ts +2 -0
- package/dist/Integration/components/pipelines/pipelines.component.d.ts.map +1 -1
- package/dist/Integration/components/pipelines/pipelines.component.js +595 -606
- package/dist/Integration/components/pipelines/pipelines.component.js.map +1 -1
- package/dist/Integration/components/schedules/schedules.component.js +230 -241
- package/dist/Integration/components/schedules/schedules.component.js.map +1 -1
- package/dist/Integration/integration.module.d.ts +1 -1
- package/dist/Integration/integration.module.d.ts.map +1 -1
- package/dist/Integration/integration.module.js +28 -1
- package/dist/Integration/integration.module.js.map +1 -1
- package/dist/KnowledgeHub/components/analytics/analytics-resource.component.d.ts +5 -0
- package/dist/KnowledgeHub/components/analytics/analytics-resource.component.d.ts.map +1 -1
- package/dist/KnowledgeHub/components/analytics/analytics-resource.component.js +1138 -1147
- package/dist/KnowledgeHub/components/analytics/analytics-resource.component.js.map +1 -1
- package/dist/KnowledgeHub/components/clusters/cluster-visualization-resource.component.js +54 -51
- package/dist/KnowledgeHub/components/clusters/cluster-visualization-resource.component.js.map +1 -1
- package/dist/KnowledgeHub/components/config/knowledge-config-resource.component.d.ts +11 -0
- package/dist/KnowledgeHub/components/config/knowledge-config-resource.component.d.ts.map +1 -1
- package/dist/KnowledgeHub/components/config/knowledge-config-resource.component.js +684 -697
- package/dist/KnowledgeHub/components/config/knowledge-config-resource.component.js.map +1 -1
- package/dist/KnowledgeHub/components/scheduling/scheduling-resource.component.d.ts +12 -1
- package/dist/KnowledgeHub/components/scheduling/scheduling-resource.component.d.ts.map +1 -1
- package/dist/KnowledgeHub/components/scheduling/scheduling-resource.component.js +191 -120
- package/dist/KnowledgeHub/components/scheduling/scheduling-resource.component.js.map +1 -1
- package/dist/Lists/components/lists-browse-resource.component.d.ts +120 -1
- package/dist/Lists/components/lists-browse-resource.component.d.ts.map +1 -1
- package/dist/Lists/components/lists-browse-resource.component.js +1239 -610
- package/dist/Lists/components/lists-browse-resource.component.js.map +1 -1
- package/dist/Lists/components/lists-categories-resource.component.d.ts.map +1 -1
- package/dist/Lists/components/lists-categories-resource.component.js +152 -160
- package/dist/Lists/components/lists-categories-resource.component.js.map +1 -1
- package/dist/Lists/components/lists-my-lists-resource.component.d.ts.map +1 -1
- package/dist/Lists/components/lists-my-lists-resource.component.js +302 -319
- package/dist/Lists/components/lists-my-lists-resource.component.js.map +1 -1
- package/dist/Lists/components/lists-operations-resource.component.d.ts +133 -3
- package/dist/Lists/components/lists-operations-resource.component.d.ts.map +1 -1
- package/dist/Lists/components/lists-operations-resource.component.js +1460 -272
- package/dist/Lists/components/lists-operations-resource.component.js.map +1 -1
- package/dist/Lists/components/lists-shared-with-me-resource.component.d.ts +29 -0
- package/dist/Lists/components/lists-shared-with-me-resource.component.d.ts.map +1 -0
- package/dist/Lists/components/lists-shared-with-me-resource.component.js +77 -0
- package/dist/Lists/components/lists-shared-with-me-resource.component.js.map +1 -0
- package/dist/Lists/components/venn-diagram/venn-diagram.component.d.ts +6 -0
- package/dist/Lists/components/venn-diagram/venn-diagram.component.d.ts.map +1 -1
- package/dist/Lists/components/venn-diagram/venn-diagram.component.js +35 -7
- package/dist/Lists/components/venn-diagram/venn-diagram.component.js.map +1 -1
- package/dist/Lists/index.d.ts +1 -0
- package/dist/Lists/index.d.ts.map +1 -1
- package/dist/Lists/index.js +1 -0
- package/dist/Lists/index.js.map +1 -1
- package/dist/Lists/services/list-set-operations.service.d.ts +93 -2
- package/dist/Lists/services/list-set-operations.service.d.ts.map +1 -1
- package/dist/Lists/services/list-set-operations.service.js +236 -10
- package/dist/Lists/services/list-set-operations.service.js.map +1 -1
- package/dist/MCP/mcp-dashboard.component.d.ts +20 -0
- package/dist/MCP/mcp-dashboard.component.d.ts.map +1 -1
- package/dist/MCP/mcp-dashboard.component.js +1248 -1338
- package/dist/MCP/mcp-dashboard.component.js.map +1 -1
- package/dist/MCP/mcp.module.d.ts +1 -1
- package/dist/MCP/mcp.module.d.ts.map +1 -1
- package/dist/MCP/mcp.module.js +34 -1
- package/dist/MCP/mcp.module.js.map +1 -1
- package/dist/Permissions/audit-log-resource.component.js +76 -85
- package/dist/Permissions/audit-log-resource.component.js.map +1 -1
- package/dist/Permissions/resource-access-resource.component.js +64 -69
- package/dist/Permissions/resource-access-resource.component.js.map +1 -1
- package/dist/Permissions/user-access-resource.component.js +63 -74
- package/dist/Permissions/user-access-resource.component.js.map +1 -1
- package/dist/QueryBrowser/query-browser-resource.component.js +2 -2
- package/dist/QueryBrowser/query-browser-resource.component.js.map +1 -1
- package/dist/Scheduling/components/scheduling-activity-resource.component.d.ts +2 -1
- package/dist/Scheduling/components/scheduling-activity-resource.component.d.ts.map +1 -1
- package/dist/Scheduling/components/scheduling-activity-resource.component.js +11 -12
- package/dist/Scheduling/components/scheduling-activity-resource.component.js.map +1 -1
- package/dist/Scheduling/components/scheduling-activity.component.d.ts +9 -1
- package/dist/Scheduling/components/scheduling-activity.component.d.ts.map +1 -1
- package/dist/Scheduling/components/scheduling-activity.component.js +250 -197
- package/dist/Scheduling/components/scheduling-activity.component.js.map +1 -1
- package/dist/Scheduling/components/scheduling-jobs-resource.component.d.ts +2 -1
- package/dist/Scheduling/components/scheduling-jobs-resource.component.d.ts.map +1 -1
- package/dist/Scheduling/components/scheduling-jobs-resource.component.js +11 -12
- package/dist/Scheduling/components/scheduling-jobs-resource.component.js.map +1 -1
- package/dist/Scheduling/components/scheduling-jobs.component.d.ts +9 -1
- package/dist/Scheduling/components/scheduling-jobs.component.d.ts.map +1 -1
- package/dist/Scheduling/components/scheduling-jobs.component.js +203 -147
- package/dist/Scheduling/components/scheduling-jobs.component.js.map +1 -1
- package/dist/Scheduling/components/scheduling-overview-resource.component.d.ts +2 -1
- package/dist/Scheduling/components/scheduling-overview-resource.component.d.ts.map +1 -1
- package/dist/Scheduling/components/scheduling-overview-resource.component.js +11 -12
- package/dist/Scheduling/components/scheduling-overview-resource.component.js.map +1 -1
- package/dist/Scheduling/components/scheduling-overview.component.d.ts +3 -1
- package/dist/Scheduling/components/scheduling-overview.component.d.ts.map +1 -1
- package/dist/Scheduling/components/scheduling-overview.component.js +224 -190
- package/dist/Scheduling/components/scheduling-overview.component.js.map +1 -1
- package/dist/Scheduling/scheduling-dashboard.component.d.ts +19 -6
- package/dist/Scheduling/scheduling-dashboard.component.d.ts.map +1 -1
- package/dist/Scheduling/scheduling-dashboard.component.js +259 -103
- package/dist/Scheduling/scheduling-dashboard.component.js.map +1 -1
- package/dist/SystemDiagnostics/system-diagnostics.component.d.ts +13 -3
- package/dist/SystemDiagnostics/system-diagnostics.component.d.ts.map +1 -1
- package/dist/SystemDiagnostics/system-diagnostics.component.js +1009 -1264
- package/dist/SystemDiagnostics/system-diagnostics.component.js.map +1 -1
- package/dist/Testing/components/testing-analytics-resource.component.d.ts +2 -1
- package/dist/Testing/components/testing-analytics-resource.component.d.ts.map +1 -1
- package/dist/Testing/components/testing-analytics-resource.component.js +7 -14
- package/dist/Testing/components/testing-analytics-resource.component.js.map +1 -1
- package/dist/Testing/components/testing-analytics.component.d.ts +3 -1
- package/dist/Testing/components/testing-analytics.component.d.ts.map +1 -1
- package/dist/Testing/components/testing-analytics.component.js +420 -393
- package/dist/Testing/components/testing-analytics.component.js.map +1 -1
- package/dist/Testing/components/testing-dashboard-tab-resource.component.d.ts +2 -1
- package/dist/Testing/components/testing-dashboard-tab-resource.component.d.ts.map +1 -1
- package/dist/Testing/components/testing-dashboard-tab-resource.component.js +16 -19
- package/dist/Testing/components/testing-dashboard-tab-resource.component.js.map +1 -1
- package/dist/Testing/components/testing-dashboard-tab.component.d.ts +3 -1
- package/dist/Testing/components/testing-dashboard-tab.component.d.ts.map +1 -1
- package/dist/Testing/components/testing-dashboard-tab.component.js +157 -122
- package/dist/Testing/components/testing-dashboard-tab.component.js.map +1 -1
- package/dist/Testing/components/testing-explorer-resource.component.d.ts +2 -1
- package/dist/Testing/components/testing-explorer-resource.component.d.ts.map +1 -1
- package/dist/Testing/components/testing-explorer-resource.component.js +7 -12
- package/dist/Testing/components/testing-explorer-resource.component.js.map +1 -1
- package/dist/Testing/components/testing-explorer.component.d.ts +38 -6
- package/dist/Testing/components/testing-explorer.component.d.ts.map +1 -1
- package/dist/Testing/components/testing-explorer.component.js +679 -786
- package/dist/Testing/components/testing-explorer.component.js.map +1 -1
- package/dist/Testing/components/testing-review-resource.component.d.ts +4 -1
- package/dist/Testing/components/testing-review-resource.component.d.ts.map +1 -1
- package/dist/Testing/components/testing-review-resource.component.js +9 -12
- package/dist/Testing/components/testing-review-resource.component.js.map +1 -1
- package/dist/Testing/components/testing-review.component.d.ts +3 -1
- package/dist/Testing/components/testing-review.component.d.ts.map +1 -1
- package/dist/Testing/components/testing-review.component.js +310 -274
- package/dist/Testing/components/testing-review.component.js.map +1 -1
- package/dist/Testing/components/testing-runs-resource.component.d.ts +2 -1
- package/dist/Testing/components/testing-runs-resource.component.d.ts.map +1 -1
- package/dist/Testing/components/testing-runs-resource.component.js +16 -19
- package/dist/Testing/components/testing-runs-resource.component.js.map +1 -1
- package/dist/Testing/components/testing-runs.component.d.ts +3 -1
- package/dist/Testing/components/testing-runs.component.d.ts.map +1 -1
- package/dist/Testing/components/testing-runs.component.js +307 -273
- package/dist/Testing/components/testing-runs.component.js.map +1 -1
- package/dist/Testing/testing-dashboard.component.d.ts +2 -0
- package/dist/Testing/testing-dashboard.component.d.ts.map +1 -1
- package/dist/Testing/testing-dashboard.component.js +114 -99
- package/dist/Testing/testing-dashboard.component.js.map +1 -1
- package/dist/VersionHistory/components/diff-resource.component.js +185 -188
- package/dist/VersionHistory/components/diff-resource.component.js.map +1 -1
- package/dist/VersionHistory/components/graph-resource.component.js +154 -184
- package/dist/VersionHistory/components/graph-resource.component.js.map +1 -1
- package/dist/VersionHistory/components/labels-resource.component.d.ts +7 -0
- package/dist/VersionHistory/components/labels-resource.component.d.ts.map +1 -1
- package/dist/VersionHistory/components/labels-resource.component.js +350 -354
- package/dist/VersionHistory/components/labels-resource.component.js.map +1 -1
- package/dist/VersionHistory/components/restore-resource.component.js +163 -169
- package/dist/VersionHistory/components/restore-resource.component.js.map +1 -1
- package/dist/actions-dashboards.module.d.ts +15 -16
- package/dist/actions-dashboards.module.d.ts.map +1 -1
- package/dist/actions-dashboards.module.js +34 -11
- package/dist/actions-dashboards.module.js.map +1 -1
- package/dist/ai-dashboards.module.d.ts +45 -48
- package/dist/ai-dashboards.module.d.ts.map +1 -1
- package/dist/ai-dashboards.module.js +51 -10
- package/dist/ai-dashboards.module.js.map +1 -1
- package/dist/archiving-dashboards.module.d.ts +2 -1
- package/dist/archiving-dashboards.module.d.ts.map +1 -1
- package/dist/archiving-dashboards.module.js +12 -2
- package/dist/archiving-dashboards.module.js.map +1 -1
- package/dist/communication-dashboards.module.d.ts +9 -6
- package/dist/communication-dashboards.module.d.ts.map +1 -1
- package/dist/communication-dashboards.module.js +37 -7
- package/dist/communication-dashboards.module.js.map +1 -1
- package/dist/core-dashboards.module.d.ts +1 -1
- package/dist/core-dashboards.module.d.ts.map +1 -1
- package/dist/core-dashboards.module.js +46 -1
- package/dist/core-dashboards.module.js.map +1 -1
- package/dist/credentials-dashboards.module.d.ts +1 -1
- package/dist/credentials-dashboards.module.d.ts.map +1 -1
- package/dist/credentials-dashboards.module.js +28 -1
- package/dist/credentials-dashboards.module.js.map +1 -1
- package/dist/lists-dashboards.module.d.ts +10 -9
- package/dist/lists-dashboards.module.d.ts.map +1 -1
- package/dist/lists-dashboards.module.js +40 -2
- package/dist/lists-dashboards.module.js.map +1 -1
- package/dist/public-api.d.ts +3 -2
- package/dist/public-api.d.ts.map +1 -1
- package/dist/public-api.js +4 -3
- package/dist/public-api.js.map +1 -1
- package/dist/scheduling-dashboards.module.d.ts +1 -1
- package/dist/scheduling-dashboards.module.d.ts.map +1 -1
- package/dist/scheduling-dashboards.module.js +31 -1
- package/dist/scheduling-dashboards.module.js.map +1 -1
- package/dist/testing-dashboards.module.d.ts +8 -7
- package/dist/testing-dashboards.module.d.ts.map +1 -1
- package/dist/testing-dashboards.module.js +42 -0
- package/dist/testing-dashboards.module.js.map +1 -1
- package/package.json +53 -52
- package/dist/AI/components/agents/agent-filter-panel.component.d.ts +0 -56
- package/dist/AI/components/agents/agent-filter-panel.component.d.ts.map +0 -1
- package/dist/AI/components/agents/agent-filter-panel.component.js +0 -285
- package/dist/AI/components/agents/agent-filter-panel.component.js.map +0 -1
- package/dist/AI/components/prompts/prompt-filter-panel.component.d.ts +0 -49
- package/dist/AI/components/prompts/prompt-filter-panel.component.d.ts.map +0 -1
- package/dist/AI/components/prompts/prompt-filter-panel.component.js +0 -184
- package/dist/AI/components/prompts/prompt-filter-panel.component.js.map +0 -1
- package/dist/AI/components/system/system-config-filter-panel.component.d.ts +0 -33
- package/dist/AI/components/system/system-config-filter-panel.component.d.ts.map +0 -1
- package/dist/AI/components/system/system-config-filter-panel.component.js +0 -144
- package/dist/AI/components/system/system-config-filter-panel.component.js.map +0 -1
- package/dist/Actions/components/explorer/action-toolbar.component.d.ts +0 -63
- package/dist/Actions/components/explorer/action-toolbar.component.d.ts.map +0 -1
- package/dist/Actions/components/explorer/action-toolbar.component.js +0 -463
- package/dist/Actions/components/explorer/action-toolbar.component.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entity-list.component.js","sourceRoot":"","sources":["../../../src/DatabaseDesigner/components/entity-list.component.ts","../../../src/DatabaseDesigner/components/entity-list.component.html"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EACH,SAAS,EAAqB,MAAM,EAAE,YAAY,EAClD,uBAAuB,EAAE,iBAAiB,EAAE,MAAM,GACrD,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,MAAM,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAC;AAE9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,yCAAyC,CAAC;;;;mBCyD1E,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC;;;IA5CT,kCAG4B;IAD1B,4MAAsB,EAAE,KAAC;IAEzB,wBAAiC;IACnC,iBAAS;;;IAYP,kCAAyB;IAAA,YAAY;IAAA,iBAAS;;;IAAtC,iCAAgB;IAAC,cAAY;IAAZ,+BAAY;;;;IAPzC,kCAIgC;IAD9B,gPAAqD;IAErD,kCAAiB;IAAA,2BAAW;IAAA,iBAAS;IACrC,2HAEC;IACH,iBAAS;;;IAPP,6CAAwB;IAIxB,eAEC;IAFD,4CAEC;;;IAiBL,+BAA4C;IAC1C,wBAA8C;IAC9C,YACF;IAAA,iBAAM;;;IADJ,eACF;IADE,oDACF;;;IAOI,+BAA0B;IAMxB,AADA,AADA,AADA,AADA,AADA,0BAAsC,cACE,cACA,cACA,cACA,cACA;IAC1C,iBAAM;;;IATV,+BAA4E;IAC1E,qHASC;IACH,iBAAM;;IAVJ,cASC;IATD,yCASC;;;IAea,wBAA2H;;;IAAvD,AAAhD,+DAA+C,oDAAmD;;;IAEtH,wBAA4C;;;IAQ5C,wBAA2H;;;IAAvD,AAAhD,+DAA+C,oDAAmD;;;IAEtH,wBAA4C;;;IAQ5C,wBAA2H;;;IAAvD,AAAhD,+DAA+C,oDAAmD;;;IAEtH,wBAA4C;;;IAQ5C,wBAA2H;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D,KAAK,WAAW,CAAC,CAAG,OAAO,MAAM,CAAC,SAAS,CAAC,OAAO,EAAE,CAAC;YACtD,KAAK,OAAO,CAAC,CAAO,OAAO,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;YAClD,OAAO,CAAC,CAAY,OAAO,MAAM,CAAC,UAAU,CAAC,WAAW,EAAE,CAAC;QAC/D,CAAC;IACL,CAAC;6GApKQ,mBAAmB;6DAAnB,mBAAmB;YC3B5B,AADF,AAHF,8BAA8B,aAGI,YACA;YAC5B,uBAA6C;YAC7C,mCACF;YAAA,iBAAK;YACL,iCAI0B;YAAxB,gGAAS,iBAAa,IAAC;YACvB,uBAAgC;YAChC,4BACF;YACF,AADE,iBAAS,EACL;YAIJ,AADF,8BAAiC,aACN;YACvB,wBAAwD;YACxD,iCAKiC;YAD/B,kNAAwB;YAJ1B,iBAKiC;YACjC,2FAAkB;YAQpB,iBAAM;YAEN,2FAAyC;YAazC,mCAMwB;YAAtB,iGAAS,eAAW,IAAC;YACrB,yBAA8D;YAElE,AADE,iBAAS,EACL;YAGN,wFAAoB;YAQpB,wFAAkD;YAgBlD,6EAAiD;YA0InD,iBAAM;;YAvME,gBAAwB;YAAxB,8CAAwB;YAE1B,cAOC;YAPD,0CAOC;YAGH,cAWC;YAXD,iEAWC;YAOC,cAAsB;YAAtB,wCAAsB;YAEQ,cAA2B;YAA3B,wCAA2B;YAK7D,cAKC;YALD,4CAKC;YAGD,cAaC;YAbD,8EAaC;YAGD,cAyIC;YAzID,6EAyIC;;;iFDjMU,mBAAmB;cAP/B,SAAS;6BACM,KAAK,YACP,yBAAyB,mBAGlB,uBAAuB,CAAC,MAAM;;kBAK9C,MAAM;;kBAEN,MAAM;;kBAEN,MAAM;;kFAPE,mBAAmB","sourcesContent":["/**\n * @module entity-list.component\n * @description Displays the list of entities accessible to the current user.\n *\n * Loaded from `DatabaseDesignerEngine.Instance.loadAccessibleEntities()` —\n * data access goes through the engine singleton, not this component directly,\n * so the cache is shared across wizard openings.\n */\n\nimport {\n Component, OnInit, OnDestroy, Output, EventEmitter,\n ChangeDetectionStrategy, ChangeDetectorRef, inject,\n} from '@angular/core';\nimport { Subject, BehaviorSubject, combineLatest } from 'rxjs';\nimport { debounceTime, takeUntil, map } from 'rxjs/operators';\n\nimport { DatabaseDesignerEngine } from '../services/database-designer.engine.js';\nimport type { AccessibleEntity } from '../database-designer.types.js';\n\n// ─── Sort state ───────────────────────────────────────────────────────────────\n\ntype SortField = 'entityName' | 'tableName' | 'schemaName' | 'createdAt' | 'owner';\ntype SortDirection = 'asc' | 'desc';\n\n@Component({\n standalone: false,\n selector: 'mj-database-entity-list',\n templateUrl: './entity-list.component.html',\n styleUrls: ['./entity-list.component.css'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class EntityListComponent implements OnInit, OnDestroy {\n\n /** Emitted when the user clicks \"Edit\" on an entity row. */\n @Output() public readonly EditEntity = new EventEmitter<AccessibleEntity>();\n /** Emitted when the user clicks \"View Details\" on an entity row. */\n @Output() public readonly ViewEntity = new EventEmitter<AccessibleEntity>();\n /** Emitted when the user clicks \"New Entity\". */\n @Output() public readonly NewEntity = new EventEmitter<void>();\n\n public IsLoading = false;\n public ErrorMessage: string | null = null;\n\n /** Full unfiltered list from the engine. */\n private _allEntities: AccessibleEntity[] = [];\n\n /** Cached sorted unique schema names — recomputed only when _allEntities changes. */\n private _availableFilterSchemas: string[] = [];\n\n /** Currently displayed (filtered + sorted) rows. */\n public FilteredEntities: AccessibleEntity[] = [];\n\n private readonly _search$ = new BehaviorSubject<string>('');\n private readonly _schema$ = new BehaviorSubject<string>('');\n private readonly _sortField$ = new BehaviorSubject<SortField>('entityName');\n private readonly _sortDir$ = new BehaviorSubject<SortDirection>('asc');\n private readonly _destroy$ = new Subject<void>();\n\n private readonly cdr = inject(ChangeDetectorRef);\n\n // ─── Lifecycle ─────────────────────────────────────────────────────────\n\n ngOnInit(): void {\n this.setupFilter();\n this.loadEntities();\n }\n\n ngOnDestroy(): void {\n this._destroy$.next();\n this._destroy$.complete();\n }\n\n // ─── Template bindings ─────────────────────────────────────────────────\n\n get SearchTerm(): string { return this._search$.value; }\n set SearchTerm(v: string) { this._search$.next(v); }\n\n get SelectedSchema(): string { return this._schema$.value; }\n set SelectedSchema(v: string) { this._schema$.next(v); }\n\n /** Unique schema names present in the loaded entity list, sorted alphabetically. */\n get AvailableFilterSchemas(): string[] { return this._availableFilterSchemas; }\n\n get SortField(): SortField { return this._sortField$.value; }\n get SortDirection(): SortDirection { return this._sortDir$.value; }\n\n /** Toggle sort: same field flips direction; new field defaults to asc. */\n public OnSortChange(field: SortField): void {\n if (this._sortField$.value === field) {\n this._sortDir$.next(this._sortDir$.value === 'asc' ? 'desc' : 'asc');\n } else {\n this._sortField$.next(field);\n this._sortDir$.next('asc');\n }\n }\n\n public OnEditEntity(entity: AccessibleEntity): void {\n this.EditEntity.emit(entity);\n }\n\n public OnViewEntity(entity: AccessibleEntity): void {\n this.ViewEntity.emit(entity);\n }\n\n public OnNewEntity(): void {\n this.NewEntity.emit();\n }\n\n public OnRefresh(): void {\n DatabaseDesignerEngine.Instance.invalidateCache();\n this.loadEntities();\n }\n\n public TrackByEntityId(_: number, entity: AccessibleEntity): string {\n return entity.entityId;\n }\n\n public FormatDate(date: Date): string {\n return date.toLocaleDateString(undefined, { year: 'numeric', month: 'short', day: 'numeric' });\n }\n\n // ─── Private helpers ───────────────────────────────────────────────────\n\n private setupFilter(): void {\n combineLatest([this._search$, this._schema$, this._sortField$, this._sortDir$])\n .pipe(\n debounceTime(150),\n map(([search, schema, field, dir]) => this.applyFilterAndSort(search, schema, field, dir)),\n takeUntil(this._destroy$),\n )\n .subscribe(result => {\n this.FilteredEntities = result;\n this.cdr.markForCheck();\n });\n }\n\n private async loadEntities(): Promise<void> {\n this.IsLoading = true;\n this.ErrorMessage = null;\n this.cdr.markForCheck();\n\n try {\n this._allEntities = await DatabaseDesignerEngine.Instance.loadAccessibleEntities();\n this._availableFilterSchemas = [...new Set(this._allEntities.map(e => e.schemaName))].sort();\n // Trigger the combineLatest pipe to recalculate; reset schema filter if\n // the previously selected schema is no longer present in the new entity list.\n const schemas = this._availableFilterSchemas;\n if (this._schema$.value && !schemas.includes(this._schema$.value)) {\n this._schema$.next('');\n } else {\n this._search$.next(this._search$.value);\n }\n } catch (err) {\n this.ErrorMessage = err instanceof Error ? err.message : String(err);\n } finally {\n this.IsLoading = false;\n this.cdr.markForCheck();\n }\n }\n\n private applyFilterAndSort(search: string, schema: string, field: SortField, dir: SortDirection): AccessibleEntity[] {\n const term = search.trim().toLowerCase();\n let results = [...this._allEntities];\n\n if (schema) {\n results = results.filter(e => e.schemaName === schema);\n }\n\n if (term) {\n results = results.filter(e =>\n e.entityName.toLowerCase().includes(term) ||\n e.tableName.toLowerCase().includes(term) ||\n e.schemaName.toLowerCase().includes(term)\n );\n }\n\n results.sort((a, b) => {\n const aVal = this.sortValue(a, field);\n const bVal = this.sortValue(b, field);\n const cmp = aVal < bVal ? -1 : aVal > bVal ? 1 : 0;\n return dir === 'asc' ? cmp : -cmp;\n });\n\n return results;\n }\n\n private sortValue(entity: AccessibleEntity, field: SortField): string | number {\n switch (field) {\n case 'entityName': return entity.entityName.toLowerCase();\n case 'tableName': return entity.tableName.toLowerCase();\n case 'schemaName': return entity.schemaName.toLowerCase();\n case 'createdAt': return entity.createdAt.getTime();\n case 'owner': return entity.isOwner ? 0 : 1;\n default: return entity.entityName.toLowerCase();\n }\n }\n}\n","<div class=\"entity-list-root\">\n\n <!-- ── Header ─────────────────────────────────────────────────────────── -->\n <div class=\"entity-list-header\">\n <h2 class=\"entity-list-title\">\n <i class=\"fa-solid fa-table-cells-large\"></i>\n Database Designer\n </h2>\n <button\n mjButton\n buttonStyle=\"primary\"\n class=\"new-entity-btn\"\n (click)=\"OnNewEntity()\">\n <i class=\"fa-solid fa-plus\"></i>\n New Entity\n </button>\n </div>\n\n <!-- ── Toolbar ────────────────────────────────────────────────────────── -->\n <div class=\"entity-list-toolbar\">\n <div class=\"search-wrap\">\n <i class=\"fa-solid fa-magnifying-glass search-icon\"></i>\n <input\n type=\"text\"\n class=\"mj-input search-input\"\n placeholder=\"Search by name, table, or schema…\"\n [(ngModel)]=\"SearchTerm\"\n aria-label=\"Search entities\" />\n @if (SearchTerm) {\n <button\n class=\"search-clear\"\n (click)=\"SearchTerm = ''\"\n aria-label=\"Clear search\">\n <i class=\"fa-solid fa-xmark\"></i>\n </button>\n }\n </div>\n\n @if (AvailableFilterSchemas.length > 1) {\n <select\n class=\"mj-input schema-filter\"\n [value]=\"SelectedSchema\"\n (change)=\"SelectedSchema = $any($event.target).value\"\n aria-label=\"Filter by schema\">\n <option value=\"\">All Schemas</option>\n @for (schema of AvailableFilterSchemas; track schema) {\n <option [value]=\"schema\">{{ schema }}</option>\n }\n </select>\n }\n\n <button\n mjButton\n buttonStyle=\"secondary\"\n class=\"refresh-btn\"\n title=\"Refresh list\"\n [disabled]=\"IsLoading\"\n (click)=\"OnRefresh()\">\n <i class=\"fa-solid fa-rotate\" [class.fa-spin]=\"IsLoading\"></i>\n </button>\n </div>\n\n <!-- ── Error ──────────────────────────────────────────────────────────── -->\n @if (ErrorMessage) {\n <div class=\"entity-list-error\" role=\"alert\">\n <i class=\"fa-solid fa-circle-exclamation\"></i>\n {{ ErrorMessage }}\n </div>\n }\n\n <!-- ── Loading skeleton ───────────────────────────────────────────────── -->\n @if (IsLoading && FilteredEntities.length === 0) {\n <div class=\"skeleton-table\" aria-busy=\"true\" aria-label=\"Loading entities…\">\n @for (_ of [1, 2, 3, 4]; track $index) {\n <div class=\"skeleton-row\">\n <div class=\"skeleton-cell wide\"></div>\n <div class=\"skeleton-cell medium\"></div>\n <div class=\"skeleton-cell narrow\"></div>\n <div class=\"skeleton-cell narrow\"></div>\n <div class=\"skeleton-cell medium\"></div>\n <div class=\"skeleton-cell narrow\"></div>\n </div>\n }\n </div>\n }\n\n <!-- ── Entity table ───────────────────────────────────────────────────── -->\n @if (!IsLoading || FilteredEntities.length > 0) {\n @if (FilteredEntities.length > 0) {\n <div class=\"table-wrap\">\n <table class=\"entity-table\" role=\"grid\" aria-label=\"User-defined entities\">\n <thead>\n <tr>\n <th class=\"col-name sortable\" (click)=\"OnSortChange('entityName')\" scope=\"col\">\n Entity Name\n <span class=\"sort-icon\">\n @if (SortField === 'entityName') {\n <i class=\"fa-solid\" [class.fa-chevron-up]=\"SortDirection === 'asc'\" [class.fa-chevron-down]=\"SortDirection === 'desc'\"></i>\n } @else {\n <i class=\"fa-solid fa-chevron-up muted\"></i>\n }\n </span>\n </th>\n <th class=\"col-schema sortable\" (click)=\"OnSortChange('schemaName')\" scope=\"col\">\n Schema\n <span class=\"sort-icon\">\n @if (SortField === 'schemaName') {\n <i class=\"fa-solid\" [class.fa-chevron-up]=\"SortDirection === 'asc'\" [class.fa-chevron-down]=\"SortDirection === 'desc'\"></i>\n } @else {\n <i class=\"fa-solid fa-chevron-up muted\"></i>\n }\n </span>\n </th>\n <th class=\"col-table sortable\" (click)=\"OnSortChange('tableName')\" scope=\"col\">\n Table\n <span class=\"sort-icon\">\n @if (SortField === 'tableName') {\n <i class=\"fa-solid\" [class.fa-chevron-up]=\"SortDirection === 'asc'\" [class.fa-chevron-down]=\"SortDirection === 'desc'\"></i>\n } @else {\n <i class=\"fa-solid fa-chevron-up muted\"></i>\n }\n </span>\n </th>\n <th class=\"col-owner sortable\" (click)=\"OnSortChange('owner')\" scope=\"col\">\n Owner\n <span class=\"sort-icon\">\n @if (SortField === 'owner') {\n <i class=\"fa-solid\" [class.fa-chevron-up]=\"SortDirection === 'asc'\" [class.fa-chevron-down]=\"SortDirection === 'desc'\"></i>\n } @else {\n <i class=\"fa-solid fa-chevron-up muted\"></i>\n }\n </span>\n </th>\n <th class=\"col-created sortable\" (click)=\"OnSortChange('createdAt')\" scope=\"col\">\n Created\n <span class=\"sort-icon\">\n @if (SortField === 'createdAt') {\n <i class=\"fa-solid\" [class.fa-chevron-up]=\"SortDirection === 'asc'\" [class.fa-chevron-down]=\"SortDirection === 'desc'\"></i>\n } @else {\n <i class=\"fa-solid fa-chevron-up muted\"></i>\n }\n </span>\n </th>\n <th class=\"col-actions\" scope=\"col\">Actions</th>\n </tr>\n </thead>\n <tbody>\n @for (entity of FilteredEntities; track TrackByEntityId($index, entity)) {\n <tr class=\"entity-row\">\n <td class=\"col-name\">\n <div class=\"entity-name-cell\">\n <span class=\"entity-name\">{{ entity.entityName }}</span>\n @if (entity.isOwner) {\n <span class=\"owner-badge owner-you\" title=\"You own this entity\">You</span>\n }\n </div>\n </td>\n <td class=\"col-schema\">\n <span class=\"schema-badge\">{{ entity.schemaName }}</span>\n </td>\n <td class=\"col-table\">\n <code class=\"table-name\">{{ entity.tableName }}</code>\n </td>\n <td class=\"col-owner\">\n @if (entity.isOwner) {\n <span class=\"owner-self\">\n <i class=\"fa-solid fa-user-check\"></i>\n You\n </span>\n } @else if (entity.ownerDisplayName) {\n <span class=\"owner-other\">{{ entity.ownerDisplayName }}</span>\n } @else {\n <span class=\"owner-other muted\">—</span>\n }\n </td>\n <td class=\"col-created\">{{ FormatDate(entity.createdAt) }}</td>\n <td class=\"col-actions\">\n <div class=\"row-actions\">\n <button\n mjButton\n buttonStyle=\"secondary\"\n class=\"action-btn\"\n title=\"Edit this entity\"\n (click)=\"OnEditEntity(entity)\">\n <i class=\"fa-solid fa-pen-to-square\"></i>\n Edit\n </button>\n </div>\n </td>\n </tr>\n }\n </tbody>\n </table>\n </div>\n\n <div class=\"entity-count\">\n {{ FilteredEntities.length }} {{ FilteredEntities.length === 1 ? 'entity' : 'entities' }}\n @if (SearchTerm) { matching \"{{ SearchTerm }}\" }\n </div>\n } @else if (!IsLoading) {\n <!-- ── Zero state ───────────────────────────────────────────────── -->\n <div class=\"zero-state\">\n <div class=\"zero-state-icon\">\n <i class=\"fa-regular fa-rectangle-list\"></i>\n </div>\n @if (SearchTerm) {\n <h3 class=\"zero-state-title\">No entities match \"{{ SearchTerm }}\"</h3>\n <p class=\"zero-state-body\">Try a different search term or clear the filter.</p>\n <button mjButton buttonStyle=\"secondary\" (click)=\"SearchTerm = ''\">\n Clear search\n </button>\n } @else {\n <h3 class=\"zero-state-title\">No entities yet</h3>\n <p class=\"zero-state-body\">\n Create your first user-defined entity. You can also use the\n Database Designer agent in a conversation for guided design.\n </p>\n <button mjButton buttonStyle=\"primary\" (click)=\"OnNewEntity()\">\n <i class=\"fa-solid fa-plus\"></i>\n Create Entity\n </button>\n }\n </div>\n }\n }\n</div>\n"]}
|
|
1
|
+
{"version":3,"file":"entity-list.component.js","sourceRoot":"","sources":["../../../src/DatabaseDesigner/components/entity-list.component.ts","../../../src/DatabaseDesigner/components/entity-list.component.html"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EACH,SAAS,EAAqB,MAAM,EAAE,YAAY,EAClD,uBAAuB,EAAE,iBAAiB,EAAE,MAAM,GACrD,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,MAAM,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAC;AAE9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,yCAAyC,CAAC;;;;mBC2C1E,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC;;IAnBP,kCAAyB;IAAA,YAAY;IAAA,iBAAS;;;IAAtC,iCAAgB;IAAC,cAAY;IAAZ,+BAAY;;;;IAPzC,kCAIgC;IAD9B,gPAAqD;IAErD,kCAAiB;IAAA,2BAAW;IAAA,iBAAS;IACrC,2HAEC;IACH,iBAAS;;;IAPP,6CAAwB;IAIxB,eAEC;IAFD,4CAEC;;;IASL,+BAA4C;IAC1C,wBAA8C;IAC9C,YACF;IAAA,iBAAM;;;IADJ,eACF;IADE,oDACF;;;IAOI,+BAA0B;IAMxB,AADA,AADA,AADA,AADA,AADA,0BAAsC,cACE,cACA,cAC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XD,iEAWC;YAIkB,cAAiB;YAAjB,+BAAiB;YAEtC,cAKC;YALD,4CAKC;YAGD,cAaC;YAbD,8EAaC;YAGD,cAyIC;YAzID,6EAyIC;;;iFDnLU,mBAAmB;cAP/B,SAAS;6BACM,KAAK,YACP,yBAAyB,mBAGlB,uBAAuB,CAAC,MAAM;;kBAK9C,MAAM;;kBAEN,MAAM;;kBAEN,MAAM;;kFAPE,mBAAmB","sourcesContent":["/**\n * @module entity-list.component\n * @description Displays the list of entities accessible to the current user.\n *\n * Loaded from `DatabaseDesignerEngine.Instance.loadAccessibleEntities()` —\n * data access goes through the engine singleton, not this component directly,\n * so the cache is shared across wizard openings.\n */\n\nimport {\n Component, OnInit, OnDestroy, Output, EventEmitter,\n ChangeDetectionStrategy, ChangeDetectorRef, inject,\n} from '@angular/core';\nimport { Subject, BehaviorSubject, combineLatest } from 'rxjs';\nimport { debounceTime, takeUntil, map } from 'rxjs/operators';\n\nimport { DatabaseDesignerEngine } from '../services/database-designer.engine.js';\nimport type { AccessibleEntity } from '../database-designer.types.js';\n\n// ─── Sort state ───────────────────────────────────────────────────────────────\n\ntype SortField = 'entityName' | 'tableName' | 'schemaName' | 'createdAt' | 'owner';\ntype SortDirection = 'asc' | 'desc';\n\n@Component({\n standalone: false,\n selector: 'mj-database-entity-list',\n templateUrl: './entity-list.component.html',\n styleUrls: ['./entity-list.component.css'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class EntityListComponent implements OnInit, OnDestroy {\n\n /** Emitted when the user clicks \"Edit\" on an entity row. */\n @Output() public readonly EditEntity = new EventEmitter<AccessibleEntity>();\n /** Emitted when the user clicks \"View Details\" on an entity row. */\n @Output() public readonly ViewEntity = new EventEmitter<AccessibleEntity>();\n /** Emitted when the user clicks \"New Entity\". */\n @Output() public readonly NewEntity = new EventEmitter<void>();\n\n public IsLoading = false;\n public ErrorMessage: string | null = null;\n\n /** Full unfiltered list from the engine. */\n private _allEntities: AccessibleEntity[] = [];\n\n /** Public accessor for the chrome's X-of-Y badge. */\n public get TotalEntityCount(): number {\n return this._allEntities.length;\n }\n\n /** Cached sorted unique schema names — recomputed only when _allEntities changes. */\n private _availableFilterSchemas: string[] = [];\n\n /** Currently displayed (filtered + sorted) rows. */\n public FilteredEntities: AccessibleEntity[] = [];\n\n private readonly _search$ = new BehaviorSubject<string>('');\n private readonly _schema$ = new BehaviorSubject<string>('');\n private readonly _sortField$ = new BehaviorSubject<SortField>('entityName');\n private readonly _sortDir$ = new BehaviorSubject<SortDirection>('asc');\n private readonly _destroy$ = new Subject<void>();\n\n private readonly cdr = inject(ChangeDetectorRef);\n\n // ─── Lifecycle ─────────────────────────────────────────────────────────\n\n ngOnInit(): void {\n this.setupFilter();\n this.loadEntities();\n }\n\n ngOnDestroy(): void {\n this._destroy$.next();\n this._destroy$.complete();\n }\n\n // ─── Template bindings ─────────────────────────────────────────────────\n\n get SearchTerm(): string { return this._search$.value; }\n set SearchTerm(v: string) { this._search$.next(v); }\n\n get SelectedSchema(): string { return this._schema$.value; }\n set SelectedSchema(v: string) { this._schema$.next(v); }\n\n /** Unique schema names present in the loaded entity list, sorted alphabetically. */\n get AvailableFilterSchemas(): string[] { return this._availableFilterSchemas; }\n\n get SortField(): SortField { return this._sortField$.value; }\n get SortDirection(): SortDirection { return this._sortDir$.value; }\n\n /** Toggle sort: same field flips direction; new field defaults to asc. */\n public OnSortChange(field: SortField): void {\n if (this._sortField$.value === field) {\n this._sortDir$.next(this._sortDir$.value === 'asc' ? 'desc' : 'asc');\n } else {\n this._sortField$.next(field);\n this._sortDir$.next('asc');\n }\n }\n\n public OnEditEntity(entity: AccessibleEntity): void {\n this.EditEntity.emit(entity);\n }\n\n public OnViewEntity(entity: AccessibleEntity): void {\n this.ViewEntity.emit(entity);\n }\n\n public OnNewEntity(): void {\n this.NewEntity.emit();\n }\n\n public OnRefresh(): void {\n DatabaseDesignerEngine.Instance.invalidateCache();\n this.loadEntities();\n }\n\n public TrackByEntityId(_: number, entity: AccessibleEntity): string {\n return entity.entityId;\n }\n\n public FormatDate(date: Date): string {\n return date.toLocaleDateString(undefined, { year: 'numeric', month: 'short', day: 'numeric' });\n }\n\n // ─── Private helpers ───────────────────────────────────────────────────\n\n private setupFilter(): void {\n combineLatest([this._search$, this._schema$, this._sortField$, this._sortDir$])\n .pipe(\n debounceTime(150),\n map(([search, schema, field, dir]) => this.applyFilterAndSort(search, schema, field, dir)),\n takeUntil(this._destroy$),\n )\n .subscribe(result => {\n this.FilteredEntities = result;\n this.cdr.markForCheck();\n });\n }\n\n private async loadEntities(): Promise<void> {\n this.IsLoading = true;\n this.ErrorMessage = null;\n this.cdr.markForCheck();\n\n try {\n this._allEntities = await DatabaseDesignerEngine.Instance.loadAccessibleEntities();\n this._availableFilterSchemas = [...new Set(this._allEntities.map(e => e.schemaName))].sort();\n // Trigger the combineLatest pipe to recalculate; reset schema filter if\n // the previously selected schema is no longer present in the new entity list.\n const schemas = this._availableFilterSchemas;\n if (this._schema$.value && !schemas.includes(this._schema$.value)) {\n this._schema$.next('');\n } else {\n this._search$.next(this._search$.value);\n }\n } catch (err) {\n this.ErrorMessage = err instanceof Error ? err.message : String(err);\n } finally {\n this.IsLoading = false;\n this.cdr.markForCheck();\n }\n }\n\n private applyFilterAndSort(search: string, schema: string, field: SortField, dir: SortDirection): AccessibleEntity[] {\n const term = search.trim().toLowerCase();\n let results = [...this._allEntities];\n\n if (schema) {\n results = results.filter(e => e.schemaName === schema);\n }\n\n if (term) {\n results = results.filter(e =>\n e.entityName.toLowerCase().includes(term) ||\n e.tableName.toLowerCase().includes(term) ||\n e.schemaName.toLowerCase().includes(term)\n );\n }\n\n results.sort((a, b) => {\n const aVal = this.sortValue(a, field);\n const bVal = this.sortValue(b, field);\n const cmp = aVal < bVal ? -1 : aVal > bVal ? 1 : 0;\n return dir === 'asc' ? cmp : -cmp;\n });\n\n return results;\n }\n\n private sortValue(entity: AccessibleEntity, field: SortField): string | number {\n switch (field) {\n case 'entityName': return entity.entityName.toLowerCase();\n case 'tableName': return entity.tableName.toLowerCase();\n case 'schemaName': return entity.schemaName.toLowerCase();\n case 'createdAt': return entity.createdAt.getTime();\n case 'owner': return entity.isOwner ? 0 : 1;\n default: return entity.entityName.toLowerCase();\n }\n }\n}\n","<!--\n Database Designer is a sub-page of Admin → Data & Schema's left-nav shell, so\n per Section 9b/10 of plans/explorer-chrome-conventions.md we use the interior\n chrome pattern instead of <mj-page-layout> + <mj-page-header> (which would\n produce a doubled-header inside the Admin shell).\n-->\n<mj-page-header-interior\n AriaLabel=\"Database Designer\"\n Title=\"Database Designer\"\n Subtitle=\"Browse and create user-defined entities\">\n <!-- X-of-Y filtered count earns its meta spot per chrome conventions §2.\n Material on this page (~300 entities per deployment) makes the\n narrowing signal valuable. -->\n <div meta>\n <mj-stat-badge\n [Count]=\"FilteredEntities.length\"\n [Total]=\"TotalEntityCount\"\n Label=\"entities\">\n </mj-stat-badge>\n </div>\n <div actions>\n <mj-refresh-button [Loading]=\"IsLoading\" (Clicked)=\"OnRefresh()\"></mj-refresh-button>\n <button mjButton variant=\"primary\" size=\"sm\" (click)=\"OnNewEntity()\">\n <i class=\"fa-solid fa-plus\" aria-hidden=\"true\"></i> New Entity\n </button>\n </div>\n <div toolbar>\n <mj-page-search\n Placeholder=\"Search by name, table, or schema...\"\n [Value]=\"SearchTerm\"\n (ValueChange)=\"SearchTerm = $event\">\n </mj-page-search>\n @if (AvailableFilterSchemas.length > 1) {\n <select\n class=\"mj-input schema-filter\"\n [value]=\"SelectedSchema\"\n (change)=\"SelectedSchema = $any($event.target).value\"\n aria-label=\"Filter by schema\">\n <option value=\"\">All Schemas</option>\n @for (schema of AvailableFilterSchemas; track schema) {\n <option [value]=\"schema\">{{ schema }}</option>\n }\n </select>\n }\n </div>\n</mj-page-header-interior>\n\n<mj-page-body-interior [Padding]=\"false\">\n <!-- ── Error ──────────────────────────────────────────────────────────── -->\n @if (ErrorMessage) {\n <div class=\"entity-list-error\" role=\"alert\">\n <i class=\"fa-solid fa-circle-exclamation\"></i>\n {{ ErrorMessage }}\n </div>\n }\n\n <!-- ── Loading skeleton ───────────────────────────────────────────────── -->\n @if (IsLoading && FilteredEntities.length === 0) {\n <div class=\"skeleton-table\" aria-busy=\"true\" aria-label=\"Loading entities…\">\n @for (_ of [1, 2, 3, 4]; track $index) {\n <div class=\"skeleton-row\">\n <div class=\"skeleton-cell wide\"></div>\n <div class=\"skeleton-cell medium\"></div>\n <div class=\"skeleton-cell narrow\"></div>\n <div class=\"skeleton-cell narrow\"></div>\n <div class=\"skeleton-cell medium\"></div>\n <div class=\"skeleton-cell narrow\"></div>\n </div>\n }\n </div>\n }\n\n <!-- ── Entity table ───────────────────────────────────────────────────── -->\n @if (!IsLoading || FilteredEntities.length > 0) {\n @if (FilteredEntities.length > 0) {\n <div class=\"table-wrap\">\n <table class=\"entity-table\" role=\"grid\" aria-label=\"User-defined entities\">\n <thead>\n <tr>\n <th class=\"col-name sortable\" (click)=\"OnSortChange('entityName')\" scope=\"col\">\n Entity Name\n <span class=\"sort-icon\">\n @if (SortField === 'entityName') {\n <i class=\"fa-solid\" [class.fa-chevron-up]=\"SortDirection === 'asc'\" [class.fa-chevron-down]=\"SortDirection === 'desc'\"></i>\n } @else {\n <i class=\"fa-solid fa-chevron-up muted\"></i>\n }\n </span>\n </th>\n <th class=\"col-schema sortable\" (click)=\"OnSortChange('schemaName')\" scope=\"col\">\n Schema\n <span class=\"sort-icon\">\n @if (SortField === 'schemaName') {\n <i class=\"fa-solid\" [class.fa-chevron-up]=\"SortDirection === 'asc'\" [class.fa-chevron-down]=\"SortDirection === 'desc'\"></i>\n } @else {\n <i class=\"fa-solid fa-chevron-up muted\"></i>\n }\n </span>\n </th>\n <th class=\"col-table sortable\" (click)=\"OnSortChange('tableName')\" scope=\"col\">\n Table\n <span class=\"sort-icon\">\n @if (SortField === 'tableName') {\n <i class=\"fa-solid\" [class.fa-chevron-up]=\"SortDirection === 'asc'\" [class.fa-chevron-down]=\"SortDirection === 'desc'\"></i>\n } @else {\n <i class=\"fa-solid fa-chevron-up muted\"></i>\n }\n </span>\n </th>\n <th class=\"col-owner sortable\" (click)=\"OnSortChange('owner')\" scope=\"col\">\n Owner\n <span class=\"sort-icon\">\n @if (SortField === 'owner') {\n <i class=\"fa-solid\" [class.fa-chevron-up]=\"SortDirection === 'asc'\" [class.fa-chevron-down]=\"SortDirection === 'desc'\"></i>\n } @else {\n <i class=\"fa-solid fa-chevron-up muted\"></i>\n }\n </span>\n </th>\n <th class=\"col-created sortable\" (click)=\"OnSortChange('createdAt')\" scope=\"col\">\n Created\n <span class=\"sort-icon\">\n @if (SortField === 'createdAt') {\n <i class=\"fa-solid\" [class.fa-chevron-up]=\"SortDirection === 'asc'\" [class.fa-chevron-down]=\"SortDirection === 'desc'\"></i>\n } @else {\n <i class=\"fa-solid fa-chevron-up muted\"></i>\n }\n </span>\n </th>\n <th class=\"col-actions\" scope=\"col\">Actions</th>\n </tr>\n </thead>\n <tbody>\n @for (entity of FilteredEntities; track TrackByEntityId($index, entity)) {\n <tr class=\"entity-row\">\n <td class=\"col-name\">\n <div class=\"entity-name-cell\">\n <span class=\"entity-name\">{{ entity.entityName }}</span>\n @if (entity.isOwner) {\n <span class=\"owner-badge owner-you\" title=\"You own this entity\">You</span>\n }\n </div>\n </td>\n <td class=\"col-schema\">\n <span class=\"schema-badge\">{{ entity.schemaName }}</span>\n </td>\n <td class=\"col-table\">\n <code class=\"table-name\">{{ entity.tableName }}</code>\n </td>\n <td class=\"col-owner\">\n @if (entity.isOwner) {\n <span class=\"owner-self\">\n <i class=\"fa-solid fa-user-check\"></i>\n You\n </span>\n } @else if (entity.ownerDisplayName) {\n <span class=\"owner-other\">{{ entity.ownerDisplayName }}</span>\n } @else {\n <span class=\"owner-other muted\">—</span>\n }\n </td>\n <td class=\"col-created\">{{ FormatDate(entity.createdAt) }}</td>\n <td class=\"col-actions\">\n <div class=\"row-actions\">\n <button\n mjButton\n buttonStyle=\"secondary\"\n class=\"action-btn\"\n title=\"Edit this entity\"\n (click)=\"OnEditEntity(entity)\">\n <i class=\"fa-solid fa-pen-to-square\"></i>\n Edit\n </button>\n </div>\n </td>\n </tr>\n }\n </tbody>\n </table>\n </div>\n\n <div class=\"entity-count\">\n {{ FilteredEntities.length }} {{ FilteredEntities.length === 1 ? 'entity' : 'entities' }}\n @if (SearchTerm) { matching \"{{ SearchTerm }}\" }\n </div>\n } @else if (!IsLoading) {\n <!-- ── Zero state ───────────────────────────────────────────────── -->\n <div class=\"zero-state\">\n <div class=\"zero-state-icon\">\n <i class=\"fa-regular fa-rectangle-list\"></i>\n </div>\n @if (SearchTerm) {\n <h3 class=\"zero-state-title\">No entities match \"{{ SearchTerm }}\"</h3>\n <p class=\"zero-state-body\">Try a different search term or clear the filter.</p>\n <button mjButton buttonStyle=\"secondary\" (click)=\"SearchTerm = ''\">\n Clear search\n </button>\n } @else {\n <h3 class=\"zero-state-title\">No entities yet</h3>\n <p class=\"zero-state-body\">\n Create your first user-defined entity. You can also use the\n Database Designer agent in a conversation for guided design.\n </p>\n <button mjButton buttonStyle=\"primary\" (click)=\"OnNewEntity()\">\n <i class=\"fa-solid fa-plus\"></i>\n Create Entity\n </button>\n }\n </div>\n }\n }\n</mj-page-body-interior>\n"]}
|
|
@@ -24,7 +24,7 @@ import * as i22 from "@memberjunction/ng-entity-relationship-diagram";
|
|
|
24
24
|
import * as i23 from "angular-split";
|
|
25
25
|
export declare class DatabaseDesignerDashboardsModule {
|
|
26
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<DatabaseDesignerDashboardsModule, never>;
|
|
27
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DatabaseDesignerDashboardsModule, [typeof i1.DatabaseDesignerDashboardComponent, typeof i2.EntityListComponent, typeof i3.WizardStepIndicatorComponent, typeof i4.EntityFieldsGridComponent, typeof i5.EntityReviewPanelComponent, typeof i6.EntityPipelinePanelComponent, typeof i7.DatabasePreviewPaneComponent, typeof i8.DatabaseCreateWizardComponent, typeof i9.StepBasicsComponent, typeof i10.StepFieldsComponent, typeof i11.StepRelationshipsComponent, typeof i12.StepReviewComponent, typeof i13.StepPipelineComponent, typeof i14.DatabaseModifyComponent], [typeof i15.CommonModule, typeof i16.FormsModule, typeof i17.MJButtonDirective, typeof i18.SharedGenericModule, typeof i19.VersionsModule, typeof i20.MarkdownModule, typeof i21.CodeEditorModule, typeof i22.EntityRelationshipDiagramModule, typeof i23.AngularSplitModule], [typeof i1.DatabaseDesignerDashboardComponent, typeof i2.EntityListComponent, typeof i3.WizardStepIndicatorComponent, typeof i4.EntityFieldsGridComponent, typeof i5.EntityReviewPanelComponent, typeof i6.EntityPipelinePanelComponent, typeof i8.DatabaseCreateWizardComponent]>;
|
|
27
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DatabaseDesignerDashboardsModule, [typeof i1.DatabaseDesignerDashboardComponent, typeof i2.EntityListComponent, typeof i3.WizardStepIndicatorComponent, typeof i4.EntityFieldsGridComponent, typeof i5.EntityReviewPanelComponent, typeof i6.EntityPipelinePanelComponent, typeof i7.DatabasePreviewPaneComponent, typeof i8.DatabaseCreateWizardComponent, typeof i9.StepBasicsComponent, typeof i10.StepFieldsComponent, typeof i11.StepRelationshipsComponent, typeof i12.StepReviewComponent, typeof i13.StepPipelineComponent, typeof i14.DatabaseModifyComponent], [typeof i15.CommonModule, typeof i16.FormsModule, typeof i17.MJButtonDirective, typeof i17.MJPageLayoutComponent, typeof i17.MJPageHeaderComponent, typeof i17.MJPageBodyComponent, typeof i17.MJPageHeaderInteriorComponent, typeof i17.MJPageBodyInteriorComponent, typeof i17.MJPageSearchComponent, typeof i17.MJRefreshButtonComponent, typeof i17.MJStatBadgeComponent, typeof i18.SharedGenericModule, typeof i19.VersionsModule, typeof i20.MarkdownModule, typeof i21.CodeEditorModule, typeof i22.EntityRelationshipDiagramModule, typeof i23.AngularSplitModule], [typeof i1.DatabaseDesignerDashboardComponent, typeof i2.EntityListComponent, typeof i3.WizardStepIndicatorComponent, typeof i4.EntityFieldsGridComponent, typeof i5.EntityReviewPanelComponent, typeof i6.EntityPipelinePanelComponent, typeof i8.DatabaseCreateWizardComponent]>;
|
|
28
28
|
static ɵinj: i0.ɵɵInjectorDeclaration<DatabaseDesignerDashboardsModule>;
|
|
29
29
|
}
|
|
30
30
|
//# sourceMappingURL=database-designer-dashboards.module.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"database-designer-dashboards.module.d.ts","sourceRoot":"","sources":["../../src/DatabaseDesigner/database-designer-dashboards.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"database-designer-dashboards.module.d.ts","sourceRoot":"","sources":["../../src/DatabaseDesigner/database-designer-dashboards.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAkDA,qBAoDa,gCAAgC;yCAAhC,gCAAgC;0CAAhC,gCAAgC;0CAAhC,gCAAgC;CAAG"}
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
import { NgModule } from '@angular/core';
|
|
14
14
|
import { CommonModule } from '@angular/common';
|
|
15
15
|
import { FormsModule } from '@angular/forms';
|
|
16
|
-
import { MJButtonDirective } from '@memberjunction/ng-ui-components';
|
|
16
|
+
import { MJButtonDirective, MJPageLayoutComponent, MJPageHeaderComponent, MJPageBodyComponent, MJPageHeaderInteriorComponent, MJPageBodyInteriorComponent, MJPageSearchComponent, MJRefreshButtonComponent, MJStatBadgeComponent } from '@memberjunction/ng-ui-components';
|
|
17
17
|
import { SharedGenericModule } from '@memberjunction/ng-shared-generic';
|
|
18
18
|
import { VersionsModule } from '@memberjunction/ng-versions';
|
|
19
19
|
import { MarkdownModule } from '@memberjunction/ng-markdown';
|
|
@@ -43,6 +43,14 @@ export class DatabaseDesignerDashboardsModule {
|
|
|
43
43
|
DatabaseDesignerService,
|
|
44
44
|
], imports: [CommonModule,
|
|
45
45
|
FormsModule,
|
|
46
|
+
MJPageLayoutComponent,
|
|
47
|
+
MJPageHeaderComponent,
|
|
48
|
+
MJPageBodyComponent,
|
|
49
|
+
MJPageHeaderInteriorComponent,
|
|
50
|
+
MJPageBodyInteriorComponent,
|
|
51
|
+
MJPageSearchComponent,
|
|
52
|
+
MJRefreshButtonComponent,
|
|
53
|
+
MJStatBadgeComponent,
|
|
46
54
|
SharedGenericModule,
|
|
47
55
|
VersionsModule,
|
|
48
56
|
MarkdownModule,
|
|
@@ -76,6 +84,14 @@ export class DatabaseDesignerDashboardsModule {
|
|
|
76
84
|
CommonModule,
|
|
77
85
|
FormsModule,
|
|
78
86
|
MJButtonDirective,
|
|
87
|
+
MJPageLayoutComponent,
|
|
88
|
+
MJPageHeaderComponent,
|
|
89
|
+
MJPageBodyComponent,
|
|
90
|
+
MJPageHeaderInteriorComponent,
|
|
91
|
+
MJPageBodyInteriorComponent,
|
|
92
|
+
MJPageSearchComponent,
|
|
93
|
+
MJRefreshButtonComponent,
|
|
94
|
+
MJStatBadgeComponent,
|
|
79
95
|
SharedGenericModule,
|
|
80
96
|
VersionsModule,
|
|
81
97
|
MarkdownModule,
|
|
@@ -116,6 +132,14 @@ export class DatabaseDesignerDashboardsModule {
|
|
|
116
132
|
DatabaseModifyComponent], imports: [CommonModule,
|
|
117
133
|
FormsModule,
|
|
118
134
|
MJButtonDirective,
|
|
135
|
+
MJPageLayoutComponent,
|
|
136
|
+
MJPageHeaderComponent,
|
|
137
|
+
MJPageBodyComponent,
|
|
138
|
+
MJPageHeaderInteriorComponent,
|
|
139
|
+
MJPageBodyInteriorComponent,
|
|
140
|
+
MJPageSearchComponent,
|
|
141
|
+
MJRefreshButtonComponent,
|
|
142
|
+
MJStatBadgeComponent,
|
|
119
143
|
SharedGenericModule,
|
|
120
144
|
VersionsModule,
|
|
121
145
|
MarkdownModule,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"database-designer-dashboards.module.js","sourceRoot":"","sources":["../../src/DatabaseDesigner/database-designer-dashboards.module.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,
|
|
1
|
+
{"version":3,"file":"database-designer-dashboards.module.js","sourceRoot":"","sources":["../../src/DatabaseDesigner/database-designer-dashboards.module.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EACH,iBAAiB,EACjB,qBAAqB,EACrB,qBAAqB,EACrB,mBAAmB,EACnB,6BAA6B,EAC7B,2BAA2B,EAC3B,qBAAqB,EACrB,wBAAwB,EACxB,oBAAoB,EACvB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AACxE,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAClE,OAAO,EAAE,+BAA+B,EAAE,MAAM,gDAAgD,CAAC;AACjG,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAEnD,OAAO,EAAE,kCAAkC,EAAE,MAAM,oDAAoD,CAAC;AACxG,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AACzE,OAAO,EAAE,4BAA4B,EAAE,MAAM,qDAAqD,CAAC;AACnG,OAAO,EAAE,yBAAyB,EAAE,MAAM,kDAAkD,CAAC;AAC7F,OAAO,EAAE,0BAA0B,EAAE,MAAM,mDAAmD,CAAC;AAC/F,OAA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oBACjB,qBAAqB;oBACrB,qBAAqB;oBACrB,mBAAmB;oBACnB,6BAA6B;oBAC7B,2BAA2B;oBAC3B,qBAAqB;oBACrB,wBAAwB;oBACxB,oBAAoB;oBACpB,mBAAmB;oBACnB,cAAc;oBACd,cAAc;oBACd,gBAAgB;oBAChB,+BAA+B;oBAC/B,kBAAkB;iBACrB;gBACD,SAAS,EAAE;oBACP,uBAAuB;iBAC1B;gBACD,OAAO,EAAE;oBACL,kCAAkC;oBAClC,mBAAmB;oBACnB,4BAA4B;oBAC5B,yBAAyB;oBACzB,0BAA0B;oBAC1B,4BAA4B;oBAC5B,6BAA6B;iBAChC;aACJ;;wFACY,gCAAgC,mBAlDrC,kCAAkC;QAClC,mBAAmB;QACnB,sBAAsB;QACtB,4BAA4B;QAC5B,yBAAyB;QACzB,0BAA0B;QAC1B,4BAA4B;QAC5B,4BAA4B;QAC5B,2BAA2B;QAC3B,6BAA6B;QAC7B,mBAAmB;QACnB,mBAAmB;QACnB,0BAA0B;QAC1B,mBAAmB;QACnB,qBAAqB;QACrB,WAAW;QACX,uBAAuB,aAGvB,YAAY;QACZ,WAAW;QACX,iBAAiB;QACjB,qBAAqB;QACrB,qBAAqB;QACrB,mBAAmB;QACnB,6BAA6B;QAC7B,2BAA2B;QAC3B,qBAAqB;QACrB,wBAAwB;QACxB,oBAAoB;QACpB,mBAAmB;QACnB,cAAc;QACd,cAAc;QACd,gBAAgB;QAChB,+BAA+B;QAC/B,kBAAkB,aAMlB,kCAAkC;QAClC,mBAAmB;QACnB,4BAA4B;QAC5B,yBAAyB;QACzB,0BAA0B;QAC1B,4BAA4B;QAC5B,6BAA6B","sourcesContent":["/**\n * DatabaseDesignerDashboardsModule\n *\n * Feature module for the Database Designer dashboard area. Declares the main\n * dashboard component and its entity-list sub-component. The wizard steps and\n * modify view are added in later phases (5c–5e) and will be declared here too.\n *\n * Lazy-loading entry point: DashboardsModule (module.ts) imports this module\n * so MJExplorer can code-split it in the future without touching any other file.\n *\n * Slide-over panels use MjSlidePanelComponent from VersionsModule.\n */\n\nimport { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormsModule } from '@angular/forms';\nimport {\n MJButtonDirective,\n MJPageLayoutComponent,\n MJPageHeaderComponent,\n MJPageBodyComponent,\n MJPageHeaderInteriorComponent,\n MJPageBodyInteriorComponent,\n MJPageSearchComponent,\n MJRefreshButtonComponent,\n MJStatBadgeComponent\n} from '@memberjunction/ng-ui-components';\nimport { SharedGenericModule } from '@memberjunction/ng-shared-generic';\nimport { VersionsModule } from '@memberjunction/ng-versions';\nimport { MarkdownModule } from '@memberjunction/ng-markdown';\nimport { CodeEditorModule } from '@memberjunction/ng-code-editor';\nimport { EntityRelationshipDiagramModule } from '@memberjunction/ng-entity-relationship-diagram';\nimport { AngularSplitModule } from 'angular-split';\n\nimport { DatabaseDesignerDashboardComponent } from './components/database-designer-dashboard.component';\nimport { EntityListComponent } from './components/entity-list.component';\nimport { WizardStepIndicatorComponent } from './components/shared/wizard-step-indicator.component';\nimport { EntityFieldsGridComponent } from './components/shared/entity-fields-grid.component';\nimport { EntityReviewPanelComponent } from './components/shared/entity-review-panel.component';\nimport { EntityPipelinePanelComponent } from './components/shared/entity-pipeline-panel.component';\nimport { DatabaseCreateWizardComponent } from './components/create-wizard/database-create-wizard.component';\nimport { StepBasicsComponent } from './components/create-wizard/steps/step-basics.component';\nimport { StepFieldsComponent } from './components/create-wizard/steps/step-fields.component';\nimport { StepRelationshipsComponent } from './components/create-wizard/steps/step-relationships.component';\nimport { StepReviewComponent } from './components/create-wizard/steps/step-review.component';\nimport { StepPipelineComponent } from './components/create-wizard/steps/step-pipeline.component';\nimport { DatabaseModifyComponent } from './components/modify/database-modify.component';\nimport { DatabasePreviewPaneComponent } from './components/shared/database-preview-pane.component';\nimport { DatabaseDesignerService } from './services/database-designer.service';\n\n@NgModule({\n declarations: [\n DatabaseDesignerDashboardComponent,\n EntityListComponent,\n // Phase 5c: shared UI\n WizardStepIndicatorComponent,\n EntityFieldsGridComponent,\n EntityReviewPanelComponent,\n EntityPipelinePanelComponent,\n DatabasePreviewPaneComponent,\n // Phase 5d: wizard + steps\n DatabaseCreateWizardComponent,\n StepBasicsComponent,\n StepFieldsComponent,\n StepRelationshipsComponent,\n StepReviewComponent,\n StepPipelineComponent,\n // Phase 5e\n DatabaseModifyComponent,\n ],\n imports: [\n CommonModule,\n FormsModule,\n MJButtonDirective,\n MJPageLayoutComponent,\n MJPageHeaderComponent,\n MJPageBodyComponent,\n MJPageHeaderInteriorComponent,\n MJPageBodyInteriorComponent,\n MJPageSearchComponent,\n MJRefreshButtonComponent,\n MJStatBadgeComponent,\n SharedGenericModule,\n VersionsModule,\n MarkdownModule,\n CodeEditorModule,\n EntityRelationshipDiagramModule,\n AngularSplitModule,\n ],\n providers: [\n DatabaseDesignerService,\n ],\n exports: [\n DatabaseDesignerDashboardComponent,\n EntityListComponent,\n WizardStepIndicatorComponent,\n EntityFieldsGridComponent,\n EntityReviewPanelComponent,\n EntityPipelinePanelComponent,\n DatabaseCreateWizardComponent,\n ],\n})\nexport class DatabaseDesignerDashboardsModule {}\n"]}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { OnInit, OnDestroy, ChangeDetectorRef } from '@angular/core';
|
|
2
2
|
import { BaseResourceComponent } from '@memberjunction/ng-shared';
|
|
3
|
+
import { TabConfig } from '@memberjunction/ng-ui-components';
|
|
3
4
|
import { WorkspaceStateManager } from '@memberjunction/ng-base-application';
|
|
4
5
|
import { DeveloperModeService } from '@memberjunction/ng-shared';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
@@ -30,6 +31,10 @@ export declare class AppStateInspectorComponent extends BaseResourceComponent im
|
|
|
30
31
|
ngOnDestroy(): void;
|
|
31
32
|
GetResourceDisplayName(): Promise<string>;
|
|
32
33
|
GetResourceIconClass(): Promise<string>;
|
|
34
|
+
/** Sections rendered as horizontal tabs in the chrome's [toolbar] slot. */
|
|
35
|
+
get tabsConfig(): TabConfig[];
|
|
36
|
+
/** Adapter for `<mj-tab-nav>`'s string-typed `(TabChange)` output. */
|
|
37
|
+
onTabChange(key: string): void;
|
|
33
38
|
OnSectionClick(section: InspectorSection): void;
|
|
34
39
|
refresh(): void;
|
|
35
40
|
OnCopy(): Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-state-inspector.component.d.ts","sourceRoot":"","sources":["../../src/DevTools/app-state-inspector.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,MAAM,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAChF,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"app-state-inspector.component.d.ts","sourceRoot":"","sources":["../../src/DevTools/app-state-inspector.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,MAAM,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAChF,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAElE,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAG7D,OAAO,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AAC5E,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;;AAEjE,UAAU,gBAAgB;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,OAAO,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAED;;;;GAIG;AACH,qBAOa,0BAA2B,SAAQ,qBAAsB,YAAW,MAAM,EAAE,SAAS;IAkB1F,OAAO,CAAC,GAAG;IACX,OAAO,CAAC,SAAS;IACjB,OAAO,CAAC,OAAO;IAlBZ,QAAQ,EAAE,gBAAgB,EAAE,CAOjC;IAEK,aAAa,SAAU;IACvB,SAAS,SAAQ;IACjB,WAAW,SAAM;IACjB,aAAa,UAAS;IACtB,aAAa,OAAc;gBAGtB,GAAG,EAAE,iBAAiB,EACtB,SAAS,EAAE,qBAAqB,EAChC,OAAO,EAAE,oBAAoB;IAKlC,QAAQ,IAAI,IAAI;IASP,WAAW,IAAI,IAAI;IAKb,sBAAsB,IAAI,OAAO,CAAC,MAAM,CAAC;IACzC,oBAAoB,IAAI,OAAO,CAAC,MAAM,CAAC;IAE7D,2EAA2E;IAC3E,IAAW,UAAU,IAAI,SAAS,EAAE,CAMnC;IAED,sEAAsE;IAC/D,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAO9B,cAAc,CAAC,OAAO,EAAE,gBAAgB,GAAG,IAAI;IAO/C,OAAO,IAAI,IAAI;IAMT,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC;IAc7B,UAAU,IAAI,IAAI;IAUzB,IAAW,kBAAkB,IAAI,MAAM,CAEtC;IAED,IAAW,YAAY,IAAI,MAAM,CAEhC;IAID,OAAO,CAAC,kBAAkB;IAY1B,OAAO,CAAC,QAAQ;IAiBhB,OAAO,CAAC,YAAY;IAiBpB,OAAO,CAAC,aAAa;IAKrB,OAAO,CAAC,OAAO;IAWf,OAAO,CAAC,OAAO;IAQf,OAAO,CAAC,WAAW;IAenB,OAAO,CAAC,YAAY;IAQpB,OAAO,CAAC,UAAU;IAQlB,OAAO,CAAC,aAAa;yCA/MZ,0BAA0B;2CAA1B,0BAA0B;CAqNtC"}
|
|
@@ -13,38 +13,8 @@ import * as i0 from "@angular/core";
|
|
|
13
13
|
import * as i1 from "@memberjunction/ng-base-application";
|
|
14
14
|
import * as i2 from "@memberjunction/ng-shared";
|
|
15
15
|
import * as i3 from "@angular/forms";
|
|
16
|
-
import * as i4 from "@memberjunction/ng-
|
|
17
|
-
|
|
18
|
-
function AppStateInspectorComponent_For_22_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
19
|
-
i0.ɵɵelementStart(0, "div", 27);
|
|
20
|
-
i0.ɵɵtext(1);
|
|
21
|
-
i0.ɵɵelementEnd();
|
|
22
|
-
} if (rf & 2) {
|
|
23
|
-
const section_r2 = i0.ɵɵnextContext().$implicit;
|
|
24
|
-
i0.ɵɵadvance();
|
|
25
|
-
i0.ɵɵtextInterpolate(section_r2.description);
|
|
26
|
-
} }
|
|
27
|
-
function AppStateInspectorComponent_For_22_Template(rf, ctx) { if (rf & 1) {
|
|
28
|
-
const _r1 = i0.ɵɵgetCurrentView();
|
|
29
|
-
i0.ɵɵelementStart(0, "button", 23);
|
|
30
|
-
i0.ɵɵlistener("click", function AppStateInspectorComponent_For_22_Template_button_click_0_listener() { const section_r2 = i0.ɵɵrestoreView(_r1).$implicit; const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.OnSectionClick(section_r2)); });
|
|
31
|
-
i0.ɵɵelement(1, "i", 24);
|
|
32
|
-
i0.ɵɵelementStart(2, "div", 25)(3, "div", 26);
|
|
33
|
-
i0.ɵɵtext(4);
|
|
34
|
-
i0.ɵɵelementEnd();
|
|
35
|
-
i0.ɵɵconditionalCreate(5, AppStateInspectorComponent_For_22_Conditional_5_Template, 2, 1, "div", 27);
|
|
36
|
-
i0.ɵɵelementEnd()();
|
|
37
|
-
} if (rf & 2) {
|
|
38
|
-
const section_r2 = ctx.$implicit;
|
|
39
|
-
const ctx_r2 = i0.ɵɵnextContext();
|
|
40
|
-
i0.ɵɵclassProp("mj-inspector__nav-item--active", ctx_r2.ActiveSection === section_r2.id);
|
|
41
|
-
i0.ɵɵadvance();
|
|
42
|
-
i0.ɵɵclassMap(section_r2.icon);
|
|
43
|
-
i0.ɵɵadvance(3);
|
|
44
|
-
i0.ɵɵtextInterpolate(section_r2.label);
|
|
45
|
-
i0.ɵɵadvance();
|
|
46
|
-
i0.ɵɵconditional(section_r2.description ? 5 : -1);
|
|
47
|
-
} }
|
|
16
|
+
import * as i4 from "@memberjunction/ng-ui-components";
|
|
17
|
+
import * as i5 from "@memberjunction/ng-code-editor";
|
|
48
18
|
/**
|
|
49
19
|
* App State Inspector — read-only structured view of the Explorer's runtime
|
|
50
20
|
* state. Replaces the legacy "Inspect App State" user-menu item which only
|
|
@@ -87,6 +57,21 @@ let AppStateInspectorComponent = class AppStateInspectorComponent extends BaseRe
|
|
|
87
57
|
}
|
|
88
58
|
async GetResourceDisplayName() { return 'App State Inspector'; }
|
|
89
59
|
async GetResourceIconClass() { return 'fa-solid fa-magnifying-glass-chart'; }
|
|
60
|
+
/** Sections rendered as horizontal tabs in the chrome's [toolbar] slot. */
|
|
61
|
+
get tabsConfig() {
|
|
62
|
+
return this.Sections.map(s => ({
|
|
63
|
+
key: s.id,
|
|
64
|
+
label: s.label,
|
|
65
|
+
icon: s.icon
|
|
66
|
+
}));
|
|
67
|
+
}
|
|
68
|
+
/** Adapter for `<mj-tab-nav>`'s string-typed `(TabChange)` output. */
|
|
69
|
+
onTabChange(key) {
|
|
70
|
+
const section = this.Sections.find(s => s.id === key);
|
|
71
|
+
if (section) {
|
|
72
|
+
this.OnSectionClick(section);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
90
75
|
OnSectionClick(section) {
|
|
91
76
|
if (this.ActiveSection === section.id)
|
|
92
77
|
return;
|
|
@@ -233,61 +218,50 @@ let AppStateInspectorComponent = class AppStateInspectorComponent extends BaseRe
|
|
|
233
218
|
return `${d.getFullYear()}${pad(d.getMonth() + 1)}${pad(d.getDate())}-${pad(d.getHours())}${pad(d.getMinutes())}${pad(d.getSeconds())}`;
|
|
234
219
|
}
|
|
235
220
|
static ɵfac = function AppStateInspectorComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AppStateInspectorComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i1.WorkspaceStateManager), i0.ɵɵdirectiveInject(i2.DeveloperModeService)); };
|
|
236
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AppStateInspectorComponent, selectors: [["mj-app-state-inspector"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls:
|
|
237
|
-
i0.ɵɵelementStart(0, "div", 0)(1, "
|
|
238
|
-
i0.ɵɵ
|
|
221
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AppStateInspectorComponent, selectors: [["mj-app-state-inspector"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 19, vars: 16, consts: [[1, "mj-inspector", "mj-inspector--solo"], ["Role", "region", "AriaLabel", "App State inspector", "Title", "App State Inspector", "Subtitle", "Read-only snapshot of Explorer runtime state"], ["actions", ""], [3, "Clicked", "Loading"], ["mjButton", "", "size", "sm", 3, "click", "variant", "title"], ["aria-hidden", "true", 1, "fa-solid"], ["mjButton", "", "variant", "secondary", "size", "sm", "title", "Download as JSON", "aria-label", "Download as JSON", 3, "click"], ["aria-hidden", "true", 1, "fa-solid", "fa-download"], ["toolbar", ""], [3, "TabChange", "Tabs", "ActiveKey"], [1, "mj-inspector__content"], [1, "mj-inspector__content-head"], [1, "mj-inspector__content-title"], [1, "mj-inspector__content-meta"], [1, "mj-inspector__editor"], [3, "ngModelChange", "ngModel", "language", "readonly", "lineWrapping"]], template: function AppStateInspectorComponent_Template(rf, ctx) { if (rf & 1) {
|
|
222
|
+
i0.ɵɵelementStart(0, "div", 0)(1, "mj-page-header-interior", 1)(2, "div", 2)(3, "mj-refresh-button", 3);
|
|
223
|
+
i0.ɵɵlistener("Clicked", function AppStateInspectorComponent_Template_mj_refresh_button_Clicked_3_listener() { return ctx.refresh(); });
|
|
239
224
|
i0.ɵɵelementEnd();
|
|
240
|
-
i0.ɵɵelementStart(4, "
|
|
241
|
-
i0.ɵɵ
|
|
225
|
+
i0.ɵɵelementStart(4, "button", 4);
|
|
226
|
+
i0.ɵɵlistener("click", function AppStateInspectorComponent_Template_button_click_4_listener() { return ctx.OnCopy(); });
|
|
227
|
+
i0.ɵɵelement(5, "i", 5);
|
|
228
|
+
i0.ɵɵtext(6);
|
|
242
229
|
i0.ɵɵelementEnd();
|
|
243
|
-
i0.ɵɵelementStart(7, "
|
|
244
|
-
i0.ɵɵ
|
|
230
|
+
i0.ɵɵelementStart(7, "button", 6);
|
|
231
|
+
i0.ɵɵlistener("click", function AppStateInspectorComponent_Template_button_click_7_listener() { return ctx.OnDownload(); });
|
|
232
|
+
i0.ɵɵelement(8, "i", 7);
|
|
245
233
|
i0.ɵɵelementEnd()();
|
|
246
|
-
i0.ɵɵ
|
|
247
|
-
i0.ɵɵ
|
|
248
|
-
i0.ɵɵlistener("click", function AppStateInspectorComponent_Template_button_click_11_listener() { return ctx.refresh(); });
|
|
249
|
-
i0.ɵɵelement(12, "i", 9);
|
|
250
|
-
i0.ɵɵtext(13, " Refresh ");
|
|
251
|
-
i0.ɵɵelementEnd();
|
|
252
|
-
i0.ɵɵelementStart(14, "button", 10);
|
|
253
|
-
i0.ɵɵlistener("click", function AppStateInspectorComponent_Template_button_click_14_listener() { return ctx.OnCopy(); });
|
|
254
|
-
i0.ɵɵelement(15, "i", 11);
|
|
255
|
-
i0.ɵɵtext(16);
|
|
256
|
-
i0.ɵɵelementEnd();
|
|
257
|
-
i0.ɵɵelementStart(17, "button", 12);
|
|
258
|
-
i0.ɵɵlistener("click", function AppStateInspectorComponent_Template_button_click_17_listener() { return ctx.OnDownload(); });
|
|
259
|
-
i0.ɵɵelement(18, "i", 13);
|
|
234
|
+
i0.ɵɵelementStart(9, "div", 8)(10, "mj-tab-nav", 9);
|
|
235
|
+
i0.ɵɵlistener("TabChange", function AppStateInspectorComponent_Template_mj_tab_nav_TabChange_10_listener($event) { return ctx.onTabChange($event); });
|
|
260
236
|
i0.ɵɵelementEnd()()();
|
|
261
|
-
i0.ɵɵelementStart(
|
|
262
|
-
i0.ɵɵ
|
|
263
|
-
i0.ɵɵelementEnd();
|
|
264
|
-
i0.ɵɵelementStart(23, "div", 17)(24, "div", 18)(25, "h4", 19);
|
|
265
|
-
i0.ɵɵtext(26);
|
|
237
|
+
i0.ɵɵelementStart(11, "div", 10)(12, "div", 11)(13, "h4", 12);
|
|
238
|
+
i0.ɵɵtext(14);
|
|
266
239
|
i0.ɵɵelementEnd();
|
|
267
|
-
i0.ɵɵelementStart(
|
|
268
|
-
i0.ɵɵtext(
|
|
240
|
+
i0.ɵɵelementStart(15, "span", 13);
|
|
241
|
+
i0.ɵɵtext(16);
|
|
269
242
|
i0.ɵɵelementEnd()();
|
|
270
|
-
i0.ɵɵelementStart(
|
|
271
|
-
i0.ɵɵtwoWayListener("ngModelChange", function
|
|
272
|
-
i0.ɵɵelementEnd()()()()
|
|
243
|
+
i0.ɵɵelementStart(17, "div", 14)(18, "mj-code-editor", 15);
|
|
244
|
+
i0.ɵɵtwoWayListener("ngModelChange", function AppStateInspectorComponent_Template_mj_code_editor_ngModelChange_18_listener($event) { i0.ɵɵtwoWayBindingSet(ctx.StateJson, $event) || (ctx.StateJson = $event); return $event; });
|
|
245
|
+
i0.ɵɵelementEnd()()()();
|
|
273
246
|
} if (rf & 2) {
|
|
274
|
-
i0.ɵɵadvance(
|
|
275
|
-
i0.ɵɵ
|
|
276
|
-
i0.ɵɵ
|
|
247
|
+
i0.ɵɵadvance(3);
|
|
248
|
+
i0.ɵɵproperty("Loading", false);
|
|
249
|
+
i0.ɵɵadvance();
|
|
250
|
+
i0.ɵɵproperty("variant", ctx.CopyConfirmed ? "success" : "secondary")("title", ctx.CopyConfirmed ? "Copied" : "Copy JSON");
|
|
277
251
|
i0.ɵɵadvance();
|
|
278
252
|
i0.ɵɵclassProp("fa-clipboard", !ctx.CopyConfirmed)("fa-check", ctx.CopyConfirmed);
|
|
279
253
|
i0.ɵɵadvance();
|
|
280
254
|
i0.ɵɵtextInterpolate1(" ", ctx.CopyConfirmed ? "Copied" : "Copy", " ");
|
|
281
|
-
i0.ɵɵadvance(
|
|
282
|
-
i0.ɵɵ
|
|
283
|
-
i0.ɵɵadvance(
|
|
255
|
+
i0.ɵɵadvance(4);
|
|
256
|
+
i0.ɵɵproperty("Tabs", ctx.tabsConfig)("ActiveKey", ctx.ActiveSection);
|
|
257
|
+
i0.ɵɵadvance(4);
|
|
284
258
|
i0.ɵɵtextInterpolate(ctx.SectionLabel);
|
|
285
259
|
i0.ɵɵadvance(2);
|
|
286
260
|
i0.ɵɵtextInterpolate1("Refreshed ", ctx.LastRefreshedLabel);
|
|
287
261
|
i0.ɵɵadvance(2);
|
|
288
262
|
i0.ɵɵtwoWayProperty("ngModel", ctx.StateJson);
|
|
289
263
|
i0.ɵɵproperty("language", "json")("readonly", true)("lineWrapping", true);
|
|
290
|
-
} }, dependencies: [i3.NgControlStatus, i3.NgModel, i4.CodeEditorComponent], styles: ["[_nghost-%COMP%] { display: block; height: 100%; }\n\n
|
|
264
|
+
} }, dependencies: [i3.NgControlStatus, i3.NgModel, i4.MJButtonDirective, i4.MJPageHeaderInteriorComponent, i4.MJRefreshButtonComponent, i4.MJTabNavComponent, i5.CodeEditorComponent], styles: ["[_nghost-%COMP%] { display: block; height: 100%; }\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n.mj-inspector[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n height: 100%;\n min-height: 0;\n background: var(--mj-bg-page);\n color: var(--mj-text-primary);\n font-family: inherit;\n}\n\n\n\n.mj-inspector__content[_ngcontent-%COMP%] {\n flex: 1;\n min-width: 0;\n display: flex;\n flex-direction: column;\n background: var(--mj-bg-page);\n}\n.mj-inspector__content-head[_ngcontent-%COMP%] {\n padding: 12px 20px;\n border-bottom: 1px solid var(--mj-border-subtle);\n display: flex;\n align-items: center;\n justify-content: space-between;\n background: var(--mj-bg-surface-card);\n}\n.mj-inspector__content-title[_ngcontent-%COMP%] {\n margin: 0;\n font-size: 13px;\n font-weight: 600;\n color: var(--mj-text-primary);\n}\n.mj-inspector__content-meta[_ngcontent-%COMP%] {\n font-size: 11px;\n color: var(--mj-text-muted);\n}\n.mj-inspector__editor[_ngcontent-%COMP%] {\n flex: 1;\n min-height: 0;\n display: flex;\n flex-direction: column;\n overflow: hidden;\n}\n.mj-inspector__editor[_ngcontent-%COMP%] mj-code-editor[_ngcontent-%COMP%] {\n flex: 1;\n min-height: 0;\n display: block;\n}\n\n\n\n.mj-inspector__empty[_ngcontent-%COMP%] {\n flex: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n color: var(--mj-text-muted);\n font-size: 13px;\n}"] });
|
|
291
265
|
};
|
|
292
266
|
AppStateInspectorComponent = __decorate([
|
|
293
267
|
RegisterClass(BaseResourceComponent, 'AppStateInspector')
|
|
@@ -295,7 +269,7 @@ AppStateInspectorComponent = __decorate([
|
|
|
295
269
|
export { AppStateInspectorComponent };
|
|
296
270
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AppStateInspectorComponent, [{
|
|
297
271
|
type: Component,
|
|
298
|
-
args: [{ standalone: false, selector: 'mj-app-state-inspector', template: "<div class=\"mj-inspector\">\n <
|
|
272
|
+
args: [{ standalone: false, selector: 'mj-app-state-inspector', template: "<div class=\"mj-inspector mj-inspector--solo\">\n <mj-page-header-interior\n Role=\"region\"\n AriaLabel=\"App State inspector\"\n Title=\"App State Inspector\"\n Subtitle=\"Read-only snapshot of Explorer runtime state\">\n <div actions>\n <mj-refresh-button [Loading]=\"false\" (Clicked)=\"refresh()\"></mj-refresh-button>\n <button mjButton\n [variant]=\"CopyConfirmed ? 'success' : 'secondary'\"\n size=\"sm\"\n (click)=\"OnCopy()\"\n [title]=\"CopyConfirmed ? 'Copied' : 'Copy JSON'\">\n <i class=\"fa-solid\" [class.fa-clipboard]=\"!CopyConfirmed\" [class.fa-check]=\"CopyConfirmed\" aria-hidden=\"true\"></i>\n {{ CopyConfirmed ? 'Copied' : 'Copy' }}\n </button>\n <button mjButton variant=\"secondary\" size=\"sm\" (click)=\"OnDownload()\" title=\"Download as JSON\" aria-label=\"Download as JSON\">\n <i class=\"fa-solid fa-download\" aria-hidden=\"true\"></i>\n </button>\n </div>\n <div toolbar>\n <mj-tab-nav\n [Tabs]=\"tabsConfig\"\n [ActiveKey]=\"ActiveSection\"\n (TabChange)=\"onTabChange($event)\">\n </mj-tab-nav>\n </div>\n </mj-page-header-interior>\n\n <div class=\"mj-inspector__content\">\n <div class=\"mj-inspector__content-head\">\n <h4 class=\"mj-inspector__content-title\">{{ SectionLabel }}</h4>\n <span class=\"mj-inspector__content-meta\">Refreshed {{ LastRefreshedLabel }}</span>\n </div>\n <div class=\"mj-inspector__editor\">\n <mj-code-editor\n [(ngModel)]=\"StateJson\"\n [language]=\"'json'\"\n [readonly]=\"true\"\n [lineWrapping]=\"true\">\n </mj-code-editor>\n </div>\n </div>\n</div>\n", styles: [":host { display: block; height: 100%; }\n\n/*\n Inspector shell \u2014 each Dev Tools sub-page wraps its body in .mj-inspector. The\n chrome (title icon, title, subtitle, action buttons) was previously rendered\n via .mj-inspector__header*, but that's been replaced by <mj-page-header-interior>\n in every inspector template. Action buttons now use the mjButton directive\n (variant=\"secondary\" / \"success\") so they inherit global button styling. App\n State + Layout inspectors used to carry an inner left rail (.mj-inspector__body\n + __sidebar + __nav-item) for L2 sections; that rail was retired 2026-05-19 in\n favor of <mj-tab-nav> projected into the chrome's [toolbar] slot, matching\n SystemDiagnostics and the API Keys tab strip. All inspectors are now \"solo\"\n mode (no sidebar).\n*/\n.mj-inspector {\n display: flex;\n flex-direction: column;\n height: 100%;\n min-height: 0;\n background: var(--mj-bg-page);\n color: var(--mj-text-primary);\n font-family: inherit;\n}\n\n/* Content area */\n.mj-inspector__content {\n flex: 1;\n min-width: 0;\n display: flex;\n flex-direction: column;\n background: var(--mj-bg-page);\n}\n.mj-inspector__content-head {\n padding: 12px 20px;\n border-bottom: 1px solid var(--mj-border-subtle);\n display: flex;\n align-items: center;\n justify-content: space-between;\n background: var(--mj-bg-surface-card);\n}\n.mj-inspector__content-title {\n margin: 0;\n font-size: 13px;\n font-weight: 600;\n color: var(--mj-text-primary);\n}\n.mj-inspector__content-meta {\n font-size: 11px;\n color: var(--mj-text-muted);\n}\n.mj-inspector__editor {\n flex: 1;\n min-height: 0;\n display: flex;\n flex-direction: column;\n overflow: hidden;\n}\n.mj-inspector__editor mj-code-editor {\n flex: 1;\n min-height: 0;\n display: block;\n}\n\n/* Empty state */\n.mj-inspector__empty {\n flex: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n color: var(--mj-text-muted);\n font-size: 13px;\n}\n\n"] }]
|
|
299
273
|
}], () => [{ type: i0.ChangeDetectorRef }, { type: i1.WorkspaceStateManager }, { type: i2.DeveloperModeService }], null); })();
|
|
300
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AppStateInspectorComponent, { className: "AppStateInspectorComponent", filePath: "src/DevTools/app-state-inspector.component.ts", lineNumber:
|
|
274
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AppStateInspectorComponent, { className: "AppStateInspectorComponent", filePath: "src/DevTools/app-state-inspector.component.ts", lineNumber: 30 }); })();
|
|
301
275
|
//# sourceMappingURL=app-state-inspector.component.js.map
|