@m4l/components 9.17.1-beta-feature-731-m4l-components-code-editor.0 → 9.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (170) hide show
  1. package/@types/types.d.ts +0 -11
  2. package/components/CommonActions/components/ActionFormCancel/ActionFormCancel.d.ts +2 -1
  3. package/components/CommonActions/components/ActionFormCancel/ActionFormCancel.d.ts.map +1 -1
  4. package/components/CommonActions/components/ActionFormCancel/ActionFormCancel.js +30 -41
  5. package/components/CommonActions/components/ActionFormCancel/types.d.ts +2 -2
  6. package/components/CommonActions/index.d.ts +1 -0
  7. package/components/CommonActions/index.d.ts.map +1 -1
  8. package/components/DragResizeWindowRND/DragResizeWindowRND.d.ts +3 -14
  9. package/components/DragResizeWindowRND/DragResizeWindowRND.d.ts.map +1 -1
  10. package/components/DragResizeWindowRND/DragResizeWindowRND.js +105 -119
  11. package/components/DragResizeWindowRND/helpers/index.d.ts +1 -0
  12. package/components/DragResizeWindowRND/helpers/index.d.ts.map +1 -1
  13. package/components/DragResizeWindowRND/helpers/resizeHandles.d.ts +15 -0
  14. package/components/DragResizeWindowRND/helpers/resizeHandles.d.ts.map +1 -0
  15. package/components/DragResizeWindowRND/helpers/resizeHandles.js +68 -0
  16. package/components/DragResizeWindowRND/types.d.ts +3 -1
  17. package/components/DragResizeWindowRND/types.d.ts.map +1 -1
  18. package/components/WindowBase/WindowBase.d.ts.map +1 -1
  19. package/components/WindowBase/WindowBase.js +49 -49
  20. package/components/WindowBase/WindowBase.styles.d.ts +1 -1
  21. package/components/WindowBase/WindowBase.styles.d.ts.map +1 -1
  22. package/components/WindowBase/WindowBase.styles.js +37 -12
  23. package/components/WindowBase/contexts/WindowToolsMFContext/types.d.ts +19 -34
  24. package/components/WindowBase/contexts/WindowToolsMFContext/types.d.ts.map +1 -1
  25. package/components/WindowBase/subcomponents/Header/HeaderWindowBase.js +18 -18
  26. package/components/areas/components/AreasAdmin/AreasAdmin.d.ts +2 -5
  27. package/components/areas/components/AreasAdmin/AreasAdmin.d.ts.map +1 -1
  28. package/components/areas/components/AreasAdmin/AreasAdmin.js +24 -24
  29. package/components/areas/components/AreasAdmin/helper.d.ts +1 -4
  30. package/components/areas/components/AreasAdmin/helper.d.ts.map +1 -1
  31. package/components/areas/components/AreasAdmin/subcomponents/AreaChip/AreaChip.d.ts +2 -26
  32. package/components/areas/components/AreasAdmin/subcomponents/AreaChip/AreaChip.d.ts.map +1 -1
  33. package/components/areas/components/AreasAdmin/subcomponents/AreaChip/AreaChip.js +72 -71
  34. package/components/areas/components/AreasAdmin/subcomponents/AreaChipMobile/AreaChipMobile.d.ts +1 -1
  35. package/components/areas/components/AreasAdmin/subcomponents/AreaChipMobile/AreaChipMobile.js +17 -17
  36. package/components/areas/components/AreasAdmin/subcomponents/AreaChipMobile/subcomponents/ChipMobile/ChipMobile.d.ts +2 -24
  37. package/components/areas/components/AreasAdmin/subcomponents/AreaChipMobile/subcomponents/ChipMobile/ChipMobile.d.ts.map +1 -1
  38. package/components/areas/components/AreasAdmin/subcomponents/AreaChipMobile/subcomponents/ChipMobile/ChipMobile.js +58 -57
  39. package/components/areas/components/AreasAdmin/types.d.ts +9 -9
  40. package/components/areas/components/AreasViewer/AreasViewer.styles.d.ts.map +1 -1
  41. package/components/areas/components/AreasViewer/AreasViewer.styles.js +174 -6
  42. package/components/areas/components/AreasViewer/constants.d.ts +12 -0
  43. package/components/areas/components/AreasViewer/constants.d.ts.map +1 -1
  44. package/components/areas/components/AreasViewer/constants.js +5 -2
  45. package/components/areas/components/AreasViewer/slots/AreasViewerEnum.d.ts +9 -0
  46. package/components/areas/components/AreasViewer/slots/AreasViewerEnum.d.ts.map +1 -1
  47. package/components/areas/components/AreasViewer/slots/AreasViewerEnum.js +2 -2
  48. package/components/areas/components/AreasViewer/slots/AreasViewerSlots.d.ts +27 -0
  49. package/components/areas/components/AreasViewer/slots/AreasViewerSlots.d.ts.map +1 -1
  50. package/components/areas/components/AreasViewer/slots/AreasViewerSlots.js +62 -25
  51. package/components/areas/components/AreasViewer/subcomponents/Area/Area.d.ts +1 -4
  52. package/components/areas/components/AreasViewer/subcomponents/Area/Area.d.ts.map +1 -1
  53. package/components/areas/components/AreasViewer/subcomponents/Area/Area.js +4 -4
  54. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/AreaGridLayout/AreaGridLayout.d.ts +1 -2
  55. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/AreaGridLayout/AreaGridLayout.d.ts.map +1 -1
  56. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/BaseArea/BaseArea.d.ts +1 -1
  57. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/BaseArea/BaseArea.d.ts.map +1 -1
  58. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/BaseArea/BaseArea.js +12 -11
  59. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/BaseArea/helpers/panelRuntime.d.ts +78 -0
  60. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/BaseArea/helpers/panelRuntime.d.ts.map +1 -0
  61. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/BaseArea/helpers/panelRuntime.js +86 -0
  62. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/BaseArea/hooks/useOverlayPanelResize.d.ts +33 -0
  63. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/BaseArea/hooks/useOverlayPanelResize.d.ts.map +1 -0
  64. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/BaseArea/hooks/useOverlayPanelResize.js +91 -0
  65. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/BaseArea/hooks/usePanelsByArea.d.ts +6 -0
  66. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/BaseArea/hooks/usePanelsByArea.d.ts.map +1 -0
  67. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/BaseArea/hooks/usePanelsByArea.js +45 -0
  68. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/BaseArea/hooks/usePinnedPanelResize.d.ts +16 -0
  69. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/BaseArea/hooks/usePinnedPanelResize.d.ts.map +1 -0
  70. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/BaseArea/hooks/usePinnedPanelResize.js +105 -0
  71. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/BaseArea/subcomponents/AreaPanels/AreaPanels.d.ts +6 -0
  72. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/BaseArea/subcomponents/AreaPanels/AreaPanels.d.ts.map +1 -0
  73. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/BaseArea/subcomponents/AreaPanels/AreaPanels.js +158 -0
  74. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/BaseArea/subcomponents/AreaPanels/subcomponents/PanelResizeInteractionLayer.d.ts +15 -0
  75. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/BaseArea/subcomponents/AreaPanels/subcomponents/PanelResizeInteractionLayer.d.ts.map +1 -0
  76. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/BaseArea/subcomponents/AreaPanels/subcomponents/PanelResizeInteractionLayer.js +19 -0
  77. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/BaseArea/subcomponents/AreaPanels/subcomponents/PanelResizeRail.d.ts +14 -0
  78. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/BaseArea/subcomponents/AreaPanels/subcomponents/PanelResizeRail.d.ts.map +1 -0
  79. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/BaseArea/subcomponents/AreaPanels/subcomponents/PanelResizeRail.js +35 -0
  80. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/BaseArea/subcomponents/AreaPanels/subcomponents/PanelWindow.d.ts +7 -0
  81. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/BaseArea/subcomponents/AreaPanels/subcomponents/PanelWindow.d.ts.map +1 -0
  82. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/BaseArea/subcomponents/AreaPanels/subcomponents/PanelWindow.js +68 -0
  83. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/BaseArea/types.d.ts +61 -0
  84. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/BaseArea/types.d.ts.map +1 -1
  85. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/Window.d.ts +3 -6
  86. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/Window.d.ts.map +1 -1
  87. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/Window.js +45 -45
  88. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/hooks/useHeaderActions.d.ts +1 -3
  89. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/hooks/useHeaderActions.d.ts.map +1 -1
  90. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/hooks/useRightActions.d.ts +1 -1
  91. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/hooks/useRightActions.d.ts.map +1 -1
  92. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/hooks/useRightActions.js +68 -40
  93. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/hooks/useWindow.d.ts +6 -11
  94. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/hooks/useWindow.d.ts.map +1 -1
  95. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/hooks/useWindow.js +77 -76
  96. package/components/areas/contexts/AreasContext/helpers/generateModuleCount.d.ts +3 -5
  97. package/components/areas/contexts/AreasContext/helpers/generateModuleCount.d.ts.map +1 -1
  98. package/components/areas/contexts/AreasContext/helpers/helper.d.ts +20 -15
  99. package/components/areas/contexts/AreasContext/helpers/helper.d.ts.map +1 -1
  100. package/components/areas/contexts/AreasContext/helpers/helper.js +8 -7
  101. package/components/areas/contexts/AreasContext/index.d.ts.map +1 -1
  102. package/components/areas/contexts/AreasContext/index.js +51 -48
  103. package/components/areas/contexts/AreasContext/store.d.ts +2 -3
  104. package/components/areas/contexts/AreasContext/store.d.ts.map +1 -1
  105. package/components/areas/contexts/AreasContext/store.js +397 -290
  106. package/components/areas/contexts/AreasContext/types.d.ts +109 -85
  107. package/components/areas/contexts/AreasContext/types.d.ts.map +1 -1
  108. package/components/areas/dictionary.d.ts +3 -0
  109. package/components/areas/dictionary.d.ts.map +1 -1
  110. package/components/areas/dictionary.js +9 -6
  111. package/components/areas/hooks/useAreas/index.d.ts +2 -2
  112. package/components/areas/hooks/useAreas/index.js +4 -4
  113. package/components/areas/types.d.ts +173 -47
  114. package/components/areas/types.d.ts.map +1 -1
  115. package/components/areas/utils/useOnClickOutside/index.d.ts +2 -1
  116. package/components/areas/utils/useOnClickOutside/index.d.ts.map +1 -1
  117. package/components/areas/utils/useOnClickOutside/index.js +15 -0
  118. package/components/extended/index.d.ts +0 -1
  119. package/components/extended/index.d.ts.map +1 -1
  120. package/components/hook-form/index.d.ts +0 -1
  121. package/components/hook-form/index.d.ts.map +1 -1
  122. package/components/popups/components/PopupsProvider/contexts/PopupsContext/types.d.ts +5 -4
  123. package/components/popups/components/PopupsProvider/contexts/PopupsContext/types.d.ts.map +1 -1
  124. package/components/popups/components/PopupsProvider/hooks/usePopups.js +2 -2
  125. package/hooks/index.d.ts +1 -0
  126. package/hooks/index.d.ts.map +1 -1
  127. package/hooks/useWindowCloseGuard/index.d.ts +18 -0
  128. package/hooks/useWindowCloseGuard/index.d.ts.map +1 -0
  129. package/hooks/useWindowCloseGuard/index.js +56 -0
  130. package/index.js +664 -675
  131. package/package.json +7 -10
  132. package/test/mocks/dictionary-mock.d.ts +2 -0
  133. package/test/mocks/dictionary-mock.d.ts.map +1 -1
  134. package/components/extended/ReactSimpleCodeEditor/CodeEditor.d.ts +0 -6
  135. package/components/extended/ReactSimpleCodeEditor/CodeEditor.d.ts.map +0 -1
  136. package/components/extended/ReactSimpleCodeEditor/CodeEditor.js +0 -247
  137. package/components/extended/ReactSimpleCodeEditor/CodeEditor.styles.d.ts +0 -3
  138. package/components/extended/ReactSimpleCodeEditor/CodeEditor.styles.d.ts.map +0 -1
  139. package/components/extended/ReactSimpleCodeEditor/CodeEditor.styles.js +0 -297
  140. package/components/extended/ReactSimpleCodeEditor/constants.d.ts +0 -82
  141. package/components/extended/ReactSimpleCodeEditor/constants.d.ts.map +0 -1
  142. package/components/extended/ReactSimpleCodeEditor/constants.js +0 -149
  143. package/components/extended/ReactSimpleCodeEditor/dictionary.d.ts +0 -11
  144. package/components/extended/ReactSimpleCodeEditor/dictionary.d.ts.map +0 -1
  145. package/components/extended/ReactSimpleCodeEditor/dictionary.js +0 -7
  146. package/components/extended/ReactSimpleCodeEditor/helpers/highlighting.d.ts +0 -59
  147. package/components/extended/ReactSimpleCodeEditor/helpers/highlighting.d.ts.map +0 -1
  148. package/components/extended/ReactSimpleCodeEditor/helpers/highlighting.js +0 -1063
  149. package/components/extended/ReactSimpleCodeEditor/helpers/languageIcon.d.ts +0 -6
  150. package/components/extended/ReactSimpleCodeEditor/helpers/languageIcon.d.ts.map +0 -1
  151. package/components/extended/ReactSimpleCodeEditor/helpers/languageIcon.js +0 -7
  152. package/components/extended/ReactSimpleCodeEditor/index.d.ts +0 -4
  153. package/components/extended/ReactSimpleCodeEditor/index.d.ts.map +0 -1
  154. package/components/extended/ReactSimpleCodeEditor/slots/CodeEditorEnum.d.ts +0 -18
  155. package/components/extended/ReactSimpleCodeEditor/slots/CodeEditorEnum.d.ts.map +0 -1
  156. package/components/extended/ReactSimpleCodeEditor/slots/CodeEditorEnum.js +0 -4
  157. package/components/extended/ReactSimpleCodeEditor/slots/CodeEditorSlots.d.ts +0 -84
  158. package/components/extended/ReactSimpleCodeEditor/slots/CodeEditorSlots.d.ts.map +0 -1
  159. package/components/extended/ReactSimpleCodeEditor/slots/CodeEditorSlots.js +0 -63
  160. package/components/extended/ReactSimpleCodeEditor/slots/index.d.ts +0 -3
  161. package/components/extended/ReactSimpleCodeEditor/slots/index.d.ts.map +0 -1
  162. package/components/extended/ReactSimpleCodeEditor/storybookRuntime.d.ts +0 -15
  163. package/components/extended/ReactSimpleCodeEditor/storybookRuntime.d.ts.map +0 -1
  164. package/components/extended/ReactSimpleCodeEditor/types.d.ts +0 -127
  165. package/components/extended/ReactSimpleCodeEditor/types.d.ts.map +0 -1
  166. package/components/hook-form/RHFCodeEditor/RHFCodeEditor.d.ts +0 -7
  167. package/components/hook-form/RHFCodeEditor/RHFCodeEditor.d.ts.map +0 -1
  168. package/components/hook-form/RHFCodeEditor/RHFCodeEditor.js +0 -6
  169. package/components/hook-form/RHFCodeEditor/index.d.ts +0 -3
  170. package/components/hook-form/RHFCodeEditor/index.d.ts.map +0 -1
package/@types/types.d.ts CHANGED
@@ -373,10 +373,6 @@ import {
373
373
  ReactJsonViewerOwnerState,
374
374
  ReactJsonViewerSlotsType,
375
375
  } from '../components/extended/React-Json-Viewer/types';
376
- import {
377
- CodeEditorOwnerState,
378
- CodeEditorSlotsType,
379
- } from '../components/extended/ReactSimpleCodeEditor/types';
380
376
  import {
381
377
  ResizableOwnerState as ReactResizableOwnerState,
382
378
  ResizableSlotsType,
@@ -503,7 +499,6 @@ declare module '@mui/material/styles' {
503
499
  M4LFixedSizeList: FixedSizeListSlotsType;
504
500
  M4LVariableSizeList: VariableSizeListSlotsType;
505
501
  M4LReactJsonViewer: ReactJsonViewerSlotsType;
506
- M4LCodeEditor: CodeEditorSlotsType;
507
502
  M4LResizable: ResizableSlotsType;
508
503
  M4LResizableBox: ResizableBoxSlotsType;
509
504
  M4LImageSelector: ImageSelectorSlotsType;
@@ -619,7 +614,6 @@ declare module '@mui/material/styles' {
619
614
  M4LFixedSizeList: Partial<FixedSizeListOwnerState>;
620
615
  M4LVariableSizeList: Partial<VariableSizeListOwnerState>;
621
616
  M4LReactJsonViewer: Partial<ReactJsonViewerOwnerState>;
622
- M4LCodeEditor: Partial<CodeEditorOwnerState>;
623
617
  M4LResizable: Partial<ReactResizableOwnerState>;
624
618
  M4LResizableBox: Partial<ResizableBoxOwnerState>;
625
619
  M4LImageSelector: Partial<ImageSelectorOwnerState>;
@@ -1174,11 +1168,6 @@ declare module '@mui/material/styles' {
1174
1168
  styleOverrides?: ComponentsOverrides<Theme>['M4LReactJsonViewer'];
1175
1169
  variants?: ComponentsVariants['M4LReactJsonViewer'];
1176
1170
  };
1177
- M4LCodeEditor?: {
1178
- defaultProps?: ComponentsPropsList['M4LCodeEditor'];
1179
- styleOverrides?: ComponentsOverrides<Theme>['M4LCodeEditor'];
1180
- variants?: ComponentsVariants['M4LCodeEditor'];
1181
- };
1182
1171
  M4LResizable?: {
1183
1172
  defaultProps?: ComponentsPropsList['M4LResizable'];
1184
1173
  styleOverrides?: ComponentsOverrides<Theme>['M4LResizable'];
@@ -1,6 +1,7 @@
1
1
  import { ActionFormCancelProps } from './types';
2
2
  /**
3
- * Este componente es útil en formularios donde se necesita un botón de cancelación
3
+ * Render a cancel action that can optionally become the guarded close entrypoint
4
+ * for the whole window.
4
5
  */
5
6
  export declare function ActionFormCancel(props: ActionFormCancelProps): import("@emotion/react/jsx-runtime").JSX.Element;
6
7
  //# sourceMappingURL=ActionFormCancel.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ActionFormCancel.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/components/src/components/CommonActions/components/ActionFormCancel/ActionFormCancel.tsx"],"names":[],"mappings":"AAiBA,OAAO,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAGhD;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,qBAAqB,oDA0D5D"}
1
+ {"version":3,"file":"ActionFormCancel.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/components/src/components/CommonActions/components/ActionFormCancel/ActionFormCancel.tsx"],"names":[],"mappings":"AAeA,OAAO,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAGhD;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,qBAAqB,oDAsC5D"}
@@ -1,52 +1,41 @@
1
- import { jsx as c } from "@emotion/react/jsx-runtime";
2
- import { useFormContext as I, useFormState as w } from "react-hook-form";
3
- import { useModuleDictionary as F } from "@m4l/core";
4
- import { useCallback as f, useEffect as T } from "react";
5
- import { useModal as M } from "../../../../hooks/useModal/index.js";
6
- import { useWindowToolsMF as N } from "../../../WindowBase/hooks/useWindowToolsMF/index.js";
7
- import { clsx as k } from "clsx";
1
+ import { jsx as C } from "@emotion/react/jsx-runtime";
2
+ import { useFormContext as f, useFormState as d } from "react-hook-form";
3
+ import { useModuleDictionary as u } from "@m4l/core";
4
+ import { useCallback as p } from "react";
5
+ import { useWindowCloseGuard as I } from "../../../../hooks/useWindowCloseGuard/index.js";
6
+ import { clsx as T } from "clsx";
8
7
  import { classActoinFormCancelRoot as A } from "./constanst.js";
9
- import { DICTIONARY as r } from "../../dictionary.js";
10
- import { WindowConfirm as L } from "../../../WindowConfirm/WindowConfirm.js";
11
- import { ButtonRootStyled as R } from "./slots/ActionFormCancelSlots.js";
12
- function W(C) {
8
+ import { DICTIONARY as t } from "../../dictionary.js";
9
+ import { ButtonRootStyled as F } from "./slots/ActionFormCancelSlots.js";
10
+ function w(r) {
13
11
  const {
14
- className: d,
12
+ className: s,
15
13
  onClose: e,
16
- linkToCloseWindow: i = !1,
17
- "data-testid": u
18
- } = C, { getLabel: o } = F(), { openModal: s } = M(), { close: a, setFnQueryClose: l } = N(), { control: p } = I(), { isDirty: m } = w({
19
- control: p
20
- }), t = f(() => {
21
- a(!1), e?.();
22
- }, [a, e]), n = f(() => {
23
- m ? s({
24
- window: /* @__PURE__ */ c(
25
- L,
26
- {
27
- variant: "warning",
28
- title: o(r.CONFIRM_QUIT_TITLE),
29
- msg: o(r.CONFIRM_QUIT_MSG),
30
- onClickIntro: t
31
- }
32
- ),
33
- variant: "warning"
34
- }) : t();
35
- }, [m, s, o, t]);
36
- return T(() => {
37
- i && l(n);
38
- }, [n, l, i]), /* @__PURE__ */ c(
39
- R,
14
+ linkToCloseWindow: n = !1,
15
+ "data-testid": i
16
+ } = r, { getLabel: o } = u(), { control: a } = f(), { isDirty: l } = d({
17
+ control: a
18
+ }), m = p(() => {
19
+ e?.();
20
+ }, [e]), { requestClose: c } = I({
21
+ confirmMessage: o(t.CONFIRM_QUIT_MSG),
22
+ confirmTitle: o(t.CONFIRM_QUIT_TITLE),
23
+ isDirty: l,
24
+ linkToCloseWindow: n,
25
+ onAfterClose: m
26
+ });
27
+ return /* @__PURE__ */ C(
28
+ F,
40
29
  {
41
30
  ownerState: {},
42
31
  variant: "outlined",
43
- onClick: n,
44
- className: k(A, d),
45
- label: o(r.LABEL_CANCEL),
46
- "data-testid": u
32
+ onClick: () => c(),
33
+ className: T(A, s),
34
+ label: o(t.LABEL_CANCEL),
35
+ "data-testid": i
47
36
  }
48
37
  );
49
38
  }
50
39
  export {
51
- W as ActionFormCancel
40
+ w as ActionFormCancel
52
41
  };
@@ -11,11 +11,11 @@ export interface ActionFormCancelProps extends ButtonProps {
11
11
  dictionaryId?: string;
12
12
  className?: string;
13
13
  /**
14
- * Cuando efectivamente se cierrar la ventana se ejecuta esta función.
14
+ * Run this callback after the standard close path finishes successfully.
15
15
  */
16
16
  onClose?: () => void;
17
17
  /**
18
- * Vicular la funcion de cierre de consulta con la funcion de cierre de la ventana.
18
+ * Register the same guarded flow as the shell-level query-close handler.
19
19
  */
20
20
  linkToCloseWindow: boolean;
21
21
  'data-testid'?: string;
@@ -4,6 +4,7 @@ export { ActionIntro } from './components/ActionIntro';
4
4
  export { ActionFormCancel } from './components/ActionFormCancel/ActionFormCancel';
5
5
  export { ActionFormIntro } from './components/ActionFormIntro/ActionFormIntro';
6
6
  export { ActionFormSubmitProgrammatic } from './components/ActionFormSubmitProgrammatic/ActionFormSubmitProgrammatic';
7
+ export { useWindowCloseGuard } from '../../hooks/useWindowCloseGuard';
7
8
  export { getCommonActionsDictionary } from './dictionary';
8
9
  export * from './dictionary';
9
10
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/CommonActions/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AAClF,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AAClF,OAAO,EAAE,eAAe,EAAE,MAAM,8CAA8C,CAAC;AAC/E,OAAO,EAAE,4BAA4B,EAAE,MAAM,wEAAwE,CAAC;AACtH,OAAO,EAAE,0BAA0B,EAAE,MAAM,cAAc,CAAC;AAC1D,cAAc,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/CommonActions/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AAClF,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AAClF,OAAO,EAAE,eAAe,EAAE,MAAM,8CAA8C,CAAC;AAC/E,OAAO,EAAE,4BAA4B,EAAE,MAAM,wEAAwE,CAAC;AACtH,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,0BAA0B,EAAE,MAAM,cAAc,CAAC;AAC1D,cAAc,cAAc,CAAC"}
@@ -1,19 +1,8 @@
1
1
  import { DragResizeWindowPropsRND, DragResizeWindowRNDRefHandler } from './types';
2
2
  /**
3
- * Este component es un wrapper o ventana draggable y resizable al children.
4
- * Características
5
- * - Permite definir bounds para que la ventana no se salga del contenedor padre.
6
- * - Es obligarlo pasarle como props el containerElement (HTMLElement) del padre.
7
- * - Reajusta el Resizable para que los handlers n, w, crezcan en la dirección correcta.
8
- * Funcionamiento interno:
9
- * - DraggableCore clona el children y le agrega un handle para poder arrastrar la ventana
10
- * - DraggableCore recomienda pasarle el nodeRef del wrapper Element , para que no tenga que hacer FindDOMNode.
11
- * - DraggableCore No se le puede poner estilo, ya que no aporta className ni html, solo clona el children
12
- * internamente le agrega las clases propias del componente: react-draggable,react-draggable-dragging,react-draggable-dragged
13
- * Por lo tanto todo el estilo, va directamente a WrapperWindowRoot.
14
- * Consideraciones:
15
- * @param props
16
- * @returns
3
+ * DragResizeWindowRND wraps children in a draggable and resizable shell.
4
+ * It keeps a controlled size/position contract while adapting to parent bounds,
5
+ * parent scroll, and container shrink/expand scenarios.
17
6
  */
18
7
  export declare const DragResizeWindowRND: import('react').ForwardRefExoticComponent<Omit<DragResizeWindowPropsRND, "ref"> & import('react').RefAttributes<DragResizeWindowRNDRefHandler>>;
19
8
  export default DragResizeWindowRND;
@@ -1 +1 @@
1
- {"version":3,"file":"DragResizeWindowRND.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/DragResizeWindowRND/DragResizeWindowRND.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAA0B,wBAAwB,EAAG,6BAA6B,EAAE,MAAM,SAAS,CAAC;AAUhH;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,mBAAmB,iJA2R9B,CAAC;AAEH,eAAe,mBAAmB,CAAC"}
1
+ {"version":3,"file":"DragResizeWindowRND.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/DragResizeWindowRND/DragResizeWindowRND.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAGV,wBAAwB,EACxB,6BAA6B,EAC9B,MAAM,SAAS,CAAC;AAgBjB;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,iJAsR9B,CAAC;AAEH,eAAe,mBAAmB,CAAC"}
@@ -1,54 +1,57 @@
1
- import { jsx as de } from "@emotion/react/jsx-runtime";
2
- import { forwardRef as he, useState as me, useMemo as v, useRef as C, useImperativeHandle as pe } from "react";
3
- import ze from "clsx";
1
+ import { jsx as pe } from "@emotion/react/jsx-runtime";
2
+ import { forwardRef as ue, useState as Re, useMemo as s, useRef as N, useImperativeHandle as Se } from "react";
3
+ import we from "clsx";
4
4
  import { dragResizeWindowRNDClasses as o } from "./classes/index.js";
5
- import { DEFAULT_TRANSFORM_SCALE as fe } from "./constants.js";
6
- import { useDragOptions as Re } from "./hooks/useRNDDragOptions.js";
7
- import { useResizeOptions as ue } from "./hooks/useRNDReResizeOptions.js";
8
- import { useRNDDimensionEffects as xe } from "./hooks/useRNDDimensionEffects.js";
9
- import { RndStyled as we } from "./slots/DragResizeWindowRNDSlots.js";
10
- import { getInitialSize as Se } from "./helpers/getInitialSize.js";
11
- const Be = he((I, y) => {
5
+ import { DEFAULT_TRANSFORM_SCALE as He } from "./constants.js";
6
+ import { useDragOptions as De } from "./hooks/useRNDDragOptions.js";
7
+ import { useResizeOptions as be } from "./hooks/useRNDReResizeOptions.js";
8
+ import { useRNDDimensionEffects as We } from "./hooks/useRNDDimensionEffects.js";
9
+ import { RndStyled as Ce } from "./slots/DragResizeWindowRNDSlots.js";
10
+ import { getInitialSize as ye } from "./helpers/getInitialSize.js";
11
+ import { buildEnableResizing as ve, buildDefaultResizeHandleStyles as xe, buildDefaultResizeHandleClasses as Oe } from "./helpers/resizeHandles.js";
12
+ const _e = ue((T, L) => {
12
13
  const {
13
14
  //Comunes
14
- style: L,
15
- className: O,
16
- children: D,
17
- defaultPosition: N = { vertical: { top: 0, height: 100 }, horizontal: { left: 0, width: 100 } },
15
+ style: B,
16
+ className: E,
17
+ children: W,
18
+ defaultPosition: V = { vertical: { top: 0, height: 100 }, horizontal: { left: 0, width: 100 } },
18
19
  containerElement: t,
19
20
  containerSize: i,
20
- transformScale: T = fe,
21
- bounds: f = { left: 5, top: 5, right: -5, bottom: -5 },
22
- minWidth: B = 200,
23
- minHeight: V = 100,
24
- minWindowWidth: A,
25
- minWindowHeight: E,
26
- resizeHandles: be,
21
+ transformScale: A = He,
22
+ bounds: p = { left: 5, top: 5, right: -5, bottom: -5 },
23
+ minWidth: M = 200,
24
+ minHeight: P = 100,
25
+ minWindowWidth: I,
26
+ minWindowHeight: F,
27
+ resizeHandles: C,
28
+ resizeHandleStyles: y,
29
+ resizeHandleClasses: v,
27
30
  // maxWidth = 1000,
28
31
  // maxHeight = 1000,
29
32
  //Draggable
30
- draggableHandle: M = `${o.draggableHandle}`,
31
- draggableCancel: F = `.${o.draggableCancel}`,
32
- draggable: P = !0,
33
- onDragStart: _,
34
- onDrag: U,
35
- onDragStop: $,
36
- onMouseDown: j,
33
+ draggableHandle: U = `${o.draggableHandle}`,
34
+ draggableCancel: _ = `.${o.draggableCancel}`,
35
+ draggable: $ = !0,
36
+ onDragStart: j,
37
+ onDrag: k,
38
+ onDragStop: q,
39
+ onMouseDown: G,
37
40
  //resizable
38
- resizable: k = !0,
39
- onResizeStart: q,
40
- onResize: G,
41
- onResizeStop: J,
42
- hidden: W,
41
+ resizable: x = !0,
42
+ onResizeStart: J,
43
+ onResize: K,
44
+ onResizeStop: Q,
45
+ hidden: O,
43
46
  allowHeightResizeContainer: l = !1,
44
- allowWidthResizeContainer: s = !1,
45
- windowRef: He,
47
+ allowWidthResizeContainer: c = !1,
48
+ windowRef: Ne,
46
49
  //Otras
47
- ...K
48
- } = I, g = A ?? B, c = E ?? V, [e, R] = me(
49
- () => Se(i, f, N, t, l, s)
50
- ), Q = v(() => [g, c], [g, c]), n = C({
51
- bounds: f,
50
+ ...X
51
+ } = T, g = I ?? M, d = F ?? P, [e, u] = Re(
52
+ () => ye(i, p, V, t, l, c)
53
+ ), Y = s(() => [g, d], [g, d]), n = N({
54
+ bounds: p,
52
55
  data: void 0,
53
56
  dragging: void 0,
54
57
  containerSize: i ? { ...i } : void 0,
@@ -56,25 +59,25 @@ const Be = he((I, y) => {
56
59
  y: e.y,
57
60
  width: e.width,
58
61
  height: e.height,
59
- minConstraints: Q,
62
+ minConstraints: Y,
60
63
  magnetizeRight: e.magnetizeRight,
61
64
  magnetizeBottom: e.magnetizeBottom
62
65
  });
63
66
  i && (n.current.containerSize?.containerWidth !== i.containerWidth || n.current.containerSize?.containerHeight !== i.containerHeight) && (n.current.containerSize = { ...i });
64
- const r = C(null);
65
- pe(y, () => ({
67
+ const r = N(null);
68
+ Se(L, () => ({
66
69
  /**
67
70
  * "ensureVisible" enfoca la ventana para que esté visible, cuando se requiere desde afuera ubicarla en el contenedor padre
68
71
  */
69
72
  ensureVisible: () => {
70
73
  if (!r.current || !t)
71
74
  return;
72
- const a = t.getBoundingClientRect(), h = r.current.getBoundingClientRect(), u = h.height, x = h.width, m = h.top - a.top + t.scrollTop, p = h.left - a.left + t.scrollLeft, ae = m + u, le = p + x, w = t.clientHeight, S = t.clientWidth, se = t.scrollTop + w, z = 0.5, ge = m >= t.scrollTop - z && ae <= se + z, ce = p >= t.scrollLeft - z && le <= t.scrollLeft + S + z;
73
- if (!ge || !ce) {
74
- let b, H;
75
- u > w ? b = m : b = m - w / 2 + u / 2, x > S ? H = p : H = p - S / 2 + x / 2, t.scrollTo({
76
- top: Math.max(0, b),
77
- left: Math.max(0, H),
75
+ const a = t.getBoundingClientRect(), h = r.current.getBoundingClientRect(), R = h.height, S = h.width, m = h.top - a.top + t.scrollTop, f = h.left - a.left + t.scrollLeft, de = m + R, he = f + S, w = t.clientHeight, H = t.clientWidth, me = t.scrollTop + w, z = 0.5, fe = m >= t.scrollTop - z && de <= me + z, ze = f >= t.scrollLeft - z && he <= t.scrollLeft + H + z;
76
+ if (!fe || !ze) {
77
+ let D, b;
78
+ R > w ? D = m : D = m - w / 2 + R / 2, S > H ? b = f : b = f - H / 2 + S / 2, t.scrollTo({
79
+ top: Math.max(0, D),
80
+ left: Math.max(0, b),
78
81
  behavior: "smooth"
79
82
  });
80
83
  }
@@ -84,40 +87,40 @@ const Be = he((I, y) => {
84
87
  */
85
88
  current: r.current
86
89
  }), [t]);
87
- const { localOnDragStart: X, localOnDrag: Y, localOnDragStop: Z } = Re({
90
+ const { localOnDragStart: Z, localOnDrag: ee, localOnDragStop: te } = De({
88
91
  allowHeightResizeContainer: l,
89
- allowWidthResizeContainer: s,
92
+ allowWidthResizeContainer: c,
90
93
  containerElement: t,
91
- transformScale: T,
92
- onDragStart: _,
93
- onDrag: U,
94
- onDragStop: $,
94
+ transformScale: A,
95
+ onDragStart: j,
96
+ onDrag: k,
97
+ onDragStop: q,
95
98
  stateRef: n,
96
- setCurrentState: R
97
- }), { localOnResize: ee, localOnResizeStart: te, localOnResizeStop: ie } = ue({
99
+ setCurrentState: u
100
+ }), { localOnResize: ie, localOnResizeStart: ne, localOnResizeStop: oe } = be({
98
101
  allowHeightResizeContainer: l,
99
- allowWidthResizeContainer: s,
102
+ allowWidthResizeContainer: c,
100
103
  containerElement: t,
101
- onResizeStart: q,
102
- onResize: G,
103
- onResizeStop: J,
104
+ onResizeStart: J,
105
+ onResize: K,
106
+ onResizeStop: Q,
104
107
  stateRef: n,
105
- setCurrentState: R
108
+ setCurrentState: u
106
109
  });
107
- xe({
110
+ We({
108
111
  containerElement: t,
109
- bounds: f,
112
+ bounds: p,
110
113
  containerSize: i,
111
- setCurrentState: R,
114
+ setCurrentState: u,
112
115
  stateRef: n,
113
116
  minWindowWidth: g,
114
- minWindowHeight: c,
117
+ minWindowHeight: d,
115
118
  wrapperRef: r,
116
119
  allowHeightResizeContainer: l,
117
- allowWidthResizeContainer: s
120
+ allowWidthResizeContainer: c
118
121
  });
119
- const ne = {
120
- hidden: W,
122
+ const re = {
123
+ hidden: O,
121
124
  dragging: !!e.dragging,
122
125
  resizing: !!e.resizing,
123
126
  draggingActive: !!e.dragging,
@@ -125,70 +128,53 @@ const Be = he((I, y) => {
125
128
  y: e.y,
126
129
  width: e.width,
127
130
  height: e.height
128
- }, oe = ze(O, {
131
+ }, ae = we(E, {
129
132
  //Requerido para el componente Draggable
130
- [o.hidden]: W,
133
+ [o.hidden]: O,
131
134
  [o.dragging]: !!e.dragging,
132
135
  [o.resizing]: !!e.resizing,
133
136
  [o.draggingActive]: !!e.dragging
134
137
  // dropping: Boolean(droppingPosition),
135
- }), re = v(() => D, [D]);
136
- if (!t)
137
- return null;
138
- const d = "5px";
139
- return /* @__PURE__ */ de(
140
- we,
138
+ }), se = s(() => ve(x, C), [x, C]), le = s(() => ({
139
+ ...xe(),
140
+ ...y
141
+ }), [y]), ce = s(() => ({
142
+ ...Oe(),
143
+ ...v
144
+ }), [v]), ge = s(() => W, [W]);
145
+ return t ? /* @__PURE__ */ pe(
146
+ Ce,
141
147
  {
142
- ownerState: ne,
143
- ...K,
144
- onMouseDown: j,
148
+ ownerState: re,
149
+ ...X,
150
+ onMouseDown: G,
145
151
  ref: (a) => {
146
152
  a && (r.current = a.resizableElement.current);
147
153
  },
148
- style: { ...L },
149
- dragHandleClassName: M,
150
- enableResizing: k,
151
- disableDragging: !P,
154
+ style: { ...B },
155
+ dragHandleClassName: U,
156
+ enableResizing: se,
157
+ disableDragging: !$,
152
158
  minWidth: g,
153
- minHeight: c,
154
- cancel: F,
155
- className: oe,
159
+ minHeight: d,
160
+ cancel: _,
161
+ className: ae,
156
162
  enableUserSelectHack: !0,
157
- resizeHandleStyles: {
158
- zIndex: 1,
159
- //Se debe mover lo handler de resize para queden dentro de la ventana, o genería un scroll innecesario.
160
- bottom: { bottom: "0px", zIndex: 1, height: d },
161
- right: { right: "0px", zIndex: 1, width: d },
162
- top: { top: "0px", zIndex: 1, height: d },
163
- left: { left: "0px", zIndex: 1, width: d },
164
- bottomRight: { bottom: "0px", right: "0px", zIndex: 1 },
165
- bottomLeft: { bottom: "0px", left: "0px", zIndex: 1 },
166
- topRight: { top: "0px", right: "0px", zIndex: 1 },
167
- topLeft: { top: "0px", left: "0px", zIndex: 1 }
168
- },
169
- resizeHandleClasses: {
170
- left: "resize-handle-left",
171
- right: "resize-handle-right",
172
- top: "resize-handle-top",
173
- bottom: "resize-handle-bottom",
174
- bottomRight: "resize-handle-bottom-right",
175
- bottomLeft: "resize-handle-bottom-left",
176
- topRight: "resize-handle-top-right",
177
- topLeft: "resize-handle-top-left"
178
- },
163
+ resizeHandleStyles: le,
164
+ resizeHandleClasses: ce,
179
165
  size: { width: e.width, height: e.height },
180
166
  position: { x: e.x, y: e.y },
181
- onDragStart: X,
182
- onDrag: Y,
183
- onDragStop: Z,
184
- onResizeStart: te,
185
- onResize: ee,
186
- onResizeStop: ie,
187
- children: re
167
+ onDragStart: Z,
168
+ onDrag: ee,
169
+ onDragStop: te,
170
+ onResizeStart: ne,
171
+ onResize: ie,
172
+ onResizeStop: oe,
173
+ children: ge
188
174
  }
189
- );
175
+ ) : null;
190
176
  });
191
177
  export {
192
- Be as DragResizeWindowRND,
193
- Be as default
178
+ _e as DragResizeWindowRND,
179
+ _e as default
194
180
  };
@@ -1,6 +1,7 @@
1
1
  export * from './expandingParentContainer';
2
2
  export * from './isElmentInViewport';
3
3
  export * from './pointPosition';
4
+ export * from './resizeHandles';
4
5
  export * from './shrinkingParentContainer';
5
6
  export * from './getInitialSize';
6
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../packages/components/src/components/DragResizeWindowRND/helpers/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC;AAChC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../packages/components/src/components/DragResizeWindowRND/helpers/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,kBAAkB,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { HandleClasses, HandleStyles, ResizeEnable } from 'react-rnd';
2
+ import { DragResizeWindowPropsRND } from '../types';
3
+ /**
4
+ * Build the react-rnd enableResizing map while preserving the shared shell defaults.
5
+ */
6
+ export declare const buildEnableResizing: (resizable: boolean, resizeHandles?: DragResizeWindowPropsRND["resizeHandles"]) => ResizeEnable;
7
+ /**
8
+ * Build the default resize-handle inline styles used by the shared shell.
9
+ */
10
+ export declare const buildDefaultResizeHandleStyles: () => HandleStyles;
11
+ /**
12
+ * Build the default resize-handle classes used by the shared shell.
13
+ */
14
+ export declare const buildDefaultResizeHandleClasses: () => HandleClasses;
15
+ //# sourceMappingURL=resizeHandles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resizeHandles.d.ts","sourceRoot":"","sources":["../../../../../../../packages/components/src/components/DragResizeWindowRND/helpers/resizeHandles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAC3E,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAC;AAEzD;;GAEG;AACH,eAAO,MAAM,mBAAmB,GAC9B,WAAW,OAAO,EAClB,gBAAgB,wBAAwB,CAAC,eAAe,CAAC,KACxD,YAkDF,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,8BAA8B,QAAO,YAcjD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,+BAA+B,QAAO,aAWlD,CAAC"}
@@ -0,0 +1,68 @@
1
+ const r = (o, e) => {
2
+ if (!o)
3
+ return !1;
4
+ if (!e || e.length === 0)
5
+ return !0;
6
+ const t = {
7
+ top: !1,
8
+ right: !1,
9
+ bottom: !1,
10
+ left: !1,
11
+ topRight: !1,
12
+ bottomRight: !1,
13
+ bottomLeft: !1,
14
+ topLeft: !1
15
+ };
16
+ return e.forEach((i) => {
17
+ switch (i) {
18
+ case "n":
19
+ t.top = !0;
20
+ break;
21
+ case "e":
22
+ t.right = !0;
23
+ break;
24
+ case "s":
25
+ t.bottom = !0;
26
+ break;
27
+ case "w":
28
+ t.left = !0;
29
+ break;
30
+ case "ne":
31
+ t.topRight = !0;
32
+ break;
33
+ case "se":
34
+ t.bottomRight = !0;
35
+ break;
36
+ case "sw":
37
+ t.bottomLeft = !0;
38
+ break;
39
+ case "nw":
40
+ t.topLeft = !0;
41
+ break;
42
+ }
43
+ }), t;
44
+ }, a = () => ({
45
+ // Keep resize handlers inside the shell so they do not create artificial overflow.
46
+ bottom: { bottom: "0px", zIndex: 1, height: "5px" },
47
+ right: { right: "0px", zIndex: 1, width: "5px" },
48
+ top: { top: "0px", zIndex: 1, height: "5px" },
49
+ left: { left: "0px", zIndex: 1, width: "5px" },
50
+ bottomRight: { bottom: "0px", right: "0px", zIndex: 1 },
51
+ bottomLeft: { bottom: "0px", left: "0px", zIndex: 1 },
52
+ topRight: { top: "0px", right: "0px", zIndex: 1 },
53
+ topLeft: { top: "0px", left: "0px", zIndex: 1 }
54
+ }), s = () => ({
55
+ left: "resize-handle-left",
56
+ right: "resize-handle-right",
57
+ top: "resize-handle-top",
58
+ bottom: "resize-handle-bottom",
59
+ bottomRight: "resize-handle-bottom-right",
60
+ bottomLeft: "resize-handle-bottom-left",
61
+ topRight: "resize-handle-top-right",
62
+ topLeft: "resize-handle-top-left"
63
+ });
64
+ export {
65
+ s as buildDefaultResizeHandleClasses,
66
+ a as buildDefaultResizeHandleStyles,
67
+ r as buildEnableResizing
68
+ };
@@ -248,7 +248,9 @@ export interface DragResizeWindowPropsRND extends Partial<Omit<RndProps, 'handle
248
248
  */
249
249
  minWindowHeight?: number;
250
250
  /**
251
- * Resize handles (used by parents; not forwarded to DOM react-rnd has its own handles)
251
+ * Resize handles exposed by the shared shell. They are translated into the
252
+ * `react-rnd` `enableResizing` edge map while preserving the default
253
+ * all-handles behavior when omitted.
252
254
  */
253
255
  resizeHandles?: ResizeHandle[] | readonly ResizeHandle[];
254
256
  }
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/DragResizeWindowRND/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAChD,OAAO,EAAG,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAC7C,OAAO,EAAE,wBAAwB,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AACtD,OAAO,KAAK,EAAE,kBAAkB,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AACpF,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,EAAE,KAAK,IAAI,QAAQ,EAAE,MAAM,WAAW,CAAC;AAE9C;;;;;GAKG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B,WAAW,EAAE,MAAM,CAAC;IACpB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AACF;;;;;;GAMG;AACH,MAAM,MAAM,QAAQ,GAAG;IACrB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AACF,MAAM,WAAW,YAAa,SAAQ,QAAQ;IAC5C;;OAEG;IACH,QAAQ,CAAC,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;IACnE;;OAEG;IACH,QAAQ,CAAC,EAAE;QAAE,CAAC,EAAE,M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,EAAE,aAAa,CAAC;IACrB;;OAEG;IACH,aAAa,CAAC,EAAE,aAAa,GAAG,SAAS,CAAC;IAC1C;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;CAI1B;AACD;;GAEG;AACH,MAAM,MAAM,4BAA4B,GAAG,MAAM,OAAO,wBAAwB,CAAC;AACjF;;GAEG;AACH,MAAM,MAAM,0BAA0B,GAAG;IACvC;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,CAAC,CAAC,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,CAAC,CAAC,EAAE,MAAM,CAAC;CACZ,CAAC;AACF;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG,sBAAsB,CAAC,4BAA4B,EAAE,OAAO,uBAAuB,EAAE,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/DragResizeWindowRND/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAChD,OAAO,EAAG,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAC7C,OAAO,EAAE,wBAAwB,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AACtD,OAAO,KAA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