@m4l/components 0.1.76 → 0.1.78
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/export.d.ts +22 -3
- package/components/AccountPopover/{index.47cf6c43.js → index.7e76dbb7.js} +8 -7
- package/components/AppBar/{index.f04f5e45.js → index.06858422.js} +8 -7
- package/components/CommonActions/components/ActionCancel/{index.453c2d24.js → index.d536ccfa.js} +2 -2
- package/components/CommonActions/components/ActionFormCancel/{index.c2a2fd55.js → index.a915b105.js} +19 -19
- package/components/CommonActions/components/ActionFormIntro/{index.25d33912.js → index.14e65d6c.js} +2 -2
- package/components/CommonActions/components/ActionIntro/{index.c653a266.js → index.aa1648eb.js} +2 -2
- package/components/CommonActions/components/Actions/{index.e376a68e.js → index.52125041.js} +17 -18
- package/components/DataGrid/{index.ffaf000e.js → index.9fb3e6a1.js} +40 -31
- package/components/DataGrid/types.d.ts +5 -1
- package/components/DraggableWindow/{index.b08af1dc.js → index.c702d3f2.js} +1 -1
- package/components/DynamicFilter/constants.d.ts +1 -0
- package/components/DynamicFilter/contexts/DynamicFilterContext/store.d.ts +6 -1
- package/components/DynamicFilter/{index.d7c03a61.js → index.d1a2e2d1.js} +54 -47
- package/components/DynamicFilter/tests/contants.d.ts +2 -3
- package/components/DynamicFilter/types.d.ts +4 -0
- package/components/GridLayout/GridLayout.d.ts +6 -0
- package/components/GridLayout/Responsive/index.0905a698.js +353 -0
- package/components/GridLayout/WidthProvider/index.9a26dfe4.js +65 -0
- package/components/GridLayout/calculateUtils.d.ts +42 -0
- package/components/GridLayout/index.d.ts +6 -0
- package/components/GridLayout/index.da6fd387.js +1410 -0
- package/components/GridLayout/subcomponents/GridItem/index.d.ts +26 -0
- package/components/GridLayout/subcomponents/GridItem/types.d.ts +78 -0
- package/components/GridLayout/subcomponents/Responsive/index.d.ts +3 -0
- package/components/GridLayout/subcomponents/Responsive/responsiveUtils.d.ts +64 -0
- package/components/GridLayout/subcomponents/Responsive/types.d.ts +69 -0
- package/components/GridLayout/subcomponents/WidthProvider/index.d.ts +16 -0
- package/components/GridLayout/types.d.ts +355 -0
- package/components/GridLayout/utils.d.ts +123 -0
- package/components/HelperText/{index.9864f773.js → index.a019742c.js} +8 -7
- package/components/Icon/{index.9dae8337.js → index.9fcd1476.js} +1 -1
- package/components/LanguagePopover/{index.938c6675.js → index.98b63dcb.js} +8 -7
- package/components/LinearProgressIndeterminate/{index.d34d398f.js → index.60dabc06.js} +1 -1
- package/components/ModalDialog/{index.d9c5d400.js → index.d9937d46.js} +8 -56
- package/components/NavLink/{index.21c8fd90.js → index.a5dea6d3.js} +8 -7
- package/components/ObjectLogs/{index.a2709fc2.js → index.d9d20b9d.js} +27 -21
- package/components/ObjectLogs/types.d.ts +1 -0
- package/components/PaperForm/{index.5e1bc99f.js → index.ba38a0bd.js} +1 -1
- package/components/Period/{index.526791a3.js → index.7b94c418.js} +22 -23
- package/components/PropertyValue/constants.d.ts +3 -0
- package/components/PropertyValue/{index.8a1adf3e.js → index.45c73161.js} +17 -11
- package/components/PropertyValue/types.d.ts +2 -1
- package/components/Resizeable/{index.f6e48e56.js → index.9a9c79a4.js} +1 -1
- package/components/SideBar/{index.9e1a5b96.js → index.2f497e6c.js} +5 -5
- package/components/areas/components/AreasAdmin/classes/index.d.ts +1 -1
- package/components/areas/components/AreasAdmin/classes/types.d.ts +5 -0
- package/components/areas/components/AreasAdmin/{index.946eebb9.js → index.43ecd998.js} +167 -81
- package/components/areas/components/AreasAdmin/subcomponents/AreaChip/types.d.ts +0 -1
- package/components/areas/components/AreasAdmin/subcomponents/AreaChipMobile/subcomponents/PanelWindowPopUp/index.d.ts +3 -0
- package/components/areas/components/AreasAdmin/subcomponents/AreaChipMobile/subcomponents/PanelWindowPopUp/types.d.ts +3 -0
- package/components/areas/components/AreasViewer/classes/index.d.ts +1 -1
- package/components/areas/components/AreasViewer/classes/types.d.ts +3 -0
- package/components/areas/components/AreasViewer/{index.bf4191ea.js → index.14e62059.js} +326 -345
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/{GridLayout → AreaGridLayout}/index.d.ts +1 -1
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/index.d.ts +2 -2
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Header/index.d.ts +1 -7
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Header/subcomponents/WindowPopUpsList/index.d.ts +3 -0
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Header/subcomponents/WindowPopUpsList/types.d.ts +2 -0
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Header/types.d.ts +6 -0
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/types.d.ts +1 -1
- package/components/areas/components/index.a87653a9.js +29 -0
- package/components/areas/contexts/AreasContext/helper.d.ts +8 -16
- package/components/areas/contexts/AreasContext/{index.f0397b7c.js → index.02c4e7be.js} +262 -336
- package/components/areas/contexts/AreasContext/types.d.ts +22 -20
- package/components/areas/contexts/{index.1809650a.js → index.1ff9b360.js} +1 -1
- package/components/areas/{dictionary.3fabae50.js → dictionary.afb7e3d9.js} +5 -2
- package/components/areas/dictionary.d.ts +4 -1
- package/components/areas/hooks/useAreas/{index.40917e99.js → index.85e4b2e2.js} +1 -1
- package/components/areas/{icons.19cde4b4.js → icons.8266ccc8.js} +5 -1
- package/components/areas/icons.d.ts +4 -0
- package/components/areas/{index.9bd48013.js → index.d1dcccf5.js} +12 -11
- package/components/areas/types.d.ts +29 -22
- package/components/formatters/BooleanFormatter/{index.431dc923.js → index.e8de8e4c.js} +1 -1
- package/components/formatters/{index.e1af75e6.js → index.67aeb049.js} +2 -2
- package/components/hook-form/RHFAutocomplete/{index.a063dc44.js → index.6aa51705.js} +25 -13
- package/components/hook-form/RHFAutocompleteAsync/{index.ddfd9cc9.js → index.1a3dfe5f.js} +1 -1
- package/components/hook-form/RHFCheckbox/{index.7e7f220b.js → index.a08a65b3.js} +1 -1
- package/components/hook-form/RHFDateTime/{index.d330709b.js → index.4d671108.js} +10 -9
- package/components/hook-form/RHFPeriod/{index.e2b1293b.js → index.39b4be49.js} +2 -2
- package/components/hook-form/RHFTextField/{index.e5336d09.js → index.9004e898.js} +5 -5
- package/components/hook-form/RHFUpload/{index.17e7f9eb.js → index.bed8573e.js} +9 -11
- package/components/index.d.ts +1 -0
- package/components/modal/{WindowBase.7acb9f1d.js → WindowBase.a0c0b322.js} +10 -9
- package/components/modal/{WindowConfirm.9b829837.js → WindowConfirm.6c063f2d.js} +19 -19
- package/components/modal/classes/index.d.ts +1 -0
- package/components/modal/classes/types.d.ts +1 -0
- package/components/modal/{index.1b25b61d.js → index.00efea85.js} +19 -17
- package/components/mui_extended/Accordion/constants.d.ts +1 -0
- package/components/mui_extended/Accordion/{index.3faafd8b.js → index.9877f7bf.js} +8 -9
- package/components/mui_extended/Accordion/types.d.ts +1 -0
- package/components/mui_extended/Badge/Badge.d.ts +3 -0
- package/components/mui_extended/Badge/classes/constants.d.ts +1 -0
- package/components/mui_extended/Badge/classes/index.d.ts +6 -0
- package/components/mui_extended/Badge/classes/types.d.ts +6 -0
- package/components/mui_extended/Badge/index.8c2b8b66.js +36 -0
- package/components/mui_extended/Badge/index.d.ts +2 -0
- package/components/mui_extended/Badge/tests/constants.d.ts +1 -0
- package/components/mui_extended/Badge/tests/utils.d.ts +2 -0
- package/components/mui_extended/Badge/types.d.ts +4 -0
- package/components/mui_extended/Button/{index.fdb5dcbd.js → index.4288f9fc.js} +8 -3
- package/components/mui_extended/IconButton/{index.1a9d4fa5.js → index.12f1a3c3.js} +4 -1
- package/components/mui_extended/MenuActions/{index.ba1da3b3.js → index.43a2e1ae.js} +41 -13
- package/components/mui_extended/MenuActions/index.d.ts +3 -2
- package/components/mui_extended/MenuActions/types.d.ts +9 -0
- package/components/mui_extended/Pager/{index.67bda2c5.js → index.2f6d6d7d.js} +1 -1
- package/components/mui_extended/Tab/constant.d.ts +1 -0
- package/components/mui_extended/Tab/{index.9e2f6e34.js → index.7c82e43d.js} +5 -6
- package/components/mui_extended/Tab/types.d.ts +1 -0
- package/components/mui_extended/{index.73e536de.js → index.0e2ff642.js} +8 -7
- package/components/mui_extended/index.d.ts +1 -0
- package/contexts/ModalContext/{index.699f95fa.js → index.e9a7ba4a.js} +1 -1
- package/hooks/useModal/{index.7b7d26ba.js → index.8e85f7ae.js} +1 -1
- package/index.js +228 -214
- package/node_modules.d73a220d.js +363 -0
- package/package.json +4 -3
- package/{react-draggable.6d7949a3.js → react-draggable.7abb5d0a.js} +3 -2
- package/{react-resizable.b6f8e04a.js → react-resizable.ba08699a.js} +13 -12
- package/test/getNameDataTestId.d.ts +1 -0
- package/utils/{index.008b4c2a.js → index.c43a95f4.js} +0 -15
- package/vendor.e353394b.js +124 -0
- package/components/DynamicFilter/tests/types.d.ts +0 -2
- package/components/DynamicFilter/tests/utils.d.ts +0 -2
- package/components/PropertyValue/tests/constants.d.ts +0 -1
- package/components/PropertyValue/tests/utils.d.ts +0 -2
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/WindowPopUp/index.d.ts +0 -4
- package/components/areas/components/index.2bb534cb.js +0 -28
- package/components/modal/ModalDialog/types.d.ts +0 -7
- package/components/mui_extended/Accordion/tests/constants.d.ts +0 -1
- package/components/mui_extended/Accordion/tests/utils.d.ts +0 -2
- package/components/mui_extended/Tab/tests/constants.d.ts +0 -1
- package/components/mui_extended/Tab/tests/utils.d.ts +0 -2
- /package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/{GridLayout → AreaGridLayout}/types.d.ts +0 -0
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { GetLabelType, NetworkProps } from '@m4l/core';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
import { CookieType,
|
|
3
|
+
import { CookieType, HashWindowsByModals, ModalStateProps, AreaWindowAction, NewModalProps, NewLayoutMoveableProps, NewWindowProps, ToastyOptions, WinType, WindowStateProps, NewLayoutMagnetizableProps } from '../../types';
|
|
4
4
|
import { ViwerClasses } from '../../components/AreasViewer/classes';
|
|
5
5
|
import { AdminClasses } from '../../components/AreasAdmin/classes';
|
|
6
|
-
import { Layout, Layouts } from 'react-grid-layout';
|
|
7
6
|
import { DebouncedFunc } from 'lodash';
|
|
8
|
-
|
|
7
|
+
import { LayoutItem } from '../../../GridLayout';
|
|
8
|
+
import { Breakpoint, ContainerChangeEvent, LayoutsNotReadonly } from '../../../GridLayout/subcomponents/Responsive/types';
|
|
9
|
+
import { LayoutNotReadOnly } from '../../../GridLayout/types';
|
|
10
|
+
export declare type WinLayoutItem = LayoutItem & {
|
|
9
11
|
winType: WinType;
|
|
10
12
|
};
|
|
11
13
|
export declare type Breakpoints = {
|
|
@@ -22,18 +24,19 @@ export interface Area {
|
|
|
22
24
|
status: AreaStatus;
|
|
23
25
|
zPopUpIndex: number;
|
|
24
26
|
loadWindows: boolean;
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
27
|
+
/**
|
|
28
|
+
* "containerHeight" Altura del contendor de area, se deja en cada área porque solo llegan en eventos de resize cuando está diferente a display "none"
|
|
29
|
+
*/
|
|
30
|
+
containerHeight?: number;
|
|
31
|
+
currentBreakpoint?: Breakpoint;
|
|
32
|
+
layouts: LayoutsNotReadonly;
|
|
33
|
+
maximizedId?: string | undefined;
|
|
34
|
+
/** Son los ids de las ventanas, iterar con keys, destruye los componentes en un map */
|
|
35
|
+
layoutItemsIds: string[];
|
|
31
36
|
currentLayoutId: string;
|
|
32
37
|
currentPopUpId: string;
|
|
33
38
|
breakpoints: Breakpoints;
|
|
34
39
|
cols: Cols;
|
|
35
|
-
viewMode: ViewAreaMode;
|
|
36
|
-
singleId?: string;
|
|
37
40
|
}
|
|
38
41
|
/**
|
|
39
42
|
* @description estado de carga de las areaS de trabajo.
|
|
@@ -101,7 +104,7 @@ export interface AreasState {
|
|
|
101
104
|
/**
|
|
102
105
|
* "areas" Areas de trabajo
|
|
103
106
|
*/
|
|
104
|
-
areas:
|
|
107
|
+
areas: string[];
|
|
105
108
|
/**
|
|
106
109
|
* "hashAreas" Areas de trabajo
|
|
107
110
|
*/
|
|
@@ -165,17 +168,16 @@ export interface AreasStateWithActions extends AreasState {
|
|
|
165
168
|
addWindow: (newWindow: NewWindowProps) => void;
|
|
166
169
|
closeWindowModal: (removeModalId: string) => void;
|
|
167
170
|
addWindowModal: (areaId: string, windowId: string, newWindowModalProps: NewModalProps) => void;
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
closeWindowLayout: (areaId: string, removeLayoutId: string) => void;
|
|
172
|
-
selectWindowLayout: (areaId: string, layoutId: string) => void;
|
|
173
|
-
addWindowLayout: (areaId: string, windowId: string, newWindow: NewLayoutProps) => void;
|
|
171
|
+
closeLayout: (areaId: string, removePopUpId: string) => void;
|
|
172
|
+
selectLayout: (areaId: string, layoutId: string) => void;
|
|
173
|
+
addLayout: (areaId: string, windowId: string, newWindow: NewLayoutMagnetizableProps | NewLayoutMoveableProps) => void;
|
|
174
174
|
saveLayouts: (areaId: string) => void;
|
|
175
|
-
onBreakpointsLayoutsChange: (areaId: string,
|
|
175
|
+
onBreakpointsLayoutsChange: (areaId: string, currentLayout: LayoutNotReadOnly, newAllLayouts: LayoutsNotReadonly) => void;
|
|
176
|
+
onContainerChange: (areaId: string, e: ContainerChangeEvent) => void;
|
|
176
177
|
bouncedSaveBreakpointsLayouts: DebouncedFunc<(areaId: string) => void>;
|
|
178
|
+
colapseLayoutItem: (areaId: string, layoutId: string) => void;
|
|
179
|
+
unColapseLayoutItem: (areaId: string, layoutId: string) => void;
|
|
177
180
|
maximizeLayout: (areaId: string, layoutId?: string) => void;
|
|
178
|
-
resizeMaximixedLayout: (areaId: string) => void;
|
|
179
181
|
normalizeLayouts: (areaId: string) => void;
|
|
180
182
|
loadWindowsFromApi: (areaId: string) => void;
|
|
181
183
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import "./AreasContext/index.
|
|
1
|
+
import "./AreasContext/index.02c4e7be.js";
|
|
2
2
|
import "./WindowToolsMFContext/index.8f3e2a04.js";
|
|
@@ -6,14 +6,17 @@ const LABEL_FILTER_BUTTON = "filter_tooltip";
|
|
|
6
6
|
const DICCTIONARY = {
|
|
7
7
|
label_new_area: "label_new_area",
|
|
8
8
|
label_persist_module_cookies: "label_persist_module_cookies",
|
|
9
|
-
label_reset_module_cookies: "label_reset_module_cookies",
|
|
10
9
|
validation_edit_area: "validation_edit_area",
|
|
11
10
|
label_edit_area: "label_edit_area",
|
|
12
11
|
label_delete_area: "label_delete_area",
|
|
12
|
+
label_window_colapse: "label_window_colapse",
|
|
13
|
+
label_window_un_colapse: "label_window_un_colapse",
|
|
13
14
|
area_error_title: "area_error_title",
|
|
14
15
|
area_error_description: "area_error_description",
|
|
15
16
|
area_error_recommendation: "area_error_recommendation",
|
|
16
|
-
area_error_intro: "area_error_intro"
|
|
17
|
+
area_error_intro: "area_error_intro",
|
|
18
|
+
area_add_new: "area_add_new",
|
|
19
|
+
label_reset_module_cookies: "label_reset_module_cookies"
|
|
17
20
|
};
|
|
18
21
|
const getAreasDictionary = (key) => {
|
|
19
22
|
return `${AREAS_DICTIONARY_ID}.${key}`;
|
|
@@ -4,14 +4,17 @@ export declare const LABEL_FILTER_BUTTON = "filter_tooltip";
|
|
|
4
4
|
export declare const DICCTIONARY: {
|
|
5
5
|
readonly label_new_area: "label_new_area";
|
|
6
6
|
readonly label_persist_module_cookies: "label_persist_module_cookies";
|
|
7
|
-
readonly label_reset_module_cookies: "label_reset_module_cookies";
|
|
8
7
|
readonly validation_edit_area: "validation_edit_area";
|
|
9
8
|
readonly label_edit_area: "label_edit_area";
|
|
10
9
|
readonly label_delete_area: "label_delete_area";
|
|
10
|
+
readonly label_window_colapse: "label_window_colapse";
|
|
11
|
+
readonly label_window_un_colapse: "label_window_un_colapse";
|
|
11
12
|
readonly area_error_title: "area_error_title";
|
|
12
13
|
readonly area_error_description: "area_error_description";
|
|
13
14
|
readonly area_error_recommendation: "area_error_recommendation";
|
|
14
15
|
readonly area_error_intro: "area_error_intro";
|
|
16
|
+
readonly area_add_new: "area_add_new";
|
|
17
|
+
readonly label_reset_module_cookies: "label_reset_module_cookies";
|
|
15
18
|
};
|
|
16
19
|
export declare type TypeDictionary = typeof DICCTIONARY;
|
|
17
20
|
export declare const getAreasDictionary: (key: keyof TypeDictionary) => string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useContext } from "react";
|
|
2
2
|
import { useStore } from "zustand";
|
|
3
|
-
import { A as AreasContext } from "../../contexts/AreasContext/index.
|
|
3
|
+
import { A as AreasContext } from "../../contexts/AreasContext/index.02c4e7be.js";
|
|
4
4
|
function useAreasStore(selector, equalityFn) {
|
|
5
5
|
const context = useContext(AreasContext);
|
|
6
6
|
if (!context)
|
|
@@ -2,6 +2,8 @@ const ICONS = {
|
|
|
2
2
|
CLOSE: "close.svg",
|
|
3
3
|
MAXIMIZE: "maximize.svg",
|
|
4
4
|
NORMALIZE: "normalize.svg",
|
|
5
|
+
COLAPSE: "colapse.svg",
|
|
6
|
+
UNCOLPASE: "uncolapse.svg",
|
|
5
7
|
RESET_COOKIES: "reset_cookies.svg",
|
|
6
8
|
SAVE_COOKIES: "save_cookies.svg",
|
|
7
9
|
DELETE_AREA: "delete_area.svg",
|
|
@@ -15,7 +17,9 @@ const ICONS = {
|
|
|
15
17
|
SHOW_OPTIONS: "showMoreVertical.svg",
|
|
16
18
|
CHEVRON_DOWN: "chevronDown.svg",
|
|
17
19
|
TOASTY_CLOSE: "close.svg",
|
|
18
|
-
TOASTY_PIN: "pin.svg"
|
|
20
|
+
TOASTY_PIN: "pin.svg",
|
|
21
|
+
MODULE: "module.svg",
|
|
22
|
+
POPUP: "popup.svg"
|
|
19
23
|
};
|
|
20
24
|
export {
|
|
21
25
|
ICONS as I
|
|
@@ -2,6 +2,8 @@ export declare const ICONS: {
|
|
|
2
2
|
CLOSE: string;
|
|
3
3
|
MAXIMIZE: string;
|
|
4
4
|
NORMALIZE: string;
|
|
5
|
+
COLAPSE: string;
|
|
6
|
+
UNCOLPASE: string;
|
|
5
7
|
RESET_COOKIES: string;
|
|
6
8
|
SAVE_COOKIES: string;
|
|
7
9
|
DELETE_AREA: string;
|
|
@@ -16,4 +18,6 @@ export declare const ICONS: {
|
|
|
16
18
|
CHEVRON_DOWN: string;
|
|
17
19
|
TOASTY_CLOSE: string;
|
|
18
20
|
TOASTY_PIN: string;
|
|
21
|
+
MODULE: string;
|
|
22
|
+
POPUP: string;
|
|
19
23
|
};
|
|
@@ -1,30 +1,31 @@
|
|
|
1
1
|
import "react";
|
|
2
2
|
import "@m4l/core";
|
|
3
3
|
import "@mui/material";
|
|
4
|
-
import "../Icon/index.
|
|
4
|
+
import "../Icon/index.9fcd1476.js";
|
|
5
5
|
import "clsx";
|
|
6
6
|
import "react/jsx-runtime";
|
|
7
|
-
import "../mui_extended/IconButton/index.
|
|
7
|
+
import "../mui_extended/IconButton/index.12f1a3c3.js";
|
|
8
8
|
import "@m4l/graphics";
|
|
9
9
|
import "zustand";
|
|
10
|
-
import "./contexts/AreasContext/index.
|
|
11
|
-
import "./components/AreasAdmin/index.
|
|
10
|
+
import "./contexts/AreasContext/index.02c4e7be.js";
|
|
11
|
+
import "./components/AreasAdmin/index.43ecd998.js";
|
|
12
12
|
import "zustand/shallow";
|
|
13
13
|
import "../ScrollBar/index.bbe48f4d.js";
|
|
14
|
-
import "../mui_extended/Accordion/index.
|
|
14
|
+
import "../mui_extended/Accordion/index.9877f7bf.js";
|
|
15
15
|
import "../mui_extended/Typography/index.443590d6.js";
|
|
16
16
|
import "../mui_extended/Avatar/index.75e6ed57.js";
|
|
17
17
|
import "react-router-dom";
|
|
18
18
|
import "@mui/material/Button";
|
|
19
|
-
import "../mui_extended/Button/index.
|
|
19
|
+
import "../mui_extended/Button/index.4288f9fc.js";
|
|
20
|
+
import "../mui_extended/Badge/index.8c2b8b66.js";
|
|
20
21
|
import "../Image/index.c18ebf5a.js";
|
|
21
22
|
import "@mui/lab";
|
|
23
|
+
import "../mui_extended/MenuActions/index.43a2e1ae.js";
|
|
22
24
|
import "../mui_extended/Popover/index.9f35d0eb.js";
|
|
23
|
-
import "../mui_extended/
|
|
24
|
-
import "../mui_extended/
|
|
25
|
-
import "../mui_extended/Tab/index.9e2f6e34.js";
|
|
25
|
+
import "../mui_extended/Pager/index.2f6d6d7d.js";
|
|
26
|
+
import "../mui_extended/Tab/index.7c82e43d.js";
|
|
26
27
|
import "../mui_extended/Tooltip/index.5a795dcd.js";
|
|
27
|
-
import "./components/AreasViewer/index.
|
|
28
|
-
import "../LinearProgressIndeterminate/index.
|
|
28
|
+
import "./components/AreasViewer/index.14e62059.js";
|
|
29
|
+
import "../LinearProgressIndeterminate/index.60dabc06.js";
|
|
29
30
|
import "./contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
30
31
|
import "./contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import type { DynamicMFParameters } from './contexts/DynamicMFParmsContext/types';
|
|
3
|
-
import type { Layout } from 'react-grid-layout';
|
|
4
3
|
import type { DynamicMFStore } from './contexts/DynamicMFParmsContext/store';
|
|
5
4
|
import type { MenuAction } from '../mui_extended';
|
|
5
|
+
import { LayoutItem } from '../GridLayout';
|
|
6
6
|
export declare type WindowActionType = 'main' | 'allways' | 'normal';
|
|
7
7
|
export interface AreaWindowAction extends MenuAction {
|
|
8
8
|
visibility: WindowActionType;
|
|
@@ -40,8 +40,14 @@ export interface ToastyOptions extends Pick<Toasty, 'message' | 'type' | 'replac
|
|
|
40
40
|
timeoutMs?: number;
|
|
41
41
|
}
|
|
42
42
|
export declare type WindowState = {
|
|
43
|
+
/**
|
|
44
|
+
* status Indica el proceso de cargado de la ventana
|
|
45
|
+
*/
|
|
43
46
|
status: WindowStatus;
|
|
44
47
|
dynamicMFStore: DynamicMFStore;
|
|
48
|
+
/**
|
|
49
|
+
* loading indica si la barra de progress aparece o no
|
|
50
|
+
*/
|
|
45
51
|
loading: boolean;
|
|
46
52
|
version?: string;
|
|
47
53
|
moduleActions: AreaWindowAction[];
|
|
@@ -66,51 +72,52 @@ export interface WindowBaseProps {
|
|
|
66
72
|
onClose?: (windowId: string) => void;
|
|
67
73
|
devCookies?: Cookies;
|
|
68
74
|
windowOptions?: WindowOptions;
|
|
75
|
+
parentLayoutId?: string;
|
|
76
|
+
replaceMeId?: string;
|
|
69
77
|
}
|
|
70
|
-
export interface
|
|
78
|
+
export interface LayoutMagnetizableBaseProps extends WindowBaseProps {
|
|
71
79
|
emergeType: 'layout';
|
|
72
|
-
layoutProps: Omit<
|
|
80
|
+
layoutProps: Omit<LayoutItem, 'i'>;
|
|
73
81
|
}
|
|
74
|
-
export interface
|
|
82
|
+
export interface LayoutMagnetizableMFProps extends LayoutMagnetizableBaseProps {
|
|
75
83
|
winType: 'microfrontend';
|
|
76
84
|
mfProps: MFBaseProps;
|
|
77
85
|
}
|
|
78
|
-
export interface
|
|
86
|
+
export interface LayoutMagnetizableComponentProps extends LayoutMagnetizableBaseProps {
|
|
79
87
|
winType: 'component';
|
|
80
88
|
component: JSX_REACT_NODE;
|
|
81
89
|
}
|
|
82
|
-
export declare type
|
|
83
|
-
export declare type
|
|
84
|
-
export declare type
|
|
85
|
-
export interface HashWindowsByLayouts {
|
|
86
|
-
[P: string]: LayoutStateProps;
|
|
87
|
-
}
|
|
90
|
+
export declare type LayoutMagentizableProps = LayoutMagnetizableMFProps | LayoutMagnetizableComponentProps;
|
|
91
|
+
export declare type LayoutMagnetizableStateProps = LayoutMagentizableProps & WindowState;
|
|
92
|
+
export declare type NewLayoutMagnetizableProps = Omit<LayoutMagnetizableMFProps, 'windowId' | 'onClose' | 'areaId'> | Omit<LayoutMagnetizableComponentProps, 'windowId' | 'onClose' | 'areaId'>;
|
|
88
93
|
export declare type Position = {
|
|
89
94
|
x: number;
|
|
90
95
|
y: number;
|
|
91
96
|
width: number;
|
|
92
97
|
height: number;
|
|
93
98
|
};
|
|
94
|
-
export interface
|
|
99
|
+
export interface LayoutMoveableBaseProps extends WindowBaseProps {
|
|
95
100
|
emergeType: 'popup';
|
|
96
|
-
|
|
97
|
-
windowProps: Pick<DOMRect, 'x' | 'y' | 'width' | 'height'>;
|
|
101
|
+
layoutProps: Omit<LayoutItem, 'i'>;
|
|
98
102
|
parentLayoutId: string;
|
|
99
103
|
replaceMeId?: string;
|
|
100
104
|
}
|
|
101
|
-
export interface
|
|
105
|
+
export interface LayoutMoveableMFProps extends LayoutMoveableBaseProps {
|
|
102
106
|
winType: 'microfrontend';
|
|
103
107
|
mfProps: MFBaseProps;
|
|
104
108
|
}
|
|
105
|
-
export interface
|
|
109
|
+
export interface LayoutMoveableComponentProps extends LayoutMoveableBaseProps {
|
|
106
110
|
winType: 'component';
|
|
107
111
|
component: JSX_REACT_NODE;
|
|
108
112
|
}
|
|
109
|
-
export declare type
|
|
110
|
-
export declare type
|
|
111
|
-
export declare type
|
|
113
|
+
export declare type LayoutMoveableProps = LayoutMoveableMFProps | LayoutMoveableComponentProps;
|
|
114
|
+
export declare type LayoutMoveableStateProps = LayoutMoveableProps & WindowState;
|
|
115
|
+
export declare type NewLayoutMoveableProps = Omit<LayoutMoveableMFProps, 'windowId' | 'onClose' | 'areaId'> | Omit<LayoutMoveableComponentProps, 'windowId' | 'onClose' | 'areaId'>;
|
|
112
116
|
export interface HashWindowsByPopups {
|
|
113
|
-
[P: string]:
|
|
117
|
+
[P: string]: LayoutMoveableStateProps;
|
|
118
|
+
}
|
|
119
|
+
export interface HashWindowsByLayouts {
|
|
120
|
+
[P: string]: LayoutMagnetizableStateProps | LayoutMoveableStateProps;
|
|
114
121
|
}
|
|
115
122
|
export interface ModalBaseProps extends WindowBaseProps {
|
|
116
123
|
emergeType: 'modal';
|
|
@@ -131,9 +138,9 @@ export declare type NewModalProps = Omit<ModalMFProps, 'windowId' | 'onClose' |
|
|
|
131
138
|
export interface HashWindowsByModals {
|
|
132
139
|
[P: string]: ModalStateProps;
|
|
133
140
|
}
|
|
134
|
-
export declare type WindowStateProps = (
|
|
141
|
+
export declare type WindowStateProps = (LayoutMagnetizableMFProps & WindowState) | (LayoutMagnetizableComponentProps & WindowState) | (LayoutMoveableMFProps & WindowState) | (LayoutMoveableComponentProps & WindowState) | (ModalMFProps & WindowState) | (ModalComponentProps & WindowState);
|
|
135
142
|
export interface HashWindows {
|
|
136
143
|
[P: string]: WindowStateProps;
|
|
137
144
|
}
|
|
138
|
-
export declare type NewWindowProps =
|
|
145
|
+
export declare type NewWindowProps = NewLayoutMagnetizableProps | NewLayoutMoveableProps | NewModalProps;
|
|
139
146
|
export declare type AddWindow = (newWindow: NewWindowProps) => string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useMemo } from "react";
|
|
2
2
|
import { useModuleDictionary, useEnvironment } from "@m4l/core";
|
|
3
|
-
import { I as Icon } from "../../Icon/index.
|
|
3
|
+
import { I as Icon } from "../../Icon/index.9fcd1476.js";
|
|
4
4
|
import { W as WrapperComponent } from "../../WrapperComponent/index.5e872594.js";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
const BOOLEAN_FORMATTER_DICTIONARY_KEY = `boolean_formatter`;
|
|
@@ -2,11 +2,11 @@ import { W as WrapperComponent } from "../WrapperComponent/index.5e872594.js";
|
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
import { useModuleDictionary } from "@m4l/core";
|
|
4
4
|
import "react";
|
|
5
|
-
import "../Icon/index.
|
|
5
|
+
import "../Icon/index.9fcd1476.js";
|
|
6
6
|
import "@mui/material";
|
|
7
7
|
import "clsx";
|
|
8
8
|
import "@m4l/graphics";
|
|
9
|
-
import { a as BOOLEAN_FORMATTER_DICTIONARY_KEY, b as BOOLEAN_FORMATTER_DICTIONARY_LABELS } from "./BooleanFormatter/index.
|
|
9
|
+
import { a as BOOLEAN_FORMATTER_DICTIONARY_KEY, b as BOOLEAN_FORMATTER_DICTIONARY_LABELS } from "./BooleanFormatter/index.e8de8e4c.js";
|
|
10
10
|
function getFormatConcatenated(values, separator) {
|
|
11
11
|
const returnSymbol = "";
|
|
12
12
|
if (values === null)
|
|
@@ -1,28 +1,29 @@
|
|
|
1
|
-
import { useModuleDictionary, useModuleSkeleton } from "@m4l/core";
|
|
1
|
+
import { useModuleDictionary, useModuleSkeleton, useEnvironment } from "@m4l/core";
|
|
2
2
|
import { useFormContext, Controller } from "react-hook-form";
|
|
3
3
|
import { styled as styled$1, Skeleton, generateUtilityClasses, generateUtilityClass, Autocomplete, Popper, TextField, CircularProgress } from "@mui/material";
|
|
4
4
|
import { I as Image } from "../../Image/index.c18ebf5a.js";
|
|
5
|
-
import { useMemo, useState, useEffect } from "react";
|
|
5
|
+
import { useMemo, useRef, useState, useEffect } from "react";
|
|
6
6
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
7
7
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
8
8
|
import { T as Typography } from "../../mui_extended/Typography/index.443590d6.js";
|
|
9
|
-
import { H as HelperText } from "../../HelperText/index.
|
|
9
|
+
import { H as HelperText } from "../../HelperText/index.a019742c.js";
|
|
10
|
+
import { I as IconButton } from "../../mui_extended/IconButton/index.12f1a3c3.js";
|
|
10
11
|
import { styled } from "@mui/material/styles";
|
|
11
12
|
import "clsx";
|
|
12
13
|
import { unstable_composeClasses } from "@mui/base";
|
|
13
|
-
import "../../Icon/index.
|
|
14
|
-
import "../../mui_extended/IconButton/index.1a9d4fa5.js";
|
|
14
|
+
import "../../Icon/index.9fcd1476.js";
|
|
15
15
|
import "@m4l/graphics";
|
|
16
|
-
import "../../mui_extended/Accordion/index.
|
|
16
|
+
import "../../mui_extended/Accordion/index.9877f7bf.js";
|
|
17
17
|
import "../../mui_extended/Avatar/index.75e6ed57.js";
|
|
18
18
|
import "react-router-dom";
|
|
19
19
|
import "@mui/material/Button";
|
|
20
|
-
import "../../mui_extended/Button/index.
|
|
20
|
+
import "../../mui_extended/Button/index.4288f9fc.js";
|
|
21
|
+
import "../../mui_extended/Badge/index.8c2b8b66.js";
|
|
21
22
|
import "@mui/lab";
|
|
23
|
+
import "../../mui_extended/MenuActions/index.43a2e1ae.js";
|
|
22
24
|
import "../../mui_extended/Popover/index.9f35d0eb.js";
|
|
23
|
-
import "../../mui_extended/
|
|
24
|
-
import "../../mui_extended/
|
|
25
|
-
import "../../mui_extended/Tab/index.9e2f6e34.js";
|
|
25
|
+
import "../../mui_extended/Pager/index.2f6d6d7d.js";
|
|
26
|
+
import "../../mui_extended/Tab/index.7c82e43d.js";
|
|
26
27
|
import "../../mui_extended/Tooltip/index.5a795dcd.js";
|
|
27
28
|
const AutocompleteRoot = styled("div")(({
|
|
28
29
|
theme
|
|
@@ -206,6 +207,11 @@ function RHFAutocomplete(props) {
|
|
|
206
207
|
} = useModuleDictionary();
|
|
207
208
|
const isSkeleton = useModuleSkeleton();
|
|
208
209
|
const withImage = useMemo(() => getOptionUrlImage !== void 0, [getOptionUrlImage]);
|
|
210
|
+
const {
|
|
211
|
+
host_static_assets,
|
|
212
|
+
environment_assets
|
|
213
|
+
} = useEnvironment();
|
|
214
|
+
const autocompleteRef = useRef(null);
|
|
209
215
|
const [open, setOpen] = useState(false);
|
|
210
216
|
const onCloseLocal = (event, reason) => {
|
|
211
217
|
setOpen(false);
|
|
@@ -303,6 +309,7 @@ function RHFAutocomplete(props) {
|
|
|
303
309
|
}), /* @__PURE__ */ jsx(Autocomplete, {
|
|
304
310
|
onKeyDown: checkKeyDown,
|
|
305
311
|
autoComplete: true,
|
|
312
|
+
ref: autocompleteRef,
|
|
306
313
|
onFocus: handleFocus,
|
|
307
314
|
onBlur: handleBlur,
|
|
308
315
|
autoSelect: false,
|
|
@@ -335,6 +342,7 @@ function RHFAutocomplete(props) {
|
|
|
335
342
|
value: value || null,
|
|
336
343
|
onOpen: onOpenLocal,
|
|
337
344
|
onClose: onCloseLocal,
|
|
345
|
+
open,
|
|
338
346
|
onChange: (_e, val) => {
|
|
339
347
|
setInputValue(getOptionLabelLocal(val));
|
|
340
348
|
onChange(val);
|
|
@@ -365,11 +373,15 @@ function RHFAutocomplete(props) {
|
|
|
365
373
|
width: imageWidth,
|
|
366
374
|
height: imageHeight
|
|
367
375
|
}, "ImageTextField") : null,
|
|
368
|
-
endAdornment: /* @__PURE__ */
|
|
369
|
-
children:
|
|
376
|
+
endAdornment: /* @__PURE__ */ jsx(Fragment, {
|
|
377
|
+
children: loading ? /* @__PURE__ */ jsx(CircularProgress, {
|
|
370
378
|
color: "inherit",
|
|
371
379
|
size: 20
|
|
372
|
-
}) :
|
|
380
|
+
}) : /* @__PURE__ */ jsx(IconButton, {
|
|
381
|
+
src: `${host_static_assets}/${environment_assets}/frontend/components/RHFAutocompletarAsync/assets/icons/chevronRight.svg`,
|
|
382
|
+
onClick: (event) => onOpenLocal(event),
|
|
383
|
+
size: "small"
|
|
384
|
+
})
|
|
373
385
|
})
|
|
374
386
|
},
|
|
375
387
|
autoComplete: "off",
|
|
@@ -5,7 +5,7 @@ import { styled } from "@mui/material/styles";
|
|
|
5
5
|
import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
6
6
|
import { unstable_composeClasses } from "@mui/base";
|
|
7
7
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
8
|
-
import { R as RHFAutocomplete, g as getRHFAutocompleteComponentsDictionary } from "../RHFAutocomplete/index.
|
|
8
|
+
import { R as RHFAutocomplete, g as getRHFAutocompleteComponentsDictionary } from "../RHFAutocomplete/index.6aa51705.js";
|
|
9
9
|
import { jsx } from "react/jsx-runtime";
|
|
10
10
|
styled("div")(() => ({
|
|
11
11
|
display: "flex",
|
|
@@ -5,7 +5,7 @@ import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
|
5
5
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
6
6
|
import { styled as styled$1 } from "@mui/material/styles";
|
|
7
7
|
import { unstable_composeClasses } from "@mui/base";
|
|
8
|
-
import { H as HelperText } from "../../HelperText/index.
|
|
8
|
+
import { H as HelperText } from "../../HelperText/index.a019742c.js";
|
|
9
9
|
import { T as Typography } from "../../mui_extended/Typography/index.443590d6.js";
|
|
10
10
|
const WrapperSkeletonCheckBox = styled("div")(() => ({
|
|
11
11
|
display: "flex",
|
|
@@ -6,23 +6,24 @@ import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
|
6
6
|
import { useFormatter } from "@m4l/graphics";
|
|
7
7
|
import { useState, useEffect } from "react";
|
|
8
8
|
import clsx from "clsx";
|
|
9
|
-
import "../../Icon/index.
|
|
9
|
+
import "../../Icon/index.9fcd1476.js";
|
|
10
10
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
11
|
-
import "../../mui_extended/IconButton/index.
|
|
12
|
-
import "../../mui_extended/Accordion/index.
|
|
11
|
+
import "../../mui_extended/IconButton/index.12f1a3c3.js";
|
|
12
|
+
import "../../mui_extended/Accordion/index.9877f7bf.js";
|
|
13
13
|
import { T as Typography } from "../../mui_extended/Typography/index.443590d6.js";
|
|
14
14
|
import "../../mui_extended/Avatar/index.75e6ed57.js";
|
|
15
15
|
import "react-router-dom";
|
|
16
16
|
import "@mui/material/Button";
|
|
17
|
-
import "../../mui_extended/Button/index.
|
|
17
|
+
import "../../mui_extended/Button/index.4288f9fc.js";
|
|
18
|
+
import "../../mui_extended/Badge/index.8c2b8b66.js";
|
|
18
19
|
import "../../Image/index.c18ebf5a.js";
|
|
19
20
|
import "@mui/lab";
|
|
21
|
+
import "../../mui_extended/MenuActions/index.43a2e1ae.js";
|
|
20
22
|
import "../../mui_extended/Popover/index.9f35d0eb.js";
|
|
21
|
-
import "../../mui_extended/
|
|
22
|
-
import "../../mui_extended/
|
|
23
|
-
import "../../mui_extended/Tab/index.9e2f6e34.js";
|
|
23
|
+
import "../../mui_extended/Pager/index.2f6d6d7d.js";
|
|
24
|
+
import "../../mui_extended/Tab/index.7c82e43d.js";
|
|
24
25
|
import "../../mui_extended/Tooltip/index.5a795dcd.js";
|
|
25
|
-
import { H as HelperText } from "../../HelperText/index.
|
|
26
|
+
import { H as HelperText } from "../../HelperText/index.a019742c.js";
|
|
26
27
|
import { styled } from "@mui/material/styles";
|
|
27
28
|
import { unstable_composeClasses } from "@mui/base";
|
|
28
29
|
const SKTRHFWrapperTextField = styled("div")(({
|
|
@@ -161,7 +162,7 @@ function RHFDateTime(props) {
|
|
|
161
162
|
children: label
|
|
162
163
|
}), /* @__PURE__ */ jsx(DateTimePicker, {
|
|
163
164
|
inputRef: ref,
|
|
164
|
-
ampm:
|
|
165
|
+
ampm: true,
|
|
165
166
|
value,
|
|
166
167
|
onChange: (newValue) => {
|
|
167
168
|
onChange(newValue);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { styled, generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
2
2
|
import { useFormContext, Controller } from "react-hook-form";
|
|
3
|
-
import { H as HelperText } from "../../HelperText/index.
|
|
4
|
-
import { P as Period } from "../../Period/index.
|
|
3
|
+
import { H as HelperText } from "../../HelperText/index.a019742c.js";
|
|
4
|
+
import { P as Period } from "../../Period/index.7b94c418.js";
|
|
5
5
|
import { unstable_composeClasses } from "@mui/base";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
const RHFPeriodRoot = styled("div")(({
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { useModuleSkeleton, useEnvironment } from "@m4l/core";
|
|
2
2
|
import { styled, Skeleton, generateUtilityClasses, TextField, InputAdornment, generateUtilityClass } from "@mui/material";
|
|
3
3
|
import { forwardRef, useState, useEffect } from "react";
|
|
4
|
-
import { I as IconButton } from "../../mui_extended/IconButton/index.
|
|
4
|
+
import { I as IconButton } from "../../mui_extended/IconButton/index.12f1a3c3.js";
|
|
5
5
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
6
6
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
7
|
-
import "../../Icon/index.
|
|
7
|
+
import "../../Icon/index.9fcd1476.js";
|
|
8
8
|
import "clsx";
|
|
9
9
|
import "@m4l/graphics";
|
|
10
10
|
import { useFormContext, Controller } from "react-hook-form";
|
|
11
11
|
import { styled as styled$1 } from "@mui/material/styles";
|
|
12
12
|
import { unstable_composeClasses } from "@mui/base";
|
|
13
|
-
import { g as getComponentUtilityClass } from "../../../utils/index.
|
|
13
|
+
import { g as getComponentUtilityClass } from "../../../utils/index.c43a95f4.js";
|
|
14
14
|
import { T as Typography } from "../../mui_extended/Typography/index.443590d6.js";
|
|
15
|
-
import { H as HelperText } from "../../HelperText/index.
|
|
15
|
+
import { H as HelperText } from "../../HelperText/index.a019742c.js";
|
|
16
16
|
const SkeletonTextFieldRoot = styled("div")(() => ({
|
|
17
17
|
display: "flex",
|
|
18
18
|
flexDirection: "column",
|
|
@@ -226,7 +226,7 @@ const RHFTextField = forwardRef((props, ref) => {
|
|
|
226
226
|
onChange: onInternalChange,
|
|
227
227
|
onFocus: handleFocus,
|
|
228
228
|
onBlur: handleBlur,
|
|
229
|
-
value: type === "number" ? value
|
|
229
|
+
value: type === "number" ? isNaN(value) ? 0 : value : value,
|
|
230
230
|
name,
|
|
231
231
|
inputProps: {
|
|
232
232
|
...process.env.NODE_ENV !== "production" ? {
|
|
@@ -7,24 +7,25 @@ import { useEnvironment, useModuleDictionary, useModuleSkeleton } from "@m4l/cor
|
|
|
7
7
|
import { Skeleton, generateUtilityClasses, generateUtilityClass, styled as styled$1 } from "@mui/material";
|
|
8
8
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
9
9
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
10
|
-
import { B as Button } from "../../mui_extended/Button/index.
|
|
10
|
+
import { B as Button } from "../../mui_extended/Button/index.4288f9fc.js";
|
|
11
11
|
import { T as Typography } from "../../mui_extended/Typography/index.443590d6.js";
|
|
12
|
-
import { H as HelperText } from "../../HelperText/index.
|
|
12
|
+
import { H as HelperText } from "../../HelperText/index.a019742c.js";
|
|
13
13
|
import "clsx";
|
|
14
14
|
import { styled } from "@mui/material/styles";
|
|
15
15
|
import { unstable_composeClasses } from "@mui/base";
|
|
16
16
|
import "@mui/material/Button";
|
|
17
|
-
import "../../Icon/index.
|
|
18
|
-
import "../../mui_extended/IconButton/index.
|
|
17
|
+
import "../../Icon/index.9fcd1476.js";
|
|
18
|
+
import "../../mui_extended/IconButton/index.12f1a3c3.js";
|
|
19
19
|
import "@m4l/graphics";
|
|
20
|
-
import "../../mui_extended/Accordion/index.
|
|
20
|
+
import "../../mui_extended/Accordion/index.9877f7bf.js";
|
|
21
21
|
import "../../mui_extended/Avatar/index.75e6ed57.js";
|
|
22
22
|
import "react-router-dom";
|
|
23
|
+
import "../../mui_extended/Badge/index.8c2b8b66.js";
|
|
23
24
|
import "@mui/lab";
|
|
25
|
+
import "../../mui_extended/MenuActions/index.43a2e1ae.js";
|
|
24
26
|
import "../../mui_extended/Popover/index.9f35d0eb.js";
|
|
25
|
-
import "../../mui_extended/
|
|
26
|
-
import "../../mui_extended/
|
|
27
|
-
import "../../mui_extended/Tab/index.9e2f6e34.js";
|
|
27
|
+
import "../../mui_extended/Pager/index.2f6d6d7d.js";
|
|
28
|
+
import "../../mui_extended/Tab/index.7c82e43d.js";
|
|
28
29
|
import "../../mui_extended/Tooltip/index.5a795dcd.js";
|
|
29
30
|
const UploadImageRoot = styled("div")(({
|
|
30
31
|
theme
|
|
@@ -123,9 +124,6 @@ function UploadImage({
|
|
|
123
124
|
isDragActive,
|
|
124
125
|
hasFile: file
|
|
125
126
|
};
|
|
126
|
-
console.log("isSkeleton", isSkeleton);
|
|
127
|
-
console.log("file load", file);
|
|
128
|
-
console.log("ownerState", ownerSate);
|
|
129
127
|
const classes = RHFUploadImageUtilityClasses(ownerSate);
|
|
130
128
|
return /* @__PURE__ */ jsx(UploadImageRoot, {
|
|
131
129
|
className: classes.root,
|
package/components/index.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ export * from './HelperText';
|
|
|
17
17
|
export * from './CommonActions/';
|
|
18
18
|
export * from './CommonActions/dictionary';
|
|
19
19
|
export * from './DraggableWindow';
|
|
20
|
+
export * from './GridLayout';
|
|
20
21
|
export * from './Icon';
|
|
21
22
|
export * from './LanguagePopover';
|
|
22
23
|
export * from './LinearProgressIndeterminate';
|
|
@@ -1,24 +1,25 @@
|
|
|
1
1
|
import { useEnvironment } from "@m4l/core";
|
|
2
2
|
import "react";
|
|
3
|
-
import { u as useModal } from "../../hooks/useModal/index.
|
|
4
|
-
import { m as modalUtilityClasses } from "./index.
|
|
5
|
-
import { I as Icon } from "../Icon/index.
|
|
3
|
+
import { u as useModal } from "../../hooks/useModal/index.8e85f7ae.js";
|
|
4
|
+
import { m as modalUtilityClasses } from "./index.00efea85.js";
|
|
5
|
+
import { I as Icon } from "../Icon/index.9fcd1476.js";
|
|
6
6
|
import "@mui/material";
|
|
7
|
-
import { I as IconButton } from "../mui_extended/IconButton/index.
|
|
8
|
-
import "../mui_extended/Accordion/index.
|
|
7
|
+
import { I as IconButton } from "../mui_extended/IconButton/index.12f1a3c3.js";
|
|
8
|
+
import "../mui_extended/Accordion/index.9877f7bf.js";
|
|
9
9
|
import "../mui_extended/Typography/index.443590d6.js";
|
|
10
10
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
11
11
|
import clsx from "clsx";
|
|
12
12
|
import "../mui_extended/Avatar/index.75e6ed57.js";
|
|
13
13
|
import "react-router-dom";
|
|
14
14
|
import "@mui/material/Button";
|
|
15
|
-
import "../mui_extended/Button/index.
|
|
15
|
+
import "../mui_extended/Button/index.4288f9fc.js";
|
|
16
|
+
import "../mui_extended/Badge/index.8c2b8b66.js";
|
|
16
17
|
import "../Image/index.c18ebf5a.js";
|
|
17
18
|
import "@mui/lab";
|
|
19
|
+
import "../mui_extended/MenuActions/index.43a2e1ae.js";
|
|
18
20
|
import "../mui_extended/Popover/index.9f35d0eb.js";
|
|
19
|
-
import "../mui_extended/
|
|
20
|
-
import "../mui_extended/
|
|
21
|
-
import "../mui_extended/Tab/index.9e2f6e34.js";
|
|
21
|
+
import "../mui_extended/Pager/index.2f6d6d7d.js";
|
|
22
|
+
import "../mui_extended/Tab/index.7c82e43d.js";
|
|
22
23
|
import "../mui_extended/Tooltip/index.5a795dcd.js";
|
|
23
24
|
const Header = (props) => {
|
|
24
25
|
const {
|