@e-llm-studio/federated-dashboard-components 1.0.12 → 1.1.12-human-intel-test
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/ExecutiveDashboard/ExecutiveDashboardWrapper.js +1 -1
- package/dist/ExecutiveDashboard/api/dashboardApi.js +1 -1
- package/dist/ExecutiveDashboard/components/DashboardDateFilter/DashboardDateFilter.js +1 -1
- package/dist/ExecutiveDashboard/components/DashboardDateFilter/datePreset.js +1 -1
- package/dist/ExecutiveDashboard/components/DropDowns/CustomMultiSelect.js +1 -1
- package/dist/ExecutiveDashboard/components/ExecutiveDashboard.js +1 -1
- package/dist/ExecutiveDashboard/components/Graph/Graph.js +1 -1
- package/dist/ExecutiveDashboard/components/Graph/LineChart.js +1 -1
- package/dist/ExecutiveDashboard/components/MetricCard/MetricCard.js +1 -1
- package/dist/ExecutiveDashboard/components/Table/TableCard.js +1 -1
- package/dist/ExecutiveDashboard/components/ui/chart.js +1 -1
- package/dist/HumanIntelligence/HumanChangesTableWrapper.js +2 -0
- package/dist/HumanIntelligence/HumanChangesTableWrapper.js.map +1 -0
- package/dist/HumanIntelligence/components/CitationContent/CitationContent.js +2 -0
- package/dist/HumanIntelligence/components/CitationContent/CitationContent.js.map +1 -0
- package/dist/HumanIntelligence/components/CitationContent/CitationContent.module.css.js +2 -0
- package/dist/HumanIntelligence/components/CitationContent/CitationContent.module.css.js.map +1 -0
- package/dist/HumanIntelligence/components/CognitiveDecisioning/CognitiveDecisioning.js +2 -0
- package/dist/HumanIntelligence/components/CognitiveDecisioning/CognitiveDecisioning.js.map +1 -0
- package/dist/HumanIntelligence/components/CognitiveDecisioning/CognitiveDecisioning.module.css.js +2 -0
- package/dist/HumanIntelligence/components/CognitiveDecisioning/CognitiveDecisioning.module.css.js.map +1 -0
- package/dist/HumanIntelligence/components/HumanChangesSummary/HumanChangesSummary.js +2 -0
- package/dist/HumanIntelligence/components/HumanChangesSummary/HumanChangesSummary.js.map +1 -0
- package/dist/HumanIntelligence/components/HumanChangesSummary/HumanChangesSummary.module.css.js +2 -0
- package/dist/HumanIntelligence/components/HumanChangesSummary/HumanChangesSummary.module.css.js.map +1 -0
- package/dist/HumanIntelligence/components/HumanIntelligenceCard/HumanIntelligenceCard.js +2 -0
- package/dist/HumanIntelligence/components/HumanIntelligenceCard/HumanIntelligenceCard.js.map +1 -0
- package/dist/HumanIntelligence/components/HumanIntelligenceCard/HumanIntelligenceCard.module.css.js +2 -0
- package/dist/HumanIntelligence/components/HumanIntelligenceCard/HumanIntelligenceCard.module.css.js.map +1 -0
- package/dist/HumanIntelligence/components/LogFilters/LogFilterDropdown.js +2 -0
- package/dist/HumanIntelligence/components/LogFilters/LogFilterDropdown.js.map +1 -0
- package/dist/HumanIntelligence/components/LogFilters/LogFilters.js +2 -0
- package/dist/HumanIntelligence/components/LogFilters/LogFilters.js.map +1 -0
- package/dist/HumanIntelligence/components/LogTable/LogTable.js +2 -0
- package/dist/HumanIntelligence/components/LogTable/LogTable.js.map +1 -0
- package/dist/HumanIntelligence/components/PatternDetails/PatternDetails.js +2 -0
- package/dist/HumanIntelligence/components/PatternDetails/PatternDetails.js.map +1 -0
- package/dist/HumanIntelligence/components/PatternDetails/PatternDetails.module.css.js +2 -0
- package/dist/HumanIntelligence/components/PatternDetails/PatternDetails.module.css.js.map +1 -0
- package/dist/HumanIntelligence/components/Shared/ReusableTable.js +2 -0
- package/dist/HumanIntelligence/components/Shared/ReusableTable.js.map +1 -0
- package/dist/HumanIntelligence/components/Shared/ReusableTable.module.css.js +2 -0
- package/dist/HumanIntelligence/components/Shared/ReusableTable.module.css.js.map +1 -0
- package/dist/HumanIntelligence/hooks/useHighlightNavigation.js +2 -0
- package/dist/HumanIntelligence/hooks/useHighlightNavigation.js.map +1 -0
- package/dist/HumanIntelligence/hooks/useHumanChangesData.js +2 -0
- package/dist/HumanIntelligence/hooks/useHumanChangesData.js.map +1 -0
- package/dist/HumanIntelligence/hooks/useHumanIntelligenceController.js +2 -0
- package/dist/HumanIntelligence/hooks/useHumanIntelligenceController.js.map +1 -0
- package/dist/HumanIntelligence/styles/HumanIntelligence.module.css.js +2 -0
- package/dist/HumanIntelligence/styles/HumanIntelligence.module.css.js.map +1 -0
- package/dist/RecordDashboard/RecordApi/RecordDashboardApi.js +1 -1
- package/dist/RecordDashboard/RecordComponents/AnalyticsChart/AnalyticsChart.js +1 -1
- package/dist/RecordDashboard/RecordComponents/RecordDashboard.js +1 -1
- package/dist/RecordDashboard/RecordDashboardWrapper.js +1 -1
- package/dist/RecordDashboard/RecordUtils/RecordTableColumns.js +1 -1
- package/dist/cjs/ExecutiveDashboard/ExecutiveDashboardWrapper.js +1 -1
- package/dist/cjs/ExecutiveDashboard/api/dashboardApi.js +1 -1
- package/dist/cjs/ExecutiveDashboard/components/DashboardDateFilter/DashboardDateFilter.js +1 -1
- package/dist/cjs/ExecutiveDashboard/components/DashboardDateFilter/datePreset.js +1 -1
- package/dist/cjs/ExecutiveDashboard/components/DropDowns/CustomMultiSelect.js +1 -1
- package/dist/cjs/ExecutiveDashboard/components/ExecutiveDashboard.js +1 -1
- package/dist/cjs/ExecutiveDashboard/components/Graph/Graph.js +1 -1
- package/dist/cjs/ExecutiveDashboard/components/Graph/LineChart.js +1 -1
- package/dist/cjs/ExecutiveDashboard/components/MetricCard/MetricCard.js +1 -1
- package/dist/cjs/ExecutiveDashboard/components/Table/TableCard.js +1 -1
- package/dist/cjs/ExecutiveDashboard/components/ui/chart.js +1 -1
- package/dist/cjs/HumanIntelligence/HumanChangesTableWrapper.js +2 -0
- package/dist/cjs/HumanIntelligence/HumanChangesTableWrapper.js.map +1 -0
- package/dist/cjs/HumanIntelligence/components/CitationContent/CitationContent.js +2 -0
- package/dist/cjs/HumanIntelligence/components/CitationContent/CitationContent.js.map +1 -0
- package/dist/cjs/HumanIntelligence/components/CitationContent/CitationContent.module.css.js +2 -0
- package/dist/cjs/HumanIntelligence/components/CitationContent/CitationContent.module.css.js.map +1 -0
- package/dist/cjs/HumanIntelligence/components/CognitiveDecisioning/CognitiveDecisioning.js +2 -0
- package/dist/cjs/HumanIntelligence/components/CognitiveDecisioning/CognitiveDecisioning.js.map +1 -0
- package/dist/cjs/HumanIntelligence/components/CognitiveDecisioning/CognitiveDecisioning.module.css.js +2 -0
- package/dist/cjs/HumanIntelligence/components/CognitiveDecisioning/CognitiveDecisioning.module.css.js.map +1 -0
- package/dist/cjs/HumanIntelligence/components/HumanChangesSummary/HumanChangesSummary.js +2 -0
- package/dist/cjs/HumanIntelligence/components/HumanChangesSummary/HumanChangesSummary.js.map +1 -0
- package/dist/cjs/HumanIntelligence/components/HumanChangesSummary/HumanChangesSummary.module.css.js +2 -0
- package/dist/cjs/HumanIntelligence/components/HumanChangesSummary/HumanChangesSummary.module.css.js.map +1 -0
- package/dist/cjs/HumanIntelligence/components/HumanIntelligenceCard/HumanIntelligenceCard.js +2 -0
- package/dist/cjs/HumanIntelligence/components/HumanIntelligenceCard/HumanIntelligenceCard.js.map +1 -0
- package/dist/cjs/HumanIntelligence/components/HumanIntelligenceCard/HumanIntelligenceCard.module.css.js +2 -0
- package/dist/cjs/HumanIntelligence/components/HumanIntelligenceCard/HumanIntelligenceCard.module.css.js.map +1 -0
- package/dist/cjs/HumanIntelligence/components/LogFilters/LogFilterDropdown.js +2 -0
- package/dist/cjs/HumanIntelligence/components/LogFilters/LogFilterDropdown.js.map +1 -0
- package/dist/cjs/HumanIntelligence/components/LogFilters/LogFilters.js +2 -0
- package/dist/cjs/HumanIntelligence/components/LogFilters/LogFilters.js.map +1 -0
- package/dist/cjs/HumanIntelligence/components/LogTable/LogTable.js +2 -0
- package/dist/cjs/HumanIntelligence/components/LogTable/LogTable.js.map +1 -0
- package/dist/cjs/HumanIntelligence/components/PatternDetails/PatternDetails.js +2 -0
- package/dist/cjs/HumanIntelligence/components/PatternDetails/PatternDetails.js.map +1 -0
- package/dist/cjs/HumanIntelligence/components/PatternDetails/PatternDetails.module.css.js +2 -0
- package/dist/cjs/HumanIntelligence/components/PatternDetails/PatternDetails.module.css.js.map +1 -0
- package/dist/cjs/HumanIntelligence/components/Shared/ReusableTable.js +2 -0
- package/dist/cjs/HumanIntelligence/components/Shared/ReusableTable.js.map +1 -0
- package/dist/cjs/HumanIntelligence/components/Shared/ReusableTable.module.css.js +2 -0
- package/dist/cjs/HumanIntelligence/components/Shared/ReusableTable.module.css.js.map +1 -0
- package/dist/cjs/HumanIntelligence/hooks/useHighlightNavigation.js +2 -0
- package/dist/cjs/HumanIntelligence/hooks/useHighlightNavigation.js.map +1 -0
- package/dist/cjs/HumanIntelligence/hooks/useHumanChangesData.js +2 -0
- package/dist/cjs/HumanIntelligence/hooks/useHumanChangesData.js.map +1 -0
- package/dist/cjs/HumanIntelligence/hooks/useHumanIntelligenceController.js +2 -0
- package/dist/cjs/HumanIntelligence/hooks/useHumanIntelligenceController.js.map +1 -0
- package/dist/cjs/HumanIntelligence/styles/HumanIntelligence.module.css.js +2 -0
- package/dist/cjs/HumanIntelligence/styles/HumanIntelligence.module.css.js.map +1 -0
- package/dist/cjs/RecordDashboard/RecordApi/RecordDashboardApi.js +1 -1
- package/dist/cjs/RecordDashboard/RecordComponents/AnalyticsChart/AnalyticsChart.js +1 -1
- package/dist/cjs/RecordDashboard/RecordComponents/RecordDashboard.js +1 -1
- package/dist/cjs/RecordDashboard/RecordDashboardWrapper.js +1 -1
- package/dist/cjs/RecordDashboard/RecordUtils/RecordTableColumns.js +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/styles.css +1 -1
- package/dist/index.js +1 -1
- package/dist/styles.css +1 -1
- package/dist/types/App.d.ts +2 -1
- package/dist/types/App.d.ts.map +1 -1
- package/dist/types/ExecutiveDashboard/ExecutiveDashboardWrapper.d.ts +2 -1
- package/dist/types/ExecutiveDashboard/ExecutiveDashboardWrapper.d.ts.map +1 -1
- package/dist/types/ExecutiveDashboard/TestExecutiveDashboard.d.ts +2 -1
- package/dist/types/ExecutiveDashboard/TestExecutiveDashboard.d.ts.map +1 -1
- package/dist/types/ExecutiveDashboard/api/dashboardApi.d.ts +1 -2
- package/dist/types/ExecutiveDashboard/api/dashboardApi.d.ts.map +1 -1
- package/dist/types/ExecutiveDashboard/components/DashboardCard/EventsSection.d.ts +2 -1
- package/dist/types/ExecutiveDashboard/components/DashboardCard/EventsSection.d.ts.map +1 -1
- package/dist/types/ExecutiveDashboard/components/DashboardCard/GridSection.d.ts +2 -1
- package/dist/types/ExecutiveDashboard/components/DashboardCard/GridSection.d.ts.map +1 -1
- package/dist/types/ExecutiveDashboard/components/DashboardCard/ListSection.d.ts +3 -2
- package/dist/types/ExecutiveDashboard/components/DashboardCard/ListSection.d.ts.map +1 -1
- package/dist/types/ExecutiveDashboard/components/DashboardCard/TagsSection.d.ts +2 -1
- package/dist/types/ExecutiveDashboard/components/DashboardCard/TagsSection.d.ts.map +1 -1
- package/dist/types/ExecutiveDashboard/components/DashboardCard/sectionContent.d.ts +1 -1
- package/dist/types/ExecutiveDashboard/components/DashboardCard/sectionContent.d.ts.map +1 -1
- package/dist/types/ExecutiveDashboard/components/DashboardDateFilter/DashboardDateFilter.d.ts +2 -6
- package/dist/types/ExecutiveDashboard/components/DashboardDateFilter/DashboardDateFilter.d.ts.map +1 -1
- package/dist/types/ExecutiveDashboard/components/DashboardDateFilter/datePreset.d.ts +0 -47
- package/dist/types/ExecutiveDashboard/components/DashboardDateFilter/datePreset.d.ts.map +1 -1
- package/dist/types/ExecutiveDashboard/components/DashboardSkeleton/DashboardSkeleton.d.ts +2 -1
- package/dist/types/ExecutiveDashboard/components/DashboardSkeleton/DashboardSkeleton.d.ts.map +1 -1
- package/dist/types/ExecutiveDashboard/components/DatePickers/DatePicker.d.ts +2 -1
- package/dist/types/ExecutiveDashboard/components/DatePickers/DatePicker.d.ts.map +1 -1
- package/dist/types/ExecutiveDashboard/components/DatePickers/DateSelector.d.ts +1 -1
- package/dist/types/ExecutiveDashboard/components/DatePickers/DateSelector.d.ts.map +1 -1
- package/dist/types/ExecutiveDashboard/components/DropDowns/CustomMultiSelect.d.ts +4 -1
- package/dist/types/ExecutiveDashboard/components/DropDowns/CustomMultiSelect.d.ts.map +1 -1
- package/dist/types/ExecutiveDashboard/components/DropDowns/CustomSingleSelect.d.ts +2 -1
- package/dist/types/ExecutiveDashboard/components/DropDowns/CustomSingleSelect.d.ts.map +1 -1
- package/dist/types/ExecutiveDashboard/components/ExecutiveDashboard.d.ts +2 -18
- package/dist/types/ExecutiveDashboard/components/ExecutiveDashboard.d.ts.map +1 -1
- package/dist/types/ExecutiveDashboard/components/FiltersSidebar/CustomTextInput.d.ts +2 -1
- package/dist/types/ExecutiveDashboard/components/FiltersSidebar/CustomTextInput.d.ts.map +1 -1
- package/dist/types/ExecutiveDashboard/components/FiltersSidebar/FiltersSidebar.d.ts +2 -1
- package/dist/types/ExecutiveDashboard/components/FiltersSidebar/FiltersSidebar.d.ts.map +1 -1
- package/dist/types/ExecutiveDashboard/components/Graph/Graph.d.ts +2 -1
- package/dist/types/ExecutiveDashboard/components/Graph/Graph.d.ts.map +1 -1
- package/dist/types/ExecutiveDashboard/components/Graph/GraphEmptyState.d.ts +1 -1
- package/dist/types/ExecutiveDashboard/components/Graph/GraphEmptyState.d.ts.map +1 -1
- package/dist/types/ExecutiveDashboard/components/Graph/GraphSkeleton.d.ts +2 -1
- package/dist/types/ExecutiveDashboard/components/Graph/GraphSkeleton.d.ts.map +1 -1
- package/dist/types/ExecutiveDashboard/components/Graph/LineChart.d.ts +3 -4
- package/dist/types/ExecutiveDashboard/components/Graph/LineChart.d.ts.map +1 -1
- package/dist/types/ExecutiveDashboard/components/Graph/PlotBySelector.d.ts +2 -1
- package/dist/types/ExecutiveDashboard/components/Graph/PlotBySelector.d.ts.map +1 -1
- package/dist/types/ExecutiveDashboard/components/Graph/types.d.ts +0 -61
- package/dist/types/ExecutiveDashboard/components/Graph/types.d.ts.map +1 -1
- package/dist/types/ExecutiveDashboard/components/MetricCard/MetricCard.d.ts +1 -13
- package/dist/types/ExecutiveDashboard/components/MetricCard/MetricCard.d.ts.map +1 -1
- package/dist/types/ExecutiveDashboard/components/Table/FTable.d.ts +1 -1
- package/dist/types/ExecutiveDashboard/components/Table/FTable.d.ts.map +1 -1
- package/dist/types/ExecutiveDashboard/components/Table/SortDropdown.d.ts +2 -1
- package/dist/types/ExecutiveDashboard/components/Table/SortDropdown.d.ts.map +1 -1
- package/dist/types/ExecutiveDashboard/components/Table/TableCard.d.ts +1 -11
- package/dist/types/ExecutiveDashboard/components/Table/TableCard.d.ts.map +1 -1
- package/dist/types/ExecutiveDashboard/components/Table/TableGrid/TableGrid.d.ts +1 -1
- package/dist/types/ExecutiveDashboard/components/Table/TableGrid/TableGrid.d.ts.map +1 -1
- package/dist/types/ExecutiveDashboard/components/Table/TableGrid/TableLayoutToggle.d.ts +1 -1
- package/dist/types/ExecutiveDashboard/components/Table/TableGrid/TableLayoutToggle.d.ts.map +1 -1
- package/dist/types/ExecutiveDashboard/components/ui/chart.d.ts +0 -1
- package/dist/types/ExecutiveDashboard/components/ui/chart.d.ts.map +1 -1
- package/dist/types/ExecutiveDashboard/constant/index.d.ts.map +1 -1
- package/dist/types/ExecutiveDashboard/types/index.d.ts +1 -270
- package/dist/types/ExecutiveDashboard/types/index.d.ts.map +1 -1
- package/dist/types/HumanIntelligence/HumanChangesTableWrapper.d.ts +108 -0
- package/dist/types/HumanIntelligence/HumanChangesTableWrapper.d.ts.map +1 -0
- package/dist/types/HumanIntelligence/TestHumanIntelligence.d.ts +3 -0
- package/dist/types/HumanIntelligence/TestHumanIntelligence.d.ts.map +1 -0
- package/dist/types/HumanIntelligence/components/CitationContent/CitationContent.d.ts +26 -0
- package/dist/types/HumanIntelligence/components/CitationContent/CitationContent.d.ts.map +1 -0
- package/dist/types/HumanIntelligence/components/CognitiveDecisioning/CognitiveDecisioning.d.ts +36 -0
- package/dist/types/HumanIntelligence/components/CognitiveDecisioning/CognitiveDecisioning.d.ts.map +1 -0
- package/dist/types/HumanIntelligence/components/HumanChangesSummary/HumanChangesSummary.d.ts +12 -0
- package/dist/types/HumanIntelligence/components/HumanChangesSummary/HumanChangesSummary.d.ts.map +1 -0
- package/dist/types/HumanIntelligence/components/HumanIntelligenceCard/HumanIntelligenceCard.d.ts +40 -0
- package/dist/types/HumanIntelligence/components/HumanIntelligenceCard/HumanIntelligenceCard.d.ts.map +1 -0
- package/dist/types/HumanIntelligence/components/LogFilters/LogFilterDropdown.d.ts +27 -0
- package/dist/types/HumanIntelligence/components/LogFilters/LogFilterDropdown.d.ts.map +1 -0
- package/dist/types/HumanIntelligence/components/LogFilters/LogFilters.d.ts +38 -0
- package/dist/types/HumanIntelligence/components/LogFilters/LogFilters.d.ts.map +1 -0
- package/dist/types/HumanIntelligence/components/LogFilters/LogFiltersSidebar.d.ts +38 -0
- package/dist/types/HumanIntelligence/components/LogFilters/LogFiltersSidebar.d.ts.map +1 -0
- package/dist/types/HumanIntelligence/components/LogTable/LogTable.d.ts +73 -0
- package/dist/types/HumanIntelligence/components/LogTable/LogTable.d.ts.map +1 -0
- package/dist/types/HumanIntelligence/components/PatternDetails/PatternDetails.d.ts +11 -0
- package/dist/types/HumanIntelligence/components/PatternDetails/PatternDetails.d.ts.map +1 -0
- package/dist/types/HumanIntelligence/components/Shared/ReusableTable.d.ts +18 -0
- package/dist/types/HumanIntelligence/components/Shared/ReusableTable.d.ts.map +1 -0
- package/dist/types/HumanIntelligence/hooks/useHighlightNavigation.d.ts +42 -0
- package/dist/types/HumanIntelligence/hooks/useHighlightNavigation.d.ts.map +1 -0
- package/dist/types/HumanIntelligence/hooks/useHumanChangesData.d.ts +146 -0
- package/dist/types/HumanIntelligence/hooks/useHumanChangesData.d.ts.map +1 -0
- package/dist/types/HumanIntelligence/hooks/useHumanIntelligenceController.d.ts +48 -0
- package/dist/types/HumanIntelligence/hooks/useHumanIntelligenceController.d.ts.map +1 -0
- package/dist/types/HumanIntelligence/index.d.ts +21 -0
- package/dist/types/HumanIntelligence/index.d.ts.map +1 -0
- package/dist/types/RecordDashboard/RecordApi/RecordDashboardApi.d.ts +2 -5
- package/dist/types/RecordDashboard/RecordApi/RecordDashboardApi.d.ts.map +1 -1
- package/dist/types/RecordDashboard/RecordComponents/AnalyticsChart/AnalyticsChart.d.ts +1 -1
- package/dist/types/RecordDashboard/RecordComponents/AnalyticsChart/AnalyticsChart.d.ts.map +1 -1
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordEventsSection.d.ts +2 -1
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordEventsSection.d.ts.map +1 -1
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordGridSection.d.ts +2 -1
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordGridSection.d.ts.map +1 -1
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordListSection.d.ts +3 -2
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordListSection.d.ts.map +1 -1
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordSectionContent.d.ts +1 -1
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordSectionContent.d.ts.map +1 -1
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordTagsSection.d.ts +2 -1
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordTagsSection.d.ts.map +1 -1
- package/dist/types/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDashboardDateFilter.d.ts +2 -1
- package/dist/types/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDashboardDateFilter.d.ts.map +1 -1
- package/dist/types/RecordDashboard/RecordComponents/DashboardSkeleton/RecordDashboardSkeleton.d.ts +2 -1
- package/dist/types/RecordDashboard/RecordComponents/DashboardSkeleton/RecordDashboardSkeleton.d.ts.map +1 -1
- package/dist/types/RecordDashboard/RecordComponents/DatePickers/RecordDatePicker.d.ts +2 -1
- package/dist/types/RecordDashboard/RecordComponents/DatePickers/RecordDatePicker.d.ts.map +1 -1
- package/dist/types/RecordDashboard/RecordComponents/DatePickers/RecordDateSelector.d.ts +1 -1
- package/dist/types/RecordDashboard/RecordComponents/DatePickers/RecordDateSelector.d.ts.map +1 -1
- package/dist/types/RecordDashboard/RecordComponents/DropDowns/RecordCustomMultiSelect.d.ts +2 -1
- package/dist/types/RecordDashboard/RecordComponents/DropDowns/RecordCustomMultiSelect.d.ts.map +1 -1
- package/dist/types/RecordDashboard/RecordComponents/DropDowns/RecordCustomSingleSelect.d.ts +2 -1
- package/dist/types/RecordDashboard/RecordComponents/DropDowns/RecordCustomSingleSelect.d.ts.map +1 -1
- package/dist/types/RecordDashboard/RecordComponents/FiltersSidebar/RecordCustomTextInput.d.ts +2 -1
- package/dist/types/RecordDashboard/RecordComponents/FiltersSidebar/RecordCustomTextInput.d.ts.map +1 -1
- package/dist/types/RecordDashboard/RecordComponents/FiltersSidebar/RecordFiltersSidebar.d.ts +2 -1
- package/dist/types/RecordDashboard/RecordComponents/FiltersSidebar/RecordFiltersSidebar.d.ts.map +1 -1
- package/dist/types/RecordDashboard/RecordComponents/Graph/RecordGraph.d.ts +2 -1
- package/dist/types/RecordDashboard/RecordComponents/Graph/RecordGraph.d.ts.map +1 -1
- package/dist/types/RecordDashboard/RecordComponents/Graph/RecordGraphEmptyState.d.ts +1 -1
- package/dist/types/RecordDashboard/RecordComponents/Graph/RecordGraphEmptyState.d.ts.map +1 -1
- package/dist/types/RecordDashboard/RecordComponents/Graph/RecordGraphSkeleton.d.ts +2 -1
- package/dist/types/RecordDashboard/RecordComponents/Graph/RecordGraphSkeleton.d.ts.map +1 -1
- package/dist/types/RecordDashboard/RecordComponents/Graph/RecordLineChart.d.ts +2 -1
- package/dist/types/RecordDashboard/RecordComponents/Graph/RecordLineChart.d.ts.map +1 -1
- package/dist/types/RecordDashboard/RecordComponents/Graph/RecordPlotBySelector.d.ts +2 -1
- package/dist/types/RecordDashboard/RecordComponents/Graph/RecordPlotBySelector.d.ts.map +1 -1
- package/dist/types/RecordDashboard/RecordComponents/MetricCard/RecordMetricCard.d.ts +1 -1
- package/dist/types/RecordDashboard/RecordComponents/MetricCard/RecordMetricCard.d.ts.map +1 -1
- package/dist/types/RecordDashboard/RecordComponents/RecordDashboard.d.ts +1 -1
- package/dist/types/RecordDashboard/RecordComponents/RecordDashboard.d.ts.map +1 -1
- package/dist/types/RecordDashboard/RecordComponents/StatsCard/RecordDashboardStats.d.ts +2 -1
- package/dist/types/RecordDashboard/RecordComponents/StatsCard/RecordDashboardStats.d.ts.map +1 -1
- package/dist/types/RecordDashboard/RecordComponents/Table/RecordFTable.d.ts +1 -1
- package/dist/types/RecordDashboard/RecordComponents/Table/RecordFTable.d.ts.map +1 -1
- package/dist/types/RecordDashboard/RecordComponents/Table/RecordSortDropdown.d.ts +2 -1
- package/dist/types/RecordDashboard/RecordComponents/Table/RecordSortDropdown.d.ts.map +1 -1
- package/dist/types/RecordDashboard/RecordComponents/Table/RecordTableCard.d.ts +1 -1
- package/dist/types/RecordDashboard/RecordComponents/Table/RecordTableCard.d.ts.map +1 -1
- package/dist/types/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableGrid.d.ts +1 -1
- package/dist/types/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableGrid.d.ts.map +1 -1
- package/dist/types/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableLayoutToggle.d.ts +1 -1
- package/dist/types/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableLayoutToggle.d.ts.map +1 -1
- package/dist/types/RecordDashboard/RecordComponents/TableHeader/TableHeader.d.ts +1 -1
- package/dist/types/RecordDashboard/RecordComponents/TableHeader/TableHeader.d.ts.map +1 -1
- package/dist/types/RecordDashboard/RecordDashboardWrapper.d.ts +2 -1
- package/dist/types/RecordDashboard/RecordDashboardWrapper.d.ts.map +1 -1
- package/dist/types/RecordDashboard/RecordTypes/index.d.ts +4 -33
- package/dist/types/RecordDashboard/RecordTypes/index.d.ts.map +1 -1
- package/dist/types/RecordDashboard/RecordUtils/RecordTableColumns.d.ts +1 -13
- package/dist/types/RecordDashboard/RecordUtils/RecordTableColumns.d.ts.map +1 -1
- package/dist/types/RecordDashboard/TestRecordDashbaord.d.ts +2 -1
- package/dist/types/RecordDashboard/TestRecordDashbaord.d.ts.map +1 -1
- package/dist/types/index.d.ts +3 -26
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +24 -4
- package/dist/ExecutiveDashboard/components/BarChart/BarChart.js +0 -2
- package/dist/ExecutiveDashboard/components/BarChart/BarChart.js.map +0 -1
- package/dist/ExecutiveDashboard/components/BarChart/BarChartEmptyState.js +0 -2
- package/dist/ExecutiveDashboard/components/BarChart/BarChartEmptyState.js.map +0 -1
- package/dist/ExecutiveDashboard/components/BarChart/BarChartSkeleton.js +0 -2
- package/dist/ExecutiveDashboard/components/BarChart/BarChartSkeleton.js.map +0 -1
- package/dist/ExecutiveDashboard/components/BarChart/BarChartTooltip.js +0 -2
- package/dist/ExecutiveDashboard/components/BarChart/BarChartTooltip.js.map +0 -1
- package/dist/ExecutiveDashboard/components/BarChart/types.js +0 -2
- package/dist/ExecutiveDashboard/components/BarChart/types.js.map +0 -1
- package/dist/ExecutiveDashboard/components/BarChart/utils.js +0 -2
- package/dist/ExecutiveDashboard/components/BarChart/utils.js.map +0 -1
- package/dist/ExecutiveDashboard/components/Graph/Seperator.js +0 -2
- package/dist/ExecutiveDashboard/components/Graph/Seperator.js.map +0 -1
- package/dist/ExecutiveDashboard/components/PieChart/PieChart.js +0 -2
- package/dist/ExecutiveDashboard/components/PieChart/PieChart.js.map +0 -1
- package/dist/ExecutiveDashboard/components/PieChart/PieChartEmptyState.js +0 -2
- package/dist/ExecutiveDashboard/components/PieChart/PieChartEmptyState.js.map +0 -1
- package/dist/ExecutiveDashboard/components/PieChart/PieChartSkeleton.js +0 -2
- package/dist/ExecutiveDashboard/components/PieChart/PieChartSkeleton.js.map +0 -1
- package/dist/ExecutiveDashboard/components/PieChart/PieChartTooltip.js +0 -2
- package/dist/ExecutiveDashboard/components/PieChart/PieChartTooltip.js.map +0 -1
- package/dist/ExecutiveDashboard/components/PieChart/types.js +0 -2
- package/dist/ExecutiveDashboard/components/PieChart/types.js.map +0 -1
- package/dist/ExecutiveDashboard/components/PieChart/utils.js +0 -2
- package/dist/ExecutiveDashboard/components/PieChart/utils.js.map +0 -1
- package/dist/ExecutiveDashboard/hooks/useVisibilityPolling.js +0 -2
- package/dist/ExecutiveDashboard/hooks/useVisibilityPolling.js.map +0 -1
- package/dist/cjs/ExecutiveDashboard/components/BarChart/BarChart.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/BarChart/BarChart.js.map +0 -1
- package/dist/cjs/ExecutiveDashboard/components/BarChart/BarChartEmptyState.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/BarChart/BarChartEmptyState.js.map +0 -1
- package/dist/cjs/ExecutiveDashboard/components/BarChart/BarChartSkeleton.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/BarChart/BarChartSkeleton.js.map +0 -1
- package/dist/cjs/ExecutiveDashboard/components/BarChart/BarChartTooltip.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/BarChart/BarChartTooltip.js.map +0 -1
- package/dist/cjs/ExecutiveDashboard/components/BarChart/types.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/BarChart/types.js.map +0 -1
- package/dist/cjs/ExecutiveDashboard/components/BarChart/utils.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/BarChart/utils.js.map +0 -1
- package/dist/cjs/ExecutiveDashboard/components/Graph/Seperator.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/Graph/Seperator.js.map +0 -1
- package/dist/cjs/ExecutiveDashboard/components/PieChart/PieChart.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/PieChart/PieChart.js.map +0 -1
- package/dist/cjs/ExecutiveDashboard/components/PieChart/PieChartEmptyState.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/PieChart/PieChartEmptyState.js.map +0 -1
- package/dist/cjs/ExecutiveDashboard/components/PieChart/PieChartSkeleton.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/PieChart/PieChartSkeleton.js.map +0 -1
- package/dist/cjs/ExecutiveDashboard/components/PieChart/PieChartTooltip.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/PieChart/PieChartTooltip.js.map +0 -1
- package/dist/cjs/ExecutiveDashboard/components/PieChart/types.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/PieChart/types.js.map +0 -1
- package/dist/cjs/ExecutiveDashboard/components/PieChart/utils.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/PieChart/utils.js.map +0 -1
- package/dist/cjs/ExecutiveDashboard/hooks/useVisibilityPolling.js +0 -2
- package/dist/cjs/ExecutiveDashboard/hooks/useVisibilityPolling.js.map +0 -1
- package/dist/cjs/node_modules/@kurkle/color/dist/color.esm.js +0 -9
- package/dist/cjs/node_modules/@kurkle/color/dist/color.esm.js.map +0 -1
- package/dist/cjs/node_modules/chart.js/auto/auto.js +0 -2
- package/dist/cjs/node_modules/chart.js/auto/auto.js.map +0 -1
- package/dist/cjs/node_modules/chart.js/dist/chart.js +0 -8
- package/dist/cjs/node_modules/chart.js/dist/chart.js.map +0 -1
- package/dist/cjs/node_modules/chart.js/dist/chunks/helpers.dataset.js +0 -8
- package/dist/cjs/node_modules/chart.js/dist/chunks/helpers.dataset.js.map +0 -1
- package/dist/cjs/node_modules/chartjs-plugin-datalabels/dist/chartjs-plugin-datalabels.esm.js +0 -2
- package/dist/cjs/node_modules/chartjs-plugin-datalabels/dist/chartjs-plugin-datalabels.esm.js.map +0 -1
- package/dist/node_modules/@kurkle/color/dist/color.esm.js +0 -8
- package/dist/node_modules/@kurkle/color/dist/color.esm.js.map +0 -1
- package/dist/node_modules/chart.js/auto/auto.js +0 -2
- package/dist/node_modules/chart.js/auto/auto.js.map +0 -1
- package/dist/node_modules/chart.js/dist/chart.js +0 -8
- package/dist/node_modules/chart.js/dist/chart.js.map +0 -1
- package/dist/node_modules/chart.js/dist/chunks/helpers.dataset.js +0 -8
- package/dist/node_modules/chart.js/dist/chunks/helpers.dataset.js.map +0 -1
- package/dist/node_modules/chartjs-plugin-datalabels/dist/chartjs-plugin-datalabels.esm.js +0 -8
- package/dist/node_modules/chartjs-plugin-datalabels/dist/chartjs-plugin-datalabels.esm.js.map +0 -1
- package/dist/types/ExecutiveDashboard/components/BarChart/BarChart.d.ts +0 -10
- package/dist/types/ExecutiveDashboard/components/BarChart/BarChart.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/BarChart/BarChartEmptyState.d.ts +0 -11
- package/dist/types/ExecutiveDashboard/components/BarChart/BarChartEmptyState.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/BarChart/BarChartSkeleton.d.ts +0 -10
- package/dist/types/ExecutiveDashboard/components/BarChart/BarChartSkeleton.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/BarChart/BarChartTooltip.d.ts +0 -13
- package/dist/types/ExecutiveDashboard/components/BarChart/BarChartTooltip.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/BarChart/types.d.ts +0 -170
- package/dist/types/ExecutiveDashboard/components/BarChart/types.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/BarChart/utils.d.ts +0 -48
- package/dist/types/ExecutiveDashboard/components/BarChart/utils.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/Graph/Seperator.d.ts +0 -7
- package/dist/types/ExecutiveDashboard/components/Graph/Seperator.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/PieChart/PieChart.d.ts +0 -10
- package/dist/types/ExecutiveDashboard/components/PieChart/PieChart.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/PieChart/PieChartEmptyState.d.ts +0 -11
- package/dist/types/ExecutiveDashboard/components/PieChart/PieChartEmptyState.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/PieChart/PieChartSkeleton.d.ts +0 -11
- package/dist/types/ExecutiveDashboard/components/PieChart/PieChartSkeleton.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/PieChart/PieChartTooltip.d.ts +0 -13
- package/dist/types/ExecutiveDashboard/components/PieChart/PieChartTooltip.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/PieChart/types.d.ts +0 -148
- package/dist/types/ExecutiveDashboard/components/PieChart/types.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/PieChart/utils.d.ts +0 -39
- package/dist/types/ExecutiveDashboard/components/PieChart/utils.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/common/Accordion.d.ts +0 -34
- package/dist/types/ExecutiveDashboard/components/common/Accordion.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/hooks/useVisibilityPolling.d.ts +0 -12
- package/dist/types/ExecutiveDashboard/hooks/useVisibilityPolling.d.ts.map +0 -1
|
@@ -3,7 +3,6 @@ import type { KpiValueObject } from "../utils";
|
|
|
3
3
|
import type { FTableColumn } from "../components/Table/FTable";
|
|
4
4
|
import type { TableSpan } from "../components/Table/TableGrid/spans";
|
|
5
5
|
import type { TableLayoutMode } from "../components/Table/TableGrid/TableLayoutToggle";
|
|
6
|
-
import { ReferenceConfig } from "../components/Graph/types";
|
|
7
6
|
export type { TableSpan, TableLayoutMode };
|
|
8
7
|
/**
|
|
9
8
|
* A re-orderable dashboard section, named by the key it arrives under in the UI
|
|
@@ -20,7 +19,7 @@ export type { TableSpan, TableLayoutMode };
|
|
|
20
19
|
* unrecognized is ignored (with a dev-mode console warning) rather than
|
|
21
20
|
* throwing, since these lists are usually config-driven.
|
|
22
21
|
*/
|
|
23
|
-
export type DashboardSectionKey = "graphBuilder" | "kpiCards" | "tableBuilder" | "
|
|
22
|
+
export type DashboardSectionKey = "graphBuilder" | "kpiCards" | "tableBuilder" | "dateFilters" | "sidebarFilters" | (string & {});
|
|
24
23
|
export interface DashboardContainerProps {
|
|
25
24
|
/** Identifies which dashboard config to load. Sent to every API call. */
|
|
26
25
|
configId: string;
|
|
@@ -33,25 +32,6 @@ export interface DashboardContainerProps {
|
|
|
33
32
|
* `POST /federated/filters/ui` (+ `/distinct-value`) against `baseUrl`.
|
|
34
33
|
*/
|
|
35
34
|
fetchUIConfig?: FetchUIConfig;
|
|
36
|
-
/**
|
|
37
|
-
* API #2 - polled in the given time interval that checks the current version is synced
|
|
38
|
-
* with backend or not.
|
|
39
|
-
*/
|
|
40
|
-
fetchUIVersionFromRedis?: FetchUIVersionConfig;
|
|
41
|
-
/**
|
|
42
|
-
* Optional polling config includes:
|
|
43
|
-
* polling interval in milliseconds for the UI config fetcher.
|
|
44
|
-
* When provided with a positive integer, the component will automatically
|
|
45
|
-
* re-fetch the UI config at this interval. Zero or negative values are invalid
|
|
46
|
-
* and will be rejected or throw an error at runtime. The polling continues
|
|
47
|
-
* uniformly regardless of fetch success, failure, or timeout, with no backoff
|
|
48
|
-
* strategy applied. The interval remains constant across all polling cycles.
|
|
49
|
-
* API config for the redis version matching.
|
|
50
|
-
* maxErrorInterval that defines the cap for server error backoff
|
|
51
|
-
* When provided apply exponential backoff, capped at maxErrorInterval for server error
|
|
52
|
-
* backoffMultiplier that provides the ceiling limit in milliseconds for server failures
|
|
53
|
-
*/
|
|
54
|
-
pollingConfigProp?: PollingConfig;
|
|
55
35
|
/**
|
|
56
36
|
* API #2 - "Data API". Called on mount and again whenever the date range
|
|
57
37
|
* or the applied filters change. Returns the numeric graph series and kpi
|
|
@@ -114,41 +94,7 @@ export interface DashboardContainerProps {
|
|
|
114
94
|
* sidebar (along with the button that opens it).
|
|
115
95
|
*/
|
|
116
96
|
hiddenSections?: DashboardSectionKey[];
|
|
117
|
-
metricCardConfig?: Record<any, any>;
|
|
118
|
-
/**
|
|
119
|
-
* Click handlers for the KPI card action buttons, keyed by the card's
|
|
120
|
-
* `ctaKey` (falling back to its `key`) from the UI config. A card only shows
|
|
121
|
-
* the button when its config has `showActionButton: true`; the label comes
|
|
122
|
-
* from `actionButtonLabel`. The clicked card's config is passed to the
|
|
123
|
-
* handler so one handler can serve several cards.
|
|
124
|
-
*
|
|
125
|
-
* ```ts
|
|
126
|
-
* kpiCtaConfig={{
|
|
127
|
-
* total_incurred_cost: () => navigate("/costs"),
|
|
128
|
-
* project_view: onNavigateToProjectView,
|
|
129
|
-
* }}
|
|
130
|
-
* ```
|
|
131
|
-
*/
|
|
132
|
-
kpiCtaConfig?: KpiCtaConfig;
|
|
133
|
-
/**
|
|
134
|
-
* Click handlers for the table card action buttons, keyed by the table's
|
|
135
|
-
* `ctaKey` (falling back to its `key`) from the UI config. A table only shows
|
|
136
|
-
* the button when its config has `showActionButton: true`; the label comes
|
|
137
|
-
* from `actionButtonLabel`. The clicked table's config is passed to the
|
|
138
|
-
* handler so one handler can serve several tables.
|
|
139
|
-
*
|
|
140
|
-
* ```ts
|
|
141
|
-
* tableCtaConfig={{
|
|
142
|
-
* top_plant_locations_by_claim_cost: () => navigate("/plant-claims"),
|
|
143
|
-
* }}
|
|
144
|
-
* ```
|
|
145
|
-
*/
|
|
146
|
-
tableCtaConfig?: TableCtaConfig;
|
|
147
97
|
}
|
|
148
|
-
/** Handlers for the KPI card CTA buttons, keyed by card `ctaKey` / `key`. */
|
|
149
|
-
export type KpiCtaConfig = Record<string, (card?: KpiCardConfig) => void>;
|
|
150
|
-
/** Handlers for the table card CTA buttons, keyed by table `ctaKey` / `key`. */
|
|
151
|
-
export type TableCtaConfig = Record<string, (table?: TableBuilderConfig) => void>;
|
|
152
98
|
/** Toolbar + grid behaviour for the tables section. */
|
|
153
99
|
export interface DashboardTableLayoutConfig {
|
|
154
100
|
/**
|
|
@@ -244,15 +190,6 @@ export interface TableBuilderConfig {
|
|
|
244
190
|
showRankColumn?: boolean;
|
|
245
191
|
columns: TableColumnConfig[];
|
|
246
192
|
generatedSql?: string;
|
|
247
|
-
/** Renders the call-to-action button in the table card's top-right header. */
|
|
248
|
-
showActionButton?: boolean;
|
|
249
|
-
/** Label for that button, e.g. "View all plan claim cost". */
|
|
250
|
-
actionButtonLabel?: string;
|
|
251
|
-
/**
|
|
252
|
-
* Overrides `key` when looking the handler up in `tableCtaConfig` — lets
|
|
253
|
-
* several tables share one destination.
|
|
254
|
-
*/
|
|
255
|
-
ctaKey?: string;
|
|
256
193
|
}
|
|
257
194
|
export interface DataPoint {
|
|
258
195
|
x: string;
|
|
@@ -271,26 +208,17 @@ export interface DashboardUIConfig {
|
|
|
271
208
|
data: DashboardUIData;
|
|
272
209
|
error: string | null;
|
|
273
210
|
}
|
|
274
|
-
export interface UIConfigVersionResponse {
|
|
275
|
-
success: boolean;
|
|
276
|
-
request_id: string;
|
|
277
|
-
timestamp: string;
|
|
278
|
-
error: string | null;
|
|
279
|
-
}
|
|
280
211
|
export interface DashboardUIData {
|
|
281
212
|
dateFilters: DateFiltersConfig;
|
|
282
213
|
sidebarFilters: SidebarFilterConfig[];
|
|
283
214
|
graphBuilder: GraphBuilderConfig;
|
|
284
215
|
kpiCards: KpiCardConfig[];
|
|
285
216
|
tableBuilder?: TableBuilderConfig[];
|
|
286
|
-
barChartBuilder?: BarChartBuilderConfig[];
|
|
287
|
-
pieChartBuilder?: PieChartBuilderConfig[];
|
|
288
217
|
/**
|
|
289
218
|
* Optional config-driven section order, using this payload's own keys.
|
|
290
219
|
* Overridden by the `sectionOrder` prop when both are present.
|
|
291
220
|
*/
|
|
292
221
|
sectionOrder?: DashboardSectionKey[];
|
|
293
|
-
alerts?: AlertBuilderConfig[];
|
|
294
222
|
}
|
|
295
223
|
export interface DateFiltersConfig {
|
|
296
224
|
datepresets: string[];
|
|
@@ -299,10 +227,6 @@ export interface DateFiltersConfig {
|
|
|
299
227
|
showFilterCount: "yes" | "no";
|
|
300
228
|
showLiveButton: "yes" | "no";
|
|
301
229
|
liveDurationMs: number;
|
|
302
|
-
pollingEnabled: "yes" | "no";
|
|
303
|
-
pollingInterval: number;
|
|
304
|
-
hourTransitionInterval: number;
|
|
305
|
-
historicTransitionInterval: number;
|
|
306
230
|
}
|
|
307
231
|
export interface SidebarFilterConfig {
|
|
308
232
|
label: string;
|
|
@@ -320,7 +244,6 @@ export interface GraphBuilderConfig {
|
|
|
320
244
|
};
|
|
321
245
|
tiers: GraphTierConfig[];
|
|
322
246
|
legend: LegendConfig;
|
|
323
|
-
reference?: ReferenceConfig;
|
|
324
247
|
}
|
|
325
248
|
export interface GraphTierConfig {
|
|
326
249
|
key: string;
|
|
@@ -373,175 +296,6 @@ export interface KpiCardConfig {
|
|
|
373
296
|
description: string;
|
|
374
297
|
generatedSql: string;
|
|
375
298
|
displayOrder: number;
|
|
376
|
-
/** Stable identifier for the card, also the default `kpiCtaConfig` lookup key. */
|
|
377
|
-
key?: string;
|
|
378
|
-
/** Renders the call-to-action button in the card's bottom-right corner. */
|
|
379
|
-
showActionButton?: boolean;
|
|
380
|
-
/** Label for that button, e.g. "view all cost". */
|
|
381
|
-
actionButtonLabel?: string;
|
|
382
|
-
/**
|
|
383
|
-
* Overrides `key` when looking the handler up in `kpiCtaConfig` — lets
|
|
384
|
-
* several cards share one destination (e.g. `"project_view"`).
|
|
385
|
-
*/
|
|
386
|
-
ctaKey?: string;
|
|
387
|
-
}
|
|
388
|
-
/**
|
|
389
|
-
* Value formatting shared by the chart cards. Mirrors the KPI cards'
|
|
390
|
-
* `valueFormat` so one metric reads identically wherever it appears.
|
|
391
|
-
*
|
|
392
|
-
* `duration` treats the value as minutes and renders "482h 30m" — it needs a
|
|
393
|
-
* matching case in `formatKpiValue` before it can be offered in onboarding.
|
|
394
|
-
*/
|
|
395
|
-
export type ChartValueFormat = "number" | "dollar" | "percentage" | "duration";
|
|
396
|
-
/**
|
|
397
|
-
* How the single base `color` is spread across the bars/slices.
|
|
398
|
-
* - `rank` — evenly stepped shades ordered by value (strongest = largest).
|
|
399
|
-
* - `value` — shade proportional to the value itself.
|
|
400
|
-
* - `none` — everything uses the base colour as-is.
|
|
401
|
-
*/
|
|
402
|
-
export type ChartShadeMode = "rank" | "value" | "none";
|
|
403
|
-
export type ChartSortOrder = "none" | "asc" | "desc";
|
|
404
|
-
/**
|
|
405
|
-
* One bar-chart card. The chart is single-series: `columnName` names the two
|
|
406
|
-
* columns the SQL returns — `[labelColumn, valueColumn]`.
|
|
407
|
-
*
|
|
408
|
-
* Long tails are handled in the browser, not in SQL: the query returns up to
|
|
409
|
-
* `maxRows` ordered rows and the card keeps the biggest `topN` of them. That
|
|
410
|
-
* keeps one query per card and makes the collapsed and expanded readings of
|
|
411
|
-
* the same data provably consistent.
|
|
412
|
-
*
|
|
413
|
-
* The value axis always starts at zero — bar length encodes magnitude, so a
|
|
414
|
-
* truncated baseline misstates the ratios. Use `axis.maxValue` to pin the
|
|
415
|
-
* top of the scale (e.g. 100 for a percentage, or a shared ceiling across
|
|
416
|
-
* two cards) rather than lifting the floor.
|
|
417
|
-
*/
|
|
418
|
-
export interface BarChartBuilderConfig {
|
|
419
|
-
/** Identity — also the key this card's rows arrive under in the data API. */
|
|
420
|
-
key: string;
|
|
421
|
-
title: string;
|
|
422
|
-
/** Muted line under the title. "" when unset. */
|
|
423
|
-
subtitle: string;
|
|
424
|
-
/** Icon key, same list as `kpiCards`. Null when unset. */
|
|
425
|
-
icon: string | null;
|
|
426
|
-
/**
|
|
427
|
-
* The one base colour every bar is shaded from. Must be hex or `rgb()` —
|
|
428
|
-
* named CSS colours can't be shaded, so every bar would come out identical.
|
|
429
|
-
* Null falls back to the component default (#6366f1).
|
|
430
|
-
*/
|
|
431
|
-
color: string | null;
|
|
432
|
-
/** Null defaults to "rank". */
|
|
433
|
-
shadeMode: ChartShadeMode | null;
|
|
434
|
-
/** Upright bars ("vertical", default) or sideways ("horizontal"). */
|
|
435
|
-
orientation: "vertical" | "horizontal" | null;
|
|
436
|
-
/** Null defaults to "none" — the SQL's own ordering is preserved. */
|
|
437
|
-
sortBy: ChartSortOrder | null;
|
|
438
|
-
/** Null defaults to "number". */
|
|
439
|
-
valueFormat: ChartValueFormat | null;
|
|
440
|
-
/** Print each bar's value above it. */
|
|
441
|
-
showValueLabels: "yes" | "no";
|
|
442
|
-
/** Category swatches under the plot. */
|
|
443
|
-
showLegends: "yes" | "no";
|
|
444
|
-
axis: {
|
|
445
|
-
xAxisLabel: string;
|
|
446
|
-
/** Unit shown alongside the value ticks, e.g. "Hours". */
|
|
447
|
-
yAxisLabel: string;
|
|
448
|
-
/** Pins the top of the scale. Null lets the data decide. */
|
|
449
|
-
maxValue: number | null;
|
|
450
|
-
};
|
|
451
|
-
/** Bars to keep. Null draws every row the query returned. */
|
|
452
|
-
topN: number | null;
|
|
453
|
-
/**
|
|
454
|
-
* Append the rows past `topN` as one aggregate bar. Off by default: unlike
|
|
455
|
-
* a pie slice, an "Others" bar is an aggregate standing next to single
|
|
456
|
-
* categories, which invites a comparison that doesn't mean anything.
|
|
457
|
-
*/
|
|
458
|
-
showOthers: "yes" | "no";
|
|
459
|
-
/** `{count}` is replaced with the number of grouped rows. */
|
|
460
|
-
othersLabel: string;
|
|
461
|
-
/** Hard `LIMIT` on the query. Null means the query sets its own. */
|
|
462
|
-
maxRows: number | null;
|
|
463
|
-
/** `[labelColumn, valueColumn]`. */
|
|
464
|
-
columnName: string[];
|
|
465
|
-
description: string;
|
|
466
|
-
/**
|
|
467
|
-
* Must be deterministically ordered — `ORDER BY <value> DESC, <label> ASC`.
|
|
468
|
-
* Without the label tiebreak, equal values can swap between refreshes and a
|
|
469
|
-
* category will drift in and out of the top `topN`.
|
|
470
|
-
*/
|
|
471
|
-
generatedSql: string;
|
|
472
|
-
displayOrder: number;
|
|
473
|
-
}
|
|
474
|
-
/** Legend layout for a pie card. */
|
|
475
|
-
export interface PieChartLegendBuilderConfig {
|
|
476
|
-
showLegends: "yes" | "no";
|
|
477
|
-
/** "right" stacks under the ring on narrow screens. */
|
|
478
|
-
position: "right" | "bottom";
|
|
479
|
-
/** The formatted value column. */
|
|
480
|
-
showValue: "yes" | "no";
|
|
481
|
-
/** The share-of-total column. */
|
|
482
|
-
showPercent: "yes" | "no";
|
|
483
|
-
}
|
|
484
|
-
/**
|
|
485
|
-
* One pie/donut card. Same single-series contract as the bar card —
|
|
486
|
-
* `columnName` is `[labelColumn, valueColumn]`, and the long tail is grouped
|
|
487
|
-
* in the browser from the rows the query returned.
|
|
488
|
-
*
|
|
489
|
-
* Note `valueFormat: "percentage"` is usually wrong here: the legend already
|
|
490
|
-
* derives a share-of-total column, so pre-computed percentages produce a
|
|
491
|
-
* percent of percents.
|
|
492
|
-
*/
|
|
493
|
-
export interface PieChartBuilderConfig {
|
|
494
|
-
/** Identity — also the key this card's rows arrive under in the data API. */
|
|
495
|
-
key: string;
|
|
496
|
-
title: string;
|
|
497
|
-
subtitle: string;
|
|
498
|
-
icon: string | null;
|
|
499
|
-
/** Hex or `rgb()`. Null falls back to the component default (#1e1b4b). */
|
|
500
|
-
color: string | null;
|
|
501
|
-
/** Null defaults to "rank". */
|
|
502
|
-
shadeMode: ChartShadeMode | null;
|
|
503
|
-
/** "donut" (default) leaves room for the centre total; "pie" fills it. */
|
|
504
|
-
variant: "donut" | "pie" | null;
|
|
505
|
-
/** Null defaults to "desc" — biggest slice first. */
|
|
506
|
-
sortBy: ChartSortOrder | null;
|
|
507
|
-
valueFormat: ChartValueFormat | null;
|
|
508
|
-
/** Slices to keep. Null draws every row the query returned. */
|
|
509
|
-
topN: number | null;
|
|
510
|
-
/**
|
|
511
|
-
* Roll the rows past `topN` into one slice. On by default here — a slice
|
|
512
|
-
* *is* a share of the whole, so the bucket keeps the ring summing to 100%.
|
|
513
|
-
*/
|
|
514
|
-
showOthers: "yes" | "no";
|
|
515
|
-
/** `{count}` is replaced with the number of grouped rows. */
|
|
516
|
-
othersLabel: string;
|
|
517
|
-
/** Hard `LIMIT` on the query. Null means the query sets its own. */
|
|
518
|
-
maxRows: number | null;
|
|
519
|
-
/** Total in the middle of the donut. Ignored by the "pie" variant. */
|
|
520
|
-
showCenterTotal: "yes" | "no";
|
|
521
|
-
/** Caption under the centre total. "" defaults to "Total". */
|
|
522
|
-
centerLabel: string;
|
|
523
|
-
legend: PieChartLegendBuilderConfig;
|
|
524
|
-
/** `[labelColumn, valueColumn]`. */
|
|
525
|
-
columnName: string[];
|
|
526
|
-
description: string;
|
|
527
|
-
/** Deterministically ordered — see `BarChartBuilderConfig.generatedSql`. */
|
|
528
|
-
generatedSql: string;
|
|
529
|
-
displayOrder: number;
|
|
530
|
-
}
|
|
531
|
-
export interface AlertBuilderConfig {
|
|
532
|
-
id: string;
|
|
533
|
-
title?: string;
|
|
534
|
-
subtitle?: string;
|
|
535
|
-
icon?: string;
|
|
536
|
-
styles?: string;
|
|
537
|
-
plotOptions?: AlertPlotConfig[];
|
|
538
|
-
}
|
|
539
|
-
export interface AlertPlotConfig {
|
|
540
|
-
label: string;
|
|
541
|
-
value: string;
|
|
542
|
-
format?: string;
|
|
543
|
-
generatedSql?: string;
|
|
544
|
-
displayOrder?: number;
|
|
545
299
|
}
|
|
546
300
|
export interface DataPoint {
|
|
547
301
|
x: string;
|
|
@@ -553,14 +307,10 @@ export interface SeriesDataMap {
|
|
|
553
307
|
export interface PlotByOptions {
|
|
554
308
|
[plotOptionKey: string]: SeriesDataMap;
|
|
555
309
|
}
|
|
556
|
-
export interface ReferenceOptions {
|
|
557
|
-
[plotOptionKey: string]: ReferenceConfig;
|
|
558
|
-
}
|
|
559
310
|
export interface TierData {
|
|
560
311
|
key: string;
|
|
561
312
|
plotbyoptions: PlotByOptions;
|
|
562
313
|
series?: SeriesConfig[];
|
|
563
|
-
referenceOptions?: ReferenceOptions;
|
|
564
314
|
}
|
|
565
315
|
export interface DashboardDataResponse {
|
|
566
316
|
graph: {
|
|
@@ -577,17 +327,6 @@ export interface DashboardDataResponse {
|
|
|
577
327
|
table?: {
|
|
578
328
|
[tableKey: string]: Record<string, any>[];
|
|
579
329
|
};
|
|
580
|
-
/**
|
|
581
|
-
* Row arrays keyed by `barChartBuilder[].key` / `pieChartBuilder[].key`.
|
|
582
|
-
* Each row carries at least the two columns named in that card's
|
|
583
|
-
* `columnName`; `toBarChartData` / `toPieChartData` do the mapping.
|
|
584
|
-
*/
|
|
585
|
-
barChart?: {
|
|
586
|
-
[chartKey: string]: Record<string, any>[];
|
|
587
|
-
};
|
|
588
|
-
pieChart?: {
|
|
589
|
-
[chartKey: string]: Record<string, any>[];
|
|
590
|
-
};
|
|
591
330
|
}
|
|
592
331
|
/** A single cursor-paginated response from /federated/filters/table-data. */
|
|
593
332
|
export interface TableDataResponse {
|
|
@@ -609,18 +348,10 @@ export interface DashboardApiConfig {
|
|
|
609
348
|
baseUrl?: string;
|
|
610
349
|
}
|
|
611
350
|
export type FetchUIConfig = (config: DashboardApiConfig, signal?: AbortSignal) => Promise<DashboardUIConfig>;
|
|
612
|
-
export type FetchUIVersionConfig = (config: DashboardApiConfig, signal?: AbortSignal) => Promise<UIConfigVersionResponse>;
|
|
613
351
|
export type FetchDashboardData = (config: DashboardApiConfig, params: DashboardQueryParams, signal?: AbortSignal) => Promise<DashboardDataResponse>;
|
|
614
352
|
export type FetchTableData = (config: DashboardApiConfig, params: DashboardQueryParams & {
|
|
615
353
|
tableKey: string;
|
|
616
354
|
pageSize?: number;
|
|
617
355
|
cursor?: string;
|
|
618
356
|
}, signal?: AbortSignal) => Promise<TableDataResponse>;
|
|
619
|
-
export type PollingConfig = {
|
|
620
|
-
pollingEnabled: boolean;
|
|
621
|
-
pollingInterval?: number;
|
|
622
|
-
config?: DashboardApiConfig;
|
|
623
|
-
maxErrorInterval?: number;
|
|
624
|
-
backoffMultiplier?: number;
|
|
625
|
-
};
|
|
626
357
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/ExecutiveDashboard/types/index.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC/C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qCAAqC,CAAC;AACrE,OAAO,KAAK,EAAE,eAAe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C,EAAE,IAAI,CAAC;IACjB,OAAO,CAAC,EAAE,IAAI,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC,CAAC;CAC7C;AAGD,0EAA0E;AAC1E,MAAM,WAAW,kBAAkB;IACjC,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,MAAM,aAAa,GAAG,CAC1B,MAAM,EAAE,kBAAkB,EAC1B,MAAM,CAAC,EAAE,WAAW,KACjB,OAAO,CAAC,iBAAiB,CAAC,CAAC;AAEhC,MAAM,MAAM,kBAAkB,GAAG,CAC/B,MAAM,EAAE,kBAAkB,EAC1B,MAAM,EAAE,oBAAoB,EAC5B,MAAM,CAAC,EAAE,WAAW,KACjB,OAAO,CAAC,qBAAqB,CAAC,CAAC;AAEpC,MAAM,MAAM,cAAc,GAAG,CAC3B,MAAM,EAAE,kBAAkB,EAC1B,MAAM,EAAE,oBAAoB,GAAG;IAC7B,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,EACD,MAAM,CAAC,EAAE,WAAW,KACjB,OAAO,CAAC,iBAAiB,CAAC,CAAC"}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import LogTable, { LogRow } from "./components/LogTable/LogTable";
|
|
3
|
+
import { ImpactLabelOption } from "./hooks/useHumanIntelligenceController";
|
|
4
|
+
import { HumanChangeOrderBy } from "./hooks/useHumanChangesData";
|
|
5
|
+
import LogFilters from "./components/LogFilters/LogFilters";
|
|
6
|
+
import LogFilterDropdown, { LogFilterDropdownOption } from "./components/LogFilters/LogFilterDropdown";
|
|
7
|
+
type ColumnDef = {
|
|
8
|
+
key: string;
|
|
9
|
+
header: string;
|
|
10
|
+
body: (row: LogRow) => React.ReactNode;
|
|
11
|
+
style?: React.CSSProperties;
|
|
12
|
+
headerStyle?: React.CSSProperties;
|
|
13
|
+
headerClassName?: string;
|
|
14
|
+
};
|
|
15
|
+
type HumanChangeSortOption = {
|
|
16
|
+
label: string;
|
|
17
|
+
value: HumanChangeOrderBy;
|
|
18
|
+
};
|
|
19
|
+
type LearningActionApi = {
|
|
20
|
+
/** Endpoint that receives a learning approval/rejection payload. */
|
|
21
|
+
endpoint: string;
|
|
22
|
+
/** Overrides getData.baseUrl when the action API is hosted elsewhere. */
|
|
23
|
+
baseUrl?: string;
|
|
24
|
+
};
|
|
25
|
+
export interface ActionFooterConfig {
|
|
26
|
+
label?: string;
|
|
27
|
+
show?: boolean;
|
|
28
|
+
className?: string;
|
|
29
|
+
}
|
|
30
|
+
export type OnboardingStepType = 'personas' | 'data sources' | 'done';
|
|
31
|
+
export interface Provider {
|
|
32
|
+
provider: string;
|
|
33
|
+
type: string;
|
|
34
|
+
providerAccountId: string;
|
|
35
|
+
access_token: string;
|
|
36
|
+
expires_at: number;
|
|
37
|
+
refresh_token: string;
|
|
38
|
+
scope: string;
|
|
39
|
+
token_type?: string;
|
|
40
|
+
id_token: string;
|
|
41
|
+
name: string;
|
|
42
|
+
email: string;
|
|
43
|
+
picture?: string;
|
|
44
|
+
sub?: string;
|
|
45
|
+
deviceId?: string;
|
|
46
|
+
}
|
|
47
|
+
export interface User {
|
|
48
|
+
_id: string;
|
|
49
|
+
email: string;
|
|
50
|
+
accessToken: string;
|
|
51
|
+
firstname: string;
|
|
52
|
+
lastname: string;
|
|
53
|
+
userValidity?: string;
|
|
54
|
+
deviceId?: string;
|
|
55
|
+
provider?: Provider;
|
|
56
|
+
iat?: number;
|
|
57
|
+
exp?: number;
|
|
58
|
+
jti?: string;
|
|
59
|
+
phone?: number;
|
|
60
|
+
}
|
|
61
|
+
export interface HumanChangesTableWrapperProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'title' | 'id'> {
|
|
62
|
+
userDetails: User;
|
|
63
|
+
configId: string;
|
|
64
|
+
changeLogConfigId?: string;
|
|
65
|
+
app_integration_id: string;
|
|
66
|
+
teachMeConfig?: Record<string, any>;
|
|
67
|
+
getData?: {
|
|
68
|
+
baseUrl: string;
|
|
69
|
+
endpoint: string;
|
|
70
|
+
};
|
|
71
|
+
modeId: string;
|
|
72
|
+
query?: {
|
|
73
|
+
scopeId?: string[];
|
|
74
|
+
paginationLimit?: number;
|
|
75
|
+
eventId?: string;
|
|
76
|
+
};
|
|
77
|
+
extraColumns?: ColumnDef[];
|
|
78
|
+
filters?: Partial<React.ComponentProps<typeof LogFilters>>;
|
|
79
|
+
filterDropdown?: Partial<React.ComponentProps<typeof LogFilterDropdown>>;
|
|
80
|
+
table?: Partial<React.ComponentProps<typeof LogTable>>;
|
|
81
|
+
impactLabelOptions?: ImpactLabelOption[];
|
|
82
|
+
impactOptions?: LogFilterDropdownOption[];
|
|
83
|
+
sortOptions?: HumanChangeSortOption[];
|
|
84
|
+
rejectLearningApi?: LearningActionApi;
|
|
85
|
+
generateLearningApi?: LearningActionApi;
|
|
86
|
+
config?: {
|
|
87
|
+
showFilters?: boolean;
|
|
88
|
+
showSidebar?: boolean;
|
|
89
|
+
showHeader?: boolean;
|
|
90
|
+
title?: string;
|
|
91
|
+
description?: string;
|
|
92
|
+
showAccordionToggle?: boolean;
|
|
93
|
+
showMaximizeToggle?: boolean;
|
|
94
|
+
};
|
|
95
|
+
isMaximized?: boolean;
|
|
96
|
+
defaultIsMaximized?: boolean;
|
|
97
|
+
onMaximizedChange?: (isMaximized: boolean) => void;
|
|
98
|
+
isTableOpen?: boolean;
|
|
99
|
+
defaultIsTableOpen?: boolean;
|
|
100
|
+
onTableOpenChange?: (isTableOpen: boolean) => void;
|
|
101
|
+
footerActions?: {
|
|
102
|
+
primary?: ActionFooterConfig;
|
|
103
|
+
secondary?: ActionFooterConfig;
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
export default function HumanChangesTableWrapper({ configId, changeLogConfigId, userDetails, app_integration_id, teachMeConfig, getData, query, extraColumns, filters, filterDropdown, table, impactLabelOptions, impactOptions, sortOptions, rejectLearningApi, generateLearningApi, config, className, style, isMaximized: controlledIsMaximized, defaultIsMaximized, onMaximizedChange, isTableOpen: controlledIsTableOpen, defaultIsTableOpen, onTableOpenChange, footerActions, modeId, ...rest }: HumanChangesTableWrapperProps): import("react").JSX.Element;
|
|
107
|
+
export {};
|
|
108
|
+
//# sourceMappingURL=HumanChangesTableWrapper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HumanChangesTableWrapper.d.ts","sourceRoot":"","sources":["../../../src/HumanIntelligence/HumanChangesTableWrapper.tsx"],"names":[],"mappings":";AAEA,OAAO,QAAQ,EAAE,EAAE,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAClE,OAAO,EAAkC,iBAAiB,EAAE,MAAM,wCAAwC,CAAC;AAC3G,OAAO,EAEL,kBAAkB,EAGnB,MAAM,6BAA6B,CAAC;AACrC,OAAO,UAAU,MAAM,oCAAoC,CAAC;AAC5D,OAAO,iBAAiB,EAAE,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAC;AAQvG,KAAK,SAAS,GAAG;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,KAAK,CAAC,SAAS,CAAC;IACvC,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,WAAW,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAClC,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC;AAmEF,KAAK,qBAAqB,GAAG;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,kBAAkB,CAAC;CAC3B,CAAC;AAEF,KAAK,iBAAiB,GAAG;IACvB,oEAAoE;IACpE,QAAQ,EAAE,MAAM,CAAC;IACjB,yEAAyE;IACzE,OAAO,CAAC,EAAE,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,CAAC;QACrB,mBAAmB,CAAC,EAAE,OAAO,CAAC;QAC9B,kBAAkB,CAAC,EAAE,OAAO,CAAC;KAC9B,CAAC;IAGF,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,iBAAiB,CAAC,EAAE,CAAC,WAAW,EAAE,OAAO,KAAK,IAAI,CAAC;IAEnD,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,iBAAiB,CAAC,EAAE,CAAC,WAAW,EAAE,OAAO,KAAK,IAAI,CAAC;IAEnD,aAAa,CAAC,EAAE;QACd,OAAO,CAAC,EAAE,kBAAkB,CAAC;QAC7B,SAAS,CAAC,EAAE,kBAAkB,CAAC;KAChC,CAAC;CACH;AAKD,MAAM,CAAC,OAAO,UAAU,wBAAwB,CAAC,EAC/C,QAAQ,EACR,iBAAiB,EACjB,WAAW,EACX,kBAAkB,EAClB,aAAa,EACb,OAAO,EACP,KAAK,EACL,YAAY,EACZ,OAAO,EACP,cAAc,EACd,KAAK,EACL,kBAAiD,EACjD,aAAa,EACb,WAAkC,EAClC,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,EACN,SAAS,EACT,KAAK,EACL,WAAW,EAAE,qBAAqB,EAClC,kBAA0B,EAC1B,iBAAiB,EACjB,WAAW,EAAE,qBAAqB,EAClC,kBAAyB,EACzB,iBAAiB,EACjB,aAAa,EACb,MAAM,EACN,GAAG,IAAI,EACR,EAAE,6BAA6B,+BA6wB/B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TestHumanIntelligence.d.ts","sourceRoot":"","sources":["../../../src/HumanIntelligence/TestHumanIntelligence.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AA+G1B,wBAAgB,qBAAqB,sBAyDpC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Column } from '../Shared/ReusableTable';
|
|
3
|
+
export interface CitationContentProps<T = any> {
|
|
4
|
+
citationType?: 'tabular' | 'record';
|
|
5
|
+
tableTitle?: string;
|
|
6
|
+
tableData: T[];
|
|
7
|
+
columns: Column<T>[];
|
|
8
|
+
rulebookTitle?: string;
|
|
9
|
+
rulebookPaginationText?: string;
|
|
10
|
+
rulebookComponent?: React.ReactNode;
|
|
11
|
+
rulebookMarkdown?: string;
|
|
12
|
+
rulebookLoading?: boolean;
|
|
13
|
+
rulebookError?: string | null;
|
|
14
|
+
highlights?: string[];
|
|
15
|
+
recordMarkdown?: string;
|
|
16
|
+
loading?: boolean;
|
|
17
|
+
error?: string | null;
|
|
18
|
+
onEndReached?: () => void;
|
|
19
|
+
hasNextPage?: boolean;
|
|
20
|
+
isFetchingNextPage?: boolean;
|
|
21
|
+
fetchNextPageError?: string | null;
|
|
22
|
+
onRetry?: () => void;
|
|
23
|
+
onRulebookRetry?: () => void;
|
|
24
|
+
}
|
|
25
|
+
export declare function CitationContent<T>({ citationType, tableTitle, tableData, columns, rulebookTitle, rulebookPaginationText, rulebookComponent, rulebookMarkdown, rulebookLoading, rulebookError, highlights, recordMarkdown, loading, error, onEndReached, hasNextPage, isFetchingNextPage, fetchNextPageError, onRetry, onRulebookRetry }: CitationContentProps<T>): React.JSX.Element;
|
|
26
|
+
//# sourceMappingURL=CitationContent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CitationContent.d.ts","sourceRoot":"","sources":["../../../../../src/HumanIntelligence/components/CitationContent/CitationContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAKxC,OAAO,EAAiB,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAGhE,MAAM,WAAW,oBAAoB,CAAC,CAAC,GAAG,GAAG;IAC3C,YAAY,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAC;IACpC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,CAAC,EAAE,CAAC;IACf,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,iBAAiB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACpC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;CAC9B;AAED,wBAAgB,eAAe,CAAC,CAAC,EAAE,EACjC,YAAwB,EACxB,UAAyB,EACzB,SAAS,EACT,OAAO,EACP,aAA0B,EAC1B,sBAAiC,EACjC,iBAAiB,EACjB,gBAAqB,EACrB,eAAuB,EACvB,aAAoB,EACpB,UAAU,EACV,cAAmB,EACnB,OAAe,EACf,KAAY,EACZ,YAAY,EACZ,WAAW,EACX,kBAAkB,EAClB,kBAAkB,EAClB,OAAO,EACP,eAAe,EAChB,EAAE,oBAAoB,CAAC,CAAC,CAAC,qBAmNzB"}
|
package/dist/types/HumanIntelligence/components/CognitiveDecisioning/CognitiveDecisioning.d.ts
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Column } from '../Shared/ReusableTable';
|
|
3
|
+
import type { RawCitation } from '../../hooks/useHumanChangesData';
|
|
4
|
+
/**
|
|
5
|
+
* Represents the structured data required by the CognitiveDecisioning component.
|
|
6
|
+
*/
|
|
7
|
+
export interface CognitiveDecisioningData {
|
|
8
|
+
reason: string[];
|
|
9
|
+
gap: string[];
|
|
10
|
+
confidence_score: number;
|
|
11
|
+
/**
|
|
12
|
+
* Map of `citation_<n>` -> citation payload, as returned by the human
|
|
13
|
+
* changes API. Reason/gap sentences point at an entry through the
|
|
14
|
+
* `citationNumber` query param of their markdown link.
|
|
15
|
+
*/
|
|
16
|
+
citation?: Record<string, RawCitation>;
|
|
17
|
+
tableColumns?: Column<any>[];
|
|
18
|
+
rulebookComponent?: React.ReactNode;
|
|
19
|
+
tableTitle?: string;
|
|
20
|
+
rulebookTitle?: string;
|
|
21
|
+
rulebookPaginationText?: string;
|
|
22
|
+
humanIntelligentConfigId?: string;
|
|
23
|
+
changeLogConfigId?: string;
|
|
24
|
+
baseUrl?: string;
|
|
25
|
+
agentConfig?: string;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Props for the CognitiveDecisioning component.
|
|
29
|
+
*/
|
|
30
|
+
export interface CognitiveDecisioningProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'title'> {
|
|
31
|
+
data: CognitiveDecisioningData;
|
|
32
|
+
changeLogs?: any[];
|
|
33
|
+
defaultOpen?: boolean;
|
|
34
|
+
}
|
|
35
|
+
export declare const CognitiveDecisioning: React.FC<CognitiveDecisioningProps>;
|
|
36
|
+
//# sourceMappingURL=CognitiveDecisioning.d.ts.map
|
package/dist/types/HumanIntelligence/components/CognitiveDecisioning/CognitiveDecisioning.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CognitiveDecisioning.d.ts","sourceRoot":"","sources":["../../../../../src/HumanIntelligence/components/CognitiveDecisioning/CognitiveDecisioning.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0B,MAAM,OAAO,CAAC;AAK/C,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AACjD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAOnE;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,GAAG,EAAE,MAAM,EAAE,CAAC;IACd,gBAAgB,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC;IACvC,YAAY,CAAC,EAAE,MAAM,CAAC,GAAG,CAAC,EAAE,CAAC;IAC7B,iBAAiB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACpC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,MAAM,WAAW,yBAA0B,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC;IACpG,IAAI,EAAE,wBAAwB,CAAC;IAC/B,UAAU,CAAC,EAAE,GAAG,EAAE,CAAC;IACnB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAycD,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,yBAAyB,CA2EpE,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export interface HumanChangesSummaryProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
/** The label for the summary section, defaults to "HUMAN CHANGES SUMMARY" */
|
|
4
|
+
label?: string;
|
|
5
|
+
/** The content of the summary */
|
|
6
|
+
children: React.ReactNode;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Standalone component for displaying the human changes summary.
|
|
10
|
+
*/
|
|
11
|
+
export declare const HumanChangesSummary: React.FC<HumanChangesSummaryProps>;
|
|
12
|
+
//# sourceMappingURL=HumanChangesSummary.d.ts.map
|
package/dist/types/HumanIntelligence/components/HumanChangesSummary/HumanChangesSummary.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HumanChangesSummary.d.ts","sourceRoot":"","sources":["../../../../../src/HumanIntelligence/components/HumanChangesSummary/HumanChangesSummary.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,WAAW,wBAAyB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACpF,6EAA6E;IAC7E,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,iCAAiC;IACjC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED;;GAEG;AACH,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,wBAAwB,CAYlE,CAAC"}
|