Frontend package map
Every file under ./ApiTables/ in bolesa-app-ui and its role
Paths are relative to app/ApiTables/ in bolesa-app-ui (./ApiTables/ in these docs).
| File | Role |
|---|
ReactApiTable.tsx | Provider wrapper, structure loading gate, default controller |
ApiTablesProvider.tsx | Per-table Redux store; remount on outScopeTableRefresher |
ApiTablesController.tsx | Init slices, page size LS, fetch orchestration |
ApiTablesComponent.tsx | Toolbar + table + modals mount |
| File | Role |
|---|
hooks/useTableStructure.ts | GET control-table structure (local React state) |
hooks/useTableFetcher.ts | POST query-table; updates rows, pagination, column widths |
| File | Role |
|---|
store.tsx | createTableStore, getExternalState |
slices/tableCoreSlice.ts | Structure, filters, sorts, data, pagination |
slices/tableColumnsSlice.ts | RDT columns, selection, column modals |
slices/bulkActionsSlice.ts | Bulk action list and selection |
slices/rowActionsSlice.ts | Row action clicks, custom control payload |
useUtilsProvider.tsx | Row/bulk POST handlers and onSuccess side effects |
| File | Role |
|---|
TableBody.tsx | react-data-table-component instance |
TableFilters.tsx | Filter sheet |
AppliedFilters.tsx | Active filter chips |
FilterTrigger.tsx | Toggle filter panel |
TableSorting.tsx | Sort badge |
TableBulkActions.tsx | Bulk dropdown |
ActionsOfSelection.tsx | Selection action bar |
TableRowActions.tsx | Row action column |
TablePagination.tsx | Pagination UI |
TablePageSize.tsx | Page size + api_tables_page_size LS |
ColumnsVisibility.tsx | Show/hide columns + {tableName}_tb LS |
ExpandedRow.tsx | Expandable row detail |
TableCustomElements.tsx | String-id custom UI (withdrawal_requests) |
| File | Role |
|---|
ColumnCellTypes.tsx | Typed cell renderers |
RowActionsElements.tsx | Toggle, redirect, copy, POST actions |
Checkbox.tsx | Selection checkbox for RDT |
Loaders.tsx | Table / page loaders |
| File | Role |
|---|
ApiTablesModals.tsx | Routes all popups |
RowActionsModals.tsx | Confirm + view row data |
ColumnsStaticModals.tsx | HTML / datalist viewers |
| File | Wired in ApiTablesModals |
|---|
ChangeUserPlan.tsx | Yes |
AddToCreditBulkModal.tsx | Yes (bulk) |
EditCategory.tsx | Yes |
EditProduct.tsx | Yes |
UploadNewCustomerDoc.tsx | Yes |
UpdateMaterial.tsx | Yes |
EditPieces.tsx | Yes |
EditPendingAwbForm.tsx | Yes |
EditCarrier.tsx | Yes |
ApproveBankDetails.tsx | Yes |
BankTransferApproval.tsx | Yes |
AddRewardPoints.tsx | Yes |
EditAnnouncements.tsx | Yes |
EditAnnounceSlide.tsx | Yes |
WithdrawalRowAction.tsx | Yes |
AddReferral.tsx | Yes |
LinkProductWithHubSlot.tsx | Imported, not rendered |
LinkSlotToProduct.tsx | Imported, not rendered |
ModifyTote.tsx | Imported, not rendered |
AssignOrderToPicker.tsx | Imported, not rendered |
EditUser.tsx | On disk, not routed |
EditPendingOrder.tsx | On disk, not routed |
EditLineItems.tsx | On disk, not routed |
SendToEmail.tsx | On disk, not routed |
See Wired controls for URL match rules.
| File | Role |
|---|
utils.tsx | formatTableColumns, filters helpers, clipboard, downloads, column width |
errorHandling.ts | Toasts + 401 logout |
useUtilTranslator.ts | i18n operator labels in filter UI |