@e-llm-studio/federated-dashboard-components 1.0.7 → 1.0.8
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/Graph/Seperator.js +2 -0
- package/dist/ExecutiveDashboard/components/Graph/Seperator.js.map +1 -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/hooks/useVisibilityPolling.js +2 -0
- package/dist/ExecutiveDashboard/hooks/useVisibilityPolling.js.map +1 -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/Seperator.js +2 -0
- package/dist/cjs/ExecutiveDashboard/components/Graph/Seperator.js.map +1 -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/hooks/useVisibilityPolling.js +2 -0
- package/dist/cjs/ExecutiveDashboard/hooks/useVisibilityPolling.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 +2 -2
- package/dist/types/App.d.ts.map +1 -1
- package/dist/types/ExecutiveDashboard/ExecutiveDashboardWrapper.d.ts +5 -0
- package/dist/types/ExecutiveDashboard/ExecutiveDashboardWrapper.d.ts.map +1 -0
- package/dist/types/ExecutiveDashboard/TestExecutiveDashboard.d.ts +3 -0
- package/dist/types/ExecutiveDashboard/TestExecutiveDashboard.d.ts.map +1 -0
- package/dist/types/ExecutiveDashboard/api/dashboardApi.d.ts +31 -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/{components → ExecutiveDashboard/components}/DashboardCard/EventsSection.d.ts +2 -1
- 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 +4 -0
- package/dist/types/ExecutiveDashboard/components/DashboardCard/GridSection.d.ts.map +1 -0
- package/dist/types/{components → ExecutiveDashboard/components}/DashboardCard/ListSection.d.ts +3 -2
- 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/{components → ExecutiveDashboard/components}/DashboardCard/TagsSection.d.ts +2 -1
- 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/{components → ExecutiveDashboard/components}/DashboardCard/sectionContent.d.ts +1 -1
- 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 +8 -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/ExecutiveDashboard/components/DashboardDateFilter/datePreset.d.ts +137 -0
- package/dist/types/ExecutiveDashboard/components/DashboardDateFilter/datePreset.d.ts.map +1 -0
- package/dist/types/ExecutiveDashboard/components/DashboardSkeleton/DashboardSkeleton.d.ts +5 -0
- package/dist/types/ExecutiveDashboard/components/DashboardSkeleton/DashboardSkeleton.d.ts.map +1 -0
- package/dist/types/{components → ExecutiveDashboard/components}/DatePickers/DatePicker.d.ts +2 -1
- 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/{components → ExecutiveDashboard/components}/DatePickers/DateSelector.d.ts +1 -1
- package/dist/types/ExecutiveDashboard/components/DatePickers/DateSelector.d.ts.map +1 -0
- package/dist/types/{components → ExecutiveDashboard/components}/DropDowns/CustomMultiSelect.d.ts +2 -1
- package/dist/types/ExecutiveDashboard/components/DropDowns/CustomMultiSelect.d.ts.map +1 -0
- package/dist/types/{components → ExecutiveDashboard/components}/DropDowns/CustomSingleSelect.d.ts +2 -1
- package/dist/types/ExecutiveDashboard/components/DropDowns/CustomSingleSelect.d.ts.map +1 -0
- package/dist/types/ExecutiveDashboard/components/ExecutiveDashboard.d.ts +59 -0
- package/dist/types/ExecutiveDashboard/components/ExecutiveDashboard.d.ts.map +1 -0
- package/dist/types/{components → ExecutiveDashboard/components}/FiltersSidebar/CustomTextInput.d.ts +2 -1
- package/dist/types/ExecutiveDashboard/components/FiltersSidebar/CustomTextInput.d.ts.map +1 -0
- package/dist/types/{components → ExecutiveDashboard/components}/FiltersSidebar/FiltersSidebar.d.ts +2 -1
- package/dist/types/ExecutiveDashboard/components/FiltersSidebar/FiltersSidebar.d.ts.map +1 -0
- package/dist/types/{components → ExecutiveDashboard/components}/Graph/Graph.d.ts +2 -1
- 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 +11 -0
- package/dist/types/ExecutiveDashboard/components/Graph/GraphSkeleton.d.ts.map +1 -0
- package/dist/types/{components → ExecutiveDashboard/components}/Graph/LineChart.d.ts +5 -2
- package/dist/types/ExecutiveDashboard/components/Graph/LineChart.d.ts.map +1 -0
- package/dist/types/{components → ExecutiveDashboard/components}/Graph/PlotBySelector.d.ts +2 -1
- package/dist/types/ExecutiveDashboard/components/Graph/PlotBySelector.d.ts.map +1 -0
- package/dist/types/ExecutiveDashboard/components/Graph/Seperator.d.ts +7 -0
- package/dist/types/ExecutiveDashboard/components/Graph/Seperator.d.ts.map +1 -0
- package/dist/types/ExecutiveDashboard/components/Graph/types.d.ts +278 -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 +12 -11
- package/dist/types/ExecutiveDashboard/components/Table/FTable.d.ts.map +1 -0
- package/dist/types/{components → ExecutiveDashboard/components}/Table/SortDropdown.d.ts +2 -1
- package/dist/types/ExecutiveDashboard/components/Table/SortDropdown.d.ts.map +1 -0
- package/dist/types/{components → ExecutiveDashboard/components}/Table/TableCard.d.ts +3 -2
- 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/common/Accordion.d.ts +34 -0
- package/dist/types/ExecutiveDashboard/components/common/Accordion.d.ts.map +1 -0
- package/dist/types/{components → ExecutiveDashboard/components}/ui/chart.d.ts +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/hooks/useVisibilityPolling.d.ts +12 -0
- package/dist/types/ExecutiveDashboard/hooks/useVisibilityPolling.d.ts.map +1 -0
- package/dist/types/ExecutiveDashboard/types/index.d.ts +416 -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 +32 -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 +4 -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 +4 -0
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordGridSection.d.ts.map +1 -0
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordListSection.d.ts +5 -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 +4 -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 +42 -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/{components/DashboardDateFilter/datePreset.d.ts → RecordDashboard/RecordComponents/DashboardDateFilter/RecordDatePreset.d.ts} +16 -15
- package/dist/types/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDatePreset.d.ts.map +1 -0
- package/dist/types/RecordDashboard/RecordComponents/DashboardSkeleton/RecordDashboardSkeleton.d.ts +5 -0
- package/dist/types/RecordDashboard/RecordComponents/DashboardSkeleton/RecordDashboardSkeleton.d.ts.map +1 -0
- package/dist/types/RecordDashboard/RecordComponents/DatePickers/RecordDatePicker.d.ts +11 -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 +18 -0
- package/dist/types/RecordDashboard/RecordComponents/DropDowns/RecordCustomMultiSelect.d.ts.map +1 -0
- package/dist/types/RecordDashboard/RecordComponents/DropDowns/RecordCustomSingleSelect.d.ts +17 -0
- package/dist/types/RecordDashboard/RecordComponents/DropDowns/RecordCustomSingleSelect.d.ts.map +1 -0
- package/dist/types/RecordDashboard/RecordComponents/FiltersSidebar/RecordCustomTextInput.d.ts +13 -0
- package/dist/types/RecordDashboard/RecordComponents/FiltersSidebar/RecordCustomTextInput.d.ts.map +1 -0
- package/dist/types/RecordDashboard/RecordComponents/FiltersSidebar/RecordFiltersSidebar.d.ts +35 -0
- package/dist/types/RecordDashboard/RecordComponents/FiltersSidebar/RecordFiltersSidebar.d.ts.map +1 -0
- package/dist/types/RecordDashboard/RecordComponents/Graph/RecordGraph.d.ts +5 -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 +11 -0
- package/dist/types/RecordDashboard/RecordComponents/Graph/RecordGraphSkeleton.d.ts.map +1 -0
- package/dist/types/RecordDashboard/RecordComponents/Graph/RecordLineChart.d.ts +26 -0
- package/dist/types/RecordDashboard/RecordComponents/Graph/RecordLineChart.d.ts.map +1 -0
- package/dist/types/RecordDashboard/RecordComponents/Graph/RecordPlotBySelector.d.ts +18 -0
- package/dist/types/RecordDashboard/RecordComponents/Graph/RecordPlotBySelector.d.ts.map +1 -0
- package/dist/types/{components → RecordDashboard/RecordComponents}/Graph/types.d.ts +41 -41
- 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 +10 -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 +14 -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 +8 -0
- package/dist/types/RecordDashboard/RecordDashboardWrapper.d.ts.map +1 -0
- package/dist/types/RecordDashboard/RecordTypes/index.d.ts +986 -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 +22 -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 +3 -0
- package/dist/types/RecordDashboard/TestRecordDashbaord.d.ts.map +1 -0
- package/dist/types/index.d.ts +85 -19
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +12 -9
- 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 +0 -3
- 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/FooterLinkButton.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/TopDropdownMenu.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/DateRangeSelector.d.ts +0 -0
- /package/dist/types/{components → ExecutiveDashboard/components}/ui/utils.d.ts +0 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),t=require("react/jsx-runtime"),n=require("react"),r=require("./DatePicker.js"),a=require("lucide-react");exports.default=function(s){var i,l=s.label,u=s.value,o=s.placeholder,c=void 0===o?"Select date":o,d=s.minDate,_=s.maxDate,g=s.styles,f=s.onChange,m=n.useState(!1),v=m[0],x=m[1],j=n.useState(!1),p=j[0],h=j[1],q=n.useRef(null),b=n.useRef(null);return n.useEffect(function(){var e=function(e){b.current&&!b.current.contains(e.target)&&q.current&&!q.current.contains(e.target)&&x(!1)};return document.addEventListener("mousedown",e),function(){return document.removeEventListener("mousedown",e)}},[]),t.jsxs("div",e.__assign({className:"q-date-selector",style:null==g?void 0:g.root},{children:[l&&t.jsx("label",e.__assign({className:"q-date-selector__label"},{children:l})),t.jsxs("button",e.__assign({ref:q,type:"button",className:"q-date-selector__trigger",style:null==g?void 0:g.trigger,onClick:function(){if(!v&&q.current){var e=q.current.getBoundingClientRect(),t=window.innerHeight-e.bottom,n=e.top;h(t<320&&n>t)}x(function(e){return!e})}},{children:[t.jsx("span",{children:u?(i=u,i.toLocaleDateString("en-US",{month:"2-digit",day:"2-digit",year:"numeric"})):c}),t.jsx(a.Calendar,{size:14,color:"#64748B"})]})),v&&t.jsx("div",e.__assign({ref:b,className:"q-date-selector__panel ".concat(p?"q-date-selector__panel--top":""),style:null==g?void 0:g.panel},{children:t.jsx(r.default,{value:u,minDate:d,maxDate:_,onChange:function(e){f(e),x(!1)}})}))]}))};
|
|
2
|
+
//# sourceMappingURL=DateSelector.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),s=require("react/jsx-runtime"),n=require("react"),r=require("lucide-react");exports.default=function(c){var t=c.options,a=c.value,i=c.onChange,l=c.placeholder,u=void 0===l?"Select":l,o=c.searchPlaceholder,d=void 0===o?"Search..":o,m=c.showSelectAll,v=void 0===m||m,h=c.selectAllLabel,_=void 0===h?"All":h,f=n.useState(!1),g=f[0],x=f[1],p=n.useState(""),j=p[0],N=p[1],b=n.useRef(null);n.useEffect(function(){var e=function(e){var s;(null===(s=b.current)||void 0===s?void 0:s.contains(e.target))||x(!1)};return document.addEventListener("mousedown",e),function(){return document.removeEventListener("mousedown",e)}},[]);var k=n.useMemo(function(){var e=j.trim().toLowerCase();return e?t.filter(function(s){return s.label.toLowerCase().includes(e)}):t},[t,j,a]),C=n.useMemo(function(){return t.map(function(e){return e.value})},[t]),w=a.length>0&&C.every(function(e){return a.includes(e)}),y=n.useMemo(function(){var e;if(0===a.length)return u;if(w)return"All";if(1===a.length){var s=t.find(function(e){return e.value===a[0]});return null!==(e=null==s?void 0:s.label)&&void 0!==e?e:"1 selected"}return"".concat(a.length," selected")},[a,w,t,u]);return s.jsxs("div",e.__assign({className:"cms-root",ref:b},{children:[s.jsxs("button",e.__assign({type:"button",className:"cms-trigger",onClick:function(){return x(function(e){return!e})}},{children:[s.jsx("span",e.__assign({className:"cms-triggerText ".concat(a.length?"cms-hasValue":"")},{children:y})),s.jsx("span",e.__assign({className:"cms-chevron"},{children:"▾"}))]})),g&&s.jsxs("div",e.__assign({className:"cms-panel"},{children:[t.length>0&&s.jsxs("div",e.__assign({className:"cms-searchRow"},{children:[s.jsx(r.Search,{size:18}),s.jsx("input",{className:"cms-searchInput",placeholder:d,value:j,onChange:function(e){return N(e.target.value)},autoFocus:!0})]})),v&&!(null==j?void 0:j.trim())&&t.length>0&&s.jsxs("div",e.__assign({className:"cms-item",onClick:function(){i(w?[]:C)}},{children:[s.jsx("span",e.__assign({className:"cms-checkbox ".concat(w?"cms-checked":"")},{children:w?"✓":""})),s.jsx("span",e.__assign({className:"cms-itemText"},{children:_}))]})),s.jsx("div",e.__assign({className:"cms-list"},{children:0===k.length?s.jsx("div",e.__assign({className:"cms-empty"},{children:"No options found"})):k.map(function(n){var r=a.includes(n.value);return s.jsxs("div",e.__assign({className:"cms-item",onClick:function(){return s=n.value,void(a.includes(s)?i(a.filter(function(e){return e!==s})):i(e.__spreadArray(e.__spreadArray([],a,!0),[s],!1)));var s}},{children:[s.jsx("span",e.__assign({className:"cms-checkbox ".concat(r?"cms-checked":"")},{children:r?"✓":""})),s.jsx("span",e.__assign({className:"cms-itemText"},{children:n.label}))]}),n.value)})}))]}))]}))};
|
|
2
|
+
//# sourceMappingURL=CustomMultiSelect.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),s=require("react/jsx-runtime"),n=require("react"),a=require("lucide-react");exports.default=function(r){var t=r.options,i=r.value,c=r.onChange,u=r.placeholder,l=void 0===u?"Select":u,o=r.searchPlaceholder,d=void 0===o?"Search...":o,v=r.disabled,m=void 0!==v&&v,_=n.useState(!1),f=_[0],h=_[1],g=n.useState(""),x=g[0],p=g[1],j=n.useRef(null);n.useEffect(function(){var e=function(e){var s;(null===(s=j.current)||void 0===s?void 0:s.contains(e.target))||h(!1)};return document.addEventListener("mousedown",e),function(){return document.removeEventListener("mousedown",e)}},[]);var N=n.useMemo(function(){var e=x.trim().toLowerCase();return e?t.filter(function(s){return s.label.toLowerCase().includes(e)}):t},[x,t]),b=n.useMemo(function(){var e,s;return i&&null!==(s=null===(e=t.find(function(e){return e.value===i}))||void 0===e?void 0:e.label)&&void 0!==s?s:l},[i,t,l]);return s.jsxs("div",e.__assign({className:"css-root",ref:j},{children:[s.jsxs("button",e.__assign({type:"button",disabled:m,className:"css-trigger",onClick:function(){return h(function(e){return!e})}},{children:[s.jsx("span",e.__assign({className:"css-triggerText ".concat(i?"css-hasValue":"")},{children:b})),s.jsx("span",e.__assign({className:"css-chevron"},{children:"▾"}))]})),f&&s.jsxs("div",e.__assign({className:"css-panel"},{children:[s.jsxs("div",e.__assign({className:"css-searchRow"},{children:[s.jsx(a.Search,{size:18}),s.jsx("input",{className:"css-searchInput",placeholder:d,value:x,autoFocus:!0,onChange:function(e){return p(e.target.value)}})]})),s.jsx("div",e.__assign({className:"css-list"},{children:0===N.length?s.jsx("div",e.__assign({className:"css-empty"},{children:"No options found"})):N.map(function(n){return s.jsx("div",e.__assign({className:"css-item ".concat(i===(null==n?void 0:n.value)?"css-selected":""),onClick:function(){return function(e){c(e),h(!1)}(n.value)}},{children:s.jsx("span",e.__assign({className:"css-itemText"},{children:n.label}))}),n.value)})}))]}))]}))};
|
|
2
|
+
//# sourceMappingURL=CustomSingleSelect.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var l=require("../../_virtual/_tslib.js"),e=require("react/jsx-runtime"),i=require("react"),o=require("lucide-react"),n=require("./DashboardDateFilter/DashboardDateFilter.js"),t=require("./MetricCard/MetricCard.js"),d=require("./FiltersSidebar/FiltersSidebar.js"),a=require("./Graph/Graph.js"),r=require("./Graph/GraphEmptyState.js"),u=require("./DashboardDateFilter/datePreset.js"),s=require("./Table/TableCard.js"),v=require("./Table/TableGrid/TableGrid.js"),c=require("../utils/tableColumns.js"),p=require("../utils/sectionOrder.js"),g=require("../utils/index.js"),h=require("../utils/kpiIcon.js");function b(l){return l&&"object"==typeof l&&"default"in l?l:{default:l}}var f=b(i),y=["#7c3aed","#FFC130","#F43F5E","#10b981","#3b82f6"];function m(b){var m,x,C,j,F,_,k,D,w,S,B,q,L,P,O,A,E,M,T,R,V,K,H,I,G,z,W,N,Z,J,Q,U,X,Y,$,ll,el,il=b.uiConfig,ol=b.data,nl=b.dataLoading,tl=b.startDate,dl=b.endDate,al=b.onDateChange,rl=b.onRefresh,ul=b.selectedKpis,sl=b.onKpiChange,vl=b.sidebarVisible,cl=b.onSidebarShow,pl=b.onSidebarHide,gl=b.filterValues,hl=b.onFilterChange,bl=b.onFilterReset,fl=b.onFilterApply,yl=b.appliedFilters,ml=b.graphEmptyState,xl=b.tables,Cl=b.tableLayout,jl=b.sectionOrder,Fl=b.hiddenSections,_l=b.tablePages,kl=b.onTableExpand,Dl=b.onTableLoadMore,wl=b.pollingEnabled,Sl=void 0!==wl&&wl,Bl=b.selectedPreset,ql=b.handlePresetChange,Ll=null!==(C=null===(x=null===(m=null==il?void 0:il.data)||void 0===m?void 0:m.dateFilters)||void 0===x?void 0:x.datepresets)&&void 0!==C?C:[],Pl=i.useMemo(function(){return Ll.map(function(l){return u.DATE_PRESET_MAP[l]}).filter(Boolean)},[JSON.stringify(Ll)]),Ol=i.useMemo(function(){return g.getActiveFilterCount(yl)},[yl]),Al=i.useMemo(function(){var l,e,i=null==Cl?void 0:Cl.spans;if(i)return(null!==(e=null===(l=null==il?void 0:il.data)||void 0===l?void 0:l.tableBuilder)&&void 0!==e?e:[]).map(function(l,e){return Array.isArray(i)?i[e]:i[l.key]})},[null==Cl?void 0:Cl.spans,null===(j=null==il?void 0:il.data)||void 0===j?void 0:j.tableBuilder]),El=e.jsx("div",l.__assign({style:{padding:"4px"}},{children:e.jsx(a.default,{loading:nl,emptyState:null!=ml?ml:e.jsx(r.default,{}),title:null===(F=null==il?void 0:il.data)||void 0===F?void 0:F.graphBuilder.title,description:null===(k=null===(_=null==il?void 0:il.data)||void 0===_?void 0:_.graphBuilder)||void 0===k?void 0:k.subtitle,icon:e.jsx(o.ChartLine,{size:18}),xAxis:{label:(null===(w=null===(D=null==il?void 0:il.data)||void 0===D?void 0:D.graphBuilder)||void 0===w?void 0:w.axis.xAxisLabel)||"Date"},style:{chartHeight:220},scrollable:Sl,panes:null===(S=null==il?void 0:il.data)||void 0===S?void 0:S.graphBuilder.tiers.map(function(l,i){var n,t,d,a,r,u,s,v,c,p,g,h,b=ul[l.key]||(null===(n=l.plotOptions[0])||void 0===n?void 0:n.key),f=ol.graph.tier.find(function(e){return e.key===l.key}),m=(null===(t=null==f?void 0:f.referenceOptions)||void 0===t?void 0:t[b])||{},x=(null===(d=null==f?void 0:f.plotbyoptions)||void 0===d?void 0:d[b])||{},C=(null==l?void 0:l.series)||[],j=Object.keys(x),F=l.plotOptions.find(function(l){return l.value===b});return{key:l.key,selector:{label:"Plot By",value:b,onChange:function(e){sl(l.key,e)},options:l.plotOptions.map(function(l){return{label:l.label,value:l.value}}),triggerIcon:e.jsx(o.ChartLine,{size:16,color:0===i?"green":"purple"})},yAxis:{label:null==F?void 0:F.yAxisLabel,beginAtZero:"false"!==(null==b?void 0:b.yAxisBeginAtZero)},tooltip:{formatHeading:function(l){return"".concat(l)}},legend:{position:(null===(u=null===(r=null===(a=null==il?void 0:il.data)||void 0===a?void 0:a.graphBuilder)||void 0===r?void 0:r.legend)||void 0===u?void 0:u.position)||"bottom",toggle:"yes"===(null===(c=null===(v=null===(s=null==il?void 0:il.data)||void 0===s?void 0:s.graphBuilder)||void 0===v?void 0:v.legend)||void 0===c?void 0:c.allowToggle),align:(null===(h=null===(g=null===(p=null==il?void 0:il.data)||void 0===p?void 0:p.graphBuilder)||void 0===g?void 0:g.legend)||void 0===h?void 0:h.alignment)||"center"},height:0===i?300:250,series:j.map(function(l,e){var i,o,n=(null===(o=null===(i=null==f?void 0:f.plotbyoptions)||void 0===i?void 0:i[b])||void 0===o?void 0:o[l])||[],t=y[e%y.length],d=C.find(function(e){return e.key===l});return{key:l,label:(null==d?void 0:d.name)||l,data:n,area:"yes"===(null==d?void 0:d.areaFill),curve:(null==d?void 0:d.curveType)||"linear",color:"#".concat(null==d?void 0:d.color)||t,dashed:"dashed"===(null==d?void 0:d.style),strokeWidth:parseInt(null==d?void 0:d.strokeWidth)||2,showPoints:"yes"===(null==d?void 0:d.showPoints),pointRadius:parseInt(null==d?void 0:d.pointRadius)||3,showInLegend:!0,valueFormatter:function(l){return"".concat(l)}}}),reference:m}})})})),Ml=e.jsx("div",l.__assign({style:{padding:"4px",display:"flex",gap:"10px",flexWrap:"wrap"}},{children:l.__spreadArray([],null!==(q=null===(B=null==il?void 0:il.data)||void 0===B?void 0:B.kpiCards)&&void 0!==q?q:[],!0).sort(function(l,e){var i,o;return(null!==(i=l.displayOrder)&&void 0!==i?i:0)-(null!==(o=e.displayOrder)&&void 0!==o?o:0)}).map(function(l){var i,o=null===(i=null==ol?void 0:ol.kpiCards)||void 0===i?void 0:i[l.title],n=g.isKpiValueObject(o)?g.getKpiValueColor(o.currentValue,o.baselineValue,l.indicatorLogic):void 0,d=g.isKpiValueObject(o)?g.getKpiDelta(o.currentValue,o.baselineValue,l.indicatorLogic):void 0;return e.jsx(t.default,{title:l.title,subtitle:l.subtitle,value:g.formatKpiValue(o,l.valueFormat),valueColor:n,delta:d&&{label:d.label,direction:d.direction,color:n},icon:h.getKpiIcon(l.icon),loading:nl},l.title)})})),Tl=(null!==(O=null===(P=null===(L=null==il?void 0:il.data)||void 0===L?void 0:L.tableBuilder)||void 0===P?void 0:P.length)&&void 0!==O?O:0)>0?e.jsx("div",l.__assign({style:{padding:"4px"}},{children:e.jsx(v.default,l.__assign({itemSpans:Al,totalColumns:null!==(A=null==Cl?void 0:Cl.totalColumns)&&void 0!==A?A:12,defaultSpan:null==Cl?void 0:Cl.defaultSpan,options:null!==(E=null==Cl?void 0:Cl.options)&&void 0!==E?E:[1,2,3],defaultColumns:null==Cl?void 0:Cl.defaultColumns,columns:null==Cl?void 0:Cl.columns,onColumnsChange:null==Cl?void 0:Cl.onColumnsChange,showToggle:(null===(M=null==Cl?void 0:Cl.showToggle)||void 0===M||M)&&(null!==(V=null===(R=null===(T=null==il?void 0:il.data)||void 0===T?void 0:T.tableBuilder)||void 0===R?void 0:R.length)&&void 0!==V?V:0)>1,toggleLabel:null==Cl?void 0:Cl.toggleLabel,minColumnWidth:null!==(K=null==Cl?void 0:Cl.minColumnWidth)&&void 0!==K?K:380,gap:null!==(H=null==Cl?void 0:Cl.gap)&&void 0!==H?H:12,equalHeights:null===(I=null==Cl?void 0:Cl.equalHeights)||void 0===I||I},{children:il.data.tableBuilder.map(function(i){var o,n,t=null!==(n=null===(o=null==ol?void 0:ol.table)||void 0===o?void 0:o[i.key])&&void 0!==n?n:[],d=null==_l?void 0:_l[i.key],a=!!(null==d?void 0:d.loaded),r=a?d.rows:t,u=!a&&i.rowLimit&&i.rowLimit>0?t.slice(0,i.rowLimit):r,v=null==xl?void 0:xl[i.key],p=c.buildColumns(i,v),g=null==v?void 0:v.card,b=null==g?void 0:g.icon,y=h.getKpiIcon(i.icon),m=y&&f.default.isValidElement(y)?f.default.cloneElement(y,l.__assign(l.__assign({},null!=(null==b?void 0:b.size)?{size:b.size}:{}),(null==b?void 0:b.color)?{color:b.color}:{})):y,x=b?l.__assign(l.__assign(l.__assign({width:"auto",height:"auto"},b.color?{color:b.color}:{}),b.background?{background:b.background,padding:6,borderRadius:8}:{}),b.style):void 0;return e.jsx(s.default,{title:i.title,icon:m,styles:{root:null==g?void 0:g.root,header:null==g?void 0:g.header,title:null==g?void 0:g.title,icon:x},onExpand:function(l){return null==kl?void 0:kl(i.key,l)},table:{rows:c.withRowIds(u),columns:p,loading:nl,loadingMore:null==d?void 0:d.loading,hasMore:null==d?void 0:d.hasMore,onLoadMore:d?function(){return null==Dl?void 0:Dl(i.key)}:void 0,tableProps:null==v?void 0:v.tableProps}},i.key)})}))})):null,Rl={graphBuilder:El,kpiCards:Ml,tableBuilder:Tl},Vl=p.resolveSectionOrder(jl,Fl,null===(G=null==il?void 0:il.data)||void 0===G?void 0:G.sectionOrder,Object.keys(Rl)),Kl=p.isSectionHidden(Fl,"dateFilters"),Hl=p.isSectionHidden(Fl,"sidebarFilters");return e.jsx(e.Fragment,{children:e.jsxs("div",l.__assign({style:{display:"flex",flexDirection:"column",gap:12,width:"100%"}},{children:[!Kl&&e.jsx("div",l.__assign({style:{padding:"4px"}},{children:e.jsx(n.default,{filterCount:Ol,initialStartDate:tl,initialEndDate:dl,onDateChange:al,onRefresh:rl,onFilterClick:cl,presets:Pl,datePickerProps:{from:{minDate:new Date(2025,0,1),maxDate:new Date},to:{minDate:tl,maxDate:new Date}},defaultPresets:null===(z=null==il?void 0:il.data)||void 0===z?void 0:z.dateFilters.defaultPreset,showLiveButton:"yes"===(null===(N=null===(W=null==il?void 0:il.data)||void 0===W?void 0:W.dateFilters)||void 0===N?void 0:N.showLiveButton),showFilterButton:!Hl&&"yes"===(null===(J=null===(Z=null==il?void 0:il.data)||void 0===Z?void 0:Z.dateFilters)||void 0===J?void 0:J.showFilterButton),showFilterCount:!Hl&&"yes"===(null===(U=null===(Q=null==il?void 0:il.data)||void 0===Q?void 0:Q.dateFilters)||void 0===U?void 0:U.showFilterCount),liveDuration:null===(Y=null===(X=null==il?void 0:il.data)||void 0===X?void 0:X.dateFilters)||void 0===Y?void 0:Y.liveDurationMs,pollingEnabled:Sl,selectedPreset:Bl,handlePresetChange:ql})})),Vl.map(function(l){return e.jsx(f.default.Fragment,{children:Rl[l]},l)}),!Hl&&e.jsx(d.default,{visible:vl,onHide:pl,onReset:bl,onApply:fl,fields:null!==(el=null===(ll=null===($=null==il?void 0:il.data)||void 0===$?void 0:$.sidebarFilters)||void 0===ll?void 0:ll.map(function(l){var e,i,o,n,t=l.schemaFilterName,d="Single select"===l.type?"singleSelect":"Multi select"===l.type?"multiSelect":"Date Range"===l.type?"dateRange":"Date"===l.type?"date":"text",a=null!==(i=null===(e=l.options)||void 0===e?void 0:e.map(function(l){return{label:l,value:l}}))&&void 0!==i?i:[];return{id:t,label:l.label,hint:l.description,type:d,placeholder:l.placeholder,options:a,value:"multiSelect"===d?null!==(o=gl[t])&&void 0!==o?o:[]:null!==(n=gl[t])&&void 0!==n?n:"",onChange:function(l){return hl(t,l)}}}))&&void 0!==el?el:[]})]}))})}exports.ExecutiveDashboard=m,exports.default=m;
|
|
2
|
+
//# sourceMappingURL=ExecutiveDashboard.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExecutiveDashboard.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),a=require("react/jsx-runtime"),r=require("lucide-react");exports.default=function(c){var i=c.value,n=c.placeholder,t=c.disabled,s=c.onChange,l=c.className,u=c.searchIcon,o=void 0!==u&&u;return a.jsxs("div",e.__assign({className:"cti-wrapper"},{children:[o&&a.jsx(r.Search,{size:15,className:"cti-search-icon"}),a.jsx("input",{className:"\n cti-input\n ".concat(o?"cti-input--with-icon":"","\n ").concat(null!=l?l:"","\n "),value:null!=i?i:"",disabled:t,placeholder:n,onChange:function(e){return s(e.target.value)}})]}))};
|
|
2
|
+
//# sourceMappingURL=CustomTextInput.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),l=require("react/jsx-runtime"),i=require("primereact/sidebar"),s=require("primereact/button");require("primereact/resources/themes/lara-light-indigo/theme.css"),require("primereact/resources/primereact.min.css"),require("primeicons/primeicons.css");var n=require("../DatePickers/DateRangeSelector.js"),a=require("../DropDowns/CustomMultiSelect.js"),t=require("../DatePickers/DateSelector.js"),o=require("./CustomTextInput.js"),r=require("../DropDowns/CustomSingleSelect.js");exports.default=function(d){var u=d.visible,c=d.onHide,v=d.fields,g=void 0===v?[]:v,p=d.onReset,h=d.onApply,m=d.title;return l.jsxs(i.Sidebar,e.__assign({visible:u,position:"right",onHide:c,dismissable:!1,showCloseIcon:!0,modal:!0,className:"log-filterSidebar",header:l.jsx("div",e.__assign({className:"log-filterTitle"},{children:null!=m?m:"Filter By"}))},{children:[l.jsx("div",e.__assign({className:"log-filterBody"},{children:null==g?void 0:g.map(function(i){var s,d,u;return l.jsxs("div",e.__assign({className:"log-filterBlock"},{children:[l.jsx("div",e.__assign({className:"log-filterLabel"},{children:i.label})),i.hint&&l.jsx("div",e.__assign({className:"log-filterHint"},{children:i.hint})),l.jsx("div",e.__assign({style:{marginTop:"12px"}},{children:(null==i?void 0:i.loading)?l.jsx("div",e.__assign({className:"log-filterEmpty"},{children:"Loading..."})):l.jsxs(l.Fragment,{children:["text"===i.type&&l.jsx(o.default,{value:null==i?void 0:i.value,placeholder:(null==i?void 0:i.placeholder)||"Enter the value..",disabled:null==i?void 0:i.disabled,onChange:null==i?void 0:i.onChange}),"singleSelect"===i.type&&l.jsx(r.default,{value:null==i?void 0:i.value,options:null!==(s=null==i?void 0:i.options)&&void 0!==s?s:[],placeholder:null==i?void 0:i.placeholder,disabled:null==i?void 0:i.disabled,onChange:null==i?void 0:i.onChange}),"multiSelect"===i.type&&l.jsx(a.default,{options:null!==(d=null==i?void 0:i.options)&&void 0!==d?d:[],value:null!==(u=null==i?void 0:i.value)&&void 0!==u?u:[],onChange:null==i?void 0:i.onChange,selectAllLabel:null==i?void 0:i.selectAllLabel}),"date"===i.type&&l.jsx(t.default,{value:null==i?void 0:i.value,onChange:null==i?void 0:i.onChange,styles:{root:{padding:0},trigger:{height:"40px"}}}),"dateRange"===i.type&&l.jsx(n.default,{value:null==i?void 0:i.value,onChange:null==i?void 0:i.onChange,endIcon:!0})]})}))]}),i.id)})})),l.jsxs("div",e.__assign({className:"log-filterFooter"},{children:[l.jsx(s.Button,{label:"Reset Filter",className:"p-button-outlined log-btnReset",onClick:p}),l.jsx(s.Button,{label:"Apply Filter",className:"log-btnApply",onClick:h})]}))]}))};
|
|
2
|
+
//# sourceMappingURL=FiltersSidebar.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),n=require("react/jsx-runtime"),l=require("react"),i=require("./LineChart.js"),s=require("./GraphSkeleton.js"),r=require("./PlotBySelector.js"),a=require("./types.js");function o(e){var i,s,a,o=e.config,t=void 0!==o.value,d=l.useState(null!==(i=o.defaultValue)&&void 0!==i?i:null===(a=null===(s=o.options)||void 0===s?void 0:s[0])||void 0===a?void 0:a.value),c=d[0],u=d[1],h=t?o.value:c;return n.jsx(r.default,{config:o,value:h,onChange:function(e){var n;t||u(e),null===(n=o.onChange)||void 0===n||n.call(o,e)}})}function t(l){var s,r=l.pane,a=l.xAxis,o=l.sharedStyle,t=l.isLast,d=l.hiddenKeys,c=l.toggleSeries,u=l.syncId,h=l.reference,_=l.scrollable,g=void 0!==_&&_,v=l.onPointClick,f=t?a:e.__assign(e.__assign({},a),{show:!1,label:void 0});return n.jsxs("div",e.__assign({className:"ellm-graph__pane"},{children:[r.title&&n.jsx("div",e.__assign({className:"ellm-graph__pane-title"},{children:r.title})),n.jsx(i.default,{series:r.series,hiddenKeys:d,onToggleSeries:c,xAxis:f,yAxis:r.yAxis,tooltip:r.tooltip,legend:{show:!1},syncId:u,style:e.__assign(e.__assign({},o),{chartHeight:null!==(s=r.height)&&void 0!==s?s:null==o?void 0:o.chartHeight}),reference:h,scrollable:g,onPointClick:v})]}))}exports.default=function(r){var d,c,u=r.series,h=r.panes,_=r.title,g=r.description,v=r.icon,f=r.plotBy,m=r.xAxis,p=r.yAxis,x=r.tooltip,y=r.legend,j=r.config,k=r.style,N=r.emptyState,b=r.loading,A=r.scrollable,S=void 0!==A&&A,w=r.onPointClick,C=!!(null==h?void 0:h.length),q=l.useId(),P=l.useState(function(){var e=new Set;return(null!=u?u:[]).forEach(function(n){return n.hidden&&e.add(n.key)}),(null!=h?h:[]).forEach(function(n){return n.series.forEach(function(n){return n.hidden&&e.add(n.key)})}),e}),I=P[0],E=P[1],L=function(e){return E(function(n){var l=new Set(n);return l.has(e)?l.delete(e):l.add(e),l})},M=!1!==(null==j?void 0:j.showHeader),H=l.useMemo(function(){return C?h.some(function(e){return e.series.some(function(e){var n,l;return null===(l=null===(n=null==e?void 0:e.data)||void 0===n?void 0:n.some)||void 0===l?void 0:l.call(n,function(e){return null!=(null==e?void 0:e.y)})})}):(null!=u?u:[]).some(function(e){return e.data.some(function(e){return null!=e.y})})},[C,h,u]),K=l.useMemo(function(){var n;if(!C)return k;var l=null!==(n=null==k?void 0:k.yAxisWidth)&&void 0!==n?n:h.some(function(e){var n;return null===(n=e.yAxis)||void 0===n?void 0:n.label})?64:48;return e.__assign(e.__assign({},k),{yAxisWidth:l})},[C,h,k]),W=l.useMemo(function(){if(!C)return[];var e=[];return h.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:a.colorForIndex(null==K?void 0:K.colors,l)})})}),e},[C,h,null==K?void 0:K.colors]),B=C&&W.length>0,F=e.__spreadArray(e.__spreadArray([],f?[f]:[],!0),C?h.flatMap(function(e){return e.selector?[e.selector]:[]}):[],!0),G=_||g||v||F.length>0;return n.jsxs("div",e.__assign({className:"ellm-graph".concat((null==k?void 0:k.className)?" ".concat(k.className):""),style:null==k?void 0:k.container},{children:[M&&G&&n.jsxs("div",e.__assign({className:"ellm-graph__header"},{children:[n.jsxs("div",e.__assign({className:"ellm-graph__heading"},{children:[v&&n.jsx("span",e.__assign({className:"ellm-graph__icon"},{children:v})),n.jsxs("div",{children:[_&&n.jsx("div",e.__assign({className:"ellm-graph__title"},{children:_})),g&&n.jsx("div",e.__assign({className:"ellm-graph__description"},{children:g}))]})]})),F.length>0&&n.jsx("div",e.__assign({className:"ellm-graph__controls"},{children:F.map(function(e,l){return n.jsx(o,{config:e},l)})}))]})),b?n.jsx(s.default,{height:null==k?void 0:k.chartHeight}):!H&&N?n.jsx("div",e.__assign({className:"ellm-graph__empty"},{children:N})):C?n.jsxs(n.Fragment,{children:[n.jsx("div",e.__assign({className:"ellm-graph__panes",style:{gap:null!==(d=null==k?void 0:k.paneGap)&&void 0!==d?d:12}},{children:h.map(function(e,l){var i;return n.jsx(t,{pane:e,xAxis:m,sharedStyle:K,isLast:l===h.length-1,hiddenKeys:I,toggleSeries:L,syncId:q,reference:e.reference,scrollable:S,onPointClick:w},null!==(i=e.key)&&void 0!==i?i:"pane-".concat(l))})})),B&&n.jsx("div",e.__assign({className:"ellm-graph__legend"},{children:W.map(function(l){var i=I.has(l.key);return n.jsxs("button",e.__assign({type:"button",className:"ellm-graph__legend-item".concat(i?" ellm-graph__legend-item--off":""),onClick:function(){return L(l.key)}},{children:[n.jsxs("svg",e.__assign({className:"ellm-graph__legend-marker",width:"28",height:"12",viewBox:"0 0 28 12","aria-hidden":"true"},{children:[n.jsx("line",{x1:"1",y1:"6",x2:"27",y2:"6",stroke:l.color,strokeWidth:"2.5",strokeLinecap:"round"}),n.jsx("circle",{cx:"14",cy:"6",r:"4",fill:"#fff",stroke:l.color,strokeWidth:"2.5"})]})),l.label]}),l.key)})}))]}):n.jsx(i.default,{series:null!=u?u:[],hiddenKeys:I,onToggleSeries:L,xAxis:m,yAxis:p,tooltip:x,legend:y,style:k,reference:null===(c=null==h?void 0:h[0])||void 0===c?void 0:c.reference,scrollable:S,onPointClick:w})]}))};
|
|
2
|
+
//# sourceMappingURL=Graph.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),s=require("react/jsx-runtime"),r=require("lucide-react");exports.default=function(a){var i=a.title,t=void 0===i?"No data to display":i,l=a.description,d=void 0===l?"There's no data for the selected date range and filters. Try adjusting your filters or picking a different range.":l;return s.jsxs("div",e.__assign({className:"ellm-graph__empty-default"},{children:[s.jsx("span",e.__assign({className:"ellm-graph__empty-icon"},{children:s.jsx(r.LineChart,{size:22})})),s.jsx("div",e.__assign({className:"ellm-graph__empty-title"},{children:t})),s.jsx("div",e.__assign({className:"ellm-graph__empty-desc"},{children:d}))]}))};
|
|
2
|
+
//# sourceMappingURL=GraphEmptyState.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GraphEmptyState.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),s=require("react/jsx-runtime"),l=require("react");exports.default=function(a){var r=a.height,i=void 0===r?300:r,n=l.useId();return s.jsxs("div",e.__assign({className:"ellm-graph__skeleton","aria-busy":"true","aria-live":"polite",style:{height:i}},{children:[s.jsx("div",e.__assign({className:"ellm-graph__skeleton-yaxis"},{children:[0,1,2,3,4].map(function(e){return s.jsx("span",{className:"ellm-graph__skeleton-tick ellm-graph__shimmer"},e)})})),s.jsxs("div",e.__assign({className:"ellm-graph__skeleton-plot"},{children:[s.jsx("div",e.__assign({className:"ellm-graph__skeleton-grid"},{children:[0,1,2,3,4].map(function(e){return s.jsx("span",{className:"ellm-graph__skeleton-gridline"},e)})})),s.jsxs("svg",e.__assign({className:"ellm-graph__skeleton-svg",viewBox:"0 0 400 120",preserveAspectRatio:"none"},{children:[s.jsx("defs",{children:s.jsxs("linearGradient",e.__assign({id:n,x1:"0",y1:"0",x2:"0",y2:"1"},{children:[s.jsx("stop",{offset:"0%",className:"ellm-graph__skeleton-area-top"}),s.jsx("stop",{offset:"100%",className:"ellm-graph__skeleton-area-bottom"})]}))}),s.jsx("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,")")}),s.jsx("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"})]})),s.jsx("div",e.__assign({className:"ellm-graph__skeleton-xaxis"},{children:[0,1,2,3,4,5].map(function(e){return s.jsx("span",{className:"ellm-graph__skeleton-tick ellm-graph__shimmer"},e)})}))]}))]}))};
|
|
2
|
+
//# sourceMappingURL=GraphSkeleton.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GraphSkeleton.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),n=require("react/jsx-runtime"),i=require("react"),l=require("recharts"),r=require("../ui/chart.js"),o=require("./types.js"),t=require("../../utils/index.js"),a=require("./Seperator.js"),u=function(e){return"number"==typeof e&&!Number.isNaN(e)},s=function(e){switch(e){case"linear":return"linear";case"step":return"stepAfter";default:return"monotone"}};exports.default=function(d){var c,v,f,h,y,x,g,p,m,k=d.series,b=d.hiddenKeys,_=d.onToggleSeries,j=d.xAxis,C=d.yAxis,A=d.tooltip,w=d.legend,L=d.style,T=d.syncId,M=d.reference;d.scrollable;var S=d.onPointClick,F=null!==(c=null==L?void 0:L.chartHeight)&&void 0!==c?c:300,N=null!==(v=null==L?void 0:L.gridColor)&&void 0!==v?v:"#eef0f4",E=null!==(f=null==L?void 0:L.axisColor)&&void 0!==f?f:"#d7dbe3",I=null!==(h=null==L?void 0:L.axisLabelColor)&&void 0!==h?h:"#6b7280",K=null!==(y=null==L?void 0:L.tickColor)&&void 0!==y?y:"#9ca3af",P=null!==(x=null==L?void 0:L.fontFamily)&&void 0!==x?x:"Inter, system-ui, -apple-system, sans-serif",R=i.useState(null),q=R[0],W=R[1],D=i.useMemo(function(){var n,i,l;if(null===(n=null==j?void 0:j.categories)||void 0===n?void 0:n.length)return{categories:j.categories,xType:null!==(i=j.type)&&void 0!==i?i:"category"};var r=new Set,o=[];k.forEach(function(e){return e.data.forEach(function(e){r.has(e.x)||(r.add(e.x),o.push(e.x))})});var t=o.every(u),a=null!==(l=null==j?void 0:j.type)&&void 0!==l?l:t?"number":"category";return{categories:"number"===a?e.__spreadArray([],o,!0).sort(function(e,n){return Number(e)-Number(n)}):o,xType:a}},[k,null==j?void 0:j.categories,null==j?void 0:j.type]),z=D.categories,O=D.xType,B=i.useMemo(function(){var e=new Map;return k.forEach(function(n){var i=new Map;n.data.forEach(function(e){return i.set(e.x,e.y)}),e.set(n.key,i)}),z.map(function(n){var i={x:n};return k.forEach(function(l){var r,o=null===(r=e.get(l.key))||void 0===r?void 0:r.get(n);i[l.key]=null==o?null:o}),i})},[k,z]),G=i.useMemo(function(){var e={},n=k.map(function(n,i){var l,r=null!==(l=n.color)&&void 0!==l?l:o.colorForIndex(null==L?void 0:L.colors,i);return e[n.key]={label:n.label,color:r},{series:n,color:r,index:i}});return{chartConfig:e,resolved:n}},[k,null==L?void 0:L.colors]),H=G.chartConfig,V=G.resolved,X=i.useMemo(function(){var e={};return k.forEach(function(n){n.valueFormatter&&(e[n.key]=function(e,i){var l;return n.valueFormatter(e,null!==(l=null==i?void 0:i.payload)&&void 0!==l?l:{x:null==i?void 0:i.x,y:e})})}),e},[k]),Y=!1!==(null==A?void 0:A.enabled),Z=(null==A?void 0:A.seriesKeys)?new Set(A.seriesKeys):null,J=!1!==(null==w?void 0:w.show),Q="top"===(null==w?void 0:w.position)?"top":"bottom",U="start"===(null==w?void 0:w.align)?"left":"end"===(null==w?void 0:w.align)?"right":"center",$=!1!==(null==j?void 0:j.show),ee=!1!==(null==C?void 0:C.show),ne=!1!==(null==L?void 0:L.showGrid),ie=!!(null==L?void 0:L.showVerticalGrid),le=i.useMemo(function(){return Math.max.apply(Math,B.flatMap(function(e){return k.map(function(n){return Number(e[n.key])||0})}))},[B]),re=i.useMemo(function(){return Math.ceil(1.1*le)},[le]),oe=[null!=(null==C?void 0:C.min)?C.min:!1!==(null==C?void 0:C.beginAtZero)?0:"auto",null!=(null==C?void 0:C.max)?C.max:re],te=null!==(g=null==L?void 0:L.yAxisWidth)&&void 0!==g?g:(null==C?void 0:C.label)?64:48,ae={top:12,right:16,bottom:8,left:null!=(null==L?void 0:L.yAxisWidth)?0:(null==C?void 0:C.label)?16:0},ue=null!==(p=null==j?void 0:j.enableScroll)&&void 0!==p&&p,se=null!==(m=null==j?void 0:j.minTickGap)&&void 0!==m?m:2;return i.useMemo(function(){if(!ue||!q||z.length<=1)return"100%";var e=(z.length-1)*se+200;return e>q-te-ae.left-ae.right?"".concat(e,"px"):"100%"},[ue,q,z.length,se,te,ae]),n.jsx(r.ChartContainer,e.__assign({config:H,style:{height:F,fontFamily:P},ref:function(e){e&&null===q&&W(e.clientWidth)}},{children:function(){var i,o;return n.jsxs(l.ComposedChart,e.__assign({data:B,margin:ae,syncId:T},{children:[n.jsx(l.CartesianGrid,{vertical:ie,horizontal:ne,stroke:N}),n.jsx(l.XAxis,{dataKey:"x",type:"number"===O?"number":"category",hide:!$,height:(null==j?void 0:j.label)?52:void 0,tickLine:!1,axisLine:!(null==j?void 0:j.hideLine)&&{stroke:E},tickMargin:8,interval:"preserveStartEnd",tick:{fill:K,fontSize:11},tickFormatter:(null==j?void 0:j.formatTick)?function(e,n){return j.formatTick(e,n)}:void 0,label:(null==M?void 0:M.showReferenceAreaLabel)?function(i){return function(i){var l=i.viewBox;i.startTick,i.endTick;var r=l.x,o=l.y,t=l.width,u=1;if((null==M?void 0:M.showReferenceArea)&&null!=(null==M?void 0:M.referencePoint)&&z.length>1){var s=z.indexOf(M.referencePoint);-1!==s&&(u=s/(z.length-1))}var d=100*u,c=100-d;return n.jsx("foreignObject",e.__assign({x:r,y:o+24,width:t,height:40},{children:n.jsxs("div",e.__assign({className:"ellm-graph__liveLabelContainer"},{children:[n.jsxs("div",e.__assign({style:{flex:d,display:"flex",alignItems:"center"}},{children:[n.jsx(a.default,{}),n.jsx("span",e.__assign({style:{padding:"0 12px",color:"#6b7280",fontSize:"12px"}},{children:null==M?void 0:M.referenceAreaLabel})),n.jsx(a.default,{})]})),c>0&&n.jsxs("div",e.__assign({style:{flex:c,display:"flex",alignItems:"center"}},{children:[n.jsx(a.default,{style:{backgroundColor:"#DC2626"}}),n.jsxs("div",e.__assign({className:"ellm-graph__liveLabel"},{children:[n.jsx(a.default,{style:{width:"8px",height:"8px",borderRadius:"100%",backgroundColor:"#DC2626",flex:"auto"},pulse:!0}),"LIVE - ",null==M?void 0:M.referenceAreaLiveLabel]})),n.jsx(a.default,{style:{backgroundColor:"#DC2626"}})]}))]}))}))}(e.__assign(e.__assign({},i),{startTick:z[0],endTick:z[z.length-1]}))}:(null==j?void 0:j.label)?{value:j.label,position:"insideBottom",offset:4,fill:I,fontSize:12,fontWeight:500}:void 0}),n.jsx(l.YAxis,{hide:!ee,domain:oe,tickLine:!1,axisLine:!1===(null==C?void 0:C.hideLine)&&{stroke:E},tickCount:null==C?void 0:C.tickCount,width:te,tick:{fill:K,fontSize:11},tickFormatter:(null==C?void 0:C.formatTick)?function(e,n){return C.formatTick(e,n)}:function(e){return"number"==typeof e?t.compactNumber(e):String(e)},label:(null==C?void 0:C.label)?{value:C.label,angle:-90,position:"insideLeft",style:{textAnchor:"middle"},fill:I,fontSize:12,fontWeight:500}:void 0}),Y&&n.jsx(r.ChartTooltip,{cursor:{stroke:E,strokeDasharray:"4 4"},content:function(i){var l,o=(null!==(l=i.payload)&&void 0!==l?l:[]).filter(function(e){var n=k.find(function(n){return n.key===e.dataKey});return!1!==(null==n?void 0:n.showInTooltip)&&!(Z&&!Z.has(String(e.dataKey)))});return(null==A?void 0:A.render)?A.render({x:i.label,points:o.map(function(e){var n;return{series:k.find(function(n){return n.key===e.dataKey}),value:null!==(n=e.value)&&void 0!==n?n:null,point:{x:i.label,y:e.value},color:e.color}})}):n.jsx(r.ChartTooltipContent,e.__assign({},i,{payload:o,hideLabel:!1===(null==A?void 0:A.showHeading),valueFormatters:X,labelFormatter:(null==A?void 0:A.formatHeading)?function(e){return A.formatHeading(e)}:void 0}))}}),J&&n.jsx(r.ChartLegend,{verticalAlign:Q,content:function(i){return n.jsx(r.ChartLegendContent,e.__assign({},i,{verticalAlign:Q,align:U,hiddenKeys:b,onItemClick:!1!==(null==w?void 0:w.toggle)&&_?_:void 0}))}}),(null==M?void 0:M.showReferenceArea)&&null!=(null==M?void 0:M.referencePoint)&&n.jsx(l.ReferenceArea,{x1:M.referencePoint,fill:null!==(i=M.referenceAreaFill)&&void 0!==i?i:"#2563EB1A"}),(null==M?void 0:M.showReferenceArea)&&null!=M.referencePoint&&n.jsx(l.ReferenceLine,{x:M.referencePoint,stroke:null!==(o=M.referenceLineStroke)&&void 0!==o?o:"#3B82F6",strokeDasharray:"4 4"}),V.map(function(i){var r,o,t,a,u=i.series,d=b.has(u.key),c="var(--color-".concat(u.key,")"),v=!0===u.dashed?"6 5":"string"==typeof u.dashed?u.dashed:void 0,f=!1!==u.showPoints&&{r:null!==(r=u.pointRadius)&&void 0!==r?r:3,fill:"#fff",stroke:c,strokeWidth:2},h={r:(null!==(o=u.pointRadius)&&void 0!==o?o:3)+2,onClick:S?function(e,n){var i,l;return function(e,n,i){if(S){var l=k.find(function(n){return n.key===e});l&&S({series:l,point:{x:null==n?void 0:n.x,y:null==n?void 0:n[e]},index:i})}}(u.key,null!==(i=null==n?void 0:n.payload)&&void 0!==i?i:n,null!==(l=null==n?void 0:n.index)&&void 0!==l?l:0)}:void 0},y={key:u.key,dataKey:u.key,name:u.key,type:s(u.curve),stroke:c,strokeWidth:null!==(t=u.strokeWidth)&&void 0!==t?t:2,strokeDasharray:v,connectNulls:!1,isAnimationActive:!1,hide:d,dot:f,activeDot:h};return u.area?n.jsx(l.Area,e.__assign({},y,{fill:c,fillOpacity:null!==(a=u.areaOpacity)&&void 0!==a?a:.12})):n.jsx(l.Line,e.__assign({},y))})]}))}()}))};
|
|
2
|
+
//# sourceMappingURL=LineChart.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),n=require("react/jsx-runtime"),l=require("react"),t=require("lucide-react");exports.default=function(r){var a,o,i=r.config,s=r.value,u=r.onChange,c=i.options,p=i.label,_=void 0===p?"Plot by":p,d=i.placeholder,v=i.hideWhenSingle,h=i.triggerIcon,m=l.useState(!1),b=m[0],g=m[1],f=l.useRef(null);if(l.useEffect(function(){if(b){var e=function(e){f.current&&!f.current.contains(e.target)&&g(!1)};return document.addEventListener("mousedown",e),function(){return document.removeEventListener("mousedown",e)}}},[b]),!(null==c?void 0:c.length))return null;if(c.length<=1&&!1!==v)return null;var x=c.find(function(e){return e.value===s}),y=null!==(o=null!==(a=null==x?void 0:x.label)&&void 0!==a?a:d)&&void 0!==o?o:"Select";return n.jsxs("div",e.__assign({className:"ellm-graph__plotby",ref:f},{children:[n.jsxs("button",e.__assign({type:"button",className:"ellm-graph__plotby-btn".concat(b?" ellm-graph__plotby-btn--open":""),onClick:function(){return g(function(e){return!e})},"aria-haspopup":"listbox","aria-expanded":b},{children:[null!==h&&(null!=h?h:n.jsx(t.ArrowUpDown,{size:16})),n.jsxs("span",e.__assign({className:"ellm-graph__plotby-text"},{children:[_?"".concat(_,": "):"",n.jsx("span",e.__assign({className:"ellm-graph__plotby-value"},{children:y}))]})),n.jsx(t.ChevronDown,{size:16,className:"ellm-graph__plotby-chevron"})]})),b&&n.jsx("div",e.__assign({className:"ellm-graph__plotby-menu",role:"listbox"},{children:c.map(function(l){return n.jsx("button",e.__assign({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(){u(l.value),g(!1)}},{children:l.label}),l.value)})}))]}))};
|
|
2
|
+
//# sourceMappingURL=PlotBySelector.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),r=require("react/jsx-runtime");exports.default=function(s){var t=s.style,u=s.pulse;return r.jsx("div",{className:" ".concat(u&&"pulse"),style:e.__assign({flex:1,height:"1px",backgroundColor:"#e5e7eb"},t)})};
|
|
2
|
+
//# sourceMappingURL=Seperator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Seperator.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),s=require("react/jsx-runtime"),a=require("react"),i=require("lucide-react");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var c=l(a);exports.default=function(a){var l,t,n,r,d,o=a.title,_=a.value,u=a.subtitle,m=a.icon,v=a.loading,x=a.valuePrefix,g=a.valueColor,p=a.delta,h=a.segments,j=a.onClick,f=a.classNames,N=h&&h.length>0,y=N?h.reduce(function(e,s){return e+s.value},0):0;return s.jsx("div",e.__assign({className:"metric-card ".concat(null!==(l=null==f?void 0:f.root)&&void 0!==l?l:""),onClick:j},{children:s.jsxs("div",e.__assign({className:"metric-card__content ".concat(N?"metric-card__content--has-segments":"")},{children:[s.jsxs("div",e.__assign({style:{display:"flex",flexDirection:"column",justifyContent:"space-between",height:"100%",gap:"4px"}},{children:[s.jsx("div",e.__assign({className:"metric-card__title"},{children:o})),s.jsxs("div",e.__assign({style:{display:"flex",alignItems:"center",gap:"12px",flexWrap:"wrap"}},{children:[s.jsx("div",e.__assign({className:"metric-card__value ".concat(null!==(t=null==f?void 0:f.value)&&void 0!==t?t:""),style:{color:null!=g?g:null==x?void 0:x.color}},{children:v?s.jsx("span",{className:"metric-card__value-skeleton"}):s.jsxs(s.Fragment,{children:[(null==x?void 0:x.icon)&&(c.default.isValidElement(x.icon)?c.default.cloneElement(x.icon,{size:20,strokeWidth:2.5}):x.icon),_]})})),!v&&p&&s.jsxs("div",e.__assign({className:"metric-card__delta",style:{color:p.color}},{children:["flat"!==p.direction&&("up"===p.direction?s.jsx(i.ArrowUp,{size:14,strokeWidth:3,"aria-hidden":!0}):s.jsx(i.ArrowDown,{size:14,strokeWidth:3,"aria-hidden":!0})),s.jsx("span",{children:p.label}),p.caption&&s.jsx("span",e.__assign({className:"metric-card__delta-caption"},{children:p.caption}))]}))]})),u&&s.jsx("div",e.__assign({className:"metric-card__subtitle ".concat(null!==(n=null==f?void 0:f.subtitle)&&void 0!==n?n:"")},{children:u}))]})),N&&s.jsxs("div",e.__assign({className:"".concat(null!==(r=null==f?void 0:f.segments)&&void 0!==r?r:""),style:{display:"flex",flexDirection:"column",flex:1,margin:0}},{children:[s.jsx("div",e.__assign({className:"metric-card__stats",style:{margin:"10px"}},{children:h.map(function(a,i){return s.jsxs("div",e.__assign({className:"metric-card__stat"},{children:[s.jsxs("div",e.__assign({className:"metric-card__stat-label"},{children:[s.jsx("span",{className:"metric-card__dot",style:{background:a.color}}),a.label]})),s.jsx("div",e.__assign({className:"metric-card__stat-value"},{children:void 0!==a.displayValue?a.displayValue:"".concat(a.value).concat(a.percentage?"%":"")})),i<h.length-1&&s.jsx("div",{className:"metric-card__divider"})]}),a.label)})})),s.jsx("div",e.__assign({className:"metric-card__progress",style:{marginTop:"4px"}},{children:h.map(function(e){return s.jsx("div",{className:"metric-card__progress-segment",style:{width:y>0?"".concat(e.value/y*100,"%"):"0%",background:e.color}},e.label)})}))]})),m&&s.jsx("div",e.__assign({className:"metric-card__icon-container ".concat(null!==(d=null==f?void 0:f.icon)&&void 0!==d?d:"")},{children:c.default.isValidElement(m)?c.default.cloneElement(m,{size:25,strokeWidth:2.5}):m}))]}))}))};
|
|
2
|
+
//# sourceMappingURL=MetricCard.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),i=require("react/jsx-runtime"),l=require("react"),n=require("primereact/datatable"),o=require("primereact/column"),r=require("primereact/columngroup"),a=require("primereact/row"),t=require("primereact/skeleton");require("primereact/resources/primereact.min.css"),require("primeicons/primeicons.css"),exports.default=function(s){var d,u,c,v,p=s.rows,m=void 0===p?[]:p,_=s.loading,f=s.loadingMore,g=s.onLoadMore,h=s.hasMore,x=s.emptyState,y=s.columns,j=s.tableProps,w=s.onRowClick,N=s.rowDetail,b=s.scrollHeight,C=void 0===b?"flex":b,k=l.useRef(null);l.useRef(null);var S="function"==typeof(null==N?void 0:N.render),q=l.useState({}),R=q[0],E=q[1],T=function(e){return!(!(null==e?void 0:e.id)||!R[e.id])},A=function(i){(null==i?void 0:i.id)&&E(function(l){var n,o;return(null==N?void 0:N.multiple)?e.__assign(e.__assign({},l),((n={})[i.id]=!0,n)):((o={})[i.id]=!0,o)})},D=function(i){(null==i?void 0:i.id)&&E(function(l){var n=e.__assign({},l);return delete n[i.id],n})},M=function(e){return T(e)?D(e):A(e)},H=null!=j?j:{},L=H.onRowClick,B=H.rowClassName,G=e.__rest(H,["onRowClick","rowClassName"]),O=e.__spreadArray(e.__spreadArray([],m,!0),f?[{id:"__loading-more",__loading:!0}]:[],!0),P=!f&&g&&!1===h&&(null!==(d=null==y?void 0:y.length)&&void 0!==d?d:0)>0?i.jsx(r.ColumnGroup,{children:i.jsx(a.Row,{children:i.jsx(o.Column,{colSpan:y.length,footer:i.jsxs("span",e.__assign({className:"audit-paginationEndContent"},{children:[i.jsx("i",{className:"pi pi-check-circle","aria-hidden":"true"}),"No more records to load"]})),footerClassName:"audit-paginationEnd"})})}):void 0;return l.useEffect(function(){var e,i=null===(e=k.current)||void 0===e?void 0:e.querySelector(".p-datatable-wrapper");if(i){var l=!1,n=function(){l||(l=!0,requestAnimationFrame(function(){var e=i.scrollTop;i.scrollHeight-e-i.clientHeight<100&&h&&!f&&(null==g||g()),l=!1}))};return i.addEventListener("scroll",n),function(){i.removeEventListener("scroll",n)}}},[m,h,f,g]),_?i.jsx("div",{children:e.__spreadArray([],Array(5),!0).map(function(l,n){return i.jsxs("div",e.__assign({className:"audit-skeletonRow"},{children:[i.jsx(t.Skeleton,{height:0===n?"55px":"25px",width:"25%"}),i.jsx(t.Skeleton,{height:0===n?"55px":"25px",width:"50%"}),i.jsx(t.Skeleton,{height:0===n?"55px":"25px",width:"25%"})]}),n)})}):m&&0!==m.length?i.jsx("div",e.__assign({className:"audit-tableWrap",ref:k},{children:i.jsx(n.DataTable,e.__assign({value:O,className:"audit-table ".concat(null!==(v=null==j?void 0:j.className)&&void 0!==v?v:""),dataKey:"id",scrollable:!0,scrollHeight:C},G,{rowClassName:function(i,l){var n="function"==typeof B?B(i,l):B,o=!S&&!w||(null==i?void 0:i.__loading)?"":"audit-row--clickable";return n&&"object"==typeof n?e.__assign(e.__assign({},n),{"audit-row--clickable":!!o}):[n,o].filter(Boolean).join(" ")},expandedRows:R,onRowToggle:function(e){return E(e.data)},rowExpansionTemplate:S?function(l){var n;return!S||(null==l?void 0:l.__loading)?null:i.jsx("div",e.__assign({className:"audit-rowDetail ".concat(null!==(n=null==N?void 0:N.className)&&void 0!==n?n:""),style:null==N?void 0:N.style},{children:N.render(l,{close:function(){return D(l)}})}))}:void 0,onRowClick:function(e){var i,l,n=null==e?void 0:e.data;if(n&&!n.__loading){var o=null===(i=null==e?void 0:e.originalEvent)||void 0===i?void 0:i.target;(null===(l=null==o?void 0:o.closest)||void 0===l?void 0:l.call(o,"button, a, input, .audit-seeMore"))||(null==w||w(n,{isExpanded:T(n),expand:function(){return A(n)},collapse:function(){return D(n)},toggle:function(){return M(n)}}),S&&!1!==(null==N?void 0:N.expandOnRowClick)&&M(n)),null==L||L(e)}},footerColumnGroup:P},{children:null==y?void 0:y.map(function(e){return i.jsx(o.Column,{header:null==e?void 0:e.header,body:function(l){return(null==l?void 0:l.__loading)?i.jsx(t.Skeleton,{height:"25px"}):null==e?void 0:e.body(l)},style:null==e?void 0:e.style,headerStyle:null==e?void 0:e.headerStyle,bodyStyle:null==e?void 0:e.bodyStyle,headerClassName:null==e?void 0:e.headerClassName,bodyClassName:null==e?void 0:e.bodyClassName},null==e?void 0:e.key)})}))})):i.jsxs("div",e.__assign({className:"audit-emptyState"},{children:[(null==x?void 0:x.icon)?x.icon:i.jsx("i",{className:"pi pi-file",style:{fontSize:"63px",marginBottom:"8px"}}),i.jsx("div",e.__assign({className:"audit-emptyTitle"},{children:null!==(u=null==x?void 0:x.title)&&void 0!==u?u:"No Data found"})),i.jsx("div",e.__assign({className:"audit-emptyDesc"},{children:null!==(c=null==x?void 0:x.description)&&void 0!==c?c:"Try adjusting your filters or search criteria."}))]}))};
|
|
2
|
+
//# sourceMappingURL=FTable.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),s=require("react/jsx-runtime"),n=require("react"),r=require("lucide-react");exports.default=function(t){var i,a,o=t.value,l=t.orderBy,c=void 0===l?"asc":l,u=t.options,d=t.placeholder,v=void 0===d?"Sort By":d,_=t.onChange,f=n.useState(!1),p=f[0],x=f[1],g=n.useRef(null);n.useEffect(function(){var e=function(e){g.current&&!g.current.contains(e.target)&&x(!1)};return document.addEventListener("mousedown",e),function(){return document.removeEventListener("mousedown",e)}},[]);var j=u.some(function(e){return e.value===o}),h=null!==(a=null===(i=u.find(function(e){return e.value===o}))||void 0===i?void 0:i.label)&&void 0!==a?a:v;return s.jsxs("div",e.__assign({className:"q-sort",ref:g},{children:[s.jsxs("button",e.__assign({className:"q-sort__trigger",onClick:function(){return x(function(e){return!e})}},{children:[s.jsxs("div",e.__assign({className:"q-sort__left"},{children:[s.jsx("div",e.__assign({onClick:function(e){j&&(e.preventDefault(),e.stopPropagation(),_(o,"asc"===c?"desc":"asc"))},className:"q-sort__order-toggle",style:{display:"flex",alignItems:"center",justifyContent:"center",cursor:j?"pointer":"default",color:j?"#6366f1":"#94A3B8",background:j?"rgba(245, 243, 255, 0.90)":"transparent",padding:"4px",borderRadius:"6px",transition:"all 0.2s ease"}},{children:"asc"===c?s.jsx(r.ArrowUp,{size:16,strokeWidth:2.5}):s.jsx(r.ArrowDown,{size:16,strokeWidth:2.5})})),s.jsxs("span",{children:["Sort by:"," ",h]})]})),s.jsx("div",e.__assign({style:{width:"35px"}},{children:s.jsx(r.ChevronDown,{size:22})}))]})),p&&s.jsx("div",e.__assign({className:"q-sort__menu"},{children:u.map(function(n){return s.jsxs("button",e.__assign({className:"q-sort__option ".concat(o===n.value?"q-sort__option--active":""),onClick:function(){o===n.value?_("","asc"):_(n.value,"asc"),x(!1)},style:{display:"flex",alignItems:"center",gap:"8px"}},{children:[o===n.value?s.jsx(r.Check,{size:14}):s.jsx("div",{style:{width:14}}),s.jsx("span",{children:n.label})]}),n.value)})}))]}))};
|
|
2
|
+
//# sourceMappingURL=SortDropdown.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),s=require("react/jsx-runtime"),l=require("react"),a=require("lucide-react"),t=require("./FTable.js"),i=require("../FiltersSidebar/CustomTextInput.js"),n=require("./SortDropdown.js");exports.default=function(r){var c=r.title,o=r.icon,d=r.showExpandButton,u=void 0===d||d,h=r.className,v=r.styles,x=r.table,_=r.searchBar,j=r.sort,p=r.onExpand,g=l.useState(!1),m=g[0],y=g[1];return s.jsxs("div",e.__assign({className:"\n tc-root\n ".concat(m?"tc-root--fullscreen":"","\n ").concat(null!=h?h:"","\n "),style:null==v?void 0:v.root},{children:[s.jsxs("div",e.__assign({className:"tc-header",style:null==v?void 0:v.header},{children:[s.jsxs("div",e.__assign({className:"tc-header-left"},{children:[o&&s.jsx("div",e.__assign({className:"tc-title-icon",style:e.__assign({width:"20px",height:"20px"},null==v?void 0:v.icon)},{children:o})),s.jsx("div",e.__assign({className:"tc-title",style:null==v?void 0:v.title},{children:c}))]})),s.jsxs("div",e.__assign({className:"tc-header-right"},{children:[_&&s.jsx(i.default,{value:null==_?void 0:_.value,placeholder:null==_?void 0:_.placeholder,onChange:null==_?void 0:_.onChange,searchIcon:!0,className:"tc-search"}),j&&s.jsx(n.default,{value:j.value,orderBy:j.orderBy,options:j.options,placeholder:null==j?void 0:j.placeholder,onChange:j.onChange}),u&&s.jsx("button",e.__assign({className:"tc-expand-btn",onClick:function(){var e=!m;y(e),null==p||p(e)}},{children:m?s.jsx(a.Minimize,{size:20}):s.jsx(a.Maximize,{size:20})}))]}))]})),s.jsx("div",e.__assign({className:"tc-table"},{children:s.jsx(t.default,e.__assign({},x,{emptyState:null==x?void 0:x.emptyState,scrollHeight:m?"calc(100vh - 140px)":null==x?void 0:x.scrollHeight}))}))]}))};
|
|
2
|
+
//# sourceMappingURL=TableCard.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../../_virtual/_tslib.js"),l=require("react/jsx-runtime"),n=require("react"),t=require("./TableLayoutToggle.js"),s=require("./useResponsiveColumns.js"),o=require("./spans.js");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=a(n);exports.default=function(a){var r,u=a.children,d=a.itemSpans,c=a.totalColumns,m=void 0===c?12:c,g=a.defaultSpan,v=a.options,p=void 0===v?[1,2,3]:v,f=a.defaultColumns,_=a.columns,h=a.onColumnsChange,j=a.showToggle,x=void 0===j||j,y=a.toggleLabel,C=a.toolbarLeft,b=a.minColumnWidth,q=void 0===b?380:b,N=a.gap,S=void 0===N?12:N,T=a.equalHeights,A=void 0===T||T,F=a.className,L=a.style,w=!!(null==d?void 0:d.some(function(e){return null!=e})),M=n.useState(function(){var e;return null!==(e=null!=_?_:f)&&void 0!==e?e:w?"custom":1}),R=M[0],k=M[1],B=null!=_?_:R,H="custom"===B&&w,O=s.useResponsiveColumns("number"==typeof B?B:1,q,S),P=O[0],W=O[1],z=W.columns,D=W.maxFitting,E=i.default.Children.toArray(u).filter(Boolean),G=o.minSpanFor(m,D),I=null!==(r=o.resolveSpan(g,m))&&void 0!==r?r:m,J=w?e.__spreadArray(e.__spreadArray([],p,!0),["custom"],!1):p;return l.jsxs("div",e.__assign({ref:P,className:"tg-root ".concat(null!=F?F:""),style:L},{children:[x&&(C||J.length>1)&&l.jsxs("div",e.__assign({className:"tg-toolbar-row"},{children:[l.jsx("div",e.__assign({className:"tg-toolbar-left"},{children:C})),J.length>1&&l.jsx(t.default,{value:B,options:J,onChange:function(e){null==_&&k(e),null==h||h(e)},maxFitting:D,label:y})]})),l.jsx("div",e.__assign({className:"tg-grid ".concat(A?"":"tg-grid--auto-height"),style:{gridTemplateColumns:"repeat(".concat(H?m:z,", minmax(0, 1fr))"),gap:S}},{children:E.map(function(n,t){var s,a,i=H?Math.max(G,null!==(s=o.resolveSpan(null==d?void 0:d[t],m))&&void 0!==s?s:I):null;return l.jsx("div",e.__assign({className:"tg-cell",style:i?{gridColumn:"span ".concat(i)}:void 0},{children:n}),null!==(a=null==n?void 0:n.key)&&void 0!==a?a:t)})}))]}))};
|
|
2
|
+
//# sourceMappingURL=TableGrid.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TableGrid.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("../../../../_virtual/_tslib.js"),e=require("react/jsx-runtime"),n=require("lucide-react"),s={1:e.jsx(n.RectangleHorizontal,{size:16}),2:e.jsx(n.Columns2,{size:16}),3:e.jsx(n.Columns3,{size:16}),4:e.jsx(n.Columns4,{size:16})},l=function(t){var l;return"custom"===t?e.jsx(n.LayoutPanelTop,{size:16}):null!==(l=s[t])&&void 0!==l?l:e.jsx(n.Columns4,{size:16})},a=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)};exports.default=function(n){var s=n.value,o=n.options,r=n.onChange,i=n.maxFitting,u=n.label,c=n.className,g=n.style;return o.length?e.jsxs("div",t.__assign({className:"tg-toolbar ".concat(null!=c?c:""),style:g},{children:[u&&e.jsx("span",t.__assign({className:"tg-toolbar-label"},{children:u})),e.jsx("div",t.__assign({className:"tg-toggle",role:"group","aria-label":"Table grid layout"},{children:o.map(function(n){var o=n===s,u="custom"===n||null==i||n<=i;return e.jsx("button",t.__assign({type:"button",className:"tg-toggle-btn ".concat(o?"tg-toggle-btn--active":""," ").concat(u?"":"tg-toggle-btn--cramped"),"aria-pressed":o,title:a(n,i),onClick:function(){return r(n)}},{children:l(n)}),String(n))})}))]})):null};
|
|
2
|
+
//# sourceMappingURL=TableLayoutToggle.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TableLayoutToggle.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var r=/^(\d+)\s*\/\s*(\d+)$/;exports.minSpanFor=function(r,t){return Math.ceil(r/Math.max(1,t))},exports.resolveSpan=function(t,e){if(null==t)return null;if("number"==typeof t)return!Number.isFinite(t)||t<=0?null:Math.min(e,Math.max(1,Math.round(t)));var n=t.trim().toLowerCase();if("full"===n||"1"===n)return e;if("half"===n)return Math.round(e/2);if("third"===n)return Math.round(e/3);if("quarter"===n)return Math.round(e/4);var u=r.exec(n);if(u){var a=u[1],i=u[2],o=Number(a)/Number(i);return!Number.isFinite(o)||o<=0?null:Math.min(e,Math.max(1,Math.round(e*o)))}var l=Number(n);return Number.isFinite(l)&&l>0?Math.min(e,Math.max(1,Math.round(l))):null};
|
|
2
|
+
//# sourceMappingURL=spans.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spans.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),n="undefined"!=typeof window?e.useLayoutEffect:e.useEffect;function r(r,t,u){var i=e.useRef(null),c=e.useState(null),l=c[0],a=c[1],o=e.useRef(null),s=e.useRef(null);n(function(){var e=i.current;if(e){var n=function(){var n=e.getBoundingClientRect().width;null!=o.current&&Math.abs(n-o.current)<1||(o.current=n,a(n))},r=function(){null==s.current&&(s.current=requestAnimationFrame(function(){s.current=null,i.current&&n()}))};if(n(),"undefined"==typeof ResizeObserver)return window.addEventListener("resize",r),function(){window.removeEventListener("resize",r),null!=s.current&&cancelAnimationFrame(s.current),s.current=null};var t=new ResizeObserver(r);return t.observe(e),function(){t.disconnect(),null!=s.current&&cancelAnimationFrame(s.current),s.current=null}}},[]);var f=null==l?r:Math.max(1,Math.floor((l+u)/(t+u)));return[i,{columns:Math.max(1,Math.min(r,f)),maxFitting:f,width:l}]}exports.default=r,exports.useResponsiveColumns=r;
|
|
2
|
+
//# sourceMappingURL=useResponsiveColumns.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useResponsiveColumns.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),l=require("react/jsx-runtime"),t=require("react"),n=require("recharts"),a=require("./utils.js");function r(e){if(e&&e.__esModule)return e;var l=Object.create(null);return e&&Object.keys(e).forEach(function(t){if("default"!==t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(l,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}}),l.default=e,Object.freeze(l)}var i=r(t),o=r(n),c=i.createContext(null);function s(){var e=i.useContext(c);if(!e)throw new Error("useChart must be used within a <ChartContainer />");return e}var d=i.forwardRef(function(t,n){var r=t.id,s=t.className,d=t.children,v=t.config,_=t.scrollable,h=void 0!==_&&_,m=e.__rest(t,["id","className","children","config","scrollable"]),f=i.useId(),g="chart-".concat((r||f).replace(/:/g,""));return l.jsx(c.Provider,e.__assign({value:{config:v}},{children:l.jsx("div",e.__assign({className:"".concat(h&&"chart-scroll")},{children:l.jsxs("div",e.__assign({"data-chart":g,ref:n,className:a.cn("ellm-chart ".concat(h&&"chart-inner"),s)},m,{children:[l.jsx(u,{id:g,config:v}),l.jsx(o.ResponsiveContainer,e.__assign({},h?{width:2600}:{},{children:d}))]}))}))}))});d.displayName="ChartContainer";var u=function(e){var t=e.id,n=e.config,a=Object.entries(n).filter(function(e){return e[1].color});if(!a.length)return null;var r=a.map(function(e){var l=e[0],t=e[1];return" --color-".concat(l,": ").concat(t.color,";")}).join("\n");return l.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-chart=".concat(t,"] {\n").concat(r,"\n}")}})},v=o.Tooltip,_=i.forwardRef(function(t,n){var r=t.active,o=t.payload,c=t.className,d=t.indicator,u=void 0===d?"dot":d,v=t.hideLabel,_=t.hideIndicator,h=t.label,m=t.labelFormatter,g=t.formatter,p=t.valueFormatters,y=t.color,x=t.nameKey,j=t.labelKey,b=s().config,C=i.useMemo(function(){var t,n;if(v||!(null==o?void 0:o.length))return null;var a=o[0],r="".concat(j||(null==a?void 0:a.dataKey)||(null==a?void 0:a.name)||"value"),i=f(b,a,r),c=j||"string"!=typeof h?null==i?void 0:i.label:null!==(n=null===(t=b[h])||void 0===t?void 0:t.label)&&void 0!==n?n:h;return m?l.jsx("div",e.__assign({className:"ellm-chart__tooltip-label"},{children:m(c,o)})):null==c?null:l.jsx("div",e.__assign({className:"ellm-chart__tooltip-label"},{children:c}))},[h,m,o,v,b,j]);if(!r||!(null==o?void 0:o.length))return null;var N=1===o.length&&"dot"!==u;return l.jsxs("div",e.__assign({ref:n,className:a.cn("ellm-chart__tooltip",c)},{children:[N?null:C,l.jsx("div",e.__assign({className:"ellm-chart__tooltip-items"},{children:o.map(function(t,n){var r,i,o,c,s="".concat(x||t.name||t.dataKey||"value"),d=f(b,t,s),v=y||(null===(r=t.payload)||void 0===r?void 0:r.fill)||t.color;return l.jsx("div",e.__assign({className:"ellm-chart__tooltip-item"},{children:g&&void 0!==(null==t?void 0:t.value)&&t.name?g(t.value,t.name,t,n,t.payload):l.jsxs(l.Fragment,{children:[(null==d?void 0:d.icon)?l.jsx(d.icon,{}):!_&&l.jsx("span",{className:a.cn("ellm-chart__indicator","ellm-chart__indicator--".concat(u)),style:{"--indicator-color":v}}),l.jsxs("div",e.__assign({className:a.cn("ellm-chart__tooltip-row",N&&"ellm-chart__tooltip-row--nested")},{children:[l.jsxs("div",e.__assign({className:"ellm-chart__tooltip-grid"},{children:[N?C:null,l.jsx("span",e.__assign({className:"ellm-chart__tooltip-name"},{children:null!==(i=null==d?void 0:d.label)&&void 0!==i?i:t.name}))]})),void 0!==t.value&&l.jsx("span",e.__assign({className:"ellm-chart__tooltip-value"},{children:(null==p?void 0:p[String(null!==(o=t.dataKey)&&void 0!==o?o:"")])?p[String(t.dataKey)](t.value,t):"number"==typeof t.value?t.value.toLocaleString():t.value}))]}))]})}),String(null!==(c=t.dataKey)&&void 0!==c?c:n))})}))]}))});_.displayName="ChartTooltipContent";var h=o.Legend,m=i.forwardRef(function(t,n){var r=t.className,i=t.hideIcon,o=t.payload,c=t.verticalAlign,d=void 0===c?"bottom":c,u=t.align,v=void 0===u?"center":u,_=t.nameKey,h=t.onItemClick,m=t.hiddenKeys,g=s().config;return(null==o?void 0:o.length)?l.jsx("div",e.__assign({ref:n,className:a.cn("ellm-chart__legend","top"===d?"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:o.map(function(t,n){var r,o,c="".concat(_||t.dataKey||"value"),s=f(g,t,c),d=null==m?void 0:m.has(c);return l.jsxs("button",e.__assign({type:"button",className:a.cn("ellm-chart__legend-item",d&&"ellm-chart__legend-item--off"),onClick:h?function(){return h(c)}:void 0,disabled:!h,style:{cursor:h?"pointer":"default"}},{children:[(null==s?void 0:s.icon)&&!i?l.jsx(s.icon,{}):l.jsxs("svg",e.__assign({className:"ellm-chart__legend-marker",width:"28",height:"12",viewBox:"0 0 28 12","aria-hidden":"true"},{children:[l.jsx("line",{x1:"1",y1:"6",x2:"27",y2:"6",stroke:t.color,strokeWidth:"2.5",strokeLinecap:"round"}),l.jsx("circle",{cx:"14",cy:"6",r:"4",fill:"#fff",stroke:t.color,strokeWidth:"2.5"})]})),null!==(r=null==s?void 0:s.label)&&void 0!==r?r:t.value]}),String(null!==(o=t.value)&&void 0!==o?o:n))})})):null});function f(e,l,t){if("object"==typeof l&&null!==l){var n="payload"in l&&"object"==typeof l.payload&&null!==l.payload?l.payload:void 0,a=t;return t in l&&"string"==typeof l[t]?a=l[t]:n&&t in n&&"string"==typeof n[t]&&(a=n[t]),a in e?e[a]:e[t]}}m.displayName="ChartLegendContent",exports.ChartContainer=d,exports.ChartLegend=h,exports.ChartLegendContent=m,exports.ChartTooltip=v,exports.ChartTooltipContent=_,exports.useChart=s;
|
|
2
|
+
//# sourceMappingURL=chart.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react");exports.useVisibilityPolling=function(t,i,n,u){void 0===t&&(t=!1);var r=e.useRef(null),c=function(){r.current=window.setInterval(n,i)},o=function(){null!==r.current&&(clearTimeout(r.current),r.current=null)},l=function(){"hidden"===document.visibilityState?o():"visible"===document.visibilityState&&t&&c()};e.useEffect(function(){return t&&c(),document.addEventListener("visibilitychange",l),function(){document.removeEventListener("visibilitychange",l),o()}},u)};
|
|
2
|
+
//# sourceMappingURL=useVisibilityPolling.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useVisibilityPolling.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=[{value:1e12,suffix:"T"},{value:1e9,suffix:"B"},{value:1e6,suffix:"M"},{value:1e3,suffix:"K"}];function r(e,r){return e.toFixed(r).replace(/\.0+$/,"").replace(/(\.\d*[1-9])0+$/,"$1")}function t(t){if(!Number.isFinite(t))return"";for(var i=Math.abs(t),n=0;n<e.length;n++){var u=e[n];if(!(i<u.value)){var a=t/u.value,o=Math.abs(a)<100?1:0;if(n>0&&Math.abs(Number(a.toFixed(o)))>=1e3){var l=e[n-1];return r(a=t/l.value,o=Math.abs(a)<100?1:0)+l.suffix}return r(a,o)+u.suffix}}return Number.isInteger(t)?t.toLocaleString():Number(t.toFixed(2)).toLocaleString()}function i(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)&&"currentValue"in e}function n(e){if(null!=e&&""!==e){var r=Number(e);return Number.isFinite(r)?r:void 0}}function u(e,r,t){if("higher_better"!==t&&"lower_better"!==t)return"neutral";var i=n(e),u=n(r);if(void 0===i||void 0===u)return"neutral";var a=i-u;return 0===a?"neutral":"higher_better"===t===a>0?"positive":"negative"}var a={positive:"#059669",negative:"#dc2626"};exports.KPI_SENTIMENT_COLORS=a,exports.compactNumber=t,exports.formatKpiValue=function e(r,n){if(i(r))return e(r.currentValue,n);if(null==r||""===r)return"";if("string"==typeof r&&/[a-zA-Z%]/.test(r))return"dollar"!==n||r.startsWith("$")?r:"$".concat(r);var u=Number(r);if(Number.isNaN(u))return String(r);var a=t(u);switch(n){case"dollar":return"$".concat(a);case"percentage":return"".concat(a,"%");default:return a}},exports.getActiveFilterCount=function(e){return Object.values(e).filter(function(e){return Array.isArray(e)?e.length>0:null!=e&&""!==e}).length},exports.getKpiDelta=function(e,r,t){var i=n(e),a=n(r);if(void 0!==i&&void 0!==a&&0!==a){var o=(i-a)/Math.abs(a)*100;if(Number.isFinite(o)){var l=o>0?"up":o<0?"down":"flat",f=Math.abs(o);return{percent:o,direction:l,sentiment:u(e,r,t),label:f>0&&f<.1?"<0.1%":"".concat(Number(f.toFixed(1)),"%")}}}},exports.getKpiSentiment=u,exports.getKpiValueColor=function(e,r,t,i){var n,o=u(e,r,t);if("neutral"!==o)return null!==(n=null==i?void 0:i[o])&&void 0!==n?n:a[o]},exports.isKpiValueObject=i;
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var s=require("react/jsx-runtime"),e=require("lucide-react"),r={activity:s.jsx(e.Activity,{}),airplay:s.jsx(e.Airplay,{}),alarm:s.jsx(e.AlarmClock,{}),archive:s.jsx(e.Archive,{}),"arrow-down":s.jsx(e.ArrowDown,{}),"arrow-left":s.jsx(e.ArrowLeft,{}),"arrow-right":s.jsx(e.ArrowRight,{}),"arrow-up":s.jsx(e.ArrowUp,{}),at:s.jsx(e.AtSign,{}),award:s.jsx(e.Award,{}),badge:s.jsx(e.BadgeCheck,{}),banknote:s.jsx(e.Banknote,{}),"bar-chart":s.jsx(e.BarChart,{}),"bar-chart-2":s.jsx(e.BarChart2,{}),"chart-bar":s.jsx(e.BarChart3,{}),battery:s.jsx(e.Battery,{}),bell:s.jsx(e.Bell,{}),bike:s.jsx(e.Bike,{}),book:s.jsx(e.Book,{}),bookmark:s.jsx(e.Bookmark,{}),briefcase:s.jsx(e.Briefcase,{}),building:s.jsx(e.Building,{}),building2:s.jsx(e.Building2,{}),bus:s.jsx(e.Bus,{}),calendar:s.jsx(e.Calendar,{}),camera:s.jsx(e.Camera,{}),car:s.jsx(e.Car,{}),check:s.jsx(e.Check,{}),"check-check":s.jsx(e.CheckCheck,{}),"chevron-down":s.jsx(e.ChevronDown,{}),"chevron-left":s.jsx(e.ChevronLeft,{}),"chevron-right":s.jsx(e.ChevronRight,{}),"chevron-up":s.jsx(e.ChevronUp,{}),circle:s.jsx(e.Circle,{}),clipboard:s.jsx(e.Clipboard,{}),"clipboard-check":s.jsx(e.ClipboardCheck,{}),clock:s.jsx(e.Clock,{}),cloud:s.jsx(e.Cloud,{}),rain:s.jsx(e.CloudRain,{}),code:s.jsx(e.Code,{}),cog:s.jsx(e.Cog,{}),cpu:s.jsx(e.Cpu,{}),"credit-card":s.jsx(e.CreditCard,{}),database:s.jsx(e.Database,{}),dollar:s.jsx(e.DollarSign,{}),download:s.jsx(e.Download,{}),edit:s.jsx(e.Edit,{}),eye:s.jsx(e.Eye,{}),file:s.jsx(e.File,{}),"file-text":s.jsx(e.FileText,{}),filter:s.jsx(e.Filter,{}),flag:s.jsx(e.Flag,{}),folder:s.jsx(e.Folder,{}),gift:s.jsx(e.Gift,{}),globe:s.jsx(e.Globe,{}),graduation:s.jsx(e.GraduationCap,{}),hammer:s.jsx(e.Hammer,{}),harddrive:s.jsx(e.HardDrive,{}),heart:s.jsx(e.Heart,{}),help:s.jsx(e.HelpCircle,{}),home:s.jsx(e.Home,{}),image:s.jsx(e.Image,{}),inbox:s.jsx(e.Inbox,{}),info:s.jsx(e.Info,{}),key:s.jsx(e.Key,{}),laptop:s.jsx(e.Laptop,{}),dashboard:s.jsx(e.LayoutDashboard,{}),lifebuoy:s.jsx(e.LifeBuoy,{}),bulb:s.jsx(e.Lightbulb,{}),link:s.jsx(e.Link,{}),list:s.jsx(e.List,{}),loader:s.jsx(e.Loader,{}),lock:s.jsx(e.Lock,{}),login:s.jsx(e.LogIn,{}),logout:s.jsx(e.LogOut,{}),mail:s.jsx(e.Mail,{}),map:s.jsx(e.Map,{}),menu:s.jsx(e.Menu,{}),message:s.jsx(e.MessageCircle,{}),mic:s.jsx(e.Mic,{}),monitor:s.jsx(e.Monitor,{}),moon:s.jsx(e.Moon,{}),more:s.jsx(e.MoreHorizontal,{}),package:s.jsx(e.Package,{}),pentool:s.jsx(e.PenTool,{}),percent:s.jsx(e.Percent,{}),phone:s.jsx(e.Phone,{}),"pie-chart":s.jsx(e.PieChart,{}),pin:s.jsx(e.Pin,{}),play:s.jsx(e.Play,{}),plus:s.jsx(e.Plus,{}),printer:s.jsx(e.Printer,{}),rocket:s.jsx(e.Rocket,{}),search:s.jsx(e.Search,{}),send:s.jsx(e.Send,{}),settings:s.jsx(e.Settings,{}),shield:s.jsx(e.Shield,{}),cart:s.jsx(e.ShoppingCart,{}),smartphone:s.jsx(e.Smartphone,{}),star:s.jsx(e.Star,{}),sun:s.jsx(e.Sun,{}),tag:s.jsx(e.Tag,{}),target:s.jsx(e.Target,{}),trash:s.jsx(e.Trash,{}),"trending-down":s.jsx(e.TrendingDown,{}),"trending-up":s.jsx(e.TrendingUp,{}),truck:s.jsx(e.Truck,{}),upload:s.jsx(e.Upload,{}),user:s.jsx(e.User,{}),"user-check":s.jsx(e.UserCheck,{}),"user-cog":s.jsx(e.UserCog,{}),"user-plus":s.jsx(e.UserPlus,{}),users:s.jsx(e.Users,{}),wallet:s.jsx(e.Wallet,{}),wifi:s.jsx(e.Wifi,{}),wrench:s.jsx(e.Wrench,{}),close:s.jsx(e.X,{}),zap:s.jsx(e.Zap,{})};exports.ICON_MAP=r,exports.getKpiIcon=function(s){if(s)return r[s]};
|
|
2
|
+
//# sourceMappingURL=kpiIcon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kpiIcon.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var r=require("../../_virtual/_tslib.js"),e=["graphBuilder","kpiCards","tableBuilder"],n=["dateFilters","sidebarFilters"];function t(r){if("string"!=typeof r)return null;var e=r.trim().toLowerCase().replace(/[\s_-]/g,"");return e.length?e:null}function i(r,e,n){e.length&&"production"!==process.env.NODE_ENV&&console.warn("[federated-dashboard] ".concat(r,": ignored unrecognized section ")+"".concat(1===e.length?"name":"names"," ").concat(e.map(function(r){return JSON.stringify(r)}).join(", "),". Available sections: ").concat(n.join(", "),"."))}function o(r,e,o){if(null==r)return[];if(!Array.isArray(r))return i(o,[r],e),[];var a=new Map;e.forEach(function(r){var e=t(r);e&&a.set(e,r)});for(var s=new Set(n.map(t)),u=[],c=[],l=0,d=r;l<d.length;l++){var f=d[l],p=t(f),v=p?a.get(p):void 0;v?u.includes(v)||u.push(v):p&&s.has(p)||c.push(f)}return i(o,c,e),u}exports.DASHBOARD_SECTION_KEYS=e,exports.PINNED_SECTION_KEYS=n,exports.isSectionHidden=function(r,e){if(!Array.isArray(r))return!1;var n=t(e);return null!=n&&r.some(function(r){return t(r)===n})},exports.resolveSectionOrder=function(n,t,i,a){void 0===a&&(a=e);var s=o(n,a,"sectionOrder"),u=s.length?s:o(i,a,"uiConfig.data.sectionOrder"),c=o(t,a,"hiddenSections");return r.__spreadArray(r.__spreadArray([],u,!0),a.filter(function(r){return!u.includes(r)}),!0).filter(function(r){return!c.includes(r)})};
|
|
2
|
+
//# sourceMappingURL=sectionOrder.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sectionOrder.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../_virtual/_tslib.js"),n=require("react/jsx-runtime");exports.buildColumns=function(l,t){var i=(null==t?void 0:t.columns)&&t.columns.length>0?t.columns:function(l){var t;return(null!==(t=l.columns)&&void 0!==t?t:[]).map(function(l){var t,i,r,d=null!==(i=null===(t=l.columnName)||void 0===t?void 0:t[0])&&void 0!==i?i:l.key;return{key:l.key,header:n.jsx("div",e.__assign({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(e){var l;return n.jsx("span",{children:null!==(l=null==e?void 0:e[d])&&void 0!==l?l:""})}}})}(l);return l.showRankColumn?e.__spreadArray([{key:"__rank",header:n.jsx("div",e.__assign({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(e){var l;return n.jsx("span",{children:null!==(l=e.__rank)&&void 0!==l?l:0})}}],i,!0):i},exports.withRowIds=function(n){return void 0===n&&(n=[]),n.map(function(n,l){var t;return e.__assign({__rank:l+1,id:null!==(t=null==n?void 0:n.id)&&void 0!==t?t:String(l)},n)})};
|
|
2
|
+
//# sourceMappingURL=tableColumns.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tableColumns.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../_virtual/_tslib.js"),t=function(t){function r(e,r){var a=t.call(this,e)||this;return a.name="DashboardApiError",a.status=r,a}return e.__extends(r,t),r}(Error),r=function(e){return e.replace(/\/+$/,"")};function a(r,a,s,i){var n;return e.__awaiter(this,void 0,void 0,function(){var o,c,d;return e.__generator(this,function(e){switch(e.label){case 0:return o={accept:"application/json","Content-Type":"application/json"},console.log("[TEST] OUT accessToken",s),s&&(console.log("[TEST] In accessToken",s),o.Authorization="Bearer ".concat(s)),[4,fetch(r,{method:"POST",headers:o,body:JSON.stringify(a),signal:i})];case 1:if(!(c=e.sent()).ok)throw new t("Request failed with status ".concat(c.status),c.status);return[4,c.json()];case 2:if(!(d=e.sent()).success)throw new t((null===(n=d.error)||void 0===n?void 0:n.errorMessage)||"Request failed");return[2,d.data]}})})}function s(t,s){var i=t.configId,n=t.baseUrl,o=void 0===n?"":n,c=t.accessToken;return e.__awaiter(this,void 0,void 0,function(){return e.__generator(this,function(e){return[2,a("".concat(r(o),"/records-dashboard/filters/ui"),{config_id:i},c,s)]})})}function i(t,s){var i=t.configId,n=t.baseUrl,o=void 0===n?"":n,c=t.accessToken;return e.__awaiter(this,void 0,void 0,function(){var t;return e.__generator(this,function(e){switch(e.label){case 0:return[4,a("".concat(r(o),"/records-dashboard/filters/distinct-value"),{config_id:i},c,s)];case 1:return[2,(null==(t=e.sent())?void 0:t.sidebarFilters)||{}]}})})}function n(e){void 0===e&&(e={});var t={};return Object.entries(e).forEach(function(e){var r=e[0],a=e[1];Array.isArray(a)?a.length>0&&(t[r]=a):""!==a&&null!=a&&(t[r]=[a])}),t}exports.RECODashboardApiError=t,exports.RecordFetchDashboardData=function(t,s,i){var o=t.configId,c=t.baseUrl,d=void 0===c?"":c,u=t.accessToken;return e.__awaiter(this,void 0,void 0,function(){var t;return e.__generator(this,function(e){return t={config_id:o,dateFilters:{startDate:"2000-08-01T00:00:00.000Z",endDate:"2050-08-31T23:59:59.000Z"},sidebarFilters:n(s.filters),statsFilters:s.statsFilters||{},selectedStatCards:s.selectedStatCards||[]},[2,a("".concat(r(d),"/records-dashboard/filters/get-data"),t,u,i)]})})},exports.RecordFetchTableData=function(t,s,i){var o=t.configId,c=t.baseUrl,d=void 0===c?"":c,u=t.accessToken;return e.__awaiter(this,void 0,void 0,function(){return e.__generator(this,function(t){return[2,a("".concat(r(d),"/records-dashboard/filters/table-data"),e.__assign(e.__assign({config_id:o,dateFilters:{endDate:"2050-08-13T05:51:34.302Z",startDate:"2000-08-12T18:30:00.000Z"},sidebarFilters:n(s.filters),statsFilters:s.statsFilters||{},selectedStatCards:s.selectedStatCards||[],tableHeader:s.tableHeader,tableKey:s.tableKey,pageSize:s.pageSize},s.page?{page:s.page}:{}),s.cursor?{cursor:s.cursor}:{}),u,i)]})})},exports.RecordFetchUIConfig=function(t,r){return e.__awaiter(this,void 0,void 0,function(){var a,n,o;return e.__generator(this,function(c){switch(c.label){case 0:return[4,Promise.all([s(t,r),i(t,r)])];case 1:return a=c.sent(),n=a[0],o=a[1],[2,{data:e.__assign(e.__assign({},n),{sidebarFilters:(n.sidebarFilters||[]).map(function(t){return e.__assign(e.__assign({},t),{options:o[t.schemaFilterName]||[]})})})}]}})})};
|
|
2
|
+
//# sourceMappingURL=RecordDashboardApi.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RecordDashboardApi.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),t=require("react/jsx-runtime"),a=require("react"),i=require("primereact/chart");require("../../../node_modules/chart.js/auto/auto.js");var s=require("../../../node_modules/chartjs-plugin-datalabels/dist/chartjs-plugin-datalabels.esm.js");require("../../../node_modules/chart.js/dist/chart.js").Chart.register(s.default);exports.default=function(s){var r=s.title,o=void 0===r?"Membership Tier Distribution":r,n=s.labels,l=void 0===n?[]:n,d=s.values,c=void 0===d?[]:d,u=s.colors,h=void 0===u?["#3B82F6","#6DDB36","#FBBF24"]:u,b=s.legendPosition,g=void 0===b?"right":b,p=s.cutout,_=void 0===p?"50%":p,v=s.showLegend,y=void 0===v||v,f=s.showDataLabels,m=void 0===f||f,F=s.height,j=void 0===F?300:F,x=s.chartType,C=void 0===x?"pie":x,q=s.style,S=s.titleStyle,k=s.chartContainerStyle,B=a.useMemo(function(){return{labels:l,datasets:[{data:c,backgroundColor:h,borderColor:"#FFFFFF",borderWidth:2,hoverBorderWidth:2,hoverOffset:4,datalabels:{display:m,color:"#000",font:{weight:"bold"},formatter:function(e){return e}}}]}},[l,c,h,m]),W=a.useMemo(function(){return e.__assign(e.__assign({responsive:!0,maintainAspectRatio:!1},"doughnut"===C?{cutout:_}:{}),{plugins:{datalabels:{display:m},legend:{display:y,position:g,onClick:function(){},labels:{usePointStyle:!0,pointStyle:"rectRounded",boxWidth:14,boxHeight:14,padding:20,generateLabels:function(e){var t=e.data;return t.labels.map(function(e,a){return{text:"".concat(e," (").concat(t.datasets[0].data[a],")"),fillStyle:"#FFFFFF",strokeStyle:t.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(e){return"".concat(e.raw)}}}}})},[C,_,m,y,g]);return t.jsxs("div",e.__assign({className:"analytics-chart",style:q},{children:[o&&t.jsx("h2",e.__assign({className:"analytics-chart__title",style:S},{children:o})),t.jsx("div",e.__assign({className:"analytics-chart__container",style:e.__assign({height:j},k)},{children:t.jsx(i.Chart,{type:C,data:B,options:W})}))]}))};
|
|
2
|
+
//# sourceMappingURL=AnalyticsChart.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AnalyticsChart.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),s=require("react/jsx-runtime"),n=require("./styles/RecordDashboardCardStyles.js");exports.RecordBreakingNewsBanner=function(r){var t=r.items,a=r.accentBg,i=r.accentBorder,_=r.accentText;if(0===t.length)return null;var l={backgroundColor:a,borderColor:i};return s.jsxs(s.Fragment,{children:[s.jsx("div",e.__assign({style:e.__assign(e.__assign({},n.default.newsBanner),l)},{children:s.jsx("p",e.__assign({style:e.__assign(e.__assign({},n.default.newsBannerTitle),{color:_})},{children:"Breaking News"}))})),t.map(function(r,a){return s.jsxs("div",e.__assign({style:e.__assign(e.__assign(e.__assign({},n.default.newsItem),l),a===t.length-1?n.default.newsItemLast:{})},{children:[s.jsx("span",{style:e.__assign(e.__assign({},n.default.newsItemDot),{backgroundColor:n.RECO_NEWS_DOT_COLORS[r.level]})}),s.jsx("p",e.__assign({style:e.__assign(e.__assign({},n.default.newsItemText),{color:_})},{children:r.text}))]}),a)})]})};
|
|
2
|
+
//# sourceMappingURL=RecordBreakingNewsBanner.js.map
|
package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordBreakingNewsBanner.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RecordBreakingNewsBanner.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),t=require("react/jsx-runtime"),s=require("react"),n=require("./styles/RecordDashboardCardStyles.js");exports.RecordCardShell=function(a){for(var l=a.accent,r=a.iconBg,i=a.icon,c=a.title,o=a.badge,d=a.heroValue,h=a.heroLabel,u=a.heroColor,x=a.heroDelta,_=a.chartData,f=a.chartLabels,g=a.chartColor,y=a.chartPrefix,p=a.footer,j=a.children,v=s.useState(null),m=v[0],C=v[1],b=s.useRef(null),M=240,S=90,k=18,L=12,D=_&&_.length>0?Math.min.apply(Math,_):0,R=_&&_.length>0?Math.max.apply(Math,_):100,w=R-D===0?1:R-D,A=(_||[]).map(function(e,t){var s=_.length;return{x:s>1?k+t/(s-1)*204:120,y:78-(e-D)/w*66,value:e,index:t}}),W=A.length>0?"M ".concat(A[0].x," ").concat(A[0].y):"",O=0;O<A.length-1;O++){var T=A[O],q=A[O+1];W+=" C ".concat(T.x+(q.x-T.x)/3," ").concat(T.y,", ").concat(T.x+2*(q.x-T.x)/3," ").concat(q.y,", ").concat(q.x," ").concat(q.y)}var B,E,F=A.length>0?"".concat(W," L ").concat(A[A.length-1].x," ").concat(78," L ").concat(A[0].x," ").concat(78," Z"):"",H=null!==m?A[m]:null,P=function(e){return c.toLowerCase().includes("security")?String(Math.round(e)):"$"===y?"$".concat(e.toFixed(2)):e>=1e3?"".concat((e/1e3).toFixed(1),"K"):String(e)},V=function(e){if(!e)return"Recent";var t=e.split(":");if(t.length<2)return e;var s=parseInt(t[0],10),n=t[1],a=s>=12?"PM":"AM";return"".concat(s=s%12||12,":").concat(n," ").concat(a)},z=(B=c.toLowerCase(),E=l.toLowerCase(),B.includes("security")||E.includes("red")||E.includes("rose")?n.default.themeRose:B.includes("finops")||E.includes("violet")||E.includes("purple")?n.default.themeViolet:B.includes("health")||E.includes("sky")||E.includes("emerald")?n.default.themeSky:B.includes("change")||E.includes("amber")||E.includes("orange")?n.default.themeAmber:n.default.themeNeutral);return t.jsxs("div",e.__assign({style:n.default.card},{children:[t.jsx("style",{children:n.RECO_DASHBOARD_CARD_KEYFRAMES}),t.jsxs("div",e.__assign({style:e.__assign(e.__assign({},n.default.cardHeader),z)},{children:[t.jsxs("div",e.__assign({style:n.default.headerTop},{children:[t.jsxs("div",e.__assign({style:n.default.headerIconTitle},{children:[t.jsx("div",e.__assign({style:e.__assign(e.__assign({},n.default.iconWrap),{backgroundColor:r})},{children:i})),t.jsx("h3",e.__assign({style:n.default.title},{children:c}))]})),t.jsx("span",e.__assign({style:n.default.badge},{children:o}))]})),t.jsxs("div",e.__assign({style:n.default.heroRow},{children:[t.jsxs("div",e.__assign({style:n.default.hero},{children:[t.jsx("span",e.__assign({style:e.__assign(e.__assign({},n.default.heroValue),{color:u})},{children:d})),t.jsx("span",e.__assign({style:n.default.heroLabel},{children:h})),x&&t.jsx("span",e.__assign({style:e.__assign(e.__assign({},n.default.heroDelta),x.up?n.default.heroDeltaUp:n.default.heroDeltaDown)},{children:x.text}))]})),t.jsxs("div",e.__assign({style:n.default.chartCol},{children:[t.jsxs("div",e.__assign({style:n.default.chartHeader},{children:[t.jsx("span",{children:"Trend Timeline"}),H&&t.jsx("span",e.__assign({style:n.default.chartTooltip},{children:c.toLowerCase().includes("security")?"".concat(P(H.value)," alerts at ").concat(f?V(f[H.index]):""):"".concat(f?"".concat(V(f[H.index]),": "):"").concat(P(H.value))}))]})),t.jsx("div",e.__assign({style:n.default.chartWrap},{children:_&&_.length>1?t.jsxs("svg",e.__assign({ref:b,viewBox:"0 0 ".concat(M," ").concat(S),style:n.default.chartSvg,onMouseMove:function(e){if(b.current&&0!==A.length){for(var t=b.current.getBoundingClientRect(),s=(e.clientX-t.left)/t.width*M,n=0,a=Math.abs(A[0].x-s),l=1;l<A.length;l++){var r=Math.abs(A[l].x-s);r<a&&(a=r,n=l)}C(n)}},onMouseLeave:function(){return C(null)}},{children:[t.jsx("defs",{children:t.jsxs("linearGradient",e.__assign({id:"grad-".concat(c.replace(/\s+/g,"")),x1:"0",y1:"0",x2:"0",y2:"1"},{children:[t.jsx("stop",{offset:"0%",stopColor:g,stopOpacity:.12}),t.jsx("stop",{offset:"100%",stopColor:g,stopOpacity:0})]}))}),t.jsx("text",e.__assign({x:12,y:15,textAnchor:"end",style:{fontSize:8,fontWeight:900,letterSpacing:"-0.05em",fill:"#020617"}},{children:P(R)})),t.jsx("text",e.__assign({x:12,y:81,textAnchor:"end",style:{fontSize:8,fontWeight:900,letterSpacing:"-0.05em",fill:"#020617"}},{children:P(D)})),t.jsx("path",{d:F,fill:"url(#grad-".concat(c.replace(/\s+/g,""),")")}),t.jsx("path",{d:W,fill:"none",stroke:g,strokeWidth:1.75,strokeLinecap:"round",strokeLinejoin:"round"}),H?t.jsxs(t.Fragment,{children:[t.jsx("line",{x1:H.x,y1:L,x2:H.x,y2:78,stroke:"#64748b",strokeWidth:.75,strokeDasharray:"2,2"}),t.jsx("circle",{cx:H.x,cy:H.y,r:4,fill:g,opacity:.2}),t.jsx("circle",{cx:H.x,cy:H.y,r:2,fill:g,stroke:"#ffffff",strokeWidth:1})]}):A.length>0&&t.jsx("circle",{cx:A[A.length-1].x,cy:A[A.length-1].y,r:2.5,fill:g})]})):t.jsx("span",e.__assign({style:n.default.chartEmpty},{children:"No live telemetry"}))}))]}))]}))]})),t.jsx("div",e.__assign({style:n.default.body},{children:j})),p&&t.jsx("div",e.__assign({style:n.default.footer},{children:p}))]}))};
|
|
2
|
+
//# sourceMappingURL=RecordCardShell.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RecordCardShell.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),r=require("react/jsx-runtime"),s=require("./styles/RecordDashboardCardStyles.js"),l=require("./RecordTopDropdownMenu.js");exports.RecordCenteredCell=function(o){var d=o.item;return r.jsxs("div",e.__assign({style:s.default.centeredCell,onClick:d.onClick},{children:[d.dropdown&&r.jsx(l.RecordTopDropdownMenu,{config:d.dropdown}),r.jsx("div",e.__assign({style:s.default.centeredCellLabel},{children:d.label})),r.jsx("div",e.__assign({style:e.__assign(e.__assign({},s.default.centeredCellValue),d.valueColor?{color:d.valueColor}:{})},{children:d.value})),d.sub&&r.jsx("div",e.__assign({style:e.__assign(e.__assign({},s.default.centeredCellSub),d.subColor?{color:d.subColor}:{})},{children:d.sub}))]}))};
|
|
2
|
+
//# sourceMappingURL=RecordCenteredCell.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RecordCenteredCell.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),r=require("react/jsx-runtime"),o=require("react"),t=require("./styles/RecordDashboardCardStyles.js"),n=require("./RecordCardShell.js"),a=require("./RecordSkeletonRow.js"),c=require("./RecordBreakingNewsBanner.js"),i=require("./RecordSectionHeadingBar.js"),l=require("./RecordFooterLinkButton.js"),s=require("./RecordSectionContent.js");function d(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=d(o);exports.RecordDashboardCard=function(o){var d=o.accent,h=o.iconBg,g=o.icon,f=o.title,j=o.badge,b=void 0===j?"Today":j,x=o.heroValue,C=o.heroLabel,R=o.heroColor,B=o.heroDelta,_=o.chartData,k=o.chartLabels,q=o.chartColor,v=void 0===q?"#6366f1":q,p=o.chartPrefix,L=void 0===p?"":p,S=o.loading,y=o.footer,m=o.footerLinks,D=o.breakingNews,w=o.accentBg,F=o.accentBorder,N=o.accentText,P=o.sections,T=null!=y?y:m&&m.length>0?r.jsx("div",e.__assign({style:e.__assign(e.__assign({},t.default.footerLinks),m.length>1?t.default.footerLinksMulti:{})},{children:m.map(function(e,o){return r.jsx(l.RecordFooterLinkButton,{label:e.label,onClick:e.onClick},o)})})):null;return r.jsx(n.RecordCardShell,e.__assign({accent:d,iconBg:h,icon:g,title:f,badge:b,heroValue:x,heroLabel:C,heroColor:R,heroDelta:B,chartData:null!=_?_:null,chartLabels:k,chartColor:v,chartPrefix:L,footer:T},{children:S?r.jsx(r.Fragment,{children:[0,1,2].map(function(e){return r.jsx(a.RecordSkeletonRow,{},e)})}):r.jsxs("div",e.__assign({style:t.default.bodyContent},{children:[r.jsx(c.RecordBreakingNewsBanner,{items:D,accentBg:w,accentBorder:F,accentText:N}),P.map(function(e,o){return r.jsxs(u.default.Fragment,{children:[r.jsx(i.RecordSectionHeadingBar,{label:e.heading,color:e.headingColor,dotColor:e.dotColor,count:e.count,pulse:e.pulse}),s.renderRecordSectionContent(e)]},o)})]}))}))};
|
|
2
|
+
//# sourceMappingURL=RecordDashboardCard.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RecordDashboardCard.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),s=require("react/jsx-runtime"),a=require("react"),t=require("lucide-react"),i=require("./styles/RecordDashboardCardStyles.js");exports.RecordDetailRow=function(l){var r=l.label,n=l.value,o=l.sub,u=l.onClick,d=l.valueColor,_=a.useState(!1),c=_[0],f=_[1],g=u?"button":"div";return s.jsxs(g,e.__assign({onClick:u,onMouseEnter:function(){return u&&f(!0)},onMouseLeave:function(){return u&&f(!1)},style:e.__assign(e.__assign(e.__assign({},i.default.detailRow),u?i.default.detailRowClickable:{}),u&&c?{backgroundColor:"#f8fafc"}:{})},{children:[s.jsxs("div",e.__assign({style:i.default.detailRowMain},{children:[s.jsx("p",e.__assign({style:i.default.detailRowLabel},{children:r})),s.jsx("p",e.__assign({style:e.__assign(e.__assign({},i.default.detailRowValue),d?{color:d}:{})},{children:n})),o&&s.jsx("p",e.__assign({style:i.default.detailRowSub},{children:o}))]})),u&&s.jsx(t.ChevronRight,{size:14,style:e.__assign(e.__assign({},i.default.detailRowChevron),c?i.default.detailRowChevronHover:{})})]}))};
|
|
2
|
+
//# sourceMappingURL=RecordDetailRow.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RecordDetailRow.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),t=require("react/jsx-runtime"),s=require("react"),n=require("lucide-react"),a=require("./styles/RecordDashboardCardStyles.js"),l={BLOCKED:{action:"Request blocked — review policy rule",color:a.RECO_ACTION_COLORS.BLOCKED},FLAGGED:{action:"Flagged for review — investigate source",color:a.RECO_ACTION_COLORS.FLAGGED},ALLOWED:{action:"Allowed through — monitor for patterns",color:a.RECO_ACTION_COLORS.ALLOWED}};function i(e){var t=Math.floor((Date.now()-e.getTime())/1e3);if(t<60)return"just now";var s=Math.floor(t/60);if(s<60)return"".concat(s,"m ago");var n=Math.floor(s/60);return n<24?"".concat(n,"h ago"):"".concat(Math.floor(n/24),"d ago")}var r=function(r){var o,d,u,_,c=r.event,g=s.useState(!1),f=g[0],v=g[1],y=s.useState(!1),h=y[0],m=y[1],x=s.useState(!1),j=x[0],E=x[1],C=null!==(o=a.RECO_SEV_BADGE_STYLES[c.severity])&&void 0!==o?o:a.RECO_SEV_BADGE_DEFAULT,S=c.status&&null!==(d=l[c.status])&&void 0!==d?d:null;return t.jsxs("div",e.__assign({style:a.default.eventRowWrap},{children:[t.jsxs("button",e.__assign({onClick:function(){return v(!0)},onMouseEnter:function(){return m(!0)},onMouseLeave:function(){return m(!1)},style:e.__assign(e.__assign({},a.default.eventRow),h?a.default.eventRowHover:{})},{children:[t.jsx("span",{style:e.__assign(e.__assign({},a.default.eventRowDot),{backgroundColor:null!==(u=a.RECO_SEV_DOT_COLORS[c.severity])&&void 0!==u?u:"#cbd5e1"})}),t.jsx("p",e.__assign({style:a.default.eventRowTitle},{children:c.title})),t.jsx("span",e.__assign({style:a.default.eventRowTime},{children:i(c.timestamp)})),t.jsx(n.ChevronRight,{size:10,style:a.default.eventRowChevron})]})),f&&t.jsx("div",e.__assign({style:a.default.modalOverlay},{children:t.jsxs("div",e.__assign({style:a.default.modal},{children:[t.jsxs("div",e.__assign({style:a.default.modalHeader},{children:[t.jsxs("div",e.__assign({style:a.default.modalHeaderLeft},{children:[t.jsx("span",e.__assign({style:e.__assign(e.__assign({},a.default.modalBadge),C)},{children:c.severity})),c.status&&t.jsx("span",e.__assign({style:e.__assign(e.__assign({},a.default.modalStatusBadge),null!==(_=a.RECO_STATUS_BADGE_STYLES[c.status])&&void 0!==_?_:a.RECO_STATUS_BADGE_DEFAULT)},{children:c.status})),t.jsx("span",e.__assign({style:a.default.modalTitle},{children:c.title}))]})),t.jsx("button",e.__assign({onClick:function(){return v(!1)},style:a.default.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.jsx(n.X,{size:14})}))]})),t.jsxs("div",e.__assign({style:a.default.modalBody},{children:[c.triageSummary&&t.jsxs("div",{children:[t.jsx("h4",e.__assign({style:a.default.modalSectionTitle},{children:"Summary"})),t.jsx("p",e.__assign({style:a.default.modalSummaryText},{children:c.triageSummary}))]}),c.details&&c.details.length>0&&t.jsxs("div",e.__assign({style:a.default.modalBodySpacer},{children:[t.jsx("h4",e.__assign({style:e.__assign(e.__assign({},a.default.modalSectionTitle),a.default.modalSectionTitleTight)},{children:"Metadata Details"})),t.jsx("div",e.__assign({style:a.default.modalDetailsGrid},{children:c.details.map(function(s){return t.jsxs("div",e.__assign({style:a.default.modalDetail},{children:[t.jsx("span",e.__assign({style:a.default.modalDetailLabel},{children:s.label})),t.jsx("span",e.__assign({style:a.default.modalDetailValue},{children:s.value}))]}),s.label)})}))]})),c.incidentUrl&&t.jsx("div",e.__assign({style:e.__assign(e.__assign({},a.default.modalLinkRow),a.default.modalBodySpacer)},{children:t.jsx("a",e.__assign({href:c.incidentUrl,target:"_blank",rel:"noopener noreferrer",style:a.default.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 →"}))}))]})),S&&t.jsx("div",e.__assign({style:a.default.modalActionRow},{children:t.jsxs("button",e.__assign({onClick:function(){var e;v(!1),null===(e=c.onAction)||void 0===e||e.call(c)},onMouseEnter:function(){return E(!0)},onMouseLeave:function(){return E(!1)},style:e.__assign(e.__assign({},a.default.modalActionBtn),j?a.default.modalActionBtnHover:{})},{children:[t.jsx("span",e.__assign({style:e.__assign(e.__assign({},a.default.modalActionText),{color:S.color})},{children:S.action})),t.jsx(n.ChevronRight,{size:12,style:e.__assign(e.__assign(e.__assign({},a.default.modalActionChevron),{color:S.color}),j?a.default.modalActionChevronHover:{})})]}))}))]}))}))]}))};exports.renderRecordEventsSection=function(e){return t.jsx("div",{children:e.map(function(e){return t.jsx(r,{event:e},e.id)})})};
|
|
2
|
+
//# sourceMappingURL=RecordEventsSection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RecordEventsSection.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),r=require("react/jsx-runtime"),t=require("lucide-react"),o=require("./styles/RecordDashboardCardStyles.js");exports.RecordFooterLinkButton=function(n){var s=n.label,u=n.onClick;return r.jsxs("button",e.__assign({onClick:u,style:o.default.footerLink,onMouseEnter:function(e){return e.currentTarget.style.color="#4338ca"},onMouseLeave:function(e){return e.currentTarget.style.color="#6366f1"}},{children:[s," ",r.jsx(t.ChevronRight,{size:11})]}))};
|
|
2
|
+
//# sourceMappingURL=RecordFooterLinkButton.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RecordFooterLinkButton.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),r=require("react/jsx-runtime"),i=require("./styles/RecordDashboardCardStyles.js"),d=require("./RecordCenteredCell.js"),l=require("./RecordTopDropdownMenu.js"),s=require("./RecordDetailRow.js");exports.renderRecordGridSection=function(n,o,a){for(var t=[],u=0;u<n.length;u+=o)t.push(n.slice(u,u+o));return r.jsx("div",{children:t.map(function(n,t){return r.jsx("div",e.__assign({style:e.__assign(e.__assign(e.__assign({},i.default.gridRow),{gridTemplateColumns:"repeat(".concat(o,", minmax(0, 1fr))")}),t>0?i.default.gridRowDivider:{})},{children:n.map(function(n,o){return r.jsx("div",e.__assign({style:e.__assign(e.__assign(e.__assign({},i.default.gridCell),a?{}:i.default.gridCellPadded),o>0?i.default.gridCellDivider:{})},{children:a?r.jsx(d.RecordCenteredCell,{item:n}):r.jsxs(r.Fragment,{children:[n.dropdown&&r.jsx(l.RecordTopDropdownMenu,{config:n.dropdown}),r.jsx("div",e.__assign({style:i.default.gridCellInner,onClick:n.dropdown?n.onClick:void 0},{children:r.jsx(s.RecordDetailRow,{label:n.label,value:n.value,sub:n.sub,onClick:n.dropdown?void 0:n.onClick,valueColor:n.valueColor})}))]})}),o)})}),t)})})};
|
|
2
|
+
//# sourceMappingURL=RecordGridSection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RecordGridSection.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),s=require("react/jsx-runtime"),i=require("react"),t=require("./styles/RecordDashboardCardStyles.js"),n=function(n){var l,r,a=n.item,o=n.compact,u=i.useState(!1),d=u[0],c=u[1];return s.jsx("div",e.__assign({style:e.__assign(e.__assign(e.__assign({},t.default.listRow),o?t.default.listRowCompact:{}),d?t.default.listRowHover:{}),onClick:a.onClick,onMouseEnter:function(){return c(!0)},onMouseLeave:function(){return c(!1)}},{children:o?s.jsxs(s.Fragment,{children:[s.jsx("span",{style:e.__assign(e.__assign({},t.default.listRowDot),{backgroundColor:null!==(l=a.dotColor)&&void 0!==l?l:"#cbd5e1",animation:"dc-pulse 2s cubic-bezier(0.4,0,0.6,1) infinite"})}),s.jsx("p",e.__assign({style:t.default.alertRowValue},{children:a.value})),a.sub&&s.jsx("span",e.__assign({style:t.default.alertRowSub},{children:a.sub}))]}):s.jsxs(s.Fragment,{children:[s.jsx("span",{style:e.__assign(e.__assign({},t.default.listRowDot),{backgroundColor:null!==(r=a.dotColor)&&void 0!==r?r:"#cbd5e1"})}),s.jsxs("div",e.__assign({style:t.default.listRowMain},{children:[s.jsx("p",e.__assign({style:t.default.listRowValue},{children:a.value})),a.sub&&s.jsx("p",e.__assign({style:t.default.listRowSub},{children:a.sub}))]})),s.jsx("span",e.__assign({style:t.default.listRowLabel},{children:a.label}))]})}))};exports.renderRecordAlertsSection=function(i){return s.jsx("div",{children:i.map(function(i,l){return s.jsx("div",e.__assign({style:l>0?t.default.listRowDivider:void 0},{children:s.jsx(n,{item:i,compact:!0})}),l)})})},exports.renderRecordListSection=function(i){return s.jsx("div",{children:i.map(function(i,l){return s.jsx("div",e.__assign({style:l>0?t.default.listRowDivider:void 0},{children:s.jsx(n,{item:i})}),l)})})};
|
|
2
|
+
//# sourceMappingURL=RecordListSection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RecordListSection.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./RecordGridSection.js"),r=require("./RecordListSection.js"),t=require("./RecordTagsSection.js"),n=require("./RecordEventsSection.js");exports.renderRecordSectionContent=function(i){var o,s;if(i.content)return i.content;if("tags"===i.format&&i.tagsConfig)return t.renderRecordTagsSection(i.tagsConfig);if("events"===i.format&&i.events)return n.renderRecordEventsSection(i.events);if(!i.items||0===i.items.length)return null;switch(i.format){case"grid":return e.renderRecordGridSection(i.items,null!==(o=i.columns)&&void 0!==o?o:2,i.centered);case"list":return r.renderRecordListSection(i.items);case"alerts":return r.renderRecordAlertsSection(i.items);default:return e.renderRecordGridSection(i.items,null!==(s=i.columns)&&void 0!==s?s:2,i.centered)}};
|
|
2
|
+
//# sourceMappingURL=RecordSectionContent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RecordSectionContent.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),s=require("react/jsx-runtime"),i=require("./styles/RecordDashboardCardStyles.js");exports.RecordSectionHeadingBar=function(n){var a=n.label,t=n.color,r=n.dotColor,l=n.count,o=n.pulse;return s.jsxs("div",e.__assign({style:e.__assign(e.__assign({},i.default.sectionHeading),null!=t?t:i.default.sectionHeadingDefault)},{children:[r&&s.jsx("span",{style:e.__assign(e.__assign(e.__assign({},i.default.sectionHeadingDot),{backgroundColor:r}),o?{animation:"dc-pulse 2s cubic-bezier(0.4,0,0.6,1) infinite"}:{})}),s.jsx("p",e.__assign({style:i.default.sectionHeadingLabel},{children:a})),void 0!==l&&s.jsx("span",e.__assign({style:i.default.sectionHeadingCount},{children:l}))]}))};
|
|
2
|
+
//# sourceMappingURL=RecordSectionHeadingBar.js.map
|
package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordSectionHeadingBar.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RecordSectionHeadingBar.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),s=require("react/jsx-runtime"),t=require("./styles/RecordDashboardCardStyles.js");exports.RecordSkeletonRow=function(){return s.jsxs("div",e.__assign({style:t.default.skeletonRow},{children:[s.jsx("div",{style:e.__assign(e.__assign({},t.default.skeletonLine),t.default.skeletonLineTitle)}),s.jsx("div",{style:e.__assign(e.__assign({},t.default.skeletonLine),t.default.skeletonLineValue)})]}))};
|
|
2
|
+
//# sourceMappingURL=RecordSkeletonRow.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RecordSkeletonRow.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var s=require("../../../_virtual/_tslib.js"),e=require("react/jsx-runtime"),t=require("./styles/RecordDashboardCardStyles.js");exports.renderRecordTagsSection=function(a){var l,n;return e.jsxs("div",s.__assign({style:t.default.tags},{children:[e.jsx("div",s.__assign({style:t.default.tagsTop},{children:e.jsxs("div",s.__assign({style:t.default.tagsMeta},{children:[e.jsx("span",s.__assign({style:t.default.tagsLabel},{children:a.label})),e.jsxs("span",s.__assign({style:t.default.tagsCount},{children:[a.count," ",null!==(l=a.countSuffix)&&void 0!==l?l:1===a.count?"Item":"Items"]}))]}))})),e.jsx("div",s.__assign({style:t.default.tagsList},{children:a.tags.length>0?a.tags.map(function(a,l){var n;return e.jsxs("span",s.__assign({style:t.default.tag},{children:[e.jsx("span",{style:s.__assign(s.__assign({},t.default.tagDot),{backgroundColor:null!==(n=a.dotColor)&&void 0!==n?n:"#94a3b8"})}),a.label]}),l)}):e.jsx("span",s.__assign({style:t.default.tagsEmpty},{children:null!==(n=a.emptyText)&&void 0!==n?n:"No items detected"}))}))]}))};
|
|
2
|
+
//# sourceMappingURL=RecordTagsSection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RecordTagsSection.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),n=require("react/jsx-runtime"),r=require("react"),t=require("./styles/RecordDashboardCardStyles.js");exports.RecordTopDropdownMenu=function(s){var o=s.config,a=r.useState(!1),i=a[0],d=a[1];return n.jsxs(n.Fragment,{children:[n.jsxs("button",e.__assign({onClick:function(e){e.stopPropagation(),d(!i)},style:e.__assign(e.__assign({},t.default.dropdownTrigger),i?t.default.dropdownTriggerOpen:t.default.dropdownTriggerClosed)},{children:["Top ",o.items.length," ▾"]})),i&&n.jsx("div",e.__assign({style:t.default.dropdownPanel,onMouseLeave:function(){return d(!1)}},{children:n.jsxs("div",e.__assign({style:t.default.dropdownInner},{children:[n.jsx("span",e.__assign({style:t.default.dropdownTitle},{children:o.title})),o.items.map(function(r,s){return n.jsxs("button",e.__assign({onClick:function(e){var n;e.stopPropagation(),null===(n=o.onClick)||void 0===n||n.call(o)},style:t.default.dropdownItem,onMouseEnter:function(e){return e.currentTarget.style.backgroundColor="#f8fafc"},onMouseLeave:function(e){return e.currentTarget.style.backgroundColor="transparent"}},{children:[n.jsxs("span",e.__assign({style:t.default.dropdownItemName},{children:[s+1,". ",r.name]})),n.jsx("span",e.__assign({style:t.default.dropdownItemValue},{children:r.value}))]}),s)})]}))}))]})};
|
|
2
|
+
//# sourceMappingURL=RecordTopDropdownMenu.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RecordTopDropdownMenu.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|