@m4l/components 9.2.28 → 9.2.30

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 (59) hide show
  1. package/@types/types.d.ts +8 -0
  2. package/components/Label/Label.js +5 -4
  3. package/components/Label/Label.styles.js +7 -44
  4. package/components/Label/test/Label.test.d.ts +1 -0
  5. package/components/Label/types.d.ts +6 -4
  6. package/components/MFIsolationApp/MFIsolationApp.js +4 -4
  7. package/components/hook-form/RHFCheckbox/slots/RHFCheckBoxSlots.d.ts +1 -1
  8. package/components/hook-form/RHFPeriod/slots/RHFPeriodSlots.d.ts +1 -1
  9. package/components/hook-form/RHFSelect/RHFSelect.js +0 -2
  10. package/components/hook-form/RHFTextField/slots/RHFTextFieldSlots.d.ts +1 -1
  11. package/components/hook-form/RHFTextFieldPassword/slots/RHFTextFieldPasswordSlots.d.ts +1 -1
  12. package/components/hook-form/RHFTimePicker/slots/RHFTimePickerEnum.d.ts +4 -1
  13. package/components/hook-form/RHFUpload/RHFUploadSingleFile/RHFUploadSingleFile.d.ts +7 -0
  14. package/components/hook-form/RHFUpload/RHFUploadSingleFile/RHFUploadSingleFile.js +74 -0
  15. package/components/hook-form/RHFUpload/RHFUploadSingleFile/RHFUploadSingleFile.styles.d.ts +2 -0
  16. package/components/hook-form/RHFUpload/RHFUploadSingleFile/RHFUploadSingleFile.styles.js +147 -0
  17. package/components/hook-form/RHFUpload/RHFUploadSingleFile/constants.d.ts +23 -0
  18. package/components/hook-form/RHFUpload/RHFUploadSingleFile/constants.js +34 -0
  19. package/components/hook-form/RHFUpload/RHFUploadSingleFile/dictionary.d.ts +15 -0
  20. package/components/hook-form/RHFUpload/RHFUploadSingleFile/dictionary.js +15 -0
  21. package/components/hook-form/RHFUpload/RHFUploadSingleFile/helpers/formatFileSize.d.ts +6 -0
  22. package/components/hook-form/RHFUpload/RHFUploadSingleFile/helpers/formatFileSize.js +16 -0
  23. package/components/hook-form/RHFUpload/RHFUploadSingleFile/helpers/getReadableFileType.d.ts +6 -0
  24. package/components/hook-form/RHFUpload/RHFUploadSingleFile/helpers/getReadableFileType.js +55 -0
  25. package/components/hook-form/RHFUpload/RHFUploadSingleFile/helpers/uploadReducer.d.ts +5 -0
  26. package/components/hook-form/RHFUpload/RHFUploadSingleFile/helpers/uploadReducer.js +17 -0
  27. package/components/hook-form/RHFUpload/RHFUploadSingleFile/index.d.ts +1 -0
  28. package/components/hook-form/RHFUpload/RHFUploadSingleFile/slots/RHFUploadSingleFileEnum.d.ts +22 -0
  29. package/components/hook-form/RHFUpload/RHFUploadSingleFile/slots/RHFUploadSingleFileEnum.js +26 -0
  30. package/components/hook-form/RHFUpload/RHFUploadSingleFile/slots/RHFUploadSingleFileSlots.d.ts +60 -0
  31. package/components/hook-form/RHFUpload/RHFUploadSingleFile/slots/RHFUploadSingleFileSlots.js +110 -0
  32. package/components/hook-form/RHFUpload/RHFUploadSingleFile/subcomponents/BlockContent/BlockContent.d.ts +5 -0
  33. package/components/hook-form/RHFUpload/RHFUploadSingleFile/subcomponents/BlockContent/BlockContent.js +77 -0
  34. package/components/hook-form/RHFUpload/RHFUploadSingleFile/subcomponents/BlockContent/types.d.ts +5 -0
  35. package/components/hook-form/RHFUpload/RHFUploadSingleFile/subcomponents/Preview/Preview.d.ts +5 -0
  36. package/components/hook-form/RHFUpload/RHFUploadSingleFile/subcomponents/Preview/Preview.js +36 -0
  37. package/components/hook-form/RHFUpload/RHFUploadSingleFile/subcomponents/Preview/types.d.ts +6 -0
  38. package/components/hook-form/RHFUpload/RHFUploadSingleFile/subcomponents/UploadSingleFile/index.d.ts +5 -0
  39. package/components/hook-form/RHFUpload/RHFUploadSingleFile/subcomponents/UploadSingleFile/index.js +89 -0
  40. package/components/hook-form/RHFUpload/RHFUploadSingleFile/subcomponents/UploadSingleFile/types.d.ts +38 -0
  41. package/components/hook-form/RHFUpload/RHFUploadSingleFile/test/RHFUploadsinglefile.test.d.ts +1 -0
  42. package/components/hook-form/RHFUpload/RHFUploadSingleFile/types.d.ts +42 -0
  43. package/components/hook-form/index.d.ts +1 -1
  44. package/components/mui_extended/Autocomplete/slots/AutocompleteSlots.d.ts +1 -1
  45. package/components/mui_extended/Button/ButtonStyles.js +88 -59
  46. package/components/mui_extended/LinearProgress/index.js +1 -1
  47. package/components/mui_extended/TextField/slots/TextFieldSlots.d.ts +1 -1
  48. package/index.js +2 -2
  49. package/package.json +1 -1
  50. package/storybook/components/Label/Label.stories.d.ts +6 -4
  51. package/storybook/hook-form/RHFUploadSingleFile/RHFUploadSingleFile.stories.d.ts +11 -0
  52. package/components/MFIsolationApp/constants.js +0 -4
  53. package/components/hook-form/RHFUpload/RHFUploadFile/components/UploadSingleFile/index.d.ts +0 -13
  54. package/components/hook-form/RHFUpload/RHFUploadFile/components/UploadSingleFile/index.js +0 -84
  55. package/components/hook-form/RHFUpload/RHFUploadFile/index.d.ts +0 -9
  56. package/components/hook-form/RHFUpload/RHFUploadFile/index.js +0 -31
  57. package/components/hook-form/RHFUpload/components/UploadComponents/BlockContent.js +0 -36
  58. package/components/hook-form/RHFUpload/components/UploadComponents/RejectionFiles.js +0 -31
  59. package/storybook/hook-form/RHFUploadImage/RHFUploadFile.stories.d.ts +0 -6
@@ -0,0 +1,147 @@
1
+ const rhfUploadSingleFileStyles = {
2
+ /**
3
+ * estilos root
4
+ */
5
+ root: ({ theme }) => ({
6
+ display: "flex",
7
+ flexDirection: "column",
8
+ gap: theme.vars.size.baseSpacings.sp1,
9
+ height: "300px"
10
+ }),
11
+ /**
12
+ * estilos containerDropZone
13
+ */
14
+ containerDropZone: ({ theme }) => ({
15
+ display: "flex",
16
+ width: "100%",
17
+ height: "100%",
18
+ border: theme.vars.size.borderStroke.container,
19
+ borderColor: theme.vars.palette.border.default,
20
+ borderRadius: theme.vars.size.borderRadius.r1,
21
+ paddingTop: theme.vars.size.baseSpacings.sp2,
22
+ paddingBottom: theme.vars.size.baseSpacings.sp2,
23
+ paddingLeft: theme.vars.size.baseSpacings["sp2-5"],
24
+ paddingRight: theme.vars.size.baseSpacings["sp2-5"]
25
+ }),
26
+ /**
27
+ * estilos dropZone
28
+ */
29
+ dropZone: ({ theme, ownerState }) => ({
30
+ display: "flex",
31
+ width: "100%",
32
+ height: "100%",
33
+ alignItems: "center",
34
+ justifyContent: "center",
35
+ backgroundColor: theme.vars.palette.background.neutral,
36
+ borderRadius: theme.vars.size.borderRadius["r0-5"],
37
+ padding: theme.vars.size.baseSpacings.sp4,
38
+ cursor: ownerState.isSkeleton ? "default" : "pointer"
39
+ }),
40
+ /**
41
+ * estilos containerBlockContent
42
+ */
43
+ containerBlockContent: ({ theme, ownerState }) => ({
44
+ flexDirection: "column",
45
+ justifyContent: "center",
46
+ alignItems: "center",
47
+ width: "100%",
48
+ height: "100%",
49
+ display: ownerState.hidden ? "none" : "flex",
50
+ gap: theme.vars.size.baseSpacings.sp4
51
+ }),
52
+ label: () => ({
53
+ display: "flex"
54
+ }),
55
+ helperError: () => ({
56
+ display: "flex"
57
+ }),
58
+ image: () => ({
59
+ display: "flex"
60
+ }),
61
+ /**
62
+ * estilos blockContentGroup
63
+ */
64
+ blockContentGroup: ({ theme }) => ({
65
+ display: "flex",
66
+ width: "auto",
67
+ height: "auto",
68
+ alignItems: "center",
69
+ flexDirection: "column",
70
+ gap: theme.vars.size.baseSpacings.sp2
71
+ }),
72
+ illustrationUpload: {},
73
+ title: {},
74
+ description: {},
75
+ /**
76
+ * estilos divider
77
+ */
78
+ divider: ({ theme }) => ({
79
+ display: "flex",
80
+ overflow: "visible",
81
+ width: "100%",
82
+ height: theme.vars.size.borderStroke.container,
83
+ border: theme.vars.size.borderStroke.container,
84
+ borderColor: theme.vars.palette.border.secondary,
85
+ position: "relative",
86
+ justifyContent: "center",
87
+ alignItems: "center",
88
+ margin: theme.vars.size.baseSpacings.sp3
89
+ }),
90
+ /**
91
+ * estilos dividerText
92
+ */
93
+ dividerText: ({ theme }) => ({
94
+ position: "absolute",
95
+ backgroundColor: theme.vars.palette.background.neutral,
96
+ padding: theme.vars.size.baseSpacings.sp2
97
+ }),
98
+ button: {},
99
+ /**
100
+ * estilos containerPreview
101
+ */
102
+ containerPreview: ({ theme }) => ({
103
+ display: "flex",
104
+ width: "100%",
105
+ height: "fit-content",
106
+ gap: theme.vars.size.baseSpacings.sp3,
107
+ alignContent: "center",
108
+ padding: theme.vars.size.baseSpacings["sp2-5"],
109
+ borderRadius: theme.vars.size.borderRadius.r1,
110
+ border: theme.vars.size.borderStroke.container,
111
+ borderColor: theme.vars.palette.border.default,
112
+ backgroundColor: theme.vars.palette.background.default
113
+ }),
114
+ /**
115
+ * estilos containerNameSize
116
+ */
117
+ containerNameSize: ({ theme }) => ({
118
+ display: "flex",
119
+ flexDirection: "column",
120
+ flex: 1,
121
+ gap: theme.vars.size.baseSpacings.sp2,
122
+ justifyContent: "center"
123
+ }),
124
+ /**
125
+ * estilos imagePreview
126
+ */
127
+ imagePreview: ({ theme }) => ({
128
+ display: "flex",
129
+ width: theme.vars.size.baseSpacings.sp10,
130
+ height: theme.vars.size.baseSpacings.sp10,
131
+ alignItems: "center"
132
+ }),
133
+ namePreview: {},
134
+ sizePreview: {},
135
+ /**
136
+ * estilos closePreview
137
+ */
138
+ closePreview: () => ({
139
+ display: "flex",
140
+ alignItems: "center",
141
+ justifyContent: "center",
142
+ margin: "auto"
143
+ })
144
+ };
145
+ export {
146
+ rhfUploadSingleFileStyles as r
147
+ };
@@ -0,0 +1,23 @@
1
+ export declare const RHF_UPLOAD_SINGLE_FILE_KEY_COMPONENT = "M4LRHFUploadSingleFile";
2
+ export declare const RHF_UPLOAD_SINGLE_FILE_CLASSES: Record<string, string>;
3
+ export declare const DEFAULT_MAX_FILE_SIZE: number;
4
+ export declare const FILES_ICONS: {
5
+ readonly 'application/pdf': "frontend/components/RHF_upload_single_file/assets/icons/application_pdf.svg";
6
+ readonly 'image/jpeg': "frontend/components/RHF_upload_single_file/assets/icons/image_jpeg.svg";
7
+ readonly 'image/png': "frontend/components/RHF_upload_single_file/assets/icons/image_png.svg";
8
+ readonly 'image/gif': "frontend/components/RHF_upload_single_file/assets/icons/image_gif.svg";
9
+ readonly 'image/svg+xml': "frontend/components/RHF_upload_single_file/assets/icons/image_svg%2Bxml.svg";
10
+ readonly 'audio/mpeg': "frontend/components/RHF_upload_single_file/assets/icons/audio_mpeg.svg";
11
+ readonly 'video/mp4': "frontend/components/RHF_upload_single_file/assets/icons/video_mp4.svg";
12
+ readonly 'application/zip': "frontend/components/RHF_upload_single_file/assets/icons/application_zip.svg";
13
+ readonly 'application/msword': "frontend/components/RHF_upload_single_file/assets/icons/application_msword.svg";
14
+ readonly 'application/vnd.openxmlformats-officedocument.wordprocessingml.document': "frontend/components/RHF_upload_single_file/assets/icons/application_vnd.openxmlformats_officedocument.wordprocessingml.document.svg";
15
+ readonly 'application/vnd.ms-excel': "frontend/components/RHF_upload_single_file/assets/icons/application_vnd.ms_excel.svg";
16
+ readonly 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet': "frontend/components/RHF_upload_single_file/assets/icons/application_vnd.openxmlformats_officedocument.spreadsheetml.sheet.svg";
17
+ readonly 'application/vnd.ms-powerpoint': "frontend/components/RHF_upload_single_file/assets/icons/application_vnd.ms-powerpoint.svg";
18
+ readonly 'application/vnd.openxmlformats-officedocument.presentationml.presentation': "frontend/components/RHF_upload_single_file/assets/icons/application_vnd.openxmlformats-officedocument.presentationml.presentation.svg";
19
+ readonly 'text/plain': "frontend/components/RHF_upload_single_file/assets/icons/text_plain.svg";
20
+ readonly 'application/octet-stream': "frontend/components/RHF_upload_single_file/assets/icons/application_octet_stream.svg";
21
+ };
22
+ export declare const CLOSE_PREVIEW_ICON = "frontend/components/RHF_upload_single_file/assets/icons/close.svg";
23
+ export declare const ILLUSTRATION_UPLOAD = "frontend/components/RHF_upload_single_file/assets/icons/RHFuploadSingleFile.svg";
@@ -0,0 +1,34 @@
1
+ import { g as getComponentClasses } from "../../../../utils/getComponentSlotRoot.js";
2
+ import { R as RHFUploadSingleFileSlots } from "./slots/RHFUploadSingleFileEnum.js";
3
+ const RHF_UPLOAD_SINGLE_FILE_KEY_COMPONENT = "M4LRHFUploadSingleFile";
4
+ const RHF_UPLOAD_SINGLE_FILE_CLASSES = getComponentClasses(RHF_UPLOAD_SINGLE_FILE_KEY_COMPONENT, RHFUploadSingleFileSlots);
5
+ const DEFAULT_MAX_FILE_SIZE = 100 * 1024 * 1024;
6
+ const PATH_ICONS = "frontend/components/RHF_upload_single_file/assets/icons";
7
+ const FILES_ICONS = {
8
+ "application/pdf": `${PATH_ICONS}/application_pdf.svg`,
9
+ "image/jpeg": `${PATH_ICONS}/image_jpeg.svg`,
10
+ "image/png": `${PATH_ICONS}/image_png.svg`,
11
+ "image/gif": `${PATH_ICONS}/image_gif.svg`,
12
+ "image/svg+xml": `${PATH_ICONS}/image_svg%2Bxml.svg`,
13
+ "audio/mpeg": `${PATH_ICONS}/audio_mpeg.svg`,
14
+ "video/mp4": `${PATH_ICONS}/video_mp4.svg`,
15
+ "application/zip": `${PATH_ICONS}/application_zip.svg`,
16
+ "application/msword": `${PATH_ICONS}/application_msword.svg`,
17
+ "application/vnd.openxmlformats-officedocument.wordprocessingml.document": `${PATH_ICONS}/application_vnd.openxmlformats_officedocument.wordprocessingml.document.svg`,
18
+ "application/vnd.ms-excel": `${PATH_ICONS}/application_vnd.ms_excel.svg`,
19
+ "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": `${PATH_ICONS}/application_vnd.openxmlformats_officedocument.spreadsheetml.sheet.svg`,
20
+ "application/vnd.ms-powerpoint": `${PATH_ICONS}/application_vnd.ms-powerpoint.svg`,
21
+ "application/vnd.openxmlformats-officedocument.presentationml.presentation": `${PATH_ICONS}/application_vnd.openxmlformats-officedocument.presentationml.presentation.svg`,
22
+ "text/plain": `${PATH_ICONS}/text_plain.svg`,
23
+ "application/octet-stream": `${PATH_ICONS}/application_octet_stream.svg`
24
+ };
25
+ const CLOSE_PREVIEW_ICON = `${PATH_ICONS}/close.svg`;
26
+ const ILLUSTRATION_UPLOAD = "frontend/components/RHF_upload_single_file/assets/icons/RHFuploadSingleFile.svg";
27
+ export {
28
+ CLOSE_PREVIEW_ICON as C,
29
+ DEFAULT_MAX_FILE_SIZE as D,
30
+ FILES_ICONS as F,
31
+ ILLUSTRATION_UPLOAD as I,
32
+ RHF_UPLOAD_SINGLE_FILE_KEY_COMPONENT as R,
33
+ RHF_UPLOAD_SINGLE_FILE_CLASSES as a
34
+ };
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Get the dictionary for the RHFUploadSingleFile component
3
+ */
4
+ export declare const getRHFuploadSingleFileComponentsDictionary: () => string[];
5
+ export declare const COMPONENTS_DICTIONARY_KEYS: {
6
+ errorMaxSize: string;
7
+ errorFileRejected: string;
8
+ title: string;
9
+ description: string;
10
+ blockContent: string;
11
+ buttonText: string;
12
+ dividerText: string;
13
+ acceptFile: string;
14
+ acceptSize: string;
15
+ };
@@ -0,0 +1,15 @@
1
+ const COMPONENT_KEY = "rhfuploadsinglefile";
2
+ const COMPONENTS_DICTIONARY_KEYS = {
3
+ errorMaxSize: `${COMPONENT_KEY}.error_max_size`,
4
+ errorFileRejected: `${COMPONENT_KEY}.error_file_rejected`,
5
+ title: `${COMPONENT_KEY}.title`,
6
+ description: `${COMPONENT_KEY}.description`,
7
+ blockContent: `${COMPONENT_KEY}.block_content`,
8
+ buttonText: `${COMPONENT_KEY}.button_text`,
9
+ dividerText: `${COMPONENT_KEY}.divider_text`,
10
+ acceptFile: `${COMPONENT_KEY}.accept_file`,
11
+ acceptSize: `${COMPONENT_KEY}.accept_size`
12
+ };
13
+ export {
14
+ COMPONENTS_DICTIONARY_KEYS as C
15
+ };
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Formatea el tamaño del archivo.
3
+ * @param bytes - Tamaño del archivo en bytes.
4
+ * @returns Tamaño del archivo formateado.
5
+ */
6
+ export declare const formatFileSize: (bytes: number) => string;
@@ -0,0 +1,16 @@
1
+ const formatFileSize = (bytes) => {
2
+ if (!bytes) {
3
+ return "";
4
+ }
5
+ const units = ["bytes", "KB", "MB", "GB"];
6
+ let size = bytes;
7
+ let unitIndex = 0;
8
+ while (size >= 1024 && unitIndex < units.length - 1) {
9
+ size /= 1024;
10
+ unitIndex++;
11
+ }
12
+ return `${size.toFixed(2)} ${units[unitIndex]}`;
13
+ };
14
+ export {
15
+ formatFileSize as f
16
+ };
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Obtiene el tipo de archivo legible para el usuario.
3
+ * @param mimeType - El tipo de archivo en formato MIME.
4
+ * @returns El tipo de archivo legible para el usuario.
5
+ */
6
+ export declare const getReadableFileType: (mimeType: string) => string;
@@ -0,0 +1,55 @@
1
+ const commonFileTypes = {
2
+ // Imágenes
3
+ "image/jpeg": "JPEG",
4
+ "image/jpg": "JPG",
5
+ "image/png": "PNG",
6
+ "image/gif": "GIF",
7
+ "image/webp": "WEBP",
8
+ "image/svg+xml": "SVG",
9
+ // Documentos
10
+ "application/pdf": "PDF",
11
+ "application/msword": "DOC",
12
+ "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "DOCX",
13
+ "application/vnd.ms-excel": "XLS",
14
+ "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": "XLSX",
15
+ "application/vnd.ms-powerpoint": "PPT",
16
+ "application/vnd.openxmlformats-officedocument.presentationml.presentation": "PPTX",
17
+ // Texto
18
+ "text/plain": "TXT",
19
+ "text/html": "HTML",
20
+ "text/css": "CSS",
21
+ "text/javascript": "JS",
22
+ // Comprimidos
23
+ "application/zip": "ZIP",
24
+ "application/x-rar-compressed": "RAR",
25
+ "application/x-7z-compressed": "7Z",
26
+ // Audio
27
+ "audio/mpeg": "MP3",
28
+ "audio/wav": "WAV",
29
+ "audio/ogg": "OGG",
30
+ // Video
31
+ "video/mp4": "MP4",
32
+ "video/mpeg": "MPEG",
33
+ "video/webm": "WEBM",
34
+ "video/quicktime": "MOV"
35
+ };
36
+ const getReadableFileType = (mimeType) => {
37
+ if (mimeType in commonFileTypes) {
38
+ return commonFileTypes[mimeType];
39
+ }
40
+ const [category, subtype] = mimeType.split("/");
41
+ if (subtype === "*") {
42
+ const categoryMap = {
43
+ image: "Imagen",
44
+ audio: "Audio",
45
+ video: "Video",
46
+ text: "Texto",
47
+ application: "Aplicación"
48
+ };
49
+ return categoryMap[category] || mimeType;
50
+ }
51
+ return subtype.toUpperCase() || mimeType;
52
+ };
53
+ export {
54
+ getReadableFileType as g
55
+ };
@@ -0,0 +1,5 @@
1
+ import { UploadAction, UploadState } from '../subcomponents/UploadSingleFile/types';
2
+ /**
3
+ * Reducer para el estado de la carga de un solo archivo
4
+ */
5
+ export declare function uploadReducer(state: UploadState, action: UploadAction): UploadState;
@@ -0,0 +1,17 @@
1
+ function uploadReducer(state, action) {
2
+ switch (action.type) {
3
+ case "SET_PROGRESS":
4
+ return { ...state, progress: action.payload };
5
+ case "SET_PREVIEW":
6
+ return { ...state, preview: action.payload };
7
+ case "SET_VALID_FILE":
8
+ return { ...state, validFile: action.payload };
9
+ case "RESET":
10
+ return { progress: null, preview: false, validFile: false };
11
+ default:
12
+ return state;
13
+ }
14
+ }
15
+ export {
16
+ uploadReducer as u
17
+ };
@@ -0,0 +1 @@
1
+ export { RHFUploadSingleFile } from './RHFUploadSingleFile';
@@ -0,0 +1,22 @@
1
+ export declare enum RHFUploadSingleFileSlots {
2
+ root = "root",
3
+ label = "label",
4
+ helperError = "helperError",
5
+ containerDropZone = "containerDropZone",
6
+ dropZone = "dropZone",
7
+ image = "image",
8
+ containerBlockContent = "containerBlockContent",
9
+ blockContentGroup = "blockContentGroup",
10
+ illustrationUpload = "illustrationUpload",
11
+ title = "title",
12
+ description = "description",
13
+ divider = "divider",
14
+ dividerText = "dividerText",
15
+ button = "button",
16
+ containerPreview = "containerPreview",
17
+ containerNameSize = "containerNameSize",
18
+ imagePreview = "imagePreview",
19
+ namePreview = "namePreview",
20
+ sizePreview = "sizePreview",
21
+ closePreview = "closePreview"
22
+ }
@@ -0,0 +1,26 @@
1
+ var RHFUploadSingleFileSlots = /* @__PURE__ */ ((RHFUploadSingleFileSlots2) => {
2
+ RHFUploadSingleFileSlots2["root"] = "root";
3
+ RHFUploadSingleFileSlots2["label"] = "label";
4
+ RHFUploadSingleFileSlots2["helperError"] = "helperError";
5
+ RHFUploadSingleFileSlots2["containerDropZone"] = "containerDropZone";
6
+ RHFUploadSingleFileSlots2["dropZone"] = "dropZone";
7
+ RHFUploadSingleFileSlots2["image"] = "image";
8
+ RHFUploadSingleFileSlots2["containerBlockContent"] = "containerBlockContent";
9
+ RHFUploadSingleFileSlots2["blockContentGroup"] = "blockContentGroup";
10
+ RHFUploadSingleFileSlots2["illustrationUpload"] = "illustrationUpload";
11
+ RHFUploadSingleFileSlots2["title"] = "title";
12
+ RHFUploadSingleFileSlots2["description"] = "description";
13
+ RHFUploadSingleFileSlots2["divider"] = "divider";
14
+ RHFUploadSingleFileSlots2["dividerText"] = "dividerText";
15
+ RHFUploadSingleFileSlots2["button"] = "button";
16
+ RHFUploadSingleFileSlots2["containerPreview"] = "containerPreview";
17
+ RHFUploadSingleFileSlots2["containerNameSize"] = "containerNameSize";
18
+ RHFUploadSingleFileSlots2["imagePreview"] = "imagePreview";
19
+ RHFUploadSingleFileSlots2["namePreview"] = "namePreview";
20
+ RHFUploadSingleFileSlots2["sizePreview"] = "sizePreview";
21
+ RHFUploadSingleFileSlots2["closePreview"] = "closePreview";
22
+ return RHFUploadSingleFileSlots2;
23
+ })(RHFUploadSingleFileSlots || {});
24
+ export {
25
+ RHFUploadSingleFileSlots as R
26
+ };
@@ -0,0 +1,60 @@
1
+ export declare const RHFUploadSingleFileRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
2
+ ownerState: Partial<import('../types').RHFUploadSingleFileOwnerState> & Record<string, unknown>;
3
+ }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
4
+ export declare const LabelStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../..').LabelProps, keyof import('../../../..').LabelProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
5
+ ownerState: Partial<import('../types').RHFUploadSingleFileOwnerState> & Record<string, unknown>;
6
+ }, {}, {}>;
7
+ export declare const HelperErrorStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../../HelperError').HelperErrorProps & import('react').RefAttributes<HTMLLabelElement>, keyof import('../../../../HelperError').HelperErrorProps | keyof import('react').RefAttributes<HTMLLabelElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
8
+ ownerState: Partial<import('../types').RHFUploadSingleFileOwnerState> & Record<string, unknown>;
9
+ }, {}, {}>;
10
+ export declare const ContainerDropZoneStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
11
+ ownerState: Partial<import('../types').RHFUploadSingleFileOwnerState> & Record<string, unknown>;
12
+ }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
13
+ export declare const DropZoneStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
14
+ ownerState: Partial<import('../types').RHFUploadSingleFileOwnerState> & Record<string, unknown>;
15
+ }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
16
+ export declare const ImageStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../../Image').ImageProps, keyof import('../../../../Image').ImageProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
17
+ ownerState: Partial<import('../types').RHFUploadSingleFileOwnerState> & Record<string, unknown>;
18
+ }, {}, {}>;
19
+ export declare const BlockContentGroupStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
20
+ ownerState: Partial<import('../types').RHFUploadSingleFileOwnerState> & Record<string, unknown>;
21
+ }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
22
+ export declare const ContainerBlockContentStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
23
+ ownerState: Partial<import('../types').RHFUploadSingleFileOwnerState> & Record<string, unknown>;
24
+ }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
25
+ export declare const IllustrationUploadStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../../Image').ImageProps, keyof import('../../../../Image').ImageProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
26
+ ownerState: Partial<import('../types').RHFUploadSingleFileOwnerState> & Record<string, unknown>;
27
+ }, {}, {}>;
28
+ export declare const TitleStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../../mui_extended/Typography/types').TypographyProps, keyof import('../../../../mui_extended/Typography/types').TypographyProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
29
+ ownerState: Partial<import('../types').RHFUploadSingleFileOwnerState> & Record<string, unknown>;
30
+ }, {}, {}>;
31
+ export declare const DescriptionStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../../mui_extended/Typography/types').TypographyProps, keyof import('../../../../mui_extended/Typography/types').TypographyProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
32
+ ownerState: Partial<import('../types').RHFUploadSingleFileOwnerState> & Record<string, unknown>;
33
+ }, {}, {}>;
34
+ export declare const DividerStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
35
+ ownerState: Partial<import('../types').RHFUploadSingleFileOwnerState> & Record<string, unknown>;
36
+ }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
37
+ export declare const DividerTextStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../../mui_extended/Typography/types').TypographyProps, keyof import('../../../../mui_extended/Typography/types').TypographyProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
38
+ ownerState: Partial<import('../types').RHFUploadSingleFileOwnerState> & Record<string, unknown>;
39
+ }, {}, {}>;
40
+ export declare const ButtonStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../../../mui_extended/Button').ButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "value" | "size" | "children" | "title" | "component" | "name" | "id" | "type" | "disabled" | "action" | "hidden" | "color" | "content" | "style" | "variant" | "translate" | "className" | "classes" | "sx" | "form" | "label" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "href" | "skeletonWidth" | "startIcon" | "endIcon" | keyof import('react').RefAttributes<HTMLButtonElement> | "disableElevation" | "fullWidth"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
41
+ ownerState: Partial<import('../types').RHFUploadSingleFileOwnerState> & Record<string, unknown>;
42
+ }, {}, {}>;
43
+ export declare const ContainerPreviewStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
44
+ ownerState: Partial<import('../types').RHFUploadSingleFileOwnerState> & Record<string, unknown>;
45
+ }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
46
+ export declare const ContainerNameSizeStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
47
+ ownerState: Partial<import('../types').RHFUploadSingleFileOwnerState> & Record<string, unknown>;
48
+ }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
49
+ export declare const ImagePreviewStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../../Image').ImageProps, keyof import('../../../../Image').ImageProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
50
+ ownerState: Partial<import('../types').RHFUploadSingleFileOwnerState> & Record<string, unknown>;
51
+ }, {}, {}>;
52
+ export declare const NamePreviewStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../../mui_extended/Typography/types').TypographyProps, keyof import('../../../../mui_extended/Typography/types').TypographyProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
53
+ ownerState: Partial<import('../types').RHFUploadSingleFileOwnerState> & Record<string, unknown>;
54
+ }, {}, {}>;
55
+ export declare const SizePreviewStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../../mui_extended/Typography/types').TypographyProps, keyof import('../../../../mui_extended/Typography/types').TypographyProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
56
+ ownerState: Partial<import('../types').RHFUploadSingleFileOwnerState> & Record<string, unknown>;
57
+ }, {}, {}>;
58
+ export declare const ClosePreviewStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../../../mui_extended/IconButton/types').IconButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "value" | "size" | "children" | "title" | "component" | "name" | "id" | "type" | "selected" | "disabled" | "action" | "hidden" | "color" | "content" | "style" | "icon" | "tooltip" | "variant" | "translate" | "className" | "classes" | "src" | "sx" | "form" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "instaceDataTestId" | "rotationAngle" | "placement" | "tooltipContent" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "badgeContent" | "dictionaryTooltipId" | keyof import('react').RefAttributes<HTMLButtonElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
59
+ ownerState: Partial<import('../types').RHFUploadSingleFileOwnerState> & Record<string, unknown>;
60
+ }, {}, {}>;
@@ -0,0 +1,110 @@
1
+ import { styled } from "@mui/material";
2
+ import { R as RHFUploadSingleFileSlots } from "./RHFUploadSingleFileEnum.js";
3
+ import { r as rhfUploadSingleFileStyles } from "../RHFUploadSingleFile.styles.js";
4
+ import { T as Typography } from "../../../../mui_extended/Typography/Typography.js";
5
+ import { B as Button } from "../../../../mui_extended/Button/Button.js";
6
+ import { I as IconButton } from "../../../../mui_extended/IconButton/IconButton.js";
7
+ import { I as Image } from "../../../../Image/Image.js";
8
+ import { L as Label } from "../../../../Label/Label.js";
9
+ import { H as HelperError } from "../../../../HelperError/HelperError.js";
10
+ const RHFUploadSingleFileRootStyled = styled("div", {
11
+ name: RHFUploadSingleFileSlots.root,
12
+ slot: RHFUploadSingleFileSlots.root
13
+ })(rhfUploadSingleFileStyles.root);
14
+ const LabelStyled = styled(Label, {
15
+ name: RHFUploadSingleFileSlots.label,
16
+ slot: RHFUploadSingleFileSlots.label
17
+ })(rhfUploadSingleFileStyles.label);
18
+ const HelperErrorStyled = styled(HelperError, {
19
+ name: RHFUploadSingleFileSlots.helperError,
20
+ slot: RHFUploadSingleFileSlots.helperError
21
+ })(rhfUploadSingleFileStyles.helperError);
22
+ const ContainerDropZoneStyled = styled("div", {
23
+ name: RHFUploadSingleFileSlots.containerDropZone,
24
+ slot: RHFUploadSingleFileSlots.containerDropZone
25
+ })(rhfUploadSingleFileStyles.containerDropZone);
26
+ const DropZoneStyled = styled("div", {
27
+ name: RHFUploadSingleFileSlots.dropZone,
28
+ slot: RHFUploadSingleFileSlots.dropZone
29
+ })(rhfUploadSingleFileStyles.dropZone);
30
+ styled(Image, {
31
+ name: RHFUploadSingleFileSlots.image,
32
+ slot: RHFUploadSingleFileSlots.image
33
+ })(rhfUploadSingleFileStyles.image);
34
+ const BlockContentGroupStyled = styled("div", {
35
+ name: RHFUploadSingleFileSlots.blockContentGroup,
36
+ slot: RHFUploadSingleFileSlots.blockContentGroup
37
+ })(rhfUploadSingleFileStyles.blockContentGroup);
38
+ const ContainerBlockContentStyled = styled("div", {
39
+ name: RHFUploadSingleFileSlots.containerBlockContent,
40
+ slot: RHFUploadSingleFileSlots.containerBlockContent
41
+ })(rhfUploadSingleFileStyles.containerBlockContent);
42
+ const IllustrationUploadStyled = styled(Image, {
43
+ name: RHFUploadSingleFileSlots.illustrationUpload,
44
+ slot: RHFUploadSingleFileSlots.illustrationUpload
45
+ })(rhfUploadSingleFileStyles.illustrationUpload);
46
+ const TitleStyled = styled(Typography, {
47
+ name: RHFUploadSingleFileSlots.title,
48
+ slot: RHFUploadSingleFileSlots.title
49
+ })(rhfUploadSingleFileStyles.title);
50
+ const DescriptionStyled = styled(Typography, {
51
+ name: RHFUploadSingleFileSlots.description,
52
+ slot: RHFUploadSingleFileSlots.description
53
+ })(rhfUploadSingleFileStyles.description);
54
+ const DividerStyled = styled("div", {
55
+ name: RHFUploadSingleFileSlots.divider,
56
+ slot: RHFUploadSingleFileSlots.divider
57
+ })(rhfUploadSingleFileStyles.divider);
58
+ const DividerTextStyled = styled(Typography, {
59
+ name: RHFUploadSingleFileSlots.dividerText,
60
+ slot: RHFUploadSingleFileSlots.dividerText
61
+ })(rhfUploadSingleFileStyles.dividerText);
62
+ const ButtonStyled = styled(Button, {
63
+ name: RHFUploadSingleFileSlots.button,
64
+ slot: RHFUploadSingleFileSlots.button
65
+ })(rhfUploadSingleFileStyles.button);
66
+ const ContainerPreviewStyled = styled("div", {
67
+ name: RHFUploadSingleFileSlots.containerPreview,
68
+ slot: RHFUploadSingleFileSlots.containerPreview
69
+ })(rhfUploadSingleFileStyles.containerPreview);
70
+ const ContainerNameSizeStyled = styled("div", {
71
+ name: RHFUploadSingleFileSlots.containerNameSize,
72
+ slot: RHFUploadSingleFileSlots.containerNameSize
73
+ })(rhfUploadSingleFileStyles.containerNameSize);
74
+ const ImagePreviewStyled = styled(Image, {
75
+ name: RHFUploadSingleFileSlots.imagePreview,
76
+ slot: RHFUploadSingleFileSlots.imagePreview
77
+ })(rhfUploadSingleFileStyles.imagePreview);
78
+ const NamePreviewStyled = styled(Typography, {
79
+ name: RHFUploadSingleFileSlots.namePreview,
80
+ slot: RHFUploadSingleFileSlots.namePreview
81
+ })(rhfUploadSingleFileStyles.namePreview);
82
+ const SizePreviewStyled = styled(Typography, {
83
+ name: RHFUploadSingleFileSlots.sizePreview,
84
+ slot: RHFUploadSingleFileSlots.sizePreview
85
+ })(rhfUploadSingleFileStyles.sizePreview);
86
+ const ClosePreviewStyled = styled(IconButton, {
87
+ name: RHFUploadSingleFileSlots.closePreview,
88
+ slot: RHFUploadSingleFileSlots.closePreview
89
+ })(rhfUploadSingleFileStyles.closePreview);
90
+ export {
91
+ BlockContentGroupStyled as B,
92
+ ContainerBlockContentStyled as C,
93
+ DescriptionStyled as D,
94
+ HelperErrorStyled as H,
95
+ IllustrationUploadStyled as I,
96
+ LabelStyled as L,
97
+ NamePreviewStyled as N,
98
+ RHFUploadSingleFileRootStyled as R,
99
+ SizePreviewStyled as S,
100
+ TitleStyled as T,
101
+ DividerStyled as a,
102
+ DividerTextStyled as b,
103
+ ButtonStyled as c,
104
+ ContainerPreviewStyled as d,
105
+ ImagePreviewStyled as e,
106
+ ContainerNameSizeStyled as f,
107
+ ClosePreviewStyled as g,
108
+ ContainerDropZoneStyled as h,
109
+ DropZoneStyled as i
110
+ };
@@ -0,0 +1,5 @@
1
+ import { BlockContentProps } from './types';
2
+ /**
3
+ * BlockContent component for the RHFUploadSingleFile component
4
+ */
5
+ export declare const BlockContent: (props: BlockContentProps) => import("react/jsx-runtime").JSX.Element;