@m4l/components 9.84.1 → 9.85.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/CheckableList/CheckableList.d.ts.map +1 -1
- package/components/CheckableList/CheckableList.js +250 -219
- package/components/CheckableList/CheckableList.styles.d.ts.map +1 -1
- package/components/CheckableList/CheckableList.styles.js +12 -0
- package/components/CheckableList/constants.d.ts +1 -1
- package/components/CheckableList/constants.d.ts.map +1 -1
- package/components/CheckableList/dictionary.d.ts +4 -2
- package/components/CheckableList/dictionary.d.ts.map +1 -1
- package/components/CheckableList/dictionary.js +6 -1
- package/components/CheckableList/dictionaryDefaults.d.ts +26 -0
- package/components/CheckableList/dictionaryDefaults.d.ts.map +1 -0
- package/components/CheckableList/dictionaryDefaults.js +31 -0
- package/components/CheckableList/hooks/types.d.ts +9 -0
- package/components/CheckableList/hooks/types.d.ts.map +1 -1
- package/components/CheckableList/hooks/useCheckableListHandlers.d.ts +2 -1
- package/components/CheckableList/hooks/useCheckableListHandlers.d.ts.map +1 -1
- package/components/CheckableList/hooks/useCheckableListHandlers.js +54 -40
- package/components/CheckableList/hooks/useCheckableListValue.d.ts +4 -0
- package/components/CheckableList/hooks/useCheckableListValue.d.ts.map +1 -0
- package/components/CheckableList/hooks/useCheckableListValue.js +28 -0
- package/components/CheckableList/index.d.ts +2 -0
- package/components/CheckableList/index.d.ts.map +1 -1
- package/components/CheckableList/slots/slots.d.ts +1 -0
- package/components/CheckableList/slots/slots.d.ts.map +1 -1
- package/components/CheckableList/slots/slots.js +1 -1
- package/components/CheckableList/slots/styled.d.ts +3 -0
- package/components/CheckableList/slots/styled.d.ts.map +1 -1
- package/components/CheckableList/slots/styled.js +62 -58
- package/components/CheckableList/types.d.ts +4 -0
- package/components/CheckableList/types.d.ts.map +1 -1
- package/components/DragResizeWindowRND/DragResizeWindowRND.d.ts.map +1 -1
- package/components/DragResizeWindowRND/DragResizeWindowRND.js +132 -118
- package/components/DragResizeWindowRND/constants.d.ts +1 -0
- package/components/DragResizeWindowRND/constants.d.ts.map +1 -1
- package/components/DragResizeWindowRND/constants.js +3 -2
- package/components/DragResizeWindowRND/hooks/types.d.ts +15 -0
- package/components/DragResizeWindowRND/hooks/types.d.ts.map +1 -0
- package/components/DragResizeWindowRND/hooks/useRNDCollapse.d.ts +4 -0
- package/components/DragResizeWindowRND/hooks/useRNDCollapse.d.ts.map +1 -0
- package/components/DragResizeWindowRND/hooks/useRNDCollapse.js +41 -0
- package/components/DragResizeWindowRND/hooks/useRNDDimensionEffects.d.ts +1 -0
- package/components/DragResizeWindowRND/hooks/useRNDDimensionEffects.d.ts.map +1 -1
- package/components/DragResizeWindowRND/hooks/useRNDDimensionEffects.js +21 -19
- package/components/DragResizeWindowRND/hooks/useRNDDragOptions.d.ts +2 -0
- package/components/DragResizeWindowRND/hooks/useRNDDragOptions.d.ts.map +1 -1
- package/components/DragResizeWindowRND/hooks/useRNDDragOptions.js +55 -54
- package/components/DragResizeWindowRND/types.d.ts +4 -0
- package/components/DragResizeWindowRND/types.d.ts.map +1 -1
- package/components/Label/Label.d.ts +2 -5
- package/components/Label/Label.d.ts.map +1 -1
- package/components/Label/Label.js +34 -35
- package/components/SortableList/dictionaryDefaults.d.ts +7 -0
- package/components/SortableList/dictionaryDefaults.d.ts.map +1 -0
- package/components/SortableList/dictionaryDefaults.js +34 -0
- package/components/SortableList/index.d.ts +1 -0
- package/components/SortableList/index.d.ts.map +1 -1
- package/components/Stepper/helpers/focusFirstErrorField/index.d.ts +1 -1
- package/components/Stepper/helpers/focusFirstErrorField/index.d.ts.map +1 -1
- package/components/Stepper/helpers/focusFirstErrorField/index.js +29 -14
- package/components/Stepper/helpers/getStepFocusTargets/constants.d.ts +4 -0
- package/components/Stepper/helpers/getStepFocusTargets/constants.d.ts.map +1 -0
- package/components/Stepper/helpers/getStepFocusTargets/constants.js +32 -0
- package/components/Stepper/helpers/getStepFocusTargets/index.d.ts +10 -0
- package/components/Stepper/helpers/getStepFocusTargets/index.d.ts.map +1 -0
- package/components/Stepper/helpers/getStepFocusTargets/index.js +34 -0
- package/components/Stepper/helpers/getStepFocusTargets/types.d.ts +6 -0
- package/components/Stepper/helpers/getStepFocusTargets/types.d.ts.map +1 -0
- package/components/Stepper/hooks/useStepEntryFocus/index.d.ts +4 -0
- package/components/Stepper/hooks/useStepEntryFocus/index.d.ts.map +1 -0
- package/components/Stepper/hooks/useStepEntryFocus/index.js +59 -0
- package/components/Stepper/hooks/useStepEntryFocus/types.d.ts +9 -0
- package/components/Stepper/hooks/useStepEntryFocus/types.d.ts.map +1 -0
- package/components/Stepper/hooks/useStepperActions/index.d.ts.map +1 -1
- package/components/Stepper/hooks/useStepperActions/index.js +53 -43
- package/components/Stepper/index.d.ts +1 -0
- package/components/Stepper/index.d.ts.map +1 -1
- package/components/Stepper/store/StepperContext/index.d.ts.map +1 -1
- package/components/Stepper/store/StepperContext/index.js +37 -35
- package/components/Stepper/store/StepperFocusContext/index.d.ts +5 -0
- package/components/Stepper/store/StepperFocusContext/index.d.ts.map +1 -0
- package/components/Stepper/store/StepperFocusContext/index.js +9 -0
- package/components/Stepper/store/StepperFocusContext/types.d.ts +8 -0
- package/components/Stepper/store/StepperFocusContext/types.d.ts.map +1 -0
- package/components/Stepper/subcomponents/StepArea/hooks/useStepArea.d.ts.map +1 -1
- package/components/Stepper/subcomponents/StepArea/hooks/useStepArea.js +74 -57
- package/components/Stepper/subcomponents/StepperContent/subcomponents/Step/index.d.ts.map +1 -1
- package/components/Stepper/subcomponents/StepperContent/subcomponents/Step/index.js +21 -6
- package/components/Stepper/tests/focus/fixtures.d.ts +8 -0
- package/components/Stepper/tests/focus/fixtures.d.ts.map +1 -0
- package/components/Stepper/tests/focus/types.d.ts +63 -0
- package/components/Stepper/tests/focus/types.d.ts.map +1 -0
- package/components/Stepper/types.d.ts +8 -0
- package/components/Stepper/types.d.ts.map +1 -1
- package/components/WindowBase/WindowBase.d.ts.map +1 -1
- package/components/WindowBase/WindowBase.js +74 -64
- package/components/WindowBase/WindowBase.styles.d.ts.map +1 -1
- package/components/WindowBase/WindowBase.styles.js +16 -5
- package/components/WindowBase/subcomponents/Header/HeaderWindowBase.d.ts.map +1 -1
- package/components/WindowBase/subcomponents/Header/HeaderWindowBase.js +59 -58
- package/components/WindowBase/subcomponents/Header/types.d.ts +1 -1
- package/components/WindowBase/subcomponents/Header/types.d.ts.map +1 -1
- package/components/WindowBase/subcomponents/Header/useButtonActions.d.ts.map +1 -1
- package/components/WindowBase/subcomponents/Header/useButtonActions.js +13 -12
- package/components/WindowBase/subcomponents/MemoizedIconButton/MemoizedIconButton.d.ts +1 -1
- package/components/WindowBase/subcomponents/MemoizedIconButton/MemoizedIconButton.d.ts.map +1 -1
- package/components/WindowBase/subcomponents/MemoizedIconButton/MemoizedIconButton.js +5 -5
- package/components/WindowBase/subcomponents/MemoizedIconButton/types.d.ts +2 -0
- package/components/WindowBase/subcomponents/MemoizedIconButton/types.d.ts.map +1 -1
- package/components/WindowBase/types.d.ts +7 -1
- package/components/WindowBase/types.d.ts.map +1 -1
- package/components/areas/types.d.ts +1 -1
- package/components/areas/types.d.ts.map +1 -1
- package/components/extended/React-resizable-panels/slots/SplitLayoutSlots.d.ts +2 -2
- package/components/extended/mui/Autocomplete/hooks/useAutocomplete/useAutocomplete.d.ts +1 -1
- package/components/extended/mui/Autocomplete/hooks/useEndAdornments.d.ts +2 -1
- package/components/extended/mui/Autocomplete/hooks/useEndAdornments.d.ts.map +1 -1
- package/components/extended/mui/Autocomplete/hooks/useEndAdornments.js +65 -58
- package/components/extended/mui/Autocomplete/hooks/useValuesAndHandlers.d.ts +1 -1
- package/components/extended/mui/Autocomplete/hooks/useValuesAndHandlers.d.ts.map +1 -1
- package/components/extended/mui/Autocomplete/hooks/useValuesAndHandlers.js +51 -51
- package/components/extended/mui/Autocomplete/tests/keyboard/AutocompleteKeyboardFixture.d.ts +5 -0
- package/components/extended/mui/Autocomplete/tests/keyboard/AutocompleteKeyboardFixture.d.ts.map +1 -0
- package/components/extended/mui/Autocomplete/tests/keyboard/constants.d.ts +3 -0
- package/components/extended/mui/Autocomplete/tests/keyboard/constants.d.ts.map +1 -0
- package/components/extended/mui/Autocomplete/tests/keyboard/types.d.ts +17 -0
- package/components/extended/mui/Autocomplete/tests/keyboard/types.d.ts.map +1 -0
- package/components/extended/mui/Select/Select.d.ts.map +1 -1
- package/components/extended/mui/Select/Select.js +99 -94
- package/components/extended/mui/Select/Select.styles.d.ts.map +1 -1
- package/components/extended/mui/Select/Select.styles.js +48 -39
- package/components/extended/mui/Select/tests/keyboard/SelectKeyboardFixture.d.ts +4 -0
- package/components/extended/mui/Select/tests/keyboard/SelectKeyboardFixture.d.ts.map +1 -0
- package/components/extended/mui/Select/tests/keyboard/types.d.ts +6 -0
- package/components/extended/mui/Select/tests/keyboard/types.d.ts.map +1 -0
- package/components/formatters/DistanceToNowFormatter/DistanceToNowFormatter.d.ts +2 -6
- package/components/formatters/DistanceToNowFormatter/DistanceToNowFormatter.d.ts.map +1 -1
- package/components/formatters/DistanceToNowFormatter/DistanceToNowFormatter.js +18 -17
- package/components/formatters/DistanceToNowFormatter/dictionary.d.ts +18 -0
- package/components/formatters/DistanceToNowFormatter/dictionary.d.ts.map +1 -1
- package/components/formatters/DistanceToNowFormatter/dictionary.js +19 -1
- package/components/formatters/DistanceToNowFormatter/dictionaryDefaults.d.ts +96 -0
- package/components/formatters/DistanceToNowFormatter/dictionaryDefaults.d.ts.map +1 -0
- package/components/formatters/DistanceToNowFormatter/dictionaryDefaults.js +101 -0
- package/components/formatters/DistanceToNowFormatter/hooks/useDistanceToNowFormatter.d.ts +4 -9
- package/components/formatters/DistanceToNowFormatter/hooks/useDistanceToNowFormatter.d.ts.map +1 -1
- package/components/formatters/DistanceToNowFormatter/hooks/useDistanceToNowFormatter.js +41 -15
- package/components/formatters/DistanceToNowFormatter/index.d.ts +1 -0
- package/components/formatters/DistanceToNowFormatter/index.d.ts.map +1 -1
- package/components/formatters/DistanceToNowFormatter/types.d.ts +10 -3
- package/components/formatters/DistanceToNowFormatter/types.d.ts.map +1 -1
- package/components/hook-form/RHFActionsGroup/RHFActionsGroup.d.ts.map +1 -1
- package/components/hook-form/RHFActionsGroup/RHFActionsGroup.js +43 -40
- package/components/hook-form/RHFCheckableList/RHFCheckableList.d.ts.map +1 -1
- package/components/hook-form/RHFCheckableList/RHFCheckableList.js +82 -73
- package/components/hook-form/RHFCheckbox/RHFCheckbox.d.ts.map +1 -1
- package/components/hook-form/RHFCheckbox/RHFCheckbox.js +62 -53
- package/components/hook-form/RHFDatePicker/RHFDatePicker.d.ts.map +1 -1
- package/components/hook-form/RHFDatePicker/RHFDatePicker.js +35 -32
- package/components/hook-form/RHFDateTime/RHFDateTime.d.ts.map +1 -1
- package/components/hook-form/RHFDateTime/RHFDateTime.js +42 -39
- package/components/hook-form/RHFMultiCheckbox/index.d.ts.map +1 -1
- package/components/hook-form/RHFMultiCheckbox/index.js +20 -17
- package/components/hook-form/RHFNumberInput/RHFNumberInput.d.ts.map +1 -1
- package/components/hook-form/RHFNumberInput/RHFNumberInput.js +46 -43
- package/components/hook-form/RHFPeriod/RHFPeriod.d.ts.map +1 -1
- package/components/hook-form/RHFPeriod/RHFPeriod.js +41 -39
- package/components/hook-form/RHFRadioGroup/RHFRadioGroup.d.ts.map +1 -1
- package/components/hook-form/RHFRadioGroup/RHFRadioGroup.js +62 -59
- package/components/hook-form/RHFSelect/RHFSelect.d.ts.map +1 -1
- package/components/hook-form/RHFSelect/RHFSelect.js +89 -73
- package/components/hook-form/RHFSelect/test/focus/SelectFocusFixture.d.ts +4 -0
- package/components/hook-form/RHFSelect/test/focus/SelectFocusFixture.d.ts.map +1 -0
- package/components/hook-form/RHFSelect/test/focus/constants.d.ts +3 -0
- package/components/hook-form/RHFSelect/test/focus/constants.d.ts.map +1 -0
- package/components/hook-form/RHFSelect/test/focus/types.d.ts +13 -0
- package/components/hook-form/RHFSelect/test/focus/types.d.ts.map +1 -0
- package/components/hook-form/RHFSelect/types.d.ts +5 -0
- package/components/hook-form/RHFSelect/types.d.ts.map +1 -1
- package/components/hook-form/RHFTextField/RHFTextField.d.ts.map +1 -1
- package/components/hook-form/RHFTextField/RHFTextField.js +55 -52
- package/components/hook-form/RHFTextFieldPassword/RHFTextFieldPassword.d.ts.map +1 -1
- package/components/hook-form/RHFTextFieldPassword/RHFTextFieldPassword.js +93 -85
- package/components/hook-form/RHFUpload/RHFUploaMultipleFile/components/UploadMultiple/index.d.ts +1 -1
- package/components/hook-form/RHFUpload/RHFUploaMultipleFile/components/UploadMultiple/index.d.ts.map +1 -1
- package/components/hook-form/RHFUpload/RHFUploaMultipleFile/index.d.ts +1 -1
- package/components/hook-form/RHFUpload/RHFUploaMultipleFile/index.d.ts.map +1 -1
- package/components/hook-form/RHFUpload/RHFUploaMultipleFile/types.d.ts +2 -0
- package/components/hook-form/RHFUpload/RHFUploaMultipleFile/types.d.ts.map +1 -1
- package/components/hook-form/RHFUpload/RHFUploadImage/RHFUploadImage.d.ts.map +1 -1
- package/components/hook-form/RHFUpload/RHFUploadImage/RHFUploadImage.js +74 -66
- package/components/hook-form/RHFUpload/RHFUploadImage/RHFUploadImage.styles.d.ts.map +1 -1
- package/components/hook-form/RHFUpload/RHFUploadImage/RHFUploadImage.styles.js +52 -32
- package/components/hook-form/RHFUpload/RHFUploadImage/subcomponents/UploadImage/UploadImage.d.ts.map +1 -1
- package/components/hook-form/RHFUpload/RHFUploadImage/subcomponents/UploadImage/UploadImage.js +1 -0
- package/components/hook-form/RHFUpload/RHFUploadImage/tests/focus/UploadImageFocusFixture.d.ts +4 -0
- package/components/hook-form/RHFUpload/RHFUploadImage/tests/focus/UploadImageFocusFixture.d.ts.map +1 -0
- package/components/hook-form/RHFUpload/RHFUploadImage/tests/focus/types.d.ts +13 -0
- package/components/hook-form/RHFUpload/RHFUploadImage/tests/focus/types.d.ts.map +1 -0
- package/components/hook-form/RHFUpload/RHFUploadSingleFile/RHFUploadSingleFile.d.ts.map +1 -1
- package/components/hook-form/RHFUpload/RHFUploadSingleFile/RHFUploadSingleFile.js +34 -32
- package/components/hook-form/RHFUpload/RHFUploadSingleFile/subcomponents/UploadSingleFile/index.js +13 -13
- package/components/popups/components/PopupsProvider/contexts/PopupsContext/store.d.ts.map +1 -1
- package/components/popups/components/PopupsProvider/contexts/PopupsContext/store.js +16 -16
- package/components/popups/components/PopupsProvider/contexts/PopupsContext/types.d.ts +4 -2
- package/components/popups/components/PopupsProvider/contexts/PopupsContext/types.d.ts.map +1 -1
- package/components/popups/components/PopupsProvider/hooks/types.d.ts +5 -0
- package/components/popups/components/PopupsProvider/hooks/types.d.ts.map +1 -0
- package/components/popups/components/PopupsProvider/hooks/useHeaderActionsPopups.d.ts +3 -14
- package/components/popups/components/PopupsProvider/hooks/useHeaderActionsPopups.d.ts.map +1 -1
- package/components/popups/components/PopupsProvider/hooks/useHeaderActionsPopups.js +34 -33
- package/components/popups/components/PopupsViewer/subcomponents/Popup/Popup.d.ts.map +1 -1
- package/components/popups/components/PopupsViewer/subcomponents/Popup/Popup.js +125 -118
- package/components/popups/components/PopupsViewer/subcomponents/Popup/usePopupHeaderHeight.d.ts +3 -0
- package/components/popups/components/PopupsViewer/subcomponents/Popup/usePopupHeaderHeight.d.ts.map +1 -0
- package/components/popups/components/PopupsViewer/subcomponents/Popup/usePopupHeaderHeight.js +21 -0
- package/components/popups/dictionaryDefaults.d.ts +4 -0
- package/components/popups/dictionaryDefaults.d.ts.map +1 -0
- package/components/popups/dictionaryDefaults.js +16 -0
- package/components/popups/index.d.ts +1 -0
- package/components/popups/index.d.ts.map +1 -1
- package/hocs/withRHFController/index.d.ts.map +1 -1
- package/hocs/withRHFController/index.js +71 -61
- package/index.js +823 -813
- package/package.json +12 -12
- package/test/mocks/dictionary-mock.d.ts +71 -23
- package/test/mocks/dictionary-mock.d.ts.map +1 -1
- package/utils/formatDistanceToNow/formatDistanteToNow.d.ts +2 -2
- package/utils/formatDistanceToNow/formatDistanteToNow.d.ts.map +1 -1
- package/utils/formatDistanceToNow/formatDistanteToNow.js +40 -23
- package/utils/formatDistanceToNow/index.d.ts +1 -1
- package/utils/formatDistanceToNow/index.d.ts.map +1 -1
- package/utils/formatDistanceToNow/types.d.ts +12 -6
- package/utils/formatDistanceToNow/types.d.ts.map +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
1
|
+
import { jsx as c } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import d from "react";
|
|
3
3
|
import { IconButton as l } from "../../../extended/mui/IconButton/IconButton.js";
|
|
4
|
-
const
|
|
5
|
-
({ iconUrl: t, label: o, disabled: e, onClick:
|
|
4
|
+
const s = d.memo(
|
|
5
|
+
({ iconUrl: t, label: o, disabled: e, onClick: a, color: m, className: n, selected: r, tooltipProps: i, "aria-expanded": p }) => /* @__PURE__ */ c(l, { role: "button", "aria-label": o, "aria-expanded": p, tooltip: o, icon: t, disabled: e, onClick: a, color: m, className: n, selected: r, placement: i?.placement })
|
|
6
6
|
);
|
|
7
7
|
export {
|
|
8
|
-
|
|
8
|
+
s as default
|
|
9
9
|
};
|
|
@@ -4,6 +4,8 @@ import { IconButtonProps } from '../../../extended/mui/IconButton/types';
|
|
|
4
4
|
* Props for the `MemoizedIconButton` component.
|
|
5
5
|
*/
|
|
6
6
|
export interface MemoizedIconButtonProps {
|
|
7
|
+
/** Expanded state for a window collapse toggle. */
|
|
8
|
+
'aria-expanded'?: boolean;
|
|
7
9
|
/**
|
|
8
10
|
* URL of the icon to display inside the button.
|
|
9
11
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/components/src/components/WindowBase/subcomponents/MemoizedIconButton/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,wCAAwC,CAAC;AAEzE;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,OAAO,EAAE,SAAS,CAAC,KAAK,CAAC,CAAC;IAC1B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB;;OAEG;IACH,KAAK,CAAC,EAAE,eAAe,CAAC,OAAO,CAAC,CAAC;IACjC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;OAEG;IACH,YAAY,CAAC,EAAE,IAAI,CAAC,YAAY,EAAE,IAAI,GAAG,UAAU,GAAG,OAAO,CAAC,CAAC;CAChE"}
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/components/src/components/WindowBase/subcomponents/MemoizedIconButton/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,wCAAwC,CAAC;AAEzE;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC,mDAAmD;IACnD,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;OAEG;IACH,OAAO,EAAE,SAAS,CAAC,KAAK,CAAC,CAAC;IAC1B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB;;OAEG;IACH,KAAK,CAAC,EAAE,eAAe,CAAC,OAAO,CAAC,CAAC;IACjC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;OAEG;IACH,YAAY,CAAC,EAAE,IAAI,CAAC,YAAY,EAAE,IAAI,GAAG,UAAU,GAAG,OAAO,CAAC,CAAC;CAChE"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
1
|
+
import { ReactNode, Ref } from 'react';
|
|
2
2
|
import { WindowBaseSlots } from './slots/WindowBaseEnum';
|
|
3
3
|
import { WINDOW_BASE_KEY_COMPONENT } from './constants';
|
|
4
4
|
import { Theme } from '@mui/material/styles';
|
|
@@ -79,6 +79,8 @@ export type WindowBaseModuleAction = Omit<ModuleActionMenuItem, 'visibility'> |
|
|
|
79
79
|
export type WindowBaseAction = WindowBaseModuleAction & {
|
|
80
80
|
place: 'left' | 'right' | 'inside';
|
|
81
81
|
className?: string;
|
|
82
|
+
/** Expanded state exposed by a collapse/restore action. */
|
|
83
|
+
'aria-expanded'?: boolean;
|
|
82
84
|
/**
|
|
83
85
|
* Props for the tooltip.
|
|
84
86
|
*/
|
|
@@ -88,6 +90,8 @@ export type WindowBaseAction = WindowBaseModuleAction & {
|
|
|
88
90
|
* Interface representing the main properties of the `WindowBase` component.
|
|
89
91
|
*/
|
|
90
92
|
export interface WindowBaseProps {
|
|
93
|
+
/** Observe the live header element without remounting the window content. */
|
|
94
|
+
headerRef?: Ref<HTMLDivElement>;
|
|
91
95
|
/**
|
|
92
96
|
* The main title of the window.
|
|
93
97
|
* This property is required and displayed prominently at the top of the window.
|
|
@@ -216,6 +220,8 @@ export type WindowBaseType = keyof typeof WindowBaseSlots;
|
|
|
216
220
|
* windowBaseSize (optional) - Size of the component (`'small'` or `'medium'`).
|
|
217
221
|
*/
|
|
218
222
|
export type WindowBaseOwnerState = {
|
|
223
|
+
/** Let progress feedback take precedence over the decorative selected popup edge. */
|
|
224
|
+
isLoading?: WindowBaseProps['isLoading'];
|
|
219
225
|
selected?: WindowBaseProps['selected'];
|
|
220
226
|
collapsed?: WindowBaseProps['collapsed'];
|
|
221
227
|
maximized?: WindowBaseProps['maximized'];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/WindowBase/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/WindowBase/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,yBAAyB,EAAE,MAAM,aAAa,CAAC;AACxD,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAC7C,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAEpD;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG;IAC1B;;OAEG;IACH,mBAAmB,EAAE,OAAO,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,EAAE,GAAG,KAAK,GAAG,CAAC,OAAO,CAAC,GAAG,GAAG,CAAC,OAAO,CAAC;AAG1E;;GAEG;AACH,MAAM,MAAM,OAAO,GAAG,eAAe,GAAG,WAAW,CAAC;AACpD;;;;;GAKG;AACH,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,SAAS,GAAG,QAAQ,CAAC;AAG7D,MAAM,WAAW,gBAAgB;IAC/B,IAAI,CAAC,EAAE,UAAU,GAAG,cAAc,CAAC;IACnC;;;OAGG;IACH,UAAU,EAAE,gBAAgB,CAAC;IAC7B;;OAEG;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C,CAAC;IACtD;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;;OAKG;IACH,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CAErB;AACD;;;;GAIG;AACH,MAAM,MAAM,cAAc,GAAG,MAAM,OAAO,eAAe,CAAC;AAC1D;;;;;;;;GAQG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC,qFAAqF;IACrF,SAAS,CAAC,EAAE,eAAe,CAAC,WAAW,CAAC,CAAC;IACzC,QAAQ,CAAC,EAAE,eAAe,CAAC,UAAU,CAAC,CAAC;IACvC,SAAS,CAAC,EAAE,eAAe,CAAC,WAAW,CAAC,CAAC;IACzC,SAAS,CAAC,EAAE,eAAe,CAAC,WAAW,CAAC,CAAC;IACzC,OAAO,CAAC,EAAE,eAAe,CAAC,SAAS,CAAC,CAAC;IACrC,IAAI,CAAC,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC;IAC/B,UAAU,CAAC,EAAE,eAAe,CAAC,YAAY,CAAC,CAAC;IAC3C,SAAS,CAAC,EAAE,eAAe,CAAC,WAAW,CAAC,CAAC;IACzC;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAA;AACD;;;;;;;GAOG;AACH,MAAM,MAAM,gBAAgB,GAAG,sBAAsB,CACnD,cAAc,EACd,OAAO,yBAAyB,EAChC,KAAK,CACN,CAAC"}
|
|
@@ -195,7 +195,7 @@ export type EmmitNewLayoutProps = EmmitNewLayoutMFProps | EmmitNewLayoutComponen
|
|
|
195
195
|
* `component`, `dynamicParams`, `iconUrl`, `subTitle`, `windowOptions`,
|
|
196
196
|
* `parentLayoutId`, `openType`, `replaceMeId`, `onRemove`, or `parentId`.
|
|
197
197
|
*/
|
|
198
|
-
type PopupPropsForAdd = Partial<Pick<PopupAddProps, 'bounds' | 'defaultPosition' | 'minWidth' | 'minHeight' | 'maxWidth' | 'maxHeight' | 'resizable' | 'draggable'>>;
|
|
198
|
+
type PopupPropsForAdd = Partial<Pick<PopupAddProps, 'bounds' | 'defaultPosition' | 'minWidth' | 'minHeight' | 'maxWidth' | 'maxHeight' | 'resizable' | 'draggable' | 'collapsed' | 'collapsible'>>;
|
|
199
199
|
export type Position = {
|
|
200
200
|
x: number;
|
|
201
201
|
y: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/areas/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oDAAoD,CAAC;AAC9F,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oDAAoD,CAAC;AACzF,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,kEAAkE,CAAC;AACjG,OAAO,EAAE,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AACxE,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC7E,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAGtC;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,CAAC;AAChE;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,QAAQ,GAAG,WAAW,CAAC;AAE9C;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,OAAO,GAAG,KAAK,GAAG,QAAQ,CAAC;AAI5D;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAC7C;;GAEG;AACH,MAAM,MAAM,OA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C;AAEjE;;;;GAIG;AACH,MAAM,MAAM,uBAAuB,GAAG,IAAI,CAAC,mBAAmB,EAAE,sBAAsB,CAAC,CAAC;AAExF,MAAM,MAAM,qBAAqB,GAAG,IAAI,CAAC,iBAAiB,EAAE,sBAAsB,CAAC,CAAC;AAEpF,MAAM,MAAM,4BAA4B,GAAG,IAAI,CAAC,wBAAwB,EAAE,sBAAsB,CAAC,CAAC;AAElG,MAAM,MAAM,mBAAmB,GAAG,qBAAqB,GAAG,4BAA4B,CAAC;AAEvF;;;;;;;;GAQG;AACF,KAAK,gBAAgB,GAAG,OAAO,CAAC,IAAI,CAAC,aAAa,EAC9C,QAAQ,GACR,iBAAiB,GACjB,UAAU,GACV,WAAW,GACX,UAAU,GACV,WAAW,GACX,WAAW,GACX,WAAW,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/areas/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oDAAoD,CAAC;AAC9F,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oDAAoD,CAAC;AACzF,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,kEAAkE,CAAC;AACjG,OAAO,EAAE,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AACxE,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC7E,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAGtC;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,CAAC;AAChE;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,QAAQ,GAAG,WAAW,CA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Ac,CAAC;CAC3B;AAGD,MAAM,MAAM,kBAAkB,GAC1B,IAAI,CAAC,gBAAgB,EAAE,sBAAsB,CAAC,GAC9C,IAAI,CAAC,uBAAuB,EAAE,sBAAsB,CAAC,CAAC;AAG1D,MAAM,MAAM,iBAAiB,GACzB,CAAC,iBAAiB,GAAG,WAAW,CAAC,GACjC,CAAC,gBAAgB,GAAG,WAAW,CAAC,GAChC,CAAC,gBAAgB,GAAG,WAAW,CAAC,GAChC,CAAC,gBAAgB,GAAG,WAAW,CAAC,CAAC;AAErC,MAAM,MAAM,wBAAwB,GAChC,CAAC,wBAAwB,GAAG,WAAW,CAAC,GACxC,CAAC,uBAAuB,GAAG,WAAW,CAAC,GACvC,CAAC,uBAAuB,GAAG,WAAW,CAAC,GACvC,CAAC,uBAAuB,GAAG,WAAW,CAAC,CAAC;AAG5C,MAAM,MAAM,eAAe,GAAG,iBAAiB,GAAG,wBAAwB,CAAC;AAG3E,MAAM,WAAW,WAAW;IAC1B,CAAC,CAAC,EAAE,MAAM,GAAG,eAAe,CAAC;CAC9B;AACD,MAAM,MAAM,mBAAmB,GAC3B,mBAAmB,GACnB,kBAAkB,GAClB,kBAAkB,GAClB,kBAAkB,CAAC;AACvB,MAAM,MAAM,SAAS,GAAG,CAAC,SAAS,EAAE,mBAAmB,KAAK,MAAM,CAAC"}
|
|
@@ -16,7 +16,7 @@ export declare const SplitMasterStyled: import('@emotion/styled').StyledComponen
|
|
|
16
16
|
tagName?: keyof HTMLElementTagNameMap | undefined;
|
|
17
17
|
} & {
|
|
18
18
|
children?: import('react').ReactNode;
|
|
19
|
-
} & import('react').RefAttributes<import('react-resizable-panels').ImperativePanelHandle>, "color" | "content" | "order" | "translate" | "children" | "className" | "slot" | "style" | "title" | "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" | "onResize" | "defaultSize" | "minSize" | "maxSize" | "collapsedSize" | "tagName" | "
|
|
19
|
+
} & import('react').RefAttributes<import('react-resizable-panels').ImperativePanelHandle>, "color" | "content" | "order" | "translate" | "children" | "className" | "slot" | "style" | "title" | "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" | "onResize" | "collapsible" | "defaultSize" | "minSize" | "maxSize" | "collapsedSize" | "tagName" | "onCollapse" | "onExpand" | keyof import('react').RefAttributes<import('react-resizable-panels').ImperativePanelHandle>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
|
|
20
20
|
ownerState?: (Partial<import('../types').SplitLayoutOwnerState> & Record<string, unknown>) | undefined;
|
|
21
21
|
}, {}, {}>;
|
|
22
22
|
export declare const SplitDetailStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('react').HTMLAttributes<HTMLDivElement | HTMLElement | HTMLObjectElement | HTMLAnchorElement | HTMLAreaElement | HTMLAudioElement | HTMLBaseElement | HTMLQuoteElement | HTMLBodyElement | HTMLBRElement | HTMLButtonElement | HTMLCanvasElement | HTMLTableColElement | HTMLDataElement | HTMLDataListElement | HTMLModElement | HTMLDetailsElement | HTMLDialogElement | HTMLDListElement | HTMLEmbedElement | HTMLFieldSetElement | HTMLFormElement | HTMLHeadingElement | HTMLHeadElement | HTMLHRElement | HTMLHtmlElement | HTMLIFrameElement | HTMLImageElement | HTMLInputElement | HTMLLabelElement | HTMLLegendElement | HTMLLIElement | HTMLLinkElement | HTMLMapElement | HTMLMetaElement | HTMLMeterElement | HTMLOListElement | HTMLOptGroupElement | HTMLOptionElement | HTMLOutputElement | HTMLParagraphElement | HTMLPreElement | HTMLProgressElement | HTMLSlotElement | HTMLScriptElement | HTMLSelectElement | HTMLSourceElement | HTMLSpanElement | HTMLStyleElement | HTMLTableElement | HTMLTemplateElement | HTMLTableSectionElement | HTMLTableCellElement | HTMLTextAreaElement | HTMLTimeElement | HTMLTitleElement | HTMLTableRowElement | HTMLTrackElement | HTMLUListElement | HTMLVideoElement | HTMLTableCaptionElement | HTMLMenuElement | HTMLPictureElement>, "id" | "onResize"> & {
|
|
@@ -35,7 +35,7 @@ export declare const SplitDetailStyled: import('@emotion/styled').StyledComponen
|
|
|
35
35
|
tagName?: keyof HTMLElementTagNameMap | undefined;
|
|
36
36
|
} & {
|
|
37
37
|
children?: import('react').ReactNode;
|
|
38
|
-
} & import('react').RefAttributes<import('react-resizable-panels').ImperativePanelHandle>, "color" | "content" | "order" | "translate" | "children" | "className" | "slot" | "style" | "title" | "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" | "onResize" | "defaultSize" | "minSize" | "maxSize" | "collapsedSize" | "tagName" | "
|
|
38
|
+
} & import('react').RefAttributes<import('react-resizable-panels').ImperativePanelHandle>, "color" | "content" | "order" | "translate" | "children" | "className" | "slot" | "style" | "title" | "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" | "onResize" | "collapsible" | "defaultSize" | "minSize" | "maxSize" | "collapsedSize" | "tagName" | "onCollapse" | "onExpand" | keyof import('react').RefAttributes<import('react-resizable-panels').ImperativePanelHandle>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
|
|
39
39
|
ownerState?: (Partial<import('../types').SplitLayoutOwnerState> & Record<string, unknown>) | undefined;
|
|
40
40
|
}, {}, {}>;
|
|
41
41
|
export declare const SplitResizeHandleStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('react').HTMLAttributes<keyof HTMLElementTagNameMap>, "id" | "onFocus" | "onBlur" | "onClick" | "onPointerDown" | "onPointerUp"> & {
|
|
@@ -16,7 +16,7 @@ export declare function useAutocomplete<T, Multiple extends boolean | undefined>
|
|
|
16
16
|
handleRefresh: () => void;
|
|
17
17
|
handleChange: (event: React.SyntheticEvent<Element, Event>, newSelectedValue: unknown, reason: import('@mui/material').AutocompleteChangeReason) => void;
|
|
18
18
|
handleInputChange: (_event: React.SyntheticEvent, newValue: string, reason: string) => void;
|
|
19
|
-
onCloseLocal: (event: React.SyntheticEvent, reason: import('@mui/material').AutocompleteCloseReason) => void;
|
|
19
|
+
onCloseLocal: (event: React.SyntheticEvent | undefined, reason: import('@mui/material').AutocompleteCloseReason) => void;
|
|
20
20
|
onOpenLocal: (event: React.SyntheticEvent) => void;
|
|
21
21
|
getOptionLabelLocal: (option: unknown) => string;
|
|
22
22
|
checkKeyDown: (e: import('react').KeyboardEvent<HTMLDivElement>) => void;
|
|
@@ -18,7 +18,8 @@ export type UseAdornmentsProps = {
|
|
|
18
18
|
endAdornment?: ReactElement;
|
|
19
19
|
};
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
21
|
+
* Build the shared autocomplete's end adornments.
|
|
22
|
+
* Construir los adornos finales del Autocomplete compartido.
|
|
22
23
|
*/
|
|
23
24
|
export declare function useEndAdornments(props: UseAdornmentsProps): import("@emotion/react/jsx-runtime").JSX.Element | null;
|
|
24
25
|
//# sourceMappingURL=useEndAdornments.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useEndAdornments.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/components/src/components/extended/mui/Autocomplete/hooks/useEndAdornments.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,KAAK,YAAY,EAAqB,MAAM,OAAO,CAAC;AAOpE,OAAO,EAAE,sBAAsB,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"useEndAdornments.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/components/src/components/extended/mui/Autocomplete/hooks/useEndAdornments.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,KAAK,YAAY,EAAqB,MAAM,OAAO,CAAC;AAOpE,OAAO,EAAE,sBAAsB,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAQhE,MAAM,MAAM,kBAAkB,GAAG;IAC/B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,YAAY,EAAE,OAAO,GAAG,QAAQ,CAAC;IACjC,UAAU,EAAE,sBAAsB,CAAC;IACnC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;IAClE,IAAI,EAAE,OAAO,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa,EAAE,GAAG,GAAG,GAAG,EAAE,GAAG,IAAI,CAAC;IAClC,mBAAmB,CAAC,EAAE,CAAC,MAAM,EAAE,GAAG,KAAK,MAAM,CAAC;IAC9C,qBAAqB,CAAC,EAAE,CAAC,MAAM,EAAE,GAAG,KAAK,YAAY,CAAC;IACtD,wGAAwG;IACxG,YAAY,CAAC,EAAE,YAAY,CAAC;CAC7B,CAAC;AACF;;;GAGG;AACH,wBAAgB,gBAAgB,CAC9B,KAAK,EAAE,kBAAkB,2DAsJ1B"}
|
|
@@ -1,92 +1,99 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import { renderAdornment as
|
|
1
|
+
import { jsx as n, jsxs as M } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import w, { useState as v, useMemo as A } from "react";
|
|
3
|
+
import { renderAdornment as x } from "../subcomponents/RenderAdornment/RenderAdornment.js";
|
|
4
4
|
import { AUTOCOMPLETE_KEY_COMPONENT as I, AUTOCOMPLETE_CLASSES as P } from "../constants.js";
|
|
5
|
-
import { ArrowRefreshSmOutlined as
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
|
|
5
|
+
import { ArrowRefreshSmOutlined as D, ArrowChevronSmDownOutlined as j } from "@m4l/icons";
|
|
6
|
+
import { autocompleteClasses as B } from "@mui/material";
|
|
7
|
+
import { Clipboard as N } from "../../Clipboard/Clipboard.js";
|
|
8
|
+
import { AdormentsStyled as _, WrapperEndAdornmentStyled as k, CircularProgressStyled as U, IconButtonStyled as y } from "../slots/AutocompleteSlots.js";
|
|
9
|
+
import { isIconComponentElement as V } from "../../../../../helpers/isIconComponentElement/isIconComponentElement.js";
|
|
10
|
+
function Q(O) {
|
|
10
11
|
const {
|
|
11
12
|
loading: S,
|
|
12
|
-
adjustedSize:
|
|
13
|
-
ownerState:
|
|
13
|
+
adjustedSize: o,
|
|
14
|
+
ownerState: a,
|
|
14
15
|
refresh: g,
|
|
15
|
-
handleRefresh:
|
|
16
|
-
disabled:
|
|
17
|
-
onOpenLocal:
|
|
18
|
-
open:
|
|
19
|
-
readOnly:
|
|
20
|
-
multiple:
|
|
16
|
+
handleRefresh: h,
|
|
17
|
+
disabled: t,
|
|
18
|
+
onOpenLocal: C,
|
|
19
|
+
open: E,
|
|
20
|
+
readOnly: l,
|
|
21
|
+
multiple: i,
|
|
21
22
|
selectedValue: e,
|
|
22
|
-
getOptionLabelLocal:
|
|
23
|
-
getOptionEndAdornment:
|
|
24
|
-
endAdornment:
|
|
25
|
-
} = O, [
|
|
26
|
-
c(!0),
|
|
23
|
+
getOptionLabelLocal: u,
|
|
24
|
+
getOptionEndAdornment: m,
|
|
25
|
+
endAdornment: d
|
|
26
|
+
} = O, [b, c] = v(!1), s = !!(l && !i), R = !!(l && i), T = () => {
|
|
27
|
+
c(!0), h(), setTimeout(() => {
|
|
27
28
|
c(!1);
|
|
28
29
|
}, 600);
|
|
29
|
-
},
|
|
30
|
-
|
|
30
|
+
}, z = (r) => {
|
|
31
|
+
r.button === 0 && (r.preventDefault(), r.currentTarget.closest(`.${B.root}`)?.querySelector('[role="combobox"]')?.focus());
|
|
32
|
+
}, p = A(() => {
|
|
33
|
+
if (s || i || !e || Array.isArray(e) && e.length === 0)
|
|
31
34
|
return null;
|
|
32
|
-
const
|
|
33
|
-
return
|
|
35
|
+
const r = Array.isArray(e) ? e[0] : e, f = m?.(r);
|
|
36
|
+
return f ? x(f, o, t) : null;
|
|
34
37
|
}, [
|
|
35
|
-
l,
|
|
36
38
|
i,
|
|
39
|
+
s,
|
|
37
40
|
e,
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
]), L =
|
|
42
|
-
return
|
|
43
|
-
|
|
41
|
+
m,
|
|
42
|
+
o,
|
|
43
|
+
t
|
|
44
|
+
]), L = A(() => !s || e === null || e === void 0 || Array.isArray(e) ? "" : u?.(e) ?? String(e), [u, s, e]);
|
|
45
|
+
return s ? /* @__PURE__ */ n(
|
|
46
|
+
N,
|
|
44
47
|
{
|
|
45
48
|
ariaLabel: "Copy value",
|
|
46
49
|
dataTestId: `${I}-copy`,
|
|
47
|
-
disabled:
|
|
48
|
-
size:
|
|
50
|
+
disabled: t,
|
|
51
|
+
size: o,
|
|
49
52
|
value: L
|
|
50
53
|
}
|
|
51
|
-
) :
|
|
52
|
-
!
|
|
53
|
-
|
|
54
|
-
size:
|
|
54
|
+
) : R ? null : /* @__PURE__ */ M(_, { ownerState: a, children: [
|
|
55
|
+
!i && p && /* @__PURE__ */ n(k, { children: p }),
|
|
56
|
+
d ? w.cloneElement(d, {
|
|
57
|
+
size: o,
|
|
55
58
|
// Only M4L Icon elements own a `disabled` contract; forwarding it to any other
|
|
56
59
|
// element would leak an unknown prop into the DOM.
|
|
57
|
-
|
|
60
|
+
// Solo los Icon de M4L admiten disabled; pasarlo a otro elemento filtraría
|
|
61
|
+
// una propiedad desconocida al DOM.
|
|
62
|
+
...V(d) && { disabled: t }
|
|
58
63
|
}) : null,
|
|
59
|
-
S ? /* @__PURE__ */
|
|
60
|
-
|
|
64
|
+
S ? /* @__PURE__ */ n(
|
|
65
|
+
U,
|
|
61
66
|
{
|
|
62
|
-
ownerState:
|
|
63
|
-
size:
|
|
67
|
+
ownerState: a,
|
|
68
|
+
size: o
|
|
64
69
|
}
|
|
65
|
-
) : g ? /* @__PURE__ */
|
|
70
|
+
) : g ? /* @__PURE__ */ n(
|
|
66
71
|
y,
|
|
67
72
|
{
|
|
68
|
-
ownerState:
|
|
69
|
-
src: /* @__PURE__ */
|
|
70
|
-
onClick:
|
|
71
|
-
disabled:
|
|
72
|
-
size:
|
|
73
|
-
className:
|
|
73
|
+
ownerState: a,
|
|
74
|
+
src: /* @__PURE__ */ n(D, {}),
|
|
75
|
+
onClick: l ? void 0 : T,
|
|
76
|
+
disabled: t || l,
|
|
77
|
+
size: o,
|
|
78
|
+
className: b ? P.refreshRotating : ""
|
|
74
79
|
}
|
|
75
80
|
) : null,
|
|
76
|
-
/* @__PURE__ */
|
|
81
|
+
/* @__PURE__ */ n(
|
|
77
82
|
y,
|
|
78
83
|
{
|
|
79
|
-
ownerState:
|
|
80
|
-
icon: /* @__PURE__ */
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
84
|
+
ownerState: a,
|
|
85
|
+
icon: /* @__PURE__ */ n(j, {}),
|
|
86
|
+
tabIndex: -1,
|
|
87
|
+
onMouseDown: z,
|
|
88
|
+
onClick: (r) => l ? void 0 : C(r),
|
|
89
|
+
disabled: t || l,
|
|
90
|
+
size: o,
|
|
91
|
+
rotationAngle: E ? 180 : 0,
|
|
85
92
|
"aria-label": "toggle Autocomplete"
|
|
86
93
|
}
|
|
87
94
|
)
|
|
88
95
|
] });
|
|
89
96
|
}
|
|
90
97
|
export {
|
|
91
|
-
|
|
98
|
+
Q as useEndAdornments
|
|
92
99
|
};
|
|
@@ -13,7 +13,7 @@ export declare function useValuesAndHandlers<T, Multiple extends boolean | undef
|
|
|
13
13
|
handleRefresh: () => void;
|
|
14
14
|
handleChange: (event: React.SyntheticEvent<Element, Event>, newSelectedValue: unknown, reason: AutocompleteChangeReason) => void;
|
|
15
15
|
handleInputChange: (_event: React.SyntheticEvent, newValue: string, reason: string) => void;
|
|
16
|
-
onCloseLocal: (event: React.SyntheticEvent, reason: AutocompleteCloseReason) => void;
|
|
16
|
+
onCloseLocal: (event: React.SyntheticEvent | undefined, reason: AutocompleteCloseReason) => void;
|
|
17
17
|
onOpenLocal: (event: React.SyntheticEvent) => void;
|
|
18
18
|
getOptionLabelLocal: (option: unknown) => string;
|
|
19
19
|
checkKeyDown: (e: KeyboardEvent<HTMLDivElement>) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useValuesAndHandlers.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/components/src/components/extended/mui/Autocomplete/hooks/useValuesAndHandlers.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC;AAClF,OAAO,EACL,aAAa,EAKd,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAE7C;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,CAAC,EAAE,QAAQ,SAAS,OAAO,GAAG,SAAS,EAC1E,KAAK,EAAE,iBAAiB,CAAC,CAAC,EAAE,QAAQ,CAAC;;;;wCAwE1B,OAAO,OAAO,OAAO;mCAkDkB,CAAC;;0BA8B1C,KAAK,CAAC,cAAc,CAAC,OAAO,EAAE,KAAK,CAAC,oBACzB,OAAO,UACjB,wBAAwB;gCA6BxB,KAAK,CAAC,cAAc,YAClB,MAAM,UACR,MAAM;0BAkBP,KAAK,CAAC,cAAc,
|
|
1
|
+
{"version":3,"file":"useValuesAndHandlers.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/components/src/components/extended/mui/Autocomplete/hooks/useValuesAndHandlers.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC;AAClF,OAAO,EACL,aAAa,EAKd,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAE7C;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,CAAC,EAAE,QAAQ,SAAS,OAAO,GAAG,SAAS,EAC1E,KAAK,EAAE,iBAAiB,CAAC,CAAC,EAAE,QAAQ,CAAC;;;;wCAwE1B,OAAO,OAAO,OAAO;mCAkDkB,CAAC;;0BA8B1C,KAAK,CAAC,cAAc,CAAC,OAAO,EAAE,KAAK,CAAC,oBACzB,OAAO,UACjB,wBAAwB;gCA6BxB,KAAK,CAAC,cAAc,YAClB,MAAM,UACR,MAAM;0BAkBP,KAAK,CAAC,cAAc,GAAG,SAAS,UAC/B,uBAAuB;yBA6BO,KAAK,CAAC,cAAc;kCAnJjD,OAAO;sBAwLO,aAAa,CAAC,cAAc,CAAC;;EAuCvD"}
|
|
@@ -1,83 +1,83 @@
|
|
|
1
|
-
import { useState as A, useRef as O, useEffect as
|
|
2
|
-
import { deepEqual as
|
|
3
|
-
function
|
|
1
|
+
import { useState as A, useRef as O, useEffect as E, useCallback as f } from "react";
|
|
2
|
+
import { deepEqual as L } from "fast-equals";
|
|
3
|
+
function G(k) {
|
|
4
4
|
const {
|
|
5
|
-
getOptionLabel:
|
|
6
|
-
isOptionEqualToValue:
|
|
5
|
+
getOptionLabel: w,
|
|
6
|
+
isOptionEqualToValue: C,
|
|
7
7
|
options: d = [],
|
|
8
8
|
onOpen: m,
|
|
9
9
|
onClose: D,
|
|
10
|
-
onChangeFilterParmsLocal:
|
|
11
|
-
multiple:
|
|
10
|
+
onChangeFilterParmsLocal: a,
|
|
11
|
+
multiple: r,
|
|
12
12
|
refresh: K,
|
|
13
|
-
onChange:
|
|
13
|
+
onChange: g,
|
|
14
14
|
value: n,
|
|
15
15
|
readOnly: o
|
|
16
|
-
} =
|
|
17
|
-
|
|
18
|
-
const t = n ?? (
|
|
19
|
-
if (
|
|
16
|
+
} = k, [h, v] = A(!1), [c, p] = A(""), R = O(0), T = n ?? (r ? [] : null), [s, V] = A(T), b = O(s), P = O(T);
|
|
17
|
+
E(() => {
|
|
18
|
+
const t = n ?? (r ? [] : null);
|
|
19
|
+
if (L(b.current, t) || (b.current = t, L(s, t)))
|
|
20
20
|
return;
|
|
21
21
|
V(t), (t === null || Array.isArray(t) && t.length === 0) && p("");
|
|
22
|
-
}, [
|
|
22
|
+
}, [r, n, s]);
|
|
23
23
|
const y = f(
|
|
24
|
-
(e, t) => t == null ? !1 :
|
|
25
|
-
[L]
|
|
26
|
-
), i = f(
|
|
27
|
-
(e) => typeof e == "string" ? e : e == null ? "" : C(e),
|
|
24
|
+
(e, t) => t == null ? !1 : C(e, t),
|
|
28
25
|
[C]
|
|
26
|
+
), i = f(
|
|
27
|
+
(e) => typeof e == "string" ? e : e == null ? "" : w(e),
|
|
28
|
+
[w]
|
|
29
29
|
);
|
|
30
|
-
|
|
31
|
-
const e = n ?? (
|
|
32
|
-
|
|
33
|
-
}, [n,
|
|
34
|
-
const
|
|
30
|
+
E(() => {
|
|
31
|
+
const e = n ?? (r ? [] : null);
|
|
32
|
+
L(P.current, e) || (P.current = e, !h && a && (n == null ? a("", "reset") : d.length === 0 && a(i(n), "reset")));
|
|
33
|
+
}, [n, h, r, d.length, a, i]);
|
|
34
|
+
const H = f((e) => {
|
|
35
35
|
if (!o && Array.isArray(s)) {
|
|
36
36
|
const t = s.filter(
|
|
37
|
-
(
|
|
37
|
+
(l) => !y(l, e)
|
|
38
38
|
);
|
|
39
|
-
V(t),
|
|
39
|
+
V(t), g?.(
|
|
40
40
|
{ target: { value: t } },
|
|
41
41
|
t,
|
|
42
42
|
"removeOption"
|
|
43
43
|
);
|
|
44
44
|
}
|
|
45
|
-
}, [s, y,
|
|
45
|
+
}, [s, y, g, o]), q = f(() => {
|
|
46
46
|
K?.(), v(!0);
|
|
47
|
-
}, [K]),
|
|
48
|
-
let
|
|
49
|
-
|
|
50
|
-
{ target: { value:
|
|
51
|
-
|
|
52
|
-
|
|
47
|
+
}, [K]), I = (e, t, l) => {
|
|
48
|
+
let u = r ? Array.isArray(t) ? t : [] : t;
|
|
49
|
+
r && Array.isArray(u) && (u = u?.filter((M) => d.some((U) => y(U, M)))), V(u), g?.(
|
|
50
|
+
{ target: { value: u } },
|
|
51
|
+
u,
|
|
52
|
+
l
|
|
53
53
|
);
|
|
54
|
-
},
|
|
55
|
-
o || (p(t),
|
|
56
|
-
},
|
|
57
|
-
let
|
|
58
|
-
t !== "selectOption" && t !== "removeOption" ||
|
|
59
|
-
},
|
|
54
|
+
}, x = (e, t, l) => {
|
|
55
|
+
o || (p(t), a && l === "input" && a(t, l));
|
|
56
|
+
}, z = (e, t) => {
|
|
57
|
+
let l = !0;
|
|
58
|
+
t !== "selectOption" && t !== "removeOption" || r && (l = !1), l && (R.current = 0, v(!1), D && D({ type: e?.type ?? "blur" }, t));
|
|
59
|
+
}, F = f((e) => {
|
|
60
60
|
o || (v((t) => !t), m && m({ type: e.type }));
|
|
61
61
|
}, [m, o]);
|
|
62
|
-
return
|
|
63
|
-
if (o && n !== null && n !== void 0 && !
|
|
62
|
+
return E(() => {
|
|
63
|
+
if (o && n !== null && n !== void 0 && !r) {
|
|
64
64
|
const e = i(n);
|
|
65
65
|
c !== e && p(e);
|
|
66
|
-
} else o &&
|
|
67
|
-
}, [o, n, i,
|
|
68
|
-
open:
|
|
66
|
+
} else o && r && c !== "" && p("");
|
|
67
|
+
}, [o, n, i, r, c]), {
|
|
68
|
+
open: h,
|
|
69
69
|
inputValue: c,
|
|
70
70
|
selectedValue: s,
|
|
71
71
|
isOptionEqualToValueLocal: y,
|
|
72
|
-
handleDelete:
|
|
73
|
-
handleRefresh:
|
|
74
|
-
handleChange:
|
|
75
|
-
handleInputChange:
|
|
76
|
-
onCloseLocal:
|
|
77
|
-
onOpenLocal:
|
|
72
|
+
handleDelete: H,
|
|
73
|
+
handleRefresh: q,
|
|
74
|
+
handleChange: I,
|
|
75
|
+
handleInputChange: x,
|
|
76
|
+
onCloseLocal: z,
|
|
77
|
+
onOpenLocal: F,
|
|
78
78
|
getOptionLabelLocal: i,
|
|
79
79
|
checkKeyDown: (e) => {
|
|
80
|
-
e.code === "Enter" && e.preventDefault(), o && ![
|
|
80
|
+
!(e.target instanceof HTMLInputElement) && !(e.target instanceof HTMLTextAreaElement) || (e.code === "Enter" && e.preventDefault(), o && ![
|
|
81
81
|
"Tab",
|
|
82
82
|
"Escape",
|
|
83
83
|
"ArrowUp",
|
|
@@ -88,11 +88,11 @@ function J(q) {
|
|
|
88
88
|
"End",
|
|
89
89
|
"PageUp",
|
|
90
90
|
"PageDown"
|
|
91
|
-
].includes(e.key) && !e.ctrlKey && !e.metaKey && e.preventDefault();
|
|
91
|
+
].includes(e.key) && !e.ctrlKey && !e.metaKey && e.preventDefault());
|
|
92
92
|
},
|
|
93
93
|
scrollPositionOptionsRef: R
|
|
94
94
|
};
|
|
95
95
|
}
|
|
96
96
|
export {
|
|
97
|
-
|
|
97
|
+
G as useValuesAndHandlers
|
|
98
98
|
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { AutocompleteKeyboardFixtureProps } from './types';
|
|
2
|
+
/** Keep actual local/async Autocomplete behavior between independent keyboard destinations.
|
|
3
|
+
* Conserva el comportamiento real del Autocomplete local/asíncrono entre destinos de teclado independientes. */
|
|
4
|
+
export declare function AutocompleteKeyboardFixture({ mode, readOnly, disabled, multiple, onChange }: AutocompleteKeyboardFixtureProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
5
|
+
//# sourceMappingURL=AutocompleteKeyboardFixture.d.ts.map
|
package/components/extended/mui/Autocomplete/tests/keyboard/AutocompleteKeyboardFixture.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AutocompleteKeyboardFixture.d.ts","sourceRoot":"","sources":["../../../../../../../../../../packages/components/src/components/extended/mui/Autocomplete/tests/keyboard/AutocompleteKeyboardFixture.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,gCAAgC,EAA8B,MAAM,SAAS,CAAC;AAE5F;gHACgH;AAChH,wBAAgB,2BAA2B,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,gCAAgC,oDAqB7H"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../../../../../packages/components/src/components/extended/mui/Autocomplete/tests/keyboard/constants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,SAAS,CAAC;AAE1D,eAAO,MAAM,6BAA6B,EAAE,0BAA0B,EAGrE,CAAC"}
|