@acvl/frontend-components 0.0.38 → 0.0.41
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/dist/cjs/index.js +1 -29120
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/src/components/index.d.ts +2 -1
- package/dist/cjs/types/src/components/v1/layout/shared/Tabs/index.d.ts +5 -1
- package/dist/cjs/types/src/components/v2/index.d.ts +2 -0
- package/dist/cjs/types/src/components/v2/layout/index.d.ts +1 -0
- package/dist/cjs/types/src/components/v2/layout/pages/DetailPage/Field/DetailField.d.ts +4 -0
- package/dist/cjs/types/src/components/v2/layout/pages/DetailPage/Field/EditField.d.ts +4 -0
- package/dist/cjs/types/src/components/v2/layout/pages/DetailPage/Field/index.d.ts +25 -0
- package/dist/cjs/types/src/components/v2/layout/pages/DetailPage/Section/index.d.ts +13 -0
- package/dist/cjs/types/src/components/v2/layout/pages/DetailPage/Subsection/index.d.ts +18 -0
- package/dist/cjs/types/src/components/v2/layout/pages/DetailPage/index.d.ts +51 -0
- package/dist/cjs/types/src/components/v2/layout/pages/index.d.ts +1 -0
- package/dist/cjs/types/src/components/v2/lib/hooks/index.d.ts +1 -0
- package/dist/cjs/types/src/components/v2/lib/hooks/useMutationHandler.d.ts +23 -0
- package/dist/cjs/types/src/components/v2/lib/index.d.ts +1 -0
- package/dist/cjs/types/src/index.d.ts +1 -1
- package/dist/esm/index.js +1 -29028
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/src/components/index.d.ts +2 -1
- package/dist/esm/types/src/components/v1/layout/shared/Tabs/index.d.ts +5 -1
- package/dist/esm/types/src/components/v2/index.d.ts +2 -0
- package/dist/esm/types/src/components/v2/layout/index.d.ts +1 -0
- package/dist/esm/types/src/components/v2/layout/pages/DetailPage/Field/DetailField.d.ts +4 -0
- package/dist/esm/types/src/components/v2/layout/pages/DetailPage/Field/EditField.d.ts +4 -0
- package/dist/esm/types/src/components/v2/layout/pages/DetailPage/Field/index.d.ts +25 -0
- package/dist/esm/types/src/components/v2/layout/pages/DetailPage/Section/index.d.ts +13 -0
- package/dist/esm/types/src/components/v2/layout/pages/DetailPage/Subsection/index.d.ts +18 -0
- package/dist/esm/types/src/components/v2/layout/pages/DetailPage/index.d.ts +51 -0
- package/dist/esm/types/src/components/v2/layout/pages/index.d.ts +1 -0
- package/dist/esm/types/src/components/v2/lib/hooks/index.d.ts +1 -0
- package/dist/esm/types/src/components/v2/lib/hooks/useMutationHandler.d.ts +23 -0
- package/dist/esm/types/src/components/v2/lib/index.d.ts +1 -0
- package/dist/esm/types/src/index.d.ts +1 -1
- package/dist/index.d.ts +127 -9
- package/package.json +106 -104
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from "./v1";
|
|
2
|
+
export * from "./v2";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React, { ReactNode } from "react";
|
|
2
|
+
import { BoxProps } from "@mui/material";
|
|
2
3
|
import { PageType } from "../../../types";
|
|
3
4
|
export interface MyTab {
|
|
4
5
|
value: string;
|
|
@@ -7,10 +8,13 @@ export interface MyTab {
|
|
|
7
8
|
children: ReactNode;
|
|
8
9
|
}
|
|
9
10
|
export interface MyTabProps {
|
|
10
|
-
pathname: string;
|
|
11
11
|
tabs: MyTab[];
|
|
12
12
|
initialValue?: string;
|
|
13
13
|
type?: PageType;
|
|
14
|
+
slotProps?: {
|
|
15
|
+
mainContainer?: BoxProps;
|
|
16
|
+
contentContainer?: BoxProps;
|
|
17
|
+
};
|
|
14
18
|
}
|
|
15
19
|
/**
|
|
16
20
|
* Pestañas customizables
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./pages";
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { type GridProps } from "@mui/material";
|
|
2
|
+
import { type PageType } from "../../../../../v1";
|
|
3
|
+
export interface FieldProps {
|
|
4
|
+
pageType?: PageType;
|
|
5
|
+
fieldData?: any;
|
|
6
|
+
name: string;
|
|
7
|
+
detail_name?: string;
|
|
8
|
+
label: string;
|
|
9
|
+
type: any;
|
|
10
|
+
gridProps?: GridProps;
|
|
11
|
+
fieldProps?: object;
|
|
12
|
+
extraProps?: any;
|
|
13
|
+
detailFieldProps?: {
|
|
14
|
+
preValue?: string;
|
|
15
|
+
postValue?: string;
|
|
16
|
+
};
|
|
17
|
+
navigation?: {
|
|
18
|
+
url: string;
|
|
19
|
+
permission: string;
|
|
20
|
+
};
|
|
21
|
+
permission?: string;
|
|
22
|
+
display?: boolean;
|
|
23
|
+
}
|
|
24
|
+
declare const Field: (props: FieldProps) => import("react/jsx-runtime").JSX.Element | undefined;
|
|
25
|
+
export default Field;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type MyTab, type PageType } from "../../../../../v1";
|
|
2
|
+
import type { SubsectionProps } from "../Subsection";
|
|
3
|
+
export interface SectionProps extends Omit<MyTab, "children"> {
|
|
4
|
+
pageType?: PageType;
|
|
5
|
+
display?: boolean;
|
|
6
|
+
subsections: SubsectionProps[];
|
|
7
|
+
historial?: {
|
|
8
|
+
endpoint?: string;
|
|
9
|
+
};
|
|
10
|
+
data?: any;
|
|
11
|
+
}
|
|
12
|
+
declare const Section: (props: SectionProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
13
|
+
export default Section;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { type ReactNode } from "react";
|
|
2
|
+
import { type PageType } from "../../../../../v1";
|
|
3
|
+
import { type FieldProps } from "../Field";
|
|
4
|
+
import { ArrayFieldProps } from "../../../../../v1/layout/pages/DetailPage/FieldArrayField";
|
|
5
|
+
export interface SubsectionProps {
|
|
6
|
+
display?: boolean;
|
|
7
|
+
pageType?: PageType;
|
|
8
|
+
data?: any;
|
|
9
|
+
bgColor?: string;
|
|
10
|
+
title?: string;
|
|
11
|
+
description?: string;
|
|
12
|
+
first?: boolean;
|
|
13
|
+
fields?: FieldProps[];
|
|
14
|
+
arrayFields?: ArrayFieldProps[];
|
|
15
|
+
content?: (data: any) => ReactNode;
|
|
16
|
+
}
|
|
17
|
+
declare const Subsection: (props: SubsectionProps) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export default Subsection;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { type ReactNode } from "react";
|
|
2
|
+
import { type JSONFormProps, type PageType } from "../../../../v1";
|
|
3
|
+
import { type ButtonProps } from "@mui/material";
|
|
4
|
+
import { type SectionProps } from "./Section";
|
|
5
|
+
export interface DetailPageV2Props {
|
|
6
|
+
api: {
|
|
7
|
+
data: {
|
|
8
|
+
query: any;
|
|
9
|
+
args?: any;
|
|
10
|
+
skipToken?: boolean;
|
|
11
|
+
};
|
|
12
|
+
mutate: {
|
|
13
|
+
mutation: any;
|
|
14
|
+
args?: any;
|
|
15
|
+
};
|
|
16
|
+
delete?: {
|
|
17
|
+
mutation: any;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
form: Pick<JSONFormProps, "props" | "type" | "useLabel"> & {
|
|
21
|
+
schema: any;
|
|
22
|
+
defaultValues: {
|
|
23
|
+
[k: string]: any;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
sections: (form: any) => SectionProps[];
|
|
27
|
+
pageType: PageType;
|
|
28
|
+
slots?: {
|
|
29
|
+
button?: ReactNode;
|
|
30
|
+
extraButtons?: ((id: number) => ReactNode)[];
|
|
31
|
+
badge?: string;
|
|
32
|
+
};
|
|
33
|
+
slotProps?: {
|
|
34
|
+
button?: {
|
|
35
|
+
save?: {
|
|
36
|
+
type: "onClick";
|
|
37
|
+
disableNavBack?: boolean;
|
|
38
|
+
onClick?: () => void;
|
|
39
|
+
};
|
|
40
|
+
cancel?: Partial<ButtonProps>;
|
|
41
|
+
};
|
|
42
|
+
historial?: {
|
|
43
|
+
endpoint?: string;
|
|
44
|
+
};
|
|
45
|
+
permissionsPath?: string;
|
|
46
|
+
deleteButton?: {
|
|
47
|
+
disableNavBack?: boolean;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
export default function DetailPage(props: DetailPageV2Props): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as DetailPage_v2 } from "./DetailPage";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as useMutationHandler } from "./useMutationHandler";
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { type UseFormReturn } from "react-hook-form";
|
|
2
|
+
import { type JSONFormProps } from "../../../v1";
|
|
3
|
+
interface MutationHandlerOptions {
|
|
4
|
+
mutationFn: (data: any) => {
|
|
5
|
+
unwrap: () => Promise<any>;
|
|
6
|
+
};
|
|
7
|
+
form?: UseFormReturn<any>;
|
|
8
|
+
onSuccess: () => void;
|
|
9
|
+
onValidationError?: () => void;
|
|
10
|
+
successTitle?: string;
|
|
11
|
+
successMessage?: string;
|
|
12
|
+
onInvalidParams?: (error: any) => boolean;
|
|
13
|
+
}
|
|
14
|
+
declare const useMutationHandler: ({ mutationFn, form, onSuccess, onValidationError, successMessage, onInvalidParams, }: MutationHandlerOptions) => {
|
|
15
|
+
submit: ({ submitData, formProps, args, }: {
|
|
16
|
+
submitData: any;
|
|
17
|
+
formProps: Partial<JSONFormProps>;
|
|
18
|
+
args?: {
|
|
19
|
+
[k: string]: any;
|
|
20
|
+
};
|
|
21
|
+
}) => void;
|
|
22
|
+
};
|
|
23
|
+
export default useMutationHandler;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./hooks";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from "./components";
|
package/dist/index.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ import * as redux from 'redux';
|
|
|
15
15
|
import * as _reduxjs_toolkit from '@reduxjs/toolkit';
|
|
16
16
|
import * as _emotion_styled from '@emotion/styled';
|
|
17
17
|
import * as _mui_system from '@mui/system';
|
|
18
|
+
import { UseFormReturn } from 'react-hook-form';
|
|
18
19
|
|
|
19
20
|
interface NormalOrIconProps {
|
|
20
21
|
buttonProps: ButtonProps;
|
|
@@ -544,7 +545,7 @@ interface EditReadOnlyFields {
|
|
|
544
545
|
validator: FieldValidationProps;
|
|
545
546
|
}
|
|
546
547
|
|
|
547
|
-
interface FieldProps {
|
|
548
|
+
interface FieldProps$1 {
|
|
548
549
|
data?: any;
|
|
549
550
|
fieldData?: any;
|
|
550
551
|
form?: any;
|
|
@@ -605,20 +606,20 @@ interface ArrayFieldProps {
|
|
|
605
606
|
gridProps?: GridProps;
|
|
606
607
|
pageType?: PageType;
|
|
607
608
|
parser?: JSONParserProps;
|
|
608
|
-
fields: FieldProps[];
|
|
609
|
+
fields: FieldProps$1[];
|
|
609
610
|
slotProps?: {
|
|
610
611
|
drawer?: Partial<MainDrawerProps>;
|
|
611
612
|
};
|
|
612
613
|
}
|
|
613
614
|
|
|
614
|
-
interface SectionProps {
|
|
615
|
+
interface SectionProps$1 {
|
|
615
616
|
display?: boolean | FieldValidationProps | FieldValidationProps[];
|
|
616
617
|
data?: any;
|
|
617
618
|
form?: any;
|
|
618
619
|
bgColor?: string;
|
|
619
620
|
title?: string;
|
|
620
621
|
description?: string;
|
|
621
|
-
fields?: FieldProps[];
|
|
622
|
+
fields?: FieldProps$1[];
|
|
622
623
|
arrayFields?: ArrayFieldProps[];
|
|
623
624
|
content?: (data: any) => ReactNode;
|
|
624
625
|
pageType?: PageType;
|
|
@@ -675,7 +676,7 @@ interface DetailPageProps {
|
|
|
675
676
|
mutation: any;
|
|
676
677
|
};
|
|
677
678
|
};
|
|
678
|
-
sections: SectionProps[];
|
|
679
|
+
sections: SectionProps$1[];
|
|
679
680
|
pageType: PageType;
|
|
680
681
|
edit: {
|
|
681
682
|
defaultValues: any;
|
|
@@ -691,7 +692,7 @@ interface DetailPageProps {
|
|
|
691
692
|
};
|
|
692
693
|
ref?: RefObject<any>;
|
|
693
694
|
}
|
|
694
|
-
declare function DetailPage(props: DetailPageProps): react_jsx_runtime.JSX.Element;
|
|
695
|
+
declare function DetailPage$1(props: DetailPageProps): react_jsx_runtime.JSX.Element;
|
|
695
696
|
|
|
696
697
|
/**
|
|
697
698
|
* Muestra animación de cargado hasta arriba de la página
|
|
@@ -717,10 +718,13 @@ interface MyTab {
|
|
|
717
718
|
children: ReactNode;
|
|
718
719
|
}
|
|
719
720
|
interface MyTabProps {
|
|
720
|
-
pathname: string;
|
|
721
721
|
tabs: MyTab[];
|
|
722
722
|
initialValue?: string;
|
|
723
723
|
type?: PageType;
|
|
724
|
+
slotProps?: {
|
|
725
|
+
mainContainer?: BoxProps;
|
|
726
|
+
contentContainer?: BoxProps;
|
|
727
|
+
};
|
|
724
728
|
}
|
|
725
729
|
/**
|
|
726
730
|
* Pestañas customizables
|
|
@@ -907,5 +911,119 @@ declare module '@mui/material/styles' {
|
|
|
907
911
|
}
|
|
908
912
|
declare const theme: () => _mui_material.Theme;
|
|
909
913
|
|
|
910
|
-
|
|
911
|
-
|
|
914
|
+
interface FieldProps {
|
|
915
|
+
pageType?: PageType;
|
|
916
|
+
fieldData?: any;
|
|
917
|
+
name: string;
|
|
918
|
+
detail_name?: string;
|
|
919
|
+
label: string;
|
|
920
|
+
type: any;
|
|
921
|
+
gridProps?: GridProps;
|
|
922
|
+
fieldProps?: object;
|
|
923
|
+
extraProps?: any;
|
|
924
|
+
detailFieldProps?: {
|
|
925
|
+
preValue?: string;
|
|
926
|
+
postValue?: string;
|
|
927
|
+
};
|
|
928
|
+
navigation?: {
|
|
929
|
+
url: string;
|
|
930
|
+
permission: string;
|
|
931
|
+
};
|
|
932
|
+
permission?: string;
|
|
933
|
+
display?: boolean;
|
|
934
|
+
}
|
|
935
|
+
|
|
936
|
+
interface SubsectionProps {
|
|
937
|
+
display?: boolean;
|
|
938
|
+
pageType?: PageType;
|
|
939
|
+
data?: any;
|
|
940
|
+
bgColor?: string;
|
|
941
|
+
title?: string;
|
|
942
|
+
description?: string;
|
|
943
|
+
first?: boolean;
|
|
944
|
+
fields?: FieldProps[];
|
|
945
|
+
arrayFields?: ArrayFieldProps[];
|
|
946
|
+
content?: (data: any) => ReactNode;
|
|
947
|
+
}
|
|
948
|
+
|
|
949
|
+
interface SectionProps extends Omit<MyTab, "children"> {
|
|
950
|
+
pageType?: PageType;
|
|
951
|
+
display?: boolean;
|
|
952
|
+
subsections: SubsectionProps[];
|
|
953
|
+
historial?: {
|
|
954
|
+
endpoint?: string;
|
|
955
|
+
};
|
|
956
|
+
data?: any;
|
|
957
|
+
}
|
|
958
|
+
|
|
959
|
+
interface DetailPageV2Props {
|
|
960
|
+
api: {
|
|
961
|
+
data: {
|
|
962
|
+
query: any;
|
|
963
|
+
args?: any;
|
|
964
|
+
skipToken?: boolean;
|
|
965
|
+
};
|
|
966
|
+
mutate: {
|
|
967
|
+
mutation: any;
|
|
968
|
+
args?: any;
|
|
969
|
+
};
|
|
970
|
+
delete?: {
|
|
971
|
+
mutation: any;
|
|
972
|
+
};
|
|
973
|
+
};
|
|
974
|
+
form: Pick<JSONFormProps, "props" | "type" | "useLabel"> & {
|
|
975
|
+
schema: any;
|
|
976
|
+
defaultValues: {
|
|
977
|
+
[k: string]: any;
|
|
978
|
+
};
|
|
979
|
+
};
|
|
980
|
+
sections: (form: any) => SectionProps[];
|
|
981
|
+
pageType: PageType;
|
|
982
|
+
slots?: {
|
|
983
|
+
button?: ReactNode;
|
|
984
|
+
extraButtons?: ((id: number) => ReactNode)[];
|
|
985
|
+
badge?: string;
|
|
986
|
+
};
|
|
987
|
+
slotProps?: {
|
|
988
|
+
button?: {
|
|
989
|
+
save?: {
|
|
990
|
+
type: "onClick";
|
|
991
|
+
disableNavBack?: boolean;
|
|
992
|
+
onClick?: () => void;
|
|
993
|
+
};
|
|
994
|
+
cancel?: Partial<ButtonProps>;
|
|
995
|
+
};
|
|
996
|
+
historial?: {
|
|
997
|
+
endpoint?: string;
|
|
998
|
+
};
|
|
999
|
+
permissionsPath?: string;
|
|
1000
|
+
deleteButton?: {
|
|
1001
|
+
disableNavBack?: boolean;
|
|
1002
|
+
};
|
|
1003
|
+
};
|
|
1004
|
+
}
|
|
1005
|
+
declare function DetailPage(props: DetailPageV2Props): react_jsx_runtime.JSX.Element;
|
|
1006
|
+
|
|
1007
|
+
interface MutationHandlerOptions {
|
|
1008
|
+
mutationFn: (data: any) => {
|
|
1009
|
+
unwrap: () => Promise<any>;
|
|
1010
|
+
};
|
|
1011
|
+
form?: UseFormReturn<any>;
|
|
1012
|
+
onSuccess: () => void;
|
|
1013
|
+
onValidationError?: () => void;
|
|
1014
|
+
successTitle?: string;
|
|
1015
|
+
successMessage?: string;
|
|
1016
|
+
onInvalidParams?: (error: any) => boolean;
|
|
1017
|
+
}
|
|
1018
|
+
declare const useMutationHandler: ({ mutationFn, form, onSuccess, onValidationError, successMessage, onInvalidParams, }: MutationHandlerOptions) => {
|
|
1019
|
+
submit: ({ submitData, formProps, args, }: {
|
|
1020
|
+
submitData: any;
|
|
1021
|
+
formProps: Partial<JSONFormProps>;
|
|
1022
|
+
args?: {
|
|
1023
|
+
[k: string]: any;
|
|
1024
|
+
};
|
|
1025
|
+
}) => void;
|
|
1026
|
+
};
|
|
1027
|
+
|
|
1028
|
+
export { APIContext, APIProvider, ActiveCell, Base, ButtonWithDrawer, CSVUpload, ContentLayout, ControlledDate, ControlledDropdown, ControlledFileField, FileUploadBox as ControlledFileUploadBox, ControlledNumber, ControlledPhoneNumber, ControlledSelect, ControlledSlider as ControlledSimpleSlider, ControlledSlider$1 as ControlledSlider, ControlledSwitch, ControlledText, ControlledTimePicker, ControlledToggleButtons, CoverPage, CreateButtonBase, CreateButtonWithMenuOptions, CrudDropdown, DeleteButton, DeleteConfirmationDialog, DetailPage$1 as DetailPage, DetailPage as DetailPage_v2, EditButton, ExportCSV, HistorialDrawer, ListPage, Loadable, LoadingComponent, Logo, MainDrawer, MenuItemWithLoading, ModuleCard, MoreOptions, MyGridEditSingleSelect, NavigationContext, NavigationProvider, NormalOrIcon, NotAllowed, NotFound, ObjectProgressStack, SaveCancelButton, StatusBadge, StyledMenu, Tabs, Transitions, UncontrolledText, changeTitle, closeProgressSnack, deleteColumn, editColumn, filterQuery, formParser, _default as headerReducer, manualCacheRefresh, mergeSettings, openProgressSnack, query, renderEditCellWithErrorTooltip, setErrors, _default$1 as snackProgressReducer, tags, theme, updateProgressSnackData, useAPI, useHasPermission, useMutationHandler, useNavigation, valueLabel };
|
|
1029
|
+
export type { APIcontextProps, ComoOpcionesProps, CustomToolbarProps, DeleteGridColumnsProps, EditGridColumnsProps, EditReadOnlyFields, FieldFilter, FieldProps$1 as FieldProps, FieldValidationProps, GridArgs, GridColDefPropsOverrides, JSONFormProps, JSONParserProps, MyDataGridProps, MyGridFilterModel, MyTab, MyTabProps, PageType };
|
package/package.json
CHANGED
|
@@ -1,104 +1,106 @@
|
|
|
1
|
-
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
"
|
|
85
|
-
|
|
86
|
-
"
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@acvl/frontend-components",
|
|
3
|
+
"version": "0.0.41",
|
|
4
|
+
"description": "Component library for ACV frontend projects.",
|
|
5
|
+
"homepage": "https://github.com/ACV-Logistics/acv-frontend-components#readme",
|
|
6
|
+
"access": "public",
|
|
7
|
+
"bugs": {
|
|
8
|
+
"url": "https://github.com/ACV-Logistics/acv-frontend-components/issues"
|
|
9
|
+
},
|
|
10
|
+
"repository": {
|
|
11
|
+
"type": "git",
|
|
12
|
+
"url": "git+https://github.com/ACV-Logistics/acv-frontend-components.git"
|
|
13
|
+
},
|
|
14
|
+
"license": "MIT",
|
|
15
|
+
"author": "mario.aftimos",
|
|
16
|
+
"main": "dist/cjs/index.js",
|
|
17
|
+
"module": "dist/esm/index.js",
|
|
18
|
+
"types": "dist/index.d.ts",
|
|
19
|
+
"files": [
|
|
20
|
+
"dist"
|
|
21
|
+
],
|
|
22
|
+
"scripts": {
|
|
23
|
+
"dev": "rollup --config rollup.config.ts --configPlugin @rollup/plugin-typescript --watch",
|
|
24
|
+
"build": "rimraf dist && rollup --config rollup.config.ts --configPlugin @rollup/plugin-typescript"
|
|
25
|
+
},
|
|
26
|
+
"devDependencies": {
|
|
27
|
+
"@babel/core": "^7.29.0",
|
|
28
|
+
"@babel/preset-env": "^7.29.2",
|
|
29
|
+
"@babel/preset-react": "^7.28.5",
|
|
30
|
+
"@babel/preset-typescript": "^7.28.5",
|
|
31
|
+
"@rollup/plugin-commonjs": "^29.0.2",
|
|
32
|
+
"@rollup/plugin-image": "^3.0.3",
|
|
33
|
+
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
34
|
+
"@rollup/plugin-terser": "^1.0.0",
|
|
35
|
+
"@rollup/plugin-typescript": "^12.3.0",
|
|
36
|
+
"@types/lodash": "^4.17.24",
|
|
37
|
+
"@types/node": "^25.6.0",
|
|
38
|
+
"@types/react": "^19.2.14",
|
|
39
|
+
"@types/rollup-plugin-peer-deps-external": "^2.2.6",
|
|
40
|
+
"postcss": "^8.5.8",
|
|
41
|
+
"react": "^19.2.5",
|
|
42
|
+
"react-dom": "^19.2.4",
|
|
43
|
+
"rimraf": "^6.1.3",
|
|
44
|
+
"rollup": "^4.60.1",
|
|
45
|
+
"rollup-plugin-dts": "^6.4.1",
|
|
46
|
+
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
47
|
+
"rollup-plugin-postcss": "^4.0.2",
|
|
48
|
+
"rollup-plugin-preserve-directives": "^0.4.0",
|
|
49
|
+
"rollup-plugin-preserve-use-client": "^3.0.1",
|
|
50
|
+
"rollup-plugin-typescript2": "^0.37.0",
|
|
51
|
+
"tslib": "^2.8.1",
|
|
52
|
+
"typescript": "^5.9.3"
|
|
53
|
+
},
|
|
54
|
+
"peerDependencies": {
|
|
55
|
+
"@dnd-kit/modifiers": "^9.0.0",
|
|
56
|
+
"@dnd-kit/sortable": "^10.0.0",
|
|
57
|
+
"@dnd-kit/utilities": "^3.2.2",
|
|
58
|
+
"@emotion/react": "^11.14.0",
|
|
59
|
+
"@emotion/styled": "^11.14.0",
|
|
60
|
+
"@hookform/resolvers": "^5.2.2",
|
|
61
|
+
"@mui/icons-material": "^7.3.9",
|
|
62
|
+
"@mui/lab": "^7.0.1-beta.23",
|
|
63
|
+
"@mui/material": "^7.3.9",
|
|
64
|
+
"@mui/styled-engine-sc": "^7.3.9",
|
|
65
|
+
"@mui/x-data-grid": "^8.28.2",
|
|
66
|
+
"@mui/x-date-pickers": "^8.0.0",
|
|
67
|
+
"dayjs": "^1.11.0",
|
|
68
|
+
"@reduxjs/toolkit": "^2.11.2",
|
|
69
|
+
"@toolpad/core": "^0.16.0",
|
|
70
|
+
"async-mutex": "^0.5.0",
|
|
71
|
+
"immer": "^11.1.4",
|
|
72
|
+
"lodash": "^4.18.1",
|
|
73
|
+
"mui-tel-input": "^10.0.0",
|
|
74
|
+
"react": "^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
75
|
+
"react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
76
|
+
"react-dropzone": "^15.0.0",
|
|
77
|
+
"react-hook-form": "^7.72.1",
|
|
78
|
+
"react-number-format": "^5.4.5",
|
|
79
|
+
"react-redux": "^9.2.0",
|
|
80
|
+
"react-router-dom": "^7.14.1",
|
|
81
|
+
"styled-components": "^6.3.12",
|
|
82
|
+
"zod": "^4.3.6"
|
|
83
|
+
},
|
|
84
|
+
"babel": {
|
|
85
|
+
"sourceType": "unambiguous",
|
|
86
|
+
"presets": [
|
|
87
|
+
[
|
|
88
|
+
"@babel/preset-env",
|
|
89
|
+
{
|
|
90
|
+
"targets": {
|
|
91
|
+
"chrome": 100,
|
|
92
|
+
"safari": 15,
|
|
93
|
+
"firefox": 91
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
],
|
|
97
|
+
[
|
|
98
|
+
"@babel/preset-react",
|
|
99
|
+
{
|
|
100
|
+
"runtime": "automatic"
|
|
101
|
+
}
|
|
102
|
+
],
|
|
103
|
+
"@babel/preset-typescript"
|
|
104
|
+
]
|
|
105
|
+
}
|
|
106
|
+
}
|