@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,51 +0,0 @@
|
|
|
1
|
-
import { MenuAction } from '@mui_extended/MenuActions/types';
|
|
2
|
-
import { ReactNode } from 'react';
|
|
3
|
-
import { Column } from 'react-data-grid';
|
|
4
|
-
import { Maybe } from '@m4l/core';
|
|
5
|
-
import { RowKey, RowHeights, RowHeightVariants } from '../../types';
|
|
6
|
-
export interface IConfigColumn {
|
|
7
|
-
key: string;
|
|
8
|
-
visible: boolean;
|
|
9
|
-
hidden: boolean;
|
|
10
|
-
index: number;
|
|
11
|
-
frozen: boolean;
|
|
12
|
-
name: string;
|
|
13
|
-
orginalIndex: number;
|
|
14
|
-
originalVisible: boolean;
|
|
15
|
-
originalFrozen: boolean;
|
|
16
|
-
}
|
|
17
|
-
export interface IGridConfig {
|
|
18
|
-
columnsConfig: IConfigColumn[];
|
|
19
|
-
columnsWidths: Map<string, Maybe<RowKey>>;
|
|
20
|
-
}
|
|
21
|
-
export declare type BaseProviderProps<TRow, TSummaryRow> = {
|
|
22
|
-
id: number | string;
|
|
23
|
-
isSkeleton: boolean;
|
|
24
|
-
children: ReactNode;
|
|
25
|
-
columns: readonly Column<TRow, TSummaryRow>[];
|
|
26
|
-
remoteConfig?: IGridConfig;
|
|
27
|
-
rowsCount: number;
|
|
28
|
-
rowActionsGetter?: ((row: TRow) => MenuAction[]) | undefined;
|
|
29
|
-
rowHeaderHeights: RowHeights;
|
|
30
|
-
rowHeights: RowHeights;
|
|
31
|
-
initialRowHeightVariant: RowHeightVariants;
|
|
32
|
-
};
|
|
33
|
-
export declare type RowHeightState = {
|
|
34
|
-
rowHVariant: RowHeightVariants;
|
|
35
|
-
rowHeight: number;
|
|
36
|
-
rowHeaderHeight: number;
|
|
37
|
-
};
|
|
38
|
-
export interface BaseContextProps extends IGridConfig {
|
|
39
|
-
rowsCount: number;
|
|
40
|
-
isSkeleton: boolean;
|
|
41
|
-
setRowsCount: (newRowsCount: number) => void;
|
|
42
|
-
rowActionsGetter?: ((row: any) => MenuAction[]) | undefined;
|
|
43
|
-
rowHeights: RowHeights;
|
|
44
|
-
currentRowHeaderHeight: number;
|
|
45
|
-
currentRowHeight: number;
|
|
46
|
-
currentRowHeightVariant: RowHeightVariants;
|
|
47
|
-
setRowHeightVariant: (neVariant: RowHeightVariants) => void;
|
|
48
|
-
onChangeColumnsConfig: (newColumnsConfig: IConfigColumn[]) => void;
|
|
49
|
-
onChangeColumnsOrder: (sourceKey: string, targetKey: string) => void;
|
|
50
|
-
onChangeColumnWidth: (columnKey: string, width: number) => void;
|
|
51
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { FilterContextProps } from './types';
|
|
3
|
-
declare const FilterContext: import("react").Context<FilterContextProps>;
|
|
4
|
-
declare type FilterProviderProps = {
|
|
5
|
-
children: ReactNode;
|
|
6
|
-
initialActiveFilters: boolean;
|
|
7
|
-
};
|
|
8
|
-
declare function FilterProvider({ children, initialActiveFilters }: FilterProviderProps): JSX.Element;
|
|
9
|
-
export { FilterProvider, FilterContext };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { RowKey } from '../../types';
|
|
2
|
-
export interface FilterContextProps {
|
|
3
|
-
activeFilters: boolean;
|
|
4
|
-
filters?: Map<RowKey, string>;
|
|
5
|
-
onChangeFilter?: (key: string, value: string) => void;
|
|
6
|
-
setActiveFilters: (active: boolean) => void;
|
|
7
|
-
}
|
|
8
|
-
export interface IFilterState {
|
|
9
|
-
activeFilters: boolean;
|
|
10
|
-
filters?: Map<RowKey, string>;
|
|
11
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const useBase: () => import("../contexts/BaseContext/types").BaseContextProps;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const useFilters: () => import("../contexts/FilterContext/types").FilterContextProps;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const WrapperGrid: 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 OriginalGridWrapperStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { MenuAction } from '@mui_extended/MenuActions/types';
|
|
3
|
-
import { Column } from 'react-data-grid';
|
|
4
|
-
import { ActionsProps } from './components/Actions/types';
|
|
5
|
-
export declare type ColumnType = 'text' | 'date' | 'number' | 'boolean' | 'custom';
|
|
6
|
-
export declare type ColumnAlign = 'left' | 'center' | 'right';
|
|
7
|
-
export declare interface GridRow {
|
|
8
|
-
id: number;
|
|
9
|
-
}
|
|
10
|
-
export declare type SortDirection = 'ASC' | 'DESC';
|
|
11
|
-
export interface SortColumn {
|
|
12
|
-
readonly columnKey: string;
|
|
13
|
-
readonly direction: SortDirection;
|
|
14
|
-
}
|
|
15
|
-
declare module 'react-data-grid' {
|
|
16
|
-
interface Column<TRow, TSummaryRow = unknown> {
|
|
17
|
-
visible?: boolean;
|
|
18
|
-
hidden?: boolean;
|
|
19
|
-
fixed?: boolean;
|
|
20
|
-
type: ColumnType;
|
|
21
|
-
align?: ColumnAlign;
|
|
22
|
-
isDraggable?: boolean;
|
|
23
|
-
withFilter?: boolean;
|
|
24
|
-
withinHeaderRenderer?: React.FunctionComponent<HeaderRendererProps<TRow, TSummaryRow>>;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
export declare type RowKey = string | number;
|
|
28
|
-
export declare interface WithActionsProps {
|
|
29
|
-
withActions?: boolean;
|
|
30
|
-
}
|
|
31
|
-
export declare interface PagerState {
|
|
32
|
-
page: number;
|
|
33
|
-
rowsPerPage: number;
|
|
34
|
-
totalRecords: number;
|
|
35
|
-
}
|
|
36
|
-
export declare const initialPagerState: PagerState;
|
|
37
|
-
export declare type RowHeightVariants = 'standard' | 'compact' | 'confortable';
|
|
38
|
-
export declare type RowHeights = number | number[];
|
|
39
|
-
export declare interface GridProps<TRow, TSummaryRow> {
|
|
40
|
-
id: RowKey;
|
|
41
|
-
isSkeleton?: boolean;
|
|
42
|
-
withActions?: boolean;
|
|
43
|
-
columns: readonly Column<TRow, TSummaryRow>[];
|
|
44
|
-
rows: TRow[];
|
|
45
|
-
initialRowHeightVariant?: RowHeightVariants;
|
|
46
|
-
rowHeaderHeights?: RowHeights;
|
|
47
|
-
rowHeights?: RowHeights;
|
|
48
|
-
rowActionsGetter?: (row: TRow) => MenuAction[];
|
|
49
|
-
rowKeyGetter: (row: TRow) => RowKey;
|
|
50
|
-
isMultipleSelect?: boolean;
|
|
51
|
-
selectedRows?: Set<RowKey>;
|
|
52
|
-
onRowsSelectedChange?: (mapRowsSelected: ReadonlySet<RowKey>, rawRowsSelected: TRow[]) => void;
|
|
53
|
-
}
|
|
54
|
-
export declare interface DataGridProps<TRow, TSummaryRow> extends GridProps<TRow, TSummaryRow> {
|
|
55
|
-
actionsProps: ActionsProps;
|
|
56
|
-
}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const WrapperActions: 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
|
-
import { ModalOpenOptions } from '~/lib/contexts/ModalContext/types';
|
|
2
|
-
declare type ImodalOpt = Pick<ModalOpenOptions, 'actionComponents' | 'standardActions'>;
|
|
3
|
-
export interface ActionsProps extends ImodalOpt {
|
|
4
|
-
variant?: string | undefined;
|
|
5
|
-
onCloseModal?: () => void | undefined;
|
|
6
|
-
}
|
|
7
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { VariantProps } from './types';
|
|
3
|
-
export declare const WrapperDialog: import("@emotion/styled").StyledComponent<import("@mui/material").DialogProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
4
|
-
export declare const Container: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
5
|
-
export declare const Header: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
6
|
-
export declare const IconTitleContainer: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
7
|
-
export declare const IconHeader: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & VariantProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
8
|
-
export declare const Content: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
9
|
-
export declare const ModalTitle: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & VariantProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { ImageProps } from './types';
|
|
3
|
-
export declare const WrapperNoItemSelected: 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 Image: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & ImageProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
5
|
-
export declare const Label: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
@@ -1,3 +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 Text: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
@@ -1,4 +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 Actions: 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 GridWrapper: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { Maybe } from '@m4l/core';
|
|
2
|
-
export interface RowLog {
|
|
3
|
-
id: number;
|
|
4
|
-
created_at: string;
|
|
5
|
-
email: string;
|
|
6
|
-
resource_name: string;
|
|
7
|
-
privilege_name: string;
|
|
8
|
-
preview: string;
|
|
9
|
-
ip: string;
|
|
10
|
-
}
|
|
11
|
-
export interface LogsProps {
|
|
12
|
-
resource_id: number;
|
|
13
|
-
object_id: Maybe<number>;
|
|
14
|
-
}
|
|
15
|
-
export interface QueryParams extends LogsProps, Record<string, unknown> {
|
|
16
|
-
init_date: Date;
|
|
17
|
-
end_date: Date;
|
|
18
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const WrapperPaper: 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 Header: 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 IconTitleContainer: 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 IconHeader: 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 Content: 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 SkPaperFormHeader: 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 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 { PropertyProps } from './types';
|
|
3
|
-
export declare const WrapperPropertyValue: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & PropertyProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
4
|
-
export declare const Property: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & PropertyProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
5
|
-
export declare const Value: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & PropertyProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
6
|
-
export declare const SKTWrapperProperty: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
export interface PropertyProps {
|
|
3
|
-
propertyWidth?: number;
|
|
4
|
-
propertyHeight?: number;
|
|
5
|
-
isForm?: boolean;
|
|
6
|
-
}
|
|
7
|
-
export interface PropertyValueProps extends PropertyProps {
|
|
8
|
-
isSkeleton?: boolean;
|
|
9
|
-
property: string;
|
|
10
|
-
value: number | string | ReactNode;
|
|
11
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { ResizableBox } from 'react-resizable';
|
|
3
|
-
export declare const WrapperResizeable: import("@emotion/styled").StyledComponent<import("react-resizable").ResizableProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {
|
|
4
|
-
ref?: import("react").Ref<ResizableBox> | undefined;
|
|
5
|
-
}>;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import SimpleBarReact from 'simplebar-react';
|
|
3
|
-
export declare const RootStyle: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
4
|
-
export declare const SimpleBarStyle: import("@emotion/styled").StyledComponent<SimpleBarReact.Props & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {
|
|
5
|
-
ref?: import("react").Ref<SimpleBarReact> | undefined;
|
|
6
|
-
}>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const WrapperSplit: 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 SplitMaster: 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 SplitDetail: 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
|
-
export declare type SplitPosition = 'vertical' | 'horizontal' | 'none';
|
|
3
|
-
export interface SplitLayoutProps {
|
|
4
|
-
splitPosition: SplitPosition;
|
|
5
|
-
percentage?: boolean;
|
|
6
|
-
secondParrtInitialSize?: number;
|
|
7
|
-
firstPart: ((props?: any) => JSX.Element) | ReactNode;
|
|
8
|
-
secondPart: ((props?: any) => JSX.Element) | ReactNode;
|
|
9
|
-
}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const WrapperFormActions: 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 WrapperSKTFormActions: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const WrapperFormProvider: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").FormHTMLAttributes<HTMLFormElement>, HTMLFormElement>, {}>;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { FieldValues } from 'react-hook-form';
|
|
3
|
-
export interface FormProviderProps {
|
|
4
|
-
children: ReactNode;
|
|
5
|
-
onSubmit: (data: FieldValues) => void;
|
|
6
|
-
values: FieldValues;
|
|
7
|
-
validationSchema: any;
|
|
8
|
-
withIntro?: boolean;
|
|
9
|
-
urlCancel?: string | number;
|
|
10
|
-
}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const SKTRHFAutocompleteAsyncWrapper: 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 PropertieValueLabel: 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 SKTInputText: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export interface SkeletonProps {
|
|
2
|
-
isSkeleton?: boolean;
|
|
3
|
-
width?: string | number;
|
|
4
|
-
height?: string | number;
|
|
5
|
-
}
|
|
6
|
-
export interface RHFAutocompleteAsyncProps<T> {
|
|
7
|
-
name: string;
|
|
8
|
-
getOptionLabel: (option: T) => string;
|
|
9
|
-
isOptionEqualToValue: (option: T, value: T) => boolean;
|
|
10
|
-
skeletonProps?: SkeletonProps;
|
|
11
|
-
endPoint: string;
|
|
12
|
-
timeout?: number;
|
|
13
|
-
parms?: any;
|
|
14
|
-
resultField?: string;
|
|
15
|
-
label: string;
|
|
16
|
-
isRemote?: boolean;
|
|
17
|
-
}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const WrapperSKTRHFCheckbox: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { FormControlLabelProps } from '@mui/material';
|
|
2
|
-
export interface RHFCheckboxProps extends Omit<FormControlLabelProps, 'control'> {
|
|
3
|
-
name: string;
|
|
4
|
-
sizeCheck?: 'small' | 'medium';
|
|
5
|
-
isSkeleton?: boolean;
|
|
6
|
-
}
|
|
7
|
-
export interface RHFMultiCheckboxProps extends Omit<FormControlLabelProps, 'control' | 'label'> {
|
|
8
|
-
name: string;
|
|
9
|
-
options: string[];
|
|
10
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { FormControlLabelProps } from '@mui/material';
|
|
2
|
-
export interface RHFCheckboxProps extends Omit<FormControlLabelProps, 'control'> {
|
|
3
|
-
name: string;
|
|
4
|
-
sizeCheck?: 'small' | 'medium';
|
|
5
|
-
isSkeleton?: boolean;
|
|
6
|
-
}
|
|
7
|
-
export interface RHFMultiCheckboxProps extends Omit<FormControlLabelProps, 'control' | 'label'> {
|
|
8
|
-
name: string;
|
|
9
|
-
options: string[];
|
|
10
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { RadioGroupProps } from '@mui/material';
|
|
3
|
-
interface IProps {
|
|
4
|
-
name: string;
|
|
5
|
-
options: string[];
|
|
6
|
-
getOptionLabel?: string[];
|
|
7
|
-
}
|
|
8
|
-
export declare function RHFRadioGroup({ name, options, getOptionLabel, ...other }: IProps & RadioGroupProps): JSX.Element;
|
|
9
|
-
export {};
|