@e-llm-studio/federated-dashboard-components 0.0.1-beta.9 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +698 -0
- package/dist/ExecutiveDashboard/ExecutiveDashboardWrapper.js +2 -0
- package/dist/ExecutiveDashboard/ExecutiveDashboardWrapper.js.map +1 -0
- package/dist/ExecutiveDashboard/api/dashboardApi.js +2 -0
- package/dist/ExecutiveDashboard/api/dashboardApi.js.map +1 -0
- package/dist/ExecutiveDashboard/components/DashboardCard/BreakingNewsBanner.js +2 -0
- package/dist/ExecutiveDashboard/components/DashboardCard/CardShell.js +2 -0
- package/dist/ExecutiveDashboard/components/DashboardCard/CenteredCell.js +2 -0
- package/dist/ExecutiveDashboard/components/DashboardCard/DashboardCard.js +2 -0
- package/dist/ExecutiveDashboard/components/DashboardCard/DetailRow.js +2 -0
- package/dist/ExecutiveDashboard/components/DashboardCard/EventsSection.js +2 -0
- package/dist/ExecutiveDashboard/components/DashboardCard/FooterLinkButton.js +2 -0
- package/dist/ExecutiveDashboard/components/DashboardCard/GridSection.js +2 -0
- package/dist/ExecutiveDashboard/components/DashboardCard/ListSection.js +2 -0
- package/dist/ExecutiveDashboard/components/DashboardCard/SectionHeadingBar.js +2 -0
- package/dist/ExecutiveDashboard/components/DashboardCard/SkeletonRow.js +2 -0
- package/dist/ExecutiveDashboard/components/DashboardCard/TagsSection.js +2 -0
- package/dist/ExecutiveDashboard/components/DashboardCard/TopDropdownMenu.js +2 -0
- package/dist/ExecutiveDashboard/components/DashboardDateFilter/DashboardDateFilter.js +2 -0
- package/dist/ExecutiveDashboard/components/DashboardDateFilter/datePreset.js +2 -0
- package/dist/ExecutiveDashboard/components/DashboardSkeleton/DashboardSkeleton.js +2 -0
- package/dist/ExecutiveDashboard/components/DashboardSkeleton/DashboardSkeleton.js.map +1 -0
- package/dist/ExecutiveDashboard/components/DatePickers/DatePicker.js +2 -0
- package/dist/ExecutiveDashboard/components/DatePickers/DateRangeSelector.js +2 -0
- package/dist/ExecutiveDashboard/components/DatePickers/DateSelector.js +2 -0
- package/dist/ExecutiveDashboard/components/DropDowns/CustomMultiSelect.js +2 -0
- package/dist/ExecutiveDashboard/components/DropDowns/CustomSingleSelect.js +2 -0
- package/dist/ExecutiveDashboard/components/ExecutiveDashboard.js +2 -0
- package/dist/ExecutiveDashboard/components/ExecutiveDashboard.js.map +1 -0
- package/dist/ExecutiveDashboard/components/FiltersSidebar/CustomTextInput.js +2 -0
- package/dist/ExecutiveDashboard/components/FiltersSidebar/FiltersSidebar.js +2 -0
- package/dist/ExecutiveDashboard/components/Graph/Graph.js +2 -0
- package/dist/ExecutiveDashboard/components/Graph/GraphEmptyState.js +2 -0
- package/dist/ExecutiveDashboard/components/Graph/GraphEmptyState.js.map +1 -0
- package/dist/ExecutiveDashboard/components/Graph/GraphSkeleton.js +2 -0
- package/dist/ExecutiveDashboard/components/Graph/GraphSkeleton.js.map +1 -0
- package/dist/ExecutiveDashboard/components/Graph/LineChart.js +2 -0
- package/dist/ExecutiveDashboard/components/Graph/PlotBySelector.js +2 -0
- package/dist/ExecutiveDashboard/components/MetricCard/MetricCard.js +2 -0
- package/dist/ExecutiveDashboard/components/Table/FTable.js +2 -0
- package/dist/ExecutiveDashboard/components/Table/SortDropdown.js +2 -0
- package/dist/ExecutiveDashboard/components/Table/TableCard.js +2 -0
- package/dist/ExecutiveDashboard/components/Table/TableGrid/TableGrid.js +2 -0
- package/dist/ExecutiveDashboard/components/Table/TableGrid/TableGrid.js.map +1 -0
- package/dist/ExecutiveDashboard/components/Table/TableGrid/TableLayoutToggle.js +2 -0
- package/dist/ExecutiveDashboard/components/Table/TableGrid/TableLayoutToggle.js.map +1 -0
- package/dist/ExecutiveDashboard/components/Table/TableGrid/spans.js +2 -0
- package/dist/ExecutiveDashboard/components/Table/TableGrid/spans.js.map +1 -0
- package/dist/ExecutiveDashboard/components/Table/TableGrid/useResponsiveColumns.js +2 -0
- package/dist/ExecutiveDashboard/components/Table/TableGrid/useResponsiveColumns.js.map +1 -0
- package/dist/ExecutiveDashboard/components/ui/chart.js +2 -0
- package/dist/ExecutiveDashboard/utils/index.js +2 -0
- package/dist/ExecutiveDashboard/utils/index.js.map +1 -0
- package/dist/ExecutiveDashboard/utils/kpiIcon.js +2 -0
- package/dist/ExecutiveDashboard/utils/kpiIcon.js.map +1 -0
- package/dist/ExecutiveDashboard/utils/sectionOrder.js +2 -0
- package/dist/ExecutiveDashboard/utils/sectionOrder.js.map +1 -0
- package/dist/ExecutiveDashboard/utils/tableColumns.js +2 -0
- package/dist/ExecutiveDashboard/utils/tableColumns.js.map +1 -0
- package/dist/RecordDashboard/RecordApi/RecordDashboardApi.js +2 -0
- package/dist/RecordDashboard/RecordApi/RecordDashboardApi.js.map +1 -0
- package/dist/RecordDashboard/RecordComponents/AnalyticsChart/AnalyticsChart.js +2 -0
- package/dist/RecordDashboard/RecordComponents/AnalyticsChart/AnalyticsChart.js.map +1 -0
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordBreakingNewsBanner.js +2 -0
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordBreakingNewsBanner.js.map +1 -0
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordCardShell.js +2 -0
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordCardShell.js.map +1 -0
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordCenteredCell.js +2 -0
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordCenteredCell.js.map +1 -0
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordDashboardCard.js +2 -0
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordDashboardCard.js.map +1 -0
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordDetailRow.js +2 -0
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordDetailRow.js.map +1 -0
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordEventsSection.js +2 -0
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordEventsSection.js.map +1 -0
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordFooterLinkButton.js +2 -0
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordFooterLinkButton.js.map +1 -0
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordGridSection.js +2 -0
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordGridSection.js.map +1 -0
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordListSection.js +2 -0
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordListSection.js.map +1 -0
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordSectionContent.js +2 -0
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordSectionContent.js.map +1 -0
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordSectionHeadingBar.js +2 -0
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordSectionHeadingBar.js.map +1 -0
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordSkeletonRow.js +2 -0
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordSkeletonRow.js.map +1 -0
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordTagsSection.js +2 -0
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordTagsSection.js.map +1 -0
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordTopDropdownMenu.js +2 -0
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordTopDropdownMenu.js.map +1 -0
- package/dist/RecordDashboard/RecordComponents/DashboardCard/styles/RecordDashboardCardStyles.js +2 -0
- package/dist/RecordDashboard/RecordComponents/DashboardCard/styles/RecordDashboardCardStyles.js.map +1 -0
- package/dist/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDashboardDateFilter.js +2 -0
- package/dist/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDashboardDateFilter.js.map +1 -0
- package/dist/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDatePreset.js +2 -0
- package/dist/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDatePreset.js.map +1 -0
- package/dist/RecordDashboard/RecordComponents/DashboardSkeleton/RecordDashboardSkeleton.js +2 -0
- package/dist/RecordDashboard/RecordComponents/DashboardSkeleton/RecordDashboardSkeleton.js.map +1 -0
- package/dist/RecordDashboard/RecordComponents/DatePickers/RecordDatePicker.js +2 -0
- package/dist/RecordDashboard/RecordComponents/DatePickers/RecordDatePicker.js.map +1 -0
- package/dist/RecordDashboard/RecordComponents/DatePickers/RecordDateRangeSelector.js +2 -0
- package/dist/RecordDashboard/RecordComponents/DatePickers/RecordDateRangeSelector.js.map +1 -0
- package/dist/RecordDashboard/RecordComponents/DatePickers/RecordDateSelector.js +2 -0
- package/dist/RecordDashboard/RecordComponents/DatePickers/RecordDateSelector.js.map +1 -0
- package/dist/RecordDashboard/RecordComponents/DropDowns/RecordCustomMultiSelect.js +2 -0
- package/dist/RecordDashboard/RecordComponents/DropDowns/RecordCustomMultiSelect.js.map +1 -0
- package/dist/RecordDashboard/RecordComponents/DropDowns/RecordCustomSingleSelect.js +2 -0
- package/dist/RecordDashboard/RecordComponents/DropDowns/RecordCustomSingleSelect.js.map +1 -0
- package/dist/RecordDashboard/RecordComponents/FiltersSidebar/RecordCustomTextInput.js +2 -0
- package/dist/RecordDashboard/RecordComponents/FiltersSidebar/RecordCustomTextInput.js.map +1 -0
- package/dist/RecordDashboard/RecordComponents/FiltersSidebar/RecordFiltersSidebar.js +2 -0
- package/dist/RecordDashboard/RecordComponents/FiltersSidebar/RecordFiltersSidebar.js.map +1 -0
- package/dist/RecordDashboard/RecordComponents/Graph/RecordGraph.js +2 -0
- package/dist/RecordDashboard/RecordComponents/Graph/RecordGraph.js.map +1 -0
- package/dist/RecordDashboard/RecordComponents/Graph/RecordGraphEmptyState.js +2 -0
- package/dist/RecordDashboard/RecordComponents/Graph/RecordGraphEmptyState.js.map +1 -0
- package/dist/RecordDashboard/RecordComponents/Graph/RecordGraphSkeleton.js +2 -0
- package/dist/RecordDashboard/RecordComponents/Graph/RecordGraphSkeleton.js.map +1 -0
- package/dist/RecordDashboard/RecordComponents/Graph/RecordLineChart.js +2 -0
- package/dist/RecordDashboard/RecordComponents/Graph/RecordLineChart.js.map +1 -0
- package/dist/RecordDashboard/RecordComponents/Graph/RecordPlotBySelector.js +2 -0
- package/dist/RecordDashboard/RecordComponents/Graph/RecordPlotBySelector.js.map +1 -0
- package/dist/RecordDashboard/RecordComponents/Graph/types.js +2 -0
- package/dist/RecordDashboard/RecordComponents/MetricCard/RecordMetricCard.js +2 -0
- package/dist/RecordDashboard/RecordComponents/MetricCard/RecordMetricCard.js.map +1 -0
- package/dist/RecordDashboard/RecordComponents/RecordDashboard.js +2 -0
- package/dist/RecordDashboard/RecordComponents/RecordDashboard.js.map +1 -0
- package/dist/RecordDashboard/RecordComponents/StatsCard/RecordDashboardStats.js +2 -0
- package/dist/RecordDashboard/RecordComponents/StatsCard/RecordDashboardStats.js.map +1 -0
- package/dist/RecordDashboard/RecordComponents/Table/Pagination/TablePagination.js +2 -0
- package/dist/RecordDashboard/RecordComponents/Table/Pagination/TablePagination.js.map +1 -0
- package/dist/RecordDashboard/RecordComponents/Table/RecordFTable.js +2 -0
- package/dist/RecordDashboard/RecordComponents/Table/RecordFTable.js.map +1 -0
- package/dist/RecordDashboard/RecordComponents/Table/RecordSortDropdown.js +2 -0
- package/dist/RecordDashboard/RecordComponents/Table/RecordSortDropdown.js.map +1 -0
- package/dist/RecordDashboard/RecordComponents/Table/RecordTableCard.js +2 -0
- package/dist/RecordDashboard/RecordComponents/Table/RecordTableCard.js.map +1 -0
- package/dist/RecordDashboard/RecordComponents/Table/TableGrid/RecordSpans.js +2 -0
- package/dist/RecordDashboard/RecordComponents/Table/TableGrid/RecordSpans.js.map +1 -0
- package/dist/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableGrid.js +2 -0
- package/dist/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableGrid.js.map +1 -0
- package/dist/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableLayoutToggle.js +2 -0
- package/dist/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableLayoutToggle.js.map +1 -0
- package/dist/RecordDashboard/RecordComponents/Table/TableGrid/useRecordResponsiveColumns.js +2 -0
- package/dist/RecordDashboard/RecordComponents/Table/TableGrid/useRecordResponsiveColumns.js.map +1 -0
- package/dist/RecordDashboard/RecordComponents/TableHeader/TableHeader.js +2 -0
- package/dist/RecordDashboard/RecordComponents/TableHeader/TableHeader.js.map +1 -0
- package/dist/RecordDashboard/RecordComponents/ui/RecordChart.js +2 -0
- package/dist/RecordDashboard/RecordComponents/ui/RecordChart.js.map +1 -0
- package/dist/RecordDashboard/RecordComponents/ui/utils.js +2 -0
- package/dist/RecordDashboard/RecordDashboardWrapper.js +2 -0
- package/dist/RecordDashboard/RecordDashboardWrapper.js.map +1 -0
- package/dist/RecordDashboard/RecordUtils/RecordKpiIcon.js +2 -0
- package/dist/RecordDashboard/RecordUtils/RecordKpiIcon.js.map +1 -0
- package/dist/RecordDashboard/RecordUtils/RecordSectionOrder.js +2 -0
- package/dist/RecordDashboard/RecordUtils/RecordSectionOrder.js.map +1 -0
- package/dist/RecordDashboard/RecordUtils/RecordTableColumns.js +2 -0
- package/dist/RecordDashboard/RecordUtils/RecordTableColumns.js.map +1 -0
- package/dist/RecordDashboard/RecordUtils/index.js +2 -0
- package/dist/RecordDashboard/RecordUtils/index.js.map +1 -0
- package/dist/_virtual/_tslib.js +1 -1
- package/dist/cjs/ExecutiveDashboard/ExecutiveDashboardWrapper.js +2 -0
- package/dist/cjs/ExecutiveDashboard/ExecutiveDashboardWrapper.js.map +1 -0
- package/dist/cjs/ExecutiveDashboard/api/dashboardApi.js +2 -0
- package/dist/cjs/ExecutiveDashboard/api/dashboardApi.js.map +1 -0
- package/dist/cjs/ExecutiveDashboard/components/DashboardCard/BreakingNewsBanner.js +2 -0
- package/dist/cjs/ExecutiveDashboard/components/DashboardCard/CardShell.js +2 -0
- package/dist/cjs/ExecutiveDashboard/components/DashboardCard/CenteredCell.js +2 -0
- package/dist/cjs/ExecutiveDashboard/components/DashboardCard/DashboardCard.js +2 -0
- package/dist/cjs/ExecutiveDashboard/components/DashboardCard/DetailRow.js +2 -0
- package/dist/cjs/ExecutiveDashboard/components/DashboardCard/EventsSection.js +2 -0
- package/dist/cjs/ExecutiveDashboard/components/DashboardCard/FooterLinkButton.js +2 -0
- package/dist/cjs/ExecutiveDashboard/components/DashboardCard/GridSection.js +2 -0
- package/dist/cjs/ExecutiveDashboard/components/DashboardCard/ListSection.js +2 -0
- package/dist/cjs/ExecutiveDashboard/components/DashboardCard/SectionHeadingBar.js +2 -0
- package/dist/cjs/ExecutiveDashboard/components/DashboardCard/SkeletonRow.js +2 -0
- package/dist/cjs/ExecutiveDashboard/components/DashboardCard/TagsSection.js +2 -0
- package/dist/cjs/ExecutiveDashboard/components/DashboardCard/TopDropdownMenu.js +2 -0
- package/dist/cjs/ExecutiveDashboard/components/DashboardDateFilter/DashboardDateFilter.js +2 -0
- package/dist/cjs/ExecutiveDashboard/components/DashboardDateFilter/datePreset.js +2 -0
- package/dist/cjs/ExecutiveDashboard/components/DashboardSkeleton/DashboardSkeleton.js +2 -0
- package/dist/cjs/ExecutiveDashboard/components/DashboardSkeleton/DashboardSkeleton.js.map +1 -0
- package/dist/cjs/ExecutiveDashboard/components/DatePickers/DatePicker.js +2 -0
- package/dist/cjs/ExecutiveDashboard/components/DatePickers/DateRangeSelector.js +2 -0
- package/dist/cjs/ExecutiveDashboard/components/DatePickers/DateSelector.js +2 -0
- package/dist/cjs/ExecutiveDashboard/components/DropDowns/CustomMultiSelect.js +2 -0
- package/dist/cjs/ExecutiveDashboard/components/DropDowns/CustomSingleSelect.js +2 -0
- package/dist/cjs/ExecutiveDashboard/components/ExecutiveDashboard.js +2 -0
- package/dist/cjs/ExecutiveDashboard/components/ExecutiveDashboard.js.map +1 -0
- package/dist/cjs/ExecutiveDashboard/components/FiltersSidebar/CustomTextInput.js +2 -0
- package/dist/cjs/ExecutiveDashboard/components/FiltersSidebar/FiltersSidebar.js +2 -0
- package/dist/cjs/ExecutiveDashboard/components/Graph/Graph.js +2 -0
- package/dist/cjs/ExecutiveDashboard/components/Graph/GraphEmptyState.js +2 -0
- package/dist/cjs/ExecutiveDashboard/components/Graph/GraphEmptyState.js.map +1 -0
- package/dist/cjs/ExecutiveDashboard/components/Graph/GraphSkeleton.js +2 -0
- package/dist/cjs/ExecutiveDashboard/components/Graph/GraphSkeleton.js.map +1 -0
- package/dist/cjs/ExecutiveDashboard/components/Graph/LineChart.js +2 -0
- package/dist/cjs/ExecutiveDashboard/components/Graph/PlotBySelector.js +2 -0
- package/dist/cjs/ExecutiveDashboard/components/Graph/types.js.map +1 -0
- package/dist/cjs/ExecutiveDashboard/components/MetricCard/MetricCard.js +2 -0
- package/dist/cjs/ExecutiveDashboard/components/Table/FTable.js +2 -0
- package/dist/cjs/ExecutiveDashboard/components/Table/SortDropdown.js +2 -0
- package/dist/cjs/ExecutiveDashboard/components/Table/TableCard.js +2 -0
- package/dist/cjs/ExecutiveDashboard/components/Table/TableGrid/TableGrid.js +2 -0
- package/dist/cjs/ExecutiveDashboard/components/Table/TableGrid/TableGrid.js.map +1 -0
- package/dist/cjs/ExecutiveDashboard/components/Table/TableGrid/TableLayoutToggle.js +2 -0
- package/dist/cjs/ExecutiveDashboard/components/Table/TableGrid/TableLayoutToggle.js.map +1 -0
- package/dist/cjs/ExecutiveDashboard/components/Table/TableGrid/spans.js +2 -0
- package/dist/cjs/ExecutiveDashboard/components/Table/TableGrid/spans.js.map +1 -0
- package/dist/cjs/ExecutiveDashboard/components/Table/TableGrid/useResponsiveColumns.js +2 -0
- package/dist/cjs/ExecutiveDashboard/components/Table/TableGrid/useResponsiveColumns.js.map +1 -0
- package/dist/cjs/ExecutiveDashboard/components/ui/chart.js +2 -0
- package/dist/cjs/ExecutiveDashboard/components/ui/utils.js.map +1 -0
- package/dist/cjs/ExecutiveDashboard/utils/index.js +2 -0
- package/dist/cjs/ExecutiveDashboard/utils/index.js.map +1 -0
- package/dist/cjs/ExecutiveDashboard/utils/kpiIcon.js +2 -0
- package/dist/cjs/ExecutiveDashboard/utils/kpiIcon.js.map +1 -0
- package/dist/cjs/ExecutiveDashboard/utils/sectionOrder.js +2 -0
- package/dist/cjs/ExecutiveDashboard/utils/sectionOrder.js.map +1 -0
- package/dist/cjs/ExecutiveDashboard/utils/tableColumns.js +2 -0
- package/dist/cjs/ExecutiveDashboard/utils/tableColumns.js.map +1 -0
- package/dist/cjs/RecordDashboard/RecordApi/RecordDashboardApi.js +2 -0
- package/dist/cjs/RecordDashboard/RecordApi/RecordDashboardApi.js.map +1 -0
- package/dist/cjs/RecordDashboard/RecordComponents/AnalyticsChart/AnalyticsChart.js +2 -0
- package/dist/cjs/RecordDashboard/RecordComponents/AnalyticsChart/AnalyticsChart.js.map +1 -0
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordBreakingNewsBanner.js +2 -0
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordBreakingNewsBanner.js.map +1 -0
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordCardShell.js +2 -0
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordCardShell.js.map +1 -0
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordCenteredCell.js +2 -0
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordCenteredCell.js.map +1 -0
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordDashboardCard.js +2 -0
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordDashboardCard.js.map +1 -0
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordDetailRow.js +2 -0
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordDetailRow.js.map +1 -0
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordEventsSection.js +2 -0
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordEventsSection.js.map +1 -0
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordFooterLinkButton.js +2 -0
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordFooterLinkButton.js.map +1 -0
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordGridSection.js +2 -0
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordGridSection.js.map +1 -0
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordListSection.js +2 -0
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordListSection.js.map +1 -0
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordSectionContent.js +2 -0
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordSectionContent.js.map +1 -0
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordSectionHeadingBar.js +2 -0
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordSectionHeadingBar.js.map +1 -0
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordSkeletonRow.js +2 -0
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordSkeletonRow.js.map +1 -0
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordTagsSection.js +2 -0
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordTagsSection.js.map +1 -0
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordTopDropdownMenu.js +2 -0
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordTopDropdownMenu.js.map +1 -0
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/styles/RecordDashboardCardStyles.js +2 -0
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/styles/RecordDashboardCardStyles.js.map +1 -0
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDashboardDateFilter.js +2 -0
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDashboardDateFilter.js.map +1 -0
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDatePreset.js +2 -0
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDatePreset.js.map +1 -0
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardSkeleton/RecordDashboardSkeleton.js +2 -0
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardSkeleton/RecordDashboardSkeleton.js.map +1 -0
- package/dist/cjs/RecordDashboard/RecordComponents/DatePickers/RecordDatePicker.js +2 -0
- package/dist/cjs/RecordDashboard/RecordComponents/DatePickers/RecordDatePicker.js.map +1 -0
- package/dist/cjs/RecordDashboard/RecordComponents/DatePickers/RecordDateRangeSelector.js +2 -0
- package/dist/cjs/RecordDashboard/RecordComponents/DatePickers/RecordDateRangeSelector.js.map +1 -0
- package/dist/cjs/RecordDashboard/RecordComponents/DatePickers/RecordDateSelector.js +2 -0
- package/dist/cjs/RecordDashboard/RecordComponents/DatePickers/RecordDateSelector.js.map +1 -0
- package/dist/cjs/RecordDashboard/RecordComponents/DropDowns/RecordCustomMultiSelect.js +2 -0
- package/dist/cjs/RecordDashboard/RecordComponents/DropDowns/RecordCustomMultiSelect.js.map +1 -0
- package/dist/cjs/RecordDashboard/RecordComponents/DropDowns/RecordCustomSingleSelect.js +2 -0
- package/dist/cjs/RecordDashboard/RecordComponents/DropDowns/RecordCustomSingleSelect.js.map +1 -0
- package/dist/cjs/RecordDashboard/RecordComponents/FiltersSidebar/RecordCustomTextInput.js +2 -0
- package/dist/cjs/RecordDashboard/RecordComponents/FiltersSidebar/RecordCustomTextInput.js.map +1 -0
- package/dist/cjs/RecordDashboard/RecordComponents/FiltersSidebar/RecordFiltersSidebar.js +2 -0
- package/dist/cjs/RecordDashboard/RecordComponents/FiltersSidebar/RecordFiltersSidebar.js.map +1 -0
- package/dist/cjs/RecordDashboard/RecordComponents/Graph/RecordGraph.js +2 -0
- package/dist/cjs/RecordDashboard/RecordComponents/Graph/RecordGraph.js.map +1 -0
- package/dist/cjs/RecordDashboard/RecordComponents/Graph/RecordGraphEmptyState.js +2 -0
- package/dist/cjs/RecordDashboard/RecordComponents/Graph/RecordGraphEmptyState.js.map +1 -0
- package/dist/cjs/RecordDashboard/RecordComponents/Graph/RecordGraphSkeleton.js +2 -0
- package/dist/cjs/RecordDashboard/RecordComponents/Graph/RecordGraphSkeleton.js.map +1 -0
- package/dist/cjs/RecordDashboard/RecordComponents/Graph/RecordLineChart.js +2 -0
- package/dist/cjs/RecordDashboard/RecordComponents/Graph/RecordLineChart.js.map +1 -0
- package/dist/cjs/RecordDashboard/RecordComponents/Graph/RecordPlotBySelector.js +2 -0
- package/dist/cjs/RecordDashboard/RecordComponents/Graph/RecordPlotBySelector.js.map +1 -0
- package/dist/cjs/RecordDashboard/RecordComponents/Graph/types.js +2 -0
- package/dist/cjs/RecordDashboard/RecordComponents/Graph/types.js.map +1 -0
- package/dist/cjs/RecordDashboard/RecordComponents/MetricCard/RecordMetricCard.js +2 -0
- package/dist/cjs/RecordDashboard/RecordComponents/MetricCard/RecordMetricCard.js.map +1 -0
- package/dist/cjs/RecordDashboard/RecordComponents/RecordDashboard.js +2 -0
- package/dist/cjs/RecordDashboard/RecordComponents/RecordDashboard.js.map +1 -0
- package/dist/cjs/RecordDashboard/RecordComponents/StatsCard/RecordDashboardStats.js +2 -0
- package/dist/cjs/RecordDashboard/RecordComponents/StatsCard/RecordDashboardStats.js.map +1 -0
- package/dist/cjs/RecordDashboard/RecordComponents/Table/Pagination/TablePagination.js +2 -0
- package/dist/cjs/RecordDashboard/RecordComponents/Table/Pagination/TablePagination.js.map +1 -0
- package/dist/cjs/RecordDashboard/RecordComponents/Table/RecordFTable.js +2 -0
- package/dist/cjs/RecordDashboard/RecordComponents/Table/RecordFTable.js.map +1 -0
- package/dist/cjs/RecordDashboard/RecordComponents/Table/RecordSortDropdown.js +2 -0
- package/dist/cjs/RecordDashboard/RecordComponents/Table/RecordSortDropdown.js.map +1 -0
- package/dist/cjs/RecordDashboard/RecordComponents/Table/RecordTableCard.js +2 -0
- package/dist/cjs/RecordDashboard/RecordComponents/Table/RecordTableCard.js.map +1 -0
- package/dist/cjs/RecordDashboard/RecordComponents/Table/TableGrid/RecordSpans.js +2 -0
- package/dist/cjs/RecordDashboard/RecordComponents/Table/TableGrid/RecordSpans.js.map +1 -0
- package/dist/cjs/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableGrid.js +2 -0
- package/dist/cjs/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableGrid.js.map +1 -0
- package/dist/cjs/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableLayoutToggle.js +2 -0
- package/dist/cjs/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableLayoutToggle.js.map +1 -0
- package/dist/cjs/RecordDashboard/RecordComponents/Table/TableGrid/useRecordResponsiveColumns.js +2 -0
- package/dist/cjs/RecordDashboard/RecordComponents/Table/TableGrid/useRecordResponsiveColumns.js.map +1 -0
- package/dist/cjs/RecordDashboard/RecordComponents/TableHeader/TableHeader.js +2 -0
- package/dist/cjs/RecordDashboard/RecordComponents/TableHeader/TableHeader.js.map +1 -0
- package/dist/cjs/RecordDashboard/RecordComponents/ui/RecordChart.js +2 -0
- package/dist/cjs/RecordDashboard/RecordComponents/ui/RecordChart.js.map +1 -0
- package/dist/cjs/RecordDashboard/RecordComponents/ui/utils.js +2 -0
- package/dist/cjs/RecordDashboard/RecordComponents/ui/utils.js.map +1 -0
- package/dist/cjs/RecordDashboard/RecordDashboardWrapper.js +2 -0
- package/dist/cjs/RecordDashboard/RecordDashboardWrapper.js.map +1 -0
- package/dist/cjs/RecordDashboard/RecordUtils/RecordKpiIcon.js +2 -0
- package/dist/cjs/RecordDashboard/RecordUtils/RecordKpiIcon.js.map +1 -0
- package/dist/cjs/RecordDashboard/RecordUtils/RecordSectionOrder.js +2 -0
- package/dist/cjs/RecordDashboard/RecordUtils/RecordSectionOrder.js.map +1 -0
- package/dist/cjs/RecordDashboard/RecordUtils/RecordTableColumns.js +2 -0
- package/dist/cjs/RecordDashboard/RecordUtils/RecordTableColumns.js.map +1 -0
- package/dist/cjs/RecordDashboard/RecordUtils/index.js +2 -0
- package/dist/cjs/RecordDashboard/RecordUtils/index.js.map +1 -0
- package/dist/cjs/_virtual/_tslib.js +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/node_modules/@kurkle/color/dist/color.esm.js +9 -0
- package/dist/cjs/node_modules/@kurkle/color/dist/color.esm.js.map +1 -0
- package/dist/cjs/node_modules/chart.js/auto/auto.js +2 -0
- package/dist/cjs/node_modules/chart.js/auto/auto.js.map +1 -0
- package/dist/cjs/node_modules/chart.js/dist/chart.js +8 -0
- package/dist/cjs/node_modules/chart.js/dist/chart.js.map +1 -0
- package/dist/cjs/node_modules/chart.js/dist/chunks/helpers.dataset.js +8 -0
- package/dist/cjs/node_modules/chart.js/dist/chunks/helpers.dataset.js.map +1 -0
- package/dist/cjs/node_modules/chartjs-plugin-datalabels/dist/chartjs-plugin-datalabels.esm.js +2 -0
- package/dist/cjs/node_modules/chartjs-plugin-datalabels/dist/chartjs-plugin-datalabels.esm.js.map +1 -0
- package/dist/cjs/styles.css +1 -1
- package/dist/index.js +1 -1
- package/dist/node_modules/@kurkle/color/dist/color.esm.js +8 -0
- package/dist/node_modules/@kurkle/color/dist/color.esm.js.map +1 -0
- package/dist/node_modules/chart.js/auto/auto.js +2 -0
- package/dist/node_modules/chart.js/auto/auto.js.map +1 -0
- package/dist/node_modules/chart.js/dist/chart.js +8 -0
- package/dist/node_modules/chart.js/dist/chart.js.map +1 -0
- package/dist/node_modules/chart.js/dist/chunks/helpers.dataset.js +8 -0
- package/dist/node_modules/chart.js/dist/chunks/helpers.dataset.js.map +1 -0
- package/dist/node_modules/chartjs-plugin-datalabels/dist/chartjs-plugin-datalabels.esm.js +8 -0
- package/dist/node_modules/chartjs-plugin-datalabels/dist/chartjs-plugin-datalabels.esm.js.map +1 -0
- package/dist/styles.css +1 -1
- package/dist/types/App.d.ts +0 -1
- package/dist/types/App.d.ts.map +1 -1
- package/dist/types/ExecutiveDashboard/ExecutiveDashboardWrapper.d.ts +4 -0
- package/dist/types/ExecutiveDashboard/ExecutiveDashboardWrapper.d.ts.map +1 -0
- package/dist/types/ExecutiveDashboard/TestExecutiveDashboard.d.ts +2 -0
- package/dist/types/ExecutiveDashboard/TestExecutiveDashboard.d.ts.map +1 -0
- package/dist/types/ExecutiveDashboard/api/dashboardApi.d.ts +30 -0
- package/dist/types/ExecutiveDashboard/api/dashboardApi.d.ts.map +1 -0
- package/dist/types/ExecutiveDashboard/components/DashboardCard/BreakingNewsBanner.d.ts.map +1 -0
- package/dist/types/ExecutiveDashboard/components/DashboardCard/CardShell.d.ts.map +1 -0
- package/dist/types/ExecutiveDashboard/components/DashboardCard/CenteredCell.d.ts.map +1 -0
- package/dist/types/ExecutiveDashboard/components/DashboardCard/DashboardCard.d.ts.map +1 -0
- package/dist/types/ExecutiveDashboard/components/DashboardCard/DetailRow.d.ts.map +1 -0
- package/dist/types/ExecutiveDashboard/components/DashboardCard/EventsSection.d.ts.map +1 -0
- package/dist/types/ExecutiveDashboard/components/DashboardCard/FooterLinkButton.d.ts.map +1 -0
- package/dist/types/ExecutiveDashboard/components/DashboardCard/GridSection.d.ts.map +1 -0
- package/dist/types/ExecutiveDashboard/components/DashboardCard/ListSection.d.ts.map +1 -0
- package/dist/types/ExecutiveDashboard/components/DashboardCard/SectionHeadingBar.d.ts.map +1 -0
- package/dist/types/ExecutiveDashboard/components/DashboardCard/SkeletonRow.d.ts.map +1 -0
- package/dist/types/ExecutiveDashboard/components/DashboardCard/TagsSection.d.ts.map +1 -0
- package/dist/types/ExecutiveDashboard/components/DashboardCard/TopDropdownMenu.d.ts.map +1 -0
- package/dist/types/ExecutiveDashboard/components/DashboardCard/sectionContent.d.ts.map +1 -0
- package/dist/types/ExecutiveDashboard/components/DashboardCard/styles/DashboardCardStyles.d.ts.map +1 -0
- package/dist/types/ExecutiveDashboard/components/DashboardCard/types.d.ts.map +1 -0
- package/dist/types/{components → ExecutiveDashboard/components}/DashboardDateFilter/DashboardDateFilter.d.ts +2 -1
- package/dist/types/ExecutiveDashboard/components/DashboardDateFilter/DashboardDateFilter.d.ts.map +1 -0
- package/dist/types/ExecutiveDashboard/components/DashboardDateFilter/DashboardDateFilter.types.d.ts.map +1 -0
- package/dist/types/{components → ExecutiveDashboard/components}/DashboardDateFilter/datePreset.d.ts +12 -11
- package/dist/types/ExecutiveDashboard/components/DashboardDateFilter/datePreset.d.ts.map +1 -0
- package/dist/types/ExecutiveDashboard/components/DashboardSkeleton/DashboardSkeleton.d.ts +4 -0
- package/dist/types/ExecutiveDashboard/components/DashboardSkeleton/DashboardSkeleton.d.ts.map +1 -0
- package/dist/types/ExecutiveDashboard/components/DatePickers/DatePicker.d.ts.map +1 -0
- package/dist/types/ExecutiveDashboard/components/DatePickers/DateRangeSelector.d.ts.map +1 -0
- package/dist/types/ExecutiveDashboard/components/DatePickers/DateSelector.d.ts.map +1 -0
- package/dist/types/ExecutiveDashboard/components/DropDowns/CustomMultiSelect.d.ts.map +1 -0
- package/dist/types/ExecutiveDashboard/components/DropDowns/CustomSingleSelect.d.ts.map +1 -0
- package/dist/types/ExecutiveDashboard/components/ExecutiveDashboard.d.ts +56 -0
- package/dist/types/ExecutiveDashboard/components/ExecutiveDashboard.d.ts.map +1 -0
- package/dist/types/ExecutiveDashboard/components/FiltersSidebar/CustomTextInput.d.ts.map +1 -0
- package/dist/types/ExecutiveDashboard/components/FiltersSidebar/FiltersSidebar.d.ts.map +1 -0
- package/dist/types/ExecutiveDashboard/components/Graph/Graph.d.ts.map +1 -0
- package/dist/types/ExecutiveDashboard/components/Graph/GraphEmptyState.d.ts +11 -0
- package/dist/types/ExecutiveDashboard/components/Graph/GraphEmptyState.d.ts.map +1 -0
- package/dist/types/ExecutiveDashboard/components/Graph/GraphSkeleton.d.ts +10 -0
- package/dist/types/ExecutiveDashboard/components/Graph/GraphSkeleton.d.ts.map +1 -0
- package/dist/types/ExecutiveDashboard/components/Graph/LineChart.d.ts.map +1 -0
- package/dist/types/ExecutiveDashboard/components/Graph/PlotBySelector.d.ts.map +1 -0
- package/dist/types/ExecutiveDashboard/components/Graph/types.d.ts.map +1 -0
- package/dist/types/ExecutiveDashboard/components/MetricCard/MetricCard.d.ts +49 -0
- package/dist/types/ExecutiveDashboard/components/MetricCard/MetricCard.d.ts.map +1 -0
- package/dist/types/{components → ExecutiveDashboard/components}/Table/FTable.d.ts +11 -10
- package/dist/types/ExecutiveDashboard/components/Table/FTable.d.ts.map +1 -0
- package/dist/types/ExecutiveDashboard/components/Table/SortDropdown.d.ts.map +1 -0
- package/dist/types/{components → ExecutiveDashboard/components}/Table/TableCard.d.ts +2 -1
- package/dist/types/ExecutiveDashboard/components/Table/TableCard.d.ts.map +1 -0
- package/dist/types/ExecutiveDashboard/components/Table/TableGrid/TableGrid.d.ts +54 -0
- package/dist/types/ExecutiveDashboard/components/Table/TableGrid/TableGrid.d.ts.map +1 -0
- package/dist/types/ExecutiveDashboard/components/Table/TableGrid/TableLayoutToggle.d.ts +20 -0
- package/dist/types/ExecutiveDashboard/components/Table/TableGrid/TableLayoutToggle.d.ts.map +1 -0
- package/dist/types/ExecutiveDashboard/components/Table/TableGrid/spans.d.ts +15 -0
- package/dist/types/ExecutiveDashboard/components/Table/TableGrid/spans.d.ts.map +1 -0
- package/dist/types/ExecutiveDashboard/components/Table/TableGrid/useResponsiveColumns.d.ts +17 -0
- package/dist/types/ExecutiveDashboard/components/Table/TableGrid/useResponsiveColumns.d.ts.map +1 -0
- package/dist/types/ExecutiveDashboard/components/ui/chart.d.ts.map +1 -0
- package/dist/types/ExecutiveDashboard/components/ui/utils.d.ts.map +1 -0
- package/dist/types/ExecutiveDashboard/constant/index.d.ts +5 -0
- package/dist/types/ExecutiveDashboard/constant/index.d.ts.map +1 -0
- package/dist/types/ExecutiveDashboard/types/index.d.ts +357 -0
- package/dist/types/ExecutiveDashboard/types/index.d.ts.map +1 -0
- package/dist/types/ExecutiveDashboard/utils/index.d.ts +65 -0
- package/dist/types/ExecutiveDashboard/utils/index.d.ts.map +1 -0
- package/dist/types/ExecutiveDashboard/utils/kpiIcon.d.ts +4 -0
- package/dist/types/ExecutiveDashboard/utils/kpiIcon.d.ts.map +1 -0
- package/dist/types/ExecutiveDashboard/utils/sectionOrder.d.ts +43 -0
- package/dist/types/ExecutiveDashboard/utils/sectionOrder.d.ts.map +1 -0
- package/dist/types/ExecutiveDashboard/utils/tableColumns.d.ts +16 -0
- package/dist/types/ExecutiveDashboard/utils/tableColumns.d.ts.map +1 -0
- package/dist/types/RecordDashboard/RecordApi/RecordDashboardApi.d.ts +31 -0
- package/dist/types/RecordDashboard/RecordApi/RecordDashboardApi.d.ts.map +1 -0
- package/dist/types/RecordDashboard/RecordComponents/AnalyticsChart/AnalyticsChart.d.ts +20 -0
- package/dist/types/RecordDashboard/RecordComponents/AnalyticsChart/AnalyticsChart.d.ts.map +1 -0
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordBreakingNewsBanner.d.ts +9 -0
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordBreakingNewsBanner.d.ts.map +1 -0
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordCardShell.d.ts +22 -0
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordCardShell.d.ts.map +1 -0
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordCenteredCell.d.ts +6 -0
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordCenteredCell.d.ts.map +1 -0
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordDashboardCard.d.ts +5 -0
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordDashboardCard.d.ts.map +1 -0
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordDetailRow.d.ts +9 -0
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordDetailRow.d.ts.map +1 -0
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordEventsSection.d.ts +3 -0
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordEventsSection.d.ts.map +1 -0
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordFooterLinkButton.d.ts +6 -0
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordFooterLinkButton.d.ts.map +1 -0
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordGridSection.d.ts +3 -0
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordGridSection.d.ts.map +1 -0
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordListSection.d.ts +4 -0
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordListSection.d.ts.map +1 -0
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordSectionContent.d.ts +4 -0
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordSectionContent.d.ts.map +1 -0
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordSectionHeadingBar.d.ts +9 -0
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordSectionHeadingBar.d.ts.map +1 -0
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordSkeletonRow.d.ts +3 -0
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordSkeletonRow.d.ts.map +1 -0
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordTagsSection.d.ts +3 -0
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordTagsSection.d.ts.map +1 -0
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordTopDropdownMenu.d.ts +6 -0
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordTopDropdownMenu.d.ts.map +1 -0
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/styles/RecordDashboardCardStyles.d.ts +17 -0
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/styles/RecordDashboardCardStyles.d.ts.map +1 -0
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/types.d.ts +156 -0
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/types.d.ts.map +1 -0
- package/dist/types/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDashboardDateFilter.d.ts +41 -0
- package/dist/types/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDashboardDateFilter.d.ts.map +1 -0
- package/dist/types/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDashboardDateFilter.types.d.ts +18 -0
- package/dist/types/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDashboardDateFilter.types.d.ts.map +1 -0
- package/dist/types/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDatePreset.d.ts +90 -0
- package/dist/types/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDatePreset.d.ts.map +1 -0
- package/dist/types/RecordDashboard/RecordComponents/DashboardSkeleton/RecordDashboardSkeleton.d.ts +4 -0
- package/dist/types/RecordDashboard/RecordComponents/DashboardSkeleton/RecordDashboardSkeleton.d.ts.map +1 -0
- package/dist/types/RecordDashboard/RecordComponents/DatePickers/RecordDatePicker.d.ts +10 -0
- package/dist/types/RecordDashboard/RecordComponents/DatePickers/RecordDatePicker.d.ts.map +1 -0
- package/dist/types/RecordDashboard/RecordComponents/DatePickers/RecordDateRangeSelector.d.ts +20 -0
- package/dist/types/RecordDashboard/RecordComponents/DatePickers/RecordDateRangeSelector.d.ts.map +1 -0
- package/dist/types/RecordDashboard/RecordComponents/DatePickers/RecordDateSelector.d.ts +19 -0
- package/dist/types/RecordDashboard/RecordComponents/DatePickers/RecordDateSelector.d.ts.map +1 -0
- package/dist/types/RecordDashboard/RecordComponents/DropDowns/RecordCustomMultiSelect.d.ts +17 -0
- package/dist/types/RecordDashboard/RecordComponents/DropDowns/RecordCustomMultiSelect.d.ts.map +1 -0
- package/dist/types/RecordDashboard/RecordComponents/DropDowns/RecordCustomSingleSelect.d.ts +16 -0
- package/dist/types/RecordDashboard/RecordComponents/DropDowns/RecordCustomSingleSelect.d.ts.map +1 -0
- package/dist/types/RecordDashboard/RecordComponents/FiltersSidebar/RecordCustomTextInput.d.ts +12 -0
- package/dist/types/RecordDashboard/RecordComponents/FiltersSidebar/RecordCustomTextInput.d.ts.map +1 -0
- package/dist/types/RecordDashboard/RecordComponents/FiltersSidebar/RecordFiltersSidebar.d.ts +34 -0
- package/dist/types/RecordDashboard/RecordComponents/FiltersSidebar/RecordFiltersSidebar.d.ts.map +1 -0
- package/dist/types/RecordDashboard/RecordComponents/Graph/RecordGraph.d.ts +4 -0
- package/dist/types/RecordDashboard/RecordComponents/Graph/RecordGraph.d.ts.map +1 -0
- package/dist/types/RecordDashboard/RecordComponents/Graph/RecordGraphEmptyState.d.ts +11 -0
- package/dist/types/RecordDashboard/RecordComponents/Graph/RecordGraphEmptyState.d.ts.map +1 -0
- package/dist/types/RecordDashboard/RecordComponents/Graph/RecordGraphSkeleton.d.ts +10 -0
- package/dist/types/RecordDashboard/RecordComponents/Graph/RecordGraphSkeleton.d.ts.map +1 -0
- package/dist/types/RecordDashboard/RecordComponents/Graph/RecordLineChart.d.ts +25 -0
- package/dist/types/RecordDashboard/RecordComponents/Graph/RecordLineChart.d.ts.map +1 -0
- package/dist/types/RecordDashboard/RecordComponents/Graph/RecordPlotBySelector.d.ts +17 -0
- package/dist/types/RecordDashboard/RecordComponents/Graph/RecordPlotBySelector.d.ts.map +1 -0
- package/dist/types/RecordDashboard/RecordComponents/Graph/types.d.ts +217 -0
- package/dist/types/RecordDashboard/RecordComponents/Graph/types.d.ts.map +1 -0
- package/dist/types/RecordDashboard/RecordComponents/MetricCard/RecordMetricCard.d.ts +49 -0
- package/dist/types/RecordDashboard/RecordComponents/MetricCard/RecordMetricCard.d.ts.map +1 -0
- package/dist/types/RecordDashboard/RecordComponents/RecordDashboard.d.ts +84 -0
- package/dist/types/RecordDashboard/RecordComponents/RecordDashboard.d.ts.map +1 -0
- package/dist/types/RecordDashboard/RecordComponents/StatsCard/RecordDashboardStats.d.ts +9 -0
- package/dist/types/RecordDashboard/RecordComponents/StatsCard/RecordDashboardStats.d.ts.map +1 -0
- package/dist/types/RecordDashboard/RecordComponents/Table/Pagination/TablePagination.d.ts +28 -0
- package/dist/types/RecordDashboard/RecordComponents/Table/Pagination/TablePagination.d.ts.map +1 -0
- package/dist/types/RecordDashboard/RecordComponents/Table/RecordFTable.d.ts +70 -0
- package/dist/types/RecordDashboard/RecordComponents/Table/RecordFTable.d.ts.map +1 -0
- package/dist/types/RecordDashboard/RecordComponents/Table/RecordSortDropdown.d.ts +13 -0
- package/dist/types/RecordDashboard/RecordComponents/Table/RecordSortDropdown.d.ts.map +1 -0
- package/dist/types/RecordDashboard/RecordComponents/Table/RecordTableCard.d.ts +43 -0
- package/dist/types/RecordDashboard/RecordComponents/Table/RecordTableCard.d.ts.map +1 -0
- package/dist/types/RecordDashboard/RecordComponents/Table/TableGrid/RecordSpans.d.ts +15 -0
- package/dist/types/RecordDashboard/RecordComponents/Table/TableGrid/RecordSpans.d.ts.map +1 -0
- package/dist/types/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableGrid.d.ts +54 -0
- package/dist/types/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableGrid.d.ts.map +1 -0
- package/dist/types/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableLayoutToggle.d.ts +20 -0
- package/dist/types/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableLayoutToggle.d.ts.map +1 -0
- package/dist/types/RecordDashboard/RecordComponents/Table/TableGrid/useRecordResponsiveColumns.d.ts +17 -0
- package/dist/types/RecordDashboard/RecordComponents/Table/TableGrid/useRecordResponsiveColumns.d.ts.map +1 -0
- package/dist/types/RecordDashboard/RecordComponents/TableHeader/TableHeader.d.ts +53 -0
- package/dist/types/RecordDashboard/RecordComponents/TableHeader/TableHeader.d.ts.map +1 -0
- package/dist/types/RecordDashboard/RecordComponents/ui/RecordChart.d.ts +72 -0
- package/dist/types/RecordDashboard/RecordComponents/ui/RecordChart.d.ts.map +1 -0
- package/dist/types/RecordDashboard/RecordComponents/ui/utils.d.ts +7 -0
- package/dist/types/RecordDashboard/RecordComponents/ui/utils.d.ts.map +1 -0
- package/dist/types/RecordDashboard/RecordConstant/index.d.ts +5 -0
- package/dist/types/RecordDashboard/RecordConstant/index.d.ts.map +1 -0
- package/dist/types/RecordDashboard/RecordDashboardWrapper.d.ts +7 -0
- package/dist/types/RecordDashboard/RecordDashboardWrapper.d.ts.map +1 -0
- package/dist/types/RecordDashboard/RecordTypes/index.d.ts +965 -0
- package/dist/types/RecordDashboard/RecordTypes/index.d.ts.map +1 -0
- package/dist/types/RecordDashboard/RecordUtils/RecordKpiIcon.d.ts +4 -0
- package/dist/types/RecordDashboard/RecordUtils/RecordKpiIcon.d.ts.map +1 -0
- package/dist/types/RecordDashboard/RecordUtils/RecordSectionOrder.d.ts +43 -0
- package/dist/types/RecordDashboard/RecordUtils/RecordSectionOrder.d.ts.map +1 -0
- package/dist/types/RecordDashboard/RecordUtils/RecordTableColumns.d.ts +10 -0
- package/dist/types/RecordDashboard/RecordUtils/RecordTableColumns.d.ts.map +1 -0
- package/dist/types/RecordDashboard/RecordUtils/index.d.ts +65 -0
- package/dist/types/RecordDashboard/RecordUtils/index.d.ts.map +1 -0
- package/dist/types/RecordDashboard/TestRecordDashbaord.d.ts +2 -0
- package/dist/types/RecordDashboard/TestRecordDashbaord.d.ts.map +1 -0
- package/dist/types/index.d.ts +74 -19
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +11 -8
- package/dist/cjs/components/DashboardCard/BreakingNewsBanner.js +0 -2
- package/dist/cjs/components/DashboardCard/CardShell.js +0 -2
- package/dist/cjs/components/DashboardCard/CenteredCell.js +0 -2
- package/dist/cjs/components/DashboardCard/DashboardCard.js +0 -2
- package/dist/cjs/components/DashboardCard/DetailRow.js +0 -2
- package/dist/cjs/components/DashboardCard/EventsSection.js +0 -2
- package/dist/cjs/components/DashboardCard/FooterLinkButton.js +0 -2
- package/dist/cjs/components/DashboardCard/GridSection.js +0 -2
- package/dist/cjs/components/DashboardCard/ListSection.js +0 -2
- package/dist/cjs/components/DashboardCard/SectionHeadingBar.js +0 -2
- package/dist/cjs/components/DashboardCard/SkeletonRow.js +0 -2
- package/dist/cjs/components/DashboardCard/TagsSection.js +0 -2
- package/dist/cjs/components/DashboardCard/TopDropdownMenu.js +0 -2
- package/dist/cjs/components/DashboardDateFilter/DashboardDateFilter.js +0 -2
- package/dist/cjs/components/DashboardDateFilter/datePreset.js +0 -2
- package/dist/cjs/components/DatePickers/DatePicker.js +0 -2
- package/dist/cjs/components/DatePickers/DateRangeSelector.js +0 -2
- package/dist/cjs/components/DatePickers/DateSelector.js +0 -2
- package/dist/cjs/components/DropDowns/CustomMultiSelect.js +0 -2
- package/dist/cjs/components/DropDowns/CustomSingleSelect.js +0 -2
- package/dist/cjs/components/FiltersSidebar/CustomTextInput.js +0 -2
- package/dist/cjs/components/FiltersSidebar/FiltersSidebar.js +0 -2
- package/dist/cjs/components/Graph/Graph.js +0 -2
- package/dist/cjs/components/Graph/LineChart.js +0 -2
- package/dist/cjs/components/Graph/PlotBySelector.js +0 -2
- package/dist/cjs/components/MetricCard/MetricCard.js +0 -2
- package/dist/cjs/components/Table/FTable.js +0 -2
- package/dist/cjs/components/Table/SortDropdown.js +0 -2
- package/dist/cjs/components/Table/TableCard.js +0 -2
- package/dist/cjs/components/ui/chart.js +0 -2
- package/dist/components/DashboardCard/BreakingNewsBanner.js +0 -2
- package/dist/components/DashboardCard/CardShell.js +0 -2
- package/dist/components/DashboardCard/CenteredCell.js +0 -2
- package/dist/components/DashboardCard/DashboardCard.js +0 -2
- package/dist/components/DashboardCard/DetailRow.js +0 -2
- package/dist/components/DashboardCard/EventsSection.js +0 -2
- package/dist/components/DashboardCard/FooterLinkButton.js +0 -2
- package/dist/components/DashboardCard/GridSection.js +0 -2
- package/dist/components/DashboardCard/ListSection.js +0 -2
- package/dist/components/DashboardCard/SectionHeadingBar.js +0 -2
- package/dist/components/DashboardCard/SkeletonRow.js +0 -2
- package/dist/components/DashboardCard/TagsSection.js +0 -2
- package/dist/components/DashboardCard/TopDropdownMenu.js +0 -2
- package/dist/components/DashboardDateFilter/DashboardDateFilter.js +0 -2
- package/dist/components/DashboardDateFilter/datePreset.js +0 -2
- package/dist/components/DatePickers/DatePicker.js +0 -2
- package/dist/components/DatePickers/DateRangeSelector.js +0 -2
- package/dist/components/DatePickers/DateSelector.js +0 -2
- package/dist/components/DropDowns/CustomMultiSelect.js +0 -2
- package/dist/components/DropDowns/CustomSingleSelect.js +0 -2
- package/dist/components/FiltersSidebar/CustomTextInput.js +0 -2
- package/dist/components/FiltersSidebar/FiltersSidebar.js +0 -2
- package/dist/components/Graph/Graph.js +0 -2
- package/dist/components/Graph/LineChart.js +0 -2
- package/dist/components/Graph/PlotBySelector.js +0 -2
- package/dist/components/MetricCard/MetricCard.js +0 -2
- package/dist/components/Table/FTable.js +0 -2
- package/dist/components/Table/SortDropdown.js +0 -2
- package/dist/components/Table/TableCard.js +0 -2
- package/dist/components/ui/chart.js +0 -2
- package/dist/types/components/DashboardCard/BreakingNewsBanner.d.ts.map +0 -1
- package/dist/types/components/DashboardCard/CardShell.d.ts.map +0 -1
- package/dist/types/components/DashboardCard/CenteredCell.d.ts.map +0 -1
- package/dist/types/components/DashboardCard/DashboardCard.d.ts.map +0 -1
- package/dist/types/components/DashboardCard/DetailRow.d.ts.map +0 -1
- package/dist/types/components/DashboardCard/EventsSection.d.ts.map +0 -1
- package/dist/types/components/DashboardCard/FooterLinkButton.d.ts.map +0 -1
- package/dist/types/components/DashboardCard/GridSection.d.ts.map +0 -1
- package/dist/types/components/DashboardCard/ListSection.d.ts.map +0 -1
- package/dist/types/components/DashboardCard/SectionHeadingBar.d.ts.map +0 -1
- package/dist/types/components/DashboardCard/SkeletonRow.d.ts.map +0 -1
- package/dist/types/components/DashboardCard/TagsSection.d.ts.map +0 -1
- package/dist/types/components/DashboardCard/TopDropdownMenu.d.ts.map +0 -1
- package/dist/types/components/DashboardCard/sectionContent.d.ts.map +0 -1
- package/dist/types/components/DashboardCard/styles/DashboardCardStyles.d.ts.map +0 -1
- package/dist/types/components/DashboardCard/types.d.ts.map +0 -1
- package/dist/types/components/DashboardDateFilter/DashboardDateFilter.d.ts.map +0 -1
- package/dist/types/components/DashboardDateFilter/DashboardDateFilter.types.d.ts.map +0 -1
- package/dist/types/components/DashboardDateFilter/datePreset.d.ts.map +0 -1
- package/dist/types/components/DatePickers/DatePicker.d.ts.map +0 -1
- package/dist/types/components/DatePickers/DateRangeSelector.d.ts.map +0 -1
- package/dist/types/components/DatePickers/DateSelector.d.ts.map +0 -1
- package/dist/types/components/DropDowns/CustomMultiSelect.d.ts.map +0 -1
- package/dist/types/components/DropDowns/CustomSingleSelect.d.ts.map +0 -1
- package/dist/types/components/FiltersSidebar/CustomTextInput.d.ts.map +0 -1
- package/dist/types/components/FiltersSidebar/FiltersSidebar.d.ts.map +0 -1
- package/dist/types/components/Graph/Graph.d.ts.map +0 -1
- package/dist/types/components/Graph/LineChart.d.ts.map +0 -1
- package/dist/types/components/Graph/PlotBySelector.d.ts.map +0 -1
- package/dist/types/components/Graph/types.d.ts.map +0 -1
- package/dist/types/components/MetricCard/MetricCard.d.ts +0 -31
- package/dist/types/components/MetricCard/MetricCard.d.ts.map +0 -1
- package/dist/types/components/Table/FTable.d.ts.map +0 -1
- package/dist/types/components/Table/SortDropdown.d.ts.map +0 -1
- package/dist/types/components/Table/TableCard.d.ts.map +0 -1
- package/dist/types/components/ui/chart.d.ts.map +0 -1
- package/dist/types/components/ui/utils.d.ts.map +0 -1
- /package/dist/{cjs → ExecutiveDashboard}/components/DashboardCard/BreakingNewsBanner.js.map +0 -0
- /package/dist/{cjs → ExecutiveDashboard}/components/DashboardCard/CardShell.js.map +0 -0
- /package/dist/{cjs → ExecutiveDashboard}/components/DashboardCard/CenteredCell.js.map +0 -0
- /package/dist/{cjs → ExecutiveDashboard}/components/DashboardCard/DashboardCard.js.map +0 -0
- /package/dist/{cjs → ExecutiveDashboard}/components/DashboardCard/DetailRow.js.map +0 -0
- /package/dist/{cjs → ExecutiveDashboard}/components/DashboardCard/EventsSection.js.map +0 -0
- /package/dist/{cjs → ExecutiveDashboard}/components/DashboardCard/FooterLinkButton.js.map +0 -0
- /package/dist/{cjs → ExecutiveDashboard}/components/DashboardCard/GridSection.js.map +0 -0
- /package/dist/{cjs → ExecutiveDashboard}/components/DashboardCard/ListSection.js.map +0 -0
- /package/dist/{cjs → ExecutiveDashboard}/components/DashboardCard/SectionHeadingBar.js.map +0 -0
- /package/dist/{cjs → ExecutiveDashboard}/components/DashboardCard/SkeletonRow.js.map +0 -0
- /package/dist/{cjs → ExecutiveDashboard}/components/DashboardCard/TagsSection.js.map +0 -0
- /package/dist/{cjs → ExecutiveDashboard}/components/DashboardCard/TopDropdownMenu.js.map +0 -0
- /package/dist/{components → ExecutiveDashboard/components}/DashboardCard/sectionContent.js +0 -0
- /package/dist/{cjs → ExecutiveDashboard}/components/DashboardCard/sectionContent.js.map +0 -0
- /package/dist/{components → ExecutiveDashboard/components}/DashboardCard/styles/DashboardCardStyles.js +0 -0
- /package/dist/{cjs → ExecutiveDashboard}/components/DashboardCard/styles/DashboardCardStyles.js.map +0 -0
- /package/dist/{cjs → ExecutiveDashboard}/components/DashboardDateFilter/DashboardDateFilter.js.map +0 -0
- /package/dist/{cjs → ExecutiveDashboard}/components/DashboardDateFilter/datePreset.js.map +0 -0
- /package/dist/{cjs → ExecutiveDashboard}/components/DatePickers/DatePicker.js.map +0 -0
- /package/dist/{cjs → ExecutiveDashboard}/components/DatePickers/DateRangeSelector.js.map +0 -0
- /package/dist/{cjs → ExecutiveDashboard}/components/DatePickers/DateSelector.js.map +0 -0
- /package/dist/{cjs → ExecutiveDashboard}/components/DropDowns/CustomMultiSelect.js.map +0 -0
- /package/dist/{cjs → ExecutiveDashboard}/components/DropDowns/CustomSingleSelect.js.map +0 -0
- /package/dist/{cjs → ExecutiveDashboard}/components/FiltersSidebar/CustomTextInput.js.map +0 -0
- /package/dist/{cjs → ExecutiveDashboard}/components/FiltersSidebar/FiltersSidebar.js.map +0 -0
- /package/dist/{cjs → ExecutiveDashboard}/components/Graph/Graph.js.map +0 -0
- /package/dist/{cjs → ExecutiveDashboard}/components/Graph/LineChart.js.map +0 -0
- /package/dist/{cjs → ExecutiveDashboard}/components/Graph/PlotBySelector.js.map +0 -0
- /package/dist/{components → ExecutiveDashboard/components}/Graph/types.js +0 -0
- /package/dist/{cjs → ExecutiveDashboard}/components/Graph/types.js.map +0 -0
- /package/dist/{cjs → ExecutiveDashboard}/components/MetricCard/MetricCard.js.map +0 -0
- /package/dist/{cjs → ExecutiveDashboard}/components/Table/FTable.js.map +0 -0
- /package/dist/{cjs → ExecutiveDashboard}/components/Table/SortDropdown.js.map +0 -0
- /package/dist/{cjs → ExecutiveDashboard}/components/Table/TableCard.js.map +0 -0
- /package/dist/{cjs → ExecutiveDashboard}/components/ui/chart.js.map +0 -0
- /package/dist/{components → ExecutiveDashboard/components}/ui/utils.js +0 -0
- /package/dist/{cjs → ExecutiveDashboard}/components/ui/utils.js.map +0 -0
- /package/dist/{components → RecordDashboard/RecordComponents}/Graph/types.js.map +0 -0
- /package/dist/{components → RecordDashboard/RecordComponents}/ui/utils.js.map +0 -0
- /package/dist/{components → cjs/ExecutiveDashboard/components}/DashboardCard/BreakingNewsBanner.js.map +0 -0
- /package/dist/{components → cjs/ExecutiveDashboard/components}/DashboardCard/CardShell.js.map +0 -0
- /package/dist/{components → cjs/ExecutiveDashboard/components}/DashboardCard/CenteredCell.js.map +0 -0
- /package/dist/{components → cjs/ExecutiveDashboard/components}/DashboardCard/DashboardCard.js.map +0 -0
- /package/dist/{components → cjs/ExecutiveDashboard/components}/DashboardCard/DetailRow.js.map +0 -0
- /package/dist/{components → cjs/ExecutiveDashboard/components}/DashboardCard/EventsSection.js.map +0 -0
- /package/dist/{components → cjs/ExecutiveDashboard/components}/DashboardCard/FooterLinkButton.js.map +0 -0
- /package/dist/{components → cjs/ExecutiveDashboard/components}/DashboardCard/GridSection.js.map +0 -0
- /package/dist/{components → cjs/ExecutiveDashboard/components}/DashboardCard/ListSection.js.map +0 -0
- /package/dist/{components → cjs/ExecutiveDashboard/components}/DashboardCard/SectionHeadingBar.js.map +0 -0
- /package/dist/{components → cjs/ExecutiveDashboard/components}/DashboardCard/SkeletonRow.js.map +0 -0
- /package/dist/{components → cjs/ExecutiveDashboard/components}/DashboardCard/TagsSection.js.map +0 -0
- /package/dist/{components → cjs/ExecutiveDashboard/components}/DashboardCard/TopDropdownMenu.js.map +0 -0
- /package/dist/cjs/{components → ExecutiveDashboard/components}/DashboardCard/sectionContent.js +0 -0
- /package/dist/{components → cjs/ExecutiveDashboard/components}/DashboardCard/sectionContent.js.map +0 -0
- /package/dist/cjs/{components → ExecutiveDashboard/components}/DashboardCard/styles/DashboardCardStyles.js +0 -0
- /package/dist/{components → cjs/ExecutiveDashboard/components}/DashboardCard/styles/DashboardCardStyles.js.map +0 -0
- /package/dist/{components → cjs/ExecutiveDashboard/components}/DashboardDateFilter/DashboardDateFilter.js.map +0 -0
- /package/dist/{components → cjs/ExecutiveDashboard/components}/DashboardDateFilter/datePreset.js.map +0 -0
- /package/dist/{components → cjs/ExecutiveDashboard/components}/DatePickers/DatePicker.js.map +0 -0
- /package/dist/{components → cjs/ExecutiveDashboard/components}/DatePickers/DateRangeSelector.js.map +0 -0
- /package/dist/{components → cjs/ExecutiveDashboard/components}/DatePickers/DateSelector.js.map +0 -0
- /package/dist/{components → cjs/ExecutiveDashboard/components}/DropDowns/CustomMultiSelect.js.map +0 -0
- /package/dist/{components → cjs/ExecutiveDashboard/components}/DropDowns/CustomSingleSelect.js.map +0 -0
- /package/dist/{components → cjs/ExecutiveDashboard/components}/FiltersSidebar/CustomTextInput.js.map +0 -0
- /package/dist/{components → cjs/ExecutiveDashboard/components}/FiltersSidebar/FiltersSidebar.js.map +0 -0
- /package/dist/{components → cjs/ExecutiveDashboard/components}/Graph/Graph.js.map +0 -0
- /package/dist/{components → cjs/ExecutiveDashboard/components}/Graph/LineChart.js.map +0 -0
- /package/dist/{components → cjs/ExecutiveDashboard/components}/Graph/PlotBySelector.js.map +0 -0
- /package/dist/cjs/{components → ExecutiveDashboard/components}/Graph/types.js +0 -0
- /package/dist/{components → cjs/ExecutiveDashboard/components}/MetricCard/MetricCard.js.map +0 -0
- /package/dist/{components → cjs/ExecutiveDashboard/components}/Table/FTable.js.map +0 -0
- /package/dist/{components → cjs/ExecutiveDashboard/components}/Table/SortDropdown.js.map +0 -0
- /package/dist/{components → cjs/ExecutiveDashboard/components}/Table/TableCard.js.map +0 -0
- /package/dist/{components → cjs/ExecutiveDashboard/components}/ui/chart.js.map +0 -0
- /package/dist/cjs/{components → ExecutiveDashboard/components}/ui/utils.js +0 -0
- /package/dist/types/{components → ExecutiveDashboard/components}/DashboardCard/BreakingNewsBanner.d.ts +0 -0
- /package/dist/types/{components → ExecutiveDashboard/components}/DashboardCard/CardShell.d.ts +0 -0
- /package/dist/types/{components → ExecutiveDashboard/components}/DashboardCard/CenteredCell.d.ts +0 -0
- /package/dist/types/{components → ExecutiveDashboard/components}/DashboardCard/DashboardCard.d.ts +0 -0
- /package/dist/types/{components → ExecutiveDashboard/components}/DashboardCard/DetailRow.d.ts +0 -0
- /package/dist/types/{components → ExecutiveDashboard/components}/DashboardCard/EventsSection.d.ts +0 -0
- /package/dist/types/{components → ExecutiveDashboard/components}/DashboardCard/FooterLinkButton.d.ts +0 -0
- /package/dist/types/{components → ExecutiveDashboard/components}/DashboardCard/GridSection.d.ts +0 -0
- /package/dist/types/{components → ExecutiveDashboard/components}/DashboardCard/ListSection.d.ts +0 -0
- /package/dist/types/{components → ExecutiveDashboard/components}/DashboardCard/SectionHeadingBar.d.ts +0 -0
- /package/dist/types/{components → ExecutiveDashboard/components}/DashboardCard/SkeletonRow.d.ts +0 -0
- /package/dist/types/{components → ExecutiveDashboard/components}/DashboardCard/TagsSection.d.ts +0 -0
- /package/dist/types/{components → ExecutiveDashboard/components}/DashboardCard/TopDropdownMenu.d.ts +0 -0
- /package/dist/types/{components → ExecutiveDashboard/components}/DashboardCard/sectionContent.d.ts +0 -0
- /package/dist/types/{components → ExecutiveDashboard/components}/DashboardCard/styles/DashboardCardStyles.d.ts +0 -0
- /package/dist/types/{components → ExecutiveDashboard/components}/DashboardCard/types.d.ts +0 -0
- /package/dist/types/{components → ExecutiveDashboard/components}/DashboardDateFilter/DashboardDateFilter.types.d.ts +0 -0
- /package/dist/types/{components → ExecutiveDashboard/components}/DatePickers/DatePicker.d.ts +0 -0
- /package/dist/types/{components → ExecutiveDashboard/components}/DatePickers/DateRangeSelector.d.ts +0 -0
- /package/dist/types/{components → ExecutiveDashboard/components}/DatePickers/DateSelector.d.ts +0 -0
- /package/dist/types/{components → ExecutiveDashboard/components}/DropDowns/CustomMultiSelect.d.ts +0 -0
- /package/dist/types/{components → ExecutiveDashboard/components}/DropDowns/CustomSingleSelect.d.ts +0 -0
- /package/dist/types/{components → ExecutiveDashboard/components}/FiltersSidebar/CustomTextInput.d.ts +0 -0
- /package/dist/types/{components → ExecutiveDashboard/components}/FiltersSidebar/FiltersSidebar.d.ts +0 -0
- /package/dist/types/{components → ExecutiveDashboard/components}/Graph/Graph.d.ts +0 -0
- /package/dist/types/{components → ExecutiveDashboard/components}/Graph/LineChart.d.ts +0 -0
- /package/dist/types/{components → ExecutiveDashboard/components}/Graph/PlotBySelector.d.ts +0 -0
- /package/dist/types/{components → ExecutiveDashboard/components}/Graph/types.d.ts +0 -0
- /package/dist/types/{components → ExecutiveDashboard/components}/Table/SortDropdown.d.ts +0 -0
- /package/dist/types/{components → ExecutiveDashboard/components}/ui/chart.d.ts +0 -0
- /package/dist/types/{components → ExecutiveDashboard/components}/ui/utils.d.ts +0 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{__awaiter as e,__rest as r,__assign as t,__generator as n,__spreadArray as a}from"../_virtual/_tslib.js";import{jsx as o,Fragment as i,jsxs as l}from"react/jsx-runtime";import u,{useState as d,useRef as s,useCallback as c,useEffect as v}from"react";import{ExecutiveDashboard as f}from"./components/ExecutiveDashboard.js";import{DATE_PRESETS as b}from"./components/DashboardDateFilter/datePreset.js";import{DashboardSkeleton as h}from"./components/DashboardSkeleton/DashboardSkeleton.js";import{fetchUIConfig as p,fetchDashboardData as g,fetchTableData as m}from"./api/dashboardApi.js";function D(D){var y=this,E=D.baseUrl,S=void 0===E?"https://dev.appmod.ai":E,w=D.configId,C=D.graphEmptyState,F=D.tables,A=D.tableLayout,j=D.sectionOrder,M=D.hiddenSections,R=D.fetchUIConfig,T=D.fetchDashboardData,x=D.fetchTableData,L=D.initialStartDate,O=D.initialEndDate,I=D.onDateChange,U=D.onFiltersApplied,k=D.renderLoading,K=D.renderError,P=null!=R?R:p,N=null!=T?T:g,V=null!=x?x:m,_=d(null),z=_[0],B=_[1],H=d(null),q=H[0],G=H[1],J=d(!0),Q=J[0],W=J[1],X=d(!0),Y=X[0],Z=X[1],$=d(null),ee=$[0],re=$[1],te=d(!1),ne=te[0],ae=te[1],oe=d({}),ie=oe[0],le=oe[1],ue=d({}),de=ue[0],se=ue[1],ce=d({}),ve=ce[0],fe=ce[1],be=d(null),he=be[0],pe=be[1],ge=u.useRef(null),me=u.useRef(!1),De=s(null),ye=s(null),Ee=s({}),Se=s(new Set),we=d({}),Ce=we[0],Fe=we[1],Ae=c(function(){return e(y,void 0,void 0,function(){var e,r,t,a,o,i,l,u,d,s,c,v,f,h;return n(this,function(n){switch(n.label){case 0:W(!0),re(null),null===(l=De.current)||void 0===l||l.abort(),e=new AbortController,De.current=e,n.label=1;case 1:return n.trys.push([1,3,4,5]),[4,P({configId:w,baseUrl:S},e.signal)];case 2:return r=n.sent(),B(r),t={},null===(s=null===(d=null===(u=null==r?void 0:r.data)||void 0===u?void 0:u.graphBuilder)||void 0===d?void 0:d.tiers)||void 0===s||s.forEach(function(e){e.plotOptions.length>0&&(t[e.key]=e.plotOptions[0].value)}),le(t),a={},null===(v=null===(c=null==r?void 0:r.data)||void 0===c?void 0:c.sidebarFilters)||void 0===v||v.forEach(function(e){a[e.schemaFilterName]="Multi select"===e.type?[]:""}),se(a),fe(a),me.current||(o=L&&O?{startDate:L,endDate:O}:(p=null===(h=null===(f=null==r?void 0:r.data)||void 0===f?void 0:f.dateFilters)||void 0===h?void 0:h.defaultPreset,(g=Object.values(b).find(function(e){return e.value===p}))&&"getRange"in g?g.getRange():null))&&(me.current=!0,ge.current={start:o.startDate.getTime(),end:o.endDate.getTime()},pe({start:o.startDate,end:o.endDate})),[3,5];case 3:return"AbortError"===(null==(i=n.sent())?void 0:i.name)?[2]:(re(i),[3,5]);case 4:return De.current===e&&W(!1),[7];case 5:return[2]}var p,g})})},[w,S,P,L,O]);v(function(){return Ae(),function(){var e;return null===(e=De.current)||void 0===e?void 0:e.abort()}},[Ae]);var je=c(function(){return e(y,void 0,void 0,function(){var e,r,t,a,o;return n(this,function(n){switch(n.label){case 0:if(!he)return[2];null===(o=ye.current)||void 0===o||o.abort(),e=new AbortController,ye.current=e,Z(!0),re(null),n.label=1;case 1:return n.trys.push([1,3,4,5]),r={startDate:he.start,endDate:he.end,filters:ve},[4,N({configId:w,baseUrl:S},r,e.signal)];case 2:return t=n.sent(),G(t),Fe({}),[3,5];case 3:return"AbortError"===(null==(a=n.sent())?void 0:a.name)?[2]:(re(a),[3,5]);case 4:return ye.current===e&&Z(!1),[7];case 5:return[2]}})})},[w,S,he,ve,N]),Me=c(function(r,o){return e(y,void 0,void 0,function(){var e,i,l,u,d,s,c;return n(this,function(n){switch(n.label){case 0:if(!he||!Se.current.has(r)||Ee.current[r])return[2];e=new AbortController,Ee.current[r]=e,i=function(){return!Se.current.has(r)||e.signal.aborted||Ee.current[r]!==e},Fe(function(e){var n,a,o,i,l,u,d,s;return t(t({},e),((n={})[r]={rows:null!==(o=null===(a=e[r])||void 0===a?void 0:a.rows)&&void 0!==o?o:[],cursor:null===(i=e[r])||void 0===i?void 0:i.cursor,hasMore:null!==(u=null===(l=e[r])||void 0===l?void 0:l.hasMore)&&void 0!==u&&u,loading:!0,loaded:null!==(s=null===(d=e[r])||void 0===d?void 0:d.loaded)&&void 0!==s&&s},n))}),n.label=1;case 1:return n.trys.push([1,3,4,5]),[4,V({configId:w,baseUrl:S},t({startDate:he.start,endDate:he.end,filters:ve,tableKey:r,pageSize:20},o?{cursor:o}:{}),e.signal)];case 2:return l=n.sent(),u=null!==(c=null===(s=l.table)||void 0===s?void 0:s[r])&&void 0!==c?c:[],i()?[2]:(Fe(function(e){var n,o,i=e[r];return i?t(t({},e),((n={})[r]={rows:a(a([],i.rows,!0),u,!0),cursor:null!==(o=l.nextCursor)&&void 0!==o?o:void 0,hasMore:l.hasNext,loading:!1,loaded:!0},n)):e}),[3,5]);case 3:return"AbortError"===(null==(d=n.sent())?void 0:d.name)||i()?[2]:(Fe(function(e){var n;return e[r]?t(t({},e),((n={})[r]=t(t({},e[r]),{loading:!1,hasMore:!1}),n)):e}),[3,5]);case 4:return Ee.current[r]===e&&delete Ee.current[r],[7];case 5:return[2]}})})},[w,S,he,ve,V]),Re=c(function(e,t){var n;if(!t)return Se.current.delete(e),null===(n=Ee.current[e])||void 0===n||n.abort(),delete Ee.current[e],void Fe(function(t){var n=t,a=e;return n[a],r(n,["symbol"==typeof a?a:a+""])});Se.current.add(e),Me(e)},[Me]),Te=c(function(e){var r=Ce[e];(null==r?void 0:r.hasMore)&&!r.loading&&r.cursor&&Me(e,r.cursor)},[Me,Ce]);v(function(){return function(){Se.current.clear(),Object.values(Ee.current).forEach(function(e){return e.abort()})}},[]),v(function(){return je(),function(){var e;return null===(e=ye.current)||void 0===e?void 0:e.abort()}},[je]);var xe=c(function(e){if((null==e?void 0:e.startDate)&&(null==e?void 0:e.endDate)){var r=e.startDate.getTime(),t=e.endDate.getTime();ge.current&&ge.current.start===r&&ge.current.end===t||(ge.current={start:r,end:t},pe({start:e.startDate,end:e.endDate}))}null==I||I(e)},[I]),Le=Q||Y&&!q;return ee?K?o(i,{children:K(ee,Ae)}):l("div",t({style:{padding:24,color:"#b91c1c"}},{children:["Failed to load dashboard: ",ee.message,o("button",t({onClick:Ae,style:{marginLeft:12}},{children:"Retry"}))]})):!Le&&z&&q&&he?o(f,{uiConfig:z,data:q,dataLoading:Y,startDate:he.start,endDate:he.end,onDateChange:xe,onRefresh:function(){je()},selectedKpis:ie,onKpiChange:function(e,r){le(function(n){var a;return t(t({},n),((a={})[e]=r,a))})},sidebarVisible:ne,onSidebarShow:function(){return ae(!0)},onSidebarHide:function(){return ae(!1)},filterValues:de,onFilterChange:function(e,r){se(function(n){var a;return t(t({},n),((a={})[e]=r,a))})},onFilterReset:function(){if(z){var e={};z.data.sidebarFilters.forEach(function(r){e[r.id]="multiSelect"===r.type?[]:""}),se(e)}},onFilterApply:function(){fe(de),ae(!1),null==U||U(de)},appliedFilters:ve,graphEmptyState:C,tables:F,tableLayout:A,sectionOrder:j,hiddenSections:M,tablePages:Ce,onTableExpand:Re,onTableLoadMore:Te}):k?o(i,{children:k()}):o(h,{})}export{D as ExecutiveDashboardWrapper,D as default};
|
|
2
|
+
//# sourceMappingURL=ExecutiveDashboardWrapper.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExecutiveDashboardWrapper.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{__extends as t,__awaiter as r,__generator as e,__assign as i}from"../../_virtual/_tslib.js";var n=function(r){function e(t,e){var i=r.call(this,t)||this;return i.name="DashboardApiError",i.status=e,i}return t(e,r),e}(Error),a=function(t){return t.replace(/\/+$/,"")};function s(t,i,a){var s;return r(this,void 0,void 0,function(){var r,o;return e(this,function(e){switch(e.label){case 0:return[4,fetch(t,{method:"POST",headers:{accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(i),signal:a})];case 1:if(!(r=e.sent()).ok)throw new n("Request failed with status ".concat(r.status),r.status);return[4,r.json()];case 2:if(!(o=e.sent()).success)throw new n((null===(s=o.error)||void 0===s?void 0:s.errorMessage)||"Request failed");return[2,o.data]}})})}function o(t,i){var n=t.configId,o=t.baseUrl,c=void 0===o?"":o;return r(this,void 0,void 0,function(){return e(this,function(t){return[2,s("".concat(a(c),"/federated/filters/ui"),{config_id:n},i)]})})}function c(t,i){var n=t.configId,o=t.baseUrl,c=void 0===o?"":o;return r(this,void 0,void 0,function(){var t;return e(this,function(r){switch(r.label){case 0:return[4,s("".concat(a(c),"/federated/filters/distinct-value"),{config_id:n},i)];case 1:return[2,(null==(t=r.sent())?void 0:t.sidebarFilters)||{}]}})})}function u(t,n){return r(this,void 0,void 0,function(){var r,a,s;return e(this,function(e){switch(e.label){case 0:return[4,Promise.all([o(t,n),c(t,n)])];case 1:return r=e.sent(),a=r[0],s=r[1],[2,{data:i(i({},a),{sidebarFilters:(a.sidebarFilters||[]).map(function(t){return i(i({},t),{options:s[t.schemaFilterName]||[]})})})}]}})})}function d(t){void 0===t&&(t={});var r={};return Object.entries(t).forEach(function(t){var e=t[0],i=t[1];Array.isArray(i)?i.length>0&&(r[e]=i):""!==i&&null!=i&&(r[e]=[i])}),r}function f(t,i,n){var o=t.configId,c=t.baseUrl,u=void 0===c?"":c;return r(this,void 0,void 0,function(){var t;return e(this,function(r){return t={config_id:o,dateFilters:{startDate:i.startDate?i.startDate.toISOString():"",endDate:i.endDate?i.endDate.toISOString():""},sidebarFilters:d(i.filters)},[2,s("".concat(a(u),"/federated/filters/get-data"),t,n)]})})}function l(t,n,o){var c,u=t.configId,f=t.baseUrl,l=void 0===f?"":f;return r(this,void 0,void 0,function(){return e(this,function(t){return[2,s("".concat(a(l),"/federated/filters/table-data"),i({config_id:u,dateFilters:{startDate:n.startDate?n.startDate.toISOString():"",endDate:n.endDate?n.endDate.toISOString():""},sidebarFilters:d(n.filters),tableKey:n.tableKey,pageSize:null!==(c=n.pageSize)&&void 0!==c?c:20},n.cursor?{cursor:n.cursor}:{}),o)]})})}export{n as DashboardApiError,f as fetchDashboardData,l as fetchTableData,u as fetchUIConfig};
|
|
2
|
+
//# sourceMappingURL=dashboardApi.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dashboardApi.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
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
|
|
@@ -0,0 +1,2 @@
|
|
|
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
|
|
@@ -0,0 +1,2 @@
|
|
|
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
|
|
@@ -0,0 +1,2 @@
|
|
|
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
|
|
@@ -0,0 +1,2 @@
|
|
|
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
|
|
@@ -0,0 +1,2 @@
|
|
|
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
|
|
@@ -0,0 +1,2 @@
|
|
|
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
|
|
@@ -0,0 +1,2 @@
|
|
|
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
|
|
@@ -0,0 +1,2 @@
|
|
|
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
|
|
@@ -0,0 +1,2 @@
|
|
|
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
|
|
@@ -0,0 +1,2 @@
|
|
|
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
|
|
@@ -0,0 +1,2 @@
|
|
|
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
|
|
@@ -0,0 +1,2 @@
|
|
|
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
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{__assign as e}from"../../../_virtual/_tslib.js";import{jsxs as t,jsx as i,Fragment as l}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,b=c.filterCount,g=void 0===b?0:b,x=c.liveDuration,C=void 0===x?3e4:x,q=c.onDateChange,N=c.onRefresh,k=c.isRefreshLoading,y=c.onFilterClick,w=c.showFilterButton,R=void 0===w||w,F=c.showLiveButton,P=void 0===F||F,j=c.showFilterCount,B=void 0!==j&&j,E=c.datePickerProps,L=c.initialStartDate,T=c.initialEndDate,z=c.defaultPresets,S=n(null!=z?z:"today"),W=S[0],_=S[1],A=n(!0),I=A[0],G=A[1],H=n(L||null),J=H[0],K=H[1],M=n(T||null),O=M[0],Q=M[1];a(function(){K(L||null),Q(T||null)},[L,T]);var U=n(!1),V=U[0],X=U[1];a(function(){var e=setTimeout(function(){G(!1)},C);return function(){return clearTimeout(e)}},[W,C]),a(function(){if("custom"!==W){var e=D.find(function(e){return e.value===W});if(e&&e.getRange){var t=e.getRange();null==q||q({preset:W,startDate:t.startDate,endDate:t.endDate})}}},[W,D,q]);var Y=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:[i("div",e({className:"q-preset-container"},{children:null==Y?void 0:Y.map(function(t){return i("button",e({className:"q-preset-btn ".concat(W===(null==t?void 0:t.value)?"active":""),onClick:function(){return _(null==t?void 0:t.value)}},{children:null==t?void 0:t.label}),null==t?void 0:t.value)})})),P&&t(l,I?{children:[i("div",{style:{width:"1px",height:"31px",backgroundColor:"#CBD5E1"}}),t("div",e({className:"q-live-chip"},{children:[i("span",{className:"q-live-dot"}),"Live Data"]}))]}:{children:[i("div",{className:"q-date-separator",style:{width:"1px",height:"31px",backgroundColor:"#CBD5E1"}}),t(o,e({className:"q-refresh-btn",onClick:N},{children:[i(r,{size:16,strokeWidth:2.5,className:k?"q-spin":""}),i("span",{children:k?"Refreshing...":"Refresh"})]}))]})]})),R&&t("button",e({className:"q-filter-btn",onClick:y},{children:[i(s,{size:12.5}),"Filters",B&&g>0&&i("span",e({className:"q-filter-badge"},{children:g}))]}))]})),"custom"===W&&t("div",e({className:"q-custom-container"},{children:[i(d,{label:"From",value:J,minDate:null===(v=null==E?void 0:E.from)||void 0===v?void 0:v.minDate,maxDate:null!=O?O:null===(m=null==E?void 0:E.from)||void 0===m?void 0:m.maxDate,onChange:function(e){K(e),X(!1)},styles:{root:{width:"250px"}}}),i(d,{label:"To",value:O,minDate:null!=J?J: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){Q(e),X(!1)},styles:{root:{width:"250px"}}}),i(o,{className:"q-apply-btn",label:"Apply Range",disabled:!J||!O||V,onClick:function(){J&&O&&(null==q||q({preset:"custom",startDate:J,endDate:O}),X(!0))}})]}))]}))};export{c as default};
|
|
2
|
+
//# sourceMappingURL=DashboardDateFilter.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var e={today:{label:"Today",value:"today",getRange:function(){var e=new Date;return{startDate:new Date(e.getFullYear(),e.getMonth(),e.getDate(),0,0,0),endDate:e}}},yesterday:{label:"Yesterday",value:"yesterday",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",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",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",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",getRange:function(){var e=new Date;return{startDate:new Date(e.getFullYear(),e.getMonth(),1),endDate:e}}},lastMonth:{label:"Last Month",value:"lastMonth",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",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",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",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.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
|
|
@@ -0,0 +1,2 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DashboardSkeleton.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
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
|
|
@@ -0,0 +1,2 @@
|
|
|
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
|
|
@@ -0,0 +1,2 @@
|
|
|
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
|
|
@@ -0,0 +1,2 @@
|
|
|
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
|
|
@@ -0,0 +1,2 @@
|
|
|
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
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{__assign as l,__spreadArray as i}from"../../_virtual/_tslib.js";import{jsx as o,Fragment as e,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 m from"./Table/TableCard.js";import g from"./Table/TableGrid/TableGrid.js";import{buildColumns as h,withRowIds as f}from"../utils/tableColumns.js";import{resolveSectionOrder as b,isSectionHidden as y}from"../utils/sectionOrder.js";import{getActiveFilterCount as F,isKpiValueObject as C,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,A,O,P,T,M,R,E,V,G,H,z,I,W,q,K,N,Z,_,J,Q,U,X,Y,$,ll,il,ol,el,nl,tl,dl,al,rl,ul,vl,sl=S.uiConfig,pl=S.data,cl=S.dataLoading,ml=S.startDate,gl=S.endDate,hl=S.onDateChange,fl=S.onRefresh,bl=S.selectedKpis,yl=S.onKpiChange,Fl=S.sidebarVisible,Cl=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,Al=S.tableLayout,Ol=S.sectionOrder,Pl=S.hiddenSections,Tl=S.tablePages,Ml=S.onTableExpand,Rl=S.onTableLoadMore,El=null!==(A=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!==A?A:[],Vl=d(function(){return El.map(function(l){return c[l]}).filter(Boolean)},[JSON.stringify(El)]),Gl=d(function(){return F(Sl)},[Sl]),Hl=d(function(){var l,i,o=null==Al?void 0:Al.spans;if(o)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(o)?o[i]:o[l.key]})},[null==Al?void 0:Al.spans,null===(O=null==sl?void 0:sl.data)||void 0===O?void 0:O.tableBuilder]),zl=o("div",l({style:{padding:"4px"}},{children:o(s,{loading:cl,emptyState:null!=jl?jl:o(p,{}),title:null===(P=null==sl?void 0:sl.data)||void 0===P?void 0:P.graphBuilder.title,description:null===(M=null===(T=null==sl?void 0:sl.data)||void 0===T?void 0:T.graphBuilder)||void 0===M?void 0:M.subtitle,icon:o(a,{size:18}),xAxis:{label:(null===(E=null===(R=null==sl?void 0:sl.data)||void 0===R?void 0:R.graphBuilder)||void 0===E?void 0:E.axis.xAxisLabel)||"Date"},style:{chartHeight:220},panes:null===(V=null==sl?void 0:sl.data)||void 0===V?void 0:V.graphBuilder.tiers.map(function(l,i){var e,n,t,d,r,u,v,s,p,c,m,g=bl[l.key]||(null===(e=l.plotOptions[0])||void 0===e?void 0:e.key),h=pl.graph.tier.find(function(i){return i.key===l.key}),f=(null===(n=null==h?void 0:h.plotbyoptions)||void 0===n?void 0:n[g])||{},b=(null==l?void 0:l.series)||[],y=Object.keys(f),F=l.plotOptions.find(function(l){return l.value===g});return{key:l.key,selector:{label:"Plot By",value:g,onChange:function(i){yl(l.key,i)},options:l.plotOptions.map(function(l){return{label:l.label,value:l.value}}),triggerIcon:o(a,{size:16,color:0===i?"green":"purple"})},yAxis:{label:null==F?void 0:F.yAxisLabel,beginAtZero:"false"!==(null==g?void 0:g.yAxisBeginAtZero)},tooltip:{formatHeading:function(l){return"".concat(l)}},legend:{position:(null===(r=null===(d=null===(t=null==sl?void 0:sl.data)||void 0===t?void 0:t.graphBuilder)||void 0===d?void 0:d.legend)||void 0===r?void 0:r.position)||"bottom",toggle:"yes"===(null===(s=null===(v=null===(u=null==sl?void 0:sl.data)||void 0===u?void 0:u.graphBuilder)||void 0===v?void 0:v.legend)||void 0===s?void 0:s.allowToggle),align:(null===(m=null===(c=null===(p=null==sl?void 0:sl.data)||void 0===p?void 0:p.graphBuilder)||void 0===c?void 0:c.legend)||void 0===m?void 0:m.alignment)||"center"},height:0===i?300:250,series:y.map(function(l,i){var o,e,n=(null===(e=null===(o=null==h?void 0:h.plotbyoptions)||void 0===o?void 0:o[g])||void 0===e?void 0:e[l])||[],t=B[i%B.length],d=b.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)}}})}})})})),Il=o("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 o,e;return(null!==(o=l.displayOrder)&&void 0!==o?o:0)-(null!==(e=i.displayOrder)&&void 0!==e?e:0)}).map(function(l){var i,e=null===(i=null==pl?void 0:pl.kpiCards)||void 0===i?void 0:i[l.title],n=C(e)?k(e.currentValue,e.baselineValue,l.indicatorLogic):void 0,t=C(e)?x(e.currentValue,e.baselineValue,l.indicatorLogic):void 0;return o(u,{title:l.title,subtitle:l.subtitle,value:D(e,l.valueFormat),valueColor:n,delta:t&&{label:t.label,direction:t.direction,color:n},icon:w(l.icon),loading:cl},l.title)})})),Wl=(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?o("div",l({style:{padding:"4px"}},{children:o(g,l({itemSpans:Hl,totalColumns:null!==(q=null==Al?void 0:Al.totalColumns)&&void 0!==q?q:12,defaultSpan:null==Al?void 0:Al.defaultSpan,options:null!==(K=null==Al?void 0:Al.options)&&void 0!==K?K:[1,2,3],defaultColumns:null==Al?void 0:Al.defaultColumns,columns:null==Al?void 0:Al.columns,onColumnsChange:null==Al?void 0:Al.onColumnsChange,showToggle:(null===(N=null==Al?void 0:Al.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==Al?void 0:Al.toggleLabel,minColumnWidth:null!==(Q=null==Al?void 0:Al.minColumnWidth)&&void 0!==Q?Q:380,gap:null!==(U=null==Al?void 0:Al.gap)&&void 0!==U?U:12,equalHeights:null===(X=null==Al?void 0:Al.equalHeights)||void 0===X||X},{children:sl.data.tableBuilder.map(function(i){var e,n,d=null!==(n=null===(e=null==pl?void 0:pl.table)||void 0===e?void 0:e[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,g=null==c?void 0:c.icon,b=w(i.icon),y=b&&t.isValidElement(b)?t.cloneElement(b,l(l({},null!=(null==g?void 0:g.size)?{size:g.size}:{}),(null==g?void 0:g.color)?{color:g.color}:{})):b,F=g?l(l(l({width:"auto",height:"auto"},g.color?{color:g.color}:{}),g.background?{background:g.background,padding:6,borderRadius:8}:{}),g.style):void 0;return o(m,{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:F},onExpand:function(l){return null==Ml?void 0:Ml(i.key,l)},table:{rows:f(v),columns:p,loading:cl,loadingMore:null==a?void 0:a.loading,hasMore:null==a?void 0:a.hasMore,onLoadMore:a?function(){return null==Rl?void 0:Rl(i.key)}:void 0,tableProps:null==s?void 0:s.tableProps}},i.key)})}))})):null,ql={graphBuilder:zl,kpiCards:Il,tableBuilder:Wl},Kl=b(Ol,Pl,null===(Y=null==sl?void 0:sl.data)||void 0===Y?void 0:Y.sectionOrder,Object.keys(ql)),Nl=y(Pl,"dateFilters"),Zl=y(Pl,"sidebarFilters");return o(e,{children:n("div",l({style:{display:"flex",flexDirection:"column",gap:12}},{children:[!Nl&&o("div",l({style:{padding:"4px"}},{children:o(r,{filterCount:Gl,initialStartDate:ml,initialEndDate:gl,onDateChange:hl,onRefresh:fl,onFilterClick:Cl,presets:Vl,datePickerProps:{from:{minDate:new Date(2025,0,1),maxDate:new Date},to:{minDate:ml,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:!Zl&&"yes"===(null===(el=null===(ol=null==sl?void 0:sl.data)||void 0===ol?void 0:ol.dateFilters)||void 0===el?void 0:el.showFilterButton),showFilterCount:!Zl&&"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})})),Kl.map(function(l){return o(t.Fragment,{children:ql[l]},l)}),!Zl&&o(v,{visible:Fl,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,o,e,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!==(o=null===(i=l.options)||void 0===i?void 0:i.map(function(l){return{label:l,value:l}}))&&void 0!==o?o:[];return{id:t,label:l.label,hint:l.description,type:d,placeholder:l.placeholder,options:a,value:"multiSelect"===d?null!==(e=xl[t])&&void 0!==e?e:[]: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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExecutiveDashboard.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
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
|
|
@@ -0,0 +1,2 @@
|
|
|
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
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{__assign as e,__spreadArray as n}from"../../../_virtual/_tslib.js";import{jsxs as l,jsx as i,Fragment as r}from"react/jsx-runtime";import{useId as t,useState as o,useMemo as a}from"react";import s from"./LineChart.js";import c from"./GraphSkeleton.js";import d from"./PlotBySelector.js";import{colorForIndex as u}from"./types.js";function h(e){var n,l,r,t=e.config,a=void 0!==t.value,s=o(null!==(n=t.defaultValue)&&void 0!==n?n:null===(r=null===(l=t.options)||void 0===l?void 0:l[0])||void 0===r?void 0:r.value),c=s[0],u=s[1],h=a?t.value:c;return i(d,{config:t,value:h,onChange:function(e){var n;a||u(e),null===(n=t.onChange)||void 0===n||n.call(t,e)}})}function m(n){var r,t=n.pane,o=n.xAxis,a=n.sharedStyle,c=n.isLast,d=n.hiddenKeys,u=n.toggleSeries,h=n.syncId,m=n.onPointClick,v=c?o:e(e({},o),{show:!1,label:void 0});return l("div",e({className:"ellm-graph__pane"},{children:[t.title&&i("div",e({className:"ellm-graph__pane-title"},{children:t.title})),i(s,{series:t.series,hiddenKeys:d,onToggleSeries:u,xAxis:v,yAxis:t.yAxis,tooltip:t.tooltip,legend:{show:!1},syncId:h,style:e(e({},a),{chartHeight:null!==(r=t.height)&&void 0!==r?r:null==a?void 0:a.chartHeight}),onPointClick:m})]}))}function v(d){var v,f=d.series,g=d.panes,p=d.title,y=d.description,_=d.icon,x=d.plotBy,k=d.xAxis,N=d.yAxis,A=d.tooltip,S=d.legend,w=d.config,C=d.style,b=d.emptyState,j=d.loading,P=d.onPointClick,E=!!(null==g?void 0:g.length),L=t(),H=o(function(){var e=new Set;return(null!=f?f:[]).forEach(function(n){return n.hidden&&e.add(n.key)}),(null!=g?g:[]).forEach(function(n){return n.series.forEach(function(n){return n.hidden&&e.add(n.key)})}),e}),I=H[0],K=H[1],W=function(e){return K(function(n){var l=new Set(n);return l.has(e)?l.delete(e):l.add(e),l})},B=!1!==(null==w?void 0:w.showHeader),G=a(function(){return E?g.some(function(e){return e.series.some(function(e){return e.data.some(function(e){return null!=e.y})})}):(null!=f?f:[]).some(function(e){return e.data.some(function(e){return null!=e.y})})},[E,g,f]),T=a(function(){var n;if(!E)return C;var l=null!==(n=null==C?void 0:C.yAxisWidth)&&void 0!==n?n:g.some(function(e){var n;return null===(n=e.yAxis)||void 0===n?void 0:n.label})?64:48;return e(e({},C),{yAxisWidth:l})},[E,g,C]),M=a(function(){if(!E)return[];var e=[];return g.forEach(function(n){var l;!1!==(null===(l=n.legend)||void 0===l?void 0:l.show)&&n.series.forEach(function(n,l){var i;!1!==n.showInLegend&&e.push({key:n.key,label:n.label,color:null!==(i=n.color)&&void 0!==i?i:u(null==T?void 0:T.colors,l)})})}),e},[E,g,null==T?void 0:T.colors]),V=E&&M.length>0,q=n(n([],x?[x]:[],!0),E?g.flatMap(function(e){return e.selector?[e.selector]:[]}):[],!0),z=p||y||_||q.length>0;return l("div",e({className:"ellm-graph".concat((null==C?void 0:C.className)?" ".concat(C.className):""),style:null==C?void 0:C.container},{children:[B&&z&&l("div",e({className:"ellm-graph__header"},{children:[l("div",e({className:"ellm-graph__heading"},{children:[_&&i("span",e({className:"ellm-graph__icon"},{children:_})),l("div",{children:[p&&i("div",e({className:"ellm-graph__title"},{children:p})),y&&i("div",e({className:"ellm-graph__description"},{children:y}))]})]})),q.length>0&&i("div",e({className:"ellm-graph__controls"},{children:q.map(function(e,n){return i(h,{config:e},n)})}))]})),j?i(c,{height:null==C?void 0:C.chartHeight}):!G&&b?i("div",e({className:"ellm-graph__empty"},{children:b})):E?l(r,{children:[i("div",e({className:"ellm-graph__panes",style:{gap:null!==(v=null==C?void 0:C.paneGap)&&void 0!==v?v:12}},{children:g.map(function(e,n){var l;return i(m,{pane:e,xAxis:k,sharedStyle:T,isLast:n===g.length-1,hiddenKeys:I,toggleSeries:W,syncId:L,onPointClick:P},null!==(l=e.key)&&void 0!==l?l:"pane-".concat(n))})})),V&&i("div",e({className:"ellm-graph__legend"},{children:M.map(function(n){var r=I.has(n.key);return l("button",e({type:"button",className:"ellm-graph__legend-item".concat(r?" ellm-graph__legend-item--off":""),onClick:function(){return W(n.key)}},{children:[l("svg",e({className:"ellm-graph__legend-marker",width:"28",height:"12",viewBox:"0 0 28 12","aria-hidden":"true"},{children:[i("line",{x1:"1",y1:"6",x2:"27",y2:"6",stroke:n.color,strokeWidth:"2.5",strokeLinecap:"round"}),i("circle",{cx:"14",cy:"6",r:"4",fill:"#fff",stroke:n.color,strokeWidth:"2.5"})]})),n.label]}),n.key)})}))]}):i(s,{series:null!=f?f:[],hiddenKeys:I,onToggleSeries:W,xAxis:k,yAxis:N,tooltip:A,legend:S,style:C,onPointClick:P})]}))}export{v as default};
|
|
2
|
+
//# sourceMappingURL=Graph.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{__assign as e}from"../../../_virtual/_tslib.js";import{jsxs as r,jsx as t}from"react/jsx-runtime";import{LineChart as a}from"lucide-react";function i(i){var l=i.title,d=void 0===l?"No data to display":l,s=i.description,m=void 0===s?"There's no data for the selected date range and filters. Try adjusting your filters or picking a different range.":s;return r("div",e({className:"ellm-graph__empty-default"},{children:[t("span",e({className:"ellm-graph__empty-icon"},{children:t(a,{size:22})})),t("div",e({className:"ellm-graph__empty-title"},{children:d})),t("div",e({className:"ellm-graph__empty-desc"},{children:m}))]}))}export{i as default};
|
|
2
|
+
//# sourceMappingURL=GraphEmptyState.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GraphEmptyState.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{__assign as e}from"../../../_virtual/_tslib.js";import{jsxs as l,jsx as a}from"react/jsx-runtime";import{useId as s}from"react";function r(r){var t=r.height,i=void 0===t?300:t,n=s();return l("div",e({className:"ellm-graph__skeleton","aria-busy":"true","aria-live":"polite",style:{height:i}},{children:[a("div",e({className:"ellm-graph__skeleton-yaxis"},{children:[0,1,2,3,4].map(function(e){return a("span",{className:"ellm-graph__skeleton-tick ellm-graph__shimmer"},e)})})),l("div",e({className:"ellm-graph__skeleton-plot"},{children:[a("div",e({className:"ellm-graph__skeleton-grid"},{children:[0,1,2,3,4].map(function(e){return a("span",{className:"ellm-graph__skeleton-gridline"},e)})})),l("svg",e({className:"ellm-graph__skeleton-svg",viewBox:"0 0 400 120",preserveAspectRatio:"none"},{children:[a("defs",{children:l("linearGradient",e({id:n,x1:"0",y1:"0",x2:"0",y2:"1"},{children:[a("stop",{offset:"0%",className:"ellm-graph__skeleton-area-top"}),a("stop",{offset:"100%",className:"ellm-graph__skeleton-area-bottom"})]}))}),a("path",{d:"M0,120 L0,92 30,78 60,86 90,52 120,66 150,34 180,58 210,42 240,72 270,46 300,80 330,54 360,74 400,58 L400,120 Z",fill:"url(#".concat(n,")")}),a("polyline",{points:"0,92 30,78 60,86 90,52 120,66 150,34 180,58 210,42 240,72 270,46 300,80 330,54 360,74 400,58",fill:"none",className:"ellm-graph__skeleton-line"})]})),a("div",e({className:"ellm-graph__skeleton-xaxis"},{children:[0,1,2,3,4,5].map(function(e){return a("span",{className:"ellm-graph__skeleton-tick ellm-graph__shimmer"},e)})}))]}))]}))}export{r as default};
|
|
2
|
+
//# sourceMappingURL=GraphSkeleton.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GraphSkeleton.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{__spreadArray as i,__assign as n}from"../../../_virtual/_tslib.js";import{jsx as o,jsxs as e}from"react/jsx-runtime";import{useMemo as l}from"react";import{ComposedChart as t,CartesianGrid as r,XAxis as a,YAxis as u,Area as d,Line as v}from"recharts";import{ChartContainer as s,ChartTooltip as c,ChartTooltipContent as f,ChartLegend as y,ChartLegendContent as m}from"../ui/chart.js";import{colorForIndex as h}from"./types.js";import{compactNumber as p}from"../../utils/index.js";var k=function(i){return"number"==typeof i&&!Number.isNaN(i)},g=function(i){switch(i){case"linear":return"linear";case"step":return"stepAfter";default:return"monotone"}};function x(x){var b,w,A,C,S,T,K,L=x.series,F=x.hiddenKeys,E=x.onToggleSeries,W=x.xAxis,N=x.yAxis,j=x.tooltip,z=x.legend,I=x.style,H=x.syncId,D=x.onPointClick,G=null!==(b=null==I?void 0:I.chartHeight)&&void 0!==b?b:300,M=null!==(w=null==I?void 0:I.gridColor)&&void 0!==w?w:"#eef0f4",O=null!==(A=null==I?void 0:I.axisColor)&&void 0!==A?A:"#d7dbe3",P=null!==(C=null==I?void 0:I.axisLabelColor)&&void 0!==C?C:"#6b7280",R=null!==(S=null==I?void 0:I.tickColor)&&void 0!==S?S:"#9ca3af",_=null!==(T=null==I?void 0:I.fontFamily)&&void 0!==T?T:"Inter, system-ui, -apple-system, sans-serif",B=l(function(){var n,o,e;if(null===(n=null==W?void 0:W.categories)||void 0===n?void 0:n.length)return{categories:W.categories,xType:null!==(o=W.type)&&void 0!==o?o:"category"};var l=new Set,t=[];L.forEach(function(i){return i.data.forEach(function(i){l.has(i.x)||(l.add(i.x),t.push(i.x))})});var r=t.every(k),a=null!==(e=null==W?void 0:W.type)&&void 0!==e?e:r?"number":"category";return{categories:"number"===a?i([],t,!0).sort(function(i,n){return Number(i)-Number(n)}):t,xType:a}},[L,null==W?void 0:W.categories,null==W?void 0:W.type]),V=B.categories,Z=B.xType,q=l(function(){var i=new Map;return L.forEach(function(n){var o=new Map;n.data.forEach(function(i){return o.set(i.x,i.y)}),i.set(n.key,o)}),V.map(function(n){var o={x:n};return L.forEach(function(e){var l,t=null===(l=i.get(e.key))||void 0===l?void 0:l.get(n);o[e.key]=null==t?null:t}),o})},[L,V]),J=l(function(){var i={},n=L.map(function(n,o){var e,l=null!==(e=n.color)&&void 0!==e?e:h(null==I?void 0:I.colors,o);return i[n.key]={label:n.label,color:l},{series:n,color:l,index:o}});return{chartConfig:i,resolved:n}},[L,null==I?void 0:I.colors]),Q=J.chartConfig,U=J.resolved,X=l(function(){var i={};return L.forEach(function(n){n.valueFormatter&&(i[n.key]=function(i,o){var e;return n.valueFormatter(i,null!==(e=null==o?void 0:o.payload)&&void 0!==e?e:{x:null==o?void 0:o.x,y:i})})}),i},[L]),Y=!1!==(null==j?void 0:j.enabled),$=(null==j?void 0:j.seriesKeys)?new Set(j.seriesKeys):null,ii=!1!==(null==z?void 0:z.show),ni="top"===(null==z?void 0:z.position)?"top":"bottom",oi="start"===(null==z?void 0:z.align)?"left":"end"===(null==z?void 0:z.align)?"right":"center",ei=!1!==(null==W?void 0:W.show),li=!1!==(null==N?void 0:N.show),ti=!1!==(null==I?void 0:I.showGrid),ri=!!(null==I?void 0:I.showVerticalGrid),ai=[null!=(null==N?void 0:N.min)?N.min:!1!==(null==N?void 0:N.beginAtZero)?0:"auto",null!=(null==N?void 0:N.max)?N.max:"auto"],ui=null!==(K=null==I?void 0:I.yAxisWidth)&&void 0!==K?K:(null==N?void 0:N.label)?64:48,di={top:12,right:16,bottom:8,left:null!=(null==I?void 0:I.yAxisWidth)?0:(null==N?void 0:N.label)?16:0};return o(s,n({config:Q,style:{height:G,fontFamily:_}},{children:e(t,n({data:q,margin:di,syncId:H},{children:[o(r,{vertical:ri,horizontal:ti,stroke:M}),o(a,{dataKey:"x",type:"number"===Z?"number":"category",hide:!ei,height:(null==W?void 0:W.label)?52:void 0,tickLine:!1,axisLine:!(null==W?void 0:W.hideLine)&&{stroke:O},tickMargin:8,minTickGap:24,interval:"preserveStartEnd",tick:{fill:R,fontSize:11},tickFormatter:(null==W?void 0:W.formatTick)?function(i,n){return W.formatTick(i,n)}:void 0,label:(null==W?void 0:W.label)?{value:W.label,position:"insideBottom",offset:4,fill:P,fontSize:12,fontWeight:500}:void 0}),o(u,{hide:!li,domain:ai,tickLine:!1,axisLine:!1===(null==N?void 0:N.hideLine)&&{stroke:O},tickCount:null==N?void 0:N.tickCount,width:ui,tick:{fill:R,fontSize:11},tickFormatter:(null==N?void 0:N.formatTick)?function(i,n){return N.formatTick(i,n)}:function(i){return"number"==typeof i?p(i):String(i)},label:(null==N?void 0:N.label)?{value:N.label,angle:-90,position:"insideLeft",style:{textAnchor:"middle"},fill:P,fontSize:12,fontWeight:500}:void 0}),Y&&o(c,{cursor:{stroke:O,strokeDasharray:"4 4"},content:function(i){var e,l=(null!==(e=i.payload)&&void 0!==e?e:[]).filter(function(i){var n=L.find(function(n){return n.key===i.dataKey});return!1!==(null==n?void 0:n.showInTooltip)&&!($&&!$.has(String(i.dataKey)))});return(null==j?void 0:j.render)?j.render({x:i.label,points:l.map(function(n){var o;return{series:L.find(function(i){return i.key===n.dataKey}),value:null!==(o=n.value)&&void 0!==o?o:null,point:{x:i.label,y:n.value},color:n.color}})}):o(f,n({},i,{payload:l,hideLabel:!1===(null==j?void 0:j.showHeading),valueFormatters:X,labelFormatter:(null==j?void 0:j.formatHeading)?function(i){return j.formatHeading(i)}:void 0}))}}),ii&&o(y,{verticalAlign:ni,content:function(i){return o(m,n({},i,{verticalAlign:ni,align:oi,hiddenKeys:F,onItemClick:!1!==(null==z?void 0:z.toggle)&&E?E:void 0}))}}),U.map(function(i){var e,l,t,r,a=i.series,u=F.has(a.key),s="var(--color-".concat(a.key,")"),c=!0===a.dashed?"6 5":"string"==typeof a.dashed?a.dashed:void 0,f=!1!==a.showPoints&&{r:null!==(e=a.pointRadius)&&void 0!==e?e:3,fill:"#fff",stroke:s,strokeWidth:2},y={r:(null!==(l=a.pointRadius)&&void 0!==l?l:3)+2,onClick:D?function(i,n){var o,e;return function(i,n,o){if(D){var e=L.find(function(n){return n.key===i});e&&D({series:e,point:{x:null==n?void 0:n.x,y:null==n?void 0:n[i]},index:o})}}(a.key,null!==(o=null==n?void 0:n.payload)&&void 0!==o?o:n,null!==(e=null==n?void 0:n.index)&&void 0!==e?e:0)}:void 0},m={key:a.key,dataKey:a.key,name:a.key,type:g(a.curve),stroke:s,strokeWidth:null!==(t=a.strokeWidth)&&void 0!==t?t:2,strokeDasharray:c,connectNulls:!1,isAnimationActive:!1,hide:u,dot:f,activeDot:y};return a.area?o(d,n({},m,{fill:s,fillOpacity:null!==(r=a.areaOpacity)&&void 0!==r?r:.12})):o(v,n({},m))})]}))}))}export{x as default};
|
|
2
|
+
//# sourceMappingURL=LineChart.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{__assign as e}from"../../../_virtual/_tslib.js";import{jsxs as l,jsx as n}from"react/jsx-runtime";import{useState as t,useRef as o,useEffect as r}from"react";import{ArrowUpDown as a,ChevronDown as i}from"lucide-react";function u(u){var c,p,m=u.config,s=u.value,d=u.onChange,h=m.options,v=m.label,b=void 0===v?"Plot by":v,f=m.placeholder,_=m.hideWhenSingle,g=m.triggerIcon,y=t(!1),N=y[0],x=y[1],C=o(null);if(r(function(){if(N){var e=function(e){C.current&&!C.current.contains(e.target)&&x(!1)};return document.addEventListener("mousedown",e),function(){return document.removeEventListener("mousedown",e)}}},[N]),!(null==h?void 0:h.length))return null;if(h.length<=1&&!1!==_)return null;var j=h.find(function(e){return e.value===s}),k=null!==(p=null!==(c=null==j?void 0:j.label)&&void 0!==c?c:f)&&void 0!==p?p:"Select";return l("div",e({className:"ellm-graph__plotby",ref:C},{children:[l("button",e({type:"button",className:"ellm-graph__plotby-btn".concat(N?" ellm-graph__plotby-btn--open":""),onClick:function(){return x(function(e){return!e})},"aria-haspopup":"listbox","aria-expanded":N},{children:[null!==g&&(null!=g?g:n(a,{size:16})),l("span",e({className:"ellm-graph__plotby-text"},{children:[b?"".concat(b,": "):"",n("span",e({className:"ellm-graph__plotby-value"},{children:k}))]})),n(i,{size:16,className:"ellm-graph__plotby-chevron"})]})),N&&n("div",e({className:"ellm-graph__plotby-menu",role:"listbox"},{children:h.map(function(l){return n("button",e({type:"button",role:"option","aria-selected":l.value===s,className:"ellm-graph__plotby-option".concat(l.value===s?" ellm-graph__plotby-option--active":""),onClick:function(){d(l.value),x(!1)}},{children:l.label}),l.value)})}))]}))}export{u as default};
|
|
2
|
+
//# sourceMappingURL=PlotBySelector.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{__assign as e}from"../../../_virtual/_tslib.js";import{jsx as l,jsxs as i,Fragment as c}from"react/jsx-runtime";import a from"react";import{ArrowUp as t,ArrowDown as r}from"lucide-react";var n=function(n){var d,s,o,m,u,v=n.title,_=n.value,p=n.subtitle,h=n.icon,f=n.loading,g=n.valuePrefix,N=n.valueColor,y=n.delta,x=n.segments,b=n.onClick,k=n.classNames,W=x&&x.length>0,z=W?x.reduce(function(e,l){return e+l.value},0):0;return l("div",e({className:"metric-card ".concat(null!==(d=null==k?void 0:k.root)&&void 0!==d?d:""),onClick:b},{children:i("div",e({className:"metric-card__content ".concat(W?"metric-card__content--has-segments":"")},{children:[i("div",e({style:{display:"flex",flexDirection:"column",justifyContent:"space-between",height:"100%",gap:"4px"}},{children:[l("div",e({className:"metric-card__title"},{children:v})),i("div",e({style:{display:"flex",alignItems:"center",gap:"12px",flexWrap:"wrap"}},{children:[l("div",e({className:"metric-card__value ".concat(null!==(s=null==k?void 0:k.value)&&void 0!==s?s:""),style:{color:null!=N?N:null==g?void 0:g.color}},{children:f?l("span",{className:"metric-card__value-skeleton"}):i(c,{children:[(null==g?void 0:g.icon)&&(a.isValidElement(g.icon)?a.cloneElement(g.icon,{size:20,strokeWidth:2.5}):g.icon),_]})})),!f&&y&&i("div",e({className:"metric-card__delta",style:{color:y.color}},{children:["flat"!==y.direction&&("up"===y.direction?l(t,{size:14,strokeWidth:3,"aria-hidden":!0}):l(r,{size:14,strokeWidth:3,"aria-hidden":!0})),l("span",{children:y.label}),y.caption&&l("span",e({className:"metric-card__delta-caption"},{children:y.caption}))]}))]})),p&&l("div",e({className:"metric-card__subtitle ".concat(null!==(o=null==k?void 0:k.subtitle)&&void 0!==o?o:"")},{children:p}))]})),W&&i("div",e({className:"".concat(null!==(m=null==k?void 0:k.segments)&&void 0!==m?m:""),style:{display:"flex",flexDirection:"column",flex:1,margin:0}},{children:[l("div",e({className:"metric-card__stats",style:{margin:"10px"}},{children:x.map(function(c,a){return i("div",e({className:"metric-card__stat"},{children:[i("div",e({className:"metric-card__stat-label"},{children:[l("span",{className:"metric-card__dot",style:{background:c.color}}),c.label]})),l("div",e({className:"metric-card__stat-value"},{children:void 0!==c.displayValue?c.displayValue:"".concat(c.value).concat(c.percentage?"%":"")})),a<x.length-1&&l("div",{className:"metric-card__divider"})]}),c.label)})})),l("div",e({className:"metric-card__progress",style:{marginTop:"4px"}},{children:x.map(function(e){return l("div",{className:"metric-card__progress-segment",style:{width:z>0?"".concat(e.value/z*100,"%"):"0%",background:e.color}},e.label)})}))]})),h&&l("div",e({className:"metric-card__icon-container ".concat(null!==(u=null==k?void 0:k.icon)&&void 0!==u?u:"")},{children:a.isValidElement(h)?a.cloneElement(h,{size:25,strokeWidth:2.5}):h}))]}))}))};export{n as default};
|
|
2
|
+
//# sourceMappingURL=MetricCard.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{__rest as l,__spreadArray as i,__assign as e}from"../../../_virtual/_tslib.js";import{jsx as o,jsxs as n}from"react/jsx-runtime";import{useRef as t,useState as r,useEffect as a}from"react";import{DataTable as d}from"primereact/datatable";import{Column as u}from"primereact/column";import{ColumnGroup as c}from"primereact/columngroup";import{Row as s}from"primereact/row";import{Skeleton as m}from"primereact/skeleton";import"primereact/resources/primereact.min.css";import"primeicons/primeicons.css";function v(v){var p,f,h,g,y=v.rows,w=void 0===y?[]:y,N=v.loading,b=v.loadingMore,x=v.onLoadMore,C=v.hasMore,_=v.emptyState,k=v.columns,S=v.tableProps,R=v.onRowClick,E=v.rowDetail,j=v.scrollHeight,T=void 0===j?"flex":j,D=t(null);t(null);var H="function"==typeof(null==E?void 0:E.render),M=r({}),L=M[0],q=M[1],A=function(l){return!(!(null==l?void 0:l.id)||!L[l.id])},B=function(l){(null==l?void 0:l.id)&&q(function(i){var o,n;return(null==E?void 0:E.multiple)?e(e({},i),((o={})[l.id]=!0,o)):((n={})[l.id]=!0,n)})},z=function(l){(null==l?void 0:l.id)&&q(function(i){var o=e({},i);return delete o[l.id],o})},F=function(l){return A(l)?z(l):B(l)},G=null!=S?S:{},K=G.onRowClick,O=G.rowClassName,P=l(G,["onRowClick","rowClassName"]),W=i(i([],w,!0),b?[{id:"__loading-more",__loading:!0}]:[],!0),I=!b&&x&&!1===C&&(null!==(p=null==k?void 0:k.length)&&void 0!==p?p:0)>0?o(c,{children:o(s,{children:o(u,{colSpan:k.length,footer:n("span",e({className:"audit-paginationEndContent"},{children:[o("i",{className:"pi pi-check-circle","aria-hidden":"true"}),"No more records to load"]})),footerClassName:"audit-paginationEnd"})})}):void 0;return a(function(){var l,i=null===(l=D.current)||void 0===l?void 0:l.querySelector(".p-datatable-wrapper");if(i){var e=!1,o=function(){e||(e=!0,requestAnimationFrame(function(){var l=i.scrollTop;i.scrollHeight-l-i.clientHeight<100&&C&&!b&&(null==x||x()),e=!1}))};return i.addEventListener("scroll",o),function(){i.removeEventListener("scroll",o)}}},[w,C,b,x]),N?o("div",{children:i([],Array(5),!0).map(function(l,i){return n("div",e({className:"audit-skeletonRow"},{children:[o(m,{height:0===i?"55px":"25px",width:"25%"}),o(m,{height:0===i?"55px":"25px",width:"50%"}),o(m,{height:0===i?"55px":"25px",width:"25%"})]}),i)})}):w&&0!==w.length?o("div",e({className:"audit-tableWrap",ref:D},{children:o(d,e({value:W,className:"audit-table ".concat(null!==(g=null==S?void 0:S.className)&&void 0!==g?g:""),dataKey:"id",scrollable:!0,scrollHeight:T},P,{rowClassName:function(l,i){var o="function"==typeof O?O(l,i):O,n=!H&&!R||(null==l?void 0:l.__loading)?"":"audit-row--clickable";return o&&"object"==typeof o?e(e({},o),{"audit-row--clickable":!!n}):[o,n].filter(Boolean).join(" ")},expandedRows:L,onRowToggle:function(l){return q(l.data)},rowExpansionTemplate:H?function(l){var i;return!H||(null==l?void 0:l.__loading)?null:o("div",e({className:"audit-rowDetail ".concat(null!==(i=null==E?void 0:E.className)&&void 0!==i?i:""),style:null==E?void 0:E.style},{children:E.render(l,{close:function(){return z(l)}})}))}:void 0,onRowClick:function(l){var i,e,o=null==l?void 0:l.data;if(o&&!o.__loading){var n=null===(i=null==l?void 0:l.originalEvent)||void 0===i?void 0:i.target;(null===(e=null==n?void 0:n.closest)||void 0===e?void 0:e.call(n,"button, a, input, .audit-seeMore"))||(null==R||R(o,{isExpanded:A(o),expand:function(){return B(o)},collapse:function(){return z(o)},toggle:function(){return F(o)}}),H&&!1!==(null==E?void 0:E.expandOnRowClick)&&F(o)),null==K||K(l)}},footerColumnGroup:I},{children:null==k?void 0:k.map(function(l){return o(u,{header:null==l?void 0:l.header,body:function(i){return(null==i?void 0:i.__loading)?o(m,{height:"25px"}):null==l?void 0:l.body(i)},style:null==l?void 0:l.style,headerStyle:null==l?void 0:l.headerStyle,bodyStyle:null==l?void 0:l.bodyStyle,headerClassName:null==l?void 0:l.headerClassName,bodyClassName:null==l?void 0:l.bodyClassName},null==l?void 0:l.key)})}))})):n("div",e({className:"audit-emptyState"},{children:[(null==_?void 0:_.icon)?_.icon:o("i",{className:"pi pi-file",style:{fontSize:"63px",marginBottom:"8px"}}),o("div",e({className:"audit-emptyTitle"},{children:null!==(f=null==_?void 0:_.title)&&void 0!==f?f:"No Data found"})),o("div",e({className:"audit-emptyDesc"},{children:null!==(h=null==_?void 0:_.description)&&void 0!==h?h:"Try adjusting your filters or search criteria."}))]}))}export{v as default};
|
|
2
|
+
//# sourceMappingURL=FTable.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
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 i}from"react";import{ArrowUp as a,ArrowDown as l,ChevronDown as s,Check as c}from"lucide-react";function u(u){var d,v,f=u.value,m=u.orderBy,p=void 0===m?"asc":m,h=u.options,_=u.placeholder,g=void 0===_?"Sort By":_,y=u.onChange,b=r(!1),x=b[0],q=b[1],N=o(null);i(function(){var e=function(e){N.current&&!N.current.contains(e.target)&&q(!1)};return document.addEventListener("mousedown",e),function(){return document.removeEventListener("mousedown",e)}},[]);var k=h.some(function(e){return e.value===f}),C=null!==(v=null===(d=h.find(function(e){return e.value===f}))||void 0===d?void 0:d.label)&&void 0!==v?v:g;return t("div",e({className:"q-sort",ref:N},{children:[t("button",e({className:"q-sort__trigger",onClick:function(){return q(function(e){return!e})}},{children:[t("div",e({className:"q-sort__left"},{children:[n("div",e({onClick:function(e){k&&(e.preventDefault(),e.stopPropagation(),y(f,"asc"===p?"desc":"asc"))},className:"q-sort__order-toggle",style:{display:"flex",alignItems:"center",justifyContent:"center",cursor:k?"pointer":"default",color:k?"#6366f1":"#94A3B8",background:k?"rgba(245, 243, 255, 0.90)":"transparent",padding:"4px",borderRadius:"6px",transition:"all 0.2s ease"}},{children:n("asc"===p?a:l,{size:16,strokeWidth:2.5})})),t("span",{children:["Sort by:"," ",C]})]})),n("div",e({style:{width:"35px"}},{children:n(s,{size:22})}))]})),x&&n("div",e({className:"q-sort__menu"},{children:h.map(function(r){return t("button",e({className:"q-sort__option ".concat(f===r.value?"q-sort__option--active":""),onClick:function(){f===r.value?y("","asc"):y(r.value,"asc"),q(!1)},style:{display:"flex",alignItems:"center",gap:"8px"}},{children:[f===r.value?n(c,{size:14}):n("div",{style:{width:14}}),n("span",{children:r.label})]}),r.value)})}))]}))}export{u as default};
|
|
2
|
+
//# sourceMappingURL=SortDropdown.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{__assign as e}from"../../../_virtual/_tslib.js";import{jsxs as l,jsx as t}from"react/jsx-runtime";import{useState as o}from"react";import{Minimize as a,Maximize as r}from"lucide-react";import i from"./FTable.js";import n from"../FiltersSidebar/CustomTextInput.js";import c from"./SortDropdown.js";function s(s){var d=s.title,h=s.icon,m=s.showExpandButton,u=void 0===m||m,v=s.className,p=s.styles,f=s.table,N=s.searchBar,x=s.sort,y=s.onExpand,g=o(!1),b=g[0],C=g[1];return l("div",e({className:"\n tc-root\n ".concat(b?"tc-root--fullscreen":"","\n ").concat(null!=v?v:"","\n "),style:null==p?void 0:p.root},{children:[l("div",e({className:"tc-header",style:null==p?void 0:p.header},{children:[l("div",e({className:"tc-header-left"},{children:[h&&t("div",e({className:"tc-title-icon",style:e({width:"20px",height:"20px"},null==p?void 0:p.icon)},{children:h})),t("div",e({className:"tc-title",style:null==p?void 0:p.title},{children:d}))]})),l("div",e({className:"tc-header-right"},{children:[N&&t(n,{value:null==N?void 0:N.value,placeholder:null==N?void 0:N.placeholder,onChange:null==N?void 0:N.onChange,searchIcon:!0,className:"tc-search"}),x&&t(c,{value:x.value,orderBy:x.orderBy,options:x.options,placeholder:null==x?void 0:x.placeholder,onChange:x.onChange}),u&&t("button",e({className:"tc-expand-btn",onClick:function(){var e=!b;C(e),null==y||y(e)}},{children:t(b?a:r,{size:20})}))]}))]})),t("div",e({className:"tc-table"},{children:t(i,e({},f,{emptyState:null==f?void 0:f.emptyState,scrollHeight:b?"calc(100vh - 140px)":null==f?void 0:f.scrollHeight}))}))]}))}export{s as default};
|
|
2
|
+
//# sourceMappingURL=TableCard.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{__spreadArray as l,__assign as o}from"../../../../_virtual/_tslib.js";import{jsxs as t,jsx as n}from"react/jsx-runtime";import e,{useState as i}from"react";import a from"./TableLayoutToggle.js";import{useResponsiveColumns as r}from"./useResponsiveColumns.js";import{resolveSpan as u,minSpanFor as s}from"./spans.js";function m(m){var d,c=m.children,g=m.itemSpans,v=m.totalColumns,f=void 0===v?12:v,p=m.defaultSpan,h=m.options,C=void 0===h?[1,2,3]:h,b=m.defaultColumns,y=m.columns,x=m.onColumnsChange,N=m.showToggle,j=void 0===N||N,T=m.toggleLabel,L=m.toolbarLeft,w=m.minColumnWidth,F=void 0===w?380:w,S=m.gap,_=void 0===S?12:S,k=m.equalHeights,q=void 0===k||k,A=m.className,B=m.style,H=!!(null==g?void 0:g.some(function(l){return null!=l})),M=i(function(){var l;return null!==(l=null!=y?y:b)&&void 0!==l?l:H?"custom":1}),R=M[0],W=M[1],z=null!=y?y:R,D="custom"===z&&H,E=r("number"==typeof z?z:1,F,_),G=E[0],I=E[1],J=I.columns,K=I.maxFitting,O=e.Children.toArray(c).filter(Boolean),P=s(f,K),Q=null!==(d=u(p,f))&&void 0!==d?d:f,U=H?l(l([],C,!0),["custom"],!1):C;return t("div",o({ref:G,className:"tg-root ".concat(null!=A?A:""),style:B},{children:[j&&(L||U.length>1)&&t("div",o({className:"tg-toolbar-row"},{children:[n("div",o({className:"tg-toolbar-left"},{children:L})),U.length>1&&n(a,{value:z,options:U,onChange:function(l){null==y&&W(l),null==x||x(l)},maxFitting:K,label:T})]})),n("div",o({className:"tg-grid ".concat(q?"":"tg-grid--auto-height"),style:{gridTemplateColumns:"repeat(".concat(D?f:J,", minmax(0, 1fr))"),gap:_}},{children:O.map(function(l,t){var e,i,a=D?Math.max(P,null!==(e=u(null==g?void 0:g[t],f))&&void 0!==e?e:Q):null;return n("div",o({className:"tg-cell",style:a?{gridColumn:"span ".concat(a)}:void 0},{children:l}),null!==(i=null==l?void 0:l.key)&&void 0!==i?i:t)})}))]}))}export{m as default};
|
|
2
|
+
//# sourceMappingURL=TableGrid.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TableGrid.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{__assign as t}from"../../../../_virtual/_tslib.js";import{jsx as e,jsxs as n}from"react/jsx-runtime";import{RectangleHorizontal as o,Columns2 as a,Columns3 as l,Columns4 as r,LayoutPanelTop as i}from"lucide-react";var c={1:e(o,{size:16}),2:e(a,{size:16}),3:e(l,{size:16}),4:e(r,{size:16})},s=function(t){var n;return"custom"===t?e(i,{size:16}):null!==(n=c[t])&&void 0!==n?n:e(r,{size:16})},u=function(t,e){return"custom"===t?"Configured layout":null==e||t<=e?"".concat(t," table").concat(t>1?"s":""," per row"):"".concat(t," per row — not enough width, showing ").concat(e)};function g(o){var a=o.value,l=o.options,r=o.onChange,i=o.maxFitting,c=o.label,g=o.className,m=o.style;return l.length?n("div",t({className:"tg-toolbar ".concat(null!=g?g:""),style:m},{children:[c&&e("span",t({className:"tg-toolbar-label"},{children:c})),e("div",t({className:"tg-toggle",role:"group","aria-label":"Table grid layout"},{children:l.map(function(n){var o=n===a,l="custom"===n||null==i||n<=i;return e("button",t({type:"button",className:"tg-toggle-btn ".concat(o?"tg-toggle-btn--active":""," ").concat(l?"":"tg-toggle-btn--cramped"),"aria-pressed":o,title:u(n,i),onClick:function(){return r(n)}},{children:s(n)}),String(n))})}))]})):null}export{g as default};
|
|
2
|
+
//# sourceMappingURL=TableLayoutToggle.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TableLayoutToggle.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var r=/^(\d+)\s*\/\s*(\d+)$/;function t(t,n){if(null==t)return null;if("number"==typeof t)return!Number.isFinite(t)||t<=0?null:Math.min(n,Math.max(1,Math.round(t)));var u=t.trim().toLowerCase();if("full"===u||"1"===u)return n;if("half"===u)return Math.round(n/2);if("third"===u)return Math.round(n/3);if("quarter"===u)return Math.round(n/4);var e=r.exec(u);if(e){var a=e[1],i=e[2],h=Number(a)/Number(i);return!Number.isFinite(h)||h<=0?null:Math.min(n,Math.max(1,Math.round(n*h)))}var m=Number(u);return Number.isFinite(m)&&m>0?Math.min(n,Math.max(1,Math.round(m))):null}function n(r,t){return Math.ceil(r/Math.max(1,t))}export{n as minSpanFor,t as resolveSpan};
|
|
2
|
+
//# sourceMappingURL=spans.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spans.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{useRef as n,useState as e,useLayoutEffect as r,useEffect as t}from"react";var u="undefined"!=typeof window?r:t;function i(r,t,i){var c=n(null),l=e(null),a=l[0],o=l[1],f=n(null),d=n(null);u(function(){var n=c.current;if(n){var e=function(){var e=n.getBoundingClientRect().width;null!=f.current&&Math.abs(e-f.current)<1||(f.current=e,o(e))},r=function(){null==d.current&&(d.current=requestAnimationFrame(function(){d.current=null,c.current&&e()}))};if(e(),"undefined"==typeof ResizeObserver)return window.addEventListener("resize",r),function(){window.removeEventListener("resize",r),null!=d.current&&cancelAnimationFrame(d.current),d.current=null};var t=new ResizeObserver(r);return t.observe(n),function(){t.disconnect(),null!=d.current&&cancelAnimationFrame(d.current),d.current=null}}},[]);var m=null==a?r:Math.max(1,Math.floor((a+i)/(t+i)));return[c,{columns:Math.max(1,Math.min(r,m)),maxFitting:m,width:a}]}export{i as default,i as useResponsiveColumns};
|
|
2
|
+
//# sourceMappingURL=useResponsiveColumns.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useResponsiveColumns.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{__rest as l,__assign as e}from"../../../_virtual/_tslib.js";import{jsx as a,jsxs as t,Fragment as n}from"react/jsx-runtime";import*as r from"react";import*as o from"recharts";import{cn as i}from"./utils.js";var c=r.createContext(null);function d(){var l=r.useContext(c);if(!l)throw new Error("useChart must be used within a <ChartContainer />");return l}var u=r.forwardRef(function(n,d){var u=n.id,s=n.className,v=n.children,h=n.config,f=l(n,["id","className","children","config"]),p=r.useId(),_="chart-".concat((u||p).replace(/:/g,""));return a(c.Provider,e({value:{config:h}},{children:t("div",e({"data-chart":_,ref:d,className:i("ellm-chart",s)},f,{children:[a(m,{id:_,config:h}),a(o.ResponsiveContainer,{children:v})]}))}))});u.displayName="ChartContainer";var m=function(l){var e=l.id,t=l.config,n=Object.entries(t).filter(function(l){return l[1].color});if(!n.length)return null;var r=n.map(function(l){var e=l[0],a=l[1];return" --color-".concat(e,": ").concat(a.color,";")}).join("\n");return a("style",{dangerouslySetInnerHTML:{__html:"[data-chart=".concat(e,"] {\n").concat(r,"\n}")}})},s=o.Tooltip,v=r.forwardRef(function(l,o){var c=l.active,u=l.payload,m=l.className,s=l.indicator,v=void 0===s?"dot":s,h=l.hideLabel,f=l.hideIndicator,_=l.label,g=l.labelFormatter,y=l.formatter,b=l.valueFormatters,N=l.color,C=l.nameKey,w=l.labelKey,K=d().config,k=r.useMemo(function(){var l,t;if(h||!(null==u?void 0:u.length))return null;var n=u[0],r="".concat(w||(null==n?void 0:n.dataKey)||(null==n?void 0:n.name)||"value"),o=p(K,n,r),i=w||"string"!=typeof _?null==o?void 0:o.label:null!==(t=null===(l=K[_])||void 0===l?void 0:l.label)&&void 0!==t?t:_;return g?a("div",e({className:"ellm-chart__tooltip-label"},{children:g(i,u)})):null==i?null:a("div",e({className:"ellm-chart__tooltip-label"},{children:i}))},[_,g,u,h,K,w]);if(!c||!(null==u?void 0:u.length))return null;var x=1===u.length&&"dot"!==v;return t("div",e({ref:o,className:i("ellm-chart__tooltip",m)},{children:[x?null:k,a("div",e({className:"ellm-chart__tooltip-items"},{children:u.map(function(l,r){var o,c,d,u,m="".concat(C||l.name||l.dataKey||"value"),s=p(K,l,m),h=N||(null===(o=l.payload)||void 0===o?void 0:o.fill)||l.color;return a("div",e({className:"ellm-chart__tooltip-item"},{children:y&&void 0!==(null==l?void 0:l.value)&&l.name?y(l.value,l.name,l,r,l.payload):t(n,{children:[(null==s?void 0:s.icon)?a(s.icon,{}):!f&&a("span",{className:i("ellm-chart__indicator","ellm-chart__indicator--".concat(v)),style:{"--indicator-color":h}}),t("div",e({className:i("ellm-chart__tooltip-row",x&&"ellm-chart__tooltip-row--nested")},{children:[t("div",e({className:"ellm-chart__tooltip-grid"},{children:[x?k:null,a("span",e({className:"ellm-chart__tooltip-name"},{children:null!==(c=null==s?void 0:s.label)&&void 0!==c?c:l.name}))]})),void 0!==l.value&&a("span",e({className:"ellm-chart__tooltip-value"},{children:(null==b?void 0:b[String(null!==(d=l.dataKey)&&void 0!==d?d:"")])?b[String(l.dataKey)](l.value,l):"number"==typeof l.value?l.value.toLocaleString():l.value}))]}))]})}),String(null!==(u=l.dataKey)&&void 0!==u?u:r))})}))]}))});v.displayName="ChartTooltipContent";var h=o.Legend,f=r.forwardRef(function(l,n){var r=l.className,o=l.hideIcon,c=l.payload,u=l.verticalAlign,m=void 0===u?"bottom":u,s=l.align,v=void 0===s?"center":s,h=l.nameKey,f=l.onItemClick,_=l.hiddenKeys,g=d().config;return(null==c?void 0:c.length)?a("div",e({ref:n,className:i("ellm-chart__legend","top"===m?"ellm-chart__legend--top":"ellm-chart__legend--bottom","left"===v?"ellm-chart__legend--start":"right"===v?"ellm-chart__legend--end":"ellm-chart__legend--center",r)},{children:c.map(function(l,n){var r,c,d="".concat(h||l.dataKey||"value"),u=p(g,l,d),m=null==_?void 0:_.has(d);return t("button",e({type:"button",className:i("ellm-chart__legend-item",m&&"ellm-chart__legend-item--off"),onClick:f?function(){return f(d)}:void 0,disabled:!f,style:{cursor:f?"pointer":"default"}},{children:[(null==u?void 0:u.icon)&&!o?a(u.icon,{}):t("svg",e({className:"ellm-chart__legend-marker",width:"28",height:"12",viewBox:"0 0 28 12","aria-hidden":"true"},{children:[a("line",{x1:"1",y1:"6",x2:"27",y2:"6",stroke:l.color,strokeWidth:"2.5",strokeLinecap:"round"}),a("circle",{cx:"14",cy:"6",r:"4",fill:"#fff",stroke:l.color,strokeWidth:"2.5"})]})),null!==(r=null==u?void 0:u.label)&&void 0!==r?r:l.value]}),String(null!==(c=l.value)&&void 0!==c?c:n))})})):null});function p(l,e,a){if("object"==typeof e&&null!==e){var t="payload"in e&&"object"==typeof e.payload&&null!==e.payload?e.payload:void 0,n=a;return a in e&&"string"==typeof e[a]?n=e[a]:t&&a in t&&"string"==typeof t[a]&&(n=t[a]),n in l?l[n]:l[a]}}f.displayName="ChartLegendContent";export{u as ChartContainer,h as ChartLegend,f as ChartLegendContent,s as ChartTooltip,v as ChartTooltipContent,d as useChart};
|
|
2
|
+
//# sourceMappingURL=chart.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var r=[{value:1e12,suffix:"T"},{value:1e9,suffix:"B"},{value:1e6,suffix:"M"},{value:1e3,suffix:"K"}];function e(r,e){return r.toFixed(e).replace(/\.0+$/,"").replace(/(\.\d*[1-9])0+$/,"$1")}function t(t){if(!Number.isFinite(t))return"";for(var n=Math.abs(t),i=0;i<r.length;i++){var u=r[i];if(!(n<u.value)){var a=t/u.value,l=Math.abs(a)<100?1:0;if(i>0&&Math.abs(Number(a.toFixed(l)))>=1e3){var f=r[i-1];return e(a=t/f.value,l=Math.abs(a)<100?1:0)+f.suffix}return e(a,l)+u.suffix}}return Number.isInteger(t)?t.toLocaleString():Number(t.toFixed(2)).toLocaleString()}function n(r){return"object"==typeof r&&null!==r&&!Array.isArray(r)&&"currentValue"in r}function i(r){if(null!=r&&""!==r){var e=Number(r);return Number.isFinite(e)?e:void 0}}function u(r,e,t){if("higher_better"!==t&&"lower_better"!==t)return"neutral";var n=i(r),u=i(e);if(void 0===n||void 0===u)return"neutral";var a=n-u;return 0===a?"neutral":"higher_better"===t===a>0?"positive":"negative"}var a={positive:"#059669",negative:"#dc2626"};function l(r,e,t,n){var i,l=u(r,e,t);if("neutral"!==l)return null!==(i=null==n?void 0:n[l])&&void 0!==i?i:a[l]}function f(r,e,t){var n=i(r),a=i(e);if(void 0!==n&&void 0!==a&&0!==a){var l=(n-a)/Math.abs(a)*100;if(Number.isFinite(l)){var f=l>0?"up":l<0?"down":"flat",o=Math.abs(l);return{percent:l,direction:f,sentiment:u(r,e,t),label:o>0&&o<.1?"<0.1%":"".concat(Number(o.toFixed(1)),"%")}}}}function o(r,e){if(n(r))return o(r.currentValue,e);if(null==r||""===r)return"";if("string"==typeof r&&/[a-zA-Z%]/.test(r))return"dollar"!==e||r.startsWith("$")?r:"$".concat(r);var i=Number(r);if(Number.isNaN(i))return String(r);var u=t(i);switch(e){case"dollar":return"$".concat(u);case"percentage":return"".concat(u,"%");default:return u}}function v(r){return Object.values(r).filter(function(r){return Array.isArray(r)?r.length>0:null!=r&&""!==r}).length}export{a as KPI_SENTIMENT_COLORS,t as compactNumber,o as formatKpiValue,v as getActiveFilterCount,f as getKpiDelta,u as getKpiSentiment,l as getKpiValueColor,n as isKpiValueObject};
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{jsx as r}from"react/jsx-runtime";import{Activity as e,Airplay as a,AlarmClock as o,Archive as t,ArrowDown as c,ArrowLeft as i,ArrowRight as l,ArrowUp as n,AtSign as d,Award as h,BadgeCheck as p,Banknote as u,BarChart as s,BarChart2 as b,BarChart3 as g,Battery as m,Bell as k,Bike as f,Book as w,Bookmark as v,Briefcase as y,Building as x,Building2 as j,Bus as z,Calendar as q,Camera as A,Car as B,Check as C,CheckCheck as D,ChevronDown as E,ChevronLeft as F,ChevronRight as G,ChevronUp as H,Circle as I,Clipboard as J,ClipboardCheck as K,Clock as L,Cloud as M,CloudRain as N,Code as O,Cog as P,Cpu as Q,CreditCard as R,Database as S,DollarSign as T,Download as U,Edit as V,Eye as W,File as X,FileText as Y,Filter as Z,Flag as $,Folder as _,Gift as rr,Globe as er,GraduationCap as ar,Hammer as or,HardDrive as tr,Heart as cr,HelpCircle as ir,Home as lr,Image as nr,Inbox as dr,Info as hr,Key as pr,Laptop as ur,LayoutDashboard as sr,LifeBuoy as br,Lightbulb as gr,Link as mr,List as kr,Loader as fr,Lock as wr,LogIn as vr,LogOut as yr,Mail as xr,Map as jr,Menu as zr,MessageCircle as qr,Mic as Ar,Monitor as Br,Moon as Cr,MoreHorizontal as Dr,Package as Er,PenTool as Fr,Percent as Gr,Phone as Hr,PieChart as Ir,Pin as Jr,Play as Kr,Plus as Lr,Printer as Mr,Rocket as Nr,Search as Or,Send as Pr,Settings as Qr,Shield as Rr,ShoppingCart as Sr,Smartphone as Tr,Star as Ur,Sun as Vr,Tag as Wr,Target as Xr,Trash as Yr,TrendingDown as Zr,TrendingUp as $r,Truck as _r,Upload as re,User as ee,UserCheck as ae,UserCog as oe,UserPlus as te,Users as ce,Wallet as ie,Wifi as le,Wrench as ne,X as de,Zap as he}from"lucide-react";var pe={activity:r(e,{}),airplay:r(a,{}),alarm:r(o,{}),archive:r(t,{}),"arrow-down":r(c,{}),"arrow-left":r(i,{}),"arrow-right":r(l,{}),"arrow-up":r(n,{}),at:r(d,{}),award:r(h,{}),badge:r(p,{}),banknote:r(u,{}),"bar-chart":r(s,{}),"bar-chart-2":r(b,{}),"chart-bar":r(g,{}),battery:r(m,{}),bell:r(k,{}),bike:r(f,{}),book:r(w,{}),bookmark:r(v,{}),briefcase:r(y,{}),building:r(x,{}),building2:r(j,{}),bus:r(z,{}),calendar:r(q,{}),camera:r(A,{}),car:r(B,{}),check:r(C,{}),"check-check":r(D,{}),"chevron-down":r(E,{}),"chevron-left":r(F,{}),"chevron-right":r(G,{}),"chevron-up":r(H,{}),circle:r(I,{}),clipboard:r(J,{}),"clipboard-check":r(K,{}),clock:r(L,{}),cloud:r(M,{}),rain:r(N,{}),code:r(O,{}),cog:r(P,{}),cpu:r(Q,{}),"credit-card":r(R,{}),database:r(S,{}),dollar:r(T,{}),download:r(U,{}),edit:r(V,{}),eye:r(W,{}),file:r(X,{}),"file-text":r(Y,{}),filter:r(Z,{}),flag:r($,{}),folder:r(_,{}),gift:r(rr,{}),globe:r(er,{}),graduation:r(ar,{}),hammer:r(or,{}),harddrive:r(tr,{}),heart:r(cr,{}),help:r(ir,{}),home:r(lr,{}),image:r(nr,{}),inbox:r(dr,{}),info:r(hr,{}),key:r(pr,{}),laptop:r(ur,{}),dashboard:r(sr,{}),lifebuoy:r(br,{}),bulb:r(gr,{}),link:r(mr,{}),list:r(kr,{}),loader:r(fr,{}),lock:r(wr,{}),login:r(vr,{}),logout:r(yr,{}),mail:r(xr,{}),map:r(jr,{}),menu:r(zr,{}),message:r(qr,{}),mic:r(Ar,{}),monitor:r(Br,{}),moon:r(Cr,{}),more:r(Dr,{}),package:r(Er,{}),pentool:r(Fr,{}),percent:r(Gr,{}),phone:r(Hr,{}),"pie-chart":r(Ir,{}),pin:r(Jr,{}),play:r(Kr,{}),plus:r(Lr,{}),printer:r(Mr,{}),rocket:r(Nr,{}),search:r(Or,{}),send:r(Pr,{}),settings:r(Qr,{}),shield:r(Rr,{}),cart:r(Sr,{}),smartphone:r(Tr,{}),star:r(Ur,{}),sun:r(Vr,{}),tag:r(Wr,{}),target:r(Xr,{}),trash:r(Yr,{}),"trending-down":r(Zr,{}),"trending-up":r($r,{}),truck:r(_r,{}),upload:r(re,{}),user:r(ee,{}),"user-check":r(ae,{}),"user-cog":r(oe,{}),"user-plus":r(te,{}),users:r(ce,{}),wallet:r(ie,{}),wifi:r(le,{}),wrench:r(ne,{}),close:r(de,{}),zap:r(he,{})};function ue(r){if(r)return pe[r]}export{pe as ICON_MAP,ue as getKpiIcon};
|
|
2
|
+
//# sourceMappingURL=kpiIcon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kpiIcon.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{__spreadArray as r}from"../../_virtual/_tslib.js";var n=["graphBuilder","kpiCards","tableBuilder"],e=["dateFilters","sidebarFilters"];function t(r){if("string"!=typeof r)return null;var n=r.trim().toLowerCase().replace(/[\s_-]/g,"");return n.length?n:null}function i(r,n){if(!Array.isArray(r))return!1;var e=t(n);return null!=e&&r.some(function(r){return t(r)===e})}function o(r,n,e){n.length&&"production"!==process.env.NODE_ENV&&console.warn("[federated-dashboard] ".concat(r,": ignored unrecognized section ")+"".concat(1===n.length?"name":"names"," ").concat(n.map(function(r){return JSON.stringify(r)}).join(", "),". Available sections: ").concat(e.join(", "),"."))}function a(r,n,i){if(null==r)return[];if(!Array.isArray(r))return o(i,[r],n),[];var a=new Map;n.forEach(function(r){var n=t(r);n&&a.set(n,r)});for(var u=new Set(e.map(t)),c=[],s=[],l=0,f=r;l<f.length;l++){var d=f[l],g=t(d),p=g?a.get(g):void 0;p?c.includes(p)||c.push(p):g&&u.has(g)||s.push(d)}return o(i,s,n),c}function u(e,t,i,o){void 0===o&&(o=n);var u=a(e,o,"sectionOrder"),c=u.length?u:a(i,o,"uiConfig.data.sectionOrder"),s=a(t,o,"hiddenSections");return r(r([],c,!0),o.filter(function(r){return!c.includes(r)}),!0).filter(function(r){return!s.includes(r)})}export{n as DASHBOARD_SECTION_KEYS,e as PINNED_SECTION_KEYS,i as isSectionHidden,u as resolveSectionOrder};
|
|
2
|
+
//# sourceMappingURL=sectionOrder.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sectionOrder.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{__assign as n,__spreadArray as l}from"../../_virtual/_tslib.js";import{jsx as t}from"react/jsx-runtime";function e(l){return void 0===l&&(l=[]),l.map(function(l,t){var e;return n({__rank:t+1,id:null!==(e=null==l?void 0:l.id)&&void 0!==e?e:String(t)},l)})}function i(e,i){var r=(null==i?void 0:i.columns)&&i.columns.length>0?i.columns:function(l){var e;return(null!==(e=l.columns)&&void 0!==e?e:[]).map(function(l){var e,i,r,d=null!==(i=null===(e=l.columnName)||void 0===e?void 0:e[0])&&void 0!==i?i:l.key;return{key:l.key,header:t("div",n({style:{width:"100%",textAlign:"left"}},{children:null!==(r=l.label)&&void 0!==r?r:d})),style:{textAlign:"left"},headerStyle:{padding:"8px 12px",textAlign:"left"},bodyStyle:{padding:"8px 12px",height:44},body:function(n){var l;return t("span",{children:null!==(l=null==n?void 0:n[d])&&void 0!==l?l:""})}}})}(e);return e.showRankColumn?l([{key:"__rank",header:t("div",n({style:{width:"100%",textAlign:"left"}},{children:"No"})),style:{width:56,textAlign:"left"},headerStyle:{padding:"8px 12px",textAlign:"left"},bodyStyle:{padding:"8px 12px",height:44},body:function(n){var l;return t("span",{children:null!==(l=n.__rank)&&void 0!==l?l:0})}}],r,!0):r}export{i as buildColumns,e as withRowIds};
|
|
2
|
+
//# sourceMappingURL=tableColumns.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tableColumns.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{__extends as t,__awaiter as r,__generator as e,__assign as i}from"../../_virtual/_tslib.js";var a=function(r){function e(t,e){var i=r.call(this,t)||this;return i.name="DashboardApiError",i.status=e,i}return t(e,r),e}(Error),n=function(t){return t.replace(/\/+$/,"")};function s(t,i,n){var s;return r(this,void 0,void 0,function(){var r,o;return e(this,function(e){switch(e.label){case 0:return[4,fetch(t,{method:"POST",headers:{accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(i),signal:n})];case 1:if(!(r=e.sent()).ok)throw new a("Request failed with status ".concat(r.status),r.status);return[4,r.json()];case 2:if(!(o=e.sent()).success)throw new a((null===(s=o.error)||void 0===s?void 0:s.errorMessage)||"Request failed");return[2,o.data]}})})}function o(t,i){var a=t.configId,o=t.baseUrl,c=void 0===o?"":o;return r(this,void 0,void 0,function(){return e(this,function(t){return[2,s("".concat(n(c),"/records-dashboard/filters/ui"),{config_id:a},i)]})})}function c(t,i){var a=t.configId,o=t.baseUrl,c=void 0===o?"":o;return r(this,void 0,void 0,function(){var t;return e(this,function(r){switch(r.label){case 0:return[4,s("".concat(n(c),"/records-dashboard/filters/distinct-value"),{config_id:a},i)];case 1:return[2,(null==(t=r.sent())?void 0:t.sidebarFilters)||{}]}})})}function d(t,a){return r(this,void 0,void 0,function(){var r,n,s;return e(this,function(e){switch(e.label){case 0:return[4,Promise.all([o(t,a),c(t,a)])];case 1:return r=e.sent(),n=r[0],s=r[1],[2,{data:i(i({},n),{sidebarFilters:(n.sidebarFilters||[]).map(function(t){return i(i({},t),{options:s[t.schemaFilterName]||[]})})})}]}})})}function u(t){void 0===t&&(t={});var r={};return Object.entries(t).forEach(function(t){var e=t[0],i=t[1];Array.isArray(i)?i.length>0&&(r[e]=i):""!==i&&null!=i&&(r[e]=[i])}),r}function l(t,i,a){var o=t.configId,c=t.baseUrl,d=void 0===c?"":c;return r(this,void 0,void 0,function(){var t;return e(this,function(r){return t={config_id:o,dateFilters:{startDate:"2000-08-01T00:00:00.000Z",endDate:"2050-08-31T23:59:59.000Z"},sidebarFilters:u(i.filters),statsFilters:i.statsFilters||{},selectedStatCards:i.selectedStatCards||[]},[2,s("".concat(n(d),"/records-dashboard/filters/get-data"),t,a)]})})}function f(t,a,o){var c=t.configId,d=t.baseUrl,l=void 0===d?"":d;return r(this,void 0,void 0,function(){return e(this,function(t){return[2,s("".concat(n(l),"/records-dashboard/filters/table-data"),i(i({config_id:c,dateFilters:{endDate:"2050-08-13T05:51:34.302Z",startDate:"2000-08-12T18:30:00.000Z"},sidebarFilters:u(a.filters),statsFilters:a.statsFilters||{},selectedStatCards:a.selectedStatCards||[],tableHeader:a.tableHeader,tableKey:a.tableKey,pageSize:a.pageSize},a.page?{page:a.page}:{}),a.cursor?{cursor:a.cursor}:{}),o)]})})}export{a as RECODashboardApiError,l as RecordFetchDashboardData,f as RecordFetchTableData,d as RecordFetchUIConfig};
|
|
2
|
+
//# sourceMappingURL=RecordDashboardApi.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RecordDashboardApi.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{__assign as t}from"../../../_virtual/_tslib.js";import{jsxs as e,jsx as a}from"react/jsx-runtime";import{useMemo as o}from"react";import{Chart as i}from"primereact/chart";import"../../../node_modules/chart.js/auto/auto.js";import r from"../../../node_modules/chartjs-plugin-datalabels/dist/chartjs-plugin-datalabels.esm.js";import{Chart as l}from"../../../node_modules/chart.js/dist/chart.js";l.register(r);var n=function(r){var l=r.title,n=void 0===l?"Membership Tier Distribution":l,s=r.labels,d=void 0===s?[]:s,c=r.values,u=void 0===c?[]:c,h=r.colors,p=void 0===h?["#3B82F6","#6DDB36","#FBBF24"]:h,m=r.legendPosition,b=void 0===m?"right":m,f=r.cutout,g=void 0===f?"50%":f,v=r.showLegend,y=void 0===v||v,F=r.showDataLabels,j=void 0===F||F,x=r.height,_=void 0===x?300:x,C=r.chartType,S=void 0===C?"pie":C,k=r.style,B=r.titleStyle,W=r.chartContainerStyle,w=o(function(){return{labels:d,datasets:[{data:u,backgroundColor:p,borderColor:"#FFFFFF",borderWidth:2,hoverBorderWidth:2,hoverOffset:4,datalabels:{display:j,color:"#000",font:{weight:"bold"},formatter:function(t){return t}}}]}},[d,u,p,j]),D=o(function(){return t(t({responsive:!0,maintainAspectRatio:!1},"doughnut"===S?{cutout:g}:{}),{plugins:{datalabels:{display:j},legend:{display:y,position:b,onClick:function(){},labels:{usePointStyle:!0,pointStyle:"rectRounded",boxWidth:14,boxHeight:14,padding:20,generateLabels:function(t){var e=t.data;return e.labels.map(function(t,a){return{text:"".concat(t," (").concat(e.datasets[0].data[a],")"),fillStyle:"#FFFFFF",strokeStyle:e.datasets[0].backgroundColor[a],lineWidth:2,pointStyle:"rectRounded",hidden:!1,index:a}})}}},tooltip:{displayColors:!0,boxWidth:10,boxHeight:10,boxPadding:4,padding:8,callbacks:{label:function(t){return"".concat(t.raw)}}}}})},[S,g,j,y,b]);return e("div",t({className:"analytics-chart",style:k},{children:[n&&a("h2",t({className:"analytics-chart__title",style:B},{children:n})),a("div",t({className:"analytics-chart__container",style:t({height:_},W)},{children:a(i,{type:S,data:w,options:D})}))]}))};export{n as default};
|
|
2
|
+
//# sourceMappingURL=AnalyticsChart.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AnalyticsChart.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
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,{RECO_NEWS_DOT_COLORS as o}from"./styles/RecordDashboardCardStyles.js";var s=function(s){var a=s.items,c=s.accentBg,i=s.accentBorder,d=s.accentText;if(0===a.length)return null;var m={backgroundColor:c,borderColor:i};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 RecordBreakingNewsBanner};
|
|
2
|
+
//# sourceMappingURL=RecordBreakingNewsBanner.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RecordBreakingNewsBanner.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{__assign as e}from"../../../_virtual/_tslib.js";import{jsxs as t,jsx as r,Fragment as n}from"react/jsx-runtime";import{useState as c,useRef as l}from"react";import o,{RECO_DASHBOARD_CARD_KEYFRAMES as i}from"./styles/RecordDashboardCardStyles.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=c(null),S=L[0],w=L[1],D=l(null),W=240,R=90,T=18,j=12,A=v&&v.length>0?Math.min.apply(Math,v):0,B=v&&v.length>0?Math.max.apply(Math,v):100,V=B-A===0?1:B-A,z=(v||[]).map(function(e,t){var r=v.length;return{x:r>1?T+t/(r-1)*204:120,y:78-(e-A)/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 r=parseInt(t[0],10),n=t[1],c=r>=12?"PM":"AM";return"".concat(r=r%12||12,":").concat(n," ").concat(c)},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:[r("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:[r("div",e({style:e(e({},o.iconWrap),{backgroundColor:s})},{children:d})),r("h3",e({style:o.title},{children:y}))]})),r("span",e({style:o.badge},{children:u}))]})),t("div",e({style:o.heroRow},{children:[t("div",e({style:o.hero},{children:[r("span",e({style:e(e({},o.heroValue),{color:x})},{children:p})),r("span",e({style:o.heroLabel},{children:f})),g&&r("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:[r("span",{children:"Trend Timeline"}),_&&r("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))}))]})),r("div",e({style:o.chartWrap},{children:v&&v.length>1?t("svg",e({ref:D,viewBox:"0 0 ".concat(W," ").concat(R),style:o.chartSvg,onMouseMove:function(e){if(D.current&&0!==z.length){for(var t=D.current.getBoundingClientRect(),r=(e.clientX-t.left)/t.width*W,n=0,c=Math.abs(z[0].x-r),l=1;l<z.length;l++){var o=Math.abs(z[l].x-r);o<c&&(c=o,n=l)}w(n)}},onMouseLeave:function(){return w(null)}},{children:[r("defs",{children:t("linearGradient",e({id:"grad-".concat(y.replace(/\s+/g,"")),x1:"0",y1:"0",x2:"0",y2:"1"},{children:[r("stop",{offset:"0%",stopColor:b,stopOpacity:.12}),r("stop",{offset:"100%",stopColor:b,stopOpacity:0})]}))}),r("text",e({x:12,y:15,textAnchor:"end",style:{fontSize:8,fontWeight:900,letterSpacing:"-0.05em",fill:"#020617"}},{children:E(B)})),r("text",e({x:12,y:81,textAnchor:"end",style:{fontSize:8,fontWeight:900,letterSpacing:"-0.05em",fill:"#020617"}},{children:E(A)})),r("path",{d:$,fill:"url(#grad-".concat(y.replace(/\s+/g,""),")")}),r("path",{d:F,fill:"none",stroke:b,strokeWidth:1.75,strokeLinecap:"round",strokeLinejoin:"round"}),_?t(n,{children:[r("line",{x1:_.x,y1:j,x2:_.x,y2:78,stroke:"#64748b",strokeWidth:.75,strokeDasharray:"2,2"}),r("circle",{cx:_.x,cy:_.y,r:4,fill:b,opacity:.2}),r("circle",{cx:_.x,cy:_.y,r:2,fill:b,stroke:"#ffffff",strokeWidth:1})]}):z.length>0&&r("circle",{cx:z[z.length-1].x,cy:z[z.length-1].y,r:2.5,fill:b})]})):r("span",e({style:o.chartEmpty},{children:"No live telemetry"}))}))]}))]}))]})),r("div",e({style:o.body},{children:k})),M&&r("div",e({style:o.footer},{children:M}))]}))};export{a as RecordCardShell};
|
|
2
|
+
//# sourceMappingURL=RecordCardShell.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RecordCardShell.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|