@m4l/components 9.4.29-beta.0 → 9.4.29-beta.2
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/components/AccountPopover/AccountPopover.d.ts.map +1 -1
- package/components/AccountPopover/slots/AccountPopoverSlots.d.ts +6 -6
- package/components/ActionsGroup/slots/ActionsGroupSlots.d.ts +2 -2
- package/components/AppBar/slots/AppBarSlots.d.ts +1 -1
- package/components/BaseModule/BaseModule.js +22 -31
- package/components/Card/constants.d.ts +1 -1
- package/components/CheckableList/slots/styled.d.ts +9 -9
- package/components/Chip/slots/ChipSlots.d.ts +2 -2
- package/components/CommonActions/components/ActionCancel/slots/ActionsCancelSlots.d.ts +1 -1
- package/components/CommonActions/components/ActionFormCancel/slots/ActionFormCancelSlots.d.ts +1 -1
- package/components/CommonActions/components/ActionFormIntro/types.d.ts +0 -1
- package/components/CommonActions/components/ActionFormIntro/types.d.ts.map +1 -1
- package/components/CommonActions/components/ActionFormSubmitProgrammatic/slots/ActionFormSubmitProgrammaticSlots.d.ts +1 -1
- package/components/CommonActions/components/ActionIntro/slots/ActionsIntroSlots.d.ts +1 -1
- package/components/DaysOfMonthPicker/slots/DaysOfMonthPickerSlots.d.ts +1 -1
- package/components/DaysOfWeekPicker/slots/DaysOfWeekPickerSlots.d.ts +1 -1
- package/components/DragResizeWindowRND/DragResizeWindowRND.d.ts.map +1 -1
- package/components/DragResizeWindowRND/DragResizeWindowRND.js +95 -92
- package/components/DragResizeWindowRND/types.d.ts +12 -0
- package/components/DragResizeWindowRND/types.d.ts.map +1 -1
- package/components/DynamicFilter/slots/dynamicFilterSlots.d.ts +2 -2
- package/components/DynamicFilter/store/DynamicFilterContext.js +4 -5
- package/components/DynamicFilter/subcomponents/FieldTypes/DataTypeComponent.d.ts +1 -1
- package/components/DynamicFilter/subcomponents/FieldTypes/DataTypeComponent.d.ts.map +1 -1
- package/components/DynamicFilter/subcomponents/PopoverFilter/PopoverFilter.js +5 -5
- package/components/DynamicSort/slots/DynamicSortSlots.d.ts +2 -2
- package/components/DynamicSort/store/DynamicSortContext.js +4 -5
- package/components/DynamicSort/subcomponents/FieldTypes/DataTypeComponent.d.ts +1 -1
- package/components/DynamicSort/subcomponents/FieldTypes/DataTypeComponent.d.ts.map +1 -1
- package/components/DynamicSort/subcomponents/PopoverSort/PopoverSort.js +5 -5
- package/components/EditLabel/slots/EditLabelSlots.d.ts +4 -4
- package/components/GridLayout/subcomponents/GridItem/index.js +33 -33
- package/components/GridLayout/subcomponents/withSizeProvider/index.js +3 -3
- package/components/HelperError/slots/HelperErrorSlots.d.ts +1 -1
- package/components/Icon/Icon.d.ts.map +1 -1
- package/components/ImageText/slots/ImageTextSlots.d.ts +2 -2
- package/components/Label/slots/LabelSlots.d.ts +2 -2
- package/components/LoadingError/slots/LoadingErrorSlots.d.ts +1 -1
- package/components/MFIsolationApp/MFIsolationApp.d.ts.map +1 -1
- package/components/MFIsolationApp/MFIsolationApp.js +49 -42
- package/components/MFIsolationApp/slots/MFIsolationAppSlots.d.ts +2 -2
- package/components/MenuActions/MenuActions.js +29 -29
- package/components/MenuActions/constants.d.ts +1 -1
- package/components/MenuActions/slots/MenuActionsSlots.d.ts +1 -1
- package/components/ModalDialog/slots/ModalDialogSlots.d.ts +1 -1
- package/components/MswExample/MswExample.d.ts +5 -0
- package/components/MswExample/MswExample.d.ts.map +1 -0
- package/components/MswExample/index.d.ts +2 -0
- package/components/MswExample/index.d.ts.map +1 -0
- package/components/NoItemPrivileges/NoItemPrivileges.js +4 -5
- package/components/NumberInput/slots/NumberInputSlots.d.ts +2 -2
- package/components/ObjectLogs/hooks/useObjectLogsColumns.js +3 -3
- package/components/ObjectLogs/slots/ObjectLogsSlots.d.ts +2 -2
- package/components/ObjectLogs/subcomponents/ObjectLogsByM4L/ObjectLogsByM4L.js +6 -6
- package/components/ObjectLogs/subcomponents/ObjectLogsByOthers/ObjectLogsByOthers.js +6 -6
- package/components/Pager/slots/PagerSlots.d.ts +3 -3
- package/components/PaperForm/slots/PaperFormSlots.d.ts +1 -1
- package/components/PrintingSystem/utils/FactoryRender/index.d.ts.map +1 -1
- package/components/PrintingSystem/utils/FactoryRender/index.js +35 -33
- package/components/PrintingSystem/utils/PageRender/index.js +19 -19
- package/components/PropertyValue/PropertyValue.js +6 -6
- package/components/PropertyValue/slots/PropertyValueSlots.d.ts +1 -1
- package/components/SettingsLayout/slots/SettingsLayoutSlots.d.ts +3 -3
- package/components/SideBar/slots/SideBarSlots.d.ts +1 -1
- package/components/Stepper/slots/StepperSlot.d.ts +4 -4
- package/components/Stepper/subcomponents/StepArea/subcomponents/Inidicator/index.js +4 -5
- package/components/Stepper/subcomponents/StepperButtons/StepperCancelButton/index.js +6 -21
- package/components/Stepper/subcomponents/StepperFooter/subcomponents/StepperFooterRightActions/index.js +6 -11
- package/components/TabsNavigator/TabsNavigator.js +19 -19
- package/components/TabsNavigator/TabsNavigator.styles.js +1 -1
- package/components/TabsNavigator/slots/TabsNavigatorSlots.d.ts +2 -2
- package/components/TabsNavigator/subcomponents/TabNavigatorClusterComponent/TabNavigatorClusterComponent.js +13 -13
- package/components/ToastContainer/slots/toastContainerSlots.d.ts +4 -4
- package/components/WindowBase/WindowBase.styles.js +11 -11
- package/components/WindowBase/contexts/DynamicMFParmsContext/DynamicMFParmsContext.js +6 -6
- package/components/WindowBase/contexts/WindowToolsMFContext/WindowToolsMFContext.js +7 -7
- package/components/WindowBase/slots/WindowBaseSlots.d.ts +2 -2
- package/components/WindowBase/subcomponents/MemoizedIconButton/MemoizedIconButton.js +2 -2
- package/components/WindowBase/subcomponents/MicroFrontend/MicroFrontend.js +4 -4
- package/components/WindowConfirm/slots/WindowConfirmSlots.d.ts +5 -5
- package/components/areas/components/AreasAdmin/slots/AreasAdminSlots.d.ts +3 -3
- package/components/areas/components/AreasAdmin/subcomponents/AreaChip/AreaChip.js +7 -8
- package/components/areas/components/AreasAdmin/subcomponents/AreaChipMobile/subcomponents/ChipMobile/ChipMobile.js +7 -7
- package/components/areas/components/AreasViewer/AreasViewer.js +4 -5
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/Window.js +22 -22
- package/components/datagrids/contexts/DataGridContext/DataGridContext.d.ts.map +1 -1
- package/components/datagrids/contexts/DataGridContext/DataGridContext.js +15 -16
- package/components/datagrids/formatters/ColumnBooleanFormatter/ColumnBooleanGroupFormatter.js +8 -8
- package/components/datagrids/formatters/ColumnBooleanFormatter/formatter.js +2 -2
- package/components/datagrids/formatters/ColumnColorFormatter/ColumnColorGroupFormatter.js +2 -2
- package/components/datagrids/formatters/ColumnColorFormatter/formatter.js +2 -2
- package/components/datagrids/formatters/ColumnConcatenatedValuesFormatter/ColumnConcatenatedValuesGroupFormatter.js +10 -10
- package/components/datagrids/formatters/ColumnConcatenatedValuesFormatter/formatter.js +5 -5
- package/components/datagrids/formatters/ColumnDateFormatter/ColumnDateGroupFormatter.js +2 -2
- package/components/datagrids/formatters/ColumnDateFormatter/formatter.js +4 -4
- package/components/datagrids/formatters/ColumnImageFormatter/ColumnImageGroupFormatter.js +2 -2
- package/components/datagrids/formatters/ColumnImageFormatter/ImageFormatterCell.js +2 -2
- package/components/datagrids/formatters/ColumnNestedValueFormatter/ColumnNestedValueGroupFormatter.js +10 -10
- package/components/datagrids/formatters/ColumnNestedValueFormatter/formatter.js +8 -8
- package/components/datagrids/formatters/ColumnPointsFormatter/ColumnPointsGroupFormatter.js +6 -6
- package/components/datagrids/formatters/ColumnPointsFormatter/formatter.js +5 -5
- package/components/datagrids/formatters/ColumnPriceFormatter/formatter.js +5 -5
- package/components/datagrids/formatters/ColumnUncertaintyFormatter/ColumnUncertaintyGroupFormatter.js +2 -2
- package/components/datagrids/formatters/ColumnUncertaintyFormatter/formatter.js +2 -2
- package/components/datagrids/hooks/shared/useDataGrid/useDataGrid.d.ts +1 -1
- package/components/datagrids/hooks/shared/useDataGrid/useDataGrid.d.ts.map +1 -1
- package/components/datagrids/slots/DataGridSlot.d.ts +5 -5
- package/components/datagrids/subcomponents/ControlNavigate/subcomponents/RowsCount/RowsCount.js +7 -10
- package/components/datagrids/subcomponents/HeaderActions/HeaderActions.js +11 -13
- package/components/datagrids/subcomponents/HeaderActions/subcomponents/Density/Density.js +6 -8
- package/components/datagrids/subcomponents/HeaderActions/subcomponents/Filter/Filter.d.ts.map +1 -1
- package/components/datagrids/subcomponents/HeaderActions/subcomponents/Filter/Filter.js +9 -11
- package/components/datagrids/subcomponents/HeaderActions/subcomponents/MobileMenuActions/MobileMenuActions.d.ts.map +1 -1
- package/components/datagrids/subcomponents/HeaderActions/subcomponents/MobileMenuActions/MobileMenuActions.js +2 -4
- package/components/datagrids/subcomponents/HeaderActions/subcomponents/ViewMode/ViewMode.js +12 -14
- package/components/datagrids/views/CardsView/hooks/useCardContent/useCardContent.js +3 -4
- package/components/datagrids/views/CardsView/subcomponents/CardDetails/CardDetails.js +4 -5
- package/components/datagrids/views/CardsView/subcomponents/CardRow/CardRow.js +24 -26
- package/components/datagrids/views/CardsView/subcomponents/Settings/hooks/useModalSettings/useModalSettings.js +2 -3
- package/components/datagrids/views/CardsView/subcomponents/Settings/subcomponents/ColumnsConfig/ColumnsConfig.js +2 -2
- package/components/datagrids/views/TableView/TableView.d.ts.map +1 -1
- package/components/datagrids/views/TableView/TableView.js +20 -21
- package/components/datagrids/views/TableView/subcomponents/RenderGroupCell/RenderGroupCell.js +8 -11
- package/components/datagrids/views/TableView/subcomponents/Settings/hooks/useModalSettings/useModalSettings.js +7 -8
- package/components/datagrids/views/TableView/subcomponents/Settings/subcomponents/ColumnsConfig/ColumnsConfig.js +2 -2
- package/components/datagrids/views/adapters/RenderContent/RenderContent.js +5 -8
- package/components/extended/React-resizable-panels/slots/SplitLayoutSlots.d.ts +3 -3
- package/components/extended/mui/Accordion/slots/AccordionSlots.d.ts +3 -3
- package/components/extended/mui/Autocomplete/Autocomplete.d.ts.map +1 -1
- package/components/extended/mui/Autocomplete/Autocomplete.js +32 -34
- package/components/extended/mui/Autocomplete/Autocomplete.styles.d.ts.map +1 -1
- package/components/extended/mui/Autocomplete/Autocomplete.styles.js +10 -3
- package/components/extended/mui/Autocomplete/constants.d.ts +2 -1
- package/components/extended/mui/Autocomplete/constants.d.ts.map +1 -1
- package/components/extended/mui/Autocomplete/hooks/useMultipleChips.d.ts.map +1 -1
- package/components/extended/mui/Autocomplete/hooks/useMultipleChips.js +17 -17
- package/components/extended/mui/Autocomplete/slots/AutocompleteEnum.d.ts +1 -0
- package/components/extended/mui/Autocomplete/slots/AutocompleteEnum.d.ts.map +1 -1
- package/components/extended/mui/Autocomplete/slots/AutocompleteEnum.js +1 -1
- package/components/extended/mui/Autocomplete/slots/AutocompleteSlots.d.ts +8 -5
- package/components/extended/mui/Autocomplete/slots/AutocompleteSlots.d.ts.map +1 -1
- package/components/extended/mui/Autocomplete/slots/AutocompleteSlots.js +56 -52
- package/components/extended/mui/Autocomplete/subcomponents/PopperComponent/PopperComponent.js +5 -5
- package/components/extended/mui/Autocomplete/subcomponents/RenderAdornment/RenderAdornment.d.ts +1 -1
- package/components/extended/mui/Autocomplete/subcomponents/RenderAdornment/RenderAdornment.d.ts.map +1 -1
- package/components/extended/mui/Badge/slots/BadgeSlots.d.ts +1 -1
- package/components/extended/mui/Button/slots/ButtonSlots.d.ts +2 -2
- package/components/extended/mui/CheckBox/slots/CheckBoxSlots.d.ts +1 -1
- package/components/extended/mui/DatePicker/constants.d.ts +1 -1
- package/components/extended/mui/DatePicker/hooks/useDatePicker/useDatePicker.js +9 -9
- package/components/extended/mui/DatePicker/slots/DatePickerSlots.d.ts +2 -2
- package/components/extended/mui/DateTimePicker/slots/DateTimePickerSlots.d.ts +3 -3
- package/components/extended/mui/Divider/slots/DividerSlots.d.ts +1 -1
- package/components/extended/mui/IconButton/IconButton.d.ts.map +1 -1
- package/components/extended/mui/IconButton/IconButton.js +74 -74
- package/components/extended/mui/IconButton/constants.d.ts +1 -1
- package/components/extended/mui/IconButton/slots/IconButtonSlots.d.ts +1 -1
- package/components/extended/mui/LoadingButton/slots/LoadingButtonSlots.d.ts +1 -1
- package/components/extended/mui/MenuDivider/slots/MenuDividerSlots.d.ts +1 -1
- package/components/extended/mui/MenuItem/MenuItem.js +12 -12
- package/components/extended/mui/MenuItem/slots/MenuItemSlots.d.ts +2 -2
- package/components/extended/mui/NavLink/slots/NavLinkSlots.d.ts +1 -1
- package/components/extended/mui/Popper/slots/PopperStlots.d.ts +1 -1
- package/components/extended/mui/Radio/slots/styled.d.ts +1 -1
- package/components/extended/mui/Select/Select.js +31 -31
- package/components/extended/mui/Select/constants.d.ts +1 -1
- package/components/extended/mui/Select/slots/SelectSlots.d.ts +5 -5
- package/components/extended/mui/Tab/Slots/TabSlots.d.ts +2 -2
- package/components/extended/mui/Tabs/Tabs.js +4 -4
- package/components/extended/mui/Tabs/slots/TabsSlots.d.ts +1 -1
- package/components/extended/mui/TextField/TextField.js +12 -12
- package/components/extended/mui/TextField/constants.d.ts +1 -1
- package/components/extended/mui/TextField/slots/TextFieldSlots.d.ts +4 -4
- package/components/extended/mui/TimePicker/slots/TimePickerSlots.d.ts +2 -2
- package/components/extended/mui/ToggleButton/slots/ToggleButtonSlots.d.ts +1 -1
- package/components/extended/mui/ToggleIconButton/slots/ToggleIconButtonSlots.d.ts +1 -1
- package/components/extended/mui/Typography/slots/typographySlots.d.ts +1 -1
- package/components/formatters/BooleanFormatter/BooleanFormatter.js +5 -5
- package/components/formatters/BooleanFormatter/slots/BooleanFormatterSlots.d.ts +1 -1
- package/components/formatters/ChipStatusFormatter/ChipStatusFormatter.js +20 -20
- package/components/formatters/ConcatenatedFormatter/ConcatenatedFormatter.js +5 -5
- package/components/formatters/ConcatenatedFormatter/slots/ConcatenatedFormatterSlots.d.ts +1 -1
- package/components/formatters/DateFormatter/DateFormatter.js +10 -10
- package/components/formatters/DateFormatter/slots/DateFormatterSlots.d.ts +1 -1
- package/components/formatters/DistanceToNowFormatter/DistanceToNowFormatter.js +8 -8
- package/components/formatters/DistanceToNowFormatter/slots/DistanceToNowFormatterSlots.d.ts +1 -1
- package/components/formatters/ImageFormatter/slots/ImageFormatterSlots.d.ts +1 -1
- package/components/formatters/PeriodFormatter/PeriodFormatter.js +15 -15
- package/components/formatters/PeriodFormatter/slots/PeriodFormatterSlots.d.ts +1 -1
- package/components/formatters/PointsFormatter/PointsFormatter.js +11 -11
- package/components/formatters/PointsFormatter/slots/ointsFormatterSlots.d.ts +1 -1
- package/components/formatters/PriceFormatter/PriceFormatter.js +4 -4
- package/components/formatters/PriceFormatter/slots/PriceFormatterSlots.d.ts +1 -1
- package/components/formatters/TagsFormatter/TagsFormatter.js +4 -5
- package/components/formatters/TagsFormatter/helpers/renderMultipleTag.d.ts.map +1 -1
- package/components/formatters/TagsFormatter/helpers/renderMultipleTag.js +10 -15
- package/components/formatters/TagsFormatter/helpers/renderTag.d.ts.map +1 -1
- package/components/formatters/TagsFormatter/helpers/renderTag.js +6 -6
- package/components/formatters/UncertaintyFormatter/UncertaintyFormatter.js +5 -5
- package/components/formatters/UncertaintyFormatter/slots/UncertaintyFormatterSlots.d.ts +1 -1
- package/components/hook-form/RHFCheckbox/slots/RHFCheckBoxSlots.d.ts +1 -1
- package/components/hook-form/RHFColorPicker/slots/RHFColorPickerSlots.d.ts +1 -1
- package/components/hook-form/RHFDatePicker/slots/RHFDatePickerSlots.d.ts +2 -2
- package/components/hook-form/RHFPeriod/slots/RHFPeriodSlots.d.ts +1 -1
- package/components/hook-form/RHFSelect/slots/RHFSlots.d.ts +1 -1
- package/components/hook-form/RHFTextField/slots/RHFTextFieldSlots.d.ts +1 -1
- package/components/hook-form/RHFTextFieldPassword/slots/RHFTextFieldPasswordSlots.d.ts +2 -2
- package/components/hook-form/RHFUpload/RHFUploadImage/slots/RHFUploadImageSlots.d.ts +3 -3
- package/components/hook-form/RHFUpload/RHFUploadSingleFile/constants.d.ts +1 -1
- package/components/hook-form/RHFUpload/RHFUploadSingleFile/slots/RHFUploadSingleFileSlots.d.ts +7 -7
- package/components/popups/components/PopupsProvider/contexts/PopupsContext/PopupsContext.js +4 -4
- package/components/popups/components/PopupsViewer/subcomponents/Popup/Popup.d.ts.map +1 -1
- package/components/popups/components/PopupsViewer/subcomponents/Popup/Popup.js +61 -59
- package/contexts/form.d.ts +10 -0
- package/contexts/form.d.ts.map +1 -0
- package/contexts/index.d.ts +0 -3
- package/contexts/index.d.ts.map +1 -1
- package/hooks/useDataGridPersistence/useDataGridPersistence.js +3 -3
- package/hooks/useDynamicFilterAndSort/slots/DynamicFilterAndSortSlots.d.ts +4 -4
- package/index.d.ts +1 -0
- package/index.d.ts.map +1 -1
- package/index.js +6 -6
- package/mockServiceWorker.js +349 -0
- package/package.json +4 -4
- package/_virtual/hoist-non-react-statics.cjs.js +0 -2
- package/_virtual/index.js +0 -4
- package/_virtual/react-is.development.js +0 -4
- package/_virtual/react-is.production.min.js +0 -4
|
@@ -1,50 +1,53 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import
|
|
4
|
-
import { dragResizeWindowRNDClasses as
|
|
5
|
-
import { DEFAULT_TRANSFORM_SCALE as
|
|
6
|
-
import { getInitialSize as
|
|
7
|
-
import { useDragOptions as
|
|
8
|
-
import { useResizeOptions as
|
|
9
|
-
import { useRNDDimensionEffects as
|
|
10
|
-
import { RndStyled as
|
|
11
|
-
const
|
|
1
|
+
import { jsx as de } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { forwardRef as he, useState as me, useMemo as v, useRef as C, useImperativeHandle as pe } from "react";
|
|
3
|
+
import ze from "clsx";
|
|
4
|
+
import { dragResizeWindowRNDClasses as o } from "./classes/index.js";
|
|
5
|
+
import { DEFAULT_TRANSFORM_SCALE as fe } from "./constants.js";
|
|
6
|
+
import { getInitialSize as Re } from "./helpers/getInitialSize.js";
|
|
7
|
+
import { useDragOptions as ue } from "./hooks/useRNDDragOptions.js";
|
|
8
|
+
import { useResizeOptions as xe } from "./hooks/useRNDReResizeOptions.js";
|
|
9
|
+
import { useRNDDimensionEffects as we } from "./hooks/useRNDDimensionEffects.js";
|
|
10
|
+
import { RndStyled as Se } from "./slots/DragResizeWindowRNDSlots.js";
|
|
11
|
+
const Be = he((I, y) => {
|
|
12
12
|
const {
|
|
13
13
|
//Comunes
|
|
14
14
|
style: L,
|
|
15
15
|
className: O,
|
|
16
|
-
children:
|
|
16
|
+
children: D,
|
|
17
17
|
defaultPosition: N = { vertical: { top: 0, height: 100 }, horizontal: { left: 0, width: 100 } },
|
|
18
18
|
containerElement: t,
|
|
19
19
|
containerSize: i,
|
|
20
|
-
transformScale: T =
|
|
20
|
+
transformScale: T = fe,
|
|
21
21
|
bounds: f = { left: 5, top: 5, right: -5, bottom: -5 },
|
|
22
|
-
minWidth:
|
|
23
|
-
minHeight:
|
|
22
|
+
minWidth: B = 200,
|
|
23
|
+
minHeight: V = 100,
|
|
24
|
+
minWindowWidth: A,
|
|
25
|
+
minWindowHeight: E,
|
|
26
|
+
resizeHandles: be,
|
|
24
27
|
// maxWidth = 1000,
|
|
25
28
|
// maxHeight = 1000,
|
|
26
29
|
//Draggable
|
|
27
|
-
draggableHandle:
|
|
28
|
-
draggableCancel:
|
|
29
|
-
draggable:
|
|
30
|
-
onDragStart:
|
|
31
|
-
onDrag:
|
|
32
|
-
onDragStop:
|
|
33
|
-
onMouseDown:
|
|
30
|
+
draggableHandle: M = `${o.draggableHandle}`,
|
|
31
|
+
draggableCancel: F = `.${o.draggableCancel}`,
|
|
32
|
+
draggable: P = !0,
|
|
33
|
+
onDragStart: _,
|
|
34
|
+
onDrag: U,
|
|
35
|
+
onDragStop: $,
|
|
36
|
+
onMouseDown: j,
|
|
34
37
|
//resizable
|
|
35
|
-
resizable:
|
|
36
|
-
onResizeStart:
|
|
37
|
-
onResize:
|
|
38
|
-
onResizeStop:
|
|
39
|
-
hidden:
|
|
40
|
-
allowHeightResizeContainer:
|
|
41
|
-
allowWidthResizeContainer:
|
|
42
|
-
windowRef:
|
|
38
|
+
resizable: k = !0,
|
|
39
|
+
onResizeStart: q,
|
|
40
|
+
onResize: G,
|
|
41
|
+
onResizeStop: J,
|
|
42
|
+
hidden: W,
|
|
43
|
+
allowHeightResizeContainer: l = !1,
|
|
44
|
+
allowWidthResizeContainer: s = !1,
|
|
45
|
+
windowRef: He,
|
|
43
46
|
//Otras
|
|
44
|
-
...
|
|
45
|
-
} =
|
|
46
|
-
() =>
|
|
47
|
-
),
|
|
47
|
+
...K
|
|
48
|
+
} = I, g = A ?? B, c = E ?? V, [e, R] = me(
|
|
49
|
+
() => Re(i, f, N, t, l, s)
|
|
50
|
+
), Q = v(() => [g, c], [g, c]), n = C({
|
|
48
51
|
bounds: f,
|
|
49
52
|
data: void 0,
|
|
50
53
|
dragging: void 0,
|
|
@@ -53,25 +56,25 @@ const We = se((y, W) => {
|
|
|
53
56
|
y: e.y,
|
|
54
57
|
width: e.width,
|
|
55
58
|
height: e.height,
|
|
56
|
-
minConstraints:
|
|
59
|
+
minConstraints: Q,
|
|
57
60
|
magnetizeRight: e.magnetizeRight,
|
|
58
61
|
magnetizeBottom: e.magnetizeBottom
|
|
59
62
|
});
|
|
60
|
-
i && (
|
|
61
|
-
const r =
|
|
62
|
-
|
|
63
|
+
i && (n.current.containerSize?.containerWidth !== i.containerWidth || n.current.containerSize?.containerHeight !== i.containerHeight) && (n.current.containerSize = { ...i });
|
|
64
|
+
const r = C(null);
|
|
65
|
+
pe(y, () => ({
|
|
63
66
|
/**
|
|
64
67
|
* "ensureVisible" enfoca la ventana para que esté visible, cuando se requiere desde afuera ubicarla en el contenedor padre
|
|
65
68
|
*/
|
|
66
69
|
ensureVisible: () => {
|
|
67
70
|
if (!r.current || !t)
|
|
68
71
|
return;
|
|
69
|
-
const a = t.getBoundingClientRect(), h = r.current.getBoundingClientRect(), u = h.height, x = h.width, m = h.top - a.top + t.scrollTop, p = h.left - a.left + t.scrollLeft,
|
|
70
|
-
if (!
|
|
71
|
-
let b,
|
|
72
|
-
u >
|
|
72
|
+
const a = t.getBoundingClientRect(), h = r.current.getBoundingClientRect(), u = h.height, x = h.width, m = h.top - a.top + t.scrollTop, p = h.left - a.left + t.scrollLeft, ae = m + u, le = p + x, w = t.clientHeight, S = t.clientWidth, se = t.scrollTop + w, z = 0.5, ge = m >= t.scrollTop - z && ae <= se + z, ce = p >= t.scrollLeft - z && le <= t.scrollLeft + S + z;
|
|
73
|
+
if (!ge || !ce) {
|
|
74
|
+
let b, H;
|
|
75
|
+
u > w ? b = m : b = m - w / 2 + u / 2, x > S ? H = p : H = p - S / 2 + x / 2, t.scrollTo({
|
|
73
76
|
top: Math.max(0, b),
|
|
74
|
-
left: Math.max(0,
|
|
77
|
+
left: Math.max(0, H),
|
|
75
78
|
behavior: "smooth"
|
|
76
79
|
});
|
|
77
80
|
}
|
|
@@ -81,40 +84,40 @@ const We = se((y, W) => {
|
|
|
81
84
|
*/
|
|
82
85
|
current: r.current
|
|
83
86
|
}), [t]);
|
|
84
|
-
const { localOnDragStart:
|
|
85
|
-
allowHeightResizeContainer:
|
|
86
|
-
allowWidthResizeContainer:
|
|
87
|
+
const { localOnDragStart: X, localOnDrag: Y, localOnDragStop: Z } = ue({
|
|
88
|
+
allowHeightResizeContainer: l,
|
|
89
|
+
allowWidthResizeContainer: s,
|
|
87
90
|
containerElement: t,
|
|
88
91
|
transformScale: T,
|
|
89
|
-
onDragStart:
|
|
90
|
-
onDrag:
|
|
91
|
-
onDragStop:
|
|
92
|
-
stateRef:
|
|
92
|
+
onDragStart: _,
|
|
93
|
+
onDrag: U,
|
|
94
|
+
onDragStop: $,
|
|
95
|
+
stateRef: n,
|
|
93
96
|
setCurrentState: R
|
|
94
|
-
}), { localOnResize:
|
|
95
|
-
allowHeightResizeContainer:
|
|
96
|
-
allowWidthResizeContainer:
|
|
97
|
+
}), { localOnResize: ee, localOnResizeStart: te, localOnResizeStop: ie } = xe({
|
|
98
|
+
allowHeightResizeContainer: l,
|
|
99
|
+
allowWidthResizeContainer: s,
|
|
97
100
|
containerElement: t,
|
|
98
|
-
onResizeStart:
|
|
99
|
-
onResize:
|
|
100
|
-
onResizeStop:
|
|
101
|
-
stateRef:
|
|
101
|
+
onResizeStart: q,
|
|
102
|
+
onResize: G,
|
|
103
|
+
onResizeStop: J,
|
|
104
|
+
stateRef: n,
|
|
102
105
|
setCurrentState: R
|
|
103
106
|
});
|
|
104
|
-
|
|
107
|
+
we({
|
|
105
108
|
containerElement: t,
|
|
106
109
|
bounds: f,
|
|
107
110
|
containerSize: i,
|
|
108
111
|
setCurrentState: R,
|
|
109
|
-
stateRef:
|
|
110
|
-
minWindowWidth:
|
|
111
|
-
minWindowHeight:
|
|
112
|
+
stateRef: n,
|
|
113
|
+
minWindowWidth: g,
|
|
114
|
+
minWindowHeight: c,
|
|
112
115
|
wrapperRef: r,
|
|
113
|
-
allowHeightResizeContainer:
|
|
114
|
-
allowWidthResizeContainer:
|
|
116
|
+
allowHeightResizeContainer: l,
|
|
117
|
+
allowWidthResizeContainer: s
|
|
115
118
|
});
|
|
116
|
-
const
|
|
117
|
-
hidden:
|
|
119
|
+
const ne = {
|
|
120
|
+
hidden: W,
|
|
118
121
|
dragging: !!e.dragging,
|
|
119
122
|
resizing: !!e.resizing,
|
|
120
123
|
draggingActive: !!e.dragging,
|
|
@@ -122,34 +125,34 @@ const We = se((y, W) => {
|
|
|
122
125
|
y: e.y,
|
|
123
126
|
width: e.width,
|
|
124
127
|
height: e.height
|
|
125
|
-
},
|
|
128
|
+
}, oe = ze(O, {
|
|
126
129
|
//Requerido para el componente Draggable
|
|
127
|
-
[
|
|
128
|
-
[
|
|
129
|
-
[
|
|
130
|
-
[
|
|
130
|
+
[o.hidden]: W,
|
|
131
|
+
[o.dragging]: !!e.dragging,
|
|
132
|
+
[o.resizing]: !!e.resizing,
|
|
133
|
+
[o.draggingActive]: !!e.dragging
|
|
131
134
|
// dropping: Boolean(droppingPosition),
|
|
132
|
-
}),
|
|
135
|
+
}), re = v(() => D, [D]);
|
|
133
136
|
if (!t)
|
|
134
137
|
return null;
|
|
135
138
|
const d = "5px";
|
|
136
|
-
return /* @__PURE__ */
|
|
137
|
-
|
|
139
|
+
return /* @__PURE__ */ de(
|
|
140
|
+
Se,
|
|
138
141
|
{
|
|
139
|
-
ownerState:
|
|
140
|
-
...
|
|
141
|
-
onMouseDown:
|
|
142
|
+
ownerState: ne,
|
|
143
|
+
...K,
|
|
144
|
+
onMouseDown: j,
|
|
142
145
|
ref: (a) => {
|
|
143
146
|
a && (r.current = a.resizableElement.current);
|
|
144
147
|
},
|
|
145
148
|
style: { ...L },
|
|
146
|
-
dragHandleClassName:
|
|
147
|
-
enableResizing:
|
|
148
|
-
disableDragging: !
|
|
149
|
-
minWidth:
|
|
150
|
-
minHeight:
|
|
151
|
-
cancel:
|
|
152
|
-
className:
|
|
149
|
+
dragHandleClassName: M,
|
|
150
|
+
enableResizing: k,
|
|
151
|
+
disableDragging: !P,
|
|
152
|
+
minWidth: g,
|
|
153
|
+
minHeight: c,
|
|
154
|
+
cancel: F,
|
|
155
|
+
className: oe,
|
|
153
156
|
enableUserSelectHack: !0,
|
|
154
157
|
resizeHandleStyles: {
|
|
155
158
|
zIndex: 1,
|
|
@@ -175,17 +178,17 @@ const We = se((y, W) => {
|
|
|
175
178
|
},
|
|
176
179
|
size: { width: e.width, height: e.height },
|
|
177
180
|
position: { x: e.x, y: e.y },
|
|
178
|
-
onDragStart:
|
|
179
|
-
onDrag:
|
|
180
|
-
onDragStop:
|
|
181
|
-
onResizeStart:
|
|
182
|
-
onResize:
|
|
183
|
-
onResizeStop:
|
|
184
|
-
children:
|
|
181
|
+
onDragStart: X,
|
|
182
|
+
onDrag: Y,
|
|
183
|
+
onDragStop: Z,
|
|
184
|
+
onResizeStart: te,
|
|
185
|
+
onResize: ee,
|
|
186
|
+
onResizeStop: ie,
|
|
187
|
+
children: re
|
|
185
188
|
}
|
|
186
189
|
);
|
|
187
190
|
});
|
|
188
191
|
export {
|
|
189
|
-
|
|
190
|
-
|
|
192
|
+
Be as DragResizeWindowRND,
|
|
193
|
+
Be as default
|
|
191
194
|
};
|
|
@@ -239,6 +239,18 @@ export interface DragResizeWindowPropsRND extends Partial<Omit<RndProps, 'handle
|
|
|
239
239
|
* "windowRef" permite definir una referencia a la ventana
|
|
240
240
|
*/
|
|
241
241
|
windowRef?: ForwardedRef<HTMLDivElement | undefined>;
|
|
242
|
+
/**
|
|
243
|
+
* Min width (alias used by parents; not forwarded to DOM)
|
|
244
|
+
*/
|
|
245
|
+
minWindowWidth?: number;
|
|
246
|
+
/**
|
|
247
|
+
* Min height (alias used by parents; not forwarded to DOM)
|
|
248
|
+
*/
|
|
249
|
+
minWindowHeight?: number;
|
|
250
|
+
/**
|
|
251
|
+
* Resize handles (used by parents; not forwarded to DOM – react-rnd has its own handles)
|
|
252
|
+
*/
|
|
253
|
+
resizeHandles?: ResizeHandle[] | readonly ResizeHandle[];
|
|
242
254
|
}
|
|
243
255
|
/**
|
|
244
256
|
* Referencia del estado del componente DragResizeWindow.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/DragResizeWindowRND/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAChD,OAAO,EAAG,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAC7C,OAAO,EAAE,wBAAwB,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AACtD,OAAO,KAAK,EAAE,kBAAkB,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AACpF,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,EAAE,KAAK,IAA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CAAC;IACzB;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAGzB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,0BAA0B,CAAC,EAAE,OAAO,CAAC;IACrC;;OAEG;IACH,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC;;OAEG;IACH,SAAS,CAAC,EAAE,YAAY,CAAC,cAAc,GAAG,SAAS,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/DragResizeWindowRND/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAChD,OAAO,EAAG,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAC7C,OAAO,EAAE,wBAAwB,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AACtD,OAAO,KAAK,EAAE,kBAAkB,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AACpF,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,EAAE,KAAK,IAAI,QAAQ,EAAE,MAAM,WAAW,CAAC;AAE9C;;;;;GAKG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B,WAAW,EAAE,MAAM,CAAC;IACpB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AACF;;;;;;GAMG;AACH,MAAM,MAAM,QAAQ,GAAG;IACrB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,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EAAE,YAAY,CAAC,cAAc,GAAG,SAAS,CAAC,CAAC;IACrD;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,aAAa,CAAC,EAAE,YAAY,EAAE,GAAG,SAAS,YAAY,EAAE,CAAC;CAC1D;AACD;;GAEG;AACH,MAAM,WAAW,QAAS,SAAQ,IAAI,CAAC,wBAAwB,EAAE,QAAQ,CAAC,EAAE,YAAY;IACtF,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB;;OAEG;IACH,aAAa,CAAC,EAAE,aAAa,GAAG,SAAS,CAAC;IAC1C;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;CAI1B;AACD;;GAEG;AACH,MAAM,MAAM,4BAA4B,GAAG,MAAM,OAAO,wBAAwB,CAAC;AACjF;;GAEG;AACH,MAAM,MAAM,0BAA0B,GAAG;IACvC;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,CAAC,CAAC,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,CAAC,CAAC,EAAE,MAAM,CAAC;CACZ,CAAC;AACF;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG,sBAAsB,CAAC,4BAA4B,EAAE,OAAO,uBAAuB,EAAE,KAAK,CAAC,CAAC"}
|
|
@@ -19,10 +19,10 @@ export declare const AppliedFilterInnerContainerStyled: import('@emotion/styled'
|
|
|
19
19
|
export declare const ActionsStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
|
|
20
20
|
ownerState?: (Partial<import('../types').DynamicFilterOwnerState> & Record<string, unknown>) | undefined;
|
|
21
21
|
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
22
|
-
export declare const ActionsClearButtonStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../extended/mui/IconButton/types').IconButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "
|
|
22
|
+
export declare const ActionsClearButtonStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../extended/mui/IconButton/types').IconButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "title" | "component" | "size" | "variant" | "color" | "content" | "translate" | "action" | "className" | "style" | "classes" | "children" | "src" | "sx" | "form" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "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" | "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" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "name" | "tooltip" | "value" | "instaceDataTestId" | "placement" | "icon" | "selected" | "rotationAngle" | "disabled" | "ariaLabel" | "dataTestId" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "type" | "badgeProps" | keyof import('react').RefAttributes<HTMLButtonElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
|
|
23
23
|
ownerState?: (Partial<import('../types').DynamicFilterOwnerState> & Record<string, unknown>) | undefined;
|
|
24
24
|
}, {}, {}>;
|
|
25
|
-
export declare const ActionsSubmitButtonStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../extended/mui/IconButton/types').IconButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "
|
|
25
|
+
export declare const ActionsSubmitButtonStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../extended/mui/IconButton/types').IconButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "title" | "component" | "size" | "variant" | "color" | "content" | "translate" | "action" | "className" | "style" | "classes" | "children" | "src" | "sx" | "form" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "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" | "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" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "name" | "tooltip" | "value" | "instaceDataTestId" | "placement" | "icon" | "selected" | "rotationAngle" | "disabled" | "ariaLabel" | "dataTestId" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "type" | "badgeProps" | keyof import('react').RefAttributes<HTMLButtonElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
|
|
26
26
|
ownerState?: (Partial<import('../types').DynamicFilterOwnerState> & Record<string, unknown>) | undefined;
|
|
27
27
|
}, {}, {}>;
|
|
28
28
|
export declare const PopoverMenuStyled: import('@emotion/styled').StyledComponent<Pick<import('../../extended/mui/Popover/types').PopoverProps, keyof import('../../extended/mui/Popover/types').PopoverProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
|
|
@@ -53,8 +53,6 @@ import "../../areas/components/AreasAdmin/slots/AreasAdminSlots.js";
|
|
|
53
53
|
import "../../extended/mui/Typography/Typography.js";
|
|
54
54
|
import "../../MenuActions/MenuActions.js";
|
|
55
55
|
import "../../areas/components/AreasViewer/AreasViewer.js";
|
|
56
|
-
import "../../hook-form/RHFormProvider/RHFormProvider.js";
|
|
57
|
-
import "zustand/middleware";
|
|
58
56
|
import "../../Card/slots/CardSlots.js";
|
|
59
57
|
import "../../Card/constants.js";
|
|
60
58
|
import "../../CheckableList/constants.js";
|
|
@@ -80,8 +78,8 @@ import "../../commercial/SectionCommercial/classes/index.js";
|
|
|
80
78
|
import "../../commercial/SectionCommercial/styles.js";
|
|
81
79
|
import "../../ContainerFlow/constants.js";
|
|
82
80
|
import "../../ContainerFlow/slots/ContainerFlowSlots.js";
|
|
83
|
-
import "../../datagrids/contexts/DataGridContext/DataGridContext.js";
|
|
84
81
|
import "../../datagrids/contexts/FilterContext/FilterContext.js";
|
|
82
|
+
import "../../datagrids/contexts/DataGridContext/DataGridContext.js";
|
|
85
83
|
import "@m4l/icons";
|
|
86
84
|
import "../../datagrids/slots/DataGridSlot.js";
|
|
87
85
|
import "../../datagrids/views/TableView/subcomponents/Settings/subcomponents/ColumnsConfig/ColumnsConfig.js";
|
|
@@ -159,6 +157,7 @@ import "lodash-es/isString";
|
|
|
159
157
|
import "../../Image/subcomponents/IntersectComponent/index.js";
|
|
160
158
|
import "../../Image/slots/ImageSlots.js";
|
|
161
159
|
import "../../Image/constant.js";
|
|
160
|
+
import "../../hook-form/RHFormProvider/RHFormProvider.js";
|
|
162
161
|
import "yup";
|
|
163
162
|
import "../../hook-form/RHFActionsGroup/slots/RHFActionsGroupSlots.js";
|
|
164
163
|
import "../../hook-form/RHFActionsGroup/constants.js";
|
|
@@ -225,7 +224,7 @@ import { ALL_FIELD as W } from "../constants.js";
|
|
|
225
224
|
import { formatToRawFilter as X } from "../helpers/formatToRowFilter.js";
|
|
226
225
|
import { formatToInitialFilters as Y } from "../helpers/formatToInitialFilters.js";
|
|
227
226
|
import { createDynamicFilterStore as Z } from "./DynamicFilterStore.js";
|
|
228
|
-
const K = V(null),
|
|
227
|
+
const K = V(null), cp = j((g, S) => {
|
|
229
228
|
const {
|
|
230
229
|
automatic: c = !0,
|
|
231
230
|
withAllField: h = !0,
|
|
@@ -335,5 +334,5 @@ const K = V(null), up = j((g, S) => {
|
|
|
335
334
|
});
|
|
336
335
|
export {
|
|
337
336
|
K as DynamicFilterContext,
|
|
338
|
-
|
|
337
|
+
cp as DynamicFilterProvider
|
|
339
338
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FormStatusLoad } from '../../../../contexts';
|
|
1
|
+
import { FormStatusLoad } from '../../../../contexts/form';
|
|
2
2
|
import { FormFilterFieldApplied } from '../../types';
|
|
3
3
|
/**
|
|
4
4
|
* dataTypeComponent es el componente encargado de renderizar el componente correspondiente al tipo de dato
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataTypeComponent.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/components/src/components/DynamicFilter/subcomponents/FieldTypes/DataTypeComponent.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"DataTypeComponent.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/components/src/components/DynamicFilter/subcomponents/FieldTypes/DataTypeComponent.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAE1D;;GAEG;AACH,iBAAS,iBAAiB,CAAC,KAAK,EAAE;IAChC,UAAU,EAAE,sBAAsB,CAAC;IACnC,UAAU,EAAE,cAAc,CAAC;CAC5B,oDASA;AACD,eAAe,iBAAiB,CAAC"}
|
|
@@ -5,18 +5,18 @@ import "../../../WindowBase/contexts/WindowToolsMFContext/WindowToolsMFContext.j
|
|
|
5
5
|
import "zustand";
|
|
6
6
|
import "../../../WindowBase/contexts/DynamicMFParmsContext/DynamicMFParmsContext.js";
|
|
7
7
|
import "zustand/middleware/immer";
|
|
8
|
-
import "../../../../contexts/ModalContext/index.js";
|
|
9
8
|
import { RHFormProvider as F } from "../../../hook-form/RHFormProvider/RHFormProvider.js";
|
|
10
|
-
import "../../../../contexts/AppearanceComponentContext/AppearanceComponentContext.js";
|
|
11
|
-
import "zustand/shallow";
|
|
12
|
-
import "zustand/middleware";
|
|
13
|
-
import "@m4l/styles";
|
|
14
9
|
import "../../../CommonActions/components/ActionsContainer/ActionsContainer.js";
|
|
15
10
|
import { ActionCancel as b } from "../../../CommonActions/components/ActionCancel/ActionCancel.js";
|
|
16
11
|
import "../../../CommonActions/components/ActionIntro/ActionIntro.js";
|
|
17
12
|
import "react-hook-form";
|
|
18
13
|
import "@m4l/core";
|
|
14
|
+
import "../../../../contexts/ModalContext/index.js";
|
|
19
15
|
import "../../../WindowConfirm/slots/WindowConfirmSlots.js";
|
|
16
|
+
import "../../../../contexts/AppearanceComponentContext/AppearanceComponentContext.js";
|
|
17
|
+
import "zustand/shallow";
|
|
18
|
+
import "zustand/middleware";
|
|
19
|
+
import "@m4l/styles";
|
|
20
20
|
import "clsx";
|
|
21
21
|
import "../../../CommonActions/components/ActionFormCancel/slots/ActionFormCancelSlots.js";
|
|
22
22
|
import "../../../CommonActions/components/ActionFormIntro/slots/ActionFormIntroSlots.js";
|
|
@@ -19,10 +19,10 @@ export declare const AppliedSortInnerContainerStyled: import('@emotion/styled').
|
|
|
19
19
|
export declare const ActionsStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
|
|
20
20
|
ownerState?: (Partial<import('../types').DynamicSortOwnerState> & Record<string, unknown>) | undefined;
|
|
21
21
|
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
22
|
-
export declare const ActionsClearButtonStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../extended/mui/IconButton/types').IconButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "
|
|
22
|
+
export declare const ActionsClearButtonStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../extended/mui/IconButton/types').IconButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "title" | "component" | "size" | "variant" | "color" | "content" | "translate" | "action" | "className" | "style" | "classes" | "children" | "src" | "sx" | "form" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "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" | "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" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "name" | "tooltip" | "value" | "instaceDataTestId" | "placement" | "icon" | "selected" | "rotationAngle" | "disabled" | "ariaLabel" | "dataTestId" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "type" | "badgeProps" | keyof import('react').RefAttributes<HTMLButtonElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
|
|
23
23
|
ownerState?: (Partial<import('../types').DynamicSortOwnerState> & Record<string, unknown>) | undefined;
|
|
24
24
|
}, {}, {}>;
|
|
25
|
-
export declare const ActionsSubmitButtonStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../extended/mui/IconButton/types').IconButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "
|
|
25
|
+
export declare const ActionsSubmitButtonStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../extended/mui/IconButton/types').IconButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "title" | "component" | "size" | "variant" | "color" | "content" | "translate" | "action" | "className" | "style" | "classes" | "children" | "src" | "sx" | "form" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "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" | "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" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "name" | "tooltip" | "value" | "instaceDataTestId" | "placement" | "icon" | "selected" | "rotationAngle" | "disabled" | "ariaLabel" | "dataTestId" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "type" | "badgeProps" | keyof import('react').RefAttributes<HTMLButtonElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
|
|
26
26
|
ownerState?: (Partial<import('../types').DynamicSortOwnerState> & Record<string, unknown>) | undefined;
|
|
27
27
|
}, {}, {}>;
|
|
28
28
|
export declare const PopoverMenuStyled: import('@emotion/styled').StyledComponent<Pick<import('../../extended/mui/Popover/types').PopoverProps, keyof import('../../extended/mui/Popover/types').PopoverProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
|