@e-llm-studio/federated-dashboard-components 1.0.6 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -698
- package/dist/_virtual/_tslib.js +1 -1
- package/dist/cjs/_virtual/_tslib.js +1 -1
- package/dist/cjs/components/DashboardCard/BreakingNewsBanner.js +2 -0
- package/dist/cjs/components/DashboardCard/CardShell.js +2 -0
- package/dist/cjs/components/DashboardCard/CenteredCell.js +2 -0
- package/dist/cjs/components/DashboardCard/DashboardCard.js +2 -0
- package/dist/cjs/components/DashboardCard/DetailRow.js +2 -0
- package/dist/cjs/components/DashboardCard/EventsSection.js +2 -0
- package/dist/cjs/components/DashboardCard/FooterLinkButton.js +2 -0
- package/dist/cjs/components/DashboardCard/GridSection.js +2 -0
- package/dist/cjs/components/DashboardCard/ListSection.js +2 -0
- package/dist/cjs/components/DashboardCard/SectionHeadingBar.js +2 -0
- package/dist/cjs/components/DashboardCard/SkeletonRow.js +2 -0
- package/dist/cjs/components/DashboardCard/TagsSection.js +2 -0
- package/dist/cjs/components/DashboardCard/TopDropdownMenu.js +2 -0
- package/dist/cjs/components/DashboardDateFilter/DashboardDateFilter.js +2 -0
- package/dist/cjs/components/DashboardDateFilter/datePreset.js +2 -0
- package/dist/cjs/components/DatePickers/DatePicker.js +2 -0
- package/dist/cjs/components/DatePickers/DateRangeSelector.js +2 -0
- package/dist/cjs/components/DatePickers/DateSelector.js +2 -0
- package/dist/cjs/components/DropDowns/CustomMultiSelect.js +2 -0
- package/dist/cjs/components/DropDowns/CustomSingleSelect.js +2 -0
- package/dist/cjs/components/FiltersSidebar/CustomTextInput.js +2 -0
- package/dist/cjs/components/FiltersSidebar/FiltersSidebar.js +2 -0
- package/dist/cjs/components/Graph/Graph.js +2 -0
- package/dist/cjs/components/Graph/LineChart.js +2 -0
- package/dist/cjs/components/Graph/PlotBySelector.js +2 -0
- package/dist/cjs/components/MetricCard/MetricCard.js +2 -0
- package/dist/cjs/components/Table/FTable.js +2 -0
- package/dist/cjs/components/Table/SortDropdown.js +2 -0
- package/dist/cjs/components/Table/TableCard.js +2 -0
- package/dist/cjs/components/ui/chart.js +2 -0
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/styles.css +1 -1
- package/dist/components/DashboardCard/BreakingNewsBanner.js +2 -0
- package/dist/components/DashboardCard/CardShell.js +2 -0
- package/dist/components/DashboardCard/CenteredCell.js +2 -0
- package/dist/components/DashboardCard/DashboardCard.js +2 -0
- package/dist/components/DashboardCard/DetailRow.js +2 -0
- package/dist/components/DashboardCard/EventsSection.js +2 -0
- package/dist/components/DashboardCard/FooterLinkButton.js +2 -0
- package/dist/components/DashboardCard/GridSection.js +2 -0
- package/dist/components/DashboardCard/ListSection.js +2 -0
- package/dist/components/DashboardCard/SectionHeadingBar.js +2 -0
- package/dist/components/DashboardCard/SkeletonRow.js +2 -0
- package/dist/components/DashboardCard/TagsSection.js +2 -0
- package/dist/components/DashboardCard/TopDropdownMenu.js +2 -0
- package/dist/components/DashboardDateFilter/DashboardDateFilter.js +2 -0
- package/dist/components/DashboardDateFilter/datePreset.js +2 -0
- package/dist/components/DatePickers/DatePicker.js +2 -0
- package/dist/components/DatePickers/DateRangeSelector.js +2 -0
- package/dist/components/DatePickers/DateSelector.js +2 -0
- package/dist/components/DropDowns/CustomMultiSelect.js +2 -0
- package/dist/components/DropDowns/CustomSingleSelect.js +2 -0
- package/dist/components/FiltersSidebar/CustomTextInput.js +2 -0
- package/dist/components/FiltersSidebar/FiltersSidebar.js +2 -0
- package/dist/components/Graph/Graph.js +2 -0
- package/dist/components/Graph/LineChart.js +2 -0
- package/dist/components/Graph/PlotBySelector.js +2 -0
- package/dist/components/MetricCard/MetricCard.js +2 -0
- package/dist/components/Table/FTable.js +2 -0
- package/dist/components/Table/SortDropdown.js +2 -0
- package/dist/components/Table/TableCard.js +2 -0
- package/dist/components/ui/chart.js +2 -0
- package/dist/index.js +1 -1
- package/dist/styles.css +1 -1
- package/dist/types/App.d.ts +2 -2
- package/dist/types/App.d.ts.map +1 -1
- package/dist/types/components/DashboardCard/BreakingNewsBanner.d.ts.map +1 -0
- package/dist/types/components/DashboardCard/CardShell.d.ts.map +1 -0
- package/dist/types/components/DashboardCard/CenteredCell.d.ts.map +1 -0
- package/dist/types/components/DashboardCard/DashboardCard.d.ts.map +1 -0
- package/dist/types/components/DashboardCard/DetailRow.d.ts.map +1 -0
- package/dist/types/{ExecutiveDashboard/components → components}/DashboardCard/EventsSection.d.ts +1 -2
- package/dist/types/components/DashboardCard/EventsSection.d.ts.map +1 -0
- package/dist/types/components/DashboardCard/FooterLinkButton.d.ts.map +1 -0
- package/dist/types/components/DashboardCard/GridSection.d.ts +3 -0
- package/dist/types/components/DashboardCard/GridSection.d.ts.map +1 -0
- package/dist/types/{ExecutiveDashboard/components → components}/DashboardCard/ListSection.d.ts +2 -3
- package/dist/types/components/DashboardCard/ListSection.d.ts.map +1 -0
- package/dist/types/components/DashboardCard/SectionHeadingBar.d.ts.map +1 -0
- package/dist/types/components/DashboardCard/SkeletonRow.d.ts.map +1 -0
- package/dist/types/{ExecutiveDashboard/components → components}/DashboardCard/TagsSection.d.ts +1 -2
- package/dist/types/components/DashboardCard/TagsSection.d.ts.map +1 -0
- package/dist/types/components/DashboardCard/TopDropdownMenu.d.ts.map +1 -0
- package/dist/types/{ExecutiveDashboard/components → components}/DashboardCard/sectionContent.d.ts +1 -1
- package/dist/types/components/DashboardCard/sectionContent.d.ts.map +1 -0
- package/dist/types/components/DashboardCard/styles/DashboardCardStyles.d.ts.map +1 -0
- package/dist/types/components/DashboardCard/types.d.ts.map +1 -0
- package/dist/types/{ExecutiveDashboard/components → components}/DashboardDateFilter/DashboardDateFilter.d.ts +1 -8
- package/dist/types/components/DashboardDateFilter/DashboardDateFilter.d.ts.map +1 -0
- package/dist/types/components/DashboardDateFilter/DashboardDateFilter.types.d.ts.map +1 -0
- package/dist/types/{RecordDashboard/RecordComponents/DashboardDateFilter/RecordDatePreset.d.ts → components/DashboardDateFilter/datePreset.d.ts} +15 -16
- package/dist/types/components/DashboardDateFilter/datePreset.d.ts.map +1 -0
- package/dist/types/{ExecutiveDashboard/components → components}/DatePickers/DatePicker.d.ts +1 -2
- package/dist/types/components/DatePickers/DatePicker.d.ts.map +1 -0
- package/dist/types/components/DatePickers/DateRangeSelector.d.ts.map +1 -0
- package/dist/types/{ExecutiveDashboard/components → components}/DatePickers/DateSelector.d.ts +1 -1
- package/dist/types/components/DatePickers/DateSelector.d.ts.map +1 -0
- package/dist/types/{ExecutiveDashboard/components → components}/DropDowns/CustomMultiSelect.d.ts +1 -2
- package/dist/types/components/DropDowns/CustomMultiSelect.d.ts.map +1 -0
- package/dist/types/{ExecutiveDashboard/components → components}/DropDowns/CustomSingleSelect.d.ts +1 -2
- package/dist/types/components/DropDowns/CustomSingleSelect.d.ts.map +1 -0
- package/dist/types/{ExecutiveDashboard/components → components}/FiltersSidebar/CustomTextInput.d.ts +1 -2
- package/dist/types/components/FiltersSidebar/CustomTextInput.d.ts.map +1 -0
- package/dist/types/{ExecutiveDashboard/components → components}/FiltersSidebar/FiltersSidebar.d.ts +1 -2
- package/dist/types/components/FiltersSidebar/FiltersSidebar.d.ts.map +1 -0
- package/dist/types/{ExecutiveDashboard/components → components}/Graph/Graph.d.ts +1 -2
- package/dist/types/components/Graph/Graph.d.ts.map +1 -0
- package/dist/types/{ExecutiveDashboard/components → components}/Graph/LineChart.d.ts +2 -5
- package/dist/types/components/Graph/LineChart.d.ts.map +1 -0
- package/dist/types/{ExecutiveDashboard/components → components}/Graph/PlotBySelector.d.ts +1 -2
- package/dist/types/components/Graph/PlotBySelector.d.ts.map +1 -0
- package/dist/types/{RecordDashboard/RecordComponents → components}/Graph/types.d.ts +41 -41
- package/dist/types/components/Graph/types.d.ts.map +1 -0
- package/dist/types/components/MetricCard/MetricCard.d.ts +31 -0
- package/dist/types/components/MetricCard/MetricCard.d.ts.map +1 -0
- package/dist/types/{ExecutiveDashboard/components → components}/Table/FTable.d.ts +11 -12
- package/dist/types/components/Table/FTable.d.ts.map +1 -0
- package/dist/types/{ExecutiveDashboard/components → components}/Table/SortDropdown.d.ts +1 -2
- package/dist/types/components/Table/SortDropdown.d.ts.map +1 -0
- package/dist/types/{ExecutiveDashboard/components → components}/Table/TableCard.d.ts +2 -3
- package/dist/types/components/Table/TableCard.d.ts.map +1 -0
- package/dist/types/{ExecutiveDashboard/components → components}/ui/chart.d.ts +0 -1
- package/dist/types/components/ui/chart.d.ts.map +1 -0
- package/dist/types/components/ui/utils.d.ts.map +1 -0
- package/dist/types/index.d.ts +19 -85
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +9 -12
- package/dist/ExecutiveDashboard/ExecutiveDashboardWrapper.js +0 -2
- package/dist/ExecutiveDashboard/ExecutiveDashboardWrapper.js.map +0 -1
- package/dist/ExecutiveDashboard/api/dashboardApi.js +0 -2
- package/dist/ExecutiveDashboard/api/dashboardApi.js.map +0 -1
- package/dist/ExecutiveDashboard/components/DashboardCard/BreakingNewsBanner.js +0 -2
- package/dist/ExecutiveDashboard/components/DashboardCard/CardShell.js +0 -2
- package/dist/ExecutiveDashboard/components/DashboardCard/CenteredCell.js +0 -2
- package/dist/ExecutiveDashboard/components/DashboardCard/DashboardCard.js +0 -2
- package/dist/ExecutiveDashboard/components/DashboardCard/DetailRow.js +0 -2
- package/dist/ExecutiveDashboard/components/DashboardCard/EventsSection.js +0 -2
- package/dist/ExecutiveDashboard/components/DashboardCard/FooterLinkButton.js +0 -2
- package/dist/ExecutiveDashboard/components/DashboardCard/GridSection.js +0 -2
- package/dist/ExecutiveDashboard/components/DashboardCard/ListSection.js +0 -2
- package/dist/ExecutiveDashboard/components/DashboardCard/SectionHeadingBar.js +0 -2
- package/dist/ExecutiveDashboard/components/DashboardCard/SkeletonRow.js +0 -2
- package/dist/ExecutiveDashboard/components/DashboardCard/TagsSection.js +0 -2
- package/dist/ExecutiveDashboard/components/DashboardCard/TopDropdownMenu.js +0 -2
- package/dist/ExecutiveDashboard/components/DashboardDateFilter/DashboardDateFilter.js +0 -2
- package/dist/ExecutiveDashboard/components/DashboardDateFilter/datePreset.js +0 -2
- package/dist/ExecutiveDashboard/components/DashboardSkeleton/DashboardSkeleton.js +0 -2
- package/dist/ExecutiveDashboard/components/DashboardSkeleton/DashboardSkeleton.js.map +0 -1
- package/dist/ExecutiveDashboard/components/DatePickers/DatePicker.js +0 -2
- package/dist/ExecutiveDashboard/components/DatePickers/DateRangeSelector.js +0 -2
- package/dist/ExecutiveDashboard/components/DatePickers/DateSelector.js +0 -2
- package/dist/ExecutiveDashboard/components/DropDowns/CustomMultiSelect.js +0 -2
- package/dist/ExecutiveDashboard/components/DropDowns/CustomSingleSelect.js +0 -2
- package/dist/ExecutiveDashboard/components/ExecutiveDashboard.js +0 -2
- package/dist/ExecutiveDashboard/components/ExecutiveDashboard.js.map +0 -1
- package/dist/ExecutiveDashboard/components/FiltersSidebar/CustomTextInput.js +0 -2
- package/dist/ExecutiveDashboard/components/FiltersSidebar/FiltersSidebar.js +0 -2
- package/dist/ExecutiveDashboard/components/Graph/Graph.js +0 -2
- package/dist/ExecutiveDashboard/components/Graph/GraphEmptyState.js +0 -2
- package/dist/ExecutiveDashboard/components/Graph/GraphEmptyState.js.map +0 -1
- package/dist/ExecutiveDashboard/components/Graph/GraphSkeleton.js +0 -2
- package/dist/ExecutiveDashboard/components/Graph/GraphSkeleton.js.map +0 -1
- package/dist/ExecutiveDashboard/components/Graph/LineChart.js +0 -2
- package/dist/ExecutiveDashboard/components/Graph/PlotBySelector.js +0 -2
- package/dist/ExecutiveDashboard/components/Graph/Seperator.js +0 -2
- package/dist/ExecutiveDashboard/components/Graph/Seperator.js.map +0 -1
- package/dist/ExecutiveDashboard/components/MetricCard/MetricCard.js +0 -2
- package/dist/ExecutiveDashboard/components/Table/FTable.js +0 -2
- package/dist/ExecutiveDashboard/components/Table/SortDropdown.js +0 -2
- package/dist/ExecutiveDashboard/components/Table/TableCard.js +0 -2
- package/dist/ExecutiveDashboard/components/Table/TableGrid/TableGrid.js +0 -2
- package/dist/ExecutiveDashboard/components/Table/TableGrid/TableGrid.js.map +0 -1
- package/dist/ExecutiveDashboard/components/Table/TableGrid/TableLayoutToggle.js +0 -2
- package/dist/ExecutiveDashboard/components/Table/TableGrid/TableLayoutToggle.js.map +0 -1
- package/dist/ExecutiveDashboard/components/Table/TableGrid/spans.js +0 -2
- package/dist/ExecutiveDashboard/components/Table/TableGrid/spans.js.map +0 -1
- package/dist/ExecutiveDashboard/components/Table/TableGrid/useResponsiveColumns.js +0 -2
- package/dist/ExecutiveDashboard/components/Table/TableGrid/useResponsiveColumns.js.map +0 -1
- package/dist/ExecutiveDashboard/components/ui/chart.js +0 -2
- package/dist/ExecutiveDashboard/hooks/useVisibilityPolling.js +0 -2
- package/dist/ExecutiveDashboard/hooks/useVisibilityPolling.js.map +0 -1
- package/dist/ExecutiveDashboard/utils/index.js +0 -2
- package/dist/ExecutiveDashboard/utils/index.js.map +0 -1
- package/dist/ExecutiveDashboard/utils/kpiIcon.js +0 -2
- package/dist/ExecutiveDashboard/utils/kpiIcon.js.map +0 -1
- package/dist/ExecutiveDashboard/utils/sectionOrder.js +0 -2
- package/dist/ExecutiveDashboard/utils/sectionOrder.js.map +0 -1
- package/dist/ExecutiveDashboard/utils/tableColumns.js +0 -2
- package/dist/ExecutiveDashboard/utils/tableColumns.js.map +0 -1
- package/dist/RecordDashboard/RecordApi/RecordDashboardApi.js +0 -2
- package/dist/RecordDashboard/RecordApi/RecordDashboardApi.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/AnalyticsChart/AnalyticsChart.js +0 -2
- package/dist/RecordDashboard/RecordComponents/AnalyticsChart/AnalyticsChart.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordBreakingNewsBanner.js +0 -2
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordBreakingNewsBanner.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordCardShell.js +0 -2
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordCardShell.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordCenteredCell.js +0 -2
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordCenteredCell.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordDashboardCard.js +0 -2
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordDashboardCard.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordDetailRow.js +0 -2
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordDetailRow.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordEventsSection.js +0 -2
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordEventsSection.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordFooterLinkButton.js +0 -2
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordFooterLinkButton.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordGridSection.js +0 -2
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordGridSection.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordListSection.js +0 -2
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordListSection.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordSectionContent.js +0 -2
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordSectionContent.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordSectionHeadingBar.js +0 -2
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordSectionHeadingBar.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordSkeletonRow.js +0 -2
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordSkeletonRow.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordTagsSection.js +0 -2
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordTagsSection.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordTopDropdownMenu.js +0 -2
- package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordTopDropdownMenu.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/DashboardCard/styles/RecordDashboardCardStyles.js +0 -2
- package/dist/RecordDashboard/RecordComponents/DashboardCard/styles/RecordDashboardCardStyles.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDashboardDateFilter.js +0 -2
- package/dist/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDashboardDateFilter.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDatePreset.js +0 -2
- package/dist/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDatePreset.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/DashboardSkeleton/RecordDashboardSkeleton.js +0 -2
- package/dist/RecordDashboard/RecordComponents/DashboardSkeleton/RecordDashboardSkeleton.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/DatePickers/RecordDatePicker.js +0 -2
- package/dist/RecordDashboard/RecordComponents/DatePickers/RecordDatePicker.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/DatePickers/RecordDateRangeSelector.js +0 -2
- package/dist/RecordDashboard/RecordComponents/DatePickers/RecordDateRangeSelector.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/DatePickers/RecordDateSelector.js +0 -2
- package/dist/RecordDashboard/RecordComponents/DatePickers/RecordDateSelector.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/DropDowns/RecordCustomMultiSelect.js +0 -2
- package/dist/RecordDashboard/RecordComponents/DropDowns/RecordCustomMultiSelect.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/DropDowns/RecordCustomSingleSelect.js +0 -2
- package/dist/RecordDashboard/RecordComponents/DropDowns/RecordCustomSingleSelect.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/FiltersSidebar/RecordCustomTextInput.js +0 -2
- package/dist/RecordDashboard/RecordComponents/FiltersSidebar/RecordCustomTextInput.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/FiltersSidebar/RecordFiltersSidebar.js +0 -2
- package/dist/RecordDashboard/RecordComponents/FiltersSidebar/RecordFiltersSidebar.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/Graph/RecordGraph.js +0 -2
- package/dist/RecordDashboard/RecordComponents/Graph/RecordGraph.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/Graph/RecordGraphEmptyState.js +0 -2
- package/dist/RecordDashboard/RecordComponents/Graph/RecordGraphEmptyState.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/Graph/RecordGraphSkeleton.js +0 -2
- package/dist/RecordDashboard/RecordComponents/Graph/RecordGraphSkeleton.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/Graph/RecordLineChart.js +0 -2
- package/dist/RecordDashboard/RecordComponents/Graph/RecordLineChart.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/Graph/RecordPlotBySelector.js +0 -2
- package/dist/RecordDashboard/RecordComponents/Graph/RecordPlotBySelector.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/Graph/types.js +0 -2
- package/dist/RecordDashboard/RecordComponents/MetricCard/RecordMetricCard.js +0 -2
- package/dist/RecordDashboard/RecordComponents/MetricCard/RecordMetricCard.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/RecordDashboard.js +0 -2
- package/dist/RecordDashboard/RecordComponents/RecordDashboard.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/StatsCard/RecordDashboardStats.js +0 -2
- package/dist/RecordDashboard/RecordComponents/StatsCard/RecordDashboardStats.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/Table/Pagination/TablePagination.js +0 -2
- package/dist/RecordDashboard/RecordComponents/Table/Pagination/TablePagination.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/Table/RecordFTable.js +0 -2
- package/dist/RecordDashboard/RecordComponents/Table/RecordFTable.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/Table/RecordSortDropdown.js +0 -2
- package/dist/RecordDashboard/RecordComponents/Table/RecordSortDropdown.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/Table/RecordTableCard.js +0 -2
- package/dist/RecordDashboard/RecordComponents/Table/RecordTableCard.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/Table/TableGrid/RecordSpans.js +0 -2
- package/dist/RecordDashboard/RecordComponents/Table/TableGrid/RecordSpans.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableGrid.js +0 -2
- package/dist/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableGrid.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableLayoutToggle.js +0 -2
- package/dist/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableLayoutToggle.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/Table/TableGrid/useRecordResponsiveColumns.js +0 -2
- package/dist/RecordDashboard/RecordComponents/Table/TableGrid/useRecordResponsiveColumns.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/TableHeader/TableHeader.js +0 -2
- package/dist/RecordDashboard/RecordComponents/TableHeader/TableHeader.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/ui/RecordChart.js +0 -2
- package/dist/RecordDashboard/RecordComponents/ui/RecordChart.js.map +0 -1
- package/dist/RecordDashboard/RecordComponents/ui/utils.js +0 -2
- package/dist/RecordDashboard/RecordDashboardWrapper.js +0 -2
- package/dist/RecordDashboard/RecordDashboardWrapper.js.map +0 -1
- package/dist/RecordDashboard/RecordUtils/RecordKpiIcon.js +0 -2
- package/dist/RecordDashboard/RecordUtils/RecordKpiIcon.js.map +0 -1
- package/dist/RecordDashboard/RecordUtils/RecordSectionOrder.js +0 -2
- package/dist/RecordDashboard/RecordUtils/RecordSectionOrder.js.map +0 -1
- package/dist/RecordDashboard/RecordUtils/RecordTableColumns.js +0 -2
- package/dist/RecordDashboard/RecordUtils/RecordTableColumns.js.map +0 -1
- package/dist/RecordDashboard/RecordUtils/index.js +0 -2
- package/dist/RecordDashboard/RecordUtils/index.js.map +0 -1
- package/dist/cjs/ExecutiveDashboard/ExecutiveDashboardWrapper.js +0 -2
- package/dist/cjs/ExecutiveDashboard/ExecutiveDashboardWrapper.js.map +0 -1
- package/dist/cjs/ExecutiveDashboard/api/dashboardApi.js +0 -2
- package/dist/cjs/ExecutiveDashboard/api/dashboardApi.js.map +0 -1
- package/dist/cjs/ExecutiveDashboard/components/DashboardCard/BreakingNewsBanner.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/DashboardCard/CardShell.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/DashboardCard/CenteredCell.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/DashboardCard/DashboardCard.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/DashboardCard/DetailRow.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/DashboardCard/EventsSection.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/DashboardCard/FooterLinkButton.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/DashboardCard/GridSection.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/DashboardCard/ListSection.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/DashboardCard/SectionHeadingBar.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/DashboardCard/SkeletonRow.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/DashboardCard/TagsSection.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/DashboardCard/TopDropdownMenu.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/DashboardDateFilter/DashboardDateFilter.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/DashboardDateFilter/datePreset.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/DashboardSkeleton/DashboardSkeleton.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/DashboardSkeleton/DashboardSkeleton.js.map +0 -1
- package/dist/cjs/ExecutiveDashboard/components/DatePickers/DatePicker.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/DatePickers/DateRangeSelector.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/DatePickers/DateSelector.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/DropDowns/CustomMultiSelect.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/DropDowns/CustomSingleSelect.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/ExecutiveDashboard.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/ExecutiveDashboard.js.map +0 -1
- package/dist/cjs/ExecutiveDashboard/components/FiltersSidebar/CustomTextInput.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/FiltersSidebar/FiltersSidebar.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/Graph/Graph.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/Graph/GraphEmptyState.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/Graph/GraphEmptyState.js.map +0 -1
- package/dist/cjs/ExecutiveDashboard/components/Graph/GraphSkeleton.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/Graph/GraphSkeleton.js.map +0 -1
- package/dist/cjs/ExecutiveDashboard/components/Graph/LineChart.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/Graph/PlotBySelector.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/Graph/Seperator.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/Graph/Seperator.js.map +0 -1
- package/dist/cjs/ExecutiveDashboard/components/Graph/types.js.map +0 -1
- package/dist/cjs/ExecutiveDashboard/components/MetricCard/MetricCard.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/Table/FTable.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/Table/SortDropdown.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/Table/TableCard.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/Table/TableGrid/TableGrid.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/Table/TableGrid/TableGrid.js.map +0 -1
- package/dist/cjs/ExecutiveDashboard/components/Table/TableGrid/TableLayoutToggle.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/Table/TableGrid/TableLayoutToggle.js.map +0 -1
- package/dist/cjs/ExecutiveDashboard/components/Table/TableGrid/spans.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/Table/TableGrid/spans.js.map +0 -1
- package/dist/cjs/ExecutiveDashboard/components/Table/TableGrid/useResponsiveColumns.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/Table/TableGrid/useResponsiveColumns.js.map +0 -1
- package/dist/cjs/ExecutiveDashboard/components/ui/chart.js +0 -2
- package/dist/cjs/ExecutiveDashboard/components/ui/utils.js.map +0 -1
- package/dist/cjs/ExecutiveDashboard/hooks/useVisibilityPolling.js +0 -2
- package/dist/cjs/ExecutiveDashboard/hooks/useVisibilityPolling.js.map +0 -1
- package/dist/cjs/ExecutiveDashboard/utils/index.js +0 -2
- package/dist/cjs/ExecutiveDashboard/utils/index.js.map +0 -1
- package/dist/cjs/ExecutiveDashboard/utils/kpiIcon.js +0 -2
- package/dist/cjs/ExecutiveDashboard/utils/kpiIcon.js.map +0 -1
- package/dist/cjs/ExecutiveDashboard/utils/sectionOrder.js +0 -2
- package/dist/cjs/ExecutiveDashboard/utils/sectionOrder.js.map +0 -1
- package/dist/cjs/ExecutiveDashboard/utils/tableColumns.js +0 -2
- package/dist/cjs/ExecutiveDashboard/utils/tableColumns.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordApi/RecordDashboardApi.js +0 -2
- package/dist/cjs/RecordDashboard/RecordApi/RecordDashboardApi.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/AnalyticsChart/AnalyticsChart.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/AnalyticsChart/AnalyticsChart.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordBreakingNewsBanner.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordBreakingNewsBanner.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordCardShell.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordCardShell.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordCenteredCell.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordCenteredCell.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordDashboardCard.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordDashboardCard.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordDetailRow.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordDetailRow.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordEventsSection.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordEventsSection.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordFooterLinkButton.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordFooterLinkButton.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordGridSection.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordGridSection.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordListSection.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordListSection.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordSectionContent.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordSectionContent.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordSectionHeadingBar.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordSectionHeadingBar.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordSkeletonRow.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordSkeletonRow.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordTagsSection.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordTagsSection.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordTopDropdownMenu.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordTopDropdownMenu.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/styles/RecordDashboardCardStyles.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/styles/RecordDashboardCardStyles.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDashboardDateFilter.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDashboardDateFilter.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDatePreset.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDatePreset.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardSkeleton/RecordDashboardSkeleton.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/DashboardSkeleton/RecordDashboardSkeleton.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/DatePickers/RecordDatePicker.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/DatePickers/RecordDatePicker.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/DatePickers/RecordDateRangeSelector.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/DatePickers/RecordDateRangeSelector.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/DatePickers/RecordDateSelector.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/DatePickers/RecordDateSelector.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/DropDowns/RecordCustomMultiSelect.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/DropDowns/RecordCustomMultiSelect.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/DropDowns/RecordCustomSingleSelect.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/DropDowns/RecordCustomSingleSelect.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/FiltersSidebar/RecordCustomTextInput.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/FiltersSidebar/RecordCustomTextInput.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/FiltersSidebar/RecordFiltersSidebar.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/FiltersSidebar/RecordFiltersSidebar.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/Graph/RecordGraph.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/Graph/RecordGraph.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/Graph/RecordGraphEmptyState.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/Graph/RecordGraphEmptyState.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/Graph/RecordGraphSkeleton.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/Graph/RecordGraphSkeleton.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/Graph/RecordLineChart.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/Graph/RecordLineChart.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/Graph/RecordPlotBySelector.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/Graph/RecordPlotBySelector.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/Graph/types.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/Graph/types.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/MetricCard/RecordMetricCard.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/MetricCard/RecordMetricCard.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/RecordDashboard.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/RecordDashboard.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/StatsCard/RecordDashboardStats.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/StatsCard/RecordDashboardStats.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/Table/Pagination/TablePagination.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/Table/Pagination/TablePagination.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/Table/RecordFTable.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/Table/RecordFTable.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/Table/RecordSortDropdown.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/Table/RecordSortDropdown.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/Table/RecordTableCard.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/Table/RecordTableCard.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/Table/TableGrid/RecordSpans.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/Table/TableGrid/RecordSpans.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableGrid.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableGrid.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableLayoutToggle.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableLayoutToggle.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/Table/TableGrid/useRecordResponsiveColumns.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/Table/TableGrid/useRecordResponsiveColumns.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/TableHeader/TableHeader.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/TableHeader/TableHeader.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/ui/RecordChart.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/ui/RecordChart.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordComponents/ui/utils.js +0 -2
- package/dist/cjs/RecordDashboard/RecordComponents/ui/utils.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordDashboardWrapper.js +0 -2
- package/dist/cjs/RecordDashboard/RecordDashboardWrapper.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordUtils/RecordKpiIcon.js +0 -2
- package/dist/cjs/RecordDashboard/RecordUtils/RecordKpiIcon.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordUtils/RecordSectionOrder.js +0 -2
- package/dist/cjs/RecordDashboard/RecordUtils/RecordSectionOrder.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordUtils/RecordTableColumns.js +0 -2
- package/dist/cjs/RecordDashboard/RecordUtils/RecordTableColumns.js.map +0 -1
- package/dist/cjs/RecordDashboard/RecordUtils/index.js +0 -2
- package/dist/cjs/RecordDashboard/RecordUtils/index.js.map +0 -1
- package/dist/cjs/node_modules/@kurkle/color/dist/color.esm.js +0 -9
- package/dist/cjs/node_modules/@kurkle/color/dist/color.esm.js.map +0 -1
- package/dist/cjs/node_modules/chart.js/auto/auto.js +0 -2
- package/dist/cjs/node_modules/chart.js/auto/auto.js.map +0 -1
- package/dist/cjs/node_modules/chart.js/dist/chart.js +0 -8
- package/dist/cjs/node_modules/chart.js/dist/chart.js.map +0 -1
- package/dist/cjs/node_modules/chart.js/dist/chunks/helpers.dataset.js +0 -8
- package/dist/cjs/node_modules/chart.js/dist/chunks/helpers.dataset.js.map +0 -1
- package/dist/cjs/node_modules/chartjs-plugin-datalabels/dist/chartjs-plugin-datalabels.esm.js +0 -2
- package/dist/cjs/node_modules/chartjs-plugin-datalabels/dist/chartjs-plugin-datalabels.esm.js.map +0 -1
- package/dist/node_modules/@kurkle/color/dist/color.esm.js +0 -8
- package/dist/node_modules/@kurkle/color/dist/color.esm.js.map +0 -1
- package/dist/node_modules/chart.js/auto/auto.js +0 -2
- package/dist/node_modules/chart.js/auto/auto.js.map +0 -1
- package/dist/node_modules/chart.js/dist/chart.js +0 -8
- package/dist/node_modules/chart.js/dist/chart.js.map +0 -1
- package/dist/node_modules/chart.js/dist/chunks/helpers.dataset.js +0 -8
- package/dist/node_modules/chart.js/dist/chunks/helpers.dataset.js.map +0 -1
- package/dist/node_modules/chartjs-plugin-datalabels/dist/chartjs-plugin-datalabels.esm.js +0 -8
- package/dist/node_modules/chartjs-plugin-datalabels/dist/chartjs-plugin-datalabels.esm.js.map +0 -1
- package/dist/types/ExecutiveDashboard/ExecutiveDashboardWrapper.d.ts +0 -5
- package/dist/types/ExecutiveDashboard/ExecutiveDashboardWrapper.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/TestExecutiveDashboard.d.ts +0 -3
- package/dist/types/ExecutiveDashboard/TestExecutiveDashboard.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/api/dashboardApi.d.ts +0 -31
- package/dist/types/ExecutiveDashboard/api/dashboardApi.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/DashboardCard/BreakingNewsBanner.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/DashboardCard/CardShell.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/DashboardCard/CenteredCell.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/DashboardCard/DashboardCard.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/DashboardCard/DetailRow.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/DashboardCard/EventsSection.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/DashboardCard/FooterLinkButton.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/DashboardCard/GridSection.d.ts +0 -4
- package/dist/types/ExecutiveDashboard/components/DashboardCard/GridSection.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/DashboardCard/ListSection.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/DashboardCard/SectionHeadingBar.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/DashboardCard/SkeletonRow.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/DashboardCard/TagsSection.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/DashboardCard/TopDropdownMenu.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/DashboardCard/sectionContent.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/DashboardCard/styles/DashboardCardStyles.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/DashboardCard/types.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/DashboardDateFilter/DashboardDateFilter.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/DashboardDateFilter/DashboardDateFilter.types.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/DashboardDateFilter/datePreset.d.ts +0 -137
- package/dist/types/ExecutiveDashboard/components/DashboardDateFilter/datePreset.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/DashboardSkeleton/DashboardSkeleton.d.ts +0 -5
- package/dist/types/ExecutiveDashboard/components/DashboardSkeleton/DashboardSkeleton.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/DatePickers/DatePicker.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/DatePickers/DateRangeSelector.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/DatePickers/DateSelector.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/DropDowns/CustomMultiSelect.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/DropDowns/CustomSingleSelect.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/ExecutiveDashboard.d.ts +0 -59
- package/dist/types/ExecutiveDashboard/components/ExecutiveDashboard.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/FiltersSidebar/CustomTextInput.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/FiltersSidebar/FiltersSidebar.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/Graph/Graph.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/Graph/GraphEmptyState.d.ts +0 -11
- package/dist/types/ExecutiveDashboard/components/Graph/GraphEmptyState.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/Graph/GraphSkeleton.d.ts +0 -11
- package/dist/types/ExecutiveDashboard/components/Graph/GraphSkeleton.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/Graph/LineChart.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/Graph/PlotBySelector.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/Graph/Seperator.d.ts +0 -7
- package/dist/types/ExecutiveDashboard/components/Graph/Seperator.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/Graph/types.d.ts +0 -278
- package/dist/types/ExecutiveDashboard/components/Graph/types.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/MetricCard/MetricCard.d.ts +0 -49
- package/dist/types/ExecutiveDashboard/components/MetricCard/MetricCard.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/Table/FTable.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/Table/SortDropdown.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/Table/TableCard.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/Table/TableGrid/TableGrid.d.ts +0 -54
- package/dist/types/ExecutiveDashboard/components/Table/TableGrid/TableGrid.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/Table/TableGrid/TableLayoutToggle.d.ts +0 -20
- package/dist/types/ExecutiveDashboard/components/Table/TableGrid/TableLayoutToggle.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/Table/TableGrid/spans.d.ts +0 -15
- package/dist/types/ExecutiveDashboard/components/Table/TableGrid/spans.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/Table/TableGrid/useResponsiveColumns.d.ts +0 -17
- package/dist/types/ExecutiveDashboard/components/Table/TableGrid/useResponsiveColumns.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/common/Accordion.d.ts +0 -34
- package/dist/types/ExecutiveDashboard/components/common/Accordion.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/ui/chart.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/components/ui/utils.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/constant/index.d.ts +0 -5
- package/dist/types/ExecutiveDashboard/constant/index.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/hooks/useVisibilityPolling.d.ts +0 -12
- package/dist/types/ExecutiveDashboard/hooks/useVisibilityPolling.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/types/index.d.ts +0 -416
- package/dist/types/ExecutiveDashboard/types/index.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/utils/index.d.ts +0 -65
- package/dist/types/ExecutiveDashboard/utils/index.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/utils/kpiIcon.d.ts +0 -4
- package/dist/types/ExecutiveDashboard/utils/kpiIcon.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/utils/sectionOrder.d.ts +0 -43
- package/dist/types/ExecutiveDashboard/utils/sectionOrder.d.ts.map +0 -1
- package/dist/types/ExecutiveDashboard/utils/tableColumns.d.ts +0 -16
- package/dist/types/ExecutiveDashboard/utils/tableColumns.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordApi/RecordDashboardApi.d.ts +0 -31
- package/dist/types/RecordDashboard/RecordApi/RecordDashboardApi.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/AnalyticsChart/AnalyticsChart.d.ts +0 -20
- package/dist/types/RecordDashboard/RecordComponents/AnalyticsChart/AnalyticsChart.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordBreakingNewsBanner.d.ts +0 -9
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordBreakingNewsBanner.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordCardShell.d.ts +0 -22
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordCardShell.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordCenteredCell.d.ts +0 -6
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordCenteredCell.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordDashboardCard.d.ts +0 -5
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordDashboardCard.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordDetailRow.d.ts +0 -9
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordDetailRow.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordEventsSection.d.ts +0 -4
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordEventsSection.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordFooterLinkButton.d.ts +0 -6
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordFooterLinkButton.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordGridSection.d.ts +0 -4
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordGridSection.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordListSection.d.ts +0 -5
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordListSection.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordSectionContent.d.ts +0 -4
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordSectionContent.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordSectionHeadingBar.d.ts +0 -9
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordSectionHeadingBar.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordSkeletonRow.d.ts +0 -3
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordSkeletonRow.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordTagsSection.d.ts +0 -4
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordTagsSection.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordTopDropdownMenu.d.ts +0 -6
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordTopDropdownMenu.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/styles/RecordDashboardCardStyles.d.ts +0 -17
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/styles/RecordDashboardCardStyles.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/types.d.ts +0 -156
- package/dist/types/RecordDashboard/RecordComponents/DashboardCard/types.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDashboardDateFilter.d.ts +0 -42
- package/dist/types/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDashboardDateFilter.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDashboardDateFilter.types.d.ts +0 -18
- package/dist/types/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDashboardDateFilter.types.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDatePreset.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/DashboardSkeleton/RecordDashboardSkeleton.d.ts +0 -5
- package/dist/types/RecordDashboard/RecordComponents/DashboardSkeleton/RecordDashboardSkeleton.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/DatePickers/RecordDatePicker.d.ts +0 -11
- package/dist/types/RecordDashboard/RecordComponents/DatePickers/RecordDatePicker.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/DatePickers/RecordDateRangeSelector.d.ts +0 -20
- package/dist/types/RecordDashboard/RecordComponents/DatePickers/RecordDateRangeSelector.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/DatePickers/RecordDateSelector.d.ts +0 -19
- package/dist/types/RecordDashboard/RecordComponents/DatePickers/RecordDateSelector.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/DropDowns/RecordCustomMultiSelect.d.ts +0 -18
- package/dist/types/RecordDashboard/RecordComponents/DropDowns/RecordCustomMultiSelect.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/DropDowns/RecordCustomSingleSelect.d.ts +0 -17
- package/dist/types/RecordDashboard/RecordComponents/DropDowns/RecordCustomSingleSelect.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/FiltersSidebar/RecordCustomTextInput.d.ts +0 -13
- package/dist/types/RecordDashboard/RecordComponents/FiltersSidebar/RecordCustomTextInput.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/FiltersSidebar/RecordFiltersSidebar.d.ts +0 -35
- package/dist/types/RecordDashboard/RecordComponents/FiltersSidebar/RecordFiltersSidebar.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/Graph/RecordGraph.d.ts +0 -5
- package/dist/types/RecordDashboard/RecordComponents/Graph/RecordGraph.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/Graph/RecordGraphEmptyState.d.ts +0 -11
- package/dist/types/RecordDashboard/RecordComponents/Graph/RecordGraphEmptyState.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/Graph/RecordGraphSkeleton.d.ts +0 -11
- package/dist/types/RecordDashboard/RecordComponents/Graph/RecordGraphSkeleton.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/Graph/RecordLineChart.d.ts +0 -26
- package/dist/types/RecordDashboard/RecordComponents/Graph/RecordLineChart.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/Graph/RecordPlotBySelector.d.ts +0 -18
- package/dist/types/RecordDashboard/RecordComponents/Graph/RecordPlotBySelector.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/Graph/types.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/MetricCard/RecordMetricCard.d.ts +0 -49
- package/dist/types/RecordDashboard/RecordComponents/MetricCard/RecordMetricCard.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/RecordDashboard.d.ts +0 -84
- package/dist/types/RecordDashboard/RecordComponents/RecordDashboard.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/StatsCard/RecordDashboardStats.d.ts +0 -10
- package/dist/types/RecordDashboard/RecordComponents/StatsCard/RecordDashboardStats.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/Table/Pagination/TablePagination.d.ts +0 -28
- package/dist/types/RecordDashboard/RecordComponents/Table/Pagination/TablePagination.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/Table/RecordFTable.d.ts +0 -70
- package/dist/types/RecordDashboard/RecordComponents/Table/RecordFTable.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/Table/RecordSortDropdown.d.ts +0 -14
- package/dist/types/RecordDashboard/RecordComponents/Table/RecordSortDropdown.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/Table/RecordTableCard.d.ts +0 -43
- package/dist/types/RecordDashboard/RecordComponents/Table/RecordTableCard.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/Table/TableGrid/RecordSpans.d.ts +0 -15
- package/dist/types/RecordDashboard/RecordComponents/Table/TableGrid/RecordSpans.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableGrid.d.ts +0 -54
- package/dist/types/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableGrid.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableLayoutToggle.d.ts +0 -20
- package/dist/types/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableLayoutToggle.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/Table/TableGrid/useRecordResponsiveColumns.d.ts +0 -17
- package/dist/types/RecordDashboard/RecordComponents/Table/TableGrid/useRecordResponsiveColumns.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/TableHeader/TableHeader.d.ts +0 -53
- package/dist/types/RecordDashboard/RecordComponents/TableHeader/TableHeader.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/ui/RecordChart.d.ts +0 -72
- package/dist/types/RecordDashboard/RecordComponents/ui/RecordChart.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordComponents/ui/utils.d.ts +0 -7
- package/dist/types/RecordDashboard/RecordComponents/ui/utils.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordConstant/index.d.ts +0 -5
- package/dist/types/RecordDashboard/RecordConstant/index.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordDashboardWrapper.d.ts +0 -8
- package/dist/types/RecordDashboard/RecordDashboardWrapper.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordTypes/index.d.ts +0 -984
- package/dist/types/RecordDashboard/RecordTypes/index.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordUtils/RecordKpiIcon.d.ts +0 -4
- package/dist/types/RecordDashboard/RecordUtils/RecordKpiIcon.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordUtils/RecordSectionOrder.d.ts +0 -43
- package/dist/types/RecordDashboard/RecordUtils/RecordSectionOrder.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordUtils/RecordTableColumns.d.ts +0 -22
- package/dist/types/RecordDashboard/RecordUtils/RecordTableColumns.d.ts.map +0 -1
- package/dist/types/RecordDashboard/RecordUtils/index.d.ts +0 -65
- package/dist/types/RecordDashboard/RecordUtils/index.d.ts.map +0 -1
- package/dist/types/RecordDashboard/TestRecordDashbaord.d.ts +0 -3
- package/dist/types/RecordDashboard/TestRecordDashbaord.d.ts.map +0 -1
- /package/dist/{ExecutiveDashboard → cjs}/components/DashboardCard/BreakingNewsBanner.js.map +0 -0
- /package/dist/{ExecutiveDashboard → cjs}/components/DashboardCard/CardShell.js.map +0 -0
- /package/dist/{ExecutiveDashboard → cjs}/components/DashboardCard/CenteredCell.js.map +0 -0
- /package/dist/{ExecutiveDashboard → cjs}/components/DashboardCard/DashboardCard.js.map +0 -0
- /package/dist/{ExecutiveDashboard → cjs}/components/DashboardCard/DetailRow.js.map +0 -0
- /package/dist/{ExecutiveDashboard → cjs}/components/DashboardCard/EventsSection.js.map +0 -0
- /package/dist/{ExecutiveDashboard → cjs}/components/DashboardCard/FooterLinkButton.js.map +0 -0
- /package/dist/{ExecutiveDashboard → cjs}/components/DashboardCard/GridSection.js.map +0 -0
- /package/dist/{ExecutiveDashboard → cjs}/components/DashboardCard/ListSection.js.map +0 -0
- /package/dist/{ExecutiveDashboard → cjs}/components/DashboardCard/SectionHeadingBar.js.map +0 -0
- /package/dist/{ExecutiveDashboard → cjs}/components/DashboardCard/SkeletonRow.js.map +0 -0
- /package/dist/{ExecutiveDashboard → cjs}/components/DashboardCard/TagsSection.js.map +0 -0
- /package/dist/{ExecutiveDashboard → cjs}/components/DashboardCard/TopDropdownMenu.js.map +0 -0
- /package/dist/cjs/{ExecutiveDashboard/components → components}/DashboardCard/sectionContent.js +0 -0
- /package/dist/{ExecutiveDashboard → cjs}/components/DashboardCard/sectionContent.js.map +0 -0
- /package/dist/cjs/{ExecutiveDashboard/components → components}/DashboardCard/styles/DashboardCardStyles.js +0 -0
- /package/dist/{ExecutiveDashboard → cjs}/components/DashboardCard/styles/DashboardCardStyles.js.map +0 -0
- /package/dist/{ExecutiveDashboard → cjs}/components/DashboardDateFilter/DashboardDateFilter.js.map +0 -0
- /package/dist/{ExecutiveDashboard → cjs}/components/DashboardDateFilter/datePreset.js.map +0 -0
- /package/dist/{ExecutiveDashboard → cjs}/components/DatePickers/DatePicker.js.map +0 -0
- /package/dist/{ExecutiveDashboard → cjs}/components/DatePickers/DateRangeSelector.js.map +0 -0
- /package/dist/{ExecutiveDashboard → cjs}/components/DatePickers/DateSelector.js.map +0 -0
- /package/dist/{ExecutiveDashboard → cjs}/components/DropDowns/CustomMultiSelect.js.map +0 -0
- /package/dist/{ExecutiveDashboard → cjs}/components/DropDowns/CustomSingleSelect.js.map +0 -0
- /package/dist/{ExecutiveDashboard → cjs}/components/FiltersSidebar/CustomTextInput.js.map +0 -0
- /package/dist/{ExecutiveDashboard → cjs}/components/FiltersSidebar/FiltersSidebar.js.map +0 -0
- /package/dist/{ExecutiveDashboard → cjs}/components/Graph/Graph.js.map +0 -0
- /package/dist/{ExecutiveDashboard → cjs}/components/Graph/LineChart.js.map +0 -0
- /package/dist/{ExecutiveDashboard → cjs}/components/Graph/PlotBySelector.js.map +0 -0
- /package/dist/cjs/{ExecutiveDashboard/components → components}/Graph/types.js +0 -0
- /package/dist/{ExecutiveDashboard → cjs}/components/Graph/types.js.map +0 -0
- /package/dist/{ExecutiveDashboard → cjs}/components/MetricCard/MetricCard.js.map +0 -0
- /package/dist/{ExecutiveDashboard → cjs}/components/Table/FTable.js.map +0 -0
- /package/dist/{ExecutiveDashboard → cjs}/components/Table/SortDropdown.js.map +0 -0
- /package/dist/{ExecutiveDashboard → cjs}/components/Table/TableCard.js.map +0 -0
- /package/dist/{ExecutiveDashboard → cjs}/components/ui/chart.js.map +0 -0
- /package/dist/cjs/{ExecutiveDashboard/components → components}/ui/utils.js +0 -0
- /package/dist/{ExecutiveDashboard → cjs}/components/ui/utils.js.map +0 -0
- /package/dist/{cjs/ExecutiveDashboard/components → components}/DashboardCard/BreakingNewsBanner.js.map +0 -0
- /package/dist/{cjs/ExecutiveDashboard/components → components}/DashboardCard/CardShell.js.map +0 -0
- /package/dist/{cjs/ExecutiveDashboard/components → components}/DashboardCard/CenteredCell.js.map +0 -0
- /package/dist/{cjs/ExecutiveDashboard/components → components}/DashboardCard/DashboardCard.js.map +0 -0
- /package/dist/{cjs/ExecutiveDashboard/components → components}/DashboardCard/DetailRow.js.map +0 -0
- /package/dist/{cjs/ExecutiveDashboard/components → components}/DashboardCard/EventsSection.js.map +0 -0
- /package/dist/{cjs/ExecutiveDashboard/components → components}/DashboardCard/FooterLinkButton.js.map +0 -0
- /package/dist/{cjs/ExecutiveDashboard/components → components}/DashboardCard/GridSection.js.map +0 -0
- /package/dist/{cjs/ExecutiveDashboard/components → components}/DashboardCard/ListSection.js.map +0 -0
- /package/dist/{cjs/ExecutiveDashboard/components → components}/DashboardCard/SectionHeadingBar.js.map +0 -0
- /package/dist/{cjs/ExecutiveDashboard/components → components}/DashboardCard/SkeletonRow.js.map +0 -0
- /package/dist/{cjs/ExecutiveDashboard/components → components}/DashboardCard/TagsSection.js.map +0 -0
- /package/dist/{cjs/ExecutiveDashboard/components → components}/DashboardCard/TopDropdownMenu.js.map +0 -0
- /package/dist/{ExecutiveDashboard/components → components}/DashboardCard/sectionContent.js +0 -0
- /package/dist/{cjs/ExecutiveDashboard/components → components}/DashboardCard/sectionContent.js.map +0 -0
- /package/dist/{ExecutiveDashboard/components → components}/DashboardCard/styles/DashboardCardStyles.js +0 -0
- /package/dist/{cjs/ExecutiveDashboard/components → components}/DashboardCard/styles/DashboardCardStyles.js.map +0 -0
- /package/dist/{cjs/ExecutiveDashboard/components → components}/DashboardDateFilter/DashboardDateFilter.js.map +0 -0
- /package/dist/{cjs/ExecutiveDashboard/components → components}/DashboardDateFilter/datePreset.js.map +0 -0
- /package/dist/{cjs/ExecutiveDashboard/components → components}/DatePickers/DatePicker.js.map +0 -0
- /package/dist/{cjs/ExecutiveDashboard/components → components}/DatePickers/DateRangeSelector.js.map +0 -0
- /package/dist/{cjs/ExecutiveDashboard/components → components}/DatePickers/DateSelector.js.map +0 -0
- /package/dist/{cjs/ExecutiveDashboard/components → components}/DropDowns/CustomMultiSelect.js.map +0 -0
- /package/dist/{cjs/ExecutiveDashboard/components → components}/DropDowns/CustomSingleSelect.js.map +0 -0
- /package/dist/{cjs/ExecutiveDashboard/components → components}/FiltersSidebar/CustomTextInput.js.map +0 -0
- /package/dist/{cjs/ExecutiveDashboard/components → components}/FiltersSidebar/FiltersSidebar.js.map +0 -0
- /package/dist/{cjs/ExecutiveDashboard/components → components}/Graph/Graph.js.map +0 -0
- /package/dist/{cjs/ExecutiveDashboard/components → components}/Graph/LineChart.js.map +0 -0
- /package/dist/{cjs/ExecutiveDashboard/components → components}/Graph/PlotBySelector.js.map +0 -0
- /package/dist/{ExecutiveDashboard/components → components}/Graph/types.js +0 -0
- /package/dist/{RecordDashboard/RecordComponents → components}/Graph/types.js.map +0 -0
- /package/dist/{cjs/ExecutiveDashboard/components → components}/MetricCard/MetricCard.js.map +0 -0
- /package/dist/{cjs/ExecutiveDashboard/components → components}/Table/FTable.js.map +0 -0
- /package/dist/{cjs/ExecutiveDashboard/components → components}/Table/SortDropdown.js.map +0 -0
- /package/dist/{cjs/ExecutiveDashboard/components → components}/Table/TableCard.js.map +0 -0
- /package/dist/{cjs/ExecutiveDashboard/components → components}/ui/chart.js.map +0 -0
- /package/dist/{ExecutiveDashboard/components → components}/ui/utils.js +0 -0
- /package/dist/{RecordDashboard/RecordComponents → components}/ui/utils.js.map +0 -0
- /package/dist/types/{ExecutiveDashboard/components → components}/DashboardCard/BreakingNewsBanner.d.ts +0 -0
- /package/dist/types/{ExecutiveDashboard/components → components}/DashboardCard/CardShell.d.ts +0 -0
- /package/dist/types/{ExecutiveDashboard/components → components}/DashboardCard/CenteredCell.d.ts +0 -0
- /package/dist/types/{ExecutiveDashboard/components → components}/DashboardCard/DashboardCard.d.ts +0 -0
- /package/dist/types/{ExecutiveDashboard/components → components}/DashboardCard/DetailRow.d.ts +0 -0
- /package/dist/types/{ExecutiveDashboard/components → components}/DashboardCard/FooterLinkButton.d.ts +0 -0
- /package/dist/types/{ExecutiveDashboard/components → components}/DashboardCard/SectionHeadingBar.d.ts +0 -0
- /package/dist/types/{ExecutiveDashboard/components → components}/DashboardCard/SkeletonRow.d.ts +0 -0
- /package/dist/types/{ExecutiveDashboard/components → components}/DashboardCard/TopDropdownMenu.d.ts +0 -0
- /package/dist/types/{ExecutiveDashboard/components → components}/DashboardCard/styles/DashboardCardStyles.d.ts +0 -0
- /package/dist/types/{ExecutiveDashboard/components → components}/DashboardCard/types.d.ts +0 -0
- /package/dist/types/{ExecutiveDashboard/components → components}/DashboardDateFilter/DashboardDateFilter.types.d.ts +0 -0
- /package/dist/types/{ExecutiveDashboard/components → components}/DatePickers/DateRangeSelector.d.ts +0 -0
- /package/dist/types/{ExecutiveDashboard/components → components}/ui/utils.d.ts +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sectionOrder.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tableColumns.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("../../_virtual/_tslib.js"),e=function(e){function r(t,r){var a=e.call(this,t)||this;return a.name="DashboardApiError",a.status=r,a}return t.__extends(r,e),r}(Error),r=function(t){return t.replace(/\/+$/,"")};function a(r,a,i){var s;return t.__awaiter(this,void 0,void 0,function(){var n,o;return t.__generator(this,function(t){switch(t.label){case 0:return[4,fetch(r,{method:"POST",headers:{accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(a),signal:i})];case 1:if(!(n=t.sent()).ok)throw new e("Request failed with status ".concat(n.status),n.status);return[4,n.json()];case 2:if(!(o=t.sent()).success)throw new e((null===(s=o.error)||void 0===s?void 0:s.errorMessage)||"Request failed");return[2,o.data]}})})}function i(e,i){var s=e.configId,n=e.baseUrl,o=void 0===n?"":n;return t.__awaiter(this,void 0,void 0,function(){return t.__generator(this,function(t){return[2,a("".concat(r(o),"/records-dashboard/filters/ui"),{config_id:s},i)]})})}function s(e,i){var s=e.configId,n=e.baseUrl,o=void 0===n?"":n;return t.__awaiter(this,void 0,void 0,function(){var e;return t.__generator(this,function(t){switch(t.label){case 0:return[4,a("".concat(r(o),"/records-dashboard/filters/distinct-value"),{config_id:s},i)];case 1:return[2,(null==(e=t.sent())?void 0:e.sidebarFilters)||{}]}})})}function n(t){void 0===t&&(t={});var e={};return Object.entries(t).forEach(function(t){var r=t[0],a=t[1];Array.isArray(a)?a.length>0&&(e[r]=a):""!==a&&null!=a&&(e[r]=[a])}),e}exports.RECODashboardApiError=e,exports.RecordFetchDashboardData=function(e,i,s){var o=e.configId,c=e.baseUrl,d=void 0===c?"":c;return t.__awaiter(this,void 0,void 0,function(){var e;return t.__generator(this,function(t){return e={config_id:o,dateFilters:{startDate:"2000-08-01T00:00:00.000Z",endDate:"2050-08-31T23:59:59.000Z"},sidebarFilters:n(i.filters),statsFilters:i.statsFilters||{},selectedStatCards:i.selectedStatCards||[]},[2,a("".concat(r(d),"/records-dashboard/filters/get-data"),e,s)]})})},exports.RecordFetchTableData=function(e,i,s){var o=e.configId,c=e.baseUrl,d=void 0===c?"":c;return t.__awaiter(this,void 0,void 0,function(){return t.__generator(this,function(e){return[2,a("".concat(r(d),"/records-dashboard/filters/table-data"),t.__assign(t.__assign({config_id:o,dateFilters:{endDate:"2050-08-13T05:51:34.302Z",startDate:"2000-08-12T18:30:00.000Z"},sidebarFilters:n(i.filters),statsFilters:i.statsFilters||{},selectedStatCards:i.selectedStatCards||[],tableHeader:i.tableHeader,tableKey:i.tableKey,pageSize:i.pageSize},i.page?{page:i.page}:{}),i.cursor?{cursor:i.cursor}:{}),s)]})})},exports.RecordFetchUIConfig=function(e,r){return t.__awaiter(this,void 0,void 0,function(){var a,n,o;return t.__generator(this,function(c){switch(c.label){case 0:return[4,Promise.all([i(e,r),s(e,r)])];case 1:return a=c.sent(),n=a[0],o=a[1],[2,{data:t.__assign(t.__assign({},n),{sidebarFilters:(n.sidebarFilters||[]).map(function(e){return t.__assign(t.__assign({},e),{options:o[e.schemaFilterName]||[]})})})}]}})})};
|
|
2
|
-
//# sourceMappingURL=RecordDashboardApi.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RecordDashboardApi.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AnalyticsChart.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),s=require("react/jsx-runtime"),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
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RecordBreakingNewsBanner.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RecordCardShell.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),r=require("react/jsx-runtime"),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
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RecordCenteredCell.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),r=require("react/jsx-runtime"),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
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RecordDashboardCard.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),s=require("react/jsx-runtime"),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
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RecordDetailRow.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RecordEventsSection.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),r=require("react/jsx-runtime"),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
|
package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordFooterLinkButton.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RecordFooterLinkButton.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),r=require("react/jsx-runtime"),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
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RecordGridSection.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),s=require("react/jsx-runtime"),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
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RecordListSection.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RecordSectionContent.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),s=require("react/jsx-runtime"),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
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RecordSectionHeadingBar.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),s=require("react/jsx-runtime"),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
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RecordSkeletonRow.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RecordTagsSection.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
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
|
package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordTopDropdownMenu.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RecordTopDropdownMenu.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/styles/RecordDashboardCardStyles.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e='ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',o={card:{display:"flex",flexDirection:"column",background:"#ffffff",borderRadius:12,border:"1px solid #f1f5f9",boxShadow:"0 1px 2px 0 rgba(0,0,0,0.05)",overflow:"visible",textAlign:"left",height:"100%",fontFamily:e,lineHeight:1.5},cardHeader:{padding:16,borderRadius:"12px 12px 0 0",position:"relative",borderBottom:"1px solid rgba(241,245,249,0.6)"},themeRose:{background:"linear-gradient(to bottom, rgba(255,228,230,0.6), rgba(254,242,242,0.35), #ffffff)"},themeViolet:{background:"linear-gradient(to bottom, rgba(237,233,254,0.6), rgba(250,245,255,0.35), #ffffff)"},themeSky:{background:"linear-gradient(to bottom, rgba(224,242,254,0.5), rgba(238,242,255,0.3), #ffffff)"},themeAmber:{background:"linear-gradient(to bottom, rgba(254,249,195,0.5), rgba(255,251,235,0.3), #ffffff)"},themeNeutral:{background:"linear-gradient(to bottom, rgba(241,245,249,0.5), rgba(248,250,252,0.25), #ffffff)"},headerTop:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:12},headerIconTitle:{display:"flex",alignItems:"center",gap:6},iconWrap:{padding:4,borderRadius:4,flexShrink:0},title:{margin:0,fontSize:12,fontWeight:700,color:"#334155",textTransform:"uppercase",letterSpacing:"0.05em"},badge:{fontSize:10,fontWeight:700,color:"#64748b",background:"rgba(255,255,255,0.8)",padding:"2px 6px",borderRadius:9999,boxShadow:"0 1px 2px 0 rgba(0,0,0,0.05)",border:"1px solid rgba(241,245,249,0.4)"},heroRow:{display:"grid",gridTemplateColumns:"repeat(12, minmax(0, 1fr))",gap:12,alignItems:"center",minHeight:96},hero:{gridColumn:"span 4 / span 4",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"flex-start",borderRight:"1px solid rgba(241,245,249,0.8)",paddingRight:8},heroValue:{fontSize:24,fontWeight:800,letterSpacing:"-0.025em",lineHeight:1},heroLabel:{fontSize:9,fontWeight:700,color:"#334155",marginTop:4,lineHeight:1.25,textTransform:"uppercase",letterSpacing:"0.025em"},heroDelta:{fontSize:9,fontWeight:700,marginTop:4},heroDeltaUp:{color:"#f43f5e"},heroDeltaDown:{color:"#059669"},chartCol:{gridColumn:"span 8 / span 8",width:"100%",height:"100%",position:"relative",display:"flex",flexDirection:"column",justifyContent:"space-between",overflow:"visible",userSelect:"none",paddingLeft:4},chartHeader:{display:"flex",justifyContent:"space-between",alignItems:"center",fontSize:8,fontWeight:900,color:"#1e293b",textTransform:"uppercase",padding:"0 4px",letterSpacing:"0.05em"},chartTooltip:{color:"#4f46e5",background:"#eef2ff",padding:"2px 6px",borderRadius:4,fontWeight:900,fontSize:9,whiteSpace:"nowrap",boxShadow:"0 1px 2px 0 rgba(0,0,0,0.05)",border:"1px solid rgba(224,231,255,0.3)"},chartWrap:{width:"100%",flex:"1 1 0%",position:"relative",overflow:"visible",marginTop:4},chartSvg:{width:"100%",height:"100%",overflow:"visible",cursor:"crosshair"},chartEmpty:{fontSize:10,color:"#94a3b8",fontWeight:700,position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center"},body:{flex:"1 1 0%",overflow:"visible"},footer:{background:"rgba(248,250,252,0.6)",padding:"8px 16px",borderTop:"1px solid #f1f5f9",borderRadius:"0 0 12px 12px",overflow:"visible"},bodyContent:{display:"flex",flexDirection:"column",color:"#334155"},footerLinks:{display:"flex"},footerLinksMulti:{width:"100%",justifyContent:"space-between",alignItems:"center"},footerLink:{textAlign:"left",padding:"12px 16px",fontSize:12,color:"#6366f1",display:"flex",alignItems:"center",gap:2,transition:"color 0.15s ease",background:"none",border:"none",cursor:"pointer",margin:0,fontFamily:"inherit"},skeletonRow:{padding:"12px 16px"},skeletonLine:{borderRadius:4,background:"#f8fafc",animation:"dc-pulse 2s cubic-bezier(0.4,0,0.6,1) infinite"},skeletonLineTitle:{height:12,width:64},skeletonLineValue:{height:16,width:96,background:"#f1f5f9",marginTop:6},sectionHeading:{padding:"8px 16px",display:"flex",alignItems:"center",gap:8,borderTop:"1px solid",borderBottom:"1px solid"},sectionHeadingDefault:{background:"#f8fafc",borderColor:"#e2e8f0",color:"#64748b"},sectionHeadingDot:{width:8,height:8,borderRadius:9999,flexShrink:0},sectionHeadingLabel:{margin:0,fontSize:12,fontWeight:700,textTransform:"uppercase",letterSpacing:"0.05em",color:"inherit"},sectionHeadingCount:{fontSize:10,fontWeight:600,padding:"2px 8px",borderRadius:9999,marginLeft:"auto",opacity:.8,background:"rgba(0,0,0,0.06)"},newsBanner:{padding:"8px 16px",display:"flex",alignItems:"center",gap:8,borderTop:"1px solid",borderBottom:"1px solid"},newsBannerTitle:{margin:0,fontSize:12,fontWeight:700,textTransform:"uppercase",letterSpacing:"0.05em"},newsItem:{display:"flex",alignItems:"flex-start",gap:8,padding:"8px 16px",borderBottom:"1px solid"},newsItemLast:{borderBottom:"none"},newsItemDot:{width:6,height:6,borderRadius:9999,marginTop:4,flexShrink:0,animation:"dc-pulse 2s cubic-bezier(0.4,0,0.6,1) infinite"},newsItemText:{margin:0,fontSize:11,fontWeight:500,lineHeight:1.625},dropdownTrigger:{position:"absolute",right:6,top:4,padding:"2px 4px",borderRadius:4,fontSize:8,fontWeight:900,letterSpacing:"0.025em",textTransform:"uppercase",transition:"background-color 0.15s ease, color 0.15s ease",zIndex:10,border:"none",cursor:"pointer",margin:0,fontFamily:"inherit"},dropdownTriggerClosed:{background:"#f1f5f9",color:"#64748b"},dropdownTriggerOpen:{background:"#4f46e5",color:"#ffffff"},dropdownPanel:{position:"absolute",left:0,right:0,top:36,paddingTop:4,zIndex:50,pointerEvents:"auto"},dropdownInner:{background:"#ffffff",border:"1px solid #e2e8f0",borderRadius:8,boxShadow:"0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1)",padding:8,display:"flex",flexDirection:"column",gap:4,textAlign:"left"},dropdownTitle:{fontSize:9,fontWeight:700,color:"#4f46e5",textTransform:"uppercase",letterSpacing:"0.05em",marginBottom:2,padding:"0 4px"},dropdownItem:{width:"100%",display:"flex",justifyContent:"space-between",alignItems:"center",fontSize:10,padding:4,borderRadius:4,transition:"background-color 0.15s ease",textAlign:"left",background:"none",border:"none",cursor:"pointer",margin:0,fontFamily:"inherit"},dropdownItemName:{fontWeight:600,color:"#334155",maxWidth:95,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},dropdownItemValue:{color:"#6366f1",fontWeight:500,flexShrink:0},detailRow:{width:"100%",textAlign:"left",display:"flex",alignItems:"center",justifyContent:"space-between",gap:8,padding:"12px 16px",background:"none",border:"none",margin:0,fontFamily:"inherit"},detailRowClickable:{cursor:"pointer",transition:"background-color 0.15s ease"},detailRowMain:{minWidth:0},detailRowLabel:{margin:0,fontSize:12,color:"#94a3b8"},detailRowValue:{margin:0,fontSize:14,fontWeight:600,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",marginTop:2,color:"#1e293b"},detailRowSub:{margin:0,fontSize:12,color:"#94a3b8",marginTop:2},detailRowChevron:{color:"#e2e8f0",transition:"color 0.15s ease",flexShrink:0},detailRowChevronHover:{color:"#94a3b8"},centeredCell:{padding:"16px 8px",minWidth:0,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",textAlign:"center",cursor:"pointer",userSelect:"none",position:"relative"},centeredCellLabel:{fontSize:10,color:"#94a3b8",fontWeight:500,lineHeight:1,width:"100%"},centeredCellValue:{fontSize:14,fontWeight:700,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",marginTop:6,width:"100%",maxWidth:100,color:"#334155"},centeredCellSub:{fontSize:10,fontWeight:700,marginTop:6,lineHeight:1.25,maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",color:"#94a3b8"},gridRow:{display:"grid"},gridCell:{minWidth:0,position:"relative"},gridCellPadded:{padding:6},gridCellInner:{padding:6},gridRowDivider:{borderTop:"1px solid #f1f5f9"},gridCellDivider:{borderLeft:"1px solid #f1f5f9"},listRow:{display:"flex",alignItems:"center",gap:8,padding:"12px 16px",transition:"background-color 0.15s ease"},listRowCompact:{padding:"8px 16px"},listRowDivider:{borderTop:"1px solid rgba(241,245,249,0.6)"},listRowHover:{background:"rgba(248,250,252,0.4)"},listRowDot:{width:6,height:6,borderRadius:9999,flexShrink:0},listRowDotDefault:{background:"#cbd5e1"},listRowMain:{minWidth:0,flex:"1 1 0%",textAlign:"left"},listRowValue:{margin:0,fontSize:12,color:"#475569",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},listRowSub:{margin:0,fontSize:10,color:"#cbd5e1",lineHeight:1,marginTop:2},listRowLabel:{fontSize:10,color:"#94a3b8",flexShrink:0,fontWeight:500},alertRowValue:{margin:0,fontSize:12,color:"#475569",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",flex:"1 1 0%",textAlign:"left"},alertRowSub:{fontSize:10,color:"#cbd5e1",flexShrink:0},tags:{borderBottom:"1px solid #f1f5f9",padding:"16px 20px",display:"flex",flexDirection:"column",textAlign:"left"},tagsTop:{display:"flex",alignItems:"center",justifyContent:"space-between",width:"100%"},tagsMeta:{display:"flex",flexDirection:"column"},tagsLabel:{fontSize:11,color:"#94a3b8",fontWeight:500},tagsCount:{fontSize:14,fontWeight:700,color:"#334155",marginTop:2},tagsList:{display:"flex",flexWrap:"wrap",alignItems:"center",columnGap:8,rowGap:4,marginTop:8,fontSize:11,color:"#64748b",fontWeight:500},tag:{display:"flex",alignItems:"center",gap:4},tagDot:{width:4,height:4,borderRadius:9999,flexShrink:0},tagDotDefault:{background:"#94a3b8"},tagsEmpty:{fontStyle:"italic",color:"#94a3b8"},eventRowWrap:{borderTop:"1px solid #f1f5f9"},eventRow:{width:"100%",display:"flex",alignItems:"center",gap:8,padding:"14px 16px",transition:"background-color 0.15s ease",background:"none",border:"none",cursor:"pointer",margin:0,fontFamily:"inherit"},eventRowHover:{background:"rgba(248,250,252,0.8)"},eventRowDot:{width:4,height:4,borderRadius:9999,flexShrink:0},eventRowDotDefault:{background:"#cbd5e1"},eventRowTitle:{margin:0,fontSize:11,color:"#475569",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",flex:"1 1 0%",textAlign:"left"},eventRowTime:{fontSize:9,color:"#cbd5e1",flexShrink:0,marginRight:4},eventRowChevron:{color:"#cbd5e1",flexShrink:0},modalOverlay:{position:"fixed",inset:0,zIndex:50,display:"flex",alignItems:"center",justifyContent:"center",background:"rgba(15,23,42,0.4)",backdropFilter:"blur(4px)",padding:16},modal:{background:"#ffffff",width:"100%",maxWidth:512,borderRadius:12,boxShadow:"0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1)",border:"1px solid #e2e8f0",overflow:"hidden"},modalHeader:{padding:"12px 16px",background:"#f8fafc",borderBottom:"1px solid rgba(226,232,240,0.8)",display:"flex",alignItems:"center",justifyContent:"space-between"},modalHeaderLeft:{display:"flex",alignItems:"center",gap:8,maxWidth:"85%"},modalBadge:{fontSize:10,fontWeight:600,padding:"2px 6px",borderRadius:6},modalStatusBadge:{fontSize:10,fontWeight:600,padding:"2px 6px",borderRadius:6},modalTitle:{margin:0,fontSize:12,fontWeight:600,color:"#334155",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},modalClose:{color:"#94a3b8",padding:4,borderRadius:8,transition:"background-color 0.15s ease, color 0.15s ease",background:"none",border:"none",cursor:"pointer",display:"flex",margin:0,fontFamily:"inherit"},modalCloseHover:{color:"#475569",background:"rgba(226,232,240,0.5)"},modalBody:{maxHeight:"60vh",overflowY:"auto",padding:16},modalBodySpacer:{marginTop:16},modalSectionTitle:{margin:0,fontSize:10,fontWeight:700,color:"#94a3b8",textTransform:"uppercase",letterSpacing:"0.05em",marginBottom:4},modalSectionTitleTight:{marginBottom:6},modalSummaryText:{margin:0,fontSize:12,color:"#475569",lineHeight:1.625,background:"#f8fafc",padding:10,borderRadius:8,border:"1px solid #f1f5f9"},modalDetailsGrid:{display:"grid",gridTemplateColumns:"repeat(2, minmax(0, 1fr))",columnGap:16,rowGap:8,background:"rgba(248,250,252,0.5)",padding:12,borderRadius:8,border:"1px solid #f1f5f9"},modalDetail:{display:"flex",flexDirection:"column"},modalDetailLabel:{fontSize:10,color:"#94a3b8",fontWeight:500},modalDetailValue:{fontSize:12,color:"#334155",fontWeight:500,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},modalLinkRow:{display:"flex",alignItems:"center",gap:12,paddingTop:8},modalLink:{fontSize:12,fontWeight:500,color:"#6366f1",textDecoration:"none"},modalActionRow:{borderTop:"1px solid #f1f5f9",background:"rgba(248,250,252,0.5)",padding:12,display:"flex",justifyContent:"flex-end"},modalActionBtn:{display:"flex",alignItems:"center",gap:6,padding:"6px 12px",background:"#ffffff",border:"1px solid #e2e8f0",borderRadius:8,boxShadow:"0 1px 2px 0 rgba(0,0,0,0.05)",transition:"background-color 0.15s ease",cursor:"pointer",margin:0,fontFamily:"inherit"},modalActionBtnHover:{background:"#f8fafc"},modalActionText:{fontSize:12,fontWeight:600},modalActionChevron:{transition:"transform 0.15s ease"},modalActionChevronHover:{transform:"translateX(2px)"}};exports.RECO_ACTION_COLORS={BLOCKED:"#dc2626",FLAGGED:"#d97706",ALLOWED:"#059669"},exports.RECO_DASHBOARD_CARD_FONT_FAMILY=e,exports.RECO_DASHBOARD_CARD_KEYFRAMES="\n@keyframes dc-pulse {\n 0%, 100% { opacity: 1; }\n 50% { opacity: 0.5; }\n}\n",exports.RECO_NEWS_DOT_COLORS={critical:"#ef4444",warning:"#fbbf24",info:"#34d399"},exports.RECO_SEV_BADGE_DEFAULT={background:"#f8fafc",color:"#64748b"},exports.RECO_SEV_BADGE_STYLES={CRITICAL:{background:"#fef2f2",color:"#dc2626"},HIGH:{background:"#fffbeb",color:"#d97706"},MEDIUM:{background:"#fefce8",color:"#a16207"},LOW:{background:"#ecfdf5",color:"#059669"},POLICY:{background:"#f5f3ff",color:"#7c3aed"}},exports.RECO_SEV_DOT_COLORS={CRITICAL:"#ef4444",HIGH:"#f59e0b",MEDIUM:"#facc15",LOW:"#34d399",POLICY:"#8b5cf6"},exports.RECO_STATUS_BADGE_DEFAULT={background:"#f1f5f9",color:"#64748b"},exports.RECO_STATUS_BADGE_STYLES={BLOCKED:{background:"#fee2e2",color:"#b91c1c"},FLAGGED:{background:"#fef3c7",color:"#b45309"},ALLOWED:{background:"#d1fae5",color:"#047857"}},exports.default=o;
|
|
2
|
-
//# sourceMappingURL=RecordDashboardCardStyles.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RecordDashboardCardStyles.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/cjs/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDashboardDateFilter.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),t=require("react/jsx-runtime"),s=require("react"),i=require("primereact/button"),a=require("lucide-react"),n=require("../DatePickers/RecordDateSelector.js"),l=require("./RecordDatePreset.js");exports.default=function(r){var o,u,d,c,v=r.presets,f=void 0===v?l.RECO_DEFAULT_DATE_PRESETS:v,x=r.filterCount,m=void 0===x?0:x,h=r.liveDuration,p=void 0===h?3e4:h,g=r.onDateChange,_=r.onRefresh,j=r.isRefreshLoading,D=r.onFilterClick,q=r.showFilterButton,b=void 0===q||q,C=r.showLiveButton,N=void 0===C||C,R=r.showFilterCount,E=void 0!==R&&R,k=r.datePickerProps,y=r.initialStartDate,w=r.initialEndDate,F=r.defaultPresets,S=s.useState(null!=F?F:"today"),P=S[0],B=S[1],T=s.useState(!0),L=T[0],A=T[1],z=s.useState(y||null),O=z[0],W=z[1],I=s.useState(w||null),M=I[0],U=I[1];s.useEffect(function(){W(y||null),U(w||null)},[y,w]);var G=s.useState(!1),H=G[0],J=G[1];s.useEffect(function(){var e=setTimeout(function(){A(!1)},p);return function(){return clearTimeout(e)}},[P,p]),s.useEffect(function(){if("custom"!==P){var e=f.find(function(e){return e.value===P});if(e&&e.getRange){var t=e.getRange();null==g||g({preset:P,startDate:t.startDate,endDate:t.endDate})}}},[P,f,g]);var K=f;return t.jsxs("div",e.__assign({className:"q-date-filter"},{children:[t.jsxs("div",e.__assign({className:"q-date-filter-toolbar"},{children:[t.jsxs("div",e.__assign({style:{display:"flex",alignItems:"center",gap:"8px",flexWrap:"wrap"}},{children:[t.jsx("div",e.__assign({className:"q-preset-container"},{children:null==K?void 0:K.map(function(s){return t.jsx("button",e.__assign({className:"q-preset-btn ".concat(P===(null==s?void 0:s.value)?"active":""),onClick:function(){return B(null==s?void 0:s.value)}},{children:null==s?void 0:s.label}),null==s?void 0:s.value)})})),N&&(L?t.jsxs(t.Fragment,{children:[t.jsx("div",{style:{width:"1px",height:"31px",backgroundColor:"#CBD5E1"}}),t.jsxs("div",e.__assign({className:"q-live-chip"},{children:[t.jsx("span",{className:"q-live-dot"}),"Live Data"]}))]}):t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"q-date-separator",style:{width:"1px",height:"31px",backgroundColor:"#CBD5E1"}}),t.jsxs(i.Button,e.__assign({className:"q-refresh-btn",onClick:_},{children:[t.jsx(a.RefreshCw,{size:16,strokeWidth:2.5,className:j?"q-spin":""}),t.jsx("span",{children:j?"Refreshing...":"Refresh"})]}))]}))]})),b&&t.jsxs("button",e.__assign({className:"q-filter-btn",onClick:D},{children:[t.jsx(a.ListFilter,{size:12.5}),"Filters",E&&m>0&&t.jsx("span",e.__assign({className:"q-filter-badge"},{children:m}))]}))]})),"custom"===P&&t.jsxs("div",e.__assign({className:"q-custom-container"},{children:[t.jsx(n.default,{label:"From",value:O,minDate:null===(o=null==k?void 0:k.from)||void 0===o?void 0:o.minDate,maxDate:null!=M?M:null===(u=null==k?void 0:k.from)||void 0===u?void 0:u.maxDate,onChange:function(e){W(e),J(!1)},styles:{root:{width:"250px"}}}),t.jsx(n.default,{label:"To",value:M,minDate:null!=O?O:null===(d=null==k?void 0:k.to)||void 0===d?void 0:d.minDate,maxDate:null===(c=null==k?void 0:k.to)||void 0===c?void 0:c.maxDate,onChange:function(e){U(e),J(!1)},styles:{root:{width:"250px"}}}),t.jsx(i.Button,{className:"q-apply-btn",label:"Apply Range",disabled:!O||!M||H,onClick:function(){O&&M&&(null==g||g({preset:"custom",startDate:O,endDate:M}),J(!0))}})]}))]}))};
|
|
2
|
-
//# sourceMappingURL=RecordDashboardDateFilter.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RecordDashboardDateFilter.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e={today:{label:"Today",value:"today",getRange:function(){var e=new Date;return{startDate:new Date(e.getFullYear(),e.getMonth(),e.getDate(),0,0,0),endDate:e}}},yesterday:{label:"Yesterday",value:"yesterday",getRange:function(){var e=new Date;return e.setDate(e.getDate()-1),{startDate:new Date(e.getFullYear(),e.getMonth(),e.getDate(),0,0,0),endDate:new Date(e.getFullYear(),e.getMonth(),e.getDate(),23,59,59)}}},"7days":{label:"7 Days",value:"7days",getRange:function(){var e=new Date,t=new Date;return t.setDate(t.getDate()-6),{startDate:t,endDate:e}}},"15days":{label:"15 Days",value:"15days",getRange:function(){var e=new Date,t=new Date;return t.setDate(t.getDate()-14),{startDate:t,endDate:e}}},"30days":{label:"30 Days",value:"30days",getRange:function(){var e=new Date,t=new Date;return t.setDate(t.getDate()-29),{startDate:t,endDate:e}}},thisMonth:{label:"This Month",value:"thisMonth",getRange:function(){var e=new Date;return{startDate:new Date(e.getFullYear(),e.getMonth(),1),endDate:e}}},lastMonth:{label:"Last Month",value:"lastMonth",getRange:function(){var e=new Date;return{startDate:new Date(e.getFullYear(),e.getMonth()-1,1),endDate:new Date(e.getFullYear(),e.getMonth(),0,23,59,59)}}},last3Months:{label:"Last 3 Months",value:"last3Months",getRange:function(){var e=new Date;return{startDate:new Date(e.getFullYear(),e.getMonth()-3,e.getDate()),endDate:e}}},"6months":{label:"6 Months",value:"6months",getRange:function(){var e=new Date;return{startDate:new Date(e.getFullYear(),e.getMonth()-6,e.getDate()),endDate:e}}},"1year":{label:"1 Year",value:"1year",getRange:function(){var e=new Date;return{startDate:new Date(e.getFullYear()-1,e.getMonth(),e.getDate()),endDate:e}}},custom:{label:"Custom",value:"custom"}},t=[e.today,e.yesterday,e["7days"],e["15days"],e["30days"],e.thisMonth,e.lastMonth,e.last3Months,e.custom],a=null==t?void 0:t.reduce(function(e,t){return e[t.value]=t,e},{});exports.RECO_DATE_PRESETS=e,exports.RECO_DATE_PRESET_MAP=a,exports.RECO_DEFAULT_DATE_PRESETS=t;
|
|
2
|
-
//# sourceMappingURL=RecordDatePreset.js.map
|
package/dist/cjs/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDatePreset.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RecordDatePreset.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/cjs/RecordDashboard/RecordComponents/DashboardSkeleton/RecordDashboardSkeleton.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),s=require("react/jsx-runtime");function l(){return s.jsxs("div",e.__assign({className:"q-skeleton","aria-busy":"true","aria-live":"polite"},{children:[s.jsxs("div",e.__assign({className:"q-skeleton-toolbar"},{children:[s.jsxs("div",e.__assign({className:"q-skeleton-presets"},{children:[s.jsx("div",{className:"q-skeleton-pill q-skeleton-pill--wide"}),s.jsx("div",{className:"q-skeleton-pill"}),s.jsx("div",{className:"q-skeleton-pill"}),s.jsx("div",{className:"q-skeleton-pill"})]})),s.jsx("div",{className:"q-skeleton-pill q-skeleton-pill--filter"})]})),s.jsxs("div",e.__assign({className:"q-skeleton-card q-skeleton-graph"},{children:[s.jsxs("div",e.__assign({className:"q-skeleton-graph-header"},{children:[s.jsxs("div",{children:[s.jsx("div",{className:"q-skeleton-line q-skeleton-line--title"}),s.jsx("div",{className:"q-skeleton-line q-skeleton-line--subtitle"})]}),s.jsx("div",{className:"q-skeleton-pill q-skeleton-pill--selector"})]})),s.jsx("div",e.__assign({className:"q-skeleton-graph-body"},{children:s.jsx("svg",e.__assign({viewBox:"0 0 400 140",className:"q-skeleton-sparkline",preserveAspectRatio:"none"},{children:s.jsx("polyline",{points:"0,110 30,90 60,100 90,60 120,80 150,40 180,70 210,50 240,85 270,55 300,95 330,65 360,90 400,70",fill:"none",className:"q-skeleton-sparkline-path"})}))}))]})),s.jsx("div",e.__assign({className:"q-skeleton-kpis"},{children:[0,1,2].map(function(l){return s.jsxs("div",e.__assign({className:"q-skeleton-card q-skeleton-kpi"},{children:[s.jsx("div",{className:"q-skeleton-line q-skeleton-line--label"}),s.jsx("div",{className:"q-skeleton-line q-skeleton-line--value"}),s.jsx("div",{className:"q-skeleton-line q-skeleton-line--sublabel"})]}),l)})}))]}))}exports.RecordDashboardSkeleton=l,exports.default=l;
|
|
2
|
-
//# sourceMappingURL=RecordDashboardSkeleton.js.map
|
package/dist/cjs/RecordDashboard/RecordComponents/DashboardSkeleton/RecordDashboardSkeleton.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RecordDashboardSkeleton.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),n=require("react/jsx-runtime"),a=require("react"),t=["Mo","Tu","We","Th","Fr","Sa","Su"],s=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],r=function(e){var n=new Date(e);return n.setHours(0,0,0,0),n};exports.default=function(c){var i=c.value,l=c.onChange,o=c.minDate,u=c.maxDate,d=new Date,_=a.useState(null!=i?i:d),h=_[0],g=_[1],m=a.useState("day"),y=m[0],f=m[1],j=null!=i?i:d,x=a.useState(new Date(j.getFullYear(),j.getMonth(),1)),D=x[0],p=x[1],b=D.getFullYear(),v=D.getMonth(),k=16*Math.floor(b/16),N=new Date(b,v+1,0).getDate(),w=new Date(b,v,1).getDay(),S=function(e){var n=r(e);return!!(o&&n<r(o))||!!(u&&n>r(u))},M=function(e){return S(new Date(b,v,e))},C=S(d),F=0===w?6:w-1,Y=Array.from({length:F+N},function(e,n){return n<F?null:n-F+1}),A=function(e){return e===d.getDate()&&v===d.getMonth()&&b===d.getFullYear()},q=function(e){return h&&e===h.getDate()&&v===h.getMonth()&&b===h.getFullYear()};return n.jsxs("div",e.__assign({className:"date-picker"},{children:[n.jsxs("div",e.__assign({className:"date-picker__header"},{children:[n.jsx("button",e.__assign({className:"nav-btn",onClick:function(){p("day"===y?new Date(b,v-1,1):"month"===y?new Date(b-1,v,1):new Date(b-16,v,1))}},{children:"‹"})),n.jsx("span",e.__assign({className:"month-label"},{children:"year"===y?"".concat(k," – ").concat(k+15):"month"===y?b.toString():n.jsxs(n.Fragment,{children:[n.jsx("span",e.__assign({className:"month-label-click",onClick:function(){return f("month")}},{children:D.toLocaleString("default",{month:"long"})}))," ",n.jsx("span",e.__assign({className:"year-label-click",onClick:function(){return f("year")}},{children:b}))]})})),n.jsx("button",e.__assign({className:"nav-btn",onClick:function(){p("day"===y?new Date(b,v+1,1):"month"===y?new Date(b+1,v,1):new Date(b+16,v,1))}},{children:"›"}))]})),n.jsxs("div",e.__assign({className:"date-picker__top-actions"},{children:[n.jsx("div",e.__assign({className:"selected-date"},{children:h?h.toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"}):"Select date"})),n.jsx("button",e.__assign({className:"today-btn ".concat(C?"today-btn--disabled":""),onClick:function(){p(new Date(d.getFullYear(),d.getMonth(),1)),g(d),f("day"),null==l||l(d)},disabled:C},{children:"Today"}))]})),"month"===y&&n.jsx("div",e.__assign({className:"date-picker__month-grid"},{children:s.map(function(a,t){return n.jsx("button",e.__assign({className:"month-cell".concat(t===v?" month-cell--selected":""),onClick:function(){p(new Date(b,t,1)),f("day")}},{children:a}),a)})})),"year"===y&&n.jsx("div",e.__assign({className:"date-picker__year-grid"},{children:Array.from({length:16},function(e,n){return k+n}).map(function(a){return n.jsx("button",e.__assign({className:"year-cell".concat(a===b?" year-cell--selected":""),onClick:function(){p(new Date(a,v,1)),f("month")}},{children:a}),a)})})),"day"===y&&n.jsxs(n.Fragment,{children:[n.jsx("div",e.__assign({className:"date-picker__weekdays"},{children:t.map(function(e){return n.jsx("span",{children:e},e)})})),n.jsx("div",e.__assign({className:"date-picker__days"},{children:Y.map(function(a,t){return a?n.jsx("button",e.__assign({disabled:M(a),className:["day",A(a)&&"day--today",q(a)&&"day--selected",M(a)&&"day--disabled"].filter(Boolean).join(" "),onClick:function(){return function(e){if(!M(e)){var n=new Date(b,v,e);g(n),null==l||l(n)}}(a)}},{children:a}),t):n.jsx("span",{},t)})}))]})]}))};
|
|
2
|
-
//# sourceMappingURL=RecordDatePicker.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RecordDatePicker.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),t=require("react/jsx-runtime"),n=require("react"),a=require("lucide-react"),s=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],r=["Mo","Tu","We","Th","Fr","Sa","Su"];function i(e){var t=new Date(e);return t.setHours(0,0,0,0),t}function o(e,t){return e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate()}function l(e,t){var n=new Date(e);return n.setMonth(n.getMonth()+t),n}function c(e){return e?e.toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"}):""}exports.default=function(d){var u=d.value,_=d.onChange,g=d.placeholder,h=void 0===g?"Select date":g,m=d.disabled,f=void 0!==m&&m,v=d.isOpen,p=void 0!==v&&v,x=d.minDate,j=d.maxDate,y=d.className,D=d.endIcon,b=void 0!==D&&D,N=n.useRef(null),M=n.useState(p),w=M[0],F=M[1],k=n.useState("day"),S=k[0],Y=k[1],C=n.useMemo(function(){if(!u.end)return u;var e=new Date(u.end);return e.setDate(e.getDate()-1),{start:u.start,end:e}},[u.start,u.end]),T=n.useState(C.start),L=T[0],E=T[1],q=n.useState(C.end),z=q[0],A=q[1],B=n.useState(function(){var e,t,n=null!==(t=null!==(e=C.start)&&void 0!==e?e:C.end)&&void 0!==t?t:new Date;return new Date(n.getFullYear(),n.getMonth(),1)}),J=B[0],O=B[1],R=16*Math.floor(J.getFullYear()/16);n.useEffect(function(){var e;E(C.start),A(C.end);var t=null!==(e=C.start)&&void 0!==e?e:C.end;t&&O(new Date(t.getFullYear(),t.getMonth(),1))},[C.start,C.end]),n.useEffect(function(){var e=function(e){w&&N.current&&!N.current.contains(e.target)&&(F(!1),Y("day"),E(C.start),A(C.end))};return document.addEventListener("mousedown",e),function(){return document.removeEventListener("mousedown",e)}},[w,C.start,C.end]);var U=n.useMemo(function(){for(var e,t=J.getFullYear(),n=J.getMonth(),a=(new Date(t,n,1).getDay()+6)%7,s=new Date(t,n+1,0).getDate(),r=[],i=0;i<a;i++)r.push({date:new Date(t,n,1-(a-i)),inMonth:!1});for(var o=1;o<=s;o++)r.push({date:new Date(t,n,o),inMonth:!0});for(var l=42-r.length,c=0;c<l;c++){var d=null===(e=r[r.length-1])||void 0===e?void 0:e.date;if(!d)break;var u=new Date(d);u.setDate(u.getDate()+1),r.push({date:u,inMonth:!1})}return r},[J]),G=function(e){var t;!L||L&&z?(E(e),A(null)):(t=L,i(e).getTime()<i(t).getTime()?(A(L),E(e)):A(e))},H=function(e,t){if(!e&&!t)return"";var n=function(e){return e.toLocaleDateString("en-GB",{day:"2-digit",month:"short"})};return e&&!t?"".concat(n(e)," - ..."):!e&&t?"... - ".concat(n(t)):"".concat(n(e)," - ").concat(n(t)," ").concat(t.getFullYear())}(C.start,C.end);return t.jsxs("div",e.__assign({className:"drs",ref:N},{children:[!p&&t.jsxs("button",e.__assign({type:"button",className:"drs__trigger ".concat(y||""),onClick:function(){var e,t;if(!f){if(!w){var n=null!==(t=null!==(e=C.start)&&void 0!==e?e:C.end)&&void 0!==t?t:new Date;E(C.start),A(C.end),O(new Date(n.getFullYear(),n.getMonth(),1)),Y("day")}F(function(e){return!e})}},disabled:f},{children:[!b&&t.jsx(a.Calendar,{size:18,style:{color:"#6B7280"}}),t.jsx("span",e.__assign({className:"drs__label"},{children:H||h})),b&&t.jsx("span",e.__assign({style:{marginLeft:"auto"}},{children:t.jsx(a.Calendar,{size:18,style:{color:"#6B7280"}})}))]})),w&&t.jsxs("div",e.__assign({className:"drs__popover",role:"dialog","aria-label":"Date range picker"},{children:[t.jsxs("div",e.__assign({className:"drs__header"},{children:[t.jsx("button",e.__assign({type:"button",className:"drs__nav",onClick:function(){O("day"===S?function(e){return l(e,-1)}:"month"===S?function(e){return new Date(e.getFullYear()-1,e.getMonth(),1)}:function(e){return new Date(e.getFullYear()-16,e.getMonth(),1)})}},{children:t.jsx(a.ChevronLeft,{size:18})})),t.jsx("div",e.__assign({className:"drs__month"},{children:"year"===S?"".concat(R," – ").concat(R+15):"month"===S?J.getFullYear().toString():t.jsxs(t.Fragment,{children:[t.jsx("span",e.__assign({className:"drs__month-click",onClick:function(){return Y("month")}},{children:J.toLocaleDateString("en-US",{month:"long"})}))," ",t.jsx("span",e.__assign({className:"drs__year-click",onClick:function(){return Y("year")}},{children:J.getFullYear()}))]})})),t.jsx("button",e.__assign({type:"button",className:"drs__nav",onClick:function(){O("day"===S?function(e){return l(e,1)}:"month"===S?function(e){return new Date(e.getFullYear()+1,e.getMonth(),1)}:function(e){return new Date(e.getFullYear()+16,e.getMonth(),1)})}},{children:t.jsx(a.ChevronRight,{size:18})}))]})),"day"===S&&t.jsxs("div",e.__assign({className:"drs__inputs"},{children:[t.jsx("div",e.__assign({className:"drs__input-box".concat(L?" is-active":"")},{children:L?c(L):t.jsx("span",e.__assign({className:"drs__input-placeholder"},{children:"Start date"}))})),t.jsx("span",e.__assign({className:"drs__input-sep"},{children:"–"})),t.jsx("div",e.__assign({className:"drs__input-box".concat(z?" is-active":"")},{children:z?c(z):t.jsx("span",e.__assign({className:"drs__input-placeholder"},{children:"End date"}))}))]})),"month"===S&&t.jsx("div",e.__assign({className:"drs__month-grid"},{children:s.map(function(n,a){return t.jsx("button",e.__assign({type:"button",className:"drs__month-cell".concat(J.getMonth()===a?" is-selected":""),onClick:function(){O(new Date(J.getFullYear(),a,1)),Y("day")}},{children:n}),n)})})),"year"===S&&t.jsx("div",e.__assign({className:"drs__year-grid"},{children:Array.from({length:16},function(e,t){return R+t}).map(function(n){return t.jsx("button",e.__assign({type:"button",className:"drs__year-cell".concat(J.getFullYear()===n?" is-selected":""),onClick:function(){O(new Date(n,J.getMonth(),1)),Y("month")}},{children:n}),n)})})),"day"===S&&t.jsxs(t.Fragment,{children:[t.jsx("div",e.__assign({className:"drs__week"},{children:r.map(function(n){return t.jsx("div",e.__assign({className:"drs__weekday"},{children:n}),n)})})),t.jsx("div",e.__assign({className:"drs__grid"},{children:U.map(function(n,a){var s=n.date,r=!!L&&o(s,L),l=!!z&&o(s,z),c=!(!L||!z)&&function(e,t,n){var a=i(e).getTime();return a>=Math.min(i(t).getTime(),i(n).getTime())&&a<=Math.max(i(t).getTime(),i(n).getTime())}(s,L,z),d=r||l,u=r&&!!z,_=l&&!!L,g=a%7,h=0===g,m=6===g,f=function(e,t,n){var a=i(e).getTime();return!!(t&&a<i(t).getTime())||!!(n&&a>i(n).getTime())}(s,x,j),v=["drs__day",n.inMonth?"":"is-out",c&&!d?"is-range":"",r?"is-start":"",l?"is-end":"",u?"is-range-start":"",_?"is-range-end":"",c&&h?"is-row-first":"",c&&m?"is-row-last":""].filter(Boolean).join(" ");return t.jsx("button",e.__assign({type:"button",className:"".concat(v," ").concat(f?"is-disabled":""),disabled:f,onClick:function(){f||G(s)}},{children:t.jsx("span",e.__assign({className:"drs__day-inner"},{children:s.getDate()}))}),a)})}))]}),t.jsxs("div",e.__assign({className:"drs__footer"},{children:[t.jsx("button",e.__assign({type:"button",className:"drs__btn drs__btn--ghost",onClick:function(){E(null),A(null),_({start:null,end:null}),F(!1),Y("day")}},{children:"Reset"})),t.jsx("button",e.__assign({type:"button",className:"drs__btn drs__btn--primary",disabled:!L||!z,onClick:function(){if(L&&z){var e=new Date(z);e.setDate(e.getDate()+1),_({start:L,end:e}),F(!1),Y("day")}}},{children:"Apply"}))]}))]}))]}))};
|
|
2
|
-
//# sourceMappingURL=RecordDateRangeSelector.js.map
|
package/dist/cjs/RecordDashboard/RecordComponents/DatePickers/RecordDateRangeSelector.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RecordDateRangeSelector.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
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("./RecordDatePicker.js"),a=require("lucide-react");exports.default=function(s){var i,l=s.label,o=s.value,u=s.placeholder,c=void 0===u?"Select date":u,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:o?(i=o,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:o,minDate:d,maxDate:_,onChange:function(e){f(e),x(!1)}})}))]}))};
|
|
2
|
-
//# sourceMappingURL=RecordDateSelector.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RecordDateSelector.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),s=require("react/jsx-runtime"),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=RecordCustomMultiSelect.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RecordCustomMultiSelect.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),s=require("react/jsx-runtime"),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=RecordCustomSingleSelect.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RecordCustomSingleSelect.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),a=require("react/jsx-runtime"),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=RecordCustomTextInput.js.map
|
package/dist/cjs/RecordDashboard/RecordComponents/FiltersSidebar/RecordCustomTextInput.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RecordCustomTextInput.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),l=require("react/jsx-runtime"),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/RecordDateRangeSelector.js"),o=require("../DropDowns/RecordCustomMultiSelect.js"),r=require("../DatePickers/RecordDateSelector.js"),a=require("./RecordCustomTextInput.js"),t=require("../DropDowns/RecordCustomSingleSelect.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(a.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(t.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(o.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(r.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=RecordFiltersSidebar.js.map
|
package/dist/cjs/RecordDashboard/RecordComponents/FiltersSidebar/RecordFiltersSidebar.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RecordFiltersSidebar.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),n=require("react/jsx-runtime"),s=require("react"),l=require("./RecordLineChart.js"),i=require("./RecordGraphSkeleton.js"),r=require("./RecordPlotBySelector.js"),t=require("./types.js");function a(e){var l,i,t,a=e.config,o=void 0!==a.value,d=s.useState(null!==(l=a.defaultValue)&&void 0!==l?l:null===(t=null===(i=a.options)||void 0===i?void 0:i[0])||void 0===t?void 0:t.value),c=d[0],u=d[1],h=o?a.value:c;return n.jsx(r.default,{config:a,value:h,onChange:function(e){var n;o||u(e),null===(n=a.onChange)||void 0===n||n.call(a,e)}})}function o(s){var i,r=s.pane,t=s.xAxis,a=s.sharedStyle,o=s.isLast,d=s.hiddenKeys,c=s.toggleSeries,u=s.syncId,h=s.onPointClick,_=o?t:e.__assign(e.__assign({},t),{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(l.default,{series:r.series,hiddenKeys:d,onToggleSeries:c,xAxis:_,yAxis:r.yAxis,tooltip:r.tooltip,legend:{show:!1},syncId:u,style:e.__assign(e.__assign({},a),{chartHeight:null!==(i=r.height)&&void 0!==i?i:null==a?void 0:a.chartHeight}),onPointClick:h})]}))}exports.default=function(r){var d,c=r.series,u=r.panes,h=r.title,_=r.description,g=r.icon,v=r.plotBy,f=r.xAxis,m=r.yAxis,p=r.tooltip,x=r.legend,y=r.config,j=r.style,k=r.emptyState,N=r.loading,A=r.onPointClick,S=!!(null==u?void 0:u.length),C=s.useId(),b=s.useState(function(){var e=new Set;return(null!=c?c:[]).forEach(function(n){return n.hidden&&e.add(n.key)}),(null!=u?u:[]).forEach(function(n){return n.series.forEach(function(n){return n.hidden&&e.add(n.key)})}),e}),w=b[0],q=b[1],P=function(e){return q(function(n){var s=new Set(n);return s.has(e)?s.delete(e):s.add(e),s})},E=!1!==(null==y?void 0:y.showHeader),I=s.useMemo(function(){return S?u.some(function(e){return e.series.some(function(e){return e.data.some(function(e){return null!=e.y})})}):(null!=c?c:[]).some(function(e){return e.data.some(function(e){return null!=e.y})})},[S,u,c]),L=s.useMemo(function(){var n;if(!S)return j;var s=null!==(n=null==j?void 0:j.yAxisWidth)&&void 0!==n?n:u.some(function(e){var n;return null===(n=e.yAxis)||void 0===n?void 0:n.label})?64:48;return e.__assign(e.__assign({},j),{yAxisWidth:s})},[S,u,j]),M=s.useMemo(function(){if(!S)return[];var e=[];return u.forEach(function(n){var s;!1!==(null===(s=n.legend)||void 0===s?void 0:s.show)&&n.series.forEach(function(n,s){var l;!1!==n.showInLegend&&e.push({key:n.key,label:n.label,color:null!==(l=n.color)&&void 0!==l?l:t.RECOColorForIndex(null==L?void 0:L.colors,s)})})}),e},[S,u,null==L?void 0:L.colors]),H=S&&M.length>0,K=e.__spreadArray(e.__spreadArray([],v?[v]:[],!0),S?u.flatMap(function(e){return e.selector?[e.selector]:[]}):[],!0),R=h||_||g||K.length>0;return n.jsxs("div",e.__assign({className:"ellm-graph".concat((null==j?void 0:j.className)?" ".concat(j.className):""),style:null==j?void 0:j.container},{children:[E&&R&&n.jsxs("div",e.__assign({className:"ellm-graph__header"},{children:[n.jsxs("div",e.__assign({className:"ellm-graph__heading"},{children:[g&&n.jsx("span",e.__assign({className:"ellm-graph__icon"},{children:g})),n.jsxs("div",{children:[h&&n.jsx("div",e.__assign({className:"ellm-graph__title"},{children:h})),_&&n.jsx("div",e.__assign({className:"ellm-graph__description"},{children:_}))]})]})),K.length>0&&n.jsx("div",e.__assign({className:"ellm-graph__controls"},{children:K.map(function(e,s){return n.jsx(a,{config:e},s)})}))]})),N?n.jsx(i.default,{height:null==j?void 0:j.chartHeight}):!I&&k?n.jsx("div",e.__assign({className:"ellm-graph__empty"},{children:k})):S?n.jsxs(n.Fragment,{children:[n.jsx("div",e.__assign({className:"ellm-graph__panes",style:{gap:null!==(d=null==j?void 0:j.paneGap)&&void 0!==d?d:12}},{children:u.map(function(e,s){var l;return n.jsx(o,{pane:e,xAxis:f,sharedStyle:L,isLast:s===u.length-1,hiddenKeys:w,toggleSeries:P,syncId:C,onPointClick:A},null!==(l=e.key)&&void 0!==l?l:"pane-".concat(s))})})),H&&n.jsx("div",e.__assign({className:"ellm-graph__legend"},{children:M.map(function(s){var l=w.has(s.key);return n.jsxs("button",e.__assign({type:"button",className:"ellm-graph__legend-item".concat(l?" ellm-graph__legend-item--off":""),onClick:function(){return P(s.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:s.color,strokeWidth:"2.5",strokeLinecap:"round"}),n.jsx("circle",{cx:"14",cy:"6",r:"4",fill:"#fff",stroke:s.color,strokeWidth:"2.5"})]})),s.label]}),s.key)})}))]}):n.jsx(l.default,{series:null!=c?c:[],hiddenKeys:w,onToggleSeries:P,xAxis:f,yAxis:m,tooltip:p,legend:x,style:j,onPointClick:A})]}))};
|
|
2
|
-
//# sourceMappingURL=RecordGraph.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RecordGraph.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),s=require("react/jsx-runtime"),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=RecordGraphEmptyState.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RecordGraphEmptyState.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),s=require("react/jsx-runtime"),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=RecordGraphSkeleton.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RecordGraphSkeleton.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),i=require("react/jsx-runtime"),n=require("react"),o=require("recharts"),l=require("../ui/RecordChart.js"),t=require("./types.js"),r=require("../../RecordUtils/index.js"),a=function(e){return"number"==typeof e&&!Number.isNaN(e)},u=function(e){switch(e){case"linear":return"linear";case"step":return"stepAfter";default:return"monotone"}};exports.default=function(d){var s,v,c,f,y,h,m,p=d.series,g=d.hiddenKeys,x=d.onToggleSeries,k=d.xAxis,b=d.yAxis,C=d.tooltip,_=d.legend,j=d.style,A=d.syncId,w=d.onPointClick,E=null!==(s=null==j?void 0:j.chartHeight)&&void 0!==s?s:300,L=null!==(v=null==j?void 0:j.gridColor)&&void 0!==v?v:"#eef0f4",T=null!==(c=null==j?void 0:j.axisColor)&&void 0!==c?c:"#d7dbe3",R=null!==(f=null==j?void 0:j.axisLabelColor)&&void 0!==f?f:"#6b7280",S=null!==(y=null==j?void 0:j.tickColor)&&void 0!==y?y:"#9ca3af",F=null!==(h=null==j?void 0:j.fontFamily)&&void 0!==h?h:"Inter, system-ui, -apple-system, sans-serif",K=n.useMemo(function(){var i,n,o;if(null===(i=null==k?void 0:k.categories)||void 0===i?void 0:i.length)return{categories:k.categories,xType:null!==(n=k.type)&&void 0!==n?n:"category"};var l=new Set,t=[];p.forEach(function(e){return e.data.forEach(function(e){l.has(e.x)||(l.add(e.x),t.push(e.x))})});var r=t.every(a),u=null!==(o=null==k?void 0:k.type)&&void 0!==o?o:r?"number":"category";return{categories:"number"===u?e.__spreadArray([],t,!0).sort(function(e,i){return Number(e)-Number(i)}):t,xType:u}},[p,null==k?void 0:k.categories,null==k?void 0:k.type]),O=K.categories,M=K.xType,q=n.useMemo(function(){var e=new Map;return p.forEach(function(i){var n=new Map;i.data.forEach(function(e){return n.set(e.x,e.y)}),e.set(i.key,n)}),O.map(function(i){var n={x:i};return p.forEach(function(o){var l,t=null===(l=e.get(o.key))||void 0===l?void 0:l.get(i);n[o.key]=null==t?null:t}),n})},[p,O]),N=n.useMemo(function(){var e={},i=p.map(function(i,n){var o,l=null!==(o=i.color)&&void 0!==o?o:t.RECOColorForIndex(null==j?void 0:j.colors,n);return e[i.key]={label:i.label,color:l},{series:i,color:l,index:n}});return{chartConfig:e,resolved:i}},[p,null==j?void 0:j.colors]),W=N.chartConfig,I=N.resolved,z=n.useMemo(function(){var e={};return p.forEach(function(i){i.valueFormatter&&(e[i.key]=function(e,n){var o;return i.valueFormatter(e,null!==(o=null==n?void 0:n.payload)&&void 0!==o?o:{x:null==n?void 0:n.x,y:e})})}),e},[p]),G=!1!==(null==C?void 0:C.enabled),H=(null==C?void 0:C.seriesKeys)?new Set(C.seriesKeys):null,D=!1!==(null==_?void 0:_.show),P="top"===(null==_?void 0:_.position)?"top":"bottom",B="start"===(null==_?void 0:_.align)?"left":"end"===(null==_?void 0:_.align)?"right":"center",U=!1!==(null==k?void 0:k.show),V=!1!==(null==b?void 0:b.show),X=!1!==(null==j?void 0:j.showGrid),Y=!!(null==j?void 0:j.showVerticalGrid),Z=[null!=(null==b?void 0:b.min)?b.min:!1!==(null==b?void 0:b.beginAtZero)?0:"auto",null!=(null==b?void 0:b.max)?b.max:"auto"],J=null!==(m=null==j?void 0:j.yAxisWidth)&&void 0!==m?m:(null==b?void 0:b.label)?64:48,Q={top:12,right:16,bottom:8,left:null!=(null==j?void 0:j.yAxisWidth)?0:(null==b?void 0:b.label)?16:0};return i.jsx(l.RecordChartContainer,e.__assign({config:W,style:{height:E,fontFamily:F}},{children:i.jsxs(o.ComposedChart,e.__assign({data:q,margin:Q,syncId:A},{children:[i.jsx(o.CartesianGrid,{vertical:Y,horizontal:X,stroke:L}),i.jsx(o.XAxis,{dataKey:"x",type:"number"===M?"number":"category",hide:!U,height:(null==k?void 0:k.label)?52:void 0,tickLine:!1,axisLine:!(null==k?void 0:k.hideLine)&&{stroke:T},tickMargin:8,minTickGap:24,interval:"preserveStartEnd",tick:{fill:S,fontSize:11},tickFormatter:(null==k?void 0:k.formatTick)?function(e,i){return k.formatTick(e,i)}:void 0,label:(null==k?void 0:k.label)?{value:k.label,position:"insideBottom",offset:4,fill:R,fontSize:12,fontWeight:500}:void 0}),i.jsx(o.YAxis,{hide:!V,domain:Z,tickLine:!1,axisLine:!1===(null==b?void 0:b.hideLine)&&{stroke:T},tickCount:null==b?void 0:b.tickCount,width:J,tick:{fill:S,fontSize:11},tickFormatter:(null==b?void 0:b.formatTick)?function(e,i){return b.formatTick(e,i)}:function(e){return"number"==typeof e?r.RECOCompactNumber(e):String(e)},label:(null==b?void 0:b.label)?{value:b.label,angle:-90,position:"insideLeft",style:{textAnchor:"middle"},fill:R,fontSize:12,fontWeight:500}:void 0}),G&&i.jsx(l.RECOChartTooltip,{cursor:{stroke:T,strokeDasharray:"4 4"},content:function(n){var o,t=(null!==(o=n.payload)&&void 0!==o?o:[]).filter(function(e){var i=p.find(function(i){return i.key===e.dataKey});return!1!==(null==i?void 0:i.showInTooltip)&&!(H&&!H.has(String(e.dataKey)))});return(null==C?void 0:C.render)?C.render({x:n.label,points:t.map(function(e){var i;return{series:p.find(function(i){return i.key===e.dataKey}),value:null!==(i=e.value)&&void 0!==i?i:null,point:{x:n.label,y:e.value},color:e.color}})}):i.jsx(l.RECOChartTooltipContent,e.__assign({},n,{payload:t,hideLabel:!1===(null==C?void 0:C.showHeading),valueFormatters:z,labelFormatter:(null==C?void 0:C.formatHeading)?function(e){return C.formatHeading(e)}:void 0}))}}),D&&i.jsx(l.RECOChartLegend,{verticalAlign:P,content:function(n){return i.jsx(l.RECOChartLegendContent,e.__assign({},n,{verticalAlign:P,align:B,hiddenKeys:g,onItemClick:!1!==(null==_?void 0:_.toggle)&&x?x:void 0}))}}),I.map(function(n){var l,t,r,a,d=n.series,s=g.has(d.key),v="var(--color-".concat(d.key,")"),c=!0===d.dashed?"6 5":"string"==typeof d.dashed?d.dashed:void 0,f=!1!==d.showPoints&&{r:null!==(l=d.pointRadius)&&void 0!==l?l:3,fill:"#fff",stroke:v,strokeWidth:2},y={r:(null!==(t=d.pointRadius)&&void 0!==t?t:3)+2,onClick:w?function(e,i){var n,o;return function(e,i,n){if(w){var o=p.find(function(i){return i.key===e});o&&w({series:o,point:{x:null==i?void 0:i.x,y:null==i?void 0:i[e]},index:n})}}(d.key,null!==(n=null==i?void 0:i.payload)&&void 0!==n?n:i,null!==(o=null==i?void 0:i.index)&&void 0!==o?o:0)}:void 0},h={key:d.key,dataKey:d.key,name:d.key,type:u(d.curve),stroke:v,strokeWidth:null!==(r=d.strokeWidth)&&void 0!==r?r:2,strokeDasharray:c,connectNulls:!1,isAnimationActive:!1,hide:s,dot:f,activeDot:y};return d.area?i.jsx(o.Area,e.__assign({},h,{fill:v,fillOpacity:null!==(a=d.areaOpacity)&&void 0!==a?a:.12})):i.jsx(o.Line,e.__assign({},h))})]}))}))};
|
|
2
|
-
//# sourceMappingURL=RecordLineChart.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RecordLineChart.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
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=RecordPlotBySelector.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RecordPlotBySelector.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=["#6366f1","#10b981","#f59e0b","#ef4444","#3b82f6","#a855f7","#ec4899","#14b8a6"];exports.RECOColorForIndex=function(r,t){var o=r&&r.length?r:e;return o[t%o.length]},exports.RECODEFAULT_COLORS=e;
|
|
2
|
-
//# sourceMappingURL=types.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),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=RecordMetricCard.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RecordMetricCard.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var l=require("../../_virtual/_tslib.js"),e=require("react/jsx-runtime"),i=require("react"),o=require("lucide-react"),n=require("./DashboardDateFilter/RecordDashboardDateFilter.js"),t=require("./MetricCard/RecordMetricCard.js"),d=require("./FiltersSidebar/RecordFiltersSidebar.js"),a=require("./Graph/RecordGraph.js"),r=require("./Graph/RecordGraphEmptyState.js"),u=require("./DashboardDateFilter/RecordDatePreset.js"),s=require("../RecordUtils/RecordTableColumns.js"),v=require("../RecordUtils/RecordSectionOrder.js"),c=require("../RecordUtils/index.js"),g=require("../RecordUtils/RecordKpiIcon.js"),p=require("./AnalyticsChart/AnalyticsChart.js"),h=require("./TableHeader/TableHeader.js"),b=require("./Table/TableGrid/RecordTableGrid.js"),f=require("./Table/RecordTableCard.js"),y=require("./StatsCard/RecordDashboardStats.js");function m(l){return l&&"object"==typeof l&&"default"in l?l:{default:l}}var C=m(i),P=["#7c3aed","#FFC130","#F43F5E","#10b981","#3b82f6"];function x(m){var x,R,_,w,B,j,S,F,D,k,O,T,E,H,L,q,A,M,I,G,V,K,z,W,U,N,Z,J,Q,X,Y,$,ll,el,il,ol,nl,tl,dl,al,rl,ul,sl,vl,cl,gl,pl,hl,bl,fl,yl,ml,Cl,Pl,xl,Rl,_l,wl=m.uiConfig,Bl=m.data,jl=m.dataLoading,Sl=m.startDate,Fl=m.endDate,Dl=m.onDateChange,kl=m.onRefresh,Ol=m.selectedKpis,Tl=m.onKpiChange,El=m.sidebarVisible,Hl=m.onSidebarShow,Ll=m.onSidebarHide,ql=m.filterValues,Al=m.onFilterChange,Ml=m.onFilterReset,Il=m.onFilterApply,Gl=m.appliedFilters,Vl=m.graphEmptyState,Kl=m.tables,zl=m.tableLayout,Wl=m.statsConfig,Ul=m.sectionOrder,Nl=m.hiddenSections,Zl=m.tablePages,Jl=m.onTableExpand,Ql=m.onTableLoadMore,Xl=m.TableHeaderProps,Yl=m.ChartProps,$l=m.searchTerm,le=m.setSearchTerm,ee=m.selectedSort,ie=m.setSelectedSort,oe=m.tablePaginationState,ne=m.tablePaginationResponseState,te=m.onTablePageChange,de=m.chartPerRow,ae=m.chartLayoutStyle,re=null!==(_=null===(R=null===(x=null==wl?void 0:wl.data)||void 0===x?void 0:x.dateFilters)||void 0===R?void 0:R.datepresets)&&void 0!==_?_:[];console.log("tablePaginationState",oe);var ue=i.useMemo(function(){return re.map(function(l){return u.RECO_DATE_PRESET_MAP[l]}).filter(Boolean)},[JSON.stringify(re)]),se=i.useMemo(function(){return c.RECOGetActiveFilterCount(Gl)},[Gl]),ve=i.useMemo(function(){var l,e,i=null==zl?void 0:zl.spans;if(i)return(null!==(e=null===(l=null==wl?void 0:wl.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==zl?void 0:zl.spans,null===(w=null==wl?void 0:wl.data)||void 0===w?void 0:w.tableBuilder]),ce=e.jsx("div",l.__assign({style:{padding:"4px"}},{children:e.jsx(y.default,{uiConfig:null===(B=null==wl?void 0:wl.data)||void 0===B?void 0:B.statsBuilder,data:null==Bl?void 0:Bl.stats,statsConfig:Wl})})),ge=e.jsx("div",l.__assign({style:{padding:"4px"}},{children:e.jsx(a.default,{loading:jl,emptyState:null!=Vl?Vl:e.jsx(r.default,{}),title:null===(S=null===(j=null==wl?void 0:wl.data)||void 0===j?void 0:j.graphBuilder)||void 0===S?void 0:S.title,description:null===(D=null===(F=null==wl?void 0:wl.data)||void 0===F?void 0:F.graphBuilder)||void 0===D?void 0:D.subtitle,icon:e.jsx(o.ChartLine,{size:18}),xAxis:{label:(null===(T=null===(O=null===(k=null==wl?void 0:wl.data)||void 0===k?void 0:k.graphBuilder)||void 0===O?void 0:O.axis)||void 0===T?void 0:T.xAxisLabel)||"Date"},style:{chartHeight:220},panes:null===(H=null===(E=null==wl?void 0:wl.data)||void 0===E?void 0:E.graphBuilder)||void 0===H?void 0:H.tiers.map(function(l,i){var n,t,d,a,r,u,s,v,c,g,p,h=Ol[l.key]||(null===(n=l.plotOptions[0])||void 0===n?void 0:n.key),b=Bl.graph.tier.find(function(e){return e.key===l.key}),f=(null===(t=null==b?void 0:b.plotbyoptions)||void 0===t?void 0:t[h])||{},y=(null==l?void 0:l.series)||[],m=Object.keys(f),C=l.plotOptions.find(function(l){return l.value===h});return{key:l.key,selector:{label:"Plot By",value:h,onChange:function(e){Tl(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==C?void 0:C.yAxisLabel,beginAtZero:"false"!==(null==h?void 0:h.yAxisBeginAtZero)},tooltip:{formatHeading:function(l){return"".concat(l)}},legend:{position:(null===(r=null===(a=null===(d=null==wl?void 0:wl.data)||void 0===d?void 0:d.graphBuilder)||void 0===a?void 0:a.legend)||void 0===r?void 0:r.position)||"bottom",toggle:"yes"===(null===(v=null===(s=null===(u=null==wl?void 0:wl.data)||void 0===u?void 0:u.graphBuilder)||void 0===s?void 0:s.legend)||void 0===v?void 0:v.allowToggle),align:(null===(p=null===(g=null===(c=null==wl?void 0:wl.data)||void 0===c?void 0:c.graphBuilder)||void 0===g?void 0:g.legend)||void 0===p?void 0:p.alignment)||"center"},height:0===i?300:250,series:m.map(function(l,e){var i,o,n,t,d,a=(null===(o=null===(i=null==b?void 0:b.plotbyoptions)||void 0===i?void 0:i[h])||void 0===o?void 0:o[l])||[],r=P[e%P.length],u=y.find(function(e){return e.key===l});return{key:l,label:(null==u?void 0:u.name)||l,data:a,area:"yes"===(null==u?void 0:u.areaFill),curve:(null==u?void 0:u.curveType)||"linear",color:"#".concat(null==u?void 0:u.color)||r,dashed:"dashed"===(null==u?void 0:u.style),strokeWidth:parseInt(null==u?void 0:u.strokeWidth)||2,showPoints:"yes"===(null==u?void 0:u.showPoints),pointRadius:parseInt(null==u?void 0:u.pointRadius)||3,showInLegend:"yes"===(null===(d=null===(t=null===(n=null==wl?void 0:wl.data)||void 0===n?void 0:n.graphBuilder)||void 0===t?void 0:t.legend)||void 0===d?void 0:d.showLegends),valueFormatter:function(l){return"".concat(l)}}})}})})})),pe=e.jsx("div",l.__assign({style:{padding:"4px",display:"flex",gap:"10px",flexWrap:"wrap"}},{children:l.__spreadArray([],null!==(q=null===(L=null==wl?void 0:wl.data)||void 0===L?void 0:L.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==Bl?void 0:Bl.kpiCards)||void 0===i?void 0:i[l.title],n=c.RECOIsKpiValueObject(o)?c.RECOGetKpiValueColor(o.currentValue,o.baselineValue,l.indicatorLogic):void 0,d=c.RECOIsKpiValueObject(o)?c.RECOGetKpiDelta(o.currentValue,o.baselineValue,l.indicatorLogic):void 0;return e.jsx(t.default,{title:l.title,subtitle:l.subtitle,value:c.RECOFormatKpiValue(o,l.valueFormat),valueColor:n,delta:d&&{label:d.label,direction:d.direction,color:n},icon:g.RECOGetKpiIcon(l.icon),loading:jl},l.title)})}));console.log("RecordDashboard",oe);var he=(null===(A=null==wl?void 0:wl.data)||void 0===A?void 0:A.tableHeaderBuilder)?e.jsx(h.default,l.__assign({filterCount:se,sortoptions:null!==(G=null===(I=null===(M=null==wl?void 0:wl.data)||void 0===M?void 0:M.tableHeaderBuilder)||void 0===I?void 0:I.sortOptions)&&void 0!==G?G:[],searchPlaceholder:"Search by Document Type",selectedSort:ee,setSelectedSort:ie,onFilterClick:Hl,onRefresh:kl,searchTerm:$l,setSearchTerm:le,showFilterCount:!0,hideSearchBar:!(null===(K=null===(V=null==wl?void 0:wl.data)||void 0===V?void 0:V.tableHeaderBuilder)||void 0===K?void 0:K.showSearchBar),hideFilterButton:!(null===(W=null===(z=null==wl?void 0:wl.data)||void 0===z?void 0:z.tableHeaderBuilder)||void 0===W?void 0:W.showFilterButton),hideSortButton:!(null===(N=null===(U=null==wl?void 0:wl.data)||void 0===U?void 0:U.tableHeaderBuilder)||void 0===N?void 0:N.showSortButton),hideRefreshButton:!(null===(J=null===(Z=null==wl?void 0:wl.data)||void 0===Z?void 0:Z.tableHeaderBuilder)||void 0===J?void 0:J.showRefreshButton),refreshDuration:null===(X=null===(Q=null==wl?void 0:wl.data)||void 0===Q?void 0:Q.tableHeaderBuilder)||void 0===X?void 0:X.refreshDuration},Xl)):null,be=(null!==(ll=null===($=null===(Y=null==wl?void 0:wl.data)||void 0===Y?void 0:Y.tableBuilder)||void 0===$?void 0:$.length)&&void 0!==ll?ll:0)>0?e.jsx("div",l.__assign({style:{padding:"4px"}},{children:e.jsx(b.default,l.__assign({itemSpans:ve,totalColumns:null!==(el=null==zl?void 0:zl.totalColumns)&&void 0!==el?el:12,defaultSpan:null==zl?void 0:zl.defaultSpan,options:null!==(il=null==zl?void 0:zl.options)&&void 0!==il?il:[1,2,3],defaultColumns:null==zl?void 0:zl.defaultColumns,columns:null==zl?void 0:zl.columns,onColumnsChange:null==zl?void 0:zl.onColumnsChange,showToggle:(null===(ol=null==zl?void 0:zl.showToggle)||void 0===ol||ol)&&(null!==(dl=null===(tl=null===(nl=null==wl?void 0:wl.data)||void 0===nl?void 0:nl.tableBuilder)||void 0===tl?void 0:tl.length)&&void 0!==dl?dl:0)>1,toggleLabel:null==zl?void 0:zl.toggleLabel,minColumnWidth:null!==(al=null==zl?void 0:zl.minColumnWidth)&&void 0!==al?al:380,gap:null!==(rl=null==zl?void 0:zl.gap)&&void 0!==rl?rl:12,equalHeights:null===(ul=null==zl?void 0:zl.equalHeights)||void 0===ul||ul},{children:wl.data.tableBuilder.map(function(i){var o,n,t,d,a,r,u,v=null!==(n=null===(o=null==Bl?void 0:Bl.table)||void 0===o?void 0:o[i.key])&&void 0!==n?n:[],c=null==Zl?void 0:Zl[i.key],p=(null==oe?void 0:oe[i.key])||{currentPage:1,rowsPerPage:20},h=(null==c?void 0:c.loading)||!1,b=(p.currentPage-1)*p.rowsPerPage,y=b+p.rowsPerPage,m=v.slice(b,y),P=!!(null==c?void 0:c.loaded),x=P?c.rows:m,R=!P&&i.rowLimit&&i.rowLimit>0?v.slice(0,i.rowLimit):x,_=null==Kl?void 0:Kl[i.key],w=s.RECOBuildColumns(i,_),B=null==_?void 0:_.card,j=null==B?void 0:B.icon,S=g.RECOGetKpiIcon(i.icon),F=S&&C.default.isValidElement(S)?C.default.cloneElement(S,l.__assign(l.__assign({},null!=(null==j?void 0:j.size)?{size:j.size}:{}),(null==j?void 0:j.color)?{color:j.color}:{})):S,D=j?l.__assign(l.__assign(l.__assign({width:"auto",height:"auto"},j.color?{color:j.color}:{}),j.background?{background:j.background,padding:6,borderRadius:8}:{}),j.style):void 0,k=function(l,e){null==te||te(i.key,l,e)},O=null===(d=null===(t=null==_?void 0:_.TablePaginationProps)||void 0===t?void 0:t.enabled)||void 0===d||d,T=null===(a=null==ne?void 0:ne[i.key])||void 0===a?void 0:a.totalRecords;return e.jsx(f.default,{tableRenderConfig:_,tableHeader:he,title:i.title,icon:F,styles:{root:null==B?void 0:B.root,header:null==B?void 0:B.header,title:null==B?void 0:B.title,icon:D},onExpand:function(l){return null==Jl?void 0:Jl(i.key,l)},pagination:O?l.__assign({enabled:!0,currentPage:p.currentPage,rowsPerPage:p.rowsPerPage,totalRecords:T,itemLabel:(null===(r=i.title)||void 0===r?void 0:r.toLowerCase())||"items",pageSizeOptions:[10,20,50,100],onPageChange:k,onPrevious:function(){return k(p.currentPage-1,p.rowsPerPage)},onNext:function(){return k(p.currentPage+1,p.rowsPerPage)},onRowsPerPageChange:function(l){return k(1,l)}},null==_?void 0:_.TablePaginationProps):{enabled:!1},table:{rows:s.RECOWithRowIds(R,O?{currentPage:p.currentPage,rowsPerPage:p.rowsPerPage}:void 0),columns:w,loading:h||jl,loadingMore:null==c?void 0:c.loading,hasMore:null==c?void 0:c.hasMore,onLoadMore:function(){return null==Ql?void 0:Ql(i.key)},tableProps:null==_?void 0:_.tableProps,rowDetail:null==_?void 0:_.rowDetail,paginationMode:O,totalRecords:T,currentPage:p.currentPage,rowsPerPage:p.rowsPerPage,onPageChange:k,scrollHeight:null===(u=null==_?void 0:_.tableProps)||void 0===u?void 0:u.scrollHeight},columnHeaderTextAlign:null==_?void 0:_.columnHeaderTextAlign,columnCellTextAlign:null==_?void 0:_.columnCellTextAlign,showExpandButton:!1},i.key)})}))})):null,fe=(null===(vl=null===(sl=null==wl?void 0:wl.data)||void 0===sl?void 0:sl.chartBuilder)||void 0===vl?void 0:vl.length)?wl.data.chartBuilder.map(function(i,o){var n,t,d,a,r,u,s,v,c;return e.jsx(p.default,l.__assign({chartType:(null==i?void 0:i.chart_type)||"doughnut",title:(null==i?void 0:i.chart_title)||"Chart ".concat(o+1),labels:(null===(n=null==i?void 0:i.chart_data)||void 0===n?void 0:n.labels)||(null===(a=null===(d=null===(t=null==Bl?void 0:Bl.charts)||void 0===t?void 0:t[i.chart_id])||void 0===d?void 0:d.chart_data)||void 0===a?void 0:a.labels)||[],values:(null===(v=null===(s=null===(u=null===(r=null==Bl?void 0:Bl.charts)||void 0===r?void 0:r[i.chart_id])||void 0===u?void 0:u.chart_data)||void 0===s?void 0:s.datasets)||void 0===v?void 0:v.length)?Bl.charts[i.chart_id].chart_data.datasets:[],colors:(null===(c=null==i?void 0:i.colors)||void 0===c?void 0:c.length)?i.colors:["#3B82F6","#6DDB36","#FBBF24"]},Yl),i.chart_id||o)}):null,ye={statsCards:ce,graphBuilder:ge,kpiCards:pe,charts:fe,tableBuilder:be},me=v.RECOResolveSectionOrder(Ul,Nl,null===(cl=null==wl?void 0:wl.data)||void 0===cl?void 0:cl.sectionOrder,Object.keys(ye)),Ce=v.RECOIsSectionHidden(Nl,"dateFilters"),Pe=v.RECOIsSectionHidden(Nl,"sidebarFilters"),xe=v.RECOIsSectionHidden(Nl,"chart");return e.jsx(e.Fragment,{children:e.jsxs("div",l.__assign({style:{display:"flex",flexDirection:"column",gap:12}},{children:[!Ce&&e.jsx("div",l.__assign({style:{padding:"4px"}},{children:e.jsx(n.default,{filterCount:se,initialStartDate:Sl,initialEndDate:Fl,onDateChange:Dl,onRefresh:kl,onFilterClick:Hl,presets:ue,datePickerProps:{from:{minDate:new Date(2025,0,1),maxDate:new Date},to:{minDate:Sl,maxDate:new Date}},defaultPresets:null===(gl=null==wl?void 0:wl.data)||void 0===gl?void 0:gl.dateFilters.defaultPreset,showLiveButton:"yes"===(null===(hl=null===(pl=null==wl?void 0:wl.data)||void 0===pl?void 0:pl.dateFilters)||void 0===hl?void 0:hl.showLiveButton),showFilterButton:!Pe&&"yes"===(null===(fl=null===(bl=null==wl?void 0:wl.data)||void 0===bl?void 0:bl.dateFilters)||void 0===fl?void 0:fl.showFilterButton),showFilterCount:!Pe&&"yes"===(null===(ml=null===(yl=null==wl?void 0:wl.data)||void 0===yl?void 0:yl.dateFilters)||void 0===ml?void 0:ml.showFilterCount),liveDuration:null===(Pl=null===(Cl=null==wl?void 0:wl.data)||void 0===Cl?void 0:Cl.dateFilters)||void 0===Pl?void 0:Pl.liveDurationMs})})),me.map(function(i){return console.log(i,"key"),"charts"===i?xe?null:e.jsx("div",l.__assign({style:l.__assign({display:"grid",gridTemplateColumns:"repeat(".concat(de||2,", 1fr)"),gap:"12px",padding:"4px",width:"100%"},ae)},{children:ye[i]}),i):e.jsx(C.default.Fragment,{children:ye[i]},i)}),!Pe&&e.jsx(d.default,{visible:El,onHide:Ll,onReset:Ml,onApply:Il,fields:null!==(_l=null===(Rl=null===(xl=null==wl?void 0:wl.data)||void 0===xl?void 0:xl.sidebarFilters)||void 0===Rl?void 0:Rl.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=ql[t])&&void 0!==o?o:[]:null!==(n=ql[t])&&void 0!==n?n:"",onChange:function(l){return Al(t,l)}}}))&&void 0!==_l?_l:[]})]}))})}exports.RecordDashboard=x,exports.default=x;
|
|
2
|
-
//# sourceMappingURL=RecordDashboard.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RecordDashboard.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|