componentes-sinco 1.1.26 → 1.1.28

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/index.d.cts CHANGED
@@ -1,10 +1,10 @@
1
1
  import * as React$1 from 'react';
2
- import React__default, { ComponentType, ReactNode } from 'react';
2
+ import React__default, { ReactNode, ComponentType } from 'react';
3
3
  import * as _mui_material from '@mui/material';
4
4
  import { SxProps } from '@mui/material';
5
+ import dayjs, { Dayjs } from 'dayjs';
5
6
  import * as Muicon from '@mui/icons-material';
6
7
  import * as _mui_material_OverridableComponent from '@mui/material/OverridableComponent';
7
- import dayjs, { Dayjs } from 'dayjs';
8
8
  import * as _mui_material_styles from '@mui/material/styles';
9
9
 
10
10
  interface UploadedFile$1 {
@@ -39,6 +39,104 @@ type RepplyAnchorPositions = "left" | "right";
39
39
 
40
40
  declare function capitalize(text: string): string;
41
41
 
42
+ interface UploadedFile {
43
+ name: string;
44
+ size: number;
45
+ type: string;
46
+ progress: number;
47
+ uploadError?: boolean;
48
+ file?: File;
49
+ }
50
+ interface AttachmentMobileProps<T> {
51
+ buttonAttachment?: {
52
+ icon?: string;
53
+ text?: string;
54
+ color?: ReplyPalette$1 | "primary";
55
+ variant?: ReplyButtonVariants | "text";
56
+ iconPosition?: 'left' | 'right';
57
+ size?: RepplySizeVariants | "small";
58
+ };
59
+ children?: React.ReactNode;
60
+ maxSize?: number;
61
+ sx?: SxProps;
62
+ files?: T[];
63
+ initialFiles?: UploadedFile[];
64
+ fileAccepted?: string;
65
+ onChange?: (archivos: File[]) => void;
66
+ deleteAction?: (name: string) => Promise<void> | void;
67
+ downloadAction?: (file: UploadedFile) => Promise<void> | void;
68
+ view?: 'file' | 'button';
69
+ }
70
+
71
+ declare const AttachmentMobile: ({ buttonAttachment, maxSize, fileAccepted, initialFiles, deleteAction, downloadAction, onChange, children, sx, view, }: AttachmentMobileProps<any>) => React__default.JSX.Element;
72
+
73
+ type CalendarView = 'month' | 'week' | 'day';
74
+ type EventState = 'En progreso' | 'Finalizada' | 'Vencida' | 'Asignada' | 'Aplazada' | 'Generada';
75
+ interface CalendarEvent {
76
+ id: string;
77
+ title: string;
78
+ start: dayjs.Dayjs;
79
+ end: dayjs.Dayjs;
80
+ state: EventState;
81
+ }
82
+ interface CalendarProps {
83
+ events: CalendarEvent[];
84
+ view?: CalendarView;
85
+ toolbar?: React.ReactNode;
86
+ onDayClick?: (date: dayjs.Dayjs) => void;
87
+ onMoreClick?: (date: dayjs.Dayjs, events: CalendarEvent[]) => void;
88
+ onEventClick?: (event: CalendarEvent, date?: dayjs.Dayjs) => void;
89
+ onViewChange?: (view: CalendarView) => void;
90
+ onDateChange?: (date: dayjs.Dayjs) => void;
91
+ onEventHover?: (event: CalendarEvent) => React.ReactNode;
92
+ onNavigate?: (action: 'TODAY' | 'PREV' | 'NEXT') => void;
93
+ isLoading?: boolean;
94
+ startHour?: number;
95
+ endHour?: number;
96
+ }
97
+
98
+ declare const Calendar: React__default.FC<CalendarProps>;
99
+
100
+ declare const CALENDAR_CONSTANTS: {
101
+ readonly GRID_TEMPLATE: "repeat(7, minmax(150px, 1fr))";
102
+ readonly DAY_HEIGHT: 60;
103
+ readonly SIDEBAR_WIDTH: 47;
104
+ readonly MIN_CELL_HEIGHT: 99;
105
+ readonly DEFAULT_START_HOUR: 0;
106
+ readonly DEFAULT_END_HOUR: 23;
107
+ readonly DRAWER_WIDTH: "350px";
108
+ readonly MAX_VISIBLE_EVENTS: 2;
109
+ readonly MIN_WIDTH: "1050px";
110
+ readonly LOADING_SPINNER_SIZE: "60px";
111
+ readonly LOADING_CONTAINER_HEIGHT: "450px";
112
+ readonly DAY_CIRCLE_SIZE: 24;
113
+ };
114
+
115
+ type NavigationAction = 'PREV' | 'NEXT' | 'TODAY';
116
+ declare const useCalendarNavigation: (initialDate?: dayjs.Dayjs, onDateChange?: ((date: dayjs.Dayjs) => void) | undefined) => {
117
+ currentDate: dayjs.Dayjs;
118
+ setCurrentDate: React$1.Dispatch<React$1.SetStateAction<dayjs.Dayjs>>;
119
+ navigateDate: (action: NavigationAction, view: CalendarView) => void;
120
+ };
121
+
122
+ type CellBorderType = 'full' | 'start' | 'end' | 'middle' | 'none';
123
+ declare const filterEventsForDay: (events: CalendarEvent[], day: Dayjs) => CalendarEvent[];
124
+ declare const getCellBorderType: (cellHour: number, dayEvents: CalendarEvent[]) => CellBorderType;
125
+ declare const clampEventToVisibleRange: (event: CalendarEvent, currentDate: Dayjs, startHour: number, endHour: number) => {
126
+ startMinutes: number;
127
+ durationMinutes: number;
128
+ clampedStart: dayjs.Dayjs;
129
+ clampedEnd: dayjs.Dayjs;
130
+ };
131
+
132
+ interface DayEventsListProps {
133
+ events: CalendarEvent[];
134
+ day: dayjs.Dayjs;
135
+ onEventClick?: (event: CalendarEvent, date?: dayjs.Dayjs) => void;
136
+ onEventHover?: (event: CalendarEvent) => React__default.ReactNode;
137
+ }
138
+ declare const DayEventsList: React__default.FC<DayEventsListProps>;
139
+
42
140
  interface ArrayElement<T> {
43
141
  data?: T[];
44
142
  columnGroup?: string;
@@ -140,6 +238,27 @@ declare const ToastProgress: (timeProgress: number) => {
140
238
 
141
239
  declare function SCDrawer<T>({ title, arrayElements, actions, buttonDrawer, colorTitle, anchor, width, open, setOpen, chipFilters, heightDrawer, filterSideCard, }: DrawerProps<T>): React__default.JSX.Element;
142
240
 
241
+ type EmptyStateStates = 'create' | 'error' | 'noResult' | 'search';
242
+ type EmptyStateSize = 'small' | 'large';
243
+ interface EmptyStateProperties {
244
+ icon?: ReactNode;
245
+ state?: EmptyStateStates;
246
+ size?: EmptyStateSize;
247
+ title: string;
248
+ subtitle?: string;
249
+ actions?: {
250
+ icon?: string;
251
+ text?: string;
252
+ color?: ReplyPalette$1;
253
+ variant?: 'text' | 'outlined' | 'contained';
254
+ iconPosition?: 'left' | 'right';
255
+ size?: "small" | "medium" | "large";
256
+ onClick?: () => void;
257
+ }[];
258
+ containerHeight?: string;
259
+ }
260
+ declare const EmptyState: ({ state, size, title, subtitle, actions, containerHeight, icon, }: EmptyStateProperties) => React__default.JSX.Element;
261
+
143
262
  interface FooterActionsProperties {
144
263
  label?: React.ReactNode;
145
264
  leftContent?: React.ReactNode;
@@ -149,6 +268,23 @@ interface FooterActionsProperties {
149
268
 
150
269
  declare const FooterAction: ({ leftContent, rightContent, label, variant, }: FooterActionsProperties) => React__default.JSX.Element;
151
270
 
271
+ interface BasicMenuProps {
272
+ open?: boolean;
273
+ onClose?: () => void;
274
+ button?: {
275
+ icon?: string;
276
+ text?: string;
277
+ color?: ReplyPalette$1;
278
+ variant?: ReplyButtonVariants;
279
+ iconPosition?: 'left' | 'right';
280
+ size?: "small" | "medium" | "large";
281
+ };
282
+ anchorEl?: null | HTMLElement;
283
+ handleClick?: (event: React__default.MouseEvent<HTMLButtonElement>) => void;
284
+ options?: [];
285
+ }
286
+ declare const BasicMenu: ({ open, onClose, button, anchorEl, handleClick, options }: BasicMenuProps) => React__default.JSX.Element;
287
+
152
288
  declare const modalStateConfig: {
153
289
  info: {
154
290
  color: string;
@@ -312,40 +448,44 @@ interface SCTextFieldProps {
312
448
 
313
449
  declare const SCTextField: ({ title, iconTitle, infoTitle, label, placeholder, infoElement, iconInputStart, iconInputEnd, maxLength, variant, format, disabled, required, size, width, color, background, setState, state, onChange, onBlur, onKeyDown, }: SCTextFieldProps) => React__default.JSX.Element;
314
450
 
315
- interface SCCalendarSwipeableProps {
451
+ interface SCActivityCalendarProps {
316
452
  background?: string;
317
453
  setState: React__default.Dispatch<React__default.SetStateAction<string>>;
318
454
  state: string | any;
455
+ events: any[];
456
+ fn?: any;
457
+ configRangeHour?: string;
319
458
  }
320
- declare const SCCalendarSwipeable: ({ background, setState, state, }: SCCalendarSwipeableProps) => React__default.JSX.Element;
459
+ declare const SCActivityCalendar: ({ background, setState, state, events, fn, configRangeHour, }: SCActivityCalendarProps) => React__default.JSX.Element;
321
460
 
322
- interface SCDataGridInitialProps<T> {
323
- data: T[];
324
- columns: any;
325
- groupColumns?: (item: any) => {
326
- textGroup1?: string;
327
- valueGroup1?: string;
328
- textGroup2?: string;
329
- valueGroup2?: string;
330
- headerNameFirstColumn?: string;
331
- fieldFirstColumn?: string;
332
- };
333
- getRowId?: (row: T) => string | number;
334
- rowsTable?: number;
335
- checkboxSelection?: boolean;
336
- rowSelection?: boolean;
337
- width?: string | number;
338
- maxHeight?: number;
339
- density?: "compact" | "standard" | "comfortable";
340
- disableColumnMenu?: boolean;
341
- disableColumnSorting?: boolean;
342
- setSelectedIndex?: (index: number) => void;
343
- selectedIndex?: number;
344
- setSelectedRow?: (any: any) => void;
345
- selectedRow?: any;
461
+ interface SCAlertProps {
462
+ title: string;
463
+ subtitle?: string;
464
+ severity?: 'success' | 'error' | 'warning' | 'info';
465
+ variant?: 'filled' | 'outlined' | 'standard';
466
+ width?: string;
467
+ close?: boolean;
468
+ openState: boolean;
469
+ setOpenState: any;
346
470
  }
347
- declare function SCDataGridInitial<T>({ data, columns, getRowId, groupColumns, rowsTable, rowSelection, checkboxSelection, width, maxHeight, density, disableColumnMenu, disableColumnSorting, setSelectedIndex, selectedIndex, setSelectedRow, selectedRow }: SCDataGridInitialProps<T>): React__default.JSX.Element;
348
- declare const SCDataGrid: React__default.MemoExoticComponent<typeof SCDataGridInitial>;
471
+ declare const SCAlert: ({ title, subtitle, severity, variant, width, close, openState, setOpenState, }: SCAlertProps) => React__default.JSX.Element;
472
+
473
+ interface Option$3 {
474
+ name: string;
475
+ fn?: () => void;
476
+ disabled?: boolean;
477
+ }
478
+ interface SCAppBarProps {
479
+ background?: string;
480
+ contenidoExtra?: React__default.ReactNode;
481
+ menuItems?: React__default.ReactNode;
482
+ options: Option$3[];
483
+ fnVolver?: () => void;
484
+ visibleVolver?: boolean;
485
+ visibleConexion?: boolean;
486
+ visibleMenu?: boolean;
487
+ }
488
+ declare const SCAppBar: ({ background, contenidoExtra, options, fnVolver, visibleVolver, visibleConexion, visibleMenu, }: SCAppBarProps) => React__default.JSX.Element;
349
489
 
350
490
  declare const StopEvent: React__default.FC<React__default.PropsWithChildren>;
351
491
  interface SCAutocompleteProps<T> {
@@ -376,26 +516,75 @@ interface SCAutocompleteProps<T> {
376
516
  }
377
517
  declare function SCAutocomplete<T>({ label, data, columnGroup, getItemValue, typeFormat, checkMassive, deleteType, fnAplicar, required, disabled, background, setState, state, inputChange, maxCheck, }: SCAutocompleteProps<T>): React__default.JSX.Element;
378
518
 
379
- type EmptyStateStates = 'create' | 'error' | 'noResult' | 'search';
380
- type EmptyStateSize = 'small' | 'large';
381
- interface EmptyStateProperties {
382
- icon?: ReactNode;
383
- state?: EmptyStateStates;
384
- size?: EmptyStateSize;
385
- title: string;
519
+ interface SCCalendarSwipeableProps {
520
+ background?: string;
521
+ setState: React__default.Dispatch<React__default.SetStateAction<string>>;
522
+ state: string | any;
523
+ }
524
+ declare const SCCalendarSwipeable: ({ background, setState, state, }: SCCalendarSwipeableProps) => React__default.JSX.Element;
525
+
526
+ interface SCCardProps {
527
+ width?: string;
528
+ title?: string;
386
529
  subtitle?: string;
530
+ iconTitle?: React__default.ReactNode | React__default.ReactElement | keyof typeof Muicon;
531
+ actionsTitle?: any;
532
+ image?: any;
533
+ content?: any;
387
534
  actions?: {
388
- icon?: string;
389
535
  text?: string;
390
- color?: ReplyPalette$1;
391
- variant?: 'text' | 'outlined' | 'contained';
392
- iconPosition?: 'left' | 'right';
393
- size?: "small" | "medium" | "large";
394
- onClick?: () => void;
536
+ fn: () => void;
537
+ disabled?: boolean;
395
538
  }[];
396
- containerHeight?: string;
539
+ expand?: {
540
+ type?: 'icon' | 'text';
541
+ position?: 'top' | 'bottom';
542
+ content?: string;
543
+ };
397
544
  }
398
- declare const EmptyState: ({ state, size, title, subtitle, actions, containerHeight, icon, }: EmptyStateProperties) => React__default.JSX.Element;
545
+ declare const SCCard: ({ width, title, image, iconTitle, actionsTitle, subtitle, content, actions, expand }: SCCardProps) => React__default.JSX.Element;
546
+
547
+ interface SCDataGridInitialProps<T> {
548
+ data: T[];
549
+ columns: any;
550
+ groupColumns?: (item: any) => {
551
+ textGroup1?: string;
552
+ valueGroup1?: string;
553
+ textGroup2?: string;
554
+ valueGroup2?: string;
555
+ headerNameFirstColumn?: string;
556
+ fieldFirstColumn?: string;
557
+ };
558
+ getRowId?: (row: T) => string | number;
559
+ titleRowsPage?: boolean;
560
+ rowsTable?: number;
561
+ checkboxSelection?: boolean;
562
+ rowSelection?: boolean;
563
+ width?: string | number;
564
+ maxHeight?: number;
565
+ density?: "compact" | "standard" | "comfortable";
566
+ disableColumnMenu?: boolean;
567
+ disableColumnSorting?: boolean;
568
+ setSelectedIndex?: (index: number) => void;
569
+ selectedIndex?: number;
570
+ setSelectedRow?: (any: any) => void;
571
+ selectedRow?: any;
572
+ }
573
+ declare function SCDataGridInitial<T>({ data, columns, getRowId, groupColumns, titleRowsPage, rowsTable, rowSelection, checkboxSelection, width, maxHeight, density, disableColumnMenu, disableColumnSorting, setSelectedIndex, selectedIndex, setSelectedRow, selectedRow }: SCDataGridInitialProps<T>): React__default.JSX.Element;
574
+ declare const SCDataGrid: React__default.MemoExoticComponent<typeof SCDataGridInitial>;
575
+
576
+ interface SCDatePickerProps$1 {
577
+ label?: string;
578
+ required?: boolean;
579
+ disabled?: boolean;
580
+ background?: string;
581
+ state: Dayjs;
582
+ setState: (value: Dayjs) => void;
583
+ width?: string;
584
+ minDate?: Dayjs;
585
+ maxDate?: Dayjs;
586
+ }
587
+ declare const SCDatePicker: ({ label, required, disabled, background, state, setState, width, minDate, maxDate }: SCDatePickerProps$1) => React__default.JSX.Element;
399
588
 
400
589
  interface SCDateRangeProps {
401
590
  labelDateInitial?: string;
@@ -442,7 +631,7 @@ interface SCDialogProps {
442
631
  }
443
632
  declare const SCDialog: ({ title, iconTitle, subtitle, content, actions, buttonDialog, disableClose, dividers, widthContent, heightContent, background, typeView, setShow, show }: SCDialogProps) => React__default.JSX.Element;
444
633
 
445
- interface Option$3 {
634
+ interface Option$2 {
446
635
  title?: string;
447
636
  subtitle?: any;
448
637
  description?: any;
@@ -456,13 +645,13 @@ interface Option$3 {
456
645
  fn?: any;
457
646
  }
458
647
  interface SCListContentProps {
459
- options: Option$3[];
648
+ options: Option$2[];
460
649
  iconLeftType?: "Icon" | "Avatar";
461
650
  iconRightType?: "Icon" | "Avatar";
462
651
  }
463
652
  declare const SCListContent: ({ options, iconLeftType, iconRightType }: SCListContentProps) => React__default.JSX.Element;
464
653
 
465
- interface Option$2 {
654
+ interface Option$1 {
466
655
  name?: string;
467
656
  iconLeft?: any | React__default.ReactNode | React__default.ReactElement | React__default.ElementType | null;
468
657
  iconRight?: any | React__default.ReactNode | React__default.ReactElement | React__default.ElementType | null;
@@ -471,7 +660,7 @@ interface Option$2 {
471
660
  }
472
661
  interface SCMenuProps {
473
662
  header?: any;
474
- options: Option$2[];
663
+ options: Option$1[];
475
664
  defaultOption?: string;
476
665
  disable?: boolean;
477
666
  widthMenu?: string;
@@ -480,23 +669,6 @@ interface SCMenuProps {
480
669
  }
481
670
  declare const SCMenu: ({ header, options, defaultOption, disable, widthMenu, heightMenu, widthPage }: SCMenuProps) => React__default.JSX.Element;
482
671
 
483
- interface BasicMenuProps {
484
- open?: boolean;
485
- onClose?: () => void;
486
- button?: {
487
- icon?: string;
488
- text?: string;
489
- color?: ReplyPalette$1;
490
- variant?: ReplyButtonVariants;
491
- iconPosition?: 'left' | 'right';
492
- size?: "small" | "medium" | "large";
493
- };
494
- anchorEl?: null | HTMLElement;
495
- handleClick?: (event: React__default.MouseEvent<HTMLButtonElement>) => void;
496
- options?: [];
497
- }
498
- declare const BasicMenu: ({ open, onClose, button, anchorEl, handleClick, options }: BasicMenuProps) => React__default.JSX.Element;
499
-
500
672
  interface SCSelectProps<T> {
501
673
  label?: string;
502
674
  data: T[];
@@ -520,14 +692,25 @@ interface SCSelectProps<T> {
520
692
  }
521
693
  declare function SCSelect<T>({ label, data, getItemValue, width, size, variant, background, required, disabled, setState, state, }: SCSelectProps<T>): React__default.JSX.Element;
522
694
 
523
- interface Option$1 {
695
+ interface SCSnackBarProps {
696
+ type?: 'success' | 'error' | 'warning' | 'info';
697
+ close?: boolean;
698
+ openState: boolean;
699
+ setOpenState: any;
700
+ mensaje: string;
701
+ duration?: number;
702
+ position?: 'Center' | 'Left-Up' | 'Left-Down' | 'Right-Up' | 'Right-Down';
703
+ }
704
+ declare const SCSnackBar: ({ type, close, openState, setOpenState, mensaje, duration, position }: SCSnackBarProps) => React__default.JSX.Element;
705
+
706
+ interface Option {
524
707
  name?: string;
525
708
  iconOrBadge: string | number | null | undefined | any | React__default.ReactNode | React__default.ReactElement | React__default.ElementType;
526
709
  disabled?: boolean;
527
710
  page: React__default.ReactNode | React__default.ReactElement;
528
711
  }
529
712
  interface SCTabsProps {
530
- options: Option$1[];
713
+ options: Option[];
531
714
  defaultOption?: string;
532
715
  typeIcon?: "badge" | "icon";
533
716
  background?: string;
@@ -540,73 +723,6 @@ interface SCTabsProps {
540
723
  }
541
724
  declare const SCTabs: ({ options, defaultOption, typeIcon, background, iconPosition, colorTab, orientation, variant, scrollButtons, children }: SCTabsProps) => React__default.JSX.Element;
542
725
 
543
- type CalendarView = 'month' | 'week' | 'day';
544
- type EventState = 'En progreso' | 'Finalizada' | 'Vencida' | 'Asignada' | 'Aplazada' | 'Generada';
545
- interface CalendarEvent {
546
- id: string;
547
- title: string;
548
- start: dayjs.Dayjs;
549
- end: dayjs.Dayjs;
550
- state: EventState;
551
- }
552
- interface CalendarProps {
553
- events: CalendarEvent[];
554
- view?: CalendarView;
555
- toolbar?: React.ReactNode;
556
- onDayClick?: (date: dayjs.Dayjs) => void;
557
- onMoreClick?: (date: dayjs.Dayjs, events: CalendarEvent[]) => void;
558
- onEventClick?: (event: CalendarEvent, date?: dayjs.Dayjs) => void;
559
- onViewChange?: (view: CalendarView) => void;
560
- onDateChange?: (date: dayjs.Dayjs) => void;
561
- onEventHover?: (event: CalendarEvent) => React.ReactNode;
562
- onNavigate?: (action: 'TODAY' | 'PREV' | 'NEXT') => void;
563
- isLoading?: boolean;
564
- startHour?: number;
565
- endHour?: number;
566
- }
567
-
568
- declare const Calendar: React__default.FC<CalendarProps>;
569
-
570
- declare const CALENDAR_CONSTANTS: {
571
- readonly GRID_TEMPLATE: "repeat(7, minmax(150px, 1fr))";
572
- readonly DAY_HEIGHT: 60;
573
- readonly SIDEBAR_WIDTH: 47;
574
- readonly MIN_CELL_HEIGHT: 99;
575
- readonly DEFAULT_START_HOUR: 0;
576
- readonly DEFAULT_END_HOUR: 23;
577
- readonly DRAWER_WIDTH: "350px";
578
- readonly MAX_VISIBLE_EVENTS: 2;
579
- readonly MIN_WIDTH: "1050px";
580
- readonly LOADING_SPINNER_SIZE: "60px";
581
- readonly LOADING_CONTAINER_HEIGHT: "450px";
582
- readonly DAY_CIRCLE_SIZE: 24;
583
- };
584
-
585
- type NavigationAction = 'PREV' | 'NEXT' | 'TODAY';
586
- declare const useCalendarNavigation: (initialDate?: dayjs.Dayjs, onDateChange?: ((date: dayjs.Dayjs) => void) | undefined) => {
587
- currentDate: dayjs.Dayjs;
588
- setCurrentDate: React$1.Dispatch<React$1.SetStateAction<dayjs.Dayjs>>;
589
- navigateDate: (action: NavigationAction, view: CalendarView) => void;
590
- };
591
-
592
- type CellBorderType = 'full' | 'start' | 'end' | 'middle' | 'none';
593
- declare const filterEventsForDay: (events: CalendarEvent[], day: Dayjs) => CalendarEvent[];
594
- declare const getCellBorderType: (cellHour: number, dayEvents: CalendarEvent[]) => CellBorderType;
595
- declare const clampEventToVisibleRange: (event: CalendarEvent, currentDate: Dayjs, startHour: number, endHour: number) => {
596
- startMinutes: number;
597
- durationMinutes: number;
598
- clampedStart: dayjs.Dayjs;
599
- clampedEnd: dayjs.Dayjs;
600
- };
601
-
602
- interface DayEventsListProps {
603
- events: CalendarEvent[];
604
- day: dayjs.Dayjs;
605
- onEventClick?: (event: CalendarEvent, date?: dayjs.Dayjs) => void;
606
- onEventHover?: (event: CalendarEvent) => React__default.ReactNode;
607
- }
608
- declare const DayEventsList: React__default.FC<DayEventsListProps>;
609
-
610
726
  interface SCTimeProps {
611
727
  label?: string;
612
728
  required?: boolean;
@@ -620,123 +736,21 @@ interface SCTimeProps {
620
736
  }
621
737
  declare const SCTime: ({ label, required, disabled, background, timeStep, state, setState, width, error, }: SCTimeProps) => React__default.JSX.Element;
622
738
 
623
- interface SCCardProps {
624
- width?: string;
625
- title?: string;
626
- subtitle?: string;
627
- iconTitle?: React__default.ReactNode | React__default.ReactElement | keyof typeof Muicon;
628
- actionsTitle?: any;
629
- image?: any;
630
- content?: any;
631
- actions?: {
632
- text?: string;
633
- fn: () => void;
634
- disabled?: boolean;
635
- }[];
636
- expand?: {
637
- type?: 'icon' | 'text';
638
- position?: 'top' | 'bottom';
639
- content?: string;
640
- };
641
- }
642
- declare const SCCard: ({ width, title, image, iconTitle, actionsTitle, subtitle, content, actions, expand }: SCCardProps) => React__default.JSX.Element;
643
-
644
- interface SCActivityCalendarProps {
645
- background?: string;
646
- setState: React__default.Dispatch<React__default.SetStateAction<string>>;
647
- state: string | any;
648
- events: any[];
649
- fn?: any;
650
- configRangeHour?: string;
651
- }
652
- declare const SCActivityCalendar: ({ background, setState, state, events, fn, configRangeHour, }: SCActivityCalendarProps) => React__default.JSX.Element;
653
-
654
- interface UploadedFile {
655
- name: string;
656
- size: number;
657
- type: string;
658
- progress: number;
659
- uploadError?: boolean;
660
- file?: File;
661
- }
662
- interface AttachmentMobileProps<T> {
663
- buttonAttachment?: {
664
- icon?: string;
665
- text?: string;
666
- color?: ReplyPalette$1 | "primary";
667
- variant?: ReplyButtonVariants | "text";
668
- iconPosition?: 'left' | 'right';
669
- size?: RepplySizeVariants | "small";
670
- };
671
- children?: React.ReactNode;
672
- maxSize?: number;
673
- sx?: SxProps;
674
- files?: T[];
675
- initialFiles?: UploadedFile[];
676
- fileAccepted?: string;
677
- onChange?: (archivos: File[]) => void;
678
- deleteAction?: (name: string) => Promise<void> | void;
679
- downloadAction?: (file: UploadedFile) => Promise<void> | void;
680
- view?: 'file' | 'button';
681
- }
682
-
683
- declare const AttachmentMobile: ({ buttonAttachment, maxSize, fileAccepted, initialFiles, deleteAction, downloadAction, onChange, children, sx, view, }: AttachmentMobileProps<any>) => React__default.JSX.Element;
684
-
685
- interface SCSnackBarProps {
686
- type?: 'success' | 'error' | 'warning' | 'info';
687
- close?: boolean;
688
- openState: boolean;
689
- setOpenState: any;
690
- mensaje: string;
691
- duration?: number;
692
- position?: 'Center' | 'Left-Up' | 'Left-Down' | 'Right-Up' | 'Right-Down';
693
- }
694
- declare const SCSnackBar: ({ type, close, openState, setOpenState, mensaje, duration, position }: SCSnackBarProps) => React__default.JSX.Element;
695
-
696
- interface Option {
697
- name: string;
698
- fn?: () => void;
699
- disabled?: boolean;
700
- }
701
- interface SCAppBarProps {
702
- background?: string;
703
- contenidoExtra?: React__default.ReactNode;
704
- menuItems?: React__default.ReactNode;
705
- options: Option[];
706
- fnVolver?: () => void;
707
- visibleVolver?: boolean;
708
- visibleConexion?: boolean;
709
- visibleMenu?: boolean;
710
- }
711
- declare const SCAppBar: ({ background, contenidoExtra, options, fnVolver, visibleVolver, visibleConexion, visibleMenu, }: SCAppBarProps) => React__default.JSX.Element;
712
-
713
739
  interface SCDatePickerProps {
714
740
  label?: string;
715
741
  required?: boolean;
716
742
  disabled?: boolean;
717
743
  background?: string;
718
- state: Dayjs;
719
- setState: (value: Dayjs) => void;
720
744
  width?: string;
721
- minDate?: Dayjs;
722
- maxDate?: Dayjs;
745
+ height?: string;
746
+ image: any;
747
+ bottom?: string;
748
+ left?: string;
723
749
  }
724
- declare const SCDatePicker: ({ label, required, disabled, background, state, setState, width, minDate, maxDate }: SCDatePickerProps) => React__default.JSX.Element;
725
-
726
- interface SCAlertProps {
727
- title: string;
728
- subtitle?: string;
729
- severity?: 'success' | 'error' | 'warning' | 'info';
730
- variant?: 'filled' | 'outlined' | 'standard';
731
- width?: string;
732
- close?: boolean;
733
- openState: boolean;
734
- setOpenState: any;
735
- }
736
- declare const SCAlert: ({ title, subtitle, severity, variant, width, close, openState, setOpenState, }: SCAlertProps) => React__default.JSX.Element;
750
+ declare const SCZoom: ({ label, required, disabled, background, width, height, image, bottom, left }: SCDatePickerProps) => React__default.JSX.Element;
737
751
 
738
752
  declare const SincoTheme: _mui_material_styles.Theme;
739
753
  declare let AdproSincoTheme: _mui_material_styles.Theme;
740
754
  declare let ADCSincoTheme: _mui_material_styles.Theme;
741
755
 
742
- export { ADCSincoTheme, AdproSincoTheme, Attachment, AttachmentMobile, BasicMenu, type BasicMenuProps, CALENDAR_CONSTANTS, Calendar, type CalendarEvent, type CalendarProps, type CalendarView, type CellBorderType, DayEventsList, EmptyState, type EmptyStateProperties, type EmptyStateSize, type EmptyStateStates, type EventState, FooterAction, type FooterActionsProperties, type ModalProps, type ModalStates, MultiSelect, type MultiSelectProps, type NavigationAction, PageHeader, type PageheaderProperties, type ReplyButtonVariants, type ReplyPalette$1 as ReplyPalette, type ReplyTextPalette, type ReplyVariants, type RepplyAnchorPositions, type RepplySizeVariants, SCActivityCalendar, SCAlert, SCAppBar, SCAutocomplete, SCCalendarSwipeable, SCCard, SCDataGrid, SCDataGridInitial, SCDatePicker, SCDateRange, SCDialog, SCDrawer, SCListContent, SCMenu, SCModal, SCSelect, SCSnackBar, SCTabs, SCTextArea, type SCTextAreaProps, SCTextField, type SCTextFieldProps, SCTime, SCToastNotification, SincoTheme, StopEvent, type ToastBaseProperties, ToastProgress, type ToastType, capitalize, clampEventToVisibleRange, filterEventsForDay, getButtonColor, getCellBorderType, getIcon, getIconComponent, getIconMultiSelect, getModalColor, modalStateConfig, useCalendarNavigation, useFilteredItems, useMultiSelectHandlers, useProgress };
756
+ export { ADCSincoTheme, AdproSincoTheme, Attachment, AttachmentMobile, BasicMenu, type BasicMenuProps, CALENDAR_CONSTANTS, Calendar, type CalendarEvent, type CalendarProps, type CalendarView, type CellBorderType, DayEventsList, EmptyState, type EmptyStateProperties, type EmptyStateSize, type EmptyStateStates, type EventState, FooterAction, type FooterActionsProperties, type ModalProps, type ModalStates, MultiSelect, type MultiSelectProps, type NavigationAction, PageHeader, type PageheaderProperties, type ReplyButtonVariants, type ReplyPalette$1 as ReplyPalette, type ReplyTextPalette, type ReplyVariants, type RepplyAnchorPositions, type RepplySizeVariants, SCActivityCalendar, SCAlert, SCAppBar, SCAutocomplete, SCCalendarSwipeable, SCCard, SCDataGrid, SCDataGridInitial, SCDatePicker, SCDateRange, SCDialog, SCDrawer, SCListContent, SCMenu, SCModal, SCSelect, SCSnackBar, SCTabs, SCTextArea, type SCTextAreaProps, SCTextField, type SCTextFieldProps, SCTime, SCToastNotification, SCZoom, SincoTheme, StopEvent, type ToastBaseProperties, ToastProgress, type ToastType, capitalize, clampEventToVisibleRange, filterEventsForDay, getButtonColor, getCellBorderType, getIcon, getIconComponent, getIconMultiSelect, getModalColor, modalStateConfig, useCalendarNavigation, useFilteredItems, useMultiSelectHandlers, useProgress };