@m4l/components 8.1.0-beta.devManuela.TextField → 8.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/@types/types.d.ts +37 -11
- package/components/ControlIncrement/ControlIncrement.d.ts +5 -0
- package/components/ControlIncrement/ControlIncrement.styles.d.ts +8 -0
- package/components/ControlIncrement/constants.d.ts +25 -0
- package/components/ControlIncrement/slots/ControlIncrementEnum.d.ts +6 -0
- package/components/ControlIncrement/slots/ControltrolIncrementSlots.d.ts +14 -0
- package/components/ControlIncrement/slots/index.d.ts +2 -0
- package/components/ControlIncrement/stories/ControlClick/ControlIncrement.controlclick.stories.d.ts +13 -0
- package/components/ControlIncrement/stories/DefaultAndDisabled/ControlIncrement.defaultanddisabled.stories.d.ts +17 -0
- package/components/ControlIncrement/stories/Sizes/ControlIncrement.sizes.stories.d.ts +21 -0
- package/components/ControlIncrement/types.d.ts +56 -0
- package/components/DataGrid/classes/index.d.ts +1 -1
- package/components/DynamicFilter/DynamicFIlter.styles.js +115 -39
- package/components/DynamicFilter/slots/dynamicFilterSlots.d.ts +1 -1
- package/components/DynamicSort/slots/DynamicSortSlots.d.ts +1 -1
- package/components/GridLayout/classes/index.d.ts +1 -1
- package/components/GridLayout/subcomponents/withSizeProvider/index.d.ts +1 -1
- package/components/HelperError/HelperError.d.ts +1 -1
- package/components/HelperError/HelperError.js +21 -2
- package/components/HelperError/HelperError.styles.js +11 -2
- package/components/HelperError/constant.d.ts +9 -0
- package/components/HelperError/constant.js +3 -1
- package/components/HelperError/slots/HelperErrorEnum.d.ts +3 -0
- package/components/HelperError/slots/HelperErrorSlots.d.ts +4 -4
- package/components/HelperError/slots/HelperErrorSlots.js +1 -1
- package/components/HelperError/types.d.ts +28 -5
- package/components/Icon/Icon.d.ts +4 -3
- package/components/Icon/Icon.js +54 -71
- package/components/Icon/Icon.styles.js +85 -31
- package/components/Icon/slots/IconEnum.d.ts +2 -1
- package/components/Icon/slots/IconEnum.js +1 -0
- package/components/Icon/slots/IconSlots.d.ts +3 -0
- package/components/Icon/slots/IconSlots.js +7 -1
- package/components/Icon/stories/DefaultWithProps/Icon.defaultWithProps.stories.d.ts +35 -0
- package/components/Icon/stories/Preset/Icon.preset.stories.d.ts +16 -0
- package/components/Icon/stories/Semantic/Icon.semantic.stories.d.ts +30 -0
- package/components/Icon/stories/Sizes/icon.sizes.stories.d.ts +40 -0
- package/components/Icon/types.d.ts +16 -12
- package/components/InputNumberSpinner/InputNumberSpinner.d.ts +9 -0
- package/components/InputNumberSpinner/InputNumberSpinner.styles.d.ts +8 -0
- package/components/InputNumberSpinner/constants.d.ts +9 -0
- package/components/InputNumberSpinner/hooks/types.d.ts +13 -0
- package/components/InputNumberSpinner/hooks/useInputNumberSpinner.d.ts +19 -0
- package/components/InputNumberSpinner/index.d.ts +2 -0
- package/components/InputNumberSpinner/slots/InputNumberSpinnerEnum.d.ts +7 -0
- package/components/InputNumberSpinner/slots/InputNumberSpinnerSlots.d.ts +15 -0
- package/components/InputNumberSpinner/slots/index.d.ts +2 -0
- package/components/InputNumberSpinner/stories/Default/InputNumberSpinner.default.stories.d.ts +25 -0
- package/components/InputNumberSpinner/stories/Error/InputNumberSpinner.error.stories.d.ts +25 -0
- package/components/InputNumberSpinner/stories/Sizes/InputNumberSpinner.sizes.stories.d.ts +41 -0
- package/components/InputNumberSpinner/stories/Variants/InputNumberSpinner.variants.stories.d.ts +25 -0
- package/components/InputNumberSpinner/types.d.ts +64 -0
- package/components/Label/Label.d.ts +2 -2
- package/components/Label/Label.styles.js +5 -5
- package/components/Label/slots/LabelSlots.d.ts +1 -1
- package/components/Label/types.d.ts +1 -1
- package/components/MFLoader/MFLoader.d.ts +1 -1
- package/components/NavLink/NavLink.d.ts +1 -1
- package/components/PropertyValue/classes/index.d.ts +1 -1
- package/components/SideBar/classes/index.d.ts +1 -1
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/subcomponents/NavItemSub/styles.d.ts +1 -1
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/subcomponents/NavItemSub/subcomponents/NavItemSubContent/styles.d.ts +1 -1
- package/components/ToastContainer/subcomponents/ToastMessage/useToastMessage.d.ts +5 -1
- package/components/ToastContainer/subcomponents/ToastMessage/useToastMessage.js +2 -1
- package/components/areas/components/AreasViewer/classes/index.d.ts +1 -1
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/PanelWindows/index.d.ts +1 -1
- package/components/areas/contexts/AreasContext/store.d.ts +1 -1
- package/components/areas/contexts/AreasContext/store.js +199 -67
- package/components/extended/react-resizable/Resizable/slots/ResizableSlots.d.ts +1 -1
- package/components/extended/react-resizable/ResizableBox/slots/ResizableBoxSlots.d.ts +1 -1
- package/components/hook-form/RHFAutocomplete/classes/index.d.ts +1 -1
- package/components/hook-form/RHFAutocompleteAsync/subcomponents/ComponentTypeImage/index.d.ts +1 -1
- package/components/hook-form/RHFAutocompleteAsync/subcomponents/ComponentTypeText/index.d.ts +1 -1
- package/components/hook-form/RHFCheckbox/styles.d.ts +1 -1
- package/components/hook-form/RHFTextField/RHFTextField.d.ts +4 -0
- package/components/hook-form/RHFTextField/RHFTextField.styles.js +2 -2
- package/components/hook-form/RHFTextField/slots/RHFTextFieldSlots.d.ts +1 -1
- package/components/hook-form/RHFUpload/RHFUploadImage/subcomponents/UploadImage/index.d.ts +1 -1
- package/components/hook-form/RHFormContext/classes/index.d.ts +1 -1
- package/components/maps/components/Map/contexts/MapContext/store.d.ts +1 -1
- package/components/maps/components/Map/contexts/MapContext/store.js +166 -106
- package/components/maps/components/Map/hooks/useAutoFocus/index.d.ts +1 -1
- package/components/maps/components/Map/pluginLayers/PolylineWithArrows/index.d.ts +1 -1
- package/components/maps/components/Map/subcomponents/LayersContainer/subcomponents/MyLayer/index.d.ts +1 -1
- package/components/mui_extended/Accordion/Accordion.d.ts +1 -1
- package/components/mui_extended/Badge/slots/BadgeSlots.d.ts +1 -1
- package/components/mui_extended/Button/styles.d.ts +1 -1
- package/components/mui_extended/IconButton/IconButton.d.ts +4 -4
- package/components/mui_extended/IconButton/IconButton.js +65 -29
- package/components/mui_extended/IconButton/IconButton.styles.js +20 -5
- package/components/mui_extended/IconButton/slots/IconButtonEnum.d.ts +2 -1
- package/components/mui_extended/IconButton/slots/IconButtonEnum.js +1 -0
- package/components/mui_extended/IconButton/slots/IconButtonSlots.d.ts +5 -2
- package/components/mui_extended/IconButton/slots/IconButtonSlots.js +7 -1
- package/components/mui_extended/IconButton/types.d.ts +46 -2
- package/components/mui_extended/LoadingButton/index.d.ts +1 -1
- package/components/mui_extended/MenuActions/slots/MenuActionsSlots.d.ts +1 -1
- package/components/mui_extended/MenuItem/MenuItem.d.ts +11 -0
- package/components/mui_extended/MenuItem/MenuItem.stories.d.ts +37 -0
- package/components/mui_extended/MenuItem/MenuItem.styles.d.ts +2 -0
- package/components/mui_extended/MenuItem/constants.d.ts +8 -0
- package/components/mui_extended/MenuItem/index.d.ts +2 -0
- package/components/mui_extended/MenuItem/slots/MenuItemEnum.d.ts +5 -0
- package/components/mui_extended/MenuItem/slots/MenuItemSlots.d.ts +11 -0
- package/components/mui_extended/MenuItem/slots/index.d.ts +2 -0
- package/components/mui_extended/MenuItem/types.d.ts +41 -0
- package/components/mui_extended/Select/Select.d.ts +9 -0
- package/components/mui_extended/Select/Select.styles.d.ts +2 -0
- package/components/mui_extended/Select/constants.d.ts +8 -0
- package/components/mui_extended/Select/index.d.ts +2 -0
- package/components/mui_extended/Select/slots/SelectEnum.d.ts +6 -0
- package/components/mui_extended/Select/slots/SelectSlots.d.ts +12 -0
- package/components/mui_extended/Select/slots/index.d.ts +2 -0
- package/components/mui_extended/Select/stories/SelectOutlied.stories.d.ts +75 -0
- package/components/mui_extended/Select/stories/SelectStandar.stories.d.ts +29 -0
- package/components/mui_extended/Select/types.d.ts +66 -0
- package/components/mui_extended/Skeleton/Skeleton.d.ts +1 -1
- package/components/mui_extended/Skeleton/Slots/skeletonSlots.d.ts +1 -1
- package/components/mui_extended/Skeleton/skeleton.styles.js +1 -1
- package/components/mui_extended/Tabs/styles.d.ts +1 -1
- package/components/mui_extended/TextField/TextField.d.ts +4 -0
- package/components/mui_extended/TextField/slots/TextFieldSlots.d.ts +2 -2
- package/components/mui_extended/Typography/Typography.d.ts +1 -1
- package/components/mui_extended/Typography/slots/typographySlots.d.ts +1 -1
- package/components/mui_extended/Typography/typography.styles.js +1 -1
- package/components/popups/components/PopupsProvider/contexts/PopupsContext/store.d.ts +1 -1
- package/components/popups/components/PopupsProvider/contexts/PopupsContext/store.js +57 -25
- package/contexts/RealTimeContext/store.d.ts +1 -1
- package/contexts/RealTimeContext/store.js +15 -7
- package/hooks/useSizeContainer/index.d.ts +1 -1
- package/package.json +1 -1
- package/components/Icon/Icon.stories.d.ts +0 -166
- package/components/hook-form/RHFInputNumberSpinner/RHFInputNumberSpinner.d.ts +0 -5
- package/components/hook-form/RHFInputNumberSpinner/RHFInputNumberSpinner.stories.d.ts +0 -21
- package/components/hook-form/RHFInputNumberSpinner/RHFInputNumberSpinner.styles.d.ts +0 -2
- package/components/hook-form/RHFInputNumberSpinner/constants.d.ts +0 -1
- package/components/hook-form/RHFInputNumberSpinner/index.d.ts +0 -1
- package/components/hook-form/RHFInputNumberSpinner/slots/RHFInputNumberSpinnerSlots.d.ts +0 -23
- package/components/hook-form/RHFInputNumberSpinner/slots/RHFInputNumberSpinnnerEnum.d.ts +0 -9
- package/components/hook-form/RHFInputNumberSpinner/slots/index.d.ts +0 -2
- package/components/hook-form/RHFInputNumberSpinner/subcomponents/SkeletonSpinner/index.d.ts +0 -4
- package/components/hook-form/RHFInputNumberSpinner/types.d.ts +0 -21
- package/components/hook-form/RHFInputNumberSpinner/useRHFInputNumberSpinner.d.ts +0 -13
|
@@ -42,21 +42,81 @@ const createMapStore = (initProps) => {
|
|
|
42
42
|
* @updatedUser Bruce Escobar - automatic
|
|
43
43
|
* @updatedUser Bruce Escobar - automatic
|
|
44
44
|
* @updatedUser Bruce Escobar - automatic
|
|
45
|
-
* @updatedAt 2024-10-22
|
|
46
|
-
* @updatedAt 2024-10-22
|
|
47
|
-
* @updatedAt 2024-10-22
|
|
48
|
-
* @updatedAt 2024-10-22
|
|
49
|
-
* @updatedAt 2024-10-22
|
|
50
|
-
* @updatedAt 2024-10-22
|
|
51
|
-
* @updatedAt 2024-10-22
|
|
52
|
-
* @updatedAt 2024-10-22
|
|
53
|
-
* @updatedAt 2024-10-22
|
|
54
|
-
* @updatedAt 2024-10-22
|
|
55
|
-
* @updatedAt 2024-10-22
|
|
56
|
-
* @updatedAt 2024-10-22
|
|
57
|
-
* @updatedAt 2024-10-22
|
|
58
|
-
* @updatedAt 2024-10-22
|
|
59
|
-
* @updatedAt 2024-10-22
|
|
45
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
46
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
47
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
48
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
49
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
50
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
51
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
52
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
53
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
54
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
55
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
56
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
57
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
58
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
59
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
60
|
+
* @createdAt 2024-10-22 19:27:22 - automatic
|
|
61
|
+
* @createdAt 2024-10-22 19:27:22 - automatic
|
|
62
|
+
* @createdAt 2024-10-22 19:27:22 - automatic
|
|
63
|
+
* @createdAt 2024-10-22 19:27:22 - automatic
|
|
64
|
+
* @createdAt 2024-10-22 19:27:22 - automatic
|
|
65
|
+
* @createdAt 2024-10-22 19:27:22 - automatic
|
|
66
|
+
* @createdAt 2024-10-22 19:27:22 - automatic
|
|
67
|
+
* @createdAt 2024-10-22 19:27:22 - automatic
|
|
68
|
+
* @createdAt 2024-10-22 19:27:22 - automatic
|
|
69
|
+
* @createdAt 2024-10-22 19:27:22 - automatic
|
|
70
|
+
* @createdAt 2024-10-22 19:27:22 - automatic
|
|
71
|
+
* @createdAt 2024-10-22 19:27:22 - automatic
|
|
72
|
+
* @createdAt 2024-10-22 19:27:22 - automatic
|
|
73
|
+
* @createdAt 2024-10-22 19:27:22 - automatic
|
|
74
|
+
* @createdAt 2024-10-22 19:27:22 - automatic
|
|
75
|
+
* @author Bruce Escobar - automatic
|
|
76
|
+
* @author Bruce Escobar - automatic
|
|
77
|
+
* @author Bruce Escobar - automatic
|
|
78
|
+
* @author Bruce Escobar - automatic
|
|
79
|
+
* @author Bruce Escobar - automatic
|
|
80
|
+
* @author Bruce Escobar - automatic
|
|
81
|
+
* @author Bruce Escobar - automatic
|
|
82
|
+
* @author Bruce Escobar - automatic
|
|
83
|
+
* @author Bruce Escobar - automatic
|
|
84
|
+
* @author Bruce Escobar - automatic
|
|
85
|
+
* @author Bruce Escobar - automatic
|
|
86
|
+
* @author Bruce Escobar - automatic
|
|
87
|
+
* @author Bruce Escobar - automatic
|
|
88
|
+
* @author Bruce Escobar - automatic
|
|
89
|
+
* @author Bruce Escobar - automatic
|
|
90
|
+
* @updatedUser Bruce Escobar - automatic
|
|
91
|
+
* @updatedUser Bruce Escobar - automatic
|
|
92
|
+
* @updatedUser Bruce Escobar - automatic
|
|
93
|
+
* @updatedUser Bruce Escobar - automatic
|
|
94
|
+
* @updatedUser Bruce Escobar - automatic
|
|
95
|
+
* @updatedUser Bruce Escobar - automatic
|
|
96
|
+
* @updatedUser Bruce Escobar - automatic
|
|
97
|
+
* @updatedUser Bruce Escobar - automatic
|
|
98
|
+
* @updatedUser Bruce Escobar - automatic
|
|
99
|
+
* @updatedUser Bruce Escobar - automatic
|
|
100
|
+
* @updatedUser Bruce Escobar - automatic
|
|
101
|
+
* @updatedUser Bruce Escobar - automatic
|
|
102
|
+
* @updatedUser Bruce Escobar - automatic
|
|
103
|
+
* @updatedUser Bruce Escobar - automatic
|
|
104
|
+
* @updatedUser Bruce Escobar - automatic
|
|
105
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
106
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
107
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
108
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
109
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
110
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
111
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
112
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
113
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
114
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
115
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
116
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
117
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
118
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
119
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
60
120
|
* @createdAt 2024-10-22 09:42:38 - automatic
|
|
61
121
|
* @createdAt 2024-10-22 09:42:38 - automatic
|
|
62
122
|
* @createdAt 2024-10-22 09:42:38 - automatic
|
|
@@ -102,21 +162,21 @@ const createMapStore = (initProps) => {
|
|
|
102
162
|
* @updatedUser Bruce Escobar - automatic
|
|
103
163
|
* @updatedUser Bruce Escobar - automatic
|
|
104
164
|
* @updatedUser Bruce Escobar - automatic
|
|
105
|
-
* @updatedAt 2024-10-22
|
|
106
|
-
* @updatedAt 2024-10-22
|
|
107
|
-
* @updatedAt 2024-10-22
|
|
108
|
-
* @updatedAt 2024-10-22
|
|
109
|
-
* @updatedAt 2024-10-22
|
|
110
|
-
* @updatedAt 2024-10-22
|
|
111
|
-
* @updatedAt 2024-10-22
|
|
112
|
-
* @updatedAt 2024-10-22
|
|
113
|
-
* @updatedAt 2024-10-22
|
|
114
|
-
* @updatedAt 2024-10-22
|
|
115
|
-
* @updatedAt 2024-10-22
|
|
116
|
-
* @updatedAt 2024-10-22
|
|
117
|
-
* @updatedAt 2024-10-22
|
|
118
|
-
* @updatedAt 2024-10-22
|
|
119
|
-
* @updatedAt 2024-10-22
|
|
165
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
166
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
167
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
168
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
169
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
170
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
171
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
172
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
173
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
174
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
175
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
176
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
177
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
178
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
179
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
120
180
|
* @createdAt 2024-10-22 09:41:31 - automatic
|
|
121
181
|
* @createdAt 2024-10-22 09:41:31 - automatic
|
|
122
182
|
* @createdAt 2024-10-22 09:41:31 - automatic
|
|
@@ -162,21 +222,21 @@ const createMapStore = (initProps) => {
|
|
|
162
222
|
* @updatedUser Bruce Escobar - automatic
|
|
163
223
|
* @updatedUser Bruce Escobar - automatic
|
|
164
224
|
* @updatedUser Bruce Escobar - automatic
|
|
165
|
-
* @updatedAt 2024-10-22
|
|
166
|
-
* @updatedAt 2024-10-22
|
|
167
|
-
* @updatedAt 2024-10-22
|
|
168
|
-
* @updatedAt 2024-10-22
|
|
169
|
-
* @updatedAt 2024-10-22
|
|
170
|
-
* @updatedAt 2024-10-22
|
|
171
|
-
* @updatedAt 2024-10-22
|
|
172
|
-
* @updatedAt 2024-10-22
|
|
173
|
-
* @updatedAt 2024-10-22
|
|
174
|
-
* @updatedAt 2024-10-22
|
|
175
|
-
* @updatedAt 2024-10-22
|
|
176
|
-
* @updatedAt 2024-10-22
|
|
177
|
-
* @updatedAt 2024-10-22
|
|
178
|
-
* @updatedAt 2024-10-22
|
|
179
|
-
* @updatedAt 2024-10-22
|
|
225
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
226
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
227
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
228
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
229
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
230
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
231
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
232
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
233
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
234
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
235
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
236
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
237
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
238
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
239
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
180
240
|
* @createdAt 2024-10-15 17:33:28 - automatic
|
|
181
241
|
* @createdAt 2024-10-15 17:33:28 - automatic
|
|
182
242
|
* @createdAt 2024-10-15 17:33:28 - automatic
|
|
@@ -222,21 +282,21 @@ const createMapStore = (initProps) => {
|
|
|
222
282
|
* @updatedUser Bruce Escobar - automatic
|
|
223
283
|
* @updatedUser Bruce Escobar - automatic
|
|
224
284
|
* @updatedUser Bruce Escobar - automatic
|
|
225
|
-
* @updatedAt 2024-10-22
|
|
226
|
-
* @updatedAt 2024-10-22
|
|
227
|
-
* @updatedAt 2024-10-22
|
|
228
|
-
* @updatedAt 2024-10-22
|
|
229
|
-
* @updatedAt 2024-10-22
|
|
230
|
-
* @updatedAt 2024-10-22
|
|
231
|
-
* @updatedAt 2024-10-22
|
|
232
|
-
* @updatedAt 2024-10-22
|
|
233
|
-
* @updatedAt 2024-10-22
|
|
234
|
-
* @updatedAt 2024-10-22
|
|
235
|
-
* @updatedAt 2024-10-22
|
|
236
|
-
* @updatedAt 2024-10-22
|
|
237
|
-
* @updatedAt 2024-10-22
|
|
238
|
-
* @updatedAt 2024-10-22
|
|
239
|
-
* @updatedAt 2024-10-22
|
|
285
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
286
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
287
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
288
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
289
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
290
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
291
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
292
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
293
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
294
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
295
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
296
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
297
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
298
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
299
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
240
300
|
* @author Juan Escobar - automatic
|
|
241
301
|
* @author Juan Escobar - automatic
|
|
242
302
|
* @author Juan Escobar - automatic
|
|
@@ -267,21 +327,21 @@ const createMapStore = (initProps) => {
|
|
|
267
327
|
* @updatedUser Bruce Escobar - automatic
|
|
268
328
|
* @updatedUser Bruce Escobar - automatic
|
|
269
329
|
* @updatedUser Bruce Escobar - automatic
|
|
270
|
-
* @updatedAt 2024-10-22
|
|
271
|
-
* @updatedAt 2024-10-22
|
|
272
|
-
* @updatedAt 2024-10-22
|
|
273
|
-
* @updatedAt 2024-10-22
|
|
274
|
-
* @updatedAt 2024-10-22
|
|
275
|
-
* @updatedAt 2024-10-22
|
|
276
|
-
* @updatedAt 2024-10-22
|
|
277
|
-
* @updatedAt 2024-10-22
|
|
278
|
-
* @updatedAt 2024-10-22
|
|
279
|
-
* @updatedAt 2024-10-22
|
|
280
|
-
* @updatedAt 2024-10-22
|
|
281
|
-
* @updatedAt 2024-10-22
|
|
282
|
-
* @updatedAt 2024-10-22
|
|
283
|
-
* @updatedAt 2024-10-22
|
|
284
|
-
* @updatedAt 2024-10-22
|
|
330
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
331
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
332
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
333
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
334
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
335
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
336
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
337
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
338
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
339
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
340
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
341
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
342
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
343
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
344
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
285
345
|
* @author Juan Escobar - automatic
|
|
286
346
|
* @author Juan Escobar - automatic
|
|
287
347
|
* @author Juan Escobar - automatic
|
|
@@ -312,21 +372,21 @@ const createMapStore = (initProps) => {
|
|
|
312
372
|
* @updatedUser Bruce Escobar - automatic
|
|
313
373
|
* @updatedUser Bruce Escobar - automatic
|
|
314
374
|
* @updatedUser Bruce Escobar - automatic
|
|
315
|
-
* @updatedAt 2024-10-22
|
|
316
|
-
* @updatedAt 2024-10-22
|
|
317
|
-
* @updatedAt 2024-10-22
|
|
318
|
-
* @updatedAt 2024-10-22
|
|
319
|
-
* @updatedAt 2024-10-22
|
|
320
|
-
* @updatedAt 2024-10-22
|
|
321
|
-
* @updatedAt 2024-10-22
|
|
322
|
-
* @updatedAt 2024-10-22
|
|
323
|
-
* @updatedAt 2024-10-22
|
|
324
|
-
* @updatedAt 2024-10-22
|
|
325
|
-
* @updatedAt 2024-10-22
|
|
326
|
-
* @updatedAt 2024-10-22
|
|
327
|
-
* @updatedAt 2024-10-22
|
|
328
|
-
* @updatedAt 2024-10-22
|
|
329
|
-
* @updatedAt 2024-10-22
|
|
375
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
376
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
377
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
378
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
379
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
380
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
381
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
382
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
383
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
384
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
385
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
386
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
387
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
388
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
389
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
330
390
|
* @author Juan Escobar - automatic
|
|
331
391
|
* @author Juan Escobar - automatic
|
|
332
392
|
* @author Juan Escobar - automatic
|
|
@@ -357,21 +417,21 @@ const createMapStore = (initProps) => {
|
|
|
357
417
|
* @updatedUser Bruce Escobar - automatic
|
|
358
418
|
* @updatedUser Bruce Escobar - automatic
|
|
359
419
|
* @updatedUser Bruce Escobar - automatic
|
|
360
|
-
* @updatedAt 2024-10-22
|
|
361
|
-
* @updatedAt 2024-10-22
|
|
362
|
-
* @updatedAt 2024-10-22
|
|
363
|
-
* @updatedAt 2024-10-22
|
|
364
|
-
* @updatedAt 2024-10-22
|
|
365
|
-
* @updatedAt 2024-10-22
|
|
366
|
-
* @updatedAt 2024-10-22
|
|
367
|
-
* @updatedAt 2024-10-22
|
|
368
|
-
* @updatedAt 2024-10-22
|
|
369
|
-
* @updatedAt 2024-10-22
|
|
370
|
-
* @updatedAt 2024-10-22
|
|
371
|
-
* @updatedAt 2024-10-22
|
|
372
|
-
* @updatedAt 2024-10-22
|
|
373
|
-
* @updatedAt 2024-10-22
|
|
374
|
-
* @updatedAt 2024-10-22
|
|
420
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
421
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
422
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
423
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
424
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
425
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
426
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
427
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
428
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
429
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
430
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
431
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
432
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
433
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
434
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
375
435
|
* @author Juan Escobar - automatic
|
|
376
436
|
* @author Juan Escobar - automatic
|
|
377
437
|
* @author Juan Escobar - automatic
|
|
@@ -388,7 +448,7 @@ const createMapStore = (initProps) => {
|
|
|
388
448
|
* @author Juan Escobar - automatic
|
|
389
449
|
* @author Juan Escobar - automatic
|
|
390
450
|
* @author Juan Escobar - automatic
|
|
391
|
-
* @updatedAt 2024-10-22
|
|
451
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
392
452
|
* @updatedUser Bruce Escobar - automatic
|
|
393
453
|
* @createdAt 2024-10-15 17:33:28 - automatic
|
|
394
454
|
*/
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* que el mapa se ajuste a los límites de las capas que tienen auto focus.
|
|
5
5
|
* @author Juan Escobar
|
|
6
6
|
* @createdAt 2024-10-15 17:33:28 - automatic
|
|
7
|
-
* @updatedAt 2024-10-22
|
|
7
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
8
8
|
* @updatedUser Bruce Escobar - automatic
|
|
9
9
|
*/
|
|
10
10
|
export declare function useAutoFocus(): void;
|
|
@@ -7,7 +7,7 @@ interface PolylineWithArrowsProps extends PolylineProps {
|
|
|
7
7
|
/**
|
|
8
8
|
* TODO: Documentar
|
|
9
9
|
* @author Juan Escobar - automatic
|
|
10
|
-
* @updatedAt 2024-10-22
|
|
10
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
11
11
|
* @updatedUser Bruce Escobar - automatic
|
|
12
12
|
* @createdAt 2024-10-15 17:33:28 - automatic
|
|
13
13
|
*/
|
|
@@ -12,7 +12,7 @@ export type LefaletLayerRef = {
|
|
|
12
12
|
* @param props
|
|
13
13
|
* @returns
|
|
14
14
|
* @createdAt 2024-10-07 16:10:36 - automatic
|
|
15
|
-
* @updatedAt 2024-10-22
|
|
15
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
16
16
|
* @updatedUser Bruce Escobar - automatic
|
|
17
17
|
*/
|
|
18
18
|
export declare const MyLayer: React.FC<LayerProps>;
|
|
@@ -3,7 +3,7 @@ import { AccordionProps } from './types';
|
|
|
3
3
|
* TODO: Documentar
|
|
4
4
|
* @author Bruce Escobar - automatic
|
|
5
5
|
* @createdAt 2024-10-22 09:41:31 - automatic
|
|
6
|
-
* @updatedAt 2024-10-22
|
|
6
|
+
* @updatedAt 2024-10-22 19:27:23 - automatic
|
|
7
7
|
* @updatedUser Bruce Escobar - automatic
|
|
8
8
|
*/
|
|
9
9
|
export declare function Accordion(props: AccordionProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const BadgeRootStyled: import('@emotion/styled').StyledComponent<Pick<import('@mui/material').BadgeOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
2
2
|
ref?: ((instance: HTMLSpanElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLSpanElement> | null | undefined;
|
|
3
|
-
}, "color" | "sx" | "classes" | "className" | "style" | "
|
|
3
|
+
}, "children" | "color" | "sx" | "classes" | "className" | "style" | "components" | "componentsProps" | "slotProps" | "slots" | "badgeContent" | "variant" | "anchorOrigin" | "invisible" | "max" | "overlap" | "showZero">, "children" | "ref" | "color" | "content" | "translate" | "sx" | "classes" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "slot" | "spellCheck" | "style" | "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" | "components" | "componentsProps" | "slotProps" | "slots" | "key" | "badgeContent" | "variant" | "anchorOrigin" | "invisible" | "max" | "overlap" | "showZero"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('../types').BadgeOwnerState> & Record<string, unknown> & {
|
|
4
4
|
ownerState: Partial<import('../types').BadgeOwnerState> & Record<string, unknown>;
|
|
5
5
|
}, {}, {}>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const ButtonRoot: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
2
2
|
export declare const SKTButton: import('@emotion/styled').StyledComponent<import('@mui/material').SkeletonOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
3
3
|
ref?: ((instance: HTMLSpanElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLSpanElement> | null | undefined;
|
|
4
|
-
}, "height" | "width" | "animation" | "sx" | "classes" | "className" | "style" | "
|
|
4
|
+
}, "children" | "height" | "width" | "animation" | "sx" | "classes" | "className" | "style" | "variant"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { IconButtonProps } from './types';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
*Los Icon button son habitualmente ubicados en barras de aplicaciones y barras de herramientas. Además, resulta adecuado emplear iconos en botones de alternancia que posibilitan la selección o deselección de una única opción, como añadir o eliminar una estrella a un elemento.
|
|
4
4
|
* @param props
|
|
5
5
|
* @returns
|
|
6
|
-
* @author
|
|
7
|
-
* @
|
|
6
|
+
* @author Bruce Escobar - automatic
|
|
7
|
+
* @createdAt 2024-10-22 19:53:39 - automatic
|
|
8
|
+
* @updatedAt 2024-10-22 19:53:40 - automatic
|
|
8
9
|
* @updatedUser Bruce Escobar - automatic
|
|
9
|
-
* @createdAt 2024-10-15 17:33:28 - automatic
|
|
10
10
|
*/
|
|
11
11
|
export declare const IconButton: (props: IconButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
1
|
+
import { jsx, Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { useMemo } from "react";
|
|
3
|
+
import { getPropertyByString } from "@m4l/core";
|
|
3
4
|
import { useTheme } from "@mui/material";
|
|
4
5
|
import { e as evalIconColor } from "./helpers/evalIconColor.js";
|
|
5
|
-
import { getPropertyByString, useModuleDictionary } from "@m4l/core";
|
|
6
6
|
import { u as useComponentSize } from "../../../hooks/useComponentSize/useComponentSize.js";
|
|
7
|
-
import { S as StyledMUIIconButton, B as BadgeStyled, I as IconStyled } from "./slots/IconButtonSlots.js";
|
|
7
|
+
import { T as TooltipStyled, S as StyledMUIIconButton, B as BadgeStyled, I as IconStyled } from "./slots/IconButtonSlots.js";
|
|
8
8
|
const IconButton = (props) => {
|
|
9
9
|
const {
|
|
10
10
|
src,
|
|
@@ -14,18 +14,24 @@ const IconButton = (props) => {
|
|
|
14
14
|
disabled,
|
|
15
15
|
onClick,
|
|
16
16
|
badgeContent,
|
|
17
|
-
withBadge = false,
|
|
18
17
|
dictionaryTooltipId,
|
|
18
|
+
tooltipContent,
|
|
19
|
+
placement = "bottom",
|
|
20
|
+
instaceDataTestId,
|
|
19
21
|
componentPaletteColor = "default",
|
|
20
|
-
rotationAngle,
|
|
21
22
|
...other
|
|
22
23
|
} = props;
|
|
23
24
|
const { currentSize } = useComponentSize(size);
|
|
25
|
+
const adjustedSize = currentSize === "small" || currentSize === "medium" ? currentSize : "medium";
|
|
24
26
|
const theme = useTheme();
|
|
25
|
-
const paletteColor = getPropertyByString(
|
|
27
|
+
const paletteColor = getPropertyByString(
|
|
28
|
+
theme.palette,
|
|
29
|
+
disabled ? "default" : componentPaletteColor,
|
|
30
|
+
theme.palette.default
|
|
31
|
+
);
|
|
26
32
|
const ownerState = {
|
|
27
33
|
variant,
|
|
28
|
-
size,
|
|
34
|
+
size: adjustedSize,
|
|
29
35
|
disabled,
|
|
30
36
|
paletteColor,
|
|
31
37
|
componentPaletteColor
|
|
@@ -34,20 +40,53 @@ const IconButton = (props) => {
|
|
|
34
40
|
() => evalIconColor(componentPaletteColor, variant),
|
|
35
41
|
[componentPaletteColor, variant]
|
|
36
42
|
);
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
43
|
+
return /* @__PURE__ */ jsx(Fragment, { children: tooltipContent ? /* @__PURE__ */ jsx(
|
|
44
|
+
TooltipStyled,
|
|
45
|
+
{
|
|
46
|
+
title: tooltipContent.toString(),
|
|
47
|
+
ownerState: {},
|
|
48
|
+
placement,
|
|
49
|
+
children: /* @__PURE__ */ jsx(
|
|
50
|
+
StyledMUIIconButton,
|
|
51
|
+
{
|
|
52
|
+
ownerState: { ...ownerState },
|
|
53
|
+
onClick: !disabled ? onClick : void 0,
|
|
54
|
+
disableRipple: true,
|
|
55
|
+
disabled,
|
|
56
|
+
"data-testid": "IconButtonRoot",
|
|
57
|
+
tabIndex: 0,
|
|
58
|
+
...other,
|
|
59
|
+
children: badgeContent ? /* @__PURE__ */ jsx(
|
|
60
|
+
BadgeStyled,
|
|
61
|
+
{
|
|
62
|
+
ownerState: { ...ownerState },
|
|
63
|
+
badgeContent,
|
|
64
|
+
componentPaletteColor,
|
|
65
|
+
children: /* @__PURE__ */ jsx(
|
|
66
|
+
IconStyled,
|
|
67
|
+
{
|
|
68
|
+
ownerState: { ...ownerState },
|
|
69
|
+
src,
|
|
70
|
+
size: adjustedSize,
|
|
71
|
+
color: iconColor,
|
|
72
|
+
disabled
|
|
73
|
+
}
|
|
74
|
+
)
|
|
75
|
+
}
|
|
76
|
+
) : /* @__PURE__ */ jsx(
|
|
77
|
+
IconStyled,
|
|
78
|
+
{
|
|
79
|
+
ownerState: { ...ownerState },
|
|
80
|
+
src,
|
|
81
|
+
size: adjustedSize,
|
|
82
|
+
color: iconColor,
|
|
83
|
+
disabled
|
|
84
|
+
}
|
|
85
|
+
)
|
|
86
|
+
}
|
|
87
|
+
)
|
|
47
88
|
}
|
|
48
|
-
|
|
49
|
-
}, [tooltip, dictionaryTooltipId, getLabel, disabled]);
|
|
50
|
-
return /* @__PURE__ */ jsx(
|
|
89
|
+
) : /* @__PURE__ */ jsx(
|
|
51
90
|
StyledMUIIconButton,
|
|
52
91
|
{
|
|
53
92
|
ownerState: { ...ownerState },
|
|
@@ -57,7 +96,7 @@ const IconButton = (props) => {
|
|
|
57
96
|
"data-testid": "IconButtonRoot",
|
|
58
97
|
tabIndex: 0,
|
|
59
98
|
...other,
|
|
60
|
-
children:
|
|
99
|
+
children: badgeContent ? /* @__PURE__ */ jsx(
|
|
61
100
|
BadgeStyled,
|
|
62
101
|
{
|
|
63
102
|
ownerState: { ...ownerState },
|
|
@@ -68,11 +107,9 @@ const IconButton = (props) => {
|
|
|
68
107
|
{
|
|
69
108
|
ownerState: { ...ownerState },
|
|
70
109
|
src,
|
|
71
|
-
size:
|
|
110
|
+
size: adjustedSize,
|
|
72
111
|
color: iconColor,
|
|
73
|
-
disabled
|
|
74
|
-
tooltipContent: finalTooltip,
|
|
75
|
-
rotationAngle
|
|
112
|
+
disabled
|
|
76
113
|
}
|
|
77
114
|
)
|
|
78
115
|
}
|
|
@@ -81,14 +118,13 @@ const IconButton = (props) => {
|
|
|
81
118
|
{
|
|
82
119
|
ownerState: { ...ownerState },
|
|
83
120
|
src,
|
|
84
|
-
size:
|
|
121
|
+
size: adjustedSize,
|
|
85
122
|
color: iconColor,
|
|
86
|
-
disabled
|
|
87
|
-
tooltipContent: finalTooltip
|
|
123
|
+
disabled
|
|
88
124
|
}
|
|
89
125
|
)
|
|
90
126
|
}
|
|
91
|
-
);
|
|
127
|
+
) });
|
|
92
128
|
};
|
|
93
129
|
export {
|
|
94
130
|
IconButton as I
|