@m4l/graphics 0.0.13 → 0.0.16
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/components/index.js +1318 -0
- package/dist/components/mui_extended/index.js +53 -0
- package/dist/contexts/index.js +174 -0
- package/dist/hooks/index.js +65 -0
- package/dist/index.js +110 -9512
- package/dist/layouts/index.js +39 -0
- package/dist/lib/components/Image/index.d.ts +1 -1
- package/dist/lib/components/Image/styles.d.ts +2 -0
- package/dist/lib/components/Image/types.d.ts +4 -1
- package/dist/lib/components/LinkWithRoute/types.d.ts +1 -1
- package/dist/lib/components/Typography/types.d.ts +1 -1
- package/dist/lib/components/index.d.ts +0 -15
- package/dist/lib/components/mui_extended/Typography/index.d.ts +3 -0
- package/dist/lib/components/mui_extended/Typography/types.d.ts +5 -0
- package/dist/lib/components/mui_extended/index.d.ts +0 -12
- package/dist/lib/contexts/LocalesContext/index.d.ts +1 -1
- package/dist/lib/contexts/index.d.ts +0 -1
- package/dist/lib/hooks/index.d.ts +0 -4
- package/dist/lib/index.d.ts +0 -2
- package/dist/lib/layouts/index.d.ts +0 -2
- package/dist/node_modules.js +150 -0
- package/package.json +9 -14
- package/dist/features.js +0 -2
- package/dist/lib/components/DataGrid/components/Actions/components/Density/index.d.ts +0 -2
- package/dist/lib/components/DataGrid/components/Actions/components/Density/styles.d.ts +0 -3
- package/dist/lib/components/DataGrid/components/Actions/components/Filter/index.d.ts +0 -2
- package/dist/lib/components/DataGrid/components/Actions/components/Filter/styles.d.ts +0 -2
- package/dist/lib/components/DataGrid/components/Actions/components/RowsCount/index.d.ts +0 -2
- package/dist/lib/components/DataGrid/components/Actions/components/RowsCount/styles.d.ts +0 -4
- package/dist/lib/components/DataGrid/components/Actions/components/Settings/ColumnsConfig/components/FormatterColumn/index.d.ts +0 -4
- package/dist/lib/components/DataGrid/components/Actions/components/Settings/ColumnsConfig/index.d.ts +0 -3
- package/dist/lib/components/DataGrid/components/Actions/components/Settings/ColumnsConfig/styles.d.ts +0 -8
- package/dist/lib/components/DataGrid/components/Actions/components/Settings/ColumnsConfig/types.d.ts +0 -25
- package/dist/lib/components/DataGrid/components/Actions/components/Settings/index.d.ts +0 -2
- package/dist/lib/components/DataGrid/components/Actions/components/Settings/styles.d.ts +0 -2
- package/dist/lib/components/DataGrid/components/Actions/components/Settings/types.d.ts +0 -2
- package/dist/lib/components/DataGrid/components/Actions/index.d.ts +0 -3
- package/dist/lib/components/DataGrid/components/Actions/styles.d.ts +0 -2
- package/dist/lib/components/DataGrid/components/Actions/types.d.ts +0 -11
- package/dist/lib/components/DataGrid/components/Table/components/ActionsColumn.d.ts +0 -4
- package/dist/lib/components/DataGrid/components/Table/components/CheckboxFormatter.d.ts +0 -3
- package/dist/lib/components/DataGrid/components/Table/components/CustomIcons.d.ts +0 -15
- package/dist/lib/components/DataGrid/components/Table/components/DraggableHeaderRenderer.d.ts +0 -6
- package/dist/lib/components/DataGrid/components/Table/components/SelectColumn.d.ts +0 -4
- package/dist/lib/components/DataGrid/components/Table/components/SkeletonFormatter/index.d.ts +0 -2
- package/dist/lib/components/DataGrid/components/Table/components/SkeletonFormatter/styles.d.ts +0 -2
- package/dist/lib/components/DataGrid/components/Table/hooks/getDragHeaderRenderer.d.ts +0 -3
- package/dist/lib/components/DataGrid/components/Table/hooks/useFocusRef.d.ts +0 -5
- package/dist/lib/components/DataGrid/components/Table/hooks/useSortColumnsRows.d.ts +0 -8
- package/dist/lib/components/DataGrid/components/Table/index.d.ts +0 -3
- package/dist/lib/components/DataGrid/components/Table/styles.d.ts +0 -3
- package/dist/lib/components/DataGrid/contexts/BaseContext/index.d.ts +0 -5
- package/dist/lib/components/DataGrid/contexts/BaseContext/types.d.ts +0 -51
- package/dist/lib/components/DataGrid/contexts/FilterContext/index.d.ts +0 -9
- package/dist/lib/components/DataGrid/contexts/FilterContext/types.d.ts +0 -11
- package/dist/lib/components/DataGrid/dictionary.d.ts +0 -3
- package/dist/lib/components/DataGrid/formatters/BooleanFormatter/index.d.ts +0 -3
- package/dist/lib/components/DataGrid/formatters/BooleanFormatter/types.d.ts +0 -5
- package/dist/lib/components/DataGrid/formatters/DateFormatter/index.d.ts +0 -3
- package/dist/lib/components/DataGrid/formatters/DateFormatter/types.d.ts +0 -6
- package/dist/lib/components/DataGrid/formatters/index.d.ts +0 -2
- package/dist/lib/components/DataGrid/hooks/useBase.d.ts +0 -1
- package/dist/lib/components/DataGrid/hooks/useFilters.d.ts +0 -1
- package/dist/lib/components/DataGrid/index.d.ts +0 -3
- package/dist/lib/components/DataGrid/styles.d.ts +0 -3
- package/dist/lib/components/DataGrid/types.d.ts +0 -56
- package/dist/lib/components/FormActions/dictionary.d.ts +0 -3
- package/dist/lib/components/FormActions/index.d.ts +0 -3
- package/dist/lib/components/FormActions/styles.d.ts +0 -2
- package/dist/lib/components/FormActions/types.d.ts +0 -7
- package/dist/lib/components/ModalDialog/components/Header/index.d.ts +0 -3
- package/dist/lib/components/ModalDialog/components/Header/types.d.ts +0 -9
- package/dist/lib/components/ModalDialog/dictionary.d.ts +0 -3
- package/dist/lib/components/ModalDialog/index.d.ts +0 -2
- package/dist/lib/components/ModalDialog/styles.d.ts +0 -9
- package/dist/lib/components/ModalDialog/types.d.ts +0 -5
- package/dist/lib/components/NoItemSelected/dictionary.d.ts +0 -3
- package/dist/lib/components/NoItemSelected/index.d.ts +0 -2
- package/dist/lib/components/NoItemSelected/styles.d.ts +0 -5
- package/dist/lib/components/NoItemSelected/types.d.ts +0 -5
- package/dist/lib/components/ObjectLogs/components/DetailDialog/index.d.ts +0 -3
- package/dist/lib/components/ObjectLogs/components/DetailDialog/styles.d.ts +0 -3
- package/dist/lib/components/ObjectLogs/components/DetailDialog/types.d.ts +0 -3
- package/dist/lib/components/ObjectLogs/components/DetailFormatter/index.d.ts +0 -3
- package/dist/lib/components/ObjectLogs/components/DetailFormatter/types.d.ts +0 -3
- package/dist/lib/components/ObjectLogs/dictionary.d.ts +0 -3
- package/dist/lib/components/ObjectLogs/index.d.ts +0 -3
- package/dist/lib/components/ObjectLogs/styles.d.ts +0 -4
- package/dist/lib/components/ObjectLogs/types.d.ts +0 -18
- package/dist/lib/components/PaperForm/index.d.ts +0 -3
- package/dist/lib/components/PaperForm/skeleton.d.ts +0 -6
- package/dist/lib/components/PaperForm/styles.d.ts +0 -8
- package/dist/lib/components/PaperForm/types.d.ts +0 -7
- package/dist/lib/components/PropertyValue/index.d.ts +0 -3
- package/dist/lib/components/PropertyValue/skeleton.d.ts +0 -2
- package/dist/lib/components/PropertyValue/styles.d.ts +0 -6
- package/dist/lib/components/PropertyValue/types.d.ts +0 -11
- package/dist/lib/components/Resizeable/index.d.ts +0 -3
- package/dist/lib/components/Resizeable/styles.d.ts +0 -5
- package/dist/lib/components/Resizeable/types.d.ts +0 -8
- package/dist/lib/components/ScrollBar/index.d.ts +0 -3
- package/dist/lib/components/ScrollBar/styles.d.ts +0 -6
- package/dist/lib/components/ScrollBar/types.d.ts +0 -7
- package/dist/lib/components/SplitLayout/index.d.ts +0 -3
- package/dist/lib/components/SplitLayout/styles.d.ts +0 -4
- package/dist/lib/components/SplitLayout/types.d.ts +0 -9
- package/dist/lib/components/hook-form/FormProvider/components/FormActions/index.d.ts +0 -3
- package/dist/lib/components/hook-form/FormProvider/components/FormActions/skeleton.d.ts +0 -2
- package/dist/lib/components/hook-form/FormProvider/components/FormActions/styles.d.ts +0 -3
- package/dist/lib/components/hook-form/FormProvider/components/FormActions/types.d.ts +0 -4
- package/dist/lib/components/hook-form/FormProvider/index.d.ts +0 -3
- package/dist/lib/components/hook-form/FormProvider/styles.d.ts +0 -2
- package/dist/lib/components/hook-form/FormProvider/types.d.ts +0 -10
- package/dist/lib/components/hook-form/RHFAutocompleteAsync/index.d.ts +0 -4
- package/dist/lib/components/hook-form/RHFAutocompleteAsync/styles.d.ts +0 -4
- package/dist/lib/components/hook-form/RHFAutocompleteAsync/types.d.ts +0 -17
- package/dist/lib/components/hook-form/RHFCheckbox/index.d.ts +0 -3
- package/dist/lib/components/hook-form/RHFCheckbox/skeleton.d.ts +0 -2
- package/dist/lib/components/hook-form/RHFCheckbox/styles.d.ts +0 -2
- package/dist/lib/components/hook-form/RHFCheckbox/types.d.ts +0 -10
- package/dist/lib/components/hook-form/RHFMultiCheckbox/index.d.ts +0 -3
- package/dist/lib/components/hook-form/RHFMultiCheckbox/types.d.ts +0 -10
- package/dist/lib/components/hook-form/RHFRadioGroup.d.ts +0 -9
- package/dist/lib/components/hook-form/RHFSelect.d.ts +0 -8
- package/dist/lib/components/hook-form/RHFTextField/index.d.ts +0 -4
- package/dist/lib/components/hook-form/RHFTextField/styles.d.ts +0 -2
- package/dist/lib/components/hook-form/RHFTextField/types.d.ts +0 -9
- package/dist/lib/components/hook-form/index.d.ts +0 -7
- package/dist/lib/components/mui_extended/Accordion/index.d.ts +0 -3
- package/dist/lib/components/mui_extended/Accordion/types.d.ts +0 -11
- package/dist/lib/components/mui_extended/BoxIcon/index.d.ts +0 -3
- package/dist/lib/components/mui_extended/BoxIcon/types.d.ts +0 -4
- package/dist/lib/components/mui_extended/Breadcrumbs/components/LinkItem/index.d.ts +0 -3
- package/dist/lib/components/mui_extended/Breadcrumbs/components/LinkItem/types.d.ts +0 -4
- package/dist/lib/components/mui_extended/Breadcrumbs/index.d.ts +0 -3
- package/dist/lib/components/mui_extended/Breadcrumbs/types.d.ts +0 -12
- package/dist/lib/components/mui_extended/IconButton/index.d.ts +0 -4
- package/dist/lib/components/mui_extended/IconButton/types.d.ts +0 -5
- package/dist/lib/components/mui_extended/MenuActions/index.d.ts +0 -3
- package/dist/lib/components/mui_extended/MenuActions/styles.d.ts +0 -30
- package/dist/lib/components/mui_extended/MenuActions/types.d.ts +0 -27
- package/dist/lib/components/mui_extended/MenuPopover/index.d.ts +0 -3
- package/dist/lib/components/mui_extended/MenuPopover/types.d.ts +0 -9
- package/dist/lib/components/mui_extended/Pager/components/PagerActions/index.d.ts +0 -3
- package/dist/lib/components/mui_extended/Pager/components/PagerActions/styles.d.ts +0 -2
- package/dist/lib/components/mui_extended/Pager/components/PagerActions/types.d.ts +0 -7
- package/dist/lib/components/mui_extended/Pager/dicctionary.d.ts +0 -3
- package/dist/lib/components/mui_extended/Pager/index.d.ts +0 -3
- package/dist/lib/components/mui_extended/Pager/styles.d.ts +0 -6
- package/dist/lib/components/mui_extended/Pager/types.d.ts +0 -13
- package/dist/lib/components/mui_extended/Tab/index.d.ts +0 -2
- package/dist/lib/components/mui_extended/Tab/styles.d.ts +0 -2
- package/dist/lib/components/skeletons/components/SKTPerperForm/styled.d.ts +0 -13
- package/dist/lib/contexts/ModalContext/components/ContentConfirm/index.d.ts +0 -3
- package/dist/lib/contexts/ModalContext/components/ContentConfirm/styles.d.ts +0 -6
- package/dist/lib/contexts/ModalContext/components/ContentConfirm/types.d.ts +0 -8
- package/dist/lib/contexts/ModalContext/index.d.ts +0 -5
- package/dist/lib/contexts/ModalContext/types.d.ts +0 -42
- package/dist/lib/hooks/useMasterDetail.d.ts +0 -1
- package/dist/lib/hooks/useModal.d.ts +0 -1
- package/dist/lib/hooks/useModule.d.ts +0 -1
- package/dist/lib/hooks/usePaginate.d.ts +0 -15
- package/dist/lib/layouts/MasterDetailLayout/components/ButtonDetail/index.d.ts +0 -3
- package/dist/lib/layouts/MasterDetailLayout/contexts/MasterDetailContext/index.d.ts +0 -5
- package/dist/lib/layouts/MasterDetailLayout/contexts/MasterDetailContext/types.d.ts +0 -13
- package/dist/lib/layouts/MasterDetailLayout/dicctionary.d.ts +0 -3
- package/dist/lib/layouts/MasterDetailLayout/index.d.ts +0 -3
- package/dist/lib/layouts/MasterDetailLayout/types.d.ts +0 -10
- package/dist/lib/layouts/ModuleLayout/components/Header/index.d.ts +0 -2
- package/dist/lib/layouts/ModuleLayout/components/Header/skeleton.d.ts +0 -2
- package/dist/lib/layouts/ModuleLayout/components/Header/styles.d.ts +0 -8
- package/dist/lib/layouts/ModuleLayout/components/Header/types.d.ts +0 -2
- package/dist/lib/layouts/ModuleLayout/components/ModuleContent/index.d.ts +0 -3
- package/dist/lib/layouts/ModuleLayout/components/ModuleContent/styles.d.ts +0 -3
- package/dist/lib/layouts/ModuleLayout/components/ModuleContent/types.d.ts +0 -9
- package/dist/lib/layouts/ModuleLayout/contexts/ModuleContext/index.d.ts +0 -5
- package/dist/lib/layouts/ModuleLayout/contexts/ModuleContext/types.d.ts +0 -18
- package/dist/lib/layouts/ModuleLayout/dicctionary.d.ts +0 -3
- package/dist/lib/layouts/ModuleLayout/index.d.ts +0 -3
- package/dist/lib/layouts/ModuleLayout/types.d.ts +0 -29
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const SKTRHFWrapperTextField: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export { FormProvider } from './FormProvider';
|
|
2
|
-
export { RHFAutocompleteAsync } from './RHFAutocompleteAsync';
|
|
3
|
-
export { RHFCheckbox } from './RHFCheckbox';
|
|
4
|
-
export { RHFMultiCheckbox } from './RHFMultiCheckbox';
|
|
5
|
-
export { RHFSelect } from './RHFSelect';
|
|
6
|
-
export { RHFTextField } from './RHFTextField';
|
|
7
|
-
export { RHFRadioGroup } from './RHFRadioGroup';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { AccordionProps as MUIAccordionProps, AccordionSummaryProps } from '@mui/material';
|
|
2
|
-
import { ReactNode } from 'react';
|
|
3
|
-
export declare type AccordionProps = {
|
|
4
|
-
label: string;
|
|
5
|
-
children: ReactNode;
|
|
6
|
-
accordionProps?: MUIAccordionProps;
|
|
7
|
-
summaryProps?: AccordionSummaryProps;
|
|
8
|
-
isSkeleton?: boolean;
|
|
9
|
-
SKTWidht?: string | number;
|
|
10
|
-
SKTHeight?: string | number;
|
|
11
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { BreadcrumbsProps as MUIBreadcrumbsProps } from '@mui/material';
|
|
2
|
-
import { ReactElement } from 'react';
|
|
3
|
-
export declare type TLink = {
|
|
4
|
-
href?: string;
|
|
5
|
-
name: string;
|
|
6
|
-
dictionaryField: string;
|
|
7
|
-
icon?: ReactElement;
|
|
8
|
-
};
|
|
9
|
-
export interface BreadcrumbsProps extends MUIBreadcrumbsProps {
|
|
10
|
-
links: TLink[];
|
|
11
|
-
activeLast?: boolean;
|
|
12
|
-
}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { IconButtonProps as MUIIconButtonProps } from '@mui/material';
|
|
3
|
-
import { IconButtonProps } from './types';
|
|
4
|
-
export default function IconButton({ src, tooltip, size, dictionaryTooltip, ...other }: IconButtonProps & MUIIconButtonProps): JSX.Element;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const WrapperMenuActions: import("@emotion/styled").StyledComponent<{
|
|
3
|
-
children?: import("react").ReactNode;
|
|
4
|
-
classes?: Partial<import("@mui/material").IconButtonClasses> | undefined;
|
|
5
|
-
color?: "default" | "primary" | "secondary" | "inherit" | "info" | "success" | "warning" | "error" | undefined;
|
|
6
|
-
disabled?: boolean | undefined;
|
|
7
|
-
disableFocusRipple?: boolean | undefined;
|
|
8
|
-
edge?: false | "end" | "start" | undefined;
|
|
9
|
-
size?: "large" | "medium" | "small" | undefined;
|
|
10
|
-
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
11
|
-
} & Omit<{
|
|
12
|
-
action?: import("react").Ref<import("@mui/material").ButtonBaseActions> | undefined;
|
|
13
|
-
centerRipple?: boolean | undefined;
|
|
14
|
-
children?: import("react").ReactNode;
|
|
15
|
-
classes?: Partial<import("@mui/material").ButtonBaseClasses> | undefined;
|
|
16
|
-
disabled?: boolean | undefined;
|
|
17
|
-
disableRipple?: boolean | undefined;
|
|
18
|
-
disableTouchRipple?: boolean | undefined;
|
|
19
|
-
focusRipple?: boolean | undefined;
|
|
20
|
-
focusVisibleClassName?: string | undefined;
|
|
21
|
-
LinkComponent?: import("react").ElementType<any> | undefined;
|
|
22
|
-
onFocusVisible?: import("react").FocusEventHandler<any> | undefined;
|
|
23
|
-
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
24
|
-
tabIndex?: number | undefined;
|
|
25
|
-
TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
|
|
26
|
-
touchRippleRef?: import("react").Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
|
|
27
|
-
}, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "key" | keyof import("react").ButtonHTMLAttributes<HTMLButtonElement>> & {
|
|
28
|
-
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
29
|
-
}, "children" | "disabled" | keyof import("@mui/material/OverridableComponent").CommonProps | "tabIndex" | "color" | "sx" | "action" | "size" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
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,27 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { MenuPopoverProps } from '../MenuPopover/types';
|
|
3
|
-
export interface ComponentActionProps {
|
|
4
|
-
description?: string;
|
|
5
|
-
onClick: (props?: any) => void;
|
|
6
|
-
}
|
|
7
|
-
export interface MenuAction {
|
|
8
|
-
urlIcon: string;
|
|
9
|
-
iconWidth?: number;
|
|
10
|
-
iconHeight?: number;
|
|
11
|
-
dictionaryField: string;
|
|
12
|
-
onClick: (props?: any) => void;
|
|
13
|
-
disabled: boolean;
|
|
14
|
-
color?: string;
|
|
15
|
-
component?: (props: ComponentActionProps) => JSX.Element;
|
|
16
|
-
}
|
|
17
|
-
export interface MenuActionsProps extends Omit<MenuPopoverProps, 'open'> {
|
|
18
|
-
objItem?: any;
|
|
19
|
-
urlIcon?: string;
|
|
20
|
-
menuActions: MenuAction[] | ((row: any) => MenuAction[]);
|
|
21
|
-
toolTip?: string;
|
|
22
|
-
marginTop?: number | string;
|
|
23
|
-
marginBottom?: number | string;
|
|
24
|
-
marginRight?: number | string;
|
|
25
|
-
marginLeft?: number | string;
|
|
26
|
-
width?: number;
|
|
27
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { PopoverProps } from '@mui/material';
|
|
2
|
-
export declare type Arrow = 'top-left' | 'top-center' | 'top-right' | 'bottom-left' | 'bottom-center' | 'bottom-right' | 'left-top' | 'left-center' | 'left-bottom' | 'right-top' | 'right-center' | 'right-bottom';
|
|
3
|
-
export declare type ArrowStyleProps = {
|
|
4
|
-
arrow: Arrow;
|
|
5
|
-
};
|
|
6
|
-
export interface MenuPopoverProps extends PopoverProps {
|
|
7
|
-
arrow?: Arrow;
|
|
8
|
-
disabledArrow?: boolean;
|
|
9
|
-
}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const WrapperPagerActions: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const Pager: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
3
|
-
export declare const SKTWrapperPagerActions: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
4
|
-
export declare const SKTSvgIconButtonContainer: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
5
|
-
export declare const SKTSvgIconButton: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
6
|
-
export declare const SKTWrapperRowsPerPage: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export interface PagerProps {
|
|
2
|
-
records: number;
|
|
3
|
-
totalRecords: number;
|
|
4
|
-
rowsPerPageOptions?: number[];
|
|
5
|
-
rowsPerPage?: number;
|
|
6
|
-
page: number;
|
|
7
|
-
onPageChange: (newPage: number) => void;
|
|
8
|
-
onRowsPerPageChange: (newRowsPerPage: number) => void;
|
|
9
|
-
labelRows?: string;
|
|
10
|
-
labelOf?: string;
|
|
11
|
-
isSkeleton?: boolean;
|
|
12
|
-
isDesktop?: boolean;
|
|
13
|
-
}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const SKTTabWrapper: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const Wrapper: import("@emotion/styled").StyledComponent<{
|
|
3
|
-
children?: import("react").ReactNode;
|
|
4
|
-
classes?: Partial<import("@mui/material/Paper").PaperClasses> | undefined;
|
|
5
|
-
elevation?: number | undefined;
|
|
6
|
-
square?: boolean | undefined;
|
|
7
|
-
sx?: import("@mui/material/styles").SxProps<import("@mui/material/styles").Theme> | undefined;
|
|
8
|
-
variant?: "elevation" | "outlined" | undefined;
|
|
9
|
-
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>> & {
|
|
10
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
11
|
-
}, "children" | keyof import("@mui/material/OverridableComponent").CommonProps | "sx" | "elevation" | "square" | "variant"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
12
|
-
export declare const SkPaperFormHeader: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
13
|
-
export declare const PaperFormBoddy: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { VariantProps } from './types';
|
|
3
|
-
export declare const WrapperContentConfirm: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
4
|
-
export declare const ModalContent: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
5
|
-
export declare const IllustrationContainer: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & VariantProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
6
|
-
export declare const MessageContainer: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & VariantProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
export declare type TProps = {
|
|
3
|
-
children: ReactNode;
|
|
4
|
-
};
|
|
5
|
-
export interface StandarActions {
|
|
6
|
-
withCancel?: boolean;
|
|
7
|
-
onClickIntro?: () => void;
|
|
8
|
-
onClickCancel?: () => void;
|
|
9
|
-
}
|
|
10
|
-
export declare type VariantModal = 'warning' | 'delete' | 'info';
|
|
11
|
-
export interface ModalOpenOptions {
|
|
12
|
-
initialWidth?: number;
|
|
13
|
-
initialHeigth?: number;
|
|
14
|
-
maxWidth?: number;
|
|
15
|
-
maxHeigth?: number;
|
|
16
|
-
withClose?: boolean;
|
|
17
|
-
onQueryClose?: () => void;
|
|
18
|
-
title: string;
|
|
19
|
-
iconComponent?: ReactNode;
|
|
20
|
-
contentComponent?: ((props?: any) => JSX.Element) | ReactNode;
|
|
21
|
-
actionComponents?: ReactNode[];
|
|
22
|
-
standardActions?: StandarActions;
|
|
23
|
-
}
|
|
24
|
-
export interface OpenModalConfirmProps {
|
|
25
|
-
title: string;
|
|
26
|
-
variant?: VariantModal;
|
|
27
|
-
titleAccept?: string;
|
|
28
|
-
msg: string;
|
|
29
|
-
onClickIntro?: () => void;
|
|
30
|
-
onClickCancel?: () => void;
|
|
31
|
-
}
|
|
32
|
-
export interface ModalState extends ModalOpenOptions {
|
|
33
|
-
open: boolean;
|
|
34
|
-
variant?: VariantModal;
|
|
35
|
-
}
|
|
36
|
-
export interface ModalContextProps extends ModalState {
|
|
37
|
-
openModal: (modalProps: ModalOpenOptions) => void;
|
|
38
|
-
openModalConfirm: (modalOpenProps: OpenModalConfirmProps) => void;
|
|
39
|
-
closeModal: () => void;
|
|
40
|
-
setChanges?: () => void;
|
|
41
|
-
hasChanges: boolean;
|
|
42
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const useMasterDetail: () => import("../layouts/MasterDetailLayout/contexts/MasterDetailContext/types").MasterDetailContextProps;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const useModal: () => import("../contexts/ModalContext/types").ModalContextProps;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const useModule: () => import("../layouts/ModuleLayout/contexts/ModuleContext/types").ModuleLayoutContextProps;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { PagerState } from '../components/DataGrid/types';
|
|
2
|
-
export interface propsUsePaginate {
|
|
3
|
-
endPoint: string;
|
|
4
|
-
timeout?: number;
|
|
5
|
-
fireOnEnter?: boolean;
|
|
6
|
-
queryParams?: Record<string, unknown>;
|
|
7
|
-
}
|
|
8
|
-
export declare const usePaginate: <TRow>(props: propsUsePaginate) => {
|
|
9
|
-
onPageChange: (newPage: number) => void;
|
|
10
|
-
onRowsPerPageChange: (newRowsPerPage: number) => void;
|
|
11
|
-
pagerState: PagerState;
|
|
12
|
-
rows: TRow[];
|
|
13
|
-
clearRows: () => void;
|
|
14
|
-
Refresh: () => void;
|
|
15
|
-
};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { MasterDetailContextProps, MasterDetailProviderProps } from './types';
|
|
3
|
-
declare const MasterDetailContext: import("react").Context<MasterDetailContextProps>;
|
|
4
|
-
declare function MasterDetailProvider(props: MasterDetailProviderProps): JSX.Element;
|
|
5
|
-
export { MasterDetailProvider, MasterDetailContext };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
export declare type MasterSelecion = any | any[] | undefined;
|
|
3
|
-
export interface MasterDetailContextStateProps {
|
|
4
|
-
masterSelection?: MasterSelecion;
|
|
5
|
-
}
|
|
6
|
-
export interface MasterDetailProviderProps {
|
|
7
|
-
masterSelection: MasterSelecion;
|
|
8
|
-
setMasterSelection: (newMasterSelecion: MasterSelecion) => void;
|
|
9
|
-
children: ReactNode;
|
|
10
|
-
}
|
|
11
|
-
export interface MasterDetailContextProps extends MasterDetailContextStateProps {
|
|
12
|
-
onChangeMasterSelection: (newMasterSelection: MasterSelecion) => void;
|
|
13
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { ModuleLayoutProps } from '../ModuleLayout/types';
|
|
3
|
-
export interface ContainerProps {
|
|
4
|
-
vertical: boolean;
|
|
5
|
-
}
|
|
6
|
-
export interface MasterDetailLayoutProps extends Omit<ModuleLayoutProps, 'children'> {
|
|
7
|
-
masterComponent: ((props?: any) => JSX.Element) | ReactNode;
|
|
8
|
-
detailComponent: ((props?: any) => JSX.Element) | ReactNode;
|
|
9
|
-
onChangeSelected?: (row: any[]) => void;
|
|
10
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const Container: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
3
|
-
export declare const Wrapper: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
4
|
-
export declare const ModuleTitleContent: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
5
|
-
export declare const ModuleTitle: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
6
|
-
export declare const Separator: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
7
|
-
export declare const Breadcrumbs: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
8
|
-
export declare const ModuleActions: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const WrapperModule: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
3
|
-
export declare const ModuleContent: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { ModalOpenOptions } from '../../../../contexts/ModalContext/types';
|
|
3
|
-
export declare type ModuleRef = {
|
|
4
|
-
openModal: (modalOpenProps: ModalOpenOptions) => void;
|
|
5
|
-
current: HTMLDivElement | null;
|
|
6
|
-
};
|
|
7
|
-
export interface ModuleProps {
|
|
8
|
-
children: ReactNode;
|
|
9
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { ModuleLayoutContextProps, ModuleLayoutProviderProps } from './types';
|
|
3
|
-
declare const ModuleContext: import("react").Context<ModuleLayoutContextProps>;
|
|
4
|
-
declare function ModuleProvider(props: ModuleLayoutProviderProps): JSX.Element;
|
|
5
|
-
export { ModuleProvider, ModuleContext };
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { TLink } from '@mui_extended/Breadcrumbs/types';
|
|
2
|
-
import { ReactNode } from 'react';
|
|
3
|
-
import { ModuleAction } from '../../types';
|
|
4
|
-
export interface ModuleLayoutContextStateProps {
|
|
5
|
-
urlIcon: string;
|
|
6
|
-
moduleId: number;
|
|
7
|
-
moduleNameField: string;
|
|
8
|
-
breadcrumbLinks: TLink[];
|
|
9
|
-
}
|
|
10
|
-
export interface ModuleLayoutProviderProps extends Omit<ModuleLayoutContextStateProps, 'init'> {
|
|
11
|
-
children: ReactNode;
|
|
12
|
-
initialModuleActions: ModuleAction[];
|
|
13
|
-
}
|
|
14
|
-
export interface ModuleLayoutContextProps extends ModuleLayoutContextStateProps {
|
|
15
|
-
moduleActions: ModuleAction[];
|
|
16
|
-
dynamicActions: ModuleAction[];
|
|
17
|
-
setDynamicActions: (dynamicActions: ModuleAction[]) => void;
|
|
18
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import type { ReactNode } from 'react';
|
|
2
|
-
import type { ModuleDictionary } from '@m4l/core';
|
|
3
|
-
import type { MenuAction, TLink } from '../../components';
|
|
4
|
-
import type { ModalOpenOptions } from '../../contexts/ModalContext/types';
|
|
5
|
-
import type { HeaderProps } from './components/Header/types';
|
|
6
|
-
import type { ModuleRef } from './components/ModuleContent/types';
|
|
7
|
-
export interface ContainerProps {
|
|
8
|
-
vertical: boolean;
|
|
9
|
-
}
|
|
10
|
-
export declare type MenuActionType = 'main' | 'allways' | 'normal';
|
|
11
|
-
export declare type ModuleLayoutRef = {
|
|
12
|
-
openModal: (modalOpenProps: ModalOpenOptions) => void;
|
|
13
|
-
current: ModuleRef | null;
|
|
14
|
-
};
|
|
15
|
-
export interface ModuleAction extends MenuAction {
|
|
16
|
-
visibility: MenuActionType;
|
|
17
|
-
tag?: any;
|
|
18
|
-
className?: string;
|
|
19
|
-
}
|
|
20
|
-
export interface ModuleLayoutProps extends HeaderProps {
|
|
21
|
-
moduleId: number;
|
|
22
|
-
urlIcon: string;
|
|
23
|
-
moduleNameField?: string;
|
|
24
|
-
breadcrumbLinks: TLink[];
|
|
25
|
-
initialModuleActions: ModuleAction[];
|
|
26
|
-
defaultDictionary: ModuleDictionary;
|
|
27
|
-
componentsDictionary: string[];
|
|
28
|
-
children: ReactNode;
|
|
29
|
-
}
|