@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.
- package/@types/types.d.ts +0 -11
- package/components/CommonActions/components/ActionFormCancel/ActionFormCancel.d.ts +2 -1
- package/components/CommonActions/components/ActionFormCancel/ActionFormCancel.d.ts.map +1 -1
- package/components/CommonActions/components/ActionFormCancel/ActionFormCancel.js +30 -41
- package/components/CommonActions/components/ActionFormCancel/types.d.ts +2 -2
- package/components/CommonActions/index.d.ts +1 -0
- package/components/CommonActions/index.d.ts.map +1 -1
- package/components/DragResizeWindowRND/DragResizeWindowRND.d.ts +3 -14
- package/components/DragResizeWindowRND/DragResizeWindowRND.d.ts.map +1 -1
- package/components/DragResizeWindowRND/DragResizeWindowRND.js +105 -119
- package/components/DragResizeWindowRND/helpers/index.d.ts +1 -0
- package/components/DragResizeWindowRND/helpers/index.d.ts.map +1 -1
- package/components/DragResizeWindowRND/helpers/resizeHandles.d.ts +15 -0
- package/components/DragResizeWindowRND/helpers/resizeHandles.d.ts.map +1 -0
- package/components/DragResizeWindowRND/helpers/resizeHandles.js +68 -0
- package/components/DragResizeWindowRND/types.d.ts +3 -1
- package/components/DragResizeWindowRND/types.d.ts.map +1 -1
- package/components/WindowBase/WindowBase.d.ts.map +1 -1
- package/components/WindowBase/WindowBase.js +49 -49
- package/components/WindowBase/WindowBase.styles.d.ts +1 -1
- package/components/WindowBase/WindowBase.styles.d.ts.map +1 -1
- package/components/WindowBase/WindowBase.styles.js +37 -12
- package/components/WindowBase/contexts/WindowToolsMFContext/types.d.ts +19 -34
- package/components/WindowBase/contexts/WindowToolsMFContext/types.d.ts.map +1 -1
- package/components/WindowBase/subcomponents/Header/HeaderWindowBase.js +18 -18
- package/components/areas/components/AreasAdmin/AreasAdmin.d.ts +2 -5
- package/components/areas/components/AreasAdmin/AreasAdmin.d.ts.map +1 -1
- package/components/areas/components/AreasAdmin/AreasAdmin.js +24 -24
- package/components/areas/components/AreasAdmin/helper.d.ts +1 -4
- package/components/areas/components/AreasAdmin/helper.d.ts.map +1 -1
- package/components/areas/components/AreasAdmin/subcomponents/AreaChip/AreaChip.d.ts +2 -26
- package/components/areas/components/AreasAdmin/subcomponents/AreaChip/AreaChip.d.ts.map +1 -1
- package/components/areas/components/AreasAdmin/subcomponents/AreaChip/AreaChip.js +72 -71
- package/components/areas/components/AreasAdmin/subcomponents/AreaChipMobile/AreaChipMobile.d.ts +1 -1
- package/components/areas/components/AreasAdmin/subcomponents/AreaChipMobile/AreaChipMobile.js +17 -17
- package/components/areas/components/AreasAdmin/subcomponents/AreaChipMobile/subcomponents/ChipMobile/ChipMobile.d.ts +2 -24
- package/components/areas/components/AreasAdmin/subcomponents/AreaChipMobile/subcomponents/ChipMobile/ChipMobile.d.ts.map +1 -1
- package/components/areas/components/AreasAdmin/subcomponents/AreaChipMobile/subcomponents/ChipMobile/ChipMobile.js +58 -57
- package/components/areas/components/AreasAdmin/types.d.ts +9 -9
- package/components/areas/components/AreasViewer/AreasViewer.styles.d.ts.map +1 -1
- package/components/areas/components/AreasViewer/AreasViewer.styles.js +174 -6
- package/components/areas/components/AreasViewer/constants.d.ts +12 -0
- package/components/areas/components/AreasViewer/constants.d.ts.map +1 -1
- package/components/areas/components/AreasViewer/constants.js +5 -2
- package/components/areas/components/AreasViewer/slots/AreasViewerEnum.d.ts +9 -0
- package/components/areas/components/AreasViewer/slots/AreasViewerEnum.d.ts.map +1 -1
- package/components/areas/components/AreasViewer/slots/AreasViewerEnum.js +2 -2
- package/components/areas/components/AreasViewer/slots/AreasViewerSlots.d.ts +27 -0
- package/components/areas/components/AreasViewer/slots/AreasViewerSlots.d.ts.map +1 -1
- package/components/areas/components/AreasViewer/slots/AreasViewerSlots.js +62 -25
- package/components/areas/components/AreasViewer/subcomponents/Area/Area.d.ts +1 -4
- package/components/areas/components/AreasViewer/subcomponents/Area/Area.d.ts.map +1 -1
- package/components/areas/components/AreasViewer/subcomponents/Area/Area.js +4 -4
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/AreaGridLayout/AreaGridLayout.d.ts +1 -2
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/AreaGridLayout/AreaGridLayout.d.ts.map +1 -1
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/BaseArea/BaseArea.d.ts +1 -1
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/BaseArea/BaseArea.d.ts.map +1 -1
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/BaseArea/BaseArea.js +12 -11
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/BaseArea/helpers/panelRuntime.d.ts +78 -0
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/BaseArea/helpers/panelRuntime.d.ts.map +1 -0
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/BaseArea/helpers/panelRuntime.js +86 -0
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/BaseArea/hooks/useOverlayPanelResize.d.ts +33 -0
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/BaseArea/hooks/useOverlayPanelResize.d.ts.map +1 -0
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/BaseArea/hooks/useOverlayPanelResize.js +91 -0
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/BaseArea/hooks/usePanelsByArea.d.ts +6 -0
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/BaseArea/hooks/usePanelsByArea.d.ts.map +1 -0
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/BaseArea/hooks/usePanelsByArea.js +45 -0
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/BaseArea/hooks/usePinnedPanelResize.d.ts +16 -0
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/BaseArea/hooks/usePinnedPanelResize.d.ts.map +1 -0
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/BaseArea/hooks/usePinnedPanelResize.js +105 -0
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/BaseArea/subcomponents/AreaPanels/AreaPanels.d.ts +6 -0
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/BaseArea/subcomponents/AreaPanels/AreaPanels.d.ts.map +1 -0
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/BaseArea/subcomponents/AreaPanels/AreaPanels.js +158 -0
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/BaseArea/subcomponents/AreaPanels/subcomponents/PanelResizeInteractionLayer.d.ts +15 -0
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/BaseArea/subcomponents/AreaPanels/subcomponents/PanelResizeInteractionLayer.d.ts.map +1 -0
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/BaseArea/subcomponents/AreaPanels/subcomponents/PanelResizeInteractionLayer.js +19 -0
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/BaseArea/subcomponents/AreaPanels/subcomponents/PanelResizeRail.d.ts +14 -0
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/BaseArea/subcomponents/AreaPanels/subcomponents/PanelResizeRail.d.ts.map +1 -0
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/BaseArea/subcomponents/AreaPanels/subcomponents/PanelResizeRail.js +35 -0
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/BaseArea/subcomponents/AreaPanels/subcomponents/PanelWindow.d.ts +7 -0
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/BaseArea/subcomponents/AreaPanels/subcomponents/PanelWindow.d.ts.map +1 -0
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/BaseArea/subcomponents/AreaPanels/subcomponents/PanelWindow.js +68 -0
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/BaseArea/types.d.ts +61 -0
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/BaseArea/types.d.ts.map +1 -1
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/Window.d.ts +3 -6
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/Window.d.ts.map +1 -1
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/Window.js +45 -45
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/hooks/useHeaderActions.d.ts +1 -3
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/hooks/useHeaderActions.d.ts.map +1 -1
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/hooks/useRightActions.d.ts +1 -1
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/hooks/useRightActions.d.ts.map +1 -1
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/hooks/useRightActions.js +68 -40
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/hooks/useWindow.d.ts +6 -11
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/hooks/useWindow.d.ts.map +1 -1
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/hooks/useWindow.js +77 -76
- package/components/areas/contexts/AreasContext/helpers/generateModuleCount.d.ts +3 -5
- package/components/areas/contexts/AreasContext/helpers/generateModuleCount.d.ts.map +1 -1
- package/components/areas/contexts/AreasContext/helpers/helper.d.ts +20 -15
- package/components/areas/contexts/AreasContext/helpers/helper.d.ts.map +1 -1
- package/components/areas/contexts/AreasContext/helpers/helper.js +8 -7
- package/components/areas/contexts/AreasContext/index.d.ts.map +1 -1
- package/components/areas/contexts/AreasContext/index.js +51 -48
- package/components/areas/contexts/AreasContext/store.d.ts +2 -3
- package/components/areas/contexts/AreasContext/store.d.ts.map +1 -1
- package/components/areas/contexts/AreasContext/store.js +397 -290
- package/components/areas/contexts/AreasContext/types.d.ts +109 -85
- package/components/areas/contexts/AreasContext/types.d.ts.map +1 -1
- package/components/areas/dictionary.d.ts +3 -0
- package/components/areas/dictionary.d.ts.map +1 -1
- package/components/areas/dictionary.js +9 -6
- package/components/areas/hooks/useAreas/index.d.ts +2 -2
- package/components/areas/hooks/useAreas/index.js +4 -4
- package/components/areas/types.d.ts +173 -47
- package/components/areas/types.d.ts.map +1 -1
- package/components/areas/utils/useOnClickOutside/index.d.ts +2 -1
- package/components/areas/utils/useOnClickOutside/index.d.ts.map +1 -1
- package/components/areas/utils/useOnClickOutside/index.js +15 -0
- package/components/extended/index.d.ts +0 -1
- package/components/extended/index.d.ts.map +1 -1
- package/components/hook-form/index.d.ts +0 -1
- package/components/hook-form/index.d.ts.map +1 -1
- package/components/popups/components/PopupsProvider/contexts/PopupsContext/types.d.ts +5 -4
- package/components/popups/components/PopupsProvider/contexts/PopupsContext/types.d.ts.map +1 -1
- package/components/popups/components/PopupsProvider/hooks/usePopups.js +2 -2
- package/hooks/index.d.ts +1 -0
- package/hooks/index.d.ts.map +1 -1
- package/hooks/useWindowCloseGuard/index.d.ts +18 -0
- package/hooks/useWindowCloseGuard/index.d.ts.map +1 -0
- package/hooks/useWindowCloseGuard/index.js +56 -0
- package/index.js +664 -675
- package/package.json +7 -10
- package/test/mocks/dictionary-mock.d.ts +2 -0
- package/test/mocks/dictionary-mock.d.ts.map +1 -1
- package/components/extended/ReactSimpleCodeEditor/CodeEditor.d.ts +0 -6
- package/components/extended/ReactSimpleCodeEditor/CodeEditor.d.ts.map +0 -1
- package/components/extended/ReactSimpleCodeEditor/CodeEditor.js +0 -247
- package/components/extended/ReactSimpleCodeEditor/CodeEditor.styles.d.ts +0 -3
- package/components/extended/ReactSimpleCodeEditor/CodeEditor.styles.d.ts.map +0 -1
- package/components/extended/ReactSimpleCodeEditor/CodeEditor.styles.js +0 -297
- package/components/extended/ReactSimpleCodeEditor/constants.d.ts +0 -82
- package/components/extended/ReactSimpleCodeEditor/constants.d.ts.map +0 -1
- package/components/extended/ReactSimpleCodeEditor/constants.js +0 -149
- package/components/extended/ReactSimpleCodeEditor/dictionary.d.ts +0 -11
- package/components/extended/ReactSimpleCodeEditor/dictionary.d.ts.map +0 -1
- package/components/extended/ReactSimpleCodeEditor/dictionary.js +0 -7
- package/components/extended/ReactSimpleCodeEditor/helpers/highlighting.d.ts +0 -59
- package/components/extended/ReactSimpleCodeEditor/helpers/highlighting.d.ts.map +0 -1
- package/components/extended/ReactSimpleCodeEditor/helpers/highlighting.js +0 -1063
- package/components/extended/ReactSimpleCodeEditor/helpers/languageIcon.d.ts +0 -6
- package/components/extended/ReactSimpleCodeEditor/helpers/languageIcon.d.ts.map +0 -1
- package/components/extended/ReactSimpleCodeEditor/helpers/languageIcon.js +0 -7
- package/components/extended/ReactSimpleCodeEditor/index.d.ts +0 -4
- package/components/extended/ReactSimpleCodeEditor/index.d.ts.map +0 -1
- package/components/extended/ReactSimpleCodeEditor/slots/CodeEditorEnum.d.ts +0 -18
- package/components/extended/ReactSimpleCodeEditor/slots/CodeEditorEnum.d.ts.map +0 -1
- package/components/extended/ReactSimpleCodeEditor/slots/CodeEditorEnum.js +0 -4
- package/components/extended/ReactSimpleCodeEditor/slots/CodeEditorSlots.d.ts +0 -84
- package/components/extended/ReactSimpleCodeEditor/slots/CodeEditorSlots.d.ts.map +0 -1
- package/components/extended/ReactSimpleCodeEditor/slots/CodeEditorSlots.js +0 -63
- package/components/extended/ReactSimpleCodeEditor/slots/index.d.ts +0 -3
- package/components/extended/ReactSimpleCodeEditor/slots/index.d.ts.map +0 -1
- package/components/extended/ReactSimpleCodeEditor/storybookRuntime.d.ts +0 -15
- package/components/extended/ReactSimpleCodeEditor/storybookRuntime.d.ts.map +0 -1
- package/components/extended/ReactSimpleCodeEditor/types.d.ts +0 -127
- package/components/extended/ReactSimpleCodeEditor/types.d.ts.map +0 -1
- package/components/hook-form/RHFCodeEditor/RHFCodeEditor.d.ts +0 -7
- package/components/hook-form/RHFCodeEditor/RHFCodeEditor.d.ts.map +0 -1
- package/components/hook-form/RHFCodeEditor/RHFCodeEditor.js +0 -6
- package/components/hook-form/RHFCodeEditor/index.d.ts +0 -3
- 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
|
-
*
|
|
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":"
|
|
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
|
|
2
|
-
import { useFormContext as
|
|
3
|
-
import { useModuleDictionary as
|
|
4
|
-
import { useCallback as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
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
|
|
10
|
-
import {
|
|
11
|
-
|
|
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:
|
|
12
|
+
className: s,
|
|
15
13
|
onClose: e,
|
|
16
|
-
linkToCloseWindow:
|
|
17
|
-
"data-testid":
|
|
18
|
-
} =
|
|
19
|
-
control:
|
|
20
|
-
}),
|
|
21
|
-
|
|
22
|
-
}, [
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
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:
|
|
44
|
-
className:
|
|
45
|
-
label: o(
|
|
46
|
-
"data-testid":
|
|
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
|
-
|
|
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
|
-
*
|
|
14
|
+
* Run this callback after the standard close path finishes successfully.
|
|
15
15
|
*/
|
|
16
16
|
onClose?: () => void;
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
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
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
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":"
|
|
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
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import
|
|
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
|
|
6
|
-
import { useDragOptions as
|
|
7
|
-
import { useResizeOptions as
|
|
8
|
-
import { useRNDDimensionEffects as
|
|
9
|
-
import { RndStyled as
|
|
10
|
-
import { getInitialSize as
|
|
11
|
-
|
|
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:
|
|
15
|
-
className:
|
|
16
|
-
children:
|
|
17
|
-
defaultPosition:
|
|
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:
|
|
21
|
-
bounds:
|
|
22
|
-
minWidth:
|
|
23
|
-
minHeight:
|
|
24
|
-
minWindowWidth:
|
|
25
|
-
minWindowHeight:
|
|
26
|
-
resizeHandles:
|
|
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:
|
|
31
|
-
draggableCancel:
|
|
32
|
-
draggable:
|
|
33
|
-
onDragStart:
|
|
34
|
-
onDrag:
|
|
35
|
-
onDragStop:
|
|
36
|
-
onMouseDown:
|
|
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:
|
|
39
|
-
onResizeStart:
|
|
40
|
-
onResize:
|
|
41
|
-
onResizeStop:
|
|
42
|
-
hidden:
|
|
41
|
+
resizable: x = !0,
|
|
42
|
+
onResizeStart: J,
|
|
43
|
+
onResize: K,
|
|
44
|
+
onResizeStop: Q,
|
|
45
|
+
hidden: O,
|
|
43
46
|
allowHeightResizeContainer: l = !1,
|
|
44
|
-
allowWidthResizeContainer:
|
|
45
|
-
windowRef:
|
|
47
|
+
allowWidthResizeContainer: c = !1,
|
|
48
|
+
windowRef: Ne,
|
|
46
49
|
//Otras
|
|
47
|
-
...
|
|
48
|
-
} =
|
|
49
|
-
() =>
|
|
50
|
-
),
|
|
51
|
-
bounds:
|
|
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:
|
|
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 =
|
|
65
|
-
|
|
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(),
|
|
73
|
-
if (!
|
|
74
|
-
let
|
|
75
|
-
|
|
76
|
-
top: Math.max(0,
|
|
77
|
-
left: Math.max(0,
|
|
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:
|
|
90
|
+
const { localOnDragStart: Z, localOnDrag: ee, localOnDragStop: te } = De({
|
|
88
91
|
allowHeightResizeContainer: l,
|
|
89
|
-
allowWidthResizeContainer:
|
|
92
|
+
allowWidthResizeContainer: c,
|
|
90
93
|
containerElement: t,
|
|
91
|
-
transformScale:
|
|
92
|
-
onDragStart:
|
|
93
|
-
onDrag:
|
|
94
|
-
onDragStop:
|
|
94
|
+
transformScale: A,
|
|
95
|
+
onDragStart: j,
|
|
96
|
+
onDrag: k,
|
|
97
|
+
onDragStop: q,
|
|
95
98
|
stateRef: n,
|
|
96
|
-
setCurrentState:
|
|
97
|
-
}), { localOnResize:
|
|
99
|
+
setCurrentState: u
|
|
100
|
+
}), { localOnResize: ie, localOnResizeStart: ne, localOnResizeStop: oe } = be({
|
|
98
101
|
allowHeightResizeContainer: l,
|
|
99
|
-
allowWidthResizeContainer:
|
|
102
|
+
allowWidthResizeContainer: c,
|
|
100
103
|
containerElement: t,
|
|
101
|
-
onResizeStart:
|
|
102
|
-
onResize:
|
|
103
|
-
onResizeStop:
|
|
104
|
+
onResizeStart: J,
|
|
105
|
+
onResize: K,
|
|
106
|
+
onResizeStop: Q,
|
|
104
107
|
stateRef: n,
|
|
105
|
-
setCurrentState:
|
|
108
|
+
setCurrentState: u
|
|
106
109
|
});
|
|
107
|
-
|
|
110
|
+
We({
|
|
108
111
|
containerElement: t,
|
|
109
|
-
bounds:
|
|
112
|
+
bounds: p,
|
|
110
113
|
containerSize: i,
|
|
111
|
-
setCurrentState:
|
|
114
|
+
setCurrentState: u,
|
|
112
115
|
stateRef: n,
|
|
113
116
|
minWindowWidth: g,
|
|
114
|
-
minWindowHeight:
|
|
117
|
+
minWindowHeight: d,
|
|
115
118
|
wrapperRef: r,
|
|
116
119
|
allowHeightResizeContainer: l,
|
|
117
|
-
allowWidthResizeContainer:
|
|
120
|
+
allowWidthResizeContainer: c
|
|
118
121
|
});
|
|
119
|
-
const
|
|
120
|
-
hidden:
|
|
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
|
-
},
|
|
131
|
+
}, ae = we(E, {
|
|
129
132
|
//Requerido para el componente Draggable
|
|
130
|
-
[o.hidden]:
|
|
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
|
-
}),
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
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:
|
|
143
|
-
...
|
|
144
|
-
onMouseDown:
|
|
148
|
+
ownerState: re,
|
|
149
|
+
...X,
|
|
150
|
+
onMouseDown: G,
|
|
145
151
|
ref: (a) => {
|
|
146
152
|
a && (r.current = a.resizableElement.current);
|
|
147
153
|
},
|
|
148
|
-
style: { ...
|
|
149
|
-
dragHandleClassName:
|
|
150
|
-
enableResizing:
|
|
151
|
-
disableDragging:
|
|
154
|
+
style: { ...B },
|
|
155
|
+
dragHandleClassName: U,
|
|
156
|
+
enableResizing: se,
|
|
157
|
+
disableDragging: !$,
|
|
152
158
|
minWidth: g,
|
|
153
|
-
minHeight:
|
|
154
|
-
cancel:
|
|
155
|
-
className:
|
|
159
|
+
minHeight: d,
|
|
160
|
+
cancel: _,
|
|
161
|
+
className: ae,
|
|
156
162
|
enableUserSelectHack: !0,
|
|
157
|
-
resizeHandleStyles:
|
|
158
|
-
|
|
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:
|
|
182
|
-
onDrag:
|
|
183
|
-
onDragStop:
|
|
184
|
-
onResizeStart:
|
|
185
|
-
onResize:
|
|
186
|
-
onResizeStop:
|
|
187
|
-
children:
|
|
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
|
-
|
|
193
|
-
|
|
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
|
|
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,MA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G;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAGzB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,0BAA0B,CAAC,EAAE,OAAO,CAAC;IACrC;;OAEG;IACH,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC;;OAEG;IACH,SAAS,CAAC,EAAE,YAAY,CAAC,cAAc,GAAG,SAAS,CAAC,CAAC;IACrD;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB
|
|
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;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