@natoora-libs/core 0.1.20 → 0.2.0-vini-dev-1
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 +472 -448
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.d.cts +24 -24
- package/dist/components/index.d.ts +24 -24
- package/dist/components/index.js +482 -445
- package/dist/components/index.js.map +1 -1
- package/package.json +13 -12
|
@@ -131,9 +131,9 @@ type AutocompleteFilterMenuContentProps = {
|
|
|
131
131
|
maxHeight?: number;
|
|
132
132
|
onFilterOptionChange: (option: string | HeaderFilterObject) => void;
|
|
133
133
|
onApplyFiltersClick: (shouldSave: boolean) => void;
|
|
134
|
-
filterOptions: HeadCell[
|
|
135
|
-
onAutocompleteFilterChange: HeadCell[
|
|
136
|
-
shouldShowCheckOnFilter?: TableDesktopProps[
|
|
134
|
+
filterOptions: HeadCell['filterOptions'];
|
|
135
|
+
onAutocompleteFilterChange: HeadCell['onAutocompleteFilterChange'];
|
|
136
|
+
shouldShowCheckOnFilter?: TableDesktopProps['shouldShowCheckOnFilter'];
|
|
137
137
|
};
|
|
138
138
|
declare const AutocompleteFilterMenuContent: FC<AutocompleteFilterMenuContentProps>;
|
|
139
139
|
|
|
@@ -292,7 +292,7 @@ type CheckboxFilterMenuContentProps = {
|
|
|
292
292
|
filterOptions: HeaderFilterOptions;
|
|
293
293
|
maxHeight?: number;
|
|
294
294
|
width?: number;
|
|
295
|
-
shouldShowCheckOnFilter?: TableDesktopProps[
|
|
295
|
+
shouldShowCheckOnFilter?: TableDesktopProps['shouldShowCheckOnFilter'];
|
|
296
296
|
onSelectAllChange: (checked: boolean) => void;
|
|
297
297
|
onFilterOptionChange: (option: string | HeaderFilterObject) => void;
|
|
298
298
|
onApplyFiltersClick: (shouldSave: boolean) => void;
|
|
@@ -586,7 +586,7 @@ type FilterOptionsCheckboxesProps = {
|
|
|
586
586
|
filterOptions: HeaderFilterOptions;
|
|
587
587
|
selectedFilterOptions: HeaderFilterOptions;
|
|
588
588
|
onFilterOptionChange: (option: string | HeaderFilterObject) => void;
|
|
589
|
-
shouldShowCheckOnFilter?: TableDesktopProps[
|
|
589
|
+
shouldShowCheckOnFilter?: TableDesktopProps['shouldShowCheckOnFilter'];
|
|
590
590
|
};
|
|
591
591
|
declare const FilterOptionsCheckboxes: FC<FilterOptionsCheckboxesProps>;
|
|
592
592
|
|
|
@@ -836,7 +836,7 @@ declare const _default$7: React.MemoExoticComponent<(props: SearchAndFilterHeade
|
|
|
836
836
|
|
|
837
837
|
type SearchFieldDebouncedProps = {
|
|
838
838
|
onSearch: (value: string) => void;
|
|
839
|
-
variant?:
|
|
839
|
+
variant?: 'outlined' | 'filled' | 'standard';
|
|
840
840
|
hideSearchIcon?: boolean;
|
|
841
841
|
initialValue?: string;
|
|
842
842
|
debounceDelay?: number;
|
|
@@ -988,8 +988,8 @@ type SmartTableHeaderFilterMenuProps = {
|
|
|
988
988
|
headCell: HeadCell;
|
|
989
989
|
headerFilters: HeaderFilters;
|
|
990
990
|
numActiveFilters: number;
|
|
991
|
-
shouldShowCheckOnFilter?: TableDesktopProps[
|
|
992
|
-
onApplyFilters?: TableDesktopProps[
|
|
991
|
+
shouldShowCheckOnFilter?: TableDesktopProps['shouldShowCheckOnFilter'];
|
|
992
|
+
onApplyFilters?: TableDesktopProps['onApplyFilters'];
|
|
993
993
|
};
|
|
994
994
|
declare const SmartTableHeaderFilterMenu: React__default.MemoExoticComponent<({ headCell, numActiveFilters, headerFilters, shouldShowCheckOnFilter, onApplyFilters, }: SmartTableHeaderFilterMenuProps) => react_jsx_runtime.JSX.Element>;
|
|
995
995
|
|
|
@@ -1003,8 +1003,8 @@ type SmartTableHeaderProps = {
|
|
|
1003
1003
|
headerFilters: HeaderFilters;
|
|
1004
1004
|
onRequestSort: (event: MouseEvent<unknown>, property: string) => void;
|
|
1005
1005
|
onSelectAllClick: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
1006
|
-
onApplyFilters?: TableDesktopProps[
|
|
1007
|
-
shouldShowCheckOnFilter?: TableDesktopProps[
|
|
1006
|
+
onApplyFilters?: TableDesktopProps['onApplyFilters'];
|
|
1007
|
+
shouldShowCheckOnFilter?: TableDesktopProps['shouldShowCheckOnFilter'];
|
|
1008
1008
|
};
|
|
1009
1009
|
declare const SmartTableHeader: React.MemoExoticComponent<({ order, orderBy, headCells, numSelectedRows, numRows, enableCheckboxSelection, headerFilters, onRequestSort, onSelectAllClick, onApplyFilters, shouldShowCheckOnFilter, }: SmartTableHeaderProps) => react_jsx_runtime.JSX.Element>;
|
|
1010
1010
|
|
|
@@ -1035,15 +1035,15 @@ type TableDesktopEditableFieldProps = {
|
|
|
1035
1035
|
fieldName: string;
|
|
1036
1036
|
disabled?: boolean;
|
|
1037
1037
|
showCheckboxLabel?: boolean;
|
|
1038
|
-
variant?:
|
|
1039
|
-
size?:
|
|
1038
|
+
variant?: 'standard' | 'outlined' | 'filled';
|
|
1039
|
+
size?: 'medium' | 'small';
|
|
1040
1040
|
inputLabel: string;
|
|
1041
1041
|
editableCellType: EditableCellType;
|
|
1042
|
-
filterOptions?: HeadCell[
|
|
1043
|
-
refetchFilterOptions?: HeadCell[
|
|
1044
|
-
isFetchingFilterOptions?: HeadCell[
|
|
1045
|
-
validateInput?: HeadCell[
|
|
1046
|
-
onUpdateEditableCell?: HeadCell[
|
|
1042
|
+
filterOptions?: HeadCell['filterOptions'];
|
|
1043
|
+
refetchFilterOptions?: HeadCell['refetchFilterOptions'];
|
|
1044
|
+
isFetchingFilterOptions?: HeadCell['isFetchingFilterOptions'];
|
|
1045
|
+
validateInput?: HeadCell['validateInput'];
|
|
1046
|
+
onUpdateEditableCell?: HeadCell['onUpdateEditableCell'];
|
|
1047
1047
|
};
|
|
1048
1048
|
declare const TableDesktopEditableField: React.NamedExoticComponent<TableDesktopEditableFieldProps>;
|
|
1049
1049
|
|
|
@@ -1056,13 +1056,13 @@ type TableDesktopCellProps = {
|
|
|
1056
1056
|
enableEditMode: boolean;
|
|
1057
1057
|
disabled?: boolean;
|
|
1058
1058
|
readOnlyValue: string | number | boolean;
|
|
1059
|
-
width?: HeadCell[
|
|
1060
|
-
inputLabel: HeadCell[
|
|
1061
|
-
filterOptions?: HeadCell[
|
|
1062
|
-
refetchFilterOptions?: HeadCell[
|
|
1063
|
-
isFetchingFilterOptions?: HeadCell[
|
|
1064
|
-
validateInput?: HeadCell[
|
|
1065
|
-
onUpdateEditableCell?: HeadCell[
|
|
1059
|
+
width?: HeadCell['width'];
|
|
1060
|
+
inputLabel: HeadCell['label'];
|
|
1061
|
+
filterOptions?: HeadCell['filterOptions'];
|
|
1062
|
+
refetchFilterOptions?: HeadCell['refetchFilterOptions'];
|
|
1063
|
+
isFetchingFilterOptions?: HeadCell['isFetchingFilterOptions'];
|
|
1064
|
+
validateInput?: HeadCell['validateInput'];
|
|
1065
|
+
onUpdateEditableCell?: HeadCell['onUpdateEditableCell'];
|
|
1066
1066
|
onCellClick?: (event: MouseEvent<HTMLTableCellElement>, isEditMode: boolean) => void;
|
|
1067
1067
|
};
|
|
1068
1068
|
declare const TableDesktopCell: FC<TableDesktopCellProps>;
|
|
@@ -131,9 +131,9 @@ type AutocompleteFilterMenuContentProps = {
|
|
|
131
131
|
maxHeight?: number;
|
|
132
132
|
onFilterOptionChange: (option: string | HeaderFilterObject) => void;
|
|
133
133
|
onApplyFiltersClick: (shouldSave: boolean) => void;
|
|
134
|
-
filterOptions: HeadCell[
|
|
135
|
-
onAutocompleteFilterChange: HeadCell[
|
|
136
|
-
shouldShowCheckOnFilter?: TableDesktopProps[
|
|
134
|
+
filterOptions: HeadCell['filterOptions'];
|
|
135
|
+
onAutocompleteFilterChange: HeadCell['onAutocompleteFilterChange'];
|
|
136
|
+
shouldShowCheckOnFilter?: TableDesktopProps['shouldShowCheckOnFilter'];
|
|
137
137
|
};
|
|
138
138
|
declare const AutocompleteFilterMenuContent: FC<AutocompleteFilterMenuContentProps>;
|
|
139
139
|
|
|
@@ -292,7 +292,7 @@ type CheckboxFilterMenuContentProps = {
|
|
|
292
292
|
filterOptions: HeaderFilterOptions;
|
|
293
293
|
maxHeight?: number;
|
|
294
294
|
width?: number;
|
|
295
|
-
shouldShowCheckOnFilter?: TableDesktopProps[
|
|
295
|
+
shouldShowCheckOnFilter?: TableDesktopProps['shouldShowCheckOnFilter'];
|
|
296
296
|
onSelectAllChange: (checked: boolean) => void;
|
|
297
297
|
onFilterOptionChange: (option: string | HeaderFilterObject) => void;
|
|
298
298
|
onApplyFiltersClick: (shouldSave: boolean) => void;
|
|
@@ -586,7 +586,7 @@ type FilterOptionsCheckboxesProps = {
|
|
|
586
586
|
filterOptions: HeaderFilterOptions;
|
|
587
587
|
selectedFilterOptions: HeaderFilterOptions;
|
|
588
588
|
onFilterOptionChange: (option: string | HeaderFilterObject) => void;
|
|
589
|
-
shouldShowCheckOnFilter?: TableDesktopProps[
|
|
589
|
+
shouldShowCheckOnFilter?: TableDesktopProps['shouldShowCheckOnFilter'];
|
|
590
590
|
};
|
|
591
591
|
declare const FilterOptionsCheckboxes: FC<FilterOptionsCheckboxesProps>;
|
|
592
592
|
|
|
@@ -836,7 +836,7 @@ declare const _default$7: React.MemoExoticComponent<(props: SearchAndFilterHeade
|
|
|
836
836
|
|
|
837
837
|
type SearchFieldDebouncedProps = {
|
|
838
838
|
onSearch: (value: string) => void;
|
|
839
|
-
variant?:
|
|
839
|
+
variant?: 'outlined' | 'filled' | 'standard';
|
|
840
840
|
hideSearchIcon?: boolean;
|
|
841
841
|
initialValue?: string;
|
|
842
842
|
debounceDelay?: number;
|
|
@@ -988,8 +988,8 @@ type SmartTableHeaderFilterMenuProps = {
|
|
|
988
988
|
headCell: HeadCell;
|
|
989
989
|
headerFilters: HeaderFilters;
|
|
990
990
|
numActiveFilters: number;
|
|
991
|
-
shouldShowCheckOnFilter?: TableDesktopProps[
|
|
992
|
-
onApplyFilters?: TableDesktopProps[
|
|
991
|
+
shouldShowCheckOnFilter?: TableDesktopProps['shouldShowCheckOnFilter'];
|
|
992
|
+
onApplyFilters?: TableDesktopProps['onApplyFilters'];
|
|
993
993
|
};
|
|
994
994
|
declare const SmartTableHeaderFilterMenu: React__default.MemoExoticComponent<({ headCell, numActiveFilters, headerFilters, shouldShowCheckOnFilter, onApplyFilters, }: SmartTableHeaderFilterMenuProps) => react_jsx_runtime.JSX.Element>;
|
|
995
995
|
|
|
@@ -1003,8 +1003,8 @@ type SmartTableHeaderProps = {
|
|
|
1003
1003
|
headerFilters: HeaderFilters;
|
|
1004
1004
|
onRequestSort: (event: MouseEvent<unknown>, property: string) => void;
|
|
1005
1005
|
onSelectAllClick: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
1006
|
-
onApplyFilters?: TableDesktopProps[
|
|
1007
|
-
shouldShowCheckOnFilter?: TableDesktopProps[
|
|
1006
|
+
onApplyFilters?: TableDesktopProps['onApplyFilters'];
|
|
1007
|
+
shouldShowCheckOnFilter?: TableDesktopProps['shouldShowCheckOnFilter'];
|
|
1008
1008
|
};
|
|
1009
1009
|
declare const SmartTableHeader: React.MemoExoticComponent<({ order, orderBy, headCells, numSelectedRows, numRows, enableCheckboxSelection, headerFilters, onRequestSort, onSelectAllClick, onApplyFilters, shouldShowCheckOnFilter, }: SmartTableHeaderProps) => react_jsx_runtime.JSX.Element>;
|
|
1010
1010
|
|
|
@@ -1035,15 +1035,15 @@ type TableDesktopEditableFieldProps = {
|
|
|
1035
1035
|
fieldName: string;
|
|
1036
1036
|
disabled?: boolean;
|
|
1037
1037
|
showCheckboxLabel?: boolean;
|
|
1038
|
-
variant?:
|
|
1039
|
-
size?:
|
|
1038
|
+
variant?: 'standard' | 'outlined' | 'filled';
|
|
1039
|
+
size?: 'medium' | 'small';
|
|
1040
1040
|
inputLabel: string;
|
|
1041
1041
|
editableCellType: EditableCellType;
|
|
1042
|
-
filterOptions?: HeadCell[
|
|
1043
|
-
refetchFilterOptions?: HeadCell[
|
|
1044
|
-
isFetchingFilterOptions?: HeadCell[
|
|
1045
|
-
validateInput?: HeadCell[
|
|
1046
|
-
onUpdateEditableCell?: HeadCell[
|
|
1042
|
+
filterOptions?: HeadCell['filterOptions'];
|
|
1043
|
+
refetchFilterOptions?: HeadCell['refetchFilterOptions'];
|
|
1044
|
+
isFetchingFilterOptions?: HeadCell['isFetchingFilterOptions'];
|
|
1045
|
+
validateInput?: HeadCell['validateInput'];
|
|
1046
|
+
onUpdateEditableCell?: HeadCell['onUpdateEditableCell'];
|
|
1047
1047
|
};
|
|
1048
1048
|
declare const TableDesktopEditableField: React.NamedExoticComponent<TableDesktopEditableFieldProps>;
|
|
1049
1049
|
|
|
@@ -1056,13 +1056,13 @@ type TableDesktopCellProps = {
|
|
|
1056
1056
|
enableEditMode: boolean;
|
|
1057
1057
|
disabled?: boolean;
|
|
1058
1058
|
readOnlyValue: string | number | boolean;
|
|
1059
|
-
width?: HeadCell[
|
|
1060
|
-
inputLabel: HeadCell[
|
|
1061
|
-
filterOptions?: HeadCell[
|
|
1062
|
-
refetchFilterOptions?: HeadCell[
|
|
1063
|
-
isFetchingFilterOptions?: HeadCell[
|
|
1064
|
-
validateInput?: HeadCell[
|
|
1065
|
-
onUpdateEditableCell?: HeadCell[
|
|
1059
|
+
width?: HeadCell['width'];
|
|
1060
|
+
inputLabel: HeadCell['label'];
|
|
1061
|
+
filterOptions?: HeadCell['filterOptions'];
|
|
1062
|
+
refetchFilterOptions?: HeadCell['refetchFilterOptions'];
|
|
1063
|
+
isFetchingFilterOptions?: HeadCell['isFetchingFilterOptions'];
|
|
1064
|
+
validateInput?: HeadCell['validateInput'];
|
|
1065
|
+
onUpdateEditableCell?: HeadCell['onUpdateEditableCell'];
|
|
1066
1066
|
onCellClick?: (event: MouseEvent<HTMLTableCellElement>, isEditMode: boolean) => void;
|
|
1067
1067
|
};
|
|
1068
1068
|
declare const TableDesktopCell: FC<TableDesktopCellProps>;
|