@m4l/components 9.4.30 → 9.4.31
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/augmentations.d.ts +1 -31
- package/@types/augmentations.d.ts.map +1 -1
- package/components/DynamicFilter/store/DynamicFilterContext.js +66 -281
- package/components/DynamicFilter/subcomponents/FieldTypes/SelectAsyncFilter/index.js +3 -2
- package/components/DynamicFilter/subcomponents/FieldTypes/SelectFilter/index.js +3 -2
- package/components/DynamicSort/dictionary.js +7 -6
- package/components/DynamicSort/store/DynamicSortContext.js +47 -263
- package/components/MFIsolationApp/MFIsolationApp.d.ts.map +1 -1
- package/components/MFIsolationApp/MFIsolationApp.js +18 -17
- package/components/MFIsolationAppStorybook/MFIsolationAppStorybook.d.ts.map +1 -1
- package/components/MFIsolationAppStorybook/MFIsolationAppStorybook.js +10 -9
- package/components/MFIsolationAppStorybook/index.d.ts +3 -0
- package/components/MFIsolationAppStorybook/index.d.ts.map +1 -1
- package/components/MFIsolationAppStorybook/subcomponents/MFAppStorybook/MFAppStorybook.d.ts +6 -0
- package/components/MFIsolationAppStorybook/subcomponents/MFAppStorybook/MFAppStorybook.d.ts.map +1 -0
- package/components/MFIsolationAppStorybook/subcomponents/{MFAuthAppStorybook/MFAuthAppStorybook.js → MFAppStorybook/MFAppStorybook.js} +1 -1
- package/components/MFIsolationAppStorybook/subcomponents/MFAppStorybook/index.d.ts +2 -0
- package/components/MFIsolationAppStorybook/subcomponents/{MFAuthAppStorybook → MFAppStorybook}/index.d.ts.map +1 -1
- package/components/MFIsolationAppStorybook/subcomponents/MFAppStorybook/types.d.ts.map +1 -0
- package/components/NoItemPrivileges/NoItemPrivileges.js +12 -228
- package/components/ObjectLogs/hooks/useObjectLogsColumns.js +19 -156
- package/components/ObjectLogs/subcomponents/ObjectLogsByM4L/ObjectLogsByM4L.js +8 -145
- package/components/ObjectLogs/subcomponents/ObjectLogsByOthers/ObjectLogsByOthers.js +8 -145
- package/components/Stepper/subcomponents/StepArea/subcomponents/Inidicator/index.js +12 -192
- package/components/areas/components/AreasAdmin/subcomponents/AreaChip/AreaChip.js +1 -0
- package/components/areas/components/AreasAdmin/subcomponents/AreaChipMobile/subcomponents/ChipMobile/ChipMobile.js +1 -0
- package/components/areas/components/AreasViewer/AreasViewer.js +8 -187
- package/components/datagrids/formatters/ColumnBooleanFormatter/ColumnBooleanGroupFormatter.js +2 -166
- package/components/datagrids/formatters/ColumnBooleanFormatter/formatter.js +2 -166
- package/components/datagrids/formatters/ColumnColorFormatter/ColumnColorGroupFormatter.js +2 -167
- package/components/datagrids/formatters/ColumnColorFormatter/formatter.js +2 -167
- package/components/datagrids/formatters/ColumnConcatenatedValuesFormatter/ColumnConcatenatedValuesGroupFormatter.js +2 -166
- package/components/datagrids/formatters/ColumnConcatenatedValuesFormatter/formatter.js +2 -166
- package/components/datagrids/formatters/ColumnDateFormatter/ColumnDateGroupFormatter.js +2 -166
- package/components/datagrids/formatters/ColumnDateFormatter/formatter.js +2 -166
- package/components/datagrids/formatters/ColumnImageFormatter/ColumnImageGroupFormatter.js +2 -166
- package/components/datagrids/formatters/ColumnImageFormatter/ImageFormatterCell.js +7 -170
- package/components/datagrids/formatters/ColumnUncertaintyFormatter/ColumnUncertaintyGroupFormatter.js +2 -166
- package/components/datagrids/formatters/ColumnUncertaintyFormatter/formatter.js +2 -166
- package/components/datagrids/views/CardsView/hooks/useCardContent/useCardContent.js +36 -216
- package/components/datagrids/views/CardsView/subcomponents/CardDetails/CardDetails.js +36 -216
- package/components/datagrids/views/CardsView/subcomponents/Settings/subcomponents/ColumnsConfig/ColumnsConfig.js +122 -278
- package/components/datagrids/views/TableView/subcomponents/Settings/subcomponents/ColumnsConfig/ColumnsConfig.js +127 -284
- package/components/extended/index.d.ts +1 -0
- package/components/extended/index.d.ts.map +1 -1
- package/components/extended/rsuite/DateRangePicker/DateRangePicker.d.ts +38 -0
- package/components/extended/rsuite/DateRangePicker/DateRangePicker.d.ts.map +1 -0
- package/components/extended/rsuite/DateRangePicker/DateRangePicker.js +67 -0
- package/components/extended/rsuite/DateRangePicker/DateRangePicker.styles.d.ts +7 -0
- package/components/extended/rsuite/DateRangePicker/DateRangePicker.styles.d.ts.map +1 -0
- package/components/extended/rsuite/DateRangePicker/DateRangePicker.styles.js +83 -0
- package/components/extended/rsuite/DateRangePicker/constants.d.ts +13 -0
- package/components/extended/rsuite/DateRangePicker/constants.d.ts.map +1 -0
- package/components/extended/rsuite/DateRangePicker/constants.js +10 -0
- package/components/extended/rsuite/DateRangePicker/hooks/useDateRangePicker/types.d.ts +12 -0
- package/components/extended/rsuite/DateRangePicker/hooks/useDateRangePicker/types.d.ts.map +1 -0
- package/components/extended/rsuite/DateRangePicker/hooks/useDateRangePicker/useDateRangePicker.d.ts +10 -0
- package/components/extended/rsuite/DateRangePicker/hooks/useDateRangePicker/useDateRangePicker.d.ts.map +1 -0
- package/components/extended/rsuite/DateRangePicker/hooks/useDateRangePicker/useDateRangePicker.js +24 -0
- package/components/extended/rsuite/DateRangePicker/index.d.ts +3 -0
- package/components/extended/rsuite/DateRangePicker/index.d.ts.map +1 -0
- package/components/extended/rsuite/DateRangePicker/slots/DateRangePickerEnum.d.ts +5 -0
- package/components/extended/rsuite/DateRangePicker/slots/DateRangePickerEnum.d.ts.map +1 -0
- package/components/extended/rsuite/DateRangePicker/slots/DateRangePickerEnum.js +4 -0
- package/components/extended/rsuite/DateRangePicker/slots/DateRangePickerSlots.d.ts +15 -0
- package/components/extended/rsuite/DateRangePicker/slots/DateRangePickerSlots.d.ts.map +1 -0
- package/components/extended/rsuite/DateRangePicker/slots/DateRangePickerSlots.js +18 -0
- package/components/extended/rsuite/DateRangePicker/slots/index.d.ts +4 -0
- package/components/extended/rsuite/DateRangePicker/slots/index.d.ts.map +1 -0
- package/components/extended/rsuite/DateRangePicker/types.d.ts +83 -0
- package/components/extended/rsuite/DateRangePicker/types.d.ts.map +1 -0
- package/components/extended/rsuite/index.d.ts +2 -0
- package/components/extended/rsuite/index.d.ts.map +1 -0
- package/components/formatters/TagsFormatter/TagsFormatter.js +2 -182
- package/components/hook-form/RHFDateRangePicker/RHFDateRangePicker.d.ts +29 -0
- package/components/hook-form/RHFDateRangePicker/RHFDateRangePicker.d.ts.map +1 -0
- package/components/hook-form/RHFDateRangePicker/RHFDateRangePicker.js +6 -0
- package/components/hook-form/RHFDateRangePicker/index.d.ts +3 -0
- package/components/hook-form/RHFDateRangePicker/index.d.ts.map +1 -0
- package/components/hook-form/RHFDateTimePicker/RHFDateTimePicker.js +3 -2
- package/components/hook-form/index.d.ts +1 -0
- package/components/hook-form/index.d.ts.map +1 -1
- package/hooks/useDataGridPersistence/useDataGridPersistence.d.ts +2 -1
- package/hooks/useDataGridPersistence/useDataGridPersistence.d.ts.map +1 -1
- package/hooks/useDataGridPersistence/useDataGridPersistence.js +33 -254
- package/index.js +333 -327
- package/package.json +13 -12
- package/components/MFIsolationAppStorybook/subcomponents/MFAuthAppStorybook/MFAuthAppStorybook.d.ts +0 -6
- package/components/MFIsolationAppStorybook/subcomponents/MFAuthAppStorybook/MFAuthAppStorybook.d.ts.map +0 -1
- package/components/MFIsolationAppStorybook/subcomponents/MFAuthAppStorybook/index.d.ts +0 -2
- package/components/MFIsolationAppStorybook/subcomponents/MFAuthAppStorybook/types.d.ts.map +0 -1
- package/mockServiceWorker.js +0 -349
- /package/components/MFIsolationAppStorybook/subcomponents/{MFAuthAppStorybook → MFAppStorybook}/types.d.ts +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { jsxs as x, jsx as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { useModuleDictionary as
|
|
4
|
-
import
|
|
1
|
+
import { jsxs as x, jsx as p } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { forwardRef as ee, useRef as z, useState as _, useImperativeHandle as oe, useMemo as M, useEffect as te } from "react";
|
|
3
|
+
import { useModuleDictionary as re, useEnvironment as ne } from "@m4l/core";
|
|
4
|
+
import ie from "react-data-grid";
|
|
5
5
|
import { IconButton as S } from "../../../../../../../extended/mui/IconButton/IconButton.js";
|
|
6
6
|
import "clsx";
|
|
7
7
|
import "../../../../../../../formatters/BooleanFormatter/slots/BooleanFormatterSlots.js";
|
|
@@ -52,191 +52,34 @@ import "../../../../../../../CommonActions/components/ActionIntro/ActionIntro.js
|
|
|
52
52
|
import "../../../../../../../CommonActions/components/ActionFormCancel/slots/ActionFormCancelSlots.js";
|
|
53
53
|
import "../../../../../../../CommonActions/components/ActionFormIntro/slots/ActionFormIntroSlots.js";
|
|
54
54
|
import "../../../../../../../CommonActions/components/ActionFormSubmitProgrammatic/slots/ActionFormSubmitProgrammaticSlots.js";
|
|
55
|
-
import "../../../../../../../AccountPopover/slots/AccountPopoverSlots.js";
|
|
56
|
-
import "../../../../../../../animate/IconButtonAnimate/index.js";
|
|
57
|
-
import "framer-motion";
|
|
58
|
-
import "@mui/material/styles";
|
|
59
|
-
import "../../../../../../../animate/LoadingScreen/styles.js";
|
|
60
|
-
import "../../../../../../../animate/AnimatedScroll/styles.js";
|
|
61
|
-
import "../../../../../../../AppBar/slots/AppBarSlots.js";
|
|
62
|
-
import "../../../../../../../areas/contexts/AreasContext/index.js";
|
|
63
|
-
import "../../../../../../../areas/components/AreasAdmin/subcomponents/AreaChip/AreaChip.js";
|
|
64
|
-
import "../../../../../../../areas/components/AreasAdmin/subcomponents/AreaChipMobile/subcomponents/ChipMobile/ChipMobile.js";
|
|
65
|
-
import "../../../../../../../areas/components/AreasAdmin/slots/AreasAdminSlots.js";
|
|
66
|
-
import "../../../../../../../extended/mui/Typography/Typography.js";
|
|
67
|
-
import "../../../../../../../MenuActions/MenuActions.js";
|
|
68
|
-
import "../../../../../../../areas/components/AreasViewer/AreasViewer.js";
|
|
69
|
-
import "../../../../../../../Card/slots/CardSlots.js";
|
|
70
|
-
import "../../../../../../../Card/constants.js";
|
|
71
|
-
import "../../../../../../../CheckableList/constants.js";
|
|
72
|
-
import "../../../../../../../CheckableList/slots/styled.js";
|
|
73
|
-
import "../../../../../../../extended/mui/Skeleton/Slots/skeletonSlots.js";
|
|
74
|
-
import "../../../../../../../ImageText/slots/ImageTextSlots.js";
|
|
75
|
-
import "../../../../../../../ImageText/constants.js";
|
|
76
55
|
import "lodash-es/throttle";
|
|
77
|
-
import "../../../../../../../Chip/Chip.js";
|
|
78
|
-
import "../../../../../../../commercial/AppBarCommercial/classes/index.js";
|
|
79
|
-
import "../../../../../../../commercial/AppBarCommercial/styles.js";
|
|
80
|
-
import "../../../../../../../commercial/HamburgerMenu/styles.js";
|
|
81
|
-
import "../../../../../../../commercial/HamburgerMenu/classes/index.js";
|
|
82
|
-
import "../../../../../../../SideBar/SideBar.js";
|
|
83
|
-
import "../../../../../../../commercial/TopBar/classes/index.js";
|
|
84
|
-
import "../../../../../../../commercial/TopBar/context/index.js";
|
|
85
|
-
import "../../../../../../../extended/mui/Popover/slots/PopoverSlots.js";
|
|
86
|
-
import "../../../../../../../extended/mui/Accordion/Accordion.js";
|
|
87
|
-
import "../../../../../../../extended/mui/Button/Button.js";
|
|
88
|
-
import "../../../../../../../commercial/TopBar/component/ConteinItem/subcomponets/NavItem/subcomponents/ArrowIcon/styles.js";
|
|
89
|
-
import "../../../../../../../commercial/TopBar/style.js";
|
|
90
|
-
import "../../../../../../../commercial/SectionCommercial/classes/index.js";
|
|
91
|
-
import "../../../../../../../commercial/SectionCommercial/styles.js";
|
|
92
|
-
import "../../../../../../../ContainerFlow/constants.js";
|
|
93
|
-
import "../../../../../../../ContainerFlow/slots/ContainerFlowSlots.js";
|
|
94
|
-
import "../../../../../../contexts/FilterContext/FilterContext.js";
|
|
95
|
-
import "../../../../../../contexts/DataGridContext/DataGridContext.js";
|
|
96
|
-
import { pathIcons as I } from "../../../../../../icons.js";
|
|
97
|
-
import { DICTIONARY as n } from "../../../../../../dictionary.js";
|
|
98
|
-
import "@m4l/icons";
|
|
99
|
-
import { ColumnsConfigWrapperStyled as mo, ColumnsConfigDataGridStyled as no, ColumnsConfigSelColumnsStyled as lo, TableWrapperDataGridStyled as so, ColumnsConfigActiosStyled as ao } from "../../../../../../slots/DataGridSlot.js";
|
|
100
|
-
import "../../../../../CardsView/subcomponents/Settings/subcomponents/ColumnsConfig/ColumnsConfig.js";
|
|
101
|
-
import "../../../../../../../Pager/slots/PagerSlots.js";
|
|
102
|
-
import "../../../../../../../extended/mui/Select/Select.js";
|
|
103
|
-
import "../../../../../CardsView/subcomponents/CardRow/CardRow.js";
|
|
104
|
-
import "react-dnd";
|
|
105
|
-
import "react-dnd-html5-backend";
|
|
106
|
-
import "../../../CheckboxFormatter/CheckboxFormatter.js";
|
|
107
|
-
import "../../../ActionsColumn/ActionsColumn.js";
|
|
108
|
-
import "../../../RadioSelectColumn/subcomponents/RadioFormatter/RadioFormatter.js";
|
|
109
|
-
import "../../../../../../../extended/mui/MenuItem/constants.js";
|
|
110
|
-
import "../../../../../../../extended/mui/MenuItem/slots/MenuItemSlots.js";
|
|
111
|
-
import "../../../../../../../extended/mui/MenuDivider/slots/MenuDividerSlots.js";
|
|
112
|
-
import "../../../../../../../DaysOfWeekPicker/DaysOfWeekPicker.js";
|
|
113
|
-
import "../../../../../../../DragResizeWindowRND/DragResizeWindowRND.js";
|
|
114
|
-
import "../../../../../../../DaysOfMonthPicker/DaysOfMonthPicker.js";
|
|
115
|
-
import "lodash-es/snakeCase";
|
|
116
|
-
import "lodash-es/camelCase";
|
|
117
|
-
import "../../../../../../../HelperError/HelperError.js";
|
|
118
|
-
import "../../../../../../../extended/mui/Autocomplete/Autocomplete.js";
|
|
119
|
-
import "../../../../../../../hook-form/RHFAutocomplete/slots/RHFAutocompleteSlots.js";
|
|
120
|
-
import "../../../../../../../hook-form/RHFAutocomplete/constants.js";
|
|
121
56
|
import "../../../../../../../Color/slots/ColorSlots.js";
|
|
122
|
-
import "../../../../../../../Label/slots/LabelSlots.js";
|
|
123
|
-
import "../../../../../../../hook-form/RHFColorPicker/slots/RHFColorPickerSlots.js";
|
|
124
|
-
import "lodash-es/debounce";
|
|
125
|
-
import "../../../../../../../hook-form/RHFCheckbox/RHFCheckbox.js";
|
|
126
|
-
import "../../../../../../../hook-form/RHFCheckableList/constants.js";
|
|
127
|
-
import "../../../../../../../hook-form/RHFCheckableList/slots/RHFCheckableListSlots.js";
|
|
128
|
-
import "../../../../../../../extended/mui/DateTimePicker/slots/DateTimePickerSlots.js";
|
|
129
|
-
import "../../../../../../../hook-form/RHFDateTime/slots/RHFDateTimeSlots.js";
|
|
130
|
-
import "../../../../../../../extended/mui/DatePicker/slots/DatePickerSlots.js";
|
|
131
|
-
import "../../../../../../../extended/mui/DatePicker/constants.js";
|
|
132
|
-
import "../../../../../../../hook-form/RHFDatePicker/slots/RHFDatePickerSlots.js";
|
|
133
|
-
import "../../../../../../../hook-form/RHFDaysOfWeekPicker/RHFDaysOfWeekPicker.js";
|
|
134
|
-
import "../../../../../../../hook-form/RHFDaysOfMonthPicker/RHFDaysOfMonthPicker.js";
|
|
135
|
-
import "../../../../../../../hook-form/RHFSelect/constants.js";
|
|
136
|
-
import "../../../../../../../hook-form/RHFSelect/slots/RHFSlots.js";
|
|
137
|
-
import "../../../../../../../hook-form/RHFTextField/RHFTextField.js";
|
|
138
|
-
import "../../../../../../../hook-form/RHFTextFieldPassword/slots/RHFTextFieldPasswordSlots.js";
|
|
139
|
-
import "../../../../../../../hook-form/RHFPeriod/slots/RHFPeriodSlots.js";
|
|
140
|
-
import "../../../../../../../extended/mui/Radio/Radio.js";
|
|
141
|
-
import "../../../../../../../hook-form/RHFRadioGroup/slots/styled.js";
|
|
142
|
-
import "../../../../../../../hook-form/RHFRadioGroup/constants.js";
|
|
143
|
-
import "@mui/material/utils/useId";
|
|
144
|
-
import "../../../../../../../NumberInput/NumberInput.js";
|
|
145
|
-
import "../../../../../../../hook-form/RHFNumberInput/slots/RHFNumberInputSlots.js";
|
|
146
|
-
import "react-dropzone";
|
|
147
|
-
import "../../../../../../../hook-form/RHFUpload/RHFUploadSingleFile/slots/RHFUploadSingleFileSlots.js";
|
|
148
|
-
import "../../../../../../../hook-form/RHFUpload/RHFUploadSingleFile/constants.js";
|
|
149
|
-
import "../../../../../../../hook-form/RHFUpload/RHFUploadImage/slots/RHFUploadImageSlots.js";
|
|
150
|
-
import "lodash-es/isString";
|
|
151
|
-
import "../../../../../../../Image/subcomponents/IntersectComponent/index.js";
|
|
152
|
-
import "../../../../../../../Image/slots/ImageSlots.js";
|
|
153
|
-
import "../../../../../../../Image/constant.js";
|
|
154
|
-
import "../../../../../../../hook-form/RHFormProvider/RHFormProvider.js";
|
|
155
|
-
import "yup";
|
|
156
|
-
import "../../../../../../../hook-form/RHFActionsGroup/slots/RHFActionsGroupSlots.js";
|
|
157
|
-
import "../../../../../../../hook-form/RHFActionsGroup/constants.js";
|
|
158
|
-
import "../../../../../../../extended/React-Resizable/Resizable/slots/ResizableSlots.js";
|
|
159
|
-
import "../../../../../../../extended/React-Resizable/ResizableBox/slots/ResizableBoxSlots.js";
|
|
160
|
-
import "../../../../../../../extended/React-resizable-panels/slots/SplitLayoutSlots.js";
|
|
161
|
-
import "../../../../../../../extended/React-Spinners/PropagateLoaderSpinner/slots/PropagateLoaderSpinnerSlots.js";
|
|
162
|
-
import "../../../../../../../extended/React-Window/FixedSizeList/slots/FixedSizeListSlots.js";
|
|
163
|
-
import "../../../../../../../extended/React-Window/VariableSizeList/VariableSizeList.js";
|
|
164
|
-
import "@textea/json-viewer";
|
|
165
|
-
import "../../../../../../../extended/React-Json-Viewer/slots/ReactJsonViewerSlots.js";
|
|
166
|
-
import "../../../../../../../extended/React-Json-Viewer/constants.js";
|
|
167
|
-
import "../../../../../../../extended/mui/Avatar/Avatar.js";
|
|
168
|
-
import "react-router-dom";
|
|
169
|
-
import "../../../../../../../extended/mui/CheckBox/CheckBox.js";
|
|
170
|
-
import "../../../../../../../extended/mui/CircularProgress/slots/CircularProgressSlots.js";
|
|
171
|
-
import "../../../../../../../extended/mui/Badge/slots/BadgeSlots.js";
|
|
172
|
-
import "../../../../../../../extended/mui/ImageButton/styles.js";
|
|
173
|
-
import "../../../../../../../extended/mui/ImageButton/utils/Clases/index.js";
|
|
174
|
-
import "../../../../../../../extended/mui/LoadingButton/slots/LoadingButtonSlots.js";
|
|
175
|
-
import "../../../../../../../extended/mui/Stack/Stack.js";
|
|
176
|
-
import "../../../../../../../extended/mui/Tab/Slots/TabSlots.js";
|
|
177
|
-
import "../../../../../../../extended/mui/Tabs/slots/TabsSlots.js";
|
|
178
|
-
import "../../../../../../../extended/mui/TabContent/slots/TabContentSlots.js";
|
|
179
|
-
import "../../../../../../../extended/mui/ToggleButton/slots/ToggleButtonSlots.js";
|
|
180
|
-
import "../../../../../../../extended/mui/NavLink/slots/NavLinkSlots.js";
|
|
181
|
-
import "../../../../../../../extended/mui/NavLink/constants.js";
|
|
182
|
-
import "../../../../../../../extended/mui/Dialog/Dialog.js";
|
|
183
|
-
import "../../../../../../../extended/mui/Divider/slots/DividerSlots.js";
|
|
184
|
-
import "../../../../../../../FormContainer/slots/FormContainerSlots.js";
|
|
185
|
-
import "../../../../../../../FormContainer/constants.js";
|
|
186
|
-
import "../../../../../../../GridLayout/GridLayout.js";
|
|
187
|
-
import "../../../../../../../GridLayout/subcomponents/Responsive/index.js";
|
|
188
|
-
import "../../../../../../../HelmetPage/index.js";
|
|
189
|
-
import "../../../../../../../LanguagePopover/slots/LanguagePopoverSlots.js";
|
|
190
|
-
import "../../../../../../../LinearProgressIndeterminate/slots/LinearProgressIndeterminateSlots.js";
|
|
191
|
-
import "../../../../../../../LoadingError/slots/LoadingErrorSlots.js";
|
|
192
|
-
import "../../../../../../../MFIsolationApp/MFIsolationApp.js";
|
|
193
|
-
import "../../../../../../../MFIsolationAppStorybook/MFIsolationAppStorybook.js";
|
|
194
|
-
import "../../../../../../../MFLoader/classes/index.js";
|
|
195
|
-
import "../../../../../../../MFLoader/styles.js";
|
|
196
|
-
import "../../../../../../../NoItemSelected/constant.js";
|
|
197
|
-
import "../../../../../../../NoItemSelected/slots/NoItemSelectedSlots.js";
|
|
198
|
-
import "../../../../../../../NoItemPrivileges/constants.js";
|
|
199
|
-
import "../../../../../../../NoItemPrivileges/slots/NoItemPrivilegesSlots.js";
|
|
200
|
-
import "../../../../../../../ObjectLogs/slots/ObjectLogsSlots.js";
|
|
201
|
-
import "../../../../../../../formatters/IconsFormatter/constants.js";
|
|
202
|
-
import "../../../../../../../formatters/IconsFormatter/slots/IconsFormatterSlots.js";
|
|
203
|
-
import "date-fns";
|
|
204
|
-
import "../../../../../../../PaperForm/slots/PaperFormSlots.js";
|
|
205
|
-
import "../../../../../../../PropertyValue/slots/PropertyValueSlots.js";
|
|
206
|
-
import "../../../../../../../PDFViewer/slots/PDFViewerSlots.js";
|
|
207
|
-
import "../../../../../../../popups/components/PopupsProvider/contexts/PopupsContext/PopupsContext.js";
|
|
208
|
-
import "../../../../../../../popups/components/PopupsViewer/PopupsViewer.js";
|
|
209
|
-
import "../../../../../../../PrintingSystem/PrintingSystem.js";
|
|
210
|
-
import "../../../../../../../ScrollBar/slots/ScrollBarSlots.js";
|
|
211
|
-
import "react-toastify";
|
|
212
|
-
import "../../../../../../../ToastContainer/slots/toastContainerSlots.js";
|
|
213
|
-
import "../../../../../../../TabsNavigator/slots/TabsNavigatorSlots.js";
|
|
214
|
-
import "../../../../../../../TabsNavigator/constants.js";
|
|
215
|
-
import "../../../../../../../ModalDialog/slots/ModalDialogSlots.js";
|
|
216
|
-
import "../../../../../../../SettingsLayout/slots/SettingsLayoutSlots.js";
|
|
217
|
-
import "../../../../../../../SettingsLayout/constants.js";
|
|
218
|
-
import "../../../../../../../Stepper/store/StepperContext/index.js";
|
|
219
|
-
import "../../../../../../../Stepper/slots/StepperSlot.js";
|
|
220
57
|
import "../../../../../../../formatters/ColorFormatter/slots/ColorFormatterSlots.js";
|
|
221
58
|
import "../../../../../../../formatters/ImageFormatter/slots/ImageFormatterSlots.js";
|
|
222
59
|
import "../../../../../../../formatters/ImageFormatter/constants.js";
|
|
60
|
+
import "../../../../../../../formatters/IconsFormatter/constants.js";
|
|
61
|
+
import "../../../../../../../formatters/IconsFormatter/slots/IconsFormatterSlots.js";
|
|
223
62
|
import { ColumnInteractiveCheckFormatter as N } from "../../../../../../formatters/ColumnInteractiveCheckFormatter/formatter.js";
|
|
224
63
|
import "../../../../../adapters/CheckboxCellAdapter/CheckboxCellAdapter.js";
|
|
64
|
+
import "../../../../../../contexts/DataGridContext/DataGridContext.js";
|
|
65
|
+
import { pathIcons as I } from "../../../../../../icons.js";
|
|
66
|
+
import { ColumnsConfigWrapperStyled as le, ColumnsConfigDataGridStyled as se, ColumnsConfigSelColumnsStyled as ae, TableWrapperDataGridStyled as pe, ColumnsConfigActiosStyled as me } from "../../../../../../slots/DataGridSlot.js";
|
|
67
|
+
import { DICTIONARY as s } from "../../../../../../dictionary.js";
|
|
225
68
|
function A(C, d) {
|
|
226
|
-
return C.filter((
|
|
227
|
-
const c = d.find((b) => b.key ===
|
|
69
|
+
return C.filter((r) => !r.hidden).map((r) => {
|
|
70
|
+
const c = d.find((b) => b.key === r.key)?.groupable === !0, h = r.grouped === !0;
|
|
228
71
|
return {
|
|
229
|
-
key:
|
|
230
|
-
name: d?.find((b) => b.key ===
|
|
231
|
-
visible:
|
|
232
|
-
frozen:
|
|
72
|
+
key: r.key,
|
|
73
|
+
name: d?.find((b) => b.key === r.key)?.name ?? "",
|
|
74
|
+
visible: r.visible === void 0 ? !0 : r.visible,
|
|
75
|
+
frozen: r.frozen === void 0 ? !1 : r.frozen,
|
|
233
76
|
grouped: h,
|
|
234
77
|
// Checkbox habilitado solo si groupable=true
|
|
235
78
|
groupable: c,
|
|
236
|
-
originalIndex:
|
|
237
|
-
originalFrozen:
|
|
238
|
-
originalVisible:
|
|
239
|
-
originalGrouped:
|
|
79
|
+
originalIndex: r.originalIndex,
|
|
80
|
+
originalFrozen: r.originalFrozen,
|
|
81
|
+
originalVisible: r.originalVisible,
|
|
82
|
+
originalGrouped: r.originalGrouped ?? !1
|
|
240
83
|
};
|
|
241
84
|
});
|
|
242
85
|
}
|
|
@@ -246,9 +89,9 @@ const w = (C) => {
|
|
|
246
89
|
cellClass: d,
|
|
247
90
|
headerCellClass: d
|
|
248
91
|
};
|
|
249
|
-
},
|
|
92
|
+
}, de = ee(
|
|
250
93
|
(C, d) => {
|
|
251
|
-
const
|
|
94
|
+
const r = z(null), {
|
|
252
95
|
onCloseSettings: E,
|
|
253
96
|
columnsConfig: c,
|
|
254
97
|
onChangeColumnsConfig: h,
|
|
@@ -256,18 +99,18 @@ const w = (C) => {
|
|
|
256
99
|
classes: F,
|
|
257
100
|
size: G,
|
|
258
101
|
columns: k
|
|
259
|
-
} = C, { getLabel:
|
|
102
|
+
} = C, { getLabel: l } = re(), [U, V] = _(!0), [t, m] = _(
|
|
260
103
|
A(c, k)
|
|
261
|
-
), [y, D] = _(() => /* @__PURE__ */ new Set()), R = z(null), { host_static_assets: u, environment_assets: f } =
|
|
262
|
-
|
|
104
|
+
), [y, D] = _(() => /* @__PURE__ */ new Set()), R = z(null), { host_static_assets: u, environment_assets: f } = ne();
|
|
105
|
+
oe(d, () => ({
|
|
263
106
|
onClickIntro: Z,
|
|
264
107
|
current: R.current
|
|
265
108
|
}));
|
|
266
109
|
const P = M(() => {
|
|
267
|
-
const
|
|
110
|
+
const e = [
|
|
268
111
|
{
|
|
269
112
|
key: "name",
|
|
270
|
-
name:
|
|
113
|
+
name: l(s.SETTINGS_COLUMN_NAME),
|
|
271
114
|
width: 220,
|
|
272
115
|
resizable: !0,
|
|
273
116
|
type: "string",
|
|
@@ -275,14 +118,14 @@ const w = (C) => {
|
|
|
275
118
|
},
|
|
276
119
|
{
|
|
277
120
|
key: "originalIndex",
|
|
278
|
-
name:
|
|
121
|
+
name: l(s.SETTINGS_COLUMN_POSITION),
|
|
279
122
|
width: 70,
|
|
280
123
|
type: "number",
|
|
281
124
|
...w("center")
|
|
282
125
|
},
|
|
283
126
|
{
|
|
284
127
|
key: "visible",
|
|
285
|
-
name:
|
|
128
|
+
name: l(s.SETTINGS_COLUMN_VISIBLE),
|
|
286
129
|
width: 80,
|
|
287
130
|
type: "boolean",
|
|
288
131
|
renderCell: N,
|
|
@@ -290,7 +133,7 @@ const w = (C) => {
|
|
|
290
133
|
},
|
|
291
134
|
{
|
|
292
135
|
key: "frozen",
|
|
293
|
-
name:
|
|
136
|
+
name: l(s.SETTINGS_COLUMNS_FROZEN),
|
|
294
137
|
width: 80,
|
|
295
138
|
type: "boolean",
|
|
296
139
|
renderCell: N,
|
|
@@ -298,193 +141,193 @@ const w = (C) => {
|
|
|
298
141
|
}
|
|
299
142
|
];
|
|
300
143
|
return k.some(
|
|
301
|
-
(
|
|
302
|
-
) &&
|
|
144
|
+
(o) => o.groupable === !0 || o.grouped === !0
|
|
145
|
+
) && e.push({
|
|
303
146
|
key: "grouped",
|
|
304
|
-
name:
|
|
147
|
+
name: l(s.SETTINGS_COLUMN_GROUP),
|
|
305
148
|
width: 80,
|
|
306
149
|
type: "boolean",
|
|
307
150
|
renderCell: N,
|
|
308
151
|
// disabledKey hace que el checkbox esté deshabilitado cuando groupable=false
|
|
309
152
|
disabledKey: "groupable",
|
|
310
153
|
...w("center")
|
|
311
|
-
}),
|
|
312
|
-
}, [
|
|
313
|
-
|
|
154
|
+
}), e;
|
|
155
|
+
}, [l, k]), B = () => {
|
|
156
|
+
m(t.map((e) => ({ ...e, visible: !0 })));
|
|
314
157
|
}, W = () => {
|
|
315
|
-
|
|
158
|
+
m(t.map((e) => ({ ...e, visible: !1 })));
|
|
316
159
|
}, K = () => {
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
...
|
|
320
|
-
visible:
|
|
321
|
-
frozen:
|
|
322
|
-
grouped:
|
|
323
|
-
index:
|
|
324
|
-
})).sort((
|
|
160
|
+
m(
|
|
161
|
+
t.map((e) => ({
|
|
162
|
+
...e,
|
|
163
|
+
visible: e.originalVisible,
|
|
164
|
+
frozen: e.originalFrozen,
|
|
165
|
+
grouped: e.originalGrouped,
|
|
166
|
+
index: e.originalIndex
|
|
167
|
+
})).sort((e, n) => e.index - n.index)
|
|
325
168
|
);
|
|
326
169
|
};
|
|
327
|
-
|
|
328
|
-
U === !1 &&
|
|
170
|
+
te(() => {
|
|
171
|
+
U === !1 && m(
|
|
329
172
|
A(c, k)
|
|
330
173
|
), V(!1);
|
|
331
174
|
}, [c]);
|
|
332
|
-
const
|
|
333
|
-
let
|
|
175
|
+
const i = M(() => {
|
|
176
|
+
let e = -1;
|
|
334
177
|
if (y.size !== 1)
|
|
335
|
-
return
|
|
336
|
-
const
|
|
337
|
-
return
|
|
338
|
-
}, [
|
|
339
|
-
if (
|
|
178
|
+
return e;
|
|
179
|
+
const o = y.entries().next().value?.[1];
|
|
180
|
+
return e = t.findIndex((a) => a.key === o), e;
|
|
181
|
+
}, [t, y]), j = () => {
|
|
182
|
+
if (i === -1)
|
|
340
183
|
return -1;
|
|
341
|
-
const
|
|
342
|
-
|
|
184
|
+
const e = [...t];
|
|
185
|
+
e.splice(i, 1), e.splice(0, 0, t[i]), r.current?.selectCell({ idx: 0, rowIdx: 0 }), m(e);
|
|
343
186
|
}, H = () => {
|
|
344
|
-
if (
|
|
187
|
+
if (i === -1)
|
|
345
188
|
return -1;
|
|
346
|
-
const
|
|
347
|
-
|
|
348
|
-
}, $ = (
|
|
349
|
-
if (
|
|
189
|
+
const e = [...t];
|
|
190
|
+
e.splice(i, 1), e.splice(e.length, 0, t[i]), r.current?.selectCell({ idx: 0, rowIdx: e.length - 1 }), m(e);
|
|
191
|
+
}, $ = (e) => {
|
|
192
|
+
if (i === -1)
|
|
350
193
|
return -1;
|
|
351
|
-
const
|
|
352
|
-
|
|
194
|
+
const n = [...t], o = n[i];
|
|
195
|
+
n.splice(i, 1), n.splice(i + e, 0, o), r.current?.selectCell({
|
|
353
196
|
idx: 0,
|
|
354
|
-
rowIdx:
|
|
355
|
-
}),
|
|
356
|
-
}, Y = (
|
|
357
|
-
const
|
|
358
|
-
if (
|
|
197
|
+
rowIdx: i + e
|
|
198
|
+
}), m(n);
|
|
199
|
+
}, Y = (e) => {
|
|
200
|
+
const n = t.findIndex((o) => o.key === e);
|
|
201
|
+
if (n > -1)
|
|
359
202
|
return {
|
|
360
|
-
visible:
|
|
361
|
-
frozen:
|
|
203
|
+
visible: t[n].visible,
|
|
204
|
+
frozen: t[n].frozen
|
|
362
205
|
};
|
|
363
|
-
}, O = (
|
|
364
|
-
const
|
|
365
|
-
return
|
|
366
|
-
(
|
|
206
|
+
}, O = (e) => {
|
|
207
|
+
const n = t.findIndex((o) => o.key === e.key);
|
|
208
|
+
return n > -1 ? n : c.findIndex(
|
|
209
|
+
(o) => o.key === e.key
|
|
367
210
|
);
|
|
368
211
|
}, Z = () => {
|
|
369
|
-
const
|
|
370
|
-
const
|
|
371
|
-
if (!
|
|
372
|
-
const v = Y(
|
|
373
|
-
v && (
|
|
374
|
-
const T =
|
|
375
|
-
(g) => g.key ===
|
|
212
|
+
const e = t.filter((o) => o.grouped), n = c.map((o) => {
|
|
213
|
+
const a = { ...o };
|
|
214
|
+
if (!o.hidden) {
|
|
215
|
+
const v = Y(o.key);
|
|
216
|
+
v && (a.visible = v.visible, a.frozen = v.frozen);
|
|
217
|
+
const T = t.findIndex(
|
|
218
|
+
(g) => g.key === o.key
|
|
376
219
|
);
|
|
377
|
-
T > -1 && (
|
|
378
|
-
const L =
|
|
220
|
+
T > -1 && (a.index = T);
|
|
221
|
+
const L = t.find((g) => g.key === o.key);
|
|
379
222
|
if (L) {
|
|
380
|
-
|
|
381
|
-
const g =
|
|
382
|
-
(X) => X.key ===
|
|
223
|
+
a.grouped = L.grouped;
|
|
224
|
+
const g = e.findIndex(
|
|
225
|
+
(X) => X.key === o.key
|
|
383
226
|
);
|
|
384
|
-
|
|
227
|
+
a.groupOrder = g > -1 ? g : T;
|
|
385
228
|
}
|
|
386
229
|
}
|
|
387
|
-
return
|
|
388
|
-
}).sort((
|
|
389
|
-
h(
|
|
230
|
+
return a;
|
|
231
|
+
}).sort((o, a) => O(o) - O(a));
|
|
232
|
+
h(n), E();
|
|
390
233
|
}, q = () => {
|
|
391
|
-
}, J = (
|
|
392
|
-
|
|
393
|
-
}, Q = ({ row:
|
|
394
|
-
if (y.has(
|
|
234
|
+
}, J = (e) => {
|
|
235
|
+
m(e);
|
|
236
|
+
}, Q = ({ row: e }) => {
|
|
237
|
+
if (y.has(e.key))
|
|
395
238
|
return;
|
|
396
|
-
const
|
|
397
|
-
D(
|
|
239
|
+
const n = /* @__PURE__ */ new Set([e.key]);
|
|
240
|
+
D(n);
|
|
398
241
|
};
|
|
399
|
-
return /* @__PURE__ */ x(
|
|
400
|
-
/* @__PURE__ */ x(
|
|
401
|
-
/* @__PURE__ */
|
|
402
|
-
/* @__PURE__ */
|
|
403
|
-
|
|
242
|
+
return /* @__PURE__ */ x(le, { ownerState: {}, ref: R, children: [
|
|
243
|
+
/* @__PURE__ */ x(se, { ownerState: {}, children: [
|
|
244
|
+
/* @__PURE__ */ p(ae, { ownerState: { size: G }, children: l(s.SETTINGS_SEL_COLUMNS) }),
|
|
245
|
+
/* @__PURE__ */ p(
|
|
246
|
+
pe,
|
|
404
247
|
{
|
|
405
248
|
className: F?.tableWrapperDataGrid,
|
|
406
249
|
ownerState: { size: G },
|
|
407
|
-
children: /* @__PURE__ */
|
|
408
|
-
|
|
250
|
+
children: /* @__PURE__ */ p(
|
|
251
|
+
ie,
|
|
409
252
|
{
|
|
410
|
-
ref:
|
|
253
|
+
ref: r,
|
|
411
254
|
rowHeight: b,
|
|
412
255
|
columns: P,
|
|
413
|
-
rows:
|
|
256
|
+
rows: t,
|
|
414
257
|
onRowsChange: J,
|
|
415
258
|
selectedRows: y,
|
|
416
259
|
onSelectedRowsChange: q,
|
|
417
260
|
onCellClick: Q,
|
|
418
|
-
rowKeyGetter: (
|
|
261
|
+
rowKeyGetter: (e) => e.key,
|
|
419
262
|
defaultColumnOptions: { resizable: !0, sortable: !0 }
|
|
420
263
|
}
|
|
421
264
|
)
|
|
422
265
|
}
|
|
423
266
|
)
|
|
424
267
|
] }),
|
|
425
|
-
/* @__PURE__ */ x(
|
|
426
|
-
/* @__PURE__ */
|
|
268
|
+
/* @__PURE__ */ x(me, { ownerState: {}, children: [
|
|
269
|
+
/* @__PURE__ */ p(
|
|
427
270
|
S,
|
|
428
271
|
{
|
|
429
|
-
tooltip:
|
|
272
|
+
tooltip: l(s.SETTINGS_MOVE_FIRST),
|
|
430
273
|
onClick: j,
|
|
431
274
|
"aria-label": "move first place",
|
|
432
|
-
disabled:
|
|
275
|
+
disabled: i < 1,
|
|
433
276
|
icon: `${u}/${f}/${I.moveFirstPlace}`
|
|
434
277
|
}
|
|
435
278
|
),
|
|
436
|
-
/* @__PURE__ */
|
|
279
|
+
/* @__PURE__ */ p(
|
|
437
280
|
S,
|
|
438
281
|
{
|
|
439
|
-
tooltip:
|
|
282
|
+
tooltip: l(s.SETTINGS_MOVE_UP),
|
|
440
283
|
onClick: () => $(-1),
|
|
441
284
|
"aria-label": "move up place",
|
|
442
|
-
disabled:
|
|
285
|
+
disabled: i < 1,
|
|
443
286
|
icon: `${u}/${f}/${I.moveUpPlace}`
|
|
444
287
|
}
|
|
445
288
|
),
|
|
446
|
-
/* @__PURE__ */
|
|
289
|
+
/* @__PURE__ */ p(
|
|
447
290
|
S,
|
|
448
291
|
{
|
|
449
|
-
tooltip:
|
|
292
|
+
tooltip: l(s.SETTINGS_MOVE_LAST),
|
|
450
293
|
onClick: H,
|
|
451
294
|
"aria-label": "move last place",
|
|
452
|
-
disabled:
|
|
295
|
+
disabled: i === t.length - 1 || i === -1,
|
|
453
296
|
icon: `${u}/${f}/${I.moveLastPlace}`
|
|
454
297
|
}
|
|
455
298
|
),
|
|
456
|
-
/* @__PURE__ */
|
|
299
|
+
/* @__PURE__ */ p(
|
|
457
300
|
S,
|
|
458
301
|
{
|
|
459
|
-
tooltip:
|
|
302
|
+
tooltip: l(s.SETTINGS_MOVE_DOWN),
|
|
460
303
|
onClick: () => $(1),
|
|
461
304
|
"aria-label": "move down place",
|
|
462
|
-
disabled:
|
|
305
|
+
disabled: i === t.length - 1 || i === -1,
|
|
463
306
|
icon: `${u}/${f}/${I.moveDownPlace}`
|
|
464
307
|
}
|
|
465
308
|
),
|
|
466
|
-
/* @__PURE__ */
|
|
309
|
+
/* @__PURE__ */ p(
|
|
467
310
|
S,
|
|
468
311
|
{
|
|
469
|
-
tooltip:
|
|
312
|
+
tooltip: l(s.SETTINGS_VISIBLE_ALL),
|
|
470
313
|
onClick: B,
|
|
471
314
|
"aria-label": "check visible all",
|
|
472
315
|
icon: `${u}/${f}/${I.checkAll}`
|
|
473
316
|
}
|
|
474
317
|
),
|
|
475
|
-
/* @__PURE__ */
|
|
318
|
+
/* @__PURE__ */ p(
|
|
476
319
|
S,
|
|
477
320
|
{
|
|
478
|
-
tooltip:
|
|
321
|
+
tooltip: l(s.SETTINGS_NO_VISIBLE_ALL),
|
|
479
322
|
onClick: W,
|
|
480
323
|
"aria-label": "un check all",
|
|
481
324
|
icon: `${u}/${f}/${I.uncheckAll}`
|
|
482
325
|
}
|
|
483
326
|
),
|
|
484
|
-
/* @__PURE__ */
|
|
327
|
+
/* @__PURE__ */ p(
|
|
485
328
|
S,
|
|
486
329
|
{
|
|
487
|
-
tooltip:
|
|
330
|
+
tooltip: l(s.SETTINGS_RESTORE),
|
|
488
331
|
onClick: K,
|
|
489
332
|
"aria-label": "Restore columns",
|
|
490
333
|
icon: `${u}/${f}/${I.restoreColumns}`
|
|
@@ -494,8 +337,8 @@ const w = (C) => {
|
|
|
494
337
|
] });
|
|
495
338
|
}
|
|
496
339
|
);
|
|
497
|
-
|
|
340
|
+
de.displayName = "ColumnsConfig";
|
|
498
341
|
export {
|
|
499
|
-
|
|
342
|
+
de as ColumnsConfig,
|
|
500
343
|
w as getAlignClass
|
|
501
344
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/extended/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AACzC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,OAAO,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/extended/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AACzC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,OAAO,CAAC;AACtB,cAAc,UAAU,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { DateRangePickerProps } from './types';
|
|
2
|
+
/**
|
|
3
|
+
* Componente de selección de rango de fechas con UI completa
|
|
4
|
+
*
|
|
5
|
+
* Este componente proporciona la interfaz de usuario para seleccionar un rango de fechas.
|
|
6
|
+
* Extiende el componente DateRangePicker de rsuite con slots y patrones de construcción
|
|
7
|
+
* de la librería m4l_components.
|
|
8
|
+
*
|
|
9
|
+
* ### Dependencias:
|
|
10
|
+
* - **`useDateRangePicker:`** Hook que encapsula la lógica del componente.
|
|
11
|
+
* - **`useComponentSize:`** Hook para manejar los tamaños del componente.
|
|
12
|
+
* - **`useFormatter:`** Hook para formatear fechas.
|
|
13
|
+
* @param {DateRangePickerProps} props - Propiedades del componente.
|
|
14
|
+
* @param {DateRangeValue} [props.value] - Valor del componente. Objeto con las fechas de inicio y fin.
|
|
15
|
+
* @param {(value: DateRangeValue | null) => void} [props.onChange] - Callback que se ejecuta cuando cambia el valor.
|
|
16
|
+
* @param {Sizes} [props.size='medium'] - Tamaño del componente.
|
|
17
|
+
* @param {boolean} [props.disabled] - Indica si el componente está deshabilitado.
|
|
18
|
+
* @param {string} [props.className] - Clase CSS adicional.
|
|
19
|
+
* @param {string} [props.dataTestId] - ID para testing.
|
|
20
|
+
* @param {TextFieldVariants} [props.variant] - Variante del TextField interno.
|
|
21
|
+
* @param {boolean} [props.readOnly] - Indica si el componente es de solo lectura.
|
|
22
|
+
* @param {string} [props.id] - ID del elemento.
|
|
23
|
+
* @param {{ message?: string }} [props.error] - Objeto de error con mensaje opcional.
|
|
24
|
+
* @returns {JSX.Element} Elemento renderizado.
|
|
25
|
+
* @example
|
|
26
|
+
* ```tsx
|
|
27
|
+
* const [value, setValue] = useState<DateRangeValue>({ start: null, end: null });
|
|
28
|
+
*
|
|
29
|
+
* <DateRangePicker
|
|
30
|
+
* value={value}
|
|
31
|
+
* onChange={(newValue) => setValue(newValue || { start: null, end: null })}
|
|
32
|
+
* size="medium"
|
|
33
|
+
* variant="outlined"
|
|
34
|
+
* />
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
export declare const DateRangePicker: import('react').ForwardRefExoticComponent<Omit<DateRangePickerProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
38
|
+
//# sourceMappingURL=DateRangePicker.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DateRangePicker.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/components/src/components/extended/rsuite/DateRangePicker/DateRangePicker.tsx"],"names":[],"mappings":"AACA,OAAO,EAAkC,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAU/E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,eAAO,MAAM,eAAe,8HA+E1B,CAAC"}
|