componentes-sinco 1.0.1 → 1.0.2-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (106) hide show
  1. package/dist/componentes-sinco.css +1 -0
  2. package/dist/index.cjs +3928 -0
  3. package/dist/index.css +42 -0
  4. package/dist/index.d.cts +396 -0
  5. package/dist/index.d.ts +396 -0
  6. package/dist/index.js +3872 -0
  7. package/dist/my-react-lib.es.js +105856 -0
  8. package/dist/my-react-lib.umd.js +454 -0
  9. package/dist/src/App.d.ts +4 -0
  10. package/dist/src/Components/Adjuntar/Adjuntar.d.ts +4 -0
  11. package/dist/src/Components/Adjuntar/Model.d.ts +17 -0
  12. package/dist/src/Components/Adjuntar/index.d.ts +1 -0
  13. package/dist/src/Components/Calendario/Calendario.d.ts +3 -0
  14. package/dist/src/Components/Drawer/Helpers/Model.d.ts +55 -0
  15. package/dist/src/Components/Drawer/Helpers/Utils.d.ts +4 -0
  16. package/dist/src/Components/Drawer/Helpers/index.d.ts +3 -0
  17. package/dist/src/Components/Drawer/Helpers/validateInput.d.ts +3 -0
  18. package/dist/src/Components/Drawer/SCDrawer.d.ts +5 -0
  19. package/dist/src/Components/Drawer/SCDrawer.test.d.ts +1 -0
  20. package/dist/src/Components/Drawer/index.d.ts +1 -0
  21. package/dist/src/Components/FooterAction/FooterAction.d.ts +4 -0
  22. package/dist/src/Components/FooterAction/Model.d.ts +6 -0
  23. package/dist/src/Components/FooterAction/index.d.ts +2 -0
  24. package/dist/src/Components/Hooks/useWindowDimensions.d.ts +4 -0
  25. package/dist/src/Components/Modal/Helpers/Data.d.ts +19 -0
  26. package/dist/src/Components/Modal/Helpers/Model.d.ts +26 -0
  27. package/dist/src/Components/Modal/Helpers/Utils.d.ts +3 -0
  28. package/dist/src/Components/Modal/Helpers/index.d.ts +3 -0
  29. package/dist/src/Components/Modal/SCModal.d.ts +4 -0
  30. package/dist/src/Components/Modal/SCModal.test.d.ts +1 -0
  31. package/dist/src/Components/Modal/index.d.ts +2 -0
  32. package/dist/src/Components/MultiSelect/MultiSelect.test.d.ts +1 -0
  33. package/dist/src/Components/MultiSelect/SCMultiSelect.d.ts +4 -0
  34. package/dist/src/Components/MultiSelect/example.d.ts +3 -0
  35. package/dist/src/Components/MultiSelect/helpers/Model.d.ts +24 -0
  36. package/dist/src/Components/MultiSelect/helpers/Utils.d.ts +3 -0
  37. package/dist/src/Components/MultiSelect/helpers/index.d.ts +4 -0
  38. package/dist/src/Components/MultiSelect/helpers/useFilteredItems.d.ts +4 -0
  39. package/dist/src/Components/MultiSelect/helpers/useHandlers.d.ts +12 -0
  40. package/dist/src/Components/MultiSelect/index.d.ts +2 -0
  41. package/dist/src/Components/PageHeader/Model.d.ts +8 -0
  42. package/dist/src/Components/PageHeader/PageHeader.d.ts +4 -0
  43. package/dist/src/Components/PageHeader/PageHeader.test.d.ts +1 -0
  44. package/dist/src/Components/PageHeader/index.d.ts +2 -0
  45. package/dist/src/Components/SCAutocomplete.d.ts +26 -0
  46. package/dist/src/Components/SCCalendarSwipeable.d.ts +9 -0
  47. package/dist/src/Components/SCDataGrid.d.ts +19 -0
  48. package/dist/src/Components/SCDialog.d.ts +32 -0
  49. package/dist/src/Components/SCMenu.d.ts +20 -0
  50. package/dist/src/Components/SCTabs.d.ts +22 -0
  51. package/dist/src/Components/TextArea/Helpers/Model.d.ts +23 -0
  52. package/dist/src/Components/TextArea/Helpers/index.d.ts +2 -0
  53. package/dist/src/Components/TextArea/Helpers/validateIcon.d.ts +3 -0
  54. package/dist/src/Components/TextArea/SCTextArea.d.ts +4 -0
  55. package/dist/src/Components/TextArea/index.d.ts +2 -0
  56. package/dist/src/Components/Textfield/Helpers/index.d.ts +3 -0
  57. package/dist/src/Components/Textfield/Helpers/validateIcon.d.ts +4 -0
  58. package/dist/src/Components/Textfield/Helpers/validateKeyDown.d.ts +1 -0
  59. package/dist/src/Components/Textfield/Helpers/validateOnBlur.d.ts +10 -0
  60. package/dist/src/Components/Textfield/Model.d.ts +32 -0
  61. package/dist/src/Components/Textfield/SCTextField.d.ts +4 -0
  62. package/dist/src/Components/Textfield/Textfield.test.d.ts +1 -0
  63. package/dist/src/Components/Textfield/index.d.ts +2 -0
  64. package/dist/src/Components/ToastNotification/Model.d.ts +14 -0
  65. package/dist/src/Components/ToastNotification/SCToastNotification.d.ts +4 -0
  66. package/dist/src/Components/ToastNotification/index.d.ts +3 -0
  67. package/dist/src/Components/ToastNotification/useProgress.d.ts +6 -0
  68. package/dist/src/Components/index.d.ts +14 -0
  69. package/dist/src/Pages/PruebasDavid/Test.d.ts +3 -0
  70. package/dist/src/Pages/PruebasNataly/PruebaPag1.d.ts +4 -0
  71. package/dist/src/Pages/PruebasNataly/PruebaPag2.d.ts +3 -0
  72. package/dist/src/Pages/PruebasNataly/TestNataly.d.ts +3 -0
  73. package/dist/src/Theme/breakpoints.d.ts +3 -0
  74. package/dist/src/Theme/components.d.ts +3 -0
  75. package/dist/src/Theme/index.d.ts +3 -0
  76. package/dist/src/Theme/mixins.d.ts +3 -0
  77. package/dist/src/Theme/module.d.ts +69 -0
  78. package/dist/src/Theme/palette.d.ts +6 -0
  79. package/dist/src/Theme/shadows.d.ts +3 -0
  80. package/dist/src/Theme/theme.d.ts +5 -0
  81. package/dist/src/Theme/typography.d.ts +3 -0
  82. package/dist/src/generales/capitalize.d.ts +1 -0
  83. package/dist/src/generales/index.d.ts +2 -0
  84. package/dist/src/generales/types.d.ts +4 -0
  85. package/dist/src/index.d.ts +5 -0
  86. package/dist/src/main.d.ts +1 -0
  87. package/dist/src/stories/Autocomplete/Autocomplete.stories.d.ts +7 -0
  88. package/dist/src/stories/CalendarSwipeable/CalendarSwipeable.stories.d.ts +7 -0
  89. package/dist/src/stories/DataGrid/DataGrid.stories.d.ts +7 -0
  90. package/dist/src/stories/Dialog/Dialog.stories.d.ts +7 -0
  91. package/dist/src/stories/Drawer/Drawer.stories.d.ts +7 -0
  92. package/dist/src/stories/FooterAction/Footer.stories.d.ts +7 -0
  93. package/dist/src/stories/Generales/Typography.d.ts +1 -0
  94. package/dist/src/stories/Generales/index.d.ts +2 -0
  95. package/dist/src/stories/Generales/types.d.ts +3 -0
  96. package/dist/src/stories/Menu/Menu.stories.d.ts +7 -0
  97. package/dist/src/stories/Modal/Modal.stories.d.ts +7 -0
  98. package/dist/src/stories/MultiSelect/MultiSelect.stories.d.ts +7 -0
  99. package/dist/src/stories/PageHeader/Header.stories.d.ts +7 -0
  100. package/dist/src/stories/Tabs/Tabs.stories.d.ts +7 -0
  101. package/dist/src/stories/TextArea/TextArea.stories.d.ts +7 -0
  102. package/dist/src/stories/Textfield/textfield.stories.d.ts +7 -0
  103. package/dist/src/stories/ToastNotification/toastNotification.stories.d.ts +27 -0
  104. package/dist/vite.svg +1 -0
  105. package/dist/vitest.setup.d.ts +1 -0
  106. package/package.json +33 -11
package/dist/index.css ADDED
@@ -0,0 +1,42 @@
1
+ /* src/App.css */
2
+ .red-asterisk {
3
+ color: #D14343;
4
+ }
5
+ input[type=number]::-webkit-inner-spin-button,
6
+ input[type=number]::-webkit-outer-spin-button {
7
+ -webkit-appearance: none;
8
+ margin: 0;
9
+ }
10
+ input[type=number] {
11
+ -moz-appearance: textfield;
12
+ }
13
+ body {
14
+ margin: 0px;
15
+ padding: 0px;
16
+ -ms-overflow-style: none;
17
+ }
18
+ body::-ms-scrollbar-track {
19
+ background: #f1f1f1;
20
+ }
21
+ body::-ms-scrollbar-thumb {
22
+ background: #888;
23
+ }
24
+ ::-webkit-scrollbar {
25
+ width: 14px !important;
26
+ height: 14px !important;
27
+ background: #EAEBEC;
28
+ }
29
+ ::-webkit-scrollbar-thumb {
30
+ background-color: #2063A0;
31
+ border: 3.5px solid #EAEBEC;
32
+ border-radius: 17px;
33
+ }
34
+ .APP5PassWord {
35
+ -webkit-text-security: disc;
36
+ }
37
+ input[type=password]::-ms-reveal {
38
+ display: none !important;
39
+ }
40
+ input[type=password]::-ms-clear {
41
+ display: none !important;
42
+ }
@@ -0,0 +1,396 @@
1
+ import * as React$1 from 'react';
2
+ import React__default, { ComponentType } from 'react';
3
+ import * as Muicon from '@mui/icons-material';
4
+ import * as _mui_material_OverridableComponent from '@mui/material/OverridableComponent';
5
+ import * as _mui_material from '@mui/material';
6
+ import * as _mui_material_styles from '@mui/material/styles';
7
+
8
+ type ReplyPalette$1 = "primary" | "secondary" | "warning" | "info" | "success" | "error";
9
+ type ReplyTextPalette = "primary" | "secondary" | "disabled";
10
+ type ReplyVariants = "outlined" | "filled" | "standard";
11
+ type RepplyButtonVariants = "text" | "contained" | "outlined";
12
+
13
+ declare function capitalize(text: string): string;
14
+
15
+ interface ArrayElement {
16
+ type?: 'textField' | 'textArea';
17
+ title?: string;
18
+ iconTitle?: keyof typeof Muicon;
19
+ infoTitle?: {
20
+ text?: string;
21
+ component?: "tooltip" | "popover";
22
+ };
23
+ label?: string;
24
+ placeholder?: string;
25
+ infoElement?: {
26
+ text?: string;
27
+ component?: "tooltip" | "popover";
28
+ };
29
+ iconInputStart?: string;
30
+ iconInputEnd?: string;
31
+ maxLength?: number;
32
+ component?: React.ReactNode;
33
+ variant?: ReplyVariants;
34
+ format?: 'int' | 'text' | 'password' | 'decimal';
35
+ disabled?: boolean;
36
+ required?: boolean;
37
+ size?: 'small' | 'medium';
38
+ width?: string;
39
+ rows?: number;
40
+ color?: ReplyPalette$1;
41
+ background?: string;
42
+ state?: any | React.Dispatch<React.SetStateAction<string>>;
43
+ value?: string;
44
+ onChange?: () => {};
45
+ onBlur?: () => {};
46
+ onKeyDown?: () => {};
47
+ }
48
+ interface DrawerProps {
49
+ title?: string;
50
+ arrayElements?: ArrayElement[];
51
+ actions?: {
52
+ text: string;
53
+ fn: () => void;
54
+ disabled?: boolean;
55
+ }[];
56
+ buttonDrawer?: {
57
+ icon?: keyof typeof Muicon;
58
+ text?: string;
59
+ color?: ReplyPalette$1;
60
+ variant?: 'text' | 'outlined' | 'contained';
61
+ iconPosition?: 'left' | 'right' | undefined;
62
+ };
63
+ colorTitle?: ReplyTextPalette | ReplyPalette$1 | string;
64
+ anchor?: "left" | "right";
65
+ width?: string;
66
+ open?: boolean;
67
+ }
68
+
69
+ type ToastType = 'success' | 'error' | 'warning' | 'info';
70
+ interface ToastBaseProperties {
71
+ type?: ToastType;
72
+ title: string;
73
+ subtitle?: string;
74
+ time?: number;
75
+ listITems?: string[];
76
+ seeMore?: boolean;
77
+ actions?: {
78
+ text: string;
79
+ fn: () => void;
80
+ disabled?: boolean;
81
+ }[];
82
+ }
83
+
84
+ declare const SCToastNotification: (toast: ToastBaseProperties) => React__default.JSX.Element;
85
+
86
+ declare const useProgress: (timeProgress: number, lote?: number) => {
87
+ progress: number;
88
+ };
89
+ declare const ToastProgress: (timeProgress: number) => {
90
+ progressToast: number;
91
+ };
92
+
93
+ declare const SCDrawer: ({ title, arrayElements, actions, buttonDrawer, colorTitle, anchor, width, open, }: DrawerProps) => React__default.JSX.Element;
94
+
95
+ interface MultiSelectProps<T> {
96
+ textButton?: string;
97
+ button?: {
98
+ icon?: string;
99
+ text?: string;
100
+ color?: ReplyPalette$1;
101
+ variant?: RepplyButtonVariants;
102
+ iconPosition?: 'left' | 'right';
103
+ size?: "small" | "medium" | "large";
104
+ };
105
+ topPanel?: React.ReactNode;
106
+ dense?: boolean;
107
+ open: boolean;
108
+ selectAll?: boolean;
109
+ items: T[];
110
+ getItemLabel: (item: T) => string;
111
+ actions?: {
112
+ text: string;
113
+ fn: () => void;
114
+ disabled?: boolean;
115
+ }[];
116
+ }
117
+
118
+ declare function useMultiSelectHandlers<T>(): {
119
+ anchorEl: HTMLButtonElement | null;
120
+ open: boolean;
121
+ selectedItems: T[];
122
+ filterValue: string;
123
+ setSelectedItems: React$1.Dispatch<React$1.SetStateAction<T[]>>;
124
+ handleOpen: (e: React.MouseEvent<HTMLButtonElement>) => void;
125
+ handleClose: () => void;
126
+ handleFilterChange: (e: React.ChangeEvent<HTMLInputElement>) => void;
127
+ handleCheckboxToggle: (item: T) => void;
128
+ setOpen: React$1.Dispatch<React$1.SetStateAction<boolean>>;
129
+ };
130
+
131
+ declare function getIconMultiSelect(name: string): _mui_material_OverridableComponent.OverridableComponent<_mui_material.SvgIconTypeMap<{}, "svg">> & {
132
+ muiName: string;
133
+ };
134
+
135
+ declare function useFilteredItems<T>(items: T[], filterValue: string, getItemLabel: (item: T) => string, selectedItems: T[]): {
136
+ filteredItems: T[];
137
+ sortedItems: T[];
138
+ };
139
+
140
+ declare function SCMultiSelect<T>({ textButton, button, items, topPanel, actions, dense, open, selectAll, getItemLabel }: MultiSelectProps<T>): React__default.JSX.Element;
141
+
142
+ interface SCTextAreaProps {
143
+ title?: string;
144
+ iconTitle?: keyof typeof Muicon;
145
+ infoTitle?: {
146
+ text?: string;
147
+ component?: "tooltip" | "popover";
148
+ };
149
+ colorTitle?: ReplyTextPalette;
150
+ placeholder?: string;
151
+ label?: string;
152
+ width?: string;
153
+ required?: boolean;
154
+ background?: string;
155
+ variant?: ReplyVariants;
156
+ disabled?: boolean;
157
+ rows?: number;
158
+ maxLength?: number;
159
+ value: string;
160
+ state: React.Dispatch<React.SetStateAction<string>>;
161
+ onBlur?: (event: React.FocusEvent<HTMLInputElement | HTMLTextAreaElement>) => void;
162
+ }
163
+
164
+ declare function getIcon(name?: string): ComponentType | null;
165
+
166
+ declare const SCTextArea: ({ title, iconTitle, infoTitle, label, placeholder, maxLength, variant, disabled, required, width, rows, colorTitle, background, state, value, onBlur, }: SCTextAreaProps) => React__default.JSX.Element;
167
+
168
+ interface SCTextFieldProps {
169
+ title?: string;
170
+ iconTitle?: string;
171
+ infoTitle?: {
172
+ text?: string;
173
+ component?: "tooltip" | "popover";
174
+ };
175
+ label?: string;
176
+ placeholder?: string;
177
+ color?: ReplyPalette$1;
178
+ width?: string;
179
+ background?: string;
180
+ format?: 'int' | 'text' | 'password' | 'decimal';
181
+ iconInputStart?: string;
182
+ iconInputEnd?: string;
183
+ infoElement?: {
184
+ text?: string;
185
+ component?: "tooltip" | "popover";
186
+ };
187
+ size?: "small" | "medium";
188
+ variant?: "outlined" | "filled" | "standard";
189
+ value: string;
190
+ maxLength?: number;
191
+ disabled?: boolean;
192
+ required?: boolean;
193
+ state: React.Dispatch<React.SetStateAction<string>>;
194
+ onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
195
+ onBlur?: (event: React.FocusEvent<HTMLInputElement>) => void;
196
+ onKeyDown?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
197
+ }
198
+
199
+ declare const SCTextField: ({ title, iconTitle, infoTitle, label, placeholder, infoElement, iconInputStart, iconInputEnd, maxLength, variant, format, disabled, required, size, width, color, background, state, value, onChange, onBlur, onKeyDown, }: SCTextFieldProps) => React__default.JSX.Element;
200
+
201
+ type ReplyPalette = "primary" | "secondary" | "warning" | "info" | "success" | "error" | "inherit";
202
+
203
+ interface SCDialogProps {
204
+ title?: string;
205
+ iconTitle?: React__default.ReactNode | React__default.ReactElement | keyof typeof Muicon;
206
+ subtitle?: string;
207
+ content?: any;
208
+ actions?: {
209
+ text: string;
210
+ fn: () => void;
211
+ disabled?: boolean;
212
+ }[];
213
+ buttonDialog?: {
214
+ icon?: string;
215
+ text?: string;
216
+ color?: ReplyPalette;
217
+ tooltip?: string;
218
+ variant?: 'text' | 'outlined' | 'contained';
219
+ iconPosition?: 'left' | 'right' | undefined;
220
+ };
221
+ disableClose?: boolean;
222
+ dividers?: boolean;
223
+ widthContent?: 'extra-small' | 'small' | 'medium' | 'large' | 'extra-large';
224
+ heightContent?: string;
225
+ background?: string;
226
+ setShow?: React__default.Dispatch<React__default.SetStateAction<boolean>>;
227
+ show?: boolean | any;
228
+ }
229
+ declare const SCDialog: ({ title, iconTitle, subtitle, content, actions, buttonDialog, disableClose, dividers, widthContent, heightContent, background, setShow, show }: SCDialogProps) => React__default.JSX.Element;
230
+
231
+ /***************************************************************************/
232
+
233
+ interface Option$1 {
234
+ name?: string;
235
+ iconLeft?: any | React__default.ReactNode | React__default.ReactElement | React__default.ElementType | null;
236
+ iconRight?: any | React__default.ReactNode | React__default.ReactElement | React__default.ElementType | null;
237
+ divider?: boolean;
238
+ page: React__default.ReactNode | React__default.ReactElement;
239
+ }
240
+ interface SCMenuProps {
241
+ header?: any;
242
+ options: Option$1[];
243
+ defaultOption?: string;
244
+ disable?: boolean;
245
+ widthMenu?: string;
246
+ heightMenu?: string;
247
+ widthPage?: string;
248
+ }
249
+ declare const SCMenu: ({ header, options, defaultOption, disable, widthMenu, heightMenu, widthPage }: SCMenuProps) => React__default.JSX.Element;
250
+
251
+ /***************************************************************************/
252
+
253
+ interface Option {
254
+ name?: string;
255
+ iconOrBadge: string | number | null | undefined | any | React__default.ReactNode | React__default.ReactElement | React__default.ElementType;
256
+ disabled?: boolean;
257
+ page: React__default.ReactNode | React__default.ReactElement;
258
+ }
259
+ interface SCTabsProps {
260
+ options: Option[];
261
+ defaultOption?: string;
262
+ typeIcon?: "badge" | "icon";
263
+ background?: string;
264
+ iconPosition?: "top" | "bottom" | "start" | "end";
265
+ colorTab?: "secondary" | "primary";
266
+ orientation?: "horizontal" | "vertical";
267
+ variant?: "standard" | "fullWidth" | "scrollable";
268
+ scrollButtons?: boolean;
269
+ children?: any;
270
+ }
271
+ declare const SCTabs: ({ options, defaultOption, typeIcon, background, iconPosition, colorTab, orientation, variant, scrollButtons, children }: SCTabsProps) => React__default.JSX.Element;
272
+
273
+ interface FooterActionsProperties {
274
+ label?: React.ReactNode;
275
+ leftContent?: React.ReactNode;
276
+ rightContent?: React.ReactNode;
277
+ variant?: 'standard' | 'float';
278
+ }
279
+
280
+ declare const FooterAction: ({ leftContent, rightContent, label, variant, }: FooterActionsProperties) => React__default.JSX.Element;
281
+
282
+ declare const modalStateConfig: {
283
+ info: {
284
+ color: string;
285
+ defaultDescription: string;
286
+ icon: React__default.JSX.Element;
287
+ };
288
+ delete: {
289
+ color: string;
290
+ defaultDescription: string;
291
+ icon: React__default.JSX.Element;
292
+ };
293
+ warning: {
294
+ color: string;
295
+ defaultDescription: string;
296
+ icon: React__default.JSX.Element;
297
+ };
298
+ };
299
+
300
+ type ModalStates = 'info' | 'delete' | 'warning';
301
+ interface ModalProps {
302
+ title: string;
303
+ description?: string;
304
+ textButton?: string;
305
+ buttonVariant?: RepplyButtonVariants;
306
+ iconPosition?: 'left' | 'right';
307
+ buttonColor?: ReplyPalette$1;
308
+ state: ModalStates;
309
+ open: boolean;
310
+ action?: {
311
+ text: string;
312
+ fn: () => void;
313
+ disabled?: boolean;
314
+ }[];
315
+ buttonModal?: {
316
+ icon?: string;
317
+ text?: string;
318
+ color?: ReplyPalette$1;
319
+ variant?: 'text' | 'outlined' | 'contained';
320
+ iconPosition?: 'left' | 'right';
321
+ size?: "small" | "medium" | "large";
322
+ };
323
+ }
324
+
325
+ declare const getIconComponent: (iconName?: string) => React.ElementType;
326
+ declare const getModalColor: (state: string) => string;
327
+ declare const getButtonColor: (state: string) => 'inherit' | 'info' | 'error' | 'warning';
328
+
329
+ declare const SCModal: ({ buttonModal, state, open, title, description, action, }: ModalProps) => React__default.JSX.Element;
330
+
331
+ interface PageheaderProperties {
332
+ title: string | React.ReactNode;
333
+ subtitle?: string | React.ReactNode;
334
+ actions?: React.ReactNode;
335
+ buttonBack?: React.ReactNode;
336
+ fixed?: boolean;
337
+ shadow?: boolean;
338
+ }
339
+
340
+ declare const PageHeader: ({ title, subtitle, actions, buttonBack, fixed, shadow, }: PageheaderProperties) => React__default.JSX.Element;
341
+
342
+ /***************************************************************************/
343
+
344
+ interface SCCalendarSwipeableProps {
345
+ background?: string;
346
+ setState: React__default.Dispatch<React__default.SetStateAction<string>>;
347
+ state: string | any;
348
+ }
349
+ declare const SCCalendarSwipeable: ({ background, setState, state, }: SCCalendarSwipeableProps) => React__default.JSX.Element;
350
+
351
+ interface SCDataGridProps {
352
+ data: any;
353
+ columns: any;
354
+ rowsTable?: number;
355
+ checkboxSelection?: boolean;
356
+ width?: string | number;
357
+ height?: number;
358
+ maxHeight?: number;
359
+ density?: "compact" | "standard" | "comfortable";
360
+ agrupacion?: boolean;
361
+ columnsGrouping?: number;
362
+ groupingColDef?: any;
363
+ getTreeDataPath?: (row: any) => string[] | [];
364
+ otherProps?: any;
365
+ }
366
+ declare const SCDataGrid: ({ data, columns, rowsTable, checkboxSelection, width, height, maxHeight, density, agrupacion, groupingColDef, getTreeDataPath, ...props }: SCDataGridProps) => React__default.JSX.Element;
367
+
368
+ interface SCAutocompleteProps<T> {
369
+ label?: string;
370
+ data: T[];
371
+ columnGroup?: string;
372
+ getItemValue: (item: T) => {
373
+ icon?: any;
374
+ text: string;
375
+ value: string;
376
+ };
377
+ type?: "normal" | "multiselect";
378
+ checkMassive?: boolean;
379
+ deleteType?: "button" | "icon";
380
+ required?: boolean;
381
+ disabled?: boolean;
382
+ background?: string;
383
+ fnAplicar?: () => void | React__default.ReactNode;
384
+ setState: React__default.Dispatch<React__default.SetStateAction<any>>;
385
+ state: {
386
+ hiddenValue: string | string[];
387
+ textValue: string | string[];
388
+ };
389
+ }
390
+ declare function SCAutocomplete<T>({ label, data, columnGroup, getItemValue, type, checkMassive, deleteType, fnAplicar, required, disabled, background, setState, state, }: SCAutocompleteProps<T>): React__default.JSX.Element;
391
+
392
+ declare const SincoTheme: _mui_material_styles.Theme;
393
+ declare let AdproSincoTheme: _mui_material_styles.Theme;
394
+ declare let ADCSincoTheme: _mui_material_styles.Theme;
395
+
396
+ export { ADCSincoTheme, AdproSincoTheme, FooterAction, type FooterActionsProperties, type ModalProps, type ModalStates, type MultiSelectProps, PageHeader, type PageheaderProperties, type ReplyPalette$1 as ReplyPalette, type ReplyTextPalette, type ReplyVariants, type RepplyButtonVariants, SCAutocomplete, SCCalendarSwipeable, SCDataGrid, SCDialog, SCDrawer, SCMenu, SCModal, SCMultiSelect, SCTabs, SCTextArea, type SCTextAreaProps, SCTextField, type SCTextFieldProps, SCToastNotification, SincoTheme, type ToastBaseProperties, ToastProgress, type ToastType, capitalize, getButtonColor, getIcon, getIconComponent, getIconMultiSelect, getModalColor, modalStateConfig, useFilteredItems, useMultiSelectHandlers, useProgress };