react-crud-mui 0.0.1-beta.27 → 0.0.1-beta.29
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.
|
@@ -81,10 +81,6 @@ export interface ListPageContentProps<TModel extends FieldValues, TDetailPageMod
|
|
|
81
81
|
* Automatically call onNeedData when any value of filter get changed
|
|
82
82
|
*/
|
|
83
83
|
autoSearch?: boolean;
|
|
84
|
-
/**
|
|
85
|
-
* Table row key
|
|
86
|
-
*/
|
|
87
|
-
rowKey?: string;
|
|
88
84
|
/**
|
|
89
85
|
* Disable all keyboard shortcuts,default all enabled
|
|
90
86
|
*/
|
|
@@ -151,5 +147,5 @@ export interface ListPageContentProps<TModel extends FieldValues, TDetailPageMod
|
|
|
151
147
|
*/
|
|
152
148
|
onDelete?: (model: TModel) => void;
|
|
153
149
|
}
|
|
154
|
-
declare function ListPageContent<TModel extends FieldValues, TDetailPageModel extends FieldValues = FieldValues>({ activeSegmentIndex, actionCommandsProps, alerts, autoSearch, columns, createCommandLabel, data, dataCount, detailPage, disabled, disableShortCuts, enableActionCommands, enableClear, enableCreateItem, enableExport, enableSearch, error, filterContent, hotkeyScopes, list: ListComponent, loading, onClear, onClose, onCommands, onCopy, onCreate, onDelete, onEdit, onExcelExport, onExtraCommands, onHeader, onSearch, onTabChanged, onView, tableProps, onWrapperLayout, showHeader, ...pageProps }: ListPageContentProps<TModel, TDetailPageModel>): import("react/jsx-runtime").JSX.Element;
|
|
150
|
+
declare function ListPageContent<TModel extends FieldValues, TDetailPageModel extends FieldValues = FieldValues>({ activeSegmentIndex, actionCommandsProps, alerts, autoSearch, children, columns, createCommandLabel, data, dataCount, detailPage, disabled, disableShortCuts, enableActionCommands, enableClear, enableCreateItem, enableExport, enableSearch, error, filterContent, hotkeyScopes, list: ListComponent, loading, onClear, onClose, onCommands, onCopy, onCreate, onDelete, onEdit, onExcelExport, onExtraCommands, onHeader, onSearch, onTabChanged, onView, tableProps, onWrapperLayout, showHeader, ...pageProps }: ListPageContentProps<TModel, TDetailPageModel>): import("react/jsx-runtime").JSX.Element;
|
|
155
151
|
export default ListPageContent;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Currency } from './getCurrencySymbolProps';
|
|
2
2
|
type MoneyFormatOptions = {
|
|
3
|
-
currency
|
|
3
|
+
currency?: Currency;
|
|
4
4
|
decimalDigit?: number;
|
|
5
5
|
thousandSeparator?: string;
|
|
6
6
|
decimalSeparator?: string;
|
|
7
7
|
};
|
|
8
|
-
declare const moneyFormat: (value: string | number, { currency, decimalDigit, decimalSeparator, thousandSeparator, }
|
|
8
|
+
declare const moneyFormat: (value: string | number, { currency, decimalDigit, decimalSeparator, thousandSeparator, }?: MoneyFormatOptions) => string;
|
|
9
9
|
export default moneyFormat;
|