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:
@@ -60,7 +60,9 @@
|
||||
"filter": "Filter",
|
||||
"setting": "Setting",
|
||||
"detail": "Detail",
|
||||
"view": "View"
|
||||
"view": "View",
|
||||
"close": "Close",
|
||||
"progress": "Progress"
|
||||
},
|
||||
"confirmDialog": {
|
||||
"delete": {
|
||||
@@ -98,6 +100,14 @@
|
||||
"continueEditing": "Continue Editing",
|
||||
"discardDraft": "Start Fresh"
|
||||
},
|
||||
"bulkAction": {
|
||||
"totalData": "Total Data",
|
||||
"totalSuccess": "Success",
|
||||
"totalFailed": "Failed",
|
||||
"messages": "Messages",
|
||||
"selectedData": "{{count}} data selected",
|
||||
"batchProgress": "Processing batch {{current}} of {{total}}"
|
||||
},
|
||||
"notifications": {
|
||||
"successTitle": "Success",
|
||||
"errorTitle": "Error",
|
||||
|
||||
@@ -60,7 +60,9 @@
|
||||
"filter": "Filter",
|
||||
"setting": "Pengaturan",
|
||||
"detail": "Detail",
|
||||
"view": "Lihat"
|
||||
"view": "Lihat",
|
||||
"close": "Tutup",
|
||||
"progress": "Progres"
|
||||
},
|
||||
"confirmDialog": {
|
||||
"delete": {
|
||||
@@ -98,6 +100,14 @@
|
||||
"continueEditing": "Lanjutkan",
|
||||
"discardDraft": "Mulai Baru"
|
||||
},
|
||||
"bulkAction": {
|
||||
"totalData": "Total Data",
|
||||
"totalSuccess": "Berhasil",
|
||||
"totalFailed": "Gagal",
|
||||
"messages": "Pesan",
|
||||
"selectedData": "{{count}} data terpilih",
|
||||
"batchProgress": "Memproses batch {{current}} dari {{total}}"
|
||||
},
|
||||
"notifications": {
|
||||
"successTitle": "Berhasil",
|
||||
"errorTitle": "Galat",
|
||||
|
||||
Reference in New Issue
Block a user