@m4l/components 8.1.0-beta.devManuela.HelperError → 8.1.0-beta.devManuela.TextField
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/@types/export.d.ts +4 -1
- package/@types/types.d.ts +12 -0
- package/components/DynamicFilter/DynamicFIlter.styles.js +156 -0
- package/components/GridLayout/subcomponents/withSizeProvider/index.d.ts +2 -2
- package/components/HelperError/HelperError.d.ts +11 -1
- package/components/HelperError/HelperError.js +2 -18
- package/components/HelperError/HelperError.styles.js +2 -2
- package/components/HelperError/constant.d.ts +0 -4
- package/components/HelperError/slots/HelperErrorEnum.d.ts +0 -3
- package/components/HelperError/slots/HelperErrorSlots.d.ts +4 -4
- package/components/HelperError/types.d.ts +4 -22
- package/components/Icon/Icon.styles.js +1 -1
- package/components/Label/Label.d.ts +17 -1
- package/components/Label/Label.js +8 -3
- package/components/Label/Label.styles.js +43 -6
- package/components/Label/{Label.stories.d.ts → stories/PaletteColor/DefaultinternalManagement/LabelDefaultInternal.stories.d.ts} +6 -8
- package/components/Label/stories/PaletteColor/DefaultinternalManagement/LabelDefaultPredeterminado.stories.d.ts +18 -0
- package/components/Label/stories/PaletteColor/DefaultinternalManagement/commonProps/LabelDefaultInternalVariants.stories.d.ts +14 -0
- package/components/Label/stories/PaletteColor/DefaultinternalManagement/commonProps/LabelDefaultVariants.stories.d.ts +14 -0
- package/components/Label/types.d.ts +7 -1
- package/components/MFLoader/MFLoader.d.ts +6 -0
- package/components/MFLoader/MFLoader.js +3 -0
- package/components/NavLink/NavLink.d.ts +4 -0
- package/components/areas/components/AreasViewer/classes/index.d.ts +2 -2
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/PanelWindows/index.d.ts +2 -2
- package/components/areas/contexts/AreasContext/store.d.ts +4 -0
- package/components/areas/contexts/AreasContext/store.js +268 -0
- package/components/hook-form/RHFAutocompleteAsync/subcomponents/ComponentTypeImage/index.d.ts +4 -0
- package/components/hook-form/RHFAutocompleteAsync/subcomponents/ComponentTypeText/index.d.ts +4 -0
- package/components/hook-form/RHFTextField/RHFTextField.js +15 -4
- package/components/hook-form/RHFTextField/RHFTextField.styles.js +266 -96
- package/components/hook-form/RHFTextField/slots/RHFTextFieldSlots.d.ts +10 -10
- package/components/hook-form/RHFTextField/stories/Default/RHFTextFieldDisabledOutlined.stories.d.ts +10 -0
- package/components/hook-form/RHFTextField/stories/Default/RHFTextFieldDisabledText.stories.d.ts +10 -0
- package/components/hook-form/RHFTextField/stories/Default/RHFTextFieldSkeleton.stories.d.ts +6 -0
- package/components/hook-form/RHFTextField/stories/Error/TextFieldErrorOutlined.stories.d.ts +9 -0
- package/components/hook-form/RHFTextField/stories/Error/TextFieldErrorText.stories.d.ts +9 -0
- package/components/hook-form/RHFTextField/stories/Primary/TextFieldOutlined.stories.d.ts +9 -0
- package/components/hook-form/RHFTextField/stories/Primary/TextFieldText.stories.d.ts +9 -0
- package/components/hook-form/RHFTextField/types.d.ts +10 -2
- package/components/hook-form/RHFUpload/RHFUploadImage/subcomponents/UploadImage/index.d.ts +2 -2
- package/components/maps/components/Map/contexts/MapContext/store.d.ts +2 -2
- package/components/maps/components/Map/contexts/MapContext/store.js +272 -152
- package/components/maps/components/Map/hooks/useAutoFocus/index.d.ts +2 -2
- package/components/maps/components/Map/pluginLayers/PolylineWithArrows/index.d.ts +2 -2
- package/components/maps/components/Map/subcomponents/LayersContainer/subcomponents/MyLayer/index.d.ts +2 -2
- package/components/mui_extended/Accordion/Accordion.d.ts +4 -0
- package/components/mui_extended/IconButton/IconButton.d.ts +2 -2
- package/components/mui_extended/IconButton/IconButton.styles.js +18 -2
- package/components/mui_extended/LoadingButton/index.d.ts +4 -0
- package/components/mui_extended/Skeleton/Skeleton.d.ts +4 -0
- package/components/mui_extended/Skeleton/skeleton.styles.js +4 -0
- package/components/mui_extended/TextField/TextField.d.ts +5 -0
- package/components/mui_extended/TextField/TextField.styles.d.ts +2 -0
- package/components/mui_extended/TextField/constants.d.ts +1 -0
- package/components/mui_extended/TextField/index.d.ts +1 -0
- package/components/mui_extended/TextField/slots/TextFieldEnum.d.ts +5 -0
- package/components/mui_extended/TextField/slots/TextFieldSlots.d.ts +13 -0
- package/components/mui_extended/TextField/slots/index.d.ts +2 -0
- package/components/mui_extended/TextField/stories/PaletteColorTextField/Default/TextFieldDisabledOutlined.stories.d.ts +15 -0
- package/components/mui_extended/TextField/stories/PaletteColorTextField/Default/TextFieldDisabledText.stories.d.ts +15 -0
- package/components/mui_extended/TextField/stories/PaletteColorTextField/Default/TextFieldSkeleton.stories.d.ts +11 -0
- package/components/mui_extended/TextField/stories/PaletteColorTextField/Error/TextFieldErrorOutlined.stories.d.ts +9 -0
- package/components/mui_extended/TextField/stories/PaletteColorTextField/Error/TextFieldErrorText.stories.d.ts +9 -0
- package/components/mui_extended/TextField/stories/PaletteColorTextField/Error/states/stateOutlined/TextFieldErrorOutlinedStateActive.stories.d.ts +14 -0
- package/components/mui_extended/TextField/stories/PaletteColorTextField/Error/states/stateOutlined/TextFieldErrorOutlinedStateEnabled.stories.d.ts +14 -0
- package/components/mui_extended/TextField/stories/PaletteColorTextField/Error/states/stateOutlined/TextFieldErrorOutlinedStateFocus.stories.d.ts +14 -0
- package/components/mui_extended/TextField/stories/PaletteColorTextField/Error/states/stateOutlined/TextFieldErrorOutlinedStateHover.stories.d.ts +14 -0
- package/components/mui_extended/TextField/stories/PaletteColorTextField/Error/states/stateText/TextFieldTextErrorStateActive.stories.d.ts +14 -0
- package/components/mui_extended/TextField/stories/PaletteColorTextField/Error/states/stateText/TextFieldTextErrorStateEnabled.stories.d.ts +14 -0
- package/components/mui_extended/TextField/stories/PaletteColorTextField/Error/states/stateText/TextFieldTextErrorStateFocus.stories.d.ts +14 -0
- package/components/mui_extended/TextField/stories/PaletteColorTextField/Error/states/stateText/TextFieldTextErrorStateHover.stories.d.ts +14 -0
- package/components/mui_extended/TextField/stories/PaletteColorTextField/Primary/TextFieldOutlined.stories.d.ts +9 -0
- package/components/mui_extended/TextField/stories/PaletteColorTextField/Primary/TextFieldText.stories.d.ts +12 -0
- package/components/mui_extended/TextField/stories/PaletteColorTextField/Primary/states/stateOutlined/TextFieldPrimaryOutlinedStateActive.stories.d.ts +14 -0
- package/components/mui_extended/TextField/stories/PaletteColorTextField/Primary/states/stateOutlined/TextFieldPrimaryOutlinedStateEnabled.stories.d.ts +14 -0
- package/components/mui_extended/TextField/stories/PaletteColorTextField/Primary/states/stateOutlined/TextFieldPrimaryOutlinedStateFocus.stories.d.ts +14 -0
- package/components/mui_extended/TextField/stories/PaletteColorTextField/Primary/states/stateOutlined/TextFieldPrimaryOutlinedStateHover.stories.d.ts +14 -0
- package/components/mui_extended/TextField/stories/PaletteColorTextField/Primary/states/stateText/TextFieldTextPrimaryStateActive.stories.d.ts +14 -0
- package/components/mui_extended/TextField/stories/PaletteColorTextField/Primary/states/stateText/TextFieldTextPrimaryStateEnabled.stories.d.ts +14 -0
- package/components/mui_extended/TextField/stories/PaletteColorTextField/Primary/states/stateText/TextFieldTextPrimaryStateFocus.stories.d.ts +14 -0
- package/components/mui_extended/TextField/stories/PaletteColorTextField/Primary/states/stateText/TextFieldTextPrimaryStateHover.stories.d.ts +14 -0
- package/components/mui_extended/TextField/stories/PaletteColorTextField/sizes/TextFieldSizes.stories.d.ts +16 -0
- package/components/mui_extended/TextField/types.d.ts +35 -0
- package/components/mui_extended/Typography/Typography.d.ts +4 -0
- package/components/mui_extended/Typography/typography.styles.js +4 -0
- package/components/popups/components/PopupsProvider/contexts/PopupsContext/store.d.ts +2 -2
- package/components/popups/components/PopupsProvider/contexts/PopupsContext/store.js +82 -18
- package/contexts/RealTimeContext/store.d.ts +2 -2
- package/contexts/RealTimeContext/store.js +22 -6
- package/hooks/useSizeContainer/index.d.ts +2 -2
- package/package.json +1 -1
- package/components/hook-form/RHFTextField/RHFTextField.stories.d.ts +0 -14
|
@@ -17,14 +17,17 @@ function getDivScritId(prefix, moduleId) {
|
|
|
17
17
|
// Nota: este valor es importante porque cuando se requiera cargar el microfrontend, se utilizará la referencia id del elemento para crear un react render de la aplicación foranea.
|
|
18
18
|
/**
|
|
19
19
|
* Identificador único del contenedor HTML donde se renderizará el microfrontend.
|
|
20
|
+
* @createdAt 2024-10-22 09:41:31 - automatic
|
|
20
21
|
*/
|
|
21
22
|
divContainerId: `container_${prefix}_${moduleId}_${rotational_id}`,
|
|
22
23
|
/**
|
|
23
24
|
* Identificador único del script HTML asociado al microfrontend.
|
|
25
|
+
* @createdAt 2024-10-22 09:41:31 - automatic
|
|
24
26
|
*/
|
|
25
27
|
scriptId: `script_${moduleId}_${rotational_id}`,
|
|
26
28
|
/**
|
|
27
29
|
* Identificador único del módulo del microfrontend.
|
|
30
|
+
* @createdAt 2024-10-22 09:41:31 - automatic
|
|
28
31
|
*/
|
|
29
32
|
moduleId
|
|
30
33
|
};
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { NavLinkProps } from './types';
|
|
2
2
|
/**
|
|
3
3
|
* TODO: Documentar
|
|
4
|
+
* @author Bruce Escobar - automatic
|
|
5
|
+
* @createdAt 2024-10-22 09:41:31 - automatic
|
|
6
|
+
* @updatedAt 2024-10-22 09:42:39 - automatic
|
|
7
|
+
* @updatedUser Bruce Escobar - automatic
|
|
4
8
|
*/
|
|
5
9
|
export declare const NavLink: (props: NavLinkProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -5,8 +5,8 @@ export declare const areasViewerClasses: AreasViewerClasses;
|
|
|
5
5
|
* TODO: Documentar
|
|
6
6
|
* @author Juan Escobar - automatic
|
|
7
7
|
* @createdAt 2024-10-15 17:52:49 - automatic
|
|
8
|
-
* @updatedAt 2024-10-
|
|
9
|
-
* @updatedUser
|
|
8
|
+
* @updatedAt 2024-10-22 09:42:39 - automatic
|
|
9
|
+
* @updatedUser Bruce Escobar - automatic
|
|
10
10
|
*/
|
|
11
11
|
export declare const useAreasViewerUtilityClasses: (ownerState: OwnerState) => Record<"root" | "areaRoot" | "areaGridLayoutPanelContainer" | "areaGridLayout" | "areaGridLayoutPopupsContainer" | "areasWindowPopUpList" | "windowRoot" | "windowHeader" | "windowHeaderTitle" | "windowHeaderMainActions" | "windowHeaderCancelHandle" | "windowContent" | "windowRootContainer" | "windowLinearProgressRoot" | "windowLinearProgressBar" | "windowPopupRoot" | "windowModalRoot" | "panelWindowsRoot" | "panelWindowsButtonContainer" | "panelWindowsSeparator" | "loaderContainer" | "containerComponent" | "selectedWindow" | "areasLoadingErrorRoot" | "areasLoadingErrorLoading" | "areasLoadingError" | "areasLoadingErrorIcon" | "areasLoadingErrorTitle" | "areasLoadingErrorDescription" | "areasLoadingErrorDivider", string>;
|
|
12
12
|
export type ViwerClasses = ReturnType<typeof useAreasViewerUtilityClasses>;
|
|
@@ -9,7 +9,7 @@ import { PanelWindowsProps } from './types';
|
|
|
9
9
|
* TODO: Documentar
|
|
10
10
|
* @author Juan Escobar - automatic
|
|
11
11
|
* @createdAt 2024-10-15 17:52:49 - automatic
|
|
12
|
-
* @updatedAt 2024-10-
|
|
13
|
-
* @updatedUser
|
|
12
|
+
* @updatedAt 2024-10-22 09:42:39 - automatic
|
|
13
|
+
* @updatedUser Bruce Escobar - automatic
|
|
14
14
|
*/
|
|
15
15
|
export declare const PanelWindows: (props: PanelWindowsProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -3,6 +3,10 @@ import { AreasStateWithActions, InitialAreasStoreProps } from './types';
|
|
|
3
3
|
* Crea el Store, por defecto inicia en estado 'init'
|
|
4
4
|
* @param initProps propiedades iniciales del store
|
|
5
5
|
* @returns
|
|
6
|
+
* @author Bruce Escobar - automatic
|
|
7
|
+
* @createdAt 2024-10-22 09:41:31 - automatic
|
|
8
|
+
* @updatedAt 2024-10-22 09:42:39 - automatic
|
|
9
|
+
* @updatedUser Bruce Escobar - automatic
|
|
6
10
|
*/
|
|
7
11
|
export declare const createAreasStore: (initProps: InitialAreasStoreProps) => Omit<Omit<import('zustand').StoreApi<AreasStateWithActions>, "setState"> & {
|
|
8
12
|
setState<A extends string | {
|
|
@@ -30,6 +30,274 @@ const createAreasStore = (initProps) => {
|
|
|
30
30
|
areasActions: {
|
|
31
31
|
/**
|
|
32
32
|
* TODO: Documentar
|
|
33
|
+
* @updatedUser Bruce Escobar - automatic
|
|
34
|
+
* @updatedUser Bruce Escobar - automatic
|
|
35
|
+
* @updatedUser Bruce Escobar - automatic
|
|
36
|
+
* @updatedUser Bruce Escobar - automatic
|
|
37
|
+
* @updatedUser Bruce Escobar - automatic
|
|
38
|
+
* @updatedUser Bruce Escobar - automatic
|
|
39
|
+
* @updatedUser Bruce Escobar - automatic
|
|
40
|
+
* @updatedUser Bruce Escobar - automatic
|
|
41
|
+
* @updatedUser Bruce Escobar - automatic
|
|
42
|
+
* @updatedUser Bruce Escobar - automatic
|
|
43
|
+
* @updatedUser Bruce Escobar - automatic
|
|
44
|
+
* @updatedUser Bruce Escobar - automatic
|
|
45
|
+
* @updatedUser Bruce Escobar - automatic
|
|
46
|
+
* @updatedUser Bruce Escobar - automatic
|
|
47
|
+
* @updatedUser Bruce Escobar - automatic
|
|
48
|
+
* @updatedUser Bruce Escobar - automatic
|
|
49
|
+
* @updatedUser Bruce Escobar - automatic
|
|
50
|
+
* @updatedUser Bruce Escobar - automatic
|
|
51
|
+
* @updatedUser Bruce Escobar - automatic
|
|
52
|
+
* @updatedUser Bruce Escobar - automatic
|
|
53
|
+
* @updatedUser Bruce Escobar - automatic
|
|
54
|
+
* @updatedUser Bruce Escobar - automatic
|
|
55
|
+
* @updatedUser Bruce Escobar - automatic
|
|
56
|
+
* @updatedUser Bruce Escobar - automatic
|
|
57
|
+
* @updatedUser Bruce Escobar - automatic
|
|
58
|
+
* @updatedUser Bruce Escobar - automatic
|
|
59
|
+
* @updatedUser Bruce Escobar - automatic
|
|
60
|
+
* @updatedUser Bruce Escobar - automatic
|
|
61
|
+
* @updatedUser Bruce Escobar - automatic
|
|
62
|
+
* @updatedUser Bruce Escobar - automatic
|
|
63
|
+
* @updatedUser Bruce Escobar - automatic
|
|
64
|
+
* @updatedUser Bruce Escobar - automatic
|
|
65
|
+
* @updatedUser Bruce Escobar - automatic
|
|
66
|
+
* @updatedAt 2024-10-22 09:42:39 - automatic
|
|
67
|
+
* @updatedAt 2024-10-22 09:42:39 - automatic
|
|
68
|
+
* @updatedAt 2024-10-22 09:42:39 - automatic
|
|
69
|
+
* @updatedAt 2024-10-22 09:42:39 - automatic
|
|
70
|
+
* @updatedAt 2024-10-22 09:42:39 - automatic
|
|
71
|
+
* @updatedAt 2024-10-22 09:42:39 - automatic
|
|
72
|
+
* @updatedAt 2024-10-22 09:42:39 - automatic
|
|
73
|
+
* @updatedAt 2024-10-22 09:42:39 - automatic
|
|
74
|
+
* @updatedAt 2024-10-22 09:42:39 - automatic
|
|
75
|
+
* @updatedAt 2024-10-22 09:42:39 - automatic
|
|
76
|
+
* @updatedAt 2024-10-22 09:42:39 - automatic
|
|
77
|
+
* @updatedAt 2024-10-22 09:42:39 - automatic
|
|
78
|
+
* @updatedAt 2024-10-22 09:42:39 - automatic
|
|
79
|
+
* @updatedAt 2024-10-22 09:42:39 - automatic
|
|
80
|
+
* @updatedAt 2024-10-22 09:42:39 - automatic
|
|
81
|
+
* @updatedAt 2024-10-22 09:42:39 - automatic
|
|
82
|
+
* @updatedAt 2024-10-22 09:42:39 - automatic
|
|
83
|
+
* @updatedAt 2024-10-22 09:42:39 - automatic
|
|
84
|
+
* @updatedAt 2024-10-22 09:42:39 - automatic
|
|
85
|
+
* @updatedAt 2024-10-22 09:42:39 - automatic
|
|
86
|
+
* @updatedAt 2024-10-22 09:42:39 - automatic
|
|
87
|
+
* @updatedAt 2024-10-22 09:42:39 - automatic
|
|
88
|
+
* @updatedAt 2024-10-22 09:42:39 - automatic
|
|
89
|
+
* @updatedAt 2024-10-22 09:42:39 - automatic
|
|
90
|
+
* @updatedAt 2024-10-22 09:42:39 - automatic
|
|
91
|
+
* @updatedAt 2024-10-22 09:42:39 - automatic
|
|
92
|
+
* @updatedAt 2024-10-22 09:42:39 - automatic
|
|
93
|
+
* @updatedAt 2024-10-22 09:42:39 - automatic
|
|
94
|
+
* @updatedAt 2024-10-22 09:42:39 - automatic
|
|
95
|
+
* @updatedAt 2024-10-22 09:42:39 - automatic
|
|
96
|
+
* @updatedAt 2024-10-22 09:42:39 - automatic
|
|
97
|
+
* @updatedAt 2024-10-22 09:42:39 - automatic
|
|
98
|
+
* @updatedAt 2024-10-22 09:42:39 - automatic
|
|
99
|
+
* @createdAt 2024-10-22 09:42:38 - automatic
|
|
100
|
+
* @createdAt 2024-10-22 09:42:38 - automatic
|
|
101
|
+
* @createdAt 2024-10-22 09:42:38 - automatic
|
|
102
|
+
* @createdAt 2024-10-22 09:42:38 - automatic
|
|
103
|
+
* @createdAt 2024-10-22 09:42:38 - automatic
|
|
104
|
+
* @createdAt 2024-10-22 09:42:38 - automatic
|
|
105
|
+
* @createdAt 2024-10-22 09:42:38 - automatic
|
|
106
|
+
* @createdAt 2024-10-22 09:42:38 - automatic
|
|
107
|
+
* @createdAt 2024-10-22 09:42:38 - automatic
|
|
108
|
+
* @createdAt 2024-10-22 09:42:38 - automatic
|
|
109
|
+
* @createdAt 2024-10-22 09:42:38 - automatic
|
|
110
|
+
* @createdAt 2024-10-22 09:42:38 - automatic
|
|
111
|
+
* @createdAt 2024-10-22 09:42:38 - automatic
|
|
112
|
+
* @createdAt 2024-10-22 09:42:38 - automatic
|
|
113
|
+
* @createdAt 2024-10-22 09:42:38 - automatic
|
|
114
|
+
* @createdAt 2024-10-22 09:42:38 - automatic
|
|
115
|
+
* @createdAt 2024-10-22 09:42:38 - automatic
|
|
116
|
+
* @createdAt 2024-10-22 09:42:38 - automatic
|
|
117
|
+
* @createdAt 2024-10-22 09:42:38 - automatic
|
|
118
|
+
* @createdAt 2024-10-22 09:42:38 - automatic
|
|
119
|
+
* @createdAt 2024-10-22 09:42:38 - automatic
|
|
120
|
+
* @createdAt 2024-10-22 09:42:38 - automatic
|
|
121
|
+
* @createdAt 2024-10-22 09:42:38 - automatic
|
|
122
|
+
* @createdAt 2024-10-22 09:42:38 - automatic
|
|
123
|
+
* @createdAt 2024-10-22 09:42:38 - automatic
|
|
124
|
+
* @createdAt 2024-10-22 09:42:38 - automatic
|
|
125
|
+
* @createdAt 2024-10-22 09:42:38 - automatic
|
|
126
|
+
* @createdAt 2024-10-22 09:42:38 - automatic
|
|
127
|
+
* @createdAt 2024-10-22 09:42:38 - automatic
|
|
128
|
+
* @createdAt 2024-10-22 09:42:38 - automatic
|
|
129
|
+
* @createdAt 2024-10-22 09:42:38 - automatic
|
|
130
|
+
* @createdAt 2024-10-22 09:42:38 - automatic
|
|
131
|
+
* @createdAt 2024-10-22 09:42:38 - automatic
|
|
132
|
+
* @author Bruce Escobar - automatic
|
|
133
|
+
* @author Bruce Escobar - automatic
|
|
134
|
+
* @author Bruce Escobar - automatic
|
|
135
|
+
* @author Bruce Escobar - automatic
|
|
136
|
+
* @author Bruce Escobar - automatic
|
|
137
|
+
* @author Bruce Escobar - automatic
|
|
138
|
+
* @author Bruce Escobar - automatic
|
|
139
|
+
* @author Bruce Escobar - automatic
|
|
140
|
+
* @author Bruce Escobar - automatic
|
|
141
|
+
* @author Bruce Escobar - automatic
|
|
142
|
+
* @author Bruce Escobar - automatic
|
|
143
|
+
* @author Bruce Escobar - automatic
|
|
144
|
+
* @author Bruce Escobar - automatic
|
|
145
|
+
* @author Bruce Escobar - automatic
|
|
146
|
+
* @author Bruce Escobar - automatic
|
|
147
|
+
* @author Bruce Escobar - automatic
|
|
148
|
+
* @author Bruce Escobar - automatic
|
|
149
|
+
* @author Bruce Escobar - automatic
|
|
150
|
+
* @author Bruce Escobar - automatic
|
|
151
|
+
* @author Bruce Escobar - automatic
|
|
152
|
+
* @author Bruce Escobar - automatic
|
|
153
|
+
* @author Bruce Escobar - automatic
|
|
154
|
+
* @author Bruce Escobar - automatic
|
|
155
|
+
* @author Bruce Escobar - automatic
|
|
156
|
+
* @author Bruce Escobar - automatic
|
|
157
|
+
* @author Bruce Escobar - automatic
|
|
158
|
+
* @author Bruce Escobar - automatic
|
|
159
|
+
* @author Bruce Escobar - automatic
|
|
160
|
+
* @author Bruce Escobar - automatic
|
|
161
|
+
* @author Bruce Escobar - automatic
|
|
162
|
+
* @author Bruce Escobar - automatic
|
|
163
|
+
* @author Bruce Escobar - automatic
|
|
164
|
+
* @author Bruce Escobar - automatic
|
|
165
|
+
* @updatedUser Bruce Escobar - automatic
|
|
166
|
+
* @updatedUser Bruce Escobar - automatic
|
|
167
|
+
* @updatedUser Bruce Escobar - automatic
|
|
168
|
+
* @updatedUser Bruce Escobar - automatic
|
|
169
|
+
* @updatedUser Bruce Escobar - automatic
|
|
170
|
+
* @updatedUser Bruce Escobar - automatic
|
|
171
|
+
* @updatedUser Bruce Escobar - automatic
|
|
172
|
+
* @updatedUser Bruce Escobar - automatic
|
|
173
|
+
* @updatedUser Bruce Escobar - automatic
|
|
174
|
+
* @updatedUser Bruce Escobar - automatic
|
|
175
|
+
* @updatedUser Bruce Escobar - automatic
|
|
176
|
+
* @updatedUser Bruce Escobar - automatic
|
|
177
|
+
* @updatedUser Bruce Escobar - automatic
|
|
178
|
+
* @updatedUser Bruce Escobar - automatic
|
|
179
|
+
* @updatedUser Bruce Escobar - automatic
|
|
180
|
+
* @updatedUser Bruce Escobar - automatic
|
|
181
|
+
* @updatedUser Bruce Escobar - automatic
|
|
182
|
+
* @updatedUser Bruce Escobar - automatic
|
|
183
|
+
* @updatedUser Bruce Escobar - automatic
|
|
184
|
+
* @updatedUser Bruce Escobar - automatic
|
|
185
|
+
* @updatedUser Bruce Escobar - automatic
|
|
186
|
+
* @updatedUser Bruce Escobar - automatic
|
|
187
|
+
* @updatedUser Bruce Escobar - automatic
|
|
188
|
+
* @updatedUser Bruce Escobar - automatic
|
|
189
|
+
* @updatedUser Bruce Escobar - automatic
|
|
190
|
+
* @updatedUser Bruce Escobar - automatic
|
|
191
|
+
* @updatedUser Bruce Escobar - automatic
|
|
192
|
+
* @updatedUser Bruce Escobar - automatic
|
|
193
|
+
* @updatedUser Bruce Escobar - automatic
|
|
194
|
+
* @updatedUser Bruce Escobar - automatic
|
|
195
|
+
* @updatedUser Bruce Escobar - automatic
|
|
196
|
+
* @updatedUser Bruce Escobar - automatic
|
|
197
|
+
* @updatedUser Bruce Escobar - automatic
|
|
198
|
+
* @updatedAt 2024-10-22 09:42:39 - automatic
|
|
199
|
+
* @updatedAt 2024-10-22 09:42:39 - automatic
|
|
200
|
+
* @updatedAt 2024-10-22 09:42:39 - automatic
|
|
201
|
+
* @updatedAt 2024-10-22 09:42:39 - automatic
|
|
202
|
+
* @updatedAt 2024-10-22 09:42:39 - automatic
|
|
203
|
+
* @updatedAt 2024-10-22 09:42:39 - automatic
|
|
204
|
+
* @updatedAt 2024-10-22 09:42:39 - automatic
|
|
205
|
+
* @updatedAt 2024-10-22 09:42:39 - automatic
|
|
206
|
+
* @updatedAt 2024-10-22 09:42:39 - automatic
|
|
207
|
+
* @updatedAt 2024-10-22 09:42:39 - automatic
|
|
208
|
+
* @updatedAt 2024-10-22 09:42:39 - automatic
|
|
209
|
+
* @updatedAt 2024-10-22 09:42:39 - automatic
|
|
210
|
+
* @updatedAt 2024-10-22 09:42:39 - automatic
|
|
211
|
+
* @updatedAt 2024-10-22 09:42:39 - automatic
|
|
212
|
+
* @updatedAt 2024-10-22 09:42:39 - automatic
|
|
213
|
+
* @updatedAt 2024-10-22 09:42:39 - automatic
|
|
214
|
+
* @updatedAt 2024-10-22 09:42:39 - automatic
|
|
215
|
+
* @updatedAt 2024-10-22 09:42:39 - automatic
|
|
216
|
+
* @updatedAt 2024-10-22 09:42:39 - automatic
|
|
217
|
+
* @updatedAt 2024-10-22 09:42:39 - automatic
|
|
218
|
+
* @updatedAt 2024-10-22 09:42:39 - automatic
|
|
219
|
+
* @updatedAt 2024-10-22 09:42:39 - automatic
|
|
220
|
+
* @updatedAt 2024-10-22 09:42:39 - automatic
|
|
221
|
+
* @updatedAt 2024-10-22 09:42:39 - automatic
|
|
222
|
+
* @updatedAt 2024-10-22 09:42:39 - automatic
|
|
223
|
+
* @updatedAt 2024-10-22 09:42:39 - automatic
|
|
224
|
+
* @updatedAt 2024-10-22 09:42:39 - automatic
|
|
225
|
+
* @updatedAt 2024-10-22 09:42:39 - automatic
|
|
226
|
+
* @updatedAt 2024-10-22 09:42:39 - automatic
|
|
227
|
+
* @updatedAt 2024-10-22 09:42:39 - automatic
|
|
228
|
+
* @updatedAt 2024-10-22 09:42:39 - automatic
|
|
229
|
+
* @updatedAt 2024-10-22 09:42:39 - automatic
|
|
230
|
+
* @updatedAt 2024-10-22 09:42:39 - automatic
|
|
231
|
+
* @createdAt 2024-10-22 09:41:31 - automatic
|
|
232
|
+
* @createdAt 2024-10-22 09:41:31 - automatic
|
|
233
|
+
* @createdAt 2024-10-22 09:41:31 - automatic
|
|
234
|
+
* @createdAt 2024-10-22 09:41:31 - automatic
|
|
235
|
+
* @createdAt 2024-10-22 09:41:31 - automatic
|
|
236
|
+
* @createdAt 2024-10-22 09:41:31 - automatic
|
|
237
|
+
* @createdAt 2024-10-22 09:41:31 - automatic
|
|
238
|
+
* @createdAt 2024-10-22 09:41:31 - automatic
|
|
239
|
+
* @createdAt 2024-10-22 09:41:31 - automatic
|
|
240
|
+
* @createdAt 2024-10-22 09:41:31 - automatic
|
|
241
|
+
* @createdAt 2024-10-22 09:41:31 - automatic
|
|
242
|
+
* @createdAt 2024-10-22 09:41:31 - automatic
|
|
243
|
+
* @createdAt 2024-10-22 09:41:31 - automatic
|
|
244
|
+
* @createdAt 2024-10-22 09:41:31 - automatic
|
|
245
|
+
* @createdAt 2024-10-22 09:41:31 - automatic
|
|
246
|
+
* @createdAt 2024-10-22 09:41:31 - automatic
|
|
247
|
+
* @createdAt 2024-10-22 09:41:31 - automatic
|
|
248
|
+
* @createdAt 2024-10-22 09:41:31 - automatic
|
|
249
|
+
* @createdAt 2024-10-22 09:41:31 - automatic
|
|
250
|
+
* @createdAt 2024-10-22 09:41:31 - automatic
|
|
251
|
+
* @createdAt 2024-10-22 09:41:31 - automatic
|
|
252
|
+
* @createdAt 2024-10-22 09:41:31 - automatic
|
|
253
|
+
* @createdAt 2024-10-22 09:41:31 - automatic
|
|
254
|
+
* @createdAt 2024-10-22 09:41:31 - automatic
|
|
255
|
+
* @createdAt 2024-10-22 09:41:31 - automatic
|
|
256
|
+
* @createdAt 2024-10-22 09:41:31 - automatic
|
|
257
|
+
* @createdAt 2024-10-22 09:41:31 - automatic
|
|
258
|
+
* @createdAt 2024-10-22 09:41:31 - automatic
|
|
259
|
+
* @createdAt 2024-10-22 09:41:31 - automatic
|
|
260
|
+
* @createdAt 2024-10-22 09:41:31 - automatic
|
|
261
|
+
* @createdAt 2024-10-22 09:41:31 - automatic
|
|
262
|
+
* @createdAt 2024-10-22 09:41:31 - automatic
|
|
263
|
+
* @createdAt 2024-10-22 09:41:31 - automatic
|
|
264
|
+
* @author Bruce Escobar - automatic
|
|
265
|
+
* @author Bruce Escobar - automatic
|
|
266
|
+
* @author Bruce Escobar - automatic
|
|
267
|
+
* @author Bruce Escobar - automatic
|
|
268
|
+
* @author Bruce Escobar - automatic
|
|
269
|
+
* @author Bruce Escobar - automatic
|
|
270
|
+
* @author Bruce Escobar - automatic
|
|
271
|
+
* @author Bruce Escobar - automatic
|
|
272
|
+
* @author Bruce Escobar - automatic
|
|
273
|
+
* @author Bruce Escobar - automatic
|
|
274
|
+
* @author Bruce Escobar - automatic
|
|
275
|
+
* @author Bruce Escobar - automatic
|
|
276
|
+
* @author Bruce Escobar - automatic
|
|
277
|
+
* @author Bruce Escobar - automatic
|
|
278
|
+
* @author Bruce Escobar - automatic
|
|
279
|
+
* @author Bruce Escobar - automatic
|
|
280
|
+
* @author Bruce Escobar - automatic
|
|
281
|
+
* @author Bruce Escobar - automatic
|
|
282
|
+
* @author Bruce Escobar - automatic
|
|
283
|
+
* @author Bruce Escobar - automatic
|
|
284
|
+
* @author Bruce Escobar - automatic
|
|
285
|
+
* @author Bruce Escobar - automatic
|
|
286
|
+
* @author Bruce Escobar - automatic
|
|
287
|
+
* @author Bruce Escobar - automatic
|
|
288
|
+
* @author Bruce Escobar - automatic
|
|
289
|
+
* @author Bruce Escobar - automatic
|
|
290
|
+
* @author Bruce Escobar - automatic
|
|
291
|
+
* @author Bruce Escobar - automatic
|
|
292
|
+
* @author Bruce Escobar - automatic
|
|
293
|
+
* @author Bruce Escobar - automatic
|
|
294
|
+
* @author Bruce Escobar - automatic
|
|
295
|
+
* @author Bruce Escobar - automatic
|
|
296
|
+
* @author Bruce Escobar - automatic
|
|
297
|
+
* @author Bruce Escobar - automatic
|
|
298
|
+
* @createdAt 2024-10-22 09:41:31 - automatic
|
|
299
|
+
* @updatedAt 2024-10-22 09:42:39 - automatic
|
|
300
|
+
* @updatedUser Bruce Escobar - automatic
|
|
33
301
|
*/
|
|
34
302
|
init: () => {
|
|
35
303
|
if (get().ownerState.status !== "init") {
|
package/components/hook-form/RHFAutocompleteAsync/subcomponents/ComponentTypeImage/index.d.ts
CHANGED
|
@@ -2,5 +2,9 @@ import { RHFAutocompleteAsyncBaseProps } from '../../types';
|
|
|
2
2
|
import { ImageProps, RHFAutocompleteBaseProps } from '../../../RHFAutocomplete/types';
|
|
3
3
|
/**
|
|
4
4
|
* TODO: Documentar
|
|
5
|
+
* @author Bruce Escobar - automatic
|
|
6
|
+
* @createdAt 2024-10-22 09:41:31 - automatic
|
|
7
|
+
* @updatedAt 2024-10-22 09:42:39 - automatic
|
|
8
|
+
* @updatedUser Bruce Escobar - automatic
|
|
5
9
|
*/
|
|
6
10
|
export declare function ComponentTypeImage<T>(props: Omit<RHFAutocompleteBaseProps<T>, 'options' | 'get'> & ImageProps<T> & RHFAutocompleteAsyncBaseProps): import("react/jsx-runtime").JSX.Element;
|
package/components/hook-form/RHFAutocompleteAsync/subcomponents/ComponentTypeText/index.d.ts
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { ComponentTextProps } from '../../types';
|
|
2
2
|
/**
|
|
3
3
|
* TODO: Documentar
|
|
4
|
+
* @author Bruce Escobar - automatic
|
|
5
|
+
* @createdAt 2024-10-22 09:41:31 - automatic
|
|
6
|
+
* @updatedAt 2024-10-22 09:42:39 - automatic
|
|
7
|
+
* @updatedUser Bruce Escobar - automatic
|
|
4
8
|
*/
|
|
5
9
|
export declare function ComponentTypeText<T>(props: ComponentTextProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef, useState, useEffect } from "react";
|
|
3
3
|
import { useFormContext, Controller } from "react-hook-form";
|
|
4
|
-
import { InputAdornment } from "@mui/material";
|
|
5
|
-
import { useModuleSkeleton } from "@m4l/core";
|
|
4
|
+
import { useTheme, InputAdornment } from "@mui/material";
|
|
5
|
+
import { useModuleSkeleton, getPropertyByString } from "@m4l/core";
|
|
6
6
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
7
7
|
import { S as SkeletonTextField } from "./subcomponents/Skeleton/index.js";
|
|
8
8
|
import { u as useFormFocus } from "../../../hooks/useFormFocus/index.js";
|
|
@@ -22,10 +22,12 @@ const RHFTextField = forwardRef((props, ref) => {
|
|
|
22
22
|
size = "small",
|
|
23
23
|
startIcon,
|
|
24
24
|
endIcon,
|
|
25
|
-
|
|
25
|
+
RHFvariants = "outlined",
|
|
26
26
|
helperMessage = "",
|
|
27
27
|
disabled,
|
|
28
28
|
mandatory,
|
|
29
|
+
variant,
|
|
30
|
+
color = "primary",
|
|
29
31
|
isInteger = true,
|
|
30
32
|
mandatoryMessage,
|
|
31
33
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
@@ -50,12 +52,20 @@ const RHFTextField = forwardRef((props, ref) => {
|
|
|
50
52
|
setCurrentVariant(null);
|
|
51
53
|
}
|
|
52
54
|
}, [errors[nameRHF], variant, control]);
|
|
55
|
+
const theme = useTheme();
|
|
56
|
+
const paletteColor = getPropertyByString(
|
|
57
|
+
theme.palette,
|
|
58
|
+
disabled ? "default" : color,
|
|
59
|
+
theme.palette.default
|
|
60
|
+
);
|
|
53
61
|
const ownerState = {
|
|
54
62
|
name: nameRHF,
|
|
55
63
|
isInteger,
|
|
64
|
+
paletteColor,
|
|
56
65
|
type: type ?? "text",
|
|
57
66
|
size: !isDesktop ? "medium" : size,
|
|
58
|
-
disabled
|
|
67
|
+
disabled,
|
|
68
|
+
variantRHFTextField: RHFvariants
|
|
59
69
|
};
|
|
60
70
|
return (
|
|
61
71
|
/* RHFTextFieldRoot: Contenedor principal del componente, es usado para aplicar los estilos css de los overrides
|
|
@@ -115,6 +125,7 @@ const RHFTextField = forwardRef((props, ref) => {
|
|
|
115
125
|
InputLabelProps: { shrink: true },
|
|
116
126
|
autoComplete,
|
|
117
127
|
onChange: onInternalChange,
|
|
128
|
+
className: "rhf-text-field-root",
|
|
118
129
|
value: type === "number" ? isNaN(parseFloat(value)) ? "" : value : value || "",
|
|
119
130
|
inputProps: {
|
|
120
131
|
name: nameRHF,
|