{
  "name": "شمس - نظام محاسبي وفوترة إلكترونية",
  "short_name": "SHAMS",
  "description": "نظام محاسبي متكامل وفوترة إلكترونية للشركات والمؤسسات",
  "start_url": "/login-redirect.html",
  "id": "/login-redirect.html",
  "display": "standalone",
  "orientation": "any",
  "display_override": ["tabbed", "standalone"],
  "theme_color": "#0e4f93",
  "background_color": "#ffffff",
  "dir": "rtl",
  "lang": "ar",
  "categories": ["business", "finance", "productivity"],
  "prefer_related_applications": false,
  "scope": "/",
  "launch_handler": {
    "client_mode": ["navigate-existing", "auto"],
    "route_to": "existing-client"
  },
  "icons": [
    {
      "src": "/pwa/icons/icon-72x72.png",
      "sizes": "72x72",
      "type": "image/png",
      "purpose": "any"
    },
    {
      "src": "/pwa/icons/icon-96x96.png",
      "sizes": "96x96",
      "type": "image/png",
      "purpose": "any"
    },
    {
      "src": "/pwa/icons/icon-128x128.png",
      "sizes": "128x128",
      "type": "image/png",
      "purpose": "any"
    },
    {
      "src": "/pwa/icons/icon-144x144.png",
      "sizes": "144x144",
      "type": "image/png",
      "purpose": "any"
    },
    {
      "src": "/pwa/icons/icon-152x152.png",
      "sizes": "152x152",
      "type": "image/png",
      "purpose": "any"
    },
    {
      "src": "/pwa/icons/icon-192x192.png",
      "sizes": "192x192",
      "type": "image/png",
      "purpose": "any"
    },
    {
      "src": "/pwa/icons/icon-384x384.png",
      "sizes": "384x384",
      "type": "image/png",
      "purpose": "any"
    },
    {
      "src": "/pwa/icons/icon-512x512.png",
      "sizes": "512x512",
      "type": "image/png",
      "purpose": "any"
    },
    {
      "src": "/pwa/icons/maskable-icon.png",
      "sizes": "512x512",
      "type": "image/png",
      "purpose": "maskable"
    },
    {
      "src": "/pwa/icons/monochrome-icon.png",
      "sizes": "512x512",
      "type": "image/png",
      "purpose": "monochrome"
    }
  ],
  "screenshots": [
    {
      "src": "/pwa/screenshots/dashboard-ar.jpg",
      "sizes": "1280x720",
      "type": "image/jpeg",
      "platform": "wide",
      "label": "لوحة التحكم الرئيسية في نظام شمس"
    },
    {
      "src": "/pwa/screenshots/invoice-ar.jpg",
      "sizes": "1280x720",
      "type": "image/jpeg",
      "platform": "wide",
      "label": "إنشاء فاتورة جديدة"
    },
    {
      "src": "/pwa/screenshots/reports-ar.jpg",
      "sizes": "1280x720",
      "type": "image/jpeg",
      "platform": "wide",
      "label": "تقارير مالية شاملة"
    },
    {
      "src": "/pwa/screenshots/mobile-dashboard.jpg",
      "sizes": "750x1334",
      "type": "image/jpeg",
      "platform": "narrow",
      "label": "لوحة التحكم على الهاتف المحمول"
    }
  ],
  "shortcuts": [
    {
      "name": "إنشاء فاتورة جديدة",
      "short_name": "فاتورة جديدة",
      "description": "إنشاء فاتورة جديدة بسرعة",
      "url": "/invoice/new",
      "icons": [{ "src": "/pwa/icons/invoice-shortcut.png", "sizes": "96x96" }]
    },
    {
      "name": "تقارير اليوم",
      "short_name": "التقارير",
      "description": "عرض تقارير اليوم",
      "url": "/reports/today",
      "icons": [{ "src": "/pwa/icons/reports-shortcut.png", "sizes": "96x96" }]
    },
    {
      "name": "إضافة عميل",
      "short_name": "عميل جديد",
      "description": "إضافة عميل جديد",
      "url": "/customers/new",
      "icons": [{ "src": "/pwa/icons/customer-shortcut.png", "sizes": "96x96" }]
    }
  ],
  "handle_links": "preferred",
  "share_target": {
    "action": "/share-target",
    "method": "POST",
    "enctype": "multipart/form-data",
    "params": {
      "title": "title",
      "text": "text",
      "url": "url",
      "files": [
        {
          "name": "invoice",
          "accept": ["application/pdf", ".pdf", "application/vnd.ms-excel", ".xlsx"]
        }
      ]
    }
  },
  "iarc_rating_id": "e84b072d-71b3-4d3e-86ae-31a8ce4e53b7",
  "edge_side_panel": {
    "preferred_width": 400
  },
  "file_handlers": [
    {
      "action": "/import",
      "accept": {
        "application/vnd.ms-excel": [".xlsx", ".xls"],
        "application/pdf": [".pdf"],
        "text/csv": [".csv"]
      },
      "name": "استيراد ملفات"
    }
  ],
  "theme_color_dark": "#1a1a2e",
  "background_color_dark": "#121212",
  "user_preferences": {
    "color_scheme": {
      "dark": {
        "theme_color": "#1a1a2e",
        "background_color": "#121212"
      },
      "light": {
        "theme_color": "#4a90e2",
        "background_color": "#ffffff"
      }
    }
  },
  "protocol_handlers": [
    {
      "protocol": "web+shams",
      "url": "/open?docid=%s"
    }
  ],
  "cross_origin_embedder_policy": {
    "value": "require-corp"
  },
  "cross_origin_opener_policy": {
    "value": "unsafe-none"
  },
  "permissions_policy": {
    "interest-cohort": [],
    "autoplay": ["self"]
  },
  "note_taking": {
    "new_note_url": "/notes/new"
  },
  "related_applications": [],
  "capture_links": "new-client",
  "display_modifiers": [
    "fullscreen",
    "standalone"
  ],
  "url_handlers": [
  {
    "origin": "https://shams.cloud"
  },
  {
    "origin": "https://inv.shams.cloud"
  }
  ],
  "accessibility": {
    "large_text": true,
    "screen_reader_optimize": true,
    "captions": true,
    "audio_descriptions": true
  },
  "install_experience": {
    "guidance": "يمكنك تثبيت نظام شمس المحاسبي كتطبيق للوصول إليه بسهولة من شاشتك الرئيسية",
    "recommended": true
  },
  "orientation_lock": "default",
  "print_settings": {
    "paper": "A4",
    "margin": "normal",
    "orientation": "portrait"
  },
  "widgets": [
    {
      "name": "ملخص اليوم",
      "description": "لمحة سريعة عن مؤشرات الأداء اليومية",
      "tag": "daily-summary",
      "min_width": 2,
      "min_height": 2,
      "sizes": [
        { "width": 2, "height": 2 },
        { "width": 4, "height": 2 }
      ],
      "templates": {
        "small": "widget-daily-small",
        "medium": "widget-daily-medium",
        "large": "widget-daily-large"
      }
    }
  ]
}