ucol-ui 0.1.43 → 0.1.44
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/ucol-ui.d.ts +6 -2
- package/dist/ucol-ui.js +155 -145
- package/dist/ucol-ui.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/ucol-ui.d.ts
CHANGED
|
@@ -300,7 +300,7 @@ declare interface DirectPermissions {
|
|
|
300
300
|
v?: boolean;
|
|
301
301
|
}
|
|
302
302
|
|
|
303
|
-
export declare const DynamicCrud: <T extends Record<string, unknown>>({ columns, data, title, formTitle, formTitles, description, formDescription, fields, showCreateButton, createButtonText, createButtonIcon, icon, layout, actionConfig, searchConfig, headerDirection, showRefreshButton, onRefresh, loading, onCreate, createRedirect, onEdit, onDelete, onView, submitButtonText, apiConfig, initialData, themeConfig, moreActions, formCols, formCustomCols, exportToExcel, backButton, showSearchBar, customFilters, disableWrapper, hiddenActions, widthActionsCol, crudName, permissions, bulkUpload }: DynamicCrudProps<T>) => ReactNode;
|
|
303
|
+
export declare const DynamicCrud: <T extends Record<string, unknown>>({ columns, data, title, formTitle, formTitles, description, formDescription, fields, showCreateButton, createButtonText, createButtonIcon, icon, layout, actionConfig, searchConfig, headerDirection, showRefreshButton, onRefresh, loading, onCreate, createRedirect, onEdit, onDelete, onView, submitButtonText, apiConfig, initialData, themeConfig, moreActions, formCols, formCustomCols, exportToExcel, backButton, showSearchBar, customFilters, disableWrapper, hiddenActions, widthActionsCol, crudName, permissions, bulkUpload, responsiveMode, colsInResponsiveMode, }: DynamicCrudProps<T>) => ReactNode;
|
|
304
304
|
|
|
305
305
|
export declare interface DynamicCrudProps<T extends Record<string, unknown>> {
|
|
306
306
|
title?: string | ReactElement;
|
|
@@ -353,6 +353,8 @@ export declare interface DynamicCrudProps<T extends Record<string, unknown>> {
|
|
|
353
353
|
view?: boolean;
|
|
354
354
|
refresh?: boolean;
|
|
355
355
|
};
|
|
356
|
+
responsiveMode?: boolean;
|
|
357
|
+
colsInResponsiveMode?: ColumnsProps<T>[];
|
|
356
358
|
}
|
|
357
359
|
|
|
358
360
|
export declare const DynamicForm: ({ mode, title, description, icon, layout, cols, fields, submitButtonText, submitEditText, onSubmit, initialData, customCols, }: DynamicFormProps) => default_2.ReactNode;
|
|
@@ -373,7 +375,7 @@ declare interface DynamicFormProps {
|
|
|
373
375
|
customCols?: boolean;
|
|
374
376
|
}
|
|
375
377
|
|
|
376
|
-
export declare const DynamicTable: <T extends Record<string, unknown>>({ title, icon: Icon, description, showSearchBar, showCreateButton, onCreate, onEdit, onDelete, onView, onRefresh, exportToExcel, createButtonText, createButtonIcon, columns, data, loading, moreActions, customFilters, disableWrapper, actionConfig, showRefreshButton, hiddenActions, searchConfig, backButton, widthActionsCol, bulkUpload, onBulkUpload }: DynamicTableProps<T>) => default_2.ReactNode;
|
|
378
|
+
export declare const DynamicTable: <T extends Record<string, unknown>>({ title, icon: Icon, description, showSearchBar, showCreateButton, onCreate, onEdit, onDelete, onView, onRefresh, exportToExcel, createButtonText, createButtonIcon, columns, data, loading, moreActions, customFilters, disableWrapper, actionConfig, showRefreshButton, hiddenActions, searchConfig, backButton, widthActionsCol, bulkUpload, onBulkUpload, responsiveMode, colsInResponsiveMode, }: DynamicTableProps<T>) => default_2.ReactNode;
|
|
377
379
|
|
|
378
380
|
export declare interface DynamicTableProps<T = Record<string, unknown>> {
|
|
379
381
|
title?: string | ReactElement;
|
|
@@ -407,6 +409,8 @@ export declare interface DynamicTableProps<T = Record<string, unknown>> {
|
|
|
407
409
|
widthActionsCol?: string | number;
|
|
408
410
|
bulkUpload?: BulkUploadProps;
|
|
409
411
|
onBulkUpload?: () => void;
|
|
412
|
+
responsiveMode?: boolean;
|
|
413
|
+
colsInResponsiveMode?: ColumnsProps<T>[];
|
|
410
414
|
}
|
|
411
415
|
|
|
412
416
|
export declare interface ExcelConfigProps<T = Record<string, unknown>> {
|