@m4l/components 9.4.30 → 9.4.31
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/augmentations.d.ts +1 -31
- package/@types/augmentations.d.ts.map +1 -1
- package/components/DynamicFilter/store/DynamicFilterContext.js +66 -281
- package/components/DynamicFilter/subcomponents/FieldTypes/SelectAsyncFilter/index.js +3 -2
- package/components/DynamicFilter/subcomponents/FieldTypes/SelectFilter/index.js +3 -2
- package/components/DynamicSort/dictionary.js +7 -6
- package/components/DynamicSort/store/DynamicSortContext.js +47 -263
- package/components/MFIsolationApp/MFIsolationApp.d.ts.map +1 -1
- package/components/MFIsolationApp/MFIsolationApp.js +18 -17
- package/components/MFIsolationAppStorybook/MFIsolationAppStorybook.d.ts.map +1 -1
- package/components/MFIsolationAppStorybook/MFIsolationAppStorybook.js +10 -9
- package/components/MFIsolationAppStorybook/index.d.ts +3 -0
- package/components/MFIsolationAppStorybook/index.d.ts.map +1 -1
- package/components/MFIsolationAppStorybook/subcomponents/MFAppStorybook/MFAppStorybook.d.ts +6 -0
- package/components/MFIsolationAppStorybook/subcomponents/MFAppStorybook/MFAppStorybook.d.ts.map +1 -0
- package/components/MFIsolationAppStorybook/subcomponents/{MFAuthAppStorybook/MFAuthAppStorybook.js → MFAppStorybook/MFAppStorybook.js} +1 -1
- package/components/MFIsolationAppStorybook/subcomponents/MFAppStorybook/index.d.ts +2 -0
- package/components/MFIsolationAppStorybook/subcomponents/{MFAuthAppStorybook → MFAppStorybook}/index.d.ts.map +1 -1
- package/components/MFIsolationAppStorybook/subcomponents/MFAppStorybook/types.d.ts.map +1 -0
- package/components/NoItemPrivileges/NoItemPrivileges.js +12 -228
- package/components/ObjectLogs/hooks/useObjectLogsColumns.js +19 -156
- package/components/ObjectLogs/subcomponents/ObjectLogsByM4L/ObjectLogsByM4L.js +8 -145
- package/components/ObjectLogs/subcomponents/ObjectLogsByOthers/ObjectLogsByOthers.js +8 -145
- package/components/Stepper/subcomponents/StepArea/subcomponents/Inidicator/index.js +12 -192
- package/components/areas/components/AreasAdmin/subcomponents/AreaChip/AreaChip.js +1 -0
- package/components/areas/components/AreasAdmin/subcomponents/AreaChipMobile/subcomponents/ChipMobile/ChipMobile.js +1 -0
- package/components/areas/components/AreasViewer/AreasViewer.js +8 -187
- package/components/datagrids/formatters/ColumnBooleanFormatter/ColumnBooleanGroupFormatter.js +2 -166
- package/components/datagrids/formatters/ColumnBooleanFormatter/formatter.js +2 -166
- package/components/datagrids/formatters/ColumnColorFormatter/ColumnColorGroupFormatter.js +2 -167
- package/components/datagrids/formatters/ColumnColorFormatter/formatter.js +2 -167
- package/components/datagrids/formatters/ColumnConcatenatedValuesFormatter/ColumnConcatenatedValuesGroupFormatter.js +2 -166
- package/components/datagrids/formatters/ColumnConcatenatedValuesFormatter/formatter.js +2 -166
- package/components/datagrids/formatters/ColumnDateFormatter/ColumnDateGroupFormatter.js +2 -166
- package/components/datagrids/formatters/ColumnDateFormatter/formatter.js +2 -166
- package/components/datagrids/formatters/ColumnImageFormatter/ColumnImageGroupFormatter.js +2 -166
- package/components/datagrids/formatters/ColumnImageFormatter/ImageFormatterCell.js +7 -170
- package/components/datagrids/formatters/ColumnUncertaintyFormatter/ColumnUncertaintyGroupFormatter.js +2 -166
- package/components/datagrids/formatters/ColumnUncertaintyFormatter/formatter.js +2 -166
- package/components/datagrids/views/CardsView/hooks/useCardContent/useCardContent.js +36 -216
- package/components/datagrids/views/CardsView/subcomponents/CardDetails/CardDetails.js +36 -216
- package/components/datagrids/views/CardsView/subcomponents/Settings/subcomponents/ColumnsConfig/ColumnsConfig.js +122 -278
- package/components/datagrids/views/TableView/subcomponents/Settings/subcomponents/ColumnsConfig/ColumnsConfig.js +127 -284
- package/components/extended/index.d.ts +1 -0
- package/components/extended/index.d.ts.map +1 -1
- package/components/extended/rsuite/DateRangePicker/DateRangePicker.d.ts +38 -0
- package/components/extended/rsuite/DateRangePicker/DateRangePicker.d.ts.map +1 -0
- package/components/extended/rsuite/DateRangePicker/DateRangePicker.js +67 -0
- package/components/extended/rsuite/DateRangePicker/DateRangePicker.styles.d.ts +7 -0
- package/components/extended/rsuite/DateRangePicker/DateRangePicker.styles.d.ts.map +1 -0
- package/components/extended/rsuite/DateRangePicker/DateRangePicker.styles.js +83 -0
- package/components/extended/rsuite/DateRangePicker/constants.d.ts +13 -0
- package/components/extended/rsuite/DateRangePicker/constants.d.ts.map +1 -0
- package/components/extended/rsuite/DateRangePicker/constants.js +10 -0
- package/components/extended/rsuite/DateRangePicker/hooks/useDateRangePicker/types.d.ts +12 -0
- package/components/extended/rsuite/DateRangePicker/hooks/useDateRangePicker/types.d.ts.map +1 -0
- package/components/extended/rsuite/DateRangePicker/hooks/useDateRangePicker/useDateRangePicker.d.ts +10 -0
- package/components/extended/rsuite/DateRangePicker/hooks/useDateRangePicker/useDateRangePicker.d.ts.map +1 -0
- package/components/extended/rsuite/DateRangePicker/hooks/useDateRangePicker/useDateRangePicker.js +24 -0
- package/components/extended/rsuite/DateRangePicker/index.d.ts +3 -0
- package/components/extended/rsuite/DateRangePicker/index.d.ts.map +1 -0
- package/components/extended/rsuite/DateRangePicker/slots/DateRangePickerEnum.d.ts +5 -0
- package/components/extended/rsuite/DateRangePicker/slots/DateRangePickerEnum.d.ts.map +1 -0
- package/components/extended/rsuite/DateRangePicker/slots/DateRangePickerEnum.js +4 -0
- package/components/extended/rsuite/DateRangePicker/slots/DateRangePickerSlots.d.ts +15 -0
- package/components/extended/rsuite/DateRangePicker/slots/DateRangePickerSlots.d.ts.map +1 -0
- package/components/extended/rsuite/DateRangePicker/slots/DateRangePickerSlots.js +18 -0
- package/components/extended/rsuite/DateRangePicker/slots/index.d.ts +4 -0
- package/components/extended/rsuite/DateRangePicker/slots/index.d.ts.map +1 -0
- package/components/extended/rsuite/DateRangePicker/types.d.ts +83 -0
- package/components/extended/rsuite/DateRangePicker/types.d.ts.map +1 -0
- package/components/extended/rsuite/index.d.ts +2 -0
- package/components/extended/rsuite/index.d.ts.map +1 -0
- package/components/formatters/TagsFormatter/TagsFormatter.js +2 -182
- package/components/hook-form/RHFDateRangePicker/RHFDateRangePicker.d.ts +29 -0
- package/components/hook-form/RHFDateRangePicker/RHFDateRangePicker.d.ts.map +1 -0
- package/components/hook-form/RHFDateRangePicker/RHFDateRangePicker.js +6 -0
- package/components/hook-form/RHFDateRangePicker/index.d.ts +3 -0
- package/components/hook-form/RHFDateRangePicker/index.d.ts.map +1 -0
- package/components/hook-form/RHFDateTimePicker/RHFDateTimePicker.js +3 -2
- package/components/hook-form/index.d.ts +1 -0
- package/components/hook-form/index.d.ts.map +1 -1
- package/hooks/useDataGridPersistence/useDataGridPersistence.d.ts +2 -1
- package/hooks/useDataGridPersistence/useDataGridPersistence.d.ts.map +1 -1
- package/hooks/useDataGridPersistence/useDataGridPersistence.js +33 -254
- package/index.js +333 -327
- package/package.json +13 -12
- package/components/MFIsolationAppStorybook/subcomponents/MFAuthAppStorybook/MFAuthAppStorybook.d.ts +0 -6
- package/components/MFIsolationAppStorybook/subcomponents/MFAuthAppStorybook/MFAuthAppStorybook.d.ts.map +0 -1
- package/components/MFIsolationAppStorybook/subcomponents/MFAuthAppStorybook/index.d.ts +0 -2
- package/components/MFIsolationAppStorybook/subcomponents/MFAuthAppStorybook/types.d.ts.map +0 -1
- package/mockServiceWorker.js +0 -349
- /package/components/MFIsolationAppStorybook/subcomponents/{MFAuthAppStorybook → MFAppStorybook}/types.d.ts +0 -0
|
@@ -1,308 +1,92 @@
|
|
|
1
1
|
import { jsx as D } from "@emotion/react/jsx-runtime";
|
|
2
2
|
import { useModuleDictionary as I } from "@m4l/core";
|
|
3
|
-
import { createContext as b, forwardRef as O, useRef as A, useImperativeHandle as T, useEffect as
|
|
4
|
-
import { useStore as
|
|
5
|
-
import { shallow as
|
|
6
|
-
import "../../../contexts/ModalContext/index.js";
|
|
7
|
-
import "../../WindowConfirm/slots/WindowConfirmSlots.js";
|
|
3
|
+
import { createContext as b, forwardRef as O, useRef as A, useImperativeHandle as T, useEffect as u } from "react";
|
|
4
|
+
import { useStore as r } from "zustand";
|
|
5
|
+
import { shallow as o } from "zustand/shallow";
|
|
8
6
|
import { useComponentSize as j } from "../../../hooks/useComponentSize/useComponentSize.js";
|
|
9
|
-
import "../../../contexts/AppearanceComponentContext/AppearanceComponentContext.js";
|
|
10
|
-
import "clsx";
|
|
11
|
-
import "../../WindowBase/slots/WindowBaseSlots.js";
|
|
12
|
-
import "../../WindowBase/constants.js";
|
|
13
|
-
import "../../DragResizeWindowRND/classes/index.js";
|
|
14
|
-
import "../../extended/mui/IconButton/IconButton.js";
|
|
15
|
-
import "fast-equals";
|
|
16
|
-
import "@m4l/graphics";
|
|
17
|
-
import "../../WindowBase/subcomponents/MemoizedIconButton/MemoizedIconButton.js";
|
|
18
|
-
import "../../ActionsGroup/slots/ActionsGroupSlots.js";
|
|
19
|
-
import "../../ActionsGroup/constants.js";
|
|
20
|
-
import "@m4l/styles";
|
|
21
|
-
import "../../extended/mui/Tooltip/slots/TooltipSlots.js";
|
|
22
|
-
import "../../extended/mui/Tooltip/constants.js";
|
|
23
|
-
import "../../Icon/constants.js";
|
|
24
|
-
import "../../Icon/slots/IconSlots.js";
|
|
25
|
-
import "../../WindowBase/contexts/WindowToolsMFContext/WindowToolsMFContext.js";
|
|
26
|
-
import "../../WindowBase/contexts/DynamicMFParmsContext/DynamicMFParmsContext.js";
|
|
27
|
-
import "zustand/middleware/immer";
|
|
28
|
-
import "../../extended/mui/TabContext/index.js";
|
|
29
|
-
import "../../../hooks/useSvgColor/constants.js";
|
|
30
|
-
import "react-hook-form";
|
|
31
|
-
import "../../DynamicFilter/DynamicFilter.js";
|
|
32
|
-
import "../DynamicSort.js";
|
|
33
|
-
import "../../extended/mui/ToggleIconButton/slots/ToggleIconButtonSlots.js";
|
|
34
|
-
import "../../../hooks/useDynamicFilterAndSort/slots/DynamicFilterAndSortSlots.js";
|
|
35
|
-
import "../../CommonActions/components/ActionsContainer/ActionsContainer.js";
|
|
36
|
-
import "../../CommonActions/components/ActionCancel/ActionCancel.js";
|
|
37
|
-
import "../../CommonActions/components/ActionIntro/ActionIntro.js";
|
|
38
|
-
import "../../CommonActions/components/ActionFormCancel/slots/ActionFormCancelSlots.js";
|
|
39
|
-
import "../../CommonActions/components/ActionFormIntro/slots/ActionFormIntroSlots.js";
|
|
40
|
-
import "../../CommonActions/components/ActionFormSubmitProgrammatic/slots/ActionFormSubmitProgrammaticSlots.js";
|
|
41
|
-
import "../../AccountPopover/slots/AccountPopoverSlots.js";
|
|
42
|
-
import "@mui/material";
|
|
43
|
-
import "../../animate/IconButtonAnimate/index.js";
|
|
44
|
-
import "framer-motion";
|
|
45
|
-
import "@mui/material/styles";
|
|
46
|
-
import "../../animate/LoadingScreen/styles.js";
|
|
47
|
-
import "../../animate/AnimatedScroll/styles.js";
|
|
48
|
-
import "../../AppBar/slots/AppBarSlots.js";
|
|
49
|
-
import "../../areas/contexts/AreasContext/index.js";
|
|
50
|
-
import "../../areas/components/AreasAdmin/subcomponents/AreaChip/AreaChip.js";
|
|
51
|
-
import "../../areas/components/AreasAdmin/subcomponents/AreaChipMobile/subcomponents/ChipMobile/ChipMobile.js";
|
|
52
|
-
import "../../areas/components/AreasAdmin/slots/AreasAdminSlots.js";
|
|
53
|
-
import "../../extended/mui/Typography/Typography.js";
|
|
54
|
-
import "../../MenuActions/MenuActions.js";
|
|
55
|
-
import "../../areas/components/AreasViewer/AreasViewer.js";
|
|
56
|
-
import "../../Card/slots/CardSlots.js";
|
|
57
|
-
import "../../Card/constants.js";
|
|
58
|
-
import "../../CheckableList/constants.js";
|
|
59
|
-
import "../../CheckableList/slots/styled.js";
|
|
60
|
-
import "../../extended/mui/Skeleton/Slots/skeletonSlots.js";
|
|
61
|
-
import "../../ImageText/slots/ImageTextSlots.js";
|
|
62
|
-
import "../../ImageText/constants.js";
|
|
63
|
-
import "lodash-es/throttle";
|
|
64
|
-
import "../../Chip/Chip.js";
|
|
65
|
-
import "../../commercial/AppBarCommercial/classes/index.js";
|
|
66
|
-
import "../../commercial/AppBarCommercial/styles.js";
|
|
67
|
-
import "../../commercial/HamburgerMenu/styles.js";
|
|
68
|
-
import "../../commercial/HamburgerMenu/classes/index.js";
|
|
69
|
-
import "../../SideBar/SideBar.js";
|
|
70
|
-
import "../../commercial/TopBar/classes/index.js";
|
|
71
|
-
import "../../commercial/TopBar/context/index.js";
|
|
72
|
-
import "../../extended/mui/Popover/slots/PopoverSlots.js";
|
|
73
|
-
import "../../extended/mui/Accordion/Accordion.js";
|
|
74
|
-
import "../../extended/mui/Button/Button.js";
|
|
75
|
-
import "../../commercial/TopBar/component/ConteinItem/subcomponets/NavItem/subcomponents/ArrowIcon/styles.js";
|
|
76
|
-
import "../../commercial/TopBar/style.js";
|
|
77
|
-
import "../../commercial/SectionCommercial/classes/index.js";
|
|
78
|
-
import "../../commercial/SectionCommercial/styles.js";
|
|
79
|
-
import "../../ContainerFlow/constants.js";
|
|
80
|
-
import "../../ContainerFlow/slots/ContainerFlowSlots.js";
|
|
81
|
-
import "../../datagrids/contexts/FilterContext/FilterContext.js";
|
|
82
|
-
import "../../datagrids/contexts/DataGridContext/DataGridContext.js";
|
|
83
|
-
import "@m4l/icons";
|
|
84
|
-
import "../../datagrids/slots/DataGridSlot.js";
|
|
85
|
-
import "../../datagrids/views/TableView/subcomponents/Settings/subcomponents/ColumnsConfig/ColumnsConfig.js";
|
|
86
|
-
import "../../datagrids/views/CardsView/subcomponents/Settings/subcomponents/ColumnsConfig/ColumnsConfig.js";
|
|
87
|
-
import "../../Pager/slots/PagerSlots.js";
|
|
88
|
-
import "../../extended/mui/Select/Select.js";
|
|
89
|
-
import "../../datagrids/views/CardsView/subcomponents/CardRow/CardRow.js";
|
|
90
|
-
import "react-data-grid";
|
|
91
|
-
import "react-dnd";
|
|
92
|
-
import "react-dnd-html5-backend";
|
|
93
|
-
import "../../datagrids/views/TableView/subcomponents/CheckboxFormatter/CheckboxFormatter.js";
|
|
94
|
-
import "../../datagrids/views/TableView/subcomponents/ActionsColumn/ActionsColumn.js";
|
|
95
|
-
import "../../datagrids/views/TableView/subcomponents/RadioSelectColumn/subcomponents/RadioFormatter/RadioFormatter.js";
|
|
96
|
-
import "../../extended/mui/MenuItem/constants.js";
|
|
97
|
-
import "../../extended/mui/MenuItem/slots/MenuItemSlots.js";
|
|
98
|
-
import "../../extended/mui/MenuDivider/slots/MenuDividerSlots.js";
|
|
99
|
-
import "../../formatters/BooleanFormatter/slots/BooleanFormatterSlots.js";
|
|
100
|
-
import "../../formatters/ChipStatusFormatter/slots/ChipStatusFormatterSlots.js";
|
|
101
|
-
import "../../formatters/ChipStatusFormatter/constants.js";
|
|
102
|
-
import "../../formatters/DateFormatter/slots/DateFormatterSlots.js";
|
|
103
|
-
import "../../formatters/UncertaintyFormatter/slots/UncertaintyFormatterSlots.js";
|
|
104
|
-
import "../../formatters/PointsFormatter/slots/ointsFormatterSlots.js";
|
|
105
|
-
import "../../formatters/ConcatenatedFormatter/slots/ConcatenatedFormatterSlots.js";
|
|
106
|
-
import "../../formatters/PeriodFormatter/slots/PeriodFormatterSlots.js";
|
|
107
|
-
import "../../formatters/PriceFormatter/slots/PriceFormatterSlots.js";
|
|
108
|
-
import "../../formatters/DistanceToNowFormatter/slots/DistanceToNowFormatterSlots.js";
|
|
109
|
-
import "../../formatters/TagsFormatter/slots/TagsFormatterSlots.js";
|
|
110
|
-
import "../../formatters/TagsFormatter/constants.js";
|
|
111
|
-
import "../../Color/slots/ColorSlots.js";
|
|
112
|
-
import "../../formatters/ColorFormatter/slots/ColorFormatterSlots.js";
|
|
113
|
-
import "../../formatters/ImageFormatter/slots/ImageFormatterSlots.js";
|
|
114
|
-
import "../../formatters/ImageFormatter/constants.js";
|
|
115
|
-
import "../../formatters/IconsFormatter/constants.js";
|
|
116
|
-
import "../../formatters/IconsFormatter/slots/IconsFormatterSlots.js";
|
|
117
|
-
import "../../extended/mui/CheckBox/CheckBox.js";
|
|
118
|
-
import "../../datagrids/views/adapters/CheckboxCellAdapter/CheckboxCellAdapter.js";
|
|
119
|
-
import "../../DaysOfWeekPicker/DaysOfWeekPicker.js";
|
|
120
|
-
import "../../DragResizeWindowRND/DragResizeWindowRND.js";
|
|
121
|
-
import "../../DaysOfMonthPicker/DaysOfMonthPicker.js";
|
|
122
|
-
import "lodash-es/snakeCase";
|
|
123
|
-
import "lodash-es/camelCase";
|
|
124
|
-
import "../../HelperError/HelperError.js";
|
|
125
|
-
import "../../extended/mui/Autocomplete/Autocomplete.js";
|
|
126
|
-
import "../../hook-form/RHFAutocomplete/slots/RHFAutocompleteSlots.js";
|
|
127
|
-
import "../../hook-form/RHFAutocomplete/constants.js";
|
|
128
|
-
import "../../Label/slots/LabelSlots.js";
|
|
129
|
-
import "../../hook-form/RHFColorPicker/slots/RHFColorPickerSlots.js";
|
|
130
|
-
import "lodash-es/debounce";
|
|
131
|
-
import "../../hook-form/RHFCheckbox/RHFCheckbox.js";
|
|
132
|
-
import "../../hook-form/RHFCheckableList/constants.js";
|
|
133
|
-
import "../../hook-form/RHFCheckableList/slots/RHFCheckableListSlots.js";
|
|
134
|
-
import "../../extended/mui/DateTimePicker/slots/DateTimePickerSlots.js";
|
|
135
|
-
import "../../hook-form/RHFDateTime/slots/RHFDateTimeSlots.js";
|
|
136
|
-
import "../../extended/mui/DatePicker/slots/DatePickerSlots.js";
|
|
137
|
-
import "../../extended/mui/DatePicker/constants.js";
|
|
138
|
-
import "../../hook-form/RHFDatePicker/slots/RHFDatePickerSlots.js";
|
|
139
|
-
import "../../hook-form/RHFDaysOfWeekPicker/RHFDaysOfWeekPicker.js";
|
|
140
|
-
import "../../hook-form/RHFDaysOfMonthPicker/RHFDaysOfMonthPicker.js";
|
|
141
|
-
import "../../hook-form/RHFSelect/constants.js";
|
|
142
|
-
import "../../hook-form/RHFSelect/slots/RHFSlots.js";
|
|
143
|
-
import "../../hook-form/RHFTextField/RHFTextField.js";
|
|
144
|
-
import "../../hook-form/RHFTextFieldPassword/slots/RHFTextFieldPasswordSlots.js";
|
|
145
|
-
import "../../hook-form/RHFPeriod/slots/RHFPeriodSlots.js";
|
|
146
|
-
import "../../extended/mui/Radio/Radio.js";
|
|
147
|
-
import "../../hook-form/RHFRadioGroup/slots/styled.js";
|
|
148
|
-
import "../../hook-form/RHFRadioGroup/constants.js";
|
|
149
|
-
import "@mui/material/utils/useId";
|
|
150
|
-
import "../../NumberInput/NumberInput.js";
|
|
151
|
-
import "../../hook-form/RHFNumberInput/slots/RHFNumberInputSlots.js";
|
|
152
|
-
import "react-dropzone";
|
|
153
|
-
import "../../hook-form/RHFUpload/RHFUploadSingleFile/slots/RHFUploadSingleFileSlots.js";
|
|
154
|
-
import "../../hook-form/RHFUpload/RHFUploadSingleFile/constants.js";
|
|
155
|
-
import "../../hook-form/RHFUpload/RHFUploadImage/slots/RHFUploadImageSlots.js";
|
|
156
|
-
import "lodash-es/isString";
|
|
157
|
-
import "../../Image/subcomponents/IntersectComponent/index.js";
|
|
158
|
-
import "../../Image/slots/ImageSlots.js";
|
|
159
|
-
import "../../Image/constant.js";
|
|
160
|
-
import "../../hook-form/RHFormProvider/RHFormProvider.js";
|
|
161
|
-
import "yup";
|
|
162
|
-
import "../../hook-form/RHFActionsGroup/slots/RHFActionsGroupSlots.js";
|
|
163
|
-
import "../../hook-form/RHFActionsGroup/constants.js";
|
|
164
|
-
import "../../extended/React-Resizable/Resizable/slots/ResizableSlots.js";
|
|
165
|
-
import "../../extended/React-Resizable/ResizableBox/slots/ResizableBoxSlots.js";
|
|
166
|
-
import "../../extended/React-resizable-panels/slots/SplitLayoutSlots.js";
|
|
167
|
-
import "../../extended/React-Spinners/PropagateLoaderSpinner/slots/PropagateLoaderSpinnerSlots.js";
|
|
168
|
-
import "../../extended/React-Window/FixedSizeList/slots/FixedSizeListSlots.js";
|
|
169
|
-
import "../../extended/React-Window/VariableSizeList/VariableSizeList.js";
|
|
170
|
-
import "@textea/json-viewer";
|
|
171
|
-
import "../../extended/React-Json-Viewer/slots/ReactJsonViewerSlots.js";
|
|
172
|
-
import "../../extended/React-Json-Viewer/constants.js";
|
|
173
|
-
import "../../extended/mui/Avatar/Avatar.js";
|
|
174
|
-
import "react-router-dom";
|
|
175
|
-
import "../../extended/mui/CircularProgress/slots/CircularProgressSlots.js";
|
|
176
|
-
import "../../extended/mui/Badge/slots/BadgeSlots.js";
|
|
177
|
-
import "../../extended/mui/ImageButton/styles.js";
|
|
178
|
-
import "../../extended/mui/ImageButton/utils/Clases/index.js";
|
|
179
|
-
import "../../extended/mui/LoadingButton/slots/LoadingButtonSlots.js";
|
|
180
|
-
import "../../extended/mui/Stack/Stack.js";
|
|
181
|
-
import "../../extended/mui/Tab/Slots/TabSlots.js";
|
|
182
|
-
import "../../extended/mui/Tabs/slots/TabsSlots.js";
|
|
183
|
-
import "../../extended/mui/TabContent/slots/TabContentSlots.js";
|
|
184
|
-
import "../../extended/mui/ToggleButton/slots/ToggleButtonSlots.js";
|
|
185
|
-
import "../../extended/mui/NavLink/slots/NavLinkSlots.js";
|
|
186
|
-
import "../../extended/mui/NavLink/constants.js";
|
|
187
|
-
import "../../extended/mui/Dialog/Dialog.js";
|
|
188
|
-
import "../../extended/mui/Divider/slots/DividerSlots.js";
|
|
189
|
-
import "../../FormContainer/slots/FormContainerSlots.js";
|
|
190
|
-
import "../../FormContainer/constants.js";
|
|
191
|
-
import "../../GridLayout/GridLayout.js";
|
|
192
|
-
import "../../GridLayout/subcomponents/Responsive/index.js";
|
|
193
|
-
import "../../HelmetPage/index.js";
|
|
194
|
-
import "../../LanguagePopover/slots/LanguagePopoverSlots.js";
|
|
195
|
-
import "../../LinearProgressIndeterminate/slots/LinearProgressIndeterminateSlots.js";
|
|
196
|
-
import "../../LoadingError/slots/LoadingErrorSlots.js";
|
|
197
|
-
import "../../MFIsolationApp/MFIsolationApp.js";
|
|
198
|
-
import "../../MFIsolationAppStorybook/MFIsolationAppStorybook.js";
|
|
199
|
-
import "../../MFLoader/classes/index.js";
|
|
200
|
-
import "../../MFLoader/styles.js";
|
|
201
|
-
import "../../NoItemSelected/constant.js";
|
|
202
|
-
import "../../NoItemSelected/slots/NoItemSelectedSlots.js";
|
|
203
|
-
import "../../NoItemPrivileges/constants.js";
|
|
204
|
-
import "../../NoItemPrivileges/slots/NoItemPrivilegesSlots.js";
|
|
205
|
-
import "../../ObjectLogs/slots/ObjectLogsSlots.js";
|
|
206
|
-
import "date-fns";
|
|
207
|
-
import "../../PaperForm/slots/PaperFormSlots.js";
|
|
208
|
-
import "../../PropertyValue/slots/PropertyValueSlots.js";
|
|
209
|
-
import "../../PDFViewer/slots/PDFViewerSlots.js";
|
|
210
|
-
import "../../popups/components/PopupsProvider/contexts/PopupsContext/PopupsContext.js";
|
|
211
|
-
import "../../popups/components/PopupsViewer/PopupsViewer.js";
|
|
212
|
-
import "../../PrintingSystem/PrintingSystem.js";
|
|
213
|
-
import "../../ScrollBar/slots/ScrollBarSlots.js";
|
|
214
|
-
import "react-toastify";
|
|
215
|
-
import "../../ToastContainer/slots/toastContainerSlots.js";
|
|
216
|
-
import "../../TabsNavigator/slots/TabsNavigatorSlots.js";
|
|
217
|
-
import "../../TabsNavigator/constants.js";
|
|
218
|
-
import "../../ModalDialog/slots/ModalDialogSlots.js";
|
|
219
|
-
import "../../SettingsLayout/slots/SettingsLayoutSlots.js";
|
|
220
|
-
import "../../SettingsLayout/constants.js";
|
|
221
|
-
import "../../Stepper/store/StepperContext/index.js";
|
|
222
|
-
import "../../Stepper/slots/StepperSlot.js";
|
|
223
7
|
import { formatToInitialSorts as N } from "../helpers/formatToInitialSorts.js";
|
|
224
8
|
import { formatToRowSort as P } from "../helpers/formatToRowSort.js";
|
|
225
9
|
import { createDynamicSortStore as V } from "./DynamicSortStore.js";
|
|
226
|
-
const H = b(null),
|
|
227
|
-
(
|
|
10
|
+
const H = b(null), Q = O(
|
|
11
|
+
(m, l) => {
|
|
228
12
|
const {
|
|
229
|
-
automatic:
|
|
230
|
-
fields:
|
|
231
|
-
initialAppliedSorts:
|
|
232
|
-
onChangeSorts:
|
|
13
|
+
automatic: S = !0,
|
|
14
|
+
fields: d,
|
|
15
|
+
initialAppliedSorts: f = [],
|
|
16
|
+
onChangeSorts: p,
|
|
233
17
|
dataTestId: g = "",
|
|
234
|
-
size:
|
|
18
|
+
size: i = "medium",
|
|
235
19
|
storeId: h,
|
|
236
20
|
storeDevtoolsEnabled: v,
|
|
237
|
-
visibleRefresh:
|
|
21
|
+
visibleRefresh: n = !0,
|
|
238
22
|
children: y
|
|
239
|
-
} =
|
|
23
|
+
} = m, { currentSize: s } = j(i), a = s === "small" || s === "medium" ? s : "medium", { getLabel: C } = I(), t = A(null);
|
|
240
24
|
t.current || (t.current = V(
|
|
241
25
|
{
|
|
242
|
-
fields:
|
|
243
|
-
automatic:
|
|
26
|
+
fields: d,
|
|
27
|
+
automatic: S,
|
|
244
28
|
getLabel: C,
|
|
245
29
|
dataTestId: g,
|
|
246
|
-
size:
|
|
30
|
+
size: i,
|
|
247
31
|
storeId: h,
|
|
248
|
-
visibleRefresh:
|
|
32
|
+
visibleRefresh: n,
|
|
249
33
|
ownerState: {
|
|
250
34
|
isDirty: !1,
|
|
251
35
|
inEdition: !1,
|
|
252
36
|
isValid: !0,
|
|
253
37
|
isEmpty: !0,
|
|
254
|
-
size:
|
|
38
|
+
size: i
|
|
255
39
|
}
|
|
256
40
|
},
|
|
257
41
|
v
|
|
258
|
-
), t.current.getState().actions.init(
|
|
259
|
-
const x =
|
|
42
|
+
), t.current.getState().actions.init(f));
|
|
43
|
+
const x = r(
|
|
260
44
|
t.current,
|
|
261
|
-
(
|
|
262
|
-
|
|
263
|
-
), E =
|
|
45
|
+
(e) => e.actions.fireOnChangeSorts,
|
|
46
|
+
o
|
|
47
|
+
), E = r(
|
|
264
48
|
t.current,
|
|
265
|
-
(
|
|
266
|
-
|
|
267
|
-
), R =
|
|
49
|
+
(e) => e.actions.addExternalSort,
|
|
50
|
+
o
|
|
51
|
+
), R = r(
|
|
268
52
|
t.current,
|
|
269
|
-
(
|
|
270
|
-
|
|
271
|
-
), w =
|
|
53
|
+
(e) => e.actions.removeExternalSort,
|
|
54
|
+
o
|
|
55
|
+
), w = r(
|
|
272
56
|
t.current,
|
|
273
|
-
(
|
|
274
|
-
|
|
275
|
-
), z =
|
|
57
|
+
(e) => e.actions.getNewId,
|
|
58
|
+
o
|
|
59
|
+
), z = r(
|
|
276
60
|
t.current,
|
|
277
|
-
(
|
|
278
|
-
|
|
61
|
+
(e) => () => e.appliedSorts,
|
|
62
|
+
o
|
|
279
63
|
);
|
|
280
|
-
T(
|
|
64
|
+
T(l, () => ({
|
|
281
65
|
fireOnChangeSort: x,
|
|
282
66
|
addExternalSort: E,
|
|
283
67
|
removeExternalSort: R,
|
|
284
68
|
getNewId: w,
|
|
285
69
|
getCurrentSorts: z
|
|
286
70
|
}));
|
|
287
|
-
const
|
|
71
|
+
const c = r(
|
|
288
72
|
t.current,
|
|
289
|
-
(
|
|
290
|
-
|
|
73
|
+
(e) => e.countOnChangeSortsApplyed,
|
|
74
|
+
o
|
|
291
75
|
);
|
|
292
|
-
return
|
|
293
|
-
if (
|
|
76
|
+
return u(() => {
|
|
77
|
+
if (c === 0)
|
|
294
78
|
return;
|
|
295
|
-
const
|
|
296
|
-
|
|
297
|
-
N(
|
|
298
|
-
P(
|
|
79
|
+
const e = t.current?.getState();
|
|
80
|
+
e && p?.(
|
|
81
|
+
N(e.appliedSorts),
|
|
82
|
+
P(e.appliedSorts)
|
|
299
83
|
);
|
|
300
|
-
}, [
|
|
301
|
-
t.current?.getState().size !==
|
|
302
|
-
}, [
|
|
84
|
+
}, [c]), u(() => {
|
|
85
|
+
t.current?.getState().size !== a && t.current?.getState().actions.setSize(a), t.current?.getState().visibleRefresh !== n && t.current?.getState().actions.setVisibleRefresh(n);
|
|
86
|
+
}, [a, n]), /* @__PURE__ */ D(H.Provider, { value: t.current, children: y });
|
|
303
87
|
}
|
|
304
88
|
);
|
|
305
89
|
export {
|
|
306
90
|
H as DynamicSortContext,
|
|
307
|
-
|
|
91
|
+
Q as DynamicSortProvider
|
|
308
92
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MFIsolationApp.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/MFIsolationApp/MFIsolationApp.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MFIsolationApp.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/MFIsolationApp/MFIsolationApp.tsx"],"names":[],"mappings":"AAKA,OAAO,wBAAwB,CAAC;AAchC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAWnD;;GAEG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,mBAAmB,oDAqJxD"}
|
|
@@ -4,17 +4,18 @@ import { unstable_HistoryRouter as R } from "react-router-dom";
|
|
|
4
4
|
import { createBrowserHistory as Z } from "history";
|
|
5
5
|
import q from "eventemitter3";
|
|
6
6
|
import n from "nprogress";
|
|
7
|
+
import "rsuite/dist/rsuite.css";
|
|
7
8
|
import { DeviceTypeProvider as G, ThemeSettingsProvider as J, LocalesProvider as K, getLocaleFromNetwork as Q } from "@m4l/graphics";
|
|
8
9
|
import { EnvironmentProvider as U, HostToolsProvider as V, NetworkProvider as X, axiosOperation as Y, AuthProvider as $ } from "@m4l/core";
|
|
9
10
|
import { MFAuthApp as oo } from "./subcomponents/MFAuthApp/MFAuthApp.js";
|
|
10
11
|
import "zustand";
|
|
11
|
-
import { AreasProvider as
|
|
12
|
+
import { AreasProvider as ro } from "../areas/contexts/AreasContext/index.js";
|
|
12
13
|
import "clsx";
|
|
13
14
|
import "../areas/components/AreasAdmin/subcomponents/AreaChip/AreaChip.js";
|
|
14
15
|
import "zustand/shallow";
|
|
15
16
|
import "../areas/components/AreasAdmin/subcomponents/AreaChipMobile/subcomponents/ChipMobile/ChipMobile.js";
|
|
16
17
|
import "../areas/components/AreasAdmin/slots/AreasAdminSlots.js";
|
|
17
|
-
import { AppearanceComponentProvider as
|
|
18
|
+
import { AppearanceComponentProvider as eo } from "../../contexts/AppearanceComponentContext/AppearanceComponentContext.js";
|
|
18
19
|
import "zustand/middleware";
|
|
19
20
|
import "zustand/middleware/immer";
|
|
20
21
|
import "@m4l/styles";
|
|
@@ -32,7 +33,7 @@ import { AppBarSettings as mo } from "./subcomponents/AppBarSettings/AppBarSetti
|
|
|
32
33
|
import { SettingsLayout as ao } from "../SettingsLayout/SettingsLayout.js";
|
|
33
34
|
import { WrapperAppBarContentChildrenStyled as po, WrapperContentChildrenStyled as lo } from "./slots/MFIsolationAppSlots.js";
|
|
34
35
|
const l = Z({ window });
|
|
35
|
-
function
|
|
36
|
+
function Jo(c) {
|
|
36
37
|
const {
|
|
37
38
|
children: v,
|
|
38
39
|
user: h,
|
|
@@ -59,25 +60,25 @@ function Go(c) {
|
|
|
59
60
|
areasStoreId: m,
|
|
60
61
|
areasStoreDevtoolsEnabled: a,
|
|
61
62
|
appBarSettings: D = !0
|
|
62
|
-
} = c,
|
|
63
|
-
(
|
|
64
|
-
|
|
63
|
+
} = c, r = i(() => new q(), []), N = s(
|
|
64
|
+
(e, t) => {
|
|
65
|
+
r.on(e, t);
|
|
65
66
|
},
|
|
66
|
-
[
|
|
67
|
+
[r]
|
|
67
68
|
), x = s(
|
|
68
|
-
(
|
|
69
|
+
(e, t) => {
|
|
69
70
|
if (t === null) {
|
|
70
|
-
|
|
71
|
+
r.removeListener(e);
|
|
71
72
|
return;
|
|
72
73
|
}
|
|
73
|
-
|
|
74
|
+
r.removeListener(e, t);
|
|
74
75
|
},
|
|
75
|
-
[
|
|
76
|
+
[r]
|
|
76
77
|
), B = s(
|
|
77
|
-
(
|
|
78
|
-
|
|
78
|
+
(e, t) => {
|
|
79
|
+
r.emit(e, t);
|
|
79
80
|
},
|
|
80
|
-
[
|
|
81
|
+
[r]
|
|
81
82
|
), M = () => {
|
|
82
83
|
n.configure({
|
|
83
84
|
showSpinner: !0
|
|
@@ -125,7 +126,7 @@ function Go(c) {
|
|
|
125
126
|
componentsDictionary: b,
|
|
126
127
|
moduleNameField: C,
|
|
127
128
|
moduleDictionaryLoaded: L,
|
|
128
|
-
children: /* @__PURE__ */ d(
|
|
129
|
+
children: /* @__PURE__ */ d(eo, { children: [
|
|
129
130
|
/* @__PURE__ */ o(ao, {}),
|
|
130
131
|
/* @__PURE__ */ o(io, { containerId: p }),
|
|
131
132
|
" ",
|
|
@@ -136,7 +137,7 @@ function Go(c) {
|
|
|
136
137
|
storeId: m,
|
|
137
138
|
storeDevtoolsEnabled: a,
|
|
138
139
|
children: /* @__PURE__ */ o(
|
|
139
|
-
|
|
140
|
+
ro,
|
|
140
141
|
{
|
|
141
142
|
storeId: m,
|
|
142
143
|
storeDevtoolsEnabled: a,
|
|
@@ -158,5 +159,5 @@ function Go(c) {
|
|
|
158
159
|
) }) }) });
|
|
159
160
|
}
|
|
160
161
|
export {
|
|
161
|
-
|
|
162
|
+
Jo as MFIsolationApp
|
|
162
163
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MFIsolationAppStorybook.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/MFIsolationAppStorybook/MFIsolationAppStorybook.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MFIsolationAppStorybook.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/MFIsolationAppStorybook/MFIsolationAppStorybook.tsx"],"names":[],"mappings":"AAIA,OAAO,wBAAwB,CAAC;AAkBhC,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,SAAS,CAAC;AAqB5D;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,4BAA4B,oDAuI1E"}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { jsx as o, jsxs as
|
|
2
|
-
import { useMemo as s, useCallback as n, useId as
|
|
1
|
+
import { jsx as o, jsxs as M } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useMemo as s, useCallback as n, useId as A } from "react";
|
|
3
3
|
import { createBrowserHistory as H } from "history";
|
|
4
4
|
import N from "eventemitter3";
|
|
5
5
|
import i from "nprogress";
|
|
6
|
+
import "rsuite/dist/rsuite.css";
|
|
6
7
|
import { DeviceTypeProvider as O, ThemeSettingsProvider as U, LocalesProvider as j } from "@m4l/graphics";
|
|
7
8
|
import { EnvironmentProvider as z, HostToolsProvider as B, NetworkProvider as Z, axiosOperation as q } from "@m4l/core";
|
|
8
|
-
import {
|
|
9
|
+
import { MFAppStorybook as G } from "./subcomponents/MFAppStorybook/MFAppStorybook.js";
|
|
9
10
|
import { BaseModule as J } from "../BaseModule/BaseModule.js";
|
|
10
11
|
import { ToastContainer as K } from "../ToastContainer/ToastContainer.js";
|
|
11
12
|
import Q from "../ToastContainer/helpers/toaster.js";
|
|
@@ -30,7 +31,7 @@ const Y = {
|
|
|
30
31
|
module: X,
|
|
31
32
|
localeString: "en-US"
|
|
32
33
|
}, $ = H({ window });
|
|
33
|
-
function
|
|
34
|
+
function wo(a) {
|
|
34
35
|
const {
|
|
35
36
|
children: c,
|
|
36
37
|
database: d = "domain",
|
|
@@ -90,10 +91,10 @@ function Lo(a) {
|
|
|
90
91
|
}),
|
|
91
92
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
92
93
|
[]
|
|
93
|
-
), m =
|
|
94
|
+
), m = A(), C = Q(m), F = s(
|
|
94
95
|
() => ({
|
|
95
96
|
history: $,
|
|
96
|
-
toast:
|
|
97
|
+
toast: C,
|
|
97
98
|
startProgress: k,
|
|
98
99
|
stopProgress: D,
|
|
99
100
|
events_add_listener: w,
|
|
@@ -103,7 +104,7 @@ function Lo(a) {
|
|
|
103
104
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
104
105
|
[]
|
|
105
106
|
);
|
|
106
|
-
return /* @__PURE__ */ o(z, { ...x, children: /* @__PURE__ */ o(B, { ...
|
|
107
|
+
return /* @__PURE__ */ o(z, { ...x, children: /* @__PURE__ */ o(B, { ...F, children: /* @__PURE__ */ o(Z, { axiosOperation: q, children: /* @__PURE__ */ o(O, { forcedDeviceType: y, children: /* @__PURE__ */ o(G, { children: /* @__PURE__ */ o(U, { children: /* @__PURE__ */ o(j, { isMicroFrontEnd: !0, localeHost: Y, children: /* @__PURE__ */ o(
|
|
107
108
|
J,
|
|
108
109
|
{
|
|
109
110
|
moduleId: u,
|
|
@@ -112,7 +113,7 @@ function Lo(a) {
|
|
|
112
113
|
componentsDictionary: S,
|
|
113
114
|
moduleNameField: g,
|
|
114
115
|
moduleDictionaryLoaded: b,
|
|
115
|
-
children: /* @__PURE__ */
|
|
116
|
+
children: /* @__PURE__ */ M(R, { children: [
|
|
116
117
|
/* @__PURE__ */ o(W, {}),
|
|
117
118
|
/* @__PURE__ */ o(K, { containerId: m }),
|
|
118
119
|
/* @__PURE__ */ o(
|
|
@@ -129,5 +130,5 @@ function Lo(a) {
|
|
|
129
130
|
) }) }) }) }) }) }) });
|
|
130
131
|
}
|
|
131
132
|
export {
|
|
132
|
-
|
|
133
|
+
wo as MFIsolationAppStorybook
|
|
133
134
|
};
|
|
@@ -1,2 +1,5 @@
|
|
|
1
1
|
export { MFIsolationAppStorybook } from './MFIsolationAppStorybook';
|
|
2
|
+
export { MFAppStorybook } from './subcomponents/MFAppStorybook';
|
|
3
|
+
export type { MFIsolationAppStorybookProps } from './types';
|
|
4
|
+
export type { MFAuthAppStorybookProps } from './subcomponents/MFAppStorybook/types';
|
|
2
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/MFIsolationAppStorybook/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/MFIsolationAppStorybook/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAChE,YAAY,EAAE,4BAA4B,EAAE,MAAM,SAAS,CAAC;AAC5D,YAAY,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC"}
|
package/components/MFIsolationAppStorybook/subcomponents/MFAppStorybook/MFAppStorybook.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MFAppStorybook.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/components/src/components/MFIsolationAppStorybook/subcomponents/MFAppStorybook/MFAppStorybook.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AACvD;;GAEG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,uBAAuB,oDAwC5D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/components/src/components/MFIsolationAppStorybook/subcomponents/
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/components/src/components/MFIsolationAppStorybook/subcomponents/MFAppStorybook/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/components/src/components/MFIsolationAppStorybook/subcomponents/MFAppStorybook/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,MAAM,MAAM,uBAAuB,GAAG;IACpC,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC"}
|