Add dashboard chrome to POS and collapsible sidebar

Wrap the POS terminal in the sidebar + topbar layout via a nested
fullscreen layout, and make the sidebar collapse to an icon-only rail
with a persisted toggle so operators keep navigation on the POS screen.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
soroush.asadi
2026-05-30 00:28:56 +03:30
parent b6e4f83035
commit 639573dfde
7 changed files with 278 additions and 60 deletions
+24 -1
View File
@@ -69,6 +69,8 @@
},
"nav": {
"aria": "منوی اصلی",
"collapseSidebar": "جمع کردن نوار کناری",
"expandSidebar": "باز کردن نوار کناری",
"groups": {
"operations": "عملیات روزانه",
"menuSales": "منو و فروش",
@@ -1018,7 +1020,28 @@
"featureOff": "غیرفعال — ارتقا دهید",
"featureMenu3dUpgrade": "منوی ۳D در پلن حرفه‌ای و بالاتر فعال است.",
"featureMenuAi3d": "تولید ۳D با AI",
"featureMenuAi3dUpgrade": "تولید ۳D با هوش مصنوعی در پلن کسب‌وکار و سازمانی (۱۰۰ بار در ماه) فعال است."
"featureMenuAi3dUpgrade": "تولید ۳D با هوش مصنوعی در پلن کسب‌وکار و سازمانی (۱۰۰ بار در ماه) فعال است.",
"checkout": {
"title": "پیش‌فاکتور و پرداخت",
"subtitle": "جزئیات سفارش را بررسی و پرداخت کنید",
"backToPlans": "بازگشت به پلن‌ها",
"invalidPlan": "پلن انتخاب‌شده برای خرید آنلاین معتبر نیست.",
"invoiceLabel": "پیش‌فاکتور",
"invoiceNo": "شماره فاکتور",
"issuedAt": "تاریخ صدور",
"billingPeriod": "مدت اشتراک",
"monthsCount": "{count} ماه",
"description": "شرح",
"qty": "تعداد",
"unitPrice": "قیمت واحد",
"amount": "مبلغ",
"planLine": "اشتراک پلن {plan}",
"subtotal": "جمع جزء",
"total": "مبلغ قابل پرداخت",
"secureNote": "پرداخت از طریق درگاه امن بانکی انجام می‌شود.",
"payTotal": "پرداخت {total}",
"redirecting": "در حال انتقال به درگاه..."
}
},
"settings": {
"title": "تنظیمات",