@m4l/components 9.3.25 → 9.3.27

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.
Files changed (211) hide show
  1. package/@types/types.d.ts +18 -5
  2. package/components/AccountPopover/slots/AccountPopoverSlots.d.ts +1 -1
  3. package/components/AccountPopover/subcomponents/MenuPopover/MenuPopover.js +1 -1
  4. package/components/AppBar/slots/AppBarSlots.d.ts +1 -1
  5. package/components/Card/constants.d.ts +1 -1
  6. package/components/Chip/constants.d.ts +1 -1
  7. package/components/Chip/slots/ChipSlots.d.ts +1 -1
  8. package/components/Color/slots/ColorSlots.d.ts +1 -1
  9. package/components/CommonActions/components/ActionFormCancel/ActionFormCancel.js +17 -8
  10. package/components/CommonActions/components/ActionFormCancel/types.d.ts +9 -0
  11. package/components/ContainerFlow/constants.d.ts +1 -1
  12. package/components/DataGrid/formatters/ColumnIconFormatter/index.d.ts +1 -0
  13. package/components/DataGrid/index.d.ts +1 -1
  14. package/components/DataGrid/subcomponents/editors/EditLabelEditor/formatter.d.ts +8 -0
  15. package/components/DataGrid/subcomponents/editors/EditLabelEditor/index.d.ts +3 -0
  16. package/components/DataGrid/subcomponents/editors/EditLabelEditor/types.d.ts +5 -0
  17. package/components/DataGrid/subcomponents/editors/EditLabelEditor/useColumnEditLabel.d.ts +9 -0
  18. package/components/DataGrid/tests/helpers/types.d.ts +2 -0
  19. package/components/DataGrid/types.d.ts +2 -0
  20. package/components/DynamicFilter/slots/dynamicFilterSlots.d.ts +2 -2
  21. package/components/DynamicSort/slots/DynamicSortSlots.d.ts +2 -2
  22. package/components/EditLabel/EditLabel.d.ts +7 -0
  23. package/components/EditLabel/EditLabel.styles.d.ts +2 -0
  24. package/components/EditLabel/constants.d.ts +2 -0
  25. package/components/EditLabel/hooks/types.d.ts +17 -0
  26. package/components/EditLabel/hooks/useEditLabel.d.ts +7 -0
  27. package/components/EditLabel/icons.d.ts +5 -0
  28. package/components/EditLabel/index.d.ts +2 -0
  29. package/components/EditLabel/slots/EditLabelEnum.d.ts +8 -0
  30. package/components/EditLabel/slots/EditLabelSlots.d.ts +18 -0
  31. package/components/EditLabel/test/EditLabel.test.d.ts +1 -0
  32. package/components/EditLabel/types.d.ts +43 -0
  33. package/components/FormContainer/constants.d.ts +1 -1
  34. package/components/Icon/Icon.js +6 -3
  35. package/components/Icon/types.d.ts +4 -0
  36. package/components/Image/constant.d.ts +1 -1
  37. package/components/ImageText/ImageText.styles.js +1 -1
  38. package/components/ImageText/constants.d.ts +1 -1
  39. package/components/Label/Label.js +1 -1
  40. package/components/LanguagePopover/LanguagePopover.js +2 -0
  41. package/components/MFIsolationApp/MFIsolationApp.js +13 -8
  42. package/components/MFIsolationApp/MFIsolationApp.styles.d.ts +2 -0
  43. package/components/MFIsolationApp/MFIsolationApp.styles.js +22 -0
  44. package/components/MFIsolationApp/constants.d.ts +1 -0
  45. package/components/MFIsolationApp/constants.js +4 -0
  46. package/components/MFIsolationApp/icons.d.ts +3 -0
  47. package/components/MFIsolationApp/icons.js +6 -0
  48. package/components/MFIsolationApp/slots/MFIsolationAppEnum.d.ts +4 -0
  49. package/components/MFIsolationApp/slots/MFIsolationAppEnum.js +8 -0
  50. package/components/MFIsolationApp/slots/MFIsolationAppSlots.d.ts +2 -0
  51. package/components/MFIsolationApp/slots/MFIsolationAppSlots.js +17 -0
  52. package/components/MFIsolationApp/subcomponents/AppBarSettings/AppBarSettings.js +21 -0
  53. package/components/MFIsolationApp/subcomponents/AppBarSettings/index.js +1 -0
  54. package/components/MFIsolationApp/types.d.ts +8 -0
  55. package/components/MFIsolationAppStorybook/MFIsolationAppStorybook.js +137 -0
  56. package/components/MFIsolationAppStorybook/index.js +1 -0
  57. package/components/MFIsolationAppStorybook/subcomponents/MFAuthAppStorybook/MFAuthAppStorybook.js +44 -0
  58. package/components/MFIsolationAppStorybook/subcomponents/MFAuthAppStorybook/index.js +1 -0
  59. package/components/MFIsolationAppStorybook/types.d.ts +0 -4
  60. package/components/MenuActions/MenuActions.js +1 -1
  61. package/components/MenuActions/constants.d.ts +1 -1
  62. package/components/MenuActions/slots/MenuActionsSlots.d.ts +1 -1
  63. package/components/ModalDialog/ModalDialog.js +1 -0
  64. package/components/NoItemSelected/constant.d.ts +1 -1
  65. package/components/NumberInput/slots/NumberInputSlots.d.ts +2 -2
  66. package/components/ObjectLogs/slots/ObjectLogsSlots.d.ts +1 -1
  67. package/components/PaperForm/PaperForm.js +1 -1
  68. package/components/PaperForm/components/Header.js +9 -7
  69. package/components/PaperForm/styles.js +9 -4
  70. package/components/PaperForm/types.d.ts +3 -2
  71. package/components/SideBar/slots/SideBarSlots.d.ts +1 -1
  72. package/components/Stepper/Stepper.styles.js +2 -0
  73. package/components/Stepper/dictionary.js +0 -1
  74. package/components/Stepper/subcomponents/StepArea/hooks/useStepArea.d.ts +13 -0
  75. package/components/Stepper/subcomponents/StepArea/hooks/useStepArea.js +111 -0
  76. package/components/Stepper/subcomponents/StepArea/hooks/useVisibileSteps.d.ts +8 -0
  77. package/components/Stepper/subcomponents/StepArea/hooks/useVisibileSteps.js +79 -0
  78. package/components/Stepper/subcomponents/StepArea/index.js +7 -115
  79. package/components/Stepper/subcomponents/StepperButtons/StepperCancelButton/index.d.ts +2 -2
  80. package/components/Stepper/subcomponents/StepperButtons/StepperCancelButton/index.js +3 -53
  81. package/components/Stepper/subcomponents/StepperButtons/StepperNextButton/index.js +3 -2
  82. package/components/Stepper/subcomponents/StepperButtons/StepperPrevButton/index.js +3 -2
  83. package/components/Stepper/subcomponents/StepperButtons/StepperSubmitButton/index.js +24 -5
  84. package/components/Stepper/subcomponents/StepperContent/subcomponents/Step/hooks/useIsStepVisible.d.ts +8 -0
  85. package/components/Stepper/subcomponents/StepperContent/subcomponents/Step/hooks/useIsStepVisible.js +93 -0
  86. package/components/Stepper/subcomponents/StepperContent/subcomponents/Step/index.js +2 -51
  87. package/components/Stepper/types.d.ts +4 -0
  88. package/components/ToastContainer/ToastContainer.js +1 -0
  89. package/components/ToastContainer/constants.d.ts +1 -1
  90. package/components/ToastContainer/constants.js +1 -1
  91. package/components/ToastContainer/slots/toastContainerSlots.d.ts +2 -2
  92. package/components/WindowBase/constants.d.ts +1 -1
  93. package/components/WindowBase/contexts/WindowToolsMFContext/WindowToolsMFContext.js +47 -3
  94. package/components/WindowBase/contexts/WindowToolsMFContext/types.d.ts +1 -1
  95. package/components/WindowBase/subcomponents/Component/index.d.ts +12 -1
  96. package/components/WindowBase/subcomponents/Component/index.js +56 -2
  97. package/components/WindowBase/subcomponents/Component/types.d.ts +1 -0
  98. package/components/WindowBase/types.d.ts +1 -1
  99. package/components/areas/components/AreasAdmin/slots/AreasAdminSlots.d.ts +1 -1
  100. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/Window.js +1 -0
  101. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/hooks/useWindow.js +1 -1
  102. package/components/areas/contexts/AreasContext/store.js +5 -1
  103. package/components/areas/contexts/AreasContext/types.d.ts +1 -1
  104. package/components/extended/React-Json-Viewer/constants.d.ts +1 -1
  105. package/components/extended/React-resizable-panels/SplitLayout.js +1 -1
  106. package/components/formatters/ChipStatusFormatter/constants.d.ts +1 -1
  107. package/components/formatters/EditLabelFormatter/EditLabelFormatter.d.ts +5 -0
  108. package/components/formatters/EditLabelFormatter/EditLabelFormatter.styles.d.ts +2 -0
  109. package/components/formatters/EditLabelFormatter/constants.d.ts +5 -0
  110. package/components/formatters/EditLabelFormatter/index.d.ts +2 -0
  111. package/components/formatters/EditLabelFormatter/slots/EditLabelFormatterEnum.d.ts +4 -0
  112. package/components/formatters/EditLabelFormatter/slots/EditLabelFormatterSlots.d.ts +5 -0
  113. package/components/formatters/EditLabelFormatter/test/EditLabelFormatter.test.d.ts +1 -0
  114. package/components/formatters/EditLabelFormatter/types.d.ts +23 -0
  115. package/components/formatters/TagsFormatter/constants.d.ts +1 -1
  116. package/components/hook-form/RHFAutocomplete/RHFAutocomplete.d.ts +1 -1
  117. package/components/hook-form/RHFAutocomplete/RHFAutocomplete.js +7 -1
  118. package/components/hook-form/RHFAutocomplete/constants.d.ts +1 -1
  119. package/components/hook-form/RHFAutocomplete/types.d.ts +13 -0
  120. package/components/hook-form/RHFAutocompleteAsync/RHFAutocompleteAsync.js +7 -1
  121. package/components/hook-form/RHFAutocompleteAsync/slots/RHFAutocompleteSlotsAsync.d.ts +1 -1
  122. package/components/hook-form/RHFCheckbox/constants.d.ts +1 -1
  123. package/components/hook-form/RHFSelect/constants.d.ts +1 -1
  124. package/components/hook-form/RHFTextFieldPassword/slots/RHFTextFieldPasswordSlots.d.ts +1 -1
  125. package/components/hook-form/RHFUpload/RHFUploadImage/slots/RHFUploadImageSlots.d.ts +1 -1
  126. package/components/hook-form/RHFUpload/RHFUploadSingleFile/constants.d.ts +25 -1
  127. package/components/hook-form/RHFUpload/RHFUploadSingleFile/constants.js +5 -1
  128. package/components/hook-form/RHFUpload/RHFUploadSingleFile/slots/RHFUploadSingleFileSlots.d.ts +1 -1
  129. package/components/hook-form/RHFormContext/index.d.ts +109 -9
  130. package/components/hook-form/RHFormContext/index.js +23 -21
  131. package/components/hook-form/RHFormContext/styles.js +2 -1
  132. package/components/hook-form/RHFormContext/types.d.ts +64 -1
  133. package/components/index.d.ts +1 -0
  134. package/components/mui_extended/Autocomplete/Autocomplete.d.ts +4 -8
  135. package/components/mui_extended/Autocomplete/Autocomplete.js +24 -112
  136. package/components/mui_extended/Autocomplete/Autocomplete.styles.js +41 -12
  137. package/components/mui_extended/Autocomplete/hooks/useAutocomplete/useAutocomplete.d.ts +26 -0
  138. package/components/mui_extended/Autocomplete/hooks/useAutocomplete/useAutocomplete.js +166 -0
  139. package/components/mui_extended/Autocomplete/hooks/useEndAdornments.js +2 -1
  140. package/components/mui_extended/Autocomplete/hooks/useMultipleChips.d.ts +17 -0
  141. package/components/mui_extended/Autocomplete/hooks/useMultipleChips.js +108 -0
  142. package/components/mui_extended/Autocomplete/hooks/useValuesAndHandlers.d.ts +0 -2
  143. package/components/mui_extended/Autocomplete/hooks/useValuesAndHandlers.js +11 -17
  144. package/components/mui_extended/Autocomplete/slots/AutocompleteEnum.d.ts +2 -1
  145. package/components/mui_extended/Autocomplete/slots/AutocompleteEnum.js +1 -0
  146. package/components/mui_extended/Autocomplete/slots/AutocompleteSlots.d.ts +4 -1
  147. package/components/mui_extended/Autocomplete/slots/AutocompleteSlots.js +5 -0
  148. package/components/mui_extended/Autocomplete/subcomponents/LoadingText/LoadingText.d.ts +2 -0
  149. package/components/mui_extended/Autocomplete/subcomponents/LoadingText/LoadingText.js +14 -0
  150. package/components/mui_extended/Autocomplete/subcomponents/LoadingText/index.d.ts +1 -0
  151. package/components/mui_extended/Autocomplete/subcomponents/LoadingText/index.js +1 -0
  152. package/components/mui_extended/Autocomplete/subcomponents/NoOptionsText/NoOptionsText.d.ts +2 -0
  153. package/components/mui_extended/Autocomplete/subcomponents/NoOptionsText/NoOptionsText.js +14 -0
  154. package/components/mui_extended/Autocomplete/subcomponents/NoOptionsText/index.d.ts +1 -0
  155. package/components/mui_extended/Autocomplete/subcomponents/NoOptionsText/index.js +1 -0
  156. package/components/mui_extended/Autocomplete/subcomponents/PopperComponent/PopperComponent.d.ts +8 -0
  157. package/components/mui_extended/Autocomplete/subcomponents/PopperComponent/PopperComponent.js +23 -0
  158. package/components/mui_extended/Autocomplete/subcomponents/PopperComponent/index.d.ts +2 -0
  159. package/components/mui_extended/Autocomplete/subcomponents/PopperComponent/index.js +1 -0
  160. package/components/mui_extended/Autocomplete/subcomponents/PopperComponent/types.d.ts +7 -0
  161. package/components/mui_extended/Autocomplete/subcomponents/PopperComponent/types.js +1 -0
  162. package/components/mui_extended/Autocomplete/subcomponents/RenderAdornment/RenderAdornment.d.ts +6 -0
  163. package/components/mui_extended/Autocomplete/subcomponents/RenderAdornment/RenderAdornment.js +45 -0
  164. package/components/mui_extended/Autocomplete/subcomponents/renderOptions/index.d.ts +9 -0
  165. package/components/mui_extended/Autocomplete/subcomponents/renderOptions/index.js +61 -0
  166. package/components/mui_extended/Autocomplete/subcomponents/renderOptions/types.d.ts +7 -0
  167. package/components/mui_extended/Autocomplete/types.d.ts +21 -1
  168. package/components/mui_extended/Button/Button.js +15 -4
  169. package/components/mui_extended/Button/ButtonStyles.js +165 -82
  170. package/components/mui_extended/Button/{constans.d.ts → constants.d.ts} +1 -0
  171. package/components/mui_extended/Button/constants.js +8 -0
  172. package/components/mui_extended/Button/slots/ButtonSlots.js +1 -1
  173. package/components/mui_extended/Button/types.d.ts +1 -1
  174. package/components/mui_extended/CheckBox/CheckBox.js +1 -0
  175. package/components/mui_extended/CircularProgress/types.d.ts +1 -1
  176. package/components/mui_extended/DateTimePicker/slots/DateTimePickerSlots.d.ts +1 -1
  177. package/components/mui_extended/IconButton/constants.d.ts +1 -1
  178. package/components/mui_extended/IconButton/constants.js +4 -1
  179. package/components/mui_extended/MenuItem/MenuItem.js +1 -1
  180. package/components/mui_extended/MenuItem/MenuItem.styles.js +4 -1
  181. package/components/mui_extended/MenuItem/constants.d.ts +1 -1
  182. package/components/mui_extended/NavLink/constants.d.ts +1 -1
  183. package/components/mui_extended/Select/Select.js +2 -2
  184. package/components/mui_extended/Select/constants.d.ts +1 -1
  185. package/components/mui_extended/Select/slots/SelectSlots.d.ts +1 -1
  186. package/components/mui_extended/TextField/constants.d.ts +1 -1
  187. package/components/mui_extended/TimePicker/slots/TimePickerSlots.d.ts +1 -1
  188. package/components/mui_extended/ToggleIconButton/slots/ToggleIconButtonSlots.d.ts +1 -1
  189. package/components/mui_extended/Tooltip/Tooltip.styles.js +16 -4
  190. package/components/mui_extended/Tooltip/constants.d.ts +1 -1
  191. package/components/mui_extended/Typography/constants.d.ts +1 -1
  192. package/components/mui_extended/Typography/types.d.ts +2 -1
  193. package/components/mui_extended/Typography/typography.styles.js +4 -9
  194. package/components/popups/components/PopupsProvider/contexts/PopupsContext/store.js +5 -1
  195. package/components/popups/components/PopupsProvider/contexts/PopupsContext/types.d.ts +1 -1
  196. package/components/popups/components/PopupsProvider/hooks/usePopups.d.ts +2 -4
  197. package/components/popups/components/PopupsProvider/hooks/usePopups.js +19 -7
  198. package/components/popups/components/PopupsViewer/PopupsViewer.js +1 -1
  199. package/components/popups/components/PopupsViewer/PopupsViewer.styles.js +1 -1
  200. package/components/popups/components/PopupsViewer/subcomponents/Popup/Popup.js +32 -21
  201. package/contexts/AppearanceComponentContext/AppearanceComponentContext.js +9 -1
  202. package/index.js +74 -70
  203. package/package.json +1 -1
  204. package/utils/getComponentSlotRoot.d.ts +3 -1
  205. package/components/mui_extended/Autocomplete/hooks/useStartAdornments.d.ts +0 -21
  206. package/components/mui_extended/Autocomplete/hooks/useStartAdornments.js +0 -31
  207. package/components/mui_extended/Autocomplete/renderOptions/index.d.ts +0 -22
  208. package/components/mui_extended/Autocomplete/renderOptions/index.js +0 -24
  209. package/components/mui_extended/Button/constans.js +0 -4
  210. /package/components/{MFIsolationAppStorybook → MFIsolationApp}/subcomponents/AppBarSettings/AppBarSettings.d.ts +0 -0
  211. /package/components/{MFIsolationAppStorybook → MFIsolationApp}/subcomponents/AppBarSettings/index.d.ts +0 -0
@@ -28,6 +28,7 @@ const ToastContainer = (props) => {
28
28
  icon: false,
29
29
  closeButton: false,
30
30
  autoClose: DEFAULT_CLOSE_TIME,
31
+ position: "bottom-left",
31
32
  theme: "light",
32
33
  ...restProps
33
34
  }
@@ -1,5 +1,5 @@
1
1
  export declare const TOAST_KEY_COMPONENT = "M4LToastContainer";
2
- export declare const DEFAULT_CLOSE_TIME = 30000;
2
+ export declare const DEFAULT_CLOSE_TIME = 10000;
3
3
  export declare const ICONS_PATH = "frontend/components/toast/assets/icons";
4
4
  export declare const TOAST_NATIVE_STYLES: {
5
5
  '&': {
@@ -1,5 +1,5 @@
1
1
  const TOAST_KEY_COMPONENT = "M4LToastContainer";
2
- const DEFAULT_CLOSE_TIME = 3e4;
2
+ const DEFAULT_CLOSE_TIME = 1e4;
3
3
  const ICONS_PATH = "frontend/components/toast/assets/icons";
4
4
  const TOAST_NATIVE_STYLES = {
5
5
  "&": {
@@ -22,9 +22,9 @@ export declare const MessageDescriptionStyled: import('@emotion/styled').StyledC
22
22
  export declare const MessageIconStyled: import('@emotion/styled').StyledComponent<Pick<import('../../Icon').IconProps, keyof import('../../Icon').IconProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('../types').ToastContainerOwnerState> & Record<string, unknown> & {
23
23
  ownerState: Partial<import('../types').ToastContainerOwnerState> & Record<string, unknown>;
24
24
  }, {}, {}>;
25
- export declare const MessageCloseButtonStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../mui_extended/IconButton/types').IconButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "value" | "size" | "children" | "title" | "component" | "name" | "id" | "type" | "selected" | "disabled" | "action" | "hidden" | "color" | "content" | "style" | "icon" | "tooltip" | "variant" | "translate" | "className" | "classes" | "src" | "sx" | "form" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "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" | "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" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "instaceDataTestId" | "placement" | "rotationAngle" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "badgeProps" | keyof import('react').RefAttributes<HTMLButtonElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('../types').ToastContainerOwnerState> & Record<string, unknown> & {
25
+ export declare const MessageCloseButtonStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../mui_extended/IconButton/types').IconButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "value" | "size" | "children" | "title" | "component" | "name" | "id" | "type" | "selected" | "disabled" | "action" | "hidden" | "color" | "content" | "style" | "icon" | "tooltip" | "variant" | "translate" | "className" | "classes" | "src" | "sx" | "form" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "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" | "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" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "instaceDataTestId" | "placement" | "rotationAngle" | "ariaLabel" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "badgeProps" | keyof import('react').RefAttributes<HTMLButtonElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('../types').ToastContainerOwnerState> & Record<string, unknown> & {
26
26
  ownerState: Partial<import('../types').ToastContainerOwnerState> & Record<string, unknown>;
27
27
  }, {}, {}>;
28
- export declare const MessagePinButtonStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../mui_extended/IconButton/types').IconButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "value" | "size" | "children" | "title" | "component" | "name" | "id" | "type" | "selected" | "disabled" | "action" | "hidden" | "color" | "content" | "style" | "icon" | "tooltip" | "variant" | "translate" | "className" | "classes" | "src" | "sx" | "form" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "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" | "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" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "instaceDataTestId" | "placement" | "rotationAngle" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "badgeProps" | keyof import('react').RefAttributes<HTMLButtonElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('../types').ToastContainerOwnerState> & Record<string, unknown> & {
28
+ export declare const MessagePinButtonStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../mui_extended/IconButton/types').IconButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "value" | "size" | "children" | "title" | "component" | "name" | "id" | "type" | "selected" | "disabled" | "action" | "hidden" | "color" | "content" | "style" | "icon" | "tooltip" | "variant" | "translate" | "className" | "classes" | "src" | "sx" | "form" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "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" | "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" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "instaceDataTestId" | "placement" | "rotationAngle" | "ariaLabel" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "badgeProps" | keyof import('react').RefAttributes<HTMLButtonElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('../types').ToastContainerOwnerState> & Record<string, unknown> & {
29
29
  ownerState: Partial<import('../types').ToastContainerOwnerState> & Record<string, unknown>;
30
30
  }, {}, {}>;
@@ -1,2 +1,2 @@
1
1
  export declare const WINDOW_BASE_KEY_COMPONENT = "M4LWindowBase";
2
- export declare const windowBaseClasses: Record<string, string>;
2
+ export declare const windowBaseClasses: Record<"wrapperWindowBase" | "contentWindowBase" | "headerContentWindowBase" | "headerTitleWindowBase" | "headerSubTitleWindowBase" | "pointIcon" | "containerTitleSubtitle" | "headerIconWindowBase" | "menuActionsWindowBase" | "iconsWrapperWindowBase" | "headerWindowComponent" | "linearProgressIndeterminate" | "contentEditionInfo" | "windowContainerComponent" | "toastContainer" | "containerLeftActions", string>;
@@ -1,9 +1,53 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import React, { createContext } from "react";
2
+ import React, { createContext, useMemo } from "react";
3
3
  const WindowToolsMFContext = createContext(null);
4
4
  function WindowToolsMFProvider(props) {
5
- const { children, ...other } = props;
6
- return /* @__PURE__ */ jsx(WindowToolsMFContext.Provider, { value: { ...other }, children });
5
+ const {
6
+ children,
7
+ getCookie,
8
+ getWindowId,
9
+ getCookies,
10
+ setActions,
11
+ setCookie,
12
+ startProgress,
13
+ stopProgress,
14
+ toast,
15
+ close,
16
+ setFnQueryClose,
17
+ setWindowTitle,
18
+ setWindowSubTitle,
19
+ setWindowEditionInfo
20
+ } = props;
21
+ const value = useMemo(() => ({
22
+ getCookie,
23
+ getWindowId,
24
+ getCookies,
25
+ setActions,
26
+ setCookie,
27
+ startProgress,
28
+ stopProgress,
29
+ toast,
30
+ close,
31
+ setFnQueryClose,
32
+ setWindowTitle,
33
+ setWindowSubTitle,
34
+ setWindowEditionInfo
35
+ }), [
36
+ getCookie,
37
+ getWindowId,
38
+ getCookies,
39
+ setActions,
40
+ setCookie,
41
+ startProgress,
42
+ stopProgress,
43
+ toast,
44
+ close,
45
+ setFnQueryClose,
46
+ setWindowTitle,
47
+ setWindowSubTitle,
48
+ setWindowEditionInfo
49
+ ]);
50
+ return /* @__PURE__ */ jsx(WindowToolsMFContext.Provider, { value, children });
7
51
  }
8
52
  const MemonizedWindowToolsMFContext = React.memo(WindowToolsMFProvider);
9
53
  export {
@@ -53,7 +53,7 @@ export interface WindowToolsMF {
53
53
  /**
54
54
  * Método para cerrar la ventana actual.
55
55
  */
56
- close: () => void;
56
+ close: (useFnQueryClose?: boolean) => void;
57
57
  /**
58
58
  * Método para establecer la función de consulta de cierre de la ventana.
59
59
  * @param fnQueryClose La función de consulta de cierre de la ventana que se desea establecer.
@@ -1,7 +1,18 @@
1
1
  import { default as React } from 'react';
2
2
  import { ComponentProps } from './types';
3
3
  /**
4
- * Componente encargado de renderizar el componente de la ventana.
4
+ * Componente encargado de renderizar el componente de la ventana con transición y loader.
5
+ * Usa useTransition para priorizar el loader y mantener la UI responsive durante el renderizado pesado.
6
+ *
7
+ * ## Flujo de renderizado:
8
+ * 1. Monta con shouldRender=false, isPending=false → muestra nada (o loader inicial)
9
+ * 2. useEffect ejecuta: startTransition(() => setShouldRender(true))
10
+ * 3. React marca la actualización como "no urgente" e inmediatamente isPending=true → muestra loader
11
+ * 4. React procesa el cambio de shouldRender: useMemo se re-ejecuta y crea el componente pesado
12
+ * 5. Cuando termina TODO el trabajo de render: isPending=false → muestra componente con fade in
13
+ *
14
+ * La clave es que React mantiene isPending=true durante TODO el tiempo que tarde en procesar
15
+ * la actualización de estado y el render que causa (incluyendo el useMemo pesado).
5
16
  */
6
17
  export declare const WindowBaseComponent: (props: ComponentProps) => import("react/jsx-runtime").JSX.Element;
7
18
  export declare const MemonizedComponent: React.MemoExoticComponent<(props: ComponentProps) => import("react/jsx-runtime").JSX.Element>;
@@ -1,11 +1,65 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import React from "react";
2
+ import React, { useTransition, useState, useRef, useMemo, createElement, useEffect } from "react";
3
3
  import { a as WindowContainerComponentStyled } from "../../slots/WindowBaseSlots.js";
4
+ import { P as PropagateLoaderSpinner } from "../../../extended/React-Spinners/PropagateLoaderSpinner/PropagateLoaderSpinner.js";
4
5
  import { a as WindowToolsMFProvider } from "../../contexts/WindowToolsMFContext/WindowToolsMFContext.js";
5
6
  import { a as DynamicMFParmsProvider } from "../../contexts/DynamicMFParmsContext/DynamicMFParmsContext.js";
6
7
  const WindowBaseComponent = (props) => {
7
8
  const { component, dynamicMFStore, windowTools, componentProps, emergeType } = props;
8
- return /* @__PURE__ */ jsx(WindowToolsMFProvider, { ...windowTools, children: /* @__PURE__ */ jsx(DynamicMFParmsProvider, { store: dynamicMFStore, children: /* @__PURE__ */ jsx(WindowContainerComponentStyled, { ownerState: { emergeType }, children: typeof component === "function" ? component(componentProps) : component }) }) });
9
+ const [isPending, startTransition] = useTransition();
10
+ const [shouldRender, setShouldRender] = useState(false);
11
+ const mountTimeRef = useRef(performance.now());
12
+ const renderedComponent = useMemo(() => {
13
+ if (!shouldRender) {
14
+ return null;
15
+ }
16
+ const renderStartTime = performance.now();
17
+ const component_result = typeof component === "function" ? createElement(component, componentProps) : component;
18
+ const renderTime = performance.now() - renderStartTime;
19
+ if (process.env.NODE_ENV === "development" && renderTime > 100) {
20
+ console.warn(`⚠️ WindowBase component rendering took ${renderTime.toFixed(2)}ms`);
21
+ }
22
+ return component_result;
23
+ }, [shouldRender, component, componentProps]);
24
+ useEffect(() => {
25
+ startTransition(() => {
26
+ setShouldRender(true);
27
+ });
28
+ const timer = setTimeout(() => {
29
+ const totalTime = performance.now() - mountTimeRef.current;
30
+ if (process.env.NODE_ENV === "development" && totalTime > 500) {
31
+ console.warn(`⏱️ WindowBase total mount time: ${totalTime.toFixed(2)}ms`);
32
+ }
33
+ }, 0);
34
+ return () => clearTimeout(timer);
35
+ }, []);
36
+ return /* @__PURE__ */ jsx(WindowToolsMFProvider, { ...windowTools, children: /* @__PURE__ */ jsx(DynamicMFParmsProvider, { store: dynamicMFStore, children: /* @__PURE__ */ jsx(
37
+ WindowContainerComponentStyled,
38
+ {
39
+ ownerState: { emergeType },
40
+ children: isPending ? (
41
+ // Mientras isPending=true, mostrar solo el loader
42
+ /* @__PURE__ */ jsx(
43
+ "div",
44
+ {
45
+ style: {
46
+ position: "absolute",
47
+ display: "flex",
48
+ justifyContent: "center",
49
+ alignItems: "center",
50
+ width: "100%",
51
+ height: "100%",
52
+ zIndex: 1e3
53
+ },
54
+ children: /* @__PURE__ */ jsx(PropagateLoaderSpinner, {})
55
+ }
56
+ )
57
+ ) : (
58
+ // Cuando isPending=false, mostrar componente con fade in
59
+ renderedComponent
60
+ )
61
+ }
62
+ ) }) });
9
63
  };
10
64
  React.memo(WindowBaseComponent);
11
65
  export {
@@ -3,6 +3,7 @@ import { DynamicMFStore } from '../../contexts/DynamicMFParmsContext/store';
3
3
  import { JSX_REACT_NODE } from '../../../WindowBase/types';
4
4
  import { EmergeType } from '../../../areas/types';
5
5
  export interface ComponentProps {
6
+ id: string;
6
7
  emergeType: EmergeType;
7
8
  windowTools: WindowToolsMF;
8
9
  dynamicMFStore: DynamicMFStore;
@@ -16,7 +16,7 @@ export type WindowOptions = {
16
16
  */
17
17
  allowPersistCookies: boolean;
18
18
  };
19
- export type JSX_REACT_NODE = ((props?: any) => JSX.Element) | ReactNode;
19
+ export type JSX_REACT_NODE = ((props?: any) => JSX.Element) | JSX.Element;
20
20
  /**
21
21
  * Tipo que representa el tipo de ventana: microfrontend o componente.
22
22
  */
@@ -22,7 +22,7 @@ export declare const AreasAdminContentStyled: import('@emotion/styled').StyledCo
22
22
  export declare const ChipAreasStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../../Chip').ChipProps & import('react').RefAttributes<HTMLDivElement>, keyof import('react').RefAttributes<HTMLDivElement> | keyof import('../../../../Chip').ChipProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
23
23
  ownerState?: (Partial<import('../types').AreasAdminOwnerState> & Record<string, unknown>) | undefined;
24
24
  }, {}, {}>;
25
- export declare const IconButtonAddAreaStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../../../mui_extended/IconButton/types').IconButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "value" | "size" | "children" | "title" | "component" | "name" | "id" | "type" | "selected" | "disabled" | "action" | "hidden" | "color" | "content" | "style" | "icon" | "tooltip" | "variant" | "translate" | "className" | "classes" | "src" | "sx" | "form" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "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" | "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" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "instaceDataTestId" | "placement" | "rotationAngle" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "badgeProps" | keyof import('react').RefAttributes<HTMLButtonElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
25
+ export declare const IconButtonAddAreaStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../../../mui_extended/IconButton/types').IconButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "value" | "size" | "children" | "title" | "component" | "name" | "id" | "type" | "selected" | "disabled" | "action" | "hidden" | "color" | "content" | "style" | "icon" | "tooltip" | "variant" | "translate" | "className" | "classes" | "src" | "sx" | "form" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "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" | "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" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "instaceDataTestId" | "placement" | "rotationAngle" | "ariaLabel" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "badgeProps" | keyof import('react').RefAttributes<HTMLButtonElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
26
26
  ownerState?: (Partial<import('../types').AreasAdminOwnerState> & Record<string, unknown>) | undefined;
27
27
  }, {}, {}>;
28
28
  export declare const MenuActionsChipStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../../MenuActions/types').MenuActionsProps, keyof import('../../../../MenuActions/types').MenuActionsProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
@@ -90,6 +90,7 @@ const Window = (props) => {
90
90
  ) : /* @__PURE__ */ jsx(
91
91
  WindowBaseComponent,
92
92
  {
93
+ id: windowId,
93
94
  emergeType,
94
95
  dynamicMFStore,
95
96
  windowTools,
@@ -68,7 +68,7 @@ const useWindow = (windowId, areaId) => {
68
68
  getCookie: (id) => getCookie(windowId, id),
69
69
  getCookies: (type) => getCookies(windowId, type),
70
70
  setCookie: (id, type, cookie) => setCookie(windowId, id, type, cookie),
71
- close: () => close(windowId),
71
+ close: (useFnQueryClose = true) => close(windowId, useFnQueryClose),
72
72
  startProgress: () => startProgress(windowId),
73
73
  stopProgress: () => stopProgress(windowId),
74
74
  setFnQueryClose: (fnQueryClose) => setFnQueryClose(windowId, fnQueryClose),
@@ -721,9 +721,13 @@ const createAreasStore = (initProps, storeDevtoolsEnabled = false) => {
721
721
  /**
722
722
  * close window
723
723
  */
724
- close: (windowId) => {
724
+ close: (windowId, useFnQueryClose = true) => {
725
725
  const hW = get().hashWindows[windowId];
726
726
  if (hW) {
727
+ if (hW.fnQueryClose && useFnQueryClose) {
728
+ hW.fnQueryClose();
729
+ return;
730
+ }
727
731
  const onClose = hW.onClose;
728
732
  if (onClose) {
729
733
  onClose(hW.windowId);
@@ -285,7 +285,7 @@ export interface AreasStoreStateWithActions extends AreasStoreState {
285
285
  getCookie: (windowId: string, id: string) => Record<string, any> | undefined;
286
286
  getCookies: (windowId: string, type: CookieType) => Record<string, any>;
287
287
  setCookie: (windowId: string, id: string, type: CookieType, cookie: Record<string, any>) => void;
288
- close: (windowId: string) => void;
288
+ close: (windowId: string, useFnQueryClose?: boolean) => void;
289
289
  startProgress: (windowId: string) => void;
290
290
  stopProgress: (windowId: string) => void;
291
291
  loadCookiesFromApi: (windowId: string) => void;
@@ -1,2 +1,2 @@
1
1
  export declare const REACT_JSON_VIEWER_KEY_COMPONENT = "M4LReactJsonViewer";
2
- export declare const REACT_JSON_VIEWER_CLASSES: Record<string, string>;
2
+ export declare const REACT_JSON_VIEWER_CLASSES: Record<"root", string>;
@@ -32,7 +32,7 @@ const SplitLayout = (props) => {
32
32
  splitPosition
33
33
  },
34
34
  defaultSize: defaultMasterSize,
35
- className: classes.master,
35
+ className: classes.splitMaster,
36
36
  children: firstPartMemo
37
37
  }
38
38
  ),
@@ -2,4 +2,4 @@
2
2
  * Clave del componente ChipStatusFormatter
3
3
  */
4
4
  export declare const CHIP_STATUS_FORMATTER_KEY_COMPONENT = "M4LChipStatusFormatter";
5
- export declare const CHIP_STATUS_FORMATTER_CLASSES: Record<string, string>;
5
+ export declare const CHIP_STATUS_FORMATTER_CLASSES: Record<"root" | "columnWrapper", string>;
@@ -0,0 +1,5 @@
1
+ import { EditLabelFormatterProps } from './types';
2
+ /**
3
+ * Formatter para mostrar un chip en función del estado determinado por el status
4
+ */
5
+ export declare const EditLabelFormatter: (props: EditLabelFormatterProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { EditLabelFormatterStyles } from './types';
2
+ export declare const editLabelFormatterStyles: EditLabelFormatterStyles;
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Clave del componente ChipStatusFormatter
3
+ */
4
+ export declare const EDIT_LABEL_FORMATTER_KEY_COMPONENT = "M4LEditLabelFormatter";
5
+ export declare const EDIT_LABEL_FORMATTER_CLASSES: Record<"root" | "columnWrapper", string>;
@@ -0,0 +1,2 @@
1
+ export { EditLabelFormatter } from './EditLabelFormatter';
2
+ export type { EditLabelFormatterProps } from './types';
@@ -0,0 +1,4 @@
1
+ export declare enum EditLabelFormatterSlots {
2
+ root = "root",
3
+ columnWrapper = "columnWrapper"
4
+ }
@@ -0,0 +1,5 @@
1
+ /**
2
+ * componente root del ChipStatusFormatter
3
+ */
4
+ export declare const EditLabelFormatterRootStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../EditLabel').EditLabelProps, keyof import('../../../EditLabel').EditLabelProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown>, {}, {}>;
5
+ export declare const EditLabelFormatterColumnWrapperStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown>, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
@@ -0,0 +1,23 @@
1
+ import { M4LOverridesStyleRules } from '../../../@types/augmentations';
2
+ import { EDIT_LABEL_FORMATTER_KEY_COMPONENT } from './constants';
3
+ import { EditLabelFormatterSlots as Slots } from './slots/EditLabelFormatterEnum';
4
+ import { Theme } from '@mui/material';
5
+ import { EditLabelProps } from '../../EditLabel/types';
6
+ export type ChipStatusKey = string | number;
7
+ export interface EditLabelFormatterProps extends Pick<EditLabelProps, 'label' | 'onChange' | 'size' | 'fieldWidth' | 'className'> {
8
+ /**
9
+ * Componente personalizado
10
+ */
11
+ Component?: React.ElementType;
12
+ /**
13
+ * Clase CSS del componente root
14
+ */
15
+ className?: string;
16
+ /**
17
+ * ID de prueba del componente
18
+ */
19
+ dataTestid?: string;
20
+ }
21
+ export type EditLabelFormatterOwnerState = {};
22
+ export type EditLabelFormatterSlotsType = keyof typeof Slots;
23
+ export type EditLabelFormatterStyles = M4LOverridesStyleRules<keyof typeof Slots, typeof EDIT_LABEL_FORMATTER_KEY_COMPONENT, Theme>;
@@ -2,4 +2,4 @@
2
2
  * Clave del componente TagsFormatter
3
3
  */
4
4
  export declare const TAGS_FORMATTER_KEY_COMPONENT = "M4LTagsFormatter";
5
- export declare const TAGS_FORMATTER_CLASSES: Record<string, string>;
5
+ export declare const TAGS_FORMATTER_CLASSES: Record<"root" | "tag" | "tagsContainer", string>;
@@ -4,4 +4,4 @@ import { RHFAutocompleteProps } from './types';
4
4
  * @param props - The properties for the RHFAutocomplete component.
5
5
  * @returns The RHFAutocomplete component.
6
6
  */
7
- export declare function RHFAutocomplete<T>(props: RHFAutocompleteProps<T>): import("react/jsx-runtime").JSX.Element;
7
+ export declare function RHFAutocomplete<T, Multiple extends boolean | undefined = undefined, DisableClearable extends boolean | undefined = undefined, FreeSolo extends boolean | undefined = undefined>(props: RHFAutocompleteProps<T, Multiple, DisableClearable, FreeSolo>): import("react/jsx-runtime").JSX.Element;
@@ -24,6 +24,9 @@ function RHFAutocomplete(props) {
24
24
  mandatoryMessage,
25
25
  multiple,
26
26
  refresh,
27
+ startAdornment,
28
+ getOptionStartAdornment,
29
+ getOptionEndAdornment,
27
30
  className
28
31
  // onChange: onChangeRHF,
29
32
  } = props;
@@ -116,7 +119,10 @@ function RHFAutocomplete(props) {
116
119
  onClose: onCloseLocal,
117
120
  size,
118
121
  value,
119
- htmlFor: htmlForId
122
+ htmlFor: htmlForId,
123
+ startAdornment,
124
+ getOptionStartAdornment,
125
+ getOptionEndAdornment
120
126
  }
121
127
  ),
122
128
  error?.message ? /* @__PURE__ */ jsx(HelperError, { message: error?.message }) : null
@@ -7,4 +7,4 @@
7
7
  */
8
8
  export declare const RFHAUTOCOMPLETE_KEY_COMPONENT = "RHFM4LAutocomplete";
9
9
  export declare const RFHAUTOCOMPLETE_CLASS_NAME_SPECIFY = "RHFM4LclasssAutocompleCssSpecificity";
10
- export declare const rhfAutocompleteClasses: Record<string, string>;
10
+ export declare const rhfAutocompleteClasses: Record<"label" | "autocompleteRoot", string>;
@@ -5,6 +5,7 @@ import { RFHAUTOCOMPLETE_KEY_COMPONENT } from './constants';
5
5
  import { OverridesStyleRules } from '@mui/material/styles/overrides';
6
6
  import { RFHAutocompleteSlots } from './slots';
7
7
  import { LabelProps } from '../../Label/types';
8
+ import { AutocompleteProps } from '../../mui_extended/Autocomplete/types';
8
9
  export type GetOptionString<T> = (option: T | null) => string;
9
10
  export type RHFAutocompleteVariants = 'outlined' | 'text';
10
11
  export type RHFAutocompleteType = 'text' | 'image';
@@ -46,6 +47,18 @@ export interface RHFAutocompleteProps<T = any, Multiple extends boolean | undefi
46
47
  message: string;
47
48
  };
48
49
  renderInput?: MUIAutocompleteProps<T, Multiple, DisableClearable, FreeSolo>['renderInput'];
50
+ /**
51
+ * Icono o adorno que se muestra al inicio del autocomplete.
52
+ */
53
+ startAdornment?: AutocompleteProps<T, Multiple>['startAdornment'];
54
+ /**
55
+ * Icono o adorno inicial que se muestra en cada opción del autocomplete.
56
+ */
57
+ getOptionEndAdornment?: AutocompleteProps<T, Multiple>['getOptionEndAdornment'];
58
+ /**
59
+ * Icono o adorno final que se muestra en cada opción del autocomplete.
60
+ */
61
+ getOptionStartAdornment?: AutocompleteProps<T, Multiple>['getOptionStartAdornment'];
49
62
  }
50
63
  /**
51
64
  * Represents the owner state of the Autocomplete component for styling purposes.
@@ -23,6 +23,9 @@ function RHFAutocompleteAsync(props) {
23
23
  disabled,
24
24
  skeletonWidth,
25
25
  responseToCamelCase,
26
+ startAdornment,
27
+ getOptionStartAdornment,
28
+ getOptionEndAdornment,
26
29
  className
27
30
  } = props;
28
31
  const [state, dispatch] = useReducer(
@@ -89,7 +92,10 @@ function RHFAutocompleteAsync(props) {
89
92
  multiple,
90
93
  disabled,
91
94
  onClose: onCloseLocal,
92
- skeletonWidth
95
+ skeletonWidth,
96
+ startAdornment,
97
+ getOptionStartAdornment,
98
+ getOptionEndAdornment
93
99
  }
94
100
  );
95
101
  }
@@ -1 +1 @@
1
- export declare const RHFAutocompleteAsyncRootStyled: import('@emotion/styled').StyledComponent<Pick<import('../../RHFAutocomplete/types').RHFAutocompleteProps<unknown, undefined, undefined, undefined>, keyof import('../../RHFAutocomplete/types').RHFAutocompleteProps<unknown, undefined, undefined, undefined>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown>, {}, {}>;
1
+ export declare const RHFAutocompleteAsyncRootStyled: import('@emotion/styled').StyledComponent<Pick<import('../../RHFAutocomplete/types').RHFAutocompleteProps<unknown, boolean | undefined, boolean | undefined, boolean | undefined>, keyof import('../../RHFAutocomplete/types').RHFAutocompleteProps<unknown, boolean | undefined, boolean | undefined, boolean | undefined>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown>, {}, {}>;
@@ -1,2 +1,2 @@
1
1
  export declare const RHF_CHECKBOX_KEY_COMPONENT = "M4LRHFCheckbox";
2
- export declare const TEXT_FIELD_CLASSES: Record<string, string>;
2
+ export declare const TEXT_FIELD_CLASSES: Record<"root" | "checkBox" | "containerCheckTypography" | "labelComponent", string>;
@@ -5,4 +5,4 @@ export declare const RHFSELECT_COMPONENT_KEY = "RHFSelect";
5
5
  /**
6
6
  * Clases CSS generadas dinámicamente para el componente RHFSelect.
7
7
  */
8
- export declare const RHFSELECT_CLASSES: Record<string, string>;
8
+ export declare const RHFSELECT_CLASSES: Record<"select" | "root" | "label" | "helperError", string>;