@m4l/components 9.3.1 → 9.3.2-B04082025-beta.3

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 (113) hide show
  1. package/@types/types.d.ts +9 -1
  2. package/components/DataGrid/Datagrid.styles.js +1 -1
  3. package/components/DragResizeWindowRND/constants.d.ts +44 -0
  4. package/components/DragResizeWindowRND/constants.js +46 -1
  5. package/components/DragResizeWindowRND/index.d.ts +1 -0
  6. package/components/DynamicFilter/DynamicFilter.styles.js +2 -2
  7. package/components/DynamicFilter/subcomponents/FilterActions/FilterActions.js +3 -0
  8. package/components/DynamicSort/DynamicSort.styles.js +2 -2
  9. package/components/ImageText/components/ImageTextContainer/ImageTextContainer.d.ts +7 -0
  10. package/components/ImageText/components/ImageTextContainer/ImageTextContainer.js +25 -0
  11. package/components/ImageText/components/ImageTextContainer/ImageTextContainerStyle.d.ts +2 -0
  12. package/components/ImageText/components/ImageTextContainer/ImageTextContainerStyle.js +22 -0
  13. package/components/ImageText/components/ImageTextContainer/constants.d.ts +8 -0
  14. package/components/ImageText/components/ImageTextContainer/constants.js +8 -0
  15. package/components/ImageText/components/ImageTextContainer/index.d.ts +1 -0
  16. package/components/ImageText/components/ImageTextContainer/slots/ImageTextContainerEnum.d.ts +3 -0
  17. package/components/ImageText/components/ImageTextContainer/slots/ImageTextContainerEnum.js +7 -0
  18. package/components/ImageText/components/ImageTextContainer/slots/ImageTextContainerSlots.d.ts +3 -0
  19. package/components/ImageText/components/ImageTextContainer/slots/ImageTextContainerSlots.js +12 -0
  20. package/components/ImageText/components/ImageTextContainer/types.d.ts +22 -0
  21. package/components/ImageText/components/NoItemPrivileges/NoItemPrivileges.d.ts +7 -0
  22. package/components/ImageText/components/NoItemPrivileges/NoItemPrivileges.js +65 -0
  23. package/components/ImageText/components/NoItemPrivileges/NoItemPrivilegesStyles.d.ts +5 -0
  24. package/components/ImageText/components/NoItemPrivileges/NoItemPrivilegesStyles.js +62 -0
  25. package/components/ImageText/components/NoItemPrivileges/constants.d.ts +4 -0
  26. package/components/ImageText/components/NoItemPrivileges/constants.js +11 -0
  27. package/components/ImageText/components/NoItemPrivileges/dictionary.d.ts +5 -0
  28. package/components/ImageText/components/NoItemPrivileges/dictionary.js +12 -0
  29. package/components/ImageText/components/NoItemPrivileges/index.d.ts +3 -0
  30. package/components/ImageText/components/NoItemPrivileges/index.js +1 -0
  31. package/components/ImageText/components/NoItemPrivileges/slots/NoItemPrivilegesEnum.d.ts +7 -0
  32. package/components/ImageText/components/NoItemPrivileges/slots/NoItemPrivilegesEnum.js +11 -0
  33. package/components/ImageText/components/NoItemPrivileges/slots/NoItemPrivilegesSlots.d.ts +15 -0
  34. package/components/ImageText/components/NoItemPrivileges/slots/NoItemPrivilegesSlots.js +33 -0
  35. package/components/ImageText/components/NoItemPrivileges/test/NoItemPrivileges.test.d.ts +1 -0
  36. package/components/ImageText/components/NoItemPrivileges/types.d.ts +36 -0
  37. package/components/ImageText/components/NoItemSelected/NoItemSelected.js +62 -0
  38. package/components/{NoItemSelected → ImageText/components/NoItemSelected}/NoItemSelected.styles.js +4 -20
  39. package/components/{NoItemSelected → ImageText/components/NoItemSelected}/constant.js +1 -1
  40. package/components/ImageText/components/NoItemSelected/index.js +1 -0
  41. package/components/{NoItemSelected → ImageText/components/NoItemSelected}/slots/NoItemSelectedEnum.d.ts +0 -1
  42. package/components/{NoItemSelected → ImageText/components/NoItemSelected}/slots/NoItemSelectedEnum.js +0 -1
  43. package/components/{NoItemSelected → ImageText/components/NoItemSelected}/slots/NoItemSelectedSlots.d.ts +4 -7
  44. package/components/{NoItemSelected → ImageText/components/NoItemSelected}/slots/NoItemSelectedSlots.js +5 -10
  45. package/components/{NoItemSelected → ImageText/components/NoItemSelected}/types.d.ts +2 -2
  46. package/components/ImageText/hooks/useIsVisible/index.d.ts +6 -0
  47. package/components/ImageText/hooks/useIsVisible/index.js +24 -0
  48. package/components/ImageText/index.d.ts +3 -0
  49. package/components/ImageText/index.js +1 -0
  50. package/components/ObjectLogs/helpers/Fields/filterFields.d.ts +5 -0
  51. package/components/ObjectLogs/helpers/Fields/filterFields.js +81 -0
  52. package/components/ObjectLogs/hooks/useDetailFormatter.js +1 -1
  53. package/components/ObjectLogs/hooks/useFilterAndSort.d.ts +15 -0
  54. package/components/ObjectLogs/hooks/useFilterAndSort.js +51 -0
  55. package/components/ObjectLogs/slots/ObjectLogsSlots.js +1 -2
  56. package/components/ObjectLogs/subcomponents/ObjectLogsByM4L/ObjectLogsByM4L.js +39 -88
  57. package/components/ObjectLogs/subcomponents/ObjectLogsByOthers/ObjectLogsByOthers.js +30 -104
  58. package/components/PropertyValue/PropertyValue.styles.js +1 -1
  59. package/components/SideBar/subcomponents/TreeGroupItems/styles.js +1 -1
  60. package/components/SideBar/subcomponents/TreeGroupItems/subcomponents/NodeMenuItem/index.js +1 -1
  61. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/hooks/useHeaderActions.d.ts +1 -1
  62. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/hooks/useHeaderActions.js +4 -2
  63. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/hooks/useRightActions.d.ts +1 -1
  64. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/hooks/useRightActions.js +50 -47
  65. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/hooks/useWindow.js +2 -1
  66. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/types.d.ts +5 -1
  67. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/WindowModal/WindowModal.js +12 -7
  68. package/components/formatters/BooleanFormatter/BooleanFormatter.js +1 -0
  69. package/components/formatters/ChipStatusFormatter/ChipStatusFormatter.js +7 -1
  70. package/components/formatters/ChipStatusFormatter/types.d.ts +9 -1
  71. package/components/hook-form/RHFPeriod/slots/RHFPeriodSlots.d.ts +1 -1
  72. package/components/hook-form/RHFTextField/slots/RHFTextFieldSlots.d.ts +1 -1
  73. package/components/hook-form/RHFTextFieldPassword/slots/RHFTextFieldPasswordSlots.d.ts +1 -1
  74. package/components/index.d.ts +1 -1
  75. package/components/mui_extended/Accordion/Accordion.js +1 -1
  76. package/components/mui_extended/Autocomplete/Autocomplete.js +2 -1
  77. package/components/mui_extended/Autocomplete/hooks/useEndAdornments.d.ts +1 -0
  78. package/components/mui_extended/Autocomplete/hooks/useEndAdornments.js +4 -2
  79. package/components/mui_extended/Autocomplete/hooks/useValuesAndHandlers.js +1 -1
  80. package/components/mui_extended/Autocomplete/slots/AutocompleteSlots.d.ts +1 -1
  81. package/components/mui_extended/Tab/Tab.styles.js +4 -4
  82. package/components/mui_extended/TabContent/TabContent.styles.js +0 -1
  83. package/components/mui_extended/TextField/TextField.js +16 -3
  84. package/components/mui_extended/TextField/TextField.styles.js +20 -4
  85. package/components/mui_extended/TextField/constants.d.ts +3 -0
  86. package/components/mui_extended/TextField/helpers/getLimitCharacters/getLimitCharacters.d.ts +7 -0
  87. package/components/mui_extended/TextField/helpers/getLimitCharacters/getLimitCharacters.js +11 -0
  88. package/components/mui_extended/TextField/helpers/getLimitCharacters/index.d.ts +1 -0
  89. package/components/mui_extended/TextField/helpers/getLimitCharacters/index.js +1 -0
  90. package/components/mui_extended/TextField/helpers/getLimitCharacters/test/getLimitCharacters.test.d.ts +1 -0
  91. package/components/mui_extended/TextField/helpers/getLimitCharacters/types.d.ts +5 -0
  92. package/components/mui_extended/TextField/slots/TextFieldEnum.d.ts +4 -1
  93. package/components/mui_extended/TextField/slots/TextFieldEnum.js +3 -0
  94. package/components/mui_extended/TextField/slots/TextFieldSlots.d.ts +13 -0
  95. package/components/mui_extended/TextField/slots/TextFieldSlots.js +17 -2
  96. package/components/mui_extended/TextField/types.d.ts +9 -0
  97. package/hooks/useDynamicFilterAndSort/types.d.ts +2 -0
  98. package/hooks/useDynamicFilterAndSort/useDynamicFilterAndSort.js +5 -3
  99. package/index.js +42 -34
  100. package/mockServiceWorker.js +1 -1
  101. package/package.json +3 -3
  102. package/storybook/components/Areas/AreasViewer/subcomponents/Launcher/PopupButton.d.ts +1 -1
  103. package/storybook/components/NoItemPrivileges/NoItemPrivileges.stories.d.ts +12 -0
  104. package/storybook/components/NoItemSelect/NoItemSelect.stories.d.ts +1 -1
  105. package/storybook/components/extended/mui/TextField/TextFieldText.stories.d.ts +7 -0
  106. package/components/NoItemSelected/NoItemSelected.js +0 -77
  107. /package/components/{NoItemSelected → ImageText/components/ImageTextContainer}/index.js +0 -0
  108. /package/components/{NoItemSelected → ImageText/components/NoItemSelected}/NoItemSelected.d.ts +0 -0
  109. /package/components/{NoItemSelected → ImageText/components/NoItemSelected}/NoItemSelected.styles.d.ts +0 -0
  110. /package/components/{NoItemSelected → ImageText/components/NoItemSelected}/constant.d.ts +0 -0
  111. /package/components/{NoItemSelected → ImageText/components/NoItemSelected}/dictionary.d.ts +0 -0
  112. /package/components/{NoItemSelected → ImageText/components/NoItemSelected}/dictionary.js +0 -0
  113. /package/components/{NoItemSelected → ImageText/components/NoItemSelected}/index.d.ts +0 -0
@@ -1,22 +1,16 @@
1
- import { jsxs, jsx } from "react/jsx-runtime";
1
+ import { jsx } from "react/jsx-runtime";
2
2
  import { useState, useEffect } from "react";
3
- import { endOfDay, startOfDay } from "date-fns";
4
3
  import { D as DataGrid } from "../../../DataGrid/DataGrid.js";
5
- import { useEnvironment } from "@m4l/core";
6
- import { D as DynamicFilter } from "../../../DynamicFilter/DynamicFilter.js";
7
4
  import { T as TEST_PROP_ID } from "../../../../test/constants_no_mock.js";
8
- import { C as ContainerWrapperStyled, A as ActionsWrapperStyled, G as GridWrapperStyled } from "../../slots/ObjectLogsSlots.js";
9
- import { D as DICTIONARY } from "../../dictionary.js";
5
+ import { C as ContainerWrapperStyled, G as GridWrapperStyled } from "../../slots/ObjectLogsSlots.js";
10
6
  import { useRows } from "@m4l/graphics";
11
7
  import { u as useObjectLogsColumns } from "../../hooks/useObjectLogsColumns.js";
12
8
  import { b as OBJECT_LOGS_OTHERS_END_POINT, O as OBJECT_LOGS_KEY_COMPONENT } from "../../constants.js";
13
9
  import { g as getPropDataTestId } from "../../../../test/getNameDataTestId.js";
14
- import { g as getRawFiltersForNetwork } from "../../../DynamicFilter/helpers/getRawFiltersForNetwork.js";
15
- import { g as getRawSortsForNetwork } from "../../../DynamicSort/helpers/getRawSortsForNetwork.js";
10
+ import { u as useFilterAndSort } from "../../hooks/useFilterAndSort.js";
16
11
  import { O as ObjectLogsSlots } from "../../slots/ObjectLogsEnum.js";
17
12
  function ObjectLogsByOthers(props) {
18
13
  const { dataTestId = "", resourceSerialId, resourceTypeId } = props;
19
- const { host_static_assets, environment_assets } = useEnvironment();
20
14
  const [backendQueryParams, setBackendQueryParams] = useState({});
21
15
  const columns = useObjectLogsColumns("other");
22
16
  const { rows, clearRows, refresh } = useRows({
@@ -30,106 +24,38 @@ function ObjectLogsByOthers(props) {
30
24
  useEffect(() => {
31
25
  clearRows();
32
26
  }, [resourceSerialId, resourceTypeId]);
33
- const onChangeFilter = (_initFilters, rawFilters) => {
34
- const fixedFields = [
35
- {
36
- n: "resourceTypeId",
37
- o: "c",
38
- o1: resourceTypeId,
39
- ft: "string"
40
- },
41
- {
42
- n: "resourceSerialId",
43
- o: "c",
44
- o1: resourceSerialId,
45
- ft: "string"
46
- }
47
- ];
48
- const sortFields = [
49
- // {
50
- // n: 'created_at',
51
- // o: 'desc',
52
- // ft: 'string',
53
- // } ,
54
- ];
55
- const allFields = [...fixedFields, ...rawFilters];
56
- const parms = {
57
- f: getRawFiltersForNetwork(allFields, "snakeCase"),
58
- s: getRawSortsForNetwork(sortFields, "snakeCase")
59
- };
60
- setBackendQueryParams(parms);
61
- refresh();
62
- };
63
- return /* @__PURE__ */ jsxs(
27
+ const { leftActions, visibleCustomHeader, customHeaderComponent } = useFilterAndSort({ setBackendQueryParams, Refresh: refresh, otherApp: true, resourceTypeId, resourceSerialId });
28
+ return /* @__PURE__ */ jsx(
64
29
  ContainerWrapperStyled,
65
30
  {
66
31
  ...process.env.NODE_ENV !== "production" ? { [TEST_PROP_ID]: `m4ldatagrid-${dataTestId}` } : {},
67
32
  ...getPropDataTestId(OBJECT_LOGS_KEY_COMPONENT, ObjectLogsSlots.root, dataTestId),
68
- children: [
69
- /* @__PURE__ */ jsx(ActionsWrapperStyled, { children: /* @__PURE__ */ jsx(
70
- DynamicFilter,
71
- {
72
- withAllField: true,
73
- onChangeFilters: onChangeFilter,
74
- automatic: false,
75
- fields: [
76
- {
77
- name: "createdAt",
78
- dictionaryId: DICTIONARY.LABEL_CREATED_AT,
79
- type: "datetime",
80
- multiple: false,
81
- presence: "initialized",
82
- urlIcon: `${host_static_assets}/${environment_assets}/frontend/components/object_logs/assets/icons/email.svg`,
83
- defaultOperand1: startOfDay(/* @__PURE__ */ new Date()),
84
- defaultOperand2: endOfDay(/* @__PURE__ */ new Date())
85
- },
86
- {
87
- name: "userId",
88
- dictionaryId: DICTIONARY.LABEL_USER,
89
- type: "string",
90
- multiple: true,
91
- presence: "optional",
92
- urlIcon: `${host_static_assets}/${environment_assets}/frontend/components/object_logs/assets/icons/email.svg`
93
- },
94
- {
95
- name: "logPreview",
96
- dictionaryId: DICTIONARY.LABEL_LOG_PREVIEW,
97
- type: "string",
98
- multiple: true,
99
- presence: "optional",
100
- urlIcon: `${host_static_assets}/${environment_assets}/frontend/components/object_logs/assets/icons/log_preview.svg`
101
- },
102
- {
103
- name: "logDetail",
104
- dictionaryId: DICTIONARY.LABEL_LOG_DETAIL,
105
- type: "string",
106
- multiple: true,
107
- presence: "optional",
108
- urlIcon: `${host_static_assets}/${environment_assets}/frontend/components/object_logs/assets/icons/log_detail.svg`
33
+ role: "grid",
34
+ "aria-label": "object-logs",
35
+ children: /* @__PURE__ */ jsx(
36
+ GridWrapperStyled,
37
+ {
38
+ children: /* @__PURE__ */ jsx(
39
+ DataGrid,
40
+ {
41
+ id: "users_logs_list",
42
+ dataTestId,
43
+ columns,
44
+ rows,
45
+ rowKeyGetter: (row) => row.id,
46
+ withActions: true,
47
+ visibleCustomHeader,
48
+ customHeader: customHeaderComponent,
49
+ actionsProps: {
50
+ leftActions,
51
+ withPager: false,
52
+ withLocalFilters: false
109
53
  }
110
- ],
111
- initialAppliedFilters: []
112
- }
113
- ) }),
114
- /* @__PURE__ */ jsx(
115
- GridWrapperStyled,
116
- {
117
- children: /* @__PURE__ */ jsx(
118
- DataGrid,
119
- {
120
- id: "users_logs_list",
121
- dataTestId,
122
- columns,
123
- rows,
124
- rowKeyGetter: (row) => row.id,
125
- withActions: true,
126
- actionsProps: {}
127
- },
128
- "users_list_logs"
129
- )
130
- }
131
- )
132
- ]
54
+ },
55
+ "users_list_logs"
56
+ )
57
+ }
58
+ )
133
59
  }
134
60
  );
135
61
  }
@@ -44,7 +44,7 @@ const propertyValueStyles = {
44
44
  containerType: "inline-size",
45
45
  display: "flex",
46
46
  flexDirection: ownerState?.isForm ? "column" : "row",
47
- justifyContent: ownerState?.isForm ? "space-between" : "left",
47
+ justifyContent: "flex-start",
48
48
  alignItems: "center",
49
49
  gap: theme.vars.size.baseSpacings["sp1"],
50
50
  width: ownerState?.semanticWidth ? "auto" : "200px",
@@ -116,7 +116,7 @@ const contentGroupStyles = {
116
116
  ...getSizeStyles(
117
117
  theme,
118
118
  ownerState?.size || "medium",
119
- "case",
119
+ "base",
120
120
  (sizeValue) => ({
121
121
  width: `${sizeValue}!important`,
122
122
  height: `${sizeValue}!important`,
@@ -46,7 +46,7 @@ function NodeMenuItem(props) {
46
46
  ),
47
47
  label: item.title,
48
48
  selected: item.active,
49
- startIcon: /* @__PURE__ */ jsx(AdornmentIcon, { icon: `${urlIconPrefix}${item.iconUrl}`, variant: isRoot && item.itemInTreeActive ? "root" : item.active ? "itemActive" : "normal" }),
49
+ startIcon: /* @__PURE__ */ jsx(AdornmentIcon, { icon: `${urlIconPrefix}${item.iconUrl}`, variant: isRoot && item.itemInTreeActive || isRoot && item.active ? "root" : item.active ? "itemActive" : "normal" }),
50
50
  endIcon: hasChildren ? /* @__PURE__ */ jsx(ArrowIcon, { openState: isOpen, active: item.active }) : null,
51
51
  onClick: () => handlerClick(),
52
52
  size: currentSize
@@ -5,7 +5,7 @@ import { UseHeaderActionsParams } from '../types';
5
5
  *
6
6
  * Retorna las acciones del header de una ventana. Izquierda, derecha y dentro del menu.
7
7
  */
8
- export declare const useHeaderActions: ({ windowId, areaId, }: UseHeaderActionsParams) => {
8
+ export declare const useHeaderActions: ({ windowId, areaId, emergeType, }: UseHeaderActionsParams) => {
9
9
  leftActions: WindowBaseAction[];
10
10
  insideActions: WindowBaseAction[];
11
11
  rightActions: WindowBaseAction[];
@@ -7,7 +7,8 @@ import { g as getLeftActions, a as getInsideMenuActions } from "../../../../../.
7
7
  import { u as useRightActions } from "./useRightActions.js";
8
8
  const useHeaderActions = ({
9
9
  windowId,
10
- areaId
10
+ areaId,
11
+ emergeType
11
12
  }) => {
12
13
  const { host_static_assets, environment_assets } = useEnvironment();
13
14
  const { getLabel } = useModuleDictionary();
@@ -45,7 +46,8 @@ const useHeaderActions = ({
45
46
  }, [windowId, isMobile, moduleActions, urlPrefix, saveModuleCookies, resetModuleCookies, windowOptions, getLabel]);
46
47
  const rightActions = useRightActions({
47
48
  windowId,
48
- areaId
49
+ areaId,
50
+ emergeType
49
51
  });
50
52
  return {
51
53
  leftActions,
@@ -3,4 +3,4 @@ import { UseHeaderActionsParams } from '../types';
3
3
  /**
4
4
  * Hook useRightActions, retorna las acciones de maximizar y minimizar una ventana, colapsar y expandir una ventana
5
5
  */
6
- export declare const useRightActions: ({ windowId, areaId, }: UseHeaderActionsParams) => WindowBaseAction[];
6
+ export declare const useRightActions: ({ windowId, areaId, emergeType, }: UseHeaderActionsParams) => WindowBaseAction[];
@@ -6,7 +6,8 @@ import { I as ICONS } from "../../../../../../../icons.js";
6
6
  import { g as getAreasDictionary, A as AREAS_DICCTIONARY } from "../../../../../../../dictionary.js";
7
7
  const useRightActions = ({
8
8
  windowId,
9
- areaId
9
+ areaId,
10
+ emergeType
10
11
  }) => {
11
12
  const { host_static_assets, environment_assets } = useEnvironment();
12
13
  const { getLabel } = useModuleDictionary();
@@ -29,54 +30,56 @@ const useRightActions = ({
29
30
  const { maximizeLayout, normalizeLayouts, colapseLayoutItem, unColapseLayoutItem } = useAreasStore((state) => state.areaActions);
30
31
  const rightActions = useMemo(() => {
31
32
  const actions = [];
32
- actions.push({
33
- place: "right",
34
- key: "collapseToggle",
35
- iconUrl: !collapsed ? `${host_static_assets}/${environment_assets}/frontend/components/areas/assets/icons/${ICONS.COLLAPSE}` : `${host_static_assets}/${environment_assets}/frontend/components/areas/assets/icons/${ICONS.UNCOLLPASE}`,
36
- label: !collapsed ? getLabel(getAreasDictionary(AREAS_DICCTIONARY.label_collapse_window)) : getLabel(getAreasDictionary(AREAS_DICCTIONARY.label_uncollapse_window)),
37
- tooltipProps: {
38
- placement: "bottom-end"
39
- },
40
- /**
41
- * Acción de collapse/expand.
42
- */
43
- onClick: () => {
44
- if (areaId) {
45
- if (collapsed) {
46
- unColapseLayoutItem(areaId, windowId);
47
- } else {
48
- colapseLayoutItem(areaId, windowId);
33
+ if (emergeType === "layout") {
34
+ actions.push({
35
+ place: "right",
36
+ key: "collapseToggle",
37
+ iconUrl: !collapsed ? `${host_static_assets}/${environment_assets}/frontend/components/areas/assets/icons/${ICONS.COLLAPSE}` : `${host_static_assets}/${environment_assets}/frontend/components/areas/assets/icons/${ICONS.UNCOLLPASE}`,
38
+ label: !collapsed ? getLabel(getAreasDictionary(AREAS_DICCTIONARY.label_collapse_window)) : getLabel(getAreasDictionary(AREAS_DICCTIONARY.label_uncollapse_window)),
39
+ tooltipProps: {
40
+ placement: "bottom-end"
41
+ },
42
+ /**
43
+ * Acción de collapse/expand.
44
+ */
45
+ onClick: () => {
46
+ if (areaId) {
47
+ if (collapsed) {
48
+ unColapseLayoutItem(areaId, windowId);
49
+ } else {
50
+ colapseLayoutItem(areaId, windowId);
51
+ }
49
52
  }
50
- }
51
- },
52
- disabled: !(maximizedId === void 0),
53
- color: "warning",
54
- className: "collapse-toggle window-actions"
55
- });
56
- actions.push({
57
- place: "right",
58
- key: "maximize",
59
- iconUrl: maximizedId ? `${host_static_assets}/${environment_assets}/frontend/components/areas/assets/icons/${ICONS.NORMALIZE}` : `${host_static_assets}/${environment_assets}/frontend/components/areas/assets/icons/${ICONS.MAXIMIZE}`,
60
- label: maximizedId ? getLabel(getAreasDictionary(AREAS_DICCTIONARY.label_minimize_window)) : getLabel(getAreasDictionary(AREAS_DICCTIONARY.label_maximize_window)),
61
- tooltipProps: {
62
- placement: "bottom-end"
63
- },
64
- /**
65
- * Acción de maximize/normalize.
66
- */
67
- onClick: () => {
68
- if (areaId) {
69
- if (maximizedId) {
70
- normalizeLayouts(areaId);
71
- } else {
72
- maximizeLayout(areaId, windowId);
53
+ },
54
+ disabled: !(maximizedId === void 0),
55
+ color: "warning",
56
+ className: "collapse-toggle window-actions"
57
+ });
58
+ actions.push({
59
+ place: "right",
60
+ key: "maximize",
61
+ iconUrl: maximizedId ? `${host_static_assets}/${environment_assets}/frontend/components/areas/assets/icons/${ICONS.NORMALIZE}` : `${host_static_assets}/${environment_assets}/frontend/components/areas/assets/icons/${ICONS.MAXIMIZE}`,
62
+ label: maximizedId ? getLabel(getAreasDictionary(AREAS_DICCTIONARY.label_minimize_window)) : getLabel(getAreasDictionary(AREAS_DICCTIONARY.label_maximize_window)),
63
+ tooltipProps: {
64
+ placement: "bottom-end"
65
+ },
66
+ /**
67
+ * Acción de maximize/normalize.
68
+ */
69
+ onClick: () => {
70
+ if (areaId) {
71
+ if (maximizedId) {
72
+ normalizeLayouts(areaId);
73
+ } else {
74
+ maximizeLayout(areaId, windowId);
75
+ }
73
76
  }
74
- }
75
- },
76
- disabled: false,
77
- color: "info",
78
- className: "expand-toggle window-actions"
79
- });
77
+ },
78
+ disabled: false,
79
+ color: "info",
80
+ className: "expand-toggle window-actions"
81
+ });
82
+ }
80
83
  return actions;
81
84
  }, [
82
85
  collapsed,
@@ -75,7 +75,8 @@ const useWindow = (windowId, areaId) => {
75
75
  }, [status, loadCookiesFromApi, windowId]);
76
76
  const { leftActions, insideActions: menuActions, rightActions } = useHeaderActions({
77
77
  windowId,
78
- areaId
78
+ areaId,
79
+ emergeType
79
80
  });
80
81
  const memoizedActions = useMemo(() => {
81
82
  return [...leftActions, ...menuActions, ...rightActions];
@@ -1,5 +1,5 @@
1
1
  import { WindowBaseAction } from '../../../../../../../../../src/components/WindowBase/types';
2
- import { AreaWindowBaseProps } from '../../../../../../types';
2
+ import { AreaWindowBaseProps, EmergeType } from '../../../../../../types';
3
3
  export interface WindowProps extends Pick<AreaWindowBaseProps, 'windowId' | 'areaId'> {
4
4
  /**
5
5
  * Acciones que se mostrarán en el header
@@ -9,4 +9,8 @@ export interface WindowProps extends Pick<AreaWindowBaseProps, 'windowId' | 'are
9
9
  export interface UseHeaderActionsParams {
10
10
  windowId: string;
11
11
  areaId?: string;
12
+ /**
13
+ * emergeType: 'popup' | 'modal'
14
+ */
15
+ emergeType: EmergeType;
12
16
  }
@@ -1,5 +1,5 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import React from "react";
2
+ import React, { useCallback } from "react";
3
3
  import { u as useAreasStore } from "../../../../../../hooks/useAreas/index.js";
4
4
  import { W as Window } from "../Window/Window.js";
5
5
  import { useIsMobile } from "@m4l/graphics";
@@ -23,25 +23,30 @@ const AreaWindowModal = (props) => {
23
23
  );
24
24
  const isMobile = useIsMobile();
25
25
  const [containerRef, setContainerRef] = useStateRef(null);
26
- const leftPosition = Math.max(0, window.innerWidth / 2 - (width ?? 100) / 2);
27
- const topPosition = Math.max(0, window.innerHeight / 2 - (height ?? 100) / 2);
28
- const DraggableComponent = () => {
26
+ const DraggableComponent = useCallback(() => {
27
+ if (!containerRef) {
28
+ return null;
29
+ }
29
30
  return /* @__PURE__ */ jsx(
30
31
  DragResizeWindowRND,
31
32
  {
32
33
  containerElement: containerRef ?? void 0,
34
+ containerSize: {
35
+ containerWidth: containerRef.clientWidth,
36
+ containerHeight: containerRef.clientHeight
37
+ },
33
38
  minWindowWidth,
34
39
  minWindowHeight,
35
40
  bounds: { left: 0, top: 0, right: 0, bottom: 0 },
36
41
  resizeHandles: ["se", "nw", "sw", "ne", "n", "e", "s", "w"],
37
42
  defaultPosition: {
38
- vertical: { top: topPosition, height },
39
- horizontal: { left: leftPosition, width }
43
+ vertical: { height },
44
+ horizontal: { width }
40
45
  },
41
46
  children: /* @__PURE__ */ jsx(Window, { windowId, areaId: void 0 })
42
47
  }
43
48
  );
44
- };
49
+ }, [containerRef, windowId, minWindowWidth, minWindowHeight, height, width]);
45
50
  return /* @__PURE__ */ jsx(
46
51
  WrapperWindowModalWithRef,
47
52
  {
@@ -50,6 +50,7 @@ function BooleanFormatter(props) {
50
50
  ownerState,
51
51
  className: clsx(getComponentSlotRoot(BOOLEAN_FORMATTER_KEY_COMPONENT), className),
52
52
  color: value ? "primary" : "default",
53
+ opacity: true,
53
54
  variant: "contained"
54
55
  }
55
56
  );
@@ -12,6 +12,8 @@ const ChipStatusFormatter = (props) => {
12
12
  statusesColors,
13
13
  Component = React.Fragment,
14
14
  fallbackColor = "default",
15
+ fallbackVariant = "contained",
16
+ fallbackOpacity = true,
15
17
  size = "medium",
16
18
  dataTestid
17
19
  } = props;
@@ -19,7 +21,11 @@ const ChipStatusFormatter = (props) => {
19
21
  if (!status) {
20
22
  return null;
21
23
  }
22
- const statusObject = statusesColors[status ? status : fallbackColor];
24
+ const statusObject = statusesColors[status] || {
25
+ color: fallbackColor,
26
+ variant: fallbackVariant,
27
+ opacity: fallbackOpacity
28
+ };
23
29
  const { color, variant, opacity = true } = statusObject;
24
30
  const adjustedSize = currentSize === "small" || currentSize === "medium" ? currentSize : "medium";
25
31
  return /* @__PURE__ */ jsx(Component, { children: /* @__PURE__ */ jsx(
@@ -26,7 +26,15 @@ export interface ChipStatusFormatterProps {
26
26
  /**
27
27
  * Color por defecto
28
28
  */
29
- fallbackColor?: Extract<ChipColorOptions, 'default'>;
29
+ fallbackColor?: ChipColorOptions;
30
+ /**
31
+ * fallback variant
32
+ */
33
+ fallbackVariant?: ChipVariants;
34
+ /**
35
+ * fallback opacity
36
+ */
37
+ fallbackOpacity?: boolean;
30
38
  /**
31
39
  * Componente personalizado
32
40
  */
@@ -1,4 +1,4 @@
1
1
  export declare const RHFPeriodRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown>, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
2
2
  export declare const PeriodRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown>, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
3
- export declare const TextFieldStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../../mui_extended/TextField/types').TextFieldProps, "ref"> & import('react').RefAttributes<HTMLDivElement>, "value" | "size" | "children" | "title" | "component" | "name" | "error" | "select" | "rows" | "id" | "type" | "disabled" | "hidden" | "content" | "style" | "variant" | "margin" | "translate" | "className" | "classes" | "sx" | "label" | "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" | "dataTestId" | "autoComplete" | "placeholder" | "required" | keyof import('react').RefAttributes<HTMLDivElement> | "maxRows" | "fullWidth" | "inputProps" | "inputRef" | "multiline" | "minRows" | "hiddenLabel" | "focused" | "InputProps" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "SelectProps"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown>, {}, {}>;
3
+ export declare const TextFieldStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../../mui_extended/TextField/types').TextFieldProps, "ref"> & import('react').RefAttributes<HTMLDivElement>, "value" | "size" | "children" | "title" | "component" | "name" | "error" | "select" | "rows" | "id" | "type" | "disabled" | "hidden" | "content" | "style" | "variant" | "margin" | "translate" | "className" | "classes" | "sx" | "label" | "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" | "dataTestId" | "autoComplete" | "placeholder" | "required" | keyof import('react').RefAttributes<HTMLDivElement> | "maxRows" | "fullWidth" | "inputProps" | "inputRef" | "multiline" | "minRows" | "hiddenLabel" | "focused" | "InputProps" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "SelectProps" | "limitCharacters"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown>, {}, {}>;
4
4
  export declare const SelectStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../../mui_extended/Select').SelectProps<string | number, boolean | undefined>, "ref"> & import('react').RefAttributes<HTMLDivElement>, "value" | "size" | "children" | "onClose" | "title" | "name" | "error" | "input" | "options" | "rows" | "id" | "type" | "disabled" | "components" | "hidden" | "content" | "style" | "open" | "multiple" | "variant" | "margin" | "translate" | "className" | "classes" | "sx" | "slots" | "slotProps" | "label" | "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" | "componentsProps" | "onOpen" | "dataTestId" | "autoComplete" | "placeholder" | "readOnly" | "required" | keyof import('react').RefAttributes<HTMLDivElement> | "maxRows" | "fullWidth" | "inputProps" | "inputRef" | "disableInjectingGlobalStyles" | "endAdornment" | "inputComponent" | "multiline" | "renderSuffix" | "minRows" | "startAdornment" | "disableUnderline" | "autoWidth" | "defaultOpen" | "displayEmpty" | "IconComponent" | "labelId" | "MenuProps" | "native" | "renderValue" | "SelectDisplayProps"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown>, {}, {}>;
@@ -4,7 +4,7 @@ export declare const RHFTextFieldRootStyled: import('@emotion/styled').StyledCom
4
4
  export declare const LabelStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../Label').LabelProps, keyof import('../../../Label').LabelProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('..').RHFTextFieldOwnerState> & Record<string, unknown> & {
5
5
  ownerState: Partial<import('..').RHFTextFieldOwnerState> & Record<string, unknown>;
6
6
  }, {}, {}>;
7
- export declare const TextFieldStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../../mui_extended/TextField/types').TextFieldProps, "ref"> & import('react').RefAttributes<HTMLDivElement>, "value" | "size" | "children" | "title" | "component" | "name" | "error" | "select" | "rows" | "id" | "type" | "disabled" | "hidden" | "content" | "style" | "variant" | "margin" | "translate" | "className" | "classes" | "sx" | "label" | "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" | "dataTestId" | "autoComplete" | "placeholder" | "required" | keyof import('react').RefAttributes<HTMLDivElement> | "maxRows" | "fullWidth" | "inputProps" | "inputRef" | "multiline" | "minRows" | "hiddenLabel" | "focused" | "InputProps" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "SelectProps"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('..').RHFTextFieldOwnerState> & Record<string, unknown> & {
7
+ export declare const TextFieldStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../../mui_extended/TextField/types').TextFieldProps, "ref"> & import('react').RefAttributes<HTMLDivElement>, "value" | "size" | "children" | "title" | "component" | "name" | "error" | "select" | "rows" | "id" | "type" | "disabled" | "hidden" | "content" | "style" | "variant" | "margin" | "translate" | "className" | "classes" | "sx" | "label" | "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" | "dataTestId" | "autoComplete" | "placeholder" | "required" | keyof import('react').RefAttributes<HTMLDivElement> | "maxRows" | "fullWidth" | "inputProps" | "inputRef" | "multiline" | "minRows" | "hiddenLabel" | "focused" | "InputProps" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "SelectProps" | "limitCharacters"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('..').RHFTextFieldOwnerState> & Record<string, unknown> & {
8
8
  ownerState: Partial<import('..').RHFTextFieldOwnerState> & Record<string, unknown>;
9
9
  }, {}, {}>;
10
10
  export declare const HelperErrorStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../HelperError').HelperErrorProps & import('react').RefAttributes<HTMLLabelElement>, keyof import('../../../HelperError').HelperErrorProps | keyof import('react').RefAttributes<HTMLLabelElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('..').RHFTextFieldOwnerState> & Record<string, unknown> & {