@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
|
@@ -1,148 +0,0 @@
|
|
|
1
|
-
import type React from "react";
|
|
2
|
-
/**
|
|
3
|
-
* One slice of the pie. A null/zero value is dropped from the ring (and from
|
|
4
|
-
* the legend) rather than drawn as a hairline slice.
|
|
5
|
-
*/
|
|
6
|
-
export type PieChartDatum = {
|
|
7
|
-
/** Slice name, shown in the legend and tooltip. */
|
|
8
|
-
label: string;
|
|
9
|
-
value: number | null;
|
|
10
|
-
/**
|
|
11
|
-
* Overrides the shade derived from the base `color` for this slice only —
|
|
12
|
-
* useful for pinning an "Others" bucket to a fixed tint.
|
|
13
|
-
*/
|
|
14
|
-
color?: string;
|
|
15
|
-
/** Arbitrary extra data, forwarded to tooltip/click handlers. */
|
|
16
|
-
meta?: Record<string, unknown>;
|
|
17
|
-
};
|
|
18
|
-
/**
|
|
19
|
-
* How the single base `color` is spread across the slices.
|
|
20
|
-
* - `rank` — evenly stepped shades ordered by value (strongest = largest).
|
|
21
|
-
* Default, and what keeps a long tail of small slices readable.
|
|
22
|
-
* - `value` — shade proportional to the value itself.
|
|
23
|
-
* - `none` — every slice uses the base colour as-is.
|
|
24
|
-
*/
|
|
25
|
-
export type PieShadeMode = "rank" | "value" | "none";
|
|
26
|
-
export type PieChartLegendConfig = {
|
|
27
|
-
/** Default true. */
|
|
28
|
-
show?: boolean;
|
|
29
|
-
/** Default "right" — falls back to "bottom" on narrow containers. */
|
|
30
|
-
position?: "right" | "bottom";
|
|
31
|
-
/** Show the formatted value column. Default true. */
|
|
32
|
-
showValue?: boolean;
|
|
33
|
-
/** Show the share-of-total column. Default true. */
|
|
34
|
-
showPercent?: boolean;
|
|
35
|
-
/** Decimal places on the percentage. Default 0. */
|
|
36
|
-
percentDecimals?: number;
|
|
37
|
-
/** Cap the rows rendered; the rest scroll. Default unlimited. */
|
|
38
|
-
maxHeight?: number;
|
|
39
|
-
};
|
|
40
|
-
export type PieChartCenterConfig = {
|
|
41
|
-
/** Default true for the donut variant, ignored for a full pie. */
|
|
42
|
-
show?: boolean;
|
|
43
|
-
/** Overrides the summed total. */
|
|
44
|
-
value?: React.ReactNode;
|
|
45
|
-
/** Caption under the value. Default "Total". */
|
|
46
|
-
label?: React.ReactNode;
|
|
47
|
-
/**
|
|
48
|
-
* Swap the centre to the hovered slice's label + value while hovering.
|
|
49
|
-
* Default true.
|
|
50
|
-
*/
|
|
51
|
-
followHover?: boolean;
|
|
52
|
-
};
|
|
53
|
-
export type PieChartTooltipConfig = {
|
|
54
|
-
/** Default true. */
|
|
55
|
-
enabled?: boolean;
|
|
56
|
-
/** Show the slice-name heading row. Default true. */
|
|
57
|
-
showHeading?: boolean;
|
|
58
|
-
formatHeading?: (label: string) => React.ReactNode;
|
|
59
|
-
/** Overrides the top-level `valueFormatter` for the tooltip only. */
|
|
60
|
-
formatValue?: (value: number, datum: PieChartDatum) => React.ReactNode;
|
|
61
|
-
/** Adds a "x% of total" row under the value. Default true. */
|
|
62
|
-
showShare?: boolean;
|
|
63
|
-
/** Fully replaces the tooltip body. */
|
|
64
|
-
render?: (ctx: PieChartInteractionContext) => React.ReactNode;
|
|
65
|
-
};
|
|
66
|
-
export type PieChartStyle = {
|
|
67
|
-
className?: string;
|
|
68
|
-
container?: React.CSSProperties;
|
|
69
|
-
/** Height of the plot area in px. Default 260. */
|
|
70
|
-
chartHeight?: number;
|
|
71
|
-
/** Ring thickness is `outerRadius - innerRadius`. Percent strings allowed. */
|
|
72
|
-
innerRadius?: number | string;
|
|
73
|
-
outerRadius?: number | string;
|
|
74
|
-
/** Gap between slices in degrees. Default 0 (a continuous ring). */
|
|
75
|
-
paddingAngle?: number;
|
|
76
|
-
/** Rounded slice ends. Default 0. */
|
|
77
|
-
cornerRadius?: number;
|
|
78
|
-
/** How far the hovered slice grows, in px. Default 6. */
|
|
79
|
-
activeOffset?: number;
|
|
80
|
-
/**
|
|
81
|
-
* Shade intensity range applied to the base colour, `[lightest, strongest]`
|
|
82
|
-
* on a 0–1 scale where 1 is the base colour and 0 is white.
|
|
83
|
-
* Default [0.18, 1].
|
|
84
|
-
*/
|
|
85
|
-
shadeRange?: [number, number];
|
|
86
|
-
/** Opacity of the non-hovered slices while hovering. Default 0.45. */
|
|
87
|
-
dimOpacity?: number;
|
|
88
|
-
fontFamily?: string;
|
|
89
|
-
};
|
|
90
|
-
export type PieChartConfig = {
|
|
91
|
-
/** Render the title/icon/description header. Default true. */
|
|
92
|
-
showHeader?: boolean;
|
|
93
|
-
/** Donut (default) leaves a hole for the centre total; pie fills it. */
|
|
94
|
-
variant?: "donut" | "pie";
|
|
95
|
-
/** Fade the other slices while one is hovered. Default true. */
|
|
96
|
-
highlightOnHover?: boolean;
|
|
97
|
-
/** Reorder slices by value before drawing. Default "desc". */
|
|
98
|
-
sortBy?: "none" | "asc" | "desc";
|
|
99
|
-
/** Grow-in animation on mount. Default true. */
|
|
100
|
-
animate?: boolean;
|
|
101
|
-
/** Degree the first slice starts at. Default 90 (12 o'clock, clockwise). */
|
|
102
|
-
startAngle?: number;
|
|
103
|
-
};
|
|
104
|
-
/** Payload handed to tooltip renderers and click handlers. */
|
|
105
|
-
export type PieChartInteractionContext = {
|
|
106
|
-
datum: PieChartDatum;
|
|
107
|
-
value: number;
|
|
108
|
-
/** Resolved slice colour (after shading / per-datum override). */
|
|
109
|
-
color: string;
|
|
110
|
-
index: number;
|
|
111
|
-
/** Sum of every plotted value. */
|
|
112
|
-
total: number;
|
|
113
|
-
/** This slice's share of the total, 0–100. */
|
|
114
|
-
percent: number;
|
|
115
|
-
};
|
|
116
|
-
export type PieChartProps = {
|
|
117
|
-
/** All data comes from outside — the component is presentational. */
|
|
118
|
-
data: PieChartDatum[];
|
|
119
|
-
title?: React.ReactNode;
|
|
120
|
-
/** Muted text after the title, e.g. "(Top 8 of 100+)". */
|
|
121
|
-
titleSuffix?: React.ReactNode;
|
|
122
|
-
description?: React.ReactNode;
|
|
123
|
-
/** Icon shown beside the title (e.g. a lucide-react element). */
|
|
124
|
-
icon?: React.ReactNode;
|
|
125
|
-
/** Controls rendered on the right of the header (expand button, menu…). */
|
|
126
|
-
headerActions?: React.ReactNode;
|
|
127
|
-
/**
|
|
128
|
-
* The one colour the whole chart is built from. Each slice gets a lighter or
|
|
129
|
-
* stronger shade of it depending on its value — see `shadeMode`.
|
|
130
|
-
*/
|
|
131
|
-
color?: string;
|
|
132
|
-
/** Default "rank". */
|
|
133
|
-
shadeMode?: PieShadeMode;
|
|
134
|
-
center?: PieChartCenterConfig;
|
|
135
|
-
legend?: PieChartLegendConfig;
|
|
136
|
-
tooltip?: PieChartTooltipConfig;
|
|
137
|
-
config?: PieChartConfig;
|
|
138
|
-
style?: PieChartStyle;
|
|
139
|
-
/** Formats values in the centre, legend and tooltip. */
|
|
140
|
-
valueFormatter?: (value: number, datum?: PieChartDatum) => React.ReactNode;
|
|
141
|
-
loading?: boolean;
|
|
142
|
-
/** Node shown when no slice carries a value. Falls back to a built-in state. */
|
|
143
|
-
emptyState?: React.ReactNode;
|
|
144
|
-
onSliceClick?: (ctx: PieChartInteractionContext) => void;
|
|
145
|
-
};
|
|
146
|
-
/** Base colour used when the consumer doesn't pass one. */
|
|
147
|
-
export declare const DEFAULT_PIE_COLOR = "#1e1b4b";
|
|
148
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/ExecutiveDashboard/components/PieChart/types.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { PieChartDatum, PieShadeMode } from "./types";
|
|
2
|
-
/**
|
|
3
|
-
* Colour helpers are shared with BarChart so a dashboard's bar and pie cards
|
|
4
|
-
* shade the same base colour identically.
|
|
5
|
-
*/
|
|
6
|
-
export { parseColor, withIntensity, withAlpha, darken } from "../BarChart/utils";
|
|
7
|
-
/** Only positive, finite values can be drawn as a slice. */
|
|
8
|
-
export declare const isPlottableSlice: (value: number | null | undefined) => value is number;
|
|
9
|
-
/**
|
|
10
|
-
* Spreads one base colour across the slices — the largest keeps the colour at
|
|
11
|
-
* full strength, smaller ones step down into lighter tints of the same hue.
|
|
12
|
-
*/
|
|
13
|
-
export declare function resolveSliceColors(data: PieChartDatum[], baseColor?: string, mode?: PieShadeMode, shadeRange?: [number, number]): string[];
|
|
14
|
-
/** Sum of every plottable slice value. */
|
|
15
|
-
export declare function sumSlices(data: PieChartDatum[]): number;
|
|
16
|
-
/** `value` as a share of `total`, 0–100. Guards the empty-chart divide-by-zero. */
|
|
17
|
-
export declare function percentOf(value: number, total: number): number;
|
|
18
|
-
/**
|
|
19
|
-
* Keeps the `limit` largest slices and rolls the rest into a single bucket —
|
|
20
|
-
* the "Top 8 of 100+" pattern. The bucket's label reports how many slices it
|
|
21
|
-
* absorbed, and it can be pinned to a fixed colour so it always reads as the
|
|
22
|
-
* catch-all.
|
|
23
|
-
*/
|
|
24
|
-
export declare function groupTopSlices(data: PieChartDatum[], options: {
|
|
25
|
-
limit: number;
|
|
26
|
-
/** `{count}` is replaced with the number of grouped slices. */
|
|
27
|
-
othersLabel?: string;
|
|
28
|
-
othersColor?: string;
|
|
29
|
-
}): PieChartDatum[];
|
|
30
|
-
/**
|
|
31
|
-
* Maps arbitrary API rows onto `PieChartDatum[]` — for when the get-data
|
|
32
|
-
* response is a list of records rather than the chart's own shape.
|
|
33
|
-
*/
|
|
34
|
-
export declare function toPieChartData<T extends Record<string, any>>(rows: T[] | undefined | null, options: {
|
|
35
|
-
labelKey: keyof T;
|
|
36
|
-
valueKey: keyof T;
|
|
37
|
-
colorKey?: keyof T;
|
|
38
|
-
}): PieChartDatum[];
|
|
39
|
-
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/ExecutiveDashboard/components/PieChart/utils.ts"],"names":[],"mappings":"AACA,OAAO,EAAqB,aAAa,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEzE;;;GAGG;AACH,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAEjF,4DAA4D;AAC5D,eAAO,MAAM,gBAAgB,UAAW,MAAM,GAAG,IAAI,GAAG,SAAS,oBACC,CAAC;AAEnE;;;GAGG;AACH,wBAAgB,kBAAkB,CAChC,IAAI,EAAE,aAAa,EAAE,EACrB,SAAS,GAAE,MAA0B,EACrC,IAAI,GAAE,YAAqB,EAC3B,UAAU,GAAE,CAAC,MAAM,EAAE,MAAM,CAAa,GACvC,MAAM,EAAE,CAEV;AAED,0CAA0C;AAC1C,wBAAgB,SAAS,CAAC,IAAI,EAAE,aAAa,EAAE,GAAG,MAAM,CAKvD;AAED,mFAAmF;AACnF,wBAAgB,SAAS,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAE9D;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,CAC5B,IAAI,EAAE,aAAa,EAAE,EACrB,OAAO,EAAE;IACP,KAAK,EAAE,MAAM,CAAC;IACd,+DAA+D;IAC/D,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,GACA,aAAa,EAAE,CAoBjB;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAC1D,IAAI,EAAE,CAAC,EAAE,GAAG,SAAS,GAAG,IAAI,EAC5B,OAAO,EAAE;IAAE,QAAQ,EAAE,MAAM,CAAC,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;IAAC,QAAQ,CAAC,EAAE,MAAM,CAAC,CAAA;CAAE,GACpE,aAAa,EAAE,CAejB"}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from "react";
|
|
2
|
-
import "./Accordion.css";
|
|
3
|
-
type RootProps = {
|
|
4
|
-
type?: "single" | "multiple";
|
|
5
|
-
defaultValue?: string | string[];
|
|
6
|
-
children: ReactNode;
|
|
7
|
-
className?: string;
|
|
8
|
-
};
|
|
9
|
-
type ItemProps = {
|
|
10
|
-
value: string;
|
|
11
|
-
children: ReactNode;
|
|
12
|
-
className?: string;
|
|
13
|
-
};
|
|
14
|
-
type HeaderProps = {
|
|
15
|
-
children: ReactNode;
|
|
16
|
-
className?: string;
|
|
17
|
-
};
|
|
18
|
-
type TriggerProps = {
|
|
19
|
-
children?: ReactNode;
|
|
20
|
-
className?: string;
|
|
21
|
-
};
|
|
22
|
-
type ContentProps = {
|
|
23
|
-
children: ReactNode;
|
|
24
|
-
className?: string;
|
|
25
|
-
};
|
|
26
|
-
export declare const Accordion: {
|
|
27
|
-
Root: ({ type, defaultValue, children, className }: RootProps) => import("react/jsx-runtime").JSX.Element;
|
|
28
|
-
Item: ({ value, children, className }: ItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
29
|
-
Header: ({ children, className }: HeaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
30
|
-
Trigger: ({ children, className }: TriggerProps) => import("react/jsx-runtime").JSX.Element;
|
|
31
|
-
Content: ({ children, className }: ContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
32
|
-
};
|
|
33
|
-
export {};
|
|
34
|
-
//# sourceMappingURL=Accordion.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Accordion.d.ts","sourceRoot":"","sources":["../../../../../src/ExecutiveDashboard/components/common/Accordion.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAuC,SAAS,EAAE,MAAM,OAAO,CAAC;AAC9E,OAAO,iBAAiB,CAAC;AAmCzB,KAAK,SAAS,GAAG;IACf,IAAI,CAAC,EAAE,QAAQ,GAAG,UAAU,CAAC;IAC7B,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IACjC,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AA+BF,KAAK,SAAS,GAAG;IACf,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAaF,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAMF,KAAK,YAAY,GAAG;IAClB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAmBF,KAAK,YAAY,GAAG;IAClB,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAgBF,eAAO,MAAM,SAAS;wDAhGuD,SAAS;2CAmCnC,SAAS;sCAgBd,WAAW;uCASV,YAAY;uCAsBZ,YAAY;CAoB1D,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
/**
|
|
3
|
-
* Custom hook that manages polling intervals with automatic pause/resume
|
|
4
|
-
* based on browser tab visibility state. This prevents unnecessary resource
|
|
5
|
-
* consumption when the tab is inactive.
|
|
6
|
-
*
|
|
7
|
-
* @param interval - The polling interval in milliseconds
|
|
8
|
-
* @param callback - The callback function to execute on each poll
|
|
9
|
-
* @param dependencies - React dependency array for the effect
|
|
10
|
-
*/
|
|
11
|
-
export declare function useVisibilityPolling(pollingEnabled: boolean | undefined, interval: number, callback: () => void, dependencies: React.DependencyList): void;
|
|
12
|
-
//# sourceMappingURL=useVisibilityPolling.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useVisibilityPolling.d.ts","sourceRoot":"","sources":["../../../../src/ExecutiveDashboard/hooks/useVisibilityPolling.ts"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAEjD;;;;;;;;GAQG;AACH,wBAAgB,oBAAoB,CAClC,cAAc,qBAAiB,EAC/B,QAAQ,EAAE,MAAM,EAChB,QAAQ,EAAE,MAAM,IAAI,EACpB,YAAY,EAAE,KAAK,CAAC,cAAc,GACjC,IAAI,CAmDN"}
|