@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,2 +0,0 @@
|
|
|
1
|
-
import{useRef as n,useEffect as t}from"react";function i(i,e,r,u){void 0===i&&(i=!1);var c=n(null),o=function(){c.current=window.setInterval(r,e)},l=function(){null!==c.current&&(clearTimeout(c.current),c.current=null)},v=function(){"hidden"===document.visibilityState?l():"visible"===document.visibilityState&&i&&o()};t(function(){return i&&o(),document.addEventListener("visibilitychange",v),function(){document.removeEventListener("visibilitychange",v),l()}},u)}export{i as useVisibilityPolling};
|
|
2
|
-
//# sourceMappingURL=useVisibilityPolling.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useVisibilityPolling.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var l=require("../../../_virtual/_tslib.js"),e=require("react/jsx-runtime"),i=require("react"),n=require("recharts"),a=require("../ui/chart.js"),t=require("../../utils/index.js"),r=require("./BarChartEmptyState.js"),o=require("./BarChartSkeleton.js"),s=require("./BarChartTooltip.js"),u=require("./types.js"),d=require("./utils.js"),c=function(l){return"number"==typeof l&&Number.isFinite(l)};function v(i){var n,a,t,r=i.x,o=i.y,s=i.payload,u=i.fill,c=i.maxChars,v=i.maxLines,h=i.axis,m=i.formatTick,_=m?m(String(null!==(n=null==s?void 0:s.value)&&void 0!==n?n:""),null!==(a=null==s?void 0:s.index)&&void 0!==a?a:0):String(null!==(t=null==s?void 0:s.value)&&void 0!==t?t:""),f=d.wrapLabel(_,c,v),x="x"===h,b=x?12:-13*(f.length-1)/2+4;return e.jsx("text",l.__assign({x:r,y:o,fill:u,fontSize:11,textAnchor:x?"middle":"end",className:"ellm-bar-chart__tick"},{children:f.map(function(i,n){return e.jsx("tspan",l.__assign({x:r,dy:0===n?b:13},{children:i}),n)})}))}exports.default=function(h){var m,_,f,x,b,g,p,y,j,k,C,M,N,A=h.data,L=h.title,S=h.description,w=h.icon,B=h.headerActions,z=h.color,F=void 0===z?u.DEFAULT_BAR_COLOR:z,q=h.shadeMode,T=void 0===q?"rank":q,G=h.yAxisLabel,O=h.xAxisLabel,R=h.xAxis,V=h.yAxis,E=h.tooltip,W=h.legend,H=h.config,D=h.style,I=h.valueFormatter,K=h.loading,X=h.emptyState,Y=h.onBarClick,P=i.useState(null),U=P[0],Z=P[1],J=null!==(m=null==D?void 0:D.chartHeight)&&void 0!==m?m:300,Q=null!==(_=null==D?void 0:D.gridColor)&&void 0!==_?_:"#eef0f4",$=null!==(f=null==D?void 0:D.axisColor)&&void 0!==f?f:"#d7dbe3",ll=null!==(x=null==D?void 0:D.axisLabelColor)&&void 0!==x?x:"#6b7280",el=null!==(b=null==D?void 0:D.tickColor)&&void 0!==b?b:"#9ca3af",il=null!==(g=null==D?void 0:D.fontFamily)&&void 0!==g?g:"Inter, system-ui, -apple-system, sans-serif",nl="horizontal"===(null==H?void 0:H.orientation),al=null!==(p=null==H?void 0:H.showValueLabels)&&void 0!==p&&p,tl=!1!==(null==H?void 0:H.highlightOnHover),rl=!1!==(null==H?void 0:H.animate),ol=!1!==(null==H?void 0:H.showHeader),sl=null!==(y=null==H?void 0:H.sortBy)&&void 0!==y?y:"none",ul=l.__assign({label:O},R),dl=l.__assign({label:G},V),cl=i.useMemo(function(){var e=null!=A?A:[];if("none"===sl)return e;var i="asc"===sl?1:-1;return l.__spreadArray([],e,!0).sort(function(l,e){var n,a;return((null!==(n=l.value)&&void 0!==n?n:-1/0)-(null!==(a=e.value)&&void 0!==a?a:-1/0))*i})},[A,sl]),vl=i.useMemo(function(){return d.resolveBarColors(cl,F,T,null==D?void 0:D.shadeRange)},[cl,F,T,null==D?void 0:D.shadeRange]),hl=i.useMemo(function(){return d.sumValues(cl)},[cl]),ml=i.useMemo(function(){return cl.map(function(l,e){return{label:l.label,value:l.value,__index:e}})},[cl]),_l=i.useMemo(function(){return cl.some(function(l){return c(l.value)})},[cl]),fl=i.useMemo(function(){var l=cl.map(function(l){return l.value}).filter(c);return l.length?Math.max.apply(Math,l):0},[cl]),xl=[null!=dl.min?dl.min:!1!==dl.beginAtZero?0:"auto",null!=dl.max?dl.max:fl>0?Math.ceil(1.1*fl):"auto"],bl=i.useMemo(function(){return{value:{label:"Value",color:F}}},[F]),gl=function(l){var e=cl[l];return e&&c(e.value)?{datum:e,value:e.value,color:vl[l],index:l,total:hl}:null},pl=function(l){if(Y){var e=gl(l);e&&Y(e)}},yl=function(l,e){var i=null==I?void 0:I(l,e);return"string"==typeof i||"number"==typeof i?String(i):t.compactNumber(l)},jl=function(i){var n,a=i.x,t=i.y,r=i.width,o=i.height,s=i.index,u=cl[s];if(!u||!c(u.value))return e.jsx("g",{});var d=tl&&null!==U&&U!==s,v=nl?a+r+6:a+r/2,h=nl?t+o/2+4:t-7;return e.jsx("text",l.__assign({x:v,y:h,textAnchor:nl?"start":"middle",className:"ellm-bar-chart__value-label",opacity:d?null!==(n=null==D?void 0:D.dimOpacity)&&void 0!==n?n:.45:1},{children:yl(u.value,u)}))},kl=null!==(j=null==D?void 0:D.barRadius)&&void 0!==j?j:6,Cl=nl?[0,kl,kl,0]:[kl,kl,0,0],Ml={dataKey:"label",type:"category",hide:!1===ul.show,tickLine:!1,axisLine:!ul.hideLine&&{stroke:$},tickMargin:8,interval:null!==(k=ul.interval)&&void 0!==k?k:0,tick:function(i){var n,a;return e.jsx(v,l.__assign({},i,{fill:el,maxChars:null!==(n=ul.tickMaxChars)&&void 0!==n?n:14,maxLines:null!==(a=ul.tickMaxLines)&&void 0!==a?a:2,axis:nl?"y":"x",formatTick:ul.formatTick}))}},Nl={type:"number",hide:!1===dl.show,domain:xl,tickLine:!1,axisLine:!1===dl.hideLine&&{stroke:$},tickCount:dl.tickCount,tick:{fill:el,fontSize:11},tickFormatter:function(l){return dl.formatTick?dl.formatTick(Number(l),0):"number"==typeof l?t.compactNumber(l):String(l)}},Al=null!==(C=dl.width)&&void 0!==C?C:dl.label?64:48,Ll={top:al?24:12,right:nl&&al?48:16,bottom:!nl&&ul.label?24:8,left:0},Sl=null!==(M=null==D?void 0:D.cursorFill)&&void 0!==M?M:d.withAlpha(F,.06),wl=L||S||w||B;return e.jsxs("div",l.__assign({className:"ellm-bar-chart".concat((null==D?void 0:D.className)?" ".concat(D.className):""),style:null==D?void 0:D.container},{children:[ol&&wl&&e.jsxs("div",l.__assign({className:"ellm-bar-chart__header"},{children:[e.jsxs("div",l.__assign({className:"ellm-bar-chart__heading"},{children:[w&&e.jsx("span",l.__assign({className:"ellm-bar-chart__icon"},{children:w})),e.jsxs("div",{children:[L&&e.jsx("div",l.__assign({className:"ellm-bar-chart__title"},{children:L})),S&&e.jsx("div",l.__assign({className:"ellm-bar-chart__description"},{children:S}))]})]})),B&&e.jsx("div",l.__assign({className:"ellm-bar-chart__actions"},{children:B}))]})),K?e.jsx(o.default,{height:J,bars:Math.max(cl.length||6,3)}):_l?e.jsxs(e.Fragment,{children:[e.jsx(a.ChartContainer,l.__assign({config:bl,style:{height:J,fontFamily:il}},{children:function(){var i,t,r;return e.jsxs(n.BarChart,l.__assign({accessibilityLayer:!0,data:ml,margin:Ll,layout:nl?"vertical":"horizontal",barCategoryGap:null!==(i=null==D?void 0:D.barCategoryGap)&&void 0!==i?i:"28%",onMouseMove:function(l){var e=(null==l?void 0:l.isTooltipActive)?l.activeTooltipIndex:null;Z("number"==typeof e?e:null)},onMouseLeave:function(){return Z(null)}},{children:[e.jsx(n.CartesianGrid,{horizontal:nl?!!(null==D?void 0:D.showVerticalGrid):!1!==(null==D?void 0:D.showGrid),vertical:nl?!1!==(null==D?void 0:D.showGrid):!!(null==D?void 0:D.showVerticalGrid),stroke:Q}),nl?e.jsxs(e.Fragment,{children:[e.jsx(n.XAxis,l.__assign({},Nl,{height:dl.label?48:void 0,label:dl.label?{value:dl.label,position:"insideBottom",offset:-4,fill:ll,fontSize:12,fontWeight:500}:void 0})),e.jsx(n.YAxis,l.__assign({},Ml,{width:ul.tickMaxChars?7*ul.tickMaxChars:96}))]}):e.jsxs(e.Fragment,{children:[e.jsx(n.XAxis,l.__assign({},Ml,{height:ul.label?64:44,label:ul.label?{value:ul.label,position:"insideBottom",offset:0,fill:ll,fontSize:12,fontWeight:500}:void 0})),e.jsx(n.YAxis,l.__assign({},Nl,{width:Al,label:dl.label?{value:dl.label,angle:-90,position:"insideLeft",style:{textAnchor:"middle"},fill:ll,fontSize:12,fontWeight:500}:void 0}))]}),!1!==(null==E?void 0:E.enabled)&&e.jsx(a.ChartTooltip,{cursor:{fill:Sl,radius:6},content:function(l){var i,n,a,t=null===(a=null===(n=null===(i=null==l?void 0:l.payload)||void 0===i?void 0:i[0])||void 0===n?void 0:n.payload)||void 0===a?void 0:a.__index,r="number"==typeof t?gl(t):null;return r?(null==E?void 0:E.render)?e.jsx(e.Fragment,{children:E.render(r)}):e.jsx(s.default,{ctx:r,config:E,valueFormatter:I}):null}}),e.jsx(n.Bar,l.__assign({dataKey:"value",radius:Cl,maxBarSize:null!==(r=null!==(t=null==D?void 0:D.barSize)&&void 0!==t?t:null==D?void 0:D.maxBarSize)&&void 0!==r?r:56,barSize:null==D?void 0:D.barSize,isAnimationActive:rl,animationDuration:600,onClick:function(l,e){return pl(e)},onMouseEnter:function(l,e){return Z(e)},className:Y?"ellm-bar-chart__bar--clickable":void 0,label:al?jl:void 0},{children:ml.map(function(l,i){var a,t=U===i,r=tl&&null!==U&&!t;return e.jsx(n.Cell,{className:"ellm-bar-chart__bar",fill:vl[i],fillOpacity:r?null!==(a=null==D?void 0:D.dimOpacity)&&void 0!==a?a:.45:1,stroke:t?d.darken(vl[i],.22):void 0,strokeWidth:t?1.5:0},"".concat(l.label,"-").concat(i))})}))]}))}()})),(null==W?void 0:W.show)&&e.jsx("div",l.__assign({className:"ellm-bar-chart__legend ellm-bar-chart__legend--".concat(null!==(N=W.align)&&void 0!==N?N:"center")},{children:cl.map(function(i,n){return e.jsxs("button",l.__assign({type:"button",className:"ellm-bar-chart__legend-item".concat(null!==U&&U!==n?" ellm-bar-chart__legend-item--off":""),onMouseEnter:function(){return Z(n)},onMouseLeave:function(){return Z(null)},onFocus:function(){return Z(n)},onBlur:function(){return Z(null)},onClick:function(){return pl(n)}},{children:[e.jsx("span",{className:"ellm-bar-chart__legend-swatch",style:{background:vl[n]}}),i.label]}),"".concat(i.label,"-").concat(n))})}))]}):e.jsx("div",l.__assign({className:"ellm-bar-chart__empty"},{children:null!=X?X:e.jsx(r.default,{})}))]}))};
|
|
2
|
-
//# sourceMappingURL=BarChart.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BarChart.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),r=require("react/jsx-runtime"),a=require("lucide-react");exports.default=function(s){var t=s.title,i=void 0===t?"No data to display":t,l=s.description,d=void 0===l?"There's no data for the selected date range and filters. Try adjusting your filters or picking a different range.":l;return r.jsxs("div",e.__assign({className:"ellm-bar-chart__empty-default"},{children:[r.jsx("span",e.__assign({className:"ellm-bar-chart__empty-icon"},{children:r.jsx(a.BarChart3,{size:22})})),r.jsx("div",e.__assign({className:"ellm-bar-chart__empty-title"},{children:i})),r.jsx("div",e.__assign({className:"ellm-bar-chart__empty-desc"},{children:d}))]}))};
|
|
2
|
-
//# sourceMappingURL=BarChartEmptyState.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BarChartEmptyState.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),a=require("react/jsx-runtime");exports.default=function(s){var r=s.height,l=void 0===r?300:r,t=s.bars,i=void 0===t?6:t,n=[34,46,88,68,58,40,76,52];return a.jsxs("div",e.__assign({className:"ellm-bar-chart__skeleton","aria-busy":"true","aria-live":"polite",style:{height:l}},{children:[a.jsx("div",e.__assign({className:"ellm-bar-chart__skeleton-yaxis"},{children:[0,1,2,3,4].map(function(e){return a.jsx("span",{className:"ellm-bar-chart__skeleton-tick ellm-bar-chart__shimmer"},e)})})),a.jsxs("div",e.__assign({className:"ellm-bar-chart__skeleton-plot"},{children:[a.jsx("div",e.__assign({className:"ellm-bar-chart__skeleton-grid"},{children:[0,1,2,3,4].map(function(e){return a.jsx("span",{className:"ellm-bar-chart__skeleton-gridline"},e)})})),a.jsx("div",e.__assign({className:"ellm-bar-chart__skeleton-bars"},{children:Array.from({length:i}).map(function(e,s){return a.jsx("span",{className:"ellm-bar-chart__skeleton-bar ellm-bar-chart__shimmer",style:{height:"".concat(n[s%n.length],"%")}},s)})})),a.jsx("div",e.__assign({className:"ellm-bar-chart__skeleton-xaxis"},{children:Array.from({length:i}).map(function(e,s){return a.jsx("span",{className:"ellm-bar-chart__skeleton-tick ellm-bar-chart__shimmer"},s)})}))]}))]}))};
|
|
2
|
-
//# sourceMappingURL=BarChartSkeleton.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BarChartSkeleton.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var a=require("../../../_virtual/_tslib.js"),l=require("react/jsx-runtime");exports.default=function(e){var s,t=e.ctx,r=e.config,i=e.valueFormatter,o=t.datum,n=t.value,c=t.color,_=t.total,d=null!==(s=null==r?void 0:r.formatValue)&&void 0!==s?s:i,u=d?d(n,o):n,m=_>0?n/_*100:0;return l.jsxs("div",a.__assign({className:"ellm-bar-chart__tooltip"},{children:[!1!==(null==r?void 0:r.showHeading)&&l.jsxs("div",a.__assign({className:"ellm-bar-chart__tooltip-heading"},{children:[l.jsx("span",{className:"ellm-bar-chart__tooltip-swatch",style:{background:c}}),l.jsx("span",a.__assign({className:"ellm-bar-chart__tooltip-label"},{children:(null==r?void 0:r.formatHeading)?r.formatHeading(o.label):o.label}))]})),l.jsx("div",a.__assign({className:"ellm-bar-chart__tooltip-value"},{children:u})),(null==r?void 0:r.showShare)&&_>0&&l.jsxs("div",a.__assign({className:"ellm-bar-chart__tooltip-share"},{children:[m.toFixed(1),"% of total"]}))]}))};
|
|
2
|
-
//# sourceMappingURL=BarChartTooltip.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BarChartTooltip.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var r=require("./types.js"),n=function(r,n,t){return Math.min(t,Math.max(n,r))};function t(r){var n=r.trim();if(n.startsWith("#")){var t=n.slice(1);if(3===t.length||4===t.length){var e=t.slice(0,3).split(""),a=e[0],u=e[1],o=e[2];return{r:parseInt(a+a,16),g:parseInt(u+u,16),b:parseInt(o+o,16)}}return 6===t.length||8===t.length?{r:parseInt(t.slice(0,2),16),g:parseInt(t.slice(2,4),16),b:parseInt(t.slice(4,6),16)}:null}var l=n.match(/^rgba?\(\s*(\d+)\s*[,\s]\s*(\d+)\s*[,\s]\s*(\d+)/i);return l?{r:Number(l[1]),g:Number(l[2]),b:Number(l[3])}:null}function e(r,e){var a=t(r);if(!a)return r;var u=n(e,0,1),o=function(r){return Math.round(r+(255-r)*(1-u))};return"rgb(".concat(o(a.r),", ").concat(o(a.g),", ").concat(o(a.b),")")}exports.darken=function(r,e){void 0===e&&(e=.18);var a=t(r);if(!a)return r;var u=n(1-e,0,1);return"rgb(".concat(Math.round(a.r*u),", ").concat(Math.round(a.g*u),", ").concat(Math.round(a.b*u),")")},exports.parseColor=t,exports.resolveBarColors=function(n,t,a,u){void 0===t&&(t=r.DEFAULT_BAR_COLOR),void 0===a&&(a="rank"),void 0===u&&(u=[.22,1]);var o=u[0],l=u[1];if("none"===a)return n.map(function(r){var n;return null!==(n=r.color)&&void 0!==n?n:t});var i=n.map(function(r){return"number"==typeof r.value&&Number.isFinite(r.value)?r.value:null}),c=i.filter(function(r){return null!=r});if(0===c.length)return n.map(function(r){var n;return null!==(n=r.color)&&void 0!==n?n:t});var s,v=Math.min.apply(Math,c),f=Math.max.apply(Math,c);if("value"===a){var p=f-v;s=i.map(function(r){return null==r?o:0===p?l:o+(r-v)/p*(l-o)})}else{var h=Array.from(new Set(c)).sort(function(r,n){return r-n}),m=Math.max(h.length-1,1);s=i.map(function(r){if(null==r)return o;var n=h.indexOf(r);return 1===h.length?l:o+n/m*(l-o)})}return n.map(function(r,n){var a;return null!==(a=r.color)&&void 0!==a?a:e(t,s[n])})},exports.sumValues=function(r){return r.reduce(function(r,n){return"number"==typeof n.value&&Number.isFinite(n.value)?r+n.value:r},0)},exports.toBarChartData=function(r,n){if(!(null==r?void 0:r.length))return[];var t=n.labelKey,e=n.valueKey,a=n.colorKey;return r.map(function(r){var n,u=r[e],o="string"==typeof u?Number(u):u;return{label:String(null!==(n=r[t])&&void 0!==n?n:""),value:"number"==typeof o&&Number.isFinite(o)?o:null,color:a?r[a]:void 0,meta:r}})},exports.withAlpha=function(r,e){var a=t(r);return a?"rgba(".concat(a.r,", ").concat(a.g,", ").concat(a.b,", ").concat(n(e,0,1),")"):r},exports.withIntensity=e,exports.wrapLabel=function(r,n,t){var e=String(r).split(/\s+/).filter(Boolean).flatMap(function(r){var t;return r.length>n&&null!==(t=r.match(new RegExp(".{1,".concat(n,"}"),"g")))&&void 0!==t?t:[r]});if(0===e.length)return[""];var a=[],u="";if(e.forEach(function(r){var t=u?"".concat(u," ").concat(r):r;t.length<=n||!u?u=t:(a.push(u),u=r)}),u&&a.push(u),a.length<=t)return a;var o=a.slice(0,t);return o[t-1]="".concat(o[t-1].slice(0,Math.max(n-1,1)),"…"),o};
|
|
2
|
-
//# sourceMappingURL=utils.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),r=require("react/jsx-runtime");exports.default=function(s){var t=s.style,u=s.pulse;return r.jsx("div",{className:" ".concat(u&&"pulse"),style:e.__assign({flex:1,height:"1px",backgroundColor:"#e5e7eb"},t)})};
|
|
2
|
-
//# sourceMappingURL=Seperator.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Seperator.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),l=require("react/jsx-runtime"),n=require("react"),i=require("recharts"),a=require("../ui/chart.js"),t=require("../../utils/index.js"),s=require("./PieChartEmptyState.js"),r=require("./PieChartSkeleton.js"),o=require("./PieChartTooltip.js"),u=require("./types.js"),c=require("./utils.js");exports.default=function(d){var v,_,h,m,p,g,f,x,j=d.data,y=d.title,b=d.titleSuffix,N=d.description,C=d.icon,M=d.headerActions,R=d.color,S=void 0===R?u.DEFAULT_PIE_COLOR:R,q=d.shadeMode,A=void 0===q?"rank":q,P=d.center,w=d.legend,O=d.tooltip,k=d.config,F=d.style,H=d.valueFormatter,E=d.loading,L=d.emptyState,T=d.onSliceClick,D=n.useState(null),I=D[0],B=D[1],K=null!==(v=null==F?void 0:F.chartHeight)&&void 0!==v?v:260,V=null!==(_=null==F?void 0:F.fontFamily)&&void 0!==_?_:"Inter, system-ui, -apple-system, sans-serif",U="donut"===(null!==(h=null==k?void 0:k.variant)&&void 0!==h?h:"donut"),Y=!1!==(null==k?void 0:k.showHeader),z=!1!==(null==k?void 0:k.highlightOnHover),G=!1!==(null==k?void 0:k.animate),J=null!==(m=null==k?void 0:k.sortBy)&&void 0!==m?m:"desc",Q=null!==(p=null==w?void 0:w.position)&&void 0!==p?p:"right",W=!1!==(null==w?void 0:w.show),X=n.useMemo(function(){var l=(null!=j?j:[]).filter(function(e){return c.isPlottableSlice(e.value)});if("none"===J)return l;var n="asc"===J?1:-1;return e.__spreadArray([],l,!0).sort(function(e,l){return(e.value-l.value)*n})},[j,J]),Z=n.useMemo(function(){return c.resolveSliceColors(X,S,A,null==F?void 0:F.shadeRange)},[X,S,A,null==F?void 0:F.shadeRange]),$=n.useMemo(function(){return c.sumSlices(X)},[X]),ee=n.useMemo(function(){return X.map(function(e,l){return{label:e.label,value:e.value,__index:l}})},[X]),le=n.useMemo(function(){return{value:{label:"Value",color:S}}},[S]),ne=function(e){var l=X[e];return l&&c.isPlottableSlice(l.value)?{datum:l,value:l.value,color:Z[e],index:e,total:$,percent:c.percentOf(l.value,$)}:null},ie=function(e){if(T){var l=ne(e);l&&T(l)}},ae=function(e,l){return H?H(e,l):t.compactNumber(e)},te=function(e){var l;return"".concat(c.percentOf(e,$).toFixed(null!==(l=null==w?void 0:w.percentDecimals)&&void 0!==l?l:0),"%")},se=null!=I?X[I]:void 0,re=!1!==(null==P?void 0:P.followHover),oe=U&&!1!==(null==P?void 0:P.show),ue=se&&re?ae(se.value,se):null!==(g=null==P?void 0:P.value)&&void 0!==g?g:ae($),ce=se&&re?se.label:null!==(f=null==P?void 0:P.label)&&void 0!==f?f:"Total",de=X.length>0,ve=null!==(x=null==F?void 0:F.activeOffset)&&void 0!==x?x:6,_e=y||N||C||M;return l.jsxs("div",e.__assign({className:"ellm-pie-chart".concat((null==F?void 0:F.className)?" ".concat(F.className):""),style:null==F?void 0:F.container},{children:[Y&&_e&&l.jsxs("div",e.__assign({className:"ellm-pie-chart__header"},{children:[l.jsxs("div",e.__assign({className:"ellm-pie-chart__heading"},{children:[C&&l.jsx("span",e.__assign({className:"ellm-pie-chart__icon"},{children:C})),l.jsxs("div",{children:[y&&l.jsxs("div",e.__assign({className:"ellm-pie-chart__title"},{children:[y,b&&l.jsx("span",e.__assign({className:"ellm-pie-chart__title-suffix"},{children:b}))]})),N&&l.jsx("div",e.__assign({className:"ellm-pie-chart__description"},{children:N}))]})]})),M&&l.jsx("div",e.__assign({className:"ellm-pie-chart__actions"},{children:M}))]})),E?l.jsx(r.default,{height:K,rows:Math.max(X.length||6,3),legendPosition:Q}):de?l.jsxs("div",e.__assign({className:"ellm-pie-chart__body ellm-pie-chart__body--".concat(Q)},{children:[l.jsxs("div",e.__assign({className:"ellm-pie-chart__plot",style:{height:K}},{children:[l.jsx(a.ChartContainer,e.__assign({config:le,style:{height:K,fontFamily:V}},{children:function(){var n,t,s,r,u,c,d;return l.jsxs(i.PieChart,e.__assign({margin:{top:4,right:4,bottom:4,left:4}},{children:[!1!==(null==O?void 0:O.enabled)&&l.jsx(a.ChartTooltip,{content:function(e){var n,i,a,t=null===(a=null===(i=null===(n=null==e?void 0:e.payload)||void 0===n?void 0:n[0])||void 0===i?void 0:i.payload)||void 0===a?void 0:a.__index,s="number"==typeof t?ne(t):null;return s?(null==O?void 0:O.render)?l.jsx(l.Fragment,{children:O.render(s)}):l.jsx(o.default,{ctx:s,config:O,valueFormatter:H}):null}}),l.jsx(i.Pie,e.__assign({data:ee,dataKey:"value",nameKey:"label",cx:"50%",cy:"50%",innerRadius:U?null!==(n=null==F?void 0:F.innerRadius)&&void 0!==n?n:"55%":0,outerRadius:null!==(t=null==F?void 0:F.outerRadius)&&void 0!==t?t:"85%",paddingAngle:null!==(s=null==F?void 0:F.paddingAngle)&&void 0!==s?s:0,cornerRadius:null!==(r=null==F?void 0:F.cornerRadius)&&void 0!==r?r:0,startAngle:null!==(u=null==k?void 0:k.startAngle)&&void 0!==u?u:90,endAngle:(null!==(c=null==k?void 0:k.startAngle)&&void 0!==c?c:90)-360,stroke:"none",isAnimationActive:G,animationDuration:600,activeIndex:null!=I?I:void 0,activeShape:(d=ve,function(n){var a=n.outerRadius,t=void 0===a?0:a,s=e.__rest(n,["outerRadius"]);return l.jsx(i.Sector,e.__assign({},s,{outerRadius:t+d}))}),onMouseEnter:function(e,l){return B(l)},onMouseLeave:function(){return B(null)},onClick:function(e,l){return ie(l)},className:T?"ellm-pie-chart__pie--clickable":void 0},{children:ee.map(function(e,n){var a,t=z&&null!==I&&I!==n;return l.jsx(i.Cell,{className:"ellm-pie-chart__slice",fill:Z[n],fillOpacity:t?null!==(a=null==F?void 0:F.dimOpacity)&&void 0!==a?a:.45:1},"".concat(e.label,"-").concat(n))})}))]}))}()})),oe&&l.jsxs("div",e.__assign({className:"ellm-pie-chart__center","aria-hidden":!0},{children:[l.jsx("div",e.__assign({className:"ellm-pie-chart__center-value"},{children:ue})),l.jsx("div",e.__assign({className:"ellm-pie-chart__center-label"},{children:ce}))]}))]})),W&&l.jsx("div",e.__assign({className:"ellm-pie-chart__legend",style:(null==w?void 0:w.maxHeight)?{maxHeight:w.maxHeight,overflowY:"auto"}:void 0},{children:X.map(function(n,i){return l.jsxs("button",e.__assign({type:"button",className:"ellm-pie-chart__legend-row".concat(null!==I&&I!==i?" ellm-pie-chart__legend-row--off":""),onMouseEnter:function(){return B(i)},onMouseLeave:function(){return B(null)},onFocus:function(){return B(i)},onBlur:function(){return B(null)},onClick:function(){return ie(i)}},{children:[l.jsx("span",{className:"ellm-pie-chart__legend-dot",style:{background:Z[i]}}),l.jsx("span",e.__assign({className:"ellm-pie-chart__legend-label",title:n.label},{children:n.label})),!1!==(null==w?void 0:w.showValue)&&l.jsx("span",e.__assign({className:"ellm-pie-chart__legend-value"},{children:ae(n.value,n)})),!1!==(null==w?void 0:w.showPercent)&&l.jsx("span",e.__assign({className:"ellm-pie-chart__legend-percent"},{children:te(n.value)}))]}),"".concat(n.label,"-").concat(i))})}))]})):l.jsx("div",e.__assign({className:"ellm-pie-chart__empty"},{children:null!=L?L:l.jsx(s.default,{})}))]}))};
|
|
2
|
-
//# sourceMappingURL=PieChart.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PieChart.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),i=require("react/jsx-runtime"),s=require("lucide-react");exports.default=function(r){var t=r.title,a=void 0===t?"No data to display":t,l=r.description,d=void 0===l?"There's no data for the selected date range and filters. Try adjusting your filters or picking a different range.":l;return i.jsxs("div",e.__assign({className:"ellm-pie-chart__empty-default"},{children:[i.jsx("span",e.__assign({className:"ellm-pie-chart__empty-icon"},{children:i.jsx(s.PieChart,{size:22})})),i.jsx("div",e.__assign({className:"ellm-pie-chart__empty-title"},{children:a})),i.jsx("div",e.__assign({className:"ellm-pie-chart__empty-desc"},{children:d}))]}))};
|
|
2
|
-
//# sourceMappingURL=PieChartEmptyState.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PieChartEmptyState.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),s=require("react/jsx-runtime");exports.default=function(l){var i=l.height,a=void 0===i?260:i,t=l.rows,r=void 0===t?6:t,_=l.legendPosition,n=void 0===_?"right":_,m=Math.min(a-24,200);return s.jsxs("div",e.__assign({className:"ellm-pie-chart__skeleton ellm-pie-chart__skeleton--".concat(n),"aria-busy":"true","aria-live":"polite",style:{minHeight:a}},{children:[s.jsx("div",e.__assign({className:"ellm-pie-chart__skeleton-plot"},{children:s.jsx("span",{className:"ellm-pie-chart__skeleton-ring ellm-pie-chart__shimmer",style:{width:m,height:m}})})),s.jsx("div",e.__assign({className:"ellm-pie-chart__skeleton-legend"},{children:Array.from({length:r}).map(function(l,i){return s.jsxs("div",e.__assign({className:"ellm-pie-chart__skeleton-row"},{children:[s.jsx("span",{className:"ellm-pie-chart__skeleton-dot ellm-pie-chart__shimmer"}),s.jsx("span",{className:"ellm-pie-chart__skeleton-label ellm-pie-chart__shimmer"}),s.jsx("span",{className:"ellm-pie-chart__skeleton-value ellm-pie-chart__shimmer"})]}),i)})}))]}))};
|
|
2
|
-
//# sourceMappingURL=PieChartSkeleton.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PieChartSkeleton.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),l=require("react/jsx-runtime");exports.default=function(a){var s,i=a.ctx,t=a.config,r=a.valueFormatter,o=i.datum,n=i.value,c=i.color,_=i.percent,d=null!==(s=null==t?void 0:t.formatValue)&&void 0!==s?s:r,u=d?d(n,o):n;return l.jsxs("div",e.__assign({className:"ellm-pie-chart__tooltip"},{children:[!1!==(null==t?void 0:t.showHeading)&&l.jsxs("div",e.__assign({className:"ellm-pie-chart__tooltip-heading"},{children:[l.jsx("span",{className:"ellm-pie-chart__tooltip-swatch",style:{background:c}}),l.jsx("span",e.__assign({className:"ellm-pie-chart__tooltip-label"},{children:(null==t?void 0:t.formatHeading)?t.formatHeading(o.label):o.label}))]})),l.jsx("div",e.__assign({className:"ellm-pie-chart__tooltip-value"},{children:u})),!1!==(null==t?void 0:t.showShare)&&l.jsxs("div",e.__assign({className:"ellm-pie-chart__tooltip-share"},{children:[_.toFixed(1),"% of total"]}))]}))};
|
|
2
|
-
//# sourceMappingURL=PieChartTooltip.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PieChartTooltip.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),r=require("../BarChart/utils.js"),t=require("./types.js"),o=function(e){return"number"==typeof e&&Number.isFinite(e)&&e>0};exports.darken=r.darken,exports.parseColor=r.parseColor,exports.withAlpha=r.withAlpha,exports.withIntensity=r.withIntensity,exports.groupTopSlices=function(r,t){var n=t.limit,u=t.othersLabel,l=void 0===u?"Others ({count} items)":u,i=t.othersColor,s=(null!=r?r:[]).filter(function(e){return o(e.value)});if(s.length<=n)return null!=r?r:[];var a=e.__spreadArray([],s,!0).sort(function(e,r){return r.value-e.value}),p=a.slice(0,n),c=a.slice(n);return e.__spreadArray(e.__spreadArray([],p,!0),[{label:l.replace("{count}",String(c.length)),value:c.reduce(function(e,r){return e+r.value},0),color:i,meta:{grouped:c}}],!1)},exports.isPlottableSlice=o,exports.percentOf=function(e,r){return r>0?e/r*100:0},exports.resolveSliceColors=function(e,o,n,u){return void 0===o&&(o=t.DEFAULT_PIE_COLOR),void 0===n&&(n="rank"),void 0===u&&(u=[.18,1]),r.resolveBarColors(e,o,n,u)},exports.sumSlices=function(e){return e.reduce(function(e,r){return o(r.value)?e+r.value:e},0)},exports.toPieChartData=function(e,r){if(!(null==e?void 0:e.length))return[];var t=r.labelKey,o=r.valueKey,n=r.colorKey;return e.map(function(e){var r,u=e[o],l="string"==typeof u?Number(u):u;return{label:String(null!==(r=e[t])&&void 0!==r?r:""),value:"number"==typeof l&&Number.isFinite(l)?l:null,color:n?e[n]:void 0,meta:e}})};
|
|
2
|
-
//# sourceMappingURL=utils.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react");exports.useVisibilityPolling=function(t,i,n,u){void 0===t&&(t=!1);var r=e.useRef(null),c=function(){r.current=window.setInterval(n,i)},o=function(){null!==r.current&&(clearTimeout(r.current),r.current=null)},l=function(){"hidden"===document.visibilityState?o():"visible"===document.visibilityState&&t&&c()};e.useEffect(function(){return t&&c(),document.addEventListener("visibilitychange",l),function(){document.removeEventListener("visibilitychange",l),o()}},u)};
|
|
2
|
-
//# sourceMappingURL=useVisibilityPolling.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useVisibilityPolling.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*!
|
|
3
|
-
* @kurkle/color v0.3.4
|
|
4
|
-
* https://github.com/kurkle/color#readme
|
|
5
|
-
* (c) 2024 Jukka Kurkela
|
|
6
|
-
* Released under the MIT License
|
|
7
|
-
*/
|
|
8
|
-
function e(e){return e+.5|0}Object.defineProperty(exports,"__esModule",{value:!0});const t=(e,t,r)=>Math.max(Math.min(e,r),t);function r(r){return t(e(2.55*r),0,255)}function f(r){return t(e(255*r),0,255)}function a(r){return t(e(r/2.55)/100,0,1)}function n(r){return t(e(100*r),0,100)}const s={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},i=[..."0123456789ABCDEF"],c=e=>i[15&e],b=e=>i[(240&e)>>4]+i[15&e],o=e=>(240&e)>>4==(15&e);function g(e){var t,r=e.length;return"#"===e[0]&&(4===r||5===r?t={r:255&17*s[e[1]],g:255&17*s[e[2]],b:255&17*s[e[3]],a:5===r?17*s[e[4]]:255}:7!==r&&9!==r||(t={r:s[e[1]]<<4|s[e[2]],g:s[e[3]]<<4|s[e[4]],b:s[e[5]]<<4|s[e[6]],a:9===r?s[e[7]]<<4|s[e[8]]:255})),t}function d(e){var t=(e=>o(e.r)&&o(e.g)&&o(e.b)&&o(e.a))(e)?c:b;return e?"#"+t(e.r)+t(e.g)+t(e.b)+((e,t)=>e<255?t(e):"")(e.a,t):void 0}const u=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function h(e,t,r){const f=t*Math.min(r,1-r),a=(t,a=(t+e/30)%12)=>r-f*Math.max(Math.min(a-3,9-a,1),-1);return[a(0),a(8),a(4)]}function l(e,t,r){const f=(f,a=(f+e/60)%6)=>r-r*t*Math.max(Math.min(a,4-a,1),0);return[f(5),f(3),f(1)]}function p(e,t,r){const f=h(e,1,.5);let a;for(t+r>1&&(a=1/(t+r),t*=a,r*=a),a=0;a<3;a++)f[a]*=1-t-r,f[a]+=t;return f}function x(e){const t=e.r/255,r=e.g/255,f=e.b/255,a=Math.max(t,r,f),n=Math.min(t,r,f),s=(a+n)/2;let i,c,b;return a!==n&&(b=a-n,c=s>.5?b/(2-a-n):b/(a+n),i=function(e,t,r,f,a){return e===a?(t-r)/f+(t<r?6:0):t===a?(r-e)/f+2:(e-t)/f+4}(t,r,f,b,a),i=60*i+.5),[0|i,c||0,s]}function m(e,t,r,a){return(Array.isArray(t)?e(t[0],t[1],t[2]):e(t,r,a)).map(f)}function y(e,t,r){return m(h,e,t,r)}function Y(e,t,r){return m(p,e,t,r)}function v(e,t,r){return m(l,e,t,r)}function w(e){return(e%360+360)%360}function _(e){const t=u.exec(e);let a,n=255;if(!t)return;t[5]!==a&&(n=t[6]?r(+t[5]):f(+t[5]));const s=w(+t[2]),i=+t[3]/100,c=+t[4]/100;return a="hwb"===t[1]?Y(s,i,c):"hsv"===t[1]?v(s,i,c):y(s,i,c),{r:a[0],g:a[1],b:a[2],a:n}}function F(e,t){var r=x(e);r[0]=w(r[0]+t),r=y(r),e.r=r[0],e.g=r[1],e.b=r[2]}function M(e){if(!e)return;const t=x(e),r=t[0],f=n(t[1]),s=n(t[2]);return e.a<255?`hsla(${r}, ${f}%, ${s}%, ${a(e.a)})`:`hsl(${r}, ${f}%, ${s}%)`}const X={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},k={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};let S;function O(e){S||(S=function(){const e={},t=Object.keys(k),r=Object.keys(X);let f,a,n,s,i;for(f=0;f<t.length;f++){for(s=i=t[f],a=0;a<r.length;a++)n=r[a],i=i.replace(n,X[n]);n=parseInt(k[s],16),e[i]=[n>>16&255,n>>8&255,255&n]}return e}(),S.transparent=[0,0,0,0]);const t=S[e.toLowerCase()];return t&&{r:t[0],g:t[1],b:t[2],a:4===t.length?t[3]:255}}const P=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function T(e){const f=P.exec(e);let a,n,s,i=255;if(f){if(f[7]!==a){const e=+f[7];i=f[8]?r(e):t(255*e,0,255)}return a=+f[1],n=+f[3],s=+f[5],a=255&(f[2]?r(a):t(a,0,255)),n=255&(f[4]?r(n):t(n,0,255)),s=255&(f[6]?r(s):t(s,0,255)),{r:a,g:n,b:s,a:i}}}function Z(e){return e&&(e.a<255?`rgba(${e.r}, ${e.g}, ${e.b}, ${a(e.a)})`:`rgb(${e.r}, ${e.g}, ${e.b})`)}const $=e=>e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055,E=e=>e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4);function R(e,t,r){if(e){let f=x(e);f[t]=Math.max(0,Math.min(f[t]+f[t]*r,0===t?360:1)),f=y(f),e.r=f[0],e.g=f[1],e.b=f[2]}}function A(e,t){return e?Object.assign(t||{},e):e}function U(e){var t={r:0,g:0,b:0,a:255};return Array.isArray(e)?e.length>=3&&(t={r:e[0],g:e[1],b:e[2],a:255},e.length>3&&(t.a=f(e[3]))):(t=A(e,{r:0,g:0,b:0,a:1})).a=f(t.a),t}class V{constructor(e){if(e instanceof V)return e;const t=typeof e;let r;var f;"object"===t?r=U(e):"string"===t&&(r=g(e)||O(e)||("r"===(f=e).charAt(0)?T(f):_(f))),this._rgb=r,this._valid=!!r}get valid(){return this._valid}get rgb(){var e=A(this._rgb);return e&&(e.a=a(e.a)),e}set rgb(e){this._rgb=U(e)}rgbString(){return this._valid?Z(this._rgb):void 0}hexString(){return this._valid?d(this._rgb):void 0}hslString(){return this._valid?M(this._rgb):void 0}mix(e,t){if(e){const r=this.rgb,f=e.rgb;let a;const n=t===a?.5:t,s=2*n-1,i=r.a-f.a,c=((s*i===-1?s:(s+i)/(1+s*i))+1)/2;a=1-c,r.r=255&c*r.r+a*f.r+.5,r.g=255&c*r.g+a*f.g+.5,r.b=255&c*r.b+a*f.b+.5,r.a=n*r.a+(1-n)*f.a,this.rgb=r}return this}interpolate(e,t){return e&&(this._rgb=function(e,t,r){const n=E(a(e.r)),s=E(a(e.g)),i=E(a(e.b));return{r:f($(n+r*(E(a(t.r))-n))),g:f($(s+r*(E(a(t.g))-s))),b:f($(i+r*(E(a(t.b))-i))),a:e.a+r*(t.a-e.a)}}(this._rgb,e._rgb,t)),this}clone(){return new V(this.rgb)}alpha(e){return this._rgb.a=f(e),this}clearer(e){return this._rgb.a*=1-e,this}greyscale(){const t=this._rgb,r=e(.3*t.r+.59*t.g+.11*t.b);return t.r=t.g=t.b=r,this}opaquer(e){return this._rgb.a*=1+e,this}negate(){const e=this._rgb;return e.r=255-e.r,e.g=255-e.g,e.b=255-e.b,this}lighten(e){return R(this._rgb,2,e),this}darken(e){return R(this._rgb,2,-e),this}saturate(e){return R(this._rgb,1,e),this}desaturate(e){return R(this._rgb,1,-e),this}rotate(e){return F(this._rgb,e),this}}exports.Color=V,exports.b2n=a,exports.hexParse=g,exports.hexString=d,exports.hsl2rgb=y,exports.hslString=M,exports.hsv2rgb=v,exports.hueParse=_,exports.hwb2rgb=Y,exports.lim=t,exports.n2b=f,exports.n2p=n,exports.nameParse=O,exports.p2b=r,exports.rgb2hsl=x,exports.rgbParse=T,exports.rgbString=Z,exports.rotate=F,exports.round=e;
|
|
9
|
-
//# sourceMappingURL=color.esm.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"color.esm.js","sources":["../../../../../../node_modules/@kurkle/color/dist/color.esm.js"],"sourcesContent":["/*!\n * @kurkle/color v0.3.4\n * https://github.com/kurkle/color#readme\n * (c) 2024 Jukka Kurkela\n * Released under the MIT License\n */\nfunction round(v) {\n return v + 0.5 | 0;\n}\nconst lim = (v, l, h) => Math.max(Math.min(v, h), l);\nfunction p2b(v) {\n return lim(round(v * 2.55), 0, 255);\n}\nfunction b2p(v) {\n return lim(round(v / 2.55), 0, 100);\n}\nfunction n2b(v) {\n return lim(round(v * 255), 0, 255);\n}\nfunction b2n(v) {\n return lim(round(v / 2.55) / 100, 0, 1);\n}\nfunction n2p(v) {\n return lim(round(v * 100), 0, 100);\n}\n\nconst map$1 = {0: 0, 1: 1, 2: 2, 3: 3, 4: 4, 5: 5, 6: 6, 7: 7, 8: 8, 9: 9, A: 10, B: 11, C: 12, D: 13, E: 14, F: 15, a: 10, b: 11, c: 12, d: 13, e: 14, f: 15};\nconst hex = [...'0123456789ABCDEF'];\nconst h1 = b => hex[b & 0xF];\nconst h2 = b => hex[(b & 0xF0) >> 4] + hex[b & 0xF];\nconst eq = b => ((b & 0xF0) >> 4) === (b & 0xF);\nconst isShort = v => eq(v.r) && eq(v.g) && eq(v.b) && eq(v.a);\nfunction hexParse(str) {\n var len = str.length;\n var ret;\n if (str[0] === '#') {\n if (len === 4 || len === 5) {\n ret = {\n r: 255 & map$1[str[1]] * 17,\n g: 255 & map$1[str[2]] * 17,\n b: 255 & map$1[str[3]] * 17,\n a: len === 5 ? map$1[str[4]] * 17 : 255\n };\n } else if (len === 7 || len === 9) {\n ret = {\n r: map$1[str[1]] << 4 | map$1[str[2]],\n g: map$1[str[3]] << 4 | map$1[str[4]],\n b: map$1[str[5]] << 4 | map$1[str[6]],\n a: len === 9 ? (map$1[str[7]] << 4 | map$1[str[8]]) : 255\n };\n }\n }\n return ret;\n}\nconst alpha = (a, f) => a < 255 ? f(a) : '';\nfunction hexString(v) {\n var f = isShort(v) ? h1 : h2;\n return v\n ? '#' + f(v.r) + f(v.g) + f(v.b) + alpha(v.a, f)\n : undefined;\n}\n\nconst HUE_RE = /^(hsla?|hwb|hsv)\\(\\s*([-+.e\\d]+)(?:deg)?[\\s,]+([-+.e\\d]+)%[\\s,]+([-+.e\\d]+)%(?:[\\s,]+([-+.e\\d]+)(%)?)?\\s*\\)$/;\nfunction hsl2rgbn(h, s, l) {\n const a = s * Math.min(l, 1 - l);\n const f = (n, k = (n + h / 30) % 12) => l - a * Math.max(Math.min(k - 3, 9 - k, 1), -1);\n return [f(0), f(8), f(4)];\n}\nfunction hsv2rgbn(h, s, v) {\n const f = (n, k = (n + h / 60) % 6) => v - v * s * Math.max(Math.min(k, 4 - k, 1), 0);\n return [f(5), f(3), f(1)];\n}\nfunction hwb2rgbn(h, w, b) {\n const rgb = hsl2rgbn(h, 1, 0.5);\n let i;\n if (w + b > 1) {\n i = 1 / (w + b);\n w *= i;\n b *= i;\n }\n for (i = 0; i < 3; i++) {\n rgb[i] *= 1 - w - b;\n rgb[i] += w;\n }\n return rgb;\n}\nfunction hueValue(r, g, b, d, max) {\n if (r === max) {\n return ((g - b) / d) + (g < b ? 6 : 0);\n }\n if (g === max) {\n return (b - r) / d + 2;\n }\n return (r - g) / d + 4;\n}\nfunction rgb2hsl(v) {\n const range = 255;\n const r = v.r / range;\n const g = v.g / range;\n const b = v.b / range;\n const max = Math.max(r, g, b);\n const min = Math.min(r, g, b);\n const l = (max + min) / 2;\n let h, s, d;\n if (max !== min) {\n d = max - min;\n s = l > 0.5 ? d / (2 - max - min) : d / (max + min);\n h = hueValue(r, g, b, d, max);\n h = h * 60 + 0.5;\n }\n return [h | 0, s || 0, l];\n}\nfunction calln(f, a, b, c) {\n return (\n Array.isArray(a)\n ? f(a[0], a[1], a[2])\n : f(a, b, c)\n ).map(n2b);\n}\nfunction hsl2rgb(h, s, l) {\n return calln(hsl2rgbn, h, s, l);\n}\nfunction hwb2rgb(h, w, b) {\n return calln(hwb2rgbn, h, w, b);\n}\nfunction hsv2rgb(h, s, v) {\n return calln(hsv2rgbn, h, s, v);\n}\nfunction hue(h) {\n return (h % 360 + 360) % 360;\n}\nfunction hueParse(str) {\n const m = HUE_RE.exec(str);\n let a = 255;\n let v;\n if (!m) {\n return;\n }\n if (m[5] !== v) {\n a = m[6] ? p2b(+m[5]) : n2b(+m[5]);\n }\n const h = hue(+m[2]);\n const p1 = +m[3] / 100;\n const p2 = +m[4] / 100;\n if (m[1] === 'hwb') {\n v = hwb2rgb(h, p1, p2);\n } else if (m[1] === 'hsv') {\n v = hsv2rgb(h, p1, p2);\n } else {\n v = hsl2rgb(h, p1, p2);\n }\n return {\n r: v[0],\n g: v[1],\n b: v[2],\n a: a\n };\n}\nfunction rotate(v, deg) {\n var h = rgb2hsl(v);\n h[0] = hue(h[0] + deg);\n h = hsl2rgb(h);\n v.r = h[0];\n v.g = h[1];\n v.b = h[2];\n}\nfunction hslString(v) {\n if (!v) {\n return;\n }\n const a = rgb2hsl(v);\n const h = a[0];\n const s = n2p(a[1]);\n const l = n2p(a[2]);\n return v.a < 255\n ? `hsla(${h}, ${s}%, ${l}%, ${b2n(v.a)})`\n : `hsl(${h}, ${s}%, ${l}%)`;\n}\n\nconst map = {\n\tx: 'dark',\n\tZ: 'light',\n\tY: 're',\n\tX: 'blu',\n\tW: 'gr',\n\tV: 'medium',\n\tU: 'slate',\n\tA: 'ee',\n\tT: 'ol',\n\tS: 'or',\n\tB: 'ra',\n\tC: 'lateg',\n\tD: 'ights',\n\tR: 'in',\n\tQ: 'turquois',\n\tE: 'hi',\n\tP: 'ro',\n\tO: 'al',\n\tN: 'le',\n\tM: 'de',\n\tL: 'yello',\n\tF: 'en',\n\tK: 'ch',\n\tG: 'arks',\n\tH: 'ea',\n\tI: 'ightg',\n\tJ: 'wh'\n};\nconst names$1 = {\n\tOiceXe: 'f0f8ff',\n\tantiquewEte: 'faebd7',\n\taqua: 'ffff',\n\taquamarRe: '7fffd4',\n\tazuY: 'f0ffff',\n\tbeige: 'f5f5dc',\n\tbisque: 'ffe4c4',\n\tblack: '0',\n\tblanKedOmond: 'ffebcd',\n\tXe: 'ff',\n\tXeviTet: '8a2be2',\n\tbPwn: 'a52a2a',\n\tburlywood: 'deb887',\n\tcaMtXe: '5f9ea0',\n\tKartYuse: '7fff00',\n\tKocTate: 'd2691e',\n\tcSO: 'ff7f50',\n\tcSnflowerXe: '6495ed',\n\tcSnsilk: 'fff8dc',\n\tcrimson: 'dc143c',\n\tcyan: 'ffff',\n\txXe: '8b',\n\txcyan: '8b8b',\n\txgTMnPd: 'b8860b',\n\txWay: 'a9a9a9',\n\txgYF: '6400',\n\txgYy: 'a9a9a9',\n\txkhaki: 'bdb76b',\n\txmagFta: '8b008b',\n\txTivegYF: '556b2f',\n\txSange: 'ff8c00',\n\txScEd: '9932cc',\n\txYd: '8b0000',\n\txsOmon: 'e9967a',\n\txsHgYF: '8fbc8f',\n\txUXe: '483d8b',\n\txUWay: '2f4f4f',\n\txUgYy: '2f4f4f',\n\txQe: 'ced1',\n\txviTet: '9400d3',\n\tdAppRk: 'ff1493',\n\tdApskyXe: 'bfff',\n\tdimWay: '696969',\n\tdimgYy: '696969',\n\tdodgerXe: '1e90ff',\n\tfiYbrick: 'b22222',\n\tflSOwEte: 'fffaf0',\n\tfoYstWAn: '228b22',\n\tfuKsia: 'ff00ff',\n\tgaRsbSo: 'dcdcdc',\n\tghostwEte: 'f8f8ff',\n\tgTd: 'ffd700',\n\tgTMnPd: 'daa520',\n\tWay: '808080',\n\tgYF: '8000',\n\tgYFLw: 'adff2f',\n\tgYy: '808080',\n\thoneyMw: 'f0fff0',\n\thotpRk: 'ff69b4',\n\tRdianYd: 'cd5c5c',\n\tRdigo: '4b0082',\n\tivSy: 'fffff0',\n\tkhaki: 'f0e68c',\n\tlavFMr: 'e6e6fa',\n\tlavFMrXsh: 'fff0f5',\n\tlawngYF: '7cfc00',\n\tNmoncEffon: 'fffacd',\n\tZXe: 'add8e6',\n\tZcSO: 'f08080',\n\tZcyan: 'e0ffff',\n\tZgTMnPdLw: 'fafad2',\n\tZWay: 'd3d3d3',\n\tZgYF: '90ee90',\n\tZgYy: 'd3d3d3',\n\tZpRk: 'ffb6c1',\n\tZsOmon: 'ffa07a',\n\tZsHgYF: '20b2aa',\n\tZskyXe: '87cefa',\n\tZUWay: '778899',\n\tZUgYy: '778899',\n\tZstAlXe: 'b0c4de',\n\tZLw: 'ffffe0',\n\tlime: 'ff00',\n\tlimegYF: '32cd32',\n\tlRF: 'faf0e6',\n\tmagFta: 'ff00ff',\n\tmaPon: '800000',\n\tVaquamarRe: '66cdaa',\n\tVXe: 'cd',\n\tVScEd: 'ba55d3',\n\tVpurpN: '9370db',\n\tVsHgYF: '3cb371',\n\tVUXe: '7b68ee',\n\tVsprRggYF: 'fa9a',\n\tVQe: '48d1cc',\n\tVviTetYd: 'c71585',\n\tmidnightXe: '191970',\n\tmRtcYam: 'f5fffa',\n\tmistyPse: 'ffe4e1',\n\tmoccasR: 'ffe4b5',\n\tnavajowEte: 'ffdead',\n\tnavy: '80',\n\tTdlace: 'fdf5e6',\n\tTive: '808000',\n\tTivedBb: '6b8e23',\n\tSange: 'ffa500',\n\tSangeYd: 'ff4500',\n\tScEd: 'da70d6',\n\tpOegTMnPd: 'eee8aa',\n\tpOegYF: '98fb98',\n\tpOeQe: 'afeeee',\n\tpOeviTetYd: 'db7093',\n\tpapayawEp: 'ffefd5',\n\tpHKpuff: 'ffdab9',\n\tperu: 'cd853f',\n\tpRk: 'ffc0cb',\n\tplum: 'dda0dd',\n\tpowMrXe: 'b0e0e6',\n\tpurpN: '800080',\n\tYbeccapurpN: '663399',\n\tYd: 'ff0000',\n\tPsybrown: 'bc8f8f',\n\tPyOXe: '4169e1',\n\tsaddNbPwn: '8b4513',\n\tsOmon: 'fa8072',\n\tsandybPwn: 'f4a460',\n\tsHgYF: '2e8b57',\n\tsHshell: 'fff5ee',\n\tsiFna: 'a0522d',\n\tsilver: 'c0c0c0',\n\tskyXe: '87ceeb',\n\tUXe: '6a5acd',\n\tUWay: '708090',\n\tUgYy: '708090',\n\tsnow: 'fffafa',\n\tsprRggYF: 'ff7f',\n\tstAlXe: '4682b4',\n\ttan: 'd2b48c',\n\tteO: '8080',\n\ttEstN: 'd8bfd8',\n\ttomato: 'ff6347',\n\tQe: '40e0d0',\n\tviTet: 'ee82ee',\n\tJHt: 'f5deb3',\n\twEte: 'ffffff',\n\twEtesmoke: 'f5f5f5',\n\tLw: 'ffff00',\n\tLwgYF: '9acd32'\n};\nfunction unpack() {\n const unpacked = {};\n const keys = Object.keys(names$1);\n const tkeys = Object.keys(map);\n let i, j, k, ok, nk;\n for (i = 0; i < keys.length; i++) {\n ok = nk = keys[i];\n for (j = 0; j < tkeys.length; j++) {\n k = tkeys[j];\n nk = nk.replace(k, map[k]);\n }\n k = parseInt(names$1[ok], 16);\n unpacked[nk] = [k >> 16 & 0xFF, k >> 8 & 0xFF, k & 0xFF];\n }\n return unpacked;\n}\n\nlet names;\nfunction nameParse(str) {\n if (!names) {\n names = unpack();\n names.transparent = [0, 0, 0, 0];\n }\n const a = names[str.toLowerCase()];\n return a && {\n r: a[0],\n g: a[1],\n b: a[2],\n a: a.length === 4 ? a[3] : 255\n };\n}\n\nconst RGB_RE = /^rgba?\\(\\s*([-+.\\d]+)(%)?[\\s,]+([-+.e\\d]+)(%)?[\\s,]+([-+.e\\d]+)(%)?(?:[\\s,/]+([-+.e\\d]+)(%)?)?\\s*\\)$/;\nfunction rgbParse(str) {\n const m = RGB_RE.exec(str);\n let a = 255;\n let r, g, b;\n if (!m) {\n return;\n }\n if (m[7] !== r) {\n const v = +m[7];\n a = m[8] ? p2b(v) : lim(v * 255, 0, 255);\n }\n r = +m[1];\n g = +m[3];\n b = +m[5];\n r = 255 & (m[2] ? p2b(r) : lim(r, 0, 255));\n g = 255 & (m[4] ? p2b(g) : lim(g, 0, 255));\n b = 255 & (m[6] ? p2b(b) : lim(b, 0, 255));\n return {\n r: r,\n g: g,\n b: b,\n a: a\n };\n}\nfunction rgbString(v) {\n return v && (\n v.a < 255\n ? `rgba(${v.r}, ${v.g}, ${v.b}, ${b2n(v.a)})`\n : `rgb(${v.r}, ${v.g}, ${v.b})`\n );\n}\n\nconst to = v => v <= 0.0031308 ? v * 12.92 : Math.pow(v, 1.0 / 2.4) * 1.055 - 0.055;\nconst from = v => v <= 0.04045 ? v / 12.92 : Math.pow((v + 0.055) / 1.055, 2.4);\nfunction interpolate(rgb1, rgb2, t) {\n const r = from(b2n(rgb1.r));\n const g = from(b2n(rgb1.g));\n const b = from(b2n(rgb1.b));\n return {\n r: n2b(to(r + t * (from(b2n(rgb2.r)) - r))),\n g: n2b(to(g + t * (from(b2n(rgb2.g)) - g))),\n b: n2b(to(b + t * (from(b2n(rgb2.b)) - b))),\n a: rgb1.a + t * (rgb2.a - rgb1.a)\n };\n}\n\nfunction modHSL(v, i, ratio) {\n if (v) {\n let tmp = rgb2hsl(v);\n tmp[i] = Math.max(0, Math.min(tmp[i] + tmp[i] * ratio, i === 0 ? 360 : 1));\n tmp = hsl2rgb(tmp);\n v.r = tmp[0];\n v.g = tmp[1];\n v.b = tmp[2];\n }\n}\nfunction clone(v, proto) {\n return v ? Object.assign(proto || {}, v) : v;\n}\nfunction fromObject(input) {\n var v = {r: 0, g: 0, b: 0, a: 255};\n if (Array.isArray(input)) {\n if (input.length >= 3) {\n v = {r: input[0], g: input[1], b: input[2], a: 255};\n if (input.length > 3) {\n v.a = n2b(input[3]);\n }\n }\n } else {\n v = clone(input, {r: 0, g: 0, b: 0, a: 1});\n v.a = n2b(v.a);\n }\n return v;\n}\nfunction functionParse(str) {\n if (str.charAt(0) === 'r') {\n return rgbParse(str);\n }\n return hueParse(str);\n}\nclass Color {\n constructor(input) {\n if (input instanceof Color) {\n return input;\n }\n const type = typeof input;\n let v;\n if (type === 'object') {\n v = fromObject(input);\n } else if (type === 'string') {\n v = hexParse(input) || nameParse(input) || functionParse(input);\n }\n this._rgb = v;\n this._valid = !!v;\n }\n get valid() {\n return this._valid;\n }\n get rgb() {\n var v = clone(this._rgb);\n if (v) {\n v.a = b2n(v.a);\n }\n return v;\n }\n set rgb(obj) {\n this._rgb = fromObject(obj);\n }\n rgbString() {\n return this._valid ? rgbString(this._rgb) : undefined;\n }\n hexString() {\n return this._valid ? hexString(this._rgb) : undefined;\n }\n hslString() {\n return this._valid ? hslString(this._rgb) : undefined;\n }\n mix(color, weight) {\n if (color) {\n const c1 = this.rgb;\n const c2 = color.rgb;\n let w2;\n const p = weight === w2 ? 0.5 : weight;\n const w = 2 * p - 1;\n const a = c1.a - c2.a;\n const w1 = ((w * a === -1 ? w : (w + a) / (1 + w * a)) + 1) / 2.0;\n w2 = 1 - w1;\n c1.r = 0xFF & w1 * c1.r + w2 * c2.r + 0.5;\n c1.g = 0xFF & w1 * c1.g + w2 * c2.g + 0.5;\n c1.b = 0xFF & w1 * c1.b + w2 * c2.b + 0.5;\n c1.a = p * c1.a + (1 - p) * c2.a;\n this.rgb = c1;\n }\n return this;\n }\n interpolate(color, t) {\n if (color) {\n this._rgb = interpolate(this._rgb, color._rgb, t);\n }\n return this;\n }\n clone() {\n return new Color(this.rgb);\n }\n alpha(a) {\n this._rgb.a = n2b(a);\n return this;\n }\n clearer(ratio) {\n const rgb = this._rgb;\n rgb.a *= 1 - ratio;\n return this;\n }\n greyscale() {\n const rgb = this._rgb;\n const val = round(rgb.r * 0.3 + rgb.g * 0.59 + rgb.b * 0.11);\n rgb.r = rgb.g = rgb.b = val;\n return this;\n }\n opaquer(ratio) {\n const rgb = this._rgb;\n rgb.a *= 1 + ratio;\n return this;\n }\n negate() {\n const v = this._rgb;\n v.r = 255 - v.r;\n v.g = 255 - v.g;\n v.b = 255 - v.b;\n return this;\n }\n lighten(ratio) {\n modHSL(this._rgb, 2, ratio);\n return this;\n }\n darken(ratio) {\n modHSL(this._rgb, 2, -ratio);\n return this;\n }\n saturate(ratio) {\n modHSL(this._rgb, 1, ratio);\n return this;\n }\n desaturate(ratio) {\n modHSL(this._rgb, 1, -ratio);\n return this;\n }\n rotate(deg) {\n rotate(this._rgb, deg);\n return this;\n }\n}\n\nfunction index_esm(input) {\n return new Color(input);\n}\n\nexport { Color, b2n, b2p, index_esm as default, hexParse, hexString, hsl2rgb, hslString, hsv2rgb, hueParse, hwb2rgb, lim, n2b, n2p, nameParse, p2b, rgb2hsl, rgbParse, rgbString, rotate, round };\n"],"names":["round","v","lim","l","h","Math","max","min","p2b","n2b","b2n","n2p","map$1","A","B","C","D","E","F","a","b","c","d","e","f","hex","h1","h2","eq","hexParse","str","ret","len","length","r","g","hexString","isShort","alpha","undefined","HUE_RE","hsl2rgbn","s","n","k","hsv2rgbn","hwb2rgbn","w","rgb","i","rgb2hsl","hueValue","calln","Array","isArray","map","hsl2rgb","hwb2rgb","hsv2rgb","hue","hueParse","m","exec","p1","p2","rotate","deg","hslString","x","Z","Y","X","W","V","U","T","S","R","Q","P","O","N","M","L","K","G","H","I","J","names$1","OiceXe","antiquewEte","aqua","aquamarRe","azuY","beige","bisque","black","blanKedOmond","Xe","XeviTet","bPwn","burlywood","caMtXe","KartYuse","KocTate","cSO","cSnflowerXe","cSnsilk","crimson","cyan","xXe","xcyan","xgTMnPd","xWay","xgYF","xgYy","xkhaki","xmagFta","xTivegYF","xSange","xScEd","xYd","xsOmon","xsHgYF","xUXe","xUWay","xUgYy","xQe","xviTet","dAppRk","dApskyXe","dimWay","dimgYy","dodgerXe","fiYbrick","flSOwEte","foYstWAn","fuKsia","gaRsbSo","ghostwEte","gTd","gTMnPd","Way","gYF","gYFLw","gYy","honeyMw","hotpRk","RdianYd","Rdigo","ivSy","khaki","lavFMr","lavFMrXsh","lawngYF","NmoncEffon","ZXe","ZcSO","Zcyan","ZgTMnPdLw","ZWay","ZgYF","ZgYy","ZpRk","ZsOmon","ZsHgYF","ZskyXe","ZUWay","ZUgYy","ZstAlXe","ZLw","lime","limegYF","lRF","magFta","maPon","VaquamarRe","VXe","VScEd","VpurpN","VsHgYF","VUXe","VsprRggYF","VQe","VviTetYd","midnightXe","mRtcYam","mistyPse","moccasR","navajowEte","navy","Tdlace","Tive","TivedBb","Sange","SangeYd","ScEd","pOegTMnPd","pOegYF","pOeQe","pOeviTetYd","papayawEp","pHKpuff","peru","pRk","plum","powMrXe","purpN","YbeccapurpN","Yd","Psybrown","PyOXe","saddNbPwn","sOmon","sandybPwn","sHgYF","sHshell","siFna","silver","skyXe","UXe","UWay","UgYy","snow","sprRggYF","stAlXe","tan","teO","tEstN","tomato","Qe","viTet","JHt","wEte","wEtesmoke","Lw","LwgYF","names","nameParse","unpacked","keys","Object","tkeys","j","ok","nk","replace","parseInt","unpack","transparent","toLowerCase","RGB_RE","rgbParse","rgbString","to","pow","from","modHSL","ratio","tmp","clone","proto","assign","fromObject","input","Color","constructor","type","charAt","this","_rgb","_valid","valid","obj","mix","color","weight","c1","c2","w2","p","w1","interpolate","t","rgb1","rgb2","clearer","greyscale","val","opaquer","negate","lighten","darken","saturate","desaturate"],"mappings":";;;;;;;AAMA,SAASA,EAAMC,GACb,OAAOA,EAAI,GAAM,CACnB,wDACK,MAACC,EAAM,CAACD,EAAGE,EAAGC,IAAMC,KAAKC,IAAID,KAAKE,IAAIN,EAAGG,GAAID,GAClD,SAASK,EAAIP,GACX,OAAOC,EAAIF,EAAU,KAAJC,GAAW,EAAG,IACjC,CAIA,SAASQ,EAAIR,GACX,OAAOC,EAAIF,EAAU,IAAJC,GAAU,EAAG,IAChC,CACA,SAASS,EAAIT,GACX,OAAOC,EAAI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,GACfW,IACR,CACD,QAAAwB,CAASnC,GAEP,OADAD,EAAOY,KAAKC,KAAM,EAAGZ,GACdW,IACR,CACD,UAAAyB,CAAWpC,GAET,OADAD,EAAOY,KAAKC,KAAM,GAAIZ,GACfW,IACR,CACD,MAAA7M,CAAOC,GAEL,OADAD,EAAO6M,KAAKC,KAAM7M,GACX4M,IACR"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../dist/chart.js");e.Chart.register(...e.registerables),exports.Animation=e.Animation,exports.Animations=e.Animations,exports.ArcElement=e.ArcElement,exports.BarController=e.BarController,exports.BarElement=e.BarElement,exports.BasePlatform=e.BasePlatform,exports.BasicPlatform=e.BasicPlatform,exports.BubbleController=e.BubbleController,exports.CategoryScale=e.CategoryScale,exports.Chart=e.Chart,exports.Colors=e.Colors,exports.DatasetController=e.DatasetController,exports.Decimation=e.Decimation,exports.DomPlatform=e.DomPlatform,exports.DoughnutController=e.DoughnutController,exports.Element=e.Element,exports.Filler=e.Filler,exports.Interaction=e.Interaction,exports.Legend=e.Legend,exports.LineController=e.LineController,exports.LineElement=e.LineElement,exports.LinearScale=e.LinearScale,exports.LogarithmicScale=e.LogarithmicScale,exports.PieController=e.PieController,exports.PointElement=e.PointElement,exports.PolarAreaController=e.PolarAreaController,exports.RadarController=e.RadarController,exports.RadialLinearScale=e.RadialLinearScale,exports.Scale=e.Scale,exports.ScatterController=e.ScatterController,exports.SubTitle=e.SubTitle,exports.TimeScale=e.TimeScale,exports.TimeSeriesScale=e.TimeSeriesScale,exports.Title=e.Title,exports.Tooltip=e.Tooltip,exports._adapters=e._adapters,exports._detectPlatform=e._detectPlatform,exports.animator=e.animator,exports.controllers=e.controllers,exports.default=e.Chart,exports.elements=e.elements,exports.layouts=e.layouts,exports.plugins=e.plugins,exports.registerables=e.registerables,exports.registry=e.registry,exports.scales=e.scales;
|
|
2
|
-
//# sourceMappingURL=auto.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"auto.js","sources":["../../../../../node_modules/chart.js/auto/auto.js"],"sourcesContent":["import {Chart, registerables} from '../dist/chart.js';\n\nChart.register(...registerables);\n\nexport * from '../dist/chart.js';\nexport default Chart;\n"],"names":["Chart","register","registerables"],"mappings":"sGAEAA,EAAAA,MAAMC,YAAYC"}
|