@m4l/components 9.4.49 → 9.4.50

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 (24) hide show
  1. package/components/hook-form/RHFUpload/RHFUploadImage/RHFUploadImage.d.ts +15 -15
  2. package/components/hook-form/RHFUpload/RHFUploadImage/RHFUploadImage.styles.d.ts.map +1 -1
  3. package/components/hook-form/RHFUpload/RHFUploadImage/RHFUploadImage.styles.js +56 -23
  4. package/components/hook-form/RHFUpload/RHFUploadImage/slots/RHFUploadImageEnum.d.ts +1 -0
  5. package/components/hook-form/RHFUpload/RHFUploadImage/slots/RHFUploadImageEnum.d.ts.map +1 -1
  6. package/components/hook-form/RHFUpload/RHFUploadImage/slots/RHFUploadImageEnum.js +1 -1
  7. package/components/hook-form/RHFUpload/RHFUploadImage/slots/RHFUploadImageSlots.d.ts +3 -0
  8. package/components/hook-form/RHFUpload/RHFUploadImage/slots/RHFUploadImageSlots.d.ts.map +1 -1
  9. package/components/hook-form/RHFUpload/RHFUploadImage/slots/RHFUploadImageSlots.js +13 -9
  10. package/components/hook-form/RHFUpload/RHFUploadImage/subcomponents/UploadImage/UploadImage.d.ts +1 -1
  11. package/components/hook-form/RHFUpload/RHFUploadImage/subcomponents/UploadImage/UploadImage.d.ts.map +1 -1
  12. package/components/hook-form/RHFUpload/RHFUploadImage/subcomponents/UploadImage/UploadImage.js +103 -68
  13. package/components/hook-form/RHFUpload/RHFUploadImage/subcomponents/UploadImage/dictionary.d.ts +2 -0
  14. package/components/hook-form/RHFUpload/RHFUploadImage/subcomponents/UploadImage/dictionary.d.ts.map +1 -1
  15. package/components/hook-form/RHFUpload/RHFUploadImage/subcomponents/UploadImage/dictionary.js +7 -5
  16. package/components/hook-form/RHFUpload/RHFUploadImage/subcomponents/UploadImage/types.d.ts +21 -5
  17. package/components/hook-form/RHFUpload/RHFUploadImage/subcomponents/UploadImage/types.d.ts.map +1 -1
  18. package/components/hook-form/RHFUpload/RHFUploadImage/types.d.ts +9 -1
  19. package/components/hook-form/RHFUpload/RHFUploadImage/types.d.ts.map +1 -1
  20. package/components/hook-form/RHFUpload/RHFUploadSingleFile/helpers/getReadableFileType.d.ts.map +1 -1
  21. package/components/hook-form/RHFUpload/RHFUploadSingleFile/helpers/getReadableFileType.js +3 -0
  22. package/package.json +7 -7
  23. package/test/mocks/dictionary-mock.d.ts +2 -0
  24. package/test/mocks/dictionary-mock.d.ts.map +1 -1
@@ -1,22 +1,22 @@
1
1
  import { RHFUploadImageProps } from './types';
2
2
  /**
3
- * RHFUploadImage es un componente que permite subir una imagen con react-hook-form
4
- * ### Dependencias:
5
- * - **`useFormContext:`** Hook que provee acceso a los métodos y propiedades de un formulario react-hook-form.
6
- * - **`useFormatter:`** Hook que permite acceder a los diferentes formatters de la aplicación.
3
+ * Image upload field for react-hook-form.
4
+ * ### Dependencies:
5
+ * - **`useFormContext`:** Access to react-hook-form methods and state.
7
6
  * @example
8
7
  * ```tsx
9
- * const ExampleComponent = () => {
10
- * const { control } = useForm();
11
- * return (
12
- * <RHFUploadImage
13
- * name="image"
14
- * control={control}
15
- * size="medium"
16
- * variant="outlined"
17
- * label="Imagen"
18
- * helperMessage="Seleccione una imagen"
19
- * />
8
+ * // Inside a tree wrapped with FormProvider from react-hook-form:
9
+ * <RHFUploadImage
10
+ * name="image"
11
+ * size="medium"
12
+ * variant="outlined"
13
+ * label="Image"
14
+ * helperMessage="Select an image"
15
+ * imageFit="contain"
16
+ * height={180}
17
+ * maxHeight={240}
18
+ * />
19
+ * ```
20
20
  */
21
21
  export declare function RHFUploadImage(props: RHFUploadImageProps): import("@emotion/react/jsx-runtime").JSX.Element;
22
22
  //# sourceMappingURL=RHFUploadImage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"RHFUploadImage.styles.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/components/src/components/hook-form/RHFUpload/RHFUploadImage/RHFUploadImage.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAE/C,eAAO,MAAM,oBAAoB,EAAG,oBAiInC,CAAC"}
1
+ {"version":3,"file":"RHFUploadImage.styles.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/components/src/components/hook-form/RHFUpload/RHFUploadImage/RHFUploadImage.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAE/C,eAAO,MAAM,oBAAoB,EAAG,oBA+KnC,CAAC"}
@@ -1,35 +1,36 @@
1
- const r = {
1
+ const a = {
2
2
  /**
3
- * rhfUploadImageRoot: estilos del contenedor principal
3
+ * rhfUploadImageRoot: outer wrapper
4
4
  */
5
5
  rhfUploadImageRoot: ({ theme: e }) => ({
6
6
  width: "100%",
7
7
  display: "flex",
8
8
  flexDirection: "column",
9
9
  maxWidth: "100%",
10
- gap: e.vars.size.baseSpacings["sp0-5"]
10
+ gap: e.vars.size.baseSpacings["sp0-5"],
11
+ minWidth: "130px"
11
12
  }),
12
13
  /**
13
- * uploadImageRoot: estilos del contenedor principal
14
+ * uploadImageRoot: dropzone outer border
14
15
  */
15
- uploadImageRoot: ({ theme: e, ownerState: a }) => ({
16
+ uploadImageRoot: ({ theme: e, ownerState: i }) => ({
16
17
  padding: `${e.vars.size.baseSpacings.sp2}`,
17
18
  border: e.vars.size.borderStroke.container,
18
19
  borderRadius: e.vars.size.borderRadius.r1,
19
20
  borderColor: e.vars.palette.border.default,
20
21
  width: "100%",
21
- ...a?.isDragAccept && {
22
+ ...i?.isDragAccept && {
22
23
  borderColor: e.vars.palette.primary.main
23
24
  },
24
- ...a?.isDragReject && {
25
+ ...i?.isDragReject && {
25
26
  borderColor: e.vars.palette.error.main
26
27
  },
27
- ...a?.error && {
28
+ ...i?.error && {
28
29
  borderColor: e.vars.palette.error.main
29
30
  }
30
31
  }),
31
32
  /**
32
- * contentModuleLayout: estilos del contenedor de contenido
33
+ * contentModuleLayout: inner content area
33
34
  */
34
35
  contentModuleLayout: ({ theme: e }) => ({
35
36
  padding: e.vars.size.baseSpacings["sp2-5"],
@@ -45,7 +46,7 @@ const r = {
45
46
  }
46
47
  }),
47
48
  /**
48
- * contentImage: estilos del contenedor de la imagen
49
+ * contentImage: empty-state illustration column
49
50
  */
50
51
  contentImage: ({ theme: e }) => ({
51
52
  display: "flex",
@@ -57,7 +58,7 @@ const r = {
57
58
  maxWidth: "200px"
58
59
  }),
59
60
  /**
60
- * contentImageText: estilos del contenedor de texto de la imagen
61
+ * contentImageText: title stack under illustration
61
62
  */
62
63
  contentImageText: ({ theme: e }) => ({
63
64
  display: "flex",
@@ -66,7 +67,7 @@ const r = {
66
67
  gap: e.vars.size.baseSpacings.sp1
67
68
  }),
68
69
  /**
69
- * contentMessage: estilos del contenedor de mensaje
70
+ * contentMessage: divider + helper text row
70
71
  */
71
72
  contentMessage: ({ theme: e }) => ({
72
73
  display: "flex",
@@ -74,11 +75,15 @@ const r = {
74
75
  width: "100%",
75
76
  gap: e.vars.size.baseSpacings.sp2
76
77
  }),
78
+ /**
79
+ * typography: typography component
80
+ */
77
81
  typography: ({ theme: e }) => ({
78
- color: e.vars.palette.text.secondary
82
+ color: e.vars.palette.text.secondary,
83
+ width: "auto"
79
84
  }),
80
85
  /**
81
- * buttonStyled: estilos del botón
86
+ * button: choose file trigger
82
87
  */
83
88
  button: () => ({
84
89
  width: "fit-content",
@@ -88,7 +93,7 @@ const r = {
88
93
  }
89
94
  }),
90
95
  /**
91
- * iconButtonRemove: estilos del botón de remover
96
+ * iconButtonRemove: remove preview (shown on hover)
92
97
  */
93
98
  iconButtonRemove: () => ({
94
99
  display: "none !important",
@@ -101,17 +106,45 @@ const r = {
101
106
  height: e.vars.size.borderStroke.container
102
107
  }),
103
108
  /**
104
- * containPreview: estilos del contenedor de la vista previa
109
+ * containPreview: preview container and image (object-fit / height / max-height from ownerState)
105
110
  */
106
- containPreview: () => ({
107
- position: "relative",
108
- display: "flex",
109
- "& img": {
111
+ containPreview: ({ ownerState: e }) => {
112
+ const i = e?.maxHeight ?? e?.height, r = typeof i == "number" ? `${i}px` : i;
113
+ return {
114
+ position: "relative",
115
+ display: "flex",
110
116
  width: "100%",
111
- height: "auto"
112
- }
117
+ "& img": {
118
+ width: "100%",
119
+ height: r ?? "auto",
120
+ ...e?.imageFit !== null && { objectFit: e?.imageFit },
121
+ ...r != null && {
122
+ maxHeight: r
123
+ }
124
+ }
125
+ };
126
+ },
127
+ /**
128
+ * previewFallback: clear UI state when preview fails to load
129
+ */
130
+ previewFallback: ({ theme: e, ownerState: i }) => ({
131
+ width: "100%",
132
+ minHeight: i?.maxHeight !== null ? typeof i?.maxHeight == "number" ? `${i?.maxHeight}px` : i?.maxHeight : i?.height !== null ? typeof i?.height == "number" ? `${i?.height}px` : i?.height : "180px",
133
+ border: e.vars.size.borderStroke.container,
134
+ borderStyle: "dashed",
135
+ borderColor: e.vars.palette.border.default,
136
+ borderRadius: e.vars.size.borderRadius["r0-5"],
137
+ background: e.vars.palette.background.default,
138
+ color: e.vars.palette.text.secondary,
139
+ display: "flex",
140
+ flexDirection: "column",
141
+ alignItems: "center",
142
+ justifyContent: "center",
143
+ gap: e.vars.size.baseSpacings.sp1,
144
+ textAlign: "center",
145
+ padding: e.vars.size.baseSpacings.sp2
113
146
  })
114
147
  };
115
148
  export {
116
- r as rhfUploadImageStyles
149
+ a as rhfUploadImageStyles
117
150
  };
@@ -9,6 +9,7 @@ export declare enum UploadImageSlots {
9
9
  button = "button",
10
10
  iconButtonRemove = "iconButtonRemove",
11
11
  containPreview = "containPreview",
12
+ previewFallback = "previewFallback",
12
13
  divider = "divider"
13
14
  }
14
15
  //# sourceMappingURL=RHFUploadImageEnum.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"RHFUploadImageEnum.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/components/src/components/hook-form/RHFUpload/RHFUploadImage/slots/RHFUploadImageEnum.ts"],"names":[],"mappings":"AAAA,oBAAY,gBAAgB;IAC1B,kBAAkB,uBAAuB;IACzC,eAAe,oBAAoB;IACnC,mBAAmB,wBAAwB;IAC3C,YAAY,iBAAiB;IAC7B,gBAAgB,qBAAqB;IACrC,cAAc,mBAAmB;IACjC,UAAU,eAAe;IACzB,MAAM,WAAW;IACjB,gBAAgB,qBAAqB;IACrC,cAAc,mBAAmB;IACjC,OAAO,YAAY;CACpB"}
1
+ {"version":3,"file":"RHFUploadImageEnum.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/components/src/components/hook-form/RHFUpload/RHFUploadImage/slots/RHFUploadImageEnum.ts"],"names":[],"mappings":"AAAA,oBAAY,gBAAgB;IAC1B,kBAAkB,uBAAuB;IACzC,eAAe,oBAAoB;IACnC,mBAAmB,wBAAwB;IAC3C,YAAY,iBAAiB;IAC7B,gBAAgB,qBAAqB;IACrC,cAAc,mBAAmB;IACjC,UAAU,eAAe;IACzB,MAAM,WAAW;IACjB,gBAAgB,qBAAqB;IACrC,cAAc,mBAAmB;IACjC,eAAe,oBAAoB;IACnC,OAAO,YAAY;CACpB"}
@@ -1,4 +1,4 @@
1
- var n = /* @__PURE__ */ ((t) => (t.rhfUploadImageRoot = "rhfUploadImageRoot", t.uploadImageRoot = "uploadImageRoot", t.contentModuleLayout = "contentModuleLayout", t.contentImage = "contentImage", t.contentImageText = "contentImageText", t.contentMessage = "contentMessage", t.typography = "typography", t.button = "button", t.iconButtonRemove = "iconButtonRemove", t.containPreview = "containPreview", t.divider = "divider", t))(n || {});
1
+ var n = /* @__PURE__ */ ((e) => (e.rhfUploadImageRoot = "rhfUploadImageRoot", e.uploadImageRoot = "uploadImageRoot", e.contentModuleLayout = "contentModuleLayout", e.contentImage = "contentImage", e.contentImageText = "contentImageText", e.contentMessage = "contentMessage", e.typography = "typography", e.button = "button", e.iconButtonRemove = "iconButtonRemove", e.containPreview = "containPreview", e.previewFallback = "previewFallback", e.divider = "divider", e))(n || {});
2
2
  export {
3
3
  n as UploadImageSlots
4
4
  };
@@ -28,6 +28,9 @@ export declare const IconButtonRemoveStyled: import('@emotion/styled').StyledCom
28
28
  export declare const ContainPreviewStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
29
29
  ownerState?: (Partial<import('../types').RHFUploadImageOwnerState> & Record<string, unknown>) | undefined;
30
30
  }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
31
+ export declare const PreviewFallbackStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
32
+ ownerState?: (Partial<import('../types').RHFUploadImageOwnerState> & Record<string, unknown>) | undefined;
33
+ }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
31
34
  export declare const DividerStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../../extended/mui/Divider/types').DividerProps, keyof import('../../../../extended/mui/Divider/types').DividerProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
32
35
  ownerState?: (Partial<import('../types').RHFUploadImageOwnerState> & Record<string, unknown>) | undefined;
33
36
  }, {}, {}>;
@@ -1 +1 @@
1
- {"version":3,"file":"RHFUploadImageSlots.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/components/src/components/hook-form/RHFUpload/RHFUploadImage/slots/RHFUploadImageSlots.tsx"],"names":[],"mappings":"AASA,eAAO,MAAM,wBAAwB;;6NAGM,CAAC;AAE5C,eAAO,MAAM,qBAAqB;;6NAGM,CAAC;AAEzC,eAAO,MAAM,yBAAyB;;6NAGM,CAAC;AAE7C,eAAO,MAAM,kBAAkB;;6NAGM,CAAC;AAEtC,eAAO,MAAM,sBAAsB;;6NAGM,CAAC;AAE1C,eAAO,MAAM,oBAAoB;;6NAGM,CAAC;AAExC,eAAO,MAAM,gBAAgB;;UAGM,CAAC;AAEpC,eAAO,MAAM,YAAY;;UAGM,CAAC;AAEhC,eAAO,MAAM,sBAAsB;;UAGM,CAAC;AAE1C,eAAO,MAAM,oBAAoB;;6NAGM,CAAC;AAExC,eAAO,MAAM,aAAa;;UAGM,CAAC"}
1
+ {"version":3,"file":"RHFUploadImageSlots.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/components/src/components/hook-form/RHFUpload/RHFUploadImage/slots/RHFUploadImageSlots.tsx"],"names":[],"mappings":"AASA,eAAO,MAAM,wBAAwB;;6NAGM,CAAC;AAE5C,eAAO,MAAM,qBAAqB;;6NAGM,CAAC;AAEzC,eAAO,MAAM,yBAAyB;;6NAGM,CAAC;AAE7C,eAAO,MAAM,kBAAkB;;6NAGM,CAAC;AAEtC,eAAO,MAAM,sBAAsB;;6NAGM,CAAC;AAE1C,eAAO,MAAM,oBAAoB;;6NAGM,CAAC;AAExC,eAAO,MAAM,gBAAgB;;UAGM,CAAC;AAEpC,eAAO,MAAM,YAAY;;UAGM,CAAC;AAEhC,eAAO,MAAM,sBAAsB;;UAGM,CAAC;AAE1C,eAAO,MAAM,oBAAoB;;6NAGM,CAAC;AAExC,eAAO,MAAM,qBAAqB;;6NAGM,CAAC;AAEzC,eAAO,MAAM,aAAa;;UAGM,CAAC"}
@@ -1,8 +1,8 @@
1
1
  import { styled as t } from "@mui/material/styles";
2
2
  import { Button as a } from "../../../../extended/mui/Button/Button.js";
3
3
  import { Divider as m } from "../../../../extended/mui/Divider/Divider.js";
4
- import { IconButton as d } from "../../../../extended/mui/IconButton/IconButton.js";
5
- import { Typography as l } from "../../../../extended/mui/Typography/Typography.js";
4
+ import { IconButton as l } from "../../../../extended/mui/IconButton/IconButton.js";
5
+ import { Typography as d } from "../../../../extended/mui/Typography/Typography.js";
6
6
  import { RHF_UPLOAD_IMAGE_KEY_COMPONENT as o } from "../constants.js";
7
7
  import { rhfUploadImageStyles as e } from "../RHFUploadImage.styles.js";
8
8
  import { UploadImageSlots as n } from "./RHFUploadImageEnum.js";
@@ -24,31 +24,35 @@ const I = t("div", {
24
24
  })(e.contentImageText), M = t("div", {
25
25
  slot: n.contentMessage,
26
26
  name: o
27
- })(e.contentMessage), h = t(l, {
27
+ })(e.contentMessage), h = t(d, {
28
28
  slot: n.typography,
29
29
  name: o
30
30
  })(e.typography), U = t(a, {
31
31
  slot: n.button,
32
32
  name: o
33
- })(e.button), B = t(d, {
33
+ })(e.button), w = t(l, {
34
34
  slot: n.iconButtonRemove,
35
35
  name: o
36
- })(e.iconButtonRemove), C = t("div", {
36
+ })(e.iconButtonRemove), B = t("div", {
37
37
  slot: n.containPreview,
38
38
  name: o
39
- })(e.containPreview), T = t(m, {
39
+ })(e.containPreview), C = t("div", {
40
+ slot: n.previewFallback,
41
+ name: o
42
+ })(e.previewFallback), P = t(m, {
40
43
  slot: n.divider,
41
44
  name: o
42
45
  })(e.divider);
43
46
  export {
44
47
  U as ButtonStyled,
45
- C as ContainPreviewStyled,
48
+ B as ContainPreviewStyled,
46
49
  f as ContentImageStyled,
47
50
  R as ContentImageTextStyled,
48
51
  M as ContentMessageStyled,
49
52
  S as ContentModuleLayoutStyled,
50
- T as DividerStyled,
51
- B as IconButtonRemoveStyled,
53
+ P as DividerStyled,
54
+ w as IconButtonRemoveStyled,
55
+ C as PreviewFallbackStyled,
52
56
  I as RHFUploadImageRootStyled,
53
57
  h as TypographyStyled,
54
58
  u as UploadImageRootStyled
@@ -1,6 +1,6 @@
1
1
  import { UploadImageProps } from './types';
2
2
  /**
3
- * UploadImage es un componente que permite subir una imagen
3
+ * Presentational image upload (dropzone + preview).
4
4
  */
5
5
  export declare const UploadImage: (props: UploadImageProps) => import("@emotion/react/jsx-runtime").JSX.Element;
6
6
  //# sourceMappingURL=UploadImage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"UploadImage.d.ts","sourceRoot":"","sources":["../../../../../../../../../../packages/components/src/components/hook-form/RHFUpload/RHFUploadImage/subcomponents/UploadImage/UploadImage.tsx"],"names":[],"mappings":"AAwBA,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAE3C;;GAEG;AACH,eAAO,MAAM,WAAW,GAAI,OAAO,gBAAgB,qDAsGlD,CAAC"}
1
+ {"version":3,"file":"UploadImage.d.ts","sourceRoot":"","sources":["../../../../../../../../../../packages/components/src/components/hook-form/RHFUpload/RHFUploadImage/subcomponents/UploadImage/UploadImage.tsx"],"names":[],"mappings":"AA0BA,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAE3C;;GAEG;AACH,eAAO,MAAM,WAAW,GAAI,OAAO,gBAAgB,qDA8IlD,CAAC"}
@@ -1,99 +1,134 @@
1
1
  import { jsx as e, jsxs as o } from "@emotion/react/jsx-runtime";
2
- import { useHostTools as w, useEnvironment as N, useModuleDictionary as U } from "@m4l/core";
3
- import A from "lodash-es/isString";
4
- import { useDropzone as L } from "react-dropzone";
5
- import { getPropDataTestId as f } from "../../../../../../test/getNameDataTestId.js";
6
- import { Image as h } from "../../../../../Image/Image.js";
7
- import { RHF_UPLOAD_IMAGE_KEY_COMPONENT as l } from "../../constants.js";
8
- import { UploadImageSlots as m } from "../../slots/RHFUploadImageEnum.js";
9
- import { UploadImageRootStyled as $, ContentModuleLayoutStyled as H, ContainPreviewStyled as W, IconButtonRemoveStyled as Y, ContentImageStyled as B, ContentImageTextStyled as F, TypographyStyled as S, ContentMessageStyled as K, DividerStyled as I, ButtonStyled as V } from "../../slots/RHFUploadImageSlots.js";
10
- import { getUploadImageDictionary as s, COMPONENTS_DICTIONARY_KEYS as r } from "./dictionary.js";
11
- import { useComponentSize as G } from "../../../../../../hooks/useComponentSize/useComponentSize.js";
12
- import { Typography as q } from "../../../../../extended/mui/Typography/Typography.js";
13
- import { getComponentClasses as J } from "../../../../../../utils/getComponentSlotRoot.js";
14
- const ce = (v) => {
15
- const { file: n, size: d, onDrop: z, onRemove: C, maxSize: D, dataTestId: c, error: R = !1, multiple: Q, disabled: p, ..._ } = v, { currentSize: a } = G(d), { toast: b } = w(), t = a === "small" || a === "medium" ? a : "medium", { getInputProps: T, getRootProps: k, open: x, isDragReject: E, isDragAccept: M } = L({
2
+ import { useState as L, useEffect as $ } from "react";
3
+ import { useHostTools as W, useEnvironment as Y, useModuleDictionary as B } from "@m4l/core";
4
+ import K from "lodash-es/isString";
5
+ import { useDropzone as V } from "react-dropzone";
6
+ import { getPropDataTestId as w } from "../../../../../../test/getNameDataTestId.js";
7
+ import { Image as C } from "../../../../../Image/Image.js";
8
+ import { RHF_UPLOAD_IMAGE_KEY_COMPONENT as p } from "../../constants.js";
9
+ import { UploadImageSlots as g } from "../../slots/RHFUploadImageEnum.js";
10
+ import { UploadImageRootStyled as G, ContentModuleLayoutStyled as q, ContainPreviewStyled as J, IconButtonRemoveStyled as Q, PreviewFallbackStyled as X, TypographyStyled as l, ContentImageStyled as Z, ContentImageTextStyled as ee, ContentMessageStyled as te, DividerStyled as b, ButtonStyled as oe } from "../../slots/RHFUploadImageSlots.js";
11
+ import { getUploadImageDictionary as r, COMPONENTS_DICTIONARY_KEYS as s } from "./dictionary.js";
12
+ import { useComponentSize as ie } from "../../../../../../hooks/useComponentSize/useComponentSize.js";
13
+ import { Typography as ne } from "../../../../../extended/mui/Typography/Typography.js";
14
+ import { getComponentClasses as re } from "../../../../../../utils/getComponentSlotRoot.js";
15
+ const ze = (D) => {
16
+ const {
17
+ file: i,
18
+ size: u,
19
+ onDrop: R,
20
+ onRemove: x,
21
+ maxSize: E,
22
+ dataTestId: h,
23
+ error: P = !1,
24
+ multiple: se,
25
+ disabled: f,
26
+ imageFit: v,
27
+ height: m,
28
+ maxHeight: c,
29
+ ...k
30
+ } = D, { currentSize: d } = ie(u), { toast: T } = W(), t = d === "small" || d === "medium" ? d : "medium", { getInputProps: M, getRootProps: O, open: j, isDragReject: N, isDragAccept: U } = V({
16
31
  multiple: !1,
17
- accept: { "image/png": [], "image/jpeg": [], "image/gif": [] },
18
- onDrop: z,
32
+ accept: { "image/png": [], "image/jpeg": [], "image/gif": [], "image/ico": [], "image/vnd.microsoft.icon": [], "image/x-icon": [], "image/svg+xml": [] },
33
+ onDrop: R,
19
34
  /**
20
- * onDropRejected es una función que se ejecuta cuando el archivo no es aceptado
35
+ * Runs when a dropped file is rejected (type/size/etc.).
21
36
  */
22
- onDropRejected: (j) => {
23
- j.forEach((y) => {
24
- b(
25
- { title: y.file.name, description: y.errors[0].message },
37
+ onDropRejected: (A) => {
38
+ A.forEach((_) => {
39
+ T(
40
+ { title: _.file.name, description: _.errors[0].message },
26
41
  { type: "error" }
27
42
  );
28
43
  });
29
44
  },
30
45
  noClick: !0,
31
- maxSize: D,
32
- ..._
33
- }), { host_static_assets: g, environment_assets: u } = N(), { getLabel: i } = U(), O = {
34
- isDragReject: E,
35
- isDragAccept: M,
36
- error: R
37
- }, P = J(l, m);
46
+ maxSize: E,
47
+ ...k
48
+ }), { host_static_assets: y, environment_assets: S } = Y(), { getLabel: n } = B(), I = K(i) ? i : i?.preview || "", [F, z] = L(!1);
49
+ $(() => {
50
+ z(!1);
51
+ }, [I]);
52
+ const a = {
53
+ isDragReject: N,
54
+ isDragAccept: U,
55
+ error: P,
56
+ hasFile: !!i,
57
+ height: m,
58
+ maxHeight: c
59
+ }, H = re(p, g);
38
60
  return /* @__PURE__ */ e(
39
- $,
61
+ G,
40
62
  {
41
- className: P.uploadImageRoot,
42
- ownerState: { ...O },
43
- ...f(l, m.uploadImageRoot, c),
63
+ className: H.uploadImageRoot,
64
+ ownerState: { ...a },
65
+ ...w(p, g.uploadImageRoot, h),
44
66
  children: /* @__PURE__ */ o(
45
- H,
67
+ q,
46
68
  {
47
- ...f(l, m.contentModuleLayout, c),
48
- ...k(),
69
+ ownerState: { ...a },
70
+ ...w(p, g.contentModuleLayout, h),
71
+ ...O(),
49
72
  children: [
50
- n ? /* @__PURE__ */ o(W, { children: [
51
- /* @__PURE__ */ e(
52
- Y,
53
- {
54
- variant: "contained",
55
- icon: `${g}/${u}/frontend/components/chip/assets/icons/closeSmall.svg`,
56
- onClick: C,
57
- size: t,
58
- disabled: p
59
- }
60
- ),
61
- /* @__PURE__ */ e(
62
- h,
63
- {
64
- src: A(n) ? n : n.preview || "",
65
- enableIntersectionObserver: !1
66
- }
67
- )
68
- ] }) : /* @__PURE__ */ o("div", { style: { display: "flex", flexDirection: "column", justifyContent: "center", alignItems: "center" }, children: [
73
+ i ? /* @__PURE__ */ o(
74
+ J,
75
+ {
76
+ ownerState: { ...a, imageFit: v, height: m, maxHeight: c },
77
+ children: [
78
+ /* @__PURE__ */ e(
79
+ Q,
80
+ {
81
+ variant: "contained",
82
+ icon: `${y}/${S}/frontend/components/chip/assets/icons/closeSmall.svg`,
83
+ onClick: x,
84
+ size: t,
85
+ disabled: f
86
+ }
87
+ ),
88
+ F ? /* @__PURE__ */ o(X, { ownerState: { ...a, imageFit: v, height: m, maxHeight: c }, children: [
89
+ /* @__PURE__ */ e(l, { variant: "bodyDens", size: t, children: n(r(s.preview_unavailable_title)) }),
90
+ /* @__PURE__ */ e(l, { variant: "body", size: t, children: n(r(s.preview_unavailable_description)) })
91
+ ] }) : /* @__PURE__ */ e(
92
+ C,
93
+ {
94
+ src: I,
95
+ enableIntersectionObserver: !1,
96
+ onError: () => {
97
+ z(!0);
98
+ }
99
+ }
100
+ )
101
+ ]
102
+ }
103
+ ) : /* @__PURE__ */ o("div", { style: { display: "flex", flexDirection: "column", justifyContent: "center", alignItems: "center" }, children: [
69
104
  /* @__PURE__ */ e(
70
105
  "input",
71
106
  {
72
- ...T()
107
+ ...M()
73
108
  }
74
109
  ),
75
- /* @__PURE__ */ o(B, { children: [
76
- /* @__PURE__ */ o(F, { children: [
110
+ /* @__PURE__ */ o(Z, { children: [
111
+ /* @__PURE__ */ o(ee, { children: [
77
112
  /* @__PURE__ */ e(
78
- h,
113
+ C,
79
114
  {
80
115
  height: 100,
81
116
  width: 100,
82
- sizes: d,
83
- src: `${g}/${u}/frontend/components/RHFUploadImage/assets/icons/uploadImage.svg`
117
+ sizes: u,
118
+ src: `${y}/${S}/frontend/components/RHFUploadImage/assets/icons/uploadImage.svg`
84
119
  }
85
120
  ),
86
- /* @__PURE__ */ e(q, { skeletonWidth: 100, variant: "bodyDens", size: t, children: i(s(r.title_upload)) })
121
+ /* @__PURE__ */ e(ne, { skeletonWidth: 100, variant: "bodyDens", size: t, children: n(r(s.title_upload)) })
87
122
  ] }),
88
- /* @__PURE__ */ e(S, { skeletonWidth: 200, skeletonRows: 2, variant: "body", size: t, children: i(s(r.description)) }),
89
- /* @__PURE__ */ o(K, { children: [
90
- /* @__PURE__ */ e(I, { orientation: "horizontal", customVariant: "solid", size: t }),
91
- /* @__PURE__ */ e(S, { skeletonWidth: 10, variant: "body", size: t, children: i(s(r.divider_text)) }),
92
- /* @__PURE__ */ e(I, { orientation: "horizontal", customVariant: "solid", size: t })
123
+ /* @__PURE__ */ e(l, { skeletonWidth: 200, skeletonRows: 2, variant: "body", size: t, children: n(r(s.description)) }),
124
+ /* @__PURE__ */ o(te, { children: [
125
+ /* @__PURE__ */ e(b, { orientation: "horizontal", customVariant: "solid", size: t }),
126
+ /* @__PURE__ */ e(l, { skeletonWidth: 10, variant: "body", size: t, children: n(r(s.divider_text)) }),
127
+ /* @__PURE__ */ e(b, { orientation: "horizontal", customVariant: "solid", size: t })
93
128
  ] })
94
129
  ] })
95
130
  ] }),
96
- n ? null : /* @__PURE__ */ e(V, { variant: "contained", color: "primary", onClick: x, label: i(s(r.click_button)), size: t, disabled: p })
131
+ i ? null : /* @__PURE__ */ e(oe, { variant: "contained", color: "primary", onClick: j, label: n(r(s.click_button)), size: t, disabled: f })
97
132
  ]
98
133
  }
99
134
  )
@@ -101,5 +136,5 @@ const ce = (v) => {
101
136
  );
102
137
  };
103
138
  export {
104
- ce as UploadImage
139
+ ze as UploadImage
105
140
  };
@@ -5,6 +5,8 @@ export declare const COMPONENTS_DICTIONARY_KEYS: {
5
5
  readonly description: "description";
6
6
  readonly title_upload: "title_upload";
7
7
  readonly divider_text: "divider_text";
8
+ readonly preview_unavailable_title: "preview_unavailable_title";
9
+ readonly preview_unavailable_description: "preview_unavailable_description";
8
10
  };
9
11
  export type TypeDictionary = typeof COMPONENTS_DICTIONARY_KEYS;
10
12
  export declare const getUploadImageDictionary: (key: keyof TypeDictionary) => string;
@@ -1 +1 @@
1
- {"version":3,"file":"dictionary.d.ts","sourceRoot":"","sources":["../../../../../../../../../../packages/components/src/components/hook-form/RHFUpload/RHFUploadImage/subcomponents/UploadImage/dictionary.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,0BAA0B,oBAAoB,CAAC;AAC5D,wBAAgB,kCAAkC,aAEjD;AAED,eAAO,MAAM,0BAA0B;;;;;CAM7B,CAAC;AAEX,MAAM,MAAM,cAAc,GAAG,OAAO,0BAA0B,CAAC;AAE/D,eAAO,MAAM,wBAAwB,GAAI,KAAK,MAAM,cAAc,WAEjE,CAAC"}
1
+ {"version":3,"file":"dictionary.d.ts","sourceRoot":"","sources":["../../../../../../../../../../packages/components/src/components/hook-form/RHFUpload/RHFUploadImage/subcomponents/UploadImage/dictionary.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,0BAA0B,oBAAoB,CAAC;AAC5D,wBAAgB,kCAAkC,aAEjD;AAED,eAAO,MAAM,0BAA0B;;;;;;;CAO7B,CAAC;AAEX,MAAM,MAAM,cAAc,GAAG,OAAO,0BAA0B,CAAC;AAE/D,eAAO,MAAM,wBAAwB,GAAI,KAAK,MAAM,cAAc,WAEjE,CAAC"}
@@ -1,11 +1,13 @@
1
- const i = "rhf_uploadimage", e = {
1
+ const i = "rhf_uploadimage", t = {
2
2
  click_button: "click_button",
3
3
  description: "description",
4
4
  title_upload: "title_upload",
5
- divider_text: "divider_text"
6
- }, o = (t) => `${i}.${t}`;
5
+ divider_text: "divider_text",
6
+ preview_unavailable_title: "preview_unavailable_title",
7
+ preview_unavailable_description: "preview_unavailable_description"
8
+ }, _ = (e) => `${i}.${e}`;
7
9
  export {
8
- e as COMPONENTS_DICTIONARY_KEYS,
10
+ t as COMPONENTS_DICTIONARY_KEYS,
9
11
  i as UPLOAD_IMAGE_DICTIONARY_ID,
10
- o as getUploadImageDictionary
12
+ _ as getUploadImageDictionary
11
13
  };
@@ -1,33 +1,49 @@
1
+ import { CSSProperties } from 'react';
1
2
  import { Sizes } from '@m4l/styles';
2
3
  import { SxProps } from '@mui/material';
3
4
  import { Theme } from '@mui/material/styles';
4
5
  import { DropzoneOptions } from 'react-dropzone';
5
6
  import { CustomFile } from '../../../types';
6
7
  export interface UploadImageProps extends DropzoneOptions {
8
+ /**
9
+ * When true, shows error styling on the dropzone.
10
+ */
7
11
  error?: boolean;
8
12
  /**
9
- * file para mostrar la imagen
13
+ * Current file, URL string, or null when empty.
10
14
  */
11
15
  file: CustomFile | string | null;
12
16
  /**
13
- * sx para el componente
17
+ * MUI `sx` prop for the component.
14
18
  */
15
19
  sx?: SxProps<Theme>;
16
20
  /**
17
- * Tamaño del componente
21
+ * Visual size (small | medium).
18
22
  */
19
23
  size?: Extract<Sizes, 'small' | 'medium'>;
20
24
  /**
21
- * onRemove es una función que se ejecuta cuando se elimina la imagen
25
+ * Called when the user removes the preview.
22
26
  */
23
27
  onRemove: () => void;
24
28
  /**
25
- * isDragActive es una propiedad booleana que indica si el componente está en estado de arrastre
29
+ * Drag-accept state (optional override).
26
30
  */
27
31
  isDragAccept?: boolean;
28
32
  /**
29
33
  * dataTestId
30
34
  */
31
35
  dataTestId?: string;
36
+ /**
37
+ * CSS `object-fit` for the preview image (`img` in preview state).
38
+ */
39
+ imageFit?: CSSProperties['objectFit'];
40
+ /**
41
+ * CSS `height` for the preview image (`img` in preview state). Use a number for pixels (e.g. `200` -> `200px`) or a CSS string (e.g. `'40vh'`).
42
+ */
43
+ height?: number | string;
44
+ /**
45
+ * CSS `max-height` for the preview image (`img` in preview state). Use a number for pixels (e.g. `200` → `200px`) or a CSS string (e.g. `'50vh'`).
46
+ */
47
+ maxHeight?: number | string;
32
48
  }
33
49
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../../../packages/components/src/components/hook-form/RHFUpload/RHFUploadImage/subcomponents/UploadImage/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACtD,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAE5C,MAAM,WAAW,gBAAiB,SAAQ,eAAe;IAIxD,KAAK,CAAC,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,IAAI,EAAE,UAAU,GAAG,MAAM,GAAG,IAAI,CAAC;IACjC;;OAEG;IACH,EAAE,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;IACpB;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC,KAAK,EAAE,OAAO,GAAC,QAAQ,CAAC,CAAC;IAExC;;OAEG;IACH,QAAQ,EAAE,MAAM,IAAI,CAAC;IAErB;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACnB"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../../../packages/components/src/components/hook-form/RHFUpload/RHFUploadImage/subcomponents/UploadImage/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACtD,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAE5C,MAAM,WAAW,gBAAiB,SAAQ,eAAe;IACzD;;OAEG;IACF,KAAK,CAAC,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,IAAI,EAAE,UAAU,GAAG,MAAM,GAAG,IAAI,CAAC;IACjC;;OAEG;IACH,EAAE,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;IACpB;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC,KAAK,EAAE,OAAO,GAAC,QAAQ,CAAC,CAAC;IAExC;;OAEG;IACH,QAAQ,EAAE,MAAM,IAAI,CAAC;IAErB;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,QAAQ,CAAC,EAAE,aAAa,CAAC,WAAW,CAAC,CAAC;IAEtC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAEzB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CAC3B"}
@@ -1,3 +1,4 @@
1
+ import { CSSProperties } from 'react';
1
2
  import { Theme } from '@mui/material/styles';
2
3
  import { LabelProps } from '../../../../components/Label';
3
4
  import { RHF_UPLOAD_IMAGE_KEY_COMPONENT } from './constants';
@@ -5,9 +6,12 @@ import { UploadImageSlots as Slots } from './slots/RHFUploadImageEnum';
5
6
  import { UploadImageProps } from './subcomponents/UploadImage/types';
6
7
  import { M4LOverridesStyleRules } from '../../../../@types/augmentations';
7
8
  export interface RHFUploadImageProps extends Omit<UploadImageProps, 'file' | 'onDrop' | 'onRemove'>, Omit<LabelProps, 'size' | 'error' | 'disabled' | 'children'> {
9
+ /**
10
+ * Field name for react-hook-form.
11
+ */
8
12
  name: string;
9
13
  /**
10
- * Si es true, el componente estará deshabilitado.
14
+ * When true, the control is disabled.
11
15
  */
12
16
  disabled?: boolean;
13
17
  }
@@ -16,6 +20,10 @@ export type RHFUploadImageOwnerState = {
16
20
  isDragAccept: boolean;
17
21
  isDragReject: boolean;
18
22
  error: boolean;
23
+ hasFile?: boolean;
24
+ imageFit?: CSSProperties['objectFit'];
25
+ height?: number | string;
26
+ maxHeight?: number | string;
19
27
  };
20
28
  export type RHFUploadImageStyles = M4LOverridesStyleRules<RHFUploadImageSlotsType, typeof RHF_UPLOAD_IMAGE_KEY_COMPONENT, Theme>;
21
29
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/components/src/components/hook-form/RHFUpload/RHFUploadImage/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAC1D,OAAO,EAAE,8BAA8B,EAAE,MAAM,aAAa,CAAC;AAC7D,OAAO,EAAE,gBAAgB,IAAI,KAAK,EAAE,MAAM,4BAA4B,CAAC;AACvE,OAAO,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AACrE,OAAO,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAG1E,MAAM,WAAW,mBAAoB,SAAQ,IAAI,CAAC,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAAG,UAAU,CAAC,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,GAAG,UAAU,GAAG,UAAU,CAAC;IAI/J,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,MAAM,uBAAuB,GAAG,MAAM,OAAO,KAAK,CAAC;AAEzD,MAAM,MAAM,wBAAwB,GAAG;IACrC,YAAY,EAAE,OAAO,CAAC;IACtB,YAAY,EAAE,OAAO,CAAC;IACtB,KAAK,EAAE,OAAO,CAAC;CAChB,CAAA;AAED,MAAM,MAAM,oBAAoB,GAAG,sBAAsB,CAAC,uBAAuB,EAAE,OAAO,8BAA8B,EAAE,KAAK,CAAC,CAAA"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/components/src/components/hook-form/RHFUpload/RHFUploadImage/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAC1D,OAAO,EAAE,8BAA8B,EAAE,MAAM,aAAa,CAAC;AAC7D,OAAO,EAAE,gBAAgB,IAAI,KAAK,EAAE,MAAM,4BAA4B,CAAC;AACvE,OAAO,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AACrE,OAAO,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAG1E,MAAM,WAAW,mBAAoB,SAAQ,IAAI,CAAC,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAAG,UAAU,CAAC,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,GAAG,UAAU,GAAG,UAAU,CAAC;IAC/J;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,MAAM,uBAAuB,GAAG,MAAM,OAAO,KAAK,CAAC;AAEzD,MAAM,MAAM,wBAAwB,GAAG;IACrC,YAAY,EAAE,OAAO,CAAC;IACtB,YAAY,EAAE,OAAO,CAAC;IACtB,KAAK,EAAE,OAAO,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,aAAa,CAAC,WAAW,CAAC,CAAC;IACtC,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG,sBAAsB,CAAC,uBAAuB,EAAE,OAAO,8BAA8B,EAAE,KAAK,CAAC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"getReadableFileType.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/components/src/components/hook-form/RHFUpload/RHFUploadSingleFile/helpers/getReadableFileType.ts"],"names":[],"mappings":"AAmDA;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,GAAI,UAAU,MAAM,KAAG,MAqBtD,CAAC"}
1
+ {"version":3,"file":"getReadableFileType.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/components/src/components/hook-form/RHFUpload/RHFUploadSingleFile/helpers/getReadableFileType.ts"],"names":[],"mappings":"AAsDA;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,GAAI,UAAU,MAAM,KAAG,MAqBtD,CAAC"}
@@ -6,6 +6,9 @@ const o = {
6
6
  "image/gif": "GIF",
7
7
  "image/webp": "WEBP",
8
8
  "image/svg+xml": "SVG",
9
+ "image/ico": "ICO",
10
+ "image/vnd.microsoft.icon": "ICO",
11
+ "image/x-icon": "ICO",
9
12
  // Documentos
10
13
  "application/pdf": "PDF",
11
14
  "application/msword": "DOC",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@m4l/components",
3
- "version": "9.4.49",
3
+ "version": "9.4.50",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -52,20 +52,20 @@
52
52
  "nprogress": "^0.2.0",
53
53
  "date-fns": "^2.30.0",
54
54
  "react-transition-group": "^4.4.5",
55
- "react-rnd": "^10.5.2",
56
- "react-draggable": "^4.4.5",
57
55
  "react-dropzone": "^14.2.2",
56
+ "react-rnd": "^10.5.2",
58
57
  "react-spinners": "^0.13.8",
59
- "simplebar-react": "3.2.6",
58
+ "react-draggable": "^4.4.5",
60
59
  "chart.js": "^4.4.0",
61
60
  "chartjs-chart-error-bars": "^4.3.3",
62
61
  "qrcode.react": "^3.1.0",
62
+ "react-color": "^2.19.3",
63
+ "@mui/x-date-pickers": "6.20.2",
64
+ "react-resizable-panels": "^2.1.8",
65
+ "simplebar-react": "3.2.6",
63
66
  "react-data-grid": "7.0.0-beta.47",
64
67
  "react-dnd": "^16.0.1",
65
68
  "react-dnd-html5-backend": "^16.0.1",
66
- "@mui/x-date-pickers": "6.20.2",
67
- "react-resizable-panels": "^2.1.8",
68
- "react-color": "^2.19.3",
69
69
  "react-resizable": "^3.0.4",
70
70
  "@tanstack/react-virtual": "3.13.23"
71
71
  }
@@ -377,6 +377,8 @@ export interface DictionaryMockData {
377
377
  click_button: string;
378
378
  description: string;
379
379
  divider_text: string;
380
+ preview_unavailable_description: string;
381
+ preview_unavailable_title: string;
380
382
  title_upload: string;
381
383
  };
382
384
  rhfcolorpicker: {
@@ -1 +1 @@
1
- {"version":3,"file":"dictionary-mock.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/test/mocks/dictionary-mock.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE;QACJ,2BAA2B,EAAE,MAAM,CAAC;QACpC,sBAAsB,EAAE,MAAM,CAAC;QAC/B,eAAe,EAAE,MAAM,CAAC;QACxB,YAAY,EAAE,MAAM,CAAC;QACrB,gBAAgB,EAAE,MAAM,CAAC;QACzB,WAAW,EAAE,MAAM,CAAC;QACpB,gBAAgB,EAAE,MAAM,CAAC;QACzB,iBAAiB,EAAE,MAAM,CAAC;QAC1B,QAAQ,EAAE,MAAM,CAAC;QACjB,eAAe,EAAE,MAAM,CAAC;QACxB,kBAAkB,EAAE,MAAM,CAAC;QAC3B,sBAAsB,EAAE,MAAM,CAAC;QAC/B,oBAAoB,EAAE,MAAM,CAAC;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QACpB,YAAY,EAAE,MAAM,CAAC;KACtB,CAAC;CACH;AAED;;GAEG;AACH,eAAO,MAAM,kBAAkB,EAAE,kBAuZhC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,0BAA0B,GAAI,YAAW,OAAO,CAAC,kBAAkB,CAAM,KAAG,kBAaxF,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,6BAA6B,GAAI,WAAU,IAAI,GAAG,IAAW,KAAG,kBAoB5E,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,0BAA0B,GAAI,YAAY,MAAM,KAAG,kBAS/D,CAAC"}
1
+ {"version":3,"file":"dictionary-mock.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/test/mocks/dictionary-mock.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE;QACJ,2BAA2B,EAAE,MAAM,CAAC;QACpC,sBAAsB,EAAE,MAAM,CAAC;QAC/B,eAAe,EAAE,MAAM,CAAC;QACxB,YAAY,EAAE,MAAM,CAAC;QACrB,gBAAgB,EAAE,MAAM,CAAC;QACzB,WAAW,EAAE,MAAM,CAAC;QACpB,gBAAgB,EAAE,MAAM,CAAC;QACzB,iBAAiB,EAAE,MAAM,CAAC;QAC1B,QAAQ,EAAE,MAAM,CAAC;QACjB,eAAe,EAAE,MAAM,CAAC;QACxB,kBAAkB,EAAE,MAAM,CAAC;QAC3B,sBAAsB,EAAE,MAAM,CAAC;QAC/B,oBAAoB,EAAE,MAAM,CAAC;QAC7B,eAAe,EAAE,MAAM,CAAC;QACxB,kBAAkB,EAAE,MAAM,CAAC;QAC3B,gBAAgB,EAAE,MAAM,CAAC;QACzB,oBAAoB,EAAE,MAAM,CAAC;QAC7B,oBAAoB,EAAE,MAAM,CAAC;QAC7B,kBAAkB,EAAE,MAAM,CAAC;QAC3B,qBAAqB,EAAE,MAAM,CAAC;QAC9B,mBAAmB,EAAE,MAAM,CAAC;QAC5B,iBAAi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