@m4l/components 0.1.18 → 0.1.20
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/CommonActions/components/ActionCancel/{index.7e947996.js → index.3775989f.js} +1 -1
- package/components/CommonActions/components/ActionFormCancel/{index.63405f6c.js → index.d69d9e0f.js} +2 -2
- package/components/CommonActions/components/ActionIntro/{index.bac90f39.js → index.ca7b6952.js} +1 -1
- package/components/CommonActions/components/Actions/{index.6b25caed.js → index.a908e4b9.js} +170 -171
- package/components/DataGrid/{index.091572bf.js → index.5cbf0dd8.js} +3 -3
- package/components/DynamicFilter/{index.7efecd5d.js → index.8a571617.js} +80 -82
- package/components/HelmetPage/index.d.ts +6 -0
- package/components/{Page → HelmetPage}/types.d.ts +2 -2
- package/components/Icon/{index.cbca79b0.js → index.f569765b.js} +41 -29
- package/components/Icon/types.d.ts +1 -0
- package/components/Image/index.c9da2d5a.js +152 -0
- package/components/Image/index.d.ts +2 -2
- package/components/Image/styles.d.ts +2 -4
- package/components/Image/subcomponents/BasicIntersectComponent/index.d.ts +3 -0
- package/components/Image/subcomponents/LazyLoadComponent/index.d.ts +3 -0
- package/components/Image/subcomponents/Skeleton/index.d.ts +3 -0
- package/components/Image/subcomponents/Skeleton/styles.d.ts +2 -0
- package/components/Image/subcomponents/Skeleton/types.d.ts +4 -0
- package/components/Image/types.d.ts +30 -15
- package/components/Image/utils/isIntersectionObserverAvailable.d.ts +1 -0
- package/components/LanguagePopover/styles.d.ts +1 -1
- package/components/ModalDialog/{index.0ddffae6.js → index.16024a4e.js} +3 -3
- package/components/NoItemSelected/{index.12f0ca67.js → index.9609a7f7.js} +1 -1
- package/components/NoItemSelected/styles.d.ts +1 -1
- package/components/ObjectLogs/{index.64f06b3d.js → index.ac2bfa48.js} +5 -5
- package/components/Page/index.fc660ee5.js +27 -0
- package/components/PaperForm/{index.d7c74064.js → index.3f8c7ef2.js} +1 -1
- package/components/Period/{index.8423f865.js → index.497b8df4.js} +7 -8
- package/components/animate/IconButtonAnimate/index.d.ts +1 -1
- package/components/animate/features.d.ts +2 -0
- package/components/animate/variants/bounce.d.ts +10 -10
- package/components/animate/variants/container.d.ts +1 -1
- package/components/animate/variants/fade.d.ts +21 -21
- package/components/animate/variants/transition.d.ts +6 -6
- package/components/{hook-form/FormProvider/index.936cbb98.js → contexts/RHFormContext/index.f8241292.js} +17 -16
- package/components/formatters/BooleanFormatter/{index.cca53b7f.js → index.3ec56305.js} +1 -1
- package/components/formatters/DateFormatter/{index.ad8d9b8e.js → index.08d8823b.js} +1 -1
- package/components/formatters/{index.55856d65.js → index.6959c2de.js} +1 -1
- package/components/hook-form/RHFAutocomplete/index.b7f11146.js +146 -0
- package/components/hook-form/RHFAutocomplete/index.d.ts +1 -2
- package/components/hook-form/RHFAutocomplete/styles.d.ts +0 -1
- package/components/hook-form/RHFAutocomplete/subcomponents/RenderOption/index.d.ts +3 -0
- package/components/hook-form/RHFAutocomplete/subcomponents/RenderOption/styles.d.ts +2 -0
- package/components/hook-form/RHFAutocomplete/types.d.ts +13 -7
- package/components/hook-form/RHFAutocompleteAsync/index.97a5a66e.js +51 -0
- package/components/hook-form/RHFAutocompleteAsync/index.d.ts +1 -2
- package/components/hook-form/RHFAutocompleteAsync/types.d.ts +3 -11
- package/components/hook-form/RHFCheckbox/index.6a40e25f.js +55 -0
- package/components/hook-form/RHFCheckbox/subcomponents/Skeleton/index.d.ts +2 -0
- package/components/hook-form/RHFCheckbox/subcomponents/Skeleton/styles.d.ts +2 -0
- package/components/hook-form/RHFDateTime/{index.fc5cbafe.js → index.5ed774e3.js} +24 -26
- package/components/hook-form/RHFDateTime/types.d.ts +2 -5
- package/components/hook-form/RHFPeriod/{index.0b982ae8.js → index.e17b1c72.js} +1 -1
- package/components/hook-form/RHFTextField/index.bab2a2cf.js +113 -0
- package/components/hook-form/RHFTextField/index.d.ts +1 -1
- package/components/hook-form/RHFTextField/subcomponents/Skeleton/index.d.ts +3 -0
- package/components/hook-form/RHFTextField/subcomponents/Skeleton/styles.d.ts +2 -0
- package/components/hook-form/RHFTextField/subcomponents/Skeleton/types.d.ts +4 -0
- package/components/hook-form/RHFTextField/types.d.ts +2 -5
- package/components/hook-form/RHFTextFieldPassword/index.d.ts +3 -0
- package/components/hook-form/RHFTextFieldPassword/types.d.ts +4 -0
- package/components/hook-form/RHFUpload/{index.ed3d739f.js → index.cbf11b68.js} +31 -36
- package/components/hook-form/index.d.ts +1 -2
- package/components/index.d.ts +2 -3
- package/components/mui_extended/Accordion/{index.2116e423.js → index.49f5df8e.js} +2 -2
- package/components/mui_extended/Avatar/index.d.ts +1 -1
- package/components/mui_extended/Avatar/index.dadb0528.js +37 -0
- package/components/mui_extended/Avatar/subcomponents/SkeletonAvatar/index.d.ts +2 -0
- package/components/mui_extended/Button/index.16591787.js +144 -0
- package/components/mui_extended/IconButton/index.4b5ce8b5.js +103 -0
- package/components/mui_extended/IconButton/index.d.ts +1 -1
- package/components/mui_extended/IconButton/subcomponents/SkeletonIconButton/index.d.ts +2 -0
- package/components/mui_extended/ImageButton/index.d.ts +3 -0
- package/components/mui_extended/ImageButton/types.d.ts +7 -0
- package/components/mui_extended/LinkWithRoute/index.16436ab8.js +26 -0
- package/components/mui_extended/LinkWithRoute/types.d.ts +2 -6
- package/components/mui_extended/LoadingButton/subcomponents/Skeleton/index.d.ts +2 -0
- package/components/mui_extended/LoadingButton/subcomponents/Skeleton/styles.d.ts +2 -0
- package/components/mui_extended/LoadingButton/types.d.ts +2 -2
- package/components/mui_extended/MenuActions/styles.d.ts +2 -2
- package/components/mui_extended/MenuActions/types.d.ts +2 -2
- package/components/mui_extended/Pager/{index.f0911163.js → index.80c2f8a0.js} +1 -1
- package/components/mui_extended/Popover/index.305f2ea5.js +218 -0
- package/components/mui_extended/Popover/index.d.ts +4 -0
- package/components/mui_extended/Popover/types.d.ts +9 -0
- package/components/mui_extended/Typography/index.e5494696.js +31 -0
- package/components/mui_extended/Typography/subcomponents/index.d.ts +3 -0
- package/components/mui_extended/Typography/subcomponents/types.d.ts +2 -0
- package/components/mui_extended/Typography/types.d.ts +3 -5
- package/components/mui_extended/index.d.ts +1 -1
- package/contexts/ModalContext/{index.1688a07c.js → index.699767c7.js} +3 -3
- package/contexts/RHFormContext/index.d.ts +3 -0
- package/{components/hook-form/FormProvider → contexts/RHFormContext}/styles.d.ts +0 -0
- package/{components/hook-form/FormProvider → contexts/RHFormContext}/types.d.ts +0 -0
- package/contexts/index.d.ts +2 -0
- package/hooks/useFormAddEdit/index.d.ts +1 -1
- package/hooks/useFormAddEdit/types.d.ts +1 -1
- package/hooks/useModal/{index.cdd84702.js → index.8201ccec.js} +1 -1
- package/index.js +148 -151
- package/package.json +3 -1
- package/utils/index.d.ts +1 -1
- package/components/CompanyLogo/index.d.ts +0 -3
- package/components/CompanyLogo/index.f81c179c.js +0 -75
- package/components/CompanyLogo/styles.d.ts +0 -5
- package/components/CompanyLogo/types.d.ts +0 -6
- package/components/Image/index.e790b50b.js +0 -122
- package/components/LanguagePopover/index.15f7dea7.js +0 -87
- package/components/Page/index.6d69977e.js +0 -35
- package/components/Page/index.d.ts +0 -3
- package/components/hook-form/FormProvider/index.d.ts +0 -3
- package/components/hook-form/RHFAutocomplete/index.6ed76d4c.js +0 -122
- package/components/hook-form/RHFAutocompleteAsync/index.8f2c97ea.js +0 -153
- package/components/hook-form/RHFAutocompleteAsync/styles.d.ts +0 -4
- package/components/hook-form/RHFCheckbox/index.f9ce6c39.js +0 -59
- package/components/hook-form/RHFCheckbox/styles.d.ts +0 -13
- package/components/hook-form/RHFTextField/index.4c455f75.js +0 -77
- package/components/hook-form/RHFTextField/styles.d.ts +0 -2
- package/components/mui_extended/Avatar/index.0a2a4523.js +0 -32
- package/components/mui_extended/Button/index.3debb608.js +0 -110
- package/components/mui_extended/Button/styles.d.ts +0 -12
- package/components/mui_extended/IconButton/index.88f3aadb.js +0 -98
- package/components/mui_extended/LinkWithRoute/index.d4b263de.js +0 -28
- package/components/mui_extended/LoadingButton/skeleton.d.ts +0 -2
- package/components/mui_extended/LoadingButton/styles.d.ts +0 -2
- package/components/mui_extended/MenuPopover/index.488fc536.js +0 -131
- package/components/mui_extended/MenuPopover/index.d.ts +0 -4
- package/components/mui_extended/MenuPopover/types.d.ts +0 -9
- package/components/mui_extended/Typography/index.0c4604b3.js +0 -22
- package/react-lazy-load-image-component.45b56650.js +0 -784
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { TypographyProps as MUITypographyProps } from '@mui/material';
|
|
2
2
|
export interface SkeletonProps {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
height?: string | number;
|
|
3
|
+
skeletonWidth?: string | number;
|
|
4
|
+
skeletongHeight?: string | number;
|
|
6
5
|
}
|
|
7
|
-
export interface TypographyProps extends MUITypographyProps {
|
|
8
|
-
skeletonProps?: SkeletonProps;
|
|
6
|
+
export interface TypographyProps extends MUITypographyProps, SkeletonProps {
|
|
9
7
|
}
|
|
@@ -10,7 +10,7 @@ export { LinkWithRoute } from './LinkWithRoute';
|
|
|
10
10
|
export { LoadingButton } from './LoadingButton';
|
|
11
11
|
export { MenuActions } from './MenuActions';
|
|
12
12
|
export type { MenuAction, ComponentActionProps } from './MenuActions/types';
|
|
13
|
-
export {
|
|
13
|
+
export { Popover } from './Popover';
|
|
14
14
|
export { Pager } from './Pager';
|
|
15
15
|
export type { PagerProps } from './Pager/types';
|
|
16
16
|
export { getPagerComponentsDictionary } from './Pager/dicctionary';
|
|
@@ -4,9 +4,9 @@ import { Typography as I } from "@mui/material";
|
|
|
4
4
|
import { styled as c } from "@mui/material/styles";
|
|
5
5
|
import { B as _ } from "../../components/mui_extended/BoxIcon/index.e638ecc8.js";
|
|
6
6
|
import { jsx as t, jsxs as f, Fragment as k } from "react/jsx-runtime";
|
|
7
|
-
import { M as $ } from "../../components/ModalDialog/index.
|
|
8
|
-
import { A as b } from "../../components/CommonActions/components/ActionIntro/index.
|
|
9
|
-
import { A } from "../../components/CommonActions/components/ActionCancel/index.
|
|
7
|
+
import { M as $ } from "../../components/ModalDialog/index.16024a4e.js";
|
|
8
|
+
import { A as b } from "../../components/CommonActions/components/ActionIntro/index.ca7b6952.js";
|
|
9
|
+
import { A } from "../../components/CommonActions/components/ActionCancel/index.3775989f.js";
|
|
10
10
|
import { b as j } from "../../utils/index.214d9542.js";
|
|
11
11
|
const D = c("div")(() => ({
|
|
12
12
|
display: "flex",
|
|
File without changes
|
|
File without changes
|
package/contexts/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FormStatusLoad } from '../../
|
|
1
|
+
import { FormStatusLoad } from '../../contexts/RHFormContext/types';
|
|
2
2
|
import { UseFormAddEditProps } from './types';
|
|
3
3
|
export declare const useFormAddEdit: (props: UseFormAddEditProps) => {
|
|
4
4
|
formValues: import("react-hook-form").FieldValues;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FieldValues } from 'react-hook-form';
|
|
2
|
-
import { FormInitialValues } from '../../
|
|
2
|
+
import { FormInitialValues } from '../../contexts/RHFormContext/types';
|
|
3
3
|
export interface UseFormAddEditProps {
|
|
4
4
|
objectId?: number;
|
|
5
5
|
endPoint: string;
|
package/index.js
CHANGED
|
@@ -1,86 +1,82 @@
|
|
|
1
|
-
import { I as
|
|
1
|
+
import { I as E, a as N } from "./components/mui_extended/IconButton/index.4b5ce8b5.js";
|
|
2
2
|
import "framer-motion";
|
|
3
3
|
import "@mui/material";
|
|
4
4
|
import "react/jsx-runtime";
|
|
5
|
-
import { L as
|
|
6
|
-
import "react";
|
|
7
|
-
import "react-hook-form";
|
|
8
|
-
import { F as k } from "./components/hook-form/FormProvider/index.936cbb98.js";
|
|
5
|
+
import { L as O } from "./components/animate/LoadingScreen/index.f1cec7db.js";
|
|
9
6
|
import "@m4l/core";
|
|
10
|
-
import
|
|
11
|
-
import { R as
|
|
12
|
-
import
|
|
13
|
-
import {
|
|
7
|
+
import "react-hook-form";
|
|
8
|
+
import { R as j } from "./components/hook-form/RHFAutocomplete/index.b7f11146.js";
|
|
9
|
+
import "react";
|
|
10
|
+
import { I as G } from "./components/Image/index.c9da2d5a.js";
|
|
11
|
+
import { R as V } from "./components/hook-form/RHFCheckbox/index.6a40e25f.js";
|
|
12
|
+
import { R as W } from "./components/hook-form/RHFDateTime/index.5ed774e3.js";
|
|
14
13
|
import "@mui/x-date-pickers";
|
|
15
|
-
import { R as
|
|
16
|
-
import {
|
|
17
|
-
import { E as $ } from "./components/ErrorLabel/index.c8615f16.js";
|
|
18
|
-
import { P as ro, g as to } from "./components/Period/index.8423f865.js";
|
|
19
|
-
import { I as eo } from "./components/Icon/index.cbca79b0.js";
|
|
14
|
+
import { R as J, a as K } from "./components/hook-form/RHFTextField/index.bab2a2cf.js";
|
|
15
|
+
import { I as X } from "./components/Icon/index.f569765b.js";
|
|
20
16
|
import "@mui/material/styles";
|
|
21
|
-
import {
|
|
17
|
+
import { R as Z } from "./components/hook-form/RHFPeriod/index.e17b1c72.js";
|
|
18
|
+
import { E as $ } from "./components/ErrorLabel/index.c8615f16.js";
|
|
19
|
+
import { P as ro, g as to } from "./components/Period/index.497b8df4.js";
|
|
20
|
+
import { b as eo, M as mo, d as so, g as io } from "./components/CommonActions/components/Actions/index.a908e4b9.js";
|
|
22
21
|
import "@mui/material/Button";
|
|
23
|
-
import { B as fo, L as co } from "./components/mui_extended/Button/index.3debb608.js";
|
|
24
22
|
import "react-router-dom";
|
|
25
|
-
import { M as
|
|
23
|
+
import { M as no, a as xo } from "./contexts/ModalContext/index.699767c7.js";
|
|
26
24
|
import "@mui/lab";
|
|
27
25
|
import "./lodash.e09401f0.js";
|
|
28
26
|
import "react-dropzone";
|
|
29
|
-
import "./
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import { T as
|
|
37
|
-
import "@m4l/graphics";
|
|
38
|
-
import { C as Eo } from "./components/CompanyLogo/index.f81c179c.js";
|
|
39
|
-
import { D as ho, N as Oo, T as Uo, g as jo } from "./components/DataGrid/index.091572bf.js";
|
|
27
|
+
import { R as co } from "./components/hook-form/RHFUpload/index.cbf11b68.js";
|
|
28
|
+
import { A as go } from "./components/mui_extended/Accordion/index.49f5df8e.js";
|
|
29
|
+
import { A as uo } from "./components/mui_extended/Avatar/index.dadb0528.js";
|
|
30
|
+
import { B as Ro, L as yo } from "./components/mui_extended/Button/index.16591787.js";
|
|
31
|
+
import { L as Ao, P as Co } from "./components/mui_extended/Popover/index.305f2ea5.js";
|
|
32
|
+
import { P as vo, g as Ho } from "./components/mui_extended/Pager/index.80c2f8a0.js";
|
|
33
|
+
import { T as bo } from "./components/mui_extended/Tab/index.e0653a0a.js";
|
|
34
|
+
import { D as Io, N as To, T as So, g as Eo } from "./components/DataGrid/index.5cbf0dd8.js";
|
|
40
35
|
import "react-dnd";
|
|
41
36
|
import "react-dnd-html5-backend";
|
|
42
|
-
import
|
|
43
|
-
import {
|
|
37
|
+
import "@m4l/graphics";
|
|
38
|
+
import { S as ho } from "./components/ScrollBar/index.39eeb2de.js";
|
|
39
|
+
import { D as Uo, d as jo, g as ko } from "./components/DynamicFilter/index.8a571617.js";
|
|
44
40
|
import "simplebar/dist/simplebar.min.css";
|
|
41
|
+
import { R as zo } from "./components/contexts/RHFormContext/index.f8241292.js";
|
|
45
42
|
import "yup";
|
|
46
|
-
import { L as Jo } from "./components/LanguagePopover/index.15f7dea7.js";
|
|
47
43
|
import "./react-draggable.20e95c61.js";
|
|
48
|
-
import { M as
|
|
49
|
-
import { R as
|
|
50
|
-
import { N as
|
|
51
|
-
import { O as
|
|
44
|
+
import { M as wo, d as Wo, g as qo } from "./components/ModalDialog/index.16024a4e.js";
|
|
45
|
+
import { R as Ko } from "./components/Resizeable/index.45995d2b.js";
|
|
46
|
+
import { N as Xo, d as Yo, g as Zo } from "./components/NoItemSelected/index.9609a7f7.js";
|
|
47
|
+
import { O as $o, d as or, g as rr } from "./components/ObjectLogs/index.ac2bfa48.js";
|
|
52
48
|
import "./react-json-view.f56a7f8e.js";
|
|
53
|
-
import { P as
|
|
54
|
-
import {
|
|
55
|
-
import { P as
|
|
49
|
+
import { P as ar } from "./components/PaperForm/index.3f8c7ef2.js";
|
|
50
|
+
import { H as mr } from "./components/Page/index.fc660ee5.js";
|
|
51
|
+
import { P as ir } from "./components/PropertyValue/index.ab3dd7e9.js";
|
|
56
52
|
import "./react-splitter-layout.7810ac1b.js";
|
|
57
|
-
import { S as
|
|
58
|
-
import { v as
|
|
59
|
-
import { v as
|
|
60
|
-
import { v as
|
|
61
|
-
import { v as
|
|
62
|
-
import { M as
|
|
63
|
-
import { M as
|
|
64
|
-
import { R as
|
|
65
|
-
import { R as
|
|
66
|
-
import { R as
|
|
67
|
-
import {
|
|
68
|
-
import { B as
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import { A as
|
|
76
|
-
import { A as
|
|
77
|
-
import { A as
|
|
78
|
-
import {
|
|
79
|
-
import {
|
|
80
|
-
import {
|
|
81
|
-
import { u as
|
|
82
|
-
import {
|
|
83
|
-
import "./
|
|
53
|
+
import { S as nr } from "./components/SplitLayout/index.4032673d.js";
|
|
54
|
+
import { v as fr } from "./components/animate/variants/fade.b561c0fc.js";
|
|
55
|
+
import { v as lr } from "./components/animate/variants/bounce.784aaaaa.js";
|
|
56
|
+
import { v as gr } from "./components/animate/variants/container.11f82b76.js";
|
|
57
|
+
import { v as ur, a as Dr, b as Rr } from "./components/animate/variants/transition.bd46b9ce.js";
|
|
58
|
+
import { M as Pr } from "./components/animate/MotionContainer/index.8d9f9d80.js";
|
|
59
|
+
import { M as Cr } from "./components/animate/MotionLazyContainer/index.572dd012.js";
|
|
60
|
+
import { R as vr } from "./components/hook-form/RHFAutocompleteAsync/index.97a5a66e.js";
|
|
61
|
+
import { R as Mr } from "./components/hook-form/RHFMultiCheckbox/index.2680b3b6.js";
|
|
62
|
+
import { R as Br } from "./components/hook-form/RHFSelect/index.b6ca8bb2.js";
|
|
63
|
+
import { R as Tr } from "./components/hook-form/RHFRadioGroup/index.b3335e13.js";
|
|
64
|
+
import { B as Er } from "./components/mui_extended/BoxIcon/index.e638ecc8.js";
|
|
65
|
+
import { B as hr } from "./components/mui_extended/Breadcrumbs/index.5e37d903.js";
|
|
66
|
+
import { L as Ur } from "./components/mui_extended/LinkWithRoute/index.16436ab8.js";
|
|
67
|
+
import { T as kr } from "./components/mui_extended/Typography/index.e5494696.js";
|
|
68
|
+
import { B as zr, c as Vr } from "./components/formatters/BooleanFormatter/index.3ec56305.js";
|
|
69
|
+
import { D as Wr, c as qr } from "./components/formatters/DateFormatter/index.08d8823b.js";
|
|
70
|
+
import { P as Kr, a as Qr, U as Xr, e as Yr, b as Zr, c as _r, d as $r, g as ot } from "./components/formatters/index.6959c2de.js";
|
|
71
|
+
import { A as tt } from "./components/CommonActions/components/ActionCancel/index.3775989f.js";
|
|
72
|
+
import { A as et } from "./components/CommonActions/components/ActionIntro/index.ca7b6952.js";
|
|
73
|
+
import { A as st } from "./components/CommonActions/components/ActionFormCancel/index.d69d9e0f.js";
|
|
74
|
+
import { A as pt } from "./components/CommonActions/components/ActionFormIntro/index.ca4d2674.js";
|
|
75
|
+
import { L as xt } from "./components/Loadable/index.f5518558.js";
|
|
76
|
+
import { S as ct } from "./components/ScrollToTop/index.e06f98f6.js";
|
|
77
|
+
import { u as dt } from "./hooks/useFormAddEdit/index.d4845f1a.js";
|
|
78
|
+
import { u as Ft } from "./hooks/useModal/index.8201ccec.js";
|
|
79
|
+
import { L as Dt } from "./assets/Logo/index.228dcb5a.js";
|
|
84
80
|
import "./utils/index.214d9542.js";
|
|
85
81
|
import "./react-data-grid.d46d625e.js";
|
|
86
82
|
import "clsx";
|
|
@@ -88,97 +84,98 @@ import "./commonjs.565e6834.js";
|
|
|
88
84
|
import "prop-types";
|
|
89
85
|
import "react-dom";
|
|
90
86
|
import "simplebar-react";
|
|
87
|
+
import "./node_modules.168cb897.js";
|
|
91
88
|
import "./react-resizable.5277deaf.js";
|
|
92
89
|
import "react-helmet-async";
|
|
93
90
|
export {
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
Vo as DynamicFilter,
|
|
91
|
+
go as Accordion,
|
|
92
|
+
tt as ActionCancel,
|
|
93
|
+
st as ActionFormCancel,
|
|
94
|
+
pt as ActionFormIntro,
|
|
95
|
+
et as ActionIntro,
|
|
96
|
+
eo as Actions,
|
|
97
|
+
uo as Avatar,
|
|
98
|
+
zr as BooleanFormatter,
|
|
99
|
+
Er as BoxIcon,
|
|
100
|
+
hr as Breadcrumbs,
|
|
101
|
+
Ro as Button,
|
|
102
|
+
Io as DataGrid,
|
|
103
|
+
Wr as DateFormatter,
|
|
104
|
+
Uo as DynamicFilter,
|
|
109
105
|
$ as ErrorLabel,
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
Bo as Pager,
|
|
133
|
-
ir as PaperForm,
|
|
106
|
+
mr as HelmetPage,
|
|
107
|
+
X as Icon,
|
|
108
|
+
E as IconButton,
|
|
109
|
+
N as IconButtonAnimate,
|
|
110
|
+
G as Image,
|
|
111
|
+
Ao as LanguagePopover,
|
|
112
|
+
Ur as LinkWithRoute,
|
|
113
|
+
xt as Loadable,
|
|
114
|
+
yo as LoadingButton,
|
|
115
|
+
O as LoadingScreen,
|
|
116
|
+
Dt as Logo,
|
|
117
|
+
mo as MenuActions,
|
|
118
|
+
no as ModalContext,
|
|
119
|
+
wo as ModalDialog,
|
|
120
|
+
xo as ModalProvider,
|
|
121
|
+
Pr as MotionContainer,
|
|
122
|
+
Cr as MotionLazyContainer,
|
|
123
|
+
Xo as NoItemSelected,
|
|
124
|
+
To as NumberEditor,
|
|
125
|
+
$o as ObjectLogs,
|
|
126
|
+
vo as Pager,
|
|
127
|
+
ar as PaperForm,
|
|
134
128
|
ro as Period,
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
129
|
+
Kr as PointsFormatter,
|
|
130
|
+
Co as Popover,
|
|
131
|
+
Qr as PriceFormatter,
|
|
132
|
+
ir as PropertyValue,
|
|
133
|
+
j as RHFAutocomplete,
|
|
134
|
+
vr as RHFAutocompleteAsync,
|
|
135
|
+
V as RHFCheckbox,
|
|
136
|
+
W as RHFDateTime,
|
|
137
|
+
Mr as RHFMultiCheckbox,
|
|
143
138
|
Z as RHFPeriod,
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
139
|
+
Tr as RHFRadioGroup,
|
|
140
|
+
Br as RHFSelect,
|
|
141
|
+
J as RHFTextField,
|
|
142
|
+
K as RHFTextFieldPassword,
|
|
143
|
+
co as RHFUploadImage,
|
|
144
|
+
zo as RHFormProvider,
|
|
145
|
+
Ko as Resizeable,
|
|
146
|
+
ho as ScrollBar,
|
|
147
|
+
ct as ScrollToTop,
|
|
148
|
+
nr as SplitLayout,
|
|
149
|
+
bo as Tab,
|
|
150
|
+
So as TextEditor,
|
|
151
|
+
kr as Typography,
|
|
152
|
+
Xr as UncertaintyFormatter,
|
|
153
|
+
Vr as columnBooleanFormatter,
|
|
154
|
+
qr as columnDateFormatter,
|
|
155
|
+
Yr as columnNestedValueFormatter,
|
|
156
|
+
Zr as columnPointsFormatter,
|
|
157
|
+
_r as columnUncertaintyFormatter,
|
|
158
|
+
so as defaultCommonActionsDictionary,
|
|
159
|
+
jo as defaultDynamicFilterDictionary,
|
|
160
|
+
$r as defaultFormattersDictionary,
|
|
161
|
+
Wo as defaultModalDialogDictionary,
|
|
162
|
+
Yo as defaultNoItemSelectedDictionary,
|
|
163
|
+
or as defaultObjectLogDictionary,
|
|
164
|
+
io as getCommonActionsDictionary,
|
|
165
|
+
ko as getDynamicFilterComponentsDictionary,
|
|
166
|
+
ot as getFormattersComponentsDictionary,
|
|
167
|
+
Eo as getGridComponentsDictionary,
|
|
168
|
+
qo as getModalDialogComponentsDictionary,
|
|
169
|
+
Zo as getNoItemSelectedComponentsDictionary,
|
|
170
|
+
rr as getObjectLogsComponentsDictionary,
|
|
171
|
+
Ho as getPagerComponentsDictionary,
|
|
175
172
|
to as getPeriodComponetsDictionary,
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
173
|
+
dt as useFormAddEdit,
|
|
174
|
+
Ft as useModal,
|
|
175
|
+
lr as varBounce,
|
|
176
|
+
gr as varContainer,
|
|
177
|
+
fr as varFade,
|
|
178
|
+
ur as varTranEnter,
|
|
179
|
+
Dr as varTranExit,
|
|
180
|
+
Rr as varTranHover
|
|
184
181
|
};
|
package/package.json
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@m4l/components",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.20",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@m4l/core": "*",
|
|
7
7
|
"@m4l/graphics": "*",
|
|
8
|
+
"lodash.debounce": "^4.0.8",
|
|
9
|
+
"lodash.throttle": "^4.1.1",
|
|
8
10
|
"react-helmet-async": "^1.3.0",
|
|
9
11
|
"react-hook-form": "^7.33.1",
|
|
10
12
|
"react-router-dom": "^6.3.0",
|
package/utils/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Palette, Theme } from '@mui/material/styles';
|
|
2
2
|
import { VariantColor } from './types';
|
|
3
3
|
export declare const getPaletteColor: (palette: Palette, s: string) => any;
|
|
4
|
-
export declare const getVariantColor: (variant: VariantColor | undefined) => "
|
|
4
|
+
export declare const getVariantColor: (variant: VariantColor | undefined) => "error" | "warning" | "info" | "primary";
|
|
5
5
|
export declare const getThemeVariantColor: (theme: Theme, variant: VariantColor | undefined) => string;
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import { useEnvironment as g } from "@m4l/core";
|
|
2
|
-
import { useResponsive as m } from "@m4l/graphics";
|
|
3
|
-
import { Skeleton as x } from "@mui/material";
|
|
4
|
-
import { styled as s } from "@mui/material/styles";
|
|
5
|
-
import { I as d } from "../Image/index.e790b50b.js";
|
|
6
|
-
import { jsx as t } from "react/jsx-runtime";
|
|
7
|
-
s("div")(({
|
|
8
|
-
theme: c
|
|
9
|
-
}) => ({
|
|
10
|
-
[c.breakpoints.up("md")]: {
|
|
11
|
-
display: "flex"
|
|
12
|
-
}
|
|
13
|
-
}));
|
|
14
|
-
s("header")(({
|
|
15
|
-
theme: c
|
|
16
|
-
}) => ({
|
|
17
|
-
top: 0,
|
|
18
|
-
lineHeight: 0,
|
|
19
|
-
width: "100%",
|
|
20
|
-
display: "flex",
|
|
21
|
-
alignItems: "center",
|
|
22
|
-
position: "absolute",
|
|
23
|
-
padding: c.spacing(3),
|
|
24
|
-
justifyContent: "space-between",
|
|
25
|
-
[c.breakpoints.up("md")]: {
|
|
26
|
-
alignItems: "flex-start",
|
|
27
|
-
padding: c.spacing(7, 5, 0, 7)
|
|
28
|
-
}
|
|
29
|
-
}));
|
|
30
|
-
s("div")(({
|
|
31
|
-
theme: c
|
|
32
|
-
}) => ({
|
|
33
|
-
maxWidth: 480,
|
|
34
|
-
margin: "auto",
|
|
35
|
-
display: "flex",
|
|
36
|
-
minHeight: "100vh",
|
|
37
|
-
flexDirection: "column",
|
|
38
|
-
justifyContent: "center",
|
|
39
|
-
padding: c.spacing(12, 0)
|
|
40
|
-
}));
|
|
41
|
-
const w = s("div")(({
|
|
42
|
-
theme: c
|
|
43
|
-
}) => ({
|
|
44
|
-
mask: `url("data:image/svg+xml,%3Csvg version='1.1' id='Capa_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 70 70' style='enable-background:new 0 0 70 70%3B' xml:space='preserve'%3E%3Cg%3E%3Cpath d='M45 8.7c1.4-1.5 3.4-2.3 5.4-2.3s3.9 0.8 5.4 2.3s2.4 3.5 2.5 5.7c0 2.2-0.9 4.2-2.4 5.7s-3.5 2.3-5.5 2.2c-2.1 0.1-4-0.7-5.5-2.2c-1.4-1.5-2.3-3.5-2.4-5.7C42.6 12.2 43.5 10.2 45 8.7z'/%3E%3Cpath d='M68.4 62.1c-0.3 0.5-0.7 0.8-1.2 1.1s-1 0.4-1.6 0.4H4.3c-0.6 0-1.1-0.1-1.6-0.4s-0.9-0.6-1.2-1.1c-0.2-0.5-0.4-1-0.4-1.5s0.1-1.1 0.4-1.5l23-36.4c0.3-0.5 0.7-0.8 1.2-1.1c0.5-0.3 1-0.4 1.6-0.4c0.6 0 1.1 0.1 1.6 0.4c0.5 0.3 0.9 0.6 1.2 1.1l11.5 18.2c0.2 0.3 0.5 0.5 0.8 0.7c0.3 0.2 0.6 0.3 1 0.3c0.3 0 0.7-0.1 1-0.3c0.3-0.2 0.6-0.4 0.8-0.7l3.1-4.9c0.3-0.5 0.7-0.8 1.2-1.1c0.5-0.3 1-0.4 1.6-0.4c0.6 0 1.1 0.1 1.6 0.4c0.5 0.3 0.9 0.6 1.2 1.1l14.6 23.1c0.3 0.5 0.3 1 0.3 1.5S68.7 61.7 68.4 62.1z'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain`,
|
|
45
|
-
WebkitMask: `url("data:image/svg+xml,%3Csvg version='1.1' id='Capa_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 70 70' style='enable-background:new 0 0 70 70%3B' xml:space='preserve'%3E%3Cg%3E%3Cpath d='M45 8.7c1.4-1.5 3.4-2.3 5.4-2.3s3.9 0.8 5.4 2.3s2.4 3.5 2.5 5.7c0 2.2-0.9 4.2-2.4 5.7s-3.5 2.3-5.5 2.2c-2.1 0.1-4-0.7-5.5-2.2c-1.4-1.5-2.3-3.5-2.4-5.7C42.6 12.2 43.5 10.2 45 8.7z'/%3E%3Cpath d='M68.4 62.1c-0.3 0.5-0.7 0.8-1.2 1.1s-1 0.4-1.6 0.4H4.3c-0.6 0-1.1-0.1-1.6-0.4s-0.9-0.6-1.2-1.1c-0.2-0.5-0.4-1-0.4-1.5s0.1-1.1 0.4-1.5l23-36.4c0.3-0.5 0.7-0.8 1.2-1.1c0.5-0.3 1-0.4 1.6-0.4c0.6 0 1.1 0.1 1.6 0.4c0.5 0.3 0.9 0.6 1.2 1.1l11.5 18.2c0.2 0.3 0.5 0.5 0.8 0.7c0.3 0.2 0.6 0.3 1 0.3c0.3 0 0.7-0.1 1-0.3c0.3-0.2 0.6-0.4 0.8-0.7l3.1-4.9c0.3-0.5 0.7-0.8 1.2-1.1c0.5-0.3 1-0.4 1.6-0.4c0.6 0 1.1 0.1 1.6 0.4c0.5 0.3 0.9 0.6 1.2 1.1l14.6 23.1c0.3 0.5 0.3 1 0.3 1.5S68.7 61.7 68.4 62.1z'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain`,
|
|
46
|
-
[c.breakpoints.up("md")]: {
|
|
47
|
-
mask: `url("data:image/svg+xml,%3Csvg version='1.1' id='Capa_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 394.6 97' style='enable-background:new 0 0 394.6 97%3B' xml:space='preserve'%3E%3Cpath d='M54.2 35.1c2.2 0 4.3-0.8 5.8-2.3c1.6-1.5 2.5-3.7 2.6-6c-0.1-2.3-1-4.4-2.6-6c-1.6-1.5-3.7-2.4-5.8-2.4c-2.2 0-4.2 0.8-5.8 2.4c-1.5 1.6-2.5 3.7-2.6 6c0.1 2.3 1 4.4 2.6 6C50 34.3 52 35.2 54.2 35.1z'/%3E%3Cpath d='M58 49.6c-0.3-0.5-0.8-0.9-1.3-1.2C56.2 48.1 55.6 48 55 48s-1.3 0.1-1.8 0.4c-0.5 0.3-1 0.7-1.3 1.2l-3.3 5.2c-0.2 0.4-0.5 0.6-0.8 0.8c-0.3 0.2-0.7 0.3-1.1 0.3c-0.4 0-0.8-0.1-1.1-0.3c-0.3-0.2-0.6-0.5-0.8-0.8L32.7 35.5c-0.3-0.5-0.8-0.9-1.3-1.2s-1.1-0.4-1.7-0.4c-0.6 0-1.2 0.1-1.7 0.4s-1 0.7-1.3 1.2L2.5 74C2.2 74.5 2 75 2 75.6c0 0.6 0.2 1.1 0.5 1.6s0.8 0.9 1.3 1.2c0.5 0.3 1.1 0.4 1.7 0.4h64.9c0.6 0 1.2-0.2 1.7-0.4c0.5-0.3 1-0.7 1.3-1.2c0.3-0.5 0.5-1 0.5-1.6c0-0.6-0.2-1.1-0.5-1.6L58 49.6z'/%3E%3Cpath d='M386.6 41.8H107.5c-3.1 0-5.6 2.5-5.6 5.6v9c0 3.1 2.5 5.6 5.6 5.6h279.1c3.1 0 5.6-2.5 5.6-5.6v-9C392.2 44.3 389.7 41.8 386.6 41.8z'/%3E%3C/svg%3E") no-repeat center / contain`,
|
|
48
|
-
WebkitMask: `url("data:image/svg+xml,%3Csvg version='1.1' id='Capa_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 394.6 97' style='enable-background:new 0 0 394.6 97%3B' xml:space='preserve'%3E%3Cpath d='M54.2 35.1c2.2 0 4.3-0.8 5.8-2.3c1.6-1.5 2.5-3.7 2.6-6c-0.1-2.3-1-4.4-2.6-6c-1.6-1.5-3.7-2.4-5.8-2.4c-2.2 0-4.2 0.8-5.8 2.4c-1.5 1.6-2.5 3.7-2.6 6c0.1 2.3 1 4.4 2.6 6C50 34.3 52 35.2 54.2 35.1z'/%3E%3Cpath d='M58 49.6c-0.3-0.5-0.8-0.9-1.3-1.2C56.2 48.1 55.6 48 55 48s-1.3 0.1-1.8 0.4c-0.5 0.3-1 0.7-1.3 1.2l-3.3 5.2c-0.2 0.4-0.5 0.6-0.8 0.8c-0.3 0.2-0.7 0.3-1.1 0.3c-0.4 0-0.8-0.1-1.1-0.3c-0.3-0.2-0.6-0.5-0.8-0.8L32.7 35.5c-0.3-0.5-0.8-0.9-1.3-1.2s-1.1-0.4-1.7-0.4c-0.6 0-1.2 0.1-1.7 0.4s-1 0.7-1.3 1.2L2.5 74C2.2 74.5 2 75 2 75.6c0 0.6 0.2 1.1 0.5 1.6s0.8 0.9 1.3 1.2c0.5 0.3 1.1 0.4 1.7 0.4h64.9c0.6 0 1.2-0.2 1.7-0.4c0.5-0.3 1-0.7 1.3-1.2c0.3-0.5 0.5-1 0.5-1.6c0-0.6-0.2-1.1-0.5-1.6L58 49.6z'/%3E%3Cpath d='M386.6 41.8H107.5c-3.1 0-5.6 2.5-5.6 5.6v9c0 3.1 2.5 5.6 5.6 5.6h279.1c3.1 0 5.6-2.5 5.6-5.6v-9C392.2 44.3 389.7 41.8 386.6 41.8z'/%3E%3C/svg%3E") no-repeat center / contain`
|
|
49
|
-
}
|
|
50
|
-
})), f = (c) => {
|
|
51
|
-
const {
|
|
52
|
-
size: e = "small",
|
|
53
|
-
isSkeleton: a,
|
|
54
|
-
...i
|
|
55
|
-
} = c, o = e === "small" ? "50px" : "auto", p = e === "small" ? "50px" : "380px", {
|
|
56
|
-
host_static_assets: l,
|
|
57
|
-
environment_assets: r
|
|
58
|
-
} = g(), n = m("up", "md");
|
|
59
|
-
return a ? /* @__PURE__ */ t(w, {
|
|
60
|
-
children: /* @__PURE__ */ t(x, {
|
|
61
|
-
variant: "rectangular",
|
|
62
|
-
width: n ? 380 : 50,
|
|
63
|
-
height: n ? 97 : 50
|
|
64
|
-
})
|
|
65
|
-
}) : /* @__PURE__ */ t(d, {
|
|
66
|
-
src: `${l}/${r}/frontend/commons/assets/icons/${e === "small" ? "isotipo_m4l.svg" : "logotipo_m4l.svg"}`,
|
|
67
|
-
effect: "opacity",
|
|
68
|
-
width: p,
|
|
69
|
-
height: o,
|
|
70
|
-
...i
|
|
71
|
-
});
|
|
72
|
-
};
|
|
73
|
-
export {
|
|
74
|
-
f as C
|
|
75
|
-
};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const RootStyle: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
3
|
-
export declare const HeaderStyle: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
|
|
4
|
-
export declare const ContentStyle: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
5
|
-
export declare const SKTCompanyLogoMask: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|