@m4l/components 0.1.83 → 0.1.84
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/AccountPopover/classes/index.d.ts +4 -0
- package/components/AccountPopover/classes/types.d.ts +4 -0
- package/components/AccountPopover/dictionary.d.ts +1 -0
- package/components/AccountPopover/{index.2677fe77.js → index.bbeb9142.js} +73 -27
- package/components/AccountPopover/index.d.ts +1 -0
- package/components/AccountPopover/types.d.ts +2 -0
- package/components/AppBar/dictionary.d.ts +1 -0
- package/components/AppBar/{index.ad2a6f0e.js → index.43f8b54f.js} +17 -10
- package/components/AppBar/index.d.ts +1 -0
- package/components/CommonActions/components/ActionCancel/{index.b2fc495d.js → index.29517521.js} +1 -1
- package/components/CommonActions/components/ActionFormCancel/{index.60d8963e.js → index.89f1ac8e.js} +14 -14
- package/components/CommonActions/components/ActionFormIntro/{index.fde4ea51.js → index.bbc35e74.js} +1 -1
- package/components/CommonActions/components/ActionIntro/{index.724d8e17.js → index.a9420126.js} +1 -1
- package/components/CommonActions/components/Actions/{index.23a2d6ae.js → index.e70e8779.js} +12 -12
- package/components/DataGrid/{index.d5d0d62f.js → index.1d0a3dec.js} +13 -12
- package/components/DataGrid/subcomponents/Actions/{index.201394f5.js → index.a8fc9f6a.js} +44 -29
- package/components/DynamicFilter/{index.7d134537.js → index.912679cc.js} +25 -25
- package/components/GridLayout/constants.d.ts +1 -1
- package/components/GridLayout/{index.70085b00.js → index.c55f16eb.js} +20 -16
- package/components/GridLayout/subcomponents/Griditem/{index.c09681ff.js → index.6c68811f.js} +1 -6
- package/components/GridLayout/subcomponents/Responsive/{index.eb04fd5e.js → index.a6e33b8d.js} +1 -2
- package/components/GridLayout/subcomponents/SizeProvider/{index.9c5e80b2.js → index.bfa05dfa.js} +3 -6
- package/components/GridLayout/types.d.ts +2 -2
- package/components/HelperText/{index.28e9105d.js → index.a47ff233.js} +7 -7
- package/components/Icon/{index.2414ff25.js → index.d1402200.js} +1 -1
- package/components/LanguagePopover/{index.065e0296.js → index.807f5272.js} +7 -7
- package/components/ModalDialog/{index.fb148f76.js → index.42e804cf.js} +4 -6
- package/components/NavLink/{index.2ef07c44.js → index.ff5a939c.js} +7 -7
- package/components/ObjectLogs/{index.5d74dfe0.js → index.dc02715d.js} +16 -16
- package/components/PaperForm/{index.f931dc02.js → index.249c2404.js} +1 -1
- package/components/Period/{index.0e6512b2.js → index.e129cdec.js} +13 -13
- package/components/PropertyValue/{index.a67c9916.js → index.93e40532.js} +1 -1
- package/components/SideBar/classes/index.d.ts +0 -1
- package/components/SideBar/classes/types.d.ts +0 -1
- package/components/SideBar/{index.72564ef2.js → index.327679a6.js} +22 -27
- package/components/areas/components/AreasAdmin/classes/types.d.ts +1 -0
- package/components/areas/components/AreasAdmin/index.8ab71eb9.js +718 -0
- package/components/areas/components/AreasAdmin/index.d.ts +2 -2
- package/components/areas/components/AreasAdmin/subcomponents/AreaChip/subcomponents/ChipActionsMobile/types.d.ts +2 -1
- package/components/areas/components/AreasAdmin/subcomponents/AreaChip/types.d.ts +2 -0
- package/components/areas/components/AreasAdmin/subcomponents/AreaChipMobile/subcomponents/ChipMobile/ChipMobile.d.ts +6 -0
- package/components/areas/components/AreasViewer/classes/index.d.ts +1 -1
- package/components/areas/components/AreasViewer/classes/types.d.ts +1 -0
- package/components/areas/components/AreasViewer/{index.9ed7dfd7.js → index.933e506b.js} +120 -41
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/AreaGridLayout/index.d.ts +2 -2
- package/components/areas/components/{index.654b08aa.js → index.9e48d8ff.js} +10 -10
- package/components/areas/contexts/AreasContext/helper.d.ts +7 -0
- package/components/areas/contexts/AreasContext/{index.36fe6953.js → index.230d1584.js} +17 -7
- package/components/areas/contexts/AreasContext/types.d.ts +8 -0
- package/components/areas/contexts/{index.68c53fc9.js → index.f494e241.js} +1 -1
- package/components/areas/hooks/useAreas/{index.a4c03e23.js → index.b8449343.js} +1 -1
- package/components/areas/index.32db4fa7.js +53 -0
- package/components/areas/utils/useOnClickOutside/index.d.ts +4 -0
- package/components/formatters/BooleanFormatter/{index.32de0803.js → index.b2f02bc4.js} +1 -1
- package/components/formatters/{index.d16d2331.js → index.f9ad88b4.js} +2 -2
- package/components/hook-form/RHFAutocomplete/{index.42df8eb4.js → index.d5afb409.js} +9 -8
- package/components/hook-form/RHFAutocompleteAsync/{index.0441524c.js → index.a4f00088.js} +1 -1
- package/components/hook-form/RHFCheckbox/{index.c66147f7.js → index.9bf6edb0.js} +8 -8
- package/components/hook-form/RHFDateTime/{index.4698ca29.js → index.a2c1ed2c.js} +8 -8
- package/components/hook-form/RHFPeriod/{index.f653934b.js → index.b5204ce2.js} +2 -2
- package/components/hook-form/RHFTextField/{index.1fa07688.js → index.5a0fa776.js} +3 -3
- package/components/hook-form/RHFUpload/{index.93c2dcb5.js → index.b36539d6.js} +8 -8
- package/components/modal/{WindowBase.92ce9b8f.js → WindowBase.37158e8d.js} +15 -11
- package/components/modal/{WindowConfirm.4c3d2cd7.js → WindowConfirm.a68aa0f1.js} +15 -15
- package/components/modal/{index.1bd35bd5.js → index.6f281ef8.js} +12 -12
- package/components/mui_extended/Accordion/{index.5111314b.js → index.46771196.js} +3 -3
- package/components/mui_extended/CheckBox/CheckBox.d.ts +1 -1
- package/components/mui_extended/{CheckBox.5f6c78b0.js → CheckBox.38abccd8.js} +5 -3
- package/components/mui_extended/IconButton/{index.a318316e.js → index.62aea582.js} +2 -12
- package/components/mui_extended/MenuActions/{index.f6bfdd40.js → index.2493b1b1.js} +21 -6
- package/components/mui_extended/MenuActions/types.d.ts +2 -0
- package/components/mui_extended/Pager/{index.da26e9d4.js → index.a7f87c96.js} +84 -82
- package/components/mui_extended/Pager/subcomponents/CustomTablePagination/index.d.ts +5 -0
- package/components/mui_extended/Pager/subcomponents/CustomTablePagination/types.d.ts +1 -4
- package/components/mui_extended/Tab/{index.0989d15d.js → index.756fe693.js} +1 -1
- package/components/mui_extended/{index.813723c5.js → index.ba27649e.js} +7 -7
- package/contexts/ModalContext/{index.577bf36b.js → index.51da83de.js} +1 -1
- package/hooks/useModal/{index.7a07c208.js → index.7611bf21.js} +1 -1
- package/index.js +64 -60
- package/package.json +1 -1
- package/{vendor.5365cc7e.js → vendor.1af105d6.js} +47 -47
- package/components/areas/components/AreasAdmin/index.7bfec13f.js +0 -487
- package/components/areas/index.ec4f088c.js +0 -32
- /package/components/areas/components/{AreasAdmin/subcomponents/AreaChipMobile → AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Header}/subcomponents/PanelWindowPopUp/index.d.ts +0 -0
- /package/components/areas/components/{AreasAdmin/subcomponents/AreaChipMobile → AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Header}/subcomponents/PanelWindowPopUp/types.d.ts +0 -0
|
@@ -1,47 +1,47 @@
|
|
|
1
|
-
import { M as MenuActions } from "../../../mui_extended/MenuActions/index.
|
|
2
|
-
import { u as useDataGrid, a as useFilters, d as dataGridClasses, b as dictionary } from "../../index.
|
|
1
|
+
import { M as MenuActions } from "../../../mui_extended/MenuActions/index.2493b1b1.js";
|
|
2
|
+
import { u as useDataGrid, a as useFilters, d as dataGridClasses, D as DataGridRoot, b as dictionary } from "../../index.1d0a3dec.js";
|
|
3
3
|
import { useTheme, Checkbox, Skeleton } from "@mui/material";
|
|
4
4
|
import { jsx, Fragment, jsxs } from "react/jsx-runtime";
|
|
5
|
-
import { P as Pager } from "../../../mui_extended/Pager/index.
|
|
6
|
-
import { I as IconButton } from "../../../mui_extended/IconButton/index.
|
|
5
|
+
import { P as Pager } from "../../../mui_extended/Pager/index.a7f87c96.js";
|
|
6
|
+
import { I as IconButton } from "../../../mui_extended/IconButton/index.62aea582.js";
|
|
7
7
|
import { useEnvironment, useModuleDictionary, useModuleSkeleton } from "@m4l/core";
|
|
8
8
|
import { forwardRef, useRef, useState, useImperativeHandle, useMemo, useEffect, useCallback } from "react";
|
|
9
9
|
import { D as DataGrid$1 } from "../../../../react-data-grid.d46d625e.js";
|
|
10
10
|
import { styled } from "@mui/material/styles";
|
|
11
|
-
import { u as useModal } from "../../../../hooks/useModal/index.
|
|
12
|
-
import { A as ActionCancel } from "../../../CommonActions/components/ActionCancel/index.
|
|
13
|
-
import { A as ActionIntro } from "../../../CommonActions/components/ActionIntro/index.
|
|
11
|
+
import { u as useModal } from "../../../../hooks/useModal/index.7611bf21.js";
|
|
12
|
+
import { A as ActionCancel } from "../../../CommonActions/components/ActionCancel/index.29517521.js";
|
|
13
|
+
import { A as ActionIntro } from "../../../CommonActions/components/ActionIntro/index.a9420126.js";
|
|
14
14
|
import "../../../../react-draggable.7abb5d0a.js";
|
|
15
15
|
import "../../../Resizeable/index.9a9c79a4.js";
|
|
16
16
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
17
|
-
import "../../../Icon/index.
|
|
17
|
+
import "../../../Icon/index.d1402200.js";
|
|
18
18
|
import "clsx";
|
|
19
|
-
import "../../../modal/index.
|
|
20
|
-
import { A as Actions$1 } from "../../../CommonActions/components/Actions/index.
|
|
19
|
+
import "../../../modal/index.6f281ef8.js";
|
|
20
|
+
import { A as Actions$1 } from "../../../CommonActions/components/Actions/index.e70e8779.js";
|
|
21
21
|
import "react-hook-form";
|
|
22
22
|
import "@mui/material/Button";
|
|
23
23
|
import "../../../mui_extended/Button/index.40af964e.js";
|
|
24
24
|
import "zustand";
|
|
25
|
-
import "../../../areas/contexts/AreasContext/index.
|
|
26
|
-
import "../../../areas/components/AreasAdmin/index.
|
|
25
|
+
import "../../../areas/contexts/AreasContext/index.230d1584.js";
|
|
26
|
+
import "../../../areas/components/AreasAdmin/index.8ab71eb9.js";
|
|
27
27
|
import "zustand/shallow";
|
|
28
28
|
import "../../../ScrollBar/index.d4410cb5.js";
|
|
29
|
-
import "../../../mui_extended/Accordion/index.
|
|
29
|
+
import "../../../mui_extended/Accordion/index.46771196.js";
|
|
30
30
|
import "../../../mui_extended/Typography/index.443590d6.js";
|
|
31
31
|
import "../../../mui_extended/Avatar/index.75e6ed57.js";
|
|
32
32
|
import "react-router-dom";
|
|
33
|
-
import "../../../mui_extended/CheckBox.
|
|
33
|
+
import "../../../mui_extended/CheckBox.38abccd8.js";
|
|
34
34
|
import "../../../mui_extended/Badge/index.cad260fe.js";
|
|
35
35
|
import "../../../Image/index.c18ebf5a.js";
|
|
36
36
|
import "@mui/lab";
|
|
37
37
|
import "../../../mui_extended/Popover/index.9f35d0eb.js";
|
|
38
|
-
import "../../../mui_extended/Tab/index.
|
|
38
|
+
import "../../../mui_extended/Tab/index.756fe693.js";
|
|
39
39
|
import "../../../mui_extended/Tooltip/index.5a795dcd.js";
|
|
40
|
-
import "../../../areas/components/AreasViewer/index.
|
|
40
|
+
import "../../../areas/components/AreasViewer/index.933e506b.js";
|
|
41
41
|
import "../../../LinearProgressIndeterminate/index.60dabc06.js";
|
|
42
42
|
import "../../../areas/contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
43
43
|
import "../../../areas/contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
44
|
-
import { W as WindowBase } from "../../../modal/WindowBase.
|
|
44
|
+
import { W as WindowBase } from "../../../modal/WindowBase.37158e8d.js";
|
|
45
45
|
const ACTIONS_COLUMN_KEY = "actions-row";
|
|
46
46
|
function ActionsFormatter(props) {
|
|
47
47
|
const {
|
|
@@ -376,41 +376,42 @@ const ColumnsConfig = forwardRef((props, ref) => {
|
|
|
376
376
|
}), /* @__PURE__ */ jsxs(ColumnActions, {
|
|
377
377
|
className: classes.columnsConfigActions,
|
|
378
378
|
children: [/* @__PURE__ */ jsx(IconButton, {
|
|
379
|
-
|
|
379
|
+
tooltip: getLabel("data_grid.settings_move_first"),
|
|
380
380
|
onClick: handleMoveFirst,
|
|
381
381
|
"aria-label": "move first place",
|
|
382
382
|
disabled: rowSelectedIndex < 1,
|
|
383
383
|
src: `${host_static_assets}/${environment_assets}/frontend/components/data_grid/assets/icons/move_first_place.svg`
|
|
384
384
|
}), /* @__PURE__ */ jsx(IconButton, {
|
|
385
|
+
tooltip: getLabel("data_grid.settings_move_up"),
|
|
385
386
|
dictionaryTooltipId: "data_grid.settings_move_up",
|
|
386
387
|
onClick: () => handleMoveUpDownd(-1),
|
|
387
388
|
"aria-label": "move up place",
|
|
388
389
|
disabled: rowSelectedIndex < 1,
|
|
389
390
|
src: `${host_static_assets}/${environment_assets}/frontend/components/data_grid/assets/icons/move_up_place.svg`
|
|
390
391
|
}), /* @__PURE__ */ jsx(IconButton, {
|
|
391
|
-
|
|
392
|
+
tooltip: getLabel("data_grid.settings_move_last"),
|
|
392
393
|
onClick: handleMoveLast,
|
|
393
394
|
"aria-label": "move last place",
|
|
394
395
|
disabled: !!(rowSelectedIndex === rows.length - 1 || rowSelectedIndex === -1),
|
|
395
396
|
src: `${host_static_assets}/${environment_assets}/frontend/components/data_grid/assets/icons/move_last_place.svg`
|
|
396
397
|
}), /* @__PURE__ */ jsx(IconButton, {
|
|
397
|
-
|
|
398
|
+
tooltip: getLabel("data_grid.settings_move_down"),
|
|
398
399
|
onClick: () => handleMoveUpDownd(1),
|
|
399
400
|
"aria-label": "move down place",
|
|
400
401
|
disabled: !!(rowSelectedIndex === rows.length - 1 || rowSelectedIndex === -1),
|
|
401
402
|
src: `${host_static_assets}/${environment_assets}/frontend/components/data_grid/assets/icons/move_down_place.svg`
|
|
402
403
|
}), /* @__PURE__ */ jsx(IconButton, {
|
|
403
|
-
|
|
404
|
+
tooltip: getLabel("data_grid.settings_visible_all"),
|
|
404
405
|
onClick: checkAll,
|
|
405
406
|
"aria-label": "check visible all",
|
|
406
407
|
src: `${host_static_assets}/${environment_assets}/frontend/components/data_grid/assets/icons/check_all.svg`
|
|
407
408
|
}), /* @__PURE__ */ jsx(IconButton, {
|
|
408
|
-
|
|
409
|
+
tooltip: getLabel("data_grid.settings_no_visible_all"),
|
|
409
410
|
onClick: unCheckAll,
|
|
410
411
|
"aria-label": "un check all",
|
|
411
412
|
src: `${host_static_assets}/${environment_assets}/frontend/components/data_grid/assets/icons/uncheck_all.svg`
|
|
412
413
|
}), /* @__PURE__ */ jsx(IconButton, {
|
|
413
|
-
|
|
414
|
+
tooltip: getLabel("data_grid.settings_restore"),
|
|
414
415
|
onClick: restoreAll,
|
|
415
416
|
"aria-label": "Restore columns",
|
|
416
417
|
src: `${host_static_assets}/${environment_assets}/frontend/components/data_grid/assets/icons/restore_columns.svg`
|
|
@@ -435,6 +436,7 @@ function Settings() {
|
|
|
435
436
|
host_static_assets,
|
|
436
437
|
environment_assets
|
|
437
438
|
} = useEnvironment();
|
|
439
|
+
const isDesktop = useResponsiveDesktop();
|
|
438
440
|
const {
|
|
439
441
|
classes
|
|
440
442
|
} = useDataGrid();
|
|
@@ -451,14 +453,27 @@ function Settings() {
|
|
|
451
453
|
openModal({
|
|
452
454
|
initialWidth: 500,
|
|
453
455
|
initialHeigth: 680,
|
|
456
|
+
fullScreen: !isDesktop ? true : false,
|
|
454
457
|
window: /* @__PURE__ */ jsxs(WindowBase, {
|
|
455
458
|
title: getLabel("data_grid.settings_title"),
|
|
456
|
-
children: [/* @__PURE__ */ jsx(
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
459
|
+
children: [/* @__PURE__ */ jsx(DataGridRoot, {
|
|
460
|
+
className: classes.root,
|
|
461
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
462
|
+
className: classes.tableContaniner,
|
|
463
|
+
style: {
|
|
464
|
+
inset: "0"
|
|
465
|
+
},
|
|
466
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
467
|
+
className: classes.wrapperDataGridCss,
|
|
468
|
+
children: /* @__PURE__ */ jsx(ColumnsConfig, {
|
|
469
|
+
ref,
|
|
470
|
+
columnsConfig,
|
|
471
|
+
onChangeColumnsConfig,
|
|
472
|
+
onCloseSettings,
|
|
473
|
+
classes
|
|
474
|
+
})
|
|
475
|
+
})
|
|
476
|
+
})
|
|
462
477
|
}), /* @__PURE__ */ jsxs(Actions$1, {
|
|
463
478
|
children: [/* @__PURE__ */ jsx(ActionCancel, {
|
|
464
479
|
onClick: closeModal
|
|
@@ -4,41 +4,41 @@ import { useContext, useMemo, useEffect, createContext, useRef, createElement, u
|
|
|
4
4
|
import clsx from "clsx";
|
|
5
5
|
import { useModuleDictionary, useEnvironment, useModuleSkeleton, useFlagsPresent, CommonFlags } from "@m4l/core";
|
|
6
6
|
import { useResponsiveDesktop, useFirstRender, useFormatter } from "@m4l/graphics";
|
|
7
|
-
import { I as IconButton } from "../mui_extended/IconButton/index.
|
|
7
|
+
import { I as IconButton } from "../mui_extended/IconButton/index.62aea582.js";
|
|
8
8
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
9
|
-
import { g as getNameDataTestId } from "../../vendor.
|
|
9
|
+
import { g as getNameDataTestId } from "../../vendor.1af105d6.js";
|
|
10
10
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
11
11
|
import { generateUtilityClasses, alpha, styled as styled$1, Skeleton, MenuItem } from "@mui/material";
|
|
12
|
-
import { L as LabelMemuItem } from "../mui_extended/MenuActions/index.
|
|
12
|
+
import { L as LabelMemuItem } from "../mui_extended/MenuActions/index.2493b1b1.js";
|
|
13
13
|
import { P as Popover } from "../mui_extended/Popover/index.9f35d0eb.js";
|
|
14
|
-
import { I as Icon } from "../Icon/index.
|
|
14
|
+
import { I as Icon } from "../Icon/index.d1402200.js";
|
|
15
15
|
import { styled, useTheme } from "@mui/material/styles";
|
|
16
16
|
import { R as RHFormProvider } from "../../contexts/RHFormContext/index.b9266262.js";
|
|
17
|
-
import { g as getCommonActionsDictionary, A as Actions } from "../CommonActions/components/Actions/index.
|
|
18
|
-
import { A as ActionCancel } from "../CommonActions/components/ActionCancel/index.
|
|
19
|
-
import { A as ActionIntro } from "../CommonActions/components/ActionIntro/index.
|
|
17
|
+
import { g as getCommonActionsDictionary, A as Actions } from "../CommonActions/components/Actions/index.e70e8779.js";
|
|
18
|
+
import { A as ActionCancel } from "../CommonActions/components/ActionCancel/index.29517521.js";
|
|
19
|
+
import { A as ActionIntro } from "../CommonActions/components/ActionIntro/index.a9420126.js";
|
|
20
20
|
import { useFormContext, useWatch } from "react-hook-form";
|
|
21
21
|
import "@mui/material/Button";
|
|
22
22
|
import "../mui_extended/Button/index.40af964e.js";
|
|
23
|
-
import "../../contexts/ModalContext/index.
|
|
23
|
+
import "../../contexts/ModalContext/index.51da83de.js";
|
|
24
24
|
import "../../react-draggable.7abb5d0a.js";
|
|
25
25
|
import "../Resizeable/index.9a9c79a4.js";
|
|
26
|
-
import "../modal/index.
|
|
26
|
+
import "../modal/index.6f281ef8.js";
|
|
27
27
|
import "../Image/index.c18ebf5a.js";
|
|
28
|
-
import "../mui_extended/Accordion/index.
|
|
28
|
+
import "../mui_extended/Accordion/index.46771196.js";
|
|
29
29
|
import { T as Typography } from "../mui_extended/Typography/index.443590d6.js";
|
|
30
30
|
import "../mui_extended/Avatar/index.75e6ed57.js";
|
|
31
31
|
import "react-router-dom";
|
|
32
|
-
import "../mui_extended/CheckBox.
|
|
32
|
+
import "../mui_extended/CheckBox.38abccd8.js";
|
|
33
33
|
import "../mui_extended/Badge/index.cad260fe.js";
|
|
34
34
|
import "@mui/lab";
|
|
35
|
-
import "../mui_extended/Pager/index.
|
|
36
|
-
import "../mui_extended/Tab/index.
|
|
35
|
+
import "../mui_extended/Pager/index.a7f87c96.js";
|
|
36
|
+
import "../mui_extended/Tab/index.756fe693.js";
|
|
37
37
|
import "../mui_extended/Tooltip/index.5a795dcd.js";
|
|
38
38
|
import { useStore, createStore } from "zustand";
|
|
39
|
-
import "../areas/contexts/AreasContext/index.
|
|
40
|
-
import "../areas/components/AreasAdmin/index.
|
|
41
|
-
import "../areas/components/AreasViewer/index.
|
|
39
|
+
import "../areas/contexts/AreasContext/index.230d1584.js";
|
|
40
|
+
import "../areas/components/AreasAdmin/index.8ab71eb9.js";
|
|
41
|
+
import "../areas/components/AreasViewer/index.933e506b.js";
|
|
42
42
|
import "../LinearProgressIndeterminate/index.60dabc06.js";
|
|
43
43
|
import "../areas/contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
44
44
|
import "../areas/contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
@@ -46,19 +46,19 @@ import { unstable_composeClasses } from "@mui/base";
|
|
|
46
46
|
import { g as getComponentUtilityClass, i as isValidDate } from "../../utils/index.c43a95f4.js";
|
|
47
47
|
import { devtools } from "zustand/middleware";
|
|
48
48
|
import { immer } from "zustand/middleware/immer";
|
|
49
|
-
import { R as RHFAutocomplete } from "../hook-form/RHFAutocomplete/index.
|
|
49
|
+
import { R as RHFAutocomplete } from "../hook-form/RHFAutocomplete/index.d5afb409.js";
|
|
50
50
|
import "lodash/debounce";
|
|
51
|
-
import "../hook-form/RHFAutocompleteAsync/index.
|
|
52
|
-
import "../hook-form/RHFCheckbox/index.
|
|
53
|
-
import "../HelperText/index.
|
|
51
|
+
import "../hook-form/RHFAutocompleteAsync/index.a4f00088.js";
|
|
52
|
+
import "../hook-form/RHFCheckbox/index.9bf6edb0.js";
|
|
53
|
+
import "../HelperText/index.a47ff233.js";
|
|
54
54
|
import "@mui/x-date-pickers";
|
|
55
|
-
import { R as RHFDateTime } from "../hook-form/RHFDateTime/index.
|
|
56
|
-
import { R as RHFTextField } from "../hook-form/RHFTextField/index.
|
|
57
|
-
import "../hook-form/RHFPeriod/index.
|
|
58
|
-
import "../Period/index.
|
|
55
|
+
import { R as RHFDateTime } from "../hook-form/RHFDateTime/index.a2c1ed2c.js";
|
|
56
|
+
import { R as RHFTextField } from "../hook-form/RHFTextField/index.5a0fa776.js";
|
|
57
|
+
import "../hook-form/RHFPeriod/index.b5204ce2.js";
|
|
58
|
+
import "../Period/index.e129cdec.js";
|
|
59
59
|
import "lodash/isString";
|
|
60
60
|
import "react-dropzone";
|
|
61
|
-
import "../hook-form/RHFUpload/index.
|
|
61
|
+
import "../hook-form/RHFUpload/index.b36539d6.js";
|
|
62
62
|
import * as Yup from "yup";
|
|
63
63
|
const COMPONENT_PREFIX = "M4LDynamicFilter";
|
|
64
64
|
const COMPONENT_CLASS_NAME = "M4LDynamicFilter";
|
|
@@ -23,4 +23,4 @@ export declare const DEFAULT_CONTAINER_PADDING: Margin;
|
|
|
23
23
|
export declare const DEFAULT_MARGIN: Margin;
|
|
24
24
|
export declare const DEFAULT_TRANSFORM_SCALE = 1;
|
|
25
25
|
export declare const DEFAULT_COLAPSED_HEIGHT = 35;
|
|
26
|
-
export declare const
|
|
26
|
+
export declare const THROTTLE_RESIZE_TIMEOUT = 200;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { useState, useRef, useEffect, useCallback } from "react";
|
|
2
2
|
import clsx from "clsx";
|
|
3
|
-
import { M as MemonizedGridItem } from "./subcomponents/Griditem/index.
|
|
3
|
+
import { M as MemonizedGridItem } from "./subcomponents/Griditem/index.6c68811f.js";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
-
import { styled } from "@mui/material/styles";
|
|
5
|
+
import { styled, alpha } from "@mui/material/styles";
|
|
6
6
|
import { r as react_resizable_css } from "../../react-resizable.ba08699a.js";
|
|
7
7
|
import { generateUtilityClasses } from "@mui/material";
|
|
8
8
|
import "@mui/base";
|
|
@@ -19,7 +19,7 @@ const DEFAULT_CONTAINER_PADDING = [10, 10];
|
|
|
19
19
|
const DEFAULT_MARGIN = [10, 10];
|
|
20
20
|
const DEFAULT_TRANSFORM_SCALE = 1;
|
|
21
21
|
const DEFAULT_COLAPSED_HEIGHT = 35;
|
|
22
|
-
const
|
|
22
|
+
const THROTTLE_RESIZE_TIMEOUT = 200;
|
|
23
23
|
const noop = () => {
|
|
24
24
|
};
|
|
25
25
|
function bottom(layout, colapsedHeight, rowHeight) {
|
|
@@ -512,12 +512,9 @@ const gridLayoutClasses = generateUtilityClasses(COMPONENT_CLASS_NAME, [
|
|
|
512
512
|
"static"
|
|
513
513
|
]);
|
|
514
514
|
const GridLayoutRoot = styled("div")`
|
|
515
|
-
/* height: 100%; */
|
|
516
515
|
overflow: auto;
|
|
517
|
-
/* flex-grow: 1; */
|
|
518
516
|
position: relative;
|
|
519
517
|
transition: height 200ms ease;
|
|
520
|
-
/* border: 1px dashed gray; //TODO:Para borrar */
|
|
521
518
|
|
|
522
519
|
.${gridLayoutClasses.gridItemRoot} {
|
|
523
520
|
transition: all 200ms ease;
|
|
@@ -567,11 +564,21 @@ const GridLayoutRoot = styled("div")`
|
|
|
567
564
|
|
|
568
565
|
.${gridLayoutClasses.gridItemRoot} > .react-resizable-handle {
|
|
569
566
|
position: absolute;
|
|
570
|
-
width:
|
|
571
|
-
height:
|
|
567
|
+
width: 10px;
|
|
568
|
+
height: 10px;
|
|
569
|
+
padding: 12px;
|
|
570
|
+
background-image: unset;
|
|
571
|
+
|
|
572
|
+
& .M4LIcon-icon {
|
|
573
|
+
width: 10px;
|
|
574
|
+
height: 10px;
|
|
575
|
+
min-width: 10px;
|
|
576
|
+
min-height: 10px;
|
|
577
|
+
background-color: ${(props) => alpha(props.theme.palette.text.primary, 0.3)};
|
|
578
|
+
}
|
|
572
579
|
}
|
|
573
580
|
|
|
574
|
-
.${gridLayoutClasses.gridItemRoot} > .react-resizable-handle::after {
|
|
581
|
+
/* .${gridLayoutClasses.gridItemRoot} > .react-resizable-handle::after {
|
|
575
582
|
content: '';
|
|
576
583
|
position: absolute;
|
|
577
584
|
right: 3px;
|
|
@@ -580,7 +587,7 @@ const GridLayoutRoot = styled("div")`
|
|
|
580
587
|
height: 5px;
|
|
581
588
|
border-right: 2px solid rgba(0, 0, 0, 0.4);
|
|
582
589
|
border-bottom: 2px solid rgba(0, 0, 0, 0.4);
|
|
583
|
-
}
|
|
590
|
+
} */
|
|
584
591
|
|
|
585
592
|
.react-resizable-hide > .react-resizable-handle {
|
|
586
593
|
display: none;
|
|
@@ -819,7 +826,6 @@ function GridLayout(props) {
|
|
|
819
826
|
node
|
|
820
827
|
}) => {
|
|
821
828
|
if (!refState.current.activeDrag) {
|
|
822
|
-
console.log("GridLayout localOnDragStop sin movimiento");
|
|
823
829
|
return;
|
|
824
830
|
}
|
|
825
831
|
const {
|
|
@@ -852,7 +858,6 @@ function GridLayout(props) {
|
|
|
852
858
|
oldLayout: void 0,
|
|
853
859
|
activeDrag: void 0
|
|
854
860
|
};
|
|
855
|
-
console.log("localOnDragStop", finalLayout);
|
|
856
861
|
if (e.type !== "touchmove") {
|
|
857
862
|
e.preventDefault();
|
|
858
863
|
}
|
|
@@ -962,7 +967,6 @@ function GridLayout(props) {
|
|
|
962
967
|
node
|
|
963
968
|
}) => {
|
|
964
969
|
if (!refState.current.activeDrag) {
|
|
965
|
-
console.log("GridLayout localOnResizeStop sin cambio");
|
|
966
970
|
return;
|
|
967
971
|
}
|
|
968
972
|
const {
|
|
@@ -986,13 +990,12 @@ function GridLayout(props) {
|
|
|
986
990
|
onResizeStop(layout2, oldResizeItem, l, void 0, e, node);
|
|
987
991
|
}
|
|
988
992
|
}, []);
|
|
989
|
-
const onClickSetOnTopFreeMove = useCallback((i,
|
|
993
|
+
const onClickSetOnTopFreeMove = useCallback((i, _source) => {
|
|
990
994
|
const {
|
|
991
995
|
layout: layout2
|
|
992
996
|
} = refState.current;
|
|
993
997
|
const index = refState.current.zIndexes.indexOf(i);
|
|
994
998
|
const l = getLayoutItem(layout2, i);
|
|
995
|
-
console.log("onClickSetOnTopFreeMove", index, refState.current.zIndexes.length, source);
|
|
996
999
|
if (l && l?.freeMove) {
|
|
997
1000
|
if (index !== refState.current.zIndexes.length - 1 || index === -1) {
|
|
998
1001
|
const newIndexes = [...refState.current.zIndexes];
|
|
@@ -1125,9 +1128,10 @@ function GridLayout(props) {
|
|
|
1125
1128
|
}
|
|
1126
1129
|
export {
|
|
1127
1130
|
noop as A,
|
|
1131
|
+
COMPONENT_CLASS_NAME as C,
|
|
1128
1132
|
DEFAULT_COLS as D,
|
|
1129
1133
|
GridLayout as G,
|
|
1130
|
-
|
|
1134
|
+
THROTTLE_RESIZE_TIMEOUT as T,
|
|
1131
1135
|
calcGridItemWHPx as a,
|
|
1132
1136
|
calcGridColWidth as b,
|
|
1133
1137
|
calcXY as c,
|
package/components/GridLayout/subcomponents/Griditem/{index.c09681ff.js → index.6c68811f.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React__default, { useRef, useEffect, useState, useCallback, useMemo } from "react";
|
|
2
2
|
import { D as DraggableCore_1 } from "../../../../react-draggable.7abb5d0a.js";
|
|
3
3
|
import { R as Resizable } from "../../../../react-resizable.ba08699a.js";
|
|
4
|
-
import { g as getH, c as calcXY, a as calcGridItemWHPx, b as calcGridColWidth, d as calcWH, e as clamp, f as calcGridItemPosition, h as gridLayoutClasses, D as DEFAULT_COLS, i as DEFAULT_ROW_HEIGHT, j as DEFAULT_CONTAINER_WIDTH, k as DEFAULT_CONTAINER_HEIGHT, l as DEFAULT_MARGIN, m as DEFAULT_CONTAINER_PADDING, n as DEFAULT_TRANSFORM_SCALE, o as DEFAULT_COLAPSED_HEIGHT, p as perc, s as setTransform, q as setTopLeft } from "../../index.
|
|
4
|
+
import { g as getH, c as calcXY, a as calcGridItemWHPx, b as calcGridColWidth, d as calcWH, e as clamp, f as calcGridItemPosition, h as gridLayoutClasses, D as DEFAULT_COLS, i as DEFAULT_ROW_HEIGHT, j as DEFAULT_CONTAINER_WIDTH, k as DEFAULT_CONTAINER_HEIGHT, l as DEFAULT_MARGIN, m as DEFAULT_CONTAINER_PADDING, n as DEFAULT_TRANSFORM_SCALE, o as DEFAULT_COLAPSED_HEIGHT, p as perc, s as setTransform, q as setTopLeft } from "../../index.c55f16eb.js";
|
|
5
5
|
import clsx from "clsx";
|
|
6
6
|
import { d as deepEqual } from "../../../../node_modules.d73a220d.js";
|
|
7
7
|
import { jsx, Fragment } from "react/jsx-runtime";
|
|
@@ -140,7 +140,6 @@ function GridItem(props) {
|
|
|
140
140
|
const pTop = parentRect.top / transformScale;
|
|
141
141
|
newPosition.left = cLeft - pLeft + offsetParent.scrollLeft;
|
|
142
142
|
newPosition.top = cTop - pTop + offsetParent.scrollTop;
|
|
143
|
-
console.log(`gridItemOnDragStart cleft:${cLeft},pleft:${pLeft}, offsetParent.scrollTop:${offsetParent.scrollTop} `, newPosition);
|
|
144
143
|
refState.current.dragging = newPosition;
|
|
145
144
|
setCurrentState((prev) => ({
|
|
146
145
|
...prev,
|
|
@@ -164,7 +163,6 @@ function GridItem(props) {
|
|
|
164
163
|
if (!onDrag)
|
|
165
164
|
return;
|
|
166
165
|
if (!refState.current.dragging) {
|
|
167
|
-
console.warn("gridItemOnDrag onDrag called before onDragStart");
|
|
168
166
|
return;
|
|
169
167
|
}
|
|
170
168
|
let top = refState.current.dragging.top + deltaY;
|
|
@@ -207,7 +205,6 @@ function GridItem(props) {
|
|
|
207
205
|
if (!onDragStop)
|
|
208
206
|
return;
|
|
209
207
|
if (!refState.current.dragging) {
|
|
210
|
-
console.warn("onDragEnd called before onDragStart");
|
|
211
208
|
return;
|
|
212
209
|
}
|
|
213
210
|
const {
|
|
@@ -239,11 +236,9 @@ function GridItem(props) {
|
|
|
239
236
|
}, handlerName) => {
|
|
240
237
|
const handler = props[handlerName];
|
|
241
238
|
if (!handler) {
|
|
242
|
-
console.warn("onResizeHandler invalid");
|
|
243
239
|
return;
|
|
244
240
|
}
|
|
245
241
|
if (refProps.current.colapsed) {
|
|
246
|
-
console.warn("onResizeHandler colapsed invalid");
|
|
247
242
|
return;
|
|
248
243
|
}
|
|
249
244
|
let {
|
package/components/GridLayout/subcomponents/Responsive/{index.eb04fd5e.js → index.a6e33b8d.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as cloneLayoutItem, t as cloneLayout, u as compact, v as correctBounds, w as isEqualLayout, x as DEFAULT_RESPONSIVE_BREAKPOINTS, m as DEFAULT_CONTAINER_PADDING, l as DEFAULT_MARGIN, y as DEFAULT_RESPONSIVE_COLS, o as DEFAULT_COLAPSED_HEIGHT, i as DEFAULT_ROW_HEIGHT, z as isEqualLayouts, G as GridLayout, A as noop } from "../../index.
|
|
1
|
+
import { r as cloneLayoutItem, t as cloneLayout, u as compact, v as correctBounds, w as isEqualLayout, x as DEFAULT_RESPONSIVE_BREAKPOINTS, m as DEFAULT_CONTAINER_PADDING, l as DEFAULT_MARGIN, y as DEFAULT_RESPONSIVE_COLS, o as DEFAULT_COLAPSED_HEIGHT, i as DEFAULT_ROW_HEIGHT, z as isEqualLayouts, G as GridLayout, A as noop } from "../../index.c55f16eb.js";
|
|
2
2
|
import { useState, useRef, useEffect, useCallback } from "react";
|
|
3
3
|
import { useFirstRender } from "@m4l/graphics";
|
|
4
4
|
import { d as deepEqual } from "../../../../node_modules.d73a220d.js";
|
|
@@ -248,7 +248,6 @@ function Responsive(props) {
|
|
|
248
248
|
let newContainerMargin = currentState.contaierMargin;
|
|
249
249
|
let newContainerPadding = currentState.contaierPadding;
|
|
250
250
|
if (newBreakpoint !== lastBreakpoint || newCols !== lastBreakpointCols || !deepEqual(cols, refState.current.cols) || !deepEqual(breakpoints, refState.current.breakpoints) || !isEqualLayouts(layouts, refState.current.layouts)) {
|
|
251
|
-
console.debug("useEffect responsive con cambio de algo", newBreakpoint, lastBreakpoint);
|
|
252
251
|
newContainerMargin = getIndentationValue(containerMargin, newBreakpoint);
|
|
253
252
|
newContainerPadding = getIndentationValue(containerPadding, newBreakpoint);
|
|
254
253
|
if (!(lastBreakpoint in newLayouts)) {
|
package/components/GridLayout/subcomponents/SizeProvider/{index.9c5e80b2.js → index.bfa05dfa.js}
RENAMED
|
@@ -2,9 +2,8 @@ import { useRef, useState, useMemo, useCallback, useEffect } from "react";
|
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import { throttle } from "lodash";
|
|
4
4
|
import { useResizeObserver } from "@m4l/graphics";
|
|
5
|
-
import { j as DEFAULT_CONTAINER_WIDTH, k as DEFAULT_CONTAINER_HEIGHT, T as
|
|
5
|
+
import { j as DEFAULT_CONTAINER_WIDTH, k as DEFAULT_CONTAINER_HEIGHT, T as THROTTLE_RESIZE_TIMEOUT, C as COMPONENT_CLASS_NAME } from "../../index.c55f16eb.js";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
|
-
const layoutClassName = "M4LGridLayout";
|
|
8
7
|
function SizeProvider(ComposedComponent) {
|
|
9
8
|
return (props) => {
|
|
10
9
|
const {
|
|
@@ -27,7 +26,7 @@ function SizeProvider(ComposedComponent) {
|
|
|
27
26
|
}));
|
|
28
27
|
}
|
|
29
28
|
}, []);
|
|
30
|
-
const throttleResize = throttle(onWindowResizeMemo,
|
|
29
|
+
const throttleResize = throttle(onWindowResizeMemo, THROTTLE_RESIZE_TIMEOUT, {
|
|
31
30
|
leading: false,
|
|
32
31
|
trailing: true
|
|
33
32
|
});
|
|
@@ -42,12 +41,10 @@ function SizeProvider(ComposedComponent) {
|
|
|
42
41
|
}));
|
|
43
42
|
refMounted.current = true;
|
|
44
43
|
onWindowResizeMemo();
|
|
45
|
-
return () => {
|
|
46
|
-
};
|
|
47
44
|
}, []);
|
|
48
45
|
if (measureBeforeMount && !currentState.mounted) {
|
|
49
46
|
return /* @__PURE__ */ jsx("div", {
|
|
50
|
-
className: clsx(props.className,
|
|
47
|
+
className: clsx(props.className, COMPONENT_CLASS_NAME),
|
|
51
48
|
style: props.style,
|
|
52
49
|
ref: elementRef
|
|
53
50
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SyntheticEvent } from 'react';
|
|
1
|
+
import React, { SyntheticEvent } from 'react';
|
|
2
2
|
import { DraggableEvent } from 'react-draggable';
|
|
3
3
|
export declare type Position = {
|
|
4
4
|
left: number;
|
|
@@ -334,7 +334,7 @@ export interface CoreProps {
|
|
|
334
334
|
/**
|
|
335
335
|
* Defines custom component for resize handle
|
|
336
336
|
*/
|
|
337
|
-
resizeHandle?: React.ReactNode
|
|
337
|
+
resizeHandle?: React.ReactNode;
|
|
338
338
|
/**
|
|
339
339
|
* Calls when drag starts.
|
|
340
340
|
*/
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { styled, generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
2
2
|
import "react";
|
|
3
3
|
import "@m4l/core";
|
|
4
|
-
import "../Icon/index.
|
|
4
|
+
import "../Icon/index.d1402200.js";
|
|
5
5
|
import "clsx";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
|
-
import "../mui_extended/IconButton/index.
|
|
7
|
+
import "../mui_extended/IconButton/index.62aea582.js";
|
|
8
8
|
import "@m4l/graphics";
|
|
9
|
-
import "../mui_extended/Accordion/index.
|
|
9
|
+
import "../mui_extended/Accordion/index.46771196.js";
|
|
10
10
|
import { T as Typography } from "../mui_extended/Typography/index.443590d6.js";
|
|
11
11
|
import "../mui_extended/Avatar/index.75e6ed57.js";
|
|
12
12
|
import "react-router-dom";
|
|
13
13
|
import "@mui/material/Button";
|
|
14
14
|
import "../mui_extended/Button/index.40af964e.js";
|
|
15
|
-
import "../mui_extended/CheckBox.
|
|
15
|
+
import "../mui_extended/CheckBox.38abccd8.js";
|
|
16
16
|
import "../mui_extended/Badge/index.cad260fe.js";
|
|
17
17
|
import "../Image/index.c18ebf5a.js";
|
|
18
18
|
import "@mui/lab";
|
|
19
|
-
import "../mui_extended/MenuActions/index.
|
|
19
|
+
import "../mui_extended/MenuActions/index.2493b1b1.js";
|
|
20
20
|
import "../mui_extended/Popover/index.9f35d0eb.js";
|
|
21
|
-
import "../mui_extended/Pager/index.
|
|
22
|
-
import "../mui_extended/Tab/index.
|
|
21
|
+
import "../mui_extended/Pager/index.a7f87c96.js";
|
|
22
|
+
import "../mui_extended/Tab/index.756fe693.js";
|
|
23
23
|
import "../mui_extended/Tooltip/index.5a795dcd.js";
|
|
24
24
|
import { unstable_composeClasses } from "@mui/base";
|
|
25
25
|
const HelperTextRoot = styled("div")(({
|
|
@@ -3,7 +3,7 @@ import { styled, generateUtilityClasses, generateUtilityClass, Skeleton } from "
|
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
import { useEnvironment } from "@m4l/core";
|
|
6
|
-
import { u as useSideBar, g as getNameDataTestId$1 } from "../SideBar/index.
|
|
6
|
+
import { u as useSideBar, g as getNameDataTestId$1 } from "../SideBar/index.327679a6.js";
|
|
7
7
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
8
8
|
import { unstable_composeClasses } from "@mui/base";
|
|
9
9
|
const IconRoot = styled("div")(({
|
|
@@ -3,25 +3,25 @@ import { styled, generateUtilityClasses, generateUtilityClass, Stack, MenuItem }
|
|
|
3
3
|
import { I as Image } from "../Image/index.c18ebf5a.js";
|
|
4
4
|
import { useLocales } from "@m4l/graphics";
|
|
5
5
|
import { useEnvironment, useNetwork } from "@m4l/core";
|
|
6
|
-
import "../Icon/index.
|
|
6
|
+
import "../Icon/index.d1402200.js";
|
|
7
7
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
8
8
|
import "clsx";
|
|
9
9
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
10
|
-
import "../mui_extended/IconButton/index.
|
|
11
|
-
import "../mui_extended/Accordion/index.
|
|
10
|
+
import "../mui_extended/IconButton/index.62aea582.js";
|
|
11
|
+
import "../mui_extended/Accordion/index.46771196.js";
|
|
12
12
|
import "../mui_extended/Typography/index.443590d6.js";
|
|
13
13
|
import "../mui_extended/Avatar/index.75e6ed57.js";
|
|
14
14
|
import "react-router-dom";
|
|
15
15
|
import "@mui/material/Button";
|
|
16
16
|
import { I as ImageButton } from "../mui_extended/Button/index.40af964e.js";
|
|
17
|
-
import "../mui_extended/CheckBox.
|
|
17
|
+
import "../mui_extended/CheckBox.38abccd8.js";
|
|
18
18
|
import { C as CircularProgress } from "../mui_extended/CircularProgress/index.ad569afd.js";
|
|
19
19
|
import "../mui_extended/Badge/index.cad260fe.js";
|
|
20
20
|
import "@mui/lab";
|
|
21
|
-
import "../mui_extended/MenuActions/index.
|
|
21
|
+
import "../mui_extended/MenuActions/index.2493b1b1.js";
|
|
22
22
|
import { P as Popover } from "../mui_extended/Popover/index.9f35d0eb.js";
|
|
23
|
-
import "../mui_extended/Pager/index.
|
|
24
|
-
import "../mui_extended/Tab/index.
|
|
23
|
+
import "../mui_extended/Pager/index.a7f87c96.js";
|
|
24
|
+
import "../mui_extended/Tab/index.756fe693.js";
|
|
25
25
|
import "../mui_extended/Tooltip/index.5a795dcd.js";
|
|
26
26
|
import { unstable_composeClasses } from "@mui/base";
|
|
27
27
|
const LanguagePopoverRoot = styled("div")(({
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { useTheme, Dialog, Paper } from "@mui/material";
|
|
2
2
|
import { c as cjs } from "../../react-draggable.7abb5d0a.js";
|
|
3
|
-
import { u as useModal } from "../../hooks/useModal/index.
|
|
3
|
+
import { u as useModal } from "../../hooks/useModal/index.7611bf21.js";
|
|
4
4
|
import { R as ResizeableWindow } from "../Resizeable/index.9a9c79a4.js";
|
|
5
5
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
6
|
-
import { I as Icon } from "../Icon/index.
|
|
6
|
+
import { I as Icon } from "../Icon/index.d1402200.js";
|
|
7
7
|
import { useEnvironment } from "@m4l/core";
|
|
8
8
|
import { I as ICONS } from "../areas/icons.8266ccc8.js";
|
|
9
|
-
import { m as modalUtilityClasses } from "../modal/index.
|
|
9
|
+
import { m as modalUtilityClasses } from "../modal/index.6f281ef8.js";
|
|
10
10
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
|
-
import { g as getCommonActionsDictionary } from "../CommonActions/components/Actions/index.
|
|
11
|
+
import { g as getCommonActionsDictionary } from "../CommonActions/components/Actions/index.e70e8779.js";
|
|
12
12
|
const DragabblePaperComponent = (props) => {
|
|
13
13
|
return /* @__PURE__ */ jsx(cjs.exports, {
|
|
14
14
|
handle: ".m4l_draggable_handle",
|
|
@@ -65,8 +65,6 @@ const ModalDialog = () => {
|
|
|
65
65
|
"aria-labelledby": "child-modal-title",
|
|
66
66
|
"aria-describedby": "child-modal-description",
|
|
67
67
|
PaperComponent: isDesktop ? DragabblePaperComponent : PaperComponent,
|
|
68
|
-
maxWidth: false,
|
|
69
|
-
fullWidth: !isDesktop,
|
|
70
68
|
fullScreen,
|
|
71
69
|
disableEnforceFocus: true,
|
|
72
70
|
children: [isDesktop && /* @__PURE__ */ jsx(ResizeableWindow, {
|
|
@@ -2,25 +2,25 @@ import { NavLink as NavLink$1 } from "react-router-dom";
|
|
|
2
2
|
import { generateUtilityClasses, generateUtilityClass, styled } from "@mui/material";
|
|
3
3
|
import "react";
|
|
4
4
|
import "@m4l/core";
|
|
5
|
-
import "../Icon/index.
|
|
5
|
+
import "../Icon/index.d1402200.js";
|
|
6
6
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
7
7
|
import "clsx";
|
|
8
8
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
9
|
-
import "../mui_extended/IconButton/index.
|
|
9
|
+
import "../mui_extended/IconButton/index.62aea582.js";
|
|
10
10
|
import "@m4l/graphics";
|
|
11
|
-
import "../mui_extended/Accordion/index.
|
|
11
|
+
import "../mui_extended/Accordion/index.46771196.js";
|
|
12
12
|
import { T as Typography } from "../mui_extended/Typography/index.443590d6.js";
|
|
13
13
|
import "../mui_extended/Avatar/index.75e6ed57.js";
|
|
14
14
|
import "@mui/material/Button";
|
|
15
15
|
import "../mui_extended/Button/index.40af964e.js";
|
|
16
|
-
import "../mui_extended/CheckBox.
|
|
16
|
+
import "../mui_extended/CheckBox.38abccd8.js";
|
|
17
17
|
import "../mui_extended/Badge/index.cad260fe.js";
|
|
18
18
|
import "../Image/index.c18ebf5a.js";
|
|
19
19
|
import "@mui/lab";
|
|
20
|
-
import "../mui_extended/MenuActions/index.
|
|
20
|
+
import "../mui_extended/MenuActions/index.2493b1b1.js";
|
|
21
21
|
import "../mui_extended/Popover/index.9f35d0eb.js";
|
|
22
|
-
import "../mui_extended/Pager/index.
|
|
23
|
-
import "../mui_extended/Tab/index.
|
|
22
|
+
import "../mui_extended/Pager/index.a7f87c96.js";
|
|
23
|
+
import "../mui_extended/Tab/index.756fe693.js";
|
|
24
24
|
import "../mui_extended/Tooltip/index.5a795dcd.js";
|
|
25
25
|
import { unstable_composeClasses } from "@mui/base";
|
|
26
26
|
const componentName = "M4LNavLink";
|