PageSourceSearch

https://vppcalc.lovable.app/assets/DealsTab-C3SgBGp9.js

js vppcalc.lovable.app collected 2026-10-03 03:46:11 UTC 4,486 bytes, 1 lines download raw bytes

1import{u as n,J as c,r as d,j as t}from"./index-3tU980s4.js";import{u}from"./useSubscription-DDn9J_Qx.js";import{u as f}from"./useRevenueCore-dFXamT55.js";import{L as x}from"./LockedModulePreview-BpTFkF-j.js";import{D as g}from"./DealTracker-BETpJM7o.js";import{A as v}from"./AlertFeed-DsBBSKSu.js";import"./subscription-Sqt9w6pz.js";import"./useRevenueCRUD-DDcT-j9A.js";import"./dealStages-B9cXHG71.js";import"./milestones-C2SU00VG.js";import"./attributionMap-MIn8-LGT.js";import"./badge-DqKznRju.js";import"./lock-6ANz8Dd6.js";import"./usePausedGuard-BU11-wdX.js";import"./sortable.esm-xY5f82V1.js";import"./textarea-1xgqOgki.js";import"./card-BIyhvr7x.js";import"./checkbox-Ju0cMPrL.js";import"./index-70jrkY2Z.js";import"./PortalView-MmDX9WCA.js";import"./dropdown-menu-D0-AIBIa.js";import"./index-7VycZTCf.js";import"./index-Dyl12rNw.js";import"./chevron-right-DNgbEuLn.js";import"./circle-DJi5zKGV.js";import"./external-link-kiwVvF3N.js";import"./pencil-CZVgKbqX.js";import"./undo-2-CD-hdsvL.js";import"./circle-check-CCxmB1OL.js";import"./message-square-C6QZMIG6.js";import"./send-CEVDbxMy.js";import"./file-video-C0xUA6Pu.js";import"./history-CPDsSU7k.js";import"./circle-alert-D9vnFXeX.js";import"./link-CjSTr4G3.js";import"./calendar-clock-CyAMF3hp.js";import"./receipt-BGP-LNsL.js";import"./pen-line-Dn0heg39.js";import"./clock-BWhxopRh.js";import"./phone-CA_rIQyO.js";import"./mail-87GrINOe.js";import"./map-pin-Dj-wv-0_.js";import"./switch-Byma99hH.js";import"./alert-dialog-vHpul25h.js";import"./upload-DTf9RdVC.js";import"./ellipsis-vertical-sXigaNwj.js";import"./trash-2-ORCxp0Ho.js";import"./plus-C048C_Qs.js";import"./link-2-Dna_257a.js";import"./useSendPortalLink-Id1_il47.js";import"./useProjectTracking-Dmgx94L8.js";import"./select-B3RPyq_v.js";import"./index-BdQq_4o_.js";import"./smartphone-BVeJ5drV.js";import"./refresh-cw-CvKzDchq.js";import"./useUserPreferences-vEyil0hk.js";import"./use-mobile-DR63w4qm.js";import"./useDealPayments-C3amdZ_S.js";import"./filter-select-Dgk3HwkP.js";import"./dealPayments-BuSuG-WU.js";import"./useDealCosts-Di-P_fEK.js";import"./costSync-CfFG62L_.js";import"./copy-DaBMwLBO.js";import"./collapsible-C-S2Gp_A.js";import"./arrow-right-FQoUHBN4.js";import"./dollar-sign-eTGdfHN4.js";import"./user-check-BerCmhn8.js";import"./circle-check-big-BEivtE8w.js";import"./useCrew-BGKK7xQT.js";import"./useCrewSettings-DCuKfAaX.js";import"./useProductionDays-CewW-3iu.js";import"./useCalendarFeed-BBiwj0_5.js";import"./calendarLinks-CwccpwGM.js";import"./calendar-days-gSgqoLmq.js";import"./format-DXYlzvX_.js";import"./dealMatching-BXT8jCt-.js";import"./useDiscoveryCRUD-DIKNvrxU.js";import"./defaults-D-ix2vWB.js";import"./useProposalCRUD-BjJCHOrH.js";import"./circle-user-CihwNpXo.js";import"./ContactModal-QoC8KmmV.js";import"./ContactForm-Dd-vOWsj.js";import"./useAccountTags-D2hafVfy.js";import"./useContacts-CFR0M1qn.js";import"./globe-CGadW1oC.js";import"./lostReasons-Dhf9tj6H.js";import"./InvoiceEditorDialog-CGP2m26K.js";import"./invoices-meypcS3t.js";import"./CustomValuesMenu-HGzzMkTG.js";import"./useCustomValues-w1EtQlGK.js";import"./tag-CbJVsQaE.js";import"./grip-vertical-CKSisdCR.js";import"./usePipelines-DJrOq6V2.js";import"./layout-grid-IJ53AGYl.js";import"./trending-up-Cw2x_xIH.js";import"./arrow-left-DBSz6U0S.js";import"./hard-hat-BFYZdk-7.js";import"./file-spreadsheet-Cv3yMPE1.js";import"./MacAvatar-B3REhlVp.js";import"./mac-avatar-DDYY58aI.js";function no(){const{hasFeature:p}=u(),o=f();n();const[r]=c(),e=p("deals_access"),s=r.get("deal")||r.get("dealId")||void 0,a=r.get("from")||void 0,l=r.get("section")||void 0,m=d.useMemo(()=>o.alerts.filter(i=>i.deal_id),[o.alerts]);return e?t.jsxs("div",{className:"space-y-6",children:[t.jsxs("div",{children:[t.jsx("h1",{className:"text-3xl font-bold text-foreground",children:"Deals"}),t.jsx("p",{className:"text-sm text-muted-foreground mt-1",children:"Your pipeline from first contact to closed won."})]}),o.alertsEnabled&&t.jsx(v,{alerts:m,onDismiss:o.handleDismiss,onDismissAll:()=>o.handleDismissAll(m.map(i=>i.id)),loading:o.alertsLoading}),t.jsx(g,{initialDealId:s,dealOrigin:a,initialSection:l})]}):t.jsx(x,{title:"Deals",tagline:"Track your pipeline from first contact to closed won.",bullets:["Drag-and-drop Kanban board","Custom stages and bulk editing","Deal values, costs and take-home"],ctaLabel:"Reactivate your workspace",preview:t.jsx("div",{className:"text-muted-foreground text-sm p-8",children:"Deal pipeline preview"})})}
1export{no 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.