Wired controls reference
Custom control components matched in ApiTablesModals
Router file: ./ApiTables/table-modals/ApiTablesModals.tsx
Matching uses customControlAction.url.api.includes(...) or url.web.includes(...).
Row custom controls (active)
| URL match | Component |
|---|---|
/announces/batches | EditAnnouncements |
/announces/slides | EditAnnounceSlide |
bank-transfer/approval | BankTransferApproval |
reward-points/add (web) | AddRewardPoints |
/plans/assign?account_id | ChangeUserPlan |
/upload-account-document | UploadNewCustomerDoc |
bank-accounts/update-status/ | ApproveBankDetails |
update_parcels | EditPieces |
pending-shipping-awbs/update/ | EditPendingAwbForm |
update_carrier | EditCarrier |
packing/materials | UpdateMaterial |
withdrawal-requests/store | WithdrawalRowAction |
affiliation-program/add-user-referral | AddReferral |
cl/products | EditProduct |
cl/categories | EditCategory |
Bulk custom modals
| Trigger | Component |
|---|---|
selectedBulkAction.action_key === "create_withdrawal_bulk" | AddToCreditBulkModal |
Imported but not rendered
These are imported in ./ApiTables/table-modals/ApiTablesModals.tsx but have no JSX branch (dead imports as of last review):
LinkProductWithHubSlotLinkSlotToProductModifyToteAssignOrderToPicker
Remove or wire when needed.
On disk, not in modals router
Likely legacy — wire before use:
./ApiTables/table-modals/custom-controls/EditUser.tsx./ApiTables/table-modals/custom-controls/EditPendingOrder.tsx./ApiTables/table-modals/custom-controls/EditLineItems.tsx./ApiTables/table-modals/custom-controls/SendToEmail.tsx
Special row response (not custom_control)
| API includes | Component |
|---|---|
/new_features_announcements/show_details | AnnouncementSingle in response popup |