feat: implement bulk action confirmation modal and related functionality

- Updated request methods for batch operations in constants.ts to use PUT instead of POST.
- Added new translation keys for bulk actions in English and Indonesian language files.
- Created BulkActionConfirmationModal component to handle bulk lifecycle actions with progress tracking and summary display.
- Introduced SummaryPanel component to show aggregated results of bulk actions.
- Enhanced BulkActionMenu to support custom bulk actions and improved action handling based on selected rows.
- Integrated bulk action handling in EnterpriseDataTable, allowing for batch processing of selected entities.
- Added new types for bulk action modal state and results in entity.ts.
- Exported BulkActionConfirmationModal from the module index for accessibility.
This commit is contained in:
Firman Ramdhani
2026-07-23 11:47:23 +07:00
parent 0243b6aa96
commit 4e13423409
11 changed files with 977 additions and 69 deletions
@@ -50,7 +50,7 @@ export const ACTION_TRANSLATION_MAP: Record<string, { titleKey: string; confirmK
},
[ModuleAction.CANCEL]: {
titleKey: 'common:confirmDialog.cancel.title',
confirmKey: 'common:actions.cancel_action',
confirmKey: 'common:actions.cancel',
descriptionKey: 'common:confirmDialog.cancel.description',
},
[ModuleAction.ROLLBACK]: {