@m4l/components 0.1.29 → 0.1.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/components/CommonActions/components/ActionCancel/{index.a57fcfae.js → index.01a86ee6.js} +1 -1
- package/components/CommonActions/components/ActionFormCancel/{index.b8215cd2.js → index.e18a3161.js} +2 -2
- package/components/CommonActions/components/ActionIntro/{index.591a8195.js → index.fdd7e34d.js} +1 -1
- package/components/CommonActions/components/Actions/{index.2ce05d29.js → index.c87086ac.js} +9 -9
- package/components/DataGrid/{index.07162c02.js → index.fc1ace65.js} +3 -3
- package/components/DynamicFilter/{index.31876c9f.js → index.12df5a80.js} +13 -14
- package/components/Icon/{index.619c31c4.js → index.619fa9ad.js} +1 -1
- package/components/Loadable/{index.f5518558.js → index.55b8adb7.js} +2 -3
- package/components/ModalDialog/{index.3e5675c4.js → index.6bec80b1.js} +6 -6
- package/components/ObjectLogs/{index.35dbf836.js → index.93488e5f.js} +6 -6
- package/components/PaperForm/{index.ec9cb8c9.js → index.9582ff5e.js} +1 -1
- package/components/Period/{index.111600f2.js → index.f17be628.js} +3 -3
- package/components/Resizeable/{index.45995d2b.js → index.d27b0310.js} +1 -1
- package/components/SplitLayout/{index.4032673d.js → index.5a8355d8.js} +1 -1
- package/components/animate/IconButtonAnimate/index.d.ts +1 -1
- package/components/animate/LoadingScreen/index.d.ts +2 -2
- package/components/animate/LoadingScreen/types.d.ts +2 -2
- package/components/animate/PropagateLoader/index.d.ts +2 -0
- package/components/animate/PropagateLoader/index.d5c18992.js +94 -0
- package/components/animate/PropagateLoader/syles.d.ts +2 -0
- package/components/animate/index.d.ts +1 -0
- package/components/formatters/BooleanFormatter/{index.ae70b54f.js → index.35185e99.js} +4 -4
- package/components/formatters/DateFormatter/{index.ed73f8ae.js → index.8494575f.js} +4 -4
- package/components/formatters/{index.9bd10770.js → index.b7532df7.js} +6 -6
- package/components/hook-form/RHFDateTime/{index.e70d2de3.js → index.7f1cbd85.js} +0 -1
- package/components/hook-form/RHFPeriod/{index.fa8426ac.js → index.e8c2c210.js} +1 -1
- package/components/hook-form/RHFTextField/{index.f9aaaa90.js → index.3cb4b35f.js} +1 -1
- package/components/hook-form/RHFTextField/index.d.ts +1 -1
- package/components/mui_extended/Accordion/{index.a02ac6ae.js → index.86b97783.js} +2 -2
- package/components/mui_extended/Avatar/index.d.ts +1 -1
- package/components/mui_extended/Button/{index.1d13f53b.js → index.6bdb0b2d.js} +2 -2
- package/components/mui_extended/IconButton/{index.a321e5cb.js → index.25ff14bd.js} +1 -1
- package/components/mui_extended/LinearProgress/index.c92b9ba9.js +13 -0
- package/components/mui_extended/LinearProgress/index.d.ts +3 -0
- package/components/mui_extended/MenuActions/styles.d.ts +3 -3
- package/components/mui_extended/Pager/{index.72b43352.js → index.66593ad3.js} +1 -1
- package/components/mui_extended/Popover/{index.028756ac.js → index.4c70cdba.js} +5 -8
- package/components/mui_extended/index.d.ts +1 -0
- package/contexts/ModalContext/{index.cc3690d3.js → index.6d1021d4.js} +4 -5
- package/contexts/RHFormContext/{index.f8c00745.js → index.d88e6e27.js} +0 -1
- package/hooks/useModal/{index.78ee58f3.js → index.ee8b9d9f.js} +1 -1
- package/index.js +50 -45
- package/node_modules.51fc30d1.js +63 -0
- package/package.json +2 -1
- package/{react-draggable.20e95c61.js → react-draggable.a09b624f.js} +4 -4
- package/{react-json-view.f56a7f8e.js → react-json-view.57125fcf.js} +2 -2
- package/{react-resizable.5277deaf.js → react-resizable.be53ee35.js} +5 -5
- package/{react-splitter-layout.7810ac1b.js → react-splitter-layout.8b1655c8.js} +2 -2
- package/utils/{index.214d9542.js → index.f3bfdc22.js} +2 -2
package/components/CommonActions/components/ActionCancel/{index.a57fcfae.js → index.01a86ee6.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useModuleDictionary } from "@m4l/core";
|
|
2
|
-
import { B as Button } from "../../../mui_extended/Button/index.
|
|
2
|
+
import { B as Button } from "../../../mui_extended/Button/index.6bdb0b2d.js";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
const ActionCancel = (props) => {
|
|
5
5
|
const {
|
package/components/CommonActions/components/ActionFormCancel/{index.b8215cd2.js → index.e18a3161.js}
RENAMED
|
@@ -2,9 +2,9 @@ import { useFormContext, useFormState } from "react-hook-form";
|
|
|
2
2
|
import { useNavigate } from "react-router-dom";
|
|
3
3
|
import { useModuleDictionary, useModuleSkeleton } from "@m4l/core";
|
|
4
4
|
import { Skeleton } from "@mui/material";
|
|
5
|
-
import { B as Button } from "../../../mui_extended/Button/index.
|
|
5
|
+
import { B as Button } from "../../../mui_extended/Button/index.6bdb0b2d.js";
|
|
6
6
|
import { useCallback } from "react";
|
|
7
|
-
import { u as useModal } from "../../../../hooks/useModal/index.
|
|
7
|
+
import { u as useModal } from "../../../../hooks/useModal/index.ee8b9d9f.js";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
9
|
function ActionFormCancel(props) {
|
|
10
10
|
const {
|
package/components/CommonActions/components/ActionIntro/{index.591a8195.js → index.fdd7e34d.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useModuleDictionary } from "@m4l/core";
|
|
2
|
-
import { B as Button } from "../../../mui_extended/Button/index.
|
|
2
|
+
import { B as Button } from "../../../mui_extended/Button/index.6bdb0b2d.js";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
const ActionIntro = (props) => {
|
|
5
5
|
const {
|
|
@@ -6,17 +6,17 @@ import "@mui/material/Button";
|
|
|
6
6
|
import "react-hook-form";
|
|
7
7
|
import "react-router-dom";
|
|
8
8
|
import { useState, useMemo, forwardRef, useRef, useImperativeHandle, useEffect, useCallback } from "react";
|
|
9
|
-
import "../../../../contexts/ModalContext/index.
|
|
9
|
+
import "../../../../contexts/ModalContext/index.6d1021d4.js";
|
|
10
10
|
import "@mui/lab";
|
|
11
|
-
import { I as IconButton$1 } from "../../../mui_extended/IconButton/index.
|
|
12
|
-
import { u as useBase, a as useFilters, O as OriginalDataGridWrapperStyled } from "../../../DataGrid/index.
|
|
13
|
-
import { P as Pager } from "../../../mui_extended/Pager/index.
|
|
11
|
+
import { I as IconButton$1 } from "../../../mui_extended/IconButton/index.25ff14bd.js";
|
|
12
|
+
import { u as useBase, a as useFilters, O as OriginalDataGridWrapperStyled } from "../../../DataGrid/index.fc1ace65.js";
|
|
13
|
+
import { P as Pager } from "../../../mui_extended/Pager/index.66593ad3.js";
|
|
14
14
|
import { D as DataGrid$1 } from "../../../../react-data-grid.d46d625e.js";
|
|
15
|
-
import { u as useModal } from "../../../../hooks/useModal/index.
|
|
16
|
-
import { A as ActionCancel } from "../ActionCancel/index.
|
|
17
|
-
import { A as ActionIntro } from "../ActionIntro/index.
|
|
18
|
-
import { P as Popover } from "../../../mui_extended/Popover/index.
|
|
19
|
-
import { I as Icon } from "../../../Icon/index.
|
|
15
|
+
import { u as useModal } from "../../../../hooks/useModal/index.ee8b9d9f.js";
|
|
16
|
+
import { A as ActionCancel } from "../ActionCancel/index.01a86ee6.js";
|
|
17
|
+
import { A as ActionIntro } from "../ActionIntro/index.fdd7e34d.js";
|
|
18
|
+
import { P as Popover } from "../../../mui_extended/Popover/index.4c70cdba.js";
|
|
19
|
+
import { I as Icon } from "../../../Icon/index.619fa9ad.js";
|
|
20
20
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
21
21
|
const WrapperStandarActions = styled("div")(({
|
|
22
22
|
theme
|
|
@@ -6,9 +6,9 @@ import { HTML5Backend } from "react-dnd-html5-backend";
|
|
|
6
6
|
import { SvgIcon, Checkbox, InputBase, Skeleton } from "@mui/material";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
import { voidFunction, useModuleDictionary, useModuleSkeleton } from "@m4l/core";
|
|
9
|
-
import { A as ActionsColumn, a as Actions } from "../CommonActions/components/Actions/index.
|
|
10
|
-
import { g as getModalDialogComponentsDictionary, d as defaultModalDialogDictionary } from "../ModalDialog/index.
|
|
11
|
-
import { g as getPagerComponentsDictionary, d as defaultPagerDictionary } from "../mui_extended/Pager/index.
|
|
9
|
+
import { A as ActionsColumn, a as Actions } from "../CommonActions/components/Actions/index.c87086ac.js";
|
|
10
|
+
import { g as getModalDialogComponentsDictionary, d as defaultModalDialogDictionary } from "../ModalDialog/index.6bec80b1.js";
|
|
11
|
+
import { g as getPagerComponentsDictionary, d as defaultPagerDictionary } from "../mui_extended/Pager/index.66593ad3.js";
|
|
12
12
|
const WrapperGrid = styled("div")(() => ({
|
|
13
13
|
display: "flex",
|
|
14
14
|
flexDirection: "column",
|
|
@@ -10,29 +10,29 @@ import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
|
10
10
|
import "../hook-form/RHFCheckbox/index.6dcec9e2.js";
|
|
11
11
|
import { alpha, styled as styled$1, Skeleton, MenuItem, useTheme, Popper, ClickAwayListener } from "@mui/material";
|
|
12
12
|
import "@mui/x-date-pickers";
|
|
13
|
-
import { R as RHFDateTime } from "../hook-form/RHFDateTime/index.
|
|
13
|
+
import { R as RHFDateTime } from "../hook-form/RHFDateTime/index.7f1cbd85.js";
|
|
14
14
|
import { useFormatter, useResponsiveDesktop } from "@m4l/graphics";
|
|
15
|
-
import { R as RHFTextField } from "../hook-form/RHFTextField/index.
|
|
16
|
-
import { I as Icon } from "../Icon/index.
|
|
17
|
-
import "../hook-form/RHFPeriod/index.
|
|
15
|
+
import { R as RHFTextField } from "../hook-form/RHFTextField/index.3cb4b35f.js";
|
|
16
|
+
import { I as Icon } from "../Icon/index.619fa9ad.js";
|
|
17
|
+
import "../hook-form/RHFPeriod/index.e8c2c210.js";
|
|
18
18
|
import "../ErrorLabel/index.c8615f16.js";
|
|
19
|
-
import "../Period/index.
|
|
20
|
-
import { L as LabelMemuItem, b as Actions, g as getCommonActionsDictionary } from "../CommonActions/components/Actions/index.
|
|
19
|
+
import "../Period/index.f17be628.js";
|
|
20
|
+
import { L as LabelMemuItem, b as Actions, g as getCommonActionsDictionary } from "../CommonActions/components/Actions/index.c87086ac.js";
|
|
21
21
|
import "@mui/material/Button";
|
|
22
22
|
import "react-router-dom";
|
|
23
|
-
import "../../contexts/ModalContext/index.
|
|
23
|
+
import "../../contexts/ModalContext/index.6d1021d4.js";
|
|
24
24
|
import "@mui/lab";
|
|
25
25
|
import "lodash/isString";
|
|
26
26
|
import "react-dropzone";
|
|
27
27
|
import "../Image/index.93d5f37f.js";
|
|
28
28
|
import "../hook-form/RHFUpload/index.d5cc7c13.js";
|
|
29
|
-
import { I as IconButton } from "../mui_extended/IconButton/index.
|
|
29
|
+
import { I as IconButton } from "../mui_extended/IconButton/index.25ff14bd.js";
|
|
30
30
|
import "simplebar/dist/simplebar.min.css";
|
|
31
|
-
import { F as FilterButton } from "../mui_extended/Button/index.
|
|
32
|
-
import { P as Popover } from "../mui_extended/Popover/index.
|
|
33
|
-
import { R as RHFormProvider } from "../../contexts/RHFormContext/index.
|
|
34
|
-
import { A as ActionCancel } from "../CommonActions/components/ActionCancel/index.
|
|
35
|
-
import { A as ActionIntro } from "../CommonActions/components/ActionIntro/index.
|
|
31
|
+
import { F as FilterButton } from "../mui_extended/Button/index.6bdb0b2d.js";
|
|
32
|
+
import { P as Popover } from "../mui_extended/Popover/index.4c70cdba.js";
|
|
33
|
+
import { R as RHFormProvider } from "../../contexts/RHFormContext/index.d88e6e27.js";
|
|
34
|
+
import { A as ActionCancel } from "../CommonActions/components/ActionCancel/index.01a86ee6.js";
|
|
35
|
+
import { A as ActionIntro } from "../CommonActions/components/ActionIntro/index.fdd7e34d.js";
|
|
36
36
|
const WrapperApplyedFilters = styled("div")(({
|
|
37
37
|
theme
|
|
38
38
|
}) => ({
|
|
@@ -952,7 +952,6 @@ function BaseProvider(props) {
|
|
|
952
952
|
setInEdition(true);
|
|
953
953
|
}, [applyedFilters]);
|
|
954
954
|
const closeMenuFields = useCallback(() => {
|
|
955
|
-
console.log("closeMenuFields");
|
|
956
955
|
setOpenAnchorEl(null);
|
|
957
956
|
setInEdition(false);
|
|
958
957
|
}, []);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { styled } from "@mui/material";
|
|
2
2
|
import { useState, useMemo, useEffect } from "react";
|
|
3
3
|
import { useTheme } from "@mui/material/styles";
|
|
4
|
-
import { g as getPaletteColor } from "../../utils/index.
|
|
4
|
+
import { g as getPaletteColor } from "../../utils/index.f3bfdc22.js";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
const DivIcon = styled("div", {
|
|
7
7
|
shouldForwardProp: (props) => props !== "src" && props !== "size" && props !== "bgColor" && props !== "rotationAngle" && props !== "angleTransition"
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { Suspense } from "react";
|
|
2
|
+
import { P as PropagateLoader } from "../animate/PropagateLoader/index.d5c18992.js";
|
|
2
3
|
import { jsx } from "react/jsx-runtime";
|
|
3
4
|
const Loadable = (Component) => function EmbededLoadable(props) {
|
|
4
5
|
return /* @__PURE__ */ jsx(Suspense, {
|
|
5
|
-
fallback: /* @__PURE__ */ jsx(
|
|
6
|
-
children: "Cargando"
|
|
7
|
-
}),
|
|
6
|
+
fallback: /* @__PURE__ */ jsx(PropagateLoader, {}),
|
|
8
7
|
children: /* @__PURE__ */ jsx(Component, {
|
|
9
8
|
...props
|
|
10
9
|
})
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { Dialog, IconButton, Paper } from "@mui/material";
|
|
2
|
-
import { c as cjs } from "../../react-draggable.
|
|
3
|
-
import { u as useModal } from "../../hooks/useModal/index.
|
|
2
|
+
import { c as cjs } from "../../react-draggable.a09b624f.js";
|
|
3
|
+
import { u as useModal } from "../../hooks/useModal/index.ee8b9d9f.js";
|
|
4
4
|
import { styled } from "@mui/material/styles";
|
|
5
|
-
import { a as getThemeVariantColor } from "../../utils/index.
|
|
6
|
-
import { R as Resizeable } from "../Resizeable/index.
|
|
5
|
+
import { a as getThemeVariantColor } from "../../utils/index.f3bfdc22.js";
|
|
6
|
+
import { R as Resizeable } from "../Resizeable/index.d27b0310.js";
|
|
7
7
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
8
8
|
import { useEnvironment } from "@m4l/core";
|
|
9
|
-
import { I as Icon } from "../Icon/index.
|
|
9
|
+
import { I as Icon } from "../Icon/index.619fa9ad.js";
|
|
10
10
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
11
|
-
import { b as Actions, g as getCommonActionsDictionary } from "../CommonActions/components/Actions/index.
|
|
11
|
+
import { b as Actions, g as getCommonActionsDictionary } from "../CommonActions/components/Actions/index.c87086ac.js";
|
|
12
12
|
const WrapperDialog = styled(Dialog)(() => ({}));
|
|
13
13
|
const Container = styled("div")(({ theme }) => ({
|
|
14
14
|
display: "flex",
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { useState, useEffect, useCallback, useMemo } from "react";
|
|
2
2
|
import { useNetwork, useModuleDictionary, useEnvironment, usePaginate } from "@m4l/core";
|
|
3
3
|
import { styled } from "@mui/material/styles";
|
|
4
|
-
import { D as DataGrid, g as getDataGridComponentsDictionary } from "../DataGrid/index.
|
|
5
|
-
import { D as DateFormatter } from "../formatters/DateFormatter/index.
|
|
4
|
+
import { D as DataGrid, g as getDataGridComponentsDictionary } from "../DataGrid/index.fc1ace65.js";
|
|
5
|
+
import { D as DateFormatter } from "../formatters/DateFormatter/index.8494575f.js";
|
|
6
6
|
import { Tooltip, IconButton } from "@mui/material";
|
|
7
7
|
import { useHostTheme, useResponsiveDesktop } from "@m4l/graphics";
|
|
8
|
-
import { R as ReactJson } from "../../react-json-view.
|
|
8
|
+
import { R as ReactJson } from "../../react-json-view.57125fcf.js";
|
|
9
9
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
|
-
import { u as useModal } from "../../hooks/useModal/index.
|
|
11
|
-
import { I as Icon } from "../Icon/index.
|
|
12
|
-
import { D as DynamicFilter, g as getDynamicFilterComponentsDictionary } from "../DynamicFilter/index.
|
|
10
|
+
import { u as useModal } from "../../hooks/useModal/index.ee8b9d9f.js";
|
|
11
|
+
import { I as Icon } from "../Icon/index.619fa9ad.js";
|
|
12
|
+
import { D as DynamicFilter, g as getDynamicFilterComponentsDictionary } from "../DynamicFilter/index.12df5a80.js";
|
|
13
13
|
const Container$1 = styled("div")(() => ({
|
|
14
14
|
height: "100%",
|
|
15
15
|
width: "100%",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { styled } from "@mui/material/styles";
|
|
2
2
|
import { useModuleSkeleton } from "@m4l/core";
|
|
3
3
|
import { Skeleton } from "@mui/material";
|
|
4
|
-
import { I as Icon } from "../Icon/index.
|
|
4
|
+
import { I as Icon } from "../Icon/index.619fa9ad.js";
|
|
5
5
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
6
6
|
const WrapperPaper = styled("div")(({
|
|
7
7
|
theme
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { useModuleDictionary, useModuleSkeleton, useEnvironment } from "@m4l/core";
|
|
2
2
|
import { styled, Skeleton, Autocomplete, TextField } from "@mui/material";
|
|
3
3
|
import { useMemo } from "react";
|
|
4
|
-
import { I as Icon } from "../Icon/index.
|
|
4
|
+
import { I as Icon } from "../Icon/index.619fa9ad.js";
|
|
5
5
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
6
|
-
import { g as getCommonActionsDictionary } from "../CommonActions/components/Actions/index.
|
|
6
|
+
import { g as getCommonActionsDictionary } from "../CommonActions/components/Actions/index.c87086ac.js";
|
|
7
7
|
import "@mui/material/Button";
|
|
8
8
|
import "react-hook-form";
|
|
9
9
|
import "react-router-dom";
|
|
10
|
-
import "../../contexts/ModalContext/index.
|
|
10
|
+
import "../../contexts/ModalContext/index.6d1021d4.js";
|
|
11
11
|
import "@mui/lab";
|
|
12
12
|
const ContainerPeriod = styled("div")(({
|
|
13
13
|
theme,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { styled } from "@mui/material/styles";
|
|
2
|
-
import { R as ResizableBox } from "../../react-resizable.
|
|
2
|
+
import { R as ResizableBox } from "../../react-resizable.be53ee35.js";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
const WrapperResizeable = styled(ResizableBox)(({
|
|
5
5
|
theme
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as SplitterLayout } from "../../react-splitter-layout.
|
|
1
|
+
import { S as SplitterLayout } from "../../react-splitter-layout.8b1655c8.js";
|
|
2
2
|
import { styled } from "@mui/material/styles";
|
|
3
3
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
4
|
const WrapperSplit = styled("div")(({
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { IconButtonProps } from '@mui/material';
|
|
3
|
-
export declare const IconButtonAnimate: import("react").ForwardRefExoticComponent<
|
|
3
|
+
export declare const IconButtonAnimate: import("react").ForwardRefExoticComponent<Omit<IconButtonProps<"button", {}>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
3
|
-
export declare function LoadingScreen(props:
|
|
2
|
+
import { LoadingScreenProps } from './types';
|
|
3
|
+
export declare function LoadingScreen(props: LoadingScreenProps): JSX.Element;
|
|
4
4
|
export default LoadingScreen;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare type LoadingScreenVariant = 'fullpage' | 'microfrontend';
|
|
2
|
-
export declare type RootStyleProps = Pick<
|
|
3
|
-
export declare type
|
|
2
|
+
export declare type RootStyleProps = Pick<LoadingScreenProps, 'variant'>;
|
|
3
|
+
export declare type LoadingScreenProps = {
|
|
4
4
|
isDashboard?: boolean;
|
|
5
5
|
variant?: LoadingScreenVariant;
|
|
6
6
|
};
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { styled, useTheme } from "@mui/material";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import * as React from "react";
|
|
4
|
+
import { c as createAnimation, p as parseLengthAndUnit } from "../../../node_modules.51fc30d1.js";
|
|
5
|
+
var __assign = globalThis && globalThis.__assign || function() {
|
|
6
|
+
__assign = Object.assign || function(t) {
|
|
7
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
8
|
+
s = arguments[i];
|
|
9
|
+
for (var p in s)
|
|
10
|
+
if (Object.prototype.hasOwnProperty.call(s, p))
|
|
11
|
+
t[p] = s[p];
|
|
12
|
+
}
|
|
13
|
+
return t;
|
|
14
|
+
};
|
|
15
|
+
return __assign.apply(this, arguments);
|
|
16
|
+
};
|
|
17
|
+
var __rest = globalThis && globalThis.__rest || function(s, e) {
|
|
18
|
+
var t = {};
|
|
19
|
+
for (var p in s)
|
|
20
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
21
|
+
t[p] = s[p];
|
|
22
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
23
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
24
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
25
|
+
t[p[i]] = s[p[i]];
|
|
26
|
+
}
|
|
27
|
+
return t;
|
|
28
|
+
};
|
|
29
|
+
var distance = [1, 3, 5];
|
|
30
|
+
var propagate = [
|
|
31
|
+
createAnimation("PropagateLoader", "25% {transform: translateX(-".concat(distance[0], "rem) scale(0.75)}\n 50% {transform: translateX(-").concat(distance[1], "rem) scale(0.6)}\n 75% {transform: translateX(-").concat(distance[2], "rem) scale(0.5)}\n 95% {transform: translateX(0rem) scale(1)}"), "propogate-0"),
|
|
32
|
+
createAnimation("PropagateLoader", "25% {transform: translateX(-".concat(distance[0], "rem) scale(0.75)}\n 50% {transform: translateX(-").concat(distance[1], "rem) scale(0.6)}\n 75% {transform: translateX(-").concat(distance[1], "rem) scale(0.6)}\n 95% {transform: translateX(0rem) scale(1)}"), "propogate-1"),
|
|
33
|
+
createAnimation("PropagateLoader", "25% {transform: translateX(-".concat(distance[0], "rem) scale(0.75)}\n 75% {transform: translateX(-").concat(distance[0], "rem) scale(0.75)}\n 95% {transform: translateX(0rem) scale(1)}"), "propogate-2"),
|
|
34
|
+
createAnimation("PropagateLoader", "25% {transform: translateX(".concat(distance[0], "rem) scale(0.75)}\n 75% {transform: translateX(").concat(distance[0], "rem) scale(0.75)}\n 95% {transform: translateX(0rem) scale(1)}"), "propogate-3"),
|
|
35
|
+
createAnimation("PropagateLoader", "25% {transform: translateX(".concat(distance[0], "rem) scale(0.75)}\n 50% {transform: translateX(").concat(distance[1], "rem) scale(0.6)}\n 75% {transform: translateX(").concat(distance[1], "rem) scale(0.6)}\n 95% {transform: translateX(0rem) scale(1)}"), "propogate-4"),
|
|
36
|
+
createAnimation("PropagateLoader", "25% {transform: translateX(".concat(distance[0], "rem) scale(0.75)}\n 50% {transform: translateX(").concat(distance[1], "rem) scale(0.6)}\n 75% {transform: translateX(").concat(distance[2], "rem) scale(0.5)}\n 95% {transform: translateX(0rem) scale(1)}"), "propogate-5")
|
|
37
|
+
];
|
|
38
|
+
function PropagateLoader$1(_a) {
|
|
39
|
+
var _b = _a.loading, loading = _b === void 0 ? true : _b, _c = _a.color, color = _c === void 0 ? "#000000" : _c, _d = _a.speedMultiplier, speedMultiplier = _d === void 0 ? 1 : _d, _e = _a.cssOverride, cssOverride = _e === void 0 ? {} : _e, _f = _a.size, size = _f === void 0 ? 15 : _f, additionalprops = __rest(_a, ["loading", "color", "speedMultiplier", "cssOverride", "size"]);
|
|
40
|
+
var _g = parseLengthAndUnit(size), value = _g.value, unit = _g.unit;
|
|
41
|
+
var wrapper = __assign({ display: "inherit", position: "relative" }, cssOverride);
|
|
42
|
+
var style = function(i) {
|
|
43
|
+
return {
|
|
44
|
+
position: "absolute",
|
|
45
|
+
fontSize: "".concat(value / 3).concat(unit),
|
|
46
|
+
width: "".concat(value).concat(unit),
|
|
47
|
+
height: "".concat(value).concat(unit),
|
|
48
|
+
background: color,
|
|
49
|
+
borderRadius: "50%",
|
|
50
|
+
animation: "".concat(propagate[i], " ").concat(1.5 / speedMultiplier, "s infinite"),
|
|
51
|
+
animationFillMode: "forwards"
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
if (!loading) {
|
|
55
|
+
return null;
|
|
56
|
+
}
|
|
57
|
+
return React.createElement(
|
|
58
|
+
"span",
|
|
59
|
+
__assign({ style: wrapper }, additionalprops),
|
|
60
|
+
React.createElement("span", { style: style(0) }),
|
|
61
|
+
React.createElement("span", { style: style(1) }),
|
|
62
|
+
React.createElement("span", { style: style(2) }),
|
|
63
|
+
React.createElement("span", { style: style(3) }),
|
|
64
|
+
React.createElement("span", { style: style(4) }),
|
|
65
|
+
React.createElement("span", { style: style(5) })
|
|
66
|
+
);
|
|
67
|
+
}
|
|
68
|
+
const WrapperPropageteLoader = styled("div")(({
|
|
69
|
+
theme
|
|
70
|
+
}) => ({
|
|
71
|
+
right: 0,
|
|
72
|
+
bottom: 0,
|
|
73
|
+
zIndex: 99999,
|
|
74
|
+
width: "100%",
|
|
75
|
+
height: "100%",
|
|
76
|
+
position: "fixed",
|
|
77
|
+
display: "flex",
|
|
78
|
+
alignItems: "center",
|
|
79
|
+
justifyContent: "center",
|
|
80
|
+
background: theme.palette.background.default
|
|
81
|
+
}));
|
|
82
|
+
const PropagateLoader = () => {
|
|
83
|
+
const {
|
|
84
|
+
palette
|
|
85
|
+
} = useTheme();
|
|
86
|
+
return /* @__PURE__ */ jsx(WrapperPropageteLoader, {
|
|
87
|
+
children: /* @__PURE__ */ jsx(PropagateLoader$1, {
|
|
88
|
+
color: palette.primary.main
|
|
89
|
+
})
|
|
90
|
+
});
|
|
91
|
+
};
|
|
92
|
+
export {
|
|
93
|
+
PropagateLoader as P
|
|
94
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const WrapperPropageteLoader: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -3,3 +3,4 @@ export { IconButtonAnimate } from './IconButtonAnimate';
|
|
|
3
3
|
export { MotionContainer } from './MotionContainer';
|
|
4
4
|
export { MotionLazyContainer } from './MotionLazyContainer';
|
|
5
5
|
export { LoadingScreen } from './LoadingScreen';
|
|
6
|
+
export { PropagateLoader } from './PropagateLoader';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { useModuleDictionary, useEnvironment, getPropertyByString } from "@m4l/core";
|
|
2
|
-
import
|
|
3
|
-
import { I as Icon } from "../../Icon/index.
|
|
2
|
+
import React__default from "react";
|
|
3
|
+
import { I as Icon } from "../../Icon/index.619fa9ad.js";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
import "@m4l/graphics";
|
|
6
6
|
function BooleanFormatter(props) {
|
|
7
7
|
const {
|
|
8
8
|
presentationType,
|
|
9
9
|
value,
|
|
10
|
-
Component =
|
|
10
|
+
Component = React__default.Fragment
|
|
11
11
|
} = props;
|
|
12
12
|
const {
|
|
13
13
|
getLabel
|
|
@@ -40,7 +40,7 @@ function columnBooleanFormatter(props) {
|
|
|
40
40
|
const {
|
|
41
41
|
fieldValue,
|
|
42
42
|
presentationType,
|
|
43
|
-
Component =
|
|
43
|
+
Component = React__default.Fragment
|
|
44
44
|
} = props;
|
|
45
45
|
return (obProps) => {
|
|
46
46
|
return /* @__PURE__ */ jsx(BooleanFormatter, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from "react";
|
|
2
2
|
import { getPropertyByString } from "@m4l/core";
|
|
3
|
-
import "../../Icon/index.
|
|
3
|
+
import "../../Icon/index.619fa9ad.js";
|
|
4
4
|
import "@mui/material/styles";
|
|
5
5
|
import { jsx, Fragment } from "react/jsx-runtime";
|
|
6
6
|
import { useFormatter } from "@m4l/graphics";
|
|
@@ -9,7 +9,7 @@ function DateFormatter(props) {
|
|
|
9
9
|
presentationType,
|
|
10
10
|
value,
|
|
11
11
|
format,
|
|
12
|
-
Component =
|
|
12
|
+
Component = React__default.Fragment
|
|
13
13
|
} = props;
|
|
14
14
|
const {
|
|
15
15
|
dateFormatter
|
|
@@ -51,7 +51,7 @@ function columnDateFormatter(props) {
|
|
|
51
51
|
const {
|
|
52
52
|
fieldValue,
|
|
53
53
|
presentationType,
|
|
54
|
-
Component =
|
|
54
|
+
Component = React__default.Fragment
|
|
55
55
|
} = props;
|
|
56
56
|
return (obProps) => {
|
|
57
57
|
return /* @__PURE__ */ jsx(DateFormatter, {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from "react";
|
|
2
2
|
import { jsx, Fragment } from "react/jsx-runtime";
|
|
3
3
|
import { getPropertyByString } from "@m4l/core";
|
|
4
|
-
import "../Icon/index.
|
|
4
|
+
import "../Icon/index.619fa9ad.js";
|
|
5
5
|
import "@mui/material/styles";
|
|
6
6
|
import "@m4l/graphics";
|
|
7
7
|
function UncertaintyFormatter(props) {
|
|
@@ -9,7 +9,7 @@ function UncertaintyFormatter(props) {
|
|
|
9
9
|
value,
|
|
10
10
|
unit,
|
|
11
11
|
symbol,
|
|
12
|
-
Component =
|
|
12
|
+
Component = React__default.Fragment
|
|
13
13
|
} = props;
|
|
14
14
|
if (value === void 0 || value === null || !Array.isArray(value)) {
|
|
15
15
|
return /* @__PURE__ */ jsx(Fragment, {
|
|
@@ -30,7 +30,7 @@ function PointsFormatter(props) {
|
|
|
30
30
|
const {
|
|
31
31
|
value,
|
|
32
32
|
unit,
|
|
33
|
-
Component =
|
|
33
|
+
Component = React__default.Fragment
|
|
34
34
|
} = props;
|
|
35
35
|
if (value === void 0 || value === null || !Array.isArray(value)) {
|
|
36
36
|
return /* @__PURE__ */ jsx(Fragment, {
|
|
@@ -50,7 +50,7 @@ function PointsFormatter(props) {
|
|
|
50
50
|
function PriceFormatter(props) {
|
|
51
51
|
const {
|
|
52
52
|
value,
|
|
53
|
-
Component =
|
|
53
|
+
Component = React__default.Fragment
|
|
54
54
|
} = props;
|
|
55
55
|
return /* @__PURE__ */ jsx(Component, {
|
|
56
56
|
children: `${value}$Cop`
|
|
@@ -100,7 +100,7 @@ function columnPointsFormatter(props) {
|
|
|
100
100
|
function columnNestedValueFormatter(props) {
|
|
101
101
|
const {
|
|
102
102
|
fieldValue,
|
|
103
|
-
Component =
|
|
103
|
+
Component = React__default.Fragment
|
|
104
104
|
} = props;
|
|
105
105
|
return (obProps) => {
|
|
106
106
|
return /* @__PURE__ */ jsx(Component, {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { styled } from "@mui/material";
|
|
2
2
|
import { useFormContext, Controller } from "react-hook-form";
|
|
3
3
|
import { E as ErrorLabel } from "../../ErrorLabel/index.c8615f16.js";
|
|
4
|
-
import { P as Period } from "../../Period/index.
|
|
4
|
+
import { P as Period } from "../../Period/index.f17be628.js";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
const Wrapper = styled("div")(({
|
|
7
7
|
theme
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useModuleSkeleton, useEnvironment } from "@m4l/core";
|
|
2
2
|
import { styled, Skeleton, TextField, InputAdornment } from "@mui/material";
|
|
3
3
|
import { forwardRef, useState } from "react";
|
|
4
|
-
import { I as IconButton } from "../../mui_extended/IconButton/index.
|
|
4
|
+
import { I as IconButton } from "../../mui_extended/IconButton/index.25ff14bd.js";
|
|
5
5
|
import { useFormContext, Controller } from "react-hook-form";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
const WrapperSkeletonRHFTextField = styled("div")(({
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { RHFTextFieldProps } from './types';
|
|
3
|
-
export declare const RHFTextField: import("react").ForwardRefExoticComponent<(Pick<RHFTextFieldProps & import("@mui/material").StandardTextFieldProps, "value" | "error" | "select" | "dir" | "label" | "slot" | "style" | "title" | "onChange" | "disabled" | "children" | "aria-label" | "aria-labelledby" | "tabIndex" | "key" | "rows" | "onFocus" | "className" | "onMouseEnter" | "id" | "aria-rowindex" | "onScroll" | "onCopy" | "onPaste" | "aria-describedby" | "onResize" | "type" | "hidden" | "name" | "placeholder" | "maxRows" | "minRows" | "aria-hidden" | "onDragStart" | "onDrag" | "onMouseDown" | "onMouseUp" | "onTouchStart" | "onTouchEnd" | "classes" | "color" | "margin" | "translate" | "sx" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "lang" | "nonce" | "spellCheck" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-invalid" | "aria-keyshortcuts" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDownCapture" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "autoComplete" | "autoFocus" | "required" | "size" | "focused" | "variant" | "inputProps" | "inputRef" | "fullWidth" | "hiddenLabel" | "InputProps" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "multiline" | "SelectProps" | "skeletonVariant" | "skeletonWidth" | "skeletonHeight"> | Pick<RHFTextFieldProps & import("@mui/material").FilledTextFieldProps, "value" | "error" | "select" | "dir" | "label" | "slot" | "style" | "title" | "onChange" | "disabled" | "children" | "aria-label" | "aria-labelledby" | "tabIndex" | "key" | "rows" | "onFocus" | "className" | "onMouseEnter" | "id" | "aria-rowindex" | "onScroll" | "onCopy" | "onPaste" | "aria-describedby" | "onResize" | "type" | "hidden" | "name" | "placeholder" | "maxRows" | "minRows" | "aria-hidden" | "onDragStart" | "onDrag" | "onMouseDown" | "onMouseUp" | "onTouchStart" | "onTouchEnd" | "classes" | "color" | "margin" | "translate" | "sx" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "lang" | "nonce" | "spellCheck" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-invalid" | "aria-keyshortcuts" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDownCapture" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "autoComplete" | "autoFocus" | "required" | "size" | "focused" | "variant" | "inputProps" | "inputRef" | "fullWidth" | "hiddenLabel" | "InputProps" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "multiline" | "SelectProps" | "skeletonVariant" | "skeletonWidth" | "skeletonHeight"> | Pick<RHFTextFieldProps & import("@mui/material").OutlinedTextFieldProps, "value" | "error" | "select" | "dir" | "label" | "slot" | "style" | "title" | "onChange" | "disabled" | "children" | "aria-label" | "aria-labelledby" | "tabIndex" | "key" | "rows" | "onFocus" | "className" | "onMouseEnter" | "id" | "aria-rowindex" | "onScroll" | "onCopy" | "onPaste" | "aria-describedby" | "onResize" | "type" | "hidden" | "name" | "placeholder" | "maxRows" | "minRows" | "aria-hidden" | "onDragStart" | "onDrag" | "onMouseDown" | "onMouseUp" | "onTouchStart" | "onTouchEnd" | "classes" | "color" | "margin" | "translate" | "sx" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "lang" | "nonce" | "spellCheck" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-invalid" | "aria-keyshortcuts" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDownCapture" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "autoComplete" | "autoFocus" | "required" | "size" | "focused" | "variant" | "inputProps" | "inputRef" | "fullWidth" | "hiddenLabel" | "InputProps" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "multiline" | "SelectProps" | "skeletonVariant" | "skeletonWidth" | "skeletonHeight">) & import("react").RefAttributes<HTMLInputElement>>;
|
|
3
|
+
export declare const RHFTextField: import("react").ForwardRefExoticComponent<(Omit<RHFTextFieldProps & import("@mui/material").StandardTextFieldProps, "ref"> | Omit<RHFTextFieldProps & import("@mui/material").FilledTextFieldProps, "ref"> | Omit<RHFTextFieldProps & import("@mui/material").OutlinedTextFieldProps, "ref">) & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Skeleton, Accordion as Accordion$1, AccordionSummary, AccordionDetails } from "@mui/material";
|
|
2
|
-
import { I as IconButton } from "../IconButton/index.
|
|
2
|
+
import { I as IconButton } from "../IconButton/index.25ff14bd.js";
|
|
3
3
|
import { useEnvironment, useModuleSkeleton } from "@m4l/core";
|
|
4
|
-
import { I as Icon } from "../../Icon/index.
|
|
4
|
+
import { I as Icon } from "../../Icon/index.619fa9ad.js";
|
|
5
5
|
import { styled } from "@mui/material/styles";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
styled("div")(({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { AvatarProps } from './types';
|
|
3
|
-
export declare const Avatar: import("react").ForwardRefExoticComponent<
|
|
3
|
+
export declare const Avatar: import("react").ForwardRefExoticComponent<Omit<AvatarProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
4
4
|
export default Avatar;
|
|
@@ -3,9 +3,9 @@ import { Skeleton, styled, IconButton as IconButton$1, Tooltip } from "@mui/mate
|
|
|
3
3
|
import MuiButton from "@mui/material/Button";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
import { LoadingButton as LoadingButton$1 } from "@mui/lab";
|
|
6
|
-
import { I as IconButton } from "../IconButton/index.
|
|
6
|
+
import { I as IconButton } from "../IconButton/index.25ff14bd.js";
|
|
7
7
|
import { styled as styled$1, alpha } from "@mui/material/styles";
|
|
8
|
-
import { u as useBase } from "../../DynamicFilter/index.
|
|
8
|
+
import { u as useBase } from "../../DynamicFilter/index.12df5a80.js";
|
|
9
9
|
import { useMemo } from "react";
|
|
10
10
|
import { I as Image } from "../../Image/index.93d5f37f.js";
|
|
11
11
|
const Button = (props) => {
|
|
@@ -3,7 +3,7 @@ import { forwardRef, useMemo } from "react";
|
|
|
3
3
|
import { IconButton as IconButton$1, Box, Skeleton, Tooltip } from "@mui/material";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
import { useModuleDictionary, useModuleSkeleton } from "@m4l/core";
|
|
6
|
-
import { I as Icon } from "../../Icon/index.
|
|
6
|
+
import { I as Icon } from "../../Icon/index.619fa9ad.js";
|
|
7
7
|
const varSmall = {
|
|
8
8
|
hover: {
|
|
9
9
|
scale: 1.1
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { LinearProgress as LinearProgress$1 } from "@mui/material";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
const LinearProgress = (props) => {
|
|
4
|
+
const {
|
|
5
|
+
...other
|
|
6
|
+
} = props;
|
|
7
|
+
return /* @__PURE__ */ jsx(LinearProgress$1, {
|
|
8
|
+
...other
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
export {
|
|
12
|
+
LinearProgress as L
|
|
13
|
+
};
|
|
@@ -6,7 +6,7 @@ export declare const WrapperMenuActions: import("@emotion/styled").StyledCompone
|
|
|
6
6
|
disabled?: boolean | undefined;
|
|
7
7
|
disableFocusRipple?: boolean | undefined;
|
|
8
8
|
edge?: false | "end" | "start" | undefined;
|
|
9
|
-
size?: "small" | "
|
|
9
|
+
size?: "small" | "large" | "medium" | undefined;
|
|
10
10
|
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
11
11
|
} & Omit<{
|
|
12
12
|
action?: import("react").Ref<import("@mui/material").ButtonBaseActions> | undefined;
|
|
@@ -24,7 +24,7 @@ export declare const WrapperMenuActions: import("@emotion/styled").StyledCompone
|
|
|
24
24
|
tabIndex?: number | undefined;
|
|
25
25
|
TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
|
|
26
26
|
touchRippleRef?: import("react").Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
|
|
27
|
-
}, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<
|
|
27
|
+
}, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
28
28
|
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
29
|
-
}, "disabled" | "children" | "tabIndex" | "action" | keyof import("@mui/material/OverridableComponent").CommonProps | "
|
|
29
|
+
}, "disabled" | "children" | "tabIndex" | "color" | "size" | "action" | keyof import("@mui/material/OverridableComponent").CommonProps | "sx" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
30
30
|
export declare const LabelMemuItem: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useMemo } from "react";
|
|
2
2
|
import { Skeleton, TablePagination } from "@mui/material";
|
|
3
|
-
import { P as PagerActions } from "../../CommonActions/components/Actions/index.
|
|
3
|
+
import { P as PagerActions } from "../../CommonActions/components/Actions/index.c87086ac.js";
|
|
4
4
|
import { styled } from "@mui/material/styles";
|
|
5
5
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
6
6
|
styled("div")(() => ({
|
|
@@ -3,18 +3,18 @@ import { Popover as Popover$1, styled as styled$1, Stack, MenuItem } from "@mui/
|
|
|
3
3
|
import { I as Image } from "../../Image/index.93d5f37f.js";
|
|
4
4
|
import { useLocales } from "@m4l/graphics";
|
|
5
5
|
import { useEnvironment, useNetwork } from "@m4l/core";
|
|
6
|
-
import "../../Icon/index.
|
|
6
|
+
import "../../Icon/index.619fa9ad.js";
|
|
7
7
|
import { styled } from "@mui/material/styles";
|
|
8
8
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
9
|
-
import "../Accordion/index.
|
|
9
|
+
import "../Accordion/index.86b97783.js";
|
|
10
10
|
import "../Avatar/index.fe06afd7.js";
|
|
11
11
|
import "react-router-dom";
|
|
12
12
|
import "@mui/material/Button";
|
|
13
13
|
import { C as CircularProgress } from "../CircularProgress/index.ad569afd.js";
|
|
14
14
|
import "@mui/lab";
|
|
15
|
-
import { I as ImageButton } from "../Button/index.
|
|
16
|
-
import "../../CommonActions/components/Actions/index.
|
|
17
|
-
import "../Pager/index.
|
|
15
|
+
import { I as ImageButton } from "../Button/index.6bdb0b2d.js";
|
|
16
|
+
import "../../CommonActions/components/Actions/index.c87086ac.js";
|
|
17
|
+
import "../Pager/index.66593ad3.js";
|
|
18
18
|
import "../Tab/index.e0653a0a.js";
|
|
19
19
|
const ArrowStyle = styled("span")(({
|
|
20
20
|
arrowType,
|
|
@@ -177,7 +177,6 @@ function LanguagePopover() {
|
|
|
177
177
|
const [loading, setLoading] = useState(false);
|
|
178
178
|
const [allLocales, setAllLocales] = useState([]);
|
|
179
179
|
const handleOpen = (event) => {
|
|
180
|
-
console.log("handleOpen", allLocales, loading);
|
|
181
180
|
setOpen(event.currentTarget);
|
|
182
181
|
};
|
|
183
182
|
const handleClose = () => {
|
|
@@ -196,7 +195,6 @@ function LanguagePopover() {
|
|
|
196
195
|
domain_token
|
|
197
196
|
}
|
|
198
197
|
}).then((response) => {
|
|
199
|
-
console.log("Response", response.data);
|
|
200
198
|
if (mounted) {
|
|
201
199
|
setAllLocales(response.data);
|
|
202
200
|
}
|
|
@@ -207,7 +205,6 @@ function LanguagePopover() {
|
|
|
207
205
|
mounted = false;
|
|
208
206
|
};
|
|
209
207
|
}, [open]);
|
|
210
|
-
console.log("Render lang", allLocales, loading);
|
|
211
208
|
return /* @__PURE__ */ jsxs(Fragment, {
|
|
212
209
|
children: [/* @__PURE__ */ jsx(ImageButton, {
|
|
213
210
|
className: "m4l_language_popover",
|
|
@@ -7,6 +7,7 @@ export type { TLink } from './Breadcrumbs/types';
|
|
|
7
7
|
export { Button } from './Button';
|
|
8
8
|
export { CircularProgress } from './CircularProgress';
|
|
9
9
|
export { IconButton } from './IconButton';
|
|
10
|
+
export { LinearProgress } from './LinearProgress';
|
|
10
11
|
export { LinkWithRoute } from './LinkWithRoute';
|
|
11
12
|
export { LoadingButton } from './LoadingButton';
|
|
12
13
|
export { MenuActions } from './MenuActions';
|
|
@@ -4,10 +4,10 @@ import { Typography } from "@mui/material";
|
|
|
4
4
|
import { styled } from "@mui/material/styles";
|
|
5
5
|
import { B as BoxIcon } from "../../components/mui_extended/BoxIcon/index.e638ecc8.js";
|
|
6
6
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
7
|
-
import { M as ModalDialog } from "../../components/ModalDialog/index.
|
|
8
|
-
import { A as ActionIntro } from "../../components/CommonActions/components/ActionIntro/index.
|
|
9
|
-
import { A as ActionCancel } from "../../components/CommonActions/components/ActionCancel/index.
|
|
10
|
-
import { b as getVariantColor } from "../../utils/index.
|
|
7
|
+
import { M as ModalDialog } from "../../components/ModalDialog/index.6bec80b1.js";
|
|
8
|
+
import { A as ActionIntro } from "../../components/CommonActions/components/ActionIntro/index.fdd7e34d.js";
|
|
9
|
+
import { A as ActionCancel } from "../../components/CommonActions/components/ActionCancel/index.01a86ee6.js";
|
|
10
|
+
import { b as getVariantColor } from "../../utils/index.f3bfdc22.js";
|
|
11
11
|
const WrapperContentConfirm = styled("div")(() => ({
|
|
12
12
|
display: "flex",
|
|
13
13
|
flexDirection: "column",
|
|
@@ -90,7 +90,6 @@ function ModalProvider({
|
|
|
90
90
|
fullScreen: false
|
|
91
91
|
});
|
|
92
92
|
const openModal = (modalOpenProps) => {
|
|
93
|
-
console.log("modal props", modalOpenProps);
|
|
94
93
|
setModalOptions({
|
|
95
94
|
open: true,
|
|
96
95
|
...modalOpenProps
|
|
@@ -41,7 +41,6 @@ function RHFormProvider(props) {
|
|
|
41
41
|
}, [methods, statusLoad, values]);
|
|
42
42
|
useEffect(() => {
|
|
43
43
|
if (statusLoad === "ready") {
|
|
44
|
-
console.log("useEffect FormProvider Ready", statusLoad);
|
|
45
44
|
methods.setValue("statusLoad", "ready", {
|
|
46
45
|
shouldValidate: false,
|
|
47
46
|
shouldDirty: false,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useContext } from "react";
|
|
2
|
-
import { M as ModalContext } from "../../contexts/ModalContext/index.
|
|
2
|
+
import { M as ModalContext } from "../../contexts/ModalContext/index.6d1021d4.js";
|
|
3
3
|
function useModal() {
|
|
4
4
|
const context = useContext(ModalContext);
|
|
5
5
|
if (!context)
|
package/index.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { I, a } from "./components/mui_extended/IconButton/index.
|
|
1
|
+
import { I, a } from "./components/mui_extended/IconButton/index.25ff14bd.js";
|
|
2
2
|
import "framer-motion";
|
|
3
3
|
import "@mui/material";
|
|
4
4
|
import "react/jsx-runtime";
|
|
5
5
|
import "@mui/material/styles";
|
|
6
6
|
import "react-router-dom";
|
|
7
7
|
import { L } from "./components/animate/LoadingScreen/index.1d0c4307.js";
|
|
8
|
+
import { P } from "./components/animate/PropagateLoader/index.d5c18992.js";
|
|
8
9
|
import "@m4l/core";
|
|
9
10
|
import "react-hook-form";
|
|
10
11
|
import { R, g } from "./components/hook-form/RHFAutocomplete/index.de93fe01.js";
|
|
@@ -13,46 +14,46 @@ import { I as I2 } from "./components/Image/index.93d5f37f.js";
|
|
|
13
14
|
import "lodash/debounce";
|
|
14
15
|
import { R as R2 } from "./components/hook-form/RHFCheckbox/index.6dcec9e2.js";
|
|
15
16
|
import "@mui/x-date-pickers";
|
|
16
|
-
import { R as R3 } from "./components/hook-form/RHFDateTime/index.
|
|
17
|
+
import { R as R3 } from "./components/hook-form/RHFDateTime/index.7f1cbd85.js";
|
|
17
18
|
import "@m4l/graphics";
|
|
18
|
-
import { R as R4, a as a2 } from "./components/hook-form/RHFTextField/index.
|
|
19
|
-
import { I as I3 } from "./components/Icon/index.
|
|
20
|
-
import { R as R5 } from "./components/hook-form/RHFPeriod/index.
|
|
19
|
+
import { R as R4, a as a2 } from "./components/hook-form/RHFTextField/index.3cb4b35f.js";
|
|
20
|
+
import { I as I3 } from "./components/Icon/index.619fa9ad.js";
|
|
21
|
+
import { R as R5 } from "./components/hook-form/RHFPeriod/index.e8c2c210.js";
|
|
21
22
|
import { E } from "./components/ErrorLabel/index.c8615f16.js";
|
|
22
|
-
import { P, g as g2 } from "./components/Period/index.
|
|
23
|
-
import { b, M, d, g as g3 } from "./components/CommonActions/components/Actions/index.
|
|
23
|
+
import { P as P2, g as g2 } from "./components/Period/index.f17be628.js";
|
|
24
|
+
import { b, M, d, g as g3 } from "./components/CommonActions/components/Actions/index.c87086ac.js";
|
|
24
25
|
import "@mui/material/Button";
|
|
25
|
-
import { M as M2, a as a3 } from "./contexts/ModalContext/index.
|
|
26
|
+
import { M as M2, a as a3 } from "./contexts/ModalContext/index.6d1021d4.js";
|
|
26
27
|
import "@mui/lab";
|
|
27
28
|
import "lodash/isString";
|
|
28
29
|
import "react-dropzone";
|
|
29
30
|
import { R as R6 } from "./components/hook-form/RHFUpload/index.d5cc7c13.js";
|
|
30
|
-
import { A } from "./components/mui_extended/Accordion/index.
|
|
31
|
+
import { A } from "./components/mui_extended/Accordion/index.86b97783.js";
|
|
31
32
|
import { A as A2 } from "./components/mui_extended/Avatar/index.fe06afd7.js";
|
|
32
|
-
import { B, L as L2 } from "./components/mui_extended/Button/index.
|
|
33
|
-
import { L as L3, P as
|
|
34
|
-
import { P as
|
|
33
|
+
import { B, L as L2 } from "./components/mui_extended/Button/index.6bdb0b2d.js";
|
|
34
|
+
import { L as L3, P as P3 } from "./components/mui_extended/Popover/index.4c70cdba.js";
|
|
35
|
+
import { P as P4, g as g4 } from "./components/mui_extended/Pager/index.66593ad3.js";
|
|
35
36
|
import { T } from "./components/mui_extended/Tab/index.e0653a0a.js";
|
|
36
|
-
import { D, N, T as T2, g as g5 } from "./components/DataGrid/index.
|
|
37
|
+
import { D, N, T as T2, g as g5 } from "./components/DataGrid/index.fc1ace65.js";
|
|
37
38
|
import "react-dnd";
|
|
38
39
|
import "react-dnd-html5-backend";
|
|
39
40
|
import { S } from "./components/ScrollBar/index.39eeb2de.js";
|
|
40
|
-
import { D as D2, d as d2, g as g6 } from "./components/DynamicFilter/index.
|
|
41
|
+
import { D as D2, d as d2, g as g6 } from "./components/DynamicFilter/index.12df5a80.js";
|
|
41
42
|
import "simplebar/dist/simplebar.min.css";
|
|
42
43
|
import "@hookform/resolvers/yup";
|
|
43
|
-
import { R as R7 } from "./contexts/RHFormContext/index.
|
|
44
|
+
import { R as R7 } from "./contexts/RHFormContext/index.d88e6e27.js";
|
|
44
45
|
import "yup";
|
|
45
|
-
import "./react-draggable.
|
|
46
|
-
import { M as M3, d as d3, g as g7 } from "./components/ModalDialog/index.
|
|
47
|
-
import { R as R8 } from "./components/Resizeable/index.
|
|
46
|
+
import "./react-draggable.a09b624f.js";
|
|
47
|
+
import { M as M3, d as d3, g as g7 } from "./components/ModalDialog/index.6bec80b1.js";
|
|
48
|
+
import { R as R8 } from "./components/Resizeable/index.d27b0310.js";
|
|
48
49
|
import { N as N2, d as d4, g as g8 } from "./components/NoItemSelected/index.46d2f632.js";
|
|
49
|
-
import { O, d as d5, g as g9 } from "./components/ObjectLogs/index.
|
|
50
|
-
import "./react-json-view.
|
|
51
|
-
import { P as
|
|
50
|
+
import { O, d as d5, g as g9 } from "./components/ObjectLogs/index.93488e5f.js";
|
|
51
|
+
import "./react-json-view.57125fcf.js";
|
|
52
|
+
import { P as P5 } from "./components/PaperForm/index.9582ff5e.js";
|
|
52
53
|
import { H } from "./components/Page/index.4237c241.js";
|
|
53
|
-
import { P as
|
|
54
|
-
import "./react-splitter-layout.
|
|
55
|
-
import { S as S2 } from "./components/SplitLayout/index.
|
|
54
|
+
import { P as P6 } from "./components/PropertyValue/index.dfcfe1ba.js";
|
|
55
|
+
import "./react-splitter-layout.8b1655c8.js";
|
|
56
|
+
import { S as S2 } from "./components/SplitLayout/index.5a8355d8.js";
|
|
56
57
|
import { v } from "./components/animate/variants/fade.b561c0fc.js";
|
|
57
58
|
import { v as v2 } from "./components/animate/variants/bounce.784aaaaa.js";
|
|
58
59
|
import { v as v3 } from "./components/animate/variants/container.11f82b76.js";
|
|
@@ -66,27 +67,29 @@ import { R as R12 } from "./components/hook-form/RHFRadioGroup/index.b3335e13.js
|
|
|
66
67
|
import { B as B2 } from "./components/mui_extended/BoxIcon/index.e638ecc8.js";
|
|
67
68
|
import { B as B3 } from "./components/mui_extended/Breadcrumbs/index.5e37d903.js";
|
|
68
69
|
import { C } from "./components/mui_extended/CircularProgress/index.ad569afd.js";
|
|
69
|
-
import { L as L4 } from "./components/mui_extended/
|
|
70
|
+
import { L as L4 } from "./components/mui_extended/LinearProgress/index.c92b9ba9.js";
|
|
71
|
+
import { L as L5 } from "./components/mui_extended/LinkWithRoute/index.16436ab8.js";
|
|
70
72
|
import { T as T3 } from "./components/mui_extended/Typography/index.e5494696.js";
|
|
71
|
-
import { B as B4, c } from "./components/formatters/BooleanFormatter/index.
|
|
72
|
-
import { D as D3, c as c2 } from "./components/formatters/DateFormatter/index.
|
|
73
|
-
import { P as
|
|
74
|
-
import { A as A3 } from "./components/CommonActions/components/ActionCancel/index.
|
|
75
|
-
import { A as A4 } from "./components/CommonActions/components/ActionIntro/index.
|
|
76
|
-
import { A as A5 } from "./components/CommonActions/components/ActionFormCancel/index.
|
|
73
|
+
import { B as B4, c } from "./components/formatters/BooleanFormatter/index.35185e99.js";
|
|
74
|
+
import { D as D3, c as c2 } from "./components/formatters/DateFormatter/index.8494575f.js";
|
|
75
|
+
import { P as P7, a as a5, U, e, b as b3, c as c3, d as d6, g as g11 } from "./components/formatters/index.b7532df7.js";
|
|
76
|
+
import { A as A3 } from "./components/CommonActions/components/ActionCancel/index.01a86ee6.js";
|
|
77
|
+
import { A as A4 } from "./components/CommonActions/components/ActionIntro/index.fdd7e34d.js";
|
|
78
|
+
import { A as A5 } from "./components/CommonActions/components/ActionFormCancel/index.e18a3161.js";
|
|
77
79
|
import { A as A6 } from "./components/CommonActions/components/ActionFormIntro/index.ca4d2674.js";
|
|
78
|
-
import { L as
|
|
80
|
+
import { L as L6 } from "./components/Loadable/index.55b8adb7.js";
|
|
79
81
|
import { S as S3 } from "./components/ScrollToTop/index.e06f98f6.js";
|
|
80
82
|
import { u } from "./hooks/useFormAddEdit/index.d4845f1a.js";
|
|
81
|
-
import { u as u2 } from "./hooks/useModal/index.
|
|
82
|
-
import { L as
|
|
83
|
-
import "./
|
|
83
|
+
import { u as u2 } from "./hooks/useModal/index.ee8b9d9f.js";
|
|
84
|
+
import { L as L7 } from "./assets/Logo/index.228dcb5a.js";
|
|
85
|
+
import "./node_modules.51fc30d1.js";
|
|
86
|
+
import "./utils/index.f3bfdc22.js";
|
|
84
87
|
import "./react-data-grid.d46d625e.js";
|
|
85
88
|
import "clsx";
|
|
86
89
|
import "simplebar-react";
|
|
87
90
|
import "prop-types";
|
|
88
91
|
import "react-dom";
|
|
89
|
-
import "./react-resizable.
|
|
92
|
+
import "./react-resizable.be53ee35.js";
|
|
90
93
|
import "./commonjs.565e6834.js";
|
|
91
94
|
import "react-helmet-async";
|
|
92
95
|
export {
|
|
@@ -112,11 +115,12 @@ export {
|
|
|
112
115
|
a as IconButtonAnimate,
|
|
113
116
|
I2 as Image,
|
|
114
117
|
L3 as LanguagePopover,
|
|
115
|
-
L4 as
|
|
116
|
-
L5 as
|
|
118
|
+
L4 as LinearProgress,
|
|
119
|
+
L5 as LinkWithRoute,
|
|
120
|
+
L6 as Loadable,
|
|
117
121
|
L2 as LoadingButton,
|
|
118
122
|
L as LoadingScreen,
|
|
119
|
-
|
|
123
|
+
L7 as Logo,
|
|
120
124
|
M as MenuActions,
|
|
121
125
|
M2 as ModalContext,
|
|
122
126
|
M3 as ModalDialog,
|
|
@@ -126,13 +130,14 @@ export {
|
|
|
126
130
|
N2 as NoItemSelected,
|
|
127
131
|
N as NumberEditor,
|
|
128
132
|
O as ObjectLogs,
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
133
|
+
P4 as Pager,
|
|
134
|
+
P5 as PaperForm,
|
|
135
|
+
P2 as Period,
|
|
136
|
+
P7 as PointsFormatter,
|
|
137
|
+
P3 as Popover,
|
|
134
138
|
a5 as PriceFormatter,
|
|
135
|
-
|
|
139
|
+
P as PropagateLoader,
|
|
140
|
+
P6 as PropertyValue,
|
|
136
141
|
R as RHFAutocomplete,
|
|
137
142
|
R9 as RHFAutocompleteAsync,
|
|
138
143
|
R2 as RHFCheckbox,
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import "react";
|
|
2
|
+
var cssUnit = {
|
|
3
|
+
cm: true,
|
|
4
|
+
mm: true,
|
|
5
|
+
in: true,
|
|
6
|
+
px: true,
|
|
7
|
+
pt: true,
|
|
8
|
+
pc: true,
|
|
9
|
+
em: true,
|
|
10
|
+
ex: true,
|
|
11
|
+
ch: true,
|
|
12
|
+
rem: true,
|
|
13
|
+
vw: true,
|
|
14
|
+
vh: true,
|
|
15
|
+
vmin: true,
|
|
16
|
+
vmax: true,
|
|
17
|
+
"%": true
|
|
18
|
+
};
|
|
19
|
+
function parseLengthAndUnit(size) {
|
|
20
|
+
if (typeof size === "number") {
|
|
21
|
+
return {
|
|
22
|
+
value: size,
|
|
23
|
+
unit: "px"
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
var value;
|
|
27
|
+
var valueString = (size.match(/^[0-9.]*/) || "").toString();
|
|
28
|
+
if (valueString.includes(".")) {
|
|
29
|
+
value = parseFloat(valueString);
|
|
30
|
+
} else {
|
|
31
|
+
value = parseInt(valueString, 10);
|
|
32
|
+
}
|
|
33
|
+
var unit = (size.match(/[^0-9]*$/) || "").toString();
|
|
34
|
+
if (cssUnit[unit]) {
|
|
35
|
+
return {
|
|
36
|
+
value,
|
|
37
|
+
unit
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
console.warn("React Spinners: ".concat(size, " is not a valid css value. Defaulting to ").concat(value, "px."));
|
|
41
|
+
return {
|
|
42
|
+
value,
|
|
43
|
+
unit: "px"
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
var createAnimation = function(loaderName, frames, suffix) {
|
|
47
|
+
var animationName = "react-spinners-".concat(loaderName, "-").concat(suffix);
|
|
48
|
+
if (typeof window == "undefined" || !window.document) {
|
|
49
|
+
return animationName;
|
|
50
|
+
}
|
|
51
|
+
var styleEl = document.createElement("style");
|
|
52
|
+
document.head.appendChild(styleEl);
|
|
53
|
+
var styleSheet = styleEl.sheet;
|
|
54
|
+
var keyFrames = "\n @keyframes ".concat(animationName, " {\n ").concat(frames, "\n }\n ");
|
|
55
|
+
if (styleSheet) {
|
|
56
|
+
styleSheet.insertRule(keyFrames, 0);
|
|
57
|
+
}
|
|
58
|
+
return animationName;
|
|
59
|
+
};
|
|
60
|
+
export {
|
|
61
|
+
createAnimation as c,
|
|
62
|
+
parseLengthAndUnit as p
|
|
63
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@m4l/components",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.31",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@hookform/resolvers": "^2.9.10",
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
"react-helmet-async": "^1.3.0",
|
|
12
12
|
"react-hook-form": "^7.33.1",
|
|
13
13
|
"react-router-dom": "6.3.0",
|
|
14
|
+
"react-spinners": "^0.13.8",
|
|
14
15
|
"simplebar-react": "2.4.1",
|
|
15
16
|
"yup": "^0.32.11"
|
|
16
17
|
},
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from "react";
|
|
2
2
|
import require$$1 from "prop-types";
|
|
3
3
|
import require$$2 from "react-dom";
|
|
4
4
|
import clsx from "clsx";
|
|
5
|
-
import { s as shims, l as log, d as domFns, p as positionFns } from "./utils/index.
|
|
5
|
+
import { s as shims, l as log, d as domFns, p as positionFns } from "./utils/index.f3bfdc22.js";
|
|
6
6
|
var cjs = { exports: {} };
|
|
7
7
|
var Draggable$1 = {};
|
|
8
8
|
var DraggableCore$2 = {};
|
|
@@ -18,7 +18,7 @@ Object.defineProperty(DraggableCore$2, "__esModule", {
|
|
|
18
18
|
value: true
|
|
19
19
|
});
|
|
20
20
|
DraggableCore$2.default = void 0;
|
|
21
|
-
var React = _interopRequireWildcard(
|
|
21
|
+
var React = _interopRequireWildcard(React__default);
|
|
22
22
|
var _propTypes = _interopRequireDefault(require$$1);
|
|
23
23
|
var _reactDom = _interopRequireDefault(require$$2);
|
|
24
24
|
var _domFns = domFns;
|
|
@@ -480,7 +480,7 @@ _defineProperty(DraggableCore$1, "defaultProps", {
|
|
|
480
480
|
}
|
|
481
481
|
});
|
|
482
482
|
exports.default = void 0;
|
|
483
|
-
var React2 = _interopRequireWildcard2(
|
|
483
|
+
var React2 = _interopRequireWildcard2(React__default);
|
|
484
484
|
var _propTypes2 = _interopRequireDefault2(require$$1);
|
|
485
485
|
var _reactDom2 = _interopRequireDefault2(require$$2);
|
|
486
486
|
var _clsx2 = _interopRequireDefault2(clsx);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { c as commonjsGlobal, g as getDefaultExportFromCjs } from "./commonjs.565e6834.js";
|
|
2
|
-
import
|
|
2
|
+
import React__default from "react";
|
|
3
3
|
var main = { exports: {} };
|
|
4
4
|
(function(module, exports) {
|
|
5
5
|
!function(e, t) {
|
|
6
|
-
module.exports = t(
|
|
6
|
+
module.exports = t(React__default);
|
|
7
7
|
}(commonjsGlobal, function(e) {
|
|
8
8
|
return function(e2) {
|
|
9
9
|
var t = {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { c as cjs } from "./react-draggable.
|
|
3
|
-
import { u as utils } from "./utils/index.
|
|
1
|
+
import React__default from "react";
|
|
2
|
+
import { c as cjs } from "./react-draggable.a09b624f.js";
|
|
3
|
+
import { u as utils } from "./utils/index.f3bfdc22.js";
|
|
4
4
|
import require$$1 from "prop-types";
|
|
5
5
|
var reactResizable = { exports: {} };
|
|
6
6
|
var Resizable$1 = {};
|
|
@@ -47,7 +47,7 @@ var resizableProps = {
|
|
|
47
47
|
propTypes.resizableProps = resizableProps;
|
|
48
48
|
Resizable$1.__esModule = true;
|
|
49
49
|
Resizable$1.default = void 0;
|
|
50
|
-
var React$1 = _interopRequireWildcard$1(
|
|
50
|
+
var React$1 = _interopRequireWildcard$1(React__default);
|
|
51
51
|
var _reactDraggable = cjs.exports;
|
|
52
52
|
var _utils = utils;
|
|
53
53
|
var _propTypes$1 = propTypes;
|
|
@@ -335,7 +335,7 @@ Resizable.defaultProps = {
|
|
|
335
335
|
var ResizableBox$2 = {};
|
|
336
336
|
ResizableBox$2.__esModule = true;
|
|
337
337
|
ResizableBox$2.default = void 0;
|
|
338
|
-
var React = _interopRequireWildcard(
|
|
338
|
+
var React = _interopRequireWildcard(React__default);
|
|
339
339
|
var _propTypes = _interopRequireDefault(require$$1);
|
|
340
340
|
var _Resizable = _interopRequireDefault(Resizable$1);
|
|
341
341
|
var _propTypes2 = propTypes;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { g as getDefaultExportFromCjs } from "./commonjs.565e6834.js";
|
|
2
2
|
import require$$1 from "prop-types";
|
|
3
|
-
import
|
|
3
|
+
import React__default from "react";
|
|
4
4
|
var lib = { exports: {} };
|
|
5
5
|
(function(module, exports) {
|
|
6
6
|
!function(e, t) {
|
|
7
|
-
module.exports = t(require$$1,
|
|
7
|
+
module.exports = t(require$$1, React__default);
|
|
8
8
|
}(window, function(e, t) {
|
|
9
9
|
return function(e2) {
|
|
10
10
|
var t2 = {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from "react";
|
|
2
2
|
const getPaletteColor = function(palette, s) {
|
|
3
3
|
s = s.replace(/\[(\w+)\]/g, ".$1");
|
|
4
4
|
s = s.replace(/^\./, "");
|
|
@@ -518,7 +518,7 @@ function log() {
|
|
|
518
518
|
var utils = {};
|
|
519
519
|
utils.__esModule = true;
|
|
520
520
|
utils.cloneElement = cloneElement;
|
|
521
|
-
var _react = _interopRequireDefault(
|
|
521
|
+
var _react = _interopRequireDefault(React__default);
|
|
522
522
|
function _interopRequireDefault(obj) {
|
|
523
523
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
524
524
|
}
|