PageSourceSearch

https://carregamento3bs.lovable.app/assets/FaturamentoHubPage-B5GWnkYg.js

js carregamento3bs.lovable.app collected 2026-10-03 05:35:57 UTC 2,733 bytes, 1 lines download raw bytes

1import{u as n,j as e}from"./react-vendor-BorBU4Bs.js";import{a as l,B as c,A as d,K as m,M as x,aP as p,cn as f}from"./index-DkhxOMdR.js";import{F as u}from"./FavoritoButton-N-0MQpPj.js";import{R as h}from"./receipt-text-BjnipKqW.js";import{A as g}from"./arrow-left-right--C7hKPhK.js";import"./radix-vendor-CazrR58L.js";import"./charts-vendor-BxJanGhU.js";import"./query-vendor-dlntIC_S.js";import"./supabase-vendor-BxTHC7hl.js";import"./xlsx-vendor-DOnNs5_d.js";import"./qr-vendor-Ca1-Dxvv.js";import"./useAtalhos-GFvC_Ik7.js";import"./star-C8jVt7Pu.js";const b=[{to:"/faturamento",label:"NF Cobrança",icon:p,pageKeys:["faturamento"],description:"Notas fiscais de cobrança (saída)"},{to:"/nf-retorno",label:"NF de Retorno",icon:g,pageKeys:["nf-retorno"],description:"Notas fiscais de retorno (triangulação e devoluções)"},{to:"/financeiro/faturamento/nf-mov-481",label:"NF MOV. 481",icon:f,pageKeys:[],masterOnly:!0,description:"Emissão e conferência da NF de retorno do movimento 481"}];function P(){const s=n(),{isMaster:t,allowedPages:o}=l(),i=b.filter(r=>r.masterOnly?t:t||r.pageKeys.some(a=>o.includes(a)));return e.jsxs("div",{children:[e.jsxs(c,{variant:"ghost",size:"sm",className:"mb-3",onClick:()=>s("/financeiro"),children:[e.jsx(d,{className:"h-4 w-4 mr-1"})," Voltar"]}),e.jsxs("div",{className:"flex flex-col items-center text-center gap-2 mb-6",children:[e.jsx("div",{className:"flex h-12 w-12 items-center justify-center rounded-xl bg-primary/20 text-primary",children:e.jsx(h,{className:"h-6 w-6"})}),e.jsx("h1",{className:"text-2xl font-bold text-foreground",children:"Faturamento"}),e.jsx("p",{className:"text-sm text-muted-foreground",children:"Notas fiscais de cobrança e de retorno"})]}),e.jsx("div",{className:"flex flex-wrap justify-center gap-5 max-w-5xl mx-auto [&>*]:w-full [&>*]:sm:w-[calc(50%-0.625rem)] [&>*]:lg:w-[calc(33.333%-0.834rem)]",children:i.map(r=>{var a;return e.jsx(m,{className:"group cursor-pointer border-border bg-card shadow transition-all duration-200 hover:shadow-xl hover:border-primary/50 active:scale-[0.97]",onClick:()=>s(r.to),children:e.jsxs(x,{className:"relative p-6 flex flex-col items-center gap-4 text-center",children:[e.jsx(u,{rota:r.to,rotulo:r.label,icone:(a=r.icon)==null?void 0:a.name,descricao:r.description}),e.jsx("div",{className:"flex h-14 w-14 items-center justify-center rounded-xl bg-primary/20 text-primary transition-colors group-hover:bg-primary/30",children:e.jsx(r.icon,{className:"h-6 w-6"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-base font-semibold text-foreground",children:r.label}),e.jsx("p",{className:"text-xs text-muted-foreground mt-1 leading-relaxed",children:r.description})]})]})},r.to)})})]})}export{P as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.