@acvl/frontend-components 0.0.40 → 0.0.42
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 -1
- 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/pages/DetailPage/FieldArrayField/index.d.ts +0 -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 -1
- 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/pages/DetailPage/FieldArrayField/index.d.ts +0 -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 -10
- package/package.json +104 -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;
|
|
@@ -600,25 +601,24 @@ interface ArrayFieldProps {
|
|
|
600
601
|
defaultValues: {
|
|
601
602
|
[key: string]: any;
|
|
602
603
|
};
|
|
603
|
-
form?: any;
|
|
604
604
|
dataGridProps: DataGridProps$1;
|
|
605
605
|
gridProps?: GridProps;
|
|
606
606
|
pageType?: PageType;
|
|
607
607
|
parser?: JSONParserProps;
|
|
608
|
-
fields: FieldProps[];
|
|
608
|
+
fields: FieldProps$1[];
|
|
609
609
|
slotProps?: {
|
|
610
610
|
drawer?: Partial<MainDrawerProps>;
|
|
611
611
|
};
|
|
612
612
|
}
|
|
613
613
|
|
|
614
|
-
interface SectionProps {
|
|
614
|
+
interface SectionProps$1 {
|
|
615
615
|
display?: boolean | FieldValidationProps | FieldValidationProps[];
|
|
616
616
|
data?: any;
|
|
617
617
|
form?: any;
|
|
618
618
|
bgColor?: string;
|
|
619
619
|
title?: string;
|
|
620
620
|
description?: string;
|
|
621
|
-
fields?: FieldProps[];
|
|
621
|
+
fields?: FieldProps$1[];
|
|
622
622
|
arrayFields?: ArrayFieldProps[];
|
|
623
623
|
content?: (data: any) => ReactNode;
|
|
624
624
|
pageType?: PageType;
|
|
@@ -675,7 +675,7 @@ interface DetailPageProps {
|
|
|
675
675
|
mutation: any;
|
|
676
676
|
};
|
|
677
677
|
};
|
|
678
|
-
sections: SectionProps[];
|
|
678
|
+
sections: SectionProps$1[];
|
|
679
679
|
pageType: PageType;
|
|
680
680
|
edit: {
|
|
681
681
|
defaultValues: any;
|
|
@@ -691,7 +691,7 @@ interface DetailPageProps {
|
|
|
691
691
|
};
|
|
692
692
|
ref?: RefObject<any>;
|
|
693
693
|
}
|
|
694
|
-
declare function DetailPage(props: DetailPageProps): react_jsx_runtime.JSX.Element;
|
|
694
|
+
declare function DetailPage$1(props: DetailPageProps): react_jsx_runtime.JSX.Element;
|
|
695
695
|
|
|
696
696
|
/**
|
|
697
697
|
* Muestra animación de cargado hasta arriba de la página
|
|
@@ -717,10 +717,13 @@ interface MyTab {
|
|
|
717
717
|
children: ReactNode;
|
|
718
718
|
}
|
|
719
719
|
interface MyTabProps {
|
|
720
|
-
pathname: string;
|
|
721
720
|
tabs: MyTab[];
|
|
722
721
|
initialValue?: string;
|
|
723
722
|
type?: PageType;
|
|
723
|
+
slotProps?: {
|
|
724
|
+
mainContainer?: BoxProps;
|
|
725
|
+
contentContainer?: BoxProps;
|
|
726
|
+
};
|
|
724
727
|
}
|
|
725
728
|
/**
|
|
726
729
|
* Pestañas customizables
|
|
@@ -907,5 +910,119 @@ declare module '@mui/material/styles' {
|
|
|
907
910
|
}
|
|
908
911
|
declare const theme: () => _mui_material.Theme;
|
|
909
912
|
|
|
910
|
-
|
|
911
|
-
|
|
913
|
+
interface FieldProps {
|
|
914
|
+
pageType?: PageType;
|
|
915
|
+
fieldData?: any;
|
|
916
|
+
name: string;
|
|
917
|
+
detail_name?: string;
|
|
918
|
+
label: string;
|
|
919
|
+
type: any;
|
|
920
|
+
gridProps?: GridProps;
|
|
921
|
+
fieldProps?: object;
|
|
922
|
+
extraProps?: any;
|
|
923
|
+
detailFieldProps?: {
|
|
924
|
+
preValue?: string;
|
|
925
|
+
postValue?: string;
|
|
926
|
+
};
|
|
927
|
+
navigation?: {
|
|
928
|
+
url: string;
|
|
929
|
+
permission: string;
|
|
930
|
+
};
|
|
931
|
+
permission?: string;
|
|
932
|
+
display?: boolean;
|
|
933
|
+
}
|
|
934
|
+
|
|
935
|
+
interface SubsectionProps {
|
|
936
|
+
display?: boolean;
|
|
937
|
+
pageType?: PageType;
|
|
938
|
+
data?: any;
|
|
939
|
+
bgColor?: string;
|
|
940
|
+
title?: string;
|
|
941
|
+
description?: string;
|
|
942
|
+
first?: boolean;
|
|
943
|
+
fields?: FieldProps[];
|
|
944
|
+
arrayFields?: ArrayFieldProps[];
|
|
945
|
+
content?: (data: any) => ReactNode;
|
|
946
|
+
}
|
|
947
|
+
|
|
948
|
+
interface SectionProps extends Omit<MyTab, "children"> {
|
|
949
|
+
pageType?: PageType;
|
|
950
|
+
display?: boolean;
|
|
951
|
+
subsections: SubsectionProps[];
|
|
952
|
+
historial?: {
|
|
953
|
+
endpoint?: string;
|
|
954
|
+
};
|
|
955
|
+
data?: any;
|
|
956
|
+
}
|
|
957
|
+
|
|
958
|
+
interface DetailPageV2Props {
|
|
959
|
+
api: {
|
|
960
|
+
data: {
|
|
961
|
+
query: any;
|
|
962
|
+
args?: any;
|
|
963
|
+
skipToken?: boolean;
|
|
964
|
+
};
|
|
965
|
+
mutate: {
|
|
966
|
+
mutation: any;
|
|
967
|
+
args?: any;
|
|
968
|
+
};
|
|
969
|
+
delete?: {
|
|
970
|
+
mutation: any;
|
|
971
|
+
};
|
|
972
|
+
};
|
|
973
|
+
form: Pick<JSONFormProps, "props" | "type" | "useLabel"> & {
|
|
974
|
+
schema: any;
|
|
975
|
+
defaultValues: {
|
|
976
|
+
[k: string]: any;
|
|
977
|
+
};
|
|
978
|
+
};
|
|
979
|
+
sections: (form: any) => SectionProps[];
|
|
980
|
+
pageType: PageType;
|
|
981
|
+
slots?: {
|
|
982
|
+
button?: ReactNode;
|
|
983
|
+
extraButtons?: ((id: number) => ReactNode)[];
|
|
984
|
+
badge?: string;
|
|
985
|
+
};
|
|
986
|
+
slotProps?: {
|
|
987
|
+
button?: {
|
|
988
|
+
save?: {
|
|
989
|
+
type: "onClick";
|
|
990
|
+
disableNavBack?: boolean;
|
|
991
|
+
onClick?: () => void;
|
|
992
|
+
};
|
|
993
|
+
cancel?: Partial<ButtonProps>;
|
|
994
|
+
};
|
|
995
|
+
historial?: {
|
|
996
|
+
endpoint?: string;
|
|
997
|
+
};
|
|
998
|
+
permissionsPath?: string;
|
|
999
|
+
deleteButton?: {
|
|
1000
|
+
disableNavBack?: boolean;
|
|
1001
|
+
};
|
|
1002
|
+
};
|
|
1003
|
+
}
|
|
1004
|
+
declare function DetailPage(props: DetailPageV2Props): react_jsx_runtime.JSX.Element;
|
|
1005
|
+
|
|
1006
|
+
interface MutationHandlerOptions {
|
|
1007
|
+
mutationFn: (data: any) => {
|
|
1008
|
+
unwrap: () => Promise<any>;
|
|
1009
|
+
};
|
|
1010
|
+
form?: UseFormReturn<any>;
|
|
1011
|
+
onSuccess: () => void;
|
|
1012
|
+
onValidationError?: () => void;
|
|
1013
|
+
successTitle?: string;
|
|
1014
|
+
successMessage?: string;
|
|
1015
|
+
onInvalidParams?: (error: any) => boolean;
|
|
1016
|
+
}
|
|
1017
|
+
declare const useMutationHandler: ({ mutationFn, form, onSuccess, onValidationError, successMessage, onInvalidParams, }: MutationHandlerOptions) => {
|
|
1018
|
+
submit: ({ submitData, formProps, args, }: {
|
|
1019
|
+
submitData: any;
|
|
1020
|
+
formProps: Partial<JSONFormProps>;
|
|
1021
|
+
args?: {
|
|
1022
|
+
[k: string]: any;
|
|
1023
|
+
};
|
|
1024
|
+
}) => void;
|
|
1025
|
+
};
|
|
1026
|
+
|
|
1027
|
+
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 };
|
|
1028
|
+
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,106 +1,106 @@
|
|
|
1
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
|
-
|
|
105
|
-
|
|
2
|
+
"name": "@acvl/frontend-components",
|
|
3
|
+
"version": "0.0.42",
|
|
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
106
|
}
|