@natoora-libs/core 0.2.6 → 0.2.61
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/{TableDesktop-CZe649rr.d.cts → TableDesktop-4tjwQjmc.d.cts} +10 -17
- package/dist/{TableDesktop-CZe649rr.d.ts → TableDesktop-4tjwQjmc.d.ts} +10 -17
- package/dist/components/index.cjs +578 -785
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.d.cts +30 -31
- package/dist/components/index.d.ts +30 -31
- package/dist/components/index.js +535 -751
- package/dist/components/index.js.map +1 -1
- package/dist/utils/index.d.cts +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import React__default, { MouseEvent, ReactNode, FC, ReactElement, ComponentType, ChangeEvent, ComponentProps, SVGProps } from 'react';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
|
-
import { H as HeadCell, a as HeaderFilters, b as HeaderFilterOptions, c as HeaderFilterObject, T as TableDesktopProps, O as Order } from '../TableDesktop-
|
|
5
|
-
export { B as BulkChanges, j as BulkChangesDialogProps,
|
|
4
|
+
import { H as HeadCell, a as HeaderFilters, b as HeaderFilterOptions, c as HeaderFilterObject, T as TableDesktopProps, O as Order, E as EditableCellType } from '../TableDesktop-4tjwQjmc.cjs';
|
|
5
|
+
export { B as BulkChanges, j as BulkChangesDialogProps, k as ExportCsvDialogProps, i as TableColumnConfigurationMenuProps, d as TableDesktop, e as TableDesktopFooter, f as TableDesktopFooterProps, g as TableDesktopToolbar, h as TableDesktopToolbarProps } from '../TableDesktop-4tjwQjmc.cjs';
|
|
6
6
|
import { Control, ControllerRenderProps, ControllerFieldState, UseFormTrigger, UseFormReturn, FieldValues } from 'react-hook-form';
|
|
7
7
|
import { UseMutateAsyncFunction } from 'react-query';
|
|
8
8
|
import { SxProps, Theme, MenuProps, Typography } from '@mui/material';
|
|
@@ -67,7 +67,7 @@ type AutocompleteFilterMenuContentProps = {
|
|
|
67
67
|
onFilterOptionChange: (option: string | HeaderFilterObject) => void;
|
|
68
68
|
onApplyFiltersClick: (shouldSave: boolean) => void;
|
|
69
69
|
filterOptions: HeadCell['filterOptions'];
|
|
70
|
-
|
|
70
|
+
onAutocompleteFilterChange: HeadCell['onAutocompleteFilterChange'];
|
|
71
71
|
shouldShowCheckOnFilter?: TableDesktopProps['shouldShowCheckOnFilter'];
|
|
72
72
|
};
|
|
73
73
|
declare const AutocompleteFilterMenuContent: FC<AutocompleteFilterMenuContentProps>;
|
|
@@ -102,7 +102,7 @@ interface IExtendedButton {
|
|
|
102
102
|
copy: string;
|
|
103
103
|
disabled?: boolean;
|
|
104
104
|
href?: string;
|
|
105
|
-
onClick?: () => void;
|
|
105
|
+
onClick?: (e: React.MouseEvent<HTMLButtonElement>) => void;
|
|
106
106
|
subcopy?: string;
|
|
107
107
|
tooltip?: string;
|
|
108
108
|
component?: React.ElementType;
|
|
@@ -120,11 +120,11 @@ interface IFilledButton {
|
|
|
120
120
|
isLoading?: boolean;
|
|
121
121
|
disabled?: boolean;
|
|
122
122
|
href?: string;
|
|
123
|
-
onClick?: () => void;
|
|
123
|
+
onClick?: (e: React__default.MouseEvent<HTMLButtonElement>) => void;
|
|
124
124
|
type?: 'button' | 'submit';
|
|
125
125
|
variant?: 'contained' | 'outlined' | 'text';
|
|
126
126
|
}
|
|
127
|
-
declare const _default$i:
|
|
127
|
+
declare const _default$i: React__default.MemoExoticComponent<({ autoFocus, className, color, copy, disabled, href, isLoading, onClick, type, variant, }: IFilledButton) => react_jsx_runtime.JSX.Element>;
|
|
128
128
|
|
|
129
129
|
interface FilledButtonLgProps {
|
|
130
130
|
classes?: any;
|
|
@@ -172,13 +172,13 @@ interface OutlinedButtonProps {
|
|
|
172
172
|
disabled?: any;
|
|
173
173
|
href?: any;
|
|
174
174
|
isLoading?: any;
|
|
175
|
-
onClick?:
|
|
175
|
+
onClick?: (e: React__default.MouseEvent<HTMLButtonElement>) => void;
|
|
176
176
|
startIcon?: any;
|
|
177
177
|
style?: any;
|
|
178
178
|
subcopy?: any;
|
|
179
179
|
type?: any;
|
|
180
180
|
}
|
|
181
|
-
declare const _default$f:
|
|
181
|
+
declare const _default$f: React__default.MemoExoticComponent<({ className, color, copy, disabled, href, isLoading, onClick, startIcon, style, subcopy, type, }: OutlinedButtonProps) => react_jsx_runtime.JSX.Element>;
|
|
182
182
|
|
|
183
183
|
interface AButtonProps {
|
|
184
184
|
classes?: any;
|
|
@@ -199,7 +199,7 @@ interface IRoundButton {
|
|
|
199
199
|
isContrast?: boolean;
|
|
200
200
|
isTableButton?: boolean;
|
|
201
201
|
noStrokes?: boolean;
|
|
202
|
-
onClick?: (
|
|
202
|
+
onClick?: (e: React__default.MouseEvent<HTMLButtonElement>) => void;
|
|
203
203
|
size?: 'small' | 'medium' | 'large' | 'double';
|
|
204
204
|
tooltip?: string;
|
|
205
205
|
variant?: 'default' | 'defaultPrimary' | 'defaultError' | 'filled' | 'primary' | 'secondary';
|
|
@@ -926,23 +926,6 @@ interface SmartSelectProps {
|
|
|
926
926
|
}
|
|
927
927
|
declare const SmartSelect: React.ForwardRefExoticComponent<SmartSelectProps & React.RefAttributes<unknown>>;
|
|
928
928
|
|
|
929
|
-
type SmartMultipleSelectProps = {
|
|
930
|
-
inputLabel?: string;
|
|
931
|
-
variant?: 'standard' | 'filled' | 'outlined';
|
|
932
|
-
size?: 'small' | 'medium';
|
|
933
|
-
values?: Option[];
|
|
934
|
-
defaultValues?: Option[];
|
|
935
|
-
onOpen?: () => void;
|
|
936
|
-
onChange?: (values: Option[]) => void;
|
|
937
|
-
onClose?: (values: Option[]) => void;
|
|
938
|
-
menuOptions?: Option[];
|
|
939
|
-
isLoading?: boolean;
|
|
940
|
-
disabled?: boolean;
|
|
941
|
-
emptyMessage?: string;
|
|
942
|
-
helperText?: string;
|
|
943
|
-
};
|
|
944
|
-
declare const SmartMultipleSelect: FC<SmartMultipleSelectProps>;
|
|
945
|
-
|
|
946
929
|
interface SquareLabelProps {
|
|
947
930
|
color?: string;
|
|
948
931
|
copy?: any;
|
|
@@ -966,7 +949,7 @@ type SmartTableHeaderFilterMenuProps = {
|
|
|
966
949
|
shouldShowCheckOnFilter?: TableDesktopProps['shouldShowCheckOnFilter'];
|
|
967
950
|
onApplyFilters?: TableDesktopProps['onApplyFilters'];
|
|
968
951
|
};
|
|
969
|
-
declare const SmartTableHeaderFilterMenu: ({ headCell, numActiveFilters, headerFilters, shouldShowCheckOnFilter, onApplyFilters, }: SmartTableHeaderFilterMenuProps) => react_jsx_runtime.JSX.Element
|
|
952
|
+
declare const SmartTableHeaderFilterMenu: React__default.MemoExoticComponent<({ headCell, numActiveFilters, headerFilters, shouldShowCheckOnFilter, onApplyFilters, }: SmartTableHeaderFilterMenuProps) => react_jsx_runtime.JSX.Element>;
|
|
970
953
|
|
|
971
954
|
type SmartTableHeaderProps = {
|
|
972
955
|
order: Order;
|
|
@@ -1004,24 +987,40 @@ interface TableProps {
|
|
|
1004
987
|
declare const Table: ({ appliedFilters, data, doNotCalculateRows, headCells, isLoading, onRowClick, page, RenderItem, rowsPerPage: defaultRowsPerPage, serverRendered, updateSort, }: TableProps) => react_jsx_runtime.JSX.Element;
|
|
1005
988
|
|
|
1006
989
|
type TableDesktopEditableFieldProps = {
|
|
1007
|
-
headCell: HeadCell;
|
|
1008
990
|
editInitialValue?: any;
|
|
1009
991
|
rowId?: number;
|
|
992
|
+
field: string;
|
|
993
|
+
fieldName: string;
|
|
1010
994
|
disabled?: boolean;
|
|
1011
995
|
showCheckboxLabel?: boolean;
|
|
996
|
+
inputLabel: string;
|
|
1012
997
|
variant?: 'standard' | 'outlined' | 'filled';
|
|
1013
998
|
size?: 'medium' | 'small';
|
|
1014
|
-
|
|
999
|
+
editableCellType: EditableCellType;
|
|
1000
|
+
filterOptions?: HeadCell['filterOptions'];
|
|
1001
|
+
refetchFilterOptions?: HeadCell['refetchFilterOptions'];
|
|
1002
|
+
isFetchingFilterOptions?: HeadCell['isFetchingFilterOptions'];
|
|
1003
|
+
validateInput?: HeadCell['validateInput'];
|
|
1004
|
+
onUpdateEditableCell?: HeadCell['onUpdateEditableCell'];
|
|
1015
1005
|
};
|
|
1016
1006
|
declare const TableDesktopEditableField: FC<TableDesktopEditableFieldProps>;
|
|
1017
1007
|
|
|
1018
1008
|
type TableDesktopCellProps = {
|
|
1009
|
+
editableCellType?: EditableCellType;
|
|
1019
1010
|
editInitialValue: any;
|
|
1020
1011
|
rowId: number;
|
|
1012
|
+
field: string;
|
|
1013
|
+
fieldName: string;
|
|
1021
1014
|
enableEditMode: boolean;
|
|
1022
1015
|
disabled?: boolean;
|
|
1023
1016
|
readOnlyValue: string | number | boolean;
|
|
1024
|
-
|
|
1017
|
+
width?: HeadCell['width'];
|
|
1018
|
+
inputLabel: HeadCell['label'];
|
|
1019
|
+
filterOptions?: HeadCell['filterOptions'];
|
|
1020
|
+
refetchFilterOptions?: HeadCell['refetchFilterOptions'];
|
|
1021
|
+
isFetchingFilterOptions?: HeadCell['isFetchingFilterOptions'];
|
|
1022
|
+
validateInput?: HeadCell['validateInput'];
|
|
1023
|
+
onUpdateEditableCell?: HeadCell['onUpdateEditableCell'];
|
|
1025
1024
|
onCellClick?: (event: MouseEvent<HTMLTableCellElement>, isEditMode: boolean) => void;
|
|
1026
1025
|
};
|
|
1027
1026
|
declare const TableDesktopCell: FC<TableDesktopCellProps>;
|
|
@@ -1130,4 +1129,4 @@ declare const SvgIconCompare: (props: SVGProps<SVGSVGElement>) => react_jsx_runt
|
|
|
1130
1129
|
|
|
1131
1130
|
declare const SvgIconChart: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1132
1131
|
|
|
1133
|
-
export { ActiveFiltersIconButton, AlertDialog, AlertDialogFullScreen, AppLabel, AppliedTableFiltersDisplay, AutocompleteFilterMenuContent, BackHeader, BottomBar, _default$k as BoxButton, CheckboxFilterMenuContent, ClearFiltersConfirmationDialog, CompanyLogo, ConfirmationDialog, ControlledCheckbox, ControlledNumberInput, ControlledNumericField, ControlledSelectWithArray, ControlledSelectWithObject, ControlledValidTextInput, DataGrid, Date, _default$c as DeleteSubstitutionDialogContent, _default$b as DeleteUserDialogContent, DynamicOverflowTooltip, _default$j as ExtendedButton, FileCard, _default$i as FilledButton, _default$h as FilledButtonLg, _default$a as FilledLabel, FilterGroupSelector, FilterOptionsCheckboxes, FilterSimpleSelector, _default$9 as FixedFooter, HeadCell, Header, HeaderFilterObject, HeaderFilterOptions, HeaderFilters, SvgIconChart as IconChart, SvgIconCompare as IconCompare, _default$g as ImageButton, LabeledValueList, VirtualizedList as List, Loading, LocationsSectionInfo, Notes, Numpad, _default$8 as NumpadInput, NumpadPlus, Order, _default$f as OutlinedButton, _default$e as OutlinedButtonLg, PaginationForTable as Pagination, PhoneInput, _default$d as Pin, ActionButton as PinnedApp, PlusMinusInput, ProductBust, ProductImage, RenderAvatar, RenderContentList, RoundButton, RowProductCard, ScrollableDialog, SearchAndFilterHeader, _default$7 as SearchAndFilterHeaderForTable, SearchFieldDebounced, SearchHeader, _default$6 as SearchWithFilters, _default$5 as SearchWithFiltersForTable, SectionName,
|
|
1132
|
+
export { ActiveFiltersIconButton, AlertDialog, AlertDialogFullScreen, AppLabel, AppliedTableFiltersDisplay, AutocompleteFilterMenuContent, BackHeader, BottomBar, _default$k as BoxButton, CheckboxFilterMenuContent, ClearFiltersConfirmationDialog, CompanyLogo, ConfirmationDialog, ControlledCheckbox, ControlledNumberInput, ControlledNumericField, ControlledSelectWithArray, ControlledSelectWithObject, ControlledValidTextInput, DataGrid, Date, _default$c as DeleteSubstitutionDialogContent, _default$b as DeleteUserDialogContent, DynamicOverflowTooltip, EditableCellType, _default$j as ExtendedButton, FileCard, _default$i as FilledButton, _default$h as FilledButtonLg, _default$a as FilledLabel, FilterGroupSelector, FilterOptionsCheckboxes, FilterSimpleSelector, _default$9 as FixedFooter, HeadCell, Header, HeaderFilterObject, HeaderFilterOptions, HeaderFilters, SvgIconChart as IconChart, SvgIconCompare as IconCompare, _default$g as ImageButton, LabeledValueList, VirtualizedList as List, Loading, LocationsSectionInfo, Notes, Numpad, _default$8 as NumpadInput, NumpadPlus, Order, _default$f as OutlinedButton, _default$e as OutlinedButtonLg, PaginationForTable as Pagination, PhoneInput, _default$d as Pin, ActionButton as PinnedApp, PlusMinusInput, ProductBust, ProductImage, RenderAvatar, RenderContentList, RoundButton, RowProductCard, ScrollableDialog, SearchAndFilterHeader, _default$7 as SearchAndFilterHeaderForTable, SearchFieldDebounced, SearchHeader, _default$6 as SearchWithFilters, _default$5 as SearchWithFiltersForTable, SectionName, SmartSelect, SmartTableHeader, SmartTableHeaderFilterMenu, SquareButton, _default$4 as SquareLabel, _default$3 as Switch, Table, TableDesktopCell, TableDesktopEditableField, TableEmptyResult, _default$2 as TableHeader, TableLoading, TextDivider, _default$1 as TheToolbar, ThemedDateRangePicker, ToastMessage, TwoButtonDialog, UploadButton, _default as UserBust, icons };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import React__default, { MouseEvent, ReactNode, FC, ReactElement, ComponentType, ChangeEvent, ComponentProps, SVGProps } from 'react';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
|
-
import { H as HeadCell, a as HeaderFilters, b as HeaderFilterOptions, c as HeaderFilterObject, T as TableDesktopProps, O as Order } from '../TableDesktop-
|
|
5
|
-
export { B as BulkChanges, j as BulkChangesDialogProps,
|
|
4
|
+
import { H as HeadCell, a as HeaderFilters, b as HeaderFilterOptions, c as HeaderFilterObject, T as TableDesktopProps, O as Order, E as EditableCellType } from '../TableDesktop-4tjwQjmc.js';
|
|
5
|
+
export { B as BulkChanges, j as BulkChangesDialogProps, k as ExportCsvDialogProps, i as TableColumnConfigurationMenuProps, d as TableDesktop, e as TableDesktopFooter, f as TableDesktopFooterProps, g as TableDesktopToolbar, h as TableDesktopToolbarProps } from '../TableDesktop-4tjwQjmc.js';
|
|
6
6
|
import { Control, ControllerRenderProps, ControllerFieldState, UseFormTrigger, UseFormReturn, FieldValues } from 'react-hook-form';
|
|
7
7
|
import { UseMutateAsyncFunction } from 'react-query';
|
|
8
8
|
import { SxProps, Theme, MenuProps, Typography } from '@mui/material';
|
|
@@ -67,7 +67,7 @@ type AutocompleteFilterMenuContentProps = {
|
|
|
67
67
|
onFilterOptionChange: (option: string | HeaderFilterObject) => void;
|
|
68
68
|
onApplyFiltersClick: (shouldSave: boolean) => void;
|
|
69
69
|
filterOptions: HeadCell['filterOptions'];
|
|
70
|
-
|
|
70
|
+
onAutocompleteFilterChange: HeadCell['onAutocompleteFilterChange'];
|
|
71
71
|
shouldShowCheckOnFilter?: TableDesktopProps['shouldShowCheckOnFilter'];
|
|
72
72
|
};
|
|
73
73
|
declare const AutocompleteFilterMenuContent: FC<AutocompleteFilterMenuContentProps>;
|
|
@@ -102,7 +102,7 @@ interface IExtendedButton {
|
|
|
102
102
|
copy: string;
|
|
103
103
|
disabled?: boolean;
|
|
104
104
|
href?: string;
|
|
105
|
-
onClick?: () => void;
|
|
105
|
+
onClick?: (e: React.MouseEvent<HTMLButtonElement>) => void;
|
|
106
106
|
subcopy?: string;
|
|
107
107
|
tooltip?: string;
|
|
108
108
|
component?: React.ElementType;
|
|
@@ -120,11 +120,11 @@ interface IFilledButton {
|
|
|
120
120
|
isLoading?: boolean;
|
|
121
121
|
disabled?: boolean;
|
|
122
122
|
href?: string;
|
|
123
|
-
onClick?: () => void;
|
|
123
|
+
onClick?: (e: React__default.MouseEvent<HTMLButtonElement>) => void;
|
|
124
124
|
type?: 'button' | 'submit';
|
|
125
125
|
variant?: 'contained' | 'outlined' | 'text';
|
|
126
126
|
}
|
|
127
|
-
declare const _default$i:
|
|
127
|
+
declare const _default$i: React__default.MemoExoticComponent<({ autoFocus, className, color, copy, disabled, href, isLoading, onClick, type, variant, }: IFilledButton) => react_jsx_runtime.JSX.Element>;
|
|
128
128
|
|
|
129
129
|
interface FilledButtonLgProps {
|
|
130
130
|
classes?: any;
|
|
@@ -172,13 +172,13 @@ interface OutlinedButtonProps {
|
|
|
172
172
|
disabled?: any;
|
|
173
173
|
href?: any;
|
|
174
174
|
isLoading?: any;
|
|
175
|
-
onClick?:
|
|
175
|
+
onClick?: (e: React__default.MouseEvent<HTMLButtonElement>) => void;
|
|
176
176
|
startIcon?: any;
|
|
177
177
|
style?: any;
|
|
178
178
|
subcopy?: any;
|
|
179
179
|
type?: any;
|
|
180
180
|
}
|
|
181
|
-
declare const _default$f:
|
|
181
|
+
declare const _default$f: React__default.MemoExoticComponent<({ className, color, copy, disabled, href, isLoading, onClick, startIcon, style, subcopy, type, }: OutlinedButtonProps) => react_jsx_runtime.JSX.Element>;
|
|
182
182
|
|
|
183
183
|
interface AButtonProps {
|
|
184
184
|
classes?: any;
|
|
@@ -199,7 +199,7 @@ interface IRoundButton {
|
|
|
199
199
|
isContrast?: boolean;
|
|
200
200
|
isTableButton?: boolean;
|
|
201
201
|
noStrokes?: boolean;
|
|
202
|
-
onClick?: (
|
|
202
|
+
onClick?: (e: React__default.MouseEvent<HTMLButtonElement>) => void;
|
|
203
203
|
size?: 'small' | 'medium' | 'large' | 'double';
|
|
204
204
|
tooltip?: string;
|
|
205
205
|
variant?: 'default' | 'defaultPrimary' | 'defaultError' | 'filled' | 'primary' | 'secondary';
|
|
@@ -926,23 +926,6 @@ interface SmartSelectProps {
|
|
|
926
926
|
}
|
|
927
927
|
declare const SmartSelect: React.ForwardRefExoticComponent<SmartSelectProps & React.RefAttributes<unknown>>;
|
|
928
928
|
|
|
929
|
-
type SmartMultipleSelectProps = {
|
|
930
|
-
inputLabel?: string;
|
|
931
|
-
variant?: 'standard' | 'filled' | 'outlined';
|
|
932
|
-
size?: 'small' | 'medium';
|
|
933
|
-
values?: Option[];
|
|
934
|
-
defaultValues?: Option[];
|
|
935
|
-
onOpen?: () => void;
|
|
936
|
-
onChange?: (values: Option[]) => void;
|
|
937
|
-
onClose?: (values: Option[]) => void;
|
|
938
|
-
menuOptions?: Option[];
|
|
939
|
-
isLoading?: boolean;
|
|
940
|
-
disabled?: boolean;
|
|
941
|
-
emptyMessage?: string;
|
|
942
|
-
helperText?: string;
|
|
943
|
-
};
|
|
944
|
-
declare const SmartMultipleSelect: FC<SmartMultipleSelectProps>;
|
|
945
|
-
|
|
946
929
|
interface SquareLabelProps {
|
|
947
930
|
color?: string;
|
|
948
931
|
copy?: any;
|
|
@@ -966,7 +949,7 @@ type SmartTableHeaderFilterMenuProps = {
|
|
|
966
949
|
shouldShowCheckOnFilter?: TableDesktopProps['shouldShowCheckOnFilter'];
|
|
967
950
|
onApplyFilters?: TableDesktopProps['onApplyFilters'];
|
|
968
951
|
};
|
|
969
|
-
declare const SmartTableHeaderFilterMenu: ({ headCell, numActiveFilters, headerFilters, shouldShowCheckOnFilter, onApplyFilters, }: SmartTableHeaderFilterMenuProps) => react_jsx_runtime.JSX.Element
|
|
952
|
+
declare const SmartTableHeaderFilterMenu: React__default.MemoExoticComponent<({ headCell, numActiveFilters, headerFilters, shouldShowCheckOnFilter, onApplyFilters, }: SmartTableHeaderFilterMenuProps) => react_jsx_runtime.JSX.Element>;
|
|
970
953
|
|
|
971
954
|
type SmartTableHeaderProps = {
|
|
972
955
|
order: Order;
|
|
@@ -1004,24 +987,40 @@ interface TableProps {
|
|
|
1004
987
|
declare const Table: ({ appliedFilters, data, doNotCalculateRows, headCells, isLoading, onRowClick, page, RenderItem, rowsPerPage: defaultRowsPerPage, serverRendered, updateSort, }: TableProps) => react_jsx_runtime.JSX.Element;
|
|
1005
988
|
|
|
1006
989
|
type TableDesktopEditableFieldProps = {
|
|
1007
|
-
headCell: HeadCell;
|
|
1008
990
|
editInitialValue?: any;
|
|
1009
991
|
rowId?: number;
|
|
992
|
+
field: string;
|
|
993
|
+
fieldName: string;
|
|
1010
994
|
disabled?: boolean;
|
|
1011
995
|
showCheckboxLabel?: boolean;
|
|
996
|
+
inputLabel: string;
|
|
1012
997
|
variant?: 'standard' | 'outlined' | 'filled';
|
|
1013
998
|
size?: 'medium' | 'small';
|
|
1014
|
-
|
|
999
|
+
editableCellType: EditableCellType;
|
|
1000
|
+
filterOptions?: HeadCell['filterOptions'];
|
|
1001
|
+
refetchFilterOptions?: HeadCell['refetchFilterOptions'];
|
|
1002
|
+
isFetchingFilterOptions?: HeadCell['isFetchingFilterOptions'];
|
|
1003
|
+
validateInput?: HeadCell['validateInput'];
|
|
1004
|
+
onUpdateEditableCell?: HeadCell['onUpdateEditableCell'];
|
|
1015
1005
|
};
|
|
1016
1006
|
declare const TableDesktopEditableField: FC<TableDesktopEditableFieldProps>;
|
|
1017
1007
|
|
|
1018
1008
|
type TableDesktopCellProps = {
|
|
1009
|
+
editableCellType?: EditableCellType;
|
|
1019
1010
|
editInitialValue: any;
|
|
1020
1011
|
rowId: number;
|
|
1012
|
+
field: string;
|
|
1013
|
+
fieldName: string;
|
|
1021
1014
|
enableEditMode: boolean;
|
|
1022
1015
|
disabled?: boolean;
|
|
1023
1016
|
readOnlyValue: string | number | boolean;
|
|
1024
|
-
|
|
1017
|
+
width?: HeadCell['width'];
|
|
1018
|
+
inputLabel: HeadCell['label'];
|
|
1019
|
+
filterOptions?: HeadCell['filterOptions'];
|
|
1020
|
+
refetchFilterOptions?: HeadCell['refetchFilterOptions'];
|
|
1021
|
+
isFetchingFilterOptions?: HeadCell['isFetchingFilterOptions'];
|
|
1022
|
+
validateInput?: HeadCell['validateInput'];
|
|
1023
|
+
onUpdateEditableCell?: HeadCell['onUpdateEditableCell'];
|
|
1025
1024
|
onCellClick?: (event: MouseEvent<HTMLTableCellElement>, isEditMode: boolean) => void;
|
|
1026
1025
|
};
|
|
1027
1026
|
declare const TableDesktopCell: FC<TableDesktopCellProps>;
|
|
@@ -1130,4 +1129,4 @@ declare const SvgIconCompare: (props: SVGProps<SVGSVGElement>) => react_jsx_runt
|
|
|
1130
1129
|
|
|
1131
1130
|
declare const SvgIconChart: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1132
1131
|
|
|
1133
|
-
export { ActiveFiltersIconButton, AlertDialog, AlertDialogFullScreen, AppLabel, AppliedTableFiltersDisplay, AutocompleteFilterMenuContent, BackHeader, BottomBar, _default$k as BoxButton, CheckboxFilterMenuContent, ClearFiltersConfirmationDialog, CompanyLogo, ConfirmationDialog, ControlledCheckbox, ControlledNumberInput, ControlledNumericField, ControlledSelectWithArray, ControlledSelectWithObject, ControlledValidTextInput, DataGrid, Date, _default$c as DeleteSubstitutionDialogContent, _default$b as DeleteUserDialogContent, DynamicOverflowTooltip, _default$j as ExtendedButton, FileCard, _default$i as FilledButton, _default$h as FilledButtonLg, _default$a as FilledLabel, FilterGroupSelector, FilterOptionsCheckboxes, FilterSimpleSelector, _default$9 as FixedFooter, HeadCell, Header, HeaderFilterObject, HeaderFilterOptions, HeaderFilters, SvgIconChart as IconChart, SvgIconCompare as IconCompare, _default$g as ImageButton, LabeledValueList, VirtualizedList as List, Loading, LocationsSectionInfo, Notes, Numpad, _default$8 as NumpadInput, NumpadPlus, Order, _default$f as OutlinedButton, _default$e as OutlinedButtonLg, PaginationForTable as Pagination, PhoneInput, _default$d as Pin, ActionButton as PinnedApp, PlusMinusInput, ProductBust, ProductImage, RenderAvatar, RenderContentList, RoundButton, RowProductCard, ScrollableDialog, SearchAndFilterHeader, _default$7 as SearchAndFilterHeaderForTable, SearchFieldDebounced, SearchHeader, _default$6 as SearchWithFilters, _default$5 as SearchWithFiltersForTable, SectionName,
|
|
1132
|
+
export { ActiveFiltersIconButton, AlertDialog, AlertDialogFullScreen, AppLabel, AppliedTableFiltersDisplay, AutocompleteFilterMenuContent, BackHeader, BottomBar, _default$k as BoxButton, CheckboxFilterMenuContent, ClearFiltersConfirmationDialog, CompanyLogo, ConfirmationDialog, ControlledCheckbox, ControlledNumberInput, ControlledNumericField, ControlledSelectWithArray, ControlledSelectWithObject, ControlledValidTextInput, DataGrid, Date, _default$c as DeleteSubstitutionDialogContent, _default$b as DeleteUserDialogContent, DynamicOverflowTooltip, EditableCellType, _default$j as ExtendedButton, FileCard, _default$i as FilledButton, _default$h as FilledButtonLg, _default$a as FilledLabel, FilterGroupSelector, FilterOptionsCheckboxes, FilterSimpleSelector, _default$9 as FixedFooter, HeadCell, Header, HeaderFilterObject, HeaderFilterOptions, HeaderFilters, SvgIconChart as IconChart, SvgIconCompare as IconCompare, _default$g as ImageButton, LabeledValueList, VirtualizedList as List, Loading, LocationsSectionInfo, Notes, Numpad, _default$8 as NumpadInput, NumpadPlus, Order, _default$f as OutlinedButton, _default$e as OutlinedButtonLg, PaginationForTable as Pagination, PhoneInput, _default$d as Pin, ActionButton as PinnedApp, PlusMinusInput, ProductBust, ProductImage, RenderAvatar, RenderContentList, RoundButton, RowProductCard, ScrollableDialog, SearchAndFilterHeader, _default$7 as SearchAndFilterHeaderForTable, SearchFieldDebounced, SearchHeader, _default$6 as SearchWithFilters, _default$5 as SearchWithFiltersForTable, SectionName, SmartSelect, SmartTableHeader, SmartTableHeaderFilterMenu, SquareButton, _default$4 as SquareLabel, _default$3 as Switch, Table, TableDesktopCell, TableDesktopEditableField, TableEmptyResult, _default$2 as TableHeader, TableLoading, TextDivider, _default$1 as TheToolbar, ThemedDateRangePicker, ToastMessage, TwoButtonDialog, UploadButton, _default as UserBust, icons };
|