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).

Entry & shell

FileRole
ReactApiTable.tsxProvider wrapper, structure loading gate, default controller
ApiTablesProvider.tsxPer-table Redux store; remount on outScopeTableRefresher
ApiTablesController.tsxInit slices, page size LS, fetch orchestration
ApiTablesComponent.tsxToolbar + table + modals mount

Hooks

FileRole
hooks/useTableStructure.tsGET control-table structure (local React state)
hooks/useTableFetcher.tsPOST query-table; updates rows, pagination, column widths

Redux (table-providers/)

FileRole
store.tsxcreateTableStore, getExternalState
slices/tableCoreSlice.tsStructure, filters, sorts, data, pagination
slices/tableColumnsSlice.tsRDT columns, selection, column modals
slices/bulkActionsSlice.tsBulk action list and selection
slices/rowActionsSlice.tsRow action clicks, custom control payload
useUtilsProvider.tsxRow/bulk POST handlers and onSuccess side effects

Core UI (core/)

FileRole
TableBody.tsxreact-data-table-component instance
TableFilters.tsxFilter sheet
AppliedFilters.tsxActive filter chips
FilterTrigger.tsxToggle filter panel
TableSorting.tsxSort badge
TableBulkActions.tsxBulk dropdown
ActionsOfSelection.tsxSelection action bar
TableRowActions.tsxRow action column
TablePagination.tsxPagination UI
TablePageSize.tsxPage size + api_tables_page_size LS
ColumnsVisibility.tsxShow/hide columns + {tableName}_tb LS
ExpandedRow.tsxExpandable row detail
TableCustomElements.tsxString-id custom UI (withdrawal_requests)

General (general-components/)

FileRole
ColumnCellTypes.tsxTyped cell renderers
RowActionsElements.tsxToggle, redirect, copy, POST actions
Checkbox.tsxSelection checkbox for RDT
Loaders.tsxTable / page loaders

Modals (table-modals/)

FileRole
ApiTablesModals.tsxRoutes all popups
RowActionsModals.tsxConfirm + view row data
ColumnsStaticModals.tsxHTML / datalist viewers

table-modals/custom-controls/ (bolesa-app-ui)

FileWired in ApiTablesModals
ChangeUserPlan.tsxYes
AddToCreditBulkModal.tsxYes (bulk)
EditCategory.tsxYes
EditProduct.tsxYes
UploadNewCustomerDoc.tsxYes
UpdateMaterial.tsxYes
EditPieces.tsxYes
EditPendingAwbForm.tsxYes
EditCarrier.tsxYes
ApproveBankDetails.tsxYes
BankTransferApproval.tsxYes
AddRewardPoints.tsxYes
EditAnnouncements.tsxYes
EditAnnounceSlide.tsxYes
WithdrawalRowAction.tsxYes
AddReferral.tsxYes
LinkProductWithHubSlot.tsxImported, not rendered
LinkSlotToProduct.tsxImported, not rendered
ModifyTote.tsxImported, not rendered
AssignOrderToPicker.tsxImported, not rendered
EditUser.tsxOn disk, not routed
EditPendingOrder.tsxOn disk, not routed
EditLineItems.tsxOn disk, not routed
SendToEmail.tsxOn disk, not routed

See Wired controls for URL match rules.

Utilities (table-utils/)

FileRole
utils.tsxformatTableColumns, filters helpers, clipboard, downloads, column width
errorHandling.tsToasts + 401 logout
useUtilTranslator.tsi18n operator labels in filter UI

On this page