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

@@ -3192,6 +3192,7 @@
"selectMethods": "Select available methods",
"noSystemMethods": "No payment methods configured in the system",
"methodOrder": "Drag to reorder",
"methodSubOptions": "Payment sub-options",
"loadingPeriods": "Loading...",
"periodDaySuffix": "d",
"localeTab": "Language",

View File

@@ -2918,6 +2918,7 @@
"selectMethods": "انتخاب روش‌های پرداخت موجود",
"noSystemMethods": "هیچ روش پرداختی در سیستم پیکربندی نشده است",
"methodOrder": "برای تغییر ترتیب بکشید",
"methodSubOptions": "گزینه‌های فرعی پرداخت",
"loadingPeriods": "در حال بارگذاری...",
"periodDaySuffix": "روز",
"localeTab": "زبان",

View File

@@ -3747,6 +3747,7 @@
"selectMethods": "Выберите доступные методы",
"noSystemMethods": "В системе не настроено ни одного способа оплаты",
"methodOrder": "Перетащите для изменения порядка",
"methodSubOptions": "Варианты оплаты",
"loadingPeriods": "Загрузка...",
"periodDaySuffix": "д",
"localeTab": "Язык",

View File

@@ -2917,6 +2917,7 @@
"selectMethods": "选择可用的支付方式",
"noSystemMethods": "系统中未配置任何支付方式",
"methodOrder": "拖动以调整顺序",
"methodSubOptions": "支付子选项",
"loadingPeriods": "加载中...",
"periodDaySuffix": "天",
"localeTab": "语言",