@smart-factor/gem-ui-components 0.0.95 → 0.0.96
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/Drawer-CldXrceX.js +2112 -0
- package/dist/SignEditor.js +14341 -14325
- package/dist/Stack-CU3sSZaK.js +6619 -0
- package/dist/Tree-zB7xEw6c.js +2895 -0
- package/dist/components/AccordionSummary/AccordionSummary.d.ts +1 -0
- package/dist/components/AccordionSummary/AccordionSummary.stories.d.ts +1 -0
- package/dist/components/AccordionSummary/AccordionSummary.styles.d.ts +4 -3
- package/dist/components/Button/Button.d.ts +1 -0
- package/dist/components/Button/Button.stories.d.ts +1 -0
- package/dist/components/Button/Button.styles.d.ts +4 -3
- package/dist/components/Button/ButtonAdd.d.ts +1 -0
- package/dist/components/ButtonPreviewAttachment/ButtonPreviewAttachment.d.ts +1 -0
- package/dist/components/ButtonPreviewAttachment/ButtonPreviewAttachment.stories.d.ts +1 -0
- package/dist/components/ButtonWithIcon/ButtonWithIcon.d.ts +1 -0
- package/dist/components/ButtonWithIcon/ButtonWithIcon.stories.d.ts +1 -0
- package/dist/components/Dialog/Dialog.d.ts +1 -0
- package/dist/components/Dialog/Dialog.stories.d.ts +2 -1
- package/dist/components/Dialog/Dialog.styles.d.ts +6 -5
- package/dist/components/Dialog/types.d.ts +1 -0
- package/dist/components/Dialogs/ConfirmDialog/ConfirmDialog.d.ts +1 -0
- package/dist/components/Dialogs/ConfirmDialog/ConfirmDialog.styles.d.ts +1 -0
- package/dist/components/Dialogs/EditDialog/EditDialog.d.ts +1 -0
- package/dist/components/Dialogs/EditDialog/EditDialog.styles.d.ts +1 -0
- package/dist/components/Drawer/Drawer.d.ts +1 -0
- package/dist/components/Drawer/Drawer.stories.d.ts +1 -0
- package/dist/components/Drawer/DrawerContent.d.ts +1 -0
- package/dist/components/Drawer/DrawerFooter.d.ts +1 -0
- package/dist/components/Drawer/DrawerHeader.d.ts +1 -0
- package/dist/components/Drawer/index.js +1 -1
- package/dist/components/Dropzone/Dropzone.stories.d.ts +1 -0
- package/dist/components/Dropzone/Dropzone.styles.d.ts +5 -4
- package/dist/components/Dropzone/DropzoneField.d.ts +1 -0
- package/dist/components/ElementsPicker/ElementsPicker.d.ts +1 -0
- package/dist/components/ElementsPicker/ElementsPicker.stories.d.ts +1 -0
- package/dist/components/ElementsPicker/ElementsPickerElement.d.ts +1 -0
- package/dist/components/FixedActionsBottomPanel/FixedActionsBottomPanel.d.ts +1 -0
- package/dist/components/FixedActionsBottomPanel/FixedActionsBottomPanel.stories.d.ts +1 -0
- package/dist/components/FixedActionsBottomPanel/FixedActionsBottomPanel.styles.d.ts +2 -1
- package/dist/components/FormComponents/Autocomplete/Autocomplete.d.ts +1 -0
- package/dist/components/FormComponents/Autocomplete/Autocomplete.stories.d.ts +1 -0
- package/dist/components/FormComponents/Autocomplete/Autocomplete.styles.d.ts +1 -0
- package/dist/components/FormComponents/Autocomplete/types.d.ts +1 -0
- package/dist/components/FormComponents/ContextualSearch/ContextualSearch.d.ts +1 -0
- package/dist/components/FormComponents/ContextualSearch/ContextualSearch.stories.d.ts +1 -0
- package/dist/components/FormComponents/ContextualSearch/ContextualSearch.styles.d.ts +2 -1
- package/dist/components/FormComponents/ContextualSearch/ContextualSearchControlled.d.ts +1 -0
- package/dist/components/FormComponents/ContextualSearch/ContextualSearchListListbox.d.ts +1 -0
- package/dist/components/FormComponents/ContextualSearch/mock.d.ts +1 -0
- package/dist/components/FormComponents/DatePicker/DatePicker.d.ts +1 -0
- package/dist/components/FormComponents/DatePicker/DatePicker.stories.d.ts +1 -0
- package/dist/components/FormComponents/DatePicker/DatePicker.styles.d.ts +3 -2
- package/dist/components/FormComponents/DateTimePicker/DateTimePicker.d.ts +1 -0
- package/dist/components/FormComponents/DateTimePicker/DateTimePicker.stories.d.ts +1 -0
- package/dist/components/FormComponents/DateTimePicker/DateTimePicker.styles.d.ts +3 -2
- package/dist/components/FormComponents/Input/Input.d.ts +1 -0
- package/dist/components/FormComponents/Input/Input.stories.d.ts +1 -0
- package/dist/components/FormComponents/RadioChips/RadioChips.d.ts +1 -0
- package/dist/components/FormComponents/RadioChips/RadioChips.stories.d.ts +1 -0
- package/dist/components/FormComponents/RadioChips/RadioChips.styles.d.ts +4 -3
- package/dist/components/FormComponents/SearchInput/SearchInput.d.ts +1 -0
- package/dist/components/FormComponents/SearchInput/SearchInput.stories.d.ts +1 -0
- package/dist/components/FormComponents/Select/Select.d.ts +1 -0
- package/dist/components/FormComponents/Select/Select.stories.d.ts +1 -0
- package/dist/components/FormComponents/Select/Select.styles.d.ts +2 -1
- package/dist/components/FormComponents/TimePicker/TimePicker.d.ts +1 -0
- package/dist/components/FormComponents/TimePicker/TimePicker.stories.d.ts +1 -0
- package/dist/components/FormComponents/TimePicker/TimePicker.styles.d.ts +4 -3
- package/dist/components/Grid/Grid.d.ts +1 -0
- package/dist/components/Grid/types.d.ts +1 -0
- package/dist/components/Grid/useGridInitialState.d.ts +1 -0
- package/dist/components/GridCell/GridCell.d.ts +1 -0
- package/dist/components/LoadingBackdrop/LoadingBackdrop.d.ts +1 -0
- package/dist/components/LoadingBackdrop/LoadingBackdrop.stories.d.ts +1 -0
- package/dist/components/MuiLikeWrapper/MuiLikeWrapper.d.ts +1 -0
- package/dist/components/MuiLikeWrapper/MuiLikeWrapper.stories.d.ts +1 -0
- package/dist/components/MuiLikeWrapper/MuiLikeWrapper.styles.d.ts +4 -3
- package/dist/components/PaginatedPopover/PaginatedPopover.d.ts +1 -0
- package/dist/components/PaginatedPopover/PaginatedPopover.stories.d.ts +1 -0
- package/dist/components/PaginatedPopover/PaginatedPopover.styles.d.ts +9 -8
- package/dist/components/PaginatedPopover/PaginatedPopoverContent.d.ts +3 -2
- package/dist/components/PaginatedPopover/PaginatedPopoverHeader.d.ts +1 -0
- package/dist/components/PaginatedPopover/types.d.ts +1 -0
- package/dist/components/ResizableWrapper/ResizableWrapper.d.ts +1 -0
- package/dist/components/ResizableWrapper/ResizableWrapper.stories.d.ts +1 -0
- package/dist/components/ResizableWrapper/ResizableWrapper.styles.d.ts +3 -2
- package/dist/components/SignEditor/SignEditor.d.ts +1 -0
- package/dist/components/SignEditor/SignEditor.stories.d.ts +1 -0
- package/dist/components/SignEditor/SignEditor.styles.d.ts +11 -12
- package/dist/components/SignEditor/SignEditorCanvas.d.ts +1 -0
- package/dist/components/SignEditor/SignEditorCanvasHeader.d.ts +1 -0
- package/dist/components/SignEditor/SignEditorContext.d.ts +1 -0
- package/dist/components/SignEditor/SignEditorContextProvider.d.ts +1 -0
- package/dist/components/SignEditor/SignEditorEditDialog.d.ts +1 -0
- package/dist/components/SignEditor/SignEditorImage.d.ts +1 -0
- package/dist/components/SignEditor/SignEditorImagesList.d.ts +1 -0
- package/dist/components/SignEditor/SignEditorSaveDialog.d.ts +1 -0
- package/dist/components/SignEditor/useOnSvgSelected.d.ts +1 -0
- package/dist/components/SignEditor/useSaveStencil.d.ts +1 -0
- package/dist/components/SignEditor/useSvgMount.d.ts +1 -0
- package/dist/components/SimpleAutocomplete/SimpleAutocomplete.d.ts +1 -0
- package/dist/components/SimpleAutocomplete/SimpleAutocomplete.stories.d.ts +1 -0
- package/dist/components/SimpleInput/SimpleInput.d.ts +1 -0
- package/dist/components/SimpleInput/SimpleInput.stories.d.ts +1 -0
- package/dist/components/SimpleSelect/SimpleSelect.d.ts +2 -1
- package/dist/components/SimpleSelect/SimpleSelect.stories.d.ts +1 -0
- package/dist/components/Stepper/Stepper.d.ts +1 -0
- package/dist/components/Stepper/Stepper.stories.d.ts +1 -0
- package/dist/components/Stepper/Stepper.styles.d.ts +4 -3
- package/dist/components/StickyContainer/StickyContainer.d.ts +1 -0
- package/dist/components/StickyContainer/StickyContainer.stories.d.ts +1 -0
- package/dist/components/StickyContainer/StickyContainer.styles.d.ts +3 -2
- package/dist/components/SvgImage/SvgImage.d.ts +1 -0
- package/dist/components/SvgImage/SvgImage.styles.d.ts +2 -1
- package/dist/components/TableComponents/ContextMenu/ContextMenu.d.ts +1 -0
- package/dist/components/TableComponents/ContextMenu/ContextMenu.stories.d.ts +1 -0
- package/dist/components/TableComponents/ContextMenu/ContextMenuContext.d.ts +1 -0
- package/dist/components/TableComponents/ContextMenu/ContextMenuItem.d.ts +1 -0
- package/dist/components/TableComponents/ContextMenu/ContextMenuPropsContext/ContextMenuPropsContext.d.ts +1 -0
- package/dist/components/TableComponents/TableActions/TableActions.d.ts +1 -0
- package/dist/components/TableComponents/TableActions/TableActions.stories.d.ts +1 -0
- package/dist/components/TableComponents/TableCustomToolbar/TableCustomToolbar.d.ts +1 -0
- package/dist/components/TableComponents/TableExportButton/TableExportButton.d.ts +1 -0
- package/dist/components/TableComponents/TableRecord/TableRecord.d.ts +1 -0
- package/dist/components/TableComponents/TableWithPagination/TableWithPagination.d.ts +1 -0
- package/dist/components/TableComponents/TableWithPagination/TableWithPagination.stories.d.ts +1 -0
- package/dist/components/TableComponents/TableWithPagination/TableWrapper.d.ts +1 -0
- package/dist/components/TableComponents/TableWithPagination/types.d.ts +1 -0
- package/dist/components/TabsPanel/TabsPanel.d.ts +1 -0
- package/dist/components/TabsPanel/TabsPanel.stories.d.ts +1 -0
- package/dist/components/TabsPanel/TabsPanel.styles.d.ts +8 -7
- package/dist/components/Toast/Toast.stories.d.ts +1 -0
- package/dist/components/Toast/Toast.styles.d.ts +5 -4
- package/dist/components/Toast/ToastContent.d.ts +1 -0
- package/dist/components/Toast/errorToast.d.ts +1 -0
- package/dist/components/Toast/infoToast.d.ts +1 -0
- package/dist/components/Toast/successToast.d.ts +1 -0
- package/dist/components/Tree/Tree.d.ts +1 -0
- package/dist/components/Tree/Tree.stories.d.ts +1 -0
- package/dist/components/Tree/index.js +1 -1
- package/dist/consts/data-grid.d.ts +27 -32
- package/dist/helpers/columns/getBooleanColumn.d.ts +1 -0
- package/dist/helpers/columns/getDateColumn.d.ts +1 -0
- package/dist/helpers/columns/getDateTimeColumn.d.ts +1 -0
- package/dist/helpers/columns/getNumericColumn.d.ts +1 -0
- package/dist/helpers/columns/getStaticColumn.d.ts +1 -0
- package/dist/helpers/columns/getStringColumn.d.ts +1 -0
- package/dist/helpers/date/formatDate.d.ts +1 -0
- package/dist/helpers/date/formatDateTime.d.ts +1 -0
- package/dist/helpers/sortColumns.d.ts +1 -0
- package/dist/helpers/zodTransforms.d.ts +1 -0
- package/dist/hooks/useContextMenu.d.ts +1 -0
- package/dist/hooks/useDataGridInitialState.d.ts +1 -0
- package/dist/hooks/useDataGridState.d.ts +1 -0
- package/dist/hooks/useGetFileUrl.d.ts +1 -0
- package/dist/hooks/useTableQuery/getLogicOperator.d.ts +1 -0
- package/dist/hooks/useTableQuery/normalizeFilterModel.d.ts +1 -0
- package/dist/hooks/useTableQuery/useDataGridQueryState.d.ts +1 -0
- package/dist/hooks/useTableQuery/useExportGridAsExcel.d.ts +1 -0
- package/dist/hooks/useTableQuery/useExportToExcel.d.ts +1 -0
- package/dist/hooks/useTableQuery/usePaginationAndSort.d.ts +1 -0
- package/dist/hooks/useTableQuery/useTableFilter.d.ts +1 -0
- package/dist/hooks/useTableQuery/useTableQuery.d.ts +2 -1
- package/dist/licenses.txt +261 -376
- package/dist/main.js +2015 -2643
- package/dist/providers/QueryClientProvider.d.ts +1 -0
- package/dist/services/api.d.ts +1 -0
- package/dist/services/generated/api-candidate.d.ts +22942 -0
- package/dist/services/generated/api.d.ts +4 -4
- package/dist/services/mutations/roadSigns/useCreateRoadSignFile.d.ts +1 -0
- package/dist/services/mutations/roadSigns/useCreateRoadSignTemplate.d.ts +1 -0
- package/dist/services/mutations/stencils/useCreateStencil.d.ts +1 -0
- package/dist/services/mutations/stencils/useCreateStencilFile.d.ts +1 -0
- package/dist/services/mutations/stencils/useDeleteStencil.d.ts +1 -0
- package/dist/services/mutations/stencils/useUpdateStencil.d.ts +1 -0
- package/dist/services/mutations/stencils/useUpdateStencilFile.d.ts +1 -0
- package/dist/services/queries/roadSigns/useGetRoadSignNameUnique.d.ts +2 -1
- package/dist/services/queries/roadSigns/useGetRoadSignsByGroupName.d.ts +2 -1
- package/dist/services/queries/roadSigns/useGetRoadSignsGroups.d.ts +2 -1
- package/dist/services/queries/stencils/useGetStencilGroups.d.ts +2 -1
- package/dist/services/queries/stencils/useGetStencils.d.ts +2 -1
- package/dist/theme-6kTWr281.js +262567 -0
- package/dist/useFormControl-v82Vw7n0.js +68 -0
- package/package.json +1 -1
- package/dist/Drawer-Q3D0v6B2.js +0 -2028
- package/dist/Stack-CdVfRhco.js +0 -7503
- package/dist/Tree-xeWEfulP.js +0 -3135
- package/dist/theme-p9uLn1J4.js +0 -259283
- package/dist/warning-VmSVedfJ.js +0 -88
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
export declare const Image: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, import('react').DetailedHTMLProps<import('react').ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
|
|
2
3
|
export declare const Error: import('@emotion/styled').StyledComponent<import('@mui/material').TypographyOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
3
|
-
ref?: ((instance: HTMLSpanElement | null) => void
|
|
4
|
+
ref?: ((instance: HTMLSpanElement | null) => void) | import('react').RefObject<HTMLSpanElement> | null | undefined;
|
|
4
5
|
}, "p" | "style" | "className" | "color" | "children" | "border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flex" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "zIndex" | "position" | "top" | "right" | "bottom" | "left" | "boxShadow" | "width" | "maxWidth" | "minWidth" | "height" | "maxHeight" | "minHeight" | "boxSizing" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "typography" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "lineHeight" | "textAlign" | "textTransform" | "sx" | "classes" | "align" | "variant" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { GridValidRowModel } from '@mui/x-data-grid-pro';
|
|
2
2
|
import { TableWithPaginationProps } from './types';
|
|
3
|
+
|
|
3
4
|
export declare const TableWithPagination: <T extends GridValidRowModel>({ rowsData, paginationAndSortState, setPaginationAndSortState, isLoading, columns, offset, tableKey, filterModel, onFilterModelChange, pinnedColumns, exportDataAsExcel, showPaginationFirstAndLastButtons, }: TableWithPaginationProps<T>) => import("react/jsx-runtime").JSX.Element;
|
package/dist/components/TableComponents/TableWithPagination/TableWithPagination.stories.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { GridValidRowModel } from '@mui/x-data-grid-pro';
|
|
|
2
2
|
import { Meta, StoryObj } from '@storybook/react';
|
|
3
3
|
import { TableWithPagination } from './TableWithPagination';
|
|
4
4
|
import { TableWithPaginationProps } from './types';
|
|
5
|
+
|
|
5
6
|
declare const meta: Meta<typeof TableWithPagination>;
|
|
6
7
|
export default meta;
|
|
7
8
|
type Story = StoryObj<TableWithPaginationProps<GridValidRowModel>>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { TabsPanelProps } from './TabsPanel';
|
|
2
2
|
import { StoryObj } from '@storybook/react';
|
|
3
|
+
|
|
3
4
|
declare const meta: {
|
|
4
5
|
title: string;
|
|
5
6
|
component: ({ tabs, children, onChange, defaultTab, extraComponent, fullWidth, }: TabsPanelProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import { TabProps } from './TabsPanel';
|
|
2
|
+
|
|
2
3
|
export declare const StyledTab: import('@emotion/styled').StyledComponent<TabProps & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
|
|
3
4
|
export declare const StyledWrapper: import('@emotion/styled').StyledComponent<import('@mui/system').StackBaseProps & {
|
|
4
|
-
sx?: import('@mui/
|
|
5
|
+
sx?: import('@mui/material').SxProps<import('@mui/system').Theme> | undefined;
|
|
5
6
|
} & import('@mui/system').SystemProps<import('@mui/system').Theme> & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
6
|
-
ref?: ((instance: HTMLDivElement | null) => void
|
|
7
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import('react').RefObject<HTMLDivElement> | null | undefined;
|
|
7
8
|
}, ("p" | "color" | "border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flex" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "zIndex" | "position" | "top" | "right" | "bottom" | "left" | "boxShadow" | "width" | "maxWidth" | "minWidth" | "height" | "maxHeight" | "minHeight" | "boxSizing" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "typography" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "lineHeight" | "textAlign" | "textTransform") | "sx" | keyof import('@mui/system').StackBaseProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & {
|
|
8
|
-
fullWidth?: boolean;
|
|
9
|
+
fullWidth?: boolean | undefined;
|
|
9
10
|
}, {}, {}>;
|
|
10
11
|
export declare const StyledTabs: import('@emotion/styled').StyledComponent<import('@mui/material').TabsOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
11
|
-
ref?: ((instance: HTMLDivElement | null) => void
|
|
12
|
-
}, "style" | "className" | "aria-label" | "aria-labelledby" | "children" | "onChange" | "sx" | "classes" | "action" | "
|
|
13
|
-
component?:
|
|
12
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import('react').RefObject<HTMLDivElement> | null | undefined;
|
|
13
|
+
}, "style" | "className" | "aria-label" | "aria-labelledby" | "children" | "onChange" | "sx" | "classes" | "action" | "orientation" | "value" | "variant" | "slots" | "slotProps" | "allowScrollButtonsMobile" | "centered" | "indicatorColor" | "ScrollButtonComponent" | "scrollButtons" | "selectionFollowsFocus" | "TabIndicatorProps" | "TabScrollButtonProps" | "textColor" | "visibleScrollbar"> & {
|
|
14
|
+
component?: import('react').ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
14
15
|
} & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & {
|
|
15
|
-
fullWidth?: boolean;
|
|
16
|
+
fullWidth?: boolean | undefined;
|
|
16
17
|
}, {}, {}>;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
export declare const StyledToastMessage: import('@emotion/styled').StyledComponent<import('@mui/material').TypographyOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
2
|
-
ref?: ((instance: HTMLSpanElement | null) => void
|
|
3
|
+
ref?: ((instance: HTMLSpanElement | null) => void) | import('react').RefObject<HTMLSpanElement> | null | undefined;
|
|
3
4
|
}, "p" | "style" | "className" | "color" | "children" | "border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flex" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "zIndex" | "position" | "top" | "right" | "bottom" | "left" | "boxShadow" | "width" | "maxWidth" | "minWidth" | "height" | "maxHeight" | "minHeight" | "boxSizing" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "typography" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "lineHeight" | "textAlign" | "textTransform" | "sx" | "classes" | "align" | "variant" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
|
|
4
5
|
export declare const StyledToastClose: import('@emotion/styled').StyledComponent<import('@mui/material').TypographyOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
5
|
-
ref?: ((instance: HTMLSpanElement | null) => void
|
|
6
|
+
ref?: ((instance: HTMLSpanElement | null) => void) | import('react').RefObject<HTMLSpanElement> | null | undefined;
|
|
6
7
|
}, "p" | "style" | "className" | "color" | "children" | "border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flex" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "zIndex" | "position" | "top" | "right" | "bottom" | "left" | "boxShadow" | "width" | "maxWidth" | "minWidth" | "height" | "maxHeight" | "minHeight" | "boxSizing" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "typography" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "lineHeight" | "textAlign" | "textTransform" | "sx" | "classes" | "align" | "variant" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
|
|
7
8
|
export declare const ToastWrapper: import('@emotion/styled').StyledComponent<import('@mui/material').StackOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
8
|
-
ref?: ((instance: HTMLDivElement | null) => void
|
|
9
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import('react').RefObject<HTMLDivElement> | null | undefined;
|
|
9
10
|
}, keyof import('@mui/material/OverridableComponent').CommonProps | keyof import('@mui/material').StackOwnProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & {
|
|
10
|
-
type:
|
|
11
|
+
type: 'success' | 'error' | 'info';
|
|
11
12
|
}, {}, {}>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
export declare const DATA_GRID_LOCALE: {
|
|
2
3
|
columnsManagementSearchTitle: string;
|
|
3
4
|
columnsManagementNoColumns: string;
|
|
@@ -25,42 +26,39 @@ export declare const DATA_GRID_LOCALE: {
|
|
|
25
26
|
aggregationFunctionLabelSize: string;
|
|
26
27
|
noRowsLabel?: string | undefined;
|
|
27
28
|
noResultsOverlayLabel?: string | undefined;
|
|
28
|
-
toolbarDensity?:
|
|
29
|
+
toolbarDensity?: import('react').ReactNode;
|
|
29
30
|
toolbarDensityLabel?: string | undefined;
|
|
30
31
|
toolbarDensityCompact?: string | undefined;
|
|
31
32
|
toolbarDensityStandard?: string | undefined;
|
|
32
33
|
toolbarDensityComfortable?: string | undefined;
|
|
33
|
-
toolbarColumns?:
|
|
34
|
+
toolbarColumns?: import('react').ReactNode;
|
|
34
35
|
toolbarColumnsLabel?: string | undefined;
|
|
35
|
-
toolbarFilters?:
|
|
36
|
+
toolbarFilters?: import('react').ReactNode;
|
|
36
37
|
toolbarFiltersLabel?: string | undefined;
|
|
37
|
-
toolbarFiltersTooltipHide?:
|
|
38
|
-
toolbarFiltersTooltipShow?:
|
|
39
|
-
toolbarFiltersTooltipActive?: ((count: number) =>
|
|
38
|
+
toolbarFiltersTooltipHide?: import('react').ReactNode;
|
|
39
|
+
toolbarFiltersTooltipShow?: import('react').ReactNode;
|
|
40
|
+
toolbarFiltersTooltipActive?: ((count: number) => import('react').ReactNode) | undefined;
|
|
40
41
|
toolbarQuickFilterPlaceholder?: string | undefined;
|
|
41
42
|
toolbarQuickFilterLabel?: string | undefined;
|
|
42
43
|
toolbarQuickFilterDeleteIconLabel?: string | undefined;
|
|
43
|
-
toolbarExport?:
|
|
44
|
+
toolbarExport?: import('react').ReactNode;
|
|
44
45
|
toolbarExportLabel?: string | undefined;
|
|
45
|
-
toolbarExportCSV?:
|
|
46
|
-
toolbarExportPrint?:
|
|
46
|
+
toolbarExportCSV?: import('react').ReactNode;
|
|
47
|
+
toolbarExportPrint?: import('react').ReactNode;
|
|
47
48
|
toolbarExportExcel?: string | undefined;
|
|
48
49
|
columnsManagementReset?: string | undefined;
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
filterPanelRemoveAll?: React.ReactNode;
|
|
50
|
+
filterPanelAddFilter?: import('react').ReactNode;
|
|
51
|
+
filterPanelRemoveAll?: import('react').ReactNode;
|
|
52
52
|
filterPanelDeleteIconLabel?: string | undefined;
|
|
53
53
|
filterPanelLogicOperator?: string | undefined;
|
|
54
|
-
filterPanelOperator?:
|
|
55
|
-
filterPanelOperatorAnd?:
|
|
56
|
-
filterPanelOperatorOr?:
|
|
57
|
-
filterPanelColumns?:
|
|
54
|
+
filterPanelOperator?: import('react').ReactNode;
|
|
55
|
+
filterPanelOperatorAnd?: import('react').ReactNode;
|
|
56
|
+
filterPanelOperatorOr?: import('react').ReactNode;
|
|
57
|
+
filterPanelColumns?: import('react').ReactNode;
|
|
58
58
|
filterPanelInputLabel?: string | undefined;
|
|
59
59
|
filterPanelInputPlaceholder?: string | undefined;
|
|
60
60
|
filterOperatorContains?: string | undefined;
|
|
61
|
-
filterOperatorDoesNotContain?: string | undefined;
|
|
62
61
|
filterOperatorEquals?: string | undefined;
|
|
63
|
-
filterOperatorDoesNotEqual?: string | undefined;
|
|
64
62
|
filterOperatorStartsWith?: string | undefined;
|
|
65
63
|
filterOperatorEndsWith?: string | undefined;
|
|
66
64
|
filterOperatorIs?: string | undefined;
|
|
@@ -79,9 +77,7 @@ export declare const DATA_GRID_LOCALE: {
|
|
|
79
77
|
'filterOperator<'?: string | undefined;
|
|
80
78
|
'filterOperator<='?: string | undefined;
|
|
81
79
|
headerFilterOperatorContains?: string | undefined;
|
|
82
|
-
headerFilterOperatorDoesNotContain?: string | undefined;
|
|
83
80
|
headerFilterOperatorEquals?: string | undefined;
|
|
84
|
-
headerFilterOperatorDoesNotEqual?: string | undefined;
|
|
85
81
|
headerFilterOperatorStartsWith?: string | undefined;
|
|
86
82
|
headerFilterOperatorEndsWith?: string | undefined;
|
|
87
83
|
headerFilterOperatorNot?: string | undefined;
|
|
@@ -89,20 +85,19 @@ export declare const DATA_GRID_LOCALE: {
|
|
|
89
85
|
filterValueTrue?: string | undefined;
|
|
90
86
|
filterValueFalse?: string | undefined;
|
|
91
87
|
columnMenuLabel?: string | undefined;
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
columnHeaderFiltersTooltipActive?: ((count: number) => React.ReactNode) | undefined;
|
|
88
|
+
columnMenuShowColumns?: import('react').ReactNode;
|
|
89
|
+
columnMenuManageColumns?: import('react').ReactNode;
|
|
90
|
+
columnMenuFilter?: import('react').ReactNode;
|
|
91
|
+
columnMenuHideColumn?: import('react').ReactNode;
|
|
92
|
+
columnMenuUnsort?: import('react').ReactNode;
|
|
93
|
+
columnMenuSortAsc?: import('react').ReactNode | ((colDef: import('@mui/x-data-grid').GridColDef) => import('react').ReactNode);
|
|
94
|
+
columnMenuSortDesc?: import('react').ReactNode | ((colDef: import('@mui/x-data-grid').GridColDef) => import('react').ReactNode);
|
|
95
|
+
columnHeaderFiltersTooltipActive?: ((count: number) => import('react').ReactNode) | undefined;
|
|
101
96
|
columnHeaderFiltersLabel?: string | undefined;
|
|
102
97
|
columnHeaderSortIconLabel?: string | undefined;
|
|
103
|
-
footerRowSelected?: ((count: number) =>
|
|
104
|
-
footerTotalRows?:
|
|
105
|
-
footerTotalVisibleRows?: ((visibleCount: number, totalCount: number) =>
|
|
98
|
+
footerRowSelected?: ((count: number) => import('react').ReactNode) | undefined;
|
|
99
|
+
footerTotalRows?: import('react').ReactNode;
|
|
100
|
+
footerTotalVisibleRows?: ((visibleCount: number, totalCount: number) => import('react').ReactNode) | undefined;
|
|
106
101
|
checkboxSelectionHeaderName?: string | undefined;
|
|
107
102
|
checkboxSelectionSelectAllRows?: string | undefined;
|
|
108
103
|
checkboxSelectionUnselectAllRows?: string | undefined;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { GridColDef, GridValidRowModel } from '@mui/x-data-grid-pro';
|
|
2
|
+
|
|
2
3
|
type BooleanColumnParams<T extends GridValidRowModel> = Omit<GridColDef<T, boolean>, 'type'>;
|
|
3
4
|
type BooleanColumn<T extends GridValidRowModel> = GridColDef<T, boolean>;
|
|
4
5
|
export declare function getBooleanColumn<T extends GridValidRowModel>(params: BooleanColumnParams<T>): BooleanColumn<T>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { GridColDef, GridValidRowModel } from '@mui/x-data-grid-pro';
|
|
2
|
+
|
|
2
3
|
type DateColumnParams<T extends GridValidRowModel> = Omit<GridColDef<T, Date>, 'type' | 'renderCell'>;
|
|
3
4
|
type DateColumn<T extends GridValidRowModel> = GridColDef<T, Date>;
|
|
4
5
|
export declare function getDateColumn<T extends GridValidRowModel>(params: DateColumnParams<T>): DateColumn<T>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { GridColDef, GridValidRowModel } from '@mui/x-data-grid-pro';
|
|
2
|
+
|
|
2
3
|
type DateTimeColumnParams<T extends GridValidRowModel> = Omit<GridColDef<T, Date>, 'type' | 'renderCell'>;
|
|
3
4
|
type DateTimeColumn<T extends GridValidRowModel> = GridColDef<T, Date>;
|
|
4
5
|
export declare function getDateTimeColumn<T extends GridValidRowModel>(params: DateTimeColumnParams<T>): DateTimeColumn<T>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { GridColDef, GridValidRowModel } from '@mui/x-data-grid-pro';
|
|
2
|
+
|
|
2
3
|
type NumericColumnParams<T extends GridValidRowModel> = Omit<GridColDef<T, number>, 'type'>;
|
|
3
4
|
type NumberColumn<T extends GridValidRowModel> = GridColDef<T, number>;
|
|
4
5
|
export declare function getNumericColumn<T extends GridValidRowModel>(params: NumericColumnParams<T>): NumberColumn<T>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { GridColDef, GridValidRowModel } from '@mui/x-data-grid-pro';
|
|
2
|
+
|
|
2
3
|
type ColumnParams<T extends GridValidRowModel> = GridColDef<T, string>;
|
|
3
4
|
type StringColumn<T extends GridValidRowModel> = GridColDef<T, string, string>;
|
|
4
5
|
export declare function getStaticColumn<T extends GridValidRowModel>(params: Omit<ColumnParams<T>, 'sortable' | 'filterable' | 'resizable'>): StringColumn<T>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { GridColDef, GridValidRowModel } from '@mui/x-data-grid-pro';
|
|
2
|
+
|
|
2
3
|
type StringColumnParams<T extends GridValidRowModel> = Omit<GridColDef<T, string>, 'type'>;
|
|
3
4
|
type StringColumn<T extends GridValidRowModel> = GridColDef<T, string>;
|
|
4
5
|
export declare function getStringColumn<T extends GridValidRowModel>(params: StringColumnParams<T>): StringColumn<T>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { MutableRefObject } from 'react';
|
|
2
2
|
import { GridApi, GridInitialState } from '@mui/x-data-grid-pro';
|
|
3
|
+
|
|
3
4
|
export declare const useDataGridInitialState: (tableKey: string, apiRef: MutableRefObject<GridApi>) => GridInitialState | undefined;
|
|
4
5
|
export declare function getGridStateFromStorage(tableKey: string): GridInitialState;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { GridFilterModel } from '@mui/x-data-grid-pro';
|
|
2
2
|
import { TabType } from './types';
|
|
3
|
+
|
|
3
4
|
export interface QueryState {
|
|
4
5
|
generalSearchText: string;
|
|
5
6
|
}
|
|
@@ -19,7 +20,7 @@ export declare const useTableQuery: ({ placeholder, tab, entityType, fileNameLab
|
|
|
19
20
|
filterModel: GridFilterModel | undefined;
|
|
20
21
|
onFilterModelChange: (model: GridFilterModel) => void;
|
|
21
22
|
debouncedSearchTerm: string;
|
|
22
|
-
exportDataAsExcel: (gridApiRef:
|
|
23
|
+
exportDataAsExcel: (gridApiRef: import('react').MutableRefObject<import('../../main').GridApiPro>) => Promise<void>;
|
|
23
24
|
allQueryParams: {
|
|
24
25
|
query: string;
|
|
25
26
|
}[];
|