@m4l/components 0.2.7 → 0.2.9
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/{index.2604c389.js → index.8a11a7b6.js} +21 -9
- package/components/AppBar/{index.9522f237.js → index.966d5162.js} +22 -5
- package/components/CommonActions/components/ActionCancel/{index.06539086.js → index.68bf349a.js} +2 -2
- package/components/CommonActions/components/ActionFormCancel/index.728bb37d.js +146 -0
- package/components/CommonActions/components/ActionFormIntro/{index.5a719043.js → index.a7e8711b.js} +2 -2
- package/components/CommonActions/components/ActionIntro/{index.3e8a2e60.js → index.7cc0a393.js} +2 -2
- package/components/CommonActions/components/Actions/index.b61826a4.js +163 -0
- package/components/DataGrid/constants.d.ts +2 -0
- package/components/DataGrid/{index.84a4843c.js → index.3a2e683c.js} +92 -92
- package/components/DataGrid/subcomponents/Actions/{index.dbcbee6d.js → index.063a0197.js} +89 -9
- package/components/DataGrid/subcomponents/Table/hooks/useSortColumnsRows.d.ts +0 -1
- package/components/DynamicFilter/{index.39033eb7.js → index.a5197d85.js} +92 -23
- package/components/GridLayout/{index.e8c04242.js → index.68093cfb.js} +7 -6
- package/components/GridLayout/subcomponents/Griditem/{index.4d38f12e.js → index.8e4af155.js} +1 -1
- package/components/GridLayout/subcomponents/Responsive/{index.e25df1dc.js → index.c32210fc.js} +1 -1
- package/components/HelperText/{index.7d2afdb3.js → index.a6a02c79.js} +23 -2
- package/components/Icon/{index.05984e7f.js → index.29065051.js} +5 -5
- package/components/Image/{index.bf37e923.js → index.cf640615.js} +3 -3
- package/components/LanguagePopover/{index.5ff37dbf.js → index.0319d6a8.js} +20 -4
- package/components/LoadingError/{index.fabad214.js → index.1426339a.js} +23 -5
- package/components/MFLoader/{index.7b4ee2a4.js → index.cbd2e5af.js} +21 -5
- package/components/ModalDialog/{index.89e26413.js → index.82ccabcc.js} +3 -3
- package/components/NavLink/{index.b75c91e1.js → index.618dabfb.js} +22 -2
- package/components/NoItemSelected/{index.7db73e77.js → index.50d06852.js} +1 -1
- package/components/ObjectLogs/{index.aeb2540f.js → index.fb34f372.js} +84 -5
- package/components/PDFViewer/{index.5c2db67a.js → index.ec8d0f79.js} +23 -3
- package/components/Page/{index.710cb16f.js → index.5aefe8f7.js} +1 -1
- package/components/PaperForm/classes/index.d.ts +2 -1
- package/components/PaperForm/classes/types.d.ts +1 -0
- package/components/PaperForm/{index.7ea3883f.js → index.6859d4e8.js} +11 -6
- package/components/PaperForm/types.d.ts +4 -1
- package/components/Period/{index.0aa8e507.js → index.df612223.js} +90 -5
- package/components/PrintingSystem/{index.ed3b22b7.js → index.73dd98b3.js} +12 -12
- package/components/PrintingSystem/subcomponents/BodyNode/{index.7acc6016.js → index.d70a5d24.js} +1 -1
- package/components/PrintingSystem/subcomponents/ChartNode/{index.e4a23bdd.js → index.4cd7f6d8.js} +1 -1
- package/components/PrintingSystem/subcomponents/DividerNode/{index.16fff262.js → index.56efaa0c.js} +1 -1
- package/components/PrintingSystem/subcomponents/FooterNode/{index.6c67dec0.js → index.4320bb03.js} +1 -1
- package/components/PrintingSystem/subcomponents/GridNode/{index.f466062b.js → index.6cabbf31.js} +1 -5
- package/components/PrintingSystem/subcomponents/HeaderNode/{index.77d3d39a.js → index.0e23ffd4.js} +1 -1
- package/components/PrintingSystem/subcomponents/PaperNode/{index.2a3d54a3.js → index.f97e7aa6.js} +1 -1
- package/components/PrintingSystem/subcomponents/PropertyValueNode/{index.e71ad971.js → index.7d3a3c8f.js} +1 -2
- package/components/PrintingSystem/subcomponents/SectionNode/{index.ce4f6d16.js → index.05d1fcf7.js} +1 -1
- package/components/PrintingSystem/subcomponents/TextBoxNode/{index.850d20a1.js → index.3894059c.js} +1 -1
- package/components/PropertyValue/{index.43ac2a71.js → index.df683b35.js} +20 -4
- package/components/SideBar/{index.58d29b84.js → index.f322ee0b.js} +22 -23
- package/components/ToastContainer/{index.ed440301.js → index.f67795cb.js} +7 -5
- package/components/animate/{index.5d4575bc.js → index.4e9774a6.js} +6 -2
- package/components/areas/components/AreasAdmin/{index.d2ce1682.js → index.6024578a.js} +98 -27
- package/components/areas/components/AreasViewer/{index.977d2804.js → index.41e89676.js} +84 -18
- package/components/areas/components/index.198e8954.js +32 -0
- package/components/areas/contexts/AreasContext/helper.d.ts +2 -2
- package/components/areas/contexts/AreasContext/{index.79ec57d5.js → index.9c8e3b41.js} +10 -17
- package/components/areas/contexts/index.eba30173.js +4 -0
- package/components/areas/hooks/index.0184c6f7.js +4 -0
- package/components/areas/hooks/useAreas/{index.de0591fe.js → index.fb721543.js} +1 -1
- package/components/areas/index.abedae6a.js +56 -0
- package/components/formatters/BooleanFormatter/{index.4f3cbdce.js → index.64ed2d71.js} +2 -3
- package/components/formatters/{index.4ca6946d.js → index.57f0da1b.js} +7 -3
- package/components/hook-form/RHFAutocomplete/{index.0ce87ac3.js → index.e830f749.js} +22 -7
- package/components/hook-form/RHFAutocompleteAsync/{index.57789d3a.js → index.12580722.js} +1 -1
- package/components/hook-form/RHFCheckbox/{index.a38715e3.js → index.938321c1.js} +22 -2
- package/components/hook-form/RHFColorPicker/{index.d00a2b53.js → index.e292aa86.js} +21 -5
- package/components/hook-form/RHFDateTime/{index.ae5d3a39.js → index.321e4b87.js} +21 -5
- package/components/hook-form/RHFPeriod/{index.ae9bcf41.js → index.98b2667a.js} +2 -3
- package/components/hook-form/RHFTextField/{index.80cc07e0.js → index.d08c142b.js} +7 -5
- package/components/hook-form/RHFUpload/{index.587aac00.js → index.cdb2e584.js} +22 -5
- package/components/modal/WindowBase.4fe313e7.js +160 -0
- package/components/modal/WindowConfirm.355df4de.js +188 -0
- package/components/modal/index.ea3a21cb.js +148 -0
- package/components/mui_extended/Accordion/{index.eddcfe40.js → index.3e247bd4.js} +4 -4
- package/components/mui_extended/Button/{index.570fd3a4.js → index.f538e360.js} +3 -3
- package/components/mui_extended/{CheckBox.e662d20c.js → CheckBox.38abccd8.js} +1 -1
- package/components/mui_extended/IconButton/{index.26de70bd.js → index.e295aa1f.js} +2 -2
- package/components/mui_extended/MenuActions/{index.8c02ff61.js → index.9b37fadc.js} +19 -5
- package/components/mui_extended/Pager/{index.5629e82b.js → index.78dea971.js} +2 -3
- package/components/mui_extended/Tab/{index.f8795137.js → index.4c797c00.js} +2 -2
- package/components/mui_extended/ToggleButton/{index.21a1f8e5.js → index.43140642.js} +5 -1
- package/components/mui_extended/ToggleIconButton/{index.00f13c40.js → index.3d725376.js} +6 -1
- package/components/mui_extended/index.1da3a53e.js +24 -0
- package/contexts/ModalContext/{index.b39d303d.js → index.6d2dda38.js} +1 -1
- package/hooks/useFormAddEdit/index.0d294209.js +183 -0
- package/hooks/useModal/{index.abdc0962.js → index.97742698.js} +1 -1
- package/hooks/useTab/index.cb48ec45.js +103 -0
- package/index.js +176 -176
- package/{node_modules.8f15d11f.js → node_modules.56dca1cf.js} +1 -1
- package/package.json +1 -1
- package/vendor.3c20510a.js +142 -0
- package/components/CommonActions/components/ActionFormCancel/index.33fc6c79.js +0 -61
- package/components/CommonActions/components/Actions/index.2f6286eb.js +0 -74
- package/components/DataGrid/subcomponents/Table/subcomponents/constants.d.ts +0 -1
- package/components/areas/components/index.558684b3.js +0 -1
- package/components/areas/contexts/index.24025b97.js +0 -1
- package/components/areas/hooks/index.d9dc1e21.js +0 -1
- package/components/areas/index.4cc6a221.js +0 -22
- package/components/modal/WindowBase.ea17cf20.js +0 -74
- package/components/modal/WindowConfirm.19ddbd5d.js +0 -102
- package/components/modal/index.61389369.js +0 -57
- package/components/mui_extended/index.b606cd9d.js +0 -1
- package/hooks/useFormAddEdit/index.32aa4f64.js +0 -96
- package/hooks/useTab/index.9c611b31.js +0 -12
- package/vendor.75facc5e.js +0 -110
- package/components/mui_extended/Badge/{index.09f5aee5.js → index.b09524fe.js} +1 -1
- package/components/mui_extended/Popover/{index.b3eca6b1.js → index.9f35d0eb.js} +2 -2
- package/components/mui_extended/Tooltip/{index.24a2bc3f.js → index.5a795dcd.js} +1 -1
- package/components/mui_extended/Typography/{index.379dd374.js → index.443590d6.js} +1 -1
|
@@ -1,20 +1,23 @@
|
|
|
1
1
|
import { SvgIcon, Checkbox, InputBase, Skeleton, generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { g as getModalDialogComponentsDictionary } from "../ModalDialog/index.
|
|
4
|
-
import { g as getPagerComponentsDictionary } from "../mui_extended/Pager/index.
|
|
3
|
+
import { g as getModalDialogComponentsDictionary } from "../ModalDialog/index.82ccabcc.js";
|
|
4
|
+
import { g as getPagerComponentsDictionary } from "../mui_extended/Pager/index.78dea971.js";
|
|
5
5
|
import { styled } from "@mui/material/styles";
|
|
6
6
|
import { forwardRef, createContext, useState, useMemo, useEffect, useCallback, useContext, useRef, useLayoutEffect } from "react";
|
|
7
|
-
import {
|
|
7
|
+
import { u as useRowSelection, S as SelectCellFormatter, H as HeaderRenderer, D as DataGrid$1 } from "../../react-data-grid.c5377916.js";
|
|
8
8
|
import { useDrag, useDrop, DndProvider } from "react-dnd";
|
|
9
9
|
import { HTML5Backend } from "react-dnd-html5-backend";
|
|
10
10
|
import { voidFunction, useModuleDictionary, useModuleSkeleton, getPropertyByString } from "@m4l/core";
|
|
11
|
-
import { A as ActionsColumn, a as Actions } from "./subcomponents/Actions/index.
|
|
11
|
+
import { A as ActionsColumn, a as Actions } from "./subcomponents/Actions/index.063a0197.js";
|
|
12
12
|
import { unstable_composeClasses } from "@mui/base";
|
|
13
13
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
14
|
-
import { g as getNameDataTestId } from "../../vendor.
|
|
15
|
-
import { B as BooleanFormatter } from "../formatters/BooleanFormatter/index.
|
|
14
|
+
import { g as getNameDataTestId } from "../../vendor.3c20510a.js";
|
|
15
|
+
import { B as BooleanFormatter } from "../formatters/BooleanFormatter/index.64ed2d71.js";
|
|
16
|
+
import "@m4l/graphics";
|
|
17
|
+
import "../Icon/index.29065051.js";
|
|
18
|
+
import "clsx";
|
|
19
|
+
import { C as ConcatenatedFormatter } from "../formatters/index.57f0da1b.js";
|
|
16
20
|
import { D as DateFormatter } from "../formatters/DateFormatter/index.578a9f53.js";
|
|
17
|
-
import { C as ConcatenatedFormatter } from "../formatters/index.4ca6946d.js";
|
|
18
21
|
const DataGridRoot = styled("div")(({
|
|
19
22
|
theme
|
|
20
23
|
}) => ({
|
|
@@ -272,6 +275,88 @@ function useDataGrid() {
|
|
|
272
275
|
throw new Error("useDataGrid context must be use inside DataGridContext");
|
|
273
276
|
return context;
|
|
274
277
|
}
|
|
278
|
+
const DATAGRID_PREFIX_NAME = "M4LDataGrid";
|
|
279
|
+
const DATAGRID_SELECT_COLUMN_KEY = "M4LDataGrid-CheckedColumn";
|
|
280
|
+
const DATAGRID_ACTIONS_COLUMN_KEY = "M4LDataGrid-ActionsColumn";
|
|
281
|
+
const filterColumnClassName = "filter-cell";
|
|
282
|
+
const filterHeight = 35;
|
|
283
|
+
function SelectGroupFormatter(props) {
|
|
284
|
+
const [isRowSelected, onRowSelectionChange] = useRowSelection();
|
|
285
|
+
const onChange = (checked) => {
|
|
286
|
+
onRowSelectionChange({
|
|
287
|
+
row: props.row,
|
|
288
|
+
checked,
|
|
289
|
+
isShiftClick: false
|
|
290
|
+
});
|
|
291
|
+
};
|
|
292
|
+
const cellFormater = SelectCellFormatter({
|
|
293
|
+
value: isRowSelected,
|
|
294
|
+
isCellSelected: props.isCellSelected,
|
|
295
|
+
onChange,
|
|
296
|
+
"aria-label": "Select Group"
|
|
297
|
+
});
|
|
298
|
+
return cellFormater;
|
|
299
|
+
}
|
|
300
|
+
function SelectFormatter(props) {
|
|
301
|
+
const {
|
|
302
|
+
checkedRows,
|
|
303
|
+
onCheckedRowsChange,
|
|
304
|
+
rowKeyGetter
|
|
305
|
+
} = useDataGrid();
|
|
306
|
+
const onChange = (checked, _isShiftClick) => {
|
|
307
|
+
const newCheckedRows = new Set(checkedRows);
|
|
308
|
+
if (checked) {
|
|
309
|
+
newCheckedRows.add(rowKeyGetter(props.row));
|
|
310
|
+
} else {
|
|
311
|
+
newCheckedRows.delete(rowKeyGetter(props.row));
|
|
312
|
+
}
|
|
313
|
+
onCheckedRowsChange && onCheckedRowsChange(newCheckedRows);
|
|
314
|
+
};
|
|
315
|
+
return /* @__PURE__ */ jsx(SelectCellFormatter, {
|
|
316
|
+
value: checkedRows?.has(rowKeyGetter(props.row)) || false,
|
|
317
|
+
isCellSelected: props.isCellSelected,
|
|
318
|
+
onChange,
|
|
319
|
+
"aria-label": "Select"
|
|
320
|
+
});
|
|
321
|
+
}
|
|
322
|
+
const SelectColumnHeaderRenderer = (props) => {
|
|
323
|
+
const {
|
|
324
|
+
rows,
|
|
325
|
+
rowKeyGetter,
|
|
326
|
+
onCheckedRowsChange,
|
|
327
|
+
checkedRows
|
|
328
|
+
} = useDataGrid();
|
|
329
|
+
const onAllRowsCheckedChange = (checked) => {
|
|
330
|
+
if (!onCheckedRowsChange)
|
|
331
|
+
return;
|
|
332
|
+
if (checked) {
|
|
333
|
+
onCheckedRowsChange(new Set(rows.map((r) => rowKeyGetter(r))));
|
|
334
|
+
} else {
|
|
335
|
+
onCheckedRowsChange(/* @__PURE__ */ new Set());
|
|
336
|
+
}
|
|
337
|
+
};
|
|
338
|
+
const allRowsChecked = rows.length === checkedRows?.size;
|
|
339
|
+
return SelectCellFormatter({
|
|
340
|
+
"aria-label": "Select All",
|
|
341
|
+
isCellSelected: props.isCellSelected,
|
|
342
|
+
value: allRowsChecked,
|
|
343
|
+
onChange: onAllRowsCheckedChange
|
|
344
|
+
});
|
|
345
|
+
};
|
|
346
|
+
const SelectColumn = {
|
|
347
|
+
key: DATAGRID_SELECT_COLUMN_KEY,
|
|
348
|
+
name: "",
|
|
349
|
+
width: 60,
|
|
350
|
+
maxWidth: 60,
|
|
351
|
+
isDraggable: false,
|
|
352
|
+
resizable: false,
|
|
353
|
+
sortable: false,
|
|
354
|
+
frozen: true,
|
|
355
|
+
type: "boolean",
|
|
356
|
+
headerRenderer: SelectColumnHeaderRenderer,
|
|
357
|
+
formatter: SelectFormatter,
|
|
358
|
+
groupFormatter: SelectGroupFormatter
|
|
359
|
+
};
|
|
275
360
|
function useFocusRef(isSelected) {
|
|
276
361
|
const ref = useRef(null);
|
|
277
362
|
useLayoutEffect(() => {
|
|
@@ -449,7 +534,6 @@ const getDragHeaderRenderer = (handleColumnsReorder) => {
|
|
|
449
534
|
}
|
|
450
535
|
return HeaderRenderer2;
|
|
451
536
|
};
|
|
452
|
-
const DATAGRID_ACTIONS_COLUMN_KEY = "M4LDataGrid-ActionsColumn";
|
|
453
537
|
const WrapperSkeleton = styled("div")(() => ({
|
|
454
538
|
display: "flex",
|
|
455
539
|
width: "100%",
|
|
@@ -469,7 +553,6 @@ function SkeletonFormatter() {
|
|
|
469
553
|
})
|
|
470
554
|
});
|
|
471
555
|
}
|
|
472
|
-
const DATAGRID_SELECT_COLUMN_KEY = "M4LDataGrid-CheckedColumn";
|
|
473
556
|
function getComparator(columns, sortColumn) {
|
|
474
557
|
const column = columns.find((d) => d.key === sortColumn);
|
|
475
558
|
let typeOrder = "string";
|
|
@@ -520,7 +603,6 @@ const getInOrderColumns = (columns, hasCheckedRows, columnsConfig, columnsWidths
|
|
|
520
603
|
if (hasCheckedRows) {
|
|
521
604
|
filteredSortedColumns = [SelectColumn, ...filteredSortedColumns];
|
|
522
605
|
}
|
|
523
|
-
console.log("filteredSortedColumns", filteredSortedColumns);
|
|
524
606
|
return filteredSortedColumns;
|
|
525
607
|
};
|
|
526
608
|
const getAligByType = (columnType) => {
|
|
@@ -572,7 +654,6 @@ const useSortColumnsRows = (sourceColumns, sourceRows) => {
|
|
|
572
654
|
}, [sourceColumns, columnsConfig, rowActionsGetter]);
|
|
573
655
|
const finalColumns = useMemo(() => {
|
|
574
656
|
const DragAndDropHeaderRenderer = getDragHeaderRenderer(onChangeColumnsOrder);
|
|
575
|
-
console.log("*****####finalColumns", columns);
|
|
576
657
|
return columns.map((c) => {
|
|
577
658
|
const newColumn = {
|
|
578
659
|
...c,
|
|
@@ -645,85 +726,6 @@ const useSortColumnsRows = (sourceColumns, sourceRows) => {
|
|
|
645
726
|
}, [sourceRows, sortColumns, filters]);
|
|
646
727
|
return { finalColumns, sortColumns, setSortColumns, finalRows };
|
|
647
728
|
};
|
|
648
|
-
const filterColumnClassName = "filter-cell";
|
|
649
|
-
const filterHeight = 35;
|
|
650
|
-
function SelectGroupFormatter(props) {
|
|
651
|
-
const [isRowSelected, onRowSelectionChange] = useRowSelection();
|
|
652
|
-
const onChange = (checked) => {
|
|
653
|
-
onRowSelectionChange({
|
|
654
|
-
row: props.row,
|
|
655
|
-
checked,
|
|
656
|
-
isShiftClick: false
|
|
657
|
-
});
|
|
658
|
-
};
|
|
659
|
-
const cellFormater = SelectCellFormatter({
|
|
660
|
-
value: isRowSelected,
|
|
661
|
-
isCellSelected: props.isCellSelected,
|
|
662
|
-
onChange,
|
|
663
|
-
"aria-label": "Select Group"
|
|
664
|
-
});
|
|
665
|
-
return cellFormater;
|
|
666
|
-
}
|
|
667
|
-
function SelectFormatter(props) {
|
|
668
|
-
const {
|
|
669
|
-
checkedRows,
|
|
670
|
-
onCheckedRowsChange,
|
|
671
|
-
rowKeyGetter
|
|
672
|
-
} = useDataGrid();
|
|
673
|
-
const onChange = (checked, _isShiftClick) => {
|
|
674
|
-
const newCheckedRows = new Set(checkedRows);
|
|
675
|
-
if (checked) {
|
|
676
|
-
newCheckedRows.add(rowKeyGetter(props.row));
|
|
677
|
-
} else {
|
|
678
|
-
newCheckedRows.delete(rowKeyGetter(props.row));
|
|
679
|
-
}
|
|
680
|
-
onCheckedRowsChange && onCheckedRowsChange(newCheckedRows);
|
|
681
|
-
};
|
|
682
|
-
return /* @__PURE__ */ jsx(SelectCellFormatter, {
|
|
683
|
-
value: checkedRows?.has(rowKeyGetter(props.row)) || false,
|
|
684
|
-
isCellSelected: props.isCellSelected,
|
|
685
|
-
onChange,
|
|
686
|
-
"aria-label": "Select"
|
|
687
|
-
});
|
|
688
|
-
}
|
|
689
|
-
const SelectColumnHeaderRenderer = (props) => {
|
|
690
|
-
const {
|
|
691
|
-
rows,
|
|
692
|
-
rowKeyGetter,
|
|
693
|
-
onCheckedRowsChange,
|
|
694
|
-
checkedRows
|
|
695
|
-
} = useDataGrid();
|
|
696
|
-
const onAllRowsCheckedChange = (checked) => {
|
|
697
|
-
if (!onCheckedRowsChange)
|
|
698
|
-
return;
|
|
699
|
-
if (checked) {
|
|
700
|
-
onCheckedRowsChange(new Set(rows.map((r) => rowKeyGetter(r))));
|
|
701
|
-
} else {
|
|
702
|
-
onCheckedRowsChange(/* @__PURE__ */ new Set());
|
|
703
|
-
}
|
|
704
|
-
};
|
|
705
|
-
const allRowsChecked = rows.length === checkedRows?.size;
|
|
706
|
-
return SelectCellFormatter({
|
|
707
|
-
"aria-label": "Select All",
|
|
708
|
-
isCellSelected: props.isCellSelected,
|
|
709
|
-
value: allRowsChecked,
|
|
710
|
-
onChange: onAllRowsCheckedChange
|
|
711
|
-
});
|
|
712
|
-
};
|
|
713
|
-
const SelectColumn = {
|
|
714
|
-
key: DATAGRID_SELECT_COLUMN_KEY,
|
|
715
|
-
name: "",
|
|
716
|
-
width: 60,
|
|
717
|
-
maxWidth: 60,
|
|
718
|
-
isDraggable: false,
|
|
719
|
-
resizable: false,
|
|
720
|
-
sortable: false,
|
|
721
|
-
frozen: true,
|
|
722
|
-
type: "boolean",
|
|
723
|
-
headerRenderer: SelectColumnHeaderRenderer,
|
|
724
|
-
formatter: SelectFormatter,
|
|
725
|
-
groupFormatter: SelectGroupFormatter
|
|
726
|
-
};
|
|
727
729
|
function Table(props) {
|
|
728
730
|
const {
|
|
729
731
|
columns,
|
|
@@ -782,7 +784,6 @@ function Table(props) {
|
|
|
782
784
|
const onChangeSort = (newSortColumns) => {
|
|
783
785
|
setSortColumns(newSortColumns);
|
|
784
786
|
};
|
|
785
|
-
console.log("Table render", finalColumns);
|
|
786
787
|
return /* @__PURE__ */ jsx("div", {
|
|
787
788
|
className: classes.tableContaniner,
|
|
788
789
|
id: "WrapperTable",
|
|
@@ -911,7 +912,6 @@ const dictionary = {
|
|
|
911
912
|
const DATAGRID_TEST_ID = "m4ldatagrid";
|
|
912
913
|
const PREFIX_TEST_ATTRIBUTE = "data-testid";
|
|
913
914
|
const TEST_PROP_COLUMNS = `${PREFIX_TEST_ATTRIBUTE}-${DATAGRID_TEST_ID}-columns`;
|
|
914
|
-
const DATAGRID_PREFIX_NAME = "M4LDataGrid";
|
|
915
915
|
function DataGrid(props) {
|
|
916
916
|
const {
|
|
917
917
|
id,
|
|
@@ -1,19 +1,99 @@
|
|
|
1
|
-
import { M as MenuActions } from "../../../mui_extended/MenuActions/index.
|
|
2
|
-
import { D as DATAGRID_ACTIONS_COLUMN_KEY, u as useDataGrid, a as useFilters, C as ColumnInteractiveCheckFormatterColumn, b as DataGridRoot, d as dictionary } from "../../index.
|
|
1
|
+
import { M as MenuActions } from "../../../mui_extended/MenuActions/index.9b37fadc.js";
|
|
2
|
+
import { D as DATAGRID_ACTIONS_COLUMN_KEY, u as useDataGrid, a as useFilters, C as ColumnInteractiveCheckFormatterColumn, b as DataGridRoot, d as dictionary } from "../../index.3a2e683c.js";
|
|
3
3
|
import { useTheme, 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.78dea971.js";
|
|
6
|
+
import { I as IconButton } from "../../../mui_extended/IconButton/index.e295aa1f.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.c5377916.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.97742698.js";
|
|
12
|
+
import { A as ActionCancel } from "../../../CommonActions/components/ActionCancel/index.68bf349a.js";
|
|
13
|
+
import { A as ActionIntro } from "../../../CommonActions/components/ActionIntro/index.7cc0a393.js";
|
|
14
|
+
import "../../../../react-draggable.ee21cb7e.js";
|
|
15
|
+
import "../../../Resizeable/index.6478d7d8.js";
|
|
14
16
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
+
import "../../../modal/index.ea3a21cb.js";
|
|
18
|
+
import "../../../animate/index.4e9774a6.js";
|
|
19
|
+
import "framer-motion";
|
|
20
|
+
import "react-router-dom";
|
|
21
|
+
import "../../../animate/LoadingScreen/index.1d0c4307.js";
|
|
22
|
+
import "../../../animate/PropagateLoader/index.7fab43c8.js";
|
|
23
|
+
import "zustand";
|
|
24
|
+
import "../../../areas/contexts/AreasContext/index.9c8e3b41.js";
|
|
25
|
+
import "../../../areas/components/AreasAdmin/index.6024578a.js";
|
|
26
|
+
import "zustand/shallow";
|
|
27
|
+
import "../../../ScrollBar/index.010f1b9d.js";
|
|
28
|
+
import "../../../mui_extended/Accordion/index.3e247bd4.js";
|
|
29
|
+
import "../../../Icon/index.29065051.js";
|
|
30
|
+
import "clsx";
|
|
31
|
+
import "../../../mui_extended/Typography/index.443590d6.js";
|
|
32
|
+
import "../../../mui_extended/Avatar/index.75e6ed57.js";
|
|
33
|
+
import "@mui/material/Button";
|
|
34
|
+
import "../../../mui_extended/Button/index.f538e360.js";
|
|
35
|
+
import "../../../mui_extended/CheckBox.38abccd8.js";
|
|
36
|
+
import "../../../mui_extended/Badge/index.b09524fe.js";
|
|
37
|
+
import "../../../Image/index.cf640615.js";
|
|
38
|
+
import "@mui/lab";
|
|
39
|
+
import "../../../mui_extended/Popover/index.9f35d0eb.js";
|
|
40
|
+
import "../../../mui_extended/Stack/index.0e53197c.js";
|
|
41
|
+
import "../../../mui_extended/Tab/index.4c797c00.js";
|
|
42
|
+
import "../../../mui_extended/Tooltip/index.5a795dcd.js";
|
|
43
|
+
import "../../../areas/components/AreasViewer/index.41e89676.js";
|
|
44
|
+
import "../../../LinearProgressIndeterminate/index.a0ad2d9e.js";
|
|
45
|
+
import "../../../LoadingError/index.1426339a.js";
|
|
46
|
+
import "../../../areas/contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
47
|
+
import "zustand/middleware/immer";
|
|
48
|
+
import "../../../areas/contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
49
|
+
import "react-hook-form";
|
|
50
|
+
import "../../../hook-form/RHFAutocomplete/index.e830f749.js";
|
|
51
|
+
import "../../../HelperText/index.a6a02c79.js";
|
|
52
|
+
import "../../../../node_modules.56dca1cf.js";
|
|
53
|
+
import "lodash-es/debounce";
|
|
54
|
+
import "lodash-es/each";
|
|
55
|
+
import "../../../hook-form/RHFColorPicker/index.e292aa86.js";
|
|
56
|
+
import "lodash/debounce";
|
|
57
|
+
import "../../../hook-form/RHFAutocompleteAsync/index.12580722.js";
|
|
58
|
+
import "../../../hook-form/RHFCheckbox/index.938321c1.js";
|
|
59
|
+
import "@mui/x-date-pickers";
|
|
60
|
+
import "../../../hook-form/RHFDateTime/index.321e4b87.js";
|
|
61
|
+
import "../../../hook-form/RHFTextField/index.d08c142b.js";
|
|
62
|
+
import "../../../hook-form/RHFPeriod/index.98b2667a.js";
|
|
63
|
+
import "../../../Period/index.df612223.js";
|
|
64
|
+
import { A as Actions$1 } from "../../../CommonActions/components/Actions/index.b61826a4.js";
|
|
65
|
+
import "lodash/isString";
|
|
66
|
+
import "react-dropzone";
|
|
67
|
+
import "../../../hook-form/RHFUpload/index.cdb2e584.js";
|
|
68
|
+
import "../../../formatters/index.57f0da1b.js";
|
|
69
|
+
import "react-dnd";
|
|
70
|
+
import "react-dnd-html5-backend";
|
|
71
|
+
import "../editors/TextEditor/index.91380a55.js";
|
|
72
|
+
import "../../../DynamicFilter/index.a5197d85.js";
|
|
73
|
+
import "yup";
|
|
74
|
+
import "../../../../contexts/RHFormContext/index.7769076a.js";
|
|
75
|
+
import "../../../GridLayout/subcomponents/Griditem/index.8e4af155.js";
|
|
76
|
+
import "../../../GridLayout/index.68093cfb.js";
|
|
77
|
+
import "fast-equals";
|
|
78
|
+
import "lodash";
|
|
79
|
+
import "../../../PrintingSystem/index.73dd98b3.js";
|
|
80
|
+
import "../../../LanguagePopover/index.0319d6a8.js";
|
|
81
|
+
import "../../../MFLoader/index.cbd2e5af.js";
|
|
82
|
+
import "../../../NavLink/index.618dabfb.js";
|
|
83
|
+
import "../../../NoItemSelected/index.50d06852.js";
|
|
84
|
+
import "../../../ObjectLogs/index.fb34f372.js";
|
|
85
|
+
import "../../../../react-json-view.5636414a.js";
|
|
86
|
+
import "../../../PaperForm/index.6859d4e8.js";
|
|
87
|
+
import "../../../PDFViewer/index.ec8d0f79.js";
|
|
88
|
+
import "../../../Page/index.5aefe8f7.js";
|
|
89
|
+
import "../../../PropertyValue/index.df683b35.js";
|
|
90
|
+
import "../../../SplitLayout/index.30fd5861.js";
|
|
91
|
+
import "../../../../react-splitter-layout.c5d98bf7.js";
|
|
92
|
+
import "../../../ToastContainer/index.f67795cb.js";
|
|
93
|
+
import "../../../SideBar/index.f322ee0b.js";
|
|
94
|
+
import "../../../AppBar/index.966d5162.js";
|
|
95
|
+
import "../../../AccountPopover/index.8a11a7b6.js";
|
|
96
|
+
import { W as WindowBase } from "../../../modal/WindowBase.4fe313e7.js";
|
|
17
97
|
function ActionsFormatter(props) {
|
|
18
98
|
const {
|
|
19
99
|
rowActionsGetter,
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { Column, SortColumn } from 'react-data-grid';
|
|
3
|
-
export declare const DATAGRID_SELECT_COLUMN_KEY = "M4LDataGrid-CheckedColumn";
|
|
4
3
|
export declare const useSortColumnsRows: <TRow, TSummaryRow>(sourceColumns: readonly Column<TRow, TSummaryRow>[], sourceRows: readonly TRow[]) => {
|
|
5
4
|
finalColumns: readonly Column<TRow, TSummaryRow>[];
|
|
6
5
|
sortColumns: readonly SortColumn[];
|
|
@@ -1,33 +1,102 @@
|
|
|
1
|
+
import { shallow } from "zustand/shallow";
|
|
2
|
+
import { S as ScrollBar } from "../ScrollBar/index.010f1b9d.js";
|
|
1
3
|
import { useContext, useMemo, useEffect, createContext, useRef, createElement, useState, useCallback } from "react";
|
|
4
|
+
import clsx from "clsx";
|
|
2
5
|
import { useModuleDictionary, useEnvironment, useModuleSkeleton, useFlagsPresent, CommonFlags } from "@m4l/core";
|
|
3
|
-
import {
|
|
6
|
+
import { useResponsiveDesktop, useFirstRender, useFormatter } from "@m4l/graphics";
|
|
7
|
+
import { I as IconButton } from "../mui_extended/IconButton/index.e295aa1f.js";
|
|
8
|
+
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
9
|
+
import { g as getNameDataTestId } from "../../vendor.3c20510a.js";
|
|
10
|
+
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
4
11
|
import { generateUtilityClasses, alpha, styled as styled$1, Skeleton, MenuItem } from "@mui/material";
|
|
12
|
+
import { L as LabelMemuItem } from "../mui_extended/MenuActions/index.9b37fadc.js";
|
|
13
|
+
import { P as Popover } from "../mui_extended/Popover/index.9f35d0eb.js";
|
|
14
|
+
import { I as Icon } from "../Icon/index.29065051.js";
|
|
15
|
+
import { styled, useTheme } from "@mui/material/styles";
|
|
16
|
+
import { R as RHFormProvider } from "../../contexts/RHFormContext/index.7769076a.js";
|
|
17
|
+
import { g as getCommonActionsDictionary, A as Actions } from "../CommonActions/components/Actions/index.b61826a4.js";
|
|
18
|
+
import { A as ActionCancel } from "../CommonActions/components/ActionCancel/index.68bf349a.js";
|
|
19
|
+
import { A as ActionIntro } from "../CommonActions/components/ActionIntro/index.7cc0a393.js";
|
|
20
|
+
import { useFormContext, useWatch } from "react-hook-form";
|
|
21
|
+
import "@mui/material/Button";
|
|
22
|
+
import "../mui_extended/Button/index.f538e360.js";
|
|
23
|
+
import "../../contexts/ModalContext/index.6d2dda38.js";
|
|
24
|
+
import "../../react-draggable.ee21cb7e.js";
|
|
25
|
+
import "../Resizeable/index.6478d7d8.js";
|
|
26
|
+
import "../modal/index.ea3a21cb.js";
|
|
27
|
+
import "../animate/index.4e9774a6.js";
|
|
28
|
+
import "framer-motion";
|
|
29
|
+
import "react-router-dom";
|
|
30
|
+
import "../animate/LoadingScreen/index.1d0c4307.js";
|
|
31
|
+
import "../animate/PropagateLoader/index.7fab43c8.js";
|
|
32
|
+
import { useStore, createStore } from "zustand";
|
|
33
|
+
import "../areas/contexts/AreasContext/index.9c8e3b41.js";
|
|
34
|
+
import "../areas/components/AreasAdmin/index.6024578a.js";
|
|
35
|
+
import "../mui_extended/Accordion/index.3e247bd4.js";
|
|
36
|
+
import { T as Typography } from "../mui_extended/Typography/index.443590d6.js";
|
|
37
|
+
import "../mui_extended/Avatar/index.75e6ed57.js";
|
|
38
|
+
import "../mui_extended/CheckBox.38abccd8.js";
|
|
39
|
+
import "../mui_extended/Badge/index.b09524fe.js";
|
|
40
|
+
import "../Image/index.cf640615.js";
|
|
41
|
+
import "@mui/lab";
|
|
42
|
+
import "../mui_extended/Stack/index.0e53197c.js";
|
|
43
|
+
import "../mui_extended/Tab/index.4c797c00.js";
|
|
44
|
+
import "../mui_extended/Pager/index.78dea971.js";
|
|
45
|
+
import "../mui_extended/Tooltip/index.5a795dcd.js";
|
|
46
|
+
import "../areas/components/AreasViewer/index.41e89676.js";
|
|
47
|
+
import "../LinearProgressIndeterminate/index.a0ad2d9e.js";
|
|
48
|
+
import "../LoadingError/index.1426339a.js";
|
|
49
|
+
import "../areas/contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
50
|
+
import { immer } from "zustand/middleware/immer";
|
|
51
|
+
import "../areas/contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
52
|
+
import { g as getRHFAutocompleteComponentsDictionary, R as RHFAutocomplete } from "../hook-form/RHFAutocomplete/index.e830f749.js";
|
|
53
|
+
import "../HelperText/index.a6a02c79.js";
|
|
54
|
+
import "../../node_modules.56dca1cf.js";
|
|
55
|
+
import "lodash-es/debounce";
|
|
56
|
+
import "lodash-es/each";
|
|
57
|
+
import "../hook-form/RHFColorPicker/index.e292aa86.js";
|
|
58
|
+
import "lodash/debounce";
|
|
59
|
+
import "../hook-form/RHFAutocompleteAsync/index.12580722.js";
|
|
60
|
+
import "../hook-form/RHFCheckbox/index.938321c1.js";
|
|
61
|
+
import "@mui/x-date-pickers";
|
|
62
|
+
import { R as RHFDateTime } from "../hook-form/RHFDateTime/index.321e4b87.js";
|
|
63
|
+
import { R as RHFTextField } from "../hook-form/RHFTextField/index.d08c142b.js";
|
|
64
|
+
import "../hook-form/RHFPeriod/index.98b2667a.js";
|
|
65
|
+
import "../Period/index.df612223.js";
|
|
66
|
+
import "lodash/isString";
|
|
67
|
+
import "react-dropzone";
|
|
68
|
+
import "../hook-form/RHFUpload/index.cdb2e584.js";
|
|
69
|
+
import "../formatters/index.57f0da1b.js";
|
|
70
|
+
import "../DataGrid/index.3a2e683c.js";
|
|
71
|
+
import "react-dnd";
|
|
72
|
+
import "react-dnd-html5-backend";
|
|
73
|
+
import "../DataGrid/subcomponents/Actions/index.063a0197.js";
|
|
74
|
+
import "../DataGrid/subcomponents/editors/TextEditor/index.91380a55.js";
|
|
75
|
+
import "../GridLayout/subcomponents/Griditem/index.8e4af155.js";
|
|
76
|
+
import "../GridLayout/index.68093cfb.js";
|
|
77
|
+
import "fast-equals";
|
|
78
|
+
import "lodash";
|
|
79
|
+
import "../PrintingSystem/index.73dd98b3.js";
|
|
80
|
+
import "../LanguagePopover/index.0319d6a8.js";
|
|
81
|
+
import "../MFLoader/index.cbd2e5af.js";
|
|
82
|
+
import "../NavLink/index.618dabfb.js";
|
|
83
|
+
import "../NoItemSelected/index.50d06852.js";
|
|
84
|
+
import "../ObjectLogs/index.fb34f372.js";
|
|
85
|
+
import "../../react-json-view.5636414a.js";
|
|
86
|
+
import "../PaperForm/index.6859d4e8.js";
|
|
87
|
+
import "../PDFViewer/index.ec8d0f79.js";
|
|
88
|
+
import "../Page/index.5aefe8f7.js";
|
|
89
|
+
import "../PropertyValue/index.df683b35.js";
|
|
90
|
+
import "../SplitLayout/index.30fd5861.js";
|
|
91
|
+
import "../../react-splitter-layout.c5d98bf7.js";
|
|
92
|
+
import "../ToastContainer/index.f67795cb.js";
|
|
93
|
+
import "../SideBar/index.f322ee0b.js";
|
|
94
|
+
import "../AppBar/index.966d5162.js";
|
|
95
|
+
import "../AccountPopover/index.8a11a7b6.js";
|
|
5
96
|
import { unstable_composeClasses } from "@mui/base";
|
|
6
97
|
import { g as getComponentUtilityClass, i as isValidDate } from "../../utils/index.de903261.js";
|
|
7
98
|
import { devtools } from "zustand/middleware";
|
|
8
|
-
import { immer } from "zustand/middleware/immer";
|
|
9
|
-
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
10
|
-
import { g as getCommonActionsDictionary, A as Actions } from "../CommonActions/components/Actions/index.2f6286eb.js";
|
|
11
|
-
import { g as getRHFAutocompleteComponentsDictionary, R as RHFAutocomplete } from "../hook-form/RHFAutocomplete/index.0ce87ac3.js";
|
|
12
|
-
import { g as getNameDataTestId } from "../../vendor.75facc5e.js";
|
|
13
|
-
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
14
|
-
import { useFormContext, useWatch } from "react-hook-form";
|
|
15
|
-
import { shallow } from "zustand/shallow";
|
|
16
|
-
import { R as RHFDateTime } from "../hook-form/RHFDateTime/index.ae5d3a39.js";
|
|
17
|
-
import { R as RHFTextField } from "../hook-form/RHFTextField/index.80cc07e0.js";
|
|
18
99
|
import * as Yup from "yup";
|
|
19
|
-
import { useResponsiveDesktop, useFirstRender, useFormatter } from "@m4l/graphics";
|
|
20
|
-
import { styled, useTheme } from "@mui/material/styles";
|
|
21
|
-
import { S as ScrollBar } from "../ScrollBar/index.010f1b9d.js";
|
|
22
|
-
import clsx from "clsx";
|
|
23
|
-
import { I as IconButton } from "../mui_extended/IconButton/index.26de70bd.js";
|
|
24
|
-
import { L as LabelMemuItem } from "../mui_extended/MenuActions/index.8c02ff61.js";
|
|
25
|
-
import { P as Popover } from "../mui_extended/Popover/index.b3eca6b1.js";
|
|
26
|
-
import { I as Icon } from "../Icon/index.05984e7f.js";
|
|
27
|
-
import { R as RHFormProvider } from "../../contexts/RHFormContext/index.7769076a.js";
|
|
28
|
-
import { A as ActionCancel } from "../CommonActions/components/ActionCancel/index.06539086.js";
|
|
29
|
-
import { A as ActionIntro } from "../CommonActions/components/ActionIntro/index.3e8a2e60.js";
|
|
30
|
-
import { T as Typography } from "../mui_extended/Typography/index.379dd374.js";
|
|
31
100
|
const COMPONENT_PREFIX = "M4LDynamicFilter";
|
|
32
101
|
const COMPONENT_CLASS_NAME = "M4LDynamicFilter";
|
|
33
102
|
const ASSETS_URL = "frontend/components/dynamic_filter/assets/icons";
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { useState, useRef, useEffect, useCallback, useMemo } 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.8e4af155.js";
|
|
4
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
+
import { throttle } from "lodash";
|
|
6
|
+
import { useResizeObserver } from "@m4l/graphics";
|
|
4
7
|
import { styled, alpha } from "@mui/material/styles";
|
|
5
8
|
import { r as react_resizable_css } from "../../react-resizable.ee028152.js";
|
|
6
9
|
import { generateUtilityClasses } from "@mui/material";
|
|
7
10
|
import "@mui/base";
|
|
8
|
-
import
|
|
9
|
-
import { throttle } from "lodash";
|
|
10
|
-
import { useResizeObserver } from "@m4l/graphics";
|
|
11
|
+
import "fast-equals";
|
|
11
12
|
const COMPONENT_CLASS_NAME = "M4LGridLayout";
|
|
12
13
|
const DEFAULT_COLS = 12;
|
|
13
14
|
const DEFAULT_ROW_HEIGHT = 20;
|
|
@@ -1199,7 +1200,7 @@ function SizeProvider(ComposedComponent) {
|
|
|
1199
1200
|
};
|
|
1200
1201
|
}
|
|
1201
1202
|
export {
|
|
1202
|
-
|
|
1203
|
+
noop as A,
|
|
1203
1204
|
DEFAULT_COLS as D,
|
|
1204
1205
|
GridLayout as G,
|
|
1205
1206
|
SizeProvider as S,
|
|
@@ -1228,5 +1229,5 @@ export {
|
|
|
1228
1229
|
isEqualLayout as w,
|
|
1229
1230
|
DEFAULT_RESPONSIVE_BREAKPOINTS as x,
|
|
1230
1231
|
DEFAULT_RESPONSIVE_COLS as y,
|
|
1231
|
-
|
|
1232
|
+
isEqualLayouts as z
|
|
1232
1233
|
};
|
package/components/GridLayout/subcomponents/Griditem/{index.4d38f12e.js → index.8e4af155.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.ee21cb7e.js";
|
|
3
3
|
import { R as Resizable } from "../../../../react-resizable.ee028152.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.68093cfb.js";
|
|
5
5
|
import clsx from "clsx";
|
|
6
6
|
import { deepEqual } from "fast-equals";
|
|
7
7
|
import { jsx, Fragment } from "react/jsx-runtime";
|
package/components/GridLayout/subcomponents/Responsive/{index.e25df1dc.js → index.c32210fc.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as cloneLayoutItem, t as cloneLayout, u as compact, v as correctBounds, w as isEqualLayout, o as DEFAULT_COLAPSED_HEIGHT, x as DEFAULT_RESPONSIVE_BREAKPOINTS, m as DEFAULT_CONTAINER_PADDING, l as DEFAULT_MARGIN, y as DEFAULT_RESPONSIVE_COLS, i as DEFAULT_ROW_HEIGHT, z as
|
|
1
|
+
import { r as cloneLayoutItem, t as cloneLayout, u as compact, v as correctBounds, w as isEqualLayout, o as DEFAULT_COLAPSED_HEIGHT, x as DEFAULT_RESPONSIVE_BREAKPOINTS, m as DEFAULT_CONTAINER_PADDING, l as DEFAULT_MARGIN, y as DEFAULT_RESPONSIVE_COLS, i as DEFAULT_ROW_HEIGHT, z as isEqualLayouts, G as GridLayout, A as noop } from "../../index.68093cfb.js";
|
|
2
2
|
import { useState, useRef, useEffect, useCallback } from "react";
|
|
3
3
|
import { useFirstRender } from "@m4l/graphics";
|
|
4
4
|
import { deepEqual } from "fast-equals";
|
|
@@ -1,7 +1,28 @@
|
|
|
1
1
|
import { styled, generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
2
|
-
import
|
|
2
|
+
import "react";
|
|
3
|
+
import "@m4l/core";
|
|
4
|
+
import "../Icon/index.29065051.js";
|
|
5
|
+
import "clsx";
|
|
6
|
+
import "@m4l/graphics";
|
|
3
7
|
import { jsx } from "react/jsx-runtime";
|
|
4
|
-
import
|
|
8
|
+
import "../mui_extended/IconButton/index.e295aa1f.js";
|
|
9
|
+
import "../mui_extended/Accordion/index.3e247bd4.js";
|
|
10
|
+
import { T as Typography } from "../mui_extended/Typography/index.443590d6.js";
|
|
11
|
+
import "../mui_extended/Avatar/index.75e6ed57.js";
|
|
12
|
+
import "react-router-dom";
|
|
13
|
+
import "@mui/material/Button";
|
|
14
|
+
import "../mui_extended/Button/index.f538e360.js";
|
|
15
|
+
import "../mui_extended/CheckBox.38abccd8.js";
|
|
16
|
+
import "../mui_extended/Badge/index.b09524fe.js";
|
|
17
|
+
import "../Image/index.cf640615.js";
|
|
18
|
+
import "@mui/lab";
|
|
19
|
+
import "../mui_extended/MenuActions/index.9b37fadc.js";
|
|
20
|
+
import "../mui_extended/Popover/index.9f35d0eb.js";
|
|
21
|
+
import "../mui_extended/Stack/index.0e53197c.js";
|
|
22
|
+
import "../mui_extended/Tab/index.4c797c00.js";
|
|
23
|
+
import "../mui_extended/Pager/index.78dea971.js";
|
|
24
|
+
import "../mui_extended/Tooltip/index.5a795dcd.js";
|
|
25
|
+
import { unstable_composeClasses } from "@mui/base";
|
|
5
26
|
const HelperTextRoot = styled("div")(({
|
|
6
27
|
theme
|
|
7
28
|
}) => ({
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React__default, { useState, useEffect } from "react";
|
|
2
|
-
import { useEnvironment } from "@m4l/core";
|
|
3
2
|
import { styled, generateUtilityClasses, generateUtilityClass, Skeleton } from "@mui/material";
|
|
4
|
-
import { u as useSideBar, g as getNameDataTestId$1 } from "../SideBar/index.58d29b84.js";
|
|
5
|
-
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
6
|
-
import { jsx } from "react/jsx-runtime";
|
|
7
|
-
import { unstable_composeClasses } from "@mui/base";
|
|
8
3
|
import clsx from "clsx";
|
|
9
4
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
import { useEnvironment } from "@m4l/core";
|
|
7
|
+
import { u as useSideBar, g as getNameDataTestId$1 } from "../SideBar/index.f322ee0b.js";
|
|
8
|
+
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
9
|
+
import { unstable_composeClasses } from "@mui/base";
|
|
10
10
|
const IconRoot = styled("div")(({
|
|
11
11
|
theme
|
|
12
12
|
}) => ({
|
|
@@ -3,10 +3,10 @@ import { forwardRef, useState, useRef, useImperativeHandle, useEffect, useMemo }
|
|
|
3
3
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
4
4
|
import { jsx, Fragment, jsxs } from "react/jsx-runtime";
|
|
5
5
|
import { styled, Skeleton as Skeleton$1, generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
6
|
-
import { unstable_composeClasses } from "@mui/base";
|
|
7
6
|
import clsx from "clsx";
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
7
|
+
import { unstable_composeClasses } from "@mui/base";
|
|
8
|
+
import { c as classes, g as getSize } from "../PrintingSystem/index.73dd98b3.js";
|
|
9
|
+
import { Q as QRCode } from "../../node_modules.56dca1cf.js";
|
|
10
10
|
function isIntersectionObserverAvailable() {
|
|
11
11
|
return typeof window !== "undefined" && "IntersectionObserver" in window && "IntersectionObserverEntry" in window;
|
|
12
12
|
}
|
|
@@ -1,14 +1,30 @@
|
|
|
1
1
|
import { useState, useEffect } from "react";
|
|
2
2
|
import { styled, generateUtilityClasses, generateUtilityClass, Stack, MenuItem } from "@mui/material";
|
|
3
|
-
import { I as Image } from "../Image/index.
|
|
3
|
+
import { I as Image } from "../Image/index.cf640615.js";
|
|
4
4
|
import { useLocales } from "@m4l/graphics";
|
|
5
|
-
import { I as ImageButton } from "../mui_extended/Button/index.570fd3a4.js";
|
|
6
5
|
import { useEnvironment, useNetwork } from "@m4l/core";
|
|
7
|
-
import
|
|
6
|
+
import "../Icon/index.29065051.js";
|
|
8
7
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
8
|
+
import "clsx";
|
|
9
9
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
10
|
+
import "../mui_extended/IconButton/index.e295aa1f.js";
|
|
11
|
+
import "../mui_extended/Accordion/index.3e247bd4.js";
|
|
12
|
+
import "../mui_extended/Typography/index.443590d6.js";
|
|
13
|
+
import "../mui_extended/Avatar/index.75e6ed57.js";
|
|
14
|
+
import "react-router-dom";
|
|
15
|
+
import "@mui/material/Button";
|
|
16
|
+
import { I as ImageButton } from "../mui_extended/Button/index.f538e360.js";
|
|
17
|
+
import "../mui_extended/CheckBox.38abccd8.js";
|
|
10
18
|
import { C as CircularProgress } from "../mui_extended/CircularProgress/index.ad569afd.js";
|
|
11
|
-
import
|
|
19
|
+
import "../mui_extended/Badge/index.b09524fe.js";
|
|
20
|
+
import "@mui/lab";
|
|
21
|
+
import "../mui_extended/MenuActions/index.9b37fadc.js";
|
|
22
|
+
import { P as Popover } from "../mui_extended/Popover/index.9f35d0eb.js";
|
|
23
|
+
import "../mui_extended/Stack/index.0e53197c.js";
|
|
24
|
+
import "../mui_extended/Tab/index.4c797c00.js";
|
|
25
|
+
import "../mui_extended/Pager/index.78dea971.js";
|
|
26
|
+
import "../mui_extended/Tooltip/index.5a795dcd.js";
|
|
27
|
+
import { unstable_composeClasses } from "@mui/base";
|
|
12
28
|
const LanguagePopoverRoot = styled("div")(({
|
|
13
29
|
theme
|
|
14
30
|
}) => ({
|