enwawa-ui 2.0.44 → 2.0.45
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/lib/index.d.ts +5 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.es.js +3 -2
- package/lib/index.es.js.map +1 -1
- package/lib/index.js +3 -2
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -3677,6 +3677,10 @@ export interface TmCrudPageProps<RecordType = AnyObject, FormType = any> {
|
|
|
3677
3677
|
* Callback when pagination changes
|
|
3678
3678
|
*/
|
|
3679
3679
|
onChangeTable?: OrTableProps['onChange'];
|
|
3680
|
+
/**
|
|
3681
|
+
* Extendable table TM CrudPage
|
|
3682
|
+
*/
|
|
3683
|
+
expandable?: OrTableProps['expandable'];
|
|
3680
3684
|
/**
|
|
3681
3685
|
* On press cancel and close button function
|
|
3682
3686
|
*/
|
|
@@ -3832,7 +3836,7 @@ export interface TmCrudPageProps<RecordType = AnyObject, FormType = any> {
|
|
|
3832
3836
|
onBack?: () => void;
|
|
3833
3837
|
padding?: string;
|
|
3834
3838
|
}
|
|
3835
|
-
export const TmCrudPage: <RecordType extends AnyObject, FormType extends Store>({ columns, data, loadingTable, formSteps, onValuesChange, onCloseLeftDrawer, leftDrawerContent, openLeftDrawer, subtitle, subContent, open, pageSize, currentPage, currentFormStep, titleLeftDrawer, leftDrawerWidth, drawerContent, showDrawerContent, showSearchBox, drawerTitle, drawerWidth, firstButtonText, secondButtonText, onClickFirstButton, onClickSecondButton, $margin, title, tableTitle, buttonAddText, addButtonOnClick, onChangePagination, onChangeTable, total, showTotal, disabledButtons, searchBoxOnSearch, searchBoxPlaceholder, tableHeaderCustomLeftElements, pagination, handleCloseCallback, tableTitleLevel, secondaryButtonText, secondaryOnClick, showFormStepper, onBack, padding, }: TmCrudPageProps<RecordType, FormType>) => import("react/jsx-runtime").JSX.Element;
|
|
3839
|
+
export const TmCrudPage: <RecordType extends AnyObject, FormType extends Store>({ columns, data, loadingTable, formSteps, onValuesChange, onCloseLeftDrawer, leftDrawerContent, openLeftDrawer, subtitle, subContent, open, pageSize, currentPage, currentFormStep, titleLeftDrawer, leftDrawerWidth, drawerContent, showDrawerContent, showSearchBox, drawerTitle, drawerWidth, firstButtonText, secondButtonText, onClickFirstButton, onClickSecondButton, $margin, title, tableTitle, buttonAddText, addButtonOnClick, onChangePagination, onChangeTable, total, showTotal, disabledButtons, searchBoxOnSearch, searchBoxPlaceholder, tableHeaderCustomLeftElements, pagination, handleCloseCallback, tableTitleLevel, secondaryButtonText, secondaryOnClick, showFormStepper, onBack, padding, expandable }: TmCrudPageProps<RecordType, FormType>) => import("react/jsx-runtime").JSX.Element;
|
|
3836
3840
|
export interface TmCustomTabsPageProps<FormType = any> {
|
|
3837
3841
|
/**
|
|
3838
3842
|
* Avatar image
|