feat: add sub-options UI for landing payment methods + extract components

Add interactive sub-option toggles (Card/SBP/Crypto) to the landing editor
payment method configuration. Extract SortableFeatureItem and
SortableSelectedMethodCard into dedicated component files to reduce
AdminLandingEditor from ~1160 to ~860 lines.
This commit is contained in:
Fringg
2026-03-06 23:30:53 +03:00
parent b9f1f59e3c
commit d0be127d30
8 changed files with 388 additions and 258 deletions

View File

@@ -37,6 +37,7 @@ export interface LandingPaymentMethod {
max_amount_kopeks: number | null;
currency: string | null;
return_url: string | null;
sub_options: Record<string, boolean> | null;
}
/** Editable fields on a payment method in the landing editor */