@e-llm-studio/federated-dashboard-components 1.0.6 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -698
- package/dist/_virtual/_tslib.js +1 -1
- package/dist/cjs/_virtual/_tslib.js +1 -1
- package/dist/cjs/components/DashboardCard/BreakingNewsBanner.js +2 -0
- package/dist/cjs/components/DashboardCard/CardShell.js +2 -0
- package/dist/cjs/components/DashboardCard/CenteredCell.js +2 -0
- package/dist/cjs/components/DashboardCard/DashboardCard.js +2 -0
- package/dist/cjs/components/DashboardCard/DetailRow.js +2 -0
- package/dist/cjs/components/DashboardCard/EventsSection.js +2 -0
- package/dist/cjs/components/DashboardCard/FooterLinkButton.js +2 -0
- package/dist/cjs/components/DashboardCard/GridSection.js +2 -0
- package/dist/cjs/components/DashboardCard/ListSection.js +2 -0
- package/dist/cjs/components/DashboardCard/SectionHeadingBar.js +2 -0
- package/dist/cjs/components/DashboardCard/SkeletonRow.js +2 -0
- package/dist/cjs/components/DashboardCard/TagsSection.js +2 -0
- package/dist/cjs/components/DashboardCard/TopDropdownMenu.js +2 -0
- package/dist/cjs/components/DashboardDateFilter/DashboardDateFilter.js +2 -0
- package/dist/cjs/components/DashboardDateFilter/datePreset.js +2 -0
- package/dist/cjs/components/DatePickers/DatePicker.js +2 -0
- package/dist/cjs/components/DatePickers/DateRangeSelector.js +2 -0
- package/dist/cjs/components/DatePickers/DateSelector.js +2 -0
- package/dist/cjs/components/DropDowns/CustomMultiSelect.js +2 -0
- package/dist/cjs/components/DropDowns/CustomSingleSelect.js +2 -0
- package/dist/cjs/components/FiltersSidebar/CustomTextInput.js +2 -0
- package/dist/cjs/components/FiltersSidebar/FiltersSidebar.js +2 -0
- package/dist/cjs/components/Graph/Graph.js +2 -0
- package/dist/cjs/components/Graph/LineChart.js +2 -0
- package/dist/cjs/components/Graph/PlotBySelector.js +2 -0
- package/dist/cjs/components/MetricCard/MetricCard.js +2 -0
- package/dist/cjs/components/Table/FTable.js +2 -0
- package/dist/cjs/components/Table/SortDropdown.js +2 -0
- package/dist/cjs/components/Table/TableCard.js +2 -0
- package/dist/cjs/components/ui/chart.js +2 -0
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/styles.css +1 -1
- package/dist/components/DashboardCard/BreakingNewsBanner.js +2 -0
- package/dist/components/DashboardCard/CardShell.js +2 -0
- package/dist/components/DashboardCard/CenteredCell.js +2 -0
- package/dist/components/DashboardCard/DashboardCard.js +2 -0
- package/dist/components/DashboardCard/DetailRow.js +2 -0
- package/dist/components/DashboardCard/EventsSection.js +2 -0
- package/dist/components/DashboardCard/FooterLinkButton.js +2 -0
- package/dist/components/DashboardCard/GridSection.js +2 -0
- package/dist/components/DashboardCard/ListSection.js +2 -0
- package/dist/components/DashboardCard/SectionHeadingBar.js +2 -0
- package/dist/components/DashboardCard/SkeletonRow.js +2 -0
- package/dist/components/DashboardCard/TagsSection.js +2 -0
- package/dist/components/DashboardCard/TopDropdownMenu.js +2 -0
- package/dist/components/DashboardDateFilter/DashboardDateFilter.js +2 -0
- package/dist/components/DashboardDateFilter/datePreset.js +2 -0
- package/dist/components/DatePickers/DatePicker.js +2 -0
- package/dist/components/DatePickers/DateRangeSelector.js +2 -0
- package/dist/components/DatePickers/DateSelector.js +2 -0
- package/dist/components/DropDowns/CustomMultiSelect.js +2 -0
- package/dist/components/DropDowns/CustomSingleSelect.js +2 -0
- package/dist/components/FiltersSidebar/CustomTextInput.js +2 -0
- package/dist/components/FiltersSidebar/FiltersSidebar.js +2 -0
- package/dist/components/Graph/Graph.js +2 -0
- package/dist/components/Graph/LineChart.js +2 -0
- package/dist/components/Graph/PlotBySelector.js +2 -0
- package/dist/components/MetricCard/MetricCard.js +2 -0
- package/dist/components/Table/FTable.js +2 -0
- package/dist/components/Table/SortDropdown.js +2 -0
- package/dist/components/Table/TableCard.js +2 -0
- package/dist/components/ui/chart.js +2 -0
- package/dist/index.js +1 -1
- package/dist/styles.css +1 -1
- package/dist/types/App.d.ts +2 -2
- package/dist/types/App.d.ts.map +1 -1
- package/dist/types/components/DashboardCard/BreakingNewsBanner.d.ts.map +1 -0
- package/dist/types/components/DashboardCard/CardShell.d.ts.map +1 -0
- package/dist/types/components/DashboardCard/CenteredCell.d.ts.map +1 -0
- package/dist/types/components/DashboardCard/DashboardCard.d.ts.map +1 -0
- package/dist/types/components/DashboardCard/DetailRow.d.ts.map +1 -0
- package/dist/types/{ExecutiveDashboard/components → components}/DashboardCard/EventsSection.d.ts +1 -2
- package/dist/types/components/DashboardCard/EventsSection.d.ts.map +1 -0
- package/dist/types/components/DashboardCard/FooterLinkButton.d.ts.map +1 -0
- package/dist/types/components/DashboardCard/GridSection.d.ts +3 -0
- package/dist/types/components/DashboardCard/GridSection.d.ts.map +1 -0
- package/dist/types/{ExecutiveDashboard/components → components}/DashboardCard/ListSection.d.ts +2 -3
- package/dist/types/components/DashboardCard/ListSection.d.ts.map +1 -0
- package/dist/types/components/DashboardCard/SectionHeadingBar.d.ts.map +1 -0
- package/dist/types/components/DashboardCard/SkeletonRow.d.ts.map +1 -0
- package/dist/types/{ExecutiveDashboard/components → components}/DashboardCard/TagsSection.d.ts +1 -2
- package/dist/types/components/DashboardCard/TagsSection.d.ts.map +1 -0
- package/dist/types/components/DashboardCard/TopDropdownMenu.d.ts.map +1 -0
- package/dist/types/{ExecutiveDashboard/components → components}/DashboardCard/sectionContent.d.ts +1 -1
- package/dist/types/components/DashboardCard/sectionContent.d.ts.map +1 -0
- package/dist/types/components/DashboardCard/styles/DashboardCardStyles.d.ts.map +1 -0
- package/dist/types/components/DashboardCard/types.d.ts.map +1 -0
- package/dist/types/{ExecutiveDashboard/components → components}/DashboardDateFilter/DashboardDateFilter.d.ts +1 -8
- package/dist/types/components/DashboardDateFilter/DashboardDateFilter.d.ts.map +1 -0
- package/dist/types/components/DashboardDateFilter/DashboardDateFilter.types.d.ts.map +1 -0
- package/dist/types/{RecordDashboard/RecordComponents/DashboardDateFilter/RecordDatePreset.d.ts → components/DashboardDateFilter/datePreset.d.ts} +15 -16
- package/dist/types/components/DashboardDateFilter/datePreset.d.ts.map +1 -0
- package/dist/types/{ExecutiveDashboard/components → components}/DatePickers/DatePicker.d.ts +1 -2
- package/dist/types/components/DatePickers/DatePicker.d.ts.map +1 -0
- package/dist/types/components/DatePickers/DateRangeSelector.d.ts.map +1 -0
- package/dist/types/{ExecutiveDashboard/components → components}/DatePickers/DateSelector.d.ts +1 -1
- package/dist/types/components/DatePickers/DateSelector.d.ts.map +1 -0
- package/dist/types/{ExecutiveDashboard/components → components}/DropDowns/CustomMultiSelect.d.ts +1 -2
- package/dist/types/components/DropDowns/CustomMultiSelect.d.ts.map +1 -0
- package/dist/types/{ExecutiveDashboard/components → components}/DropDowns/CustomSingleSelect.d.ts +1 -2
- package/dist/types/components/DropDowns/CustomSingleSelect.d.ts.map +1 -0
- package/dist/types/{ExecutiveDashboard/components → components}/FiltersSidebar/CustomTextInput.d.ts +1 -2
- package/dist/types/components/FiltersSidebar/CustomTextInput.d.ts.map +1 -0
- package/dist/types/{ExecutiveDashboard/components → components}/FiltersSidebar/FiltersSidebar.d.ts +1 -2
- package/dist/types/components/FiltersSidebar/FiltersSidebar.d.ts.map +1 -0
- package/dist/types/{ExecutiveDashboard/components → components}/Graph/Graph.d.ts +1 -2
- package/dist/types/components/Graph/Graph.d.ts.map +1 -0
- package/dist/types/{ExecutiveDashboard/components → components}/Graph/LineChart.d.ts +2 -5
- package/dist/types/components/Graph/LineChart.d.ts.map +1 -0
- package/dist/types/{ExecutiveDashboard/components → components}/Graph/PlotBySelector.d.ts +1 -2
- package/dist/types/components/Graph/PlotBySelector.d.ts.map +1 -0
- package/dist/types/{RecordDashboard/RecordComponents → components}/Graph/types.d.ts +41 -41
- package/dist/types/components/Graph/types.d.ts.map +1 -0
- package/dist/types/components/MetricCard/MetricCard.d.ts +31 -0
- package/dist/types/components/MetricCard/MetricCard.d.ts.map +1 -0
- package/dist/types/{ExecutiveDashboard/components → components}/Table/FTable.d.ts +11 -12
- package/dist/types/components/Table/FTable.d.ts.map +1 -0
- package/dist/types/{ExecutiveDashboard/components → components}/Table/SortDropdown.d.ts +1 -2
- package/dist/types/components/Table/SortDropdown.d.ts.map +1 -0
- package/dist/types/{ExecutiveDashboard/components → components}/Table/TableCard.d.ts +2 -3
- package/dist/types/components/Table/TableCard.d.ts.map +1 -0
- package/dist/types/{ExecutiveDashboard/components → components}/ui/chart.d.ts +0 -1
- package/dist/types/components/ui/chart.d.ts.map +1 -0
- package/dist/types/components/ui/utils.d.ts.map +1 -0
- package/dist/types/index.d.ts +19 -85
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +9 -12
- package/dist/ExecutiveDashboard/ExecutiveDashboardWrapper.js +0 -2
- package/dist/ExecutiveDashboard/ExecutiveDashboardWrapper.js.map +0 -1
- package/dist/ExecutiveDashboard/api/dashboardApi.js +0 -2
- package/dist/ExecutiveDashboard/api/dashboardApi.js.map +0 -1
- package/dist/ExecutiveDashboard/components/DashboardCard/BreakingNewsBanner.js +0 -2
- package/dist/ExecutiveDashboard/components/DashboardCard/CardShell.js +0 -2
- package/dist/ExecutiveDashboard/components/DashboardCard/CenteredCell.js +0 -2
- package/dist/ExecutiveDashboard/components/DashboardCard/DashboardCard.js +0 -2
- package/dist/ExecutiveDashboard/components/DashboardCard/DetailRow.js +0 -2
- package/dist/ExecutiveDashboard/components/DashboardCard/EventsSection.js +0 -2
- package/dist/ExecutiveDashboard/components/DashboardCard/FooterLinkButton.js +0 -2
- package/dist/ExecutiveDashboard/components/DashboardCard/GridSection.js +0 -2
- package/dist/ExecutiveDashboard/components/DashboardCard/ListSection.js +0 -2
- package/dist/ExecutiveDashboard/components/DashboardCard/SectionHeadingBar.js +0 -2
- package/dist/ExecutiveDashboard/components/DashboardCard/SkeletonRow.js +0 -2
- package/dist/ExecutiveDashboard/components/DashboardCard/TagsSection.js +0 -2
- package/dist/ExecutiveDashboard/components/DashboardCard/TopDropdownMenu.js +0 -2
- package/dist/ExecutiveDashboard/components/DashboardDateFilter/DashboardDateFilter.js +0 -2
- package/dist/ExecutiveDashboard/components/DashboardDateFilter/datePreset.js +0 -2
- package/dist/ExecutiveDashboard/components/DashboardSkeleton/DashboardSkeleton.js +0 -2
- package/dist/ExecutiveDashboard/components/DashboardSkeleton/DashboardSkeleton.js.map +0 -1
- package/dist/ExecutiveDashboard/components/DatePickers/DatePicker.js +0 -2
- package/dist/ExecutiveDashboard/components/DatePickers/DateRangeSelector.js +0 -2
- package/dist/ExecutiveDashboard/components/DatePickers/DateSelector.js +0 -2
- package/dist/ExecutiveDashboard/components/DropDowns/CustomMultiSelect.js +0 -2
- package/dist/ExecutiveDashboard/components/DropDowns/CustomSingleSelect.js +0 -2
- package/dist/ExecutiveDashboard/components/ExecutiveDashboard.js +0 -2
- package/dist/ExecutiveDashboard/components/ExecutiveDashboard.js.map +0 -1
- package/dist/ExecutiveDashboard/components/FiltersSidebar/CustomTextInput.js +0 -2
- package/dist/ExecutiveDashboard/components/FiltersSidebar/FiltersSidebar.js +0 -2
- package/dist/ExecutiveDashboard/components/Graph/Graph.js +0 -2
- package/dist/ExecutiveDashboard/components/Graph/GraphEmptyState.js +0 -2
- package/dist/ExecutiveDashboard/components/Graph/GraphEmptyState.js.map +0 -1
- package/dist/ExecutiveDashboard/components/Graph/GraphSkeleton.js +0 -2
- package/dist/ExecutiveDashboard/components/Graph/GraphSkeleton.js.map +0 -1
- package/dist/ExecutiveDashboard/components/Graph/LineChart.js +0 -2
- package/dist/ExecutiveDashboard/components/Graph/PlotBySelector.js +0 -2
- package/dist/ExecutiveDashboard/components/Graph/Seperator.js +0 -2
- package/dist/ExecutiveDashboard/components/Graph/Seperator.js.map +0 -1
- package/dist/ExecutiveDashboard/components/MetricCard/MetricCard.js +0 -2
- package/dist/ExecutiveDashboard/components/Table/FTable.js +0 -2
- package/dist/ExecutiveDashboard/components/Table/SortDropdown.js +0 -2
- package/dist/ExecutiveDashboard/components/Table/TableCard.js +0 -2
- package/dist/ExecutiveDashboard/components/Table/TableGrid/TableGrid.js +0 -2
- package/dist/ExecutiveDashboard/components/Table/TableGrid/TableGrid.js.map +0 -1
- package/dist/ExecutiveDashboard/components/Table/TableGrid/TableLayoutToggle.js +0 -2
- package/dist/ExecutiveDashboard/components/Table/TableGrid/TableLayoutToggle.js.map +0 -1
- package/dist/ExecutiveDashboard/components/Table/TableGrid/spans.js +0 -2
- package/dist/ExecutiveDashboard/components/Table/TableGrid/spans.js.map +0 -1
- package/dist/ExecutiveDashboard/components/Table/TableGrid/useResponsiveColumns.js +0 -2
- package/dist/ExecutiveDashboard/components/Table/TableGrid/useResponsiveColumns.js.map +0 -1
- package/dist/ExecutiveDashboard/components/ui/chart.js +0 -2
- package/dist/ExecutiveDashboard/hooks/useVisibilityPolling.js +0 -2
- package/dist/ExecutiveDashboard/hooks/useVisibilityPolling.js.map +0 -1
- package/dist/ExecutiveDashboard/utils/index.js +0 -2
- package/dist/ExecutiveDashboard/utils/index.js.map +0 -1
- package/dist/ExecutiveDashboard/utils/kpiIcon.js +0 -2
- package/dist/ExecutiveDashboard/utils/kpiIcon.js.map +0 -1
- package/dist/ExecutiveDashboard/utils/sectionOrder.js +0 -2
- package/dist/ExecutiveDashboard/utils/sectionOrder.js.map +0 -1
- package/dist/ExecutiveDashboard/utils/tableColumns.js +0 -2
- package/dist/ExecutiveDashboard/utils/tableColumns.js.map +0 -1
- package/dist/RecordDashboard/RecordApi/RecordDashboardApi.js +0 -2
- package/dist/RecordDashboard/RecordApi/RecordDashboardApi.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/AnalyticsChart/AnalyticsChart.js +0 -2
- package/dist/RecordDashboard/RecordComponents/AnalyticsChart/AnalyticsChart.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordBreakingNewsBanner.js +0 -2
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordBreakingNewsBanner.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordCardShell.js +0 -2
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordCardShell.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordCenteredCell.js +0 -2
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordCenteredCell.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordDashboardCard.js +0 -2
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordDashboardCard.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordDetailRow.js +0 -2
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordDetailRow.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordEventsSection.js +0 -2
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordEventsSection.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordFooterLinkButton.js +0 -2
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordFooterLinkButton.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordGridSection.js +0 -2
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordGridSection.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordListSection.js +0 -2
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordListSection.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordSectionContent.js +0 -2
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordSectionContent.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordSectionHeadingBar.js +0 -2
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordSectionHeadingBar.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordSkeletonRow.js +0 -2
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordSkeletonRow.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordTagsSection.js +0 -2
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordTagsSection.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordTopDropdownMenu.js +0 -2
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordTopDropdownMenu.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/DashboardCard/styles/RecordDashboardCardStyles.js +0 -2
- package/dist/RecordDashboard/RecordComponents/DashboardCard/styles/RecordDashboardCardStyles.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDashboardDateFilter.js +0 -2
- package/dist/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDashboardDateFilter.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDatePreset.js +0 -2
- package/dist/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDatePreset.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/DashboardSkeleton/RecordDashboardSkeleton.js +0 -2
- package/dist/RecordDashboard/RecordComponents/DashboardSkeleton/RecordDashboardSkeleton.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/DatePickers/RecordDatePicker.js +0 -2
- package/dist/RecordDashboard/RecordComponents/DatePickers/RecordDatePicker.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/DatePickers/RecordDateRangeSelector.js +0 -2
- package/dist/RecordDashboard/RecordComponents/DatePickers/RecordDateRangeSelector.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/DatePickers/RecordDateSelector.js +0 -2
- package/dist/RecordDashboard/RecordComponents/DatePickers/RecordDateSelector.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/DropDowns/RecordCustomMultiSelect.js +0 -2
- package/dist/RecordDashboard/RecordComponents/DropDowns/RecordCustomMultiSelect.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/DropDowns/RecordCustomSingleSelect.js +0 -2
- package/dist/RecordDashboard/RecordComponents/DropDowns/RecordCustomSingleSelect.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/FiltersSidebar/RecordCustomTextInput.js +0 -2
- package/dist/RecordDashboard/RecordComponents/FiltersSidebar/RecordCustomTextInput.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/FiltersSidebar/RecordFiltersSidebar.js +0 -2
- package/dist/RecordDashboard/RecordComponents/FiltersSidebar/RecordFiltersSidebar.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/Graph/RecordGraph.js +0 -2
- package/dist/RecordDashboard/RecordComponents/Graph/RecordGraph.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/Graph/RecordGraphEmptyState.js +0 -2
- package/dist/RecordDashboard/RecordComponents/Graph/RecordGraphEmptyState.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/Graph/RecordGraphSkeleton.js +0 -2
- package/dist/RecordDashboard/RecordComponents/Graph/RecordGraphSkeleton.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/Graph/RecordLineChart.js +0 -2
- package/dist/RecordDashboard/RecordComponents/Graph/RecordLineChart.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/Graph/RecordPlotBySelector.js +0 -2
- package/dist/RecordDashboard/RecordComponents/Graph/RecordPlotBySelector.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/Graph/types.js +0 -2
- package/dist/RecordDashboard/RecordComponents/MetricCard/RecordMetricCard.js +0 -2
- package/dist/RecordDashboard/RecordComponents/MetricCard/RecordMetricCard.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/RecordDashboard.js +0 -2
- package/dist/RecordDashboard/RecordComponents/RecordDashboard.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/StatsCard/RecordDashboardStats.js +0 -2
- package/dist/RecordDashboard/RecordComponents/StatsCard/RecordDashboardStats.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/Table/Pagination/TablePagination.js +0 -2
- package/dist/RecordDashboard/RecordComponents/Table/Pagination/TablePagination.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/Table/RecordFTable.js +0 -2
- package/dist/RecordDashboard/RecordComponents/Table/RecordFTable.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/Table/RecordSortDropdown.js +0 -2
- package/dist/RecordDashboard/RecordComponents/Table/RecordSortDropdown.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/Table/RecordTableCard.js +0 -2
- package/dist/RecordDashboard/RecordComponents/Table/RecordTableCard.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/Table/TableGrid/RecordSpans.js +0 -2
- package/dist/RecordDashboard/RecordComponents/Table/TableGrid/RecordSpans.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableGrid.js +0 -2
- package/dist/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableGrid.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableLayoutToggle.js +0 -2
- package/dist/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableLayoutToggle.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/Table/TableGrid/useRecordResponsiveColumns.js +0 -2
- package/dist/RecordDashboard/RecordComponents/Table/TableGrid/useRecordResponsiveColumns.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/TableHeader/TableHeader.js +0 -2
- package/dist/RecordDashboard/RecordComponents/TableHeader/TableHeader.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/ui/RecordChart.js +0 -2
- package/dist/RecordDashboard/RecordComponents/ui/RecordChart.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/ui/utils.js +0 -2
- package/dist/RecordDashboard/RecordDashboardWrapper.js +0 -2
- package/dist/RecordDashboard/RecordDashboardWrapper.js.map +0 -1
- package/dist/RecordDashboard/RecordUtils/RecordKpiIcon.js +0 -2
- package/dist/RecordDashboard/RecordUtils/RecordKpiIcon.js.map +0 -1
- package/dist/RecordDashboard/RecordUtils/RecordSectionOrder.js +0 -2
- package/dist/RecordDashboard/RecordUtils/RecordSectionOrder.js.map +0 -1
- package/dist/RecordDashboard/RecordUtils/RecordTableColumns.js +0 -2
- package/dist/RecordDashboard/RecordUtils/RecordTableColumns.js.map +0 -1
- package/dist/RecordDashboard/RecordUtils/index.js +0 -2
- package/dist/RecordDashboard/RecordUtils/index.js.map +0 -1
- package/dist/cjs/ExecutiveDashboard/ExecutiveDashboardWrapper.js +0 -2
- package/dist/cjs/ExecutiveDashboard/ExecutiveDashboardWrapper.js.map +0 -1
- package/dist/cjs/ExecutiveDashboard/api/dashboardApi.js +0 -2
- package/dist/cjs/ExecutiveDashboard/api/dashboardApi.js.map +0 -1
- package/dist/cjs/ExecutiveDashboard/components/DashboardCard/BreakingNewsBanner.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/DashboardCard/CardShell.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/DashboardCard/CenteredCell.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/DashboardCard/DashboardCard.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/DashboardCard/DetailRow.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/DashboardCard/EventsSection.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/DashboardCard/FooterLinkButton.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/DashboardCard/GridSection.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/DashboardCard/ListSection.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/DashboardCard/SectionHeadingBar.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/DashboardCard/SkeletonRow.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/DashboardCard/TagsSection.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/DashboardCard/TopDropdownMenu.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/DashboardDateFilter/DashboardDateFilter.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/DashboardDateFilter/datePreset.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/DashboardSkeleton/DashboardSkeleton.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/DashboardSkeleton/DashboardSkeleton.js.map +0 -1
- package/dist/cjs/ExecutiveDashboard/components/DatePickers/DatePicker.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/DatePickers/DateRangeSelector.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/DatePickers/DateSelector.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/DropDowns/CustomMultiSelect.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/DropDowns/CustomSingleSelect.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/ExecutiveDashboard.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/ExecutiveDashboard.js.map +0 -1
- package/dist/cjs/ExecutiveDashboard/components/FiltersSidebar/CustomTextInput.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/FiltersSidebar/FiltersSidebar.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/Graph/Graph.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/Graph/GraphEmptyState.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/Graph/GraphEmptyState.js.map +0 -1
- package/dist/cjs/ExecutiveDashboard/components/Graph/GraphSkeleton.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/Graph/GraphSkeleton.js.map +0 -1
- package/dist/cjs/ExecutiveDashboard/components/Graph/LineChart.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/Graph/PlotBySelector.js +0 -2
- 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/Graph/types.js.map +0 -1
- package/dist/cjs/ExecutiveDashboard/components/MetricCard/MetricCard.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/Table/FTable.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/Table/SortDropdown.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/Table/TableCard.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/Table/TableGrid/TableGrid.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/Table/TableGrid/TableGrid.js.map +0 -1
- package/dist/cjs/ExecutiveDashboard/components/Table/TableGrid/TableLayoutToggle.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/Table/TableGrid/TableLayoutToggle.js.map +0 -1
- package/dist/cjs/ExecutiveDashboard/components/Table/TableGrid/spans.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/Table/TableGrid/spans.js.map +0 -1
- package/dist/cjs/ExecutiveDashboard/components/Table/TableGrid/useResponsiveColumns.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/Table/TableGrid/useResponsiveColumns.js.map +0 -1
- package/dist/cjs/ExecutiveDashboard/components/ui/chart.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/ui/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/ExecutiveDashboard/utils/index.js +0 -2
- package/dist/cjs/ExecutiveDashboard/utils/index.js.map +0 -1
- package/dist/cjs/ExecutiveDashboard/utils/kpiIcon.js +0 -2
- package/dist/cjs/ExecutiveDashboard/utils/kpiIcon.js.map +0 -1
- package/dist/cjs/ExecutiveDashboard/utils/sectionOrder.js +0 -2
- package/dist/cjs/ExecutiveDashboard/utils/sectionOrder.js.map +0 -1
- package/dist/cjs/ExecutiveDashboard/utils/tableColumns.js +0 -2
- package/dist/cjs/ExecutiveDashboard/utils/tableColumns.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordApi/RecordDashboardApi.js +0 -2
- package/dist/cjs/RecordDashboard/RecordApi/RecordDashboardApi.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/AnalyticsChart/AnalyticsChart.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/AnalyticsChart/AnalyticsChart.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordBreakingNewsBanner.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordBreakingNewsBanner.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordCardShell.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordCardShell.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordCenteredCell.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordCenteredCell.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordDashboardCard.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordDashboardCard.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordDetailRow.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordDetailRow.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordEventsSection.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordEventsSection.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordFooterLinkButton.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordFooterLinkButton.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordGridSection.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordGridSection.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordListSection.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordListSection.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordSectionContent.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordSectionContent.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordSectionHeadingBar.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordSectionHeadingBar.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordSkeletonRow.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordSkeletonRow.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordTagsSection.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordTagsSection.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordTopDropdownMenu.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordTopDropdownMenu.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/styles/RecordDashboardCardStyles.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/styles/RecordDashboardCardStyles.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDashboardDateFilter.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDashboardDateFilter.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDatePreset.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDatePreset.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardSkeleton/RecordDashboardSkeleton.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardSkeleton/RecordDashboardSkeleton.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/DatePickers/RecordDatePicker.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/DatePickers/RecordDatePicker.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/DatePickers/RecordDateRangeSelector.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/DatePickers/RecordDateRangeSelector.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/DatePickers/RecordDateSelector.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/DatePickers/RecordDateSelector.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/DropDowns/RecordCustomMultiSelect.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/DropDowns/RecordCustomMultiSelect.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/DropDowns/RecordCustomSingleSelect.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/DropDowns/RecordCustomSingleSelect.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/FiltersSidebar/RecordCustomTextInput.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/FiltersSidebar/RecordCustomTextInput.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/FiltersSidebar/RecordFiltersSidebar.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/FiltersSidebar/RecordFiltersSidebar.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/Graph/RecordGraph.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/Graph/RecordGraph.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/Graph/RecordGraphEmptyState.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/Graph/RecordGraphEmptyState.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/Graph/RecordGraphSkeleton.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/Graph/RecordGraphSkeleton.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/Graph/RecordLineChart.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/Graph/RecordLineChart.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/Graph/RecordPlotBySelector.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/Graph/RecordPlotBySelector.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/Graph/types.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/Graph/types.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/MetricCard/RecordMetricCard.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/MetricCard/RecordMetricCard.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/RecordDashboard.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/RecordDashboard.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/StatsCard/RecordDashboardStats.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/StatsCard/RecordDashboardStats.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/Table/Pagination/TablePagination.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/Table/Pagination/TablePagination.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/Table/RecordFTable.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/Table/RecordFTable.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/Table/RecordSortDropdown.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/Table/RecordSortDropdown.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/Table/RecordTableCard.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/Table/RecordTableCard.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/Table/TableGrid/RecordSpans.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/Table/TableGrid/RecordSpans.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableGrid.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableGrid.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableLayoutToggle.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableLayoutToggle.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/Table/TableGrid/useRecordResponsiveColumns.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/Table/TableGrid/useRecordResponsiveColumns.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/TableHeader/TableHeader.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/TableHeader/TableHeader.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/ui/RecordChart.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/ui/RecordChart.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/ui/utils.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/ui/utils.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordDashboardWrapper.js +0 -2
- package/dist/cjs/RecordDashboard/RecordDashboardWrapper.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordUtils/RecordKpiIcon.js +0 -2
- package/dist/cjs/RecordDashboard/RecordUtils/RecordKpiIcon.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordUtils/RecordSectionOrder.js +0 -2
- package/dist/cjs/RecordDashboard/RecordUtils/RecordSectionOrder.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordUtils/RecordTableColumns.js +0 -2
- package/dist/cjs/RecordDashboard/RecordUtils/RecordTableColumns.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordUtils/index.js +0 -2
- package/dist/cjs/RecordDashboard/RecordUtils/index.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/ExecutiveDashboardWrapper.d.ts +0 -5
- package/dist/types/ExecutiveDashboard/ExecutiveDashboardWrapper.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/TestExecutiveDashboard.d.ts +0 -3
- package/dist/types/ExecutiveDashboard/TestExecutiveDashboard.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/api/dashboardApi.d.ts +0 -31
- package/dist/types/ExecutiveDashboard/api/dashboardApi.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/DashboardCard/BreakingNewsBanner.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/DashboardCard/CardShell.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/DashboardCard/CenteredCell.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/DashboardCard/DashboardCard.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/DashboardCard/DetailRow.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/DashboardCard/EventsSection.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/DashboardCard/FooterLinkButton.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/DashboardCard/GridSection.d.ts +0 -4
- package/dist/types/ExecutiveDashboard/components/DashboardCard/GridSection.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/DashboardCard/ListSection.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/DashboardCard/SectionHeadingBar.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/DashboardCard/SkeletonRow.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/DashboardCard/TagsSection.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/DashboardCard/TopDropdownMenu.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/DashboardCard/sectionContent.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/DashboardCard/styles/DashboardCardStyles.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/DashboardCard/types.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/DashboardDateFilter/DashboardDateFilter.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/DashboardDateFilter/DashboardDateFilter.types.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/DashboardDateFilter/datePreset.d.ts +0 -137
- package/dist/types/ExecutiveDashboard/components/DashboardDateFilter/datePreset.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/DashboardSkeleton/DashboardSkeleton.d.ts +0 -5
- package/dist/types/ExecutiveDashboard/components/DashboardSkeleton/DashboardSkeleton.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/DatePickers/DatePicker.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/DatePickers/DateRangeSelector.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/DatePickers/DateSelector.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/DropDowns/CustomMultiSelect.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/DropDowns/CustomSingleSelect.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/ExecutiveDashboard.d.ts +0 -59
- package/dist/types/ExecutiveDashboard/components/ExecutiveDashboard.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/FiltersSidebar/CustomTextInput.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/FiltersSidebar/FiltersSidebar.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/Graph/Graph.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/Graph/GraphEmptyState.d.ts +0 -11
- package/dist/types/ExecutiveDashboard/components/Graph/GraphEmptyState.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/Graph/GraphSkeleton.d.ts +0 -11
- package/dist/types/ExecutiveDashboard/components/Graph/GraphSkeleton.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/Graph/LineChart.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/Graph/PlotBySelector.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/Graph/types.d.ts +0 -278
- package/dist/types/ExecutiveDashboard/components/Graph/types.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/MetricCard/MetricCard.d.ts +0 -49
- package/dist/types/ExecutiveDashboard/components/MetricCard/MetricCard.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/Table/FTable.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/Table/SortDropdown.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/Table/TableCard.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/Table/TableGrid/TableGrid.d.ts +0 -54
- package/dist/types/ExecutiveDashboard/components/Table/TableGrid/TableGrid.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/Table/TableGrid/TableLayoutToggle.d.ts +0 -20
- package/dist/types/ExecutiveDashboard/components/Table/TableGrid/TableLayoutToggle.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/Table/TableGrid/spans.d.ts +0 -15
- package/dist/types/ExecutiveDashboard/components/Table/TableGrid/spans.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/Table/TableGrid/useResponsiveColumns.d.ts +0 -17
- package/dist/types/ExecutiveDashboard/components/Table/TableGrid/useResponsiveColumns.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/components/ui/chart.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/ui/utils.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/constant/index.d.ts +0 -5
- package/dist/types/ExecutiveDashboard/constant/index.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
- package/dist/types/ExecutiveDashboard/types/index.d.ts +0 -416
- package/dist/types/ExecutiveDashboard/types/index.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/utils/index.d.ts +0 -65
- package/dist/types/ExecutiveDashboard/utils/index.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/utils/kpiIcon.d.ts +0 -4
- package/dist/types/ExecutiveDashboard/utils/kpiIcon.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/utils/sectionOrder.d.ts +0 -43
- package/dist/types/ExecutiveDashboard/utils/sectionOrder.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/utils/tableColumns.d.ts +0 -16
- package/dist/types/ExecutiveDashboard/utils/tableColumns.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordApi/RecordDashboardApi.d.ts +0 -31
- package/dist/types/RecordDashboard/RecordApi/RecordDashboardApi.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/AnalyticsChart/AnalyticsChart.d.ts +0 -20
- package/dist/types/RecordDashboard/RecordComponents/AnalyticsChart/AnalyticsChart.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordBreakingNewsBanner.d.ts +0 -9
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordBreakingNewsBanner.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordCardShell.d.ts +0 -22
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordCardShell.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordCenteredCell.d.ts +0 -6
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordCenteredCell.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordDashboardCard.d.ts +0 -5
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordDashboardCard.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordDetailRow.d.ts +0 -9
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordDetailRow.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordEventsSection.d.ts +0 -4
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordEventsSection.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordFooterLinkButton.d.ts +0 -6
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordFooterLinkButton.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordGridSection.d.ts +0 -4
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordGridSection.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordListSection.d.ts +0 -5
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordListSection.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordSectionContent.d.ts +0 -4
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordSectionContent.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordSectionHeadingBar.d.ts +0 -9
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordSectionHeadingBar.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordSkeletonRow.d.ts +0 -3
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordSkeletonRow.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordTagsSection.d.ts +0 -4
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordTagsSection.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordTopDropdownMenu.d.ts +0 -6
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordTopDropdownMenu.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/styles/RecordDashboardCardStyles.d.ts +0 -17
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/styles/RecordDashboardCardStyles.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/types.d.ts +0 -156
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/types.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDashboardDateFilter.d.ts +0 -42
- package/dist/types/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDashboardDateFilter.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDashboardDateFilter.types.d.ts +0 -18
- package/dist/types/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDashboardDateFilter.types.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDatePreset.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/DashboardSkeleton/RecordDashboardSkeleton.d.ts +0 -5
- package/dist/types/RecordDashboard/RecordComponents/DashboardSkeleton/RecordDashboardSkeleton.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/DatePickers/RecordDatePicker.d.ts +0 -11
- package/dist/types/RecordDashboard/RecordComponents/DatePickers/RecordDatePicker.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/DatePickers/RecordDateRangeSelector.d.ts +0 -20
- package/dist/types/RecordDashboard/RecordComponents/DatePickers/RecordDateRangeSelector.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/DatePickers/RecordDateSelector.d.ts +0 -19
- package/dist/types/RecordDashboard/RecordComponents/DatePickers/RecordDateSelector.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/DropDowns/RecordCustomMultiSelect.d.ts +0 -18
- package/dist/types/RecordDashboard/RecordComponents/DropDowns/RecordCustomMultiSelect.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/DropDowns/RecordCustomSingleSelect.d.ts +0 -17
- package/dist/types/RecordDashboard/RecordComponents/DropDowns/RecordCustomSingleSelect.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/FiltersSidebar/RecordCustomTextInput.d.ts +0 -13
- package/dist/types/RecordDashboard/RecordComponents/FiltersSidebar/RecordCustomTextInput.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/FiltersSidebar/RecordFiltersSidebar.d.ts +0 -35
- package/dist/types/RecordDashboard/RecordComponents/FiltersSidebar/RecordFiltersSidebar.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/Graph/RecordGraph.d.ts +0 -5
- package/dist/types/RecordDashboard/RecordComponents/Graph/RecordGraph.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/Graph/RecordGraphEmptyState.d.ts +0 -11
- package/dist/types/RecordDashboard/RecordComponents/Graph/RecordGraphEmptyState.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/Graph/RecordGraphSkeleton.d.ts +0 -11
- package/dist/types/RecordDashboard/RecordComponents/Graph/RecordGraphSkeleton.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/Graph/RecordLineChart.d.ts +0 -26
- package/dist/types/RecordDashboard/RecordComponents/Graph/RecordLineChart.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/Graph/RecordPlotBySelector.d.ts +0 -18
- package/dist/types/RecordDashboard/RecordComponents/Graph/RecordPlotBySelector.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/Graph/types.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/MetricCard/RecordMetricCard.d.ts +0 -49
- package/dist/types/RecordDashboard/RecordComponents/MetricCard/RecordMetricCard.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/RecordDashboard.d.ts +0 -84
- package/dist/types/RecordDashboard/RecordComponents/RecordDashboard.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/StatsCard/RecordDashboardStats.d.ts +0 -10
- package/dist/types/RecordDashboard/RecordComponents/StatsCard/RecordDashboardStats.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/Table/Pagination/TablePagination.d.ts +0 -28
- package/dist/types/RecordDashboard/RecordComponents/Table/Pagination/TablePagination.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/Table/RecordFTable.d.ts +0 -70
- package/dist/types/RecordDashboard/RecordComponents/Table/RecordFTable.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/Table/RecordSortDropdown.d.ts +0 -14
- package/dist/types/RecordDashboard/RecordComponents/Table/RecordSortDropdown.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/Table/RecordTableCard.d.ts +0 -43
- package/dist/types/RecordDashboard/RecordComponents/Table/RecordTableCard.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/Table/TableGrid/RecordSpans.d.ts +0 -15
- package/dist/types/RecordDashboard/RecordComponents/Table/TableGrid/RecordSpans.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableGrid.d.ts +0 -54
- package/dist/types/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableGrid.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableLayoutToggle.d.ts +0 -20
- package/dist/types/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableLayoutToggle.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/Table/TableGrid/useRecordResponsiveColumns.d.ts +0 -17
- package/dist/types/RecordDashboard/RecordComponents/Table/TableGrid/useRecordResponsiveColumns.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/TableHeader/TableHeader.d.ts +0 -53
- package/dist/types/RecordDashboard/RecordComponents/TableHeader/TableHeader.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/ui/RecordChart.d.ts +0 -72
- package/dist/types/RecordDashboard/RecordComponents/ui/RecordChart.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/ui/utils.d.ts +0 -7
- package/dist/types/RecordDashboard/RecordComponents/ui/utils.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordConstant/index.d.ts +0 -5
- package/dist/types/RecordDashboard/RecordConstant/index.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordDashboardWrapper.d.ts +0 -8
- package/dist/types/RecordDashboard/RecordDashboardWrapper.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordTypes/index.d.ts +0 -984
- package/dist/types/RecordDashboard/RecordTypes/index.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordUtils/RecordKpiIcon.d.ts +0 -4
- package/dist/types/RecordDashboard/RecordUtils/RecordKpiIcon.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordUtils/RecordSectionOrder.d.ts +0 -43
- package/dist/types/RecordDashboard/RecordUtils/RecordSectionOrder.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordUtils/RecordTableColumns.d.ts +0 -22
- package/dist/types/RecordDashboard/RecordUtils/RecordTableColumns.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordUtils/index.d.ts +0 -65
- package/dist/types/RecordDashboard/RecordUtils/index.d.ts.map +0 -1
- package/dist/types/RecordDashboard/TestRecordDashbaord.d.ts +0 -3
- package/dist/types/RecordDashboard/TestRecordDashbaord.d.ts.map +0 -1
- /package/dist/{ExecutiveDashboard → cjs}/components/DashboardCard/BreakingNewsBanner.js.map +0 -0
- /package/dist/{ExecutiveDashboard → cjs}/components/DashboardCard/CardShell.js.map +0 -0
- /package/dist/{ExecutiveDashboard → cjs}/components/DashboardCard/CenteredCell.js.map +0 -0
- /package/dist/{ExecutiveDashboard → cjs}/components/DashboardCard/DashboardCard.js.map +0 -0
- /package/dist/{ExecutiveDashboard → cjs}/components/DashboardCard/DetailRow.js.map +0 -0
- /package/dist/{ExecutiveDashboard → cjs}/components/DashboardCard/EventsSection.js.map +0 -0
- /package/dist/{ExecutiveDashboard → cjs}/components/DashboardCard/FooterLinkButton.js.map +0 -0
- /package/dist/{ExecutiveDashboard → cjs}/components/DashboardCard/GridSection.js.map +0 -0
- /package/dist/{ExecutiveDashboard → cjs}/components/DashboardCard/ListSection.js.map +0 -0
- /package/dist/{ExecutiveDashboard → cjs}/components/DashboardCard/SectionHeadingBar.js.map +0 -0
- /package/dist/{ExecutiveDashboard → cjs}/components/DashboardCard/SkeletonRow.js.map +0 -0
- /package/dist/{ExecutiveDashboard → cjs}/components/DashboardCard/TagsSection.js.map +0 -0
- /package/dist/{ExecutiveDashboard → cjs}/components/DashboardCard/TopDropdownMenu.js.map +0 -0
- /package/dist/cjs/{ExecutiveDashboard/components → components}/DashboardCard/sectionContent.js +0 -0
- /package/dist/{ExecutiveDashboard → cjs}/components/DashboardCard/sectionContent.js.map +0 -0
- /package/dist/cjs/{ExecutiveDashboard/components → components}/DashboardCard/styles/DashboardCardStyles.js +0 -0
- /package/dist/{ExecutiveDashboard → cjs}/components/DashboardCard/styles/DashboardCardStyles.js.map +0 -0
- /package/dist/{ExecutiveDashboard → cjs}/components/DashboardDateFilter/DashboardDateFilter.js.map +0 -0
- /package/dist/{ExecutiveDashboard → cjs}/components/DashboardDateFilter/datePreset.js.map +0 -0
- /package/dist/{ExecutiveDashboard → cjs}/components/DatePickers/DatePicker.js.map +0 -0
- /package/dist/{ExecutiveDashboard → cjs}/components/DatePickers/DateRangeSelector.js.map +0 -0
- /package/dist/{ExecutiveDashboard → cjs}/components/DatePickers/DateSelector.js.map +0 -0
- /package/dist/{ExecutiveDashboard → cjs}/components/DropDowns/CustomMultiSelect.js.map +0 -0
- /package/dist/{ExecutiveDashboard → cjs}/components/DropDowns/CustomSingleSelect.js.map +0 -0
- /package/dist/{ExecutiveDashboard → cjs}/components/FiltersSidebar/CustomTextInput.js.map +0 -0
- /package/dist/{ExecutiveDashboard → cjs}/components/FiltersSidebar/FiltersSidebar.js.map +0 -0
- /package/dist/{ExecutiveDashboard → cjs}/components/Graph/Graph.js.map +0 -0
- /package/dist/{ExecutiveDashboard → cjs}/components/Graph/LineChart.js.map +0 -0
- /package/dist/{ExecutiveDashboard → cjs}/components/Graph/PlotBySelector.js.map +0 -0
- /package/dist/cjs/{ExecutiveDashboard/components → components}/Graph/types.js +0 -0
- /package/dist/{ExecutiveDashboard → cjs}/components/Graph/types.js.map +0 -0
- /package/dist/{ExecutiveDashboard → cjs}/components/MetricCard/MetricCard.js.map +0 -0
- /package/dist/{ExecutiveDashboard → cjs}/components/Table/FTable.js.map +0 -0
- /package/dist/{ExecutiveDashboard → cjs}/components/Table/SortDropdown.js.map +0 -0
- /package/dist/{ExecutiveDashboard → cjs}/components/Table/TableCard.js.map +0 -0
- /package/dist/{ExecutiveDashboard → cjs}/components/ui/chart.js.map +0 -0
- /package/dist/cjs/{ExecutiveDashboard/components → components}/ui/utils.js +0 -0
- /package/dist/{ExecutiveDashboard → cjs}/components/ui/utils.js.map +0 -0
- /package/dist/{cjs/ExecutiveDashboard/components → components}/DashboardCard/BreakingNewsBanner.js.map +0 -0
- /package/dist/{cjs/ExecutiveDashboard/components → components}/DashboardCard/CardShell.js.map +0 -0
- /package/dist/{cjs/ExecutiveDashboard/components → components}/DashboardCard/CenteredCell.js.map +0 -0
- /package/dist/{cjs/ExecutiveDashboard/components → components}/DashboardCard/DashboardCard.js.map +0 -0
- /package/dist/{cjs/ExecutiveDashboard/components → components}/DashboardCard/DetailRow.js.map +0 -0
- /package/dist/{cjs/ExecutiveDashboard/components → components}/DashboardCard/EventsSection.js.map +0 -0
- /package/dist/{cjs/ExecutiveDashboard/components → components}/DashboardCard/FooterLinkButton.js.map +0 -0
- /package/dist/{cjs/ExecutiveDashboard/components → components}/DashboardCard/GridSection.js.map +0 -0
- /package/dist/{cjs/ExecutiveDashboard/components → components}/DashboardCard/ListSection.js.map +0 -0
- /package/dist/{cjs/ExecutiveDashboard/components → components}/DashboardCard/SectionHeadingBar.js.map +0 -0
- /package/dist/{cjs/ExecutiveDashboard/components → components}/DashboardCard/SkeletonRow.js.map +0 -0
- /package/dist/{cjs/ExecutiveDashboard/components → components}/DashboardCard/TagsSection.js.map +0 -0
- /package/dist/{cjs/ExecutiveDashboard/components → components}/DashboardCard/TopDropdownMenu.js.map +0 -0
- /package/dist/{ExecutiveDashboard/components → components}/DashboardCard/sectionContent.js +0 -0
- /package/dist/{cjs/ExecutiveDashboard/components → components}/DashboardCard/sectionContent.js.map +0 -0
- /package/dist/{ExecutiveDashboard/components → components}/DashboardCard/styles/DashboardCardStyles.js +0 -0
- /package/dist/{cjs/ExecutiveDashboard/components → components}/DashboardCard/styles/DashboardCardStyles.js.map +0 -0
- /package/dist/{cjs/ExecutiveDashboard/components → components}/DashboardDateFilter/DashboardDateFilter.js.map +0 -0
- /package/dist/{cjs/ExecutiveDashboard/components → components}/DashboardDateFilter/datePreset.js.map +0 -0
- /package/dist/{cjs/ExecutiveDashboard/components → components}/DatePickers/DatePicker.js.map +0 -0
- /package/dist/{cjs/ExecutiveDashboard/components → components}/DatePickers/DateRangeSelector.js.map +0 -0
- /package/dist/{cjs/ExecutiveDashboard/components → components}/DatePickers/DateSelector.js.map +0 -0
- /package/dist/{cjs/ExecutiveDashboard/components → components}/DropDowns/CustomMultiSelect.js.map +0 -0
- /package/dist/{cjs/ExecutiveDashboard/components → components}/DropDowns/CustomSingleSelect.js.map +0 -0
- /package/dist/{cjs/ExecutiveDashboard/components → components}/FiltersSidebar/CustomTextInput.js.map +0 -0
- /package/dist/{cjs/ExecutiveDashboard/components → components}/FiltersSidebar/FiltersSidebar.js.map +0 -0
- /package/dist/{cjs/ExecutiveDashboard/components → components}/Graph/Graph.js.map +0 -0
- /package/dist/{cjs/ExecutiveDashboard/components → components}/Graph/LineChart.js.map +0 -0
- /package/dist/{cjs/ExecutiveDashboard/components → components}/Graph/PlotBySelector.js.map +0 -0
- /package/dist/{ExecutiveDashboard/components → components}/Graph/types.js +0 -0
- /package/dist/{RecordDashboard/RecordComponents → components}/Graph/types.js.map +0 -0
- /package/dist/{cjs/ExecutiveDashboard/components → components}/MetricCard/MetricCard.js.map +0 -0
- /package/dist/{cjs/ExecutiveDashboard/components → components}/Table/FTable.js.map +0 -0
- /package/dist/{cjs/ExecutiveDashboard/components → components}/Table/SortDropdown.js.map +0 -0
- /package/dist/{cjs/ExecutiveDashboard/components → components}/Table/TableCard.js.map +0 -0
- /package/dist/{cjs/ExecutiveDashboard/components → components}/ui/chart.js.map +0 -0
- /package/dist/{ExecutiveDashboard/components → components}/ui/utils.js +0 -0
- /package/dist/{RecordDashboard/RecordComponents → components}/ui/utils.js.map +0 -0
- /package/dist/types/{ExecutiveDashboard/components → components}/DashboardCard/BreakingNewsBanner.d.ts +0 -0
- /package/dist/types/{ExecutiveDashboard/components → components}/DashboardCard/CardShell.d.ts +0 -0
- /package/dist/types/{ExecutiveDashboard/components → components}/DashboardCard/CenteredCell.d.ts +0 -0
- /package/dist/types/{ExecutiveDashboard/components → components}/DashboardCard/DashboardCard.d.ts +0 -0
- /package/dist/types/{ExecutiveDashboard/components → components}/DashboardCard/DetailRow.d.ts +0 -0
- /package/dist/types/{ExecutiveDashboard/components → components}/DashboardCard/FooterLinkButton.d.ts +0 -0
- /package/dist/types/{ExecutiveDashboard/components → components}/DashboardCard/SectionHeadingBar.d.ts +0 -0
- /package/dist/types/{ExecutiveDashboard/components → components}/DashboardCard/SkeletonRow.d.ts +0 -0
- /package/dist/types/{ExecutiveDashboard/components → components}/DashboardCard/TopDropdownMenu.d.ts +0 -0
- /package/dist/types/{ExecutiveDashboard/components → components}/DashboardCard/styles/DashboardCardStyles.d.ts +0 -0
- /package/dist/types/{ExecutiveDashboard/components → components}/DashboardCard/types.d.ts +0 -0
- /package/dist/types/{ExecutiveDashboard/components → components}/DashboardDateFilter/DashboardDateFilter.types.d.ts +0 -0
- /package/dist/types/{ExecutiveDashboard/components → components}/DatePickers/DateRangeSelector.d.ts +0 -0
- /package/dist/types/{ExecutiveDashboard/components → components}/ui/utils.d.ts +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FTable.d.ts","sourceRoot":"","sources":["../../../../src/components/Table/FTable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+C,MAAM,OAAO,CAAC;AAMpE,OAAO,yCAAyC,CAAC;AACjD,OAAO,2BAA2B,CAAC;AAEnC,OAAO,cAAc,CAAC;AAEtB,MAAM,MAAM,QAAQ,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;AAE3C,MAAM,MAAM,eAAe,GAAG;IAC5B,UAAU,EAAE,OAAO,CAAC;IACpB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,MAAM,EAAE,MAAM,IAAI,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAE7B,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG;IACxB,IAAI,CAAC,EAAE,QAAQ,EAAE,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE;QACX,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;QACvB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,WAAW,CAAC,EAAE,MAAM,CAAC;KACtB,CAAC;IAEF,OAAO,CAAC,EAAE;QACR,GAAG,EAAE,MAAM,CAAC;QACZ,MAAM,EAAE,MAAM,CAAC;QACf,IAAI,EAAE,CAAC,GAAG,EAAE,QAAQ,KAAK,KAAK,CAAC,SAAS,CAAC;QAEzC,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QAE5B,WAAW,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QAElC,SAAS,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QAChC,eAAe,CAAC,EAAE,MAAM,CAAC;QACzB,aAAa,CAAC,EAAE,MAAM,CAAC;KACxB,EAAE,CAAC;IAEJ,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAKjC,UAAU,CAAC,EAAE,CAAC,GAAG,EAAE,QAAQ,EAAE,OAAO,EAAE,eAAe,KAAK,IAAI,CAAC;IAK/D,SAAS,CAAC,EAAE;QACV,MAAM,CAAC,EAAE,CAAC,GAAG,EAAE,QAAQ,EAAE,OAAO,EAAE,gBAAgB,KAAK,KAAK,CAAC,SAAS,CAAC;QAEvE,gBAAgB,CAAC,EAAE,OAAO,CAAC;QAE3B,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;KAC7B,CAAC;CAEH,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,EAC7B,IAAS,EACT,OAAO,EACP,WAAW,EACX,UAAU,EACV,OAAO,EACP,UAAU,EACV,OAAO,EACP,UAAU,EACV,UAAU,EACV,SAAS,EACT,YAAqB,EACtB,EAAE,WAAW,2CA4Nb"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
import "./sortDropdown.css";
|
|
3
2
|
export interface SortDropdownProps {
|
|
4
3
|
value: string;
|
|
@@ -10,5 +9,5 @@ export interface SortDropdownProps {
|
|
|
10
9
|
placeholder?: string;
|
|
11
10
|
onChange: (sortBy: string, orderBy: "asc" | "desc") => void;
|
|
12
11
|
}
|
|
13
|
-
export default function SortDropdown({ value, orderBy, options, placeholder, onChange, }: SortDropdownProps):
|
|
12
|
+
export default function SortDropdown({ value, orderBy, options, placeholder, onChange, }: SortDropdownProps): import("react/jsx-runtime").JSX.Element;
|
|
14
13
|
//# sourceMappingURL=SortDropdown.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SortDropdown.d.ts","sourceRoot":"","sources":["../../../../src/components/Table/SortDropdown.tsx"],"names":[],"mappings":"AAaA,OAAO,oBAAoB,CAAC;AAE5B,MAAM,WAAW,iBAAiB;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;IACzB,OAAO,EAAE;QACL,KAAK,EAAE,MAAM,CAAC;QACd,KAAK,EAAE,MAAM,CAAC;KACjB,EAAE,CAAC;IACJ,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,KAAK,GAAG,MAAM,KAAK,IAAI,CAAC;CAC/D;AAED,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EACjC,KAAK,EACL,OAAe,EACf,OAAO,EACP,WAAuB,EACvB,QAAQ,GACX,EAAE,iBAAiB,2CA8HnB"}
|
|
@@ -21,8 +21,7 @@ export interface TableCardProps {
|
|
|
21
21
|
placeholder?: string;
|
|
22
22
|
onChange: (sortField: string, orderBy: "asc" | "desc") => void;
|
|
23
23
|
};
|
|
24
|
-
|
|
25
|
-
onExpand?: (isExpanded: boolean) => void;
|
|
24
|
+
onExpand?: () => void;
|
|
26
25
|
styles?: {
|
|
27
26
|
root?: React.CSSProperties;
|
|
28
27
|
header?: React.CSSProperties;
|
|
@@ -31,5 +30,5 @@ export interface TableCardProps {
|
|
|
31
30
|
};
|
|
32
31
|
table?: Partial<React.ComponentProps<typeof FTable>>;
|
|
33
32
|
}
|
|
34
|
-
export default function TableCard({ title, icon, showExpandButton, className, styles, table, searchBar, sort, onExpand }: TableCardProps):
|
|
33
|
+
export default function TableCard({ title, icon, showExpandButton, className, styles, table, searchBar, sort, onExpand }: TableCardProps): import("react/jsx-runtime").JSX.Element;
|
|
35
34
|
//# sourceMappingURL=TableCard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TableCard.d.ts","sourceRoot":"","sources":["../../../../src/components/Table/TableCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAQxC,OAAO,MAAM,MAAM,UAAU,CAAC;AAI9B,OAAO,iBAAiB,CAAC;AAEzB,MAAM,WAAW,cAAc;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,SAAS,CAAC,EAAE;QACR,KAAK,EAAE,MAAM,CAAC;QACd,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;KACrC,CAAC;IAEF,IAAI,CAAC,EAAE;QACH,KAAK,EAAE,MAAM,CAAC;QACd,OAAO,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;QACzB,OAAO,EAAE;YACL,KAAK,EAAE,MAAM,CAAC;YACd,KAAK,EAAE,MAAM,CAAC;SACjB,EAAE,CAAC;QAEJ,WAAW,CAAC,EAAE,MAAM,CAAC;QAErB,QAAQ,EAAE,CACN,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,KAAK,GAAG,MAAM,KACtB,IAAI,CAAC;KACb,CAAC;IAEF,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IAGtB,MAAM,CAAC,EAAE;QACL,IAAI,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QAC3B,MAAM,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QAC7B,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QAC5B,IAAI,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;KAC9B,CAAC;IACF,KAAK,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC;CACxD;AAED,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,EAC9B,KAAK,EACL,IAAI,EACJ,gBAAuB,EACvB,SAAS,EACT,MAAM,EACN,KAAK,EACL,SAAS,EACT,IAAI,EACJ,QAAQ,EACX,EAAE,cAAc,2CAqGhB"}
|
|
@@ -26,7 +26,6 @@ type ChartContextProps = {
|
|
|
26
26
|
export declare function useChart(): ChartContextProps;
|
|
27
27
|
export declare const ChartContainer: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
|
|
28
28
|
config: ChartConfig;
|
|
29
|
-
scrollable?: boolean | undefined;
|
|
30
29
|
children: React.ComponentProps<typeof RechartsPrimitive.ResponsiveContainer>["children"];
|
|
31
30
|
}, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
32
31
|
export declare const ChartTooltip: typeof RechartsPrimitive.Tooltip;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chart.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/chart.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,iBAAiB,MAAM,UAAU,CAAC;AAE9C,OAAO,aAAa,CAAC;AAErB;;;;;;;;;;;GAWG;AAEH,MAAM,MAAM,WAAW,GAAG;IACxB,CAAC,GAAG,EAAE,MAAM,GAAG;QACb,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;QACxB,IAAI,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB,CAAC;CACH,CAAC;AAEF,KAAK,iBAAiB,GAAG;IAAE,MAAM,EAAE,WAAW,CAAA;CAAE,CAAC;AAIjD,wBAAgB,QAAQ,sBAMvB;AAID,eAAO,MAAM,cAAc;YAGf,WAAW;cACT,MAAM,cAAc,CAC5B,OAAO,kBAAkB,mBAAmB,CAC7C,CAAC,UAAU,CAAC;gDAqBf,CAAC;AAwBH,eAAO,MAAM,YAAY,kCAA4B,CAAC;AAEtD,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,GAAG,CAAC;CACf,CAAC;AAEF,eAAO,MAAM,mBAAmB;;;YAKpB,GAAG;;;;;;;8BAOc,GAAG,WAAW,WAAW,EAAE,KAAK,MAAM,SAAS;yBAE/D,GAAG,QACJ,GAAG,QACH,WAAW,SACV,MAAM,WACJ,GAAG,KACT,MAAM,SAAS;IACpB,qDAAqD;6CACZ,GAAG,QAAQ,WAAW,KAAK,MAAM,SAAS;gDAqHtF,CAAC;AAKF,eAAO,MAAM,WAAW,iCAA2B,CAAC;AAEpD,KAAK,UAAU,GAAG;IAChB,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,GAAG,CAAC;CACf,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;;;;IAQ3B,yDAAyD;yBACrC,MAAM,KAAK,IAAI;;gDAyFtC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/utils.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,wBAAgB,EAAE,CAAC,GAAG,OAAO,EAAE,KAAK,CAAC,MAAM,GAAG,KAAK,GAAG,IAAI,GAAG,SAAS,CAAC,GAAG,MAAM,CAE/E"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,86 +1,20 @@
|
|
|
1
|
-
export { default as
|
|
2
|
-
export { default as
|
|
3
|
-
export
|
|
4
|
-
export {
|
|
5
|
-
export
|
|
6
|
-
export type {
|
|
7
|
-
export {
|
|
8
|
-
export { default as
|
|
9
|
-
export { default as
|
|
10
|
-
export { default as
|
|
11
|
-
export {
|
|
12
|
-
export {
|
|
13
|
-
export
|
|
14
|
-
export
|
|
15
|
-
export {
|
|
16
|
-
export {
|
|
17
|
-
export {
|
|
18
|
-
export {
|
|
19
|
-
export {
|
|
20
|
-
export { default as TableGrid } from './ExecutiveDashboard/components/Table/TableGrid/TableGrid';
|
|
21
|
-
export { default as TableLayoutToggle } from './ExecutiveDashboard/components/Table/TableGrid/TableLayoutToggle';
|
|
22
|
-
export { default as useResponsiveColumns } from './ExecutiveDashboard/components/Table/TableGrid/useResponsiveColumns';
|
|
23
|
-
export type { TableGridProps } from './ExecutiveDashboard/components/Table/TableGrid/TableGrid';
|
|
24
|
-
export type { TableLayoutToggleProps, TableLayoutMode } from './ExecutiveDashboard/components/Table/TableGrid/TableLayoutToggle';
|
|
25
|
-
export type { TableSpan } from './ExecutiveDashboard/components/Table/TableGrid/spans';
|
|
26
|
-
export type { FTableColumn, TableRow } from './ExecutiveDashboard/components/Table/FTable';
|
|
27
|
-
export type { TableCardProps } from './ExecutiveDashboard/components/Table/TableCard';
|
|
28
|
-
export type { DashboardTablesConfig, DashboardTableRenderConfig, DashboardTableCardStyles, DashboardTableLayoutConfig, TableBuilderConfig, TableColumnConfig, } from './ExecutiveDashboard/types';
|
|
29
|
-
export { formatKpiValue, getKpiDelta, getKpiSentiment, getKpiValueColor, isKpiValueObject, KPI_SENTIMENT_COLORS, } from './ExecutiveDashboard/utils';
|
|
30
|
-
export type { IndicatorLogic, KpiDelta, KpiSentiment, KpiValueObject, } from './ExecutiveDashboard/utils';
|
|
31
|
-
export * from './ExecutiveDashboard/components/DashboardDateFilter/DashboardDateFilter.types';
|
|
32
|
-
export * from './ExecutiveDashboard/components/DashboardDateFilter/datePreset';
|
|
33
|
-
export type { MetricCardProps } from './ExecutiveDashboard/components/MetricCard/MetricCard';
|
|
34
|
-
export type { FiltersSidebarProps } from './ExecutiveDashboard/components/FiltersSidebar/FiltersSidebar';
|
|
35
|
-
export type { FTableProps } from './ExecutiveDashboard/components/Table/FTable';
|
|
36
|
-
export { DashboardCard } from './ExecutiveDashboard/components/DashboardCard/DashboardCard';
|
|
37
|
-
export type { DashboardCardProps, DashboardSection, SectionItem, TagItem, TagsSectionConfig, EventItem, EventDetail, DropdownConfig, FooterLinkConfig, NewsItem, } from './ExecutiveDashboard/components/DashboardCard/DashboardCard';
|
|
38
|
-
export { default as RecordDashboardWrapper, RecordDashboardWrapper as RecordDashboard_Container, } from "./RecordDashboard/RecordDashboardWrapper";
|
|
39
|
-
export { default as RecordDashboard } from "./RecordDashboard/RecordComponents/RecordDashboard";
|
|
40
|
-
export type { RecordDashboardProps } from "./RecordDashboard/RecordComponents/RecordDashboard";
|
|
41
|
-
export { RecordFetchUIConfig, RecordFetchDashboardData, RecordFetchTableData, RECODashboardApiError, } from "./RecordDashboard/RecordApi/RecordDashboardApi";
|
|
42
|
-
export type { RECODashboardApiConfig as RecordDashboardApiEndpointConfig } from "./RecordDashboard/RecordApi/RecordDashboardApi";
|
|
43
|
-
export type { RECODashboardContainerProps, RECODashboardApiConfig, RECODashboardUIConfig, RECODashboardUIData, RECODashboardDataResponse, RECOTableDataResponse, RECODashboardQueryParams, RECODateFiltersConfig, RECOSidebarFilterConfig, RECOGraphBuilderConfig, RECOGraphTierConfig, RECOPlotOptionConfig, RECOSeriesConfig, RECOKpiCardConfig, RECOTierData, RECOPlotByOptions, RECOSeriesDataMap, RECOFetchUIConfig, RECOFetchDashboardData, RECOFetchTableData, RECODashboardSectionKey, } from "./RecordDashboard/RecordTypes";
|
|
44
|
-
export { RECORD_DASHBOARD_SECTION_KEYS, RECORD_PINNED_SECTION_KEYS, RECOIsSectionHidden, RECOResolveSectionOrder, } from "./RecordDashboard/RecordUtils/RecordSectionOrder";
|
|
45
|
-
export { default as RecordGraph } from "./RecordDashboard/RecordComponents/Graph/RecordGraph";
|
|
46
|
-
export { default as RecordLineChart } from "./RecordDashboard/RecordComponents/Graph/RecordLineChart";
|
|
47
|
-
export { default as RecordPlotBySelector } from "./RecordDashboard/RecordComponents/Graph/RecordPlotBySelector";
|
|
48
|
-
export { RECODEFAULT_COLORS, RECOColorForIndex } from "./RecordDashboard/RecordComponents/Graph/types";
|
|
49
|
-
export { RecordChartContainer, RECOChartTooltip, RECOChartTooltipContent, RECOChartLegend, RECOChartLegendContent, useRecordChart, } from "./RecordDashboard/RecordComponents/ui/RecordChart";
|
|
50
|
-
export type { RECOChartConfig } from "./RecordDashboard/RecordComponents/ui/RecordChart";
|
|
51
|
-
export type { RECOGraphProps, RECOSeries, RECODataPoint, RECOCurveType, RECOPlotByConfig, RECOPlotByOption, RECOAxisConfig, RECOXAxisConfig, RECOYAxisConfig, RECOTooltipConfig, RECOTooltipPoint, RECOLegendConfig, RECOGraphConfig, RECOGraphStyle, RECOGraphPaneConfig, } from "./RecordDashboard/RecordComponents/Graph/types";
|
|
52
|
-
export { default as RecordDashboardDateFilter } from './RecordDashboard/RecordComponents/DashboardDateFilter/RecordDashboardDateFilter';
|
|
53
|
-
export { default as RecordMetricCard } from './RecordDashboard/RecordComponents/MetricCard/RecordMetricCard';
|
|
54
|
-
export { default as RecordFiltersSidebar } from './RecordDashboard/RecordComponents/FiltersSidebar/RecordFiltersSidebar';
|
|
55
|
-
export { default as RecordFTable } from './RecordDashboard/RecordComponents/Table/RecordFTable';
|
|
56
|
-
export { default as RecordTableCard } from './RecordDashboard/RecordComponents/Table/RecordTableCard';
|
|
57
|
-
export { default as RecordTableGrid } from './RecordDashboard/RecordComponents/Table/TableGrid/RecordTableGrid';
|
|
58
|
-
export { default as RecordTableLayoutToggle } from './RecordDashboard/RecordComponents/Table/TableGrid/RecordTableLayoutToggle';
|
|
59
|
-
export { default as useResponsiveRecordColumns } from './RecordDashboard/RecordComponents/Table/TableGrid/useRecordResponsiveColumns';
|
|
60
|
-
export { default as RecordAnalyticsChart } from './RecordDashboard/RecordComponents/AnalyticsChart/AnalyticsChart';
|
|
61
|
-
export { default as RecordTableHeader } from './RecordDashboard/RecordComponents/TableHeader/TableHeader';
|
|
62
|
-
export { default as RecordTablePagination } from './RecordDashboard/RecordComponents/Table/Pagination/TablePagination';
|
|
63
|
-
export { default as RecordDashboardStats } from './RecordDashboard/RecordComponents/StatsCard/RecordDashboardStats';
|
|
64
|
-
export { default as RecordSidebarFilter } from './RecordDashboard/RecordComponents/FiltersSidebar/RecordFiltersSidebar';
|
|
65
|
-
export type { RecordTableGridProps } from './RecordDashboard/RecordComponents/Table/TableGrid/RecordTableGrid';
|
|
66
|
-
export type { RecordTableLayoutToggleProps, RecordTableLayoutMode } from './RecordDashboard/RecordComponents/Table/TableGrid/RecordTableLayoutToggle';
|
|
67
|
-
export type { RecordTableSpan } from './RecordDashboard/RecordComponents/Table/TableGrid/RecordSpans';
|
|
68
|
-
export type { RecordFTableColumn, RecordTableRow } from './RecordDashboard/RecordComponents/Table/RecordFTable';
|
|
69
|
-
export type { RecordTableCardProps } from './RecordDashboard/RecordComponents/Table/RecordTableCard';
|
|
70
|
-
export type { RECODashboardTablesConfig, RECODashboardTableRenderConfig, RECODashboardTableCardStyles, RECORecordDashboardTablesConfig, RECODashboardTableLayoutConfig, RECOTableBuilderConfig, RECOTableColumnConfig, } from './RecordDashboard/RecordTypes';
|
|
71
|
-
export { RECORenderDynamicCell } from "./RecordDashboard/RecordUtils/RecordTableColumns";
|
|
72
|
-
export { RECOFormatKpiValue, RECOGetKpiDelta, RECOGetKpiSentiment, RECOGetKpiValueColor, RECOIsKpiValueObject, RECO_SENTIMENT_COLORS, } from './RecordDashboard/RecordUtils';
|
|
73
|
-
export type { RECOIndicatorLogic, RECOKpiDelta, RECOKpiSentiment, RECOKpiValueObject, } from './RecordDashboard/RecordUtils';
|
|
74
|
-
export * from './RecordDashboard/RecordComponents/DashboardDateFilter/RecordDashboardDateFilter.types';
|
|
75
|
-
export * from './RecordDashboard/RecordComponents/DashboardDateFilter/RecordDatePreset';
|
|
76
|
-
export type { RECOMetricCardProps } from './RecordDashboard/RecordComponents/MetricCard/RecordMetricCard';
|
|
77
|
-
export type { RecordFiltersSidebarProps } from './RecordDashboard/RecordComponents/FiltersSidebar/RecordFiltersSidebar';
|
|
78
|
-
export type { RecordFTableProps } from './RecordDashboard/RecordComponents/Table/RecordFTable';
|
|
79
|
-
export { RecordDashboardCard } from './RecordDashboard/RecordComponents/DashboardCard/RecordDashboardCard';
|
|
80
|
-
export type { RECODashboardCardProps, RECODashboardSection, RECOSectionItem, RECOTagItem, RECOTagsSectionConfig, RECOEventItem, RECOEventDetail, RECODropdownConfig, RECOFooterLinkConfig, RECONewsItem, } from './RecordDashboard/RecordComponents/DashboardCard/RecordDashboardCard';
|
|
81
|
-
export type { AnalyticsChartProps } from "./RecordDashboard/RecordComponents/AnalyticsChart/AnalyticsChart";
|
|
82
|
-
export type { TableHeaderProps } from "./RecordDashboard/RecordComponents/TableHeader/TableHeader";
|
|
83
|
-
export type { TablePaginationProps } from "./RecordDashboard/RecordComponents/Table/Pagination/TablePagination";
|
|
84
|
-
export type { RecordFilterFieldConfig } from "./RecordDashboard/RecordComponents/FiltersSidebar/RecordFiltersSidebar";
|
|
85
|
-
export type { DashboardStatsProps } from './RecordDashboard/RecordComponents/StatsCard/RecordDashboardStats';
|
|
1
|
+
export { default as Graph } from "./components/Graph/Graph";
|
|
2
|
+
export { default as LineChart } from "./components/Graph/LineChart";
|
|
3
|
+
export { default as PlotBySelector } from "./components/Graph/PlotBySelector";
|
|
4
|
+
export { DEFAULT_COLORS, colorForIndex } from "./components/Graph/types";
|
|
5
|
+
export { ChartContainer, ChartTooltip, ChartTooltipContent, ChartLegend, ChartLegendContent, useChart, } from "./components/ui/chart";
|
|
6
|
+
export type { ChartConfig } from "./components/ui/chart";
|
|
7
|
+
export type { GraphProps, Series, DataPoint, CurveType, PlotByConfig, PlotByOption, AxisConfig, XAxisConfig, YAxisConfig, TooltipConfig, TooltipPoint, LegendConfig, GraphConfig, GraphStyle, GraphPaneConfig, } from "./components/Graph/types";
|
|
8
|
+
export { default as DashboardDateFilter } from './components/DashboardDateFilter/DashboardDateFilter';
|
|
9
|
+
export { default as MetricCard } from './components/MetricCard/MetricCard';
|
|
10
|
+
export { default as FiltersSidebar } from './components/FiltersSidebar/FiltersSidebar';
|
|
11
|
+
export { default as FTable } from './components/Table/FTable';
|
|
12
|
+
export { default as TableCard } from './components/Table/TableCard';
|
|
13
|
+
export * from './components/DashboardDateFilter/DashboardDateFilter.types';
|
|
14
|
+
export * from './components/DashboardDateFilter/datePreset';
|
|
15
|
+
export type { MetricCardProps } from './components/MetricCard/MetricCard';
|
|
16
|
+
export type { FiltersSidebarProps } from './components/FiltersSidebar/FiltersSidebar';
|
|
17
|
+
export type { FTableProps } from './components/Table/FTable';
|
|
18
|
+
export { DashboardCard } from './components/DashboardCard/DashboardCard';
|
|
19
|
+
export type { DashboardCardProps, DashboardSection, SectionItem, TagItem, TagsSectionConfig, EventItem, EventDetail, DropdownConfig, FooterLinkConfig, NewsItem, } from './components/DashboardCard/DashboardCard';
|
|
86
20
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,8BAA8B,CAAC;AACpE,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,mCAAmC,CAAC;AAE9E,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAGzE,OAAO,EACL,cAAc,EACd,YAAY,EACZ,mBAAmB,EACnB,WAAW,EACX,kBAAkB,EAClB,QAAQ,GACT,MAAM,uBAAuB,CAAC;AAC/B,YAAY,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAGzD,YAAY,EACV,UAAU,EACV,MAAM,EACN,SAAS,EACT,SAAS,EACT,YAAY,EACZ,YAAY,EACZ,UAAU,EACV,WAAW,EACX,WAAW,EACX,aAAa,EACb,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,UAAU,EACV,eAAe,GAChB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,sDAAsD,CAAC;AACtG,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,4CAA4C,CAAC;AACvF,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,EAAC,OAAO,IAAI,SAAS,EAAC,MAAM,8BAA8B,CAAC;AAGlE,cAAc,4DAA4D,CAAC;AAC3E,cAAc,6CAA6C,CAAC;AAC5D,YAAY,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AAC1E,YAAY,EAAE,mBAAmB,EAAE,MAAM,4CAA4C,CAAC;AACtF,YAAY,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AACzE,YAAY,EACV,kBAAkB,EAClB,gBAAgB,EAChB,WAAW,EACX,OAAO,EACP,iBAAiB,EACjB,SAAS,EACT,WAAW,EACX,cAAc,EACd,gBAAgB,EAChB,QAAQ,GACT,MAAM,0CAA0C,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@e-llm-studio/federated-dashboard-components",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.7",
|
|
4
4
|
"author": "Hitesh Rathi",
|
|
5
5
|
"description": "",
|
|
6
6
|
"license": "MIT",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"sideEffects": [
|
|
11
11
|
"dist/styles.css"
|
|
12
12
|
],
|
|
13
|
-
"types": "dist/
|
|
13
|
+
"types": "dist/index.d.ts",
|
|
14
14
|
"publishConfig": {
|
|
15
15
|
"access": "public"
|
|
16
16
|
},
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"dist"
|
|
26
26
|
],
|
|
27
27
|
"scripts": {
|
|
28
|
-
"start": "
|
|
28
|
+
"start": "craco start",
|
|
29
29
|
"build": "rollup -c",
|
|
30
30
|
"tsupBuild": "tsup src/index.ts",
|
|
31
31
|
"test": "craco test",
|
|
@@ -68,12 +68,11 @@
|
|
|
68
68
|
},
|
|
69
69
|
"exports": {
|
|
70
70
|
".": {
|
|
71
|
-
"types": "./dist/types/index.d.ts",
|
|
72
71
|
"import": "./dist/index.js",
|
|
73
|
-
"require": "./dist/cjs/index.js"
|
|
72
|
+
"require": "./dist/cjs/index.js",
|
|
73
|
+
"types": "./dist/types/index.d.ts"
|
|
74
74
|
},
|
|
75
|
-
"./dist/styles.css": "./dist/styles.css"
|
|
76
|
-
"./styles.css": "./dist/styles.css"
|
|
75
|
+
"./dist/styles.css": "./dist/styles.css"
|
|
77
76
|
},
|
|
78
77
|
"devDependencies": {
|
|
79
78
|
"@babel/plugin-transform-runtime": "^7.25.9",
|
|
@@ -96,7 +95,6 @@
|
|
|
96
95
|
"react-dom": "^18.3.1",
|
|
97
96
|
"react-router-dom": "^7.6.2",
|
|
98
97
|
"react-scripts": ">=5.0.1",
|
|
99
|
-
"recharts": "^2.15.4",
|
|
100
98
|
"rollup": "2.79.2",
|
|
101
99
|
"rollup-plugin-babel": "4.4.0",
|
|
102
100
|
"rollup-plugin-peer-deps-external": "2.2.4",
|
|
@@ -105,11 +103,12 @@
|
|
|
105
103
|
"rollup-plugin-terser": "7.0.2",
|
|
106
104
|
"rollup-plugin-typescript2": "0.36.0",
|
|
107
105
|
"rollup-plugin-visualizer": "5.12.0",
|
|
106
|
+
"recharts": "^2.15.4",
|
|
108
107
|
"ts-loader": "9.5.1",
|
|
109
108
|
"typescript": "4.9.5"
|
|
110
109
|
},
|
|
111
110
|
"peerDependencies": {
|
|
112
|
-
"lucide-react": "
|
|
111
|
+
"lucide-react": "^0.476.0",
|
|
113
112
|
"primeicons": "^7.0.0",
|
|
114
113
|
"primereact": "^10.9.7",
|
|
115
114
|
"react": "^18.3.1",
|
|
@@ -118,8 +117,6 @@
|
|
|
118
117
|
"recharts": "^2.13.0"
|
|
119
118
|
},
|
|
120
119
|
"dependencies": {
|
|
121
|
-
"@craco/craco": "^7.1.0"
|
|
122
|
-
"chart.js": "^4.5.1",
|
|
123
|
-
"chartjs-plugin-datalabels": "^2.2.0"
|
|
120
|
+
"@craco/craco": "^7.1.0"
|
|
124
121
|
}
|
|
125
122
|
}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{__awaiter as n,__rest as e,__assign as r,__generator as t,__spreadArray as l}from"../_virtual/_tslib.js";import{jsx as o,Fragment as a,jsxs as i}from"react/jsx-runtime";import u,{useState as d,useRef as s,useMemo as c,useCallback as v,useEffect as f}from"react";import{ExecutiveDashboard as b}from"./components/ExecutiveDashboard.js";import{DATE_PRESETS as g}from"./components/DashboardDateFilter/datePreset.js";import{DashboardSkeleton as p}from"./components/DashboardSkeleton/DashboardSkeleton.js";import{fetchUIConfig as h,fetchCurrentConfigUIVersionFromRedis as m,fetchDashboardData as D,fetchTableData as E}from"./api/dashboardApi.js";import{useVisibilityPolling as y}from"./hooks/useVisibilityPolling.js";var I=1e4;function w(w){var C,F,S=this,A=w.baseUrl,P=void 0===A?"https://dev.appmod.ai":A,R=w.configId,j=w.graphEmptyState,M=w.tables,x=w.tableLayout,L=w.sectionOrder,O=w.hiddenSections,k=w.fetchUIConfig,T=w.fetchUIVersionFromRedis,U=w.fetchDashboardData,N=w.fetchTableData,V=w.initialStartDate,K=w.initialEndDate,B=w.onDateChange,_=w.onFiltersApplied,z=w.renderLoading,G=w.renderError,H=w.pollingConfigProp,q=null!=k?k:h,J=null!=T?T:m,Q=null!=U?U:D,W=null!=N?N:E,X=d(null),Y=X[0],Z=X[1],$=d(null),nn=$[0],en=$[1],rn=d(!0),tn=rn[0],ln=rn[1],on=d(!0),an=on[0],un=on[1],dn=d(null),sn=dn[0],cn=dn[1],vn=d(!1),fn=vn[0],bn=vn[1],gn=d({}),pn=gn[0],hn=gn[1],mn=d({}),Dn=mn[0],En=mn[1],yn=d({}),In=yn[0],wn=yn[1],Cn=d(null),Fn=Cn[0],Sn=Cn[1],An=u.useRef(null),Pn=u.useRef(!1),Rn=s(null),jn=s(null),Mn=s({}),xn=s(null),Ln=s(new Set),On=s(!1),kn=s(I),Tn=s(-1),Un=s(!0),Nn=d(null!==(F=null===(C=null==Y?void 0:Y.data)||void 0===C?void 0:C.dateFilters.defaultPreset)&&void 0!==F?F:"today"),Vn=Nn[0],Kn=Nn[1],Bn=d(!1),_n=Bn[0],zn=Bn[1],Gn=d({}),Hn=Gn[0],qn=Gn[1],Jn=c(function(){var n,e;if(Y){var r=Y.data.dateFilters;return(null==r?void 0:r.pollingEnabled)&&(kn.current=null!==(n=r.pollingInterval)&&void 0!==n?n:I),{pollingEnabled:null!==(e=Boolean("yes"===(null==r?void 0:r.pollingEnabled)))&&void 0!==e&&e,pollingInterval:I,maxErrorInterval:5e4,backoffMultiplier:1.5}}},[Y]),Qn=c(function(){return null!=H?H:Jn},[H,Jn]),Wn=function(n){var e=Object.values(g).find(function(e){return e.value===n});return e&&"getRange"in e?e.getRange():null},Xn=v(function(){return n(S,void 0,void 0,function(){var n,e,r,l,o,a,i,u,d,s,c,v,f,b;return t(this,function(t){switch(t.label){case 0:ln(!0),cn(null),null===(i=Rn.current)||void 0===i||i.abort(),n=new AbortController,Rn.current=n,t.label=1;case 1:return t.trys.push([1,3,4,5]),[4,q({configId:R,baseUrl:P},n.signal)];case 2:return e=t.sent(),Z(e),r={},null===(s=null===(d=null===(u=null==e?void 0:e.data)||void 0===u?void 0:u.graphBuilder)||void 0===d?void 0:d.tiers)||void 0===s||s.forEach(function(n){n.plotOptions.length>0&&(r[n.key]=n.plotOptions[0].value)}),hn(r),l={},null===(v=null===(c=null==e?void 0:e.data)||void 0===c?void 0:c.sidebarFilters)||void 0===v||v.forEach(function(n){l[n.schemaFilterName]="Multi select"===n.type?[]:""}),En(l),wn(l),Pn.current||(o=V&&K?{startDate:V,endDate:K}:Wn(null===(b=null===(f=null==e?void 0:e.data)||void 0===f?void 0:f.dateFilters)||void 0===b?void 0:b.defaultPreset))&&(Pn.current=!0,An.current={start:o.startDate.getTime(),end:o.endDate.getTime()},Sn({start:o.startDate,end:o.endDate})),[3,5];case 3:return"AbortError"===(null==(a=t.sent())?void 0:a.name)?[2]:(cn(a),[3,5]);case 4:return Rn.current===n&&ln(!1),[7];case 5:return[2]}})})},[R,P,q,V,K]),Yn=v(function(){return n(S,void 0,void 0,function(){var n,e,r,l,o;return t(this,function(t){switch(t.label){case 0:if(On.current)return[3,7];On.current=!0,console.log("----- POLLING API ----"),null===(o=xn.current)||void 0===o||o.abort(),n=new AbortController,xn.current=n,t.label=1;case 1:return t.trys.push([1,5,6,7]),[4,J({configId:R,baseUrl:P},n.signal)];case 2:return(null==(e=t.sent())?void 0:e.timestamp)&&parseInt(null==e?void 0:e.timestamp)>Tn.current?(r=Wn(Vn),console.log("loadData ranges: ",{selectedPreset:Vn,currentRange:r}),[4,Zn(r).then(function(){return Tn.current=parseInt(e.timestamp)})]):[3,4];case 3:t.sent(),t.label=4;case 4:return Un.current=!1,[3,7];case 5:return"AbortError"===(null==(l=t.sent())?void 0:l.name)?[2]:(console.error("Something went wrong while fetching version from Redis"),[3,7]);case 6:return On.current=!1,[7];case 7:return[2]}})})},[Vn,J]);y((null==Jn?void 0:Jn.pollingEnabled)&&_n,kn.current,Yn,[Qn,_n,Vn,Yn]),f(function(){return Xn(),function(){var n;return null===(n=Rn.current)||void 0===n?void 0:n.abort()}},[Xn]),f(function(){if(Jn&&Jn.pollingEnabled){var n=Jn.pollingInterval;"number"==typeof n&&!isNaN(n)&&n>0&&(kn.current=n)}},[Jn]);var Zn=v(function(e){return n(S,void 0,void 0,function(){var n,r,l,o,a,i,u,d;return t(this,function(t){switch(t.label){case 0:if(!Fn)return[2];null===(a=jn.current)||void 0===a||a.abort(),n=new AbortController,jn.current=n,Un.current&&un(!0),cn(null),console.log("loadData ranges: ",{selectedPreset:Vn,currentRange:e}),t.label=1;case 1:return t.trys.push([1,3,4,5]),r={startDate:(null==Jn?void 0:Jn.pollingEnabled)&&e&&"custom"!==Vn?e.startDate:Fn.start,endDate:(null==Jn?void 0:Jn.pollingEnabled)&&e&&"custom"!==Vn?e.endDate:Fn.end,filters:In},[4,Q({configId:R,baseUrl:P},r,n.signal)];case 2:return l=t.sent(),en(l),(null==Jn?void 0:Jn.pollingEnabled)||qn({}),kn.current&&(null==Qn?void 0:Qn.pollingEnabled)&&(null==Jn?void 0:Jn.pollingInterval)&&(kn.current=null!==(i=null==Qn?void 0:Qn.pollingInterval)&&void 0!==i?i:I,Un.current=!1),[3,5];case 3:return"AbortError"===(null==(o=t.sent())?void 0:o.name)?[2]:(cn(o),kn.current&&(null==Qn?void 0:Qn.maxErrorInterval)&&(kn.current=Math.min(kn.current*(null!==(u=null==Jn?void 0:Jn.backoffMultiplier)&&void 0!==u?u:1.5),null!==(d=null==Jn?void 0:Jn.maxErrorInterval)&&void 0!==d?d:5e4)),[3,5]);case 4:return jn.current===n&&un(!1),[7];case 5:return[2]}})})},[R,P,Fn,In,Q]),$n=v(function(e,o){return n(S,void 0,void 0,function(){var n,a,i,u,d,s,c;return t(this,function(t){switch(t.label){case 0:if(!Fn||!Ln.current.has(e)||Mn.current[e])return[2];n=new AbortController,Mn.current[e]=n,a=function(){return!Ln.current.has(e)||n.signal.aborted||Mn.current[e]!==n},qn(function(n){var t,l,o,a,i,u,d,s;return r(r({},n),((t={})[e]={rows:null!==(o=null===(l=n[e])||void 0===l?void 0:l.rows)&&void 0!==o?o:[],cursor:null===(a=n[e])||void 0===a?void 0:a.cursor,hasMore:null!==(u=null===(i=n[e])||void 0===i?void 0:i.hasMore)&&void 0!==u&&u,loading:!0,loaded:null!==(s=null===(d=n[e])||void 0===d?void 0:d.loaded)&&void 0!==s&&s},t))}),t.label=1;case 1:return t.trys.push([1,3,4,5]),[4,W({configId:R,baseUrl:P},r({startDate:Fn.start,endDate:Fn.end,filters:In,tableKey:e,pageSize:20},o?{cursor:o}:{}),n.signal)];case 2:return i=t.sent(),u=null!==(c=null===(s=i.table)||void 0===s?void 0:s[e])&&void 0!==c?c:[],a()?[2]:(qn(function(n){var t,o,a=n[e];return a?r(r({},n),((t={})[e]={rows:l(l([],a.rows,!0),u,!0),cursor:null!==(o=i.nextCursor)&&void 0!==o?o:void 0,hasMore:i.hasNext,loading:!1,loaded:!0},t)):n}),[3,5]);case 3:return"AbortError"===(null==(d=t.sent())?void 0:d.name)||a()?[2]:(qn(function(n){var t;return n[e]?r(r({},n),((t={})[e]=r(r({},n[e]),{loading:!1,hasMore:!1}),t)):n}),[3,5]);case 4:return Mn.current[e]===n&&delete Mn.current[e],[7];case 5:return[2]}})})},[R,P,Fn,In,W]),ne=v(function(n,r){var t;if(!r)return Ln.current.delete(n),null===(t=Mn.current[n])||void 0===t||t.abort(),delete Mn.current[n],void qn(function(r){var t=r,l=n;return t[l],e(t,["symbol"==typeof l?l:l+""])});Ln.current.add(n),$n(n)},[$n]),ee=v(function(n){var e=Hn[n];(null==e?void 0:e.hasMore)&&!e.loading&&e.cursor&&$n(n,e.cursor)},[$n,Hn]);f(function(){return function(){Ln.current.clear(),Object.values(Mn.current).forEach(function(n){return n.abort()})}},[]),f(function(){return Zn(),function(){var n;return null===(n=jn.current)||void 0===n?void 0:n.abort()}},[Zn]),f(function(){return function(){var n;return null===(n=xn.current)||void 0===n?void 0:n.abort()}},[]),f(function(){!function(n){var e=Object.values(g).find(function(e){return e.value===n}),r=!(!e||!("pollingEnabled"in e)||!1===e.pollingEnabled);zn(r)}(Vn)},[Vn]);var re=v(function(n){if((null==n?void 0:n.startDate)&&(null==n?void 0:n.endDate)){var e=n.startDate.getTime(),r=n.endDate.getTime();An.current&&An.current.start===e&&An.current.end===r||(An.current={start:e,end:r},Sn({start:n.startDate,end:n.endDate}))}null==B||B(n),un(!0)},[B]),te=tn||an&&!nn;return sn?G?o(a,{children:G(sn,Xn)}):i("div",r({style:{padding:24,color:"#b91c1c"}},{children:["Failed to load dashboard: ",sn.message,o("button",r({onClick:Xn,style:{marginLeft:12}},{children:"Retry"}))]})):!te&&Y&&nn&&Fn?(console.log("pollingEnabled: ",null==Jn?void 0:Jn.pollingEnabled,_n),o(b,{uiConfig:Y,data:nn,dataLoading:an,startDate:Fn.start,endDate:Fn.end,onDateChange:re,onRefresh:function(){Zn(),un(!0)},selectedKpis:pn,onKpiChange:function(n,e){hn(function(t){var l;return r(r({},t),((l={})[n]=e,l))})},sidebarVisible:fn,onSidebarShow:function(){return bn(!0)},onSidebarHide:function(){return bn(!1)},filterValues:Dn,onFilterChange:function(n,e){En(function(t){var l;return r(r({},t),((l={})[n]=e,l))})},onFilterReset:function(){if(Y){var n={};Y.data.sidebarFilters.forEach(function(e){n[e.id]="multiSelect"===e.type?[]:""}),En(n)}},onFilterApply:function(){wn(Dn),bn(!1),null==_||_(Dn)},appliedFilters:In,graphEmptyState:j,tables:M,tableLayout:x,sectionOrder:L,hiddenSections:O,tablePages:Hn,onTableExpand:ne,onTableLoadMore:ee,pollingEnabled:(null==Jn?void 0:Jn.pollingEnabled)&&_n,selectedPreset:Vn,handlePresetChange:function(n){Kn(n)}})):z?o(a,{children:z()}):o(p,{})}export{w as ExecutiveDashboardWrapper,w as default};
|
|
2
|
-
//# sourceMappingURL=ExecutiveDashboardWrapper.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ExecutiveDashboardWrapper.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{__extends as t,__awaiter as e,__generator as r,__assign as n}from"../../_virtual/_tslib.js";var i=function(e){function r(t,r){var n=e.call(this,t)||this;return n.name="DashboardApiError",n.status=r,n}return t(r,e),r}(Error),a=function(t){return t.replace(/\/+$/,"")};function s(t,n,a){var s;return e(this,void 0,void 0,function(){var e,o;return r(this,function(r){switch(r.label){case 0:return[4,fetch(t,{method:"POST",headers:{accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(n),signal:a})];case 1:if(!(e=r.sent()).ok)throw new i("Request failed with status ".concat(e.status),e.status);return[4,e.json()];case 2:if(!(o=r.sent()).success)throw new i((null===(s=o.error)||void 0===s?void 0:s.errorMessage)||"Request failed");return[2,o.data]}})})}function o(t,n){var a;return e(this,void 0,void 0,function(){var e,s;return r(this,function(r){switch(r.label){case 0:return[4,fetch(t,{method:"GET",headers:{accept:"application/json"},signal:n})];case 1:if(!(e=r.sent()).ok)throw new i("Request failed with status ".concat(e.status),e.status);return[4,e.json()];case 2:if(!(s=r.sent()).success)throw new i((null===(a=s.error)||void 0===a?void 0:a.errorMessage)||"Request failed");return[2,s.data]}})})}function c(t,n){var i=t.configId,o=t.baseUrl,c=void 0===o?"":o;return e(this,void 0,void 0,function(){return r(this,function(t){return[2,s("".concat(a(c),"/federated/filters/ui"),{config_id:i},n)]})})}function u(t,n){var i=t.configId,o=t.baseUrl,c=void 0===o?"":o;return e(this,void 0,void 0,function(){var t;return r(this,function(e){switch(e.label){case 0:return[4,s("".concat(a(c),"/federated/filters/distinct-value"),{config_id:i},n)];case 1:return[2,(null==(t=e.sent())?void 0:t.sidebarFilters)||{}]}})})}function d(t,i){return e(this,void 0,void 0,function(){var e,a,s;return r(this,function(r){switch(r.label){case 0:return[4,Promise.all([c(t,i),u(t,i)])];case 1:return e=r.sent(),a=e[0],s=e[1],[2,{data:n(n({},a),{sidebarFilters:(a.sidebarFilters||[]).map(function(t){return n(n({},t),{options:s[t.schemaFilterName]||[]})})})}]}})})}function f(t,n){var i=t.configId,s=void 0===i?"":i,c=t.baseUrl,u=void 0===c?"":c;return e(this,void 0,void 0,function(){return r(this,function(t){switch(t.label){case 0:return[4,o("".concat(a(null!=u?u:""),"/federated/filters/dashboard/").concat(s,"/last-updated/"),n)];case 1:return[2,t.sent()]}})})}function l(t){void 0===t&&(t={});var e={};return Object.entries(t).forEach(function(t){var r=t[0],n=t[1];Array.isArray(n)?n.length>0&&(e[r]=n):""!==n&&null!=n&&(e[r]=[n])}),e}function v(t,n,i){var o=t.configId,c=t.baseUrl,u=void 0===c?"":c;return e(this,void 0,void 0,function(){var t;return r(this,function(e){return t={config_id:o,dateFilters:{startDate:n.startDate?n.startDate.toISOString():"",endDate:n.endDate?n.endDate.toISOString():""},sidebarFilters:l(n.filters)},[2,s("".concat(a(u),"/federated/filters/get-data"),t,i)]})})}function h(t,i,o){var c,u=t.configId,d=t.baseUrl,f=void 0===d?"":d;return e(this,void 0,void 0,function(){return r(this,function(t){return[2,s("".concat(a(f),"/federated/filters/table-data"),n({config_id:u,dateFilters:{startDate:i.startDate?i.startDate.toISOString():"",endDate:i.endDate?i.endDate.toISOString():""},sidebarFilters:l(i.filters),tableKey:i.tableKey,pageSize:null!==(c=i.pageSize)&&void 0!==c?c:20},i.cursor?{cursor:i.cursor}:{}),o)]})})}export{i as DashboardApiError,f as fetchCurrentConfigUIVersionFromRedis,v as fetchDashboardData,h as fetchTableData,d as fetchUIConfig};
|
|
2
|
-
//# sourceMappingURL=dashboardApi.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dashboardApi.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{__assign as e}from"../../../_virtual/_tslib.js";import{jsxs as r,Fragment as t,jsx as n}from"react/jsx-runtime";import l,{NEWS_DOT_COLORS as o}from"./styles/DashboardCardStyles.js";var s=function(s){var a=s.items,i=s.accentBg,c=s.accentBorder,d=s.accentText;if(0===a.length)return null;var m={backgroundColor:i,borderColor:c};return r(t,{children:[n("div",e({style:e(e({},l.newsBanner),m)},{children:n("p",e({style:e(e({},l.newsBannerTitle),{color:d})},{children:"Breaking News"}))})),a.map(function(t,s){return r("div",e({style:e(e(e({},l.newsItem),m),s===a.length-1?l.newsItemLast:{})},{children:[n("span",{style:e(e({},l.newsItemDot),{backgroundColor:o[t.level]})}),n("p",e({style:e(e({},l.newsItemText),{color:d})},{children:t.text}))]}),s)})]})};export{s as BreakingNewsBanner};
|
|
2
|
-
//# sourceMappingURL=BreakingNewsBanner.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{__assign as e}from"../../../_virtual/_tslib.js";import{jsxs as t,jsx as n,Fragment as r}from"react/jsx-runtime";import{useState as l,useRef as c}from"react";import o,{DASHBOARD_CARD_KEYFRAMES as i}from"./styles/DashboardCardStyles.js";var a=function(a){for(var h=a.accent,s=a.iconBg,d=a.icon,y=a.title,u=a.badge,p=a.heroValue,f=a.heroLabel,x=a.heroColor,g=a.heroDelta,v=a.chartData,m=a.chartLabels,b=a.chartColor,C=a.chartPrefix,M=a.footer,k=a.children,L=l(null),S=L[0],w=L[1],D=c(null),W=240,T=90,j=18,A=12,R=v&&v.length>0?Math.min.apply(Math,v):0,B=v&&v.length>0?Math.max.apply(Math,v):100,V=B-R===0?1:B-R,z=(v||[]).map(function(e,t){var n=v.length;return{x:n>1?j+t/(n-1)*204:120,y:78-(e-R)/V*66,value:e,index:t}}),F=z.length>0?"M ".concat(z[0].x," ").concat(z[0].y):"",H=0;H<z.length-1;H++){var I=z[H],N=z[H+1];F+=" C ".concat(I.x+(N.x-I.x)/3," ").concat(I.y,", ").concat(I.x+2*(N.x-I.x)/3," ").concat(N.y,", ").concat(N.x," ").concat(N.y)}var O,P,$=z.length>0?"".concat(F," L ").concat(z[z.length-1].x," ").concat(78," L ").concat(z[0].x," ").concat(78," Z"):"",_=null!==S?z[S]:null,E=function(e){return y.toLowerCase().includes("security")?String(Math.round(e)):"$"===C?"$".concat(e.toFixed(2)):e>=1e3?"".concat((e/1e3).toFixed(1),"K"):String(e)},G=function(e){if(!e)return"Recent";var t=e.split(":");if(t.length<2)return e;var n=parseInt(t[0],10),r=t[1],l=n>=12?"PM":"AM";return"".concat(n=n%12||12,":").concat(r," ").concat(l)},K=(O=y.toLowerCase(),P=h.toLowerCase(),O.includes("security")||P.includes("red")||P.includes("rose")?o.themeRose:O.includes("finops")||P.includes("violet")||P.includes("purple")?o.themeViolet:O.includes("health")||P.includes("sky")||P.includes("emerald")?o.themeSky:O.includes("change")||P.includes("amber")||P.includes("orange")?o.themeAmber:o.themeNeutral);return t("div",e({style:o.card},{children:[n("style",{children:i}),t("div",e({style:e(e({},o.cardHeader),K)},{children:[t("div",e({style:o.headerTop},{children:[t("div",e({style:o.headerIconTitle},{children:[n("div",e({style:e(e({},o.iconWrap),{backgroundColor:s})},{children:d})),n("h3",e({style:o.title},{children:y}))]})),n("span",e({style:o.badge},{children:u}))]})),t("div",e({style:o.heroRow},{children:[t("div",e({style:o.hero},{children:[n("span",e({style:e(e({},o.heroValue),{color:x})},{children:p})),n("span",e({style:o.heroLabel},{children:f})),g&&n("span",e({style:e(e({},o.heroDelta),g.up?o.heroDeltaUp:o.heroDeltaDown)},{children:g.text}))]})),t("div",e({style:o.chartCol},{children:[t("div",e({style:o.chartHeader},{children:[n("span",{children:"Trend Timeline"}),_&&n("span",e({style:o.chartTooltip},{children:y.toLowerCase().includes("security")?"".concat(E(_.value)," alerts at ").concat(m?G(m[_.index]):""):"".concat(m?"".concat(G(m[_.index]),": "):"").concat(E(_.value))}))]})),n("div",e({style:o.chartWrap},{children:v&&v.length>1?t("svg",e({ref:D,viewBox:"0 0 ".concat(W," ").concat(T),style:o.chartSvg,onMouseMove:function(e){if(D.current&&0!==z.length){for(var t=D.current.getBoundingClientRect(),n=(e.clientX-t.left)/t.width*W,r=0,l=Math.abs(z[0].x-n),c=1;c<z.length;c++){var o=Math.abs(z[c].x-n);o<l&&(l=o,r=c)}w(r)}},onMouseLeave:function(){return w(null)}},{children:[n("defs",{children:t("linearGradient",e({id:"grad-".concat(y.replace(/\s+/g,"")),x1:"0",y1:"0",x2:"0",y2:"1"},{children:[n("stop",{offset:"0%",stopColor:b,stopOpacity:.12}),n("stop",{offset:"100%",stopColor:b,stopOpacity:0})]}))}),n("text",e({x:12,y:15,textAnchor:"end",style:{fontSize:8,fontWeight:900,letterSpacing:"-0.05em",fill:"#020617"}},{children:E(B)})),n("text",e({x:12,y:81,textAnchor:"end",style:{fontSize:8,fontWeight:900,letterSpacing:"-0.05em",fill:"#020617"}},{children:E(R)})),n("path",{d:$,fill:"url(#grad-".concat(y.replace(/\s+/g,""),")")}),n("path",{d:F,fill:"none",stroke:b,strokeWidth:1.75,strokeLinecap:"round",strokeLinejoin:"round"}),_?t(r,{children:[n("line",{x1:_.x,y1:A,x2:_.x,y2:78,stroke:"#64748b",strokeWidth:.75,strokeDasharray:"2,2"}),n("circle",{cx:_.x,cy:_.y,r:4,fill:b,opacity:.2}),n("circle",{cx:_.x,cy:_.y,r:2,fill:b,stroke:"#ffffff",strokeWidth:1})]}):z.length>0&&n("circle",{cx:z[z.length-1].x,cy:z[z.length-1].y,r:2.5,fill:b})]})):n("span",e({style:o.chartEmpty},{children:"No live telemetry"}))}))]}))]}))]})),n("div",e({style:o.body},{children:k})),M&&n("div",e({style:o.footer},{children:M}))]}))};export{a as CardShell};
|
|
2
|
-
//# sourceMappingURL=CardShell.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{__assign as e}from"../../../_virtual/_tslib.js";import{jsxs as l,jsx as r}from"react/jsx-runtime";import o from"./styles/DashboardCardStyles.js";import{TopDropdownMenu as t}from"./TopDropdownMenu.js";var i=function(i){var d=i.item;return l("div",e({style:o.centeredCell,onClick:d.onClick},{children:[d.dropdown&&r(t,{config:d.dropdown}),r("div",e({style:o.centeredCellLabel},{children:d.label})),r("div",e({style:e(e({},o.centeredCellValue),d.valueColor?{color:d.valueColor}:{})},{children:d.value})),d.sub&&r("div",e({style:e(e({},o.centeredCellSub),d.subColor?{color:d.subColor}:{})},{children:d.sub}))]}))};export{i as CenteredCell};
|
|
2
|
-
//# sourceMappingURL=CenteredCell.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{__assign as o}from"../../../_virtual/_tslib.js";import{jsx as r,Fragment as e,jsxs as t}from"react/jsx-runtime";import n from"react";import a from"./styles/DashboardCardStyles.js";import{CardShell as l}from"./CardShell.js";import{SkeletonRow as i}from"./SkeletonRow.js";import{BreakingNewsBanner as c}from"./BreakingNewsBanner.js";import{SectionHeadingBar as s}from"./SectionHeadingBar.js";import{FooterLinkButton as h}from"./FooterLinkButton.js";import{renderSectionContent as m}from"./sectionContent.js";var d=function(d){var f=d.accent,u=d.iconBg,p=d.icon,g=d.title,b=d.badge,C=void 0===b?"Today":b,B=d.heroValue,j=d.heroLabel,k=d.heroColor,v=d.heroDelta,L=d.chartData,x=d.chartLabels,y=d.chartColor,D=void 0===y?"#6366f1":y,S=d.chartPrefix,w=void 0===S?"":S,T=d.loading,F=d.footer,N=d.footerLinks,P=d.breakingNews,V=d.accentBg,_=d.accentBorder,H=d.accentText,M=d.sections,R=null!=F?F:N&&N.length>0?r("div",o({style:o(o({},a.footerLinks),N.length>1?a.footerLinksMulti:{})},{children:N.map(function(o,e){return r(h,{label:o.label,onClick:o.onClick},e)})})):null;return r(l,o({accent:f,iconBg:u,icon:p,title:g,badge:C,heroValue:B,heroLabel:j,heroColor:k,heroDelta:v,chartData:null!=L?L:null,chartLabels:x,chartColor:D,chartPrefix:w,footer:R},{children:T?r(e,{children:[0,1,2].map(function(o){return r(i,{},o)})}):t("div",o({style:a.bodyContent},{children:[r(c,{items:P,accentBg:V,accentBorder:_,accentText:H}),M.map(function(o,e){return t(n.Fragment,{children:[r(s,{label:o.heading,color:o.headingColor,dotColor:o.dotColor,count:o.count,pulse:o.pulse}),m(o)]},e)})]}))}))};export{d as DashboardCard};
|
|
2
|
-
//# sourceMappingURL=DashboardCard.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{__assign as e}from"../../../_virtual/_tslib.js";import{jsxs as o,jsx as r}from"react/jsx-runtime";import{useState as l}from"react";import{ChevronRight as t}from"lucide-react";import i from"./styles/DashboardCardStyles.js";var a=function(a){var n=a.label,d=a.value,c=a.sub,s=a.onClick,u=a.valueColor,f=l(!1),m=f[0],v=f[1];return o(s?"button":"div",e({onClick:s,onMouseEnter:function(){return s&&v(!0)},onMouseLeave:function(){return s&&v(!1)},style:e(e(e({},i.detailRow),s?i.detailRowClickable:{}),s&&m?{backgroundColor:"#f8fafc"}:{})},{children:[o("div",e({style:i.detailRowMain},{children:[r("p",e({style:i.detailRowLabel},{children:n})),r("p",e({style:e(e({},i.detailRowValue),u?{color:u}:{})},{children:d})),c&&r("p",e({style:i.detailRowSub},{children:c}))]})),s&&r(t,{size:14,style:e(e({},i.detailRowChevron),m?i.detailRowChevronHover:{})})]}))};export{a as DetailRow};
|
|
2
|
-
//# sourceMappingURL=DetailRow.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{__assign as e}from"../../../_virtual/_tslib.js";import{jsx as t,jsxs as o}from"react/jsx-runtime";import{useState as n}from"react";import{ChevronRight as r,X as l}from"lucide-react";import i,{SEV_BADGE_STYLES as a,SEV_BADGE_DEFAULT as c,SEV_DOT_COLORS as d,STATUS_BADGE_STYLES as s,STATUS_BADGE_DEFAULT as u,ACTION_COLORS as m}from"./styles/DashboardCardStyles.js";var v={BLOCKED:{action:"Request blocked — review policy rule",color:m.BLOCKED},FLAGGED:{action:"Flagged for review — investigate source",color:m.FLAGGED},ALLOWED:{action:"Allowed through — monitor for patterns",color:m.ALLOWED}};function y(e){var t=Math.floor((Date.now()-e.getTime())/1e3);if(t<60)return"just now";var o=Math.floor(t/60);if(o<60)return"".concat(o,"m ago");var n=Math.floor(o/60);return n<24?"".concat(n,"h ago"):"".concat(Math.floor(n/24),"d ago")}var h=function(m){var h,f,g,p,T=m.event,b=n(!1),D=b[0],L=b[1],w=n(!1),C=w[0],M=w[1],A=n(!1),E=A[0],S=A[1],k=null!==(h=a[T.severity])&&void 0!==h?h:c,R=T.status&&null!==(f=v[T.status])&&void 0!==f?f:null;return o("div",e({style:i.eventRowWrap},{children:[o("button",e({onClick:function(){return L(!0)},onMouseEnter:function(){return M(!0)},onMouseLeave:function(){return M(!1)},style:e(e({},i.eventRow),C?i.eventRowHover:{})},{children:[t("span",{style:e(e({},i.eventRowDot),{backgroundColor:null!==(g=d[T.severity])&&void 0!==g?g:"#cbd5e1"})}),t("p",e({style:i.eventRowTitle},{children:T.title})),t("span",e({style:i.eventRowTime},{children:y(T.timestamp)})),t(r,{size:10,style:i.eventRowChevron})]})),D&&t("div",e({style:i.modalOverlay},{children:o("div",e({style:i.modal},{children:[o("div",e({style:i.modalHeader},{children:[o("div",e({style:i.modalHeaderLeft},{children:[t("span",e({style:e(e({},i.modalBadge),k)},{children:T.severity})),T.status&&t("span",e({style:e(e({},i.modalStatusBadge),null!==(p=s[T.status])&&void 0!==p?p:u)},{children:T.status})),t("span",e({style:i.modalTitle},{children:T.title}))]})),t("button",e({onClick:function(){return L(!1)},style:i.modalClose,onMouseEnter:function(e){e.currentTarget.style.color="#475569",e.currentTarget.style.backgroundColor="rgba(226,232,240,0.5)"},onMouseLeave:function(e){e.currentTarget.style.color="#94a3b8",e.currentTarget.style.backgroundColor="transparent"}},{children:t(l,{size:14})}))]})),o("div",e({style:i.modalBody},{children:[T.triageSummary&&o("div",{children:[t("h4",e({style:i.modalSectionTitle},{children:"Summary"})),t("p",e({style:i.modalSummaryText},{children:T.triageSummary}))]}),T.details&&T.details.length>0&&o("div",e({style:i.modalBodySpacer},{children:[t("h4",e({style:e(e({},i.modalSectionTitle),i.modalSectionTitleTight)},{children:"Metadata Details"})),t("div",e({style:i.modalDetailsGrid},{children:T.details.map(function(n){return o("div",e({style:i.modalDetail},{children:[t("span",e({style:i.modalDetailLabel},{children:n.label})),t("span",e({style:i.modalDetailValue},{children:n.value}))]}),n.label)})}))]})),T.incidentUrl&&t("div",e({style:e(e({},i.modalLinkRow),i.modalBodySpacer)},{children:t("a",e({href:T.incidentUrl,target:"_blank",rel:"noopener noreferrer",style:i.modalLink,onMouseEnter:function(e){e.currentTarget.style.color="#4338ca",e.currentTarget.style.textDecoration="underline"},onMouseLeave:function(e){e.currentTarget.style.color="#6366f1",e.currentTarget.style.textDecoration="none"}},{children:"View External Incident →"}))}))]})),R&&t("div",e({style:i.modalActionRow},{children:o("button",e({onClick:function(){var e;L(!1),null===(e=T.onAction)||void 0===e||e.call(T)},onMouseEnter:function(){return S(!0)},onMouseLeave:function(){return S(!1)},style:e(e({},i.modalActionBtn),E?i.modalActionBtnHover:{})},{children:[t("span",e({style:e(e({},i.modalActionText),{color:R.color})},{children:R.action})),t(r,{size:12,style:e(e(e({},i.modalActionChevron),{color:R.color}),E?i.modalActionChevronHover:{})})]}))}))]}))}))]}))},f=function(e){return t("div",{children:e.map(function(e){return t(h,{event:e},e.id)})})};export{f as renderEventsSection};
|
|
2
|
-
//# sourceMappingURL=EventsSection.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{__assign as r}from"../../../_virtual/_tslib.js";import{jsxs as t,jsx as e}from"react/jsx-runtime";import{ChevronRight as o}from"lucide-react";import n from"./styles/DashboardCardStyles.js";var i=function(i){var l=i.label,c=i.onClick;return t("button",r({onClick:c,style:n.footerLink,onMouseEnter:function(r){return r.currentTarget.style.color="#4338ca"},onMouseLeave:function(r){return r.currentTarget.style.color="#6366f1"}},{children:[l," ",e(o,{size:11})]}))};export{i as FooterLinkButton};
|
|
2
|
-
//# sourceMappingURL=FooterLinkButton.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{__assign as r}from"../../../_virtual/_tslib.js";import{jsx as o,jsxs as e,Fragment as i}from"react/jsx-runtime";import l from"./styles/DashboardCardStyles.js";import{CenteredCell as d}from"./CenteredCell.js";import{TopDropdownMenu as n}from"./TopDropdownMenu.js";import{DetailRow as t}from"./DetailRow.js";var a=function(a,m,s){for(var p=[],c=0;c<a.length;c+=m)p.push(a.slice(c,c+m));return o("div",{children:p.map(function(a,p){return o("div",r({style:r(r(r({},l.gridRow),{gridTemplateColumns:"repeat(".concat(m,", minmax(0, 1fr))")}),p>0?l.gridRowDivider:{})},{children:a.map(function(a,m){return o("div",r({style:r(r(r({},l.gridCell),s?{}:l.gridCellPadded),m>0?l.gridCellDivider:{})},{children:s?o(d,{item:a}):e(i,{children:[a.dropdown&&o(n,{config:a.dropdown}),o("div",r({style:l.gridCellInner,onClick:a.dropdown?a.onClick:void 0},{children:o(t,{label:a.label,value:a.value,sub:a.sub,onClick:a.dropdown?void 0:a.onClick,valueColor:a.valueColor})}))]})}),m)})}),p)})})};export{a as renderGridSection};
|
|
2
|
-
//# sourceMappingURL=GridSection.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{__assign as i}from"../../../_virtual/_tslib.js";import{jsx as t,jsxs as e,Fragment as l}from"react/jsx-runtime";import{useState as o}from"react";import r from"./styles/DashboardCardStyles.js";var n=function(n){var s,c,d=n.item,u=n.compact,a=o(!1),v=a[0],m=a[1];return t("div",i({style:i(i(i({},r.listRow),u?r.listRowCompact:{}),v?r.listRowHover:{}),onClick:d.onClick,onMouseEnter:function(){return m(!0)},onMouseLeave:function(){return m(!1)}},{children:e(l,u?{children:[t("span",{style:i(i({},r.listRowDot),{backgroundColor:null!==(s=d.dotColor)&&void 0!==s?s:"#cbd5e1",animation:"dc-pulse 2s cubic-bezier(0.4,0,0.6,1) infinite"})}),t("p",i({style:r.alertRowValue},{children:d.value})),d.sub&&t("span",i({style:r.alertRowSub},{children:d.sub}))]}:{children:[t("span",{style:i(i({},r.listRowDot),{backgroundColor:null!==(c=d.dotColor)&&void 0!==c?c:"#cbd5e1"})}),e("div",i({style:r.listRowMain},{children:[t("p",i({style:r.listRowValue},{children:d.value})),d.sub&&t("p",i({style:r.listRowSub},{children:d.sub}))]})),t("span",i({style:r.listRowLabel},{children:d.label}))]})}))},s=function(e){return t("div",{children:e.map(function(e,l){return t("div",i({style:l>0?r.listRowDivider:void 0},{children:t(n,{item:e})}),l)})})},c=function(e){return t("div",{children:e.map(function(e,l){return t("div",i({style:l>0?r.listRowDivider:void 0},{children:t(n,{item:e,compact:!0})}),l)})})};export{c as renderAlertsSection,s as renderListSection};
|
|
2
|
-
//# sourceMappingURL=ListSection.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{__assign as e}from"../../../_virtual/_tslib.js";import{jsxs as i,jsx as t}from"react/jsx-runtime";import n from"./styles/DashboardCardStyles.js";var o=function(o){var r=o.label,l=o.color,s=o.dotColor,a=o.count,c=o.pulse;return i("div",e({style:e(e({},n.sectionHeading),null!=l?l:n.sectionHeadingDefault)},{children:[s&&t("span",{style:e(e(e({},n.sectionHeadingDot),{backgroundColor:s}),c?{animation:"dc-pulse 2s cubic-bezier(0.4,0,0.6,1) infinite"}:{})}),t("p",e({style:n.sectionHeadingLabel},{children:r})),void 0!==a&&t("span",e({style:n.sectionHeadingCount},{children:a}))]}))};export{o as SectionHeadingBar};
|
|
2
|
-
//# sourceMappingURL=SectionHeadingBar.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{__assign as e}from"../../../_virtual/_tslib.js";import{jsxs as t,jsx as i}from"react/jsx-runtime";import r from"./styles/DashboardCardStyles.js";var s=function(){return t("div",e({style:r.skeletonRow},{children:[i("div",{style:e(e({},r.skeletonLine),r.skeletonLineTitle)}),i("div",{style:e(e({},r.skeletonLine),r.skeletonLineValue)})]}))};export{s as SkeletonRow};
|
|
2
|
-
//# sourceMappingURL=SkeletonRow.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{__assign as t}from"../../../_virtual/_tslib.js";import{jsxs as e,jsx as l}from"react/jsx-runtime";import s from"./styles/DashboardCardStyles.js";var a=function(a){var r,n;return e("div",t({style:s.tags},{children:[l("div",t({style:s.tagsTop},{children:e("div",t({style:s.tagsMeta},{children:[l("span",t({style:s.tagsLabel},{children:a.label})),e("span",t({style:s.tagsCount},{children:[a.count," ",null!==(r=a.countSuffix)&&void 0!==r?r:1===a.count?"Item":"Items"]}))]}))})),l("div",t({style:s.tagsList},{children:a.tags.length>0?a.tags.map(function(a,r){var n;return e("span",t({style:s.tag},{children:[l("span",{style:t(t({},s.tagDot),{backgroundColor:null!==(n=a.dotColor)&&void 0!==n?n:"#94a3b8"})}),a.label]}),r)}):l("span",t({style:s.tagsEmpty},{children:null!==(n=a.emptyText)&&void 0!==n?n:"No items detected"}))}))]}))};export{a as renderTagsSection};
|
|
2
|
-
//# sourceMappingURL=TagsSection.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{__assign as r}from"../../../_virtual/_tslib.js";import{jsxs as n,Fragment as o,jsx as e}from"react/jsx-runtime";import{useState as t}from"react";import i from"./styles/DashboardCardStyles.js";var l=function(l){var d=l.config,a=t(!1),s=a[0],c=a[1];return n(o,{children:[n("button",r({onClick:function(r){r.stopPropagation(),c(!s)},style:r(r({},i.dropdownTrigger),s?i.dropdownTriggerOpen:i.dropdownTriggerClosed)},{children:["Top ",d.items.length," ▾"]})),s&&e("div",r({style:i.dropdownPanel,onMouseLeave:function(){return c(!1)}},{children:n("div",r({style:i.dropdownInner},{children:[e("span",r({style:i.dropdownTitle},{children:d.title})),d.items.map(function(o,t){return n("button",r({onClick:function(r){var n;r.stopPropagation(),null===(n=d.onClick)||void 0===n||n.call(d)},style:i.dropdownItem,onMouseEnter:function(r){return r.currentTarget.style.backgroundColor="#f8fafc"},onMouseLeave:function(r){return r.currentTarget.style.backgroundColor="transparent"}},{children:[n("span",r({style:i.dropdownItemName},{children:[t+1,". ",o.name]})),e("span",r({style:i.dropdownItemValue},{children:o.value}))]}),t)})]}))}))]})};export{l as TopDropdownMenu};
|
|
2
|
-
//# sourceMappingURL=TopDropdownMenu.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{__assign as e}from"../../../_virtual/_tslib.js";import{jsxs as t,jsx as l,Fragment as i}from"react/jsx-runtime";import{useState as n,useEffect as a}from"react";import{Button as o}from"primereact/button";import{RefreshCw as r,ListFilter as s}from"lucide-react";import d from"../DatePickers/DateSelector.js";import{DEFAULT_DATE_PRESETS as u}from"./datePreset.js";var c=function(c){var v,m,f,p,h=c.presets,D=void 0===h?u:h,g=c.filterCount,b=void 0===g?0:g,x=c.liveDuration,C=void 0===x?3e4:x,q=c.onDateChange,N=c.onRefresh,k=c.isRefreshLoading,y=c.onFilterClick,w=c.showFilterButton,P=void 0===w||w,R=c.showLiveButton,F=void 0===R||R,j=c.showFilterCount,B=void 0!==j&&j,E=c.datePickerProps,L=c.initialStartDate,T=c.initialEndDate;c.defaultPresets;var z=c.pollingEnabled,S=void 0!==z&&z,W=c.selectedPreset,_=void 0===W?"today":W,A=c.handlePresetChange,I=n(!0),G=I[0],H=I[1],J=n(L||null),K=J[0],M=J[1],O=n(T||null),Q=O[0],U=O[1];a(function(){M(L||null),U(T||null)},[L,T]);var V=n(!1),X=V[0],Y=V[1];a(function(){var e=setTimeout(function(){H(!1)},C);return function(){return clearTimeout(e)}},[_,C]),a(function(){if("custom"!==_){var e=D.find(function(e){return e.value===_});if(e&&e.getRange){var t=e.getRange();null==q||q({preset:_,startDate:t.startDate,endDate:t.endDate})}}},[_,D,q]);var Z=D;return t("div",e({className:"q-date-filter"},{children:[t("div",e({className:"q-date-filter-toolbar"},{children:[t("div",e({style:{display:"flex",alignItems:"center",gap:"8px",flexWrap:"wrap"}},{children:[l("div",e({className:"q-preset-container"},{children:null==Z?void 0:Z.map(function(t){return l("button",e({className:"q-preset-btn ".concat(_===(null==t?void 0:t.value)?"active":""),onClick:function(){return null==A?void 0:A(null==t?void 0:t.value)}},{children:null==t?void 0:t.label}),null==t?void 0:t.value)})})),F&&t(i,G&&!S?{children:[l("div",{style:{width:"1px",height:"31px",backgroundColor:"#CBD5E1"}}),t("div",e({className:"q-live-chip"},{children:[l("span",{className:"q-live-dot"}),"Live Data"]}))]}:{children:[l("div",{className:"q-date-separator",style:{width:"1px",height:"31px",backgroundColor:"#CBD5E1"}}),t(o,e({className:"q-refresh-btn",onClick:N},{children:[l(r,{size:16,strokeWidth:2.5,className:k?"q-spin":""}),l("span",{children:k?"Refreshing...":"Refresh"})]}))]})]})),P&&t("button",e({className:"q-filter-btn",onClick:y},{children:[l(s,{size:12.5}),"Filters",B&&b>0&&l("span",e({className:"q-filter-badge"},{children:b}))]}))]})),"custom"===_&&t("div",e({className:"q-custom-container"},{children:[l(d,{label:"From",value:K,minDate:null===(v=null==E?void 0:E.from)||void 0===v?void 0:v.minDate,maxDate:null!=Q?Q:null===(m=null==E?void 0:E.from)||void 0===m?void 0:m.maxDate,onChange:function(e){M(e),Y(!1)},styles:{root:{width:"250px"}}}),l(d,{label:"To",value:Q,minDate:null!=K?K:null===(f=null==E?void 0:E.to)||void 0===f?void 0:f.minDate,maxDate:null===(p=null==E?void 0:E.to)||void 0===p?void 0:p.maxDate,onChange:function(e){U(e),Y(!1)},styles:{root:{width:"250px"}}}),l(o,{className:"q-apply-btn",label:"Apply Range",disabled:!K||!Q||X,onClick:function(){K&&Q&&(null==q||q({preset:"custom",startDate:K,endDate:Q}),Y(!0))}})]}))]}))};export{c as default};
|
|
2
|
-
//# sourceMappingURL=DashboardDateFilter.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
var e={today:{label:"Today",value:"today",pollingEnabled:!0,getRange:function(){var e=new Date;return{startDate:new Date(e.getFullYear(),e.getMonth(),e.getDate(),0,0,0),endDate:e}}},"1hour":{label:"1 Hour",value:"1hour",pollingEnabled:!0,getRange:function(){var e=new Date,t=new Date;return t.setHours(t.getHours()-1),{startDate:t,endDate:e}}},"3hours":{label:"3 Hours",value:"3hours",pollingEnabled:!0,getRange:function(){var e=new Date,t=new Date;return t.setHours(t.getHours()-3),{startDate:t,endDate:e}}},"6hours":{label:"6 Hours",value:"6hours",pollingEnabled:!0,getRange:function(){var e=new Date,t=new Date;return t.setHours(t.getHours()-6),{startDate:t,endDate:e}}},"12hours":{label:"12 Hours",value:"12hours",pollingEnabled:!0,getRange:function(){var e=new Date,t=new Date;return t.setHours(t.getHours()-12),{startDate:t,endDate:e}}},yesterday:{label:"Yesterday",value:"yesterday",pollingEnabled:!1,getRange:function(){var e=new Date;return e.setDate(e.getDate()-1),{startDate:new Date(e.getFullYear(),e.getMonth(),e.getDate(),0,0,0),endDate:new Date(e.getFullYear(),e.getMonth(),e.getDate(),23,59,59)}}},"7days":{label:"7 Days",value:"7days",pollingEnabled:!0,getRange:function(){var e=new Date,t=new Date;return t.setDate(t.getDate()-6),{startDate:t,endDate:e}}},"15days":{label:"15 Days",value:"15days",pollingEnabled:!0,getRange:function(){var e=new Date,t=new Date;return t.setDate(t.getDate()-14),{startDate:t,endDate:e}}},"30days":{label:"30 Days",value:"30days",pollingEnabled:!0,getRange:function(){var e=new Date,t=new Date;return t.setDate(t.getDate()-29),{startDate:t,endDate:e}}},thisMonth:{label:"This Month",value:"thisMonth",pollingEnabled:!0,getRange:function(){var e=new Date;return{startDate:new Date(e.getFullYear(),e.getMonth(),1),endDate:e}}},lastMonth:{label:"Last Month",value:"lastMonth",pollingEnabled:!1,getRange:function(){var e=new Date;return{startDate:new Date(e.getFullYear(),e.getMonth()-1,1),endDate:new Date(e.getFullYear(),e.getMonth(),0,23,59,59)}}},last3Months:{label:"Last 3 Months",value:"last3Months",pollingEnabled:!0,getRange:function(){var e=new Date;return{startDate:new Date(e.getFullYear(),e.getMonth()-3,e.getDate()),endDate:e}}},"6months":{label:"6 Months",value:"6months",pollingEnabled:!0,getRange:function(){var e=new Date;return{startDate:new Date(e.getFullYear(),e.getMonth()-6,e.getDate()),endDate:e}}},"1year":{label:"1 Year",value:"1year",pollingEnabled:!0,getRange:function(){var e=new Date;return{startDate:new Date(e.getFullYear()-1,e.getMonth(),e.getDate()),endDate:e}}},custom:{label:"Custom",value:"custom"}},t=[e.today,e["1hour"],e["3hours"],e["6hours"],e["12hours"],e.yesterday,e["7days"],e["15days"],e["30days"],e.thisMonth,e.lastMonth,e.last3Months,e.custom],a=null==t?void 0:t.reduce(function(e,t){return e[t.value]=t,e},{});export{e as DATE_PRESETS,a as DATE_PRESET_MAP,t as DEFAULT_DATE_PRESETS};
|
|
2
|
-
//# sourceMappingURL=datePreset.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{__assign as e}from"../../../_virtual/_tslib.js";import{jsxs as l,jsx as s}from"react/jsx-runtime";function i(){return l("div",e({className:"q-skeleton","aria-busy":"true","aria-live":"polite"},{children:[l("div",e({className:"q-skeleton-toolbar"},{children:[l("div",e({className:"q-skeleton-presets"},{children:[s("div",{className:"q-skeleton-pill q-skeleton-pill--wide"}),s("div",{className:"q-skeleton-pill"}),s("div",{className:"q-skeleton-pill"}),s("div",{className:"q-skeleton-pill"})]})),s("div",{className:"q-skeleton-pill q-skeleton-pill--filter"})]})),l("div",e({className:"q-skeleton-card q-skeleton-graph"},{children:[l("div",e({className:"q-skeleton-graph-header"},{children:[l("div",{children:[s("div",{className:"q-skeleton-line q-skeleton-line--title"}),s("div",{className:"q-skeleton-line q-skeleton-line--subtitle"})]}),s("div",{className:"q-skeleton-pill q-skeleton-pill--selector"})]})),s("div",e({className:"q-skeleton-graph-body"},{children:s("svg",e({viewBox:"0 0 400 140",className:"q-skeleton-sparkline",preserveAspectRatio:"none"},{children:s("polyline",{points:"0,110 30,90 60,100 90,60 120,80 150,40 180,70 210,50 240,85 270,55 300,95 330,65 360,90 400,70",fill:"none",className:"q-skeleton-sparkline-path"})}))}))]})),s("div",e({className:"q-skeleton-kpis"},{children:[0,1,2].map(function(i){return l("div",e({className:"q-skeleton-card q-skeleton-kpi"},{children:[s("div",{className:"q-skeleton-line q-skeleton-line--label"}),s("div",{className:"q-skeleton-line q-skeleton-line--value"}),s("div",{className:"q-skeleton-line q-skeleton-line--sublabel"})]}),i)})}))]}))}export{i as DashboardSkeleton,i as default};
|
|
2
|
-
//# sourceMappingURL=DashboardSkeleton.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DashboardSkeleton.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{__assign as e}from"../../../_virtual/_tslib.js";import{jsxs as n,jsx as t,Fragment as a}from"react/jsx-runtime";import{useState as r}from"react";var c=["Mo","Tu","We","Th","Fr","Sa","Su"],l=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],o=function(e){var n=new Date(e);return n.setHours(0,0,0,0),n},i=function(i){var d=i.value,u=i.onChange,s=i.minDate,m=i.maxDate,h=new Date,f=r(null!=d?d:h),y=f[0],g=f[1],D=r("day"),p=D[0],b=D[1],k=null!=d?d:h,v=r(new Date(k.getFullYear(),k.getMonth(),1)),N=v[0],w=v[1],_=N.getFullYear(),C=N.getMonth(),M=16*Math.floor(_/16),S=new Date(_,C+1,0).getDate(),F=new Date(_,C,1).getDay(),Y=function(e){var n=o(e);return!!(s&&n<o(s))||!!(m&&n>o(m))},A=function(e){return Y(new Date(_,C,e))},j=Y(h),x=0===F?6:F-1,J=Array.from({length:x+S},function(e,n){return n<x?null:n-x+1}),T=function(e){return e===h.getDate()&&C===h.getMonth()&&_===h.getFullYear()},L=function(e){return y&&e===y.getDate()&&C===y.getMonth()&&_===y.getFullYear()};return n("div",e({className:"date-picker"},{children:[n("div",e({className:"date-picker__header"},{children:[t("button",e({className:"nav-btn",onClick:function(){w("day"===p?new Date(_,C-1,1):"month"===p?new Date(_-1,C,1):new Date(_-16,C,1))}},{children:"‹"})),t("span",e({className:"month-label"},{children:"year"===p?"".concat(M," – ").concat(M+15):"month"===p?_.toString():n(a,{children:[t("span",e({className:"month-label-click",onClick:function(){return b("month")}},{children:N.toLocaleString("default",{month:"long"})}))," ",t("span",e({className:"year-label-click",onClick:function(){return b("year")}},{children:_}))]})})),t("button",e({className:"nav-btn",onClick:function(){w("day"===p?new Date(_,C+1,1):"month"===p?new Date(_+1,C,1):new Date(_+16,C,1))}},{children:"›"}))]})),n("div",e({className:"date-picker__top-actions"},{children:[t("div",e({className:"selected-date"},{children:y?y.toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"}):"Select date"})),t("button",e({className:"today-btn ".concat(j?"today-btn--disabled":""),onClick:function(){w(new Date(h.getFullYear(),h.getMonth(),1)),g(h),b("day"),null==u||u(h)},disabled:j},{children:"Today"}))]})),"month"===p&&t("div",e({className:"date-picker__month-grid"},{children:l.map(function(n,a){return t("button",e({className:"month-cell".concat(a===C?" month-cell--selected":""),onClick:function(){w(new Date(_,a,1)),b("day")}},{children:n}),n)})})),"year"===p&&t("div",e({className:"date-picker__year-grid"},{children:Array.from({length:16},function(e,n){return M+n}).map(function(n){return t("button",e({className:"year-cell".concat(n===_?" year-cell--selected":""),onClick:function(){w(new Date(n,C,1)),b("month")}},{children:n}),n)})})),"day"===p&&n(a,{children:[t("div",e({className:"date-picker__weekdays"},{children:c.map(function(e){return t("span",{children:e},e)})})),t("div",e({className:"date-picker__days"},{children:J.map(function(n,a){return n?t("button",e({disabled:A(n),className:["day",T(n)&&"day--today",L(n)&&"day--selected",A(n)&&"day--disabled"].filter(Boolean).join(" "),onClick:function(){return function(e){if(!A(e)){var n=new Date(_,C,e);g(n),null==u||u(n)}}(n)}},{children:n}),a):t("span",{},a)})}))]})]}))};export{i as default};
|
|
2
|
-
//# sourceMappingURL=DatePicker.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{__assign as e}from"../../../_virtual/_tslib.js";import{jsxs as t,jsx as n,Fragment as a}from"react/jsx-runtime";import{useRef as r,useState as i,useMemo as o,useEffect as l}from"react";import{Calendar as c,ChevronLeft as s,ChevronRight as d}from"lucide-react";var u=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],h=["Mo","Tu","We","Th","Fr","Sa","Su"];function m(e){var t=new Date(e);return t.setHours(0,0,0,0),t}function g(e,t){return e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate()}function f(e,t){var n=new Date(e);return n.setMonth(n.getMonth()+t),n}function _(e){return e?e.toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"}):""}var v=function(v){var p=v.value,y=v.onChange,D=v.placeholder,b=void 0===D?"Select date":D,N=v.disabled,w=void 0!==N&&N,M=v.isOpen,F=void 0!==M&&M,k=v.minDate,Y=v.maxDate,T=v.className,C=v.endIcon,S=void 0!==C&&C,x=r(null),L=i(F),z=L[0],A=L[1],B=i("day"),j=B[0],E=B[1],J=o(function(){if(!p.end)return p;var e=new Date(p.end);return e.setDate(e.getDate()-1),{start:p.start,end:e}},[p.start,p.end]),O=i(J.start),U=O[0],G=O[1],H=i(J.end),I=H[0],R=H[1],W=i(function(){var e,t,n=null!==(t=null!==(e=J.start)&&void 0!==e?e:J.end)&&void 0!==t?t:new Date;return new Date(n.getFullYear(),n.getMonth(),1)}),q=W[0],K=W[1],P=16*Math.floor(q.getFullYear()/16);l(function(){var e;G(J.start),R(J.end);var t=null!==(e=J.start)&&void 0!==e?e:J.end;t&&K(new Date(t.getFullYear(),t.getMonth(),1))},[J.start,J.end]),l(function(){var e=function(e){z&&x.current&&!x.current.contains(e.target)&&(A(!1),E("day"),G(J.start),R(J.end))};return document.addEventListener("mousedown",e),function(){return document.removeEventListener("mousedown",e)}},[z,J.start,J.end]);var Q=o(function(){for(var e,t=q.getFullYear(),n=q.getMonth(),a=(new Date(t,n,1).getDay()+6)%7,r=new Date(t,n+1,0).getDate(),i=[],o=0;o<a;o++)i.push({date:new Date(t,n,1-(a-o)),inMonth:!1});for(var l=1;l<=r;l++)i.push({date:new Date(t,n,l),inMonth:!0});for(var c=42-i.length,s=0;s<c;s++){var d=null===(e=i[i.length-1])||void 0===e?void 0:e.date;if(!d)break;var u=new Date(d);u.setDate(u.getDate()+1),i.push({date:u,inMonth:!1})}return i},[q]),V=function(e){var t;!U||U&&I?(G(e),R(null)):(t=U,m(e).getTime()<m(t).getTime()?(R(U),G(e)):R(e))},X=function(e,t){if(!e&&!t)return"";var n=function(e){return e.toLocaleDateString("en-GB",{day:"2-digit",month:"short"})};return e&&!t?"".concat(n(e)," - ..."):!e&&t?"... - ".concat(n(t)):"".concat(n(e)," - ").concat(n(t)," ").concat(t.getFullYear())}(J.start,J.end);return t("div",e({className:"drs",ref:x},{children:[!F&&t("button",e({type:"button",className:"drs__trigger ".concat(T||""),onClick:function(){var e,t;if(!w){if(!z){var n=null!==(t=null!==(e=J.start)&&void 0!==e?e:J.end)&&void 0!==t?t:new Date;G(J.start),R(J.end),K(new Date(n.getFullYear(),n.getMonth(),1)),E("day")}A(function(e){return!e})}},disabled:w},{children:[!S&&n(c,{size:18,style:{color:"#6B7280"}}),n("span",e({className:"drs__label"},{children:X||b})),S&&n("span",e({style:{marginLeft:"auto"}},{children:n(c,{size:18,style:{color:"#6B7280"}})}))]})),z&&t("div",e({className:"drs__popover",role:"dialog","aria-label":"Date range picker"},{children:[t("div",e({className:"drs__header"},{children:[n("button",e({type:"button",className:"drs__nav",onClick:function(){K("day"===j?function(e){return f(e,-1)}:"month"===j?function(e){return new Date(e.getFullYear()-1,e.getMonth(),1)}:function(e){return new Date(e.getFullYear()-16,e.getMonth(),1)})}},{children:n(s,{size:18})})),n("div",e({className:"drs__month"},{children:"year"===j?"".concat(P," – ").concat(P+15):"month"===j?q.getFullYear().toString():t(a,{children:[n("span",e({className:"drs__month-click",onClick:function(){return E("month")}},{children:q.toLocaleDateString("en-US",{month:"long"})}))," ",n("span",e({className:"drs__year-click",onClick:function(){return E("year")}},{children:q.getFullYear()}))]})})),n("button",e({type:"button",className:"drs__nav",onClick:function(){K("day"===j?function(e){return f(e,1)}:"month"===j?function(e){return new Date(e.getFullYear()+1,e.getMonth(),1)}:function(e){return new Date(e.getFullYear()+16,e.getMonth(),1)})}},{children:n(d,{size:18})}))]})),"day"===j&&t("div",e({className:"drs__inputs"},{children:[n("div",e({className:"drs__input-box".concat(U?" is-active":"")},{children:U?_(U):n("span",e({className:"drs__input-placeholder"},{children:"Start date"}))})),n("span",e({className:"drs__input-sep"},{children:"–"})),n("div",e({className:"drs__input-box".concat(I?" is-active":"")},{children:I?_(I):n("span",e({className:"drs__input-placeholder"},{children:"End date"}))}))]})),"month"===j&&n("div",e({className:"drs__month-grid"},{children:u.map(function(t,a){return n("button",e({type:"button",className:"drs__month-cell".concat(q.getMonth()===a?" is-selected":""),onClick:function(){K(new Date(q.getFullYear(),a,1)),E("day")}},{children:t}),t)})})),"year"===j&&n("div",e({className:"drs__year-grid"},{children:Array.from({length:16},function(e,t){return P+t}).map(function(t){return n("button",e({type:"button",className:"drs__year-cell".concat(q.getFullYear()===t?" is-selected":""),onClick:function(){K(new Date(t,q.getMonth(),1)),E("month")}},{children:t}),t)})})),"day"===j&&t(a,{children:[n("div",e({className:"drs__week"},{children:h.map(function(t){return n("div",e({className:"drs__weekday"},{children:t}),t)})})),n("div",e({className:"drs__grid"},{children:Q.map(function(t,a){var r=t.date,i=!!U&&g(r,U),o=!!I&&g(r,I),l=!(!U||!I)&&function(e,t,n){var a=m(e).getTime();return a>=Math.min(m(t).getTime(),m(n).getTime())&&a<=Math.max(m(t).getTime(),m(n).getTime())}(r,U,I),c=i||o,s=i&&!!I,d=o&&!!U,u=a%7,h=0===u,f=6===u,_=function(e,t,n){var a=m(e).getTime();return!!(t&&a<m(t).getTime())||!!(n&&a>m(n).getTime())}(r,k,Y),v=["drs__day",t.inMonth?"":"is-out",l&&!c?"is-range":"",i?"is-start":"",o?"is-end":"",s?"is-range-start":"",d?"is-range-end":"",l&&h?"is-row-first":"",l&&f?"is-row-last":""].filter(Boolean).join(" ");return n("button",e({type:"button",className:"".concat(v," ").concat(_?"is-disabled":""),disabled:_,onClick:function(){_||V(r)}},{children:n("span",e({className:"drs__day-inner"},{children:r.getDate()}))}),a)})}))]}),t("div",e({className:"drs__footer"},{children:[n("button",e({type:"button",className:"drs__btn drs__btn--ghost",onClick:function(){G(null),R(null),y({start:null,end:null}),A(!1),E("day")}},{children:"Reset"})),n("button",e({type:"button",className:"drs__btn drs__btn--primary",disabled:!U||!I,onClick:function(){if(U&&I){var e=new Date(I);e.setDate(e.getDate()+1),y({start:U,end:e}),A(!1),E("day")}}},{children:"Apply"}))]}))]}))]}))};export{v as default};
|
|
2
|
-
//# sourceMappingURL=DateRangeSelector.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{__assign as e}from"../../../_virtual/_tslib.js";import{jsxs as t,jsx as n}from"react/jsx-runtime";import{useState as r,useRef as o,useEffect as a}from"react";import i from"./DatePicker.js";import{Calendar as l}from"lucide-react";var c=function(c){var u,d=c.label,s=c.value,m=c.placeholder,f=void 0===m?"Select date":m,v=c.minDate,g=c.maxDate,p=c.styles,h=c.onChange,_=r(!1),b=_[0],y=_[1],D=r(!1),q=D[0],w=D[1],x=o(null),C=o(null);return a(function(){var e=function(e){C.current&&!C.current.contains(e.target)&&x.current&&!x.current.contains(e.target)&&y(!1)};return document.addEventListener("mousedown",e),function(){return document.removeEventListener("mousedown",e)}},[]),t("div",e({className:"q-date-selector",style:null==p?void 0:p.root},{children:[d&&n("label",e({className:"q-date-selector__label"},{children:d})),t("button",e({ref:x,type:"button",className:"q-date-selector__trigger",style:null==p?void 0:p.trigger,onClick:function(){if(!b&&x.current){var e=x.current.getBoundingClientRect(),t=window.innerHeight-e.bottom,n=e.top;w(t<320&&n>t)}y(function(e){return!e})}},{children:[n("span",{children:s?(u=s,u.toLocaleDateString("en-US",{month:"2-digit",day:"2-digit",year:"numeric"})):f}),n(l,{size:14,color:"#64748B"})]})),b&&n("div",e({ref:C,className:"q-date-selector__panel ".concat(q?"q-date-selector__panel--top":""),style:null==p?void 0:p.panel},{children:n(i,{value:s,minDate:v,maxDate:g,onChange:function(e){h(e),y(!1)}})}))]}))};export{c as default};
|
|
2
|
-
//# sourceMappingURL=DateSelector.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{__assign as e,__spreadArray as n}from"../../../_virtual/_tslib.js";import{jsxs as c,jsx as t}from"react/jsx-runtime";import{useState as r,useRef as l,useEffect as a,useMemo as i}from"react";import{Search as s}from"lucide-react";function o(o){var u=o.options,m=o.value,d=o.onChange,v=o.placeholder,h=void 0===v?"Select":v,f=o.searchPlaceholder,p=void 0===f?"Search..":f,g=o.showSelectAll,N=void 0===g||g,b=o.selectAllLabel,k=void 0===b?"All":b,x=r(!1),C=x[0],w=x[1],L=r(""),A=L[0],y=L[1],S=l(null);a(function(){var e=function(e){var n;(null===(n=S.current)||void 0===n?void 0:n.contains(e.target))||w(!1)};return document.addEventListener("mousedown",e),function(){return document.removeEventListener("mousedown",e)}},[]);var T=i(function(){var e=A.trim().toLowerCase();return e?u.filter(function(n){return n.label.toLowerCase().includes(e)}):u},[u,A,m]),j=i(function(){return u.map(function(e){return e.value})},[u]),E=m.length>0&&j.every(function(e){return m.includes(e)}),_=i(function(){var e;if(0===m.length)return h;if(E)return"All";if(1===m.length){var n=u.find(function(e){return e.value===m[0]});return null!==(e=null==n?void 0:n.label)&&void 0!==e?e:"1 selected"}return"".concat(m.length," selected")},[m,E,u,h]);return c("div",e({className:"cms-root",ref:S},{children:[c("button",e({type:"button",className:"cms-trigger",onClick:function(){return w(function(e){return!e})}},{children:[t("span",e({className:"cms-triggerText ".concat(m.length?"cms-hasValue":"")},{children:_})),t("span",e({className:"cms-chevron"},{children:"▾"}))]})),C&&c("div",e({className:"cms-panel"},{children:[u.length>0&&c("div",e({className:"cms-searchRow"},{children:[t(s,{size:18}),t("input",{className:"cms-searchInput",placeholder:p,value:A,onChange:function(e){return y(e.target.value)},autoFocus:!0})]})),N&&!(null==A?void 0:A.trim())&&u.length>0&&c("div",e({className:"cms-item",onClick:function(){d(E?[]:j)}},{children:[t("span",e({className:"cms-checkbox ".concat(E?"cms-checked":"")},{children:E?"✓":""})),t("span",e({className:"cms-itemText"},{children:k}))]})),t("div",e({className:"cms-list"},{children:0===T.length?t("div",e({className:"cms-empty"},{children:"No options found"})):T.map(function(r){var l=m.includes(r.value);return c("div",e({className:"cms-item",onClick:function(){return e=r.value,void(m.includes(e)?d(m.filter(function(n){return n!==e})):d(n(n([],m,!0),[e],!1)));var e}},{children:[t("span",e({className:"cms-checkbox ".concat(l?"cms-checked":"")},{children:l?"✓":""})),t("span",e({className:"cms-itemText"},{children:r.label}))]}),r.value)})}))]}))]}))}export{o as default};
|
|
2
|
-
//# sourceMappingURL=CustomMultiSelect.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{__assign as e}from"../../../_virtual/_tslib.js";import{jsxs as n,jsx as r}from"react/jsx-runtime";import{useState as t,useRef as s,useEffect as c,useMemo as a}from"react";import{Search as i}from"lucide-react";function o(o){var l=o.options,u=o.value,d=o.onChange,v=o.placeholder,m=void 0===v?"Select":v,f=o.searchPlaceholder,h=void 0===f?"Search...":f,p=o.disabled,N=void 0!==p&&p,g=t(!1),b=g[0],C=g[1],w=t(""),x=w[0],L=w[1],j=s(null);c(function(){var e=function(e){var n;(null===(n=j.current)||void 0===n?void 0:n.contains(e.target))||C(!1)};return document.addEventListener("mousedown",e),function(){return document.removeEventListener("mousedown",e)}},[]);var k=a(function(){var e=x.trim().toLowerCase();return e?l.filter(function(n){return n.label.toLowerCase().includes(e)}):l},[x,l]),y=a(function(){var e,n;return u&&null!==(n=null===(e=l.find(function(e){return e.value===u}))||void 0===e?void 0:e.label)&&void 0!==n?n:m},[u,l,m]);return n("div",e({className:"css-root",ref:j},{children:[n("button",e({type:"button",disabled:N,className:"css-trigger",onClick:function(){return C(function(e){return!e})}},{children:[r("span",e({className:"css-triggerText ".concat(u?"css-hasValue":"")},{children:y})),r("span",e({className:"css-chevron"},{children:"▾"}))]})),b&&n("div",e({className:"css-panel"},{children:[n("div",e({className:"css-searchRow"},{children:[r(i,{size:18}),r("input",{className:"css-searchInput",placeholder:h,value:x,autoFocus:!0,onChange:function(e){return L(e.target.value)}})]})),r("div",e({className:"css-list"},{children:0===k.length?r("div",e({className:"css-empty"},{children:"No options found"})):k.map(function(n){return r("div",e({className:"css-item ".concat(u===(null==n?void 0:n.value)?"css-selected":""),onClick:function(){return function(e){d(e),C(!1)}(n.value)}},{children:r("span",e({className:"css-itemText"},{children:n.label}))}),n.value)})}))]}))]}))}export{o as default};
|
|
2
|
-
//# sourceMappingURL=CustomSingleSelect.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{__assign as l,__spreadArray as i}from"../../_virtual/_tslib.js";import{jsx as e,Fragment as o,jsxs as n}from"react/jsx-runtime";import t,{useMemo as d}from"react";import{ChartLine as a}from"lucide-react";import r from"./DashboardDateFilter/DashboardDateFilter.js";import u from"./MetricCard/MetricCard.js";import v from"./FiltersSidebar/FiltersSidebar.js";import s from"./Graph/Graph.js";import p from"./Graph/GraphEmptyState.js";import{DATE_PRESET_MAP as c}from"./DashboardDateFilter/datePreset.js";import g from"./Table/TableCard.js";import m from"./Table/TableGrid/TableGrid.js";import{buildColumns as h,withRowIds as b}from"../utils/tableColumns.js";import{resolveSectionOrder as f,isSectionHidden as y}from"../utils/sectionOrder.js";import{getActiveFilterCount as C,isKpiValueObject as F,getKpiValueColor as k,getKpiDelta as x,formatKpiValue as D}from"../utils/index.js";import{getKpiIcon as w}from"../utils/kpiIcon.js";var B=["#7c3aed","#FFC130","#F43F5E","#10b981","#3b82f6"];function S(S){var j,L,P,O,A,T,E,M,R,V,G,H,z,I,W,q,K,N,Z,_,J,Q,U,X,Y,$,ll,il,el,ol,nl,tl,dl,al,rl,ul,vl,sl=S.uiConfig,pl=S.data,cl=S.dataLoading,gl=S.startDate,ml=S.endDate,hl=S.onDateChange,bl=S.onRefresh,fl=S.selectedKpis,yl=S.onKpiChange,Cl=S.sidebarVisible,Fl=S.onSidebarShow,kl=S.onSidebarHide,xl=S.filterValues,Dl=S.onFilterChange,wl=S.onFilterReset,Bl=S.onFilterApply,Sl=S.appliedFilters,jl=S.graphEmptyState,Ll=S.tables,Pl=S.tableLayout,Ol=S.sectionOrder,Al=S.hiddenSections,Tl=S.tablePages,El=S.onTableExpand,Ml=S.onTableLoadMore,Rl=S.pollingEnabled,Vl=void 0!==Rl&&Rl,Gl=S.selectedPreset,Hl=S.handlePresetChange,zl=null!==(P=null===(L=null===(j=null==sl?void 0:sl.data)||void 0===j?void 0:j.dateFilters)||void 0===L?void 0:L.datepresets)&&void 0!==P?P:[],Il=d(function(){return zl.map(function(l){return c[l]}).filter(Boolean)},[JSON.stringify(zl)]),Wl=d(function(){return C(Sl)},[Sl]),ql=d(function(){var l,i,e=null==Pl?void 0:Pl.spans;if(e)return(null!==(i=null===(l=null==sl?void 0:sl.data)||void 0===l?void 0:l.tableBuilder)&&void 0!==i?i:[]).map(function(l,i){return Array.isArray(e)?e[i]:e[l.key]})},[null==Pl?void 0:Pl.spans,null===(O=null==sl?void 0:sl.data)||void 0===O?void 0:O.tableBuilder]),Kl=e("div",l({style:{padding:"4px"}},{children:e(s,{loading:cl,emptyState:null!=jl?jl:e(p,{}),title:null===(A=null==sl?void 0:sl.data)||void 0===A?void 0:A.graphBuilder.title,description:null===(E=null===(T=null==sl?void 0:sl.data)||void 0===T?void 0:T.graphBuilder)||void 0===E?void 0:E.subtitle,icon:e(a,{size:18}),xAxis:{label:(null===(R=null===(M=null==sl?void 0:sl.data)||void 0===M?void 0:M.graphBuilder)||void 0===R?void 0:R.axis.xAxisLabel)||"Date"},style:{chartHeight:220},scrollable:Vl,panes:null===(V=null==sl?void 0:sl.data)||void 0===V?void 0:V.graphBuilder.tiers.map(function(l,i){var o,n,t,d,r,u,v,s,p,c,g,m,h=fl[l.key]||(null===(o=l.plotOptions[0])||void 0===o?void 0:o.key),b=pl.graph.tier.find(function(i){return i.key===l.key}),f=(null===(n=null==b?void 0:b.referenceOptions)||void 0===n?void 0:n[h])||{},y=(null===(t=null==b?void 0:b.plotbyoptions)||void 0===t?void 0:t[h])||{},C=(null==l?void 0:l.series)||[],F=Object.keys(y),k=l.plotOptions.find(function(l){return l.value===h});return{key:l.key,selector:{label:"Plot By",value:h,onChange:function(i){yl(l.key,i)},options:l.plotOptions.map(function(l){return{label:l.label,value:l.value}}),triggerIcon:e(a,{size:16,color:0===i?"green":"purple"})},yAxis:{label:null==k?void 0:k.yAxisLabel,beginAtZero:"false"!==(null==h?void 0:h.yAxisBeginAtZero)},tooltip:{formatHeading:function(l){return"".concat(l)}},legend:{position:(null===(u=null===(r=null===(d=null==sl?void 0:sl.data)||void 0===d?void 0:d.graphBuilder)||void 0===r?void 0:r.legend)||void 0===u?void 0:u.position)||"bottom",toggle:"yes"===(null===(p=null===(s=null===(v=null==sl?void 0:sl.data)||void 0===v?void 0:v.graphBuilder)||void 0===s?void 0:s.legend)||void 0===p?void 0:p.allowToggle),align:(null===(m=null===(g=null===(c=null==sl?void 0:sl.data)||void 0===c?void 0:c.graphBuilder)||void 0===g?void 0:g.legend)||void 0===m?void 0:m.alignment)||"center"},height:0===i?300:250,series:F.map(function(l,i){var e,o,n=(null===(o=null===(e=null==b?void 0:b.plotbyoptions)||void 0===e?void 0:e[h])||void 0===o?void 0:o[l])||[],t=B[i%B.length],d=C.find(function(i){return i.key===l});return{key:l,label:(null==d?void 0:d.name)||l,data:n,area:"yes"===(null==d?void 0:d.areaFill),curve:(null==d?void 0:d.curveType)||"linear",color:"#".concat(null==d?void 0:d.color)||t,dashed:"dashed"===(null==d?void 0:d.style),strokeWidth:parseInt(null==d?void 0:d.strokeWidth)||2,showPoints:"yes"===(null==d?void 0:d.showPoints),pointRadius:parseInt(null==d?void 0:d.pointRadius)||3,showInLegend:!0,valueFormatter:function(l){return"".concat(l)}}}),reference:f}})})})),Nl=e("div",l({style:{padding:"4px",display:"flex",gap:"10px",flexWrap:"wrap"}},{children:i([],null!==(H=null===(G=null==sl?void 0:sl.data)||void 0===G?void 0:G.kpiCards)&&void 0!==H?H:[],!0).sort(function(l,i){var e,o;return(null!==(e=l.displayOrder)&&void 0!==e?e:0)-(null!==(o=i.displayOrder)&&void 0!==o?o:0)}).map(function(l){var i,o=null===(i=null==pl?void 0:pl.kpiCards)||void 0===i?void 0:i[l.title],n=F(o)?k(o.currentValue,o.baselineValue,l.indicatorLogic):void 0,t=F(o)?x(o.currentValue,o.baselineValue,l.indicatorLogic):void 0;return e(u,{title:l.title,subtitle:l.subtitle,value:D(o,l.valueFormat),valueColor:n,delta:t&&{label:t.label,direction:t.direction,color:n},icon:w(l.icon),loading:cl},l.title)})})),Zl=(null!==(W=null===(I=null===(z=null==sl?void 0:sl.data)||void 0===z?void 0:z.tableBuilder)||void 0===I?void 0:I.length)&&void 0!==W?W:0)>0?e("div",l({style:{padding:"4px"}},{children:e(m,l({itemSpans:ql,totalColumns:null!==(q=null==Pl?void 0:Pl.totalColumns)&&void 0!==q?q:12,defaultSpan:null==Pl?void 0:Pl.defaultSpan,options:null!==(K=null==Pl?void 0:Pl.options)&&void 0!==K?K:[1,2,3],defaultColumns:null==Pl?void 0:Pl.defaultColumns,columns:null==Pl?void 0:Pl.columns,onColumnsChange:null==Pl?void 0:Pl.onColumnsChange,showToggle:(null===(N=null==Pl?void 0:Pl.showToggle)||void 0===N||N)&&(null!==(J=null===(_=null===(Z=null==sl?void 0:sl.data)||void 0===Z?void 0:Z.tableBuilder)||void 0===_?void 0:_.length)&&void 0!==J?J:0)>1,toggleLabel:null==Pl?void 0:Pl.toggleLabel,minColumnWidth:null!==(Q=null==Pl?void 0:Pl.minColumnWidth)&&void 0!==Q?Q:380,gap:null!==(U=null==Pl?void 0:Pl.gap)&&void 0!==U?U:12,equalHeights:null===(X=null==Pl?void 0:Pl.equalHeights)||void 0===X||X},{children:sl.data.tableBuilder.map(function(i){var o,n,d=null!==(n=null===(o=null==pl?void 0:pl.table)||void 0===o?void 0:o[i.key])&&void 0!==n?n:[],a=null==Tl?void 0:Tl[i.key],r=!!(null==a?void 0:a.loaded),u=r?a.rows:d,v=!r&&i.rowLimit&&i.rowLimit>0?d.slice(0,i.rowLimit):u,s=null==Ll?void 0:Ll[i.key],p=h(i,s),c=null==s?void 0:s.card,m=null==c?void 0:c.icon,f=w(i.icon),y=f&&t.isValidElement(f)?t.cloneElement(f,l(l({},null!=(null==m?void 0:m.size)?{size:m.size}:{}),(null==m?void 0:m.color)?{color:m.color}:{})):f,C=m?l(l(l({width:"auto",height:"auto"},m.color?{color:m.color}:{}),m.background?{background:m.background,padding:6,borderRadius:8}:{}),m.style):void 0;return e(g,{title:i.title,icon:y,styles:{root:null==c?void 0:c.root,header:null==c?void 0:c.header,title:null==c?void 0:c.title,icon:C},onExpand:function(l){return null==El?void 0:El(i.key,l)},table:{rows:b(v),columns:p,loading:cl,loadingMore:null==a?void 0:a.loading,hasMore:null==a?void 0:a.hasMore,onLoadMore:a?function(){return null==Ml?void 0:Ml(i.key)}:void 0,tableProps:null==s?void 0:s.tableProps}},i.key)})}))})):null,_l={graphBuilder:Kl,kpiCards:Nl,tableBuilder:Zl},Jl=f(Ol,Al,null===(Y=null==sl?void 0:sl.data)||void 0===Y?void 0:Y.sectionOrder,Object.keys(_l)),Ql=y(Al,"dateFilters"),Ul=y(Al,"sidebarFilters");return e(o,{children:n("div",l({style:{display:"flex",flexDirection:"column",gap:12,width:"100%"}},{children:[!Ql&&e("div",l({style:{padding:"4px"}},{children:e(r,{filterCount:Wl,initialStartDate:gl,initialEndDate:ml,onDateChange:hl,onRefresh:bl,onFilterClick:Fl,presets:Il,datePickerProps:{from:{minDate:new Date(2025,0,1),maxDate:new Date},to:{minDate:gl,maxDate:new Date}},defaultPresets:null===($=null==sl?void 0:sl.data)||void 0===$?void 0:$.dateFilters.defaultPreset,showLiveButton:"yes"===(null===(il=null===(ll=null==sl?void 0:sl.data)||void 0===ll?void 0:ll.dateFilters)||void 0===il?void 0:il.showLiveButton),showFilterButton:!Ul&&"yes"===(null===(ol=null===(el=null==sl?void 0:sl.data)||void 0===el?void 0:el.dateFilters)||void 0===ol?void 0:ol.showFilterButton),showFilterCount:!Ul&&"yes"===(null===(tl=null===(nl=null==sl?void 0:sl.data)||void 0===nl?void 0:nl.dateFilters)||void 0===tl?void 0:tl.showFilterCount),liveDuration:null===(al=null===(dl=null==sl?void 0:sl.data)||void 0===dl?void 0:dl.dateFilters)||void 0===al?void 0:al.liveDurationMs,pollingEnabled:Vl,selectedPreset:Gl,handlePresetChange:Hl})})),Jl.map(function(l){return e(t.Fragment,{children:_l[l]},l)}),!Ul&&e(v,{visible:Cl,onHide:kl,onReset:wl,onApply:Bl,fields:null!==(vl=null===(ul=null===(rl=null==sl?void 0:sl.data)||void 0===rl?void 0:rl.sidebarFilters)||void 0===ul?void 0:ul.map(function(l){var i,e,o,n,t=l.schemaFilterName,d="Single select"===l.type?"singleSelect":"Multi select"===l.type?"multiSelect":"Date Range"===l.type?"dateRange":"Date"===l.type?"date":"text",a=null!==(e=null===(i=l.options)||void 0===i?void 0:i.map(function(l){return{label:l,value:l}}))&&void 0!==e?e:[];return{id:t,label:l.label,hint:l.description,type:d,placeholder:l.placeholder,options:a,value:"multiSelect"===d?null!==(o=xl[t])&&void 0!==o?o:[]:null!==(n=xl[t])&&void 0!==n?n:"",onChange:function(l){return Dl(t,l)}}}))&&void 0!==vl?vl:[]})]}))})}export{S as ExecutiveDashboard,S as default};
|
|
2
|
-
//# sourceMappingURL=ExecutiveDashboard.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ExecutiveDashboard.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{__assign as a}from"../../../_virtual/_tslib.js";import{jsxs as e,jsx as n}from"react/jsx-runtime";import{Search as t}from"lucide-react";function c(c){var i=c.value,r=c.placeholder,l=c.disabled,o=c.onChange,s=c.className,u=c.searchIcon,d=void 0!==u&&u;return e("div",a({className:"cti-wrapper"},{children:[d&&n(t,{size:15,className:"cti-search-icon"}),n("input",{className:"\n cti-input\n ".concat(d?"cti-input--with-icon":"","\n ").concat(null!=s?s:"","\n "),value:null!=i?i:"",disabled:l,placeholder:r,onChange:function(a){return o(a.target.value)}})]}))}export{c as default};
|
|
2
|
-
//# sourceMappingURL=CustomTextInput.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{__assign as e}from"../../../_virtual/_tslib.js";import{jsxs as l,jsx as i,Fragment as o}from"react/jsx-runtime";import{Sidebar as t}from"primereact/sidebar";import{Button as n}from"primereact/button";import"primereact/resources/themes/lara-light-indigo/theme.css";import"primereact/resources/primereact.min.css";import"primeicons/primeicons.css";import r from"../DatePickers/DateRangeSelector.js";import a from"../DropDowns/CustomMultiSelect.js";import s from"../DatePickers/DateSelector.js";import d from"./CustomTextInput.js";import c from"../DropDowns/CustomSingleSelect.js";function u(u){var m=u.visible,p=u.onHide,v=u.fields,h=void 0===v?[]:v,g=u.onReset,f=u.onApply,b=u.title;return l(t,e({visible:m,position:"right",onHide:p,dismissable:!1,showCloseIcon:!0,modal:!0,className:"log-filterSidebar",header:i("div",e({className:"log-filterTitle"},{children:null!=b?b:"Filter By"}))},{children:[i("div",e({className:"log-filterBody"},{children:null==h?void 0:h.map(function(t){var n,u,m;return l("div",e({className:"log-filterBlock"},{children:[i("div",e({className:"log-filterLabel"},{children:t.label})),t.hint&&i("div",e({className:"log-filterHint"},{children:t.hint})),i("div",e({style:{marginTop:"12px"}},{children:(null==t?void 0:t.loading)?i("div",e({className:"log-filterEmpty"},{children:"Loading..."})):l(o,{children:["text"===t.type&&i(d,{value:null==t?void 0:t.value,placeholder:(null==t?void 0:t.placeholder)||"Enter the value..",disabled:null==t?void 0:t.disabled,onChange:null==t?void 0:t.onChange}),"singleSelect"===t.type&&i(c,{value:null==t?void 0:t.value,options:null!==(n=null==t?void 0:t.options)&&void 0!==n?n:[],placeholder:null==t?void 0:t.placeholder,disabled:null==t?void 0:t.disabled,onChange:null==t?void 0:t.onChange}),"multiSelect"===t.type&&i(a,{options:null!==(u=null==t?void 0:t.options)&&void 0!==u?u:[],value:null!==(m=null==t?void 0:t.value)&&void 0!==m?m:[],onChange:null==t?void 0:t.onChange,selectAllLabel:null==t?void 0:t.selectAllLabel}),"date"===t.type&&i(s,{value:null==t?void 0:t.value,onChange:null==t?void 0:t.onChange,styles:{root:{padding:0},trigger:{height:"40px"}}}),"dateRange"===t.type&&i(r,{value:null==t?void 0:t.value,onChange:null==t?void 0:t.onChange,endIcon:!0})]})}))]}),t.id)})})),l("div",e({className:"log-filterFooter"},{children:[i(n,{label:"Reset Filter",className:"p-button-outlined log-btnReset",onClick:g}),i(n,{label:"Apply Filter",className:"log-btnApply",onClick:f})]}))]}))}export{u as default};
|
|
2
|
-
//# sourceMappingURL=FiltersSidebar.js.map
|