@campxdev/react-blueprint 2.2.6 → 2.2.7-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/types/src/components/Navigation/Calendar/index.d.ts +2 -0
- package/dist/cjs/types/src/components/Navigation/export.d.ts +1 -3
- package/dist/esm/index.js +2 -2
- package/dist/esm/types/src/components/Navigation/Calendar/index.d.ts +2 -0
- package/dist/esm/types/src/components/Navigation/export.d.ts +1 -3
- package/dist/index.d.ts +2 -57
- package/package.json +1 -1
- package/src/components/Navigation/Calendar/Calendar.tsx +0 -2
- package/src/components/Navigation/Calendar/index.ts +2 -0
- package/src/components/Navigation/export.ts +1 -3
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
export * from '../Layout/PageHeader/components/TableColumnsSelector/TableColumnsSelector';
|
|
2
2
|
export * from './Breadcrumbs/Breadcrumbs';
|
|
3
|
-
export * from './Calendar
|
|
4
|
-
export * from './Calendar/types';
|
|
5
|
-
export * from './Calendar/utils';
|
|
3
|
+
export * from './Calendar';
|
|
6
4
|
export * from './ConfirmDialog/ConfirmDialog';
|
|
7
5
|
export * from './Dialog/Dialog';
|
|
8
6
|
export * from './DialogButton/DialogButton';
|
package/dist/index.d.ts
CHANGED
|
@@ -1295,61 +1295,6 @@ interface CalendarProps {
|
|
|
1295
1295
|
|
|
1296
1296
|
declare const Calendar: react__default.FC<CalendarProps>;
|
|
1297
1297
|
|
|
1298
|
-
/**
|
|
1299
|
-
* Generate recurring events based on a pattern
|
|
1300
|
-
*/
|
|
1301
|
-
interface RecurringEventConfig {
|
|
1302
|
-
title: string;
|
|
1303
|
-
startTime: string;
|
|
1304
|
-
endTime: string;
|
|
1305
|
-
startDate: Date;
|
|
1306
|
-
endDate?: Date;
|
|
1307
|
-
daysOfWeek?: number[];
|
|
1308
|
-
interval?: number;
|
|
1309
|
-
backgroundColor?: string;
|
|
1310
|
-
extendedProps?: {
|
|
1311
|
-
[key: string]: any;
|
|
1312
|
-
};
|
|
1313
|
-
}
|
|
1314
|
-
declare const generateRecurringEvents: (config: RecurringEventConfig, maxEvents?: number) => CalendarEvent[];
|
|
1315
|
-
/**
|
|
1316
|
-
* Generate sample business events for demonstration
|
|
1317
|
-
*/
|
|
1318
|
-
declare const generateBusinessEvents: (startDate?: Date) => CalendarEvent[];
|
|
1319
|
-
/**
|
|
1320
|
-
* Filter events by date range
|
|
1321
|
-
*/
|
|
1322
|
-
declare const filterEventsByDateRange: (events: CalendarEvent[], startDate: Date, endDate: Date) => CalendarEvent[];
|
|
1323
|
-
/**
|
|
1324
|
-
* Group events by date
|
|
1325
|
-
*/
|
|
1326
|
-
declare const groupEventsByDate: (events: CalendarEvent[]) => {
|
|
1327
|
-
[date: string]: CalendarEvent[];
|
|
1328
|
-
};
|
|
1329
|
-
/**
|
|
1330
|
-
* Calculate event statistics
|
|
1331
|
-
*/
|
|
1332
|
-
interface EventStats {
|
|
1333
|
-
totalEvents: number;
|
|
1334
|
-
eventsThisWeek: number;
|
|
1335
|
-
eventsThisMonth: number;
|
|
1336
|
-
averageEventsPerDay: number;
|
|
1337
|
-
mostBusyDay: string;
|
|
1338
|
-
leastBusyDay: string;
|
|
1339
|
-
}
|
|
1340
|
-
declare const calculateEventStats: (events: CalendarEvent[]) => EventStats;
|
|
1341
|
-
/**
|
|
1342
|
-
* Convert events to different formats
|
|
1343
|
-
*/
|
|
1344
|
-
declare const exportEventsToCSV: (events: CalendarEvent[]) => string;
|
|
1345
|
-
/**
|
|
1346
|
-
* Validate event data
|
|
1347
|
-
*/
|
|
1348
|
-
declare const validateEvent: (event: Partial<CalendarEvent>) => {
|
|
1349
|
-
isValid: boolean;
|
|
1350
|
-
errors: string[];
|
|
1351
|
-
};
|
|
1352
|
-
|
|
1353
1298
|
type ConfirmDialogType = 'confirm' | 'delete';
|
|
1354
1299
|
type ConfirmDialogProps = {
|
|
1355
1300
|
isOpen: boolean;
|
|
@@ -1529,5 +1474,5 @@ declare const splitBreadcrumbIdSlug: (param: string) => {
|
|
|
1529
1474
|
declare const isLocal: boolean;
|
|
1530
1475
|
declare const isDevelopment: boolean;
|
|
1531
1476
|
|
|
1532
|
-
export { Accordion, AccordionGroup, ActivityLogView, Alert, AnimatedGIFs, AppHeader, AppHeaderV2, AppLayout, BarChart, Breadcrumbs, Button, Calendar, Card, CellContainer, CenterBox, Chips, CircularAvatar, ComingSoon, ConfirmDialog, DataTable, DatePicker, DateTimePicker, DensitySelector, Dialog, DialogButton, DropDownButton, DropDownIcon, DropdownMenu, DropdownMenuItem, EditableDataTable, EditableTableCore, EmptyIllustration, FileUpload, FloatingContent, FloatingHelpDocs, FooterContainerContainer, FormActions, FormControlWrapper, FormWrapper, HelpPopup, IconButtons, Icons, InternalServerError, LabelWrapper, LineChart, MuiThemeProvider, MultiCheckBox, NoInterneConnection, NoItemFound, OtpInput, PageContent, PageHeader, PageNotFound, PasswordField, PieChart, PreviewFiles, ProgressCard, RadioGroup, ResourceNotFound, SearchBar, Select, SidePanel, SidePanelVariables, Sidebar, SingleCheckBox, SingleSelect, Snackbar, Spinner, SquareAvatar, StatusCard, Stepper, StyledContainer, Svgs, Switch, SwitchInstitutionPopup, TableColumnsSelector, TableColumnsSelectorMenuFooter, TabsContainer, TabsLayout, TextField, TimePicker, Timeline, ToolTipContent, Tooltip, Tutorial, Typography, UnAuthorized, UploadDialog, UserProfilePopup,
|
|
1533
|
-
export type { AccordionProps, Activity, ActivityAction, AlertProps, AppHeaderProps, AppHeaderV2Props, AppLayoutProps, BarChartProps, BreadcrumbsProps, ButtonConfig, ButtonProps, CalendarDateClickInfo, CalendarDateSelectInfo, CalendarEvent, CalendarEventClickInfo, CalendarEventDropInfo, CalendarEventResizeInfo, CalendarHeaderToolbar, CalendarProps, CalendarView, CardProps, CheckboxProps, CircularAvatarProps, ConfirmDialogProps, ConfirmDialogType, DataTableProps, DensitySelectorProps, DialogButtonProps, DialogProps, DropdownMenuItemProps, DropdownMenuProps, EditableDataTableProps,
|
|
1477
|
+
export { Accordion, AccordionGroup, ActivityLogView, Alert, AnimatedGIFs, AppHeader, AppHeaderV2, AppLayout, BarChart, Breadcrumbs, Button, Calendar, Card, CellContainer, CenterBox, Chips, CircularAvatar, ComingSoon, ConfirmDialog, DataTable, DatePicker, DateTimePicker, DensitySelector, Dialog, DialogButton, DropDownButton, DropDownIcon, DropdownMenu, DropdownMenuItem, EditableDataTable, EditableTableCore, EmptyIllustration, FileUpload, FloatingContent, FloatingHelpDocs, FooterContainerContainer, FormActions, FormControlWrapper, FormWrapper, HelpPopup, IconButtons, Icons, InternalServerError, LabelWrapper, LineChart, MuiThemeProvider, MultiCheckBox, NoInterneConnection, NoItemFound, OtpInput, PageContent, PageHeader, PageNotFound, PasswordField, PieChart, PreviewFiles, ProgressCard, RadioGroup, ResourceNotFound, SearchBar, Select, SidePanel, SidePanelVariables, Sidebar, SingleCheckBox, SingleSelect, Snackbar, Spinner, SquareAvatar, StatusCard, Stepper, StyledContainer, Svgs, Switch, SwitchInstitutionPopup, TableColumnsSelector, TableColumnsSelectorMenuFooter, TabsContainer, TabsLayout, TextField, TimePicker, Timeline, ToolTipContent, Tooltip, Tutorial, Typography, UnAuthorized, UploadDialog, UserProfilePopup, createBreadcrumbIdSlug, darkTheme, getBreadcrumbsCharacter, isDevelopment, isLocal, lightTheme, reactBlueprintReducers, splitBreadcrumbIdSlug, usePageHeader, useParams, useUrlParams };
|
|
1478
|
+
export type { AccordionProps, Activity, ActivityAction, AlertProps, AppHeaderProps, AppHeaderV2Props, AppLayoutProps, BarChartProps, BreadcrumbsProps, ButtonConfig, ButtonProps, CalendarDateClickInfo, CalendarDateSelectInfo, CalendarEvent, CalendarEventClickInfo, CalendarEventDropInfo, CalendarEventResizeInfo, CalendarHeaderToolbar, CalendarProps, CalendarView, CardProps, CheckboxProps, CircularAvatarProps, ConfirmDialogProps, ConfirmDialogType, DataTableProps, DensitySelectorProps, DialogButtonProps, DialogProps, DropdownMenuItemProps, DropdownMenuProps, EditableDataTableProps, FileUploadProps, FloatingContainerProps, FormActionsProps, HelpDocsAction, HelpDocsConfig, IconComponent, IconProps, IconsType, LineChartProps, MultiCheckboxProps, OtpInputProps, PageContentProps, PasswordFieldProps, PieChartProps, PreviewFilesProps, ProgressCardProps, RadioGroupProps, SearchBarProps, SelectProps, Severity, SideMenuItemProps, SidePanelProps, SingleSelectProps, SnackbarProps, SquareAvatarProps, StatusCardProps, SubMenuItemProps, SwitchProps, TableColumnsSelectorProps, TabsContainerProps, TextFieldProps, TimelineItems, TimelineProps, TooltipContentProps, TooltipProps, TypographyProps, UploadDialogProps };
|
package/package.json
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
export * from '../Layout/PageHeader/components/TableColumnsSelector/TableColumnsSelector';
|
|
2
2
|
export * from './Breadcrumbs/Breadcrumbs';
|
|
3
|
-
export * from './Calendar
|
|
4
|
-
export * from './Calendar/types';
|
|
5
|
-
export * from './Calendar/utils';
|
|
3
|
+
export * from './Calendar';
|
|
6
4
|
export * from './ConfirmDialog/ConfirmDialog';
|
|
7
5
|
export * from './Dialog/Dialog';
|
|
8
6
|
export * from './DialogButton/DialogButton';
|