enwawa-ui 3.2.0 → 3.3.0
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 +3 -3
- package/lib/index.d.ts.map +1 -1
- package/lib/index.es.js +48 -6
- package/lib/index.es.js.map +1 -1
- package/lib/index.js +48 -6
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -2056,7 +2056,7 @@ export interface ChartData {
|
|
|
2056
2056
|
type: string;
|
|
2057
2057
|
value: any;
|
|
2058
2058
|
percentage: number;
|
|
2059
|
-
color
|
|
2059
|
+
color?: string;
|
|
2060
2060
|
}
|
|
2061
2061
|
export interface OrChartWithLegendProps {
|
|
2062
2062
|
/**
|
|
@@ -2828,7 +2828,7 @@ export interface TmCrudPageProps<RecordType = AnyObject, FormType = any> {
|
|
|
2828
2828
|
onBack?: () => void;
|
|
2829
2829
|
padding?: string;
|
|
2830
2830
|
}
|
|
2831
|
-
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;
|
|
2831
|
+
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;
|
|
2832
2832
|
export interface OrDetailsPageProps<FormType = any> {
|
|
2833
2833
|
/**
|
|
2834
2834
|
* The ID for input
|
|
@@ -2895,7 +2895,7 @@ export interface OrDetailsPageProps<FormType = any> {
|
|
|
2895
2895
|
*/
|
|
2896
2896
|
orAlertConfig?: OrAlertProps;
|
|
2897
2897
|
}
|
|
2898
|
-
export const OrDetailsPage: <FormType extends Store>({ title, bordered, items, extra, formSteps, handleCloseCallback, open, drawerTitle, drawerWidth, disabledButtons, currentFormStep, showFormStepper, onValuesChange, orAlertConfig }: OrDetailsPageProps<FormType>) => import("react/jsx-runtime").JSX.Element;
|
|
2898
|
+
export const OrDetailsPage: <FormType extends Store>({ title, bordered, items, extra, formSteps, handleCloseCallback, open, drawerTitle, drawerWidth, disabledButtons, currentFormStep, showFormStepper, onValuesChange, orAlertConfig, }: OrDetailsPageProps<FormType>) => import("react/jsx-runtime").JSX.Element;
|
|
2899
2899
|
interface OrDownloadProps {
|
|
2900
2900
|
/**
|
|
2901
2901
|
* The function to call when the download button is clicked
|