@natoora-libs/core 0.1.9-dev-doug-5 → 0.1.9-dev-doug-6
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.cjs +158 -140
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.d.cts +6 -14
- package/dist/components/index.d.ts +6 -14
- package/dist/components/index.js +169 -149
- package/dist/components/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@ import React__default, { MouseEvent, ReactNode, ComponentType, ChangeEvent, FC,
|
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import { Control, ControllerRenderProps, ControllerFieldState, UseFormTrigger, UseFormReturn, FieldValues } from 'react-hook-form';
|
|
5
5
|
import { UseMutateAsyncFunction } from 'react-query';
|
|
6
|
-
import { MenuProps, SelectChangeEvent,
|
|
6
|
+
import { MenuProps, SelectChangeEvent, Typography } from '@mui/material';
|
|
7
7
|
import { DateRangePickerShape } from 'react-dates';
|
|
8
8
|
|
|
9
9
|
type ActiveFiltersIconButtonProps = {
|
|
@@ -955,22 +955,12 @@ type TableDesktopFooterProps = {
|
|
|
955
955
|
};
|
|
956
956
|
declare const TableDesktopFooter: FC<TableDesktopFooterProps>;
|
|
957
957
|
|
|
958
|
-
type TableDesktopRowActionsProps = {
|
|
959
|
-
isRowHovered: boolean;
|
|
960
|
-
children: ReactNode;
|
|
961
|
-
sx?: SxProps<Theme>;
|
|
962
|
-
zIndex?: number | string;
|
|
963
|
-
backgroundColor?: string | ((theme: Theme) => string);
|
|
964
|
-
};
|
|
965
|
-
declare const TableDesktopRowActions: FC<TableDesktopRowActionsProps>;
|
|
966
|
-
|
|
967
958
|
type TableDesktopRowCellProps = {
|
|
968
|
-
ref?: RefObject<HTMLDivElement | null>;
|
|
969
959
|
editableCellType?: EditableCellType;
|
|
970
960
|
editInitialValue: any;
|
|
971
961
|
rowId: number;
|
|
972
962
|
fieldName: string;
|
|
973
|
-
|
|
963
|
+
disabled?: boolean;
|
|
974
964
|
readOnlyValue: string | number | boolean;
|
|
975
965
|
width?: HeadCell["width"];
|
|
976
966
|
inputLabel: HeadCell["label"];
|
|
@@ -979,6 +969,7 @@ type TableDesktopRowCellProps = {
|
|
|
979
969
|
isFetchingFilterOptions?: HeadCell["isFetchingFilterOptions"];
|
|
980
970
|
validateInput?: HeadCell["validateInput"];
|
|
981
971
|
onUpdateEditableCell?: HeadCell["onUpdateEditableCell"];
|
|
972
|
+
onCellClick?: (event: MouseEvent<HTMLTableCellElement>, isEditMode: boolean) => void;
|
|
982
973
|
};
|
|
983
974
|
declare const TableDesktopRowCell: FC<TableDesktopRowCellProps>;
|
|
984
975
|
|
|
@@ -988,12 +979,13 @@ type TableDesktopSmartSelectProps = {
|
|
|
988
979
|
inputLabel: string;
|
|
989
980
|
fieldName: string;
|
|
990
981
|
rowId: number;
|
|
982
|
+
disabled?: boolean;
|
|
991
983
|
filterOptions?: HeadCell["filterOptions"];
|
|
992
984
|
refetchFilterOptions?: HeadCell["refetchFilterOptions"];
|
|
993
985
|
isFetchingFilterOptions: HeadCell["isFetchingFilterOptions"];
|
|
994
986
|
onUpdateEditableCell?: HeadCell["onUpdateEditableCell"];
|
|
995
987
|
};
|
|
996
|
-
declare const TableDesktopSmartSelect: React.MemoExoticComponent<({ ref, initialValue, inputLabel, fieldName, rowId, filterOptions, refetchFilterOptions, isFetchingFilterOptions, onUpdateEditableCell, }: TableDesktopSmartSelectProps) => react_jsx_runtime.JSX.Element>;
|
|
988
|
+
declare const TableDesktopSmartSelect: React.MemoExoticComponent<({ ref, initialValue, inputLabel, fieldName, rowId, disabled, filterOptions, refetchFilterOptions, isFetchingFilterOptions, onUpdateEditableCell, }: TableDesktopSmartSelectProps) => react_jsx_runtime.JSX.Element>;
|
|
997
989
|
|
|
998
990
|
interface ITableEmptyResult {
|
|
999
991
|
colSpan: number;
|
|
@@ -1099,4 +1091,4 @@ declare const SvgIconCompare: (props: SVGProps<SVGSVGElement>) => react_jsx_runt
|
|
|
1099
1091
|
|
|
1100
1092
|
declare const SvgIconChart: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1101
1093
|
|
|
1102
|
-
export { _default$n as ActiveFiltersIconButton, AlertDialog, AlertDialogFullScreen, AppLabel, BackHeader, BottomBar, _default$m as BoxButton, CompanyLogo, ConfirmationDialog, ControlledCheckbox, ControlledNumberInput, ControlledNumericField, ControlledSelectWithArray, ControlledSelectWithObject, ControlledValidTextInput, DataGrid, Date, _default$e as DeleteSubstitutionDialogContent, _default$d as DeleteUserDialogContent, type EditableCellType, _default$l as ExtendedButton, FileCard, _default$k as FilledButton, _default$j as FilledButtonLg, _default$c as FilledLabel, FilterGroupSelector, FilterSimpleSelector, _default$b as FixedFooter, type HeadCell, Header, type HeaderFilterObject, type HeaderFilterOptions, type HeaderFilters, SvgIconChart as IconChart, SvgIconCompare as IconCompare, _default$i as ImageButton, VirtualizedList as List, Loading, LocationsSectionInfo, Notes, Numpad, _default$a as NumpadInput, NumpadPlus, type Order, _default$h as OutlinedButton, _default$g as OutlinedButtonLg, PaginationForTable as Pagination, PhoneInput, _default$f as Pin, ActionButton as PinnedApp, PlusMinusInput, ProductBust, ProductImage, RenderAvatar, RenderContentList, RoundButton, RowProductCard, ScrollableDialog, SearchAndFilterHeader, _default$9 as SearchAndFilterHeaderForTable, SearchFieldDebounced, _default$8 as SearchWithFilters, _default$7 as SearchWithFiltersForTable, SectionName, SmartSelect, _default$3 as SmartTableHeader, _default$4 as SmartTableHeaderFilterMenu, SquareButton, _default$6 as SquareLabel, _default$5 as Switch, Table, TableDesktop, TableDesktopFooter,
|
|
1094
|
+
export { _default$n as ActiveFiltersIconButton, AlertDialog, AlertDialogFullScreen, AppLabel, BackHeader, BottomBar, _default$m as BoxButton, CompanyLogo, ConfirmationDialog, ControlledCheckbox, ControlledNumberInput, ControlledNumericField, ControlledSelectWithArray, ControlledSelectWithObject, ControlledValidTextInput, DataGrid, Date, _default$e as DeleteSubstitutionDialogContent, _default$d as DeleteUserDialogContent, type EditableCellType, _default$l as ExtendedButton, FileCard, _default$k as FilledButton, _default$j as FilledButtonLg, _default$c as FilledLabel, FilterGroupSelector, FilterSimpleSelector, _default$b as FixedFooter, type HeadCell, Header, type HeaderFilterObject, type HeaderFilterOptions, type HeaderFilters, SvgIconChart as IconChart, SvgIconCompare as IconCompare, _default$i as ImageButton, VirtualizedList as List, Loading, LocationsSectionInfo, Notes, Numpad, _default$a as NumpadInput, NumpadPlus, type Order, _default$h as OutlinedButton, _default$g as OutlinedButtonLg, PaginationForTable as Pagination, PhoneInput, _default$f as Pin, ActionButton as PinnedApp, PlusMinusInput, ProductBust, ProductImage, RenderAvatar, RenderContentList, RoundButton, RowProductCard, ScrollableDialog, SearchAndFilterHeader, _default$9 as SearchAndFilterHeaderForTable, SearchFieldDebounced, _default$8 as SearchWithFilters, _default$7 as SearchWithFiltersForTable, SectionName, SmartSelect, _default$3 as SmartTableHeader, _default$4 as SmartTableHeaderFilterMenu, SquareButton, _default$6 as SquareLabel, _default$5 as Switch, Table, TableDesktop, TableDesktopFooter, TableDesktopRowCell, TableDesktopSmartSelect, TableEmptyResult, _default$2 as TableHeader, TableLoading, TextDivider, _default$1 as TheToolbar, ThemedDateRangePicker, ToastMessage, TwoButtonDialog, UploadButton, _default as UserBust, icons };
|
|
@@ -3,7 +3,7 @@ import React__default, { MouseEvent, ReactNode, ComponentType, ChangeEvent, FC,
|
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import { Control, ControllerRenderProps, ControllerFieldState, UseFormTrigger, UseFormReturn, FieldValues } from 'react-hook-form';
|
|
5
5
|
import { UseMutateAsyncFunction } from 'react-query';
|
|
6
|
-
import { MenuProps, SelectChangeEvent,
|
|
6
|
+
import { MenuProps, SelectChangeEvent, Typography } from '@mui/material';
|
|
7
7
|
import { DateRangePickerShape } from 'react-dates';
|
|
8
8
|
|
|
9
9
|
type ActiveFiltersIconButtonProps = {
|
|
@@ -955,22 +955,12 @@ type TableDesktopFooterProps = {
|
|
|
955
955
|
};
|
|
956
956
|
declare const TableDesktopFooter: FC<TableDesktopFooterProps>;
|
|
957
957
|
|
|
958
|
-
type TableDesktopRowActionsProps = {
|
|
959
|
-
isRowHovered: boolean;
|
|
960
|
-
children: ReactNode;
|
|
961
|
-
sx?: SxProps<Theme>;
|
|
962
|
-
zIndex?: number | string;
|
|
963
|
-
backgroundColor?: string | ((theme: Theme) => string);
|
|
964
|
-
};
|
|
965
|
-
declare const TableDesktopRowActions: FC<TableDesktopRowActionsProps>;
|
|
966
|
-
|
|
967
958
|
type TableDesktopRowCellProps = {
|
|
968
|
-
ref?: RefObject<HTMLDivElement | null>;
|
|
969
959
|
editableCellType?: EditableCellType;
|
|
970
960
|
editInitialValue: any;
|
|
971
961
|
rowId: number;
|
|
972
962
|
fieldName: string;
|
|
973
|
-
|
|
963
|
+
disabled?: boolean;
|
|
974
964
|
readOnlyValue: string | number | boolean;
|
|
975
965
|
width?: HeadCell["width"];
|
|
976
966
|
inputLabel: HeadCell["label"];
|
|
@@ -979,6 +969,7 @@ type TableDesktopRowCellProps = {
|
|
|
979
969
|
isFetchingFilterOptions?: HeadCell["isFetchingFilterOptions"];
|
|
980
970
|
validateInput?: HeadCell["validateInput"];
|
|
981
971
|
onUpdateEditableCell?: HeadCell["onUpdateEditableCell"];
|
|
972
|
+
onCellClick?: (event: MouseEvent<HTMLTableCellElement>, isEditMode: boolean) => void;
|
|
982
973
|
};
|
|
983
974
|
declare const TableDesktopRowCell: FC<TableDesktopRowCellProps>;
|
|
984
975
|
|
|
@@ -988,12 +979,13 @@ type TableDesktopSmartSelectProps = {
|
|
|
988
979
|
inputLabel: string;
|
|
989
980
|
fieldName: string;
|
|
990
981
|
rowId: number;
|
|
982
|
+
disabled?: boolean;
|
|
991
983
|
filterOptions?: HeadCell["filterOptions"];
|
|
992
984
|
refetchFilterOptions?: HeadCell["refetchFilterOptions"];
|
|
993
985
|
isFetchingFilterOptions: HeadCell["isFetchingFilterOptions"];
|
|
994
986
|
onUpdateEditableCell?: HeadCell["onUpdateEditableCell"];
|
|
995
987
|
};
|
|
996
|
-
declare const TableDesktopSmartSelect: React.MemoExoticComponent<({ ref, initialValue, inputLabel, fieldName, rowId, filterOptions, refetchFilterOptions, isFetchingFilterOptions, onUpdateEditableCell, }: TableDesktopSmartSelectProps) => react_jsx_runtime.JSX.Element>;
|
|
988
|
+
declare const TableDesktopSmartSelect: React.MemoExoticComponent<({ ref, initialValue, inputLabel, fieldName, rowId, disabled, filterOptions, refetchFilterOptions, isFetchingFilterOptions, onUpdateEditableCell, }: TableDesktopSmartSelectProps) => react_jsx_runtime.JSX.Element>;
|
|
997
989
|
|
|
998
990
|
interface ITableEmptyResult {
|
|
999
991
|
colSpan: number;
|
|
@@ -1099,4 +1091,4 @@ declare const SvgIconCompare: (props: SVGProps<SVGSVGElement>) => react_jsx_runt
|
|
|
1099
1091
|
|
|
1100
1092
|
declare const SvgIconChart: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1101
1093
|
|
|
1102
|
-
export { _default$n as ActiveFiltersIconButton, AlertDialog, AlertDialogFullScreen, AppLabel, BackHeader, BottomBar, _default$m as BoxButton, CompanyLogo, ConfirmationDialog, ControlledCheckbox, ControlledNumberInput, ControlledNumericField, ControlledSelectWithArray, ControlledSelectWithObject, ControlledValidTextInput, DataGrid, Date, _default$e as DeleteSubstitutionDialogContent, _default$d as DeleteUserDialogContent, type EditableCellType, _default$l as ExtendedButton, FileCard, _default$k as FilledButton, _default$j as FilledButtonLg, _default$c as FilledLabel, FilterGroupSelector, FilterSimpleSelector, _default$b as FixedFooter, type HeadCell, Header, type HeaderFilterObject, type HeaderFilterOptions, type HeaderFilters, SvgIconChart as IconChart, SvgIconCompare as IconCompare, _default$i as ImageButton, VirtualizedList as List, Loading, LocationsSectionInfo, Notes, Numpad, _default$a as NumpadInput, NumpadPlus, type Order, _default$h as OutlinedButton, _default$g as OutlinedButtonLg, PaginationForTable as Pagination, PhoneInput, _default$f as Pin, ActionButton as PinnedApp, PlusMinusInput, ProductBust, ProductImage, RenderAvatar, RenderContentList, RoundButton, RowProductCard, ScrollableDialog, SearchAndFilterHeader, _default$9 as SearchAndFilterHeaderForTable, SearchFieldDebounced, _default$8 as SearchWithFilters, _default$7 as SearchWithFiltersForTable, SectionName, SmartSelect, _default$3 as SmartTableHeader, _default$4 as SmartTableHeaderFilterMenu, SquareButton, _default$6 as SquareLabel, _default$5 as Switch, Table, TableDesktop, TableDesktopFooter,
|
|
1094
|
+
export { _default$n as ActiveFiltersIconButton, AlertDialog, AlertDialogFullScreen, AppLabel, BackHeader, BottomBar, _default$m as BoxButton, CompanyLogo, ConfirmationDialog, ControlledCheckbox, ControlledNumberInput, ControlledNumericField, ControlledSelectWithArray, ControlledSelectWithObject, ControlledValidTextInput, DataGrid, Date, _default$e as DeleteSubstitutionDialogContent, _default$d as DeleteUserDialogContent, type EditableCellType, _default$l as ExtendedButton, FileCard, _default$k as FilledButton, _default$j as FilledButtonLg, _default$c as FilledLabel, FilterGroupSelector, FilterSimpleSelector, _default$b as FixedFooter, type HeadCell, Header, type HeaderFilterObject, type HeaderFilterOptions, type HeaderFilters, SvgIconChart as IconChart, SvgIconCompare as IconCompare, _default$i as ImageButton, VirtualizedList as List, Loading, LocationsSectionInfo, Notes, Numpad, _default$a as NumpadInput, NumpadPlus, type Order, _default$h as OutlinedButton, _default$g as OutlinedButtonLg, PaginationForTable as Pagination, PhoneInput, _default$f as Pin, ActionButton as PinnedApp, PlusMinusInput, ProductBust, ProductImage, RenderAvatar, RenderContentList, RoundButton, RowProductCard, ScrollableDialog, SearchAndFilterHeader, _default$9 as SearchAndFilterHeaderForTable, SearchFieldDebounced, _default$8 as SearchWithFilters, _default$7 as SearchWithFiltersForTable, SectionName, SmartSelect, _default$3 as SmartTableHeader, _default$4 as SmartTableHeaderFilterMenu, SquareButton, _default$6 as SquareLabel, _default$5 as Switch, Table, TableDesktop, TableDesktopFooter, TableDesktopRowCell, TableDesktopSmartSelect, TableEmptyResult, _default$2 as TableHeader, TableLoading, TextDivider, _default$1 as TheToolbar, ThemedDateRangePicker, ToastMessage, TwoButtonDialog, UploadButton, _default as UserBust, icons };
|