@memberjunction/ng-dashboards 5.38.0 → 5.40.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/README.md +14 -7
- package/dist/AI/components/agents/agent-configuration.component.js +199 -198
- package/dist/AI/components/agents/agent-configuration.component.js.map +1 -1
- package/dist/AI/components/analytics/ai-analytics-resource.component.d.ts.map +1 -1
- package/dist/AI/components/analytics/ai-analytics-resource.component.js +20 -17
- package/dist/AI/components/analytics/ai-analytics-resource.component.js.map +1 -1
- package/dist/AI/components/analytics/cost-budget/cost-budget.component.d.ts +15 -0
- 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 +166 -58
- package/dist/AI/components/analytics/cost-budget/cost-budget.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 +2 -1
- 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 +1 -0
- 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 +55 -36
- 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 +9 -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 +158 -117
- 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 +1 -0
- 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 +22 -8
- 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 +217 -860
- package/dist/AI/components/autotagging/autotagging-pipeline-resource.component.d.ts.map +1 -1
- package/dist/AI/components/autotagging/autotagging-pipeline-resource.component.js +1717 -7802
- package/dist/AI/components/autotagging/autotagging-pipeline-resource.component.js.map +1 -1
- package/dist/AI/components/autotagging/components/classify-item-drilldown.component.d.ts +56 -0
- package/dist/AI/components/autotagging/components/classify-item-drilldown.component.d.ts.map +1 -0
- package/dist/AI/components/autotagging/components/classify-item-drilldown.component.js +423 -0
- package/dist/AI/components/autotagging/components/classify-item-drilldown.component.js.map +1 -0
- package/dist/AI/components/autotagging/components/classify-item-grid.component.d.ts +70 -0
- package/dist/AI/components/autotagging/components/classify-item-grid.component.d.ts.map +1 -0
- package/dist/AI/components/autotagging/components/classify-item-grid.component.js +308 -0
- package/dist/AI/components/autotagging/components/classify-item-grid.component.js.map +1 -0
- package/dist/AI/components/autotagging/components/classify-org-context-editor.component.d.ts +29 -0
- package/dist/AI/components/autotagging/components/classify-org-context-editor.component.d.ts.map +1 -0
- package/dist/AI/components/autotagging/components/classify-org-context-editor.component.js +186 -0
- package/dist/AI/components/autotagging/components/classify-org-context-editor.component.js.map +1 -0
- package/dist/AI/components/autotagging/components/classify-overview-analytics.component.d.ts +69 -0
- package/dist/AI/components/autotagging/components/classify-overview-analytics.component.d.ts.map +1 -0
- package/dist/AI/components/autotagging/components/classify-overview-analytics.component.js +278 -0
- package/dist/AI/components/autotagging/components/classify-overview-analytics.component.js.map +1 -0
- package/dist/AI/components/autotagging/components/classify-seed-taxonomy.component.d.ts +73 -0
- package/dist/AI/components/autotagging/components/classify-seed-taxonomy.component.d.ts.map +1 -0
- package/dist/AI/components/autotagging/components/classify-seed-taxonomy.component.js +393 -0
- package/dist/AI/components/autotagging/components/classify-seed-taxonomy.component.js.map +1 -0
- package/dist/AI/components/autotagging/dialogs/classify-setup-wizard.component.d.ts +122 -0
- package/dist/AI/components/autotagging/dialogs/classify-setup-wizard.component.d.ts.map +1 -0
- package/dist/AI/components/autotagging/dialogs/classify-setup-wizard.component.js +908 -0
- package/dist/AI/components/autotagging/dialogs/classify-setup-wizard.component.js.map +1 -0
- package/dist/AI/components/autotagging/dialogs/dry-run-preview.dialog.component.d.ts +87 -0
- package/dist/AI/components/autotagging/dialogs/dry-run-preview.dialog.component.d.ts.map +1 -0
- package/dist/AI/components/autotagging/dialogs/dry-run-preview.dialog.component.js +475 -0
- package/dist/AI/components/autotagging/dialogs/dry-run-preview.dialog.component.js.map +1 -0
- package/dist/AI/components/autotagging/dialogs/item-detail.dialog.component.d.ts +29 -0
- package/dist/AI/components/autotagging/dialogs/item-detail.dialog.component.d.ts.map +1 -0
- package/dist/AI/components/autotagging/dialogs/item-detail.dialog.component.js +208 -0
- package/dist/AI/components/autotagging/dialogs/item-detail.dialog.component.js.map +1 -0
- package/dist/AI/components/autotagging/dialogs/no-content-type-warning.dialog.component.d.ts +21 -0
- package/dist/AI/components/autotagging/dialogs/no-content-type-warning.dialog.component.d.ts.map +1 -0
- package/dist/AI/components/autotagging/dialogs/no-content-type-warning.dialog.component.js +70 -0
- package/dist/AI/components/autotagging/dialogs/no-content-type-warning.dialog.component.js.map +1 -0
- package/dist/AI/components/autotagging/dialogs/source-type-form.dialog.component.d.ts +333 -0
- package/dist/AI/components/autotagging/dialogs/source-type-form.dialog.component.d.ts.map +1 -0
- package/dist/AI/components/autotagging/dialogs/source-type-form.dialog.component.js +2125 -0
- package/dist/AI/components/autotagging/dialogs/source-type-form.dialog.component.js.map +1 -0
- package/dist/AI/components/autotagging/shared/classify.dryrun.d.ts +61 -0
- package/dist/AI/components/autotagging/shared/classify.dryrun.d.ts.map +1 -0
- package/dist/AI/components/autotagging/shared/classify.dryrun.js +78 -0
- package/dist/AI/components/autotagging/shared/classify.dryrun.js.map +1 -0
- package/dist/AI/components/autotagging/shared/classify.format.d.ts +58 -0
- package/dist/AI/components/autotagging/shared/classify.format.d.ts.map +1 -0
- package/dist/AI/components/autotagging/shared/classify.format.js +260 -0
- package/dist/AI/components/autotagging/shared/classify.format.js.map +1 -0
- package/dist/AI/components/autotagging/shared/classify.types.d.ts +319 -0
- package/dist/AI/components/autotagging/shared/classify.types.d.ts.map +1 -0
- package/dist/AI/components/autotagging/shared/classify.types.js +6 -0
- package/dist/AI/components/autotagging/shared/classify.types.js.map +1 -0
- package/dist/AI/components/autotagging/tabs/health-tab.component.d.ts +103 -0
- package/dist/AI/components/autotagging/tabs/health-tab.component.d.ts.map +1 -0
- package/dist/AI/components/autotagging/tabs/health-tab.component.js +571 -0
- package/dist/AI/components/autotagging/tabs/health-tab.component.js.map +1 -0
- package/dist/AI/components/autotagging/tabs/history-tab.component.d.ts +77 -0
- package/dist/AI/components/autotagging/tabs/history-tab.component.d.ts.map +1 -0
- package/dist/AI/components/autotagging/tabs/history-tab.component.js +519 -0
- package/dist/AI/components/autotagging/tabs/history-tab.component.js.map +1 -0
- package/dist/AI/components/autotagging/tabs/inbox-tab.component.d.ts +107 -0
- package/dist/AI/components/autotagging/tabs/inbox-tab.component.d.ts.map +1 -0
- package/dist/AI/components/autotagging/tabs/inbox-tab.component.js +719 -0
- package/dist/AI/components/autotagging/tabs/inbox-tab.component.js.map +1 -0
- package/dist/AI/components/autotagging/tabs/pipeline-tab.component.d.ts +131 -0
- package/dist/AI/components/autotagging/tabs/pipeline-tab.component.d.ts.map +1 -0
- package/dist/AI/components/autotagging/tabs/pipeline-tab.component.js +813 -0
- package/dist/AI/components/autotagging/tabs/pipeline-tab.component.js.map +1 -0
- package/dist/AI/components/autotagging/tabs/sources-tab.component.d.ts +177 -0
- package/dist/AI/components/autotagging/tabs/sources-tab.component.d.ts.map +1 -0
- package/dist/AI/components/autotagging/tabs/sources-tab.component.js +1465 -0
- package/dist/AI/components/autotagging/tabs/sources-tab.component.js.map +1 -0
- package/dist/AI/components/autotagging/tabs/tags-tab.component.d.ts +78 -0
- package/dist/AI/components/autotagging/tabs/tags-tab.component.d.ts.map +1 -0
- package/dist/AI/components/autotagging/tabs/tags-tab.component.js +492 -0
- package/dist/AI/components/autotagging/tabs/tags-tab.component.js.map +1 -0
- package/dist/AI/components/autotagging/tabs/taxonomy-tab.component.d.ts +397 -0
- package/dist/AI/components/autotagging/tabs/taxonomy-tab.component.d.ts.map +1 -0
- package/dist/AI/components/autotagging/tabs/taxonomy-tab.component.js +3490 -0
- package/dist/AI/components/autotagging/tabs/taxonomy-tab.component.js.map +1 -0
- package/dist/AI/components/autotagging/tabs/types-tab.component.d.ts +56 -0
- package/dist/AI/components/autotagging/tabs/types-tab.component.d.ts.map +1 -0
- package/dist/AI/components/autotagging/tabs/types-tab.component.js +271 -0
- package/dist/AI/components/autotagging/tabs/types-tab.component.js.map +1 -0
- package/dist/AI/components/duplicates/duplicate-detection-resource.component.d.ts +3 -0
- package/dist/AI/components/duplicates/duplicate-detection-resource.component.d.ts.map +1 -1
- package/dist/AI/components/duplicates/duplicate-detection-resource.component.js +306 -290
- package/dist/AI/components/duplicates/duplicate-detection-resource.component.js.map +1 -1
- package/dist/AI/components/execution-monitoring.component.js +1 -1
- package/dist/AI/components/execution-monitoring.component.js.map +1 -1
- package/dist/AI/components/models/model-management.component.js +209 -208
- package/dist/AI/components/models/model-management.component.js.map +1 -1
- package/dist/AI/components/prompts/prompt-management.component.js +130 -128
- package/dist/AI/components/prompts/prompt-management.component.js.map +1 -1
- package/dist/AI/components/requests/agent-requests-resource.component.js +61 -61
- package/dist/AI/components/requests/agent-requests-resource.component.js.map +1 -1
- package/dist/AI/components/system/system-configuration.component.js +17 -17
- package/dist/AI/components/system/system-configuration.component.js.map +1 -1
- package/dist/AI/components/tags/tags-resource.component.d.ts +1 -0
- package/dist/AI/components/tags/tags-resource.component.d.ts.map +1 -1
- package/dist/AI/components/tags/tags-resource.component.js +578 -538
- package/dist/AI/components/tags/tags-resource.component.js.map +1 -1
- package/dist/AI/components/vectors/vector-management-resource.component.d.ts +3 -0
- package/dist/AI/components/vectors/vector-management-resource.component.d.ts.map +1 -1
- package/dist/AI/components/vectors/vector-management-resource.component.js +331 -303
- package/dist/AI/components/vectors/vector-management-resource.component.js.map +1 -1
- package/dist/AI/services/ai-instrumentation.service.d.ts +5 -0
- package/dist/AI/services/ai-instrumentation.service.d.ts.map +1 -1
- package/dist/AI/services/ai-instrumentation.service.js +14 -2
- package/dist/AI/services/ai-instrumentation.service.js.map +1 -1
- package/dist/AI/services/cache-metrics.d.ts +50 -0
- package/dist/AI/services/cache-metrics.d.ts.map +1 -0
- package/dist/AI/services/cache-metrics.js +43 -0
- package/dist/AI/services/cache-metrics.js.map +1 -0
- package/dist/APIKeys/api-applications-panel.component.js +2 -2
- package/dist/APIKeys/api-key-create-dialog.component.js +2 -2
- package/dist/APIKeys/api-key-edit-panel.component.js +2 -2
- package/dist/APIKeys/api-keys-resource.component.js +132 -131
- package/dist/APIKeys/api-keys-resource.component.js.map +1 -1
- package/dist/Actions/components/actions-overview.component.js +141 -141
- package/dist/Actions/components/actions-overview.component.js.map +1 -1
- package/dist/Actions/components/execution-monitoring.component.js +15 -15
- package/dist/Actions/components/execution-monitoring.component.js.map +1 -1
- package/dist/Actions/components/explorer/action-explorer.component.d.ts +0 -5
- package/dist/Actions/components/explorer/action-explorer.component.d.ts.map +1 -1
- package/dist/Actions/components/explorer/action-explorer.component.js +139 -212
- package/dist/Actions/components/explorer/action-explorer.component.js.map +1 -1
- package/dist/Admin/admin-data-schema.component.js +2 -2
- package/dist/Admin/admin-data-schema.component.js.map +1 -1
- package/dist/Admin/admin-dev-tools-resource.component.js +2 -2
- package/dist/Admin/admin-dev-tools-resource.component.js.map +1 -1
- package/dist/Admin/admin-identity-access.component.js +2 -2
- package/dist/Admin/admin-identity-access.component.js.map +1 -1
- package/dist/Admin/admin-monitoring.component.js +2 -2
- package/dist/Admin/admin-monitoring.component.js.map +1 -1
- package/dist/ApplicationRoles/application-roles-resource.component.js +54 -49
- package/dist/ApplicationRoles/application-roles-resource.component.js.map +1 -1
- package/dist/Communication/communication-logs-resource.component.d.ts +6 -0
- package/dist/Communication/communication-logs-resource.component.d.ts.map +1 -1
- package/dist/Communication/communication-logs-resource.component.js +72 -50
- package/dist/Communication/communication-logs-resource.component.js.map +1 -1
- package/dist/Communication/communication-monitor-resource.component.js +103 -102
- package/dist/Communication/communication-monitor-resource.component.js.map +1 -1
- package/dist/Communication/communication-providers-resource.component.js +52 -51
- package/dist/Communication/communication-providers-resource.component.js.map +1 -1
- package/dist/Communication/communication-runs-resource.component.js +39 -38
- package/dist/Communication/communication-runs-resource.component.js.map +1 -1
- package/dist/Communication/communication-templates-resource.component.d.ts +6 -0
- package/dist/Communication/communication-templates-resource.component.d.ts.map +1 -1
- package/dist/Communication/communication-templates-resource.component.js +92 -89
- package/dist/Communication/communication-templates-resource.component.js.map +1 -1
- package/dist/Credentials/components/credentials-audit-resource.component.js +136 -135
- package/dist/Credentials/components/credentials-audit-resource.component.js.map +1 -1
- package/dist/Credentials/components/credentials-categories-resource.component.js +155 -152
- package/dist/Credentials/components/credentials-categories-resource.component.js.map +1 -1
- package/dist/Credentials/components/credentials-list-resource.component.js +119 -118
- package/dist/Credentials/components/credentials-list-resource.component.js.map +1 -1
- package/dist/Credentials/components/credentials-overview-resource.component.js +129 -128
- package/dist/Credentials/components/credentials-overview-resource.component.js.map +1 -1
- package/dist/Credentials/components/credentials-types-resource.component.js +107 -106
- package/dist/Credentials/components/credentials-types-resource.component.js.map +1 -1
- package/dist/DataExplorer/data-explorer-dashboard.component.d.ts +31 -340
- package/dist/DataExplorer/data-explorer-dashboard.component.d.ts.map +1 -1
- package/dist/DataExplorer/data-explorer-dashboard.component.js +468 -1958
- package/dist/DataExplorer/data-explorer-dashboard.component.js.map +1 -1
- package/dist/DataExplorer/data-explorer-resource.component.d.ts.map +1 -1
- package/dist/DataExplorer/data-explorer-resource.component.js +10 -0
- package/dist/DataExplorer/data-explorer-resource.component.js.map +1 -1
- package/dist/DatabaseDesigner/components/database-designer-dashboard.component.js +1 -1
- package/dist/DatabaseDesigner/components/entity-list.component.js +115 -114
- package/dist/DatabaseDesigner/components/entity-list.component.js.map +1 -1
- package/dist/DatabaseDesigner/database-designer-dashboards.module.d.ts +5 -6
- package/dist/DatabaseDesigner/database-designer-dashboards.module.d.ts.map +1 -1
- package/dist/DatabaseDesigner/database-designer-dashboards.module.js +4 -5
- package/dist/DatabaseDesigner/database-designer-dashboards.module.js.map +1 -1
- package/dist/DevTools/app-state-inspector.component.js +18 -17
- package/dist/DevTools/app-state-inspector.component.js.map +1 -1
- package/dist/DevTools/class-registry.component.js +88 -85
- package/dist/DevTools/class-registry.component.js.map +1 -1
- package/dist/DevTools/event-monitor.component.js +155 -150
- package/dist/DevTools/event-monitor.component.js.map +1 -1
- package/dist/DevTools/graphql-console.component.js +245 -243
- package/dist/DevTools/graphql-console.component.js.map +1 -1
- package/dist/DevTools/layout-inspector.component.js +18 -17
- package/dist/DevTools/layout-inspector.component.js.map +1 -1
- package/dist/EntityAdmin/entity-admin-dashboard.component.js +20 -19
- package/dist/EntityAdmin/entity-admin-dashboard.component.js.map +1 -1
- package/dist/Home/home-dashboard.component.js +2 -2
- package/dist/Integration/components/activity/activity.component.d.ts.map +1 -1
- package/dist/Integration/components/activity/activity.component.js +236 -229
- package/dist/Integration/components/activity/activity.component.js.map +1 -1
- package/dist/Integration/components/connections/connections.component.js +390 -389
- package/dist/Integration/components/connections/connections.component.js.map +1 -1
- package/dist/Integration/components/overview/overview.component.js +2 -2
- package/dist/KnowledgeHub/components/analytics/analytics-resource.component.d.ts.map +1 -1
- package/dist/KnowledgeHub/components/analytics/analytics-resource.component.js +14 -11
- package/dist/KnowledgeHub/components/analytics/analytics-resource.component.js.map +1 -1
- package/dist/KnowledgeHub/components/clusters/cluster-visualization-resource.component.d.ts +27 -2
- package/dist/KnowledgeHub/components/clusters/cluster-visualization-resource.component.d.ts.map +1 -1
- package/dist/KnowledgeHub/components/clusters/cluster-visualization-resource.component.js +244 -119
- package/dist/KnowledgeHub/components/clusters/cluster-visualization-resource.component.js.map +1 -1
- package/dist/KnowledgeHub/components/config/knowledge-config-resource.component.js +293 -291
- package/dist/KnowledgeHub/components/config/knowledge-config-resource.component.js.map +1 -1
- package/dist/KnowledgeHub/components/scheduling/scheduling-resource.component.js +62 -61
- package/dist/KnowledgeHub/components/scheduling/scheduling-resource.component.js.map +1 -1
- package/dist/KnowledgeHub/components/visualize/record-drilldown/record-drilldown.component.d.ts +65 -0
- package/dist/KnowledgeHub/components/visualize/record-drilldown/record-drilldown.component.d.ts.map +1 -0
- package/dist/KnowledgeHub/components/visualize/record-drilldown/record-drilldown.component.js +176 -0
- package/dist/KnowledgeHub/components/visualize/record-drilldown/record-drilldown.component.js.map +1 -0
- package/dist/KnowledgeHub/components/visualize/tag-cloud/tag-cloud.component.d.ts +81 -0
- package/dist/KnowledgeHub/components/visualize/tag-cloud/tag-cloud.component.d.ts.map +1 -0
- package/dist/KnowledgeHub/components/visualize/tag-cloud/tag-cloud.component.js +308 -0
- package/dist/KnowledgeHub/components/visualize/tag-cloud/tag-cloud.component.js.map +1 -0
- package/dist/KnowledgeHub/components/visualize/visualize-resource.component.d.ts +85 -0
- package/dist/KnowledgeHub/components/visualize/visualize-resource.component.d.ts.map +1 -0
- package/dist/KnowledgeHub/components/visualize/visualize-resource.component.js +362 -0
- package/dist/KnowledgeHub/components/visualize/visualize-resource.component.js.map +1 -0
- package/dist/KnowledgeHub/index.d.ts +3 -0
- package/dist/KnowledgeHub/index.d.ts.map +1 -1
- package/dist/KnowledgeHub/index.js +3 -0
- package/dist/KnowledgeHub/index.js.map +1 -1
- package/dist/Lists/components/lists-browse-resource.component.d.ts +6 -2
- package/dist/Lists/components/lists-browse-resource.component.d.ts.map +1 -1
- package/dist/Lists/components/lists-browse-resource.component.js +525 -566
- package/dist/Lists/components/lists-browse-resource.component.js.map +1 -1
- package/dist/Lists/components/lists-categories-resource.component.js +135 -134
- package/dist/Lists/components/lists-categories-resource.component.js.map +1 -1
- package/dist/Lists/components/lists-my-lists-resource.component.js +199 -198
- package/dist/Lists/components/lists-my-lists-resource.component.js.map +1 -1
- package/dist/MCP/components/mcp-server-dialog.component.js +2 -2
- package/dist/MCP/mcp-dashboard.component.js +443 -438
- package/dist/MCP/mcp-dashboard.component.js.map +1 -1
- package/dist/QueryBrowser/query-browser-resource.component.js +1 -1
- package/dist/QueryBrowser/query-browser-resource.component.js.map +1 -1
- package/dist/Scheduling/components/scheduling-activity.component.d.ts.map +1 -1
- package/dist/Scheduling/components/scheduling-activity.component.js +146 -147
- package/dist/Scheduling/components/scheduling-activity.component.js.map +1 -1
- package/dist/Scheduling/components/scheduling-jobs.component.js +76 -75
- package/dist/Scheduling/components/scheduling-jobs.component.js.map +1 -1
- package/dist/Scheduling/components/scheduling-overview.component.js +97 -96
- package/dist/Scheduling/components/scheduling-overview.component.js.map +1 -1
- package/dist/Scheduling/scheduling-dashboard.component.js +24 -22
- package/dist/Scheduling/scheduling-dashboard.component.js.map +1 -1
- package/dist/Scheduling/services/scheduling-instrumentation.service.d.ts +2 -0
- package/dist/Scheduling/services/scheduling-instrumentation.service.d.ts.map +1 -1
- package/dist/Scheduling/services/scheduling-instrumentation.service.js +1 -0
- package/dist/Scheduling/services/scheduling-instrumentation.service.js.map +1 -1
- package/dist/Testing/components/testing-dashboard-tab-resource.component.js +1 -1
- package/dist/Testing/components/testing-explorer.component.d.ts +14 -4
- package/dist/Testing/components/testing-explorer.component.d.ts.map +1 -1
- package/dist/Testing/components/testing-explorer.component.js +436 -427
- package/dist/Testing/components/testing-explorer.component.js.map +1 -1
- package/dist/Testing/components/testing-runs-resource.component.js +1 -1
- package/dist/Testing/components/testing-runs.component.js +116 -115
- package/dist/Testing/components/testing-runs.component.js.map +1 -1
- package/dist/Testing/testing-dashboard.component.js +6 -7
- package/dist/Testing/testing-dashboard.component.js.map +1 -1
- package/dist/VersionHistory/components/labels-resource.component.js +173 -172
- package/dist/VersionHistory/components/labels-resource.component.js.map +1 -1
- package/dist/VersionHistory/components/restore-resource.component.d.ts +6 -0
- package/dist/VersionHistory/components/restore-resource.component.d.ts.map +1 -1
- package/dist/VersionHistory/components/restore-resource.component.js +116 -92
- package/dist/VersionHistory/components/restore-resource.component.js.map +1 -1
- package/dist/ai-dashboards.module.d.ts +57 -35
- package/dist/ai-dashboards.module.d.ts.map +1 -1
- package/dist/ai-dashboards.module.js +80 -1
- package/dist/ai-dashboards.module.js.map +1 -1
- package/dist/communication-dashboards.module.d.ts +1 -1
- package/dist/communication-dashboards.module.d.ts.map +1 -1
- package/dist/communication-dashboards.module.js +7 -1
- package/dist/communication-dashboards.module.js.map +1 -1
- package/dist/data-explorer-dashboards.module.d.ts +12 -14
- package/dist/data-explorer-dashboards.module.d.ts.map +1 -1
- package/dist/data-explorer-dashboards.module.js +5 -14
- package/dist/data-explorer-dashboards.module.js.map +1 -1
- package/dist/public-api.d.ts +3 -0
- package/dist/public-api.d.ts.map +1 -1
- package/dist/public-api.js +3 -0
- package/dist/public-api.js.map +1 -1
- package/dist/testing-dashboards.module.d.ts +4 -5
- package/dist/testing-dashboards.module.d.ts.map +1 -1
- package/dist/testing-dashboards.module.js +7 -5
- package/dist/testing-dashboards.module.js.map +1 -1
- package/package.json +57 -54
- package/dist/DataExplorer/components/filter-dialog/filter-dialog.component.d.ts +0 -79
- package/dist/DataExplorer/components/filter-dialog/filter-dialog.component.d.ts.map +0 -1
- package/dist/DataExplorer/components/filter-dialog/filter-dialog.component.js +0 -195
- package/dist/DataExplorer/components/filter-dialog/filter-dialog.component.js.map +0 -1
- package/dist/DataExplorer/components/view-selector/view-selector.component.d.ts +0 -226
- package/dist/DataExplorer/components/view-selector/view-selector.component.d.ts.map +0 -1
- package/dist/DataExplorer/components/view-selector/view-selector.component.js +0 -861
- package/dist/DataExplorer/components/view-selector/view-selector.component.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-explorer-resource.component.d.ts","sourceRoot":"","sources":["../../src/DataExplorer/data-explorer-resource.component.ts"],"names":[],"mappings":"AA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M,CAAC;IAI3D,oBAAoB,CAAC,IAAI,EAAE,YAAY,GAAG,OAAO,CAAC,MAAM,CAAC;IAQ/D,OAAO,CAAC,iBAAiB;IA+DlB,kBAAkB,CAAC,KAAK,EAAE;QAAE,UAAU,EAAE,MAAM,CAAC;QAAC,UAAU,EAAE,YAAY,CAAA;KAAE,GAAG,IAAI;IAMjF,oBAAoB,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;yCA7JtC,6BAA6B;2CAA7B,6BAA6B;CAgKzC"}
|
|
@@ -122,6 +122,16 @@ let DataExplorerResourceComponent = class DataExplorerResourceComponent extends
|
|
|
122
122
|
};
|
|
123
123
|
this.dataExplorer.Config = dashboardConfig;
|
|
124
124
|
this.dataExplorer.Refresh();
|
|
125
|
+
// RACE GUARD: BaseDashboard.ngOnInit() calls NotifyLoadComplete() almost immediately
|
|
126
|
+
// (after the no-op loadData), firing the inner dashboard's LoadCompleteEvent. But this
|
|
127
|
+
// wiring runs in a setTimeout(0) MACROtask, while the dashboard's NotifyLoadComplete runs
|
|
128
|
+
// in a MICROtask — so the dashboard finishes loading BEFORE we attach the handler above,
|
|
129
|
+
// and the completion signal is lost. The shell then waits forever ("Gathering your
|
|
130
|
+
// tools…" hangs) — reproduced on direct-URL refresh. If the dashboard already completed,
|
|
131
|
+
// forward completion to the shell now.
|
|
132
|
+
if (this.dataExplorer.LoadComplete) {
|
|
133
|
+
this.NotifyLoadComplete();
|
|
134
|
+
}
|
|
125
135
|
}
|
|
126
136
|
else {
|
|
127
137
|
this.NotifyLoadComplete();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-explorer-resource.component.js","sourceRoot":"","sources":["../../src/DataExplorer/data-explorer-resource.component.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,SAAS,EAAwC,uBAAuB,EAAE,SAAS,EAAoB,MAAM,eAAe,CAAC;AACtI,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAC/B,OAAO,EAAE,a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ChF,CAAC;IACL,CAAC;IAEM,oBAAoB,CAAC,IAAY;QACpC,IAAI,CAAC,wBAAwB,CAAC,IAAI,CAAC,CAAC;IACxC,CAAC;uHApJQ,6BAA6B;6DAA7B,6BAA6B;2BAW3B,8BAA8B;;;;;YAnCjC,AADJ,8BAA8C,oCAQc;YAApD,AADA,0JAAoB,8BAA0B,IAAC,iJACzB,gCAA4B,IAAC;YAE3D,AADI,iBAA6B,EAC3B;;YARE,cAA0B;YAI1B,AADA,AADA,AADA,AADA,4CAA0B,kCACG,gCACF,gCACA,8CACc;;;AAmB5C,6BAA6B;IA9BzC,aAAa,CAAC,qBAAqB,EAAE,sBAAsB,CAAC;GA8BhD,6BAA6B,CAqJzC;;iFArJY,6BAA6B;cA7BzC,SAAS;6BACI,KAAK,YACL,2BAA2B,YAC3B;;;;;;;;;;;;KAYT,mBAYgB,uBAAuB,CAAC,MAAM;;kBAa9C,SAAS;mBAAC,8BAA8B;;kFAXhC,6BAA6B","sourcesContent":["import { Component, OnInit, OnDestroy, ChangeDetectorRef, ChangeDetectionStrategy, ViewChild, ViewContainerRef } from '@angular/core';\nimport { Subject } from 'rxjs';\nimport { RegisterClass } from '@memberjunction/global';\nimport { CompositeKey } from '@memberjunction/core';\nimport { BaseResourceComponent, NavigationService, DashboardConfig } from '@memberjunction/ng-shared';\nimport { ResourceData, MJDashboardEntity } from '@memberjunction/core-entities';\nimport { DataExplorerDashboardComponent } from './data-explorer-dashboard.component';\nimport { DataExplorerFilter } from './models/explorer-state.interface';\n/**\n * Resource component for the Data Explorer.\n * Wraps DataExplorerDashboardComponent as a BaseResourceComponent for use\n * in application nav items with ResourceType: \"Custom\".\n */\n@RegisterClass(BaseResourceComponent, 'DataExplorerResource')\n@Component({\n standalone: false,\n selector: 'mj-data-explorer-resource',\n template: `\n <div class=\"data-explorer-resource-container\">\n <mj-data-explorer-dashboard\n [ParentTabId]=\"getTabId()\"\n [entityFilter]=\"entityFilter\"\n [contextName]=\"contextName\"\n [contextIcon]=\"contextIcon\"\n [initialQueryParams]=\"initialQueryParams\"\n (OpenEntityRecord)=\"onOpenEntityRecord($event)\"\n (DisplayNameChanged)=\"onDisplayNameChanged($event)\">\n </mj-data-explorer-dashboard>\n </div>\n `,\n styles: [`\n :host {\n display: block;\n width: 100%;\n height: 100%;\n }\n .data-explorer-resource-container {\n width: 100%;\n height: 100%;\n }\n `],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class DataExplorerResourceComponent extends BaseResourceComponent implements OnInit, OnDestroy {\n // ========================================\n // State\n // ========================================\n\n public entityFilter: DataExplorerFilter | null = null;\n public contextName: string | null = null;\n public contextIcon: string | null = null;\n /** Initial query params from the URL, forwarded to the dashboard */\n public initialQueryParams: Record<string, string> = {};\n\n @ViewChild(DataExplorerDashboardComponent) dataExplorer!: DataExplorerDashboardComponent;\n\n private readonly _destroy$ = new Subject<void>();\n private _dataLoaded = false;\n\n // ========================================\n // Constructor\n // ========================================\n\n constructor(\n private cdr: ChangeDetectorRef) {\n super();\n }\n\n // ========================================\n // Data Property Override\n // ========================================\n\n override set Data(value: ResourceData) {\n const previousConfig = JSON.stringify(super.Data?.Configuration || {});\n super.Data = value;\n\n const newConfig = JSON.stringify(value?.Configuration || {});\n\n // Load on first set, or when the configuration has changed\n if (!this._dataLoaded || previousConfig !== newConfig) {\n this._dataLoaded = true;\n this.loadConfiguration();\n }\n }\n\n override get Data(): ResourceData {\n return super.Data;\n }\n\n // ========================================\n // Lifecycle\n // ========================================\n\n ngOnInit(): void {\n super.ngOnInit();\n // Configuration loaded via Data setter\n }\n\n /**\n * Forward query param changes from the framework to the inner dashboard.\n * The shell delivers params here (on the resource wrapper), but the dashboard\n * needs them for deep linking (entity, viewId, filter, view mode, map mode).\n */\n protected override OnQueryParamsChanged(params: Record<string, string>, source: 'popstate' | 'deeplink'): void {\n if (this.dataExplorer) {\n this.dataExplorer.HandleQueryParamsChanged(params, source);\n }\n }\n\n ngOnDestroy(): void {\n super.ngOnDestroy();\n this._destroy$.next();\n this._destroy$.complete();\n }\n\n // ========================================\n // BaseResourceComponent Implementation\n // ========================================\n\n async GetResourceDisplayName(data: ResourceData): Promise<string> {\n return data.Name || 'Data';\n }\n\n async GetResourceIconClass(data: ResourceData): Promise<string> {\n return 'fa-solid fa-table-cells';\n }\n\n // ========================================\n // Private Methods\n // ========================================\n\n private loadConfiguration(): void {\n const data = this.Data;\n if (!data) {\n this.NotifyLoadComplete();\n return;\n }\n\n const config = data.Configuration || {};\n\n // Extract configuration options\n this.entityFilter = config['entityFilter'] as DataExplorerFilter || null;\n this.contextName = config['appName'] as string || null;\n this.contextIcon = config['appIcon'] as string || null;\n\n // Build initial query params: start with workspace-saved params, then let\n // browser URL params override. The URL is the source of truth for user intent —\n // if the user navigates to a URL with specific params, those should take priority\n // over potentially stale workspace state from a prior session.\n const workspaceParams = (config['queryParams'] as Record<string, string>) || {};\n const browserParams = new URLSearchParams(window.location.search);\n const merged = { ...workspaceParams };\n browserParams.forEach((value, key) => {\n merged[key] = value;\n });\n this.initialQueryParams = merged;\n\n this.cdr.detectChanges();\n\n // Setup LoadCompleteEvent after view initializes\n setTimeout(() => {\n if (this.dataExplorer) {\n this.dataExplorer.LoadCompleteEvent = () => {\n this.NotifyLoadComplete();\n };\n\n // Initialize with minimal config (no database dashboard)\n const dashboardConfig: DashboardConfig = {\n dashboard: null as unknown as MJDashboardEntity,\n userState: {}\n };\n this.dataExplorer.Config = dashboardConfig;\n this.dataExplorer.Refresh();\n } else {\n this.NotifyLoadComplete();\n }\n }, 0);\n }\n\n // ========================================\n // Event Handlers\n // ========================================\n\n public onOpenEntityRecord(event: { EntityName: string; RecordPKey: CompositeKey }): void {\n if (event && event.EntityName && event.RecordPKey) {\n this.navigationService.OpenEntityRecord(event.EntityName, event.RecordPKey);\n }\n }\n\n public onDisplayNameChanged(name: string): void {\n this.NotifyDisplayNameChanged(name);\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"data-explorer-resource.component.js","sourceRoot":"","sources":["../../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,kBAAkB,EAAE,CAAC;gBAC9B,CAAC;YACL,CAAC;iBAAM,CAAC;gBACJ,IAAI,CAAC,kBAAkB,EAAE,CAAC;YAC9B,CAAC;QACL,CAAC,EAAE,CAAC,CAAC,CAAC;IACV,CAAC;IAED,2CAA2C;IAC3C,iBAAiB;IACjB,2CAA2C;IAEpC,kBAAkB,CAAC,KAAuD;QAC7E,IAAI,KAAK,IAAI,KAAK,CAAC,UAAU,IAAI,KAAK,CAAC,UAAU,EAAE,CAAC;YAChD,IAAI,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,KAAK,CAAC,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC;QAChF,CAAC;IACL,CAAC;IAEM,oBAAoB,CAAC,IAAY;QACpC,IAAI,CAAC,wBAAwB,CAAC,IAAI,CAAC,CAAC;IACxC,CAAC;uHA/JQ,6BAA6B;6DAA7B,6BAA6B;2BAW3B,8BAA8B;;;;;YAnCjC,AADJ,8BAA8C,oCAQc;YAApD,AADA,0JAAoB,8BAA0B,IAAC,iJACzB,gCAA4B,IAAC;YAE3D,AADI,iBAA6B,EAC3B;;YARE,cAA0B;YAI1B,AADA,AADA,AADA,AADA,4CAA0B,kCACG,gCACF,gCACA,8CACc;;;AAmB5C,6BAA6B;IA9BzC,aAAa,CAAC,qBAAqB,EAAE,sBAAsB,CAAC;GA8BhD,6BAA6B,CAgKzC;;iFAhKY,6BAA6B;cA7BzC,SAAS;6BACI,KAAK,YACL,2BAA2B,YAC3B;;;;;;;;;;;;KAYT,mBAYgB,uBAAuB,CAAC,MAAM;;kBAa9C,SAAS;mBAAC,8BAA8B;;kFAXhC,6BAA6B","sourcesContent":["import { Component, OnInit, OnDestroy, ChangeDetectorRef, ChangeDetectionStrategy, ViewChild, ViewContainerRef } from '@angular/core';\nimport { Subject } from 'rxjs';\nimport { RegisterClass } from '@memberjunction/global';\nimport { CompositeKey } from '@memberjunction/core';\nimport { BaseResourceComponent, NavigationService, DashboardConfig } from '@memberjunction/ng-shared';\nimport { ResourceData, MJDashboardEntity } from '@memberjunction/core-entities';\nimport { DataExplorerDashboardComponent } from './data-explorer-dashboard.component';\nimport { DataExplorerFilter } from './models/explorer-state.interface';\n/**\n * Resource component for the Data Explorer.\n * Wraps DataExplorerDashboardComponent as a BaseResourceComponent for use\n * in application nav items with ResourceType: \"Custom\".\n */\n@RegisterClass(BaseResourceComponent, 'DataExplorerResource')\n@Component({\n standalone: false,\n selector: 'mj-data-explorer-resource',\n template: `\n <div class=\"data-explorer-resource-container\">\n <mj-data-explorer-dashboard\n [ParentTabId]=\"getTabId()\"\n [entityFilter]=\"entityFilter\"\n [contextName]=\"contextName\"\n [contextIcon]=\"contextIcon\"\n [initialQueryParams]=\"initialQueryParams\"\n (OpenEntityRecord)=\"onOpenEntityRecord($event)\"\n (DisplayNameChanged)=\"onDisplayNameChanged($event)\">\n </mj-data-explorer-dashboard>\n </div>\n `,\n styles: [`\n :host {\n display: block;\n width: 100%;\n height: 100%;\n }\n .data-explorer-resource-container {\n width: 100%;\n height: 100%;\n }\n `],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class DataExplorerResourceComponent extends BaseResourceComponent implements OnInit, OnDestroy {\n // ========================================\n // State\n // ========================================\n\n public entityFilter: DataExplorerFilter | null = null;\n public contextName: string | null = null;\n public contextIcon: string | null = null;\n /** Initial query params from the URL, forwarded to the dashboard */\n public initialQueryParams: Record<string, string> = {};\n\n @ViewChild(DataExplorerDashboardComponent) dataExplorer!: DataExplorerDashboardComponent;\n\n private readonly _destroy$ = new Subject<void>();\n private _dataLoaded = false;\n\n // ========================================\n // Constructor\n // ========================================\n\n constructor(\n private cdr: ChangeDetectorRef) {\n super();\n }\n\n // ========================================\n // Data Property Override\n // ========================================\n\n override set Data(value: ResourceData) {\n const previousConfig = JSON.stringify(super.Data?.Configuration || {});\n super.Data = value;\n\n const newConfig = JSON.stringify(value?.Configuration || {});\n\n // Load on first set, or when the configuration has changed\n if (!this._dataLoaded || previousConfig !== newConfig) {\n this._dataLoaded = true;\n this.loadConfiguration();\n }\n }\n\n override get Data(): ResourceData {\n return super.Data;\n }\n\n // ========================================\n // Lifecycle\n // ========================================\n\n ngOnInit(): void {\n super.ngOnInit();\n // Configuration loaded via Data setter\n }\n\n /**\n * Forward query param changes from the framework to the inner dashboard.\n * The shell delivers params here (on the resource wrapper), but the dashboard\n * needs them for deep linking (entity, viewId, filter, view mode, map mode).\n */\n protected override OnQueryParamsChanged(params: Record<string, string>, source: 'popstate' | 'deeplink'): void {\n if (this.dataExplorer) {\n this.dataExplorer.HandleQueryParamsChanged(params, source);\n }\n }\n\n ngOnDestroy(): void {\n super.ngOnDestroy();\n this._destroy$.next();\n this._destroy$.complete();\n }\n\n // ========================================\n // BaseResourceComponent Implementation\n // ========================================\n\n async GetResourceDisplayName(data: ResourceData): Promise<string> {\n return data.Name || 'Data';\n }\n\n async GetResourceIconClass(data: ResourceData): Promise<string> {\n return 'fa-solid fa-table-cells';\n }\n\n // ========================================\n // Private Methods\n // ========================================\n\n private loadConfiguration(): void {\n const data = this.Data;\n if (!data) {\n this.NotifyLoadComplete();\n return;\n }\n\n const config = data.Configuration || {};\n\n // Extract configuration options\n this.entityFilter = config['entityFilter'] as DataExplorerFilter || null;\n this.contextName = config['appName'] as string || null;\n this.contextIcon = config['appIcon'] as string || null;\n\n // Build initial query params: start with workspace-saved params, then let\n // browser URL params override. The URL is the source of truth for user intent —\n // if the user navigates to a URL with specific params, those should take priority\n // over potentially stale workspace state from a prior session.\n const workspaceParams = (config['queryParams'] as Record<string, string>) || {};\n const browserParams = new URLSearchParams(window.location.search);\n const merged = { ...workspaceParams };\n browserParams.forEach((value, key) => {\n merged[key] = value;\n });\n this.initialQueryParams = merged;\n\n this.cdr.detectChanges();\n\n // Setup LoadCompleteEvent after view initializes\n setTimeout(() => {\n if (this.dataExplorer) {\n this.dataExplorer.LoadCompleteEvent = () => {\n this.NotifyLoadComplete();\n };\n\n // Initialize with minimal config (no database dashboard)\n const dashboardConfig: DashboardConfig = {\n dashboard: null as unknown as MJDashboardEntity,\n userState: {}\n };\n this.dataExplorer.Config = dashboardConfig;\n this.dataExplorer.Refresh();\n\n // RACE GUARD: BaseDashboard.ngOnInit() calls NotifyLoadComplete() almost immediately\n // (after the no-op loadData), firing the inner dashboard's LoadCompleteEvent. But this\n // wiring runs in a setTimeout(0) MACROtask, while the dashboard's NotifyLoadComplete runs\n // in a MICROtask — so the dashboard finishes loading BEFORE we attach the handler above,\n // and the completion signal is lost. The shell then waits forever (\"Gathering your\n // tools…\" hangs) — reproduced on direct-URL refresh. If the dashboard already completed,\n // forward completion to the shell now.\n if (this.dataExplorer.LoadComplete) {\n this.NotifyLoadComplete();\n }\n } else {\n this.NotifyLoadComplete();\n }\n }, 0);\n }\n\n // ========================================\n // Event Handlers\n // ========================================\n\n public onOpenEntityRecord(event: { EntityName: string; RecordPKey: CompositeKey }): void {\n if (event && event.EntityName && event.RecordPKey) {\n this.navigationService.OpenEntityRecord(event.EntityName, event.RecordPKey);\n }\n }\n\n public onDisplayNameChanged(name: string): void {\n this.NotifyDisplayNameChanged(name);\n }\n}\n"]}
|
|
@@ -26,7 +26,7 @@ import { DatabaseDesignerEngine } from '../services/database-designer.engine.js'
|
|
|
26
26
|
import { DatabaseDesignerService } from '../services/database-designer.service.js';
|
|
27
27
|
import { DatabaseModifyComponent } from './modify/database-modify.component.js';
|
|
28
28
|
import * as i0 from "@angular/core";
|
|
29
|
-
import * as i1 from "@memberjunction/ng-
|
|
29
|
+
import * as i1 from "@memberjunction/ng-ui-components";
|
|
30
30
|
import * as i2 from "./entity-list.component";
|
|
31
31
|
import * as i3 from "./create-wizard/database-create-wizard.component";
|
|
32
32
|
import * as i4 from "./modify/database-modify.component";
|