{
  "name": "Cotizaciones",
  "short_name": "Cotizaciones",
  "description": "Aplicación para gestionar cotizaciones de manera eficiente y profesional",
  "theme_color": "#0077cc",
  "background_color": "#ffffff",
  "display": "standalone",
  "orientation": "any",
  "start_url": "/",
  "scope": "/",
  "categories": ["business", "finance", "productivity"],
  "lang": "es",
  "dir": "ltr",
  "prefer_related_applications": false,
  "screenshots": [
    {
      "src": "screenshot1.png",
      "sizes": "1280x720",
      "type": "image/png",
      "label": "Pantalla principal de Cotizaciones"
    }
  ],
  "icons": [
    {
      "src": "favicon.ico",
      "sizes": "32x32",
      "type": "image/x-icon"
    },
    {
      "src": "apple-touch-icon.png",
      "sizes": "180x180",
      "type": "image/png"
    },
    {
      "src": "pwa-192x192.png",
      "sizes": "192x192",
      "type": "image/png"
    },
    {
      "src": "pwa-512x512.png",
      "sizes": "512x512",
      "type": "image/png"
    },
    {
      "src": "pwa-512x512.png",
      "sizes": "512x512",
      "type": "image/png",
      "purpose": "any maskable"
    }
  ],
  "shortcuts": [
    {
      "name": "Nueva Cotización",
      "short_name": "Cotizar",
      "description": "Crear una nueva cotización",
      "url": "/cotizaciones/crear",
      "icons": [
        {
          "src": "pwa-192x192.png",
          "sizes": "192x192"
        }
      ]
    },
    {
      "name": "Nueva Factura",
      "short_name": "Facturar",
      "description": "Crear una nueva factura proforma",
      "url": "/facturas/crear",
      "icons": [
        {
          "src": "pwa-192x192.png",
          "sizes": "192x192"
        }
      ]
    }
  ],
  "related_applications": [],
  "iarc_rating_id": "",
  "share_target": {
    "action": "/compartir",
    "method": "GET",
    "enctype": "application/x-www-form-urlencoded",
    "params": {
      "title": "title",
      "text": "text",
      "url": "url"
    }
  },
  "display_override": ["standalone", "fullscreen", "minimal-ui"],
  "edge_side_panel": {
    "preferred_width": 400
  },
  "handle_links": "preferred",
  "launch_handler": {
    "client_mode": ["navigate-existing", "auto"]
  },
  "id": "/",
  "file_handlers": [
    {
      "action": "/abrir-cotizacion",
      "accept": {
        "application/pdf": [".pdf"]
      }
    }
  ],
  "protocol_handlers": [
    {
      "protocol": "web+cotizacion",
      "url": "/cotizaciones/ver?id=%s"
    },
    {
      "protocol": "web+factura",
      "url": "/facturas/ver?id=%s"
    }
  ]
}
